blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 7 100 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 260
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 11.4k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 17
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 80
values | src_encoding stringclasses 28
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 8 9.86M | extension stringclasses 52
values | content stringlengths 8 9.86M | authors listlengths 1 1 | author stringlengths 0 119 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7970d99f51e601cd049372c15945f120cabea99d | 24f26275ffcd9324998d7570ea9fda82578eeb9e | /third_party/blink/renderer/core/page/scrolling/text_fragment_finder.cc | 9e632ab8fdb5c19ea68026ecef19e9e795840dd8 | [
"BSD-3-Clause",
"LGPL-2.0-only",
"BSD-2-Clause",
"LGPL-2.1-only",
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer",
"GPL-2.0-only",
"LicenseRef-scancode-other-copyleft"
] | permissive | Vizionnation/chromenohistory | 70a51193c8538d7b995000a1b2a654e70603040f | 146feeb85985a6835f4b8826ad67be9195455402 | refs/heads/master | 2022-12-15T07:02:54.461083 | 2019-10-25T15:07:06 | 2019-10-25T15:07:06 | 217,557,501 | 2 | 1 | BSD-3-Clause | 2022-11-19T06:53:07 | 2019-10-25T14:58:54 | null | UTF-8 | C++ | false | false | 8,972 | cc | // 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.
#include "third_party/blink/renderer/core/page/scrolling/text_fragment_finder.h"
#include <memory>
#include "third_party/blink/public/platform/web_string.h"
#include "third_party/blink/renderer/core/dom/document.h"
#include "third_party/blink/renderer/core/dom/range.h"
#include "third_party/blink/renderer/core/editing/ephemeral_range.h"
#include "third_party/blink/renderer/core/editing/finder/find_buffer.h"
#include "third_party/blink/renderer/core/editing/finder/find_options.h"
#include "third_party/blink/renderer/core/editing/iterators/character_iterator.h"
#include "third_party/blink/renderer/core/editing/position.h"
#include "third_party/blink/renderer/core/page/scrolling/text_fragment_selector.h"
#include "third_party/blink/renderer/platform/text/text_boundaries.h"
namespace blink {
namespace {
const char kNoContext[] = "";
// Determines whether the start and end positions of |range| are on word
// boundaries.
// TODO(crbug/924965): Determine how this should check node boundaries. This
// treats node boundaries as word boundaries, for example "o" is a whole word
// match in "f<i>o</i>o".
bool IsWholeWordMatch(EphemeralRangeInFlatTree range) {
wtf_size_t start_position = range.StartPosition().OffsetInContainerNode();
if (start_position != 0) {
String start_text = range.StartPosition().AnchorNode()->textContent();
start_text.Ensure16Bit();
wtf_size_t word_start = FindWordStartBoundary(
start_text.Characters16(), start_text.length(), start_position);
if (word_start != start_position)
return false;
}
wtf_size_t end_position = range.EndPosition().OffsetInContainerNode();
String end_text = range.EndPosition().AnchorNode()->textContent();
if (end_position != end_text.length()) {
end_text.Ensure16Bit();
// We expect end_position to be a word boundary, and FindWordEndBoundary
// finds the next word boundary, so start from end_position - 1.
wtf_size_t word_end = FindWordEndBoundary(
end_text.Characters16(), end_text.length(), end_position - 1);
if (word_end != end_position)
return false;
}
return true;
}
EphemeralRangeInFlatTree FindMatchInRange(String search_text,
PositionInFlatTree search_start,
PositionInFlatTree search_end) {
while (search_start < search_end) {
const EphemeralRangeInFlatTree search_range(search_start, search_end);
EphemeralRangeInFlatTree potential_match = FindBuffer::FindMatchInRange(
search_range, search_text, kCaseInsensitive);
if (potential_match.IsNull() || IsWholeWordMatch(potential_match))
return potential_match;
search_start = potential_match.EndPosition();
}
return EphemeralRangeInFlatTree();
}
PositionInFlatTree NextTextPosition(PositionInFlatTree position,
PositionInFlatTree end_position) {
const TextIteratorBehavior options =
TextIteratorBehavior::Builder().SetEmitsSpaceForNbsp(true).Build();
CharacterIteratorInFlatTree char_it(position, end_position, options);
for (; char_it.length(); char_it.Advance(1)) {
if (!IsSpaceOrNewline(char_it.CharacterAt(0)))
return char_it.StartPosition();
}
return end_position;
}
// Find and return the range of |search_text| if the first text in the search
// range is |search_text|, skipping over whitespace and element boundaries.
EphemeralRangeInFlatTree FindImmediateMatch(String search_text,
PositionInFlatTree search_start,
PositionInFlatTree search_end) {
if (search_text.IsEmpty())
return EphemeralRangeInFlatTree();
search_start = NextTextPosition(search_start, search_end);
if (search_start == search_end)
return EphemeralRangeInFlatTree();
FindBuffer buffer(EphemeralRangeInFlatTree(search_start, search_end));
// TODO(nburris): FindBuffer will search the rest of the document for a match,
// but we only need to check for an immediate match, so we should stop
// searching if there's no immediate match.
std::unique_ptr<FindBuffer::Results> match_results =
buffer.FindMatches(search_text, kCaseInsensitive);
if (!match_results->IsEmpty() && match_results->front().start == 0u) {
FindBuffer::BufferMatchResult buffer_match = match_results->front();
EphemeralRangeInFlatTree match = buffer.RangeFromBufferIndex(
buffer_match.start, buffer_match.start + buffer_match.length);
if (IsWholeWordMatch(match))
return match;
}
return EphemeralRangeInFlatTree();
}
EphemeralRangeInFlatTree FindMatchInRangeWithContext(
const String& search_text,
const String& prefix,
const String& suffix,
PositionInFlatTree search_start,
PositionInFlatTree search_end) {
while (search_start != search_end) {
EphemeralRangeInFlatTree potential_match;
if (!prefix.IsEmpty()) {
EphemeralRangeInFlatTree prefix_match =
FindMatchInRange(prefix, search_start, search_end);
// No prefix_match in remaining range
if (prefix_match.IsNull())
return EphemeralRangeInFlatTree();
search_start = prefix_match.EndPosition();
potential_match =
FindImmediateMatch(search_text, search_start, search_end);
// No search_text match after current prefix_match
if (potential_match.IsNull())
continue;
} else {
potential_match = FindMatchInRange(search_text, search_start, search_end);
// No search_text match in remaining range
if (potential_match.IsNull())
return EphemeralRangeInFlatTree();
}
DCHECK(potential_match.IsNotNull());
search_start = potential_match.EndPosition();
if (!suffix.IsEmpty()) {
EphemeralRangeInFlatTree suffix_match =
FindImmediateMatch(suffix, search_start, search_end);
// No suffix match after current potential_match
if (suffix_match.IsNull())
continue;
}
// If we reach here without a return or continue, we have a full match.
return potential_match;
}
return EphemeralRangeInFlatTree();
}
} // namespace
TextFragmentFinder::TextFragmentFinder(Client& client,
const TextFragmentSelector& selector)
: client_(client), selector_(selector) {
DCHECK(!selector_.Start().IsEmpty());
}
void TextFragmentFinder::FindMatch(Document& document) {
PositionInFlatTree search_start =
PositionInFlatTree::FirstPositionInNode(document);
EphemeralRangeInFlatTree match =
FindMatchFromPosition(document, search_start);
if (match.IsNotNull()) {
client_.DidFindMatch(match);
// Continue searching to see if we have an ambiguous selector.
// TODO(crbug.com/919204): This is temporary and only for measuring
// ambiguous matching during prototyping.
EphemeralRangeInFlatTree ambiguous_match =
FindMatchFromPosition(document, match.EndPosition());
if (ambiguous_match.IsNotNull())
client_.DidFindAmbiguousMatch();
}
}
EphemeralRangeInFlatTree TextFragmentFinder::FindMatchFromPosition(
Document& document,
PositionInFlatTree search_start) {
PositionInFlatTree search_end;
if (document.documentElement() && document.documentElement()->lastChild()) {
search_end =
PositionInFlatTree::AfterNode(*document.documentElement()->lastChild());
} else {
search_end = PositionInFlatTree::LastPositionInNode(document);
}
// TODO(crbug.com/930156): Make FindMatch work asynchronously.
EphemeralRangeInFlatTree match;
if (selector_.Type() == TextFragmentSelector::kExact) {
match = FindMatchInRangeWithContext(selector_.Start(), selector_.Prefix(),
selector_.Suffix(), search_start,
search_end);
} else {
EphemeralRangeInFlatTree start_match =
FindMatchInRangeWithContext(selector_.Start(), selector_.Prefix(),
kNoContext, search_start, search_end);
if (start_match.IsNull())
return start_match;
// TODO(crbug.com/924964): Determine what we should do if the start text and
// end text are the same (and there are no context terms). This
// implementation continues searching for the next instance of the text,
// from the end of the first instance.
search_start = start_match.EndPosition();
EphemeralRangeInFlatTree end_match = FindMatchInRangeWithContext(
selector_.End(), kNoContext, selector_.Suffix(), search_start,
search_end);
if (end_match.IsNotNull()) {
match = EphemeralRangeInFlatTree(start_match.StartPosition(),
end_match.EndPosition());
}
}
return match;
}
} // namespace blink
| [
"rjkroege@chromium.org"
] | rjkroege@chromium.org |
b360ab9712318ba67b63fa45b96c1b217583351d | 875f6c29fd43d37e11d220f0c4554899a36cd4c1 | /week1.1/main.cpp | 9b5ddacc918b3b60edf042ed93585f02fecb09f1 | [] | no_license | yelsukov/c-white-belt | bced83d0570cf22c30f08dfec29a02ec004ca052 | 89a687cfe1fb98e21c56d622281ac6025089909a | refs/heads/master | 2021-05-20T09:13:39.326258 | 2020-04-01T15:59:33 | 2020-04-01T15:59:33 | 252,218,061 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 459 | cpp | #include <iostream>
#include <vector>
#include <sstream>
using namespace std;
int main () {
int N;
cin >> N;
if (N == 0) {
cout << 0 << endl;
return 0;
}
vector<int> days(N);
int64_t avg = 0;
for(int& t : days) {
cin >> t;
avg += t;
}
avg /= N;
int cnt = 0;
stringstream out;
for (uint i = 0; i < days.size(); ++i) {
if (days[i] > avg) {
cnt++;
out << i << " ";
}
}
cout << cnt << endl;
cout << out.str();
return 0;
}
| [
"nikolay.y@expay.asia"
] | nikolay.y@expay.asia |
9aa2e26c0d92a90db9a9c1ce95f9df9c6c86b7df | 0ef4f71c8ff2f233945ee4effdba893fed3b8fad | /misc_microsoft_gamedev_source_code/misc_microsoft_gamedev_source_code/extlib/havok/Source/Physics/Dynamics/Entity/hkpRigidBody.inl | 2555f861c3e79c502ef27265700859c1307188dc | [] | no_license | sgzwiz/misc_microsoft_gamedev_source_code | 1f482b2259f413241392832effcbc64c4c3d79ca | 39c200a1642102b484736b51892033cc575b341a | refs/heads/master | 2022-12-22T11:03:53.930024 | 2020-09-28T20:39:56 | 2020-09-28T20:39:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,447 | inl | /*
*
* Confidential Information of Telekinesys Research Limited (t/a Havok). Not for disclosure or distribution without Havok's
* prior written consent.This software contains code, techniques and know-how which is confidential and proprietary to Havok.
* Level 2 and Level 3 source code contains trade secrets of Havok. Havok Software (C) Copyright 1999-2007 Telekinesys Research Limited t/a Havok. All Rights Reserved. Use of this software is subject to the terms of an end user license agreement.
*
*/
inline hkpRigidBody* hkGetRigidBody( const hkpCollidable* collidable )
{
#if !defined(HK_PLATFORM_SPU)
if ( collidable->getType() == hkpWorldObject::BROAD_PHASE_ENTITY )
{
return static_cast<hkpRigidBody*>( hkGetWorldObject(collidable) );
}
return HK_NULL;
#else
return static_cast<hkpRigidBody*>( hkGetWorldObject(collidable) );
#endif
}
inline hkpMotion* hkpRigidBody::getRigidMotion() const
{
return const_cast<hkpMaxSizeMotion*>(&m_motion);
}
// Get the mass of the rigid body.
inline hkReal hkpRigidBody::getMass() const
{
return getRigidMotion()->getMass();
}
inline hkReal hkpRigidBody::getMassInv() const
{
return getRigidMotion()->getMassInv();
}
// Get the inertia tensor in local space
inline void hkpRigidBody::getInertiaLocal(hkMatrix3& inertia) const
{
getRigidMotion()->getInertiaLocal(inertia);
}
// Get the inertia tensor in world space
inline void hkpRigidBody::getInertiaWorld(hkMatrix3& inertia) const
{
getRigidMotion()->getInertiaWorld(inertia);
}
// Get the inverse inertia tensor in local space
void hkpRigidBody::getInertiaInvLocal(hkMatrix3& inertiaInv) const
{
getRigidMotion()->getInertiaInvLocal(inertiaInv);
}
// Get the inverse inertia tensor in World space
void hkpRigidBody::getInertiaInvWorld(hkMatrix3& inertiaInv) const
{
getRigidMotion()->getInertiaInvWorld(inertiaInv);
}
// Explicit center of mass in local space
const hkVector4& hkpRigidBody::getCenterOfMassLocal() const
{
return getRigidMotion()->getCenterOfMassLocal();
}
const hkVector4& hkpRigidBody::getCenterOfMassInWorld() const
{
return getRigidMotion()->getCenterOfMassInWorld();
}
/*
** UTILITIY
*/
// Return the position (Local Space origin) for this rigid body, in World space.
// Note: The center of mass is no longer necessarily the local space origin
inline const hkVector4& hkpRigidBody::getPosition() const
{
return getRigidMotion()->getPosition();
}
// Returns the rotation from Local to World space for this rigid body.
inline const hkQuaternion& hkpRigidBody::getRotation() const
{
return getRigidMotion()->getRotation();
}
// Returns the rigid body (local) to world transformation.
inline const hkTransform& hkpRigidBody::getTransform() const
{
return getRigidMotion()->getTransform();
}
// Used by the graphics engine.
// It only uses a simple lerp quaternion interpolation while
// hkSweptTransformUtil::lerp2() used for collision detection
// uses the 'dobule-linear' interpolation
void hkpRigidBody::approxTransformAt( hkTime time, hkTransform& transformOut ) const
{
getRigidMotion()->approxTransformAt( time, transformOut );
}
void hkpRigidBody::approxCurrentTransform( hkTransform& transformOut ) const
{
HK_ASSERT2(0x3dd87047, m_world, "This function requires the body to be in an hkpWorld, in order to retrieve the current time.");
getRigidMotion()->approxTransformAt( m_world->getCurrentTime(), transformOut );
}
/*
** VELOCITY ACCESS
*/
// Return the linear velocity of the center of mass of the rigid body, in World space.
inline const hkVector4& hkpRigidBody::getLinearVelocity() const
{
return getRigidMotion()->getLinearVelocity();
}
// Returns the angular velocity around the center of mass, in World space.
inline const hkVector4& hkpRigidBody::getAngularVelocity() const
{
return getRigidMotion()->getAngularVelocity();
}
// Velocity of point p on the rigid body, in World space.
void hkpRigidBody::getPointVelocity(const hkVector4& p, hkVector4& vecOut) const
{
HK_ASSERT2(0x49da7b54, p.isOk3(), "Point passed to hkpRigidBody::getPointVelocity is invalid.");
getRigidMotion()->getPointVelocity(p, vecOut);
}
/*
** IMPULSE APPLICATION
*/
// Apply an impulse to the center of mass.
inline void hkpRigidBody::applyLinearImpulse(const hkVector4& imp)
{
HK_ASSERT2(0x1f476204, imp.isOk3(), "Impulse passed to hkpRigidBody::applyLinearImpulse is invalid.");
activate();
getRigidMotion()->applyLinearImpulse(imp);
}
// Apply an impulse at the point p in world space.
inline void hkpRigidBody::applyPointImpulse(const hkVector4& imp, const hkVector4& p)
{
HK_ASSERT2(0x69b4b47f, imp.isOk3(), "Impulse passed to hkpRigidBody::applyLinearImpulse is invalid.");
HK_ASSERT2(0x39557915, p.isOk3(), "Point passed to hkpRigidBody::applyPointImpulse is invalid.");
activate();
getRigidMotion()->applyPointImpulse(imp, p);
}
// Apply an instantaneous change in angular velocity around center of mass.
inline void hkpRigidBody::applyAngularImpulse(const hkVector4& imp)
{
HK_ASSERT2(0x7659db28, imp.isOk3(), "Impulse passed to hkpRigidBody::applyAngularImpulse is invalid.");
activate();
getRigidMotion()->applyAngularImpulse(imp);
}
/*
** FORCE AND TORQUE APPLICATION
*/
// Applies a force to the rigid body. The force is applied to the center of mass.
inline void hkpRigidBody::applyForce(const hkReal deltaTime, const hkVector4& force)
{
HK_ASSERT2(0x5caf01a5, force.isOk3(), "Force passed to hkpRigidBody::applyForce is invalid.");
activate();
getRigidMotion()->applyForce(deltaTime, force);
}
// Applies a force to the rigid body at the point p in world space.
inline void hkpRigidBody::applyForce(const hkReal deltaTime, const hkVector4& force, const hkVector4& p)
{
HK_ASSERT2(0x5817ffd7, force.isOk3(), "Force passed to hkpRigidBody::applyForce is invalid.");
HK_ASSERT2(0x6f65e274, p.isOk3(), "Point passed to hkpRigidBody::applyForce is invalid.");
activate();
getRigidMotion()->applyForce(deltaTime, force, p);
}
// Applies the specified torque to the rigid body.
inline void hkpRigidBody::applyTorque(const hkReal deltaTime, const hkVector4& torque)
{
HK_ASSERT2(0x32bce075, torque.isOk3(), "Torque passed to hkpRigidBody::applyTorque is invalid.");
activate();
getRigidMotion()->applyTorque(deltaTime, torque);
}
/*
** DAMPING
*/
// Naive momentum damping
inline hkReal hkpRigidBody::getLinearDamping() const
{
return getRigidMotion()->getLinearDamping();
}
inline hkReal hkpRigidBody::getAngularDamping() const
{
return getRigidMotion()->getAngularDamping();
}
inline void hkpRigidBody::setLinearDamping( hkReal d )
{
getRigidMotion()->setLinearDamping( d );
}
inline void hkpRigidBody::setAngularDamping( hkReal d )
{
getRigidMotion()->setAngularDamping( d );
}
inline hkReal hkpRigidBody::getMaxLinearVelocity() const
{
return getRigidMotion()->getMotionState()->m_maxLinearVelocity;
}
inline hkReal hkpRigidBody::getMaxAngularVelocity() const
{
return getRigidMotion()->getMotionState()->m_maxAngularVelocity;
}
inline void hkpRigidBody::setMaxLinearVelocity( hkReal maxVel )
{
getRigidMotion()->getMotionState()->m_maxLinearVelocity = maxVel;
}
inline void hkpRigidBody::setMaxAngularVelocity( hkReal maxVel )
{
getRigidMotion()->getMotionState()->m_maxAngularVelocity = maxVel;
}
inline enum hkpMotion::MotionType hkpRigidBody::getMotionType() const
{
return getRigidMotion()->getType();
}
// Sets the linear velocity at the center of mass, in World space.
void hkpRigidBody::setLinearVelocity(const hkVector4& newVel)
{
HK_ASSERT2(0x19142e8b, newVel.isOk3(), "Velocity passed to hkRigidbody::setLinearVelocity is invalid.");
activate();
getRigidMotion()->setLinearVelocity(newVel);
}
// Sets the angular velocity around the center of mass, in World space.
void hkpRigidBody::setAngularVelocity(const hkVector4& newVel)
{
HK_ASSERT2(0x38c5ec40, newVel.isOk3(), "Velocity passed to hkRigidbody::setAngularVelocity is invalid.");
activate();
getRigidMotion()->setAngularVelocity(newVel);
}
#if !defined(HK_PLATFORM_SPU)
hkUint32 hkpRigidBody::getCollisionFilterInfo() const
{
HK_ACCESS_CHECK_WITH_PARENT( m_world, HK_ACCESS_IGNORE, this, HK_ACCESS_RO );
return getCollidable()->getBroadPhaseHandle()->getCollisionFilterInfo();
}
void hkpRigidBody::setCollisionFilterInfo( hkUint32 info )
{
HK_ACCESS_CHECK_WITH_PARENT( m_world, HK_ACCESS_IGNORE, this, HK_ACCESS_RW );
getCollidableRw()->getBroadPhaseHandle()->setCollisionFilterInfo(info);
}
HK_FORCE_INLINE hkpCollidableQualityType hkpRigidBody::getQualityType() const
{
HK_ACCESS_CHECK_WITH_PARENT( m_world, HK_ACCESS_IGNORE, this, HK_ACCESS_RO );
return hkpCollidableQualityType( getCollidable()->getBroadPhaseHandle()->m_objectQualityType );
}
HK_FORCE_INLINE void hkpRigidBody::setQualityType(hkpCollidableQualityType type)
{
HK_ACCESS_CHECK_WITH_PARENT( m_world, HK_ACCESS_IGNORE, this, HK_ACCESS_RW );
getCollidableRw()->getBroadPhaseHandle()->m_objectQualityType = hkUint16(type);
}
HK_FORCE_INLINE hkReal hkpRigidBody::getAllowedPenetrationDepth() const
{
HK_ACCESS_CHECK_WITH_PARENT( m_world, HK_ACCESS_IGNORE, this, HK_ACCESS_RO );
return getCollidable()->m_allowedPenetrationDepth;
}
HK_FORCE_INLINE void hkpRigidBody::setAllowedPenetrationDepth( hkReal val )
{
HK_ACCESS_CHECK_WITH_PARENT( m_world, HK_ACCESS_IGNORE, this, HK_ACCESS_RW );
HK_ASSERT2(0xad45bd3d, val > HK_REAL_EPSILON, "Must use a non-zero ( > epsilon ) value when setting allowed penetration depth of bodies.");
getCollidableRw()->m_allowedPenetrationDepth = val;
}
#endif
/*
* Havok SDK - PUBLIC RELEASE, BUILD(#20070919)
*
* Confidential Information of Havok. (C) Copyright 1999-2007
* Telekinesys Research Limited t/a Havok. All Rights Reserved. The Havok
* Logo, and the Havok buzzsaw logo are trademarks of Havok. Title, ownership
* rights, and intellectual property rights in the Havok software remain in
* Havok and/or its suppliers.
*
* Use of this software for evaluation purposes is subject to and indicates
* acceptance of the End User licence Agreement for this product. A copy of
* the license is included with this software and is also available from salesteam@havok.com.
*
*/
| [
"benjamin.barratt@icloud.com"
] | benjamin.barratt@icloud.com |
f7c47c48ff5d6583bc4f99eebc39499f8cd57552 | 5d05be56559524f1c81db5c3b8e5ec9735b8540b | /BLOG_WIN_CLIENT/deal_qjson.cpp | 62c732ada525c727891ade9c70273c37d9fda756 | [] | no_license | shughuangQQQ/BLOG | daa4c7a8d29d28defac8402ca3b218d3253928d7 | 374d83ef91f7a48076d8afe7c216aa93762725c5 | refs/heads/master | 2021-04-15T04:54:23.263461 | 2018-05-12T11:54:03 | 2018-05-12T11:54:03 | 126,464,369 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,043 | cpp | #include "deal_qjson.h"
#include<QFile>
#include<QDebug>
Deal_QJson::Deal_QJson(QObject *parent) : QObject(parent)
{
}
QJsonObject* Deal_QJson::CreateFindJson(QString find_id)
{
QJsonObject JsonPack;
QJsonObject *findjson=new QJsonObject;
JsonPack.insert("find",find_id);
findjson->insert("PACK_TYPE","FIND");
findjson->insert("FIND_MES",QJsonValue(JsonPack));
return findjson;
}
/*QJsonObject *Deal_QJson::CreateHeadPixPack(QString pix_address,QString userid)
{
QFile file(pix_address);
if(file.size()>1024*1024)
{
return NULL;
}
//判断文件是否存在
if(file.exists()){
qDebug()<<"file exist";
}else{
qDebug()<<"file un exist";
}
//已读写方式打开文件,
//如果文件不存在会自动创建文件
if(!file.open(QIODevice::ReadOnly)){
qDebug()<<"open failed";
}else{
qDebug()<<"open success";
}
//读取文件
QByteArray QBA=file.readAll();
file.close();
char *ch=QBA.data();
QString string;
string = QString(QBA);
QJsonObject *head_pix_json=new QJsonObject;
head_pix_json->insert("PACK_TYPE","HEAD_SET");
head_pix_json->insert("id",userid);
head_pix_json->insert("head_pix",);
return head_pix_json;
}*/
QJsonObject *Deal_QJson::CreateSignJson(QString userid,QString userpassward)
{
QJsonObject *signjson=new QJsonObject;
signjson->insert("PACK_TYPE","SIGN_UP");
signjson->insert("id",userid);
signjson->insert("passward",userpassward);
return signjson;
}
QJsonObject* Deal_QJson::CreatePush_StaticJson(QString push_mes,QString m_id)
{
QJsonObject *pushjson=new QJsonObject;
pushjson->insert("PACK_TYPE","push_static");
pushjson->insert("id",m_id);
pushjson->insert("push_mes",push_mes);
return pushjson;
}
QJsonObject* Deal_QJson::CreateFoucsJson(QString foucus_id,QString m_id)
{
QJsonObject *foucus_json=new QJsonObject;
foucus_json->insert("PACK_TYPE","FOCUS");
foucus_json->insert("id",m_id);
foucus_json->insert("focus_id",foucus_id);
return foucus_json;
}
QJsonObject* Deal_QJson::CreateRequestMeMesJson(QString user_id)
{
QJsonObject *personMessage=new QJsonObject;
personMessage->insert("PACK_TYPE","MeMes");
personMessage->insert("id",user_id);
return personMessage;
}
QJsonObject* Deal_QJson::CreateLogJson(QString user_id,QString user_passward)
{
QJsonObject personMessage;
QJsonObject *logjson=new QJsonObject;
personMessage.insert("id",user_id);
personMessage.insert("passward",user_passward);
logjson->insert("PACK_TYPE","login");
logjson->insert("User_Mes",QJsonValue(personMessage));
return logjson;
}
int Deal_QJson::StrToJson(QString m_recvbuf,QJsonDocument*jsonDoc)
{
QJsonParseError jsonError;
*jsonDoc=QJsonDocument::fromJson(m_recvbuf.toLatin1(), &jsonError);
if(jsonError.error == QJsonParseError::NoError)
{
if((*jsonDoc).isObject())
{
return 1;
}
}
return 0;
}
QString Deal_QJson::JsonToStr(QJsonObject *m_json)
{
QJsonDocument document;
document.setObject(*m_json);
QByteArray byteArray =document.toJson(QJsonDocument::Compact);
QString strJson(byteArray);
// qDebug() << strJson;
//char*ch;
//QByteArray ba = strJson.toLatin1();
//ch=ba.data();
return strJson;
}
/*
// QString >> QJson
QJsonObject getJsonObjectFromString(const QString jsonString){
QJsonDocument jsonDocument = QJsonDocument::fromJson(jsonString.toLocal8Bit().data());
if( jsonDocument.isNull() ){
qDebug()<< "===> please check the string "<< jsonString.toLocal8Bit().data();
}
QJsonObject jsonObject = jsonDocument.object();
return jsonObject;
}
// QJson >> QString
QString getStringFromJsonObject(const QJsonObject& jsonObject){
return QString(QJsonDocument(jsonObject).toJson());
}
*/
| [
"shughuangqqq@gmail.com"
] | shughuangqqq@gmail.com |
8729d9ce7e6c257dd182ad73326d46d6e065d1a3 | d8c616544f97eb7faa32a8e71fc4d10d4365f102 | /content/browser/shared_worker/shared_worker_script_loader_factory.cc | aee3017d3237ac1651abf0ef60219aa7b8eb4cf4 | [
"BSD-3-Clause"
] | permissive | kraib/chromium | 79ac241f70cea1ce4d94da109e68e662ca9681c9 | c4dfbae6d308b4f0a7140e71db3c7f6db01bdc3a | refs/heads/master | 2022-12-24T01:27:37.319728 | 2018-04-06T14:01:02 | 2018-04-06T14:01:02 | 128,403,774 | 1 | 0 | null | 2018-04-06T14:14:12 | 2018-04-06T14:14:12 | null | UTF-8 | C++ | false | false | 3,009 | cc | // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/browser/shared_worker/shared_worker_script_loader_factory.h"
#include <memory>
#include "content/browser/service_worker/service_worker_context_core.h"
#include "content/browser/service_worker/service_worker_context_wrapper.h"
#include "content/browser/service_worker/service_worker_provider_host.h"
#include "content/browser/service_worker/service_worker_version.h"
#include "content/browser/shared_worker/shared_worker_script_loader.h"
#include "content/browser/url_loader_factory_getter.h"
#include "content/common/service_worker/service_worker_utils.h"
#include "mojo/public/cpp/bindings/strong_binding.h"
#include "services/network/public/cpp/resource_response.h"
#include "third_party/WebKit/public/mojom/service_worker/service_worker_provider_type.mojom.h"
namespace content {
SharedWorkerScriptLoaderFactory::SharedWorkerScriptLoaderFactory(
ServiceWorkerContextWrapper* context,
base::WeakPtr<ServiceWorkerProviderHost> service_worker_provider_host,
ResourceContext* resource_context,
scoped_refptr<URLLoaderFactoryGetter> loader_factory_getter)
: service_worker_provider_host_(service_worker_provider_host),
resource_context_(resource_context),
loader_factory_getter_(loader_factory_getter) {
DCHECK(ServiceWorkerUtils::IsServicificationEnabled());
DCHECK_EQ(service_worker_provider_host_->provider_type(),
blink::mojom::ServiceWorkerProviderType::kForSharedWorker);
}
SharedWorkerScriptLoaderFactory::~SharedWorkerScriptLoaderFactory() {}
void SharedWorkerScriptLoaderFactory::CreateLoaderAndStart(
network::mojom::URLLoaderRequest request,
int32_t routing_id,
int32_t request_id,
uint32_t options,
const network::ResourceRequest& resource_request,
network::mojom::URLLoaderClientPtr client,
const net::MutableNetworkTrafficAnnotationTag& traffic_annotation) {
// Handle only the main script (RESOURCE_TYPE_SHARED_WORKER). Import scripts
// should go to the network loader or controller.
if (resource_request.resource_type != RESOURCE_TYPE_SHARED_WORKER) {
mojo::ReportBadMessage(
"SharedWorkerScriptLoaderFactory should only get requests for shared "
"worker scripts");
return;
}
// Create a SharedWorkerScriptLoader to load the script.
mojo::MakeStrongBinding(
std::make_unique<SharedWorkerScriptLoader>(
routing_id, request_id, options, resource_request, std::move(client),
service_worker_provider_host_, resource_context_,
loader_factory_getter_, traffic_annotation),
std::move(request));
}
void SharedWorkerScriptLoaderFactory::Clone(
network::mojom::URLLoaderFactoryRequest request) {
// This method is required to support synchronous requests, which shared
// worker script requests are not.
NOTIMPLEMENTED();
}
} // namespace content
| [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
a76bae54b505ccadee0aa8d267d50bcf67491863 | af5567d316b294ac0185dafa9f436e7448603892 | /common/CLinuxConfigReader.h | 190f205cb9ef97c4da7f30bbbe3904d45d8d4fc0 | [] | no_license | rabinnh/mindset | 647717bc6270844724e0ce55dc4fdfa4b1435ad4 | 5775b38f31d6cb3ff4ecefda1e178b6099a56b7d | refs/heads/master | 2023-01-06T20:07:08.009477 | 2020-11-03T14:03:02 | 2020-11-03T14:03:02 | 302,454,542 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,429 | h | /*
Copyright [2010] [Richard Bross]
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: CLinuxConfigReader.h
* Author: rbross
*
* Created on April 20, 2012, 12:47 PM
*/
#ifndef CLINUXCONFIGREADER_H
#define CLINUXCONFIGREADER_H
#include <map>
#include <string>
#include <vector>
using namespace std;
typedef vector<string> VEC_CONFIG;
typedef map<string, VEC_CONFIG> MAP_CONFIG;
typedef MAP_CONFIG::iterator MAP_CONFIG_ITER;
class CLinuxConfigReader
{
public:
CLinuxConfigReader();
CLinuxConfigReader(const CLinuxConfigReader& orig);
virtual ~CLinuxConfigReader();
// Read a configuration value
VEC_CONFIG &ReadConfigValue(const char *pKey, const char *pDefault = NULL);
// Read a configuration file
bool ReadConfig(const char *pPath);
public:
MAP_CONFIG mConfig;
private:
static VEC_CONFIG vValue;
static VEC_CONFIG vEmpty;
};
#endif /* CLINUXCONFIGREADER_H */
| [
"rbross@dyn.com"
] | rbross@dyn.com |
7ee65d54fb7f6ffaf741752cb245485da2e31fbf | 4b8afc434e5a9bf410cafc882598c2b7a896d3c5 | /1semester/09.30/3/3/3main.cpp | 98741702b5014f4060e0b897d0c70197e12d7b98 | [] | no_license | NataliaDymnikova/Homework | c5dced7817a2b277a8a2d0efbdbdbc2e705f70f8 | 8ec6905adcb5f085729af6388c991fd7801883e2 | refs/heads/master | 2021-03-12T23:13:18.874307 | 2015-05-20T10:56:10 | 2015-05-20T10:56:10 | 23,872,478 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 448 | cpp | #include <stdio.h>
int main()
{
FILE *file;
if ((file = fopen("in.txt", "r")) == NULL)
{
printf("bad!!!");
return 0;
}
int num = 0;
char ch = 0;
bool isNew = true;
while ((ch = fgetc(file)) != EOF)
{
if (ch == '\n')
{
isNew = true;
continue;
}
if (isNew)
{
if (ch != ' ' && ch != '\t' && ch != '\n')
{
num++;
isNew = false;
}
}
}
printf("In file %d srting\n", num);
fclose(file);
return 0;
} | [
"dyma96@bk.ru"
] | dyma96@bk.ru |
6eb3f06229a9f0c743079b9b88ff70564d5a50fd | 83140f0a2401e84fade1484539990bcc30bc0550 | /Estructura de Datos/Exer3.cpp | f80d3a43f24221434d80065cd2ad4ef58c8a6728 | [] | no_license | alxxr/Onerepository | 58743115ec40843fae2309da1301a64568bebade | 5aa208fef3fe073211a26c3214aa8c9b6feb7372 | refs/heads/master | 2023-04-02T23:58:56.471547 | 2021-04-05T23:04:00 | 2021-04-05T23:04:00 | 354,696,681 | 0 | 0 | null | null | null | null | ISO-8859-2 | C++ | false | false | 1,382 | cpp | /*Construya la clase operaciones. Se deben cargar dos valores
enteros, calcular su suma, resta, multiplicación y división,
cada una en un método, imprimir dichos resultados*/
# include <iostream>
using namespace std;
class operaciones {
private:
int n1, n2, suma, resta, multiplicacion, division;
public:
void inicializar ();
void imprimirSuma ();
void imprimirResta ();
void imprimirMultiplicacion ();
void imprimirDivision ();
};
void operaciones::inicializar()
{
cout <<"Ingrese el primero valor: ";
cin >> n1;
cout <<"Ingrese el segundo valor: ";
cin >>n2;
}
void operaciones::imprimirSuma()
{
int suma;
suma = n1 + n2;
cout << "La suma es: ";
cout << suma;
cout <<"\n";
}
void operaciones::imprimirResta()
{
int resta;
resta = n1 - n2;
cout << "La resta es: ";
cout << resta;
cout <<"\n";
}
void operaciones::imprimirMultiplicacion()
{
int multiplicacion;
multiplicacion = n1 * n2;
cout << "La multiplicacion es: ";
cout << multiplicacion;
cout <<"\n";
}
void operaciones::imprimirDivision()
{
int division;
division = n1 / n2;
cout << "La division es: ";
cout << division;
cout <<"\n";
}
int main()
{
operaciones operaciones1;
operaciones1.inicializar();
operaciones1.imprimirSuma();
operaciones1.imprimirResta();
operaciones1.imprimirMultiplicacion();
operaciones1.imprimirDivision();
return 0;
}
| [
"alexx47724@gmail.com"
] | alexx47724@gmail.com |
08f65b1891daec2f4094d960b1abccbfa5bdbc51 | c5eb567b0004b56280a0e978830c0f8a654670b9 | /baekjoon/baekjoon_1316.cpp | 0c4406473f1ac52b72c236f05d18d9472f4db706 | [] | no_license | SimHongSub/Algorithm | b6a40ab181f0db5f0055fac0a9bd56f412362243 | 8e09c7436c3d843d492f5acc4ce06bccb6606441 | refs/heads/master | 2021-06-08T12:12:29.284453 | 2021-04-29T15:44:09 | 2021-04-29T15:44:09 | 163,232,221 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 567 | cpp | #include <iostream>
#include <string>
using namespace std;
int main(){
int numOfWord;
string word;
int i, j, k;
int result, check;
cin >> numOfWord;
result = numOfWord;
for (i = 0; i < numOfWord; i++){
cin >> word;
for (j = 0; j < word.size(); j++){
check = 0;
for (k = j; k < word.size(); k++){
if (word.at(j) != word.at(k)){
check = 1;
}
else if (word.at(j) == word.at(k) && check == 1){
result--;
check = 0;
break;
}
}
if (check == 0){
break;
}
}
}
cout << result << endl;
return 0;
} | [
"oxhe2038@naver.com"
] | oxhe2038@naver.com |
572cc37530767e3925ed2c940cc304ee7604ce43 | 0d9269b9659890550b3db5ebe8983b472c1466b9 | /1087.cc | c9984e0caa2a69852eccb48d5e96447fac62e9a1 | [] | no_license | nameoverflow/PAT | 88a0823dadfd1aa715d93b102cca96582b90d875 | 08e22e760fcf41f396bf36e2c2ffb2de8ff65391 | refs/heads/master | 2020-03-25T10:08:46.082902 | 2018-08-06T06:17:48 | 2018-08-06T06:27:25 | 143,684,685 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,150 | cc | #include <unordered_map>
#include <vector>
#include <set>
#include <functional>
#include <queue>
#include <algorithm>
#include <string>
#include <map>
#include <climits>
#include <iostream>
#include <cmath>
using namespace std;
#define P pair<int, int>
#define MP make_pair
#define fi first
#define se second
int N;
struct E {
int to, di;
};
vector<E> g[220];
vector<string> intern;
map<string, int> trace;
int in(string s) {
if (trace.find(s) == trace.end()) {
trace[s] = intern.size();
intern.push_back(s);
}
return trace[s];
}
string tr(int i) {
return intern[i];
}
int dis[220];
int hap[220];
vector<int> pre[220];
void dijkst(int st) {
priority_queue<P, vector<P>, greater<P>> pq;
fill(dis, dis + N, INT_MAX);
dis[st] = 0;
pq.push(MP(0, st));
while (pq.size()) {
auto du = pq.top().first, u = pq.top().second;
pq.pop();
if (du > dis[u]) continue;
for (auto v : g[u]) {
if (du + v.di < dis[v.to]) {
dis[v.to] = du + v.di;
pre[v.to] = { u };
pq.push(MP(dis[v.to], v.to));
} else if (du + v.di == dis[v.to]) {
pre[v.to].push_back(u);
}
}
}
}
vector<int> maxp;
vector<int> path;
int countp = 0;
int maxh = 0;
void dfs(int r, int sumh) {
if (r == 0) {
countp++;
if (sumh > maxh || (sumh == maxh && path.size() < maxp.size())) {
maxh = sumh;
maxp = path;
}
}
for (auto n : pre[r]) {
path.push_back(n);
dfs(n, sumh + hap[n]);
path.pop_back();
}
}
int main() {
int m, st;
string ss;
cin >> N >> m >> ss;
st = in(ss);
for (int i = 0; i < N - 1; i++) {
string c; int h;
cin >> c >> h;
hap[in(c)] = h;
}
for (int i = 0; i < m; i++) {
string fs, ts;
int fr, to, d;
cin >> fs >> ts >> d;
fr = in(fs); to = in(ts);
g[fr].push_back({ to, d });
g[to].push_back({ fr, d });
}
int rom = in("ROM");
dijkst(st);
dfs(rom, hap[rom]);
cout << countp << " " << dis[rom] << " " << maxh << " " << (int)(1.0 * maxh / maxp.size()) << '\n';
for (auto it = maxp.rbegin(); it != maxp.rend(); it++) {
cout << tr(*it) << "->";
}
cout << "ROM";
}
| [
"i@hcyue.me"
] | i@hcyue.me |
b1f37ecd0b893004442b3a565edf05ce77f1c08b | 411cf28f78b1abe6f708dd7d37067c2205ae840b | /Fiber Section Analysis/PrestressStrandMaterial2D.h | 23c932d8deba14b5e1f1ab904c13a2ccea594120 | [] | no_license | hadikena/FiberSectionAnalysis | 122049cb72bb83c609995377886ccd526e4de529 | fa78acbd901a799ef869e3c141620cdd49309cec | refs/heads/master | 2021-05-29T02:17:42.370819 | 2013-08-16T06:30:35 | 2013-08-16T06:30:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,915 | h | #pragma once
#include "Material2d.h"
using namespace std;
using namespace arma;
#ifndef PrestressStrandMaterial2D_H
#define PrestressStrandMaterial2D_H
class PrestressStrandMaterial2D : public Material2D
{
private:
void SetPowerLawConstants(int Type);
void Initialize(int ID,
string TypeOfStrand,
double Density,
double TensionElasticModulus,
double TensionYieldStress,
double TensionYieldStrain,
double TensionUltimateStress,
double TensionUltimateStrain,
double PowerConstantA,
double PowerConstantB,
double PowerConstantC,
double PowerConstantD,
double TensionInitialStrain,
double DIF_Yield,
double DIF_Ultimate);
void Clone(const PrestressStrandMaterial2D &Material);
protected:
string MyTypeOfStrand;
double MyTensionInitialStrain;
double MyTensionElasticModulus;
double MyTensionYieldStress;
double MyTensionYieldStrain;
double MyTensionUltimateStress;
double MyTensionUltimateStrain;
double MyPowerConstantA;
double MyPowerConstantB;
double MyPowerConstantC;
double MyPowerConstantD;
public:
static const int Type270ksiStrand = 1;
static const int Type250ksiStrand = 2;
static const int Type250ksiWire = 3;
static const int Type235ksiWire = 4;
static const int Type150ksiBar = 5;
PrestressStrandMaterial2D(int ID,
int TypeOfStrand,
double Density,
double InitialStrain);
PrestressStrandMaterial2D(void);
~PrestressStrandMaterial2D(void);
PrestressStrandMaterial2D& operator= (const PrestressStrandMaterial2D &Material);
double GetStress(double Strain);
double GetTensionYieldStrain();
double GetTensionFailureStrain();
double GetCompressionYieldStrain();
double GetCompressionFailureStrain();
bool IsStrainAtYield(double Strain);
bool IsStrainAtMaximum(double Strain);
void Print();
};
#endif | [
"joeny.bui@gmail.com"
] | joeny.bui@gmail.com |
d10aec242468b6e3d00e07b8749482517ea40ff1 | 5298705370c757d8846d409382f7dcb8450d48b8 | /wbsTools/WeatherUpdater/Tasks/UIHIRESW.cpp | 996323ab8e80a15cb57a2c50cfd8fcb9cd108cb3 | [
"MIT"
] | permissive | RNCan/WeatherBasedSimulationFramework | 3d63b6a5fd1548cc5e5bac840f9e7c5f442dcdb0 | 05719614d2460a8929066fb920517f75a6a3ed04 | refs/heads/master | 2023-07-19T21:37:08.139215 | 2023-07-13T02:29:11 | 2023-07-13T02:29:11 | 51,245,634 | 7 | 2 | null | null | null | null | ISO-8859-1 | C++ | false | false | 7,935 | cpp | #include "StdAfx.h"
#include "UIHIRESW.h"
#include "Basic/FileStamp.h"
#include "UI/Common/SYShowMessage.h"
#include "Geomatic/SfcGribsDatabase.h"
#include "TaskFactory.h"
#include "WeatherBasedSimulationString.h"
#include "../Resource.h"
using namespace std;
using namespace WBSF::HOURLY_DATA;
using namespace UtilWWW;
namespace WBSF
{
//pour estimation de surface, c'est très bien et beaucoup plus petit que HRRR
//High-Resolution Window (HIRESW) Forecast System
//ftp://ftpprd.ncep.noaa.gov/pub/data/nccf/com/hiresw/prod/hiresw.20170616/
//Real-Time Mesoscale Analysis (RTMA) Products (meme extent que Hires)
//ftp://ftp.ncep.noaa.gov/pub/data/nccf/com/rtma/prod/rtma2p5.20170616/
////ftp://ftp.ncep.noaa.gov/pub/data/nccf/com/hiresw/prod/hiresw.20181026/
//WARNING: this product don't have precipitation
//*********************************************************************
const char* CUIHIRESW::ATTRIBUTE_NAME[NB_ATTRIBUTES] = { "WorkingDir", "DynamicalCores" };
const size_t CUIHIRESW::ATTRIBUTE_TYPE[NB_ATTRIBUTES] = { T_PATH, T_COMBO_INDEX };
const UINT CUIHIRESW::ATTRIBUTE_TITLE_ID = IDS_UPDATER_HIRESW_P;
const UINT CUIHIRESW::DESCRIPTION_TITLE_ID = ID_TASK_HIRESW;
const char* CUIHIRESW::CLASS_NAME(){ static const char* THE_CLASS_NAME = "HIRESW"; return THE_CLASS_NAME; }
CTaskBase::TType CUIHIRESW::ClassType()const { return CTaskBase::UPDATER; }
static size_t CLASS_ID = CTaskFactory::RegisterTask(CUIHIRESW::CLASS_NAME(), (createF)CUIHIRESW::create);
const char* CUIHIRESW::SERVER_NAME = "ftp.ncep.noaa.gov";// "ftpprd.ncep.noaa.gov";
const char* CUIHIRESW::SERVER_PATH = "pub/data/nccf/com/hiresw/prod/hiresw.*";
CUIHIRESW::CUIHIRESW(void)
{}
CUIHIRESW::~CUIHIRESW(void)
{}
std::string CUIHIRESW::Option(size_t i)const
{
string str;
switch (i)
{
case DYNAMICAL_CORES: str = "Advanced Research Weather Research and Forecasting (WRF-ARW)|Nonhydrostatic Multiscale Model on B-grid (NMMB)"; break;
};
return str;
}
std::string CUIHIRESW::Default(size_t i)const
{
std::string str;
switch (i)
{
case WORKING_DIR: str = m_pProject->GetFilePaht().empty() ? "" : GetPath(m_pProject->GetFilePaht()) + "HIRESW\\"; break;
case DYNAMICAL_CORES: str = "1"; break;
};
return str;
}
//************************************************************************************************************
//Load station definition list section
//*************************************************************************************************
ERMsg CUIHIRESW::Execute(CCallback& callback)
{
ERMsg msg;
string workingDir = GetDir(WORKING_DIR);
CreateMultipleDir(workingDir);
callback.AddMessage(GetString(IDS_UPDATE_DIR));
callback.AddMessage(workingDir, 1);
callback.AddMessage(GetString(IDS_UPDATE_FROM));
callback.AddMessage(SERVER_NAME, 1);
callback.AddMessage("");
CInternetSessionPtr pSession;
CHttpConnectionPtr pConnection;
msg = GetHttpConnection(SERVER_NAME, pConnection, pSession, PRE_CONFIG_INTERNET_ACCESS, "", "", false, 5, callback);
if (!msg)
return msg;
size_t core = as<size_t>(DYNAMICAL_CORES);
callback.PushTask(string("Get HIRESW files list from: ") + SERVER_PATH, 2);
CFileInfoVector fileList;
CFileInfoVector dir;
msg = FindDirectories(pConnection, SERVER_PATH, dir);
for (CFileInfoVector::const_iterator it1 = dir.begin(); it1 != dir.end() && msg; it1++)
{
CFileInfoVector fileListTmp;
//msg = FindFiles(pConnection, it1->m_filePath + "hiresw.t??z.arw_2p5km.f00.conus.grib2", fileListTmp);
msg = FindFiles(pConnection, it1->m_filePath + +"hiresw.t??z." + (core==0?"arw":"nmmb") +"_2p5km.f??.conus.grb2", fileListTmp);
for (CFileInfoVector::iterator it = fileListTmp.begin(); it != fileListTmp.end() && msg; it++)
{
string outputFilePath = GetLocalFilePath(it->m_filePath);
if (!GoodGrib(outputFilePath))
fileList.push_back(*it);
//CFileInfo info;
//ifStream stream;
//if (!stream.open(outputFilePath))
//{
// fileList.push_back(*it);
//}
//else
//{
// //verify if the file finish with 7777
// char test[5] = { 0 };
// stream.seekg(-4, ifstream::end);
// stream.read(&(test[0]), 4);
// if (string(test) != "7777")
// {
// fileList.push_back(*it);
// }
//}
}
msg += callback.StepIt();
}
callback.PopTask();
callback.AddMessage("Number of HIRESW gribs to download: " + ToString(fileList.size()));
callback.PushTask("Download HIRESW gribs (" + ToString(fileList.size()) + ")", fileList.size());
int nbDownload = 0;
for (CFileInfoVector::iterator it = fileList.begin(); it != fileList.end() && msg; it++)
{
//string fileName = GetFileName(it->m_filePath);
string outputFilePath = GetLocalFilePath(it->m_filePath);
callback.PushTask("Download HIRESW gribs:" + outputFilePath, NOT_INIT);
CreateMultipleDir(GetPath(outputFilePath));
msg = CopyFile(pConnection, it->m_filePath, outputFilePath, INTERNET_FLAG_TRANSFER_BINARY | INTERNET_FLAG_RELOAD | INTERNET_FLAG_EXISTING_CONNECT | INTERNET_FLAG_DONT_CACHE);
if (msg && FileExists(outputFilePath))
{
nbDownload++;
}
callback.PopTask();
msg += callback.StepIt();
}
pConnection->Close();
pSession->Close();
callback.AddMessage("Number of HIRESW gribs downloaded: " + ToString(nbDownload));
callback.PopTask();
return msg;
return msg;
}
ERMsg CUIHIRESW::GetStationList(StringVector& stationList, CCallback& callback)
{
ERMsg msg;
return msg;
}
ERMsg CUIHIRESW::GetWeatherStation(const std::string& stationName, CTM TM, CWeatherStation& station, CCallback& callback)
{
ERMsg msg;
return msg;
}
ERMsg CUIHIRESW::GetGribsList(CTPeriod p, CGribsMap& gribsList, CCallback& callback)
{
ERMsg msg;
string workingDir = GetDir(WORKING_DIR);
int firstYear = p.Begin().GetYear();
int lastYear = p.End().GetYear();
size_t nbYears = lastYear - firstYear + 1;
for (size_t y = 0; y < nbYears; y++)
{
int year = firstYear + int(y);
StringVector list1;
list1 = GetFilesList(workingDir + ToString(year) + "\\*.grib2", FILE_PATH, true);
//StringVector list2;
//list2 = GetFilesList(workingDir + ToString(year) + "\\*.grib2.idx", FILE_PATH, true);
for (size_t i = 0; i < list1.size(); i++)
{
CTRef TRef = GetTRef(list1[i]);
if (p.IsInside(TRef) )
gribsList[TRef] = list1[i];
}
}
return msg;
}
CTRef CUIHIRESW::GetTRef(string filePath)
{
CTRef TRef;
string name = GetFileTitle(filePath);
filePath = GetPath(filePath);
string dir1 = WBSF::GetLastDirName(filePath);
while (WBSF::IsPathEndOk(filePath))
filePath = filePath.substr(0, filePath.length() - 1);
filePath = GetPath(filePath);
string dir2 = WBSF::GetLastDirName(filePath);
while (WBSF::IsPathEndOk(filePath))
filePath = filePath.substr(0, filePath.length() - 1);
filePath = GetPath(filePath);
string dir3 = WBSF::GetLastDirName(filePath);
int year = WBSF::as<int>(dir3);
size_t m = WBSF::as<int>(dir2) - 1;
size_t d = WBSF::as<int>(dir1) - 1;
size_t h = WBSF::as<int>(name.substr(8, 2));
TRef = CTRef(year, m, d, h);
return TRef;
}
string CUIHIRESW::GetLocalFilePath(const string& remote)const
{
string workingDir = GetDir(WORKING_DIR);
string dir = WBSF::GetLastDirName(GetPath(remote));
string fileName = GetFileName(remote);
int year = WBSF::as<int>(dir.substr(7, 4));
int month = WBSF::as<int>(dir.substr(11, 2));
int day = WBSF::as<int>(dir.substr(13, 2));
return FormatA("%s%d\\%02d\\%02d\\%s", workingDir.c_str(), year, month, day, fileName.c_str());
}
} | [
"Tigroux74@hotmail.com"
] | Tigroux74@hotmail.com |
662d10b74c56dc608ed776c41eaad25f470bbed6 | 488c9e8db19c229372c6e262296bee49fdf5711d | /basic c/Untitled2.cpp | 10a9a62ea90e57f14bbeb823c6748e237b2940f6 | [] | no_license | GookGai/Basic_Homework | 37daae521f6924fbc1767cfc30c3f49a7f35f21f | 7a5ec7dcd5b91394ae8a9fe34e74cac395d210c4 | refs/heads/main | 2023-07-18T16:33:36.999472 | 2021-09-23T17:45:20 | 2021-09-23T17:45:20 | 329,529,624 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 259 | cpp | #include <stdio.h>
int main() {
int b;
printf("Enter number :");
scanf("%d",&b);
for(int j=0;j<b;j++){
for(int i=0;i<b-j;i++)
printf(" ");
for(int k=0;k<j*2+1;k++)
printf("*") ;
printf("\n");
}
return 0;
}
| [
"noreply@github.com"
] | noreply@github.com |
759ef97dc09e1de682e6abc43f3dc8de097492d9 | d6258ae3c0fd9f36efdd859a2c93ab489da2aa9b | /fulldocset/add/codesnippet/CPP/ba7f2b6b-4831-427c-a7c2-_1.cpp | 09fba7b8a03635a38adc3200b3161e92b16bb739 | [
"CC-BY-4.0",
"MIT"
] | permissive | OpenLocalizationTestOrg/ECMA2YamlTestRepo2 | ca4d3821767bba558336b2ef2d2a40aa100d67f6 | 9a577bbd8ead778fd4723fbdbce691e69b3b14d4 | refs/heads/master | 2020-05-26T22:12:47.034527 | 2017-03-07T07:07:15 | 2017-03-07T07:07:15 | 82,508,764 | 1 | 0 | null | 2017-02-28T02:14:26 | 2017-02-20T02:36:59 | Visual Basic | UTF-8 | C++ | false | false | 1,204 | cpp | using namespace System;
using namespace System::Globalization;
int main()
{
// Creates and initializes a JulianCalendar.
JulianCalendar^ myCal = gcnew JulianCalendar;
// Checks all the months in five years in the current era.
int iMonthsInYear;
for ( int y = 2001; y <= 2005; y++ )
{
Console::Write( " {0}:\t", y );
iMonthsInYear = myCal->GetMonthsInYear( y, JulianCalendar::CurrentEra );
for ( int m = 1; m <= iMonthsInYear; m++ )
Console::Write( "\t {0}", myCal->IsLeapMonth( y, m, JulianCalendar::CurrentEra ) );
Console::WriteLine();
}
}
/*
This code produces the following output.
2001: False False False False False False False False False False False False
2002: False False False False False False False False False False False False
2003: False False False False False False False False False False False False
2004: False False False False False False False False False False False False
2005: False False False False False False False False False False False False
*/ | [
"tianzh@microsoft.com"
] | tianzh@microsoft.com |
710c266c690a3192eb071e647108e9d42ba2bffb | 1942a0d16bd48962e72aa21fad8d034fa9521a6c | /aws-cpp-sdk-clouddirectory/source/model/PutSchemaFromJsonRequest.cpp | f1999ea946bad939ff4f7ff608185af10d1364c4 | [
"Apache-2.0",
"JSON",
"MIT"
] | permissive | yecol/aws-sdk-cpp | 1aff09a21cfe618e272c2c06d358cfa0fb07cecf | 0b1ea31e593d23b5db49ee39d0a11e5b98ab991e | refs/heads/master | 2021-01-20T02:53:53.557861 | 2018-02-11T11:14:58 | 2018-02-11T11:14:58 | 83,822,910 | 0 | 1 | null | 2017-03-03T17:17:00 | 2017-03-03T17:17:00 | null | UTF-8 | C++ | false | false | 1,549 | cpp | /*
* Copyright 2010-2016 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/clouddirectory/model/PutSchemaFromJsonRequest.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <aws/core/utils/memory/stl/AWSStringStream.h>
#include <utility>
using namespace Aws::CloudDirectory::Model;
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
PutSchemaFromJsonRequest::PutSchemaFromJsonRequest() :
m_schemaArnHasBeenSet(false),
m_documentHasBeenSet(false)
{
}
Aws::String PutSchemaFromJsonRequest::SerializePayload() const
{
JsonValue payload;
if(m_documentHasBeenSet)
{
payload.WithString("Document", m_document);
}
return payload.WriteReadable();
}
Aws::Http::HeaderValueCollection PutSchemaFromJsonRequest::GetRequestSpecificHeaders() const
{
Aws::Http::HeaderValueCollection headers;
Aws::StringStream ss;
if(m_schemaArnHasBeenSet)
{
ss << m_schemaArn;
headers.insert(Aws::Http::HeaderValuePair("x-amz-data-partition", ss.str()));
ss.str("");
}
return headers;
}
| [
"henso@amazon.com"
] | henso@amazon.com |
2cf8cd020abfb24beb189abe3e4c34cf4c293036 | 0af9965de7527f4ca341833a5831dacd3fb8373f | /Baekjoon/13246.cpp | 676309fe98e4e42aa701e47991bbaa8c94571c6f | [] | no_license | pcw109550/problem-solving | e69c6b1896cedf40ec50d24c061541035ba30dfc | 333d850a5261b49f32350b6a723c731156b24b8a | refs/heads/master | 2022-09-18T08:25:16.940647 | 2022-09-12T10:29:55 | 2022-09-12T10:29:55 | 237,185,788 | 11 | 1 | null | 2022-09-12T10:18:49 | 2020-01-30T10:05:42 | C++ | UTF-8 | C++ | false | false | 2,746 | cpp | #include <bits/stdc++.h>
using namespace std;
#define RING 1000
template <class T, class Q>
struct Mat {
T N;
vector<vector<T> > M;
Mat(T n, T t = 0): N(n) {
M = vector<vector<T> > (N, vector<T> (N));
for (T i = 0; i < N; i++)
for (T j = 0; j < N; j++)
M[i][j] = i == j ? t : 0;
}
Mat(vector<vector<T> >&m) {
N = m.size();
M = m;
}
void operator= (const Mat &r) {
M = r.M;
}
inline T& operator () (T x, T y) {
return M[x][y];
}
Mat operator* (Mat &r) {
Mat result(N);
for (T i = 0; i < N; i++)
for (T j = 0; j < N; j++)
for (T k = 0; k < N; k++)
result(i, j) = (result(i, j) + M[i][k] * r(k, j)) % RING;
return result;
}
Mat operator+ (Mat &r) {
Mat result(N);
for (T i = 0; i < N; i++)
for (T j = 0; j < N; j++)
result(i, j) = (M[i][j] + r(i, j)) % RING;
return result;
}
Mat operator- (Mat &r) {
Mat result(N);
for (T i = 0; i < N; i++)
for (T j = 0; j < N; j++)
result(i, j) = (M[i][j] - r(i, j) + RING) % RING;
return result;
}
Mat operator^ (Q r) {
Mat result(N, 1);
Mat t = M;
while (r) {
if (r & 1)
result = result * t;
t = t * t;
r >>= 1;
}
return result;
}
friend ostream& operator<< (ostream& os, const Mat<T, Q>& M) {
for (T i = 0; i < M.N; i++) {
for (T j = 0; j < M.N; j++) {
os << M.M[i][j] << ' ';
}
os << '\n';
}
return os;
}
};
template <class T, class Q>
Mat<T, Q> sum(Mat<T, Q> &A, Q B) {
Q N = A.N;
Mat<T, Q> I (N, 1);
if (!B)
return I;
if (B == 1)
return A + I;
if (B % 2) {
auto t1 = I;
auto t2 = A ^ (B / 2 + 1);
auto t3 = sum(A, B / 2);
t1 = t1 + t2;
t1 = t1 * t3;
return t1;
}
auto t1 = I;
auto t2 = sum(A, B / 2 - 1);
auto t3 = A ^ (B / 2);
auto t4 = A ^ B;
t1 = t1 + t3;
t1 = t1 * t2;
t1 = t1 + t4;
return t1;
}
int main(void) {
ios::sync_with_stdio(false); cin.tie(nullptr);
long long N, B, temp; cin >> N >> B;
vector<vector<long long> > base (N, vector<long long>(N, 0));
for (int i = 0; i < N; i++)
for (int j = 0; j < N; j++) {
cin >> temp;
base[i][j] = temp % RING;
}
Mat<long long, long long> M(base);
Mat<long long, long long> I(N, 1);
auto result = sum<long long, long long>(M, B) - I;
cout << result;
} | [
"pcw109550@gmail.com"
] | pcw109550@gmail.com |
9534b09e8ebf3fc75fa96c59670954bf071cd009 | d178ecb7e7a21d37c5cd3ea49e15b6fa2a8be314 | /Bfs.h | 14f9ec378bdc788e94e6299714934a5a46dece54 | [] | no_license | AdvancedProgramming2016/Ex2_check | 77c668ea529b3b25bd7ccd4cb59970b175d23e8c | 2d419e9548350b20fdf54f88d07dd4fc8af8b268 | refs/heads/master | 2020-06-13T19:04:13.073043 | 2016-12-05T20:07:05 | 2016-12-05T20:07:05 | 75,565,409 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 832 | h |
#ifndef EX1_TASK2_BFS_H
#define EX1_TASK2_BFS_H
#include "Graph.h"
/**
* The class represents the BFS algorithm.
* It iterates through the graph in order the find the shortest path between two given points.
*
*/
class Bfs {
private:
Graph *m_graph;
Point m_source;
Point m_dest;
std::vector<Point> shortest_path;
/*
* The method iterates through the fathers and returns the final path
*/
std::vector<Point> search_fathers(std::vector<Vertex> vector);
public:
/*
* constructor for the bfs algorithm
*/
Bfs(Graph *graph, Point source, Point dest);
/*
* The method calculates the shortest path between two points.
*/
void get_route();
/*
* Prints the points of the shortest path
*/
void print_points();
};
#endif //EX1_TASK2_BFS_H
| [
"redperov@gmail"
] | redperov@gmail |
680a101bf082788d71163794b2747e0a28e980c0 | b48b3c920e6ca90c00c4dc20054298ba5b2d5508 | /src/quiz/cluster/kdtree.h | 38e85f6bb28ac20c653f70805a2afc96954416d2 | [] | no_license | raghavadesai/SFND_Lidar-Obstacle-Detection | e696f939249cd20efbcf5d0ab3abf1f63c148649 | 8897216abfe7c86db696a9fc358694af3282eed7 | refs/heads/master | 2020-06-24T08:47:23.573861 | 2019-07-27T22:19:43 | 2019-07-27T22:19:43 | 198,919,791 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,388 | h | /* \author Aaron Brown */
// Quiz on implementing kd tree
#include "../../render/render.h"
// Structure to represent node of kd tree
struct Node
{
std::vector<float> point;
int id;
Node* left;
Node* right;
Node(std::vector<float> arr, int setId)
: point(arr), id(setId), left(NULL), right(NULL)
{}
};
struct KdTree
{
Node* root;
KdTree()
: root(NULL)
{}
void insertHelper(Node** node, uint depth, std::vector<float> point, int id)
{
// TODO: Fill in this function to insert a new point into the tree
// the function should create a new node and place correctly with in the root
if( *node == NULL )
{
*node = new Node(point,id);
}
else
{
/* current deimesnion at this depth level */
uint cd = depth % 2;
if( point[cd] < ((*node)->point[cd]))
{
insertHelper(&((*node)->left), depth+1, point, id);
}
else
{
insertHelper(&((*node)->right), depth+1, point, id);
}
}
}
void insert(std::vector<float> point, int id)
{
// TODO: Fill in this function to insert a new point into the tree
// the function should create a new node and place correctly with in the root
insertHelper(&root, 0, point, id);
}
// return a list of point ids in the tree that are within distance of target
void searchHelper(std::vector<float> target, Node * node, int depth, float distanceTol, std::vector<int>& ids)
{
if(node != NULL)
{
if ((node->point[0] >= (target[0] - distanceTol)) && (node->point[0] <= (target[0] + distanceTol)) &&
(node->point[1] >= (target[1] - distanceTol)) && (node->point[1] <= (target[1] + distanceTol)))
{
float distance = sqrt((node->point[0] - target[0]) * (node->point[0] - target[0]) + (node->point[1] - target[1]) * (node->point[1] - target[1]));
if (distance <= distanceTol)
ids.push_back(node->id);
}
//Check across boundary
if ((target[depth % 2] - distanceTol) < node->point[depth % 2])
searchHelper(target, node->left, depth + 1, distanceTol, ids);
if ((target[depth % 2] + distanceTol) > node->point[depth % 2])
searchHelper(target, node->right, depth + 1, distanceTol, ids);
}
}
// return a list of point ids in the tree that are within distance of target
std::vector<int> search(std::vector<float> target, float distanceTol)
{
std::vector<int> ids;
searchHelper(target, root, 0, distanceTol, ids);
return ids;
}
};
| [
"raghavadesai@gmail.com"
] | raghavadesai@gmail.com |
495e1c5fdbc6dcca0d4901b75d7dff2f673c052c | 5d83739af703fb400857cecc69aadaf02e07f8d1 | /Archive2/f6/7edc0402b4f9de/main.cpp | eb6dfc1a597c6e9d5d59b07a37dcf4c5221b1b8d | [] | no_license | WhiZTiM/coliru | 3a6c4c0bdac566d1aa1c21818118ba70479b0f40 | 2c72c048846c082f943e6c7f9fa8d94aee76979f | refs/heads/master | 2021-01-01T05:10:33.812560 | 2015-08-24T19:09:22 | 2015-08-24T19:09:22 | 56,789,706 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 520 | cpp | #include <initializer_list>
#include <iostream>
struct base {
virtual void f() const {
std::cout << "base\n";
}
};
struct derived : base {
virtual void f() const {
std::cout << "derived\n";
}
};
template<typename T>
struct other_derived : base {
virtual void f() const {
std::cout << "other_derived\n";
}
};
void test(std::initializer_list<base> l) {
for(auto&& i : l) {
i.f();
}
}
int main() {
test({ base{}, derived{}, other_derived<int>{}});
} | [
"francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df"
] | francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df |
8a795f3975a07e0380bf7b939ed6bf0f2e09b634 | d93159d0784fc489a5066d3ee592e6c9563b228b | /RecoParticleFlow/PFTracking/src/PFGeometry.cc | c4d587abb068ad802f4e303cf53dce6d94004f0d | [] | permissive | simonecid/cmssw | 86396e31d41a003a179690f8c322e82e250e33b2 | 2559fdc9545b2c7e337f5113b231025106dd22ab | refs/heads/CAallInOne_81X | 2021-08-15T23:25:02.901905 | 2016-09-13T08:10:20 | 2016-09-13T08:53:42 | 176,462,898 | 0 | 1 | Apache-2.0 | 2019-03-19T08:30:28 | 2019-03-19T08:30:24 | null | UTF-8 | C++ | false | false | 2,068 | cc | #include "RecoParticleFlow/PFTracking/interface/PFGeometry.h"
#include "DataFormats/GeometrySurface/interface/BoundCylinder.h"
#include "DataFormats/GeometrySurface/interface/BoundDisk.h"
#include "DataFormats/GeometrySurface/interface/SimpleCylinderBounds.h"
#include "DataFormats/GeometrySurface/interface/SimpleDiskBounds.h"
PFGeometry::PFGeometry()
{
if (!innerRadius_.size()) {
// All distances are in cm
// BeamPipe
innerRadius_.push_back(2.5);
outerRadius_.push_back(2.5);
innerZ_.push_back(0.);
outerZ_.push_back(500.);
// PS1
innerRadius_.push_back(45.0);
outerRadius_.push_back(125.0);
innerZ_.push_back(303.16);
outerZ_.push_back(303.16);
// PS2
innerRadius_.push_back(45.0);
outerRadius_.push_back(125.0);
innerZ_.push_back(307.13);
outerZ_.push_back(307.13);
// ECALBarrel
innerRadius_.push_back(129.0);
outerRadius_.push_back(175.0);
innerZ_.push_back(0.);
outerZ_.push_back(304.5);
// ECALEndcap
innerRadius_.push_back(31.6);
outerRadius_.push_back(171.1);
innerZ_.push_back(317.0);
outerZ_.push_back(388.0);
// HCALBarrel
innerRadius_.push_back(183.0);
outerRadius_.push_back(285.0);
innerZ_.push_back(0.);
outerZ_.push_back(433.2);
// HCALEndcap
innerRadius_.push_back(31.6); // !!! Do not use : Probably wrong !!!
outerRadius_.push_back(285.0); // !!! Do not use : Probably wrong !!!
innerZ_.push_back(388.0);
outerZ_.push_back(560.0);
// HO Barrel
innerRadius_.push_back(387.6);
outerRadius_.push_back(410.2);
innerZ_.push_back(0.);
outerZ_.push_back(700.25);
// Define reference surfaces
tanTh_.push_back(innerRadius_[BeamPipe]/outerZ_[BeamPipe]);
tanTh_.push_back(outerRadius_[PS1]/outerZ_[PS1]);
tanTh_.push_back(outerRadius_[PS2]/outerZ_[PS2]);
tanTh_.push_back(innerRadius_[ECALBarrel]/innerZ_[ECALEndcap]);
tanTh_.push_back(innerRadius_[HCALBarrel]/innerZ_[HCALEndcap]);
tanTh_.push_back(outerRadius_[HCALBarrel]/outerZ_[HCALEndcap]);
}
}
| [
"giulio.eulisse@gmail.com"
] | giulio.eulisse@gmail.com |
10ad2f1fcca01cce3f45fde20fcb62751b0cda80 | 39eac74fa6a244d15a01873623d05f480f45e079 | /SecondaryANSIClaimConfigDlg.cpp | cbd5e561a06fe3479f1e4c6f4884e3e08ebe599b | [] | no_license | 15831944/Practice | a8ac8416b32df82395bb1a4b000b35a0326c0897 | ae2cde9c8f2fb6ab63bd7d8cd58701bd3513ec94 | refs/heads/master | 2021-06-15T12:10:18.730367 | 2016-11-30T15:13:53 | 2016-11-30T15:13:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 23,350 | cpp | // SecondaryANSIClaimConfigDlg.cpp : implementation file
//
#include "stdafx.h"
#include "SecondaryANSIClaimConfigDlg.h"
#include "GlobalFinancialUtils.h"
#include "SecondaryANSIAllowedAdjConfigDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
using namespace ADODB;
// (j.jones 2006-11-24 13:37) - PLID 23415 - Created
/////////////////////////////////////////////////////////////////////////////
// CSecondaryANSIClaimConfigDlg dialog
CSecondaryANSIClaimConfigDlg::CSecondaryANSIClaimConfigDlg(CWnd* pParent /*=NULL*/)
: CNxDialog(CSecondaryANSIClaimConfigDlg::IDD, pParent)
{
//{{AFX_DATA_INIT(CSecondaryANSIClaimConfigDlg)
m_GroupID = -1;
m_bIsUB92 = FALSE;
m_bIs5010Enabled = FALSE;
//}}AFX_DATA_INIT
}
void CSecondaryANSIClaimConfigDlg::DoDataExchange(CDataExchange* pDX)
{
CNxDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CSecondaryANSIClaimConfigDlg)
DDX_Control(pDX, IDC_RADIO_APPROVED_SEND_BALANCE, m_btnApprovedBalance);
DDX_Control(pDX, IDC_RADIO_APPROVED_SEND_CLAIM_TOTAL, m_btnApprovedClaimTotal);
DDX_Control(pDX, IDC_RADIO_APPROVED_SEND_ALLOWED, m_btnApprovedAllowed);
DDX_Control(pDX, IDC_RADIO_USE_ADJUSTMENTS_IN_2430, m_btnSend2430Adj);
DDX_Control(pDX, IDC_RADIO_USE_ADJUSTMENTS_IN_2320, m_btnSend2320Adj);
DDX_Control(pDX, IDC_CHECK_SEND_2400_CONTRACT, m_btnSend2400Contract);
DDX_Control(pDX, IDC_CHECK_SEND_2400_ALLOWED, m_btnSend2400Allowed);
DDX_Control(pDX, IDC_CHECK_SEND_2320_APPROVED_AMOUNT, m_btnSend2320Approved);
DDX_Control(pDX, IDC_CHECK_SEND_2320_ALLOWED, m_btnSend2320Allowed);
DDX_Control(pDX, IDC_CHECK_SEND_2300_CONTRACT, m_btnSend2300Contract);
DDX_Control(pDX, IDC_CHECK_ENABLE_SENDING_PAYMENT_INFORMATION, m_btnEnablePayNotPrimary);
DDX_Control(pDX, IDC_2400_LABEL, m_nxstatic2400Label);
DDX_Control(pDX, IDC_APPROVED_CALC_LABEL, m_nxstaticApprovedCalcLabel);
DDX_Control(pDX, IDOK, m_btnOk);
DDX_Control(pDX, IDCANCEL, m_btnCancel);
DDX_Control(pDX, IDC_CHECK_SEND_CAS_PR, m_checkSendCASPR);
DDX_Control(pDX, IDC_BTN_CONFIG_ALLOWED_ADJ_CODES, m_btnConfigAllowedAdjCodes);
DDX_Control(pDX, IDC_CHECK_HIDE_2430_SVD06_ONE_CHARGE, m_checkHide2430_SVD06_OneCharge);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CSecondaryANSIClaimConfigDlg, CNxDialog)
//{{AFX_MSG_MAP(CSecondaryANSIClaimConfigDlg)
ON_BN_CLICKED(IDC_CHECK_ENABLE_SENDING_PAYMENT_INFORMATION, OnCheckEnableSendingPaymentInformation)
ON_BN_CLICKED(IDC_RADIO_USE_ADJUSTMENTS_IN_2320, OnRadioUseAdjustmentsIn2320)
ON_BN_CLICKED(IDC_RADIO_USE_ADJUSTMENTS_IN_2430, OnRadioUseAdjustmentsIn2430)
ON_BN_CLICKED(IDC_BTN_CONFIG_ALLOWED_ADJ_CODES, OnBtnConfigAllowedAdjCodes)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CSecondaryANSIClaimConfigDlg message handlers
BOOL CSecondaryANSIClaimConfigDlg::OnInitDialog()
{
CNxDialog::OnInitDialog();
try {
m_btnOk.AutoSet(NXB_OK);
m_btnCancel.AutoSet(NXB_CANCEL);
// (j.jones 2010-02-02 14:00) - PLID 37159 - added ability to configure adjustments
// to be included in the allowed amount calculation
m_btnConfigAllowedAdjCodes.AutoSet(NXB_MODIFY);
// (j.jones 2010-10-19 13:33) - PLID 40931 - in 5010 these settings are obsolete
if(m_bIs5010Enabled) {
//none of these exist in 5010
GetDlgItem(IDC_APPROVED_CALC_LABEL)->EnableWindow(FALSE);
m_btnApprovedBalance.EnableWindow(FALSE);
m_btnApprovedClaimTotal.EnableWindow(FALSE);
m_btnApprovedAllowed.EnableWindow(FALSE);
m_btnSend2400Allowed.EnableWindow(FALSE);
m_btnSend2320Allowed.EnableWindow(FALSE);
m_btnSend2320Approved.EnableWindow(FALSE);
//remove "recommended" from the disabled controls, let's not taunt them
m_btnSend2400Allowed.SetWindowText("Send Allowed Amount");
m_btnSend2320Allowed.SetWindowText("Send Allowed Amount");
m_btnApprovedAllowed.SetWindowText("Send the Allowed amount as the Approved amount");
}
// (j.jones 2007-06-15 09:43) - PLID 26309 - added group/reason code defaults
// (j.jones 2009-03-11 09:32) - PLID 33446 - renamed the original combos to say "remaining",
// and added new combos for "insurance"
// (j.jones 2010-09-23 15:21) - PLID 40653 - these are now requeryable
m_pRemainingGroupCodeList = BindNxDataList2Ctrl(this, IDC_DEFAULT_REM_ADJ_GROUPCODE, GetRemoteData(), true);
m_pRemainingReasonList = BindNxDataList2Ctrl(this, IDC_DEFAULT_REM_ADJ_REASON, GetRemoteData(), true);
m_pInsuranceGroupCodeList = BindNxDataList2Ctrl(this, IDC_DEFAULT_INS_ADJ_GROUPCODE, GetRemoteData(), true);
m_pInsuranceReasonList = BindNxDataList2Ctrl(this, IDC_DEFAULT_INS_ADJ_REASON, GetRemoteData(), true);
// (j.jones 2006-11-27 17:30) - PLID 23652 - supported UB92
// (j.jones 2007-02-15 11:48) - PLID 24762 - added 2400 Allowed Amount option
// (j.jones 2007-03-29 17:10) - PLID 25409 - added allowable calculation option
if(m_bIsUB92) {
//hide irrelevant controls
// (j.jones 2009-03-11 10:20) - PLID 33446 - I rearranged these controls and
// now the UB screen looks pretty ugly when these are hidden, so now I just
// disable them - counting the labels, for effect
GetDlgItem(IDC_CHECK_SEND_2320_APPROVED_AMOUNT)->EnableWindow(FALSE);
GetDlgItem(IDC_2400_LABEL)->EnableWindow(FALSE);
GetDlgItem(IDC_CHECK_SEND_2400_CONTRACT)->EnableWindow(FALSE);
GetDlgItem(IDC_CHECK_SEND_2400_ALLOWED)->EnableWindow(FALSE);
// (j.jones 2008-02-25 09:30) - PLID 29077 - hide the approved calculations,
// there is no approved amount in a UB Institutional claim
GetDlgItem(IDC_APPROVED_CALC_LABEL)->EnableWindow(FALSE);
GetDlgItem(IDC_RADIO_APPROVED_SEND_BALANCE)->EnableWindow(FALSE);
GetDlgItem(IDC_RADIO_APPROVED_SEND_CLAIM_TOTAL)->EnableWindow(FALSE);
GetDlgItem(IDC_RADIO_APPROVED_SEND_ALLOWED)->EnableWindow(FALSE);
// (j.jones 2008-11-12 12:02) - PLID 31912 - I coded the Send CAS PR feature
// for the UB, but then discovered that we should never need to send this
// CAS PR segment unless we send the allowed amount, and we don't send the
// allowed amount on UB claims. Thus, this option is not necessary. However,
// since I already coded it, I don't want to have to repeat this in the future,
// so I am leaving the code in place and merely hiding the superfluous checkbox.
GetDlgItem(IDC_CHECK_SEND_CAS_PR)->EnableWindow(FALSE);
// (j.jones 2007-06-15 09:55) - PLID 26309 - added group/reason code defaults
// (j.jones 2008-11-12 10:43) - PLID 31912 - added ANSI_SendCASPR
// (j.jones 2009-03-11 09:58) - PLID 33446 - added insurance group/reason codes
// (j.jones 2009-08-28 17:45) - PLID 32993 - removed ANSI_SecondaryAllowableCalc
// (j.jones 2010-03-31 14:43) - PLID 37918 - added ANSI_Hide2430_SVD06_OneCharge
// (j.jones 2010-09-23 15:42) - PLID 40653 - the group & reason codes are now IDs
_RecordsetPtr rs = CreateParamRecordset("SELECT ANSI_EnablePaymentInfo, ANSI_AdjustmentLoop, "
"ANSI_2300Contract, ANSI_2320Allowed, "
"ANSI_DefaultAdjGroupCodeID, ANSI_DefaultAdjReasonCodeID, ANSI_SendCASPR, "
"ANSI_DefaultInsAdjGroupCodeID, ANSI_DefaultInsAdjReasonCodeID, "
"ANSI_Hide2430_SVD06_OneCharge "
"FROM UB92SetupT WHERE ID = {INT}", m_GroupID);
if(!rs->eof) {
long nEnablePaymentInfo = AdoFldLong(rs, "ANSI_EnablePaymentInfo", 1);
long nAdjustmentLoop = AdoFldLong(rs, "ANSI_AdjustmentLoop", 1);
long n2300Contract = AdoFldLong(rs, "ANSI_2300Contract", 0);
long n2320Allowed = AdoFldLong(rs, "ANSI_2320Allowed", 1);
BOOL bSendCASPR = AdoFldBool(rs, "ANSI_SendCASPR", TRUE);
// (j.jones 2007-06-15 09:55) - PLID 26309 - added group/reason code defaults
_variant_t var = rs->Fields->Item["ANSI_DefaultAdjGroupCodeID"]->Value;
// (b.cardillo 2008-06-27 16:17) - PLID 30529 - Changed to using the new temporary trysetsel method
m_pRemainingGroupCodeList->TrySetSelByColumn_Deprecated(0, var);
var = rs->Fields->Item["ANSI_DefaultAdjReasonCodeID"]->Value;
// (b.cardillo 2008-06-27 16:17) - PLID 30529 - Changed to using the new temporary trysetsel method
m_pRemainingReasonList->TrySetSelByColumn_Deprecated(0, var);
// (j.jones 2009-03-11 09:56) - PLID 33446 - added defaults for "real" insurance adjustments
var = rs->Fields->Item["ANSI_DefaultInsAdjGroupCodeID"]->Value;
m_pInsuranceGroupCodeList->SetSelByColumn(0, var);
var = rs->Fields->Item["ANSI_DefaultInsAdjReasonCodeID"]->Value;
m_pInsuranceReasonList->SetSelByColumn(0, var);
CheckDlgButton(IDC_CHECK_ENABLE_SENDING_PAYMENT_INFORMATION, nEnablePaymentInfo == 1);
OnCheckEnableSendingPaymentInformation();
CheckDlgButton(IDC_CHECK_ENABLE_SENDING_PAYMENT_INFORMATION, nEnablePaymentInfo == 1);
CheckDlgButton(nAdjustmentLoop == 0 ? IDC_RADIO_USE_ADJUSTMENTS_IN_2320 : IDC_RADIO_USE_ADJUSTMENTS_IN_2430, TRUE);
CheckDlgButton(IDC_CHECK_SEND_2300_CONTRACT, n2300Contract == 1);
CheckDlgButton(IDC_CHECK_SEND_2320_ALLOWED, n2320Allowed == 1);
// (j.jones 2007-03-29 17:15) - PLID 25409 - added ANSI_SecondaryAllowableCalc
// (j.jones 2009-08-28 17:45) - PLID 32993 - removed ANSI_SecondaryAllowableCalc
/*
if(nSecondaryAllowableCalc == 1)
CheckDlgButton(IDC_RADIO_ALLOWED_USE_FEE_SCHEDULE, TRUE);
else if(nSecondaryAllowableCalc == 2)
CheckDlgButton(IDC_RADIO_ALLOWED_USE_PAYMENT, TRUE);
else
CheckDlgButton(IDC_RADIO_ALLOWED_USE_PAYMENT_AND_RESP, TRUE);
*/
// (j.jones 2008-11-12 10:43) - PLID 31912 - added ANSI_SendCASPR
CheckDlgButton(IDC_CHECK_SEND_CAS_PR, bSendCASPR);
// (j.jones 2010-03-31 14:43) - PLID 37918 - added ability to hide 2430 SVD06 for single-charge claims
m_checkHide2430_SVD06_OneCharge.SetCheck(AdoFldLong(rs, "ANSI_Hide2430_SVD06_OneCharge", 0) == 1);
}
rs->Close();
}
else {
// (j.jones 2007-06-15 09:55) - PLID 26309 - added group/reason code defaults
// (j.jones 2008-02-25 09:20) - PLID 29077 - added ANSI_SecondaryApprovedCalc
// (j.jones 2008-11-12 10:43) - PLID 31912 - added ANSI_SendCASPR
// (j.jones 2009-03-11 09:58) - PLID 33446 - added insurance group/reason codes
// (j.jones 2009-08-28 17:45) - PLID 32993 - removed ANSI_SecondaryAllowableCalc
// (j.jones 2010-03-31 14:43) - PLID 37918 - added ANSI_Hide2430_SVD06_OneCharge
// (j.jones 2010-09-23 15:42) - PLID 40653 - the group & reason codes are now IDs
_RecordsetPtr rs = CreateParamRecordset("SELECT ANSI_EnablePaymentInfo, ANSI_AdjustmentLoop, "
"ANSI_2300Contract, ANSI_2320Allowed, "
"ANSI_2320Approved, ANSI_2400Contract, ANSI_2400Allowed, "
"ANSI_DefaultAdjGroupCodeID, ANSI_DefaultAdjReasonCodeID, "
"ANSI_SecondaryApprovedCalc, ANSI_SendCASPR, "
"ANSI_DefaultInsAdjGroupCodeID, ANSI_DefaultInsAdjReasonCodeID, "
"ANSI_Hide2430_SVD06_OneCharge "
"FROM HCFASetupT WHERE ID = {INT}", m_GroupID);
if(!rs->eof) {
long nEnablePaymentInfo = AdoFldLong(rs, "ANSI_EnablePaymentInfo", 1);
long nAdjustmentLoop = AdoFldLong(rs, "ANSI_AdjustmentLoop", 1);
long n2300Contract = AdoFldLong(rs, "ANSI_2300Contract", 0);
long n2320Allowed = AdoFldLong(rs, "ANSI_2320Allowed", 1);
long n2320Approved = AdoFldLong(rs, "ANSI_2320Approved", 0);
long n2400Contract = AdoFldLong(rs, "ANSI_2400Contract", 0);
long n2400Allowed = AdoFldLong(rs, "ANSI_2400Allowed", 1);
long nSecondaryApprovedCalc = AdoFldLong(rs, "ANSI_SecondaryApprovedCalc", 3);
BOOL bSendCASPR = AdoFldBool(rs, "ANSI_SendCASPR", TRUE);
// (j.jones 2007-06-15 09:55) - PLID 26309 - added group/reason code defaults
_variant_t var = rs->Fields->Item["ANSI_DefaultAdjGroupCodeID"]->Value;
// (b.cardillo 2008-06-27 16:17) - PLID 30529 - Changed to using the new temporary trysetsel method
m_pRemainingGroupCodeList->TrySetSelByColumn_Deprecated(0, var);
var = rs->Fields->Item["ANSI_DefaultAdjReasonCodeID"]->Value;
// (b.cardillo 2008-06-27 16:17) - PLID 30529 - Changed to using the new temporary trysetsel method
m_pRemainingReasonList->TrySetSelByColumn_Deprecated(0, var);
// (j.jones 2009-03-11 09:56) - PLID 33446 - added defaults for "real" insurance adjustments
var = rs->Fields->Item["ANSI_DefaultInsAdjGroupCodeID"]->Value;
m_pInsuranceGroupCodeList->SetSelByColumn(0, var);
var = rs->Fields->Item["ANSI_DefaultInsAdjReasonCodeID"]->Value;
m_pInsuranceReasonList->SetSelByColumn(0, var);
CheckDlgButton(IDC_CHECK_ENABLE_SENDING_PAYMENT_INFORMATION, nEnablePaymentInfo == 1);
OnCheckEnableSendingPaymentInformation();
CheckDlgButton(IDC_CHECK_ENABLE_SENDING_PAYMENT_INFORMATION, nEnablePaymentInfo == 1);
CheckDlgButton(nAdjustmentLoop == 0 ? IDC_RADIO_USE_ADJUSTMENTS_IN_2320 : IDC_RADIO_USE_ADJUSTMENTS_IN_2430, TRUE);
CheckDlgButton(IDC_CHECK_SEND_2300_CONTRACT, n2300Contract == 1);
CheckDlgButton(IDC_CHECK_SEND_2320_ALLOWED, n2320Allowed == 1);
CheckDlgButton(IDC_CHECK_SEND_2320_APPROVED_AMOUNT, n2320Approved == 1);
CheckDlgButton(IDC_CHECK_SEND_2400_CONTRACT, n2400Contract == 1);
CheckDlgButton(IDC_CHECK_SEND_2400_ALLOWED, n2400Allowed == 1);
// (j.jones 2007-03-29 17:18) - PLID 25409 - added ANSI_SecondaryAllowableCalc
// (j.jones 2009-08-28 17:45) - PLID 32993 - removed ANSI_SecondaryAllowableCalc
/*
if(nSecondaryAllowableCalc == 1)
CheckDlgButton(IDC_RADIO_ALLOWED_USE_FEE_SCHEDULE, TRUE);
else if(nSecondaryAllowableCalc == 2)
CheckDlgButton(IDC_RADIO_ALLOWED_USE_PAYMENT, TRUE);
else
CheckDlgButton(IDC_RADIO_ALLOWED_USE_PAYMENT_AND_RESP, TRUE);
*/
// (j.jones 2008-02-25 09:32) - PLID 29077 - added ANSI_SecondaryApprovedCalc
if(nSecondaryApprovedCalc == 1) {
CheckDlgButton(IDC_RADIO_APPROVED_SEND_BALANCE, TRUE);
}
else if(nSecondaryApprovedCalc == 2) {
CheckDlgButton(IDC_RADIO_APPROVED_SEND_CLAIM_TOTAL, TRUE);
}
else {
CheckDlgButton(IDC_RADIO_APPROVED_SEND_ALLOWED, TRUE);
}
// (j.jones 2008-11-12 10:43) - PLID 31912 - added ANSI_SendCASPR
CheckDlgButton(IDC_CHECK_SEND_CAS_PR, bSendCASPR);
// (j.jones 2010-03-31 14:43) - PLID 37918 - added ability to hide 2430 SVD06 for single-charge claims
m_checkHide2430_SVD06_OneCharge.SetCheck(AdoFldLong(rs, "ANSI_Hide2430_SVD06_OneCharge", 0) == 1);
}
rs->Close();
}
}NxCatchAll("Error in CSecondaryANSIClaimConfigDlg::OnInitDialog");
return TRUE; // return TRUE unless you set the focus to a control
// EXCEPTION: OCX Property Pages should return FALSE
}
void CSecondaryANSIClaimConfigDlg::OnCheckEnableSendingPaymentInformation()
{
BOOL bEnabled = IsDlgButtonChecked(IDC_CHECK_ENABLE_SENDING_PAYMENT_INFORMATION);
// (j.jones 2009-03-11 10:20) - PLID 33446 - non-UB controls are now disabled,
// rather than hidden, so they need to stay that way in this function
GetDlgItem(IDC_CHECK_SEND_2300_CONTRACT)->EnableWindow(bEnabled);
GetDlgItem(IDC_CHECK_SEND_2400_CONTRACT)->EnableWindow(bEnabled && !m_bIsUB92);
GetDlgItem(IDC_RADIO_USE_ADJUSTMENTS_IN_2320)->EnableWindow(bEnabled);
GetDlgItem(IDC_RADIO_USE_ADJUSTMENTS_IN_2430)->EnableWindow(bEnabled);
// (j.jones 2010-10-19 13:33) - PLID 40931 - in 5010 these settings are obsolete
GetDlgItem(IDC_CHECK_SEND_2320_ALLOWED)->EnableWindow(bEnabled && !m_bIs5010Enabled);
GetDlgItem(IDC_CHECK_SEND_2320_APPROVED_AMOUNT)->EnableWindow(bEnabled && !m_bIsUB92 && !m_bIs5010Enabled);
GetDlgItem(IDC_CHECK_SEND_2400_ALLOWED)->EnableWindow(bEnabled && !m_bIsUB92 && !m_bIs5010Enabled);
GetDlgItem(IDC_RADIO_APPROVED_SEND_BALANCE)->EnableWindow(bEnabled && !m_bIsUB92 && !m_bIs5010Enabled);
GetDlgItem(IDC_RADIO_APPROVED_SEND_CLAIM_TOTAL)->EnableWindow(bEnabled && !m_bIsUB92 && !m_bIs5010Enabled);
GetDlgItem(IDC_RADIO_APPROVED_SEND_ALLOWED)->EnableWindow(bEnabled && !m_bIsUB92 && !m_bIs5010Enabled);
m_pRemainingGroupCodeList->Enabled = bEnabled;
m_pRemainingReasonList->Enabled = bEnabled;
m_pInsuranceGroupCodeList->Enabled = bEnabled;
m_pInsuranceReasonList->Enabled = bEnabled;
GetDlgItem(IDC_CHECK_SEND_CAS_PR)->EnableWindow(bEnabled && !m_bIsUB92);
// (j.jones 2010-02-02 14:00) - PLID 37159 - the allowed adjustment configuration
// is used on both HCFAs and UBs
GetDlgItem(IDC_BTN_CONFIG_ALLOWED_ADJ_CODES)->EnableWindow(bEnabled);
// (j.jones 2010-03-31 14:43) - PLID 37918 - added ability to hide 2430 SVD06 for single-charge claims
GetDlgItem(IDC_CHECK_HIDE_2430_SVD06_ONE_CHARGE)->EnableWindow(bEnabled);
}
void CSecondaryANSIClaimConfigDlg::OnOK()
{
try {
//save the settings
long nEnablePaymentInfo = IsDlgButtonChecked(IDC_CHECK_ENABLE_SENDING_PAYMENT_INFORMATION) ? 1 : 0;
long nAdjustmentLoop = IsDlgButtonChecked(IDC_RADIO_USE_ADJUSTMENTS_IN_2430) ? 1 : 0;
long n2300Contract = IsDlgButtonChecked(IDC_CHECK_SEND_2300_CONTRACT) ? 1 : 0;
long n2320Allowed = IsDlgButtonChecked(IDC_CHECK_SEND_2320_ALLOWED) ? 1 : 0;
long n2320Approved = IsDlgButtonChecked(IDC_CHECK_SEND_2320_APPROVED_AMOUNT) ? 1 : 0;
long n2400Contract = IsDlgButtonChecked(IDC_CHECK_SEND_2400_CONTRACT) ? 1 : 0;
// (j.jones 2007-02-15 11:48) - PLID 24762 - added 2400 Allowed Amount option
long n2400Allowed = IsDlgButtonChecked(IDC_CHECK_SEND_2400_ALLOWED) ? 1: 0;
// (j.jones 2008-11-12 10:47) - PLID 31912 - added m_checkSendCASPR
BOOL bSendCASPR = m_checkSendCASPR.GetCheck();
// (j.jones 2007-03-29 17:10) - PLID 25409 - added allowable calculation option
// (j.jones 2009-08-31 09:16) - PLID 32993 - removed ANSI_SecondaryAllowableCalc
/*
long nSecondaryAllowableCalc = 3;
if(IsDlgButtonChecked(IDC_RADIO_ALLOWED_USE_FEE_SCHEDULE))
nSecondaryAllowableCalc = 1;
else if(IsDlgButtonChecked(IDC_RADIO_ALLOWED_USE_PAYMENT))
nSecondaryAllowableCalc = 2;
*/
// (j.jones 2008-02-25 09:37) - PLID 29077 - added approved calculation option
long nSecondaryApprovedCalc = 3;
if(IsDlgButtonChecked(IDC_RADIO_APPROVED_SEND_BALANCE)) {
nSecondaryApprovedCalc = 1;
}
else if(IsDlgButtonChecked(IDC_RADIO_APPROVED_SEND_CLAIM_TOTAL)) {
nSecondaryApprovedCalc = 2;
}
// (j.jones 2007-06-15 09:58) - PLID 26309 - added group/reason code defaults
// (j.jones 2010-09-23 15:42) - PLID 40653 - the group & reason codes are now IDs
long nRemGroupCodeID = -1, nRemReasonCodeID = -1;
NXDATALIST2Lib::IRowSettingsPtr pRow;
pRow = m_pRemainingGroupCodeList->GetCurSel();
if (pRow) {
nRemGroupCodeID = VarLong(pRow->GetValue(0));
}
else {
AfxMessageBox("You must select a default adjustment group code for remaining balances before saving.");
return;
}
pRow = m_pRemainingReasonList->GetCurSel();
if (pRow) {
nRemReasonCodeID = VarLong(pRow->GetValue(0));
}
else {
AfxMessageBox("You must select a default adjustment reason code for remaining balances before saving.");
return;
}
// (j.jones 2009-03-11 09:56) - PLID 33446 - added defaults for "real" insurance adjustments
// (j.jones 2010-09-23 15:42) - PLID 40653 - the group & reason codes are now IDs
long nInsGroupCodeID = -1, nInsReasonCodeID = -1;
pRow = m_pInsuranceGroupCodeList->GetCurSel();
if (pRow) {
nInsGroupCodeID = VarLong(pRow->GetValue(0));
}
else {
AfxMessageBox("You must select a default adjustment group code for insurance adjustments before saving.");
return;
}
pRow = m_pInsuranceReasonList->GetCurSel();
if (pRow) {
nInsReasonCodeID = VarLong(pRow->GetValue(0));
}
else {
AfxMessageBox("You must select a default adjustment reason code for insurance adjustments before saving.");
return;
}
// (j.jones 2010-03-31 14:43) - PLID 37918 - added ability to hide 2430 SVD06 for single-charge claims
long nANSI_Hide2430_SVD06_OneCharge = m_checkHide2430_SVD06_OneCharge.GetCheck() ? 1 : 0;
// (j.jones 2006-11-27 17:30) - PLID 23652 - supported UB92
if(m_bIsUB92) {
// (j.jones 2007-06-15 09:58) - PLID 26309 - added group/reason code defaults
// (j.jones 2008-11-12 10:47) - PLID 31912 - added ANSI_SendCASPR
// (j.jones 2009-03-11 09:58) - PLID 33446 - added insurance group/reason codes
// (j.jones 2009-08-28 17:45) - PLID 32993 - removed ANSI_SecondaryAllowableCalc
// (j.jones 2010-03-31 14:43) - PLID 37918 - added ANSI_Hide2430_SVD06_OneCharge
// (j.jones 2010-09-23 15:42) - PLID 40653 - the group & reason codes are now IDs
ExecuteSql("UPDATE UB92SetupT SET ANSI_EnablePaymentInfo = %li, ANSI_AdjustmentLoop = %li, "
"ANSI_2300Contract = %li, ANSI_2320Allowed = %li, "
"ANSI_DefaultAdjGroupCodeID = %li, ANSI_DefaultAdjReasonCodeID = %li, "
"ANSI_SendCASPR = %li, "
"ANSI_DefaultInsAdjGroupCodeID = %li, ANSI_DefaultInsAdjReasonCodeID = %li, "
"ANSI_Hide2430_SVD06_OneCharge = %li "
"WHERE ID = %li",
nEnablePaymentInfo, nAdjustmentLoop,
n2300Contract, n2320Allowed,
nRemGroupCodeID, nRemReasonCodeID, bSendCASPR ? 1 : 0,
nInsGroupCodeID, nInsReasonCodeID,
nANSI_Hide2430_SVD06_OneCharge,
m_GroupID);
}
else {
// (j.jones 2007-06-15 09:58) - PLID 26309 - added group/reason code defaults
// (j.jones 2008-02-25 09:20) - PLID 29077 - added ANSI_SecondaryApprovedCalc
// (j.jones 2008-11-12 10:47) - PLID 31912 - added ANSI_SendCASPR
// (j.jones 2009-03-11 09:58) - PLID 33446 - added insurance group/reason codes
// (j.jones 2009-08-28 17:45) - PLID 32993 - removed ANSI_SecondaryAllowableCalc
// (j.jones 2010-03-31 14:43) - PLID 37918 - added ANSI_Hide2430_SVD06_OneCharge
// (j.jones 2010-09-23 15:42) - PLID 40653 - the group & reason codes are now IDs
ExecuteSql("UPDATE HCFASetupT SET ANSI_EnablePaymentInfo = %li, ANSI_AdjustmentLoop = %li, "
"ANSI_2300Contract = %li, ANSI_2320Allowed = %li, "
"ANSI_2320Approved = %li, ANSI_2400Contract = %li, ANSI_2400Allowed = %li, "
"ANSI_DefaultAdjGroupCodeID = %li, ANSI_DefaultAdjReasonCodeID = %li, "
"ANSI_SecondaryApprovedCalc = %li, ANSI_SendCASPR = %li, "
"ANSI_DefaultInsAdjGroupCodeID = %li, ANSI_DefaultInsAdjReasonCodeID = %li, "
"ANSI_Hide2430_SVD06_OneCharge = %li "
"WHERE ID = %li",
nEnablePaymentInfo, nAdjustmentLoop,
n2300Contract, n2320Allowed,
n2320Approved, n2400Contract, n2400Allowed,
nRemGroupCodeID, nRemReasonCodeID,
nSecondaryApprovedCalc, bSendCASPR ? 1 : 0,
nInsGroupCodeID, nInsReasonCodeID,
nANSI_Hide2430_SVD06_OneCharge,
m_GroupID);
}
CDialog::OnOK();
}NxCatchAll("Error saving secondary ANSI claim information.");
}
void CSecondaryANSIClaimConfigDlg::OnRadioUseAdjustmentsIn2320()
{
//only one adjustment option can be checked ("in the end, there can be only one")
if(IsDlgButtonChecked(IDC_RADIO_USE_ADJUSTMENTS_IN_2320)) {
CheckDlgButton(IDC_RADIO_USE_ADJUSTMENTS_IN_2430, FALSE);
}
}
void CSecondaryANSIClaimConfigDlg::OnRadioUseAdjustmentsIn2430()
{
//only one adjustment option can be checked ("in the end, there can be only one")
if(IsDlgButtonChecked(IDC_RADIO_USE_ADJUSTMENTS_IN_2430)) {
CheckDlgButton(IDC_RADIO_USE_ADJUSTMENTS_IN_2320, FALSE);
}
}
// (j.jones 2010-02-02 14:00) - PLID 37159 - added ability to configure adjustments
// to be included in the allowed amount calculation
void CSecondaryANSIClaimConfigDlg::OnBtnConfigAllowedAdjCodes()
{
try {
CSecondaryANSIAllowedAdjConfigDlg dlg(this);
dlg.m_nGroupID = m_GroupID;
dlg.m_bIsUB = m_bIsUB92;
dlg.DoModal();
}NxCatchAll(__FUNCTION__);
} | [
"h.shah@WALD"
] | h.shah@WALD |
6a99e94d35cfee15bb4854f8ecc1a18ca980d9e4 | 47b2c8f0b89173a3e319b252c08a43136f7973a7 | /3Dゲーム制作/GameProgramming/CCharacter.cpp | 05c9771484beca806eb5c492d4c3f4de45cd403f | [] | no_license | MondenHiroto/Game2 | ba7b3f4321a4d249436f13f601efacc68385a625 | 3b46bd06246cf222bcb2bf73b40cdde0eacf1559 | refs/heads/master | 2023-07-14T17:06:17.960510 | 2021-08-04T01:51:32 | 2021-08-04T01:51:32 | 367,228,775 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 316 | cpp | #include "CCharacter.h"
#include "CTaskManager.h"
//描画処理
void CCharacter::Render()
{
mpModel->Render(mMatrix);
}
CCharacter::~CCharacter(){
//タスクリストから削除
CTaskManager::Get()->Remove(this);
}
CCharacter::CCharacter(){
//タスクリストに追加
CTaskManager::Get()->Add(this);
} | [
"20010518@anabuki-net.ne.jp"
] | 20010518@anabuki-net.ne.jp |
d1747eb5168fcf79c32f1eb074d72ff3145d53bd | f1f9f3482a750ea1ab217292cef2b07754be1af2 | /dynamicprogfibb/dynamicprogfibb/dynamicprogfibb.cpp | 348c60e6299f231ed42ea79a25d99504764fd58d | [] | no_license | ashishbindra2/cpp | 877263c14e11d1daf828c9aaffa5ec8538c1ce52 | 2d556e910426f0ea9fc229069ed105498f5650f4 | refs/heads/master | 2020-08-03T14:13:26.467732 | 2020-05-28T16:11:39 | 2020-05-28T16:11:39 | 211,778,548 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 861 | cpp | // dynamicprogfibb.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include "iostream"
using namespace std;
class Fib
{
int S[50];
public:
Fib(){
for (int i=0; i<50; i++)
S[i]=0;
}
int DoesSolutionExist(int n){
if(S[n]>0)
return S[n];
return 0;
}
unsigned int GetTermDP(unsigned int n)
{
if(n==0)
return 0;
if(n==2)
return 1;
if (DoesSolutionExist(n))
return S[n];
S[n]=GetTermDP(n-1)+GetTermDP(n-2);
return S[n];
}
unsigned int GetTerm(unsigned int n)
{
if(n==0)
return 0;
if(n==2)
return 1;
S[n]= GetTerm(n-1)+GetTerm(n-2);
return S[n];
}
};
int _tmain(int argc, _TCHAR* argv[])
{
Fib f;
for(unsigned int i=0; i<=48; i++)
{
cout<<f.GetTermDP(i)<<"\t";
cout<<f.GetTerm(i)<<"\t";
cout <<endl;
}
system("pause");
return 0;
}
| [
"ashishbindra2@gmail.com"
] | ashishbindra2@gmail.com |
467a71f7912a2c264d2e2cbf9195d34ae00b7ea1 | 12e7bd84511b61bbde2288ae695ee64746d337a7 | /problems/169.多数元素.cpp | aa0a75fe91118ca28e967f60512aa5d97b38b02a | [] | no_license | hellozmz/LeetCode | 97ec70e9c80e601a7cb8ed0efea9ceca30e6843f | 05295f388d5952a408d62ba34f6d4fde177f31c4 | refs/heads/master | 2023-05-11T10:47:26.792395 | 2023-04-29T05:27:55 | 2023-04-29T05:27:55 | 235,086,823 | 1 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 1,692 | cpp | /*
* @lc app=leetcode.cn id=169 lang=cpp
*
* [169] 多数元素
*
* https://leetcode-cn.com/problems/majority-element/description/
*
* algorithms
* Easy (61.25%)
* Likes: 424
* Dislikes: 0
* Total Accepted: 103.2K
* Total Submissions: 168.4K
* Testcase Example: '[3,2,3]'
*
* 给定一个大小为 n 的数组,找到其中的多数元素。多数元素是指在数组中出现次数大于 ⌊ n/2 ⌋ 的元素。
*
* 你可以假设数组是非空的,并且给定的数组总是存在多数元素。
*
* 示例 1:
*
* 输入: [3,2,3]
* 输出: 3
*
* 示例 2:
*
* 输入: [2,2,1,1,1,2,2]
* 输出: 2
*
* 如果能使用判断相等解决问题,就尽量不要使用<=等符号替代
*/
// @lc code=start
class Solution {
public:
int majorityElement(vector<int>& nums) {
// if (nums.size() == 0) {
// return 0;
// }
int major_num = nums[0];
int major_count = 1;
for (int i=1; i<nums.size(); ++i) {
if (nums[i] == major_num) {
++major_count;
// std::cout << major_num << " is " << major_count << " times" << std::endl;
} else {
--major_count;
if (major_count == 0) { // Your runtime beats 100 % of cpp submissions
// if (major_count <= 0) { // Your runtime beats 63.77 % of cpp submissions
major_num = nums[i];
major_count = 1;
// std::cout << "change majot, " << major_num << " is " << major_count << " times" << std::endl;
}
}
}
return major_num;
}
};
// @lc code=end
| [
"zhumingzhu@jd.com"
] | zhumingzhu@jd.com |
046b0ea408e3a2db48443af45ddd62a9b7a32d59 | 97a2f5126c6737d4051399b60852f32064d99b23 | /include/glare/material/texture_library_interface.hpp | a3460ea47b5e335ce1778230172ea3042c3d4bba | [
"MIT"
] | permissive | kevin-lesenechal/glare | b60aa354e7a3d274dbcda741ec2a8b973393da72 | 774fb6bcd40349ac5a7b9155b97d1dd995b3b5d1 | refs/heads/master | 2021-04-14T00:44:51.950011 | 2020-03-29T23:28:29 | 2020-03-29T23:29:35 | 249,198,526 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 769 | hpp | /******************************************************************************
* Copyright © 2020 Kévin Lesénéchal <kevin.lesenechal@gmail.com> *
* *
* This file is part of the GLARE project, published under the terms of the *
* MIT license; see LICENSE file for more information. *
******************************************************************************/
#pragma once
#include <string>
#include <memory>
namespace glare {
class Texture;
class TextureLibraryInterface
{
public:
virtual ~TextureLibraryInterface() noexcept = default;
virtual std::shared_ptr<Texture> get_texture(const std::string& name) = 0;
};
} // ns glare
| [
"kevin.lesenechal@gmail.com"
] | kevin.lesenechal@gmail.com |
25e2e718ce0110540be384cc5168de24dfcc8554 | fb25acc052e43af2e9f6b25edad0f0122db2f53f | /Code/HAL/PPMReceiver.cpp | a8dc650221dc05ab921481502f417a25de9d9961 | [] | no_license | JonesWest/HeliosPlus | 21070106bca37ec061b805bd5a8b03cda81db6c7 | 672141012c22edcd4fc17ff1218dea943d90ce0a | refs/heads/master | 2022-05-05T07:05:18.009249 | 2014-12-24T02:30:59 | 2014-12-24T02:30:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,172 | cpp | #include "PPMReceiver.hpp"
static ControlReceiverCalibration standard_calibration = {
/*HIGH*/ 1881, 1891, 1892, 1892, 1892, 1883,
/*LOW*/ 1088, 1095, 1094, 1093, 1093, 1089
};
static uint8_t standard_channel_mapping[6] = {
/*CHANNEL_THROTTLE:*/ 0, /*<--- these are the physical channels from the receiver*/
/*CHANNEL_ROLL: */ 2,
/*CHANNEL_PITCH: */ 1,
/*CHANNEL_YAW: */ 3,
/*CHANNEL_AUX1: */ 4,
/*CHANNEL_AUX2: */ 5
};
/*
static uint8_t standard_channel_mapping[6] = {
/*CHANNEL_THROTTLE: 0,
/*CHANNEL_ROLL: 1,
/*CHANNEL_PITCH: 2,
/*CHANNEL_YAW: 3,
/*CHANNEL_AUX1: 4,
/*CHANNEL_AUX2: 5
};*/
PPMReceiver::PPMReceiver(){
memcpy(&calibration, &standard_calibration, sizeof(ControlReceiverCalibration));
memcpy(channel_mapping, standard_channel_mapping, sizeof(standard_channel_mapping));
channel1.setup( GPM_MODE_CONTINOUS_RUNNING,
TIM3, //TIMx
RCC_APB1Periph_TIM3,
APB1,
TIM_Channel_3, //Master Channel
TIM_Channel_4, //Slave Channel
84, //Prescaler
//GPIO SPECS
GPIOB, //GPIO-port
RCC_AHB1Periph_GPIOB, //GPIO_Periph
GPIO_Pin_0, //GPIO_Pin
GPIO_PinSource0, //GPIO_Pin Source
GPIO_AF_TIM3 //example: GPIO_AF_USART3
);
channel2.setup( GPM_MODE_CONTINOUS_RUNNING,
TIM1, //TIMx
RCC_APB2Periph_TIM1,
APB2,
TIM_Channel_1, //Master Channel
TIM_Channel_2, //Slave Channel
168, //Prescaler
//GPIO SPECS
GPIOE, //GPIO-port
RCC_AHB1Periph_GPIOE, //GPIO_Periph
GPIO_Pin_9, //GPIO_Pin
GPIO_PinSource9, //GPIO_Pin Source
GPIO_AF_TIM1 //example: GPIO_AF_USART3
);
channel3.setup( GPM_MODE_CONTINOUS_RUNNING,
TIM1, //TIMx
RCC_APB2Periph_TIM1,
APB2,
TIM_Channel_3, //Master Channel
TIM_Channel_4, //Slave Channel
168, //Prescaler
//GPIO SPECS
GPIOE, //GPIO-port
RCC_AHB1Periph_GPIOE, //GPIO_Periph
GPIO_Pin_13, //GPIO_Pin
GPIO_PinSource13, //GPIO_Pin Source
GPIO_AF_TIM1 //example: GPIO_AF_USART3
);
channel4.setup( GPM_MODE_CONTINOUS_RUNNING,
TIM8, //TIMx
RCC_APB2Periph_TIM8,
APB2,
TIM_Channel_1, //Master Channel
TIM_Channel_2, //Slave Channel
168, //Prescaler
//GPIO SPECS
GPIOC, //GPIO-port
RCC_AHB1Periph_GPIOC, //GPIO_Periph
GPIO_Pin_6, //GPIO_Pin
GPIO_PinSource6, //GPIO_Pin Source
GPIO_AF_TIM8 //example: GPIO_AF_USART3
);
channel5.setup( GPM_MODE_CONTINOUS_RUNNING,
TIM8, //TIMx
RCC_APB2Periph_TIM8,
APB2,
TIM_Channel_3, //Master Channel
TIM_Channel_4, //Slave Channel
168, //Prescaler
//GPIO SPECS
GPIOC, //GPIO-port
RCC_AHB1Periph_GPIOC, //GPIO_Periph
GPIO_Pin_8, //GPIO_Pin
GPIO_PinSource8, //GPIO_Pin Source
GPIO_AF_TIM8 //example: GPIO_AF_USART3
);
channel6.setup( GPM_MODE_CONTINOUS_RUNNING,
TIM3, //TIMx
RCC_APB1Periph_TIM3,
APB1,
TIM_Channel_1, //Master Channel
TIM_Channel_2, //Slave Channel
84, //Prescaler
//GPIO SPECS
GPIOB, //GPIO-port
RCC_AHB1Periph_GPIOB, //GPIO_Periph
GPIO_Pin_4, //GPIO_Pin
GPIO_PinSource4, //GPIO_Pin Source
GPIO_AF_TIM3 //example: GPIO_AF_USART3
);
//Start all the measurements:
channel1.start();
channel2.start();
channel3.start();
channel4.start();
channel5.start();
channel6.start();
}
void PPMReceiver::execute(void){
uint8_t i;
uint16_t channel_val;
for(i=0; i<6; i++){
channel_val = channel_table[i]->get_pulse_lenght();
if(channel_val < PLM_RECEIVER_MAX_PULSE &&
channel_val > PLM_RECEIVER_MIN_PULSE ){
//Update channel:
channel_values[i] = channel_val;
last_update_timestamp[i] = Time.get_timestamp();
}
}
sorted_channel_values.throttle = get_channel(CHANNEL_THROTTLE);
sorted_channel_values.pitch = get_channel(CHANNEL_PITCH);
sorted_channel_values.roll = get_channel(CHANNEL_ROLL);
sorted_channel_values.yaw = get_channel(CHANNEL_YAW);
sorted_channel_values.aux1 = get_channel(CHANNEL_AUX1);
sorted_channel_values.aux2 = get_channel(CHANNEL_AUX2);
update_status();
if(calibrating) calibrate();
}
uint8_t PPMReceiver::get_status(void){
return status;
}
float PPMReceiver::get_channel(ControlReceiverChannel channel){
uint8_t i;
float norm_channel;
for(i=0; i<6; i++){
norm_channel = get_normalized_channel(channel_mapping[channel]);
if(channel == CHANNEL_AUX1 || channel == CHANNEL_AUX2){
if(norm_channel > 500) return 1000;
else return -1000;
}else
return norm_channel;
}
return norm_channel;
}
void PPMReceiver::get_all_channels(ControlReceiverValues& result){
result = sorted_channel_values;
}
void PPMReceiver::start_calibration(void){
uint8_t i;
for(i=0; i<6; i++){
temp_calibration.high[i] = 0;
temp_calibration.low[i] = 9999;
}
calibrating = true;
}
void PPMReceiver::stop_calibration(void){
uint8_t i;
for(i=0; i<6; i++){
calibration.high[i] = temp_calibration.high[i];
calibration.low[i] = temp_calibration.low[i];
}
calibrating = false;
}
void PPMReceiver::get_calibration(ControlReceiverCalibration* c){
*c = calibration;
}
void PPMReceiver::set_calibration(ControlReceiverCalibration* c){
calibration = *c;
}
void PPMReceiver::update_status(){
}
void PPMReceiver::calibrate(){
uint8_t i;
for(i=0; i<6; i++){
if(channel_values[i] > temp_calibration.high[i]) temp_calibration.high[i] = channel_values[i];
if(channel_values[i] < temp_calibration.low[i]) temp_calibration.low[i] = channel_values[i];
}
};
float PPMReceiver::get_normalized_channel(uint8_t channel){
float low = calibration.low[channel];
float high = calibration.high[channel];
float value = channel_values[channel] ;
float result = 0;
if(high == 0 || low == 0) return value;
if(value < low) value = low;
result = (((value - low) / (high-low)) * 2000) - 1000;
if(result > 1000) result = 1000;
if(result < -1000) result = -1000;
return result;
}
| [
"texton1@msn.com"
] | texton1@msn.com |
b8108b026942c15b63e70a470827801c3570b947 | 9d851f5315bce6e24c8adcf6d2d2b834f288d2b2 | /chipyard/tools/chisel3/test_run_dir/ThingsPassThroughTester/2020030621332910227486413421598995/VThingsPassThroughTester.cpp | 8cb95552d05ed79583ca4f6ad4cf4c2636ca6c6e | [
"BSD-3-Clause"
] | permissive | ajis01/systolicMM | b9830b4b00cb7f68d49fb039a5a53c04dcaf3e60 | d444d0b8cae525501911e8d3c8ad76dac7fb445c | refs/heads/master | 2021-08-17T22:54:34.204694 | 2020-03-18T03:31:59 | 2020-03-18T03:31:59 | 247,648,431 | 0 | 1 | null | 2021-03-29T22:26:24 | 2020-03-16T08:27:34 | C++ | UTF-8 | C++ | false | false | 37,324 | cpp | // Verilated -*- C++ -*-
// DESCRIPTION: Verilator output: Design implementation internals
// See VThingsPassThroughTester.h for the primary calling header
#include "VThingsPassThroughTester.h" // For This
#include "VThingsPassThroughTester__Syms.h"
//--------------------
// STATIC VARIABLES
//--------------------
VL_CTOR_IMP(VThingsPassThroughTester) {
VThingsPassThroughTester__Syms* __restrict vlSymsp = __VlSymsp = new VThingsPassThroughTester__Syms(this, name());
VThingsPassThroughTester* __restrict vlTOPp VL_ATTR_UNUSED = vlSymsp->TOPp;
// Reset internal values
// Reset structure values
_ctor_var_reset();
}
void VThingsPassThroughTester::__Vconfigure(VThingsPassThroughTester__Syms* vlSymsp, bool first) {
if (0 && first) {} // Prevent unused
this->__VlSymsp = vlSymsp;
}
VThingsPassThroughTester::~VThingsPassThroughTester() {
delete __VlSymsp; __VlSymsp=NULL;
}
//--------------------
void VThingsPassThroughTester::eval() {
VL_DEBUG_IF(VL_DBG_MSGF("+++++TOP Evaluate VThingsPassThroughTester::eval\n"); );
VThingsPassThroughTester__Syms* __restrict vlSymsp = this->__VlSymsp; // Setup global symbol table
VThingsPassThroughTester* __restrict vlTOPp VL_ATTR_UNUSED = vlSymsp->TOPp;
#ifdef VL_DEBUG
// Debug assertions
_eval_debug_assertions();
#endif // VL_DEBUG
// Initialize
if (VL_UNLIKELY(!vlSymsp->__Vm_didInit)) _eval_initial_loop(vlSymsp);
// Evaluate till stable
int __VclockLoop = 0;
QData __Vchange = 1;
while (VL_LIKELY(__Vchange)) {
VL_DEBUG_IF(VL_DBG_MSGF("+ Clock loop\n"););
vlSymsp->__Vm_activity = true;
_eval(vlSymsp);
__Vchange = _change_request(vlSymsp);
if (VL_UNLIKELY(++__VclockLoop > 100)) VL_FATAL_MT(__FILE__,__LINE__,__FILE__,"Verilated model didn't converge");
}
}
void VThingsPassThroughTester::_eval_initial_loop(VThingsPassThroughTester__Syms* __restrict vlSymsp) {
vlSymsp->__Vm_didInit = true;
_eval_initial(vlSymsp);
vlSymsp->__Vm_activity = true;
int __VclockLoop = 0;
QData __Vchange = 1;
while (VL_LIKELY(__Vchange)) {
_eval_settle(vlSymsp);
_eval(vlSymsp);
__Vchange = _change_request(vlSymsp);
if (VL_UNLIKELY(++__VclockLoop > 100)) VL_FATAL_MT(__FILE__,__LINE__,__FILE__,"Verilated model didn't DC converge");
}
}
//--------------------
// Internal Methods
VL_INLINE_OPT void VThingsPassThroughTester::_sequent__TOP__1(VThingsPassThroughTester__Syms* __restrict vlSymsp) {
VL_DEBUG_IF(VL_DBG_MSGF("+ VThingsPassThroughTester::_sequent__TOP__1\n"); );
VThingsPassThroughTester* __restrict vlTOPp VL_ATTR_UNUSED = vlSymsp->TOPp;
// Variables
VL_SIG8(__Vdlyvdim0__ThingsPassThroughTester__DOT__q__DOT___T__v0,1,0);
VL_SIG8(__Vdlyvval__ThingsPassThroughTester__DOT__q__DOT___T__v0,3,0);
VL_SIG8(__Vdlyvset__ThingsPassThroughTester__DOT__q__DOT___T__v0,0,0);
VL_SIG8(__Vdly__ThingsPassThroughTester__DOT__MaxPeriodFibonacciLFSR__DOT__state_0,0,0);
// Body
__Vdlyvset__ThingsPassThroughTester__DOT__q__DOT___T__v0 = 0U;
__Vdly__ThingsPassThroughTester__DOT__MaxPeriodFibonacciLFSR__DOT__state_0
= vlTOPp->ThingsPassThroughTester__DOT__MaxPeriodFibonacciLFSR__DOT__state_0;
// ALWAYS at /home/ajis01/scratch/CS252A_Project/chipyard/tools/chisel3/test_run_dir/ThingsPassThroughTester/2020030621332910227486413421598995/ThingsPassThroughTester.v:112
if (vlTOPp->reset) {
vlTOPp->ThingsPassThroughTester__DOT__q__DOT___T_1 = 0U;
} else {
if (((IData)(vlTOPp->ThingsPassThroughTester__DOT__q__DOT___T_6)
!= (IData)(vlTOPp->ThingsPassThroughTester__DOT__q__DOT___T_8))) {
vlTOPp->ThingsPassThroughTester__DOT__q__DOT___T_1
= vlTOPp->ThingsPassThroughTester__DOT__q__DOT___T_6;
}
}
// ALWAYS at /home/ajis01/scratch/CS252A_Project/chipyard/tools/chisel3/test_run_dir/ThingsPassThroughTester/2020030621332910227486413421598995/ThingsPassThroughTester.v:112
if (vlTOPp->reset) {
vlTOPp->ThingsPassThroughTester__DOT__q__DOT__value_1 = 0U;
} else {
if (vlTOPp->ThingsPassThroughTester__DOT__q__DOT___T_8) {
vlTOPp->ThingsPassThroughTester__DOT__q__DOT__value_1
= ((IData)(vlTOPp->ThingsPassThroughTester__DOT__q__DOT__wrap_1)
? 0U : (IData)(vlTOPp->ThingsPassThroughTester__DOT__q__DOT___T_14));
}
}
// ALWAYS at /home/ajis01/scratch/CS252A_Project/chipyard/tools/chisel3/test_run_dir/ThingsPassThroughTester/2020030621332910227486413421598995/ThingsPassThroughTester.v:112
if (((~ (IData)(vlTOPp->ThingsPassThroughTester__DOT__q__DOT___T_5))
& (0x14U > (IData)(vlTOPp->ThingsPassThroughTester__DOT__value)))) {
vlTOPp->ThingsPassThroughTester__DOT__q__DOT____Vlvbound1
= ((0x13U == (IData)(vlTOPp->ThingsPassThroughTester__DOT__value))
? 6U : ((0x12U == (IData)(vlTOPp->ThingsPassThroughTester__DOT__value))
? 0xbU : ((0x11U == (IData)(vlTOPp->ThingsPassThroughTester__DOT__value))
? 0xcU : ((0x10U
== (IData)(vlTOPp->ThingsPassThroughTester__DOT__value))
? 5U
: ((0xfU
== (IData)(vlTOPp->ThingsPassThroughTester__DOT__value))
? 0xeU
:
((0xeU
== (IData)(vlTOPp->ThingsPassThroughTester__DOT__value))
? 0U
:
((0xdU
== (IData)(vlTOPp->ThingsPassThroughTester__DOT__value))
? 0xcU
:
((0xcU
== (IData)(vlTOPp->ThingsPassThroughTester__DOT__value))
? 0xfU
:
((0xbU
== (IData)(vlTOPp->ThingsPassThroughTester__DOT__value))
? 3U
:
((0xaU
== (IData)(vlTOPp->ThingsPassThroughTester__DOT__value))
? 0xcU
:
((9U
== (IData)(vlTOPp->ThingsPassThroughTester__DOT__value))
? 0xeU
:
((8U
== (IData)(vlTOPp->ThingsPassThroughTester__DOT__value))
? 2U
:
((7U
== (IData)(vlTOPp->ThingsPassThroughTester__DOT__value))
? 0xcU
:
((6U
== (IData)(vlTOPp->ThingsPassThroughTester__DOT__value))
? 0xbU
:
((5U
== (IData)(vlTOPp->ThingsPassThroughTester__DOT__value))
? 0xfU
:
((4U
== (IData)(vlTOPp->ThingsPassThroughTester__DOT__value))
? 4U
:
((3U
== (IData)(vlTOPp->ThingsPassThroughTester__DOT__value))
? 0xfU
:
((2U
== (IData)(vlTOPp->ThingsPassThroughTester__DOT__value))
? 1U
:
((1U
== (IData)(vlTOPp->ThingsPassThroughTester__DOT__value))
? 0xfU
: 6U)))))))))))))))))));
if ((2U >= (IData)(vlTOPp->ThingsPassThroughTester__DOT__q__DOT__value))) {
__Vdlyvval__ThingsPassThroughTester__DOT__q__DOT___T__v0
= vlTOPp->ThingsPassThroughTester__DOT__q__DOT____Vlvbound1;
__Vdlyvset__ThingsPassThroughTester__DOT__q__DOT___T__v0 = 1U;
__Vdlyvdim0__ThingsPassThroughTester__DOT__q__DOT___T__v0
= vlTOPp->ThingsPassThroughTester__DOT__q__DOT__value;
}
}
// ALWAYS at /home/ajis01/scratch/CS252A_Project/chipyard/tools/chisel3/test_run_dir/ThingsPassThroughTester/2020030621332910227486413421598995/ThingsPassThroughTester.v:317
__Vdly__ThingsPassThroughTester__DOT__MaxPeriodFibonacciLFSR__DOT__state_0
= ((IData)(vlTOPp->reset) | ((((IData)(vlTOPp->ThingsPassThroughTester__DOT__MaxPeriodFibonacciLFSR__DOT__state_15)
^ (IData)(vlTOPp->ThingsPassThroughTester__DOT__MaxPeriodFibonacciLFSR__DOT__state_13))
^ (IData)(vlTOPp->ThingsPassThroughTester__DOT__MaxPeriodFibonacciLFSR__DOT__state_12))
^ (IData)(vlTOPp->ThingsPassThroughTester__DOT__MaxPeriodFibonacciLFSR__DOT__state_10)));
// ALWAYSPOST at /home/ajis01/scratch/CS252A_Project/chipyard/tools/chisel3/test_run_dir/ThingsPassThroughTester/2020030621332910227486413421598995/ThingsPassThroughTester.v:113
if (__Vdlyvset__ThingsPassThroughTester__DOT__q__DOT___T__v0) {
vlTOPp->ThingsPassThroughTester__DOT__q__DOT___T[__Vdlyvdim0__ThingsPassThroughTester__DOT__q__DOT___T__v0]
= __Vdlyvval__ThingsPassThroughTester__DOT__q__DOT___T__v0;
}
vlTOPp->ThingsPassThroughTester__DOT__q__DOT__wrap_1
= (2U == (IData)(vlTOPp->ThingsPassThroughTester__DOT__q__DOT__value_1));
vlTOPp->ThingsPassThroughTester__DOT__q__DOT___T_14
= (3U & ((IData)(1U) + (IData)(vlTOPp->ThingsPassThroughTester__DOT__q__DOT__value_1)));
// ALWAYS at /home/ajis01/scratch/CS252A_Project/chipyard/tools/chisel3/test_run_dir/ThingsPassThroughTester/2020030621332910227486413421598995/ThingsPassThroughTester.v:604
if (vlTOPp->reset) {
vlTOPp->ThingsPassThroughTester__DOT__value = 0U;
} else {
if (vlTOPp->ThingsPassThroughTester__DOT___T_17) {
vlTOPp->ThingsPassThroughTester__DOT__value
= ((IData)(vlTOPp->ThingsPassThroughTester__DOT___T_18)
? 0U : (IData)(vlTOPp->ThingsPassThroughTester__DOT___T_20));
}
}
if (vlTOPp->reset) {
vlTOPp->ThingsPassThroughTester__DOT__value_1 = 0U;
} else {
if (vlTOPp->ThingsPassThroughTester__DOT___T_21) {
vlTOPp->ThingsPassThroughTester__DOT__value_1
= ((IData)(vlTOPp->ThingsPassThroughTester__DOT___T_26)
? 0U : (IData)(vlTOPp->ThingsPassThroughTester__DOT___T_28));
}
}
if ((1U & (~ (IData)(vlTOPp->reset)))) {
if (VL_UNLIKELY(((IData)(vlTOPp->ThingsPassThroughTester__DOT___T_21)
& (~ (IData)(vlTOPp->ThingsPassThroughTester__DOT___T_24))))) {
VL_FWRITEF(0x80000002U,"Assertion failed\n at QueueSpec.scala:29 assert(elems(outCnt.value) === q.io.deq.bits)\n");
}
}
if ((1U & (~ (IData)(vlTOPp->reset)))) {
if (VL_UNLIKELY(((IData)(vlTOPp->ThingsPassThroughTester__DOT___T_21)
& (~ (IData)(vlTOPp->ThingsPassThroughTester__DOT___T_24))))) {
VL_WRITEF("[%0t] %%Error: ThingsPassThroughTester.v:643: Assertion failed in %NThingsPassThroughTester\n",
64,VL_TIME_Q(),vlSymsp->name());
VL_STOP_MT("/home/ajis01/scratch/CS252A_Project/chipyard/tools/chisel3/test_run_dir/ThingsPassThroughTester/2020030621332910227486413421598995/ThingsPassThroughTester.v",643,"");
}
}
if ((1U & (~ (IData)(vlTOPp->reset)))) {
if (VL_UNLIKELY(((IData)(vlTOPp->ThingsPassThroughTester__DOT___T_26)
& (~ (IData)(vlTOPp->reset))))) {
VL_FINISH_MT("/home/ajis01/scratch/CS252A_Project/chipyard/tools/chisel3/test_run_dir/ThingsPassThroughTester/2020030621332910227486413421598995/ThingsPassThroughTester.v",654,"");
}
}
// ALWAYS at /home/ajis01/scratch/CS252A_Project/chipyard/tools/chisel3/test_run_dir/ThingsPassThroughTester/2020030621332910227486413421598995/ThingsPassThroughTester.v:112
if (vlTOPp->reset) {
vlTOPp->ThingsPassThroughTester__DOT__q__DOT__value = 0U;
} else {
if (vlTOPp->ThingsPassThroughTester__DOT__q__DOT___T_6) {
vlTOPp->ThingsPassThroughTester__DOT__q__DOT__value
= ((IData)(vlTOPp->ThingsPassThroughTester__DOT__q__DOT__wrap)
? 0U : (IData)(vlTOPp->ThingsPassThroughTester__DOT__q__DOT___T_12));
}
}
// ALWAYS at /home/ajis01/scratch/CS252A_Project/chipyard/tools/chisel3/test_run_dir/ThingsPassThroughTester/2020030621332910227486413421598995/ThingsPassThroughTester.v:317
vlTOPp->ThingsPassThroughTester__DOT__MaxPeriodFibonacciLFSR__DOT__state_15
= ((~ (IData)(vlTOPp->reset)) & (IData)(vlTOPp->ThingsPassThroughTester__DOT__MaxPeriodFibonacciLFSR__DOT__state_14));
vlTOPp->ThingsPassThroughTester__DOT___T_26 = (0x14U
== (IData)(vlTOPp->ThingsPassThroughTester__DOT__value_1));
vlTOPp->ThingsPassThroughTester__DOT___T_28 = (0x1fU
& ((IData)(1U)
+ (IData)(vlTOPp->ThingsPassThroughTester__DOT__value_1)));
vlTOPp->ThingsPassThroughTester__DOT___T_18 = (0x14U
== (IData)(vlTOPp->ThingsPassThroughTester__DOT__value));
vlTOPp->ThingsPassThroughTester__DOT___T_20 = (0x1fU
& ((IData)(1U)
+ (IData)(vlTOPp->ThingsPassThroughTester__DOT__value)));
vlTOPp->ThingsPassThroughTester__DOT__q__DOT__wrap
= (2U == (IData)(vlTOPp->ThingsPassThroughTester__DOT__q__DOT__value));
vlTOPp->ThingsPassThroughTester__DOT__q__DOT___T_12
= (3U & ((IData)(1U) + (IData)(vlTOPp->ThingsPassThroughTester__DOT__q__DOT__value)));
vlTOPp->ThingsPassThroughTester__DOT__q__DOT___T_2
= ((IData)(vlTOPp->ThingsPassThroughTester__DOT__q__DOT__value)
== (IData)(vlTOPp->ThingsPassThroughTester__DOT__q__DOT__value_1));
// ALWAYS at /home/ajis01/scratch/CS252A_Project/chipyard/tools/chisel3/test_run_dir/ThingsPassThroughTester/2020030621332910227486413421598995/ThingsPassThroughTester.v:317
vlTOPp->ThingsPassThroughTester__DOT__MaxPeriodFibonacciLFSR__DOT__state_14
= ((~ (IData)(vlTOPp->reset)) & (IData)(vlTOPp->ThingsPassThroughTester__DOT__MaxPeriodFibonacciLFSR__DOT__state_13));
vlTOPp->ThingsPassThroughTester__DOT__q__DOT___T_4
= ((IData)(vlTOPp->ThingsPassThroughTester__DOT__q__DOT___T_2)
& (~ (IData)(vlTOPp->ThingsPassThroughTester__DOT__q__DOT___T_1)));
vlTOPp->ThingsPassThroughTester__DOT__q__DOT___T_5
= ((IData)(vlTOPp->ThingsPassThroughTester__DOT__q__DOT___T_2)
& (IData)(vlTOPp->ThingsPassThroughTester__DOT__q__DOT___T_1));
vlTOPp->ThingsPassThroughTester__DOT___T_17 = (
(~ (IData)(vlTOPp->ThingsPassThroughTester__DOT__q__DOT___T_5))
& (0x14U
> (IData)(vlTOPp->ThingsPassThroughTester__DOT__value)));
vlTOPp->ThingsPassThroughTester__DOT__q__DOT___T_6
= ((~ (IData)(vlTOPp->ThingsPassThroughTester__DOT__q__DOT___T_5))
& (0x14U > (IData)(vlTOPp->ThingsPassThroughTester__DOT__value)));
// ALWAYS at /home/ajis01/scratch/CS252A_Project/chipyard/tools/chisel3/test_run_dir/ThingsPassThroughTester/2020030621332910227486413421598995/ThingsPassThroughTester.v:317
vlTOPp->ThingsPassThroughTester__DOT__MaxPeriodFibonacciLFSR__DOT__state_13
= ((~ (IData)(vlTOPp->reset)) & (IData)(vlTOPp->ThingsPassThroughTester__DOT__MaxPeriodFibonacciLFSR__DOT__state_12));
// ALWAYS at /home/ajis01/scratch/CS252A_Project/chipyard/tools/chisel3/test_run_dir/ThingsPassThroughTester/2020030621332910227486413421598995/ThingsPassThroughTester.v:317
vlTOPp->ThingsPassThroughTester__DOT__MaxPeriodFibonacciLFSR__DOT__state_12
= ((~ (IData)(vlTOPp->reset)) & (IData)(vlTOPp->ThingsPassThroughTester__DOT__MaxPeriodFibonacciLFSR__DOT__state_11));
// ALWAYS at /home/ajis01/scratch/CS252A_Project/chipyard/tools/chisel3/test_run_dir/ThingsPassThroughTester/2020030621332910227486413421598995/ThingsPassThroughTester.v:317
vlTOPp->ThingsPassThroughTester__DOT__MaxPeriodFibonacciLFSR__DOT__state_11
= ((~ (IData)(vlTOPp->reset)) & (IData)(vlTOPp->ThingsPassThroughTester__DOT__MaxPeriodFibonacciLFSR__DOT__state_10));
// ALWAYS at /home/ajis01/scratch/CS252A_Project/chipyard/tools/chisel3/test_run_dir/ThingsPassThroughTester/2020030621332910227486413421598995/ThingsPassThroughTester.v:317
vlTOPp->ThingsPassThroughTester__DOT__MaxPeriodFibonacciLFSR__DOT__state_10
= ((~ (IData)(vlTOPp->reset)) & (IData)(vlTOPp->ThingsPassThroughTester__DOT__MaxPeriodFibonacciLFSR__DOT__state_9));
// ALWAYS at /home/ajis01/scratch/CS252A_Project/chipyard/tools/chisel3/test_run_dir/ThingsPassThroughTester/2020030621332910227486413421598995/ThingsPassThroughTester.v:317
vlTOPp->ThingsPassThroughTester__DOT__MaxPeriodFibonacciLFSR__DOT__state_9
= ((~ (IData)(vlTOPp->reset)) & (IData)(vlTOPp->ThingsPassThroughTester__DOT__MaxPeriodFibonacciLFSR__DOT__state_8));
// ALWAYS at /home/ajis01/scratch/CS252A_Project/chipyard/tools/chisel3/test_run_dir/ThingsPassThroughTester/2020030621332910227486413421598995/ThingsPassThroughTester.v:317
vlTOPp->ThingsPassThroughTester__DOT__MaxPeriodFibonacciLFSR__DOT__state_8
= ((~ (IData)(vlTOPp->reset)) & (IData)(vlTOPp->ThingsPassThroughTester__DOT__MaxPeriodFibonacciLFSR__DOT__state_7));
// ALWAYS at /home/ajis01/scratch/CS252A_Project/chipyard/tools/chisel3/test_run_dir/ThingsPassThroughTester/2020030621332910227486413421598995/ThingsPassThroughTester.v:317
vlTOPp->ThingsPassThroughTester__DOT__MaxPeriodFibonacciLFSR__DOT__state_7
= ((~ (IData)(vlTOPp->reset)) & (IData)(vlTOPp->ThingsPassThroughTester__DOT__MaxPeriodFibonacciLFSR__DOT__state_6));
// ALWAYS at /home/ajis01/scratch/CS252A_Project/chipyard/tools/chisel3/test_run_dir/ThingsPassThroughTester/2020030621332910227486413421598995/ThingsPassThroughTester.v:317
vlTOPp->ThingsPassThroughTester__DOT__MaxPeriodFibonacciLFSR__DOT__state_6
= ((~ (IData)(vlTOPp->reset)) & (IData)(vlTOPp->ThingsPassThroughTester__DOT__MaxPeriodFibonacciLFSR__DOT__state_5));
// ALWAYS at /home/ajis01/scratch/CS252A_Project/chipyard/tools/chisel3/test_run_dir/ThingsPassThroughTester/2020030621332910227486413421598995/ThingsPassThroughTester.v:317
vlTOPp->ThingsPassThroughTester__DOT__MaxPeriodFibonacciLFSR__DOT__state_5
= ((~ (IData)(vlTOPp->reset)) & (IData)(vlTOPp->ThingsPassThroughTester__DOT__MaxPeriodFibonacciLFSR__DOT__state_4));
// ALWAYS at /home/ajis01/scratch/CS252A_Project/chipyard/tools/chisel3/test_run_dir/ThingsPassThroughTester/2020030621332910227486413421598995/ThingsPassThroughTester.v:317
vlTOPp->ThingsPassThroughTester__DOT__MaxPeriodFibonacciLFSR__DOT__state_4
= ((~ (IData)(vlTOPp->reset)) & (IData)(vlTOPp->ThingsPassThroughTester__DOT__MaxPeriodFibonacciLFSR__DOT__state_3));
// ALWAYS at /home/ajis01/scratch/CS252A_Project/chipyard/tools/chisel3/test_run_dir/ThingsPassThroughTester/2020030621332910227486413421598995/ThingsPassThroughTester.v:317
vlTOPp->ThingsPassThroughTester__DOT__MaxPeriodFibonacciLFSR__DOT__state_3
= ((~ (IData)(vlTOPp->reset)) & (IData)(vlTOPp->ThingsPassThroughTester__DOT__MaxPeriodFibonacciLFSR__DOT__state_2));
// ALWAYS at /home/ajis01/scratch/CS252A_Project/chipyard/tools/chisel3/test_run_dir/ThingsPassThroughTester/2020030621332910227486413421598995/ThingsPassThroughTester.v:317
vlTOPp->ThingsPassThroughTester__DOT__MaxPeriodFibonacciLFSR__DOT__state_2
= ((~ (IData)(vlTOPp->reset)) & (IData)(vlTOPp->ThingsPassThroughTester__DOT__MaxPeriodFibonacciLFSR__DOT__state_1));
// ALWAYS at /home/ajis01/scratch/CS252A_Project/chipyard/tools/chisel3/test_run_dir/ThingsPassThroughTester/2020030621332910227486413421598995/ThingsPassThroughTester.v:317
vlTOPp->ThingsPassThroughTester__DOT__MaxPeriodFibonacciLFSR__DOT__state_1
= ((~ (IData)(vlTOPp->reset)) & (IData)(vlTOPp->ThingsPassThroughTester__DOT__MaxPeriodFibonacciLFSR__DOT__state_0));
vlTOPp->ThingsPassThroughTester__DOT__MaxPeriodFibonacciLFSR__DOT__state_0
= __Vdly__ThingsPassThroughTester__DOT__MaxPeriodFibonacciLFSR__DOT__state_0;
vlTOPp->ThingsPassThroughTester__DOT___T_15 = (
((IData)(vlTOPp->ThingsPassThroughTester__DOT__MaxPeriodFibonacciLFSR__DOT__state_15)
<< 0xfU)
| (((IData)(vlTOPp->ThingsPassThroughTester__DOT__MaxPeriodFibonacciLFSR__DOT__state_14)
<< 0xeU)
| (((IData)(vlTOPp->ThingsPassThroughTester__DOT__MaxPeriodFibonacciLFSR__DOT__state_13)
<< 0xdU)
| (((IData)(vlTOPp->ThingsPassThroughTester__DOT__MaxPeriodFibonacciLFSR__DOT__state_12)
<< 0xcU)
| (((IData)(vlTOPp->ThingsPassThroughTester__DOT__MaxPeriodFibonacciLFSR__DOT__state_11)
<< 0xbU)
| (((IData)(vlTOPp->ThingsPassThroughTester__DOT__MaxPeriodFibonacciLFSR__DOT__state_10)
<< 0xaU)
| (((IData)(vlTOPp->ThingsPassThroughTester__DOT__MaxPeriodFibonacciLFSR__DOT__state_9)
<< 9U)
| (((IData)(vlTOPp->ThingsPassThroughTester__DOT__MaxPeriodFibonacciLFSR__DOT__state_8)
<< 8U)
| (((IData)(vlTOPp->ThingsPassThroughTester__DOT__MaxPeriodFibonacciLFSR__DOT__state_7)
<< 7U)
| (((IData)(vlTOPp->ThingsPassThroughTester__DOT__MaxPeriodFibonacciLFSR__DOT__state_6)
<< 6U)
| (((IData)(vlTOPp->ThingsPassThroughTester__DOT__MaxPeriodFibonacciLFSR__DOT__state_5)
<< 5U)
| (((IData)(vlTOPp->ThingsPassThroughTester__DOT__MaxPeriodFibonacciLFSR__DOT__state_4)
<< 4U)
| (((IData)(vlTOPp->ThingsPassThroughTester__DOT__MaxPeriodFibonacciLFSR__DOT__state_3)
<< 3U)
| (((IData)(vlTOPp->ThingsPassThroughTester__DOT__MaxPeriodFibonacciLFSR__DOT__state_2)
<< 2U)
| (((IData)(vlTOPp->ThingsPassThroughTester__DOT__MaxPeriodFibonacciLFSR__DOT__state_1)
<< 1U)
| (IData)(vlTOPp->ThingsPassThroughTester__DOT__MaxPeriodFibonacciLFSR__DOT__state_0))))))))))))))));
vlTOPp->ThingsPassThroughTester__DOT___T_21 = (1U
& (((IData)(vlTOPp->ThingsPassThroughTester__DOT___T_15)
>> 6U)
& (~ (IData)(vlTOPp->ThingsPassThroughTester__DOT__q__DOT___T_4))));
vlTOPp->ThingsPassThroughTester__DOT__q__DOT___T_8
= (1U & (((IData)(vlTOPp->ThingsPassThroughTester__DOT___T_15)
>> 6U) & (~ (IData)(vlTOPp->ThingsPassThroughTester__DOT__q__DOT___T_4))));
}
void VThingsPassThroughTester::_settle__TOP__2(VThingsPassThroughTester__Syms* __restrict vlSymsp) {
VL_DEBUG_IF(VL_DBG_MSGF("+ VThingsPassThroughTester::_settle__TOP__2\n"); );
VThingsPassThroughTester* __restrict vlTOPp VL_ATTR_UNUSED = vlSymsp->TOPp;
// Body
vlTOPp->ThingsPassThroughTester__DOT__q__DOT__wrap_1
= (2U == (IData)(vlTOPp->ThingsPassThroughTester__DOT__q__DOT__value_1));
vlTOPp->ThingsPassThroughTester__DOT__q__DOT___T_14
= (3U & ((IData)(1U) + (IData)(vlTOPp->ThingsPassThroughTester__DOT__q__DOT__value_1)));
vlTOPp->ThingsPassThroughTester__DOT___T_18 = (0x14U
== (IData)(vlTOPp->ThingsPassThroughTester__DOT__value));
vlTOPp->ThingsPassThroughTester__DOT___T_20 = (0x1fU
& ((IData)(1U)
+ (IData)(vlTOPp->ThingsPassThroughTester__DOT__value)));
vlTOPp->ThingsPassThroughTester__DOT___T_26 = (0x14U
== (IData)(vlTOPp->ThingsPassThroughTester__DOT__value_1));
vlTOPp->ThingsPassThroughTester__DOT___T_28 = (0x1fU
& ((IData)(1U)
+ (IData)(vlTOPp->ThingsPassThroughTester__DOT__value_1)));
vlTOPp->ThingsPassThroughTester__DOT__q__DOT__wrap
= (2U == (IData)(vlTOPp->ThingsPassThroughTester__DOT__q__DOT__value));
vlTOPp->ThingsPassThroughTester__DOT__q__DOT___T_12
= (3U & ((IData)(1U) + (IData)(vlTOPp->ThingsPassThroughTester__DOT__q__DOT__value)));
vlTOPp->ThingsPassThroughTester__DOT___T_24 = (
(((0x13U
== (IData)(vlTOPp->ThingsPassThroughTester__DOT__value_1))
? 6U
:
((0x12U
== (IData)(vlTOPp->ThingsPassThroughTester__DOT__value_1))
? 0xbU
:
((0x11U
== (IData)(vlTOPp->ThingsPassThroughTester__DOT__value_1))
? 0xcU
:
((0x10U
== (IData)(vlTOPp->ThingsPassThroughTester__DOT__value_1))
? 5U
:
((0xfU
== (IData)(vlTOPp->ThingsPassThroughTester__DOT__value_1))
? 0xeU
:
((0xeU
== (IData)(vlTOPp->ThingsPassThroughTester__DOT__value_1))
? 0U
:
((0xdU
== (IData)(vlTOPp->ThingsPassThroughTester__DOT__value_1))
? 0xcU
:
((0xcU
== (IData)(vlTOPp->ThingsPassThroughTester__DOT__value_1))
? 0xfU
:
((0xbU
== (IData)(vlTOPp->ThingsPassThroughTester__DOT__value_1))
? 3U
:
((0xaU
== (IData)(vlTOPp->ThingsPassThroughTester__DOT__value_1))
? 0xcU
:
((9U
== (IData)(vlTOPp->ThingsPassThroughTester__DOT__value_1))
? 0xeU
:
((8U
== (IData)(vlTOPp->ThingsPassThroughTester__DOT__value_1))
? 2U
:
((7U
== (IData)(vlTOPp->ThingsPassThroughTester__DOT__value_1))
? 0xcU
:
((6U
== (IData)(vlTOPp->ThingsPassThroughTester__DOT__value_1))
? 0xbU
:
((5U
== (IData)(vlTOPp->ThingsPassThroughTester__DOT__value_1))
? 0xfU
:
((4U
== (IData)(vlTOPp->ThingsPassThroughTester__DOT__value_1))
? 4U
:
((3U
== (IData)(vlTOPp->ThingsPassThroughTester__DOT__value_1))
? 0xfU
:
((2U
== (IData)(vlTOPp->ThingsPassThroughTester__DOT__value_1))
? 1U
:
((1U
== (IData)(vlTOPp->ThingsPassThroughTester__DOT__value_1))
? 0xfU
: 6U)))))))))))))))))))
==
((2U
>= (IData)(vlTOPp->ThingsPassThroughTester__DOT__q__DOT__value_1))
?
vlTOPp->ThingsPassThroughTester__DOT__q__DOT___T
[vlTOPp->ThingsPassThroughTester__DOT__q__DOT__value_1]
: 0U))
| (IData)(vlTOPp->reset));
vlTOPp->ThingsPassThroughTester__DOT__q__DOT___T_2
= ((IData)(vlTOPp->ThingsPassThroughTester__DOT__q__DOT__value)
== (IData)(vlTOPp->ThingsPassThroughTester__DOT__q__DOT__value_1));
vlTOPp->ThingsPassThroughTester__DOT___T_15 = (
((IData)(vlTOPp->ThingsPassThroughTester__DOT__MaxPeriodFibonacciLFSR__DOT__state_15)
<< 0xfU)
| (((IData)(vlTOPp->ThingsPassThroughTester__DOT__MaxPeriodFibonacciLFSR__DOT__state_14)
<< 0xeU)
| (((IData)(vlTOPp->ThingsPassThroughTester__DOT__MaxPeriodFibonacciLFSR__DOT__state_13)
<< 0xdU)
| (((IData)(vlTOPp->ThingsPassThroughTester__DOT__MaxPeriodFibonacciLFSR__DOT__state_12)
<< 0xcU)
| (((IData)(vlTOPp->ThingsPassThroughTester__DOT__MaxPeriodFibonacciLFSR__DOT__state_11)
<< 0xbU)
| (((IData)(vlTOPp->ThingsPassThroughTester__DOT__MaxPeriodFibonacciLFSR__DOT__state_10)
<< 0xaU)
| (((IData)(vlTOPp->ThingsPassThroughTester__DOT__MaxPeriodFibonacciLFSR__DOT__state_9)
<< 9U)
| (((IData)(vlTOPp->ThingsPassThroughTester__DOT__MaxPeriodFibonacciLFSR__DOT__state_8)
<< 8U)
| (((IData)(vlTOPp->ThingsPassThroughTester__DOT__MaxPeriodFibonacciLFSR__DOT__state_7)
<< 7U)
| (((IData)(vlTOPp->ThingsPassThroughTester__DOT__MaxPeriodFibonacciLFSR__DOT__state_6)
<< 6U)
| (((IData)(vlTOPp->ThingsPassThroughTester__DOT__MaxPeriodFibonacciLFSR__DOT__state_5)
<< 5U)
| (((IData)(vlTOPp->ThingsPassThroughTester__DOT__MaxPeriodFibonacciLFSR__DOT__state_4)
<< 4U)
| (((IData)(vlTOPp->ThingsPassThroughTester__DOT__MaxPeriodFibonacciLFSR__DOT__state_3)
<< 3U)
| (((IData)(vlTOPp->ThingsPassThroughTester__DOT__MaxPeriodFibonacciLFSR__DOT__state_2)
<< 2U)
| (((IData)(vlTOPp->ThingsPassThroughTester__DOT__MaxPeriodFibonacciLFSR__DOT__state_1)
<< 1U)
| (IData)(vlTOPp->ThingsPassThroughTester__DOT__MaxPeriodFibonacciLFSR__DOT__state_0))))))))))))))));
vlTOPp->ThingsPassThroughTester__DOT__q__DOT___T_4
= ((IData)(vlTOPp->ThingsPassThroughTester__DOT__q__DOT___T_2)
& (~ (IData)(vlTOPp->ThingsPassThroughTester__DOT__q__DOT___T_1)));
vlTOPp->ThingsPassThroughTester__DOT__q__DOT___T_5
= ((IData)(vlTOPp->ThingsPassThroughTester__DOT__q__DOT___T_2)
& (IData)(vlTOPp->ThingsPassThroughTester__DOT__q__DOT___T_1));
vlTOPp->ThingsPassThroughTester__DOT___T_21 = (1U
& (((IData)(vlTOPp->ThingsPassThroughTester__DOT___T_15)
>> 6U)
& (~ (IData)(vlTOPp->ThingsPassThroughTester__DOT__q__DOT___T_4))));
vlTOPp->ThingsPassThroughTester__DOT__q__DOT___T_8
= (1U & (((IData)(vlTOPp->ThingsPassThroughTester__DOT___T_15)
>> 6U) & (~ (IData)(vlTOPp->ThingsPassThroughTester__DOT__q__DOT___T_4))));
vlTOPp->ThingsPassThroughTester__DOT___T_17 = (
(~ (IData)(vlTOPp->ThingsPassThroughTester__DOT__q__DOT___T_5))
& (0x14U
> (IData)(vlTOPp->ThingsPassThroughTester__DOT__value)));
vlTOPp->ThingsPassThroughTester__DOT__q__DOT___T_6
= ((~ (IData)(vlTOPp->ThingsPassThroughTester__DOT__q__DOT___T_5))
& (0x14U > (IData)(vlTOPp->ThingsPassThroughTester__DOT__value)));
}
VL_INLINE_OPT void VThingsPassThroughTester::_combo__TOP__3(VThingsPassThroughTester__Syms* __restrict vlSymsp) {
VL_DEBUG_IF(VL_DBG_MSGF("+ VThingsPassThroughTester::_combo__TOP__3\n"); );
VThingsPassThroughTester* __restrict vlTOPp VL_ATTR_UNUSED = vlSymsp->TOPp;
// Body
vlTOPp->ThingsPassThroughTester__DOT___T_24 = (
(((0x13U
== (IData)(vlTOPp->ThingsPassThroughTester__DOT__value_1))
? 6U
:
((0x12U
== (IData)(vlTOPp->ThingsPassThroughTester__DOT__value_1))
? 0xbU
:
((0x11U
== (IData)(vlTOPp->ThingsPassThroughTester__DOT__value_1))
? 0xcU
:
((0x10U
== (IData)(vlTOPp->ThingsPassThroughTester__DOT__value_1))
? 5U
:
((0xfU
== (IData)(vlTOPp->ThingsPassThroughTester__DOT__value_1))
? 0xeU
:
((0xeU
== (IData)(vlTOPp->ThingsPassThroughTester__DOT__value_1))
? 0U
:
((0xdU
== (IData)(vlTOPp->ThingsPassThroughTester__DOT__value_1))
? 0xcU
:
((0xcU
== (IData)(vlTOPp->ThingsPassThroughTester__DOT__value_1))
? 0xfU
:
((0xbU
== (IData)(vlTOPp->ThingsPassThroughTester__DOT__value_1))
? 3U
:
((0xaU
== (IData)(vlTOPp->ThingsPassThroughTester__DOT__value_1))
? 0xcU
:
((9U
== (IData)(vlTOPp->ThingsPassThroughTester__DOT__value_1))
? 0xeU
:
((8U
== (IData)(vlTOPp->ThingsPassThroughTester__DOT__value_1))
? 2U
:
((7U
== (IData)(vlTOPp->ThingsPassThroughTester__DOT__value_1))
? 0xcU
:
((6U
== (IData)(vlTOPp->ThingsPassThroughTester__DOT__value_1))
? 0xbU
:
((5U
== (IData)(vlTOPp->ThingsPassThroughTester__DOT__value_1))
? 0xfU
:
((4U
== (IData)(vlTOPp->ThingsPassThroughTester__DOT__value_1))
? 4U
:
((3U
== (IData)(vlTOPp->ThingsPassThroughTester__DOT__value_1))
? 0xfU
:
((2U
== (IData)(vlTOPp->ThingsPassThroughTester__DOT__value_1))
? 1U
:
((1U
== (IData)(vlTOPp->ThingsPassThroughTester__DOT__value_1))
? 0xfU
: 6U)))))))))))))))))))
==
((2U
>= (IData)(vlTOPp->ThingsPassThroughTester__DOT__q__DOT__value_1))
?
vlTOPp->ThingsPassThroughTester__DOT__q__DOT___T
[vlTOPp->ThingsPassThroughTester__DOT__q__DOT__value_1]
: 0U))
| (IData)(vlTOPp->reset));
}
void VThingsPassThroughTester::_eval(VThingsPassThroughTester__Syms* __restrict vlSymsp) {
VL_DEBUG_IF(VL_DBG_MSGF("+ VThingsPassThroughTester::_eval\n"); );
VThingsPassThroughTester* __restrict vlTOPp VL_ATTR_UNUSED = vlSymsp->TOPp;
// Body
if (((IData)(vlTOPp->clock) & (~ (IData)(vlTOPp->__Vclklast__TOP__clock)))) {
vlTOPp->_sequent__TOP__1(vlSymsp);
vlTOPp->__Vm_traceActivity = (2U | vlTOPp->__Vm_traceActivity);
}
vlTOPp->_combo__TOP__3(vlSymsp);
// Final
vlTOPp->__Vclklast__TOP__clock = vlTOPp->clock;
}
void VThingsPassThroughTester::_eval_initial(VThingsPassThroughTester__Syms* __restrict vlSymsp) {
VL_DEBUG_IF(VL_DBG_MSGF("+ VThingsPassThroughTester::_eval_initial\n"); );
VThingsPassThroughTester* __restrict vlTOPp VL_ATTR_UNUSED = vlSymsp->TOPp;
}
void VThingsPassThroughTester::final() {
VL_DEBUG_IF(VL_DBG_MSGF("+ VThingsPassThroughTester::final\n"); );
// Variables
VThingsPassThroughTester__Syms* __restrict vlSymsp = this->__VlSymsp;
VThingsPassThroughTester* __restrict vlTOPp VL_ATTR_UNUSED = vlSymsp->TOPp;
}
void VThingsPassThroughTester::_eval_settle(VThingsPassThroughTester__Syms* __restrict vlSymsp) {
VL_DEBUG_IF(VL_DBG_MSGF("+ VThingsPassThroughTester::_eval_settle\n"); );
VThingsPassThroughTester* __restrict vlTOPp VL_ATTR_UNUSED = vlSymsp->TOPp;
// Body
vlTOPp->_settle__TOP__2(vlSymsp);
vlTOPp->__Vm_traceActivity = (1U | vlTOPp->__Vm_traceActivity);
}
VL_INLINE_OPT QData VThingsPassThroughTester::_change_request(VThingsPassThroughTester__Syms* __restrict vlSymsp) {
VL_DEBUG_IF(VL_DBG_MSGF("+ VThingsPassThroughTester::_change_request\n"); );
VThingsPassThroughTester* __restrict vlTOPp VL_ATTR_UNUSED = vlSymsp->TOPp;
// Body
// Change detection
QData __req = false; // Logically a bool
return __req;
}
#ifdef VL_DEBUG
void VThingsPassThroughTester::_eval_debug_assertions() {
VL_DEBUG_IF(VL_DBG_MSGF("+ VThingsPassThroughTester::_eval_debug_assertions\n"); );
// Body
if (VL_UNLIKELY((clock & 0xfeU))) {
Verilated::overWidthError("clock");}
if (VL_UNLIKELY((reset & 0xfeU))) {
Verilated::overWidthError("reset");}
}
#endif // VL_DEBUG
void VThingsPassThroughTester::_ctor_var_reset() {
VL_DEBUG_IF(VL_DBG_MSGF("+ VThingsPassThroughTester::_ctor_var_reset\n"); );
// Body
clock = VL_RAND_RESET_I(1);
reset = VL_RAND_RESET_I(1);
ThingsPassThroughTester__DOT__value = VL_RAND_RESET_I(5);
ThingsPassThroughTester__DOT__value_1 = VL_RAND_RESET_I(5);
ThingsPassThroughTester__DOT___T_15 = VL_RAND_RESET_I(16);
ThingsPassThroughTester__DOT___T_17 = VL_RAND_RESET_I(1);
ThingsPassThroughTester__DOT___T_18 = VL_RAND_RESET_I(1);
ThingsPassThroughTester__DOT___T_20 = VL_RAND_RESET_I(5);
ThingsPassThroughTester__DOT___T_21 = VL_RAND_RESET_I(1);
ThingsPassThroughTester__DOT___T_24 = VL_RAND_RESET_I(1);
ThingsPassThroughTester__DOT___T_26 = VL_RAND_RESET_I(1);
ThingsPassThroughTester__DOT___T_28 = VL_RAND_RESET_I(5);
{ int __Vi0=0; for (; __Vi0<3; ++__Vi0) {
ThingsPassThroughTester__DOT__q__DOT___T[__Vi0] = VL_RAND_RESET_I(4);
}}
ThingsPassThroughTester__DOT__q__DOT__value = VL_RAND_RESET_I(2);
ThingsPassThroughTester__DOT__q__DOT__value_1 = VL_RAND_RESET_I(2);
ThingsPassThroughTester__DOT__q__DOT___T_1 = VL_RAND_RESET_I(1);
ThingsPassThroughTester__DOT__q__DOT___T_2 = VL_RAND_RESET_I(1);
ThingsPassThroughTester__DOT__q__DOT___T_4 = VL_RAND_RESET_I(1);
ThingsPassThroughTester__DOT__q__DOT___T_5 = VL_RAND_RESET_I(1);
ThingsPassThroughTester__DOT__q__DOT___T_6 = VL_RAND_RESET_I(1);
ThingsPassThroughTester__DOT__q__DOT___T_8 = VL_RAND_RESET_I(1);
ThingsPassThroughTester__DOT__q__DOT__wrap = VL_RAND_RESET_I(1);
ThingsPassThroughTester__DOT__q__DOT___T_12 = VL_RAND_RESET_I(2);
ThingsPassThroughTester__DOT__q__DOT__wrap_1 = VL_RAND_RESET_I(1);
ThingsPassThroughTester__DOT__q__DOT___T_14 = VL_RAND_RESET_I(2);
ThingsPassThroughTester__DOT__q__DOT____Vlvbound1 = VL_RAND_RESET_I(4);
ThingsPassThroughTester__DOT__MaxPeriodFibonacciLFSR__DOT__state_0 = VL_RAND_RESET_I(1);
ThingsPassThroughTester__DOT__MaxPeriodFibonacciLFSR__DOT__state_1 = VL_RAND_RESET_I(1);
ThingsPassThroughTester__DOT__MaxPeriodFibonacciLFSR__DOT__state_2 = VL_RAND_RESET_I(1);
ThingsPassThroughTester__DOT__MaxPeriodFibonacciLFSR__DOT__state_3 = VL_RAND_RESET_I(1);
ThingsPassThroughTester__DOT__MaxPeriodFibonacciLFSR__DOT__state_4 = VL_RAND_RESET_I(1);
ThingsPassThroughTester__DOT__MaxPeriodFibonacciLFSR__DOT__state_5 = VL_RAND_RESET_I(1);
ThingsPassThroughTester__DOT__MaxPeriodFibonacciLFSR__DOT__state_6 = VL_RAND_RESET_I(1);
ThingsPassThroughTester__DOT__MaxPeriodFibonacciLFSR__DOT__state_7 = VL_RAND_RESET_I(1);
ThingsPassThroughTester__DOT__MaxPeriodFibonacciLFSR__DOT__state_8 = VL_RAND_RESET_I(1);
ThingsPassThroughTester__DOT__MaxPeriodFibonacciLFSR__DOT__state_9 = VL_RAND_RESET_I(1);
ThingsPassThroughTester__DOT__MaxPeriodFibonacciLFSR__DOT__state_10 = VL_RAND_RESET_I(1);
ThingsPassThroughTester__DOT__MaxPeriodFibonacciLFSR__DOT__state_11 = VL_RAND_RESET_I(1);
ThingsPassThroughTester__DOT__MaxPeriodFibonacciLFSR__DOT__state_12 = VL_RAND_RESET_I(1);
ThingsPassThroughTester__DOT__MaxPeriodFibonacciLFSR__DOT__state_13 = VL_RAND_RESET_I(1);
ThingsPassThroughTester__DOT__MaxPeriodFibonacciLFSR__DOT__state_14 = VL_RAND_RESET_I(1);
ThingsPassThroughTester__DOT__MaxPeriodFibonacciLFSR__DOT__state_15 = VL_RAND_RESET_I(1);
__Vclklast__TOP__clock = VL_RAND_RESET_I(1);
__Vm_traceActivity = VL_RAND_RESET_I(32);
}
| [
"ajithkumar.sreekumar94@gmail.com"
] | ajithkumar.sreekumar94@gmail.com |
525a4c5229132a28fb7414adf586745896099e74 | 45c2892871f179902272150f42d780a1a4beb8ee | /interface_opencl/zpermute.cpp | 2765497d8c1cc306a9f70531fd3530e36e5427f4 | [] | no_license | alcubierre-drive/clmagma | 35b88162b057ee3cb8265c082e3679dcba1b158d | e6c2655d3ecd77972bec28bd15ed84bcbb7a1afa | refs/heads/master | 2021-02-27T15:40:02.552547 | 2020-03-07T11:05:21 | 2020-03-07T11:05:21 | 245,616,458 | 0 | 0 | null | 2020-03-07T10:59:33 | 2020-03-07T10:59:33 | null | UTF-8 | C++ | false | false | 3,465 | cpp | /*
* -- clMAGMA (version 1.1.0) --
* Univ. of Tennessee, Knoxville
* Univ. of California, Berkeley
* Univ. of Colorado, Denver
* @date January 2014
*
* @precisions normal z -> s d c
*/
#include <cstdio>
#include "magmablas.h"
#include "CL_MAGMA_RT.h"
#define BLOCK_SIZE 32
typedef struct {
int n;
int lda;
int j0;
int npivots;
short ipiv[BLOCK_SIZE];
} zlaswp_params_t2;
// ----------------------------------------
void zlaswp3(
cl_mem dA, size_t offset, zlaswp_params_t2 params, magma_queue_t queue )
{
cl_int ciErrNum; // Error code var
cl_kernel ckKernel=NULL;
ckKernel = rt->KernelPool["myzlaswp2"];
if (!ckKernel)
{
printf ("Error: cannot locate kernel in line %d, file %s\n", __LINE__, __FILE__);
return;
}
int nn = 0;
ciErrNum = clSetKernelArg( ckKernel, nn++, sizeof(cl_mem), (void*)&dA );
ciErrNum |= clSetKernelArg( ckKernel, nn++, sizeof(cl_int), (void*)&offset );
ciErrNum |= clSetKernelArg( ckKernel, nn++, sizeof(zlaswp_params_t2), (void*)¶ms );
if (ciErrNum != CL_SUCCESS)
{
printf("Error: clSetKernelArg at %d in file %s, %s\n", __LINE__, __FILE__, rt->GetErrorCode(ciErrNum));
return;
}
size_t GlobalWorkSize[2]={0,0}, LocalWorkSize[2]={0,0};
LocalWorkSize[0] = BLOCK_SIZE;
LocalWorkSize[1] = 1;
GlobalWorkSize[0] = ((params.n+BLOCK_SIZE-1) / BLOCK_SIZE)*LocalWorkSize[0];
GlobalWorkSize[1] = 1;
// launch kernel
ciErrNum = clEnqueueNDRangeKernel(
queue, ckKernel, 2, NULL, GlobalWorkSize, LocalWorkSize, 0, NULL, NULL);
if (ciErrNum != CL_SUCCESS)
{
printf("Error: clEnqueueNDRangeKernel at %d in file %s \"%s\"\n",
__LINE__, __FILE__, rt->GetErrorCode(ciErrNum));
return;
}
}
// ----------------------------------------
// offset is not added to ipiv
magma_err_t
magma_zpermute_long2(int n,
cl_mem dAT, size_t dAT_offset, int lda,
int *ipiv, int nb, int ind,
magma_queue_t queue )
{
int k;
for( k = 0; k < nb-BLOCK_SIZE; k += BLOCK_SIZE )
{
zlaswp_params_t2 params = { n, lda, ind + k, BLOCK_SIZE };
for( int j = 0; j < BLOCK_SIZE; j++ )
{
params.ipiv[j] = ipiv[ind + k + j] - k - 1;
ipiv[ind + k + j] += ind;
}
zlaswp3( dAT, dAT_offset, params, queue );
}
int num_pivots = nb - k;
zlaswp_params_t2 params = { n, lda, ind + k, num_pivots };
for( int j = 0; j < num_pivots; j++ )
{
params.ipiv[j] = ipiv[ind + k + j] - k - 1;
ipiv[ind + k + j] += ind;
}
zlaswp3( dAT, dAT_offset, params, queue );
return MAGMA_SUCCESS;
}
// ----------------------------------------
// offset is already added to ipiv, used in zgetrf2_mgpu
magma_err_t
magma_zpermute_long3(int n,
cl_mem dAT, size_t dAT_offset, int lda,
int *ipiv, int nb, int ind,
magma_queue_t queue )
{
for( int k = 0; k < nb; k += BLOCK_SIZE ) {
int npivots = std::min( BLOCK_SIZE, nb-k );
// fields are: n lda j0 npivots
zlaswp_params_t2 params = { n, lda, ind + k, npivots };
for( int j = 0; j < BLOCK_SIZE; ++j ) {
params.ipiv[j] = ipiv[ind + k + j] - k - 1 - ind;
}
zlaswp3(dAT, dAT_offset, params, queue );
}
return MAGMA_SUCCESS;
}
| [
"github::alcubierre-drive"
] | github::alcubierre-drive |
72333248a1b8904d36889c76cf80fa453e54d5ba | 8fbc0a30921bee6ec0161b9e263fb3cef2a3c0a4 | /bzoj/1015.cpp | 9e28c85ccbaf4d896205454cc221215497828b9a | [
"WTFPL"
] | permissive | swwind/code | 57d0d02c166d1c64469e0361fc14355d866079a8 | c240122a236e375e43bcf145d67af5a3a8299298 | refs/heads/master | 2023-06-17T15:25:07.412105 | 2023-05-29T11:21:31 | 2023-05-29T11:21:31 | 93,724,691 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,297 | cpp | #include <bits/stdc++.h>
#define N 400020
#define ll long long
using namespace std;
inline int read(){
int x=0,f=0;char ch=getchar();
while(ch>'9'||ch<'0'){if(ch=='-')f=1;ch=getchar();}
while(ch<='9'&&ch>='0'){x=(x<<3)+(x<<1)+ch-'0';ch=getchar();}
return f?-x:x;
}
struct edge{
int to, nxt;
}e[N];
int fa[N], num, a[N], ans[N], head[N], cnt;
bool vis[N];
void ins(int x, int y){
e[++cnt] = (edge){y, head[x]}; head[x] = cnt;
e[++cnt] = (edge){x, head[y]}; head[y] = cnt;
}
int find(int x){return fa[x]==x?x:fa[x]=find(fa[x]);}
int main(){
int n = read(), m = read();
for(int i = 1; i <= n; i++) fa[i] = i;
for(int i = 1; i <= m; i++) ins(read()+1, read()+1);
int k = read();
for(int i = 1; i <= k; i++){
a[i] = read()+1;
vis[a[i]] = 1;
}num=n-k;
for(int s = 1; s <= n; s++)if(!vis[s]){
for(int i = head[s]; i; i = e[i].nxt){
if(vis[e[i].to])continue;
int fx = find(s);
int fy = find(e[i].to);
if(fx == fy) continue;
fa[fx] = fy; num--;
}
}
for(int kk = k; kk; kk--){
ans[kk+1] = num++; vis[a[kk]] = 0;
for(int i = head[a[kk]]; i; i = e[i].nxt){
if(vis[e[i].to])continue;
int fx = find(a[kk]);
int fy = find(e[i].to);
if(fx == fy) continue;
fa[fx] = fy; num--;
}
}
ans[1] = num;
for(int i = 1; i <= k+1; i++) printf("%d\n", ans[i]);
}
| [
"swwind233@gmail.com"
] | swwind233@gmail.com |
1a84cfd0185d775514a111aee63220c5bf16aa9b | d769bc45721c7b745b60633926b14292b5bb9006 | /net/third_party/quiche/src/quic/core/quic_version_manager.h | e66e01fb35c9d2bc883103e320f5dc29f535d2fd | [
"BSD-3-Clause"
] | permissive | snomile/chromium_net_module | a960771eb387bff6d316ba041ee5f2ff468566e1 | eb7329c08b9e6e356033830c6f84e5537c032ba4 | refs/heads/master | 2020-12-20T15:35:55.401620 | 2020-01-27T01:26:03 | 2020-01-27T01:26:03 | 236,123,988 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,333 | h | // Copyright (c) 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef QUICHE_QUIC_CORE_QUIC_VERSION_MANAGER_H_
#define QUICHE_QUIC_CORE_QUIC_VERSION_MANAGER_H_
#include "net/third_party/quiche/src/quic/core/quic_versions.h"
#include "net/third_party/quiche/src/quic/platform/api/quic_export.h"
namespace quic {
// Used to generate filtered supported versions based on flags.
class QUIC_EXPORT_PRIVATE QuicVersionManager {
public:
// |supported_versions| should be sorted in the order of preference (typically
// highest supported version to the lowest supported version).
explicit QuicVersionManager(ParsedQuicVersionVector supported_versions);
virtual ~QuicVersionManager();
// Returns currently supported QUIC versions.
// TODO(nharper): Remove this method once it is unused.
const QuicTransportVersionVector& GetSupportedTransportVersions();
// Returns currently supported QUIC versions. This vector has the same order
// as the versions passed to the constructor.
const ParsedQuicVersionVector& GetSupportedVersions();
protected:
// If the value of any reloadable flag is different from the cached value,
// re-filter |filtered_supported_versions_| and update the cached flag values.
// Otherwise, does nothing.
void MaybeRefilterSupportedVersions();
// Refilters filtered_supported_versions_.
virtual void RefilterSupportedVersions();
const QuicTransportVersionVector& filtered_transport_versions() const {
return filtered_transport_versions_;
}
private:
// Cached value of reloadable flags.
// quic_enable_version_99 flag
bool enable_version_99_;
// quic_supports_tls_handshake flag
bool enable_tls_;
// The list of versions that may be supported.
ParsedQuicVersionVector allowed_supported_versions_;
// This vector contains QUIC versions which are currently supported based on
// flags.
ParsedQuicVersionVector filtered_supported_versions_;
// This vector contains the transport versions from
// |filtered_supported_versions_|. No guarantees are made that the same
// transport version isn't repeated.
QuicTransportVersionVector filtered_transport_versions_;
};
} // namespace quic
#endif // QUICHE_QUIC_CORE_QUIC_VERSION_MANAGER_H_
| [
"snomile@me.com"
] | snomile@me.com |
19d11769a051c91115b3e01ba9c255826c55e6da | 8912c9e46f8f9e81b55959ee471bf92d13387384 | /ModuleE.ixx | 4a5f3d9fee13add73ac265ef041ff3f1ca544a90 | [] | no_license | TomTheFurry/VisualStudioCppModulesTesting | 08902c7c413ee3bdba0eee52bd2659cc9d6c7be5 | 4d1ea451f6a9725568baacd16cf5b9a1138177be | refs/heads/master | 2023-04-07T20:24:56.278609 | 2021-04-24T04:20:46 | 2021-04-24T04:20:56 | 360,830,457 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 159 | ixx | #include "DefineEnum.h"
export module Module:E;
export
enum class En {
e0 = ENUM_0,
e1 = ENUM_1,
e2 = ENUM_2,
e3 = ENUM_3,
e4 = ENUM_4,
e5 = ENUM_5,
}; | [
"tomlee92502@yahoo.com"
] | tomlee92502@yahoo.com |
ce74c8e2f2606b962d04755677f96c932ebabfe8 | feb35ca6518e988edc42e946d361b2bb26703050 | /earth_enterprise/src/google/protobuf/compiler/java/java_extension.cc | 77e01684c4a46e3757a23b6981641172437b4461 | [
"Apache-2.0"
] | permissive | tst-ccamp/earthenterprise | ccaadcf23d16aece6f8f8e55f0ca7e43a5b022fe | f7ea83f769485d9c28021b951fec8f15f641b16c | refs/heads/master | 2021-07-11T07:10:57.701571 | 2021-02-03T22:03:13 | 2021-02-03T22:03:13 | 86,094,101 | 2 | 0 | Apache-2.0 | 2021-02-03T22:10:41 | 2017-03-24T17:29:52 | C++ | UTF-8 | C++ | false | false | 8,430 | cc | // Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// http://code.google.com/p/protobuf/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
// * Redistributions in binary form must reproduce the above
// copyright notice, this list of conditions and the following disclaimer
// in the documentation and/or other materials provided with the
// distribution.
// * Neither the name of Google Inc. nor the names of its
// contributors may be used to endorse or promote products derived from
// this software without specific prior written permission.
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
// Based on original Protocol Buffers design by
// Sanjay Ghemawat, Jeff Dean, and others.
#include <google/protobuf/compiler/java/java_extension.h>
#include <google/protobuf/compiler/java/java_helpers.h>
#include <google/protobuf/stubs/strutil.h>
#include <google/protobuf/io/printer.h>
namespace google {
namespace protobuf {
namespace compiler {
namespace java {
namespace {
const char* TypeName(FieldDescriptor::Type field_type) {
switch (field_type) {
case FieldDescriptor::TYPE_INT32 : return "INT32";
case FieldDescriptor::TYPE_UINT32 : return "UINT32";
case FieldDescriptor::TYPE_SINT32 : return "SINT32";
case FieldDescriptor::TYPE_FIXED32 : return "FIXED32";
case FieldDescriptor::TYPE_SFIXED32: return "SFIXED32";
case FieldDescriptor::TYPE_INT64 : return "INT64";
case FieldDescriptor::TYPE_UINT64 : return "UINT64";
case FieldDescriptor::TYPE_SINT64 : return "SINT64";
case FieldDescriptor::TYPE_FIXED64 : return "FIXED64";
case FieldDescriptor::TYPE_SFIXED64: return "SFIXED64";
case FieldDescriptor::TYPE_FLOAT : return "FLOAT";
case FieldDescriptor::TYPE_DOUBLE : return "DOUBLE";
case FieldDescriptor::TYPE_BOOL : return "BOOL";
case FieldDescriptor::TYPE_STRING : return "STRING";
case FieldDescriptor::TYPE_BYTES : return "BYTES";
case FieldDescriptor::TYPE_ENUM : return "ENUM";
case FieldDescriptor::TYPE_GROUP : return "GROUP";
case FieldDescriptor::TYPE_MESSAGE : return "MESSAGE";
// No default because we want the compiler to complain if any new
// types are added.
}
GOOGLE_LOG(FATAL) << "Can't get here.";
return NULL;
}
}
ExtensionGenerator::ExtensionGenerator(const FieldDescriptor* descriptor)
: descriptor_(descriptor) {
if (descriptor_->extension_scope() != NULL) {
scope_ = ClassName(descriptor_->extension_scope());
} else {
scope_ = ClassName(descriptor_->file());
}
}
ExtensionGenerator::~ExtensionGenerator() {}
// Initializes the vars referenced in the generated code templates.
void InitTemplateVars(const FieldDescriptor* descriptor,
const string& scope,
map<string, string>* vars_pointer) {
map<string, string> &vars = *vars_pointer;
vars["scope"] = scope;
vars["name"] = UnderscoresToCamelCase(descriptor);
vars["containing_type"] = ClassName(descriptor->containing_type());
vars["number"] = SimpleItoa(descriptor->number());
vars["constant_name"] = FieldConstantName(descriptor);
vars["index"] = SimpleItoa(descriptor->index());
vars["default"] =
descriptor->is_repeated() ? "" : DefaultValue(descriptor);
vars["type_constant"] = TypeName(GetType(descriptor));
vars["packed"] = descriptor->options().packed() ? "true" : "false";
vars["enum_map"] = "null";
vars["prototype"] = "null";
JavaType java_type = GetJavaType(descriptor);
string singular_type;
switch (java_type) {
case JAVATYPE_MESSAGE:
singular_type = ClassName(descriptor->message_type());
vars["prototype"] = singular_type + ".getDefaultInstance()";
break;
case JAVATYPE_ENUM:
singular_type = ClassName(descriptor->enum_type());
vars["enum_map"] = singular_type + ".internalGetValueMap()";
break;
default:
singular_type = BoxedPrimitiveTypeName(java_type);
break;
}
vars["type"] = descriptor->is_repeated() ?
"java.util.List<" + singular_type + ">" : singular_type;
vars["singular_type"] = singular_type;
}
void ExtensionGenerator::Generate(io::Printer* printer) {
map<string, string> vars;
InitTemplateVars(descriptor_, scope_, &vars);
printer->Print(vars,
"public static final int $constant_name$ = $number$;\n");
if (HasDescriptorMethods(descriptor_->file())) {
// Non-lite extensions
if (descriptor_->extension_scope() == NULL) {
// Non-nested
printer->Print(
vars,
"public static final\n"
" com.google.protobuf.GeneratedMessage.GeneratedExtension<\n"
" $containing_type$,\n"
" $type$> $name$ = com.google.protobuf.GeneratedMessage\n"
" .newFileScopedGeneratedExtension(\n"
" $singular_type$.class,\n"
" $prototype$);\n");
} else {
// Nested
printer->Print(
vars,
"public static final\n"
" com.google.protobuf.GeneratedMessage.GeneratedExtension<\n"
" $containing_type$,\n"
" $type$> $name$ = com.google.protobuf.GeneratedMessage\n"
" .newMessageScopedGeneratedExtension(\n"
" $scope$.getDefaultInstance(),\n"
" $index$,\n"
" $singular_type$.class,\n"
" $prototype$);\n");
}
} else {
// Lite extensions
if (descriptor_->is_repeated()) {
printer->Print(
vars,
"public static final\n"
" com.google.protobuf.GeneratedMessageLite.GeneratedExtension<\n"
" $containing_type$,\n"
" $type$> $name$ = com.google.protobuf.GeneratedMessageLite\n"
" .newRepeatedGeneratedExtension(\n"
" $containing_type$.getDefaultInstance(),\n"
" $prototype$,\n"
" $enum_map$,\n"
" $number$,\n"
" com.google.protobuf.WireFormat.FieldType.$type_constant$,\n"
" $packed$);\n");
} else {
printer->Print(
vars,
"public static final\n"
" com.google.protobuf.GeneratedMessageLite.GeneratedExtension<\n"
" $containing_type$,\n"
" $type$> $name$ = com.google.protobuf.GeneratedMessageLite\n"
" .newSingularGeneratedExtension(\n"
" $containing_type$.getDefaultInstance(),\n"
" $default$,\n"
" $prototype$,\n"
" $enum_map$,\n"
" $number$,\n"
" com.google.protobuf.WireFormat.FieldType.$type_constant$);\n");
}
}
}
void ExtensionGenerator::GenerateNonNestedInitializationCode(
io::Printer* printer) {
if (descriptor_->extension_scope() == NULL &&
HasDescriptorMethods(descriptor_->file())) {
// Only applies to non-nested, non-lite extensions.
printer->Print(
"$name$.internalInit(descriptor.getExtensions().get($index$));\n",
"name", UnderscoresToCamelCase(descriptor_),
"index", SimpleItoa(descriptor_->index()));
}
}
void ExtensionGenerator::GenerateRegistrationCode(io::Printer* printer) {
printer->Print(
"registry.add($scope$.$name$);\n",
"scope", scope_,
"name", UnderscoresToCamelCase(descriptor_));
}
} // namespace java
} // namespace compiler
} // namespace protobuf
} // namespace google
| [
"avnish@sunrise.mtv.corp.google.com"
] | avnish@sunrise.mtv.corp.google.com |
8f2f87bdec633ef59cb67b2019d39197e2a2bfcb | 7208837d6c1f0ac3ff623060fe0b64dfd4e541a1 | /chrome/browser/android/vr_shell/ui_elements/screen_dimmer.h | 47dbac1d16e0ca396b643b3dd790960274814703 | [
"BSD-3-Clause"
] | permissive | isoundy000/chromium | b2ee07ebc5ce85e5d635292f6a37dbb7c2135a93 | 62580345c78c08c977ba504d789ed92c1ff18525 | refs/heads/master | 2023-03-17T17:29:40.945889 | 2017-06-29T22:29:10 | 2017-06-29T22:29:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 819 | h | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_ANDROID_VR_SHELL_UI_ELEMENTS_SCREEN_DIMMER_H_
#define CHROME_BROWSER_ANDROID_VR_SHELL_UI_ELEMENTS_SCREEN_DIMMER_H_
#include "base/macros.h"
#include "chrome/browser/android/vr_shell/ui_elements/ui_element.h"
namespace vr_shell {
class ScreenDimmer : public UiElement {
public:
ScreenDimmer();
~ScreenDimmer() override;
void Initialize() final;
// UiElement interface.
void Render(UiElementRenderer* renderer,
gfx::Transform view_proj_matrix) const final;
DISALLOW_COPY_AND_ASSIGN(ScreenDimmer);
};
} // namespace vr_shell
#endif // CHROME_BROWSER_ANDROID_VR_SHELL_UI_ELEMENTS_SCREEN_DIMMER_H_
| [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
e1c5864cecc45e7e702319a27409c471a32c6360 | 0e7af5c612f009ad3e234519ec52743d7e287882 | /MythCore/tool/LoginTester/LoginTester/player.cpp | fc305a2c389cb6ae96a44a3545ad752ee5d25b99 | [] | no_license | jefferyyellow/MythCore | 678b1f777f51b8cf3e4f40299b4e2f29882b9cf1 | 4f2d09dec8e772b190c48f718febec8853671cd9 | refs/heads/master | 2021-08-01T00:58:58.711347 | 2021-07-22T15:06:17 | 2021-07-22T15:06:17 | 43,931,424 | 3 | 1 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 2,445 | cpp | #include "player.h"
#include "loginmessage.hxx.pb.h"
#include "logintester.h"
void CPlayer::onServerMessage(short nMessageID, Message* pMessage)
{
switch (nMessageID)
{
case ID_S2C_RESPONSE_LOGIN:
{
onMessageLoginResponse(pMessage);
break;
}
case ID_S2C_RESPONSE_CREATE_ROLE:
{
onCreateRoleResponse(pMessage);
break;
}
default:
break;
}
}
void CPlayer::loginServer()
{
CLoginRequest tLoginRequest;
tLoginRequest.set_name(mAccountName);
tLoginRequest.set_channelid(mChannelID);
tLoginRequest.set_serverid(mServerID);
CLoginTester::Inst()->sendMessage(mTcpIndex, ID_C2S_REQUEST_LOGIN, &tLoginRequest);
}
void CPlayer::onMessageLoginResponse(Message* pMessage)
{
char acName[256] = { 0 };
CLoginResponse* pLoginResponse = (CLoginResponse*)pMessage;
snprintf(acName, sizeof(acName), "hjh%d", pLoginResponse->accountid());
int nRoleID = pLoginResponse->roleid();
mAccountID = pLoginResponse->accountid();
mChannelID = pLoginResponse->channelid();
mServerID = pLoginResponse->serverid();
mRoleID = pLoginResponse->roleid();
if (0 == nRoleID)
{
// ´´½¨½Ç
CCreateRoleRequest tCreateRoleRequest;
tCreateRoleRequest.set_accountid(pLoginResponse->accountid());
tCreateRoleRequest.set_channelid(pLoginResponse->channelid());
tCreateRoleRequest.set_serverid(pLoginResponse->serverid());
tCreateRoleRequest.set_rolename(acName);
CLoginTester::Inst()->sendMessage(mTcpIndex, ID_C2S_REQUEST_CREATE_ROLE, &tCreateRoleRequest);
}
else
{
CEnterSceneRequest tEnterSceneRequest;
tEnterSceneRequest.set_roleid(pLoginResponse->roleid());
tEnterSceneRequest.set_accountid(pLoginResponse->accountid());
tEnterSceneRequest.set_channelid(pLoginResponse->channelid());
tEnterSceneRequest.set_serverid(pLoginResponse->serverid());
CLoginTester::Inst()->sendMessage(mTcpIndex, ID_C2S_REQUEST_ENTER_SCENE, &tEnterSceneRequest);
}
}
void CPlayer::onCreateRoleResponse(Message* pMessage)
{
CCreateRoleResponse* pRoleResponse = (CCreateRoleResponse*)pMessage;
int nResult = pRoleResponse->result();
unsigned int nRoleID = pRoleResponse->roleid();
mRoleID = nRoleID;
CEnterSceneRequest tEnterSceneRequest;
tEnterSceneRequest.set_roleid(mRoleID);
tEnterSceneRequest.set_accountid(mAccountID);
tEnterSceneRequest.set_channelid(mChannelID);
tEnterSceneRequest.set_serverid(mServerID);
CLoginTester::Inst()->sendMessage(mTcpIndex, ID_C2S_REQUEST_ENTER_SCENE, &tEnterSceneRequest);
}
| [
"396066193@qq.com"
] | 396066193@qq.com |
cf635eaec61fbe216832174b4917e97d611d6777 | 9914266a26076c07f1bfbb1313f1970375fbed33 | /Beobachter/main.cpp | 17d1c1013b15e65f61dd20be0cef8ce2594c5d99 | [] | no_license | lukasmerk/programming2 | 9882b29b166c10305b52231b1c1e27034ee9cee0 | 7647fd6743b40d42cdfc5aea7a4e5eeba5272637 | refs/heads/master | 2021-06-16T08:21:55.063526 | 2017-05-24T08:48:45 | 2017-05-24T08:48:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 417 | cpp | #include <iostream>
using namespace std;
#include "Hase.h"
#include "Jaeger.h"
int main() {
// erzeuge ein Hasenobjekt
Hase h;
// erzeuge ein Jaegerobjekt
Jaeger j(&h);
// erzeuge ein zweites Jaegerobjekt
Jaeger j1(&h);
// setze den Hasen
h.setzePos(27);
// setze den Hasen ein weiteres Mal
h.setzePos(42);
// setze den Hasen ein weiteres Mal
h.setzePos(13);
}
| [
"lukasmerk@gmx.de"
] | lukasmerk@gmx.de |
6ea45018ef6a04bea2815a24947c4c7c15b30e3d | 839652f7d74ab678d63f6a4a03b00f1fc267e1b9 | /OOP Concepts/1. Sources/CircleAIO.cpp | 123da0e1b1cfc4b8ebfb8e5797ac6aeb9ed45c34 | [] | no_license | dinhtuyen3011/cpp | 97d6ab55f49582c6797e88febdf934c3f6f5caa8 | fa8cdeb81a8110c59ec7b6697044241786df7d6b | refs/heads/main | 2023-02-04T02:04:41.611290 | 2020-12-15T00:07:28 | 2020-12-15T00:07:28 | 300,456,344 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,408 | cpp | /* The Circle class (All source codes in one file) (CircleAIO.cpp) */
#include <iostream> // using IO functions
#include <string> // using string
using namespace std;
class Circle {
private:
double radius; // Data member (Variable)
string color; // Data member (Variable)
public:
// Constructor with default values for data members
Circle(double r = 1.0, string c = "red") {
radius = r;
color = c;
}
double getRadius() { // Member function (Getter)
return radius;
}
string getColor() { // Member function (Getter)
return color;
}
double getArea() { // Member function
return radius*radius*3.1416;
}
}; // need to end the class declaration with a semi-colon
// Test driver function
int main() {
// Construct a Circle instance
Circle c1(1.2, "blue");
cout << "Radius=" << c1.getRadius() << " Area=" << c1.getArea()
<< " Color=" << c1.getColor() << endl;
// Construct another Circle instance
Circle c2(3.4); // default color
cout << "Radius=" << c2.getRadius() << " Area=" << c2.getArea()
<< " Color=" << c2.getColor() << endl;
// Construct a Circle instance using default no-arg constructor
Circle c3; // default radius and color
cout << "Radius=" << c3.getRadius() << " Area=" << c3.getArea()
<< " Color=" << c3.getColor() << endl;
return 0;
}
| [
"dinhtuyen@gmail.com"
] | dinhtuyen@gmail.com |
5f13df12c8ebef58009b9f5ea3a9077ea0ec5628 | d3ce1dfc6a90e741743a36e17542fb5ebf3f833e | /Testing/test_case.cpp | eb3f79480f6ccc23f2b208ce5d88fb5847059d4c | [] | no_license | miepstei/BayesianCode | bf44872fab31d9f12392c77ec86ae4a40a2207aa | d7ffd1367fd599f51f79a5e00965a3d467a76502 | refs/heads/master | 2020-06-04T18:16:44.760689 | 2015-03-26T15:10:31 | 2015-03-26T15:10:31 | 9,454,034 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 137,381 | cpp | #include <stdio.h>
#include <vector>
#include "likelihood.h"
#include <iostream>
int main(){
DCProgs::t_Bursts bursts {
{0.0005207349658012},
{0.0000361186563969},
{0.0004467989504337},
{0.0000619298033416},
{0.0032730445859488,0.0000700714439154,0.0004112531300634,0.0000289315246046,0.0013523307949508,0.0000633396133780,0.0007814394831657},
{0.0002251598984003},
{0.0002507009804249},
{0.0002390057146549},
{0.0001644949167967},
{0.0000670568272471},
{0.0000669156759977},
{0.0001431021243334},
{0.0000328237414360},
{0.0001635513603687},
{0.0001030098721385},
{0.0000485068708658},
{0.0001336828172207},
{0.0000853198096156,0.0004037258923054,0.0002111479490995},
{0.0002291419059038},
{0.0000338160693645},
{0.0000356236733496},
{0.0000814923718572},
{0.0035485686389729},
{0.0000778657123446},
{0.0000654963105917},
{0.0005924679636955},
{0.0005862313508987},
{0.0000747100040317},
{0.0000274012964219},
{0.0008819532580674,0.0000392306447029,0.0009479265380651},
{0.0001042596325278},
{0.0000450874157250},
{0.0000371064394712},
{0.0012386263813823,0.0000681427568197,0.0001487811952829,0.0000542640313506,0.0003701927959919,0.0000384837575257,0.0052419034542982,0.0000294862724841,0.0032070708440733,0.0000376108475029,0.0044113885713741},
{0.0021193454316817},
{0.0001209445670247},
{0.0000300746802241},
{0.0000419214479625},
{0.0004136231541634},
{0.0000262011196464},
{0.0001000213176012},
{0.0000260361414403},
{0.0000945044681430,0.0000344913713634,0.0008947032298893,0.0000368145033717,0.0008902907590382,0.0000267074052244,0.0016929857156247},
{0.0000319131202996},
{0.0000653625056148},
{0.0005098153352737},
{0.0001175990626216},
{0.0000839806646109},
{0.0002915470898151},
{0.0003056372106075},
{0.0001627143770456},
{0.0003127196729183},
{0.0017334167957306},
{0.0000304647795856},
{0.0001101080626249},
{0.0000896928757429},
{0.0002261623293161},
{0.0001457247436047},
{0.0001752355545759},
{0.0001532732695341},
{0.0004017115831375},
{0.0000577049665153},
{0.0000565658621490},
{0.0001464210003614},
{0.0001392110437155},
{0.0000642344281077},
{0.0001049419343472},
{0.0015134712457657,0.0000356642305851,0.0002745133936405,0.0000396431311965,0.0001803466081619},
{0.0002178122550249},
{0.0001160158142447},
{0.0000637041553855},
{0.0002208964675665},
{0.0000339273475111},
{0.0003614763319492},
{0.0004765492975712},
{0.0000326575487852},
{0.0031301951608621},
{0.0000280739888549},
{0.0004956540763378,0.0000416927561164,0.0033863522098400,0.0000308688282967,0.0013996816053987,0.0000358334593475,0.0003844805061817,0.0000398580878973,0.0010451978445053,0.0000386949516833,0.0013173571731895,0.0000256997663528,0.0010905802249908,0.0000256060566753,0.0012587961386889,0.0000268714502454,0.0012958360910416},
{0.0000477990247309},
{0.0001353042125702,0.0000319435372949,0.0013388105630875,0.0000294818729162,0.0030563810970634,0.0000266307964921,0.0009783807555214},
{0.0002389161437750},
{0.0002355969250202},
{0.0000394332706928},
{0.0003762781322002},
{0.0008021702454425},
{0.0036578543416690,0.0000413063913584,0.0014195501729846},
{0.0006436873110943,0.0000410384833813,0.0020033246483654,0.0000328733103815,0.0010844152569771},
{0.0000339911915362},
{0.0001333803385496},
{0.0007657607197762,0.0006266274452209,0.0005133332610130,0.0004678518772125,0.0000908980965614},
{0.0001188865900040},
{0.0000626639798284},
{0.0001890362501144},
{0.0007975355386734},
{0.0000565351136029},
{0.0000534045174718},
{0.0001744038760662},
{0.0000739302039146},
{0.0000390555672348},
{0.0000371502861381},
{0.0001593560427427},
{0.0000254460461438},
{0.0001614957898855},
{0.0000799487009645},
{0.0000463505201042},
{0.0029405839879423,0.0000415597073734,0.0037889716625214,0.0000606969892979,0.0003015903234482},
{0.0000268608387560},
{0.0001521699726582},
{0.0001834843009710},
{0.0000277868211269},
{0.0015334314294159,0.0000271653551608,0.0049018638238776,0.0000656437203288,0.0001955320802517},
{0.0001095640584826},
{0.0000920344740152},
{0.0001612844467163,0.0000375316664577,0.0016019356057514},
{0.0003133761882782,0.0004977652132511,0.0001446843892336},
{0.0002112097740173},
{0.0000283990968019},
{0.0000335890352726},
{0.0004859283566475},
{0.0001962230205536},
{0.0000308670885861},
{0.0000820481106639},
{0.0014560709632933,0.0000331188067794,0.0002624016012996,0.0000552658140659,0.0011303582615219},
{0.0000715378820896},
{0.0001167381256819},
{0.0000945546329021},
{0.0000869750455022},
{0.0002281085252762},
{0.0002296030968428},
{0.0000489038191736},
{0.0001797100305557},
{0.0000951066762209},
{0.0000580700486898},
{0.0010377362966537,0.0000720105557702,0.0004605611562729},
{0.0000356206707656},
{0.0000590210743248},
{0.0000425683297217},
{0.0000892350301147,0.0006919942498207,0.0003396935760975},
{0.0003154711425304,0.0004445483386517,0.0000263068452477},
{0.0000885988250375},
{0.0000605366267264},
{0.0000338561385870},
{0.0000376940406859},
{0.0000855091735721},
{0.0028536814780673,0.0000376301519573,0.0001566881537437,0.0000572250075638,0.0014886877704412},
{0.0000275182332844},
{0.0000420103445649},
{0.0003160741627216},
{0.0000806169807911},
{0.0001737996786833},
{0.0038397276338656},
{0.0000407785028219},
{0.0001183521226048},
{0.0002990352511406},
{0.0001438678652048},
{0.0002563143968582},
{0.0007248963143211},
{0.0020702264313586,0.0000285324528813,0.0014365081539145,0.0000358425863087,0.0017302801609039},
{0.0039850028773653,0.0000416467785835,0.0003491174748633,0.0000563261136413,0.0004322554774117,0.0000325474552810,0.0026672773920000},
{0.0001195349022746},
{0.0000536612868309},
{0.0000262476298958},
{0.0000359670631588},
{0.0004098102450371},
{0.0000461362488568},
{0.0000419784225523},
{0.0000299255419523},
{0.0002263582944870,0.0007996953129768,0.0001320058703423},
{0.0000386826097965},
{0.0000288484264165},
{0.0000646163970232},
{0.0015236262051621},
{0.0001171592473984},
{0.0001085731312633},
{0.0000476486012340},
{0.0000871094986796},
{0.0001878582686186},
{0.0000487132631242},
{0.0013446170063689,0.0000341829061508,0.0004685599803925},
{0.0000787999331951},
{0.0013033047914505,0.0034097437858582,0.0001201768666506},
{0.0001351257860661},
{0.0000833302587271},
{0.0005282273888588,0.0000293472260237,0.0029566511482117,0.0000314417630434,0.0022672381482553},
{0.0004210473597050},
{0.0000371134914458},
{0.0001766621172428},
{0.0000469993464649},
{0.0001015684679151},
{0.0000268314685673},
{0.0000375049225986},
{0.0003711635470390},
{0.0000434833019972,0.0003878856301308,0.0001083901077509},
{0.0000353410616517},
{0.0002092741876841},
{0.0000603600218892},
{0.0004009529650211},
{0.0002243507504463},
{0.0000273452643305},
{0.0003256934285164},
{0.0000255161523819},
{0.0001723714768887},
{0.0001380253285170},
{0.0001104774475098},
{0.0009172328710556},
{0.0004862457513809},
{0.0000685540586710},
{0.0001647887974977},
{0.0001722846776247},
{0.0005770266652107},
{0.0000358417592943},
{0.0006599997878075},
{0.0000256355609745},
{0.0012168337106705,0.0000587076060474,0.0020640371483751},
{0.0000876868665218,0.0000389165356755,0.0004366511404514,0.0000386685058475,0.0022194019863382,0.0000305690392852,0.0005548712015152,0.0000764212310314,0.0001464217305183,0.0000252658445388,0.0003874397301115,0.0000658553093672,0.0005742622017860,0.0000345916338265,0.0030218563100789},
{0.0000395657941699},
{0.0001478684097528},
{0.0002491051852703},
{0.0003444174528122},
{0.0000262048579752},
{0.0025272398171946},
{0.0003626570999622},
{0.0002706254422665,0.0004587247967720,0.0001282931417227},
{0.0000252986010164},
{0.0003088112175465},
{0.0000250959973782},
{0.0000629671365023},
{0.0001629387289286},
{0.0001302830725908},
{0.0000796956121922},
{0.0000882544294000},
{0.0002554375529289},
{0.0019701697727432,0.0000336369276047,0.0010507742529735,0.0000286587588489,0.0027559106525732,0.0000257625654340,0.0009653665423393},
{0.0002772780060768},
{0.0001679953336716},
{0.0000682851970196},
{0.0037938507761573},
{0.0000739910230041},
{0.0000993343591690},
{0.0000529183670878},
{0.0000671820938587},
{0.0011665539108217,0.0000486383065581,0.0055222902512178,0.0000301251355559,0.0006691774940118},
{0.0000426194258034},
{0.0001157741248608},
{0.0000363552905619},
{0.0001039479151368},
{0.0022711146064103},
{0.0001521933674812},
{0.0004558807015419},
{0.0002565589547157},
{0.0001696685552597},
{0.0001257074624300},
{0.0000967264473438},
{0.0001918976306915},
{0.0000365622714162},
{0.0050145984925912,0.0000278052389622,0.0003221701681614},
{0.0000267797186971},
{0.0002022171318531,0.0000932605536655,0.0001759857833385},
{0.0011225254866295},
{0.0002609927654266},
{0.0000368377529085},
{0.0000680376216769},
{0.0019543474001111,0.0000315516144037,0.0025666532623582,0.0000298916716129,0.0001225975155830},
{0.0011055023507215},
{0.0000553503483534},
{0.0001008159592748},
{0.0000462492406368},
{0.0001372142434120},
{0.0003778699338436},
{0.0001679380834103},
{0.0005652242898941},
{0.0000369938798249},
{0.0000400993153453},
{0.0002377576977015},
{0.0000952200070024},
{0.0000431844927371},
{0.0004735189974308},
{0.0000933812782168},
{0.0000734693780541},
{0.0001379509866238},
{0.0001651226878166},
{0.0018978394269943,0.0000348742157221,0.0008659375928110},
{0.0004006265401840},
{0.0001743038892746},
{0.0004590679407120,0.0000387970879674,0.0051359876180650},
{0.0001365893781185},
{0.0000445738099515},
{0.0000344005338848},
{0.0002212087363005},
{0.0000310668051243},
{0.0000285472813994},
{0.0001128876954317},
{0.0001752437204123},
{0.0002683875560760},
{0.0001763074519113,0.0000463134236634,0.0019356178218732},
{0.0001416550427675},
{0.0000747184529901},
{0.0045455779407639},
{0.0003674856126308},
{0.0000413864515722},
{0.0000776747241616},
{0.0001201621294022},
{0.0000400754548609},
{0.0000859839096665},
{0.0001140137910843},
{0.0001359285116196},
{0.0000500273779035},
{0.0003390178680420},
{0.0000490573458374},
{0.0000988522246480},
{0.0002419140785933},
{0.0026260701693827,0.0000259896293283,0.0001354210525751,0.0000451747402549,0.0014428999423981},
{0.0002871958315372},
{0.0000444943532348},
{0.0003424887061119},
{0.0000462338998914},
{0.0000935894176364},
{0.0000320214405656},
{0.0000797108709812},
{0.0003149980902672},
{0.0000314143076539},
{0.0000266128834337},
{0.0002701721489429,0.0000471558384597,0.0002569859623909,0.0000300495438278,0.0019362052604556},
{0.0003376460671425},
{0.0002159805148840},
{0.0000777314901352},
{0.0000586887598038},
{0.0000297312866896},
{0.0000255517736077},
{0.0001553220301867},
{0.0000461650528014},
{0.0000570557639003},
{0.0007481689453125},
{0.0000486335717142},
{0.0000616310276091},
{0.0001975219696760},
{0.0002443040162325},
{0.0002356091439724,0.0000721085816622,0.0011327424043557},
{0.0003113058209419},
{0.0017640247899108},
{0.0000377946160734},
{0.0000547579117119},
{0.0006327760219574},
{0.0003663292527199,0.0000635629221797,0.0034465864810918},
{0.0000754177123308},
{0.0000488520115614},
{0.0000769611373544},
{0.0000331572964787},
{0.0002018642574549},
{0.0000398414246738},
{0.0000325778909028},
{0.0000589338168502,0.0000260111726820,0.0017728453619638},
{0.0002145972549915,0.0003813413083553,0.0001890770494938},
{0.0003203256726265},
{0.0000359331294894},
{0.0000257631950080},
{0.0005812617060728,0.0000464000329375,0.0009949678210542},
{0.0000636051967740},
{0.0002195393294096},
{0.0000756267085671},
{0.0004023451507092},
{0.0000578006878495},
{0.0000353790074587},
{0.0002041613608599},
{0.0001950806826353},
{0.0005069681406021},
{0.0001297748833895,0.0012864745855331,0.0004039368033409},
{0.0001758234202862},
{0.0000500292293727},
{0.0004412653744221},
{0.0006725071072578},
{0.0002472582757473},
{0.0006820765137672},
{0.0002271896451712},
{0.0000878275260329},
{0.0001722523272038,0.0002390917837620,0.0001054053604603},
{0.0000299478601664},
{0.0003345797552029,0.0000330769866705,0.0028493215758353},
{0.0000512890480459},
{0.0000844779238105},
{0.0001541243940592},
{0.0000552455037832},
{0.0001935189813375},
{0.0009255560487509},
{0.0011915076489095},
{0.0002206858545542},
{0.0000343841910362},
{0.0000250309035182},
{0.0002200747430325},
{0.0000326544903219},
{0.0000273021273315},
{0.0000504311025143},
{0.0000364335589111},
{0.0001801600754261},
{0.0000293022338301},
{0.0001773405671120},
{0.0001335256397724},
{0.0003176780045033},
{0.0000402780845761},
{0.0002734427452087},
{0.0017590941600502},
{0.0001608327627182},
{0.0001735137999058},
{0.0000599492117763},
{0.0006834097504616},
{0.0000425131656229},
{0.0000919865965843},
{0.0001240760311484},
{0.0002084373980761},
{0.0000420189797878},
{0.0000553382337093},
{0.0000605800300837},
{0.0000265334118158},
{0.0003512338101864},
{0.0002451561838388},
{0.0000612754002213},
{0.0000521843507886},
{0.0001503164917231},
{0.0000653918385506},
{0.0000839246809483},
{0.0001427663862705},
{0.0005141798853874},
{0.0003784331083298},
{0.0001453343629837},
{0.0000336367562413},
{0.0003403060734272},
{0.0009094155430794},
{0.0000489134825766},
{0.0000367846675217},
{0.0000894045457244},
{0.0001317706704140},
{0.0002136799842119},
{0.0021395347900689},
{0.0000650934204459},
{0.0001301377117634},
{0.0002066338658333},
{0.0000420046411455},
{0.0001177689284086},
{0.0000430220253766},
{0.0001829241961241},
{0.0003594795465469},
{0.0015053189024329,0.0000576765276492,0.0012525175206829},
{0.0000861111509148,0.0000604580342770,0.0004030403196812},
{0.0000797929167747},
{0.0002709721028805},
{0.0001333508938551},
{0.0003786213397980},
{0.0001256693750620},
{0.0000320415310562},
{0.0002382663935423},
{0.0001378794610500},
{0.0000306741241366},
{0.0015725300405174},
{0.0000736671611667},
{0.0005614836812019,0.0007424777150154,0.0002213669717312},
{0.0004185558259487},
{0.0000363020449877},
{0.0000628371387720},
{0.0001013957709074},
{0.0009959495067596},
{0.0006356227891520},
{0.0000303883608431},
{0.0000274575669318},
{0.0018689315179363},
{0.0000902321711183},
{0.0001240173578262},
{0.0000591701790690},
{0.0001981978714466},
{0.0000598393641412},
{0.0001385882049799},
{0.0013931448082440},
{0.0000406927205622},
{0.0000454328991473},
{0.0000520119406283},
{0.0000656377822161},
{0.0000390662103891},
{0.0000405413247645},
{0.0000549492128193},
{0.0003628192543983},
{0.0000843384340405},
{0.0001432539969683},
{0.0000375716090202},
{0.0001232767328620},
{0.0000895433872938},
{0.0003991107046604},
{0.0005198725461960},
{0.0000415061339736},
{0.0001956514716148},
{0.0014966448824853,0.0000372750274837,0.0021197307324037,0.0000291398875415,0.0006422216594219,0.0000552845336497,0.0001886898428202},
{0.0014820341328159,0.0000275146923959,0.0042895993646234,0.0000600151233375,0.0018833122239448},
{0.0000591995082796},
{0.0000937201231718},
{0.0003445605337620},
{0.0000268290471286},
{0.0001177555173635},
{0.0001658612936735},
{0.0001785421669483},
{0.0006573246789631,0.0000292505268008,0.0010821929015219},
{0.0008186506780330},
{0.0000285523030907},
{0.0006243522763252},
{0.0003519456088543},
{0.0002423979789019},
{0.0000318354479969},
{0.0001438665539026},
{0.0000693482309580},
{0.0002357498556376},
{0.0000970095992088},
{0.0001519703119993},
{0.0000509551465511},
{0.0000386044085026},
{0.0003857127428055,0.0000688330680132,0.0009290476010210},
{0.0002905711233616},
{0.0002585391700268},
{0.0002524285018444},
{0.0001283873021603},
{0.0000979463830590},
{0.0000284638535231},
{0.0002734332978725},
{0.0002047843188047},
{0.0000605835989118},
{0.0000327670685947},
{0.0000344941280782},
{0.0001217363551259},
{0.0000261172335595},
{0.0001543118208647},
{0.0000389361642301},
{0.0001498537510633},
{0.0004876483380795},
{0.0009146131277084},
{0.0000577422492206},
{0.0000648903995752},
{0.0041718346645939},
{0.0005634792875499,0.0000364042632282,0.0008477173349820},
{0.0002109346687794},
{0.0000324365384877},
{0.0002261130362749},
{0.0000795817747712},
{0.0000279514584690},
{0.0000915002673864},
{0.0007612434616312},
{0.0002321829050779},
{0.0000295639224350},
{0.0000367101803422},
{0.0000349430926144},
{0.0001018962115049},
{0.0000447692275047},
{0.0001502935588360},
{0.0019730321029201,0.0000371063053608,0.0008486985499039,0.0000301626883447,0.0005596526265144},
{0.0003125553131104},
{0.0001614238917828},
{0.0000600991025567},
{0.0000874734297395},
{0.0001153167560697},
{0.0002429577410221},
{0.0000997502505779},
{0.0000503665655851},
{0.0000552699230611},
{0.0001307983398437},
{0.0001992254108191},
{0.0000679972842336},
{0.0001054159477353},
{0.0018492788183794},
{0.0001285226494074},
{0.0062016894053668},
{0.0002831957638264},
{0.0000327336154878},
{0.0001626467853785},
{0.0001730948835611},
{0.0000763789936900},
{0.0003643150925636},
{0.0000511941052973},
{0.0000259592477232},
{0.0003564296960831},
{0.0001957419067621},
{0.0002557639181614},
{0.0001732406318188},
{0.0000374959968030},
{0.0000507460646331},
{0.0005774124860764},
{0.0000939628630877,0.0000414849855006,0.0003700927495956},
{0.0000796735659242},
{0.0002598228156567},
{0.0000863448604941},
{0.0000495134815574},
{0.0002089274227619},
{0.0000802645757794},
{0.0001768742650747},
{0.0000799924358726},
{0.0002044577449560},
{0.0000697559565306},
{0.0002003760188818},
{0.0000697857216001},
{0.0000291712749749},
{0.0000334599129856},
{0.0001402520537376},
{0.0000920099318027},
{0.0001248294785619},
{0.0002804243564606},
{0.0000520113706589},
{0.0000596059262753},
{0.0003601371943951},
{0.0002787495553493},
{0.0034876830658104,0.0000303482003510,0.0013877892140299},
{0.0000482929460704},
{0.0001773278117180},
{0.0001215281486511},
{0.0000302902348340},
{0.0026404228826286,0.0000401463918388,0.0007662171201664},
{0.0001112396046519},
{0.0004901165068150},
{0.0001231096237898},
{0.0002004389762878},
{0.0001783739775419},
{0.0001951719522476},
{0.0057046945301699},
{0.0002630716860294},
{0.0000696720778942},
{0.0000309614054859},
{0.0000341293364763},
{0.0001014503687620},
{0.0000461318045855},
{0.0001655119210482},
{0.0000511097796261},
{0.0000531902089715},
{0.0004877143204212},
{0.0001829616725445},
{0.0001042698547244},
{0.0005017052888870},
{0.0001571127772331},
{0.0001196504831314},
{0.0002317319959402},
{0.0004744571745396},
{0.0001862920373678},
{0.0001766867339611},
{0.0003776026964188},
{0.0000489366650581},
{0.0003928143382072,0.0000440810881555,0.0002517929375172},
{0.0041765422190074,0.0000797165334225,0.0018223496219143},
{0.0000595267973840},
{0.0017290051455493},
{0.0014896780970157},
{0.0006423128843307},
{0.0000277192704380},
{0.0000265491586179},
{0.0000345975756645},
{0.0004736617165618},
{0.0002463634163141},
{0.0002830218374729},
{0.0009002584815025},
{0.0004949787855148},
{0.0003560403287411},
{0.0014698546160944,0.0000371728576720,0.0025559872328886},
{0.0008553649656242},
{0.0002347190976143},
{0.0005692988634109},
{0.0001221379637718},
{0.0002644609212875},
{0.0000417673550546},
{0.0005490639209747},
{0.0003078175019473,0.0000436450578272,0.0003487220108509,0.0000552340038121,0.0001976543068886,0.0000728066116571,0.0004674643278122,0.0000529085844755,0.0020354766291566,0.0000299013480544,0.0003174929916859},
{0.0003722758591175},
{0.0001727064400911},
{0.0018168401103467},
{0.0000395004563034},
{0.0000482644289732},
{0.0000703507885337},
{0.0001695857048035},
{0.0000290003679693},
{0.0002396206110716},
{0.0000303724706173},
{0.0003173870742321},
{0.0000315304696560},
{0.0001627909094095,0.0000487961992621,0.0041127790599130},
{0.0009300167560577},
{0.0000341048724949},
{0.0050787317405920},
{0.0001968299001455},
{0.0042149615134113},
{0.0001557790935040},
{0.0001787772774696,0.0012232228517532,0.0002290040701628},
{0.0004610131084919},
{0.0001452389806509},
{0.0001525663733482},
{0.0000340023227036},
{0.0007547286152840},
{0.0042770511490817,0.0000540794096887,0.0002284531742334,0.0000371371246874,0.0008028600513935,0.0000251224618405,0.0005849859431037,0.0000452542528510,0.0001731169219129},
{0.0023194742694614,0.0000488594286144,0.0010623704101890},
{0.0000655449926853},
{0.0000485126152635},
{0.0000266408286989},
{0.0000570002496243},
{0.0000678661242127},
{0.0001649599820375},
{0.0000753095895052,0.0001496202051640,0.0000578255951405},
{0.0000502479113638},
{0.0000686302185059},
{0.0004767357110977},
{0.0003989594578743,0.0000273991823196,0.0012845203876495,0.0000571127785370,0.0001352470517159},
{0.0001554351150990},
{0.0000497129969299},
{0.0000288679990917},
{0.0000750509276986},
{0.0003658663332462},
{0.0001721480339766,0.0022540512084961,0.0002769818603992},
{0.0000564738400280},
{0.0000364596806467},
{0.0001959394067526},
{0.0001642736792564},
{0.0001059836670756},
{0.0001712050288916},
{0.0000445990934968},
{0.0000380584336817},
{0.0001226388737559,0.0017427617311478,0.0001205774694681},
{0.0000837711989880},
{0.0005468330979347},
{0.0037036475765053},
{0.0004288199543953},
{0.0000261208992451},
{0.0000531468577683},
{0.0000424129143357},
{0.0000996248945594},
{0.0000256250668317},
{0.0000520882867277},
{0.0000472286120057},
{0.0000662933811545},
{0.0000850638225675},
{0.0010830780703109},
{0.0007326146960258},
{0.0000274363625795},
{0.0001126711815596},
{0.0000907403826714},
{0.0000399035736918},
{0.0000368715301156},
{0.0012470494627487},
{0.0000429511591792},
{0.0003727870881557},
{0.0002377509623766},
{0.0000373889505863},
{0.0000331987068057},
{0.0000666939243674},
{0.0024016892985383,0.0000317661315203,0.0071862701994833,0.0000399768650532,0.0009969079168513},
{0.0004013507608324},
{0.0004954395294189},
{0.0002041078656912},
{0.0001291055828333},
{0.0000520586073399},
{0.0000523692220449},
{0.0036090586704668,0.0000364212840796,0.0010286364532076},
{0.0017433012299007},
{0.0001488705575466},
{0.0000940432250500},
{0.0000365615449846},
{0.0025235219814640,0.0000439641103148,0.0033453577281907},
{0.0001340369284153},
{0.0000468616597354},
{0.0000562752336264},
{0.0001739715784788},
{0.0001332371830940},
{0.0002114713639021},
{0.0002965718209744},
{0.0000646152570844,0.0008718666434288,0.0002340934425592},
{0.0003314098715782},
{0.0010529264211655},
{0.0000729354098439},
{0.0002581392228603},
{0.0000431426912546},
{0.0002889530658722},
{0.0020525604328141},
{0.0000278587471694},
{0.0000371852256358},
{0.0001107726991177},
{0.0000959338247776},
{0.0033262140098959},
{0.0053689831512165,0.0000577507093549,0.0003532995581627},
{0.0000826597958803},
{0.0001632149964571},
{0.0000497569181025},
{0.0006300971130840,0.0000292930342257,0.0023151690820232},
{0.0000426891855896},
{0.0000958210751414},
{0.0030953737148084},
{0.0000350145958364},
{0.0000304839517921},
{0.0000495153255761},
{0.0000292798820883},
{0.0002543445825577},
{0.0004694444537163},
{0.0005691320300102},
{0.0004817436635494},
{0.0003125962913036},
{0.0002162071615458},
{0.0001711579710245},
{0.0000425247140229},
{0.0000371606536210},
{0.0001838293075562},
{0.0006697731018066},
{0.0000383780635893},
{0.0001132889464498},
{0.0002743763327599},
{0.0001789055466652},
{0.0007715858221054,0.0000677451267838,0.0020935985692777},
{0.0001832741796970},
{0.0003534486889839},
{0.0000564725808799},
{0.0000308656916022},
{0.0003009229898453},
{0.0001677541434765},
{0.0000855785831809},
{0.0000410656407475},
{0.0003705506622791},
{0.0000397907458246},
{0.0002064507007599},
{0.0000768353715539},
{0.0000510580874979},
{0.0000587438307703},
{0.0001472377479076},
{0.0000776426047087},
{0.0000337131544948},
{0.0007058646082878},
{0.0019949146684376},
{0.0000877182781696},
{0.0000429238677025},
{0.0000414645299315},
{0.0005346612334251},
{0.0025263769142330,0.0000266541633755,0.0022854672485846},
{0.0007850033044815,0.0000324092097580,0.0013073827121407},
{0.0002724395096302},
{0.0013295494951308,0.0000263912398368,0.0015674464209005,0.0000432088077068,0.0008452013889328},
{0.0000470383763313},
{0.0005805294513702},
{0.0000299827493727},
{0.0003278319239616},
{0.0004136101901531},
{0.0004585535824299},
{0.0000436827354133},
{0.0000422368757427},
{0.0004221737682819},
{0.0000264002755284},
{0.0000456484332681},
{0.0005264663696289},
{0.0002009677439928},
{0.0000366101637483},
{0.0000253916364163},
{0.0000673882067204},
{0.0024671892434126,0.0000308507699519,0.0040761765816715,0.0000255115386099,0.0005215017795563},
{0.0000548578090966},
{0.0014645852344111},
{0.0000512179285288},
{0.0000960159897804},
{0.0000742409601808},
{0.0000485724471509},
{0.0000291002970189},
{0.0000983600243926},
{0.0003170526921749,0.0003306844830513,0.0014555702209473},
{0.0000831218138337},
{0.0000795394852757},
{0.0000450754798949,0.0004523787498474,0.0003534358441830},
{0.0000270793996751},
{0.0001517317891121},
{0.0001559641212225},
{0.0000740547552705},
{0.0000308681316674},
{0.0001083695143461},
{0.0000521888285875},
{0.0001598069816828},
{0.0002320811785758,0.0000303252991289,0.0049921784249600},
{0.0002807241082191},
{0.0002228397578001},
{0.0000329373963177},
{0.0003840962946415},
{0.0000596755743027},
{0.0005598922967911,0.0000290222372860,0.0015203311876976,0.0000485307462513,0.0002431965768337,0.0000614318735898,0.0005228615999222},
{0.0022211090293131},
{0.0000979423150420},
{0.0000289828777313},
{0.0000477867685258},
{0.0000309655945748},
{0.0021101912369486,0.0000278094578534,0.0010617615284864,0.0000419191010296,0.0037440718393773},
{0.0001110564395785},
{0.0013060312349699},
{0.0000906602665782},
{0.0001419986039400},
{0.0000515675693750},
{0.0000448345243931},
{0.0003265420198441},
{0.0000502704456449},
{0.0039261984284676},
{0.0001275212615728},
{0.0000267247483134},
{0.0000736884474754},
{0.0000654454156756},
{0.0000458872988820},
{0.0001681441813707},
{0.0000868325904012},
{0.0002128406912088},
{0.0000782319083810},
{0.0036370185310952,0.0000455656908453,0.0015626749549992},
{0.0000285795442760},
{0.0000481584370136},
{0.0001229830980301},
{0.0002017578929663},
{0.0000286929327995},
{0.0001577198952436},
{0.0005522990655154},
{0.0004899213612080,0.0000568359829485,0.0004603676795959,0.0000317415446043,0.0060514259149786,0.0000429135374725,0.0002272597998381},
{0.0001242788583040},
{0.0006104640364647},
{0.0001764614880085},
{0.0000318103991449},
{0.0001563430130482},
{0.0001068425700068},
{0.0043656144067645},
{0.0003204345107079},
{0.0000471493303776},
{0.0000634033977985},
{0.0001120017468929},
{0.0016533132791519,0.0000574644580483,0.0021891825474449,0.0000880619138479,0.0014325964008458,0.0000311376135796,0.0001583906114101},
{0.0000254847630858,0.0028112604618073,0.0000927013233304},
{0.0001324724853039},
{0.0001925284564495},
{0.0001370311528444},
{0.0001302698850632},
{0.0000559590831399},
{0.0001350450068712},
{0.0000320999436080},
{0.0001256995052099},
{0.0003257421851158},
{0.0000623193085194},
{0.0004727223813534},
{0.0000523570850492},
{0.0003075411021709},
{0.0000653958842158},
{0.0001569235771894},
{0.0000470712594688},
{0.0001261650025845},
{0.0002728064656258,0.0002221218943596,0.0001183245480061},
{0.0042963698604435},
{0.0005525086522102},
{0.0000370600149035},
{0.0001499314159155,0.0002814993858337,0.0000283107608557},
{0.0000422960259020},
{0.0001309284865856},
{0.0001315605491400,0.0000815442949533,0.0000285889487714},
{0.0019126009475440,0.0000620229765773,0.0002943873405457},
{0.0000289223566651},
{0.0003807882070541},
{0.0001798332482576},
{0.0012945226752199,0.0000251712556928,0.0043804982978618,0.0000250281020999,0.0001254683881998},
{0.0000264813918620},
{0.0000711327791214},
{0.0004238964915276},
{0.0000262309182435},
{0.0000999599173665},
{0.0000308915134519},
{0.0000909956246614},
{0.0003444792330265,0.0000474806465209,0.0014878428369993,0.0000426351316273,0.0004899439271539},
{0.0001353738754988},
{0.0001245803534985},
{0.0001478909999132},
{0.0000637406781316},
{0.0000349902585149},
{0.0000465429350734},
{0.0000573123358190},
{0.0041274081290467,0.0000838980879635,0.0007099906471558,0.0001826849430799,0.0052673480163503},
{0.0000725589543581},
{0.0002648954093456},
{0.0003773028254509},
{0.0000329824537039},
{0.0000283662844449},
{0.0006551204744028,0.0000292804744095,0.0027729772292078},
{0.0000360085740685},
{0.0000667273774743},
{0.0000584211908281},
{0.0000977217257023},
{0.0002338807880878},
{0.0001217335686088},
{0.0001155132576823},
{0.0000827509611845},
{0.0001569372117519},
{0.0000297165084630},
{0.0000623761489987},
{0.0005339131951332},
{0.0002064153701067},
{0.0000415491722524},
{0.0004119616150856},
{0.0002354533523321},
{0.0017940927736054},
{0.0003503321707249},
{0.0002967161834240},
{0.0053604140169919,0.0000332200899720,0.0026996611117938},
{0.0005562626719475},
{0.0001643718034029},
{0.0001799710243940},
{0.0001134242787957,0.0000656114071608,0.0001584639698267},
{0.0000444777309895},
{0.0003370714485645},
{0.0002318631410599},
{0.0002095759063959},
{0.0000460640005767},
{0.0109443425716890},
{0.0002469906508923},
{0.0004072459042072},
{0.0000812624767423},
{0.0001769179701805},
{0.0000981872454286},
{0.0016611418958637,0.0000254837106913,0.0002463580225594,0.0000277402698994,0.0024242652487010,0.0000274604801089,0.0022404283777578,0.0000304200127721,0.0007794243274257,0.0000745702013373,0.0046952975239838},
{0.0005288520455360},
{0.0000417078398168},
{0.0000306757781655},
{0.0010128365597229,0.0000727211087942,0.0011289918026887},
{0.0011778031131253},
{0.0000290494859219},
{0.0000476363860071},
{0.0000322826094925},
{0.0000311329979450},
{0.0001233578920364},
{0.0007781789302826},
{0.0000305126160383},
{0.0000793486684561},
{0.0007059585973620,0.0000464072264731,0.0002087670564651,0.0000345037579536,0.0015473886156688,0.0000265775825828,0.0013368379855528},
{0.0000289577506483},
{0.0001262250393629},
{0.0000487300604582},
{0.0000578811392188},
{0.0004320836365223},
{0.0000571449697018},
{0.0000919211655855},
{0.0005646836757660},
{0.0001509698927402},
{0.0002379295527935},
{0.0000369692891836},
{0.0000332452952862},
{0.0011291430196725,0.0000259115006775,0.0010022466694936},
{0.0002049061954021},
{0.0000820982828736},
{0.0000339212417603},
{0.0002403891235590,0.0001257815659046,0.0001468190103769},
{0.0000353199467063},
{0.0000538175068796},
{0.0000840606912971},
{0.0007642098069191},
{0.0000688426047564},
{0.0007272192835808,0.0000293066538870,0.0037216997827054},
{0.0001169156208634},
{0.0000324538983405},
{0.0000996334031224},
{0.0000311692077667},
{0.0001290775984526},
{0.0007555976333097,0.0000644266530871,0.0033104211126920},
{0.0002357123494148},
{0.0000316930450499},
{0.0007795884273946,0.0000524771548808,0.0020899047274143},
{0.0000721638873219},
{0.0000293841566890},
{0.0001397898197174},
{0.0001630418151617},
{0.0000674859136343},
{0.0002887140214443},
{0.0002532900571823},
{0.0007022755858488},
{0.0000289712138474},
{0.0000277315638959},
{0.0000784622803330},
{0.0000803509950638},
{0.0027990445338655},
{0.0004714881181717},
{0.0002817137539387},
{0.0000365408919752},
{0.0000253878608346},
{0.0026122071011923,0.0000520657822490,0.0030253730821423},
{0.0001314024627209},
{0.0001970136612654},
{0.0001901878565550},
{0.0029750263347523,0.0000306175239384,0.0013192063160241},
{0.0000763955265284},
{0.0005273139476776},
{0.0000315291471779},
{0.0004721580147743,0.0000269834790379,0.0003763709547929},
{0.0000251377280802},
{0.0000569395646453},
{0.0000877228230238},
{0.0016375759771618,0.0000274037234485,0.0015846427003853},
{0.0000506342537701,0.0005350210070610,0.0000262231826782},
{0.0001240606531501},
{0.0000716251283884},
{0.0000342274345458},
{0.0003116537928581,0.0000482154684141,0.0001224021464586,0.0000384499542415,0.0015087647740729},
{0.0000420923121274},
{0.0001104567945004},
{0.0000299434401095},
{0.0001994923055172,0.0000361049771309,0.0033052538884804,0.0000349754653871,0.0021158096753061},
{0.0001492342501879},
{0.0000433891229331},
{0.0003233739584684},
{0.0000584915205836},
{0.0001427538394928},
{0.0018383563971147,0.0000359613895416,0.0013638360351324,0.0000272680260241,0.0060295317483542,0.0000486373752356,0.0001202701106668},
{0.0000306561719626},
{0.0019362967484631},
{0.0000375915244222},
{0.0003110723495483},
{0.0003355725109577},
{0.0001841390877962},
{0.0005073283910751},
{0.0000656450763345},
{0.0000340504646301},
{0.0001503736674786},
{0.0001438142061234},
{0.0000251699350774},
{0.0000749377384782},
{0.0022379359558690},
{0.0002813822925091},
{0.0000365356393158},
{0.0000396293960512},
{0.0002517038285732},
{0.0000619704052806},
{0.0001158914417028},
{0.0000911690592766},
{0.0034659235989093},
{0.0001746884137392},
{0.0000366529002786},
{0.0000539310313761},
{0.0003132526576519},
{0.0002098983973265},
{0.0003732167482376},
{0.0000409075766802},
{0.0000265620108694},
{0.0001254034787416},
{0.0001224941387773},
{0.0000259511489421},
{0.0004893616014160,0.0000867192298174,0.0016866395354737,0.0000316370833316,0.0005237465156242,0.0000315841473639,0.0037012493852526},
{0.0003985926620662},
{0.0004144517481327},
{0.0001729505360126},
{0.0000599517449737},
{0.0005370355844498},
{0.0002182459831238},
{0.0000570295825601},
{0.0004758330285549},
{0.0003049661517143},
{0.0003316107988358},
{0.0003664145581424},
{0.0000267222262919},
{0.0004755557775497},
{0.0048386657893425},
{0.0001757344603539},
{0.0000810380652547},
{0.0001970511525869},
{0.0000694083198905},
{0.0006529739499092},
{0.0000469502396882},
{0.0015224301665439,0.0000268114749342,0.0013503637842950,0.0000298374369740,0.0007186517361552},
{0.0000377626679838},
{0.0000956065058708},
{0.0004509146809578},
{0.0001921648234129},
{0.0002979312539101},
{0.0000616036057472},
{0.0000266123041511},
{0.0004895157217979},
{0.0005809244513512},
{0.0000436331853271},
{0.0004297806620598},
{0.0001097405776381},
{0.0000309515800327},
{0.0004243216216564},
{0.0003012236952782},
{0.0001990536153316},
{0.0000734313577414},
{0.0002904212474823},
{0.0000797423943877},
{0.0001090592965484},
{0.0000255565010011},
{0.0000664840489626},
{0.0000264953542501},
{0.0000311594419181},
{0.0009873327626847},
{0.0005104937553406},
{0.0000679317638278},
{0.0000798493847251},
{0.0000727798193693},
{0.0000813578516245},
{0.0000905973240733},
{0.0006421512365341},
{0.0022019332722994},
{0.0014093018770218},
{0.0003991718590260},
{0.0001855065375566},
{0.0000403452999890},
{0.0000657748579979},
{0.0000292826034129},
{0.0000308599174023},
{0.0000784839093685,0.0001026200577617,0.0001284794956446,0.0000510699115694,0.0005821686349809},
{0.0001173423454165},
{0.0008161851167679},
{0.0001585366278887},
{0.0001056513413787},
{0.0000432504937053},
{0.0000376946553588},
{0.0000635531395674},
{0.0004305212199688},
{0.0002363889664412},
{0.0000525727607310},
{0.0000439369641244},
{0.0006312754154205,0.0000372666977346,0.0015623555043712,0.0000352562293410,0.0022324083839776},
{0.0008694575428963},
{0.0002381637096405},
{0.0003134994804859},
{0.0001258974969387,0.0000255346838385,0.0001403181701899,0.0000265033897012,0.0000481784753501,0.0000903871804476,0.0002139758616686},
{0.0000378095693886},
{0.0057165470146574,0.0000604171678424,0.0004146195054054},
{0.0000616287514567},
{0.0000642733275890},
{0.0001406051069498},
{0.0001134170964360},
{0.0001367153972387,0.0009178836345673,0.0001548892706633},
{0.0001721088439226},
{0.0000284930728376},
{0.0001680573225021,0.0000975045040250,0.0001546593308449},
{0.0001495913863182},
{0.0010826544875745,0.0000312653332949,0.0001137540489435},
{0.0001922521293163},
{0.0000300688818097},
{0.0000656856223941},
{0.0001565511822701,0.0000618373341858,0.0019972666738322,0.0000459245033562,0.0020264837509021},
{0.0000453580990434},
{0.0000403570532799},
{0.0004138602018356},
{0.0000666486024857},
{0.0000957853272557},
{0.0002363947182894},
{0.0008365826312220},
{0.0005131131410599},
{0.0001796012073755},
{0.0000602765381336},
{0.0007282903357409,0.0000400185100734,0.0011932126879692,0.0000562278069556,0.0019172513578087,0.0000546760447323,0.0004519414007664,0.0000494383648038,0.0005642271637917,0.0000312940627337,0.0018266021973686},
{0.0001200660169125},
{0.0002185257226229,0.0000424797497690,0.0046344176679850,0.0000305834896863,0.0044285358744091},
{0.0001251862198114},
{0.0000408895686269,0.0003640163242817,0.0002782599627972},
{0.0000810037180781},
{0.0001158067733049},
{0.0000608529224992,0.0007994693517685,0.0000341636203229},
{0.0001382594555616},
{0.0001142332330346},
{0.0039851961713284,0.0000339123606682,0.0015233197426423,0.0000377709083259,0.0002613427042961,0.0000946876481175,0.0028922331109643},
{0.0003083992004395},
{0.0004971932172775,0.0000357240699232,0.0008407533764839,0.0000355170182884,0.0006489425161853,0.0000545743182302,0.0012560481426772},
{0.0002480043917894},
{0.0000678226947784},
{0.0000869235992432},
{0.0003026155531406},
{0.0000722035169601},
{0.0001728618443012},
{0.0001646503508091},
{0.0001516329199076},
{0.0001461424529552},
{0.0000677931085229},
{0.0003108266592026},
{0.0004395988285542},
{0.0003222152292728},
{0.0001385116130114},
{0.0000731367394328},
{0.0000701793804765},
{0.0000354218706489},
{0.0001683669090271},
{0.0000324312746525},
{0.0000484626889229},
{0.0000434981919825},
{0.0000320303440094},
{0.0001023673638701},
{0.0000515171177685},
{0.0008976960625732},
{0.0013424041625112,0.0000477593317628,0.0048817142452463,0.0000283345617354,0.0021176697812625},
{0.0000288416985422},
{0.0002004769295454},
{0.0000273631811142},
{0.0000288391821086},
{0.0001434022933245},
{0.0000817425549030},
{0.0000647760778666},
{0.0000544754080474},
{0.0001106051579118},
{0.0008219589591026,0.0000308583639562,0.0005356080848724,0.0000358994528651,0.0022422581179999,0.0000441258884966,0.0039860670819180,0.0000268401000649,0.0005736051797867},
{0.0001230340376496},
{0.0003770925700665},
{0.0001134848520160},
{0.0004814701676369},
{0.0000927763506770},
{0.0001427452713251},
{0.0017718805074692},
{0.0000385695248842},
{0.0005734960450209},
{0.0000425507798791},
{0.0001353763490915},
{0.0000346128679812},
{0.0001015394479036},
{0.0000265884529799},
{0.0001338946670294},
{0.0000309933591634},
{0.0001365284174681},
{0.0000500624924898},
{0.0002743696868420},
{0.0002818749248981},
{0.0002972957789898},
{0.0000463329292834},
{0.0002098470777273},
{0.0000867422223091},
{0.0003641594350338},
{0.0000640397965908},
{0.0000482727922499},
{0.0001591954678297},
{0.0002534500062466},
{0.0001766596585512},
{0.0000315095447004},
{0.0001609075367451},
{0.0003374008536339},
{0.0002651072740555},
{0.0002660366296768},
{0.0001168268918991},
{0.0000828821659088},
{0.0007552176117897},
{0.0000880030244589},
{0.0000311348326504},
{0.0028390867654234},
{0.0006468096375465,0.0000796670317650,0.0001538540273905},
{0.0002873521745205},
{0.0002450323253870},
{0.0002107059955597,0.0016949939727783,0.0001786646842957},
{0.0002395037114620},
{0.0000480153299868},
{0.0000278805810958},
{0.0020078174393857,0.0000533089824021,0.0004635111689568},
{0.0002510063946247},
{0.0001199029907584},
{0.0000529648698866},
{0.0001577584743500},
{0.0000327579639852,0.0000410285182297,0.0013384212993551},
{0.0001636774539948},
{0.0002975116372108},
{0.0002027468532324},
{0.0002989504635334},
{0.0004304511547089,0.0000478391014040,0.0003401746563613,0.0000272704716772,0.0012265761801973},
{0.0014943090988672},
{0.0002055767327547},
{0.0034674166503828,0.0000332005545497,0.0005748357744887},
{0.0000451956391335},
{0.0000680212900043},
{0.0002023546099663},
{0.0002305564433336},
{0.0000757241249084},
{0.0002335442006588},
{0.0001178137362003},
{0.0000535830743611},
{0.0006702887415886},
{0.0000258307233453},
{0.0008452181220055},
{0.0005851953579113,0.0000451122559607,0.0004027462601662},
{0.0002688073515892},
{0.0002004607319832},
{0.0000250238627195},
{0.0016278443266638},
{0.0000454740151763},
{0.0001977979242802},
{0.0000855547487736,0.0000464766547084,0.0002709778249264},
{0.0008605594038963},
{0.0017738728802651,0.0000480623617768,0.0001173048019409},
{0.0002173017561436},
{0.0001362425684929},
{0.0000328030586243},
{0.0000404326990247},
{0.0006608352437615,0.0000810219049454,0.0025574622757267,0.0000458653792739,0.0010224016869906},
{0.0000927904471755},
{0.0003292829692364},
{0.0031764477090910,0.0003796652555466,0.0001247264370322},
{0.0001212619841099},
{0.0000311927720904},
{0.0002144171744585},
{0.0020640769819438,0.0000265621356666,0.0028316377548617},
{0.0002540858685970},
{0.0001695839911699},
{0.0003090631961823},
{0.0000902620926499},
{0.0000419028475881,0.0012665898799896,0.0004528193771839},
{0.0002462050169706},
{0.0000357113257051},
{0.0001449271440506},
{0.0003848550617695},
{0.0000257803723216},
{0.0001215963140130},
{0.0014446909393591,0.0000495618022978,0.0020608250051737,0.0000359331257641,0.0054341337260557},
{0.0000311223249882},
{0.0000521201044321},
{0.0000356994643807},
{0.0003042450547218},
{0.0000601418577135},
{0.0001168045774102},
{0.0002092004567385},
{0.0006391801834106},
{0.0002044125292450},
{0.0000315381400287},
{0.0002310352325439},
{0.0000332834236324},
{0.0002201774418354},
{0.0005810589790344},
{0.0000358635112643},
{0.0000285171363503},
{0.0001259400844574},
{0.0001446819752455},
{0.0000386822186410},
{0.0000255317073315},
{0.0000263713151217},
{0.0002959562242031},
{0.0000339633822441},
{0.0000307868663222},
{0.0001088120415807},
{0.0000366829000413},
{0.0016969629265368},
{0.0001889084577560},
{0.0000491154454648},
{0.0000773817077279},
{0.0004391678869724},
{0.0001489183306694},
{0.0002686151564121},
{0.0000291914958507},
{0.0021578220501542,0.0000259904768318,0.0015492736101151},
{0.0001019583791494,0.0000715418606997,0.0000690677240491},
{0.0009783257243107,0.0000342807993293,0.0018343838127330,0.0000936563611031,0.0005863687992096},
{0.0000365573689342},
{0.0001328730881214},
{0.0000772108957171},
{0.0000449078716338},
{0.0001028833538294},
{0.0018490501054330},
{0.0003681032359600},
{0.0000853901132941},
{0.0000549245178699},
{0.0001043987497687},
{0.0000259979497641},
{0.0000479622147977},
{0.0040262103799032},
{0.0000394030958414},
{0.0002054519951344},
{0.0000944624841213},
{0.0037409866657108},
{0.0002225149273872},
{0.0002127177119255},
{0.0000432211533189},
{0.0000439360551536},
{0.0006585253281519},
{0.0000672258883715},
{0.0002085708379745},
{0.0000538734532893},
{0.0000450468845665},
{0.0034355224547908},
{0.0000330649465322},
{0.0002346237003803},
{0.0008600115776062,0.0000408081151545,0.0001316446810961,0.0000309737809002,0.0010900426274166},
{0.0000477851405740},
{0.0000606889165938},
{0.0000394829958677},
{0.0001274660378695},
{0.0000728109329939},
{0.0004227169454098},
{0.0001073815003037},
{0.0000657730028033},
{0.0001424711942673},
{0.0000388797596097},
{0.0000437269918621},
{0.0001100880205631},
{0.0000257035773247},
{0.0000474514663219},
{0.0006405446862918,0.0000299324542284,0.0006560281161219},
{0.0005946908593178},
{0.0000592434071004},
{0.0005361639857292},
{0.0000683288648725},
{0.0000604654289782},
{0.0001748112887144,0.0000442907847464,0.0017537636365741},
{0.0015638386597857,0.0000272819865495,0.0005287882685661},
{0.0004896585345268,0.0006896660923958,0.0002804528474808},
{0.0001821237504482},
{0.0001262370496988},
{0.0010872830152512},
{0.0000372741557658},
{0.0000490452088416},
{0.0004458805322647},
{0.0000374187268317},
{0.0002965352833271},
{0.0000353213958442},
{0.0000255906600505},
{0.0001838420927525},
{0.0000345810875297},
{0.0001572388559580},
{0.0029380240773316,0.0000319217033684,0.0001749086217023},
{0.0023966443206882},
{0.0001286349147558},
{0.0001336696892977},
{0.0003010184466839},
{0.0000273569300771},
{0.0000843772962689},
{0.0001115652993321},
{0.0001459688097239},
{0.0046714497436769,0.0000697225984186,0.0006261530518532},
{0.0001038899272680},
{0.0002486030906439},
{0.0002082816660404},
{0.0000269378945231},
{0.0000934266969562},
{0.0001948579251766},
{0.0001101620942354},
{0.0000258061289787},
{0.0001707724183798},
{0.0000394771285355},
{0.0000427251011133},
{0.0000287571717054},
{0.0000409470684826},
{0.0005625339746475},
{0.0000376165695488},
{0.0004220028519630},
{0.0001922565102577},
{0.0003452228307724},
{0.0000441157557070},
{0.0000438725613058},
{0.0003985469336621,0.0000291452705860,0.0011616251468658,0.0000449203997850,0.0019698415545281},
{0.0001764959394932},
{0.0000791110470891},
{0.0000355376191437},
{0.0000601411797106},
{0.0002367825210094},
{0.0001863248795271},
{0.0000337875783443},
{0.0000755472108722},
{0.0001524125486612},
{0.0001892246007919},
{0.0000319413580000},
{0.0004027345478535,0.0000278016421944,0.0020234829364344},
{0.0000841495022178},
{0.0001829799562693},
{0.0004385953843594},
{0.0000365884676576},
{0.0000859566330910},
{0.0001051690131426},
{0.0001060181260109},
{0.0002118539959192},
{0.0000654845982790},
{0.0000282929856330},
{0.0000307495612651},
{0.0000906368196011},
{0.0000318335667253},
{0.0002997499704361},
{0.0000534692220390},
{0.0000404701195657},
{0.0001266788691282},
{0.0000313180424273},
{0.0003741022050381},
{0.0000299098715186},
{0.0000872201621532},
{0.0003379543721676},
{0.0004764492511749},
{0.0009204442028422,0.0000498135574162,0.0021153452610597},
{0.0003866212964058},
{0.0001227360665798},
{0.0001411573886871},
{0.0000321659818292},
{0.0000685448125005},
{0.0000884809717536},
{0.0000567195899785},
{0.0041089279111475},
{0.0002988162934780},
{0.0000459299050272},
{0.0004962210059166,0.0001632839739323,0.0003951616231352,0.0000568993911147,0.0013119564652443,0.0000723999366164,0.0008218598365784,0.0000370713472366,0.0004459083378315,0.0000546931289136,0.0008100882619619,0.0000328042507172,0.0003447296619415,0.0000374312661588,0.0005353189045563},
{0.0000714458823204},
{0.0000319193415344},
{0.0001547912806273},
{0.0022117636967450},
{0.0001047478169203},
{0.0004480847716331},
{0.0001604707539082},
{0.0000361559912562},
{0.0001625632941723},
{0.0000319771505892},
{0.0001233903020620},
{0.0001498658657074},
{0.0000275049265474},
{0.0012756860633381,0.0000512266904116,0.0001987962424755},
{0.0007909616231918},
{0.0004992328882217,0.0000297272354364,0.0013128733634949,0.0000420479252934,0.0000843230783939},
{0.0002079095691442},
{0.0001564265936613},
{0.0000657522678375},
{0.0002571328282356},
{0.0001364097744226},
{0.0000577460043132},
{0.0012578869797289,0.0000409543663263,0.0008024598648772},
{0.0000363087467849},
{0.0046424453122308,0.0000456682480872,0.0010581200122833,0.0000337383560836,0.0014000072812487},
{0.0001832852363586},
{0.0000319179520011},
{0.0001737518757582},
{0.0000360352136195},
{0.0003089433610439},
{0.0002295928746462},
{0.0001242662519217},
{0.0002038944661617},
{0.0002068490535021},
{0.0008553905261215},
{0.0002149639129639},
{0.0015825645877048},
{0.0002252499759197},
{0.0000260744541883,0.0002683711946011,0.0004615710973740},
{0.0006558635830879},
{0.0001898871511221},
{0.0000311700515449},
{0.0000340580604970},
{0.0010438131298870,0.0000316229909658,0.0005063518229872},
{0.0000408319793642},
{0.0000689474865794},
{0.0015808819268132,0.0000557781830430,0.0005856236810796},
{0.0000304259229451},
{0.0000258844736964},
{0.0000287190079689},
{0.0004901379942894},
{0.0013727816343307},
{0.0000809382423759},
{0.0000917592272162},
{0.0041501418305561},
{0.0001924664229155},
{0.0000554467476904},
{0.0031716436599381,0.0000255497209728,0.0012218463438330,0.0000661780685186,0.0001823517531157},
{0.0003292699158192},
{0.0006427777409554,0.0000271921996027,0.0014735112532508},
{0.0005433876514435},
{0.0002850837111473},
{0.0012549709620653},
{0.0002487262785435},
{0.0000745381936431},
{0.0013759018603014},
{0.0000968863442540,0.0007987790107727,0.0004668019115925},
{0.0002630017101765},
{0.0000316976681352},
{0.0002936462759972},
{0.0001801649034023},
{0.0003830179870129},
{0.0002683846056461,0.0000333658494055,0.0007153062224388,0.0001073496863246,0.0010464160825359,0.0000483794100583,0.0003002624213696},
{0.0004178586006165},
{0.0001703993380070},
{0.0000614112392068},
{0.0002820602655411},
{0.0002033327072859},
{0.0000419827811420},
{0.0004981827735901},
{0.0002102438062429},
{0.0000601855926216},
{0.0000963093489408},
{0.0004280636608601},
{0.0000838640034199},
{0.0003531661927700},
{0.0001048454716802},
{0.0000978543236852},
{0.0003511992692947},
{0.0003423545360565},
{0.0001610393077135,0.0008873296976089,0.0003216301500797},
{0.0000349188484251},
{0.0018155976221897},
{0.0000901863127947},
{0.0000273225419223},
{0.0000280340686440},
{0.0005968397855759},
{0.0000389957055449},
{0.0000346010960639},
{0.0008132488727570},
{0.0001798313260078},
{0.0002510265111923},
{0.0001982494890690},
{0.0006201203670353,0.0000715097188950,0.0026101458682097,0.0000434896089137,0.0011782613992691},
{0.0002609498202801},
{0.0000313943065703},
{0.0001947326958179,0.0001205928251147,0.0001858851760626},
{0.0001157295927405},
{0.0000609722808003},
{0.0004561150297523},
{0.0001029218584299},
{0.0000668991506100},
{0.0000315693765879},
{0.0000373715981841},
{0.0000393426716328},
{0.0000729933306575},
{0.0000388178676367},
{0.0001720193326473},
{0.0000719384849072},
{0.0000347658470273},
{0.0004148081243038},
{0.0000848699584603},
{0.0004580108225346},
{0.0000397092625499},
{0.0002355509400368,0.0000835788026452,0.0004150534272194},
{0.0000273907911032},
{0.0001184941157699},
{0.0000373012647033},
{0.0004264125525951},
{0.0021124768519076},
{0.0001378753781319},
{0.0001414494961500},
{0.0000578571856022},
{0.0000598088838160},
{0.0001118586957455},
{0.0000696304142475},
{0.0001101922243834},
{0.0001203357325867,0.0000316565409303,0.0010118902147515,0.0000317583307624,0.0043777802772820,0.0000425083935261,0.0015962700909004},
{0.0001278803646564},
{0.0000427597984672},
{0.0000963733494282},
{0.0001096920818090},
{0.0000953326970339},
{0.0004549897611141},
{0.0000733022987843},
{0.0000665732249618},
{0.0000321844443679},
{0.0001059049889445},
{0.0000383508093655},
{0.0003767858743668},
{0.0015331649227301},
{0.0000261922683567},
{0.0025461962223053,0.0000454960688949,0.0014256712186616},
{0.0001672895848751},
{0.0003262132108212},
{0.0000924717932940},
{0.0002043425738811},
{0.0000969329625368},
{0.0000354780629277},
{0.0000544704943895},
{0.0030306742258836,0.0000533220618963,0.0020932616423815,0.0001362335830927,0.0007850130796432},
{0.0000409636124969},
{0.0001521396785975},
{0.0004357865750790},
{0.0001057364717126},
{0.0004416321516037},
{0.0001676287055016},
{0.0002733629047871},
{0.0012973421765491},
{0.0000948517024517},
{0.0000449292622507},
{0.0000446373969316},
{0.0000362550541759},
{0.0022555572590791},
{0.0000393124483526},
{0.0036361018413154,0.0000427364222705,0.0040643957126886},
{0.0000617028810084},
{0.0001458467245102},
{0.0000919125154614},
{0.0000375468768179},
{0.0001466397345066,0.0007029947638512,0.0007835220694542},
{0.0001813790202141},
{0.0003942503035069},
{0.0000449733883142},
{0.0000778532177210},
{0.0002314305454493},
{0.0000653843134642},
{0.0000515987724066},
{0.0010142593109049},
{0.0000494469702244},
{0.0000898118913174},
{0.0000540505610406},
{0.0003375874459743},
{0.0009418334364891},
{0.0041996236912819},
{0.0004273144006729},
{0.0000658690705895},
{0.0005752454996109},
{0.0001687895953655},
{0.0000252121984959},
{0.0000407020822167},
{0.0000476123429835},
{0.0002334942817688},
{0.0000596931390464},
{0.0006162441978522,0.0000544326901436,0.0019782650559209,0.0000548084303737,0.0019762564334087,0.0000556080900133,0.0024612935564946},
{0.0001454080492258},
{0.0009516555070877},
{0.0001649569422007},
{0.0000560094155371},
{0.0002495882958174},
{0.0000743845775723},
{0.0000261153373867},
{0.0001773281544447,0.0002031497061253,0.0002266231924295},
{0.0000700654163957},
{0.0001347682327032},
{0.0000996619313955},
{0.0001235090419650},
{0.0002298634499311},
{0.0006765546202660},
{0.0016895789550617},
{0.0003913121223450},
{0.0000388439260423},
{0.0001151012331247},
{0.0000355925448239},
{0.0001052606999874},
{0.0005205327880103,0.0000311002656817,0.0017919934516540},
{0.0063610896825558,0.0000278387740254,0.0004515638351440,0.0000319679044187,0.0003695566058159,0.0000705689862370,0.0022969493060373},
{0.0040819619864924},
{0.0007414249181747},
{0.0000267186407000},
{0.0000854332819581},
{0.0001265522539616},
{0.0000258232839406},
{0.0001888220161200},
{0.0002354103624821},
{0.0000372212938964},
{0.0000427546091378},
{0.0000490496493876},
{0.0001752011030912},
{0.0000305504389107},
{0.0015008729798719,0.0000268003717065,0.0011402463377453},
{0.0007185708284378},
{0.0000485660657287},
{0.0000355150997639},
{0.0000371453016996},
{0.0000262344162911},
{0.0024902593335137},
{0.0002112747132778},
{0.0003624815642834},
{0.0000765867754817},
{0.0000705766603351},
{0.0005078499317169},
{0.0000739997252822},
{0.0000743706971407},
{0.0001145415380597},
{0.0000308922976255},
{0.0000931050851941},
{0.0000429922826588},
{0.0000450107827783},
{0.0001033952683210},
{0.0003151557445526},
{0.0000645654946566},
{0.0000497525073588},
{0.0000555994175375},
{0.0005647335052490},
{0.0012461253097281},
{0.0000543933324516},
{0.0001634170562029},
{0.0002250383049250},
{0.0002764270305634},
{0.0000304438341409},
{0.0000302338879555},
{0.0006021870933473,0.0000382970161736,0.0000930769443512,0.0000347269214690,0.0037384978206828},
{0.0007719172653742,0.0000425957739353,0.0004830858409405},
{0.0002302823662758,0.0000628610625863,0.0002277314662933},
{0.0001420324891806},
{0.0000972556099296},
{0.0000572936944664},
{0.0000318318232894},
{0.0038879051622935},
{0.0000399021804333},
{0.0004445753991604},
{0.0042971018480603,0.0000257034134120,0.0041547529397503},
{0.0000693022906780},
{0.0000868462920189},
{0.0000312999859452},
{0.0003703555762768},
{0.0001716002374887},
{0.0000332440920174},
{0.0000514089055359},
{0.0002846400141716},
{0.0007109977602959},
{0.0001809524744749},
{0.0001100023686886},
{0.0000443394705653},
{0.0000575260333717},
{0.0005008290410042,0.0000570591911674,0.0002741949041374,0.0000333221554756,0.0008042468428612},
{0.0001340208351612},
{0.0000438942983747},
{0.0000350236073136},
{0.0013992846012115,0.0000441983975470,0.0031045613359893,0.0000435374230146,0.0027868368187919},
{0.0016704518329352},
{0.0001072740107775},
{0.0000553708523512},
{0.0000400353446603},
{0.0003682727515697},
{0.0000325839556754},
{0.0001866488009691},
{0.0000576645061374},
{0.0000630948618054},
{0.0000443975999951},
{0.0002199144959450},
{0.0000801253244281},
{0.0001214405000210},
{0.0000456714965403},
{0.0001177493855357},
{0.0001004945561290},
{0.0000481669269502},
{0.0000295896567404},
{0.0000928997173905},
{0.0005232838392258},
{0.0000783880800009},
{0.0006933282017708},
{0.0001341993361712},
{0.0000425382889807},
{0.0001432351022959},
{0.0003416165709496,0.0000546434894204,0.0002430625855923,0.0000602940372191,0.0008737540906295},
{0.0003805752992630},
{0.0001341498345137},
{0.0000365529581904},
{0.0000649070888758},
{0.0002612358331680},
{0.0011120177671837},
{0.0000271512530744},
{0.0020819807600637},
{0.0000413537733257},
{0.0000307561475784},
{0.0001030843406916},
{0.0000771775171161},
{0.0002916894555092},
{0.0003521998226643},
{0.0002916460931301},
{0.0010326361621264,0.0000628566732630,0.0003468572795391},
{0.0001367800980806,0.0000520710721612,0.0020450047459453,0.0000726673975587,0.0014106875117868},
{0.0022409468097612},
{0.0021112169021217,0.0000327880568802,0.0021635445277207,0.0000372157543898,0.0011303208445897,0.0000545978769660,0.0022434942140244},
{0.0000933801978827},
{0.0001214266493917},
{0.0000257314629853},
{0.0001395518183708},
{0.0000353453233838,0.0000294745508581,0.0011525775548071},
{0.0001462525427341},
{0.0006172119975090},
{0.0022154771175119},
{0.0000603944212198},
{0.0000327143259346},
{0.0002006167322397},
{0.0002444746345282},
{0.0000310987439007},
{0.0001473372578621},
{0.0003716203672811},
{0.0003817312121391},
{0.0000480676330626},
{0.0000272478088737},
{0.0007884584069252,0.0000481700822711,0.0006972263958305,0.0000347425304353,0.0015838430989534},
{0.0002865610718727},
{0.0001387227922678},
{0.0002533118724823},
{0.0007110925316811,0.0000263752620667,0.0016553450826323},
{0.0003885545730591},
{0.0001277612298727},
{0.0012270551619586},
{0.0001767471134663},
{0.0018096502799308},
{0.0001561106145382},
{0.0001079248934984},
{0.0001203530877829},
{0.0000464827790856},
{0.0000606680996716,0.0000347015894949,0.0000791790932417},
{0.0001317276358604},
{0.0001516693383455},
{0.0000695840194821},
{0.0000971467196941},
{0.0000250857640058},
{0.0000270041823387},
{0.0011800691420212},
{0.0000544963777065},
{0.0031549911396578,0.0002215513288975,0.0001972089409828},
{0.0000265823528171},
{0.0000313307121396},
{0.0002400552630424},
{0.0003792280256748},
{0.0000470316708088},
{0.0002703771293163},
{0.0000415514856577},
{0.0000573218353093},
{0.0001709295958281},
{0.0004837050139904},
{0.0000624063797295},
{0.0001748831868172},
{0.0013815682495479},
{0.0000802139416337},
{0.0024756264090538,0.0000466998890042,0.0003539846837521},
{0.0000505897551775},
{0.0000403764992952},
{0.0005231158914976,0.0000320449061692,0.0002898800969124},
{0.0002653284072876},
{0.0000503047704697},
{0.0000446965359151},
{0.0000693156495690},
{0.0000920809358358},
{0.0002523950934410},
{0.0005547814965248},
{0.0002637950778008},
{0.0005532363653183},
{0.0000298958811909},
{0.0014319939613342},
{0.0000313062481582},
{0.0000284662246704},
{0.0001479476839304},
{0.0000566326715052},
{0.0000345951691270},
{0.0002292094230652},
{0.0014897417296888,0.0000416367910802,0.0002203936299775},
{0.0000403381064534},
{0.0002849100530148},
{0.0000427404157817},
{0.0021735856295563,0.0000377994216979,0.0012642952995375},
{0.0035067165941000,0.0000552540384233,0.0007399360807613},
{0.0001202334612608},
{0.0000745310708880},
{0.0004152667801827},
{0.0000283400565386},
{0.0000359537042677},
{0.0011592384115793,0.0000423507168889,0.0004849915504456},
{0.0001017617657781},
{0.0007350067105144,0.0000282990764827,0.0001262822151184},
{0.0000509196333587},
{0.0000873603001237},
{0.0001679796874523},
{0.0000273165125400},
{0.0009187596783740},
{0.0005042746160179},
{0.0000471123419702},
{0.0000624378696084},
{0.0000658470168710},
{0.0022420402700081,0.0000457360073924,0.0007229105570586,0.0002029248476028,0.0000487782806158},
{0.0000344206430018,0.0004580799043179,0.0000484168380499},
{0.0000250111818314},
{0.0000387817882001},
{0.0007123669809662},
{0.0000285410732031},
{0.0001415137499571},
{0.0003234332799911,0.0009235566854477,0.0001815358698368},
{0.0000392546430230},
{0.0003272280097008},
{0.0000396921224892},
{0.0000317052416503},
{0.0005877630850300,0.0000265628714114,0.0015542174922302,0.0000444826558232,0.0000324635952711},
{0.0001302703171968},
{0.0000252760127187},
{0.0006496929526329},
{0.0000328009761870},
{0.0003114396333694},
{0.0002705202400684},
{0.0001430423706770},
{0.0007180798053741,0.0000318159833550,0.0022369247516617,0.0000260163638741,0.0015716975238174},
{0.0004755048155785},
{0.0001089340671897},
{0.0000605770274997},
{0.0000278470460325},
{0.0000970769599080},
{0.0027703250849154},
{0.0002104836106300},
{0.0000344932004809},
{0.0000978816151619},
{0.0001205536723137},
{0.0000254191346467},
{0.0000283645652235},
{0.0004894978702068},
{0.0001738634705544},
{0.0000903176441789},
{0.0000254719592631},
{0.0044487000438094,0.0000411558784544,0.0002055900394917,0.0000357439368963,0.0019297232460231},
{0.0020462706089020},
{0.0000258556697518},
{0.0003182696104050},
{0.0000275641158223},
{0.0000274023357779},
{0.0000939838811755},
{0.0000302171856165},
{0.0009948844909668,0.0000709594339132,0.0078038075579389,0.0000301307868212,0.0002020452022552,0.0000275560952723,0.0014429206289351,0.0002494070827961,0.0001270429342985},
{0.0000517632067204},
{0.0000320324823260},
{0.0005535262227058},
{0.0000806256234646},
{0.0002708030641079},
{0.0000523776374757},
{0.0003823434710503},
{0.0000270118974149},
{0.0000282911788672},
{0.0001417224705219},
{0.0001203911378980},
{0.0005486822128296},
{0.0002206106036901},
{0.0001412187218666},
{0.0000453698001802},
{0.0004627481997013},
{0.0000580818392336},
{0.0002168357223272},
{0.0005964707676321,0.0000588442720473,0.0002488077431917},
{0.0000449569188058},
{0.0000317287370563},
{0.0000605645552278},
{0.0004337424635887},
{0.0000313523262739},
{0.0003557999730110},
{0.0000525684319437},
{0.0010163086652756},
{0.0000260453317314},
{0.0033699908494018,0.0000317136310041,0.0011034384701634},
{0.0004680454730988},
{0.0000483437255025},
{0.0022057822193019,0.0000385296009481,0.0005405125617981,0.0000359042063355,0.0009834386110306},
{0.0000522262267768},
{0.0006216020788997},
{0.0000319629721344},
{0.0003739904463291,0.0000288125574589,0.0018960442624521,0.0000343257077038,0.0027482693288475,0.0000304140895605,0.0038078871299513},
{0.0000553247593343},
{0.0004481830613222},
{0.0000568101108074},
{0.0000588420219719},
{0.0000383997820318},
{0.0000310023091733},
{0.0000315490700305},
{0.0000320892632008},
{0.0002209424823523},
{0.0005495594143867},
{0.0003188892006874},
{0.0000681795328856},
{0.0002029266953468},
{0.0000250805560499},
{0.0000590410493314},
{0.0000348269194365},
{0.0021897650002502},
{0.0014753330945969},
{0.0000540705099702},
{0.0001726529896259},
{0.0000307529885322},
{0.0002480347007513,0.0000591330677271,0.0026014599716291,0.0000523795597255,0.0001331545114517},
{0.0018715027216822},
{0.0000647658780217},
{0.0000292057935148},
{0.0000338690454373},
{0.0002393314838409},
{0.0007443842841312},
{0.0000670523345470},
{0.0000436218008399},
{0.0009936053156853,0.0000380217358470,0.0021165375743585,0.0000250929594040,0.0006685084700584},
{0.0000866577252746},
{0.0007431266307831},
{0.0002321134656668},
{0.0002534355819225},
{0.0000545800030231},
{0.0000449693016708},
{0.0013646190376021},
{0.0001631989926100},
{0.0000574619285762},
{0.0000636343955994},
{0.0000395895354450},
{0.0021647193300305,0.0000269691031426,0.0003924052808434},
{0.0000589880011976},
{0.0000259276703000},
{0.0003799169361591},
{0.0002357200980186},
{0.0003992238938808},
{0.0000679783150554},
{0.0000751883983612,0.0000370054803789,0.0056650754754955},
{0.0000702810883522},
{0.0000313293561339},
{0.0014374274217989,0.0000256960373372,0.0025646138631273},
{0.0031743412478827,0.0000294131264091,0.0002444849461317,0.0000309981014580,0.0010587730202824},
{0.0000593951269984},
{0.0000472094118595},
{0.0001908938735723},
{0.0002537850439548},
{0.0006914920210838},
{0.0008232252839953,0.0000351829491556,0.0053875382596161},
{0.0000816952288151},
{0.0001837399452925},
{0.0025840749891795},
{0.0000340061634779},
{0.0000998293682933},
{0.0001236356422305},
{0.0001078201085329},
{0.0001588573753834},
{0.0000285502746701},
{0.0018561926173279,0.0000407183356583,0.0000297636128962},
{0.0012649619579315},
{0.0003792266547680,0.0000297241639346,0.0001669515818357,0.0000348762013018,0.0018026308957487},
{0.0000251318905503},
{0.0001840490102768},
{0.0000959351658821},
{0.0008175926785916,0.0000296784956008,0.0016190040354850},
{0.0000698907822371},
{0.0000601181685925},
{0.0002482064515352},
{0.0003292743861675},
{0.0000803591534495},
{0.0003294248282909},
{0.0000989599153399},
{0.0000412710532546},
{0.0000947728231549},
{0.0001483158171177},
{0.0000692881643772},
{0.0000333609506488},
{0.0000261382013559},
{0.0000446629114449},
{0.0003820609450340},
{0.0001401624977589},
{0.0028376427791081,0.0000307283569127,0.0007260983497836,0.0000403348319232,0.0009597184062004},
{0.0000393187403679},
{0.0002484606690705,0.0000587042905390,0.0003936802628450},
{0.0005688288211823},
{0.0003069480061531},
{0.0000512476488948},
{0.0003382424116135,0.0000900738537312,0.0012965446054004,0.0000254265945405,0.0016093580119777},
{0.0003947327435017},
{0.0000440581850708},
{0.0000509386099875},
{0.0000251305103302},
{0.0000919811725616},
{0.0001198573932052},
{0.0003525015115738},
{0.0026475810543634},
{0.0001963427960873},
{0.0001865103840828},
{0.0000658860057592},
{0.0003580673038960},
{0.0011204117009183},
{0.0000615757107735},
{0.0000603153370321},
{0.0000293213911355},
{0.0001750228554010},
{0.0001851210594177},
{0.0000483788885176},
{0.0000320160277188},
{0.0001494055390358},
{0.0003525644242764},
{0.0030516149305040},
{0.0001241077333689},
{0.0000341096818447},
{0.0000543486401439},
{0.0001496250908822,0.0000298090651631,0.0002483091950417},
{0.0002343903928995},
{0.0000309450067580},
{0.0001067405119538},
{0.0001177259236574},
{0.0001268052309752,0.0009811099767685,0.0000906089022756},
{0.0004950637221336},
{0.0000450975932181},
{0.0000533280372620},
{0.0002681509256363},
{0.0005499683618546},
{0.0001384563893080},
{0.0005279659032822},
{0.0001459430158138},
{0.0002763091027737},
{0.0000271134506911},
{0.0000553457513452},
{0.0012008246574551,0.0000362012498081,0.0002349036782980},
{0.0025658907238394,0.0000406118631363,0.0001710801273584,0.0000586571088061,0.0019126355021726,0.0000256530717015,0.0027565867779194},
{0.0000330985151231},
{0.0000835171043873,0.0002149560153484,0.0004885839205235,0.0000286371260881,0.0002987813055515},
{0.0003036153316498},
{0.0002524030208588},
{0.0000287090968341},
{0.0001941317319870},
{0.0005292351245880},
{0.0001167412474751},
{0.0001052088737488,0.0002138656079769,0.0000790810137987},
{0.0001044712439179},
{0.0001355842202902},
{0.0002927926182747},
{0.0002634054124355},
{0.0009053342342377},
{0.0000700307786465},
{0.0000384348332882},
{0.0000650008544326},
{0.0005836724638939},
{0.0001071839109063},
{0.0001402210891247},
{0.0002033754289150},
{0.0000543486773968},
{0.0029037714265287,0.0000595955662429,0.0046011851368239},
{0.0002247785329819},
{0.0000342694558203},
{0.0000617193914950},
{0.0000300095304847},
{0.0000431564673781},
{0.0002035665512085},
{0.0000537746287882},
{0.0000848979577422},
{0.0000791704431176},
{0.0000546375624835},
{0.0001456004530191},
{0.0000266730487347},
{0.0000281389541924},
{0.0002472523301840},
{0.0000633154362440},
{0.0003894803524017},
{0.0002477694600821},
{0.0000362300314009},
{0.0003757328689098},
{0.0002752906978130},
{0.0000432756766677},
{0.0000475527495146},
{0.0000322304517031},
{0.0000936424806714},
{0.0000352740399539},
{0.0002897676229477},
{0.0002348352372646},
{0.0000262959841639},
{0.0001086429879069},
{0.0002136615216732},
{0.0000311226900667},
{0.0000256254710257},
{0.0001176290065050},
{0.0000406584814191},
{0.0000490162335336},
{0.0002021837234497},
{0.0000428316742182},
{0.0000516421422362},
{0.0000447081886232},
{0.0005246638655663},
{0.0000715047493577},
{0.0000281027145684},
{0.0000374302007258},
{0.0001942368298769},
{0.0006665251851082},
{0.0000773261189461},
{0.0005639784093946,0.0000307602919638,0.0004934880733490,0.0000392373241484,0.0022127480460331},
{0.0001913827806711},
{0.0000298243146390},
{0.0015362123383966},
{0.0004138973718509},
{0.0001863913685083},
{0.0005646911263466,0.0000509563013911,0.0006213790178299,0.0000714243724942,0.0017929940512404,0.0000258323103189,0.0005452509778552},
{0.0000346874371171},
{0.0000283551625907},
{0.0004120934903622},
{0.0000597521103919},
{0.0001314794148784,0.0000438054539263,0.0000939172878861,0.0006341660618782,0.0000762261003256},
{0.0011308729648590},
{0.0000326848365366},
{0.0002601993680000},
{0.0004932834804058},
{0.0002116542309523},
{0.0001836343556643},
{0.0000553972460330},
{0.0001623597592115},
{0.0008211192335002},
{0.0001157689094543},
{0.0000437334664166},
{0.0001757028847933},
{0.0000760901644826},
{0.0005097693800926},
{0.0000719987899065},
{0.0016965009570122,0.0000397411920130,0.0029793038457865},
{0.0081782034932403,0.0000696833059192,0.0009405544400215,0.0000299681033939,0.0010563737424091,0.0000355506613851,0.0023188390763244},
{0.0000396656692028},
{0.0002509389519691},
{0.0000845765471458},
{0.0003822630345821},
{0.0003573195040226},
{0.0001422545909882,0.0005110267400742,0.0001981055289507},
{0.0000503939874470},
{0.0001783037334681},
{0.0002798036932945},
{0.0000401702634990},
{0.0000978323742747},
{0.0000435595773160},
{0.0003065628409386},
{0.0001092799827456},
{0.0001106032431126},
{0.0000401575975120},
{0.0006728442311287},
{0.0000477609001100},
{0.0000466996952891},
{0.0001009403467178},
{0.0001071115657687},
{0.0000293153636158},
{0.0000307183563709},
{0.0000259622279555},
{0.0003567664027214},
{0.0000319248549640},
{0.0002473754435778},
{0.0005861731767654,0.0000341755785048,0.0023973834947683,0.0000701998323202,0.0051968643157161},
{0.0007599540948868},
{0.0008538374025375},
{0.0016089779604226},
{0.0000376338362694},
{0.0001467906832695},
{0.0003792223930359},
{0.0002339624762535},
{0.0002285166978836},
{0.0000956017002463},
{0.0001510256826878},
{0.0001663043200970},
{0.0001916953921318},
{0.0001045918911695},
{0.0002343941181898},
{0.0000280377622694},
{0.0001344557851553},
{0.0000771007612348},
{0.0001060129627585},
{0.0000467959530652},
{0.0000364876277745},
{0.0000717156454921},
{0.0001378855258226},
{0.0000332415588200},
{0.0004809617400169,0.0000322952456772,0.0016866757720709,0.0000312985852361,0.0017963871620595},
{0.0003195403814316},
{0.0034442925266922,0.0000296272225678,0.0007038846444339,0.0000415141843259,0.0027628022435820},
{0.0000494431853294},
{0.0002148932814598},
{0.0013277930425247},
{0.0000469111949205},
{0.0000788281410933},
{0.0000287674870342},
{0.0006058780010790},
{0.0006296468973160},
{0.0000756580606103},
{0.0000944319367409},
{0.0026514993036981,0.0000401297062635,0.0018095574527979,0.0000263815335929,0.0014918830754468},
{0.0001220351979136},
{0.0001853214651346},
{0.0000773369446397},
{0.0001776692420244},
{0.0000690369307995},
{0.0000492435656488},
{0.0000345155075192},
{0.0003876382708549},
{0.0002196790277958},
{0.0005142443906516,0.0000376448743045,0.0032922428871971},
{0.0000584226883948},
{0.0000277949776500},
{0.0000511288344860},
{0.0001618573516607},
{0.0003200027942657},
{0.0000682670101523},
{0.0002626655101776},
{0.0000960086658597},
{0.0000295231919736},
{0.0002428534179926},
{0.0000536903925240},
{0.0001365452408791},
{0.0001336567550898},
{0.0003745354712009},
{0.0002011534571648},
{0.0000349039547145},
{0.0000820070803165},
{0.0002331312298775},
{0.0001284648030996},
{0.0016724181519821},
{0.0002391927838326},
{0.0031248192016792},
{0.0001443886756897},
{0.0001466537266970},
{0.0002186311185360},
{0.0001043344885111},
{0.0004888206124306},
{0.0002767702043056},
{0.0022830083919689,0.0000251353066415,0.0002426327168941,0.0000568161271513,0.0020249245539308},
{0.0004451389312744},
{0.0000527722910047},
{0.0002806186974049},
{0.0000732061788440},
{0.0000250636916608},
{0.0003029932975769},
{0.0001464511603117},
{0.0002258662283421},
{0.0000512390695512},
{0.0026569710141048,0.0000298140440136,0.0001393402963877},
{0.0000473080053926},
{0.0000396133363247},
{0.0001507303416729},
{0.0000270708650351},
{0.0015609979638830,0.0000566277154721,0.0006288008755073},
{0.0000716617405415},
{0.0000257514920086},
{0.0010567727773450,0.0000261570531875,0.0044855454904027,0.0000298972968012,0.0001964581757784},
{0.0000295662004501},
{0.0001668400168419},
{0.0000390039570630},
{0.0001360051184893},
{0.0000818465650082},
{0.0003504129946232},
{0.0000410945340991},
{0.0014445414422080,0.0000417341254652,0.0013068000078201,0.0000255905874074,0.0001260550469160},
{0.0001852416098118},
{0.0001486290395260},
{0.0000267516020685},
{0.0005333521366119},
{0.0002549523413181},
{0.0003938498198986},
{0.0000488859899342},
{0.0001328182816505},
{0.0036680552696344,0.0000507228150964,0.0014099225997925},
{0.0000370603315532},
{0.0024651743751019,0.0000315143279731,0.0011405323846266},
{0.0000709424018860},
{0.0000376817286015},
{0.0001893616318703},
{0.0001552123576403},
{0.0006083726882935},
{0.0000496630333364},
{0.0001178557500243},
{0.0003439160287380},
{0.0001685632020235},
{0.0000333561673760},
{0.0019348265468143},
{0.0002786284387112},
{0.0002109010517597},
{0.0000325744636357},
{0.0000642352849245},
{0.0003329765796661},
{0.0001649716645479},
{0.0001422792822123},
{0.0000420780330896},
{0.0001415162980556},
{0.0000325053296983},
{0.0000725299119949},
{0.0000261302161962},
{0.0011452584025392},
{0.0003282659053802},
{0.0000873276889324},
{0.0000587331019342},
{0.0001922382414341},
{0.0006563404798508},
{0.0000549448169768},
{0.0000455279238522},
{0.0002272827774286},
{0.0001307866126299},
{0.0001848962455988},
{0.0002157139480114},
{0.0000303217489272},
{0.0002106673866510},
{0.0001618653833866},
{0.0000386503115296},
{0.0002723827660084},
{0.0001564859896898},
{0.0000394574329257},
{0.0007150050997734},
{0.0000425653643906},
{0.0000546301156282},
{0.0016745702577755,0.0000257186070085,0.0009980351328850,0.0000714835971594,0.0003457378149033},
{0.0005504329800606},
{0.0000863469392061},
{0.0000913627296686},
{0.0001219525188208},
{0.0000450145192444},
{0.0000326352827251},
{0.0003541997671127},
{0.0014937032244634,0.0000254876874387,0.0044432846386917},
{0.0001030562222004},
{0.0000269462205470},
{0.0001040583178401},
{0.0000419538691640},
{0.0000804420188069},
{0.0000924926400185},
{0.0007480911966413,0.0000427412278950,0.0011000830854755,0.0000272737368941,0.0000562508478761},
{0.0000727919042110},
{0.0000599260702729},
{0.0001691877474077,0.0001004831641912,0.0024326735520735},
{0.0003064704239368},
{0.0000253408774734},
{0.0002275515794754},
{0.0000490380078554},
{0.0000425036624074},
{0.0021273875191109},
{0.0000825925916433},
{0.0000930338203907},
{0.0000293214321136},
{0.0002952206134796},
{0.0002875541150570},
{0.0004764030277729},
{0.0002037728279829},
{0.0000403435640037},
{0.0001392364650965},
{0.0003366277515888},
{0.0003917313218117},
{0.0027239164360217,0.0000285914298147,0.0030624683592469,0.0000371986143291,0.0018059790229890,0.0000352062173188,0.0040766463932814},
{0.0000572562776506},
{0.0001250167936087},
{0.0000687115713954,0.0000724434182048,0.0003181413710117},
{0.0005410979986191},
{0.0006135434508324},
{0.0000598774887621},
{0.0000979828089476},
{0.0000978460386395},
{0.0047551400514785},
{0.0001188657209277},
{0.0001293479204178},
{0.0000259853005409},
{0.0000587017647922},
{0.0004018142223358},
{0.0000536861643195},
{0.0000865761116147},
{0.0003396345674992},
{0.0002070994079113},
{0.0000288790725172},
{0.0000510117001832},
{0.0003677065670490},
{0.0001819749623537},
{0.0000272627845407},
{0.0006315935581806,0.0000574479550123,0.0016748355627060},
{0.0006099478602409},
{0.0055816368712112},
{0.0000456600375473},
{0.0024880602417979},
{0.0001802220791578},
{0.0003285715579987},
{0.0002230280190706},
{0.0019422837924212,0.0000337354578078,0.0014833175926469},
{0.0000764284506440,0.0000412470996380,0.0017750153560191},
{0.0001725922375917},
{0.0005707263350487},
{0.0001426548957825},
{0.0000265359394252},
{0.0003899735510349},
{0.0003183075785637},
{0.0018307082778774},
{0.0002975103557110},
{0.0000358214601874},
{0.0037392985498300,0.0000425719134510,0.0002465066313744,0.0000343961790204,0.0001145178303123},
{0.0001731118261814},
{0.0000773841440678},
{0.0000966101139784},
{0.0001289159208536},
{0.0008045595331350,0.0000279387272894,0.0005589808919467,0.0000267258509994,0.0008896775988396},
{0.0002083486914635},
{0.0000394333265722},
{0.0013363734018058,0.0000466926172376,0.0000269142519683},
{0.0008696245522005},
{0.0002387605011463},
{0.0000751679092646},
{0.0002633008360863},
{0.0000853775069118},
{0.0001104422956705},
{0.0000729542300105},
{0.0000322889834642},
{0.0000302111525089},
{0.0020693904778600},
{0.0002008025646210},
{0.0000314890667796},
{0.0000346201732755},
{0.0000697473213077},
{0.0000501654744148},
{0.0002805963158607},
{0.0003517496585846},
{0.0001906832605600,0.0005097023844719,0.0012799197435379},
{0.0000742539763451},
{0.0000710669606924},
{0.0000342641845345,0.0001075566336513,0.0000338514447212},
{0.0000395307317376},
{0.0000276122987270},
{0.0000935797393322},
{0.0000930276960135},
{0.0003797277212143},
{0.0003077303171158},
{0.0006308019161224},
{0.0001145025566220},
{0.0000946068316698},
{0.0000472933351994},
{0.0003977139294147,0.0004713284075260,0.0000720085278153},
{0.0000321190766990},
{0.0001475722491741},
{0.0001681294292212},
{0.0043412244911306,0.0000413673296571,0.0013228823961690},
{0.0000382621511817},
{0.0000407146289945},
{0.0001192142218351},
{0.0020824457233248},
{0.0000519769228995},
{0.0000489942021668},
{0.0000303411316127},
{0.0001617418676615},
{0.0002534049749374},
{0.0000325886234641},
{0.0001414622664452},
{0.0000365002453327},
{0.0001702966839075},
{0.0008638780713081},
{0.0001992196738720},
{0.0016274343729019,0.0000384963639081,0.0019689177963883,0.0000457884445786,0.0006162717938423,0.0000302810873836,0.0008577740788460},
{0.0032829226027243},
{0.0000349478796124},
{0.0001008429229259},
{0.0000309108346701},
{0.0002622121274471},
{0.0001734091341496},
{0.0002855443954468},
{0.0014543843688443,0.0000330720506608,0.0000293119419366},
{0.0001719916462898},
{0.0004447771608829},
{0.0005516689419746,0.0000352960675955,0.0021041185422800},
{0.0000966975763440},
{0.0038439216893166,0.0000279602557421,0.0005856388807297,0.0000485518909991,0.0002577790664509},
{0.0001816108226776},
{0.0000466769859195,0.0000353502072394,0.0001685238927603},
{0.0001507807075977},
{0.0000278697442263},
{0.0003291296958923},
{0.0007159479856491},
{0.0001486597657204},
{0.0002361904382706},
{0.0000622380189598},
{0.0030032072998583,0.0000609707683325,0.0019454841613770},
{0.0000494283102453},
{0.0000633568167686},
{0.0000466308593750},
{0.0000422036796808},
{0.0000508085526526},
{0.0000776931568980},
{0.0002530743479729},
{0.0003255279660225},
{0.0000762218385935},
{0.0001905326247215},
{0.0001301352977753},
{0.0000433747544885},
{0.0000402329042554},
{0.0000313772894442},
{0.0000863119885325},
{0.0004004233777523},
{0.0000282185375690},
{0.0001988887339830},
{0.0019441154254309},
{0.0000825581327081},
{0.0000308405067772},
{0.0001237561851740},
{0.0000872890278697},
{0.0000368950553238},
{0.0000563072972000},
{0.0003905736207962},
{0.0000274858362973},
{0.0004325091540813},
{0.0003020275533199},
{0.0001365426927805},
{0.0012397948147263,0.0000668067485094,0.0012815125230700,0.0000308313854039,0.0034131401013583},
{0.0003549885451794},
{0.0000745116025209},
{0.0001696714460850},
{0.0000735974609852},
{0.0001508497893810},
{0.0003696708381176},
{0.0002543531656265},
{0.0007119020819664},
{0.0000466803945601},
{0.0000956099852920},
{0.0001125248000026},
{0.0002683817148209},
{0.0000548310801387},
{0.0015172350962530,0.0000504510346800,0.0016504227935657},
{0.0003299040198326},
{0.0000626500919461},
{0.0019603126114234,0.0000339548513293,0.0019570043790154},
{0.0008274526000023},
{0.0003776132762432},
{0.0000739696696401},
{0.0000525548085570},
{0.0007013443708420},
{0.0000831672102213},
{0.0002462402582169},
{0.0000738836228848},
{0.0003178292214870},
{0.0002215687781572},
{0.0000363104417920},
{0.0030628235898912,0.0000486407652497,0.0023092742151275},
{0.0001704524308443},
{0.0010467605590820},
{0.0000426190719008},
{0.0006805112361908},
{0.0001190770640969},
{0.0000393612533808},
{0.0001346320509911,0.0004720087051392,0.0000494441986084},
{0.0000493212044239},
{0.0000476755127311},
{0.0000521983839571},
{0.0001943013072014},
{0.0000902848914266},
{0.0005893684625626},
{0.0002727631330490},
{0.0000287919342518,0.0017170695066452,0.0001372050493956},
{0.0000312420986593},
{0.0000833545848727},
{0.0001607528030872},
{0.0000476239956915},
{0.0000360951349139},
{0.0000800023823977},
{0.0001009692400694},
{0.0000341143868864},
{0.0000361277461052},
{0.0000842815637589},
{0.0005068413019180},
{0.0004529925286770},
{0.0002033720165491},
{0.0020566277503967},
{0.0000417454205453},
{0.0002909679710865},
{0.0001331993192434},
{0.0006562803387642},
{0.0001751848906279},
{0.0002065795958042},
{0.0000884174332023},
{0.0000327797345817},
{0.0004360006749630},
{0.0000696092471480},
{0.0002732623815536},
{0.0000725185126066},
{0.0003209961950779},
{0.0002804454267025},
{0.0000381362996995},
{0.0003510077297688},
{0.0000364062227309},
{0.0001386089920998},
{0.0002655721604824,0.0010093222856522,0.0003595617751125},
{0.0000869298577309},
{0.0017822422315367,0.0000403910502791,0.0003069374207407},
{0.0001070756614208},
{0.0000485352873802},
{0.0000256296992302},
{0.0001304796189070,0.0000331640876830,0.0002077566429507},
{0.0001693992614746,0.0000330694690347,0.0011519585447386,0.0000360296033323,0.0013225628696382,0.0000594284161925,0.0008014735579491},
{0.0000262892078608},
{0.0002584725320339},
{0.0003258677124977},
{0.0000482964217663},
{0.0009973804354668,0.0008462613224983,0.0000269935838878},
{0.0007184858145192},
{0.0001108312010765},
{0.0000602676011622},
{0.0000671673044562},
{0.0002453904449940},
{0.0000881994292140},
{0.0000398673415184},
{0.0004062258899212},
{0.0005122906984761},
{0.0008279345631599,0.0005319427251816,0.0004531765878201},
{0.0000866354405880},
{0.0002084188908339},
{0.0000706074163318},
{0.0006263696551323},
{0.0005631865244359,0.0000696580037475,0.0006562851667404,0.0000441952720284,0.0010875194072723,0.0000495921836700,0.0016528058224358},
{0.0004221525192261},
{0.0001091357991099,0.0000392500646412,0.0000624415390193,0.0000404823422432,0.0006041503064334},
{0.0000355298891664},
{0.0000526431463659},
{0.0000390660464764},
{0.0003514548540115},
{0.0003400281667709},
{0.0003882020711899},
{0.0024806089522317,0.0000317820347846,0.0015113197648898},
{0.0002127046436071},
{0.0000975831300020},
{0.0016361323185265},
{0.0000393786989152},
{0.0002692036330700},
{0.0001846935898066},
{0.0000421496741474},
{0.0002809411883354},
{0.0003090736865997},
{0.0000416524037719},
{0.0000904600247741},
{0.0000578994601965},
{0.0000261634029448},
{0.0001954351216555},
{0.0000599716082215},
{0.0000773653835058},
{0.0000847787857056},
{0.0001459804177284},
{0.0039461487825029},
{0.0000337705910206},
{0.0000493878535926},
{0.0000275269392878},
{0.0001381563246250},
{0.0001487551629543},
{0.0004321874678135},
{0.0000340958237648},
{0.0001017459556460},
{0.0001672528982162},
{0.0001264049857855},
{0.0000391720235348},
{0.0000320517793298},
{0.0003465031385422,0.0002693479955196,0.0002992412447929},
{0.0000544824600220},
{0.0000531893260777},
{0.0000913021713495},
{0.0001807348281145},
{0.0000347982011735,0.0014514309167862,0.0000429410301149},
{0.0002496212124825},
{0.0001613233983517},
{0.0000268273539841},
{0.0000506308451295},
{0.0000738450661302},
{0.0002810595333576},
{0.0014843877162784},
{0.0000347907766700},
{0.0001093901246786},
{0.0002213871926069},
{0.0000567041672766,0.0001423126459122,0.0000647737532854},
{0.0002921521365643},
{0.0000687124878168},
{0.0000345531441271},
{0.0001916000843048},
{0.0001983874291182},
{0.0004135934710503},
{0.0000843523144722},
{0.0002247650623322},
{0.0002113188505173},
{0.0000306615605950},
{0.0001056376993656},
{0.0000295756570995},
{0.0008537092208862},
{0.0000801701620221},
{0.0001063439100981},
{0.0000267498400062},
{0.0000394086241722},
{0.0000376448966563},
{0.0001379295587540},
{0.0000445393808186},
{0.0001000963822007},
{0.0000262606441975},
{0.0000586485564709},
{0.0000397062338889},
{0.0000405298098922},
{0.0000443683266640},
{0.0000315199345350},
{0.0001761755794287},
{0.0000773690566421},
{0.0001528365910053},
{0.0002247074246407},
{0.0000594784989953},
{0.0003886665105820},
{0.0001522536575794},
{0.0037063353515696},
{0.0000871054902673},
{0.0000366228036582},
{0.0000449642539024},
{0.0017707891343161,0.0000390463694930,0.0023655565558001},
{0.0001907437592745},
{0.0000558216460049},
{0.0016738971006125,0.0000262510273606,0.0006073341965675},
{0.0001488024294376},
{0.0009211862620432},
{0.0004989981353283,0.0000592143163085,0.0011219249963760,0.0000499580912292,0.0030146447801962},
{0.0007015502452850},
{0.0000923080965877},
{0.0000688598752022},
{0.0000994061976671},
{0.0001639646887779},
{0.0000317379869521},
{0.0001091681644320},
{0.0000349531210959},
{0.0000499431341887},
{0.0000616841278970,0.0000341542623937,0.0005749803781509},
{0.0006671832315624,0.0000276354812086,0.0004259234908968},
{0.0004133803844452},
{0.0000303797107190},
{0.0020588926766068},
{0.0000294117722660},
{0.0001926753669977},
{0.0001882703006268},
{0.0051809903597459,0.0000392945334315,0.0101305199592607,0.0000562269128859,0.0023443629133981},
{0.0000597227774560},
{0.0000712997764349},
{0.0000290099531412},
{0.0004194969236851},
{0.0002273526787758},
{0.0002221691608429},
{0.0019915832118131},
{0.0005828793644905},
{0.0001820506751537},
{0.0000472550019622},
{0.0004864344298840},
{0.0001102133691311},
{0.0000376796312630},
{0.0001099214106798},
{0.0014291255488351,0.0000660334601998,0.0010024859271944,0.0000278764702380,0.0017886480210873},
{0.0003673172891140},
{0.0001397213637829},
{0.0000832570344210,0.0002717066705227,0.0000314451344311},
{0.0001946621537209,0.0000556069351733,0.0018228583348682},
{0.0000431283190846},
{0.0000258904825896},
{0.0000594311840832},
{0.0002137010246515},
{0.0000455845631659},
{0.0000501570031047},
{0.0003607509136200},
{0.0002591020464897},
{0.0000835175961256},
{0.0001084177568555},
{0.0001002676859498},
{0.0000280823968351},
{0.0000321359261870},
{0.0001238294765353},
{0.0018873574072495,0.0000676893815398,0.0077875293733086,0.0000483163855970,0.0016423714322736},
{0.0001580594480038},
{0.0000730333626270},
{0.0003561264872551},
{0.0003451077938080},
{0.0005558261778206},
{0.0001907861530781},
{0.0002480703443289},
{0.0000591005571187,0.0005691993832588,0.0040142683617305,0.0000498386509717,0.0001640856713057},
{0.0000466271862388,0.0001924123764038,0.0003792161047459},
{0.0000567288137972},
{0.0000791794881225},
{0.0001411600559950},
{0.0000807536169887},
{0.0002756040990353},
{0.0000314051210880},
{0.0002183324545622},
{0.0002025625854731},
{0.0000939131975174},
{0.0008836349078920,0.0000561928190291,0.0023989610292483,0.0001455774158239,0.0005728904590942,0.0000444019287825,0.0019670932123990,0.0000557522966992,0.0002157793929800,0.0000333701483905,0.0027630474879406,0.0000317804552615,0.0028899473857891,0.0000267278086394,0.0017233551442623},
{0.0002265234738588},
{0.0000286433342844},
{0.0005808329582214},
{0.0001142683178186},
{0.0008646709196328},
{0.0000527040064335},
{0.0003520703017712},
{0.0001733669638634},
{0.0000279950127006},
{0.0000953835695982},
{0.0001462545245886},
{0.0000999559015036},
{0.0000264014713466},
{0.0000490293167531},
{0.0002396733313799},
{0.0000428135283291},
{0.0000872388333082},
{0.0001080336198211},
{0.0000277531370521},
{0.0000476250313222},
{0.0000918610170484},
{0.0000269129499793},
{0.0000272320061922},
{0.0002072698622942},
{0.0001953352540731},
{0.0000467668734491},
{0.0028486169059761},
{0.0002427665293217},
{0.0007379238661379},
{0.0002965746819973},
{0.0001437550634146},
{0.0001072912067175},
{0.0000441157072783},
{0.0000443139784038},
{0.0001472473591566},
{0.0002847880125046},
{0.0008315113633871,0.0000379866100848,0.0016775325819617},
{0.0000639036148787},
{0.0031277491213987},
{0.0004822679162025},
{0.0016053207698278},
{0.0000489995107055},
{0.0000571921505034},
{0.0000326172597706},
{0.0002635994553566},
{0.0001080262362957},
{0.0001332825422287},
{0.0003069459795952},
{0.0011082009077072},
{0.0002438921779394},
{0.0000301454830915},
{0.0001276876479387},
{0.0000566442869604},
{0.0001969840079546},
{0.0001313535720110},
{0.0000295110885054},
{0.0009544245135039},
{0.0000280469972640},
{0.0000731025487185},
{0.0000597186945379},
{0.0000627865195274},
{0.0000670700073242},
{0.0000309908632189},
{0.0000281946174800},
{0.0002151959170587,0.0000509256795049,0.0013939572572708},
{0.0000352752730250},
{0.0000938564538956},
{0.0001907588243484},
{0.0002687500715256,0.0000636039518213,0.0007892143353820,0.0000274920612574,0.0002494420566363},
{0.0000580181591213},
{0.0001918865442276},
{0.0002312706857920},
{0.0007156829237938,0.0010390584468842,0.0001086169406772},
{0.0003581736385822},
{0.0000995140299201},
{0.0000298256073147},
{0.0000345239005983},
{0.0001929564923048},
{0.0002807170152664},
{0.0026597602777183,0.0000431170240045,0.0001045117974281,0.0000282668620348,0.0023917771712877,0.0000289351735264,0.0001499838531017},
{0.0001549712419510},
{0.0001152753457427},
{0.0000250223483890},
{0.0005171194672585},
{0.0000752664804459},
{0.0011456087715924,0.0000458964407444,0.0032447530201171},
{0.0004105648994446},
{0.0003202127814293},
{0.0008409461379051,0.0000350120514631,0.0005075566861778,0.0000354385413229,0.0009959831293672},
{0.0002019111514091,0.0006090636849403,0.0006670063138008,0.0000394658632576,0.0033079174819868},
{0.0000523296445608},
{0.0001992058306932,0.0000742109380662,0.0010353032900020,0.0000582982189953,0.0004648763537407},
{0.0000580706000328},
{0.0000863928571343},
{0.0006610143780708},
{0.0002242652773857},
{0.0001872265189886},
{0.0007433559894562},
{0.0003774952590466},
{0.0027902735485695,0.0000540796555579,0.0023363880191464},
{0.0001548345983028},
{0.0001199902445078},
{0.0000969717353582},
{0.0001212412342429},
{0.0000463271960616},
{0.0002187145352364},
{0.0000261244270951},
{0.0001068648397923},
{0.0003052641451359},
{0.0003122235834599},
{0.0004616374671459},
{0.0000421799533069},
{0.0000306096263230},
{0.0001743658035994},
{0.0000290545281023},
{0.0000641575753689},
{0.0000508089102805},
{0.0000468813665211},
{0.0000263890437782},
{0.0000481847003102},
{0.0000415254272521},
{0.0000320778265595},
{0.0000296372529119},
{0.0000652187181404},
{0.0002098891139030},
{0.0003129213452339},
{0.0000995955541730},
{0.0000933126881719},
{0.0001514556854963},
{0.0004241195619106},
{0.0000484687089920},
{0.0025594270831207},
{0.0015699637215585,0.0000689080953598,0.0001649479866028},
{0.0001571619510651},
{0.0000715087577701},
{0.0000532558746636},
{0.0000747845396399},
{0.0000368960052729},
{0.0003514785766602,0.0012502717971802,0.0000682419538498},
{0.0000367239080369},
{0.0000723166987300},
{0.0000311989560723},
{0.0001449126750231},
{0.0001926981806755},
{0.0000294951889664},
{0.0002528523802757},
{0.0000697847828269},
{0.0000803119540215},
{0.0005548642860231},
{0.0001748731136322},
{0.0009691251004115,0.0000352423228323,0.0013531009219587,0.0000280271880329,0.0014301715898328},
{0.0010771098015830,0.0001058964645490,0.0024511314998381},
{0.0005404311418533,0.0000289002917707,0.0005939149230253},
{0.0000319799333811},
{0.0000623707585037},
{0.0043028557455546,0.0000450690016150,0.0004301917850971,0.0000328383520246,0.0004106528162956},
{0.0000319762714207},
{0.0020011085704900},
{0.0000375558845699},
{0.0001194693893194},
{0.0000532728359103},
{0.0003150887787342},
{0.0001949658542871,0.0017265890836716,0.0000780367925763},
{0.0001489759385586},
{0.0000659568458796},
{0.0000515779815614},
{0.0001695704013109},
{0.0000422171205282},
{0.0031542116706260},
{0.0001696964800358},
{0.0001358150094748},
{0.0012421369552612,0.0000382158830762,0.0002395749837160,0.0000270398911089,0.0023274412564933,0.0000606421940029,0.0013155009278562},
{0.0002502100765705},
{0.0001446636021137},
{0.0001492434889078},
{0.0000315693765879},
{0.0001177520006895},
{0.0000312585234642},
{0.0007140682935715},
{0.0000714802294970},
{0.0000694413632154},
{0.0022784857596271,0.0001779913604259,0.0001417039185762},
{0.0000358133614063},
{0.0000363906919956,0.0013990470170975,0.0005457424521446,0.0024579784870148,0.0012197585105896},
{0.0000542218647897},
{0.0001810703724623},
{0.0005715719438158,0.0000478586815298,0.0008151141675189},
{0.0000489479415119},
{0.0000254071876407},
{0.0000484322495759},
{0.0000410656221211},
{0.0000987294986844},
{0.0001499184817076},
{0.0000500965043902},
{0.0002457949668169},
{0.0000539723932743},
{0.0001892238706350},
{0.0000267557837069},
{0.0002333825826645},
{0.0001730653941631},
{0.0000250772461295},
{0.0000478900000453},
{0.0001859783828259},
{0.0016855085536954},
{0.0002424104064703},
{0.0003186302185059,0.0000829025581479,0.0000592681467533,0.0000320414938033,0.0019433239889331},
{0.0002806003391743},
{0.0000251571200788},
{0.0001755049079657},
{0.0001459565907717},
{0.0006139467358589},
{0.0001134163811803},
{0.0001859480440617},
{0.0020796569902450,0.0000321064181626,0.0009439206933603,0.0000301190093160,0.0000294397156686},
{0.0000258727688342},
{0.0005960327386856},
{0.0000472095310688},
{0.0002725545763969},
{0.0008336637760513},
{0.0001825734525919},
{0.0001311380118132},
{0.0000653391107917},
{0.0000397858396173},
{0.0002290290594101},
{0.0000582426935434},
{0.0003233749568462},
{0.0001339689493179},
{0.0000853463709354},
{0.0004726123213768},
{0.0001735531836748,0.0015362659692764,0.0002753923833370},
{0.0000502500571311},
{0.0002775682806969},
{0.0000265397466719},
{0.0001248134672642},
{0.0006173463463783},
{0.0004285414647311},
{0.0003053160607815},
{0.0000505959428847},
{0.0005448061823845},
{0.0004379279911518},
{0.0002446070760489},
{0.0003167381882668},
{0.0007782637476921},
{0.0001280257254839},
{0.0009141980409622},
{0.0007074325084686},
{0.0005132101774216},
{0.0000561902411282},
{0.0003685051202774},
{0.0000745998397470},
{0.0000387269966304},
{0.0000717899650335},
{0.0000255621820688},
{0.0015641093834711,0.0000295502450317,0.0015682548284531,0.0000302153117955,0.0008374467382673,0.0000272054560483,0.0019191676530900,0.0000264918971807,0.0006603172784671},
{0.0000440956465900},
{0.0005445347642526},
{0.0001753191351891},
{0.0002621952891350},
{0.0001299134939909},
{0.0002604233324528},
{0.0000412827618420},
{0.0000999887660146},
{0.0003832305073738},
{0.0002156815379858},
{0.0000339071154594},
{0.0002038165479898},
{0.0027845869794255},
{0.0002110445350409},
{0.0000479297786951},
{0.0000665178820491},
{0.0000699869841337},
{0.0021594749623910},
{0.0001063374653459},
{0.0000522158555686},
{0.0001194062009454,0.0000739672556520,0.0036651725922711},
{0.0000474187321961},
{0.0000322119519114},
{0.0000825437232852},
{0.0000773601904511},
{0.0001706162989140},
{0.0000481785498559},
{0.0000407382883132},
{0.0000308830048889},
{0.0004238447258249,0.0000480241435580,0.0006642392277718},
{0.0007556058764458},
{0.0000447936430573},
{0.0003377190232277},
{0.0000424275659025},
{0.0006306243939325,0.0000331598818302,0.0002194366008043},
{0.0001433215290308},
{0.0002412605583668},
{0.0027827301835641,0.0000263022407889,0.0001509766280651},
{0.0002247662693262},
{0.0000900238975883},
{0.0003399979174137},
{0.0000882586538792},
{0.0000744689404964},
{0.0000611009012209,0.0000537947155535,0.0010730634927750},
{0.0000994779616594},
{0.0004626574516296},
{0.0000462940596044},
{0.0001409702003002},
{0.0001973908841610},
{0.0001356061846018},
{0.0000471082925797},
{0.0003398361504078},
{0.0000313223563135},
{0.0005836251974106},
{0.0002012781500816},
{0.0001113149002194},
{0.0000268061328679},
{0.0001020914837718},
{0.0001861127018929},
{0.0005114859342575},
{0.0000311231799424},
{0.0035325280884281},
{0.0000396402999759},
{0.0003961791992187},
{0.0000327117815614},
{0.0007944640517235},
{0.0001493767052889},
{0.0002104281485081},
{0.0000430014654994},
{0.0001361896246672},
{0.0000974263548851},
{0.0001264916509390},
{0.0001548893749714},
{0.0002117055952549,0.0000295968502760,0.0002638613879681},
{0.0000697984471917},
{0.0000258434060961},
{0.0001404030472040},
{0.0000493105500937},
{0.0007723161578178},
{0.0000266529917717},
{0.0000434606932104},
{0.0022951453852002,0.0000653644949198,0.0000585780441761,0.0002398934364319,0.0006807176470757,0.0003122751116753,0.0003583747744560},
{0.0000281253736466},
{0.0001707208603621},
{0.0001762856841087},
{0.0009388058744371},
{0.0000998344421387},
{0.0000858227834105},
{0.0002112446725368,0.0000390734709799,0.0006581009626389,0.0000451082848012,0.0002358015179634},
{0.0002800948619843},
{0.0001132845059037},
{0.0000381978414953},
{0.0000251013487577},
{0.0007914249375463,0.0000697723701596,0.0010253534317017,0.0000506179332733,0.0011397577524185},
{0.0001550172716379},
{0.0000642218738794},
{0.0000632620826364},
{0.0000454781390727},
{0.0002377901375294},
{0.0000375056453049},
{0.0000275858584791},
{0.0035066544208676,0.0007498509883881,0.0001193600296974},
{0.0003043538630009},
{0.0000368753820658},
{0.0000365078933537},
{0.0001099703982472},
{0.0005781553983688},
{0.0000357504226267},
{0.0001600479483604},
{0.0000413965433836},
{0.0000298627875745},
{0.0000375070087612},
{0.0000479311682284},
{0.0002649746537209},
{0.0001108201742172},
{0.0000300797410309},
{0.0001292428225279},
{0.0002954043149948},
{0.0001365283727646},
{0.0006125156879425,0.0001032446399331,0.0001392062008381},
{0.0002595595419407},
{0.0009027837938629,0.0000743010342121,0.0011369105633348,0.0000273582786322,0.0021043002950028,0.0000737008349970,0.0027320277763647},
{0.0001003850474954},
{0.0003310178816319},
{0.0001723600476980},
{0.0002710910439491},
{0.0000269495714456},
{0.0001675371825695},
{0.0011055075372569,0.0000352448336780,0.0002414813190699,0.0000268917586654,0.0001675060391426},
{0.0000654954612255},
{0.0051121911417576},
{0.0005595681071281},
{0.0000673841536045},
{0.0000501679703593},
{0.0000403722561896},
{0.0001218145713210},
{0.0001567397415638},
{0.0006571439504623,0.0003584112524986,0.0001139436587691},
{0.0018684951320756,0.0000281778071076,0.0011624623925891},
{0.0000277673285455},
{0.0000398040786386},
{0.0002795703113079},
{0.0004729700684547},
{0.0000326848514378},
{0.0001617070436478},
{0.0005833191871643},
{0.0001631381511688},
{0.0003044168651104},
{0.0001956122070551},
{0.0000616523399949},
{0.0002483462542295},
{0.0002642316222191},
{0.0004795129224658},
{0.0000306715089828},
{0.0000315910838544},
{0.0001563785821199},
{0.0000344849042594},
{0.0004478693734854,0.0000300956424326,0.0018726256880909},
{0.0000363540351391},
{0.0001715955585241},
{0.0003299936652184},
{0.0003692822754383},
{0.0002806339263916},
{0.0001053346917033},
{0.0012298756837845,0.0000260858610272,0.0010117974681780},
{0.0020298292860389,0.0000314269363880,0.0024963364601135},
{0.0000983186364174},
{0.0005963604450226},
{0.0002816131711006},
{0.0004529020190239},
{0.0000681875422597},
{0.0004476355612278},
{0.0002444748282433},
{0.0003125998675823},
{0.0000459526777267},
{0.0005219506621361},
{0.0000486091896892},
{0.0004311031699181},
{0.0000498316809535},
{0.0002178245037794,0.0000390493571758,0.0042315529806074},
{0.0000295738354325},
{0.0002330673485994},
{0.0000855794474483},
{0.0001218553110957},
{0.0000950614809990},
{0.0036655700393021,0.0000583663582802,0.0028294546144898},
{0.0000445282757282},
{0.0004348508119583},
{0.0015023802322103,0.0000493788989261,0.0000660410225391,0.0000323330126703,0.0010570137500763,0.0000663408720866,0.0002237090915442,0.0000539129599929,0.0000713366642594,0.0000344297699630,0.0006917580952868,0.0000420751422644,0.0021905598640442,0.0000255914889276,0.0020665141295176},
{0.0000328743420541},
{0.0001002139374614},
{0.0000865147113800},
{0.0002270238250494},
{0.0001390440016985},
{0.0001265527606010},
{0.0002382921427488},
{0.0000530280210078},
{0.0001967543959618},
{0.0001042218580842},
{0.0017893652878702,0.0000458684414625,0.0000705665498972},
{0.0000462233237922},
{0.0005310543179512,0.0000353148058057,0.0013345677480102,0.0000485759004951,0.0001658691912889,0.0000269116275012,0.0059677025857673},
{0.0004618713269010},
{0.0018234803702217,0.0000291501060128,0.0010167118310928,0.0000756147652864,0.0015285640120273},
{0.0000601887106895,0.0002742542624474,0.0005408168435097},
{0.0002030883729458},
{0.0002559718191624},
{0.0001533508896828},
{0.0000861851498485},
{0.0019748902728898,0.0000305723194033,0.0009582852125168,0.0000267326012254,0.0010570530397817,0.0000522699132562,0.0002377536743879},
{0.0000540464334190},
{0.0002590406239033},
{0.0005249178409576},
{0.0002023322135210,0.0014272326231003,0.0002016988843679},
{0.0000759691372514},
{0.0003052796125412},
{0.0001257899999619},
{0.0001904446333647},
{0.0000836392641068},
{0.0001530111134052},
{0.0001613416522741},
{0.0005657014250755},
{0.0016467276588082,0.0000267688073218,0.0004546485841274,0.0000548961237073,0.0069827582662983},
{0.0002448395341635},
{0.0000879500806332},
{0.0000344952903688},
{0.0014416765529895},
{0.0000536027736962},
{0.0020292866013478,0.0000460450574756,0.0020064163887873,0.0000332440398633,0.0002505845129490},
{0.0005842884741724,0.0000659643784165,0.0027632556406315,0.0000873714238405,0.0000695974081755,0.0000315717272460,0.0073196813439536,0.0000271728262305,0.0002633378207684},
{0.0007023966312408},
{0.0025070122908801,0.0000529690496624,0.0032876454088837},
{0.0000394329801202},
{0.0001070191636682},
{0.0000590336024761},
{0.0003583212196827},
{0.0001572109609842},
{0.0001174343079329},
{0.0000861633792520},
{0.0000720766484737},
{0.0000542592704296},
{0.0000570946075022},
{0.0001473195850849},
{0.0000464653633535},
{0.0000936278179288},
{0.0000319109000266},
{0.0001013049036264},
{0.0006174389123917},
{0.0004273253381252},
{0.0000341275632381},
{0.0000260629486293},
{0.0004448004364967},
{0.0001612842977047},
{0.0001329429745674},
{0.0003377674221992},
{0.0001509510576725},
{0.0001425091624260,0.0000362606942654,0.0012420716285706},
{0.0002449027150869},
{0.0014619853007607},
{0.0000316256769001},
{0.0020494664837606},
{0.0000290726870298},
{0.0000868529304862},
{0.0001386076807976},
{0.0004629467725754},
{0.0000877508223057},
{0.0000930787548423,0.0000332050547004,0.0034666935051791},
{0.0003104800879955},
{0.0000581114962697},
{0.0000588090009987},
{0.0013667603360955},
{0.0001957802623510},
{0.0000950807332993},
{0.0003859054371715},
{0.0000416578538716},
{0.0000373679548502},
{0.0002024924159050},
{0.0007771360278130},
{0.0001610635668039},
{0.0001780977249146},
{0.0008403870775364},
{0.0003577342927456,0.0000252973977476,0.0041633409233764,0.0000324166715145,0.0003090080744587},
{0.0000670126229525},
{0.0022358849621378,0.0000501794703305,0.0036282828135882},
{0.0003551706671715},
{0.0000467104762793},
{0.0000593046359718},
{0.0000325798615813},
{0.0001090995818377},
{0.0009675173163414},
{0.0000494311116636},
{0.0000595683231950},
{0.0075285638530040,0.0000261103808880,0.0009626450017095,0.0000295543298125,0.0015205564270727},
{0.0003958689272404,0.0003061488866806,0.0007555975317955},
{0.0001989591866732},
{0.0001517937481403},
{0.0000671432167292},
{0.0009111552312970},
{0.0002975868284702},
{0.0008467593993992},
{0.0000836179554462},
{0.0001633953899145},
{0.0002096508145332},
{0.0000938012599945},
{0.0000426730997860},
{0.0000761872157454},
{0.0006724969148636},
{0.0000481483377516},
{0.0000734740197659},
{0.0001760751456022},
{0.0000273097902536},
{0.0013859650462400,0.0000257336720824,0.0003017627596855},
{0.0000259587261826},
{0.0001056598573923},
{0.0001664991378784},
{0.0000301321167499},
{0.0000484575144947},
{0.0006761983036995},
{0.0005554669499397},
{0.0000764065682888},
{0.0000324393846095},
{0.0010427290815860},
{0.0005348279476166},
{0.0001178648322821},
{0.0002190247625113},
{0.0000425242669880},
{0.0005013121496886,0.0000280806310475,0.0018327942872420,0.0000367724262178,0.0010055456161499,0.0000300118401647,0.0018064667396247,0.0000289931073785,0.0041082142847008,0.0000290924925357,0.0010336114678066,0.0000252061728388,0.0006659390376881,0.0000278303455561,0.0003368146670982},
{0.0000302496179938},
{0.0002368631809950},
{0.0003812098205090},
{0.0025918407357531},
{0.0000284638144076},
{0.0002904667556286},
{0.0000352842397988},
{0.0000292995050550},
{0.0001253606677055},
{0.0000855211541057},
{0.0003361816108227},
{0.0001054110154510},
{0.0000967188552022},
{0.0000797147303820},
{0.0000586310103536},
{0.0000712180063128},
{0.0018875149211963,0.0000405692346394,0.0005921952426434,0.0000527698546648,0.0012730153072625},
{0.0000411899164319},
{0.0000462689921260},
{0.0044904796853662},
{0.0009451273679733,0.0000409055985510,0.0018703064518049},
{0.0000356483273208},
{0.0001270279139280},
{0.0000335493832827},
{0.0000323349907994},
{0.0000360377021134},
{0.0041386109849554,0.0000446744747460,0.0005154044628143,0.0000273282229900,0.0007385754475836},
{0.0000342538133264},
{0.0000497623570263},
{0.0000283110756427},
{0.0003485432565212},
{0.0001942225992680},
{0.0000362478792667},
{0.0003323242068291},
{0.0000454179272056},
{0.0002917398810387},
{0.0004204235672951},
{0.0000415128059685},
{0.0043222098611295},
{0.0000609075352550},
{0.0005071384906769},
{0.0000305578447878},
{0.0004648745656013},
{0.0000297971423715},
{0.0001709025204182},
{0.0006500533819199,0.0000796307679266,0.0004682105308166},
{0.0002318707555532},
{0.0001687692403793},
{0.0001603157967329},
{0.0000626370906830},
{0.0000562347397208},
{0.0001971913427114},
{0.0034244740325958},
{0.0001892150640488},
{0.0000359658971429},
{0.0000631604269147},
{0.0005662167072296},
{0.0000441849157214},
{0.0003305350542068},
{0.0003627967536449},
{0.0000491695068777},
{0.0001416101157665},
{0.0000589321255684,0.0008460924029350,0.0000903939455748},
{0.0000919978022575},
{0.0000512152202427},
{0.0004724883027375},
{0.0000487075075507},
{0.0000267262589186},
{0.0000410674586892},
{0.0028031892403960,0.0000362108461559,0.0004644783439580,0.0000355612002313,0.0009312223372981,0.0000293855015188,0.0012929491139948},
{0.0000271673966199},
{0.0004990818798542},
{0.0000327673554420},
{0.0001252145171165},
{0.0038068346036598},
{0.0000711978748441},
{0.0006181280612946},
{0.0012730678905864,0.0000453459061682,0.0005188812026754},
{0.0001312334388494},
{0.0001135101765394,0.0000318738296628,0.0004328580247238,0.0000253355298191,0.0010429008156061},
{0.0009810013407841},
{0.0003379471004009},
{0.0005283349156380},
{0.0000462649725378},
{0.0000582524314523},
{0.0000663309767842},
{0.0000310015380383},
{0.0000348794721067},
{0.0001519965231419},
{0.0003535074889660},
{0.0000257185492665},
{0.0000279682502151,0.0001225028708577,0.0000867207199335},
{0.0000730892866850},
{0.0000252850931138,0.0002913255691528,0.0000426738671958},
{0.0001573897898197},
{0.0000555638484657},
{0.0001880230456591},
{0.0000713496059179},
{0.0014417594159022,0.0000324376709759,0.0005673203468323,0.0000271866191179,0.0015869415318593},
{0.0001189965158701},
{0.0001689285486937},
{0.0001403418332338},
{0.0001225539818406},
{0.0000548824705184},
{0.0001034105867147},
{0.0019230647473596},
{0.0001053679063916},
{0.0003569784760475},
{0.0000945430546999},
{0.0001149032264948},
{0.0000451463088393},
{0.0000699153244495},
{0.0000308077875525},
{0.0016618846487254},
{0.0001816736310720},
{0.0000608668699861},
{0.0003093667924404},
{0.0001072566434741},
{0.0001333966106176},
{0.0000523075498641},
{0.0001758432239294},
{0.0003389979898930},
{0.0000444146171212},
{0.0000962157323956},
{0.0000341397263110},
{0.0006200767755508},
{0.0011280532442033},
{0.0002690574526787},
{0.0002469544410706},
{0.0001683125346899},
{0.0003034549653530,0.0004521725475788,0.0002354581356049},
{0.0000304182115942},
{0.0005102337598801},
{0.0000641592442989},
{0.0002603193521500},
{0.0001093894317746},
{0.0000742275118828},
{0.0002249314188957},
{0.0004648984670639},
{0.0003251786231995},
{0.0002140945196152,0.0004368680715561,0.0000764098167419},
{0.0004701359272003},
{0.0000647197440267},
{0.0000269949920475},
{0.0001638411283493},
{0.0003042242825031},
{0.0000561550259590},
{0.0001424556821585},
{0.0002148690521717},
{0.0000434543788433},
{0.0002427831143141},
{0.0000438736528158},
{0.0004795337244868},
{0.0000446424074471},
{0.0002742346823215},
{0.0000688605606556,0.0000258570667356,0.0042980651508551,0.0000304748769850,0.0006820328405593,0.0000390745326877,0.0012141651408747},
{0.0000882203355432},
{0.0006429561972618},
{0.0000458004139364},
{0.0001654591858387},
{0.0022059390544891,0.0000266597215086,0.0058388715461479},
{0.0004161452054977},
{0.0006927159074694},
{0.0040090313749388,0.0000337805859745,0.0004725588858128,0.0000612512673251,0.0004798127859831,0.0000370041318238,0.0000721302255988,0.0000581219643354,0.0013926201499999,0.0000359091907740,0.0005879693031311,0.0000361435189843,0.0011588533772156},
{0.0000972898155451},
{0.0002090113908052},
{0.0002244853377342},
{0.0002583923935890},
{0.0000665052682161},
{0.0000421758927405},
{0.0003833285868168},
{0.0001923093348742},
{0.0000358205400407},
{0.0001196608319879},
{0.0000379334837198},
{0.0001461260169744},
{0.0000260747577995},
{0.0003628780543804},
{0.0000268623083830},
{0.0001849918216467},
{0.0000812213271856},
{0.0001047748178244},
{0.0000650266408920},
{0.0000661099627614},
{0.0000470972992480},
{0.0000479324422777},
{0.0001120398119092},
{0.0000387027785182},
{0.0002592583000660},
{0.0004632559716702},
{0.0000638377666473},
{0.0001067768558860},
{0.0000815051868558},
{0.0004845444262028},
{0.0000922304689884},
{0.0001392892450094},
{0.0000681996271014},
{0.0002385984808207,0.0002872733473778,0.0000442170128226},
{0.0000380823612213},
{0.0001352311223745},
{0.0002799094021320},
{0.0009672256708145},
{0.0036009050013963,0.0000276721175760,0.0000642527490854,0.0000263329185545,0.0025364785003476,0.0000296143610030,0.0041134759206325,0.0000267708096653,0.0005089995861053,0.0000300295352936,0.0044292330835015,0.0000324769727886,0.0003857341110706},
{0.0000308146532625},
{0.0000462730079889},
{0.0004620936214924},
{0.0000469473563135},
{0.0016883610370569,0.0000432643741369,0.0009458740642294,0.0000363655872643,0.0003648419380188,0.0000593312792480,0.0008441585418768,0.0000317999236286,0.0006647481322289,0.0000338590256870,0.0003635101807304,0.0000298183746636,0.0009493491137400,0.0000555338263512,0.0000758448913693},
{0.0001492201387882},
{0.0002014099955559},
{0.0001047328338027},
{0.0000269465073943},
{0.0003232382237911},
{0.0005524225960253},
{0.0001762858182192},
{0.0000315648429096},
{0.0001218295842409},
{0.0006378794312477},
{0.0001199181154370},
{0.0002443575859070},
{0.0002844989895821},
{0.0000268960930407},
{0.0000320353507996},
{0.0005438302755356},
{0.0001399432718754},
{0.0002481705546379},
{0.0003950311541557},
{0.0000382652953267},
{0.0004377900958061},
{0.0000836950391531},
{0.0000779224261642},
{0.0002759269773960},
{0.0019047574670985,0.0000330783724785,0.0032069664001465,0.0000391548946500,0.0005063267401420,0.0000341319516301,0.0001243081167340,0.0000269729699939,0.0001084747016430},
{0.0000664622113109},
{0.0000596376582980},
{0.0000801433473825},
{0.0000406592264771},
{0.0001133367195725},
{0.0001649862378836},
{0.0000886702835560},
{0.0006040039658546},
{0.0003627225458622},
{0.0005394420489902},
{0.0000536891035736},
{0.0012522429395467},
{0.0000275109000504},
{0.0000831938162446},
{0.0001338126361370},
{0.0002245706617832},
{0.0016820207755081,0.0000264176707715,0.0021380715565756,0.0000635893866420,0.0019631262486801,0.0003183521330357,0.0001379315853119},
{0.0000444064103067},
{0.0000341268926859},
{0.0002364875972271},
{0.0002094406187534},
{0.0000263492912054},
{0.0004341696202755},
{0.0001758432090282},
{0.0002792237102985},
{0.0003159772753716,0.0029366123676300,0.0002339833676815},
{0.0005043897628784},
{0.0003300204575062},
{0.0000655327141285},
{0.0001548450887203},
{0.0000774405226111},
{0.0000670671686530},
{0.0001709562838078},
{0.0001583992838860},
{0.0000275957491249},
{0.0004081802368164},
{0.0003869540393353},
{0.0001015558466315},
{0.0001147415712476},
{0.0002001868635416},
{0.0001001462340355},
{0.0000356537774205},
{0.0002184806466103},
{0.0000367974303663},
{0.0001773231625557},
{0.0004408481121063},
{0.0000815815180540,0.0000261584501714,0.0014118890725076},
{0.0038443666113308},
{0.0000284856185317},
{0.0000512654632330},
{0.0003870272934437},
{0.0000753228217363},
{0.0001567437499762},
{0.0004187143146992},
{0.0002782339751720},
{0.0005880184769630},
{0.0002552812099457,0.0000375862121582,0.0007393136024475},
{0.0000689131319523},
{0.0000968954637647},
{0.0000796835049987},
{0.0020977891720831,0.0000266869682819,0.0001592747867107,0.0000493879206479,0.0012651006691158},
{0.0003174880743027},
{0.0000518609695137},
{0.0010945849418640},
{0.0000276110880077},
{0.0000862458497286},
{0.0014263533521444,0.0000251449905336,0.0071188268342521,0.0000492441244423,0.0011881452437956},
{0.0001470514684916},
{0.0000308929719031},
{0.0001860728710890},
{0.0002957032322884},
{0.0010305040795356,0.0000683840285055,0.0006288799878675,0.0000688807144761,0.0016785632576793},
{0.0002619244456291},
{0.0000987780988216},
{0.0000714140087366},
{0.0000468435063958},
{0.0003175786137581},
{0.0000303866472095},
{0.0002275162190199,0.0000413125157356,0.0068188062897243},
{0.0000831082612276},
{0.0000955928191543,0.0010433901548386,0.0001178357303143},
{0.0000435312427580},
{0.0034780745115131},
{0.0000413725227118},
{0.0001221929341555},
{0.0000352984480560},
{0.0001278462558985},
{0.0049938640407054},
{0.0003490069806576},
{0.0000740766674280},
{0.0002399362474680},
{0.0002819484472275},
{0.0000319111123681},
{0.0001580874025822},
{0.0004807192385197,0.0000315371006727,0.0008480149828829,0.0000605250038207,0.0007441774610197},
{0.0000419710054994},
{0.0000782693922520},
{0.0003732382059097},
{0.0003879488408566,0.0010151703357697,0.0001991751939058},
{0.0000851612612605},
{0.0002848939895630},
{0.0000326655805111},
{0.0000866767317057},
{0.0000395578108728},
{0.0002456851303577},
{0.0001894696354866},
{0.0141518666324555},
{0.0002084972560406},
{0.0001301256120205},
{0.0003905286469962},
{0.0036159818386659},
{0.0001214902251959,0.0009288134574890,0.0003498462438583},
{0.0001375755667686,0.0000352329351008,0.0026126484582201,0.0000748943164945,0.0007565870294347,0.0000254742745310,0.0001097995191813,0.0000537630654871,0.0016867661979049,0.0000490311346948,0.0053113097203895},
{0.0002170102149248},
{0.0003667336404324},
{0.0000315045118332},
{0.0026663757427596,0.0000466824024916,0.0009942136257887,0.0000367957018316,0.0012213047605474,0.0000361457802355,0.0008350759972818,0.0000444426424801,0.0063261770288373,0.0000304159149528,0.0032604268351570},
{0.0008488191397337,0.0000696533545852,0.0062175567225495,0.0000654956623912,0.0009216544805095,0.0000378115065396,0.0007108240723610},
{0.0000971140936017},
{0.0001049800515175},
{0.0000886321663857},
{0.0008438611448510},
{0.0001023976653814},
{0.0003322258889675},
{0.0016087526620831},
{0.0005831084847450},
{0.0000541496090591},
{0.0003851624131203},
{0.0001715896725655},
{0.0000823185443878},
{0.0000279026310891},
{0.0002418821156025},
{0.0000362985022366},
{0.0018954220064916,0.0000313369594514,0.0005854660272598},
{0.0000262797269970},
{0.0000389486290514},
{0.0002054196149111},
{0.0002220967859030},
{0.0003511810004711},
{0.0004485146403313},
{0.0000313620604575},
{0.0003329412639141},
{0.0036205428261310},
{0.0000288231130689},
{0.0000471547916532},
{0.0014501184066758},
{0.0023948732081335},
{0.0000451206639409},
{0.0000387393124402},
{0.0038598212485667},
{0.0000659628510475},
{0.0000329077653587},
{0.0004435517191887},
{0.0002408087402582},
{0.0026864829077385,0.0000254028011113,0.0005931747555733,0.0000344174727798,0.0006292758677155,0.0000340798646212,0.0060328586064279},
{0.0015540966562112,0.0000285764243454,0.0065196502090839,0.0000309779960662,0.0002617031633854},
{0.0001978001445532},
{0.0020657570663607},
{0.0007063997955993},
{0.0000259029511362},
{0.0004974251985550},
{0.0000555119179189},
{0.0000335209332407},
{0.0000333276614547},
{0.0001788739860058},
{0.0000796637013555},
{0.0001164567545056},
{0.0000456955246627},
{0.0001676256209612},
{0.0000553840696812},
{0.0006367076039314},
{0.0002186728417873},
{0.0000741626322269},
{0.0001872528940439},
{0.0003581126630306},
{0.0002396910041571},
{0.0000314501188695},
{0.0001020710170269},
{0.0003095446825027},
{0.0001313740015030},
{0.0000503159984946},
{0.0000525740236044},
{0.0003766576945782},
{0.0002921065986156},
{0.0004725346295163,0.0000345416367054,0.0064263950825261,0.0010707944631577,0.0005406088407617,0.0000323235876858,0.0016786451162770},
{0.0001795565485954},
{0.0006281460893224,0.0000302890595049,0.0004204291999340},
{0.0004014063950162},
{0.0003098140954971},
{0.0000394291803241},
{0.0000454205833375},
{0.0001113181039691},
{0.0001964791864157},
{0.0000308832246810},
{0.0003143543303013},
{0.0000954366102815},
{0.0002872239947319,0.0000369155816734,0.0010336821079254},
{0.0000382914878428},
{0.0004774613082409},
{0.0035775125928922,0.0000340316183865,0.0006729131392203,0.0000325039252639,0.0030612086969195},
{0.0001027580723166,0.0008274450302124,0.0000635128468275},
{0.0000284421928227},
{0.0000310187619179},
{0.0016878177292529},
{0.0001123825907707},
{0.0000827269479632},
{0.0004660603404045},
{0.0000465598925948},
{0.0000574041530490},
{0.0002284420132637},
{0.0003772828578949},
{0.0001991513073444},
{0.0003623139858246},
{0.0004350112378597},
{0.0001346104294062},
{0.0000501431748271},
{0.0006431180238724,0.0000433478467166,0.0005392936896533},
{0.0003398123979568},
{0.0000359729565680},
{0.0001252198219299},
{0.0004789687693119},
{0.0001608798950911},
{0.0000706532523036},
{0.0000907291844487},
{0.0001395069360733},
{0.0006053648851812,0.0000316521786153,0.0012673675621918},
{0.0027305938021746},
{0.0001651978045702},
{0.0001735900491476},
{0.0000930477604270},
{0.0000813709869981},
{0.0003597556650639},
{0.0000360166318715},
{0.0002017017751932},
{0.0004445889890194},
{0.0001054717823863},
{0.0010057995487005,0.0000582196861506,0.0018481572037563,0.0000435911752284,0.0023195328759030,0.0000341262631118,0.0010742883831263,0.0000358160734177,0.0003211556077003},
{0.0010465256320313,0.0000330321267247,0.0001626600623131,0.0000765339136124,0.0006461150646210,0.0000707796141505,0.0006305820941925,0.0000543905794621,0.0107292752616631},
{0.0003228540718555},
{0.0002609194815159},
{0.0001448865383863},
{0.0002222431302071},
{0.0000428690016270},
{0.0003130919039249},
{0.0000276394207031},
{0.0000454262457788},
{0.0000399057157338},
{0.0006705699483864},
{0.0000355504229665},
{0.0002966799139977},
{0.0004181199669838},
{0.0001132604554296},
{0.0000547530055046},
{0.0000496195293963},
{0.0002840050160885},
{0.0001468376368284},
{0.0000539892315865},
{0.0001512134671211},
{0.0021950633354718,0.0000398994982243,0.0011783863920718,0.0000399977900088,0.0005094864862040,0.0000545736439526,0.0004242887496948},
{0.0000508352406323},
{0.0000823768973351},
{0.0008921195979929},
{0.0001745592504740},
{0.0005591689348221},
{0.0000479450933635},
{0.0015018394598737},
{0.0000378083102405},
{0.0006133059253007,0.0000555766820908,0.0000349998623133},
{0.0002662211358547},
{0.0003240672647953},
{0.0001461212188005},
{0.0007622505733743},
{0.0000395089909434},
{0.0000345415547490,0.0009779467582703,0.0001351277083158},
{0.0001216055005789},
{0.0000787886455655},
{0.0005383958816528},
{0.0001736704409122},
{0.0002196933925152},
{0.0000381115190685},
{0.0010606609582901,0.0000294978842139,0.0003438013792038},
{0.0017451768433675,0.0000273528732359,0.0007013920731843},
{0.0019608946591616,0.0000395924560726,0.0024412999433407,0.0000416253097355,0.0002063526064157},
{0.0005821407437325},
{0.0005688729882240},
{0.0001058785319328},
{0.0003510668568197,0.0000331423766911,0.0000820471197367},
{0.0011267719268799,0.0000283417589962,0.0008411506280536},
{0.0003396510481834},
{0.0000723771154881},
{0.0000331557691097},
{0.0000276532061398},
{0.0001892415583134},
{0.0002604371905327},
{0.0006117563843727},
{0.0047141121323220,0.0000323093309999,0.0018894003629684,0.0000390339195728,0.0005175910592079,0.0000546837635338,0.0001034881398082,0.0000441171452403,0.0001381320697255,0.0000531801991165,0.0016002795035020},
{0.0001070530861616},
{0.0001770031005144},
{0.0000346379801631},
{0.0001628299802542},
{0.0001613637953997},
{0.0001638570278883},
{0.0000522035509348,0.0030783507823944,0.0001822737306356},
{0.0000704684183002},
{0.0000530520863831},
{0.0001578557640314},
{0.0000381329841912},
{0.0008415848612785,0.0000504026487470,0.0014971406459808,0.0000358182303607,0.0003353533541958},
{0.0001701971292496},
{0.0002959171831608},
{0.0000378474555910},
{0.0000401533916593},
{0.0000444264709949},
{0.0000953679531813},
{0.0000483221821487},
{0.0002469474971294},
{0.0000397774018347},
{0.0046638967813924,0.0000285289213061,0.0023056283760816,0.0000361250080168,0.0009479517047293,0.0000357551500201,0.0013317401409149,0.0000292766857892,0.0025351626607589,0.0000569938682020,0.0009074156284332},
{0.0000328022800386},
{0.0005417370796204},
{0.0015160135934129,0.0000392326377332,0.0015851416904479},
{0.0003503907322884},
{0.0001468194574118},
{0.0001217035204172,0.0000567643269897,0.0007213752865791,0.0000377712436020,0.0000542198978364,0.0000366023629904,0.0005441457033157,0.0000255501605570,0.0010541102119605,0.0000259366296232,0.0011872405018657},
{0.0000340223535895},
{0.0000414633080363},
{0.0011540372573509,0.0000979062900878,0.0019953011790058}
};
DCProgs::t_rmatrix matrix(7 ,7);
matrix << -1500.0000000000000000,0.0000000000000000,0.0000000000000000,50000.0000000000000000,0.0000000000000000,0.0000000000000000,0.0000000000000000,0.0000000000000000,-13000.0000000000000000,0.0000000000000000,0.0000000000000000,50.0000000000000000,0.0000000000000000,0.0000000000000000,0.0000000000000000,0.0000000000000000,-15000.0000000000000000,0.0000000000000000,0.0000000000000000,10.0000000000000000,0.0000000000000000,1500.0000000000000000,0.0000000000000000,0.0000000000000000,-61000.0000000000000000,2.9999999999999996,2.9999999999999996,0.0000000000000000,0.0000000000000000,13000.0000000000000000,0.0000000000000000,5000.0000000000000000,-6053.0000000000000000,0.0000000000000000,2.9999999999999996,0.0000000000000000,0.0000000000000000,15000.0000000000000000,6000.0000000000000000,0.0000000000000000,-5013.0000000000000000,2.9999999999999996,0.0000000000000000,0.0000000000000000,0.0000000000000000,0.0000000000000000,6000.0000000000000000,5000.0000000000000000,-5.9999999999999991;
DCProgs::Log10Likelihood likelihood(bursts, 3, /*tau=*/0.0000250000000000, /*tcrit=*/0.0035000000000000);
DCProgs::t_real const result = likelihood(matrix)*log(10);
std::cout.precision(15);
std::cout << result << std::endl;
}
| [
"michael.epstein.10@ucl.ac.uk"
] | michael.epstein.10@ucl.ac.uk |
5f4fc54e2d0e9f9b3eccaba60d2a2a569da6d8c8 | 46fd901df8052d5de8770cd16c66e865f3207b83 | /enemy.h | cd0b2e804371820d6e48ba51ef9f31e0eabd2d8c | [] | no_license | gahapmo/Game-Ban-May-Bay | 14873e6dcd349bdbf066fc69481032772d111d0b | 57cd28ce85bb871fe09b12d23eaacf6f72d44fa8 | refs/heads/master | 2020-03-22T08:42:53.960859 | 2018-07-05T02:36:43 | 2018-07-05T02:36:43 | 139,785,718 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 288 | h | #pragma once
#include "GameObject.h"
#include <SDL.h>
#include <SDL_image.h>
class enemy :
public GameObject
{
public:
enemy();
enemy(const char *textureSheet, int x, int y, int hp);
~enemy();
public:
void Update();
void Render();
void EventsHanlde();
};
| [
"noreply@github.com"
] | noreply@github.com |
656e0e25e511f44e40c792adca35f4cd7ad01b9a | d61d05748a59a1a73bbf3c39dd2c1a52d649d6e3 | /chromium/android_webview/browser/aw_proxying_url_loader_factory.cc | 8024bdff7e9d4c079df47d62259a72ceaf19349f | [
"BSD-3-Clause"
] | permissive | Csineneo/Vivaldi | 4eaad20fc0ff306ca60b400cd5fad930a9082087 | d92465f71fb8e4345e27bd889532339204b26f1e | refs/heads/master | 2022-11-23T17:11:50.714160 | 2019-05-25T11:45:11 | 2019-05-25T11:45:11 | 144,489,531 | 5 | 4 | BSD-3-Clause | 2022-11-04T05:55:33 | 2018-08-12T18:04:37 | null | UTF-8 | C++ | false | false | 27,992 | cc | // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "android_webview/browser/aw_proxying_url_loader_factory.h"
#include <utility>
#include "android_webview/browser/android_protocol_handler.h"
#include "android_webview/browser/aw_contents_client_bridge.h"
#include "android_webview/browser/aw_contents_io_thread_client.h"
#include "android_webview/browser/input_stream.h"
#include "android_webview/browser/net/aw_web_resource_response.h"
#include "android_webview/browser/net_helpers.h"
#include "android_webview/browser/net_network_service/android_stream_reader_url_loader.h"
#include "android_webview/browser/renderer_host/auto_login_parser.h"
#include "android_webview/common/url_constants.h"
#include "base/android/build_info.h"
#include "base/bind.h"
#include "base/strings/stringprintf.h"
#include "base/task/post_task.h"
#include "components/safe_browsing/common/safebrowsing_constants.h"
#include "content/public/browser/browser_task_traits.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/global_request_id.h"
#include "content/public/browser/resource_request_info.h"
#include "content/public/browser/web_contents.h"
#include "content/public/common/url_utils.h"
#include "net/base/load_flags.h"
#include "net/http/http_util.h"
namespace android_webview {
namespace {
const char kAutoLoginHeaderName[] = "X-Auto-Login";
const char kRequestedWithHeaderName[] = "X-Requested-With";
class InterceptResponseDelegate
: public AndroidStreamReaderURLLoader::ResponseDelegate {
public:
explicit InterceptResponseDelegate(
std::unique_ptr<AwWebResourceResponse> response)
: response_(std::move(response)) {}
std::unique_ptr<android_webview::InputStream> OpenInputStream(
JNIEnv* env) override {
return response_->GetInputStream(env);
}
void OnInputStreamOpenFailed(bool* restarted) override { *restarted = false; }
bool GetMimeType(JNIEnv* env,
const GURL& url,
android_webview::InputStream* stream,
std::string* mime_type) override {
return response_->GetMimeType(env, mime_type);
}
bool GetCharset(JNIEnv* env,
const GURL& url,
android_webview::InputStream* stream,
std::string* charset) override {
return response_->GetCharset(env, charset);
}
void AppendResponseHeaders(JNIEnv* env,
net::HttpResponseHeaders* headers) override {
int status_code;
std::string reason_phrase;
if (response_->GetStatusInfo(env, &status_code, &reason_phrase)) {
std::string status_line("HTTP/1.1 ");
status_line.append(base::NumberToString(status_code));
status_line.append(" ");
status_line.append(reason_phrase);
headers->ReplaceStatusLine(status_line);
}
response_->GetResponseHeaders(env, headers);
}
private:
std::unique_ptr<AwWebResourceResponse> response_;
};
// Handles intercepted, in-progress requests/responses, so that they can be
// controlled and modified accordingly.
class InterceptedRequest : public network::mojom::URLLoader,
public network::mojom::URLLoaderClient {
public:
InterceptedRequest(
int process_id,
uint64_t request_id,
int32_t routing_id,
uint32_t options,
const network::ResourceRequest& request,
const net::MutableNetworkTrafficAnnotationTag& traffic_annotation,
network::mojom::URLLoaderRequest loader_request,
network::mojom::URLLoaderClientPtr client,
network::mojom::URLLoaderFactoryPtr target_factory);
~InterceptedRequest() override;
void Restart();
// network::mojom::URLLoaderClient
void OnReceiveResponse(const network::ResourceResponseHead& head) override;
void OnReceiveRedirect(const net::RedirectInfo& redirect_info,
const network::ResourceResponseHead& head) override;
void OnUploadProgress(int64_t current_position,
int64_t total_size,
OnUploadProgressCallback callback) override;
void OnReceiveCachedMetadata(const std::vector<uint8_t>& data) override;
void OnTransferSizeUpdated(int32_t transfer_size_diff) override;
void OnStartLoadingResponseBody(
mojo::ScopedDataPipeConsumerHandle body) override;
void OnComplete(const network::URLLoaderCompletionStatus& status) override;
// network::mojom::URLLoader
void FollowRedirect(const std::vector<std::string>& removed_headers,
const net::HttpRequestHeaders& modified_headers,
const base::Optional<GURL>& new_url) override;
void ProceedWithResponse() override;
void SetPriority(net::RequestPriority priority,
int32_t intra_priority_value) override;
void PauseReadingBodyFromNet() override;
void ResumeReadingBodyFromNet() override;
void ContinueAfterIntercept();
void ContinueAfterInterceptWithOverride(
std::unique_ptr<AwWebResourceResponse> response);
void InterceptResponseReceived(
std::unique_ptr<AwWebResourceResponse> response);
void InputStreamFailed();
private:
std::unique_ptr<AwContentsIoThreadClient> GetIoThreadClient();
// This is called when the original URLLoaderClient has a connection error.
void OnURLLoaderClientError();
// This is called when the original URLLoader has a connection error.
void OnURLLoaderError(uint32_t custom_reason, const std::string& description);
// Call OnComplete on |target_client_|. If |wait_for_loader_error| is true
// then this object will wait for |proxied_loader_binding_| to have a
// connection error before destructing.
void CallOnComplete(const network::URLLoaderCompletionStatus& status,
bool wait_for_loader_error);
// TODO(timvolodine): consider factoring this out of this class.
bool ShouldNotInterceptRequest();
// Posts the error callback to the UI thread, ensuring that at most we send
// only one.
void SendErrorCallback(int error_code, bool safebrowsing_hit);
const int process_id_;
const uint64_t request_id_;
const int32_t routing_id_;
const uint32_t options_;
bool input_stream_previously_failed_ = false;
bool request_was_redirected_ = false;
// To avoid sending multiple OnReceivedError callbacks.
bool sent_error_callback_ = false;
// If the |target_loader_| called OnComplete with an error this stores it.
// That way the destructor can send it to OnReceivedError if safe browsing
// error didn't occur.
int error_status_ = net::OK;
network::ResourceRequest request_;
const net::MutableNetworkTrafficAnnotationTag traffic_annotation_;
mojo::Binding<network::mojom::URLLoader> proxied_loader_binding_;
network::mojom::URLLoaderClientPtr target_client_;
mojo::Binding<network::mojom::URLLoaderClient> proxied_client_binding_;
network::mojom::URLLoaderPtr target_loader_;
network::mojom::URLLoaderFactoryPtr target_factory_;
base::WeakPtrFactory<InterceptedRequest> weak_factory_;
DISALLOW_COPY_AND_ASSIGN(InterceptedRequest);
};
class ProtocolResponseDelegate
: public AndroidStreamReaderURLLoader::ResponseDelegate {
public:
ProtocolResponseDelegate(const GURL& url,
base::WeakPtr<InterceptedRequest> request)
: url_(url), request_(request) {}
std::unique_ptr<android_webview::InputStream> OpenInputStream(
JNIEnv* env) override {
return CreateInputStream(env, url_);
}
void OnInputStreamOpenFailed(bool* restarted) override {
request_->InputStreamFailed();
*restarted = true;
}
bool GetMimeType(JNIEnv* env,
const GURL& url,
android_webview::InputStream* stream,
std::string* mime_type) override {
return GetInputStreamMimeType(env, url, stream, mime_type);
}
bool GetCharset(JNIEnv* env,
const GURL& url,
android_webview::InputStream* stream,
std::string* charset) override {
// TODO: We should probably be getting this from the managed side.
return false;
}
void AppendResponseHeaders(JNIEnv* env,
net::HttpResponseHeaders* headers) override {
// no-op
}
private:
GURL url_;
base::WeakPtr<InterceptedRequest> request_;
};
InterceptedRequest::InterceptedRequest(
int process_id,
uint64_t request_id,
int32_t routing_id,
uint32_t options,
const network::ResourceRequest& request,
const net::MutableNetworkTrafficAnnotationTag& traffic_annotation,
network::mojom::URLLoaderRequest loader_request,
network::mojom::URLLoaderClientPtr client,
network::mojom::URLLoaderFactoryPtr target_factory)
: process_id_(process_id),
request_id_(request_id),
routing_id_(routing_id),
options_(options),
request_(request),
traffic_annotation_(traffic_annotation),
proxied_loader_binding_(this, std::move(loader_request)),
target_client_(std::move(client)),
proxied_client_binding_(this),
target_factory_(std::move(target_factory)),
weak_factory_(this) {
// If there is a client error, clean up the request.
target_client_.set_connection_error_handler(base::BindOnce(
&InterceptedRequest::OnURLLoaderClientError, base::Unretained(this)));
proxied_loader_binding_.set_connection_error_with_reason_handler(
base::BindOnce(&InterceptedRequest::OnURLLoaderError,
base::Unretained(this)));
}
InterceptedRequest::~InterceptedRequest() {
if (error_status_ != net::OK)
SendErrorCallback(error_status_, false);
}
void InterceptedRequest::Restart() {
// TODO(timvolodine): add async check shouldOverrideUrlLoading and
// shouldInterceptRequest.
std::unique_ptr<AwContentsIoThreadClient> io_thread_client =
GetIoThreadClient();
DCHECK(io_thread_client);
if (ShouldBlockURL(request_.url, io_thread_client.get())) {
auto status = network::URLLoaderCompletionStatus(net::ERR_ACCESS_DENIED);
SendErrorCallback(status.error_code, false);
target_client_->OnComplete(status);
delete this;
return;
}
request_.load_flags =
UpdateLoadFlags(request_.load_flags, io_thread_client.get());
if (ShouldNotInterceptRequest()) {
// equivalent to no interception
InterceptResponseReceived(nullptr);
} else {
if (request_.referrer.is_valid()) {
// intentionally override if referrer header already exists
request_.headers.SetHeader(net::HttpRequestHeaders::kReferer,
request_.referrer.spec());
}
// TODO: verify the case when WebContents::RenderFrameDeleted is called
// before network request is intercepted (i.e. if that's possible and
// whether it can result in any issues).
io_thread_client->ShouldInterceptRequestAsync(
AwWebResourceRequest(request_),
base::BindOnce(&InterceptedRequest::InterceptResponseReceived,
weak_factory_.GetWeakPtr()));
}
}
// logic for when not to invoke shouldInterceptRequest callback
bool InterceptedRequest::ShouldNotInterceptRequest() {
if (request_was_redirected_)
return true;
// Do not call shouldInterceptRequest callback for special android urls,
// unless they fail to load on first attempt. Special android urls are urls
// such as "file:///android_asset/", "file:///android_res/" urls or
// "content:" scheme urls.
return !input_stream_previously_failed_ &&
(request_.url.SchemeIs(url::kContentScheme) ||
android_webview::IsAndroidSpecialFileUrl(request_.url));
}
void SetRequestedWithHeader(net::HttpRequestHeaders& headers) {
// We send the application's package name in the X-Requested-With header for
// compatibility with previous WebView versions. This should not be visible to
// shouldInterceptRequest.
headers.SetHeaderIfMissing(
kRequestedWithHeaderName,
base::android::BuildInfo::GetInstance()->host_package_name());
}
void InterceptedRequest::InterceptResponseReceived(
std::unique_ptr<AwWebResourceResponse> response) {
SetRequestedWithHeader(request_.headers);
if (response) {
// non-null response: make sure to use it as an override for the
// normal network data.
ContinueAfterInterceptWithOverride(std::move(response));
} else {
ContinueAfterIntercept();
}
}
void InterceptedRequest::InputStreamFailed() {
DCHECK(!input_stream_previously_failed_);
input_stream_previously_failed_ = true;
proxied_client_binding_.Unbind();
Restart();
}
void InterceptedRequest::ContinueAfterIntercept() {
// For WebViewClassic compatibility this job can only accept URLs that can be
// opened. URLs that cannot be opened should be resolved by the next handler.
//
// If a request is initially handled here but the job fails due to it being
// unable to open the InputStream for that request the request is marked as
// previously failed and restarted.
// Restarting a request involves creating a new job for that request. This
// handler will ignore requests known to have previously failed to 1) prevent
// an infinite loop, 2) ensure that the next handler in line gets the
// opportunity to create a job for the request.
if (!input_stream_previously_failed_ &&
(request_.url.SchemeIs(url::kContentScheme) ||
android_webview::IsAndroidSpecialFileUrl(request_.url))) {
network::mojom::URLLoaderClientPtr proxied_client;
proxied_client_binding_.Bind(mojo::MakeRequest(&proxied_client));
AndroidStreamReaderURLLoader* loader = new AndroidStreamReaderURLLoader(
request_, std::move(proxied_client), traffic_annotation_,
std::make_unique<ProtocolResponseDelegate>(request_.url,
weak_factory_.GetWeakPtr()));
loader->Start();
return;
}
if (!target_loader_ && target_factory_) {
network::mojom::URLLoaderClientPtr proxied_client;
proxied_client_binding_.Bind(mojo::MakeRequest(&proxied_client));
target_factory_->CreateLoaderAndStart(
mojo::MakeRequest(&target_loader_), routing_id_, request_id_, options_,
request_, std::move(proxied_client), traffic_annotation_);
}
}
void InterceptedRequest::ContinueAfterInterceptWithOverride(
std::unique_ptr<AwWebResourceResponse> response) {
network::mojom::URLLoaderClientPtr proxied_client;
proxied_client_binding_.Bind(mojo::MakeRequest(&proxied_client));
AndroidStreamReaderURLLoader* loader = new AndroidStreamReaderURLLoader(
request_, std::move(proxied_client), traffic_annotation_,
std::make_unique<InterceptResponseDelegate>(std::move(response)));
loader->Start();
}
namespace {
// TODO(timvolodine): consider factoring this out of this file.
AwContentsClientBridge* GetAwContentsClientBridgeFromID(int process_id,
int render_frame_id) {
content::WebContents* wc =
process_id
? content::WebContents::FromRenderFrameHost(
content::RenderFrameHost::FromID(process_id, render_frame_id))
: content::WebContents::FromFrameTreeNodeId(render_frame_id);
return AwContentsClientBridge::FromWebContents(wc);
}
void OnReceivedHttpErrorOnUiThread(
int process_id,
int render_frame_id,
const AwWebResourceRequest& request,
std::unique_ptr<AwContentsClientBridge::HttpErrorInfo> http_error_info) {
auto* client = GetAwContentsClientBridgeFromID(process_id, render_frame_id);
if (!client) {
DLOG(WARNING) << "client is null, onReceivedHttpError dropped for "
<< request.url;
return;
}
client->OnReceivedHttpError(request, std::move(http_error_info));
}
void OnReceivedErrorOnUiThread(int process_id,
int render_frame_id,
const AwWebResourceRequest& request,
int error_code,
bool safebrowsing_hit) {
auto* client = GetAwContentsClientBridgeFromID(process_id, render_frame_id);
if (!client) {
DLOG(WARNING) << "client is null, onReceivedError dropped for "
<< request.url;
return;
}
client->OnReceivedError(request, error_code, safebrowsing_hit);
}
void OnNewLoginRequestOnUiThread(int process_id,
int render_frame_id,
const std::string& realm,
const std::string& account,
const std::string& args) {
auto* client = GetAwContentsClientBridgeFromID(process_id, render_frame_id);
if (!client) {
return;
}
client->NewLoginRequest(realm, account, args);
}
} // namespace
// URLLoaderClient methods.
void InterceptedRequest::OnReceiveResponse(
const network::ResourceResponseHead& head) {
// intercept response headers here
// pause/resume proxied_client_binding_ if necessary
if (head.headers && head.headers->response_code() >= 400) {
// In Android WebView the WebViewClient.onReceivedHttpError callback
// is invoked for any resource (main page, iframe, image, etc.) with
// status code >= 400.
std::unique_ptr<AwContentsClientBridge::HttpErrorInfo> error_info =
AwContentsClientBridge::ExtractHttpErrorInfo(head.headers.get());
base::PostTaskWithTraits(
FROM_HERE, {content::BrowserThread::UI},
base::BindOnce(&OnReceivedHttpErrorOnUiThread, process_id_,
request_.render_frame_id, AwWebResourceRequest(request_),
std::move(error_info)));
}
if (request_.resource_type == content::RESOURCE_TYPE_MAIN_FRAME) {
// Check for x-auto-login-header
HeaderData header_data;
std::string header_string;
if (head.headers && head.headers->GetNormalizedHeader(kAutoLoginHeaderName,
&header_string)) {
if (ParseHeader(header_string, ALLOW_ANY_REALM, &header_data)) {
// TODO(timvolodine): consider simplifying this and above callback
// code, crbug.com/897149.
base::PostTaskWithTraits(
FROM_HERE, {content::BrowserThread::UI},
base::BindOnce(&OnNewLoginRequestOnUiThread, process_id_,
request_.render_frame_id, header_data.realm,
header_data.account, header_data.args));
}
}
}
target_client_->OnReceiveResponse(head);
}
void InterceptedRequest::OnReceiveRedirect(
const net::RedirectInfo& redirect_info,
const network::ResourceResponseHead& head) {
// TODO(timvolodine): handle redirect override.
// TODO(timvolodine): handle unsafe redirect case.
request_was_redirected_ = true;
target_client_->OnReceiveRedirect(redirect_info, head);
request_.url = redirect_info.new_url;
request_.method = redirect_info.new_method;
request_.site_for_cookies = redirect_info.new_site_for_cookies;
request_.referrer = GURL(redirect_info.new_referrer);
request_.referrer_policy = redirect_info.new_referrer_policy;
}
void InterceptedRequest::OnUploadProgress(int64_t current_position,
int64_t total_size,
OnUploadProgressCallback callback) {
target_client_->OnUploadProgress(current_position, total_size,
std::move(callback));
}
void InterceptedRequest::OnReceiveCachedMetadata(
const std::vector<uint8_t>& data) {
target_client_->OnReceiveCachedMetadata(data);
}
void InterceptedRequest::OnTransferSizeUpdated(int32_t transfer_size_diff) {
target_client_->OnTransferSizeUpdated(transfer_size_diff);
}
void InterceptedRequest::OnStartLoadingResponseBody(
mojo::ScopedDataPipeConsumerHandle body) {
target_client_->OnStartLoadingResponseBody(std::move(body));
}
void InterceptedRequest::OnComplete(
const network::URLLoaderCompletionStatus& status) {
// Only wait for the original loader to possibly have a custom error if the
// target loader succeeded. If the target loader failed, then it was a race as
// to whether that error or the safe browsing error would be reported.
CallOnComplete(status, status.error_code == net::OK);
}
// URLLoader methods.
void InterceptedRequest::FollowRedirect(
const std::vector<std::string>& removed_headers,
const net::HttpRequestHeaders& modified_headers,
const base::Optional<GURL>& new_url) {
if (target_loader_)
target_loader_->FollowRedirect(removed_headers, modified_headers, new_url);
// If |OnURLLoaderClientError| was called then we're just waiting for the
// connection error handler of |proxied_loader_binding_|. Don't restart the
// job since that'll create another URLLoader
if (!target_client_)
return;
Restart();
}
void InterceptedRequest::ProceedWithResponse() {
if (target_loader_)
target_loader_->ProceedWithResponse();
}
void InterceptedRequest::SetPriority(net::RequestPriority priority,
int32_t intra_priority_value) {
if (target_loader_)
target_loader_->SetPriority(priority, intra_priority_value);
}
void InterceptedRequest::PauseReadingBodyFromNet() {
if (target_loader_)
target_loader_->PauseReadingBodyFromNet();
}
void InterceptedRequest::ResumeReadingBodyFromNet() {
if (target_loader_)
target_loader_->ResumeReadingBodyFromNet();
}
std::unique_ptr<AwContentsIoThreadClient>
InterceptedRequest::GetIoThreadClient() {
if (request_.originated_from_service_worker) {
return AwContentsIoThreadClient::GetServiceWorkerIoThreadClient();
}
// |process_id_| == 0 indicates this is a navigation, and so we should use the
// frame_tree_node_id API (with request_.render_frame_id).
return process_id_
? AwContentsIoThreadClient::FromID(process_id_,
request_.render_frame_id)
: AwContentsIoThreadClient::FromID(request_.render_frame_id);
}
void InterceptedRequest::OnURLLoaderClientError() {
// We set |wait_for_loader_error| to true because if the loader did have a
// custom_reason error then the client would be reset as well and it would be
// a race as to which connection error we saw first.
CallOnComplete(network::URLLoaderCompletionStatus(net::ERR_ABORTED),
true /* wait_for_loader_error */);
}
void InterceptedRequest::OnURLLoaderError(uint32_t custom_reason,
const std::string& description) {
if (custom_reason == network::mojom::URLLoader::kClientDisconnectReason)
SendErrorCallback(safe_browsing::GetNetErrorCodeForSafeBrowsing(), true);
// If CallOnComplete was already called, then this object is ready to be
// deleted.
if (!target_client_)
delete this;
}
void InterceptedRequest::CallOnComplete(
const network::URLLoaderCompletionStatus& status,
bool wait_for_loader_error) {
// Save an error status so that we call onReceiveError at destruction if there
// was no safe browsing error.
if (status.error_code != net::OK)
error_status_ = status.error_code;
if (target_client_)
target_client_->OnComplete(status);
if (proxied_loader_binding_ && wait_for_loader_error) {
// Don't delete |this| yet, in case the |proxied_loader_binding_|'s
// error_handler is called with a reason to indicate an error which we want
// to send to the client bridge. Also reset |target_client_| so we don't
// get its error_handler called and then delete |this|.
target_client_.reset();
// Since the original client is gone no need to continue loading the
// request.
proxied_client_binding_.Close();
target_loader_.reset();
// In case there are pending checks as to whether this request should be
// intercepted, we don't want that causing |target_client_| to be used
// later.
weak_factory_.InvalidateWeakPtrs();
} else {
delete this;
}
}
void InterceptedRequest::SendErrorCallback(int error_code,
bool safebrowsing_hit) {
// Ensure we only send one error callback, e.g. to avoid sending two if
// there's both a networking error and safe browsing blocked the request.
if (sent_error_callback_)
return;
sent_error_callback_ = true;
base::PostTaskWithTraits(
FROM_HERE, {content::BrowserThread::UI},
base::BindOnce(&OnReceivedErrorOnUiThread, process_id_,
request_.render_frame_id, AwWebResourceRequest(request_),
error_code, safebrowsing_hit));
}
} // namespace
//============================
// AwProxyingURLLoaderFactory
//============================
AwProxyingURLLoaderFactory::AwProxyingURLLoaderFactory(
int process_id,
network::mojom::URLLoaderFactoryRequest loader_request,
network::mojom::URLLoaderFactoryPtrInfo target_factory_info,
std::unique_ptr<AwInterceptedRequestHandler> request_handler)
: process_id_(process_id),
request_handler_(std::move(request_handler)),
weak_factory_(this) {
// actual creation of the factory
DCHECK_CURRENTLY_ON(content::BrowserThread::IO);
target_factory_.Bind(std::move(target_factory_info));
target_factory_.set_connection_error_handler(
base::BindOnce(&AwProxyingURLLoaderFactory::OnTargetFactoryError,
base::Unretained(this)));
proxy_bindings_.AddBinding(this, std::move(loader_request));
proxy_bindings_.set_connection_error_handler(
base::BindRepeating(&AwProxyingURLLoaderFactory::OnProxyBindingError,
base::Unretained(this)));
}
AwProxyingURLLoaderFactory::~AwProxyingURLLoaderFactory() {}
// static
void AwProxyingURLLoaderFactory::CreateProxy(
int process_id,
network::mojom::URLLoaderFactoryRequest loader_request,
network::mojom::URLLoaderFactoryPtrInfo target_factory_info,
std::unique_ptr<AwInterceptedRequestHandler> request_handler) {
DCHECK_CURRENTLY_ON(content::BrowserThread::IO);
// will manage its own lifetime
new AwProxyingURLLoaderFactory(process_id, std::move(loader_request),
std::move(target_factory_info),
std::move(request_handler));
}
void AwProxyingURLLoaderFactory::CreateLoaderAndStart(
network::mojom::URLLoaderRequest loader,
int32_t routing_id,
int32_t request_id,
uint32_t options,
const network::ResourceRequest& request,
network::mojom::URLLoaderClientPtr client,
const net::MutableNetworkTrafficAnnotationTag& traffic_annotation) {
bool pass_through = false;
if (pass_through) {
// this is the so-called pass-through, no-op option.
target_factory_->CreateLoaderAndStart(
std::move(loader), routing_id, request_id, options, request,
std::move(client), traffic_annotation);
return;
}
// TODO(timvolodine): handle interception, modification (headers for
// webview), blocking, callbacks etc..
network::mojom::URLLoaderFactoryPtr target_factory_clone;
target_factory_->Clone(MakeRequest(&target_factory_clone));
// manages its own lifecycle
// TODO(timvolodine): consider keeping track of requests.
InterceptedRequest* req = new InterceptedRequest(
process_id_, request_id, routing_id, options, request, traffic_annotation,
std::move(loader), std::move(client), std::move(target_factory_clone));
req->Restart();
}
void AwProxyingURLLoaderFactory::OnTargetFactoryError() {
delete this;
}
void AwProxyingURLLoaderFactory::OnProxyBindingError() {
if (proxy_bindings_.empty())
delete this;
}
void AwProxyingURLLoaderFactory::Clone(
network::mojom::URLLoaderFactoryRequest loader_request) {
DCHECK_CURRENTLY_ON(content::BrowserThread::IO);
proxy_bindings_.AddBinding(this, std::move(loader_request));
}
} // namespace android_webview
| [
"csineneo@gmail.com"
] | csineneo@gmail.com |
306bea8dbc5986adeb1f31035f77cf6bd1ac3063 | 04629eadd91e0787ad7d14e45ebfa7477a50b0b3 | /Source/PluginProcessor.cpp | f240f84fee0523cead7996ac87517cc1909b41ee | [] | no_license | buosseph/juce-decimator | 44ee4066bd3adc2754b791e3b30d855f6615391c | b7cb04a153bd164d22fab9a3c0e664cbc6bf5e49 | refs/heads/master | 2020-05-20T18:48:36.117806 | 2015-12-23T03:06:34 | 2015-12-23T03:06:34 | 47,864,996 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,215 | cpp | /*
==============================================================================
This file was auto-generated by the Introjucer!
It contains the basic framework code for a JUCE plugin processor.
==============================================================================
*/
#include "PluginProcessor.h"
#include "PluginEditor.h"
//==============================================================================
PluginAudioProcessor::PluginAudioProcessor()
{
processor = new Decimator();
addParameter(bit_depth_parameter = new AudioParameterFloat("id1",
"Bit Depth",
NormalisableRange<float>(1.f, 32.f),
32.f));
addParameter(sample_rate_parameter = new AudioParameterFloat("id2",
"Sample Rate",
0.f, 1.f, 1.f));
}
PluginAudioProcessor::~PluginAudioProcessor()
{
}
//==============================================================================
const String PluginAudioProcessor::getName() const
{
return JucePlugin_Name;
}
const String PluginAudioProcessor::getInputChannelName (int channelIndex) const
{
return String (channelIndex + 1);
}
const String PluginAudioProcessor::getOutputChannelName (int channelIndex) const
{
return String (channelIndex + 1);
}
bool PluginAudioProcessor::isInputChannelStereoPair (int index) const
{
return true;
}
bool PluginAudioProcessor::isOutputChannelStereoPair (int index) const
{
return true;
}
bool PluginAudioProcessor::acceptsMidi() const
{
#if JucePlugin_WantsMidiInput
return true;
#else
return false;
#endif
}
bool PluginAudioProcessor::producesMidi() const
{
#if JucePlugin_ProducesMidiOutput
return true;
#else
return false;
#endif
}
bool PluginAudioProcessor::silenceInProducesSilenceOut() const
{
return false;
}
double PluginAudioProcessor::getTailLengthSeconds() const
{
return 0.0;
}
int PluginAudioProcessor::getNumPrograms()
{
return 1; // NB: some hosts don't cope very well if you tell them there are 0 programs,
// so this should be at least 1, even if you're not really implementing programs.
}
int PluginAudioProcessor::getCurrentProgram()
{
return 0;
}
void PluginAudioProcessor::setCurrentProgram (int index)
{
}
const String PluginAudioProcessor::getProgramName (int index)
{
return String();
}
void PluginAudioProcessor::changeProgramName (int index, const String& newName)
{
}
//==============================================================================
void PluginAudioProcessor::prepareToPlay (double sampleRate, int samplesPerBlock)
{
// Use this method as the place to do any pre-playback
// initialisation that you need..
processor->reset();
}
void PluginAudioProcessor::releaseResources()
{
// When playback stops, you can use this as an opportunity to free up any
// spare memory, etc.
}
void PluginAudioProcessor::processBlock (AudioSampleBuffer& buffer, MidiBuffer& midiMessages)
{
// Clear other channels, if any
for (int i = getNumInputChannels(); i < getNumOutputChannels(); ++i)
buffer.clear (i, 0, buffer.getNumSamples());
float bit_depth = bit_depth_parameter->get();
float sample_rate = sample_rate_parameter->get();
// Process
for (int channel = 0; channel < getNumInputChannels(); ++channel)
{
float* channelData = buffer.getWritePointer (channel);
for (int i = 0; i < buffer.getNumSamples(); ++i) {
channelData[i] = processor->decimate(channelData[i],
bit_depth,
sample_rate);
}
}
}
//==============================================================================
bool PluginAudioProcessor::hasEditor() const
{
return true; // (change this to false if you choose to not supply an editor)
}
AudioProcessorEditor* PluginAudioProcessor::createEditor()
{
return new PluginAudioProcessorEditor (*this);
}
//==============================================================================
void PluginAudioProcessor::getStateInformation (MemoryBlock& destData)
{
// You should use this method to store your parameters in the memory block.
// You could do that either as raw data, or use the XML or ValueTree classes
// as intermediaries to make it easy to save and load complex data.
}
void PluginAudioProcessor::setStateInformation (const void* data, int sizeInBytes)
{
// You should use this method to restore your parameters from this memory block,
// whose contents will have been created by the getStateInformation() call.
}
//==============================================================================
// This creates new instances of the plugin..
AudioProcessor* JUCE_CALLTYPE createPluginFilter()
{
return new PluginAudioProcessor();
}
| [
"brian.uosseph@gmail.com"
] | brian.uosseph@gmail.com |
40fbd386cc60ca1d04787a29427a6590638e8cc9 | 9da42e04bdaebdf0193a78749a80c4e7bf76a6cc | /third_party/gecko-2/win32/include/nsIXPointer.h | 056c58dd879a5f5b84b1ed425eebe278149bd93c | [
"Apache-2.0"
] | permissive | bwp/SeleniumWebDriver | 9d49e6069881845e9c23fb5211a7e1b8959e2dcf | 58221fbe59fcbbde9d9a033a95d45d576b422747 | refs/heads/master | 2021-01-22T21:32:50.541163 | 2012-11-09T16:19:48 | 2012-11-09T16:19:48 | 6,602,097 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,283 | h | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM e:/builds/moz2_slave/rel-2.0-xr-w32-bld/build/content/xml/document/public/nsIXPointer.idl
*/
#ifndef __gen_nsIXPointer_h__
#define __gen_nsIXPointer_h__
#ifndef __gen_nsISupports_h__
#include "nsISupports.h"
#endif
/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif
class nsIDOMRange; /* forward declaration */
class nsIDOMDocument; /* forward declaration */
/* starting interface: nsIXPointerResult */
#define NS_IXPOINTERRESULT_IID_STR "d3992637-f474-4b65-83ed-323fe69c60d2"
#define NS_IXPOINTERRESULT_IID \
{0xd3992637, 0xf474, 0x4b65, \
{ 0x83, 0xed, 0x32, 0x3f, 0xe6, 0x9c, 0x60, 0xd2 }}
/**
* XXX A good XPointerResult would probably mimic XPathresult,
* this range list is just the minimum that will be able to represent
* all return values, although it would be more user friendly to return
* nodes and node lists when they are possible.
*/
class NS_NO_VTABLE NS_SCRIPTABLE nsIXPointerResult : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IXPOINTERRESULT_IID)
/* nsIDOMRange item (in unsigned long index); */
NS_SCRIPTABLE NS_IMETHOD Item(PRUint32 index, nsIDOMRange **_retval NS_OUTPARAM) = 0;
/* readonly attribute unsigned long length; */
NS_SCRIPTABLE NS_IMETHOD GetLength(PRUint32 *aLength) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsIXPointerResult, NS_IXPOINTERRESULT_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIXPOINTERRESULT \
NS_SCRIPTABLE NS_IMETHOD Item(PRUint32 index, nsIDOMRange **_retval NS_OUTPARAM); \
NS_SCRIPTABLE NS_IMETHOD GetLength(PRUint32 *aLength);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIXPOINTERRESULT(_to) \
NS_SCRIPTABLE NS_IMETHOD Item(PRUint32 index, nsIDOMRange **_retval NS_OUTPARAM) { return _to Item(index, _retval); } \
NS_SCRIPTABLE NS_IMETHOD GetLength(PRUint32 *aLength) { return _to GetLength(aLength); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIXPOINTERRESULT(_to) \
NS_SCRIPTABLE NS_IMETHOD Item(PRUint32 index, nsIDOMRange **_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->Item(index, _retval); } \
NS_SCRIPTABLE NS_IMETHOD GetLength(PRUint32 *aLength) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLength(aLength); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsXPointerResult : public nsIXPointerResult
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSIXPOINTERRESULT
nsXPointerResult();
private:
~nsXPointerResult();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS1(nsXPointerResult, nsIXPointerResult)
nsXPointerResult::nsXPointerResult()
{
/* member initializers and constructor code */
}
nsXPointerResult::~nsXPointerResult()
{
/* destructor code */
}
/* nsIDOMRange item (in unsigned long index); */
NS_IMETHODIMP nsXPointerResult::Item(PRUint32 index, nsIDOMRange **_retval NS_OUTPARAM)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute unsigned long length; */
NS_IMETHODIMP nsXPointerResult::GetLength(PRUint32 *aLength)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
/* starting interface: nsIXPointerSchemeContext */
#define NS_IXPOINTERSCHEMECONTEXT_IID_STR "781f4aa1-ebb3-4667-b1c2-2b35e94c4281"
#define NS_IXPOINTERSCHEMECONTEXT_IID \
{0x781f4aa1, 0xebb3, 0x4667, \
{ 0xb1, 0xc2, 0x2b, 0x35, 0xe9, 0x4c, 0x42, 0x81 }}
/**
* Scheme context for nsIXPointerSchemeProcessor. The context consists of
* all the scheme/data pairs that precede the scheme/data that the
* nsIXPointerSchemeProcessor is currently evaluating.
*/
class NS_NO_VTABLE nsIXPointerSchemeContext : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IXPOINTERSCHEMECONTEXT_IID)
/* readonly attribute unsigned long count; */
NS_IMETHOD GetCount(PRUint32 *aCount) = 0;
/* void getSchemeData (in unsigned long index, out DOMString scheme, out DOMString data); */
NS_IMETHOD GetSchemeData(PRUint32 index, nsAString & scheme NS_OUTPARAM, nsAString & data NS_OUTPARAM) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsIXPointerSchemeContext, NS_IXPOINTERSCHEMECONTEXT_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIXPOINTERSCHEMECONTEXT \
NS_IMETHOD GetCount(PRUint32 *aCount); \
NS_IMETHOD GetSchemeData(PRUint32 index, nsAString & scheme NS_OUTPARAM, nsAString & data NS_OUTPARAM);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIXPOINTERSCHEMECONTEXT(_to) \
NS_IMETHOD GetCount(PRUint32 *aCount) { return _to GetCount(aCount); } \
NS_IMETHOD GetSchemeData(PRUint32 index, nsAString & scheme NS_OUTPARAM, nsAString & data NS_OUTPARAM) { return _to GetSchemeData(index, scheme, data); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIXPOINTERSCHEMECONTEXT(_to) \
NS_IMETHOD GetCount(PRUint32 *aCount) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCount(aCount); } \
NS_IMETHOD GetSchemeData(PRUint32 index, nsAString & scheme NS_OUTPARAM, nsAString & data NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSchemeData(index, scheme, data); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsXPointerSchemeContext : public nsIXPointerSchemeContext
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSIXPOINTERSCHEMECONTEXT
nsXPointerSchemeContext();
private:
~nsXPointerSchemeContext();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS1(nsXPointerSchemeContext, nsIXPointerSchemeContext)
nsXPointerSchemeContext::nsXPointerSchemeContext()
{
/* member initializers and constructor code */
}
nsXPointerSchemeContext::~nsXPointerSchemeContext()
{
/* destructor code */
}
/* readonly attribute unsigned long count; */
NS_IMETHODIMP nsXPointerSchemeContext::GetCount(PRUint32 *aCount)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void getSchemeData (in unsigned long index, out DOMString scheme, out DOMString data); */
NS_IMETHODIMP nsXPointerSchemeContext::GetSchemeData(PRUint32 index, nsAString & scheme NS_OUTPARAM, nsAString & data NS_OUTPARAM)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
/**
* nsIXPointerSchemeProcessor implementations must be registered with the below
* progid, appended with the scheme name that the processor implements.
*/
#define NS_XPOINTER_SCHEME_PROCESSOR_BASE "@mozilla.org/xml/xpointer;1?scheme="
/* starting interface: nsIXPointerSchemeProcessor */
#define NS_IXPOINTERSCHEMEPROCESSOR_IID_STR "093d3559-b56b-44d0-8764-c25815715080"
#define NS_IXPOINTERSCHEMEPROCESSOR_IID \
{0x093d3559, 0xb56b, 0x44d0, \
{ 0x87, 0x64, 0xc2, 0x58, 0x15, 0x71, 0x50, 0x80 }}
/**
* nsIXPointerSchemeProcessors will be called by the XPointer Processor that
* implements the XPointer Framework. This is done for each scheme the
* XPointer Processor finds, in left-to-right order.
*/
class NS_NO_VTABLE nsIXPointerSchemeProcessor : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IXPOINTERSCHEMEPROCESSOR_IID)
/**
* Evaluate.
*
* @param aDocument The document in which to resolve the XPointer.
* @param aContext The XPointer context in which to process aData.
* @param aData The data in the scheme that needs to be resolved.
* @return The result of the evaluation.
*/
/* nsIXPointerResult evaluate (in nsIDOMDocument aDocument, in nsIXPointerSchemeContext aContext, in DOMString aData); */
NS_IMETHOD Evaluate(nsIDOMDocument *aDocument, nsIXPointerSchemeContext *aContext, const nsAString & aData, nsIXPointerResult **_retval NS_OUTPARAM) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsIXPointerSchemeProcessor, NS_IXPOINTERSCHEMEPROCESSOR_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIXPOINTERSCHEMEPROCESSOR \
NS_IMETHOD Evaluate(nsIDOMDocument *aDocument, nsIXPointerSchemeContext *aContext, const nsAString & aData, nsIXPointerResult **_retval NS_OUTPARAM);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIXPOINTERSCHEMEPROCESSOR(_to) \
NS_IMETHOD Evaluate(nsIDOMDocument *aDocument, nsIXPointerSchemeContext *aContext, const nsAString & aData, nsIXPointerResult **_retval NS_OUTPARAM) { return _to Evaluate(aDocument, aContext, aData, _retval); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIXPOINTERSCHEMEPROCESSOR(_to) \
NS_IMETHOD Evaluate(nsIDOMDocument *aDocument, nsIXPointerSchemeContext *aContext, const nsAString & aData, nsIXPointerResult **_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->Evaluate(aDocument, aContext, aData, _retval); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsXPointerSchemeProcessor : public nsIXPointerSchemeProcessor
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSIXPOINTERSCHEMEPROCESSOR
nsXPointerSchemeProcessor();
private:
~nsXPointerSchemeProcessor();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS1(nsXPointerSchemeProcessor, nsIXPointerSchemeProcessor)
nsXPointerSchemeProcessor::nsXPointerSchemeProcessor()
{
/* member initializers and constructor code */
}
nsXPointerSchemeProcessor::~nsXPointerSchemeProcessor()
{
/* destructor code */
}
/* nsIXPointerResult evaluate (in nsIDOMDocument aDocument, in nsIXPointerSchemeContext aContext, in DOMString aData); */
NS_IMETHODIMP nsXPointerSchemeProcessor::Evaluate(nsIDOMDocument *aDocument, nsIXPointerSchemeContext *aContext, const nsAString & aData, nsIXPointerResult **_retval NS_OUTPARAM)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
/* starting interface: nsIXPointerEvaluator */
#define NS_IXPOINTEREVALUATOR_IID_STR "addd0fe5-8555-45b7-b763-97d5898ce268"
#define NS_IXPOINTEREVALUATOR_IID \
{0xaddd0fe5, 0x8555, 0x45b7, \
{ 0xb7, 0x63, 0x97, 0xd5, 0x89, 0x8c, 0xe2, 0x68 }}
/**
* nsIXPointerEvaluator resolves an XPointer expression
*/
class NS_NO_VTABLE nsIXPointerEvaluator : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IXPOINTEREVALUATOR_IID)
/**
* Evaluate an XPointer expression.
*
* @param aDocument The document in which to evaluate.
* @param aExpression The XPointer expression string to evaluate.
* @return The result.
*/
/* nsIXPointerResult evaluate (in nsIDOMDocument aDocument, in DOMString aExpression); */
NS_IMETHOD Evaluate(nsIDOMDocument *aDocument, const nsAString & aExpression, nsIXPointerResult **_retval NS_OUTPARAM) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsIXPointerEvaluator, NS_IXPOINTEREVALUATOR_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIXPOINTEREVALUATOR \
NS_IMETHOD Evaluate(nsIDOMDocument *aDocument, const nsAString & aExpression, nsIXPointerResult **_retval NS_OUTPARAM);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIXPOINTEREVALUATOR(_to) \
NS_IMETHOD Evaluate(nsIDOMDocument *aDocument, const nsAString & aExpression, nsIXPointerResult **_retval NS_OUTPARAM) { return _to Evaluate(aDocument, aExpression, _retval); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIXPOINTEREVALUATOR(_to) \
NS_IMETHOD Evaluate(nsIDOMDocument *aDocument, const nsAString & aExpression, nsIXPointerResult **_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->Evaluate(aDocument, aExpression, _retval); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsXPointerEvaluator : public nsIXPointerEvaluator
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSIXPOINTEREVALUATOR
nsXPointerEvaluator();
private:
~nsXPointerEvaluator();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS1(nsXPointerEvaluator, nsIXPointerEvaluator)
nsXPointerEvaluator::nsXPointerEvaluator()
{
/* member initializers and constructor code */
}
nsXPointerEvaluator::~nsXPointerEvaluator()
{
/* destructor code */
}
/* nsIXPointerResult evaluate (in nsIDOMDocument aDocument, in DOMString aExpression); */
NS_IMETHODIMP nsXPointerEvaluator::Evaluate(nsIDOMDocument *aDocument, const nsAString & aExpression, nsIXPointerResult **_retval NS_OUTPARAM)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
#endif /* __gen_nsIXPointer_h__ */
| [
"haleokekahuna@gmail.com"
] | haleokekahuna@gmail.com |
dbd1236a308086bb498167a222759f86fb66687a | 8caae43ec3015fda9e1a8782980a21d7158452c3 | /chenxi/vector/my_vector.cc | e04f7e84d5695c8633b00207bde3a8d9994e276f | [] | no_license | morning-color/data-structure | 5fafbff86bcded66bbd75b112a803fcff4c208e9 | e1df53f2b5c7f480f189c36a801022161e05775f | refs/heads/master | 2016-09-06T13:51:40.285820 | 2015-05-14T13:06:52 | 2015-05-14T13:06:52 | 34,613,861 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 126 | cc | #include "my_vector.h"
int main()
{
my_vector<int> vec = {1,8,6,2,9,3,8};
vec.traverse(print_elem);
return 0;
} | [
"moring_color@163.com"
] | moring_color@163.com |
549ea8013f0e3d3aa1322bd854e612fbb42e6ebd | 863865383db63dfd3f775d96f9d0082bf5f73dac | /major_research/others/modified_q3DanQ/_x.hw_emu.xilinx_u200_xdma_201830_2/kerneldl.hw_emu.xilinx_u200_xdma_201830_2/kerneldl/kerneldl/solution/syn/systemc/kerneldl_kerneldl_z_a_actc.h | d23e7772ed428b54b6d7fd92c66a9c077ad1ee2f | [] | no_license | tinaba96/master | 478ce9e976369a10a21db8b2b53747a019bda4b1 | a6f9fdb6d14cd8631a15269eaba008a09e71ba80 | refs/heads/master | 2023-08-22T19:16:44.416845 | 2023-08-12T09:00:44 | 2023-08-12T09:00:44 | 664,298,705 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,511 | h | // ==============================================================
// Vivado(TM) HLS - High-Level Synthesis from C, C++ and SystemC v2019.1 (64-bit)
// Copyright 1986-2019 Xilinx, Inc. All Rights Reserved.
// ==============================================================
#ifndef __kerneldl_kerneldl_z_a_actc_H__
#define __kerneldl_kerneldl_z_a_actc_H__
#include <systemc>
using namespace sc_core;
using namespace sc_dt;
#include <iostream>
#include <fstream>
struct kerneldl_kerneldl_z_a_actc_ram : public sc_core::sc_module {
static const unsigned DataWidth = 32;
static const unsigned AddressRange = 4000;
static const unsigned AddressWidth = 12;
//latency = 1
//input_reg = 1
//output_reg = 0
sc_core::sc_in <sc_lv<AddressWidth> > address0;
sc_core::sc_in <sc_logic> ce0;
sc_core::sc_out <sc_lv<DataWidth> > q0;
sc_core::sc_in<sc_logic> we0;
sc_core::sc_in<sc_lv<DataWidth> > d0;
sc_core::sc_in<sc_logic> reset;
sc_core::sc_in<bool> clk;
sc_lv<DataWidth> ram[AddressRange];
SC_CTOR(kerneldl_kerneldl_z_a_actc_ram) {
SC_METHOD(prc_write_0);
sensitive<<clk.pos();
}
void prc_write_0()
{
if (ce0.read() == sc_dt::Log_1)
{
if (we0.read() == sc_dt::Log_1)
{
if(address0.read().is_01() && address0.read().to_uint()<AddressRange)
{
ram[address0.read().to_uint()] = d0.read();
q0 = d0.read();
}
else
q0 = sc_lv<DataWidth>();
}
else {
if(address0.read().is_01() && address0.read().to_uint()<AddressRange)
q0 = ram[address0.read().to_uint()];
else
q0 = sc_lv<DataWidth>();
}
}
}
}; //endmodule
SC_MODULE(kerneldl_kerneldl_z_a_actc) {
static const unsigned DataWidth = 32;
static const unsigned AddressRange = 4000;
static const unsigned AddressWidth = 12;
sc_core::sc_in <sc_lv<AddressWidth> > address0;
sc_core::sc_in<sc_logic> ce0;
sc_core::sc_out <sc_lv<DataWidth> > q0;
sc_core::sc_in<sc_logic> we0;
sc_core::sc_in<sc_lv<DataWidth> > d0;
sc_core::sc_in<sc_logic> reset;
sc_core::sc_in<bool> clk;
kerneldl_kerneldl_z_a_actc_ram* meminst;
SC_CTOR(kerneldl_kerneldl_z_a_actc) {
meminst = new kerneldl_kerneldl_z_a_actc_ram("kerneldl_kerneldl_z_a_actc_ram");
meminst->address0(address0);
meminst->ce0(ce0);
meminst->q0(q0);
meminst->we0(we0);
meminst->d0(d0);
meminst->reset(reset);
meminst->clk(clk);
}
~kerneldl_kerneldl_z_a_actc() {
delete meminst;
}
};//endmodule
#endif
| [
"tinaba178.96@gmail.com"
] | tinaba178.96@gmail.com |
4e676ca1ea7a557bde289dd0a1d59349bdf95713 | 827c87f35cc9c163b815ad326ae66ef37ed8f445 | /husky_move_base_client/src/track_test.cpp | dcdc06d4f0438ab6b605931a4249c8e6c499fe0b | [] | no_license | 070411209/husky | 266fea30562ffebba2e628a6659f15a6e55d12dd | 57482706ecad5a0c2ea9832af4757a26c8691b7c | refs/heads/main | 2023-02-21T01:22:50.212668 | 2021-01-24T09:54:31 | 2021-01-24T09:54:31 | 330,162,943 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,472 | cpp | #include "track_test.h"
#include <cmath>
trackTest::trackTest(){
target_sub_ = node_.subscribe("/target_pose", 1, &trackTest::targetCallback_, this);
chatter_pub = node_.advertise<geometry_msgs::PoseStamped>("/move_base_simple/goal", 10); //initialize /move_base_simple/goal
}
void trackTest::targetCallback_(const sensor_msgs::PointCloudConstPtr _msg) {
sensor_msgs::PointCloud _goal_point;
float x_ = _msg->points[0].x;
float y_ = _msg->points[0].y;
float z_ = _msg->points[0].z;
float x_d = 0.0;
float y_d = 0.0;
float d_ = pow(pow(x_, 2) + pow(y_, 2), 0.5);
double r_ = atan2((double)y_, (double)x_);
if(d_ > fix_dist) {
x_d = x_ - (fix_dist * x_)/d_;
y_d = y_ - (fix_dist * y_)/d_;
}
else {
x_d = 0.0;
y_d = 0.0;
}
ROS_INFO("The position(x,y,z) is %f , %f, %f, d=%f", x_, y_, z_, d_);
ROS_INFO("yaw : %f, x_d : %f, y_d : %f", r_, x_d, y_d);
//First assign value to "header".
ros::Time currentTime = ros::Time::now();
move_target.header.stamp = currentTime;
move_target.header.frame_id = "base_link";
//Then assign value to "pose", which has member position and orientation
move_target.pose.position.x = x_d;
move_target.pose.position.y = y_d;
move_target.pose.position.z = 0.0;
move_target.pose.orientation = tf::createQuaternionMsgFromYaw(r_);
chatter_pub.publish(move_target);
sleep(1);
} | [
"wangbaodong@meituan.com"
] | wangbaodong@meituan.com |
3365c5355b3d6744632515bac7700953538445db | e0b6155417e25fd34dd917a13e7123233b88c8a2 | /prelim.cpp | 5f2f8ad8b23931b35fda58a72d49cb437cc00735 | [] | no_license | Dan-Shields/ConcurrentSystems | 6edb5467e6df46f262333c925dee6878f1945144 | 39ff21d8308fe194a19d0f0c5cd884fa5d7409e3 | refs/heads/master | 2020-12-20T00:35:25.729777 | 2019-11-19T11:36:23 | 2019-11-19T11:36:23 | 235,899,514 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,795 | cpp | /* Concurrent Systems Preliminary Lab Part 2 v1 (no deadlock)
Compile from the command line with, for example:
C:\MinGW64\bin\g++ -std=c++11 -lpthread Part_2.cpp
*/
#include <iostream>
#include <thread>
#include <mutex>
#include <condition_variable>
using namespace std;
//global variables
std::condition_variable cond; //instance of a condition variable for wait and notify_all
std::unique_lock<std::mutex> locker;
const int PSLEEP = 1; //producer thread sleep period
const int CSLEEP = 1; //consumer thread sleep period
const int NPRODS = 3; //number of producer threads
const int NCONS = 2; //number of consumer threads
class Buffer {
public:
Buffer() // constructor
: count(0),
activeProducers(NPRODS), activeConsumers(NCONS),
noActiveProducer(false), noActiveConsumer(false)
{} //end constructor
void put() {
std::unique_lock<std::mutex> locker(buf_mu);
if (count == 10) {
cout << " buffer is full, producer thread "
<< std::this_thread::get_id()
<< " is about to suspend.." << endl;
while ((count == 10) && !noActiveConsumer) {
cond.wait(locker);
}
}
else {
// A successful deposit!
count++;
cout << " producer thread " << std::this_thread::get_id()
<< ", count = " << count << endl;
// Notify all waiting threads that the buffer is not empty
cond.notify_all();
}
} //end put method
void get() {
std::unique_lock<std::mutex> locker(buf_mu);
if (count == 0) {
cout << " buffer is empty, consumer thread "
<< std::this_thread::get_id()
<< " is about to suspend.." << endl;
while ((count == 0) && !noActiveProducer) {
cond.wait(locker);
}
}
else {
// A successful extraction
count--;
cout << " consumer thread " << std::this_thread::get_id()
<< ", count = " << count << endl;
// Notify all waiting threads that the buffer is not full
cond.notify_all();
}
} //end get method
// Used by consumer threads to check if there are any active producers
bool isNoActiveProducer() {
return noActiveProducer;
}
// Used by producer threads to check if there are any active consumers
bool isNoActiveConsumer() {
return noActiveConsumer;
}
// Used to tell buffer when a consumer thread has terminated
// This prevents deadlock (producers waiting when consumers have finished)
void consumerTerminated() {
std::unique_lock<std::mutex> get_lock(buf_mu);
if (--activeConsumers == 0) {
noActiveConsumer = true;
cout << " All consumers have terminated" << endl;
cond.notify_all();
}
} // end consumerTerminated method
// Used to tell buffer when a producer thread has terminated
// This prevents deadlock (consumers waiting when producers have finished)
void producerTerminated() {
std::unique_lock<std::mutex> get_lock(buf_mu);
if (--activeProducers == 0) {
noActiveProducer = true;
cout << " All producers have terminated" << endl;
cond.notify_all();
}
} // end producerTerminated method
private:
int count, activeProducers, activeConsumers;
bool noActiveProducer, noActiveConsumer;
std::mutex buf_mu; //mutex shared by put and get
}; //end class Buffer
void prods(Buffer& b) { //pass in a buffer reference
for (int i=0; i<100; i++) {
if (b.isNoActiveConsumer()) { //no point continuing if not..
break;
}
b.put();
std::this_thread::sleep_for (std::chrono::milliseconds(PSLEEP));
}
cout << " PRODUCER " << std::this_thread::get_id() << " FINISHED" << endl;
b.producerTerminated();
}
void cons(Buffer& b) { //pass in a buffer reference
int i;
for (i=0; i<100; i++) {
if (b.isNoActiveProducer()) { //no point continuing if not..
break;
}
b.get();
std::this_thread::sleep_for (std::chrono::milliseconds(CSLEEP));
}
cout << " CONSUMER " << std::this_thread::get_id() << " FINISHED" << endl;
b.consumerTerminated();
}
int main() {
std::thread p_t[NPRODS]; //bunch of producer threads
std::thread c_t[NCONS]; //bunch of consumer threads
Buffer buf; //instance of Buffer class
//Launch a group of producer threads
for (int i = 0; i < NPRODS; i++) {
//launch the producer threads:
p_t[i] = std::thread(prods, std::ref(buf));
}
for (int i=0; i < NCONS; i++) {
//launch the consumer threads:
c_t[i] = std::thread(cons, std::ref(buf));
}
//Join the threads with the main thread
for (int i = 0; i < NPRODS; ++i) {
p_t[i].join();
}
for (int i = 0; i < NCONS; ++i) {
c_t[i].join();
}
cout << " All threads terminated." << endl;
return 0;
}
| [
"d.shieldsuk@gmail.com"
] | d.shieldsuk@gmail.com |
28646b086d890df8471c7aaf1db0aa1334485fc2 | 659c4b083cb4dd2c6d788e7d0d5372b72af7ec58 | /OsaisenLED/OsaisenLED.ino | 1759c7a70b5a3b184b2da291123d40096c46dddf | [] | no_license | Alexander-Redwinter/arduino-sketches | ef86306cedd3b009cc4961707d423dba3739e4cf | c6a7dc666b1c8e8e673327078c81d1e151160005 | refs/heads/master | 2022-03-23T20:29:06.372964 | 2020-01-07T04:32:11 | 2020-01-07T04:32:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,011 | ino | #define STEPPER_PIN_1 9
#define STEPPER_PIN_2 10
#define STEPPER_PIN_3 11
#define STEPPER_PIN_4 12
#define IR_PIN A0
int redPin = 3;
int greenPin = 6;
int bluePin = 5;
int sensorOut = 0;
int step_number = 0;
void setup()
{
pinMode(redPin, OUTPUT);
pinMode(greenPin, OUTPUT);
pinMode(bluePin, OUTPUT);
pinMode(STEPPER_PIN_1, OUTPUT);
pinMode(STEPPER_PIN_2, OUTPUT);
pinMode(STEPPER_PIN_3, OUTPUT);
pinMode(STEPPER_PIN_4, OUTPUT);
pinMode(IR_PIN, INPUT);
}
void loop()
{
for (int i = 0; i <= 250; i++)
{
setColor(0, 0, i);
delay(10);
}
for (int i = 0; i <= 250; i++)
{
setColor(0, i, 0);
delay(10);
}
for (int i = 0; i <= 250; i++)
{
setColor(i, 0, 0);
delay(10);
}
/*sensorOut = analogRead(IR_PIN);
if (sensorOut < 100)
{
Dance();
}*/
}
void Dance()
{
for (int i = 0; i < 500; i++)
{
OneStep(false);
}
delay(100);
for (int i = 0; i < 750; i++)
{
OneStep(true);
}
delay(100);
for (int i = 0; i < 2300; i++)
{
OneStep(false);
}
delay(500);
}
void OneStep(bool dir)
{
if (dir)
{
switch (step_number)
{
case 0:
digitalWrite(STEPPER_PIN_1, HIGH);
digitalWrite(STEPPER_PIN_2, LOW);
digitalWrite(STEPPER_PIN_3, LOW);
digitalWrite(STEPPER_PIN_4, LOW);
break;
case 1:
digitalWrite(STEPPER_PIN_1, LOW);
digitalWrite(STEPPER_PIN_2, HIGH);
digitalWrite(STEPPER_PIN_3, LOW);
digitalWrite(STEPPER_PIN_4, LOW);
break;
case 2:
digitalWrite(STEPPER_PIN_1, LOW);
digitalWrite(STEPPER_PIN_2, LOW);
digitalWrite(STEPPER_PIN_3, HIGH);
digitalWrite(STEPPER_PIN_4, LOW);
break;
case 3:
digitalWrite(STEPPER_PIN_1, LOW);
digitalWrite(STEPPER_PIN_2, LOW);
digitalWrite(STEPPER_PIN_3, LOW);
digitalWrite(STEPPER_PIN_4, HIGH);
break;
}
}
else
{
switch (step_number) {
case 0:
digitalWrite(STEPPER_PIN_1, LOW);
digitalWrite(STEPPER_PIN_2, LOW);
digitalWrite(STEPPER_PIN_3, LOW);
digitalWrite(STEPPER_PIN_4, HIGH);
break;
case 1:
digitalWrite(STEPPER_PIN_1, LOW);
digitalWrite(STEPPER_PIN_2, LOW);
digitalWrite(STEPPER_PIN_3, HIGH);
digitalWrite(STEPPER_PIN_4, LOW);
break;
case 2:
digitalWrite(STEPPER_PIN_1, LOW);
digitalWrite(STEPPER_PIN_2, HIGH);
digitalWrite(STEPPER_PIN_3, LOW);
digitalWrite(STEPPER_PIN_4, LOW);
break;
case 3:
digitalWrite(STEPPER_PIN_1, HIGH);
digitalWrite(STEPPER_PIN_2, LOW);
digitalWrite(STEPPER_PIN_3, LOW);
digitalWrite(STEPPER_PIN_4, LOW);
}
}
step_number++;
if (step_number > 3)
{
step_number = 0;
}
delay(2);
}
void setColor(int redValue, int greenValue, int blueValue) {
analogWrite(redPin, redValue);
analogWrite(greenPin, greenValue);
analogWrite(bluePin, blueValue);
}
| [
"likeanopenwindow@gmail.com"
] | likeanopenwindow@gmail.com |
213da4752a0faff17dc9ab9eb2005db518dfd594 | 896c8c5ea4ab726a68434ce0c17ed1ba31c36335 | /IMDB_Graph_Based_Recommendation/filmEdge.cpp | e12c5c8b77154d8d90665622231abea295dc6520 | [] | no_license | DavidLIUXLD/IMDB_Graph_Based_Recommendation | 9c5254e87f698e56dec1a653053ced005d5e270b | 3c352e613214962ed1d6a6983bea4db27d679307 | refs/heads/master | 2023-01-28T04:53:02.566984 | 2020-12-08T04:21:58 | 2020-12-08T04:21:58 | 317,126,176 | 0 | 1 | null | 2020-12-07T23:56:25 | 2020-11-30T06:03:26 | C++ | UTF-8 | C++ | false | false | 22 | cpp | #include "filmEdge.h"
| [
"DaViD28106@outlook.com"
] | DaViD28106@outlook.com |
0b0e567dd5966b7b2059752aadbc01f66bd31ae4 | 8a6a3cd8f1509faaa0ab5cde99cb455421344432 | /src/test/test_megacoin.cpp | 5e5b8919f9cb812db6dd57848e3ba9c04d5024f5 | [
"MIT"
] | permissive | Megacoin2/Megacoin | 577945a4cae26d1550b1670edb9ae3a05ac54e14 | 682f6331506b1893efc526d2c8afcf4a327aa725 | refs/heads/master | 2021-01-15T18:09:11.465765 | 2015-06-11T19:05:47 | 2015-06-11T19:05:47 | 36,644,857 | 0 | 1 | null | 2015-06-15T13:27:44 | 2015-06-01T07:30:28 | C++ | UTF-8 | C++ | false | false | 1,753 | cpp | #define BOOST_TEST_MODULE Megacoin Test Suite
#include <boost/test/unit_test.hpp>
#include <boost/filesystem.hpp>
#include "db.h"
#include "txdb.h"
#include "main.h"
#include "wallet.h"
#include "util.h"
CWallet* pwalletMain;
CClientUIInterface uiInterface;
extern bool fPrintToConsole;
extern void noui_connect();
struct TestingSetup {
CCoinsViewDB *pcoinsdbview;
boost::filesystem::path pathTemp;
boost::thread_group threadGroup;
TestingSetup() {
fPrintToDebugger = true; // don't want to write to debug.log file
noui_connect();
bitdb.MakeMock();
pathTemp = GetTempPath() / strprintf("test_megacoin_%lu_%i", (unsigned long)GetTime(), (int)(GetRand(100000)));
boost::filesystem::create_directories(pathTemp);
mapArgs["-datadir"] = pathTemp.string();
pblocktree = new CBlockTreeDB(1 << 20, true);
pcoinsdbview = new CCoinsViewDB(1 << 23, true);
pcoinsTip = new CCoinsViewCache(*pcoinsdbview);
InitBlockIndex();
bool fFirstRun;
pwalletMain = new CWallet("wallet.dat");
pwalletMain->LoadWallet(fFirstRun);
RegisterWallet(pwalletMain);
nScriptCheckThreads = 3;
for (int i=0; i < nScriptCheckThreads-1; i++)
threadGroup.create_thread(&ThreadScriptCheck);
}
~TestingSetup()
{
threadGroup.interrupt_all();
threadGroup.join_all();
delete pwalletMain;
pwalletMain = NULL;
delete pcoinsTip;
delete pcoinsdbview;
delete pblocktree;
bitdb.Flush(true);
boost::filesystem::remove_all(pathTemp);
}
};
BOOST_GLOBAL_FIXTURE(TestingSetup);
void Shutdown(void* parg)
{
exit(0);
}
void StartShutdown()
{
exit(0);
}
| [
"drkimotochan@megacoin.co.nz"
] | drkimotochan@megacoin.co.nz |
4d63b15d8cefb2b03d9c2f1001bbe1c2eebb3cf0 | ab90a6a4f7bb63d2d19eba4644e4910ccafbfcbe | /pub/1313.cpp | 9270b7959a88d287d9e98f7765eebf9c78555a93 | [
"MIT"
] | permissive | BashuMiddleSchool/Bashu_OnlineJudge_Code | cf35625b5dcb2d53044581f57f1ff50221b33d2a | 4707a271e6658158a1910b0e6e27c75f96841aca | refs/heads/main | 2023-04-22T08:12:41.235203 | 2021-05-02T15:22:25 | 2021-05-02T15:22:25 | 363,435,161 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 631 | cpp | //lijunhao. All Rights Reserved
#include<bits/stdc++.h>
using namespace std;
long long GetMaxNum(long long arr[],long long n)//最大值函数
{
long long result=arr[0];
for(long long i=1; i<n; i++) {
if(result<arr[i]) {
result=arr[i];
}
}
return result;
}
long long GetMinNum(long long arr[],long long n)//最小值函数
{
long long result=arr[0];
for(long long i=1; i<n; i++) {
if(result>arr[i]) {
result=arr[i];
}
}
return result;
}
int main()
{
long long m;
cin >> m;
long long a[100005];
for(int i=0;i<m;i++) {
cin >> a[i];
}
cout<<GetMaxNum(a,m)<<' ';
cout<<GetMinNum(a,m)<<endl;
cin.get();
} | [
"60656888+ELEVENStudio-Main@users.noreply.github.com"
] | 60656888+ELEVENStudio-Main@users.noreply.github.com |
3804caa7d6a2afeac68207a37b68f11db3736ab0 | 3220c2863bbc78f6d7bcf51aa773afca032e3485 | /external/loki-mq/oxenmq/byte_type.h | f582130e7a82e6961e2e17b8d50c873e340271c4 | [
"BSD-3-Clause"
] | permissive | Beldex-Coin/beldex-core-custom | 6713d7c14561456023417fbaecdd6999fb8dcc6a | ed805b9b6d11294f16c0e3edfde1b82c35857154 | refs/heads/master | 2023-06-28T02:34:41.500008 | 2023-06-08T08:09:35 | 2023-06-08T08:09:35 | 202,894,271 | 1 | 1 | null | 2019-08-19T08:08:41 | 2019-08-17T14:58:49 | C++ | UTF-8 | C++ | false | false | 910 | h | #pragma once
// Specializations for assigning from a char into an output iterator, used by hex/base32z/base64
// decoding to bytes.
#include <iterator>
#include <type_traits>
namespace oxenmq::detail {
// Fallback - we just try a char
template <typename OutputIt, typename = void>
struct byte_type { using type = char; };
// Support for things like std::back_inserter:
template <typename OutputIt>
struct byte_type<OutputIt, std::void_t<typename OutputIt::container_type>> {
using type = typename OutputIt::container_type::value_type; };
// iterator, raw pointers:
template <typename OutputIt>
struct byte_type<OutputIt, std::enable_if_t<std::is_reference_v<typename std::iterator_traits<OutputIt>::reference>>> {
using type = std::remove_reference_t<typename std::iterator_traits<OutputIt>::reference>; };
template <typename OutputIt>
using byte_type_t = typename byte_type<OutputIt>::type;
}
| [
"victor.tucci@beldex.io"
] | victor.tucci@beldex.io |
f022af54ba8005a34f6089c35155cd1d710bcef9 | fb70e6a3c45c70e8bfff62ea12b259a6b4fcd672 | /src_main/tier0/threadtools.cpp | 3788c00464fac354af92bb699c5e8f6f79b893fc | [] | no_license | TrentSterling/D0G | 263ba85123567939de1de3fac6de850b2b106445 | bb42185ab815af441cff08eeeb43524160a447cf | refs/heads/master | 2021-01-17T20:09:10.149287 | 2014-03-26T11:26:39 | 2014-03-26T11:26:39 | null | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 47,388 | cpp | //===== Copyright © 1996-2013, Valve Corporation, All rights reserved. ======//
//============= D0G modifications © 2014, SiPlus, MIT licensed. =============//
//
// Purpose:
//
//===========================================================================//
#include "pch_tier0.h"
#include "tier1/strtools.h"
#if defined( _WIN32 ) && !defined( _X360 )
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#endif
#ifdef _WIN32
#include <process.h>
#elif _LINUX
typedef int (*PTHREAD_START_ROUTINE)(
void *lpThreadParameter
);
typedef PTHREAD_START_ROUTINE LPTHREAD_START_ROUTINE;
#include <sched.h>
#include <exception>
#include <errno.h>
#include <signal.h>
#include <pthread.h>
#include <sys/time.h>
#include <unistd.h>
#ifdef __ANDROID__
#include <linux/sched.h>
#include "android_win32stubs.h"
#endif
#define GetLastError() errno
typedef void *LPVOID;
#define max(a,b) (((a) > (b)) ? (a) : (b))
#endif
#include <memory.h>
#include "tier0/threadtools.h"
#include "tier0/vcrmode.h"
#ifdef _X360
#include "xbox/xbox_win32stubs.h"
#endif
// Must be last header...
#include "tier0/memdbgon.h"
#define THREADS_DEBUG 1
// Need to ensure initialized before other clients call in for main thread ID
#ifdef _WIN32
#pragma warning(disable:4073)
#pragma init_seg(lib)
#endif
#ifdef _WIN32
ASSERT_INVARIANT(TT_SIZEOF_CRITICALSECTION == sizeof(CRITICAL_SECTION));
ASSERT_INVARIANT(TT_INFINITE == INFINITE);
#endif
//-----------------------------------------------------------------------------
// Simple thread functions.
// Because _beginthreadex uses stdcall, we need to convert to cdecl
//-----------------------------------------------------------------------------
struct ThreadProcInfo_t
{
ThreadProcInfo_t( ThreadFunc_t pfnThread, void *pParam )
: pfnThread( pfnThread),
pParam( pParam )
{
}
ThreadFunc_t pfnThread;
void * pParam;
};
//---------------------------------------------------------
#ifdef _WIN32
static unsigned __stdcall ThreadProcConvert(void *pParam)
{
ThreadProcInfo_t info = *((ThreadProcInfo_t *)pParam);
delete ((ThreadProcInfo_t *)pParam);
return (*info.pfnThread)(info.pParam);
}
#else
static void *ThreadProcConvert(void *pParam)
{
ThreadProcInfo_t info = *((ThreadProcInfo_t *)pParam);
delete ((ThreadProcInfo_t *)pParam);
return (void *)((*info.pfnThread)(info.pParam));
}
#endif
//---------------------------------------------------------
ThreadHandle_t CreateSimpleThread( ThreadFunc_t pfnThread, void *pParam, ThreadId_t *pID, unsigned stackSize )
{
#ifdef _WIN32
ThreadId_t idIgnored;
if ( !pID )
pID = &idIgnored;
return (ThreadHandle_t)VCRHook_CreateThread(NULL, stackSize, (LPTHREAD_START_ROUTINE)ThreadProcConvert, new ThreadProcInfo_t( pfnThread, pParam ), 0, pID);
#elif _LINUX
pthread_t tid;
pthread_attr_t attr;
pthread_attr_init(&attr);
if (stackSize)
pthread_attr_setstacksize(&attr, stackSize);
pthread_create(&tid, &attr, ThreadProcConvert, new ThreadProcInfo_t(pfnThread, pParam));
if ( pID )
*pID = (ThreadId_t)tid;
return (ThreadHandle_t)tid;
#endif
}
ThreadHandle_t CreateSimpleThread( ThreadFunc_t pfnThread, void *pParam, unsigned stackSize )
{
return CreateSimpleThread( pfnThread, pParam, NULL, stackSize );
}
bool ReleaseThreadHandle( ThreadHandle_t hThread )
{
#ifdef _WIN32
return ( CloseHandle( hThread ) != 0 );
#else
return true;
#endif
}
//-----------------------------------------------------------------------------
//
// Wrappers for other simple threading operations
//
//-----------------------------------------------------------------------------
void ThreadSleep(unsigned duration)
{
#ifdef _WIN32
Sleep( duration );
#elif _LINUX
usleep( duration * 1000 );
#endif
}
//-----------------------------------------------------------------------------
#ifndef ThreadGetCurrentId
uint ThreadGetCurrentId()
{
#ifdef _WIN32
return GetCurrentThreadId();
#elif _LINUX
return pthread_self();
#endif
}
#endif
//-----------------------------------------------------------------------------
ThreadHandle_t ThreadGetCurrentHandle()
{
#ifdef _WIN32
return (ThreadHandle_t)GetCurrentThread();
#elif _LINUX
return (ThreadHandle_t)pthread_self();
#endif
}
//-----------------------------------------------------------------------------
int ThreadGetPriority( ThreadHandle_t hThread )
{
#ifdef _WIN32
if ( !hThread )
{
return ::GetThreadPriority( GetCurrentThread() );
}
return ::GetThreadPriority( (HANDLE)hThread );
#else
return 0;
#endif
}
//-----------------------------------------------------------------------------
bool ThreadSetPriority( ThreadHandle_t hThread, int priority )
{
#ifndef __ANDROID__ // Can't use SCHED_RR on Android.
if ( !hThread )
{
hThread = ThreadGetCurrentHandle();
}
#ifdef _WIN32
return ( SetThreadPriority(hThread, priority) != 0 );
#elif _LINUX
struct sched_param thread_param;
thread_param.sched_priority = priority;
pthread_setschedparam( hThread, SCHED_RR, &thread_param );
return true;
#endif
#else
return true;
#endif
}
//-----------------------------------------------------------------------------
void ThreadSetAffinity( ThreadHandle_t hThread, int nAffinityMask )
{
#ifndef __ANDROID__ // pthread_setaffinity_np is not there.
if (!hThread)
hThread = ThreadGetCurrentHandle();
#if defined(_WIN32)
SetThreadAffinityMask( hThread, nAffinityMask );
#elif defined(_LINUX)
// cpu_set_t cpuSet;
// CPU_ZERO( cpuSet );
// for( int i = 0 ; i < 32; i++ )
// if ( nAffinityMask & ( 1 << i ) )
// CPU_SET( cpuSet, i );
// sched_setaffinity( hThread, sizeof( cpuSet ), &cpuSet );
#endif
#endif // !__ANDROID__
}
//-----------------------------------------------------------------------------
uint InitMainThread()
{
ThreadSetDebugName( "MainThrd" );
#ifdef _WIN32
return ThreadGetCurrentId();
#elif _LINUX
return pthread_self();
#endif
}
uint g_ThreadMainThreadID = InitMainThread();
bool ThreadInMainThread()
{
return ( ThreadGetCurrentId() == g_ThreadMainThreadID );
}
//-----------------------------------------------------------------------------
void DeclareCurrentThreadIsMainThread()
{
g_ThreadMainThreadID = ThreadGetCurrentId();
}
bool ThreadJoin( ThreadHandle_t hThread, unsigned timeout )
{
if ( !hThread )
{
return false;
}
#ifdef _WIN32
DWORD dwWait = VCRHook_WaitForSingleObject((HANDLE)hThread, timeout);
if ( dwWait == WAIT_TIMEOUT)
return false;
if ( dwWait != WAIT_OBJECT_0 && ( dwWait != WAIT_FAILED && GetLastError() != 0 ) )
{
Assert( 0 );
return false;
}
#elif _LINUX
if ( pthread_join( (pthread_t)hThread, NULL ) != 0 )
return false;
// m_threadId = 0;
#endif
return true;
}
//-----------------------------------------------------------------------------
void ThreadSetDebugName( ThreadId_t id, const char *pszName )
{
#ifdef _WIN32
if ( Plat_IsInDebugSession() )
{
#define MS_VC_EXCEPTION 0x406d1388
typedef struct tagTHREADNAME_INFO
{
DWORD dwType; // must be 0x1000
LPCSTR szName; // pointer to name (in same addr space)
DWORD dwThreadID; // thread ID (-1 caller thread)
DWORD dwFlags; // reserved for future use, most be zero
} THREADNAME_INFO;
THREADNAME_INFO info;
info.dwType = 0x1000;
info.szName = pszName;
info.dwThreadID = id;
info.dwFlags = 0;
__try
{
RaiseException(MS_VC_EXCEPTION, 0, sizeof(info) / sizeof(DWORD), (DWORD *)&info);
}
__except (EXCEPTION_CONTINUE_EXECUTION)
{
}
}
#endif
}
//-----------------------------------------------------------------------------
ASSERT_INVARIANT( TW_FAILED == WAIT_FAILED );
ASSERT_INVARIANT( TW_TIMEOUT == WAIT_TIMEOUT );
ASSERT_INVARIANT( WAIT_OBJECT_0 == 0 );
#ifdef _WIN32
int ThreadWaitForObjects( int nEvents, const HANDLE *pHandles, bool bWaitAll, unsigned timeout )
{
return VCRHook_WaitForMultipleObjects( nEvents, pHandles, bWaitAll, timeout );
}
#endif
//-----------------------------------------------------------------------------
// Used to thread LoadLibrary on the 360
//-----------------------------------------------------------------------------
static ThreadedLoadLibraryFunc_t s_ThreadedLoadLibraryFunc = 0;
TT_INTERFACE void SetThreadedLoadLibraryFunc( ThreadedLoadLibraryFunc_t func )
{
s_ThreadedLoadLibraryFunc = func;
}
TT_INTERFACE ThreadedLoadLibraryFunc_t GetThreadedLoadLibraryFunc()
{
return s_ThreadedLoadLibraryFunc;
}
//-----------------------------------------------------------------------------
//
//-----------------------------------------------------------------------------
CThreadSyncObject::CThreadSyncObject()
#ifdef _WIN32
: m_hSyncObject( NULL )
#elif _LINUX
: m_bInitalized( false )
#endif
{
}
//---------------------------------------------------------
CThreadSyncObject::~CThreadSyncObject()
{
#ifdef _WIN32
if (m_hSyncObject )
{
if ( !CloseHandle(m_hSyncObject) )
{
Assert( 0 );
}
}
#elif _LINUX
if ( m_bInitalized )
{
pthread_cond_destroy( &m_Condition );
pthread_mutex_destroy( &m_Mutex );
m_bInitalized = false;
}
#endif
}
//---------------------------------------------------------
bool CThreadSyncObject::operator!() const
{
#ifdef _WIN32
return !m_hSyncObject;
#elif _LINUX
return !m_bInitalized;
#endif
}
//---------------------------------------------------------
void CThreadSyncObject::AssertUseable()
{
#ifdef THREADS_DEBUG
#ifdef _WIN32
AssertMsg( m_hSyncObject, "Thread synchronization object is unuseable" );
#elif _LINUX
AssertMsg( m_bInitalized, "Thread synchronization object is unuseable" );
#endif
#endif
}
//---------------------------------------------------------
bool CThreadSyncObject::Wait( uint32 dwTimeout )
{
#ifdef THREADS_DEBUG
AssertUseable();
#endif
#ifdef _WIN32
return ( VCRHook_WaitForSingleObject( m_hSyncObject, dwTimeout ) == WAIT_OBJECT_0 );
#elif _LINUX
pthread_mutex_lock( &m_Mutex );
bool bRet = false;
if ( m_cSet > 0 )
{
bRet = true;
}
else
{
struct timeval tv;
gettimeofday( &tv, NULL );
volatile struct timespec tm;
volatile uint64 nSec = (uint64)tv.tv_usec*1000 + (uint64)dwTimeout*1000000;
tm.tv_sec = tv.tv_sec + nSec /1000000000;
tm.tv_nsec = nSec % 1000000000;
volatile int ret = 0;
do
{
ret = pthread_cond_timedwait( &m_Condition, &m_Mutex, (const struct timespec *)(&tm) );
}
while( ret == EINTR );
bRet = ( ret == 0 );
}
if ( !m_bManualReset )
m_cSet = 0;
pthread_mutex_unlock( &m_Mutex );
return bRet;
#endif
}
//-----------------------------------------------------------------------------
//
//-----------------------------------------------------------------------------
CThreadEvent::CThreadEvent( bool bManualReset )
{
#ifdef _WIN32
m_hSyncObject = CreateEvent( NULL, bManualReset, FALSE, NULL );
AssertMsg1(m_hSyncObject, "Failed to create event (error 0x%x)", GetLastError() );
#elif _LINUX
pthread_mutexattr_t Attr;
pthread_mutexattr_init( &Attr );
pthread_mutex_init( &m_Mutex, &Attr );
pthread_mutexattr_destroy( &Attr );
pthread_cond_init( &m_Condition, NULL );
m_bInitalized = true;
m_cSet = 0;
m_bManualReset = bManualReset;
#else
#error "Implement me"
#endif
}
//-----------------------------------------------------------------------------
//
//-----------------------------------------------------------------------------
//---------------------------------------------------------
bool CThreadEvent::Set()
{
AssertUseable();
#ifdef _WIN32
return ( SetEvent( m_hSyncObject ) != 0 );
#elif _LINUX
pthread_mutex_lock( &m_Mutex );
m_cSet = 1;
int ret = pthread_cond_broadcast( &m_Condition );
pthread_mutex_unlock( &m_Mutex );
return ret == 0;
#endif
}
//---------------------------------------------------------
bool CThreadEvent::Reset()
{
#ifdef THREADS_DEBUG
AssertUseable();
#endif
#ifdef _WIN32
return ( ResetEvent( m_hSyncObject ) != 0 );
#elif _LINUX
pthread_mutex_lock( &m_Mutex );
m_cSet = 0;
pthread_mutex_unlock( &m_Mutex );
return true;
#endif
}
//---------------------------------------------------------
bool CThreadEvent::Check()
{
#ifdef THREADS_DEBUG
AssertUseable();
#endif
return Wait( 0 );
}
bool CThreadEvent::Wait( uint32 dwTimeout )
{
return CThreadSyncObject::Wait( dwTimeout );
}
#ifdef _WIN32
//-----------------------------------------------------------------------------
//
// CThreadSemaphore
//
// To get linux implementation, try http://www-128.ibm.com/developerworks/eserver/library/es-win32linux-sem.html
//
//-----------------------------------------------------------------------------
CThreadSemaphore::CThreadSemaphore( long initialValue, long maxValue )
{
if ( maxValue )
{
AssertMsg( maxValue > 0, "Invalid max value for semaphore" );
AssertMsg( initialValue >= 0 && initialValue <= maxValue, "Invalid initial value for semaphore" );
m_hSyncObject = CreateSemaphore( NULL, initialValue, maxValue, NULL );
AssertMsg1(m_hSyncObject, "Failed to create semaphore (error 0x%x)", GetLastError());
}
else
{
m_hSyncObject = NULL;
}
}
//---------------------------------------------------------
bool CThreadSemaphore::Release( long releaseCount, long *pPreviousCount )
{
#ifdef THRDTOOL_DEBUG
AssertUseable();
#endif
return ( ReleaseSemaphore( m_hSyncObject, releaseCount, pPreviousCount ) != 0 );
}
//-----------------------------------------------------------------------------
//
//-----------------------------------------------------------------------------
CThreadFullMutex::CThreadFullMutex( bool bEstablishInitialOwnership, const char *pszName )
{
m_hSyncObject = CreateMutex( NULL, bEstablishInitialOwnership, pszName );
AssertMsg1( m_hSyncObject, "Failed to create mutex (error 0x%x)", GetLastError() );
}
//---------------------------------------------------------
bool CThreadFullMutex::Release()
{
#ifdef THRDTOOL_DEBUG
AssertUseable();
#endif
return ( ReleaseMutex( m_hSyncObject ) != 0 );
}
#endif
//-----------------------------------------------------------------------------
//
//-----------------------------------------------------------------------------
CThreadLocalBase::CThreadLocalBase()
{
#ifdef _WIN32
m_index = TlsAlloc();
AssertMsg( m_index != 0xFFFFFFFF, "Bad thread local" );
if ( m_index == 0xFFFFFFFF )
Error( "Out of thread local storage!\n" );
#elif _LINUX
if ( pthread_key_create( &m_index, NULL ) != 0 )
Error( "Out of thread local storage!\n" );
#endif
}
//---------------------------------------------------------
CThreadLocalBase::~CThreadLocalBase()
{
#ifdef _WIN32
if ( m_index != 0xFFFFFFFF )
TlsFree( m_index );
m_index = 0xFFFFFFFF;
#elif _LINUX
pthread_key_delete( m_index );
#endif
}
//---------------------------------------------------------
void * CThreadLocalBase::Get() const
{
#ifdef _WIN32
if ( m_index != 0xFFFFFFFF )
return TlsGetValue( m_index );
AssertMsg( 0, "Bad thread local" );
return NULL;
#elif _LINUX
void *value = pthread_getspecific( m_index );
return value;
#endif
}
//---------------------------------------------------------
void CThreadLocalBase::Set( void *value )
{
#ifdef _WIN32
if (m_index != 0xFFFFFFFF)
TlsSetValue(m_index, value);
else
AssertMsg( 0, "Bad thread local" );
#elif _LINUX
if ( pthread_setspecific( m_index, value ) != 0 )
AssertMsg( 0, "Bad thread local" );
#endif
}
//-----------------------------------------------------------------------------
//-----------------------------------------------------------------------------
#ifdef _WIN32
#ifdef _X360
#define TO_INTERLOCK_PARAM(p) ((long *)p)
#define TO_INTERLOCK_PTR_PARAM(p) ((void **)p)
#else
#define TO_INTERLOCK_PARAM(p) (p)
#define TO_INTERLOCK_PTR_PARAM(p) (p)
#endif
#ifndef USE_INTRINSIC_INTERLOCKED
long ThreadInterlockedIncrement( long volatile *pDest )
{
Assert( (size_t)pDest % 4 == 0 );
return InterlockedIncrement( TO_INTERLOCK_PARAM(pDest) );
}
long ThreadInterlockedDecrement( long volatile *pDest )
{
Assert( (size_t)pDest % 4 == 0 );
return InterlockedDecrement( TO_INTERLOCK_PARAM(pDest) );
}
long ThreadInterlockedExchange( long volatile *pDest, long value )
{
Assert( (size_t)pDest % 4 == 0 );
return InterlockedExchange( TO_INTERLOCK_PARAM(pDest), value );
}
long ThreadInterlockedExchangeAdd( long volatile *pDest, long value )
{
Assert( (size_t)pDest % 4 == 0 );
return InterlockedExchangeAdd( TO_INTERLOCK_PARAM(pDest), value );
}
long ThreadInterlockedCompareExchange( long volatile *pDest, long value, long comperand )
{
Assert( (size_t)pDest % 4 == 0 );
return InterlockedCompareExchange( TO_INTERLOCK_PARAM(pDest), value, comperand );
}
bool ThreadInterlockedAssignIf( long volatile *pDest, long value, long comperand )
{
Assert( (size_t)pDest % 4 == 0 );
#if !(defined(_WIN64) || defined (_X360))
__asm
{
mov eax,comperand
mov ecx,pDest
mov edx,value
lock cmpxchg [ecx],edx
mov eax,0
setz al
}
#else
return ( InterlockedCompareExchange( TO_INTERLOCK_PARAM(pDest), value, comperand ) == comperand );
#endif
}
#endif
#if !defined( USE_INTRINSIC_INTERLOCKED ) || defined( _WIN64 )
void *ThreadInterlockedExchangePointer( void * volatile *pDest, void *value )
{
Assert( (size_t)pDest % 4 == 0 );
return InterlockedExchangePointer( TO_INTERLOCK_PARAM(pDest), value );
}
void *ThreadInterlockedCompareExchangePointer( void * volatile *pDest, void *value, void *comperand )
{
Assert( (size_t)pDest % 4 == 0 );
return InterlockedCompareExchangePointer( TO_INTERLOCK_PTR_PARAM(pDest), value, comperand );
}
bool ThreadInterlockedAssignPointerIf( void * volatile *pDest, void *value, void *comperand )
{
Assert( (size_t)pDest % 4 == 0 );
#if !(defined(_WIN64) || defined (_X360))
__asm
{
mov eax,comperand
mov ecx,pDest
mov edx,value
lock cmpxchg [ecx],edx
mov eax,0
setz al
}
#else
return ( InterlockedCompareExchangePointer( TO_INTERLOCK_PTR_PARAM(pDest), value, comperand ) == comperand );
#endif
}
#endif
int64 ThreadInterlockedCompareExchange64( int64 volatile *pDest, int64 value, int64 comperand )
{
Assert( (size_t)pDest % 8 == 0 );
#if defined(_WIN64) || defined (_X360)
return InterlockedCompareExchange64( pDest, value, comperand );
#else
__asm
{
lea esi,comperand;
lea edi,value;
mov eax,[esi];
mov edx,4[esi];
mov ebx,[edi];
mov ecx,4[edi];
mov esi,pDest;
lock CMPXCHG8B [esi];
}
#endif
}
bool ThreadInterlockedAssignIf64(volatile int64 *pDest, int64 value, int64 comperand )
{
Assert( (size_t)pDest % 8 == 0 );
#if defined(_WIN32) && !defined(_X360)
__asm
{
lea esi,comperand;
lea edi,value;
mov eax,[esi];
mov edx,4[esi];
mov ebx,[edi];
mov ecx,4[edi];
mov esi,pDest;
lock CMPXCHG8B [esi];
mov eax,0;
setz al;
}
#else
return ( ThreadInterlockedCompareExchange64( pDest, value, comperand ) == comperand );
#endif
}
int64 ThreadInterlockedIncrement64( int64 volatile *pDest )
{
Assert( (size_t)pDest % 8 == 0 );
int64 Old;
do
{
Old = *pDest;
} while (ThreadInterlockedCompareExchange64(pDest, Old + 1, Old) != Old);
return Old + 1;
}
int64 ThreadInterlockedDecrement64( int64 volatile *pDest )
{
Assert( (size_t)pDest % 8 == 0 );
int64 Old;
do
{
Old = *pDest;
} while (ThreadInterlockedCompareExchange64(pDest, Old - 1, Old) != Old);
return Old - 1;
}
int64 ThreadInterlockedExchange64( int64 volatile *pDest, int64 value )
{
Assert( (size_t)pDest % 8 == 0 );
int64 Old;
do
{
Old = *pDest;
} while (ThreadInterlockedCompareExchange64(pDest, value, Old) != Old);
return Old;
}
int64 ThreadInterlockedExchangeAdd64( int64 volatile *pDest, int64 value )
{
Assert( (size_t)pDest % 8 == 0 );
int64 Old;
do
{
Old = *pDest;
} while (ThreadInterlockedCompareExchange64(pDest, Old + value, Old) != Old);
return Old;
}
#else
// This will perform horribly, what's the Linux alternative?
// atomic_set(), atomic_add() et al should work for i386 arch
// TODO: implement these if needed
CThreadMutex g_InterlockedMutex;
long ThreadInterlockedIncrement( long volatile *pDest )
{
AUTO_LOCK( g_InterlockedMutex );
return ++(*pDest);
}
long ThreadInterlockedDecrement( long volatile *pDest )
{
AUTO_LOCK( g_InterlockedMutex );
return --(*pDest);
}
long ThreadInterlockedExchange( long volatile *pDest, long value )
{
AUTO_LOCK( g_InterlockedMutex );
long retVal = *pDest;
*pDest = value;
return retVal;
}
void *ThreadInterlockedExchangePointer( void * volatile *pDest, void *value )
{
AUTO_LOCK( g_InterlockedMutex );
void *retVal = *pDest;
*pDest = value;
return retVal;
}
long ThreadInterlockedExchangeAdd( long volatile *pDest, long value )
{
AUTO_LOCK( g_InterlockedMutex );
long retVal = *pDest;
*pDest += value;
return retVal;
}
long ThreadInterlockedCompareExchange( long volatile *pDest, long value, long comperand )
{
AUTO_LOCK( g_InterlockedMutex );
long retVal = *pDest;
if ( *pDest == comperand )
*pDest = value;
return retVal;
}
void *ThreadInterlockedCompareExchangePointer( void * volatile *pDest, void *value, void *comperand )
{
AUTO_LOCK( g_InterlockedMutex );
void *retVal = *pDest;
if ( *pDest == comperand )
*pDest = value;
return retVal;
}
int64 ThreadInterlockedCompareExchange64( int64 volatile *pDest, int64 value, int64 comperand )
{
Assert( (size_t)pDest % 8 == 0 );
AUTO_LOCK( g_InterlockedMutex );
int64 retVal = *pDest;
if ( *pDest == comperand )
*pDest = value;
return retVal;
}
int64 ThreadInterlockedExchange64( int64 volatile *pDest, int64 value )
{
Assert( (size_t)pDest % 8 == 0 );
int64 Old;
do
{
Old = *pDest;
} while (ThreadInterlockedCompareExchange64(pDest, value, Old) != Old);
return Old;
}
bool ThreadInterlockedAssignIf64(volatile int64 *pDest, int64 value, int64 comperand )
{
Assert( (size_t)pDest % 8 == 0 );
return ( ThreadInterlockedCompareExchange64( pDest, value, comperand ) == comperand );
}
bool ThreadInterlockedAssignIf( long volatile *pDest, long value, long comperand )
{
Assert( (size_t)pDest % 4 == 0 );
return ( ThreadInterlockedCompareExchange( pDest, value, comperand ) == comperand );
}
#endif
//-----------------------------------------------------------------------------
#if defined(_WIN32) && defined(THREAD_PROFILER)
void ThreadNotifySyncNoop(void *p) {}
#define MAP_THREAD_PROFILER_CALL( from, to ) \
void from(void *p) \
{ \
static CDynamicFunction<void (*)(void *)> dynFunc( "libittnotify.dll", #to, ThreadNotifySyncNoop ); \
(*dynFunc)(p); \
}
MAP_THREAD_PROFILER_CALL( ThreadNotifySyncPrepare, __itt_notify_sync_prepare );
MAP_THREAD_PROFILER_CALL( ThreadNotifySyncCancel, __itt_notify_sync_cancel );
MAP_THREAD_PROFILER_CALL( ThreadNotifySyncAcquired, __itt_notify_sync_acquired );
MAP_THREAD_PROFILER_CALL( ThreadNotifySyncReleasing, __itt_notify_sync_releasing );
#endif
//-----------------------------------------------------------------------------
//
// CThreadMutex
//
//-----------------------------------------------------------------------------
#ifndef _LINUX
CThreadMutex::CThreadMutex()
{
#ifdef THREAD_MUTEX_TRACING_ENABLED
memset( &m_CriticalSection, 0, sizeof(m_CriticalSection) );
#endif
InitializeCriticalSectionAndSpinCount((CRITICAL_SECTION *)&m_CriticalSection, 4000);
#ifdef THREAD_MUTEX_TRACING_SUPPORTED
// These need to be initialized unconditionally in case mixing release & debug object modules
// Lock and unlock may be emitted as COMDATs, in which case may get spurious output
m_currentOwnerID = m_lockCount = 0;
m_bTrace = false;
#endif
}
CThreadMutex::~CThreadMutex()
{
DeleteCriticalSection((CRITICAL_SECTION *)&m_CriticalSection);
}
#endif // !linux
#if defined( _WIN32 ) && !defined( _X360 )
typedef BOOL (WINAPI*TryEnterCriticalSectionFunc_t)(LPCRITICAL_SECTION);
static CDynamicFunction<TryEnterCriticalSectionFunc_t> DynTryEnterCriticalSection( "Kernel32.dll", "TryEnterCriticalSection" );
#elif defined( _X360 )
#define DynTryEnterCriticalSection TryEnterCriticalSection
#endif
bool CThreadMutex::TryLock()
{
#if defined( _WIN32 )
#ifdef THREAD_MUTEX_TRACING_ENABLED
uint thisThreadID = ThreadGetCurrentId();
if ( m_bTrace && m_currentOwnerID && ( m_currentOwnerID != thisThreadID ) )
Msg( "Thread %u about to try-wait for lock %x owned by %u\n", ThreadGetCurrentId(), (CRITICAL_SECTION *)&m_CriticalSection, m_currentOwnerID );
#endif
if ( DynTryEnterCriticalSection != NULL )
{
if ( (*DynTryEnterCriticalSection )( (CRITICAL_SECTION *)&m_CriticalSection ) != FALSE )
{
#ifdef THREAD_MUTEX_TRACING_ENABLED
if (m_lockCount == 0)
{
// we now own it for the first time. Set owner information
m_currentOwnerID = thisThreadID;
if ( m_bTrace )
Msg( "Thread %u now owns lock 0x%x\n", m_currentOwnerID, (CRITICAL_SECTION *)&m_CriticalSection );
}
m_lockCount++;
#endif
return true;
}
return false;
}
Lock();
return true;
#elif defined( _LINUX )
return pthread_mutex_trylock( &m_Mutex ) == 0;
#else
#error "Implement me!"
return true;
#endif
}
//-----------------------------------------------------------------------------
//
// CThreadFastMutex
//
//-----------------------------------------------------------------------------
#ifndef _LINUX
void CThreadFastMutex::Lock( const uint32 threadId, unsigned nSpinSleepTime ) volatile
{
int i;
if ( nSpinSleepTime != TT_INFINITE )
{
for ( i = 1000; i != 0; --i )
{
if ( TryLock( threadId ) )
{
return;
}
ThreadPause();
}
#ifdef _WIN32
if ( !nSpinSleepTime && GetThreadPriority( GetCurrentThread() ) > THREAD_PRIORITY_NORMAL )
{
nSpinSleepTime = 1;
}
else
#endif
if ( nSpinSleepTime )
{
for ( i = 4000; i != 0; --i )
{
if ( TryLock( threadId ) )
{
return;
}
ThreadPause();
ThreadSleep( 0 );
}
}
for ( ;; ) // coded as for instead of while to make easy to breakpoint success
{
if ( TryLock( threadId ) )
{
return;
}
ThreadPause();
ThreadSleep( nSpinSleepTime );
}
}
else
{
for ( ;; ) // coded as for instead of while to make easy to breakpoint success
{
if ( TryLock( threadId ) )
{
return;
}
ThreadPause();
}
}
}
#endif // !linux
//-----------------------------------------------------------------------------
//
// CThreadRWLock
//
//-----------------------------------------------------------------------------
void CThreadRWLock::WaitForRead()
{
m_nPendingReaders++;
do
{
m_mutex.Unlock();
m_CanRead.Wait();
m_mutex.Lock();
}
while (m_nWriters);
m_nPendingReaders--;
}
void CThreadRWLock::LockForWrite()
{
m_mutex.Lock();
bool bWait = ( m_nWriters != 0 || m_nActiveReaders != 0 );
m_nWriters++;
m_CanRead.Reset();
m_mutex.Unlock();
if ( bWait )
{
m_CanWrite.Wait();
}
}
void CThreadRWLock::UnlockWrite()
{
m_mutex.Lock();
m_nWriters--;
if ( m_nWriters == 0)
{
if ( m_nPendingReaders )
{
m_CanRead.Set();
}
}
else
{
m_CanWrite.Set();
}
m_mutex.Unlock();
}
//-----------------------------------------------------------------------------
//
// CThreadSpinRWLock
//
//-----------------------------------------------------------------------------
void CThreadSpinRWLock::SpinLockForWrite( const uint32 threadId )
{
int i;
for ( i = 1000; i != 0; --i )
{
if ( TryLockForWrite( threadId ) )
{
return;
}
ThreadPause();
}
for ( i = 20000; i != 0; --i )
{
if ( TryLockForWrite( threadId ) )
{
return;
}
ThreadPause();
ThreadSleep( 0 );
}
for ( ;; ) // coded as for instead of while to make easy to breakpoint success
{
if ( TryLockForWrite( threadId ) )
{
return;
}
ThreadPause();
ThreadSleep( 1 );
}
}
void CThreadSpinRWLock::LockForRead()
{
int i;
// In order to grab a read lock, the number of readers must not change and no thread can own the write lock
LockInfo_t oldValue;
LockInfo_t newValue;
oldValue.m_nReaders = m_lockInfo.m_nReaders;
oldValue.m_writerId = 0;
newValue.m_nReaders = oldValue.m_nReaders + 1;
newValue.m_writerId = 0;
if( m_nWriters == 0 && AssignIf( newValue, oldValue ) )
return;
ThreadPause();
oldValue.m_nReaders = m_lockInfo.m_nReaders;
newValue.m_nReaders = oldValue.m_nReaders + 1;
for ( i = 1000; i != 0; --i )
{
if( m_nWriters == 0 && AssignIf( newValue, oldValue ) )
return;
ThreadPause();
oldValue.m_nReaders = m_lockInfo.m_nReaders;
newValue.m_nReaders = oldValue.m_nReaders + 1;
}
for ( i = 20000; i != 0; --i )
{
if( m_nWriters == 0 && AssignIf( newValue, oldValue ) )
return;
ThreadPause();
ThreadSleep( 0 );
oldValue.m_nReaders = m_lockInfo.m_nReaders;
newValue.m_nReaders = oldValue.m_nReaders + 1;
}
for ( ;; ) // coded as for instead of while to make easy to breakpoint success
{
if( m_nWriters == 0 && AssignIf( newValue, oldValue ) )
return;
ThreadPause();
ThreadSleep( 1 );
oldValue.m_nReaders = m_lockInfo.m_nReaders;
newValue.m_nReaders = oldValue.m_nReaders + 1;
}
}
void CThreadSpinRWLock::UnlockRead()
{
int i;
Assert( m_lockInfo.m_nReaders > 0 && m_lockInfo.m_writerId == 0 );
LockInfo_t oldValue;
LockInfo_t newValue;
oldValue.m_nReaders = m_lockInfo.m_nReaders;
oldValue.m_writerId = 0;
newValue.m_nReaders = oldValue.m_nReaders - 1;
newValue.m_writerId = 0;
if( AssignIf( newValue, oldValue ) )
return;
ThreadPause();
oldValue.m_nReaders = m_lockInfo.m_nReaders;
newValue.m_nReaders = oldValue.m_nReaders - 1;
for ( i = 500; i != 0; --i )
{
if( AssignIf( newValue, oldValue ) )
return;
ThreadPause();
oldValue.m_nReaders = m_lockInfo.m_nReaders;
newValue.m_nReaders = oldValue.m_nReaders - 1;
}
for ( i = 20000; i != 0; --i )
{
if( AssignIf( newValue, oldValue ) )
return;
ThreadPause();
ThreadSleep( 0 );
oldValue.m_nReaders = m_lockInfo.m_nReaders;
newValue.m_nReaders = oldValue.m_nReaders - 1;
}
for ( ;; ) // coded as for instead of while to make easy to breakpoint success
{
if( AssignIf( newValue, oldValue ) )
return;
ThreadPause();
ThreadSleep( 1 );
oldValue.m_nReaders = m_lockInfo.m_nReaders;
newValue.m_nReaders = oldValue.m_nReaders - 1;
}
}
void CThreadSpinRWLock::UnlockWrite()
{
Assert( m_lockInfo.m_writerId == ThreadGetCurrentId() && m_lockInfo.m_nReaders == 0 );
static const LockInfo_t newValue = { 0, 0 };
#if defined(_X360)
// X360TBD: Serious Perf implications, not yet. __sync();
#endif
ThreadInterlockedExchange64( (int64 *)&m_lockInfo, *((int64 *)&newValue) );
m_nWriters--;
}
//-----------------------------------------------------------------------------
//
// CThread
//
//-----------------------------------------------------------------------------
CThreadLocalPtr<CThread> g_pCurThread;
//---------------------------------------------------------
CThread::CThread()
:
#ifdef _WIN32
m_hThread(NULL),
#else
m_SuspendEvent(false),
m_SuspendEventSignal(false),
#endif
m_threadId(0),
m_result(0)
{
m_szName[0] = 0;
}
//---------------------------------------------------------
CThread::~CThread()
{
#ifdef _WIN32
if (m_hThread)
#elif _LINUX
if ( m_threadId )
#endif
{
if ( IsAlive() )
{
Msg( "Illegal termination of worker thread! Threads must negotiate an end to the thread before the CThread object is destroyed.\n" );
#ifdef _WIN32
DoNewAssertDialog( __FILE__, __LINE__, "Illegal termination of worker thread! Threads must negotiate an end to the thread before the CThread object is destroyed.\n" );
#endif
if ( GetCurrentCThread() == this )
{
Stop(); // BUGBUG: Alfred - this doesn't make sense, this destructor fires from the hosting thread not the thread itself!!
}
}
}
}
//---------------------------------------------------------
const char *CThread::GetName()
{
AUTO_LOCK( m_Lock );
if ( !m_szName[0] )
{
#ifdef _WIN32
_snprintf( m_szName, sizeof(m_szName) - 1, "Thread(%p/%p)", this, m_hThread );
#elif _LINUX
_snprintf( m_szName, sizeof(m_szName) - 1, "Thread(0x%x/0x%x)", this, m_threadId );
#endif
m_szName[sizeof(m_szName) - 1] = 0;
}
return m_szName;
}
//---------------------------------------------------------
void CThread::SetName(const char *pszName)
{
AUTO_LOCK( m_Lock );
strncpy( m_szName, pszName, sizeof(m_szName) - 1 );
m_szName[sizeof(m_szName) - 1] = 0;
}
//---------------------------------------------------------
bool CThread::Start( unsigned nBytesStack )
{
AUTO_LOCK( m_Lock );
if ( IsAlive() )
{
AssertMsg( 0, "Tried to create a thread that has already been created!" );
return false;
}
bool bInitSuccess = false;
#ifdef _WIN32
HANDLE hThread;
CThreadEvent createComplete;
ThreadInit_t init = { this, &createComplete, &bInitSuccess };
m_hThread = hThread = (HANDLE)VCRHook_CreateThread( NULL,
nBytesStack,
(LPTHREAD_START_ROUTINE)GetThreadProc(),
new ThreadInit_t(init),
0,
&m_threadId );
if ( !hThread )
{
AssertMsg1( 0, "Failed to create thread (error 0x%x)", GetLastError() );
return false;
}
#elif _LINUX
ThreadInit_t init = { this, &bInitSuccess };
pthread_attr_t attr;
pthread_attr_init( &attr );
pthread_attr_setstacksize( &attr, max( nBytesStack, 1024*1024 ) );
if ( pthread_create( &m_threadId, &attr, GetThreadProc(), new ThreadInit_t( init ) ) != 0 )
{
AssertMsg1( 0, "Failed to create thread (error 0x%x)", GetLastError() );
return false;
}
bInitSuccess = true;
#endif
#ifdef _WIN32
if ( !WaitForCreateComplete( &createComplete ) )
{
Msg( "Thread failed to initialize\n" );
CloseHandle( m_hThread );
m_hThread = NULL;
return false;
}
#endif
if ( !bInitSuccess )
{
Msg( "Thread failed to initialize\n" );
#ifdef _WIN32
CloseHandle( m_hThread );
m_hThread = NULL;
#elif _LINUX
m_threadId = 0;
#endif
return false;
}
#ifdef _WIN32
if ( !m_hThread )
{
Msg( "Thread exited immediately\n" );
}
#endif
#ifdef _WIN32
return !!m_hThread;
#elif _LINUX
return !!m_threadId;
#endif
}
//---------------------------------------------------------
//
// Return true if the thread exists. false otherwise
//
bool CThread::IsAlive()
{
DWORD dwExitCode;
return (
#ifdef _WIN32
m_hThread
&& GetExitCodeThread(m_hThread, &dwExitCode)
&& dwExitCode == STILL_ACTIVE
#elif _LINUX
m_threadId
#endif
);
}
//---------------------------------------------------------
bool CThread::Join(unsigned timeout)
{
#ifdef _WIN32
if ( m_hThread )
#elif _LINUX
if ( m_threadId )
#endif
{
AssertMsg(GetCurrentCThread() != this, _T("Thread cannot be joined with self"));
#ifdef _WIN32
return ThreadJoin( (ThreadHandle_t)m_hThread );
#elif _LINUX
return ThreadJoin( (ThreadHandle_t)m_threadId );
#endif
}
return true;
}
//---------------------------------------------------------
#ifdef _WIN32
HANDLE CThread::GetThreadHandle()
{
return m_hThread;
}
#endif
//---------------------------------------------------------
uint CThread::GetThreadId()
{
return m_threadId;
}
//---------------------------------------------------------
int CThread::GetResult()
{
return m_result;
}
//---------------------------------------------------------
//
// Forcibly, abnormally, but relatively cleanly stop the thread
//
void CThread::Stop(int exitCode)
{
if ( !IsAlive() )
return;
if ( GetCurrentCThread() == this )
{
m_result = exitCode;
if ( !( m_flags & SUPPORT_STOP_PROTOCOL ) )
{
OnExit();
g_pCurThread = 0;
#ifdef _WIN32
CloseHandle( m_hThread );
m_hThread = NULL;
#endif
m_threadId = 0;
}
throw exitCode;
}
else
AssertMsg( 0, "Only thread can stop self: Use a higher-level protocol");
}
//---------------------------------------------------------
int CThread::GetPriority() const
{
#ifdef _WIN32
return ThreadGetPriority(m_hThread);
#elif _LINUX
return ThreadGetPriority(m_threadId);
#endif
}
//---------------------------------------------------------
bool CThread::SetPriority(int priority)
{
#ifdef _WIN32
return ThreadSetPriority( (ThreadHandle_t)m_hThread, priority );
#elif _LINUX
return ThreadSetPriority( (ThreadHandle_t)m_threadId, priority );
#endif
}
//---------------------------------------------------------
#ifdef _LINUX
// Disassembled from the 2013 version
void CThread::SuspendCooperative()
{
if (m_threadId != pthread_self())
return;
m_SuspendEventSignal.Set();
m_SuspendEvent.Wait(TT_INFINITE);
}
//---------------------------------------------------------
void CThread::ResumeCooperative()
{
m_SuspendEvent.Set();
}
//---------------------------------------------------------
void CThread::BWaitForThreadSuspendCooperative()
{
m_SuspendEventSignal.Wait(TT_INFINITE);
}
#else
unsigned CThread::Suspend()
{
return ( SuspendThread(m_hThread) != 0 );
}
//---------------------------------------------------------
unsigned CThread::Resume()
{
return ( ResumeThread(m_hThread) != 0 );
}
#endif
//---------------------------------------------------------
bool CThread::Terminate(int exitCode)
{
#ifndef _X360
#ifdef _WIN32
// I hope you know what you're doing!
if (!TerminateThread(m_hThread, exitCode))
return false;
CloseHandle( m_hThread );
m_hThread = NULL;
m_threadId = 0;
#elif _LINUX
pthread_kill( m_threadId, SIGKILL );
m_threadId = 0;
#endif
return true;
#else
AssertMsg( 0, "Cannot terminate a thread on the Xbox!" );
return false;
#endif
}
//---------------------------------------------------------
//
// Get the Thread object that represents the current thread, if any.
// Can return NULL if the current thread was not created using
// CThread
//
CThread *CThread::GetCurrentCThread()
{
return g_pCurThread;
}
//---------------------------------------------------------
//
// Offer a context switch. Under Win32, equivalent to Sleep(0)
//
void CThread::Yield()
{
#ifdef _WIN32
::Sleep(0);
#elif _LINUX
sched_yield();
#endif
}
//---------------------------------------------------------
//
// This method causes the current thread to yield and not to be
// scheduled for further execution until a certain amount of real
// time has elapsed, more or less.
//
void CThread::Sleep(unsigned duration)
{
#ifdef _WIN32
::Sleep(duration);
#elif _LINUX
usleep( duration * 1000 );
#endif
}
//---------------------------------------------------------
bool CThread::Init()
{
return true;
}
//---------------------------------------------------------
void CThread::OnExit()
{
}
//---------------------------------------------------------
#ifdef _WIN32
bool CThread::WaitForCreateComplete(CThreadEvent * pEvent)
{
// Force serialized thread creation...
if (!pEvent->Wait(60000))
{
AssertMsg( 0, "Probably deadlock or failure waiting for thread to initialize." );
return false;
}
return true;
}
#endif
//---------------------------------------------------------
CThread::ThreadProc_t CThread::GetThreadProc()
{
return ThreadProc;
}
//---------------------------------------------------------
#ifdef _LINUX
void *CThread::ThreadProc(LPVOID pv)
{
ThreadInit_t *pInit = (ThreadInit_t *)pv;
#else
unsigned __stdcall CThread::ThreadProc(LPVOID pv)
{
std::auto_ptr<ThreadInit_t> pInit((ThreadInit_t *)pv);
#endif
#ifdef _X360
// Make sure all threads are consistent w.r.t floating-point math
SetupFPUControlWord();
#endif
CThread *pThread = pInit->pThread;
g_pCurThread = pThread;
g_pCurThread->m_pStackBase = AlignValue( &pThread, 4096 );
pInit->pThread->m_result = -1;
try
{
*(pInit->pfInitSuccess) = pInit->pThread->Init();
}
catch (...)
{
*(pInit->pfInitSuccess) = false;
#ifdef _WIN32
pInit->pInitCompleteEvent->Set();
#endif
throw;
}
bool bInitSuccess = *(pInit->pfInitSuccess);
#ifdef _WIN32
pInit->pInitCompleteEvent->Set();
#endif
if (!bInitSuccess)
return 0;
if ( !Plat_IsInDebugSession() && (pInit->pThread->m_flags & SUPPORT_STOP_PROTOCOL) )
{
try
{
pInit->pThread->m_result = pInit->pThread->Run();
}
catch (...)
{
}
}
else
{
pInit->pThread->m_result = pInit->pThread->Run();
}
pInit->pThread->OnExit();
g_pCurThread = 0;
#ifdef _WIN32
AUTO_LOCK( pThread->m_Lock );
CloseHandle( pThread->m_hThread );
pThread->m_hThread = NULL;
#endif
pThread->m_threadId = 0;
#ifdef _WIN32
return pInit->pThread->m_result;
#else
return (void *)(pInit->pThread->m_result);
#endif
}
//-----------------------------------------------------------------------------
//
//-----------------------------------------------------------------------------
CWorkerThread::CWorkerThread()
: m_EventSend(true), // must be manual-reset for PeekCall()
m_EventComplete(true), // must be manual-reset to handle multiple wait with thread properly
m_Param(0),
m_ReturnVal(0)
{
}
//---------------------------------------------------------
int CWorkerThread::CallWorker(unsigned dw, unsigned timeout, bool fBoostWorkerPriorityToMaster)
{
return Call(dw, timeout, fBoostWorkerPriorityToMaster);
}
//---------------------------------------------------------
int CWorkerThread::CallMaster(unsigned dw, unsigned timeout)
{
return Call(dw, timeout, false);
}
//---------------------------------------------------------
CThreadEvent &CWorkerThread::GetCallHandle()
{
return m_EventSend;
}
//---------------------------------------------------------
unsigned CWorkerThread::GetCallParam() const
{
return m_Param;
}
//---------------------------------------------------------
int CWorkerThread::BoostPriority()
{
#ifndef __ANDROID__
int iInitialPriority = GetPriority();
const int iNewPriority = ThreadGetPriority();
if (iNewPriority > iInitialPriority)
SetPriority(iNewPriority);
return iInitialPriority;
#endif
}
//---------------------------------------------------------
#ifdef _WIN32
static uint32 __stdcall DefaultWaitFunc(uint32 nHandles, const HANDLE *pHandles, int bWaitAll, uint32 timeout)
{
return VCRHook_WaitForMultipleObjects( nHandles, (const void **)pHandles, bWaitAll, timeout );
}
#else
static uint32 DefaultWaitFunc(uint32 nEvents, CThreadEvent * const *pEvents, int bWaitAll, uint32 timeout)
{
int result = ThreadWaitForEvents(nEvents, pEvents, bWaitAll, timeout);
if (result == WAIT_OBJECT_0)
return WAIT_OBJECT_0 + 1;
return result;
}
#endif
int CWorkerThread::Call(unsigned dwParam, unsigned timeout, bool fBoostPriority, WaitFunc_t pfnWait)
{
AssertMsg(!m_EventSend.Check(), "Cannot perform call if there's an existing call pending" );
AUTO_LOCK( m_Lock );
if (!IsAlive())
return WTCR_FAIL;
#ifndef __ANDROID__
int iInitialPriority = 0;
if (fBoostPriority)
{
iInitialPriority = BoostPriority();
}
#endif
// set the parameter, signal the worker thread, wait for the completion to be signaled
m_Param = dwParam;
m_EventComplete.Reset();
m_EventSend.Set();
WaitForReply( timeout, pfnWait );
#ifndef __ANDROID__
if (fBoostPriority)
SetPriority(iInitialPriority);
#endif
return m_ReturnVal;
}
//---------------------------------------------------------
//
// Wait for a request from the client
//
//---------------------------------------------------------
int CWorkerThread::WaitForReply( unsigned timeout )
{
return WaitForReply( timeout, NULL );
}
int CWorkerThread::WaitForReply( unsigned timeout, WaitFunc_t pfnWait )
{
if (!pfnWait)
{
pfnWait = DefaultWaitFunc;
}
#ifdef _WIN32
HANDLE waits[] =
{
GetThreadHandle(),
m_EventComplete.GetHandle()
};
#else
CThreadEvent *waits[] =
{
&m_EventComplete
};
#endif
unsigned result;
bool bInDebugger = Plat_IsInDebugSession();
do
{
#ifdef _WIN32
// Make sure the thread handle hasn't been closed
if ( !GetThreadHandle() )
{
result = WAIT_OBJECT_0 + 1;
break;
}
#endif
result = (*pfnWait)((sizeof(waits) / sizeof(waits[0])), waits, false,
(timeout != TT_INFINITE) ? timeout : 30000);
AssertMsg(timeout != TT_INFINITE || result != WAIT_TIMEOUT, "Possible hung thread, call to thread timed out");
} while ( bInDebugger && ( timeout == TT_INFINITE && result == WAIT_TIMEOUT ) );
if ( result != WAIT_OBJECT_0 + 1 )
{
if (result == WAIT_TIMEOUT)
m_ReturnVal = WTCR_TIMEOUT;
else if (result == WAIT_OBJECT_0)
{
DevMsg( 2, "Thread failed to respond, probably exited\n");
m_EventSend.Reset();
m_ReturnVal = WTCR_TIMEOUT;
}
else
{
m_EventSend.Reset();
m_ReturnVal = WTCR_THREAD_GONE;
}
}
return m_ReturnVal;
}
//---------------------------------------------------------
//
// Wait for a request from the client
//
//---------------------------------------------------------
bool CWorkerThread::WaitForCall(unsigned * pResult)
{
return WaitForCall(TT_INFINITE, pResult);
}
//---------------------------------------------------------
bool CWorkerThread::WaitForCall(unsigned dwTimeout, unsigned * pResult)
{
bool returnVal = m_EventSend.Wait(dwTimeout);
if (pResult)
*pResult = m_Param;
return returnVal;
}
//---------------------------------------------------------
//
// is there a request?
//
bool CWorkerThread::PeekCall(unsigned * pParam)
{
if (!m_EventSend.Check())
{
return false;
}
else
{
if (pParam)
{
*pParam = m_Param;
}
return true;
}
}
//---------------------------------------------------------
//
// Reply to the request
//
void CWorkerThread::Reply(unsigned dw)
{
m_Param = 0;
m_ReturnVal = dw;
// The request is now complete so PeekCall() should fail from
// now on
//
// This event should be reset BEFORE we signal the client
m_EventSend.Reset();
// Tell the client we're finished
m_EventComplete.Set();
}
//-----------------------------------------------------------------------------
| [
"hwguy.siplus@gmail.com"
] | hwguy.siplus@gmail.com |
67bcf21431622c33a54d545e46a1caedac010da2 | 3e6ce6c81319a4f61bbb28553b275a579741f94d | /HashTableFunc.hpp | 6f2799ce907ba11be9a3a05e13c885529db9beec | [
"MIT"
] | permissive | mebdog/Sentiment_Analysis_Project | 3ccdd3d10f3dd21cdf15969d5253df3d107db0fb | 4c82e5de090537a60a468c5b2fb10da3c53bef6e | refs/heads/master | 2020-05-16T07:29:50.075442 | 2019-04-22T08:02:00 | 2019-04-22T08:02:00 | 182,880,426 | 0 | 0 | MIT | 2019-04-22T22:58:15 | 2019-04-22T22:58:15 | null | UTF-8 | C++ | false | false | 2,242 | hpp | /*
Starter HPP File for Hash Tables.
DISCLAIMER: We recommend everyone to at least have these functions implemented properly.
For the exams the variable type might change form int to char / any other custom type.
You will also have extra functions which will be the main exam problems. These will just be added to this hpp file and it will be given to you during your exam
*/
#ifndef HASH_HPP
#define HASH_HPP
#include <string>
using namespace std;
// Struct for a linked list node
struct node
{
string word; // data to be stored in the node
int con; //conotation for the word (+1 or -1)
struct node *next; // pointer to the next node
};
class HashTable
{
// No. of buckets (Size of the Hash Table)
int tableSize;
// Pointer to an array containing buckets (the Hash Table)
node **hashTable;
/*
Method Name: createNode
Purpose: Create a node with data as 'key'
return: pointer to the new node
*/
node *createNode(string key);
public:
/*
constructor
Purpose: perform all operations necessary to instantiate a class object
Param: Size of the Hash Table
return: none
*/
HashTable(int bsize);
/*
destructor
Purpose: perform all operations necessary to destroy class object
return: none
*/
~HashTable();
/*
Method Name: insertItem
Purpose: inserts a node with data as 'key' into the Hash Table
return: false if 'key' already exists in the table, otherwise true
*/
bool insertPos(string key);
bool insertNeg(string key);
bool insertItem(string key);
/*
Method Name: hashFunction
Purpose: function to hash "key" into an index
return: index in the Hash Table
*/
unsigned int
hashFunction(string key);
/*
Method Name: printTable
Purpose: function to display the Hash Table
return: none
*/
void printTable();
/*
Method Name: searchItem
Purpose: function to search for "key" in the Hash Table
return: node with "key" as it's data if found, otherwise NULL
*/
node *searchItem(string key);
void printResult(int viable, int score);
};
#endif
| [
"noreply@github.com"
] | noreply@github.com |
c2ed8a0f7358f6875868d12df8206b81ae051dc4 | c1894dd461d0789957b606001cd2b111bf5be0c4 | /tskm/hdr/util/functions.hpp | a36904c0fc9876cf69c2414a0c0a28fc32ff7cd2 | [] | no_license | Tahuoszu/Hensei | 0d58cc9aa325ad3e059302f981faf1724a884eb0 | dc244bf26aca92746a78c32cc162abdc2c0b81be | refs/heads/master | 2021-01-15T11:13:30.347949 | 2014-09-04T11:27:57 | 2014-09-04T11:27:57 | 23,658,864 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,326 | hpp | /**
*
* @file functions.hpp
* @brief
* @author Henri NG
* @version 1.0
* @date 21/05/2014
*
*/
#include "functions.h"
template <class T>
bool containsSet(const set<T>& st1, const set<T>& st2)
{
for (typename set<T>::iterator it = st2.begin(); it != st2.end(); ++it)
if (st1.find(*it) == st1.end())
return 0;
return 1;
}
template <class T>
void print_set(const set<T>& s)
{
for (typename set<T>::const_iterator it = s.begin(); it != s.end(); ++it)
cout << *it << "\t";
cout << endl;
}
template <class T>
void print_vector(const vector<T>& v)
{
for (typename vector<T>::const_iterator it = v.begin(); it != v.end(); ++it)
cout << *it << "\t";
cout << endl;
}
template <class S, class T>
void print_map(const map<S, T>& m)
{
for (typename map<S, T>::const_iterator it = m.begin(); it != m.end(); ++it)
cout << "[" << it->first << " - " << it->second << "]" << endl;
cout << endl;
}
template <class T>
vector<T> getIndexOfSort(const vector<T>& v)
{
int size = v.size();
vector<T> v_sorted(size, 0);
std::multimap<T, int> mapv;
for (int i = 0; i < size; i++)
mapv.insert(std::pair<T, int>(v[i], i));
typename std::multimap<T, int>::iterator it = mapv.begin();
for (int i = 0; i < size; i++) {
v_sorted[i] = it->second;
++it;
}
return v_sorted;
}
template <class T>
list<T> subList(const list<T>& liste, int fromIndex, int toIndex)
{
typename list<T>::const_iterator i = liste.begin();
typename list<T>::const_iterator j = liste.begin();
std::advance(i, fromIndex);
std::advance(j, toIndex);
return list<T>(i, j);
}
template <class T>
bool isSubList(const list<T>& subList, const list<T>& superList)
{
typename list<T>::const_iterator supIt = superList.begin();
supIt = std::search(superList.begin(), superList.end(),
subList.begin(), subList.end());
return (supIt != superList.end());
}
template <class T>
bool containsKey(const map<int, T>& m, int key)
{
if (m.empty())
return false;
typename map<int, T>::const_iterator it;
for (it = m.begin(); it != m.end(); ++it)
if (key == it->first)
return true;
return false;
}
| [
"ngscs@hotmail.com"
] | ngscs@hotmail.com |
23e693e61255df295d3d0d4c4e13c776c5441665 | de10413c9731843438f4170934d9ff1d12a04c00 | /Memory.cpp | 1770b7c6cea9426c68e87fc88e35c328174da315 | [] | no_license | vexparadox/ProjAsm | 65009c496c4b71d0090c6a03635521501bb2a931 | a9634d383a4cd7e5f061aa2c97a50ff731984425 | refs/heads/master | 2021-01-16T19:07:40.185931 | 2017-08-19T10:10:45 | 2017-08-19T10:10:45 | 100,141,403 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 42 | cpp | #include "Memory.hpp"
Memory::Memory(){
} | [
"will.meaton@gmail.com"
] | will.meaton@gmail.com |
865afde7c2f4be700c12c516797c5d4ee8d7435b | 270906a92f36f1ced4e5ab71a20efc367dad0c0b | /include/anvil/byte-pipe/BytePipePacket.hpp | 612a609f472cae626344092b936985f2afd17d25 | [
"Apache-2.0"
] | permissive | asmith-git/anvil | 69c0c71df2eb81195bbce586061905972e79d682 | 6a0ead54fa870cb0b3159fb40387e8dc239e37af | refs/heads/master | 2023-09-06T00:48:49.659072 | 2023-08-28T16:55:21 | 2023-08-28T16:55:21 | 112,432,861 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,251 | hpp | //Copyright 2021 Adam G. Smith
//
//Licensed under the Apache License, Version 2.0 (the "License");
//you may not use this file except in compliance with the License.
//You may obtain a copy of the License at
//
//http ://www.apache.org/licenses/LICENSE-2.0
//
//Unless required by applicable law or agreed to in writing, software
//distributed under the License is distributed on an "AS IS" BASIS,
//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
//See the License for the specific language governing permissions and
//limitations under the License.
#ifndef ANVIL_LUTILS_BYTEPIPE_PACKET_HPP
#define ANVIL_LUTILS_BYTEPIPE_PACKET_HPP
#include <deque>
#include "anvil/byte-pipe/BytePipeReader.hpp"
#include "anvil/byte-pipe/BytePipeWriter.hpp"
namespace anvil { namespace BytePipe {
/*!
\page Packet Pipes
\brief Packet pipes guarantee that downstream pipes will operate on a fixed data size
\details This may be required for certain kinds of pipes
*/
#pragma pack(push, 1)
struct PacketHeaderVersion1 {
uint64_t packet_version : 2; //!< Defines the layout of the packet header, values : 0 - 3
uint64_t payload_size : 16; //!< The number of bytes in the payload that contain valid data
uint64_t packet_size : 16; //!< The size of the packet in bytes (including the header)
uint64_t reseved : 30; //!< Unused bits, zeroed by default. May be used by user clases.
};
// Small packets
struct PacketHeaderVersion2 {
uint32_t packet_version : 2; //!< Defines the layout of the packet header, values : 0 - 3
uint32_t payload_size : 15; //!< The number of bytes in the payload that contain valid data : 0 - 32766
uint32_t packet_size : 15; //!< The size of the packet in bytes (including the header)
};
// Large packets
struct PacketHeaderVersion3 {
uint8_t packet_version;
uint64_t payload_size; //!< The number of bytes in the payload that contain valid data
uint64_t packet_size; //!< The size of the packet in bytes (including the header)
uint32_t reseved; //!< Unused bits, zeroed by default. May be used by user clases.
};
// Large packets
#pragma pack(pop)
union PacketHeader {
PacketHeaderVersion1 v1;
PacketHeaderVersion2 v2;
PacketHeaderVersion3 v3;
};
// Check that the compiler has laid out the data structures as we expect
static_assert(sizeof(PacketHeaderVersion1) == 8u, "Expected PacketHeaderVersion1 to be 8 bytes");
static_assert(sizeof(PacketHeaderVersion2) == 4u, "Expected PacketHeaderVersion2 to be 4 bytes");
static_assert(sizeof(PacketHeaderVersion3) == 21u, "Expected PacketHeaderVersion3 to be 21 bytes");
static_assert(offsetof(PacketHeader, v1) == 0u, "Expected PacketHeader::v1 to be located at byte offset 0");
static_assert(offsetof(PacketHeader, v2) == 0u, "Expected PacketHeader::v2 to be located at byte offset 0");
static_assert(offsetof(PacketHeader, v3) == 0u, "Expected PacketHeader::v3 to be located at byte offset 0");
class ANVIL_DLL_EXPORT PacketInputPipe : public InputPipe {
private:
uint8_t* _payload;
size_t _payload_capacity;
size_t _payload_bytes;
size_t _payload_read_head;
int _timeout_ms;
InputPipe& _downstream_pipe;
void ReadNextPacket();
public:
PacketInputPipe(InputPipe& downstream_pipe, int timeout_ms = -1);
virtual ~PacketInputPipe();
size_t ReadBytes(void* dst, const size_t bytes) final;
virtual const void* ReadBytes2(const size_t bytes_requested, size_t& bytes_actual);
size_t GetBufferSize() const final;
};
class ANVIL_DLL_EXPORT PacketOutputPipe : public OutputPipe {
private:
OutputPipe& _downstream_pipe;
uint8_t* _payload;
size_t _packet_size;
size_t _max_payload_size;
size_t _header_size;
size_t _current_packet_size;
uint32_t _version;
bool _fixed_size_packets;
void _Flush(const void* buffer, size_t bytes_in_buffer);
void WriteBytesInternal(const void* src, const size_t bytes);
public:
PacketOutputPipe(OutputPipe& downstream_pipe, const size_t packet_size, bool fixed_size_packets = true);
virtual ~PacketOutputPipe();
size_t WriteBytes(const void* src, const size_t bytes) final;
void WriteBytes(const void** src, const size_t* bytes, const size_t count, int timeout_ms = -1) final;
void Flush() final;
};
}}
#endif
| [
"adam.george.smith@btinternet.com"
] | adam.george.smith@btinternet.com |
975dfd89d55c3af94890bdd3663610b0d99c2345 | 76f47df3a5009feca202ae7ba5a44b679cb20cd0 | /cpp/zzz/2947.cpp | e1cb2b236a4074b57371d1ac90b379b041a2a4e1 | [] | no_license | Jeonyujeong/Algorithm | 7c868642f2896d96830d578def549ba9bcc28d53 | 9e21790e343e71003b5cd058946a0fe2f6445e64 | refs/heads/master | 2023-06-10T08:30:34.887225 | 2021-06-29T14:21:46 | 2021-06-29T14:21:46 | 359,431,905 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 588 | cpp | #include <iostream>
#include <vector>
using namespace std;
void print(vector<int> v) {
for (int i=0; i<v.size(); i++) {
printf("%d ", v[i]);
}printf("\n");
}
int main(void) {
vector<int> v;
for (int i=0; i<5; i++) {
int n;
scanf("%d", &n);
v.push_back(n);
}
while(true) {
int flag = 0;
for (int i=0; i<v.size()-1; i++) {
if (v[i] > v[i+1]) {
swap(v[i], v[i+1]);
print(v);
}
if (v[i] != i+1) flag = 1;
}
if (!flag) break;
}
} | [
"dbwjd8752@naver.com"
] | dbwjd8752@naver.com |
c4a7a6ac13b20b241b0309efd19a2caf8279779d | 9ef9d5374b61360f18b4bfd95a4830b5814d6586 | /UI/VeriFormlari/tmotedarikciformu.cpp | bb7902eb2dc72c5c7f5db02d08bfec81afc14933 | [] | no_license | onur35iii/TeknolojiMarketiOtomasyonu | 4078b6829b249c182a539ae289e4e4d5bee9f68f | ac51e7386f153cf0bce3c74f46e61c5fa1d5ff7b | refs/heads/master | 2023-06-03T18:03:06.520000 | 2021-06-19T11:09:48 | 2021-06-19T11:09:48 | 375,089,099 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,031 | cpp | #include "tmotedarikciformu.h"
#include "ui_tmotedarikciformu.h"
#include<veriler/TANIMLAR.h>
#include<UI/ListeFormlari/tmotedarikcilistewidget.h>
#include<UI/VeriFormlari/Widgetlar/tmotedarikciduzenleme.h>
#include<veriler/veri_siniflari/tmotedarikcibilgileri.h>
#include<veriler/tmogenelveriyoneticisi.h>
TMOTedarikciFormu::TMOTedarikciFormu(QWidget *parent) :
QDialog(parent),
ui(new Ui::TMOTedarikciFormu)
{
ui->setupUi(this);
TMOTedarikciListeWidget *widget1 = new TMOTedarikciListeWidget(this);
ui->tabTedarikciIslemleri->addTab(widget1, tr("Tanımlı Tedarikçiler"));
connect(widget1,
&TMOTedarikciListeWidget::duzeltmeTalepEdildi,
this,
&TMOTedarikciFormu::tedarikciDuzelt);
}
TMOTedarikciFormu::~TMOTedarikciFormu()
{
delete ui;
}
//410316OnurOkuyucu
//410306MuharremKorkmaz
//410305CoskunKocer
void TMOTedarikciFormu::on_tabTedarikciIslemleri_tabCloseRequested(int index){}
void TMOTedarikciFormu::on_btnYeniTedarikci_clicked()
{
TMOTedarikciDuzenleme *widget = new TMOTedarikciDuzenleme(this);
auto index = ui->tabTedarikciIslemleri->addTab(widget, tr("Yeni Tedarikçi Ekle"));
auto veri = TMOGenelVeriYoneticisi::sec().getTedarikci().yeni();
widget->setVeri(veri);
ui->tabTedarikciIslemleri->setCurrentIndex(index);
// Tedarikçi liste widget'ını bulalım...
TMOTedarikciListeWidget *listeWgt = nullptr;
for (auto i = 0; i < this->ui->tabTedarikciIslemleri->count(); i++) {
auto ptr = this->ui->tabTedarikciIslemleri->widget(i);
listeWgt = static_cast<TMOTedarikciListeWidget *>(ptr);
if (listeWgt != nullptr) {
break;
}
}
connect(widget, &TMOTedarikciDuzenleme::iptalKapat, [this, widget]() {
for (auto i = 0; i < this->ui->tabTedarikciIslemleri->count(); i++) {
if (this->ui->tabTedarikciIslemleri->widget(i) == widget) {
this->ui->tabTedarikciIslemleri->removeTab(i);
return;
}
}
});
connect(widget, &TMOTedarikciDuzenleme::kaydetKapat, [this, widget, listeWgt]() {
TMOGenelVeriYoneticisi::sec().getTedarikci().ekle(widget->getVeri());
listeWgt->arama_yap();
for (auto i = 0; i < this->ui->tabTedarikciIslemleri->count(); i++) {
if (this->ui->tabTedarikciIslemleri->widget(i) == widget) {
this->ui->tabTedarikciIslemleri->removeTab(i);
return;
}
}
});
}
void TMOTedarikciFormu::tedarikciDuzelt(TMOTedarikciBilgileriPtr tedarikci)
{
TMOTedarikciDuzenleme *widget = new TMOTedarikciDuzenleme(this);
auto index = ui->tabTedarikciIslemleri
->addTab(widget, tr("%1 Tedarikçi Düzelt").arg(tedarikci->getTedarikciAdi()));
widget->setVeri(tedarikci);
ui->tabTedarikciIslemleri->setCurrentIndex(index);
// Tedarikçi liste widget'ını bulalım...
TMOTedarikciListeWidget *listeWgt = nullptr;
for (auto i = 0; i < this->ui->tabTedarikciIslemleri->count(); i++) {
auto ptr = this->ui->tabTedarikciIslemleri->widget(i);
listeWgt = static_cast<TMOTedarikciListeWidget *>(ptr);
if (listeWgt != nullptr) {
break;
}
}
connect(widget, &TMOTedarikciDuzenleme::iptalKapat, [this, widget]() {
for (auto i = 0; i < this->ui->tabTedarikciIslemleri->count(); i++) {
if (this->ui->tabTedarikciIslemleri->widget(i) == widget) {
this->ui->tabTedarikciIslemleri->removeTab(i);
return;
}
}
});
connect(widget, &TMOTedarikciDuzenleme::kaydetKapat, [this, widget, listeWgt]() {
widget->getVeri();
listeWgt->arama_yap();
for (auto i = 0; i < this->ui->tabTedarikciIslemleri->count(); i++) {
if (this->ui->tabTedarikciIslemleri->widget(i) == widget) {
this->ui->tabTedarikciIslemleri->removeTab(i);
return;
}
}
});
}
| [
"onurokuyucu1@gmail.com"
] | onurokuyucu1@gmail.com |
372e119baa29628d341fd53007b3a8b174de5c0e | 996bea33d2099d487ddecc354bc1cf9d04854d16 | /TVG_noindivK.cpp | fc664c2532022c26c369873d839ce6f2006ba4bd | [] | no_license | lee-qi/TMB-TVG-otolith | ab9d26a8d0423d1824310d38a2e06458319d855e | 3f78e7de34b975ef718a574409c6261c21a50d82 | refs/heads/master | 2021-08-30T05:19:18.465925 | 2017-12-16T05:39:41 | 2017-12-16T05:39:41 | 114,436,747 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,592 | cpp | // Can include other random effect relationships using a DATA_FACTOR(Numero); TBD later
#define TMB_LIB_INIT R_init_TVG_noindivK
#include <TMB.hpp>
template<class Type>
Type objective_function<Type>::operator() ()
{
DATA_FACTOR(indiv);
DATA_FACTOR(yrs);
DATA_FACTOR(sex);
DATA_VECTOR(widths);
DATA_VECTOR(age);
DATA_INTEGER(Nfish); // Total number of individuals
DATA_INTEGER(Nyears); // Total number of years plus 1 because of initial year for initial width
DATA_INTEGER(Nsex);
PARAMETER_VECTOR(logmeanK); // Normally-distributed Kappa
PARAMETER_VECTOR(logmeanWinf); // Normally-distributed Winf
PARAMETER_VECTOR(betaK);
PARAMETER_VECTOR(betaW);
PARAMETER_VECTOR(Omega);
// PARAMETER(Rho);
PARAMETER_VECTOR(Ke);
PARAMETER_VECTOR(We);
PARAMETER(logsigKe);
PARAMETER(logsigWe);
PARAMETER(logsigInc);
int Ndat = widths.size();
Type nll; // Objective function
Type sigInc = exp(logsigInc);
Type sigKe = exp(logsigKe);
Type sigWe = exp(logsigWe);
vector<Type> meanK(Nsex);
vector<Type> meanWinf(Nsex);
vector<Type> predInc(Ndat);
vector<Type> Kvals(Nfish);
vector<Type> Winfvals(Nfish);
vector<Type> Ep(Nyears);
vector<Type> startInc(Nfish);
nll = 0.0;
meanK = exp(logmeanK);
meanWinf = exp(logmeanWinf);
for(int fish=0; fish<Nfish; fish++) {
Kvals(fish) = meanK(sex(fish)) * exp(Ke(fish));
Winfvals(fish) = meanWinf(sex(fish)) * exp(We(fish));
// Individual sex-specific random effect
// nll -= dnorm(Ke(fish), Type(0.0), sigKe, true);
nll -= dnorm(We(fish), Type(0.0), sigWe, true);
}
Ep = Omega;
// for(int yr=1; yr<Nyears; yr++) {
// Ep(yr) = (Ep(yr-1) * Rho) + (sqrt(1-pow(Rho,2))*Omega(yr));
// }
Type tempK = Kvals(indiv(0)) * exp(betaK(sex(indiv(0))) * Ep(yrs(0)));
Type tempWinf = Winfvals(indiv(0)) * exp(betaW(sex(indiv(0))) * Ep(yrs(0)));
Type temppreK = Kvals(indiv(0)) * exp(betaK(sex(indiv(0))) * Ep(yrs(0)-1));
Type temppreWinf = Winfvals(indiv(0)) * exp(betaW(sex(indiv(0))) * Ep(yrs(0)-1));
startInc(indiv(0)) = temppreWinf * (1.0 - (exp(-temppreK * (age(0)-1))));
predInc(0) = (exp(-tempK) - 1) * (startInc(indiv(0)) - tempWinf);
Type tempWid = startInc(indiv(0)) + predInc(0);
for(int i=1; i<Ndat; i++) {
// Time- and individually-varying random effect
Type tempK = Kvals(indiv(i)) * exp(betaK(sex(indiv(i))) * Ep(yrs(i)));
Type tempWinf = Winfvals(indiv(i)) * exp(betaW(sex(indiv(i))) * Ep(yrs(i)));
if(indiv(i) != indiv(i-1)) {
Type temppreK = Kvals(indiv(i)) * exp(betaK(sex(indiv(i))) * Ep(yrs(i)-1));
Type temppreWinf = Winfvals(indiv(i)) * exp(betaW(sex(indiv(i))) * Ep(yrs(i)-1));
startInc(indiv(i)) = temppreWinf * (1.0 - (exp(-temppreK * (age(i)-1))));
predInc(i) = (exp(-tempK) - 1) * (startInc(indiv(i)) - tempWinf);
tempWid = startInc(indiv(i)) + predInc(i);
}
else {
predInc(i) = (exp(-tempK) - 1.0) * (tempWid - tempWinf);
tempWid += predInc(i);
}
}
nll -= sum(dnorm(Omega, Type(0.0), Type(1.0), true));
nll -= sum(dnorm(widths,predInc,sigInc, true));
ADREPORT(Kvals);
ADREPORT(Winfvals);
ADREPORT(Ep)
ADREPORT(predInc);
REPORT(Ke);
REPORT(We);
REPORT(Ep);
REPORT(meanK);
REPORT(meanWinf);
REPORT(betaK);
REPORT(betaW);
REPORT(Kvals);
REPORT(Winfvals);
REPORT(predInc);
REPORT(sigKe);
REPORT(sigWe);
REPORT(sigInc);
return nll;
}
| [
"leeqi@ucsb.edu"
] | leeqi@ucsb.edu |
4129fec4a79b8d1fbc0027192b674e4237d8d248 | ef4b820147f4934fa41e226c1d5944f30711d1d7 | /test/w_chewei_fen.cpp | 3799b0d96be6af9a494b66ecb385d07690681733 | [] | no_license | Carter-Zhong/Qt_wuye | a7bbd0cc4b7ee3df1db6ac9173288a5644cf4f3b | 5d7f342dcab647bea14f240e2453e55e56a56fb1 | refs/heads/master | 2022-11-10T23:10:10.532284 | 2020-06-19T16:04:40 | 2020-06-19T16:04:40 | 273,525,362 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,089 | cpp | #include "w_chewei_fen.h"
#include "ui_w_chewei_fen.h"
#include <QSqlTableModel>
#include <QMessageBox>
#include <QSqlError>
#include <QSqlQuery>
#include <login.h>
#include <QDebug>
#include <QFileDialog>
#include "ActiveQt/QAxBase"
#include <ActiveQt/QAxWidget>
#include <ActiveQt/QAxObject>
#include <QStandardPaths>
#include <QDesktopServices>
W_Chewei_Fen::W_Chewei_Fen(QWidget *parent) :
QWidget(parent),
ui(new Ui::W_Chewei_Fen)
{
ui->setupUi(this);
model = new QSqlTableModel(this);
model->setTable("C_Chu_Sheet");
model->select();
//设计编辑策略
model->setEditStrategy(QSqlTableModel::OnManualSubmit);
ui->tableView->setModel(model);
model->setHeaderData(0,Qt::Horizontal,tr("编号"));
model->setHeaderData(1,Qt::Horizontal,tr("业主ID"));
model->setHeaderData(2,Qt::Horizontal,tr("车位ID"));
model->setHeaderData(3,Qt::Horizontal,tr("缴费状态"));
}
W_Chewei_Fen::~W_Chewei_Fen()
{
delete ui;
}
void W_Chewei_Fen::on_pushButton_clicked()
{
//获取行数
int rowNum = model->rowCount();
int id = rowNum + 1;
//添加一行
model->insertRow(rowNum);
model->setData(model->index(rowNum,0),id);
}
void W_Chewei_Fen::on_pushButton_2_clicked()
{
//开始事务
model->database().transaction();
if(model->submitAll()) {
if(model->database().commit()) //提交
QMessageBox::information(this,tr("tableModel"),
tr("数据修改成功!"));
}else{
model->database().rollback();
QMessageBox::warning(this,tr("tableModel"),
tr("数据库错误;%1").arg(model->lastError().text()),
QMessageBox::Ok);
}
QSqlQuery query;
int row = model->rowCount(); //当前表的行数
query.exec(tr("select * from C_Chu_Sheet where ID = '%1'") //查询刚添加行的"Y_ID"、"C_ID"
.arg(row));
query.next();
QString C_ID = query.value(2).toString();
QString Y_ID = query.value(1).toString();
query.exec("select *from Pay_Wei_Sheet"); //获取单个车位的价格
query.next();
int num1 = query.value(2).toInt();
query.exec(tr("select count(*) from C_Chu_Sheet where Y_ID = '%1' and J_State = '未缴费'") //获取刚添加行业主的车辆未缴费数
.arg(Y_ID));
query.next();
int num2 = num1 * query.value(0).toInt();
query.exec(tr("update Pay_Sheet set Cost_C = '%1'where Y_ID = '%2'") //将车位费更新到Pay_Sheet表中
.arg(num2).arg(Y_ID));
query.exec(tr("update C_Info_Sheet set State = '已出租' where C_ID = '%1'")
.arg(C_ID));
qDebug() << "11" ;
//query.next();
qDebug() << "Y_ID" << Y_ID ;
if(query.exec(tr("update C_Shen_Sheet set F_State = '已分配' where Y_ID = '%1'") //判断是否更新成功
.arg(Y_ID)))
{
qDebug() << "33" ;
}else
{
qDebug() << "44" ;
}
}
void W_Chewei_Fen::Table2ExcelByHtml(QTableView *table,QString title)
{
QMessageBox::about(NULL,"注意","正在导出,过程中会卡顿,请点击确定以后等待成功提示");
QString fileName = QFileDialog::getSaveFileName(table, "保存",QStandardPaths::writableLocation(QStandardPaths::DocumentsLocation),"Excel 文件(*.xls *.xlsx)");
if (fileName!="")
{
QAxObject *excel = new QAxObject;
if (excel->setControl("Excel.Application")) //连接Excel控件
{
//excel->dynamicCall("SetVisible (bool Visible)","false");//不显示窗体
excel->setProperty("DisplayAlerts", false);//不显示任何警告信息。如果为true那么在关闭是会出现类似“文件已修改,是否保存”的提示
excel->setProperty("Visible", false);
QAxObject *workbooks = excel->querySubObject("WorkBooks");//获取工作簿集合
workbooks->dynamicCall("Add");//新建一个工作簿
QAxObject *workbook = excel->querySubObject("ActiveWorkBook");//获取当前工作簿
QAxObject *worksheet = workbook->querySubObject("Worksheets(int)", 1);
int i,j;
int colcount=table->model()->columnCount();
int rowcount=table->model()->rowCount();
QAxObject *cell,*col;
//标题行
cell=worksheet->querySubObject("Cells(int,int)", 1, 1);
cell->dynamicCall("SetValue(const QString&)", title);
cell->querySubObject("Font")->setProperty("Size", 18);
//调整行高
worksheet->querySubObject("Range(const QString&)", "1:1")->setProperty("RowHeight", 30);
//合并标题行
QString cellTitle;
cellTitle.append("A1:");
cellTitle.append(QChar(colcount - 1 + 'A'));
cellTitle.append(QString::number(1));
QAxObject *range = worksheet->querySubObject("Range(const QString&)", cellTitle);
range->setProperty("WrapText", true);
range->setProperty("MergeCells", true);
range->setProperty("HorizontalAlignment", -4108);//xlCenter
range->setProperty("VerticalAlignment", -4108);//xlCenter
//列标题
for(i=0;i<colcount;i++)
{
QString columnName;
columnName.append(QChar(i + 'A'));
columnName.append(":");
columnName.append(QChar(i + 'A'));
col = worksheet->querySubObject("Columns(const QString&)", columnName);
col->setProperty("ColumnWidth", table->columnWidth(i)/6);
cell=worksheet->querySubObject("Cells(int,int)", 2, i+1);
//QTableWidget 获取表格头部文字信息
//columnName=table->horizontalHeaderItem(i)->text();
//QTableView 获取表格头部文字信息
columnName=table->model()->headerData(i,Qt::Horizontal,Qt::DisplayRole).toString();
cell->dynamicCall("SetValue(const QString&)", columnName);
cell->querySubObject("Font")->setProperty("Bold", true);
cell->querySubObject("Interior")->setProperty("Color",QColor(191, 191, 191));
cell->setProperty("HorizontalAlignment", -4108);//xlCenter
cell->setProperty("VerticalAlignment", -4108);//xlCenter
}
//数据区
//QTableWidget 获取表格数据部分
/* for(i=0;i<rowcount;i++){
for (j=0;j<colcount;j++)
{
worksheet->querySubObject("Cells(int,int)", i+3, j+1)->dynamicCall("SetValue(const QString&)", table->item(i,j)?table->item(i,j)->text():"");
}
}*/
//QTableView 获取表格数据部分
for(i=0;i<rowcount;i++) //行数
{
for (j=0;j<colcount;j++) //列数
{
QModelIndex index =table->model()->index(i, j);
QString strdata=table->model()->data(index).toString();
worksheet->querySubObject("Cells(int,int)", i+3, j+1)->dynamicCall("SetValue(const QString&)", strdata);
}
}
//画框线
QString lrange;
lrange.append("A2:");
lrange.append(colcount - 1 + 'A');
lrange.append(QString::number(table->model()->rowCount() + 2));
range = worksheet->querySubObject("Range(const QString&)", lrange);
range->querySubObject("Borders")->setProperty("LineStyle", QString::number(1));
range->querySubObject("Borders")->setProperty("Color", QColor(0, 0, 0));
//调整数据区行高
QString rowsName;
rowsName.append("2:");
rowsName.append(QString::number(table->model()->rowCount() + 2));
range = worksheet->querySubObject("Range(const QString&)", rowsName);
range->setProperty("RowHeight", 20);
workbook->dynamicCall("SaveAs(const QString&)",QDir::toNativeSeparators(fileName));//保存至fileName
workbook->dynamicCall("Close()");//关闭工作簿
excel->dynamicCall("Quit()");//关闭excel
delete excel;
excel=NULL;
if (QMessageBox::question(NULL,"完成","文件已经导出,是否现在打开?",QMessageBox::Yes|QMessageBox::No)==QMessageBox::Yes)
{
QDesktopServices::openUrl(QUrl("file:///" + QDir::toNativeSeparators(fileName)));
}
}
else
{
QMessageBox::warning(NULL,"错误","未能创建 Excel 对象,请安装 Microsoft Excel。",QMessageBox::Apply);
}
}
}
void W_Chewei_Fen::on_pushButton_3_clicked()
{
Table2ExcelByHtml(ui->tableView,"申请请假名单");
}
| [
"zfn10322@126.com"
] | zfn10322@126.com |
1860d982b8508745cc9c8010271c1a1a6cf611ea | 698ab46c0238d4823e10cede87f6a2d576da2412 | /hacked-cds-1.3.1/cds/container/split_list_base.h | 3c46b260b725afc48718712c2da30362f8cfe868 | [
"BSD-2-Clause"
] | permissive | jellevandenhooff/codex | 62c0843914993c8973a112af3479f613582c52e5 | 9c31b3fc8324adc16d040587bd0e5b687dd58cfa | refs/heads/master | 2021-01-13T01:40:33.761019 | 2013-12-10T02:38:00 | 2013-12-10T02:38:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,536 | h | /*
This file is a part of libcds - Concurrent Data Structures library
See http://libcds.sourceforge.net/
(C) Copyright Maxim Khiszinsky [khizmax at gmail dot com] 2006-2013
Distributed under the BSD license (see accompanying file license.txt)
Version 1.3.1
*/
#ifndef __CDS_CONTAINER_SPLIT_LIST_BASE_H
#define __CDS_CONTAINER_SPLIT_LIST_BASE_H
#include <cds/intrusive/split_list_base.h>
namespace cds { namespace container {
// forward declaration
struct michael_list_tag ;
/// SplitListSet related definitions
/** @ingroup cds_nonintrusive_helper
*/
namespace split_list {
using intrusive::split_list::dynamic_bucket_table ;
//@cond
namespace details {
template <typename Key, typename Value, typename Traits, typename Opt>
struct wrap_map_traits_helper {
typedef Opt key_accessor ;
};
template <typename Key, typename Value, typename Traits >
struct wrap_map_traits_helper<Key, Value, Traits, opt::none>
{
struct key_accessor
{
typedef Key key_type ;
key_type const & operator()( std::pair<Key const, Value> const & val ) const
{
return val.first ;
}
};
};
template <typename Key, typename Value, typename Traits>
struct wrap_map_traits: public Traits
{
typedef typename wrap_map_traits_helper<Key, Value, Traits, typename Traits::key_accessor>::key_accessor key_accessor ;
};
template <typename Value, typename Traits, typename Opt>
struct wrap_set_traits_helper {
typedef Opt key_accessor ;
};
template <typename Value, typename Traits >
struct wrap_set_traits_helper<Value, Traits, opt::none>
{
struct key_accessor
{
typedef Value key_type ;
key_type const & operator()( Value const & val ) const
{
return val ;
}
};
};
template <typename Value, typename Traits>
struct wrap_set_traits: public Traits
{
typedef typename wrap_set_traits_helper<Value, Traits, typename Traits::key_accessor>::key_accessor key_accessor ;
};
} // namespace details
//@endcond
/// Type traits for SplitListSet class
/**
Note, the SplitListSet type traits is based on intrusive::split_list::type_traits.
Any member declared in intrusive::split_list::type_traits is also applied to
container::split_list::type_traits.
*/
struct type_traits: public intrusive::split_list::type_traits
{
// Ordered list implementation
/**
This option selects appropriate ordered-list implementation for split-list.
It may be \ref michael_list_tag or \ref lazy_list_tag.
*/
typedef michael_list_tag ordered_list ;
// Ordered list traits
/**
With this option you can specify type traits for selected ordered list class.
If this option is opt::none, the ordered list traits is combined with default
ordered list traits and split-list traits.
For \p michael_list_tag, the default traits is \ref container::michael_list::type_traits.
For \p lazy_list_tag, the default traits is \ref container::lazy_list::type_traits.
*/
typedef opt::none ordered_list_traits ;
//@cond
typedef opt::none key_accessor ;
//@endcond
};
/// Option to select ordered list class for split-list
/**
This option selects appropriate ordered list class for containers based on split-list.
Template parameter \p Type may be \ref michael_list_tag or \ref lazy_list_tag.
*/
template <class Type>
struct ordered_list
{
//@cond
template<class Base> struct pack: public Base
{
typedef Type ordered_list ;
};
//@endcond
};
/// Option to specify ordered list type traits
/**
The \p Type template parameter specifies ordered list type traits.
It depends on type of ordered list selected.
*/
template <class Type>
struct ordered_list_traits
{
//@cond
template<class Base> struct pack: public Base
{
typedef Type ordered_list_traits ;
};
//@endcond
};
/// Metafunction converting option list to traits struct
/**
Available \p Options:
- split_list::ordered_list - a tag for ordered list implementation.
See split_list::ordered_list for possible values.
- split_list::ordered_list_traits - type traits for ordered list implementation.
For MichaelList use container::michael_list::type_traits,
for LazyList use container::lazy_list::type_traits.
- plus any option from intrusive::split_list::make_traits
*/
template <CDS_DECL_OPTIONS8>
struct make_traits {
typedef typename cds::opt::make_options< type_traits, CDS_OPTIONS8>::type type ; ///< Result of metafunction
};
} // namespace split_list
//@cond
// Forward declarations
template <class GC, class T, class Traits = split_list::type_traits>
class SplitListSet ;
template <class GC, typename Key, typename Value, class Traits = split_list::type_traits>
class SplitListMap ;
//@endcond
//@cond
// Forward declaration
namespace details {
template <typename GC, typename T, typename OrderedListTag, typename Traits>
struct make_split_list_set ;
template <typename GC, typename Key, typename Value, typename OrderedListTag, typename Traits>
struct make_split_list_map ;
}
//@endcond
}} // namespace cds::container
#endif // #ifndef __CDS_CONTAINER_SPLIT_LIST_BASE_H
| [
"jelle@vandenhooff.name"
] | jelle@vandenhooff.name |
759143b377c7421171da193ab212b69d00a16c53 | 306db18ee78cace3420827234eadc43faed4cdcc | /Hand/pos.ino | b75b3a93e8f89ef87e498268d0931518ff4e019c | [] | no_license | sanjay289/MEENA-AI | 902950dac9c55df221746ffc370ab469439d4bc9 | 50497bb3f574bf79eff96151227c9f1c9097c2fa | refs/heads/master | 2021-10-11T14:44:46.380792 | 2019-01-27T14:25:05 | 2019-01-27T14:25:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 696 | ino | void anything(int x, int y, int z) {
int a = (x - base_p );
int b = (y - elbow_p);
int c = (z - wrist_p);
int a1 = 1, b1 = 1, c1 = 1;
int mx = 0;
if (a < 0) {
a *= -1;
a1 = -1;
}
if (b < 0) {
b *= -1;
b1 = -1;
}
if (c < 0) {
c *= -1;
c1 = -1;
}
if (a >= b && a >= c) mx = a;
if (b >= a && b >= c) mx = b;
if (c >= b && c >= a) mx = c;
for (int i = 0; i < mx; i++)
{
if (base_p != x)
{
base_p += a1;
base.write(base_p);
}
if (elbow_p != y)
{
elbow_p += b1;
elbow.write(elbow_p);
}
if (wrist_p != z)
{
wrist_p += c1;
wrist.write(wrist_p);
}
delay(15);
}
}
| [
"shuhan.mirza@gmail.com"
] | shuhan.mirza@gmail.com |
94b7dee8ae22fd1abaab3db39d938f193ccda2e7 | 03b1066ace1f73c570d774001699784e1f1f4f4e | /Unreal/Plugins/AirSim/Source/AirSimGameMode.h | ae1660344b5c4b880093ff0bffa39345b404cb0a | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | crysisfarcry222/AirSim | 1134abb62dca84faac88e19883569ccdb947a76b | 0c87453ee102002dd4847a985758b4d1c8819774 | refs/heads/master | 2021-01-01T15:48:42.354660 | 2017-07-19T06:51:03 | 2017-07-19T06:51:03 | 97,708,713 | 1 | 0 | null | 2017-07-19T11:28:18 | 2017-07-19T11:28:18 | null | UTF-8 | C++ | false | false | 436 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "GameFramework/GameModeBase.h"
#include "AirSimGameMode.generated.h"
/**
*
*/
UCLASS()
class AIRSIM_API AAirSimGameMode : public AGameModeBase
{
GENERATED_BODY()
virtual void StartPlay() override;
AAirSimGameMode(const FObjectInitializer& ObjectInitializer);
private:
void initializeSettings();
};
| [
"shital@ShitalShah.com"
] | shital@ShitalShah.com |
82efb7767e6fec5d47bf0945e6d57bb6b7f9d726 | f279b1e1d05e29179a0ed9fa39d5026af246e64f | /Source/TwinStickShooter/BaseCharacter.cpp | ede76a4394ac38a8b500fb252c8f1195b9902e7f | [] | no_license | Cadovvl/tws | 6cd5750ba758e083597f496f2854efa16462e928 | 281edd9eba3cd28729f0896ce8933b2c121b8c24 | refs/heads/master | 2022-04-18T04:40:07.546455 | 2020-04-19T09:12:22 | 2020-04-19T09:12:22 | 256,953,670 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,085 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "BaseCharacter.h"
// Sets default values
ABaseCharacter::ABaseCharacter()
{
// Set this character to call Tick() every frame. You can turn this off to improve performance if you don't need it.
PrimaryActorTick.bCanEverTick = true;
}
// Called when the game starts or when spawned
void ABaseCharacter::BeginPlay()
{
Super::BeginPlay();
}
// Called every frame
void ABaseCharacter::Tick(float DeltaTime)
{
Super::Tick(DeltaTime);
}
// Called to bind functionality to input
void ABaseCharacter::SetupPlayerInputComponent(UInputComponent* PlayerInputComponent)
{
Super::SetupPlayerInputComponent(PlayerInputComponent);
}
void ABaseCharacter::CalculateDead()
{
isDead = Health <= 0;
}
void ABaseCharacter::CalculateHealth(float delta)
{
Health += delta;
CalculateDead();
}
#if WITH_EDITOR
void ABaseCharacter::PostEditChangeProperty(FPropertyChangedEvent& PropertyChangedEvent)
{
isDead = false;
Health = 100;
Super::PostEditChangeProperty(PropertyChangedEvent);
}
#endif
| [
"pavelandreevith@gmail.com"
] | pavelandreevith@gmail.com |
022e45cc14571966157c564df3707ab99f554ff3 | 0cd417acde90ef7071e0d6d63a28d112edab0804 | /pxt_modules/core/control.cpp | d7bc1939fff98140d6399831c0176db6e6b0c989 | [
"MIT"
] | permissive | emwta/pxt-iBit | e0b9ee5ae2fadef63a2491b133a709c06a557897 | cfa6abc552c643f22907944991f9ca813aa43f01 | refs/heads/master | 2023-03-09T16:02:10.404342 | 2022-08-31T02:48:09 | 2022-08-31T02:48:09 | 119,654,661 | 10 | 19 | MIT | 2023-02-27T23:35:14 | 2018-01-31T08:00:49 | C++ | UTF-8 | C++ | false | false | 12,619 | cpp | #include "pxt.h"
/**
* How to create the event.
*/
enum class EventCreationMode {
/**
* MicroBitEvent is initialised, and no further processing takes place.
*/
CreateOnly = CREATE_ONLY,
/**
* MicroBitEvent is initialised, and its event handlers are immediately fired (not suitable for use in interrupts!).
*/
CreateAndFire = CREATE_AND_FIRE,
};
// note the trailing '_' in names - otherwise we get conflict with the pre-processor
// this trailing underscore is removed by enums.d.ts generation process
// TODO shouldn't these be renamed to something more sensible anyways?
enum EventBusSource {
//% blockIdentity="control.eventSourceId"
MICROBIT_ID_BUTTON_A_ = MICROBIT_ID_BUTTON_A,
//% blockIdentity="control.eventSourceId"
MICROBIT_ID_BUTTON_B_ = MICROBIT_ID_BUTTON_B,
//% blockIdentity="control.eventSourceId"
MICROBIT_ID_BUTTON_AB_ = MICROBIT_ID_BUTTON_AB,
//% blockIdentity="control.eventSourceId"
MICROBIT_ID_RADIO_ = MICROBIT_ID_RADIO,
//% blockIdentity="control.eventSourceId"
MICROBIT_ID_GESTURE_ = MICROBIT_ID_GESTURE,
//% blockIdentity="control.eventSourceId"
MICROBIT_ID_ACCELEROMETER_ = MICROBIT_ID_ACCELEROMETER,
//% blockIdentity="control.eventSourceId"
MICROBIT_ID_IO_P0_ = MICROBIT_ID_IO_P0,
//% blockIdentity="control.eventSourceId"
MICROBIT_ID_IO_P1_ = MICROBIT_ID_IO_P1,
//% blockIdentity="control.eventSourceId"
MICROBIT_ID_IO_P2_ = MICROBIT_ID_IO_P2,
//% blockIdentity="control.eventSourceId"
MICROBIT_ID_IO_P3_ = MICROBIT_ID_IO_P3,
//% blockIdentity="control.eventSourceId"
MICROBIT_ID_IO_P4_ = MICROBIT_ID_IO_P4,
//% blockIdentity="control.eventSourceId"
MICROBIT_ID_IO_P5_ = MICROBIT_ID_IO_P5,
//% blockIdentity="control.eventSourceId"
MICROBIT_ID_IO_P6_ = MICROBIT_ID_IO_P6,
//% blockIdentity="control.eventSourceId"
MICROBIT_ID_IO_P7_ = MICROBIT_ID_IO_P7,
//% blockIdentity="control.eventSourceId"
MICROBIT_ID_IO_P8_ = MICROBIT_ID_IO_P8,
//% blockIdentity="control.eventSourceId"
MICROBIT_ID_IO_P9_ = MICROBIT_ID_IO_P9,
//% blockIdentity="control.eventSourceId"
MICROBIT_ID_IO_P10_ = MICROBIT_ID_IO_P10,
//% blockIdentity="control.eventSourceId"
MICROBIT_ID_IO_P11_ = MICROBIT_ID_IO_P11,
//% blockIdentity="control.eventSourceId"
MICROBIT_ID_IO_P12_ = MICROBIT_ID_IO_P12,
//% blockIdentity="control.eventSourceId"
MICROBIT_ID_IO_P13_ = MICROBIT_ID_IO_P13,
//% blockIdentity="control.eventSourceId"
MICROBIT_ID_IO_P14_ = MICROBIT_ID_IO_P14,
//% blockIdentity="control.eventSourceId"
MICROBIT_ID_IO_P15_ = MICROBIT_ID_IO_P15,
//% blockIdentity="control.eventSourceId"
MICROBIT_ID_IO_P16_ = MICROBIT_ID_IO_P16,
//% blockIdentity="control.eventSourceId"
MICROBIT_ID_IO_P19_ = MICROBIT_ID_IO_P19,
//% blockIdentity="control.eventSourceId"
MICROBIT_ID_IO_P20_ = MICROBIT_ID_IO_P20,
//% blockIdentity="control.eventSourceId"
MES_DEVICE_INFO_ID_ = MES_DEVICE_INFO_ID,
//% blockIdentity="control.eventSourceId"
MES_SIGNAL_STRENGTH_ID_ = MES_SIGNAL_STRENGTH_ID,
//% blockIdentity="control.eventSourceId"
MES_DPAD_CONTROLLER_ID_ = MES_DPAD_CONTROLLER_ID,
//% blockIdentity="control.eventSourceId"
MES_BROADCAST_GENERAL_ID_ = MES_BROADCAST_GENERAL_ID,
};
enum EventBusValue {
//% blockIdentity="control.eventValueId"
MICROBIT_EVT_ANY_ = MICROBIT_EVT_ANY,
//% blockIdentity="control.eventValueId"
MICROBIT_BUTTON_EVT_CLICK_ = MICROBIT_BUTTON_EVT_CLICK,
//% blockIdentity="control.eventValueId"
MICROBIT_RADIO_EVT_DATAGRAM_ = MICROBIT_RADIO_EVT_DATAGRAM,
//% blockIdentity="control.eventValueId"
MICROBIT_ACCELEROMETER_EVT_DATA_UPDATE_ = MICROBIT_ACCELEROMETER_EVT_DATA_UPDATE,
//% blockIdentity="control.eventValueId"
MICROBIT_PIN_EVT_RISE_ = MICROBIT_PIN_EVT_RISE,
//% blockIdentity="control.eventValueId"
MICROBIT_PIN_EVT_FALL_ = MICROBIT_PIN_EVT_FALL,
//% blockIdentity="control.eventValueId"
MICROBIT_PIN_EVT_PULSE_HI_ = MICROBIT_PIN_EVT_PULSE_HI,
//% blockIdentity="control.eventValueId"
MICROBIT_PIN_EVT_PULSE_LO_ = MICROBIT_PIN_EVT_PULSE_LO,
//% blockIdentity="control.eventValueId"
MES_ALERT_EVT_ALARM1_ = MES_ALERT_EVT_ALARM1,
//% blockIdentity="control.eventValueId"
MES_ALERT_EVT_ALARM2_ = MES_ALERT_EVT_ALARM2,
//% blockIdentity="control.eventValueId"
MES_ALERT_EVT_ALARM3_ = MES_ALERT_EVT_ALARM3,
//% blockIdentity="control.eventValueId"
MES_ALERT_EVT_ALARM4_ = MES_ALERT_EVT_ALARM4,
//% blockIdentity="control.eventValueId"
MES_ALERT_EVT_ALARM5_ = MES_ALERT_EVT_ALARM5,
//% blockIdentity="control.eventValueId"
MES_ALERT_EVT_ALARM6_ = MES_ALERT_EVT_ALARM6,
//% blockIdentity="control.eventValueId"
MES_ALERT_EVT_DISPLAY_TOAST_ = MES_ALERT_EVT_DISPLAY_TOAST,
//% blockIdentity="control.eventValueId"
MES_ALERT_EVT_FIND_MY_PHONE_ = MES_ALERT_EVT_FIND_MY_PHONE,
//% blockIdentity="control.eventValueId"
MES_ALERT_EVT_PLAY_RINGTONE_ = MES_ALERT_EVT_PLAY_RINGTONE,
//% blockIdentity="control.eventValueId"
MES_ALERT_EVT_PLAY_SOUND_ = MES_ALERT_EVT_PLAY_SOUND,
//% blockIdentity="control.eventValueId"
MES_ALERT_EVT_VIBRATE_ = MES_ALERT_EVT_VIBRATE,
//% blockIdentity="control.eventValueId"
MES_CAMERA_EVT_LAUNCH_PHOTO_MODE_ = MES_CAMERA_EVT_LAUNCH_PHOTO_MODE,
//% blockIdentity="control.eventValueId"
MES_CAMERA_EVT_LAUNCH_VIDEO_MODE_ = MES_CAMERA_EVT_LAUNCH_VIDEO_MODE,
//% blockIdentity="control.eventValueId"
MES_CAMERA_EVT_START_VIDEO_CAPTURE_ = MES_CAMERA_EVT_START_VIDEO_CAPTURE,
//% blockIdentity="control.eventValueId"
MES_CAMERA_EVT_STOP_PHOTO_MODE_ = MES_CAMERA_EVT_STOP_PHOTO_MODE,
//% blockIdentity="control.eventValueId"
MES_CAMERA_EVT_STOP_VIDEO_CAPTURE_ = MES_CAMERA_EVT_STOP_VIDEO_CAPTURE,
//% blockIdentity="control.eventValueId"
MES_CAMERA_EVT_STOP_VIDEO_MODE_ = MES_CAMERA_EVT_STOP_VIDEO_MODE,
//% blockIdentity="control.eventValueId"
MES_CAMERA_EVT_TAKE_PHOTO_ = MES_CAMERA_EVT_TAKE_PHOTO,
//% blockIdentity="control.eventValueId"
MES_CAMERA_EVT_TOGGLE_FRONT_REAR_ = MES_CAMERA_EVT_TOGGLE_FRONT_REAR,
//% blockIdentity="control.eventValueId"
MES_DEVICE_DISPLAY_OFF_ = MES_DEVICE_DISPLAY_OFF,
//% blockIdentity="control.eventValueId"
MES_DEVICE_DISPLAY_ON_ = MES_DEVICE_DISPLAY_ON,
//% blockIdentity="control.eventValueId"
MES_DEVICE_GESTURE_DEVICE_SHAKEN_ = MES_DEVICE_GESTURE_DEVICE_SHAKEN,
//% blockIdentity="control.eventValueId"
MES_DEVICE_INCOMING_CALL_ = MES_DEVICE_INCOMING_CALL,
//% blockIdentity="control.eventValueId"
MES_DEVICE_INCOMING_MESSAGE_ = MES_DEVICE_INCOMING_MESSAGE,
//% blockIdentity="control.eventValueId"
MES_DEVICE_ORIENTATION_LANDSCAPE_ = MES_DEVICE_ORIENTATION_LANDSCAPE,
//% blockIdentity="control.eventValueId"
MES_DEVICE_ORIENTATION_PORTRAIT_ = MES_DEVICE_ORIENTATION_PORTRAIT,
//% blockIdentity="control.eventValueId"
MES_DPAD_BUTTON_1_DOWN_ = MES_DPAD_BUTTON_1_DOWN,
//% blockIdentity="control.eventValueId"
MES_DPAD_BUTTON_1_UP_ = MES_DPAD_BUTTON_1_UP,
//% blockIdentity="control.eventValueId"
MES_DPAD_BUTTON_2_DOWN_ = MES_DPAD_BUTTON_2_DOWN,
//% blockIdentity="control.eventValueId"
MES_DPAD_BUTTON_2_UP_ = MES_DPAD_BUTTON_2_UP,
//% blockIdentity="control.eventValueId"
MES_DPAD_BUTTON_3_DOWN_ = MES_DPAD_BUTTON_3_DOWN,
//% blockIdentity="control.eventValueId"
MES_DPAD_BUTTON_3_UP_ = MES_DPAD_BUTTON_3_UP,
//% blockIdentity="control.eventValueId"
MES_DPAD_BUTTON_4_DOWN_ = MES_DPAD_BUTTON_4_DOWN,
//% blockIdentity="control.eventValueId"
MES_DPAD_BUTTON_4_UP_ = MES_DPAD_BUTTON_4_UP,
//% blockIdentity="control.eventValueId"
MES_DPAD_BUTTON_A_DOWN_ = MES_DPAD_BUTTON_A_DOWN,
//% blockIdentity="control.eventValueId"
MES_DPAD_BUTTON_A_UP_ = MES_DPAD_BUTTON_A_UP,
//% blockIdentity="control.eventValueId"
MES_DPAD_BUTTON_B_DOWN_ = MES_DPAD_BUTTON_B_DOWN,
//% blockIdentity="control.eventValueId"
MES_DPAD_BUTTON_B_UP_ = MES_DPAD_BUTTON_B_UP,
//% blockIdentity="control.eventValueId"
MES_DPAD_BUTTON_C_DOWN_ = MES_DPAD_BUTTON_C_DOWN,
//% blockIdentity="control.eventValueId"
MES_DPAD_BUTTON_C_UP_ = MES_DPAD_BUTTON_C_UP,
//% blockIdentity="control.eventValueId"
MES_DPAD_BUTTON_D_DOWN_ = MES_DPAD_BUTTON_D_DOWN,
//% blockIdentity="control.eventValueId"
MES_DPAD_BUTTON_D_UP_ = MES_DPAD_BUTTON_D_UP,
//% blockIdentity="control.eventValueId"
MES_REMOTE_CONTROL_EVT_FORWARD_ = MES_REMOTE_CONTROL_EVT_FORWARD,
//% blockIdentity="control.eventValueId"
MES_REMOTE_CONTROL_EVT_NEXTTRACK_ = MES_REMOTE_CONTROL_EVT_NEXTTRACK,
//% blockIdentity="control.eventValueId"
MES_REMOTE_CONTROL_EVT_PAUSE_ = MES_REMOTE_CONTROL_EVT_PAUSE,
//% blockIdentity="control.eventValueId"
MES_REMOTE_CONTROL_EVT_PLAY_ = MES_REMOTE_CONTROL_EVT_PLAY,
//% blockIdentity="control.eventValueId"
MES_REMOTE_CONTROL_EVT_PREVTRACK_ = MES_REMOTE_CONTROL_EVT_PREVTRACK,
//% blockIdentity="control.eventValueId"
MES_REMOTE_CONTROL_EVT_REWIND_ = MES_REMOTE_CONTROL_EVT_REWIND,
//% blockIdentity="control.eventValueId"
MES_REMOTE_CONTROL_EVT_STOP_ = MES_REMOTE_CONTROL_EVT_STOP,
//% blockIdentity="control.eventValueId"
MES_REMOTE_CONTROL_EVT_VOLUMEDOWN_ = MES_REMOTE_CONTROL_EVT_VOLUMEDOWN,
//% blockIdentity="control.eventValueId"
MES_REMOTE_CONTROL_EVT_VOLUMEUP_ = MES_REMOTE_CONTROL_EVT_VOLUMEUP,
};
//% weight=1 color="#333333"
//% advanced=true
namespace control {
void fiberDone(void *a)
{
decr((Action)a);
release_fiber();
}
/**
* Schedules code that run in the background.
*/
//% help=control/in-background blockAllowMultiple=1
//% blockId="control_in_background" block="run in background" blockGap=8
void inBackground(Action a) {
runInBackground(a);
}
/**
* Resets the BBC micro:bit.
*/
//% weight=30 async help=control/reset blockGap=8
//% blockId="control_reset" block="reset"
void reset() {
microbit_reset();
}
/**
* Blocks the current fiber for the given microseconds
* @param micros number of micro-seconds to wait. eg: 4
*/
//% help=control/wait-micros weight=29
//% blockId="control_wait_us" block="wait (µs)%micros"
void waitMicros(int micros) {
wait_us(micros);
}
/**
* Raises an event in the event bus.
* @param src ID of the MicroBit Component that generated the event e.g. MICROBIT_ID_BUTTON_A.
* @param value Component specific code indicating the cause of the event.
* @param mode optional definition of how the event should be processed after construction (default is CREATE_AND_FIRE).
*/
//% weight=21 blockGap=12 blockId="control_raise_event" block="raise event|from source %src=control_event_source_id|with value %value=control_event_value_id" blockExternalInputs=1
//% mode.defl=CREATE_AND_FIRE
void raiseEvent(int src, int value, EventCreationMode mode) {
MicroBitEvent evt(src, value, (MicroBitEventLaunchMode)mode);
}
/**
* Raises an event in the event bus.
*/
//% weight=20 blockGap=8 blockId="control_on_event" block="on event|from %src=control_event_source_id|with value %value=control_event_value_id"
//% blockExternalInputs=1
void onEvent(int src, int value, Action handler) {
registerWithDal(src, value, handler);
}
/**
* Gets the value of the last event executed on the bus
*/
//% blockId=control_event_value" block="event value"
//% weight=18
int eventValue() {
return pxt::lastEvent.value;
}
/**
* Gets the timestamp of the last event executed on the bus
*/
//% blockId=control_event_timestamp" block="event timestamp"
//% weight=19 blockGap=8
int eventTimestamp() {
return pxt::lastEvent.timestamp;
}
/**
* Gets a friendly name for the device derived from the its serial number
*/
//% blockId="control_device_name" block="device name" weight=10 blockGap=8
//% advanced=true
StringData* deviceName() {
return ManagedString(microbit_friendly_name()).leakData();
}
/**
* Derive a unique, consistent serial number of this device from internal data.
*/
//% blockId="control_device_serial_number" block="device serial number" weight=9
//% advanced=true
int deviceSerialNumber() {
return microbit_serial_number();
}
}
| [
"awiruththong@hotmail.com"
] | awiruththong@hotmail.com |
cb02d5179474123385744b99a08ea1715b93d6c5 | a78d53ec6493ea5336f627c4b00d68b016aafc12 | /arrays/3sum.cpp | f0d14cd5207235f46dac585f6fb025356b5a0796 | [] | no_license | nancysolanki/AdvanceCPPquestions | daa11062a009dc74803c3c19b296506024290c1c | b2ebe6211f629e408bce7c9f200b44223e607753 | refs/heads/main | 2023-07-16T06:14:12.477995 | 2021-08-23T12:25:15 | 2021-08-23T12:25:15 | 329,592,056 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,234 | cpp | #include<vector>
class Solution {
public:
vector<vector<int>> threeSum(vector<int>& nums)
{
sort(nums.begin(),nums.end());
int si,ei;
vector<vector<int>> ans;
si=0;
ei=nums.size()-1;
for (int i=0; i<nums.size(); i++)
{
if ((i>0) && (nums[i]==nums[i-1]))
continue;
si=i+1;
ei=nums.size()-1;
while(si<ei)
{ vector<int>res(3,0);
int sum=nums[i]+nums[si]+nums[ei];
if(sum>0)
{
ei--;
}
if(sum<0)
{
si++;
}
if (sum==0)
{
res[0]=nums[i];
res[1]=nums[si];
res[2]=nums[ei];
ans.push_back(res);
while(si<ei and nums[si]==nums[si+1])si++;
while(si<ei and nums[ei]==nums[ei-1])ei--;
si++;ei--;
}
}
}
return ans;
}
};
| [
"noreply@github.com"
] | noreply@github.com |
74f5121e80d19302f1dc7ab999a1a71e46dbbbed | 4ff722357152a9fa9cb6811ee6f5e3f5fd6dc105 | /src/postoken.cpp | 8717ae899239e6ceca532abefceeeff3e0d1d1f1 | [
"MIT"
] | permissive | ozmode/eos-pos-token | eb47a31bc92b5f940eebcca9ae593c2e4e3e1c30 | 2f5df10210e3f0222acb70ed42b4bb44f08287ce | refs/heads/master | 2022-01-18T19:50:40.264872 | 2019-07-12T10:50:43 | 2019-07-12T10:50:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,082 | cpp | #include <postoken.hpp>
#include <cmath>
void postoken::create( name issuer,
asset maximum_supply )
{
require_auth( _self );
auto sym = maximum_supply.symbol;
check( sym.is_valid(), "invalid symbol name" );
check( maximum_supply.is_valid(), "invalid supply");
check( maximum_supply.amount > 0, "max-supply must be positive");
stats statstable( _self, sym.code().raw() );
auto existing = statstable.find( sym.code().raw() );
check( existing == statstable.end(), "token with symbol already exists" );
statstable.emplace( _self, [&]( auto& s ) {
s.supply.symbol = maximum_supply.symbol;
s.max_supply = maximum_supply;
s.issuer = issuer;
s.min_coin_age = s.max_coin_age = s.stake_start_time = 0;
});
}
void postoken::issue( name to, asset quantity, string memo )
{
auto sym = quantity.symbol;
check( sym.is_valid(), "invalid symbol name" );
check( memo.size() <= 256, "memo has more than 256 bytes" );
stats statstable( _self, sym.code().raw() );
auto existing = statstable.find( sym.code().raw() );
check( existing != statstable.end(), "token with symbol does not exist, create token before issue" );
const auto& st = *existing;
require_auth( st.issuer );
check( quantity.is_valid(), "invalid quantity" );
check( quantity.amount > 0, "must issue positive quantity" );
check( quantity.symbol == st.supply.symbol, "symbol precision mismatch" );
check( quantity.amount <= st.max_supply.amount - st.supply.amount, "quantity exceeds available supply");
statstable.modify( st, same_payer, [&]( auto& s ) {
s.supply += quantity;
});
add_balance( st.issuer, quantity, st.issuer );
if( to != st.issuer ) {
SEND_INLINE_ACTION( *this, transfer, { {st.issuer, "active"_n} },
{ st.issuer, to, quantity, memo }
);
}
}
void postoken::retire( asset quantity, string memo )
{
auto sym = quantity.symbol;
check( sym.is_valid(), "invalid symbol name" );
check( memo.size() <= 256, "memo has more than 256 bytes" );
stats statstable( _self, sym.code().raw() );
auto existing = statstable.find( sym.code().raw() );
check( existing != statstable.end(), "token with symbol does not exist" );
const auto& st = *existing;
require_auth( st.issuer );
check( quantity.is_valid(), "invalid quantity" );
check( quantity.amount > 0, "must retire positive quantity" );
check( quantity.symbol == st.supply.symbol, "symbol precision mismatch" );
statstable.modify( st, same_payer, [&]( auto& s ) {
s.supply -= quantity;
});
sub_balance( st.issuer, quantity, st.issuer );
}
void postoken::transfer( name from,
name to,
asset quantity,
string memo )
{
check( from != to, "cannot transfer to self" );
require_auth( from );
check( is_account( to ), "to account does not exist");
auto sym = quantity.symbol.code();
stats statstable( _self, sym.raw() );
const auto& st = statstable.get( sym.raw() );
require_recipient( from );
require_recipient( to );
check( quantity.is_valid(), "invalid quantity" );
check( quantity.amount > 0, "must transfer positive quantity" );
check( quantity.symbol == st.supply.symbol, "symbol precision mismatch" );
check( memo.size() <= 256, "memo has more than 256 bytes" );
auto payer = has_auth( to ) ? to : from;
sub_balance( from, quantity, from );
add_balance( to, quantity, payer );
}
void postoken::mint(const name& account, const symbol_code& sym_code) {
require_auth(account);
stats statstable( _self, sym_code.raw() );
const auto& st = statstable.get( sym_code.raw() );
auto curr_time = now();
symbol sym = st.max_supply.symbol;
check(st.stake_start_time < curr_time, "Can't mint before stake start time");
// Determine interest rate
asset interest_rate = get_interest_rate(st, curr_time);
check(interest_rate.amount > 0, "Nothing to claim: 0 interest rate");
// Determine coin age
transfer_ins tr_table(_self, account.value);
auto index = tr_table.get_index<"symbol"_n>();
auto itr = index.require_find(sym_code.raw(), "Nothing to claim");
asset coin_age(0, sym);
asset balance(0, sym);
for ( ; itr != index.end() && itr->quantity.symbol == sym; itr++ ) {
uint32_t start_time = std::max(st.stake_start_time, itr->time);
uint32_t age = epoch_to_days(curr_time - start_time);
balance += itr->quantity;
if( age >= st.min_coin_age ) {
age = std::min(static_cast<uint32_t>(st.max_coin_age), age);
coin_age += itr->quantity * age;
}
}
// Calculate resulting reward
asset m = asset(static_cast<uint64_t>(std::pow(10, coin_age.symbol.precision())), sym);
asset reward = (coin_age.amount * interest_rate) / (365 * m).amount;
check(reward.amount > 0, "Nothing to claim");
// Issue new tokens
asset rem = st.max_supply - st.supply;
check(rem.amount > 0, "Max supply reached");
if( rem < reward )
reward = rem;
statstable.modify(st, same_payer, [&](currency_stats& st) {
st.supply += reward;
});
add_balance(account, reward, account);
// Update transferins
erase_transferins(index, sym);
tr_table.emplace(account, [&](transfer_in& tr) {
tr.id = tr_table.available_primary_key();
tr.quantity = balance + reward;
tr.time = curr_time;
});
}
asset postoken::get_interest_rate(const currency_stats& stats, uint32_t epoch_time) {
asset interest_rate(0, stats.max_supply.symbol);
uint32_t years_passed = epoch_to_days(epoch_time - stats.stake_start_time) / 365;
uint16_t y = 0;
for( const interest_t& rate : stats.anual_interests ) {
if( rate.years + y > years_passed || rate.years == 0 ) {
interest_rate = rate.interest_rate;
break;
}
y += rate.years;
}
return interest_rate;
}
void postoken::sub_balance( name owner, asset value, name ram_payer ) {
accounts from_acnts( _self, owner.value );
auto sym_code = value.symbol.code();
const auto& from = from_acnts.get( sym_code.raw(), "no balance object found" );
check( from.balance.amount >= value.amount, "overdrawn balance" );
from_acnts.modify( from, owner, [&]( auto& a ) {
a.balance -= value;
});
// Replace all transfer ins with a new one
// Could take up time in case of a lot of transfer ins, but this could be solved easily by claiming first
// Transaction exceeding tie limit can be a kind of a warning to the user that there might be a lot of stuff to claim
transfer_ins transfers(_self, owner.value);
auto index = transfers.get_index<"symbol"_n>();
erase_transferins(index, value.symbol);
if( from.balance.amount > 0 ) {
transfers.emplace(ram_payer, [&](transfer_in& tr) {
tr.id = transfers.available_primary_key();
tr.quantity = from.balance;
tr.time = now();
});
}
}
void postoken::add_balance( name owner, asset value, name ram_payer )
{
accounts to_acnts( _self, owner.value );
auto to = to_acnts.find( value.symbol.code().raw() );
if( to == to_acnts.end() ) {
to_acnts.emplace( ram_payer, [&]( auto& a ){
a.balance = value;
});
} else {
to_acnts.modify( to, same_payer, [&]( auto& a ) {
a.balance += value;
});
}
transfer_ins transfers(_self, owner.value);
transfers.emplace(ram_payer, [&](transfer_in& tr) {
tr.id = transfers.available_primary_key();
tr.quantity = value;
tr.time = now();
});
}
void postoken::open( name owner, const symbol& symbol, name ram_payer )
{
require_auth( ram_payer );
auto sym_code_raw = symbol.code().raw();
stats statstable( _self, sym_code_raw );
const auto& st = statstable.get( sym_code_raw, "symbol does not exist" );
check( st.supply.symbol == symbol, "symbol precision mismatch" );
accounts acnts( _self, owner.value );
auto it = acnts.find( sym_code_raw );
if( it == acnts.end() ) {
acnts.emplace( ram_payer, [&]( auto& a ){
a.balance = asset{0, symbol};
});
}
}
void postoken::close( name owner, const symbol& symbol )
{
require_auth( owner );
accounts acnts( _self, owner.value );
auto it = acnts.find( symbol.code().raw() );
check( it != acnts.end(), "Balance row already deleted or never existed. Action won't have any effect." );
check( it->balance.amount == 0, "Cannot close because the balance is not zero." );
acnts.erase( it );
}
void postoken::setstakespec(const timestamp_t stake_start_time,
const uint16_t min_coin_age, const uint16_t max_coin_age,
const std::vector<interest_t>& anual_interests) {
check(anual_interests.size() > 0, "You have to specify interest rates");
symbol sym = anual_interests[0].interest_rate.symbol;
symbol_code sym_code = sym.code();
stats statstable(_self, sym_code.raw());
auto st_it = statstable.require_find(sym_code.raw(), "Token with this symbol does not exist");
require_auth(st_it->issuer);
check(st_it->max_supply.symbol == sym, "Invalid token precision");
for( const interest_t& i : anual_interests )
check(i.interest_rate.symbol == sym, "All anual interest rates have to have the same symbol");
uint32_t curr_time = now();
check(st_it->stake_start_time < curr_time, "Staking has already started");
check(stake_start_time >= curr_time, "stake_start_time cannot be in the past");
check(max_coin_age > 0, "Coin age cannot be 0");
check(min_coin_age <= max_coin_age, "min_coin_age cannot be greater than max_coin_age");
statstable.modify(st_it, _self, [&](currency_stats& st) {
st.stake_start_time = stake_start_time;
st.min_coin_age = min_coin_age;
st.max_coin_age = max_coin_age;
st.anual_interests = anual_interests;
});
} | [
"vtadas25@gmail.com"
] | vtadas25@gmail.com |
cbfb8b766d8fd4c890488ce1f4d1cb091d87ae8b | 3009edfc1058865cd3873f6791503137d238dbfc | /结果/第一次数据结构作业结果/source/1602/expr.cpp | e3a4abfdf2ca2f76f72c0f7a7764f0155fb8a52c | [] | no_license | Ynjxsjmh/DataStructureAssignment | 1477faf125aea02f5ac01b504a712127fe0b7bc4 | 92a4964c73fbcadd320d9cbfbd522204a6b32be8 | refs/heads/master | 2020-04-16T23:31:46.021240 | 2019-01-16T09:47:44 | 2019-01-16T09:47:44 | 166,014,833 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,705 | cpp | #include<stdio.h>
#define key 0
struct sign2
{
char c[100];
int top;
sign2(){top = 0; c[0] = '+';}
void pushh(char b){c[++top] = b;}
char popp(void){return c[top--];}
char peek(void){return c[top];}
};
template <class T>
struct sign1
{
T c[100];
T top;
sign1(){top = -1;}
void pushh(int b){c[++top] = b;}
T popp(void){return c[top--];}
T peek(void){return c[top];}
};
sign1<int> n;
sign1<char> f;
void cul(void)
{
if(n.top <= 0 || f.peek() == '(')return;
//if(key)printf("\n##%d\n", n.top);
int a, b, c;
char s;
b = n.popp();
a = n.popp();
s = f.popp();
if(key) printf("\n##### s:%c a:%d b:%d ",f.peek(), a, b);
switch(s)
{
case '+': c = a + b;if(f.peek() == '-')c = 0 - c;break;
case '-': c = a - b;if(f.peek() == '-')c = 0 - c;break;
case '*': c = a * b;break;
case '/': c = a / b;break;
case '%': c = a % b;break;
case '^': c = a ^ b;break;
}
if(key)printf("\n$@$@$ %d %d %c %d = %d\n", n.top, a, s, b, c);
n.pushh(c);
}
char a[1000];
int main(void)
{
freopen("expr.in", "r", stdin);
freopen("expr.out", "w", stdout);
f.c[0] = '+';
f.top = 0;
char s, b = '*';
scanf("%s", a);
if(key)printf("%s\n", a);
// printf("%c\n",a[0]);
// printf("%s\n", a);
int i = 0;
s = a[i];
while(s != '=')
{
// if(key)printf("\ns:%c\n", s);
if(f.top >= 0)b = f.peek();
// if(key)printf("\n@ b:%c\n",b);
switch(s)
{
case '+': while(n.top > 0 && f.peek() != '(')cul(); f.pushh(s); break;
case '-': while(n.top > 0 && f.peek() != '(')cul(); f.pushh(s); break;
//感觉这两个是错误的,考虑 栈里面有东西,那么无论如何 + — 都不能入栈,
//因为入栈的条件是当前操作符的优先级大于栈顶符号,所以 + - 不能直接入栈
case '*': if(b != '+' && b != '-')cul(); f.pushh(s); break;
case '/': if(b != '+' && b != '-')cul(); f.pushh(s); break;
case '^': f.pushh(s); break;
case '%': if(b == '^')cul(); f.pushh(s); break;
case '(': f.pushh(s); break;
case ')': while(f.peek() != '(') cul(); f.popp();break;
}
if(s <= '9' && s >= '0')
{
int x = s - '0';
while(a[++i] <= '9' && a[i] >= '0')
x = x * 10 + (a[i] - '0');
// if(key)printf(" ## %d $ ", x);
n.pushh(x);
s = a[i];
}
else s = a[++i];
// if(key)printf("%c", s);
}
while(n.top > 0)
cul();
printf("%d", n.popp());
return 0;
}
| [
"ynjxsjmh@gmail.com"
] | ynjxsjmh@gmail.com |
74f0f2a4f0428b877ccffa66fe02d71f47877b7a | 1adc25f654bc28f4461ceec0b51e31ae169891f1 | /10.4.cpp | f021d4f3ef21c65bcca4ed1d68cd28cfbe6217ab | [] | no_license | Yar4ik000/CMC-MSU-4-semester | 901f8a4c4b683eaef945cdc5f90a4a084a8b2c55 | 3034530b9be40d8dde9968c0f815bdb9db7c9dea | refs/heads/master | 2023-05-31T23:09:06.386346 | 2021-06-22T21:59:39 | 2021-06-22T21:59:39 | 363,672,340 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 682 | cpp | #include <iostream>
void X(int n, int m);
void Y(int m);
void S(int n, int m);
void S(int n, int m) {
std::cout << 'a';
X(n - 1, m);
std::cout << 'd';
}
void X(int n, int m) {
if (n) {
std::cout << 'a';
X(n - 1, m);
std::cout << 'd';
} else {
std::cout << 'b';
Y(m - 1);
std::cout << 'c';
}
}
void Y(int m) {
if (m) {
std::cout << 'b';
Y(m - 1);
std::cout << 'c';
}
}
int main() {
int k;
std::cin >> k;
if (k % 2 || k < 4) {
return 0;
}
for (int i = k / 2 - 1; i >= 1; --i) {
S(i, k / 2 - i);
std::cout << std::endl;
}
} | [
"Yari2012-Yarik@mail.ru"
] | Yari2012-Yarik@mail.ru |
2d41e736d2a2f0e4005290bcf6d7053a741b6a9f | 8afb5afd38548c631f6f9536846039ef6cb297b9 | /MY_REPOS/misc-experiments/_FIREBFIRE/firebase-cpp-sdk/database/src/desktop/database_desktop.cc | 44c67f10911e49504e003181ef2ee2f9d6d338d4 | [
"Apache-2.0",
"LicenseRef-scancode-proprietary-license",
"MIT"
] | permissive | bgoonz/UsefulResourceRepo2.0 | d87588ffd668bb498f7787b896cc7b20d83ce0ad | 2cb4b45dd14a230aa0e800042e893f8dfb23beda | refs/heads/master | 2023-03-17T01:22:05.254751 | 2022-08-11T03:18:22 | 2022-08-11T03:18:22 | 382,628,698 | 10 | 12 | MIT | 2022-10-10T14:13:54 | 2021-07-03T13:58:52 | null | UTF-8 | C++ | false | false | 10,019 | cc | // Copyright 2017 Google LLC
//
// 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 "database/src/desktop/database_desktop.h"
#include <memory>
#include <queue>
#include <stack>
#include "app/memory/shared_ptr.h"
#include "app/src/app_common.h"
#include "app/src/assert.h"
#include "app/src/function_registry.h"
#include "app/src/include/firebase/app.h"
#include "app/src/include/firebase/future.h"
#include "app/src/reference_counted_future_impl.h"
#include "app/src/variant_util.h"
#include "database/src/desktop/core/indexed_variant.h"
#include "database/src/desktop/data_snapshot_desktop.h"
#include "database/src/desktop/database_reference_desktop.h"
#include "database/src/desktop/mutable_data_desktop.h"
#include "database/src/desktop/util_desktop.h"
#include "database/src/include/firebase/database/common.h"
#include "database/src/include/firebase/database/database_reference.h"
namespace firebase {
using callback::NewCallback;
namespace database {
namespace internal {
Mutex g_database_reference_constructor_mutex; // NOLINT
SingleValueListener::SingleValueListener(DatabaseInternal* database,
const QuerySpec& query_spec,
ReferenceCountedFutureImpl* future,
SafeFutureHandle<DataSnapshot> handle)
: database_(database),
query_spec_(query_spec),
future_(future),
handle_(handle) {}
SingleValueListener::~SingleValueListener() {}
void SingleValueListener::OnValueChanged(const DataSnapshot& snapshot) {
future_->CompleteWithResult<DataSnapshot>(handle_, kErrorNone, "", snapshot);
}
void SingleValueListener::OnCancelled(const Error& error_code,
const char* error_message) {
future_->Complete(handle_, error_code, error_message);
}
DatabaseInternal::DatabaseInternal(App* app)
: DatabaseInternal(app, app ? app->options().database_url() : "") {
constructor_url_ = std::string();
}
DatabaseInternal::DatabaseInternal(App* app, const char* url)
: app_(app),
future_manager_(),
cleanup_(),
database_url_(url),
constructor_url_(url),
logger_(app_common::FindAppLoggerByName(app->name())),
repo_(nullptr) {
assert(app);
assert(url);
// Spin up the token auto-update thread in Auth.
app_->function_registry()->CallFunction(
::firebase::internal::FnAuthStartTokenListener, app_, nullptr, nullptr);
}
DatabaseInternal::~DatabaseInternal() {
cleanup_.CleanupAll();
// If initialization failed, there is nothing to clean up.
if (app_ == nullptr) return;
app_->function_registry()->CallFunction(
::firebase::internal::FnAuthStopTokenListener, app_, nullptr, nullptr);
}
App* DatabaseInternal::GetApp() { return app_; }
DatabaseReference DatabaseInternal::GetReference() {
EnsureRepo();
return DatabaseReference(new DatabaseReferenceInternal(
const_cast<DatabaseInternal*>(this), Path()));
}
DatabaseReference DatabaseInternal::GetReference(const char* path) {
EnsureRepo();
return DatabaseReference(new DatabaseReferenceInternal(
const_cast<DatabaseInternal*>(this), Path(path)));
}
DatabaseReference DatabaseInternal::GetReferenceFromUrl(const char* url) {
EnsureRepo();
ParseUrl parser;
auto result = parser.Parse(url);
if (parser.Parse(url) != ParseUrl::kParseOk) {
logger_.LogError("Url is not valid: %s", url);
}
if (result != ParseUrl::kParseOk) {
return DatabaseReference();
}
connection::HostInfo host_info(parser.hostname.c_str(), parser.ns.c_str(),
parser.secure);
if (host_info.ToString() != database_url()) {
logger_.LogError(
"The hostname of this url (%s) is different from the database url "
"(%s)",
url, database_url());
return DatabaseReference();
}
return DatabaseReference(new DatabaseReferenceInternal(
const_cast<DatabaseInternal*>(this), Path(parser.path)));
}
void DatabaseInternal::GoOffline() {
EnsureRepo();
Repo::scheduler().Schedule(NewCallback(
[](Repo::ThisRef ref) {
Repo::ThisRefLock lock(&ref);
if (lock.GetReference() != nullptr) {
lock.GetReference()->connection()->Interrupt();
}
},
repo_->this_ref()));
}
void DatabaseInternal::GoOnline() {
EnsureRepo();
Repo::scheduler().Schedule(NewCallback(
[](Repo::ThisRef ref) {
Repo::ThisRefLock lock(&ref);
if (lock.GetReference() != nullptr) {
lock.GetReference()->connection()->Resume();
}
},
repo_->this_ref()));
}
void DatabaseInternal::PurgeOutstandingWrites() {
EnsureRepo();
Repo::scheduler().Schedule(NewCallback(
[](Repo::ThisRef ref) {
Repo::ThisRefLock lock(&ref);
if (lock.GetReference() != nullptr) {
lock.GetReference()->PurgeOutstandingWrites();
}
},
repo_->this_ref()));
}
static std::string* g_sdk_version = nullptr;
const char* DatabaseInternal::GetSdkVersion() {
if (g_sdk_version == nullptr) {
g_sdk_version = new std::string("Firebase Realtime Database 0.0.1");
}
return g_sdk_version->c_str();
}
void DatabaseInternal::SetPersistenceEnabled(bool enabled) {
MutexLock lock(repo_mutex_);
// Only set persistence if the repo has not yet been initialized.
if (!repo_) {
persistence_enabled_ = enabled;
}
}
void DatabaseInternal::set_log_level(LogLevel log_level) {
logger_.SetLogLevel(log_level);
}
LogLevel DatabaseInternal::log_level() const { return logger_.GetLogLevel(); }
bool DatabaseInternal::RegisterValueListener(
const internal::QuerySpec& spec, ValueListener* listener,
ValueListenerCleanupData cleanup_data) {
MutexLock lock(listener_mutex_);
if (value_listeners_by_query_.Register(spec, listener)) {
auto found = cleanup_value_listener_lookup_.find(listener);
if (found == cleanup_value_listener_lookup_.end()) {
cleanup_value_listener_lookup_.insert(
std::make_pair(listener, std::move(cleanup_data)));
}
return true;
}
return false;
}
bool DatabaseInternal::UnregisterValueListener(const internal::QuerySpec& spec,
ValueListener* listener) {
EventRegistration* registration =
ActiveEventRegistration(spec, (void*)listener);
if (registration) {
registration->set_status(EventRegistration::kRemoved);
}
MutexLock lock(listener_mutex_);
if (value_listeners_by_query_.Unregister(spec, listener)) {
auto found = cleanup_value_listener_lookup_.find(listener);
if (found != cleanup_value_listener_lookup_.end()) {
// ValueListenerCleanupData& cleanup_data = found->second;
cleanup_value_listener_lookup_.erase(found);
}
return true;
}
return false;
}
void DatabaseInternal::UnregisterAllValueListeners(
const internal::QuerySpec& spec) {
std::vector<ValueListener*> listeners;
if (value_listeners_by_query_.Get(spec, &listeners)) {
for (ValueListener* listener : listeners) {
UnregisterValueListener(spec, listener);
}
}
}
bool DatabaseInternal::RegisterChildListener(
const internal::QuerySpec& spec, ChildListener* listener,
ChildListenerCleanupData cleanup_data) {
MutexLock lock(listener_mutex_);
if (child_listeners_by_query_.Register(spec, listener)) {
auto found = cleanup_child_listener_lookup_.find(listener);
if (found == cleanup_child_listener_lookup_.end()) {
cleanup_child_listener_lookup_.insert(
std::make_pair(listener, std::move(cleanup_data)));
}
return true;
}
return false;
}
bool DatabaseInternal::UnregisterChildListener(const internal::QuerySpec& spec,
ChildListener* listener) {
MutexLock lock(listener_mutex_);
if (child_listeners_by_query_.Unregister(spec, listener)) {
auto found = cleanup_child_listener_lookup_.find(listener);
if (found != cleanup_child_listener_lookup_.end()) {
cleanup_child_listener_lookup_.erase(found);
}
return true;
}
return false;
}
void DatabaseInternal::UnregisterAllChildListeners(
const internal::QuerySpec& spec) {
std::vector<ChildListener*> listeners;
if (child_listeners_by_query_.Get(spec, &listeners)) {
for (ChildListener* listener : listeners) {
UnregisterChildListener(spec, listener);
}
}
}
void DatabaseInternal::AddEventRegistration(
const QuerySpec& query_spec, void* listener_ptr,
EventRegistration* event_registration) {
event_registration_lookup_[query_spec][listener_ptr].push_back(
event_registration);
}
EventRegistration* DatabaseInternal::ActiveEventRegistration(
const QuerySpec& query_spec, void* listener_ptr) {
auto* listener_registration_map =
MapGet(&event_registration_lookup_, query_spec);
if (!listener_registration_map) {
return nullptr;
}
auto* registration_vector = MapGet(listener_registration_map, listener_ptr);
if (!registration_vector) {
return nullptr;
}
for (auto* registration : *registration_vector) {
if (registration->status() == EventRegistration::kActive) {
return registration;
}
}
return nullptr;
}
void DatabaseInternal::EnsureRepo() {
MutexLock lock(repo_mutex_);
if (!repo_) {
repo_ = MakeUnique<Repo>(app_, this, database_url_.c_str(), &logger_,
persistence_enabled_);
}
}
} // namespace internal
} // namespace database
} // namespace firebase
| [
"bryan.guner@gmail.com"
] | bryan.guner@gmail.com |
b7b3228b31bf393baf25bbaef1d42f544d135497 | b0b7ddd9a2b0262ccd9665dc8294e32e87ba8922 | /690. Employee Importance.cpp | 2ea745acd0ef37c3e380ff6277efdc0d0753ac7c | [] | no_license | Deepakku28/Leetcode | c05e5cd96f89bf01f861d4b9b6a2a9747e9f04fc | ebf0f33728a2f799ccdc511be0d6b189672c6967 | refs/heads/main | 2023-03-23T09:50:44.304893 | 2021-03-23T12:53:19 | 2021-03-23T12:53:19 | 331,519,375 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 562 | cpp | /*
// Definition for Employee.
class Employee {
public:
int id;
int importance;
vector<int> subordinates;
};
*/
class Solution {
public:
void dfs(int id,int &sum,map<int,Employee*> &mp){
sum+=mp[id]->importance;
for(auto it:mp[id]->subordinates){
dfs(it,sum,mp);
}
}
int getImportance(vector<Employee*> employees, int id){
map<int,Employee*> mp;
for(auto it:employees){
mp[it->id]=it;
}
int sum=0;
dfs(id,sum,mp);
return sum;
}
};
| [
"noreply@github.com"
] | noreply@github.com |
b9f772d6a34c64005626ce1139c29abe4d30907c | 81e8f99237a0b948507ccae7e701ddcbb4e95b2b | /BoltThrower/source/Thread.cpp | 81726e30d1b53a9482b9ef4b485a0e1a44105208 | [] | no_license | titmouse001/wii-bolt-thrower | 7455dde1892b55b8070e6e1b5f4ee659c9c1ec28 | 516313528e2090c329ea902c7449b07223a39636 | refs/heads/master | 2021-10-08T09:48:02.545764 | 2021-10-02T18:12:17 | 2021-10-02T18:12:17 | 32,937,262 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,287 | cpp | #include <gccore.h>
#include <string.h>
#include "Util.h"
#include "Singleton.h"
#include "Wiimanager.h"
#include "DEBUG.h"
#include "thread.h"
#include "GameDisplay.h"
static lwpq_t Thread_queue = LWP_TQUEUE_NULL;
static lwp_t h_ThreadControl = LWP_THREAD_NULL;
void* Thread::ThreadCallingFunc(Thread* ptr)
{
return ptr->thread2(&(ptr->m_Data));
}
void* Thread::thread2(ThreadData* ptr)
{
WiiManager& rWiiManager( Singleton<WiiManager>::GetInstanceByRef() );
LWP_InitQueue(&Thread_queue);
ptr->HasStopped = false;
ptr->Runnning = true;
ptr->Message = "";
ptr->PreviousMessage = "";
if (ptr->State == ThreadData::LOADING_TUNE) {
ptr->YposForLoadingTune = 240+128; // display origin is from the screen centre for this this part
ptr->FinalYposForLoadingTune = 0;
ptr->Message = "Loading Tune";
for (int i=0; i<60; i++) {
rWiiManager.GetGameDisplay()->DisplayLoadingTuneMessageForThread(ptr);
Util::SleepForMilisec(5);
}
while (ptr->Runnning) {
rWiiManager.GetGameDisplay()->DisplayLoadingTuneMessageForThread(ptr);
Util::SleepForMilisec(5);
}
ptr->Message = "Now Playing";
ptr->FinalYposForLoadingTune = 240;
for (int i=0; i<60; i++) {
rWiiManager.GetGameDisplay()->DisplayLoadingTuneMessageForThread(ptr);
Util::SleepForMilisec(5);
}
} else {
while (ptr->Runnning) {
rWiiManager.GetGameDisplay()->DisplaySmallSimpleMessageForThread(ptr);
Util::SleepForMilisec(5);
}
}
ptr->HasStopped = true;
return 0;
}
void Thread::Start(ThreadData::ThreadState eState, string Message )
{
m_Data.State = eState;
m_Data.Message = Message;
m_Data.WorkingBytesDownloaded = 0;
if ( LWP_CreateThread( &h_ThreadControl,
(void* (*)(void*))Thread::ThreadCallingFunc,
&m_Data,
NULL,0,70) != -1 ) {
// created
}
else {
// fail
//todo
}
}
void Thread::Stop()
{
if (h_ThreadControl != LWP_THREAD_NULL)
{
m_Data.Runnning = false;
while (!m_Data.HasStopped) {
Util::SleepForMilisec(1);
};
LWP_JoinThread(h_ThreadControl, NULL);
h_ThreadControl = LWP_THREAD_NULL;
if (Thread_queue != LWP_TQUEUE_NULL) {
LWP_CloseQueue(Thread_queue);
Thread_queue = LWP_TQUEUE_NULL;
}
}
}
| [
"titmouse001@gmail.com"
] | titmouse001@gmail.com |
7c30a96d65ec7f3725630b988c705ec1e0b9c996 | f771479669de99f5d15f1856cafaed0be4241b8a | /source/SVk/LowLayer/Texture/SVkOptimalTexture.h | 6550ba558660e052d08e74747ce56eb55a26b822 | [] | no_license | attack51/SweetEngine | 59610aa066689c0c924b4a158e049bd3631c308d | 94352bb2c25803e3755f647377ec14af4dc85a01 | refs/heads/master | 2020-05-17T18:28:30.311920 | 2019-07-03T00:40:09 | 2019-07-03T00:40:09 | 183,884,470 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 661 | h | #pragma once
//SVk Include
#include "SVk/SVkHeader.h"
#include "SVk/LowLayer/Texture/SVkTexture.h"
FORWARD_DECL_UPTR(class, SVkBuffer);
class SVkOptimalTexture : public SVkTexture
{
public:
// Begin public funtions
SVkOptimalTexture(const SVkDevice* device, const CString& filePath, const STextureFileType& fileType);
virtual ~SVkOptimalTexture() override;
// ~End public funtions
protected:
// Begin private funtions
void LoadTexture(const CString& filePath, const STextureFileType& fileType);
virtual void DeInit() override;
// ~End private funtions
protected:
// Begin private fields
// ~End private fields
}; | [
"attack51@gmail.com"
] | attack51@gmail.com |
66aa5339f987fe38acdf01650069292b1eab3a05 | e7a714efae74e9caab510ec7927b5924be141aa9 | /webhook.ino | 7d8be7fe573a9cc62a604aec41d7938682e39220 | [] | no_license | DomDominate/webhook | 865cc7b867bd846d76e94de482f8f5e360e86177 | 062a695990359979a64b23d5483cb461fe0d4701 | refs/heads/main | 2023-04-12T19:56:52.858162 | 2021-04-30T15:54:42 | 2021-04-30T15:54:42 | 363,188,557 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 742 | ino | // This #include statement was automatically added by the Particle IDE.
#include <JsonParserGeneratorRK.h>
// This #include statement was automatically added by the Particle IDE.
#include <Grove_Temperature_And_Humidity_Sensor.h>
#define DHT_PIN D3
DHT dht(DHT_PIN);
double temp;
double hum;
void upload(double temp, double hum)
{
JsonWriterStatic<256> jw;
{
JsonWriterAutoObject obj (&jw);
jw.insertKeyValue("temp",temp);
jw.insertKeyValue("hum",hum);
}
Particle.publish("dht11", jw.getBuffer(), PRIVATE);
}
void setup()
{
dht.begin();
pinMode(DHT_PIN,INPUT);
}
void loop()
{
temp = dht.getTempCelcius();
hum = dht.getHumidity();
upload(temp, hum);
delay(20000);
} | [
"noreply@github.com"
] | noreply@github.com |
53ad14ea31c1ee1b22f8a9644c3597709871e3fb | af57ddbf5b3a5cb8a87ae0ae46f8cf259acdad5b | /project_cpp_n/_common/util_FileManagement.cpp | a56d544dac56bcc71b0199711a4bec53270628c8 | [] | no_license | luciferan/project_litter | c7f53440c93083d1115963d7d0bd5ac6c5a32595 | 55015cda1e67dbdf65b8c286fc1ef804fbf1dcc4 | refs/heads/master | 2020-05-12T18:10:55.611862 | 2019-04-15T17:57:16 | 2019-04-15T17:57:16 | 181,539,927 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,720 | cpp | #include "util_FileManagement.h"
#include "md5.h"
//
int GetFileList(wstring wstrPath, vector<wstring> &vecFileList)
{
HANDLE hFileSearch = INVALID_HANDLE_VALUE;
WIN32_FIND_DATAW wfd;
std::transform(wstrPath.begin(), wstrPath.end(), wstrPath.begin(), towlower);
vecFileList.clear();
//
hFileSearch = FindFirstFileW(wstrPath.c_str(), &wfd);
if( INVALID_HANDLE_VALUE != hFileSearch )
{
do
{
if( FILE_ATTRIBUTE_DIRECTORY & wfd.dwFileAttributes )
{
}
if( FILE_ATTRIBUTE_ARCHIVE & wfd.dwFileAttributes )
{
vecFileList.push_back(wfd.cFileName);
}
} while ( TRUE == FindNextFileW(hFileSearch, &wfd) );
FindClose(hFileSearch);
}
//
return vecFileList.size();
}
int MakeMD5(wstring wstrFilePath, wstring &wstrChecksum)
{
FILE *pFile = nullptr;
md5_byte_t cDigest[16];
memset((void*)&cDigest, 0, sizeof(cDigest));
md5_state_s md5struct;
memset((void*)&md5struct, 0, sizeof(md5struct));
auto nSize = 0;
BYTE byBuffer[1024] = {0,};
auto error = _wfopen_s(&pFile, wstrFilePath.c_str(), L"rb");
if( 0 != error )
{
return error;
}
//
md5_init(&md5struct);
while( 0 != (nSize = fread_s(byBuffer, 1024, 1024, 1, pFile)) )
{
md5_append(&md5struct, (const md5_byte_t*)byBuffer, nSize);
}
md5_finish(&md5struct, cDigest);
fclose(pFile);
pFile = nullptr;
//
wstrChecksum.resize(16 * 2);
for( auto idx = 0; idx < 16; ++idx )
{
swprintf_s(&wstrChecksum[idx * 2], 2, L"%02x", cDigest[idx]);
}
//
return 0;
}
bool CheckMD5(wstring wstrFilePath, wstring wstrChecksum)
{
wstring wstrMakeChecksum = {};
if( 0 != MakeMD5(wstrFilePath, wstrMakeChecksum) )
return false;
if( 0 != wstrMakeChecksum.compare(wstrChecksum) )
return false;
return true;
}
| [
"luciferan@nate.com"
] | luciferan@nate.com |
79c7ebfc6c62acf19db37102123e59a32664215e | 1be698d010665dbccfdcbf9fd24be278dd056737 | /1/week4/firstAttempt/37/memory/memory.h | 48c311588528f82935f31f2b8eaaea53ae3f84c6 | [] | no_license | nilsbr01/cpp | 764b2a6e5957393e482f96b79d6e9350389714d4 | 87664cfe3c7d51e08c330b233d0c61967fe38432 | refs/heads/master | 2020-03-30T01:15:25.004840 | 2019-02-07T19:02:06 | 2019-02-07T19:02:06 | 150,567,122 | 1 | 0 | null | 2018-12-13T12:03:24 | 2018-09-27T10:06:05 | C++ | UTF-8 | C++ | false | false | 321 | h | #ifndef INCLUDED_MEMORY_
#define INCLUDED_MEMORY_
#include <string>
#include <iostream>
#include "../enums.h"
class Memory
{
int d_mem[RAM::SIZE];
public:
Memory();
void store(size_t const &address, int const &value);
int load(size_t const &address);
private:
};
#endif
| [
"h.folkertsma.1@student.rug.nl"
] | h.folkertsma.1@student.rug.nl |
9cd7af788efed36ad0b1a4f40f9064444c2de6b1 | 479bb4756db1b29d745246c121f1a88d34990c20 | /svm_multiple_sonne/src/ofApp.cpp | 4b485fda0a8efaab5a2a9660b75684ee076c2f2c | [] | no_license | AndreasRef/chartCloudFace | 8dbe08a6df374cab3b207cc4b2590ce4cf0a0dcc | 28dd8a4bf06cf0b7b7e29c064552726450882a4d | refs/heads/master | 2020-03-23T05:26:38.221002 | 2018-12-19T05:13:42 | 2018-12-19T05:13:42 | 141,143,590 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,943 | cpp | #include "ofApp.h"
#include "HighScore.h"
using namespace ofxCv;
using namespace cv;
//--------------------------------------------------------------
void ofApp::setup(){
learned_functions = vector<pfunct_type>(2);
// Load SVM data model
dlib::deserialize(ofToDataPath("data_ecstatic_smile.func")) >> learned_functions[0];
dlib::deserialize(ofToDataPath("data_small_smile.func")) >> learned_functions[1];
//Static image + video
//img.load("images/exp6.jpg");
//img.resize(ofGetWidth(),ofGetHeight());
//
video.load("videos/femaleFacialExpressions.mp4");
video.setLoopState(OF_LOOP_NORMAL);
video.setVolume(0);
//video.play();
// Set model path
//ofSetDataPathRoot(ofFile(__BASE_FILE__).getEnclosingDirectory()+"../../model/");
//Print out a list of devices
vector<ofVideoDevice> devices = grabber.listDevices();
for(int i = 0; i < devices.size(); i++){
if(devices[i].bAvailable){
ofLogNotice() << devices[i].id << ": " << devices[i].deviceName;
}else{
ofLogNotice() << devices[i].id << ": " << devices[i].deviceName << " - unavailable ";
}
}
// Setup grabber
grabber.setDeviceID(0);
grabber.setDesiredFrameRate(25);
grabber.setup(1280,720);
// Setup tracker
//tracker.faceDetectorImageSize = 640*360;
tracker.faceDetectorImageSize = 1280*720;
tracker.setup();
//CLAHE
outputImage.allocate(1280, 720, OF_IMAGE_COLOR);
//Have up to 100 faces at a time
bigSmileValues.resize(100);
smallSmileValues.resize(100);
eyeBrows.resize(100);
moods.resize(100);
for (int i = 0; i<smallSmileValues.size();i++) {
smallSmileValues[i].setFc(0.1);
bigSmileValues[i].setFc(0.1);
eyeBrows[i].setFc(0.1);
}
//GUI
trackingResolution.addListener(this, &ofApp::trackingResolutionChanged);
bCameraSettings.addListener(this, &ofApp::eChangeCamera);
gui.setup();
gui.add(claheFilter.setup("CLAHE contrast enhancer", false));
gui.add(clipLimit.setup("CLAHE clipLimit", 10, 0, 30));
gui.add(trackingResolution.setup("hi-res tracking", false));
gui.add(gDeviceId.set("deviceId", ofToString(0)));
gui.add(bCameraSettings.setup("change Camera settings"));
//OSC
sender.setup("localhost", 12000);
faceImgs.resize(100);
storedFaces.resize(6);
ofColor c;
c.set(255,0,0);
for (int i = 0; i<storedFaces.size();i++ ) {
storedFaces[i].resize(100, 100);
storedFaces[i].setColor(c);
}
//OOP
//myHighScore.setup();
faceScaler = ofGetHeight()/10;
}
//--------------------------------------------------------------
void ofApp::trackingResolutionChanged(bool &hiRes){
if (hiRes == false) {
tracker.faceDetectorImageSize = 640*360;
} else if (hiRes == true) {
tracker.faceDetectorImageSize = 960*540;
}
}
//--------------------------------------------------------------
void ofApp::eChangeCamera() {
string msg = "Select camera:";
int idx = 0;
for (auto d : grabber.listDevices()) {
msg += "\n "+ofToString(idx++)+": "+d.deviceName;
}
string selection = ofSystemTextBoxDialog(msg);
if (selection != "") {
int newDeviceId = ofToInt(selection);
grabber.setDeviceID(newDeviceId);
grabber.initGrabber(1280, 720);
gDeviceId.set(ofToString(newDeviceId));
}
}
//--------------------------------------------------------------
void ofApp::update(){
grabber.update();
video.update();
//myHighScore.update();
//tracker.update(video);
//tracker.update(img);
if(grabber.isFrameNew()){
if (claheFilter) { //GUI claheFilter
//CLAHE
cv::Ptr<cv::CLAHE> clahe = cv::createCLAHE();
clahe->setClipLimit(clipLimit);
//Grayscale
ofxCv::copyGray(grabber, greyImg);
// apply the CLAHE algorithm
clahe->apply(greyImg,claheImg);
// convert to ofImage
ofxCv::toOf(claheImg, outputImage);
outputImage.update();
tracker.update(outputImage);
} else {
tracker.update(grabber);
}
varMood = 0;
avgMood = 0;
vector<ofxFaceTracker2Instance> instances = tracker.getInstances();
if (instances.size() == 0) {
return;
}
//Calculate stuff for music demo: nPersons - average mood - variation between moods
float minMood = 1.0;
float maxMood = 0.0;
for (int i = 0; i< tracker.size(); i++) {
//FACEPOSE CALCULATIONS (needed to compensate for faces facing sideways or too much up/down
// initialize variables for pose decomposition
ofVec3f scale, transition;
ofQuaternion rotation, orientation;
// get pose matrix
ofMatrix4x4 p = instances[i].getPoseMatrix();
// decompose the modelview
ofMatrix4x4(p).decompose(transition, rotation, scale, orientation);
// obtain pitch, roll, yaw: //pitch is a good indicator of facing up/down // //yaw is a good indicator of facing sideways
double pitch =
atan2(2*(rotation.y()*rotation.z()+rotation.w()*rotation.x()),rotation.w()*rotation.w()-rotation.x()*rotation.x()-rotation.y()*rotation.y()+rotation.z()*rotation.z());
double roll =
atan2(2*(rotation.x()*rotation.y()+rotation.w()*rotation.z()),rotation.w()*rotation.w()+rotation.x()*rotation.x()-rotation.y()*rotation.y()-rotation.z()*rotation.z());
double yaw =
asin(-2*(rotation.x()*rotation.z()-rotation.w()*rotation.y()));
//SMILES
bigSmileValues[i].update(ofClamp(learned_functions[0](makeSampleID(i))*1.2-abs(yaw)+MIN(0,pitch)*1,0, 1));
smallSmileValues[i].update(ofClamp(learned_functions[1](makeSampleID(i))*1.2-abs(yaw)+MIN(0,pitch)*1,0, 1));
//EYEBROWS + EYES
float eyeBrowInput = ((getGesture(RIGHT_EYEBROW_HEIGHT, i) + getGesture(LEFT_EYEBROW_HEIGHT, i) + getGesture(RIGHT_EYE_OPENNESS, i) + getGesture(LEFT_EYE_OPENNESS, i)) -0.8 - pitch*1.5);
eyeBrowInput = ofClamp(eyeBrowInput, 0.0, 1.0);
eyeBrows[i].update(eyeBrowInput);
float currentSmile = (smallSmileValues[i].value() + bigSmileValues[i].value())/2;
float currentAngry = ofClamp(0.5-eyeBrows[i].value()-currentSmile,0,0.5);
//CALCULATE MOODS + MAX, MIN, VAR & AVG
moods[i] = 0.5 + (ofNoise(ofGetFrameNum()/100.0)-0.5)*0.1 + currentSmile - currentAngry*2;
moods[i] = ofClamp(moods[i], 0, 1);
avgMood+= moods[i];
if (moods[i] >= maxMood) {
maxMood = moods[i];
}
if (moods[i] <= minMood ) {
minMood = moods[i];
}
}
varMood = maxMood - minMood;
avgMood = avgMood/tracker.size();
//Quick rounding
varMood = ofClamp(roundf(varMood * 100) / 100, 0, 1);
avgMood = ofClamp(roundf(avgMood * 100) / 100, 0, 1);
//OSC
ofxOscMessage msg;
msg.setAddress("/wek/outputs");
msg.addFloatArg(tracker.size()/5.0);
msg.addFloatArg(avgMood);
msg.addFloatArg(varMood);
sender.sendMessage(msg, false);
}
}
//--------------------------------------------------------------
void ofApp::draw(){
if (claheFilter) {
outputImage.draw(0,0);
} else {
grabber.draw(0, 0);
}
//img.draw(0,0);
//video.draw(0,0);
tracker.drawDebug();
#ifndef __OPTIMIZE__
ofSetColor(ofColor::red);
ofDrawBitmapString("Warning! Run this app in release mode to get proper performance!",10,60);
ofSetColor(ofColor::white);
#endif
for (int i = 0; i < tracker.size(); i++) {
faceImgs[i].clear();
ofRectangle bb = tracker.getInstances()[i].getBoundingBox();
//Overall mood
ofFill();
ofDrawBitmapStringHighlight("beauty", bb.x-15, bb.y -10 );
ofDrawRectangle(bb.x + 50, bb.y - 25, 100*moods[i], 20);
ofNoFill();
ofDrawRectangle(bb.x + 50, bb.y - 25, 100, 20);
ofFill();
// myImg.setFromPixels(grabber.getPixels());
// myImg.crop(bb.x, bb.y, bb.width, bb.height);
// myImg.resize(100, 100);
faceImgs[i].setFromPixels(grabber.getPixels());
faceImgs[i].crop(bb.x, bb.y, bb.width, bb.height);
faceImgs[i].resize(faceScaler, faceScaler);
//
// faceImgs[i].draw(i*faceScaler +faceScaler, 600);
//faceImgs[i].draw(i*faceScaler +faceScaler, 600);
}
/*
// Draw framerate
ofDrawBitmapStringHighlight("Framerate : "+ofToString(ofGetFrameRate()), 10, 170);
ofDrawBitmapStringHighlight("Tracker thread framerate : "+ofToString(tracker.getThreadFps()), 10, 190);
// Draw tracker resolution
if (trackingResolution == false) {
ofDrawBitmapStringHighlight("Tracker resolution: 640x360", 10, 210);
} else if (trackingResolution == true) {
ofDrawBitmapStringHighlight("Tracker resolution: 960x540", 10, 210);
}
// Draw tracking info
ofDrawBitmapStringHighlight("nPersons: " + ofToString(tracker.size()), 10, 250);
ofDrawBitmapStringHighlight("avgMood: " + ofToString(avgMood), 10, 270);
ofDrawBitmapStringHighlight("varMood: " + ofToString(varMood), 10, 290);
*/
for (int i = 0; i<storedFaces.size();i++ ) {
storedFaces[i].draw(ofGetWidth()-150, i*120);
}
//gui.draw();
//myHighScore.draw();
// for (int i = 0 ; i<highScores.size(); i++) {
// highScores[i].draw(i*(faceScaler+20));
// }
if (highScores.size()>5) {
ofDrawBitmapStringHighlight("3 most beautiful", ofGetWidth()-200, 30);
ofDrawBitmapStringHighlight("3 least beautiful", ofGetWidth()-200, ofGetHeight()/2 + 35);
for (int i = 0 ; i<3; i++) {
highScores[i].draw(i*(faceScaler+30)+50); //Top 3
//highScores[highScores.size()-i-1].draw(ofGetHeight() - i*(faceScaler+30)+50); //Bottom 3
}
for (int i = highScores.size()-3 ; i<highScores.size(); i++) {
highScores[i].draw((i-highScores.size()+3)*(faceScaler+30)+ ofGetHeight()/2 + 50); //Bottom 3
}
}
else {
if (highScores.size()>1) {
ofDrawBitmapStringHighlight(ofToString(highScores.size()) + " most beautiful", ofGetWidth()-200, 30);
} else if (highScores.size()>0) {
ofDrawBitmapStringHighlight("most beautiful", ofGetWidth()-200, 30);
}
for (int i = 0 ; i<highScores.size(); i++) {
highScores[i].draw(i*(faceScaler+30)+50);
}
}
}
//--------------------------------------------------------------
// Function that creates a sample for the classifier containing the mouth and eyes
sample_type ofApp::makeSampleID(int id){
auto outer = tracker.getInstances()[id].getLandmarks().getImageFeature(ofxFaceTracker2Landmarks::OUTER_MOUTH);
auto inner = tracker.getInstances()[id].getLandmarks().getImageFeature(ofxFaceTracker2Landmarks::INNER_MOUTH);
auto lEye = tracker.getInstances()[id].getLandmarks().getImageFeature(ofxFaceTracker2Landmarks::LEFT_EYE);
auto rEye = tracker.getInstances()[id].getLandmarks().getImageFeature(ofxFaceTracker2Landmarks::RIGHT_EYE);
ofVec2f vec = rEye.getCentroid2D() - lEye.getCentroid2D();
float rot = vec.angle(ofVec2f(1,0));
vector<ofVec2f> relativeMouthPoints;
ofVec2f centroid = outer.getCentroid2D();
for(ofVec2f p : outer.getVertices()){
p -= centroid;
p.rotate(rot);
p /= vec.length();
relativeMouthPoints.push_back(p);
}
for(ofVec2f p : inner.getVertices()){
p -= centroid;
p.rotate(rot);
p /= vec.length();
relativeMouthPoints.push_back(p);
}
sample_type s;
for(int i=0;i<20;i++){
s(i*2+0) = relativeMouthPoints[i].x;
s(i*2+1) = relativeMouthPoints[i].y;
}
return s;
}
//--------------------------------------------------------------
float ofApp:: getGesture (Gesture gesture, int id){
if(tracker.size()<1) {
return 0;
}
int start = 0, end = 0;
float compareFloat = 1.0;
switch(gesture) {
case LEFT_EYEBROW_HEIGHT: start = 38; end = 20; // center of the eye to middle of eyebrow
compareFloat = tracker.getInstances()[id].getLandmarks().getImagePoint(33).y - tracker.getInstances()[id].getLandmarks().getImagePoint(27).y;
break;
case RIGHT_EYEBROW_HEIGHT: start = 43; end = 23; // center of the eye to middle of eyebrow
compareFloat = tracker.getInstances()[id].getLandmarks().getImagePoint(33).y - tracker.getInstances()[id].getLandmarks().getImagePoint(27).y;
break;
case LEFT_EYE_OPENNESS: start = 38; end = 40; // upper inner eye to lower outer eye
compareFloat = ofDist(
tracker.getInstances()[id].getLandmarks().getImagePoint(36).x,
tracker.getInstances()[id].getLandmarks().getImagePoint(36).y,
tracker.getInstances()[id].getLandmarks().getImagePoint(39).x,
tracker.getInstances()[id].getLandmarks().getImagePoint(39).y
);
break;
case RIGHT_EYE_OPENNESS: start = 43; end = 47;// upper inner eye to lower outer eye
compareFloat = ofDist(
tracker.getInstances()[id].getLandmarks().getImagePoint(42).x,
tracker.getInstances()[id].getLandmarks().getImagePoint(42).y,
tracker.getInstances()[id].getLandmarks().getImagePoint(45).x,
tracker.getInstances()[id].getLandmarks().getImagePoint(45).y
);
break;
}
float gestureFloat = abs(tracker.getInstances()[id].getLandmarks().getImagePoint(start).y - tracker.getInstances()[id].getLandmarks().getImagePoint(end).y);
return (gestureFloat/compareFloat);
}
//--------------------------------------------------------------
void ofApp::mousePressed(int x, int y, int button){
for (int i = 0; i < tracker.size(); i++) {
faceImgs[i].clear();
ofRectangle bb = tracker.getInstances()[i].getBoundingBox();
faceImgs[i].setFromPixels(grabber.getPixels());
faceImgs[i].crop(bb.x, bb.y, bb.width, bb.height);
faceImgs[i].resize(faceScaler, faceScaler);
}
for (int i = 0; i < tracker.size(); i++) {
HighScore tempHighScore;
tempHighScore.setup(faceImgs[i], moods[i]);
highScores.push_back(tempHighScore);
}
ofSort(highScores, my_compare);
}
//--------------------------------------------------------------
static bool my_compare(HighScore &a, HighScore &b){
return a.score > b.score;
}
| [
"andreasrefsgaard@hotmail.com"
] | andreasrefsgaard@hotmail.com |
268307dffca61310313444a306b9f73ebe9472dd | 6247777e38b1015b848c177b9b43d9ab4123cca8 | /test/search.cpp | fd31dc290a74fdfa7845ad79fe0c01b78d99c992 | [
"MIT"
] | permissive | feserafim/gecode | f8287439e74cb168c7a7c7fdbb78103a4fec5b9b | 760bf24f1fecd2f261f6e9c1391e80467015fdf4 | refs/heads/master | 2021-01-11T16:05:54.829564 | 2012-06-16T17:17:38 | 2012-06-16T17:17:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,034 | cpp | /* -*- mode: C++; c-basic-offset: 2; indent-tabs-mode: nil -*- */
/*
* Main authors:
* Christian Schulte <schulte@gecode.org>
*
* Copyright:
* Christian Schulte, 2008
*
* Last modified:
* $Date: 2010-10-09 20:58:12 +0900 (土, 09 10 2010) $ by $Author: schulte $
* $Revision: 11498 $
*
* This file is part of Gecode, the generic constraint
* development environment:
* http://www.gecode.org
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
* permit persons to whom the Software is furnished to do so, subject to
* the following conditions:
*
* The above copyright notice and this permission notice shall be
* included in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*
*/
#include <gecode/minimodel.hh>
#include <gecode/search.hh>
#include "test/test.hh"
namespace Test {
/// Tests for search engines
namespace Search {
using namespace Gecode;
using namespace Gecode::Int;
/// Values for selecting branchers
enum HowToBranch {
HTB_NONE, ///< Do not branch
HTB_UNARY, ///< Branch with single alternative
HTB_BINARY, ///< Branch with two alternatives
HTB_NARY ///< Branch with many alternatives
};
/// Values for selecting how to constrain
enum HowToConstrain {
HTC_NONE, ///< Do not constrain
HTC_LEX_LE, ///< Constrain for lexically smallest
HTC_LEX_GR, ///< Constrain for lexically biggest
HTC_BAL_LE, ///< Constrain for smallest balance
HTC_BAL_GR ///< Constrain for largest balance
};
/// Values for selecting models
enum WhichModel {
WM_FAIL_IMMEDIATE, ///< Model that fails immediately
WM_FAIL_SEARCH, ///< Model without solutions
WM_SOLUTIONS ///< Model with solutions
};
/// Space with information
class TestSpace : public Space {
public:
/// Constructor for space creation
TestSpace(void) {}
/// Constructor for cloning \a s
TestSpace(bool share, TestSpace& s) : Space(share,s) {}
/// Return number of solutions
virtual int solutions(void) const = 0;
/// Verify that this is best solution
virtual bool best(void) const = 0;
};
/// Space that immediately fails
class FailImmediate : public TestSpace {
public:
/// Variables used
IntVarArray x;
/// Constructor for space creation
FailImmediate(HowToBranch, HowToBranch, HowToBranch,
HowToConstrain=HTC_NONE)
: x(*this,1,0,0) {
rel(*this, x[0], IRT_EQ, 1);
}
/// Constructor for cloning \a s
FailImmediate(bool share, FailImmediate& s) : TestSpace(share,s) {
x.update(*this, share, s.x);
}
/// Copy during cloning
virtual Space* copy(bool share) {
return new FailImmediate(share,*this);
}
/// Add constraint for next better solution
virtual void constrain(const Space&) {
}
/// Return number of solutions
virtual int solutions(void) const {
return 0;
}
/// Verify that this is best solution
virtual bool best(void) const {
return false;
}
/// Return name
static std::string name(void) {
return "Fail";
}
};
/// Space that requires propagation and has solutions
class HasSolutions : public TestSpace {
public:
/// Variables used
IntVarArray x;
/// How to branch
HowToBranch htb1, htb2, htb3;
/// How to constrain
HowToConstrain htc;
/// Branch on \a x according to \a htb
void branch(const IntVarArgs& x, HowToBranch htb) {
switch (htb) {
case HTB_NONE:
break;
case HTB_UNARY:
assign(*this, x, INT_ASSIGN_MIN);
break;
case HTB_BINARY:
Gecode::branch(*this, x, INT_VAR_NONE, INT_VAL_MIN);
break;
case HTB_NARY:
Gecode::branch(*this, x, INT_VAR_NONE, INT_VALUES_MIN);
break;
}
}
/// Constructor for space creation
HasSolutions(HowToBranch _htb1, HowToBranch _htb2, HowToBranch _htb3,
HowToConstrain _htc=HTC_NONE)
: x(*this,6,0,5), htb1(_htb1), htb2(_htb2), htb3(_htb3), htc(_htc) {
distinct(*this, x);
rel(*this, x[2], IRT_LQ, 3); rel(*this, x[3], IRT_LQ, 3);
rel(*this, x[4], IRT_LQ, 1); rel(*this, x[5], IRT_LQ, 1);
IntVarArgs x1(2); x1[0]=x[0]; x1[1]=x[1]; branch(x1, htb1);
IntVarArgs x2(2); x2[0]=x[2]; x2[1]=x[3]; branch(x2, htb2);
IntVarArgs x3(2); x3[0]=x[4]; x3[1]=x[5]; branch(x3, htb3);
}
/// Constructor for cloning \a s
HasSolutions(bool share, HasSolutions& s)
: TestSpace(share,s),
htb1(s.htb1), htb2(s.htb2), htb3(s.htb3), htc(s.htc) {
x.update(*this, share, s.x);
}
/// Copy during cloning
virtual Space* copy(bool share) {
return new HasSolutions(share,*this);
}
/// Add constraint for next better solution
virtual void constrain(const Space& _s) {
const HasSolutions& s = static_cast<const HasSolutions&>(_s);
switch (htc) {
case HTC_NONE:
break;
case HTC_LEX_LE:
case HTC_LEX_GR:
{
IntVarArgs y(6);
for (int i=0; i<6; i++)
y[i] = IntVar(*this, s.x[i].val(), s.x[i].val());
lex(*this, x, (htc == HTC_LEX_LE) ? IRT_LE : IRT_GR, y);
break;
}
case HTC_BAL_LE:
case HTC_BAL_GR:
{
IntVarArgs y(6);
for (int i=0; i<6; i++)
y[i] = IntVar(*this, s.x[i].val(), s.x[i].val());
IntVar xs(*this, -18, 18);
IntVar ys(*this, -18, 18);
rel(*this, x[0]+x[1]+x[2]-x[3]-x[4]-x[5] == xs);
rel(*this, y[0]+y[1]+y[2]-y[3]-y[4]-y[5] == ys);
rel(*this,
expr(*this,abs(xs)),
(htc == HTC_BAL_LE) ? IRT_LE : IRT_GR,
expr(*this,abs(ys)));
break;
}
}
}
/// Return number of solutions
virtual int solutions(void) const {
if (htb1 == HTB_NONE) {
assert((htb2 == HTB_NONE) && (htb3 == HTB_NONE));
return 1;
}
if ((htb1 == HTB_UNARY) || (htb2 == HTB_UNARY))
return 0;
if (htb3 == HTB_UNARY)
return 4;
return 8;
}
/// Verify that this is best solution
virtual bool best(void) const {
if ((htb1 == HTB_NONE) || (htb2 == HTB_NONE) || (htb3 == HTB_NONE) ||
(htb1 == HTB_UNARY) || (htb2 == HTB_UNARY) || (htb3 == HTB_UNARY))
return true;
switch (htc) {
case HTC_NONE:
return true;
case HTC_LEX_LE:
return ((x[0].val()==4) && (x[1].val()==5) &&
(x[2].val()==2) && (x[3].val()==3) &&
(x[4].val()==0) && (x[5].val()==1));
case HTC_LEX_GR:
return ((x[0].val()==5) && (x[1].val()==4) &&
(x[2].val()==3) && (x[3].val()==2) &&
(x[4].val()==1) && (x[5].val()==0));
case HTC_BAL_LE:
return ((x[0].val()==4) && (x[1].val()==5) &&
(x[2].val()==2) && (x[3].val()==3) &&
(x[4].val()==0) && (x[5].val()==1));
case HTC_BAL_GR:
return ((x[0].val()==4) && (x[1].val()==5) &&
(x[2].val()==3) && (x[3].val()==2) &&
(x[4].val()==0) && (x[5].val()==1));
default: GECODE_NEVER;
}
return false;
}
/// Return name
static std::string name(void) {
return "Sol";
}
};
/// %Base class for search tests
class Test : public Base {
public:
/// How to branch
HowToBranch htb1, htb2, htb3;
/// How to constrain
HowToConstrain htc;
/// Map unsigned integer to string
static std::string str(unsigned int i) {
std::stringstream s;
s << i;
return s.str();
}
/// Map branching to string
static std::string str(HowToBranch htb) {
switch (htb) {
case HTB_NONE: return "None";
case HTB_UNARY: return "Unary";
case HTB_BINARY: return "Binary";
case HTB_NARY: return "Nary";
default: GECODE_NEVER;
}
GECODE_NEVER;
return "";
}
/// Map constrain to string
static std::string str(HowToConstrain htc) {
switch (htc) {
case HTC_NONE: return "None";
case HTC_LEX_LE: return "LexLe";
case HTC_LEX_GR: return "LexGr";
case HTC_BAL_LE: return "BalLe";
case HTC_BAL_GR: return "BalGr";
default: GECODE_NEVER;
}
GECODE_NEVER;
return "";
}
/// Initialize test
Test(const std::string& s,
HowToBranch _htb1, HowToBranch _htb2, HowToBranch _htb3,
HowToConstrain _htc=HTC_NONE)
: Base("Search::"+s),
htb1(_htb1), htb2(_htb2), htb3(_htb3), htc(_htc) {}
};
/// %Test for depth-first search
template<class Model>
class DFS : public Test {
private:
/// Minimal recomputation distance
unsigned int c_d;
/// Adaptive recomputation distance
unsigned int a_d;
/// Number of threads
unsigned int t;
public:
/// Initialize test
DFS(HowToBranch htb1, HowToBranch htb2, HowToBranch htb3,
unsigned int c_d0, unsigned int a_d0, unsigned int t0)
: Test("DFS::"+Model::name()+"::"+
str(htb1)+"::"+str(htb2)+"::"+str(htb3)+"::"+
str(c_d0)+"::"+str(a_d0)+"::"+str(t0),
htb1,htb2,htb3), c_d(c_d0), a_d(a_d0), t(t0) {}
/// Run test
virtual bool run(void) {
Model* m = new Model(htb1,htb2,htb3);
Gecode::Search::FailStop f(2);
Gecode::Search::Options o;
o.c_d = c_d;
o.a_d = a_d;
o.threads = t;
o.stop = &f;
Gecode::DFS<Model> dfs(m,o);
int n = m->solutions();
delete m;
while (true) {
Model* s = dfs.next();
if (s != NULL) {
n--; delete s;
}
if ((s == NULL) && !dfs.stopped())
break;
f.limit(f.limit()+2);
}
return n == 0;
}
};
/// %Test for best solution search
template<class Model, template<class> class Engine>
class Best : public Test {
private:
/// Minimal recomputation distance
unsigned int c_d;
/// Adaptive recomputation distance
unsigned int a_d;
/// Number of threads
unsigned int t;
public:
/// Initialize test
Best(const std::string& b, HowToConstrain htc,
HowToBranch htb1, HowToBranch htb2, HowToBranch htb3,
unsigned int c_d0, unsigned int a_d0, unsigned int t0)
: Test(b+"::"+Model::name()+"::"+str(htc)+"::"+
str(htb1)+"::"+str(htb2)+"::"+str(htb3)+"::"+
str(c_d0)+"::"+str(a_d0)+"::"+str(t0),
htb1,htb2,htb3,htc), c_d(c_d0), a_d(a_d0), t(t0) {}
/// Run test
virtual bool run(void) {
Model* m = new Model(htb1,htb2,htb3,htc);
Gecode::Search::FailStop f(2);
Gecode::Search::Options o;
o.c_d = c_d;
o.a_d = a_d;
o.threads = t;
o.stop = &f;
Engine<Model> best(m,o);
delete m;
Model* b = NULL;
while (true) {
Model* s = best.next();
if (s != NULL) {
delete b; b=s;
}
if ((s == NULL) && !best.stopped())
break;
f.limit(f.limit()+2);
}
bool ok = (b == NULL) || b->best();
delete b;
return ok;
}
};
/// Iterator for branching types
class BranchTypes {
private:
/// Array of branching types
static const HowToBranch htbs[3];
/// Current position in branching type array
int i;
public:
/// Initialize iterator
BranchTypes(void) : i(0) {}
/// Test whether iterator is done
bool operator()(void) const {
return i<3;
}
/// Increment to next branching type
void operator++(void) {
i++;
}
/// Return current branching type
HowToBranch htb(void) const {
return htbs[i];
}
};
const HowToBranch BranchTypes::htbs[3] = {HTB_UNARY, HTB_BINARY, HTB_NARY};
/// Iterator for constrain types
class ConstrainTypes {
private:
/// Array of constrain types
static const HowToConstrain htcs[4];
/// Current position in constrain type array
int i;
public:
/// Initialize iterator
ConstrainTypes(void) : i(0) {}
/// Test whether iterator is done
bool operator()(void) const {
return i<4;
}
/// Increment to next constrain type
void operator++(void) {
i++;
}
/// Return current constrain type
HowToConstrain htc(void) const {
return htcs[i];
}
};
const HowToConstrain ConstrainTypes::htcs[4] =
{HTC_LEX_LE, HTC_LEX_GR, HTC_BAL_LE, HTC_BAL_GR};
/// Help class to create and register tests
class Create {
public:
/// Perform creation and registration
Create(void) {
// Depth-first search
for (unsigned int t = 1; t<=4; t++)
for (unsigned int c_d = 1; c_d<10; c_d++)
for (unsigned int a_d = 1; a_d<=c_d; a_d++) {
for (BranchTypes htb1; htb1(); ++htb1)
for (BranchTypes htb2; htb2(); ++htb2)
for (BranchTypes htb3; htb3(); ++htb3)
(void) new DFS<HasSolutions>(htb1.htb(),htb2.htb(),htb3.htb(),
c_d, a_d, t);
new DFS<FailImmediate>(HTB_NONE, HTB_NONE, HTB_NONE,
c_d, a_d, t);
new DFS<HasSolutions>(HTB_NONE, HTB_NONE, HTB_NONE,
c_d, a_d, t);
}
// Best solution search
for (unsigned int t = 1; t<=4; t++)
for (unsigned int c_d = 1; c_d<10; c_d++)
for (unsigned int a_d = 1; a_d<=c_d; a_d++) {
for (ConstrainTypes htc; htc(); ++htc)
for (BranchTypes htb1; htb1(); ++htb1)
for (BranchTypes htb2; htb2(); ++htb2)
for (BranchTypes htb3; htb3(); ++htb3) {
(void) new Best<HasSolutions,BAB>
("BAB",htc.htc(),htb1.htb(),htb2.htb(),htb3.htb(),
c_d,a_d,t);
(void) new Best<HasSolutions,Restart>
("Restart",htc.htc(),htb1.htb(),htb2.htb(),htb3.htb(),
c_d,a_d,t);
}
(void) new Best<FailImmediate,BAB>
("BAB",HTC_NONE,HTB_NONE,HTB_NONE,HTB_NONE,c_d,a_d,t);
(void) new Best<HasSolutions,BAB>
("BAB",HTC_NONE,HTB_NONE,HTB_NONE,HTB_NONE,c_d,a_d,t);
}
}
};
Create c;
}
}
// STATISTICS: test-search
| [
"kenhys@gmail.com"
] | kenhys@gmail.com |
12eab4fa561bf87838438cdd2b62fa2f12b6de67 | 52609bcf627de0513b27daf4497987b3611c1829 | /Platform/AppSetting.cpp | fad35845f3734634eb8f11875d5fa7d4138bc5f5 | [
"MIT"
] | permissive | wang-shun/startalk_pc_v2 | 6bc0138834f4be382ac8958cd4f5c90501f2cb68 | 77f93cd4bacdfeb933bc1782a16cf1852d7e1703 | refs/heads/master | 2020-08-09T10:09:49.799177 | 2019-08-22T08:22:41 | 2019-08-22T08:22:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,162 | cpp | //
// Created by admin on 2019-02-22.
//
#include "AppSetting.h"
#include "../QtUtil/lib/cjson/cJSON.h"
#include "../QtUtil/lib/cjson/cJSON_inc.h"
AppSetting* AppSetting::_appSetting = nullptr;
AppSetting::AppSetting()
: _newMsgAudioNotify(true)
, _newMsgTipWindowNotify(true)
, _phoneAnyReceive(false)
, _openWithAppBrowser(true)
, _hotCutEnable(true)
, _sessionShowTopAndUnread(false) //会话列表紧显示未读和置顶
, _sessionListLimitEnable(false) //是否开启会话列表加载的会话数
, _sessionListLimit(false) //会话列表最大会话数
, _sendMsgType(AppSetting::SendMsgKey::Enter) //发送消息类型
, _sessionAutoRecover(false) //是否开启会话自动回收
, _sessionAutoRecoverCount(500) //同时存在的会话数
, _msgHistoryLimitEnable(false) //是否开启会话框消息条数限制
, _msgHistoryLimit(500) //会话框历史消息条数
, _msgFontSetEnable(false) //是否开启消息字号设置
, _msgFontSize(AppSetting::MsgFontSize::Normal) //字号
, _leaveCheckEnable(false)
, _leaveMinute(5)
, _autoReplyMsg("不在办公室")
, _addFriendMode(AppSetting::AddFriendMode::AllAgree)
, _themeMode(1)
, _autoStartUp(false) // 开机自启动
, _exitMainClose(false) // 关闭会话框,退出程序
, _groupDestroyNotify(true) // 群组销毁提示
, _shockWindow(true) // 窗口震动
, _recordLogEnable(false) // 是否记录日志
, _escCloseMain(false) // ESC是否退出主窗口
, _showGroupMembers(true) // 是否展示群成员列表
, _switchChatScrollToBottom(false) //切换会话是否滚动到最低下
, _autoLoginEnable(false) // 是否自动登录
,_openOaWithAppBrowser(true)
,_screentShotHideWndFlag(false)
,_showSendMessageBtn(false)
,_strongWarn(true)
,_showMoodFlag(true)
,_autoReplyPreset(true)
{
}
void AppSetting::initAppSetting(const std::string& setting)
{
cJSON* obj = cJSON_Parse(setting.data());
if (obj)
{
std::lock_guard<QTalk::util::spin_mutex> lock(sm);
_newMsgAudioNotify = (bool)QTalk::JSON::cJSON_SafeGetBoolValue(obj, "NEWMSGAUDIO", _newMsgAudioNotify);
_newMsgAudioPath = QTalk::JSON::cJSON_SafeGetStringValue(obj, "NEWMSGAUDIOPATH", _newMsgAudioPath.data());
_newMsgTipWindowNotify = (bool)QTalk::JSON::cJSON_SafeGetBoolValue(obj, "NEWMSGTIPWINDOW", _newMsgTipWindowNotify);
_screenshotKey = QTalk::JSON::cJSON_SafeGetStringValue(obj, "SCREENSHOT", _screenshotKey.data());
_wakeWndKey = QTalk::JSON::cJSON_SafeGetStringValue(obj, "WAKEWND", _wakeWndKey.data());
_openWithAppBrowser = (bool)QTalk::JSON::cJSON_SafeGetBoolValue(obj, "OPENWITHAPPBROWSER", _openWithAppBrowser);
_openOaWithAppBrowser = (bool)QTalk::JSON::cJSON_SafeGetBoolValue(obj, "OPENOAWITHAPPBROWSER", _openOaWithAppBrowser);
_screentShotHideWndFlag = (bool)QTalk::JSON::cJSON_SafeGetBoolValue(obj, "SCREENTSHOTHIDEWNDFLAG", _screentShotHideWndFlag);
_showSendMessageBtn = (bool)QTalk::JSON::cJSON_SafeGetBoolValue(obj, "SHOWSENDMESSAGEBTN", _showSendMessageBtn);
_strongWarn = (bool)QTalk::JSON::cJSON_SafeGetBoolValue(obj, "STRONGWARN", _strongWarn);
_hotCutEnable = (bool)QTalk::JSON::cJSON_SafeGetBoolValue(obj, "HOTCUTENABLE", _hotCutEnable);
_sendMessageKey = QTalk::JSON::cJSON_SafeGetStringValue(obj, "SENDMESSAGEKEY", "Enter");
_showMoodFlag = (bool)QTalk::JSON::cJSON_SafeGetBoolValue(obj, "SHOWMOODFLAG", true);
_autoStartUp = (bool)QTalk::JSON::cJSON_SafeGetBoolValue(obj, "AUTOSTARTUP", false);
_leaveCheckEnable = (bool)QTalk::JSON::cJSON_SafeGetBoolValue(obj, "LEAVECHECKENABLE", false);
_autoReplyPreset = (bool)QTalk::JSON::cJSON_SafeGetBoolValue(obj, "AUTOREPLYPRESET", true);
_autoReplyMsg = QTalk::JSON::cJSON_SafeGetStringValue(obj, "AUTOREPLYMSG");
_autoReplyCusMsg = QTalk::JSON::cJSON_SafeGetStringValue(obj, "AUTOREPLYCUSMSG");
_leaveMinute = QTalk::JSON::cJSON_SafeGetIntValue(obj, "LEAVEMINUTE", 5);
cJSON_Delete(obj);
}
}
AppSetting & AppSetting::instance()
{
if (nullptr == _appSetting)
{
static AppSetting appSetting;
_appSetting = &appSetting;
}
return *_appSetting;
}
// 消息通知
bool AppSetting::getNewMsgAudioNotify() {
std::lock_guard<QTalk::util::spin_mutex> lock(sm);
return _newMsgAudioNotify;
} //新消息声音提醒
void AppSetting::setNewMsgAudioNotify(bool flag) {
std::lock_guard<QTalk::util::spin_mutex> lock(sm);
_newMsgAudioNotify = flag;
}
std::string AppSetting::getgetNewMsgAudioPath()
{
return _newMsgAudioPath;
}
void AppSetting::setgetNewMsgAudioPath(const std::string & path)
{
_newMsgAudioPath = path;
}
bool AppSetting::getNewMsgTipWindowNotify() {
std::lock_guard<QTalk::util::spin_mutex> lock(sm);
return _newMsgTipWindowNotify;
} //新消息提示窗
void AppSetting::setNewMsgTipWindowNotify(bool flag) {
std::lock_guard<QTalk::util::spin_mutex> lock(sm);
_newMsgTipWindowNotify = flag;
}
bool AppSetting::getPhoneAnyReceive() {
std::lock_guard<QTalk::util::spin_mutex> lock(sm);
return _phoneAnyReceive;
} //手机端随时接收推送
void AppSetting::setPhoneAnyReceive(bool flag) {
std::lock_guard<QTalk::util::spin_mutex> lock(sm);
_phoneAnyReceive = flag;
}
void AppSetting::setStrongWarnFlag(bool flag)
{
std::lock_guard<QTalk::util::spin_mutex> lock(sm);
_strongWarn = flag;
}
bool AppSetting::getStrongWarnFlag()
{
std::lock_guard<QTalk::util::spin_mutex> lock(sm);
return _strongWarn;
}
// 热键设置
bool AppSetting::getHotCutEnable() {
std::lock_guard<QTalk::util::spin_mutex> lock(sm);
return _hotCutEnable;
} //热键是否开启
void AppSetting::setHotCutEnable(bool flag) {
std::lock_guard<QTalk::util::spin_mutex> lock(sm);
_hotCutEnable = flag;
}
std::string AppSetting::getScreenshotHotKey() {
std::lock_guard<QTalk::util::spin_mutex> lock(sm);
return _screenshotKey;
} //截图快捷键
void AppSetting::setScreenshotHotKey(const std::string& hotKey) {
std::lock_guard<QTalk::util::spin_mutex> lock(sm);
_screenshotKey = hotKey;
}
std::string AppSetting::getWakeWndHotKey() {
std::lock_guard<QTalk::util::spin_mutex> lock(sm);
return _wakeWndKey;
}
void AppSetting::setWakeWndHotKey(const std::string& hotKey) {
std::lock_guard<QTalk::util::spin_mutex> lock(sm);
_wakeWndKey = hotKey;
}
int AppSetting::getSearchUserFlag() {
return _searchUserFlag;
} //搜索快捷键
void AppSetting::setSearchUserFlag(int flagValue) {
_searchUserFlag = flagValue;
}
int AppSetting::getSearchUserKey() {
return _searchUserKey;
}
void AppSetting::setSearchUserKey(int keyValue) {
_searchUserKey = keyValue;
}
// 会话设置
bool AppSetting::getSessionShowTopAndUnread() {
return _sessionShowTopAndUnread;
} //会话列表紧显示未读和置顶
void AppSetting::setSessionShowTopAndUnread(bool flag) {
_sessionShowTopAndUnread = flag;
}
bool AppSetting::getSessionListLimitEnable() {
return _sessionListLimitEnable;
} //是否开启会话列表加载的会话数
void AppSetting::setSessionListLimitEnable(bool flag) {
_sessionListLimitEnable = flag;
}
int AppSetting::getSessionListLimit() {
return _sessionListLimit;
} //会话列表最大会话数
void AppSetting::setSessionListLimit(int limit){
_sessionListLimit = limit;
}
AppSetting::SendMsgKey AppSetting::getSendMsgType() {
return _sendMsgType;
} //发送消息类型
void AppSetting::setSendMsgType(AppSetting::SendMsgKey key) {
_sendMsgType = key;
}
bool AppSetting::getSessionAutoRecover() {
return _sessionAutoRecover;
} //是否开启会话自动回收
void AppSetting::setSessionAutoRecover(bool flag) {
_sessionAutoRecover = flag;
}
int AppSetting::getSessionAutoRecoverCount() {
return _sessionAutoRecoverCount;
} //同时存在的会话数
void AppSetting::setSessionAutoRecoverCount(int count) {
_sessionAutoRecoverCount = count;
}
bool AppSetting::getMsgHistoryLimitEnable() {
return _msgHistoryLimitEnable;
} //是否开启会话框消息条数限制
void AppSetting::setMsgHistoryLimitEnable(bool flag) {
_msgHistoryLimitEnable = flag;
}
int AppSetting::getMsgHistoryLimit() {
return _msgHistoryLimit;
} //会话框历史消息条数
void AppSetting::setMsgHistoryLimit(int limit) {
_msgHistoryLimit = limit;
}
bool AppSetting::getMsgFontSetEnable() {
return _msgFontSetEnable;
} //是否开启消息字号设置
void AppSetting::setMsgFontSetEnable(bool flag) {
_msgFontSetEnable = flag;
}
AppSetting::MsgFontSize AppSetting::getMsgFontSize() {
return _msgFontSize;
} //字号
void AppSetting::setMsgFontSize(AppSetting::MsgFontSize size) {
_msgFontSize = size;
}
// 自动回复
bool AppSetting::getLeaveCheckEnable() {
std::lock_guard<QTalk::util::spin_mutex> lock(sm);
return _leaveCheckEnable;
}
void AppSetting::setLeaveCheckEnable(bool flag) {
std::lock_guard<QTalk::util::spin_mutex> lock(sm);
_leaveCheckEnable = flag;
}
int AppSetting::getLeaveMinute() {
std::lock_guard<QTalk::util::spin_mutex> lock(sm);
return _leaveMinute;
}
void AppSetting::setLeaveMinute(int minute) {
std::lock_guard<QTalk::util::spin_mutex> lock(sm);
_leaveMinute = minute;
}
bool AppSetting::getAutoReplyPreset() {
std::lock_guard<QTalk::util::spin_mutex> lock(sm);
return _autoReplyPreset;
}
void AppSetting::setAutoReplyPreset(bool flag) {
std::lock_guard<QTalk::util::spin_mutex> lock(sm);
_autoReplyPreset = flag;
}
std::string AppSetting::getAutoReplyMsg() {
std::lock_guard<QTalk::util::spin_mutex> lock(sm);
return _autoReplyMsg;
}
void AppSetting::setAutoReplyMsg(std::string msg) {
std::lock_guard<QTalk::util::spin_mutex> lock(sm);
_autoReplyMsg = std::move(msg);
}
std::string AppSetting::getAutoReplyCusMsg() {
std::lock_guard<QTalk::util::spin_mutex> lock(sm);
return _autoReplyCusMsg;
}
void AppSetting::setAutoReplyCusMsg(std::string msg) {
std::lock_guard<QTalk::util::spin_mutex> lock(sm);
_autoReplyCusMsg = std::move(msg);
}
// 文件目录
std::string AppSetting::getUserDirectory() {
std::lock_guard<QTalk::util::spin_mutex> lock(sm);
return _userDirectory;
}
void AppSetting::setUserDirectory(const std::string& userDirectory) {
std::lock_guard<QTalk::util::spin_mutex> lock(sm);
_userDirectory = userDirectory;
}
std::string AppSetting::getFileSaveDirectory() {
std::lock_guard<QTalk::util::spin_mutex> lock(sm);
return _fileSaveDirectory;
}
void AppSetting::setFileSaveDirectory(const std::string& fileSaveDirectory) {
std::lock_guard<QTalk::util::spin_mutex> lock(sm);
_fileSaveDirectory = fileSaveDirectory;
}
// 好友权限
AppSetting::AddFriendMode AppSetting::getAddFriendMode() {
return _addFriendMode;
}
void AppSetting::setAddFriendMode(AddFriendMode mode) {
_addFriendMode = mode;
}
std::string AppSetting::getQuestion() {
return _question;
}
void AppSetting::setQuestion(std::string question) {
_question = question;
}
std::string AppSetting::getAnswer() {
return _answer;
}
void AppSetting::setAnswer(std::string answer) {
_answer = answer;
}
// 皮肤设置
int AppSetting::getThemeMode() {
std::lock_guard<QTalk::util::spin_mutex> lock(sm);
return _themeMode;
}
void AppSetting::setThemeMode(int mode) {
std::lock_guard<QTalk::util::spin_mutex> lock(sm);
_themeMode = mode;
}
std::string AppSetting::getFont() {
std::lock_guard<QTalk::util::spin_mutex> lock(sm);
return _font;
}
void AppSetting::setFont(const std::string& font) {
std::lock_guard<QTalk::util::spin_mutex> lock(sm);
_font = font;
}
// 其他设置
bool AppSetting::getSelfStart() {
std::lock_guard<QTalk::util::spin_mutex> lock(sm);
return _autoStartUp;
}
// 开机自启动
void AppSetting::setSelfStart(bool flag) {
std::lock_guard<QTalk::util::spin_mutex> lock(sm);
_autoStartUp = flag;
}
//
void AppSetting::setLogLevel(int level)
{
std::lock_guard<QTalk::util::spin_mutex> lock(sm);
_logLevel = level;
}
//
int AppSetting::getLogLevel()
{
std::lock_guard<QTalk::util::spin_mutex> lock(sm);
return _logLevel;
}
bool AppSetting::getExitMainClose() {
return _exitMainClose;
} // 关闭会话框,退出程序
void AppSetting::setExitMainClose(bool flag) {
_exitMainClose = flag;
}
bool AppSetting::getGroupDestroyNotify() {
return _groupDestroyNotify;
} // 群组销毁提示
void AppSetting::setGroupDestroyNotify(bool flag) {
_groupDestroyNotify = flag;
}
bool AppSetting::getShockWindow() {
return _shockWindow;
} // 窗口震动
void AppSetting::setShockWindow(bool flag) {
_shockWindow = flag;
}
bool AppSetting::getRecordLogEnable() {
return _recordLogEnable;
} // 是否记录日志
void AppSetting::setRecordLogEnable(bool flag) {
_recordLogEnable = flag;
}
bool AppSetting::getESCCloseMain() {
return _escCloseMain;
} // ESC是否退出主窗口
void AppSetting::setESCCloseMain(bool flag) {
_escCloseMain = flag;
}
bool AppSetting::getShowGroupMembers() {
return _showGroupMembers;
} // 是否展示群成员列表
void AppSetting::setShowGroupMembers(bool flag) {
_showGroupMembers = flag;
}
bool AppSetting::getSwitchChatScrollToBottom() {
return _switchChatScrollToBottom;
} //切换会话是否滚动到最低下
void AppSetting::setSwitchChatScrollToBottom(bool flag) {
_switchChatScrollToBottom = flag;
}
bool AppSetting::getAutoLoginEnable() {
std::lock_guard<QTalk::util::spin_mutex> lock(sm);
return _autoLoginEnable;
} // 是否自动登录
void AppSetting::setAutoLoginEnable(bool flag) {
std::lock_guard<QTalk::util::spin_mutex> lock(sm);
_autoLoginEnable = flag;
}
bool AppSetting::getOpenLinkWithAppBrowser()
{
std::lock_guard<QTalk::util::spin_mutex> lock(sm);
return _openWithAppBrowser;
}
void AppSetting::setOpenLinkWithAppBrowser(bool flag) {
std::lock_guard<QTalk::util::spin_mutex> lock(sm);
_openWithAppBrowser = flag;
}
bool AppSetting::getOpenOaLinkWithAppBrowser() {
std::lock_guard<QTalk::util::spin_mutex> lock(sm);
return _openOaWithAppBrowser;
}
void AppSetting::setOpenOaLinkWithAppBrowser(bool flag) {
std::lock_guard<QTalk::util::spin_mutex> lock(sm);
_openOaWithAppBrowser = flag;
}
void AppSetting::setScreentShotHideWndFlag(bool hide) {
std::lock_guard<QTalk::util::spin_mutex> lock(sm);
_screentShotHideWndFlag = hide;
}
bool AppSetting::getScreentShotHideWndFlag() {
std::lock_guard<QTalk::util::spin_mutex> lock(sm);
return _screentShotHideWndFlag;
}
void AppSetting::setShowSendMessageBtnFlag(bool flag) {
std::lock_guard<QTalk::util::spin_mutex> lock(sm);
_showSendMessageBtn = flag;
}
bool AppSetting::getShowSendMessageBtnFlag() {
std::lock_guard<QTalk::util::spin_mutex> lock(sm);
return _showSendMessageBtn;
}
void AppSetting::setSendMessageKey(std::string key)
{
std::lock_guard<QTalk::util::spin_mutex> lock(sm);
_sendMessageKey = std::move(key);
}
std::string AppSetting::getSendMessageKey()
{
std::lock_guard<QTalk::util::spin_mutex> lock(sm);
return _sendMessageKey;
}
void AppSetting::setShowMoodFlag(bool flag)
{
std::lock_guard<QTalk::util::spin_mutex> lock(sm);
_showMoodFlag = flag;
}
bool AppSetting::getShowMoodFlag() {
std::lock_guard<QTalk::util::spin_mutex> lock(sm);
return _showMoodFlag;
}
/**
*
* @return
*/
std::string AppSetting::saveAppSetting() {
std::string ret;
std::lock_guard<QTalk::util::spin_mutex> lock(sm);
cJSON* obj = cJSON_CreateObject();
cJSON_AddBoolToObject(obj, "NEWMSGAUDIO", _newMsgAudioNotify);
cJSON_AddStringToObject(obj, "NEWMSGAUDIOPATH", _newMsgAudioPath.data());
cJSON_AddBoolToObject(obj, "NEWMSGTIPWINDOW", _newMsgTipWindowNotify);
cJSON_AddStringToObject(obj, "SCREENSHOT", _screenshotKey.data());
cJSON_AddStringToObject(obj, "WAKEWND", _wakeWndKey.data());
cJSON_AddBoolToObject(obj, "OPENWITHAPPBROWSER", _openWithAppBrowser);
cJSON_AddBoolToObject(obj, "OPENOAWITHAPPBROWSER", _openOaWithAppBrowser);
cJSON_AddBoolToObject(obj, "SCREENTSHOTHIDEWNDFLAG", _screentShotHideWndFlag);
cJSON_AddBoolToObject(obj, "SHOWSENDMESSAGEBTN", _showSendMessageBtn);
cJSON_AddBoolToObject(obj, "STRONGWARN", _strongWarn);
cJSON_AddBoolToObject(obj, "HOTCUTENABLE", _hotCutEnable);
cJSON_AddStringToObject(obj, "SENDMESSAGEKEY", _sendMessageKey.data());
cJSON_AddBoolToObject(obj, "SHOWMOODFLAG", _showMoodFlag);
cJSON_AddBoolToObject(obj, "AUTOSTARTUP", _autoStartUp);
cJSON_AddBoolToObject(obj, "LEAVECHECKENABLE", _leaveCheckEnable);
cJSON_AddBoolToObject(obj, "AUTOREPLYPRESET", _autoReplyPreset);
cJSON_AddStringToObject(obj, "AUTOREPLYMSG", _autoReplyMsg.data());
cJSON_AddStringToObject(obj, "AUTOREPLYCUSMSG", _autoReplyCusMsg.data());
cJSON_AddNumberToObject(obj, "LEAVEMINUTE", _leaveMinute);
ret = QTalk::JSON::cJSON_to_string(obj);
cJSON_Delete(obj);
return ret;
}
| [
"build@qunar.com"
] | build@qunar.com |
8a9f63cc69ada5f62909e9e929d0f861db7e0093 | 7b1b6c20c18222bedb1cc8700de2cb6a29b15ee6 | /Lesson 1/Lesson 1 Example/main.cpp | b7c548d8d7ed9729ce509c3dd483cd21f643228a | [] | no_license | pcummin3/Learning-C-Basic-Level | 5dfcdd1956320dd4b343a95eef2e208293e68256 | 510a0180860cd888eaca769068aaec869e5cf99e | refs/heads/master | 2021-01-10T05:30:57.586953 | 2016-03-18T16:41:13 | 2016-03-18T16:41:13 | 52,642,106 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 570 | cpp | //This is my first comment!
/*
Author: Paul Cummings
Program Name: main.cpp
Version Date: 26 February 2016
Description: This program tells the user: Hello World!
*/
#include <iostream> //Includes the iostream package for use.
using namespace std; //This includes the standard C++ library.
int main() //Our main() function. All of our program is contained within.
{
cout << "Hello world!" << endl;
//This cout statement prints "Hello World!" for the user.
return 0; //This return statement terminates the program.
}
| [
"pcummin3@uncc.edu"
] | pcummin3@uncc.edu |
545cbdb91d0411b10af842924f54ef46568b9245 | 2af24a679591111c4d167d568ce0f0d77f1f3477 | /tools/versioner/src/SymbolFileParser.cpp | c312b485641de0ca27170774c402c47ef0a9e891 | [] | no_license | LineageOS/android_bionic | ccc229bacf3aa07fa7b70d2ce2e94a5b9469ee5d | 40e6fdba0b80a99c240603eecfb5b1d7c2ee1ed2 | refs/heads/lineage-17.1 | 2023-08-09T15:31:31.930420 | 2019-11-05T20:42:14 | 2020-04-23T10:44:21 | 75,638,284 | 33 | 416 | null | 2020-03-04T06:17:23 | 2016-12-05T15:28:48 | Objective-C | UTF-8 | C++ | false | false | 8,860 | cpp | /*
* Copyright (C) 2018 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.
*/
#include "SymbolFileParser.h"
#include "Arch.h"
#include "CompilationType.h"
#include <android-base/strings.h>
#include <fstream>
#include <ios>
#include <optional>
#include <string>
#include <unordered_map>
#include <vector>
#include <err.h>
namespace {
using TagList = std::vector<std::string>;
struct SymbolEnt {
std::string name;
TagList tags;
};
using SymbolList = std::vector<SymbolEnt>;
struct Version {
std::string name;
std::string base;
SymbolList symbols;
TagList tags;
};
class SymbolFileParser {
public:
SymbolFileParser(const std::string& path, const CompilationType& type)
: file_path(path),
compilation_type(type),
api_level_arch_prefix("api-level-" + to_string(type.arch) + "="),
intro_arch_perfix("introduced-" + to_string(type.arch) + "="),
file(path, std::ios_base::in),
curr_line_num(0) {
}
// Parse the version script and build a symbol map.
std::optional<SymbolMap> parse() {
if (!file) {
return std::nullopt;
}
SymbolMap symbol_map;
while (hasNextLine()) {
auto&& version = parseVersion();
if (!version) {
return std::nullopt;
}
if (isInArch(version->tags) && isInApi(version->tags)) {
for (auto&& [name, tags] : version->symbols) {
if (isInArch(tags) && isInApi(tags)) {
symbol_map[name] = getSymbolType(tags);
}
}
}
}
return std::make_optional(std::move(symbol_map));
}
private:
// Read a non-empty line from the input and split at the first '#' character.
bool hasNextLine() {
std::string line;
while (std::getline(file, line)) {
++curr_line_num;
size_t hash_pos = line.find('#');
curr_line = android::base::Trim(line.substr(0, hash_pos));
if (!curr_line.empty()) {
if (hash_pos != std::string::npos) {
curr_tags = parseTags(line.substr(hash_pos + 1));
} else {
curr_tags.clear();
}
return true;
}
}
return false;
}
// Tokenize the tags after the '#' character.
static std::vector<std::string> parseTags(const std::string& tags_line) {
std::vector<std::string> tags = android::base::Split(tags_line, " \t");
tags.erase(std::remove(tags.begin(), tags.end(), ""), tags.end());
return tags;
}
// Parse a version scope.
std::optional<Version> parseVersion() {
size_t start_line_num = curr_line_num;
std::string::size_type lparen_pos = curr_line.find('{');
if (lparen_pos == std::string::npos) {
errx(1, "%s:%zu: error: expected '{' cannot be found in this line",
file_path.c_str(), curr_line_num);
}
// Record the version name and version tags (before hasNextLine()).
std::string name = android::base::Trim(curr_line.substr(0, lparen_pos));
TagList tags = std::move(curr_tags);
// Read symbol lines.
SymbolList symbols;
bool global_scope = true;
bool cpp_scope = false;
while (hasNextLine()) {
size_t rparen_pos = curr_line.find('}');
if (rparen_pos != std::string::npos) {
size_t semicolon_pos = curr_line.find(';', rparen_pos + 1);
if (semicolon_pos == std::string::npos) {
errx(1, "%s:%zu: error: the line that ends a scope must end with ';'",
file_path.c_str(), curr_line_num);
}
if (cpp_scope) {
cpp_scope = false;
continue;
}
std::string base = android::base::Trim(
curr_line.substr(rparen_pos + 1, semicolon_pos - 1));
return std::make_optional(Version{std::move(name), std::move(base),
std::move(symbols), std::move(tags)});
}
if (android::base::StartsWith(curr_line, R"(extern "C++" {)")) {
cpp_scope = true;
continue;
}
if (cpp_scope) {
continue;
}
size_t colon_pos = curr_line.find(':');
if (colon_pos != std::string::npos) {
std::string visibility =
android::base::Trim(curr_line.substr(0, colon_pos));
if (visibility == "global") {
global_scope = true;
} else if (visibility == "local") {
global_scope = false;
} else {
errx(1, "%s:%zu: error: unknown version visibility: %s",
file_path.c_str(), curr_line_num, visibility.c_str());
}
continue;
}
if (global_scope) {
size_t semicolon_pos = curr_line.find(';');
if (semicolon_pos == std::string::npos) {
errx(1, "%s:%zu: error: symbol name line must end with ';'",
file_path.c_str(), curr_line_num);
}
std::string symbol_name =
android::base::Trim(curr_line.substr(0, semicolon_pos));
size_t asterisk_pos = symbol_name.find('*');
if (asterisk_pos != std::string::npos) {
errx(1, "%s:%zu: error: global symbol name must not have wildcards",
file_path.c_str(), curr_line_num);
}
symbols.push_back(SymbolEnt{std::move(symbol_name),
std::move(curr_tags)});
}
}
errx(1, "%s:%zu: error: scope started from %zu must be closed before EOF",
file_path.c_str(), curr_line_num, start_line_num);
}
static NdkSymbolType getSymbolType(const TagList& tags) {
for (auto&& tag : tags) {
if (tag == "var") {
return NdkSymbolType::variable;
}
}
return NdkSymbolType::function;
}
// isInArch() returns true if there is a matching arch-specific tag or there
// are no arch-specific tags.
bool isInArch(const TagList& tags) const {
bool has_arch_tags = false;
for (auto&& tag : tags) {
std::optional<Arch> arch = arch_from_string(tag);
if (!arch) {
continue;
}
if (*arch == compilation_type.arch) {
return true;
}
has_arch_tags = true;
}
return !has_arch_tags;
}
// isInApi() returns true if the specified API level is equal to the
// api-level tag, or the specified API level is greater than or equal to the
// introduced tag, or there are no api-level or introduced tags.
bool isInApi(const TagList& tags) const {
bool api_level_arch = false;
bool intro_arch = false;
std::string api_level;
std::string intro;
for (const std::string& tag : tags) {
// Check api-level tags.
if (android::base::StartsWith(tag, "api-level=") && !api_level_arch) {
api_level = tag;
continue;
}
if (android::base::StartsWith(tag, api_level_arch_prefix)) {
api_level = tag;
api_level_arch = true;
continue;
}
// Check introduced tags.
if (android::base::StartsWith(tag, "introduced=") && !intro_arch) {
intro = tag;
continue;
}
if (android::base::StartsWith(tag, intro_arch_perfix)) {
intro = tag;
intro_arch = true;
continue;
}
}
if (intro.empty() && api_level.empty()) {
return true;
}
if (!api_level.empty()) {
// If an api-level tag is specified, it must be an exact match (mainly
// for versioner unit tests).
return compilation_type.api_level == decodeApiLevelValue(api_level);
}
return compilation_type.api_level >= decodeApiLevelValue(intro);
}
// Extract and decode the integer API level from api-level or introduced tags.
static int decodeApiLevelValue(const std::string& tag) {
std::string api_level = tag.substr(tag.find('=') + 1);
auto it = api_codename_map.find(api_level);
if (it != api_codename_map.end()) {
return it->second;
}
return std::stoi(api_level);
}
private:
const std::string& file_path;
const CompilationType& compilation_type;
const std::string api_level_arch_prefix;
const std::string intro_arch_perfix;
std::ifstream file;
std::string curr_line;
std::vector<std::string> curr_tags;
size_t curr_line_num;
};
} // anonymous namespace
std::optional<SymbolMap> parseSymbolFile(const std::string& file_path,
const CompilationType& type) {
SymbolFileParser parser(file_path, type);
return parser.parse();
}
| [
"loganchien@google.com"
] | loganchien@google.com |
6799c5dd6673c714e42c90ced0e95542dce0d99e | e658df9d5dda17b2dfa3beb08391f407c44b6682 | /STLStu/src/st_vector.cpp | f1fd5e7e844b7ec128fd51547d7d8cbf07c7947f | [] | no_license | tla001/STLStu | b53a6c0f3d53cf665497ca389bb4b5e5fe413cc4 | 2ad03f6db464410ef6aacab17bb938384efcc63e | refs/heads/master | 2021-01-12T13:06:28.016424 | 2016-10-06T02:17:00 | 2016-10-06T02:17:00 | 70,115,742 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,821 | cpp | /*
* st_vector.cpp
*
* Created on: Jul 17, 2016
* Author: tla001
*/
#include "st_vector.h"
//#include "Include.h"
void printIt(const string &str)
{
cout<<str<<"\t";
}
int MatchFirstChar(const string & str)
{
string s("t");
return s==str.substr(0,1);
}
void initVector()
{
//利用push_back做初始化
vector<string> v_str;
v_str.push_back("tao");
v_str.push_back("wang");
v_str.push_back("zhang");
v_str.push_back("tian");
for(int i=0;i<v_str.size();i++)
cout<<v_str[i]<<"\t";
cout<<"\n\n";
//增加元素
v_str.insert(v_str.end(),"he");
//for_each用法
for_each(v_str.begin(),v_str.end(),printIt);
//count_if第三个参数是对象,只有满足条件时,才统计,
int num1=count_if(v_str.begin(),v_str.end(),MatchFirstChar);
cout<<"num1="<<num1<<endl;
//对象查找
vector<string>::iterator v_strItem;
v_strItem=find(v_str.begin(),v_str.end(),"ta");
if(v_strItem==v_str.end()){
cout<<"can't find"<<endl;
}
else{
cout<<"find:"<<*v_strItem<<endl;
}
//指定容器大小
//vector 的reserve增加了vector的capacity,但是它的size没有改变!
//而resize改变了vector的capacity同时也增加了它的size
vector<int> v_int;
v_int.reserve(4);
cout<<"size="<<v_int.size()<<" capacity="<<v_int.capacity()<<endl;
v_int.resize(5);
cout<<"size="<<v_int.size()<<" capacity="<<v_int.capacity()<<endl;
cout<<"please input several int nums:"<<endl;
for(int i=0;i<v_int.size();i++)
cin>>v_int[i];
cout<<"you have input :"<<endl;
for(int i=0;i<v_int.size();i++)
cout<<v_int[i]<<"\t";
cout<<"\n\n";
//迭代器遍历
vector<int>::iterator v_intItem;
for(v_intItem=v_int.begin();v_intItem!=v_int.end();v_intItem++)
cout<<*v_intItem<<"\t";
cout<<"\n\n";
//统计个数
int num=count(v_int.begin(),v_int.end(),1);
cout<<"num="<<num<<endl;
}
| [
"1414419047@qq.com"
] | 1414419047@qq.com |
7318672953628f8122f85d37b145feade8c83d51 | cbc35ee2508d082e3bf96ff0c0cd6672522d2706 | /src/mainwindow.h | acadd692f754c9f57781e6df34070defcda76ab9 | [] | no_license | 4rlenrey/CtyproAsci | e559102179930cb96db2959bed45167cc765399f | 5b22bbe747b97e1fe1de1e6c5ce012bd168bbe5b | refs/heads/main | 2023-06-01T14:11:26.966571 | 2021-06-21T20:18:08 | 2021-06-21T20:18:08 | 319,707,462 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 515 | h | #ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <string>
#include <iostream>
#include <sstream>
namespace Ui
{
class MainWindow;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = nullptr);
~MainWindow();
void print_text();
void chose_encryption();
QString in_en;
QString out_en;
private slots:
void button_left();
void button_right();
private:
Ui::MainWindow *ui;
};
#endif // MAINWINDOW_H
| [
"4rlenrey@gmail.com"
] | 4rlenrey@gmail.com |
f9502cb95131248c8e233859e75a14a9fac7e4b0 | 8d63eec9813a66e999792bfe7d26c1b106154af0 | /flow_error_test.cpp | 145ed5730c3f854a2965beff915943b3cf41d60f | [] | no_license | chunmingchen/flow-error | 2e6021ff1b6a467e406e471ce443df83b4b1a94d | c213092eec7af0a7a80596c90100f06dab6e88da | refs/heads/master | 2021-01-21T04:39:25.734841 | 2016-06-15T20:27:59 | 2016-06-15T20:27:59 | 19,627,536 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,793 | cpp | #include <algorithm>
#include <vector>
#include <assert.h>
#include <stdio.h>
#include <cstdio>
#include <string>
#include <string.h>
#include <iostream>
#include "OSUFlow.h"
#include "system/cmd_arg_reader.h"
#include "system/path.h"
#include "macros.h"
#include "file/nrrd.h"
#include "statistics.h"
#include "cp_time.h"
#include "thread/ThreadClass.h"
#include "omp.h"
#include "online_quad_bezier_fit.h"
using namespace std;
using namespace JCLib; // https://github.com/chunmingchen/JCLib
vector<string> fileAry;
int W, H, D, Ts;
#define POS_ID(x,y,z) ((x)+W*((y)+H*(z)));
bool saveErrHist=false;
inline VECTOR3 &operator +=(VECTOR3 & v0, const VECTOR3 & v1)
{
v0[0]+=v1[0]; v0[1]+=v1[1]; v0[2]+=v1[2];
return v0;
}
inline VECTOR3 operator*(const VECTOR3 & v0, const VECTOR3 & v1)
{
VECTOR3 y(v0[0]*v1[0], v0[1]*v1[1], v0[2]*v1[2]); return y;
}
inline VECTOR3 sqrt(const VECTOR3 &x)
{
VECTOR3 y(sqrt(x[0]), sqrt(x[1]), sqrt(x[2]));
}
template<typename T> inline T &getElem(T &x, int d) {return x;}
inline float & getElem(VECTOR3 &v, int d) {return v[d];}
////////////////////////////////////////////////////////
template<class T, int DIMS>
class ErrorModeling{
public:
void test_online()
{
//float seq[] = {1, 2, 3, 100, 5, 6, 7, 8, 9, 10};
float seq[] = {1, 8, 27, 100, 125, 196, 343, 512, 729, 1111};
//float seq[] = {1, 4, 9, 16, 25, 36, 49, 64, 81, 100};
int n = 10;
int sampling = n-1;
int i;
vector<OnlineQuadBezierFit<T> > onlineAry(1);
W=H=D=1;
//////////////////////////////////////
/// test online version
//////////////////////////////////////
for (i=0; i<n; i++)
{
onlineAry[0].addData(seq[i], (double)i/(n-1));
}
fitOnlineQuadBezier(quadBezierAry, rmsErrAry, onlineAry, n);
cout << "online: Ctrl=" << quadBezierAry[0] << ", stderr=" << rmsErrAry[0] << endl;
//////////////////////////////////////
/// test offline version
//////////////////////////////////////
vector<vector<T> > fieldAry(n, vector<T>(1));
for (i=0; i<n; i++)
{
fieldAry[i][0] = seq[i];
}
fitQuadBezier(fieldAry, 0, n);
cout <<"offline: Ctrl=" << quadBezierAry[0] << ", stderr=" << rmsErrAry[0] << endl;
// print out
for (i=0; i<n; i++)
{
T y0 = onlineAry[0].y0;
T yn = onlineAry[0].y1;
T ctrl = quadBezierAry[0];
float t = (float)i/(n-1);
float u = (float)(n-1-i)/(n-1);
T fitted = y0*(u*u) + ctrl*(2*t*u) + yn*(t*t);
cout << fitted << endl;
}
}
void reportTime() {
printf("sampling=%d, threads=%d, Fit times: %d\n", GET_ARG_INT("sampling"), GET_ARG_INT("threads"), fitTimes);
printf("Average online add time, fit time (ms): %.5lf, %.5lf\n", totalAddTime.getValue()*1e-3/addTimes, totalFitTime.getValue()*1e-3/fitTimes );
}
private: // only for offline:
// online timing
AtomicLong totalAddTime, totalFitTime;
int addTimes, fitTimes;
vector<vector<T> > quadFuncAry; // xyz, abc, dim
vector<T> rmsErrAry; // mean square error; xyz, dim
vector<T> stdErrAry; // std error; xyz, dim
vector<T> meanErrAry; // std error; xyz, dim
vector<vector<T> > errAry; // std error; xyz, dim
// fitting with quad bezier
vector<T> quadBezierAry; // control point
vector<T> y0Ary, ynAry;
// offline version for comparison
// flowfieldAry: one layer of the original vector data
// z: the z of the layer
// start: file id
void fitQuadBezier(vector<vector<T> > &flowfieldAry, int z, int n)
{
if (z==0) {
quadBezierAry = vector<T> (W*H*D);
stdErrAry = vector<T> (W*H*D);
rmsErrAry = vector<T> (W*H*D);
//errAry = vector<vector<T> >(w*h*d, vector<T>(n));
meanErrAry = vector<T> (W*H*D);
y0Ary = vector<T> (W*H*D);
ynAry = vector<T> (W*H*D);
}
println ("Fitting quadratic function");
int x, y, i;
//for (z = 0; z < d; z++)
for (y = 0; y < H; y++)
for (x = 0; x < W; x++)
{
int id_in = POS_ID(x,y,0);
int id_out = POS_ID(x,y,z);
vector<T> y_ary(n);
for (i=0; i<n; i++)
y_ary[i] = flowfieldAry[i][id_in];
for (int d=0; d<DIMS; d++) //dim
{
float y1=getElem(y_ary[0], d);
float yn=getElem(y_ary[n-1], d);
getElem(y0Ary[id_out], d) = y1;
getElem(ynAry[id_out], d) = yn;
// t: x, u: 1-x
double sum_t1u1y=0, sum_t1u3=0, sum_t3u1=0, sum_t2u2=0;
//println("y=");
for (i=0; i<n; i++)
{
double t = (double)i/(n-1);
double u = 1-t;
double u2 = u*u;
double t2 = t*t;
sum_t1u1y += getElem(y_ary[i], d)*t*u;
sum_t1u3 += t*u*u2;
sum_t2u2 += t2*u2;
sum_t3u1 += t*t2*u;
}
float ctrl = (sum_t1u1y - sum_t1u3 * y1 - sum_t3u1 * yn) / 2. / sum_t2u2 ;
getElem(quadBezierAry[id_out], d) = ctrl;
//println("ctrl=%f, t1u1y=%lf, t1u3=%lf, t2u2=%lf, t3u1=%lf", ctrl, sum_t1u1y, sum_t1u3, sum_t2u2, sum_t3u1);
//printf("d=%d, asserting...%f\n", d, abs(par[0][d]*(n-1)*(n-1)+par[1][d]*(n-1)+par[2][d]-yn));
//assert(abs(par[0][d]*(n-1)*(n-1)+par[1][d]*(n-1)+par[2][d]-y_ary[n-1][d])<1e-5);
// gen err std
//println("Val, Err:");
vector<float> err_ary(n), err_ary2(n);
for (i=0; i<n; i++)
{
float truth = getElem(y_ary[i], d);
float t = (float)i/(n-1);
float u = (float)(n-1-i)/(n-1);
float fitted = u*u*y1 + 2*t*u*ctrl + t*t*yn;
err_ary[i] = truth-fitted;
err_ary2[i] = err_ary[i]*err_ary[i];
//println("%f %f", fitted, err_ary[i]);
}
double mean = JCLib::getMean(err_ary.begin(), err_ary.end());
double std = JCLib::getDeviation(err_ary.begin(), err_ary.end());
double rms = sqrt(JCLib::getSum(err_ary2.begin(), err_ary2.end())/(n-1));
getElem(stdErrAry[id_out],d) = std;
getElem(rmsErrAry[id_out],d) = rms;
getElem(meanErrAry[id_out],d) = mean;
//println("std=%lf mean=%lf rms=%f", std, mean, rms);
// errAry
//for (i=0; i<n; i++)
// errAry[id_out][i][d]=err_ary[i];
}
//VECTOR3 err_std;
//VECTOR3 sum_err(0,0,0);
//for (i=0; i<n; i++)
// sum_err = sum_err+(par[0]*i*i + par[1]*i + par[2] - y_ary[i]);
//getchar();
}
}
};
int main(int argc, const char **argv) {
ErrorModeling<float, 1>em;
em.test_online();
return 0;
}
| [
"chenchu@cse.ohio-state.edu"
] | chenchu@cse.ohio-state.edu |
4d7dd5a2b2d741be528fd29a4a19a0b26fc05d53 | 5456502f97627278cbd6e16d002d50f1de3da7bb | /chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h | d2a920ba1a5880a85aa3fca4e665d66db449a80d | [
"BSD-3-Clause"
] | permissive | TrellixVulnTeam/Chromium_7C66 | 72d108a413909eb3bd36c73a6c2f98de1573b6e5 | c8649ab2a0f5a747369ed50351209a42f59672ee | refs/heads/master | 2023-03-16T12:51:40.231959 | 2017-12-20T10:38:26 | 2017-12-20T10:38:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,091 | h | // Copyright (c) 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_
#define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_
#include <map>
#include <memory>
#include <set>
#include <string>
#include "base/callback.h"
#include "base/compiler_specific.h"
#include "base/containers/hash_tables.h"
#include "base/macros.h"
#include "base/memory/ref_counted.h"
#include "base/memory/weak_ptr.h"
#include "chrome/browser/chromeos/login/screens/network_error_model.h"
#include "chrome/browser/chromeos/login/signin_specifics.h"
#include "chrome/browser/chromeos/login/ui/login_display.h"
#include "chrome/browser/chromeos/settings/cros_settings.h"
#include "chrome/browser/ui/webui/chromeos/login/base_screen_handler.h"
#include "chrome/browser/ui/webui/chromeos/login/network_state_informer.h"
#include "chrome/browser/ui/webui/chromeos/login/oobe_ui.h"
#include "chrome/browser/ui/webui/chromeos/touch_view_controller_delegate.h"
#include "chromeos/dbus/power_manager_client.h"
#include "chromeos/network/portal_detector/network_portal_detector.h"
#include "components/proximity_auth/screenlock_bridge.h"
#include "components/user_manager/user_manager.h"
#include "content/public/browser/notification_observer.h"
#include "content/public/browser/notification_registrar.h"
#include "content/public/browser/web_ui.h"
#include "net/base/net_errors.h"
#include "ui/base/ime/chromeos/ime_keyboard.h"
#include "ui/base/ime/chromeos/input_method_manager.h"
#include "ui/events/event_handler.h"
class AccountId;
class EasyUnlockService;
namespace base {
class DictionaryValue;
class ListValue;
}
namespace chromeos {
class CaptivePortalWindowProxy;
class CoreOobeActor;
class ErrorScreensHistogramHelper;
class GaiaScreenHandler;
class LoginFeedback;
class NativeWindowDelegate;
class SupervisedUserCreationScreenHandler;
class User;
class UserContext;
// Helper class to pass initial parameters to the login screen.
class LoginScreenContext {
public:
LoginScreenContext();
explicit LoginScreenContext(const base::ListValue* args);
void set_email(const std::string& email) { email_ = email; }
const std::string& email() const { return email_; }
void set_oobe_ui(bool oobe_ui) { oobe_ui_ = oobe_ui; }
bool oobe_ui() const { return oobe_ui_; }
private:
void Init();
std::string email_;
bool oobe_ui_;
};
// An interface for WebUILoginDisplay to call SigninScreenHandler.
class LoginDisplayWebUIHandler {
public:
virtual void ClearAndEnablePassword() = 0;
virtual void ClearUserPodPassword() = 0;
virtual void OnUserRemoved(const AccountId& account_id,
bool last_user_removed) = 0;
virtual void OnUserImageChanged(const user_manager::User& user) = 0;
virtual void OnPreferencesChanged() = 0;
virtual void ResetSigninScreenHandlerDelegate() = 0;
virtual void ShowError(int login_attempts,
const std::string& error_text,
const std::string& help_link_text,
HelpAppLauncher::HelpTopic help_topic_id) = 0;
virtual void ShowErrorScreen(LoginDisplay::SigninError error_id) = 0;
virtual void ShowSigninUI(const std::string& email) = 0;
virtual void ShowPasswordChangedDialog(bool show_password_error,
const std::string& email) = 0;
// Show sign-in screen for the given credentials.
virtual void ShowSigninScreenForCreds(const std::string& username,
const std::string& password) = 0;
virtual void ShowWhitelistCheckFailedError() = 0;
virtual void ShowUnrecoverableCrypthomeErrorDialog() = 0;
virtual void LoadUsers(const base::ListValue& users_list,
bool show_guest) = 0;
protected:
virtual ~LoginDisplayWebUIHandler() {}
};
// An interface for SigninScreenHandler to call WebUILoginDisplay.
class SigninScreenHandlerDelegate {
public:
// --------------- Password change flow methods.
// Cancels current password changed flow.
virtual void CancelPasswordChangedFlow() = 0;
// Decrypt cryptohome using user provided |old_password|
// and migrate to new password.
virtual void MigrateUserData(const std::string& old_password) = 0;
// Ignore password change, remove existing cryptohome and
// force full sync of user data.
virtual void ResyncUserData() = 0;
// --------------- Sign in/out methods.
// Sign in using username and password specified as a part of |user_context|.
// Used for both known and new users.
virtual void Login(const UserContext& user_context,
const SigninSpecifics& specifics) = 0;
// Returns true if sign in is in progress.
virtual bool IsSigninInProgress() const = 0;
// Signs out if the screen is currently locked.
virtual void Signout() = 0;
// --------------- Account creation methods.
// Confirms sign up by provided credentials in |user_context|.
// Used for new user login via GAIA extension.
virtual void CompleteLogin(const UserContext& user_context) = 0;
// --------------- Shared with login display methods.
// Notify the delegate when the sign-in UI is finished loading.
virtual void OnSigninScreenReady() = 0;
// Notify the delegate when the GAIA UI is finished loading.
virtual void OnGaiaScreenReady() = 0;
// Shows Enterprise Enrollment screen.
virtual void ShowEnterpriseEnrollmentScreen() = 0;
// Shows Enable Developer Features screen.
virtual void ShowEnableDebuggingScreen() = 0;
// Shows Kiosk Enable screen.
virtual void ShowKioskEnableScreen() = 0;
// Shows Reset screen.
virtual void ShowKioskAutolaunchScreen() = 0;
// Show wrong hwid screen.
virtual void ShowWrongHWIDScreen() = 0;
// Sets the displayed email for the next login attempt. If it succeeds,
// user's displayed email value will be updated to |email|.
virtual void SetDisplayEmail(const std::string& email) = 0;
// --------------- Rest of the methods.
// Cancels user adding.
virtual void CancelUserAdding() = 0;
// Load wallpaper for given |account_id|.
virtual void LoadWallpaper(const AccountId& account_id) = 0;
// Loads the default sign-in wallpaper.
virtual void LoadSigninWallpaper() = 0;
// Attempts to remove given user.
virtual void RemoveUser(const AccountId& account_id) = 0;
// Let the delegate know about the handler it is supposed to be using.
virtual void SetWebUIHandler(LoginDisplayWebUIHandler* webui_handler) = 0;
// Whether login as guest is available.
virtual bool IsShowGuest() const = 0;
// Whether to show the user pods or only GAIA sign in.
// Public sessions are always shown.
virtual bool IsShowUsers() const = 0;
// Whether the show user pods setting has changed.
virtual bool ShowUsersHasChanged() const = 0;
// Whether the create new account option in GAIA is enabled by the setting.
virtual bool IsAllowNewUser() const = 0;
// Whether the allow new user setting has changed.
virtual bool AllowNewUserChanged() const = 0;
// Whether user sign in has completed.
virtual bool IsUserSigninCompleted() const = 0;
// Request to (re)load user list.
virtual void HandleGetUsers() = 0;
// Runs an OAuth token validation check for user.
virtual void CheckUserStatus(const AccountId& account_id) = 0;
// Returns true if user is allowed to log in by domain policy.
virtual bool IsUserWhitelisted(const AccountId& account_id) = 0;
protected:
virtual ~SigninScreenHandlerDelegate() {}
};
// A class that handles the WebUI hooks in sign-in screen in OobeUI and
// LoginDisplay.
class SigninScreenHandler
: public BaseScreenHandler,
public LoginDisplayWebUIHandler,
public content::NotificationObserver,
public NetworkStateInformer::NetworkStateInformerObserver,
public PowerManagerClient::Observer,
public input_method::ImeKeyboard::Observer,
public TouchViewControllerDelegate::Observer,
public OobeUI::Observer {
public:
SigninScreenHandler(
const scoped_refptr<NetworkStateInformer>& network_state_informer,
NetworkErrorModel* network_error_model,
CoreOobeActor* core_oobe_actor,
GaiaScreenHandler* gaia_screen_handler);
~SigninScreenHandler() override;
static std::string GetUserLRUInputMethod(const std::string& username);
// Update current input method (namely keyboard layout) in the given IME state
// to LRU by this user.
static void SetUserInputMethod(
const std::string& username,
input_method::InputMethodManager::State* ime_state);
// Shows the sign in screen.
void Show(const LoginScreenContext& context);
// Sets delegate to be used by the handler. It is guaranteed that valid
// delegate is set before Show() method will be called.
void SetDelegate(SigninScreenHandlerDelegate* delegate);
void SetNativeWindowDelegate(NativeWindowDelegate* native_window_delegate);
// NetworkStateInformer::NetworkStateInformerObserver implementation:
void OnNetworkReady() override;
void UpdateState(NetworkError::ErrorReason reason) override;
// Required Local State preferences.
static void RegisterPrefs(PrefRegistrySimple* registry);
// OobeUI::Observer implemetation.
void OnCurrentScreenChanged(OobeScreen current_screen,
OobeScreen new_screen) override;
void SetFocusPODCallbackForTesting(base::Closure callback);
// To avoid spurious error messages on flaky networks, the offline message is
// only shown if the network is offline for a threshold number of seconds.
// This method reduces the threshold to zero, allowing the offline message to
// show instantaneously in tests.
void ZeroOfflineTimeoutForTesting();
private:
enum UIState {
UI_STATE_UNKNOWN = 0,
UI_STATE_GAIA_SIGNIN,
UI_STATE_ACCOUNT_PICKER,
};
friend class GaiaScreenHandler;
friend class ReportDnsCacheClearedOnUIThread;
friend class SupervisedUserCreationScreenHandler;
void ShowImpl();
// Updates current UI of the signin screen according to |ui_state|
// argument. Optionally it can pass screen initialization data via
// |params| argument.
void UpdateUIState(UIState ui_state, base::DictionaryValue* params);
void UpdateStateInternal(NetworkError::ErrorReason reason, bool force_update);
void SetupAndShowOfflineMessage(NetworkStateInformer::State state,
NetworkError::ErrorReason reason);
void HideOfflineMessage(NetworkStateInformer::State state,
NetworkError::ErrorReason reason);
void ReloadGaia(bool force_reload);
// BaseScreenHandler implementation:
void DeclareLocalizedValues(
::login::LocalizedValuesBuilder* builder) override;
void Initialize() override;
gfx::NativeWindow GetNativeWindow() override;
// WebUIMessageHandler implementation:
void RegisterMessages() override;
// LoginDisplayWebUIHandler implementation:
void ClearAndEnablePassword() override;
void ClearUserPodPassword() override;
void OnUserRemoved(const AccountId& account_id,
bool last_user_removed) override;
void OnUserImageChanged(const user_manager::User& user) override;
void OnPreferencesChanged() override;
void ResetSigninScreenHandlerDelegate() override;
void ShowError(int login_attempts,
const std::string& error_text,
const std::string& help_link_text,
HelpAppLauncher::HelpTopic help_topic_id) override;
void ShowSigninUI(const std::string& email) override;
void ShowPasswordChangedDialog(bool show_password_error,
const std::string& email) override;
void ShowErrorScreen(LoginDisplay::SigninError error_id) override;
void ShowSigninScreenForCreds(const std::string& username,
const std::string& password) override;
void ShowWhitelistCheckFailedError() override;
void ShowUnrecoverableCrypthomeErrorDialog() override;
void LoadUsers(const base::ListValue& users_list, bool show_guest) override;
// content::NotificationObserver implementation:
void Observe(int type,
const content::NotificationSource& source,
const content::NotificationDetails& details) override;
// PowerManagerClient::Observer implementation:
void SuspendDone(const base::TimeDelta& sleep_duration) override;
// TouchViewControllerDelegate::Observer implementation:
void OnMaximizeModeStarted() override;
void OnMaximizeModeEnded() override;
void UpdateAddButtonStatus();
// Restore input focus to current user pod.
void RefocusCurrentPod();
// Hides the PIN keyboard if it is no longer available.
void HidePinKeyboardIfNeeded(const AccountId& account_id);
// WebUI message handlers.
void HandleGetUsers();
void HandleAuthenticateUser(const AccountId& account_id,
const std::string& password,
bool authenticated_by_pin);
void HandleAttemptUnlock(const std::string& username);
void HandleLaunchIncognito();
void HandleLaunchPublicSession(const AccountId& account_id,
const std::string& locale,
const std::string& input_method);
void HandleOfflineLogin(const base::ListValue* args);
void HandleShutdownSystem();
void HandleLoadWallpaper(const AccountId& account_id);
void HandleRebootSystem();
void HandleRemoveUser(const AccountId& account_id);
void HandleShowAddUser(const base::ListValue* args);
void HandleToggleEnrollmentScreen();
void HandleToggleEnrollmentAd();
void HandleToggleEnableDebuggingScreen();
void HandleToggleKioskEnableScreen();
void HandleToggleResetScreen();
void HandleToggleKioskAutolaunchScreen();
void HandleAccountPickerReady();
void HandleWallpaperReady();
void HandleSignOutUser();
void HandleOpenProxySettings();
void HandleLoginVisible(const std::string& source);
void HandleCancelPasswordChangedFlow(const AccountId& account_id);
void HandleCancelUserAdding();
void HandleMigrateUserData(const std::string& password);
void HandleResyncUserData();
void HandleLoginUIStateChanged(const std::string& source, bool active);
void HandleUnlockOnLoginSuccess();
void HandleLoginScreenUpdate();
void HandleShowLoadingTimeoutError();
void HandleShowSupervisedUserCreationScreen();
void HandleFocusPod(const AccountId& account_id);
void HandleHardlockPod(const std::string& user_id);
void HandleLaunchKioskApp(const AccountId& app_account_id,
bool diagnostic_mode);
void HandleLaunchArcKioskApp(const AccountId& app_account_id);
void HandleGetPublicSessionKeyboardLayouts(const AccountId& account_id,
const std::string& locale);
void HandleGetTouchViewState();
void HandleLogRemoveUserWarningShown();
void HandleFirstIncorrectPasswordAttempt(const AccountId& account_id);
void HandleMaxIncorrectPasswordAttempts(const AccountId& account_id);
void HandleSendFeedbackAndResyncUserData();
// Sends the list of |keyboard_layouts| available for the |locale| that is
// currently selected for the public session identified by |user_id|.
void SendPublicSessionKeyboardLayouts(
const AccountId& account_id,
const std::string& locale,
std::unique_ptr<base::ListValue> keyboard_layouts);
// Returns true iff
// (i) log in is restricted to some user list,
// (ii) all users in the restricted list are present.
bool AllWhitelistedUsersPresent();
// Cancels password changed flow - switches back to login screen.
// Called as a callback after cookies are cleared.
void CancelPasswordChangedFlowInternal();
// Returns true if current visible screen is the Gaia sign-in page.
bool IsGaiaVisible() const;
// Returns true if current visible screen is the error screen over
// Gaia sign-in page.
bool IsGaiaHiddenByError() const;
// Returns true if current screen is the error screen over signin
// screen.
bool IsSigninScreenHiddenByError() const;
// Returns true if guest signin is allowed.
bool IsGuestSigninAllowed() const;
bool ShouldLoadGaia() const;
// Shows signin.
void OnShowAddUser();
net::Error FrameError() const;
// input_method::ImeKeyboard::Observer implementation:
void OnCapsLockChanged(bool enabled) override;
// Callback invoked after the feedback is finished.
void OnFeedbackFinished();
// Current UI state of the signin screen.
UIState ui_state_ = UI_STATE_UNKNOWN;
// A delegate that glues this handler with backend LoginDisplay.
SigninScreenHandlerDelegate* delegate_ = nullptr;
// A delegate used to get gfx::NativeWindow.
NativeWindowDelegate* native_window_delegate_ = nullptr;
// Whether screen should be shown right after initialization.
bool show_on_init_ = false;
// Keeps whether screen should be shown for OOBE.
bool oobe_ui_ = false;
// Is account picker being shown for the first time.
bool is_account_picker_showing_first_time_ = false;
// Network state informer used to keep signin screen up.
scoped_refptr<NetworkStateInformer> network_state_informer_;
// Set to true once |LOGIN_WEBUI_VISIBLE| notification is observed.
bool webui_visible_ = false;
bool preferences_changed_delayed_ = false;
NetworkErrorModel* network_error_model_;
CoreOobeActor* core_oobe_actor_;
NetworkStateInformer::State last_network_state_ =
NetworkStateInformer::UNKNOWN;
base::CancelableClosure update_state_closure_;
base::CancelableClosure connecting_closure_;
content::NotificationRegistrar registrar_;
// Whether there is an auth UI pending. This flag is set on receiving
// NOTIFICATION_AUTH_NEEDED and reset on either NOTIFICATION_AUTH_SUPPLIED or
// NOTIFICATION_AUTH_CANCELLED.
bool has_pending_auth_ui_ = false;
// Used for pending GAIA reloads.
NetworkError::ErrorReason gaia_reload_reason_ =
NetworkError::ERROR_REASON_NONE;
bool caps_lock_enabled_ = false;
// If network has accidentally changed to the one that requires proxy
// authentication, we will automatically reload gaia page that will bring
// "Proxy authentication" dialog to the user. To prevent flakiness, we will do
// it at most 3 times.
int proxy_auth_dialog_reload_times_;
// True if we need to reload gaia page to bring back "Proxy authentication"
// dialog.
bool proxy_auth_dialog_need_reload_ = false;
// Non-owning ptr.
// TODO(antrim@): remove this dependency.
GaiaScreenHandler* gaia_screen_handler_ = nullptr;
// Maximized mode controller delegate.
std::unique_ptr<TouchViewControllerDelegate> max_mode_delegate_;
// Input Method Engine state used at signin screen.
scoped_refptr<input_method::InputMethodManager::State> ime_state_;
// This callback captures "focusPod finished" event for tests.
base::Closure test_focus_pod_callback_;
// True if SigninScreenHandler has already been added to OobeUI observers.
bool oobe_ui_observer_added_ = false;
bool zero_offline_timeout_for_test_ = false;
std::unique_ptr<ErrorScreensHistogramHelper> histogram_helper_;
std::unique_ptr<LoginFeedback> login_feedback_;
base::WeakPtrFactory<SigninScreenHandler> weak_factory_;
DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler);
};
} // namespace chromeos
#endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_
| [
"lixiaodonglove7@aliyun.com"
] | lixiaodonglove7@aliyun.com |
87a61db92bba4daf31f1231acb39413fba5f7e5f | aea740867a3d560582dc6ac6d57a64bb27087a74 | /test/configuration_test.cpp | 30ed0cb9ea431101c3b1e52cd8269fffd6736c83 | [] | no_license | kavikumarN/Chucho | 724d6013662a4559f53f9be46f7eff94951d1fcc | 5c90653e81da37293990322abc0138aa51fbaf3f | refs/heads/master | 2020-06-07T20:28:15.525607 | 2019-02-09T17:42:17 | 2019-02-09T17:42:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,724 | cpp | /*
* Copyright 2013-2019 Will Mason
*
* 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 <gtest/gtest.h>
#include <chucho/configuration.hpp>
#include <chucho/logger.hpp>
#include <chucho/pattern_formatter.hpp>
#include <chucho/cout_writer.hpp>
#include <chucho/cerr_writer.hpp>
namespace
{
class configuration : public ::testing::Test
{
public:
configuration()
{
chucho::logger::remove_unused_loggers();
auto f = std::make_unique<chucho::pattern_formatter>("%m%n");
auto w = std::make_unique<chucho::cout_writer>("chucho::cout_writer", std::move(f));
get_logger()->add_writer(std::move(w));
}
~configuration()
{
chucho::logger::remove_unused_loggers();
}
protected:
std::shared_ptr<chucho::logger> get_logger() const
{
return chucho::logger::get(get_logger_name());
}
const char* get_logger_name() const
{
return "one";
}
};
}
#if defined(CHUCHO_CONFIG_FILE_CONFIG)
TEST_F(configuration, set_config)
{
std::ostringstream stream;
stream << "chucho.logger = " << get_logger_name() << std::endl
<< "chucho.logger." << get_logger_name() << ".writer = ce" << std::endl
<< "chucho.writer.ce = chucho::cerr_writer" << std::endl
<< "chucho.writer.ce.formatter = pf" << std::endl
<< "chucho.formatter.pf = chucho::pattern_formatter" << std::endl
<< "chucho.formatter.pf.pattern = %m%n";
ASSERT_TRUE(chucho::configuration::set(stream.str()));
EXPECT_NO_THROW(get_logger()->get_writer("chucho::cerr_writer"));
}
#endif
#if defined(CHUCHO_LOG4CPLUS_CONFIG)
TEST_F(configuration, set_log4cplus)
{
std::ostringstream stream;
stream << "log4cplus.logger." << get_logger_name() << " = info, ce\n"
<< "log4cplus.appender.ce = log4cplus::ConsoleAppender\n"
<< "log4cplus.appender.ce.logToStdErr = true\n"
<< "log4cplus.appender.ce.layout = log4cplus::PatternLayout\n"
<< "log4cplus.appender.ce.layout.ConversionPattern = %m%n";
ASSERT_TRUE(chucho::configuration::set(stream.str()));
EXPECT_NO_THROW(get_logger()->get_writer("chucho::cerr_writer"));
}
#endif
#if defined(CHUCHO_YAML_CONFIG)
TEST_F(configuration, set_yaml)
{
std::ostringstream stream;
stream << "- chucho::logger:" << std::endl
<< " name: " << get_logger_name() << std::endl
<< " chucho::cerr_writer:" << std::endl
<< " chucho::pattern_formatter:" << std::endl
<< " pattern: '%m%n'";
ASSERT_TRUE(chucho::configuration::set(stream.str()));
EXPECT_NO_THROW(get_logger()->get_writer("chucho::cerr_writer"));
}
TEST_F(configuration, set_yaml_error)
{
std::ostringstream stream;
stream << "- chucho::logger:" << std::endl
<< " name: " << get_logger_name() << std::endl
<< " chucho::cerr_writer:" << std::endl
<< " chucho::monkey_balls:" << std::endl
<< " pattern: '%m%n'";
ASSERT_TRUE(chucho::configuration::set(stream.str()));
auto wrts = get_logger()->get_writer_names();
EXPECT_EQ(0, wrts.size());
}
#endif
| [
"willchido@gmail.com"
] | willchido@gmail.com |
8dd9fbd51710bfb0177da47adf9580960ba99822 | 4ab82593b062409373bad4cdb498ad3a661d65d1 | /Fundemic/Library/Il2cppBuildCache/Android/armeabi-v7a/il2cppOutput/System2.cpp | 7e21acecd657e20894693bd3ab5140b39e4e51b8 | [] | no_license | rongzhenchen/Fundemic | 64ef8c69f3844123f860f153f0a78f637f2a3f1b | 3eb4c8d6e871e10de4db9f13daf0e1c6dc5afd5d | refs/heads/main | 2023-04-03T15:19:51.314408 | 2021-04-13T20:34:16 | 2021-04-13T20:34:16 | 357,344,825 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 618,281 | cpp | #include "pch-cpp.hpp"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <limits>
#include <stdint.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);
}
};
template <typename R>
struct VirtFuncInvoker0
{
typedef R (*Func)(void*, const RuntimeMethod*);
static inline R Invoke (Il2CppMethodSlot slot, RuntimeObject* obj)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
return ((Func)invokeData.methodPtr)(obj, invokeData.method);
}
};
template <typename R, typename T1, typename T2, typename T3, typename T4, typename T5>
struct VirtFuncInvoker5
{
typedef R (*Func)(void*, T1, T2, T3, T4, T5, const RuntimeMethod*);
static inline R Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1, T2 p2, T3 p3, T4 p4, T5 p5)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
return ((Func)invokeData.methodPtr)(obj, p1, p2, p3, p4, p5, invokeData.method);
}
};
template <typename R, typename T1, typename T2, typename T3>
struct VirtFuncInvoker3
{
typedef R (*Func)(void*, T1, T2, T3, const RuntimeMethod*);
static inline R Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1, T2 p2, T3 p3)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
return ((Func)invokeData.methodPtr)(obj, p1, p2, p3, invokeData.method);
}
};
template <typename T1, typename T2>
struct VirtActionInvoker2
{
typedef void (*Action)(void*, T1, T2, const RuntimeMethod*);
static inline void Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1, T2 p2)
{
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
((Action)invokeData.methodPtr)(obj, p1, p2, invokeData.method);
}
};
// System.Collections.Generic.Dictionary`2<System.Int32,System.Object>
struct Dictionary_2_tE1E5B6327FFA2C7AE34A69E0011815C914771C2F;
// System.Collections.Generic.Dictionary`2<System.Int32,System.String>
struct Dictionary_2_t0ACB62D0885C7AB376463C70665400A39808C5FB;
// System.Collections.Generic.Dictionary`2<System.Object,System.Object>
struct Dictionary_2_tBD1E3221EBD04CEBDA49B84779912E91F56B958D;
// System.Collections.Generic.Dictionary`2<System.String,System.Int32>
struct Dictionary_2_tC94E9875910491F8130C2DC8B11E4D1548A55162;
// System.Collections.Generic.Dictionary`2<System.String,System.UriParser>
struct Dictionary_2_t29257EB2565DDF3180663167EF129FA9827836C5;
// System.Collections.Generic.IEqualityComparer`1<System.Int32>
struct IEqualityComparer_1_t62010156673DE1460AB1D1CEBE5DCD48665E1A38;
// System.Collections.Generic.IEqualityComparer`1<System.String>
struct IEqualityComparer_1_tE6A65C5E45E33FD7D9849FD0914DE3AD32B68050;
// System.Collections.Generic.Dictionary`2/KeyCollection<System.Int32,System.String>
struct KeyCollection_t95CEC57CA04600603C7E9067D11E724EE99AD7D1;
// System.Collections.Generic.Dictionary`2/KeyCollection<System.String,System.UriParser>
struct KeyCollection_t4D8331BBA9E57CE61F833B1895C15542E3802424;
// System.Collections.Generic.Dictionary`2/ValueCollection<System.Int32,System.String>
struct ValueCollection_t5C221D6474B57B05A1EF91C1C6A7B1FA1CF361BF;
// System.Collections.Generic.Dictionary`2/ValueCollection<System.String,System.UriParser>
struct ValueCollection_t99ADD34BF63C2BCA597E9DD4C94B41AF81D39213;
// System.Collections.Generic.Dictionary`2/Entry<System.Int32,System.String>[]
struct EntryU5BU5D_t0760EF54F1EA7070181C04D5D34118DC91F943ED;
// System.Collections.Generic.Dictionary`2/Entry<System.String,System.UriParser>[]
struct EntryU5BU5D_tE4D5DAB840B6A8609AE3436A3952F21D08487BD2;
// System.Byte[]
struct ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726;
// System.Char[]
struct CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34;
// System.Int32[]
struct Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32;
// System.IntPtr[]
struct IntPtrU5BU5D_t27FC72B0409D75AAF33EC42498E8094E95FEE9A6;
// System.Object[]
struct ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE;
// System.Diagnostics.StackTrace[]
struct StackTraceU5BU5D_t4AD999C288CB6D1F38A299D12B1598D606588971;
// System.String[]
struct StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A;
// System.Type[]
struct TypeU5BU5D_t85B10489E46F06CEC7C4B1CCBD0E01FAB6649755;
// Mono.Security.ASN1
struct ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8;
// System.ArgumentException
struct ArgumentException_t505FA8C11E883F2D96C797AD9D396490794DEE00;
// System.ArgumentNullException
struct ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB;
// System.ArgumentOutOfRangeException
struct ArgumentOutOfRangeException_tFAF23713820951D4A09ABBFE5CC091E445A6F3D8;
// System.Collections.ArrayList
struct ArrayList_t6C1A49839DC1F0D568E8E11FA1626FCF0EC06575;
// System.Security.Cryptography.AsnEncodedData
struct AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA;
// System.Reflection.Binder
struct Binder_t2BEE27FD84737D1E79BC47FD67F6D3DD2F2DDA30;
// System.Globalization.CodePageDataItem
struct CodePageDataItem_t09A62F57142BF0456C8F414898A37E79BCC9F09E;
// System.Configuration.ConfigurationPropertyCollection
struct ConfigurationPropertyCollection_t8C098DB59DF7BA2C2A71369978F4225B92B2F59B;
// System.Security.Cryptography.CryptographicException
struct CryptographicException_tFFE56EF733D1150A0F3738DDE2CC4DE1A61849D5;
// System.Text.DecoderFallback
struct DecoderFallback_tF86D337D6576E81E5DA285E5673183EBC66DEF8D;
// System.Text.DecoderReplacementFallback
struct DecoderReplacementFallback_t8DA345EC4EF3A35A2667365F691EE69408A62130;
// System.Text.EncoderFallback
struct EncoderFallback_t02AC990075E17EB09F0D7E4831C3B3F264025CC4;
// System.Text.EncoderReplacementFallback
struct EncoderReplacementFallback_t61E36A507D7FA8034B49F86DBE560EC77A6A8418;
// System.Text.Encoding
struct Encoding_tE901442411E2E70039D2A4AE77FB81C3D6064827;
// System.Exception
struct Exception_t;
// System.Runtime.InteropServices.ExternalException
struct ExternalException_tC18275DD0AEB2CDF9F85D94670C5A49A4DC3B783;
// System.FormatException
struct FormatException_t119BB207B54B4B1BC28D9B1783C4625AE23D4759;
// System.Security.Cryptography.HashAlgorithm
struct HashAlgorithm_t7F831BEF35F9D0AF5016FFB0E474AF9F93908F31;
// System.Collections.Hashtable
struct Hashtable_t7565AB92A12227AD5BADD6911F10D87EE52509AC;
// System.Collections.IDictionary
struct IDictionary_t99871C56B8EC2452AC5C4CF3831695E617B89D3A;
// System.Runtime.Serialization.IFormatterConverter
struct IFormatterConverter_t2A667D8777429024D8A3CB3D9AE29EA79FEA6176;
// System.InvalidOperationException
struct InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB;
// System.Reflection.MemberFilter
struct MemberFilter_t48D0AA10105D186AF42428FA532D4B4332CF8B81;
// System.NotImplementedException
struct NotImplementedException_t26260C4EE0444C5FA022994203060B3A42A3ADE6;
// System.Security.Cryptography.Oid
struct Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800;
// System.Security.Cryptography.OidCollection
struct OidCollection_tA091E185B8840648BE96A6C547F0C26F88E3A902;
// System.Security.Cryptography.X509Certificates.PublicKey
struct PublicKey_t40ABE7E0985F3E274C9564670970EC6F3B39A4A2;
// System.Security.Cryptography.SHA1
struct SHA1_t15B592B9935E19EC3FD5679B969239AC572E2C0E;
// System.Runtime.Serialization.SafeSerializationManager
struct SafeSerializationManager_tDE44F029589A028F8A3053C5C06153FAB4AAE29F;
// System.Runtime.Serialization.SerializationInfo
struct SerializationInfo_t097DA64D9DB49ED7F2458E964BE8CCCF63FC67C1;
// System.String
struct String_t;
// System.Text.StringBuilder
struct StringBuilder_t;
// System.Type
struct Type_t;
// System.ComponentModel.TypeConverter
struct TypeConverter_t004F185B630F00F509F08BD8F8D82471867323B4;
// System.Uri
struct Uri_t4A915E1CC15B2C650F478099AD448E9466CBF612;
// System.UriFormatException
struct UriFormatException_tAA45C6D2264E9E74935A066FC3DF8DF68B37B61D;
// System.UriParser
struct UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A;
// System.UriTypeConverter
struct UriTypeConverter_tF512B4F48E57AC42B460E2847743CD78F4D24694;
// System.Void
struct Void_t700C6383A2A510C2CF4DD86DABD5CA9FF70ADAC5;
// System.Net.Configuration.WebProxyScriptElement
struct WebProxyScriptElement_t6E2DB4259FF77920BA00BBA7AC7E0BAC995FD76F;
// System.Net.Configuration.WebRequestModuleElementCollection
struct WebRequestModuleElementCollection_tC1A60891298C544F74DA731DDEEFE603015C09C9;
// System.Net.Configuration.WebRequestModulesSection
struct WebRequestModulesSection_t2F6BB673DEE919615116B391BA37F70831084603;
// System.ComponentModel.Win32Exception
struct Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950;
// System.Security.Cryptography.X509Certificates.X509BasicConstraintsExtension
struct X509BasicConstraintsExtension_t790FA4E7D9715A72A621A290FF0CDD5A647EF3CF;
// System.Security.Cryptography.X509Certificates.X509EnhancedKeyUsageExtension
struct X509EnhancedKeyUsageExtension_tD53B0C2AF93C2496461F2960946C5F40A33AC82B;
// System.Security.Cryptography.X509Certificates.X509Extension
struct X509Extension_t9142CAA11EB46CC4CAB51A26D3B84BDA06FA9FF5;
// System.Security.Cryptography.X509Certificates.X509KeyUsageExtension
struct X509KeyUsageExtension_tF78A71F87AEE0E0DC54DFF837AB2880E3D9CF227;
// System.Security.Cryptography.X509Certificates.X509SubjectKeyIdentifierExtension
struct X509SubjectKeyIdentifierExtension_t9781D24066D84C09C7137124FBC848491BF54567;
// System.Text.RegularExpressions.RegexCharClass/SingleRange
struct SingleRange_tEE8EA054843A8B8979D082D2CCC8E52A12155624;
// System.Text.RegularExpressions.RegexCharClass/SingleRangeComparer
struct SingleRangeComparer_t2D22B185700E925165F9548B3647E0E1FC9DB075;
// System.Uri/MoreInfo
struct MoreInfo_t15D42286ECE8DAD0B0FE9CDC1291109300C3E727;
// System.Uri/UriInfo
struct UriInfo_tCB2302A896132D1F70E47C3895FAB9A0F2A6EE45;
// System.UriParser/BuiltInUriParser
struct BuiltInUriParser_tD002C3439D3683127C216D09E22B0973AB9FDF26;
IL2CPP_EXTERN_C RuntimeClass* ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* ArgumentException_t505FA8C11E883F2D96C797AD9D396490794DEE00_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* ArgumentOutOfRangeException_tFAF23713820951D4A09ABBFE5CC091E445A6F3D8_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* BinaryCompatibility_t44EDF0C684F7241E727B341DF3896349BC34D810_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* BuiltInUriParser_tD002C3439D3683127C216D09E22B0973AB9FDF26_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Char_tFF60D8E7E89A20BE2294A003734341BD1DF43E14_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* CryptographicException_tFFE56EF733D1150A0F3738DDE2CC4DE1A61849D5_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* DecoderReplacementFallback_t8DA345EC4EF3A35A2667365F691EE69408A62130_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Dictionary_2_t0ACB62D0885C7AB376463C70665400A39808C5FB_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Dictionary_2_t29257EB2565DDF3180663167EF129FA9827836C5_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* EncoderReplacementFallback_t61E36A507D7FA8034B49F86DBE560EC77A6A8418_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Encoding_tE901442411E2E70039D2A4AE77FB81C3D6064827_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Marshal_tEBAFAE20369FCB1B38C49C4E27A8D8C2C4B55058_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Math_tA269614262430118C9FC5C4D9EF4F61C812568F0_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* NotImplementedException_t26260C4EE0444C5FA022994203060B3A42A3ADE6_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* OidCollection_tA091E185B8840648BE96A6C547F0C26F88E3A902_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* RuntimeObject_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* StringBuilder_t_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* String_t_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* UriComponents_tA599793722A9810EC23036FF1B1B02A905B4EA76_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* UriFormatException_tAA45C6D2264E9E74935A066FC3DF8DF68B37B61D_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* UriHelper_tBEFC75B3A4E9E35CB41ADAAE22E0D1D7EE65E53D_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Uri_t4A915E1CC15B2C650F478099AD448E9466CBF612_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeClass* X509Extension_t9142CAA11EB46CC4CAB51A26D3B84BDA06FA9FF5_il2cpp_TypeInfo_var;
IL2CPP_EXTERN_C RuntimeField* U3CPrivateImplementationDetailsU3E_t1267FAF6E08D720F26ABF676554E6948A7F6A2D0____59F5BD34B6C013DEACC784F69C67E95150033A84_0_FieldInfo_var;
IL2CPP_EXTERN_C String_t* _stringLiteral001611EA36FEB747E4C160A3E7A402813B416AF1;
IL2CPP_EXTERN_C String_t* _stringLiteral0B85D604B5CD78CCF01CDA620C0DEF5DCC5C1FD7;
IL2CPP_EXTERN_C String_t* _stringLiteral10FC672FB9F87F9D6AFF9F8D6BFF4199EF333405;
IL2CPP_EXTERN_C String_t* _stringLiteral11F95AF2256BE4BBDBEAF89CB3904A6AB1B3A01D;
IL2CPP_EXTERN_C String_t* _stringLiteral1207530D7D4A8643E4DA91D94090C5B782E8D4AA;
IL2CPP_EXTERN_C String_t* _stringLiteral19A87220AA9460BCE77166C6A721ECA99780C3E7;
IL2CPP_EXTERN_C String_t* _stringLiteral1E8AB4D0974C246EABB424179864CCBA5DCEE064;
IL2CPP_EXTERN_C String_t* _stringLiteral1EF9E33E97E3023577871E2EA773996440F2F5F9;
IL2CPP_EXTERN_C String_t* _stringLiteral20F8CFBBD4C388C4999BC67998CD7310A3357E3F;
IL2CPP_EXTERN_C String_t* _stringLiteral212797907CC7AD095EFEBD10D643DF1F9608C8C1;
IL2CPP_EXTERN_C String_t* _stringLiteral2243F389E5AA3DE4541A15C92A9BACE59F8BE4E3;
IL2CPP_EXTERN_C String_t* _stringLiteral2386E77CF610F786B06A91AF2C1B3FD2282D2745;
IL2CPP_EXTERN_C String_t* _stringLiteral244BA6FE8878C6A66F7648332C07125DF3AFBC4B;
IL2CPP_EXTERN_C String_t* _stringLiteral254B65344AFC181606CA4DFAD96AD5ECAF4EC1A4;
IL2CPP_EXTERN_C String_t* _stringLiteral2A97A21771096701008C3221E4E58C40E34C5D2A;
IL2CPP_EXTERN_C String_t* _stringLiteral2C0C7BE659E23DAFA1146EBB9040344301391983;
IL2CPP_EXTERN_C String_t* _stringLiteral2F709974418B85825D8E38ADF52E90B7496ED7A3;
IL2CPP_EXTERN_C String_t* _stringLiteral2F874A32C0360779E461A5ED6063EF8E6729A514;
IL2CPP_EXTERN_C String_t* _stringLiteral2FDCE7F577695853459152469012B0121731CD52;
IL2CPP_EXTERN_C String_t* _stringLiteral315E5D2D2D07B33F565952A5C0509A988785ABF6;
IL2CPP_EXTERN_C String_t* _stringLiteral324033F505A57738479E4A50C6C83DD40C3EEC72;
IL2CPP_EXTERN_C String_t* _stringLiteral324A15BBCCD67A1997F37BF20414A7EB61126AB5;
IL2CPP_EXTERN_C String_t* _stringLiteral36A832BCE093B1C64A8D587D84C04716FC3D8123;
IL2CPP_EXTERN_C String_t* _stringLiteral3AB04459C95BC4FFBBDA41BF1A685753EB83D903;
IL2CPP_EXTERN_C String_t* _stringLiteral3BF6290AF676E80C38F6589505DFD9ECD0590836;
IL2CPP_EXTERN_C String_t* _stringLiteral3C77EE02D0B62256DB746EEC2F12CB9BC801126A;
IL2CPP_EXTERN_C String_t* _stringLiteral3D3AA5822C64FA34CB5E37391CFC58263F937F30;
IL2CPP_EXTERN_C String_t* _stringLiteral3D578B33304CEDE293DF5286833AF99CB7582472;
IL2CPP_EXTERN_C String_t* _stringLiteral3ECCF64C0782442EC426220868830513FD924C3C;
IL2CPP_EXTERN_C String_t* _stringLiteral3EE5BCAF4F2ABF8C2E555D5760FA880AAB22CABF;
IL2CPP_EXTERN_C String_t* _stringLiteral3F87CFEF1A1BA898EEFCE807810982D16AC01A99;
IL2CPP_EXTERN_C String_t* _stringLiteral49FCFEB950E4FC1E14C6AB9024A0D20CC2BEB985;
IL2CPP_EXTERN_C String_t* _stringLiteral4ACEC7A42FAB928B0D1510DB60C3D35BC6DC4D9F;
IL2CPP_EXTERN_C String_t* _stringLiteral4FA8C3994CCEF6319AF0BED6CBC74C41F5E23E78;
IL2CPP_EXTERN_C String_t* _stringLiteral5274194BE573E6D86BDC850C768FAEBD25A0C72E;
IL2CPP_EXTERN_C String_t* _stringLiteral548D93DDB2AC6B24373148B19D9A625571AB2318;
IL2CPP_EXTERN_C String_t* _stringLiteral54C50EBA1F9B7D1A0F12E6A2A0DC78BF59231F31;
IL2CPP_EXTERN_C String_t* _stringLiteral56D7741BCA89552362FD24D11BB8980E3D8A444C;
IL2CPP_EXTERN_C String_t* _stringLiteral587B0E053519266A1A5628C5DBE03AA33A3BBE95;
IL2CPP_EXTERN_C String_t* _stringLiteral58B716FF5428F7961E1403E6D969E605D0F27EAF;
IL2CPP_EXTERN_C String_t* _stringLiteral5D1D45B6F90EF153C0073C0B7E9492B4DBF540F1;
IL2CPP_EXTERN_C String_t* _stringLiteral5D81741866E0AFB5638DF15167E9A90CDC2CF124;
IL2CPP_EXTERN_C String_t* _stringLiteral5EDC47BC71D706BB11343CC890323569C143CD50;
IL2CPP_EXTERN_C String_t* _stringLiteral5EF9365F8C43E6AB95C818EEEE9E5EF0D539BF1A;
IL2CPP_EXTERN_C String_t* _stringLiteral5EFEED0117DD1A53229D6D374013D42D30B1B19E;
IL2CPP_EXTERN_C String_t* _stringLiteral5FB56C8861544146EF414DAE01766AD43F440960;
IL2CPP_EXTERN_C String_t* _stringLiteral62F92E932A25B80B40DBB89A07F4AD690B6F800D;
IL2CPP_EXTERN_C String_t* _stringLiteral63DCC50AED43B00BB793B2D0F054171D9D12A15E;
IL2CPP_EXTERN_C String_t* _stringLiteral65A0F9B64ACE7C859A284EA54B1190CBF83E1260;
IL2CPP_EXTERN_C String_t* _stringLiteral6A1647F2AA7442466F1E26B4E54D7ACAA785F886;
IL2CPP_EXTERN_C String_t* _stringLiteral6F42498ADE17E452CCFC96AF356C74D51ACA0524;
IL2CPP_EXTERN_C String_t* _stringLiteral6F60E896CBE94313C35CDF8C33C899216DA269EF;
IL2CPP_EXTERN_C String_t* _stringLiteral6FEF7F07E4E5C8758103389685FF14ABCB30BD0B;
IL2CPP_EXTERN_C String_t* _stringLiteral70ACDB62BA3184CF43D7E26D62FB85E2340ED892;
IL2CPP_EXTERN_C String_t* _stringLiteral751F5076C7A89E0EBF4B8BBF42D19173A068D0FE;
IL2CPP_EXTERN_C String_t* _stringLiteral758733BDBED83CBFF4F635AC26CA92AAE477F75D;
IL2CPP_EXTERN_C String_t* _stringLiteral75C57EB9FD95FB9243FE99EBB78A77B0117BD190;
IL2CPP_EXTERN_C String_t* _stringLiteral75C9716749EA210206E3467390B7A11F3F33DDFA;
IL2CPP_EXTERN_C String_t* _stringLiteral7A4031343C4BF504EC9F4A28169986445F910C6A;
IL2CPP_EXTERN_C String_t* _stringLiteral830B64B4254C502C612E53C83DBEE6238E710499;
IL2CPP_EXTERN_C String_t* _stringLiteral8398C464CEF2A8E224363DAF635848402299705A;
IL2CPP_EXTERN_C String_t* _stringLiteral83F837B4325FC4400C4089A21E353D2D0CD0EF29;
IL2CPP_EXTERN_C String_t* _stringLiteral84A0343BF19D2274E807E1B6505C382F81D6E3C9;
IL2CPP_EXTERN_C String_t* _stringLiteral85C411E2A2C61BD26D48EEB5D245D2D203BD74BA;
IL2CPP_EXTERN_C String_t* _stringLiteral87D7C5E974D9C89FB52B8A53360C0C2E1DAAEC63;
IL2CPP_EXTERN_C String_t* _stringLiteral8BF693870A1CA202D2EE1A186395E62B409214FD;
IL2CPP_EXTERN_C String_t* _stringLiteral8CB5CAE4A06CBA4A72564C688228877DD24B9906;
IL2CPP_EXTERN_C String_t* _stringLiteral8D1E32D587015A9DB04576A49D22A6924F1B9D62;
IL2CPP_EXTERN_C String_t* _stringLiteral91E2D84A2649FBF80361A807D1020FB40280EF31;
IL2CPP_EXTERN_C String_t* _stringLiteral95FFF748EEEE6E0D4ADA84ED41FB391126B8CFF7;
IL2CPP_EXTERN_C String_t* _stringLiteral9610F86E2CB2A021571D9CE9BF9630C0084AAF00;
IL2CPP_EXTERN_C String_t* _stringLiteral9753F194FF9C1EAC5D2E1FAADADC2E63D96E516E;
IL2CPP_EXTERN_C String_t* _stringLiteral98086E81726E63C07D5EE51033D818164107DDF6;
IL2CPP_EXTERN_C String_t* _stringLiteral9C1ED970007229D4BBE511BC369FF3ACD197B1F2;
IL2CPP_EXTERN_C String_t* _stringLiteralA07CCE227D5A4E151B0A5EF141705717C77B8CFE;
IL2CPP_EXTERN_C String_t* _stringLiteralA3C5DC11C0F491C18EA087784CC4C662A0629733;
IL2CPP_EXTERN_C String_t* _stringLiteralA431B02F755D1ADA246246ACF4AD7497CFB57892;
IL2CPP_EXTERN_C String_t* _stringLiteralA7B00F7F25C375B2501A6ADBC86D092B23977085;
IL2CPP_EXTERN_C String_t* _stringLiteralA9AF8D13B64E63A31A01386E007E5C9CF3A6CF5B;
IL2CPP_EXTERN_C String_t* _stringLiteralAC705511F599E168CB4A19DE96F050E694A04892;
IL2CPP_EXTERN_C String_t* _stringLiteralAFA84BE1B233FD908181C2B76616E356218E5B31;
IL2CPP_EXTERN_C String_t* _stringLiteralB2AED74A19DD9414DD0792FD340CC531536B8454;
IL2CPP_EXTERN_C String_t* _stringLiteralB3F14BF976EFD974E34846B742502C802FABAE9D;
IL2CPP_EXTERN_C String_t* _stringLiteralB4A94E440E57B3321B2097CEC9E046D28EE1C0CD;
IL2CPP_EXTERN_C String_t* _stringLiteralB4F44FFF8E8B6A3CA093580564BB4F0DF515EB8E;
IL2CPP_EXTERN_C String_t* _stringLiteralBCBD089553BED56941C157C4F715B4365F724D7C;
IL2CPP_EXTERN_C String_t* _stringLiteralBE9CA5A938D04349B649020FA52D9EC24C97099D;
IL2CPP_EXTERN_C String_t* _stringLiteralC05DD95A56B355AAD74E9CE147B236E03FF8905E;
IL2CPP_EXTERN_C String_t* _stringLiteralC0A48EDC742B92D7EFD262D5F90073EE36ECFEFF;
IL2CPP_EXTERN_C String_t* _stringLiteralC32ED50300303AD9E773DE5B27CD33A424A6F172;
IL2CPP_EXTERN_C String_t* _stringLiteralC4E1CA5F695C0687C577DB8E17E55E7B5845A445;
IL2CPP_EXTERN_C String_t* _stringLiteralC517A672C519F103745EEF18967AD4081CBFAEE2;
IL2CPP_EXTERN_C String_t* _stringLiteralC54E67FF6B0A0F7026D9F0CA0C1E11CC59B88ADC;
IL2CPP_EXTERN_C String_t* _stringLiteralC9FB8C73B342D5B3C700EDA7C5212DD547D29E4E;
IL2CPP_EXTERN_C String_t* _stringLiteralCABCFE6297E437347D23F1B446C58DD70094E306;
IL2CPP_EXTERN_C String_t* _stringLiteralCC86C197E0FEFBC58402C83C0D74784A5C39CD74;
IL2CPP_EXTERN_C String_t* _stringLiteralCD32F08BAB4EE365057213BCC6332DD39C2DE46B;
IL2CPP_EXTERN_C String_t* _stringLiteralCD808C493DAE7E08DD825B3BE75EC7DF375082B6;
IL2CPP_EXTERN_C String_t* _stringLiteralCEF86F29033280F9E4D053455DDC08C8746E5E5E;
IL2CPP_EXTERN_C String_t* _stringLiteralD20A4058B7B405BF173793FAAC54A85874A0CDDE;
IL2CPP_EXTERN_C String_t* _stringLiteralD39E208E1EDCA34C72FCD76197E0EA7CD671D2F9;
IL2CPP_EXTERN_C String_t* _stringLiteralD615D452AAA84D559E3E5FFF5168A1AF47500E8D;
IL2CPP_EXTERN_C String_t* _stringLiteralD99605E29810F93D7DAE4EFBB764C41AF4E80D32;
IL2CPP_EXTERN_C String_t* _stringLiteralD9B53FE83B364433B53BD1F5712DD31D58258FB4;
IL2CPP_EXTERN_C String_t* _stringLiteralD9EDAE09EFB19C1354AEFDA553B4B5DC28D5CD87;
IL2CPP_EXTERN_C String_t* _stringLiteralDA0721C1938DB62218B172D4D91AD61AFD6EA65A;
IL2CPP_EXTERN_C String_t* _stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709;
IL2CPP_EXTERN_C String_t* _stringLiteralDD5A04FDCE8EDE26B5E78DE17CAB2D9DB4D10C73;
IL2CPP_EXTERN_C String_t* _stringLiteralDDA0FEDECC3765A8D5F295C4B302D615D29F3483;
IL2CPP_EXTERN_C String_t* _stringLiteralDE0A8A4B33338D09BDE82F544CF26FB4B56B9F98;
IL2CPP_EXTERN_C String_t* _stringLiteralDE9E1E6A7FD6E2514E97545C0BC4A067C0DAD5E7;
IL2CPP_EXTERN_C String_t* _stringLiteralDEB31152738116748FADCEF38CE0C9964DACCF2F;
IL2CPP_EXTERN_C String_t* _stringLiteralDF9B137BC764E0190EA1D7EEB32F2364F3F3A2DF;
IL2CPP_EXTERN_C String_t* _stringLiteralE13258345AC5ED7FA38D641004219DBE3A3FB56C;
IL2CPP_EXTERN_C String_t* _stringLiteralE657126EBF76C06687ED6EAD2C714E37315C927F;
IL2CPP_EXTERN_C String_t* _stringLiteralE6FA6FADCE3B49C8F065918B497F388AB44DA05D;
IL2CPP_EXTERN_C String_t* _stringLiteralE7C7449D840A91B3AF035F43E6106A0BC8372CC6;
IL2CPP_EXTERN_C String_t* _stringLiteralE7D028CCE3B6E7B61AE2C752D7AE970DA04AB7C6;
IL2CPP_EXTERN_C String_t* _stringLiteralEB6BBFD5D01FC65219978A6C56AF3DD9C51AD35E;
IL2CPP_EXTERN_C String_t* _stringLiteralEB9599E9ABB0C609991C09C03544164393F9661D;
IL2CPP_EXTERN_C String_t* _stringLiteralEDDFDA94752EB5111EC566E5CAF709B7133C43DA;
IL2CPP_EXTERN_C String_t* _stringLiteralEEAB711A5B5FD0EFECB9A5166B548777BDDB7901;
IL2CPP_EXTERN_C String_t* _stringLiteralF27E4C631EBEFA337EC21BE8552E169C9DED78A2;
IL2CPP_EXTERN_C String_t* _stringLiteralF388C7719B1FB6CFBD759164BEE4F33BB420FF6E;
IL2CPP_EXTERN_C String_t* _stringLiteralF64982ECFBBDC20AF3E40B6D5C0B68965820A033;
IL2CPP_EXTERN_C String_t* _stringLiteralF7C03E97995F6950303A46C204A216735E6B4582;
IL2CPP_EXTERN_C String_t* _stringLiteralFA1D72164D93990AA279210A8D4332B3E0A6C411;
IL2CPP_EXTERN_C String_t* _stringLiteralFCC60170DC9ECA079BBFC781ACD49B93D0E8C4AE;
IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2_TryGetValue_m05B3B2E9A02468956D9D51C30093821BFBC3C63A_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2_TryGetValue_mA9A5AC6DC5483E78A8A41145515BF11AF259409E_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2__ctor_mB40672A269C34DB22BA5BFAF2511631483E1690E_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2__ctor_mEF275C708A9D8C75BE351DE8D63068D20522B707_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2_get_Count_mC890D4862BCE096F4E905A751AEE39B30478357C_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2_set_Item_m43027DEBFCAF2EDBBE4B7A8573819B5A391A9993_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* UriHelper_EscapeString_m322E8737F58BBAF891A75032EC1800BE548F84D7_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* UriHelper_UnescapeString_m92E5C90E7DAE8DA5C7C1E6FB72B0F58321B6484C_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* UriParser_GetComponents_mEF92B7D8CD59B1C8502D195D775D02D2C844FC1B_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* WebProxyScriptElement__ctor_m943D653C6A20D602A9ED7F0D13E0ED41691CC2C2_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* WebProxyScriptElement_get_Properties_mD29E00ECE9AAA868495BECD6D88C48BBFE74F26E_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* WebRequestModuleElementCollection__ctor_mE32DEB8FF2F3E3582D6E9C291B6496BAFD182D3B_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* WebRequestModulesSection__ctor_mE9CD09355B8B10829D4B6D2681811DC7F199B8D2_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* WebRequestModulesSection_get_Properties_mF7B71DE46486B2AF3D42FB3B877CDBC35B5FFC2E_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* Win32Exception_GetObjectData_mFB1F75CC318DB1FA595ECA5466F331AEC686BB07_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* X509BasicConstraintsExtension_CopyFrom_mB87E2C5337CEE107018289CF81AD4ED7956A6ECD_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* X509BasicConstraintsExtension__ctor_m27365A2183995553C17661A9C5E6CFF474AEB33D_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* X509BasicConstraintsExtension_get_CertificateAuthority_mF7C866A45B3DE24A06EA3256B8FC0BA1989D038D_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* X509BasicConstraintsExtension_get_HasPathLengthConstraint_m04C1B45C4FF2FF902B45A5B1AE309D3816A3457A_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* X509BasicConstraintsExtension_get_PathLengthConstraint_m9401525125A220F1D51F130E3CC6E4C938E45566_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* X509EnhancedKeyUsageExtension_CopyFrom_mDD12A69F6804BA6B137A459CD941B367274C2B25_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* X509EnhancedKeyUsageExtension_Decode_m610C0C741966205F6DC0492BD17B28E1FED8D648_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* X509Extension_CopyFrom_m1D101C0A8E17FDC25EF1D7645F2A07E5AB7A3D1C_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* X509KeyUsageExtension_CopyFrom_m029A26C577528A8DF077CF68AD2787DC1E76FA7F_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* X509KeyUsageExtension_get_KeyUsages_mD2ADFD4CC335B85D453BCA75A8541D3DF099A8FB_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* X509SubjectKeyIdentifierExtension_CopyFrom_mA94CE978304FA27C3CD9719F34D85CD34FC3695D_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* X509SubjectKeyIdentifierExtension__ctor_m178F0928E93C151B64754E82C9613687D80671A0_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* X509SubjectKeyIdentifierExtension__ctor_m7CE599E8BEFBF176243E07100E2B9D1AD40E109E_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* X509SubjectKeyIdentifierExtension__ctor_mDEF8BD36D2A43B1BDC54760AC6E57458E5ECBFE6_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* X509SubjectKeyIdentifierExtension_get_SubjectKeyIdentifier_mD90F985708EE4E69C37AA8B09AEBBE64A4002601_RuntimeMethod_var;
IL2CPP_EXTERN_C const RuntimeMethod* X509Utils_FindOidInfo_m7CC1462A6CC9DA7C40CA09FA5EACEE9B9117EC8C_RuntimeMethod_var;
struct Exception_t_marshaled_com;
struct Exception_t_marshaled_pinvoke;
struct ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726;
struct CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34;
struct ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE;
IL2CPP_EXTERN_C_BEGIN
IL2CPP_EXTERN_C_END
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Object
// System.Collections.Generic.Dictionary`2<System.Int32,System.String>
struct Dictionary_2_t0ACB62D0885C7AB376463C70665400A39808C5FB : public RuntimeObject
{
public:
// System.Int32[] System.Collections.Generic.Dictionary`2::buckets
Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* ___buckets_0;
// System.Collections.Generic.Dictionary`2/Entry<TKey,TValue>[] System.Collections.Generic.Dictionary`2::entries
EntryU5BU5D_t0760EF54F1EA7070181C04D5D34118DC91F943ED* ___entries_1;
// System.Int32 System.Collections.Generic.Dictionary`2::count
int32_t ___count_2;
// System.Int32 System.Collections.Generic.Dictionary`2::version
int32_t ___version_3;
// System.Int32 System.Collections.Generic.Dictionary`2::freeList
int32_t ___freeList_4;
// System.Int32 System.Collections.Generic.Dictionary`2::freeCount
int32_t ___freeCount_5;
// System.Collections.Generic.IEqualityComparer`1<TKey> System.Collections.Generic.Dictionary`2::comparer
RuntimeObject* ___comparer_6;
// System.Collections.Generic.Dictionary`2/KeyCollection<TKey,TValue> System.Collections.Generic.Dictionary`2::keys
KeyCollection_t95CEC57CA04600603C7E9067D11E724EE99AD7D1 * ___keys_7;
// System.Collections.Generic.Dictionary`2/ValueCollection<TKey,TValue> System.Collections.Generic.Dictionary`2::values
ValueCollection_t5C221D6474B57B05A1EF91C1C6A7B1FA1CF361BF * ___values_8;
// System.Object System.Collections.Generic.Dictionary`2::_syncRoot
RuntimeObject * ____syncRoot_9;
public:
inline static int32_t get_offset_of_buckets_0() { return static_cast<int32_t>(offsetof(Dictionary_2_t0ACB62D0885C7AB376463C70665400A39808C5FB, ___buckets_0)); }
inline Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* get_buckets_0() const { return ___buckets_0; }
inline Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32** get_address_of_buckets_0() { return &___buckets_0; }
inline void set_buckets_0(Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* value)
{
___buckets_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___buckets_0), (void*)value);
}
inline static int32_t get_offset_of_entries_1() { return static_cast<int32_t>(offsetof(Dictionary_2_t0ACB62D0885C7AB376463C70665400A39808C5FB, ___entries_1)); }
inline EntryU5BU5D_t0760EF54F1EA7070181C04D5D34118DC91F943ED* get_entries_1() const { return ___entries_1; }
inline EntryU5BU5D_t0760EF54F1EA7070181C04D5D34118DC91F943ED** get_address_of_entries_1() { return &___entries_1; }
inline void set_entries_1(EntryU5BU5D_t0760EF54F1EA7070181C04D5D34118DC91F943ED* value)
{
___entries_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___entries_1), (void*)value);
}
inline static int32_t get_offset_of_count_2() { return static_cast<int32_t>(offsetof(Dictionary_2_t0ACB62D0885C7AB376463C70665400A39808C5FB, ___count_2)); }
inline int32_t get_count_2() const { return ___count_2; }
inline int32_t* get_address_of_count_2() { return &___count_2; }
inline void set_count_2(int32_t value)
{
___count_2 = value;
}
inline static int32_t get_offset_of_version_3() { return static_cast<int32_t>(offsetof(Dictionary_2_t0ACB62D0885C7AB376463C70665400A39808C5FB, ___version_3)); }
inline int32_t get_version_3() const { return ___version_3; }
inline int32_t* get_address_of_version_3() { return &___version_3; }
inline void set_version_3(int32_t value)
{
___version_3 = value;
}
inline static int32_t get_offset_of_freeList_4() { return static_cast<int32_t>(offsetof(Dictionary_2_t0ACB62D0885C7AB376463C70665400A39808C5FB, ___freeList_4)); }
inline int32_t get_freeList_4() const { return ___freeList_4; }
inline int32_t* get_address_of_freeList_4() { return &___freeList_4; }
inline void set_freeList_4(int32_t value)
{
___freeList_4 = value;
}
inline static int32_t get_offset_of_freeCount_5() { return static_cast<int32_t>(offsetof(Dictionary_2_t0ACB62D0885C7AB376463C70665400A39808C5FB, ___freeCount_5)); }
inline int32_t get_freeCount_5() const { return ___freeCount_5; }
inline int32_t* get_address_of_freeCount_5() { return &___freeCount_5; }
inline void set_freeCount_5(int32_t value)
{
___freeCount_5 = value;
}
inline static int32_t get_offset_of_comparer_6() { return static_cast<int32_t>(offsetof(Dictionary_2_t0ACB62D0885C7AB376463C70665400A39808C5FB, ___comparer_6)); }
inline RuntimeObject* get_comparer_6() const { return ___comparer_6; }
inline RuntimeObject** get_address_of_comparer_6() { return &___comparer_6; }
inline void set_comparer_6(RuntimeObject* value)
{
___comparer_6 = value;
Il2CppCodeGenWriteBarrier((void**)(&___comparer_6), (void*)value);
}
inline static int32_t get_offset_of_keys_7() { return static_cast<int32_t>(offsetof(Dictionary_2_t0ACB62D0885C7AB376463C70665400A39808C5FB, ___keys_7)); }
inline KeyCollection_t95CEC57CA04600603C7E9067D11E724EE99AD7D1 * get_keys_7() const { return ___keys_7; }
inline KeyCollection_t95CEC57CA04600603C7E9067D11E724EE99AD7D1 ** get_address_of_keys_7() { return &___keys_7; }
inline void set_keys_7(KeyCollection_t95CEC57CA04600603C7E9067D11E724EE99AD7D1 * value)
{
___keys_7 = value;
Il2CppCodeGenWriteBarrier((void**)(&___keys_7), (void*)value);
}
inline static int32_t get_offset_of_values_8() { return static_cast<int32_t>(offsetof(Dictionary_2_t0ACB62D0885C7AB376463C70665400A39808C5FB, ___values_8)); }
inline ValueCollection_t5C221D6474B57B05A1EF91C1C6A7B1FA1CF361BF * get_values_8() const { return ___values_8; }
inline ValueCollection_t5C221D6474B57B05A1EF91C1C6A7B1FA1CF361BF ** get_address_of_values_8() { return &___values_8; }
inline void set_values_8(ValueCollection_t5C221D6474B57B05A1EF91C1C6A7B1FA1CF361BF * value)
{
___values_8 = value;
Il2CppCodeGenWriteBarrier((void**)(&___values_8), (void*)value);
}
inline static int32_t get_offset_of__syncRoot_9() { return static_cast<int32_t>(offsetof(Dictionary_2_t0ACB62D0885C7AB376463C70665400A39808C5FB, ____syncRoot_9)); }
inline RuntimeObject * get__syncRoot_9() const { return ____syncRoot_9; }
inline RuntimeObject ** get_address_of__syncRoot_9() { return &____syncRoot_9; }
inline void set__syncRoot_9(RuntimeObject * value)
{
____syncRoot_9 = value;
Il2CppCodeGenWriteBarrier((void**)(&____syncRoot_9), (void*)value);
}
};
// System.Collections.Generic.Dictionary`2<System.String,System.UriParser>
struct Dictionary_2_t29257EB2565DDF3180663167EF129FA9827836C5 : public RuntimeObject
{
public:
// System.Int32[] System.Collections.Generic.Dictionary`2::buckets
Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* ___buckets_0;
// System.Collections.Generic.Dictionary`2/Entry<TKey,TValue>[] System.Collections.Generic.Dictionary`2::entries
EntryU5BU5D_tE4D5DAB840B6A8609AE3436A3952F21D08487BD2* ___entries_1;
// System.Int32 System.Collections.Generic.Dictionary`2::count
int32_t ___count_2;
// System.Int32 System.Collections.Generic.Dictionary`2::version
int32_t ___version_3;
// System.Int32 System.Collections.Generic.Dictionary`2::freeList
int32_t ___freeList_4;
// System.Int32 System.Collections.Generic.Dictionary`2::freeCount
int32_t ___freeCount_5;
// System.Collections.Generic.IEqualityComparer`1<TKey> System.Collections.Generic.Dictionary`2::comparer
RuntimeObject* ___comparer_6;
// System.Collections.Generic.Dictionary`2/KeyCollection<TKey,TValue> System.Collections.Generic.Dictionary`2::keys
KeyCollection_t4D8331BBA9E57CE61F833B1895C15542E3802424 * ___keys_7;
// System.Collections.Generic.Dictionary`2/ValueCollection<TKey,TValue> System.Collections.Generic.Dictionary`2::values
ValueCollection_t99ADD34BF63C2BCA597E9DD4C94B41AF81D39213 * ___values_8;
// System.Object System.Collections.Generic.Dictionary`2::_syncRoot
RuntimeObject * ____syncRoot_9;
public:
inline static int32_t get_offset_of_buckets_0() { return static_cast<int32_t>(offsetof(Dictionary_2_t29257EB2565DDF3180663167EF129FA9827836C5, ___buckets_0)); }
inline Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* get_buckets_0() const { return ___buckets_0; }
inline Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32** get_address_of_buckets_0() { return &___buckets_0; }
inline void set_buckets_0(Int32U5BU5D_t70F1BDC14B1786481B176D6139A5E3B87DC54C32* value)
{
___buckets_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___buckets_0), (void*)value);
}
inline static int32_t get_offset_of_entries_1() { return static_cast<int32_t>(offsetof(Dictionary_2_t29257EB2565DDF3180663167EF129FA9827836C5, ___entries_1)); }
inline EntryU5BU5D_tE4D5DAB840B6A8609AE3436A3952F21D08487BD2* get_entries_1() const { return ___entries_1; }
inline EntryU5BU5D_tE4D5DAB840B6A8609AE3436A3952F21D08487BD2** get_address_of_entries_1() { return &___entries_1; }
inline void set_entries_1(EntryU5BU5D_tE4D5DAB840B6A8609AE3436A3952F21D08487BD2* value)
{
___entries_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___entries_1), (void*)value);
}
inline static int32_t get_offset_of_count_2() { return static_cast<int32_t>(offsetof(Dictionary_2_t29257EB2565DDF3180663167EF129FA9827836C5, ___count_2)); }
inline int32_t get_count_2() const { return ___count_2; }
inline int32_t* get_address_of_count_2() { return &___count_2; }
inline void set_count_2(int32_t value)
{
___count_2 = value;
}
inline static int32_t get_offset_of_version_3() { return static_cast<int32_t>(offsetof(Dictionary_2_t29257EB2565DDF3180663167EF129FA9827836C5, ___version_3)); }
inline int32_t get_version_3() const { return ___version_3; }
inline int32_t* get_address_of_version_3() { return &___version_3; }
inline void set_version_3(int32_t value)
{
___version_3 = value;
}
inline static int32_t get_offset_of_freeList_4() { return static_cast<int32_t>(offsetof(Dictionary_2_t29257EB2565DDF3180663167EF129FA9827836C5, ___freeList_4)); }
inline int32_t get_freeList_4() const { return ___freeList_4; }
inline int32_t* get_address_of_freeList_4() { return &___freeList_4; }
inline void set_freeList_4(int32_t value)
{
___freeList_4 = value;
}
inline static int32_t get_offset_of_freeCount_5() { return static_cast<int32_t>(offsetof(Dictionary_2_t29257EB2565DDF3180663167EF129FA9827836C5, ___freeCount_5)); }
inline int32_t get_freeCount_5() const { return ___freeCount_5; }
inline int32_t* get_address_of_freeCount_5() { return &___freeCount_5; }
inline void set_freeCount_5(int32_t value)
{
___freeCount_5 = value;
}
inline static int32_t get_offset_of_comparer_6() { return static_cast<int32_t>(offsetof(Dictionary_2_t29257EB2565DDF3180663167EF129FA9827836C5, ___comparer_6)); }
inline RuntimeObject* get_comparer_6() const { return ___comparer_6; }
inline RuntimeObject** get_address_of_comparer_6() { return &___comparer_6; }
inline void set_comparer_6(RuntimeObject* value)
{
___comparer_6 = value;
Il2CppCodeGenWriteBarrier((void**)(&___comparer_6), (void*)value);
}
inline static int32_t get_offset_of_keys_7() { return static_cast<int32_t>(offsetof(Dictionary_2_t29257EB2565DDF3180663167EF129FA9827836C5, ___keys_7)); }
inline KeyCollection_t4D8331BBA9E57CE61F833B1895C15542E3802424 * get_keys_7() const { return ___keys_7; }
inline KeyCollection_t4D8331BBA9E57CE61F833B1895C15542E3802424 ** get_address_of_keys_7() { return &___keys_7; }
inline void set_keys_7(KeyCollection_t4D8331BBA9E57CE61F833B1895C15542E3802424 * value)
{
___keys_7 = value;
Il2CppCodeGenWriteBarrier((void**)(&___keys_7), (void*)value);
}
inline static int32_t get_offset_of_values_8() { return static_cast<int32_t>(offsetof(Dictionary_2_t29257EB2565DDF3180663167EF129FA9827836C5, ___values_8)); }
inline ValueCollection_t99ADD34BF63C2BCA597E9DD4C94B41AF81D39213 * get_values_8() const { return ___values_8; }
inline ValueCollection_t99ADD34BF63C2BCA597E9DD4C94B41AF81D39213 ** get_address_of_values_8() { return &___values_8; }
inline void set_values_8(ValueCollection_t99ADD34BF63C2BCA597E9DD4C94B41AF81D39213 * value)
{
___values_8 = value;
Il2CppCodeGenWriteBarrier((void**)(&___values_8), (void*)value);
}
inline static int32_t get_offset_of__syncRoot_9() { return static_cast<int32_t>(offsetof(Dictionary_2_t29257EB2565DDF3180663167EF129FA9827836C5, ____syncRoot_9)); }
inline RuntimeObject * get__syncRoot_9() const { return ____syncRoot_9; }
inline RuntimeObject ** get_address_of__syncRoot_9() { return &____syncRoot_9; }
inline void set__syncRoot_9(RuntimeObject * value)
{
____syncRoot_9 = value;
Il2CppCodeGenWriteBarrier((void**)(&____syncRoot_9), (void*)value);
}
};
// Mono.Security.ASN1
struct ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8 : public RuntimeObject
{
public:
// System.Byte Mono.Security.ASN1::m_nTag
uint8_t ___m_nTag_0;
// System.Byte[] Mono.Security.ASN1::m_aValue
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___m_aValue_1;
// System.Collections.ArrayList Mono.Security.ASN1::elist
ArrayList_t6C1A49839DC1F0D568E8E11FA1626FCF0EC06575 * ___elist_2;
public:
inline static int32_t get_offset_of_m_nTag_0() { return static_cast<int32_t>(offsetof(ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8, ___m_nTag_0)); }
inline uint8_t get_m_nTag_0() const { return ___m_nTag_0; }
inline uint8_t* get_address_of_m_nTag_0() { return &___m_nTag_0; }
inline void set_m_nTag_0(uint8_t value)
{
___m_nTag_0 = value;
}
inline static int32_t get_offset_of_m_aValue_1() { return static_cast<int32_t>(offsetof(ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8, ___m_aValue_1)); }
inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_m_aValue_1() const { return ___m_aValue_1; }
inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_m_aValue_1() { return &___m_aValue_1; }
inline void set_m_aValue_1(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
{
___m_aValue_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_aValue_1), (void*)value);
}
inline static int32_t get_offset_of_elist_2() { return static_cast<int32_t>(offsetof(ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8, ___elist_2)); }
inline ArrayList_t6C1A49839DC1F0D568E8E11FA1626FCF0EC06575 * get_elist_2() const { return ___elist_2; }
inline ArrayList_t6C1A49839DC1F0D568E8E11FA1626FCF0EC06575 ** get_address_of_elist_2() { return &___elist_2; }
inline void set_elist_2(ArrayList_t6C1A49839DC1F0D568E8E11FA1626FCF0EC06575 * value)
{
___elist_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___elist_2), (void*)value);
}
};
struct Il2CppArrayBounds;
// System.Array
// System.Security.Cryptography.AsnEncodedData
struct AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA : public RuntimeObject
{
public:
// System.Security.Cryptography.Oid System.Security.Cryptography.AsnEncodedData::_oid
Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800 * ____oid_0;
// System.Byte[] System.Security.Cryptography.AsnEncodedData::_raw
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ____raw_1;
public:
inline static int32_t get_offset_of__oid_0() { return static_cast<int32_t>(offsetof(AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA, ____oid_0)); }
inline Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800 * get__oid_0() const { return ____oid_0; }
inline Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800 ** get_address_of__oid_0() { return &____oid_0; }
inline void set__oid_0(Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800 * value)
{
____oid_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&____oid_0), (void*)value);
}
inline static int32_t get_offset_of__raw_1() { return static_cast<int32_t>(offsetof(AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA, ____raw_1)); }
inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get__raw_1() const { return ____raw_1; }
inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of__raw_1() { return &____raw_1; }
inline void set__raw_1(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
{
____raw_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&____raw_1), (void*)value);
}
};
// System.Runtime.Versioning.BinaryCompatibility
struct BinaryCompatibility_t44EDF0C684F7241E727B341DF3896349BC34D810 : public RuntimeObject
{
public:
public:
};
struct BinaryCompatibility_t44EDF0C684F7241E727B341DF3896349BC34D810_StaticFields
{
public:
// System.Boolean System.Runtime.Versioning.BinaryCompatibility::TargetsAtLeast_Desktop_V4_5
bool ___TargetsAtLeast_Desktop_V4_5_0;
// System.Boolean System.Runtime.Versioning.BinaryCompatibility::TargetsAtLeast_Desktop_V4_5_1
bool ___TargetsAtLeast_Desktop_V4_5_1_1;
public:
inline static int32_t get_offset_of_TargetsAtLeast_Desktop_V4_5_0() { return static_cast<int32_t>(offsetof(BinaryCompatibility_t44EDF0C684F7241E727B341DF3896349BC34D810_StaticFields, ___TargetsAtLeast_Desktop_V4_5_0)); }
inline bool get_TargetsAtLeast_Desktop_V4_5_0() const { return ___TargetsAtLeast_Desktop_V4_5_0; }
inline bool* get_address_of_TargetsAtLeast_Desktop_V4_5_0() { return &___TargetsAtLeast_Desktop_V4_5_0; }
inline void set_TargetsAtLeast_Desktop_V4_5_0(bool value)
{
___TargetsAtLeast_Desktop_V4_5_0 = value;
}
inline static int32_t get_offset_of_TargetsAtLeast_Desktop_V4_5_1_1() { return static_cast<int32_t>(offsetof(BinaryCompatibility_t44EDF0C684F7241E727B341DF3896349BC34D810_StaticFields, ___TargetsAtLeast_Desktop_V4_5_1_1)); }
inline bool get_TargetsAtLeast_Desktop_V4_5_1_1() const { return ___TargetsAtLeast_Desktop_V4_5_1_1; }
inline bool* get_address_of_TargetsAtLeast_Desktop_V4_5_1_1() { return &___TargetsAtLeast_Desktop_V4_5_1_1; }
inline void set_TargetsAtLeast_Desktop_V4_5_1_1(bool value)
{
___TargetsAtLeast_Desktop_V4_5_1_1 = value;
}
};
// System.Configuration.ConfigurationElement
struct ConfigurationElement_t571C446CFDFF39CF17130653C433786BEFF25DFA : public RuntimeObject
{
public:
public:
};
// System.Configuration.ConfigurationPropertyCollection
struct ConfigurationPropertyCollection_t8C098DB59DF7BA2C2A71369978F4225B92B2F59B : public RuntimeObject
{
public:
public:
};
// System.Text.DecoderFallback
struct DecoderFallback_tF86D337D6576E81E5DA285E5673183EBC66DEF8D : public RuntimeObject
{
public:
// System.Boolean System.Text.DecoderFallback::bIsMicrosoftBestFitFallback
bool ___bIsMicrosoftBestFitFallback_0;
public:
inline static int32_t get_offset_of_bIsMicrosoftBestFitFallback_0() { return static_cast<int32_t>(offsetof(DecoderFallback_tF86D337D6576E81E5DA285E5673183EBC66DEF8D, ___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 DecoderFallback_tF86D337D6576E81E5DA285E5673183EBC66DEF8D_StaticFields
{
public:
// System.Text.DecoderFallback modreq(System.Runtime.CompilerServices.IsVolatile) System.Text.DecoderFallback::replacementFallback
DecoderFallback_tF86D337D6576E81E5DA285E5673183EBC66DEF8D * ___replacementFallback_1;
// System.Text.DecoderFallback modreq(System.Runtime.CompilerServices.IsVolatile) System.Text.DecoderFallback::exceptionFallback
DecoderFallback_tF86D337D6576E81E5DA285E5673183EBC66DEF8D * ___exceptionFallback_2;
// System.Object System.Text.DecoderFallback::s_InternalSyncObject
RuntimeObject * ___s_InternalSyncObject_3;
public:
inline static int32_t get_offset_of_replacementFallback_1() { return static_cast<int32_t>(offsetof(DecoderFallback_tF86D337D6576E81E5DA285E5673183EBC66DEF8D_StaticFields, ___replacementFallback_1)); }
inline DecoderFallback_tF86D337D6576E81E5DA285E5673183EBC66DEF8D * get_replacementFallback_1() const { return ___replacementFallback_1; }
inline DecoderFallback_tF86D337D6576E81E5DA285E5673183EBC66DEF8D ** get_address_of_replacementFallback_1() { return &___replacementFallback_1; }
inline void set_replacementFallback_1(DecoderFallback_tF86D337D6576E81E5DA285E5673183EBC66DEF8D * value)
{
___replacementFallback_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___replacementFallback_1), (void*)value);
}
inline static int32_t get_offset_of_exceptionFallback_2() { return static_cast<int32_t>(offsetof(DecoderFallback_tF86D337D6576E81E5DA285E5673183EBC66DEF8D_StaticFields, ___exceptionFallback_2)); }
inline DecoderFallback_tF86D337D6576E81E5DA285E5673183EBC66DEF8D * get_exceptionFallback_2() const { return ___exceptionFallback_2; }
inline DecoderFallback_tF86D337D6576E81E5DA285E5673183EBC66DEF8D ** get_address_of_exceptionFallback_2() { return &___exceptionFallback_2; }
inline void set_exceptionFallback_2(DecoderFallback_tF86D337D6576E81E5DA285E5673183EBC66DEF8D * value)
{
___exceptionFallback_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___exceptionFallback_2), (void*)value);
}
inline static int32_t get_offset_of_s_InternalSyncObject_3() { return static_cast<int32_t>(offsetof(DecoderFallback_tF86D337D6576E81E5DA285E5673183EBC66DEF8D_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((void**)(&___s_InternalSyncObject_3), (void*)value);
}
};
// System.Text.EncoderFallback
struct EncoderFallback_t02AC990075E17EB09F0D7E4831C3B3F264025CC4 : 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_t02AC990075E17EB09F0D7E4831C3B3F264025CC4, ___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_t02AC990075E17EB09F0D7E4831C3B3F264025CC4_StaticFields
{
public:
// System.Text.EncoderFallback modreq(System.Runtime.CompilerServices.IsVolatile) System.Text.EncoderFallback::replacementFallback
EncoderFallback_t02AC990075E17EB09F0D7E4831C3B3F264025CC4 * ___replacementFallback_1;
// System.Text.EncoderFallback modreq(System.Runtime.CompilerServices.IsVolatile) System.Text.EncoderFallback::exceptionFallback
EncoderFallback_t02AC990075E17EB09F0D7E4831C3B3F264025CC4 * ___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_t02AC990075E17EB09F0D7E4831C3B3F264025CC4_StaticFields, ___replacementFallback_1)); }
inline EncoderFallback_t02AC990075E17EB09F0D7E4831C3B3F264025CC4 * get_replacementFallback_1() const { return ___replacementFallback_1; }
inline EncoderFallback_t02AC990075E17EB09F0D7E4831C3B3F264025CC4 ** get_address_of_replacementFallback_1() { return &___replacementFallback_1; }
inline void set_replacementFallback_1(EncoderFallback_t02AC990075E17EB09F0D7E4831C3B3F264025CC4 * value)
{
___replacementFallback_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___replacementFallback_1), (void*)value);
}
inline static int32_t get_offset_of_exceptionFallback_2() { return static_cast<int32_t>(offsetof(EncoderFallback_t02AC990075E17EB09F0D7E4831C3B3F264025CC4_StaticFields, ___exceptionFallback_2)); }
inline EncoderFallback_t02AC990075E17EB09F0D7E4831C3B3F264025CC4 * get_exceptionFallback_2() const { return ___exceptionFallback_2; }
inline EncoderFallback_t02AC990075E17EB09F0D7E4831C3B3F264025CC4 ** get_address_of_exceptionFallback_2() { return &___exceptionFallback_2; }
inline void set_exceptionFallback_2(EncoderFallback_t02AC990075E17EB09F0D7E4831C3B3F264025CC4 * value)
{
___exceptionFallback_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___exceptionFallback_2), (void*)value);
}
inline static int32_t get_offset_of_s_InternalSyncObject_3() { return static_cast<int32_t>(offsetof(EncoderFallback_t02AC990075E17EB09F0D7E4831C3B3F264025CC4_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((void**)(&___s_InternalSyncObject_3), (void*)value);
}
};
// System.Text.Encoding
struct Encoding_tE901442411E2E70039D2A4AE77FB81C3D6064827 : public RuntimeObject
{
public:
// System.Int32 System.Text.Encoding::m_codePage
int32_t ___m_codePage_9;
// System.Globalization.CodePageDataItem System.Text.Encoding::dataItem
CodePageDataItem_t09A62F57142BF0456C8F414898A37E79BCC9F09E * ___dataItem_10;
// System.Boolean System.Text.Encoding::m_deserializedFromEverett
bool ___m_deserializedFromEverett_11;
// System.Boolean System.Text.Encoding::m_isReadOnly
bool ___m_isReadOnly_12;
// System.Text.EncoderFallback System.Text.Encoding::encoderFallback
EncoderFallback_t02AC990075E17EB09F0D7E4831C3B3F264025CC4 * ___encoderFallback_13;
// System.Text.DecoderFallback System.Text.Encoding::decoderFallback
DecoderFallback_tF86D337D6576E81E5DA285E5673183EBC66DEF8D * ___decoderFallback_14;
public:
inline static int32_t get_offset_of_m_codePage_9() { return static_cast<int32_t>(offsetof(Encoding_tE901442411E2E70039D2A4AE77FB81C3D6064827, ___m_codePage_9)); }
inline int32_t get_m_codePage_9() const { return ___m_codePage_9; }
inline int32_t* get_address_of_m_codePage_9() { return &___m_codePage_9; }
inline void set_m_codePage_9(int32_t value)
{
___m_codePage_9 = value;
}
inline static int32_t get_offset_of_dataItem_10() { return static_cast<int32_t>(offsetof(Encoding_tE901442411E2E70039D2A4AE77FB81C3D6064827, ___dataItem_10)); }
inline CodePageDataItem_t09A62F57142BF0456C8F414898A37E79BCC9F09E * get_dataItem_10() const { return ___dataItem_10; }
inline CodePageDataItem_t09A62F57142BF0456C8F414898A37E79BCC9F09E ** get_address_of_dataItem_10() { return &___dataItem_10; }
inline void set_dataItem_10(CodePageDataItem_t09A62F57142BF0456C8F414898A37E79BCC9F09E * value)
{
___dataItem_10 = value;
Il2CppCodeGenWriteBarrier((void**)(&___dataItem_10), (void*)value);
}
inline static int32_t get_offset_of_m_deserializedFromEverett_11() { return static_cast<int32_t>(offsetof(Encoding_tE901442411E2E70039D2A4AE77FB81C3D6064827, ___m_deserializedFromEverett_11)); }
inline bool get_m_deserializedFromEverett_11() const { return ___m_deserializedFromEverett_11; }
inline bool* get_address_of_m_deserializedFromEverett_11() { return &___m_deserializedFromEverett_11; }
inline void set_m_deserializedFromEverett_11(bool value)
{
___m_deserializedFromEverett_11 = value;
}
inline static int32_t get_offset_of_m_isReadOnly_12() { return static_cast<int32_t>(offsetof(Encoding_tE901442411E2E70039D2A4AE77FB81C3D6064827, ___m_isReadOnly_12)); }
inline bool get_m_isReadOnly_12() const { return ___m_isReadOnly_12; }
inline bool* get_address_of_m_isReadOnly_12() { return &___m_isReadOnly_12; }
inline void set_m_isReadOnly_12(bool value)
{
___m_isReadOnly_12 = value;
}
inline static int32_t get_offset_of_encoderFallback_13() { return static_cast<int32_t>(offsetof(Encoding_tE901442411E2E70039D2A4AE77FB81C3D6064827, ___encoderFallback_13)); }
inline EncoderFallback_t02AC990075E17EB09F0D7E4831C3B3F264025CC4 * get_encoderFallback_13() const { return ___encoderFallback_13; }
inline EncoderFallback_t02AC990075E17EB09F0D7E4831C3B3F264025CC4 ** get_address_of_encoderFallback_13() { return &___encoderFallback_13; }
inline void set_encoderFallback_13(EncoderFallback_t02AC990075E17EB09F0D7E4831C3B3F264025CC4 * value)
{
___encoderFallback_13 = value;
Il2CppCodeGenWriteBarrier((void**)(&___encoderFallback_13), (void*)value);
}
inline static int32_t get_offset_of_decoderFallback_14() { return static_cast<int32_t>(offsetof(Encoding_tE901442411E2E70039D2A4AE77FB81C3D6064827, ___decoderFallback_14)); }
inline DecoderFallback_tF86D337D6576E81E5DA285E5673183EBC66DEF8D * get_decoderFallback_14() const { return ___decoderFallback_14; }
inline DecoderFallback_tF86D337D6576E81E5DA285E5673183EBC66DEF8D ** get_address_of_decoderFallback_14() { return &___decoderFallback_14; }
inline void set_decoderFallback_14(DecoderFallback_tF86D337D6576E81E5DA285E5673183EBC66DEF8D * value)
{
___decoderFallback_14 = value;
Il2CppCodeGenWriteBarrier((void**)(&___decoderFallback_14), (void*)value);
}
};
struct Encoding_tE901442411E2E70039D2A4AE77FB81C3D6064827_StaticFields
{
public:
// System.Text.Encoding modreq(System.Runtime.CompilerServices.IsVolatile) System.Text.Encoding::defaultEncoding
Encoding_tE901442411E2E70039D2A4AE77FB81C3D6064827 * ___defaultEncoding_0;
// System.Text.Encoding modreq(System.Runtime.CompilerServices.IsVolatile) System.Text.Encoding::unicodeEncoding
Encoding_tE901442411E2E70039D2A4AE77FB81C3D6064827 * ___unicodeEncoding_1;
// System.Text.Encoding modreq(System.Runtime.CompilerServices.IsVolatile) System.Text.Encoding::bigEndianUnicode
Encoding_tE901442411E2E70039D2A4AE77FB81C3D6064827 * ___bigEndianUnicode_2;
// System.Text.Encoding modreq(System.Runtime.CompilerServices.IsVolatile) System.Text.Encoding::utf7Encoding
Encoding_tE901442411E2E70039D2A4AE77FB81C3D6064827 * ___utf7Encoding_3;
// System.Text.Encoding modreq(System.Runtime.CompilerServices.IsVolatile) System.Text.Encoding::utf8Encoding
Encoding_tE901442411E2E70039D2A4AE77FB81C3D6064827 * ___utf8Encoding_4;
// System.Text.Encoding modreq(System.Runtime.CompilerServices.IsVolatile) System.Text.Encoding::utf32Encoding
Encoding_tE901442411E2E70039D2A4AE77FB81C3D6064827 * ___utf32Encoding_5;
// System.Text.Encoding modreq(System.Runtime.CompilerServices.IsVolatile) System.Text.Encoding::asciiEncoding
Encoding_tE901442411E2E70039D2A4AE77FB81C3D6064827 * ___asciiEncoding_6;
// System.Text.Encoding modreq(System.Runtime.CompilerServices.IsVolatile) System.Text.Encoding::latin1Encoding
Encoding_tE901442411E2E70039D2A4AE77FB81C3D6064827 * ___latin1Encoding_7;
// System.Collections.Hashtable modreq(System.Runtime.CompilerServices.IsVolatile) System.Text.Encoding::encodings
Hashtable_t7565AB92A12227AD5BADD6911F10D87EE52509AC * ___encodings_8;
// System.Object System.Text.Encoding::s_InternalSyncObject
RuntimeObject * ___s_InternalSyncObject_15;
public:
inline static int32_t get_offset_of_defaultEncoding_0() { return static_cast<int32_t>(offsetof(Encoding_tE901442411E2E70039D2A4AE77FB81C3D6064827_StaticFields, ___defaultEncoding_0)); }
inline Encoding_tE901442411E2E70039D2A4AE77FB81C3D6064827 * get_defaultEncoding_0() const { return ___defaultEncoding_0; }
inline Encoding_tE901442411E2E70039D2A4AE77FB81C3D6064827 ** get_address_of_defaultEncoding_0() { return &___defaultEncoding_0; }
inline void set_defaultEncoding_0(Encoding_tE901442411E2E70039D2A4AE77FB81C3D6064827 * value)
{
___defaultEncoding_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___defaultEncoding_0), (void*)value);
}
inline static int32_t get_offset_of_unicodeEncoding_1() { return static_cast<int32_t>(offsetof(Encoding_tE901442411E2E70039D2A4AE77FB81C3D6064827_StaticFields, ___unicodeEncoding_1)); }
inline Encoding_tE901442411E2E70039D2A4AE77FB81C3D6064827 * get_unicodeEncoding_1() const { return ___unicodeEncoding_1; }
inline Encoding_tE901442411E2E70039D2A4AE77FB81C3D6064827 ** get_address_of_unicodeEncoding_1() { return &___unicodeEncoding_1; }
inline void set_unicodeEncoding_1(Encoding_tE901442411E2E70039D2A4AE77FB81C3D6064827 * value)
{
___unicodeEncoding_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___unicodeEncoding_1), (void*)value);
}
inline static int32_t get_offset_of_bigEndianUnicode_2() { return static_cast<int32_t>(offsetof(Encoding_tE901442411E2E70039D2A4AE77FB81C3D6064827_StaticFields, ___bigEndianUnicode_2)); }
inline Encoding_tE901442411E2E70039D2A4AE77FB81C3D6064827 * get_bigEndianUnicode_2() const { return ___bigEndianUnicode_2; }
inline Encoding_tE901442411E2E70039D2A4AE77FB81C3D6064827 ** get_address_of_bigEndianUnicode_2() { return &___bigEndianUnicode_2; }
inline void set_bigEndianUnicode_2(Encoding_tE901442411E2E70039D2A4AE77FB81C3D6064827 * value)
{
___bigEndianUnicode_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___bigEndianUnicode_2), (void*)value);
}
inline static int32_t get_offset_of_utf7Encoding_3() { return static_cast<int32_t>(offsetof(Encoding_tE901442411E2E70039D2A4AE77FB81C3D6064827_StaticFields, ___utf7Encoding_3)); }
inline Encoding_tE901442411E2E70039D2A4AE77FB81C3D6064827 * get_utf7Encoding_3() const { return ___utf7Encoding_3; }
inline Encoding_tE901442411E2E70039D2A4AE77FB81C3D6064827 ** get_address_of_utf7Encoding_3() { return &___utf7Encoding_3; }
inline void set_utf7Encoding_3(Encoding_tE901442411E2E70039D2A4AE77FB81C3D6064827 * value)
{
___utf7Encoding_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&___utf7Encoding_3), (void*)value);
}
inline static int32_t get_offset_of_utf8Encoding_4() { return static_cast<int32_t>(offsetof(Encoding_tE901442411E2E70039D2A4AE77FB81C3D6064827_StaticFields, ___utf8Encoding_4)); }
inline Encoding_tE901442411E2E70039D2A4AE77FB81C3D6064827 * get_utf8Encoding_4() const { return ___utf8Encoding_4; }
inline Encoding_tE901442411E2E70039D2A4AE77FB81C3D6064827 ** get_address_of_utf8Encoding_4() { return &___utf8Encoding_4; }
inline void set_utf8Encoding_4(Encoding_tE901442411E2E70039D2A4AE77FB81C3D6064827 * value)
{
___utf8Encoding_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&___utf8Encoding_4), (void*)value);
}
inline static int32_t get_offset_of_utf32Encoding_5() { return static_cast<int32_t>(offsetof(Encoding_tE901442411E2E70039D2A4AE77FB81C3D6064827_StaticFields, ___utf32Encoding_5)); }
inline Encoding_tE901442411E2E70039D2A4AE77FB81C3D6064827 * get_utf32Encoding_5() const { return ___utf32Encoding_5; }
inline Encoding_tE901442411E2E70039D2A4AE77FB81C3D6064827 ** get_address_of_utf32Encoding_5() { return &___utf32Encoding_5; }
inline void set_utf32Encoding_5(Encoding_tE901442411E2E70039D2A4AE77FB81C3D6064827 * value)
{
___utf32Encoding_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&___utf32Encoding_5), (void*)value);
}
inline static int32_t get_offset_of_asciiEncoding_6() { return static_cast<int32_t>(offsetof(Encoding_tE901442411E2E70039D2A4AE77FB81C3D6064827_StaticFields, ___asciiEncoding_6)); }
inline Encoding_tE901442411E2E70039D2A4AE77FB81C3D6064827 * get_asciiEncoding_6() const { return ___asciiEncoding_6; }
inline Encoding_tE901442411E2E70039D2A4AE77FB81C3D6064827 ** get_address_of_asciiEncoding_6() { return &___asciiEncoding_6; }
inline void set_asciiEncoding_6(Encoding_tE901442411E2E70039D2A4AE77FB81C3D6064827 * value)
{
___asciiEncoding_6 = value;
Il2CppCodeGenWriteBarrier((void**)(&___asciiEncoding_6), (void*)value);
}
inline static int32_t get_offset_of_latin1Encoding_7() { return static_cast<int32_t>(offsetof(Encoding_tE901442411E2E70039D2A4AE77FB81C3D6064827_StaticFields, ___latin1Encoding_7)); }
inline Encoding_tE901442411E2E70039D2A4AE77FB81C3D6064827 * get_latin1Encoding_7() const { return ___latin1Encoding_7; }
inline Encoding_tE901442411E2E70039D2A4AE77FB81C3D6064827 ** get_address_of_latin1Encoding_7() { return &___latin1Encoding_7; }
inline void set_latin1Encoding_7(Encoding_tE901442411E2E70039D2A4AE77FB81C3D6064827 * value)
{
___latin1Encoding_7 = value;
Il2CppCodeGenWriteBarrier((void**)(&___latin1Encoding_7), (void*)value);
}
inline static int32_t get_offset_of_encodings_8() { return static_cast<int32_t>(offsetof(Encoding_tE901442411E2E70039D2A4AE77FB81C3D6064827_StaticFields, ___encodings_8)); }
inline Hashtable_t7565AB92A12227AD5BADD6911F10D87EE52509AC * get_encodings_8() const { return ___encodings_8; }
inline Hashtable_t7565AB92A12227AD5BADD6911F10D87EE52509AC ** get_address_of_encodings_8() { return &___encodings_8; }
inline void set_encodings_8(Hashtable_t7565AB92A12227AD5BADD6911F10D87EE52509AC * value)
{
___encodings_8 = value;
Il2CppCodeGenWriteBarrier((void**)(&___encodings_8), (void*)value);
}
inline static int32_t get_offset_of_s_InternalSyncObject_15() { return static_cast<int32_t>(offsetof(Encoding_tE901442411E2E70039D2A4AE77FB81C3D6064827_StaticFields, ___s_InternalSyncObject_15)); }
inline RuntimeObject * get_s_InternalSyncObject_15() const { return ___s_InternalSyncObject_15; }
inline RuntimeObject ** get_address_of_s_InternalSyncObject_15() { return &___s_InternalSyncObject_15; }
inline void set_s_InternalSyncObject_15(RuntimeObject * value)
{
___s_InternalSyncObject_15 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_InternalSyncObject_15), (void*)value);
}
};
// System.Security.Cryptography.HashAlgorithm
struct HashAlgorithm_t7F831BEF35F9D0AF5016FFB0E474AF9F93908F31 : public RuntimeObject
{
public:
// System.Int32 System.Security.Cryptography.HashAlgorithm::HashSizeValue
int32_t ___HashSizeValue_0;
// System.Byte[] System.Security.Cryptography.HashAlgorithm::HashValue
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___HashValue_1;
// System.Int32 System.Security.Cryptography.HashAlgorithm::State
int32_t ___State_2;
// System.Boolean System.Security.Cryptography.HashAlgorithm::m_bDisposed
bool ___m_bDisposed_3;
public:
inline static int32_t get_offset_of_HashSizeValue_0() { return static_cast<int32_t>(offsetof(HashAlgorithm_t7F831BEF35F9D0AF5016FFB0E474AF9F93908F31, ___HashSizeValue_0)); }
inline int32_t get_HashSizeValue_0() const { return ___HashSizeValue_0; }
inline int32_t* get_address_of_HashSizeValue_0() { return &___HashSizeValue_0; }
inline void set_HashSizeValue_0(int32_t value)
{
___HashSizeValue_0 = value;
}
inline static int32_t get_offset_of_HashValue_1() { return static_cast<int32_t>(offsetof(HashAlgorithm_t7F831BEF35F9D0AF5016FFB0E474AF9F93908F31, ___HashValue_1)); }
inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_HashValue_1() const { return ___HashValue_1; }
inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_HashValue_1() { return &___HashValue_1; }
inline void set_HashValue_1(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
{
___HashValue_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___HashValue_1), (void*)value);
}
inline static int32_t get_offset_of_State_2() { return static_cast<int32_t>(offsetof(HashAlgorithm_t7F831BEF35F9D0AF5016FFB0E474AF9F93908F31, ___State_2)); }
inline int32_t get_State_2() const { return ___State_2; }
inline int32_t* get_address_of_State_2() { return &___State_2; }
inline void set_State_2(int32_t value)
{
___State_2 = value;
}
inline static int32_t get_offset_of_m_bDisposed_3() { return static_cast<int32_t>(offsetof(HashAlgorithm_t7F831BEF35F9D0AF5016FFB0E474AF9F93908F31, ___m_bDisposed_3)); }
inline bool get_m_bDisposed_3() const { return ___m_bDisposed_3; }
inline bool* get_address_of_m_bDisposed_3() { return &___m_bDisposed_3; }
inline void set_m_bDisposed_3(bool value)
{
___m_bDisposed_3 = value;
}
};
// System.Reflection.MemberInfo
struct MemberInfo_t : public RuntimeObject
{
public:
public:
};
// System.Security.Cryptography.OidCollection
struct OidCollection_tA091E185B8840648BE96A6C547F0C26F88E3A902 : public RuntimeObject
{
public:
// System.Collections.ArrayList System.Security.Cryptography.OidCollection::m_list
ArrayList_t6C1A49839DC1F0D568E8E11FA1626FCF0EC06575 * ___m_list_0;
public:
inline static int32_t get_offset_of_m_list_0() { return static_cast<int32_t>(offsetof(OidCollection_tA091E185B8840648BE96A6C547F0C26F88E3A902, ___m_list_0)); }
inline ArrayList_t6C1A49839DC1F0D568E8E11FA1626FCF0EC06575 * get_m_list_0() const { return ___m_list_0; }
inline ArrayList_t6C1A49839DC1F0D568E8E11FA1626FCF0EC06575 ** get_address_of_m_list_0() { return &___m_list_0; }
inline void set_m_list_0(ArrayList_t6C1A49839DC1F0D568E8E11FA1626FCF0EC06575 * value)
{
___m_list_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_list_0), (void*)value);
}
};
// System.Security.Cryptography.X509Certificates.PublicKey
struct PublicKey_t40ABE7E0985F3E274C9564670970EC6F3B39A4A2 : public RuntimeObject
{
public:
// System.Security.Cryptography.AsnEncodedData System.Security.Cryptography.X509Certificates.PublicKey::_keyValue
AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA * ____keyValue_0;
// System.Security.Cryptography.AsnEncodedData System.Security.Cryptography.X509Certificates.PublicKey::_params
AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA * ____params_1;
// System.Security.Cryptography.Oid System.Security.Cryptography.X509Certificates.PublicKey::_oid
Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800 * ____oid_2;
public:
inline static int32_t get_offset_of__keyValue_0() { return static_cast<int32_t>(offsetof(PublicKey_t40ABE7E0985F3E274C9564670970EC6F3B39A4A2, ____keyValue_0)); }
inline AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA * get__keyValue_0() const { return ____keyValue_0; }
inline AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA ** get_address_of__keyValue_0() { return &____keyValue_0; }
inline void set__keyValue_0(AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA * value)
{
____keyValue_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&____keyValue_0), (void*)value);
}
inline static int32_t get_offset_of__params_1() { return static_cast<int32_t>(offsetof(PublicKey_t40ABE7E0985F3E274C9564670970EC6F3B39A4A2, ____params_1)); }
inline AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA * get__params_1() const { return ____params_1; }
inline AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA ** get_address_of__params_1() { return &____params_1; }
inline void set__params_1(AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA * value)
{
____params_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&____params_1), (void*)value);
}
inline static int32_t get_offset_of__oid_2() { return static_cast<int32_t>(offsetof(PublicKey_t40ABE7E0985F3E274C9564670970EC6F3B39A4A2, ____oid_2)); }
inline Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800 * get__oid_2() const { return ____oid_2; }
inline Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800 ** get_address_of__oid_2() { return &____oid_2; }
inline void set__oid_2(Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800 * value)
{
____oid_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&____oid_2), (void*)value);
}
};
struct PublicKey_t40ABE7E0985F3E274C9564670970EC6F3B39A4A2_StaticFields
{
public:
// System.Byte[] System.Security.Cryptography.X509Certificates.PublicKey::Empty
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___Empty_3;
public:
inline static int32_t get_offset_of_Empty_3() { return static_cast<int32_t>(offsetof(PublicKey_t40ABE7E0985F3E274C9564670970EC6F3B39A4A2_StaticFields, ___Empty_3)); }
inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_Empty_3() const { return ___Empty_3; }
inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_Empty_3() { return &___Empty_3; }
inline void set_Empty_3(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
{
___Empty_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&___Empty_3), (void*)value);
}
};
// System.Runtime.Serialization.SerializationInfo
struct SerializationInfo_t097DA64D9DB49ED7F2458E964BE8CCCF63FC67C1 : public RuntimeObject
{
public:
// System.String[] System.Runtime.Serialization.SerializationInfo::m_members
StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* ___m_members_3;
// System.Object[] System.Runtime.Serialization.SerializationInfo::m_data
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* ___m_data_4;
// System.Type[] System.Runtime.Serialization.SerializationInfo::m_types
TypeU5BU5D_t85B10489E46F06CEC7C4B1CCBD0E01FAB6649755* ___m_types_5;
// System.Collections.Generic.Dictionary`2<System.String,System.Int32> System.Runtime.Serialization.SerializationInfo::m_nameToIndex
Dictionary_2_tC94E9875910491F8130C2DC8B11E4D1548A55162 * ___m_nameToIndex_6;
// System.Int32 System.Runtime.Serialization.SerializationInfo::m_currMember
int32_t ___m_currMember_7;
// System.Runtime.Serialization.IFormatterConverter System.Runtime.Serialization.SerializationInfo::m_converter
RuntimeObject* ___m_converter_8;
// System.String System.Runtime.Serialization.SerializationInfo::m_fullTypeName
String_t* ___m_fullTypeName_9;
// System.String System.Runtime.Serialization.SerializationInfo::m_assemName
String_t* ___m_assemName_10;
// System.Type System.Runtime.Serialization.SerializationInfo::objectType
Type_t * ___objectType_11;
// System.Boolean System.Runtime.Serialization.SerializationInfo::isFullTypeNameSetExplicit
bool ___isFullTypeNameSetExplicit_12;
// System.Boolean System.Runtime.Serialization.SerializationInfo::isAssemblyNameSetExplicit
bool ___isAssemblyNameSetExplicit_13;
// System.Boolean System.Runtime.Serialization.SerializationInfo::requireSameTokenInPartialTrust
bool ___requireSameTokenInPartialTrust_14;
public:
inline static int32_t get_offset_of_m_members_3() { return static_cast<int32_t>(offsetof(SerializationInfo_t097DA64D9DB49ED7F2458E964BE8CCCF63FC67C1, ___m_members_3)); }
inline StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* get_m_members_3() const { return ___m_members_3; }
inline StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A** get_address_of_m_members_3() { return &___m_members_3; }
inline void set_m_members_3(StringU5BU5D_tACEBFEDE350025B554CD507C9AE8FFE49359549A* value)
{
___m_members_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_members_3), (void*)value);
}
inline static int32_t get_offset_of_m_data_4() { return static_cast<int32_t>(offsetof(SerializationInfo_t097DA64D9DB49ED7F2458E964BE8CCCF63FC67C1, ___m_data_4)); }
inline ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* get_m_data_4() const { return ___m_data_4; }
inline ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE** get_address_of_m_data_4() { return &___m_data_4; }
inline void set_m_data_4(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* value)
{
___m_data_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_data_4), (void*)value);
}
inline static int32_t get_offset_of_m_types_5() { return static_cast<int32_t>(offsetof(SerializationInfo_t097DA64D9DB49ED7F2458E964BE8CCCF63FC67C1, ___m_types_5)); }
inline TypeU5BU5D_t85B10489E46F06CEC7C4B1CCBD0E01FAB6649755* get_m_types_5() const { return ___m_types_5; }
inline TypeU5BU5D_t85B10489E46F06CEC7C4B1CCBD0E01FAB6649755** get_address_of_m_types_5() { return &___m_types_5; }
inline void set_m_types_5(TypeU5BU5D_t85B10489E46F06CEC7C4B1CCBD0E01FAB6649755* value)
{
___m_types_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_types_5), (void*)value);
}
inline static int32_t get_offset_of_m_nameToIndex_6() { return static_cast<int32_t>(offsetof(SerializationInfo_t097DA64D9DB49ED7F2458E964BE8CCCF63FC67C1, ___m_nameToIndex_6)); }
inline Dictionary_2_tC94E9875910491F8130C2DC8B11E4D1548A55162 * get_m_nameToIndex_6() const { return ___m_nameToIndex_6; }
inline Dictionary_2_tC94E9875910491F8130C2DC8B11E4D1548A55162 ** get_address_of_m_nameToIndex_6() { return &___m_nameToIndex_6; }
inline void set_m_nameToIndex_6(Dictionary_2_tC94E9875910491F8130C2DC8B11E4D1548A55162 * value)
{
___m_nameToIndex_6 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_nameToIndex_6), (void*)value);
}
inline static int32_t get_offset_of_m_currMember_7() { return static_cast<int32_t>(offsetof(SerializationInfo_t097DA64D9DB49ED7F2458E964BE8CCCF63FC67C1, ___m_currMember_7)); }
inline int32_t get_m_currMember_7() const { return ___m_currMember_7; }
inline int32_t* get_address_of_m_currMember_7() { return &___m_currMember_7; }
inline void set_m_currMember_7(int32_t value)
{
___m_currMember_7 = value;
}
inline static int32_t get_offset_of_m_converter_8() { return static_cast<int32_t>(offsetof(SerializationInfo_t097DA64D9DB49ED7F2458E964BE8CCCF63FC67C1, ___m_converter_8)); }
inline RuntimeObject* get_m_converter_8() const { return ___m_converter_8; }
inline RuntimeObject** get_address_of_m_converter_8() { return &___m_converter_8; }
inline void set_m_converter_8(RuntimeObject* value)
{
___m_converter_8 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_converter_8), (void*)value);
}
inline static int32_t get_offset_of_m_fullTypeName_9() { return static_cast<int32_t>(offsetof(SerializationInfo_t097DA64D9DB49ED7F2458E964BE8CCCF63FC67C1, ___m_fullTypeName_9)); }
inline String_t* get_m_fullTypeName_9() const { return ___m_fullTypeName_9; }
inline String_t** get_address_of_m_fullTypeName_9() { return &___m_fullTypeName_9; }
inline void set_m_fullTypeName_9(String_t* value)
{
___m_fullTypeName_9 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_fullTypeName_9), (void*)value);
}
inline static int32_t get_offset_of_m_assemName_10() { return static_cast<int32_t>(offsetof(SerializationInfo_t097DA64D9DB49ED7F2458E964BE8CCCF63FC67C1, ___m_assemName_10)); }
inline String_t* get_m_assemName_10() const { return ___m_assemName_10; }
inline String_t** get_address_of_m_assemName_10() { return &___m_assemName_10; }
inline void set_m_assemName_10(String_t* value)
{
___m_assemName_10 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_assemName_10), (void*)value);
}
inline static int32_t get_offset_of_objectType_11() { return static_cast<int32_t>(offsetof(SerializationInfo_t097DA64D9DB49ED7F2458E964BE8CCCF63FC67C1, ___objectType_11)); }
inline Type_t * get_objectType_11() const { return ___objectType_11; }
inline Type_t ** get_address_of_objectType_11() { return &___objectType_11; }
inline void set_objectType_11(Type_t * value)
{
___objectType_11 = value;
Il2CppCodeGenWriteBarrier((void**)(&___objectType_11), (void*)value);
}
inline static int32_t get_offset_of_isFullTypeNameSetExplicit_12() { return static_cast<int32_t>(offsetof(SerializationInfo_t097DA64D9DB49ED7F2458E964BE8CCCF63FC67C1, ___isFullTypeNameSetExplicit_12)); }
inline bool get_isFullTypeNameSetExplicit_12() const { return ___isFullTypeNameSetExplicit_12; }
inline bool* get_address_of_isFullTypeNameSetExplicit_12() { return &___isFullTypeNameSetExplicit_12; }
inline void set_isFullTypeNameSetExplicit_12(bool value)
{
___isFullTypeNameSetExplicit_12 = value;
}
inline static int32_t get_offset_of_isAssemblyNameSetExplicit_13() { return static_cast<int32_t>(offsetof(SerializationInfo_t097DA64D9DB49ED7F2458E964BE8CCCF63FC67C1, ___isAssemblyNameSetExplicit_13)); }
inline bool get_isAssemblyNameSetExplicit_13() const { return ___isAssemblyNameSetExplicit_13; }
inline bool* get_address_of_isAssemblyNameSetExplicit_13() { return &___isAssemblyNameSetExplicit_13; }
inline void set_isAssemblyNameSetExplicit_13(bool value)
{
___isAssemblyNameSetExplicit_13 = value;
}
inline static int32_t get_offset_of_requireSameTokenInPartialTrust_14() { return static_cast<int32_t>(offsetof(SerializationInfo_t097DA64D9DB49ED7F2458E964BE8CCCF63FC67C1, ___requireSameTokenInPartialTrust_14)); }
inline bool get_requireSameTokenInPartialTrust_14() const { return ___requireSameTokenInPartialTrust_14; }
inline bool* get_address_of_requireSameTokenInPartialTrust_14() { return &___requireSameTokenInPartialTrust_14; }
inline void set_requireSameTokenInPartialTrust_14(bool value)
{
___requireSameTokenInPartialTrust_14 = value;
}
};
// 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((void**)(&___Empty_5), (void*)value);
}
};
// System.Text.StringBuilder
struct StringBuilder_t : public RuntimeObject
{
public:
// System.Char[] System.Text.StringBuilder::m_ChunkChars
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* ___m_ChunkChars_0;
// System.Text.StringBuilder System.Text.StringBuilder::m_ChunkPrevious
StringBuilder_t * ___m_ChunkPrevious_1;
// System.Int32 System.Text.StringBuilder::m_ChunkLength
int32_t ___m_ChunkLength_2;
// System.Int32 System.Text.StringBuilder::m_ChunkOffset
int32_t ___m_ChunkOffset_3;
// System.Int32 System.Text.StringBuilder::m_MaxCapacity
int32_t ___m_MaxCapacity_4;
public:
inline static int32_t get_offset_of_m_ChunkChars_0() { return static_cast<int32_t>(offsetof(StringBuilder_t, ___m_ChunkChars_0)); }
inline CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* get_m_ChunkChars_0() const { return ___m_ChunkChars_0; }
inline CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34** get_address_of_m_ChunkChars_0() { return &___m_ChunkChars_0; }
inline void set_m_ChunkChars_0(CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* value)
{
___m_ChunkChars_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_ChunkChars_0), (void*)value);
}
inline static int32_t get_offset_of_m_ChunkPrevious_1() { return static_cast<int32_t>(offsetof(StringBuilder_t, ___m_ChunkPrevious_1)); }
inline StringBuilder_t * get_m_ChunkPrevious_1() const { return ___m_ChunkPrevious_1; }
inline StringBuilder_t ** get_address_of_m_ChunkPrevious_1() { return &___m_ChunkPrevious_1; }
inline void set_m_ChunkPrevious_1(StringBuilder_t * value)
{
___m_ChunkPrevious_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_ChunkPrevious_1), (void*)value);
}
inline static int32_t get_offset_of_m_ChunkLength_2() { return static_cast<int32_t>(offsetof(StringBuilder_t, ___m_ChunkLength_2)); }
inline int32_t get_m_ChunkLength_2() const { return ___m_ChunkLength_2; }
inline int32_t* get_address_of_m_ChunkLength_2() { return &___m_ChunkLength_2; }
inline void set_m_ChunkLength_2(int32_t value)
{
___m_ChunkLength_2 = value;
}
inline static int32_t get_offset_of_m_ChunkOffset_3() { return static_cast<int32_t>(offsetof(StringBuilder_t, ___m_ChunkOffset_3)); }
inline int32_t get_m_ChunkOffset_3() const { return ___m_ChunkOffset_3; }
inline int32_t* get_address_of_m_ChunkOffset_3() { return &___m_ChunkOffset_3; }
inline void set_m_ChunkOffset_3(int32_t value)
{
___m_ChunkOffset_3 = value;
}
inline static int32_t get_offset_of_m_MaxCapacity_4() { return static_cast<int32_t>(offsetof(StringBuilder_t, ___m_MaxCapacity_4)); }
inline int32_t get_m_MaxCapacity_4() const { return ___m_MaxCapacity_4; }
inline int32_t* get_address_of_m_MaxCapacity_4() { return &___m_MaxCapacity_4; }
inline void set_m_MaxCapacity_4(int32_t value)
{
___m_MaxCapacity_4 = value;
}
};
// System.UriHelper
struct UriHelper_tBEFC75B3A4E9E35CB41ADAAE22E0D1D7EE65E53D : public RuntimeObject
{
public:
public:
};
struct UriHelper_tBEFC75B3A4E9E35CB41ADAAE22E0D1D7EE65E53D_StaticFields
{
public:
// System.Char[] System.UriHelper::HexUpperChars
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* ___HexUpperChars_0;
public:
inline static int32_t get_offset_of_HexUpperChars_0() { return static_cast<int32_t>(offsetof(UriHelper_tBEFC75B3A4E9E35CB41ADAAE22E0D1D7EE65E53D_StaticFields, ___HexUpperChars_0)); }
inline CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* get_HexUpperChars_0() const { return ___HexUpperChars_0; }
inline CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34** get_address_of_HexUpperChars_0() { return &___HexUpperChars_0; }
inline void set_HexUpperChars_0(CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* value)
{
___HexUpperChars_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___HexUpperChars_0), (void*)value);
}
};
// System.ValueType
struct ValueType_tDBF999C1B75C48C68621878250DBF6CDBCF51E52 : public RuntimeObject
{
public:
public:
};
// Native definition for P/Invoke marshalling of System.ValueType
struct ValueType_tDBF999C1B75C48C68621878250DBF6CDBCF51E52_marshaled_pinvoke
{
};
// Native definition for COM marshalling of System.ValueType
struct ValueType_tDBF999C1B75C48C68621878250DBF6CDBCF51E52_marshaled_com
{
};
// System.Security.Cryptography.X509Certificates.X509Utils
struct X509Utils_tC790ED685B9F900AAEC02480B011B3492CD44BE9 : public RuntimeObject
{
public:
public:
};
// System.Text.RegularExpressions.RegexCharClass/SingleRange
struct SingleRange_tEE8EA054843A8B8979D082D2CCC8E52A12155624 : public RuntimeObject
{
public:
// System.Char System.Text.RegularExpressions.RegexCharClass/SingleRange::_first
Il2CppChar ____first_0;
// System.Char System.Text.RegularExpressions.RegexCharClass/SingleRange::_last
Il2CppChar ____last_1;
public:
inline static int32_t get_offset_of__first_0() { return static_cast<int32_t>(offsetof(SingleRange_tEE8EA054843A8B8979D082D2CCC8E52A12155624, ____first_0)); }
inline Il2CppChar get__first_0() const { return ____first_0; }
inline Il2CppChar* get_address_of__first_0() { return &____first_0; }
inline void set__first_0(Il2CppChar value)
{
____first_0 = value;
}
inline static int32_t get_offset_of__last_1() { return static_cast<int32_t>(offsetof(SingleRange_tEE8EA054843A8B8979D082D2CCC8E52A12155624, ____last_1)); }
inline Il2CppChar get__last_1() const { return ____last_1; }
inline Il2CppChar* get_address_of__last_1() { return &____last_1; }
inline void set__last_1(Il2CppChar value)
{
____last_1 = value;
}
};
// System.Text.RegularExpressions.RegexCharClass/SingleRangeComparer
struct SingleRangeComparer_t2D22B185700E925165F9548B3647E0E1FC9DB075 : public RuntimeObject
{
public:
public:
};
// System.ComponentModel.TypeConverter/StandardValuesCollection
struct StandardValuesCollection_tB8B2368EBF592D624D7A07BE6C539DE9BA9A1FB1 : public RuntimeObject
{
public:
public:
};
// System.Uri/MoreInfo
struct MoreInfo_t15D42286ECE8DAD0B0FE9CDC1291109300C3E727 : public RuntimeObject
{
public:
// System.Int32 System.Uri/MoreInfo::Hash
int32_t ___Hash_0;
// System.String System.Uri/MoreInfo::RemoteUrl
String_t* ___RemoteUrl_1;
public:
inline static int32_t get_offset_of_Hash_0() { return static_cast<int32_t>(offsetof(MoreInfo_t15D42286ECE8DAD0B0FE9CDC1291109300C3E727, ___Hash_0)); }
inline int32_t get_Hash_0() const { return ___Hash_0; }
inline int32_t* get_address_of_Hash_0() { return &___Hash_0; }
inline void set_Hash_0(int32_t value)
{
___Hash_0 = value;
}
inline static int32_t get_offset_of_RemoteUrl_1() { return static_cast<int32_t>(offsetof(MoreInfo_t15D42286ECE8DAD0B0FE9CDC1291109300C3E727, ___RemoteUrl_1)); }
inline String_t* get_RemoteUrl_1() const { return ___RemoteUrl_1; }
inline String_t** get_address_of_RemoteUrl_1() { return &___RemoteUrl_1; }
inline void set_RemoteUrl_1(String_t* value)
{
___RemoteUrl_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___RemoteUrl_1), (void*)value);
}
};
// System.Boolean
struct Boolean_t07D1E3F34E4813023D64F584DFF7B34C9D922F37
{
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_t07D1E3F34E4813023D64F584DFF7B34C9D922F37, ___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_t07D1E3F34E4813023D64F584DFF7B34C9D922F37_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_t07D1E3F34E4813023D64F584DFF7B34C9D922F37_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((void**)(&___TrueString_5), (void*)value);
}
inline static int32_t get_offset_of_FalseString_6() { return static_cast<int32_t>(offsetof(Boolean_t07D1E3F34E4813023D64F584DFF7B34C9D922F37_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((void**)(&___FalseString_6), (void*)value);
}
};
// System.Byte
struct Byte_t0111FAB8B8685667EDDAF77683F0D8F86B659056
{
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_t0111FAB8B8685667EDDAF77683F0D8F86B659056, ___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;
}
};
// System.Char
struct Char_tFF60D8E7E89A20BE2294A003734341BD1DF43E14
{
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_tFF60D8E7E89A20BE2294A003734341BD1DF43E14, ___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_tFF60D8E7E89A20BE2294A003734341BD1DF43E14_StaticFields
{
public:
// System.Byte[] System.Char::categoryForLatin1
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___categoryForLatin1_3;
public:
inline static int32_t get_offset_of_categoryForLatin1_3() { return static_cast<int32_t>(offsetof(Char_tFF60D8E7E89A20BE2294A003734341BD1DF43E14_StaticFields, ___categoryForLatin1_3)); }
inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get_categoryForLatin1_3() const { return ___categoryForLatin1_3; }
inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of_categoryForLatin1_3() { return &___categoryForLatin1_3; }
inline void set_categoryForLatin1_3(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
{
___categoryForLatin1_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&___categoryForLatin1_3), (void*)value);
}
};
// System.Configuration.ConfigurationElementCollection
struct ConfigurationElementCollection_t09097ED83C909F1481AEF6E4451CF7595AFA403E : public ConfigurationElement_t571C446CFDFF39CF17130653C433786BEFF25DFA
{
public:
public:
};
// System.Configuration.ConfigurationSection
struct ConfigurationSection_t0D68AA1EA007506253A4935DB9F357AF9B50C683 : public ConfigurationElement_t571C446CFDFF39CF17130653C433786BEFF25DFA
{
public:
public:
};
// System.Text.DecoderReplacementFallback
struct DecoderReplacementFallback_t8DA345EC4EF3A35A2667365F691EE69408A62130 : public DecoderFallback_tF86D337D6576E81E5DA285E5673183EBC66DEF8D
{
public:
// System.String System.Text.DecoderReplacementFallback::strDefault
String_t* ___strDefault_4;
public:
inline static int32_t get_offset_of_strDefault_4() { return static_cast<int32_t>(offsetof(DecoderReplacementFallback_t8DA345EC4EF3A35A2667365F691EE69408A62130, ___strDefault_4)); }
inline String_t* get_strDefault_4() const { return ___strDefault_4; }
inline String_t** get_address_of_strDefault_4() { return &___strDefault_4; }
inline void set_strDefault_4(String_t* value)
{
___strDefault_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&___strDefault_4), (void*)value);
}
};
// System.Text.EncoderReplacementFallback
struct EncoderReplacementFallback_t61E36A507D7FA8034B49F86DBE560EC77A6A8418 : public EncoderFallback_t02AC990075E17EB09F0D7E4831C3B3F264025CC4
{
public:
// System.String System.Text.EncoderReplacementFallback::strDefault
String_t* ___strDefault_4;
public:
inline static int32_t get_offset_of_strDefault_4() { return static_cast<int32_t>(offsetof(EncoderReplacementFallback_t61E36A507D7FA8034B49F86DBE560EC77A6A8418, ___strDefault_4)); }
inline String_t* get_strDefault_4() const { return ___strDefault_4; }
inline String_t** get_address_of_strDefault_4() { return &___strDefault_4; }
inline void set_strDefault_4(String_t* value)
{
___strDefault_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&___strDefault_4), (void*)value);
}
};
// System.Enum
struct Enum_t23B90B40F60E677A8025267341651C94AE079CDA : public ValueType_tDBF999C1B75C48C68621878250DBF6CDBCF51E52
{
public:
public:
};
struct Enum_t23B90B40F60E677A8025267341651C94AE079CDA_StaticFields
{
public:
// System.Char[] System.Enum::enumSeperatorCharArray
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* ___enumSeperatorCharArray_0;
public:
inline static int32_t get_offset_of_enumSeperatorCharArray_0() { return static_cast<int32_t>(offsetof(Enum_t23B90B40F60E677A8025267341651C94AE079CDA_StaticFields, ___enumSeperatorCharArray_0)); }
inline CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* get_enumSeperatorCharArray_0() const { return ___enumSeperatorCharArray_0; }
inline CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34** get_address_of_enumSeperatorCharArray_0() { return &___enumSeperatorCharArray_0; }
inline void set_enumSeperatorCharArray_0(CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* value)
{
___enumSeperatorCharArray_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___enumSeperatorCharArray_0), (void*)value);
}
};
// Native definition for P/Invoke marshalling of System.Enum
struct Enum_t23B90B40F60E677A8025267341651C94AE079CDA_marshaled_pinvoke
{
};
// Native definition for COM marshalling of System.Enum
struct Enum_t23B90B40F60E677A8025267341651C94AE079CDA_marshaled_com
{
};
// System.Int16
struct Int16_tD0F031114106263BB459DA1F099FF9F42691295A
{
public:
// System.Int16 System.Int16::m_value
int16_t ___m_value_0;
public:
inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(Int16_tD0F031114106263BB459DA1F099FF9F42691295A, ___m_value_0)); }
inline int16_t get_m_value_0() const { return ___m_value_0; }
inline int16_t* get_address_of_m_value_0() { return &___m_value_0; }
inline void set_m_value_0(int16_t value)
{
___m_value_0 = value;
}
};
// System.Int32
struct Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046
{
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_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046, ___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;
}
};
// 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;
}
};
// System.Security.Cryptography.SHA1
struct SHA1_t15B592B9935E19EC3FD5679B969239AC572E2C0E : public HashAlgorithm_t7F831BEF35F9D0AF5016FFB0E474AF9F93908F31
{
public:
public:
};
// System.UInt32
struct UInt32_tE60352A06233E4E69DD198BCC67142159F686B15
{
public:
// System.UInt32 System.UInt32::m_value
uint32_t ___m_value_0;
public:
inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(UInt32_tE60352A06233E4E69DD198BCC67142159F686B15, ___m_value_0)); }
inline uint32_t get_m_value_0() const { return ___m_value_0; }
inline uint32_t* get_address_of_m_value_0() { return &___m_value_0; }
inline void set_m_value_0(uint32_t value)
{
___m_value_0 = value;
}
};
// System.Void
struct Void_t700C6383A2A510C2CF4DD86DABD5CA9FF70ADAC5
{
public:
union
{
struct
{
};
uint8_t Void_t700C6383A2A510C2CF4DD86DABD5CA9FF70ADAC5__padding[1];
};
public:
};
// System.Net.Configuration.WebProxyScriptElement
struct WebProxyScriptElement_t6E2DB4259FF77920BA00BBA7AC7E0BAC995FD76F : public ConfigurationElement_t571C446CFDFF39CF17130653C433786BEFF25DFA
{
public:
public:
};
// System.Net.Configuration.WebRequestModuleElement
struct WebRequestModuleElement_t4B7D6319D7B88AE61D59F549801BCE4EC4611F39 : public ConfigurationElement_t571C446CFDFF39CF17130653C433786BEFF25DFA
{
public:
public:
};
// System.Security.Cryptography.X509Certificates.X509Extension
struct X509Extension_t9142CAA11EB46CC4CAB51A26D3B84BDA06FA9FF5 : public AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA
{
public:
// System.Boolean System.Security.Cryptography.X509Certificates.X509Extension::_critical
bool ____critical_2;
public:
inline static int32_t get_offset_of__critical_2() { return static_cast<int32_t>(offsetof(X509Extension_t9142CAA11EB46CC4CAB51A26D3B84BDA06FA9FF5, ____critical_2)); }
inline bool get__critical_2() const { return ____critical_2; }
inline bool* get_address_of__critical_2() { return &____critical_2; }
inline void set__critical_2(bool value)
{
____critical_2 = value;
}
};
// <PrivateImplementationDetails>/__StaticArrayInitTypeSize=128
struct __StaticArrayInitTypeSizeU3D128_t2C1166FE3CC05212DD55648859D997CA8842A83B
{
public:
union
{
struct
{
union
{
};
};
uint8_t __StaticArrayInitTypeSizeU3D128_t2C1166FE3CC05212DD55648859D997CA8842A83B__padding[128];
};
public:
};
// <PrivateImplementationDetails>/__StaticArrayInitTypeSize=32
struct __StaticArrayInitTypeSizeU3D32_tD37BEF7101998702862991181C721026AB96A59F
{
public:
union
{
struct
{
union
{
};
};
uint8_t __StaticArrayInitTypeSizeU3D32_tD37BEF7101998702862991181C721026AB96A59F__padding[32];
};
public:
};
// System.Text.RegularExpressions.RegexCharClass/LowerCaseMapping
struct LowerCaseMapping_t54FB537AEA4CA2EBAB5BDCC79881428C202241DE
{
public:
// System.Char System.Text.RegularExpressions.RegexCharClass/LowerCaseMapping::_chMin
Il2CppChar ____chMin_0;
// System.Char System.Text.RegularExpressions.RegexCharClass/LowerCaseMapping::_chMax
Il2CppChar ____chMax_1;
// System.Int32 System.Text.RegularExpressions.RegexCharClass/LowerCaseMapping::_lcOp
int32_t ____lcOp_2;
// System.Int32 System.Text.RegularExpressions.RegexCharClass/LowerCaseMapping::_data
int32_t ____data_3;
public:
inline static int32_t get_offset_of__chMin_0() { return static_cast<int32_t>(offsetof(LowerCaseMapping_t54FB537AEA4CA2EBAB5BDCC79881428C202241DE, ____chMin_0)); }
inline Il2CppChar get__chMin_0() const { return ____chMin_0; }
inline Il2CppChar* get_address_of__chMin_0() { return &____chMin_0; }
inline void set__chMin_0(Il2CppChar value)
{
____chMin_0 = value;
}
inline static int32_t get_offset_of__chMax_1() { return static_cast<int32_t>(offsetof(LowerCaseMapping_t54FB537AEA4CA2EBAB5BDCC79881428C202241DE, ____chMax_1)); }
inline Il2CppChar get__chMax_1() const { return ____chMax_1; }
inline Il2CppChar* get_address_of__chMax_1() { return &____chMax_1; }
inline void set__chMax_1(Il2CppChar value)
{
____chMax_1 = value;
}
inline static int32_t get_offset_of__lcOp_2() { return static_cast<int32_t>(offsetof(LowerCaseMapping_t54FB537AEA4CA2EBAB5BDCC79881428C202241DE, ____lcOp_2)); }
inline int32_t get__lcOp_2() const { return ____lcOp_2; }
inline int32_t* get_address_of__lcOp_2() { return &____lcOp_2; }
inline void set__lcOp_2(int32_t value)
{
____lcOp_2 = value;
}
inline static int32_t get_offset_of__data_3() { return static_cast<int32_t>(offsetof(LowerCaseMapping_t54FB537AEA4CA2EBAB5BDCC79881428C202241DE, ____data_3)); }
inline int32_t get__data_3() const { return ____data_3; }
inline int32_t* get_address_of__data_3() { return &____data_3; }
inline void set__data_3(int32_t value)
{
____data_3 = value;
}
};
// Native definition for P/Invoke marshalling of System.Text.RegularExpressions.RegexCharClass/LowerCaseMapping
struct LowerCaseMapping_t54FB537AEA4CA2EBAB5BDCC79881428C202241DE_marshaled_pinvoke
{
uint8_t ____chMin_0;
uint8_t ____chMax_1;
int32_t ____lcOp_2;
int32_t ____data_3;
};
// Native definition for COM marshalling of System.Text.RegularExpressions.RegexCharClass/LowerCaseMapping
struct LowerCaseMapping_t54FB537AEA4CA2EBAB5BDCC79881428C202241DE_marshaled_com
{
uint8_t ____chMin_0;
uint8_t ____chMax_1;
int32_t ____lcOp_2;
int32_t ____data_3;
};
// System.Uri/Offset
#pragma pack(push, tp, 1)
struct Offset_t6F140A0C5B2AB5511E7E458806A6A73AE0A34DE5
{
public:
// System.UInt16 System.Uri/Offset::Scheme
uint16_t ___Scheme_0;
// System.UInt16 System.Uri/Offset::User
uint16_t ___User_1;
// System.UInt16 System.Uri/Offset::Host
uint16_t ___Host_2;
// System.UInt16 System.Uri/Offset::PortValue
uint16_t ___PortValue_3;
// System.UInt16 System.Uri/Offset::Path
uint16_t ___Path_4;
// System.UInt16 System.Uri/Offset::Query
uint16_t ___Query_5;
// System.UInt16 System.Uri/Offset::Fragment
uint16_t ___Fragment_6;
// System.UInt16 System.Uri/Offset::End
uint16_t ___End_7;
public:
inline static int32_t get_offset_of_Scheme_0() { return static_cast<int32_t>(offsetof(Offset_t6F140A0C5B2AB5511E7E458806A6A73AE0A34DE5, ___Scheme_0)); }
inline uint16_t get_Scheme_0() const { return ___Scheme_0; }
inline uint16_t* get_address_of_Scheme_0() { return &___Scheme_0; }
inline void set_Scheme_0(uint16_t value)
{
___Scheme_0 = value;
}
inline static int32_t get_offset_of_User_1() { return static_cast<int32_t>(offsetof(Offset_t6F140A0C5B2AB5511E7E458806A6A73AE0A34DE5, ___User_1)); }
inline uint16_t get_User_1() const { return ___User_1; }
inline uint16_t* get_address_of_User_1() { return &___User_1; }
inline void set_User_1(uint16_t value)
{
___User_1 = value;
}
inline static int32_t get_offset_of_Host_2() { return static_cast<int32_t>(offsetof(Offset_t6F140A0C5B2AB5511E7E458806A6A73AE0A34DE5, ___Host_2)); }
inline uint16_t get_Host_2() const { return ___Host_2; }
inline uint16_t* get_address_of_Host_2() { return &___Host_2; }
inline void set_Host_2(uint16_t value)
{
___Host_2 = value;
}
inline static int32_t get_offset_of_PortValue_3() { return static_cast<int32_t>(offsetof(Offset_t6F140A0C5B2AB5511E7E458806A6A73AE0A34DE5, ___PortValue_3)); }
inline uint16_t get_PortValue_3() const { return ___PortValue_3; }
inline uint16_t* get_address_of_PortValue_3() { return &___PortValue_3; }
inline void set_PortValue_3(uint16_t value)
{
___PortValue_3 = value;
}
inline static int32_t get_offset_of_Path_4() { return static_cast<int32_t>(offsetof(Offset_t6F140A0C5B2AB5511E7E458806A6A73AE0A34DE5, ___Path_4)); }
inline uint16_t get_Path_4() const { return ___Path_4; }
inline uint16_t* get_address_of_Path_4() { return &___Path_4; }
inline void set_Path_4(uint16_t value)
{
___Path_4 = value;
}
inline static int32_t get_offset_of_Query_5() { return static_cast<int32_t>(offsetof(Offset_t6F140A0C5B2AB5511E7E458806A6A73AE0A34DE5, ___Query_5)); }
inline uint16_t get_Query_5() const { return ___Query_5; }
inline uint16_t* get_address_of_Query_5() { return &___Query_5; }
inline void set_Query_5(uint16_t value)
{
___Query_5 = value;
}
inline static int32_t get_offset_of_Fragment_6() { return static_cast<int32_t>(offsetof(Offset_t6F140A0C5B2AB5511E7E458806A6A73AE0A34DE5, ___Fragment_6)); }
inline uint16_t get_Fragment_6() const { return ___Fragment_6; }
inline uint16_t* get_address_of_Fragment_6() { return &___Fragment_6; }
inline void set_Fragment_6(uint16_t value)
{
___Fragment_6 = value;
}
inline static int32_t get_offset_of_End_7() { return static_cast<int32_t>(offsetof(Offset_t6F140A0C5B2AB5511E7E458806A6A73AE0A34DE5, ___End_7)); }
inline uint16_t get_End_7() const { return ___End_7; }
inline uint16_t* get_address_of_End_7() { return &___End_7; }
inline void set_End_7(uint16_t value)
{
___End_7 = value;
}
};
#pragma pack(pop, tp)
// <PrivateImplementationDetails>
struct U3CPrivateImplementationDetailsU3E_t1267FAF6E08D720F26ABF676554E6948A7F6A2D0 : public RuntimeObject
{
public:
public:
};
struct U3CPrivateImplementationDetailsU3E_t1267FAF6E08D720F26ABF676554E6948A7F6A2D0_StaticFields
{
public:
// <PrivateImplementationDetails>/__StaticArrayInitTypeSize=32 <PrivateImplementationDetails>::59F5BD34B6C013DEACC784F69C67E95150033A84
__StaticArrayInitTypeSizeU3D32_tD37BEF7101998702862991181C721026AB96A59F ___59F5BD34B6C013DEACC784F69C67E95150033A84_0;
// <PrivateImplementationDetails>/__StaticArrayInitTypeSize=32 <PrivateImplementationDetails>::C02C28AFEBE998F767E4AF43E3BE8F5E9FA11536
__StaticArrayInitTypeSizeU3D32_tD37BEF7101998702862991181C721026AB96A59F ___C02C28AFEBE998F767E4AF43E3BE8F5E9FA11536_1;
// <PrivateImplementationDetails>/__StaticArrayInitTypeSize=128 <PrivateImplementationDetails>::CCEEADA43268372341F81AE0C9208C6856441C04
__StaticArrayInitTypeSizeU3D128_t2C1166FE3CC05212DD55648859D997CA8842A83B ___CCEEADA43268372341F81AE0C9208C6856441C04_2;
// System.Int64 <PrivateImplementationDetails>::E5BC1BAFADE1862DD6E0B9FB632BFAA6C3873A78
int64_t ___E5BC1BAFADE1862DD6E0B9FB632BFAA6C3873A78_3;
public:
inline static int32_t get_offset_of_U359F5BD34B6C013DEACC784F69C67E95150033A84_0() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t1267FAF6E08D720F26ABF676554E6948A7F6A2D0_StaticFields, ___59F5BD34B6C013DEACC784F69C67E95150033A84_0)); }
inline __StaticArrayInitTypeSizeU3D32_tD37BEF7101998702862991181C721026AB96A59F get_U359F5BD34B6C013DEACC784F69C67E95150033A84_0() const { return ___59F5BD34B6C013DEACC784F69C67E95150033A84_0; }
inline __StaticArrayInitTypeSizeU3D32_tD37BEF7101998702862991181C721026AB96A59F * get_address_of_U359F5BD34B6C013DEACC784F69C67E95150033A84_0() { return &___59F5BD34B6C013DEACC784F69C67E95150033A84_0; }
inline void set_U359F5BD34B6C013DEACC784F69C67E95150033A84_0(__StaticArrayInitTypeSizeU3D32_tD37BEF7101998702862991181C721026AB96A59F value)
{
___59F5BD34B6C013DEACC784F69C67E95150033A84_0 = value;
}
inline static int32_t get_offset_of_C02C28AFEBE998F767E4AF43E3BE8F5E9FA11536_1() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t1267FAF6E08D720F26ABF676554E6948A7F6A2D0_StaticFields, ___C02C28AFEBE998F767E4AF43E3BE8F5E9FA11536_1)); }
inline __StaticArrayInitTypeSizeU3D32_tD37BEF7101998702862991181C721026AB96A59F get_C02C28AFEBE998F767E4AF43E3BE8F5E9FA11536_1() const { return ___C02C28AFEBE998F767E4AF43E3BE8F5E9FA11536_1; }
inline __StaticArrayInitTypeSizeU3D32_tD37BEF7101998702862991181C721026AB96A59F * get_address_of_C02C28AFEBE998F767E4AF43E3BE8F5E9FA11536_1() { return &___C02C28AFEBE998F767E4AF43E3BE8F5E9FA11536_1; }
inline void set_C02C28AFEBE998F767E4AF43E3BE8F5E9FA11536_1(__StaticArrayInitTypeSizeU3D32_tD37BEF7101998702862991181C721026AB96A59F value)
{
___C02C28AFEBE998F767E4AF43E3BE8F5E9FA11536_1 = value;
}
inline static int32_t get_offset_of_CCEEADA43268372341F81AE0C9208C6856441C04_2() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t1267FAF6E08D720F26ABF676554E6948A7F6A2D0_StaticFields, ___CCEEADA43268372341F81AE0C9208C6856441C04_2)); }
inline __StaticArrayInitTypeSizeU3D128_t2C1166FE3CC05212DD55648859D997CA8842A83B get_CCEEADA43268372341F81AE0C9208C6856441C04_2() const { return ___CCEEADA43268372341F81AE0C9208C6856441C04_2; }
inline __StaticArrayInitTypeSizeU3D128_t2C1166FE3CC05212DD55648859D997CA8842A83B * get_address_of_CCEEADA43268372341F81AE0C9208C6856441C04_2() { return &___CCEEADA43268372341F81AE0C9208C6856441C04_2; }
inline void set_CCEEADA43268372341F81AE0C9208C6856441C04_2(__StaticArrayInitTypeSizeU3D128_t2C1166FE3CC05212DD55648859D997CA8842A83B value)
{
___CCEEADA43268372341F81AE0C9208C6856441C04_2 = value;
}
inline static int32_t get_offset_of_E5BC1BAFADE1862DD6E0B9FB632BFAA6C3873A78_3() { return static_cast<int32_t>(offsetof(U3CPrivateImplementationDetailsU3E_t1267FAF6E08D720F26ABF676554E6948A7F6A2D0_StaticFields, ___E5BC1BAFADE1862DD6E0B9FB632BFAA6C3873A78_3)); }
inline int64_t get_E5BC1BAFADE1862DD6E0B9FB632BFAA6C3873A78_3() const { return ___E5BC1BAFADE1862DD6E0B9FB632BFAA6C3873A78_3; }
inline int64_t* get_address_of_E5BC1BAFADE1862DD6E0B9FB632BFAA6C3873A78_3() { return &___E5BC1BAFADE1862DD6E0B9FB632BFAA6C3873A78_3; }
inline void set_E5BC1BAFADE1862DD6E0B9FB632BFAA6C3873A78_3(int64_t value)
{
___E5BC1BAFADE1862DD6E0B9FB632BFAA6C3873A78_3 = value;
}
};
// System.Security.Cryptography.AsnDecodeStatus
struct AsnDecodeStatus_tBE4ADA7C45EBFD656BFEE0F04CAEC70A1C1BD15E
{
public:
// System.Int32 System.Security.Cryptography.AsnDecodeStatus::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(AsnDecodeStatus_tBE4ADA7C45EBFD656BFEE0F04CAEC70A1C1BD15E, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// System.Reflection.BindingFlags
struct BindingFlags_tAAAB07D9AC588F0D55D844E51D7035E96DF94733
{
public:
// System.Int32 System.Reflection.BindingFlags::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(BindingFlags_tAAAB07D9AC588F0D55D844E51D7035E96DF94733, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// 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_tDE44F029589A028F8A3053C5C06153FAB4AAE29F * ____safeSerializationManager_13;
// System.Diagnostics.StackTrace[] System.Exception::captured_traces
StackTraceU5BU5D_t4AD999C288CB6D1F38A299D12B1598D606588971* ___captured_traces_14;
// System.IntPtr[] System.Exception::native_trace_ips
IntPtrU5BU5D_t27FC72B0409D75AAF33EC42498E8094E95FEE9A6* ___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((void**)(&____className_1), (void*)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((void**)(&____message_2), (void*)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((void**)(&____data_3), (void*)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((void**)(&____innerException_4), (void*)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((void**)(&____helpURL_5), (void*)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((void**)(&____stackTrace_6), (void*)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((void**)(&____stackTraceString_7), (void*)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((void**)(&____remoteStackTraceString_8), (void*)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((void**)(&____dynamicMethods_10), (void*)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((void**)(&____source_12), (void*)value);
}
inline static int32_t get_offset_of__safeSerializationManager_13() { return static_cast<int32_t>(offsetof(Exception_t, ____safeSerializationManager_13)); }
inline SafeSerializationManager_tDE44F029589A028F8A3053C5C06153FAB4AAE29F * get__safeSerializationManager_13() const { return ____safeSerializationManager_13; }
inline SafeSerializationManager_tDE44F029589A028F8A3053C5C06153FAB4AAE29F ** get_address_of__safeSerializationManager_13() { return &____safeSerializationManager_13; }
inline void set__safeSerializationManager_13(SafeSerializationManager_tDE44F029589A028F8A3053C5C06153FAB4AAE29F * value)
{
____safeSerializationManager_13 = value;
Il2CppCodeGenWriteBarrier((void**)(&____safeSerializationManager_13), (void*)value);
}
inline static int32_t get_offset_of_captured_traces_14() { return static_cast<int32_t>(offsetof(Exception_t, ___captured_traces_14)); }
inline StackTraceU5BU5D_t4AD999C288CB6D1F38A299D12B1598D606588971* get_captured_traces_14() const { return ___captured_traces_14; }
inline StackTraceU5BU5D_t4AD999C288CB6D1F38A299D12B1598D606588971** get_address_of_captured_traces_14() { return &___captured_traces_14; }
inline void set_captured_traces_14(StackTraceU5BU5D_t4AD999C288CB6D1F38A299D12B1598D606588971* value)
{
___captured_traces_14 = value;
Il2CppCodeGenWriteBarrier((void**)(&___captured_traces_14), (void*)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_t27FC72B0409D75AAF33EC42498E8094E95FEE9A6* get_native_trace_ips_15() const { return ___native_trace_ips_15; }
inline IntPtrU5BU5D_t27FC72B0409D75AAF33EC42498E8094E95FEE9A6** get_address_of_native_trace_ips_15() { return &___native_trace_ips_15; }
inline void set_native_trace_ips_15(IntPtrU5BU5D_t27FC72B0409D75AAF33EC42498E8094E95FEE9A6* value)
{
___native_trace_ips_15 = value;
Il2CppCodeGenWriteBarrier((void**)(&___native_trace_ips_15), (void*)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((void**)(&___s_EDILock_0), (void*)value);
}
};
// 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_tDE44F029589A028F8A3053C5C06153FAB4AAE29F * ____safeSerializationManager_13;
StackTraceU5BU5D_t4AD999C288CB6D1F38A299D12B1598D606588971* ___captured_traces_14;
Il2CppSafeArray/*NONE*/* ___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_tDE44F029589A028F8A3053C5C06153FAB4AAE29F * ____safeSerializationManager_13;
StackTraceU5BU5D_t4AD999C288CB6D1F38A299D12B1598D606588971* ___captured_traces_14;
Il2CppSafeArray/*NONE*/* ___native_trace_ips_15;
};
// System.Security.Cryptography.OidGroup
struct OidGroup_tA8D8DA27353F8D70638E08569F65A34BCA3D5EB4
{
public:
// System.Int32 System.Security.Cryptography.OidGroup::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(OidGroup_tA8D8DA27353F8D70638E08569F65A34BCA3D5EB4, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// System.RuntimeFieldHandle
struct RuntimeFieldHandle_t7BE65FC857501059EBAC9772C93B02CD413D9C96
{
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_t7BE65FC857501059EBAC9772C93B02CD413D9C96, ___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;
}
};
// System.RuntimeTypeHandle
struct RuntimeTypeHandle_tC33965ADA3E041E0C94AF05E5CB527B56482CEF9
{
public:
// System.IntPtr System.RuntimeTypeHandle::value
intptr_t ___value_0;
public:
inline static int32_t get_offset_of_value_0() { return static_cast<int32_t>(offsetof(RuntimeTypeHandle_tC33965ADA3E041E0C94AF05E5CB527B56482CEF9, ___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;
}
};
// System.Runtime.Serialization.StreamingContextStates
struct StreamingContextStates_tF4C7FE6D6121BD4C67699869C8269A60B36B42C3
{
public:
// System.Int32 System.Runtime.Serialization.StreamingContextStates::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(StreamingContextStates_tF4C7FE6D6121BD4C67699869C8269A60B36B42C3, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// System.ComponentModel.TypeConverter
struct TypeConverter_t004F185B630F00F509F08BD8F8D82471867323B4 : public RuntimeObject
{
public:
public:
};
struct TypeConverter_t004F185B630F00F509F08BD8F8D82471867323B4_StaticFields
{
public:
// System.Boolean modreq(System.Runtime.CompilerServices.IsVolatile) System.ComponentModel.TypeConverter::useCompatibleTypeConversion
bool ___useCompatibleTypeConversion_1;
public:
inline static int32_t get_offset_of_useCompatibleTypeConversion_1() { return static_cast<int32_t>(offsetof(TypeConverter_t004F185B630F00F509F08BD8F8D82471867323B4_StaticFields, ___useCompatibleTypeConversion_1)); }
inline bool get_useCompatibleTypeConversion_1() const { return ___useCompatibleTypeConversion_1; }
inline bool* get_address_of_useCompatibleTypeConversion_1() { return &___useCompatibleTypeConversion_1; }
inline void set_useCompatibleTypeConversion_1(bool value)
{
___useCompatibleTypeConversion_1 = value;
}
};
// System.UnescapeMode
struct UnescapeMode_tAAD72A439A031D63DA366126306CC0DDB9312850
{
public:
// System.Int32 System.UnescapeMode::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(UnescapeMode_tAAD72A439A031D63DA366126306CC0DDB9312850, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// System.UriComponents
struct UriComponents_tA599793722A9810EC23036FF1B1B02A905B4EA76
{
public:
// System.Int32 System.UriComponents::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(UriComponents_tA599793722A9810EC23036FF1B1B02A905B4EA76, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// System.UriFormat
struct UriFormat_t25C936463BDE737B16A8EC3DA05091FC31F1A71F
{
public:
// System.Int32 System.UriFormat::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(UriFormat_t25C936463BDE737B16A8EC3DA05091FC31F1A71F, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// System.UriIdnScope
struct UriIdnScope_tBA22B992BA582F68F2B98CDEBCB24299F249DE4D
{
public:
// System.Int32 System.UriIdnScope::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(UriIdnScope_tBA22B992BA582F68F2B98CDEBCB24299F249DE4D, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// System.UriKind
struct UriKind_tFC16ACC1842283AAE2C7F50C9C70EFBF6550B3FC
{
public:
// System.Int32 System.UriKind::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(UriKind_tFC16ACC1842283AAE2C7F50C9C70EFBF6550B3FC, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// System.UriSyntaxFlags
struct UriSyntaxFlags_t00ABF83A3AA06E5B670D3F73E3E87BC21F72044A
{
public:
// System.Int32 System.UriSyntaxFlags::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(UriSyntaxFlags_t00ABF83A3AA06E5B670D3F73E3E87BC21F72044A, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// System.Net.Configuration.WebRequestModuleElementCollection
struct WebRequestModuleElementCollection_tC1A60891298C544F74DA731DDEEFE603015C09C9 : public ConfigurationElementCollection_t09097ED83C909F1481AEF6E4451CF7595AFA403E
{
public:
public:
};
// System.Net.Configuration.WebRequestModulesSection
struct WebRequestModulesSection_t2F6BB673DEE919615116B391BA37F70831084603 : public ConfigurationSection_t0D68AA1EA007506253A4935DB9F357AF9B50C683
{
public:
public:
};
// System.Security.Cryptography.X509Certificates.X509KeyUsageFlags
struct X509KeyUsageFlags_tA10D2E023BB8086E102AE4EBE10CF84656A18849
{
public:
// System.Int32 System.Security.Cryptography.X509Certificates.X509KeyUsageFlags::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(X509KeyUsageFlags_tA10D2E023BB8086E102AE4EBE10CF84656A18849, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// System.Security.Cryptography.X509Certificates.X509SubjectKeyIdentifierHashAlgorithm
struct X509SubjectKeyIdentifierHashAlgorithm_t38BCCB6F30D80F7CDF39B3A164129FDF81B11D29
{
public:
// System.Int32 System.Security.Cryptography.X509Certificates.X509SubjectKeyIdentifierHashAlgorithm::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(X509SubjectKeyIdentifierHashAlgorithm_t38BCCB6F30D80F7CDF39B3A164129FDF81B11D29, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// System.Uri/Check
struct Check_tEDA05554030AFFE9920C7E4C2233599B26DA74E8
{
public:
// System.Int32 System.Uri/Check::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(Check_tEDA05554030AFFE9920C7E4C2233599B26DA74E8, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// System.Uri/Flags
struct Flags_t72C622DF5C3ED762F55AB36EC2CCDDF3AF56B8D4
{
public:
// System.UInt64 System.Uri/Flags::value__
uint64_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(Flags_t72C622DF5C3ED762F55AB36EC2CCDDF3AF56B8D4, ___value___2)); }
inline uint64_t get_value___2() const { return ___value___2; }
inline uint64_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(uint64_t value)
{
___value___2 = value;
}
};
// System.Uri/UriInfo
struct UriInfo_tCB2302A896132D1F70E47C3895FAB9A0F2A6EE45 : public RuntimeObject
{
public:
// System.String System.Uri/UriInfo::Host
String_t* ___Host_0;
// System.String System.Uri/UriInfo::ScopeId
String_t* ___ScopeId_1;
// System.String System.Uri/UriInfo::String
String_t* ___String_2;
// System.Uri/Offset System.Uri/UriInfo::Offset
Offset_t6F140A0C5B2AB5511E7E458806A6A73AE0A34DE5 ___Offset_3;
// System.String System.Uri/UriInfo::DnsSafeHost
String_t* ___DnsSafeHost_4;
// System.Uri/MoreInfo System.Uri/UriInfo::MoreInfo
MoreInfo_t15D42286ECE8DAD0B0FE9CDC1291109300C3E727 * ___MoreInfo_5;
public:
inline static int32_t get_offset_of_Host_0() { return static_cast<int32_t>(offsetof(UriInfo_tCB2302A896132D1F70E47C3895FAB9A0F2A6EE45, ___Host_0)); }
inline String_t* get_Host_0() const { return ___Host_0; }
inline String_t** get_address_of_Host_0() { return &___Host_0; }
inline void set_Host_0(String_t* value)
{
___Host_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___Host_0), (void*)value);
}
inline static int32_t get_offset_of_ScopeId_1() { return static_cast<int32_t>(offsetof(UriInfo_tCB2302A896132D1F70E47C3895FAB9A0F2A6EE45, ___ScopeId_1)); }
inline String_t* get_ScopeId_1() const { return ___ScopeId_1; }
inline String_t** get_address_of_ScopeId_1() { return &___ScopeId_1; }
inline void set_ScopeId_1(String_t* value)
{
___ScopeId_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___ScopeId_1), (void*)value);
}
inline static int32_t get_offset_of_String_2() { return static_cast<int32_t>(offsetof(UriInfo_tCB2302A896132D1F70E47C3895FAB9A0F2A6EE45, ___String_2)); }
inline String_t* get_String_2() const { return ___String_2; }
inline String_t** get_address_of_String_2() { return &___String_2; }
inline void set_String_2(String_t* value)
{
___String_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___String_2), (void*)value);
}
inline static int32_t get_offset_of_Offset_3() { return static_cast<int32_t>(offsetof(UriInfo_tCB2302A896132D1F70E47C3895FAB9A0F2A6EE45, ___Offset_3)); }
inline Offset_t6F140A0C5B2AB5511E7E458806A6A73AE0A34DE5 get_Offset_3() const { return ___Offset_3; }
inline Offset_t6F140A0C5B2AB5511E7E458806A6A73AE0A34DE5 * get_address_of_Offset_3() { return &___Offset_3; }
inline void set_Offset_3(Offset_t6F140A0C5B2AB5511E7E458806A6A73AE0A34DE5 value)
{
___Offset_3 = value;
}
inline static int32_t get_offset_of_DnsSafeHost_4() { return static_cast<int32_t>(offsetof(UriInfo_tCB2302A896132D1F70E47C3895FAB9A0F2A6EE45, ___DnsSafeHost_4)); }
inline String_t* get_DnsSafeHost_4() const { return ___DnsSafeHost_4; }
inline String_t** get_address_of_DnsSafeHost_4() { return &___DnsSafeHost_4; }
inline void set_DnsSafeHost_4(String_t* value)
{
___DnsSafeHost_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&___DnsSafeHost_4), (void*)value);
}
inline static int32_t get_offset_of_MoreInfo_5() { return static_cast<int32_t>(offsetof(UriInfo_tCB2302A896132D1F70E47C3895FAB9A0F2A6EE45, ___MoreInfo_5)); }
inline MoreInfo_t15D42286ECE8DAD0B0FE9CDC1291109300C3E727 * get_MoreInfo_5() const { return ___MoreInfo_5; }
inline MoreInfo_t15D42286ECE8DAD0B0FE9CDC1291109300C3E727 ** get_address_of_MoreInfo_5() { return &___MoreInfo_5; }
inline void set_MoreInfo_5(MoreInfo_t15D42286ECE8DAD0B0FE9CDC1291109300C3E727 * value)
{
___MoreInfo_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&___MoreInfo_5), (void*)value);
}
};
// System.UriParser/UriQuirksVersion
struct UriQuirksVersion_t5A2A88A1D01D0CBC52BC12C612CC1A7F714E79B6
{
public:
// System.Int32 System.UriParser/UriQuirksVersion::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(UriQuirksVersion_t5A2A88A1D01D0CBC52BC12C612CC1A7F714E79B6, ___value___2)); }
inline int32_t get_value___2() const { return ___value___2; }
inline int32_t* get_address_of_value___2() { return &___value___2; }
inline void set_value___2(int32_t value)
{
___value___2 = value;
}
};
// System.Security.Cryptography.Oid
struct Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800 : public RuntimeObject
{
public:
// System.String System.Security.Cryptography.Oid::m_value
String_t* ___m_value_0;
// System.String System.Security.Cryptography.Oid::m_friendlyName
String_t* ___m_friendlyName_1;
// System.Security.Cryptography.OidGroup System.Security.Cryptography.Oid::m_group
int32_t ___m_group_2;
public:
inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800, ___m_value_0)); }
inline String_t* get_m_value_0() const { return ___m_value_0; }
inline String_t** get_address_of_m_value_0() { return &___m_value_0; }
inline void set_m_value_0(String_t* value)
{
___m_value_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_value_0), (void*)value);
}
inline static int32_t get_offset_of_m_friendlyName_1() { return static_cast<int32_t>(offsetof(Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800, ___m_friendlyName_1)); }
inline String_t* get_m_friendlyName_1() const { return ___m_friendlyName_1; }
inline String_t** get_address_of_m_friendlyName_1() { return &___m_friendlyName_1; }
inline void set_m_friendlyName_1(String_t* value)
{
___m_friendlyName_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_friendlyName_1), (void*)value);
}
inline static int32_t get_offset_of_m_group_2() { return static_cast<int32_t>(offsetof(Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800, ___m_group_2)); }
inline int32_t get_m_group_2() const { return ___m_group_2; }
inline int32_t* get_address_of_m_group_2() { return &___m_group_2; }
inline void set_m_group_2(int32_t value)
{
___m_group_2 = value;
}
};
// System.Runtime.Serialization.StreamingContext
struct StreamingContext_t5888E7E8C81AB6EF3B14FDDA6674F458076A8505
{
public:
// System.Object System.Runtime.Serialization.StreamingContext::m_additionalContext
RuntimeObject * ___m_additionalContext_0;
// System.Runtime.Serialization.StreamingContextStates System.Runtime.Serialization.StreamingContext::m_state
int32_t ___m_state_1;
public:
inline static int32_t get_offset_of_m_additionalContext_0() { return static_cast<int32_t>(offsetof(StreamingContext_t5888E7E8C81AB6EF3B14FDDA6674F458076A8505, ___m_additionalContext_0)); }
inline RuntimeObject * get_m_additionalContext_0() const { return ___m_additionalContext_0; }
inline RuntimeObject ** get_address_of_m_additionalContext_0() { return &___m_additionalContext_0; }
inline void set_m_additionalContext_0(RuntimeObject * value)
{
___m_additionalContext_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_additionalContext_0), (void*)value);
}
inline static int32_t get_offset_of_m_state_1() { return static_cast<int32_t>(offsetof(StreamingContext_t5888E7E8C81AB6EF3B14FDDA6674F458076A8505, ___m_state_1)); }
inline int32_t get_m_state_1() const { return ___m_state_1; }
inline int32_t* get_address_of_m_state_1() { return &___m_state_1; }
inline void set_m_state_1(int32_t value)
{
___m_state_1 = value;
}
};
// Native definition for P/Invoke marshalling of System.Runtime.Serialization.StreamingContext
struct StreamingContext_t5888E7E8C81AB6EF3B14FDDA6674F458076A8505_marshaled_pinvoke
{
Il2CppIUnknown* ___m_additionalContext_0;
int32_t ___m_state_1;
};
// Native definition for COM marshalling of System.Runtime.Serialization.StreamingContext
struct StreamingContext_t5888E7E8C81AB6EF3B14FDDA6674F458076A8505_marshaled_com
{
Il2CppIUnknown* ___m_additionalContext_0;
int32_t ___m_state_1;
};
// System.SystemException
struct SystemException_tC551B4D6EE3772B5F32C71EE8C719F4B43ECCC62 : public Exception_t
{
public:
public:
};
// System.Type
struct Type_t : public MemberInfo_t
{
public:
// System.RuntimeTypeHandle System.Type::_impl
RuntimeTypeHandle_tC33965ADA3E041E0C94AF05E5CB527B56482CEF9 ____impl_9;
public:
inline static int32_t get_offset_of__impl_9() { return static_cast<int32_t>(offsetof(Type_t, ____impl_9)); }
inline RuntimeTypeHandle_tC33965ADA3E041E0C94AF05E5CB527B56482CEF9 get__impl_9() const { return ____impl_9; }
inline RuntimeTypeHandle_tC33965ADA3E041E0C94AF05E5CB527B56482CEF9 * get_address_of__impl_9() { return &____impl_9; }
inline void set__impl_9(RuntimeTypeHandle_tC33965ADA3E041E0C94AF05E5CB527B56482CEF9 value)
{
____impl_9 = value;
}
};
struct Type_t_StaticFields
{
public:
// System.Reflection.MemberFilter System.Type::FilterAttribute
MemberFilter_t48D0AA10105D186AF42428FA532D4B4332CF8B81 * ___FilterAttribute_0;
// System.Reflection.MemberFilter System.Type::FilterName
MemberFilter_t48D0AA10105D186AF42428FA532D4B4332CF8B81 * ___FilterName_1;
// System.Reflection.MemberFilter System.Type::FilterNameIgnoreCase
MemberFilter_t48D0AA10105D186AF42428FA532D4B4332CF8B81 * ___FilterNameIgnoreCase_2;
// System.Object System.Type::Missing
RuntimeObject * ___Missing_3;
// System.Char System.Type::Delimiter
Il2CppChar ___Delimiter_4;
// System.Type[] System.Type::EmptyTypes
TypeU5BU5D_t85B10489E46F06CEC7C4B1CCBD0E01FAB6649755* ___EmptyTypes_5;
// System.Reflection.Binder System.Type::defaultBinder
Binder_t2BEE27FD84737D1E79BC47FD67F6D3DD2F2DDA30 * ___defaultBinder_6;
public:
inline static int32_t get_offset_of_FilterAttribute_0() { return static_cast<int32_t>(offsetof(Type_t_StaticFields, ___FilterAttribute_0)); }
inline MemberFilter_t48D0AA10105D186AF42428FA532D4B4332CF8B81 * get_FilterAttribute_0() const { return ___FilterAttribute_0; }
inline MemberFilter_t48D0AA10105D186AF42428FA532D4B4332CF8B81 ** get_address_of_FilterAttribute_0() { return &___FilterAttribute_0; }
inline void set_FilterAttribute_0(MemberFilter_t48D0AA10105D186AF42428FA532D4B4332CF8B81 * value)
{
___FilterAttribute_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___FilterAttribute_0), (void*)value);
}
inline static int32_t get_offset_of_FilterName_1() { return static_cast<int32_t>(offsetof(Type_t_StaticFields, ___FilterName_1)); }
inline MemberFilter_t48D0AA10105D186AF42428FA532D4B4332CF8B81 * get_FilterName_1() const { return ___FilterName_1; }
inline MemberFilter_t48D0AA10105D186AF42428FA532D4B4332CF8B81 ** get_address_of_FilterName_1() { return &___FilterName_1; }
inline void set_FilterName_1(MemberFilter_t48D0AA10105D186AF42428FA532D4B4332CF8B81 * value)
{
___FilterName_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___FilterName_1), (void*)value);
}
inline static int32_t get_offset_of_FilterNameIgnoreCase_2() { return static_cast<int32_t>(offsetof(Type_t_StaticFields, ___FilterNameIgnoreCase_2)); }
inline MemberFilter_t48D0AA10105D186AF42428FA532D4B4332CF8B81 * get_FilterNameIgnoreCase_2() const { return ___FilterNameIgnoreCase_2; }
inline MemberFilter_t48D0AA10105D186AF42428FA532D4B4332CF8B81 ** get_address_of_FilterNameIgnoreCase_2() { return &___FilterNameIgnoreCase_2; }
inline void set_FilterNameIgnoreCase_2(MemberFilter_t48D0AA10105D186AF42428FA532D4B4332CF8B81 * value)
{
___FilterNameIgnoreCase_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___FilterNameIgnoreCase_2), (void*)value);
}
inline static int32_t get_offset_of_Missing_3() { return static_cast<int32_t>(offsetof(Type_t_StaticFields, ___Missing_3)); }
inline RuntimeObject * get_Missing_3() const { return ___Missing_3; }
inline RuntimeObject ** get_address_of_Missing_3() { return &___Missing_3; }
inline void set_Missing_3(RuntimeObject * value)
{
___Missing_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&___Missing_3), (void*)value);
}
inline static int32_t get_offset_of_Delimiter_4() { return static_cast<int32_t>(offsetof(Type_t_StaticFields, ___Delimiter_4)); }
inline Il2CppChar get_Delimiter_4() const { return ___Delimiter_4; }
inline Il2CppChar* get_address_of_Delimiter_4() { return &___Delimiter_4; }
inline void set_Delimiter_4(Il2CppChar value)
{
___Delimiter_4 = value;
}
inline static int32_t get_offset_of_EmptyTypes_5() { return static_cast<int32_t>(offsetof(Type_t_StaticFields, ___EmptyTypes_5)); }
inline TypeU5BU5D_t85B10489E46F06CEC7C4B1CCBD0E01FAB6649755* get_EmptyTypes_5() const { return ___EmptyTypes_5; }
inline TypeU5BU5D_t85B10489E46F06CEC7C4B1CCBD0E01FAB6649755** get_address_of_EmptyTypes_5() { return &___EmptyTypes_5; }
inline void set_EmptyTypes_5(TypeU5BU5D_t85B10489E46F06CEC7C4B1CCBD0E01FAB6649755* value)
{
___EmptyTypes_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&___EmptyTypes_5), (void*)value);
}
inline static int32_t get_offset_of_defaultBinder_6() { return static_cast<int32_t>(offsetof(Type_t_StaticFields, ___defaultBinder_6)); }
inline Binder_t2BEE27FD84737D1E79BC47FD67F6D3DD2F2DDA30 * get_defaultBinder_6() const { return ___defaultBinder_6; }
inline Binder_t2BEE27FD84737D1E79BC47FD67F6D3DD2F2DDA30 ** get_address_of_defaultBinder_6() { return &___defaultBinder_6; }
inline void set_defaultBinder_6(Binder_t2BEE27FD84737D1E79BC47FD67F6D3DD2F2DDA30 * value)
{
___defaultBinder_6 = value;
Il2CppCodeGenWriteBarrier((void**)(&___defaultBinder_6), (void*)value);
}
};
// System.Uri
struct Uri_t4A915E1CC15B2C650F478099AD448E9466CBF612 : public RuntimeObject
{
public:
// System.String System.Uri::m_String
String_t* ___m_String_13;
// System.String System.Uri::m_originalUnicodeString
String_t* ___m_originalUnicodeString_14;
// System.UriParser System.Uri::m_Syntax
UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * ___m_Syntax_15;
// System.String System.Uri::m_DnsSafeHost
String_t* ___m_DnsSafeHost_16;
// System.Uri/Flags System.Uri::m_Flags
uint64_t ___m_Flags_17;
// System.Uri/UriInfo System.Uri::m_Info
UriInfo_tCB2302A896132D1F70E47C3895FAB9A0F2A6EE45 * ___m_Info_18;
// System.Boolean System.Uri::m_iriParsing
bool ___m_iriParsing_19;
public:
inline static int32_t get_offset_of_m_String_13() { return static_cast<int32_t>(offsetof(Uri_t4A915E1CC15B2C650F478099AD448E9466CBF612, ___m_String_13)); }
inline String_t* get_m_String_13() const { return ___m_String_13; }
inline String_t** get_address_of_m_String_13() { return &___m_String_13; }
inline void set_m_String_13(String_t* value)
{
___m_String_13 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_String_13), (void*)value);
}
inline static int32_t get_offset_of_m_originalUnicodeString_14() { return static_cast<int32_t>(offsetof(Uri_t4A915E1CC15B2C650F478099AD448E9466CBF612, ___m_originalUnicodeString_14)); }
inline String_t* get_m_originalUnicodeString_14() const { return ___m_originalUnicodeString_14; }
inline String_t** get_address_of_m_originalUnicodeString_14() { return &___m_originalUnicodeString_14; }
inline void set_m_originalUnicodeString_14(String_t* value)
{
___m_originalUnicodeString_14 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_originalUnicodeString_14), (void*)value);
}
inline static int32_t get_offset_of_m_Syntax_15() { return static_cast<int32_t>(offsetof(Uri_t4A915E1CC15B2C650F478099AD448E9466CBF612, ___m_Syntax_15)); }
inline UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * get_m_Syntax_15() const { return ___m_Syntax_15; }
inline UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A ** get_address_of_m_Syntax_15() { return &___m_Syntax_15; }
inline void set_m_Syntax_15(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * value)
{
___m_Syntax_15 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_Syntax_15), (void*)value);
}
inline static int32_t get_offset_of_m_DnsSafeHost_16() { return static_cast<int32_t>(offsetof(Uri_t4A915E1CC15B2C650F478099AD448E9466CBF612, ___m_DnsSafeHost_16)); }
inline String_t* get_m_DnsSafeHost_16() const { return ___m_DnsSafeHost_16; }
inline String_t** get_address_of_m_DnsSafeHost_16() { return &___m_DnsSafeHost_16; }
inline void set_m_DnsSafeHost_16(String_t* value)
{
___m_DnsSafeHost_16 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_DnsSafeHost_16), (void*)value);
}
inline static int32_t get_offset_of_m_Flags_17() { return static_cast<int32_t>(offsetof(Uri_t4A915E1CC15B2C650F478099AD448E9466CBF612, ___m_Flags_17)); }
inline uint64_t get_m_Flags_17() const { return ___m_Flags_17; }
inline uint64_t* get_address_of_m_Flags_17() { return &___m_Flags_17; }
inline void set_m_Flags_17(uint64_t value)
{
___m_Flags_17 = value;
}
inline static int32_t get_offset_of_m_Info_18() { return static_cast<int32_t>(offsetof(Uri_t4A915E1CC15B2C650F478099AD448E9466CBF612, ___m_Info_18)); }
inline UriInfo_tCB2302A896132D1F70E47C3895FAB9A0F2A6EE45 * get_m_Info_18() const { return ___m_Info_18; }
inline UriInfo_tCB2302A896132D1F70E47C3895FAB9A0F2A6EE45 ** get_address_of_m_Info_18() { return &___m_Info_18; }
inline void set_m_Info_18(UriInfo_tCB2302A896132D1F70E47C3895FAB9A0F2A6EE45 * value)
{
___m_Info_18 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_Info_18), (void*)value);
}
inline static int32_t get_offset_of_m_iriParsing_19() { return static_cast<int32_t>(offsetof(Uri_t4A915E1CC15B2C650F478099AD448E9466CBF612, ___m_iriParsing_19)); }
inline bool get_m_iriParsing_19() const { return ___m_iriParsing_19; }
inline bool* get_address_of_m_iriParsing_19() { return &___m_iriParsing_19; }
inline void set_m_iriParsing_19(bool value)
{
___m_iriParsing_19 = value;
}
};
struct Uri_t4A915E1CC15B2C650F478099AD448E9466CBF612_StaticFields
{
public:
// System.String System.Uri::UriSchemeFile
String_t* ___UriSchemeFile_0;
// System.String System.Uri::UriSchemeFtp
String_t* ___UriSchemeFtp_1;
// System.String System.Uri::UriSchemeGopher
String_t* ___UriSchemeGopher_2;
// System.String System.Uri::UriSchemeHttp
String_t* ___UriSchemeHttp_3;
// System.String System.Uri::UriSchemeHttps
String_t* ___UriSchemeHttps_4;
// System.String System.Uri::UriSchemeWs
String_t* ___UriSchemeWs_5;
// System.String System.Uri::UriSchemeWss
String_t* ___UriSchemeWss_6;
// System.String System.Uri::UriSchemeMailto
String_t* ___UriSchemeMailto_7;
// System.String System.Uri::UriSchemeNews
String_t* ___UriSchemeNews_8;
// System.String System.Uri::UriSchemeNntp
String_t* ___UriSchemeNntp_9;
// System.String System.Uri::UriSchemeNetTcp
String_t* ___UriSchemeNetTcp_10;
// System.String System.Uri::UriSchemeNetPipe
String_t* ___UriSchemeNetPipe_11;
// System.String System.Uri::SchemeDelimiter
String_t* ___SchemeDelimiter_12;
// System.Boolean modreq(System.Runtime.CompilerServices.IsVolatile) System.Uri::s_ConfigInitialized
bool ___s_ConfigInitialized_20;
// System.Boolean modreq(System.Runtime.CompilerServices.IsVolatile) System.Uri::s_ConfigInitializing
bool ___s_ConfigInitializing_21;
// System.UriIdnScope modreq(System.Runtime.CompilerServices.IsVolatile) System.Uri::s_IdnScope
int32_t ___s_IdnScope_22;
// System.Boolean modreq(System.Runtime.CompilerServices.IsVolatile) System.Uri::s_IriParsing
bool ___s_IriParsing_23;
// System.Boolean System.Uri::useDotNetRelativeOrAbsolute
bool ___useDotNetRelativeOrAbsolute_24;
// System.Boolean System.Uri::IsWindowsFileSystem
bool ___IsWindowsFileSystem_25;
// System.Object System.Uri::s_initLock
RuntimeObject * ___s_initLock_26;
// System.Char[] System.Uri::HexLowerChars
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* ___HexLowerChars_27;
// System.Char[] System.Uri::_WSchars
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* ____WSchars_28;
public:
inline static int32_t get_offset_of_UriSchemeFile_0() { return static_cast<int32_t>(offsetof(Uri_t4A915E1CC15B2C650F478099AD448E9466CBF612_StaticFields, ___UriSchemeFile_0)); }
inline String_t* get_UriSchemeFile_0() const { return ___UriSchemeFile_0; }
inline String_t** get_address_of_UriSchemeFile_0() { return &___UriSchemeFile_0; }
inline void set_UriSchemeFile_0(String_t* value)
{
___UriSchemeFile_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___UriSchemeFile_0), (void*)value);
}
inline static int32_t get_offset_of_UriSchemeFtp_1() { return static_cast<int32_t>(offsetof(Uri_t4A915E1CC15B2C650F478099AD448E9466CBF612_StaticFields, ___UriSchemeFtp_1)); }
inline String_t* get_UriSchemeFtp_1() const { return ___UriSchemeFtp_1; }
inline String_t** get_address_of_UriSchemeFtp_1() { return &___UriSchemeFtp_1; }
inline void set_UriSchemeFtp_1(String_t* value)
{
___UriSchemeFtp_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___UriSchemeFtp_1), (void*)value);
}
inline static int32_t get_offset_of_UriSchemeGopher_2() { return static_cast<int32_t>(offsetof(Uri_t4A915E1CC15B2C650F478099AD448E9466CBF612_StaticFields, ___UriSchemeGopher_2)); }
inline String_t* get_UriSchemeGopher_2() const { return ___UriSchemeGopher_2; }
inline String_t** get_address_of_UriSchemeGopher_2() { return &___UriSchemeGopher_2; }
inline void set_UriSchemeGopher_2(String_t* value)
{
___UriSchemeGopher_2 = value;
Il2CppCodeGenWriteBarrier((void**)(&___UriSchemeGopher_2), (void*)value);
}
inline static int32_t get_offset_of_UriSchemeHttp_3() { return static_cast<int32_t>(offsetof(Uri_t4A915E1CC15B2C650F478099AD448E9466CBF612_StaticFields, ___UriSchemeHttp_3)); }
inline String_t* get_UriSchemeHttp_3() const { return ___UriSchemeHttp_3; }
inline String_t** get_address_of_UriSchemeHttp_3() { return &___UriSchemeHttp_3; }
inline void set_UriSchemeHttp_3(String_t* value)
{
___UriSchemeHttp_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&___UriSchemeHttp_3), (void*)value);
}
inline static int32_t get_offset_of_UriSchemeHttps_4() { return static_cast<int32_t>(offsetof(Uri_t4A915E1CC15B2C650F478099AD448E9466CBF612_StaticFields, ___UriSchemeHttps_4)); }
inline String_t* get_UriSchemeHttps_4() const { return ___UriSchemeHttps_4; }
inline String_t** get_address_of_UriSchemeHttps_4() { return &___UriSchemeHttps_4; }
inline void set_UriSchemeHttps_4(String_t* value)
{
___UriSchemeHttps_4 = value;
Il2CppCodeGenWriteBarrier((void**)(&___UriSchemeHttps_4), (void*)value);
}
inline static int32_t get_offset_of_UriSchemeWs_5() { return static_cast<int32_t>(offsetof(Uri_t4A915E1CC15B2C650F478099AD448E9466CBF612_StaticFields, ___UriSchemeWs_5)); }
inline String_t* get_UriSchemeWs_5() const { return ___UriSchemeWs_5; }
inline String_t** get_address_of_UriSchemeWs_5() { return &___UriSchemeWs_5; }
inline void set_UriSchemeWs_5(String_t* value)
{
___UriSchemeWs_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&___UriSchemeWs_5), (void*)value);
}
inline static int32_t get_offset_of_UriSchemeWss_6() { return static_cast<int32_t>(offsetof(Uri_t4A915E1CC15B2C650F478099AD448E9466CBF612_StaticFields, ___UriSchemeWss_6)); }
inline String_t* get_UriSchemeWss_6() const { return ___UriSchemeWss_6; }
inline String_t** get_address_of_UriSchemeWss_6() { return &___UriSchemeWss_6; }
inline void set_UriSchemeWss_6(String_t* value)
{
___UriSchemeWss_6 = value;
Il2CppCodeGenWriteBarrier((void**)(&___UriSchemeWss_6), (void*)value);
}
inline static int32_t get_offset_of_UriSchemeMailto_7() { return static_cast<int32_t>(offsetof(Uri_t4A915E1CC15B2C650F478099AD448E9466CBF612_StaticFields, ___UriSchemeMailto_7)); }
inline String_t* get_UriSchemeMailto_7() const { return ___UriSchemeMailto_7; }
inline String_t** get_address_of_UriSchemeMailto_7() { return &___UriSchemeMailto_7; }
inline void set_UriSchemeMailto_7(String_t* value)
{
___UriSchemeMailto_7 = value;
Il2CppCodeGenWriteBarrier((void**)(&___UriSchemeMailto_7), (void*)value);
}
inline static int32_t get_offset_of_UriSchemeNews_8() { return static_cast<int32_t>(offsetof(Uri_t4A915E1CC15B2C650F478099AD448E9466CBF612_StaticFields, ___UriSchemeNews_8)); }
inline String_t* get_UriSchemeNews_8() const { return ___UriSchemeNews_8; }
inline String_t** get_address_of_UriSchemeNews_8() { return &___UriSchemeNews_8; }
inline void set_UriSchemeNews_8(String_t* value)
{
___UriSchemeNews_8 = value;
Il2CppCodeGenWriteBarrier((void**)(&___UriSchemeNews_8), (void*)value);
}
inline static int32_t get_offset_of_UriSchemeNntp_9() { return static_cast<int32_t>(offsetof(Uri_t4A915E1CC15B2C650F478099AD448E9466CBF612_StaticFields, ___UriSchemeNntp_9)); }
inline String_t* get_UriSchemeNntp_9() const { return ___UriSchemeNntp_9; }
inline String_t** get_address_of_UriSchemeNntp_9() { return &___UriSchemeNntp_9; }
inline void set_UriSchemeNntp_9(String_t* value)
{
___UriSchemeNntp_9 = value;
Il2CppCodeGenWriteBarrier((void**)(&___UriSchemeNntp_9), (void*)value);
}
inline static int32_t get_offset_of_UriSchemeNetTcp_10() { return static_cast<int32_t>(offsetof(Uri_t4A915E1CC15B2C650F478099AD448E9466CBF612_StaticFields, ___UriSchemeNetTcp_10)); }
inline String_t* get_UriSchemeNetTcp_10() const { return ___UriSchemeNetTcp_10; }
inline String_t** get_address_of_UriSchemeNetTcp_10() { return &___UriSchemeNetTcp_10; }
inline void set_UriSchemeNetTcp_10(String_t* value)
{
___UriSchemeNetTcp_10 = value;
Il2CppCodeGenWriteBarrier((void**)(&___UriSchemeNetTcp_10), (void*)value);
}
inline static int32_t get_offset_of_UriSchemeNetPipe_11() { return static_cast<int32_t>(offsetof(Uri_t4A915E1CC15B2C650F478099AD448E9466CBF612_StaticFields, ___UriSchemeNetPipe_11)); }
inline String_t* get_UriSchemeNetPipe_11() const { return ___UriSchemeNetPipe_11; }
inline String_t** get_address_of_UriSchemeNetPipe_11() { return &___UriSchemeNetPipe_11; }
inline void set_UriSchemeNetPipe_11(String_t* value)
{
___UriSchemeNetPipe_11 = value;
Il2CppCodeGenWriteBarrier((void**)(&___UriSchemeNetPipe_11), (void*)value);
}
inline static int32_t get_offset_of_SchemeDelimiter_12() { return static_cast<int32_t>(offsetof(Uri_t4A915E1CC15B2C650F478099AD448E9466CBF612_StaticFields, ___SchemeDelimiter_12)); }
inline String_t* get_SchemeDelimiter_12() const { return ___SchemeDelimiter_12; }
inline String_t** get_address_of_SchemeDelimiter_12() { return &___SchemeDelimiter_12; }
inline void set_SchemeDelimiter_12(String_t* value)
{
___SchemeDelimiter_12 = value;
Il2CppCodeGenWriteBarrier((void**)(&___SchemeDelimiter_12), (void*)value);
}
inline static int32_t get_offset_of_s_ConfigInitialized_20() { return static_cast<int32_t>(offsetof(Uri_t4A915E1CC15B2C650F478099AD448E9466CBF612_StaticFields, ___s_ConfigInitialized_20)); }
inline bool get_s_ConfigInitialized_20() const { return ___s_ConfigInitialized_20; }
inline bool* get_address_of_s_ConfigInitialized_20() { return &___s_ConfigInitialized_20; }
inline void set_s_ConfigInitialized_20(bool value)
{
___s_ConfigInitialized_20 = value;
}
inline static int32_t get_offset_of_s_ConfigInitializing_21() { return static_cast<int32_t>(offsetof(Uri_t4A915E1CC15B2C650F478099AD448E9466CBF612_StaticFields, ___s_ConfigInitializing_21)); }
inline bool get_s_ConfigInitializing_21() const { return ___s_ConfigInitializing_21; }
inline bool* get_address_of_s_ConfigInitializing_21() { return &___s_ConfigInitializing_21; }
inline void set_s_ConfigInitializing_21(bool value)
{
___s_ConfigInitializing_21 = value;
}
inline static int32_t get_offset_of_s_IdnScope_22() { return static_cast<int32_t>(offsetof(Uri_t4A915E1CC15B2C650F478099AD448E9466CBF612_StaticFields, ___s_IdnScope_22)); }
inline int32_t get_s_IdnScope_22() const { return ___s_IdnScope_22; }
inline int32_t* get_address_of_s_IdnScope_22() { return &___s_IdnScope_22; }
inline void set_s_IdnScope_22(int32_t value)
{
___s_IdnScope_22 = value;
}
inline static int32_t get_offset_of_s_IriParsing_23() { return static_cast<int32_t>(offsetof(Uri_t4A915E1CC15B2C650F478099AD448E9466CBF612_StaticFields, ___s_IriParsing_23)); }
inline bool get_s_IriParsing_23() const { return ___s_IriParsing_23; }
inline bool* get_address_of_s_IriParsing_23() { return &___s_IriParsing_23; }
inline void set_s_IriParsing_23(bool value)
{
___s_IriParsing_23 = value;
}
inline static int32_t get_offset_of_useDotNetRelativeOrAbsolute_24() { return static_cast<int32_t>(offsetof(Uri_t4A915E1CC15B2C650F478099AD448E9466CBF612_StaticFields, ___useDotNetRelativeOrAbsolute_24)); }
inline bool get_useDotNetRelativeOrAbsolute_24() const { return ___useDotNetRelativeOrAbsolute_24; }
inline bool* get_address_of_useDotNetRelativeOrAbsolute_24() { return &___useDotNetRelativeOrAbsolute_24; }
inline void set_useDotNetRelativeOrAbsolute_24(bool value)
{
___useDotNetRelativeOrAbsolute_24 = value;
}
inline static int32_t get_offset_of_IsWindowsFileSystem_25() { return static_cast<int32_t>(offsetof(Uri_t4A915E1CC15B2C650F478099AD448E9466CBF612_StaticFields, ___IsWindowsFileSystem_25)); }
inline bool get_IsWindowsFileSystem_25() const { return ___IsWindowsFileSystem_25; }
inline bool* get_address_of_IsWindowsFileSystem_25() { return &___IsWindowsFileSystem_25; }
inline void set_IsWindowsFileSystem_25(bool value)
{
___IsWindowsFileSystem_25 = value;
}
inline static int32_t get_offset_of_s_initLock_26() { return static_cast<int32_t>(offsetof(Uri_t4A915E1CC15B2C650F478099AD448E9466CBF612_StaticFields, ___s_initLock_26)); }
inline RuntimeObject * get_s_initLock_26() const { return ___s_initLock_26; }
inline RuntimeObject ** get_address_of_s_initLock_26() { return &___s_initLock_26; }
inline void set_s_initLock_26(RuntimeObject * value)
{
___s_initLock_26 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_initLock_26), (void*)value);
}
inline static int32_t get_offset_of_HexLowerChars_27() { return static_cast<int32_t>(offsetof(Uri_t4A915E1CC15B2C650F478099AD448E9466CBF612_StaticFields, ___HexLowerChars_27)); }
inline CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* get_HexLowerChars_27() const { return ___HexLowerChars_27; }
inline CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34** get_address_of_HexLowerChars_27() { return &___HexLowerChars_27; }
inline void set_HexLowerChars_27(CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* value)
{
___HexLowerChars_27 = value;
Il2CppCodeGenWriteBarrier((void**)(&___HexLowerChars_27), (void*)value);
}
inline static int32_t get_offset_of__WSchars_28() { return static_cast<int32_t>(offsetof(Uri_t4A915E1CC15B2C650F478099AD448E9466CBF612_StaticFields, ____WSchars_28)); }
inline CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* get__WSchars_28() const { return ____WSchars_28; }
inline CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34** get_address_of__WSchars_28() { return &____WSchars_28; }
inline void set__WSchars_28(CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* value)
{
____WSchars_28 = value;
Il2CppCodeGenWriteBarrier((void**)(&____WSchars_28), (void*)value);
}
};
// System.UriParser
struct UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A : public RuntimeObject
{
public:
// System.UriSyntaxFlags System.UriParser::m_Flags
int32_t ___m_Flags_2;
// System.UriSyntaxFlags modreq(System.Runtime.CompilerServices.IsVolatile) System.UriParser::m_UpdatableFlags
int32_t ___m_UpdatableFlags_3;
// System.Boolean modreq(System.Runtime.CompilerServices.IsVolatile) System.UriParser::m_UpdatableFlagsUsed
bool ___m_UpdatableFlagsUsed_4;
// System.Int32 System.UriParser::m_Port
int32_t ___m_Port_5;
// System.String System.UriParser::m_Scheme
String_t* ___m_Scheme_6;
public:
inline static int32_t get_offset_of_m_Flags_2() { return static_cast<int32_t>(offsetof(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A, ___m_Flags_2)); }
inline int32_t get_m_Flags_2() const { return ___m_Flags_2; }
inline int32_t* get_address_of_m_Flags_2() { return &___m_Flags_2; }
inline void set_m_Flags_2(int32_t value)
{
___m_Flags_2 = value;
}
inline static int32_t get_offset_of_m_UpdatableFlags_3() { return static_cast<int32_t>(offsetof(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A, ___m_UpdatableFlags_3)); }
inline int32_t get_m_UpdatableFlags_3() const { return ___m_UpdatableFlags_3; }
inline int32_t* get_address_of_m_UpdatableFlags_3() { return &___m_UpdatableFlags_3; }
inline void set_m_UpdatableFlags_3(int32_t value)
{
___m_UpdatableFlags_3 = value;
}
inline static int32_t get_offset_of_m_UpdatableFlagsUsed_4() { return static_cast<int32_t>(offsetof(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A, ___m_UpdatableFlagsUsed_4)); }
inline bool get_m_UpdatableFlagsUsed_4() const { return ___m_UpdatableFlagsUsed_4; }
inline bool* get_address_of_m_UpdatableFlagsUsed_4() { return &___m_UpdatableFlagsUsed_4; }
inline void set_m_UpdatableFlagsUsed_4(bool value)
{
___m_UpdatableFlagsUsed_4 = value;
}
inline static int32_t get_offset_of_m_Port_5() { return static_cast<int32_t>(offsetof(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A, ___m_Port_5)); }
inline int32_t get_m_Port_5() const { return ___m_Port_5; }
inline int32_t* get_address_of_m_Port_5() { return &___m_Port_5; }
inline void set_m_Port_5(int32_t value)
{
___m_Port_5 = value;
}
inline static int32_t get_offset_of_m_Scheme_6() { return static_cast<int32_t>(offsetof(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A, ___m_Scheme_6)); }
inline String_t* get_m_Scheme_6() const { return ___m_Scheme_6; }
inline String_t** get_address_of_m_Scheme_6() { return &___m_Scheme_6; }
inline void set_m_Scheme_6(String_t* value)
{
___m_Scheme_6 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_Scheme_6), (void*)value);
}
};
struct UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields
{
public:
// System.Collections.Generic.Dictionary`2<System.String,System.UriParser> System.UriParser::m_Table
Dictionary_2_t29257EB2565DDF3180663167EF129FA9827836C5 * ___m_Table_0;
// System.Collections.Generic.Dictionary`2<System.String,System.UriParser> System.UriParser::m_TempTable
Dictionary_2_t29257EB2565DDF3180663167EF129FA9827836C5 * ___m_TempTable_1;
// System.UriParser System.UriParser::HttpUri
UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * ___HttpUri_7;
// System.UriParser System.UriParser::HttpsUri
UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * ___HttpsUri_8;
// System.UriParser System.UriParser::WsUri
UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * ___WsUri_9;
// System.UriParser System.UriParser::WssUri
UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * ___WssUri_10;
// System.UriParser System.UriParser::FtpUri
UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * ___FtpUri_11;
// System.UriParser System.UriParser::FileUri
UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * ___FileUri_12;
// System.UriParser System.UriParser::GopherUri
UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * ___GopherUri_13;
// System.UriParser System.UriParser::NntpUri
UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * ___NntpUri_14;
// System.UriParser System.UriParser::NewsUri
UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * ___NewsUri_15;
// System.UriParser System.UriParser::MailToUri
UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * ___MailToUri_16;
// System.UriParser System.UriParser::UuidUri
UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * ___UuidUri_17;
// System.UriParser System.UriParser::TelnetUri
UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * ___TelnetUri_18;
// System.UriParser System.UriParser::LdapUri
UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * ___LdapUri_19;
// System.UriParser System.UriParser::NetTcpUri
UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * ___NetTcpUri_20;
// System.UriParser System.UriParser::NetPipeUri
UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * ___NetPipeUri_21;
// System.UriParser System.UriParser::VsMacrosUri
UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * ___VsMacrosUri_22;
// System.UriParser/UriQuirksVersion System.UriParser::s_QuirksVersion
int32_t ___s_QuirksVersion_23;
// System.UriSyntaxFlags System.UriParser::HttpSyntaxFlags
int32_t ___HttpSyntaxFlags_24;
// System.UriSyntaxFlags System.UriParser::FileSyntaxFlags
int32_t ___FileSyntaxFlags_25;
public:
inline static int32_t get_offset_of_m_Table_0() { return static_cast<int32_t>(offsetof(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields, ___m_Table_0)); }
inline Dictionary_2_t29257EB2565DDF3180663167EF129FA9827836C5 * get_m_Table_0() const { return ___m_Table_0; }
inline Dictionary_2_t29257EB2565DDF3180663167EF129FA9827836C5 ** get_address_of_m_Table_0() { return &___m_Table_0; }
inline void set_m_Table_0(Dictionary_2_t29257EB2565DDF3180663167EF129FA9827836C5 * value)
{
___m_Table_0 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_Table_0), (void*)value);
}
inline static int32_t get_offset_of_m_TempTable_1() { return static_cast<int32_t>(offsetof(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields, ___m_TempTable_1)); }
inline Dictionary_2_t29257EB2565DDF3180663167EF129FA9827836C5 * get_m_TempTable_1() const { return ___m_TempTable_1; }
inline Dictionary_2_t29257EB2565DDF3180663167EF129FA9827836C5 ** get_address_of_m_TempTable_1() { return &___m_TempTable_1; }
inline void set_m_TempTable_1(Dictionary_2_t29257EB2565DDF3180663167EF129FA9827836C5 * value)
{
___m_TempTable_1 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_TempTable_1), (void*)value);
}
inline static int32_t get_offset_of_HttpUri_7() { return static_cast<int32_t>(offsetof(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields, ___HttpUri_7)); }
inline UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * get_HttpUri_7() const { return ___HttpUri_7; }
inline UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A ** get_address_of_HttpUri_7() { return &___HttpUri_7; }
inline void set_HttpUri_7(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * value)
{
___HttpUri_7 = value;
Il2CppCodeGenWriteBarrier((void**)(&___HttpUri_7), (void*)value);
}
inline static int32_t get_offset_of_HttpsUri_8() { return static_cast<int32_t>(offsetof(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields, ___HttpsUri_8)); }
inline UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * get_HttpsUri_8() const { return ___HttpsUri_8; }
inline UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A ** get_address_of_HttpsUri_8() { return &___HttpsUri_8; }
inline void set_HttpsUri_8(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * value)
{
___HttpsUri_8 = value;
Il2CppCodeGenWriteBarrier((void**)(&___HttpsUri_8), (void*)value);
}
inline static int32_t get_offset_of_WsUri_9() { return static_cast<int32_t>(offsetof(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields, ___WsUri_9)); }
inline UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * get_WsUri_9() const { return ___WsUri_9; }
inline UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A ** get_address_of_WsUri_9() { return &___WsUri_9; }
inline void set_WsUri_9(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * value)
{
___WsUri_9 = value;
Il2CppCodeGenWriteBarrier((void**)(&___WsUri_9), (void*)value);
}
inline static int32_t get_offset_of_WssUri_10() { return static_cast<int32_t>(offsetof(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields, ___WssUri_10)); }
inline UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * get_WssUri_10() const { return ___WssUri_10; }
inline UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A ** get_address_of_WssUri_10() { return &___WssUri_10; }
inline void set_WssUri_10(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * value)
{
___WssUri_10 = value;
Il2CppCodeGenWriteBarrier((void**)(&___WssUri_10), (void*)value);
}
inline static int32_t get_offset_of_FtpUri_11() { return static_cast<int32_t>(offsetof(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields, ___FtpUri_11)); }
inline UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * get_FtpUri_11() const { return ___FtpUri_11; }
inline UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A ** get_address_of_FtpUri_11() { return &___FtpUri_11; }
inline void set_FtpUri_11(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * value)
{
___FtpUri_11 = value;
Il2CppCodeGenWriteBarrier((void**)(&___FtpUri_11), (void*)value);
}
inline static int32_t get_offset_of_FileUri_12() { return static_cast<int32_t>(offsetof(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields, ___FileUri_12)); }
inline UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * get_FileUri_12() const { return ___FileUri_12; }
inline UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A ** get_address_of_FileUri_12() { return &___FileUri_12; }
inline void set_FileUri_12(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * value)
{
___FileUri_12 = value;
Il2CppCodeGenWriteBarrier((void**)(&___FileUri_12), (void*)value);
}
inline static int32_t get_offset_of_GopherUri_13() { return static_cast<int32_t>(offsetof(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields, ___GopherUri_13)); }
inline UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * get_GopherUri_13() const { return ___GopherUri_13; }
inline UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A ** get_address_of_GopherUri_13() { return &___GopherUri_13; }
inline void set_GopherUri_13(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * value)
{
___GopherUri_13 = value;
Il2CppCodeGenWriteBarrier((void**)(&___GopherUri_13), (void*)value);
}
inline static int32_t get_offset_of_NntpUri_14() { return static_cast<int32_t>(offsetof(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields, ___NntpUri_14)); }
inline UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * get_NntpUri_14() const { return ___NntpUri_14; }
inline UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A ** get_address_of_NntpUri_14() { return &___NntpUri_14; }
inline void set_NntpUri_14(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * value)
{
___NntpUri_14 = value;
Il2CppCodeGenWriteBarrier((void**)(&___NntpUri_14), (void*)value);
}
inline static int32_t get_offset_of_NewsUri_15() { return static_cast<int32_t>(offsetof(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields, ___NewsUri_15)); }
inline UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * get_NewsUri_15() const { return ___NewsUri_15; }
inline UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A ** get_address_of_NewsUri_15() { return &___NewsUri_15; }
inline void set_NewsUri_15(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * value)
{
___NewsUri_15 = value;
Il2CppCodeGenWriteBarrier((void**)(&___NewsUri_15), (void*)value);
}
inline static int32_t get_offset_of_MailToUri_16() { return static_cast<int32_t>(offsetof(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields, ___MailToUri_16)); }
inline UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * get_MailToUri_16() const { return ___MailToUri_16; }
inline UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A ** get_address_of_MailToUri_16() { return &___MailToUri_16; }
inline void set_MailToUri_16(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * value)
{
___MailToUri_16 = value;
Il2CppCodeGenWriteBarrier((void**)(&___MailToUri_16), (void*)value);
}
inline static int32_t get_offset_of_UuidUri_17() { return static_cast<int32_t>(offsetof(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields, ___UuidUri_17)); }
inline UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * get_UuidUri_17() const { return ___UuidUri_17; }
inline UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A ** get_address_of_UuidUri_17() { return &___UuidUri_17; }
inline void set_UuidUri_17(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * value)
{
___UuidUri_17 = value;
Il2CppCodeGenWriteBarrier((void**)(&___UuidUri_17), (void*)value);
}
inline static int32_t get_offset_of_TelnetUri_18() { return static_cast<int32_t>(offsetof(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields, ___TelnetUri_18)); }
inline UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * get_TelnetUri_18() const { return ___TelnetUri_18; }
inline UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A ** get_address_of_TelnetUri_18() { return &___TelnetUri_18; }
inline void set_TelnetUri_18(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * value)
{
___TelnetUri_18 = value;
Il2CppCodeGenWriteBarrier((void**)(&___TelnetUri_18), (void*)value);
}
inline static int32_t get_offset_of_LdapUri_19() { return static_cast<int32_t>(offsetof(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields, ___LdapUri_19)); }
inline UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * get_LdapUri_19() const { return ___LdapUri_19; }
inline UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A ** get_address_of_LdapUri_19() { return &___LdapUri_19; }
inline void set_LdapUri_19(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * value)
{
___LdapUri_19 = value;
Il2CppCodeGenWriteBarrier((void**)(&___LdapUri_19), (void*)value);
}
inline static int32_t get_offset_of_NetTcpUri_20() { return static_cast<int32_t>(offsetof(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields, ___NetTcpUri_20)); }
inline UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * get_NetTcpUri_20() const { return ___NetTcpUri_20; }
inline UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A ** get_address_of_NetTcpUri_20() { return &___NetTcpUri_20; }
inline void set_NetTcpUri_20(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * value)
{
___NetTcpUri_20 = value;
Il2CppCodeGenWriteBarrier((void**)(&___NetTcpUri_20), (void*)value);
}
inline static int32_t get_offset_of_NetPipeUri_21() { return static_cast<int32_t>(offsetof(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields, ___NetPipeUri_21)); }
inline UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * get_NetPipeUri_21() const { return ___NetPipeUri_21; }
inline UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A ** get_address_of_NetPipeUri_21() { return &___NetPipeUri_21; }
inline void set_NetPipeUri_21(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * value)
{
___NetPipeUri_21 = value;
Il2CppCodeGenWriteBarrier((void**)(&___NetPipeUri_21), (void*)value);
}
inline static int32_t get_offset_of_VsMacrosUri_22() { return static_cast<int32_t>(offsetof(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields, ___VsMacrosUri_22)); }
inline UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * get_VsMacrosUri_22() const { return ___VsMacrosUri_22; }
inline UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A ** get_address_of_VsMacrosUri_22() { return &___VsMacrosUri_22; }
inline void set_VsMacrosUri_22(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * value)
{
___VsMacrosUri_22 = value;
Il2CppCodeGenWriteBarrier((void**)(&___VsMacrosUri_22), (void*)value);
}
inline static int32_t get_offset_of_s_QuirksVersion_23() { return static_cast<int32_t>(offsetof(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields, ___s_QuirksVersion_23)); }
inline int32_t get_s_QuirksVersion_23() const { return ___s_QuirksVersion_23; }
inline int32_t* get_address_of_s_QuirksVersion_23() { return &___s_QuirksVersion_23; }
inline void set_s_QuirksVersion_23(int32_t value)
{
___s_QuirksVersion_23 = value;
}
inline static int32_t get_offset_of_HttpSyntaxFlags_24() { return static_cast<int32_t>(offsetof(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields, ___HttpSyntaxFlags_24)); }
inline int32_t get_HttpSyntaxFlags_24() const { return ___HttpSyntaxFlags_24; }
inline int32_t* get_address_of_HttpSyntaxFlags_24() { return &___HttpSyntaxFlags_24; }
inline void set_HttpSyntaxFlags_24(int32_t value)
{
___HttpSyntaxFlags_24 = value;
}
inline static int32_t get_offset_of_FileSyntaxFlags_25() { return static_cast<int32_t>(offsetof(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields, ___FileSyntaxFlags_25)); }
inline int32_t get_FileSyntaxFlags_25() const { return ___FileSyntaxFlags_25; }
inline int32_t* get_address_of_FileSyntaxFlags_25() { return &___FileSyntaxFlags_25; }
inline void set_FileSyntaxFlags_25(int32_t value)
{
___FileSyntaxFlags_25 = value;
}
};
// System.UriTypeConverter
struct UriTypeConverter_tF512B4F48E57AC42B460E2847743CD78F4D24694 : public TypeConverter_t004F185B630F00F509F08BD8F8D82471867323B4
{
public:
public:
};
// System.Security.Cryptography.X509Certificates.X509BasicConstraintsExtension
struct X509BasicConstraintsExtension_t790FA4E7D9715A72A621A290FF0CDD5A647EF3CF : public X509Extension_t9142CAA11EB46CC4CAB51A26D3B84BDA06FA9FF5
{
public:
// System.Boolean System.Security.Cryptography.X509Certificates.X509BasicConstraintsExtension::_certificateAuthority
bool ____certificateAuthority_5;
// System.Boolean System.Security.Cryptography.X509Certificates.X509BasicConstraintsExtension::_hasPathLengthConstraint
bool ____hasPathLengthConstraint_6;
// System.Int32 System.Security.Cryptography.X509Certificates.X509BasicConstraintsExtension::_pathLengthConstraint
int32_t ____pathLengthConstraint_7;
// System.Security.Cryptography.AsnDecodeStatus System.Security.Cryptography.X509Certificates.X509BasicConstraintsExtension::_status
int32_t ____status_8;
public:
inline static int32_t get_offset_of__certificateAuthority_5() { return static_cast<int32_t>(offsetof(X509BasicConstraintsExtension_t790FA4E7D9715A72A621A290FF0CDD5A647EF3CF, ____certificateAuthority_5)); }
inline bool get__certificateAuthority_5() const { return ____certificateAuthority_5; }
inline bool* get_address_of__certificateAuthority_5() { return &____certificateAuthority_5; }
inline void set__certificateAuthority_5(bool value)
{
____certificateAuthority_5 = value;
}
inline static int32_t get_offset_of__hasPathLengthConstraint_6() { return static_cast<int32_t>(offsetof(X509BasicConstraintsExtension_t790FA4E7D9715A72A621A290FF0CDD5A647EF3CF, ____hasPathLengthConstraint_6)); }
inline bool get__hasPathLengthConstraint_6() const { return ____hasPathLengthConstraint_6; }
inline bool* get_address_of__hasPathLengthConstraint_6() { return &____hasPathLengthConstraint_6; }
inline void set__hasPathLengthConstraint_6(bool value)
{
____hasPathLengthConstraint_6 = value;
}
inline static int32_t get_offset_of__pathLengthConstraint_7() { return static_cast<int32_t>(offsetof(X509BasicConstraintsExtension_t790FA4E7D9715A72A621A290FF0CDD5A647EF3CF, ____pathLengthConstraint_7)); }
inline int32_t get__pathLengthConstraint_7() const { return ____pathLengthConstraint_7; }
inline int32_t* get_address_of__pathLengthConstraint_7() { return &____pathLengthConstraint_7; }
inline void set__pathLengthConstraint_7(int32_t value)
{
____pathLengthConstraint_7 = value;
}
inline static int32_t get_offset_of__status_8() { return static_cast<int32_t>(offsetof(X509BasicConstraintsExtension_t790FA4E7D9715A72A621A290FF0CDD5A647EF3CF, ____status_8)); }
inline int32_t get__status_8() const { return ____status_8; }
inline int32_t* get_address_of__status_8() { return &____status_8; }
inline void set__status_8(int32_t value)
{
____status_8 = value;
}
};
// System.Security.Cryptography.X509Certificates.X509EnhancedKeyUsageExtension
struct X509EnhancedKeyUsageExtension_tD53B0C2AF93C2496461F2960946C5F40A33AC82B : public X509Extension_t9142CAA11EB46CC4CAB51A26D3B84BDA06FA9FF5
{
public:
// System.Security.Cryptography.OidCollection System.Security.Cryptography.X509Certificates.X509EnhancedKeyUsageExtension::_enhKeyUsage
OidCollection_tA091E185B8840648BE96A6C547F0C26F88E3A902 * ____enhKeyUsage_3;
// System.Security.Cryptography.AsnDecodeStatus System.Security.Cryptography.X509Certificates.X509EnhancedKeyUsageExtension::_status
int32_t ____status_4;
public:
inline static int32_t get_offset_of__enhKeyUsage_3() { return static_cast<int32_t>(offsetof(X509EnhancedKeyUsageExtension_tD53B0C2AF93C2496461F2960946C5F40A33AC82B, ____enhKeyUsage_3)); }
inline OidCollection_tA091E185B8840648BE96A6C547F0C26F88E3A902 * get__enhKeyUsage_3() const { return ____enhKeyUsage_3; }
inline OidCollection_tA091E185B8840648BE96A6C547F0C26F88E3A902 ** get_address_of__enhKeyUsage_3() { return &____enhKeyUsage_3; }
inline void set__enhKeyUsage_3(OidCollection_tA091E185B8840648BE96A6C547F0C26F88E3A902 * value)
{
____enhKeyUsage_3 = value;
Il2CppCodeGenWriteBarrier((void**)(&____enhKeyUsage_3), (void*)value);
}
inline static int32_t get_offset_of__status_4() { return static_cast<int32_t>(offsetof(X509EnhancedKeyUsageExtension_tD53B0C2AF93C2496461F2960946C5F40A33AC82B, ____status_4)); }
inline int32_t get__status_4() const { return ____status_4; }
inline int32_t* get_address_of__status_4() { return &____status_4; }
inline void set__status_4(int32_t value)
{
____status_4 = value;
}
};
// System.Security.Cryptography.X509Certificates.X509KeyUsageExtension
struct X509KeyUsageExtension_tF78A71F87AEE0E0DC54DFF837AB2880E3D9CF227 : public X509Extension_t9142CAA11EB46CC4CAB51A26D3B84BDA06FA9FF5
{
public:
// System.Security.Cryptography.X509Certificates.X509KeyUsageFlags System.Security.Cryptography.X509Certificates.X509KeyUsageExtension::_keyUsages
int32_t ____keyUsages_6;
// System.Security.Cryptography.AsnDecodeStatus System.Security.Cryptography.X509Certificates.X509KeyUsageExtension::_status
int32_t ____status_7;
public:
inline static int32_t get_offset_of__keyUsages_6() { return static_cast<int32_t>(offsetof(X509KeyUsageExtension_tF78A71F87AEE0E0DC54DFF837AB2880E3D9CF227, ____keyUsages_6)); }
inline int32_t get__keyUsages_6() const { return ____keyUsages_6; }
inline int32_t* get_address_of__keyUsages_6() { return &____keyUsages_6; }
inline void set__keyUsages_6(int32_t value)
{
____keyUsages_6 = value;
}
inline static int32_t get_offset_of__status_7() { return static_cast<int32_t>(offsetof(X509KeyUsageExtension_tF78A71F87AEE0E0DC54DFF837AB2880E3D9CF227, ____status_7)); }
inline int32_t get__status_7() const { return ____status_7; }
inline int32_t* get_address_of__status_7() { return &____status_7; }
inline void set__status_7(int32_t value)
{
____status_7 = value;
}
};
// System.Security.Cryptography.X509Certificates.X509SubjectKeyIdentifierExtension
struct X509SubjectKeyIdentifierExtension_t9781D24066D84C09C7137124FBC848491BF54567 : public X509Extension_t9142CAA11EB46CC4CAB51A26D3B84BDA06FA9FF5
{
public:
// System.Byte[] System.Security.Cryptography.X509Certificates.X509SubjectKeyIdentifierExtension::_subjectKeyIdentifier
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ____subjectKeyIdentifier_5;
// System.String System.Security.Cryptography.X509Certificates.X509SubjectKeyIdentifierExtension::_ski
String_t* ____ski_6;
// System.Security.Cryptography.AsnDecodeStatus System.Security.Cryptography.X509Certificates.X509SubjectKeyIdentifierExtension::_status
int32_t ____status_7;
public:
inline static int32_t get_offset_of__subjectKeyIdentifier_5() { return static_cast<int32_t>(offsetof(X509SubjectKeyIdentifierExtension_t9781D24066D84C09C7137124FBC848491BF54567, ____subjectKeyIdentifier_5)); }
inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* get__subjectKeyIdentifier_5() const { return ____subjectKeyIdentifier_5; }
inline ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726** get_address_of__subjectKeyIdentifier_5() { return &____subjectKeyIdentifier_5; }
inline void set__subjectKeyIdentifier_5(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* value)
{
____subjectKeyIdentifier_5 = value;
Il2CppCodeGenWriteBarrier((void**)(&____subjectKeyIdentifier_5), (void*)value);
}
inline static int32_t get_offset_of__ski_6() { return static_cast<int32_t>(offsetof(X509SubjectKeyIdentifierExtension_t9781D24066D84C09C7137124FBC848491BF54567, ____ski_6)); }
inline String_t* get__ski_6() const { return ____ski_6; }
inline String_t** get_address_of__ski_6() { return &____ski_6; }
inline void set__ski_6(String_t* value)
{
____ski_6 = value;
Il2CppCodeGenWriteBarrier((void**)(&____ski_6), (void*)value);
}
inline static int32_t get_offset_of__status_7() { return static_cast<int32_t>(offsetof(X509SubjectKeyIdentifierExtension_t9781D24066D84C09C7137124FBC848491BF54567, ____status_7)); }
inline int32_t get__status_7() const { return ____status_7; }
inline int32_t* get_address_of__status_7() { return &____status_7; }
inline void set__status_7(int32_t value)
{
____status_7 = value;
}
};
// System.ArgumentException
struct ArgumentException_t505FA8C11E883F2D96C797AD9D396490794DEE00 : public SystemException_tC551B4D6EE3772B5F32C71EE8C719F4B43ECCC62
{
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_t505FA8C11E883F2D96C797AD9D396490794DEE00, ___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((void**)(&___m_paramName_17), (void*)value);
}
};
// System.Security.Cryptography.CryptographicException
struct CryptographicException_tFFE56EF733D1150A0F3738DDE2CC4DE1A61849D5 : public SystemException_tC551B4D6EE3772B5F32C71EE8C719F4B43ECCC62
{
public:
public:
};
// System.Runtime.InteropServices.ExternalException
struct ExternalException_tC18275DD0AEB2CDF9F85D94670C5A49A4DC3B783 : public SystemException_tC551B4D6EE3772B5F32C71EE8C719F4B43ECCC62
{
public:
public:
};
// System.FormatException
struct FormatException_t119BB207B54B4B1BC28D9B1783C4625AE23D4759 : public SystemException_tC551B4D6EE3772B5F32C71EE8C719F4B43ECCC62
{
public:
public:
};
// System.InvalidOperationException
struct InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB : public SystemException_tC551B4D6EE3772B5F32C71EE8C719F4B43ECCC62
{
public:
public:
};
// System.NotImplementedException
struct NotImplementedException_t26260C4EE0444C5FA022994203060B3A42A3ADE6 : public SystemException_tC551B4D6EE3772B5F32C71EE8C719F4B43ECCC62
{
public:
public:
};
// System.UriParser/BuiltInUriParser
struct BuiltInUriParser_tD002C3439D3683127C216D09E22B0973AB9FDF26 : public UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A
{
public:
public:
};
// System.ArgumentNullException
struct ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB : public ArgumentException_t505FA8C11E883F2D96C797AD9D396490794DEE00
{
public:
public:
};
// System.ArgumentOutOfRangeException
struct ArgumentOutOfRangeException_tFAF23713820951D4A09ABBFE5CC091E445A6F3D8 : public ArgumentException_t505FA8C11E883F2D96C797AD9D396490794DEE00
{
public:
// System.Object System.ArgumentOutOfRangeException::m_actualValue
RuntimeObject * ___m_actualValue_19;
public:
inline static int32_t get_offset_of_m_actualValue_19() { return static_cast<int32_t>(offsetof(ArgumentOutOfRangeException_tFAF23713820951D4A09ABBFE5CC091E445A6F3D8, ___m_actualValue_19)); }
inline RuntimeObject * get_m_actualValue_19() const { return ___m_actualValue_19; }
inline RuntimeObject ** get_address_of_m_actualValue_19() { return &___m_actualValue_19; }
inline void set_m_actualValue_19(RuntimeObject * value)
{
___m_actualValue_19 = value;
Il2CppCodeGenWriteBarrier((void**)(&___m_actualValue_19), (void*)value);
}
};
struct ArgumentOutOfRangeException_tFAF23713820951D4A09ABBFE5CC091E445A6F3D8_StaticFields
{
public:
// System.String modreq(System.Runtime.CompilerServices.IsVolatile) System.ArgumentOutOfRangeException::_rangeMessage
String_t* ____rangeMessage_18;
public:
inline static int32_t get_offset_of__rangeMessage_18() { return static_cast<int32_t>(offsetof(ArgumentOutOfRangeException_tFAF23713820951D4A09ABBFE5CC091E445A6F3D8_StaticFields, ____rangeMessage_18)); }
inline String_t* get__rangeMessage_18() const { return ____rangeMessage_18; }
inline String_t** get_address_of__rangeMessage_18() { return &____rangeMessage_18; }
inline void set__rangeMessage_18(String_t* value)
{
____rangeMessage_18 = value;
Il2CppCodeGenWriteBarrier((void**)(&____rangeMessage_18), (void*)value);
}
};
// System.UriFormatException
struct UriFormatException_tAA45C6D2264E9E74935A066FC3DF8DF68B37B61D : public FormatException_t119BB207B54B4B1BC28D9B1783C4625AE23D4759
{
public:
public:
};
// System.ComponentModel.Win32Exception
struct Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950 : public ExternalException_tC18275DD0AEB2CDF9F85D94670C5A49A4DC3B783
{
public:
// System.Int32 System.ComponentModel.Win32Exception::nativeErrorCode
int32_t ___nativeErrorCode_17;
public:
inline static int32_t get_offset_of_nativeErrorCode_17() { return static_cast<int32_t>(offsetof(Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950, ___nativeErrorCode_17)); }
inline int32_t get_nativeErrorCode_17() const { return ___nativeErrorCode_17; }
inline int32_t* get_address_of_nativeErrorCode_17() { return &___nativeErrorCode_17; }
inline void set_nativeErrorCode_17(int32_t value)
{
___nativeErrorCode_17 = value;
}
};
struct Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_StaticFields
{
public:
// System.Boolean System.ComponentModel.Win32Exception::s_ErrorMessagesInitialized
bool ___s_ErrorMessagesInitialized_18;
// System.Collections.Generic.Dictionary`2<System.Int32,System.String> System.ComponentModel.Win32Exception::s_ErrorMessage
Dictionary_2_t0ACB62D0885C7AB376463C70665400A39808C5FB * ___s_ErrorMessage_19;
public:
inline static int32_t get_offset_of_s_ErrorMessagesInitialized_18() { return static_cast<int32_t>(offsetof(Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_StaticFields, ___s_ErrorMessagesInitialized_18)); }
inline bool get_s_ErrorMessagesInitialized_18() const { return ___s_ErrorMessagesInitialized_18; }
inline bool* get_address_of_s_ErrorMessagesInitialized_18() { return &___s_ErrorMessagesInitialized_18; }
inline void set_s_ErrorMessagesInitialized_18(bool value)
{
___s_ErrorMessagesInitialized_18 = value;
}
inline static int32_t get_offset_of_s_ErrorMessage_19() { return static_cast<int32_t>(offsetof(Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_StaticFields, ___s_ErrorMessage_19)); }
inline Dictionary_2_t0ACB62D0885C7AB376463C70665400A39808C5FB * get_s_ErrorMessage_19() const { return ___s_ErrorMessage_19; }
inline Dictionary_2_t0ACB62D0885C7AB376463C70665400A39808C5FB ** get_address_of_s_ErrorMessage_19() { return &___s_ErrorMessage_19; }
inline void set_s_ErrorMessage_19(Dictionary_2_t0ACB62D0885C7AB376463C70665400A39808C5FB * value)
{
___s_ErrorMessage_19 = value;
Il2CppCodeGenWriteBarrier((void**)(&___s_ErrorMessage_19), (void*)value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
// System.Char[]
struct CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34 : 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.Byte[]
struct ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726 : public RuntimeArray
{
public:
ALIGN_FIELD (8) uint8_t m_Items[1];
public:
inline uint8_t GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline uint8_t* 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, uint8_t value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
}
inline uint8_t GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline uint8_t* GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, uint8_t value)
{
m_Items[index] = value;
}
};
// System.Object[]
struct ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE : public RuntimeArray
{
public:
ALIGN_FIELD (8) RuntimeObject * m_Items[1];
public:
inline RuntimeObject * GetAt(il2cpp_array_size_t index) const
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
return m_Items[index];
}
inline RuntimeObject ** 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, RuntimeObject * value)
{
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
inline RuntimeObject * GetAtUnchecked(il2cpp_array_size_t index) const
{
return m_Items[index];
}
inline RuntimeObject ** GetAddressAtUnchecked(il2cpp_array_size_t index)
{
return m_Items + index;
}
inline void SetAtUnchecked(il2cpp_array_size_t index, RuntimeObject * value)
{
m_Items[index] = value;
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
}
};
// System.Void System.Collections.Generic.Dictionary`2<System.Object,System.Object>::.ctor(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Dictionary_2__ctor_mBD7199657787018123B7B8F2B048B503D484C097_gshared (Dictionary_2_tBD1E3221EBD04CEBDA49B84779912E91F56B958D * __this, int32_t ___capacity0, const RuntimeMethod* method);
// System.Void System.Collections.Generic.Dictionary`2<System.Object,System.Object>::set_Item(!0,!1)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Dictionary_2_set_Item_mE6BF870B04922441F9F2760E782DEE6EE682615A_gshared (Dictionary_2_tBD1E3221EBD04CEBDA49B84779912E91F56B958D * __this, RuntimeObject * ___key0, RuntimeObject * ___value1, const RuntimeMethod* method);
// System.Boolean System.Collections.Generic.Dictionary`2<System.Object,System.Object>::TryGetValue(!0,!1&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Dictionary_2_TryGetValue_m048C13E0F44BDC16F7CF01D14E918A84EE72C62C_gshared (Dictionary_2_tBD1E3221EBD04CEBDA49B84779912E91F56B958D * __this, RuntimeObject * ___key0, RuntimeObject ** ___value1, const RuntimeMethod* method);
// System.Int32 System.Collections.Generic.Dictionary`2<System.Object,System.Object>::get_Count()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Dictionary_2_get_Count_m1B599EE742A00E8D399B43E225AD4C6571FBC8DA_gshared (Dictionary_2_tBD1E3221EBD04CEBDA49B84779912E91F56B958D * __this, const RuntimeMethod* method);
// System.Boolean System.Collections.Generic.Dictionary`2<System.Int32,System.Object>::TryGetValue(!0,!1&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Dictionary_2_TryGetValue_m0A88BBB063127AFAD853506A433ACB07D7AAD67E_gshared (Dictionary_2_tE1E5B6327FFA2C7AE34A69E0011815C914771C2F * __this, int32_t ___key0, RuntimeObject ** ___value1, const RuntimeMethod* method);
// System.Void System.Collections.Generic.Dictionary`2<System.Int32,System.Object>::Add(!0,!1)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Dictionary_2_Add_m39BC00F21EE9459BB8DEF5479F95F79C5C740682_gshared (Dictionary_2_tE1E5B6327FFA2C7AE34A69E0011815C914771C2F * __this, int32_t ___key0, RuntimeObject * ___value1, const RuntimeMethod* method);
// System.Void System.Collections.Generic.Dictionary`2<System.Int32,System.Object>::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Dictionary_2__ctor_mE7F9D51201F5A72BF4995CA0F3F0E866DB21E638_gshared (Dictionary_2_tE1E5B6327FFA2C7AE34A69E0011815C914771C2F * __this, const RuntimeMethod* method);
// System.Void System.FormatException::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void FormatException__ctor_m782FDB1A7F0BA932C9937FDB8E936D0E4724AA67 (FormatException_t119BB207B54B4B1BC28D9B1783C4625AE23D4759 * __this, const RuntimeMethod* method);
// System.Void System.FormatException::.ctor(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void FormatException__ctor_mB8F9A26F985EF9A6C0C082F7D70CFDF2DBDBB23B (FormatException_t119BB207B54B4B1BC28D9B1783C4625AE23D4759 * __this, String_t* ___message0, const RuntimeMethod* method);
// System.Void System.FormatException::.ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void FormatException__ctor_m9D50D1A9FC1B72427455B7FFBDB80198D996667F (FormatException_t119BB207B54B4B1BC28D9B1783C4625AE23D4759 * __this, SerializationInfo_t097DA64D9DB49ED7F2458E964BE8CCCF63FC67C1 * ___info0, StreamingContext_t5888E7E8C81AB6EF3B14FDDA6674F458076A8505 ___context1, const RuntimeMethod* method);
// System.Void System.Exception::GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Exception_GetObjectData_m2031046D41E7BEE3C743E918B358A336F99D6882 (Exception_t * __this, SerializationInfo_t097DA64D9DB49ED7F2458E964BE8CCCF63FC67C1 * ___info0, StreamingContext_t5888E7E8C81AB6EF3B14FDDA6674F458076A8505 ___context1, const RuntimeMethod* method);
// System.String SR::GetString(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* SR_GetString_m9DC7F3962EEB239017A1A4C443F52047B5BC7462 (String_t* ___name0, const RuntimeMethod* method);
// System.Void System.UriFormatException::.ctor(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void UriFormatException__ctor_mC9CB29EF00CB33869659306AC3FCA69342FD044F (UriFormatException_tAA45C6D2264E9E74935A066FC3DF8DF68B37B61D * __this, String_t* ___textString0, const RuntimeMethod* method);
// System.Int32 System.Runtime.CompilerServices.RuntimeHelpers::get_OffsetToStringData()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t RuntimeHelpers_get_OffsetToStringData_mEB8E6EAEBAFAB7CD7F7A915B3081785AABB9FC42 (const RuntimeMethod* method);
// System.Int32 System.Math::Min(System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Math_Min_m4C6E1589800A3AA57C1F430C3903847E8D7B4574 (int32_t ___val10, int32_t ___val21, const RuntimeMethod* method);
// System.Char[] System.UriHelper::EnsureDestinationSize(System.Char*,System.Char[],System.Int32,System.Int16,System.Int16,System.Int32&,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* UriHelper_EnsureDestinationSize_mE185843AD5B8A829F920147F03FB252CF06129B4 (Il2CppChar* ___pStr0, CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* ___dest1, int32_t ___currentInputPos2, int16_t ___charsToAdd3, int16_t ___minReallocateChars4, int32_t* ___destPos5, int32_t ___prevInputPos6, const RuntimeMethod* method);
// System.Text.Encoding System.Text.Encoding::get_UTF8()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Encoding_tE901442411E2E70039D2A4AE77FB81C3D6064827 * Encoding_get_UTF8_mC877FB3137BBD566AEE7B15F9BF61DC4EF8F5E5E (const RuntimeMethod* method);
// System.Void System.UriHelper::EscapeAsciiChar(System.Char,System.Char[],System.Int32&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void UriHelper_EscapeAsciiChar_m7590A6410A9F1AE1207006EF9B46578E1A3DFD33 (Il2CppChar ___ch0, CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* ___to1, int32_t* ___pos2, const RuntimeMethod* method);
// System.Char System.UriHelper::EscapedAscii(System.Char,System.Char)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Il2CppChar UriHelper_EscapedAscii_m80D926F5C8B177B5D041BBFEADEAB2363A324461 (Il2CppChar ___digit0, Il2CppChar ___next1, const RuntimeMethod* method);
// System.Boolean System.UriHelper::IsUnreserved(System.Char)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool UriHelper_IsUnreserved_m6B1C0AA7DEC462F62400ACFC7EFC5807730CD5B1 (Il2CppChar ___c0, const RuntimeMethod* method);
// System.Boolean System.UriHelper::IsReservedUnreservedOrHash(System.Char)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool UriHelper_IsReservedUnreservedOrHash_m155B0658622E15DED0A384A2E6A6013CE23016D6 (Il2CppChar ___c0, const RuntimeMethod* method);
// System.Void System.Buffer::BlockCopy(System.Array,System.Int32,System.Array,System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Buffer_BlockCopy_mD01FC13D87078586714AA235261A9E786C351725 (RuntimeArray * ___src0, int32_t ___srcOffset1, RuntimeArray * ___dst2, int32_t ___dstOffset3, int32_t ___count4, const RuntimeMethod* method);
// System.Char[] System.UriHelper::UnescapeString(System.Char*,System.Int32,System.Int32,System.Char[],System.Int32&,System.Char,System.Char,System.Char,System.UnescapeMode,System.UriParser,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* UriHelper_UnescapeString_m92E5C90E7DAE8DA5C7C1E6FB72B0F58321B6484C (Il2CppChar* ___pStr0, int32_t ___start1, int32_t ___end2, CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* ___dest3, int32_t* ___destPosition4, Il2CppChar ___rsvd15, Il2CppChar ___rsvd26, Il2CppChar ___rsvd37, int32_t ___unescapeMode8, UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * ___syntax9, bool ___isQuery10, const RuntimeMethod* method);
// System.Boolean System.Uri::IriParsingStatic(System.UriParser)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Uri_IriParsingStatic_m0F2797FEA328A2B1A72EE03F9BD88C577A7A0471 (UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * ___syntax0, const RuntimeMethod* method);
// System.Boolean System.UriHelper::IsNotSafeForUnescape(System.Char)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool UriHelper_IsNotSafeForUnescape_m5504A36A2CC19ABC23255896A98D9912D390107F (Il2CppChar ___ch0, const RuntimeMethod* method);
// System.Boolean System.IriHelper::CheckIriUnicodeRange(System.Char,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool IriHelper_CheckIriUnicodeRange_m5E205B2F096045DE5259E0E98A062DD0813206F6 (Il2CppChar ___unicode0, bool ___isQuery1, const RuntimeMethod* method);
// System.Void System.Text.EncoderReplacementFallback::.ctor(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void EncoderReplacementFallback__ctor_m07299910DC3D3F6B9F8F37A4ADD40A500F97D1D4 (EncoderReplacementFallback_t61E36A507D7FA8034B49F86DBE560EC77A6A8418 * __this, String_t* ___replacement0, const RuntimeMethod* method);
// System.Void System.Text.Encoding::set_EncoderFallback(System.Text.EncoderFallback)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Encoding_set_EncoderFallback_m75BA39C6302BD7EFBB4A48B02C406A14789B244A (Encoding_tE901442411E2E70039D2A4AE77FB81C3D6064827 * __this, EncoderFallback_t02AC990075E17EB09F0D7E4831C3B3F264025CC4 * ___value0, const RuntimeMethod* method);
// System.Void System.Text.DecoderReplacementFallback::.ctor(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void DecoderReplacementFallback__ctor_m7E6C273B2682E373C787568EB0BB0B2E4B6C2253 (DecoderReplacementFallback_t8DA345EC4EF3A35A2667365F691EE69408A62130 * __this, String_t* ___replacement0, const RuntimeMethod* method);
// System.Void System.Text.Encoding::set_DecoderFallback(System.Text.DecoderFallback)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Encoding_set_DecoderFallback_m771EA02DA99D57E19B6FC48E8C3A46F8A6D4CBB8 (Encoding_tE901442411E2E70039D2A4AE77FB81C3D6064827 * __this, DecoderFallback_tF86D337D6576E81E5DA285E5673183EBC66DEF8D * ___value0, const RuntimeMethod* method);
// System.Void System.UriHelper::MatchUTF8Sequence(System.Char*,System.Char[],System.Int32&,System.Char[],System.Int32,System.Byte[],System.Int32,System.Boolean,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void UriHelper_MatchUTF8Sequence_m4A148931E07097731DC7EA68EAA933E9330BE81B (Il2CppChar* ___pDest0, CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* ___dest1, int32_t* ___destOffset2, CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* ___unescapedChars3, int32_t ___charCount4, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___bytes5, int32_t ___byteCount6, bool ___isQuery7, bool ___iriParsing8, const RuntimeMethod* method);
// System.Boolean System.Char::IsHighSurrogate(System.Char)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Char_IsHighSurrogate_m7BECD1C98C902946F069D8936F8A557F1F7DFF01 (Il2CppChar ___c0, const RuntimeMethod* method);
// System.Boolean System.IriHelper::CheckIriUnicodeRange(System.Char,System.Char,System.Boolean&,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool IriHelper_CheckIriUnicodeRange_m03144D55C396E2870F76F85B29852F8314346A1A (Il2CppChar ___highSurr0, Il2CppChar ___lowSurr1, bool* ___surrogatePair2, bool ___isQuery3, const RuntimeMethod* method);
// System.Boolean System.Uri::IsBidiControlCharacter(System.Char)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Uri_IsBidiControlCharacter_m36A30E0708EE0209208B23136C2BEC9C802C697B (Il2CppChar ___ch0, const RuntimeMethod* method);
// System.Boolean System.UriParser::get_ShouldUseLegacyV2Quirks()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool UriParser_get_ShouldUseLegacyV2Quirks_mB8917CAC10CD13E44F2EB21D4033044BEAF132B2 (const RuntimeMethod* method);
// System.Int32 System.String::IndexOf(System.Char)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t String_IndexOf_mEE2D2F738175E3FF05580366D6226DBD673CA2BE (String_t* __this, Il2CppChar ___value0, const RuntimeMethod* method);
// System.Boolean System.Uri::IsAsciiLetterOrDigit(System.Char)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Uri_IsAsciiLetterOrDigit_m1DDFA9F464FD15F8482F0C669E7E22B20DE07DCA (Il2CppChar ___character0, const RuntimeMethod* method);
// System.Void System.Runtime.CompilerServices.RuntimeHelpers::InitializeArray(System.Array,System.RuntimeFieldHandle)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RuntimeHelpers_InitializeArray_mE27238308FED781F2D6A719F0903F2E1311B058F (RuntimeArray * ___array0, RuntimeFieldHandle_t7BE65FC857501059EBAC9772C93B02CD413D9C96 ___fldHandle1, const RuntimeMethod* method);
// System.UriFormatException System.Uri::ParseMinimal()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR UriFormatException_tAA45C6D2264E9E74935A066FC3DF8DF68B37B61D * Uri_ParseMinimal_m47FF7ACAEB543DE87332F9DEA79F92ADC575107F (Uri_t4A915E1CC15B2C650F478099AD448E9466CBF612 * __this, const RuntimeMethod* method);
// System.Void System.ArgumentOutOfRangeException::.ctor(System.String,System.Object,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ArgumentOutOfRangeException__ctor_m7C5B3BE7792B7C73E7D82C4DBAD4ACA2DAE71AA9 (ArgumentOutOfRangeException_tFAF23713820951D4A09ABBFE5CC091E445A6F3D8 * __this, String_t* ___paramName0, RuntimeObject * ___actualValue1, String_t* ___message2, const RuntimeMethod* method);
// System.Void System.ArgumentOutOfRangeException::.ctor(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ArgumentOutOfRangeException__ctor_m329C2882A4CB69F185E98D0DD7E853AA9220960A (ArgumentOutOfRangeException_tFAF23713820951D4A09ABBFE5CC091E445A6F3D8 * __this, String_t* ___paramName0, const RuntimeMethod* method);
// System.Boolean System.Uri::get_UserDrivenParsing()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Uri_get_UserDrivenParsing_mF09087D4DE9A0823EBF1FC0C14101335D01393F2 (Uri_t4A915E1CC15B2C650F478099AD448E9466CBF612 * __this, const RuntimeMethod* method);
// System.Type System.Object::GetType()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Type_t * Object_GetType_m571FE8360C10B98C23AAF1F066D92C08CC94F45B (RuntimeObject * __this, const RuntimeMethod* method);
// System.String SR::GetString(System.String,System.Object[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* SR_GetString_m4FFAF18248A54C5B67E4760C5ED4869A87BCAD7F (String_t* ___name0, ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* ___args1, const RuntimeMethod* method);
// System.Void System.InvalidOperationException::.ctor(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void InvalidOperationException__ctor_mC012CE552988309733C896F3FEA8249171E4402E (InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB * __this, String_t* ___message0, const RuntimeMethod* method);
// System.Boolean System.Uri::get_IsAbsoluteUri()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Uri_get_IsAbsoluteUri_m013346D65055CFEDF9E742534A584573C18A0E25 (Uri_t4A915E1CC15B2C650F478099AD448E9466CBF612 * __this, const RuntimeMethod* method);
// System.String System.Uri::GetComponentsHelper(System.UriComponents,System.UriFormat)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Uri_GetComponentsHelper_mAA39E421157735AAD7D93A187CCCAED5A122C8E8 (Uri_t4A915E1CC15B2C650F478099AD448E9466CBF612 * __this, int32_t ___uriComponents0, int32_t ___uriFormat1, const RuntimeMethod* method);
// System.Void System.Collections.Generic.Dictionary`2<System.String,System.UriParser>::.ctor(System.Int32)
inline void Dictionary_2__ctor_mEF275C708A9D8C75BE351DE8D63068D20522B707 (Dictionary_2_t29257EB2565DDF3180663167EF129FA9827836C5 * __this, int32_t ___capacity0, const RuntimeMethod* method)
{
(( void (*) (Dictionary_2_t29257EB2565DDF3180663167EF129FA9827836C5 *, int32_t, const RuntimeMethod*))Dictionary_2__ctor_mBD7199657787018123B7B8F2B048B503D484C097_gshared)(__this, ___capacity0, method);
}
// System.Void System.UriParser/BuiltInUriParser::.ctor(System.String,System.Int32,System.UriSyntaxFlags)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BuiltInUriParser__ctor_m525296A62BB8A30ABA12A9DFE8C20CE22DA9CEAA (BuiltInUriParser_tD002C3439D3683127C216D09E22B0973AB9FDF26 * __this, String_t* ___lwrCaseScheme0, int32_t ___defaultPort1, int32_t ___syntaxFlags2, const RuntimeMethod* method);
// System.String System.UriParser::get_SchemeName()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR String_t* UriParser_get_SchemeName_mFCD123235673631E05FE9BAF6955A0B43EEEBD80_inline (UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * __this, const RuntimeMethod* method);
// System.Void System.Collections.Generic.Dictionary`2<System.String,System.UriParser>::set_Item(!0,!1)
inline void Dictionary_2_set_Item_m43027DEBFCAF2EDBBE4B7A8573819B5A391A9993 (Dictionary_2_t29257EB2565DDF3180663167EF129FA9827836C5 * __this, String_t* ___key0, UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * ___value1, const RuntimeMethod* method)
{
(( void (*) (Dictionary_2_t29257EB2565DDF3180663167EF129FA9827836C5 *, String_t*, UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A *, const RuntimeMethod*))Dictionary_2_set_Item_mE6BF870B04922441F9F2760E782DEE6EE682615A_gshared)(__this, ___key0, ___value1, method);
}
// System.Boolean System.UriParser::IsFullMatch(System.UriSyntaxFlags,System.UriSyntaxFlags)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool UriParser_IsFullMatch_m3967BB43AFB5C11B75DA3BD1CE18B8DAE8F0C32E (UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * __this, int32_t ___flags0, int32_t ___expected1, const RuntimeMethod* method);
// System.Void System.Object::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Object__ctor_m88880E0413421D13FD95325EDCE231707CE1F405 (RuntimeObject * __this, const RuntimeMethod* method);
// System.Boolean System.Collections.Generic.Dictionary`2<System.String,System.UriParser>::TryGetValue(!0,!1&)
inline bool Dictionary_2_TryGetValue_m05B3B2E9A02468956D9D51C30093821BFBC3C63A (Dictionary_2_t29257EB2565DDF3180663167EF129FA9827836C5 * __this, String_t* ___key0, UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A ** ___value1, const RuntimeMethod* method)
{
return (( bool (*) (Dictionary_2_t29257EB2565DDF3180663167EF129FA9827836C5 *, String_t*, UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A **, const RuntimeMethod*))Dictionary_2_TryGetValue_m048C13E0F44BDC16F7CF01D14E918A84EE72C62C_gshared)(__this, ___key0, ___value1, method);
}
// System.Void System.Threading.Monitor::Enter(System.Object,System.Boolean&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Monitor_Enter_mBEB6CC84184B46F26375EC3FC8921D16E48EA4C4 (RuntimeObject * ___obj0, bool* ___lockTaken1, const RuntimeMethod* method);
// System.Int32 System.Collections.Generic.Dictionary`2<System.String,System.UriParser>::get_Count()
inline int32_t Dictionary_2_get_Count_mC890D4862BCE096F4E905A751AEE39B30478357C (Dictionary_2_t29257EB2565DDF3180663167EF129FA9827836C5 * __this, const RuntimeMethod* method)
{
return (( int32_t (*) (Dictionary_2_t29257EB2565DDF3180663167EF129FA9827836C5 *, const RuntimeMethod*))Dictionary_2_get_Count_m1B599EE742A00E8D399B43E225AD4C6571FBC8DA_gshared)(__this, method);
}
// System.Void System.Threading.Monitor::Exit(System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Monitor_Exit_mA776B403DA88AC77CDEEF67AB9F0D0E77ABD254A (RuntimeObject * ___obj0, const RuntimeMethod* method);
// System.Boolean System.UriParser::InFact(System.UriSyntaxFlags)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool UriParser_InFact_m4E58BAFAB5A9BC24854C815FC093E16D4F1CFA4D (UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * __this, int32_t ___flags0, const RuntimeMethod* method);
// System.Void System.ComponentModel.TypeConverter::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TypeConverter__ctor_mCD87E569A2C4CB1331A069396FFA98E65726A16C (TypeConverter_t004F185B630F00F509F08BD8F8D82471867323B4 * __this, const RuntimeMethod* method);
// System.Int32 System.Runtime.InteropServices.Marshal::GetLastWin32Error()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Marshal_GetLastWin32Error_m87DFFDB64662B46C9CF913EC08E5CEFF3A6E314D (const RuntimeMethod* method);
// System.Void System.ComponentModel.Win32Exception::.ctor(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Win32Exception__ctor_mF8FAD9681BA8B2EFBD1EDA7C690764FF60E85A6F (Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950 * __this, int32_t ___error0, const RuntimeMethod* method);
// System.String System.ComponentModel.Win32Exception::GetErrorMessage(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Win32Exception_GetErrorMessage_m97F829AC1253FC3BAD24E9F484ECA9F227360C9A (int32_t ___error0, const RuntimeMethod* method);
// System.Void System.ComponentModel.Win32Exception::.ctor(System.Int32,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Win32Exception__ctor_mC836B11093135ABE3B7F402DCD0564E58B8CDA02 (Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950 * __this, int32_t ___error0, String_t* ___message1, const RuntimeMethod* method);
// System.Void System.Runtime.InteropServices.ExternalException::.ctor(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ExternalException__ctor_m8A6870938AE42D989A00B950B2F298F70FD32AAA (ExternalException_tC18275DD0AEB2CDF9F85D94670C5A49A4DC3B783 * __this, String_t* ___message0, const RuntimeMethod* method);
// System.Void System.Runtime.InteropServices.ExternalException::.ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ExternalException__ctor_mF237400F375CB6BA1857B5C5EE7419AA59069184 (ExternalException_tC18275DD0AEB2CDF9F85D94670C5A49A4DC3B783 * __this, SerializationInfo_t097DA64D9DB49ED7F2458E964BE8CCCF63FC67C1 * ___info0, StreamingContext_t5888E7E8C81AB6EF3B14FDDA6674F458076A8505 ___context1, const RuntimeMethod* method);
// System.Int32 System.Runtime.Serialization.SerializationInfo::GetInt32(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t SerializationInfo_GetInt32_mB22BBD01CBC189B7A76465CBFF7224F619395D30 (SerializationInfo_t097DA64D9DB49ED7F2458E964BE8CCCF63FC67C1 * __this, String_t* ___name0, const RuntimeMethod* method);
// System.Void System.ArgumentNullException::.ctor(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ArgumentNullException__ctor_m81AB157B93BFE2FBFDB08B88F84B444293042F97 (ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB * __this, String_t* ___paramName0, const RuntimeMethod* method);
// System.Void System.Runtime.Serialization.SerializationInfo::AddValue(System.String,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SerializationInfo_AddValue_m3DF5B182A63FFCD12287E97EA38944D0C6405BB5 (SerializationInfo_t097DA64D9DB49ED7F2458E964BE8CCCF63FC67C1 * __this, String_t* ___name0, int32_t ___value1, const RuntimeMethod* method);
// System.Void System.ComponentModel.Win32Exception::InitializeErrorMessages()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Win32Exception_InitializeErrorMessages_mDC8118C693BE2CA20C9E9D5822BEFAC621F3C535 (const RuntimeMethod* method);
// System.Boolean System.Collections.Generic.Dictionary`2<System.Int32,System.String>::TryGetValue(!0,!1&)
inline bool Dictionary_2_TryGetValue_mA9A5AC6DC5483E78A8A41145515BF11AF259409E (Dictionary_2_t0ACB62D0885C7AB376463C70665400A39808C5FB * __this, int32_t ___key0, String_t** ___value1, const RuntimeMethod* method)
{
return (( bool (*) (Dictionary_2_t0ACB62D0885C7AB376463C70665400A39808C5FB *, int32_t, String_t**, const RuntimeMethod*))Dictionary_2_TryGetValue_m0A88BBB063127AFAD853506A433ACB07D7AAD67E_gshared)(__this, ___key0, ___value1, method);
}
// System.String System.String::Format(System.String,System.Object)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* String_Format_mB3D38E5238C3164DB4D7D29339D9E225A4496D17 (String_t* ___format0, RuntimeObject * ___arg01, const RuntimeMethod* method);
// System.Void System.ComponentModel.Win32Exception::InitializeErrorMessages1()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Win32Exception_InitializeErrorMessages1_mDB6558EB5202E7110C6702CC1837399830906C89 (const RuntimeMethod* method);
// System.Void System.Collections.Generic.Dictionary`2<System.Int32,System.String>::Add(!0,!1)
inline void Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0 (Dictionary_2_t0ACB62D0885C7AB376463C70665400A39808C5FB * __this, int32_t ___key0, String_t* ___value1, const RuntimeMethod* method)
{
(( void (*) (Dictionary_2_t0ACB62D0885C7AB376463C70665400A39808C5FB *, int32_t, String_t*, const RuntimeMethod*))Dictionary_2_Add_m39BC00F21EE9459BB8DEF5479F95F79C5C740682_gshared)(__this, ___key0, ___value1, method);
}
// System.Void System.Collections.Generic.Dictionary`2<System.Int32,System.String>::.ctor()
inline void Dictionary_2__ctor_mB40672A269C34DB22BA5BFAF2511631483E1690E (Dictionary_2_t0ACB62D0885C7AB376463C70665400A39808C5FB * __this, const RuntimeMethod* method)
{
(( void (*) (Dictionary_2_t0ACB62D0885C7AB376463C70665400A39808C5FB *, const RuntimeMethod*))Dictionary_2__ctor_mE7F9D51201F5A72BF4995CA0F3F0E866DB21E638_gshared)(__this, method);
}
// System.Void System.Security.Cryptography.X509Certificates.X509Extension::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void X509Extension__ctor_m4DF31A0909F64A47F2F8E64E814FE16E022794E7 (X509Extension_t9142CAA11EB46CC4CAB51A26D3B84BDA06FA9FF5 * __this, const RuntimeMethod* method);
// System.Void System.Security.Cryptography.Oid::.ctor(System.String,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Oid__ctor_m90964DEF8B3A9EEFAB59023627E2008E4A34983E (Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800 * __this, String_t* ___value0, String_t* ___friendlyName1, const RuntimeMethod* method);
// System.Byte[] System.Security.Cryptography.AsnEncodedData::get_RawData()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* AsnEncodedData_get_RawData_mDCA2B393570BA050D3840B2449447A2C10639278_inline (AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA * __this, const RuntimeMethod* method);
// System.Void System.Security.Cryptography.X509Certificates.X509Extension::set_Critical(System.Boolean)
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void X509Extension_set_Critical_mF361A9EB776A20CA39923BD48C4A492A734144E0_inline (X509Extension_t9142CAA11EB46CC4CAB51A26D3B84BDA06FA9FF5 * __this, bool ___value0, const RuntimeMethod* method);
// System.Security.Cryptography.AsnDecodeStatus System.Security.Cryptography.X509Certificates.X509BasicConstraintsExtension::Decode(System.Byte[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t X509BasicConstraintsExtension_Decode_m02EECEF97728108FE014735EDAD8C74B8461B384 (X509BasicConstraintsExtension_t790FA4E7D9715A72A621A290FF0CDD5A647EF3CF * __this, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___extension0, const RuntimeMethod* method);
// System.Byte[] System.Security.Cryptography.X509Certificates.X509BasicConstraintsExtension::Encode()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* X509BasicConstraintsExtension_Encode_mC5E34F1B66DE0BCBD7C524C968C2C010B566843C (X509BasicConstraintsExtension_t790FA4E7D9715A72A621A290FF0CDD5A647EF3CF * __this, const RuntimeMethod* method);
// System.Void System.Security.Cryptography.AsnEncodedData::set_RawData(System.Byte[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AsnEncodedData_set_RawData_m867F92C32F87E4D8932D17EDF21785CA0FDA3BEA (AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA * __this, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___value0, const RuntimeMethod* method);
// System.Void System.Security.Cryptography.CryptographicException::.ctor(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CryptographicException__ctor_mE6D40FE819914DA1C6600907D160AD4231B46C31 (CryptographicException_tFFE56EF733D1150A0F3738DDE2CC4DE1A61849D5 * __this, String_t* ___message0, const RuntimeMethod* method);
// System.String Locale::GetText(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Locale_GetText_mF8FE147379A36330B41A5D5E2CAD23C18931E66E (String_t* ___msg0, const RuntimeMethod* method);
// System.Void System.ArgumentException::.ctor(System.String,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ArgumentException__ctor_m71044C2110E357B71A1C30D2561C3F861AF1DC0D (ArgumentException_t505FA8C11E883F2D96C797AD9D396490794DEE00 * __this, String_t* ___message0, String_t* ___paramName1, const RuntimeMethod* method);
// System.Void System.Security.Cryptography.Oid::.ctor(System.Security.Cryptography.Oid)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Oid__ctor_m8C4B7AE0D9207BCF03960553182B43B8D1536ED0 (Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800 * __this, Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800 * ___oid0, const RuntimeMethod* method);
// System.Boolean System.Security.Cryptography.X509Certificates.X509Extension::get_Critical()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool X509Extension_get_Critical_m56CF11BDF0C2D2917C326013630709C7709DCF12_inline (X509Extension_t9142CAA11EB46CC4CAB51A26D3B84BDA06FA9FF5 * __this, const RuntimeMethod* method);
// System.Void Mono.Security.ASN1::.ctor(System.Byte[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ASN1__ctor_mE534D499DABEAAA35E0F30572CD295A9FCFA1C7E (ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8 * __this, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___data0, const RuntimeMethod* method);
// Mono.Security.ASN1 Mono.Security.ASN1::get_Item(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8 * ASN1_get_Item_mBA4AF2346A0847038957881A98202AF8DAF09B50 (ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8 * __this, int32_t ___index0, const RuntimeMethod* method);
// System.Byte Mono.Security.ASN1::get_Tag()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR uint8_t ASN1_get_Tag_mA82F15B6EB97BF0F3EBAA69C21765909D7A675D3_inline (ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8 * __this, const RuntimeMethod* method);
// System.Byte[] Mono.Security.ASN1::get_Value()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ASN1_get_Value_m95545A82635424B999816713F09A224ED01DF0C2 (ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8 * __this, const RuntimeMethod* method);
// System.Int32 Mono.Security.ASN1Convert::ToInt32(Mono.Security.ASN1)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t ASN1Convert_ToInt32_m381CC48A18572F6F58C4332C3E07906562034A77 (ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8 * ___asn10, const RuntimeMethod* method);
// System.Void Mono.Security.ASN1::.ctor(System.Byte)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ASN1__ctor_mC8594B7A2376B58F26F1D0457B0F9F5880D87142 (ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8 * __this, uint8_t ___tag0, const RuntimeMethod* method);
// System.Void Mono.Security.ASN1::.ctor(System.Byte,System.Byte[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ASN1__ctor_mB8A19279E6079D30BB6A594ADAC7FEE89E822CDC (ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8 * __this, uint8_t ___tag0, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___data1, const RuntimeMethod* method);
// Mono.Security.ASN1 Mono.Security.ASN1::Add(Mono.Security.ASN1)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8 * ASN1_Add_m35AB44F469BE9C185A91D2E265A7DA6B27311F7B (ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8 * __this, ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8 * ___asn10, const RuntimeMethod* method);
// Mono.Security.ASN1 Mono.Security.ASN1Convert::FromInt32(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8 * ASN1Convert_FromInt32_m2EB0E4A8D3D06D4EE1BEFD4F50E9021FF6B82FA2 (int32_t ___value0, const RuntimeMethod* method);
// System.String System.Security.Cryptography.X509Certificates.X509Extension::FormatUnkownData(System.Byte[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* X509Extension_FormatUnkownData_mEF1E719F7AD312B099351C581F4A06925AD9F18A (X509Extension_t9142CAA11EB46CC4CAB51A26D3B84BDA06FA9FF5 * __this, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___data0, const RuntimeMethod* method);
// System.String System.Security.Cryptography.Oid::get_Value()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR String_t* Oid_get_Value_mD6F4D8AC1A3821D5DA263728C2DC0C208D084A78_inline (Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800 * __this, const RuntimeMethod* method);
// System.Boolean System.String::op_Inequality(System.String,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool String_op_Inequality_mDDA2DDED3E7EF042987EB7180EE3E88105F0AAE2 (String_t* ___a0, String_t* ___b1, const RuntimeMethod* method);
// System.Void System.Text.StringBuilder::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void StringBuilder__ctor_m5A81DE19E748F748E19FF13FB6FFD2547F9212D9 (StringBuilder_t * __this, const RuntimeMethod* method);
// System.Text.StringBuilder System.Text.StringBuilder::Append(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR StringBuilder_t * StringBuilder_Append_mD02AB0C74C6F55E3E330818C77EC147E22096FB1 (StringBuilder_t * __this, String_t* ___value0, const RuntimeMethod* method);
// System.String System.Environment::get_NewLine()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Environment_get_NewLine_mD145C8EE917C986BAA7C5243DEFAF4D333C521B4 (const RuntimeMethod* method);
// System.Text.StringBuilder System.Text.StringBuilder::Append(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR StringBuilder_t * StringBuilder_Append_m796285D173EEA5261E85B95FC79DD4F996CC93DD (StringBuilder_t * __this, int32_t ___value0, const RuntimeMethod* method);
// System.Security.Cryptography.AsnDecodeStatus System.Security.Cryptography.X509Certificates.X509EnhancedKeyUsageExtension::Decode(System.Byte[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t X509EnhancedKeyUsageExtension_Decode_m610C0C741966205F6DC0492BD17B28E1FED8D648 (X509EnhancedKeyUsageExtension_tD53B0C2AF93C2496461F2960946C5F40A33AC82B * __this, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___extension0, const RuntimeMethod* method);
// System.Void System.Security.Cryptography.OidCollection::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void OidCollection__ctor_m99E1CCEB955F4BB57DEAE0BF8E7326380F93E111 (OidCollection_tA091E185B8840648BE96A6C547F0C26F88E3A902 * __this, const RuntimeMethod* method);
// System.String Mono.Security.ASN1Convert::ToOid(Mono.Security.ASN1)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* ASN1Convert_ToOid_m6F617C7AC370CC5D6EAC2F813D8F7B73A3D8F61F (ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8 * ___asn10, const RuntimeMethod* method);
// System.Void System.Security.Cryptography.Oid::.ctor(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Oid__ctor_mDB319C52BC09ED73F02F5BEC5950F728059405C2 (Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800 * __this, String_t* ___oid0, const RuntimeMethod* method);
// System.Int32 System.Security.Cryptography.OidCollection::Add(System.Security.Cryptography.Oid)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t OidCollection_Add_m13C7466BB24E047C88F27AC6AB5E9439AA491EF1 (OidCollection_tA091E185B8840648BE96A6C547F0C26F88E3A902 * __this, Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800 * ___oid0, const RuntimeMethod* method);
// System.Int32 Mono.Security.ASN1::get_Count()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t ASN1_get_Count_mBF134B153CFA218C251FB692A25AA392DCF9F583 (ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8 * __this, const RuntimeMethod* method);
// System.Int32 System.Security.Cryptography.OidCollection::get_Count()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t OidCollection_get_Count_m35D85FFEC009FD8195DA9E0EE0CD5B66290FA3C6 (OidCollection_tA091E185B8840648BE96A6C547F0C26F88E3A902 * __this, const RuntimeMethod* method);
// System.Security.Cryptography.Oid System.Security.Cryptography.OidCollection::get_Item(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800 * OidCollection_get_Item_mB8F51EB0825BDE39504BC7090B8AEEE13D0A9967 (OidCollection_tA091E185B8840648BE96A6C547F0C26F88E3A902 * __this, int32_t ___index0, const RuntimeMethod* method);
// System.Boolean System.String::op_Equality(System.String,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool String_op_Equality_m2B91EE68355F142F67095973D32EB5828B7B73CB (String_t* ___a0, String_t* ___b1, const RuntimeMethod* method);
// System.Void System.Security.Cryptography.AsnEncodedData::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AsnEncodedData__ctor_m0CF86C874705C96B224222BEBB6BF5703EAB29E2 (AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA * __this, const RuntimeMethod* method);
// System.Void System.ArgumentException::.ctor(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ArgumentException__ctor_m2D35EAD113C2ADC99EB17B940A2097A93FD23EFC (ArgumentException_t505FA8C11E883F2D96C797AD9D396490794DEE00 * __this, String_t* ___message0, const RuntimeMethod* method);
// System.Void System.Security.Cryptography.AsnEncodedData::CopyFrom(System.Security.Cryptography.AsnEncodedData)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void AsnEncodedData_CopyFrom_mA350785B8AF676AB7856E705FA2F2D20FD54CC46 (AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA * __this, AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA * ___asnEncodedData0, const RuntimeMethod* method);
// System.String System.Byte::ToString(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Byte_ToString_mABEF6F24915951FF4A4D87B389D8418B2638178C (uint8_t* __this, String_t* ___format0, const RuntimeMethod* method);
// System.Security.Cryptography.AsnDecodeStatus System.Security.Cryptography.X509Certificates.X509KeyUsageExtension::Decode(System.Byte[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t X509KeyUsageExtension_Decode_m8D2236720B86833EAFCB87C19BF616E84A15A385 (X509KeyUsageExtension_tF78A71F87AEE0E0DC54DFF837AB2880E3D9CF227 * __this, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___extension0, const RuntimeMethod* method);
// System.Security.Cryptography.X509Certificates.X509KeyUsageFlags System.Security.Cryptography.X509Certificates.X509KeyUsageExtension::GetValidFlags(System.Security.Cryptography.X509Certificates.X509KeyUsageFlags)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t X509KeyUsageExtension_GetValidFlags_m3141215EE841412F2C65E9CD7C90AE26E4D05C9A (X509KeyUsageExtension_tF78A71F87AEE0E0DC54DFF837AB2880E3D9CF227 * __this, int32_t ___flags0, const RuntimeMethod* method);
// System.Byte[] System.Security.Cryptography.X509Certificates.X509KeyUsageExtension::Encode()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* X509KeyUsageExtension_Encode_m14D2F2E0777C7CFA424399E66349940A923764E5 (X509KeyUsageExtension_tF78A71F87AEE0E0DC54DFF837AB2880E3D9CF227 * __this, const RuntimeMethod* method);
// System.Int32 System.Text.StringBuilder::get_Length()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t StringBuilder_get_Length_m680500263C59ACFD9582BF2AEEED8E92C87FF5C0 (StringBuilder_t * __this, const RuntimeMethod* method);
// System.Security.Cryptography.AsnDecodeStatus System.Security.Cryptography.X509Certificates.X509SubjectKeyIdentifierExtension::Decode(System.Byte[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t X509SubjectKeyIdentifierExtension_Decode_m6ED45FB642F2A5EDAD51EE357CAB8EB95BC8EBA9 (X509SubjectKeyIdentifierExtension_t9781D24066D84C09C7137124FBC848491BF54567 * __this, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___extension0, const RuntimeMethod* method);
// System.Object System.Array::Clone()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject * Array_Clone_m3C566B3D3F4333212411BD7C3B61D798BADB3F3C (RuntimeArray * __this, const RuntimeMethod* method);
// System.Byte[] System.Security.Cryptography.X509Certificates.X509SubjectKeyIdentifierExtension::Encode()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* X509SubjectKeyIdentifierExtension_Encode_m6BEC26EF891B31FF98EF4FDF96CC0E9CEDF0B208 (X509SubjectKeyIdentifierExtension_t9781D24066D84C09C7137124FBC848491BF54567 * __this, const RuntimeMethod* method);
// System.Int32 System.String::get_Length()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t String_get_Length_m129FC0ADA02FECBED3C0B1A809AE84A5AEE1CF09_inline (String_t* __this, const RuntimeMethod* method);
// System.Byte[] System.Security.Cryptography.X509Certificates.X509SubjectKeyIdentifierExtension::FromHex(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* X509SubjectKeyIdentifierExtension_FromHex_m8CAB896F210E058270EB9492F05D2776FEB6A1EA (String_t* ___hex0, const RuntimeMethod* method);
// System.Void System.Security.Cryptography.X509Certificates.X509SubjectKeyIdentifierExtension::.ctor(System.Security.Cryptography.X509Certificates.PublicKey,System.Security.Cryptography.X509Certificates.X509SubjectKeyIdentifierHashAlgorithm,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void X509SubjectKeyIdentifierExtension__ctor_m7CE599E8BEFBF176243E07100E2B9D1AD40E109E (X509SubjectKeyIdentifierExtension_t9781D24066D84C09C7137124FBC848491BF54567 * __this, PublicKey_t40ABE7E0985F3E274C9564670970EC6F3B39A4A2 * ___key0, int32_t ___algorithm1, bool ___critical2, const RuntimeMethod* method);
// System.Security.Cryptography.AsnEncodedData System.Security.Cryptography.X509Certificates.PublicKey::get_EncodedKeyValue()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA * PublicKey_get_EncodedKeyValue_m0294AF8C29C7329BEB243543D8FDA98B60FDB291_inline (PublicKey_t40ABE7E0985F3E274C9564670970EC6F3B39A4A2 * __this, const RuntimeMethod* method);
// System.Security.Cryptography.SHA1 System.Security.Cryptography.SHA1::Create()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR SHA1_t15B592B9935E19EC3FD5679B969239AC572E2C0E * SHA1_Create_mC0C045956B56FC33D44AF7146C0E1DF27A3D102A (const RuntimeMethod* method);
// System.Byte[] System.Security.Cryptography.HashAlgorithm::ComputeHash(System.Byte[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* HashAlgorithm_ComputeHash_m54AE40F9CD9E46736384369DBB5739FBCBDF67D9 (HashAlgorithm_t7F831BEF35F9D0AF5016FFB0E474AF9F93908F31 * __this, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___buffer0, const RuntimeMethod* method);
// System.Security.Cryptography.Oid System.Security.Cryptography.X509Certificates.PublicKey::get_Oid()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800 * PublicKey_get_Oid_mE3207B84A9090EC5404F6CD4AEABB1F37EC1F988_inline (PublicKey_t40ABE7E0985F3E274C9564670970EC6F3B39A4A2 * __this, const RuntimeMethod* method);
// System.Byte[] System.Security.Cryptography.CryptoConfig::EncodeOID(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* CryptoConfig_EncodeOID_mD433EFD5608689AA7A858351D34DB7EEDBE1494B (String_t* ___str0, const RuntimeMethod* method);
// System.Security.Cryptography.AsnEncodedData System.Security.Cryptography.X509Certificates.PublicKey::get_EncodedParameters()
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA * PublicKey_get_EncodedParameters_mFF4F9A39D91C0A00D1B36C93944816154C7255B3_inline (PublicKey_t40ABE7E0985F3E274C9564670970EC6F3B39A4A2 * __this, const RuntimeMethod* method);
// System.String Mono.Security.Cryptography.CryptoConvert::ToHex(System.Byte[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* CryptoConvert_ToHex_m567E8BF67E972F8A8AC9DC37BEE4F06521082EF4 (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___input0, const RuntimeMethod* method);
// System.Byte System.Security.Cryptography.X509Certificates.X509SubjectKeyIdentifierExtension::FromHexChar(System.Char)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint8_t X509SubjectKeyIdentifierExtension_FromHexChar_m7E53F7E025E6DD03B6BC137CA6F9C43808BFAB92 (Il2CppChar ___c0, const RuntimeMethod* method);
// System.Char System.String::get_Chars(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Il2CppChar String_get_Chars_m9B1A5E4C8D70AA33A60F03735AF7B77AB9DBBA70 (String_t* __this, int32_t ___index0, const RuntimeMethod* method);
// System.Byte System.Security.Cryptography.X509Certificates.X509SubjectKeyIdentifierExtension::FromHexChars(System.Char,System.Char)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint8_t X509SubjectKeyIdentifierExtension_FromHexChars_mB25E5A16CF6637BF846D2B22898E552E092AADFA (Il2CppChar ___c10, Il2CppChar ___c21, const RuntimeMethod* method);
// System.String System.Security.Cryptography.CAPI::CryptFindOIDInfoNameFromKey(System.String,System.Security.Cryptography.OidGroup)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* CAPI_CryptFindOIDInfoNameFromKey_m283438D1BC7309F1642EBCE405CC9BFAEED43544 (String_t* ___key0, int32_t ___oidGroup1, const RuntimeMethod* method);
// System.String System.Security.Cryptography.CAPI::CryptFindOIDInfoKeyFromName(System.String,System.Security.Cryptography.OidGroup)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* CAPI_CryptFindOIDInfoKeyFromName_m4ED4943191307DF7392E82CE3E04C5A5777EA3AB (String_t* ___name0, int32_t ___oidGroup1, const RuntimeMethod* method);
// System.String System.UInt32::ToString()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* UInt32_ToString_mEB55F257429D34ED2BF41AE9567096F1F969B9A0 (uint32_t* __this, const RuntimeMethod* method);
// System.Void System.NotImplementedException::.ctor(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NotImplementedException__ctor_m8A9AA4499614A5BC57DD21713D0720630C130AEB (NotImplementedException_t26260C4EE0444C5FA022994203060B3A42A3ADE6 * __this, String_t* ___message0, const RuntimeMethod* method);
// System.String System.Security.Cryptography.X509Certificates.X509Utils::FindOidInfo(System.UInt32,System.String,System.Security.Cryptography.OidGroup)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* X509Utils_FindOidInfo_m7CC1462A6CC9DA7C40CA09FA5EACEE9B9117EC8C (uint32_t ___keyType0, String_t* ___keyValue1, int32_t ___oidGroup2, const RuntimeMethod* method);
// System.Void System.Text.RegularExpressions.RegexCharClass/LowerCaseMapping::.ctor(System.Char,System.Char,System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void LowerCaseMapping__ctor_m0236442CB5098331DEAE7CACFCAC42741945D3E8 (LowerCaseMapping_t54FB537AEA4CA2EBAB5BDCC79881428C202241DE * __this, Il2CppChar ___chMin0, Il2CppChar ___chMax1, int32_t ___lcOp2, int32_t ___data3, const RuntimeMethod* method);
// System.Void System.UriParser::.ctor(System.UriSyntaxFlags)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void UriParser__ctor_m9A2C47C1F30EF65ADFBAEB0A569FB972F383825C (UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * __this, int32_t ___flags0, 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
// System.Void System.UriFormatException::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void UriFormatException__ctor_m2B9D2DCA45C6A4C42CAC0DF830E3448E1F67D9DD (UriFormatException_tAA45C6D2264E9E74935A066FC3DF8DF68B37B61D * __this, const RuntimeMethod* method)
{
{
FormatException__ctor_m782FDB1A7F0BA932C9937FDB8E936D0E4724AA67(__this, /*hidden argument*/NULL);
return;
}
}
// System.Void System.UriFormatException::.ctor(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void UriFormatException__ctor_mC9CB29EF00CB33869659306AC3FCA69342FD044F (UriFormatException_tAA45C6D2264E9E74935A066FC3DF8DF68B37B61D * __this, String_t* ___textString0, const RuntimeMethod* method)
{
{
String_t* L_0 = ___textString0;
FormatException__ctor_mB8F9A26F985EF9A6C0C082F7D70CFDF2DBDBB23B(__this, L_0, /*hidden argument*/NULL);
return;
}
}
// System.Void System.UriFormatException::.ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void UriFormatException__ctor_mE91E0D915423F0506A5C6AB2885ECA712669A02D (UriFormatException_tAA45C6D2264E9E74935A066FC3DF8DF68B37B61D * __this, SerializationInfo_t097DA64D9DB49ED7F2458E964BE8CCCF63FC67C1 * ___serializationInfo0, StreamingContext_t5888E7E8C81AB6EF3B14FDDA6674F458076A8505 ___streamingContext1, const RuntimeMethod* method)
{
{
SerializationInfo_t097DA64D9DB49ED7F2458E964BE8CCCF63FC67C1 * L_0 = ___serializationInfo0;
StreamingContext_t5888E7E8C81AB6EF3B14FDDA6674F458076A8505 L_1 = ___streamingContext1;
FormatException__ctor_m9D50D1A9FC1B72427455B7FFBDB80198D996667F(__this, L_0, L_1, /*hidden argument*/NULL);
return;
}
}
// System.Void System.UriFormatException::System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void UriFormatException_System_Runtime_Serialization_ISerializable_GetObjectData_m064FAD00616310EEE1CBA5BE4B438F73C9EF489B (UriFormatException_tAA45C6D2264E9E74935A066FC3DF8DF68B37B61D * __this, SerializationInfo_t097DA64D9DB49ED7F2458E964BE8CCCF63FC67C1 * ___serializationInfo0, StreamingContext_t5888E7E8C81AB6EF3B14FDDA6674F458076A8505 ___streamingContext1, const RuntimeMethod* method)
{
{
SerializationInfo_t097DA64D9DB49ED7F2458E964BE8CCCF63FC67C1 * L_0 = ___serializationInfo0;
StreamingContext_t5888E7E8C81AB6EF3B14FDDA6674F458076A8505 L_1 = ___streamingContext1;
Exception_GetObjectData_m2031046D41E7BEE3C743E918B358A336F99D6882(__this, L_0, L_1, /*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.Char[] System.UriHelper::EscapeString(System.String,System.Int32,System.Int32,System.Char[],System.Int32&,System.Boolean,System.Char,System.Char,System.Char)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* UriHelper_EscapeString_m322E8737F58BBAF891A75032EC1800BE548F84D7 (String_t* ___input0, int32_t ___start1, int32_t ___end2, CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* ___dest3, int32_t* ___destPos4, bool ___isUriString5, Il2CppChar ___force16, Il2CppChar ___force27, Il2CppChar ___rsvd8, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Math_tA269614262430118C9FC5C4D9EF4F61C812568F0_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&UriHelper_tBEFC75B3A4E9E35CB41ADAAE22E0D1D7EE65E53D_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
int32_t V_1 = 0;
uint8_t* V_2 = NULL;
Il2CppChar* V_3 = NULL;
String_t* V_4 = NULL;
Il2CppChar V_5 = 0x0;
int16_t V_6 = 0;
int16_t V_7 = 0;
int16_t V_8 = 0;
int32_t V_9 = 0;
int32_t G_B35_0 = 0;
{
int32_t L_0 = ___end2;
int32_t L_1 = ___start1;
if ((((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_0, (int32_t)L_1))) < ((int32_t)((int32_t)65520))))
{
goto IL_001a;
}
}
{
String_t* L_2;
L_2 = SR_GetString_m9DC7F3962EEB239017A1A4C443F52047B5BC7462(((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralDDA0FEDECC3765A8D5F295C4B302D615D29F3483)), /*hidden argument*/NULL);
UriFormatException_tAA45C6D2264E9E74935A066FC3DF8DF68B37B61D * L_3 = (UriFormatException_tAA45C6D2264E9E74935A066FC3DF8DF68B37B61D *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&UriFormatException_tAA45C6D2264E9E74935A066FC3DF8DF68B37B61D_il2cpp_TypeInfo_var)));
UriFormatException__ctor_mC9CB29EF00CB33869659306AC3FCA69342FD044F(L_3, L_2, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_3, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&UriHelper_EscapeString_m322E8737F58BBAF891A75032EC1800BE548F84D7_RuntimeMethod_var)));
}
IL_001a:
{
int32_t L_4 = ___start1;
V_0 = L_4;
int32_t L_5 = ___start1;
V_1 = L_5;
int8_t* L_6 = (int8_t*) alloca(((uintptr_t)((int32_t)160)));
memset(L_6, 0, ((uintptr_t)((int32_t)160)));
V_2 = (uint8_t*)(L_6);
String_t* L_7 = ___input0;
V_4 = L_7;
String_t* L_8 = V_4;
V_3 = (Il2CppChar*)((uintptr_t)L_8);
Il2CppChar* L_9 = V_3;
if (!L_9)
{
goto IL_0250;
}
}
{
Il2CppChar* L_10 = V_3;
int32_t L_11;
L_11 = RuntimeHelpers_get_OffsetToStringData_mEB8E6EAEBAFAB7CD7F7A915B3081785AABB9FC42(/*hidden argument*/NULL);
V_3 = (Il2CppChar*)((Il2CppChar*)il2cpp_codegen_add((intptr_t)L_10, (int32_t)L_11));
goto IL_0250;
}
IL_0041:
{
Il2CppChar* L_12 = V_3;
int32_t L_13 = V_0;
int32_t L_14 = *((uint16_t*)((Il2CppChar*)il2cpp_codegen_add((intptr_t)L_12, (intptr_t)((intptr_t)il2cpp_codegen_multiply((intptr_t)((intptr_t)L_13), (int32_t)2)))));
V_5 = L_14;
Il2CppChar L_15 = V_5;
if ((((int32_t)L_15) <= ((int32_t)((int32_t)127))))
{
goto IL_0140;
}
}
{
int32_t L_16 = ___end2;
int32_t L_17 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(Math_tA269614262430118C9FC5C4D9EF4F61C812568F0_il2cpp_TypeInfo_var);
int32_t L_18;
L_18 = Math_Min_m4C6E1589800A3AA57C1F430C3903847E8D7B4574(((int32_t)il2cpp_codegen_subtract((int32_t)L_16, (int32_t)L_17)), ((int32_t)39), /*hidden argument*/NULL);
V_6 = ((int16_t)((int16_t)L_18));
V_7 = (int16_t)1;
goto IL_006c;
}
IL_0065:
{
int16_t L_19 = V_7;
V_7 = ((int16_t)((int16_t)((int32_t)il2cpp_codegen_add((int32_t)L_19, (int32_t)1))));
}
IL_006c:
{
int16_t L_20 = V_7;
int16_t L_21 = V_6;
if ((((int32_t)L_20) >= ((int32_t)L_21)))
{
goto IL_0080;
}
}
{
Il2CppChar* L_22 = V_3;
int32_t L_23 = V_0;
int16_t L_24 = V_7;
int32_t L_25 = *((uint16_t*)((Il2CppChar*)il2cpp_codegen_add((intptr_t)L_22, (intptr_t)((intptr_t)il2cpp_codegen_multiply((intptr_t)((intptr_t)((int32_t)il2cpp_codegen_add((int32_t)L_23, (int32_t)L_24))), (int32_t)2)))));
if ((((int32_t)L_25) > ((int32_t)((int32_t)127))))
{
goto IL_0065;
}
}
IL_0080:
{
Il2CppChar* L_26 = V_3;
int32_t L_27 = V_0;
int16_t L_28 = V_7;
int32_t L_29 = *((uint16_t*)((Il2CppChar*)il2cpp_codegen_add((intptr_t)L_26, (intptr_t)((intptr_t)il2cpp_codegen_multiply((intptr_t)((intptr_t)((int32_t)il2cpp_codegen_subtract((int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_27, (int32_t)L_28)), (int32_t)1))), (int32_t)2)))));
if ((((int32_t)L_29) < ((int32_t)((int32_t)55296))))
{
goto IL_00c9;
}
}
{
Il2CppChar* L_30 = V_3;
int32_t L_31 = V_0;
int16_t L_32 = V_7;
int32_t L_33 = *((uint16_t*)((Il2CppChar*)il2cpp_codegen_add((intptr_t)L_30, (intptr_t)((intptr_t)il2cpp_codegen_multiply((intptr_t)((intptr_t)((int32_t)il2cpp_codegen_subtract((int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_31, (int32_t)L_32)), (int32_t)1))), (int32_t)2)))));
if ((((int32_t)L_33) > ((int32_t)((int32_t)56319))))
{
goto IL_00c9;
}
}
{
int16_t L_34 = V_7;
if ((((int32_t)L_34) == ((int32_t)1)))
{
goto IL_00b2;
}
}
{
int16_t L_35 = V_7;
int32_t L_36 = ___end2;
int32_t L_37 = V_0;
if ((!(((uint32_t)L_35) == ((uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_36, (int32_t)L_37))))))
{
goto IL_00c2;
}
}
IL_00b2:
{
String_t* L_38;
L_38 = SR_GetString_m9DC7F3962EEB239017A1A4C443F52047B5BC7462(((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralCC86C197E0FEFBC58402C83C0D74784A5C39CD74)), /*hidden argument*/NULL);
UriFormatException_tAA45C6D2264E9E74935A066FC3DF8DF68B37B61D * L_39 = (UriFormatException_tAA45C6D2264E9E74935A066FC3DF8DF68B37B61D *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&UriFormatException_tAA45C6D2264E9E74935A066FC3DF8DF68B37B61D_il2cpp_TypeInfo_var)));
UriFormatException__ctor_mC9CB29EF00CB33869659306AC3FCA69342FD044F(L_39, L_38, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_39, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&UriHelper_EscapeString_m322E8737F58BBAF891A75032EC1800BE548F84D7_RuntimeMethod_var)));
}
IL_00c2:
{
int16_t L_40 = V_7;
V_7 = ((int16_t)((int16_t)((int32_t)il2cpp_codegen_add((int32_t)L_40, (int32_t)1))));
}
IL_00c9:
{
Il2CppChar* L_41 = V_3;
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* L_42 = ___dest3;
int32_t L_43 = V_0;
int16_t L_44 = V_7;
int32_t* L_45 = ___destPos4;
int32_t L_46 = V_1;
IL2CPP_RUNTIME_CLASS_INIT(UriHelper_tBEFC75B3A4E9E35CB41ADAAE22E0D1D7EE65E53D_il2cpp_TypeInfo_var);
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* L_47;
L_47 = UriHelper_EnsureDestinationSize_mE185843AD5B8A829F920147F03FB252CF06129B4((Il2CppChar*)(Il2CppChar*)L_41, L_42, L_43, ((int16_t)((int16_t)((int32_t)il2cpp_codegen_multiply((int32_t)((int32_t)il2cpp_codegen_multiply((int32_t)L_44, (int32_t)4)), (int32_t)3)))), (int16_t)((int32_t)480), (int32_t*)L_45, L_46, /*hidden argument*/NULL);
___dest3 = L_47;
Encoding_tE901442411E2E70039D2A4AE77FB81C3D6064827 * L_48;
L_48 = Encoding_get_UTF8_mC877FB3137BBD566AEE7B15F9BF61DC4EF8F5E5E(/*hidden argument*/NULL);
Il2CppChar* L_49 = V_3;
int32_t L_50 = V_0;
int16_t L_51 = V_7;
uint8_t* L_52 = V_2;
NullCheck(L_48);
int32_t L_53;
L_53 = VirtFuncInvoker4< int32_t, Il2CppChar*, int32_t, uint8_t*, int32_t >::Invoke(18 /* System.Int32 System.Text.Encoding::GetBytes(System.Char*,System.Int32,System.Byte*,System.Int32) */, L_48, (Il2CppChar*)(Il2CppChar*)((Il2CppChar*)il2cpp_codegen_add((intptr_t)L_49, (intptr_t)((intptr_t)il2cpp_codegen_multiply((intptr_t)((intptr_t)L_50), (int32_t)2)))), L_51, (uint8_t*)(uint8_t*)L_52, ((int32_t)160));
V_8 = ((int16_t)((int16_t)L_53));
int16_t L_54 = V_8;
if (L_54)
{
goto IL_0111;
}
}
{
String_t* L_55;
L_55 = SR_GetString_m9DC7F3962EEB239017A1A4C443F52047B5BC7462(((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralCC86C197E0FEFBC58402C83C0D74784A5C39CD74)), /*hidden argument*/NULL);
UriFormatException_tAA45C6D2264E9E74935A066FC3DF8DF68B37B61D * L_56 = (UriFormatException_tAA45C6D2264E9E74935A066FC3DF8DF68B37B61D *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&UriFormatException_tAA45C6D2264E9E74935A066FC3DF8DF68B37B61D_il2cpp_TypeInfo_var)));
UriFormatException__ctor_mC9CB29EF00CB33869659306AC3FCA69342FD044F(L_56, L_55, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_56, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&UriHelper_EscapeString_m322E8737F58BBAF891A75032EC1800BE548F84D7_RuntimeMethod_var)));
}
IL_0111:
{
int32_t L_57 = V_0;
int16_t L_58 = V_7;
V_0 = ((int32_t)il2cpp_codegen_add((int32_t)L_57, (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_58, (int32_t)1))));
V_7 = (int16_t)0;
goto IL_0131;
}
IL_011d:
{
uint8_t* L_59 = V_2;
int16_t L_60 = V_7;
int32_t L_61 = *((uint8_t*)((uint8_t*)il2cpp_codegen_add((intptr_t)L_59, (int32_t)L_60)));
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* L_62 = ___dest3;
int32_t* L_63 = ___destPos4;
IL2CPP_RUNTIME_CLASS_INIT(UriHelper_tBEFC75B3A4E9E35CB41ADAAE22E0D1D7EE65E53D_il2cpp_TypeInfo_var);
UriHelper_EscapeAsciiChar_m7590A6410A9F1AE1207006EF9B46578E1A3DFD33(L_61, L_62, (int32_t*)L_63, /*hidden argument*/NULL);
int16_t L_64 = V_7;
V_7 = ((int16_t)((int16_t)((int32_t)il2cpp_codegen_add((int32_t)L_64, (int32_t)1))));
}
IL_0131:
{
int16_t L_65 = V_7;
int16_t L_66 = V_8;
if ((((int32_t)L_65) < ((int32_t)L_66)))
{
goto IL_011d;
}
}
{
int32_t L_67 = V_0;
V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_67, (int32_t)1));
goto IL_024c;
}
IL_0140:
{
Il2CppChar L_68 = V_5;
if ((!(((uint32_t)L_68) == ((uint32_t)((int32_t)37)))))
{
goto IL_01e0;
}
}
{
Il2CppChar L_69 = ___rsvd8;
if ((!(((uint32_t)L_69) == ((uint32_t)((int32_t)37)))))
{
goto IL_01e0;
}
}
{
Il2CppChar* L_70 = V_3;
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* L_71 = ___dest3;
int32_t L_72 = V_0;
int32_t* L_73 = ___destPos4;
int32_t L_74 = V_1;
IL2CPP_RUNTIME_CLASS_INIT(UriHelper_tBEFC75B3A4E9E35CB41ADAAE22E0D1D7EE65E53D_il2cpp_TypeInfo_var);
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* L_75;
L_75 = UriHelper_EnsureDestinationSize_mE185843AD5B8A829F920147F03FB252CF06129B4((Il2CppChar*)(Il2CppChar*)L_70, L_71, L_72, (int16_t)3, (int16_t)((int32_t)120), (int32_t*)L_73, L_74, /*hidden argument*/NULL);
___dest3 = L_75;
int32_t L_76 = V_0;
int32_t L_77 = ___end2;
if ((((int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_76, (int32_t)2))) >= ((int32_t)L_77)))
{
goto IL_01d0;
}
}
{
Il2CppChar* L_78 = V_3;
int32_t L_79 = V_0;
int32_t L_80 = *((uint16_t*)((Il2CppChar*)il2cpp_codegen_add((intptr_t)L_78, (intptr_t)((intptr_t)il2cpp_codegen_multiply((intptr_t)((intptr_t)((int32_t)il2cpp_codegen_add((int32_t)L_79, (int32_t)1))), (int32_t)2)))));
Il2CppChar* L_81 = V_3;
int32_t L_82 = V_0;
int32_t L_83 = *((uint16_t*)((Il2CppChar*)il2cpp_codegen_add((intptr_t)L_81, (intptr_t)((intptr_t)il2cpp_codegen_multiply((intptr_t)((intptr_t)((int32_t)il2cpp_codegen_add((int32_t)L_82, (int32_t)2))), (int32_t)2)))));
IL2CPP_RUNTIME_CLASS_INIT(UriHelper_tBEFC75B3A4E9E35CB41ADAAE22E0D1D7EE65E53D_il2cpp_TypeInfo_var);
Il2CppChar L_84;
L_84 = UriHelper_EscapedAscii_m80D926F5C8B177B5D041BBFEADEAB2363A324461(L_80, L_83, /*hidden argument*/NULL);
if ((((int32_t)L_84) == ((int32_t)((int32_t)65535))))
{
goto IL_01d0;
}
}
{
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* L_85 = ___dest3;
int32_t* L_86 = ___destPos4;
int32_t* L_87 = ___destPos4;
int32_t L_88 = *((int32_t*)L_87);
V_9 = L_88;
int32_t L_89 = V_9;
*((int32_t*)L_86) = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_89, (int32_t)1));
int32_t L_90 = V_9;
NullCheck(L_85);
(L_85)->SetAt(static_cast<il2cpp_array_size_t>(L_90), (Il2CppChar)((int32_t)37));
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* L_91 = ___dest3;
int32_t* L_92 = ___destPos4;
int32_t* L_93 = ___destPos4;
int32_t L_94 = *((int32_t*)L_93);
V_9 = L_94;
int32_t L_95 = V_9;
*((int32_t*)L_92) = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_95, (int32_t)1));
int32_t L_96 = V_9;
Il2CppChar* L_97 = V_3;
int32_t L_98 = V_0;
int32_t L_99 = *((uint16_t*)((Il2CppChar*)il2cpp_codegen_add((intptr_t)L_97, (intptr_t)((intptr_t)il2cpp_codegen_multiply((intptr_t)((intptr_t)((int32_t)il2cpp_codegen_add((int32_t)L_98, (int32_t)1))), (int32_t)2)))));
NullCheck(L_91);
(L_91)->SetAt(static_cast<il2cpp_array_size_t>(L_96), (Il2CppChar)L_99);
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* L_100 = ___dest3;
int32_t* L_101 = ___destPos4;
int32_t* L_102 = ___destPos4;
int32_t L_103 = *((int32_t*)L_102);
V_9 = L_103;
int32_t L_104 = V_9;
*((int32_t*)L_101) = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_104, (int32_t)1));
int32_t L_105 = V_9;
Il2CppChar* L_106 = V_3;
int32_t L_107 = V_0;
int32_t L_108 = *((uint16_t*)((Il2CppChar*)il2cpp_codegen_add((intptr_t)L_106, (intptr_t)((intptr_t)il2cpp_codegen_multiply((intptr_t)((intptr_t)((int32_t)il2cpp_codegen_add((int32_t)L_107, (int32_t)2))), (int32_t)2)))));
NullCheck(L_100);
(L_100)->SetAt(static_cast<il2cpp_array_size_t>(L_105), (Il2CppChar)L_108);
int32_t L_109 = V_0;
V_0 = ((int32_t)il2cpp_codegen_add((int32_t)L_109, (int32_t)2));
goto IL_01da;
}
IL_01d0:
{
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* L_110 = ___dest3;
int32_t* L_111 = ___destPos4;
IL2CPP_RUNTIME_CLASS_INIT(UriHelper_tBEFC75B3A4E9E35CB41ADAAE22E0D1D7EE65E53D_il2cpp_TypeInfo_var);
UriHelper_EscapeAsciiChar_m7590A6410A9F1AE1207006EF9B46578E1A3DFD33(((int32_t)37), L_110, (int32_t*)L_111, /*hidden argument*/NULL);
}
IL_01da:
{
int32_t L_112 = V_0;
V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_112, (int32_t)1));
goto IL_024c;
}
IL_01e0:
{
Il2CppChar L_113 = V_5;
Il2CppChar L_114 = ___force16;
if ((((int32_t)L_113) == ((int32_t)L_114)))
{
goto IL_01ec;
}
}
{
Il2CppChar L_115 = V_5;
Il2CppChar L_116 = ___force27;
if ((!(((uint32_t)L_115) == ((uint32_t)L_116))))
{
goto IL_020c;
}
}
IL_01ec:
{
Il2CppChar* L_117 = V_3;
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* L_118 = ___dest3;
int32_t L_119 = V_0;
int32_t* L_120 = ___destPos4;
int32_t L_121 = V_1;
IL2CPP_RUNTIME_CLASS_INIT(UriHelper_tBEFC75B3A4E9E35CB41ADAAE22E0D1D7EE65E53D_il2cpp_TypeInfo_var);
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* L_122;
L_122 = UriHelper_EnsureDestinationSize_mE185843AD5B8A829F920147F03FB252CF06129B4((Il2CppChar*)(Il2CppChar*)L_117, L_118, L_119, (int16_t)3, (int16_t)((int32_t)120), (int32_t*)L_120, L_121, /*hidden argument*/NULL);
___dest3 = L_122;
Il2CppChar L_123 = V_5;
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* L_124 = ___dest3;
int32_t* L_125 = ___destPos4;
UriHelper_EscapeAsciiChar_m7590A6410A9F1AE1207006EF9B46578E1A3DFD33(L_123, L_124, (int32_t*)L_125, /*hidden argument*/NULL);
int32_t L_126 = V_0;
V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_126, (int32_t)1));
goto IL_024c;
}
IL_020c:
{
Il2CppChar L_127 = V_5;
Il2CppChar L_128 = ___rsvd8;
if ((((int32_t)L_127) == ((int32_t)L_128)))
{
goto IL_024c;
}
}
{
bool L_129 = ___isUriString5;
if (L_129)
{
goto IL_0222;
}
}
{
Il2CppChar L_130 = V_5;
IL2CPP_RUNTIME_CLASS_INIT(UriHelper_tBEFC75B3A4E9E35CB41ADAAE22E0D1D7EE65E53D_il2cpp_TypeInfo_var);
bool L_131;
L_131 = UriHelper_IsUnreserved_m6B1C0AA7DEC462F62400ACFC7EFC5807730CD5B1(L_130, /*hidden argument*/NULL);
G_B35_0 = ((((int32_t)L_131) == ((int32_t)0))? 1 : 0);
goto IL_022c;
}
IL_0222:
{
Il2CppChar L_132 = V_5;
IL2CPP_RUNTIME_CLASS_INIT(UriHelper_tBEFC75B3A4E9E35CB41ADAAE22E0D1D7EE65E53D_il2cpp_TypeInfo_var);
bool L_133;
L_133 = UriHelper_IsReservedUnreservedOrHash_m155B0658622E15DED0A384A2E6A6013CE23016D6(L_132, /*hidden argument*/NULL);
G_B35_0 = ((((int32_t)L_133) == ((int32_t)0))? 1 : 0);
}
IL_022c:
{
if (!G_B35_0)
{
goto IL_024c;
}
}
{
Il2CppChar* L_134 = V_3;
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* L_135 = ___dest3;
int32_t L_136 = V_0;
int32_t* L_137 = ___destPos4;
int32_t L_138 = V_1;
IL2CPP_RUNTIME_CLASS_INIT(UriHelper_tBEFC75B3A4E9E35CB41ADAAE22E0D1D7EE65E53D_il2cpp_TypeInfo_var);
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* L_139;
L_139 = UriHelper_EnsureDestinationSize_mE185843AD5B8A829F920147F03FB252CF06129B4((Il2CppChar*)(Il2CppChar*)L_134, L_135, L_136, (int16_t)3, (int16_t)((int32_t)120), (int32_t*)L_137, L_138, /*hidden argument*/NULL);
___dest3 = L_139;
Il2CppChar L_140 = V_5;
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* L_141 = ___dest3;
int32_t* L_142 = ___destPos4;
UriHelper_EscapeAsciiChar_m7590A6410A9F1AE1207006EF9B46578E1A3DFD33(L_140, L_141, (int32_t*)L_142, /*hidden argument*/NULL);
int32_t L_143 = V_0;
V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_143, (int32_t)1));
}
IL_024c:
{
int32_t L_144 = V_0;
V_0 = ((int32_t)il2cpp_codegen_add((int32_t)L_144, (int32_t)1));
}
IL_0250:
{
int32_t L_145 = V_0;
int32_t L_146 = ___end2;
if ((((int32_t)L_145) < ((int32_t)L_146)))
{
goto IL_0041;
}
}
{
int32_t L_147 = V_1;
int32_t L_148 = V_0;
if ((((int32_t)L_147) == ((int32_t)L_148)))
{
goto IL_0271;
}
}
{
int32_t L_149 = V_1;
int32_t L_150 = ___start1;
if ((!(((uint32_t)L_149) == ((uint32_t)L_150))))
{
goto IL_0262;
}
}
{
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* L_151 = ___dest3;
if (!L_151)
{
goto IL_0271;
}
}
IL_0262:
{
Il2CppChar* L_152 = V_3;
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* L_153 = ___dest3;
int32_t L_154 = V_0;
int32_t* L_155 = ___destPos4;
int32_t L_156 = V_1;
IL2CPP_RUNTIME_CLASS_INIT(UriHelper_tBEFC75B3A4E9E35CB41ADAAE22E0D1D7EE65E53D_il2cpp_TypeInfo_var);
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* L_157;
L_157 = UriHelper_EnsureDestinationSize_mE185843AD5B8A829F920147F03FB252CF06129B4((Il2CppChar*)(Il2CppChar*)L_152, L_153, L_154, (int16_t)0, (int16_t)0, (int32_t*)L_155, L_156, /*hidden argument*/NULL);
___dest3 = L_157;
}
IL_0271:
{
V_4 = (String_t*)NULL;
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* L_158 = ___dest3;
return L_158;
}
}
// System.Char[] System.UriHelper::EnsureDestinationSize(System.Char*,System.Char[],System.Int32,System.Int16,System.Int16,System.Int32&,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* UriHelper_EnsureDestinationSize_mE185843AD5B8A829F920147F03FB252CF06129B4 (Il2CppChar* ___pStr0, CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* ___dest1, int32_t ___currentInputPos2, int16_t ___charsToAdd3, int16_t ___minReallocateChars4, int32_t* ___destPos5, int32_t ___prevInputPos6, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* V_0 = NULL;
int32_t V_1 = 0;
{
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* L_0 = ___dest1;
if (!L_0)
{
goto IL_0012;
}
}
{
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* L_1 = ___dest1;
NullCheck(L_1);
int32_t* L_2 = ___destPos5;
int32_t L_3 = *((int32_t*)L_2);
int32_t L_4 = ___currentInputPos2;
int32_t L_5 = ___prevInputPos6;
int16_t L_6 = ___charsToAdd3;
if ((((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_1)->max_length)))) >= ((int32_t)((int32_t)il2cpp_codegen_add((int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_3, (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_4, (int32_t)L_5)))), (int32_t)L_6)))))
{
goto IL_0058;
}
}
IL_0012:
{
int32_t* L_7 = ___destPos5;
int32_t L_8 = *((int32_t*)L_7);
int32_t L_9 = ___currentInputPos2;
int32_t L_10 = ___prevInputPos6;
int16_t L_11 = ___minReallocateChars4;
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* L_12 = (CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34*)(CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34*)SZArrayNew(CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34_il2cpp_TypeInfo_var, (uint32_t)((int32_t)il2cpp_codegen_add((int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_8, (int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_9, (int32_t)L_10)))), (int32_t)L_11)));
V_0 = L_12;
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* L_13 = ___dest1;
if (!L_13)
{
goto IL_0039;
}
}
{
int32_t* L_14 = ___destPos5;
int32_t L_15 = *((int32_t*)L_14);
if (!L_15)
{
goto IL_0039;
}
}
{
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* L_16 = ___dest1;
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* L_17 = V_0;
int32_t* L_18 = ___destPos5;
int32_t L_19 = *((int32_t*)L_18);
Buffer_BlockCopy_mD01FC13D87078586714AA235261A9E786C351725((RuntimeArray *)(RuntimeArray *)L_16, 0, (RuntimeArray *)(RuntimeArray *)L_17, 0, ((int32_t)((int32_t)L_19<<(int32_t)1)), /*hidden argument*/NULL);
}
IL_0039:
{
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* L_20 = V_0;
___dest1 = L_20;
goto IL_0058;
}
IL_003e:
{
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* L_21 = ___dest1;
int32_t* L_22 = ___destPos5;
int32_t* L_23 = ___destPos5;
int32_t L_24 = *((int32_t*)L_23);
V_1 = L_24;
int32_t L_25 = V_1;
*((int32_t*)L_22) = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_25, (int32_t)1));
int32_t L_26 = V_1;
Il2CppChar* L_27 = ___pStr0;
int32_t L_28 = ___prevInputPos6;
int32_t L_29 = L_28;
___prevInputPos6 = ((int32_t)il2cpp_codegen_add((int32_t)L_29, (int32_t)1));
int32_t L_30 = *((uint16_t*)((Il2CppChar*)il2cpp_codegen_add((intptr_t)L_27, (intptr_t)((intptr_t)il2cpp_codegen_multiply((intptr_t)((intptr_t)L_29), (int32_t)2)))));
NullCheck(L_21);
(L_21)->SetAt(static_cast<il2cpp_array_size_t>(L_26), (Il2CppChar)L_30);
}
IL_0058:
{
int32_t L_31 = ___prevInputPos6;
int32_t L_32 = ___currentInputPos2;
if ((!(((uint32_t)L_31) == ((uint32_t)L_32))))
{
goto IL_003e;
}
}
{
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* L_33 = ___dest1;
return L_33;
}
}
// System.Char[] System.UriHelper::UnescapeString(System.String,System.Int32,System.Int32,System.Char[],System.Int32&,System.Char,System.Char,System.Char,System.UnescapeMode,System.UriParser,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* UriHelper_UnescapeString_mA17D82F433C1E293A09957A12BBA31A2617BB300 (String_t* ___input0, int32_t ___start1, int32_t ___end2, CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* ___dest3, int32_t* ___destPosition4, Il2CppChar ___rsvd15, Il2CppChar ___rsvd26, Il2CppChar ___rsvd37, int32_t ___unescapeMode8, UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * ___syntax9, bool ___isQuery10, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&UriHelper_tBEFC75B3A4E9E35CB41ADAAE22E0D1D7EE65E53D_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
Il2CppChar* V_0 = NULL;
String_t* V_1 = NULL;
{
String_t* L_0 = ___input0;
V_1 = L_0;
String_t* L_1 = V_1;
V_0 = (Il2CppChar*)((uintptr_t)L_1);
Il2CppChar* L_2 = V_0;
if (!L_2)
{
goto IL_0010;
}
}
{
Il2CppChar* L_3 = V_0;
int32_t L_4;
L_4 = RuntimeHelpers_get_OffsetToStringData_mEB8E6EAEBAFAB7CD7F7A915B3081785AABB9FC42(/*hidden argument*/NULL);
V_0 = (Il2CppChar*)((Il2CppChar*)il2cpp_codegen_add((intptr_t)L_3, (int32_t)L_4));
}
IL_0010:
{
Il2CppChar* L_5 = V_0;
int32_t L_6 = ___start1;
int32_t L_7 = ___end2;
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* L_8 = ___dest3;
int32_t* L_9 = ___destPosition4;
Il2CppChar L_10 = ___rsvd15;
Il2CppChar L_11 = ___rsvd26;
Il2CppChar L_12 = ___rsvd37;
int32_t L_13 = ___unescapeMode8;
UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * L_14 = ___syntax9;
bool L_15 = ___isQuery10;
IL2CPP_RUNTIME_CLASS_INIT(UriHelper_tBEFC75B3A4E9E35CB41ADAAE22E0D1D7EE65E53D_il2cpp_TypeInfo_var);
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* L_16;
L_16 = UriHelper_UnescapeString_m92E5C90E7DAE8DA5C7C1E6FB72B0F58321B6484C((Il2CppChar*)(Il2CppChar*)L_5, L_6, L_7, L_8, (int32_t*)L_9, L_10, L_11, L_12, L_13, L_14, L_15, /*hidden argument*/NULL);
return L_16;
}
}
// System.Char[] System.UriHelper::UnescapeString(System.Char*,System.Int32,System.Int32,System.Char[],System.Int32&,System.Char,System.Char,System.Char,System.UnescapeMode,System.UriParser,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* UriHelper_UnescapeString_m92E5C90E7DAE8DA5C7C1E6FB72B0F58321B6484C (Il2CppChar* ___pStr0, int32_t ___start1, int32_t ___end2, CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* ___dest3, int32_t* ___destPosition4, Il2CppChar ___rsvd15, Il2CppChar ___rsvd26, Il2CppChar ___rsvd37, int32_t ___unescapeMode8, UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * ___syntax9, bool ___isQuery10, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&DecoderReplacementFallback_t8DA345EC4EF3A35A2667365F691EE69408A62130_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&EncoderReplacementFallback_t61E36A507D7FA8034B49F86DBE560EC77A6A8418_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Encoding_tE901442411E2E70039D2A4AE77FB81C3D6064827_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&UriHelper_tBEFC75B3A4E9E35CB41ADAAE22E0D1D7EE65E53D_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Uri_t4A915E1CC15B2C650F478099AD448E9466CBF612_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709);
s_Il2CppMethodInitialized = true;
}
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_0 = NULL;
uint8_t V_1 = 0x0;
bool V_2 = false;
int32_t V_3 = 0;
bool V_4 = false;
Il2CppChar* V_5 = NULL;
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* V_6 = NULL;
int32_t V_7 = 0;
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* V_8 = NULL;
Il2CppChar V_9 = 0x0;
int32_t V_10 = 0;
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* V_11 = NULL;
int32_t V_12 = 0;
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* V_13 = NULL;
Il2CppChar* V_14 = NULL;
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* V_15 = NULL;
int32_t V_16 = 0;
Exception_t * __last_unhandled_exception = 0;
il2cpp::utils::ExceptionSupportStack<int32_t, 3> __leave_targets;
int32_t G_B3_0 = 0;
{
V_0 = (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)NULL;
V_1 = (uint8_t)0;
V_2 = (bool)0;
int32_t L_0 = ___start1;
V_3 = L_0;
UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * L_1 = ___syntax9;
IL2CPP_RUNTIME_CLASS_INIT(Uri_t4A915E1CC15B2C650F478099AD448E9466CBF612_il2cpp_TypeInfo_var);
bool L_2;
L_2 = Uri_IriParsingStatic_m0F2797FEA328A2B1A72EE03F9BD88C577A7A0471(L_1, /*hidden argument*/NULL);
if (!L_2)
{
goto IL_001a;
}
}
{
int32_t L_3 = ___unescapeMode8;
G_B3_0 = ((((int32_t)((int32_t)((int32_t)L_3&(int32_t)3))) == ((int32_t)3))? 1 : 0);
goto IL_001b;
}
IL_001a:
{
G_B3_0 = 0;
}
IL_001b:
{
V_4 = (bool)G_B3_0;
}
IL_001d:
{
}
IL_001e:
try
{ // begin try (depth: 1)
{
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* L_4 = ___dest3;
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* L_5 = L_4;
V_6 = L_5;
if (!L_5)
{
goto IL_002a;
}
}
IL_0024:
{
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* L_6 = V_6;
NullCheck(L_6);
if (((int32_t)((int32_t)(((RuntimeArray*)L_6)->max_length))))
{
goto IL_0030;
}
}
IL_002a:
{
V_5 = (Il2CppChar*)((uintptr_t)0);
goto IL_003b;
}
IL_0030:
{
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* L_7 = V_6;
NullCheck(L_7);
V_5 = (Il2CppChar*)((uintptr_t)((L_7)->GetAddressAt(static_cast<il2cpp_array_size_t>(0))));
}
IL_003b:
{
int32_t L_8 = ___unescapeMode8;
if (((int32_t)((int32_t)L_8&(int32_t)3)))
{
goto IL_0070;
}
}
IL_0041:
{
goto IL_0064;
}
IL_0043:
{
Il2CppChar* L_9 = V_5;
int32_t* L_10 = ___destPosition4;
int32_t* L_11 = ___destPosition4;
int32_t L_12 = *((int32_t*)L_11);
V_7 = L_12;
int32_t L_13 = V_7;
*((int32_t*)L_10) = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_13, (int32_t)1));
int32_t L_14 = V_7;
Il2CppChar* L_15 = ___pStr0;
int32_t L_16 = ___start1;
int32_t L_17 = L_16;
___start1 = ((int32_t)il2cpp_codegen_add((int32_t)L_17, (int32_t)1));
int32_t L_18 = *((uint16_t*)((Il2CppChar*)il2cpp_codegen_add((intptr_t)L_15, (intptr_t)((intptr_t)il2cpp_codegen_multiply((intptr_t)((intptr_t)L_17), (int32_t)2)))));
*((int16_t*)((Il2CppChar*)il2cpp_codegen_add((intptr_t)L_9, (intptr_t)((intptr_t)il2cpp_codegen_multiply((intptr_t)((intptr_t)L_14), (int32_t)2))))) = (int16_t)L_18;
}
IL_0064:
{
int32_t L_19 = ___start1;
int32_t L_20 = ___end2;
if ((((int32_t)L_19) < ((int32_t)L_20)))
{
goto IL_0043;
}
}
IL_0068:
{
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* L_21 = ___dest3;
V_8 = L_21;
IL2CPP_LEAVE(0x39C, FINALLY_0396);
}
IL_0070:
{
V_9 = 0;
goto IL_01dd;
}
IL_0078:
{
Il2CppChar* L_22 = ___pStr0;
int32_t L_23 = V_3;
int32_t L_24 = *((uint16_t*)((Il2CppChar*)il2cpp_codegen_add((intptr_t)L_22, (intptr_t)((intptr_t)il2cpp_codegen_multiply((intptr_t)((intptr_t)L_23), (int32_t)2)))));
int32_t L_25 = L_24;
V_9 = L_25;
if ((!(((uint32_t)L_25) == ((uint32_t)((int32_t)37)))))
{
goto IL_0195;
}
}
IL_0089:
{
int32_t L_26 = ___unescapeMode8;
if (((int32_t)((int32_t)L_26&(int32_t)2)))
{
goto IL_0096;
}
}
IL_008f:
{
V_2 = (bool)1;
goto IL_0207;
}
IL_0096:
{
int32_t L_27 = V_3;
int32_t L_28 = ___end2;
if ((((int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_27, (int32_t)2))) >= ((int32_t)L_28)))
{
goto IL_0176;
}
}
IL_009f:
{
Il2CppChar* L_29 = ___pStr0;
int32_t L_30 = V_3;
int32_t L_31 = *((uint16_t*)((Il2CppChar*)il2cpp_codegen_add((intptr_t)L_29, (intptr_t)((intptr_t)il2cpp_codegen_multiply((intptr_t)((intptr_t)((int32_t)il2cpp_codegen_add((int32_t)L_30, (int32_t)1))), (int32_t)2)))));
Il2CppChar* L_32 = ___pStr0;
int32_t L_33 = V_3;
int32_t L_34 = *((uint16_t*)((Il2CppChar*)il2cpp_codegen_add((intptr_t)L_32, (intptr_t)((intptr_t)il2cpp_codegen_multiply((intptr_t)((intptr_t)((int32_t)il2cpp_codegen_add((int32_t)L_33, (int32_t)2))), (int32_t)2)))));
IL2CPP_RUNTIME_CLASS_INIT(UriHelper_tBEFC75B3A4E9E35CB41ADAAE22E0D1D7EE65E53D_il2cpp_TypeInfo_var);
Il2CppChar L_35;
L_35 = UriHelper_EscapedAscii_m80D926F5C8B177B5D041BBFEADEAB2363A324461(L_31, L_34, /*hidden argument*/NULL);
V_9 = L_35;
int32_t L_36 = ___unescapeMode8;
if ((((int32_t)L_36) < ((int32_t)8)))
{
goto IL_00e2;
}
}
IL_00bd:
{
Il2CppChar L_37 = V_9;
if ((!(((uint32_t)L_37) == ((uint32_t)((int32_t)65535)))))
{
goto IL_0207;
}
}
IL_00c9:
{
int32_t L_38 = ___unescapeMode8;
if ((((int32_t)L_38) < ((int32_t)((int32_t)24))))
{
goto IL_01d9;
}
}
IL_00d2:
{
String_t* L_39;
L_39 = SR_GetString_m9DC7F3962EEB239017A1A4C443F52047B5BC7462(((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralCC86C197E0FEFBC58402C83C0D74784A5C39CD74)), /*hidden argument*/NULL);
UriFormatException_tAA45C6D2264E9E74935A066FC3DF8DF68B37B61D * L_40 = (UriFormatException_tAA45C6D2264E9E74935A066FC3DF8DF68B37B61D *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&UriFormatException_tAA45C6D2264E9E74935A066FC3DF8DF68B37B61D_il2cpp_TypeInfo_var)));
UriFormatException__ctor_mC9CB29EF00CB33869659306AC3FCA69342FD044F(L_40, L_39, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_40, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&UriHelper_UnescapeString_m92E5C90E7DAE8DA5C7C1E6FB72B0F58321B6484C_RuntimeMethod_var)));
}
IL_00e2:
{
Il2CppChar L_41 = V_9;
if ((!(((uint32_t)L_41) == ((uint32_t)((int32_t)65535)))))
{
goto IL_00fb;
}
}
IL_00eb:
{
int32_t L_42 = ___unescapeMode8;
if (!((int32_t)((int32_t)L_42&(int32_t)1)))
{
goto IL_01d9;
}
}
IL_00f4:
{
V_2 = (bool)1;
goto IL_0207;
}
IL_00fb:
{
Il2CppChar L_43 = V_9;
if ((!(((uint32_t)L_43) == ((uint32_t)((int32_t)37)))))
{
goto IL_010a;
}
}
IL_0101:
{
int32_t L_44 = V_3;
V_3 = ((int32_t)il2cpp_codegen_add((int32_t)L_44, (int32_t)2));
goto IL_01d9;
}
IL_010a:
{
Il2CppChar L_45 = V_9;
Il2CppChar L_46 = ___rsvd15;
if ((((int32_t)L_45) == ((int32_t)L_46)))
{
goto IL_011c;
}
}
IL_0110:
{
Il2CppChar L_47 = V_9;
Il2CppChar L_48 = ___rsvd26;
if ((((int32_t)L_47) == ((int32_t)L_48)))
{
goto IL_011c;
}
}
IL_0116:
{
Il2CppChar L_49 = V_9;
Il2CppChar L_50 = ___rsvd37;
if ((!(((uint32_t)L_49) == ((uint32_t)L_50))))
{
goto IL_0125;
}
}
IL_011c:
{
int32_t L_51 = V_3;
V_3 = ((int32_t)il2cpp_codegen_add((int32_t)L_51, (int32_t)2));
goto IL_01d9;
}
IL_0125:
{
int32_t L_52 = ___unescapeMode8;
if (((int32_t)((int32_t)L_52&(int32_t)4)))
{
goto IL_013d;
}
}
IL_012b:
{
Il2CppChar L_53 = V_9;
IL2CPP_RUNTIME_CLASS_INIT(UriHelper_tBEFC75B3A4E9E35CB41ADAAE22E0D1D7EE65E53D_il2cpp_TypeInfo_var);
bool L_54;
L_54 = UriHelper_IsNotSafeForUnescape_m5504A36A2CC19ABC23255896A98D9912D390107F(L_53, /*hidden argument*/NULL);
if (!L_54)
{
goto IL_013d;
}
}
IL_0134:
{
int32_t L_55 = V_3;
V_3 = ((int32_t)il2cpp_codegen_add((int32_t)L_55, (int32_t)2));
goto IL_01d9;
}
IL_013d:
{
bool L_56 = V_4;
if (!L_56)
{
goto IL_0207;
}
}
IL_0144:
{
Il2CppChar L_57 = V_9;
if ((((int32_t)L_57) > ((int32_t)((int32_t)159))))
{
goto IL_0156;
}
}
IL_014d:
{
Il2CppChar L_58 = V_9;
IL2CPP_RUNTIME_CLASS_INIT(UriHelper_tBEFC75B3A4E9E35CB41ADAAE22E0D1D7EE65E53D_il2cpp_TypeInfo_var);
bool L_59;
L_59 = UriHelper_IsNotSafeForUnescape_m5504A36A2CC19ABC23255896A98D9912D390107F(L_58, /*hidden argument*/NULL);
if (L_59)
{
goto IL_0170;
}
}
IL_0156:
{
Il2CppChar L_60 = V_9;
if ((((int32_t)L_60) <= ((int32_t)((int32_t)159))))
{
goto IL_0207;
}
}
IL_0162:
{
Il2CppChar L_61 = V_9;
bool L_62 = ___isQuery10;
bool L_63;
L_63 = IriHelper_CheckIriUnicodeRange_m5E205B2F096045DE5259E0E98A062DD0813206F6(L_61, L_62, /*hidden argument*/NULL);
if (L_63)
{
goto IL_0207;
}
}
IL_0170:
{
int32_t L_64 = V_3;
V_3 = ((int32_t)il2cpp_codegen_add((int32_t)L_64, (int32_t)2));
goto IL_01d9;
}
IL_0176:
{
int32_t L_65 = ___unescapeMode8;
if ((((int32_t)L_65) < ((int32_t)8)))
{
goto IL_0191;
}
}
IL_017b:
{
int32_t L_66 = ___unescapeMode8;
if ((((int32_t)L_66) < ((int32_t)((int32_t)24))))
{
goto IL_01d9;
}
}
IL_0181:
{
String_t* L_67;
L_67 = SR_GetString_m9DC7F3962EEB239017A1A4C443F52047B5BC7462(((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralCC86C197E0FEFBC58402C83C0D74784A5C39CD74)), /*hidden argument*/NULL);
UriFormatException_tAA45C6D2264E9E74935A066FC3DF8DF68B37B61D * L_68 = (UriFormatException_tAA45C6D2264E9E74935A066FC3DF8DF68B37B61D *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&UriFormatException_tAA45C6D2264E9E74935A066FC3DF8DF68B37B61D_il2cpp_TypeInfo_var)));
UriFormatException__ctor_mC9CB29EF00CB33869659306AC3FCA69342FD044F(L_68, L_67, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_68, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&UriHelper_UnescapeString_m92E5C90E7DAE8DA5C7C1E6FB72B0F58321B6484C_RuntimeMethod_var)));
}
IL_0191:
{
V_2 = (bool)1;
goto IL_0207;
}
IL_0195:
{
int32_t L_69 = ___unescapeMode8;
if ((((int32_t)((int32_t)((int32_t)L_69&(int32_t)((int32_t)10)))) == ((int32_t)((int32_t)10))))
{
goto IL_01d9;
}
}
IL_019e:
{
int32_t L_70 = ___unescapeMode8;
if (!((int32_t)((int32_t)L_70&(int32_t)1)))
{
goto IL_01d9;
}
}
IL_01a4:
{
Il2CppChar L_71 = V_9;
Il2CppChar L_72 = ___rsvd15;
if ((((int32_t)L_71) == ((int32_t)L_72)))
{
goto IL_01b6;
}
}
IL_01aa:
{
Il2CppChar L_73 = V_9;
Il2CppChar L_74 = ___rsvd26;
if ((((int32_t)L_73) == ((int32_t)L_74)))
{
goto IL_01b6;
}
}
IL_01b0:
{
Il2CppChar L_75 = V_9;
Il2CppChar L_76 = ___rsvd37;
if ((!(((uint32_t)L_75) == ((uint32_t)L_76))))
{
goto IL_01ba;
}
}
IL_01b6:
{
V_2 = (bool)1;
goto IL_0207;
}
IL_01ba:
{
int32_t L_77 = ___unescapeMode8;
if (((int32_t)((int32_t)L_77&(int32_t)4)))
{
goto IL_01d9;
}
}
IL_01c0:
{
Il2CppChar L_78 = V_9;
if ((((int32_t)L_78) <= ((int32_t)((int32_t)31))))
{
goto IL_01d5;
}
}
IL_01c6:
{
Il2CppChar L_79 = V_9;
if ((((int32_t)L_79) < ((int32_t)((int32_t)127))))
{
goto IL_01d9;
}
}
IL_01cc:
{
Il2CppChar L_80 = V_9;
if ((((int32_t)L_80) > ((int32_t)((int32_t)159))))
{
goto IL_01d9;
}
}
IL_01d5:
{
V_2 = (bool)1;
goto IL_0207;
}
IL_01d9:
{
int32_t L_81 = V_3;
V_3 = ((int32_t)il2cpp_codegen_add((int32_t)L_81, (int32_t)1));
}
IL_01dd:
{
int32_t L_82 = V_3;
int32_t L_83 = ___end2;
if ((((int32_t)L_82) < ((int32_t)L_83)))
{
goto IL_0078;
}
}
IL_01e4:
{
goto IL_0207;
}
IL_01e6:
{
Il2CppChar* L_84 = V_5;
int32_t* L_85 = ___destPosition4;
int32_t* L_86 = ___destPosition4;
int32_t L_87 = *((int32_t*)L_86);
V_7 = L_87;
int32_t L_88 = V_7;
*((int32_t*)L_85) = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_88, (int32_t)1));
int32_t L_89 = V_7;
Il2CppChar* L_90 = ___pStr0;
int32_t L_91 = ___start1;
int32_t L_92 = L_91;
___start1 = ((int32_t)il2cpp_codegen_add((int32_t)L_92, (int32_t)1));
int32_t L_93 = *((uint16_t*)((Il2CppChar*)il2cpp_codegen_add((intptr_t)L_90, (intptr_t)((intptr_t)il2cpp_codegen_multiply((intptr_t)((intptr_t)L_92), (int32_t)2)))));
*((int16_t*)((Il2CppChar*)il2cpp_codegen_add((intptr_t)L_84, (intptr_t)((intptr_t)il2cpp_codegen_multiply((intptr_t)((intptr_t)L_89), (int32_t)2))))) = (int16_t)L_93;
}
IL_0207:
{
int32_t L_94 = ___start1;
int32_t L_95 = V_3;
if ((((int32_t)L_94) < ((int32_t)L_95)))
{
goto IL_01e6;
}
}
IL_020b:
{
int32_t L_96 = V_3;
int32_t L_97 = ___end2;
if ((((int32_t)L_96) == ((int32_t)L_97)))
{
goto IL_038d;
}
}
IL_0212:
{
bool L_98 = V_2;
if (!L_98)
{
goto IL_029c;
}
}
IL_0218:
{
uint8_t L_99 = V_1;
if (L_99)
{
goto IL_027a;
}
}
IL_021b:
{
V_1 = (uint8_t)((int32_t)30);
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* L_100 = ___dest3;
NullCheck(L_100);
uint8_t L_101 = V_1;
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* L_102 = (CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34*)(CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34*)SZArrayNew(CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34_il2cpp_TypeInfo_var, (uint32_t)((int32_t)il2cpp_codegen_add((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_100)->max_length))), (int32_t)((int32_t)il2cpp_codegen_multiply((int32_t)L_101, (int32_t)3)))));
V_13 = L_102;
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* L_103 = V_13;
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* L_104 = L_103;
V_15 = L_104;
if (!L_104)
{
goto IL_0239;
}
}
IL_0233:
{
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* L_105 = V_15;
NullCheck(L_105);
if (((int32_t)((int32_t)(((RuntimeArray*)L_105)->max_length))))
{
goto IL_023f;
}
}
IL_0239:
{
V_14 = (Il2CppChar*)((uintptr_t)0);
goto IL_024a;
}
IL_023f:
{
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* L_106 = V_15;
NullCheck(L_106);
V_14 = (Il2CppChar*)((uintptr_t)((L_106)->GetAddressAt(static_cast<il2cpp_array_size_t>(0))));
}
IL_024a:
{
V_16 = 0;
goto IL_0267;
}
IL_024f:
{
Il2CppChar* L_107 = V_14;
int32_t L_108 = V_16;
Il2CppChar* L_109 = V_5;
int32_t L_110 = V_16;
int32_t L_111 = *((uint16_t*)((Il2CppChar*)il2cpp_codegen_add((intptr_t)L_109, (intptr_t)((intptr_t)il2cpp_codegen_multiply((intptr_t)((intptr_t)L_110), (int32_t)2)))));
*((int16_t*)((Il2CppChar*)il2cpp_codegen_add((intptr_t)L_107, (intptr_t)((intptr_t)il2cpp_codegen_multiply((intptr_t)((intptr_t)L_108), (int32_t)2))))) = (int16_t)L_111;
int32_t L_112 = V_16;
V_16 = ((int32_t)il2cpp_codegen_add((int32_t)L_112, (int32_t)1));
}
IL_0267:
{
int32_t L_113 = V_16;
int32_t* L_114 = ___destPosition4;
int32_t L_115 = *((int32_t*)L_114);
if ((((int32_t)L_113) < ((int32_t)L_115)))
{
goto IL_024f;
}
}
IL_026e:
{
V_15 = (CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34*)NULL;
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* L_116 = V_13;
___dest3 = L_116;
IL2CPP_LEAVE(0x1D, FINALLY_0396);
}
IL_027a:
{
uint8_t L_117 = V_1;
V_1 = (uint8_t)((int32_t)((uint8_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_117, (int32_t)1))));
Il2CppChar* L_118 = ___pStr0;
int32_t L_119 = V_3;
int32_t L_120 = *((uint16_t*)((Il2CppChar*)il2cpp_codegen_add((intptr_t)L_118, (intptr_t)((intptr_t)il2cpp_codegen_multiply((intptr_t)((intptr_t)L_119), (int32_t)2)))));
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* L_121 = ___dest3;
int32_t* L_122 = ___destPosition4;
IL2CPP_RUNTIME_CLASS_INIT(UriHelper_tBEFC75B3A4E9E35CB41ADAAE22E0D1D7EE65E53D_il2cpp_TypeInfo_var);
UriHelper_EscapeAsciiChar_m7590A6410A9F1AE1207006EF9B46578E1A3DFD33(L_120, L_121, (int32_t*)L_122, /*hidden argument*/NULL);
V_2 = (bool)0;
int32_t L_123 = V_3;
int32_t L_124 = ((int32_t)il2cpp_codegen_add((int32_t)L_123, (int32_t)1));
V_3 = L_124;
___start1 = L_124;
goto IL_0070;
}
IL_029c:
{
Il2CppChar L_125 = V_9;
if ((((int32_t)L_125) > ((int32_t)((int32_t)127))))
{
goto IL_02c0;
}
}
IL_02a2:
{
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* L_126 = ___dest3;
int32_t* L_127 = ___destPosition4;
int32_t* L_128 = ___destPosition4;
int32_t L_129 = *((int32_t*)L_128);
V_7 = L_129;
int32_t L_130 = V_7;
*((int32_t*)L_127) = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_130, (int32_t)1));
int32_t L_131 = V_7;
Il2CppChar L_132 = V_9;
NullCheck(L_126);
(L_126)->SetAt(static_cast<il2cpp_array_size_t>(L_131), (Il2CppChar)L_132);
int32_t L_133 = V_3;
V_3 = ((int32_t)il2cpp_codegen_add((int32_t)L_133, (int32_t)3));
int32_t L_134 = V_3;
___start1 = L_134;
goto IL_0070;
}
IL_02c0:
{
V_10 = 1;
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_135 = V_0;
if (L_135)
{
goto IL_02cf;
}
}
IL_02c6:
{
int32_t L_136 = ___end2;
int32_t L_137 = V_3;
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_138 = (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)SZArrayNew(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var, (uint32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_136, (int32_t)L_137)));
V_0 = L_138;
}
IL_02cf:
{
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_139 = V_0;
Il2CppChar L_140 = V_9;
NullCheck(L_139);
(L_139)->SetAt(static_cast<il2cpp_array_size_t>(0), (uint8_t)((int32_t)((uint8_t)L_140)));
int32_t L_141 = V_3;
V_3 = ((int32_t)il2cpp_codegen_add((int32_t)L_141, (int32_t)3));
goto IL_032a;
}
IL_02db:
{
Il2CppChar* L_142 = ___pStr0;
int32_t L_143 = V_3;
int32_t L_144 = *((uint16_t*)((Il2CppChar*)il2cpp_codegen_add((intptr_t)L_142, (intptr_t)((intptr_t)il2cpp_codegen_multiply((intptr_t)((intptr_t)L_143), (int32_t)2)))));
int32_t L_145 = L_144;
V_9 = L_145;
if ((!(((uint32_t)L_145) == ((uint32_t)((int32_t)37)))))
{
goto IL_032e;
}
}
IL_02e9:
{
int32_t L_146 = V_3;
int32_t L_147 = ___end2;
if ((((int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_146, (int32_t)2))) >= ((int32_t)L_147)))
{
goto IL_032e;
}
}
IL_02ef:
{
Il2CppChar* L_148 = ___pStr0;
int32_t L_149 = V_3;
int32_t L_150 = *((uint16_t*)((Il2CppChar*)il2cpp_codegen_add((intptr_t)L_148, (intptr_t)((intptr_t)il2cpp_codegen_multiply((intptr_t)((intptr_t)((int32_t)il2cpp_codegen_add((int32_t)L_149, (int32_t)1))), (int32_t)2)))));
Il2CppChar* L_151 = ___pStr0;
int32_t L_152 = V_3;
int32_t L_153 = *((uint16_t*)((Il2CppChar*)il2cpp_codegen_add((intptr_t)L_151, (intptr_t)((intptr_t)il2cpp_codegen_multiply((intptr_t)((intptr_t)((int32_t)il2cpp_codegen_add((int32_t)L_152, (int32_t)2))), (int32_t)2)))));
IL2CPP_RUNTIME_CLASS_INIT(UriHelper_tBEFC75B3A4E9E35CB41ADAAE22E0D1D7EE65E53D_il2cpp_TypeInfo_var);
Il2CppChar L_154;
L_154 = UriHelper_EscapedAscii_m80D926F5C8B177B5D041BBFEADEAB2363A324461(L_150, L_153, /*hidden argument*/NULL);
V_9 = L_154;
Il2CppChar L_155 = V_9;
if ((((int32_t)L_155) == ((int32_t)((int32_t)65535))))
{
goto IL_032e;
}
}
IL_0311:
{
Il2CppChar L_156 = V_9;
if ((((int32_t)L_156) < ((int32_t)((int32_t)128))))
{
goto IL_032e;
}
}
IL_031a:
{
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_157 = V_0;
int32_t L_158 = V_10;
int32_t L_159 = L_158;
V_10 = ((int32_t)il2cpp_codegen_add((int32_t)L_159, (int32_t)1));
Il2CppChar L_160 = V_9;
NullCheck(L_157);
(L_157)->SetAt(static_cast<il2cpp_array_size_t>(L_159), (uint8_t)((int32_t)((uint8_t)L_160)));
int32_t L_161 = V_3;
V_3 = ((int32_t)il2cpp_codegen_add((int32_t)L_161, (int32_t)3));
}
IL_032a:
{
int32_t L_162 = V_3;
int32_t L_163 = ___end2;
if ((((int32_t)L_162) < ((int32_t)L_163)))
{
goto IL_02db;
}
}
IL_032e:
{
Encoding_tE901442411E2E70039D2A4AE77FB81C3D6064827 * L_164;
L_164 = Encoding_get_UTF8_mC877FB3137BBD566AEE7B15F9BF61DC4EF8F5E5E(/*hidden argument*/NULL);
NullCheck(L_164);
RuntimeObject * L_165;
L_165 = VirtFuncInvoker0< RuntimeObject * >::Invoke(8 /* System.Object System.Text.Encoding::Clone() */, L_164);
Encoding_tE901442411E2E70039D2A4AE77FB81C3D6064827 * L_166 = ((Encoding_tE901442411E2E70039D2A4AE77FB81C3D6064827 *)CastclassClass((RuntimeObject*)L_165, Encoding_tE901442411E2E70039D2A4AE77FB81C3D6064827_il2cpp_TypeInfo_var));
EncoderReplacementFallback_t61E36A507D7FA8034B49F86DBE560EC77A6A8418 * L_167 = (EncoderReplacementFallback_t61E36A507D7FA8034B49F86DBE560EC77A6A8418 *)il2cpp_codegen_object_new(EncoderReplacementFallback_t61E36A507D7FA8034B49F86DBE560EC77A6A8418_il2cpp_TypeInfo_var);
EncoderReplacementFallback__ctor_m07299910DC3D3F6B9F8F37A4ADD40A500F97D1D4(L_167, _stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709, /*hidden argument*/NULL);
NullCheck(L_166);
Encoding_set_EncoderFallback_m75BA39C6302BD7EFBB4A48B02C406A14789B244A(L_166, L_167, /*hidden argument*/NULL);
Encoding_tE901442411E2E70039D2A4AE77FB81C3D6064827 * L_168 = L_166;
DecoderReplacementFallback_t8DA345EC4EF3A35A2667365F691EE69408A62130 * L_169 = (DecoderReplacementFallback_t8DA345EC4EF3A35A2667365F691EE69408A62130 *)il2cpp_codegen_object_new(DecoderReplacementFallback_t8DA345EC4EF3A35A2667365F691EE69408A62130_il2cpp_TypeInfo_var);
DecoderReplacementFallback__ctor_m7E6C273B2682E373C787568EB0BB0B2E4B6C2253(L_169, _stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709, /*hidden argument*/NULL);
NullCheck(L_168);
Encoding_set_DecoderFallback_m771EA02DA99D57E19B6FC48E8C3A46F8A6D4CBB8(L_168, L_169, /*hidden argument*/NULL);
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_170 = V_0;
NullCheck(L_170);
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* L_171 = (CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34*)(CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34*)SZArrayNew(CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34_il2cpp_TypeInfo_var, (uint32_t)((int32_t)((int32_t)(((RuntimeArray*)L_170)->max_length))));
V_11 = L_171;
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_172 = V_0;
int32_t L_173 = V_10;
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* L_174 = V_11;
NullCheck(L_168);
int32_t L_175;
L_175 = VirtFuncInvoker5< int32_t, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*, int32_t, int32_t, CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34*, int32_t >::Invoke(23 /* System.Int32 System.Text.Encoding::GetChars(System.Byte[],System.Int32,System.Int32,System.Char[],System.Int32) */, L_168, L_172, 0, L_173, L_174, 0);
V_12 = L_175;
int32_t L_176 = V_3;
___start1 = L_176;
Il2CppChar* L_177 = V_5;
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* L_178 = ___dest3;
int32_t* L_179 = ___destPosition4;
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* L_180 = V_11;
int32_t L_181 = V_12;
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_182 = V_0;
int32_t L_183 = V_10;
bool L_184 = ___isQuery10;
bool L_185 = V_4;
IL2CPP_RUNTIME_CLASS_INIT(UriHelper_tBEFC75B3A4E9E35CB41ADAAE22E0D1D7EE65E53D_il2cpp_TypeInfo_var);
UriHelper_MatchUTF8Sequence_m4A148931E07097731DC7EA68EAA933E9330BE81B((Il2CppChar*)(Il2CppChar*)L_177, L_178, (int32_t*)L_179, L_180, L_181, L_182, L_183, L_184, L_185, /*hidden argument*/NULL);
}
IL_038d:
{
int32_t L_186 = V_3;
int32_t L_187 = ___end2;
if ((!(((uint32_t)L_186) == ((uint32_t)L_187))))
{
goto IL_0070;
}
}
IL_0394:
{
IL2CPP_LEAVE(0x39A, FINALLY_0396);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0396;
}
FINALLY_0396:
{ // begin finally (depth: 1)
V_6 = (CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34*)NULL;
IL2CPP_END_FINALLY(918)
} // end finally (depth: 1)
IL2CPP_CLEANUP(918)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0x39C, IL_039c)
IL2CPP_JUMP_TBL(0x1D, IL_001d)
IL2CPP_JUMP_TBL(0x39A, IL_039a)
}
IL_039a:
{
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* L_188 = ___dest3;
return L_188;
}
IL_039c:
{
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* L_189 = V_8;
return L_189;
}
}
// System.Void System.UriHelper::MatchUTF8Sequence(System.Char*,System.Char[],System.Int32&,System.Char[],System.Int32,System.Byte[],System.Int32,System.Boolean,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void UriHelper_MatchUTF8Sequence_m4A148931E07097731DC7EA68EAA933E9330BE81B (Il2CppChar* ___pDest0, CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* ___dest1, int32_t* ___destOffset2, CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* ___unescapedChars3, int32_t ___charCount4, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___bytes5, int32_t ___byteCount6, bool ___isQuery7, bool ___iriParsing8, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Char_tFF60D8E7E89A20BE2294A003734341BD1DF43E14_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&UriHelper_tBEFC75B3A4E9E35CB41ADAAE22E0D1D7EE65E53D_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Uri_t4A915E1CC15B2C650F478099AD448E9466CBF612_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
Il2CppChar* V_1 = NULL;
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* V_2 = NULL;
int32_t V_3 = 0;
bool V_4 = false;
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_5 = NULL;
int32_t V_6 = 0;
bool V_7 = false;
bool V_8 = false;
bool V_9 = false;
int32_t V_10 = 0;
int32_t V_11 = 0;
int32_t V_12 = 0;
int32_t V_13 = 0;
int32_t G_B7_0 = 0;
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* G_B7_1 = NULL;
Encoding_tE901442411E2E70039D2A4AE77FB81C3D6064827 * G_B7_2 = NULL;
int32_t G_B6_0 = 0;
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* G_B6_1 = NULL;
Encoding_tE901442411E2E70039D2A4AE77FB81C3D6064827 * G_B6_2 = NULL;
int32_t G_B8_0 = 0;
int32_t G_B8_1 = 0;
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* G_B8_2 = NULL;
Encoding_tE901442411E2E70039D2A4AE77FB81C3D6064827 * G_B8_3 = NULL;
{
V_0 = 0;
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* L_0 = ___unescapedChars3;
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* L_1 = L_0;
V_2 = L_1;
if (!L_1)
{
goto IL_000c;
}
}
{
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* L_2 = V_2;
NullCheck(L_2);
if (((int32_t)((int32_t)(((RuntimeArray*)L_2)->max_length))))
{
goto IL_0011;
}
}
IL_000c:
{
V_1 = (Il2CppChar*)((uintptr_t)0);
goto IL_001a;
}
IL_0011:
{
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* L_3 = V_2;
NullCheck(L_3);
V_1 = (Il2CppChar*)((uintptr_t)((L_3)->GetAddressAt(static_cast<il2cpp_array_size_t>(0))));
}
IL_001a:
{
V_3 = 0;
goto IL_01aa;
}
IL_0021:
{
Il2CppChar* L_4 = V_1;
int32_t L_5 = V_3;
int32_t L_6 = *((uint16_t*)((Il2CppChar*)il2cpp_codegen_add((intptr_t)L_4, (intptr_t)((intptr_t)il2cpp_codegen_multiply((intptr_t)((intptr_t)L_5), (int32_t)2)))));
IL2CPP_RUNTIME_CLASS_INIT(Char_tFF60D8E7E89A20BE2294A003734341BD1DF43E14_il2cpp_TypeInfo_var);
bool L_7;
L_7 = Char_IsHighSurrogate_m7BECD1C98C902946F069D8936F8A557F1F7DFF01(L_6, /*hidden argument*/NULL);
V_4 = L_7;
Encoding_tE901442411E2E70039D2A4AE77FB81C3D6064827 * L_8;
L_8 = Encoding_get_UTF8_mC877FB3137BBD566AEE7B15F9BF61DC4EF8F5E5E(/*hidden argument*/NULL);
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* L_9 = ___unescapedChars3;
int32_t L_10 = V_3;
bool L_11 = V_4;
G_B6_0 = L_10;
G_B6_1 = L_9;
G_B6_2 = L_8;
if (L_11)
{
G_B7_0 = L_10;
G_B7_1 = L_9;
G_B7_2 = L_8;
goto IL_003d;
}
}
{
G_B8_0 = 1;
G_B8_1 = G_B6_0;
G_B8_2 = G_B6_1;
G_B8_3 = G_B6_2;
goto IL_003e;
}
IL_003d:
{
G_B8_0 = 2;
G_B8_1 = G_B7_0;
G_B8_2 = G_B7_1;
G_B8_3 = G_B7_2;
}
IL_003e:
{
NullCheck(G_B8_3);
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_12;
L_12 = VirtFuncInvoker3< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*, CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34*, int32_t, int32_t >::Invoke(13 /* System.Byte[] System.Text.Encoding::GetBytes(System.Char[],System.Int32,System.Int32) */, G_B8_3, G_B8_2, G_B8_1, G_B8_0);
V_5 = L_12;
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_13 = V_5;
NullCheck(L_13);
V_6 = ((int32_t)((int32_t)(((RuntimeArray*)L_13)->max_length)));
V_7 = (bool)0;
bool L_14 = ___iriParsing8;
if (!L_14)
{
goto IL_008b;
}
}
{
bool L_15 = V_4;
if (L_15)
{
goto IL_0064;
}
}
{
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* L_16 = ___unescapedChars3;
int32_t L_17 = V_3;
NullCheck(L_16);
int32_t L_18 = L_17;
uint16_t L_19 = (uint16_t)(L_16)->GetAt(static_cast<il2cpp_array_size_t>(L_18));
bool L_20 = ___isQuery7;
bool L_21;
L_21 = IriHelper_CheckIriUnicodeRange_m5E205B2F096045DE5259E0E98A062DD0813206F6(L_19, L_20, /*hidden argument*/NULL);
V_7 = L_21;
goto IL_008b;
}
IL_0064:
{
V_8 = (bool)0;
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* L_22 = ___unescapedChars3;
int32_t L_23 = V_3;
NullCheck(L_22);
int32_t L_24 = L_23;
uint16_t L_25 = (uint16_t)(L_22)->GetAt(static_cast<il2cpp_array_size_t>(L_24));
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* L_26 = ___unescapedChars3;
int32_t L_27 = V_3;
NullCheck(L_26);
int32_t L_28 = ((int32_t)il2cpp_codegen_add((int32_t)L_27, (int32_t)1));
uint16_t L_29 = (uint16_t)(L_26)->GetAt(static_cast<il2cpp_array_size_t>(L_28));
bool L_30 = ___isQuery7;
bool L_31;
L_31 = IriHelper_CheckIriUnicodeRange_m03144D55C396E2870F76F85B29852F8314346A1A(L_25, L_29, (bool*)(&V_8), L_30, /*hidden argument*/NULL);
V_7 = L_31;
goto IL_008b;
}
IL_007c:
{
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_32 = ___bytes5;
int32_t L_33 = V_0;
int32_t L_34 = L_33;
V_0 = ((int32_t)il2cpp_codegen_add((int32_t)L_34, (int32_t)1));
NullCheck(L_32);
int32_t L_35 = L_34;
uint8_t L_36 = (L_32)->GetAt(static_cast<il2cpp_array_size_t>(L_35));
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* L_37 = ___dest1;
int32_t* L_38 = ___destOffset2;
IL2CPP_RUNTIME_CLASS_INIT(UriHelper_tBEFC75B3A4E9E35CB41ADAAE22E0D1D7EE65E53D_il2cpp_TypeInfo_var);
UriHelper_EscapeAsciiChar_m7590A6410A9F1AE1207006EF9B46578E1A3DFD33(L_36, L_37, (int32_t*)L_38, /*hidden argument*/NULL);
}
IL_008b:
{
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_39 = ___bytes5;
int32_t L_40 = V_0;
NullCheck(L_39);
int32_t L_41 = L_40;
uint8_t L_42 = (L_39)->GetAt(static_cast<il2cpp_array_size_t>(L_41));
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_43 = V_5;
NullCheck(L_43);
int32_t L_44 = 0;
uint8_t L_45 = (L_43)->GetAt(static_cast<il2cpp_array_size_t>(L_44));
if ((!(((uint32_t)L_42) == ((uint32_t)L_45))))
{
goto IL_007c;
}
}
{
V_9 = (bool)1;
V_10 = 0;
goto IL_00b6;
}
IL_009d:
{
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_46 = ___bytes5;
int32_t L_47 = V_0;
int32_t L_48 = V_10;
NullCheck(L_46);
int32_t L_49 = ((int32_t)il2cpp_codegen_add((int32_t)L_47, (int32_t)L_48));
uint8_t L_50 = (L_46)->GetAt(static_cast<il2cpp_array_size_t>(L_49));
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_51 = V_5;
int32_t L_52 = V_10;
NullCheck(L_51);
int32_t L_53 = L_52;
uint8_t L_54 = (L_51)->GetAt(static_cast<il2cpp_array_size_t>(L_53));
if ((((int32_t)L_50) == ((int32_t)L_54)))
{
goto IL_00b0;
}
}
{
V_9 = (bool)0;
goto IL_00bc;
}
IL_00b0:
{
int32_t L_55 = V_10;
V_10 = ((int32_t)il2cpp_codegen_add((int32_t)L_55, (int32_t)1));
}
IL_00b6:
{
int32_t L_56 = V_10;
int32_t L_57 = V_6;
if ((((int32_t)L_56) < ((int32_t)L_57)))
{
goto IL_009d;
}
}
IL_00bc:
{
bool L_58 = V_9;
if (!L_58)
{
goto IL_0179;
}
}
{
int32_t L_59 = V_0;
int32_t L_60 = V_6;
V_0 = ((int32_t)il2cpp_codegen_add((int32_t)L_59, (int32_t)L_60));
bool L_61 = ___iriParsing8;
if (!L_61)
{
goto IL_013f;
}
}
{
bool L_62 = V_7;
if (L_62)
{
goto IL_00f4;
}
}
{
V_11 = 0;
goto IL_00e7;
}
IL_00d5:
{
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_63 = V_5;
int32_t L_64 = V_11;
NullCheck(L_63);
int32_t L_65 = L_64;
uint8_t L_66 = (L_63)->GetAt(static_cast<il2cpp_array_size_t>(L_65));
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* L_67 = ___dest1;
int32_t* L_68 = ___destOffset2;
IL2CPP_RUNTIME_CLASS_INIT(UriHelper_tBEFC75B3A4E9E35CB41ADAAE22E0D1D7EE65E53D_il2cpp_TypeInfo_var);
UriHelper_EscapeAsciiChar_m7590A6410A9F1AE1207006EF9B46578E1A3DFD33(L_66, L_67, (int32_t*)L_68, /*hidden argument*/NULL);
int32_t L_69 = V_11;
V_11 = ((int32_t)il2cpp_codegen_add((int32_t)L_69, (int32_t)1));
}
IL_00e7:
{
int32_t L_70 = V_11;
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_71 = V_5;
NullCheck(L_71);
if ((((int32_t)L_70) < ((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_71)->max_length))))))
{
goto IL_00d5;
}
}
{
goto IL_019e;
}
IL_00f4:
{
Il2CppChar* L_72 = V_1;
int32_t L_73 = V_3;
int32_t L_74 = *((uint16_t*)((Il2CppChar*)il2cpp_codegen_add((intptr_t)L_72, (intptr_t)((intptr_t)il2cpp_codegen_multiply((intptr_t)((intptr_t)L_73), (int32_t)2)))));
IL2CPP_RUNTIME_CLASS_INIT(Uri_t4A915E1CC15B2C650F478099AD448E9466CBF612_il2cpp_TypeInfo_var);
bool L_75;
L_75 = Uri_IsBidiControlCharacter_m36A30E0708EE0209208B23136C2BEC9C802C697B(L_74, /*hidden argument*/NULL);
if (L_75)
{
goto IL_019e;
}
}
{
Il2CppChar* L_76 = ___pDest0;
int32_t* L_77 = ___destOffset2;
int32_t* L_78 = ___destOffset2;
int32_t L_79 = *((int32_t*)L_78);
V_12 = L_79;
int32_t L_80 = V_12;
*((int32_t*)L_77) = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_80, (int32_t)1));
int32_t L_81 = V_12;
Il2CppChar* L_82 = V_1;
int32_t L_83 = V_3;
int32_t L_84 = *((uint16_t*)((Il2CppChar*)il2cpp_codegen_add((intptr_t)L_82, (intptr_t)((intptr_t)il2cpp_codegen_multiply((intptr_t)((intptr_t)L_83), (int32_t)2)))));
*((int16_t*)((Il2CppChar*)il2cpp_codegen_add((intptr_t)L_76, (intptr_t)((intptr_t)il2cpp_codegen_multiply((intptr_t)((intptr_t)L_81), (int32_t)2))))) = (int16_t)L_84;
bool L_85 = V_4;
if (!L_85)
{
goto IL_019e;
}
}
{
Il2CppChar* L_86 = ___pDest0;
int32_t* L_87 = ___destOffset2;
int32_t* L_88 = ___destOffset2;
int32_t L_89 = *((int32_t*)L_88);
V_12 = L_89;
int32_t L_90 = V_12;
*((int32_t*)L_87) = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_90, (int32_t)1));
int32_t L_91 = V_12;
Il2CppChar* L_92 = V_1;
int32_t L_93 = V_3;
int32_t L_94 = *((uint16_t*)((Il2CppChar*)il2cpp_codegen_add((intptr_t)L_92, (intptr_t)((intptr_t)il2cpp_codegen_multiply((intptr_t)((intptr_t)((int32_t)il2cpp_codegen_add((int32_t)L_93, (int32_t)1))), (int32_t)2)))));
*((int16_t*)((Il2CppChar*)il2cpp_codegen_add((intptr_t)L_86, (intptr_t)((intptr_t)il2cpp_codegen_multiply((intptr_t)((intptr_t)L_91), (int32_t)2))))) = (int16_t)L_94;
goto IL_019e;
}
IL_013f:
{
Il2CppChar* L_95 = ___pDest0;
int32_t* L_96 = ___destOffset2;
int32_t* L_97 = ___destOffset2;
int32_t L_98 = *((int32_t*)L_97);
V_12 = L_98;
int32_t L_99 = V_12;
*((int32_t*)L_96) = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_99, (int32_t)1));
int32_t L_100 = V_12;
Il2CppChar* L_101 = V_1;
int32_t L_102 = V_3;
int32_t L_103 = *((uint16_t*)((Il2CppChar*)il2cpp_codegen_add((intptr_t)L_101, (intptr_t)((intptr_t)il2cpp_codegen_multiply((intptr_t)((intptr_t)L_102), (int32_t)2)))));
*((int16_t*)((Il2CppChar*)il2cpp_codegen_add((intptr_t)L_95, (intptr_t)((intptr_t)il2cpp_codegen_multiply((intptr_t)((intptr_t)L_100), (int32_t)2))))) = (int16_t)L_103;
bool L_104 = V_4;
if (!L_104)
{
goto IL_019e;
}
}
{
Il2CppChar* L_105 = ___pDest0;
int32_t* L_106 = ___destOffset2;
int32_t* L_107 = ___destOffset2;
int32_t L_108 = *((int32_t*)L_107);
V_12 = L_108;
int32_t L_109 = V_12;
*((int32_t*)L_106) = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_109, (int32_t)1));
int32_t L_110 = V_12;
Il2CppChar* L_111 = V_1;
int32_t L_112 = V_3;
int32_t L_113 = *((uint16_t*)((Il2CppChar*)il2cpp_codegen_add((intptr_t)L_111, (intptr_t)((intptr_t)il2cpp_codegen_multiply((intptr_t)((intptr_t)((int32_t)il2cpp_codegen_add((int32_t)L_112, (int32_t)1))), (int32_t)2)))));
*((int16_t*)((Il2CppChar*)il2cpp_codegen_add((intptr_t)L_105, (intptr_t)((intptr_t)il2cpp_codegen_multiply((intptr_t)((intptr_t)L_110), (int32_t)2))))) = (int16_t)L_113;
goto IL_019e;
}
IL_0179:
{
V_13 = 0;
goto IL_0193;
}
IL_017e:
{
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_114 = ___bytes5;
int32_t L_115 = V_0;
int32_t L_116 = L_115;
V_0 = ((int32_t)il2cpp_codegen_add((int32_t)L_116, (int32_t)1));
NullCheck(L_114);
int32_t L_117 = L_116;
uint8_t L_118 = (L_114)->GetAt(static_cast<il2cpp_array_size_t>(L_117));
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* L_119 = ___dest1;
int32_t* L_120 = ___destOffset2;
IL2CPP_RUNTIME_CLASS_INIT(UriHelper_tBEFC75B3A4E9E35CB41ADAAE22E0D1D7EE65E53D_il2cpp_TypeInfo_var);
UriHelper_EscapeAsciiChar_m7590A6410A9F1AE1207006EF9B46578E1A3DFD33(L_118, L_119, (int32_t*)L_120, /*hidden argument*/NULL);
int32_t L_121 = V_13;
V_13 = ((int32_t)il2cpp_codegen_add((int32_t)L_121, (int32_t)1));
}
IL_0193:
{
int32_t L_122 = V_13;
int32_t L_123 = V_10;
if ((((int32_t)L_122) < ((int32_t)L_123)))
{
goto IL_017e;
}
}
{
goto IL_008b;
}
IL_019e:
{
bool L_124 = V_4;
if (!L_124)
{
goto IL_01a6;
}
}
{
int32_t L_125 = V_3;
V_3 = ((int32_t)il2cpp_codegen_add((int32_t)L_125, (int32_t)1));
}
IL_01a6:
{
int32_t L_126 = V_3;
V_3 = ((int32_t)il2cpp_codegen_add((int32_t)L_126, (int32_t)1));
}
IL_01aa:
{
int32_t L_127 = V_3;
int32_t L_128 = ___charCount4;
if ((((int32_t)L_127) < ((int32_t)L_128)))
{
goto IL_0021;
}
}
{
V_2 = (CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34*)NULL;
goto IL_01c5;
}
IL_01b6:
{
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_129 = ___bytes5;
int32_t L_130 = V_0;
int32_t L_131 = L_130;
V_0 = ((int32_t)il2cpp_codegen_add((int32_t)L_131, (int32_t)1));
NullCheck(L_129);
int32_t L_132 = L_131;
uint8_t L_133 = (L_129)->GetAt(static_cast<il2cpp_array_size_t>(L_132));
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* L_134 = ___dest1;
int32_t* L_135 = ___destOffset2;
IL2CPP_RUNTIME_CLASS_INIT(UriHelper_tBEFC75B3A4E9E35CB41ADAAE22E0D1D7EE65E53D_il2cpp_TypeInfo_var);
UriHelper_EscapeAsciiChar_m7590A6410A9F1AE1207006EF9B46578E1A3DFD33(L_133, L_134, (int32_t*)L_135, /*hidden argument*/NULL);
}
IL_01c5:
{
int32_t L_136 = V_0;
int32_t L_137 = ___byteCount6;
if ((((int32_t)L_136) < ((int32_t)L_137)))
{
goto IL_01b6;
}
}
{
return;
}
}
// System.Void System.UriHelper::EscapeAsciiChar(System.Char,System.Char[],System.Int32&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void UriHelper_EscapeAsciiChar_m7590A6410A9F1AE1207006EF9B46578E1A3DFD33 (Il2CppChar ___ch0, CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* ___to1, int32_t* ___pos2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&UriHelper_tBEFC75B3A4E9E35CB41ADAAE22E0D1D7EE65E53D_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
{
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* L_0 = ___to1;
int32_t* L_1 = ___pos2;
int32_t* L_2 = ___pos2;
int32_t L_3 = *((int32_t*)L_2);
V_0 = L_3;
int32_t L_4 = V_0;
*((int32_t*)L_1) = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_4, (int32_t)1));
int32_t L_5 = V_0;
NullCheck(L_0);
(L_0)->SetAt(static_cast<il2cpp_array_size_t>(L_5), (Il2CppChar)((int32_t)37));
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* L_6 = ___to1;
int32_t* L_7 = ___pos2;
int32_t* L_8 = ___pos2;
int32_t L_9 = *((int32_t*)L_8);
V_0 = L_9;
int32_t L_10 = V_0;
*((int32_t*)L_7) = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_10, (int32_t)1));
int32_t L_11 = V_0;
IL2CPP_RUNTIME_CLASS_INIT(UriHelper_tBEFC75B3A4E9E35CB41ADAAE22E0D1D7EE65E53D_il2cpp_TypeInfo_var);
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* L_12 = ((UriHelper_tBEFC75B3A4E9E35CB41ADAAE22E0D1D7EE65E53D_StaticFields*)il2cpp_codegen_static_fields_for(UriHelper_tBEFC75B3A4E9E35CB41ADAAE22E0D1D7EE65E53D_il2cpp_TypeInfo_var))->get_HexUpperChars_0();
Il2CppChar L_13 = ___ch0;
NullCheck(L_12);
int32_t L_14 = ((int32_t)((int32_t)((int32_t)((int32_t)L_13&(int32_t)((int32_t)240)))>>(int32_t)4));
uint16_t L_15 = (uint16_t)(L_12)->GetAt(static_cast<il2cpp_array_size_t>(L_14));
NullCheck(L_6);
(L_6)->SetAt(static_cast<il2cpp_array_size_t>(L_11), (Il2CppChar)L_15);
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* L_16 = ___to1;
int32_t* L_17 = ___pos2;
int32_t* L_18 = ___pos2;
int32_t L_19 = *((int32_t*)L_18);
V_0 = L_19;
int32_t L_20 = V_0;
*((int32_t*)L_17) = (int32_t)((int32_t)il2cpp_codegen_add((int32_t)L_20, (int32_t)1));
int32_t L_21 = V_0;
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* L_22 = ((UriHelper_tBEFC75B3A4E9E35CB41ADAAE22E0D1D7EE65E53D_StaticFields*)il2cpp_codegen_static_fields_for(UriHelper_tBEFC75B3A4E9E35CB41ADAAE22E0D1D7EE65E53D_il2cpp_TypeInfo_var))->get_HexUpperChars_0();
Il2CppChar L_23 = ___ch0;
NullCheck(L_22);
int32_t L_24 = ((int32_t)((int32_t)L_23&(int32_t)((int32_t)15)));
uint16_t L_25 = (uint16_t)(L_22)->GetAt(static_cast<il2cpp_array_size_t>(L_24));
NullCheck(L_16);
(L_16)->SetAt(static_cast<il2cpp_array_size_t>(L_21), (Il2CppChar)L_25);
return;
}
}
// System.Char System.UriHelper::EscapedAscii(System.Char,System.Char)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Il2CppChar UriHelper_EscapedAscii_m80D926F5C8B177B5D041BBFEADEAB2363A324461 (Il2CppChar ___digit0, Il2CppChar ___next1, const RuntimeMethod* method)
{
int32_t V_0 = 0;
int32_t G_B11_0 = 0;
int32_t G_B13_0 = 0;
int32_t G_B25_0 = 0;
int32_t G_B21_0 = 0;
int32_t G_B23_0 = 0;
int32_t G_B22_0 = 0;
int32_t G_B24_0 = 0;
int32_t G_B24_1 = 0;
int32_t G_B26_0 = 0;
int32_t G_B26_1 = 0;
{
Il2CppChar L_0 = ___digit0;
if ((((int32_t)L_0) < ((int32_t)((int32_t)48))))
{
goto IL_000a;
}
}
{
Il2CppChar L_1 = ___digit0;
if ((((int32_t)L_1) <= ((int32_t)((int32_t)57))))
{
goto IL_0024;
}
}
IL_000a:
{
Il2CppChar L_2 = ___digit0;
if ((((int32_t)L_2) < ((int32_t)((int32_t)65))))
{
goto IL_0014;
}
}
{
Il2CppChar L_3 = ___digit0;
if ((((int32_t)L_3) <= ((int32_t)((int32_t)70))))
{
goto IL_0024;
}
}
IL_0014:
{
Il2CppChar L_4 = ___digit0;
if ((((int32_t)L_4) < ((int32_t)((int32_t)97))))
{
goto IL_001e;
}
}
{
Il2CppChar L_5 = ___digit0;
if ((((int32_t)L_5) <= ((int32_t)((int32_t)102))))
{
goto IL_0024;
}
}
IL_001e:
{
return ((int32_t)65535);
}
IL_0024:
{
Il2CppChar L_6 = ___digit0;
if ((((int32_t)L_6) <= ((int32_t)((int32_t)57))))
{
goto IL_003d;
}
}
{
Il2CppChar L_7 = ___digit0;
if ((((int32_t)L_7) <= ((int32_t)((int32_t)70))))
{
goto IL_0034;
}
}
{
Il2CppChar L_8 = ___digit0;
G_B11_0 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_8, (int32_t)((int32_t)97)));
goto IL_0038;
}
IL_0034:
{
Il2CppChar L_9 = ___digit0;
G_B11_0 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_9, (int32_t)((int32_t)65)));
}
IL_0038:
{
G_B13_0 = ((int32_t)il2cpp_codegen_add((int32_t)G_B11_0, (int32_t)((int32_t)10)));
goto IL_0041;
}
IL_003d:
{
Il2CppChar L_10 = ___digit0;
G_B13_0 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_10, (int32_t)((int32_t)48)));
}
IL_0041:
{
V_0 = G_B13_0;
Il2CppChar L_11 = ___next1;
if ((((int32_t)L_11) < ((int32_t)((int32_t)48))))
{
goto IL_004c;
}
}
{
Il2CppChar L_12 = ___next1;
if ((((int32_t)L_12) <= ((int32_t)((int32_t)57))))
{
goto IL_0066;
}
}
IL_004c:
{
Il2CppChar L_13 = ___next1;
if ((((int32_t)L_13) < ((int32_t)((int32_t)65))))
{
goto IL_0056;
}
}
{
Il2CppChar L_14 = ___next1;
if ((((int32_t)L_14) <= ((int32_t)((int32_t)70))))
{
goto IL_0066;
}
}
IL_0056:
{
Il2CppChar L_15 = ___next1;
if ((((int32_t)L_15) < ((int32_t)((int32_t)97))))
{
goto IL_0060;
}
}
{
Il2CppChar L_16 = ___next1;
if ((((int32_t)L_16) <= ((int32_t)((int32_t)102))))
{
goto IL_0066;
}
}
IL_0060:
{
return ((int32_t)65535);
}
IL_0066:
{
int32_t L_17 = V_0;
Il2CppChar L_18 = ___next1;
G_B21_0 = ((int32_t)((int32_t)L_17<<(int32_t)4));
if ((((int32_t)L_18) <= ((int32_t)((int32_t)57))))
{
G_B25_0 = ((int32_t)((int32_t)L_17<<(int32_t)4));
goto IL_0082;
}
}
{
Il2CppChar L_19 = ___next1;
G_B22_0 = G_B21_0;
if ((((int32_t)L_19) <= ((int32_t)((int32_t)70))))
{
G_B23_0 = G_B21_0;
goto IL_0079;
}
}
{
Il2CppChar L_20 = ___next1;
G_B24_0 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_20, (int32_t)((int32_t)97)));
G_B24_1 = G_B22_0;
goto IL_007d;
}
IL_0079:
{
Il2CppChar L_21 = ___next1;
G_B24_0 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_21, (int32_t)((int32_t)65)));
G_B24_1 = G_B23_0;
}
IL_007d:
{
G_B26_0 = ((int32_t)il2cpp_codegen_add((int32_t)G_B24_0, (int32_t)((int32_t)10)));
G_B26_1 = G_B24_1;
goto IL_0086;
}
IL_0082:
{
Il2CppChar L_22 = ___next1;
G_B26_0 = ((int32_t)il2cpp_codegen_subtract((int32_t)L_22, (int32_t)((int32_t)48)));
G_B26_1 = G_B25_0;
}
IL_0086:
{
return ((int32_t)((uint16_t)((int32_t)il2cpp_codegen_add((int32_t)G_B26_1, (int32_t)G_B26_0))));
}
}
// System.Boolean System.UriHelper::IsNotSafeForUnescape(System.Char)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool UriHelper_IsNotSafeForUnescape_m5504A36A2CC19ABC23255896A98D9912D390107F (Il2CppChar ___ch0, const RuntimeMethod* method)
{
{
Il2CppChar L_0 = ___ch0;
if ((((int32_t)L_0) <= ((int32_t)((int32_t)31))))
{
goto IL_0012;
}
}
{
Il2CppChar L_1 = ___ch0;
if ((((int32_t)L_1) < ((int32_t)((int32_t)127))))
{
goto IL_0014;
}
}
{
Il2CppChar L_2 = ___ch0;
if ((((int32_t)L_2) > ((int32_t)((int32_t)159))))
{
goto IL_0014;
}
}
IL_0012:
{
return (bool)1;
}
IL_0014:
{
Il2CppChar L_3 = ___ch0;
if ((((int32_t)L_3) < ((int32_t)((int32_t)59))))
{
goto IL_0025;
}
}
{
Il2CppChar L_4 = ___ch0;
if ((((int32_t)L_4) > ((int32_t)((int32_t)64))))
{
goto IL_0025;
}
}
{
Il2CppChar L_5 = ___ch0;
if ((!(((uint32_t)((int32_t)((int32_t)L_5|(int32_t)2))) == ((uint32_t)((int32_t)62)))))
{
goto IL_0043;
}
}
IL_0025:
{
Il2CppChar L_6 = ___ch0;
if ((((int32_t)L_6) < ((int32_t)((int32_t)35))))
{
goto IL_002f;
}
}
{
Il2CppChar L_7 = ___ch0;
if ((((int32_t)L_7) <= ((int32_t)((int32_t)38))))
{
goto IL_0043;
}
}
IL_002f:
{
Il2CppChar L_8 = ___ch0;
if ((((int32_t)L_8) == ((int32_t)((int32_t)43))))
{
goto IL_0043;
}
}
{
Il2CppChar L_9 = ___ch0;
if ((((int32_t)L_9) == ((int32_t)((int32_t)44))))
{
goto IL_0043;
}
}
{
Il2CppChar L_10 = ___ch0;
if ((((int32_t)L_10) == ((int32_t)((int32_t)47))))
{
goto IL_0043;
}
}
{
Il2CppChar L_11 = ___ch0;
if ((!(((uint32_t)L_11) == ((uint32_t)((int32_t)92)))))
{
goto IL_0045;
}
}
IL_0043:
{
return (bool)1;
}
IL_0045:
{
return (bool)0;
}
}
// System.Boolean System.UriHelper::IsReservedUnreservedOrHash(System.Char)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool UriHelper_IsReservedUnreservedOrHash_m155B0658622E15DED0A384A2E6A6013CE23016D6 (Il2CppChar ___c0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&UriHelper_tBEFC75B3A4E9E35CB41ADAAE22E0D1D7EE65E53D_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral84A0343BF19D2274E807E1B6505C382F81D6E3C9);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralFA1D72164D93990AA279210A8D4332B3E0A6C411);
s_Il2CppMethodInitialized = true;
}
{
Il2CppChar L_0 = ___c0;
IL2CPP_RUNTIME_CLASS_INIT(UriHelper_tBEFC75B3A4E9E35CB41ADAAE22E0D1D7EE65E53D_il2cpp_TypeInfo_var);
bool L_1;
L_1 = UriHelper_IsUnreserved_m6B1C0AA7DEC462F62400ACFC7EFC5807730CD5B1(L_0, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_000a;
}
}
{
return (bool)1;
}
IL_000a:
{
IL2CPP_RUNTIME_CLASS_INIT(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var);
bool L_2;
L_2 = UriParser_get_ShouldUseLegacyV2Quirks_mB8917CAC10CD13E44F2EB21D4033044BEAF132B2(/*hidden argument*/NULL);
if (!L_2)
{
goto IL_0027;
}
}
{
Il2CppChar L_3 = ___c0;
NullCheck(_stringLiteral84A0343BF19D2274E807E1B6505C382F81D6E3C9);
int32_t L_4;
L_4 = String_IndexOf_mEE2D2F738175E3FF05580366D6226DBD673CA2BE(_stringLiteral84A0343BF19D2274E807E1B6505C382F81D6E3C9, L_3, /*hidden argument*/NULL);
if ((((int32_t)L_4) >= ((int32_t)0)))
{
goto IL_0025;
}
}
{
Il2CppChar L_5 = ___c0;
return (bool)((((int32_t)L_5) == ((int32_t)((int32_t)35)))? 1 : 0);
}
IL_0025:
{
return (bool)1;
}
IL_0027:
{
Il2CppChar L_6 = ___c0;
NullCheck(_stringLiteralFA1D72164D93990AA279210A8D4332B3E0A6C411);
int32_t L_7;
L_7 = String_IndexOf_mEE2D2F738175E3FF05580366D6226DBD673CA2BE(_stringLiteralFA1D72164D93990AA279210A8D4332B3E0A6C411, L_6, /*hidden argument*/NULL);
return (bool)((((int32_t)((((int32_t)L_7) < ((int32_t)0))? 1 : 0)) == ((int32_t)0))? 1 : 0);
}
}
// System.Boolean System.UriHelper::IsUnreserved(System.Char)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool UriHelper_IsUnreserved_m6B1C0AA7DEC462F62400ACFC7EFC5807730CD5B1 (Il2CppChar ___c0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Uri_t4A915E1CC15B2C650F478099AD448E9466CBF612_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral70ACDB62BA3184CF43D7E26D62FB85E2340ED892);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral83F837B4325FC4400C4089A21E353D2D0CD0EF29);
s_Il2CppMethodInitialized = true;
}
{
Il2CppChar L_0 = ___c0;
IL2CPP_RUNTIME_CLASS_INIT(Uri_t4A915E1CC15B2C650F478099AD448E9466CBF612_il2cpp_TypeInfo_var);
bool L_1;
L_1 = Uri_IsAsciiLetterOrDigit_m1DDFA9F464FD15F8482F0C669E7E22B20DE07DCA(L_0, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_000a;
}
}
{
return (bool)1;
}
IL_000a:
{
IL2CPP_RUNTIME_CLASS_INIT(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var);
bool L_2;
L_2 = UriParser_get_ShouldUseLegacyV2Quirks_mB8917CAC10CD13E44F2EB21D4033044BEAF132B2(/*hidden argument*/NULL);
if (!L_2)
{
goto IL_0023;
}
}
{
Il2CppChar L_3 = ___c0;
NullCheck(_stringLiteral70ACDB62BA3184CF43D7E26D62FB85E2340ED892);
int32_t L_4;
L_4 = String_IndexOf_mEE2D2F738175E3FF05580366D6226DBD673CA2BE(_stringLiteral70ACDB62BA3184CF43D7E26D62FB85E2340ED892, L_3, /*hidden argument*/NULL);
return (bool)((((int32_t)((((int32_t)L_4) < ((int32_t)0))? 1 : 0)) == ((int32_t)0))? 1 : 0);
}
IL_0023:
{
Il2CppChar L_5 = ___c0;
NullCheck(_stringLiteral83F837B4325FC4400C4089A21E353D2D0CD0EF29);
int32_t L_6;
L_6 = String_IndexOf_mEE2D2F738175E3FF05580366D6226DBD673CA2BE(_stringLiteral83F837B4325FC4400C4089A21E353D2D0CD0EF29, L_5, /*hidden argument*/NULL);
return (bool)((((int32_t)((((int32_t)L_6) < ((int32_t)0))? 1 : 0)) == ((int32_t)0))? 1 : 0);
}
}
// System.Boolean System.UriHelper::Is3986Unreserved(System.Char)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool UriHelper_Is3986Unreserved_m0532DF2A1577C475D0D83F10C6C5D91F125AC028 (Il2CppChar ___c0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Uri_t4A915E1CC15B2C650F478099AD448E9466CBF612_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral83F837B4325FC4400C4089A21E353D2D0CD0EF29);
s_Il2CppMethodInitialized = true;
}
{
Il2CppChar L_0 = ___c0;
IL2CPP_RUNTIME_CLASS_INIT(Uri_t4A915E1CC15B2C650F478099AD448E9466CBF612_il2cpp_TypeInfo_var);
bool L_1;
L_1 = Uri_IsAsciiLetterOrDigit_m1DDFA9F464FD15F8482F0C669E7E22B20DE07DCA(L_0, /*hidden argument*/NULL);
if (!L_1)
{
goto IL_000a;
}
}
{
return (bool)1;
}
IL_000a:
{
Il2CppChar L_2 = ___c0;
NullCheck(_stringLiteral83F837B4325FC4400C4089A21E353D2D0CD0EF29);
int32_t L_3;
L_3 = String_IndexOf_mEE2D2F738175E3FF05580366D6226DBD673CA2BE(_stringLiteral83F837B4325FC4400C4089A21E353D2D0CD0EF29, L_2, /*hidden argument*/NULL);
return (bool)((((int32_t)((((int32_t)L_3) < ((int32_t)0))? 1 : 0)) == ((int32_t)0))? 1 : 0);
}
}
// System.Void System.UriHelper::.cctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void UriHelper__cctor_m3C84C4F90301AB1F9B4979FA9B0C8926D4A7B96D (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CPrivateImplementationDetailsU3E_t1267FAF6E08D720F26ABF676554E6948A7F6A2D0____59F5BD34B6C013DEACC784F69C67E95150033A84_0_FieldInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&UriHelper_tBEFC75B3A4E9E35CB41ADAAE22E0D1D7EE65E53D_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* L_0 = (CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34*)(CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34*)SZArrayNew(CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34_il2cpp_TypeInfo_var, (uint32_t)((int32_t)16));
CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34* L_1 = L_0;
RuntimeFieldHandle_t7BE65FC857501059EBAC9772C93B02CD413D9C96 L_2 = { reinterpret_cast<intptr_t> (U3CPrivateImplementationDetailsU3E_t1267FAF6E08D720F26ABF676554E6948A7F6A2D0____59F5BD34B6C013DEACC784F69C67E95150033A84_0_FieldInfo_var) };
RuntimeHelpers_InitializeArray_mE27238308FED781F2D6A719F0903F2E1311B058F((RuntimeArray *)(RuntimeArray *)L_1, L_2, /*hidden argument*/NULL);
((UriHelper_tBEFC75B3A4E9E35CB41ADAAE22E0D1D7EE65E53D_StaticFields*)il2cpp_codegen_static_fields_for(UriHelper_tBEFC75B3A4E9E35CB41ADAAE22E0D1D7EE65E53D_il2cpp_TypeInfo_var))->set_HexUpperChars_0(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
#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.String System.UriParser::get_SchemeName()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* UriParser_get_SchemeName_mFCD123235673631E05FE9BAF6955A0B43EEEBD80 (UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * __this, const RuntimeMethod* method)
{
{
String_t* L_0 = __this->get_m_Scheme_6();
return L_0;
}
}
// System.Int32 System.UriParser::get_DefaultPort()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t UriParser_get_DefaultPort_m7ECA5BE839D36C7FF854FEA0795D8DE701487D33 (UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = __this->get_m_Port_5();
return L_0;
}
}
// System.UriParser System.UriParser::OnNewUri()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * UriParser_OnNewUri_m44FB81344517268B51B276DF7A9E236C04134ED5 (UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * __this, const RuntimeMethod* method)
{
{
return __this;
}
}
// System.Void System.UriParser::InitializeAndValidate(System.Uri,System.UriFormatException&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void UriParser_InitializeAndValidate_mE7C239F559C834F7C156FC21F175023D98E11A45 (UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * __this, Uri_t4A915E1CC15B2C650F478099AD448E9466CBF612 * ___uri0, UriFormatException_tAA45C6D2264E9E74935A066FC3DF8DF68B37B61D ** ___parsingError1, const RuntimeMethod* method)
{
{
UriFormatException_tAA45C6D2264E9E74935A066FC3DF8DF68B37B61D ** L_0 = ___parsingError1;
Uri_t4A915E1CC15B2C650F478099AD448E9466CBF612 * L_1 = ___uri0;
NullCheck(L_1);
UriFormatException_tAA45C6D2264E9E74935A066FC3DF8DF68B37B61D * L_2;
L_2 = Uri_ParseMinimal_m47FF7ACAEB543DE87332F9DEA79F92ADC575107F(L_1, /*hidden argument*/NULL);
*((RuntimeObject **)L_0) = (RuntimeObject *)L_2;
Il2CppCodeGenWriteBarrier((void**)(RuntimeObject **)L_0, (void*)(RuntimeObject *)L_2);
return;
}
}
// System.String System.UriParser::GetComponents(System.Uri,System.UriComponents,System.UriFormat)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* UriParser_GetComponents_mEF92B7D8CD59B1C8502D195D775D02D2C844FC1B (UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * __this, Uri_t4A915E1CC15B2C650F478099AD448E9466CBF612 * ___uri0, int32_t ___components1, int32_t ___format2, const RuntimeMethod* method)
{
{
int32_t L_0 = ___components1;
if (!((int32_t)((int32_t)L_0&(int32_t)((int32_t)-2147483648LL))))
{
goto IL_002c;
}
}
{
int32_t L_1 = ___components1;
if ((((int32_t)L_1) == ((int32_t)((int32_t)-2147483648LL))))
{
goto IL_002c;
}
}
{
int32_t L_2 = ___components1;
int32_t L_3 = L_2;
RuntimeObject * L_4 = Box(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&UriComponents_tA599793722A9810EC23036FF1B1B02A905B4EA76_il2cpp_TypeInfo_var)), &L_3);
String_t* L_5;
L_5 = SR_GetString_m9DC7F3962EEB239017A1A4C443F52047B5BC7462(((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralE13258345AC5ED7FA38D641004219DBE3A3FB56C)), /*hidden argument*/NULL);
ArgumentOutOfRangeException_tFAF23713820951D4A09ABBFE5CC091E445A6F3D8 * L_6 = (ArgumentOutOfRangeException_tFAF23713820951D4A09ABBFE5CC091E445A6F3D8 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ArgumentOutOfRangeException_tFAF23713820951D4A09ABBFE5CC091E445A6F3D8_il2cpp_TypeInfo_var)));
ArgumentOutOfRangeException__ctor_m7C5B3BE7792B7C73E7D82C4DBAD4ACA2DAE71AA9(L_6, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralF7C03E97995F6950303A46C204A216735E6B4582)), L_4, L_5, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_6, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&UriParser_GetComponents_mEF92B7D8CD59B1C8502D195D775D02D2C844FC1B_RuntimeMethod_var)));
}
IL_002c:
{
int32_t L_7 = ___format2;
if (!((int32_t)((int32_t)L_7&(int32_t)((int32_t)-4))))
{
goto IL_003d;
}
}
{
ArgumentOutOfRangeException_tFAF23713820951D4A09ABBFE5CC091E445A6F3D8 * L_8 = (ArgumentOutOfRangeException_tFAF23713820951D4A09ABBFE5CC091E445A6F3D8 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ArgumentOutOfRangeException_tFAF23713820951D4A09ABBFE5CC091E445A6F3D8_il2cpp_TypeInfo_var)));
ArgumentOutOfRangeException__ctor_m329C2882A4CB69F185E98D0DD7E853AA9220960A(L_8, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral75C9716749EA210206E3467390B7A11F3F33DDFA)), /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_8, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&UriParser_GetComponents_mEF92B7D8CD59B1C8502D195D775D02D2C844FC1B_RuntimeMethod_var)));
}
IL_003d:
{
Uri_t4A915E1CC15B2C650F478099AD448E9466CBF612 * L_9 = ___uri0;
NullCheck(L_9);
bool L_10;
L_10 = Uri_get_UserDrivenParsing_mF09087D4DE9A0823EBF1FC0C14101335D01393F2(L_9, /*hidden argument*/NULL);
if (!L_10)
{
goto IL_0069;
}
}
{
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_11 = (ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*)(ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE*)SZArrayNew(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE_il2cpp_TypeInfo_var)), (uint32_t)1);
ObjectU5BU5D_tC1F4EE0DB0B7300255F5FD4AF64FE4C585CF5ADE* L_12 = L_11;
Type_t * L_13;
L_13 = Object_GetType_m571FE8360C10B98C23AAF1F066D92C08CC94F45B(__this, /*hidden argument*/NULL);
NullCheck(L_13);
String_t* L_14;
L_14 = VirtFuncInvoker0< String_t* >::Invoke(25 /* System.String System.Type::get_FullName() */, L_13);
NullCheck(L_12);
ArrayElementTypeCheck (L_12, L_14);
(L_12)->SetAt(static_cast<il2cpp_array_size_t>(0), (RuntimeObject *)L_14);
String_t* L_15;
L_15 = SR_GetString_m4FFAF18248A54C5B67E4760C5ED4869A87BCAD7F(((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral3EE5BCAF4F2ABF8C2E555D5760FA880AAB22CABF)), L_12, /*hidden argument*/NULL);
InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB * L_16 = (InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB_il2cpp_TypeInfo_var)));
InvalidOperationException__ctor_mC012CE552988309733C896F3FEA8249171E4402E(L_16, L_15, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_16, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&UriParser_GetComponents_mEF92B7D8CD59B1C8502D195D775D02D2C844FC1B_RuntimeMethod_var)));
}
IL_0069:
{
Uri_t4A915E1CC15B2C650F478099AD448E9466CBF612 * L_17 = ___uri0;
NullCheck(L_17);
bool L_18;
L_18 = Uri_get_IsAbsoluteUri_m013346D65055CFEDF9E742534A584573C18A0E25(L_17, /*hidden argument*/NULL);
if (L_18)
{
goto IL_0081;
}
}
{
String_t* L_19;
L_19 = SR_GetString_m9DC7F3962EEB239017A1A4C443F52047B5BC7462(((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralE657126EBF76C06687ED6EAD2C714E37315C927F)), /*hidden argument*/NULL);
InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB * L_20 = (InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&InvalidOperationException_t10D3EE59AD28EC641ACEE05BCA4271A527E5ECAB_il2cpp_TypeInfo_var)));
InvalidOperationException__ctor_mC012CE552988309733C896F3FEA8249171E4402E(L_20, L_19, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_20, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&UriParser_GetComponents_mEF92B7D8CD59B1C8502D195D775D02D2C844FC1B_RuntimeMethod_var)));
}
IL_0081:
{
Uri_t4A915E1CC15B2C650F478099AD448E9466CBF612 * L_21 = ___uri0;
int32_t L_22 = ___components1;
int32_t L_23 = ___format2;
NullCheck(L_21);
String_t* L_24;
L_24 = Uri_GetComponentsHelper_mAA39E421157735AAD7D93A187CCCAED5A122C8E8(L_21, L_22, L_23, /*hidden argument*/NULL);
return L_24;
}
}
// System.Boolean System.UriParser::get_ShouldUseLegacyV2Quirks()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool UriParser_get_ShouldUseLegacyV2Quirks_mB8917CAC10CD13E44F2EB21D4033044BEAF132B2 (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var);
int32_t L_0 = ((UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields*)il2cpp_codegen_static_fields_for(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var))->get_s_QuirksVersion_23();
return (bool)((((int32_t)((((int32_t)L_0) > ((int32_t)2))? 1 : 0)) == ((int32_t)0))? 1 : 0);
}
}
// System.Void System.UriParser::.cctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void UriParser__cctor_mE4EC170DEC3DCA59D51181F240BABD3404816DA2 (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&BinaryCompatibility_t44EDF0C684F7241E727B341DF3896349BC34D810_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&BuiltInUriParser_tD002C3439D3683127C216D09E22B0973AB9FDF26_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2__ctor_mEF275C708A9D8C75BE351DE8D63068D20522B707_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_set_Item_m43027DEBFCAF2EDBBE4B7A8573819B5A391A9993_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_t29257EB2565DDF3180663167EF129FA9827836C5_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral19A87220AA9460BCE77166C6A721ECA99780C3E7);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral3AB04459C95BC4FFBBDA41BF1A685753EB83D903);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral56D7741BCA89552362FD24D11BB8980E3D8A444C);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral587B0E053519266A1A5628C5DBE03AA33A3BBE95);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral58B716FF5428F7961E1403E6D969E605D0F27EAF);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral5D81741866E0AFB5638DF15167E9A90CDC2CF124);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral5FB56C8861544146EF414DAE01766AD43F440960);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral8BF693870A1CA202D2EE1A186395E62B409214FD);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral8CB5CAE4A06CBA4A72564C688228877DD24B9906);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral9753F194FF9C1EAC5D2E1FAADADC2E63D96E516E);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralA3C5DC11C0F491C18EA087784CC4C662A0629733);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralBE9CA5A938D04349B649020FA52D9EC24C97099D);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralC05DD95A56B355AAD74E9CE147B236E03FF8905E);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralD39E208E1EDCA34C72FCD76197E0EA7CD671D2F9);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralDE0A8A4B33338D09BDE82F544CF26FB4B56B9F98);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralF27E4C631EBEFA337EC21BE8552E169C9DED78A2);
s_Il2CppMethodInitialized = true;
}
int32_t G_B3_0 = 0;
int32_t G_B5_0 = 0;
int32_t G_B4_0 = 0;
int32_t G_B6_0 = 0;
int32_t G_B6_1 = 0;
int32_t G_B8_0 = 0;
int32_t G_B7_0 = 0;
int32_t G_B9_0 = 0;
int32_t G_B9_1 = 0;
{
IL2CPP_RUNTIME_CLASS_INIT(BinaryCompatibility_t44EDF0C684F7241E727B341DF3896349BC34D810_il2cpp_TypeInfo_var);
bool L_0 = ((BinaryCompatibility_t44EDF0C684F7241E727B341DF3896349BC34D810_StaticFields*)il2cpp_codegen_static_fields_for(BinaryCompatibility_t44EDF0C684F7241E727B341DF3896349BC34D810_il2cpp_TypeInfo_var))->get_TargetsAtLeast_Desktop_V4_5_0();
if (L_0)
{
goto IL_000a;
}
}
{
G_B3_0 = 2;
goto IL_000b;
}
IL_000a:
{
G_B3_0 = 3;
}
IL_000b:
{
((UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields*)il2cpp_codegen_static_fields_for(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var))->set_s_QuirksVersion_23(G_B3_0);
bool L_1;
L_1 = UriParser_get_ShouldUseLegacyV2Quirks_mB8917CAC10CD13E44F2EB21D4033044BEAF132B2(/*hidden argument*/NULL);
G_B4_0 = ((int32_t)31461245);
if (L_1)
{
G_B5_0 = ((int32_t)31461245);
goto IL_001f;
}
}
{
G_B6_0 = 0;
G_B6_1 = G_B4_0;
goto IL_0024;
}
IL_001f:
{
G_B6_0 = ((int32_t)33554432);
G_B6_1 = G_B5_0;
}
IL_0024:
{
((UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields*)il2cpp_codegen_static_fields_for(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var))->set_HttpSyntaxFlags_24(((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)G_B6_1|(int32_t)G_B6_0))|(int32_t)((int32_t)67108864)))|(int32_t)((int32_t)268435456))));
bool L_2;
L_2 = UriParser_get_ShouldUseLegacyV2Quirks_mB8917CAC10CD13E44F2EB21D4033044BEAF132B2(/*hidden argument*/NULL);
G_B7_0 = ((int32_t)4049);
if (L_2)
{
G_B8_0 = ((int32_t)4049);
goto IL_0046;
}
}
{
G_B9_0 = ((int32_t)32);
G_B9_1 = G_B7_0;
goto IL_0047;
}
IL_0046:
{
G_B9_0 = 0;
G_B9_1 = G_B8_0;
}
IL_0047:
{
((UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields*)il2cpp_codegen_static_fields_for(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var))->set_FileSyntaxFlags_25(((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)((int32_t)G_B9_1|(int32_t)G_B9_0))|(int32_t)((int32_t)8192)))|(int32_t)((int32_t)2097152)))|(int32_t)((int32_t)1048576)))|(int32_t)((int32_t)4194304)))|(int32_t)((int32_t)8388608)))|(int32_t)((int32_t)16777216)))|(int32_t)((int32_t)33554432)))|(int32_t)((int32_t)67108864)))|(int32_t)((int32_t)268435456))));
Dictionary_2_t29257EB2565DDF3180663167EF129FA9827836C5 * L_3 = (Dictionary_2_t29257EB2565DDF3180663167EF129FA9827836C5 *)il2cpp_codegen_object_new(Dictionary_2_t29257EB2565DDF3180663167EF129FA9827836C5_il2cpp_TypeInfo_var);
Dictionary_2__ctor_mEF275C708A9D8C75BE351DE8D63068D20522B707(L_3, ((int32_t)25), /*hidden argument*/Dictionary_2__ctor_mEF275C708A9D8C75BE351DE8D63068D20522B707_RuntimeMethod_var);
((UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields*)il2cpp_codegen_static_fields_for(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var))->set_m_Table_0(L_3);
Dictionary_2_t29257EB2565DDF3180663167EF129FA9827836C5 * L_4 = (Dictionary_2_t29257EB2565DDF3180663167EF129FA9827836C5 *)il2cpp_codegen_object_new(Dictionary_2_t29257EB2565DDF3180663167EF129FA9827836C5_il2cpp_TypeInfo_var);
Dictionary_2__ctor_mEF275C708A9D8C75BE351DE8D63068D20522B707(L_4, ((int32_t)25), /*hidden argument*/Dictionary_2__ctor_mEF275C708A9D8C75BE351DE8D63068D20522B707_RuntimeMethod_var);
((UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields*)il2cpp_codegen_static_fields_for(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var))->set_m_TempTable_1(L_4);
int32_t L_5 = ((UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields*)il2cpp_codegen_static_fields_for(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var))->get_HttpSyntaxFlags_24();
BuiltInUriParser_tD002C3439D3683127C216D09E22B0973AB9FDF26 * L_6 = (BuiltInUriParser_tD002C3439D3683127C216D09E22B0973AB9FDF26 *)il2cpp_codegen_object_new(BuiltInUriParser_tD002C3439D3683127C216D09E22B0973AB9FDF26_il2cpp_TypeInfo_var);
BuiltInUriParser__ctor_m525296A62BB8A30ABA12A9DFE8C20CE22DA9CEAA(L_6, _stringLiteral58B716FF5428F7961E1403E6D969E605D0F27EAF, ((int32_t)80), L_5, /*hidden argument*/NULL);
((UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields*)il2cpp_codegen_static_fields_for(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var))->set_HttpUri_7(L_6);
Dictionary_2_t29257EB2565DDF3180663167EF129FA9827836C5 * L_7 = ((UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields*)il2cpp_codegen_static_fields_for(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var))->get_m_Table_0();
UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * L_8 = ((UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields*)il2cpp_codegen_static_fields_for(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var))->get_HttpUri_7();
NullCheck(L_8);
String_t* L_9;
L_9 = UriParser_get_SchemeName_mFCD123235673631E05FE9BAF6955A0B43EEEBD80_inline(L_8, /*hidden argument*/NULL);
UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * L_10 = ((UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields*)il2cpp_codegen_static_fields_for(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var))->get_HttpUri_7();
NullCheck(L_7);
Dictionary_2_set_Item_m43027DEBFCAF2EDBBE4B7A8573819B5A391A9993(L_7, L_9, L_10, /*hidden argument*/Dictionary_2_set_Item_m43027DEBFCAF2EDBBE4B7A8573819B5A391A9993_RuntimeMethod_var);
UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * L_11 = ((UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields*)il2cpp_codegen_static_fields_for(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var))->get_HttpUri_7();
NullCheck(L_11);
int32_t L_12 = L_11->get_m_Flags_2();
BuiltInUriParser_tD002C3439D3683127C216D09E22B0973AB9FDF26 * L_13 = (BuiltInUriParser_tD002C3439D3683127C216D09E22B0973AB9FDF26 *)il2cpp_codegen_object_new(BuiltInUriParser_tD002C3439D3683127C216D09E22B0973AB9FDF26_il2cpp_TypeInfo_var);
BuiltInUriParser__ctor_m525296A62BB8A30ABA12A9DFE8C20CE22DA9CEAA(L_13, _stringLiteralF27E4C631EBEFA337EC21BE8552E169C9DED78A2, ((int32_t)443), L_12, /*hidden argument*/NULL);
((UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields*)il2cpp_codegen_static_fields_for(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var))->set_HttpsUri_8(L_13);
Dictionary_2_t29257EB2565DDF3180663167EF129FA9827836C5 * L_14 = ((UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields*)il2cpp_codegen_static_fields_for(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var))->get_m_Table_0();
UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * L_15 = ((UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields*)il2cpp_codegen_static_fields_for(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var))->get_HttpsUri_8();
NullCheck(L_15);
String_t* L_16;
L_16 = UriParser_get_SchemeName_mFCD123235673631E05FE9BAF6955A0B43EEEBD80_inline(L_15, /*hidden argument*/NULL);
UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * L_17 = ((UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields*)il2cpp_codegen_static_fields_for(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var))->get_HttpsUri_8();
NullCheck(L_14);
Dictionary_2_set_Item_m43027DEBFCAF2EDBBE4B7A8573819B5A391A9993(L_14, L_16, L_17, /*hidden argument*/Dictionary_2_set_Item_m43027DEBFCAF2EDBBE4B7A8573819B5A391A9993_RuntimeMethod_var);
int32_t L_18 = ((UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields*)il2cpp_codegen_static_fields_for(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var))->get_HttpSyntaxFlags_24();
BuiltInUriParser_tD002C3439D3683127C216D09E22B0973AB9FDF26 * L_19 = (BuiltInUriParser_tD002C3439D3683127C216D09E22B0973AB9FDF26 *)il2cpp_codegen_object_new(BuiltInUriParser_tD002C3439D3683127C216D09E22B0973AB9FDF26_il2cpp_TypeInfo_var);
BuiltInUriParser__ctor_m525296A62BB8A30ABA12A9DFE8C20CE22DA9CEAA(L_19, _stringLiteral587B0E053519266A1A5628C5DBE03AA33A3BBE95, ((int32_t)80), L_18, /*hidden argument*/NULL);
((UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields*)il2cpp_codegen_static_fields_for(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var))->set_WsUri_9(L_19);
Dictionary_2_t29257EB2565DDF3180663167EF129FA9827836C5 * L_20 = ((UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields*)il2cpp_codegen_static_fields_for(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var))->get_m_Table_0();
UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * L_21 = ((UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields*)il2cpp_codegen_static_fields_for(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var))->get_WsUri_9();
NullCheck(L_21);
String_t* L_22;
L_22 = UriParser_get_SchemeName_mFCD123235673631E05FE9BAF6955A0B43EEEBD80_inline(L_21, /*hidden argument*/NULL);
UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * L_23 = ((UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields*)il2cpp_codegen_static_fields_for(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var))->get_WsUri_9();
NullCheck(L_20);
Dictionary_2_set_Item_m43027DEBFCAF2EDBBE4B7A8573819B5A391A9993(L_20, L_22, L_23, /*hidden argument*/Dictionary_2_set_Item_m43027DEBFCAF2EDBBE4B7A8573819B5A391A9993_RuntimeMethod_var);
int32_t L_24 = ((UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields*)il2cpp_codegen_static_fields_for(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var))->get_HttpSyntaxFlags_24();
BuiltInUriParser_tD002C3439D3683127C216D09E22B0973AB9FDF26 * L_25 = (BuiltInUriParser_tD002C3439D3683127C216D09E22B0973AB9FDF26 *)il2cpp_codegen_object_new(BuiltInUriParser_tD002C3439D3683127C216D09E22B0973AB9FDF26_il2cpp_TypeInfo_var);
BuiltInUriParser__ctor_m525296A62BB8A30ABA12A9DFE8C20CE22DA9CEAA(L_25, _stringLiteral56D7741BCA89552362FD24D11BB8980E3D8A444C, ((int32_t)443), L_24, /*hidden argument*/NULL);
((UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields*)il2cpp_codegen_static_fields_for(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var))->set_WssUri_10(L_25);
Dictionary_2_t29257EB2565DDF3180663167EF129FA9827836C5 * L_26 = ((UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields*)il2cpp_codegen_static_fields_for(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var))->get_m_Table_0();
UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * L_27 = ((UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields*)il2cpp_codegen_static_fields_for(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var))->get_WssUri_10();
NullCheck(L_27);
String_t* L_28;
L_28 = UriParser_get_SchemeName_mFCD123235673631E05FE9BAF6955A0B43EEEBD80_inline(L_27, /*hidden argument*/NULL);
UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * L_29 = ((UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields*)il2cpp_codegen_static_fields_for(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var))->get_WssUri_10();
NullCheck(L_26);
Dictionary_2_set_Item_m43027DEBFCAF2EDBBE4B7A8573819B5A391A9993(L_26, L_28, L_29, /*hidden argument*/Dictionary_2_set_Item_m43027DEBFCAF2EDBBE4B7A8573819B5A391A9993_RuntimeMethod_var);
BuiltInUriParser_tD002C3439D3683127C216D09E22B0973AB9FDF26 * L_30 = (BuiltInUriParser_tD002C3439D3683127C216D09E22B0973AB9FDF26 *)il2cpp_codegen_object_new(BuiltInUriParser_tD002C3439D3683127C216D09E22B0973AB9FDF26_il2cpp_TypeInfo_var);
BuiltInUriParser__ctor_m525296A62BB8A30ABA12A9DFE8C20CE22DA9CEAA(L_30, _stringLiteral8CB5CAE4A06CBA4A72564C688228877DD24B9906, ((int32_t)21), ((int32_t)367005533), /*hidden argument*/NULL);
((UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields*)il2cpp_codegen_static_fields_for(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var))->set_FtpUri_11(L_30);
Dictionary_2_t29257EB2565DDF3180663167EF129FA9827836C5 * L_31 = ((UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields*)il2cpp_codegen_static_fields_for(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var))->get_m_Table_0();
UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * L_32 = ((UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields*)il2cpp_codegen_static_fields_for(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var))->get_FtpUri_11();
NullCheck(L_32);
String_t* L_33;
L_33 = UriParser_get_SchemeName_mFCD123235673631E05FE9BAF6955A0B43EEEBD80_inline(L_32, /*hidden argument*/NULL);
UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * L_34 = ((UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields*)il2cpp_codegen_static_fields_for(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var))->get_FtpUri_11();
NullCheck(L_31);
Dictionary_2_set_Item_m43027DEBFCAF2EDBBE4B7A8573819B5A391A9993(L_31, L_33, L_34, /*hidden argument*/Dictionary_2_set_Item_m43027DEBFCAF2EDBBE4B7A8573819B5A391A9993_RuntimeMethod_var);
int32_t L_35 = ((UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields*)il2cpp_codegen_static_fields_for(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var))->get_FileSyntaxFlags_25();
BuiltInUriParser_tD002C3439D3683127C216D09E22B0973AB9FDF26 * L_36 = (BuiltInUriParser_tD002C3439D3683127C216D09E22B0973AB9FDF26 *)il2cpp_codegen_object_new(BuiltInUriParser_tD002C3439D3683127C216D09E22B0973AB9FDF26_il2cpp_TypeInfo_var);
BuiltInUriParser__ctor_m525296A62BB8A30ABA12A9DFE8C20CE22DA9CEAA(L_36, _stringLiteralC05DD95A56B355AAD74E9CE147B236E03FF8905E, (-1), L_35, /*hidden argument*/NULL);
((UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields*)il2cpp_codegen_static_fields_for(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var))->set_FileUri_12(L_36);
Dictionary_2_t29257EB2565DDF3180663167EF129FA9827836C5 * L_37 = ((UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields*)il2cpp_codegen_static_fields_for(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var))->get_m_Table_0();
UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * L_38 = ((UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields*)il2cpp_codegen_static_fields_for(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var))->get_FileUri_12();
NullCheck(L_38);
String_t* L_39;
L_39 = UriParser_get_SchemeName_mFCD123235673631E05FE9BAF6955A0B43EEEBD80_inline(L_38, /*hidden argument*/NULL);
UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * L_40 = ((UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields*)il2cpp_codegen_static_fields_for(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var))->get_FileUri_12();
NullCheck(L_37);
Dictionary_2_set_Item_m43027DEBFCAF2EDBBE4B7A8573819B5A391A9993(L_37, L_39, L_40, /*hidden argument*/Dictionary_2_set_Item_m43027DEBFCAF2EDBBE4B7A8573819B5A391A9993_RuntimeMethod_var);
BuiltInUriParser_tD002C3439D3683127C216D09E22B0973AB9FDF26 * L_41 = (BuiltInUriParser_tD002C3439D3683127C216D09E22B0973AB9FDF26 *)il2cpp_codegen_object_new(BuiltInUriParser_tD002C3439D3683127C216D09E22B0973AB9FDF26_il2cpp_TypeInfo_var);
BuiltInUriParser__ctor_m525296A62BB8A30ABA12A9DFE8C20CE22DA9CEAA(L_41, _stringLiteralBE9CA5A938D04349B649020FA52D9EC24C97099D, ((int32_t)70), ((int32_t)337645405), /*hidden argument*/NULL);
((UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields*)il2cpp_codegen_static_fields_for(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var))->set_GopherUri_13(L_41);
Dictionary_2_t29257EB2565DDF3180663167EF129FA9827836C5 * L_42 = ((UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields*)il2cpp_codegen_static_fields_for(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var))->get_m_Table_0();
UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * L_43 = ((UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields*)il2cpp_codegen_static_fields_for(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var))->get_GopherUri_13();
NullCheck(L_43);
String_t* L_44;
L_44 = UriParser_get_SchemeName_mFCD123235673631E05FE9BAF6955A0B43EEEBD80_inline(L_43, /*hidden argument*/NULL);
UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * L_45 = ((UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields*)il2cpp_codegen_static_fields_for(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var))->get_GopherUri_13();
NullCheck(L_42);
Dictionary_2_set_Item_m43027DEBFCAF2EDBBE4B7A8573819B5A391A9993(L_42, L_44, L_45, /*hidden argument*/Dictionary_2_set_Item_m43027DEBFCAF2EDBBE4B7A8573819B5A391A9993_RuntimeMethod_var);
BuiltInUriParser_tD002C3439D3683127C216D09E22B0973AB9FDF26 * L_46 = (BuiltInUriParser_tD002C3439D3683127C216D09E22B0973AB9FDF26 *)il2cpp_codegen_object_new(BuiltInUriParser_tD002C3439D3683127C216D09E22B0973AB9FDF26_il2cpp_TypeInfo_var);
BuiltInUriParser__ctor_m525296A62BB8A30ABA12A9DFE8C20CE22DA9CEAA(L_46, _stringLiteralA3C5DC11C0F491C18EA087784CC4C662A0629733, ((int32_t)119), ((int32_t)337645405), /*hidden argument*/NULL);
((UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields*)il2cpp_codegen_static_fields_for(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var))->set_NntpUri_14(L_46);
Dictionary_2_t29257EB2565DDF3180663167EF129FA9827836C5 * L_47 = ((UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields*)il2cpp_codegen_static_fields_for(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var))->get_m_Table_0();
UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * L_48 = ((UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields*)il2cpp_codegen_static_fields_for(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var))->get_NntpUri_14();
NullCheck(L_48);
String_t* L_49;
L_49 = UriParser_get_SchemeName_mFCD123235673631E05FE9BAF6955A0B43EEEBD80_inline(L_48, /*hidden argument*/NULL);
UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * L_50 = ((UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields*)il2cpp_codegen_static_fields_for(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var))->get_NntpUri_14();
NullCheck(L_47);
Dictionary_2_set_Item_m43027DEBFCAF2EDBBE4B7A8573819B5A391A9993(L_47, L_49, L_50, /*hidden argument*/Dictionary_2_set_Item_m43027DEBFCAF2EDBBE4B7A8573819B5A391A9993_RuntimeMethod_var);
BuiltInUriParser_tD002C3439D3683127C216D09E22B0973AB9FDF26 * L_51 = (BuiltInUriParser_tD002C3439D3683127C216D09E22B0973AB9FDF26 *)il2cpp_codegen_object_new(BuiltInUriParser_tD002C3439D3683127C216D09E22B0973AB9FDF26_il2cpp_TypeInfo_var);
BuiltInUriParser__ctor_m525296A62BB8A30ABA12A9DFE8C20CE22DA9CEAA(L_51, _stringLiteral5FB56C8861544146EF414DAE01766AD43F440960, (-1), ((int32_t)268435536), /*hidden argument*/NULL);
((UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields*)il2cpp_codegen_static_fields_for(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var))->set_NewsUri_15(L_51);
Dictionary_2_t29257EB2565DDF3180663167EF129FA9827836C5 * L_52 = ((UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields*)il2cpp_codegen_static_fields_for(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var))->get_m_Table_0();
UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * L_53 = ((UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields*)il2cpp_codegen_static_fields_for(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var))->get_NewsUri_15();
NullCheck(L_53);
String_t* L_54;
L_54 = UriParser_get_SchemeName_mFCD123235673631E05FE9BAF6955A0B43EEEBD80_inline(L_53, /*hidden argument*/NULL);
UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * L_55 = ((UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields*)il2cpp_codegen_static_fields_for(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var))->get_NewsUri_15();
NullCheck(L_52);
Dictionary_2_set_Item_m43027DEBFCAF2EDBBE4B7A8573819B5A391A9993(L_52, L_54, L_55, /*hidden argument*/Dictionary_2_set_Item_m43027DEBFCAF2EDBBE4B7A8573819B5A391A9993_RuntimeMethod_var);
BuiltInUriParser_tD002C3439D3683127C216D09E22B0973AB9FDF26 * L_56 = (BuiltInUriParser_tD002C3439D3683127C216D09E22B0973AB9FDF26 *)il2cpp_codegen_object_new(BuiltInUriParser_tD002C3439D3683127C216D09E22B0973AB9FDF26_il2cpp_TypeInfo_var);
BuiltInUriParser__ctor_m525296A62BB8A30ABA12A9DFE8C20CE22DA9CEAA(L_56, _stringLiteralDE0A8A4B33338D09BDE82F544CF26FB4B56B9F98, ((int32_t)25), ((int32_t)335564796), /*hidden argument*/NULL);
((UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields*)il2cpp_codegen_static_fields_for(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var))->set_MailToUri_16(L_56);
Dictionary_2_t29257EB2565DDF3180663167EF129FA9827836C5 * L_57 = ((UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields*)il2cpp_codegen_static_fields_for(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var))->get_m_Table_0();
UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * L_58 = ((UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields*)il2cpp_codegen_static_fields_for(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var))->get_MailToUri_16();
NullCheck(L_58);
String_t* L_59;
L_59 = UriParser_get_SchemeName_mFCD123235673631E05FE9BAF6955A0B43EEEBD80_inline(L_58, /*hidden argument*/NULL);
UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * L_60 = ((UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields*)il2cpp_codegen_static_fields_for(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var))->get_MailToUri_16();
NullCheck(L_57);
Dictionary_2_set_Item_m43027DEBFCAF2EDBBE4B7A8573819B5A391A9993(L_57, L_59, L_60, /*hidden argument*/Dictionary_2_set_Item_m43027DEBFCAF2EDBBE4B7A8573819B5A391A9993_RuntimeMethod_var);
UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * L_61 = ((UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields*)il2cpp_codegen_static_fields_for(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var))->get_NewsUri_15();
NullCheck(L_61);
int32_t L_62 = L_61->get_m_Flags_2();
BuiltInUriParser_tD002C3439D3683127C216D09E22B0973AB9FDF26 * L_63 = (BuiltInUriParser_tD002C3439D3683127C216D09E22B0973AB9FDF26 *)il2cpp_codegen_object_new(BuiltInUriParser_tD002C3439D3683127C216D09E22B0973AB9FDF26_il2cpp_TypeInfo_var);
BuiltInUriParser__ctor_m525296A62BB8A30ABA12A9DFE8C20CE22DA9CEAA(L_63, _stringLiteral8BF693870A1CA202D2EE1A186395E62B409214FD, (-1), L_62, /*hidden argument*/NULL);
((UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields*)il2cpp_codegen_static_fields_for(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var))->set_UuidUri_17(L_63);
Dictionary_2_t29257EB2565DDF3180663167EF129FA9827836C5 * L_64 = ((UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields*)il2cpp_codegen_static_fields_for(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var))->get_m_Table_0();
UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * L_65 = ((UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields*)il2cpp_codegen_static_fields_for(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var))->get_UuidUri_17();
NullCheck(L_65);
String_t* L_66;
L_66 = UriParser_get_SchemeName_mFCD123235673631E05FE9BAF6955A0B43EEEBD80_inline(L_65, /*hidden argument*/NULL);
UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * L_67 = ((UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields*)il2cpp_codegen_static_fields_for(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var))->get_UuidUri_17();
NullCheck(L_64);
Dictionary_2_set_Item_m43027DEBFCAF2EDBBE4B7A8573819B5A391A9993(L_64, L_66, L_67, /*hidden argument*/Dictionary_2_set_Item_m43027DEBFCAF2EDBBE4B7A8573819B5A391A9993_RuntimeMethod_var);
BuiltInUriParser_tD002C3439D3683127C216D09E22B0973AB9FDF26 * L_68 = (BuiltInUriParser_tD002C3439D3683127C216D09E22B0973AB9FDF26 *)il2cpp_codegen_object_new(BuiltInUriParser_tD002C3439D3683127C216D09E22B0973AB9FDF26_il2cpp_TypeInfo_var);
BuiltInUriParser__ctor_m525296A62BB8A30ABA12A9DFE8C20CE22DA9CEAA(L_68, _stringLiteral5D81741866E0AFB5638DF15167E9A90CDC2CF124, ((int32_t)23), ((int32_t)337645405), /*hidden argument*/NULL);
((UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields*)il2cpp_codegen_static_fields_for(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var))->set_TelnetUri_18(L_68);
Dictionary_2_t29257EB2565DDF3180663167EF129FA9827836C5 * L_69 = ((UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields*)il2cpp_codegen_static_fields_for(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var))->get_m_Table_0();
UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * L_70 = ((UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields*)il2cpp_codegen_static_fields_for(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var))->get_TelnetUri_18();
NullCheck(L_70);
String_t* L_71;
L_71 = UriParser_get_SchemeName_mFCD123235673631E05FE9BAF6955A0B43EEEBD80_inline(L_70, /*hidden argument*/NULL);
UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * L_72 = ((UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields*)il2cpp_codegen_static_fields_for(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var))->get_TelnetUri_18();
NullCheck(L_69);
Dictionary_2_set_Item_m43027DEBFCAF2EDBBE4B7A8573819B5A391A9993(L_69, L_71, L_72, /*hidden argument*/Dictionary_2_set_Item_m43027DEBFCAF2EDBBE4B7A8573819B5A391A9993_RuntimeMethod_var);
BuiltInUriParser_tD002C3439D3683127C216D09E22B0973AB9FDF26 * L_73 = (BuiltInUriParser_tD002C3439D3683127C216D09E22B0973AB9FDF26 *)il2cpp_codegen_object_new(BuiltInUriParser_tD002C3439D3683127C216D09E22B0973AB9FDF26_il2cpp_TypeInfo_var);
BuiltInUriParser__ctor_m525296A62BB8A30ABA12A9DFE8C20CE22DA9CEAA(L_73, _stringLiteral9753F194FF9C1EAC5D2E1FAADADC2E63D96E516E, ((int32_t)389), ((int32_t)337645565), /*hidden argument*/NULL);
((UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields*)il2cpp_codegen_static_fields_for(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var))->set_LdapUri_19(L_73);
Dictionary_2_t29257EB2565DDF3180663167EF129FA9827836C5 * L_74 = ((UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields*)il2cpp_codegen_static_fields_for(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var))->get_m_Table_0();
UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * L_75 = ((UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields*)il2cpp_codegen_static_fields_for(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var))->get_LdapUri_19();
NullCheck(L_75);
String_t* L_76;
L_76 = UriParser_get_SchemeName_mFCD123235673631E05FE9BAF6955A0B43EEEBD80_inline(L_75, /*hidden argument*/NULL);
UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * L_77 = ((UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields*)il2cpp_codegen_static_fields_for(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var))->get_LdapUri_19();
NullCheck(L_74);
Dictionary_2_set_Item_m43027DEBFCAF2EDBBE4B7A8573819B5A391A9993(L_74, L_76, L_77, /*hidden argument*/Dictionary_2_set_Item_m43027DEBFCAF2EDBBE4B7A8573819B5A391A9993_RuntimeMethod_var);
BuiltInUriParser_tD002C3439D3683127C216D09E22B0973AB9FDF26 * L_78 = (BuiltInUriParser_tD002C3439D3683127C216D09E22B0973AB9FDF26 *)il2cpp_codegen_object_new(BuiltInUriParser_tD002C3439D3683127C216D09E22B0973AB9FDF26_il2cpp_TypeInfo_var);
BuiltInUriParser__ctor_m525296A62BB8A30ABA12A9DFE8C20CE22DA9CEAA(L_78, _stringLiteralD39E208E1EDCA34C72FCD76197E0EA7CD671D2F9, ((int32_t)808), ((int32_t)400559737), /*hidden argument*/NULL);
((UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields*)il2cpp_codegen_static_fields_for(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var))->set_NetTcpUri_20(L_78);
Dictionary_2_t29257EB2565DDF3180663167EF129FA9827836C5 * L_79 = ((UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields*)il2cpp_codegen_static_fields_for(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var))->get_m_Table_0();
UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * L_80 = ((UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields*)il2cpp_codegen_static_fields_for(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var))->get_NetTcpUri_20();
NullCheck(L_80);
String_t* L_81;
L_81 = UriParser_get_SchemeName_mFCD123235673631E05FE9BAF6955A0B43EEEBD80_inline(L_80, /*hidden argument*/NULL);
UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * L_82 = ((UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields*)il2cpp_codegen_static_fields_for(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var))->get_NetTcpUri_20();
NullCheck(L_79);
Dictionary_2_set_Item_m43027DEBFCAF2EDBBE4B7A8573819B5A391A9993(L_79, L_81, L_82, /*hidden argument*/Dictionary_2_set_Item_m43027DEBFCAF2EDBBE4B7A8573819B5A391A9993_RuntimeMethod_var);
BuiltInUriParser_tD002C3439D3683127C216D09E22B0973AB9FDF26 * L_83 = (BuiltInUriParser_tD002C3439D3683127C216D09E22B0973AB9FDF26 *)il2cpp_codegen_object_new(BuiltInUriParser_tD002C3439D3683127C216D09E22B0973AB9FDF26_il2cpp_TypeInfo_var);
BuiltInUriParser__ctor_m525296A62BB8A30ABA12A9DFE8C20CE22DA9CEAA(L_83, _stringLiteral3AB04459C95BC4FFBBDA41BF1A685753EB83D903, (-1), ((int32_t)400559729), /*hidden argument*/NULL);
((UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields*)il2cpp_codegen_static_fields_for(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var))->set_NetPipeUri_21(L_83);
Dictionary_2_t29257EB2565DDF3180663167EF129FA9827836C5 * L_84 = ((UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields*)il2cpp_codegen_static_fields_for(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var))->get_m_Table_0();
UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * L_85 = ((UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields*)il2cpp_codegen_static_fields_for(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var))->get_NetPipeUri_21();
NullCheck(L_85);
String_t* L_86;
L_86 = UriParser_get_SchemeName_mFCD123235673631E05FE9BAF6955A0B43EEEBD80_inline(L_85, /*hidden argument*/NULL);
UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * L_87 = ((UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields*)il2cpp_codegen_static_fields_for(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var))->get_NetPipeUri_21();
NullCheck(L_84);
Dictionary_2_set_Item_m43027DEBFCAF2EDBBE4B7A8573819B5A391A9993(L_84, L_86, L_87, /*hidden argument*/Dictionary_2_set_Item_m43027DEBFCAF2EDBBE4B7A8573819B5A391A9993_RuntimeMethod_var);
BuiltInUriParser_tD002C3439D3683127C216D09E22B0973AB9FDF26 * L_88 = (BuiltInUriParser_tD002C3439D3683127C216D09E22B0973AB9FDF26 *)il2cpp_codegen_object_new(BuiltInUriParser_tD002C3439D3683127C216D09E22B0973AB9FDF26_il2cpp_TypeInfo_var);
BuiltInUriParser__ctor_m525296A62BB8A30ABA12A9DFE8C20CE22DA9CEAA(L_88, _stringLiteral19A87220AA9460BCE77166C6A721ECA99780C3E7, (-1), ((int32_t)399519697), /*hidden argument*/NULL);
((UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields*)il2cpp_codegen_static_fields_for(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var))->set_VsMacrosUri_22(L_88);
Dictionary_2_t29257EB2565DDF3180663167EF129FA9827836C5 * L_89 = ((UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields*)il2cpp_codegen_static_fields_for(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var))->get_m_Table_0();
UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * L_90 = ((UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields*)il2cpp_codegen_static_fields_for(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var))->get_VsMacrosUri_22();
NullCheck(L_90);
String_t* L_91;
L_91 = UriParser_get_SchemeName_mFCD123235673631E05FE9BAF6955A0B43EEEBD80_inline(L_90, /*hidden argument*/NULL);
UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * L_92 = ((UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields*)il2cpp_codegen_static_fields_for(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var))->get_VsMacrosUri_22();
NullCheck(L_89);
Dictionary_2_set_Item_m43027DEBFCAF2EDBBE4B7A8573819B5A391A9993(L_89, L_91, L_92, /*hidden argument*/Dictionary_2_set_Item_m43027DEBFCAF2EDBBE4B7A8573819B5A391A9993_RuntimeMethod_var);
return;
}
}
// System.UriSyntaxFlags System.UriParser::get_Flags()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t UriParser_get_Flags_mDAA0D828057CA2CA4493FD152D3760E975BAE7F0 (UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * __this, const RuntimeMethod* method)
{
{
int32_t L_0 = __this->get_m_Flags_2();
return L_0;
}
}
// System.Boolean System.UriParser::NotAny(System.UriSyntaxFlags)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool UriParser_NotAny_m6A42FAC623F0EBDE441782DAC3E3B2ED34756D91 (UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * __this, int32_t ___flags0, const RuntimeMethod* method)
{
{
int32_t L_0 = ___flags0;
bool L_1;
L_1 = UriParser_IsFullMatch_m3967BB43AFB5C11B75DA3BD1CE18B8DAE8F0C32E(__this, L_0, 0, /*hidden argument*/NULL);
return L_1;
}
}
// System.Boolean System.UriParser::InFact(System.UriSyntaxFlags)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool UriParser_InFact_m4E58BAFAB5A9BC24854C815FC093E16D4F1CFA4D (UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * __this, int32_t ___flags0, const RuntimeMethod* method)
{
{
int32_t L_0 = ___flags0;
bool L_1;
L_1 = UriParser_IsFullMatch_m3967BB43AFB5C11B75DA3BD1CE18B8DAE8F0C32E(__this, L_0, 0, /*hidden argument*/NULL);
return (bool)((((int32_t)L_1) == ((int32_t)0))? 1 : 0);
}
}
// System.Boolean System.UriParser::IsAllSet(System.UriSyntaxFlags)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool UriParser_IsAllSet_m356BD044D8A53560B6A7AA9B81A20A364E015C18 (UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * __this, int32_t ___flags0, const RuntimeMethod* method)
{
{
int32_t L_0 = ___flags0;
int32_t L_1 = ___flags0;
bool L_2;
L_2 = UriParser_IsFullMatch_m3967BB43AFB5C11B75DA3BD1CE18B8DAE8F0C32E(__this, L_0, L_1, /*hidden argument*/NULL);
return L_2;
}
}
// System.Boolean System.UriParser::IsFullMatch(System.UriSyntaxFlags,System.UriSyntaxFlags)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool UriParser_IsFullMatch_m3967BB43AFB5C11B75DA3BD1CE18B8DAE8F0C32E (UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * __this, int32_t ___flags0, int32_t ___expected1, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
int32_t L_0 = ___flags0;
if (!((int32_t)((int32_t)L_0&(int32_t)((int32_t)33554432))))
{
goto IL_0013;
}
}
{
bool L_1 = __this->get_m_UpdatableFlagsUsed_4();
il2cpp_codegen_memory_barrier();
if (L_1)
{
goto IL_001c;
}
}
IL_0013:
{
int32_t L_2 = __this->get_m_Flags_2();
V_0 = L_2;
goto IL_0032;
}
IL_001c:
{
int32_t L_3 = __this->get_m_Flags_2();
int32_t L_4 = __this->get_m_UpdatableFlags_3();
il2cpp_codegen_memory_barrier();
V_0 = ((int32_t)((int32_t)((int32_t)((int32_t)L_3&(int32_t)((int32_t)-33554433)))|(int32_t)L_4));
}
IL_0032:
{
int32_t L_5 = V_0;
int32_t L_6 = ___flags0;
int32_t L_7 = ___expected1;
return (bool)((((int32_t)((int32_t)((int32_t)L_5&(int32_t)L_6))) == ((int32_t)L_7))? 1 : 0);
}
}
// System.Void System.UriParser::.ctor(System.UriSyntaxFlags)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void UriParser__ctor_m9A2C47C1F30EF65ADFBAEB0A569FB972F383825C (UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * __this, int32_t ___flags0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&String_t_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
Object__ctor_m88880E0413421D13FD95325EDCE231707CE1F405(__this, /*hidden argument*/NULL);
int32_t L_0 = ___flags0;
__this->set_m_Flags_2(L_0);
String_t* L_1 = ((String_t_StaticFields*)il2cpp_codegen_static_fields_for(String_t_il2cpp_TypeInfo_var))->get_Empty_5();
__this->set_m_Scheme_6(L_1);
return;
}
}
// System.UriParser System.UriParser::FindOrFetchAsUnknownV1Syntax(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * UriParser_FindOrFetchAsUnknownV1Syntax_m7844992E6D0B5FD676AEE47EBD4806305418D6CC (String_t* ___lwrCaseScheme0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&BuiltInUriParser_tD002C3439D3683127C216D09E22B0973AB9FDF26_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_TryGetValue_m05B3B2E9A02468956D9D51C30093821BFBC3C63A_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2__ctor_mEF275C708A9D8C75BE351DE8D63068D20522B707_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_get_Count_mC890D4862BCE096F4E905A751AEE39B30478357C_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_set_Item_m43027DEBFCAF2EDBBE4B7A8573819B5A391A9993_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_t29257EB2565DDF3180663167EF129FA9827836C5_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * V_0 = NULL;
Dictionary_2_t29257EB2565DDF3180663167EF129FA9827836C5 * V_1 = NULL;
bool V_2 = false;
UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * V_3 = NULL;
Exception_t * __last_unhandled_exception = 0;
il2cpp::utils::ExceptionSupportStack<int32_t, 1> __leave_targets;
{
V_0 = (UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A *)NULL;
IL2CPP_RUNTIME_CLASS_INIT(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var);
Dictionary_2_t29257EB2565DDF3180663167EF129FA9827836C5 * L_0 = ((UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields*)il2cpp_codegen_static_fields_for(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var))->get_m_Table_0();
String_t* L_1 = ___lwrCaseScheme0;
NullCheck(L_0);
bool L_2;
L_2 = Dictionary_2_TryGetValue_m05B3B2E9A02468956D9D51C30093821BFBC3C63A(L_0, L_1, (UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A **)(&V_0), /*hidden argument*/Dictionary_2_TryGetValue_m05B3B2E9A02468956D9D51C30093821BFBC3C63A_RuntimeMethod_var);
UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * L_3 = V_0;
if (!L_3)
{
goto IL_0015;
}
}
{
UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * L_4 = V_0;
return L_4;
}
IL_0015:
{
IL2CPP_RUNTIME_CLASS_INIT(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var);
Dictionary_2_t29257EB2565DDF3180663167EF129FA9827836C5 * L_5 = ((UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields*)il2cpp_codegen_static_fields_for(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var))->get_m_TempTable_1();
String_t* L_6 = ___lwrCaseScheme0;
NullCheck(L_5);
bool L_7;
L_7 = Dictionary_2_TryGetValue_m05B3B2E9A02468956D9D51C30093821BFBC3C63A(L_5, L_6, (UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A **)(&V_0), /*hidden argument*/Dictionary_2_TryGetValue_m05B3B2E9A02468956D9D51C30093821BFBC3C63A_RuntimeMethod_var);
UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * L_8 = V_0;
if (!L_8)
{
goto IL_0028;
}
}
{
UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * L_9 = V_0;
return L_9;
}
IL_0028:
{
IL2CPP_RUNTIME_CLASS_INIT(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var);
Dictionary_2_t29257EB2565DDF3180663167EF129FA9827836C5 * L_10 = ((UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields*)il2cpp_codegen_static_fields_for(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var))->get_m_Table_0();
V_1 = L_10;
V_2 = (bool)0;
}
IL_0030:
try
{ // begin try (depth: 1)
{
Dictionary_2_t29257EB2565DDF3180663167EF129FA9827836C5 * L_11 = V_1;
Monitor_Enter_mBEB6CC84184B46F26375EC3FC8921D16E48EA4C4(L_11, (bool*)(&V_2), /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var);
Dictionary_2_t29257EB2565DDF3180663167EF129FA9827836C5 * L_12 = ((UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields*)il2cpp_codegen_static_fields_for(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var))->get_m_TempTable_1();
NullCheck(L_12);
int32_t L_13;
L_13 = Dictionary_2_get_Count_mC890D4862BCE096F4E905A751AEE39B30478357C(L_12, /*hidden argument*/Dictionary_2_get_Count_mC890D4862BCE096F4E905A751AEE39B30478357C_RuntimeMethod_var);
if ((((int32_t)L_13) < ((int32_t)((int32_t)512))))
{
goto IL_0055;
}
}
IL_0049:
{
Dictionary_2_t29257EB2565DDF3180663167EF129FA9827836C5 * L_14 = (Dictionary_2_t29257EB2565DDF3180663167EF129FA9827836C5 *)il2cpp_codegen_object_new(Dictionary_2_t29257EB2565DDF3180663167EF129FA9827836C5_il2cpp_TypeInfo_var);
Dictionary_2__ctor_mEF275C708A9D8C75BE351DE8D63068D20522B707(L_14, ((int32_t)25), /*hidden argument*/Dictionary_2__ctor_mEF275C708A9D8C75BE351DE8D63068D20522B707_RuntimeMethod_var);
IL2CPP_RUNTIME_CLASS_INIT(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var);
((UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields*)il2cpp_codegen_static_fields_for(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var))->set_m_TempTable_1(L_14);
}
IL_0055:
{
String_t* L_15 = ___lwrCaseScheme0;
BuiltInUriParser_tD002C3439D3683127C216D09E22B0973AB9FDF26 * L_16 = (BuiltInUriParser_tD002C3439D3683127C216D09E22B0973AB9FDF26 *)il2cpp_codegen_object_new(BuiltInUriParser_tD002C3439D3683127C216D09E22B0973AB9FDF26_il2cpp_TypeInfo_var);
BuiltInUriParser__ctor_m525296A62BB8A30ABA12A9DFE8C20CE22DA9CEAA(L_16, L_15, (-1), ((int32_t)351342590), /*hidden argument*/NULL);
V_0 = L_16;
IL2CPP_RUNTIME_CLASS_INIT(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var);
Dictionary_2_t29257EB2565DDF3180663167EF129FA9827836C5 * L_17 = ((UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_StaticFields*)il2cpp_codegen_static_fields_for(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var))->get_m_TempTable_1();
String_t* L_18 = ___lwrCaseScheme0;
UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * L_19 = V_0;
NullCheck(L_17);
Dictionary_2_set_Item_m43027DEBFCAF2EDBBE4B7A8573819B5A391A9993(L_17, L_18, L_19, /*hidden argument*/Dictionary_2_set_Item_m43027DEBFCAF2EDBBE4B7A8573819B5A391A9993_RuntimeMethod_var);
UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * L_20 = V_0;
V_3 = L_20;
IL2CPP_LEAVE(0x7C, FINALLY_0072);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_0072;
}
FINALLY_0072:
{ // begin finally (depth: 1)
{
bool L_21 = V_2;
if (!L_21)
{
goto IL_007b;
}
}
IL_0075:
{
Dictionary_2_t29257EB2565DDF3180663167EF129FA9827836C5 * L_22 = V_1;
Monitor_Exit_mA776B403DA88AC77CDEEF67AB9F0D0E77ABD254A(L_22, /*hidden argument*/NULL);
}
IL_007b:
{
IL2CPP_END_FINALLY(114)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(114)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0x7C, IL_007c)
}
IL_007c:
{
UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * L_23 = V_3;
return L_23;
}
}
// System.Boolean System.UriParser::get_IsSimple()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool UriParser_get_IsSimple_m09BA6505FDD1AE0BF6C711AE9C2C3F9379B868F8 (UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * __this, const RuntimeMethod* method)
{
{
bool L_0;
L_0 = UriParser_InFact_m4E58BAFAB5A9BC24854C815FC093E16D4F1CFA4D(__this, ((int32_t)131072), /*hidden argument*/NULL);
return L_0;
}
}
// System.UriParser System.UriParser::InternalOnNewUri()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * UriParser_InternalOnNewUri_m0AC629BCCA398E9A193AC16A5E91D445B9B70D79 (UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * __this, const RuntimeMethod* method)
{
UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * V_0 = NULL;
{
UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * L_0;
L_0 = VirtFuncInvoker0< UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * >::Invoke(4 /* System.UriParser System.UriParser::OnNewUri() */, __this);
V_0 = L_0;
UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * L_1 = V_0;
if ((((RuntimeObject*)(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A *)__this) == ((RuntimeObject*)(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A *)L_1)))
{
goto IL_002f;
}
}
{
UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * L_2 = V_0;
String_t* L_3 = __this->get_m_Scheme_6();
NullCheck(L_2);
L_2->set_m_Scheme_6(L_3);
UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * L_4 = V_0;
int32_t L_5 = __this->get_m_Port_5();
NullCheck(L_4);
L_4->set_m_Port_5(L_5);
UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * L_6 = V_0;
int32_t L_7 = __this->get_m_Flags_2();
NullCheck(L_6);
L_6->set_m_Flags_2(L_7);
}
IL_002f:
{
UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * L_8 = V_0;
return L_8;
}
}
// System.Void System.UriParser::InternalValidate(System.Uri,System.UriFormatException&)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void UriParser_InternalValidate_mB845C482B4B01EDFE012DD4C4CEF62C8F4FFE94F (UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * __this, Uri_t4A915E1CC15B2C650F478099AD448E9466CBF612 * ___thisUri0, UriFormatException_tAA45C6D2264E9E74935A066FC3DF8DF68B37B61D ** ___parsingError1, const RuntimeMethod* method)
{
{
Uri_t4A915E1CC15B2C650F478099AD448E9466CBF612 * L_0 = ___thisUri0;
UriFormatException_tAA45C6D2264E9E74935A066FC3DF8DF68B37B61D ** L_1 = ___parsingError1;
VirtActionInvoker2< Uri_t4A915E1CC15B2C650F478099AD448E9466CBF612 *, UriFormatException_tAA45C6D2264E9E74935A066FC3DF8DF68B37B61D ** >::Invoke(5 /* System.Void System.UriParser::InitializeAndValidate(System.Uri,System.UriFormatException&) */, __this, L_0, (UriFormatException_tAA45C6D2264E9E74935A066FC3DF8DF68B37B61D **)L_1);
return;
}
}
// System.String System.UriParser::InternalGetComponents(System.Uri,System.UriComponents,System.UriFormat)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* UriParser_InternalGetComponents_mAB0A54E462724FA417D0EF3A2AD0BD24BC66DFF8 (UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * __this, Uri_t4A915E1CC15B2C650F478099AD448E9466CBF612 * ___thisUri0, int32_t ___uriComponents1, int32_t ___uriFormat2, const RuntimeMethod* method)
{
{
Uri_t4A915E1CC15B2C650F478099AD448E9466CBF612 * L_0 = ___thisUri0;
int32_t L_1 = ___uriComponents1;
int32_t L_2 = ___uriFormat2;
String_t* L_3;
L_3 = VirtFuncInvoker3< String_t*, Uri_t4A915E1CC15B2C650F478099AD448E9466CBF612 *, int32_t, int32_t >::Invoke(6 /* System.String System.UriParser::GetComponents(System.Uri,System.UriComponents,System.UriFormat) */, __this, L_0, L_1, L_2);
return L_3;
}
}
#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 System.UriTypeConverter::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void UriTypeConverter__ctor_mA17261C142F48B539C7255CC50CA95F730854EAB (UriTypeConverter_tF512B4F48E57AC42B460E2847743CD78F4D24694 * __this, const RuntimeMethod* method)
{
{
TypeConverter__ctor_mCD87E569A2C4CB1331A069396FFA98E65726A16C(__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 System.Net.Configuration.WebProxyScriptElement::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WebProxyScriptElement__ctor_m943D653C6A20D602A9ED7F0D13E0ED41691CC2C2 (WebProxyScriptElement_t6E2DB4259FF77920BA00BBA7AC7E0BAC995FD76F * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&WebProxyScriptElement__ctor_m943D653C6A20D602A9ED7F0D13E0ED41691CC2C2_RuntimeMethod_var);
s_Il2CppMethodInitialized = true;
}
{
il2cpp_codegen_raise_profile_exception(WebProxyScriptElement__ctor_m943D653C6A20D602A9ED7F0D13E0ED41691CC2C2_RuntimeMethod_var);
return;
}
}
// System.Configuration.ConfigurationPropertyCollection System.Net.Configuration.WebProxyScriptElement::get_Properties()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ConfigurationPropertyCollection_t8C098DB59DF7BA2C2A71369978F4225B92B2F59B * WebProxyScriptElement_get_Properties_mD29E00ECE9AAA868495BECD6D88C48BBFE74F26E (WebProxyScriptElement_t6E2DB4259FF77920BA00BBA7AC7E0BAC995FD76F * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&WebProxyScriptElement_get_Properties_mD29E00ECE9AAA868495BECD6D88C48BBFE74F26E_RuntimeMethod_var);
s_Il2CppMethodInitialized = true;
}
{
il2cpp_codegen_raise_profile_exception(WebProxyScriptElement_get_Properties_mD29E00ECE9AAA868495BECD6D88C48BBFE74F26E_RuntimeMethod_var);
return (ConfigurationPropertyCollection_t8C098DB59DF7BA2C2A71369978F4225B92B2F59B *)NULL;
}
}
#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 System.Net.Configuration.WebRequestModuleElementCollection::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WebRequestModuleElementCollection__ctor_mE32DEB8FF2F3E3582D6E9C291B6496BAFD182D3B (WebRequestModuleElementCollection_tC1A60891298C544F74DA731DDEEFE603015C09C9 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&WebRequestModuleElementCollection__ctor_mE32DEB8FF2F3E3582D6E9C291B6496BAFD182D3B_RuntimeMethod_var);
s_Il2CppMethodInitialized = true;
}
{
il2cpp_codegen_raise_profile_exception(WebRequestModuleElementCollection__ctor_mE32DEB8FF2F3E3582D6E9C291B6496BAFD182D3B_RuntimeMethod_var);
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 System.Net.Configuration.WebRequestModulesSection::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WebRequestModulesSection__ctor_mE9CD09355B8B10829D4B6D2681811DC7F199B8D2 (WebRequestModulesSection_t2F6BB673DEE919615116B391BA37F70831084603 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&WebRequestModulesSection__ctor_mE9CD09355B8B10829D4B6D2681811DC7F199B8D2_RuntimeMethod_var);
s_Il2CppMethodInitialized = true;
}
{
il2cpp_codegen_raise_profile_exception(WebRequestModulesSection__ctor_mE9CD09355B8B10829D4B6D2681811DC7F199B8D2_RuntimeMethod_var);
return;
}
}
// System.Configuration.ConfigurationPropertyCollection System.Net.Configuration.WebRequestModulesSection::get_Properties()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ConfigurationPropertyCollection_t8C098DB59DF7BA2C2A71369978F4225B92B2F59B * WebRequestModulesSection_get_Properties_mF7B71DE46486B2AF3D42FB3B877CDBC35B5FFC2E (WebRequestModulesSection_t2F6BB673DEE919615116B391BA37F70831084603 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&WebRequestModulesSection_get_Properties_mF7B71DE46486B2AF3D42FB3B877CDBC35B5FFC2E_RuntimeMethod_var);
s_Il2CppMethodInitialized = true;
}
{
il2cpp_codegen_raise_profile_exception(WebRequestModulesSection_get_Properties_mF7B71DE46486B2AF3D42FB3B877CDBC35B5FFC2E_RuntimeMethod_var);
return (ConfigurationPropertyCollection_t8C098DB59DF7BA2C2A71369978F4225B92B2F59B *)NULL;
}
}
#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 System.ComponentModel.Win32Exception::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Win32Exception__ctor_m0DCDDC4BEF1DCC24190F7AAE8BB309FB5A8A9474 (Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Marshal_tEBAFAE20369FCB1B38C49C4E27A8D8C2C4B55058_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(Marshal_tEBAFAE20369FCB1B38C49C4E27A8D8C2C4B55058_il2cpp_TypeInfo_var);
int32_t L_0;
L_0 = Marshal_GetLastWin32Error_m87DFFDB64662B46C9CF913EC08E5CEFF3A6E314D(/*hidden argument*/NULL);
Win32Exception__ctor_mF8FAD9681BA8B2EFBD1EDA7C690764FF60E85A6F(__this, L_0, /*hidden argument*/NULL);
return;
}
}
// System.Void System.ComponentModel.Win32Exception::.ctor(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Win32Exception__ctor_mF8FAD9681BA8B2EFBD1EDA7C690764FF60E85A6F (Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950 * __this, int32_t ___error0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
int32_t L_0 = ___error0;
int32_t L_1 = ___error0;
IL2CPP_RUNTIME_CLASS_INIT(Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_il2cpp_TypeInfo_var);
String_t* L_2;
L_2 = Win32Exception_GetErrorMessage_m97F829AC1253FC3BAD24E9F484ECA9F227360C9A(L_1, /*hidden argument*/NULL);
Win32Exception__ctor_mC836B11093135ABE3B7F402DCD0564E58B8CDA02(__this, L_0, L_2, /*hidden argument*/NULL);
return;
}
}
// System.Void System.ComponentModel.Win32Exception::.ctor(System.Int32,System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Win32Exception__ctor_mC836B11093135ABE3B7F402DCD0564E58B8CDA02 (Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950 * __this, int32_t ___error0, String_t* ___message1, const RuntimeMethod* method)
{
{
String_t* L_0 = ___message1;
ExternalException__ctor_m8A6870938AE42D989A00B950B2F298F70FD32AAA(__this, L_0, /*hidden argument*/NULL);
int32_t L_1 = ___error0;
__this->set_nativeErrorCode_17(L_1);
return;
}
}
// System.Void System.ComponentModel.Win32Exception::.ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Win32Exception__ctor_m712FC6079EE6F92FAB0B3DDAFD652B24FF163CC6 (Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950 * __this, SerializationInfo_t097DA64D9DB49ED7F2458E964BE8CCCF63FC67C1 * ___info0, StreamingContext_t5888E7E8C81AB6EF3B14FDDA6674F458076A8505 ___context1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral3BF6290AF676E80C38F6589505DFD9ECD0590836);
s_Il2CppMethodInitialized = true;
}
{
SerializationInfo_t097DA64D9DB49ED7F2458E964BE8CCCF63FC67C1 * L_0 = ___info0;
StreamingContext_t5888E7E8C81AB6EF3B14FDDA6674F458076A8505 L_1 = ___context1;
ExternalException__ctor_mF237400F375CB6BA1857B5C5EE7419AA59069184(__this, L_0, L_1, /*hidden argument*/NULL);
SerializationInfo_t097DA64D9DB49ED7F2458E964BE8CCCF63FC67C1 * L_2 = ___info0;
NullCheck(L_2);
int32_t L_3;
L_3 = SerializationInfo_GetInt32_mB22BBD01CBC189B7A76465CBFF7224F619395D30(L_2, _stringLiteral3BF6290AF676E80C38F6589505DFD9ECD0590836, /*hidden argument*/NULL);
__this->set_nativeErrorCode_17(L_3);
return;
}
}
// System.Void System.ComponentModel.Win32Exception::GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Win32Exception_GetObjectData_mFB1F75CC318DB1FA595ECA5466F331AEC686BB07 (Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950 * __this, SerializationInfo_t097DA64D9DB49ED7F2458E964BE8CCCF63FC67C1 * ___info0, StreamingContext_t5888E7E8C81AB6EF3B14FDDA6674F458076A8505 ___context1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral3BF6290AF676E80C38F6589505DFD9ECD0590836);
s_Il2CppMethodInitialized = true;
}
{
SerializationInfo_t097DA64D9DB49ED7F2458E964BE8CCCF63FC67C1 * L_0 = ___info0;
if (L_0)
{
goto IL_000e;
}
}
{
ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB * L_1 = (ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB_il2cpp_TypeInfo_var)));
ArgumentNullException__ctor_m81AB157B93BFE2FBFDB08B88F84B444293042F97(L_1, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralA7B00F7F25C375B2501A6ADBC86D092B23977085)), /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&Win32Exception_GetObjectData_mFB1F75CC318DB1FA595ECA5466F331AEC686BB07_RuntimeMethod_var)));
}
IL_000e:
{
SerializationInfo_t097DA64D9DB49ED7F2458E964BE8CCCF63FC67C1 * L_2 = ___info0;
int32_t L_3 = __this->get_nativeErrorCode_17();
NullCheck(L_2);
SerializationInfo_AddValue_m3DF5B182A63FFCD12287E97EA38944D0C6405BB5(L_2, _stringLiteral3BF6290AF676E80C38F6589505DFD9ECD0590836, L_3, /*hidden argument*/NULL);
SerializationInfo_t097DA64D9DB49ED7F2458E964BE8CCCF63FC67C1 * L_4 = ___info0;
StreamingContext_t5888E7E8C81AB6EF3B14FDDA6674F458076A8505 L_5 = ___context1;
Exception_GetObjectData_m2031046D41E7BEE3C743E918B358A336F99D6882(__this, L_4, L_5, /*hidden argument*/NULL);
return;
}
}
// System.String System.ComponentModel.Win32Exception::GetErrorMessage(System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Win32Exception_GetErrorMessage_m97F829AC1253FC3BAD24E9F484ECA9F227360C9A (int32_t ___error0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_TryGetValue_mA9A5AC6DC5483E78A8A41145515BF11AF259409E_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralAFA84BE1B233FD908181C2B76616E356218E5B31);
s_Il2CppMethodInitialized = true;
}
String_t* V_0 = NULL;
{
IL2CPP_RUNTIME_CLASS_INIT(Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_il2cpp_TypeInfo_var);
bool L_0 = ((Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_StaticFields*)il2cpp_codegen_static_fields_for(Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_il2cpp_TypeInfo_var))->get_s_ErrorMessagesInitialized_18();
if (L_0)
{
goto IL_000c;
}
}
{
IL2CPP_RUNTIME_CLASS_INIT(Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_il2cpp_TypeInfo_var);
Win32Exception_InitializeErrorMessages_mDC8118C693BE2CA20C9E9D5822BEFAC621F3C535(/*hidden argument*/NULL);
}
IL_000c:
{
IL2CPP_RUNTIME_CLASS_INIT(Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_il2cpp_TypeInfo_var);
Dictionary_2_t0ACB62D0885C7AB376463C70665400A39808C5FB * L_1 = ((Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_StaticFields*)il2cpp_codegen_static_fields_for(Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_il2cpp_TypeInfo_var))->get_s_ErrorMessage_19();
int32_t L_2 = ___error0;
NullCheck(L_1);
bool L_3;
L_3 = Dictionary_2_TryGetValue_mA9A5AC6DC5483E78A8A41145515BF11AF259409E(L_1, L_2, (String_t**)(&V_0), /*hidden argument*/Dictionary_2_TryGetValue_mA9A5AC6DC5483E78A8A41145515BF11AF259409E_RuntimeMethod_var);
if (!L_3)
{
goto IL_001d;
}
}
{
String_t* L_4 = V_0;
return L_4;
}
IL_001d:
{
int32_t L_5 = ___error0;
int32_t L_6 = L_5;
RuntimeObject * L_7 = Box(Int32_tFDE5F8CD43D10453F6A2E0C77FE48C6CC7009046_il2cpp_TypeInfo_var, &L_6);
String_t* L_8;
L_8 = String_Format_mB3D38E5238C3164DB4D7D29339D9E225A4496D17(_stringLiteralAFA84BE1B233FD908181C2B76616E356218E5B31, L_7, /*hidden argument*/NULL);
return L_8;
}
}
// System.Void System.ComponentModel.Win32Exception::InitializeErrorMessages()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Win32Exception_InitializeErrorMessages_mDC8118C693BE2CA20C9E9D5822BEFAC621F3C535 (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
Dictionary_2_t0ACB62D0885C7AB376463C70665400A39808C5FB * V_0 = NULL;
bool V_1 = false;
Exception_t * __last_unhandled_exception = 0;
il2cpp::utils::ExceptionSupportStack<int32_t, 2> __leave_targets;
{
IL2CPP_RUNTIME_CLASS_INIT(Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_il2cpp_TypeInfo_var);
bool L_0 = ((Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_StaticFields*)il2cpp_codegen_static_fields_for(Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_il2cpp_TypeInfo_var))->get_s_ErrorMessagesInitialized_18();
if (!L_0)
{
goto IL_0008;
}
}
{
return;
}
IL_0008:
{
IL2CPP_RUNTIME_CLASS_INIT(Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_il2cpp_TypeInfo_var);
Dictionary_2_t0ACB62D0885C7AB376463C70665400A39808C5FB * L_1 = ((Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_StaticFields*)il2cpp_codegen_static_fields_for(Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_il2cpp_TypeInfo_var))->get_s_ErrorMessage_19();
V_0 = L_1;
V_1 = (bool)0;
}
IL_0010:
try
{ // begin try (depth: 1)
{
Dictionary_2_t0ACB62D0885C7AB376463C70665400A39808C5FB * L_2 = V_0;
Monitor_Enter_mBEB6CC84184B46F26375EC3FC8921D16E48EA4C4(L_2, (bool*)(&V_1), /*hidden argument*/NULL);
IL2CPP_RUNTIME_CLASS_INIT(Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_il2cpp_TypeInfo_var);
bool L_3 = ((Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_StaticFields*)il2cpp_codegen_static_fields_for(Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_il2cpp_TypeInfo_var))->get_s_ErrorMessagesInitialized_18();
if (!L_3)
{
goto IL_0021;
}
}
IL_001f:
{
IL2CPP_LEAVE(0x38, FINALLY_002e);
}
IL_0021:
{
IL2CPP_RUNTIME_CLASS_INIT(Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_il2cpp_TypeInfo_var);
Win32Exception_InitializeErrorMessages1_mDB6558EB5202E7110C6702CC1837399830906C89(/*hidden argument*/NULL);
((Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_StaticFields*)il2cpp_codegen_static_fields_for(Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_il2cpp_TypeInfo_var))->set_s_ErrorMessagesInitialized_18((bool)1);
IL2CPP_LEAVE(0x38, FINALLY_002e);
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
__last_unhandled_exception = (Exception_t *)e.ex;
goto FINALLY_002e;
}
FINALLY_002e:
{ // begin finally (depth: 1)
{
bool L_4 = V_1;
if (!L_4)
{
goto IL_0037;
}
}
IL_0031:
{
Dictionary_2_t0ACB62D0885C7AB376463C70665400A39808C5FB * L_5 = V_0;
Monitor_Exit_mA776B403DA88AC77CDEEF67AB9F0D0E77ABD254A(L_5, /*hidden argument*/NULL);
}
IL_0037:
{
IL2CPP_END_FINALLY(46)
}
} // end finally (depth: 1)
IL2CPP_CLEANUP(46)
{
IL2CPP_RETHROW_IF_UNHANDLED(Exception_t *)
IL2CPP_JUMP_TBL(0x38, IL_0038)
}
IL_0038:
{
return;
}
}
// System.Void System.ComponentModel.Win32Exception::InitializeErrorMessages1()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Win32Exception_InitializeErrorMessages1_mDB6558EB5202E7110C6702CC1837399830906C89 (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral10FC672FB9F87F9D6AFF9F8D6BFF4199EF333405);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral11F95AF2256BE4BBDBEAF89CB3904A6AB1B3A01D);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral1207530D7D4A8643E4DA91D94090C5B782E8D4AA);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral1E8AB4D0974C246EABB424179864CCBA5DCEE064);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral20F8CFBBD4C388C4999BC67998CD7310A3357E3F);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral2243F389E5AA3DE4541A15C92A9BACE59F8BE4E3);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral254B65344AFC181606CA4DFAD96AD5ECAF4EC1A4);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral2A97A21771096701008C3221E4E58C40E34C5D2A);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral2C0C7BE659E23DAFA1146EBB9040344301391983);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral2F709974418B85825D8E38ADF52E90B7496ED7A3);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral324033F505A57738479E4A50C6C83DD40C3EEC72);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral36A832BCE093B1C64A8D587D84C04716FC3D8123);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral3D3AA5822C64FA34CB5E37391CFC58263F937F30);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral3D578B33304CEDE293DF5286833AF99CB7582472);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral3F87CFEF1A1BA898EEFCE807810982D16AC01A99);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral49FCFEB950E4FC1E14C6AB9024A0D20CC2BEB985);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral4ACEC7A42FAB928B0D1510DB60C3D35BC6DC4D9F);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral4FA8C3994CCEF6319AF0BED6CBC74C41F5E23E78);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral5274194BE573E6D86BDC850C768FAEBD25A0C72E);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral54C50EBA1F9B7D1A0F12E6A2A0DC78BF59231F31);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral5EF9365F8C43E6AB95C818EEEE9E5EF0D539BF1A);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral5EFEED0117DD1A53229D6D374013D42D30B1B19E);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral6A1647F2AA7442466F1E26B4E54D7ACAA785F886);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral6F42498ADE17E452CCFC96AF356C74D51ACA0524);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral6F60E896CBE94313C35CDF8C33C899216DA269EF);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral6FEF7F07E4E5C8758103389685FF14ABCB30BD0B);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral751F5076C7A89E0EBF4B8BBF42D19173A068D0FE);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral7A4031343C4BF504EC9F4A28169986445F910C6A);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral8398C464CEF2A8E224363DAF635848402299705A);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral85C411E2A2C61BD26D48EEB5D245D2D203BD74BA);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral95FFF748EEEE6E0D4ADA84ED41FB391126B8CFF7);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral9610F86E2CB2A021571D9CE9BF9630C0084AAF00);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral98086E81726E63C07D5EE51033D818164107DDF6);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralA07CCE227D5A4E151B0A5EF141705717C77B8CFE);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralA431B02F755D1ADA246246ACF4AD7497CFB57892);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralAC705511F599E168CB4A19DE96F050E694A04892);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralB4F44FFF8E8B6A3CA093580564BB4F0DF515EB8E);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralC0A48EDC742B92D7EFD262D5F90073EE36ECFEFF);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralC32ED50300303AD9E773DE5B27CD33A424A6F172);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralC517A672C519F103745EEF18967AD4081CBFAEE2);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralC54E67FF6B0A0F7026D9F0CA0C1E11CC59B88ADC);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralCD808C493DAE7E08DD825B3BE75EC7DF375082B6);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralCEF86F29033280F9E4D053455DDC08C8746E5E5E);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralD9EDAE09EFB19C1354AEFDA553B4B5DC28D5CD87);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralDA0721C1938DB62218B172D4D91AD61AFD6EA65A);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralDE9E1E6A7FD6E2514E97545C0BC4A067C0DAD5E7);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralDF9B137BC764E0190EA1D7EEB32F2364F3F3A2DF);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralE6FA6FADCE3B49C8F065918B497F388AB44DA05D);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralEB9599E9ABB0C609991C09C03544164393F9661D);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralEEAB711A5B5FD0EFECB9A5166B548777BDDB7901);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralF388C7719B1FB6CFBD759164BEE4F33BB420FF6E);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralF64982ECFBBDC20AF3E40B6D5C0B68965820A033);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralFCC60170DC9ECA079BBFC781ACD49B93D0E8C4AE);
s_Il2CppMethodInitialized = true;
}
{
IL2CPP_RUNTIME_CLASS_INIT(Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_il2cpp_TypeInfo_var);
Dictionary_2_t0ACB62D0885C7AB376463C70665400A39808C5FB * L_0 = ((Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_StaticFields*)il2cpp_codegen_static_fields_for(Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_il2cpp_TypeInfo_var))->get_s_ErrorMessage_19();
NullCheck(L_0);
Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0(L_0, ((int32_t)10036), _stringLiteralD9EDAE09EFB19C1354AEFDA553B4B5DC28D5CD87, /*hidden argument*/Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0_RuntimeMethod_var);
Dictionary_2_t0ACB62D0885C7AB376463C70665400A39808C5FB * L_1 = ((Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_StaticFields*)il2cpp_codegen_static_fields_for(Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_il2cpp_TypeInfo_var))->get_s_ErrorMessage_19();
NullCheck(L_1);
Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0(L_1, ((int32_t)10037), _stringLiteralFCC60170DC9ECA079BBFC781ACD49B93D0E8C4AE, /*hidden argument*/Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0_RuntimeMethod_var);
Dictionary_2_t0ACB62D0885C7AB376463C70665400A39808C5FB * L_2 = ((Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_StaticFields*)il2cpp_codegen_static_fields_for(Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_il2cpp_TypeInfo_var))->get_s_ErrorMessage_19();
NullCheck(L_2);
Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0(L_2, ((int32_t)10038), _stringLiteralC517A672C519F103745EEF18967AD4081CBFAEE2, /*hidden argument*/Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0_RuntimeMethod_var);
Dictionary_2_t0ACB62D0885C7AB376463C70665400A39808C5FB * L_3 = ((Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_StaticFields*)il2cpp_codegen_static_fields_for(Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_il2cpp_TypeInfo_var))->get_s_ErrorMessage_19();
NullCheck(L_3);
Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0(L_3, ((int32_t)10039), _stringLiteral2C0C7BE659E23DAFA1146EBB9040344301391983, /*hidden argument*/Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0_RuntimeMethod_var);
Dictionary_2_t0ACB62D0885C7AB376463C70665400A39808C5FB * L_4 = ((Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_StaticFields*)il2cpp_codegen_static_fields_for(Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_il2cpp_TypeInfo_var))->get_s_ErrorMessage_19();
NullCheck(L_4);
Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0(L_4, ((int32_t)10040), _stringLiteral95FFF748EEEE6E0D4ADA84ED41FB391126B8CFF7, /*hidden argument*/Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0_RuntimeMethod_var);
Dictionary_2_t0ACB62D0885C7AB376463C70665400A39808C5FB * L_5 = ((Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_StaticFields*)il2cpp_codegen_static_fields_for(Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_il2cpp_TypeInfo_var))->get_s_ErrorMessage_19();
NullCheck(L_5);
Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0(L_5, ((int32_t)10041), _stringLiteral54C50EBA1F9B7D1A0F12E6A2A0DC78BF59231F31, /*hidden argument*/Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0_RuntimeMethod_var);
Dictionary_2_t0ACB62D0885C7AB376463C70665400A39808C5FB * L_6 = ((Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_StaticFields*)il2cpp_codegen_static_fields_for(Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_il2cpp_TypeInfo_var))->get_s_ErrorMessage_19();
NullCheck(L_6);
Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0(L_6, ((int32_t)10042), _stringLiteral3D578B33304CEDE293DF5286833AF99CB7582472, /*hidden argument*/Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0_RuntimeMethod_var);
Dictionary_2_t0ACB62D0885C7AB376463C70665400A39808C5FB * L_7 = ((Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_StaticFields*)il2cpp_codegen_static_fields_for(Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_il2cpp_TypeInfo_var))->get_s_ErrorMessage_19();
NullCheck(L_7);
Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0(L_7, ((int32_t)10043), _stringLiteral3F87CFEF1A1BA898EEFCE807810982D16AC01A99, /*hidden argument*/Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0_RuntimeMethod_var);
Dictionary_2_t0ACB62D0885C7AB376463C70665400A39808C5FB * L_8 = ((Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_StaticFields*)il2cpp_codegen_static_fields_for(Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_il2cpp_TypeInfo_var))->get_s_ErrorMessage_19();
NullCheck(L_8);
Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0(L_8, ((int32_t)10044), _stringLiteralA07CCE227D5A4E151B0A5EF141705717C77B8CFE, /*hidden argument*/Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0_RuntimeMethod_var);
Dictionary_2_t0ACB62D0885C7AB376463C70665400A39808C5FB * L_9 = ((Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_StaticFields*)il2cpp_codegen_static_fields_for(Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_il2cpp_TypeInfo_var))->get_s_ErrorMessage_19();
NullCheck(L_9);
Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0(L_9, ((int32_t)10045), _stringLiteralC0A48EDC742B92D7EFD262D5F90073EE36ECFEFF, /*hidden argument*/Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0_RuntimeMethod_var);
Dictionary_2_t0ACB62D0885C7AB376463C70665400A39808C5FB * L_10 = ((Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_StaticFields*)il2cpp_codegen_static_fields_for(Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_il2cpp_TypeInfo_var))->get_s_ErrorMessage_19();
NullCheck(L_10);
Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0(L_10, ((int32_t)10046), _stringLiteral8398C464CEF2A8E224363DAF635848402299705A, /*hidden argument*/Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0_RuntimeMethod_var);
Dictionary_2_t0ACB62D0885C7AB376463C70665400A39808C5FB * L_11 = ((Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_StaticFields*)il2cpp_codegen_static_fields_for(Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_il2cpp_TypeInfo_var))->get_s_ErrorMessage_19();
NullCheck(L_11);
Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0(L_11, ((int32_t)10047), _stringLiteral98086E81726E63C07D5EE51033D818164107DDF6, /*hidden argument*/Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0_RuntimeMethod_var);
Dictionary_2_t0ACB62D0885C7AB376463C70665400A39808C5FB * L_12 = ((Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_StaticFields*)il2cpp_codegen_static_fields_for(Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_il2cpp_TypeInfo_var))->get_s_ErrorMessage_19();
NullCheck(L_12);
Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0(L_12, ((int32_t)10048), _stringLiteralC54E67FF6B0A0F7026D9F0CA0C1E11CC59B88ADC, /*hidden argument*/Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0_RuntimeMethod_var);
Dictionary_2_t0ACB62D0885C7AB376463C70665400A39808C5FB * L_13 = ((Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_StaticFields*)il2cpp_codegen_static_fields_for(Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_il2cpp_TypeInfo_var))->get_s_ErrorMessage_19();
NullCheck(L_13);
Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0(L_13, ((int32_t)10049), _stringLiteralDF9B137BC764E0190EA1D7EEB32F2364F3F3A2DF, /*hidden argument*/Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0_RuntimeMethod_var);
Dictionary_2_t0ACB62D0885C7AB376463C70665400A39808C5FB * L_14 = ((Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_StaticFields*)il2cpp_codegen_static_fields_for(Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_il2cpp_TypeInfo_var))->get_s_ErrorMessage_19();
NullCheck(L_14);
Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0(L_14, ((int32_t)10050), _stringLiteral4ACEC7A42FAB928B0D1510DB60C3D35BC6DC4D9F, /*hidden argument*/Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0_RuntimeMethod_var);
Dictionary_2_t0ACB62D0885C7AB376463C70665400A39808C5FB * L_15 = ((Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_StaticFields*)il2cpp_codegen_static_fields_for(Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_il2cpp_TypeInfo_var))->get_s_ErrorMessage_19();
NullCheck(L_15);
Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0(L_15, ((int32_t)10051), _stringLiteral2F709974418B85825D8E38ADF52E90B7496ED7A3, /*hidden argument*/Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0_RuntimeMethod_var);
Dictionary_2_t0ACB62D0885C7AB376463C70665400A39808C5FB * L_16 = ((Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_StaticFields*)il2cpp_codegen_static_fields_for(Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_il2cpp_TypeInfo_var))->get_s_ErrorMessage_19();
NullCheck(L_16);
Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0(L_16, ((int32_t)10052), _stringLiteral6F60E896CBE94313C35CDF8C33C899216DA269EF, /*hidden argument*/Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0_RuntimeMethod_var);
Dictionary_2_t0ACB62D0885C7AB376463C70665400A39808C5FB * L_17 = ((Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_StaticFields*)il2cpp_codegen_static_fields_for(Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_il2cpp_TypeInfo_var))->get_s_ErrorMessage_19();
NullCheck(L_17);
Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0(L_17, ((int32_t)10053), _stringLiteral5274194BE573E6D86BDC850C768FAEBD25A0C72E, /*hidden argument*/Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0_RuntimeMethod_var);
Dictionary_2_t0ACB62D0885C7AB376463C70665400A39808C5FB * L_18 = ((Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_StaticFields*)il2cpp_codegen_static_fields_for(Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_il2cpp_TypeInfo_var))->get_s_ErrorMessage_19();
NullCheck(L_18);
Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0(L_18, ((int32_t)10054), _stringLiteral6F42498ADE17E452CCFC96AF356C74D51ACA0524, /*hidden argument*/Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0_RuntimeMethod_var);
Dictionary_2_t0ACB62D0885C7AB376463C70665400A39808C5FB * L_19 = ((Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_StaticFields*)il2cpp_codegen_static_fields_for(Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_il2cpp_TypeInfo_var))->get_s_ErrorMessage_19();
NullCheck(L_19);
Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0(L_19, ((int32_t)10055), _stringLiteralF388C7719B1FB6CFBD759164BEE4F33BB420FF6E, /*hidden argument*/Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0_RuntimeMethod_var);
Dictionary_2_t0ACB62D0885C7AB376463C70665400A39808C5FB * L_20 = ((Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_StaticFields*)il2cpp_codegen_static_fields_for(Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_il2cpp_TypeInfo_var))->get_s_ErrorMessage_19();
NullCheck(L_20);
Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0(L_20, ((int32_t)10056), _stringLiteral751F5076C7A89E0EBF4B8BBF42D19173A068D0FE, /*hidden argument*/Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0_RuntimeMethod_var);
Dictionary_2_t0ACB62D0885C7AB376463C70665400A39808C5FB * L_21 = ((Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_StaticFields*)il2cpp_codegen_static_fields_for(Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_il2cpp_TypeInfo_var))->get_s_ErrorMessage_19();
NullCheck(L_21);
Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0(L_21, ((int32_t)10057), _stringLiteral5EFEED0117DD1A53229D6D374013D42D30B1B19E, /*hidden argument*/Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0_RuntimeMethod_var);
Dictionary_2_t0ACB62D0885C7AB376463C70665400A39808C5FB * L_22 = ((Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_StaticFields*)il2cpp_codegen_static_fields_for(Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_il2cpp_TypeInfo_var))->get_s_ErrorMessage_19();
NullCheck(L_22);
Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0(L_22, ((int32_t)10058), _stringLiteral85C411E2A2C61BD26D48EEB5D245D2D203BD74BA, /*hidden argument*/Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0_RuntimeMethod_var);
Dictionary_2_t0ACB62D0885C7AB376463C70665400A39808C5FB * L_23 = ((Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_StaticFields*)il2cpp_codegen_static_fields_for(Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_il2cpp_TypeInfo_var))->get_s_ErrorMessage_19();
NullCheck(L_23);
Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0(L_23, ((int32_t)10059), _stringLiteralAC705511F599E168CB4A19DE96F050E694A04892, /*hidden argument*/Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0_RuntimeMethod_var);
Dictionary_2_t0ACB62D0885C7AB376463C70665400A39808C5FB * L_24 = ((Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_StaticFields*)il2cpp_codegen_static_fields_for(Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_il2cpp_TypeInfo_var))->get_s_ErrorMessage_19();
NullCheck(L_24);
Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0(L_24, ((int32_t)10060), _stringLiteralE6FA6FADCE3B49C8F065918B497F388AB44DA05D, /*hidden argument*/Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0_RuntimeMethod_var);
Dictionary_2_t0ACB62D0885C7AB376463C70665400A39808C5FB * L_25 = ((Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_StaticFields*)il2cpp_codegen_static_fields_for(Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_il2cpp_TypeInfo_var))->get_s_ErrorMessage_19();
NullCheck(L_25);
Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0(L_25, ((int32_t)10061), _stringLiteralA431B02F755D1ADA246246ACF4AD7497CFB57892, /*hidden argument*/Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0_RuntimeMethod_var);
Dictionary_2_t0ACB62D0885C7AB376463C70665400A39808C5FB * L_26 = ((Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_StaticFields*)il2cpp_codegen_static_fields_for(Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_il2cpp_TypeInfo_var))->get_s_ErrorMessage_19();
NullCheck(L_26);
Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0(L_26, ((int32_t)10062), _stringLiteral4FA8C3994CCEF6319AF0BED6CBC74C41F5E23E78, /*hidden argument*/Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0_RuntimeMethod_var);
Dictionary_2_t0ACB62D0885C7AB376463C70665400A39808C5FB * L_27 = ((Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_StaticFields*)il2cpp_codegen_static_fields_for(Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_il2cpp_TypeInfo_var))->get_s_ErrorMessage_19();
NullCheck(L_27);
Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0(L_27, ((int32_t)10063), _stringLiteralCD808C493DAE7E08DD825B3BE75EC7DF375082B6, /*hidden argument*/Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0_RuntimeMethod_var);
Dictionary_2_t0ACB62D0885C7AB376463C70665400A39808C5FB * L_28 = ((Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_StaticFields*)il2cpp_codegen_static_fields_for(Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_il2cpp_TypeInfo_var))->get_s_ErrorMessage_19();
NullCheck(L_28);
Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0(L_28, ((int32_t)10064), _stringLiteralC32ED50300303AD9E773DE5B27CD33A424A6F172, /*hidden argument*/Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0_RuntimeMethod_var);
Dictionary_2_t0ACB62D0885C7AB376463C70665400A39808C5FB * L_29 = ((Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_StaticFields*)il2cpp_codegen_static_fields_for(Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_il2cpp_TypeInfo_var))->get_s_ErrorMessage_19();
NullCheck(L_29);
Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0(L_29, ((int32_t)10065), _stringLiteralCEF86F29033280F9E4D053455DDC08C8746E5E5E, /*hidden argument*/Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0_RuntimeMethod_var);
Dictionary_2_t0ACB62D0885C7AB376463C70665400A39808C5FB * L_30 = ((Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_StaticFields*)il2cpp_codegen_static_fields_for(Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_il2cpp_TypeInfo_var))->get_s_ErrorMessage_19();
NullCheck(L_30);
Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0(L_30, ((int32_t)10066), _stringLiteral254B65344AFC181606CA4DFAD96AD5ECAF4EC1A4, /*hidden argument*/Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0_RuntimeMethod_var);
Dictionary_2_t0ACB62D0885C7AB376463C70665400A39808C5FB * L_31 = ((Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_StaticFields*)il2cpp_codegen_static_fields_for(Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_il2cpp_TypeInfo_var))->get_s_ErrorMessage_19();
NullCheck(L_31);
Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0(L_31, ((int32_t)10067), _stringLiteralEEAB711A5B5FD0EFECB9A5166B548777BDDB7901, /*hidden argument*/Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0_RuntimeMethod_var);
Dictionary_2_t0ACB62D0885C7AB376463C70665400A39808C5FB * L_32 = ((Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_StaticFields*)il2cpp_codegen_static_fields_for(Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_il2cpp_TypeInfo_var))->get_s_ErrorMessage_19();
NullCheck(L_32);
Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0(L_32, ((int32_t)10068), _stringLiteral2A97A21771096701008C3221E4E58C40E34C5D2A, /*hidden argument*/Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0_RuntimeMethod_var);
Dictionary_2_t0ACB62D0885C7AB376463C70665400A39808C5FB * L_33 = ((Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_StaticFields*)il2cpp_codegen_static_fields_for(Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_il2cpp_TypeInfo_var))->get_s_ErrorMessage_19();
NullCheck(L_33);
Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0(L_33, ((int32_t)10069), _stringLiteral10FC672FB9F87F9D6AFF9F8D6BFF4199EF333405, /*hidden argument*/Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0_RuntimeMethod_var);
Dictionary_2_t0ACB62D0885C7AB376463C70665400A39808C5FB * L_34 = ((Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_StaticFields*)il2cpp_codegen_static_fields_for(Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_il2cpp_TypeInfo_var))->get_s_ErrorMessage_19();
NullCheck(L_34);
Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0(L_34, ((int32_t)10070), _stringLiteral20F8CFBBD4C388C4999BC67998CD7310A3357E3F, /*hidden argument*/Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0_RuntimeMethod_var);
Dictionary_2_t0ACB62D0885C7AB376463C70665400A39808C5FB * L_35 = ((Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_StaticFields*)il2cpp_codegen_static_fields_for(Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_il2cpp_TypeInfo_var))->get_s_ErrorMessage_19();
NullCheck(L_35);
Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0(L_35, ((int32_t)10071), _stringLiteral1207530D7D4A8643E4DA91D94090C5B782E8D4AA, /*hidden argument*/Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0_RuntimeMethod_var);
Dictionary_2_t0ACB62D0885C7AB376463C70665400A39808C5FB * L_36 = ((Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_StaticFields*)il2cpp_codegen_static_fields_for(Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_il2cpp_TypeInfo_var))->get_s_ErrorMessage_19();
NullCheck(L_36);
Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0(L_36, ((int32_t)10091), _stringLiteral6A1647F2AA7442466F1E26B4E54D7ACAA785F886, /*hidden argument*/Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0_RuntimeMethod_var);
Dictionary_2_t0ACB62D0885C7AB376463C70665400A39808C5FB * L_37 = ((Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_StaticFields*)il2cpp_codegen_static_fields_for(Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_il2cpp_TypeInfo_var))->get_s_ErrorMessage_19();
NullCheck(L_37);
Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0(L_37, ((int32_t)10092), _stringLiteral36A832BCE093B1C64A8D587D84C04716FC3D8123, /*hidden argument*/Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0_RuntimeMethod_var);
Dictionary_2_t0ACB62D0885C7AB376463C70665400A39808C5FB * L_38 = ((Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_StaticFields*)il2cpp_codegen_static_fields_for(Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_il2cpp_TypeInfo_var))->get_s_ErrorMessage_19();
NullCheck(L_38);
Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0(L_38, ((int32_t)10093), _stringLiteral2243F389E5AA3DE4541A15C92A9BACE59F8BE4E3, /*hidden argument*/Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0_RuntimeMethod_var);
Dictionary_2_t0ACB62D0885C7AB376463C70665400A39808C5FB * L_39 = ((Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_StaticFields*)il2cpp_codegen_static_fields_for(Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_il2cpp_TypeInfo_var))->get_s_ErrorMessage_19();
NullCheck(L_39);
Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0(L_39, ((int32_t)10101), _stringLiteral49FCFEB950E4FC1E14C6AB9024A0D20CC2BEB985, /*hidden argument*/Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0_RuntimeMethod_var);
Dictionary_2_t0ACB62D0885C7AB376463C70665400A39808C5FB * L_40 = ((Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_StaticFields*)il2cpp_codegen_static_fields_for(Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_il2cpp_TypeInfo_var))->get_s_ErrorMessage_19();
NullCheck(L_40);
Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0(L_40, ((int32_t)10102), _stringLiteral3D3AA5822C64FA34CB5E37391CFC58263F937F30, /*hidden argument*/Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0_RuntimeMethod_var);
Dictionary_2_t0ACB62D0885C7AB376463C70665400A39808C5FB * L_41 = ((Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_StaticFields*)il2cpp_codegen_static_fields_for(Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_il2cpp_TypeInfo_var))->get_s_ErrorMessage_19();
NullCheck(L_41);
Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0(L_41, ((int32_t)10103), _stringLiteral324033F505A57738479E4A50C6C83DD40C3EEC72, /*hidden argument*/Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0_RuntimeMethod_var);
Dictionary_2_t0ACB62D0885C7AB376463C70665400A39808C5FB * L_42 = ((Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_StaticFields*)il2cpp_codegen_static_fields_for(Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_il2cpp_TypeInfo_var))->get_s_ErrorMessage_19();
NullCheck(L_42);
Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0(L_42, ((int32_t)10104), _stringLiteralB4F44FFF8E8B6A3CA093580564BB4F0DF515EB8E, /*hidden argument*/Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0_RuntimeMethod_var);
Dictionary_2_t0ACB62D0885C7AB376463C70665400A39808C5FB * L_43 = ((Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_StaticFields*)il2cpp_codegen_static_fields_for(Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_il2cpp_TypeInfo_var))->get_s_ErrorMessage_19();
NullCheck(L_43);
Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0(L_43, ((int32_t)10105), _stringLiteralEB9599E9ABB0C609991C09C03544164393F9661D, /*hidden argument*/Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0_RuntimeMethod_var);
Dictionary_2_t0ACB62D0885C7AB376463C70665400A39808C5FB * L_44 = ((Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_StaticFields*)il2cpp_codegen_static_fields_for(Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_il2cpp_TypeInfo_var))->get_s_ErrorMessage_19();
NullCheck(L_44);
Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0(L_44, ((int32_t)10106), _stringLiteral6FEF7F07E4E5C8758103389685FF14ABCB30BD0B, /*hidden argument*/Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0_RuntimeMethod_var);
Dictionary_2_t0ACB62D0885C7AB376463C70665400A39808C5FB * L_45 = ((Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_StaticFields*)il2cpp_codegen_static_fields_for(Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_il2cpp_TypeInfo_var))->get_s_ErrorMessage_19();
NullCheck(L_45);
Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0(L_45, ((int32_t)10107), _stringLiteral1E8AB4D0974C246EABB424179864CCBA5DCEE064, /*hidden argument*/Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0_RuntimeMethod_var);
Dictionary_2_t0ACB62D0885C7AB376463C70665400A39808C5FB * L_46 = ((Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_StaticFields*)il2cpp_codegen_static_fields_for(Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_il2cpp_TypeInfo_var))->get_s_ErrorMessage_19();
NullCheck(L_46);
Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0(L_46, ((int32_t)10108), _stringLiteralDA0721C1938DB62218B172D4D91AD61AFD6EA65A, /*hidden argument*/Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0_RuntimeMethod_var);
Dictionary_2_t0ACB62D0885C7AB376463C70665400A39808C5FB * L_47 = ((Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_StaticFields*)il2cpp_codegen_static_fields_for(Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_il2cpp_TypeInfo_var))->get_s_ErrorMessage_19();
NullCheck(L_47);
Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0(L_47, ((int32_t)10109), _stringLiteral7A4031343C4BF504EC9F4A28169986445F910C6A, /*hidden argument*/Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0_RuntimeMethod_var);
Dictionary_2_t0ACB62D0885C7AB376463C70665400A39808C5FB * L_48 = ((Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_StaticFields*)il2cpp_codegen_static_fields_for(Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_il2cpp_TypeInfo_var))->get_s_ErrorMessage_19();
NullCheck(L_48);
Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0(L_48, ((int32_t)10112), _stringLiteral9610F86E2CB2A021571D9CE9BF9630C0084AAF00, /*hidden argument*/Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0_RuntimeMethod_var);
Dictionary_2_t0ACB62D0885C7AB376463C70665400A39808C5FB * L_49 = ((Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_StaticFields*)il2cpp_codegen_static_fields_for(Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_il2cpp_TypeInfo_var))->get_s_ErrorMessage_19();
NullCheck(L_49);
Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0(L_49, ((int32_t)11001), _stringLiteralDE9E1E6A7FD6E2514E97545C0BC4A067C0DAD5E7, /*hidden argument*/Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0_RuntimeMethod_var);
Dictionary_2_t0ACB62D0885C7AB376463C70665400A39808C5FB * L_50 = ((Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_StaticFields*)il2cpp_codegen_static_fields_for(Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_il2cpp_TypeInfo_var))->get_s_ErrorMessage_19();
NullCheck(L_50);
Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0(L_50, ((int32_t)11002), _stringLiteral11F95AF2256BE4BBDBEAF89CB3904A6AB1B3A01D, /*hidden argument*/Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0_RuntimeMethod_var);
Dictionary_2_t0ACB62D0885C7AB376463C70665400A39808C5FB * L_51 = ((Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_StaticFields*)il2cpp_codegen_static_fields_for(Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_il2cpp_TypeInfo_var))->get_s_ErrorMessage_19();
NullCheck(L_51);
Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0(L_51, ((int32_t)11003), _stringLiteralF64982ECFBBDC20AF3E40B6D5C0B68965820A033, /*hidden argument*/Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0_RuntimeMethod_var);
Dictionary_2_t0ACB62D0885C7AB376463C70665400A39808C5FB * L_52 = ((Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_StaticFields*)il2cpp_codegen_static_fields_for(Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_il2cpp_TypeInfo_var))->get_s_ErrorMessage_19();
NullCheck(L_52);
Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0(L_52, ((int32_t)11004), _stringLiteral5EF9365F8C43E6AB95C818EEEE9E5EF0D539BF1A, /*hidden argument*/Dictionary_2_Add_m1F0637B069C2F1C8CFC43C8B2D8C5564FA7013B0_RuntimeMethod_var);
return;
}
}
// System.Void System.ComponentModel.Win32Exception::.cctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Win32Exception__cctor_mE3B207777037932E599ED5F10568FD108903A5F0 (const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2__ctor_mB40672A269C34DB22BA5BFAF2511631483E1690E_RuntimeMethod_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_t0ACB62D0885C7AB376463C70665400A39808C5FB_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
((Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_StaticFields*)il2cpp_codegen_static_fields_for(Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_il2cpp_TypeInfo_var))->set_s_ErrorMessagesInitialized_18((bool)0);
Dictionary_2_t0ACB62D0885C7AB376463C70665400A39808C5FB * L_0 = (Dictionary_2_t0ACB62D0885C7AB376463C70665400A39808C5FB *)il2cpp_codegen_object_new(Dictionary_2_t0ACB62D0885C7AB376463C70665400A39808C5FB_il2cpp_TypeInfo_var);
Dictionary_2__ctor_mB40672A269C34DB22BA5BFAF2511631483E1690E(L_0, /*hidden argument*/Dictionary_2__ctor_mB40672A269C34DB22BA5BFAF2511631483E1690E_RuntimeMethod_var);
((Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_StaticFields*)il2cpp_codegen_static_fields_for(Win32Exception_t4B7A329153AA0E88CA08533EFB6DB2F2A8E90950_il2cpp_TypeInfo_var))->set_s_ErrorMessage_19(L_0);
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 System.Security.Cryptography.X509Certificates.X509BasicConstraintsExtension::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void X509BasicConstraintsExtension__ctor_mBFE792A93883E704745E589380F1DD7F12ECB36E (X509BasicConstraintsExtension_t790FA4E7D9715A72A621A290FF0CDD5A647EF3CF * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralBCBD089553BED56941C157C4F715B4365F724D7C);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralEDDFDA94752EB5111EC566E5CAF709B7133C43DA);
s_Il2CppMethodInitialized = true;
}
{
X509Extension__ctor_m4DF31A0909F64A47F2F8E64E814FE16E022794E7(__this, /*hidden argument*/NULL);
Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800 * L_0 = (Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800 *)il2cpp_codegen_object_new(Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800_il2cpp_TypeInfo_var);
Oid__ctor_m90964DEF8B3A9EEFAB59023627E2008E4A34983E(L_0, _stringLiteralEDDFDA94752EB5111EC566E5CAF709B7133C43DA, _stringLiteralBCBD089553BED56941C157C4F715B4365F724D7C, /*hidden argument*/NULL);
((AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA *)__this)->set__oid_0(L_0);
return;
}
}
// System.Void System.Security.Cryptography.X509Certificates.X509BasicConstraintsExtension::.ctor(System.Security.Cryptography.AsnEncodedData,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void X509BasicConstraintsExtension__ctor_m67462D9110118C82677CE42C2685C05C0767EB00 (X509BasicConstraintsExtension_t790FA4E7D9715A72A621A290FF0CDD5A647EF3CF * __this, AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA * ___encodedBasicConstraints0, bool ___critical1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralBCBD089553BED56941C157C4F715B4365F724D7C);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralEDDFDA94752EB5111EC566E5CAF709B7133C43DA);
s_Il2CppMethodInitialized = true;
}
{
X509Extension__ctor_m4DF31A0909F64A47F2F8E64E814FE16E022794E7(__this, /*hidden argument*/NULL);
Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800 * L_0 = (Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800 *)il2cpp_codegen_object_new(Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800_il2cpp_TypeInfo_var);
Oid__ctor_m90964DEF8B3A9EEFAB59023627E2008E4A34983E(L_0, _stringLiteralEDDFDA94752EB5111EC566E5CAF709B7133C43DA, _stringLiteralBCBD089553BED56941C157C4F715B4365F724D7C, /*hidden argument*/NULL);
((AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA *)__this)->set__oid_0(L_0);
AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA * L_1 = ___encodedBasicConstraints0;
NullCheck(L_1);
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2;
L_2 = AsnEncodedData_get_RawData_mDCA2B393570BA050D3840B2449447A2C10639278_inline(L_1, /*hidden argument*/NULL);
((AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA *)__this)->set__raw_1(L_2);
bool L_3 = ___critical1;
X509Extension_set_Critical_mF361A9EB776A20CA39923BD48C4A492A734144E0_inline(__this, L_3, /*hidden argument*/NULL);
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_4;
L_4 = AsnEncodedData_get_RawData_mDCA2B393570BA050D3840B2449447A2C10639278_inline(__this, /*hidden argument*/NULL);
int32_t L_5;
L_5 = X509BasicConstraintsExtension_Decode_m02EECEF97728108FE014735EDAD8C74B8461B384(__this, L_4, /*hidden argument*/NULL);
__this->set__status_8(L_5);
return;
}
}
// System.Void System.Security.Cryptography.X509Certificates.X509BasicConstraintsExtension::.ctor(System.Boolean,System.Boolean,System.Int32,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void X509BasicConstraintsExtension__ctor_m27365A2183995553C17661A9C5E6CFF474AEB33D (X509BasicConstraintsExtension_t790FA4E7D9715A72A621A290FF0CDD5A647EF3CF * __this, bool ___certificateAuthority0, bool ___hasPathLengthConstraint1, int32_t ___pathLengthConstraint2, bool ___critical3, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralBCBD089553BED56941C157C4F715B4365F724D7C);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralEDDFDA94752EB5111EC566E5CAF709B7133C43DA);
s_Il2CppMethodInitialized = true;
}
{
X509Extension__ctor_m4DF31A0909F64A47F2F8E64E814FE16E022794E7(__this, /*hidden argument*/NULL);
bool L_0 = ___hasPathLengthConstraint1;
if (!L_0)
{
goto IL_001f;
}
}
{
int32_t L_1 = ___pathLengthConstraint2;
if ((((int32_t)L_1) >= ((int32_t)0)))
{
goto IL_0018;
}
}
{
ArgumentOutOfRangeException_tFAF23713820951D4A09ABBFE5CC091E445A6F3D8 * L_2 = (ArgumentOutOfRangeException_tFAF23713820951D4A09ABBFE5CC091E445A6F3D8 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ArgumentOutOfRangeException_tFAF23713820951D4A09ABBFE5CC091E445A6F3D8_il2cpp_TypeInfo_var)));
ArgumentOutOfRangeException__ctor_m329C2882A4CB69F185E98D0DD7E853AA9220960A(L_2, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral5D1D45B6F90EF153C0073C0B7E9492B4DBF540F1)), /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_2, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&X509BasicConstraintsExtension__ctor_m27365A2183995553C17661A9C5E6CFF474AEB33D_RuntimeMethod_var)));
}
IL_0018:
{
int32_t L_3 = ___pathLengthConstraint2;
__this->set__pathLengthConstraint_7(L_3);
}
IL_001f:
{
bool L_4 = ___hasPathLengthConstraint1;
__this->set__hasPathLengthConstraint_6(L_4);
bool L_5 = ___certificateAuthority0;
__this->set__certificateAuthority_5(L_5);
Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800 * L_6 = (Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800 *)il2cpp_codegen_object_new(Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800_il2cpp_TypeInfo_var);
Oid__ctor_m90964DEF8B3A9EEFAB59023627E2008E4A34983E(L_6, _stringLiteralEDDFDA94752EB5111EC566E5CAF709B7133C43DA, _stringLiteralBCBD089553BED56941C157C4F715B4365F724D7C, /*hidden argument*/NULL);
((AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA *)__this)->set__oid_0(L_6);
bool L_7 = ___critical3;
X509Extension_set_Critical_mF361A9EB776A20CA39923BD48C4A492A734144E0_inline(__this, L_7, /*hidden argument*/NULL);
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_8;
L_8 = X509BasicConstraintsExtension_Encode_mC5E34F1B66DE0BCBD7C524C968C2C010B566843C(__this, /*hidden argument*/NULL);
AsnEncodedData_set_RawData_m867F92C32F87E4D8932D17EDF21785CA0FDA3BEA(__this, L_8, /*hidden argument*/NULL);
return;
}
}
// System.Boolean System.Security.Cryptography.X509Certificates.X509BasicConstraintsExtension::get_CertificateAuthority()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool X509BasicConstraintsExtension_get_CertificateAuthority_mF7C866A45B3DE24A06EA3256B8FC0BA1989D038D (X509BasicConstraintsExtension_t790FA4E7D9715A72A621A290FF0CDD5A647EF3CF * __this, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
int32_t L_0 = __this->get__status_8();
V_0 = L_0;
int32_t L_1 = V_0;
if (!L_1)
{
goto IL_000e;
}
}
{
int32_t L_2 = V_0;
if ((!(((uint32_t)L_2) == ((uint32_t)4))))
{
goto IL_0015;
}
}
IL_000e:
{
bool L_3 = __this->get__certificateAuthority_5();
return L_3;
}
IL_0015:
{
CryptographicException_tFFE56EF733D1150A0F3738DDE2CC4DE1A61849D5 * L_4 = (CryptographicException_tFFE56EF733D1150A0F3738DDE2CC4DE1A61849D5 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&CryptographicException_tFFE56EF733D1150A0F3738DDE2CC4DE1A61849D5_il2cpp_TypeInfo_var)));
CryptographicException__ctor_mE6D40FE819914DA1C6600907D160AD4231B46C31(L_4, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralD20A4058B7B405BF173793FAAC54A85874A0CDDE)), /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_4, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&X509BasicConstraintsExtension_get_CertificateAuthority_mF7C866A45B3DE24A06EA3256B8FC0BA1989D038D_RuntimeMethod_var)));
}
}
// System.Boolean System.Security.Cryptography.X509Certificates.X509BasicConstraintsExtension::get_HasPathLengthConstraint()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool X509BasicConstraintsExtension_get_HasPathLengthConstraint_m04C1B45C4FF2FF902B45A5B1AE309D3816A3457A (X509BasicConstraintsExtension_t790FA4E7D9715A72A621A290FF0CDD5A647EF3CF * __this, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
int32_t L_0 = __this->get__status_8();
V_0 = L_0;
int32_t L_1 = V_0;
if (!L_1)
{
goto IL_000e;
}
}
{
int32_t L_2 = V_0;
if ((!(((uint32_t)L_2) == ((uint32_t)4))))
{
goto IL_0015;
}
}
IL_000e:
{
bool L_3 = __this->get__hasPathLengthConstraint_6();
return L_3;
}
IL_0015:
{
CryptographicException_tFFE56EF733D1150A0F3738DDE2CC4DE1A61849D5 * L_4 = (CryptographicException_tFFE56EF733D1150A0F3738DDE2CC4DE1A61849D5 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&CryptographicException_tFFE56EF733D1150A0F3738DDE2CC4DE1A61849D5_il2cpp_TypeInfo_var)));
CryptographicException__ctor_mE6D40FE819914DA1C6600907D160AD4231B46C31(L_4, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralD20A4058B7B405BF173793FAAC54A85874A0CDDE)), /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_4, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&X509BasicConstraintsExtension_get_HasPathLengthConstraint_m04C1B45C4FF2FF902B45A5B1AE309D3816A3457A_RuntimeMethod_var)));
}
}
// System.Int32 System.Security.Cryptography.X509Certificates.X509BasicConstraintsExtension::get_PathLengthConstraint()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t X509BasicConstraintsExtension_get_PathLengthConstraint_m9401525125A220F1D51F130E3CC6E4C938E45566 (X509BasicConstraintsExtension_t790FA4E7D9715A72A621A290FF0CDD5A647EF3CF * __this, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
int32_t L_0 = __this->get__status_8();
V_0 = L_0;
int32_t L_1 = V_0;
if (!L_1)
{
goto IL_000e;
}
}
{
int32_t L_2 = V_0;
if ((!(((uint32_t)L_2) == ((uint32_t)4))))
{
goto IL_0015;
}
}
IL_000e:
{
int32_t L_3 = __this->get__pathLengthConstraint_7();
return L_3;
}
IL_0015:
{
CryptographicException_tFFE56EF733D1150A0F3738DDE2CC4DE1A61849D5 * L_4 = (CryptographicException_tFFE56EF733D1150A0F3738DDE2CC4DE1A61849D5 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&CryptographicException_tFFE56EF733D1150A0F3738DDE2CC4DE1A61849D5_il2cpp_TypeInfo_var)));
CryptographicException__ctor_mE6D40FE819914DA1C6600907D160AD4231B46C31(L_4, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralD20A4058B7B405BF173793FAAC54A85874A0CDDE)), /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_4, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&X509BasicConstraintsExtension_get_PathLengthConstraint_m9401525125A220F1D51F130E3CC6E4C938E45566_RuntimeMethod_var)));
}
}
// System.Void System.Security.Cryptography.X509Certificates.X509BasicConstraintsExtension::CopyFrom(System.Security.Cryptography.AsnEncodedData)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void X509BasicConstraintsExtension_CopyFrom_mB87E2C5337CEE107018289CF81AD4ED7956A6ECD (X509BasicConstraintsExtension_t790FA4E7D9715A72A621A290FF0CDD5A647EF3CF * __this, AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA * ___asnEncodedData0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&X509Extension_t9142CAA11EB46CC4CAB51A26D3B84BDA06FA9FF5_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralBCBD089553BED56941C157C4F715B4365F724D7C);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralEDDFDA94752EB5111EC566E5CAF709B7133C43DA);
s_Il2CppMethodInitialized = true;
}
X509Extension_t9142CAA11EB46CC4CAB51A26D3B84BDA06FA9FF5 * V_0 = NULL;
{
AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA * L_0 = ___asnEncodedData0;
if (L_0)
{
goto IL_000e;
}
}
{
ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB * L_1 = (ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB_il2cpp_TypeInfo_var)));
ArgumentNullException__ctor_m81AB157B93BFE2FBFDB08B88F84B444293042F97(L_1, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralC9FB8C73B342D5B3C700EDA7C5212DD547D29E4E)), /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&X509BasicConstraintsExtension_CopyFrom_mB87E2C5337CEE107018289CF81AD4ED7956A6ECD_RuntimeMethod_var)));
}
IL_000e:
{
AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA * L_2 = ___asnEncodedData0;
V_0 = ((X509Extension_t9142CAA11EB46CC4CAB51A26D3B84BDA06FA9FF5 *)IsInstClass((RuntimeObject*)L_2, X509Extension_t9142CAA11EB46CC4CAB51A26D3B84BDA06FA9FF5_il2cpp_TypeInfo_var));
X509Extension_t9142CAA11EB46CC4CAB51A26D3B84BDA06FA9FF5 * L_3 = V_0;
if (L_3)
{
goto IL_002d;
}
}
{
String_t* L_4;
L_4 = Locale_GetText_mF8FE147379A36330B41A5D5E2CAD23C18931E66E(((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralD615D452AAA84D559E3E5FFF5168A1AF47500E8D)), /*hidden argument*/NULL);
ArgumentException_t505FA8C11E883F2D96C797AD9D396490794DEE00 * L_5 = (ArgumentException_t505FA8C11E883F2D96C797AD9D396490794DEE00 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ArgumentException_t505FA8C11E883F2D96C797AD9D396490794DEE00_il2cpp_TypeInfo_var)));
ArgumentException__ctor_m71044C2110E357B71A1C30D2561C3F861AF1DC0D(L_5, L_4, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralC9FB8C73B342D5B3C700EDA7C5212DD547D29E4E)), /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_5, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&X509BasicConstraintsExtension_CopyFrom_mB87E2C5337CEE107018289CF81AD4ED7956A6ECD_RuntimeMethod_var)));
}
IL_002d:
{
X509Extension_t9142CAA11EB46CC4CAB51A26D3B84BDA06FA9FF5 * L_6 = V_0;
NullCheck(L_6);
Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800 * L_7 = ((AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA *)L_6)->get__oid_0();
if (L_7)
{
goto IL_004c;
}
}
{
Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800 * L_8 = (Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800 *)il2cpp_codegen_object_new(Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800_il2cpp_TypeInfo_var);
Oid__ctor_m90964DEF8B3A9EEFAB59023627E2008E4A34983E(L_8, _stringLiteralEDDFDA94752EB5111EC566E5CAF709B7133C43DA, _stringLiteralBCBD089553BED56941C157C4F715B4365F724D7C, /*hidden argument*/NULL);
((AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA *)__this)->set__oid_0(L_8);
goto IL_005d;
}
IL_004c:
{
X509Extension_t9142CAA11EB46CC4CAB51A26D3B84BDA06FA9FF5 * L_9 = V_0;
NullCheck(L_9);
Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800 * L_10 = ((AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA *)L_9)->get__oid_0();
Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800 * L_11 = (Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800 *)il2cpp_codegen_object_new(Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800_il2cpp_TypeInfo_var);
Oid__ctor_m8C4B7AE0D9207BCF03960553182B43B8D1536ED0(L_11, L_10, /*hidden argument*/NULL);
((AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA *)__this)->set__oid_0(L_11);
}
IL_005d:
{
X509Extension_t9142CAA11EB46CC4CAB51A26D3B84BDA06FA9FF5 * L_12 = V_0;
NullCheck(L_12);
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_13;
L_13 = AsnEncodedData_get_RawData_mDCA2B393570BA050D3840B2449447A2C10639278_inline(L_12, /*hidden argument*/NULL);
AsnEncodedData_set_RawData_m867F92C32F87E4D8932D17EDF21785CA0FDA3BEA(__this, L_13, /*hidden argument*/NULL);
X509Extension_t9142CAA11EB46CC4CAB51A26D3B84BDA06FA9FF5 * L_14 = V_0;
NullCheck(L_14);
bool L_15;
L_15 = X509Extension_get_Critical_m56CF11BDF0C2D2917C326013630709C7709DCF12_inline(L_14, /*hidden argument*/NULL);
X509Extension_set_Critical_mF361A9EB776A20CA39923BD48C4A492A734144E0_inline(__this, L_15, /*hidden argument*/NULL);
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_16;
L_16 = AsnEncodedData_get_RawData_mDCA2B393570BA050D3840B2449447A2C10639278_inline(__this, /*hidden argument*/NULL);
int32_t L_17;
L_17 = X509BasicConstraintsExtension_Decode_m02EECEF97728108FE014735EDAD8C74B8461B384(__this, L_16, /*hidden argument*/NULL);
__this->set__status_8(L_17);
return;
}
}
// System.Security.Cryptography.AsnDecodeStatus System.Security.Cryptography.X509Certificates.X509BasicConstraintsExtension::Decode(System.Byte[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t X509BasicConstraintsExtension_Decode_m02EECEF97728108FE014735EDAD8C74B8461B384 (X509BasicConstraintsExtension_t790FA4E7D9715A72A621A290FF0CDD5A647EF3CF * __this, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___extension0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8 * V_0 = NULL;
int32_t V_1 = 0;
ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8 * V_2 = NULL;
int32_t V_3 = 0;
il2cpp::utils::ExceptionSupportStack<RuntimeObject*, 1> __active_exceptions;
il2cpp::utils::ExceptionSupportStack<int32_t, 2> __leave_targets;
{
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = ___extension0;
if (!L_0)
{
goto IL_0007;
}
}
{
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1 = ___extension0;
NullCheck(L_1);
if ((((RuntimeArray*)L_1)->max_length))
{
goto IL_0009;
}
}
IL_0007:
{
return (int32_t)(1);
}
IL_0009:
{
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = ___extension0;
NullCheck(L_2);
int32_t L_3 = 0;
uint8_t L_4 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
if ((((int32_t)L_4) == ((int32_t)((int32_t)48))))
{
goto IL_0012;
}
}
{
return (int32_t)(2);
}
IL_0012:
{
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_5 = ___extension0;
NullCheck(L_5);
if ((((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_5)->max_length)))) >= ((int32_t)3)))
{
goto IL_0025;
}
}
{
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_6 = ___extension0;
NullCheck(L_6);
if ((!(((uint32_t)((int32_t)((int32_t)(((RuntimeArray*)L_6)->max_length)))) == ((uint32_t)2))))
{
goto IL_0023;
}
}
{
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_7 = ___extension0;
NullCheck(L_7);
int32_t L_8 = 1;
uint8_t L_9 = (L_7)->GetAt(static_cast<il2cpp_array_size_t>(L_8));
if (!L_9)
{
goto IL_0025;
}
}
IL_0023:
{
return (int32_t)(3);
}
IL_0025:
{
}
IL_0026:
try
{ // begin try (depth: 1)
{
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_10 = ___extension0;
ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8 * L_11 = (ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8 *)il2cpp_codegen_object_new(ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8_il2cpp_TypeInfo_var);
ASN1__ctor_mE534D499DABEAAA35E0F30572CD295A9FCFA1C7E(L_11, L_10, /*hidden argument*/NULL);
V_0 = L_11;
V_1 = 0;
ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8 * L_12 = V_0;
int32_t L_13 = V_1;
int32_t L_14 = L_13;
V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_14, (int32_t)1));
NullCheck(L_12);
ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8 * L_15;
L_15 = ASN1_get_Item_mBA4AF2346A0847038957881A98202AF8DAF09B50(L_12, L_14, /*hidden argument*/NULL);
V_2 = L_15;
ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8 * L_16 = V_2;
if (!L_16)
{
goto IL_0068;
}
}
IL_003e:
{
ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8 * L_17 = V_2;
NullCheck(L_17);
uint8_t L_18;
L_18 = ASN1_get_Tag_mA82F15B6EB97BF0F3EBAA69C21765909D7A675D3_inline(L_17, /*hidden argument*/NULL);
if ((!(((uint32_t)L_18) == ((uint32_t)1))))
{
goto IL_0068;
}
}
IL_0047:
{
ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8 * L_19 = V_2;
NullCheck(L_19);
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_20;
L_20 = ASN1_get_Value_m95545A82635424B999816713F09A224ED01DF0C2(L_19, /*hidden argument*/NULL);
NullCheck(L_20);
int32_t L_21 = 0;
uint8_t L_22 = (L_20)->GetAt(static_cast<il2cpp_array_size_t>(L_21));
__this->set__certificateAuthority_5((bool)((((int32_t)L_22) == ((int32_t)((int32_t)255)))? 1 : 0));
ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8 * L_23 = V_0;
int32_t L_24 = V_1;
int32_t L_25 = L_24;
V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_25, (int32_t)1));
NullCheck(L_23);
ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8 * L_26;
L_26 = ASN1_get_Item_mBA4AF2346A0847038957881A98202AF8DAF09B50(L_23, L_25, /*hidden argument*/NULL);
V_2 = L_26;
}
IL_0068:
{
ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8 * L_27 = V_2;
if (!L_27)
{
goto IL_0087;
}
}
IL_006b:
{
ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8 * L_28 = V_2;
NullCheck(L_28);
uint8_t L_29;
L_29 = ASN1_get_Tag_mA82F15B6EB97BF0F3EBAA69C21765909D7A675D3_inline(L_28, /*hidden argument*/NULL);
if ((!(((uint32_t)L_29) == ((uint32_t)2))))
{
goto IL_0087;
}
}
IL_0074:
{
__this->set__hasPathLengthConstraint_6((bool)1);
ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8 * L_30 = V_2;
int32_t L_31;
L_31 = ASN1Convert_ToInt32_m381CC48A18572F6F58C4332C3E07906562034A77(L_30, /*hidden argument*/NULL);
__this->set__pathLengthConstraint_7(L_31);
}
IL_0087:
{
goto IL_008e;
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
if(il2cpp_codegen_class_is_assignable_from (((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&RuntimeObject_il2cpp_TypeInfo_var)), il2cpp_codegen_object_class(e.ex)))
{
IL2CPP_PUSH_ACTIVE_EXCEPTION(e.ex);
goto CATCH_0089;
}
throw e;
}
CATCH_0089:
{ // begin catch(System.Object)
V_3 = 1;
IL2CPP_POP_ACTIVE_EXCEPTION();
goto IL_0090;
} // end catch (depth: 1)
IL_008e:
{
return (int32_t)(0);
}
IL_0090:
{
int32_t L_32 = V_3;
return L_32;
}
}
// System.Byte[] System.Security.Cryptography.X509Certificates.X509BasicConstraintsExtension::Encode()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* X509BasicConstraintsExtension_Encode_mC5E34F1B66DE0BCBD7C524C968C2C010B566843C (X509BasicConstraintsExtension_t790FA4E7D9715A72A621A290FF0CDD5A647EF3CF * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8 * V_0 = NULL;
{
ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8 * L_0 = (ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8 *)il2cpp_codegen_object_new(ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8_il2cpp_TypeInfo_var);
ASN1__ctor_mC8594B7A2376B58F26F1D0457B0F9F5880D87142(L_0, (uint8_t)((int32_t)48), /*hidden argument*/NULL);
V_0 = L_0;
bool L_1 = __this->get__certificateAuthority_5();
if (!L_1)
{
goto IL_002b;
}
}
{
ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8 * L_2 = V_0;
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3 = (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)SZArrayNew(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var, (uint32_t)1);
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_4 = L_3;
NullCheck(L_4);
(L_4)->SetAt(static_cast<il2cpp_array_size_t>(0), (uint8_t)((int32_t)255));
ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8 * L_5 = (ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8 *)il2cpp_codegen_object_new(ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8_il2cpp_TypeInfo_var);
ASN1__ctor_mB8A19279E6079D30BB6A594ADAC7FEE89E822CDC(L_5, (uint8_t)1, L_4, /*hidden argument*/NULL);
NullCheck(L_2);
ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8 * L_6;
L_6 = ASN1_Add_m35AB44F469BE9C185A91D2E265A7DA6B27311F7B(L_2, L_5, /*hidden argument*/NULL);
}
IL_002b:
{
bool L_7 = __this->get__hasPathLengthConstraint_6();
if (!L_7)
{
goto IL_0062;
}
}
{
int32_t L_8 = __this->get__pathLengthConstraint_7();
if (L_8)
{
goto IL_0050;
}
}
{
ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8 * L_9 = V_0;
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_10 = (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)SZArrayNew(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var, (uint32_t)1);
ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8 * L_11 = (ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8 *)il2cpp_codegen_object_new(ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8_il2cpp_TypeInfo_var);
ASN1__ctor_mB8A19279E6079D30BB6A594ADAC7FEE89E822CDC(L_11, (uint8_t)2, L_10, /*hidden argument*/NULL);
NullCheck(L_9);
ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8 * L_12;
L_12 = ASN1_Add_m35AB44F469BE9C185A91D2E265A7DA6B27311F7B(L_9, L_11, /*hidden argument*/NULL);
goto IL_0062;
}
IL_0050:
{
ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8 * L_13 = V_0;
int32_t L_14 = __this->get__pathLengthConstraint_7();
ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8 * L_15;
L_15 = ASN1Convert_FromInt32_m2EB0E4A8D3D06D4EE1BEFD4F50E9021FF6B82FA2(L_14, /*hidden argument*/NULL);
NullCheck(L_13);
ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8 * L_16;
L_16 = ASN1_Add_m35AB44F469BE9C185A91D2E265A7DA6B27311F7B(L_13, L_15, /*hidden argument*/NULL);
}
IL_0062:
{
ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8 * L_17 = V_0;
NullCheck(L_17);
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_18;
L_18 = VirtFuncInvoker0< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(4 /* System.Byte[] Mono.Security.ASN1::GetBytes() */, L_17);
return L_18;
}
}
// System.String System.Security.Cryptography.X509Certificates.X509BasicConstraintsExtension::ToString(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* X509BasicConstraintsExtension_ToString_m4ABD6F1E1B7271403EA6250EFDCF400D68B8256D (X509BasicConstraintsExtension_t790FA4E7D9715A72A621A290FF0CDD5A647EF3CF * __this, bool ___multiLine0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&StringBuilder_t_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&String_t_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral244BA6FE8878C6A66F7648332C07125DF3AFBC4B);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral2F874A32C0360779E461A5ED6063EF8E6729A514);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral324A15BBCCD67A1997F37BF20414A7EB61126AB5);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral548D93DDB2AC6B24373148B19D9A625571AB2318);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral758733BDBED83CBFF4F635AC26CA92AAE477F75D);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral8D1E32D587015A9DB04576A49D22A6924F1B9D62);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralCD32F08BAB4EE365057213BCC6332DD39C2DE46B);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralD9B53FE83B364433B53BD1F5712DD31D58258FB4);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralEDDFDA94752EB5111EC566E5CAF709B7133C43DA);
s_Il2CppMethodInitialized = true;
}
StringBuilder_t * V_0 = NULL;
int32_t V_1 = 0;
{
int32_t L_0 = __this->get__status_8();
V_1 = L_0;
int32_t L_1 = V_1;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_1, (int32_t)1)))
{
case 0:
{
goto IL_0021;
}
case 1:
{
goto IL_0027;
}
case 2:
{
goto IL_0027;
}
case 3:
{
goto IL_0034;
}
}
}
{
goto IL_003a;
}
IL_0021:
{
String_t* L_2 = ((String_t_StaticFields*)il2cpp_codegen_static_fields_for(String_t_il2cpp_TypeInfo_var))->get_Empty_5();
return L_2;
}
IL_0027:
{
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3 = ((AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA *)__this)->get__raw_1();
String_t* L_4;
L_4 = X509Extension_FormatUnkownData_mEF1E719F7AD312B099351C581F4A06925AD9F18A(__this, L_3, /*hidden argument*/NULL);
return L_4;
}
IL_0034:
{
return _stringLiteralCD32F08BAB4EE365057213BCC6332DD39C2DE46B;
}
IL_003a:
{
Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800 * L_5 = ((AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA *)__this)->get__oid_0();
NullCheck(L_5);
String_t* L_6;
L_6 = Oid_get_Value_mD6F4D8AC1A3821D5DA263728C2DC0C208D084A78_inline(L_5, /*hidden argument*/NULL);
bool L_7;
L_7 = String_op_Inequality_mDDA2DDED3E7EF042987EB7180EE3E88105F0AAE2(L_6, _stringLiteralEDDFDA94752EB5111EC566E5CAF709B7133C43DA, /*hidden argument*/NULL);
if (!L_7)
{
goto IL_0067;
}
}
{
Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800 * L_8 = ((AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA *)__this)->get__oid_0();
NullCheck(L_8);
String_t* L_9;
L_9 = Oid_get_Value_mD6F4D8AC1A3821D5DA263728C2DC0C208D084A78_inline(L_8, /*hidden argument*/NULL);
String_t* L_10;
L_10 = String_Format_mB3D38E5238C3164DB4D7D29339D9E225A4496D17(_stringLiteralD9B53FE83B364433B53BD1F5712DD31D58258FB4, L_9, /*hidden argument*/NULL);
return L_10;
}
IL_0067:
{
StringBuilder_t * L_11 = (StringBuilder_t *)il2cpp_codegen_object_new(StringBuilder_t_il2cpp_TypeInfo_var);
StringBuilder__ctor_m5A81DE19E748F748E19FF13FB6FFD2547F9212D9(L_11, /*hidden argument*/NULL);
V_0 = L_11;
StringBuilder_t * L_12 = V_0;
NullCheck(L_12);
StringBuilder_t * L_13;
L_13 = StringBuilder_Append_mD02AB0C74C6F55E3E330818C77EC147E22096FB1(L_12, _stringLiteral244BA6FE8878C6A66F7648332C07125DF3AFBC4B, /*hidden argument*/NULL);
bool L_14 = __this->get__certificateAuthority_5();
if (!L_14)
{
goto IL_008f;
}
}
{
StringBuilder_t * L_15 = V_0;
NullCheck(L_15);
StringBuilder_t * L_16;
L_16 = StringBuilder_Append_mD02AB0C74C6F55E3E330818C77EC147E22096FB1(L_15, _stringLiteral2F874A32C0360779E461A5ED6063EF8E6729A514, /*hidden argument*/NULL);
goto IL_009b;
}
IL_008f:
{
StringBuilder_t * L_17 = V_0;
NullCheck(L_17);
StringBuilder_t * L_18;
L_18 = StringBuilder_Append_mD02AB0C74C6F55E3E330818C77EC147E22096FB1(L_17, _stringLiteral8D1E32D587015A9DB04576A49D22A6924F1B9D62, /*hidden argument*/NULL);
}
IL_009b:
{
bool L_19 = ___multiLine0;
if (!L_19)
{
goto IL_00ac;
}
}
{
StringBuilder_t * L_20 = V_0;
String_t* L_21;
L_21 = Environment_get_NewLine_mD145C8EE917C986BAA7C5243DEFAF4D333C521B4(/*hidden argument*/NULL);
NullCheck(L_20);
StringBuilder_t * L_22;
L_22 = StringBuilder_Append_mD02AB0C74C6F55E3E330818C77EC147E22096FB1(L_20, L_21, /*hidden argument*/NULL);
goto IL_00b8;
}
IL_00ac:
{
StringBuilder_t * L_23 = V_0;
NullCheck(L_23);
StringBuilder_t * L_24;
L_24 = StringBuilder_Append_mD02AB0C74C6F55E3E330818C77EC147E22096FB1(L_23, _stringLiteral758733BDBED83CBFF4F635AC26CA92AAE477F75D, /*hidden argument*/NULL);
}
IL_00b8:
{
StringBuilder_t * L_25 = V_0;
NullCheck(L_25);
StringBuilder_t * L_26;
L_26 = StringBuilder_Append_mD02AB0C74C6F55E3E330818C77EC147E22096FB1(L_25, _stringLiteral324A15BBCCD67A1997F37BF20414A7EB61126AB5, /*hidden argument*/NULL);
bool L_27 = __this->get__hasPathLengthConstraint_6();
if (!L_27)
{
goto IL_00db;
}
}
{
StringBuilder_t * L_28 = V_0;
int32_t L_29 = __this->get__pathLengthConstraint_7();
NullCheck(L_28);
StringBuilder_t * L_30;
L_30 = StringBuilder_Append_m796285D173EEA5261E85B95FC79DD4F996CC93DD(L_28, L_29, /*hidden argument*/NULL);
goto IL_00e7;
}
IL_00db:
{
StringBuilder_t * L_31 = V_0;
NullCheck(L_31);
StringBuilder_t * L_32;
L_32 = StringBuilder_Append_mD02AB0C74C6F55E3E330818C77EC147E22096FB1(L_31, _stringLiteral548D93DDB2AC6B24373148B19D9A625571AB2318, /*hidden argument*/NULL);
}
IL_00e7:
{
bool L_33 = ___multiLine0;
if (!L_33)
{
goto IL_00f6;
}
}
{
StringBuilder_t * L_34 = V_0;
String_t* L_35;
L_35 = Environment_get_NewLine_mD145C8EE917C986BAA7C5243DEFAF4D333C521B4(/*hidden argument*/NULL);
NullCheck(L_34);
StringBuilder_t * L_36;
L_36 = StringBuilder_Append_mD02AB0C74C6F55E3E330818C77EC147E22096FB1(L_34, L_35, /*hidden argument*/NULL);
}
IL_00f6:
{
StringBuilder_t * L_37 = V_0;
NullCheck(L_37);
String_t* L_38;
L_38 = VirtFuncInvoker0< String_t* >::Invoke(3 /* System.String System.Object::ToString() */, L_37);
return L_38;
}
}
#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 System.Security.Cryptography.X509Certificates.X509EnhancedKeyUsageExtension::.ctor(System.Security.Cryptography.AsnEncodedData,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void X509EnhancedKeyUsageExtension__ctor_m64F507CB1938AA4BC20287D731B74DF5CC99A96C (X509EnhancedKeyUsageExtension_tD53B0C2AF93C2496461F2960946C5F40A33AC82B * __this, AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA * ___encodedEnhancedKeyUsages0, bool ___critical1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral1EF9E33E97E3023577871E2EA773996440F2F5F9);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral5EDC47BC71D706BB11343CC890323569C143CD50);
s_Il2CppMethodInitialized = true;
}
{
X509Extension__ctor_m4DF31A0909F64A47F2F8E64E814FE16E022794E7(__this, /*hidden argument*/NULL);
Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800 * L_0 = (Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800 *)il2cpp_codegen_object_new(Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800_il2cpp_TypeInfo_var);
Oid__ctor_m90964DEF8B3A9EEFAB59023627E2008E4A34983E(L_0, _stringLiteral5EDC47BC71D706BB11343CC890323569C143CD50, _stringLiteral1EF9E33E97E3023577871E2EA773996440F2F5F9, /*hidden argument*/NULL);
((AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA *)__this)->set__oid_0(L_0);
AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA * L_1 = ___encodedEnhancedKeyUsages0;
NullCheck(L_1);
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2;
L_2 = AsnEncodedData_get_RawData_mDCA2B393570BA050D3840B2449447A2C10639278_inline(L_1, /*hidden argument*/NULL);
((AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA *)__this)->set__raw_1(L_2);
bool L_3 = ___critical1;
X509Extension_set_Critical_mF361A9EB776A20CA39923BD48C4A492A734144E0_inline(__this, L_3, /*hidden argument*/NULL);
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_4;
L_4 = AsnEncodedData_get_RawData_mDCA2B393570BA050D3840B2449447A2C10639278_inline(__this, /*hidden argument*/NULL);
int32_t L_5;
L_5 = X509EnhancedKeyUsageExtension_Decode_m610C0C741966205F6DC0492BD17B28E1FED8D648(__this, L_4, /*hidden argument*/NULL);
__this->set__status_4(L_5);
return;
}
}
// System.Void System.Security.Cryptography.X509Certificates.X509EnhancedKeyUsageExtension::CopyFrom(System.Security.Cryptography.AsnEncodedData)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void X509EnhancedKeyUsageExtension_CopyFrom_mDD12A69F6804BA6B137A459CD941B367274C2B25 (X509EnhancedKeyUsageExtension_tD53B0C2AF93C2496461F2960946C5F40A33AC82B * __this, AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA * ___asnEncodedData0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&X509Extension_t9142CAA11EB46CC4CAB51A26D3B84BDA06FA9FF5_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral1EF9E33E97E3023577871E2EA773996440F2F5F9);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral5EDC47BC71D706BB11343CC890323569C143CD50);
s_Il2CppMethodInitialized = true;
}
X509Extension_t9142CAA11EB46CC4CAB51A26D3B84BDA06FA9FF5 * V_0 = NULL;
{
AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA * L_0 = ___asnEncodedData0;
if (L_0)
{
goto IL_000e;
}
}
{
ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB * L_1 = (ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB_il2cpp_TypeInfo_var)));
ArgumentNullException__ctor_m81AB157B93BFE2FBFDB08B88F84B444293042F97(L_1, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralB2AED74A19DD9414DD0792FD340CC531536B8454)), /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&X509EnhancedKeyUsageExtension_CopyFrom_mDD12A69F6804BA6B137A459CD941B367274C2B25_RuntimeMethod_var)));
}
IL_000e:
{
AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA * L_2 = ___asnEncodedData0;
V_0 = ((X509Extension_t9142CAA11EB46CC4CAB51A26D3B84BDA06FA9FF5 *)IsInstClass((RuntimeObject*)L_2, X509Extension_t9142CAA11EB46CC4CAB51A26D3B84BDA06FA9FF5_il2cpp_TypeInfo_var));
X509Extension_t9142CAA11EB46CC4CAB51A26D3B84BDA06FA9FF5 * L_3 = V_0;
if (L_3)
{
goto IL_002d;
}
}
{
String_t* L_4;
L_4 = Locale_GetText_mF8FE147379A36330B41A5D5E2CAD23C18931E66E(((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralD615D452AAA84D559E3E5FFF5168A1AF47500E8D)), /*hidden argument*/NULL);
ArgumentException_t505FA8C11E883F2D96C797AD9D396490794DEE00 * L_5 = (ArgumentException_t505FA8C11E883F2D96C797AD9D396490794DEE00 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ArgumentException_t505FA8C11E883F2D96C797AD9D396490794DEE00_il2cpp_TypeInfo_var)));
ArgumentException__ctor_m71044C2110E357B71A1C30D2561C3F861AF1DC0D(L_5, L_4, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralC9FB8C73B342D5B3C700EDA7C5212DD547D29E4E)), /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_5, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&X509EnhancedKeyUsageExtension_CopyFrom_mDD12A69F6804BA6B137A459CD941B367274C2B25_RuntimeMethod_var)));
}
IL_002d:
{
X509Extension_t9142CAA11EB46CC4CAB51A26D3B84BDA06FA9FF5 * L_6 = V_0;
NullCheck(L_6);
Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800 * L_7 = ((AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA *)L_6)->get__oid_0();
if (L_7)
{
goto IL_004c;
}
}
{
Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800 * L_8 = (Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800 *)il2cpp_codegen_object_new(Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800_il2cpp_TypeInfo_var);
Oid__ctor_m90964DEF8B3A9EEFAB59023627E2008E4A34983E(L_8, _stringLiteral5EDC47BC71D706BB11343CC890323569C143CD50, _stringLiteral1EF9E33E97E3023577871E2EA773996440F2F5F9, /*hidden argument*/NULL);
((AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA *)__this)->set__oid_0(L_8);
goto IL_005d;
}
IL_004c:
{
X509Extension_t9142CAA11EB46CC4CAB51A26D3B84BDA06FA9FF5 * L_9 = V_0;
NullCheck(L_9);
Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800 * L_10 = ((AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA *)L_9)->get__oid_0();
Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800 * L_11 = (Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800 *)il2cpp_codegen_object_new(Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800_il2cpp_TypeInfo_var);
Oid__ctor_m8C4B7AE0D9207BCF03960553182B43B8D1536ED0(L_11, L_10, /*hidden argument*/NULL);
((AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA *)__this)->set__oid_0(L_11);
}
IL_005d:
{
X509Extension_t9142CAA11EB46CC4CAB51A26D3B84BDA06FA9FF5 * L_12 = V_0;
NullCheck(L_12);
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_13;
L_13 = AsnEncodedData_get_RawData_mDCA2B393570BA050D3840B2449447A2C10639278_inline(L_12, /*hidden argument*/NULL);
AsnEncodedData_set_RawData_m867F92C32F87E4D8932D17EDF21785CA0FDA3BEA(__this, L_13, /*hidden argument*/NULL);
X509Extension_t9142CAA11EB46CC4CAB51A26D3B84BDA06FA9FF5 * L_14 = V_0;
NullCheck(L_14);
bool L_15;
L_15 = X509Extension_get_Critical_m56CF11BDF0C2D2917C326013630709C7709DCF12_inline(L_14, /*hidden argument*/NULL);
X509Extension_set_Critical_mF361A9EB776A20CA39923BD48C4A492A734144E0_inline(__this, L_15, /*hidden argument*/NULL);
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_16;
L_16 = AsnEncodedData_get_RawData_mDCA2B393570BA050D3840B2449447A2C10639278_inline(__this, /*hidden argument*/NULL);
int32_t L_17;
L_17 = X509EnhancedKeyUsageExtension_Decode_m610C0C741966205F6DC0492BD17B28E1FED8D648(__this, L_16, /*hidden argument*/NULL);
__this->set__status_4(L_17);
return;
}
}
// System.Security.Cryptography.AsnDecodeStatus System.Security.Cryptography.X509Certificates.X509EnhancedKeyUsageExtension::Decode(System.Byte[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t X509EnhancedKeyUsageExtension_Decode_m610C0C741966205F6DC0492BD17B28E1FED8D648 (X509EnhancedKeyUsageExtension_tD53B0C2AF93C2496461F2960946C5F40A33AC82B * __this, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___extension0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&OidCollection_tA091E185B8840648BE96A6C547F0C26F88E3A902_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8 * V_0 = NULL;
int32_t V_1 = 0;
int32_t V_2 = 0;
il2cpp::utils::ExceptionSupportStack<RuntimeObject*, 1> __active_exceptions;
il2cpp::utils::ExceptionSupportStack<int32_t, 2> __leave_targets;
{
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = ___extension0;
if (!L_0)
{
goto IL_0007;
}
}
{
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1 = ___extension0;
NullCheck(L_1);
if ((((RuntimeArray*)L_1)->max_length))
{
goto IL_0009;
}
}
IL_0007:
{
return (int32_t)(1);
}
IL_0009:
{
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = ___extension0;
NullCheck(L_2);
int32_t L_3 = 0;
uint8_t L_4 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
if ((((int32_t)L_4) == ((int32_t)((int32_t)48))))
{
goto IL_0012;
}
}
{
return (int32_t)(2);
}
IL_0012:
{
OidCollection_tA091E185B8840648BE96A6C547F0C26F88E3A902 * L_5 = __this->get__enhKeyUsage_3();
if (L_5)
{
goto IL_0025;
}
}
{
OidCollection_tA091E185B8840648BE96A6C547F0C26F88E3A902 * L_6 = (OidCollection_tA091E185B8840648BE96A6C547F0C26F88E3A902 *)il2cpp_codegen_object_new(OidCollection_tA091E185B8840648BE96A6C547F0C26F88E3A902_il2cpp_TypeInfo_var);
OidCollection__ctor_m99E1CCEB955F4BB57DEAE0BF8E7326380F93E111(L_6, /*hidden argument*/NULL);
__this->set__enhKeyUsage_3(L_6);
}
IL_0025:
{
}
IL_0026:
try
{ // begin try (depth: 1)
{
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_7 = ___extension0;
ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8 * L_8 = (ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8 *)il2cpp_codegen_object_new(ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8_il2cpp_TypeInfo_var);
ASN1__ctor_mE534D499DABEAAA35E0F30572CD295A9FCFA1C7E(L_8, L_7, /*hidden argument*/NULL);
V_0 = L_8;
ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8 * L_9 = V_0;
NullCheck(L_9);
uint8_t L_10;
L_10 = ASN1_get_Tag_mA82F15B6EB97BF0F3EBAA69C21765909D7A675D3_inline(L_9, /*hidden argument*/NULL);
if ((((int32_t)L_10) == ((int32_t)((int32_t)48))))
{
goto IL_0047;
}
}
IL_0037:
{
String_t* L_11;
L_11 = Locale_GetText_mF8FE147379A36330B41A5D5E2CAD23C18931E66E(((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral212797907CC7AD095EFEBD10D643DF1F9608C8C1)), /*hidden argument*/NULL);
CryptographicException_tFFE56EF733D1150A0F3738DDE2CC4DE1A61849D5 * L_12 = (CryptographicException_tFFE56EF733D1150A0F3738DDE2CC4DE1A61849D5 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&CryptographicException_tFFE56EF733D1150A0F3738DDE2CC4DE1A61849D5_il2cpp_TypeInfo_var)));
CryptographicException__ctor_mE6D40FE819914DA1C6600907D160AD4231B46C31(L_12, L_11, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_12, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&X509EnhancedKeyUsageExtension_Decode_m610C0C741966205F6DC0492BD17B28E1FED8D648_RuntimeMethod_var)));
}
IL_0047:
{
V_1 = 0;
goto IL_006c;
}
IL_004b:
{
OidCollection_tA091E185B8840648BE96A6C547F0C26F88E3A902 * L_13 = __this->get__enhKeyUsage_3();
ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8 * L_14 = V_0;
int32_t L_15 = V_1;
NullCheck(L_14);
ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8 * L_16;
L_16 = ASN1_get_Item_mBA4AF2346A0847038957881A98202AF8DAF09B50(L_14, L_15, /*hidden argument*/NULL);
String_t* L_17;
L_17 = ASN1Convert_ToOid_m6F617C7AC370CC5D6EAC2F813D8F7B73A3D8F61F(L_16, /*hidden argument*/NULL);
Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800 * L_18 = (Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800 *)il2cpp_codegen_object_new(Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800_il2cpp_TypeInfo_var);
Oid__ctor_mDB319C52BC09ED73F02F5BEC5950F728059405C2(L_18, L_17, /*hidden argument*/NULL);
NullCheck(L_13);
int32_t L_19;
L_19 = OidCollection_Add_m13C7466BB24E047C88F27AC6AB5E9439AA491EF1(L_13, L_18, /*hidden argument*/NULL);
int32_t L_20 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_20, (int32_t)1));
}
IL_006c:
{
int32_t L_21 = V_1;
ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8 * L_22 = V_0;
NullCheck(L_22);
int32_t L_23;
L_23 = ASN1_get_Count_mBF134B153CFA218C251FB692A25AA392DCF9F583(L_22, /*hidden argument*/NULL);
if ((((int32_t)L_21) < ((int32_t)L_23)))
{
goto IL_004b;
}
}
IL_0075:
{
goto IL_007c;
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
if(il2cpp_codegen_class_is_assignable_from (((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&RuntimeObject_il2cpp_TypeInfo_var)), il2cpp_codegen_object_class(e.ex)))
{
IL2CPP_PUSH_ACTIVE_EXCEPTION(e.ex);
goto CATCH_0077;
}
throw e;
}
CATCH_0077:
{ // begin catch(System.Object)
V_2 = 1;
IL2CPP_POP_ACTIVE_EXCEPTION();
goto IL_007e;
} // end catch (depth: 1)
IL_007c:
{
return (int32_t)(0);
}
IL_007e:
{
int32_t L_24 = V_2;
return L_24;
}
}
// System.String System.Security.Cryptography.X509Certificates.X509EnhancedKeyUsageExtension::ToString(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* X509EnhancedKeyUsageExtension_ToString_m12992C4F3BE30FC9662680B8CDAC07F7F7C67134 (X509EnhancedKeyUsageExtension_tD53B0C2AF93C2496461F2960946C5F40A33AC82B * __this, bool ___multiLine0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&StringBuilder_t_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&String_t_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral3ECCF64C0782442EC426220868830513FD924C3C);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral5EDC47BC71D706BB11343CC890323569C143CD50);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral63DCC50AED43B00BB793B2D0F054171D9D12A15E);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral758733BDBED83CBFF4F635AC26CA92AAE477F75D);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralB3F14BF976EFD974E34846B742502C802FABAE9D);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralCD32F08BAB4EE365057213BCC6332DD39C2DE46B);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralD9B53FE83B364433B53BD1F5712DD31D58258FB4);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralE7C7449D840A91B3AF035F43E6106A0BC8372CC6);
s_Il2CppMethodInitialized = true;
}
StringBuilder_t * V_0 = NULL;
int32_t V_1 = 0;
int32_t V_2 = 0;
Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800 * V_3 = NULL;
String_t* V_4 = NULL;
{
int32_t L_0 = __this->get__status_4();
V_1 = L_0;
int32_t L_1 = V_1;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_1, (int32_t)1)))
{
case 0:
{
goto IL_0021;
}
case 1:
{
goto IL_0027;
}
case 2:
{
goto IL_0027;
}
case 3:
{
goto IL_0034;
}
}
}
{
goto IL_003a;
}
IL_0021:
{
String_t* L_2 = ((String_t_StaticFields*)il2cpp_codegen_static_fields_for(String_t_il2cpp_TypeInfo_var))->get_Empty_5();
return L_2;
}
IL_0027:
{
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3 = ((AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA *)__this)->get__raw_1();
String_t* L_4;
L_4 = X509Extension_FormatUnkownData_mEF1E719F7AD312B099351C581F4A06925AD9F18A(__this, L_3, /*hidden argument*/NULL);
return L_4;
}
IL_0034:
{
return _stringLiteralCD32F08BAB4EE365057213BCC6332DD39C2DE46B;
}
IL_003a:
{
Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800 * L_5 = ((AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA *)__this)->get__oid_0();
NullCheck(L_5);
String_t* L_6;
L_6 = Oid_get_Value_mD6F4D8AC1A3821D5DA263728C2DC0C208D084A78_inline(L_5, /*hidden argument*/NULL);
bool L_7;
L_7 = String_op_Inequality_mDDA2DDED3E7EF042987EB7180EE3E88105F0AAE2(L_6, _stringLiteral5EDC47BC71D706BB11343CC890323569C143CD50, /*hidden argument*/NULL);
if (!L_7)
{
goto IL_0067;
}
}
{
Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800 * L_8 = ((AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA *)__this)->get__oid_0();
NullCheck(L_8);
String_t* L_9;
L_9 = Oid_get_Value_mD6F4D8AC1A3821D5DA263728C2DC0C208D084A78_inline(L_8, /*hidden argument*/NULL);
String_t* L_10;
L_10 = String_Format_mB3D38E5238C3164DB4D7D29339D9E225A4496D17(_stringLiteralD9B53FE83B364433B53BD1F5712DD31D58258FB4, L_9, /*hidden argument*/NULL);
return L_10;
}
IL_0067:
{
OidCollection_tA091E185B8840648BE96A6C547F0C26F88E3A902 * L_11 = __this->get__enhKeyUsage_3();
NullCheck(L_11);
int32_t L_12;
L_12 = OidCollection_get_Count_m35D85FFEC009FD8195DA9E0EE0CD5B66290FA3C6(L_11, /*hidden argument*/NULL);
if (L_12)
{
goto IL_007a;
}
}
{
return _stringLiteralCD32F08BAB4EE365057213BCC6332DD39C2DE46B;
}
IL_007a:
{
StringBuilder_t * L_13 = (StringBuilder_t *)il2cpp_codegen_object_new(StringBuilder_t_il2cpp_TypeInfo_var);
StringBuilder__ctor_m5A81DE19E748F748E19FF13FB6FFD2547F9212D9(L_13, /*hidden argument*/NULL);
V_0 = L_13;
V_2 = 0;
goto IL_010e;
}
IL_0087:
{
OidCollection_tA091E185B8840648BE96A6C547F0C26F88E3A902 * L_14 = __this->get__enhKeyUsage_3();
int32_t L_15 = V_2;
NullCheck(L_14);
Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800 * L_16;
L_16 = OidCollection_get_Item_mB8F51EB0825BDE39504BC7090B8AEEE13D0A9967(L_14, L_15, /*hidden argument*/NULL);
V_3 = L_16;
Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800 * L_17 = V_3;
NullCheck(L_17);
String_t* L_18;
L_18 = Oid_get_Value_mD6F4D8AC1A3821D5DA263728C2DC0C208D084A78_inline(L_17, /*hidden argument*/NULL);
V_4 = L_18;
String_t* L_19 = V_4;
bool L_20;
L_20 = String_op_Equality_m2B91EE68355F142F67095973D32EB5828B7B73CB(L_19, _stringLiteralE7C7449D840A91B3AF035F43E6106A0BC8372CC6, /*hidden argument*/NULL);
if (!L_20)
{
goto IL_00b8;
}
}
{
StringBuilder_t * L_21 = V_0;
NullCheck(L_21);
StringBuilder_t * L_22;
L_22 = StringBuilder_Append_mD02AB0C74C6F55E3E330818C77EC147E22096FB1(L_21, _stringLiteral63DCC50AED43B00BB793B2D0F054171D9D12A15E, /*hidden argument*/NULL);
goto IL_00c4;
}
IL_00b8:
{
StringBuilder_t * L_23 = V_0;
NullCheck(L_23);
StringBuilder_t * L_24;
L_24 = StringBuilder_Append_mD02AB0C74C6F55E3E330818C77EC147E22096FB1(L_23, _stringLiteral3ECCF64C0782442EC426220868830513FD924C3C, /*hidden argument*/NULL);
}
IL_00c4:
{
StringBuilder_t * L_25 = V_0;
Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800 * L_26 = V_3;
NullCheck(L_26);
String_t* L_27;
L_27 = Oid_get_Value_mD6F4D8AC1A3821D5DA263728C2DC0C208D084A78_inline(L_26, /*hidden argument*/NULL);
NullCheck(L_25);
StringBuilder_t * L_28;
L_28 = StringBuilder_Append_mD02AB0C74C6F55E3E330818C77EC147E22096FB1(L_25, L_27, /*hidden argument*/NULL);
StringBuilder_t * L_29 = V_0;
NullCheck(L_29);
StringBuilder_t * L_30;
L_30 = StringBuilder_Append_mD02AB0C74C6F55E3E330818C77EC147E22096FB1(L_29, _stringLiteralB3F14BF976EFD974E34846B742502C802FABAE9D, /*hidden argument*/NULL);
bool L_31 = ___multiLine0;
if (!L_31)
{
goto IL_00ee;
}
}
{
StringBuilder_t * L_32 = V_0;
String_t* L_33;
L_33 = Environment_get_NewLine_mD145C8EE917C986BAA7C5243DEFAF4D333C521B4(/*hidden argument*/NULL);
NullCheck(L_32);
StringBuilder_t * L_34;
L_34 = StringBuilder_Append_mD02AB0C74C6F55E3E330818C77EC147E22096FB1(L_32, L_33, /*hidden argument*/NULL);
goto IL_010a;
}
IL_00ee:
{
int32_t L_35 = V_2;
OidCollection_tA091E185B8840648BE96A6C547F0C26F88E3A902 * L_36 = __this->get__enhKeyUsage_3();
NullCheck(L_36);
int32_t L_37;
L_37 = OidCollection_get_Count_m35D85FFEC009FD8195DA9E0EE0CD5B66290FA3C6(L_36, /*hidden argument*/NULL);
if ((((int32_t)L_35) == ((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_37, (int32_t)1)))))
{
goto IL_010a;
}
}
{
StringBuilder_t * L_38 = V_0;
NullCheck(L_38);
StringBuilder_t * L_39;
L_39 = StringBuilder_Append_mD02AB0C74C6F55E3E330818C77EC147E22096FB1(L_38, _stringLiteral758733BDBED83CBFF4F635AC26CA92AAE477F75D, /*hidden argument*/NULL);
}
IL_010a:
{
int32_t L_40 = V_2;
V_2 = ((int32_t)il2cpp_codegen_add((int32_t)L_40, (int32_t)1));
}
IL_010e:
{
int32_t L_41 = V_2;
OidCollection_tA091E185B8840648BE96A6C547F0C26F88E3A902 * L_42 = __this->get__enhKeyUsage_3();
NullCheck(L_42);
int32_t L_43;
L_43 = OidCollection_get_Count_m35D85FFEC009FD8195DA9E0EE0CD5B66290FA3C6(L_42, /*hidden argument*/NULL);
if ((((int32_t)L_41) < ((int32_t)L_43)))
{
goto IL_0087;
}
}
{
StringBuilder_t * L_44 = V_0;
NullCheck(L_44);
String_t* L_45;
L_45 = VirtFuncInvoker0< String_t* >::Invoke(3 /* System.String System.Object::ToString() */, L_44);
return L_45;
}
}
#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 System.Security.Cryptography.X509Certificates.X509Extension::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void X509Extension__ctor_m4DF31A0909F64A47F2F8E64E814FE16E022794E7 (X509Extension_t9142CAA11EB46CC4CAB51A26D3B84BDA06FA9FF5 * __this, const RuntimeMethod* method)
{
{
AsnEncodedData__ctor_m0CF86C874705C96B224222BEBB6BF5703EAB29E2(__this, /*hidden argument*/NULL);
return;
}
}
// System.Boolean System.Security.Cryptography.X509Certificates.X509Extension::get_Critical()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool X509Extension_get_Critical_m56CF11BDF0C2D2917C326013630709C7709DCF12 (X509Extension_t9142CAA11EB46CC4CAB51A26D3B84BDA06FA9FF5 * __this, const RuntimeMethod* method)
{
{
bool L_0 = __this->get__critical_2();
return L_0;
}
}
// System.Void System.Security.Cryptography.X509Certificates.X509Extension::set_Critical(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void X509Extension_set_Critical_mF361A9EB776A20CA39923BD48C4A492A734144E0 (X509Extension_t9142CAA11EB46CC4CAB51A26D3B84BDA06FA9FF5 * __this, bool ___value0, const RuntimeMethod* method)
{
{
bool L_0 = ___value0;
__this->set__critical_2(L_0);
return;
}
}
// System.Void System.Security.Cryptography.X509Certificates.X509Extension::CopyFrom(System.Security.Cryptography.AsnEncodedData)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void X509Extension_CopyFrom_m1D101C0A8E17FDC25EF1D7645F2A07E5AB7A3D1C (X509Extension_t9142CAA11EB46CC4CAB51A26D3B84BDA06FA9FF5 * __this, AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA * ___asnEncodedData0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&X509Extension_t9142CAA11EB46CC4CAB51A26D3B84BDA06FA9FF5_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
X509Extension_t9142CAA11EB46CC4CAB51A26D3B84BDA06FA9FF5 * V_0 = NULL;
{
AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA * L_0 = ___asnEncodedData0;
if (L_0)
{
goto IL_000e;
}
}
{
ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB * L_1 = (ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB_il2cpp_TypeInfo_var)));
ArgumentNullException__ctor_m81AB157B93BFE2FBFDB08B88F84B444293042F97(L_1, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralB2AED74A19DD9414DD0792FD340CC531536B8454)), /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&X509Extension_CopyFrom_m1D101C0A8E17FDC25EF1D7645F2A07E5AB7A3D1C_RuntimeMethod_var)));
}
IL_000e:
{
AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA * L_2 = ___asnEncodedData0;
V_0 = ((X509Extension_t9142CAA11EB46CC4CAB51A26D3B84BDA06FA9FF5 *)IsInstClass((RuntimeObject*)L_2, X509Extension_t9142CAA11EB46CC4CAB51A26D3B84BDA06FA9FF5_il2cpp_TypeInfo_var));
X509Extension_t9142CAA11EB46CC4CAB51A26D3B84BDA06FA9FF5 * L_3 = V_0;
if (L_3)
{
goto IL_0028;
}
}
{
String_t* L_4;
L_4 = Locale_GetText_mF8FE147379A36330B41A5D5E2CAD23C18931E66E(((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral3C77EE02D0B62256DB746EEC2F12CB9BC801126A)), /*hidden argument*/NULL);
ArgumentException_t505FA8C11E883F2D96C797AD9D396490794DEE00 * L_5 = (ArgumentException_t505FA8C11E883F2D96C797AD9D396490794DEE00 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ArgumentException_t505FA8C11E883F2D96C797AD9D396490794DEE00_il2cpp_TypeInfo_var)));
ArgumentException__ctor_m2D35EAD113C2ADC99EB17B940A2097A93FD23EFC(L_5, L_4, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_5, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&X509Extension_CopyFrom_m1D101C0A8E17FDC25EF1D7645F2A07E5AB7A3D1C_RuntimeMethod_var)));
}
IL_0028:
{
AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA * L_6 = ___asnEncodedData0;
AsnEncodedData_CopyFrom_mA350785B8AF676AB7856E705FA2F2D20FD54CC46(__this, L_6, /*hidden argument*/NULL);
X509Extension_t9142CAA11EB46CC4CAB51A26D3B84BDA06FA9FF5 * L_7 = V_0;
NullCheck(L_7);
bool L_8;
L_8 = X509Extension_get_Critical_m56CF11BDF0C2D2917C326013630709C7709DCF12_inline(L_7, /*hidden argument*/NULL);
__this->set__critical_2(L_8);
return;
}
}
// System.String System.Security.Cryptography.X509Certificates.X509Extension::FormatUnkownData(System.Byte[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* X509Extension_FormatUnkownData_mEF1E719F7AD312B099351C581F4A06925AD9F18A (X509Extension_t9142CAA11EB46CC4CAB51A26D3B84BDA06FA9FF5 * __this, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___data0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&StringBuilder_t_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&String_t_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralB4A94E440E57B3321B2097CEC9E046D28EE1C0CD);
s_Il2CppMethodInitialized = true;
}
StringBuilder_t * V_0 = NULL;
int32_t V_1 = 0;
{
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = ___data0;
if (!L_0)
{
goto IL_0007;
}
}
{
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1 = ___data0;
NullCheck(L_1);
if ((((RuntimeArray*)L_1)->max_length))
{
goto IL_000d;
}
}
IL_0007:
{
String_t* L_2 = ((String_t_StaticFields*)il2cpp_codegen_static_fields_for(String_t_il2cpp_TypeInfo_var))->get_Empty_5();
return L_2;
}
IL_000d:
{
StringBuilder_t * L_3 = (StringBuilder_t *)il2cpp_codegen_object_new(StringBuilder_t_il2cpp_TypeInfo_var);
StringBuilder__ctor_m5A81DE19E748F748E19FF13FB6FFD2547F9212D9(L_3, /*hidden argument*/NULL);
V_0 = L_3;
V_1 = 0;
goto IL_0033;
}
IL_0017:
{
StringBuilder_t * L_4 = V_0;
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_5 = ___data0;
int32_t L_6 = V_1;
NullCheck(L_5);
String_t* L_7;
L_7 = Byte_ToString_mABEF6F24915951FF4A4D87B389D8418B2638178C((uint8_t*)((L_5)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_6))), _stringLiteralB4A94E440E57B3321B2097CEC9E046D28EE1C0CD, /*hidden argument*/NULL);
NullCheck(L_4);
StringBuilder_t * L_8;
L_8 = StringBuilder_Append_mD02AB0C74C6F55E3E330818C77EC147E22096FB1(L_4, L_7, /*hidden argument*/NULL);
int32_t L_9 = V_1;
V_1 = ((int32_t)il2cpp_codegen_add((int32_t)L_9, (int32_t)1));
}
IL_0033:
{
int32_t L_10 = V_1;
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_11 = ___data0;
NullCheck(L_11);
if ((((int32_t)L_10) < ((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_11)->max_length))))))
{
goto IL_0017;
}
}
{
StringBuilder_t * L_12 = V_0;
NullCheck(L_12);
String_t* L_13;
L_13 = VirtFuncInvoker0< String_t* >::Invoke(3 /* System.String System.Object::ToString() */, L_12);
return L_13;
}
}
#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 System.Security.Cryptography.X509Certificates.X509KeyUsageExtension::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void X509KeyUsageExtension__ctor_mE735C27BA5C2BBEA264B0FDB229E7DA7A2E3416D (X509KeyUsageExtension_tF78A71F87AEE0E0DC54DFF837AB2880E3D9CF227 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral2FDCE7F577695853459152469012B0121731CD52);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralDEB31152738116748FADCEF38CE0C9964DACCF2F);
s_Il2CppMethodInitialized = true;
}
{
X509Extension__ctor_m4DF31A0909F64A47F2F8E64E814FE16E022794E7(__this, /*hidden argument*/NULL);
Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800 * L_0 = (Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800 *)il2cpp_codegen_object_new(Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800_il2cpp_TypeInfo_var);
Oid__ctor_m90964DEF8B3A9EEFAB59023627E2008E4A34983E(L_0, _stringLiteralDEB31152738116748FADCEF38CE0C9964DACCF2F, _stringLiteral2FDCE7F577695853459152469012B0121731CD52, /*hidden argument*/NULL);
((AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA *)__this)->set__oid_0(L_0);
return;
}
}
// System.Void System.Security.Cryptography.X509Certificates.X509KeyUsageExtension::.ctor(System.Security.Cryptography.AsnEncodedData,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void X509KeyUsageExtension__ctor_m6D2F83567A69553296EB7CC93466B20C7884C54E (X509KeyUsageExtension_tF78A71F87AEE0E0DC54DFF837AB2880E3D9CF227 * __this, AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA * ___encodedKeyUsage0, bool ___critical1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral2FDCE7F577695853459152469012B0121731CD52);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralDEB31152738116748FADCEF38CE0C9964DACCF2F);
s_Il2CppMethodInitialized = true;
}
{
X509Extension__ctor_m4DF31A0909F64A47F2F8E64E814FE16E022794E7(__this, /*hidden argument*/NULL);
Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800 * L_0 = (Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800 *)il2cpp_codegen_object_new(Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800_il2cpp_TypeInfo_var);
Oid__ctor_m90964DEF8B3A9EEFAB59023627E2008E4A34983E(L_0, _stringLiteralDEB31152738116748FADCEF38CE0C9964DACCF2F, _stringLiteral2FDCE7F577695853459152469012B0121731CD52, /*hidden argument*/NULL);
((AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA *)__this)->set__oid_0(L_0);
AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA * L_1 = ___encodedKeyUsage0;
NullCheck(L_1);
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2;
L_2 = AsnEncodedData_get_RawData_mDCA2B393570BA050D3840B2449447A2C10639278_inline(L_1, /*hidden argument*/NULL);
((AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA *)__this)->set__raw_1(L_2);
bool L_3 = ___critical1;
X509Extension_set_Critical_mF361A9EB776A20CA39923BD48C4A492A734144E0_inline(__this, L_3, /*hidden argument*/NULL);
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_4;
L_4 = AsnEncodedData_get_RawData_mDCA2B393570BA050D3840B2449447A2C10639278_inline(__this, /*hidden argument*/NULL);
int32_t L_5;
L_5 = X509KeyUsageExtension_Decode_m8D2236720B86833EAFCB87C19BF616E84A15A385(__this, L_4, /*hidden argument*/NULL);
__this->set__status_7(L_5);
return;
}
}
// System.Void System.Security.Cryptography.X509Certificates.X509KeyUsageExtension::.ctor(System.Security.Cryptography.X509Certificates.X509KeyUsageFlags,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void X509KeyUsageExtension__ctor_m0E105A1E8A7ED901E90E53B33EF86DFB3D2F3B9C (X509KeyUsageExtension_tF78A71F87AEE0E0DC54DFF837AB2880E3D9CF227 * __this, int32_t ___keyUsages0, bool ___critical1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral2FDCE7F577695853459152469012B0121731CD52);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralDEB31152738116748FADCEF38CE0C9964DACCF2F);
s_Il2CppMethodInitialized = true;
}
{
X509Extension__ctor_m4DF31A0909F64A47F2F8E64E814FE16E022794E7(__this, /*hidden argument*/NULL);
Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800 * L_0 = (Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800 *)il2cpp_codegen_object_new(Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800_il2cpp_TypeInfo_var);
Oid__ctor_m90964DEF8B3A9EEFAB59023627E2008E4A34983E(L_0, _stringLiteralDEB31152738116748FADCEF38CE0C9964DACCF2F, _stringLiteral2FDCE7F577695853459152469012B0121731CD52, /*hidden argument*/NULL);
((AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA *)__this)->set__oid_0(L_0);
bool L_1 = ___critical1;
X509Extension_set_Critical_mF361A9EB776A20CA39923BD48C4A492A734144E0_inline(__this, L_1, /*hidden argument*/NULL);
int32_t L_2 = ___keyUsages0;
int32_t L_3;
L_3 = X509KeyUsageExtension_GetValidFlags_m3141215EE841412F2C65E9CD7C90AE26E4D05C9A(__this, L_2, /*hidden argument*/NULL);
__this->set__keyUsages_6(L_3);
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_4;
L_4 = X509KeyUsageExtension_Encode_m14D2F2E0777C7CFA424399E66349940A923764E5(__this, /*hidden argument*/NULL);
AsnEncodedData_set_RawData_m867F92C32F87E4D8932D17EDF21785CA0FDA3BEA(__this, L_4, /*hidden argument*/NULL);
return;
}
}
// System.Security.Cryptography.X509Certificates.X509KeyUsageFlags System.Security.Cryptography.X509Certificates.X509KeyUsageExtension::get_KeyUsages()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t X509KeyUsageExtension_get_KeyUsages_mD2ADFD4CC335B85D453BCA75A8541D3DF099A8FB (X509KeyUsageExtension_tF78A71F87AEE0E0DC54DFF837AB2880E3D9CF227 * __this, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
int32_t L_0 = __this->get__status_7();
V_0 = L_0;
int32_t L_1 = V_0;
if (!L_1)
{
goto IL_000e;
}
}
{
int32_t L_2 = V_0;
if ((!(((uint32_t)L_2) == ((uint32_t)4))))
{
goto IL_0015;
}
}
IL_000e:
{
int32_t L_3 = __this->get__keyUsages_6();
return L_3;
}
IL_0015:
{
CryptographicException_tFFE56EF733D1150A0F3738DDE2CC4DE1A61849D5 * L_4 = (CryptographicException_tFFE56EF733D1150A0F3738DDE2CC4DE1A61849D5 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&CryptographicException_tFFE56EF733D1150A0F3738DDE2CC4DE1A61849D5_il2cpp_TypeInfo_var)));
CryptographicException__ctor_mE6D40FE819914DA1C6600907D160AD4231B46C31(L_4, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralD20A4058B7B405BF173793FAAC54A85874A0CDDE)), /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_4, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&X509KeyUsageExtension_get_KeyUsages_mD2ADFD4CC335B85D453BCA75A8541D3DF099A8FB_RuntimeMethod_var)));
}
}
// System.Void System.Security.Cryptography.X509Certificates.X509KeyUsageExtension::CopyFrom(System.Security.Cryptography.AsnEncodedData)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void X509KeyUsageExtension_CopyFrom_m029A26C577528A8DF077CF68AD2787DC1E76FA7F (X509KeyUsageExtension_tF78A71F87AEE0E0DC54DFF837AB2880E3D9CF227 * __this, AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA * ___asnEncodedData0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&X509Extension_t9142CAA11EB46CC4CAB51A26D3B84BDA06FA9FF5_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral2FDCE7F577695853459152469012B0121731CD52);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralDEB31152738116748FADCEF38CE0C9964DACCF2F);
s_Il2CppMethodInitialized = true;
}
X509Extension_t9142CAA11EB46CC4CAB51A26D3B84BDA06FA9FF5 * V_0 = NULL;
{
AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA * L_0 = ___asnEncodedData0;
if (L_0)
{
goto IL_000e;
}
}
{
ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB * L_1 = (ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB_il2cpp_TypeInfo_var)));
ArgumentNullException__ctor_m81AB157B93BFE2FBFDB08B88F84B444293042F97(L_1, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralC9FB8C73B342D5B3C700EDA7C5212DD547D29E4E)), /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&X509KeyUsageExtension_CopyFrom_m029A26C577528A8DF077CF68AD2787DC1E76FA7F_RuntimeMethod_var)));
}
IL_000e:
{
AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA * L_2 = ___asnEncodedData0;
V_0 = ((X509Extension_t9142CAA11EB46CC4CAB51A26D3B84BDA06FA9FF5 *)IsInstClass((RuntimeObject*)L_2, X509Extension_t9142CAA11EB46CC4CAB51A26D3B84BDA06FA9FF5_il2cpp_TypeInfo_var));
X509Extension_t9142CAA11EB46CC4CAB51A26D3B84BDA06FA9FF5 * L_3 = V_0;
if (L_3)
{
goto IL_002d;
}
}
{
String_t* L_4;
L_4 = Locale_GetText_mF8FE147379A36330B41A5D5E2CAD23C18931E66E(((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralD615D452AAA84D559E3E5FFF5168A1AF47500E8D)), /*hidden argument*/NULL);
ArgumentException_t505FA8C11E883F2D96C797AD9D396490794DEE00 * L_5 = (ArgumentException_t505FA8C11E883F2D96C797AD9D396490794DEE00 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ArgumentException_t505FA8C11E883F2D96C797AD9D396490794DEE00_il2cpp_TypeInfo_var)));
ArgumentException__ctor_m71044C2110E357B71A1C30D2561C3F861AF1DC0D(L_5, L_4, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralC9FB8C73B342D5B3C700EDA7C5212DD547D29E4E)), /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_5, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&X509KeyUsageExtension_CopyFrom_m029A26C577528A8DF077CF68AD2787DC1E76FA7F_RuntimeMethod_var)));
}
IL_002d:
{
X509Extension_t9142CAA11EB46CC4CAB51A26D3B84BDA06FA9FF5 * L_6 = V_0;
NullCheck(L_6);
Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800 * L_7 = ((AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA *)L_6)->get__oid_0();
if (L_7)
{
goto IL_004c;
}
}
{
Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800 * L_8 = (Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800 *)il2cpp_codegen_object_new(Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800_il2cpp_TypeInfo_var);
Oid__ctor_m90964DEF8B3A9EEFAB59023627E2008E4A34983E(L_8, _stringLiteralDEB31152738116748FADCEF38CE0C9964DACCF2F, _stringLiteral2FDCE7F577695853459152469012B0121731CD52, /*hidden argument*/NULL);
((AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA *)__this)->set__oid_0(L_8);
goto IL_005d;
}
IL_004c:
{
X509Extension_t9142CAA11EB46CC4CAB51A26D3B84BDA06FA9FF5 * L_9 = V_0;
NullCheck(L_9);
Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800 * L_10 = ((AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA *)L_9)->get__oid_0();
Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800 * L_11 = (Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800 *)il2cpp_codegen_object_new(Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800_il2cpp_TypeInfo_var);
Oid__ctor_m8C4B7AE0D9207BCF03960553182B43B8D1536ED0(L_11, L_10, /*hidden argument*/NULL);
((AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA *)__this)->set__oid_0(L_11);
}
IL_005d:
{
X509Extension_t9142CAA11EB46CC4CAB51A26D3B84BDA06FA9FF5 * L_12 = V_0;
NullCheck(L_12);
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_13;
L_13 = AsnEncodedData_get_RawData_mDCA2B393570BA050D3840B2449447A2C10639278_inline(L_12, /*hidden argument*/NULL);
AsnEncodedData_set_RawData_m867F92C32F87E4D8932D17EDF21785CA0FDA3BEA(__this, L_13, /*hidden argument*/NULL);
X509Extension_t9142CAA11EB46CC4CAB51A26D3B84BDA06FA9FF5 * L_14 = V_0;
NullCheck(L_14);
bool L_15;
L_15 = X509Extension_get_Critical_m56CF11BDF0C2D2917C326013630709C7709DCF12_inline(L_14, /*hidden argument*/NULL);
X509Extension_set_Critical_mF361A9EB776A20CA39923BD48C4A492A734144E0_inline(__this, L_15, /*hidden argument*/NULL);
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_16;
L_16 = AsnEncodedData_get_RawData_mDCA2B393570BA050D3840B2449447A2C10639278_inline(__this, /*hidden argument*/NULL);
int32_t L_17;
L_17 = X509KeyUsageExtension_Decode_m8D2236720B86833EAFCB87C19BF616E84A15A385(__this, L_16, /*hidden argument*/NULL);
__this->set__status_7(L_17);
return;
}
}
// System.Security.Cryptography.X509Certificates.X509KeyUsageFlags System.Security.Cryptography.X509Certificates.X509KeyUsageExtension::GetValidFlags(System.Security.Cryptography.X509Certificates.X509KeyUsageFlags)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t X509KeyUsageExtension_GetValidFlags_m3141215EE841412F2C65E9CD7C90AE26E4D05C9A (X509KeyUsageExtension_tF78A71F87AEE0E0DC54DFF837AB2880E3D9CF227 * __this, int32_t ___flags0, const RuntimeMethod* method)
{
{
int32_t L_0 = ___flags0;
int32_t L_1 = ___flags0;
if ((((int32_t)((int32_t)((int32_t)L_0&(int32_t)((int32_t)33023)))) == ((int32_t)L_1)))
{
goto IL_000c;
}
}
{
return (int32_t)(0);
}
IL_000c:
{
int32_t L_2 = ___flags0;
return L_2;
}
}
// System.Security.Cryptography.AsnDecodeStatus System.Security.Cryptography.X509Certificates.X509KeyUsageExtension::Decode(System.Byte[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t X509KeyUsageExtension_Decode_m8D2236720B86833EAFCB87C19BF616E84A15A385 (X509KeyUsageExtension_tF78A71F87AEE0E0DC54DFF837AB2880E3D9CF227 * __this, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___extension0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8 * V_0 = NULL;
int32_t V_1 = 0;
int32_t V_2 = 0;
int32_t V_3 = 0;
il2cpp::utils::ExceptionSupportStack<RuntimeObject*, 1> __active_exceptions;
il2cpp::utils::ExceptionSupportStack<int32_t, 2> __leave_targets;
{
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = ___extension0;
if (!L_0)
{
goto IL_0007;
}
}
{
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1 = ___extension0;
NullCheck(L_1);
if ((((RuntimeArray*)L_1)->max_length))
{
goto IL_0009;
}
}
IL_0007:
{
return (int32_t)(1);
}
IL_0009:
{
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = ___extension0;
NullCheck(L_2);
int32_t L_3 = 0;
uint8_t L_4 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_3));
if ((((int32_t)L_4) == ((int32_t)3)))
{
goto IL_0011;
}
}
{
return (int32_t)(2);
}
IL_0011:
{
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_5 = ___extension0;
NullCheck(L_5);
if ((((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_5)->max_length)))) >= ((int32_t)3)))
{
goto IL_0019;
}
}
{
return (int32_t)(3);
}
IL_0019:
{
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_6 = ___extension0;
NullCheck(L_6);
if ((((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_6)->max_length)))) >= ((int32_t)4)))
{
goto IL_0021;
}
}
{
return (int32_t)(4);
}
IL_0021:
{
}
IL_0022:
try
{ // begin try (depth: 1)
{
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_7 = ___extension0;
ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8 * L_8 = (ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8 *)il2cpp_codegen_object_new(ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8_il2cpp_TypeInfo_var);
ASN1__ctor_mE534D499DABEAAA35E0F30572CD295A9FCFA1C7E(L_8, L_7, /*hidden argument*/NULL);
V_0 = L_8;
V_1 = 0;
V_2 = 1;
goto IL_0040;
}
IL_002f:
{
int32_t L_9 = V_1;
ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8 * L_10 = V_0;
NullCheck(L_10);
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_11;
L_11 = ASN1_get_Value_m95545A82635424B999816713F09A224ED01DF0C2(L_10, /*hidden argument*/NULL);
int32_t L_12 = V_2;
int32_t L_13 = L_12;
V_2 = ((int32_t)il2cpp_codegen_add((int32_t)L_13, (int32_t)1));
NullCheck(L_11);
int32_t L_14 = L_13;
uint8_t L_15 = (L_11)->GetAt(static_cast<il2cpp_array_size_t>(L_14));
V_1 = ((int32_t)il2cpp_codegen_add((int32_t)((int32_t)((int32_t)L_9<<(int32_t)8)), (int32_t)L_15));
}
IL_0040:
{
int32_t L_16 = V_2;
ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8 * L_17 = V_0;
NullCheck(L_17);
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_18;
L_18 = ASN1_get_Value_m95545A82635424B999816713F09A224ED01DF0C2(L_17, /*hidden argument*/NULL);
NullCheck(L_18);
if ((((int32_t)L_16) < ((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_18)->max_length))))))
{
goto IL_002f;
}
}
IL_004b:
{
int32_t L_19 = V_1;
int32_t L_20;
L_20 = X509KeyUsageExtension_GetValidFlags_m3141215EE841412F2C65E9CD7C90AE26E4D05C9A(__this, L_19, /*hidden argument*/NULL);
__this->set__keyUsages_6(L_20);
goto IL_005f;
}
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
if(il2cpp_codegen_class_is_assignable_from (((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&RuntimeObject_il2cpp_TypeInfo_var)), il2cpp_codegen_object_class(e.ex)))
{
IL2CPP_PUSH_ACTIVE_EXCEPTION(e.ex);
goto CATCH_005a;
}
throw e;
}
CATCH_005a:
{ // begin catch(System.Object)
V_3 = 1;
IL2CPP_POP_ACTIVE_EXCEPTION();
goto IL_0061;
} // end catch (depth: 1)
IL_005f:
{
return (int32_t)(0);
}
IL_0061:
{
int32_t L_21 = V_3;
return L_21;
}
}
// System.Byte[] System.Security.Cryptography.X509Certificates.X509KeyUsageExtension::Encode()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* X509KeyUsageExtension_Encode_m14D2F2E0777C7CFA424399E66349940A923764E5 (X509KeyUsageExtension_tF78A71F87AEE0E0DC54DFF837AB2880E3D9CF227 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8 * V_0 = NULL;
int32_t V_1 = 0;
uint8_t V_2 = 0x0;
int32_t V_3 = 0;
int32_t G_B5_0 = 0;
{
V_0 = (ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8 *)NULL;
int32_t L_0 = __this->get__keyUsages_6();
V_1 = L_0;
V_2 = (uint8_t)0;
int32_t L_1 = V_1;
if (L_1)
{
goto IL_0021;
}
}
{
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)SZArrayNew(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var, (uint32_t)1);
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3 = L_2;
uint8_t L_4 = V_2;
NullCheck(L_3);
(L_3)->SetAt(static_cast<il2cpp_array_size_t>(0), (uint8_t)L_4);
ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8 * L_5 = (ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8 *)il2cpp_codegen_object_new(ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8_il2cpp_TypeInfo_var);
ASN1__ctor_mB8A19279E6079D30BB6A594ADAC7FEE89E822CDC(L_5, (uint8_t)3, L_3, /*hidden argument*/NULL);
V_0 = L_5;
goto IL_0081;
}
IL_0021:
{
int32_t L_6 = V_1;
if ((((int32_t)L_6) < ((int32_t)((int32_t)255))))
{
goto IL_002e;
}
}
{
int32_t L_7 = V_1;
G_B5_0 = ((int32_t)((int32_t)L_7>>(int32_t)8));
goto IL_002f;
}
IL_002e:
{
int32_t L_8 = V_1;
G_B5_0 = L_8;
}
IL_002f:
{
V_3 = G_B5_0;
goto IL_003b;
}
IL_0032:
{
uint8_t L_9 = V_2;
V_2 = (uint8_t)((int32_t)((uint8_t)((int32_t)il2cpp_codegen_add((int32_t)L_9, (int32_t)1))));
int32_t L_10 = V_3;
V_3 = ((int32_t)((int32_t)L_10>>(int32_t)1));
}
IL_003b:
{
int32_t L_11 = V_3;
if (((int32_t)((int32_t)L_11&(int32_t)1)))
{
goto IL_0044;
}
}
{
uint8_t L_12 = V_2;
if ((((int32_t)L_12) < ((int32_t)8)))
{
goto IL_0032;
}
}
IL_0044:
{
int32_t L_13 = V_1;
if ((((int32_t)L_13) > ((int32_t)((int32_t)255))))
{
goto IL_0064;
}
}
{
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_14 = (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)SZArrayNew(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var, (uint32_t)2);
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_15 = L_14;
uint8_t L_16 = V_2;
NullCheck(L_15);
(L_15)->SetAt(static_cast<il2cpp_array_size_t>(0), (uint8_t)L_16);
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_17 = L_15;
int32_t L_18 = V_1;
NullCheck(L_17);
(L_17)->SetAt(static_cast<il2cpp_array_size_t>(1), (uint8_t)((int32_t)((uint8_t)L_18)));
ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8 * L_19 = (ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8 *)il2cpp_codegen_object_new(ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8_il2cpp_TypeInfo_var);
ASN1__ctor_mB8A19279E6079D30BB6A594ADAC7FEE89E822CDC(L_19, (uint8_t)3, L_17, /*hidden argument*/NULL);
V_0 = L_19;
goto IL_0081;
}
IL_0064:
{
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_20 = (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)SZArrayNew(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var, (uint32_t)3);
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_21 = L_20;
uint8_t L_22 = V_2;
NullCheck(L_21);
(L_21)->SetAt(static_cast<il2cpp_array_size_t>(0), (uint8_t)L_22);
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_23 = L_21;
int32_t L_24 = V_1;
NullCheck(L_23);
(L_23)->SetAt(static_cast<il2cpp_array_size_t>(1), (uint8_t)((int32_t)((uint8_t)L_24)));
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_25 = L_23;
int32_t L_26 = V_1;
NullCheck(L_25);
(L_25)->SetAt(static_cast<il2cpp_array_size_t>(2), (uint8_t)((int32_t)((uint8_t)((int32_t)((int32_t)L_26>>(int32_t)8)))));
ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8 * L_27 = (ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8 *)il2cpp_codegen_object_new(ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8_il2cpp_TypeInfo_var);
ASN1__ctor_mB8A19279E6079D30BB6A594ADAC7FEE89E822CDC(L_27, (uint8_t)3, L_25, /*hidden argument*/NULL);
V_0 = L_27;
}
IL_0081:
{
ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8 * L_28 = V_0;
NullCheck(L_28);
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_29;
L_29 = VirtFuncInvoker0< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(4 /* System.Byte[] Mono.Security.ASN1::GetBytes() */, L_28);
return L_29;
}
}
// System.String System.Security.Cryptography.X509Certificates.X509KeyUsageExtension::ToString(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* X509KeyUsageExtension_ToString_m16FC486E9C54EBAEF7CA8C62C820DE7F0BE1E084 (X509KeyUsageExtension_tF78A71F87AEE0E0DC54DFF837AB2880E3D9CF227 * __this, bool ___multiLine0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&StringBuilder_t_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&String_t_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral001611EA36FEB747E4C160A3E7A402813B416AF1);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral0B85D604B5CD78CCF01CDA620C0DEF5DCC5C1FD7);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral2386E77CF610F786B06A91AF2C1B3FD2282D2745);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral315E5D2D2D07B33F565952A5C0509A988785ABF6);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral62F92E932A25B80B40DBB89A07F4AD690B6F800D);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral65A0F9B64ACE7C859A284EA54B1190CBF83E1260);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral758733BDBED83CBFF4F635AC26CA92AAE477F75D);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral75C57EB9FD95FB9243FE99EBB78A77B0117BD190);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral91E2D84A2649FBF80361A807D1020FB40280EF31);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral9C1ED970007229D4BBE511BC369FF3ACD197B1F2);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralB3F14BF976EFD974E34846B742502C802FABAE9D);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralCABCFE6297E437347D23F1B446C58DD70094E306);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralCD32F08BAB4EE365057213BCC6332DD39C2DE46B);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralD99605E29810F93D7DAE4EFBB764C41AF4E80D32);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralD9B53FE83B364433B53BD1F5712DD31D58258FB4);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralDEB31152738116748FADCEF38CE0C9964DACCF2F);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralEB6BBFD5D01FC65219978A6C56AF3DD9C51AD35E);
s_Il2CppMethodInitialized = true;
}
StringBuilder_t * V_0 = NULL;
int32_t V_1 = 0;
int32_t V_2 = 0;
uint8_t V_3 = 0x0;
{
int32_t L_0 = __this->get__status_7();
V_2 = L_0;
int32_t L_1 = V_2;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_1, (int32_t)1)))
{
case 0:
{
goto IL_0021;
}
case 1:
{
goto IL_0027;
}
case 2:
{
goto IL_0027;
}
case 3:
{
goto IL_0034;
}
}
}
{
goto IL_003a;
}
IL_0021:
{
String_t* L_2 = ((String_t_StaticFields*)il2cpp_codegen_static_fields_for(String_t_il2cpp_TypeInfo_var))->get_Empty_5();
return L_2;
}
IL_0027:
{
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3 = ((AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA *)__this)->get__raw_1();
String_t* L_4;
L_4 = X509Extension_FormatUnkownData_mEF1E719F7AD312B099351C581F4A06925AD9F18A(__this, L_3, /*hidden argument*/NULL);
return L_4;
}
IL_0034:
{
return _stringLiteralCD32F08BAB4EE365057213BCC6332DD39C2DE46B;
}
IL_003a:
{
Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800 * L_5 = ((AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA *)__this)->get__oid_0();
NullCheck(L_5);
String_t* L_6;
L_6 = Oid_get_Value_mD6F4D8AC1A3821D5DA263728C2DC0C208D084A78_inline(L_5, /*hidden argument*/NULL);
bool L_7;
L_7 = String_op_Inequality_mDDA2DDED3E7EF042987EB7180EE3E88105F0AAE2(L_6, _stringLiteralDEB31152738116748FADCEF38CE0C9964DACCF2F, /*hidden argument*/NULL);
if (!L_7)
{
goto IL_0067;
}
}
{
Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800 * L_8 = ((AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA *)__this)->get__oid_0();
NullCheck(L_8);
String_t* L_9;
L_9 = Oid_get_Value_mD6F4D8AC1A3821D5DA263728C2DC0C208D084A78_inline(L_8, /*hidden argument*/NULL);
String_t* L_10;
L_10 = String_Format_mB3D38E5238C3164DB4D7D29339D9E225A4496D17(_stringLiteralD9B53FE83B364433B53BD1F5712DD31D58258FB4, L_9, /*hidden argument*/NULL);
return L_10;
}
IL_0067:
{
int32_t L_11 = __this->get__keyUsages_6();
if (L_11)
{
goto IL_0075;
}
}
{
return _stringLiteralCD32F08BAB4EE365057213BCC6332DD39C2DE46B;
}
IL_0075:
{
StringBuilder_t * L_12 = (StringBuilder_t *)il2cpp_codegen_object_new(StringBuilder_t_il2cpp_TypeInfo_var);
StringBuilder__ctor_m5A81DE19E748F748E19FF13FB6FFD2547F9212D9(L_12, /*hidden argument*/NULL);
V_0 = L_12;
int32_t L_13 = __this->get__keyUsages_6();
if (!((int32_t)((int32_t)L_13&(int32_t)((int32_t)128))))
{
goto IL_0095;
}
}
{
StringBuilder_t * L_14 = V_0;
NullCheck(L_14);
StringBuilder_t * L_15;
L_15 = StringBuilder_Append_mD02AB0C74C6F55E3E330818C77EC147E22096FB1(L_14, _stringLiteralCABCFE6297E437347D23F1B446C58DD70094E306, /*hidden argument*/NULL);
}
IL_0095:
{
int32_t L_16 = __this->get__keyUsages_6();
if (!((int32_t)((int32_t)L_16&(int32_t)((int32_t)64))))
{
goto IL_00c1;
}
}
{
StringBuilder_t * L_17 = V_0;
NullCheck(L_17);
int32_t L_18;
L_18 = StringBuilder_get_Length_m680500263C59ACFD9582BF2AEEED8E92C87FF5C0(L_17, /*hidden argument*/NULL);
if ((((int32_t)L_18) <= ((int32_t)0)))
{
goto IL_00b5;
}
}
{
StringBuilder_t * L_19 = V_0;
NullCheck(L_19);
StringBuilder_t * L_20;
L_20 = StringBuilder_Append_mD02AB0C74C6F55E3E330818C77EC147E22096FB1(L_19, _stringLiteral758733BDBED83CBFF4F635AC26CA92AAE477F75D, /*hidden argument*/NULL);
}
IL_00b5:
{
StringBuilder_t * L_21 = V_0;
NullCheck(L_21);
StringBuilder_t * L_22;
L_22 = StringBuilder_Append_mD02AB0C74C6F55E3E330818C77EC147E22096FB1(L_21, _stringLiteral91E2D84A2649FBF80361A807D1020FB40280EF31, /*hidden argument*/NULL);
}
IL_00c1:
{
int32_t L_23 = __this->get__keyUsages_6();
if (!((int32_t)((int32_t)L_23&(int32_t)((int32_t)32))))
{
goto IL_00ed;
}
}
{
StringBuilder_t * L_24 = V_0;
NullCheck(L_24);
int32_t L_25;
L_25 = StringBuilder_get_Length_m680500263C59ACFD9582BF2AEEED8E92C87FF5C0(L_24, /*hidden argument*/NULL);
if ((((int32_t)L_25) <= ((int32_t)0)))
{
goto IL_00e1;
}
}
{
StringBuilder_t * L_26 = V_0;
NullCheck(L_26);
StringBuilder_t * L_27;
L_27 = StringBuilder_Append_mD02AB0C74C6F55E3E330818C77EC147E22096FB1(L_26, _stringLiteral758733BDBED83CBFF4F635AC26CA92AAE477F75D, /*hidden argument*/NULL);
}
IL_00e1:
{
StringBuilder_t * L_28 = V_0;
NullCheck(L_28);
StringBuilder_t * L_29;
L_29 = StringBuilder_Append_mD02AB0C74C6F55E3E330818C77EC147E22096FB1(L_28, _stringLiteralEB6BBFD5D01FC65219978A6C56AF3DD9C51AD35E, /*hidden argument*/NULL);
}
IL_00ed:
{
int32_t L_30 = __this->get__keyUsages_6();
if (!((int32_t)((int32_t)L_30&(int32_t)((int32_t)16))))
{
goto IL_0119;
}
}
{
StringBuilder_t * L_31 = V_0;
NullCheck(L_31);
int32_t L_32;
L_32 = StringBuilder_get_Length_m680500263C59ACFD9582BF2AEEED8E92C87FF5C0(L_31, /*hidden argument*/NULL);
if ((((int32_t)L_32) <= ((int32_t)0)))
{
goto IL_010d;
}
}
{
StringBuilder_t * L_33 = V_0;
NullCheck(L_33);
StringBuilder_t * L_34;
L_34 = StringBuilder_Append_mD02AB0C74C6F55E3E330818C77EC147E22096FB1(L_33, _stringLiteral758733BDBED83CBFF4F635AC26CA92AAE477F75D, /*hidden argument*/NULL);
}
IL_010d:
{
StringBuilder_t * L_35 = V_0;
NullCheck(L_35);
StringBuilder_t * L_36;
L_36 = StringBuilder_Append_mD02AB0C74C6F55E3E330818C77EC147E22096FB1(L_35, _stringLiteral9C1ED970007229D4BBE511BC369FF3ACD197B1F2, /*hidden argument*/NULL);
}
IL_0119:
{
int32_t L_37 = __this->get__keyUsages_6();
if (!((int32_t)((int32_t)L_37&(int32_t)8)))
{
goto IL_0144;
}
}
{
StringBuilder_t * L_38 = V_0;
NullCheck(L_38);
int32_t L_39;
L_39 = StringBuilder_get_Length_m680500263C59ACFD9582BF2AEEED8E92C87FF5C0(L_38, /*hidden argument*/NULL);
if ((((int32_t)L_39) <= ((int32_t)0)))
{
goto IL_0138;
}
}
{
StringBuilder_t * L_40 = V_0;
NullCheck(L_40);
StringBuilder_t * L_41;
L_41 = StringBuilder_Append_mD02AB0C74C6F55E3E330818C77EC147E22096FB1(L_40, _stringLiteral758733BDBED83CBFF4F635AC26CA92AAE477F75D, /*hidden argument*/NULL);
}
IL_0138:
{
StringBuilder_t * L_42 = V_0;
NullCheck(L_42);
StringBuilder_t * L_43;
L_43 = StringBuilder_Append_mD02AB0C74C6F55E3E330818C77EC147E22096FB1(L_42, _stringLiteral001611EA36FEB747E4C160A3E7A402813B416AF1, /*hidden argument*/NULL);
}
IL_0144:
{
int32_t L_44 = __this->get__keyUsages_6();
if (!((int32_t)((int32_t)L_44&(int32_t)4)))
{
goto IL_016f;
}
}
{
StringBuilder_t * L_45 = V_0;
NullCheck(L_45);
int32_t L_46;
L_46 = StringBuilder_get_Length_m680500263C59ACFD9582BF2AEEED8E92C87FF5C0(L_45, /*hidden argument*/NULL);
if ((((int32_t)L_46) <= ((int32_t)0)))
{
goto IL_0163;
}
}
{
StringBuilder_t * L_47 = V_0;
NullCheck(L_47);
StringBuilder_t * L_48;
L_48 = StringBuilder_Append_mD02AB0C74C6F55E3E330818C77EC147E22096FB1(L_47, _stringLiteral758733BDBED83CBFF4F635AC26CA92AAE477F75D, /*hidden argument*/NULL);
}
IL_0163:
{
StringBuilder_t * L_49 = V_0;
NullCheck(L_49);
StringBuilder_t * L_50;
L_50 = StringBuilder_Append_mD02AB0C74C6F55E3E330818C77EC147E22096FB1(L_49, _stringLiteral0B85D604B5CD78CCF01CDA620C0DEF5DCC5C1FD7, /*hidden argument*/NULL);
}
IL_016f:
{
int32_t L_51 = __this->get__keyUsages_6();
if (!((int32_t)((int32_t)L_51&(int32_t)2)))
{
goto IL_019a;
}
}
{
StringBuilder_t * L_52 = V_0;
NullCheck(L_52);
int32_t L_53;
L_53 = StringBuilder_get_Length_m680500263C59ACFD9582BF2AEEED8E92C87FF5C0(L_52, /*hidden argument*/NULL);
if ((((int32_t)L_53) <= ((int32_t)0)))
{
goto IL_018e;
}
}
{
StringBuilder_t * L_54 = V_0;
NullCheck(L_54);
StringBuilder_t * L_55;
L_55 = StringBuilder_Append_mD02AB0C74C6F55E3E330818C77EC147E22096FB1(L_54, _stringLiteral758733BDBED83CBFF4F635AC26CA92AAE477F75D, /*hidden argument*/NULL);
}
IL_018e:
{
StringBuilder_t * L_56 = V_0;
NullCheck(L_56);
StringBuilder_t * L_57;
L_57 = StringBuilder_Append_mD02AB0C74C6F55E3E330818C77EC147E22096FB1(L_56, _stringLiteral315E5D2D2D07B33F565952A5C0509A988785ABF6, /*hidden argument*/NULL);
}
IL_019a:
{
int32_t L_58 = __this->get__keyUsages_6();
if (!((int32_t)((int32_t)L_58&(int32_t)1)))
{
goto IL_01c5;
}
}
{
StringBuilder_t * L_59 = V_0;
NullCheck(L_59);
int32_t L_60;
L_60 = StringBuilder_get_Length_m680500263C59ACFD9582BF2AEEED8E92C87FF5C0(L_59, /*hidden argument*/NULL);
if ((((int32_t)L_60) <= ((int32_t)0)))
{
goto IL_01b9;
}
}
{
StringBuilder_t * L_61 = V_0;
NullCheck(L_61);
StringBuilder_t * L_62;
L_62 = StringBuilder_Append_mD02AB0C74C6F55E3E330818C77EC147E22096FB1(L_61, _stringLiteral758733BDBED83CBFF4F635AC26CA92AAE477F75D, /*hidden argument*/NULL);
}
IL_01b9:
{
StringBuilder_t * L_63 = V_0;
NullCheck(L_63);
StringBuilder_t * L_64;
L_64 = StringBuilder_Append_mD02AB0C74C6F55E3E330818C77EC147E22096FB1(L_63, _stringLiteral75C57EB9FD95FB9243FE99EBB78A77B0117BD190, /*hidden argument*/NULL);
}
IL_01c5:
{
int32_t L_65 = __this->get__keyUsages_6();
if (!((int32_t)((int32_t)L_65&(int32_t)((int32_t)32768))))
{
goto IL_01f4;
}
}
{
StringBuilder_t * L_66 = V_0;
NullCheck(L_66);
int32_t L_67;
L_67 = StringBuilder_get_Length_m680500263C59ACFD9582BF2AEEED8E92C87FF5C0(L_66, /*hidden argument*/NULL);
if ((((int32_t)L_67) <= ((int32_t)0)))
{
goto IL_01e8;
}
}
{
StringBuilder_t * L_68 = V_0;
NullCheck(L_68);
StringBuilder_t * L_69;
L_69 = StringBuilder_Append_mD02AB0C74C6F55E3E330818C77EC147E22096FB1(L_68, _stringLiteral758733BDBED83CBFF4F635AC26CA92AAE477F75D, /*hidden argument*/NULL);
}
IL_01e8:
{
StringBuilder_t * L_70 = V_0;
NullCheck(L_70);
StringBuilder_t * L_71;
L_71 = StringBuilder_Append_mD02AB0C74C6F55E3E330818C77EC147E22096FB1(L_70, _stringLiteral62F92E932A25B80B40DBB89A07F4AD690B6F800D, /*hidden argument*/NULL);
}
IL_01f4:
{
int32_t L_72 = __this->get__keyUsages_6();
V_1 = L_72;
StringBuilder_t * L_73 = V_0;
NullCheck(L_73);
StringBuilder_t * L_74;
L_74 = StringBuilder_Append_mD02AB0C74C6F55E3E330818C77EC147E22096FB1(L_73, _stringLiteralD99605E29810F93D7DAE4EFBB764C41AF4E80D32, /*hidden argument*/NULL);
StringBuilder_t * L_75 = V_0;
int32_t L_76 = V_1;
V_3 = (uint8_t)((int32_t)((uint8_t)L_76));
String_t* L_77;
L_77 = Byte_ToString_mABEF6F24915951FF4A4D87B389D8418B2638178C((uint8_t*)(&V_3), _stringLiteral65A0F9B64ACE7C859A284EA54B1190CBF83E1260, /*hidden argument*/NULL);
NullCheck(L_75);
StringBuilder_t * L_78;
L_78 = StringBuilder_Append_mD02AB0C74C6F55E3E330818C77EC147E22096FB1(L_75, L_77, /*hidden argument*/NULL);
int32_t L_79 = V_1;
if ((((int32_t)L_79) <= ((int32_t)((int32_t)255))))
{
goto IL_0249;
}
}
{
StringBuilder_t * L_80 = V_0;
NullCheck(L_80);
StringBuilder_t * L_81;
L_81 = StringBuilder_Append_mD02AB0C74C6F55E3E330818C77EC147E22096FB1(L_80, _stringLiteral2386E77CF610F786B06A91AF2C1B3FD2282D2745, /*hidden argument*/NULL);
StringBuilder_t * L_82 = V_0;
int32_t L_83 = V_1;
V_3 = (uint8_t)((int32_t)((uint8_t)((int32_t)((int32_t)L_83>>(int32_t)8))));
String_t* L_84;
L_84 = Byte_ToString_mABEF6F24915951FF4A4D87B389D8418B2638178C((uint8_t*)(&V_3), _stringLiteral65A0F9B64ACE7C859A284EA54B1190CBF83E1260, /*hidden argument*/NULL);
NullCheck(L_82);
StringBuilder_t * L_85;
L_85 = StringBuilder_Append_mD02AB0C74C6F55E3E330818C77EC147E22096FB1(L_82, L_84, /*hidden argument*/NULL);
}
IL_0249:
{
StringBuilder_t * L_86 = V_0;
NullCheck(L_86);
StringBuilder_t * L_87;
L_87 = StringBuilder_Append_mD02AB0C74C6F55E3E330818C77EC147E22096FB1(L_86, _stringLiteralB3F14BF976EFD974E34846B742502C802FABAE9D, /*hidden argument*/NULL);
bool L_88 = ___multiLine0;
if (!L_88)
{
goto IL_0264;
}
}
{
StringBuilder_t * L_89 = V_0;
String_t* L_90;
L_90 = Environment_get_NewLine_mD145C8EE917C986BAA7C5243DEFAF4D333C521B4(/*hidden argument*/NULL);
NullCheck(L_89);
StringBuilder_t * L_91;
L_91 = StringBuilder_Append_mD02AB0C74C6F55E3E330818C77EC147E22096FB1(L_89, L_90, /*hidden argument*/NULL);
}
IL_0264:
{
StringBuilder_t * L_92 = V_0;
NullCheck(L_92);
String_t* L_93;
L_93 = VirtFuncInvoker0< String_t* >::Invoke(3 /* System.String System.Object::ToString() */, L_92);
return L_93;
}
}
#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 System.Security.Cryptography.X509Certificates.X509SubjectKeyIdentifierExtension::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void X509SubjectKeyIdentifierExtension__ctor_m0A09F64706823AF7D0494B62B041FF11AFA587CF (X509SubjectKeyIdentifierExtension_t9781D24066D84C09C7137124FBC848491BF54567 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral830B64B4254C502C612E53C83DBEE6238E710499);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralDD5A04FDCE8EDE26B5E78DE17CAB2D9DB4D10C73);
s_Il2CppMethodInitialized = true;
}
{
X509Extension__ctor_m4DF31A0909F64A47F2F8E64E814FE16E022794E7(__this, /*hidden argument*/NULL);
Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800 * L_0 = (Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800 *)il2cpp_codegen_object_new(Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800_il2cpp_TypeInfo_var);
Oid__ctor_m90964DEF8B3A9EEFAB59023627E2008E4A34983E(L_0, _stringLiteral830B64B4254C502C612E53C83DBEE6238E710499, _stringLiteralDD5A04FDCE8EDE26B5E78DE17CAB2D9DB4D10C73, /*hidden argument*/NULL);
((AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA *)__this)->set__oid_0(L_0);
return;
}
}
// System.Void System.Security.Cryptography.X509Certificates.X509SubjectKeyIdentifierExtension::.ctor(System.Security.Cryptography.AsnEncodedData,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void X509SubjectKeyIdentifierExtension__ctor_m6D7E57ECBE71290733F6658D8197F034A615DB02 (X509SubjectKeyIdentifierExtension_t9781D24066D84C09C7137124FBC848491BF54567 * __this, AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA * ___encodedSubjectKeyIdentifier0, bool ___critical1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral830B64B4254C502C612E53C83DBEE6238E710499);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralDD5A04FDCE8EDE26B5E78DE17CAB2D9DB4D10C73);
s_Il2CppMethodInitialized = true;
}
{
X509Extension__ctor_m4DF31A0909F64A47F2F8E64E814FE16E022794E7(__this, /*hidden argument*/NULL);
Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800 * L_0 = (Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800 *)il2cpp_codegen_object_new(Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800_il2cpp_TypeInfo_var);
Oid__ctor_m90964DEF8B3A9EEFAB59023627E2008E4A34983E(L_0, _stringLiteral830B64B4254C502C612E53C83DBEE6238E710499, _stringLiteralDD5A04FDCE8EDE26B5E78DE17CAB2D9DB4D10C73, /*hidden argument*/NULL);
((AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA *)__this)->set__oid_0(L_0);
AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA * L_1 = ___encodedSubjectKeyIdentifier0;
NullCheck(L_1);
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2;
L_2 = AsnEncodedData_get_RawData_mDCA2B393570BA050D3840B2449447A2C10639278_inline(L_1, /*hidden argument*/NULL);
((AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA *)__this)->set__raw_1(L_2);
bool L_3 = ___critical1;
X509Extension_set_Critical_mF361A9EB776A20CA39923BD48C4A492A734144E0_inline(__this, L_3, /*hidden argument*/NULL);
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_4;
L_4 = AsnEncodedData_get_RawData_mDCA2B393570BA050D3840B2449447A2C10639278_inline(__this, /*hidden argument*/NULL);
int32_t L_5;
L_5 = X509SubjectKeyIdentifierExtension_Decode_m6ED45FB642F2A5EDAD51EE357CAB8EB95BC8EBA9(__this, L_4, /*hidden argument*/NULL);
__this->set__status_7(L_5);
return;
}
}
// System.Void System.Security.Cryptography.X509Certificates.X509SubjectKeyIdentifierExtension::.ctor(System.Byte[],System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void X509SubjectKeyIdentifierExtension__ctor_m178F0928E93C151B64754E82C9613687D80671A0 (X509SubjectKeyIdentifierExtension_t9781D24066D84C09C7137124FBC848491BF54567 * __this, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___subjectKeyIdentifier0, bool ___critical1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral830B64B4254C502C612E53C83DBEE6238E710499);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralDD5A04FDCE8EDE26B5E78DE17CAB2D9DB4D10C73);
s_Il2CppMethodInitialized = true;
}
{
X509Extension__ctor_m4DF31A0909F64A47F2F8E64E814FE16E022794E7(__this, /*hidden argument*/NULL);
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = ___subjectKeyIdentifier0;
if (L_0)
{
goto IL_0014;
}
}
{
ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB * L_1 = (ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB_il2cpp_TypeInfo_var)));
ArgumentNullException__ctor_m81AB157B93BFE2FBFDB08B88F84B444293042F97(L_1, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralC4E1CA5F695C0687C577DB8E17E55E7B5845A445)), /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&X509SubjectKeyIdentifierExtension__ctor_m178F0928E93C151B64754E82C9613687D80671A0_RuntimeMethod_var)));
}
IL_0014:
{
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2 = ___subjectKeyIdentifier0;
NullCheck(L_2);
if ((((RuntimeArray*)L_2)->max_length))
{
goto IL_0023;
}
}
{
ArgumentException_t505FA8C11E883F2D96C797AD9D396490794DEE00 * L_3 = (ArgumentException_t505FA8C11E883F2D96C797AD9D396490794DEE00 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ArgumentException_t505FA8C11E883F2D96C797AD9D396490794DEE00_il2cpp_TypeInfo_var)));
ArgumentException__ctor_m2D35EAD113C2ADC99EB17B940A2097A93FD23EFC(L_3, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralC4E1CA5F695C0687C577DB8E17E55E7B5845A445)), /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_3, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&X509SubjectKeyIdentifierExtension__ctor_m178F0928E93C151B64754E82C9613687D80671A0_RuntimeMethod_var)));
}
IL_0023:
{
Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800 * L_4 = (Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800 *)il2cpp_codegen_object_new(Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800_il2cpp_TypeInfo_var);
Oid__ctor_m90964DEF8B3A9EEFAB59023627E2008E4A34983E(L_4, _stringLiteral830B64B4254C502C612E53C83DBEE6238E710499, _stringLiteralDD5A04FDCE8EDE26B5E78DE17CAB2D9DB4D10C73, /*hidden argument*/NULL);
((AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA *)__this)->set__oid_0(L_4);
bool L_5 = ___critical1;
X509Extension_set_Critical_mF361A9EB776A20CA39923BD48C4A492A734144E0_inline(__this, L_5, /*hidden argument*/NULL);
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_6 = ___subjectKeyIdentifier0;
NullCheck((RuntimeArray *)(RuntimeArray *)L_6);
RuntimeObject * L_7;
L_7 = Array_Clone_m3C566B3D3F4333212411BD7C3B61D798BADB3F3C((RuntimeArray *)(RuntimeArray *)L_6, /*hidden argument*/NULL);
__this->set__subjectKeyIdentifier_5(((ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)Castclass((RuntimeObject*)L_7, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var)));
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_8;
L_8 = X509SubjectKeyIdentifierExtension_Encode_m6BEC26EF891B31FF98EF4FDF96CC0E9CEDF0B208(__this, /*hidden argument*/NULL);
AsnEncodedData_set_RawData_m867F92C32F87E4D8932D17EDF21785CA0FDA3BEA(__this, L_8, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Security.Cryptography.X509Certificates.X509SubjectKeyIdentifierExtension::.ctor(System.String,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void X509SubjectKeyIdentifierExtension__ctor_mDEF8BD36D2A43B1BDC54760AC6E57458E5ECBFE6 (X509SubjectKeyIdentifierExtension_t9781D24066D84C09C7137124FBC848491BF54567 * __this, String_t* ___subjectKeyIdentifier0, bool ___critical1, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral830B64B4254C502C612E53C83DBEE6238E710499);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralDD5A04FDCE8EDE26B5E78DE17CAB2D9DB4D10C73);
s_Il2CppMethodInitialized = true;
}
{
X509Extension__ctor_m4DF31A0909F64A47F2F8E64E814FE16E022794E7(__this, /*hidden argument*/NULL);
String_t* L_0 = ___subjectKeyIdentifier0;
if (L_0)
{
goto IL_0014;
}
}
{
ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB * L_1 = (ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB_il2cpp_TypeInfo_var)));
ArgumentNullException__ctor_m81AB157B93BFE2FBFDB08B88F84B444293042F97(L_1, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralC4E1CA5F695C0687C577DB8E17E55E7B5845A445)), /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&X509SubjectKeyIdentifierExtension__ctor_mDEF8BD36D2A43B1BDC54760AC6E57458E5ECBFE6_RuntimeMethod_var)));
}
IL_0014:
{
String_t* L_2 = ___subjectKeyIdentifier0;
NullCheck(L_2);
int32_t L_3;
L_3 = String_get_Length_m129FC0ADA02FECBED3C0B1A809AE84A5AEE1CF09_inline(L_2, /*hidden argument*/NULL);
if ((((int32_t)L_3) >= ((int32_t)2)))
{
goto IL_0028;
}
}
{
ArgumentException_t505FA8C11E883F2D96C797AD9D396490794DEE00 * L_4 = (ArgumentException_t505FA8C11E883F2D96C797AD9D396490794DEE00 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ArgumentException_t505FA8C11E883F2D96C797AD9D396490794DEE00_il2cpp_TypeInfo_var)));
ArgumentException__ctor_m2D35EAD113C2ADC99EB17B940A2097A93FD23EFC(L_4, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralC4E1CA5F695C0687C577DB8E17E55E7B5845A445)), /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_4, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&X509SubjectKeyIdentifierExtension__ctor_mDEF8BD36D2A43B1BDC54760AC6E57458E5ECBFE6_RuntimeMethod_var)));
}
IL_0028:
{
Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800 * L_5 = (Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800 *)il2cpp_codegen_object_new(Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800_il2cpp_TypeInfo_var);
Oid__ctor_m90964DEF8B3A9EEFAB59023627E2008E4A34983E(L_5, _stringLiteral830B64B4254C502C612E53C83DBEE6238E710499, _stringLiteralDD5A04FDCE8EDE26B5E78DE17CAB2D9DB4D10C73, /*hidden argument*/NULL);
((AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA *)__this)->set__oid_0(L_5);
bool L_6 = ___critical1;
X509Extension_set_Critical_mF361A9EB776A20CA39923BD48C4A492A734144E0_inline(__this, L_6, /*hidden argument*/NULL);
String_t* L_7 = ___subjectKeyIdentifier0;
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_8;
L_8 = X509SubjectKeyIdentifierExtension_FromHex_m8CAB896F210E058270EB9492F05D2776FEB6A1EA(L_7, /*hidden argument*/NULL);
__this->set__subjectKeyIdentifier_5(L_8);
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_9;
L_9 = X509SubjectKeyIdentifierExtension_Encode_m6BEC26EF891B31FF98EF4FDF96CC0E9CEDF0B208(__this, /*hidden argument*/NULL);
AsnEncodedData_set_RawData_m867F92C32F87E4D8932D17EDF21785CA0FDA3BEA(__this, L_9, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Security.Cryptography.X509Certificates.X509SubjectKeyIdentifierExtension::.ctor(System.Security.Cryptography.X509Certificates.PublicKey,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void X509SubjectKeyIdentifierExtension__ctor_m50305847B96BE3F6CB0816EB143AB89108DA493A (X509SubjectKeyIdentifierExtension_t9781D24066D84C09C7137124FBC848491BF54567 * __this, PublicKey_t40ABE7E0985F3E274C9564670970EC6F3B39A4A2 * ___key0, bool ___critical1, const RuntimeMethod* method)
{
{
PublicKey_t40ABE7E0985F3E274C9564670970EC6F3B39A4A2 * L_0 = ___key0;
bool L_1 = ___critical1;
X509SubjectKeyIdentifierExtension__ctor_m7CE599E8BEFBF176243E07100E2B9D1AD40E109E(__this, L_0, 0, L_1, /*hidden argument*/NULL);
return;
}
}
// System.Void System.Security.Cryptography.X509Certificates.X509SubjectKeyIdentifierExtension::.ctor(System.Security.Cryptography.X509Certificates.PublicKey,System.Security.Cryptography.X509Certificates.X509SubjectKeyIdentifierHashAlgorithm,System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void X509SubjectKeyIdentifierExtension__ctor_m7CE599E8BEFBF176243E07100E2B9D1AD40E109E (X509SubjectKeyIdentifierExtension_t9781D24066D84C09C7137124FBC848491BF54567 * __this, PublicKey_t40ABE7E0985F3E274C9564670970EC6F3B39A4A2 * ___key0, int32_t ___algorithm1, bool ___critical2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral830B64B4254C502C612E53C83DBEE6238E710499);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralDD5A04FDCE8EDE26B5E78DE17CAB2D9DB4D10C73);
s_Il2CppMethodInitialized = true;
}
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_0 = NULL;
ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8 * V_1 = NULL;
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_2 = NULL;
{
X509Extension__ctor_m4DF31A0909F64A47F2F8E64E814FE16E022794E7(__this, /*hidden argument*/NULL);
PublicKey_t40ABE7E0985F3E274C9564670970EC6F3B39A4A2 * L_0 = ___key0;
if (L_0)
{
goto IL_0014;
}
}
{
ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB * L_1 = (ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB_il2cpp_TypeInfo_var)));
ArgumentNullException__ctor_m81AB157B93BFE2FBFDB08B88F84B444293042F97(L_1, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralE7D028CCE3B6E7B61AE2C752D7AE970DA04AB7C6)), /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&X509SubjectKeyIdentifierExtension__ctor_m7CE599E8BEFBF176243E07100E2B9D1AD40E109E_RuntimeMethod_var)));
}
IL_0014:
{
PublicKey_t40ABE7E0985F3E274C9564670970EC6F3B39A4A2 * L_2 = ___key0;
NullCheck(L_2);
AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA * L_3;
L_3 = PublicKey_get_EncodedKeyValue_m0294AF8C29C7329BEB243543D8FDA98B60FDB291_inline(L_2, /*hidden argument*/NULL);
NullCheck(L_3);
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_4;
L_4 = AsnEncodedData_get_RawData_mDCA2B393570BA050D3840B2449447A2C10639278_inline(L_3, /*hidden argument*/NULL);
V_0 = L_4;
int32_t L_5 = ___algorithm1;
switch (L_5)
{
case 0:
{
goto IL_0037;
}
case 1:
{
goto IL_004d;
}
case 2:
{
goto IL_008f;
}
}
}
{
goto IL_0113;
}
IL_0037:
{
SHA1_t15B592B9935E19EC3FD5679B969239AC572E2C0E * L_6;
L_6 = SHA1_Create_mC0C045956B56FC33D44AF7146C0E1DF27A3D102A(/*hidden argument*/NULL);
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_7 = V_0;
NullCheck(L_6);
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_8;
L_8 = HashAlgorithm_ComputeHash_m54AE40F9CD9E46736384369DBB5739FBCBDF67D9(L_6, L_7, /*hidden argument*/NULL);
__this->set__subjectKeyIdentifier_5(L_8);
goto IL_011e;
}
IL_004d:
{
SHA1_t15B592B9935E19EC3FD5679B969239AC572E2C0E * L_9;
L_9 = SHA1_Create_mC0C045956B56FC33D44AF7146C0E1DF27A3D102A(/*hidden argument*/NULL);
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_10 = V_0;
NullCheck(L_9);
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_11;
L_11 = HashAlgorithm_ComputeHash_m54AE40F9CD9E46736384369DBB5739FBCBDF67D9(L_9, L_10, /*hidden argument*/NULL);
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_12 = (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)SZArrayNew(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var, (uint32_t)8);
__this->set__subjectKeyIdentifier_5(L_12);
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_13 = __this->get__subjectKeyIdentifier_5();
Buffer_BlockCopy_mD01FC13D87078586714AA235261A9E786C351725((RuntimeArray *)(RuntimeArray *)L_11, ((int32_t)12), (RuntimeArray *)(RuntimeArray *)L_13, 0, 8, /*hidden argument*/NULL);
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_14 = __this->get__subjectKeyIdentifier_5();
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_15 = __this->get__subjectKeyIdentifier_5();
NullCheck(L_15);
int32_t L_16 = 0;
uint8_t L_17 = (L_15)->GetAt(static_cast<il2cpp_array_size_t>(L_16));
NullCheck(L_14);
(L_14)->SetAt(static_cast<il2cpp_array_size_t>(0), (uint8_t)((int32_t)((uint8_t)((int32_t)((int32_t)((int32_t)64)|(int32_t)((int32_t)((int32_t)L_17&(int32_t)((int32_t)15))))))));
goto IL_011e;
}
IL_008f:
{
ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8 * L_18 = (ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8 *)il2cpp_codegen_object_new(ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8_il2cpp_TypeInfo_var);
ASN1__ctor_mC8594B7A2376B58F26F1D0457B0F9F5880D87142(L_18, (uint8_t)((int32_t)48), /*hidden argument*/NULL);
V_1 = L_18;
ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8 * L_19 = V_1;
ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8 * L_20 = (ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8 *)il2cpp_codegen_object_new(ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8_il2cpp_TypeInfo_var);
ASN1__ctor_mC8594B7A2376B58F26F1D0457B0F9F5880D87142(L_20, (uint8_t)((int32_t)48), /*hidden argument*/NULL);
NullCheck(L_19);
ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8 * L_21;
L_21 = ASN1_Add_m35AB44F469BE9C185A91D2E265A7DA6B27311F7B(L_19, L_20, /*hidden argument*/NULL);
ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8 * L_22 = L_21;
PublicKey_t40ABE7E0985F3E274C9564670970EC6F3B39A4A2 * L_23 = ___key0;
NullCheck(L_23);
Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800 * L_24;
L_24 = PublicKey_get_Oid_mE3207B84A9090EC5404F6CD4AEABB1F37EC1F988_inline(L_23, /*hidden argument*/NULL);
NullCheck(L_24);
String_t* L_25;
L_25 = Oid_get_Value_mD6F4D8AC1A3821D5DA263728C2DC0C208D084A78_inline(L_24, /*hidden argument*/NULL);
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_26;
L_26 = CryptoConfig_EncodeOID_mD433EFD5608689AA7A858351D34DB7EEDBE1494B(L_25, /*hidden argument*/NULL);
ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8 * L_27 = (ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8 *)il2cpp_codegen_object_new(ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8_il2cpp_TypeInfo_var);
ASN1__ctor_mE534D499DABEAAA35E0F30572CD295A9FCFA1C7E(L_27, L_26, /*hidden argument*/NULL);
NullCheck(L_22);
ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8 * L_28;
L_28 = ASN1_Add_m35AB44F469BE9C185A91D2E265A7DA6B27311F7B(L_22, L_27, /*hidden argument*/NULL);
PublicKey_t40ABE7E0985F3E274C9564670970EC6F3B39A4A2 * L_29 = ___key0;
NullCheck(L_29);
AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA * L_30;
L_30 = PublicKey_get_EncodedParameters_mFF4F9A39D91C0A00D1B36C93944816154C7255B3_inline(L_29, /*hidden argument*/NULL);
NullCheck(L_30);
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_31;
L_31 = AsnEncodedData_get_RawData_mDCA2B393570BA050D3840B2449447A2C10639278_inline(L_30, /*hidden argument*/NULL);
ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8 * L_32 = (ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8 *)il2cpp_codegen_object_new(ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8_il2cpp_TypeInfo_var);
ASN1__ctor_mE534D499DABEAAA35E0F30572CD295A9FCFA1C7E(L_32, L_31, /*hidden argument*/NULL);
NullCheck(L_22);
ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8 * L_33;
L_33 = ASN1_Add_m35AB44F469BE9C185A91D2E265A7DA6B27311F7B(L_22, L_32, /*hidden argument*/NULL);
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_34 = V_0;
NullCheck(L_34);
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_35 = (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)SZArrayNew(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var, (uint32_t)((int32_t)il2cpp_codegen_add((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_34)->max_length))), (int32_t)1)));
V_2 = L_35;
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_36 = V_0;
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_37 = V_2;
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_38 = V_0;
NullCheck(L_38);
Buffer_BlockCopy_mD01FC13D87078586714AA235261A9E786C351725((RuntimeArray *)(RuntimeArray *)L_36, 0, (RuntimeArray *)(RuntimeArray *)L_37, 1, ((int32_t)((int32_t)(((RuntimeArray*)L_38)->max_length))), /*hidden argument*/NULL);
ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8 * L_39 = V_1;
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_40 = V_2;
ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8 * L_41 = (ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8 *)il2cpp_codegen_object_new(ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8_il2cpp_TypeInfo_var);
ASN1__ctor_mB8A19279E6079D30BB6A594ADAC7FEE89E822CDC(L_41, (uint8_t)3, L_40, /*hidden argument*/NULL);
NullCheck(L_39);
ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8 * L_42;
L_42 = ASN1_Add_m35AB44F469BE9C185A91D2E265A7DA6B27311F7B(L_39, L_41, /*hidden argument*/NULL);
SHA1_t15B592B9935E19EC3FD5679B969239AC572E2C0E * L_43;
L_43 = SHA1_Create_mC0C045956B56FC33D44AF7146C0E1DF27A3D102A(/*hidden argument*/NULL);
ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8 * L_44 = V_1;
NullCheck(L_44);
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_45;
L_45 = VirtFuncInvoker0< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(4 /* System.Byte[] Mono.Security.ASN1::GetBytes() */, L_44);
NullCheck(L_43);
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_46;
L_46 = HashAlgorithm_ComputeHash_m54AE40F9CD9E46736384369DBB5739FBCBDF67D9(L_43, L_45, /*hidden argument*/NULL);
__this->set__subjectKeyIdentifier_5(L_46);
goto IL_011e;
}
IL_0113:
{
ArgumentException_t505FA8C11E883F2D96C797AD9D396490794DEE00 * L_47 = (ArgumentException_t505FA8C11E883F2D96C797AD9D396490794DEE00 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ArgumentException_t505FA8C11E883F2D96C797AD9D396490794DEE00_il2cpp_TypeInfo_var)));
ArgumentException__ctor_m2D35EAD113C2ADC99EB17B940A2097A93FD23EFC(L_47, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralA9AF8D13B64E63A31A01386E007E5C9CF3A6CF5B)), /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_47, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&X509SubjectKeyIdentifierExtension__ctor_m7CE599E8BEFBF176243E07100E2B9D1AD40E109E_RuntimeMethod_var)));
}
IL_011e:
{
Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800 * L_48 = (Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800 *)il2cpp_codegen_object_new(Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800_il2cpp_TypeInfo_var);
Oid__ctor_m90964DEF8B3A9EEFAB59023627E2008E4A34983E(L_48, _stringLiteral830B64B4254C502C612E53C83DBEE6238E710499, _stringLiteralDD5A04FDCE8EDE26B5E78DE17CAB2D9DB4D10C73, /*hidden argument*/NULL);
((AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA *)__this)->set__oid_0(L_48);
bool L_49 = ___critical2;
X509Extension_set_Critical_mF361A9EB776A20CA39923BD48C4A492A734144E0_inline(__this, L_49, /*hidden argument*/NULL);
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_50;
L_50 = X509SubjectKeyIdentifierExtension_Encode_m6BEC26EF891B31FF98EF4FDF96CC0E9CEDF0B208(__this, /*hidden argument*/NULL);
AsnEncodedData_set_RawData_m867F92C32F87E4D8932D17EDF21785CA0FDA3BEA(__this, L_50, /*hidden argument*/NULL);
return;
}
}
// System.String System.Security.Cryptography.X509Certificates.X509SubjectKeyIdentifierExtension::get_SubjectKeyIdentifier()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* X509SubjectKeyIdentifierExtension_get_SubjectKeyIdentifier_mD90F985708EE4E69C37AA8B09AEBBE64A4002601 (X509SubjectKeyIdentifierExtension_t9781D24066D84C09C7137124FBC848491BF54567 * __this, const RuntimeMethod* method)
{
int32_t V_0 = 0;
{
int32_t L_0 = __this->get__status_7();
V_0 = L_0;
int32_t L_1 = V_0;
if (!L_1)
{
goto IL_000e;
}
}
{
int32_t L_2 = V_0;
if ((!(((uint32_t)L_2) == ((uint32_t)4))))
{
goto IL_002e;
}
}
IL_000e:
{
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3 = __this->get__subjectKeyIdentifier_5();
if (!L_3)
{
goto IL_0027;
}
}
{
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_4 = __this->get__subjectKeyIdentifier_5();
String_t* L_5;
L_5 = CryptoConvert_ToHex_m567E8BF67E972F8A8AC9DC37BEE4F06521082EF4(L_4, /*hidden argument*/NULL);
__this->set__ski_6(L_5);
}
IL_0027:
{
String_t* L_6 = __this->get__ski_6();
return L_6;
}
IL_002e:
{
CryptographicException_tFFE56EF733D1150A0F3738DDE2CC4DE1A61849D5 * L_7 = (CryptographicException_tFFE56EF733D1150A0F3738DDE2CC4DE1A61849D5 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&CryptographicException_tFFE56EF733D1150A0F3738DDE2CC4DE1A61849D5_il2cpp_TypeInfo_var)));
CryptographicException__ctor_mE6D40FE819914DA1C6600907D160AD4231B46C31(L_7, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralD20A4058B7B405BF173793FAAC54A85874A0CDDE)), /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_7, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&X509SubjectKeyIdentifierExtension_get_SubjectKeyIdentifier_mD90F985708EE4E69C37AA8B09AEBBE64A4002601_RuntimeMethod_var)));
}
}
// System.Void System.Security.Cryptography.X509Certificates.X509SubjectKeyIdentifierExtension::CopyFrom(System.Security.Cryptography.AsnEncodedData)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void X509SubjectKeyIdentifierExtension_CopyFrom_mA94CE978304FA27C3CD9719F34D85CD34FC3695D (X509SubjectKeyIdentifierExtension_t9781D24066D84C09C7137124FBC848491BF54567 * __this, AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA * ___asnEncodedData0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&X509Extension_t9142CAA11EB46CC4CAB51A26D3B84BDA06FA9FF5_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral830B64B4254C502C612E53C83DBEE6238E710499);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralDD5A04FDCE8EDE26B5E78DE17CAB2D9DB4D10C73);
s_Il2CppMethodInitialized = true;
}
X509Extension_t9142CAA11EB46CC4CAB51A26D3B84BDA06FA9FF5 * V_0 = NULL;
{
AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA * L_0 = ___asnEncodedData0;
if (L_0)
{
goto IL_000e;
}
}
{
ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB * L_1 = (ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB_il2cpp_TypeInfo_var)));
ArgumentNullException__ctor_m81AB157B93BFE2FBFDB08B88F84B444293042F97(L_1, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralC9FB8C73B342D5B3C700EDA7C5212DD547D29E4E)), /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&X509SubjectKeyIdentifierExtension_CopyFrom_mA94CE978304FA27C3CD9719F34D85CD34FC3695D_RuntimeMethod_var)));
}
IL_000e:
{
AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA * L_2 = ___asnEncodedData0;
V_0 = ((X509Extension_t9142CAA11EB46CC4CAB51A26D3B84BDA06FA9FF5 *)IsInstClass((RuntimeObject*)L_2, X509Extension_t9142CAA11EB46CC4CAB51A26D3B84BDA06FA9FF5_il2cpp_TypeInfo_var));
X509Extension_t9142CAA11EB46CC4CAB51A26D3B84BDA06FA9FF5 * L_3 = V_0;
if (L_3)
{
goto IL_002d;
}
}
{
String_t* L_4;
L_4 = Locale_GetText_mF8FE147379A36330B41A5D5E2CAD23C18931E66E(((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralD615D452AAA84D559E3E5FFF5168A1AF47500E8D)), /*hidden argument*/NULL);
ArgumentException_t505FA8C11E883F2D96C797AD9D396490794DEE00 * L_5 = (ArgumentException_t505FA8C11E883F2D96C797AD9D396490794DEE00 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ArgumentException_t505FA8C11E883F2D96C797AD9D396490794DEE00_il2cpp_TypeInfo_var)));
ArgumentException__ctor_m71044C2110E357B71A1C30D2561C3F861AF1DC0D(L_5, L_4, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteralC9FB8C73B342D5B3C700EDA7C5212DD547D29E4E)), /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_5, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&X509SubjectKeyIdentifierExtension_CopyFrom_mA94CE978304FA27C3CD9719F34D85CD34FC3695D_RuntimeMethod_var)));
}
IL_002d:
{
X509Extension_t9142CAA11EB46CC4CAB51A26D3B84BDA06FA9FF5 * L_6 = V_0;
NullCheck(L_6);
Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800 * L_7 = ((AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA *)L_6)->get__oid_0();
if (L_7)
{
goto IL_004c;
}
}
{
Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800 * L_8 = (Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800 *)il2cpp_codegen_object_new(Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800_il2cpp_TypeInfo_var);
Oid__ctor_m90964DEF8B3A9EEFAB59023627E2008E4A34983E(L_8, _stringLiteral830B64B4254C502C612E53C83DBEE6238E710499, _stringLiteralDD5A04FDCE8EDE26B5E78DE17CAB2D9DB4D10C73, /*hidden argument*/NULL);
((AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA *)__this)->set__oid_0(L_8);
goto IL_005d;
}
IL_004c:
{
X509Extension_t9142CAA11EB46CC4CAB51A26D3B84BDA06FA9FF5 * L_9 = V_0;
NullCheck(L_9);
Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800 * L_10 = ((AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA *)L_9)->get__oid_0();
Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800 * L_11 = (Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800 *)il2cpp_codegen_object_new(Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800_il2cpp_TypeInfo_var);
Oid__ctor_m8C4B7AE0D9207BCF03960553182B43B8D1536ED0(L_11, L_10, /*hidden argument*/NULL);
((AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA *)__this)->set__oid_0(L_11);
}
IL_005d:
{
X509Extension_t9142CAA11EB46CC4CAB51A26D3B84BDA06FA9FF5 * L_12 = V_0;
NullCheck(L_12);
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_13;
L_13 = AsnEncodedData_get_RawData_mDCA2B393570BA050D3840B2449447A2C10639278_inline(L_12, /*hidden argument*/NULL);
AsnEncodedData_set_RawData_m867F92C32F87E4D8932D17EDF21785CA0FDA3BEA(__this, L_13, /*hidden argument*/NULL);
X509Extension_t9142CAA11EB46CC4CAB51A26D3B84BDA06FA9FF5 * L_14 = V_0;
NullCheck(L_14);
bool L_15;
L_15 = X509Extension_get_Critical_m56CF11BDF0C2D2917C326013630709C7709DCF12_inline(L_14, /*hidden argument*/NULL);
X509Extension_set_Critical_mF361A9EB776A20CA39923BD48C4A492A734144E0_inline(__this, L_15, /*hidden argument*/NULL);
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_16;
L_16 = AsnEncodedData_get_RawData_mDCA2B393570BA050D3840B2449447A2C10639278_inline(__this, /*hidden argument*/NULL);
int32_t L_17;
L_17 = X509SubjectKeyIdentifierExtension_Decode_m6ED45FB642F2A5EDAD51EE357CAB8EB95BC8EBA9(__this, L_16, /*hidden argument*/NULL);
__this->set__status_7(L_17);
return;
}
}
// System.Byte System.Security.Cryptography.X509Certificates.X509SubjectKeyIdentifierExtension::FromHexChar(System.Char)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint8_t X509SubjectKeyIdentifierExtension_FromHexChar_m7E53F7E025E6DD03B6BC137CA6F9C43808BFAB92 (Il2CppChar ___c0, const RuntimeMethod* method)
{
{
Il2CppChar L_0 = ___c0;
if ((((int32_t)L_0) < ((int32_t)((int32_t)97))))
{
goto IL_0013;
}
}
{
Il2CppChar L_1 = ___c0;
if ((((int32_t)L_1) > ((int32_t)((int32_t)102))))
{
goto IL_0013;
}
}
{
Il2CppChar L_2 = ___c0;
return (uint8_t)((int32_t)((uint8_t)((int32_t)il2cpp_codegen_add((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_2, (int32_t)((int32_t)97))), (int32_t)((int32_t)10)))));
}
IL_0013:
{
Il2CppChar L_3 = ___c0;
if ((((int32_t)L_3) < ((int32_t)((int32_t)65))))
{
goto IL_0026;
}
}
{
Il2CppChar L_4 = ___c0;
if ((((int32_t)L_4) > ((int32_t)((int32_t)70))))
{
goto IL_0026;
}
}
{
Il2CppChar L_5 = ___c0;
return (uint8_t)((int32_t)((uint8_t)((int32_t)il2cpp_codegen_add((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_5, (int32_t)((int32_t)65))), (int32_t)((int32_t)10)))));
}
IL_0026:
{
Il2CppChar L_6 = ___c0;
if ((((int32_t)L_6) < ((int32_t)((int32_t)48))))
{
goto IL_0036;
}
}
{
Il2CppChar L_7 = ___c0;
if ((((int32_t)L_7) > ((int32_t)((int32_t)57))))
{
goto IL_0036;
}
}
{
Il2CppChar L_8 = ___c0;
return (uint8_t)((int32_t)((uint8_t)((int32_t)il2cpp_codegen_subtract((int32_t)L_8, (int32_t)((int32_t)48)))));
}
IL_0036:
{
return (uint8_t)((int32_t)255);
}
}
// System.Byte System.Security.Cryptography.X509Certificates.X509SubjectKeyIdentifierExtension::FromHexChars(System.Char,System.Char)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR uint8_t X509SubjectKeyIdentifierExtension_FromHexChars_mB25E5A16CF6637BF846D2B22898E552E092AADFA (Il2CppChar ___c10, Il2CppChar ___c21, const RuntimeMethod* method)
{
uint8_t V_0 = 0x0;
{
Il2CppChar L_0 = ___c10;
uint8_t L_1;
L_1 = X509SubjectKeyIdentifierExtension_FromHexChar_m7E53F7E025E6DD03B6BC137CA6F9C43808BFAB92(L_0, /*hidden argument*/NULL);
V_0 = L_1;
uint8_t L_2 = V_0;
if ((((int32_t)L_2) >= ((int32_t)((int32_t)255))))
{
goto IL_001b;
}
}
{
uint8_t L_3 = V_0;
Il2CppChar L_4 = ___c21;
uint8_t L_5;
L_5 = X509SubjectKeyIdentifierExtension_FromHexChar_m7E53F7E025E6DD03B6BC137CA6F9C43808BFAB92(L_4, /*hidden argument*/NULL);
V_0 = (uint8_t)((int32_t)((uint8_t)((int32_t)((int32_t)((int32_t)((int32_t)L_3<<(int32_t)4))|(int32_t)L_5))));
}
IL_001b:
{
uint8_t L_6 = V_0;
return L_6;
}
}
// System.Byte[] System.Security.Cryptography.X509Certificates.X509SubjectKeyIdentifierExtension::FromHex(System.String)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* X509SubjectKeyIdentifierExtension_FromHex_m8CAB896F210E058270EB9492F05D2776FEB6A1EA (String_t* ___hex0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
int32_t V_0 = 0;
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* V_1 = NULL;
int32_t V_2 = 0;
int32_t V_3 = 0;
{
String_t* L_0 = ___hex0;
if (L_0)
{
goto IL_0005;
}
}
{
return (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)NULL;
}
IL_0005:
{
String_t* L_1 = ___hex0;
NullCheck(L_1);
int32_t L_2;
L_2 = String_get_Length_m129FC0ADA02FECBED3C0B1A809AE84A5AEE1CF09_inline(L_1, /*hidden argument*/NULL);
V_0 = ((int32_t)((int32_t)L_2>>(int32_t)1));
int32_t L_3 = V_0;
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_4 = (ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726*)SZArrayNew(ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726_il2cpp_TypeInfo_var, (uint32_t)L_3);
V_1 = L_4;
V_2 = 0;
V_3 = 0;
goto IL_003d;
}
IL_001b:
{
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_5 = V_1;
int32_t L_6 = V_2;
int32_t L_7 = L_6;
V_2 = ((int32_t)il2cpp_codegen_add((int32_t)L_7, (int32_t)1));
String_t* L_8 = ___hex0;
int32_t L_9 = V_3;
int32_t L_10 = L_9;
V_3 = ((int32_t)il2cpp_codegen_add((int32_t)L_10, (int32_t)1));
NullCheck(L_8);
Il2CppChar L_11;
L_11 = String_get_Chars_m9B1A5E4C8D70AA33A60F03735AF7B77AB9DBBA70(L_8, L_10, /*hidden argument*/NULL);
String_t* L_12 = ___hex0;
int32_t L_13 = V_3;
int32_t L_14 = L_13;
V_3 = ((int32_t)il2cpp_codegen_add((int32_t)L_14, (int32_t)1));
NullCheck(L_12);
Il2CppChar L_15;
L_15 = String_get_Chars_m9B1A5E4C8D70AA33A60F03735AF7B77AB9DBBA70(L_12, L_14, /*hidden argument*/NULL);
uint8_t L_16;
L_16 = X509SubjectKeyIdentifierExtension_FromHexChars_mB25E5A16CF6637BF846D2B22898E552E092AADFA(L_11, L_15, /*hidden argument*/NULL);
NullCheck(L_5);
(L_5)->SetAt(static_cast<il2cpp_array_size_t>(L_7), (uint8_t)L_16);
}
IL_003d:
{
int32_t L_17 = V_2;
int32_t L_18 = V_0;
if ((((int32_t)L_17) < ((int32_t)L_18)))
{
goto IL_001b;
}
}
{
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_19 = V_1;
return L_19;
}
}
// System.Security.Cryptography.AsnDecodeStatus System.Security.Cryptography.X509Certificates.X509SubjectKeyIdentifierExtension::Decode(System.Byte[])
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t X509SubjectKeyIdentifierExtension_Decode_m6ED45FB642F2A5EDAD51EE357CAB8EB95BC8EBA9 (X509SubjectKeyIdentifierExtension_t9781D24066D84C09C7137124FBC848491BF54567 * __this, ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* ___extension0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&String_t_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8 * V_0 = NULL;
int32_t V_1 = 0;
il2cpp::utils::ExceptionSupportStack<RuntimeObject*, 1> __active_exceptions;
il2cpp::utils::ExceptionSupportStack<int32_t, 2> __leave_targets;
{
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = ___extension0;
if (!L_0)
{
goto IL_0007;
}
}
{
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_1 = ___extension0;
NullCheck(L_1);
if ((((RuntimeArray*)L_1)->max_length))
{
goto IL_0009;
}
}
IL_0007:
{
return (int32_t)(1);
}
IL_0009:
{
String_t* L_2 = ((String_t_StaticFields*)il2cpp_codegen_static_fields_for(String_t_il2cpp_TypeInfo_var))->get_Empty_5();
__this->set__ski_6(L_2);
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3 = ___extension0;
NullCheck(L_3);
int32_t L_4 = 0;
uint8_t L_5 = (L_3)->GetAt(static_cast<il2cpp_array_size_t>(L_4));
if ((((int32_t)L_5) == ((int32_t)4)))
{
goto IL_001c;
}
}
{
return (int32_t)(2);
}
IL_001c:
{
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_6 = ___extension0;
NullCheck(L_6);
if ((!(((uint32_t)((int32_t)((int32_t)(((RuntimeArray*)L_6)->max_length)))) == ((uint32_t)2))))
{
goto IL_0024;
}
}
{
return (int32_t)(4);
}
IL_0024:
{
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_7 = ___extension0;
NullCheck(L_7);
if ((((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_7)->max_length)))) >= ((int32_t)3)))
{
goto IL_002c;
}
}
{
return (int32_t)(3);
}
IL_002c:
{
}
IL_002d:
try
{ // begin try (depth: 1)
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_8 = ___extension0;
ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8 * L_9 = (ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8 *)il2cpp_codegen_object_new(ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8_il2cpp_TypeInfo_var);
ASN1__ctor_mE534D499DABEAAA35E0F30572CD295A9FCFA1C7E(L_9, L_8, /*hidden argument*/NULL);
V_0 = L_9;
ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8 * L_10 = V_0;
NullCheck(L_10);
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_11;
L_11 = ASN1_get_Value_m95545A82635424B999816713F09A224ED01DF0C2(L_10, /*hidden argument*/NULL);
__this->set__subjectKeyIdentifier_5(L_11);
goto IL_0047;
} // end try (depth: 1)
catch(Il2CppExceptionWrapper& e)
{
if(il2cpp_codegen_class_is_assignable_from (((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&RuntimeObject_il2cpp_TypeInfo_var)), il2cpp_codegen_object_class(e.ex)))
{
IL2CPP_PUSH_ACTIVE_EXCEPTION(e.ex);
goto CATCH_0042;
}
throw e;
}
CATCH_0042:
{ // begin catch(System.Object)
V_1 = 1;
IL2CPP_POP_ACTIVE_EXCEPTION();
goto IL_0049;
} // end catch (depth: 1)
IL_0047:
{
return (int32_t)(0);
}
IL_0049:
{
int32_t L_12 = V_1;
return L_12;
}
}
// System.Byte[] System.Security.Cryptography.X509Certificates.X509SubjectKeyIdentifierExtension::Encode()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* X509SubjectKeyIdentifierExtension_Encode_m6BEC26EF891B31FF98EF4FDF96CC0E9CEDF0B208 (X509SubjectKeyIdentifierExtension_t9781D24066D84C09C7137124FBC848491BF54567 * __this, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = __this->get__subjectKeyIdentifier_5();
ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8 * L_1 = (ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8 *)il2cpp_codegen_object_new(ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8_il2cpp_TypeInfo_var);
ASN1__ctor_mB8A19279E6079D30BB6A594ADAC7FEE89E822CDC(L_1, (uint8_t)4, L_0, /*hidden argument*/NULL);
NullCheck(L_1);
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_2;
L_2 = VirtFuncInvoker0< ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* >::Invoke(4 /* System.Byte[] Mono.Security.ASN1::GetBytes() */, L_1);
return L_2;
}
}
// System.String System.Security.Cryptography.X509Certificates.X509SubjectKeyIdentifierExtension::ToString(System.Boolean)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* X509SubjectKeyIdentifierExtension_ToString_mBD5BE20274B5B56104E6ECD3137DE0718DE50537 (X509SubjectKeyIdentifierExtension_t9781D24066D84C09C7137124FBC848491BF54567 * __this, bool ___multiLine0, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&StringBuilder_t_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&String_t_il2cpp_TypeInfo_var);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral2386E77CF610F786B06A91AF2C1B3FD2282D2745);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral65A0F9B64ACE7C859A284EA54B1190CBF83E1260);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral830B64B4254C502C612E53C83DBEE6238E710499);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralCD32F08BAB4EE365057213BCC6332DD39C2DE46B);
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralD9B53FE83B364433B53BD1F5712DD31D58258FB4);
s_Il2CppMethodInitialized = true;
}
StringBuilder_t * V_0 = NULL;
int32_t V_1 = 0;
int32_t V_2 = 0;
{
int32_t L_0 = __this->get__status_7();
V_1 = L_0;
int32_t L_1 = V_1;
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_1, (int32_t)1)))
{
case 0:
{
goto IL_0021;
}
case 1:
{
goto IL_0027;
}
case 2:
{
goto IL_0027;
}
case 3:
{
goto IL_0034;
}
}
}
{
goto IL_003a;
}
IL_0021:
{
String_t* L_2 = ((String_t_StaticFields*)il2cpp_codegen_static_fields_for(String_t_il2cpp_TypeInfo_var))->get_Empty_5();
return L_2;
}
IL_0027:
{
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_3 = ((AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA *)__this)->get__raw_1();
String_t* L_4;
L_4 = X509Extension_FormatUnkownData_mEF1E719F7AD312B099351C581F4A06925AD9F18A(__this, L_3, /*hidden argument*/NULL);
return L_4;
}
IL_0034:
{
return _stringLiteralCD32F08BAB4EE365057213BCC6332DD39C2DE46B;
}
IL_003a:
{
Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800 * L_5 = ((AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA *)__this)->get__oid_0();
NullCheck(L_5);
String_t* L_6;
L_6 = Oid_get_Value_mD6F4D8AC1A3821D5DA263728C2DC0C208D084A78_inline(L_5, /*hidden argument*/NULL);
bool L_7;
L_7 = String_op_Inequality_mDDA2DDED3E7EF042987EB7180EE3E88105F0AAE2(L_6, _stringLiteral830B64B4254C502C612E53C83DBEE6238E710499, /*hidden argument*/NULL);
if (!L_7)
{
goto IL_0067;
}
}
{
Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800 * L_8 = ((AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA *)__this)->get__oid_0();
NullCheck(L_8);
String_t* L_9;
L_9 = Oid_get_Value_mD6F4D8AC1A3821D5DA263728C2DC0C208D084A78_inline(L_8, /*hidden argument*/NULL);
String_t* L_10;
L_10 = String_Format_mB3D38E5238C3164DB4D7D29339D9E225A4496D17(_stringLiteralD9B53FE83B364433B53BD1F5712DD31D58258FB4, L_9, /*hidden argument*/NULL);
return L_10;
}
IL_0067:
{
StringBuilder_t * L_11 = (StringBuilder_t *)il2cpp_codegen_object_new(StringBuilder_t_il2cpp_TypeInfo_var);
StringBuilder__ctor_m5A81DE19E748F748E19FF13FB6FFD2547F9212D9(L_11, /*hidden argument*/NULL);
V_0 = L_11;
V_2 = 0;
goto IL_00ab;
}
IL_0071:
{
StringBuilder_t * L_12 = V_0;
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_13 = __this->get__subjectKeyIdentifier_5();
int32_t L_14 = V_2;
NullCheck(L_13);
String_t* L_15;
L_15 = Byte_ToString_mABEF6F24915951FF4A4D87B389D8418B2638178C((uint8_t*)((L_13)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_14))), _stringLiteral65A0F9B64ACE7C859A284EA54B1190CBF83E1260, /*hidden argument*/NULL);
NullCheck(L_12);
StringBuilder_t * L_16;
L_16 = StringBuilder_Append_mD02AB0C74C6F55E3E330818C77EC147E22096FB1(L_12, L_15, /*hidden argument*/NULL);
int32_t L_17 = V_2;
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_18 = __this->get__subjectKeyIdentifier_5();
NullCheck(L_18);
if ((((int32_t)L_17) == ((int32_t)((int32_t)il2cpp_codegen_subtract((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_18)->max_length))), (int32_t)1)))))
{
goto IL_00a7;
}
}
{
StringBuilder_t * L_19 = V_0;
NullCheck(L_19);
StringBuilder_t * L_20;
L_20 = StringBuilder_Append_mD02AB0C74C6F55E3E330818C77EC147E22096FB1(L_19, _stringLiteral2386E77CF610F786B06A91AF2C1B3FD2282D2745, /*hidden argument*/NULL);
}
IL_00a7:
{
int32_t L_21 = V_2;
V_2 = ((int32_t)il2cpp_codegen_add((int32_t)L_21, (int32_t)1));
}
IL_00ab:
{
int32_t L_22 = V_2;
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_23 = __this->get__subjectKeyIdentifier_5();
NullCheck(L_23);
if ((((int32_t)L_22) < ((int32_t)((int32_t)((int32_t)(((RuntimeArray*)L_23)->max_length))))))
{
goto IL_0071;
}
}
{
bool L_24 = ___multiLine0;
if (!L_24)
{
goto IL_00c5;
}
}
{
StringBuilder_t * L_25 = V_0;
String_t* L_26;
L_26 = Environment_get_NewLine_mD145C8EE917C986BAA7C5243DEFAF4D333C521B4(/*hidden argument*/NULL);
NullCheck(L_25);
StringBuilder_t * L_27;
L_27 = StringBuilder_Append_mD02AB0C74C6F55E3E330818C77EC147E22096FB1(L_25, L_26, /*hidden argument*/NULL);
}
IL_00c5:
{
StringBuilder_t * L_28 = V_0;
NullCheck(L_28);
String_t* L_29;
L_29 = VirtFuncInvoker0< String_t* >::Invoke(3 /* System.String System.Object::ToString() */, L_28);
return L_29;
}
}
#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.String System.Security.Cryptography.X509Certificates.X509Utils::FindOidInfo(System.UInt32,System.String,System.Security.Cryptography.OidGroup)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* X509Utils_FindOidInfo_m7CC1462A6CC9DA7C40CA09FA5EACEE9B9117EC8C (uint32_t ___keyType0, String_t* ___keyValue1, int32_t ___oidGroup2, const RuntimeMethod* method)
{
{
String_t* L_0 = ___keyValue1;
if (L_0)
{
goto IL_000e;
}
}
{
ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB * L_1 = (ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB_il2cpp_TypeInfo_var)));
ArgumentNullException__ctor_m81AB157B93BFE2FBFDB08B88F84B444293042F97(L_1, ((String_t*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&_stringLiteral87D7C5E974D9C89FB52B8A53360C0C2E1DAAEC63)), /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_1, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&X509Utils_FindOidInfo_m7CC1462A6CC9DA7C40CA09FA5EACEE9B9117EC8C_RuntimeMethod_var)));
}
IL_000e:
{
String_t* L_2 = ___keyValue1;
NullCheck(L_2);
int32_t L_3;
L_3 = String_get_Length_m129FC0ADA02FECBED3C0B1A809AE84A5AEE1CF09_inline(L_2, /*hidden argument*/NULL);
if (L_3)
{
goto IL_0018;
}
}
{
return (String_t*)NULL;
}
IL_0018:
{
uint32_t L_4 = ___keyType0;
if ((((int32_t)L_4) == ((int32_t)1)))
{
goto IL_0022;
}
}
{
uint32_t L_5 = ___keyType0;
if ((((int32_t)L_5) == ((int32_t)2)))
{
goto IL_002a;
}
}
{
goto IL_0032;
}
IL_0022:
{
String_t* L_6 = ___keyValue1;
int32_t L_7 = ___oidGroup2;
String_t* L_8;
L_8 = CAPI_CryptFindOIDInfoNameFromKey_m283438D1BC7309F1642EBCE405CC9BFAEED43544(L_6, L_7, /*hidden argument*/NULL);
return L_8;
}
IL_002a:
{
String_t* L_9 = ___keyValue1;
int32_t L_10 = ___oidGroup2;
String_t* L_11;
L_11 = CAPI_CryptFindOIDInfoKeyFromName_m4ED4943191307DF7392E82CE3E04C5A5777EA3AB(L_9, L_10, /*hidden argument*/NULL);
return L_11;
}
IL_0032:
{
String_t* L_12;
L_12 = UInt32_ToString_mEB55F257429D34ED2BF41AE9567096F1F969B9A0((uint32_t*)(&___keyType0), /*hidden argument*/NULL);
NotImplementedException_t26260C4EE0444C5FA022994203060B3A42A3ADE6 * L_13 = (NotImplementedException_t26260C4EE0444C5FA022994203060B3A42A3ADE6 *)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&NotImplementedException_t26260C4EE0444C5FA022994203060B3A42A3ADE6_il2cpp_TypeInfo_var)));
NotImplementedException__ctor_m8A9AA4499614A5BC57DD21713D0720630C130AEB(L_13, L_12, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(L_13, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&X509Utils_FindOidInfo_m7CC1462A6CC9DA7C40CA09FA5EACEE9B9117EC8C_RuntimeMethod_var)));
}
}
// System.String System.Security.Cryptography.X509Certificates.X509Utils::FindOidInfoWithFallback(System.UInt32,System.String,System.Security.Cryptography.OidGroup)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* X509Utils_FindOidInfoWithFallback_m863F372B324E59321550DCCBF4E23ABCE0A1ABB1 (uint32_t ___key0, String_t* ___value1, int32_t ___group2, const RuntimeMethod* method)
{
String_t* V_0 = NULL;
{
uint32_t L_0 = ___key0;
String_t* L_1 = ___value1;
int32_t L_2 = ___group2;
String_t* L_3;
L_3 = X509Utils_FindOidInfo_m7CC1462A6CC9DA7C40CA09FA5EACEE9B9117EC8C(L_0, L_1, L_2, /*hidden argument*/NULL);
V_0 = L_3;
String_t* L_4 = V_0;
if (L_4)
{
goto IL_0018;
}
}
{
int32_t L_5 = ___group2;
if (!L_5)
{
goto IL_0018;
}
}
{
uint32_t L_6 = ___key0;
String_t* L_7 = ___value1;
String_t* L_8;
L_8 = X509Utils_FindOidInfo_m7CC1462A6CC9DA7C40CA09FA5EACEE9B9117EC8C(L_6, L_7, 0, /*hidden argument*/NULL);
V_0 = L_8;
}
IL_0018:
{
String_t* L_9 = V_0;
return L_9;
}
}
#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
// Conversion methods for marshalling of: System.Text.RegularExpressions.RegexCharClass/LowerCaseMapping
IL2CPP_EXTERN_C void LowerCaseMapping_t54FB537AEA4CA2EBAB5BDCC79881428C202241DE_marshal_pinvoke(const LowerCaseMapping_t54FB537AEA4CA2EBAB5BDCC79881428C202241DE& unmarshaled, LowerCaseMapping_t54FB537AEA4CA2EBAB5BDCC79881428C202241DE_marshaled_pinvoke& marshaled)
{
marshaled.____chMin_0 = static_cast<uint8_t>(unmarshaled.get__chMin_0());
marshaled.____chMax_1 = static_cast<uint8_t>(unmarshaled.get__chMax_1());
marshaled.____lcOp_2 = unmarshaled.get__lcOp_2();
marshaled.____data_3 = unmarshaled.get__data_3();
}
IL2CPP_EXTERN_C void LowerCaseMapping_t54FB537AEA4CA2EBAB5BDCC79881428C202241DE_marshal_pinvoke_back(const LowerCaseMapping_t54FB537AEA4CA2EBAB5BDCC79881428C202241DE_marshaled_pinvoke& marshaled, LowerCaseMapping_t54FB537AEA4CA2EBAB5BDCC79881428C202241DE& unmarshaled)
{
Il2CppChar unmarshaled__chMin_temp_0 = 0x0;
unmarshaled__chMin_temp_0 = static_cast<Il2CppChar>(marshaled.____chMin_0);
unmarshaled.set__chMin_0(unmarshaled__chMin_temp_0);
Il2CppChar unmarshaled__chMax_temp_1 = 0x0;
unmarshaled__chMax_temp_1 = static_cast<Il2CppChar>(marshaled.____chMax_1);
unmarshaled.set__chMax_1(unmarshaled__chMax_temp_1);
int32_t unmarshaled__lcOp_temp_2 = 0;
unmarshaled__lcOp_temp_2 = marshaled.____lcOp_2;
unmarshaled.set__lcOp_2(unmarshaled__lcOp_temp_2);
int32_t unmarshaled__data_temp_3 = 0;
unmarshaled__data_temp_3 = marshaled.____data_3;
unmarshaled.set__data_3(unmarshaled__data_temp_3);
}
// Conversion method for clean up from marshalling of: System.Text.RegularExpressions.RegexCharClass/LowerCaseMapping
IL2CPP_EXTERN_C void LowerCaseMapping_t54FB537AEA4CA2EBAB5BDCC79881428C202241DE_marshal_pinvoke_cleanup(LowerCaseMapping_t54FB537AEA4CA2EBAB5BDCC79881428C202241DE_marshaled_pinvoke& marshaled)
{
}
// Conversion methods for marshalling of: System.Text.RegularExpressions.RegexCharClass/LowerCaseMapping
IL2CPP_EXTERN_C void LowerCaseMapping_t54FB537AEA4CA2EBAB5BDCC79881428C202241DE_marshal_com(const LowerCaseMapping_t54FB537AEA4CA2EBAB5BDCC79881428C202241DE& unmarshaled, LowerCaseMapping_t54FB537AEA4CA2EBAB5BDCC79881428C202241DE_marshaled_com& marshaled)
{
marshaled.____chMin_0 = static_cast<uint8_t>(unmarshaled.get__chMin_0());
marshaled.____chMax_1 = static_cast<uint8_t>(unmarshaled.get__chMax_1());
marshaled.____lcOp_2 = unmarshaled.get__lcOp_2();
marshaled.____data_3 = unmarshaled.get__data_3();
}
IL2CPP_EXTERN_C void LowerCaseMapping_t54FB537AEA4CA2EBAB5BDCC79881428C202241DE_marshal_com_back(const LowerCaseMapping_t54FB537AEA4CA2EBAB5BDCC79881428C202241DE_marshaled_com& marshaled, LowerCaseMapping_t54FB537AEA4CA2EBAB5BDCC79881428C202241DE& unmarshaled)
{
Il2CppChar unmarshaled__chMin_temp_0 = 0x0;
unmarshaled__chMin_temp_0 = static_cast<Il2CppChar>(marshaled.____chMin_0);
unmarshaled.set__chMin_0(unmarshaled__chMin_temp_0);
Il2CppChar unmarshaled__chMax_temp_1 = 0x0;
unmarshaled__chMax_temp_1 = static_cast<Il2CppChar>(marshaled.____chMax_1);
unmarshaled.set__chMax_1(unmarshaled__chMax_temp_1);
int32_t unmarshaled__lcOp_temp_2 = 0;
unmarshaled__lcOp_temp_2 = marshaled.____lcOp_2;
unmarshaled.set__lcOp_2(unmarshaled__lcOp_temp_2);
int32_t unmarshaled__data_temp_3 = 0;
unmarshaled__data_temp_3 = marshaled.____data_3;
unmarshaled.set__data_3(unmarshaled__data_temp_3);
}
// Conversion method for clean up from marshalling of: System.Text.RegularExpressions.RegexCharClass/LowerCaseMapping
IL2CPP_EXTERN_C void LowerCaseMapping_t54FB537AEA4CA2EBAB5BDCC79881428C202241DE_marshal_com_cleanup(LowerCaseMapping_t54FB537AEA4CA2EBAB5BDCC79881428C202241DE_marshaled_com& marshaled)
{
}
// System.Void System.Text.RegularExpressions.RegexCharClass/LowerCaseMapping::.ctor(System.Char,System.Char,System.Int32,System.Int32)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void LowerCaseMapping__ctor_m0236442CB5098331DEAE7CACFCAC42741945D3E8 (LowerCaseMapping_t54FB537AEA4CA2EBAB5BDCC79881428C202241DE * __this, Il2CppChar ___chMin0, Il2CppChar ___chMax1, int32_t ___lcOp2, int32_t ___data3, const RuntimeMethod* method)
{
{
Il2CppChar L_0 = ___chMin0;
__this->set__chMin_0(L_0);
Il2CppChar L_1 = ___chMax1;
__this->set__chMax_1(L_1);
int32_t L_2 = ___lcOp2;
__this->set__lcOp_2(L_2);
int32_t L_3 = ___data3;
__this->set__data_3(L_3);
return;
}
}
IL2CPP_EXTERN_C void LowerCaseMapping__ctor_m0236442CB5098331DEAE7CACFCAC42741945D3E8_AdjustorThunk (RuntimeObject * __this, Il2CppChar ___chMin0, Il2CppChar ___chMax1, int32_t ___lcOp2, int32_t ___data3, const RuntimeMethod* method)
{
int32_t _offset = 1;
LowerCaseMapping_t54FB537AEA4CA2EBAB5BDCC79881428C202241DE * _thisAdjusted = reinterpret_cast<LowerCaseMapping_t54FB537AEA4CA2EBAB5BDCC79881428C202241DE *>(__this + _offset);
LowerCaseMapping__ctor_m0236442CB5098331DEAE7CACFCAC42741945D3E8(_thisAdjusted, ___chMin0, ___chMax1, ___lcOp2, ___data3, method);
}
#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 System.Text.RegularExpressions.RegexCharClass/SingleRange::.ctor(System.Char,System.Char)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SingleRange__ctor_m886247FFB10501E4CDDC575B221D8CD1BC85E3B6 (SingleRange_tEE8EA054843A8B8979D082D2CCC8E52A12155624 * __this, Il2CppChar ___first0, Il2CppChar ___last1, const RuntimeMethod* method)
{
{
Object__ctor_m88880E0413421D13FD95325EDCE231707CE1F405(__this, /*hidden argument*/NULL);
Il2CppChar L_0 = ___first0;
__this->set__first_0(L_0);
Il2CppChar L_1 = ___last1;
__this->set__last_1(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.Int32 System.Text.RegularExpressions.RegexCharClass/SingleRangeComparer::Compare(System.Text.RegularExpressions.RegexCharClass/SingleRange,System.Text.RegularExpressions.RegexCharClass/SingleRange)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t SingleRangeComparer_Compare_m54BB5AFA11BF2F18A0C2F9491CE48E409D64AD3E (SingleRangeComparer_t2D22B185700E925165F9548B3647E0E1FC9DB075 * __this, SingleRange_tEE8EA054843A8B8979D082D2CCC8E52A12155624 * ___x0, SingleRange_tEE8EA054843A8B8979D082D2CCC8E52A12155624 * ___y1, const RuntimeMethod* method)
{
{
SingleRange_tEE8EA054843A8B8979D082D2CCC8E52A12155624 * L_0 = ___x0;
NullCheck(L_0);
Il2CppChar L_1 = L_0->get__first_0();
SingleRange_tEE8EA054843A8B8979D082D2CCC8E52A12155624 * L_2 = ___y1;
NullCheck(L_2);
Il2CppChar L_3 = L_2->get__first_0();
if ((((int32_t)L_1) < ((int32_t)L_3)))
{
goto IL_0020;
}
}
{
SingleRange_tEE8EA054843A8B8979D082D2CCC8E52A12155624 * L_4 = ___x0;
NullCheck(L_4);
Il2CppChar L_5 = L_4->get__first_0();
SingleRange_tEE8EA054843A8B8979D082D2CCC8E52A12155624 * L_6 = ___y1;
NullCheck(L_6);
Il2CppChar L_7 = L_6->get__first_0();
if ((((int32_t)L_5) > ((int32_t)L_7)))
{
goto IL_001e;
}
}
{
return 0;
}
IL_001e:
{
return 1;
}
IL_0020:
{
return (-1);
}
}
// System.Void System.Text.RegularExpressions.RegexCharClass/SingleRangeComparer::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SingleRangeComparer__ctor_mCEFF5ECE77E53783E5B8EAC98A5E194B6C743E73 (SingleRangeComparer_t2D22B185700E925165F9548B3647E0E1FC9DB075 * __this, const RuntimeMethod* method)
{
{
Object__ctor_m88880E0413421D13FD95325EDCE231707CE1F405(__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
#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 System.Uri/MoreInfo::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MoreInfo__ctor_mF8515B2BCCB5E7DC008164794946ADE7ADBCD2BD (MoreInfo_t15D42286ECE8DAD0B0FE9CDC1291109300C3E727 * __this, const RuntimeMethod* method)
{
{
Object__ctor_m88880E0413421D13FD95325EDCE231707CE1F405(__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
#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 System.Uri/UriInfo::.ctor()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void UriInfo__ctor_m990C9CA368096AFE12B92F3605FAA70EC0C69BB8 (UriInfo_tCB2302A896132D1F70E47C3895FAB9A0F2A6EE45 * __this, const RuntimeMethod* method)
{
{
Object__ctor_m88880E0413421D13FD95325EDCE231707CE1F405(__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 System.UriParser/BuiltInUriParser::.ctor(System.String,System.Int32,System.UriSyntaxFlags)
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BuiltInUriParser__ctor_m525296A62BB8A30ABA12A9DFE8C20CE22DA9CEAA (BuiltInUriParser_tD002C3439D3683127C216D09E22B0973AB9FDF26 * __this, String_t* ___lwrCaseScheme0, int32_t ___defaultPort1, int32_t ___syntaxFlags2, const RuntimeMethod* method)
{
static bool s_Il2CppMethodInitialized;
if (!s_Il2CppMethodInitialized)
{
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var);
s_Il2CppMethodInitialized = true;
}
{
int32_t L_0 = ___syntaxFlags2;
IL2CPP_RUNTIME_CLASS_INIT(UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A_il2cpp_TypeInfo_var);
UriParser__ctor_m9A2C47C1F30EF65ADFBAEB0A569FB972F383825C(__this, ((int32_t)((int32_t)((int32_t)((int32_t)L_0|(int32_t)((int32_t)131072)))|(int32_t)((int32_t)262144))), /*hidden argument*/NULL);
String_t* L_1 = ___lwrCaseScheme0;
((UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A *)__this)->set_m_Scheme_6(L_1);
int32_t L_2 = ___defaultPort1;
((UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A *)__this)->set_m_Port_5(L_2);
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
#ifdef __clang__
#pragma clang diagnostic pop
#endif
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR String_t* UriParser_get_SchemeName_mFCD123235673631E05FE9BAF6955A0B43EEEBD80_inline (UriParser_t6DEBE5C6CDC3C29C9019CD951C7ECEBD6A5D3E3A * __this, const RuntimeMethod* method)
{
{
String_t* L_0 = __this->get_m_Scheme_6();
return L_0;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* AsnEncodedData_get_RawData_mDCA2B393570BA050D3840B2449447A2C10639278_inline (AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA * __this, const RuntimeMethod* method)
{
{
ByteU5BU5D_tDBBEB0E8362242FA7223000D978B0DD19D4B0726* L_0 = __this->get__raw_1();
return L_0;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void X509Extension_set_Critical_mF361A9EB776A20CA39923BD48C4A492A734144E0_inline (X509Extension_t9142CAA11EB46CC4CAB51A26D3B84BDA06FA9FF5 * __this, bool ___value0, const RuntimeMethod* method)
{
{
bool L_0 = ___value0;
__this->set__critical_2(L_0);
return;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool X509Extension_get_Critical_m56CF11BDF0C2D2917C326013630709C7709DCF12_inline (X509Extension_t9142CAA11EB46CC4CAB51A26D3B84BDA06FA9FF5 * __this, const RuntimeMethod* method)
{
{
bool L_0 = __this->get__critical_2();
return L_0;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR uint8_t ASN1_get_Tag_mA82F15B6EB97BF0F3EBAA69C21765909D7A675D3_inline (ASN1_tCB86B6A02250200ED166EA857DC3D1C422BD94D8 * __this, const RuntimeMethod* method)
{
{
uint8_t L_0 = __this->get_m_nTag_0();
return L_0;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR String_t* Oid_get_Value_mD6F4D8AC1A3821D5DA263728C2DC0C208D084A78_inline (Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800 * __this, const RuntimeMethod* method)
{
{
String_t* L_0 = __this->get_m_value_0();
return L_0;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t String_get_Length_m129FC0ADA02FECBED3C0B1A809AE84A5AEE1CF09_inline (String_t* __this, const RuntimeMethod* method)
{
{
int32_t L_0 = __this->get_m_stringLength_0();
return L_0;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA * PublicKey_get_EncodedKeyValue_m0294AF8C29C7329BEB243543D8FDA98B60FDB291_inline (PublicKey_t40ABE7E0985F3E274C9564670970EC6F3B39A4A2 * __this, const RuntimeMethod* method)
{
{
AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA * L_0 = __this->get__keyValue_0();
return L_0;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800 * PublicKey_get_Oid_mE3207B84A9090EC5404F6CD4AEABB1F37EC1F988_inline (PublicKey_t40ABE7E0985F3E274C9564670970EC6F3B39A4A2 * __this, const RuntimeMethod* method)
{
{
Oid_tD6586F9C615C5CBE741A5099DFB67FE0F99F4800 * L_0 = __this->get__oid_2();
return L_0;
}
}
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA * PublicKey_get_EncodedParameters_mFF4F9A39D91C0A00D1B36C93944816154C7255B3_inline (PublicKey_t40ABE7E0985F3E274C9564670970EC6F3B39A4A2 * __this, const RuntimeMethod* method)
{
{
AsnEncodedData_t88A440F72C4F1143E416540D78B910A875CC0FDA * L_0 = __this->get__params_1();
return L_0;
}
}
| [
"rongzhenchen1@gmail.com"
] | rongzhenchen1@gmail.com |
53a71f933bc151e94e582d1f1faf601f4728d2c8 | fb57a5b9eb57ecf5266458adca719bb7b8978b05 | /RunData.cxx | ff6da4f866616c3180ab13b6de119e492680e007 | [] | no_license | c-dilks/FpdRoot | ab2439cf7d74e49145cf305697f93f53c30ef8fe | 04de07b8fe2804190f9b4c588639715a1e5aac52 | refs/heads/master | 2021-04-09T17:06:03.717138 | 2017-12-16T04:41:28 | 2017-12-16T04:41:28 | 42,465,804 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,267 | cxx | #include "RunData.h"
ClassImp(RunData)
RunData::RunData(Int_t runnum,Fill* pFill,FilesSet* p_files)
{
p_Files=p_files;
RunNumber=runnum;
FillNumber=0;
RunPed=0;
if(pFill!=0)
{
if(pFill->SetFillNumberforRun(runnum)>0)
{
FillNumber=pFill->GetFillNumber();
};
};
char nam[20];
sprintf(nam,"%d",runnum);
charname=nam;
GetRunPed();
};
const char* RunData::GetName()
{
return charname;
};
Int_t RunData::GetRunPed()
{
if(RunPed!=0)
{
printf("Not allowed to read pedistal file more than once\n");
return 0;
};
if(p_Files!=0)
{
if(p_Files->p_fpdrunped()==0)
{
printf("p_Files structure missing in RunData \n");
RunPed=0;
return -10000;
};
p_Files->p_fpdrunped()->GetRunpedFileName(RunNumber);
if(p_Files->p_fpdrunped()->Error==0)
{
CalibStr* runped=new CalibStr(RunNumber,(char*) p_Files->p_fpdrunped()->Path() );
error=runped->error;
if(error>=0)
{
RunPed= runped;
return 0;
}
else
{
RunPed=0;
return 0;
};
}
else
{
printf("p_Files Name Building Error in RunData \n");
RunPed=0;
return 0;
};
};
printf("p_Files structure missing in RunData \n");
error=-20000;
return 0;
};
| [
"christopher.j.dilks@gmail.com"
] | christopher.j.dilks@gmail.com |
738028d696bc7ed00652b1ea723e5f4769b109bb | 555d6c97cf2f4e1e73e1323ba9fe842a886207a8 | /CodeForces/Practice/1473E.cpp | 923ffea08916cf83e0bba2e9b40f98195316d4c7 | [] | no_license | onecode369/CompetitiveProgramming | 07e18811fdb607968e85fa08ceea5c59d989914a | 3d7f1f92734652a9a01ad2dd85a56a99788e1784 | refs/heads/master | 2023-05-11T22:09:24.929181 | 2021-06-04T14:21:41 | 2021-06-04T14:21:41 | 340,228,727 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 657 | cpp | #include<bits/stdc++.h>
#define DEBUG(x) cerr << #x << " = " << x << endl
#define MOD 1000000007LL
#define INF INT_MAX
#define reset(arr,n,i) fill(arr, arr+n, i)
using namespace std;
int main(){
#ifndef ONLINE_JUDGE
freopen("input.txt","r",stdin);
freopen("output.txt","w",stdout);
#endif
ios::sync_with_stdio(0);
cin.tie(0); cout.tie(0);
int n,,m;
cin >> n >> m;
vector<pair<int,int>> adjList[n];
int x,y,w;
for(int i=0;i<m;i++){
cin >> x >> y >> w;
adjList[x-1].emplace_back({y-1,w});
adjList[y-1].emplace_back({x-1,w});
}
int dis[n],mindis[n],maxdis[n];
return 0;
} | [
"sanskritcoder@gmail.com"
] | sanskritcoder@gmail.com |
71cc64a71d4bbca4c68deef8c7bab549511df7e9 | 991b49c927bd50a69c96d80f3e13c6e6dc9a88d8 | /heatbeat/heatbeat.ino | bc3d46d39ae92154d95eea3d3dfa9cf9eb967d05 | [] | no_license | Mrpye/TeensyProjects | f62aa054f82221e544ce5dc70ac829dd3572e29d | e24b3d25501ee9f83db55dd33430475902d0e2ed | refs/heads/master | 2023-02-15T11:08:59.097259 | 2023-01-28T14:41:39 | 2023-01-28T14:41:39 | 176,002,268 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,738 | ino | #include "Adafruit_MPR121.h"
#include <Audio.h>
#include <Bounce.h>
#include <SD.h>
#include <SPI.h>
#include <SerialFlash.h>
#include <Wire.h>
#ifndef _BV
#define _BV(bit) (1 << (bit))
#endif
// You can have up to 4 on one i2c bus but one is enough for testing!
Adafruit_MPR121 cap = Adafruit_MPR121();
String sounds[] = {"C1.TRW", "D1.TRW", "E1.TRW", "F1.TRW",
"G1.TRW", "A1.TRW", "B1.TRW", "C2.TRW"};
// Keeps track of the last pins touched
// so we know when buttons are 'released'
uint16_t lasttouched = 0;
uint16_t currtouched = 0;
const int FlashChipSelect = 6; // digital pin for flash chip CS pin
const int PLAYERS = 32;
int latchPin = 5; // 12
int clockPin = 6; // 11
int dataPin = 4; // 14
byte leds = 0;
// GUItool: begin automatically generated code
AudioPlaySerialflashRaw sound[] = {
AudioPlaySerialflashRaw(), AudioPlaySerialflashRaw(),
AudioPlaySerialflashRaw(), AudioPlaySerialflashRaw(),
AudioPlaySerialflashRaw(), AudioPlaySerialflashRaw(),
AudioPlaySerialflashRaw(), AudioPlaySerialflashRaw(),
AudioPlaySerialflashRaw(), AudioPlaySerialflashRaw(),
AudioPlaySerialflashRaw(), AudioPlaySerialflashRaw(),
AudioPlaySerialflashRaw(), AudioPlaySerialflashRaw(),
AudioPlaySerialflashRaw(), AudioPlaySerialflashRaw(),
AudioPlaySerialflashRaw(), AudioPlaySerialflashRaw(),
AudioPlaySerialflashRaw(), AudioPlaySerialflashRaw(),
AudioPlaySerialflashRaw(), AudioPlaySerialflashRaw(),
AudioPlaySerialflashRaw(), AudioPlaySerialflashRaw(),
AudioPlaySerialflashRaw(), AudioPlaySerialflashRaw(),
AudioPlaySerialflashRaw(), AudioPlaySerialflashRaw(),
AudioPlaySerialflashRaw(), AudioPlaySerialflashRaw(),
AudioPlaySerialflashRaw(), AudioPlaySerialflashRaw()}; // xy=123,44
// GUItool: begin automatically generated code
AudioMixer4 mix5; // xy=284,96
AudioMixer4 mix7; // xy=296,547
AudioMixer4 mix6; // xy=310,331
AudioMixer4 mix8; // xy=312,782
AudioMixer4 mix10; // xy=333,1015
AudioMixer4 mix12; // xy=345,1466
AudioMixer4 mix11; // xy=359,1250
AudioMixer4 mix13; // xy=361,1701
AudioMixer4 mix9; // xy=457,271
AudioMixer4 mix14; // xy=506,1188
AudioMixer4 mix15; // xy=573,503
AudioOutputAnalog dac; // xy=747,360
AudioOutputI2S headphones; // xy=764,309
AudioConnection patchCord1(sound[0], 0, mix5, 1);
AudioConnection patchCord2(sound[1], 0, mix7, 1);
AudioConnection patchCord3(sound[2], 0, mix5, 0);
AudioConnection patchCord4(sound[3], 0, mix6, 1);
AudioConnection patchCord5(sound[4], 0, mix7, 0);
AudioConnection patchCord6(sound[5], 0, mix8, 1);
AudioConnection patchCord7(sound[6], 0, mix5, 2);
AudioConnection patchCord8(sound[7], 0, mix6, 0);
AudioConnection patchCord9(sound[8], 0, mix7, 3);
AudioConnection patchCord10(sound[9], 0, mix8, 0);
AudioConnection patchCord11(sound[10], 0, mix7, 2);
AudioConnection patchCord12(sound[11], 0, mix10, 1);
AudioConnection patchCord13(sound[12], 0, mix6, 3);
AudioConnection patchCord14(sound[13], 0, mix5, 3);
AudioConnection patchCord15(sound[14], 0, mix6, 2);
AudioConnection patchCord16(sound[15], 0, mix8, 3);
AudioConnection patchCord17(sound[16], 0, mix8, 2);
AudioConnection patchCord18(sound[17], 0, mix12, 1);
AudioConnection patchCord19(sound[18], 0, mix10, 0);
AudioConnection patchCord20(sound[19], 0, mix11, 1);
AudioConnection patchCord21(sound[20], 0, mix12, 0);
AudioConnection patchCord22(sound[21], 0, mix13, 1);
AudioConnection patchCord23(sound[22], 0, mix10, 2);
AudioConnection patchCord24(sound[23], 0, mix11, 0);
AudioConnection patchCord25(sound[24], 0, mix12, 3);
AudioConnection patchCord26(sound[25], 0, mix13, 0);
AudioConnection patchCord27(sound[26], 0, mix12, 2);
AudioConnection patchCord28(sound[27], 0, mix11, 3);
AudioConnection patchCord29(sound[28], 0, mix10, 3);
AudioConnection patchCord30(sound[29], 0, mix11, 2);
AudioConnection patchCord31(sound[30], 0, mix13, 3);
AudioConnection patchCord32(sound[31], 0, mix13, 2);
AudioConnection patchCord33(mix5, 0, mix9, 0);
AudioConnection patchCord34(mix7, 0, mix9, 2);
AudioConnection patchCord35(mix6, 0, mix9, 1);
AudioConnection patchCord36(mix8, 0, mix9, 3);
AudioConnection patchCord37(mix10, 0, mix14, 0);
AudioConnection patchCord38(mix12, 0, mix14, 2);
AudioConnection patchCord39(mix11, 0, mix14, 1);
AudioConnection patchCord40(mix13, 0, mix14, 3);
AudioConnection patchCord41(mix9, 0, mix15, 0);
AudioConnection patchCord42(mix14, 0, mix15, 1);
AudioConnection patchCord43(mix15, 0, headphones, 0);
AudioConnection patchCord44(mix15, 0, headphones, 1);
AudioConnection patchCord45(mix15, dac);
AudioControlSGTL5000 audioShield; // xy=758,403
// GUItool: end automatically generated code
char *string2char(String str) {
if (str.length() != 0) {
char *p = const_cast<char *>(str.c_str());
return p;
}
}
static uint32_t next;
int pattern[4][8] = {{
0,
0,
0,
0,
0,
0,
0,
0,
},
{0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0}};
int pattern_index = 0;
int current_sound = 0;
int temp = 100;
void error(const char *message) {
while (1) {
Serial.println(message);
delay(2500);
}
}
void setup() {
Serial.println("Setup");
if (!cap.begin(0x5A)) {
Serial.println("MPR121 not found, check wiring?");
while (1)
;
}
Serial.println("MPR121 found!");
// Audio connections require memory to work. For more
// detailed information, see the MemoryAndCpuUsage example
AudioMemory(12);
SPI.setSCK(14); // Audio shield has SCK on pin 14
SPI.setMISO(12);
SPI.setMOSI(7); // Audio shield has MOSI on pin 7
if (!SerialFlash.begin(FlashChipSelect)) {
error("Unable to access SPI Flash chip");
} else {
// error("Found SPI Flash chip");
}
// by default the Teensy 3.1 DAC uses 3.3Vp-p output
// if your 3.3V power has noise, switching to the
// internal 1.2V reference can give you a clean signal
// dac.analogReference(INTERNAL);
// turn on the output
audioShield.enable();
audioShield.volume(1.0);
sound[0].play("C1.TRW");
// reduce the gain on mixer channels, so more than 1
// sound can play simultaneously without clipping
const float vol = 0.35;
for (uint8_t i = 0; i < 4; i++) {
mix5.gain(i, vol);
mix6.gain(i, vol);
mix7.gain(i, vol);
mix8.gain(i, vol);
mix9.gain(i, vol);
mix10.gain(i, vol);
mix11.gain(i, vol);
mix12.gain(i, vol);
mix13.gain(i, vol);
mix14.gain(i, vol);
}
mix15.gain(0, 0.5);
mix15.gain(1, 0.5);
pinMode(latchPin, OUTPUT);
pinMode(dataPin, OUTPUT);
pinMode(clockPin, OUTPUT);
}
void updateShiftRegister() {
digitalWrite(latchPin, LOW);
shiftOut(dataPin, clockPin, LSBFIRST, leds);
digitalWrite(latchPin, HIGH);
}
void PlaySound(int i) {
bool found = false;
for (uint8_t j = 0; j < PLAYERS; j++) {
if (!sound[j].isPlaying()) {
Serial.print(j);
Serial.println(" playing");
sound[j].play(string2char(sounds[i]));
found = true;
break;
}
}
}
void loop() {
// elay(500);
// for (int i = 0; i < 0; i++) {
// bitSet(leds, i);
// updateShiftRegister();
// delay(500);
// }
// Get the currently touched pads
// int aval=analogRead(A0);
//temp=map(aval,0,1000,50,150);
currtouched = cap.touched();
//Serial.println(temp);
for (uint8_t i = 8; i < 12; i++) {
if ((currtouched & _BV(i)) && !(lasttouched & _BV(i))) {
Serial.print(i);
Serial.println(" touched");
current_sound=i-8;
break;
}
}
for (uint8_t i = 0; i < 8; i++) {
// cap.setThreshholds(40,1);
// it if *is* touched and *wasnt* touched before, alert!
if ((currtouched & _BV(i)) && !(lasttouched & _BV(i))) {
Serial.print(i);
Serial.println(" touched");
pattern[current_sound][i] = !pattern[current_sound][i];
}
if (millis() >= next) {
next = millis() + 100;
pattern_index = pattern_index + 1;
if (pattern_index > 8) {
pattern_index = 0;
}
for (int i = 0; i < 4; i++) {
Serial.print(pattern_index);
Serial.print(":");
Serial.println(pattern[i][pattern_index]);
if (pattern[i][pattern_index] == 1) {
PlaySound(i);
}
}
}
}
leds = 0;
updateShiftRegister();
for (uint8_t i = 0; i < 8; i++) {
if (pattern[current_sound][i] == 1) {
bitSet(leds, i);
}
}
updateShiftRegister();
lasttouched = currtouched;
}
| [
"andrewp@metsi.co.uk"
] | andrewp@metsi.co.uk |
323c7d74b52443883693ba4b86de9f3df1bbf476 | ad83097d219480d8eda8e737301f8deafa1cd2e1 | /examples/DHT11_test/DHT11_test.ino | d33355b235e02a2bb5886413ace962f62a3f8f63 | [] | no_license | amperka/TroykaDHT11 | b48d3c58e3950f23397bd092521deea9786ba907 | 67c555ea361b92660bd3f3d404f686f8619becb2 | refs/heads/master | 2021-01-10T13:44:24.463421 | 2015-10-07T16:18:05 | 2015-10-07T16:18:05 | 43,826,267 | 3 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 1,449 | ino | // библиотека для работы с датчиком DHT11
#include <TroykaDHT11.h>
// создаём объект класса DHT11 и пераём номер пина к которому подкючён датчик
DHT11 dht(11);
void setup()
{
// открываем последовательный порт для мониторинга действий в программе
Serial.begin(9600);
dht.begin();
}
void loop()
{
// переменная состояния датчика
int check;
// мониторинг ошибок
// считывание данных с датчика DHT11
check = dht.read();
switch (check) {
// всё OK
case DHT_OK:
// выводим показания влажности и температуры
Serial.print("Temperature = ");
Serial.print(dht.getTemperatureC());
Serial.print("C \t");
Serial.print("Humidity = ");
Serial.print(dht.getHumidity());
Serial.println("%");
break;
// ошибка контрольной суммы
case DHT_ERROR_CHECKSUM:
Serial.println("Checksum error");
break;
// превышение времени ожидания
case DHT_ERROR_TIMEOUT:
Serial.println("Time out error");
break;
// неизвестная ошибка
default:
Serial.println("Unknown error");
break;
}
// ждём 1 секунду
delay(1000);
}
| [
"igor@amperka.ru"
] | igor@amperka.ru |
1baba125a243d5d2da94d5c72868330bbfddf5f9 | c20b9a1a97794896e86fe5e11c56981d331cfd9e | /src/walletdb.cpp | 1dd32911e36c6703e5b85b45eb96618124641c5c | [
"MIT"
] | permissive | MobPayCoin/MobPayCoin | 99dac3dce26df6fbb4c2374b84a825d8621c592f | 32791c5b4e3eb2d3c6ad49cefbf09553ce15512a | refs/heads/master | 2020-04-02T06:17:09.728734 | 2017-03-12T16:51:29 | 2017-03-12T16:51:29 | 63,185,263 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 23,833 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "walletdb.h"
#include "wallet.h"
#include <boost/version.hpp>
#include <boost/filesystem.hpp>
using namespace std;
using namespace boost;
static uint64_t nAccountingEntryNumber = 0;
extern bool fWalletUnlockStakingOnly;
//
// CWalletDB
//
bool CWalletDB::WriteName(const string& strAddress, const string& strName)
{
nWalletDBUpdated++;
return Write(make_pair(string("name"), strAddress), strName);
}
bool CWalletDB::EraseName(const string& strAddress)
{
// This should only be used for sending addresses, never for receiving addresses,
// receiving addresses must always have an address book entry if they're not change return.
nWalletDBUpdated++;
return Erase(make_pair(string("name"), strAddress));
}
bool CWalletDB::ReadAccount(const string& strAccount, CAccount& account)
{
account.SetNull();
return Read(make_pair(string("acc"), strAccount), account);
}
bool CWalletDB::WriteAccount(const string& strAccount, const CAccount& account)
{
return Write(make_pair(string("acc"), strAccount), account);
}
bool CWalletDB::WriteAccountingEntry(const uint64_t nAccEntryNum, const CAccountingEntry& acentry)
{
return Write(boost::make_tuple(string("acentry"), acentry.strAccount, nAccEntryNum), acentry);
}
bool CWalletDB::WriteAccountingEntry(const CAccountingEntry& acentry)
{
return WriteAccountingEntry(++nAccountingEntryNumber, acentry);
}
int64_t CWalletDB::GetAccountCreditDebit(const string& strAccount)
{
list<CAccountingEntry> entries;
ListAccountCreditDebit(strAccount, entries);
int64_t nCreditDebit = 0;
BOOST_FOREACH (const CAccountingEntry& entry, entries)
nCreditDebit += entry.nCreditDebit;
return nCreditDebit;
}
void CWalletDB::ListAccountCreditDebit(const string& strAccount, list<CAccountingEntry>& entries)
{
bool fAllAccounts = (strAccount == "*");
Dbc* pcursor = GetCursor();
if (!pcursor)
throw runtime_error("CWalletDB::ListAccountCreditDebit() : cannot create DB cursor");
unsigned int fFlags = DB_SET_RANGE;
while (true)
{
// Read next record
CDataStream ssKey(SER_DISK, CLIENT_VERSION);
if (fFlags == DB_SET_RANGE)
ssKey << boost::make_tuple(string("acentry"), (fAllAccounts? string("") : strAccount), uint64_t(0));
CDataStream ssValue(SER_DISK, CLIENT_VERSION);
int ret = ReadAtCursor(pcursor, ssKey, ssValue, fFlags);
fFlags = DB_NEXT;
if (ret == DB_NOTFOUND)
break;
else if (ret != 0)
{
pcursor->close();
throw runtime_error("CWalletDB::ListAccountCreditDebit() : error scanning DB");
}
// Unserialize
string strType;
ssKey >> strType;
if (strType != "acentry")
break;
CAccountingEntry acentry;
ssKey >> acentry.strAccount;
if (!fAllAccounts && acentry.strAccount != strAccount)
break;
ssValue >> acentry;
ssKey >> acentry.nEntryNo;
entries.push_back(acentry);
}
pcursor->close();
}
DBErrors
CWalletDB::ReorderTransactions(CWallet* pwallet)
{
LOCK(pwallet->cs_wallet);
// Old wallets didn't have any defined order for transactions
// Probably a bad idea to change the output of this
// First: get all CWalletTx and CAccountingEntry into a sorted-by-time multimap.
typedef pair<CWalletTx*, CAccountingEntry*> TxPair;
typedef multimap<int64_t, TxPair > TxItems;
TxItems txByTime;
for (map<uint256, CWalletTx>::iterator it = pwallet->mapWallet.begin(); it != pwallet->mapWallet.end(); ++it)
{
CWalletTx* wtx = &((*it).second);
txByTime.insert(make_pair(wtx->nTimeReceived, TxPair(wtx, (CAccountingEntry*)0)));
}
list<CAccountingEntry> acentries;
ListAccountCreditDebit("", acentries);
BOOST_FOREACH(CAccountingEntry& entry, acentries)
{
txByTime.insert(make_pair(entry.nTime, TxPair((CWalletTx*)0, &entry)));
}
int64_t& nOrderPosNext = pwallet->nOrderPosNext;
nOrderPosNext = 0;
std::vector<int64_t> nOrderPosOffsets;
for (TxItems::iterator it = txByTime.begin(); it != txByTime.end(); ++it)
{
CWalletTx *const pwtx = (*it).second.first;
CAccountingEntry *const pacentry = (*it).second.second;
int64_t& nOrderPos = (pwtx != 0) ? pwtx->nOrderPos : pacentry->nOrderPos;
if (nOrderPos == -1)
{
nOrderPos = nOrderPosNext++;
nOrderPosOffsets.push_back(nOrderPos);
if (pacentry)
// Have to write accounting regardless, since we don't keep it in memory
if (!WriteAccountingEntry(pacentry->nEntryNo, *pacentry))
return DB_LOAD_FAIL;
}
else
{
int64_t nOrderPosOff = 0;
BOOST_FOREACH(const int64_t& nOffsetStart, nOrderPosOffsets)
{
if (nOrderPos >= nOffsetStart)
++nOrderPosOff;
}
nOrderPos += nOrderPosOff;
nOrderPosNext = std::max(nOrderPosNext, nOrderPos + 1);
if (!nOrderPosOff)
continue;
// Since we're changing the order, write it back
if (pwtx)
{
if (!WriteTx(pwtx->GetHash(), *pwtx))
return DB_LOAD_FAIL;
}
else
if (!WriteAccountingEntry(pacentry->nEntryNo, *pacentry))
return DB_LOAD_FAIL;
}
}
return DB_LOAD_OK;
}
class CWalletScanState {
public:
unsigned int nKeys;
unsigned int nCKeys;
unsigned int nKeyMeta;
bool fIsEncrypted;
bool fAnyUnordered;
int nFileVersion;
vector<uint256> vWalletUpgrade;
CWalletScanState() {
nKeys = nCKeys = nKeyMeta = 0;
fIsEncrypted = false;
fAnyUnordered = false;
nFileVersion = 0;
}
};
bool
ReadKeyValue(CWallet* pwallet, CDataStream& ssKey, CDataStream& ssValue,
CWalletScanState &wss, string& strType, string& strErr)
{
try {
// Unserialize
// Taking advantage of the fact that pair serialization
// is just the two items serialized one after the other
ssKey >> strType;
if (strType == "name")
{
string strAddress;
ssKey >> strAddress;
ssValue >> pwallet->mapAddressBook[CBitcoinAddress(strAddress).Get()];
}
else if (strType == "tx")
{
uint256 hash;
ssKey >> hash;
CWalletTx& wtx = pwallet->mapWallet[hash];
ssValue >> wtx;
if (wtx.CheckTransaction() && (wtx.GetHash() == hash))
wtx.BindWallet(pwallet);
else
{
pwallet->mapWallet.erase(hash);
return false;
}
// Undo serialize changes in 31600
if (31404 <= wtx.fTimeReceivedIsTxTime && wtx.fTimeReceivedIsTxTime <= 31703)
{
if (!ssValue.empty())
{
char fTmp;
char fUnused;
ssValue >> fTmp >> fUnused >> wtx.strFromAccount;
strErr = strprintf("LoadWallet() upgrading tx ver=%d %d '%s' %s",
wtx.fTimeReceivedIsTxTime, fTmp, wtx.strFromAccount.c_str(), hash.ToString().c_str());
wtx.fTimeReceivedIsTxTime = fTmp;
}
else
{
strErr = strprintf("LoadWallet() repairing tx ver=%d %s", wtx.fTimeReceivedIsTxTime, hash.ToString().c_str());
wtx.fTimeReceivedIsTxTime = 0;
}
wss.vWalletUpgrade.push_back(hash);
}
if (wtx.nOrderPos == -1)
wss.fAnyUnordered = true;
//// debug print
//printf("LoadWallet %s\n", wtx.GetHash().ToString().c_str());
//printf(" %12"PRId64" %s %s %s\n",
// wtx.vout[0].nValue,
// DateTimeStrFormat("%x %H:%M:%S", wtx.GetBlockTime()).c_str(),
// wtx.hashBlock.ToString().substr(0,20).c_str(),
// wtx.mapValue["message"].c_str());
}
else if (strType == "acentry")
{
string strAccount;
ssKey >> strAccount;
uint64_t nNumber;
ssKey >> nNumber;
if (nNumber > nAccountingEntryNumber)
nAccountingEntryNumber = nNumber;
if (!wss.fAnyUnordered)
{
CAccountingEntry acentry;
ssValue >> acentry;
if (acentry.nOrderPos == -1)
wss.fAnyUnordered = true;
}
}
else if (strType == "key" || strType == "wkey")
{
vector<unsigned char> vchPubKey;
ssKey >> vchPubKey;
CKey key;
if (strType == "key")
{
wss.nKeys++;
CPrivKey pkey;
ssValue >> pkey;
key.SetPubKey(vchPubKey);
if (!key.SetPrivKey(pkey))
{
strErr = "Error reading wallet database: CPrivKey corrupt";
return false;
}
if (key.GetPubKey() != vchPubKey)
{
strErr = "Error reading wallet database: CPrivKey pubkey inconsistency";
return false;
}
if (!key.IsValid())
{
strErr = "Error reading wallet database: invalid CPrivKey";
return false;
}
}
else
{
CWalletKey wkey;
ssValue >> wkey;
key.SetPubKey(vchPubKey);
if (!key.SetPrivKey(wkey.vchPrivKey))
{
strErr = "Error reading wallet database: CPrivKey corrupt";
return false;
}
if (key.GetPubKey() != vchPubKey)
{
strErr = "Error reading wallet database: CWalletKey pubkey inconsistency";
return false;
}
if (!key.IsValid())
{
strErr = "Error reading wallet database: invalid CWalletKey";
return false;
}
}
if (!pwallet->LoadKey(key))
{
strErr = "Error reading wallet database: LoadKey failed";
return false;
}
}
else if (strType == "mkey")
{
unsigned int nID;
ssKey >> nID;
CMasterKey kMasterKey;
ssValue >> kMasterKey;
if(pwallet->mapMasterKeys.count(nID) != 0)
{
strErr = strprintf("Error reading wallet database: duplicate CMasterKey id %u", nID);
return false;
}
pwallet->mapMasterKeys[nID] = kMasterKey;
if (pwallet->nMasterKeyMaxID < nID)
pwallet->nMasterKeyMaxID = nID;
}
else if (strType == "ckey")
{
wss.nCKeys++;
vector<unsigned char> vchPubKey;
ssKey >> vchPubKey;
vector<unsigned char> vchPrivKey;
ssValue >> vchPrivKey;
if (!pwallet->LoadCryptedKey(vchPubKey, vchPrivKey))
{
strErr = "Error reading wallet database: LoadCryptedKey failed";
return false;
}
wss.fIsEncrypted = true;
}
else if (strType == "keymeta")
{
CPubKey vchPubKey;
ssKey >> vchPubKey;
CKeyMetadata keyMeta;
ssValue >> keyMeta;
wss.nKeyMeta++;
pwallet->LoadKeyMetadata(vchPubKey, keyMeta);
// find earliest key creation time, as wallet birthday
if (!pwallet->nTimeFirstKey ||
(keyMeta.nCreateTime < pwallet->nTimeFirstKey))
pwallet->nTimeFirstKey = keyMeta.nCreateTime;
}
else if (strType == "defaultkey")
{
ssValue >> pwallet->vchDefaultKey;
}
else if (strType == "pool")
{
int64_t nIndex;
ssKey >> nIndex;
CKeyPool keypool;
ssValue >> keypool;
pwallet->setKeyPool.insert(nIndex);
// If no metadata exists yet, create a default with the pool key's
// creation time. Note that this may be overwritten by actually
// stored metadata for that key later, which is fine.
CKeyID keyid = keypool.vchPubKey.GetID();
if (pwallet->mapKeyMetadata.count(keyid) == 0)
pwallet->mapKeyMetadata[keyid] = CKeyMetadata(keypool.nTime);
}
else if (strType == "version")
{
ssValue >> wss.nFileVersion;
if (wss.nFileVersion == 10300)
wss.nFileVersion = 300;
}
else if (strType == "cscript")
{
uint160 hash;
ssKey >> hash;
CScript script;
ssValue >> script;
if (!pwallet->LoadCScript(script))
{
strErr = "Error reading wallet database: LoadCScript failed";
return false;
}
}
else if (strType == "orderposnext")
{
ssValue >> pwallet->nOrderPosNext;
}
} catch (...)
{
return false;
}
return true;
}
static bool IsKeyType(string strType)
{
return (strType== "key" || strType == "wkey" ||
strType == "mkey" || strType == "ckey");
}
DBErrors CWalletDB::LoadWallet(CWallet* pwallet)
{
pwallet->vchDefaultKey = CPubKey();
CWalletScanState wss;
bool fNoncriticalErrors = false;
DBErrors result = DB_LOAD_OK;
try {
LOCK(pwallet->cs_wallet);
int nMinVersion = 0;
if (Read((string)"minversion", nMinVersion))
{
if (nMinVersion > CLIENT_VERSION)
return DB_TOO_NEW;
pwallet->LoadMinVersion(nMinVersion);
}
// Get cursor
Dbc* pcursor = GetCursor();
if (!pcursor)
{
printf("Error getting wallet database cursor\n");
return DB_CORRUPT;
}
while (true)
{
// Read next record
CDataStream ssKey(SER_DISK, CLIENT_VERSION);
CDataStream ssValue(SER_DISK, CLIENT_VERSION);
int ret = ReadAtCursor(pcursor, ssKey, ssValue);
if (ret == DB_NOTFOUND)
break;
else if (ret != 0)
{
printf("Error reading next record from wallet database\n");
return DB_CORRUPT;
}
// Try to be tolerant of single corrupt records:
string strType, strErr;
if (!ReadKeyValue(pwallet, ssKey, ssValue, wss, strType, strErr))
{
// losing keys is considered a catastrophic error, anything else
// we assume the user can live with:
if (IsKeyType(strType))
result = DB_CORRUPT;
else
{
// Leave other errors alone, if we try to fix them we might make things worse.
fNoncriticalErrors = true; // ... but do warn the user there is something wrong.
if (strType == "tx")
// Rescan if there is a bad transaction record:
SoftSetBoolArg("-rescan", true);
}
}
if (!strErr.empty())
printf("%s\n", strErr.c_str());
}
pcursor->close();
}
catch (...)
{
result = DB_CORRUPT;
}
if (fNoncriticalErrors && result == DB_LOAD_OK)
result = DB_NONCRITICAL_ERROR;
// Any wallet corruption at all: skip any rewriting or
// upgrading, we don't want to make it worse.
if (result != DB_LOAD_OK)
return result;
printf("nFileVersion = %d\n", wss.nFileVersion);
printf("Keys: %u plaintext, %u encrypted, %u w/ metadata, %u total\n",
wss.nKeys, wss.nCKeys, wss.nKeyMeta, wss.nKeys + wss.nCKeys);
// nTimeFirstKey is only reliable if all keys have metadata
if ((wss.nKeys + wss.nCKeys) != wss.nKeyMeta)
pwallet->nTimeFirstKey = 1; // 0 would be considered 'no value'
BOOST_FOREACH(uint256 hash, wss.vWalletUpgrade)
WriteTx(hash, pwallet->mapWallet[hash]);
// Rewrite encrypted wallets of versions 0.4.0 and 0.5.0rc:
if (wss.fIsEncrypted && (wss.nFileVersion == 40000 || wss.nFileVersion == 50000))
return DB_NEED_REWRITE;
if (wss.nFileVersion < CLIENT_VERSION) // Update
WriteVersion(CLIENT_VERSION);
if (wss.fAnyUnordered)
result = ReorderTransactions(pwallet);
return result;
}
void ThreadFlushWalletDB(void* parg)
{
// Make this thread recognisable as the wallet flushing thread
RenameThread("mobilepaycoin-wallet");
const string& strFile = ((const string*)parg)[0];
static bool fOneThread;
if (fOneThread)
return;
fOneThread = true;
if (!GetBoolArg("-flushwallet", true))
return;
unsigned int nLastSeen = nWalletDBUpdated;
unsigned int nLastFlushed = nWalletDBUpdated;
int64_t nLastWalletUpdate = GetTime();
while (!fShutdown)
{
MilliSleep(500);
if (nLastSeen != nWalletDBUpdated)
{
nLastSeen = nWalletDBUpdated;
nLastWalletUpdate = GetTime();
}
if (nLastFlushed != nWalletDBUpdated && GetTime() - nLastWalletUpdate >= 2)
{
TRY_LOCK(bitdb.cs_db,lockDb);
if (lockDb)
{
// Don't do this if any databases are in use
int nRefCount = 0;
map<string, int>::iterator mi = bitdb.mapFileUseCount.begin();
while (mi != bitdb.mapFileUseCount.end())
{
nRefCount += (*mi).second;
mi++;
}
if (nRefCount == 0 && !fShutdown)
{
map<string, int>::iterator mi = bitdb.mapFileUseCount.find(strFile);
if (mi != bitdb.mapFileUseCount.end())
{
printf("Flushing wallet.dat\n");
nLastFlushed = nWalletDBUpdated;
int64_t nStart = GetTimeMillis();
// Flush wallet.dat so it's self contained
bitdb.CloseDb(strFile);
bitdb.CheckpointLSN(strFile);
bitdb.mapFileUseCount.erase(mi++);
printf("Flushed wallet.dat %"PRId64"ms\n", GetTimeMillis() - nStart);
}
}
}
}
}
}
bool BackupWallet(const CWallet& wallet, const string& strDest)
{
if (!wallet.fFileBacked)
return false;
while (!fShutdown)
{
{
LOCK(bitdb.cs_db);
if (!bitdb.mapFileUseCount.count(wallet.strWalletFile) || bitdb.mapFileUseCount[wallet.strWalletFile] == 0)
{
// Flush log data to the dat file
bitdb.CloseDb(wallet.strWalletFile);
bitdb.CheckpointLSN(wallet.strWalletFile);
bitdb.mapFileUseCount.erase(wallet.strWalletFile);
// Copy wallet.dat
filesystem::path pathSrc = GetDataDir() / wallet.strWalletFile;
filesystem::path pathDest(strDest);
if (filesystem::is_directory(pathDest))
pathDest /= wallet.strWalletFile;
try {
#if BOOST_VERSION >= 104000
filesystem::copy_file(pathSrc, pathDest, filesystem::copy_option::overwrite_if_exists);
#else
filesystem::copy_file(pathSrc, pathDest);
#endif
printf("copied wallet.dat to %s\n", pathDest.string().c_str());
return true;
} catch(const filesystem::filesystem_error &e) {
printf("error copying wallet.dat to %s - %s\n", pathDest.string().c_str(), e.what());
return false;
}
}
}
MilliSleep(100);
}
return false;
}
//
// Try to (very carefully!) recover wallet.dat if there is a problem.
//
bool CWalletDB::Recover(CDBEnv& dbenv, std::string filename, bool fOnlyKeys)
{
// Recovery procedure:
// move wallet.dat to wallet.timestamp.bak
// Call Salvage with fAggressive=true to
// get as much data as possible.
// Rewrite salvaged data to wallet.dat
// Set -rescan so any missing transactions will be
// found.
int64_t now = GetTime();
std::string newFilename = strprintf("wallet.%"PRId64".bak", now);
int result = dbenv.dbenv.dbrename(NULL, filename.c_str(), NULL,
newFilename.c_str(), DB_AUTO_COMMIT);
if (result == 0)
printf("Renamed %s to %s\n", filename.c_str(), newFilename.c_str());
else
{
printf("Failed to rename %s to %s\n", filename.c_str(), newFilename.c_str());
return false;
}
std::vector<CDBEnv::KeyValPair> salvagedData;
bool allOK = dbenv.Salvage(newFilename, true, salvagedData);
if (salvagedData.empty())
{
printf("Salvage(aggressive) found no records in %s.\n", newFilename.c_str());
return false;
}
printf("Salvage(aggressive) found %"PRIszu" records\n", salvagedData.size());
bool fSuccess = allOK;
Db* pdbCopy = new Db(&dbenv.dbenv, 0);
int ret = pdbCopy->open(NULL, // Txn pointer
filename.c_str(), // Filename
"main", // Logical db name
DB_BTREE, // Database type
DB_CREATE, // Flags
0);
if (ret > 0)
{
printf("Cannot create database file %s\n", filename.c_str());
return false;
}
CWallet dummyWallet;
CWalletScanState wss;
DbTxn* ptxn = dbenv.TxnBegin();
BOOST_FOREACH(CDBEnv::KeyValPair& row, salvagedData)
{
if (fOnlyKeys)
{
CDataStream ssKey(row.first, SER_DISK, CLIENT_VERSION);
CDataStream ssValue(row.second, SER_DISK, CLIENT_VERSION);
string strType, strErr;
bool fReadOK = ReadKeyValue(&dummyWallet, ssKey, ssValue,
wss, strType, strErr);
if (!IsKeyType(strType))
continue;
if (!fReadOK)
{
printf("WARNING: CWalletDB::Recover skipping %s: %s\n", strType.c_str(), strErr.c_str());
continue;
}
}
Dbt datKey(&row.first[0], row.first.size());
Dbt datValue(&row.second[0], row.second.size());
int ret2 = pdbCopy->put(ptxn, &datKey, &datValue, DB_NOOVERWRITE);
if (ret2 > 0)
fSuccess = false;
}
ptxn->commit(0);
pdbCopy->close(0);
delete pdbCopy;
return fSuccess;
}
bool CWalletDB::Recover(CDBEnv& dbenv, std::string filename)
{
return CWalletDB::Recover(dbenv, filename, false);
}
| [
"one@lychie.org"
] | one@lychie.org |
9f292ea93598730e198cc4878e9b7db182f56403 | 8e5c3202c1b66384c3a97272adc5d278d9044543 | /cpp/[zs]5402.cpp | 5c80736be0f6bb9fa40daf8a6bbb6c48d87bbf3b | [] | no_license | Coopelia/LeetCode-Solution | a70da69f73412557fd08b7974d9e93f353fa4518 | 8c210b46732197e98517c31fbfb3b4d6a14f5f6f | refs/heads/master | 2022-11-21T19:28:35.933722 | 2020-07-24T03:26:58 | 2020-07-24T03:26:58 | 263,778,023 | 0 | 0 | null | 2020-05-14T00:47:56 | 2020-05-14T00:47:56 | null | UTF-8 | C++ | false | false | 1,051 | cpp | #include <iostream>
#include <vector>
#include<algorithm>
using namespace std;
class Solution
{
public:
int longestSubarray(vector<int>& nums, int limit)
{
int maxLength = 0, minNum = INT_MAX, maxNum = INT_MIN, length = 0;
for(int i = 0, j = 0; j < nums.size();)
{
minNum = min(nums[j], minNum);
maxNum = max(nums[j], maxNum);
if(abs(maxNum - minNum) > limit)
{
i++;
j = i;
minNum = INT_MAX, maxNum = INT_MIN;
length = 0;
}
else
{
length++;
j++;
maxLength = max(length, maxLength);
}
}
return maxLength;
}
};
int main()
{
Solution so;
vector<int> nums;
int limit,n;
cin>>n;
for (int i = 0; i < n; i++)
{
cin>>limit;
nums.push_back(limit);
}
cin>>limit;
cout<<so.longestSubarray(nums,limit)<<endl;
system("pause");
return 0;
} | [
"divia_mk@qq.com"
] | divia_mk@qq.com |
5e83dda2a73b9d8bcd42adff45577937cb0e9fa2 | cfb3d290e3f5b7d8bec5b9c7f9356ac38f61638e | /JuceLibraryCode/modules/juce_audio_processors/format_types/juce_LADSPAPluginFormat.cpp | 6457de14f6c17c797991c5441fcfbc7a07e9d378 | [] | no_license | eriser/MumuAudioGranular | b489edabcc15e92682533f381b103c87c84d8df5 | 92f4baff71e387ed34ca03e3cc25deccb408cc0b | refs/heads/master | 2020-04-10T21:29:31.826834 | 2016-01-25T21:15:41 | 2016-01-25T21:15:41 | 50,439,190 | 2 | 0 | null | 2016-01-26T15:46:55 | 2016-01-26T15:46:55 | null | UTF-8 | C++ | false | false | 23,269 | cpp | /*
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)
b) the Affero GPL v3
Details of these licenses can be found at: www.gnu.org/licenses
JUCE is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
A PARTICULAR PURPOSE. See the GNU General Public License for more details.
------------------------------------------------------------------------------
To release a closed-source product which uses JUCE, commercial licenses are
available: visit www.juce.com for more information.
==============================================================================
*/
#if JUCE_PLUGINHOST_LADSPA && JUCE_LINUX
} // (juce namespace)
#include <ladspa.h>
namespace juce
{
static int shellLADSPAUIDToCreate = 0;
static int insideLADSPACallback = 0;
#define JUCE_LADSPA_LOGGING 1
#if JUCE_LADSPA_LOGGING
#define JUCE_LADSPA_LOG(x) Logger::writeToLog (x);
#else
#define JUCE_LADSPA_LOG(x)
#endif
//==============================================================================
class LADSPAModuleHandle : public ReferenceCountedObject
{
public:
LADSPAModuleHandle (const File& f)
: file (f), moduleMain (nullptr)
{
getActiveModules().add (this);
}
~LADSPAModuleHandle()
{
getActiveModules().removeFirstMatchingValue (this);
close();
}
typedef ReferenceCountedObjectPtr<LADSPAModuleHandle> Ptr;
static Array <LADSPAModuleHandle*>& getActiveModules()
{
static Array <LADSPAModuleHandle*> activeModules;
return activeModules;
}
static LADSPAModuleHandle* findOrCreateModule (const File& file)
{
for (int i = getActiveModules().size(); --i >= 0;)
{
LADSPAModuleHandle* const module = getActiveModules().getUnchecked(i);
if (module->file == file)
return module;
}
++insideLADSPACallback;
shellLADSPAUIDToCreate = 0;
JUCE_LADSPA_LOG ("Loading LADSPA module: " + file.getFullPathName());
ScopedPointer<LADSPAModuleHandle> m (new LADSPAModuleHandle (file));
if (! m->open())
m = nullptr;
--insideLADSPACallback;
return m.release();
}
File file;
LADSPA_Descriptor_Function moduleMain;
private:
DynamicLibrary module;
bool open()
{
module.open (file.getFullPathName());
moduleMain = (LADSPA_Descriptor_Function) module.getFunction ("ladspa_descriptor");
return moduleMain != nullptr;
}
void close()
{
module.close();
}
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (LADSPAModuleHandle)
};
//==============================================================================
class LADSPAPluginInstance : public AudioPluginInstance
{
public:
LADSPAPluginInstance (const LADSPAModuleHandle::Ptr& m)
: module (m), plugin (nullptr), handle (nullptr),
initialised (false), tempBuffer (1, 1)
{
++insideLADSPACallback;
name = module->file.getFileNameWithoutExtension();
JUCE_LADSPA_LOG ("Creating LADSPA instance: " + name);
if (module->moduleMain != nullptr)
{
plugin = module->moduleMain (shellLADSPAUIDToCreate);
if (plugin == nullptr)
{
JUCE_LADSPA_LOG ("Cannot find any valid descriptor in shared library");
--insideLADSPACallback;
return;
}
}
else
{
JUCE_LADSPA_LOG ("Cannot find any valid plugin in shared library");
--insideLADSPACallback;
return;
}
const double sampleRate = getSampleRate() > 0 ? getSampleRate() : 44100.0;
handle = plugin->instantiate (plugin, (uint32) sampleRate);
--insideLADSPACallback;
}
~LADSPAPluginInstance()
{
const ScopedLock sl (lock);
jassert (insideLADSPACallback == 0);
if (handle != nullptr && plugin != nullptr && plugin->cleanup != nullptr)
plugin->cleanup (handle);
initialised = false;
module = nullptr;
plugin = nullptr;
handle = nullptr;
}
void initialise (double initialSampleRate, int initialBlockSize)
{
setPlayConfigDetails (inputs.size(), outputs.size(), initialSampleRate, initialBlockSize);
if (initialised || plugin == nullptr || handle == nullptr)
return;
JUCE_LADSPA_LOG ("Initialising LADSPA: " + name);
initialised = true;
inputs.clear();
outputs.clear();
parameters.clear();
for (unsigned int i = 0; i < plugin->PortCount; ++i)
{
const LADSPA_PortDescriptor portDesc = plugin->PortDescriptors[i];
if ((portDesc & LADSPA_PORT_CONTROL) != 0)
parameters.add (i);
if ((portDesc & LADSPA_PORT_AUDIO) != 0)
{
if ((portDesc & LADSPA_PORT_INPUT) != 0) inputs.add (i);
if ((portDesc & LADSPA_PORT_OUTPUT) != 0) outputs.add (i);
}
}
parameterValues.calloc (parameters.size());
for (int i = 0; i < parameters.size(); ++i)
plugin->connect_port (handle, parameters[i], &(parameterValues[i].scaled));
setPlayConfigDetails (inputs.size(), outputs.size(), initialSampleRate, initialBlockSize);
setCurrentProgram (0);
setLatencySamples (0);
// Some plugins crash if this doesn't happen:
if (plugin->activate != nullptr) plugin->activate (handle);
if (plugin->deactivate != nullptr) plugin->deactivate (handle);
}
//==============================================================================
// AudioPluginInstance methods:
void fillInPluginDescription (PluginDescription& desc) const
{
desc.name = getName();
desc.fileOrIdentifier = module->file.getFullPathName();
desc.uid = getUID();
desc.lastFileModTime = module->file.getLastModificationTime();
desc.lastInfoUpdateTime = Time::getCurrentTime();
desc.pluginFormatName = "LADSPA";
desc.category = getCategory();
desc.manufacturerName = plugin != nullptr ? String (plugin->Maker) : String();
desc.version = getVersion();
desc.numInputChannels = getTotalNumInputChannels();
desc.numOutputChannels = getTotalNumOutputChannels();
desc.isInstrument = false;
}
const String getName() const
{
if (plugin != nullptr && plugin->Label != nullptr)
return plugin->Label;
return name;
}
int getUID() const
{
if (plugin != nullptr && plugin->UniqueID != 0)
return (int) plugin->UniqueID;
return module->file.hashCode();
}
String getVersion() const { return LADSPA_VERSION; }
String getCategory() const { return "Effect"; }
bool acceptsMidi() const { return false; }
bool producesMidi() const { return false; }
bool silenceInProducesSilenceOut() const { return plugin == nullptr; } // ..any way to get a proper answer for these?
double getTailLengthSeconds() const { return 0.0; }
//==============================================================================
void prepareToPlay (double newSampleRate, int samplesPerBlockExpected)
{
setLatencySamples (0);
initialise (newSampleRate, samplesPerBlockExpected);
if (initialised)
{
tempBuffer.setSize (jmax (1, outputs.size()), samplesPerBlockExpected);
// dodgy hack to force some plugins to initialise the sample rate..
if (getNumParameters() > 0)
{
const float old = getParameter (0);
setParameter (0, (old < 0.5f) ? 1.0f : 0.0f);
setParameter (0, old);
}
if (plugin->activate != nullptr)
plugin->activate (handle);
}
}
void releaseResources()
{
if (handle != nullptr && plugin->deactivate != nullptr)
plugin->deactivate (handle);
tempBuffer.setSize (1, 1);
}
void processBlock (AudioSampleBuffer& buffer, MidiBuffer& midiMessages)
{
const int numSamples = buffer.getNumSamples();
if (initialised && plugin != nullptr && handle != nullptr)
{
for (int i = 0; i < inputs.size(); ++i)
plugin->connect_port (handle, inputs[i],
i < buffer.getNumChannels() ? buffer.getWritePointer (i) : nullptr);
if (plugin->run != nullptr)
{
for (int i = 0; i < outputs.size(); ++i)
plugin->connect_port (handle, outputs.getUnchecked(i),
i < buffer.getNumChannels() ? buffer.getWritePointer (i) : nullptr);
plugin->run (handle, numSamples);
return;
}
if (plugin->run_adding != nullptr)
{
tempBuffer.setSize (outputs.size(), numSamples);
tempBuffer.clear();
for (int i = 0; i < outputs.size(); ++i)
plugin->connect_port (handle, outputs.getUnchecked(i), tempBuffer.getWritePointer (i));
plugin->run_adding (handle, numSamples);
for (int i = 0; i < outputs.size(); ++i)
if (i < buffer.getNumChannels())
buffer.copyFrom (i, 0, tempBuffer, i, 0, numSamples);
return;
}
jassertfalse; // no callback to use?
}
for (int i = getTotalNumInputChannels(), e = getTotalNumOutputChannels(); i < e; ++i)
buffer.clear (i, 0, numSamples);
}
bool isInputChannelStereoPair (int index) const { return isPositiveAndBelow (index, getTotalNumInputChannels()); }
bool isOutputChannelStereoPair (int index) const { return isPositiveAndBelow (index, getTotalNumOutputChannels()); }
const String getInputChannelName (const int index) const
{
if (isPositiveAndBelow (index, getTotalNumInputChannels()))
return String (plugin->PortNames [inputs [index]]).trim();
return String();
}
const String getOutputChannelName (const int index) const
{
if (isPositiveAndBelow (index, getTotalNumInputChannels()))
return String (plugin->PortNames [outputs [index]]).trim();
return String();
}
//==============================================================================
int getNumParameters() { return handle != nullptr ? parameters.size() : 0; }
bool isParameterAutomatable (int index) const
{
return plugin != nullptr
&& (plugin->PortDescriptors [parameters[index]] & LADSPA_PORT_INPUT) != 0;
}
float getParameter (int index)
{
if (plugin != nullptr && isPositiveAndBelow (index, parameters.size()))
{
const ScopedLock sl (lock);
return parameterValues[index].unscaled;
}
return 0.0f;
}
void setParameter (int index, float newValue)
{
if (plugin != nullptr && isPositiveAndBelow (index, parameters.size()))
{
const ScopedLock sl (lock);
ParameterValue& p = parameterValues[index];
if (p.unscaled != newValue)
p = ParameterValue (getNewParamScaled (plugin->PortRangeHints [parameters[index]], newValue), newValue);
}
}
const String getParameterName (int index)
{
if (plugin != nullptr)
{
jassert (isPositiveAndBelow (index, parameters.size()));
return String (plugin->PortNames [parameters [index]]).trim();
}
return String();
}
const String getParameterText (int index)
{
if (plugin != nullptr)
{
jassert (index >= 0 && index < parameters.size());
const LADSPA_PortRangeHint& hint = plugin->PortRangeHints [parameters [index]];
if (LADSPA_IS_HINT_INTEGER (hint.HintDescriptor))
return String ((int) parameterValues[index].scaled);
return String (parameterValues[index].scaled, 4);
}
return String();
}
//==============================================================================
int getNumPrograms() { return 0; }
int getCurrentProgram() { return 0; }
void setCurrentProgram (int newIndex)
{
if (plugin != nullptr)
for (int i = 0; i < parameters.size(); ++i)
parameterValues[i] = getParamValue (plugin->PortRangeHints [parameters[i]]);
}
const String getProgramName (int index)
{
// XXX
return String();
}
void changeProgramName (int index, const String& newName)
{
// XXX
}
//==============================================================================
void getStateInformation (MemoryBlock& destData)
{
destData.setSize (sizeof (float) * getNumParameters());
destData.fillWith (0);
float* const p = (float*) ((char*) destData.getData());
for (int i = 0; i < getNumParameters(); ++i)
p[i] = getParameter(i);
}
void getCurrentProgramStateInformation (MemoryBlock& destData)
{
getStateInformation (destData);
}
void setStateInformation (const void* data, int sizeInBytes)
{
const float* p = static_cast<const float*> (data);
for (int i = 0; i < getNumParameters(); ++i)
setParameter (i, p[i]);
}
void setCurrentProgramStateInformation (const void* data, int sizeInBytes)
{
setStateInformation (data, sizeInBytes);
}
bool hasEditor() const
{
return false;
}
AudioProcessorEditor* createEditor()
{
return nullptr;
}
bool isValid() const
{
return handle != nullptr;
}
LADSPAModuleHandle::Ptr module;
const LADSPA_Descriptor* plugin;
private:
LADSPA_Handle handle;
String name;
CriticalSection lock;
bool initialised;
AudioSampleBuffer tempBuffer;
Array<int> inputs, outputs, parameters;
struct ParameterValue
{
inline ParameterValue() noexcept : scaled (0), unscaled (0) {}
inline ParameterValue (float s, float u) noexcept : scaled (s), unscaled (u) {}
float scaled, unscaled;
};
HeapBlock<ParameterValue> parameterValues;
//==============================================================================
static float scaledValue (float low, float high, float alpha, bool useLog) noexcept
{
if (useLog && low > 0 && high > 0)
return expf (logf (low) * (1.0f - alpha) + logf (high) * alpha);
return low + (high - low) * alpha;
}
static float toIntIfNecessary (const LADSPA_PortRangeHintDescriptor& desc, float value)
{
return LADSPA_IS_HINT_INTEGER (desc) ? ((float) (int) value) : value;
}
float getNewParamScaled (const LADSPA_PortRangeHint& hint, float newValue) const
{
const LADSPA_PortRangeHintDescriptor& desc = hint.HintDescriptor;
if (LADSPA_IS_HINT_TOGGLED (desc))
return (newValue < 0.5f) ? 0.0f : 1.0f;
const float scale = LADSPA_IS_HINT_SAMPLE_RATE (desc) ? (float) getSampleRate() : 1.0f;
const float lower = hint.LowerBound * scale;
const float upper = hint.UpperBound * scale;
if (LADSPA_IS_HINT_BOUNDED_BELOW (desc) && LADSPA_IS_HINT_BOUNDED_ABOVE (desc))
return toIntIfNecessary (desc, scaledValue (lower, upper, newValue, LADSPA_IS_HINT_LOGARITHMIC (desc)));
if (LADSPA_IS_HINT_BOUNDED_BELOW (desc)) return toIntIfNecessary (desc, newValue);
if (LADSPA_IS_HINT_BOUNDED_ABOVE (desc)) return toIntIfNecessary (desc, newValue * upper);
return 0.0f;
}
ParameterValue getParamValue (const LADSPA_PortRangeHint& hint) const
{
const LADSPA_PortRangeHintDescriptor& desc = hint.HintDescriptor;
if (LADSPA_IS_HINT_HAS_DEFAULT (desc))
{
if (LADSPA_IS_HINT_DEFAULT_0 (desc)) return ParameterValue();
if (LADSPA_IS_HINT_DEFAULT_1 (desc)) return ParameterValue (1.0f, 1.0f);
if (LADSPA_IS_HINT_DEFAULT_100 (desc)) return ParameterValue (100.0f, 0.5f);
if (LADSPA_IS_HINT_DEFAULT_440 (desc)) return ParameterValue (440.0f, 0.5f);
const float scale = LADSPA_IS_HINT_SAMPLE_RATE (desc) ? (float) getSampleRate() : 1.0f;
const float lower = hint.LowerBound * scale;
const float upper = hint.UpperBound * scale;
if (LADSPA_IS_HINT_BOUNDED_BELOW (desc) && LADSPA_IS_HINT_DEFAULT_MINIMUM (desc)) return ParameterValue (lower, 0.0f);
if (LADSPA_IS_HINT_BOUNDED_ABOVE (desc) && LADSPA_IS_HINT_DEFAULT_MAXIMUM (desc)) return ParameterValue (upper, 1.0f);
if (LADSPA_IS_HINT_BOUNDED_BELOW (desc))
{
const bool useLog = LADSPA_IS_HINT_LOGARITHMIC (desc);
if (LADSPA_IS_HINT_DEFAULT_LOW (desc)) return ParameterValue (scaledValue (lower, upper, 0.25f, useLog), 0.25f);
if (LADSPA_IS_HINT_DEFAULT_MIDDLE (desc)) return ParameterValue (scaledValue (lower, upper, 0.50f, useLog), 0.50f);
if (LADSPA_IS_HINT_DEFAULT_HIGH (desc)) return ParameterValue (scaledValue (lower, upper, 0.75f, useLog), 0.75f);
}
}
return ParameterValue();
}
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (LADSPAPluginInstance)
};
//==============================================================================
//==============================================================================
LADSPAPluginFormat::LADSPAPluginFormat() {}
LADSPAPluginFormat::~LADSPAPluginFormat() {}
void LADSPAPluginFormat::findAllTypesForFile (OwnedArray <PluginDescription>& results,
const String& fileOrIdentifier)
{
if (! fileMightContainThisPluginType (fileOrIdentifier))
return;
PluginDescription desc;
desc.fileOrIdentifier = fileOrIdentifier;
desc.uid = 0;
ScopedPointer<LADSPAPluginInstance> instance (dynamic_cast<LADSPAPluginInstance*> (createInstanceFromDescription (desc, 44100.0, 512)));
if (instance == nullptr || ! instance->isValid())
return;
instance->initialise (44100.0, 512);
instance->fillInPluginDescription (desc);
if (instance->module->moduleMain != nullptr)
{
for (int uid = 0;; ++uid)
{
if (const LADSPA_Descriptor* plugin = instance->module->moduleMain (uid))
{
desc.uid = uid;
desc.name = plugin->Name != nullptr ? plugin->Name : "Unknown";
if (! arrayContainsPlugin (results, desc))
results.add (new PluginDescription (desc));
}
else
{
break;
}
}
}
}
AudioPluginInstance* LADSPAPluginFormat::createInstanceFromDescription (const PluginDescription& desc,
double sampleRate, int blockSize)
{
ScopedPointer<LADSPAPluginInstance> result;
if (fileMightContainThisPluginType (desc.fileOrIdentifier))
{
File file (desc.fileOrIdentifier);
const File previousWorkingDirectory (File::getCurrentWorkingDirectory());
file.getParentDirectory().setAsCurrentWorkingDirectory();
const LADSPAModuleHandle::Ptr module (LADSPAModuleHandle::findOrCreateModule (file));
if (module != nullptr)
{
shellLADSPAUIDToCreate = desc.uid;
result = new LADSPAPluginInstance (module);
if (result->plugin != nullptr && result->isValid())
result->initialise (sampleRate, blockSize);
else
result = nullptr;
}
previousWorkingDirectory.setAsCurrentWorkingDirectory();
}
return result.release();
}
bool LADSPAPluginFormat::fileMightContainThisPluginType (const String& fileOrIdentifier)
{
const File f (File::createFileWithoutCheckingPath (fileOrIdentifier));
return f.existsAsFile() && f.hasFileExtension (".so");
}
String LADSPAPluginFormat::getNameOfPluginFromIdentifier (const String& fileOrIdentifier)
{
return fileOrIdentifier;
}
bool LADSPAPluginFormat::pluginNeedsRescanning (const PluginDescription& desc)
{
return File (desc.fileOrIdentifier).getLastModificationTime() != desc.lastFileModTime;
}
bool LADSPAPluginFormat::doesPluginStillExist (const PluginDescription& desc)
{
return File::createFileWithoutCheckingPath (desc.fileOrIdentifier).exists();
}
StringArray LADSPAPluginFormat::searchPathsForPlugins (const FileSearchPath& directoriesToSearch, const bool recursive)
{
StringArray results;
for (int j = 0; j < directoriesToSearch.getNumPaths(); ++j)
recursiveFileSearch (results, directoriesToSearch[j], recursive);
return results;
}
void LADSPAPluginFormat::recursiveFileSearch (StringArray& results, const File& dir, const bool recursive)
{
DirectoryIterator iter (dir, false, "*", File::findFilesAndDirectories);
while (iter.next())
{
const File f (iter.getFile());
bool isPlugin = false;
if (fileMightContainThisPluginType (f.getFullPathName()))
{
isPlugin = true;
results.add (f.getFullPathName());
}
if (recursive && (! isPlugin) && f.isDirectory())
recursiveFileSearch (results, f, true);
}
}
FileSearchPath LADSPAPluginFormat::getDefaultLocationsToSearch()
{
return FileSearchPath (SystemStats::getEnvironmentVariable ("LADSPA_PATH",
"/usr/lib/ladspa;/usr/local/lib/ladspa;~/.ladspa")
.replace (":", ";"));
}
#endif
| [
"penn.jacob@gmail.com"
] | penn.jacob@gmail.com |
15493f59ab855a9c828e0f69c6f8841d97171603 | 5060247660cc33a5c1ba83f526e96046e3f5646f | /Code/BXGI/Format/IPL/Entry/DataEntry/IPLEntry_GRGE.h | 0caf1b82ae5aca255210d9989edf872e89ac2153 | [] | no_license | MexUK/BXGI | 3d44465d52ceb1534a2ed28a1004fb87fc20d99c | c56e7269a30c18cd4f97bb995294b44946ae5d47 | refs/heads/master | 2023-01-20T09:29:23.178539 | 2020-11-21T06:34:56 | 2020-11-21T06:34:56 | 100,811,486 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,447 | h | #pragma once
#include "nsbxgi.h"
#include "Type/Types.h"
#include "Format/IPL/Entry/IPLEntry_Data.h"
#include "Type/Vector/Vec2f.h"
#include "Type/Vector/Vec3f.h"
#include <string>
class bxgi::IPLEntry_GRGE : public bxgi::IPLEntry_Data
{
public:
IPLEntry_GRGE(bxgi::IPLFormat *pIPLFormat);
void unserialize(void);
void serialize(void);
void setPosition(bxcf::Vec3f& vecPosition) { m_vecPosition = vecPosition; }
bxcf::Vec3f& getPosition(void) { return m_vecPosition; }
void setLine(bxcf::Vec2f& vecLine) { m_vecLine = vecLine; }
bxcf::Vec2f& getLine(void) { return m_vecLine; }
void setCubePosition(bxcf::Vec3f& vecCubePosition) { m_vecCubePosition = vecCubePosition; }
bxcf::Vec3f& getCubePosition(void) { return m_vecCubePosition; }
void setGarageFlags(uint32 uiGarageFlags) { m_uiGarageFlags = uiGarageFlags; }
uint32 getGarageFlags(void) { return m_uiGarageFlags; }
void setGarageType(uint32 uiGarageType) { m_uiGarageType = uiGarageType; }
uint32 getGarageType(void) { return m_uiGarageType; }
void setGarageName(std::string& strGarageName) { m_strGarageName = strGarageName; }
std::string& getGarageName(void) { return m_strGarageName; }
private:
// GTA SA only
bxcf::Vec3f m_vecPosition;
bxcf::Vec2f m_vecLine;
bxcf::Vec3f m_vecCubePosition;
uint32 m_uiGarageFlags;
uint32 m_uiGarageType;
std::string m_strGarageName;
}; | [
"mexuk@hotmail.co.uk"
] | mexuk@hotmail.co.uk |
bddce215e84d33221de71476138cfb30dc70bede | dd80a584130ef1a0333429ba76c1cee0eb40df73 | /external/chromium/chrome/browser/ui/views/frame/browser_non_client_frame_view_factory_win.cc | 5eaf7fd3df874d7a3a29a8cf65bd1ce315b5e7f7 | [
"BSD-3-Clause",
"MIT"
] | permissive | karunmatharu/Android-4.4-Pay-by-Data | 466f4e169ede13c5835424c78e8c30ce58f885c1 | fcb778e92d4aad525ef7a995660580f948d40bc9 | refs/heads/master | 2021-03-24T13:33:01.721868 | 2017-02-18T17:48:49 | 2017-02-18T17:48:49 | 81,847,777 | 0 | 2 | MIT | 2020-03-09T00:02:12 | 2017-02-13T16:47:00 | null | UTF-8 | C++ | false | false | 765 | cc | // Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ui/views/frame/browser_non_client_frame_view.h"
#include "chrome/browser/ui/views/frame/app_panel_browser_frame_view.h"
#include "chrome/browser/ui/views/frame/browser_view.h"
#include "chrome/browser/ui/views/frame/opaque_browser_frame_view.h"
namespace browser {
BrowserNonClientFrameView* CreateBrowserNonClientFrameView(
BrowserFrame* frame, BrowserView* browser_view) {
if (browser_view->IsBrowserTypePanel())
return new AppPanelBrowserFrameView(frame, browser_view);
else
return new OpaqueBrowserFrameView(frame, browser_view);
}
} // browser
| [
"karun.matharu@gmail.com"
] | karun.matharu@gmail.com |
9fe3fba0c5d86be91be47d6baeb97098efdc323b | 5bcb9c443543a046b0fb79f8ab02d21752f25b0f | /server/characters/SkeletonLord.cpp | 7539fb1101e00e67df352e06b8fa4a1f551f15cb | [] | no_license | jordansavant/roguezombie | 69739a2cd6f86345ba808adc2b9287b3b9e37e3d | 01cf466eeab7dbf108886eb11f8063c82932a0d7 | refs/heads/master | 2020-04-18T19:35:56.803764 | 2019-01-27T14:08:47 | 2019-01-27T14:08:47 | 167,715,791 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 624 | cpp | #include "SkeletonLord.hpp"
#include "../Level.hpp"
#include "../GameplayServer.hpp"
#include "../items/Item.hpp"
SkeletonLord::SkeletonLord()
: Character()
{
consumptionHeal = 0; // if eaten I will not heal
}
void SkeletonLord::load(Level* _level, unsigned int _id, float _x, float _y)
{
Character::load(_level, _id, Character::Type::SkeletonLord, _x, _y, _level->tileWidth, _level->tileHeight);
schema.maxHealth = 30;
schema.health = 30;
schema.speed = 3;
Item* weapon = Item::create(Item::Wand, level->server->getNextItemId());
equip(Character::EquipmentSlot::WeaponPrimary, weapon);
} | [
"md5madman@gmail.com"
] | md5madman@gmail.com |
972b2cd202c82df8262dac3b624c19ad1d6f731c | 5aaa3824fe15e80c7ee5a5150a7a14d15d8d3089 | /engine/include/GUI/Widget.h | 3313133d881f4bb2983d814bcb6320f217c0cfaa | [
"MIT"
] | permissive | Vbif/geometric-diversity | a7314d5eb2c4182925e8cb901ba054a6d39e1933 | 6e9d5a923db68acb14a0a603bd2859f4772db201 | refs/heads/master | 2021-09-04T02:15:33.285195 | 2018-01-14T13:56:50 | 2018-01-14T13:56:50 | 115,753,012 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,909 | h | #ifndef __WIDGET_H__
#define __WIDGET_H__
#pragma once
#include "Core/MessageManager.h"
#include "Render/Texture.h"
#include "RefCounter.h"
#include <boost/intrusive_ptr.hpp>
class Layer;
namespace GUI {
class Widget;
typedef boost::intrusive_ptr<Widget> WidgetPtr;
/// Предок всех классов графического интерфейса
class Widget : public RefCounter
{
public:
typedef std::vector<GUI::WidgetPtr> WidgetContainer;
typedef std::vector<GUI::WidgetPtr>::iterator WidgetIterator;
Widget(const std::string& name);
Widget(const std::string& name, rapidxml::xml_node<>* xmlElement);
void InitWithXml(rapidxml::xml_node<>* xmlElement);
bool isMouseOver() const;
void setInputMask(Render::Texture* inputMask);
int getWidth() const { return width; }
int getHeight() const { return height; }
void setClientRect(const IRect& rect);
const IRect& getClientRect() const { return clientRect; }
void setPosition(const IPoint& position);
const IPoint& getPosition() const { return position; }
IPoint getParentPosition() const;
const IPoint& getInitPosition() const { return initPosition; }
void setInitPosition(const IPoint& pos) { initPosition = pos; }
void SetCenterPosition(const IPoint& pos);
IPoint GetCenterPosition() const;
void ResetInitPosition();
void ResetPosition();
void setActiveWidget();
Widget* getActiveWidget() const;
void setColor(const Color& color);
Color getColor() const;
void AddChild(Widget* child);
WidgetContainer& getChildren();
Widget* getChild(const std::string &name);
// recursive search
Widget* FindChild(const std::string &name);
void setParent(Widget* parent);
Widget* getParent() const;
void setStatic(bool bStatic);
bool isStatic() const;
void setVisible(bool bVis);
bool isVisible() const;
const std::string& getName() const { return name; }
const std::string& getLayerName() const { return layerName; }
void setLayerName(const std::string& name) { layerName = name; }
void DragWidget(const IPoint& mouse_pos);
virtual bool HitTest(const IPoint& point);
virtual bool MouseDown(const IPoint& mouse_pos);
virtual void MouseUp(const IPoint& mouse_pos);
virtual void MouseMove(const IPoint& mouse_pos);
virtual void MouseWheel(int delta);
virtual void MouseCancel();
virtual bool PinchBegan(float scale, const IPoint &position);
virtual void PinchChanged(float scale, const IPoint &position);
virtual void PinchEnded();
virtual void KeyPressed(int keyCode);
virtual void KeyReleased(int keyCode);
virtual void CharPressed(int unicodeChar);
virtual void KeyFocusCancel();
virtual void Draw();
virtual void Update(float dt);
virtual void Reset();
virtual void AcceptMessage(const Message& message);
virtual Message QueryState(const Message& message) const;
virtual bool InternalMouseDown(const IPoint& mouse_pos);
virtual void InternalMouseUp(const IPoint& mouse_pos);
virtual void InternalMouseMove(const IPoint& mouse_pos);
virtual void InternalMouseWheel(int delta);
virtual bool InternalPinchBegan(float scale, const IPoint &position);
virtual void InternalPinchChanged(float scale, const IPoint &position);
virtual void InternalPinchEnded();
virtual void InternalDraw();
virtual void InternalUpdate(float dt);
protected:
std::string name;
std::string layerName;
Widget* _parent;
WidgetContainer _children;
bool _isFreeze;
bool _isStatic;
bool _isVisible;
bool _isMouseCheck;
bool _isMouseClick;
bool _isMouseOver;
IPoint _mouse_down;
IPoint _click_pos;
Color _color;
Render::Texture* _inputMask;
int _clientOffset;
IPoint initPosition;
IPoint position;
int width;
int height;
IRect clientRect;
private:
Widget(const Widget&);
Widget& operator=(const Widget&);
};
} // namespace GUI
#endif // __WIDGET_H__
| [
"gmvbif@mail.ru"
] | gmvbif@mail.ru |
ad597dbe8006a5be6a5c9a2bcacb071d716643fb | d08eaa20f397418d5ea31d896476f4c508ff0db8 | /Project9/Project9/Source.cpp | 4b251e25b798c19d1e26a7bdf227e03953a4ced2 | [] | no_license | TaniaAAAAAAA/Home-task | 9355f247b441ec356aaa0feb63431296166d1c21 | e6cdcbd466e5e24854bee25bb6dda001d646f8b9 | refs/heads/master | 2022-02-23T23:22:02.240128 | 2019-08-19T19:34:50 | 2019-08-19T19:34:50 | 192,885,275 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 5,358 | cpp | #include <iostream>
using namespace std;
int main()
// ЗАВДАННЯ 1
{
/* float temperatura=0;
int day=0,suma_day=1;
for (day = 1; day <= 7; day++) //створюю цикл за допомогою змінної day
{
cout << "Enter temperatura za " << day<<" day : "; // записую в цикл виміри температури за кожен день
cin >> temperatura;
if (temperatura > 10) // якщо температура > 10 заходим в цикл
{
cout << "===============================================" << endl;
cout << "Temperatura > za 10 bula y " << day << endl; //виводжу номер дня коли темпеатура була > за 10
cout << "Suma day = " <<suma_day++<< endl; // сумую дні, температура яких була більшою за 10
cout << "===============================================" << endl;
}
}*/
// Завдання 2
int suma = 0, suma2 = 0, max;
char text[10]; // Створюю масив символів
cout << "Enter symbols : \n";
for (int i = 1; i <= 10; i++) // Створюю цикл за допомогою якого буде записуватись масив символів
{
cin >> text[i];
if (text[i] == '.') // Якщо буде введено символ '.' , то введення даних буде припинено
{
break;
}
}
for (int i = 1; i <= 10; i++) // Для зручнішого інтерфейсу створюю новий цикл для роботи
{
if (text[i] == 'a') // Якщо елемент масиву має значення 'a' , то їх кількість сумується
{
suma++;
}
if (text[i] == 'o') //Якщо елемент масиву має значення 'o' , то їх кількість сумується
{
suma2++;
}
}
cout << "Suma 'a' = " << suma << endl;
cout << "Suma 'o' = " << suma2 << endl;
max = suma2; // Нехай максимальне значення = сумі символів 'o'
if (suma > max) // Якщо сума символів 'a' більша за максимальне, то вона і є максимальною
{
max = suma;
cout << "Maksumym sumboliv is 'a' = " << suma << endl;
}
else if (suma2 > suma) // Якщо сума символів 'о' більша за суму символів 'a' , то вона і є максимальною
{
max = suma2;
cout << "Maksumym sumboliv is 'o' = " << suma2 << endl;
}
else
{
cout << "Suma 'a' and 'o' is rivni\n";
}
// ЗАВДАННЯ 3
/*
int number = 0, i=1,dob=1;
cout << "Enter number ";
cin >> number; //ввожу число, табличку множення на яке, я хочу вивести на екран
do
{
dob=number*i; // виконує множення
cout << number << " * " << i << " = " << dob << endl; // виводжу на екран табличку
} while (i<10&&i++); // вказую умову за якої цикл має працювати. А саме і (множник на який множу введене з клавіатури число) має бути менший 10 і після кожного проходження циклу має збільшуватись на один.
*/
// ЗАВДАННЯ 4
/*
const int parol = 123;
int parol_ved, i,number, suma,n;
char text[20];
cout << "Enter your parol : ";
cin >> parol_ved;
if (parol_ved == parol)
{
cout << "Popovnit rahynok-1\nDzvonit-2\nVidpravlatu SMS-3\nZablokyvatu-4\n";
cout << "Enter nomer dii aky bajaete vukonatu : ";
cin>> i;
if (i == 1)
{
cout << "Enter nomer telephony akui want popovnutu : ";
cin >> number;
cout << "Enter sumy popovnena : ";
cin >> suma;
cout << "For prodovjena press 5, for exit any key" << endl;
cin >> n;
if (n == 5)
{
cout << "Vitaemo! Rahynuk popovneno\n";
}
else
{
return 0;
}
}
if (i == 2)
{
cout << "Enter nomer telephony : ";
cin >> number;
cout << "Pres 6 shob dzvonutu, for exit any key \n";
cin >> n;
if (n == 6)
{
cout << "Ide dzvinok\n";
}
else
{
return 0;
}
}
if (i == 3)
{
cout << "Enter nomer otrumyvacha SMS : ";
cin >> number;
cout << "Enter text SMS :\n";
cin >> text;
cout << "For vidpravlenia press 7, for exit any key :";
cin >> n;
if (n == 7)
{
cout << "VIDPRAVLENO!\n";
}
else
{
return 0;
}
}
if (i == 4)
{
return 0;
}
}
else
{
cout << "Nevirnuy parol\nTry again\n";
}
*/
system("pause");
return 0;
} | [
"tsntania@gmail.com"
] | tsntania@gmail.com |
5b893ca8d81fad2833e2c020adaeebb9754da34a | fcf8d2e2ba8237efb5e89aba9fb668faeeb6f07a | /code/utilities/digitalMarker/digitalMarker.ino | acee4283c40e6f181636b755cb0abbf5eaabca32 | [] | no_license | jvschw/asf | 3c15d622c4544ecdf5c2a9acd24831d303a7b92d | 40ee8895b61bba66ea6db0313d375813c7e19521 | refs/heads/master | 2021-01-18T23:49:20.443184 | 2019-03-28T08:12:18 | 2019-03-28T08:12:18 | 54,467,713 | 8 | 3 | null | 2016-03-24T21:55:42 | 2016-03-22T10:52:50 | AGS Script | UTF-8 | C++ | false | false | 1,342 | ino |
//DIGITAL MARKER
//THIS SKETCH RECEIVES A BYTE AND GENERATES an 8-BIT DIGITAL OUTPUT
//PURPOSE: PUTTING MARKERS INTO AN EEG, MEG, OR FNIRS STREAM
//jens.schwarzbach@unitn.it 20130501
char triggerVal;
char valD;
char valB;
void setup() {
//INITIALIZE DIGITAL OUTPUT PORTS
DDRD = DDRD | B11111100; // this is safer as it sets pins 2 to 7 as outputs
// without changing the value of pins 0 & 1, which are RX & TX
DDRB = DDRD | B00000011; //
Serial.begin(9600);
}
void loop()
{
if(Serial.available()){
triggerVal = Serial.read();
Serial.println(triggerVal);
//WE WANT TO USE 8 DIGITAL OUTPUTS,
//HOWEVER WE DO NOT WANT TO USE DOUT0 and DOUT1 BECAUSE WE NEED THEM FOR SERIAL COMMUNICATION
//SOLUTION WE WILL USE THE LOWER TWO BITS OF PORTB (DOUT9, DOUT8)
// AND THE UPPER 6 BITS (DOUT7, DOUT6, DOUT5, DOUT4, DOUT3, DOUT2) OF PORT D
valD = triggerVal << 2;
valB = triggerVal >> 6;
//WE FIRST WRITE TO PORT D (DOUT7, DOUT6, DOUT5, DOUT4, DOUT3, DOUT2)
//THEN WE WRITE TO PORT B (DOUT9, DOUT8))
//THIS MEANS THAT OUR TRIGGERS ARE SLIGHTLY OUT OF SYNCH BUT I HOPE THIS IS NEGLIGIBLE
PORTD = valD;
PORTB = valB;
//WAIT A BIT BEFORE RESETTING THHE DIGITAL OUTPUT
delayMicroseconds(10000); //1000 gives a 1ms impulse
PORTD = 0;
PORTB = 0;
}
}
| [
"jens.schwarzbach@unitn.it"
] | jens.schwarzbach@unitn.it |
4068bdf8b5e2572dba3c08d9503a46d86ea43935 | 1626d7ad5ae0d30452db70c53d9ed0c4415a75d2 | /trunk/src/DataManager/BaseDataType/Component/Component.cpp | e287399a71382f3dd73105654af9adae1c35328e | [] | no_license | yuanzibu/hello-world | e413b74717baa4b5ed437062d475aabc9687ee82 | f6848d656d9ddfbda793d924883a3def9849fed7 | refs/heads/master | 2020-01-23T22:00:19.750136 | 2018-06-25T11:04:10 | 2018-06-25T11:04:10 | 74,722,844 | 1 | 2 | null | null | null | null | GB18030 | C++ | false | false | 12,948 | cpp | /*--------------------------------------------------------------------------------------------------------------------*/
// Component.cpp -- 小板类实现文件
//
// 作者: yuanzb
// 时间: 2016.11.9
// 备注:
//
/*--------------------------------------------------------------------------------------------------------------------*/
#include "stdafx.h"
#include "Component.h"
#include "../CommonData/CommonData.h"
#include <algorithm>
using namespace std;
enum
{
Length_First,
Width_First,
Area_First,
Special_1
};
#define Component_Sort_Priority Length_First
Component::Component(void)
{
m_CpnID = 0;
m_NumberInPanel = 0;
m_BarCode = "";
m_strCabinetName = "";
m_strComponentName = "";
m_Material = "";
m_Texture = TextureType_NO_TEXTURE;
m_Thickness = 0;
m_RealLength = 0;
m_RealWidth = 0;
m_x = 0;
m_y = 0;
m_fXLabelCenter = 0;
m_fYLabelCenter = 0;
m_type = NodeType_Remainder;
//m_bRotated = false;
m_nRotatedAngle = 0;
m_nOtherShapeID = 0;
m_nKnifeDownPos = 0;
// m_fDist2PanelCenter = 0;
// m_fCenterX = 0;
// m_fCenterY = 0;
}
Component::~Component(void)
{
}
// 拷贝节点
Node* Component::CopyNode(void)
{
Component* pCpn = new Component;
// Node信息
pCpn->m_type = this->m_type; // 0:余料(子节点) 1:要开的小板(子节点) 2:组合板(父节点)
// Component信息
pCpn->m_CpnID = this->m_CpnID ; // 板件ID 唯一标识, 为了解决小板切多次问题
pCpn->m_NumberInPanel = this->m_NumberInPanel ; // 板内序号 第几块排的小板
pCpn->m_BarCode = this->m_BarCode ; // 条码
pCpn->m_strCabinetName = this->m_strCabinetName ; // 柜体名称
pCpn->m_strComponentName = this->m_strComponentName ; // 板件名称
pCpn->m_Material = this->m_Material ; // 材料
pCpn->m_Texture = this->m_Texture ; // 纹理 0:无纹理 1:横纹 2:竖纹
pCpn->m_Thickness = this->m_Thickness ; // 厚度
pCpn->m_RealLength = this->m_RealLength ; // 真实长
pCpn->m_RealWidth = this->m_RealWidth ; // 真实宽
pCpn->m_x = this->m_x ; // x坐标 相对大板的原点,直角坐标系,第一象限,左下角为原点
pCpn->m_y = this->m_y ; // y坐标 相对大板的原点,直角坐标系,第一象限,左下角为原点
pCpn->m_fXLabelCenter = this->m_fXLabelCenter; // 标签中点x坐标 相对大板的原点,直角坐标系,第一象限,左下角为原点
pCpn->m_fYLabelCenter = this->m_fYLabelCenter; // 标签中点y坐标 相对大板的原点,直角坐标系,第一象限,左下角为原点
pCpn->m_nRotatedAngle = this->m_nRotatedAngle ; // 旋转角度
pCpn->m_nOtherShapeID = this->m_nOtherShapeID ; // 异形ID
pCpn->m_vOutlinePoint = this->m_vOutlinePoint ; // 轮廓点信息
pCpn->m_nKnifeDownPos = this->m_nKnifeDownPos ; // 下刀点
pCpn->m_vUpperFaceHole = this->m_vUpperFaceHole ; // 上表面孔
pCpn->m_vUpperFaceSlot = this->m_vUpperFaceSlot ; // 上表面槽
pCpn->m_vDownerFaceHole = this->m_vDownerFaceHole ; // 下表面孔
pCpn->m_vDownerFaceSlot = this->m_vDownerFaceSlot ; // 下表面槽
pCpn->m_strOrderID = this->m_strOrderID ; // 订单号
pCpn->m_strCabinetID = this->m_strCabinetID ; // 柜号
//pCpn->m_afBanding[4] = this->m_afBanding[4] ; // 封边
memcpy(pCpn->m_afBanding, this->m_afBanding, sizeof(this->m_afBanding));
pCpn->m_bSlotFlipped = this->m_bSlotFlipped ; // 槽翻转
pCpn->m_bVHoleFlipped = this->m_bVHoleFlipped ; // 孔翻转
pCpn->m_strCustomerInfo = this->m_strCustomerInfo ; // 客户信息
pCpn->m_strJoinedStore = this->m_strJoinedStore ; // 加盟店
pCpn->m_strSlottingFlag = this->m_strSlottingFlag ; // 拉槽标识
pCpn->m_strReminder = this->m_strReminder ; // 助记号
pCpn->m_strDrilling = this->m_strDrilling ; // 钻孔
pCpn->m_strOrderType = this->m_strOrderType ; // 订单类型
pCpn->m_strReverseSideBarcode = this->m_strReverseSideBarcode ; // 反面条码
pCpn->m_fProductLength = this->m_fProductLength ; // 成品长度
pCpn->m_fProductWidth = this->m_fProductWidth ; // 成品宽度
pCpn->m_fProductThickness = this->m_fProductThickness ; // 成品厚度
pCpn->m_strCustomerAddress = this->m_strCustomerAddress ; // 客户地址
pCpn->m_strHoleSlotFlag = this->m_strHoleSlotFlag ; // 钻槽标识
return pCpn;
}
// 能否包含节点
bool Component::Containable(Component* pCpn)
{
float cur_len = m_RealLength;
float cur_width = m_RealWidth;
if (pCpn != NULL)
{
if (cur_len >= pCpn->m_RealLength && cur_width >= pCpn->m_RealWidth)
{
return true;
}
}
return false;
}
// 获取所有的余料
void Component::GetAllRemainder(vector<Component*>& list)
{
vector<Node*> tmp_list;
GetAllLeafNodes(tmp_list, NodeType_Remainder);
int nCount = tmp_list.size();
for(int i = 0; i < nCount; i++)
{
Node* pNode = tmp_list.at(i);
Component* pCpn = dynamic_cast<Component*>(pNode);
list.push_back(pCpn);
}
}
// 获取所有面积大于area的余料
void Component::GetAllRemainder(vector<Component*>& list, float area)
{
vector<Node*> tmp_list;
GetAllLeafNodes(tmp_list, NodeType_Remainder);
int nCount = tmp_list.size();
for(int i = 0; i < nCount; i++)
{
Node* pNode = tmp_list.at(i);
Component* pCpn = dynamic_cast<Component*>(pNode);
float cur_area = pCpn->m_RealLength*pCpn->m_RealWidth;
if (cur_area > area)
{
list.push_back(pCpn);
}
}
}
// 获取所有需要的小板
void Component::GetAllNeededComponent(vector<Component*>& list)
{
vector<Node*> tmp_list;
GetAllLeafNodes(tmp_list, NodeType_NeededComponent);
int nCount = tmp_list.size();
for(int i = 0; i < nCount; i++)
{
Node* pNode = tmp_list.at(i);
Component* pCpn = dynamic_cast<Component*>(pNode);
list.push_back(pCpn);
}
}
// 面积从大到小排序
bool Component::ComponentCompareAreaLess(const Component* pfirst, const Component* psecond)
{
Component* p1 = const_cast<Component*>(pfirst);
Component* p2 = const_cast<Component*>(psecond);
return p1->IsAreaLargeThan(*p2);
}
// 获取最大的余料
Component* Component::GetLargestRemainder(void)
{
vector<Component*> list;
GetAllRemainder(list);
if (list.size() == 0)
return NULL;
// 从大到小排序
sort(list.begin(), list.end(), ComponentCompareAreaLess);
return list.front();
}
// 获取最大的小板
Component* Component::GetLargestNeedComponent(void)
{
vector<Component*> list;
GetAllNeededComponent(list);
if (list.size() == 0)
return NULL;
// 从大到小排序
sort(list.begin(), list.end(), ComponentCompareAreaLess);
return list.front();
}
// 长度优先 面积次之
bool Component::operator> (const Component& dst_cpn) const
{
#if (Component_Sort_Priority == Length_First)
if (this->m_RealLength > dst_cpn.m_RealLength) // 长度优先
{
return true;
}
else if (this->m_RealLength == dst_cpn.m_RealLength) // 面积次之
{
float src_area = this->m_RealLength * this->m_RealWidth;
float dst_area = dst_cpn.m_RealLength * dst_cpn.m_RealWidth;
if (src_area > dst_area)
{
return true;
}
}
#elif (Component_Sort_Priority == Width_First)
if (this->m_RealWidth > dst_cpn.m_RealWidth) // 长度优先
{
return true;
}
else if (this->m_RealWidth == dst_cpn.m_RealWidth) // 面积次之
{
float src_area = this->m_RealLength * this->m_RealWidth;
float dst_area = dst_cpn.m_RealLength * dst_cpn.m_RealWidth;
if (src_area > dst_area)
{
return true;
}
}
#elif (Component_Sort_Priority == Area_First)
float src_area = this->m_RealLength * this->m_RealWidth;
float dst_area = dst_cpn.m_RealLength * dst_cpn.m_RealWidth;
if (src_area > dst_area)
{
return true;
}
else if (src_area == dst_area) // 面积次之
{
if (this->m_RealWidth > dst_cpn.m_RealWidth) // 长度优先
{
return true;
}
}
#elif (Component_Sort_Priority == Special_1)
float src_area = this->m_RealLength * this->m_RealWidth + 2 * (this->m_RealLength + this->m_RealWidth);
float dst_area = dst_cpn.m_RealLength * dst_cpn.m_RealWidth + 2 * (dst_cpn.m_RealLength + dst_cpn.m_RealWidth);
if (src_area > dst_area)
{
return true;
}
#endif
return false;
}
// <操作符重载
bool Component::operator< (const Component& dst_cpn) const
{
if (this->m_RealLength < dst_cpn.m_RealLength) // 长度优先
{
return true;
}
else if (this->m_RealLength == dst_cpn.m_RealLength) // 面积次之
{
float src_area = this->m_RealLength * this->m_RealWidth;
float dst_area = dst_cpn.m_RealLength * dst_cpn.m_RealWidth;
if (src_area < dst_area)
{
return true;
}
}
return false;
}
bool Component::operator== (const Component& dst_cpn) const // ==操作符重载
{
if (this->m_RealLength == dst_cpn.m_RealLength && this->m_RealWidth == dst_cpn.m_RealWidth) // 长度优先
{
return true;
}
return false;
}
bool Component::IsAreaLargeThan(const Component& dst_cpn) const
{
float src_area = this->m_RealLength * this->m_RealWidth;
float dst_area = dst_cpn.m_RealLength * dst_cpn.m_RealWidth;
if (src_area > dst_area)
{
return true;
}
return false;
}
// 旋转小板
void Component::ClockwiseRotate90(void)
{
float org_len = m_RealLength;
float org_width = m_RealWidth;
m_RealLength = org_width;
m_RealWidth = org_len ;
//m_bRotated = !m_bRotated;
m_nRotatedAngle -= 90; //顺时针为负
m_nRotatedAngle = m_nRotatedAngle % 360;
}
// 逆时针旋转90度
void Component::CouterClockwiseRotate90(void)
{
if(IsRotatable() == true)
{
float org_len = m_RealLength;
float org_width = m_RealWidth;
m_RealLength = org_width;
m_RealWidth = org_len ;
//m_bRotated = !m_bRotated;
m_nRotatedAngle += 90; //逆时针为正
m_nRotatedAngle = m_nRotatedAngle % 360;
}
}
// 能否旋转
bool Component::IsRotatable(void)
{
if(m_Texture == TextureType_NO_TEXTURE)
return true;
else
return false;
}
// 是否合法
bool Component::IsLegal(void)
{
if (m_RealLength > 0 && m_RealWidth > 0)
{
return true;
}
return false;
}
// 获取板件面积
float Component::GetArea(void)
{
float area = m_RealLength * m_RealWidth;
if (area > 0)
return area;
else
return 0;
}
// 获取板件面积包含锯缝
float Component::GetAreaContainKerf(void)
{
CSingleon* pSingleton = CSingleon::GetSingleton();
float half_kerf = pSingleton->m_BaseInfo.m_SawKerfWidth/2;
float area = (m_RealLength+half_kerf) * (m_RealWidth+half_kerf);
if (area > 0)
return area;
else
return 0;
}
/*---------------------------------------*/
// 函数说明:
// 计算矩形轮廓点
//
//
// 参数:
//
//
//
//
// 返回值:
//
//
/*---------------------------------------*/
void Component::CalRectOutlinePoint(void)
{
m_vOutlinePoint.clear();
PointInfo p1;
p1.x = 0;
p1.y = m_RealWidth;
p1.r = 0;
p1.sign = 0;
p1.dir = 0;;
p1.cut = 0;;
p1.side = 0;;
p1.type = 0;;
p1.group = 1;
PointInfo p2;
p2.x = 0;
p2.y = 0;
p2.r = 0;
p2.sign = 0;
p2.dir = 0;;
p2.cut = 0;;
p2.side = 0;;
p2.type = 0;;
p2.group = 0;
PointInfo p3;
p3.x = m_RealLength;
p3.y = 0;
p3.r = 0;
p3.sign = 0;
p3.dir = 0;;
p3.cut = 0;;
p3.side = 0;;
p3.type = 0;;
p3.group = 0;
PointInfo p4;
p4.x = m_RealLength;
p4.y = m_RealWidth;
p4.r = 0;
p4.sign = 0;
p4.dir = 0;;
p4.cut = 0;;
p4.side = 0;;
p4.type = 0;;
p4.group = 0;
PointInfo p5;
p5.x = 0;
p5.y = m_RealWidth;
p5.r = 0;
p5.sign = 0;
p5.dir = 0;;
p5.cut = 0;;
p5.side = 0;;
p5.type = 0;;
p5.group = 2;
m_vOutlinePoint.push_back(p1);
m_vOutlinePoint.push_back(p2);
m_vOutlinePoint.push_back(p3);
m_vOutlinePoint.push_back(p4);
m_vOutlinePoint.push_back(p5);
}
/*---------------------------------------*/
// 函数说明:
// 是否有孔
//
//
// 参数:
//
//
//
//
// 返回值:
//
//
/*---------------------------------------*/
bool Component::HaveDownerFaceHole(void)
{
if (m_vDownerFaceHole.size() > 0)
return true;
return false;
}
/*---------------------------------------*/
// 函数说明:
// 是否有槽
//
//
// 参数:
//
//
//
//
// 返回值:
//
//
/*---------------------------------------*/
bool Component::HaveDownerFaceSlot(void)
{
if (m_vDownerFaceSlot.size() > 0)
return true;
return false;
}
/*---------------------------------------*/
// 函数说明:
// 是否有反面信息
//
//
// 参数:
//
//
//
//
// 返回值:
//
//
/*---------------------------------------*/
bool Component::HaveDownerFaceInfo(void)
{
if (m_vDownerFaceHole.size() > 0 || m_vDownerFaceSlot.size() > 0)
return true;
return false;
} | [
"459044859@qq.com"
] | 459044859@qq.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.