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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
64b27f780de40c608ed6edd74b9761c8447a9e56 | 2c0b0b2136505dfea2b016157d1aba8cb750c05b | /src/textures/checkerboard.h | 974ccae58a3ec7cfc5ecd815ebf96b5029e7dd3f | [
"BSD-2-Clause",
"BSD-3-Clause"
] | permissive | koiava/pbrt-v3 | 5fc91d283fa9fa588791e591cdaaa832e68bcdc1 | 3b1bfb670464e763be0a23d1c1490a1071a1bb22 | refs/heads/master | 2021-01-15T14:03:03.186539 | 2016-04-26T15:04:18 | 2016-04-26T15:04:18 | 57,282,240 | 2 | 0 | null | 2016-04-28T07:58:35 | 2016-04-28T07:58:35 | null | UTF-8 | C++ | false | false | 5,550 | h |
/*
pbrt source code is Copyright(c) 1998-2015
Matt Pharr, Greg Humphreys, and Wenzel Jakob.
This file is part of pbrt.
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.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#if defined(_MSC_VER)
#define NOMINMAX
#pragma once
#endif
#ifndef PBRT_TEXTURES_CHECKERBOARD_H
#define PBRT_TEXTURES_CHECKERBOARD_H
#include "stdafx.h"
// textures/checkerboard.h*
#include "pbrt.h"
#include "texture.h"
#include "paramset.h"
// AAMethod Declaration
enum class AAMethod { None, ClosedForm };
// CheckerboardTexture Declarations
template <typename T>
class Checkerboard2DTexture : public Texture<T> {
public:
// Checkerboard2DTexture Public Methods
Checkerboard2DTexture(std::unique_ptr<TextureMapping2D> mapping,
const std::shared_ptr<Texture<T>> &tex1,
const std::shared_ptr<Texture<T>> &tex2,
AAMethod aaMethod)
: mapping(std::move(mapping)),
tex1(tex1),
tex2(tex2),
aaMethod(aaMethod) {}
T Evaluate(const SurfaceInteraction &si) const {
Vector2f dstdx, dstdy;
Point2f st = mapping->Map(si, &dstdx, &dstdy);
if (aaMethod == AAMethod::None) {
// Point sample _Checkerboard2DTexture_
if (((int)std::floor(st[0]) + (int)std::floor(st[1])) % 2 == 0)
return tex1->Evaluate(si);
return tex2->Evaluate(si);
} else {
// Compute closed-form box-filtered _Checkerboard2DTexture_ value
// Evaluate single check if filter is entirely inside one of them
Float ds = std::max(std::abs(dstdx[0]), std::abs(dstdy[0]));
Float dt = std::max(std::abs(dstdx[1]), std::abs(dstdy[1]));
Float s0 = st[0] - ds, s1 = st[0] + ds;
Float t0 = st[1] - dt, t1 = st[1] + dt;
if (std::floor(s0) == std::floor(s1) &&
std::floor(t0) == std::floor(t1)) {
// Point sample _Checkerboard2DTexture_
if (((int)std::floor(st[0]) + (int)std::floor(st[1])) % 2 == 0)
return tex1->Evaluate(si);
return tex2->Evaluate(si);
}
// Apply box filter to checkerboard region
auto bumpInt = [](Float x) {
return (int)std::floor(x / 2) +
2 * std::max(x / 2 - (int)std::floor(x / 2) - (Float)0.5,
(Float)0);
};
Float sint = (bumpInt(s1) - bumpInt(s0)) / (2 * ds);
Float tint = (bumpInt(t1) - bumpInt(t0)) / (2 * dt);
Float area2 = sint + tint - 2 * sint * tint;
if (ds > 1 || dt > 1) area2 = .5f;
return (1 - area2) * tex1->Evaluate(si) +
area2 * tex2->Evaluate(si);
}
}
private:
// Checkerboard2DTexture Private Data
std::unique_ptr<TextureMapping2D> mapping;
const std::shared_ptr<Texture<T>> tex1, tex2;
const AAMethod aaMethod;
};
template <typename T>
class Checkerboard3DTexture : public Texture<T> {
public:
// Checkerboard3DTexture Public Methods
Checkerboard3DTexture(std::unique_ptr<TextureMapping3D> mapping,
const std::shared_ptr<Texture<T>> &tex1,
const std::shared_ptr<Texture<T>> &tex2)
: mapping(std::move(mapping)), tex1(tex1), tex2(tex2) {}
T Evaluate(const SurfaceInteraction &si) const {
Vector3f dpdx, dpdy;
Point3f p = mapping->Map(si, &dpdx, &dpdy);
if (((int)std::floor(p.x) + (int)std::floor(p.y) +
(int)std::floor(p.z)) %
2 ==
0)
return tex1->Evaluate(si);
else
return tex2->Evaluate(si);
}
private:
// Checkerboard3DTexture Private Data
std::unique_ptr<TextureMapping3D> mapping;
std::shared_ptr<Texture<T>> tex1, tex2;
};
Texture<Float> *CreateCheckerboardFloatTexture(const Transform &tex2world,
const TextureParams &tp);
Texture<Spectrum> *CreateCheckerboardSpectrumTexture(const Transform &tex2world,
const TextureParams &tp);
#endif // PBRT_TEXTURES_CHECKERBOARD_H
| [
"matt@pharr.org"
] | matt@pharr.org |
25e617ffddac79fc3fdb7dd3c69541105119fd49 | 44bca330427da4c910394c7dd2a1ee5119ef6b2c | /ShuCodeDir/Shu1983.cpp | c39d35f6e9cf0f097e833fe787a9f471a42d7a14 | [] | no_license | Yisaer/ACM_ICPC | ccd525a16b0b4dc5d83c17c80919e14975dbdf85 | 7f9b02fca13cfed4bffd914ba7e46ea92adc90ce | refs/heads/master | 2021-01-13T12:00:45.734513 | 2017-01-03T03:48:20 | 2017-01-03T03:48:20 | 77,881,273 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 712 | cpp | // main.cpp
// A
//
// Created by 高松 on 16/1/4.
// Copyright © 2016年 yisa. All rights reserved.
//
#include <iostream>
using namespace std;
#include <queue>
#include <stack>
#include <cstring>
#include <cstdio>
#include <algorithm>
#include <cmath>
#include <vector>
#define PB(X) push_back(X)
#define PII pair<int,int>
#define MP make_pair
#define X first
#define Y second
#define MEM(a,val) memset(a,val,sizeof(a));
#define ll long long
int const Maxn = 65;
ll dp [Maxn];
int main (){
for(int i=1;i<=60;i++){
dp[i]=2*(pow(2,(i-1))+pow((-1),(i-2)));
}
int n;
dp[1]=3;
while(cin>>n)
cout<<dp[n]<<endl;
}
| [
"2695690803@qq.com"
] | 2695690803@qq.com |
e5a0d964be4ad5c4161fdcc29518f90a010a7b49 | 3ff1fe3888e34cd3576d91319bf0f08ca955940f | /ess/src/v20201111/model/FormField.cpp | 2cde990ff2c5e688a72723472c3071d1b81646fb | [
"Apache-2.0"
] | permissive | TencentCloud/tencentcloud-sdk-cpp | 9f5df8220eaaf72f7eaee07b2ede94f89313651f | 42a76b812b81d1b52ec6a217fafc8faa135e06ca | refs/heads/master | 2023-08-30T03:22:45.269556 | 2023-08-30T00:45:39 | 2023-08-30T00:45:39 | 188,991,963 | 55 | 37 | Apache-2.0 | 2023-08-17T03:13:20 | 2019-05-28T08:56:08 | C++ | UTF-8 | C++ | false | false | 4,254 | cpp | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <tencentcloud/ess/v20201111/model/FormField.h>
using TencentCloud::CoreInternalOutcome;
using namespace TencentCloud::Ess::V20201111::Model;
using namespace std;
FormField::FormField() :
m_componentValueHasBeenSet(false),
m_componentIdHasBeenSet(false),
m_componentNameHasBeenSet(false)
{
}
CoreInternalOutcome FormField::Deserialize(const rapidjson::Value &value)
{
string requestId = "";
if (value.HasMember("ComponentValue") && !value["ComponentValue"].IsNull())
{
if (!value["ComponentValue"].IsString())
{
return CoreInternalOutcome(Core::Error("response `FormField.ComponentValue` IsString=false incorrectly").SetRequestId(requestId));
}
m_componentValue = string(value["ComponentValue"].GetString());
m_componentValueHasBeenSet = true;
}
if (value.HasMember("ComponentId") && !value["ComponentId"].IsNull())
{
if (!value["ComponentId"].IsString())
{
return CoreInternalOutcome(Core::Error("response `FormField.ComponentId` IsString=false incorrectly").SetRequestId(requestId));
}
m_componentId = string(value["ComponentId"].GetString());
m_componentIdHasBeenSet = true;
}
if (value.HasMember("ComponentName") && !value["ComponentName"].IsNull())
{
if (!value["ComponentName"].IsString())
{
return CoreInternalOutcome(Core::Error("response `FormField.ComponentName` IsString=false incorrectly").SetRequestId(requestId));
}
m_componentName = string(value["ComponentName"].GetString());
m_componentNameHasBeenSet = true;
}
return CoreInternalOutcome(true);
}
void FormField::ToJsonObject(rapidjson::Value &value, rapidjson::Document::AllocatorType& allocator) const
{
if (m_componentValueHasBeenSet)
{
rapidjson::Value iKey(rapidjson::kStringType);
string key = "ComponentValue";
iKey.SetString(key.c_str(), allocator);
value.AddMember(iKey, rapidjson::Value(m_componentValue.c_str(), allocator).Move(), allocator);
}
if (m_componentIdHasBeenSet)
{
rapidjson::Value iKey(rapidjson::kStringType);
string key = "ComponentId";
iKey.SetString(key.c_str(), allocator);
value.AddMember(iKey, rapidjson::Value(m_componentId.c_str(), allocator).Move(), allocator);
}
if (m_componentNameHasBeenSet)
{
rapidjson::Value iKey(rapidjson::kStringType);
string key = "ComponentName";
iKey.SetString(key.c_str(), allocator);
value.AddMember(iKey, rapidjson::Value(m_componentName.c_str(), allocator).Move(), allocator);
}
}
string FormField::GetComponentValue() const
{
return m_componentValue;
}
void FormField::SetComponentValue(const string& _componentValue)
{
m_componentValue = _componentValue;
m_componentValueHasBeenSet = true;
}
bool FormField::ComponentValueHasBeenSet() const
{
return m_componentValueHasBeenSet;
}
string FormField::GetComponentId() const
{
return m_componentId;
}
void FormField::SetComponentId(const string& _componentId)
{
m_componentId = _componentId;
m_componentIdHasBeenSet = true;
}
bool FormField::ComponentIdHasBeenSet() const
{
return m_componentIdHasBeenSet;
}
string FormField::GetComponentName() const
{
return m_componentName;
}
void FormField::SetComponentName(const string& _componentName)
{
m_componentName = _componentName;
m_componentNameHasBeenSet = true;
}
bool FormField::ComponentNameHasBeenSet() const
{
return m_componentNameHasBeenSet;
}
| [
"tencentcloudapi@tencent.com"
] | tencentcloudapi@tencent.com |
785e413016ec75779f32e9bd85fecfc43a2a29bf | c71e0e67a0fd5750fc76ed1af01ea56c48438f2a | /main.cpp | acdaa721ac246abee92575e31d7bee439f69d4df | [] | no_license | btk15049/atcoder-ahc003 | 11283db05b47f9b5452feb0d75ece3f1f4868b78 | 48c4e263ef49664cc445cde76995a5d75aa1a9dc | refs/heads/main | 2023-05-08T06:06:14.928537 | 2021-05-31T09:09:22 | 2021-05-31T09:09:22 | 369,760,867 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 26,399 | cpp | #ifndef VSCODE
// clang-format off
#pragma GCC optimize("Ofast")
#pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx")
#ifndef FLAME_GRAPH
#pragma GCC optimize("O3")
#pragma GCC optimize("omit-frame-pointer")
#pragma GCC optimize("inline")
#pragma GCC optimize("unroll-loops")
#endif
// clang-format on
#endif
#include <algorithm>
#include <array>
#include <bitset>
#include <cassert>
#include <chrono>
#include <cmath>
#include <cstdint>
#include <ctime>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <map>
#include <numeric>
#include <optional>
#include <queue>
#include <sstream>
#include <string>
#include <sys/types.h>
#include <unistd.h>
#include <vector>
#ifdef TEST
# define DBG(x) \
std::cerr << #x << " = " << (x) << " (L" << __LINE__ << ")" << std::endl
#else
# define DBG(x) ;
#endif
namespace parameter {
#ifdef UCB1_BIAS_PARAM
constexpr double UCB1_BIAS = UCB1_BIAS_PARAM;
#else
constexpr double UCB1_BIAS = 65.7661232858441;
#endif
#ifdef INITIAL_DISTANCE_PARAM
constexpr double INITIAL_DISTANCE = INITIAL_DISTANCE_PARAM;
#else
constexpr double INITIAL_DISTANCE = 2913;
#endif
#ifdef ESTIMATE_COUNT_PARAM
constexpr int ESTIMATE_COUNT = ESTIMATE_COUNT_PARAM;
#else
constexpr int ESTIMATE_COUNT = 39;
#endif
#ifdef POSITION_BIAS_PARAM
constexpr double POSITION_BIAS = POSITION_BIAS_PARAM;
#else
constexpr double POSITION_BIAS = 4.252850928149812;
#endif
} // namespace parameter
namespace xorshift {
constexpr uint64_t next(uint64_t p) {
p = p ^ (p << 13);
p = p ^ (p >> 7);
return p ^ (p << 17);
}
struct Generator {
uint64_t seed;
Generator(uint64_t seed = 939393939393llu) : seed(seed) {}
inline uint64_t gen() {
seed = next(seed);
return seed;
}
} _gen;
inline int64_t getInt(int64_t n) { return _gen.gen() % n; }
} // namespace xorshift
namespace constants {
constexpr int N = 30;
constexpr int R = N;
constexpr int C = N;
constexpr int Q = 1000;
constexpr int EDGE_TOTAL = R * C * 2;
enum direction {
UP = 0,
LEFT = 1,
RIGHT = 2,
DOWN = 3,
DIRECTION_SIZE = 4,
};
constexpr int8_t d[] = {-1, -1, 1, 1};
constexpr int8_t dr[] = {-1, 0, 0, 1};
constexpr int8_t dc[] = {0, -1, 1, 0};
constexpr char ds[] = "ULRD";
inline int opposite(int d) { return 3 - d; }
std::optional<std::array<std::array<int, constants::C>, constants::R>> h =
std::nullopt;
std::optional<std::array<std::array<int, constants::C>, constants::R>> v =
std::nullopt;
inline bool hasAns() { return h.has_value(); }
template <size_t size>
constexpr std::array<double, size> genInv() {
std::array<double, size> ret = {};
for (size_t i = 1; i < size; i++) {
ret[i] = 1.0 / i;
}
return ret;
}
constexpr auto _inv = genInv<3000>();
constexpr const double* inv = _inv.data();
;
namespace ucb1 {
using namespace std;
inline double val(int total, int cur) {
return std::sqrt(2 * std::log(total) / cur);
}
// expected[total][current]
double expected[Q][Q];
struct cww {
cww() {
for (int i = 1; i < Q; i++) {
for (int j = 1; j <= i; j++) {
expected[i][j] = val(i, j);
}
}
}
} star;
} // namespace ucb1
}; // namespace constants
namespace entity {
struct Point;
struct Edge;
struct Point {
int r, c;
Point(int r = 0, int c = 0) : r(r), c(c) {}
inline bool isValid() const {
if (r < 0 || r >= constants::R) return false;
if (c < 0 || c >= constants::C) return false;
return true;
}
inline Point neighbor(int i) const {
return Point(r + constants::dr[i], c + constants::dc[i]);
}
template <typename F>
inline void adjForEach(F f) const {
for (int i = 0; i < constants::DIRECTION_SIZE; i++) {
const auto nx = neighbor(i);
if (!nx.isValid()) continue;
f(nx, constants::opposite(i));
}
}
Edge getEdge(int dir) const;
inline int getId() const { return r * constants::C + c; }
};
uint16_t idMap[constants::DIRECTION_SIZE][constants::R][constants::C];
double positionBonus[constants::DIRECTION_SIZE][constants::R][constants::C];
uint16_t hIds[constants::R][constants::C - 1];
uint16_t vIds[constants::C][constants::R - 1];
struct Edge {
Point p;
int dir;
Edge(int r, int c, int dir) : p(r, c), dir(dir) {}
Edge(Point p, int dir) : p(p), dir(dir) {}
inline Edge versus() const {
return Edge(p.neighbor(dir), constants::opposite(dir));
}
inline int getId() const {
const auto e = normalize();
return (e.p.getId() << 1) + e.dir;
}
inline int getIdFast() const { return idMap[dir][p.r][p.c]; }
inline double getPositionBonus() const {
return positionBonus[dir][p.r][p.c];
}
inline Edge normalize() const {
if (dir >= 2) {
return versus();
}
return *this;
}
inline int getAns() const {
const auto e = normalize().versus();
if (e.dir == constants::RIGHT) {
return (*constants::h)[e.p.r][e.p.c];
}
else {
return (*constants::v)[e.p.r][e.p.c];
}
}
};
inline Edge Point::getEdge(int dir) const { return Edge(*this, dir); }
std::ostream& operator<<(std::ostream& os, const Point& p) {
os << "(" << p.r << ", " << p.c << ")";
return os;
}
std::istream& operator>>(std::istream& is, Point& p) {
is >> p.r >> p.c;
return is;
}
bool operator<(Point lhs, Point rhs) {
return ((lhs.r << 10) + lhs.c) < ((rhs.r << 10) + rhs.c);
}
bool operator==(Point lhs, Point rhs) {
return ((lhs.r << 10) + lhs.c) == ((rhs.r << 10) + rhs.c);
}
inline int __toValue(Edge e) {
return (e.p.r << 20) + (e.p.c << 10) + e.dir;
}
bool operator<(Edge lhs, Edge rhs) {
return __toValue(lhs.normalize()) < __toValue(rhs.normalize());
}
bool operator==(Edge lhs, Edge rhs) {
return __toValue(lhs.normalize()) == __toValue(rhs.normalize());
}
struct cww {
cww() {
for (int r = 0; r < constants::R; r++) {
for (int c = 0; c < constants::C; c++) {
const Point p(r, c);
p.adjForEach([&](Point q, int d) {
idMap[d][q.r][q.c] = Edge(q, d).getId();
double diff = 0;
if (p.r != q.r) {
diff = std::max(std::abs(q.r - constants::R / 2),
std::abs(p.r - constants::R / 2));
}
else {
diff = std::max(std::abs(q.c - constants::C / 2),
std::abs(p.c - constants::C / 2));
}
positionBonus[d][q.r][q.c] = diff;
});
if (c < constants::C - 1) {
hIds[r][c] = Edge(p, constants::RIGHT).getId();
}
if (r < constants::R - 1) {
vIds[c][r] = Edge(p, constants::DOWN).getId();
}
}
}
}
} star;
} // namespace entity
using Pair = std::pair<entity::Point, entity::Point>;
std::ostream& operator<<(std::ostream& os, Pair& p) {
os << "[" << p.first << ", " << p.second << "]";
return os;
}
namespace history {
struct Query {
Pair input;
std::vector<entity::Edge> edges;
std::vector<int> edgeIds;
std::bitset<constants::EDGE_TOTAL> edgeSet;
std::string output;
int64_t distance;
Query(Pair input) : input(input) {}
};
std::vector<Query> queries;
int totalVisits = 0;
std::array<int, constants::EDGE_TOTAL> visit; // ucb の 分母に使う
std::array<int, constants::EDGE_TOTAL> visitBlock; // ucb の 分母に使う
std::array<int, constants::EDGE_TOTAL> useCount;
std::vector<int> usedEdgeIds;
std::array<double, constants::EDGE_TOTAL> averageSum;
void init() {
queries.reserve(constants::Q);
std::fill(visit.begin(), visit.end(), 0);
std::fill(useCount.begin(), useCount.end(), 0);
std::fill(averageSum.begin(), averageSum.end(), 0.0);
}
void put(Pair p) { queries.emplace_back(p); }
void put(const std::string& output, const std::vector<entity::Edge>& edges,
int64_t distance) {
queries.back().output = output;
queries.back().distance = distance;
queries.back().edges = edges;
queries.back().edgeSet.reset();
for (const auto& edge : edges) {
const int id = edge.getIdFast();
queries.back().edgeIds.push_back(id);
queries.back().edgeSet.set(id);
visit[id]++; // / edges.size();
averageSum[id] += distance / double(edges.size());
useCount[id]++;
if (useCount[id] == 1) usedEdgeIds.push_back(id);
}
totalVisits++;
}
} // namespace history
namespace estimate {
std::array<double, constants::EDGE_TOTAL> estimatedEdgeCost;
std::array<double, constants::EDGE_TOTAL> old;
template <typename F>
inline void edgeForEach(F f) {
for (int i = 0; i < constants::R; i++) {
for (int j = 0; j < constants::C - 1; j++) {
f(entity::Edge(i, j, constants::RIGHT));
}
}
for (int i = 0; i < constants::R - 1; i++) {
for (int j = 0; j < constants::C; j++) {
f(entity::Edge(i, j, constants::DOWN));
}
}
}
namespace forSmoothing {
double sums[constants::N];
double squareSums[constants::N];
int cnts[constants::N];
// cnt = 0 のときに死ぬので注意
inline double calcAverage(int bg, int ed) {
return (sums[ed] - sums[bg]) * constants::inv[cnts[ed] - cnts[bg]];
}
inline double calcVariance(int bg, int ed) {
const int cnt = cnts[ed] - cnts[bg];
if (cnt <= 1) return 0.0;
const double average = (sums[ed] - sums[bg]) * constants::inv[cnt];
const double ret =
(squareSums[ed] - squareSums[bg]) * constants::inv[cnt]
- average * average;
return ret;
};
inline void prepare(const uint16_t* edgeIds) {
for (int i = 0; i < constants::N - 1; i++) {
const int id = edgeIds[i];
sums[i + 1] = sums[i];
squareSums[i + 1] = squareSums[i];
cnts[i + 1] = cnts[i];
if (history::useCount[id] > 0) {
cnts[i + 1]++;
sums[i + 1] += estimatedEdgeCost[id];
squareSums[i + 1] +=
estimatedEdgeCost[id] * estimatedEdgeCost[id];
}
}
}
inline int getSplitPoint(bool isM1 = false) {
if (isM1) return 0;
int ret = constants::N / 2;
double minVariance = 1e18;
for (int i = 0; i < constants::N - 1; i++) {
const double variance = std::max(
calcVariance(0, i), calcVariance(i, constants::N - 1));
if (minVariance > variance) {
minVariance = variance;
ret = i;
}
}
const int t = xorshift::getInt(constants::N);
const int d = constants::N - abs(t - ret) - 1;
if (xorshift::getInt(constants::N) < d) {
ret = (ret + t) / 2;
}
return ret;
};
} // namespace forSmoothing
namespace forOptimizeOne {
std::vector<double> points;
std::array<std::vector<int>, constants::EDGE_TOTAL> edgeId2HistoryIds;
inline void prepare() {
// 最後のクエリ分だけ更新
for (const auto& e : history::queries.back().edges) {
edgeId2HistoryIds[e.getIdFast()].push_back(
history::queries.size() - 1u);
}
}
} // namespace forOptimizeOne
inline double estimatedSum(const history::Query& query) {
const int size = query.edgeIds.size();
const int* data = query.edgeIds.data();
double sum = 0;
for (int i = 0; i < size; i++) {
sum += estimatedEdgeCost[data[i]];
}
return sum;
}
// TODO: 高速化
inline void optimizeOne(int id) {
using namespace forOptimizeOne;
points.clear();
const int size = edgeId2HistoryIds[id].size();
const int* ids = edgeId2HistoryIds[id].data();
for (int i = 0; i < size; i++) {
const int qId = ids[i];
const auto& query = history::queries[qId];
const double sum = estimatedSum(query);
points.push_back(query.distance - sum);
}
const int midPos = points.size() / 2;
std::nth_element(points.begin(), std::next(points.begin(), midPos),
points.end());
estimatedEdgeCost[id] += points[midPos] * 0.001;
estimatedEdgeCost[id] =
std::max(1000.0, std::min(9000.0, estimatedEdgeCost[id]));
};
inline void smoothing(const uint16_t* ids, bool isM1 = false) {
using namespace forSmoothing;
prepare(ids);
const int mid = getSplitPoint(isM1);
constexpr double oldBias = 0.5;
if (cnts[mid] - cnts[0]) {
const double average = calcAverage(0, mid);
for (int i = 0; i < mid; i++) {
const int id = ids[i];
if (history::useCount[id] == 0) continue;
estimatedEdgeCost[id] =
oldBias * estimatedEdgeCost[id] + (1 - oldBias) * average;
}
}
if (cnts[constants::N - 1] - cnts[mid]) {
const double average = calcAverage(mid, constants::N - 1);
for (int i = mid; i < constants::N - 1; i++) {
const int id = ids[i];
if (history::useCount[id] == 0) continue;
estimatedEdgeCost[id] =
oldBias * estimatedEdgeCost[id] + (1 - oldBias) * average;
}
}
}
void showDetail() {
if (constants::hasAns()) {
{
std::vector<double> errors;
double errorSum = 0;
for (const auto& query : history::queries) {
double sum = 0;
for (const auto& e : query.edgeIds) {
sum += estimatedEdgeCost[e];
}
errors.push_back(abs(sum - query.distance));
errorSum += errors.back();
}
std::sort(errors.begin(), errors.end());
for (size_t p : {10, 50, 100, 500, 900}) {
if (p < errors.size()) {
DBG(errors[p]);
}
}
if (!errors.empty()) {
DBG(errorSum / errors.size());
}
}
double linearError = 0;
double squareError = 0;
std::vector<double> errors;
for (int id : history::usedEdgeIds) {
const auto e = entity::Edge((id >> 1) / constants::C,
(id >> 1) % constants::C, id & 1);
const double err = std::abs(estimatedEdgeCost[id] - e.getAns());
linearError += err;
squareError += err * err;
errors.push_back(estimatedEdgeCost[id] - e.getAns());
};
std::sort(errors.begin(), errors.end(),
[&](double l, double r) { return l * l < r * r; });
linearError /= std::max(history::usedEdgeIds.size(), size_t(1));
squareError /= std::max(history::usedEdgeIds.size(), size_t(1));
squareError = std::sqrt(squareError);
DBG(history::usedEdgeIds.size());
DBG(linearError);
DBG(squareError);
if (errors.size() >= 100u) {
[[maybe_unused]] const double p10 =
errors[errors.size() * 10 / 100];
[[maybe_unused]] const double p30 =
errors[errors.size() * 30 / 100];
[[maybe_unused]] const double p50 =
errors[errors.size() * 50 / 100];
[[maybe_unused]] const double p90 =
errors[errors.size() * 90 / 100];
DBG(p10);
DBG(p30);
DBG(p50);
DBG(p90);
}
}
}
void setAverage(int turn) {
const double bias = turn / constants::Q;
for (int id : history::usedEdgeIds) {
estimatedEdgeCost[id] = bias * estimatedEdgeCost[id]
+ (1.0 - bias) * history::averageSum[id]
/ history::useCount[id];
}
}
inline void smoothingAll() {
std::copy(estimatedEdgeCost.begin(), estimatedEdgeCost.end(),
old.begin());
std::fill(estimatedEdgeCost.begin(), estimatedEdgeCost.end(), 0.0);
{
const int qSz = history::queries.size();
for (int qi = 0; qi < qSz; qi++) {
const auto& query = history::queries[qi];
const int sz = query.edgeIds.size();
const int* ids = query.edgeIds.data();
const double* o = old.data();
double sum = 0;
for (int i = 0; i < sz; i++) {
sum += o[ids[i]];
}
const double rs = 1.0 / sum;
for (int i = 0; i < sz; i++) {
double s = query.distance * (o[ids[i]] * rs);
if (s < 1000.0) {
s = 1000;
}
else if (s > 9000.0) {
s = 9000;
}
estimatedEdgeCost[ids[i]] += s;
}
}
}
{
const int size = history::usedEdgeIds.size();
const int* ids = history::usedEdgeIds.data();
for (int i = 0; i < size; i++) {
const int id = ids[i];
estimatedEdgeCost[id] *= constants::inv[history::useCount[id]];
}
}
}
inline double cwwFunction(int x) {
return (x - 200) * (x - 200) * (x - 1400) / (4 * 1e8) + 1;
}
void computeEdgeCost([[maybe_unused]] int turn) {
forOptimizeOne::prepare();
setAverage(turn);
const int threshold = cwwFunction(turn) * parameter::ESTIMATE_COUNT;
DBG(threshold);
for (int _ = 0; _ < threshold; _++) {
smoothingAll();
// O(RC)
for (int r = 0; r < constants::R; r++) {
smoothing(entity::hIds[r]);
}
for (int c = 0; c < constants::C; c++) {
smoothing(entity::vIds[c]);
}
}
for (int i = 0; i < 500; i++) {
optimizeOne(history::usedEdgeIds[xorshift::getInt(
history::usedEdgeIds.size())]);
}
for (int _ = 0; _ < 5; _++) {
smoothingAll();
}
showDetail();
}
} // namespace estimate
namespace dijkstra {
using cost_t = double;
using id_t = int;
struct To {
cost_t cost;
int prevDir;
};
std::array<To, constants::R * constants::C> table;
inline double calcUCB1(entity::Edge e) {
const int id = e.getIdFast();
if (history::visit[id] == 0)
return parameter::INITIAL_DISTANCE
- e.getPositionBonus() * parameter::POSITION_BIAS;
const double average =
estimate::estimatedEdgeCost[id]; // history::averageSum[id] /
// history::useCount[id];
return std::max(1000.0,
average
- constants::ucb1::expected[history::totalVisits]
[history::visit[id]]
* parameter::UCB1_BIAS)
- ((1000 - history::totalVisits) / 1000.0) * e.getPositionBonus()
* parameter::POSITION_BIAS;
}
struct HeapElement {
cost_t cost;
entity::Point p;
HeapElement(cost_t cost, entity::Point p) : cost(cost), p(p) {}
};
bool operator<(HeapElement lhs, HeapElement rhs) {
return lhs.cost > rhs.cost;
}
auto dijkstra(Pair st) {
const auto [s, t] = st;
for (auto& to : table) {
to.cost = 1e9; // TODO: 見直す
}
std::priority_queue<HeapElement> que;
auto push = [&que](int prevDir, entity::Point next, cost_t c) {
auto& target = table[next.getId()];
if (target.cost > c) {
target.cost = c;
target.prevDir = prevDir;
que.emplace(c, next);
}
};
push(0, t, 0);
while (!que.empty()) {
const auto top = que.top();
que.pop();
const auto c = top.cost;
const auto cur = top.p;
if (table[cur.getId()].cost < c) continue;
if (cur.getId() == s.getId()) break;
cur.adjForEach([&](entity::Point nx, int prevDir) {
push(prevDir, nx, c + calcUCB1(nx.getEdge(prevDir)));
});
}
std::vector<entity::Edge> edges;
entity::Point cur = s;
while (cur.getId() != t.getId()) {
const int d = table[cur.getId()].prevDir;
edges.emplace_back(cur, d);
cur = cur.neighbor(d);
}
return std::make_tuple(edges, table[s.getId()].cost);
}
} // namespace dijkstra
namespace input {
std::pair<entity::Point, entity::Point> get(std::istream& is) {
std::pair<entity::Point, entity::Point> ret;
is >> ret.first >> ret.second;
return ret;
}
void getHV(std::istream& is) {
constants::h = std::make_optional<decltype(constants::h)::value_type>();
constants::v = std::make_optional<decltype(constants::v)::value_type>();
auto& h = *constants::h;
auto& v = *constants::v;
for (int i = 0; i < constants::R; i++) {
for (int j = 0; j < constants::C - 1; j++) {
is >> h[i][j];
}
}
for (int i = 0; i < constants::R - 1; i++) {
for (int j = 0; j < constants::C; j++) {
is >> v[i][j];
}
}
}
} // namespace input
namespace output {
struct Builder {
std::string s;
std::vector<entity::Point> points;
std::vector<entity::Edge> edges;
Builder(entity::Point s) { points.emplace_back(s); }
const entity::Point& getCurrent() const { return points.back(); }
bool add(int dir) {
auto nx = points.back().neighbor(dir);
if (!nx.isValid()) return false;
edges.emplace_back(points.back().getEdge(dir).normalize());
points.emplace_back(nx);
s.push_back(constants::ds[dir]);
return true;
}
int64_t fix(std::istream& is, std::ostream& os) {
os << s << std::endl;
os.flush();
int64_t d;
is >> d;
return d;
}
};
} // namespace output
void showStat() {
using namespace std;
for (int i = 0; i < constants::R - 1; i++) {
for (int j = 0; j < constants::C - 1; j++) {
cerr << i << " " << j << " ";
const auto e =
entity::Edge(entity::Point(i, j), constants::DOWN).normalize();
cerr << estimate::estimatedEdgeCost[e.getIdFast()] << " ";
cerr << dijkstra::calcUCB1(e) << " ";
// cerr << v1::estimatedDistance[e.getId()] << " ";
if (constants::hasAns()) {
cerr << e.getAns() << " ";
}
cerr << endl;
}
}
}
void solve() {
history::init();
double diffs = 0;
for (int q = 0; q < constants::Q; q++) {
DBG("# turn " + std::to_string(q) + ":");
Pair in = input::get(std::cin);
history::put(in);
const auto& [s, t] = in;
output::Builder builder(s);
const auto [edges, cost] = dijkstra::dijkstra(in);
for (auto& it : edges) {
builder.add(it.dir);
}
auto distance = builder.fix(std::cin, std::cout);
history::put(builder.s, builder.edges, distance);
if (q > 100) {
double sum = 0;
for (const int id : history::queries.back().edgeIds) {
sum += estimate::estimatedEdgeCost[id];
}
const double diff = sum - distance;
diffs += abs(diff);
DBG(diff);
DBG(distance);
DBG(diffs / (q + 1));
}
if (q != constants::Q - 1) {
estimate::computeEdgeCost(q + 1);
}
// v1::calcEstimateDistance();
}
}
#ifndef TEST
int main() {
std::cin.tie(nullptr);
std::ios::sync_with_stdio(false);
solve();
}
#endif
| [
"btk15049@live.jp"
] | btk15049@live.jp |
13ab0804efc143a1a7eae7f7be54572e97cd19dd | 635a2b7c474bc68de939c8790f0a9ac4030954a3 | /common/src/OrCondition.cpp | 58f4e10d3332eaee099d8fdf8dd5bca40e6d1c7a | [] | no_license | knollejo/PPT-PoTATo | 5e46b832fa3b81fc871b5d5defe723f23ef51219 | 37f5cfe3085aa3f092e4377929eca9627583dc59 | refs/heads/master | 2020-03-27T13:22:38.637184 | 2018-09-01T06:56:48 | 2018-09-01T06:56:48 | 146,605,409 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 386 | cpp | //----------------------------------------------------------------------------//
// PoTATo's a Top Analysis Tool
// Project: common
// File: OrCondition.cpp
// Author: Joscha Knolle
// Date: 2018-04-26
//----------------------------------------------------------------------------//
#include "OrCondition.h"
template class OrCondition<Lepton>;
template class OrCondition<Jet>;
| [
"joscha.knolle@desy.de"
] | joscha.knolle@desy.de |
3a28baacd4596cd967e153fc82cf80b378f3af60 | 2413d71a07074043233874f114c303a9d1df7705 | /模板题/带权并查集模板.cpp | dac80cf56e09bc5c301a6d06fe61793f8a43dbb5 | [] | no_license | ferapontqiezi/AlgorithmDesign | fe21ccc5983c9622e4e6200209f0124b4360eeb4 | cdeefa760f1c55fa32ebc4a0f034fcbfa1da0ac1 | refs/heads/master | 2023-08-26T18:29:07.171850 | 2021-11-12T05:20:14 | 2021-11-12T05:20:14 | 421,362,539 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,517 | cpp | class UF {
private:
// 连通分量个数
int count;
// 存储一棵树
vector<int> parent;
// dist[]维护编号为i的战舰到parent[i]之间的距离
vector<int> dist;
// nums[]维护编号为i的战舰所在的那一列有多少战舰
vector<int> nums;
public:
UF(int n) {
this->count = n;
parent.resize(n + 1);
dist.resize(n + 1);
nums.resize(n + 1);
for (int i = 1; i <= n; i++) {
parent[i] = i;
dist[i] = 0;
nums[i] = 1;
}
}
int find(int x) {
if(x != parent[x]){
int k = parent[x];
parent[x] = find(parent[x]);
dist[x] += dist[k];
nums[x] = nums[parent[x]];
}
return parent[x];
}
void merge(int p, int q) {
int rootP = find(p);
int rootQ = find(q);
if (rootP == rootQ)
return ;
parent[rootP] = rootQ;
dist[rootP] = dist[rootQ] + nums[rootQ];
nums[rootQ] += nums[rootP];
nums[rootP] = nums[rootQ];
count--;
}
int query(int p, int q){
int rootP = find(p);
int rootQ = find(q);
if(rootP != rootQ){
return -1;
} else {
return abs(dist[p] - dist[q]) - 1;
}
}
bool connected(int p, int q) {
int rootP = find(p);
int rootQ = find(q);
return rootP == rootQ;
}
int countF() {
return count;
}
}; | [
"Ferapont@qq.com"
] | Ferapont@qq.com |
35bfe3294d8c0825b0e23ab53dba7500af0dcbad | 974f810f4634788b13bcb5c2ac717fff375ab924 | /modules/Utility/src/DefaultLoggerService.cpp | 12a7b518f8a537cd10138d94749a7198d30c26ba | [] | no_license | mrtrizer/FlappyEngine | c5a38974e6ef5d9106bc9dfe8ccfefd98ed58f3e | 57e7598f9b84c95b17cd332f4f06ac40f8f10467 | refs/heads/master | 2020-04-04T06:11:41.067587 | 2019-01-09T21:35:29 | 2019-01-09T21:35:29 | 53,366,417 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 734 | cpp | #include "DefaultLoggerService.h"
#include <cstdio>
#include <cstdarg>
#include "IConsoleService.h"
namespace flappy {
DefaultLoggerService::DefaultLoggerService(std::shared_ptr<IConsoleService> consoleManager)
: m_outputBuff(1024)
, m_consoleManager(consoleManager)
{
}
void DefaultLoggerService::log(LogMessageType messageType, const char* format, ...){
va_list arglist;
va_start(arglist, format);
logVArg(messageType, format, arglist);
va_end(arglist);
}
void DefaultLoggerService::logVArg(LogMessageType messageType, const char* format, va_list arglist) {
std::vsnprintf(m_outputBuff.data(), m_outputBuff.size(), format, arglist );
m_consoleManager->print(messageType, m_outputBuff.data());
}
}
| [
"mrtrizer@gmail.com"
] | mrtrizer@gmail.com |
d9a7bf873a4f2fc25d4bbd85491fcdb03ebc50ec | 6a27b6d484481ef6e7dc1c865331b1c8371b83e1 | /be/src/vec/exprs/table_function/vexplode_json_array.cpp | 8ee1815117ee39c5cd94d14f220472e43f14d558 | [
"BSD-3-Clause",
"GPL-2.0-only",
"Apache-2.0",
"LicenseRef-scancode-public-domain",
"PSF-2.0",
"dtoa",
"MIT",
"bzip2-1.0.6",
"OpenSSL"
] | permissive | HappenLee/incubator-doris | 6b011c57bd97464aa50221de277093895a2677b5 | c74113773a33dbcba35763984b0789db90635191 | refs/heads/master | 2023-09-01T21:05:33.828221 | 2022-08-28T15:10:47 | 2022-08-29T03:31:16 | 264,080,199 | 2 | 5 | Apache-2.0 | 2023-07-26T06:24:35 | 2020-05-15T02:51:56 | C++ | UTF-8 | C++ | false | false | 2,901 | cpp | // Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use this file except in compliance
// with the License. You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing,
// software distributed under the License is distributed on an
// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
// KIND, either express or implied. See the License for the
// specific language governing permissions and limitations
// under the License.
#include "vec/exprs/table_function/vexplode_json_array.h"
#include "common/status.h"
#include "vec/exprs/vexpr.h"
namespace doris::vectorized {
VExplodeJsonArrayTableFunction::VExplodeJsonArrayTableFunction(ExplodeJsonArrayType type)
: ExplodeJsonArrayTableFunction(type) {
_fn_name = "vexplode_json_array";
}
Status VExplodeJsonArrayTableFunction::process_init(vectorized::Block* block) {
CHECK(_vexpr_context->root()->children().size() == 1)
<< _vexpr_context->root()->children().size();
int text_column_idx = -1;
RETURN_IF_ERROR(_vexpr_context->root()->children()[0]->execute(_vexpr_context, block,
&text_column_idx));
_text_column = block->get_by_position(text_column_idx).column;
return Status::OK();
}
Status VExplodeJsonArrayTableFunction::process_row(size_t row_idx) {
_is_current_empty = false;
_eos = false;
StringRef text = _text_column->get_data_at(row_idx);
if (text.data == nullptr) {
_is_current_empty = true;
} else {
rapidjson::Document document;
document.Parse(text.data, text.size);
if (UNLIKELY(document.HasParseError()) || !document.IsArray() ||
document.GetArray().Size() == 0) {
_is_current_empty = true;
} else {
_cur_size = _parsed_data.set_output(_type, document);
_cur_offset = 0;
}
}
return Status::OK();
}
Status VExplodeJsonArrayTableFunction::process_close() {
_text_column = nullptr;
return Status::OK();
}
Status VExplodeJsonArrayTableFunction::get_value_length(int64_t* length) {
if (_is_current_empty) {
*length = -1;
} else {
_parsed_data.get_value_length(_type, _cur_offset, length);
}
return Status::OK();
}
Status VExplodeJsonArrayTableFunction::get_value(void** output) {
if (_is_current_empty) {
*output = nullptr;
} else {
_parsed_data.get_value(_type, _cur_offset, output, true);
}
return Status::OK();
}
} // namespace doris::vectorized | [
"noreply@github.com"
] | noreply@github.com |
92d61d4015192026658ba9621b8ffcf0bc4e1817 | 3094757cc2793e761d46f3229c9d618b034ad0ab | /object.h | 4bd4280a72f7c478bd99c8c21e5d066f4cdaf85d | [] | no_license | JudeLiu/CGProject | 4e50222a0ae234fa404ca85d3389ca828d140214 | 1507388d6f7a60917c200a7344c0a2d3949e5948 | refs/heads/master | 2020-06-05T19:54:37.258334 | 2019-06-18T12:06:58 | 2019-06-18T12:06:58 | 192,531,477 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,779 | h | #ifndef OBJECTH
#define OBJECTH
#include "aabb.h"
#include <float.h>
#define M_PI 3.14159265358979323846
class material;
void get_sphere_uv(const vec3 &p, float &u, float &v)
{
float phi = atan2(p.z(), p.x());
float theta = asin(p.y());
u = 1 - (phi + M_PI) / (2 * M_PI);
v = (theta + M_PI / 2) / M_PI;
}
enum objectType
{
Object,
Sphere,
Plane,
Cylinder,
Rectangle,
Cone
};
struct hit_record
{
float t; // parameter
vec3 p; //hit point
float u, v;
vec3 normal;
objectType objT;
material *mat_ptr;
hit_record() { objT = Object; }
};
class object
{
public:
// virtual vec3 norm(const vec3 &p) const;
virtual bool hit(const ray &r, float t_min, float t_max, hit_record &rec) const = 0;
virtual bool bounding_box(float t0, float t1, aabb &box) const = 0;
};
class flip_normals : public object
{
public:
flip_normals(object *p) : ptr(p) {}
virtual bool hit(const ray &r, float t_min, float t_max, hit_record &rec) const
{
if (ptr->hit(r, t_min, t_max, rec))
{
rec.normal = -rec.normal;
return true;
}
else
return false;
}
virtual bool bounding_box(float t0, float t1, aabb &box) const
{
return ptr->bounding_box(t0, t1, box);
}
object *ptr;
};
class translate : public object
{
public:
translate(object *p, const vec3 &displacement) : ptr(p), offset(displacement) {}
virtual bool hit(const ray &r, float t_min, float t_max, hit_record &rec) const;
virtual bool bounding_box(float t0, float t1, aabb &box) const;
object *ptr;
vec3 offset;
};
bool translate::hit(const ray &r, float t_min, float t_max, hit_record &rec) const
{
// ray moved_r(r.origin() - offset, r.direction(), r.time());
ray moved_r(r.origin() - offset, r.direction());
if (ptr->hit(moved_r, t_min, t_max, rec))
{
rec.p += offset;
return true;
}
else
return false;
}
bool translate::bounding_box(float t0, float t1, aabb &box) const
{
if (ptr->bounding_box(t0, t1, box))
{
box = aabb(box.min() + offset, box.max() + offset);
return true;
}
else
return false;
}
class rotate_y : public object
{
public:
rotate_y(object *p, float angle);
virtual bool hit(const ray &r, float t_min, float t_max, hit_record &rec) const;
virtual bool bounding_box(float t0, float t1, aabb &box) const
{
box = bbox;
return hasbox;
}
object *ptr;
float sin_theta;
float cos_theta;
bool hasbox;
aabb bbox;
};
rotate_y::rotate_y(object *p, float angle) : ptr(p)
{
float radians = (M_PI / 180.) * angle;
sin_theta = sin(radians);
cos_theta = cos(radians);
hasbox = ptr->bounding_box(0, 1, bbox);
vec3 min(FLT_MAX, FLT_MAX, FLT_MAX);
vec3 max(-FLT_MAX, -FLT_MAX, -FLT_MAX);
for (int i = 0; i < 2; i++)
{
for (int j = 0; j < 2; j++)
{
for (int k = 0; k < 2; k++)
{
float x = i * bbox.max().x() + (1 - i) * bbox.min().x();
float y = j * bbox.max().y() + (1 - j) * bbox.min().y();
float z = k * bbox.max().z() + (1 - k) * bbox.min().z();
float newx = cos_theta * x + sin_theta * z;
float newz = -sin_theta * x + cos_theta * z;
vec3 tester(newx, y, newz);
for (int c = 0; c < 3; c++)
{
if (tester[c] > max[c])
max[c] = tester[c];
if (tester[c] < min[c])
min[c] = tester[c];
}
}
}
}
bbox = aabb(min, max);
}
bool rotate_y::hit(const ray &r, float t_min, float t_max, hit_record &rec) const
{
vec3 origin = r.origin();
vec3 direction = r.direction();
origin[0] = cos_theta * r.origin()[0] - sin_theta * r.origin()[2];
origin[2] = sin_theta * r.origin()[0] + cos_theta * r.origin()[2];
direction[0] = cos_theta * r.direction()[0] - sin_theta * r.direction()[2];
direction[2] = sin_theta * r.direction()[0] + cos_theta * r.direction()[2];
// ray rotated_r(origin, direction, r.time());
ray rotated_r(origin, direction);
if (ptr->hit(rotated_r, t_min, t_max, rec))
{
vec3 p = rec.p;
vec3 normal = rec.normal;
p[0] = cos_theta * rec.p[0] + sin_theta * rec.p[2];
p[2] = -sin_theta * rec.p[0] + cos_theta * rec.p[2];
normal[0] = cos_theta * rec.normal[0] + sin_theta * rec.normal[2];
normal[2] = -sin_theta * rec.normal[0] + cos_theta * rec.normal[2];
rec.p = p;
rec.normal = normal;
return true;
}
else
return false;
}
#endif | [
"ljnsjtu@hotmail.com"
] | ljnsjtu@hotmail.com |
84357cc6cab842339a963e91e934b32520f2d08a | b3074cc5a03af2efa9094b7a5a57924a73ee10c1 | /source/opencv2/opencv_core.cc | bb17de06b089c603ac298b504c65ae4905e565e9 | [] | no_license | xujiajun/php-opencv | e19b5d29d02001e22586b38ccd6c68024f1feaa1 | 4d28e388d3dd482eb657254577ebdf0145fb6ada | refs/heads/master | 2020-12-02T06:28:38.353428 | 2017-07-10T13:49:22 | 2017-07-10T13:49:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,951 | cc |
#include "../../php_opencv.h"
#include "opencv_core.h"
#include "core/opencv_mat.h"
#include "../../opencv_exception.h"
#include "core/opencv_type.h"
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
zend_class_entry *opencv_formatter_ce;
const zend_function_entry opencv_formatter_methods[] = {
PHP_FE_END
};
void opencv_formatter_init(){
zend_class_entry ce;
INIT_NS_CLASS_ENTRY(ce, OPENCV_NS, "Formatter", opencv_formatter_methods);
opencv_formatter_ce = zend_register_internal_class(&ce);
}
void opencv_formatter_const_init(int module_number){
zend_declare_class_constant_long(opencv_formatter_ce,"FMT_DEFAULT",sizeof("FMT_DEFAULT")-1,Formatter::FMT_DEFAULT);
zend_declare_class_constant_long(opencv_formatter_ce,"FMT_MATLAB",sizeof("FMT_MATLAB")-1,Formatter::FMT_MATLAB);
zend_declare_class_constant_long(opencv_formatter_ce,"FMT_CSV",sizeof("FMT_CSV")-1,Formatter::FMT_CSV);
zend_declare_class_constant_long(opencv_formatter_ce,"FMT_PYTHON",sizeof("FMT_PYTHON")-1,Formatter::FMT_PYTHON);
zend_declare_class_constant_long(opencv_formatter_ce,"FMT_NUMPY",sizeof("FMT_NUMPY")-1,Formatter::FMT_NUMPY);
zend_declare_class_constant_long(opencv_formatter_ce,"FMT_C",sizeof("FMT_C")-1,Formatter::FMT_C);
}
/**
* @see NormTypes
* @param module_number
*/
void opencv_norm_types_const_init(int module_number){
REGISTER_NS_LONG_CONSTANT(OPENCV_NS, "NORM_INF", NORM_INF, CONST_CS | CONST_PERSISTENT);
REGISTER_NS_LONG_CONSTANT(OPENCV_NS, "NORM_L1", NORM_L1, CONST_CS | CONST_PERSISTENT);
REGISTER_NS_LONG_CONSTANT(OPENCV_NS, "NORM_L2", NORM_L2, CONST_CS | CONST_PERSISTENT);
REGISTER_NS_LONG_CONSTANT(OPENCV_NS, "NORM_L2SQR", NORM_L2SQR, CONST_CS | CONST_PERSISTENT);
REGISTER_NS_LONG_CONSTANT(OPENCV_NS, "NORM_HAMMING", NORM_HAMMING, CONST_CS | CONST_PERSISTENT);
REGISTER_NS_LONG_CONSTANT(OPENCV_NS, "NORM_HAMMING2", NORM_HAMMING2, CONST_CS | CONST_PERSISTENT);
REGISTER_NS_LONG_CONSTANT(OPENCV_NS, "NORM_TYPE_MASK", NORM_TYPE_MASK, CONST_CS | CONST_PERSISTENT);
REGISTER_NS_LONG_CONSTANT(OPENCV_NS, "NORM_RELATIVE", NORM_RELATIVE, CONST_CS | CONST_PERSISTENT);
REGISTER_NS_LONG_CONSTANT(OPENCV_NS, "NORM_MINMAX", NORM_MINMAX, CONST_CS | CONST_PERSISTENT);
}
void opencv_core_init(int module_number)
{
opencv_formatter_init();
opencv_formatter_const_init(module_number);
opencv_norm_types_const_init(module_number);
}
/**
* CV\addWeighted
* @param execute_data
* @param return_value
*/
PHP_FUNCTION(opencv_add_weighted){
double alpha, beta, gamma;
long dtype = -1;
zval *src1_zval, *src2_zval, *dst_zval = NULL;
opencv_mat_object *dst_object;
if (zend_parse_parameters(ZEND_NUM_ARGS(), "OdOddz|l",
&src1_zval, opencv_mat_ce, &alpha,
&src2_zval, opencv_mat_ce, &beta,
&gamma,
&dst_zval,
&dtype) == FAILURE) {
RETURN_NULL();
}
zval *dst_real_zval = Z_REFVAL_P(dst_zval);
opencv_mat_object *src1_obj = Z_PHP_MAT_OBJ_P(src1_zval);
opencv_mat_object *src2_obj = Z_PHP_MAT_OBJ_P(src2_zval);
if(Z_TYPE_P(dst_real_zval) == IS_OBJECT && Z_OBJCE_P(dst_real_zval)==opencv_mat_ce){
// is Mat object
dst_object = Z_PHP_MAT_OBJ_P(dst_real_zval);
} else{
// isn't Mat object
zval instance;
Mat dst;
object_init_ex(&instance,opencv_mat_ce);
ZVAL_COPY_VALUE(dst_real_zval, &instance);// Cover dst_real_zval by Mat object
dst_object = Z_PHP_MAT_OBJ_P(dst_real_zval);
dst_object->mat = new Mat(dst);
}
try{
addWeighted(*src1_obj->mat, alpha, *src2_obj->mat, beta, gamma, *dst_object->mat, dtype);
}catch (Exception e){
opencv_throw_exception(e.what());
}
opencv_mat_update_property_by_c_mat(dst_real_zval, dst_object->mat);
RETURN_NULL();
}
#define OPENCV_CONNECT(text1,text2) text1##text2
/**
* CV\split
* @param execute_data
* @param return_value
*/
PHP_FUNCTION(opencv_split){
double alpha, beta, gamma;
long dtype = -1;
zval *src_zval;
if (zend_parse_parameters(ZEND_NUM_ARGS(), "O", &src_zval, opencv_mat_ce) == FAILURE) {
RETURN_NULL();
}
opencv_mat_object *src_obj = Z_PHP_MAT_OBJ_P(src_zval);
std::vector<Mat> channels;
split(*src_obj->mat,channels);
zval return_val,blue_zval,green_zval,red_zval;
Mat blue,green,red;
array_init(&return_val);
for(unsigned long i=0; i < channels.size(); i++){
zval OPENCV_CONNECT(zval,i);
Mat OPENCV_CONNECT(mat,i);
opencv_mat_object *OPENCV_CONNECT(mat_object,i);
object_init_ex(&OPENCV_CONNECT(zval,i),opencv_mat_ce);
OPENCV_CONNECT(mat_object,i) = Z_PHP_MAT_OBJ_P(&OPENCV_CONNECT(zval,i));
OPENCV_CONNECT(mat,i) = channels.at(i);
OPENCV_CONNECT(mat_object,i)->mat = new Mat(OPENCV_CONNECT(mat,i));
opencv_mat_update_property_by_c_mat(&OPENCV_CONNECT(zval,i),OPENCV_CONNECT(mat_object,i)->mat);
add_next_index_zval(&return_val,&OPENCV_CONNECT(zval,i));
}
RETURN_ZVAL(&return_val,0,0);
}
/**
* CV\merge
* @param execute_data
* @param return_value
*/
PHP_FUNCTION(opencv_merge){
zval *channels_zval, *array_val_zval, *dst_zval;
zend_ulong _h;
opencv_mat_object *dst_object;
if (zend_parse_parameters(ZEND_NUM_ARGS(), "az", &channels_zval, &dst_zval) == FAILURE) {
RETURN_NULL();
}
unsigned long channel_count = zend_hash_num_elements(Z_ARRVAL_P(channels_zval));
std::vector<Mat> channels;
if(channel_count == 0){
char *error_message = (char*)malloc(strlen("array lenght must be >=1") + 1);
strcpy(error_message,"array lenght must be >=1");
opencv_throw_exception(error_message);
free(error_message);
RETURN_NULL();
}
channels.reserve(channel_count);
opencv_mat_object *mat_obj;
ZEND_HASH_FOREACH_NUM_KEY_VAL(Z_ARRVAL_P(channels_zval),_h,array_val_zval){
//check array_val_zval is Mat object
again:
if(Z_TYPE_P(array_val_zval) == IS_OBJECT && Z_OBJCE_P(array_val_zval)==opencv_mat_ce){
mat_obj = Z_PHP_MAT_OBJ_P(array_val_zval);
channels.push_back(*mat_obj->mat);
}else if(Z_TYPE_P(array_val_zval) == IS_REFERENCE){
array_val_zval = Z_REFVAL_P(array_val_zval);
goto again;
} else {
char *error_message = (char*)malloc(strlen("array value just Mat object") + 1);
strcpy(error_message,"array value just Mat object");
opencv_throw_exception(error_message);
free(error_message);
RETURN_NULL();
}
}ZEND_HASH_FOREACH_END();
zval *dst_real_zval = Z_REFVAL_P(dst_zval);
if(Z_TYPE_P(dst_real_zval) == IS_OBJECT && Z_OBJCE_P(dst_real_zval)==opencv_mat_ce){
// is Mat object
dst_object = Z_PHP_MAT_OBJ_P(dst_real_zval);
} else{
// isn't Mat object
zval instance;
Mat dst;
object_init_ex(&instance,opencv_mat_ce);
ZVAL_COPY_VALUE(dst_real_zval, &instance);// Cover dst_real_zval by Mat object
dst_object = Z_PHP_MAT_OBJ_P(dst_real_zval);
dst_object->mat = new Mat(dst);
}
try{
merge(channels, *dst_object->mat);
}catch (Exception e){
opencv_throw_exception(e.what());
}
opencv_mat_update_property_by_c_mat(dst_real_zval, dst_object->mat);
RETURN_NULL();
}
/**
* CV\getOptimalDFTSize
* @param execute_data
* @param return_value
*/
PHP_FUNCTION(opencv_get_optimal_dft_size){
long vecsize;
if (zend_parse_parameters(ZEND_NUM_ARGS(), "l", &vecsize) == FAILURE) {
RETURN_NULL();
}
RETURN_LONG(getOptimalDFTSize((int)vecsize));
}
/**
* copyMakeBorder
* @param execute_data
* @param return_value
*/
PHP_FUNCTION(opencv_copy_make_border){
zval *src_zval, *dst_zval, *value_zval = NULL;
long top, bottom, left, right, border_type;
if (zend_parse_parameters(ZEND_NUM_ARGS(), "Ozlllll|O",
&src_zval, opencv_mat_ce,
&dst_zval,
&top, &bottom, &left, &right, &border_type,
&value_zval, opencv_scalar_ce) == FAILURE) {
RETURN_NULL();
}
opencv_mat_object *src_object = Z_PHP_MAT_OBJ_P(src_zval);
Scalar value;
if(value_zval == NULL){
value = Scalar();
}else{
opencv_scalar_object *value_object = Z_PHP_SCALAR_OBJ_P(value_zval);
value = *value_object->scalar;
}
opencv_mat_object *dst_object;
zval *dst_real_zval = Z_REFVAL_P(dst_zval);
if(Z_TYPE_P(dst_real_zval) == IS_OBJECT && Z_OBJCE_P(dst_real_zval) == opencv_mat_ce){
// is Mat object
dst_object = Z_PHP_MAT_OBJ_P(dst_real_zval);
} else{
// isn't Mat object
zval instance;
Mat dst;
object_init_ex(&instance,opencv_mat_ce);
ZVAL_COPY_VALUE(dst_real_zval, &instance);// Cover dst_real_zval by Mat object
dst_object = Z_PHP_MAT_OBJ_P(dst_real_zval);
dst_object->mat = new Mat(dst);
}
try {
copyMakeBorder(*src_object->mat, *dst_object->mat, (int)top, (int)bottom, (int)left, (int)right, (int)border_type, value);
}catch (Exception e){
opencv_throw_exception(e.what());
}
opencv_mat_update_property_by_c_mat(dst_real_zval, dst_object->mat);
RETURN_NULL();
}
/**
* CV\dft
* @param execute_data
* @param return_value
*/
PHP_FUNCTION(opencv_dft){
zval *src_zval, *array_val_zval, *dst_zval;
long flags, nonzero_rows;
opencv_mat_object *dst_object;
if (zend_parse_parameters(ZEND_NUM_ARGS(), "Oz", &src_zval, opencv_mat_ce, &dst_zval) == FAILURE) {
RETURN_NULL();
}
opencv_mat_object *src_object = Z_PHP_MAT_OBJ_P(src_zval);
zval *dst_real_zval = Z_REFVAL_P(dst_zval);
if(Z_TYPE_P(dst_real_zval) == IS_OBJECT && Z_OBJCE_P(dst_real_zval)==opencv_mat_ce){
// is Mat object
dst_object = Z_PHP_MAT_OBJ_P(dst_real_zval);
} else{
// isn't Mat object
zval instance;
Mat dst;
object_init_ex(&instance,opencv_mat_ce);
ZVAL_COPY_VALUE(dst_real_zval, &instance);// Cover dst_real_zval by Mat object
dst_object = Z_PHP_MAT_OBJ_P(dst_real_zval);
dst_object->mat = new Mat(dst);
}
try{
dft(*src_object->mat, *dst_object->mat, (int)flags, (int)nonzero_rows);
}catch (Exception e){
opencv_throw_exception(e.what());
}
opencv_mat_update_property_by_c_mat(dst_real_zval, dst_object->mat);
RETURN_NULL();
}
/**
* CV\magnitude
* @param execute_data
* @param return_value
*/
PHP_FUNCTION(opencv_magnitude){
zval *x_zval, *y_zval, *dst_zval;
opencv_mat_object *dst_object;
if (zend_parse_parameters(ZEND_NUM_ARGS(), "OOz",
&x_zval, opencv_mat_ce,
&y_zval, opencv_mat_ce,
&dst_zval) == FAILURE) {
RETURN_NULL();
}
opencv_mat_object *x_object = Z_PHP_MAT_OBJ_P(x_zval);
opencv_mat_object *y_object = Z_PHP_MAT_OBJ_P(y_zval);
zval *dst_real_zval = Z_REFVAL_P(dst_zval);
if(Z_TYPE_P(dst_real_zval) == IS_OBJECT && Z_OBJCE_P(dst_real_zval)==opencv_mat_ce){
dst_object = Z_PHP_MAT_OBJ_P(dst_real_zval);
} else{
zval instance;
Mat dst;
object_init_ex(&instance,opencv_mat_ce);
ZVAL_COPY_VALUE(dst_real_zval, &instance);
dst_object = Z_PHP_MAT_OBJ_P(dst_real_zval);
dst_object->mat = new Mat(dst);
}
try{
magnitude(*x_object->mat, *y_object->mat, *dst_object->mat);
}catch (Exception e){
opencv_throw_exception(e.what());
}
opencv_mat_update_property_by_c_mat(dst_real_zval, dst_object->mat);
RETURN_NULL();
}
/**
* //todo mask and dtype params
* CV\add
* @param execute_data
* @param return_value
*/
PHP_FUNCTION(opencv_add){
zval *src1_zval, *src2_zval, *dst_zval;
// zval *mask_zval;
// long dtype = -1;
if (zend_parse_parameters(ZEND_NUM_ARGS(), "zzz",
&src1_zval,
&src2_zval,
&dst_zval) == FAILURE) {
RETURN_NULL();
}
opencv_mat_object *src1_mat_object = NULL, *src2_mat_object = NULL, *dst_mat_object = NULL;
opencv_scalar_object *src1_scalar_object = NULL, *src2_scalar_object = NULL, *dst_scalar_object = NULL;
if(Z_TYPE_P(src1_zval) == IS_OBJECT && (Z_OBJCE_P(src1_zval) == opencv_mat_ce || Z_OBJCE_P(src1_zval) == opencv_scalar_ce)){
if(Z_OBJCE_P(src1_zval) == opencv_mat_ce){
src1_mat_object = Z_PHP_MAT_OBJ_P(src1_zval);
}else{
src1_scalar_object = Z_PHP_SCALAR_OBJ_P(src1_zval);
}
} else{
char *error_message = (char*)malloc(strlen("src1 parameter must be Mat or Scalar object.") + 1);
strcpy(error_message,"src1 parameter must be Mat or Scalar object.");
opencv_throw_exception(error_message);//throw exception
free(error_message);
}
if(Z_TYPE_P(src2_zval) == IS_OBJECT && (Z_OBJCE_P(src2_zval) == opencv_mat_ce || Z_OBJCE_P(src2_zval) == opencv_scalar_ce)){
if(Z_OBJCE_P(src2_zval) == opencv_mat_ce){
src2_mat_object = Z_PHP_MAT_OBJ_P(src2_zval);
}else{
src2_scalar_object = Z_PHP_SCALAR_OBJ_P(src2_zval);
}
} else{
char *error_message = (char*)malloc(strlen("src2 parameter must be Mat or Scalar object.") + 1);
strcpy(error_message,"src2 parameter must be Mat or Scalar object.");
opencv_throw_exception(error_message);//throw exception
free(error_message);
}
zval *dst_real_zval = Z_REFVAL_P(dst_zval);
//dst is Mat object
if(src1_mat_object != NULL && src2_mat_object != NULL){
if(Z_TYPE_P(dst_real_zval) == IS_OBJECT && Z_OBJCE_P(dst_real_zval)==opencv_mat_ce){
dst_mat_object = Z_PHP_MAT_OBJ_P(dst_real_zval);
} else{
zval instance;
Mat dst;
object_init_ex(&instance,opencv_mat_ce);
ZVAL_COPY_VALUE(dst_real_zval, &instance);
dst_mat_object = Z_PHP_MAT_OBJ_P(dst_real_zval);
dst_mat_object->mat = new Mat(dst);
}
add(*src1_mat_object->mat,*src2_mat_object->mat, *dst_mat_object->mat);
opencv_mat_update_property_by_c_mat(dst_real_zval, dst_mat_object->mat);
}else if(src1_mat_object != NULL && src2_mat_object == NULL){
if(Z_TYPE_P(dst_real_zval) == IS_OBJECT && Z_OBJCE_P(dst_real_zval)==opencv_mat_ce){
dst_mat_object = Z_PHP_MAT_OBJ_P(dst_real_zval);
} else{
zval instance;
Mat dst;
object_init_ex(&instance,opencv_mat_ce);
ZVAL_COPY_VALUE(dst_real_zval, &instance);
dst_mat_object = Z_PHP_MAT_OBJ_P(dst_real_zval);
dst_mat_object->mat = new Mat(dst);
}
add(*src1_mat_object->mat,*src2_scalar_object->scalar,*dst_mat_object->mat);
opencv_mat_update_property_by_c_mat(dst_real_zval, dst_mat_object->mat);
}else if(src1_mat_object==NULL && src2_mat_object != NULL){
if(Z_TYPE_P(dst_real_zval) == IS_OBJECT && Z_OBJCE_P(dst_real_zval)==opencv_mat_ce){
dst_mat_object = Z_PHP_MAT_OBJ_P(dst_real_zval);
} else{
zval instance;
Mat dst;
object_init_ex(&instance,opencv_mat_ce);
ZVAL_COPY_VALUE(dst_real_zval, &instance);
dst_mat_object = Z_PHP_MAT_OBJ_P(dst_real_zval);
dst_mat_object->mat = new Mat(dst);
}
add(*src1_scalar_object->scalar,*src2_mat_object->mat,*dst_mat_object->mat);
opencv_mat_update_property_by_c_mat(dst_real_zval, dst_mat_object->mat);
}else{
if(Z_TYPE_P(dst_real_zval) == IS_OBJECT && Z_OBJCE_P(dst_real_zval)==opencv_scalar_ce){
dst_scalar_object = Z_PHP_SCALAR_OBJ_P(dst_real_zval);
} else{
zval instance;
Scalar dst;
object_init_ex(&instance,opencv_scalar_ce);
ZVAL_COPY_VALUE(dst_real_zval, &instance);
dst_scalar_object = Z_PHP_SCALAR_OBJ_P(dst_real_zval);
dst_scalar_object->scalar = new Scalar(dst);
}
add(*src1_scalar_object->scalar,*src2_scalar_object->scalar,*dst_scalar_object->scalar);
opencv_scalar_update_property_by_c_scalar(dst_real_zval, dst_scalar_object->scalar);
}
RETURN_NULL();
}
/**
* CV\log
* @param execute_data
* @param return_value
*/
PHP_FUNCTION(opencv_log){
zval *src_zval, *dst_zval;
if (zend_parse_parameters(ZEND_NUM_ARGS(), "Oz",
&src_zval, opencv_mat_ce,
&dst_zval) == FAILURE) {
RETURN_NULL();
}
opencv_mat_object *src_object = Z_PHP_MAT_OBJ_P(src_zval);
zval *dst_real_zval = Z_REFVAL_P(dst_zval);
opencv_mat_object *dst_object;
if(Z_TYPE_P(dst_real_zval) == IS_OBJECT && Z_OBJCE_P(dst_real_zval)==opencv_mat_ce){
dst_object = Z_PHP_MAT_OBJ_P(dst_real_zval);
} else{
zval instance;
Mat dst;
object_init_ex(&instance,opencv_mat_ce);
ZVAL_COPY_VALUE(dst_real_zval, &instance);
dst_object = Z_PHP_MAT_OBJ_P(dst_real_zval);
dst_object->mat = new Mat(dst);
}
log(*src_object->mat, *dst_object->mat);
opencv_mat_update_property_by_c_mat(dst_real_zval, dst_object->mat);
RETURN_NULL();
}
/**
* //todo mask parameter
* CV\log
* @param execute_data
* @param return_value
*/
PHP_FUNCTION(opencv_normalize){
zval *src_zval, *dst_zval;
double alpha = 1, beta = 0;
long norm_type = NORM_L2, dtype = -1;
zval *mask_zval;
if (zend_parse_parameters(ZEND_NUM_ARGS(), "Oz|ddll",
&src_zval, opencv_mat_ce, &dst_zval,
&alpha, &beta, &norm_type, &dtype) == FAILURE) {
RETURN_NULL();
}
opencv_mat_object *src_object = Z_PHP_MAT_OBJ_P(src_zval);
zval *dst_real_zval = Z_REFVAL_P(dst_zval);
opencv_mat_object *dst_object;
if(Z_TYPE_P(dst_real_zval) == IS_OBJECT && Z_OBJCE_P(dst_real_zval)==opencv_mat_ce){
dst_object = Z_PHP_MAT_OBJ_P(dst_real_zval);
} else{
zval instance;
Mat dst;
object_init_ex(&instance,opencv_mat_ce);
ZVAL_COPY_VALUE(dst_real_zval, &instance);
dst_object = Z_PHP_MAT_OBJ_P(dst_real_zval);
dst_object->mat = new Mat(dst);
}
normalize(*src_object->mat, *dst_object->mat, alpha, beta, (int)norm_type, (int)dtype);
opencv_mat_update_property_by_c_mat(dst_real_zval, dst_object->mat);
RETURN_NULL();
} | [
"hihozhou@gmail.com"
] | hihozhou@gmail.com |
9fef3dc33df5d9350f7ac84c44e61127dcb711fe | f8517de40106c2fc190f0a8c46128e8b67f7c169 | /AllJoyn/Samples/OICAdapter/iotivity-1.0.0/service/resource-container/src/Configuration.cpp | e545c2538375cc1a124e38f97179f7bcb64cb0cf | [
"MIT",
"BSD-3-Clause",
"GPL-2.0-only",
"Apache-2.0"
] | permissive | ferreiramarcelo/samples | eb77df10fe39567b7ebf72b75dc8800e2470108a | 4691f529dae5c440a5df71deda40c57976ee4928 | refs/heads/develop | 2023-06-21T00:31:52.939554 | 2021-01-23T16:26:59 | 2021-01-23T16:26:59 | 66,746,116 | 0 | 0 | MIT | 2023-06-19T20:52:43 | 2016-08-28T02:48:20 | C | UTF-8 | C++ | false | false | 10,922 | cpp | //******************************************************************
//
// Copyright 2015 Samsung Electronics All Rights Reserved.
//
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
#include "Configuration.h"
#include <stdexcept>
#include <utility>
#include "InternalTypes.h"
#define CONTAINER_TAG "RESOURCE_CONTAINER"
namespace OIC
{
namespace Service
{
static inline std::string trim_both(const std::string &str)
{
size_t npos = str.find_first_not_of(" \t\v\n\r");
if (npos == std::string::npos)
{
return "";
}
std::string tempString = str.substr(npos, str.length());
npos = tempString.find_last_not_of(" \t\v\n\r");
return npos == std::string::npos ? tempString : tempString.substr(0, npos + 1);
}
Configuration::Configuration()
{
m_loaded = false;
}
Configuration::Configuration(string configFile)
{
m_loaded = false;
m_pathConfigFile.append(configFile);
getConfigDocument(m_pathConfigFile);
}
Configuration::~Configuration()
{
}
bool Configuration::isLoaded() const
{
return m_loaded;
}
bool Configuration::isHasInput(std::string &bundleId) const
{
try
{
return m_mapisHasInput.at(bundleId);
}
catch (std::out_of_range &e)
{
return false;
}
}
void Configuration::getConfiguredBundles(configInfo *configOutput)
{
rapidxml::xml_node< char > *bundle;
rapidxml::xml_node< char > *subItem;
string strKey, strValue;
if (m_loaded)
{
try
{
for (bundle = m_xmlDoc.first_node()->first_node(BUNDLE_TAG); bundle; bundle =
bundle->next_sibling())
{
std::map< std::string, std::string > bundleMap;
for (subItem = bundle->first_node(); subItem;
subItem = subItem->next_sibling())
{
strKey = subItem->name();
strValue = subItem->value();
if (strlen(subItem->value()) > 0)
{
bundleMap.insert(
std::make_pair(trim_both(strKey), trim_both(strValue)));
}
}
configOutput->push_back(bundleMap);
}
}
catch (rapidxml::parse_error &e)
{
OC_LOG(ERROR, CONTAINER_TAG, "xml parsing failed !!");
OC_LOG_V(ERROR, CONTAINER_TAG, "Exception : (%s)", e.what());
}
}
}
void Configuration::getBundleConfiguration(string bundleId, configInfo *configOutput)
{
rapidxml::xml_node< char > *bundle;
string strBundleId, strPath, strVersion;
if (m_loaded)
{
try
{
std::map< std::string, std::string > bundleConfigMap;
// <bundle>
for (bundle = m_xmlDoc.first_node()->first_node(BUNDLE_TAG); bundle; bundle =
bundle->next_sibling())
{
// <id>
strBundleId = bundle->first_node(BUNDLE_ID)->value();
if (!strBundleId.compare(bundleId))
{
bundleConfigMap.insert(std::make_pair(BUNDLE_ID, trim_both(strBundleId)));
// <path>
strPath = bundle->first_node(BUNDLE_PATH)->value();
bundleConfigMap.insert(std::make_pair(BUNDLE_PATH, trim_both(strPath)));
// <version>
strVersion = bundle->first_node(BUNDLE_VERSION)->value();
bundleConfigMap.insert(
std::make_pair(BUNDLE_VERSION, trim_both(strVersion)));
configOutput->push_back(bundleConfigMap);
break;
}
}
}
catch (rapidxml::parse_error &e)
{
OC_LOG(ERROR, CONTAINER_TAG, "xml parsing failed !!");
OC_LOG_V(ERROR, CONTAINER_TAG, "Exception (%s)", e.what());
}
}
}
void Configuration::getResourceConfiguration(std::string bundleId,
std::vector< resourceInfo > *configOutput)
{
rapidxml::xml_node< char > *bundle;
rapidxml::xml_node< char > *resource;
rapidxml::xml_node< char > *item, *subItem, *subItem2;
string strBundleId;
string strKey, strValue;
if (m_loaded)
{
try
{
// <bundle>
for (bundle = m_xmlDoc.first_node()->first_node(BUNDLE_TAG); bundle; bundle =
bundle->next_sibling())
{
// <id>
strBundleId = bundle->first_node(BUNDLE_ID)->value();
if (!strBundleId.compare(bundleId))
{
// <resourceInfo>
for (resource = bundle->first_node(OUTPUT_RESOURCES_TAG)->first_node(OUTPUT_RESOURCE_INFO);
resource; resource = resource->next_sibling())
{
resourceInfo tempResourceInfo;
for (item = resource->first_node(); item; item =
item->next_sibling())
{
strKey = item->name();
strValue = item->value();
if (!strKey.compare(OUTPUT_RESOURCE_NAME))
tempResourceInfo.name = trim_both(strValue);
else if (!strKey.compare(OUTPUT_RESOURCE_URI))
tempResourceInfo.uri = trim_both(strValue);
else if (!strKey.compare(OUTPUT_RESOURCE_ADDR))
tempResourceInfo.address = trim_both(strValue);
else if (!strKey.compare(OUTPUT_RESOURCE_TYPE))
tempResourceInfo.resourceType = trim_both(strValue);
else
{
for (subItem = item->first_node(); subItem; subItem =
subItem->next_sibling())
{
map< string, string > propertyMap;
strKey = subItem->name();
if (strKey.compare(INPUT_RESOURCE))
{
m_mapisHasInput[strBundleId] = true;
}
for (subItem2 = subItem->first_node(); subItem2;
subItem2 = subItem2->next_sibling())
{
string newStrKey = subItem2->name();
string newStrValue = subItem2->value();
propertyMap[trim_both(newStrKey)] = trim_both(
newStrValue);
}
tempResourceInfo.resourceProperty[trim_both(strKey)].push_back(
propertyMap);
}
}
}
configOutput->push_back(tempResourceInfo);
}
}
}
}
catch (rapidxml::parse_error &e)
{
OC_LOG(ERROR, CONTAINER_TAG, "xml parsing failed !!");
OC_LOG_V(ERROR, CONTAINER_TAG, "Exception (%s)", e.what());
}
}
}
void Configuration::getConfigDocument(std::string pathConfigFile)
{
std::basic_ifstream< char > xmlFile(pathConfigFile.c_str());
if (!xmlFile.fail())
{
xmlFile.seekg(0, std::ios::end);
unsigned int size = (unsigned int) xmlFile.tellg();
xmlFile.seekg(0);
std::vector< char > xmlData(size + 1);
xmlData[size] = 0;
xmlFile.read(&xmlData.front(), (std::streamsize) size);
xmlFile.close();
m_strConfigData = std::string(xmlData.data());
try
{
m_xmlDoc.parse< 0 >((char *) m_strConfigData.c_str());
m_loaded = true;
}
catch (rapidxml::parse_error &e)
{
OC_LOG(ERROR, CONTAINER_TAG, "xml parsing failed !!");
OC_LOG_V(ERROR, CONTAINER_TAG, "Exception (%s)", e.what());
}
}
else
{
OC_LOG(ERROR, CONTAINER_TAG, "Configuration File load failed !!");
}
}
}
} | [
"artemz@microsoft.com"
] | artemz@microsoft.com |
0b313a692f9da948e11ada663938d5f31b7c8d97 | 5037e1d3e3e94be0cab1abae477b3106293c3234 | /src_conditionally_enabled_interface/vocabulary_tree/vocabulary_tree_structs.h | 9c1f2f7b75d8347d261a09078fbc2974be076c8a | [] | no_license | jheinly/vocabulary_tree | 8b8aa41d40dc6f5737452db15d7ba421cc012bf1 | 43b26209e332ccebf90e12db3b1d62a8e1819a55 | refs/heads/master | 2020-05-30T07:30:33.436698 | 2015-05-22T20:17:22 | 2015-05-22T20:17:22 | 35,631,338 | 5 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 4,884 | h | #pragma once
#ifndef VOCABULARY_TREE_STRUCTS_H
#define VOCABULARY_TREE_STRUCTS_H
#include <vocabulary_tree/vocabulary_tree_types.h>
#include <vocabulary_tree/vocabulary_tree_conditionally_enable.h>
#include <vocabulary_tree/vocabulary_tree_histogram_normalization_types.h>
#include <type_traits>
#include <vector>
namespace vocabulary_tree {
template<
typename Descriptor,
typename HistogramNormalization,
typename HistogramDistance,
bool enable_document_modification,
bool enable_idf_weights>
class VocabularyTreeStructs : public VocabularyTreeTypes
{
public:
////////////////////////////////////////////////////////////////////////////
// Public Structures
// This struct stores the occurrence frequency for a given word. Several of
// these entries are combined to form a histogram of words (where each entry
// represents one dimension of the histogram).
struct HistogramEntry
{
HistogramEntry(
const word_t word,
const frequency_t frequency)
: word(word),
frequency(frequency)
{}
word_t word;
frequency_t frequency;
};
// This struct stores a histogram of words. Specifically, it contains a list
// of words, and their occurrence frequency (as HistogramEntry objects). The
// inverse magnitude of the histogram is also stored for use in histogram
// normalization.
struct WordHistogram : public std::conditional<
enable_document_modification &&
!std::is_same<HistogramNormalization, histogram_normalization::None>::value,
conditionally_enable::inverse_magnitudes::InverseMagnitudesEnabled,
conditionally_enable::inverse_magnitudes::InverseMagnitudesDisabled>::type
{
std::vector<HistogramEntry> histogram_entries;
};
// This struct a single query result, in that it contains a document's ID,
// (which had previously been stored in the database) as well as its score
// with respect to the query document. A higher score indicates a better
// match.
struct QueryResult
{
static inline bool greater(
const QueryResult & a,
const QueryResult & b)
{ return a.score > b.score; }
document_id_t document_id;
frequency_t score;
};
protected:
////////////////////////////////////////////////////////////////////////////
// Private Structures
// This struct represents a node (either an iterior or a leaf) within the
// vocabulary tree. Each node keeps track of its children (if it is an
// interior node) or the word that it represents (if it is a leaf node).
// NOTE: If this is a leaf node, then num_children will equal zero and word
// will contain the word index for this node. Otherwise, num_children
// will be non-zero and starting_index_for_children is the index of
// the children nodes within m_nodes as well as the starting index for
// the children's descriptors within m_descriptors.
struct Node
{
Node()
: starting_index_for_children(InvalidIndex),
num_children(InvalidIndex),
word(InvalidWord)
{}
index_t starting_index_for_children;
index_t num_children;
word_t word;
};
// This struct stores the occurrence frequency of a particular word for a
// document in the database. Each word has its own list of inverted index
// entries (m_word_inverted_indices), and each document is assigned a unique
// storage index.
struct InvertedIndexEntry
{
InvertedIndexEntry(
const storage_index_t storage_index,
const frequency_t frequency)
: storage_index(storage_index),
frequency(frequency)
{}
storage_index_t storage_index;
frequency_t frequency;
};
// This struct represents the existance of a document stored in the
// database. A list of database documents is maintained in this class
// (m_document_storage), and each document is assigned a unique storage
// index. This struct stores the inverse magnitude of the histogram of words
// with which it is currently associated.
struct DatabaseDocument : public std::conditional<
enable_document_modification &&
!std::is_same<HistogramNormalization, histogram_normalization::None>::value,
conditionally_enable::inverse_magnitudes::InverseMagnitudesEnabled,
conditionally_enable::inverse_magnitudes::InverseMagnitudesDisabled>::type
{
DatabaseDocument(const document_id_t document_id)
: document_id(document_id)
{}
document_id_t document_id;
};
// This struct conveniently stores a single descriptor.
struct DescriptorStorage
{
typename Descriptor::DimensionType values[Descriptor::NumDimensions];
};
};
} // namespace vocabulary_tree
#endif // VOCABULARY_TREE_STRUCTS_H
| [
"jheinly@users.noreply.github.com"
] | jheinly@users.noreply.github.com |
e83ca72dfe5abd307c6581bd522059a3efc40852 | c0ec5e1b48f54aecc7df6741fd3265d24091d07c | /gpt-utils/gpt-utils.h | 5bfe1e9c709c0dbbe13408ba99412dc00e6d3475 | [] | no_license | yogevm15/device_xiaomi_sm8350-common | ea64d7031a0c915af9a05884b3f622f1a1a2495c | 39d932f03821a8c69f13e8f236b487bbd03545de | refs/heads/lineage-18.1 | 2023-08-23T01:03:07.419901 | 2021-09-28T14:01:39 | 2021-09-28T14:01:39 | 402,748,315 | 0 | 0 | null | 2021-09-03T13:46:41 | 2021-09-03T11:35:40 | C++ | UTF-8 | C++ | false | false | 7,969 | h | /*
* Copyright (c) 2013,2016,2020 The Linux Foundation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above
* copyright notice, this list of conditions and the following
* disclaimer in the documentation and/or other materials provided
* with the distribution.
* * Neither the name of The Linux Foundation 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 "AS IS" AND ANY EXPRESS OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
* BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
* OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
* IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef __GPT_UTILS_H__
#define __GPT_UTILS_H__
#include <vector>
#include <string>
#include <map>
#ifdef __cplusplus
extern "C" {
#endif
#include <unistd.h>
#include <stdlib.h>
/******************************************************************************
* GPT HEADER DEFINES
******************************************************************************/
#define GPT_SIGNATURE "EFI PART"
#define HEADER_SIZE_OFFSET 12
#define HEADER_CRC_OFFSET 16
#define PRIMARY_HEADER_OFFSET 24
#define BACKUP_HEADER_OFFSET 32
#define FIRST_USABLE_LBA_OFFSET 40
#define LAST_USABLE_LBA_OFFSET 48
#define PENTRIES_OFFSET 72
#define PARTITION_COUNT_OFFSET 80
#define PENTRY_SIZE_OFFSET 84
#define PARTITION_CRC_OFFSET 88
#define TYPE_GUID_OFFSET 0
#define TYPE_GUID_SIZE 16
#define PTN_ENTRY_SIZE 128
#define UNIQUE_GUID_OFFSET 16
#define FIRST_LBA_OFFSET 32
#define LAST_LBA_OFFSET 40
#define ATTRIBUTE_FLAG_OFFSET 48
#define PARTITION_NAME_OFFSET 56
#define MAX_GPT_NAME_SIZE 72
/******************************************************************************
* AB RELATED DEFINES
******************************************************************************/
//Bit 48 onwords in the attribute field are the ones where we are allowed to
//store our AB attributes.
#define AB_FLAG_OFFSET (ATTRIBUTE_FLAG_OFFSET + 6)
#define GPT_DISK_INIT_MAGIC 0xABCD
#define AB_PARTITION_ATTR_SLOT_ACTIVE (0x1<<2)
#define AB_PARTITION_ATTR_BOOT_SUCCESSFUL (0x1<<6)
#define AB_PARTITION_ATTR_UNBOOTABLE (0x1<<7)
#define AB_SLOT_ACTIVE_VAL 0x3F
#define AB_SLOT_INACTIVE_VAL 0x0
#define AB_SLOT_ACTIVE 1
#define AB_SLOT_INACTIVE 0
#define AB_SLOT_A_SUFFIX "_a"
#define AB_SLOT_B_SUFFIX "_b"
#define PTN_XBL "xbl"
#define PTN_XBL_CFG "xbl_config"
#define PTN_SWAP_LIST PTN_XBL, PTN_XBL_CFG, "sbl1", "rpm", "tz", "aboot", "abl", "hyp", "lksecapp", "keymaster", "cmnlib", "cmnlib32", "cmnlib64", "pmic", "apdp", "devcfg", "hosd", "keystore", "msadp", "mdtp", "mdtpsecapp", "dsp", "aop", "qupfw", "vbmeta", "dtbo", "imagefv", "ImageFv", "multiimgoem", "multiimgqti", "uefisecapp", "vm-bootsys", "shrm", "cpucp", "featenabler", "vbmeta_system"
#define AB_PTN_LIST PTN_SWAP_LIST, "boot", "vendor_boot", "system", "system_ext", "vendor", "odm", "modem", "bluetooth"
#define BOOT_DEV_DIR "/dev/block/bootdevice/by-name"
/******************************************************************************
* HELPER MACROS
******************************************************************************/
#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
/******************************************************************************
* TYPES
******************************************************************************/
enum boot_update_stage {
UPDATE_MAIN = 1,
UPDATE_BACKUP,
UPDATE_FINALIZE
};
enum gpt_instance {
PRIMARY_GPT = 0,
SECONDARY_GPT
};
enum boot_chain {
NORMAL_BOOT = 0,
BACKUP_BOOT
};
struct gpt_disk {
//GPT primary header
uint8_t *hdr;
//primary header crc
uint32_t hdr_crc;
//GPT backup header
uint8_t *hdr_bak;
//backup header crc
uint32_t hdr_bak_crc;
//Partition entries array
uint8_t *pentry_arr;
//Partition entries array for backup table
uint8_t *pentry_arr_bak;
//Size of the pentry array
uint32_t pentry_arr_size;
//Size of each element in the pentry array
uint32_t pentry_size;
//CRC of the partition entry array
uint32_t pentry_arr_crc;
//CRC of the backup partition entry array
uint32_t pentry_arr_bak_crc;
//Path to block dev representing the disk
char devpath[PATH_MAX];
//Block size of disk
uint32_t block_size;
uint32_t is_initialized;
};
/******************************************************************************
* FUNCTION PROTOTYPES
******************************************************************************/
int prepare_boot_update(enum boot_update_stage stage);
//GPT disk methods
struct gpt_disk* gpt_disk_alloc();
//Free previously allocated gpt_disk struct
void gpt_disk_free(struct gpt_disk *disk);
//Get the details of the disk holding the partition whose name
//is passed in via dev
int gpt_disk_get_disk_info(const char *dev, struct gpt_disk *disk);
//Get pointer to partition entry from a allocated gpt_disk structure
uint8_t* gpt_disk_get_pentry(struct gpt_disk *disk,
const char *partname,
enum gpt_instance instance);
//Update the crc fields of the modified disk structure
int gpt_disk_update_crc(struct gpt_disk *disk);
//Write the contents of struct gpt_disk back to the actual disk
int gpt_disk_commit(struct gpt_disk *disk);
//Return if the current device is UFS based or not
int gpt_utils_is_ufs_device();
//Swtich betwieen using either the primary or the backup
//boot LUN for boot. This is required since UFS boot partitions
//cannot have a backup GPT which is what we use for failsafe
//updates of the other 'critical' partitions. This function will
//not be invoked for emmc targets and on UFS targets is only required
//to be invoked for XBL.
//
//The algorithm to do this is as follows:
//- Find the real block device(eg: /dev/block/sdb) that corresponds
// to the /dev/block/bootdevice/by-name/xbl(bak) symlink
//
//- Once we have the block device 'node' name(sdb in the above example)
// use this node to to locate the scsi generic device that represents
// it by checking the file /sys/block/sdb/device/scsi_generic/sgY
//
//- Once we locate sgY we call the query ioctl on /dev/sgy to switch
//the boot lun to either LUNA or LUNB
int gpt_utils_set_xbl_boot_partition(enum boot_chain chain);
//Given a vector of partition names as a input and a reference to a map,
//populate the map to indicate which physical disk each of the partitions
//sits on. The key in the map is the path to the block device where the
//partiton lies and the value is a vector of strings indicating which of
//the passed in partiton names sits on that device.
int gpt_utils_get_partition_map(std::vector<std::string>& partition_list,
std::map<std::string,std::vector<std::string>>& partition_map);
#ifdef __cplusplus
}
#endif
#endif /* __GPT_UTILS_H__ */
| [
"demonsingur@gmail.com"
] | demonsingur@gmail.com |
7b244cd24bd48020038e71277c2d4e975f64952f | 8ab93c74f0d61d9e703025307cf120c2e78e0d83 | /audioplayer.cpp | bbb921730cf6523239ff8044b8afb0d8fccaa91d | [
"Apache-2.0"
] | permissive | Traine9/WSound-Client- | 00d48fa2914cce372b5b64beea1f3d5d470f07b0 | c6ef93855fcdd2ed89382b0cbc9f3d7def4b3ec5 | refs/heads/master | 2020-03-07T06:56:39.199323 | 2018-03-29T19:04:02 | 2018-03-29T19:04:02 | 127,335,500 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,481 | cpp | #include "audioplayer.h"
#include <QDebug>
#include <QAudioRecorder>
AudioPlayer::AudioPlayer(QAudioFormat format, QObject *parent)
: QObject(parent)
{
adi = QAudioDeviceInfo::defaultOutputDevice();
QAudioRecorder a;
af.setChannelCount(format.channelCount());
af.setSampleRate(format.sampleRate());
af.setSampleSize(format.sampleSize());
af.setCodec(format.codec());
af.setByteOrder(format.byteOrder());
af.setSampleType(format.sampleType());
QAudioDeviceInfo info(adi);
if (!adi.isFormatSupported(af)){
af = adi.nearestFormat(af);
}
createAudioOutput();
}
AudioPlayer::AudioPlayer(QObject *parent)
: QObject(parent)
{
adi = QAudioDeviceInfo::defaultOutputDevice();
QAudioRecorder a;
af.setChannelCount(2);
af.setSampleRate(48000);
af.setSampleSize(16);
af.setCodec("audio/pcm");
af.setByteOrder(QAudioFormat::LittleEndian);
af.setSampleType(QAudioFormat::SignedInt);
QAudioDeviceInfo info(adi);
if (!adi.isFormatSupported(af)){
af = adi.nearestFormat(af);
}
createAudioOutput();
}
int AudioPlayer::play(QByteArray *data)
{
if(created){
device->write(*data);
}
return 0;
}
AudioPlayer::~AudioPlayer()
{
delete device;
delete ao;
created = 0;
}
void AudioPlayer::createAudioOutput()
{
if(ao != 0)
delete ao;
ao = 0;
ao = new QAudioOutput(adi, af, this);
device = ao->start();
created = 1;
}
| [
"dimaprilipko@gmail.com"
] | dimaprilipko@gmail.com |
b47e0bcaa0430d579619fecc656a9fd7305b93cc | eae10a450cf19b65418ed2cb494190e5ccf21583 | /MRF/audio.cpp | 6caf21e82f288ba82ba0c4404495631e1e5fe57a | [] | no_license | GiovannyBrugge/MRF | 1aa07baca728e5ff5c23e7777e186d1d550402ee | 9f85cd6b514a64b1716a9807d529ba9c478c1842 | refs/heads/main | 2023-04-13T22:35:38.148257 | 2021-04-13T07:02:07 | 2021-04-13T07:02:07 | 339,354,935 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 93 | cpp | #include <MRF/config.h>
#include <MRF/audio.h>
Audio::Audio()
{
}
Audio::~Audio()
{
}
| [
"giovannybrugge@live.nl"
] | giovannybrugge@live.nl |
329a1a017d84492300a052dbe0eb022bca464c80 | 138a353006eb1376668037fcdfbafc05450aa413 | /source/PushBlockRight.h | 68ff2d80803975ee8c2346e4d0c860a21ecaec53 | [] | no_license | sonicma7/choreopower | 107ed0a5f2eb5fa9e47378702469b77554e44746 | 1480a8f9512531665695b46dcfdde3f689888053 | refs/heads/master | 2020-05-16T20:53:11.590126 | 2009-11-18T03:10:12 | 2009-11-18T03:10:12 | 32,246,184 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,049 | h | #pragma once
#include "PuzzleEntity.h"
#include <Ogre.h>
#include <OgreNewt.h>
class PressureSensor;
// This object is a block that can be pushed to the right by players, until it reaches destination
/* Implementation: block will be rigid body, have an invisible PressureSensor to the left of the
* block. Both the RigidBody and the PressureSensor move to the right on player contact with
* the PressureSensor. */
class PushBlockRight : public PuzzleEntity{
public:
PushBlockRight(GameServices *gs, OgreNewt::World* collisionWorld, Ogre::SceneNode *parentNode,
const Ogre::Vector3 &pos, const Ogre::Vector3 &size,
const Ogre::String &entityName, const Ogre::String &modelFile,
const Ogre::String &triggername, const Ogre::String &listenfor, const int triggerID,
const Ogre::Vector3 &dest, float pushSpeed);
void update();
void listenCallback(GameEvent *evnt);
void forceCallback(OgreNewt::Body* b);
private:
float mSpeed;
bool mBump;
Ogre::Vector3 mSize;
Ogre::Vector3 mDest;
PressureSensor *mSensor;
}; | [
"Sonicma7@0822fb10-d3c0-11de-a505-35228575a32e"
] | Sonicma7@0822fb10-d3c0-11de-a505-35228575a32e |
f3e77b57dc9401204ff3cb992d35f00be0ae9682 | fff70fd9fab5a631ca491444b2586c3036a1099d | /BattleTank/Source/BattleTank/Private/Tank.cpp | c70c0ea2f5421c9d3138d78f68c3dad6b90c7d93 | [
"MIT"
] | permissive | Csumbavamba/tankgame | f9e7ca99fe0031090e7d134eb8a419d40188352d | cf45fd6e3c2ecc84db53bee43641fa4a4b30bd12 | refs/heads/master | 2020-03-07T09:24:52.237373 | 2018-04-16T08:16:43 | 2018-04-16T08:16:43 | 127,406,936 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 853 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "Tank.h"
void ATank::AimAt(FVector HitLocation)
{
TankAimingComponent->AimAt(HitLocation, LaunchSpeed);
}
// Sets default values
ATank::ATank()
{
// Set this pawn to call Tick() every frame. You can turn this off to improve performance if you don't need it.
PrimaryActorTick.bCanEverTick = false;
// No need to protect pointers as added at construction
TankAimingComponent = CreateDefaultSubobject<UTankAimingComponent>(FName("Aiming Component"));
}
void ATank::SetBarrelReference(UTankBarrel * BarrelToSet)
{
TankAimingComponent->SetBarrelReference(BarrelToSet);
}
// Called to bind functionality to input
void ATank::SetupPlayerInputComponent(UInputComponent* PlayerInputComponent)
{
Super::SetupPlayerInputComponent(PlayerInputComponent);
}
| [
"zsombor.pirok@gmail.com"
] | zsombor.pirok@gmail.com |
52111c752a7bd92bc95e91c7acd0eb3df1c31c4d | 714d4d2796e9b5771a1850a62c9ef818239f5e77 | /chrome/browser/ui/ash/chrome_shell_delegate.cc | abd0dd78234542ed49f1a38bdf23286d10fae756 | [
"BSD-3-Clause"
] | permissive | CapOM/ChromiumGStreamerBackend | 6c772341f815d62d4b3c4802df3920ffa815d52a | 1dde005bd5d807839b5d45271e9f2699df5c54c9 | refs/heads/master | 2020-12-28T19:34:06.165451 | 2015-10-21T15:42:34 | 2015-10-23T11:00:45 | 45,056,006 | 2 | 0 | null | 2015-10-27T16:58:16 | 2015-10-27T16:58:16 | null | UTF-8 | C++ | false | false | 7,348 | cc | // Copyright (c) 2012 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/ash/chrome_shell_delegate.h"
#include "ash/content_support/gpu_support_impl.h"
#include "ash/wm/window_state.h"
#include "ash/wm/window_util.h"
#include "chrome/browser/app_mode/app_mode_utils.h"
#include "chrome/browser/lifetime/application_lifetime.h"
#include "chrome/browser/profiles/profile_manager.h"
#include "chrome/browser/profiles/profiles_state.h"
#include "chrome/browser/ui/app_list/app_list_view_delegate.h"
#include "chrome/browser/ui/ash/app_list/app_list_service_ash.h"
#include "chrome/browser/ui/ash/ash_keyboard_controller_proxy.h"
#include "chrome/browser/ui/ash/launcher/chrome_launcher_controller.h"
#include "chrome/browser/ui/ash/launcher/launcher_context_menu.h"
#include "chrome/browser/ui/browser_commands.h"
#include "chrome/browser/ui/browser_finder.h"
#include "chrome/browser/ui/browser_navigator.h"
#include "chrome/browser/ui/browser_window.h"
#include "chrome/grit/chromium_strings.h"
#include "components/signin/core/common/profile_management_switches.h"
#include "grit/theme_resources.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/resource/resource_bundle.h"
#if defined(OS_CHROMEOS)
#include "base/prefs/pref_service.h"
#include "chrome/browser/chromeos/accessibility/accessibility_manager.h"
#include "chrome/browser/chromeos/display/display_configuration_observer.h"
#include "chrome/browser/chromeos/profiles/profile_helper.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/common/pref_names.h"
#include "components/user_manager/user.h"
#include "components/user_manager/user_manager.h"
#endif
namespace {
const char kKeyboardShortcutHelpPageUrl[] =
"https://support.google.com/chromebook/answer/183101";
} // namespace
// static
ChromeShellDelegate* ChromeShellDelegate::instance_ = NULL;
ChromeShellDelegate::ChromeShellDelegate()
: shelf_delegate_(NULL) {
instance_ = this;
PlatformInit();
}
ChromeShellDelegate::~ChromeShellDelegate() {
if (instance_ == this)
instance_ = NULL;
}
bool ChromeShellDelegate::IsMultiProfilesEnabled() const {
if (!profiles::IsMultipleProfilesEnabled())
return false;
#if defined(OS_CHROMEOS)
// If there is a user manager, we need to see that we can at least have 2
// simultaneous users to allow this feature.
if (!user_manager::UserManager::IsInitialized())
return false;
size_t admitted_users_to_be_added =
user_manager::UserManager::Get()->GetUsersAllowedForMultiProfile().size();
size_t logged_in_users =
user_manager::UserManager::Get()->GetLoggedInUsers().size();
if (!logged_in_users) {
// The shelf gets created on the login screen and as such we have to create
// all multi profile items of the the system tray menu before the user logs
// in. For special cases like Kiosk mode and / or guest mode this isn't a
// problem since either the browser gets restarted and / or the flag is not
// allowed, but for an "ephermal" user (see crbug.com/312324) it is not
// decided yet if he could add other users to his session or not.
// TODO(skuhne): As soon as the issue above needs to be resolved, this logic
// should change.
logged_in_users = 1;
}
if (admitted_users_to_be_added + logged_in_users <= 1)
return false;
#endif
return true;
}
bool ChromeShellDelegate::IsIncognitoAllowed() const {
#if defined(OS_CHROMEOS)
return chromeos::AccessibilityManager::Get()->IsIncognitoAllowed();
#endif
return true;
}
bool ChromeShellDelegate::IsRunningInForcedAppMode() const {
return chrome::IsRunningInForcedAppMode();
}
bool ChromeShellDelegate::IsMultiAccountEnabled() const {
#if defined(OS_CHROMEOS)
return switches::IsEnableAccountConsistency();
#endif
return false;
}
bool ChromeShellDelegate::IsForceMaximizeOnFirstRun() const {
#if defined(OS_CHROMEOS)
const user_manager::User* const user =
user_manager::UserManager::Get()->GetActiveUser();
if (user) {
return chromeos::ProfileHelper::Get()
->GetProfileByUser(user)
->GetPrefs()
->GetBoolean(prefs::kForceMaximizeOnFirstRun);
}
#endif
return false;
}
void ChromeShellDelegate::Exit() {
chrome::AttemptUserExit();
}
content::BrowserContext* ChromeShellDelegate::GetActiveBrowserContext() {
#if defined(OS_CHROMEOS)
DCHECK(user_manager::UserManager::Get()->GetLoggedInUsers().size());
#endif
return ProfileManager::GetActiveUserProfile();
}
app_list::AppListViewDelegate* ChromeShellDelegate::GetAppListViewDelegate() {
DCHECK(ash::Shell::HasInstance());
return AppListServiceAsh::GetInstance()->GetViewDelegate(
Profile::FromBrowserContext(GetActiveBrowserContext()));
}
ash::ShelfDelegate* ChromeShellDelegate::CreateShelfDelegate(
ash::ShelfModel* model) {
if (!shelf_delegate_) {
shelf_delegate_ = ChromeLauncherController::CreateInstance(NULL, model);
shelf_delegate_->Init();
}
return shelf_delegate_;
}
ui::MenuModel* ChromeShellDelegate::CreateContextMenu(
aura::Window* root,
ash::ShelfItemDelegate* item_delegate,
ash::ShelfItem* item) {
DCHECK(shelf_delegate_);
// Don't show context menu for exclusive app runtime mode.
if (chrome::IsRunningInAppMode())
return NULL;
if (item_delegate && item)
return new LauncherContextMenu(shelf_delegate_, item_delegate, item, root);
return new LauncherContextMenu(shelf_delegate_, root);
}
ash::GPUSupport* ChromeShellDelegate::CreateGPUSupport() {
// Chrome uses real GPU support.
return new ash::GPUSupportImpl;
}
base::string16 ChromeShellDelegate::GetProductName() const {
return l10n_util::GetStringUTF16(IDS_PRODUCT_NAME);
}
void ChromeShellDelegate::OpenKeyboardShortcutHelpPage() const {
Profile* profile = ProfileManager::GetActiveUserProfile();
Browser* browser =
chrome::FindTabbedBrowser(profile, false, chrome::HOST_DESKTOP_TYPE_ASH);
if (!browser) {
browser = new Browser(
Browser::CreateParams(profile, chrome::HOST_DESKTOP_TYPE_ASH));
browser->window()->Activate();
browser->window()->Show();
}
chrome::NavigateParams params(browser, GURL(kKeyboardShortcutHelpPageUrl),
ui::PAGE_TRANSITION_AUTO_BOOKMARK);
params.disposition = SINGLETON_TAB;
chrome::Navigate(¶ms);
}
gfx::Image ChromeShellDelegate::GetDeprecatedAcceleratorImage() const {
return ui::ResourceBundle::GetSharedInstance().GetImageNamed(
IDR_BLUETOOTH_KEYBOARD);
}
keyboard::KeyboardControllerProxy*
ChromeShellDelegate::CreateKeyboardControllerProxy() {
return new AshKeyboardControllerProxy(
ProfileManager::GetActiveUserProfile());
}
void ChromeShellDelegate::VirtualKeyboardActivated(bool activated) {
FOR_EACH_OBSERVER(ash::VirtualKeyboardStateObserver,
keyboard_state_observer_list_,
OnVirtualKeyboardStateChanged(activated));
}
void ChromeShellDelegate::AddVirtualKeyboardStateObserver(
ash::VirtualKeyboardStateObserver* observer) {
keyboard_state_observer_list_.AddObserver(observer);
}
void ChromeShellDelegate::RemoveVirtualKeyboardStateObserver(
ash::VirtualKeyboardStateObserver* observer) {
keyboard_state_observer_list_.RemoveObserver(observer);
}
| [
"j.isorce@samsung.com"
] | j.isorce@samsung.com |
37324e93fddcdd23a1000d0cc95390b4f93b2e0a | aa581e27fd19e36816541d68f349646cbb451115 | /game/src/command_manager/command_ppo.cpp | 7b469f1a7c962f29293fcfc671def93a908a3d6a | [] | no_license | morgandruesne/PSU_zappy_2018 | 65f5d78cc868f2c741c38cb3c270a86b21f42526 | 8fa0bf188de458beb5c9cd7d3b1c8cb56f130e5a | refs/heads/master | 2021-01-03T19:57:45.605350 | 2020-02-13T09:01:50 | 2020-02-13T09:01:50 | 240,217,197 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,669 | cpp | /*
** EPITECH PROJECT, 2019
** zappy
** File description:
** main
*/
#include "interface.hpp"
#include "../event/eventManager.hpp"
#include "../player/player.hpp"
#include "client.hpp"
void InterfaceCore::move_player_command(control_t *control)
{
int player_number = 0;
size_t i = 0;
int newposx = 0;
int newposy = 0;
if (control->tbl.at(0).compare(0, 3, "ppo") == 0) {
strtok ((char *)control->tbl.at(0).c_str()," ");
player_number = atoi(strtok (NULL," "));
newposx = atoi(strtok (NULL," "));
newposy = atoi(strtok (NULL," "));
for (; i < this->players.size(); i++)
if (this->players.at(i).getNumber() == player_number) {
break;
}
if (((this->players.at(i).getStateposy() - newposy)) > 1
|| ((this->players.at(i).getStateposy() - newposy)) < -1
|| ((this->players.at(i).getStateposx() - newposx)) > 1
|| ((this->players.at(i).getStateposx() - newposx)) < -1) {
this->players.at(i).setPosition(this->map->getVectorAt(newposx, newposy));
}
else {
if (this->players.at(i).getStateposy() < newposy)
this->players.at(i).AddToQueue(WALK_DOWN);
if (this->players.at(i).getStateposy() > newposy)
this->players.at(i).AddToQueue(WALK_UP);
if (this->players.at(i).getStateposx() < newposx)
this->players.at(i).AddToQueue(WALK_RIGHT);
if (this->players.at(i).getStateposx() > newposx)
this->players.at(i).AddToQueue(WALK_LEFT);
}
this->players.at(i).setStatepos(newposx, newposy);
}
} | [
"morgan.druesne@epitech.eu"
] | morgan.druesne@epitech.eu |
58b5c5edeed9704099e36dd20f852ffd3e9f9d17 | c219870df35e43de44767659a56466a5933ff13a | /scambia.cc | 9569759b9b9116ab88b9d096e6b9915b0070b534 | [] | no_license | EnricoGdx/Programmazione1 | aa98f70ca40b8e6f83ddf4e5d0a3a464dc285760 | 9eee78d8b26e7e9bf2a4af2a12baa7ab6a1a16dc | refs/heads/master | 2020-04-28T01:16:38.979653 | 2019-03-10T16:22:22 | 2019-03-10T16:22:22 | 174,849,015 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 419 | cc | #include <iostream>
using namespace std;
void scambia(int &d,int &e,int &f);
int main()
{
int a,b,c;
cout << "inserisci tre numeri da scambiare" << endl;
cin >> a >> b >> c;
scambia (a,b,c);
cout << "adesso sono: " << endl << a << endl << b << endl << c << endl;
return 0;
}
void scambia(int &d, int &e , int &f) {
int sba, scb, sac;
sba=e;
scb=f;
sac=d;
d=sba;
e=scb;
f=sac;
}
| [
"enrico.gdx@gmail.com"
] | enrico.gdx@gmail.com |
a9dbe1584cae9bd097526c25a905ccb17a3f82a2 | 808444e3b16550229823ab6df93cf40415e66822 | /15_aula/src/Carro.cpp | 12fe9efca035d723ce61cdd5fa9013d1d6a10d7d | [] | no_license | Gaobaofogo/faculdade_lp1 | cca450097a92502f2a00ba990d107eb897ab3d2c | 506410a776a79f5b5aa64ff09cc41b18e8950ac1 | refs/heads/master | 2022-11-22T19:33:29.668028 | 2020-07-23T01:27:28 | 2020-07-23T01:27:28 | 272,557,936 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 324 | cpp | #include "Carro.hpp"
Carro::Carro(std::string cor) {
this->cor = cor;
}
Carro::Carro() {
this->cor = "Branco";
}
void Carro::acelera(int velocidade){
this->velocidade += velocidade;
}
void Carro::freia(int velocidade){
this->velocidade -= velocidade;
}
void Carro::ligaCarro(){
motor.partida();
}
| [
"gabrieldiniz54@gmail.com"
] | gabrieldiniz54@gmail.com |
e396319b17449303d7f4751f3804c7aac5d9259e | e0159e48fcbee78ae545f61a9b6d1f81805af5df | /graphs/singlesource.cpp | 35e76dd01cc98f4e159bf899dc7ed69779d48635 | [
"MIT"
] | permissive | sans712/SDE-Interview-Questions | 944f583d63b4a30020d6ecc0de09eb50948a5f7f | 44f5bda60b9ed301b93a944e1c333d833c9b054b | refs/heads/master | 2022-12-24T14:28:46.896108 | 2020-10-01T05:39:16 | 2020-10-01T05:39:16 | 300,159,282 | 0 | 0 | MIT | 2020-10-01T05:41:08 | 2020-10-01T05:41:08 | null | UTF-8 | C++ | false | false | 847 | cpp | #include<iostream>
using namespace std;
#include<bits/stdc++.h>
template<typename T>
class graph
{
map<T,list<T>> l;
public:
void addedge(int x,int y){
l[x].push_back(y);
l[y].push_back(x);
}
void bfs(T src){
queue<T> q;
map<T,int> dist;
for(auto node_pair:l){
T node=node_pair.first;
dist[node]=INT_MAX;
}
q.push(src);
dist[src]=0;
while(!q.empty()){
T node=q.front();
q.pop();
// cout<<node<<" ";
for(auto nbr:l[node]){
if(dist[nbr]==INT_MAX){
q.push(nbr);
dist[nbr]=dist[node]+1;
}
}
}
for(auto node_pair:l){
T node=node_pair.first;
int d=dist[node];
cout<<"node"<<node<<"at dist from src"<<d<<endl;
}
}
};
int main(){
graph <int> g;
g.addedge(0,1);
g.addedge(1,2);
g.addedge(2,3);
g.addedge(0,3);
g.addedge(3,4);
g.addedge(4,5);
g.bfs(0);
return 0;
} | [
"sanskritimisra712@gmail.com"
] | sanskritimisra712@gmail.com |
fe8a6bbd9bd6d1af8eecbbfeb1646aaf3f478267 | 01bcef56ade123623725ca78d233ac8653a91ece | /ivp/havana/havok/hk_math/rotation.inl | 2ee05033235d529e71072cc05649f8715f610bf8 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | SwagSoftware/Kisak-Strike | 1085ba3c6003e622dac5ebc0c9424cb16ef58467 | 4c2fdc31432b4f5b911546c8c0d499a9cff68a85 | refs/heads/master | 2023-09-01T02:06:59.187775 | 2022-09-05T00:51:46 | 2022-09-05T00:51:46 | 266,676,410 | 921 | 123 | null | 2022-10-01T16:26:41 | 2020-05-25T03:41:35 | C++ | UTF-8 | C++ | false | false | 83 | inl |
inline hk_Rotation::hk_Rotation(const hk_Quaternion& q)
{
this->set(q);
}
| [
"bbchallenger100@gmail.com"
] | bbchallenger100@gmail.com |
0894a5b81788a5102d5e1d717266bfcc61a50d7c | 3155e49c384880956b43334e9da72cbfb15efe92 | /src/jsonrpc-cpp/jsonrpc_udpserver.cpp | 98a2cc5bfbc60b9986bf1059f61e49494cf564d6 | [] | no_license | asianhawk/blockchain-explorer | 169fe08f919d440f69f846ed2f33874b0f70eda8 | 06a043cd8d507e603e4663dcf8b020017ec35a2e | refs/heads/master | 2020-06-03T09:02:32.850538 | 2018-11-08T08:31:19 | 2018-11-08T08:31:19 | 191,517,107 | 1 | 0 | null | 2019-06-12T07:07:25 | 2019-06-12T07:07:25 | null | UTF-8 | C++ | false | false | 3,787 | cpp | /*
* JsonRpc-Cpp - JSON-RPC implementation.
* Copyright (C) 2008-2011 Sebastien Vincent <sebastien.vincent@cppextrem.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/**
* \file jsonrpc_udpserver.cpp
* \brief JSON-RPC UDP server.
* \author Sebastien Vincent
*/
#include <iostream>
#include <stdexcept>
#include "jsonrpc/jsonrpc_udpserver.h"
#include "jsonrpc/netstring.h"
namespace Json
{
namespace Rpc
{
UdpServer::UdpServer(const std::string& address, uint16_t port) : Server(address, port)
{
m_protocol = networking::UDP;
}
UdpServer::~UdpServer()
{
}
ssize_t UdpServer::Send(const std::string& data, const struct sockaddr* addr,
socklen_t addrlen)
{
std::string rep = data;
/* encoding if any */
if(GetEncapsulatedFormat() == Json::Rpc::NETSTRING)
{
rep = netstring::encode(rep);
}
return ::sendto(m_sock, rep.c_str(), rep.length(), 0, (struct sockaddr*)addr, addrlen);
}
bool UdpServer::Recv(int fd)
{
Json::Value response;
ssize_t nb = -1;
char buf[1500];
struct sockaddr_storage addr;
socklen_t addrlen = sizeof(struct sockaddr_storage);
nb = ::recvfrom(fd, buf, sizeof(buf), 0, (struct sockaddr*)&addr, &addrlen);
if(nb > 0)
{
std::string msg = std::string(buf, nb);
if(GetEncapsulatedFormat() == Json::Rpc::NETSTRING)
{
try
{
msg = netstring::decode(msg);
}
catch(const netstring::NetstringException& e)
{
/* error parsing NetString */
std::cerr << e.what() << std::endl;
return false;
}
}
/* give the message to JsonHandler */
m_jsonHandler.Process(msg, response);
/* in case of notification message received, the response could be Json::Value::null */
if(response != Json::Value::null)
{
std::string rep = m_jsonHandler.GetString(response);
/* encoding */
if(GetEncapsulatedFormat() == Json::Rpc::NETSTRING)
{
rep = netstring::encode(rep);
}
if(::sendto(fd, rep.c_str(), rep.length(), 0, (struct sockaddr*)&addr, addrlen) == -1)
{
/* error */
std::cerr << "Error while sending" << std::endl;
return false;
}
}
return true;
}
return false;
}
void UdpServer::WaitMessage(uint32_t ms)
{
fd_set fdsr;
struct timeval tv;
int max_sock = m_sock;
max_sock++;
FD_ZERO(&fdsr);
#ifdef _WIN32
/* on Windows, a socket is not an int but a SOCKET (unsigned int) */
FD_SET((SOCKET)m_sock, &fdsr);
#else
FD_SET(m_sock, &fdsr);
#endif
tv.tv_sec = ms / 1000;
tv.tv_usec = (ms % 1000) * 1000;
if(select(max_sock, &fdsr, NULL, NULL, ms ? &tv : NULL) > 0)
{
if(FD_ISSET(m_sock, &fdsr))
{
Recv(m_sock);
}
}
else
{
/* problem */
}
}
} /* namespace Rpc */
} /* namespace Json */
| [
"515598065@qq.com"
] | 515598065@qq.com |
cc4a0a57e99aa42075f57db81ae94ef8e05c6dd9 | e5292428482181499e59886ad2ee50c83a504f6e | /URI/ZerovaleZero.cpp | c5ee93674e013b31ea1a2bc28bf74e7bac101449 | [] | no_license | pedrohenriqueos/maratona | fa01ebfe747d647cf4f88c486e1a798b3bcdbb3d | 5c9bffa2ec6a321a35c854d4800b4fe7931c1baf | refs/heads/master | 2020-03-22T06:35:23.879463 | 2020-02-27T20:15:53 | 2020-02-27T20:15:53 | 139,644,788 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 717 | cpp | #include<bits/stdc++.h>
using namespace std;
#define inf 0x3f3f3f3f
#define pi 3.14159265358979323846264338327950288
#define f first
#define s second
#define pb push_back
#define mp make_pair
#define FOR(i,a,n) for(int i=a;i<n;i++)
#define FORI(i,a,n) for(int i=a;i>=n;i--)
#define REP(i,n) FOR(i,0,n)
#define all(a) a.begin(),a.end()
typedef long long ll;
typedef unsigned long long ull;
typedef vector<int> vi;
typedef vector< ll > vll;
typedef pair<int,int> ii;
typedef pair<int, ii> iii;
typedef vector< ii > vii;
typedef vector< iii > viii;
ll N,M;
int main(){
while(cin >> N >> M){
if(!N and !M) break;
N+=M;
string str=to_string(N);
for(char c:str)
if(c!='0') cout << c;
cout << '\n';
}
}
| [
"pedro986@gmail.com"
] | pedro986@gmail.com |
b98f87877053a9d576848088cc1750b30a55375f | bedf2373e90512197c1f9ae9049a0df5560562b9 | /Relay_LED3/Relay_LED3.ino | e5294553865893b0d4293b3a47393a45d75a36c5 | [] | no_license | Mechanicalbird/Arduino | 79c40dec25138d005d182fce529af4de1fee9531 | 227c987ac02672705bf9a7db5315278e901d78fb | refs/heads/master | 2020-12-03T08:04:34.495847 | 2017-06-28T10:06:30 | 2017-06-28T10:06:30 | 95,655,648 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,334 | ino | // Blinking Relay-LED
const int LED4 = 10;
const int LED1 = 2;
const int LED2 = 7;
const int BUTTON = 5;//the input pin where the
int val = 0; //val will be used to store the state
//of the input pin
int old_val = 0; //this variable stores the previous
//value of "val"
int state = 0; //0 = LED off while 1 = LED on
void setup() {
// put your setup code here, to run once:
pinMode(LED4, OUTPUT); // sets the digital pin as output
pinMode(LED1, OUTPUT); // sets the digital pin as output
pinMode(LED2, OUTPUT); // sets the digital pin as output
pinMode(BUTTON,INPUT); //and the Button is an input
}
void loop() {
// put your main code here, to run repeatedly:
val = digitalRead(BUTTON);//read input value and store it
if ((val == HIGH)&&(old_val==LOW)){
delay(10);
}
if ((val == HIGH)&&(old_val==LOW)){
state = 1 - state;
delay(10);
}
old_val = val; //val is now old, let's store it
if (state == 1){
digitalWrite(LED4, HIGH); // turns the LED on
digitalWrite(LED1, HIGH); // turns the LED on
digitalWrite(LED2, HIGH); // turns the LED on
}else{
digitalWrite(LED4, LOW); // turns the LED off
digitalWrite(LED1, LOW); // turns the LED off
digitalWrite(LED2, LOW); // turns the LED off
}
// waits for a second
}
| [
"noreply@github.com"
] | noreply@github.com |
7f28213ce155e80ffb6cc8c86d09b683196439ea | 080fc34144f8399ab58dc4c4e9bd2a46ffedd442 | /src/geometry/boundingbox.cpp | 77fee9e0508685f743e9ff78e4c9d634f475a373 | [] | no_license | SomeRandomGameDev/DumbFramework | 3d3babe86f5ce418b6cab77d40a504dc67c1df3c | 048f2b998b50dd1e65a2e472b5ffb421a98efb45 | refs/heads/master | 2016-08-04T17:40:04.102861 | 2015-12-30T13:02:34 | 2015-12-30T13:02:34 | 7,084,290 | 0 | 0 | null | 2015-07-01T14:09:00 | 2012-12-09T22:18:24 | C++ | UTF-8 | C++ | false | false | 7,745 | cpp | /*
* Copyright 2015 MooZ
*
* 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 <DumbFramework/geometry/boundingsphere.hpp>
#include <DumbFramework/geometry/boundingbox.hpp>
namespace Dumb {
namespace Core {
namespace Geometry {
/** Constructor. */
BoundingBox::BoundingBox()
: _min(0.0f)
, _max(0.0f)
, _center(0.0f)
, _extent(0.0f)
{}
/** Constructor.
* @param [in] bmin Bounding box minimum point.
* @param [in] bmax Bounding box maximum point.
*/
BoundingBox::BoundingBox(glm::vec3 const& bmin, glm::vec3 const& bmax)
: _min(bmin)
, _max(bmax)
{
_update();
}
/** Constructor.
* @param [in] buffer Pointer to the point array.
* @param [in] count Number of points
* @param [in] stride Offset between two consecutive points.
*/
BoundingBox::BoundingBox(const uint8_t* buffer, size_t count, size_t stride)
{
float* ptr = (float*)buffer;
_min = _max = glm::vec3(ptr[0], ptr[1], ptr[2]);
buffer+=stride;
for(size_t i=1; i<count; i++, buffer+=stride)
{
ptr = (float*)buffer;
glm::vec3 dummy(glm::vec3(ptr[0], ptr[1], ptr[2]));
_min = glm::min(_min, dummy);
_max = glm::max(_max, dummy);
}
_update();
}
/** Constructor.
* @param [in] sphere Bounding sphere.
*/
BoundingBox::BoundingBox(BoundingSphere const& sphere)
{
glm::vec3 direction = glm::vec3(sphere.getRadius());
_min = sphere.getCenter() - direction;
_max = sphere.getCenter() + direction;
_update();
}
/** Constructor.
* Merge two bounding boxes.
*/
BoundingBox::BoundingBox(BoundingBox const& b0, BoundingBox const& b1)
: _min(glm::min(b0._min, b1._min))
, _max(glm::max(b0._max, b1._max))
{
_update();
}
/** Copy constructor.
* @param [in] box Source bounding box.
*/
BoundingBox::BoundingBox(BoundingBox const& box)
: _min(box._min)
, _max(box._max)
, _center(box._center)
, _extent(box._extent)
{}
/** Copy operator.
* @param [in] box Source bounding box.
*/
BoundingBox& BoundingBox::operator= (BoundingBox const& box)
{
_min = box._min;
_max = box._max;
_center = box._center;
_extent = box._extent;
return *this;
}
/** Check if the current bounding box contains the specified bounding box. */
ContainmentType::Value BoundingBox::contains(BoundingBox const& box)
{
if((box._max.x < _min.x) ||
(box._min.x > _max.x) ||
(box._max.y < _min.y) ||
(box._min.y > _max.y) ||
(box._max.z < _min.z) ||
(box._min.z > _max.z))
{ return ContainmentType::Disjoints; }
if((box._min.x >= _min.x) &&
(box._max.x <= _max.x) &&
(box._min.y >= _min.y) &&
(box._max.y <= _max.y) &&
(box._min.z >= _min.z) &&
(box._max.z <= _max.z))
{ return ContainmentType::Contains; }
return ContainmentType::Intersects;
}
/** Check if the current bounding box contains the specified bounding sphere. */
ContainmentType::Value BoundingBox::contains(BoundingSphere const& sphere)
{
glm::vec3 diffMin = sphere.getCenter() - _min;
glm::vec3 diffMax = _max - sphere.getCenter();
if((diffMin.x >= sphere.getRadius()) &&
(diffMin.y >= sphere.getRadius()) &&
(diffMin.z >= sphere.getRadius()) &&
(diffMax.x >= sphere.getRadius()) &&
(diffMax.y >= sphere.getRadius()) &&
(diffMax.z >= sphere.getRadius()))
{ return ContainmentType::Contains; }
float dmin = 0.0f;
float dmax = 0.0f;
glm::vec3 sqrMin = diffMin * diffMin;
glm::vec3 sqrMax = diffMax * diffMax;
for(int i=0; i<3; i++)
{
dmax += glm::max(sqrMin[i], sqrMax[i]);
if(diffMin[i] < 0.0f)
{
dmin += sqrMin[i];
}
else if(diffMax[i] < 0.0f)
{
dmin += sqrMax[i];
}
}
float r2 = sphere.getSquareRadius();
if((dmin <= r2) && (r2 <= dmax))
{ return ContainmentType::Intersects; }
return ContainmentType::Disjoints;
}
/** Check if the current bounding box contains the specified list of points.
* @param [in] buffer Pointer to the point array.
* @param [in] count Number of points
* @param [in] stride Offset between two consecutive points. (default=0)
*/
ContainmentType::Value BoundingBox::contains(const float* buffer, size_t count, size_t stride)
{
off_t offset = 0, inc = stride + 3;
size_t inside = 0;
for(size_t i=0; i<count; i++, offset+=inc)
{
glm::vec3 point(buffer[offset], buffer[offset+1], buffer[offset+2]);
inside += ((point.x >= _min.x) && (point.x <= _max.x) &&
(point.y >= _min.y) && (point.y <= _max.y) &&
(point.z >= _min.z) && (point.z <= _max.z));
}
if(inside == 0) { return ContainmentType::Disjoints; }
if(inside < count) { return ContainmentType::Intersects; }
return ContainmentType::Contains;
}
/** Check if the current bounding box contains the specified point.
* @param [in] point Point to be tested.
*/
ContainmentType::Value BoundingBox::contains(glm::vec3 const& point)
{
glm::vec3 dummy = glm::abs(_center - point);
if((dummy.x < _extent.x) &&
(dummy.y < _extent.y) &&
(dummy.z < _extent.z))
{ return ContainmentType::Contains; }
if((dummy.x > _extent.x) &&
(dummy.y > _extent.y) &&
(dummy.z > _extent.z))
{ return ContainmentType::Disjoints; }
return ContainmentType::Intersects;
}
/** Check if the current bounding box intersects the specified ray.
* @param [in] ray Ray to be tested.
*/
bool BoundingBox::intersects(Ray3 const& ray)
{
glm::vec3 t0 = (_min - ray.origin) / ray.direction;
glm::vec3 t1 = (_max - ray.origin) / ray.direction;
glm::vec3 t2 = glm::min(t0, t1);
glm::vec3 t3 = glm::max(t0, t1);
float tmin = glm::max(glm::max(t2.x, t2.y), t2.z);
float tmax = glm::min(glm::min(t3.x, t3.y), t3.z);
if((tmax < 0) || (tmin > tmax))
{ return false; }
return true;
}
/** Tell on which side of the specified plane the current bounding box is.
* @param [in] plane Plane.
*/
Side BoundingBox::classify(Plane const& plane) const
{
float radius = glm::dot(glm::abs(plane.getNormal()), _extent);
float distance = plane.distance(_center);
if(distance < -radius) { return Side::Back; }
if(distance > radius) { return Side::Front; }
return Side::On;
}
/** Apply transformation.
* @param [in] m 4*4 transformation matrix.
*/
void BoundingBox::transform(glm::mat4 const& m)
{
glm::vec3 dummy[2] =
{
glm::vec3(m * glm::vec4(_min,1.0f)),
glm::vec3(m * glm::vec4(_max,1.0f))
};
_min = glm::min(dummy[0], dummy[1]);
_max = glm::max(dummy[0], dummy[1]);
_update();
}
/** Get lowest box corner. **/
const glm::vec3& BoundingBox::getMin() const { return _min; }
/** Get highest box corner. **/
const glm::vec3& BoundingBox::getMax() const { return _max; }
/** Get box center. **/
const glm::vec3& BoundingBox::getCenter() const { return _center; }
/** Get box extent. **/
const glm::vec3& BoundingBox::getExtent() const { return _extent; }
/** Update center and extent. **/
void BoundingBox::_update()
{
_center = (_min + _max) / 2.0f;
_extent = glm::abs(_max - _center);
}
} // Geometry
} // Core
} // Dumb
| [
"mooz@blockos.org"
] | mooz@blockos.org |
d6520098e018ea0b85d27a5b30adb58bc78047cb | 59c0f199ddcfa81b4611257f24d115c3c79bebe4 | /jni/MSTargetInfo.cpp | 7eaa3c3518ed2fd9bb395d8ec49319850074659b | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | kod3r/moodstocks-vuforia-android-demo-app | bc2df793c1b533ab4767b79aec0d505ed7f4ac72 | 9a1feb40e51bda75e8d30bc52c186b5aaae0a52f | refs/heads/master | 2020-04-11T00:41:49.378335 | 2013-08-14T12:39:56 | 2013-08-14T12:39:56 | 12,110,898 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,290 | cpp | #include "MSTargetInfo.h"
#include "MSController.h"
#include "MSTexture.h"
#include "MSModel.h"
#include <math.h>
#include <string.h>
#include <GLES2/gl2.h>
#include <GLES2/gl2ext.h>
#include <QCAR/QCAR.h>
MSTargetInfo::MSTargetInfo(float *h, int *d, MSModel *m, MSTexture *t,
float *scale) {
pose = (float *)calloc(16,sizeof(float));
// set to 3D:
for (int i = 0; i < 2; ++i) {
pose[4*i] = h[3*i];
pose[4*i+1] = h[3*i+1];
pose[4*i+3] = h[3*i+2];
}
pose[12] = h[6];
pose[13] = h[7];
pose[15] = h[8];
// compensate the recognized image
// dimensions to get an anisotropic matrix.
float r = ((float)d[0])/d[1];
if (r < 1) {
for (int i = 0; i < 4; ++i) {
pose[4*i+1] *= r;
}
}
else {
for (int i = 0; i < 4; ++i) {
pose[4*i] /= r;
}
}
// Get Z-axis scale: project points (0,1), (0,-1), (1,0) and (-1, 0),
// and take mean of distances to projection of (0,0)
float tmp = 0;
for (int i = -1; i < 2; i += 2) {
float xa = (i*h[0]+h[2])/(i*h[6]+1)-h[2];
float ya = (i*h[3]+h[5])/(i*h[6]+1)-h[5];
float xb = (i*h[1]+h[2])/(i*h[7]+1)-h[2];
float yb = (i*h[4]+h[5])/(i*h[7]+1)-h[5];
tmp += sqrt(xa*xa+ya*ya);
tmp += sqrt(xb*xb+yb*yb);
}
pose[10] = tmp / 4.0;
// rescale if non-null.
if (scale) {
for (int i = 0; i < 3; ++i) {
for (int j = 0; j < 4; ++j) {
pose[4*j+i] *= scale[i];
}
}
}
if (m) {
// store model
model = m;
}
else {
// use a plane
model = MSModel::getPlane();
}
// convert to GL format:
convert2GLMatrix(pose);
// store texture
tex = t;
}
MSTargetInfo::~MSTargetInfo() {
if (pose) free(pose);
if (tex) delete tex;
if (model) delete model;
}
float *
MSTargetInfo::getPose() {
return pose;
}
MSTexture *
MSTargetInfo::getTexture() {
return tex;
}
void
MSTargetInfo::updateTexture(MSTexture *t) {
delete tex;
tex = t;
}
MSModel *
MSTargetInfo::getModel() {
return model;
}
void
MSTargetInfo::convert2GLMatrix(float *m) {
float r[16];
for (int i = 0; i < 4; ++i) {
for (int j = 0; j < 4; ++j) {
r[4*i+j] = m[4*j+i];
if ((i == 1 || i == 2) ^ (j == 1 || j == 2)) {
r[4*i+j] *= -1;
}
}
}
memcpy(m, r, 16*sizeof(float));
}
| [
"maxime@moodstocks.com"
] | maxime@moodstocks.com |
e36e17d1e55fd860a441cf1c4f0de84dc196b5b0 | e0b9b4693a4b3bdaf9cbf161a1964a66870e647a | /c++/2981(검문)/2981.cpp | 5f67f333a766f848605c63adedb97052426a416f | [] | no_license | junstone1995/BaekJoon | 6b35425851b896914d664a92fc1fd28ab8723269 | 58751591a30a681a9576b97c7b1930534c10f00f | refs/heads/master | 2021-12-12T10:56:48.499558 | 2021-12-04T08:14:09 | 2021-12-04T08:14:09 | 194,616,854 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 832 | cpp | #include <iostream>
#include <algorithm>
using namespace std;
int arr[101];
int sol[500];
int gcd(int a, int b)
{
int tmp;
if( a > b)
{
while(b)
{
tmp = a % b;
a = b ;
b = tmp;
}
return a;
}
else
{
while(a)
{
tmp = b % a;
b = a;
a = tmp;
}
return b;
}
}
int main()
{
int n,m,cnt=0;
cin >> n;
for(int i =0; i < n; i++)
cin >> arr[i];
sort(arr, arr + n);
m = arr[1]-arr[0];
for(int i =2 ; i < n; i++)
{
m = gcd(m,arr[i] - arr[i-1]);
}
for(int i = 1; i*i <= m;i++)
{
if( m % i == 0)
{
sol[cnt++] = i;
if ( i != m / i)
sol[cnt++] = m /i;
}
}
sort(sol,sol+cnt);
for(int i = 0; i< cnt; i++)
if(sol[i] != 1)
cout << sol[i] << " ";
}
| [
"boris0730@gmail.com"
] | boris0730@gmail.com |
66146a2cc949271e8ce63f3d0ed90146831da760 | 92613cecc10db7e6b9eb569488e346529986e796 | /gropt/test/TestEucQuadratic.cpp | a92ff6c376872cd2635df6256153ac637811408e | [] | no_license | surfcao/fdasrvf_MATLAB | 514f8b26fdfc59252b89296911c5700165506c41 | 3de430f915c06cad3765128603ba4aa4ef987d65 | refs/heads/master | 2021-07-02T02:17:57.791685 | 2017-09-20T18:36:57 | 2017-09-20T18:36:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,800 | cpp |
#include "TestEucQuadratic.h"
#if !defined(MATLAB_MEX_FILE) && defined(TESTEUCQUADRATIC)
std::map<integer *, integer> *CheckMemoryDeleted;
int main(void)
{
init_genrand(0);
// size of the domain
integer dim = 10;
// Generate the matrices in the Euclidean Quadratic problem.
// Use blas to obtain a positive definite matrix by M = Temp * Temp^T
double *M = new double[dim * dim];
double *Temp = new double[dim * dim];
for (integer i = 0; i < dim * dim; i++)
Temp[i] = genrand_gaussian();
char *transn = const_cast<char *> ("n"), *transt = const_cast<char *> ("t");
double one = 1, zero = 0;
integer N = dim;
std::cout << "start" << std::endl;
dgemm_(transn, transt, &N, &N, &N, &one, Temp, &N, Temp, &N, &zero, M, &N);
std::cout << "end" << std::endl;
delete[] Temp;
CheckMemoryDeleted = new std::map<integer *, integer>;
testEucQuadratic(M, dim);
std::map<integer *, integer>::iterator iter = CheckMemoryDeleted->begin();
for (iter = CheckMemoryDeleted->begin(); iter != CheckMemoryDeleted->end(); iter++)
{
if (iter->second != 1)
std::cout << "Global address:" << iter->first << ", sharedtimes:" << iter->second << std::endl;
}
delete CheckMemoryDeleted;
delete[] M;
#ifdef _WIN64
#ifdef _DEBUG
_CrtDumpMemoryLeaks();
#endif
#endif
return 0;
}
#endif
#ifdef MATLAB_MEX_FILE
std::map<integer *, integer> *CheckMemoryDeleted;
void mexFunction(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[])
{
if(nrhs < 2)
{
mexErrMsgTxt("The number of arguments should be at least two.\n");
}
double *M, *X, *Xopt;
M = mxGetPr(prhs[0]);
X = mxGetPr(prhs[1]);
/* dimensions of input matrices */
integer dim;
dim = mxGetM(prhs[0]);
if(mxGetN(prhs[0]) != dim)
{
mexErrMsgTxt("The size of matrix is not correct.\n");
}
if(mxGetM(prhs[1]) != dim || mxGetN(prhs[1]) != 1)
{
mexErrMsgTxt("The size of the initial X is not correct!\n");
}
std::cout << "dim:" << dim << std::endl;
/*create output matrix*/
plhs[0] = mxCreateDoubleMatrix(dim, 1, mxREAL);
Xopt = mxGetPr(plhs[0]);
init_genrand(0);
CheckMemoryDeleted = new std::map<integer *, integer>;
testEucQuadratic(M, dim, X, Xopt);
std::map<integer *, integer>::iterator iter = CheckMemoryDeleted->begin();
for (iter = CheckMemoryDeleted->begin(); iter != CheckMemoryDeleted->end(); iter++)
{
if (iter->second != 1)
std::cout << "Global address:" << iter->first << ", sharedtimes:" << iter->second << std::endl;
}
delete CheckMemoryDeleted;
return;
}
#endif
void testEucQuadratic(double *M, integer dim, double *X, double *Xopt)
{
// choose a random seed
unsigned tt = (unsigned)time(NULL);
std::cout << "tt:" << tt << std::endl;
tt = 0;
init_genrand(tt);
// Obtain an initial iterate
EucVariable EucX(dim, 1);
if (X == nullptr)
{
EucX.RandInManifold();
}
else
{
double *EucXptr = EucX.ObtainWriteEntireData();
for (integer i = 0; i < dim; i++)
EucXptr[i] = X[i];
}
// Define the manifold
Euclidean Domain(dim);
// Define the problem
EucQuadratic Prob(M, dim);
Prob.SetDomain(&Domain);
// test RSD
std::cout << "********************************Check all line search algorithm in RSD*****************************************" << std::endl;
for (integer i = 0; i < LSALGOLENGTH; i++)
{
RSD *RSDsolver = new RSD(&Prob, &EucX);
RSDsolver->LineSearch_LS = static_cast<LSAlgo> (i);
RSDsolver->DEBUG = FINALRESULT;
RSDsolver->CheckParams();
RSDsolver->Run();
delete RSDsolver;
}
// test RNewton
std::cout << "********************************Check all line search algorithm in RNewton*************************************" << std::endl;
for (integer i = 0; i < LSALGOLENGTH; i++)
{
RNewton *RNewtonsolver = new RNewton(&Prob, &EucX);
RNewtonsolver->LineSearch_LS = static_cast<LSAlgo> (i);
RNewtonsolver->DEBUG = FINALRESULT;
RNewtonsolver->CheckParams();
RNewtonsolver->Run();
delete RNewtonsolver;
}
// test RCG
std::cout << "********************************Check all Formulas in RCG*************************************" << std::endl;
for (integer i = 0; i < RCGMETHODSLENGTH; i++)
{
RCG *RCGsolver = new RCG(&Prob, &EucX);
RCGsolver->RCGmethod = static_cast<RCGmethods> (i);
RCGsolver->LineSearch_LS = STRONGWOLFE;
RCGsolver->LS_beta = 0.1;
RCGsolver->DEBUG = FINALRESULT;
RCGsolver->CheckParams();
RCGsolver->Run();
delete RCGsolver;
}
// test RBroydenFamily
std::cout << "********************************Check all line search algorithm in RBroydenFamily*************************************" << std::endl;
for (integer i = 0; i < LSALGOLENGTH; i++)
{
RBroydenFamily *RBroydenFamilysolver = new RBroydenFamily(&Prob, &EucX);
RBroydenFamilysolver->LineSearch_LS = static_cast<LSAlgo> (i);
RBroydenFamilysolver->DEBUG = FINALRESULT;
RBroydenFamilysolver->CheckParams();
RBroydenFamilysolver->Run();
delete RBroydenFamilysolver;
}
// test RWRBFGS
std::cout << "********************************Check all line search algorithm in RWRBFGS*************************************" << std::endl;
for (integer i = 0; i < LSALGOLENGTH; i++)
{
RWRBFGS *RWRBFGSsolver = new RWRBFGS(&Prob, &EucX);
RWRBFGSsolver->LineSearch_LS = static_cast<LSAlgo> (i);
RWRBFGSsolver->DEBUG = FINALRESULT;
RWRBFGSsolver->CheckParams();
RWRBFGSsolver->Run();
delete RWRBFGSsolver;
}
// test RBFGS
std::cout << "********************************Check all line search algorithm in RBFGS*************************************" << std::endl;
for (integer i = 0; i < LSALGOLENGTH; i++)
{
RBFGS *RBFGSsolver = new RBFGS(&Prob, &EucX);
RBFGSsolver->LineSearch_LS = static_cast<LSAlgo> (i);
RBFGSsolver->DEBUG = FINALRESULT;
RBFGSsolver->CheckParams();
RBFGSsolver->Run();
delete RBFGSsolver;
}
// test LRBFGS
std::cout << "********************************Check all line search algorithm in LRBFGS*************************************" << std::endl;
for (integer i = 0; i < LSALGOLENGTH; i++)
{
LRBFGS *LRBFGSsolver = new LRBFGS(&Prob, &EucX);
LRBFGSsolver->LineSearch_LS = static_cast<LSAlgo> (i);
LRBFGSsolver->DEBUG = FINALRESULT;
LRBFGSsolver->CheckParams();
LRBFGSsolver->Run();
delete LRBFGSsolver;
}
std::cout << "********************************Check RTRSD*************************************" << std::endl;
RTRSD RTRSDsolver(&Prob, &EucX);
std::cout << std::endl;
RTRSDsolver.DEBUG = FINALRESULT;
RTRSDsolver.CheckParams();
RTRSDsolver.Run();
std::cout << "********************************Check RTRNewton*************************************" << std::endl;
RTRNewton RTRNewtonsolver(&Prob, &EucX);
std::cout << std::endl;
RTRNewtonsolver.DEBUG = FINALRESULT;
RTRNewtonsolver.CheckParams();
RTRNewtonsolver.Run();
std::cout << "********************************Check RTRSR1*************************************" << std::endl;
RTRSR1 RTRSR1solver(&Prob, &EucX);
std::cout << std::endl;
RTRSR1solver.DEBUG = FINALRESULT;
RTRSR1solver.CheckParams();
RTRSR1solver.Run();
std::cout << "********************************Check LRTRSR1*************************************" << std::endl;
LRTRSR1 LRTRSR1solver(&Prob, &EucX);
std::cout << std::endl;
LRTRSR1solver.DEBUG = FINALRESULT;
LRTRSR1solver.CheckParams();
LRTRSR1solver.Run();
// Check gradient and Hessian
Prob.CheckGradHessian(&EucX);
const Variable *xopt = RTRNewtonsolver.GetXopt();
Prob.CheckGradHessian(xopt);
if (Xopt != nullptr)
{
const double *xoptptr = xopt->ObtainReadData();
for (integer i = 0; i < dim; i++)
Xopt[i] = xoptptr[i];
}
};
| [
"jdtuck@sandia.gov"
] | jdtuck@sandia.gov |
b4b702f6beadf8247cb99289636b0029ff87b2c0 | 34056cadcbf5e1efb21215ef2389f90afb9fe569 | /Temp/il2cppOutput/il2cppOutput/Il2CppCompilerCalculateTypeValues_15Table.cpp | 5d4c8013420ba3f13406bef006e9cfcc833cc78a | [] | no_license | ZhuoyueWang/HW2-unity | 555563d3ed857d8b38f98fd4988234fcf8220a67 | 260e8e6fa85f3195b029bd5bfaf52c7d17e4d542 | refs/heads/master | 2020-08-06T06:06:12.697149 | 2019-10-04T17:27:53 | 2019-10-04T17:27:53 | 212,863,363 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 184,831 | cpp | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <cstring>
#include <string.h>
#include <stdio.h>
#include <cmath>
#include <limits>
#include <assert.h>
#include <stdint.h>
#include "il2cpp-class-internals.h"
#include "codegen/il2cpp-codegen.h"
#include "il2cpp-object-internals.h"
// System.Action
struct Action_t591D2A86165F896B4B800BB5C25CE18672A55579;
// System.Action`1<System.Boolean>
struct Action_1_tAA0F894C98302D68F7D5034E8104E9AB4763CCAD;
// System.Action`1<UnityEngine.AsyncOperation>
struct Action_1_tCBF754C290FAE894631BED8FD56E9E22C4C187F9;
// System.AsyncCallback
struct AsyncCallback_t3F3DA3BEDAEE81DD1D24125DF8EB30E85EE14DA4;
// System.Char[]
struct CharU5BU5D_t4CC6ABF0AD71BEC97E3C2F1E9C5677E46D3A75C2;
// System.Collections.Generic.List`1<UnityEngine.BeforeRenderHelper/OrderBlock>
struct List_1_t53AD896B2509A4686D143641030CF022753D3B04;
// System.DelegateData
struct DelegateData_t1BF9F691B56DAE5F8C28C5E084FDE94F15F27BBE;
// System.Delegate[]
struct DelegateU5BU5D_tDFCDEE2A6322F96C0FE49AF47E9ADB8C4B294E86;
// System.Func`1<System.Boolean>
struct Func_1_t4ABD6DAD480574F152452DD6B9C9A55F4F6655F1;
// System.IAsyncResult
struct IAsyncResult_t8E194308510B375B42432981AE5E7488C458D598;
// System.Reflection.MethodInfo
struct MethodInfo_t;
// System.String
struct String_t;
// System.Type
struct Type_t;
// System.Void
struct Void_t22962CB4C05B1D89B55A6E1139F0E87A90987017;
// UnityEngine.Application/LogCallback
struct LogCallback_t73139DDD22E0DAFAB5F0E39D4D9B1522682C4778;
// UnityEngine.Application/LowMemoryCallback
struct LowMemoryCallback_t3862486677D10CD16ECDA703CFB75039A4B3AE00;
// UnityEngine.Camera
struct Camera_t48B2B9ECB3CE6108A98BF949A1CECF0FE3421F34;
// UnityEngine.Camera/CameraCallback
struct CameraCallback_t8BBB42AA08D7498DFC11F4128117055BC7F0B9D0;
// UnityEngine.CullingGroup/StateChanged
struct StateChanged_t6B81A48F3E917979B3F56CE50FEEB8E4DE46F161;
// UnityEngine.DisallowMultipleComponent[]
struct DisallowMultipleComponentU5BU5D_t59E317D853AAC982D5D18D4C1581422FC151F7E3;
// UnityEngine.Display/DisplaysUpdatedDelegate
struct DisplaysUpdatedDelegate_t2FAF995B47D691BD7C5BBC17D533DD8B19BE9A90;
// UnityEngine.Display[]
struct DisplayU5BU5D_tB2AB0FDB3B2E9FD784D5100C18EB0ED489A2CCC9;
// UnityEngine.Events.UnityAction
struct UnityAction_tD19B26F1B2C048E38FD5801A33573BE01064CAF4;
// UnityEngine.ExecuteInEditMode[]
struct ExecuteInEditModeU5BU5D_tAE8DA030BEBA505907556F161EB49FD565976C80;
// UnityEngine.ILogger
struct ILogger_t572B66532D8EB6E76240476A788384A26D70866F;
// UnityEngine.RequireComponent[]
struct RequireComponentU5BU5D_t4295259AA991FCAA75878E4731813266CFC5351D;
struct Delegate_t_marshaled_com;
struct Delegate_t_marshaled_pinvoke;
#ifndef U3CMODULEU3E_T721799D5E718B5EDD7BFDDF4EFBA50C642140B3F_H
#define U3CMODULEU3E_T721799D5E718B5EDD7BFDDF4EFBA50C642140B3F_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// <Module>
struct U3CModuleU3E_t721799D5E718B5EDD7BFDDF4EFBA50C642140B3F
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // U3CMODULEU3E_T721799D5E718B5EDD7BFDDF4EFBA50C642140B3F_H
#ifndef RUNTIMEOBJECT_H
#define RUNTIMEOBJECT_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Object
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // RUNTIMEOBJECT_H
#ifndef ATTRIBUTE_TF048C13FB3C8CFCC53F82290E4A3F621089F9A74_H
#define ATTRIBUTE_TF048C13FB3C8CFCC53F82290E4A3F621089F9A74_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Attribute
struct Attribute_tF048C13FB3C8CFCC53F82290E4A3F621089F9A74 : public RuntimeObject
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ATTRIBUTE_TF048C13FB3C8CFCC53F82290E4A3F621089F9A74_H
#ifndef VALUETYPE_T4D0C27076F7C36E76190FB3328E232BCB1CD1FFF_H
#define VALUETYPE_T4D0C27076F7C36E76190FB3328E232BCB1CD1FFF_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.ValueType
struct ValueType_t4D0C27076F7C36E76190FB3328E232BCB1CD1FFF : public RuntimeObject
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
// Native definition for P/Invoke marshalling of System.ValueType
struct ValueType_t4D0C27076F7C36E76190FB3328E232BCB1CD1FFF_marshaled_pinvoke
{
};
// Native definition for COM marshalling of System.ValueType
struct ValueType_t4D0C27076F7C36E76190FB3328E232BCB1CD1FFF_marshaled_com
{
};
#endif // VALUETYPE_T4D0C27076F7C36E76190FB3328E232BCB1CD1FFF_H
#ifndef APPLICATION_TFB5051EC2E3C2C0DACFD37D1E794444AC27B8316_H
#define APPLICATION_TFB5051EC2E3C2C0DACFD37D1E794444AC27B8316_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.Application
struct Application_tFB5051EC2E3C2C0DACFD37D1E794444AC27B8316 : public RuntimeObject
{
public:
public:
};
struct Application_tFB5051EC2E3C2C0DACFD37D1E794444AC27B8316_StaticFields
{
public:
// UnityEngine.Application_LowMemoryCallback UnityEngine.Application::lowMemory
LowMemoryCallback_t3862486677D10CD16ECDA703CFB75039A4B3AE00 * ___lowMemory_0;
// UnityEngine.Application_LogCallback UnityEngine.Application::s_LogCallbackHandler
LogCallback_t73139DDD22E0DAFAB5F0E39D4D9B1522682C4778 * ___s_LogCallbackHandler_1;
// UnityEngine.Application_LogCallback UnityEngine.Application::s_LogCallbackHandlerThreaded
LogCallback_t73139DDD22E0DAFAB5F0E39D4D9B1522682C4778 * ___s_LogCallbackHandlerThreaded_2;
// System.Action`1<System.Boolean> UnityEngine.Application::focusChanged
Action_1_tAA0F894C98302D68F7D5034E8104E9AB4763CCAD * ___focusChanged_3;
// System.Func`1<System.Boolean> UnityEngine.Application::wantsToQuit
Func_1_t4ABD6DAD480574F152452DD6B9C9A55F4F6655F1 * ___wantsToQuit_4;
// System.Action UnityEngine.Application::quitting
Action_t591D2A86165F896B4B800BB5C25CE18672A55579 * ___quitting_5;
public:
inline static int32_t get_offset_of_lowMemory_0() { return static_cast<int32_t>(offsetof(Application_tFB5051EC2E3C2C0DACFD37D1E794444AC27B8316_StaticFields, ___lowMemory_0)); }
inline LowMemoryCallback_t3862486677D10CD16ECDA703CFB75039A4B3AE00 * get_lowMemory_0() const { return ___lowMemory_0; }
inline LowMemoryCallback_t3862486677D10CD16ECDA703CFB75039A4B3AE00 ** get_address_of_lowMemory_0() { return &___lowMemory_0; }
inline void set_lowMemory_0(LowMemoryCallback_t3862486677D10CD16ECDA703CFB75039A4B3AE00 * value)
{
___lowMemory_0 = value;
Il2CppCodeGenWriteBarrier((&___lowMemory_0), value);
}
inline static int32_t get_offset_of_s_LogCallbackHandler_1() { return static_cast<int32_t>(offsetof(Application_tFB5051EC2E3C2C0DACFD37D1E794444AC27B8316_StaticFields, ___s_LogCallbackHandler_1)); }
inline LogCallback_t73139DDD22E0DAFAB5F0E39D4D9B1522682C4778 * get_s_LogCallbackHandler_1() const { return ___s_LogCallbackHandler_1; }
inline LogCallback_t73139DDD22E0DAFAB5F0E39D4D9B1522682C4778 ** get_address_of_s_LogCallbackHandler_1() { return &___s_LogCallbackHandler_1; }
inline void set_s_LogCallbackHandler_1(LogCallback_t73139DDD22E0DAFAB5F0E39D4D9B1522682C4778 * value)
{
___s_LogCallbackHandler_1 = value;
Il2CppCodeGenWriteBarrier((&___s_LogCallbackHandler_1), value);
}
inline static int32_t get_offset_of_s_LogCallbackHandlerThreaded_2() { return static_cast<int32_t>(offsetof(Application_tFB5051EC2E3C2C0DACFD37D1E794444AC27B8316_StaticFields, ___s_LogCallbackHandlerThreaded_2)); }
inline LogCallback_t73139DDD22E0DAFAB5F0E39D4D9B1522682C4778 * get_s_LogCallbackHandlerThreaded_2() const { return ___s_LogCallbackHandlerThreaded_2; }
inline LogCallback_t73139DDD22E0DAFAB5F0E39D4D9B1522682C4778 ** get_address_of_s_LogCallbackHandlerThreaded_2() { return &___s_LogCallbackHandlerThreaded_2; }
inline void set_s_LogCallbackHandlerThreaded_2(LogCallback_t73139DDD22E0DAFAB5F0E39D4D9B1522682C4778 * value)
{
___s_LogCallbackHandlerThreaded_2 = value;
Il2CppCodeGenWriteBarrier((&___s_LogCallbackHandlerThreaded_2), value);
}
inline static int32_t get_offset_of_focusChanged_3() { return static_cast<int32_t>(offsetof(Application_tFB5051EC2E3C2C0DACFD37D1E794444AC27B8316_StaticFields, ___focusChanged_3)); }
inline Action_1_tAA0F894C98302D68F7D5034E8104E9AB4763CCAD * get_focusChanged_3() const { return ___focusChanged_3; }
inline Action_1_tAA0F894C98302D68F7D5034E8104E9AB4763CCAD ** get_address_of_focusChanged_3() { return &___focusChanged_3; }
inline void set_focusChanged_3(Action_1_tAA0F894C98302D68F7D5034E8104E9AB4763CCAD * value)
{
___focusChanged_3 = value;
Il2CppCodeGenWriteBarrier((&___focusChanged_3), value);
}
inline static int32_t get_offset_of_wantsToQuit_4() { return static_cast<int32_t>(offsetof(Application_tFB5051EC2E3C2C0DACFD37D1E794444AC27B8316_StaticFields, ___wantsToQuit_4)); }
inline Func_1_t4ABD6DAD480574F152452DD6B9C9A55F4F6655F1 * get_wantsToQuit_4() const { return ___wantsToQuit_4; }
inline Func_1_t4ABD6DAD480574F152452DD6B9C9A55F4F6655F1 ** get_address_of_wantsToQuit_4() { return &___wantsToQuit_4; }
inline void set_wantsToQuit_4(Func_1_t4ABD6DAD480574F152452DD6B9C9A55F4F6655F1 * value)
{
___wantsToQuit_4 = value;
Il2CppCodeGenWriteBarrier((&___wantsToQuit_4), value);
}
inline static int32_t get_offset_of_quitting_5() { return static_cast<int32_t>(offsetof(Application_tFB5051EC2E3C2C0DACFD37D1E794444AC27B8316_StaticFields, ___quitting_5)); }
inline Action_t591D2A86165F896B4B800BB5C25CE18672A55579 * get_quitting_5() const { return ___quitting_5; }
inline Action_t591D2A86165F896B4B800BB5C25CE18672A55579 ** get_address_of_quitting_5() { return &___quitting_5; }
inline void set_quitting_5(Action_t591D2A86165F896B4B800BB5C25CE18672A55579 * value)
{
___quitting_5 = value;
Il2CppCodeGenWriteBarrier((&___quitting_5), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // APPLICATION_TFB5051EC2E3C2C0DACFD37D1E794444AC27B8316_H
#ifndef ATTRIBUTEHELPERENGINE_T22E0A0A6E68E2DFAFB28B91CC8AFCE4630723601_H
#define ATTRIBUTEHELPERENGINE_T22E0A0A6E68E2DFAFB28B91CC8AFCE4630723601_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.AttributeHelperEngine
struct AttributeHelperEngine_t22E0A0A6E68E2DFAFB28B91CC8AFCE4630723601 : public RuntimeObject
{
public:
public:
};
struct AttributeHelperEngine_t22E0A0A6E68E2DFAFB28B91CC8AFCE4630723601_StaticFields
{
public:
// UnityEngine.DisallowMultipleComponent[] UnityEngine.AttributeHelperEngine::_disallowMultipleComponentArray
DisallowMultipleComponentU5BU5D_t59E317D853AAC982D5D18D4C1581422FC151F7E3* ____disallowMultipleComponentArray_0;
// UnityEngine.ExecuteInEditMode[] UnityEngine.AttributeHelperEngine::_executeInEditModeArray
ExecuteInEditModeU5BU5D_tAE8DA030BEBA505907556F161EB49FD565976C80* ____executeInEditModeArray_1;
// UnityEngine.RequireComponent[] UnityEngine.AttributeHelperEngine::_requireComponentArray
RequireComponentU5BU5D_t4295259AA991FCAA75878E4731813266CFC5351D* ____requireComponentArray_2;
public:
inline static int32_t get_offset_of__disallowMultipleComponentArray_0() { return static_cast<int32_t>(offsetof(AttributeHelperEngine_t22E0A0A6E68E2DFAFB28B91CC8AFCE4630723601_StaticFields, ____disallowMultipleComponentArray_0)); }
inline DisallowMultipleComponentU5BU5D_t59E317D853AAC982D5D18D4C1581422FC151F7E3* get__disallowMultipleComponentArray_0() const { return ____disallowMultipleComponentArray_0; }
inline DisallowMultipleComponentU5BU5D_t59E317D853AAC982D5D18D4C1581422FC151F7E3** get_address_of__disallowMultipleComponentArray_0() { return &____disallowMultipleComponentArray_0; }
inline void set__disallowMultipleComponentArray_0(DisallowMultipleComponentU5BU5D_t59E317D853AAC982D5D18D4C1581422FC151F7E3* value)
{
____disallowMultipleComponentArray_0 = value;
Il2CppCodeGenWriteBarrier((&____disallowMultipleComponentArray_0), value);
}
inline static int32_t get_offset_of__executeInEditModeArray_1() { return static_cast<int32_t>(offsetof(AttributeHelperEngine_t22E0A0A6E68E2DFAFB28B91CC8AFCE4630723601_StaticFields, ____executeInEditModeArray_1)); }
inline ExecuteInEditModeU5BU5D_tAE8DA030BEBA505907556F161EB49FD565976C80* get__executeInEditModeArray_1() const { return ____executeInEditModeArray_1; }
inline ExecuteInEditModeU5BU5D_tAE8DA030BEBA505907556F161EB49FD565976C80** get_address_of__executeInEditModeArray_1() { return &____executeInEditModeArray_1; }
inline void set__executeInEditModeArray_1(ExecuteInEditModeU5BU5D_tAE8DA030BEBA505907556F161EB49FD565976C80* value)
{
____executeInEditModeArray_1 = value;
Il2CppCodeGenWriteBarrier((&____executeInEditModeArray_1), value);
}
inline static int32_t get_offset_of__requireComponentArray_2() { return static_cast<int32_t>(offsetof(AttributeHelperEngine_t22E0A0A6E68E2DFAFB28B91CC8AFCE4630723601_StaticFields, ____requireComponentArray_2)); }
inline RequireComponentU5BU5D_t4295259AA991FCAA75878E4731813266CFC5351D* get__requireComponentArray_2() const { return ____requireComponentArray_2; }
inline RequireComponentU5BU5D_t4295259AA991FCAA75878E4731813266CFC5351D** get_address_of__requireComponentArray_2() { return &____requireComponentArray_2; }
inline void set__requireComponentArray_2(RequireComponentU5BU5D_t4295259AA991FCAA75878E4731813266CFC5351D* value)
{
____requireComponentArray_2 = value;
Il2CppCodeGenWriteBarrier((&____requireComponentArray_2), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ATTRIBUTEHELPERENGINE_T22E0A0A6E68E2DFAFB28B91CC8AFCE4630723601_H
#ifndef BEFORERENDERHELPER_TCD998F49EADBEE71F9B1A4381F9495633D09A2C2_H
#define BEFORERENDERHELPER_TCD998F49EADBEE71F9B1A4381F9495633D09A2C2_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.BeforeRenderHelper
struct BeforeRenderHelper_tCD998F49EADBEE71F9B1A4381F9495633D09A2C2 : public RuntimeObject
{
public:
public:
};
struct BeforeRenderHelper_tCD998F49EADBEE71F9B1A4381F9495633D09A2C2_StaticFields
{
public:
// System.Collections.Generic.List`1<UnityEngine.BeforeRenderHelper_OrderBlock> UnityEngine.BeforeRenderHelper::s_OrderBlocks
List_1_t53AD896B2509A4686D143641030CF022753D3B04 * ___s_OrderBlocks_0;
public:
inline static int32_t get_offset_of_s_OrderBlocks_0() { return static_cast<int32_t>(offsetof(BeforeRenderHelper_tCD998F49EADBEE71F9B1A4381F9495633D09A2C2_StaticFields, ___s_OrderBlocks_0)); }
inline List_1_t53AD896B2509A4686D143641030CF022753D3B04 * get_s_OrderBlocks_0() const { return ___s_OrderBlocks_0; }
inline List_1_t53AD896B2509A4686D143641030CF022753D3B04 ** get_address_of_s_OrderBlocks_0() { return &___s_OrderBlocks_0; }
inline void set_s_OrderBlocks_0(List_1_t53AD896B2509A4686D143641030CF022753D3B04 * value)
{
___s_OrderBlocks_0 = value;
Il2CppCodeGenWriteBarrier((&___s_OrderBlocks_0), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // BEFORERENDERHELPER_TCD998F49EADBEE71F9B1A4381F9495633D09A2C2_H
#ifndef CLASSLIBRARYINITIALIZER_T24E21A05B08AF4DF2E31A47DBA9606ACC3529C00_H
#define CLASSLIBRARYINITIALIZER_T24E21A05B08AF4DF2E31A47DBA9606ACC3529C00_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.ClassLibraryInitializer
struct ClassLibraryInitializer_t24E21A05B08AF4DF2E31A47DBA9606ACC3529C00 : public RuntimeObject
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // CLASSLIBRARYINITIALIZER_T24E21A05B08AF4DF2E31A47DBA9606ACC3529C00_H
#ifndef CURSOR_TB2534663A596902A88A21D54F3DF5AD30F4E048A_H
#define CURSOR_TB2534663A596902A88A21D54F3DF5AD30F4E048A_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.Cursor
struct Cursor_tB2534663A596902A88A21D54F3DF5AD30F4E048A : public RuntimeObject
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // CURSOR_TB2534663A596902A88A21D54F3DF5AD30F4E048A_H
#ifndef CUSTOMYIELDINSTRUCTION_T819BB0973AFF22766749FF087B8AEFEAF3C2CB7D_H
#define CUSTOMYIELDINSTRUCTION_T819BB0973AFF22766749FF087B8AEFEAF3C2CB7D_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.CustomYieldInstruction
struct CustomYieldInstruction_t819BB0973AFF22766749FF087B8AEFEAF3C2CB7D : public RuntimeObject
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // CUSTOMYIELDINSTRUCTION_T819BB0973AFF22766749FF087B8AEFEAF3C2CB7D_H
#ifndef DEBUG_T7B5FCB117E2FD63B6838BC52821B252E2BFB61C4_H
#define DEBUG_T7B5FCB117E2FD63B6838BC52821B252E2BFB61C4_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.Debug
struct Debug_t7B5FCB117E2FD63B6838BC52821B252E2BFB61C4 : public RuntimeObject
{
public:
public:
};
struct Debug_t7B5FCB117E2FD63B6838BC52821B252E2BFB61C4_StaticFields
{
public:
// UnityEngine.ILogger UnityEngine.Debug::s_Logger
RuntimeObject* ___s_Logger_0;
public:
inline static int32_t get_offset_of_s_Logger_0() { return static_cast<int32_t>(offsetof(Debug_t7B5FCB117E2FD63B6838BC52821B252E2BFB61C4_StaticFields, ___s_Logger_0)); }
inline RuntimeObject* get_s_Logger_0() const { return ___s_Logger_0; }
inline RuntimeObject** get_address_of_s_Logger_0() { return &___s_Logger_0; }
inline void set_s_Logger_0(RuntimeObject* value)
{
___s_Logger_0 = value;
Il2CppCodeGenWriteBarrier((&___s_Logger_0), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // DEBUG_T7B5FCB117E2FD63B6838BC52821B252E2BFB61C4_H
#ifndef DEBUGLOGHANDLER_TA80C96792806DC12E21DE8B2FF47B69846467C70_H
#define DEBUGLOGHANDLER_TA80C96792806DC12E21DE8B2FF47B69846467C70_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.DebugLogHandler
struct DebugLogHandler_tA80C96792806DC12E21DE8B2FF47B69846467C70 : public RuntimeObject
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // DEBUGLOGHANDLER_TA80C96792806DC12E21DE8B2FF47B69846467C70_H
#ifndef GL_T9943600BC77EB1AC120CDD367ADE6F9F23888C99_H
#define GL_T9943600BC77EB1AC120CDD367ADE6F9F23888C99_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.GL
struct GL_t9943600BC77EB1AC120CDD367ADE6F9F23888C99 : public RuntimeObject
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // GL_T9943600BC77EB1AC120CDD367ADE6F9F23888C99_H
#ifndef SCREEN_T944BF198A224711F69B3AA5B8C080A3A4179D3BD_H
#define SCREEN_T944BF198A224711F69B3AA5B8C080A3A4179D3BD_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.Screen
struct Screen_t944BF198A224711F69B3AA5B8C080A3A4179D3BD : public RuntimeObject
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // SCREEN_T944BF198A224711F69B3AA5B8C080A3A4179D3BD_H
#ifndef SETUPCOROUTINE_T23D96E8946556DF54E40AC4495CE62B17997D394_H
#define SETUPCOROUTINE_T23D96E8946556DF54E40AC4495CE62B17997D394_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.SetupCoroutine
struct SetupCoroutine_t23D96E8946556DF54E40AC4495CE62B17997D394 : public RuntimeObject
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // SETUPCOROUTINE_T23D96E8946556DF54E40AC4495CE62B17997D394_H
#ifndef UNITYSTRING_T23ABC3E7AC3E5DA2DAF1DE7A50E1670E3DC6691B_H
#define UNITYSTRING_T23ABC3E7AC3E5DA2DAF1DE7A50E1670E3DC6691B_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.UnityString
struct UnityString_t23ABC3E7AC3E5DA2DAF1DE7A50E1670E3DC6691B : public RuntimeObject
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // UNITYSTRING_T23ABC3E7AC3E5DA2DAF1DE7A50E1670E3DC6691B_H
#ifndef YIELDINSTRUCTION_T836035AC7BD07A3C7909F7AD2A5B42DE99D91C44_H
#define YIELDINSTRUCTION_T836035AC7BD07A3C7909F7AD2A5B42DE99D91C44_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.YieldInstruction
struct YieldInstruction_t836035AC7BD07A3C7909F7AD2A5B42DE99D91C44 : public RuntimeObject
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
// Native definition for P/Invoke marshalling of UnityEngine.YieldInstruction
struct YieldInstruction_t836035AC7BD07A3C7909F7AD2A5B42DE99D91C44_marshaled_pinvoke
{
};
// Native definition for COM marshalling of UnityEngine.YieldInstruction
struct YieldInstruction_t836035AC7BD07A3C7909F7AD2A5B42DE99D91C44_marshaled_com
{
};
#endif // YIELDINSTRUCTION_T836035AC7BD07A3C7909F7AD2A5B42DE99D91C44_H
#ifndef MONOPINVOKECALLBACKATTRIBUTE_TB543617AB871D80B122E5F5AD3D51F08FFE3E406_H
#define MONOPINVOKECALLBACKATTRIBUTE_TB543617AB871D80B122E5F5AD3D51F08FFE3E406_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// AOT.MonoPInvokeCallbackAttribute
struct MonoPInvokeCallbackAttribute_tB543617AB871D80B122E5F5AD3D51F08FFE3E406 : public Attribute_tF048C13FB3C8CFCC53F82290E4A3F621089F9A74
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // MONOPINVOKECALLBACKATTRIBUTE_TB543617AB871D80B122E5F5AD3D51F08FFE3E406_H
#ifndef ENUM_T2AF27C02B8653AE29442467390005ABC74D8F521_H
#define ENUM_T2AF27C02B8653AE29442467390005ABC74D8F521_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Enum
struct Enum_t2AF27C02B8653AE29442467390005ABC74D8F521 : public ValueType_t4D0C27076F7C36E76190FB3328E232BCB1CD1FFF
{
public:
public:
};
struct Enum_t2AF27C02B8653AE29442467390005ABC74D8F521_StaticFields
{
public:
// System.Char[] System.Enum::enumSeperatorCharArray
CharU5BU5D_t4CC6ABF0AD71BEC97E3C2F1E9C5677E46D3A75C2* ___enumSeperatorCharArray_0;
public:
inline static int32_t get_offset_of_enumSeperatorCharArray_0() { return static_cast<int32_t>(offsetof(Enum_t2AF27C02B8653AE29442467390005ABC74D8F521_StaticFields, ___enumSeperatorCharArray_0)); }
inline CharU5BU5D_t4CC6ABF0AD71BEC97E3C2F1E9C5677E46D3A75C2* get_enumSeperatorCharArray_0() const { return ___enumSeperatorCharArray_0; }
inline CharU5BU5D_t4CC6ABF0AD71BEC97E3C2F1E9C5677E46D3A75C2** get_address_of_enumSeperatorCharArray_0() { return &___enumSeperatorCharArray_0; }
inline void set_enumSeperatorCharArray_0(CharU5BU5D_t4CC6ABF0AD71BEC97E3C2F1E9C5677E46D3A75C2* value)
{
___enumSeperatorCharArray_0 = value;
Il2CppCodeGenWriteBarrier((&___enumSeperatorCharArray_0), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
// Native definition for P/Invoke marshalling of System.Enum
struct Enum_t2AF27C02B8653AE29442467390005ABC74D8F521_marshaled_pinvoke
{
};
// Native definition for COM marshalling of System.Enum
struct Enum_t2AF27C02B8653AE29442467390005ABC74D8F521_marshaled_com
{
};
#endif // ENUM_T2AF27C02B8653AE29442467390005ABC74D8F521_H
#ifndef INTPTR_T_H
#define INTPTR_T_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.IntPtr
struct IntPtr_t
{
public:
// System.Void* System.IntPtr::m_value
void* ___m_value_0;
public:
inline static int32_t get_offset_of_m_value_0() { return static_cast<int32_t>(offsetof(IntPtr_t, ___m_value_0)); }
inline void* get_m_value_0() const { return ___m_value_0; }
inline void** get_address_of_m_value_0() { return &___m_value_0; }
inline void set_m_value_0(void* value)
{
___m_value_0 = value;
}
};
struct IntPtr_t_StaticFields
{
public:
// System.IntPtr System.IntPtr::Zero
intptr_t ___Zero_1;
public:
inline static int32_t get_offset_of_Zero_1() { return static_cast<int32_t>(offsetof(IntPtr_t_StaticFields, ___Zero_1)); }
inline intptr_t get_Zero_1() const { return ___Zero_1; }
inline intptr_t* get_address_of_Zero_1() { return &___Zero_1; }
inline void set_Zero_1(intptr_t value)
{
___Zero_1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // INTPTR_T_H
#ifndef VOID_T22962CB4C05B1D89B55A6E1139F0E87A90987017_H
#define VOID_T22962CB4C05B1D89B55A6E1139F0E87A90987017_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Void
struct Void_t22962CB4C05B1D89B55A6E1139F0E87A90987017
{
public:
union
{
struct
{
};
uint8_t Void_t22962CB4C05B1D89B55A6E1139F0E87A90987017__padding[1];
};
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // VOID_T22962CB4C05B1D89B55A6E1139F0E87A90987017_H
#ifndef ADDCOMPONENTMENU_TFC506BD3AC7C5903974088EF5A1815BC72AF8245_H
#define ADDCOMPONENTMENU_TFC506BD3AC7C5903974088EF5A1815BC72AF8245_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.AddComponentMenu
struct AddComponentMenu_tFC506BD3AC7C5903974088EF5A1815BC72AF8245 : public Attribute_tF048C13FB3C8CFCC53F82290E4A3F621089F9A74
{
public:
// System.String UnityEngine.AddComponentMenu::m_AddComponentMenu
String_t* ___m_AddComponentMenu_0;
// System.Int32 UnityEngine.AddComponentMenu::m_Ordering
int32_t ___m_Ordering_1;
public:
inline static int32_t get_offset_of_m_AddComponentMenu_0() { return static_cast<int32_t>(offsetof(AddComponentMenu_tFC506BD3AC7C5903974088EF5A1815BC72AF8245, ___m_AddComponentMenu_0)); }
inline String_t* get_m_AddComponentMenu_0() const { return ___m_AddComponentMenu_0; }
inline String_t** get_address_of_m_AddComponentMenu_0() { return &___m_AddComponentMenu_0; }
inline void set_m_AddComponentMenu_0(String_t* value)
{
___m_AddComponentMenu_0 = value;
Il2CppCodeGenWriteBarrier((&___m_AddComponentMenu_0), value);
}
inline static int32_t get_offset_of_m_Ordering_1() { return static_cast<int32_t>(offsetof(AddComponentMenu_tFC506BD3AC7C5903974088EF5A1815BC72AF8245, ___m_Ordering_1)); }
inline int32_t get_m_Ordering_1() const { return ___m_Ordering_1; }
inline int32_t* get_address_of_m_Ordering_1() { return &___m_Ordering_1; }
inline void set_m_Ordering_1(int32_t value)
{
___m_Ordering_1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ADDCOMPONENTMENU_TFC506BD3AC7C5903974088EF5A1815BC72AF8245_H
#ifndef ASSEMBLYISEDITORASSEMBLY_T195DAEA39D7334D226FDD85F18907498900D76CF_H
#define ASSEMBLYISEDITORASSEMBLY_T195DAEA39D7334D226FDD85F18907498900D76CF_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.AssemblyIsEditorAssembly
struct AssemblyIsEditorAssembly_t195DAEA39D7334D226FDD85F18907498900D76CF : public Attribute_tF048C13FB3C8CFCC53F82290E4A3F621089F9A74
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // ASSEMBLYISEDITORASSEMBLY_T195DAEA39D7334D226FDD85F18907498900D76CF_H
#ifndef ORDERBLOCK_T3B2BBCE8320FAEC3DB605F7DC9AB641102F53727_H
#define ORDERBLOCK_T3B2BBCE8320FAEC3DB605F7DC9AB641102F53727_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.BeforeRenderHelper_OrderBlock
struct OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727
{
public:
// System.Int32 UnityEngine.BeforeRenderHelper_OrderBlock::order
int32_t ___order_0;
// UnityEngine.Events.UnityAction UnityEngine.BeforeRenderHelper_OrderBlock::callback
UnityAction_tD19B26F1B2C048E38FD5801A33573BE01064CAF4 * ___callback_1;
public:
inline static int32_t get_offset_of_order_0() { return static_cast<int32_t>(offsetof(OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727, ___order_0)); }
inline int32_t get_order_0() const { return ___order_0; }
inline int32_t* get_address_of_order_0() { return &___order_0; }
inline void set_order_0(int32_t value)
{
___order_0 = value;
}
inline static int32_t get_offset_of_callback_1() { return static_cast<int32_t>(offsetof(OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727, ___callback_1)); }
inline UnityAction_tD19B26F1B2C048E38FD5801A33573BE01064CAF4 * get_callback_1() const { return ___callback_1; }
inline UnityAction_tD19B26F1B2C048E38FD5801A33573BE01064CAF4 ** get_address_of_callback_1() { return &___callback_1; }
inline void set_callback_1(UnityAction_tD19B26F1B2C048E38FD5801A33573BE01064CAF4 * value)
{
___callback_1 = value;
Il2CppCodeGenWriteBarrier((&___callback_1), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
// Native definition for P/Invoke marshalling of UnityEngine.BeforeRenderHelper/OrderBlock
struct OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727_marshaled_pinvoke
{
int32_t ___order_0;
Il2CppMethodPointer ___callback_1;
};
// Native definition for COM marshalling of UnityEngine.BeforeRenderHelper/OrderBlock
struct OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727_marshaled_com
{
int32_t ___order_0;
Il2CppMethodPointer ___callback_1;
};
#endif // ORDERBLOCK_T3B2BBCE8320FAEC3DB605F7DC9AB641102F53727_H
#ifndef BEFORERENDERORDERATTRIBUTE_T07A5919B12A5AF3FD562B99493E6C0FDA26FE6B5_H
#define BEFORERENDERORDERATTRIBUTE_T07A5919B12A5AF3FD562B99493E6C0FDA26FE6B5_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.BeforeRenderOrderAttribute
struct BeforeRenderOrderAttribute_t07A5919B12A5AF3FD562B99493E6C0FDA26FE6B5 : public Attribute_tF048C13FB3C8CFCC53F82290E4A3F621089F9A74
{
public:
// System.Int32 UnityEngine.BeforeRenderOrderAttribute::<order>k__BackingField
int32_t ___U3CorderU3Ek__BackingField_0;
public:
inline static int32_t get_offset_of_U3CorderU3Ek__BackingField_0() { return static_cast<int32_t>(offsetof(BeforeRenderOrderAttribute_t07A5919B12A5AF3FD562B99493E6C0FDA26FE6B5, ___U3CorderU3Ek__BackingField_0)); }
inline int32_t get_U3CorderU3Ek__BackingField_0() const { return ___U3CorderU3Ek__BackingField_0; }
inline int32_t* get_address_of_U3CorderU3Ek__BackingField_0() { return &___U3CorderU3Ek__BackingField_0; }
inline void set_U3CorderU3Ek__BackingField_0(int32_t value)
{
___U3CorderU3Ek__BackingField_0 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // BEFORERENDERORDERATTRIBUTE_T07A5919B12A5AF3FD562B99493E6C0FDA26FE6B5_H
#ifndef IGNOREATTRIBUTE_TD849E806CA1C75980B97B047908DE57D156B775F_H
#define IGNOREATTRIBUTE_TD849E806CA1C75980B97B047908DE57D156B775F_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.Bindings.IgnoreAttribute
struct IgnoreAttribute_tD849E806CA1C75980B97B047908DE57D156B775F : public Attribute_tF048C13FB3C8CFCC53F82290E4A3F621089F9A74
{
public:
// System.Boolean UnityEngine.Bindings.IgnoreAttribute::<DoesNotContributeToSize>k__BackingField
bool ___U3CDoesNotContributeToSizeU3Ek__BackingField_0;
public:
inline static int32_t get_offset_of_U3CDoesNotContributeToSizeU3Ek__BackingField_0() { return static_cast<int32_t>(offsetof(IgnoreAttribute_tD849E806CA1C75980B97B047908DE57D156B775F, ___U3CDoesNotContributeToSizeU3Ek__BackingField_0)); }
inline bool get_U3CDoesNotContributeToSizeU3Ek__BackingField_0() const { return ___U3CDoesNotContributeToSizeU3Ek__BackingField_0; }
inline bool* get_address_of_U3CDoesNotContributeToSizeU3Ek__BackingField_0() { return &___U3CDoesNotContributeToSizeU3Ek__BackingField_0; }
inline void set_U3CDoesNotContributeToSizeU3Ek__BackingField_0(bool value)
{
___U3CDoesNotContributeToSizeU3Ek__BackingField_0 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // IGNOREATTRIBUTE_TD849E806CA1C75980B97B047908DE57D156B775F_H
#ifndef NATIVEMETHODATTRIBUTE_TB1AB33D5877AD8417C7E646A48AF1941283DC309_H
#define NATIVEMETHODATTRIBUTE_TB1AB33D5877AD8417C7E646A48AF1941283DC309_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.Bindings.NativeMethodAttribute
struct NativeMethodAttribute_tB1AB33D5877AD8417C7E646A48AF1941283DC309 : public Attribute_tF048C13FB3C8CFCC53F82290E4A3F621089F9A74
{
public:
// System.String UnityEngine.Bindings.NativeMethodAttribute::<Name>k__BackingField
String_t* ___U3CNameU3Ek__BackingField_0;
// System.Boolean UnityEngine.Bindings.NativeMethodAttribute::<IsThreadSafe>k__BackingField
bool ___U3CIsThreadSafeU3Ek__BackingField_1;
// System.Boolean UnityEngine.Bindings.NativeMethodAttribute::<IsFreeFunction>k__BackingField
bool ___U3CIsFreeFunctionU3Ek__BackingField_2;
// System.Boolean UnityEngine.Bindings.NativeMethodAttribute::<ThrowsException>k__BackingField
bool ___U3CThrowsExceptionU3Ek__BackingField_3;
// System.Boolean UnityEngine.Bindings.NativeMethodAttribute::<HasExplicitThis>k__BackingField
bool ___U3CHasExplicitThisU3Ek__BackingField_4;
public:
inline static int32_t get_offset_of_U3CNameU3Ek__BackingField_0() { return static_cast<int32_t>(offsetof(NativeMethodAttribute_tB1AB33D5877AD8417C7E646A48AF1941283DC309, ___U3CNameU3Ek__BackingField_0)); }
inline String_t* get_U3CNameU3Ek__BackingField_0() const { return ___U3CNameU3Ek__BackingField_0; }
inline String_t** get_address_of_U3CNameU3Ek__BackingField_0() { return &___U3CNameU3Ek__BackingField_0; }
inline void set_U3CNameU3Ek__BackingField_0(String_t* value)
{
___U3CNameU3Ek__BackingField_0 = value;
Il2CppCodeGenWriteBarrier((&___U3CNameU3Ek__BackingField_0), value);
}
inline static int32_t get_offset_of_U3CIsThreadSafeU3Ek__BackingField_1() { return static_cast<int32_t>(offsetof(NativeMethodAttribute_tB1AB33D5877AD8417C7E646A48AF1941283DC309, ___U3CIsThreadSafeU3Ek__BackingField_1)); }
inline bool get_U3CIsThreadSafeU3Ek__BackingField_1() const { return ___U3CIsThreadSafeU3Ek__BackingField_1; }
inline bool* get_address_of_U3CIsThreadSafeU3Ek__BackingField_1() { return &___U3CIsThreadSafeU3Ek__BackingField_1; }
inline void set_U3CIsThreadSafeU3Ek__BackingField_1(bool value)
{
___U3CIsThreadSafeU3Ek__BackingField_1 = value;
}
inline static int32_t get_offset_of_U3CIsFreeFunctionU3Ek__BackingField_2() { return static_cast<int32_t>(offsetof(NativeMethodAttribute_tB1AB33D5877AD8417C7E646A48AF1941283DC309, ___U3CIsFreeFunctionU3Ek__BackingField_2)); }
inline bool get_U3CIsFreeFunctionU3Ek__BackingField_2() const { return ___U3CIsFreeFunctionU3Ek__BackingField_2; }
inline bool* get_address_of_U3CIsFreeFunctionU3Ek__BackingField_2() { return &___U3CIsFreeFunctionU3Ek__BackingField_2; }
inline void set_U3CIsFreeFunctionU3Ek__BackingField_2(bool value)
{
___U3CIsFreeFunctionU3Ek__BackingField_2 = value;
}
inline static int32_t get_offset_of_U3CThrowsExceptionU3Ek__BackingField_3() { return static_cast<int32_t>(offsetof(NativeMethodAttribute_tB1AB33D5877AD8417C7E646A48AF1941283DC309, ___U3CThrowsExceptionU3Ek__BackingField_3)); }
inline bool get_U3CThrowsExceptionU3Ek__BackingField_3() const { return ___U3CThrowsExceptionU3Ek__BackingField_3; }
inline bool* get_address_of_U3CThrowsExceptionU3Ek__BackingField_3() { return &___U3CThrowsExceptionU3Ek__BackingField_3; }
inline void set_U3CThrowsExceptionU3Ek__BackingField_3(bool value)
{
___U3CThrowsExceptionU3Ek__BackingField_3 = value;
}
inline static int32_t get_offset_of_U3CHasExplicitThisU3Ek__BackingField_4() { return static_cast<int32_t>(offsetof(NativeMethodAttribute_tB1AB33D5877AD8417C7E646A48AF1941283DC309, ___U3CHasExplicitThisU3Ek__BackingField_4)); }
inline bool get_U3CHasExplicitThisU3Ek__BackingField_4() const { return ___U3CHasExplicitThisU3Ek__BackingField_4; }
inline bool* get_address_of_U3CHasExplicitThisU3Ek__BackingField_4() { return &___U3CHasExplicitThisU3Ek__BackingField_4; }
inline void set_U3CHasExplicitThisU3Ek__BackingField_4(bool value)
{
___U3CHasExplicitThisU3Ek__BackingField_4 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // NATIVEMETHODATTRIBUTE_TB1AB33D5877AD8417C7E646A48AF1941283DC309_H
#ifndef NATIVETHROWSATTRIBUTE_T0DAF98C14FF11B321CBB7131226E0A2413426EFA_H
#define NATIVETHROWSATTRIBUTE_T0DAF98C14FF11B321CBB7131226E0A2413426EFA_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.Bindings.NativeThrowsAttribute
struct NativeThrowsAttribute_t0DAF98C14FF11B321CBB7131226E0A2413426EFA : public Attribute_tF048C13FB3C8CFCC53F82290E4A3F621089F9A74
{
public:
// System.Boolean UnityEngine.Bindings.NativeThrowsAttribute::<ThrowsException>k__BackingField
bool ___U3CThrowsExceptionU3Ek__BackingField_0;
public:
inline static int32_t get_offset_of_U3CThrowsExceptionU3Ek__BackingField_0() { return static_cast<int32_t>(offsetof(NativeThrowsAttribute_t0DAF98C14FF11B321CBB7131226E0A2413426EFA, ___U3CThrowsExceptionU3Ek__BackingField_0)); }
inline bool get_U3CThrowsExceptionU3Ek__BackingField_0() const { return ___U3CThrowsExceptionU3Ek__BackingField_0; }
inline bool* get_address_of_U3CThrowsExceptionU3Ek__BackingField_0() { return &___U3CThrowsExceptionU3Ek__BackingField_0; }
inline void set_U3CThrowsExceptionU3Ek__BackingField_0(bool value)
{
___U3CThrowsExceptionU3Ek__BackingField_0 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // NATIVETHROWSATTRIBUTE_T0DAF98C14FF11B321CBB7131226E0A2413426EFA_H
#ifndef NOTNULLATTRIBUTE_T04A526B0B7DD6B37D2FFC6E5079575E0C461E2A0_H
#define NOTNULLATTRIBUTE_T04A526B0B7DD6B37D2FFC6E5079575E0C461E2A0_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.Bindings.NotNullAttribute
struct NotNullAttribute_t04A526B0B7DD6B37D2FFC6E5079575E0C461E2A0 : public Attribute_tF048C13FB3C8CFCC53F82290E4A3F621089F9A74
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // NOTNULLATTRIBUTE_T04A526B0B7DD6B37D2FFC6E5079575E0C461E2A0_H
#ifndef COLOR_T119BCA590009762C7223FDD3AF9706653AC84ED2_H
#define COLOR_T119BCA590009762C7223FDD3AF9706653AC84ED2_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.Color
struct Color_t119BCA590009762C7223FDD3AF9706653AC84ED2
{
public:
// System.Single UnityEngine.Color::r
float ___r_0;
// System.Single UnityEngine.Color::g
float ___g_1;
// System.Single UnityEngine.Color::b
float ___b_2;
// System.Single UnityEngine.Color::a
float ___a_3;
public:
inline static int32_t get_offset_of_r_0() { return static_cast<int32_t>(offsetof(Color_t119BCA590009762C7223FDD3AF9706653AC84ED2, ___r_0)); }
inline float get_r_0() const { return ___r_0; }
inline float* get_address_of_r_0() { return &___r_0; }
inline void set_r_0(float value)
{
___r_0 = value;
}
inline static int32_t get_offset_of_g_1() { return static_cast<int32_t>(offsetof(Color_t119BCA590009762C7223FDD3AF9706653AC84ED2, ___g_1)); }
inline float get_g_1() const { return ___g_1; }
inline float* get_address_of_g_1() { return &___g_1; }
inline void set_g_1(float value)
{
___g_1 = value;
}
inline static int32_t get_offset_of_b_2() { return static_cast<int32_t>(offsetof(Color_t119BCA590009762C7223FDD3AF9706653AC84ED2, ___b_2)); }
inline float get_b_2() const { return ___b_2; }
inline float* get_address_of_b_2() { return &___b_2; }
inline void set_b_2(float value)
{
___b_2 = value;
}
inline static int32_t get_offset_of_a_3() { return static_cast<int32_t>(offsetof(Color_t119BCA590009762C7223FDD3AF9706653AC84ED2, ___a_3)); }
inline float get_a_3() const { return ___a_3; }
inline float* get_address_of_a_3() { return &___a_3; }
inline void set_a_3(float value)
{
___a_3 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // COLOR_T119BCA590009762C7223FDD3AF9706653AC84ED2_H
#ifndef COLOR32_T23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23_H
#define COLOR32_T23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.Color32
struct Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23
{
public:
union
{
#pragma pack(push, tp, 1)
struct
{
// System.Int32 UnityEngine.Color32::rgba
int32_t ___rgba_0;
};
#pragma pack(pop, tp)
struct
{
int32_t ___rgba_0_forAlignmentOnly;
};
#pragma pack(push, tp, 1)
struct
{
// System.Byte UnityEngine.Color32::r
uint8_t ___r_1;
};
#pragma pack(pop, tp)
struct
{
uint8_t ___r_1_forAlignmentOnly;
};
#pragma pack(push, tp, 1)
struct
{
char ___g_2_OffsetPadding[1];
// System.Byte UnityEngine.Color32::g
uint8_t ___g_2;
};
#pragma pack(pop, tp)
struct
{
char ___g_2_OffsetPadding_forAlignmentOnly[1];
uint8_t ___g_2_forAlignmentOnly;
};
#pragma pack(push, tp, 1)
struct
{
char ___b_3_OffsetPadding[2];
// System.Byte UnityEngine.Color32::b
uint8_t ___b_3;
};
#pragma pack(pop, tp)
struct
{
char ___b_3_OffsetPadding_forAlignmentOnly[2];
uint8_t ___b_3_forAlignmentOnly;
};
#pragma pack(push, tp, 1)
struct
{
char ___a_4_OffsetPadding[3];
// System.Byte UnityEngine.Color32::a
uint8_t ___a_4;
};
#pragma pack(pop, tp)
struct
{
char ___a_4_OffsetPadding_forAlignmentOnly[3];
uint8_t ___a_4_forAlignmentOnly;
};
};
public:
inline static int32_t get_offset_of_rgba_0() { return static_cast<int32_t>(offsetof(Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23, ___rgba_0)); }
inline int32_t get_rgba_0() const { return ___rgba_0; }
inline int32_t* get_address_of_rgba_0() { return &___rgba_0; }
inline void set_rgba_0(int32_t value)
{
___rgba_0 = value;
}
inline static int32_t get_offset_of_r_1() { return static_cast<int32_t>(offsetof(Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23, ___r_1)); }
inline uint8_t get_r_1() const { return ___r_1; }
inline uint8_t* get_address_of_r_1() { return &___r_1; }
inline void set_r_1(uint8_t value)
{
___r_1 = value;
}
inline static int32_t get_offset_of_g_2() { return static_cast<int32_t>(offsetof(Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23, ___g_2)); }
inline uint8_t get_g_2() const { return ___g_2; }
inline uint8_t* get_address_of_g_2() { return &___g_2; }
inline void set_g_2(uint8_t value)
{
___g_2 = value;
}
inline static int32_t get_offset_of_b_3() { return static_cast<int32_t>(offsetof(Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23, ___b_3)); }
inline uint8_t get_b_3() const { return ___b_3; }
inline uint8_t* get_address_of_b_3() { return &___b_3; }
inline void set_b_3(uint8_t value)
{
___b_3 = value;
}
inline static int32_t get_offset_of_a_4() { return static_cast<int32_t>(offsetof(Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23, ___a_4)); }
inline uint8_t get_a_4() const { return ___a_4; }
inline uint8_t* get_address_of_a_4() { return &___a_4; }
inline void set_a_4(uint8_t value)
{
___a_4 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // COLOR32_T23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23_H
#ifndef CONTEXTMENU_T3D0ECE9B3C39699CBA1E1F56E05C93533657F8DC_H
#define CONTEXTMENU_T3D0ECE9B3C39699CBA1E1F56E05C93533657F8DC_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.ContextMenu
struct ContextMenu_t3D0ECE9B3C39699CBA1E1F56E05C93533657F8DC : public Attribute_tF048C13FB3C8CFCC53F82290E4A3F621089F9A74
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // CONTEXTMENU_T3D0ECE9B3C39699CBA1E1F56E05C93533657F8DC_H
#ifndef CREATEASSETMENUATTRIBUTE_T5642A3EBFE78285E0F52E9882FEE496F6E5B850C_H
#define CREATEASSETMENUATTRIBUTE_T5642A3EBFE78285E0F52E9882FEE496F6E5B850C_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.CreateAssetMenuAttribute
struct CreateAssetMenuAttribute_t5642A3EBFE78285E0F52E9882FEE496F6E5B850C : public Attribute_tF048C13FB3C8CFCC53F82290E4A3F621089F9A74
{
public:
// System.String UnityEngine.CreateAssetMenuAttribute::<menuName>k__BackingField
String_t* ___U3CmenuNameU3Ek__BackingField_0;
// System.String UnityEngine.CreateAssetMenuAttribute::<fileName>k__BackingField
String_t* ___U3CfileNameU3Ek__BackingField_1;
// System.Int32 UnityEngine.CreateAssetMenuAttribute::<order>k__BackingField
int32_t ___U3CorderU3Ek__BackingField_2;
public:
inline static int32_t get_offset_of_U3CmenuNameU3Ek__BackingField_0() { return static_cast<int32_t>(offsetof(CreateAssetMenuAttribute_t5642A3EBFE78285E0F52E9882FEE496F6E5B850C, ___U3CmenuNameU3Ek__BackingField_0)); }
inline String_t* get_U3CmenuNameU3Ek__BackingField_0() const { return ___U3CmenuNameU3Ek__BackingField_0; }
inline String_t** get_address_of_U3CmenuNameU3Ek__BackingField_0() { return &___U3CmenuNameU3Ek__BackingField_0; }
inline void set_U3CmenuNameU3Ek__BackingField_0(String_t* value)
{
___U3CmenuNameU3Ek__BackingField_0 = value;
Il2CppCodeGenWriteBarrier((&___U3CmenuNameU3Ek__BackingField_0), value);
}
inline static int32_t get_offset_of_U3CfileNameU3Ek__BackingField_1() { return static_cast<int32_t>(offsetof(CreateAssetMenuAttribute_t5642A3EBFE78285E0F52E9882FEE496F6E5B850C, ___U3CfileNameU3Ek__BackingField_1)); }
inline String_t* get_U3CfileNameU3Ek__BackingField_1() const { return ___U3CfileNameU3Ek__BackingField_1; }
inline String_t** get_address_of_U3CfileNameU3Ek__BackingField_1() { return &___U3CfileNameU3Ek__BackingField_1; }
inline void set_U3CfileNameU3Ek__BackingField_1(String_t* value)
{
___U3CfileNameU3Ek__BackingField_1 = value;
Il2CppCodeGenWriteBarrier((&___U3CfileNameU3Ek__BackingField_1), value);
}
inline static int32_t get_offset_of_U3CorderU3Ek__BackingField_2() { return static_cast<int32_t>(offsetof(CreateAssetMenuAttribute_t5642A3EBFE78285E0F52E9882FEE496F6E5B850C, ___U3CorderU3Ek__BackingField_2)); }
inline int32_t get_U3CorderU3Ek__BackingField_2() const { return ___U3CorderU3Ek__BackingField_2; }
inline int32_t* get_address_of_U3CorderU3Ek__BackingField_2() { return &___U3CorderU3Ek__BackingField_2; }
inline void set_U3CorderU3Ek__BackingField_2(int32_t value)
{
___U3CorderU3Ek__BackingField_2 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // CREATEASSETMENUATTRIBUTE_T5642A3EBFE78285E0F52E9882FEE496F6E5B850C_H
#ifndef CULLINGGROUPEVENT_TC36FFE61D0A4E7B31F575A1FCAEE05AC41FACA85_H
#define CULLINGGROUPEVENT_TC36FFE61D0A4E7B31F575A1FCAEE05AC41FACA85_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.CullingGroupEvent
struct CullingGroupEvent_tC36FFE61D0A4E7B31F575A1FCAEE05AC41FACA85
{
public:
// System.Int32 UnityEngine.CullingGroupEvent::m_Index
int32_t ___m_Index_0;
// System.Byte UnityEngine.CullingGroupEvent::m_PrevState
uint8_t ___m_PrevState_1;
// System.Byte UnityEngine.CullingGroupEvent::m_ThisState
uint8_t ___m_ThisState_2;
public:
inline static int32_t get_offset_of_m_Index_0() { return static_cast<int32_t>(offsetof(CullingGroupEvent_tC36FFE61D0A4E7B31F575A1FCAEE05AC41FACA85, ___m_Index_0)); }
inline int32_t get_m_Index_0() const { return ___m_Index_0; }
inline int32_t* get_address_of_m_Index_0() { return &___m_Index_0; }
inline void set_m_Index_0(int32_t value)
{
___m_Index_0 = value;
}
inline static int32_t get_offset_of_m_PrevState_1() { return static_cast<int32_t>(offsetof(CullingGroupEvent_tC36FFE61D0A4E7B31F575A1FCAEE05AC41FACA85, ___m_PrevState_1)); }
inline uint8_t get_m_PrevState_1() const { return ___m_PrevState_1; }
inline uint8_t* get_address_of_m_PrevState_1() { return &___m_PrevState_1; }
inline void set_m_PrevState_1(uint8_t value)
{
___m_PrevState_1 = value;
}
inline static int32_t get_offset_of_m_ThisState_2() { return static_cast<int32_t>(offsetof(CullingGroupEvent_tC36FFE61D0A4E7B31F575A1FCAEE05AC41FACA85, ___m_ThisState_2)); }
inline uint8_t get_m_ThisState_2() const { return ___m_ThisState_2; }
inline uint8_t* get_address_of_m_ThisState_2() { return &___m_ThisState_2; }
inline void set_m_ThisState_2(uint8_t value)
{
___m_ThisState_2 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // CULLINGGROUPEVENT_TC36FFE61D0A4E7B31F575A1FCAEE05AC41FACA85_H
#ifndef DEFAULTEXECUTIONORDER_T933EA54D4E5467321A1800D3389F25C48DE71398_H
#define DEFAULTEXECUTIONORDER_T933EA54D4E5467321A1800D3389F25C48DE71398_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.DefaultExecutionOrder
struct DefaultExecutionOrder_t933EA54D4E5467321A1800D3389F25C48DE71398 : public Attribute_tF048C13FB3C8CFCC53F82290E4A3F621089F9A74
{
public:
// System.Int32 UnityEngine.DefaultExecutionOrder::<order>k__BackingField
int32_t ___U3CorderU3Ek__BackingField_0;
public:
inline static int32_t get_offset_of_U3CorderU3Ek__BackingField_0() { return static_cast<int32_t>(offsetof(DefaultExecutionOrder_t933EA54D4E5467321A1800D3389F25C48DE71398, ___U3CorderU3Ek__BackingField_0)); }
inline int32_t get_U3CorderU3Ek__BackingField_0() const { return ___U3CorderU3Ek__BackingField_0; }
inline int32_t* get_address_of_U3CorderU3Ek__BackingField_0() { return &___U3CorderU3Ek__BackingField_0; }
inline void set_U3CorderU3Ek__BackingField_0(int32_t value)
{
___U3CorderU3Ek__BackingField_0 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // DEFAULTEXECUTIONORDER_T933EA54D4E5467321A1800D3389F25C48DE71398_H
#ifndef DISALLOWMULTIPLECOMPONENT_T78AA2992145F22B15B787B94A789B391635D9BCA_H
#define DISALLOWMULTIPLECOMPONENT_T78AA2992145F22B15B787B94A789B391635D9BCA_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.DisallowMultipleComponent
struct DisallowMultipleComponent_t78AA2992145F22B15B787B94A789B391635D9BCA : public Attribute_tF048C13FB3C8CFCC53F82290E4A3F621089F9A74
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // DISALLOWMULTIPLECOMPONENT_T78AA2992145F22B15B787B94A789B391635D9BCA_H
#ifndef EXCLUDEFROMOBJECTFACTORYATTRIBUTE_TC66D4CE9F5BEAB6A12509F14BE508C469F1ED221_H
#define EXCLUDEFROMOBJECTFACTORYATTRIBUTE_TC66D4CE9F5BEAB6A12509F14BE508C469F1ED221_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.ExcludeFromObjectFactoryAttribute
struct ExcludeFromObjectFactoryAttribute_tC66D4CE9F5BEAB6A12509F14BE508C469F1ED221 : public Attribute_tF048C13FB3C8CFCC53F82290E4A3F621089F9A74
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // EXCLUDEFROMOBJECTFACTORYATTRIBUTE_TC66D4CE9F5BEAB6A12509F14BE508C469F1ED221_H
#ifndef EXCLUDEFROMPRESETATTRIBUTE_T36852ADC0AB8D9696334AA238410394C7C5CD9CF_H
#define EXCLUDEFROMPRESETATTRIBUTE_T36852ADC0AB8D9696334AA238410394C7C5CD9CF_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.ExcludeFromPresetAttribute
struct ExcludeFromPresetAttribute_t36852ADC0AB8D9696334AA238410394C7C5CD9CF : public Attribute_tF048C13FB3C8CFCC53F82290E4A3F621089F9A74
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // EXCLUDEFROMPRESETATTRIBUTE_T36852ADC0AB8D9696334AA238410394C7C5CD9CF_H
#ifndef EXECUTEALWAYS_T57FCDBAAAA5AECB1568C3221FAE1E914B382B0A0_H
#define EXECUTEALWAYS_T57FCDBAAAA5AECB1568C3221FAE1E914B382B0A0_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.ExecuteAlways
struct ExecuteAlways_t57FCDBAAAA5AECB1568C3221FAE1E914B382B0A0 : public Attribute_tF048C13FB3C8CFCC53F82290E4A3F621089F9A74
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // EXECUTEALWAYS_T57FCDBAAAA5AECB1568C3221FAE1E914B382B0A0_H
#ifndef EXECUTEINEDITMODE_T2CEB97B05448F9AB3523C32B6D43E14383FAFB4E_H
#define EXECUTEINEDITMODE_T2CEB97B05448F9AB3523C32B6D43E14383FAFB4E_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.ExecuteInEditMode
struct ExecuteInEditMode_t2CEB97B05448F9AB3523C32B6D43E14383FAFB4E : public Attribute_tF048C13FB3C8CFCC53F82290E4A3F621089F9A74
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // EXECUTEINEDITMODE_T2CEB97B05448F9AB3523C32B6D43E14383FAFB4E_H
#ifndef HELPURLATTRIBUTE_T94DF48CD0B11B0E35C0FC599C19121160AB668EA_H
#define HELPURLATTRIBUTE_T94DF48CD0B11B0E35C0FC599C19121160AB668EA_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.HelpURLAttribute
struct HelpURLAttribute_t94DF48CD0B11B0E35C0FC599C19121160AB668EA : public Attribute_tF048C13FB3C8CFCC53F82290E4A3F621089F9A74
{
public:
// System.String UnityEngine.HelpURLAttribute::m_Url
String_t* ___m_Url_0;
public:
inline static int32_t get_offset_of_m_Url_0() { return static_cast<int32_t>(offsetof(HelpURLAttribute_t94DF48CD0B11B0E35C0FC599C19121160AB668EA, ___m_Url_0)); }
inline String_t* get_m_Url_0() const { return ___m_Url_0; }
inline String_t** get_address_of_m_Url_0() { return &___m_Url_0; }
inline void set_m_Url_0(String_t* value)
{
___m_Url_0 = value;
Il2CppCodeGenWriteBarrier((&___m_Url_0), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // HELPURLATTRIBUTE_T94DF48CD0B11B0E35C0FC599C19121160AB668EA_H
#ifndef KEYFRAME_T9E945CACC5AC36E067B15A634096A223A06D2D74_H
#define KEYFRAME_T9E945CACC5AC36E067B15A634096A223A06D2D74_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.Keyframe
struct Keyframe_t9E945CACC5AC36E067B15A634096A223A06D2D74
{
public:
// System.Single UnityEngine.Keyframe::m_Time
float ___m_Time_0;
// System.Single UnityEngine.Keyframe::m_Value
float ___m_Value_1;
// System.Single UnityEngine.Keyframe::m_InTangent
float ___m_InTangent_2;
// System.Single UnityEngine.Keyframe::m_OutTangent
float ___m_OutTangent_3;
// System.Int32 UnityEngine.Keyframe::m_WeightedMode
int32_t ___m_WeightedMode_4;
// System.Single UnityEngine.Keyframe::m_InWeight
float ___m_InWeight_5;
// System.Single UnityEngine.Keyframe::m_OutWeight
float ___m_OutWeight_6;
public:
inline static int32_t get_offset_of_m_Time_0() { return static_cast<int32_t>(offsetof(Keyframe_t9E945CACC5AC36E067B15A634096A223A06D2D74, ___m_Time_0)); }
inline float get_m_Time_0() const { return ___m_Time_0; }
inline float* get_address_of_m_Time_0() { return &___m_Time_0; }
inline void set_m_Time_0(float value)
{
___m_Time_0 = value;
}
inline static int32_t get_offset_of_m_Value_1() { return static_cast<int32_t>(offsetof(Keyframe_t9E945CACC5AC36E067B15A634096A223A06D2D74, ___m_Value_1)); }
inline float get_m_Value_1() const { return ___m_Value_1; }
inline float* get_address_of_m_Value_1() { return &___m_Value_1; }
inline void set_m_Value_1(float value)
{
___m_Value_1 = value;
}
inline static int32_t get_offset_of_m_InTangent_2() { return static_cast<int32_t>(offsetof(Keyframe_t9E945CACC5AC36E067B15A634096A223A06D2D74, ___m_InTangent_2)); }
inline float get_m_InTangent_2() const { return ___m_InTangent_2; }
inline float* get_address_of_m_InTangent_2() { return &___m_InTangent_2; }
inline void set_m_InTangent_2(float value)
{
___m_InTangent_2 = value;
}
inline static int32_t get_offset_of_m_OutTangent_3() { return static_cast<int32_t>(offsetof(Keyframe_t9E945CACC5AC36E067B15A634096A223A06D2D74, ___m_OutTangent_3)); }
inline float get_m_OutTangent_3() const { return ___m_OutTangent_3; }
inline float* get_address_of_m_OutTangent_3() { return &___m_OutTangent_3; }
inline void set_m_OutTangent_3(float value)
{
___m_OutTangent_3 = value;
}
inline static int32_t get_offset_of_m_WeightedMode_4() { return static_cast<int32_t>(offsetof(Keyframe_t9E945CACC5AC36E067B15A634096A223A06D2D74, ___m_WeightedMode_4)); }
inline int32_t get_m_WeightedMode_4() const { return ___m_WeightedMode_4; }
inline int32_t* get_address_of_m_WeightedMode_4() { return &___m_WeightedMode_4; }
inline void set_m_WeightedMode_4(int32_t value)
{
___m_WeightedMode_4 = value;
}
inline static int32_t get_offset_of_m_InWeight_5() { return static_cast<int32_t>(offsetof(Keyframe_t9E945CACC5AC36E067B15A634096A223A06D2D74, ___m_InWeight_5)); }
inline float get_m_InWeight_5() const { return ___m_InWeight_5; }
inline float* get_address_of_m_InWeight_5() { return &___m_InWeight_5; }
inline void set_m_InWeight_5(float value)
{
___m_InWeight_5 = value;
}
inline static int32_t get_offset_of_m_OutWeight_6() { return static_cast<int32_t>(offsetof(Keyframe_t9E945CACC5AC36E067B15A634096A223A06D2D74, ___m_OutWeight_6)); }
inline float get_m_OutWeight_6() const { return ___m_OutWeight_6; }
inline float* get_address_of_m_OutWeight_6() { return &___m_OutWeight_6; }
inline void set_m_OutWeight_6(float value)
{
___m_OutWeight_6 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // KEYFRAME_T9E945CACC5AC36E067B15A634096A223A06D2D74_H
#ifndef REQUIRECOMPONENT_T07725D895B775D6ED768EF52D4EE326539BA65E1_H
#define REQUIRECOMPONENT_T07725D895B775D6ED768EF52D4EE326539BA65E1_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.RequireComponent
struct RequireComponent_t07725D895B775D6ED768EF52D4EE326539BA65E1 : public Attribute_tF048C13FB3C8CFCC53F82290E4A3F621089F9A74
{
public:
// System.Type UnityEngine.RequireComponent::m_Type0
Type_t * ___m_Type0_0;
// System.Type UnityEngine.RequireComponent::m_Type1
Type_t * ___m_Type1_1;
// System.Type UnityEngine.RequireComponent::m_Type2
Type_t * ___m_Type2_2;
public:
inline static int32_t get_offset_of_m_Type0_0() { return static_cast<int32_t>(offsetof(RequireComponent_t07725D895B775D6ED768EF52D4EE326539BA65E1, ___m_Type0_0)); }
inline Type_t * get_m_Type0_0() const { return ___m_Type0_0; }
inline Type_t ** get_address_of_m_Type0_0() { return &___m_Type0_0; }
inline void set_m_Type0_0(Type_t * value)
{
___m_Type0_0 = value;
Il2CppCodeGenWriteBarrier((&___m_Type0_0), value);
}
inline static int32_t get_offset_of_m_Type1_1() { return static_cast<int32_t>(offsetof(RequireComponent_t07725D895B775D6ED768EF52D4EE326539BA65E1, ___m_Type1_1)); }
inline Type_t * get_m_Type1_1() const { return ___m_Type1_1; }
inline Type_t ** get_address_of_m_Type1_1() { return &___m_Type1_1; }
inline void set_m_Type1_1(Type_t * value)
{
___m_Type1_1 = value;
Il2CppCodeGenWriteBarrier((&___m_Type1_1), value);
}
inline static int32_t get_offset_of_m_Type2_2() { return static_cast<int32_t>(offsetof(RequireComponent_t07725D895B775D6ED768EF52D4EE326539BA65E1, ___m_Type2_2)); }
inline Type_t * get_m_Type2_2() const { return ___m_Type2_2; }
inline Type_t ** get_address_of_m_Type2_2() { return &___m_Type2_2; }
inline void set_m_Type2_2(Type_t * value)
{
___m_Type2_2 = value;
Il2CppCodeGenWriteBarrier((&___m_Type2_2), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // REQUIRECOMPONENT_T07725D895B775D6ED768EF52D4EE326539BA65E1_H
#ifndef RESOLUTION_T350D132B8526B5211E0BF8B22782F20D55994A90_H
#define RESOLUTION_T350D132B8526B5211E0BF8B22782F20D55994A90_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.Resolution
struct Resolution_t350D132B8526B5211E0BF8B22782F20D55994A90
{
public:
// System.Int32 UnityEngine.Resolution::m_Width
int32_t ___m_Width_0;
// System.Int32 UnityEngine.Resolution::m_Height
int32_t ___m_Height_1;
// System.Int32 UnityEngine.Resolution::m_RefreshRate
int32_t ___m_RefreshRate_2;
public:
inline static int32_t get_offset_of_m_Width_0() { return static_cast<int32_t>(offsetof(Resolution_t350D132B8526B5211E0BF8B22782F20D55994A90, ___m_Width_0)); }
inline int32_t get_m_Width_0() const { return ___m_Width_0; }
inline int32_t* get_address_of_m_Width_0() { return &___m_Width_0; }
inline void set_m_Width_0(int32_t value)
{
___m_Width_0 = value;
}
inline static int32_t get_offset_of_m_Height_1() { return static_cast<int32_t>(offsetof(Resolution_t350D132B8526B5211E0BF8B22782F20D55994A90, ___m_Height_1)); }
inline int32_t get_m_Height_1() const { return ___m_Height_1; }
inline int32_t* get_address_of_m_Height_1() { return &___m_Height_1; }
inline void set_m_Height_1(int32_t value)
{
___m_Height_1 = value;
}
inline static int32_t get_offset_of_m_RefreshRate_2() { return static_cast<int32_t>(offsetof(Resolution_t350D132B8526B5211E0BF8B22782F20D55994A90, ___m_RefreshRate_2)); }
inline int32_t get_m_RefreshRate_2() const { return ___m_RefreshRate_2; }
inline int32_t* get_address_of_m_RefreshRate_2() { return &___m_RefreshRate_2; }
inline void set_m_RefreshRate_2(int32_t value)
{
___m_RefreshRate_2 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // RESOLUTION_T350D132B8526B5211E0BF8B22782F20D55994A90_H
#ifndef VECTOR3_TDCF05E21F632FE2BA260C06E0D10CA81513E6720_H
#define VECTOR3_TDCF05E21F632FE2BA260C06E0D10CA81513E6720_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.Vector3
struct Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720
{
public:
// System.Single UnityEngine.Vector3::x
float ___x_2;
// System.Single UnityEngine.Vector3::y
float ___y_3;
// System.Single UnityEngine.Vector3::z
float ___z_4;
public:
inline static int32_t get_offset_of_x_2() { return static_cast<int32_t>(offsetof(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720, ___x_2)); }
inline float get_x_2() const { return ___x_2; }
inline float* get_address_of_x_2() { return &___x_2; }
inline void set_x_2(float value)
{
___x_2 = value;
}
inline static int32_t get_offset_of_y_3() { return static_cast<int32_t>(offsetof(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720, ___y_3)); }
inline float get_y_3() const { return ___y_3; }
inline float* get_address_of_y_3() { return &___y_3; }
inline void set_y_3(float value)
{
___y_3 = value;
}
inline static int32_t get_offset_of_z_4() { return static_cast<int32_t>(offsetof(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720, ___z_4)); }
inline float get_z_4() const { return ___z_4; }
inline float* get_address_of_z_4() { return &___z_4; }
inline void set_z_4(float value)
{
___z_4 = value;
}
};
struct Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720_StaticFields
{
public:
// UnityEngine.Vector3 UnityEngine.Vector3::zeroVector
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___zeroVector_5;
// UnityEngine.Vector3 UnityEngine.Vector3::oneVector
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___oneVector_6;
// UnityEngine.Vector3 UnityEngine.Vector3::upVector
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___upVector_7;
// UnityEngine.Vector3 UnityEngine.Vector3::downVector
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___downVector_8;
// UnityEngine.Vector3 UnityEngine.Vector3::leftVector
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___leftVector_9;
// UnityEngine.Vector3 UnityEngine.Vector3::rightVector
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___rightVector_10;
// UnityEngine.Vector3 UnityEngine.Vector3::forwardVector
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___forwardVector_11;
// UnityEngine.Vector3 UnityEngine.Vector3::backVector
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___backVector_12;
// UnityEngine.Vector3 UnityEngine.Vector3::positiveInfinityVector
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___positiveInfinityVector_13;
// UnityEngine.Vector3 UnityEngine.Vector3::negativeInfinityVector
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___negativeInfinityVector_14;
public:
inline static int32_t get_offset_of_zeroVector_5() { return static_cast<int32_t>(offsetof(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720_StaticFields, ___zeroVector_5)); }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 get_zeroVector_5() const { return ___zeroVector_5; }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 * get_address_of_zeroVector_5() { return &___zeroVector_5; }
inline void set_zeroVector_5(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 value)
{
___zeroVector_5 = value;
}
inline static int32_t get_offset_of_oneVector_6() { return static_cast<int32_t>(offsetof(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720_StaticFields, ___oneVector_6)); }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 get_oneVector_6() const { return ___oneVector_6; }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 * get_address_of_oneVector_6() { return &___oneVector_6; }
inline void set_oneVector_6(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 value)
{
___oneVector_6 = value;
}
inline static int32_t get_offset_of_upVector_7() { return static_cast<int32_t>(offsetof(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720_StaticFields, ___upVector_7)); }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 get_upVector_7() const { return ___upVector_7; }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 * get_address_of_upVector_7() { return &___upVector_7; }
inline void set_upVector_7(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 value)
{
___upVector_7 = value;
}
inline static int32_t get_offset_of_downVector_8() { return static_cast<int32_t>(offsetof(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720_StaticFields, ___downVector_8)); }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 get_downVector_8() const { return ___downVector_8; }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 * get_address_of_downVector_8() { return &___downVector_8; }
inline void set_downVector_8(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 value)
{
___downVector_8 = value;
}
inline static int32_t get_offset_of_leftVector_9() { return static_cast<int32_t>(offsetof(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720_StaticFields, ___leftVector_9)); }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 get_leftVector_9() const { return ___leftVector_9; }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 * get_address_of_leftVector_9() { return &___leftVector_9; }
inline void set_leftVector_9(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 value)
{
___leftVector_9 = value;
}
inline static int32_t get_offset_of_rightVector_10() { return static_cast<int32_t>(offsetof(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720_StaticFields, ___rightVector_10)); }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 get_rightVector_10() const { return ___rightVector_10; }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 * get_address_of_rightVector_10() { return &___rightVector_10; }
inline void set_rightVector_10(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 value)
{
___rightVector_10 = value;
}
inline static int32_t get_offset_of_forwardVector_11() { return static_cast<int32_t>(offsetof(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720_StaticFields, ___forwardVector_11)); }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 get_forwardVector_11() const { return ___forwardVector_11; }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 * get_address_of_forwardVector_11() { return &___forwardVector_11; }
inline void set_forwardVector_11(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 value)
{
___forwardVector_11 = value;
}
inline static int32_t get_offset_of_backVector_12() { return static_cast<int32_t>(offsetof(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720_StaticFields, ___backVector_12)); }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 get_backVector_12() const { return ___backVector_12; }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 * get_address_of_backVector_12() { return &___backVector_12; }
inline void set_backVector_12(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 value)
{
___backVector_12 = value;
}
inline static int32_t get_offset_of_positiveInfinityVector_13() { return static_cast<int32_t>(offsetof(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720_StaticFields, ___positiveInfinityVector_13)); }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 get_positiveInfinityVector_13() const { return ___positiveInfinityVector_13; }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 * get_address_of_positiveInfinityVector_13() { return &___positiveInfinityVector_13; }
inline void set_positiveInfinityVector_13(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 value)
{
___positiveInfinityVector_13 = value;
}
inline static int32_t get_offset_of_negativeInfinityVector_14() { return static_cast<int32_t>(offsetof(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720_StaticFields, ___negativeInfinityVector_14)); }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 get_negativeInfinityVector_14() const { return ___negativeInfinityVector_14; }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 * get_address_of_negativeInfinityVector_14() { return &___negativeInfinityVector_14; }
inline void set_negativeInfinityVector_14(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 value)
{
___negativeInfinityVector_14 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // VECTOR3_TDCF05E21F632FE2BA260C06E0D10CA81513E6720_H
#ifndef DELEGATE_T_H
#define DELEGATE_T_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.Delegate
struct Delegate_t : public RuntimeObject
{
public:
// System.IntPtr System.Delegate::method_ptr
Il2CppMethodPointer ___method_ptr_0;
// System.IntPtr System.Delegate::invoke_impl
intptr_t ___invoke_impl_1;
// System.Object System.Delegate::m_target
RuntimeObject * ___m_target_2;
// System.IntPtr System.Delegate::method
intptr_t ___method_3;
// System.IntPtr System.Delegate::delegate_trampoline
intptr_t ___delegate_trampoline_4;
// System.IntPtr System.Delegate::extra_arg
intptr_t ___extra_arg_5;
// System.IntPtr System.Delegate::method_code
intptr_t ___method_code_6;
// System.Reflection.MethodInfo System.Delegate::method_info
MethodInfo_t * ___method_info_7;
// System.Reflection.MethodInfo System.Delegate::original_method_info
MethodInfo_t * ___original_method_info_8;
// System.DelegateData System.Delegate::data
DelegateData_t1BF9F691B56DAE5F8C28C5E084FDE94F15F27BBE * ___data_9;
// System.Boolean System.Delegate::method_is_virtual
bool ___method_is_virtual_10;
public:
inline static int32_t get_offset_of_method_ptr_0() { return static_cast<int32_t>(offsetof(Delegate_t, ___method_ptr_0)); }
inline Il2CppMethodPointer get_method_ptr_0() const { return ___method_ptr_0; }
inline Il2CppMethodPointer* get_address_of_method_ptr_0() { return &___method_ptr_0; }
inline void set_method_ptr_0(Il2CppMethodPointer value)
{
___method_ptr_0 = value;
}
inline static int32_t get_offset_of_invoke_impl_1() { return static_cast<int32_t>(offsetof(Delegate_t, ___invoke_impl_1)); }
inline intptr_t get_invoke_impl_1() const { return ___invoke_impl_1; }
inline intptr_t* get_address_of_invoke_impl_1() { return &___invoke_impl_1; }
inline void set_invoke_impl_1(intptr_t value)
{
___invoke_impl_1 = value;
}
inline static int32_t get_offset_of_m_target_2() { return static_cast<int32_t>(offsetof(Delegate_t, ___m_target_2)); }
inline RuntimeObject * get_m_target_2() const { return ___m_target_2; }
inline RuntimeObject ** get_address_of_m_target_2() { return &___m_target_2; }
inline void set_m_target_2(RuntimeObject * value)
{
___m_target_2 = value;
Il2CppCodeGenWriteBarrier((&___m_target_2), value);
}
inline static int32_t get_offset_of_method_3() { return static_cast<int32_t>(offsetof(Delegate_t, ___method_3)); }
inline intptr_t get_method_3() const { return ___method_3; }
inline intptr_t* get_address_of_method_3() { return &___method_3; }
inline void set_method_3(intptr_t value)
{
___method_3 = value;
}
inline static int32_t get_offset_of_delegate_trampoline_4() { return static_cast<int32_t>(offsetof(Delegate_t, ___delegate_trampoline_4)); }
inline intptr_t get_delegate_trampoline_4() const { return ___delegate_trampoline_4; }
inline intptr_t* get_address_of_delegate_trampoline_4() { return &___delegate_trampoline_4; }
inline void set_delegate_trampoline_4(intptr_t value)
{
___delegate_trampoline_4 = value;
}
inline static int32_t get_offset_of_extra_arg_5() { return static_cast<int32_t>(offsetof(Delegate_t, ___extra_arg_5)); }
inline intptr_t get_extra_arg_5() const { return ___extra_arg_5; }
inline intptr_t* get_address_of_extra_arg_5() { return &___extra_arg_5; }
inline void set_extra_arg_5(intptr_t value)
{
___extra_arg_5 = value;
}
inline static int32_t get_offset_of_method_code_6() { return static_cast<int32_t>(offsetof(Delegate_t, ___method_code_6)); }
inline intptr_t get_method_code_6() const { return ___method_code_6; }
inline intptr_t* get_address_of_method_code_6() { return &___method_code_6; }
inline void set_method_code_6(intptr_t value)
{
___method_code_6 = value;
}
inline static int32_t get_offset_of_method_info_7() { return static_cast<int32_t>(offsetof(Delegate_t, ___method_info_7)); }
inline MethodInfo_t * get_method_info_7() const { return ___method_info_7; }
inline MethodInfo_t ** get_address_of_method_info_7() { return &___method_info_7; }
inline void set_method_info_7(MethodInfo_t * value)
{
___method_info_7 = value;
Il2CppCodeGenWriteBarrier((&___method_info_7), value);
}
inline static int32_t get_offset_of_original_method_info_8() { return static_cast<int32_t>(offsetof(Delegate_t, ___original_method_info_8)); }
inline MethodInfo_t * get_original_method_info_8() const { return ___original_method_info_8; }
inline MethodInfo_t ** get_address_of_original_method_info_8() { return &___original_method_info_8; }
inline void set_original_method_info_8(MethodInfo_t * value)
{
___original_method_info_8 = value;
Il2CppCodeGenWriteBarrier((&___original_method_info_8), value);
}
inline static int32_t get_offset_of_data_9() { return static_cast<int32_t>(offsetof(Delegate_t, ___data_9)); }
inline DelegateData_t1BF9F691B56DAE5F8C28C5E084FDE94F15F27BBE * get_data_9() const { return ___data_9; }
inline DelegateData_t1BF9F691B56DAE5F8C28C5E084FDE94F15F27BBE ** get_address_of_data_9() { return &___data_9; }
inline void set_data_9(DelegateData_t1BF9F691B56DAE5F8C28C5E084FDE94F15F27BBE * value)
{
___data_9 = value;
Il2CppCodeGenWriteBarrier((&___data_9), value);
}
inline static int32_t get_offset_of_method_is_virtual_10() { return static_cast<int32_t>(offsetof(Delegate_t, ___method_is_virtual_10)); }
inline bool get_method_is_virtual_10() const { return ___method_is_virtual_10; }
inline bool* get_address_of_method_is_virtual_10() { return &___method_is_virtual_10; }
inline void set_method_is_virtual_10(bool value)
{
___method_is_virtual_10 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
// Native definition for P/Invoke marshalling of System.Delegate
struct Delegate_t_marshaled_pinvoke
{
intptr_t ___method_ptr_0;
intptr_t ___invoke_impl_1;
Il2CppIUnknown* ___m_target_2;
intptr_t ___method_3;
intptr_t ___delegate_trampoline_4;
intptr_t ___extra_arg_5;
intptr_t ___method_code_6;
MethodInfo_t * ___method_info_7;
MethodInfo_t * ___original_method_info_8;
DelegateData_t1BF9F691B56DAE5F8C28C5E084FDE94F15F27BBE * ___data_9;
int32_t ___method_is_virtual_10;
};
// Native definition for COM marshalling of System.Delegate
struct Delegate_t_marshaled_com
{
intptr_t ___method_ptr_0;
intptr_t ___invoke_impl_1;
Il2CppIUnknown* ___m_target_2;
intptr_t ___method_3;
intptr_t ___delegate_trampoline_4;
intptr_t ___extra_arg_5;
intptr_t ___method_code_6;
MethodInfo_t * ___method_info_7;
MethodInfo_t * ___original_method_info_8;
DelegateData_t1BF9F691B56DAE5F8C28C5E084FDE94F15F27BBE * ___data_9;
int32_t ___method_is_virtual_10;
};
#endif // DELEGATE_T_H
#ifndef ANIMATIONCURVE_TD2F265379583AAF1BF8D84F1BB8DB12980FA504C_H
#define ANIMATIONCURVE_TD2F265379583AAF1BF8D84F1BB8DB12980FA504C_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.AnimationCurve
struct AnimationCurve_tD2F265379583AAF1BF8D84F1BB8DB12980FA504C : public RuntimeObject
{
public:
// System.IntPtr UnityEngine.AnimationCurve::m_Ptr
intptr_t ___m_Ptr_0;
public:
inline static int32_t get_offset_of_m_Ptr_0() { return static_cast<int32_t>(offsetof(AnimationCurve_tD2F265379583AAF1BF8D84F1BB8DB12980FA504C, ___m_Ptr_0)); }
inline intptr_t get_m_Ptr_0() const { return ___m_Ptr_0; }
inline intptr_t* get_address_of_m_Ptr_0() { return &___m_Ptr_0; }
inline void set_m_Ptr_0(intptr_t value)
{
___m_Ptr_0 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
// Native definition for P/Invoke marshalling of UnityEngine.AnimationCurve
struct AnimationCurve_tD2F265379583AAF1BF8D84F1BB8DB12980FA504C_marshaled_pinvoke
{
intptr_t ___m_Ptr_0;
};
// Native definition for COM marshalling of UnityEngine.AnimationCurve
struct AnimationCurve_tD2F265379583AAF1BF8D84F1BB8DB12980FA504C_marshaled_com
{
intptr_t ___m_Ptr_0;
};
#endif // ANIMATIONCURVE_TD2F265379583AAF1BF8D84F1BB8DB12980FA504C_H
#ifndef ASYNCOPERATION_T304C51ABED8AE734CC8DDDFE13013D8D5A44641D_H
#define ASYNCOPERATION_T304C51ABED8AE734CC8DDDFE13013D8D5A44641D_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.AsyncOperation
struct AsyncOperation_t304C51ABED8AE734CC8DDDFE13013D8D5A44641D : public YieldInstruction_t836035AC7BD07A3C7909F7AD2A5B42DE99D91C44
{
public:
// System.IntPtr UnityEngine.AsyncOperation::m_Ptr
intptr_t ___m_Ptr_0;
// System.Action`1<UnityEngine.AsyncOperation> UnityEngine.AsyncOperation::m_completeCallback
Action_1_tCBF754C290FAE894631BED8FD56E9E22C4C187F9 * ___m_completeCallback_1;
public:
inline static int32_t get_offset_of_m_Ptr_0() { return static_cast<int32_t>(offsetof(AsyncOperation_t304C51ABED8AE734CC8DDDFE13013D8D5A44641D, ___m_Ptr_0)); }
inline intptr_t get_m_Ptr_0() const { return ___m_Ptr_0; }
inline intptr_t* get_address_of_m_Ptr_0() { return &___m_Ptr_0; }
inline void set_m_Ptr_0(intptr_t value)
{
___m_Ptr_0 = value;
}
inline static int32_t get_offset_of_m_completeCallback_1() { return static_cast<int32_t>(offsetof(AsyncOperation_t304C51ABED8AE734CC8DDDFE13013D8D5A44641D, ___m_completeCallback_1)); }
inline Action_1_tCBF754C290FAE894631BED8FD56E9E22C4C187F9 * get_m_completeCallback_1() const { return ___m_completeCallback_1; }
inline Action_1_tCBF754C290FAE894631BED8FD56E9E22C4C187F9 ** get_address_of_m_completeCallback_1() { return &___m_completeCallback_1; }
inline void set_m_completeCallback_1(Action_1_tCBF754C290FAE894631BED8FD56E9E22C4C187F9 * value)
{
___m_completeCallback_1 = value;
Il2CppCodeGenWriteBarrier((&___m_completeCallback_1), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
// Native definition for P/Invoke marshalling of UnityEngine.AsyncOperation
struct AsyncOperation_t304C51ABED8AE734CC8DDDFE13013D8D5A44641D_marshaled_pinvoke : public YieldInstruction_t836035AC7BD07A3C7909F7AD2A5B42DE99D91C44_marshaled_pinvoke
{
intptr_t ___m_Ptr_0;
Il2CppMethodPointer ___m_completeCallback_1;
};
// Native definition for COM marshalling of UnityEngine.AsyncOperation
struct AsyncOperation_t304C51ABED8AE734CC8DDDFE13013D8D5A44641D_marshaled_com : public YieldInstruction_t836035AC7BD07A3C7909F7AD2A5B42DE99D91C44_marshaled_com
{
intptr_t ___m_Ptr_0;
Il2CppMethodPointer ___m_completeCallback_1;
};
#endif // ASYNCOPERATION_T304C51ABED8AE734CC8DDDFE13013D8D5A44641D_H
#ifndef CODEGENOPTIONS_T046CD01EAB9A7BBBF2862220BE36B1AE7AE895CE_H
#define CODEGENOPTIONS_T046CD01EAB9A7BBBF2862220BE36B1AE7AE895CE_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.Bindings.CodegenOptions
struct CodegenOptions_t046CD01EAB9A7BBBF2862220BE36B1AE7AE895CE
{
public:
// System.Int32 UnityEngine.Bindings.CodegenOptions::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(CodegenOptions_t046CD01EAB9A7BBBF2862220BE36B1AE7AE895CE, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // CODEGENOPTIONS_T046CD01EAB9A7BBBF2862220BE36B1AE7AE895CE_H
#ifndef FREEFUNCTIONATTRIBUTE_TE41160023E316B5E3DF87DA36BDDA9639DD835AE_H
#define FREEFUNCTIONATTRIBUTE_TE41160023E316B5E3DF87DA36BDDA9639DD835AE_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.Bindings.FreeFunctionAttribute
struct FreeFunctionAttribute_tE41160023E316B5E3DF87DA36BDDA9639DD835AE : public NativeMethodAttribute_tB1AB33D5877AD8417C7E646A48AF1941283DC309
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // FREEFUNCTIONATTRIBUTE_TE41160023E316B5E3DF87DA36BDDA9639DD835AE_H
#ifndef STATICACCESSORTYPE_T1F9C3101E6A29C700469488FDBC8F04FA6AFF061_H
#define STATICACCESSORTYPE_T1F9C3101E6A29C700469488FDBC8F04FA6AFF061_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.Bindings.StaticAccessorType
struct StaticAccessorType_t1F9C3101E6A29C700469488FDBC8F04FA6AFF061
{
public:
// System.Int32 UnityEngine.Bindings.StaticAccessorType::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(StaticAccessorType_t1F9C3101E6A29C700469488FDBC8F04FA6AFF061, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // STATICACCESSORTYPE_T1F9C3101E6A29C700469488FDBC8F04FA6AFF061_H
#ifndef TARGETTYPE_T8EE9F64281EE7EA0EDE81FA41E92A8C44C0F31BA_H
#define TARGETTYPE_T8EE9F64281EE7EA0EDE81FA41E92A8C44C0F31BA_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.Bindings.TargetType
struct TargetType_t8EE9F64281EE7EA0EDE81FA41E92A8C44C0F31BA
{
public:
// System.Int32 UnityEngine.Bindings.TargetType::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(TargetType_t8EE9F64281EE7EA0EDE81FA41E92A8C44C0F31BA, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // TARGETTYPE_T8EE9F64281EE7EA0EDE81FA41E92A8C44C0F31BA_H
#ifndef THREADSAFEATTRIBUTE_T3FB9EE5993C748628BC06D9D46ACA3A58FDAE317_H
#define THREADSAFEATTRIBUTE_T3FB9EE5993C748628BC06D9D46ACA3A58FDAE317_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.Bindings.ThreadSafeAttribute
struct ThreadSafeAttribute_t3FB9EE5993C748628BC06D9D46ACA3A58FDAE317 : public NativeMethodAttribute_tB1AB33D5877AD8417C7E646A48AF1941283DC309
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // THREADSAFEATTRIBUTE_T3FB9EE5993C748628BC06D9D46ACA3A58FDAE317_H
#ifndef BOOTCONFIGDATA_TDAD0635222140DCA86FC3C27BA41140D7ACD3500_H
#define BOOTCONFIGDATA_TDAD0635222140DCA86FC3C27BA41140D7ACD3500_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.BootConfigData
struct BootConfigData_tDAD0635222140DCA86FC3C27BA41140D7ACD3500 : public RuntimeObject
{
public:
// System.IntPtr UnityEngine.BootConfigData::m_Ptr
intptr_t ___m_Ptr_0;
public:
inline static int32_t get_offset_of_m_Ptr_0() { return static_cast<int32_t>(offsetof(BootConfigData_tDAD0635222140DCA86FC3C27BA41140D7ACD3500, ___m_Ptr_0)); }
inline intptr_t get_m_Ptr_0() const { return ___m_Ptr_0; }
inline intptr_t* get_address_of_m_Ptr_0() { return &___m_Ptr_0; }
inline void set_m_Ptr_0(intptr_t value)
{
___m_Ptr_0 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // BOOTCONFIGDATA_TDAD0635222140DCA86FC3C27BA41140D7ACD3500_H
#ifndef BOUNDS_TA2716F5212749C61B0E7B7B77E0CD3D79B742890_H
#define BOUNDS_TA2716F5212749C61B0E7B7B77E0CD3D79B742890_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.Bounds
struct Bounds_tA2716F5212749C61B0E7B7B77E0CD3D79B742890
{
public:
// UnityEngine.Vector3 UnityEngine.Bounds::m_Center
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___m_Center_0;
// UnityEngine.Vector3 UnityEngine.Bounds::m_Extents
Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 ___m_Extents_1;
public:
inline static int32_t get_offset_of_m_Center_0() { return static_cast<int32_t>(offsetof(Bounds_tA2716F5212749C61B0E7B7B77E0CD3D79B742890, ___m_Center_0)); }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 get_m_Center_0() const { return ___m_Center_0; }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 * get_address_of_m_Center_0() { return &___m_Center_0; }
inline void set_m_Center_0(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 value)
{
___m_Center_0 = value;
}
inline static int32_t get_offset_of_m_Extents_1() { return static_cast<int32_t>(offsetof(Bounds_tA2716F5212749C61B0E7B7B77E0CD3D79B742890, ___m_Extents_1)); }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 get_m_Extents_1() const { return ___m_Extents_1; }
inline Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 * get_address_of_m_Extents_1() { return &___m_Extents_1; }
inline void set_m_Extents_1(Vector3_tDCF05E21F632FE2BA260C06E0D10CA81513E6720 value)
{
___m_Extents_1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // BOUNDS_TA2716F5212749C61B0E7B7B77E0CD3D79B742890_H
#ifndef MONOORSTEREOSCOPICEYE_TF20D93CAEDB45B23B4436B8FECD1C14CACA839D7_H
#define MONOORSTEREOSCOPICEYE_TF20D93CAEDB45B23B4436B8FECD1C14CACA839D7_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.Camera_MonoOrStereoscopicEye
struct MonoOrStereoscopicEye_tF20D93CAEDB45B23B4436B8FECD1C14CACA839D7
{
public:
// System.Int32 UnityEngine.Camera_MonoOrStereoscopicEye::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(MonoOrStereoscopicEye_tF20D93CAEDB45B23B4436B8FECD1C14CACA839D7, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // MONOORSTEREOSCOPICEYE_TF20D93CAEDB45B23B4436B8FECD1C14CACA839D7_H
#ifndef CAMERACLEARFLAGS_TAC22BD22D12708CBDC63F6CFB31109E5E17CF239_H
#define CAMERACLEARFLAGS_TAC22BD22D12708CBDC63F6CFB31109E5E17CF239_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.CameraClearFlags
struct CameraClearFlags_tAC22BD22D12708CBDC63F6CFB31109E5E17CF239
{
public:
// System.Int32 UnityEngine.CameraClearFlags::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(CameraClearFlags_tAC22BD22D12708CBDC63F6CFB31109E5E17CF239, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // CAMERACLEARFLAGS_TAC22BD22D12708CBDC63F6CFB31109E5E17CF239_H
#ifndef COLORSPACE_TAB3C938B1B47C6E9AC4596BF142AEDCD8A60936F_H
#define COLORSPACE_TAB3C938B1B47C6E9AC4596BF142AEDCD8A60936F_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.ColorSpace
struct ColorSpace_tAB3C938B1B47C6E9AC4596BF142AEDCD8A60936F
{
public:
// System.Int32 UnityEngine.ColorSpace::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(ColorSpace_tAB3C938B1B47C6E9AC4596BF142AEDCD8A60936F, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // COLORSPACE_TAB3C938B1B47C6E9AC4596BF142AEDCD8A60936F_H
#ifndef COROUTINE_TAE7DB2FC70A0AE6477F896F852057CB0754F06EC_H
#define COROUTINE_TAE7DB2FC70A0AE6477F896F852057CB0754F06EC_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.Coroutine
struct Coroutine_tAE7DB2FC70A0AE6477F896F852057CB0754F06EC : public YieldInstruction_t836035AC7BD07A3C7909F7AD2A5B42DE99D91C44
{
public:
// System.IntPtr UnityEngine.Coroutine::m_Ptr
intptr_t ___m_Ptr_0;
public:
inline static int32_t get_offset_of_m_Ptr_0() { return static_cast<int32_t>(offsetof(Coroutine_tAE7DB2FC70A0AE6477F896F852057CB0754F06EC, ___m_Ptr_0)); }
inline intptr_t get_m_Ptr_0() const { return ___m_Ptr_0; }
inline intptr_t* get_address_of_m_Ptr_0() { return &___m_Ptr_0; }
inline void set_m_Ptr_0(intptr_t value)
{
___m_Ptr_0 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
// Native definition for P/Invoke marshalling of UnityEngine.Coroutine
struct Coroutine_tAE7DB2FC70A0AE6477F896F852057CB0754F06EC_marshaled_pinvoke : public YieldInstruction_t836035AC7BD07A3C7909F7AD2A5B42DE99D91C44_marshaled_pinvoke
{
intptr_t ___m_Ptr_0;
};
// Native definition for COM marshalling of UnityEngine.Coroutine
struct Coroutine_tAE7DB2FC70A0AE6477F896F852057CB0754F06EC_marshaled_com : public YieldInstruction_t836035AC7BD07A3C7909F7AD2A5B42DE99D91C44_marshaled_com
{
intptr_t ___m_Ptr_0;
};
#endif // COROUTINE_TAE7DB2FC70A0AE6477F896F852057CB0754F06EC_H
#ifndef CUBEMAPFACE_T74DD9C86D8A5E5F782F136F8753580668F96FFB9_H
#define CUBEMAPFACE_T74DD9C86D8A5E5F782F136F8753580668F96FFB9_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.CubemapFace
struct CubemapFace_t74DD9C86D8A5E5F782F136F8753580668F96FFB9
{
public:
// System.Int32 UnityEngine.CubemapFace::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(CubemapFace_t74DD9C86D8A5E5F782F136F8753580668F96FFB9, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // CUBEMAPFACE_T74DD9C86D8A5E5F782F136F8753580668F96FFB9_H
#ifndef CULLINGGROUP_T7F71E48F69794B87C5A7F3F27AD1F1517B2FBF1F_H
#define CULLINGGROUP_T7F71E48F69794B87C5A7F3F27AD1F1517B2FBF1F_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.CullingGroup
struct CullingGroup_t7F71E48F69794B87C5A7F3F27AD1F1517B2FBF1F : public RuntimeObject
{
public:
// System.IntPtr UnityEngine.CullingGroup::m_Ptr
intptr_t ___m_Ptr_0;
// UnityEngine.CullingGroup_StateChanged UnityEngine.CullingGroup::m_OnStateChanged
StateChanged_t6B81A48F3E917979B3F56CE50FEEB8E4DE46F161 * ___m_OnStateChanged_1;
public:
inline static int32_t get_offset_of_m_Ptr_0() { return static_cast<int32_t>(offsetof(CullingGroup_t7F71E48F69794B87C5A7F3F27AD1F1517B2FBF1F, ___m_Ptr_0)); }
inline intptr_t get_m_Ptr_0() const { return ___m_Ptr_0; }
inline intptr_t* get_address_of_m_Ptr_0() { return &___m_Ptr_0; }
inline void set_m_Ptr_0(intptr_t value)
{
___m_Ptr_0 = value;
}
inline static int32_t get_offset_of_m_OnStateChanged_1() { return static_cast<int32_t>(offsetof(CullingGroup_t7F71E48F69794B87C5A7F3F27AD1F1517B2FBF1F, ___m_OnStateChanged_1)); }
inline StateChanged_t6B81A48F3E917979B3F56CE50FEEB8E4DE46F161 * get_m_OnStateChanged_1() const { return ___m_OnStateChanged_1; }
inline StateChanged_t6B81A48F3E917979B3F56CE50FEEB8E4DE46F161 ** get_address_of_m_OnStateChanged_1() { return &___m_OnStateChanged_1; }
inline void set_m_OnStateChanged_1(StateChanged_t6B81A48F3E917979B3F56CE50FEEB8E4DE46F161 * value)
{
___m_OnStateChanged_1 = value;
Il2CppCodeGenWriteBarrier((&___m_OnStateChanged_1), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
// Native definition for P/Invoke marshalling of UnityEngine.CullingGroup
struct CullingGroup_t7F71E48F69794B87C5A7F3F27AD1F1517B2FBF1F_marshaled_pinvoke
{
intptr_t ___m_Ptr_0;
Il2CppMethodPointer ___m_OnStateChanged_1;
};
// Native definition for COM marshalling of UnityEngine.CullingGroup
struct CullingGroup_t7F71E48F69794B87C5A7F3F27AD1F1517B2FBF1F_marshaled_com
{
intptr_t ___m_Ptr_0;
Il2CppMethodPointer ___m_OnStateChanged_1;
};
#endif // CULLINGGROUP_T7F71E48F69794B87C5A7F3F27AD1F1517B2FBF1F_H
#ifndef CURSORLOCKMODE_TF9B28266D253124BE56C232B7ED2D9F7CC3D1E38_H
#define CURSORLOCKMODE_TF9B28266D253124BE56C232B7ED2D9F7CC3D1E38_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.CursorLockMode
struct CursorLockMode_tF9B28266D253124BE56C232B7ED2D9F7CC3D1E38
{
public:
// System.Int32 UnityEngine.CursorLockMode::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(CursorLockMode_tF9B28266D253124BE56C232B7ED2D9F7CC3D1E38, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // CURSORLOCKMODE_TF9B28266D253124BE56C232B7ED2D9F7CC3D1E38_H
#ifndef DISPLAY_T38AD3008E8C72693533E4FE9CFFF6E01B56E9D57_H
#define DISPLAY_T38AD3008E8C72693533E4FE9CFFF6E01B56E9D57_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.Display
struct Display_t38AD3008E8C72693533E4FE9CFFF6E01B56E9D57 : public RuntimeObject
{
public:
// System.IntPtr UnityEngine.Display::nativeDisplay
intptr_t ___nativeDisplay_0;
public:
inline static int32_t get_offset_of_nativeDisplay_0() { return static_cast<int32_t>(offsetof(Display_t38AD3008E8C72693533E4FE9CFFF6E01B56E9D57, ___nativeDisplay_0)); }
inline intptr_t get_nativeDisplay_0() const { return ___nativeDisplay_0; }
inline intptr_t* get_address_of_nativeDisplay_0() { return &___nativeDisplay_0; }
inline void set_nativeDisplay_0(intptr_t value)
{
___nativeDisplay_0 = value;
}
};
struct Display_t38AD3008E8C72693533E4FE9CFFF6E01B56E9D57_StaticFields
{
public:
// UnityEngine.Display[] UnityEngine.Display::displays
DisplayU5BU5D_tB2AB0FDB3B2E9FD784D5100C18EB0ED489A2CCC9* ___displays_1;
// UnityEngine.Display UnityEngine.Display::_mainDisplay
Display_t38AD3008E8C72693533E4FE9CFFF6E01B56E9D57 * ____mainDisplay_2;
// UnityEngine.Display_DisplaysUpdatedDelegate UnityEngine.Display::onDisplaysUpdated
DisplaysUpdatedDelegate_t2FAF995B47D691BD7C5BBC17D533DD8B19BE9A90 * ___onDisplaysUpdated_3;
public:
inline static int32_t get_offset_of_displays_1() { return static_cast<int32_t>(offsetof(Display_t38AD3008E8C72693533E4FE9CFFF6E01B56E9D57_StaticFields, ___displays_1)); }
inline DisplayU5BU5D_tB2AB0FDB3B2E9FD784D5100C18EB0ED489A2CCC9* get_displays_1() const { return ___displays_1; }
inline DisplayU5BU5D_tB2AB0FDB3B2E9FD784D5100C18EB0ED489A2CCC9** get_address_of_displays_1() { return &___displays_1; }
inline void set_displays_1(DisplayU5BU5D_tB2AB0FDB3B2E9FD784D5100C18EB0ED489A2CCC9* value)
{
___displays_1 = value;
Il2CppCodeGenWriteBarrier((&___displays_1), value);
}
inline static int32_t get_offset_of__mainDisplay_2() { return static_cast<int32_t>(offsetof(Display_t38AD3008E8C72693533E4FE9CFFF6E01B56E9D57_StaticFields, ____mainDisplay_2)); }
inline Display_t38AD3008E8C72693533E4FE9CFFF6E01B56E9D57 * get__mainDisplay_2() const { return ____mainDisplay_2; }
inline Display_t38AD3008E8C72693533E4FE9CFFF6E01B56E9D57 ** get_address_of__mainDisplay_2() { return &____mainDisplay_2; }
inline void set__mainDisplay_2(Display_t38AD3008E8C72693533E4FE9CFFF6E01B56E9D57 * value)
{
____mainDisplay_2 = value;
Il2CppCodeGenWriteBarrier((&____mainDisplay_2), value);
}
inline static int32_t get_offset_of_onDisplaysUpdated_3() { return static_cast<int32_t>(offsetof(Display_t38AD3008E8C72693533E4FE9CFFF6E01B56E9D57_StaticFields, ___onDisplaysUpdated_3)); }
inline DisplaysUpdatedDelegate_t2FAF995B47D691BD7C5BBC17D533DD8B19BE9A90 * get_onDisplaysUpdated_3() const { return ___onDisplaysUpdated_3; }
inline DisplaysUpdatedDelegate_t2FAF995B47D691BD7C5BBC17D533DD8B19BE9A90 ** get_address_of_onDisplaysUpdated_3() { return &___onDisplaysUpdated_3; }
inline void set_onDisplaysUpdated_3(DisplaysUpdatedDelegate_t2FAF995B47D691BD7C5BBC17D533DD8B19BE9A90 * value)
{
___onDisplaysUpdated_3 = value;
Il2CppCodeGenWriteBarrier((&___onDisplaysUpdated_3), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // DISPLAY_T38AD3008E8C72693533E4FE9CFFF6E01B56E9D57_H
#ifndef FORMATUSAGE_T117AE34283B21B51894E10162A58F65FBF9E4D83_H
#define FORMATUSAGE_T117AE34283B21B51894E10162A58F65FBF9E4D83_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.Experimental.Rendering.FormatUsage
struct FormatUsage_t117AE34283B21B51894E10162A58F65FBF9E4D83
{
public:
// System.Int32 UnityEngine.Experimental.Rendering.FormatUsage::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(FormatUsage_t117AE34283B21B51894E10162A58F65FBF9E4D83, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // FORMATUSAGE_T117AE34283B21B51894E10162A58F65FBF9E4D83_H
#ifndef GRAPHICSFORMAT_T512915BBE299AE115F4DB0B96DF1DA2E72ECA181_H
#define GRAPHICSFORMAT_T512915BBE299AE115F4DB0B96DF1DA2E72ECA181_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.Experimental.Rendering.GraphicsFormat
struct GraphicsFormat_t512915BBE299AE115F4DB0B96DF1DA2E72ECA181
{
public:
// System.Int32 UnityEngine.Experimental.Rendering.GraphicsFormat::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(GraphicsFormat_t512915BBE299AE115F4DB0B96DF1DA2E72ECA181, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // GRAPHICSFORMAT_T512915BBE299AE115F4DB0B96DF1DA2E72ECA181_H
#ifndef TEXTURECREATIONFLAGS_T53DF64FEEF1551EC3224A2930BDFAAC63133E870_H
#define TEXTURECREATIONFLAGS_T53DF64FEEF1551EC3224A2930BDFAAC63133E870_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.Experimental.Rendering.TextureCreationFlags
struct TextureCreationFlags_t53DF64FEEF1551EC3224A2930BDFAAC63133E870
{
public:
// System.Int32 UnityEngine.Experimental.Rendering.TextureCreationFlags::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(TextureCreationFlags_t53DF64FEEF1551EC3224A2930BDFAAC63133E870, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // TEXTURECREATIONFLAGS_T53DF64FEEF1551EC3224A2930BDFAAC63133E870_H
#ifndef FILTERMODE_T6590B4B0BAE2BBBCABA8E1E93FA07A052B3261AF_H
#define FILTERMODE_T6590B4B0BAE2BBBCABA8E1E93FA07A052B3261AF_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.FilterMode
struct FilterMode_t6590B4B0BAE2BBBCABA8E1E93FA07A052B3261AF
{
public:
// System.Int32 UnityEngine.FilterMode::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(FilterMode_t6590B4B0BAE2BBBCABA8E1E93FA07A052B3261AF, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // FILTERMODE_T6590B4B0BAE2BBBCABA8E1E93FA07A052B3261AF_H
#ifndef GRADIENT_T35A694DDA1066524440E325E582B01E33DE66A3A_H
#define GRADIENT_T35A694DDA1066524440E325E582B01E33DE66A3A_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.Gradient
struct Gradient_t35A694DDA1066524440E325E582B01E33DE66A3A : public RuntimeObject
{
public:
// System.IntPtr UnityEngine.Gradient::m_Ptr
intptr_t ___m_Ptr_0;
public:
inline static int32_t get_offset_of_m_Ptr_0() { return static_cast<int32_t>(offsetof(Gradient_t35A694DDA1066524440E325E582B01E33DE66A3A, ___m_Ptr_0)); }
inline intptr_t get_m_Ptr_0() const { return ___m_Ptr_0; }
inline intptr_t* get_address_of_m_Ptr_0() { return &___m_Ptr_0; }
inline void set_m_Ptr_0(intptr_t value)
{
___m_Ptr_0 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
// Native definition for P/Invoke marshalling of UnityEngine.Gradient
struct Gradient_t35A694DDA1066524440E325E582B01E33DE66A3A_marshaled_pinvoke
{
intptr_t ___m_Ptr_0;
};
// Native definition for COM marshalling of UnityEngine.Gradient
struct Gradient_t35A694DDA1066524440E325E582B01E33DE66A3A_marshaled_com
{
intptr_t ___m_Ptr_0;
};
#endif // GRADIENT_T35A694DDA1066524440E325E582B01E33DE66A3A_H
#ifndef LIGHTMAPBAKETYPE_TE25771860DE24FF67A6C12EBF0277B1018C48C22_H
#define LIGHTMAPBAKETYPE_TE25771860DE24FF67A6C12EBF0277B1018C48C22_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.LightmapBakeType
struct LightmapBakeType_tE25771860DE24FF67A6C12EBF0277B1018C48C22
{
public:
// System.Int32 UnityEngine.LightmapBakeType::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(LightmapBakeType_tE25771860DE24FF67A6C12EBF0277B1018C48C22, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // LIGHTMAPBAKETYPE_TE25771860DE24FF67A6C12EBF0277B1018C48C22_H
#ifndef LIGHTMAPSMODE_T9783FF26F166392E6E10A551A3E87DE913DC2BCA_H
#define LIGHTMAPSMODE_T9783FF26F166392E6E10A551A3E87DE913DC2BCA_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.LightmapsMode
struct LightmapsMode_t9783FF26F166392E6E10A551A3E87DE913DC2BCA
{
public:
// System.Int32 UnityEngine.LightmapsMode::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(LightmapsMode_t9783FF26F166392E6E10A551A3E87DE913DC2BCA, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // LIGHTMAPSMODE_T9783FF26F166392E6E10A551A3E87DE913DC2BCA_H
#ifndef LOGTYPE_T6B6C6234E8B44B73937581ACFBE15DE28227849D_H
#define LOGTYPE_T6B6C6234E8B44B73937581ACFBE15DE28227849D_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.LogType
struct LogType_t6B6C6234E8B44B73937581ACFBE15DE28227849D
{
public:
// System.Int32 UnityEngine.LogType::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(LogType_t6B6C6234E8B44B73937581ACFBE15DE28227849D, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // LOGTYPE_T6B6C6234E8B44B73937581ACFBE15DE28227849D_H
#ifndef MESHTOPOLOGY_T717F086F9A66000F22E1A30D7F2328BB96726C32_H
#define MESHTOPOLOGY_T717F086F9A66000F22E1A30D7F2328BB96726C32_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.MeshTopology
struct MeshTopology_t717F086F9A66000F22E1A30D7F2328BB96726C32
{
public:
// System.Int32 UnityEngine.MeshTopology::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(MeshTopology_t717F086F9A66000F22E1A30D7F2328BB96726C32, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // MESHTOPOLOGY_T717F086F9A66000F22E1A30D7F2328BB96726C32_H
#ifndef MIXEDLIGHTINGMODE_TD50D086A6C9F7CC6A40199CA74FCED3FAAF7150C_H
#define MIXEDLIGHTINGMODE_TD50D086A6C9F7CC6A40199CA74FCED3FAAF7150C_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.MixedLightingMode
struct MixedLightingMode_tD50D086A6C9F7CC6A40199CA74FCED3FAAF7150C
{
public:
// System.Int32 UnityEngine.MixedLightingMode::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(MixedLightingMode_tD50D086A6C9F7CC6A40199CA74FCED3FAAF7150C, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // MIXEDLIGHTINGMODE_TD50D086A6C9F7CC6A40199CA74FCED3FAAF7150C_H
#ifndef OBJECT_TAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_H
#define OBJECT_TAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.Object
struct Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0 : public RuntimeObject
{
public:
// System.IntPtr UnityEngine.Object::m_CachedPtr
intptr_t ___m_CachedPtr_0;
public:
inline static int32_t get_offset_of_m_CachedPtr_0() { return static_cast<int32_t>(offsetof(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0, ___m_CachedPtr_0)); }
inline intptr_t get_m_CachedPtr_0() const { return ___m_CachedPtr_0; }
inline intptr_t* get_address_of_m_CachedPtr_0() { return &___m_CachedPtr_0; }
inline void set_m_CachedPtr_0(intptr_t value)
{
___m_CachedPtr_0 = value;
}
};
struct Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_StaticFields
{
public:
// System.Int32 UnityEngine.Object::OffsetOfInstanceIDInCPlusPlusObject
int32_t ___OffsetOfInstanceIDInCPlusPlusObject_1;
public:
inline static int32_t get_offset_of_OffsetOfInstanceIDInCPlusPlusObject_1() { return static_cast<int32_t>(offsetof(Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_StaticFields, ___OffsetOfInstanceIDInCPlusPlusObject_1)); }
inline int32_t get_OffsetOfInstanceIDInCPlusPlusObject_1() const { return ___OffsetOfInstanceIDInCPlusPlusObject_1; }
inline int32_t* get_address_of_OffsetOfInstanceIDInCPlusPlusObject_1() { return &___OffsetOfInstanceIDInCPlusPlusObject_1; }
inline void set_OffsetOfInstanceIDInCPlusPlusObject_1(int32_t value)
{
___OffsetOfInstanceIDInCPlusPlusObject_1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
// Native definition for P/Invoke marshalling of UnityEngine.Object
struct Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_marshaled_pinvoke
{
intptr_t ___m_CachedPtr_0;
};
// Native definition for COM marshalling of UnityEngine.Object
struct Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_marshaled_com
{
intptr_t ___m_CachedPtr_0;
};
#endif // OBJECT_TAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_H
#ifndef RECTOFFSET_TED44B1176E93501050480416699D1F11BAE8C87A_H
#define RECTOFFSET_TED44B1176E93501050480416699D1F11BAE8C87A_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.RectOffset
struct RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A : public RuntimeObject
{
public:
// System.IntPtr UnityEngine.RectOffset::m_Ptr
intptr_t ___m_Ptr_0;
// System.Object UnityEngine.RectOffset::m_SourceStyle
RuntimeObject * ___m_SourceStyle_1;
public:
inline static int32_t get_offset_of_m_Ptr_0() { return static_cast<int32_t>(offsetof(RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A, ___m_Ptr_0)); }
inline intptr_t get_m_Ptr_0() const { return ___m_Ptr_0; }
inline intptr_t* get_address_of_m_Ptr_0() { return &___m_Ptr_0; }
inline void set_m_Ptr_0(intptr_t value)
{
___m_Ptr_0 = value;
}
inline static int32_t get_offset_of_m_SourceStyle_1() { return static_cast<int32_t>(offsetof(RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A, ___m_SourceStyle_1)); }
inline RuntimeObject * get_m_SourceStyle_1() const { return ___m_SourceStyle_1; }
inline RuntimeObject ** get_address_of_m_SourceStyle_1() { return &___m_SourceStyle_1; }
inline void set_m_SourceStyle_1(RuntimeObject * value)
{
___m_SourceStyle_1 = value;
Il2CppCodeGenWriteBarrier((&___m_SourceStyle_1), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
// Native definition for P/Invoke marshalling of UnityEngine.RectOffset
struct RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A_marshaled_pinvoke
{
intptr_t ___m_Ptr_0;
Il2CppIUnknown* ___m_SourceStyle_1;
};
// Native definition for COM marshalling of UnityEngine.RectOffset
struct RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A_marshaled_com
{
intptr_t ___m_Ptr_0;
Il2CppIUnknown* ___m_SourceStyle_1;
};
#endif // RECTOFFSET_TED44B1176E93501050480416699D1F11BAE8C87A_H
#ifndef RENDERTEXTURECREATIONFLAGS_TF63E06301E4BB4746F7E07759B359872BD4BFB1E_H
#define RENDERTEXTURECREATIONFLAGS_TF63E06301E4BB4746F7E07759B359872BD4BFB1E_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.RenderTextureCreationFlags
struct RenderTextureCreationFlags_tF63E06301E4BB4746F7E07759B359872BD4BFB1E
{
public:
// System.Int32 UnityEngine.RenderTextureCreationFlags::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(RenderTextureCreationFlags_tF63E06301E4BB4746F7E07759B359872BD4BFB1E, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // RENDERTEXTURECREATIONFLAGS_TF63E06301E4BB4746F7E07759B359872BD4BFB1E_H
#ifndef RENDERTEXTUREFORMAT_T2AB1B77FBD247648292FBBE1182F12B5FC47AF85_H
#define RENDERTEXTUREFORMAT_T2AB1B77FBD247648292FBBE1182F12B5FC47AF85_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.RenderTextureFormat
struct RenderTextureFormat_t2AB1B77FBD247648292FBBE1182F12B5FC47AF85
{
public:
// System.Int32 UnityEngine.RenderTextureFormat::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(RenderTextureFormat_t2AB1B77FBD247648292FBBE1182F12B5FC47AF85, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // RENDERTEXTUREFORMAT_T2AB1B77FBD247648292FBBE1182F12B5FC47AF85_H
#ifndef RENDERTEXTUREMEMORYLESS_T19E37ADD57C1F00D67146A2BB4521D06F370D2E9_H
#define RENDERTEXTUREMEMORYLESS_T19E37ADD57C1F00D67146A2BB4521D06F370D2E9_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.RenderTextureMemoryless
struct RenderTextureMemoryless_t19E37ADD57C1F00D67146A2BB4521D06F370D2E9
{
public:
// System.Int32 UnityEngine.RenderTextureMemoryless::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(RenderTextureMemoryless_t19E37ADD57C1F00D67146A2BB4521D06F370D2E9, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // RENDERTEXTUREMEMORYLESS_T19E37ADD57C1F00D67146A2BB4521D06F370D2E9_H
#ifndef RENDERTEXTUREREADWRITE_T3CCCB992A820A6F3229071EBC0E3927DC81D04F8_H
#define RENDERTEXTUREREADWRITE_T3CCCB992A820A6F3229071EBC0E3927DC81D04F8_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.RenderTextureReadWrite
struct RenderTextureReadWrite_t3CCCB992A820A6F3229071EBC0E3927DC81D04F8
{
public:
// System.Int32 UnityEngine.RenderTextureReadWrite::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(RenderTextureReadWrite_t3CCCB992A820A6F3229071EBC0E3927DC81D04F8, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // RENDERTEXTUREREADWRITE_T3CCCB992A820A6F3229071EBC0E3927DC81D04F8_H
#ifndef VERTEXATTRIBUTE_T2D79DF64001C55DA72AC86CE8946098970E8194D_H
#define VERTEXATTRIBUTE_T2D79DF64001C55DA72AC86CE8946098970E8194D_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.Rendering.VertexAttribute
struct VertexAttribute_t2D79DF64001C55DA72AC86CE8946098970E8194D
{
public:
// System.Int32 UnityEngine.Rendering.VertexAttribute::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(VertexAttribute_t2D79DF64001C55DA72AC86CE8946098970E8194D, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // VERTEXATTRIBUTE_T2D79DF64001C55DA72AC86CE8946098970E8194D_H
#ifndef RUNTIMEPLATFORM_TD5F5737C1BBBCBB115EB104DF2B7876387E80132_H
#define RUNTIMEPLATFORM_TD5F5737C1BBBCBB115EB104DF2B7876387E80132_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.RuntimePlatform
struct RuntimePlatform_tD5F5737C1BBBCBB115EB104DF2B7876387E80132
{
public:
// System.Int32 UnityEngine.RuntimePlatform::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(RuntimePlatform_tD5F5737C1BBBCBB115EB104DF2B7876387E80132, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // RUNTIMEPLATFORM_TD5F5737C1BBBCBB115EB104DF2B7876387E80132_H
#ifndef SCREENORIENTATION_T4AB8E2E02033B0EAEA0260B05B1D88DA8058BB51_H
#define SCREENORIENTATION_T4AB8E2E02033B0EAEA0260B05B1D88DA8058BB51_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.ScreenOrientation
struct ScreenOrientation_t4AB8E2E02033B0EAEA0260B05B1D88DA8058BB51
{
public:
// System.Int32 UnityEngine.ScreenOrientation::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(ScreenOrientation_t4AB8E2E02033B0EAEA0260B05B1D88DA8058BB51, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // SCREENORIENTATION_T4AB8E2E02033B0EAEA0260B05B1D88DA8058BB51_H
#ifndef SENDMESSAGEOPTIONS_T4EA4645A7D0C4E0186BD7A984CDF4EE2C8F26250_H
#define SENDMESSAGEOPTIONS_T4EA4645A7D0C4E0186BD7A984CDF4EE2C8F26250_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.SendMessageOptions
struct SendMessageOptions_t4EA4645A7D0C4E0186BD7A984CDF4EE2C8F26250
{
public:
// System.Int32 UnityEngine.SendMessageOptions::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(SendMessageOptions_t4EA4645A7D0C4E0186BD7A984CDF4EE2C8F26250, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // SENDMESSAGEOPTIONS_T4EA4645A7D0C4E0186BD7A984CDF4EE2C8F26250_H
#ifndef TEXTUREFORMAT_T7C6B5101554065C47682E592D1E26079D4EC2DCE_H
#define TEXTUREFORMAT_T7C6B5101554065C47682E592D1E26079D4EC2DCE_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.TextureFormat
struct TextureFormat_t7C6B5101554065C47682E592D1E26079D4EC2DCE
{
public:
// System.Int32 UnityEngine.TextureFormat::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(TextureFormat_t7C6B5101554065C47682E592D1E26079D4EC2DCE, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // TEXTUREFORMAT_T7C6B5101554065C47682E592D1E26079D4EC2DCE_H
#ifndef TEXTUREWRAPMODE_T8AC763BD80806A9175C6AA8D33D6BABAD83E950F_H
#define TEXTUREWRAPMODE_T8AC763BD80806A9175C6AA8D33D6BABAD83E950F_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.TextureWrapMode
struct TextureWrapMode_t8AC763BD80806A9175C6AA8D33D6BABAD83E950F
{
public:
// System.Int32 UnityEngine.TextureWrapMode::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(TextureWrapMode_t8AC763BD80806A9175C6AA8D33D6BABAD83E950F, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // TEXTUREWRAPMODE_T8AC763BD80806A9175C6AA8D33D6BABAD83E950F_H
#ifndef VRTEXTUREUSAGE_T2D7C2397ABF03DD28086B969100F7D91DDD978A0_H
#define VRTEXTUREUSAGE_T2D7C2397ABF03DD28086B969100F7D91DDD978A0_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.VRTextureUsage
struct VRTextureUsage_t2D7C2397ABF03DD28086B969100F7D91DDD978A0
{
public:
// System.Int32 UnityEngine.VRTextureUsage::value__
int32_t ___value___2;
public:
inline static int32_t get_offset_of_value___2() { return static_cast<int32_t>(offsetof(VRTextureUsage_t2D7C2397ABF03DD28086B969100F7D91DDD978A0, ___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;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // VRTEXTUREUSAGE_T2D7C2397ABF03DD28086B969100F7D91DDD978A0_H
#ifndef MULTICASTDELEGATE_T_H
#define MULTICASTDELEGATE_T_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// System.MulticastDelegate
struct MulticastDelegate_t : public Delegate_t
{
public:
// System.Delegate[] System.MulticastDelegate::delegates
DelegateU5BU5D_tDFCDEE2A6322F96C0FE49AF47E9ADB8C4B294E86* ___delegates_11;
public:
inline static int32_t get_offset_of_delegates_11() { return static_cast<int32_t>(offsetof(MulticastDelegate_t, ___delegates_11)); }
inline DelegateU5BU5D_tDFCDEE2A6322F96C0FE49AF47E9ADB8C4B294E86* get_delegates_11() const { return ___delegates_11; }
inline DelegateU5BU5D_tDFCDEE2A6322F96C0FE49AF47E9ADB8C4B294E86** get_address_of_delegates_11() { return &___delegates_11; }
inline void set_delegates_11(DelegateU5BU5D_tDFCDEE2A6322F96C0FE49AF47E9ADB8C4B294E86* value)
{
___delegates_11 = value;
Il2CppCodeGenWriteBarrier((&___delegates_11), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
// Native definition for P/Invoke marshalling of System.MulticastDelegate
struct MulticastDelegate_t_marshaled_pinvoke : public Delegate_t_marshaled_pinvoke
{
Delegate_t_marshaled_pinvoke** ___delegates_11;
};
// Native definition for COM marshalling of System.MulticastDelegate
struct MulticastDelegate_t_marshaled_com : public Delegate_t_marshaled_com
{
Delegate_t_marshaled_com** ___delegates_11;
};
#endif // MULTICASTDELEGATE_T_H
#ifndef NATIVEPROPERTYATTRIBUTE_TD231CE0D66BEF2B7C0E5D3FF92B02E4FD0365C61_H
#define NATIVEPROPERTYATTRIBUTE_TD231CE0D66BEF2B7C0E5D3FF92B02E4FD0365C61_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.Bindings.NativePropertyAttribute
struct NativePropertyAttribute_tD231CE0D66BEF2B7C0E5D3FF92B02E4FD0365C61 : public NativeMethodAttribute_tB1AB33D5877AD8417C7E646A48AF1941283DC309
{
public:
// UnityEngine.Bindings.TargetType UnityEngine.Bindings.NativePropertyAttribute::<TargetType>k__BackingField
int32_t ___U3CTargetTypeU3Ek__BackingField_5;
public:
inline static int32_t get_offset_of_U3CTargetTypeU3Ek__BackingField_5() { return static_cast<int32_t>(offsetof(NativePropertyAttribute_tD231CE0D66BEF2B7C0E5D3FF92B02E4FD0365C61, ___U3CTargetTypeU3Ek__BackingField_5)); }
inline int32_t get_U3CTargetTypeU3Ek__BackingField_5() const { return ___U3CTargetTypeU3Ek__BackingField_5; }
inline int32_t* get_address_of_U3CTargetTypeU3Ek__BackingField_5() { return &___U3CTargetTypeU3Ek__BackingField_5; }
inline void set_U3CTargetTypeU3Ek__BackingField_5(int32_t value)
{
___U3CTargetTypeU3Ek__BackingField_5 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // NATIVEPROPERTYATTRIBUTE_TD231CE0D66BEF2B7C0E5D3FF92B02E4FD0365C61_H
#ifndef NATIVETYPEATTRIBUTE_T13DB73C52788E49FFE842918C50B9D79C352B831_H
#define NATIVETYPEATTRIBUTE_T13DB73C52788E49FFE842918C50B9D79C352B831_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.Bindings.NativeTypeAttribute
struct NativeTypeAttribute_t13DB73C52788E49FFE842918C50B9D79C352B831 : public Attribute_tF048C13FB3C8CFCC53F82290E4A3F621089F9A74
{
public:
// System.String UnityEngine.Bindings.NativeTypeAttribute::<Header>k__BackingField
String_t* ___U3CHeaderU3Ek__BackingField_0;
// System.String UnityEngine.Bindings.NativeTypeAttribute::<IntermediateScriptingStructName>k__BackingField
String_t* ___U3CIntermediateScriptingStructNameU3Ek__BackingField_1;
// UnityEngine.Bindings.CodegenOptions UnityEngine.Bindings.NativeTypeAttribute::<CodegenOptions>k__BackingField
int32_t ___U3CCodegenOptionsU3Ek__BackingField_2;
public:
inline static int32_t get_offset_of_U3CHeaderU3Ek__BackingField_0() { return static_cast<int32_t>(offsetof(NativeTypeAttribute_t13DB73C52788E49FFE842918C50B9D79C352B831, ___U3CHeaderU3Ek__BackingField_0)); }
inline String_t* get_U3CHeaderU3Ek__BackingField_0() const { return ___U3CHeaderU3Ek__BackingField_0; }
inline String_t** get_address_of_U3CHeaderU3Ek__BackingField_0() { return &___U3CHeaderU3Ek__BackingField_0; }
inline void set_U3CHeaderU3Ek__BackingField_0(String_t* value)
{
___U3CHeaderU3Ek__BackingField_0 = value;
Il2CppCodeGenWriteBarrier((&___U3CHeaderU3Ek__BackingField_0), value);
}
inline static int32_t get_offset_of_U3CIntermediateScriptingStructNameU3Ek__BackingField_1() { return static_cast<int32_t>(offsetof(NativeTypeAttribute_t13DB73C52788E49FFE842918C50B9D79C352B831, ___U3CIntermediateScriptingStructNameU3Ek__BackingField_1)); }
inline String_t* get_U3CIntermediateScriptingStructNameU3Ek__BackingField_1() const { return ___U3CIntermediateScriptingStructNameU3Ek__BackingField_1; }
inline String_t** get_address_of_U3CIntermediateScriptingStructNameU3Ek__BackingField_1() { return &___U3CIntermediateScriptingStructNameU3Ek__BackingField_1; }
inline void set_U3CIntermediateScriptingStructNameU3Ek__BackingField_1(String_t* value)
{
___U3CIntermediateScriptingStructNameU3Ek__BackingField_1 = value;
Il2CppCodeGenWriteBarrier((&___U3CIntermediateScriptingStructNameU3Ek__BackingField_1), value);
}
inline static int32_t get_offset_of_U3CCodegenOptionsU3Ek__BackingField_2() { return static_cast<int32_t>(offsetof(NativeTypeAttribute_t13DB73C52788E49FFE842918C50B9D79C352B831, ___U3CCodegenOptionsU3Ek__BackingField_2)); }
inline int32_t get_U3CCodegenOptionsU3Ek__BackingField_2() const { return ___U3CCodegenOptionsU3Ek__BackingField_2; }
inline int32_t* get_address_of_U3CCodegenOptionsU3Ek__BackingField_2() { return &___U3CCodegenOptionsU3Ek__BackingField_2; }
inline void set_U3CCodegenOptionsU3Ek__BackingField_2(int32_t value)
{
___U3CCodegenOptionsU3Ek__BackingField_2 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // NATIVETYPEATTRIBUTE_T13DB73C52788E49FFE842918C50B9D79C352B831_H
#ifndef STATICACCESSORATTRIBUTE_TE507394A59220DFDF5DBE62DD94B6A00AA01D1F2_H
#define STATICACCESSORATTRIBUTE_TE507394A59220DFDF5DBE62DD94B6A00AA01D1F2_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.Bindings.StaticAccessorAttribute
struct StaticAccessorAttribute_tE507394A59220DFDF5DBE62DD94B6A00AA01D1F2 : public Attribute_tF048C13FB3C8CFCC53F82290E4A3F621089F9A74
{
public:
// System.String UnityEngine.Bindings.StaticAccessorAttribute::<Name>k__BackingField
String_t* ___U3CNameU3Ek__BackingField_0;
// UnityEngine.Bindings.StaticAccessorType UnityEngine.Bindings.StaticAccessorAttribute::<Type>k__BackingField
int32_t ___U3CTypeU3Ek__BackingField_1;
public:
inline static int32_t get_offset_of_U3CNameU3Ek__BackingField_0() { return static_cast<int32_t>(offsetof(StaticAccessorAttribute_tE507394A59220DFDF5DBE62DD94B6A00AA01D1F2, ___U3CNameU3Ek__BackingField_0)); }
inline String_t* get_U3CNameU3Ek__BackingField_0() const { return ___U3CNameU3Ek__BackingField_0; }
inline String_t** get_address_of_U3CNameU3Ek__BackingField_0() { return &___U3CNameU3Ek__BackingField_0; }
inline void set_U3CNameU3Ek__BackingField_0(String_t* value)
{
___U3CNameU3Ek__BackingField_0 = value;
Il2CppCodeGenWriteBarrier((&___U3CNameU3Ek__BackingField_0), value);
}
inline static int32_t get_offset_of_U3CTypeU3Ek__BackingField_1() { return static_cast<int32_t>(offsetof(StaticAccessorAttribute_tE507394A59220DFDF5DBE62DD94B6A00AA01D1F2, ___U3CTypeU3Ek__BackingField_1)); }
inline int32_t get_U3CTypeU3Ek__BackingField_1() const { return ___U3CTypeU3Ek__BackingField_1; }
inline int32_t* get_address_of_U3CTypeU3Ek__BackingField_1() { return &___U3CTypeU3Ek__BackingField_1; }
inline void set_U3CTypeU3Ek__BackingField_1(int32_t value)
{
___U3CTypeU3Ek__BackingField_1 = value;
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // STATICACCESSORATTRIBUTE_TE507394A59220DFDF5DBE62DD94B6A00AA01D1F2_H
#ifndef COMPONENT_T05064EF382ABCAF4B8C94F8A350EA85184C26621_H
#define COMPONENT_T05064EF382ABCAF4B8C94F8A350EA85184C26621_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.Component
struct Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621 : public Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // COMPONENT_T05064EF382ABCAF4B8C94F8A350EA85184C26621_H
#ifndef FAILEDTOLOADSCRIPTOBJECT_TB9D2DBB36BA1E86F2A7392AF112B455206E8E83B_H
#define FAILEDTOLOADSCRIPTOBJECT_TB9D2DBB36BA1E86F2A7392AF112B455206E8E83B_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.FailedToLoadScriptObject
struct FailedToLoadScriptObject_tB9D2DBB36BA1E86F2A7392AF112B455206E8E83B : public Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
// Native definition for P/Invoke marshalling of UnityEngine.FailedToLoadScriptObject
struct FailedToLoadScriptObject_tB9D2DBB36BA1E86F2A7392AF112B455206E8E83B_marshaled_pinvoke : public Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_marshaled_pinvoke
{
};
// Native definition for COM marshalling of UnityEngine.FailedToLoadScriptObject
struct FailedToLoadScriptObject_tB9D2DBB36BA1E86F2A7392AF112B455206E8E83B_marshaled_com : public Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0_marshaled_com
{
};
#endif // FAILEDTOLOADSCRIPTOBJECT_TB9D2DBB36BA1E86F2A7392AF112B455206E8E83B_H
#ifndef GAMEOBJECT_TBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F_H
#define GAMEOBJECT_TBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.GameObject
struct GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F : public Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // GAMEOBJECT_TBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F_H
#ifndef LOWERRESBLITTEXTURE_T872241FCAA36A884DD3989C4EF7AD3DE1B1E5EAD_H
#define LOWERRESBLITTEXTURE_T872241FCAA36A884DD3989C4EF7AD3DE1B1E5EAD_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.LowerResBlitTexture
struct LowerResBlitTexture_t872241FCAA36A884DD3989C4EF7AD3DE1B1E5EAD : public Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // LOWERRESBLITTEXTURE_T872241FCAA36A884DD3989C4EF7AD3DE1B1E5EAD_H
#ifndef MATERIAL_TF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598_H
#define MATERIAL_TF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.Material
struct Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598 : public Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // MATERIAL_TF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598_H
#ifndef PRELOADDATA_T8B90BB489B4443F08031973939BDEC6624982A0A_H
#define PRELOADDATA_T8B90BB489B4443F08031973939BDEC6624982A0A_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.PreloadData
struct PreloadData_t8B90BB489B4443F08031973939BDEC6624982A0A : public Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // PRELOADDATA_T8B90BB489B4443F08031973939BDEC6624982A0A_H
#ifndef QUALITYSETTINGS_TE48660467FA2614E31E861AAB782F3D1F6B7223A_H
#define QUALITYSETTINGS_TE48660467FA2614E31E861AAB782F3D1F6B7223A_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.QualitySettings
struct QualitySettings_tE48660467FA2614E31E861AAB782F3D1F6B7223A : public Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // QUALITYSETTINGS_TE48660467FA2614E31E861AAB782F3D1F6B7223A_H
#ifndef SHADER_TE2731FF351B74AB4186897484FB01E000C1160CA_H
#define SHADER_TE2731FF351B74AB4186897484FB01E000C1160CA_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.Shader
struct Shader_tE2731FF351B74AB4186897484FB01E000C1160CA : public Object_tAE11E5E46CD5C37C9F3E8950C00CD8B45666A2D0
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // SHADER_TE2731FF351B74AB4186897484FB01E000C1160CA_H
#ifndef LOGCALLBACK_T73139DDD22E0DAFAB5F0E39D4D9B1522682C4778_H
#define LOGCALLBACK_T73139DDD22E0DAFAB5F0E39D4D9B1522682C4778_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.Application_LogCallback
struct LogCallback_t73139DDD22E0DAFAB5F0E39D4D9B1522682C4778 : public MulticastDelegate_t
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // LOGCALLBACK_T73139DDD22E0DAFAB5F0E39D4D9B1522682C4778_H
#ifndef LOWMEMORYCALLBACK_T3862486677D10CD16ECDA703CFB75039A4B3AE00_H
#define LOWMEMORYCALLBACK_T3862486677D10CD16ECDA703CFB75039A4B3AE00_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.Application_LowMemoryCallback
struct LowMemoryCallback_t3862486677D10CD16ECDA703CFB75039A4B3AE00 : public MulticastDelegate_t
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // LOWMEMORYCALLBACK_T3862486677D10CD16ECDA703CFB75039A4B3AE00_H
#ifndef BEHAVIOUR_TBDC7E9C3C898AD8348891B82D3E345801D920CA8_H
#define BEHAVIOUR_TBDC7E9C3C898AD8348891B82D3E345801D920CA8_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.Behaviour
struct Behaviour_tBDC7E9C3C898AD8348891B82D3E345801D920CA8 : public Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // BEHAVIOUR_TBDC7E9C3C898AD8348891B82D3E345801D920CA8_H
#ifndef CAMERACALLBACK_T8BBB42AA08D7498DFC11F4128117055BC7F0B9D0_H
#define CAMERACALLBACK_T8BBB42AA08D7498DFC11F4128117055BC7F0B9D0_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.Camera_CameraCallback
struct CameraCallback_t8BBB42AA08D7498DFC11F4128117055BC7F0B9D0 : public MulticastDelegate_t
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // CAMERACALLBACK_T8BBB42AA08D7498DFC11F4128117055BC7F0B9D0_H
#ifndef STATECHANGED_T6B81A48F3E917979B3F56CE50FEEB8E4DE46F161_H
#define STATECHANGED_T6B81A48F3E917979B3F56CE50FEEB8E4DE46F161_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.CullingGroup_StateChanged
struct StateChanged_t6B81A48F3E917979B3F56CE50FEEB8E4DE46F161 : public MulticastDelegate_t
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // STATECHANGED_T6B81A48F3E917979B3F56CE50FEEB8E4DE46F161_H
#ifndef DISPLAYSUPDATEDDELEGATE_T2FAF995B47D691BD7C5BBC17D533DD8B19BE9A90_H
#define DISPLAYSUPDATEDDELEGATE_T2FAF995B47D691BD7C5BBC17D533DD8B19BE9A90_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.Display_DisplaysUpdatedDelegate
struct DisplaysUpdatedDelegate_t2FAF995B47D691BD7C5BBC17D533DD8B19BE9A90 : public MulticastDelegate_t
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // DISPLAYSUPDATEDDELEGATE_T2FAF995B47D691BD7C5BBC17D533DD8B19BE9A90_H
#ifndef MESHFILTER_T8D4BA8E8723DE5CFF53B0DA5EE2F6B3A5B0E0FE0_H
#define MESHFILTER_T8D4BA8E8723DE5CFF53B0DA5EE2F6B3A5B0E0FE0_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.MeshFilter
struct MeshFilter_t8D4BA8E8723DE5CFF53B0DA5EE2F6B3A5B0E0FE0 : public Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // MESHFILTER_T8D4BA8E8723DE5CFF53B0DA5EE2F6B3A5B0E0FE0_H
#ifndef RENDERER_T0556D67DD582620D1F495627EDE30D03284151F4_H
#define RENDERER_T0556D67DD582620D1F495627EDE30D03284151F4_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.Renderer
struct Renderer_t0556D67DD582620D1F495627EDE30D03284151F4 : public Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // RENDERER_T0556D67DD582620D1F495627EDE30D03284151F4_H
#ifndef CAMERA_T48B2B9ECB3CE6108A98BF949A1CECF0FE3421F34_H
#define CAMERA_T48B2B9ECB3CE6108A98BF949A1CECF0FE3421F34_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.Camera
struct Camera_t48B2B9ECB3CE6108A98BF949A1CECF0FE3421F34 : public Behaviour_tBDC7E9C3C898AD8348891B82D3E345801D920CA8
{
public:
public:
};
struct Camera_t48B2B9ECB3CE6108A98BF949A1CECF0FE3421F34_StaticFields
{
public:
// UnityEngine.Camera_CameraCallback UnityEngine.Camera::onPreCull
CameraCallback_t8BBB42AA08D7498DFC11F4128117055BC7F0B9D0 * ___onPreCull_4;
// UnityEngine.Camera_CameraCallback UnityEngine.Camera::onPreRender
CameraCallback_t8BBB42AA08D7498DFC11F4128117055BC7F0B9D0 * ___onPreRender_5;
// UnityEngine.Camera_CameraCallback UnityEngine.Camera::onPostRender
CameraCallback_t8BBB42AA08D7498DFC11F4128117055BC7F0B9D0 * ___onPostRender_6;
public:
inline static int32_t get_offset_of_onPreCull_4() { return static_cast<int32_t>(offsetof(Camera_t48B2B9ECB3CE6108A98BF949A1CECF0FE3421F34_StaticFields, ___onPreCull_4)); }
inline CameraCallback_t8BBB42AA08D7498DFC11F4128117055BC7F0B9D0 * get_onPreCull_4() const { return ___onPreCull_4; }
inline CameraCallback_t8BBB42AA08D7498DFC11F4128117055BC7F0B9D0 ** get_address_of_onPreCull_4() { return &___onPreCull_4; }
inline void set_onPreCull_4(CameraCallback_t8BBB42AA08D7498DFC11F4128117055BC7F0B9D0 * value)
{
___onPreCull_4 = value;
Il2CppCodeGenWriteBarrier((&___onPreCull_4), value);
}
inline static int32_t get_offset_of_onPreRender_5() { return static_cast<int32_t>(offsetof(Camera_t48B2B9ECB3CE6108A98BF949A1CECF0FE3421F34_StaticFields, ___onPreRender_5)); }
inline CameraCallback_t8BBB42AA08D7498DFC11F4128117055BC7F0B9D0 * get_onPreRender_5() const { return ___onPreRender_5; }
inline CameraCallback_t8BBB42AA08D7498DFC11F4128117055BC7F0B9D0 ** get_address_of_onPreRender_5() { return &___onPreRender_5; }
inline void set_onPreRender_5(CameraCallback_t8BBB42AA08D7498DFC11F4128117055BC7F0B9D0 * value)
{
___onPreRender_5 = value;
Il2CppCodeGenWriteBarrier((&___onPreRender_5), value);
}
inline static int32_t get_offset_of_onPostRender_6() { return static_cast<int32_t>(offsetof(Camera_t48B2B9ECB3CE6108A98BF949A1CECF0FE3421F34_StaticFields, ___onPostRender_6)); }
inline CameraCallback_t8BBB42AA08D7498DFC11F4128117055BC7F0B9D0 * get_onPostRender_6() const { return ___onPostRender_6; }
inline CameraCallback_t8BBB42AA08D7498DFC11F4128117055BC7F0B9D0 ** get_address_of_onPostRender_6() { return &___onPostRender_6; }
inline void set_onPostRender_6(CameraCallback_t8BBB42AA08D7498DFC11F4128117055BC7F0B9D0 * value)
{
___onPostRender_6 = value;
Il2CppCodeGenWriteBarrier((&___onPostRender_6), value);
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // CAMERA_T48B2B9ECB3CE6108A98BF949A1CECF0FE3421F34_H
#ifndef GUIELEMENT_T7509096A8399BAB91367BBDD2F90EB2BACB1C4C4_H
#define GUIELEMENT_T7509096A8399BAB91367BBDD2F90EB2BACB1C4C4_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.GUIElement
struct GUIElement_t7509096A8399BAB91367BBDD2F90EB2BACB1C4C4 : public Behaviour_tBDC7E9C3C898AD8348891B82D3E345801D920CA8
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // GUIELEMENT_T7509096A8399BAB91367BBDD2F90EB2BACB1C4C4_H
#ifndef GUILAYER_TB8A4E9CCC2977F6691AEBB96DE1C13681634063D_H
#define GUILAYER_TB8A4E9CCC2977F6691AEBB96DE1C13681634063D_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.GUILayer
struct GUILayer_tB8A4E9CCC2977F6691AEBB96DE1C13681634063D : public Behaviour_tBDC7E9C3C898AD8348891B82D3E345801D920CA8
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // GUILAYER_TB8A4E9CCC2977F6691AEBB96DE1C13681634063D_H
#ifndef LINERENDERER_TD225C480F28F28A4D737866474F21001B803B7C3_H
#define LINERENDERER_TD225C480F28F28A4D737866474F21001B803B7C3_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
// UnityEngine.LineRenderer
struct LineRenderer_tD225C480F28F28A4D737866474F21001B803B7C3 : public Renderer_t0556D67DD582620D1F495627EDE30D03284151F4
{
public:
public:
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // LINERENDERER_TD225C480F28F28A4D737866474F21001B803B7C3_H
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1500 = { sizeof (NativeMethodAttribute_tB1AB33D5877AD8417C7E646A48AF1941283DC309), -1, 0, 0 };
extern const int32_t g_FieldOffsetTable1500[5] =
{
NativeMethodAttribute_tB1AB33D5877AD8417C7E646A48AF1941283DC309::get_offset_of_U3CNameU3Ek__BackingField_0(),
NativeMethodAttribute_tB1AB33D5877AD8417C7E646A48AF1941283DC309::get_offset_of_U3CIsThreadSafeU3Ek__BackingField_1(),
NativeMethodAttribute_tB1AB33D5877AD8417C7E646A48AF1941283DC309::get_offset_of_U3CIsFreeFunctionU3Ek__BackingField_2(),
NativeMethodAttribute_tB1AB33D5877AD8417C7E646A48AF1941283DC309::get_offset_of_U3CThrowsExceptionU3Ek__BackingField_3(),
NativeMethodAttribute_tB1AB33D5877AD8417C7E646A48AF1941283DC309::get_offset_of_U3CHasExplicitThisU3Ek__BackingField_4(),
};
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1501 = { sizeof (TargetType_t8EE9F64281EE7EA0EDE81FA41E92A8C44C0F31BA)+ sizeof (RuntimeObject), sizeof(int32_t), 0, 0 };
extern const int32_t g_FieldOffsetTable1501[3] =
{
TargetType_t8EE9F64281EE7EA0EDE81FA41E92A8C44C0F31BA::get_offset_of_value___2() + static_cast<int32_t>(sizeof(RuntimeObject)),
0,
0,
};
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1502 = { sizeof (NativePropertyAttribute_tD231CE0D66BEF2B7C0E5D3FF92B02E4FD0365C61), -1, 0, 0 };
extern const int32_t g_FieldOffsetTable1502[1] =
{
NativePropertyAttribute_tD231CE0D66BEF2B7C0E5D3FF92B02E4FD0365C61::get_offset_of_U3CTargetTypeU3Ek__BackingField_5(),
};
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1503 = { sizeof (CodegenOptions_t046CD01EAB9A7BBBF2862220BE36B1AE7AE895CE)+ sizeof (RuntimeObject), sizeof(int32_t), 0, 0 };
extern const int32_t g_FieldOffsetTable1503[4] =
{
CodegenOptions_t046CD01EAB9A7BBBF2862220BE36B1AE7AE895CE::get_offset_of_value___2() + static_cast<int32_t>(sizeof(RuntimeObject)),
0,
0,
0,
};
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1504 = { sizeof (NativeTypeAttribute_t13DB73C52788E49FFE842918C50B9D79C352B831), -1, 0, 0 };
extern const int32_t g_FieldOffsetTable1504[3] =
{
NativeTypeAttribute_t13DB73C52788E49FFE842918C50B9D79C352B831::get_offset_of_U3CHeaderU3Ek__BackingField_0(),
NativeTypeAttribute_t13DB73C52788E49FFE842918C50B9D79C352B831::get_offset_of_U3CIntermediateScriptingStructNameU3Ek__BackingField_1(),
NativeTypeAttribute_t13DB73C52788E49FFE842918C50B9D79C352B831::get_offset_of_U3CCodegenOptionsU3Ek__BackingField_2(),
};
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1505 = { sizeof (NotNullAttribute_t04A526B0B7DD6B37D2FFC6E5079575E0C461E2A0), -1, 0, 0 };
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1506 = { sizeof (FreeFunctionAttribute_tE41160023E316B5E3DF87DA36BDDA9639DD835AE), -1, 0, 0 };
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1507 = { sizeof (ThreadSafeAttribute_t3FB9EE5993C748628BC06D9D46ACA3A58FDAE317), -1, 0, 0 };
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1508 = { sizeof (StaticAccessorType_t1F9C3101E6A29C700469488FDBC8F04FA6AFF061)+ sizeof (RuntimeObject), sizeof(int32_t), 0, 0 };
extern const int32_t g_FieldOffsetTable1508[5] =
{
StaticAccessorType_t1F9C3101E6A29C700469488FDBC8F04FA6AFF061::get_offset_of_value___2() + static_cast<int32_t>(sizeof(RuntimeObject)),
0,
0,
0,
0,
};
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1509 = { sizeof (StaticAccessorAttribute_tE507394A59220DFDF5DBE62DD94B6A00AA01D1F2), -1, 0, 0 };
extern const int32_t g_FieldOffsetTable1509[2] =
{
StaticAccessorAttribute_tE507394A59220DFDF5DBE62DD94B6A00AA01D1F2::get_offset_of_U3CNameU3Ek__BackingField_0(),
StaticAccessorAttribute_tE507394A59220DFDF5DBE62DD94B6A00AA01D1F2::get_offset_of_U3CTypeU3Ek__BackingField_1(),
};
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1510 = { sizeof (NativeThrowsAttribute_t0DAF98C14FF11B321CBB7131226E0A2413426EFA), -1, 0, 0 };
extern const int32_t g_FieldOffsetTable1510[1] =
{
NativeThrowsAttribute_t0DAF98C14FF11B321CBB7131226E0A2413426EFA::get_offset_of_U3CThrowsExceptionU3Ek__BackingField_0(),
};
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1511 = { sizeof (IgnoreAttribute_tD849E806CA1C75980B97B047908DE57D156B775F), -1, 0, 0 };
extern const int32_t g_FieldOffsetTable1511[1] =
{
IgnoreAttribute_tD849E806CA1C75980B97B047908DE57D156B775F::get_offset_of_U3CDoesNotContributeToSizeU3Ek__BackingField_0(),
};
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1512 = { sizeof (UnityString_t23ABC3E7AC3E5DA2DAF1DE7A50E1670E3DC6691B), -1, 0, 0 };
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1513 = { sizeof (U3CModuleU3E_t721799D5E718B5EDD7BFDDF4EFBA50C642140B3F), -1, 0, 0 };
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1514 = { sizeof (Keyframe_t9E945CACC5AC36E067B15A634096A223A06D2D74)+ sizeof (RuntimeObject), sizeof(Keyframe_t9E945CACC5AC36E067B15A634096A223A06D2D74 ), 0, 0 };
extern const int32_t g_FieldOffsetTable1514[7] =
{
Keyframe_t9E945CACC5AC36E067B15A634096A223A06D2D74::get_offset_of_m_Time_0() + static_cast<int32_t>(sizeof(RuntimeObject)),
Keyframe_t9E945CACC5AC36E067B15A634096A223A06D2D74::get_offset_of_m_Value_1() + static_cast<int32_t>(sizeof(RuntimeObject)),
Keyframe_t9E945CACC5AC36E067B15A634096A223A06D2D74::get_offset_of_m_InTangent_2() + static_cast<int32_t>(sizeof(RuntimeObject)),
Keyframe_t9E945CACC5AC36E067B15A634096A223A06D2D74::get_offset_of_m_OutTangent_3() + static_cast<int32_t>(sizeof(RuntimeObject)),
Keyframe_t9E945CACC5AC36E067B15A634096A223A06D2D74::get_offset_of_m_WeightedMode_4() + static_cast<int32_t>(sizeof(RuntimeObject)),
Keyframe_t9E945CACC5AC36E067B15A634096A223A06D2D74::get_offset_of_m_InWeight_5() + static_cast<int32_t>(sizeof(RuntimeObject)),
Keyframe_t9E945CACC5AC36E067B15A634096A223A06D2D74::get_offset_of_m_OutWeight_6() + static_cast<int32_t>(sizeof(RuntimeObject)),
};
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1515 = { sizeof (AnimationCurve_tD2F265379583AAF1BF8D84F1BB8DB12980FA504C), sizeof(AnimationCurve_tD2F265379583AAF1BF8D84F1BB8DB12980FA504C_marshaled_pinvoke), 0, 0 };
extern const int32_t g_FieldOffsetTable1515[1] =
{
AnimationCurve_tD2F265379583AAF1BF8D84F1BB8DB12980FA504C::get_offset_of_m_Ptr_0(),
};
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1516 = { sizeof (Application_tFB5051EC2E3C2C0DACFD37D1E794444AC27B8316), -1, sizeof(Application_tFB5051EC2E3C2C0DACFD37D1E794444AC27B8316_StaticFields), 0 };
extern const int32_t g_FieldOffsetTable1516[6] =
{
Application_tFB5051EC2E3C2C0DACFD37D1E794444AC27B8316_StaticFields::get_offset_of_lowMemory_0(),
Application_tFB5051EC2E3C2C0DACFD37D1E794444AC27B8316_StaticFields::get_offset_of_s_LogCallbackHandler_1(),
Application_tFB5051EC2E3C2C0DACFD37D1E794444AC27B8316_StaticFields::get_offset_of_s_LogCallbackHandlerThreaded_2(),
Application_tFB5051EC2E3C2C0DACFD37D1E794444AC27B8316_StaticFields::get_offset_of_focusChanged_3(),
Application_tFB5051EC2E3C2C0DACFD37D1E794444AC27B8316_StaticFields::get_offset_of_wantsToQuit_4(),
Application_tFB5051EC2E3C2C0DACFD37D1E794444AC27B8316_StaticFields::get_offset_of_quitting_5(),
};
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1517 = { sizeof (LowMemoryCallback_t3862486677D10CD16ECDA703CFB75039A4B3AE00), sizeof(Il2CppMethodPointer), 0, 0 };
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1518 = { sizeof (LogCallback_t73139DDD22E0DAFAB5F0E39D4D9B1522682C4778), sizeof(Il2CppMethodPointer), 0, 0 };
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1519 = { sizeof (AsyncOperation_t304C51ABED8AE734CC8DDDFE13013D8D5A44641D), sizeof(AsyncOperation_t304C51ABED8AE734CC8DDDFE13013D8D5A44641D_marshaled_pinvoke), 0, 0 };
extern const int32_t g_FieldOffsetTable1519[2] =
{
AsyncOperation_t304C51ABED8AE734CC8DDDFE13013D8D5A44641D::get_offset_of_m_Ptr_0(),
AsyncOperation_t304C51ABED8AE734CC8DDDFE13013D8D5A44641D::get_offset_of_m_completeCallback_1(),
};
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1520 = { sizeof (MonoPInvokeCallbackAttribute_tB543617AB871D80B122E5F5AD3D51F08FFE3E406), -1, 0, 0 };
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1521 = { sizeof (AttributeHelperEngine_t22E0A0A6E68E2DFAFB28B91CC8AFCE4630723601), -1, sizeof(AttributeHelperEngine_t22E0A0A6E68E2DFAFB28B91CC8AFCE4630723601_StaticFields), 0 };
extern const int32_t g_FieldOffsetTable1521[3] =
{
AttributeHelperEngine_t22E0A0A6E68E2DFAFB28B91CC8AFCE4630723601_StaticFields::get_offset_of__disallowMultipleComponentArray_0(),
AttributeHelperEngine_t22E0A0A6E68E2DFAFB28B91CC8AFCE4630723601_StaticFields::get_offset_of__executeInEditModeArray_1(),
AttributeHelperEngine_t22E0A0A6E68E2DFAFB28B91CC8AFCE4630723601_StaticFields::get_offset_of__requireComponentArray_2(),
};
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1522 = { sizeof (DisallowMultipleComponent_t78AA2992145F22B15B787B94A789B391635D9BCA), -1, 0, 0 };
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1523 = { sizeof (RequireComponent_t07725D895B775D6ED768EF52D4EE326539BA65E1), -1, 0, 0 };
extern const int32_t g_FieldOffsetTable1523[3] =
{
RequireComponent_t07725D895B775D6ED768EF52D4EE326539BA65E1::get_offset_of_m_Type0_0(),
RequireComponent_t07725D895B775D6ED768EF52D4EE326539BA65E1::get_offset_of_m_Type1_1(),
RequireComponent_t07725D895B775D6ED768EF52D4EE326539BA65E1::get_offset_of_m_Type2_2(),
};
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1524 = { sizeof (AddComponentMenu_tFC506BD3AC7C5903974088EF5A1815BC72AF8245), -1, 0, 0 };
extern const int32_t g_FieldOffsetTable1524[2] =
{
AddComponentMenu_tFC506BD3AC7C5903974088EF5A1815BC72AF8245::get_offset_of_m_AddComponentMenu_0(),
AddComponentMenu_tFC506BD3AC7C5903974088EF5A1815BC72AF8245::get_offset_of_m_Ordering_1(),
};
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1525 = { sizeof (CreateAssetMenuAttribute_t5642A3EBFE78285E0F52E9882FEE496F6E5B850C), -1, 0, 0 };
extern const int32_t g_FieldOffsetTable1525[3] =
{
CreateAssetMenuAttribute_t5642A3EBFE78285E0F52E9882FEE496F6E5B850C::get_offset_of_U3CmenuNameU3Ek__BackingField_0(),
CreateAssetMenuAttribute_t5642A3EBFE78285E0F52E9882FEE496F6E5B850C::get_offset_of_U3CfileNameU3Ek__BackingField_1(),
CreateAssetMenuAttribute_t5642A3EBFE78285E0F52E9882FEE496F6E5B850C::get_offset_of_U3CorderU3Ek__BackingField_2(),
};
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1526 = { sizeof (ContextMenu_t3D0ECE9B3C39699CBA1E1F56E05C93533657F8DC), -1, 0, 0 };
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1527 = { sizeof (ExecuteInEditMode_t2CEB97B05448F9AB3523C32B6D43E14383FAFB4E), -1, 0, 0 };
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1528 = { sizeof (ExecuteAlways_t57FCDBAAAA5AECB1568C3221FAE1E914B382B0A0), -1, 0, 0 };
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1529 = { sizeof (HelpURLAttribute_t94DF48CD0B11B0E35C0FC599C19121160AB668EA), -1, 0, 0 };
extern const int32_t g_FieldOffsetTable1529[1] =
{
HelpURLAttribute_t94DF48CD0B11B0E35C0FC599C19121160AB668EA::get_offset_of_m_Url_0(),
};
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1530 = { sizeof (DefaultExecutionOrder_t933EA54D4E5467321A1800D3389F25C48DE71398), -1, 0, 0 };
extern const int32_t g_FieldOffsetTable1530[1] =
{
DefaultExecutionOrder_t933EA54D4E5467321A1800D3389F25C48DE71398::get_offset_of_U3CorderU3Ek__BackingField_0(),
};
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1531 = { sizeof (AssemblyIsEditorAssembly_t195DAEA39D7334D226FDD85F18907498900D76CF), -1, 0, 0 };
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1532 = { sizeof (ExcludeFromPresetAttribute_t36852ADC0AB8D9696334AA238410394C7C5CD9CF), -1, 0, 0 };
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1533 = { sizeof (SendMessageOptions_t4EA4645A7D0C4E0186BD7A984CDF4EE2C8F26250)+ sizeof (RuntimeObject), sizeof(int32_t), 0, 0 };
extern const int32_t g_FieldOffsetTable1533[3] =
{
SendMessageOptions_t4EA4645A7D0C4E0186BD7A984CDF4EE2C8F26250::get_offset_of_value___2() + static_cast<int32_t>(sizeof(RuntimeObject)),
0,
0,
};
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1534 = { sizeof (RuntimePlatform_tD5F5737C1BBBCBB115EB104DF2B7876387E80132)+ sizeof (RuntimeObject), sizeof(int32_t), 0, 0 };
extern const int32_t g_FieldOffsetTable1534[35] =
{
RuntimePlatform_tD5F5737C1BBBCBB115EB104DF2B7876387E80132::get_offset_of_value___2() + static_cast<int32_t>(sizeof(RuntimeObject)),
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
};
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1535 = { sizeof (LogType_t6B6C6234E8B44B73937581ACFBE15DE28227849D)+ sizeof (RuntimeObject), sizeof(int32_t), 0, 0 };
extern const int32_t g_FieldOffsetTable1535[6] =
{
LogType_t6B6C6234E8B44B73937581ACFBE15DE28227849D::get_offset_of_value___2() + static_cast<int32_t>(sizeof(RuntimeObject)),
0,
0,
0,
0,
0,
};
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1536 = { sizeof (BeforeRenderOrderAttribute_t07A5919B12A5AF3FD562B99493E6C0FDA26FE6B5), -1, 0, 0 };
extern const int32_t g_FieldOffsetTable1536[1] =
{
BeforeRenderOrderAttribute_t07A5919B12A5AF3FD562B99493E6C0FDA26FE6B5::get_offset_of_U3CorderU3Ek__BackingField_0(),
};
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1537 = { sizeof (BeforeRenderHelper_tCD998F49EADBEE71F9B1A4381F9495633D09A2C2), -1, sizeof(BeforeRenderHelper_tCD998F49EADBEE71F9B1A4381F9495633D09A2C2_StaticFields), 0 };
extern const int32_t g_FieldOffsetTable1537[1] =
{
BeforeRenderHelper_tCD998F49EADBEE71F9B1A4381F9495633D09A2C2_StaticFields::get_offset_of_s_OrderBlocks_0(),
};
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1538 = { sizeof (OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727)+ sizeof (RuntimeObject), sizeof(OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727_marshaled_pinvoke), 0, 0 };
extern const int32_t g_FieldOffsetTable1538[2] =
{
OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727::get_offset_of_order_0() + static_cast<int32_t>(sizeof(RuntimeObject)),
OrderBlock_t3B2BBCE8320FAEC3DB605F7DC9AB641102F53727::get_offset_of_callback_1() + static_cast<int32_t>(sizeof(RuntimeObject)),
};
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1539 = { sizeof (Behaviour_tBDC7E9C3C898AD8348891B82D3E345801D920CA8), -1, 0, 0 };
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1540 = { sizeof (BootConfigData_tDAD0635222140DCA86FC3C27BA41140D7ACD3500), -1, 0, 0 };
extern const int32_t g_FieldOffsetTable1540[1] =
{
BootConfigData_tDAD0635222140DCA86FC3C27BA41140D7ACD3500::get_offset_of_m_Ptr_0(),
};
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1541 = { sizeof (Bounds_tA2716F5212749C61B0E7B7B77E0CD3D79B742890)+ sizeof (RuntimeObject), sizeof(Bounds_tA2716F5212749C61B0E7B7B77E0CD3D79B742890 ), 0, 0 };
extern const int32_t g_FieldOffsetTable1541[2] =
{
Bounds_tA2716F5212749C61B0E7B7B77E0CD3D79B742890::get_offset_of_m_Center_0() + static_cast<int32_t>(sizeof(RuntimeObject)),
Bounds_tA2716F5212749C61B0E7B7B77E0CD3D79B742890::get_offset_of_m_Extents_1() + static_cast<int32_t>(sizeof(RuntimeObject)),
};
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1542 = { sizeof (Camera_t48B2B9ECB3CE6108A98BF949A1CECF0FE3421F34), -1, sizeof(Camera_t48B2B9ECB3CE6108A98BF949A1CECF0FE3421F34_StaticFields), 0 };
extern const int32_t g_FieldOffsetTable1542[3] =
{
Camera_t48B2B9ECB3CE6108A98BF949A1CECF0FE3421F34_StaticFields::get_offset_of_onPreCull_4(),
Camera_t48B2B9ECB3CE6108A98BF949A1CECF0FE3421F34_StaticFields::get_offset_of_onPreRender_5(),
Camera_t48B2B9ECB3CE6108A98BF949A1CECF0FE3421F34_StaticFields::get_offset_of_onPostRender_6(),
};
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1543 = { sizeof (MonoOrStereoscopicEye_tF20D93CAEDB45B23B4436B8FECD1C14CACA839D7)+ sizeof (RuntimeObject), sizeof(int32_t), 0, 0 };
extern const int32_t g_FieldOffsetTable1543[4] =
{
MonoOrStereoscopicEye_tF20D93CAEDB45B23B4436B8FECD1C14CACA839D7::get_offset_of_value___2() + static_cast<int32_t>(sizeof(RuntimeObject)),
0,
0,
0,
};
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1544 = { sizeof (CameraCallback_t8BBB42AA08D7498DFC11F4128117055BC7F0B9D0), sizeof(Il2CppMethodPointer), 0, 0 };
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1545 = { 0, 0, 0, 0 };
extern const int32_t g_FieldOffsetTable1545[2] =
{
0,
0,
};
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1546 = { sizeof (ClassLibraryInitializer_t24E21A05B08AF4DF2E31A47DBA9606ACC3529C00), -1, 0, 0 };
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1547 = { sizeof (LowerResBlitTexture_t872241FCAA36A884DD3989C4EF7AD3DE1B1E5EAD), -1, 0, 0 };
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1548 = { sizeof (PreloadData_t8B90BB489B4443F08031973939BDEC6624982A0A), -1, 0, 0 };
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1549 = { sizeof (Color_t119BCA590009762C7223FDD3AF9706653AC84ED2)+ sizeof (RuntimeObject), sizeof(Color_t119BCA590009762C7223FDD3AF9706653AC84ED2 ), 0, 0 };
extern const int32_t g_FieldOffsetTable1549[4] =
{
Color_t119BCA590009762C7223FDD3AF9706653AC84ED2::get_offset_of_r_0() + static_cast<int32_t>(sizeof(RuntimeObject)),
Color_t119BCA590009762C7223FDD3AF9706653AC84ED2::get_offset_of_g_1() + static_cast<int32_t>(sizeof(RuntimeObject)),
Color_t119BCA590009762C7223FDD3AF9706653AC84ED2::get_offset_of_b_2() + static_cast<int32_t>(sizeof(RuntimeObject)),
Color_t119BCA590009762C7223FDD3AF9706653AC84ED2::get_offset_of_a_3() + static_cast<int32_t>(sizeof(RuntimeObject)),
};
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1550 = { sizeof (Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23)+ sizeof (RuntimeObject), sizeof(Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23 ), 0, 0 };
extern const int32_t g_FieldOffsetTable1550[5] =
{
Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23::get_offset_of_rgba_0() + static_cast<int32_t>(sizeof(RuntimeObject)),
Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23::get_offset_of_r_1() + static_cast<int32_t>(sizeof(RuntimeObject)),
Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23::get_offset_of_g_2() + static_cast<int32_t>(sizeof(RuntimeObject)),
Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23::get_offset_of_b_3() + static_cast<int32_t>(sizeof(RuntimeObject)),
Color32_t23ABC4AE0E0BDFD2E22EE1FA0DA3904FFE5F6E23::get_offset_of_a_4() + static_cast<int32_t>(sizeof(RuntimeObject)),
};
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1551 = { sizeof (Component_t05064EF382ABCAF4B8C94F8A350EA85184C26621), -1, 0, 0 };
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1552 = { sizeof (Coroutine_tAE7DB2FC70A0AE6477F896F852057CB0754F06EC), sizeof(Coroutine_tAE7DB2FC70A0AE6477F896F852057CB0754F06EC_marshaled_pinvoke), 0, 0 };
extern const int32_t g_FieldOffsetTable1552[1] =
{
Coroutine_tAE7DB2FC70A0AE6477F896F852057CB0754F06EC::get_offset_of_m_Ptr_0(),
};
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1553 = { sizeof (SetupCoroutine_t23D96E8946556DF54E40AC4495CE62B17997D394), -1, 0, 0 };
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1554 = { sizeof (CullingGroupEvent_tC36FFE61D0A4E7B31F575A1FCAEE05AC41FACA85)+ sizeof (RuntimeObject), sizeof(CullingGroupEvent_tC36FFE61D0A4E7B31F575A1FCAEE05AC41FACA85 ), 0, 0 };
extern const int32_t g_FieldOffsetTable1554[3] =
{
CullingGroupEvent_tC36FFE61D0A4E7B31F575A1FCAEE05AC41FACA85::get_offset_of_m_Index_0() + static_cast<int32_t>(sizeof(RuntimeObject)),
CullingGroupEvent_tC36FFE61D0A4E7B31F575A1FCAEE05AC41FACA85::get_offset_of_m_PrevState_1() + static_cast<int32_t>(sizeof(RuntimeObject)),
CullingGroupEvent_tC36FFE61D0A4E7B31F575A1FCAEE05AC41FACA85::get_offset_of_m_ThisState_2() + static_cast<int32_t>(sizeof(RuntimeObject)),
};
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1555 = { sizeof (CullingGroup_t7F71E48F69794B87C5A7F3F27AD1F1517B2FBF1F), sizeof(CullingGroup_t7F71E48F69794B87C5A7F3F27AD1F1517B2FBF1F_marshaled_pinvoke), 0, 0 };
extern const int32_t g_FieldOffsetTable1555[2] =
{
CullingGroup_t7F71E48F69794B87C5A7F3F27AD1F1517B2FBF1F::get_offset_of_m_Ptr_0(),
CullingGroup_t7F71E48F69794B87C5A7F3F27AD1F1517B2FBF1F::get_offset_of_m_OnStateChanged_1(),
};
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1556 = { sizeof (StateChanged_t6B81A48F3E917979B3F56CE50FEEB8E4DE46F161), sizeof(Il2CppMethodPointer), 0, 0 };
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1557 = { sizeof (CursorLockMode_tF9B28266D253124BE56C232B7ED2D9F7CC3D1E38)+ sizeof (RuntimeObject), sizeof(int32_t), 0, 0 };
extern const int32_t g_FieldOffsetTable1557[4] =
{
CursorLockMode_tF9B28266D253124BE56C232B7ED2D9F7CC3D1E38::get_offset_of_value___2() + static_cast<int32_t>(sizeof(RuntimeObject)),
0,
0,
0,
};
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1558 = { sizeof (Cursor_tB2534663A596902A88A21D54F3DF5AD30F4E048A), -1, 0, 0 };
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1559 = { sizeof (CustomYieldInstruction_t819BB0973AFF22766749FF087B8AEFEAF3C2CB7D), -1, 0, 0 };
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1560 = { sizeof (DebugLogHandler_tA80C96792806DC12E21DE8B2FF47B69846467C70), -1, 0, 0 };
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1561 = { sizeof (Debug_t7B5FCB117E2FD63B6838BC52821B252E2BFB61C4), -1, sizeof(Debug_t7B5FCB117E2FD63B6838BC52821B252E2BFB61C4_StaticFields), 0 };
extern const int32_t g_FieldOffsetTable1561[1] =
{
Debug_t7B5FCB117E2FD63B6838BC52821B252E2BFB61C4_StaticFields::get_offset_of_s_Logger_0(),
};
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1562 = { sizeof (Display_t38AD3008E8C72693533E4FE9CFFF6E01B56E9D57), -1, sizeof(Display_t38AD3008E8C72693533E4FE9CFFF6E01B56E9D57_StaticFields), 0 };
extern const int32_t g_FieldOffsetTable1562[4] =
{
Display_t38AD3008E8C72693533E4FE9CFFF6E01B56E9D57::get_offset_of_nativeDisplay_0(),
Display_t38AD3008E8C72693533E4FE9CFFF6E01B56E9D57_StaticFields::get_offset_of_displays_1(),
Display_t38AD3008E8C72693533E4FE9CFFF6E01B56E9D57_StaticFields::get_offset_of__mainDisplay_2(),
Display_t38AD3008E8C72693533E4FE9CFFF6E01B56E9D57_StaticFields::get_offset_of_onDisplaysUpdated_3(),
};
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1563 = { sizeof (DisplaysUpdatedDelegate_t2FAF995B47D691BD7C5BBC17D533DD8B19BE9A90), sizeof(Il2CppMethodPointer), 0, 0 };
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1564 = { sizeof (ExcludeFromObjectFactoryAttribute_tC66D4CE9F5BEAB6A12509F14BE508C469F1ED221), -1, 0, 0 };
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1565 = { sizeof (FailedToLoadScriptObject_tB9D2DBB36BA1E86F2A7392AF112B455206E8E83B), sizeof(FailedToLoadScriptObject_tB9D2DBB36BA1E86F2A7392AF112B455206E8E83B_marshaled_pinvoke), 0, 0 };
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1566 = { sizeof (RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A), sizeof(RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A_marshaled_pinvoke), 0, 0 };
extern const int32_t g_FieldOffsetTable1566[2] =
{
RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A::get_offset_of_m_Ptr_0(),
RectOffset_tED44B1176E93501050480416699D1F11BAE8C87A::get_offset_of_m_SourceStyle_1(),
};
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1567 = { sizeof (GUIElement_t7509096A8399BAB91367BBDD2F90EB2BACB1C4C4), -1, 0, 0 };
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1568 = { sizeof (GUILayer_tB8A4E9CCC2977F6691AEBB96DE1C13681634063D), -1, 0, 0 };
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1569 = { sizeof (GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F), -1, 0, 0 };
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1570 = { sizeof (Gradient_t35A694DDA1066524440E325E582B01E33DE66A3A), sizeof(Gradient_t35A694DDA1066524440E325E582B01E33DE66A3A_marshaled_pinvoke), 0, 0 };
extern const int32_t g_FieldOffsetTable1570[1] =
{
Gradient_t35A694DDA1066524440E325E582B01E33DE66A3A::get_offset_of_m_Ptr_0(),
};
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1571 = { sizeof (Screen_t944BF198A224711F69B3AA5B8C080A3A4179D3BD), -1, 0, 0 };
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1572 = { sizeof (GL_t9943600BC77EB1AC120CDD367ADE6F9F23888C99), -1, 0, 0 };
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1573 = { sizeof (Resolution_t350D132B8526B5211E0BF8B22782F20D55994A90)+ sizeof (RuntimeObject), sizeof(Resolution_t350D132B8526B5211E0BF8B22782F20D55994A90 ), 0, 0 };
extern const int32_t g_FieldOffsetTable1573[3] =
{
Resolution_t350D132B8526B5211E0BF8B22782F20D55994A90::get_offset_of_m_Width_0() + static_cast<int32_t>(sizeof(RuntimeObject)),
Resolution_t350D132B8526B5211E0BF8B22782F20D55994A90::get_offset_of_m_Height_1() + static_cast<int32_t>(sizeof(RuntimeObject)),
Resolution_t350D132B8526B5211E0BF8B22782F20D55994A90::get_offset_of_m_RefreshRate_2() + static_cast<int32_t>(sizeof(RuntimeObject)),
};
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1574 = { sizeof (QualitySettings_tE48660467FA2614E31E861AAB782F3D1F6B7223A), -1, 0, 0 };
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1575 = { sizeof (LineRenderer_tD225C480F28F28A4D737866474F21001B803B7C3), -1, 0, 0 };
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1576 = { sizeof (Renderer_t0556D67DD582620D1F495627EDE30D03284151F4), -1, 0, 0 };
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1577 = { sizeof (Shader_tE2731FF351B74AB4186897484FB01E000C1160CA), -1, 0, 0 };
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1578 = { sizeof (Material_tF7DB3BF0C24DEC2FE0CB51E5DF5053D5223C8598), -1, 0, 0 };
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1579 = { sizeof (MeshFilter_t8D4BA8E8723DE5CFF53B0DA5EE2F6B3A5B0E0FE0), -1, 0, 0 };
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1580 = { sizeof (LightmapBakeType_tE25771860DE24FF67A6C12EBF0277B1018C48C22)+ sizeof (RuntimeObject), sizeof(int32_t), 0, 0 };
extern const int32_t g_FieldOffsetTable1580[4] =
{
LightmapBakeType_tE25771860DE24FF67A6C12EBF0277B1018C48C22::get_offset_of_value___2() + static_cast<int32_t>(sizeof(RuntimeObject)),
0,
0,
0,
};
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1581 = { sizeof (MixedLightingMode_tD50D086A6C9F7CC6A40199CA74FCED3FAAF7150C)+ sizeof (RuntimeObject), sizeof(int32_t), 0, 0 };
extern const int32_t g_FieldOffsetTable1581[4] =
{
MixedLightingMode_tD50D086A6C9F7CC6A40199CA74FCED3FAAF7150C::get_offset_of_value___2() + static_cast<int32_t>(sizeof(RuntimeObject)),
0,
0,
0,
};
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1582 = { sizeof (CameraClearFlags_tAC22BD22D12708CBDC63F6CFB31109E5E17CF239)+ sizeof (RuntimeObject), sizeof(int32_t), 0, 0 };
extern const int32_t g_FieldOffsetTable1582[6] =
{
CameraClearFlags_tAC22BD22D12708CBDC63F6CFB31109E5E17CF239::get_offset_of_value___2() + static_cast<int32_t>(sizeof(RuntimeObject)),
0,
0,
0,
0,
0,
};
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1583 = { sizeof (MeshTopology_t717F086F9A66000F22E1A30D7F2328BB96726C32)+ sizeof (RuntimeObject), sizeof(int32_t), 0, 0 };
extern const int32_t g_FieldOffsetTable1583[6] =
{
MeshTopology_t717F086F9A66000F22E1A30D7F2328BB96726C32::get_offset_of_value___2() + static_cast<int32_t>(sizeof(RuntimeObject)),
0,
0,
0,
0,
0,
};
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1584 = { sizeof (ColorSpace_tAB3C938B1B47C6E9AC4596BF142AEDCD8A60936F)+ sizeof (RuntimeObject), sizeof(int32_t), 0, 0 };
extern const int32_t g_FieldOffsetTable1584[4] =
{
ColorSpace_tAB3C938B1B47C6E9AC4596BF142AEDCD8A60936F::get_offset_of_value___2() + static_cast<int32_t>(sizeof(RuntimeObject)),
0,
0,
0,
};
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1585 = { sizeof (ScreenOrientation_t4AB8E2E02033B0EAEA0260B05B1D88DA8058BB51)+ sizeof (RuntimeObject), sizeof(int32_t), 0, 0 };
extern const int32_t g_FieldOffsetTable1585[8] =
{
ScreenOrientation_t4AB8E2E02033B0EAEA0260B05B1D88DA8058BB51::get_offset_of_value___2() + static_cast<int32_t>(sizeof(RuntimeObject)),
0,
0,
0,
0,
0,
0,
0,
};
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1586 = { sizeof (FilterMode_t6590B4B0BAE2BBBCABA8E1E93FA07A052B3261AF)+ sizeof (RuntimeObject), sizeof(int32_t), 0, 0 };
extern const int32_t g_FieldOffsetTable1586[4] =
{
FilterMode_t6590B4B0BAE2BBBCABA8E1E93FA07A052B3261AF::get_offset_of_value___2() + static_cast<int32_t>(sizeof(RuntimeObject)),
0,
0,
0,
};
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1587 = { sizeof (TextureWrapMode_t8AC763BD80806A9175C6AA8D33D6BABAD83E950F)+ sizeof (RuntimeObject), sizeof(int32_t), 0, 0 };
extern const int32_t g_FieldOffsetTable1587[5] =
{
TextureWrapMode_t8AC763BD80806A9175C6AA8D33D6BABAD83E950F::get_offset_of_value___2() + static_cast<int32_t>(sizeof(RuntimeObject)),
0,
0,
0,
0,
};
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1588 = { sizeof (TextureFormat_t7C6B5101554065C47682E592D1E26079D4EC2DCE)+ sizeof (RuntimeObject), sizeof(int32_t), 0, 0 };
extern const int32_t g_FieldOffsetTable1588[52] =
{
TextureFormat_t7C6B5101554065C47682E592D1E26079D4EC2DCE::get_offset_of_value___2() + static_cast<int32_t>(sizeof(RuntimeObject)),
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
};
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1589 = { sizeof (CubemapFace_t74DD9C86D8A5E5F782F136F8753580668F96FFB9)+ sizeof (RuntimeObject), sizeof(int32_t), 0, 0 };
extern const int32_t g_FieldOffsetTable1589[8] =
{
CubemapFace_t74DD9C86D8A5E5F782F136F8753580668F96FFB9::get_offset_of_value___2() + static_cast<int32_t>(sizeof(RuntimeObject)),
0,
0,
0,
0,
0,
0,
0,
};
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1590 = { sizeof (RenderTextureFormat_t2AB1B77FBD247648292FBBE1182F12B5FC47AF85)+ sizeof (RuntimeObject), sizeof(int32_t), 0, 0 };
extern const int32_t g_FieldOffsetTable1590[29] =
{
RenderTextureFormat_t2AB1B77FBD247648292FBBE1182F12B5FC47AF85::get_offset_of_value___2() + static_cast<int32_t>(sizeof(RuntimeObject)),
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,
};
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1591 = { sizeof (VRTextureUsage_t2D7C2397ABF03DD28086B969100F7D91DDD978A0)+ sizeof (RuntimeObject), sizeof(int32_t), 0, 0 };
extern const int32_t g_FieldOffsetTable1591[4] =
{
VRTextureUsage_t2D7C2397ABF03DD28086B969100F7D91DDD978A0::get_offset_of_value___2() + static_cast<int32_t>(sizeof(RuntimeObject)),
0,
0,
0,
};
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1592 = { sizeof (RenderTextureCreationFlags_tF63E06301E4BB4746F7E07759B359872BD4BFB1E)+ sizeof (RuntimeObject), sizeof(int32_t), 0, 0 };
extern const int32_t g_FieldOffsetTable1592[11] =
{
RenderTextureCreationFlags_tF63E06301E4BB4746F7E07759B359872BD4BFB1E::get_offset_of_value___2() + static_cast<int32_t>(sizeof(RuntimeObject)),
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
};
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1593 = { sizeof (RenderTextureReadWrite_t3CCCB992A820A6F3229071EBC0E3927DC81D04F8)+ sizeof (RuntimeObject), sizeof(int32_t), 0, 0 };
extern const int32_t g_FieldOffsetTable1593[4] =
{
RenderTextureReadWrite_t3CCCB992A820A6F3229071EBC0E3927DC81D04F8::get_offset_of_value___2() + static_cast<int32_t>(sizeof(RuntimeObject)),
0,
0,
0,
};
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1594 = { sizeof (RenderTextureMemoryless_t19E37ADD57C1F00D67146A2BB4521D06F370D2E9)+ sizeof (RuntimeObject), sizeof(int32_t), 0, 0 };
extern const int32_t g_FieldOffsetTable1594[5] =
{
RenderTextureMemoryless_t19E37ADD57C1F00D67146A2BB4521D06F370D2E9::get_offset_of_value___2() + static_cast<int32_t>(sizeof(RuntimeObject)),
0,
0,
0,
0,
};
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1595 = { sizeof (TextureCreationFlags_t53DF64FEEF1551EC3224A2930BDFAAC63133E870)+ sizeof (RuntimeObject), sizeof(int32_t), 0, 0 };
extern const int32_t g_FieldOffsetTable1595[4] =
{
TextureCreationFlags_t53DF64FEEF1551EC3224A2930BDFAAC63133E870::get_offset_of_value___2() + static_cast<int32_t>(sizeof(RuntimeObject)),
0,
0,
0,
};
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1596 = { sizeof (FormatUsage_t117AE34283B21B51894E10162A58F65FBF9E4D83)+ sizeof (RuntimeObject), sizeof(int32_t), 0, 0 };
extern const int32_t g_FieldOffsetTable1596[9] =
{
FormatUsage_t117AE34283B21B51894E10162A58F65FBF9E4D83::get_offset_of_value___2() + static_cast<int32_t>(sizeof(RuntimeObject)),
0,
0,
0,
0,
0,
0,
0,
0,
};
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1597 = { sizeof (GraphicsFormat_t512915BBE299AE115F4DB0B96DF1DA2E72ECA181)+ sizeof (RuntimeObject), sizeof(int32_t), 0, 0 };
extern const int32_t g_FieldOffsetTable1597[138] =
{
GraphicsFormat_t512915BBE299AE115F4DB0B96DF1DA2E72ECA181::get_offset_of_value___2() + static_cast<int32_t>(sizeof(RuntimeObject)),
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
};
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1598 = { sizeof (LightmapsMode_t9783FF26F166392E6E10A551A3E87DE913DC2BCA)+ sizeof (RuntimeObject), sizeof(int32_t), 0, 0 };
extern const int32_t g_FieldOffsetTable1598[3] =
{
LightmapsMode_t9783FF26F166392E6E10A551A3E87DE913DC2BCA::get_offset_of_value___2() + static_cast<int32_t>(sizeof(RuntimeObject)),
0,
0,
};
extern const Il2CppTypeDefinitionSizes g_typeDefinitionSize1599 = { sizeof (VertexAttribute_t2D79DF64001C55DA72AC86CE8946098970E8194D)+ sizeof (RuntimeObject), sizeof(int32_t), 0, 0 };
extern const int32_t g_FieldOffsetTable1599[15] =
{
VertexAttribute_t2D79DF64001C55DA72AC86CE8946098970E8194D::get_offset_of_value___2() + static_cast<int32_t>(sizeof(RuntimeObject)),
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif
| [
"zhuoxiaoli@airbears2-10-142-144-45.airbears2.1918.berkeley.edu"
] | zhuoxiaoli@airbears2-10-142-144-45.airbears2.1918.berkeley.edu |
76bedeb9505581c3ff1e027b5538cd7f6f97d604 | 833704f4a302061e1d702f6ff853606a870b923a | /notiferProduct.h | 4428878d1aaace08dee9e3aab38e4965f1483be0 | [] | no_license | MalinovAndrey/online-shop | cd6448ad00b1773fc9a042a6dd93cdb2fce4bf4c | 4bb69d3142f5ab7a50492ae9aecc734c46970d0c | refs/heads/master | 2020-06-07T09:57:27.971211 | 2019-06-20T22:30:26 | 2019-06-20T22:30:26 | 192,993,220 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 792 | h | #include "product.h"
#include <String>
// Декоратор продукта
class notiferProduct {
public:
notiferProduct(product i_product, int _quantity) {
_product = i_product;
quantity = _quantity;
total = i_product.getPrice() * _quantity;
}
// Вызывать после setQuantity
double getTotal() {
updateTotal();
return total;
}
// Изменение количества товара
void setQuantity(int _quantity) {
quantity = _quantity;
total = _product.getPrice() * _quantity;
}
private:
// Обновляет стоимость набора
void updateTotal() {
total = _product.getPrice() * quantity;
}
double total; // Итог
int quantity; // Кол-во
product _product; // Продукт
};
| [
"noreply@github.com"
] | noreply@github.com |
2130eb32f9a969671e46735b6569bf8307785f3f | d95e61fa76d2ccd49b05cfb459cc93a22c989185 | /include/G4GDMLParameterisation.hh | 1faf26886a2b5d7b30821f8bbb4afadf5ee659a2 | [] | no_license | mirguest/gdml | dd05ea9bf6449ec2b834c6d06718da52ee42ac40 | 54bbacb0f2a140bfdd6203d013ca0e302b7a4a25 | refs/heads/master | 2020-05-31T11:01:54.093742 | 2015-01-07T00:59:01 | 2015-01-07T00:59:01 | 28,862,401 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,034 | hh | //
// ********************************************************************
// * License and Disclaimer *
// * *
// * The Geant4 software is copyright of the Copyright Holders of *
// * the Geant4 Collaboration. It is provided under the terms and *
// * conditions of the Geant4 Software License, included in the file *
// * LICENSE and available at http://cern.ch/geant4/license . These *
// * include a list of copyright holders. *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. Please see the license in the file LICENSE and URL above *
// * for the full disclaimer and the limitation of liability. *
// * *
// * This code implementation is the result of the scientific and *
// * technical work of the GEANT4 collaboration. *
// * By using, copying, modifying or distributing the software (or *
// * any work based on the software) you agree to acknowledge its *
// * use in resulting scientific publications, and indicate your *
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
//
// $Id: G4GDMLParameterisation.hh,v 1.11 2010-10-14 16:19:40 gcosmo Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
//
// class G4GDMLParameterisation
//
// Class description:
//
// GDML class for interpretation of parameterisations.
// History:
// - Created. Zoltan Torzsok, November 2007
// -------------------------------------------------------------------------
#ifndef _G4GDMLPARAMETERISATION_INCLUDED_
#define _G4GDMLPARAMETERISATION_INCLUDED_
#include "G4VPVParameterisation.hh"
#include "G4VPhysicalVolume.hh"
#include "G4ThreeVector.hh"
#include "G4Box.hh"
#include "G4Trd.hh"
#include "G4Trap.hh"
#include "G4Cons.hh"
#include "G4Sphere.hh"
#include "G4Orb.hh"
#include "G4Torus.hh"
#include "G4Para.hh"
#include "G4Hype.hh"
#include "G4Tubs.hh"
#include "G4Polycone.hh"
#include "G4Polyhedra.hh"
#include "G4RotationMatrix.hh"
#include "G4ThreeVector.hh"
#include <vector>
class G4GDMLParameterisation : public G4VPVParameterisation
{
public:
struct PARAMETER
{
G4RotationMatrix* pRot;
G4ThreeVector position;
G4double dimension[16];
PARAMETER() : pRot(0) { memset(dimension,0,sizeof(dimension)); }
};
G4int GetSize() const;
void AddParameter(const PARAMETER&);
private:
void ComputeTransformation(const G4int,G4VPhysicalVolume*) const;
void ComputeDimensions(G4Box&,const G4int,const G4VPhysicalVolume*) const;
void ComputeDimensions(G4Trd&,const G4int,const G4VPhysicalVolume*) const;
void ComputeDimensions(G4Trap&,const G4int,const G4VPhysicalVolume*) const;
void ComputeDimensions(G4Cons&,const G4int,const G4VPhysicalVolume*) const;
void ComputeDimensions(G4Sphere&,const G4int,const G4VPhysicalVolume*) const;
void ComputeDimensions(G4Orb&,const G4int,const G4VPhysicalVolume*) const;
void ComputeDimensions(G4Torus&,const G4int,const G4VPhysicalVolume*) const;
void ComputeDimensions(G4Para&,const G4int,const G4VPhysicalVolume*) const;
void ComputeDimensions(G4Hype&,const G4int,const G4VPhysicalVolume*) const;
void ComputeDimensions(G4Tubs&,const G4int,const G4VPhysicalVolume*) const;
void ComputeDimensions(G4Polycone&,const G4int,const G4VPhysicalVolume*) const;
void ComputeDimensions(G4Polyhedra&,const G4int,const G4VPhysicalVolume*) const;
private:
std::vector<PARAMETER> parameterList;
};
#endif
| [
"lintao51@gmail.com"
] | lintao51@gmail.com |
c890df62d0b2e51ad2115d0ccb611dea5c7e62b0 | aca810f6dd683a8c4069dff0e9705e7db19fbcca | /combinationSum.cpp | 82d35cf80f1c5c766fa1838200ddb1e98db8bfad | [] | no_license | okeashwin/General | 4c3c6333e5ba343230eb78deb1a510cb168b1731 | 9df41c2cfa4895b944c29eb13de03295bba69758 | refs/heads/master | 2021-01-10T05:50:07.721347 | 2017-09-27T02:31:50 | 2017-09-27T02:31:50 | 44,040,407 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,575 | cpp | /*
Given a set of candidate numbers (C) (without duplicates) and a target number (T), find all unique combinations in C where the candidate numbers sums to T.
The same repeated number may be chosen from C unlimited number of times.
For example, given candidate set [2, 3, 6, 7] and target 7,
A solution set is:
[
[7],
[2, 2, 3]
]
*/
class Solution {
private:
// A greedy recursive routine that goes on constructing potential candidate sets and checks whether
// it is a solution set or not
void helper(vector<vector<int>>& result, vector<int>& tempSol, vector<int>& c, int tar, int& rsum, int start, int end) {
if(rsum>=tar) {
// rsum == tar; means we have found a solution set
if(rsum==tar) result.push_back(tempSol);
return;
}
for(int i=start;i<=end;i++) {
if(c[i]>tar) {
break;
}
tempSol.push_back(c[i]);
rsum+=c[i];
helper(result, tempSol, c, tar, rsum, i, end);
// IMP: backtrack, pop the element from the vector, update the running sum
tempSol.pop_back();
rsum-=c[i];
}
}
public:
vector<vector<int>> combinationSum(vector<int>& c, int tar) {
int len=c.size();
if(!len) {
return vector<vector<int>>();
}
vector<int> tempSol;
vector<vector<int>> result;
sort(c.begin(), c.end());
int sum=0;
helper(result, tempSol, c, tar, sum, 0, len-1);
return result;
}
}; | [
"okeashwin@gmail.com"
] | okeashwin@gmail.com |
f7a06f81ee8606462fbbc7935f618c8d94537a5c | 50a8a3fe0fdffb4141b12b0ee73363f218efc222 | /src/ngap/ngapMsgs/UplinkNASTransport.cpp | 9e9e76da2c90ddc9a60733dd412fb4b533a847b3 | [] | no_license | dukl/fake_gnb | f89972ad50c6a50e620fe8590cece7200d2560da | b6f772e8fb82c61a9949a4f4c317637d97c36fb6 | refs/heads/master | 2022-12-07T21:55:26.285263 | 2020-08-27T07:11:37 | 2020-08-27T07:11:37 | 290,703,480 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,109 | cpp | #include "UplinkNASTransport.hpp"
extern "C"{
#include "constr_TYPE.h"
#include "asn_codecs.h"
#include "per_encoder.h"
#include "per_decoder.h"
#include "constraints.h"
}
#include <iostream>
using namespace std;
namespace ngap{
UplinkNASTransportMsg::UplinkNASTransportMsg()
{
uplinkNASTransportPdu = NULL;
uplinkNASTransportIEs = NULL;
amfUeNgapId = NULL;
ranUeNgapId = NULL;
nasPdu = NULL;
userLocationInformation = NULL;
}
UplinkNASTransportMsg::~UplinkNASTransportMsg(){}
void UplinkNASTransportMsg::setMessageType()
{
if(!uplinkNASTransportPdu) uplinkNASTransportPdu = (Ngap_NGAP_PDU_t*)calloc(1, sizeof(Ngap_NGAP_PDU_t));
MessageType uplinkNASTransportPduTypeIE;
uplinkNASTransportPduTypeIE.setProcedureCode(Ngap_ProcedureCode_id_UplinkNASTransport);
uplinkNASTransportPduTypeIE.setTypeOfMessage(Ngap_NGAP_PDU_PR_initiatingMessage);
uplinkNASTransportPduTypeIE.setCriticality(Ngap_Criticality_ignore);
uplinkNASTransportPduTypeIE.setValuePresent(Ngap_InitiatingMessage__value_PR_UplinkNASTransport);
if(uplinkNASTransportPduTypeIE.getProcedureCode()==Ngap_ProcedureCode_id_UplinkNASTransport && uplinkNASTransportPduTypeIE.getTypeOfMessage()==Ngap_NGAP_PDU_PR_initiatingMessage && uplinkNASTransportPduTypeIE.getCriticality()==Ngap_Criticality_ignore)
{
uplinkNASTransportPduTypeIE.encode2pdu(uplinkNASTransportPdu);
uplinkNASTransportIEs = &(uplinkNASTransportPdu->choice.initiatingMessage->value.choice.UplinkNASTransport);
}
else
{
cout<<"[warning] This information doesn't refer to UplinkNASTransport Message!!!"<<endl;
}
}
void UplinkNASTransportMsg::setAmfUeNgapId(unsigned long id)
{
if(!amfUeNgapId)
amfUeNgapId = new AMF_UE_NGAP_ID();
amfUeNgapId->setAMF_UE_NGAP_ID(id);
Ngap_UplinkNASTransport_IEs_t *ie = (Ngap_UplinkNASTransport_IEs_t *)calloc(1,sizeof(Ngap_UplinkNASTransport_IEs_t));
ie->id = Ngap_ProtocolIE_ID_id_AMF_UE_NGAP_ID;
ie->criticality = Ngap_Criticality_reject;
ie->value.present = Ngap_UplinkNASTransport_IEs__value_PR_AMF_UE_NGAP_ID;
int ret = amfUeNgapId->encode2AMF_UE_NGAP_ID(ie->value.choice.AMF_UE_NGAP_ID);
if(!ret)
{
cout<<"encode AMF_UE_NGAP_ID IE error"<<endl;
return ;
}
ret = ASN_SEQUENCE_ADD(&uplinkNASTransportIEs->protocolIEs.list, ie);
if( ret != 0) cout<<"encode AMF_UE_NGAP_ID IE error"<<endl;
}
void UplinkNASTransportMsg::setRanUeNgapId(uint32_t ran_ue_ngap_id)
{
if(!ranUeNgapId)
ranUeNgapId = new RAN_UE_NGAP_ID();
ranUeNgapId->setRanUeNgapId(ran_ue_ngap_id);
Ngap_UplinkNASTransport_IEs_t *ie = (Ngap_UplinkNASTransport_IEs_t *)calloc(1,sizeof(Ngap_UplinkNASTransport_IEs_t));
ie->id = Ngap_ProtocolIE_ID_id_RAN_UE_NGAP_ID;
ie->criticality = Ngap_Criticality_reject;
ie->value.present = Ngap_UplinkNASTransport_IEs__value_PR_RAN_UE_NGAP_ID;
int ret = ranUeNgapId->encode2RAN_UE_NGAP_ID(ie->value.choice.RAN_UE_NGAP_ID);
if(!ret)
{
cout<<"encode RAN_UE_NGAP_ID IE error"<<endl;
return ;
}
ret = ASN_SEQUENCE_ADD(&uplinkNASTransportIEs->protocolIEs.list, ie);
if( ret != 0) cout<<"encode RAN_UE_NGAP_ID IE error"<<endl;
}
void UplinkNASTransportMsg::setNasPdu(uint8_t *nas,size_t sizeofnas)
{
if(!nasPdu)
nasPdu = new NAS_PDU();
nasPdu->setNasPdu(nas,sizeofnas);
Ngap_UplinkNASTransport_IEs_t *ie = (Ngap_UplinkNASTransport_IEs_t *)calloc(1,sizeof(Ngap_UplinkNASTransport_IEs_t));
ie->id = Ngap_ProtocolIE_ID_id_NAS_PDU;
ie->criticality = Ngap_Criticality_reject;
ie->value.present = Ngap_UplinkNASTransport_IEs__value_PR_NAS_PDU;
int ret = nasPdu->encode2octetstring(ie->value.choice.NAS_PDU);
if(!ret)
{
cout<<"encode NAS_PDU IE error"<<endl;
return ;
}
ret = ASN_SEQUENCE_ADD(&uplinkNASTransportIEs->protocolIEs.list, ie);
if( ret != 0) cout<<"encode NAS_PDU IE error"<<endl;
}
void UplinkNASTransportMsg::setUserLocationInfoNR(struct NrCgi_s cig, struct Tai_s tai)
{
if(!userLocationInformation)
userLocationInformation = new UserLocationInformation();
//userLocationInformation->setInformation(UserLocationInformationEUTRA * informationEUTRA);
UserLocationInformationNR *informationNR = new UserLocationInformationNR();
NR_CGI *nR_CGI = new NR_CGI();
PlmnId *plmnId_cgi = new PlmnId();
NRCellIdentity *nRCellIdentity = new NRCellIdentity();
plmnId_cgi->setMccMnc(cig.mcc,cig.mnc);
nRCellIdentity->setNRCellIdentity(cig.nrCellID);
nR_CGI->setNR_CGI(plmnId_cgi,nRCellIdentity);
TAI *tai_nr = new TAI();
PlmnId *plmnId_tai = new PlmnId();
plmnId_tai->setMccMnc(tai.mcc,tai.mnc);
TAC *tac = new TAC();
tac->setTac(tai.tac);
tai_nr->setTAI(plmnId_tai, tac);
informationNR->setInformationNR(nR_CGI,tai_nr);
userLocationInformation->setInformation(informationNR);
Ngap_UplinkNASTransport_IEs_t *ie = (Ngap_UplinkNASTransport_IEs_t *)calloc(1,sizeof(Ngap_UplinkNASTransport_IEs_t));
ie->id = Ngap_ProtocolIE_ID_id_UserLocationInformation;
ie->criticality = Ngap_Criticality_ignore;
ie->value.present = Ngap_UplinkNASTransport_IEs__value_PR_UserLocationInformation;
int ret = userLocationInformation->encodefromUserLocationInformation(&ie->value.choice.UserLocationInformation);
if(!ret)
{
cout<<"encode UserLocationInformation IE error"<<endl;
return ;
}
ret = ASN_SEQUENCE_ADD(&uplinkNASTransportIEs->protocolIEs.list, ie);
if( ret != 0) cout<<"encode UserLocationInformation IE error"<<endl;
}
int UplinkNASTransportMsg::encode2buffer(uint8_t *buf, int buf_size)
{
asn_fprint(stderr, &asn_DEF_Ngap_NGAP_PDU, uplinkNASTransportPdu);
asn_enc_rval_t er = aper_encode_to_buffer(&asn_DEF_Ngap_NGAP_PDU, NULL, uplinkNASTransportPdu, buf, buf_size);
cout<<"er.encoded("<<er.encoded<<")"<<endl;
return er.encoded;
}
//Decapsulation
bool UplinkNASTransportMsg::decodefrompdu(Ngap_NGAP_PDU_t *ngap_msg_pdu)
{
uplinkNASTransportPdu = ngap_msg_pdu;
if(uplinkNASTransportPdu->present == Ngap_NGAP_PDU_PR_initiatingMessage)
{
if(uplinkNASTransportPdu->choice.initiatingMessage && uplinkNASTransportPdu->choice.initiatingMessage->procedureCode == Ngap_ProcedureCode_id_UplinkNASTransport && uplinkNASTransportPdu->choice.initiatingMessage->criticality == Ngap_Criticality_ignore && uplinkNASTransportPdu->choice.initiatingMessage->value.present == Ngap_InitiatingMessage__value_PR_UplinkNASTransport)
{
uplinkNASTransportIEs = &uplinkNASTransportPdu->choice.initiatingMessage->value.choice.UplinkNASTransport;
}
else
{
cout<<"Check UplinkNASTransport message error!!!"<<endl;
return false;
}
}
else
{
cout<<"MessageType error!!!"<<endl;
return false;
}
for(int i=0; i< uplinkNASTransportIEs->protocolIEs.list.count; i++)
{
switch(uplinkNASTransportIEs->protocolIEs.list.array[i]->id)
{
case Ngap_ProtocolIE_ID_id_AMF_UE_NGAP_ID:{
if(uplinkNASTransportIEs->protocolIEs.list.array[i]->criticality == Ngap_Criticality_reject && uplinkNASTransportIEs->protocolIEs.list.array[i]->value.present == Ngap_UplinkNASTransport_IEs__value_PR_AMF_UE_NGAP_ID)
{
amfUeNgapId = new AMF_UE_NGAP_ID();
if(!amfUeNgapId->decodefromAMF_UE_NGAP_ID(uplinkNASTransportIEs->protocolIEs.list.array[i]->value.choice.AMF_UE_NGAP_ID))
{
cout<<"decoded ngap AMF_UE_NGAP_ID IE error"<<endl;
return false;
}
}
else
{
cout<<"decoded ngap AMF_UE_NGAP_ID IE error"<<endl;
return false;
}
}break;
case Ngap_ProtocolIE_ID_id_RAN_UE_NGAP_ID:{
if(uplinkNASTransportIEs->protocolIEs.list.array[i]->criticality == Ngap_Criticality_reject && uplinkNASTransportIEs->protocolIEs.list.array[i]->value.present == Ngap_UplinkNASTransport_IEs__value_PR_RAN_UE_NGAP_ID)
{
ranUeNgapId = new RAN_UE_NGAP_ID();
if(!ranUeNgapId->decodefromRAN_UE_NGAP_ID(uplinkNASTransportIEs->protocolIEs.list.array[i]->value.choice.RAN_UE_NGAP_ID))
{
cout<<"decoded ngap RAN_UE_NGAP_ID IE error"<<endl;
return false;
}
}
else
{
cout<<"decoded ngap RAN_UE_NGAP_ID IE error"<<endl;
return false;
}
}break;
case Ngap_ProtocolIE_ID_id_NAS_PDU:{
if(uplinkNASTransportIEs->protocolIEs.list.array[i]->criticality == Ngap_Criticality_reject && uplinkNASTransportIEs->protocolIEs.list.array[i]->value.present == Ngap_UplinkNASTransport_IEs__value_PR_NAS_PDU)
{
nasPdu = new NAS_PDU();
if(!nasPdu->decodefromoctetstring(uplinkNASTransportIEs->protocolIEs.list.array[i]->value.choice.NAS_PDU))
{
cout<<"decoded ngap NAS_PDU IE error"<<endl;
return false;
}
}
else
{
cout<<"decoded ngap NAS_PDU IE error"<<endl;
return false;
}
}break;
case Ngap_ProtocolIE_ID_id_UserLocationInformation:{
if(uplinkNASTransportIEs->protocolIEs.list.array[i]->criticality == Ngap_Criticality_ignore && uplinkNASTransportIEs->protocolIEs.list.array[i]->value.present == Ngap_UplinkNASTransport_IEs__value_PR_UserLocationInformation)
{
userLocationInformation = new UserLocationInformation();
if(!userLocationInformation->decodefromUserLocationInformation(&uplinkNASTransportIEs->protocolIEs.list.array[i]->value.choice.UserLocationInformation))
{
cout<<"decoded ngap UserLocationInformation IE error"<<endl;
return false;
}
}
else
{
cout<<"decoded ngap UserLocationInformation IE error"<<endl;
return false;
}
}break;
default:{
cout<<"decoded ngap message pdu error"<<endl;
return false;
}
}
}
return true;
}
unsigned long UplinkNASTransportMsg::getAmfUeNgapId()
{
return amfUeNgapId->getAMF_UE_NGAP_ID();
}
uint32_t UplinkNASTransportMsg::getRanUeNgapId()
{
return ranUeNgapId->getRanUeNgapId();
}
bool UplinkNASTransportMsg::getNasPdu(uint8_t *&nas,size_t &sizeofnas)
{
if(!nasPdu->getNasPdu(nas,sizeofnas)) return false;
return true;
}
bool UplinkNASTransportMsg::getUserLocationInfoNR(struct NrCgi_s &cig, struct Tai_s &tai)
{
UserLocationInformationNR *informationNR;
userLocationInformation->getInformation(informationNR);
if(userLocationInformation->getChoiceOfUserLocationInformation() != Ngap_UserLocationInformation_PR_userLocationInformationNR) return false;
NR_CGI *nR_CGI;
TAI *nR_TAI;
informationNR->getInformationNR(nR_CGI, nR_TAI);
PlmnId *cgi_plmnId;
NRCellIdentity *nRCellIdentity;
nR_CGI->getNR_CGI(cgi_plmnId, nRCellIdentity);
cgi_plmnId->getMcc(cig.mcc);
cgi_plmnId->getMnc(cig.mnc);
cig.nrCellID = nRCellIdentity->getNRCellIdentity();
PlmnId *tai_plmnId;
TAC *tac;
nR_TAI->getTAI(tai_plmnId, tac);
tai_plmnId->getMcc(tai.mcc);
tai_plmnId->getMnc(tai.mnc);
tai.tac = tac->getTac();
return true;
}
}
| [
"du_keliang@163.com"
] | du_keliang@163.com |
8bbaef82104e1881458e644f6ca6c3329fe7aa4c | 8090c796078254ca6d9bfac0a6ad533fa11580cb | /uva/183.cpp | bb66ced94035d7ee48cb16fe99a2f6a98fc1edfb | [] | no_license | xcloudyunx/Informatics | ef62d0a12d9cad9f8c6ecfa5741d9340667c911f | edf2386b421bdaab0fc6dfae31fbcfc74c52581e | refs/heads/main | 2023-08-26T05:15:11.665976 | 2021-11-07T03:13:17 | 2021-11-07T03:13:17 | 405,290,351 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,839 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<int, int> ii;
typedef vector<int> vi;
typedef vector<ii> vii;
#define INF 1000000000
string dac(int r1, int r2, int c1, int c2, vector< vector<char> > &grid) {
if (r1 == r2 && c1 == c2) return string(1, grid[r1][c1]);
if (r1 == r2) {
string r = dac(r1, r2, 1+(c1+c2)/2, c2, grid);
string l = dac(r1, r2, c1, (c1+c2)/2, grid);
if (l.size() == 1 && l == r) return l;
else return "D"+l+r;
} else if (c1 == c2) {
string b = dac(1+(r1+r2)/2, r2, c1, c2, grid);
string t = dac(r1, (r1+r2)/2, c1, c2, grid);
if (t.size() == 1 && t == b) return t;
else return "D"+t+b;
} else {
string br = dac(1+(r1+r2)/2, r2, 1+(c1+c2)/2, c2, grid);
string bl = dac(1+(r1+r2)/2, r2, c1, (c1+c2)/2, grid);
string tr = dac(r1, (r1+r2)/2, 1+(c1+c2)/2, c2, grid);
string tl = dac(r1, (r1+r2)/2, c1, (c1+c2)/2, grid);
if (tl.size() == 1 && tl == tr && tl == bl && tl == br) return tl;
else {
return "D"+tl+tr+bl+br;
}
}
}
void dac2(int r1, int r2, int c1, int c2, vector< vector<char> > &grid, string &s, int &i) {
int x = i;
if (r1 == r2 && c1 == c2) grid[r1][c1] = s[i];
else if (r1 == r2) {
if (s[x] == 'D') {
dac2(r1, r2, c1, (c1+c2)/2, grid, s, ++i);
dac2(r1, r2, 1+(c1+c2)/2, c2, grid, s, ++i);
} else {
for (int c=c1; c<=c2; c++) grid[r1][c] = s[i];
}
} else if (c1 == c2) {
if (s[x] == 'D') {
dac2(r1, (r1+r2)/2, c1, c2, grid, s, ++i);
dac2(1+(r1+r2)/2, r2, c1, c2, grid, s, ++i);
} else {
for (int r=r1; r<=r2; r++) grid[r][c1] = s[i];
}
} else {
if (s[x] == 'D') {
dac2(r1, (r1+r2)/2, c1, (c1+c2)/2, grid, s, ++i);
dac2(r1, (r1+r2)/2, 1+(c1+c2)/2, c2, grid, s, ++i);
dac2(1+(r1+r2)/2, r2, c1, (c1+c2)/2, grid, s, ++i);
dac2(1+(r1+r2)/2, r2, 1+(c1+c2)/2, c2, grid, s, ++i);
} else {
for (int r=r1; r<=r2; r++) {
for (int c=c1; c<=c2; c++) grid[r][c] = s[i];
}
}
}
}
int main() {
char f;
int r, c;
string s, tmp;
cin >> f;
while (f != '#') {
cin >> r >> c;
s = "";
while (s.size() < r*c) {
cin >> tmp;
s += tmp;
}
vector< vector<char> > grid(r, vector<char>(c));
if (f == 'B') {
for (int i=0; i<r; i++) {
for (int j=0; j<c; j++) {
grid[i][j] = s[i*c+j];
}
}
printf("D% 4d% 4d", r, c);
s = dac(0, r-1, 0, c-1, grid);
for (int i=0; i<s.size(); i++) {
if (i%50 == 0) cout << "\n";
cout << s[i];
}
cout << "\n";
} else {
printf("B% 4d% 4d", r, c);
int x = 0;
dac2(0, r-1, 0, c-1, grid, s, x);
for (int i=0; i<r; i++) {
for (int j=0; j<c; j++) {
if ((i*c+j)%50 == 0) cout << "\n";
cout << grid[i][j];
}
}
cout << "\n";
}
cin >> f;
}
return 0;
}
| [
"noreply@github.com"
] | noreply@github.com |
1c75fc3560b3714e11d8eba1fce3cc4727b989cc | 995850145f2f4355e4263f6c0ee7c5a11ae7065c | /6getORNfr.cpp | 4a5cf3ee49e4a765b92d8f532c1de371e0a18d77 | [] | no_license | ModelDBRepository/245445 | e1418bf2aa856ec52ed9db5bf8ddb190273119e7 | 0fc81847a342f44239d74f08909916ec2f50517e | refs/heads/master | 2020-05-29T18:27:20.092370 | 2019-05-31T02:10:52 | 2019-05-31T02:10:52 | 189,300,269 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,580 | cpp | #include <iostream>
#include <cmath>
#include <cstdlib>
#include <fstream>
#include <ctime>
#include <iomanip>
#include <string>
#include <sstream>
using namespace std;
const double vth=-50;
const double vreset=-70;
const double taum=20;
const double ve=50;
const double vi=-75;
const double vr=-70;
const double gl=1;
const double excitnoise=0.28;
const double inhibnoise=0.5;
const double inputscale=2.5;
const double trefra=2;
const int maxinput=1;
//const double stepsize = 0.0025;
//const int noofstep=maxinput/stepsize;
const double tauadapt=60;
const int noofbisect=9;
const double maxadaptcurrent=40;
const double noofgroupoffile=4;
const int noofodourant = 160;
const int noofodour = 16;
const int noofconc=7;
const int minconc=-6;
const int nooffile = noofconc*2;
int main()
{
int i;
int j;
int k;
int m;
double condeff;
double effinput;
double efftaum;
double step = 0;
double v;
double adaptcurrent;
double t;
double tupper;
double tlower;
double output;
double input;
double adaptscale;
string filename;
stringstream filenameindex[nooffile];
int fileindexcounter=0;
for (m=0;m<noofconc;m++)
{
ifstream infile;
filenameindex[fileindexcounter]<<"receptorrstar"<<minconc+m<<".txt";
filename=filenameindex[fileindexcounter].str();
fileindexcounter=fileindexcounter+1;
infile.open(filename.c_str());
ofstream outfile;
filenameindex[fileindexcounter]<<"ORNfr"<<minconc+m<<".txt";
filename=filenameindex[fileindexcounter].str();
fileindexcounter=fileindexcounter+1;
outfile.open(filename.c_str());
for (j=0;j<noofodour;j++)
{
for (k=0;k<noofodourant;k++)
{
infile>>input;
condeff=1/(1+excitnoise+inhibnoise+input*inputscale);
effinput=(ve*(input*inputscale+excitnoise)+vi*inhibnoise+vr*gl)*condeff;
efftaum=taum*condeff;
v=vreset;
adaptcurrent=maxadaptcurrent*sqrt(input);
t=0;
if (effinput<=vth)
output=0;
else
{
adaptscale = tauadapt*adaptcurrent/(tauadapt-efftaum);
while (v<vth)
{
t=t+1;
v=vreset*exp(-t/efftaum)+effinput*(1-exp(-t/efftaum))-adaptscale*(exp(-t/tauadapt)-exp(-t/efftaum));
}
tupper=t;
tlower=t-1;
t=(tupper+tlower)*0.5;
for(i=0;i<noofbisect;i++)
{
v=vreset*exp(-t/efftaum)+effinput*(1-exp(-t/efftaum))-adaptscale*(exp(-t/tauadapt)-exp(-t/efftaum));
if (v>vth)
tupper=t;
else
tlower=t;
t=(tupper+tlower)*0.5;
}
output=1000/(t+trefra);
}
outfile<<output<<" ";
}
outfile<<endl;
}
infile.close();
outfile.close();
}
}
| [
"tom.morse@yale.edu"
] | tom.morse@yale.edu |
924ec78923e11f3426eee7f2344efdf64320aecc | 00ccda33c7647483029234e0240b272a127c82c8 | /monitoringTemp_of_light_with_arduino_control/monitoringTemp_of_light_with_arduino_control.ino | 8910dac6ad013d82fff4dbca0969ea9113524b79 | [] | no_license | AnnaAlina/Monitoring-temperature-of-a-lightbulb-Arduino | d4a5007b40c2c9ed7cb31fdddd7f650d278168f0 | 0fed6a4ccee6e5950b27eca2240c24e197eadbcd | refs/heads/master | 2020-06-30T05:38:27.551054 | 2019-08-06T21:50:43 | 2019-08-06T21:50:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,580 | ino | #define THERMISTOR A1
#define NUMSAMPLES 5
#define THERMROOM 25
#define ROOMRESIST 10000
#define BETA 3960
#define SERIESR 4700
#include <LiquidCrystal.h>
#include <TimerOne.h>
LiquidCrystal lcd(10,9,5,4,3,2); //define object called lcd
uint16_t samples[NUMSAMPLES];
int mocPin = 6;
int red = 11;
int yellow = 12;
int green = 13;
unsigned long seconds;
float temperature;
void setup(void) {
lcd.begin(16,2); //starts lcd screen
lcd.clear(); //clears screen
Serial.begin(9600);
analogReference(EXTERNAL);
pinMode(mocPin, OUTPUT);
pinMode(red, OUTPUT);
pinMode(yellow, OUTPUT);
pinMode(green, OUTPUT);
Timer1.initialize(1000000);
Timer1.attachInterrupt(counter);
}
void loop() {
uint8_t i;
float number;
for(i = 0; i < NUMSAMPLES; i++){ //for loop to get 5 analog samples
samples[i] = analogRead(THERMISTOR); //assigns value to each position within array
delay(10); //waits
}
number = 0;
for(i=0; i < NUMSAMPLES; i++){
number += samples[i];
}
number /= NUMSAMPLES;
number = 1023 / number - 1;
number = SERIESR/number;
temperature = number / ROOMRESIST;
temperature = log(temperature);
temperature /= BETA;
temperature += 1.0 / (THERMROOM + 273.15);
temperature = 1.0/temperature;
temperature -= 273.15;
int setpoint = 65;
int err;
int Gain = 20;
int dutyCycle;
int onTime;
int offTime;
err = setpoint - temperature;
dutyCycle = err*Gain;
dutyCycle = constrain(dutyCycle, 0, 200);
onTime = map(dutyCycle, 0, 200, 0, 4000); //changes to delay onTime to 0-4000
offTime= map(onTime, 0, 4000, 1000, 0); //changes delay offTime to 1000-0
digitalWrite(mocPin, HIGH);
delay(onTime);
digitalWrite(mocPin, LOW);
delay(offTime);
if(temperature >= 68.0){
digitalWrite(red, HIGH);
digitalWrite(yellow, LOW);
digitalWrite(green, LOW);
}
else if(temperature <=62.0){
digitalWrite(yellow, HIGH);
digitalWrite(red, LOW);
digitalWrite(green, LOW);
}
else if(temperature > 62.0 && temperature <=68.0){
digitalWrite(green, HIGH);
digitalWrite(yellow, LOW);
digitalWrite(red, LOW);
}
}
void counter(){
seconds++;
Serial.print(seconds);
Serial.print(",");
Serial.println(temperature);
lcd.clear();
lcd.setCursor(0,0);
lcd.print("Temp = ");
lcd.print(temperature);
lcd.setCursor(0,1);
lcd.print("Count = ");
lcd.print(seconds);
}
| [
"noreply@github.com"
] | noreply@github.com |
39c9f6f5c9014c594036ffb60039b4b2055def38 | 2bf416eabdca397601f1c70bb0f4856751b33a10 | /samples/c_cxx/imagenet/main.cc | 1077bcd40789ff2d3359eb7391f9f0b6583eba7a | [
"MIT"
] | permissive | agnikumar/onnxruntime | b8aeb3fea954ad994666c898df2ade8254cf1163 | 7408dec0bfee82c433bb26856dd204dfc9ec90a2 | refs/heads/master | 2020-06-04T02:49:01.473273 | 2019-08-23T02:16:01 | 2019-08-23T02:16:01 | 191,841,076 | 1 | 0 | MIT | 2019-06-13T22:25:38 | 2019-06-13T22:25:37 | null | UTF-8 | C++ | false | false | 9,179 | cc | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#include <string>
#include <string.h>
#include <sstream>
#include <stdint.h>
#include <assert.h>
#include <stdexcept>
#include <setjmp.h>
#include <algorithm>
#include <vector>
#include <memory>
#include <atomic>
#include "providers.h"
#include "local_filesystem.h"
#include "sync_api.h"
#include <onnxruntime/core/session/onnxruntime_c_api.h>
#include "image_loader.h"
#include "async_ring_buffer.h"
#include <fstream>
#include <condition_variable>
#ifdef _WIN32
#include <atlbase.h>
#endif
using namespace std::chrono;
class Validator : public OutputCollector<TCharString> {
private:
static std::vector<std::string> ReadFileToVec(const TCharString& file_path, size_t expected_line_count) {
std::ifstream ifs(file_path);
if (!ifs) {
throw std::runtime_error("open file failed");
}
std::string line;
std::vector<std::string> labels;
while (std::getline(ifs, line)) {
if (!line.empty()) labels.push_back(line);
}
if (labels.size() != expected_line_count) {
std::ostringstream oss;
oss << "line count mismatch, expect " << expected_line_count << " from " << file_path.c_str() << ", got "
<< labels.size();
throw std::runtime_error(oss.str());
}
return labels;
}
// input file name has pattern like:
//"C:\tools\imagnet_validation_data\ILSVRC2012_val_00000001.JPEG"
//"C:\tools\imagnet_validation_data\ILSVRC2012_val_00000002.JPEG"
static int ExtractImageNumberFromFileName(const TCharString& image_file) {
size_t s = image_file.rfind('.');
if (s == std::string::npos) throw std::runtime_error("illegal filename");
size_t s2 = image_file.rfind('_');
if (s2 == std::string::npos) throw std::runtime_error("illegal filename");
const ORTCHAR_T* start_ptr = image_file.c_str() + s2 + 1;
const ORTCHAR_T* endptr = nullptr;
long value = my_strtol(start_ptr, (ORTCHAR_T**)&endptr, 10);
if (start_ptr == endptr || value > INT32_MAX || value <= 0) throw std::runtime_error("illegal filename");
return static_cast<int>(value);
}
static void VerifyInputOutputCount(OrtSession* session) {
size_t count;
ORT_THROW_ON_ERROR(OrtSessionGetInputCount(session, &count));
assert(count == 1);
ORT_THROW_ON_ERROR(OrtSessionGetOutputCount(session, &count));
assert(count == 1);
}
OrtSession* session_ = nullptr;
const int output_class_count_ = 1001;
std::vector<std::string> labels_;
std::vector<std::string> validation_data_;
std::atomic<int> top_1_correct_count_;
std::atomic<int> finished_count_;
int image_size_;
std::mutex m_;
char* input_name_ = nullptr;
char* output_name_ = nullptr;
OrtEnv* const env_;
const TCharString model_path_;
system_clock::time_point start_time_;
public:
int GetImageSize() const { return image_size_; }
~Validator() {
free(input_name_);
free(output_name_);
OrtReleaseSession(session_);
}
void PrintResult() {
if (finished_count_ == 0) return;
printf("Top-1 Accuracy %f\n", ((float)top_1_correct_count_.load() / finished_count_));
}
void ResetCache() override {
OrtReleaseSession(session_);
CreateSession();
}
void CreateSession() {
OrtSessionOptions* session_option;
ORT_THROW_ON_ERROR(OrtCreateSessionOptions(&session_option));
#ifdef USE_CUDA
ORT_THROW_ON_ERROR(OrtSessionOptionsAppendExecutionProvider_CUDA(session_option, 0));
#endif
ORT_THROW_ON_ERROR(OrtCreateSession(env_, model_path_.c_str(), session_option, &session_));
OrtReleaseSessionOptions(session_option);
}
Validator(OrtEnv* env, const TCharString& model_path, const TCharString& label_file_path,
const TCharString& validation_file_path, size_t input_image_count)
: labels_(ReadFileToVec(label_file_path, 1000)),
validation_data_(ReadFileToVec(validation_file_path, input_image_count)),
top_1_correct_count_(0),
finished_count_(0),
env_(env),
model_path_(model_path) {
CreateSession();
VerifyInputOutputCount(session_);
OrtAllocator* ort_alloc;
ORT_THROW_ON_ERROR(OrtCreateDefaultAllocator(&ort_alloc));
{
char* t;
ORT_THROW_ON_ERROR(OrtSessionGetInputName(session_, 0, ort_alloc, &t));
input_name_ = my_strdup(t);
OrtAllocatorFree(ort_alloc, t);
ORT_THROW_ON_ERROR(OrtSessionGetOutputName(session_, 0, ort_alloc, &t));
output_name_ = my_strdup(t);
OrtAllocatorFree(ort_alloc, t);
}
OrtReleaseAllocator(ort_alloc);
OrtTypeInfo* info;
ORT_THROW_ON_ERROR(OrtSessionGetInputTypeInfo(session_, 0, &info));
const OrtTensorTypeAndShapeInfo* tensor_info;
ORT_THROW_ON_ERROR(OrtCastTypeInfoToTensorInfo(info, &tensor_info));
size_t dim_count;
ORT_THROW_ON_ERROR(OrtGetDimensionsCount(tensor_info, &dim_count));
assert(dim_count == 4);
std::vector<int64_t> dims(dim_count);
ORT_THROW_ON_ERROR(OrtGetDimensions(tensor_info, dims.data(), dims.size()));
if (dims[1] != dims[2] || dims[3] != 3) {
throw std::runtime_error("This model is not supported by this program. input tensor need be in NHWC format");
}
image_size_ = static_cast<int>(dims[1]);
start_time_ = system_clock::now();
}
void operator()(const std::vector<TCharString>& task_id_list, const OrtValue* input_tensor) override {
{
std::lock_guard<std::mutex> l(m_);
const size_t remain = task_id_list.size();
OrtValue* output_tensor = nullptr;
ORT_THROW_ON_ERROR(OrtRun(session_, nullptr, &input_name_, &input_tensor, 1, &output_name_, 1, &output_tensor));
float* probs;
ORT_THROW_ON_ERROR(OrtGetTensorMutableData(output_tensor, (void**)&probs));
for (const auto& s : task_id_list) {
float* end = probs + output_class_count_;
float* max_p = std::max_element(probs + 1, end);
auto max_prob_index = std::distance(probs, max_p);
assert(max_prob_index >= 1);
int test_data_id = ExtractImageNumberFromFileName(s);
assert(test_data_id >= 1);
if (labels_[max_prob_index - 1] == validation_data_[test_data_id - 1]) {
++top_1_correct_count_;
}
probs = end;
}
size_t finished = finished_count_ += static_cast<int>(remain);
float progress = static_cast<float>(finished) / validation_data_.size();
auto elapsed = system_clock::now() - start_time_;
auto eta = progress > 0 ? duration_cast<minutes>(elapsed * (1 - progress) / progress).count() : 9999999;
float accuracy = finished > 0 ? top_1_correct_count_ / static_cast<float>(finished) : 0;
printf("accuracy = %.2f, progress %.2f%%, expect to be finished in %d minutes\n", accuracy, progress * 100, eta);
OrtReleaseValue(output_tensor);
}
}
};
int real_main(int argc, ORTCHAR_T* argv[]) {
if (argc < 6) return -1;
std::vector<TCharString> image_file_paths;
TCharString data_dir = argv[1];
TCharString model_path = argv[2];
// imagenet_lsvrc_2015_synsets.txt
TCharString label_file_path = argv[3];
TCharString validation_file_path = argv[4];
const int batch_size = std::stoi(argv[5]);
// TODO: remove the slash at the end of data_dir string
LoopDir(data_dir, [&data_dir, &image_file_paths](const ORTCHAR_T* filename, OrtFileType filetype) -> bool {
if (filetype != OrtFileType::TYPE_REG) return true;
if (filename[0] == '.') return true;
const ORTCHAR_T* p = my_strrchr(filename, '.');
if (p == nullptr) return true;
// as we tested filename[0] is not '.', p should larger than filename
assert(p > filename);
if (my_strcasecmp(p, ORT_TSTR(".JPEG")) != 0 && my_strcasecmp(p, ORT_TSTR(".JPG")) != 0) return true;
TCharString v(data_dir);
#ifdef _WIN32
v.append(1, '\\');
#else
v.append(1, '/');
#endif
v.append(filename);
image_file_paths.emplace_back(v);
return true;
});
std::vector<uint8_t> data;
Ort::Env env(ORT_LOGGING_LEVEL_WARNING, "Default");
Validator v(env, model_path, label_file_path, validation_file_path, image_file_paths.size());
//Which image size does the model expect? 224, 299, or ...?
int image_size = v.GetImageSize();
const int channels = 3;
std::atomic<int> finished(0);
InceptionPreprocessing prepro(image_size, image_size, channels);
Controller c;
AsyncRingBuffer<std::vector<TCharString>::iterator> buffer(batch_size, 160, c, image_file_paths.begin(),
image_file_paths.end(), &prepro, &v);
buffer.StartDownloadTasks();
std::string err = c.Wait();
if (err.empty()) {
buffer.ProcessRemain();
v.PrintResult();
return 0;
}
fprintf(stderr, "%s\n", err.c_str());
return -1;
}
#ifdef _WIN32
int wmain(int argc, ORTCHAR_T* argv[]) {
HRESULT hr = CoInitializeEx(NULL, COINIT_MULTITHREADED);
if (!SUCCEEDED(hr)) return -1;
#else
int main(int argc, ORTCHAR_T* argv[]) {
#endif
int ret = -1;
try {
ret = real_main(argc, argv);
} catch (const std::exception& ex) {
fprintf(stderr, "%s\n", ex.what());
}
#ifdef _WIN32
CoUninitialize();
#endif
return ret;
} | [
"noreply@github.com"
] | noreply@github.com |
69598b5bae2c0203ce654bb78ff612b59b5e8be5 | fcddb939ac434d1397701a741df43662caebe392 | /hackerearth/city_travel.cpp | 245d817bdb7ef16f3483e36a531d0f1873463017 | [] | no_license | kjsr7/coding | f93cfe2a2bd6de0f06b94af3c0ac82af8d2ec668 | 35ce3bdf814cf5085023707301ce93d1c073032b | refs/heads/master | 2020-03-30T19:12:14.104667 | 2018-10-23T17:08:58 | 2018-10-23T17:08:58 | 149,289,730 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 763 | cpp | #include<bits/stdc++.h>
using namespace std;
#define ull int
map< ull,int> m,m2;
ull x,n,s;
ull ty[1001][2];
ull fun(ull s)
{
static int d = 0;
++d;
if(s<=0)
return 0;
else
{
if(n!=0 && m[d] == 1)
{
return 1 + fun(s - ty[m2[d]][1]);
}
else
return 1 + fun(s - x);
}
}
int main()
{
ios_base::sync_with_stdio(0);
cin.tie(NULL);
scanf("%d",&s);scanf("%d",&x);scanf("%d",&n);
//cin>>s>>x>>n
if(n!=0)
{
for(ull i=0;i<n;i++)
{
//cin>>ty[i][0]>>ty[i][1];
scanf("%d",&ty[i][0]);scanf("%d",&ty[i][1]);
m[ty[i][0]] = 1;
m2[ty[i][0]] = i;
}}
printf("%d",fun(s));
return 0;
}
| [
"kommurujaishankarreddy@gmail.com"
] | kommurujaishankarreddy@gmail.com |
5f4f6d518ee8ac5c4b02f02baa0dc5a5b37944a4 | c99294a91bbc3ac11febaaa45b5e859937991323 | /queue/4queue_using_2stack.cpp | 5c37c202ce5f9fe2c854ee4b3363aff052ef99c4 | [] | no_license | shubhamraj-dev/data_structure_and_algorithms_preparation | 8b51375cab5fe1847989cfb3292ba53155268a74 | 94884309b1664edecb4bb08c0d8d819e2e6de090 | refs/heads/master | 2022-09-10T12:51:11.953251 | 2020-05-21T17:50:04 | 2020-05-21T17:50:04 | 257,993,926 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 974 | cpp | //problem: implement queue using 2 stacks
#include<iostream>
#include<stack>
using namespace std;
class queue_using_stack
{
stack<int>stack1;
stack<int>stack2;
public:
void enqueue(int value)
{
stack1.push(value);
}
int dequeue()
{
int data;
if(!stack2.empty())
{
data = stack2.top();
stack2.pop();
}
else
{
while(!stack1.empty())
{
stack2.push(stack1.top());
stack1.pop();
}
if(stack2.empty())return -1;
data = stack2.top();
stack2.pop();
}
return data;
}
};
int main()
{
queue_using_stack q;
q.enqueue(10);
q.enqueue(15);
q.enqueue(20);
q.enqueue(5);
cout<<q.dequeue()<<endl;
cout<<q.dequeue()<<endl;
cout<<q.dequeue()<<endl;
cout<<q.dequeue()<<endl;
cout<<q.dequeue()<<endl;
return 0;
} | [
"shubamraj993@gmail.com"
] | shubamraj993@gmail.com |
315a03572bdf05a5a8d466dd1071c9164bcd9b6a | bf36d7b447b2dc658f894a12b0fd6df646d8131b | /MazeRunner_core/MazeRunner_core/Item.cpp | e5fe19417cf43d16f1646f5b0edad0ad1f2dbb97 | [] | no_license | MilanDierick/MazeRunner | 56780ed55c660b2144a922a8442f8bf908bbb592 | 2a8bf4486a3ac82532534180e8988901b91f355f | refs/heads/master | 2020-03-11T03:08:20.522475 | 2018-04-23T13:41:51 | 2018-04-23T13:41:51 | 129,738,497 | 0 | 0 | null | 2018-04-23T13:48:21 | 2018-04-16T12:17:37 | C++ | UTF-8 | C++ | false | false | 175 | cpp | #include "Item.h"
Item::Item()
{
this->name = "";
this->id = "";
}
Item::Item(const std::string& name, const std::string& id)
{
this->name = name;
this->id = id;
}
| [
"kenneth.vanpoucke@gmail.com"
] | kenneth.vanpoucke@gmail.com |
f669d4e402d282d7adff7db03fc166f26a3133a5 | d324b3d4ce953574c5945cda64e179f33c36c71b | /php/php-sky/grpc/src/core/lib/security/transport/tsi_error.cc | 2dfa89047a57bff6180d98973eb0b81134e1fd86 | [
"Apache-2.0"
] | permissive | Denticle/docker-base | decc36cc8eb01be1157d0c0417958c2c80ac0d2f | 232115202594f4ea334d512dffb03f34451eb147 | refs/heads/main | 2023-04-21T10:08:29.582031 | 2021-05-13T07:27:52 | 2021-05-13T07:27:52 | 320,431,033 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,020 | cc | /*
*
* Copyright 2015 gRPC authors.
*
* 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 <grpc/support/port_platform.h>
#include "src/core/lib/security/transport/tsi_error.h"
grpc_error* grpc_set_tsi_error_result(grpc_error* error, tsi_result result) {
return grpc_error_set_int(
grpc_error_set_str(
error, GRPC_ERROR_STR_TSI_ERROR,
grpc_slice_from_static_string(tsi_result_to_string(result))),
GRPC_ERROR_INT_TSI_CODE, result);
}
| [
"root@localhost.localdomain"
] | root@localhost.localdomain |
7c7c2f53f85c20ec40b309d295355439144154cb | fedfd83c0762e084235bf5562d46f0959b318b6f | /L1 小学生趣味编程/ch06/ch63-zy02.cpp | 228b06f2dcbe0af0ac4b02b86e119b8ed6efe89e | [] | no_license | mac8088/noip | 7843b68b6eeee6b45ccfb777c3e389e56b188549 | 61ee051d3aff55b3767d0f2f7d5cc1e1c8d3cf20 | refs/heads/master | 2021-08-17T21:25:37.951477 | 2020-08-14T02:03:50 | 2020-08-14T02:03:50 | 214,208,724 | 6 | 0 | null | null | null | null | GB18030 | C++ | false | false | 490 | cpp | #include <iostream>
using namespace std;
/*
第63课,老鹰捉小鸡
循环移位
作业02
*/
int main()
{
//a[0] 代表狐狸老师,钥匙用-1表示。
int a[6] = {4,3,-1,5,1,2};
int i;
cout << "老师";
i = a[0];
do
{
cout << "--->" << i;
i = a[i];
} while(i != -1);
cout << endl;
cout << "钥匙找到了! " << endl;
return 0;
}
//--------------------------------
//老师--->4--->1--->3--->5--->2
//钥匙找到了!
//--------------------------------
| [
"chun.ma@qq.com"
] | chun.ma@qq.com |
7b1e8181cebb1c08ddd152cc859b3ca16455cf1a | 1f032ac06a2fc792859a57099e04d2b9bc43f387 | /17/ed/dc/f4/d2b649cd5f6a8bc850095e8b84315377ec95c28c0deae08a22362462b57c2a0e39fe6b7f4eec8bf17eba554896df0481add43bd6ef4d1426d82ce9ee/sw.cpp | bdb83bf02d0880183af87d14ec8061441dcdc534 | [] | no_license | SoftwareNetwork/specifications | 9d6d97c136d2b03af45669bad2bcb00fda9d2e26 | ba960f416e4728a43aa3e41af16a7bdd82006ec3 | refs/heads/master | 2023-08-16T13:17:25.996674 | 2023-08-15T10:45:47 | 2023-08-15T10:45:47 | 145,738,888 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,384 | cpp | void build(Solution &s)
{
auto &t = s.addTarget<StaticLibrary>("facebook.folly", "2021.1.25.0");
t += Git("https://github.com/facebook/folly", "v{M}.{m:02}.{p:02}.{t:02}");
//t.CPPVersion = CPPLanguageStandard::CPP14;
t.CPPVersion = CPPLanguageStandard::CPP17;
t += "folly/.*\\.cpp"_rr;
t += "folly/.*\\.h"_rr;
t -= ".*tools.*"_rr;
t -= ".*experimental.*"_rr;
t -= ".*[tT]est.*"_rr;
if (t.getBuildSettings().TargetOS.Type == OSType::Windows)
{
t -= "folly/Demangle.cpp";
t -= "folly/detail/Demangle.cpp";
t -= "folly/Subprocess.cpp";
t -= "folly/python/.*"_rr;
}
t.Public += "_ENABLE_EXTENDED_ALIGNED_STORAGE=1"_def;
t.Public += "FOLLY_HAVE_LIBGFLAGS=1"_def;
t.Public += "org.sw.demo.google.glog"_dep;
t.Public += "org.sw.demo.google.double_conversion"_dep;
t.Public += "org.sw.demo.boost.crc"_dep;
t.Public += "org.sw.demo.boost.intrusive"_dep;
t.Public += "org.sw.demo.boost.thread"_dep;
t.Public += "org.sw.demo.boost.multi_index"_dep;
t.Public += "org.sw.demo.boost.context"_dep;
t.Public += "org.sw.demo.openssl.ssl"_dep;
t.Public += "org.sw.demo.libevent"_dep;
//t.Public += "org.sw.demo.python.lib"_dep;
if (t.getBuildSettings().TargetOS.Type == OSType::Windows)
t += "NOMINMAX"_d;
t.writeFileOnce("folly/folly-config.h");
}
| [
"cppanbot@gmail.com"
] | cppanbot@gmail.com |
3449a2c5f00931dcc30544b0a97b38d0fd08f661 | 55e0710904a0997f663f9d5152547a71ea09ae83 | /data_mining/join_based/JoinBase.h | 9747f6dfff8a1df2c6fa17628c1220c1f28dcea3 | [
"MIT"
] | permissive | juanjuanShu/codes | 12cea1d0fe0b16d9fbaee3853aeb3712e7ef2b7a | 905e70e79a21832ed751598d15ed71c420a310ce | refs/heads/main | 2023-03-24T01:28:43.176486 | 2021-03-17T09:06:47 | 2021-03-17T09:06:47 | 310,597,736 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,474 | h | #pragma once
#include "stdafx.h"
#include "Types.h"
#include "Common.h"
#include "MultiResolution.h"
class Common;
struct Rule {
ColocationType antecedent;
ColocationType consequent;
double conf;
friend bool operator < (struct Rule const&a, struct Rule const &b)
{
if (a.antecedent == b.antecedent) {
return a.consequent < b.consequent;
}
else {
return a.antecedent < b.antecedent;
}
}
};
class JoinBase {
public:
JoinBase(
vector<InstanceType>& instances,
double min_prev,
double min_conf,
double distance,
bool fmul = true,
double cellSize = 1
);
set<Rule> execute();
private:
double _min_prev;
double _min_conf;
double _distance;
bool _fmul;
double _cellSize;
map<FeatureType, map<InstanceIdType, LocationType>> _instances;
map<FeatureType, unsigned int> numOfInstances;
map<unsigned int,map<ColocationType, unsigned int>> _numOfColocations;
map<unsigned int, ColocationPackage> _prevalentColocation;
vector<InstanceType> _true_instances;
set<Rule> _rules;
vector<ColocationType> _generateCandidateColocations_2();
vector<ColocationType> _generateCandidateColocations_k(int k);
ColocationPackage _generateTableInstances(ColocationSetType& candidates, int k);
void _selectPrevalentColocations(ColocationPackage& candidates, int k);
bool _isSubsetPrevalent(ColocationType& candidates, int k);
void _generateRules();
unsigned int getRowInstancesOfColocationSub(const ColocationType& colocationSub);
};
| [
"juanjuanShu168@163.com"
] | juanjuanShu168@163.com |
ac99eb0b4490d48ee0e88cdf1f08bd7b9e3abff4 | 689796028bfa89e10d8b900f0012c20cbcc681df | /include/heimdall/common.h | f129938c36ba4d24f816239824c6a433f05e28ec | [] | no_license | adamleighfish/heimdall | ab7d995e611a9d5aa8965b0bab0b259e8346fd4b | fbbc0caa362e8c17db03f34cf8df797edf6221e5 | refs/heads/master | 2021-05-09T05:27:55.631797 | 2018-02-12T14:19:06 | 2018-02-12T14:19:06 | 119,308,874 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,745 | h | #pragma once
/// Common includes across all files
#include <iostream>
#include <cmath>
#include <algorithm>
#include <vector>
#include <limits>
#include <iterator>
#include <cstring>
/// Convenient definitions
#define HEIMDALL_NAMESPACE_BEGIN namespace heimdall {
#define HEIMDALL_NAMESPACE_END }
/// Error epsilon for ray-surface interaction
#define Epsilon (std::numeric_limits<float>::epsilon() * 0.5)
/// Useful constants
#undef M_PI
#define M_PI 3.14159265358979323846f
#define INV_PI 0.31830988618379067154f
#define INV_TWOPI 0.15915494309189533577f
#define INV_FOURPI 0.07957747154594766788f
#define SQRT_TWO 1.41421356237309504880f
#define INV_SQRT_TWO 0.70710678118654752440f
#define PI_DIV_180 0.01745329251994329577f
HEIMDALL_NAMESPACE_BEGIN
/// Forward declarations
template <typename T> class Vec2;
template <typename T> class Vec3;
template <typename T> class Point2;
template <typename T> class Point3;
template <typename T> class Normal2;
template <typename T> class Normal3;
template <typename T> class Bounds2;
template <typename T> class Bounds3;
class Matrix;
class Transform;
class Quaternion;
class Interaction;
class SurfaceInteraction;
class Material;
class Medium;
class Shape;
/// Basic data stuctures with common type aliases
typedef Vec2<float> Vec2f;
typedef Vec3<float> Vec3f;
typedef Vec2<int> Vec2i;
typedef Vec3<int> Vec3i;
typedef Point2<float> Point2f;
typedef Point3<float> Point3f;
typedef Point2<int> Point2i;
typedef Point3<int> Point3i;
typedef Normal2<float> Normal2f;
typedef Normal3<float> Normal3f;
typedef Bounds2<float> Bounds2f;
typedef Bounds3<float> Bounds3f;
typedef Bounds2<int> Bounds2i;
typedef Bounds3<int> Bounds3i;
/// Common functions across all files
inline float Lerp(float t, float v1, float v2) {
return (1 - t) * v1 + t * v2;
}
inline float InvSqrt(float x) {
float xhalf = x * 0.5f;
int i = *(int*)&x; // store floating-point bits in integer
i = 0x5f375a86 - (i >> 1); // initial guess for Newton's method
x = *(float*)&i; // convert new bits into float
x = x * (1.5f - xhalf * x * x); // First round of Newton's method
x = x * (1.5f - xhalf * x * x); // Second round of Newton's method
x = x * (1.5f - xhalf * x * x); // Third round of Newton's method
return x;
}
template <typename T, typename U, typename V>
inline T Clamp(T val, U low, V high) {
if (val < low) {
return low;
} else if (val > high) {
return high;
}
return val;
}
inline float Radians(float theta) {
return theta * PI_DIV_180;
}
/// Import cout, cerr, endl for debugging purposes
using std::cout;
using std::cerr;
using std::endl;
HEIMDALL_NAMESPACE_END | [
"adamleighfish@gmail.com"
] | adamleighfish@gmail.com |
4ddd4f77938f13bc52012c4abba68f0e4ebd71ae | 68dd4bf39f15c2665e25ee11f25d8a5bedf0bf35 | /PWG2resonances/RESONANCES/AliRsnDaughter.cxx | d0d1ee76c07eb55ba2c9ad6d108622ce67f8f8dc | [] | no_license | sanyaade-speechtools/alimv | b3200a16d367e2438f47d9ea5cb86f806d5815e7 | 62784da96bb65b26b1c1c2c8e114107cb75a8df1 | refs/heads/master | 2016-09-09T23:30:54.456676 | 2011-04-22T09:25:29 | 2011-04-22T09:25:29 | 41,254,690 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,818 | cxx | //
// This class works as generic interface to each candidate resonance daughter.
// Its main purpose is to provide a unique reference which includes all the
// facilities available in the AliVParticle generic base class, plus all info
// which could be needed during analysis, which are not in AliVParticle but
// need to be accessed from ESD or AOD objects, usually in different ways.
// When MC is available, AliRsnDaughter matches each reconstructed object with
// its corresponding MC particle.
//
// Currently, this interface can point to all kinds of single-particle object
// which one can have in the reconstructed event: charged tracks, V0s and
// cascades. It is care of the user to treat each of them in the correct way,
// regarding cuts, functions to be computed, etc.
//
// authors: A. Pulvirenti (alberto.pulvirenti@ct.infn.it)
// M. Vala (martin.vala@cern.ch)
//
#include <TParticle.h>
#include <TDatabasePDG.h>
#include "AliRsnDaughter.h"
ClassImp(AliRsnDaughter)
//_____________________________________________________________________________
AliRsnDaughter::AliRsnDaughter(const AliRsnDaughter ©) :
TObject(copy),
fOK(copy.fOK),
fLabel(copy.fLabel),
fMotherPDG(copy.fMotherPDG),
fRsnID(copy.fRsnID),
fPrec(copy.fPrec),
fPsim(copy.fPsim),
fRef(copy.fRef),
fRefMC(copy.fRefMC),
fOwnerEvent(copy.fOwnerEvent)
{
//
// Copy constructor.
// Pointers are NOT duplicated, since they don't come from a 'new'
// statement, but from just referencing something in the data source.
//
}
//_____________________________________________________________________________
AliRsnDaughter& AliRsnDaughter::operator=(const AliRsnDaughter ©)
{
//
// Assignment operator.
// Pointers are NOT duplicated, since they don't come from a 'new'
// statement, but from just referencing something in the data source.
//
fOK = copy.fOK;
fLabel = copy.fLabel;
fMotherPDG = copy.fMotherPDG;
fRsnID = copy.fRsnID;
fPsim = copy.fPsim;
fPrec = copy.fPrec;
fRef = copy.fRef;
fRefMC = copy.fRefMC;
fOwnerEvent = copy.fOwnerEvent;
return (*this);
}
//_____________________________________________________________________________
void AliRsnDaughter::Reset()
{
//
// Reset this track to meaningless values and to a 'bad' status.
// After this has been done, this object should not be used
// for analysis unless initialized properly.
//
fOK = kFALSE;
fLabel = -1;
fMotherPDG = 0;
fRsnID = -1;
fPsim.SetXYZT(0.0, 0.0, 0.0, 0.0);
fPrec.SetXYZT(0.0, 0.0, 0.0, 0.0);
fRef = fRefMC = 0x0;
fOwnerEvent = 0x0;
}
//_____________________________________________________________________________
Int_t AliRsnDaughter::GetPDG()
{
//
// Return the PDG code of the particle from MC ref (if any).
// If argument is kTRUE, returns its absolute value.
//
if (Match(fRefMC, AliMCParticle::Class()))
return ((AliMCParticle*)fRefMC)->Particle()->GetPdgCode();
else if (Match(fRefMC, AliAODMCParticle::Class()))
return ((AliAODMCParticle*)fRefMC)->GetPdgCode();
else {
AliWarning("Cannot retrieve PDG");
return 0;
}
}
//_____________________________________________________________________________
Int_t AliRsnDaughter::GetID()
{
//
// Return reference index, using the "GetID" method
// of the possible source object.
// When this method is unsuccessful (e.g.: V0s), return the label.
//
// ESD tracks
AliESDtrack *esd = Ref2ESDtrack();
if (esd) return esd->GetID();
// AOD tracks
AliAODTrack *aod = Ref2AODtrack();
if (aod) return aod->GetID();
// whatever else
return GetLabel();
}
//_____________________________________________________________________________
Int_t AliRsnDaughter::GetMother()
{
//
// Return index of the first mother of the MC reference, if any.
// Otherwise, returns -1 (the same as for primary tracks)
//
if (!fRefMC) return -1;
if (fRefMC->InheritsFrom(AliMCParticle::Class())) {
AliMCParticle *mc = (AliMCParticle*)fRefMC;
return mc->Particle()->GetFirstMother();
} else if (fRefMC->InheritsFrom(AliAODMCParticle::Class())) {
AliAODMCParticle *mc = (AliAODMCParticle*)fRefMC;
return mc->GetMother();
}
else
return -1;
}
//______________________________________________________________________________
void AliRsnDaughter::Print(Option_t *) const
{
//
// Override of TObject::Print()
//
AliInfo("=== DAUGHTER INFO ======================================================================");
AliInfo(Form(" (sim) px,py,pz = %6.2f %6.2f %6.2f", fPsim.X(), fPsim.Y(), fPsim.Z()));
AliInfo(Form(" (rec) px,py,pz = %6.2f %6.2f %6.2f", fPrec.X(), fPrec.Y(), fPrec.Z()));
AliInfo(Form(" OK, RsnID, Label, MotherPDG = %s, %5d, %5d, %4d", (fOK ? "true " : "false"), fRsnID, fLabel, fMotherPDG));
AliInfo("========================================================================================");
}
//______________________________________________________________________________
const char* AliRsnDaughter::SpeciesName(ESpecies species)
{
//
// Return a string with the short name of the particle
//
switch (species) {
case kElectron: return "E";
case kMuon: return "Mu";
case kPion: return "Pi";
case kKaon: return "K";
case kProton: return "P";
case kKaon0: return "K0s";
case kLambda: return "Lambda";
case kXi: return "Xi";
case kOmega: return "Omega";
default: return "Undef";
}
}
//______________________________________________________________________________
Int_t AliRsnDaughter::SpeciesPDG(ESpecies species)
{
//
// Return the PDG code of a particle species (abs value)
//
switch (species) {
case kElectron: return 11;
case kMuon: return 13;
case kPion: return 211;
case kKaon: return 321;
case kProton: return 2212;
case kKaon0: return 310;
case kLambda: return 3122;
case kXi: return 3312;
case kOmega: return 3334;
default: return 0;
}
}
//______________________________________________________________________________
Double_t AliRsnDaughter::SpeciesMass(ESpecies species)
{
//
// Return the mass of a particle species
//
TDatabasePDG *db = TDatabasePDG::Instance();
TParticlePDG *part = 0x0;
Int_t pdg = SpeciesPDG(species);
if (pdg) {
part = db->GetParticle(pdg);
return part->Mass();
}
else
return 0.0;
}
//______________________________________________________________________________
EPARTYPE AliRsnDaughter::ToAliPID(ESpecies species)
{
//
// Convert an enum element from this object
// into the enumeration of AliPID.
// If no match are cound 'kUnknown' is returned.
//
switch (species) {
case kElectron: return AliPID::kElectron;
case kMuon: return AliPID::kMuon;
case kPion: return AliPID::kPion;
case kKaon: return AliPID::kKaon;
case kProton: return AliPID::kProton;
case kKaon0: return AliPID::kKaon0;
default: return AliPID::kUnknown;
}
}
//______________________________________________________________________________
AliRsnDaughter::ESpecies AliRsnDaughter::FromAliPID(EPARTYPE pid)
{
//
// Convert an enum element from AliPID
// into the enumeration of this object.
// If no match are cound 'kUnknown' is returned.
//
switch (pid) {
case AliPID::kElectron: return kElectron;
case AliPID::kMuon: return kMuon;
case AliPID::kPion: return kPion;
case AliPID::kKaon: return kKaon;
case AliPID::kProton: return kProton;
case AliPID::kKaon0: return kKaon0;
default: return kUnknown;
}
}
| [
"vala.martin@f903ec54-de9e-11de-b4e8-61bb9a648e99"
] | vala.martin@f903ec54-de9e-11de-b4e8-61bb9a648e99 |
75e743d79e49fa4e4879b02efad4eeb4ddf89caa | 82b811d259ad4b75820948af677f8d2ff214a149 | /cpp/linkedlist/double.cpp | 1b84877c5e91147909bee267b235f9daca7e704f | [
"MIT"
] | permissive | mario21ic/abstract-data-structures | 3b6bb8fb5693c94c9b3e5836b81510f88f483975 | 2bf89db8cff4cf79c66d63eb84a96c33cda6cebd | refs/heads/master | 2022-03-10T00:48:29.051310 | 2022-02-21T07:10:09 | 2022-02-21T07:10:09 | 252,648,827 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,081 | cpp | #include <iostream>
#include <array>
class Node {
public:
int value;
int *prev;
int *next;
};
int main ()
{
std::array<Node,4> nodos;
int array_len = nodos.size();
std::cout << "size of nodos: " << array_len << std::endl;
std::cout << "sizeof(nodos): " << sizeof(nodos) << std::endl;
std::cout << "## Assing values " << std::endl;
for (int i=0 ; i<array_len ; i++) {
nodos[i].value = 3+i;
std::cout << "nodo.value: " << nodos[i].value << std::endl;
}
std::cout << "## Assing next " << std::endl;
for (int i=0 ; i<(array_len-1) ; i++) {
nodos[i].next = &nodos[i+1].value;
std::cout << "nodo.value: " << nodos[i].value << std::endl;
std::cout << "nodo.next: " << *nodos[i].next << std::endl;
}
std::cout << "## Assing prev " << std::endl;
for (int i=1 ; i<array_len; i++) {
nodos[i].prev = &nodos[i-1].value;
std::cout << "nodo.value: " << nodos[i].value << std::endl;
std::cout << "nodo.prev: " << *nodos[i].prev << std::endl;
}
return 0;
}
| [
"mario21ic@gmail.com"
] | mario21ic@gmail.com |
a642b4ef28c82b3cbfd6542f783df64ed0e9efbb | 9aa80c9868541eea69c39dd75ef14de22e078083 | /include/rapidjson/encodings.h | 2e93efc4cafc5fcbddc0948ec80748471def9541 | [
"MIT"
] | permissive | tr0yspradling/jsontree | 34781637cb9f64ea496f30b64a04b6c25c9eecd1 | e025f5377380f1ec03b5f3ddb52c3d43ce103e40 | refs/heads/master | 2022-11-11T13:50:10.911338 | 2022-10-25T07:14:14 | 2022-10-25T07:14:14 | 229,385,977 | 1 | 0 | null | 2022-10-25T06:09:29 | 2019-12-21T06:16:11 | C++ | UTF-8 | C++ | false | false | 32,680 | h | // Tencent is pleased to support the open source community by making RapidJSON available.
//
// Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved.
//
// Licensed under the MIT License (the "License"); you may not use this file except
// in compliance with the License. You may obtain a copy of the License at
//
// http://opensource.org/licenses/MIT
//
// 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 RAPIDJSON_ENCODINGS_H_
#define RAPIDJSON_ENCODINGS_H_
#include "rapidjson.h"
#if defined(_MSC_VER) && !defined(__clang__)
RAPIDJSON_DIAG_PUSH
RAPIDJSON_DIAG_OFF(4244) // conversion from 'type1' to 'type2', possible loss of data
RAPIDJSON_DIAG_OFF(4702) // unreachable code
#elif defined(__GNUC__)
RAPIDJSON_DIAG_PUSH
RAPIDJSON_DIAG_OFF(effc++)
RAPIDJSON_DIAG_OFF(overflow)
#endif
RAPIDJSON_NAMESPACE_BEGIN
///////////////////////////////////////////////////////////////////////////////
// Encoding
/*! \class rapidjson::Encoding
\brief Concept for encoding of Unicode characters.
\code
concept Encoding {
typename Ch; //! Type of character. A "character" is actually a code unit in unicode's definition.
enum { supportUnicode = 1 }; // or 0 if not supporting unicode
//! \brief Encode a Unicode codepoint to an output stream.
//! \param os Output stream.
//! \param codepoint An unicode codepoint, ranging from 0x0 to 0x10FFFF inclusively.
template<typename OutputStream>
static void Encode(OutputStream& os, unsigned codepoint);
//! \brief Decode a Unicode codepoint from an input stream.
//! \param is Input stream.
//! \param codepoint Output of the unicode codepoint.
//! \return true if a valid codepoint can be decoded from the stream.
template <typename InputStream>
static bool Decode(InputStream& is, unsigned* codepoint);
//! \brief Validate one Unicode codepoint from an encoded stream.
//! \param is Input stream to obtain codepoint.
//! \param os Output for copying one codepoint.
//! \return true if it is valid.
//! \note This function just validating and copying the codepoint without actually decode it.
template <typename InputStream, typename OutputStream>
static bool Validate(InputStream& is, OutputStream& os);
// The following functions are deal with byte streams.
//! Take a character from input byte stream, skip BOM if exist.
template <typename InputByteStream>
static CharType TakeBOM(InputByteStream& is);
//! Take a character from input byte stream.
template <typename InputByteStream>
static Ch Take(InputByteStream& is);
//! Put BOM to output byte stream.
template <typename OutputByteStream>
static void PutBOM(OutputByteStream& os);
//! Put a character to output byte stream.
template <typename OutputByteStream>
static void Put(OutputByteStream& os, Ch c);
};
\endcode
*/
///////////////////////////////////////////////////////////////////////////////
// UTF8
//! UTF-8 encoding.
/*! http://en.wikipedia.org/wiki/UTF-8
http://tools.ietf.org/html/rfc3629
\tparam CharType Code unit for storing 8-bit UTF-8 data. Default is char.
\note implements Encoding concept
*/
template<typename CharType = char>
struct UTF8 {
typedef CharType Ch;
enum {
supportUnicode = 1
};
template<typename OutputStream>
static void Encode(OutputStream &os, unsigned codepoint) {
if (codepoint <= 0x7F)
os.Put(static_cast<Ch>(codepoint & 0xFF));
else if (codepoint <= 0x7FF) {
os.Put(static_cast<Ch>(0xC0 | ((codepoint >> 6) & 0xFF)));
os.Put(static_cast<Ch>(0x80 | ((codepoint & 0x3F))));
} else if (codepoint <= 0xFFFF) {
os.Put(static_cast<Ch>(0xE0 | ((codepoint >> 12) & 0xFF)));
os.Put(static_cast<Ch>(0x80 | ((codepoint >> 6) & 0x3F)));
os.Put(static_cast<Ch>(0x80 | (codepoint & 0x3F)));
} else {
RAPIDJSON_ASSERT(codepoint <= 0x10FFFF);
os.Put(static_cast<Ch>(0xF0 | ((codepoint >> 18) & 0xFF)));
os.Put(static_cast<Ch>(0x80 | ((codepoint >> 12) & 0x3F)));
os.Put(static_cast<Ch>(0x80 | ((codepoint >> 6) & 0x3F)));
os.Put(static_cast<Ch>(0x80 | (codepoint & 0x3F)));
}
}
template<typename OutputStream>
static void EncodeUnsafe(OutputStream &os, unsigned codepoint) {
if (codepoint <= 0x7F)
PutUnsafe(os, static_cast<Ch>(codepoint & 0xFF));
else if (codepoint <= 0x7FF) {
PutUnsafe(os, static_cast<Ch>(0xC0 | ((codepoint >> 6) & 0xFF)));
PutUnsafe(os, static_cast<Ch>(0x80 | ((codepoint & 0x3F))));
} else if (codepoint <= 0xFFFF) {
PutUnsafe(os, static_cast<Ch>(0xE0 | ((codepoint >> 12) & 0xFF)));
PutUnsafe(os, static_cast<Ch>(0x80 | ((codepoint >> 6) & 0x3F)));
PutUnsafe(os, static_cast<Ch>(0x80 | (codepoint & 0x3F)));
} else {
RAPIDJSON_ASSERT(codepoint <= 0x10FFFF);
PutUnsafe(os, static_cast<Ch>(0xF0 | ((codepoint >> 18) & 0xFF)));
PutUnsafe(os, static_cast<Ch>(0x80 | ((codepoint >> 12) & 0x3F)));
PutUnsafe(os, static_cast<Ch>(0x80 | ((codepoint >> 6) & 0x3F)));
PutUnsafe(os, static_cast<Ch>(0x80 | (codepoint & 0x3F)));
}
}
template<typename InputStream>
static bool Decode(InputStream &is, unsigned *codepoint) {
#define RAPIDJSON_COPY() c = is.Take(); *codepoint = (*codepoint << 6) | (static_cast<unsigned char>(c) & 0x3Fu)
#define RAPIDJSON_TRANS(mask) result &= ((GetRange(static_cast<unsigned char>(c)) & mask) != 0)
#define RAPIDJSON_TAIL() RAPIDJSON_COPY(); RAPIDJSON_TRANS(0x70)
typename InputStream::Ch c = is.Take();
if (!(c & 0x80)) {
*codepoint = static_cast<unsigned char>(c);
return true;
}
unsigned char type = GetRange(static_cast<unsigned char>(c));
if (type >= 32) {
*codepoint = 0;
} else {
*codepoint = (0xFFu >> type) & static_cast<unsigned char>(c);
}
bool result = true;
switch (type) {
case 2:
RAPIDJSON_TAIL();
return result;
case 3:
RAPIDJSON_TAIL();
RAPIDJSON_TAIL();
return result;
case 4:
RAPIDJSON_COPY();
RAPIDJSON_TRANS(0x50);
RAPIDJSON_TAIL();
return result;
case 5:
RAPIDJSON_COPY();
RAPIDJSON_TRANS(0x10);
RAPIDJSON_TAIL();
RAPIDJSON_TAIL();
return result;
case 6:
RAPIDJSON_TAIL();
RAPIDJSON_TAIL();
RAPIDJSON_TAIL();
return result;
case 10:
RAPIDJSON_COPY();
RAPIDJSON_TRANS(0x20);
RAPIDJSON_TAIL();
return result;
case 11:
RAPIDJSON_COPY();
RAPIDJSON_TRANS(0x60);
RAPIDJSON_TAIL();
RAPIDJSON_TAIL();
return result;
default:
return false;
}
#undef RAPIDJSON_COPY
#undef RAPIDJSON_TRANS
#undef RAPIDJSON_TAIL
}
template<typename InputStream, typename OutputStream>
static bool Validate(InputStream &is, OutputStream &os) {
#define RAPIDJSON_COPY() os.Put(c = is.Take())
#define RAPIDJSON_TRANS(mask) result &= ((GetRange(static_cast<unsigned char>(c)) & mask) != 0)
#define RAPIDJSON_TAIL() RAPIDJSON_COPY(); RAPIDJSON_TRANS(0x70)
Ch c;
RAPIDJSON_COPY();
if (!(c & 0x80))
return true;
bool result = true;
switch (GetRange(static_cast<unsigned char>(c))) {
case 2:
RAPIDJSON_TAIL();
return result;
case 3:
RAPIDJSON_TAIL();
RAPIDJSON_TAIL();
return result;
case 4:
RAPIDJSON_COPY();
RAPIDJSON_TRANS(0x50);
RAPIDJSON_TAIL();
return result;
case 5:
RAPIDJSON_COPY();
RAPIDJSON_TRANS(0x10);
RAPIDJSON_TAIL();
RAPIDJSON_TAIL();
return result;
case 6:
RAPIDJSON_TAIL();
RAPIDJSON_TAIL();
RAPIDJSON_TAIL();
return result;
case 10:
RAPIDJSON_COPY();
RAPIDJSON_TRANS(0x20);
RAPIDJSON_TAIL();
return result;
case 11:
RAPIDJSON_COPY();
RAPIDJSON_TRANS(0x60);
RAPIDJSON_TAIL();
RAPIDJSON_TAIL();
return result;
default:
return false;
}
#undef RAPIDJSON_COPY
#undef RAPIDJSON_TRANS
#undef RAPIDJSON_TAIL
}
static unsigned char GetRange(unsigned char c) {
// Referring to DFA of http://bjoern.hoehrmann.de/utf-8/decoder/dfa/
// With new mapping 1 -> 0x10, 7 -> 0x20, 9 -> 0x40, such that AND operation can test multiple types.
static const unsigned char type[] = {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10,
0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40,
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
8, 8, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
10, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 3, 3, 11, 6, 6, 6, 5, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8,
};
return type[c];
}
template<typename InputByteStream>
static CharType TakeBOM(InputByteStream &is) {
RAPIDJSON_STATIC_ASSERT(sizeof(typename InputByteStream::Ch) == 1);
typename InputByteStream::Ch c = Take(is);
if (static_cast<unsigned char>(c) != 0xEFu) return c;
c = is.Take();
if (static_cast<unsigned char>(c) != 0xBBu) return c;
c = is.Take();
if (static_cast<unsigned char>(c) != 0xBFu) return c;
c = is.Take();
return c;
}
template<typename InputByteStream>
static Ch Take(InputByteStream &is) {
RAPIDJSON_STATIC_ASSERT(sizeof(typename InputByteStream::Ch) == 1);
return static_cast<Ch>(is.Take());
}
template<typename OutputByteStream>
static void PutBOM(OutputByteStream &os) {
RAPIDJSON_STATIC_ASSERT(sizeof(typename OutputByteStream::Ch) == 1);
os.Put(static_cast<typename OutputByteStream::Ch>(0xEFu));
os.Put(static_cast<typename OutputByteStream::Ch>(0xBBu));
os.Put(static_cast<typename OutputByteStream::Ch>(0xBFu));
}
template<typename OutputByteStream>
static void Put(OutputByteStream &os, Ch c) {
RAPIDJSON_STATIC_ASSERT(sizeof(typename OutputByteStream::Ch) == 1);
os.Put(static_cast<typename OutputByteStream::Ch>(c));
}
};
///////////////////////////////////////////////////////////////////////////////
// UTF16
//! UTF-16 encoding.
/*! http://en.wikipedia.org/wiki/UTF-16
http://tools.ietf.org/html/rfc2781
\tparam CharType Type for storing 16-bit UTF-16 data. Default is wchar_t. C++11 may use char16_t instead.
\note implements Encoding concept
\note For in-memory access, no need to concern endianness. The code units and code points are represented by CPU's endianness.
For streaming, use UTF16LE and UTF16BE, which handle endianness.
*/
template<typename CharType = wchar_t>
struct UTF16 {
typedef CharType Ch;
RAPIDJSON_STATIC_ASSERT(sizeof(Ch) >= 2);
enum {
supportUnicode = 1
};
template<typename OutputStream>
static void Encode(OutputStream &os, unsigned codepoint) {
RAPIDJSON_STATIC_ASSERT(sizeof(typename OutputStream::Ch) >= 2);
if (codepoint <= 0xFFFF) {
RAPIDJSON_ASSERT(
codepoint < 0xD800 || codepoint > 0xDFFF); // Code point itself cannot be surrogate pair
os.Put(static_cast<typename OutputStream::Ch>(codepoint));
} else {
RAPIDJSON_ASSERT(codepoint <= 0x10FFFF);
unsigned v = codepoint - 0x10000;
os.Put(static_cast<typename OutputStream::Ch>((v >> 10) | 0xD800));
os.Put(static_cast<typename OutputStream::Ch>((v & 0x3FF) | 0xDC00));
}
}
template<typename OutputStream>
static void EncodeUnsafe(OutputStream &os, unsigned codepoint) {
RAPIDJSON_STATIC_ASSERT(sizeof(typename OutputStream::Ch) >= 2);
if (codepoint <= 0xFFFF) {
RAPIDJSON_ASSERT(
codepoint < 0xD800 || codepoint > 0xDFFF); // Code point itself cannot be surrogate pair
PutUnsafe(os, static_cast<typename OutputStream::Ch>(codepoint));
} else {
RAPIDJSON_ASSERT(codepoint <= 0x10FFFF);
unsigned v = codepoint - 0x10000;
PutUnsafe(os, static_cast<typename OutputStream::Ch>((v >> 10) | 0xD800));
PutUnsafe(os, static_cast<typename OutputStream::Ch>((v & 0x3FF) | 0xDC00));
}
}
template<typename InputStream>
static bool Decode(InputStream &is, unsigned *codepoint) {
RAPIDJSON_STATIC_ASSERT(sizeof(typename InputStream::Ch) >= 2);
typename InputStream::Ch c = is.Take();
if (c < 0xD800 || c > 0xDFFF) {
*codepoint = static_cast<unsigned>(c);
return true;
} else if (c <= 0xDBFF) {
*codepoint = (static_cast<unsigned>(c) & 0x3FF) << 10;
c = is.Take();
*codepoint |= (static_cast<unsigned>(c) & 0x3FF);
*codepoint += 0x10000;
return c >= 0xDC00 && c <= 0xDFFF;
}
return false;
}
template<typename InputStream, typename OutputStream>
static bool Validate(InputStream &is, OutputStream &os) {
RAPIDJSON_STATIC_ASSERT(sizeof(typename InputStream::Ch) >= 2);
RAPIDJSON_STATIC_ASSERT(sizeof(typename OutputStream::Ch) >= 2);
typename InputStream::Ch c;
os.Put(static_cast<typename OutputStream::Ch>(c = is.Take()));
if (c < 0xD800 || c > 0xDFFF)
return true;
else if (c <= 0xDBFF) {
os.Put(c = is.Take());
return c >= 0xDC00 && c <= 0xDFFF;
}
return false;
}
};
//! UTF-16 little endian encoding.
template<typename CharType = wchar_t>
struct UTF16LE : UTF16<CharType> {
template<typename InputByteStream>
static CharType TakeBOM(InputByteStream &is) {
RAPIDJSON_STATIC_ASSERT(sizeof(typename InputByteStream::Ch) == 1);
CharType c = Take(is);
return static_cast<uint16_t>(c) == 0xFEFFu ? Take(is) : c;
}
template<typename InputByteStream>
static CharType Take(InputByteStream &is) {
RAPIDJSON_STATIC_ASSERT(sizeof(typename InputByteStream::Ch) == 1);
unsigned c = static_cast<uint8_t>(is.Take());
c |= static_cast<unsigned>(static_cast<uint8_t>(is.Take())) << 8;
return static_cast<CharType>(c);
}
template<typename OutputByteStream>
static void PutBOM(OutputByteStream &os) {
RAPIDJSON_STATIC_ASSERT(sizeof(typename OutputByteStream::Ch) == 1);
os.Put(static_cast<typename OutputByteStream::Ch>(0xFFu));
os.Put(static_cast<typename OutputByteStream::Ch>(0xFEu));
}
template<typename OutputByteStream>
static void Put(OutputByteStream &os, CharType c) {
RAPIDJSON_STATIC_ASSERT(sizeof(typename OutputByteStream::Ch) == 1);
os.Put(static_cast<typename OutputByteStream::Ch>(static_cast<unsigned>(c) & 0xFFu));
os.Put(static_cast<typename OutputByteStream::Ch>((static_cast<unsigned>(c) >> 8) & 0xFFu));
}
};
//! UTF-16 big endian encoding.
template<typename CharType = wchar_t>
struct UTF16BE : UTF16<CharType> {
template<typename InputByteStream>
static CharType TakeBOM(InputByteStream &is) {
RAPIDJSON_STATIC_ASSERT(sizeof(typename InputByteStream::Ch) == 1);
CharType c = Take(is);
return static_cast<uint16_t>(c) == 0xFEFFu ? Take(is) : c;
}
template<typename InputByteStream>
static CharType Take(InputByteStream &is) {
RAPIDJSON_STATIC_ASSERT(sizeof(typename InputByteStream::Ch) == 1);
unsigned c = static_cast<unsigned>(static_cast<uint8_t>(is.Take())) << 8;
c |= static_cast<unsigned>(static_cast<uint8_t>(is.Take()));
return static_cast<CharType>(c);
}
template<typename OutputByteStream>
static void PutBOM(OutputByteStream &os) {
RAPIDJSON_STATIC_ASSERT(sizeof(typename OutputByteStream::Ch) == 1);
os.Put(static_cast<typename OutputByteStream::Ch>(0xFEu));
os.Put(static_cast<typename OutputByteStream::Ch>(0xFFu));
}
template<typename OutputByteStream>
static void Put(OutputByteStream &os, CharType c) {
RAPIDJSON_STATIC_ASSERT(sizeof(typename OutputByteStream::Ch) == 1);
os.Put(static_cast<typename OutputByteStream::Ch>((static_cast<unsigned>(c) >> 8) & 0xFFu));
os.Put(static_cast<typename OutputByteStream::Ch>(static_cast<unsigned>(c) & 0xFFu));
}
};
///////////////////////////////////////////////////////////////////////////////
// UTF32
//! UTF-32 encoding.
/*! http://en.wikipedia.org/wiki/UTF-32
\tparam CharType Type for storing 32-bit UTF-32 data. Default is unsigned. C++11 may use char32_t instead.
\note implements Encoding concept
\note For in-memory access, no need to concern endianness. The code units and code points are represented by CPU's endianness.
For streaming, use UTF32LE and UTF32BE, which handle endianness.
*/
template<typename CharType = unsigned>
struct UTF32 {
typedef CharType Ch;
RAPIDJSON_STATIC_ASSERT(sizeof(Ch) >= 4);
enum {
supportUnicode = 1
};
template<typename OutputStream>
static void Encode(OutputStream &os, unsigned codepoint) {
RAPIDJSON_STATIC_ASSERT(sizeof(typename OutputStream::Ch) >= 4);
RAPIDJSON_ASSERT(codepoint <= 0x10FFFF);
os.Put(codepoint);
}
template<typename OutputStream>
static void EncodeUnsafe(OutputStream &os, unsigned codepoint) {
RAPIDJSON_STATIC_ASSERT(sizeof(typename OutputStream::Ch) >= 4);
RAPIDJSON_ASSERT(codepoint <= 0x10FFFF);
PutUnsafe(os, codepoint);
}
template<typename InputStream>
static bool Decode(InputStream &is, unsigned *codepoint) {
RAPIDJSON_STATIC_ASSERT(sizeof(typename InputStream::Ch) >= 4);
Ch c = is.Take();
*codepoint = c;
return c <= 0x10FFFF;
}
template<typename InputStream, typename OutputStream>
static bool Validate(InputStream &is, OutputStream &os) {
RAPIDJSON_STATIC_ASSERT(sizeof(typename InputStream::Ch) >= 4);
Ch c;
os.Put(c = is.Take());
return c <= 0x10FFFF;
}
};
//! UTF-32 little endian enocoding.
template<typename CharType = unsigned>
struct UTF32LE : UTF32<CharType> {
template<typename InputByteStream>
static CharType TakeBOM(InputByteStream &is) {
RAPIDJSON_STATIC_ASSERT(sizeof(typename InputByteStream::Ch) == 1);
CharType c = Take(is);
return static_cast<uint32_t>(c) == 0x0000FEFFu ? Take(is) : c;
}
template<typename InputByteStream>
static CharType Take(InputByteStream &is) {
RAPIDJSON_STATIC_ASSERT(sizeof(typename InputByteStream::Ch) == 1);
unsigned c = static_cast<uint8_t>(is.Take());
c |= static_cast<unsigned>(static_cast<uint8_t>(is.Take())) << 8;
c |= static_cast<unsigned>(static_cast<uint8_t>(is.Take())) << 16;
c |= static_cast<unsigned>(static_cast<uint8_t>(is.Take())) << 24;
return static_cast<CharType>(c);
}
template<typename OutputByteStream>
static void PutBOM(OutputByteStream &os) {
RAPIDJSON_STATIC_ASSERT(sizeof(typename OutputByteStream::Ch) == 1);
os.Put(static_cast<typename OutputByteStream::Ch>(0xFFu));
os.Put(static_cast<typename OutputByteStream::Ch>(0xFEu));
os.Put(static_cast<typename OutputByteStream::Ch>(0x00u));
os.Put(static_cast<typename OutputByteStream::Ch>(0x00u));
}
template<typename OutputByteStream>
static void Put(OutputByteStream &os, CharType c) {
RAPIDJSON_STATIC_ASSERT(sizeof(typename OutputByteStream::Ch) == 1);
os.Put(static_cast<typename OutputByteStream::Ch>(c & 0xFFu));
os.Put(static_cast<typename OutputByteStream::Ch>((c >> 8) & 0xFFu));
os.Put(static_cast<typename OutputByteStream::Ch>((c >> 16) & 0xFFu));
os.Put(static_cast<typename OutputByteStream::Ch>((c >> 24) & 0xFFu));
}
};
//! UTF-32 big endian encoding.
template<typename CharType = unsigned>
struct UTF32BE : UTF32<CharType> {
template<typename InputByteStream>
static CharType TakeBOM(InputByteStream &is) {
RAPIDJSON_STATIC_ASSERT(sizeof(typename InputByteStream::Ch) == 1);
CharType c = Take(is);
return static_cast<uint32_t>(c) == 0x0000FEFFu ? Take(is) : c;
}
template<typename InputByteStream>
static CharType Take(InputByteStream &is) {
RAPIDJSON_STATIC_ASSERT(sizeof(typename InputByteStream::Ch) == 1);
unsigned c = static_cast<unsigned>(static_cast<uint8_t>(is.Take())) << 24;
c |= static_cast<unsigned>(static_cast<uint8_t>(is.Take())) << 16;
c |= static_cast<unsigned>(static_cast<uint8_t>(is.Take())) << 8;
c |= static_cast<unsigned>(static_cast<uint8_t>(is.Take()));
return static_cast<CharType>(c);
}
template<typename OutputByteStream>
static void PutBOM(OutputByteStream &os) {
RAPIDJSON_STATIC_ASSERT(sizeof(typename OutputByteStream::Ch) == 1);
os.Put(static_cast<typename OutputByteStream::Ch>(0x00u));
os.Put(static_cast<typename OutputByteStream::Ch>(0x00u));
os.Put(static_cast<typename OutputByteStream::Ch>(0xFEu));
os.Put(static_cast<typename OutputByteStream::Ch>(0xFFu));
}
template<typename OutputByteStream>
static void Put(OutputByteStream &os, CharType c) {
RAPIDJSON_STATIC_ASSERT(sizeof(typename OutputByteStream::Ch) == 1);
os.Put(static_cast<typename OutputByteStream::Ch>((c >> 24) & 0xFFu));
os.Put(static_cast<typename OutputByteStream::Ch>((c >> 16) & 0xFFu));
os.Put(static_cast<typename OutputByteStream::Ch>((c >> 8) & 0xFFu));
os.Put(static_cast<typename OutputByteStream::Ch>(c & 0xFFu));
}
};
///////////////////////////////////////////////////////////////////////////////
// ASCII
//! ASCII encoding.
/*! http://en.wikipedia.org/wiki/ASCII
\tparam CharType Code unit for storing 7-bit ASCII data. Default is char.
\note implements Encoding concept
*/
template<typename CharType = char>
struct ASCII {
typedef CharType Ch;
enum {
supportUnicode = 0
};
template<typename OutputStream>
static void Encode(OutputStream &os, unsigned codepoint) {
RAPIDJSON_ASSERT(codepoint <= 0x7F);
os.Put(static_cast<Ch>(codepoint & 0xFF));
}
template<typename OutputStream>
static void EncodeUnsafe(OutputStream &os, unsigned codepoint) {
RAPIDJSON_ASSERT(codepoint <= 0x7F);
PutUnsafe(os, static_cast<Ch>(codepoint & 0xFF));
}
template<typename InputStream>
static bool Decode(InputStream &is, unsigned *codepoint) {
uint8_t c = static_cast<uint8_t>(is.Take());
*codepoint = c;
return c <= 0X7F;
}
template<typename InputStream, typename OutputStream>
static bool Validate(InputStream &is, OutputStream &os) {
uint8_t c = static_cast<uint8_t>(is.Take());
os.Put(static_cast<typename OutputStream::Ch>(c));
return c <= 0x7F;
}
template<typename InputByteStream>
static CharType TakeBOM(InputByteStream &is) {
RAPIDJSON_STATIC_ASSERT(sizeof(typename InputByteStream::Ch) == 1);
uint8_t c = static_cast<uint8_t>(Take(is));
return static_cast<Ch>(c);
}
template<typename InputByteStream>
static Ch Take(InputByteStream &is) {
RAPIDJSON_STATIC_ASSERT(sizeof(typename InputByteStream::Ch) == 1);
return static_cast<Ch>(is.Take());
}
template<typename OutputByteStream>
static void PutBOM(OutputByteStream &os) {
RAPIDJSON_STATIC_ASSERT(sizeof(typename OutputByteStream::Ch) == 1);
(void) os;
}
template<typename OutputByteStream>
static void Put(OutputByteStream &os, Ch c) {
RAPIDJSON_STATIC_ASSERT(sizeof(typename OutputByteStream::Ch) == 1);
os.Put(static_cast<typename OutputByteStream::Ch>(c));
}
};
///////////////////////////////////////////////////////////////////////////////
// AutoUTF
//! Runtime-specified UTF encoding type of a stream.
enum UTFType {
kUTF8 = 0, //!< UTF-8.
kUTF16LE = 1, //!< UTF-16 little endian.
kUTF16BE = 2, //!< UTF-16 big endian.
kUTF32LE = 3, //!< UTF-32 little endian.
kUTF32BE = 4 //!< UTF-32 big endian.
};
//! Dynamically select encoding according to stream's runtime-specified UTF encoding type.
/*! \note This class can be used with AutoUTFInputtStream and AutoUTFOutputStream, which provides GetType().
*/
template<typename CharType>
struct AutoUTF {
typedef CharType Ch;
enum {
supportUnicode = 1
};
#define RAPIDJSON_ENCODINGS_FUNC(x) UTF8<Ch>::x, UTF16LE<Ch>::x, UTF16BE<Ch>::x, UTF32LE<Ch>::x, UTF32BE<Ch>::x
template<typename OutputStream>
static RAPIDJSON_FORCEINLINE void Encode(OutputStream &os, unsigned codepoint) {
typedef void (*EncodeFunc)(OutputStream &, unsigned);
static const EncodeFunc f[] = {RAPIDJSON_ENCODINGS_FUNC(Encode)};
(*f[os.GetType()])(os, codepoint);
}
template<typename OutputStream>
static RAPIDJSON_FORCEINLINE void EncodeUnsafe(OutputStream &os, unsigned codepoint) {
typedef void (*EncodeFunc)(OutputStream &, unsigned);
static const EncodeFunc f[] = {RAPIDJSON_ENCODINGS_FUNC(EncodeUnsafe)};
(*f[os.GetType()])(os, codepoint);
}
template<typename InputStream>
static RAPIDJSON_FORCEINLINE bool Decode(InputStream &is, unsigned *codepoint) {
typedef bool (*DecodeFunc)(InputStream &, unsigned *);
static const DecodeFunc f[] = {RAPIDJSON_ENCODINGS_FUNC(Decode)};
return (*f[is.GetType()])(is, codepoint);
}
template<typename InputStream, typename OutputStream>
static RAPIDJSON_FORCEINLINE bool Validate(InputStream &is, OutputStream &os) {
typedef bool (*ValidateFunc)(InputStream &, OutputStream &);
static const ValidateFunc f[] = {RAPIDJSON_ENCODINGS_FUNC(Validate)};
return (*f[is.GetType()])(is, os);
}
#undef RAPIDJSON_ENCODINGS_FUNC
};
///////////////////////////////////////////////////////////////////////////////
// Transcoder
//! Encoding conversion.
template<typename SourceEncoding, typename TargetEncoding>
struct Transcoder {
//! Take one Unicode codepoint from source encoding, convert it to target encoding and put it to the output stream.
template<typename InputStream, typename OutputStream>
static RAPIDJSON_FORCEINLINE bool Transcode(InputStream &is, OutputStream &os) {
unsigned codepoint;
if (!SourceEncoding::Decode(is, &codepoint))
return false;
TargetEncoding::Encode(os, codepoint);
return true;
}
template<typename InputStream, typename OutputStream>
static RAPIDJSON_FORCEINLINE bool TranscodeUnsafe(InputStream &is, OutputStream &os) {
unsigned codepoint;
if (!SourceEncoding::Decode(is, &codepoint))
return false;
TargetEncoding::EncodeUnsafe(os, codepoint);
return true;
}
//! Validate one Unicode codepoint from an encoded stream.
template<typename InputStream, typename OutputStream>
static RAPIDJSON_FORCEINLINE bool Validate(InputStream &is, OutputStream &os) {
return Transcode(is, os); // Since source/target encoding is different, must transcode.
}
};
// Forward declaration.
template<typename Stream>
inline void PutUnsafe(Stream &stream, typename Stream::Ch c);
//! Specialization of Transcoder with same source and target encoding.
template<typename Encoding>
struct Transcoder<Encoding, Encoding> {
template<typename InputStream, typename OutputStream>
static RAPIDJSON_FORCEINLINE bool Transcode(InputStream &is, OutputStream &os) {
os.Put(is.Take()); // Just copy one code unit. This semantic is different from primary template class.
return true;
}
template<typename InputStream, typename OutputStream>
static RAPIDJSON_FORCEINLINE bool TranscodeUnsafe(InputStream &is, OutputStream &os) {
PutUnsafe(os,
is.Take()); // Just copy one code unit. This semantic is different from primary template class.
return true;
}
template<typename InputStream, typename OutputStream>
static RAPIDJSON_FORCEINLINE bool Validate(InputStream &is, OutputStream &os) {
return Encoding::Validate(is, os); // source/target encoding are the same
}
};
RAPIDJSON_NAMESPACE_END
#if defined(__GNUC__) || (defined(_MSC_VER) && !defined(__clang__))
RAPIDJSON_DIAG_POP
#endif
#endif // RAPIDJSON_ENCODINGS_H_
| [
"ts@tr0y.me"
] | ts@tr0y.me |
baa8419e3f1bdf4cbdbdc5d7867eb20e48cd9a61 | 87d2ffd1f03e7313200426c293d41aeef61aa543 | /code/mailbox.ino | 0466722c214d79d6e2b53587279573dfba9b71f0 | [] | no_license | victorheid/MQTT_ESP01_Mailbox | c7afa757be644b40ad853d4f483b4791e95e9e1f | 1503ed61abf3f803b60c93cbc99bd2e408cda962 | refs/heads/master | 2020-03-31T05:18:45.773538 | 2018-10-07T13:09:23 | 2018-10-07T13:09:23 | 151,941,163 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,345 | ino | /**********************************************************************
* MQTT Message + Deep Sleep for ESP8266 chips
*
* By Victor Heid (https://victorheid.com)
*
* Highly inspired by
* https://github.com/witnessmenow/push-notifications-arduino-esp8266/
************************************************************************/
#include <ESP8266WiFi.h>
#include <PubSubClient.h>
//------- WiFi Settings -------
char ssid[] = "WIFI_SSID"; // your network SSID (name)
char password[] = "WIFI_PSW"; // your network key
IPAddress mqtt_server(192,168,1,4);
const char* mqtt_username = "YOUR_MQTT_USERNAME";
const char* mqtt_password = "YOUR_MQTT_PASSWORD";
WiFiClient espClient;
PubSubClient client(espClient);
void setup() {
Serial.begin(115200);
setup_wifi();
client.setServer(mqtt_server, 1883);
client.connect("MailBox", mqtt_username, mqtt_password);
client.publish("MailBox/latch", "1");
ESP.deepSleep(10e6);
}
void setup_wifi(){
Serial.println();
Serial.print("Connecting to ");
Serial.println(ssid);
WiFi.begin(ssid, password);
while (WiFi.status() != WL_CONNECTED) {
delay(500);
Serial.print(".");
}
Serial.println("");
Serial.println("WiFi connected");
Serial.println("IP address: ");
Serial.println(WiFi.localIP());
}
void loop() {
}
| [
"v.heid.miko@gmail.com"
] | v.heid.miko@gmail.com |
9827c6453a6f84409cd8e4018933bc13e8d717a1 | 6fc9a543ab23fb8d1253f7d073d864f41c2b9067 | /src/view/MoveMenuView.h | ce0daaa7d5143d23443fb580059f31213cc37e89 | [] | no_license | MarcoCaballero/klondike-cpp | 73fa7e5c4a3974f47500259e9f1bb988202fd72c | 3b3a6acc5851c5fbe2cc86401951f7f9e3653189 | refs/heads/master | 2021-05-07T15:06:16.858655 | 2017-11-16T07:48:19 | 2017-11-16T07:48:19 | 109,833,496 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 443 | h | #ifndef SRC_VIEW_MOVEMENUVIEW_H_
#define SRC_VIEW_MOVEMENUVIEW_H_
#include <controller/MoveController.h>
namespace view {
class MoveMenuView {
public:
MoveMenuView(controller::MoveController* moveController);
virtual ~MoveMenuView();
void print(std::list<std::string> allowedFrom, std::list<std::string> allowedTo);
private:
controller::MoveController* moveController;
};
} /* namespace view */
#endif /* SRC_VIEW_MOVEMENUVIEW_H_ */
| [
"marco.caballero.d@gmail.com"
] | marco.caballero.d@gmail.com |
ad506c4a3feb165e20af04539ae1a7d6d57c0133 | 6bf48d97101fdf4ea4382db9ea8fe22b7c7431f1 | /HelpFunctions.h | 548e3d1ade94ceda31a7c5f304091c7154a4b245 | [] | no_license | AlexandrTerentyev/Strassen | 0cdc52028da1825d09f5eec976567409f9e9f302 | 60173e535fc06cf5f5cd93fd3483b754a7f7dd35 | refs/heads/master | 2021-08-23T04:52:02.613622 | 2017-12-02T20:30:25 | 2017-12-02T20:30:25 | 112,924,649 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 275 | h | //
// Created by Aleksandr Terentev on 02.12.17.
//
#ifndef STRASSEN_HELPFUNCTIONS_H
#define STRASSEN_HELPFUNCTIONS_H
#include <iostream>
double** createMatrix (int size);
void printMatrx (double** A, int size);
void log(std::string text);
#endif //STRASSEN_HELPFUNCTIONS_H
| [
"terentyev@gradoservice.ru"
] | terentyev@gradoservice.ru |
7613191878f80a563bba4c1464929a5435ace1f4 | 740e249ee83c2729b89e36e3087bad349c46ef9b | /dev/src/engine/private/glExtenstions.cpp | 0a7584c81ddb1295b4cb127a13697f66fcd2214b | [] | no_license | LukeNzk/oglSample | 64118bcedea4645cf7732adfa2c556e76639af28 | 0d5faef01022959611ace6dea449bd850f0de89b | refs/heads/master | 2021-09-10T02:12:09.791935 | 2018-03-06T16:49:28 | 2018-03-06T16:49:28 | 109,990,597 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,727 | cpp | #include "glExtenstions.h"
PFNWGLCHOOSEPIXELFORMATARBPROC wglChoosePixelFormatARB;
PFNWGLCREATECONTEXTATTRIBSARBPROC wglCreateContextAttribsARB;
PFNWGLSWAPINTERVALEXTPROC wglSwapIntervalEXT;
PFNGLATTACHSHADERPROC glAttachShader;
PFNGLBINDBUFFERPROC glBindBuffer;
PFNGLBINDVERTEXARRAYPROC glBindVertexArray;
PFNGLBUFFERDATAPROC glBufferData;
PFNGLCOMPILESHADERPROC glCompileShader;
PFNGLCREATEPROGRAMPROC glCreateProgram;
PFNGLCREATESHADERPROC glCreateShader;
PFNGLDELETEBUFFERSPROC glDeleteBuffers;
PFNGLDELETEPROGRAMPROC glDeleteProgram;
PFNGLDELETESHADERPROC glDeleteShader;
PFNGLDELETEVERTEXARRAYSPROC glDeleteVertexArrays;
PFNGLDETACHSHADERPROC glDetachShader;
PFNGLENABLEVERTEXATTRIBARRAYPROC glEnableVertexAttribArray;
PFNGLGENBUFFERSPROC glGenBuffers;
PFNGLGENVERTEXARRAYSPROC glGenVertexArrays;
PFNGLGETATTRIBLOCATIONPROC glGetAttribLocation;
PFNGLGETPROGRAMINFOLOGPROC glGetProgramInfoLog;
PFNGLGETPROGRAMIVPROC glGetProgramiv;
PFNGLGETSHADERINFOLOGPROC glGetShaderInfoLog;
PFNGLGETSHADERIVPROC glGetShaderiv;
PFNGLLINKPROGRAMPROC glLinkProgram;
PFNGLSHADERSOURCEPROC glShaderSource;
PFNGLUSEPROGRAMPROC glUseProgram;
PFNGLVERTEXATTRIBPOINTERPROC glVertexAttribPointer;
PFNGLBINDATTRIBLOCATIONPROC glBindAttribLocation;
PFNGLGETUNIFORMLOCATIONPROC glGetUniformLocation;
PFNGLUNIFORMMATRIX4FVPROC glUniformMatrix4fv;
PFNGLACTIVETEXTUREPROC glActiveTexture;
PFNGLUNIFORM1IPROC glUniform1i;
PFNGLUNIFORM1FPROC glUniform1f;
PFNGLGENERATEMIPMAPPROC glGenerateMipmap;
PFNGLDISABLEVERTEXATTRIBARRAYPROC glDisableVertexAttribArray;
PFNGLUNIFORM2FVPROC glUniform2fv;
PFNGLUNIFORM3FVPROC glUniform3fv;
PFNGLUNIFORM4FVPROC glUniform4fv;
namespace glInternal
{
Bool LoadFunctions();
Bool InitExtensions( HWND hWnd )
{
HDC deviceContext;
PIXELFORMATDESCRIPTOR pixelFormat;
HGLRC renderContext;
deviceContext = GetDC( hWnd );
SC_ASSERT( deviceContext, "Could not get device context." );
Int32 noErr;
noErr = SetPixelFormat( deviceContext, 1, &pixelFormat );
SC_ASSERT( noErr, "Failed to set pixel format." );
renderContext = wglCreateContext( deviceContext );
SC_ASSERT( noErr, "Failed to create temp render context." );
noErr = wglMakeCurrent( deviceContext, renderContext );
SC_ASSERT( noErr, "Could not set temporary context" );
const Bool result = LoadFunctions();
// release context
wglMakeCurrent( NULL, NULL );
wglDeleteContext( renderContext );
renderContext = NULL;
ReleaseDC( hWnd, deviceContext );
deviceContext = 0;
return result;
}
Bool LoadFunctions()
{
// Load the OpenGL extensions that this application will be using.
wglChoosePixelFormatARB = ( PFNWGLCHOOSEPIXELFORMATARBPROC )wglGetProcAddress( "wglChoosePixelFormatARB" );
if ( !wglChoosePixelFormatARB )
return false;
wglCreateContextAttribsARB = ( PFNWGLCREATECONTEXTATTRIBSARBPROC )wglGetProcAddress( "wglCreateContextAttribsARB" );
if ( !wglCreateContextAttribsARB )
return false;
wglSwapIntervalEXT = ( PFNWGLSWAPINTERVALEXTPROC )wglGetProcAddress( "wglSwapIntervalEXT" );
if ( !wglSwapIntervalEXT )
return false;
glAttachShader = ( PFNGLATTACHSHADERPROC )wglGetProcAddress( "glAttachShader" );
if ( !glAttachShader )
return false;
glBindBuffer = ( PFNGLBINDBUFFERPROC )wglGetProcAddress( "glBindBuffer" );
if ( !glBindBuffer )
return false;
glBindVertexArray = ( PFNGLBINDVERTEXARRAYPROC )wglGetProcAddress( "glBindVertexArray" );
if ( !glBindVertexArray )
return false;
glBufferData = ( PFNGLBUFFERDATAPROC )wglGetProcAddress( "glBufferData" );
if ( !glBufferData )
return false;
glCompileShader = ( PFNGLCOMPILESHADERPROC )wglGetProcAddress( "glCompileShader" );
if ( !glCompileShader )
return false;
glCreateProgram = ( PFNGLCREATEPROGRAMPROC )wglGetProcAddress( "glCreateProgram" );
if ( !glCreateProgram )
return false;
glCreateShader = ( PFNGLCREATESHADERPROC )wglGetProcAddress( "glCreateShader" );
if ( !glCreateShader )
return false;
glDeleteBuffers = ( PFNGLDELETEBUFFERSPROC )wglGetProcAddress( "glDeleteBuffers" );
if ( !glDeleteBuffers )
return false;
glDeleteProgram = ( PFNGLDELETEPROGRAMPROC )wglGetProcAddress( "glDeleteProgram" );
if ( !glDeleteProgram )
return false;
glDeleteShader = ( PFNGLDELETESHADERPROC )wglGetProcAddress( "glDeleteShader" );
if ( !glDeleteShader )
return false;
glDeleteVertexArrays = ( PFNGLDELETEVERTEXARRAYSPROC )wglGetProcAddress( "glDeleteVertexArrays" );
if ( !glDeleteVertexArrays )
return false;
glDetachShader = ( PFNGLDETACHSHADERPROC )wglGetProcAddress( "glDetachShader" );
if ( !glDetachShader )
return false;
glEnableVertexAttribArray = ( PFNGLENABLEVERTEXATTRIBARRAYPROC )wglGetProcAddress( "glEnableVertexAttribArray" );
if ( !glEnableVertexAttribArray )
return false;
glGenBuffers = ( PFNGLGENBUFFERSPROC )wglGetProcAddress( "glGenBuffers" );
if ( !glGenBuffers )
return false;
glGenVertexArrays = ( PFNGLGENVERTEXARRAYSPROC )wglGetProcAddress( "glGenVertexArrays" );
if ( !glGenVertexArrays )
return false;
glGetAttribLocation = ( PFNGLGETATTRIBLOCATIONPROC )wglGetProcAddress( "glGetAttribLocation" );
if ( !glGetAttribLocation )
return false;
glGetProgramInfoLog = ( PFNGLGETPROGRAMINFOLOGPROC )wglGetProcAddress( "glGetProgramInfoLog" );
if ( !glGetProgramInfoLog )
return false;
glGetProgramiv = ( PFNGLGETPROGRAMIVPROC )wglGetProcAddress( "glGetProgramiv" );
if ( !glGetProgramiv )
return false;
glGetShaderInfoLog = ( PFNGLGETSHADERINFOLOGPROC )wglGetProcAddress( "glGetShaderInfoLog" );
if ( !glGetShaderInfoLog )
return false;
glGetShaderiv = ( PFNGLGETSHADERIVPROC )wglGetProcAddress( "glGetShaderiv" );
if ( !glGetShaderiv )
return false;
glLinkProgram = ( PFNGLLINKPROGRAMPROC )wglGetProcAddress( "glLinkProgram" );
if ( !glLinkProgram )
return false;
glShaderSource = ( PFNGLSHADERSOURCEPROC )wglGetProcAddress( "glShaderSource" );
if ( !glShaderSource )
return false;
glUseProgram = ( PFNGLUSEPROGRAMPROC )wglGetProcAddress( "glUseProgram" );
if ( !glUseProgram )
return false;
glVertexAttribPointer = ( PFNGLVERTEXATTRIBPOINTERPROC )wglGetProcAddress( "glVertexAttribPointer" );
if ( !glVertexAttribPointer )
return false;
glBindAttribLocation = ( PFNGLBINDATTRIBLOCATIONPROC )wglGetProcAddress( "glBindAttribLocation" );
if ( !glBindAttribLocation )
return false;
glGetUniformLocation = ( PFNGLGETUNIFORMLOCATIONPROC )wglGetProcAddress( "glGetUniformLocation" );
if ( !glGetUniformLocation )
return false;
glUniformMatrix4fv = ( PFNGLUNIFORMMATRIX4FVPROC )wglGetProcAddress( "glUniformMatrix4fv" );
if ( !glUniformMatrix4fv )
return false;
glActiveTexture = ( PFNGLACTIVETEXTUREPROC )wglGetProcAddress( "glActiveTexture" );
if ( !glActiveTexture )
return false;
glUniform1i = ( PFNGLUNIFORM1IPROC )wglGetProcAddress( "glUniform1i" );
if ( !glUniform1i )
return false;
glUniform1f = ( PFNGLUNIFORM1FPROC )wglGetProcAddress( "glUniform1f" );
if ( !glUniform1f )
return false;
glGenerateMipmap = ( PFNGLGENERATEMIPMAPPROC )wglGetProcAddress( "glGenerateMipmap" );
if ( !glGenerateMipmap )
return false;
glDisableVertexAttribArray = ( PFNGLDISABLEVERTEXATTRIBARRAYPROC )wglGetProcAddress( "glDisableVertexAttribArray" );
if ( !glDisableVertexAttribArray )
return false;
glUniform2fv = ( PFNGLUNIFORM3FVPROC )wglGetProcAddress( "glUniform2fv" );
if ( !glUniform2fv )
return false;
glUniform3fv = ( PFNGLUNIFORM3FVPROC )wglGetProcAddress( "glUniform3fv" );
if ( !glUniform3fv )
return false;
glUniform4fv = ( PFNGLUNIFORM4FVPROC )wglGetProcAddress( "glUniform4fv" );
if ( !glUniform4fv )
return false;
return true;
}
}
| [
"elejdor@gmail.com"
] | elejdor@gmail.com |
ec9ce661cd98ed0ff03dbef07a9966d56cdf1940 | d4d48fb0eb655871b963575326b112dac746c33d | /src/plugins/laser/urg_gbx_aqt.h | ac64f402470d2f5c7f6c8681983ba04bfd83e56a | [] | no_license | kiranchhatre/fawkes | 30ac270af6d56a1a98b344c610386dfe1bc30c3e | f19a5b421f796fc4126ae9d966f21462fbc9b79e | refs/heads/master | 2020-04-06T19:41:36.405574 | 2018-11-13T18:41:58 | 2018-11-13T18:41:58 | 157,746,078 | 1 | 0 | null | 2018-11-15T17:11:44 | 2018-11-15T17:11:44 | null | UTF-8 | C++ | false | false | 2,252 | h |
/***************************************************************************
* urg_gbx_aqt.h - Thread for Hokuyo URG using the Gearbox library
*
* Created: Fri Dec 04 20:30:08 2009 (at Frankfurt Airport)
* Copyright 2008-2009 Tim Niemueller [www.niemueller.de]
*
****************************************************************************/
/* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Library General Public License for more details.
*
* Read the full text in the LICENSE.GPL file in the doc directory.
*/
#ifndef _PLUGINS_LASER_URG_GBX_AQT_H_
#define _PLUGINS_LASER_URG_GBX_AQT_H_
#include "acquisition_thread.h"
#include <string>
#include <map>
#ifdef HAVE_URG_GBX_9_11
namespace hokuyo_aist {
class HokuyoLaser;
class HokuyoData;
}
#else
namespace hokuyoaist {
class Sensor;
class ScanData;
}
#endif
class HokuyoUrgGbxAcquisitionThread : public LaserAcquisitionThread
{
public:
HokuyoUrgGbxAcquisitionThread(std::string &cfg_name, std::string &cfg_prefix);
// from LaserAcquisitionThread
virtual void pre_init(fawkes::Configuration *config, fawkes::Logger *logger);
virtual void init();
virtual void finalize();
virtual void loop();
private:
bool pre_init_done_;
unsigned int number_of_values_;
#ifdef HAVE_URG_GBX_9_11
hokuyo_aist::HokuyoLaser *laser_;
hokuyo_aist::HokuyoData *data_;
#else
hokuyoaist::Sensor *laser_;
hokuyoaist::ScanData *data_;
#endif
std::string cfg_name_;
std::string cfg_prefix_;
std::map<std::string, std::string> device_info_;
std::string cfg_device_;
unsigned int first_ray_;
unsigned int last_ray_;
unsigned int front_ray_;
unsigned int front_idx_;
unsigned int num_rays_;
unsigned int slit_division_;
float step_per_angle_;
float angle_per_step_;
float angular_range_;
};
#endif
| [
"niemueller@kbsg.rwth-aachen.de"
] | niemueller@kbsg.rwth-aachen.de |
7f10a8e5edf1c76136213c17d28210d11bf10ad4 | 65b7ee5b4b84af8f47b2c811e380bf9390fa730a | /Lab/lab5/C.cpp | 64afbcce47a51a8b604c506bb3d64b6a61da7ac4 | [] | no_license | zethuman/PP1 | 1171b1cba1929752f96a91466c202464a92b0e39 | d49c2d83fb80166d501e61d64a49b46c665ec5e4 | refs/heads/master | 2020-09-01T23:49:46.533544 | 2019-11-02T01:46:40 | 2019-11-02T01:46:40 | 219,089,135 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 227 | cpp |
#include <string>
#include <iostream>
using namespace std;
int main() {
string s, t;
cin >> s >> t;
size_t pos = s.find(t);
if(pos != -1)
{
cout << "YES";
}
else cout << "NO";
} | [
"51375666+zethuman@users.noreply.github.com"
] | 51375666+zethuman@users.noreply.github.com |
7da3c4a8f67338d2f06eabdff5b787a54eff5b0a | 07cf5954868ceba49b94861e1a8a0b5fa1bb6e73 | /components/hal/hal-tdd/HAL_TDD.cpp | aaa25630e2e15c695d20c550824eb415be39bd6c | [
"MIT"
] | permissive | 4rthurmonteiro/esp32-tdd-boilerplate | c7e00f4afaf841495419440ac43f2098217a1dec | 9688dd6b0d12bbd12debf053cf8b3e979c3ed0c3 | refs/heads/master | 2022-02-21T22:33:34.711368 | 2019-09-13T09:24:32 | 2019-09-13T09:24:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 258 | cpp | #include "HAL_TDD.hpp"
#include "GPIO.hpp"
#include "I2C.hpp"
static GPIO_Mock gpioDriver;
static I2C_Mock i2cDriver;
HAL_TDD::HAL_TDD() : HAL(&gpioDriver, &i2cDriver){};
void HAL_TDD::setup() {}
HAL& getHAL() {
static HAL_TDD hal;
return hal;
}
| [
"xabicrespog@gmail.com"
] | xabicrespog@gmail.com |
3880403ca7e0a7f0270cbdf818f84a87379abb13 | 312ac2db68db9bae2ea5db87ca05329a77564216 | /402/A [Nuts].cpp | 0dea4e31db4e61baa41ef3908f8230275dca9f64 | [] | no_license | Nikhil-Medam/Codeforces-Solutions | 3107023a4bbfc6bcf82ab05ed840a6d621567876 | 71f6304d7b9d87aac05f5b5c27a9f277ffdad4cd | refs/heads/master | 2020-06-17T07:30:24.618634 | 2019-07-08T16:13:35 | 2019-07-08T16:13:35 | 195,846,206 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,906 | cpp | #include<bits/stdc++.h>
using namespace std;
#define IOS ios::sync_with_stdio(0); cin.tie(0); cout.tie(0);
#define endl "\n"
#define ll long long
#define int long long
const int N=1e6+5;
ll max(ll a,ll b)
{
if(a>=b)
return a;
else
return b;
}
ll min(ll a,ll b)
{
if(a>=b)
return b;
else
return a;
}
ll diff(ll a,ll b)
{
if(a>=b)
return a-b;
else
return b-a;
}
ll mod(ll a)
{
if(a>=0)
return a;
else
return -a;
}
void pairsort(double a[], ll b[], ll n)
{
pair<double, ll> pairt[n];
for (int i = 0; i < n; i++)
{
pairt[i].first = a[i];
pairt[i].second = b[i];
}
sort(pairt, pairt + n);
for (int i = 0; i < n; i++)
{
a[i] = pairt[i].first;
b[i] = pairt[i].second;
}
}
ll gcd(ll a, ll b)
{
if (b == 0)
return a;
return gcd(b, a % b);
}
ll rev(ll n)
{
ll ans=0;
while(n)
{
ans=ans*10+n%10;
n=n/10;
}
return ans;
}
ll fact(ll n)
{
if(n==0)
return 1;
if(n==1)
return 1;
if(n>=2)
return n*fact(n-1);
}
int isPrime(int n)
{
for(int i=2;i*i<=n;i++)
if(n%i==0)
return 0;
return 1;
}
int solve(int n,int m)
{
}
long long C(int n, int r) {
if(r > n - r) r = n - r; // because C(n, r) == C(n, n - r)
long long ans = 1;
int i;
for(i = 1; i <= r; i++) {
ans *= n - r + i;
ans /= i;
}
return ans;
}
int32_t main()
{
IOS;
int k,a,b,v;
cin>>k>>a>>b>>v;
int mb=(b/(k-1));
if(mb*k*v>=a)
{
cout<<ceil((double)a/(k*v));
}
else
{
int ans=mb;
a-=mb*k*v;
b=b%(k-1);
ans++;
a-=(b+1)*v;
while(a>0)
{
ans++;
a-=v;
}
cout<<ans;
}
return 0;
}
| [
"medam.nikhil@gmail.com"
] | medam.nikhil@gmail.com |
bf427131b60bdc8f85a25f39163bb346da191614 | f2797796d3e2486eba74d4d34d059669b32adb9d | /Week_4/array1/1-sum close to 0.cpp | 42a0a3cf0f5bd7c8e858982ad666f59a3472c235 | [] | no_license | TanuGangrade/IPMP | be88d7e82aa423092caa5f1cd79b52281c09cd81 | 03612dd3bd55f9eb1815631ca7996c152f6c3e0e | refs/heads/main | 2023-06-28T01:02:00.535346 | 2021-08-01T19:55:42 | 2021-08-01T19:55:42 | 352,314,794 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 670 | cpp | int closestToZero(int a[], int n)
{
// your code her
sort(a,a+n);
int l=0,r=n-1;
int x=0,y=n-1;
int min=a[r]+a[l];
int sum;
while(l<r)
{
sum=a[r]+a[l];
if(abs(sum)<abs(min))
{ min=sum;
x=l;
y=r;
}
if(sum>0)
r--;
else
l++;
}
return a[x]+a[y];
}
| [
"noreply@github.com"
] | noreply@github.com |
ce19795f0e1f8e9c543456581b2c85d5bfa95462 | e02d8a8aa7cb5c5a116da37588c03cc2aea1fe26 | /WiichuckFortnite/WiichuckFortnite.ino | 929ffd5ea12341e5ebd8bdb9fc79f6f89d48b5c9 | [] | no_license | floreseken/NunchuckWASD | 682b971cfe7edd0e8757b7e548e4d42f56f52627 | 5bf5028e009725102d385b6c1ab5294c04ad9269 | refs/heads/main | 2023-02-27T07:54:24.010210 | 2023-02-19T13:03:42 | 2023-02-19T13:03:42 | 301,122,184 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,077 | ino | #include <Wire.h>
#include <Keyboard.h>
#include <Arduino.h>
static uint8_t nunchuck_buf[6]; // array to store nunchuck data,
// initialize the I2C system, join the I2C bus,
// and tell the nunchuck we're talking to it
static void nunchuck_init()
{
Wire.begin(); // join i2c bus as master
Wire.beginTransmission(0x52);// transmit to device 0x52
Wire.write((uint8_t)0x40);// sends memory address
Wire.write((uint8_t)0x00);// sends sent a zero.
Wire.endTransmission();// stop transmitting
}
// Send a request for data to the nunchuck
// was "send_zero()"
static void nunchuck_send_request()
{
Wire.beginTransmission(0x52);// transmit to device 0x52
Wire.write((uint8_t)0x00);// sends one byte
Wire.endTransmission();// stop transmitting
}
// Encode data to format that most wiimote drivers except
// only needed if you use one of the regular wiimote drivers
static char nunchuk_decode_byte (char x)
{
x = (x ^ 0x17) + 0x17;
return x;
}
// Receive data back from the nunchuck,
// returns 1 on successful read. returns 0 on failure
static int nunchuck_get_data()
{
int cnt = 0;
Wire.requestFrom (0x52, 6);// request data from nunchuck
while (Wire.available ()) {
// receive byte as an integer
nunchuck_buf[cnt] = nunchuk_decode_byte( Wire.read() );
cnt++;
}
nunchuck_send_request(); // send request for next data payload
// If we recieved the 6 bytes, then go print them
if (cnt >= 5) {
return 1; // success
}
return 0; //failure
}
// returns zbutton state: 1=pressed, 0=notpressed
static int nunchuck_zbutton()
{
return ((nunchuck_buf[5] >> 0) & 1) ? 0 : 1; // voodoo
}
// returns zbutton state: 1=pressed, 0=notpressed
static int nunchuck_cbutton()
{
return ((nunchuck_buf[5] >> 1) & 1) ? 0 : 1; // voodoo
}
// returns value of x-axis joystick
static int nunchuck_joyx()
{
return nunchuck_buf[0];
}
// returns value of y-axis joystick
static int nunchuck_joyy()
{
return nunchuck_buf[1];
}
// returns value of x-axis accelerometer
static int nunchuck_accelx()
{
return nunchuck_buf[2]; // FIXME: this leaves out 2-bits of the data
}
// returns value of y-axis accelerometer
static int nunchuck_accely()
{
return nunchuck_buf[3]; // FIXME: this leaves out 2-bits of the data
}
// returns value of z-axis accelerometer
static int nunchuck_accelz()
{
return nunchuck_buf[4]; // FIXME: this leaves out 2-bits of the data
}
int loop_cnt = 0;
byte joyx, joyy, zbut, cbut, accx, accy, accz;
void _print() {
Serial.print("Z Button: ");
Serial.print(zbut);
Serial.print("\tC Button: ");
Serial.print(cbut);
Serial.print("\tX Joy: ");
Serial.print(joyx);
Serial.print("\tY Joy: ");
Serial.print(joyy);
Serial.print("\tX Accel: ");
Serial.print(accx);
Serial.print("\tY Accel: ");
Serial.print(accy);
Serial.print("\tZ Accel: ");
Serial.print(accz);
Serial.println();
}
void setup() {
Serial.begin(9600);
pinMode(10, INPUT_PULLUP);
Serial.println("Before nuninit");
nunchuck_init(); // send the initilization handshake
Serial.println("Wii Nunchuck Ready");
Keyboard.begin();
Serial.println("keyboard ready");
}
bool wActive = false;
bool wRunActive = false;
bool sActive = false;
bool aActive = false;
bool dActive = false;
bool fActive = false;
bool cActive = false;
bool bActive = false;
bool eActive = false;
int period = 10;
unsigned long time_now = 0;
void loop() {
if(millis() >= time_now + period){
time_now += period;
loop_cnt = 0;
nunchuck_get_data();
zbut = nunchuck_zbutton(); // 0 - 1
cbut = nunchuck_cbutton(); // 0 - 1
joyx = nunchuck_joyx(); // 15 - 221
joyy = nunchuck_joyy(); // 29 - 229
accx = nunchuck_accelx(); // 70 - 182
accy = nunchuck_accely(); // 65 - 173
accz = nunchuck_accelz(); // 0 - 255
//_print();
if(digitalRead(10) == LOW && !cActive){
Keyboard.press(KEY_LEFT_CTRL);
cActive = true;
}
if(digitalRead(10) == HIGH && cActive){
Keyboard.release(KEY_LEFT_CTRL);
cActive = false;
}
// //turn wrist clockwise == Crouch
// if (accx > 160 && !cActive){
// Keyboard.press(KEY_LEFT_CTRL);
// cActive = true;
// }
// if (joyy <159 && cActive ){
// Keyboard.release(KEY_LEFT_CTRL);
// cActive = false;
// }
// if (accy > 150){
// Keyboard.print('w');
// }
//JOY HALF forward is WALK, JOY FULL forward is RUN
//if crouching do not activate RUN
if (joyy > 155 && !wActive){
Keyboard.press('w');
wActive = true;
}
if (joyy < 150 && wActive){
Keyboard.release('w');
wActive = false;
}
if (joyy > 200 && !wRunActive && !cActive){
Keyboard.press(KEY_LEFT_SHIFT);
wRunActive = true;
}
if (joyy <195 && wRunActive ){
Keyboard.release(KEY_LEFT_SHIFT);
wRunActive = false;
}
//wrist up == JUMP & mantle
if (accy < 95) {
Keyboard.press(' ');
delay(150);
Keyboard.release(' ');
delay(50);
Keyboard.press(' ');
delay(150);
Keyboard.release(' ');
}
//backward on
if (joyy < 100 && !sActive){
Keyboard.press('s');
sActive = true;
}
//release backward..
if (joyy > 101 && sActive){
Keyboard.release('s');
sActive = false;
}
//right
if (joyx > 150 && !dActive){
Keyboard.press('d');
dActive = true;
}
//left
if (joyx < 115 && !aActive){
Keyboard.press('a');
aActive = true;
}
//if middle position deactivate left && right
if (joyx < 145 && joyx > 115 && (dActive || aActive) ){
Keyboard.release('d');
Keyboard.release('a');
dActive = false;
aActive = false;
}
//big nunchuck button, USE button
if (zbut == 1 && !eActive){
Keyboard.press('e');
eActive = true;
}
if (zbut == 0 && eActive){
Keyboard.release('e');
eActive = false;
}
//small nunchuck button, does reload
if (cbut == 1){
Keyboard.print('r');
}
}
} | [
"flores@eken.nl"
] | flores@eken.nl |
45927541645b474ba6bf8fb0dfb80236f578d645 | 3ec0221cb4af76511cd2ec5493dea4ded9ca1e29 | /src/merge_img_depth_node.cpp | 0e8198272b3f4517dfd174c39682e2826926a021 | [] | no_license | efc-robot/ROS-DSLAM | e89d0b1bebc0d4f0c17e8bcd4fd86abf7068be01 | 619ba45448927ebcc19da7a5cc13483a80260cc5 | refs/heads/master | 2020-09-24T13:19:51.558794 | 2020-02-19T12:39:04 | 2020-02-19T12:39:04 | 225,767,102 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,487 | cpp | #include <ros/ros.h>
#include <sensor_msgs/Image.h>
#include <dslam_sp/image_depth.h>
#include <queue>
using namespace std;
std::queue <sensor_msgs::Image::ConstPtr> image_queue;
ros::Publisher pub;
void img_Callback(const sensor_msgs::Image::ConstPtr &msg)
{
//Convert to OpenCV native BGR color
cout << "img.stamp:" << msg->header.stamp << endl;
image_queue.push(msg);
}
void depth_Callback(const sensor_msgs::Image::ConstPtr &msg)
{
//Convert to OpenCV native BGR color
cout << "depth.stamp:" << msg->header.stamp << endl;
ros::Duration match_thresh_i_d(0.0);
ros::Duration match_thresh_d_i(0.01);
while(true) {
if ( (! image_queue.empty() ) ) {
//if队列不是空的
if ( image_queue.front()->header.stamp >= msg->header.stamp - match_thresh_i_d ) {
//if image[0]比depth晚或同时
if ( image_queue.front()->header.stamp <= msg->header.stamp + match_thresh_d_i ) {
//if 时间差不超过阈值
dslam_sp::image_depth img_depth_msg;
img_depth_msg.image = *image_queue.front();
img_depth_msg.depth = *msg;
pub.publish(img_depth_msg);//发布msg
cout << "img.stamp:" << img_depth_msg.image.header.stamp << "depth.stamp:" << img_depth_msg.depth.header.stamp << endl;
return;
} else {
//时间差超过阈值
return;
}
} else {
// image[0]比depth早
image_queue.pop();
}
} else {
//队列是空的
return;
}
}
}
int main(int argc, char **argv)
{
ros::init(argc, argv, "dslam_sp");
ros::NodeHandle n;
pub = n.advertise<dslam_sp::image_depth>("/merge/img_depth", 1); //创建publisher,往"/merge/img_depth"话题上发布消息
ros::Subscriber sub_image = n.subscribe("/mynteye/left_rect/image_rect", 1, img_Callback); //设置回调函数img_Callback
ros::Subscriber sub_depth = n.subscribe("/mynteye/depth/image_raw", 1, depth_Callback);
ros::spin(); //ros::spin()用于调用所有可触发的回调函数,将进入循环,不会返回,类似于在循环里反复调用spinOnce()
//而ros::spinOnce()只会去触发一次
return 0;
} | [
"you@example.com"
] | you@example.com |
728af3a614066fce49a715cd7fd998e2ec783260 | f036820b48e5d27abda2f295a20fa6ba0d4165bc | /Renderer/Framebuffer.hpp | 3158f29ba2352c76462a6a6ca2840dc518387599 | [
"MIT"
] | permissive | mmllr/Renderer | 8c14a53ed8fd5dc36c10b022e8f7b6d595d5e9e8 | fbbe6c082f95038fa79a9b680f4806ddde2f1728 | refs/heads/master | 2020-12-24T06:01:46.148012 | 2016-11-11T14:50:09 | 2016-11-11T14:50:09 | 73,239,603 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 771 | hpp | #ifndef Framebuffer_hpp
#define Framebuffer_hpp
#include <cstdint>
#include <vector>
#include "renderlib.hpp"
namespace renderlib {
struct Framebuffer {
public:
Framebuffer(size_t width, size_t height);
void setPixel(const Pixel& pixel, size_t x, size_t y);
const void* pixelData() const { return static_cast<const void*>(_pixels.data()); }
size_t getWidth(void) const { return _width; }
size_t getHeight(void) const { return _height; }
size_t getBitsPerComponent(void) const { return 8; }
size_t getBytesPerRow(void) const { return sizeof(Pixel)*_width; }
void resize(size_t width, size_t height);
void fill(const Pixel& fillElement);
private:
size_t _width;
size_t _height;
std::vector<Pixel> _pixels;
};
}
#endif /* Framebuffer_hpp */
| [
"mmlr@gmx.net"
] | mmlr@gmx.net |
c0641707e7648824f44bb0a9898abbae757efc2f | 42a03c9c60cedd544ab5e0a531c2b841468a54db | /src/Parser/ParserModbus.cpp | be2eecbaa3466547bb7d8e9dff7c3ea8f7efd178 | [] | no_license | pierre1326/decision-tree | dda12bedeac1766c1b56c5ed7663a2ee04571b14 | 890636c099faf722adfaab01abe6346d20506dbe | refs/heads/main | 2023-07-14T10:57:07.811378 | 2021-08-12T23:25:35 | 2021-08-12T23:25:35 | 379,476,507 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,418 | cpp | #include "ParserModbus.h"
Information * ParserModbus::readFrame(char * buffer, bool isSigned) {
char function = buffer[1];
if(function == 0x03 || function == 0x04) {
return readData(buffer, isSigned);
}
else {
return readError(buffer);
}
}
Information * ParserModbus::readData(char * buffer, bool isSigned) {
int id = (int)buffer[0];
int function = (int)buffer[1];
int count = (int)buffer[2];
string value = "";
for(int i = 0; i < count; i++) {
char data = buffer[3 + i];
value = value + hexToString(data);
}
int transform = stoi(value, 0, 16);
if(isSigned) {
transform = this->processValue(value);
}
Information * information = new Information(transform, id, function);
return information;
}
Information * ParserModbus::readError(char * buffer) {
int id = (int)buffer[0];
int function = (int)buffer[1];
int exception = (int)buffer[2];
Information * information = new Information("Error in frame modbus from device", "Device read error", id, function, exception);
return information;
}
int ParserModbus::processValue(string value) {
return stoi(value);
}
string ParserModbus::hexToString(char value) {
int temp = (int)value;
stringstream streamHex;
streamHex << hex << temp;
string result(streamHex.str());
if(result.length() < 2) {
result = "0" + result;
}
return result;
}
char * ParserModbus::createFrame(string id, string address, string registers) {
string frame = getID(id) + getFunction(address) + getAddress(address) + getBits(registers);
char * buffer = (char *)malloc(sizeof(char) * 8);
for(int i = 0, j = 0; i < 6; i++, j += 2) {
string result = frame.substr(j, 2);
int num = stoi(result, 0, 16);
buffer[i] = num;
}
string crc = calculateCRC(buffer, 6);
buffer[6] = stoi(crc.substr(0, 2), 0, 16);
buffer[7] = stoi(crc.substr(2, 2), 0, 16);
return buffer;
}
string ParserModbus::getID(string data) {
int value = stoi(data);
stringstream streamHex;
streamHex << hex << value;
string result(streamHex.str());
return result;
}
string ParserModbus::getFunction(string address) {
char first = address.at(0);
if(first == '3') {
return "04";
}
else {
return "03";
}
}
string ParserModbus::getBits(string data) {
int value = stoi(data);
stringstream streamHex;
streamHex << hex << value;
string result(streamHex.str());
size_t len = strlen(result.c_str());
for(int i = 0; i < 4 - len; i++) {
result = "0" + result;
}
return result;
}
string ParserModbus::getAddress(string data) {
int offset = (stoi(data.substr(0,1)) * ( strlen(data.c_str()) == 5 ? 10000 : 100000 )) + 1;
int startAddress = stoi(data) - offset;
stringstream streamHex;
streamHex << hex << startAddress;
string result(streamHex.str());
size_t len = strlen(result.c_str());
for(int i = 0; i < 4 - len; i++) {
result = "0" + result;
}
return result;
}
string ParserModbus::calculateCRC(char * buff, int size) {
unsigned short tmp = 0xffff;
unsigned short ret = 0;
for(int n = 0; n < size; n ++) {
tmp = buff[n] ^ tmp;
for(int i = 0; i < 8; i ++) {
if(tmp & 0x01) {
tmp = tmp >> 1;
tmp = tmp ^ 0xa001;
}
else {
tmp = tmp >> 1;
}
}
}
ret = tmp >> 8;
ret = ret | (tmp << 8);
stringstream streamHex;
streamHex << hex << ret;
string result(streamHex.str());
return result;
} | [
"pierre1326@hotmail.com"
] | pierre1326@hotmail.com |
06c93413b79a840f8da54aff0e337b3dbf7ae7a9 | 8b6f07480c48ca8885616b56a5a18b9403c1f2b4 | /finder/finder.h | ea65adbca234d20b266c9d63492e8dcba8755644 | [] | no_license | KirillSemennikov2803/Semennikov_181-351_git_lab_clone | 20135dda8d8644cb0a5e628953f971a9deb3fc50 | 36b61d3d1bd28b5dc5c4d869565b4c6739363c70 | refs/heads/master | 2020-04-17T14:59:55.902247 | 2019-02-25T19:29:23 | 2019-02-25T19:29:23 | 166,680,982 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 580 | h | #ifndef FINDER_H
#define FINDER_H
#include <QMainWindow>
#include <QObject>
#include <QWidget>
class Finder
{
public:
Finder();
~Finder();
QString name="С:/";
int this_id=1;
int id_parent=0;//ссылка на родительский класс
int del=0;//если 1-то обьект удаляетсяа
Finder(Finder &parent,QString name);
Finder(Finder &parent);
Finder operator =(Finder &part);
void find_to_id(int id,Finder *a,int lenght);
void change_id_parent(int id);
void change_this_id(int id);
};
#endif // FINDER_H
| [
"semennikov1360@mail.ru"
] | semennikov1360@mail.ru |
2327f3c638f9744c49f91a6ef90f1592402c4e19 | 16a857618f01cf32b036f8b44b6c89ac0259d4ff | /C++/c++_basic/chapter_11/Date.cpp | a19589ad04a0fc058ec1129a1f6524e0876c0773 | [] | no_license | tetrapod54/Self_study | 3685cd3d61d388246726fcf74ede42eb6d767b1c | 6b0aa2ff6f2d60f2d3286f8a677a6666efd6f0a1 | refs/heads/main | 2023-08-13T01:19:20.956986 | 2021-09-30T01:10:45 | 2021-09-30T01:10:45 | 392,683,285 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 92 | cpp | #include "Date.h"
Date::Date(int yy, int mm,int dd){
y = yy;
m = mm;
d = dd;
} | [
"tetrapod54@gmail.com"
] | tetrapod54@gmail.com |
091da82a59cc398c7c5c1a9a5dbc59e4fb008526 | 995c731cfbc26aaa733835eebaa6fcb0787f0081 | /gazebo-5.3.0/gazebo/util/Diagnostics.hh | dc068741d0d781178e9aaab9b6aa27000a326846 | [
"Apache-2.0"
] | permissive | JdeRobot/ThirdParty | 62dd941a5164c28645973ef5db7322be72e7689e | e4172b83bd56e498c5013c304e06194226f21c63 | refs/heads/master | 2022-04-26T18:26:51.263442 | 2022-03-19T09:22:14 | 2022-03-19T09:22:14 | 33,551,987 | 7 | 9 | null | 2022-03-19T09:22:14 | 2015-04-07T15:36:00 | C++ | UTF-8 | C++ | false | false | 6,987 | hh | /*
* Copyright (C) 2012-2015 Open Source Robotics Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/
/* Desc: A diagnostic class
* Author: Nate Koenig
* Date: 2 Feb 2011
*/
#ifndef _DIAGNOSTICMANAGER_HH_
#define _DIAGNOSTICMANAGER_HH_
#include <boost/unordered_map.hpp>
#include <string>
#include <boost/filesystem.hpp>
#include "gazebo/gazebo_config.h"
#include "gazebo/transport/TransportTypes.hh"
#include "gazebo/msgs/msgs.hh"
#include "gazebo/common/UpdateInfo.hh"
#include "gazebo/common/SingletonT.hh"
#include "gazebo/common/Timer.hh"
#include "gazebo/util/UtilTypes.hh"
#include "gazebo/util/system.hh"
namespace gazebo
{
namespace util
{
/// \addtogroup gazebo_util Utility
/// \{
#ifdef ENABLE_DIAGNOSTICS
/// \brief Start a diagnostic timer. Make sure to run DIAG_TIMER_STOP to
/// stop the timer.
/// \param[in] _name Name of the timer to start.
#define DIAG_TIMER_START(_name) \
gazebo::util::DiagnosticManager::Instance()->StartTimer(_name);
/// \brief Output a lap time annotated with a prefix string. A lap is
/// the time from last call to DIAG_TIMER_LAP or DIAG_TIMER_START, which
/// every occured last.
/// \param[in] _name Name of the timer.
/// \param[in] _prefix String for annotation.
#define DIAG_TIMER_LAP(_name, _prefix) \
gazebo::util::DiagnosticManager::Instance()->Lap(_name, _prefix);
/// \brief Stop a diagnostic timer.
/// \param[in] name Name of the timer to stop
#define DIAG_TIMER_STOP(_name) \
gazebo::util::DiagnosticManager::Instance()->StopTimer(_name);
#else
#define DIAG_TIMER_START(_name) ((void) 0)
#define DIAG_TIMER_LAP(_name, _prefix) ((void)0)
#define DIAG_TIMER_STOP(_name) ((void) 0)
#endif
/// \class DiagnosticManager Diagnostics.hh util/util.hh
/// \brief A diagnostic manager class
class GAZEBO_VISIBLE DiagnosticManager :
public SingletonT<DiagnosticManager>
{
/// \brief Constructor
private: DiagnosticManager();
/// \brief Destructor
private: virtual ~DiagnosticManager();
/// \brief Initialize to report diagnostics about a world.
/// \param[in] _worldName Name of the world.
public: void Init(const std::string &_worldName);
/// \brief Start a new timer instance
/// \param[in] _name Name of the timer.
/// \return A pointer to the new diagnostic timer
public: void StartTimer(const std::string &_name);
/// \brief Stop a currently running timer.
/// \param[in] _name Name of the timer to stop.
public: void StopTimer(const std::string &_name);
//// \brief Output the current elapsed time of an active timer with
/// a prefix string. This also resets the timer and keeps it running.
/// \param[in] _name Name of the timer to access.
/// \param[in] _prefix Informational string that is output with the
/// elapsed time.
public: void Lap(const std::string &_name, const std::string &_prefix);
/// \brief Get the number of timers
/// \return The number of timers
public: int GetTimerCount() const;
/// \brief Get the time of a timer instance
/// \param[in] _index The index of a timer instance
/// \return Time of the specified timer
public: common::Time GetTime(int _index) const;
/// \brief Get a time based on a label
/// \param[in] _label Name of the timer instance
/// \return Time of the specified timer
public: common::Time GetTime(const std::string &_label) const;
/// \brief Get a label for a timer
/// \param[in] _index Index of a timer instance
/// \return Label of the specified timer
public: std::string GetLabel(int _index) const;
/// \brief Get the path in which logs are stored.
/// \return The path in which logs are stored.
public: boost::filesystem::path GetLogPath() const;
/// \brief Publishes diagnostic information.
/// \param[in] _info World update information.
private: void Update(const common::UpdateInfo &_info);
/// \brief Add a time for publication.
/// \param[in] _name Name of the diagnostic time.
/// \param[in] _wallTime Wall clock time stamp.
/// \param[in] _elapsedTime Elapsed time, this is the time
/// measurement.
private: void AddTime(const std::string &_name, common::Time &_wallTime,
common::Time &_elapsedtime);
/// \brief Map of all the active timers.
private: typedef boost::unordered_map<std::string, DiagnosticTimerPtr>
TimerMap;
/// \brief dictionary of timers index by name
private: TimerMap timers;
/// \brief Path in which to store timing logs.
private: boost::filesystem::path logPath;
/// \brief Node for publishing diagnostic data.
private: transport::NodePtr node;
/// \brief Publisher of diagnostic data.
private: transport::PublisherPtr pub;
/// \brief The message to output
private: msgs::Diagnostics msg;
/// \brief Pointer to the update event connection
private: event::ConnectionPtr updateConnection;
// Singleton implementation
private: friend class SingletonT<DiagnosticManager>;
/// \brief Give DiagnosticTimer special rights.
private: friend class DiagnosticTimer;
};
/// \class DiagnosticTimer Diagnostics.hh util/util.hh
/// \brief A timer designed for diagnostics
class GAZEBO_VISIBLE DiagnosticTimer : public common::Timer
{
/// \brief Constructor
/// \param[in] _name Name of the timer
public: DiagnosticTimer(const std::string &_name);
/// \brief Destructor
public: virtual ~DiagnosticTimer();
/// \brief Output a lap time.
/// \param[in] _prefix Annotation to output with the elapsed time.
public: void Lap(const std::string &_prefix);
// Documentation inherited
public: virtual void Start();
// Documentation inherited
public: virtual void Stop();
/// \brief Get the name of the timer
/// \return The name of timer
public: inline const std::string GetName() const
{ return this->name; }
/// \brief Name of the timer.
private: std::string name;
/// \brief Log file.
private: std::ofstream log;
/// \brief Time of the previous lap.
private: common::Time prevLap;
};
/// \}
}
}
#endif
| [
"f.perez475@gmail.com"
] | f.perez475@gmail.com |
515051ea1cf6a817d3c51a64a4349d94ebd4ffce | fa342ea2fef279a2b76c89ea2a2a804a0d7e0468 | /Mandatory1/SIMPLE_KO_20_200_40/0.001/p | 2535af5a9327985438a34cd4d17389f17e95ab10 | [] | no_license | JDTyvand/OF_MEK4420 | f433a8fbc056c2d7e2261c792e5241ed4c9e7079 | 0ab7dcf805afe972d809bb884be12d60bc1933be | refs/heads/master | 2016-08-06T18:35:38.441170 | 2015-10-01T19:13:42 | 2015-10-01T19:13:42 | 42,505,059 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 141,099 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.4.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
location "0.001";
object p;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 2 -2 0 0 0 0];
internalField nonuniform List<scalar>
17600
(
66.7228
55.6151
53.4049
52.8532
52.4053
52.0341
51.7122
51.4117
51.1254
50.8532
50.593
50.3451
50.1037
49.8676
49.6205
49.3528
49.0076
48.584
47.7085
47.5095
53.0267
53.2734
52.8161
52.6718
52.3561
52.0296
51.7222
51.4259
51.1402
50.8674
50.6062
50.3573
50.115
49.878
49.63
49.3613
49.0148
48.5899
47.7053
47.2152
51.7765
53.3983
52.9233
52.7078
52.3703
52.0361
51.7249
51.4272
51.1411
50.8684
50.6073
50.3587
50.1166
49.8802
49.6328
49.3655
49.0213
48.602
47.7257
47.1923
52.4413
53.5183
52.9511
52.7062
52.367
52.0351
51.7244
51.4271
51.1413
50.8689
50.6081
50.3598
50.1182
49.8825
49.6364
49.3713
49.0311
48.6206
47.7632
47.2261
52.8062
53.4871
52.9327
52.6939
52.3605
52.0332
51.7237
51.427
51.1415
50.8692
50.6087
50.3608
50.1198
49.8851
49.6406
49.3786
49.0439
48.6449
47.8132
47.2826
52.8356
53.4052
52.9053
52.6803
52.3528
52.0304
51.7222
51.4261
51.141
50.8691
50.6089
50.3615
50.1212
49.8877
49.6452
49.3869
49.0589
48.6733
47.8724
47.3549
52.8221
53.3376
52.8816
52.667
52.344
52.0263
51.7196
51.4243
51.1397
50.8682
50.6084
50.3616
50.1222
49.8901
49.6499
49.3958
49.0752
48.7043
47.938
47.4405
52.8276
53.2834
52.8592
52.6529
52.3341
52.021
51.7157
51.4213
51.1374
50.8664
50.6071
50.361
50.1226
49.8919
49.6542
49.4044
49.0918
48.7362
48.008
47.5354
52.8399
53.2358
52.8374
52.6383
52.3231
52.0145
51.7108
51.4174
51.134
50.8636
50.6049
50.3595
50.122
49.8929
49.6577
49.4124
49.1083
48.7683
48.0819
47.6378
52.8495
53.1933
52.8168
52.6237
52.3117
52.0072
51.7049
51.4125
51.1298
50.8599
50.6017
50.3569
50.1204
49.8928
49.6601
49.4195
49.1243
48.8002
48.1592
47.7455
52.856
53.156
52.7982
52.6097
52.3004
51.9995
51.6984
51.4069
51.1248
50.8554
50.5976
50.3535
50.118
49.8919
49.6618
49.4258
49.1401
48.8321
48.2399
47.858
52.8607
53.1239
52.7819
52.5969
52.2897
51.9918
51.6917
51.4009
51.1192
50.8503
50.5929
50.3494
50.1147
49.8901
49.6627
49.4315
49.156
48.864
48.3232
47.9734
52.8641
53.0965
52.7679
52.5854
52.2797
51.9843
51.685
51.3948
51.1135
50.8448
50.5879
50.3449
50.1111
49.8881
49.6634
49.4371
49.1722
48.8961
48.4089
48.0911
52.8665
53.0734
52.7562
52.5755
52.2709
51.9775
51.6786
51.3889
51.1078
50.8394
50.5828
50.3404
50.1074
49.8859
49.664
49.4426
49.1888
48.9286
48.4958
48.2093
52.8682
53.0543
52.7465
52.5671
52.2633
51.9714
51.6728
51.3834
51.1025
50.8343
50.578
50.3361
50.1041
49.884
49.665
49.4485
49.2061
48.9615
48.5838
48.3279
52.8694
53.0388
52.7388
52.5602
52.257
51.9662
51.6678
51.3785
51.0978
50.8298
50.5737
50.3323
50.1011
49.8825
49.6664
49.4548
49.2241
48.9949
48.6717
48.4451
52.8701
53.0267
52.7328
52.5548
52.252
51.962
51.6637
51.3745
51.0938
50.826
50.5702
50.3293
50.0989
49.8818
49.6686
49.4619
49.2428
49.0286
48.7594
48.5613
52.8706
53.0177
52.7284
52.5508
52.2482
51.9589
51.6605
51.3714
51.0908
50.8231
50.5675
50.327
50.0975
49.8817
49.6714
49.4695
49.2622
49.0627
48.8458
48.6749
52.8708
53.0118
52.7256
52.5482
52.2458
51.9567
51.6584
51.3693
51.0887
50.8212
50.5658
50.3258
50.097
49.8827
49.6752
49.4779
49.2822
49.097
48.9308
48.7862
52.871
53.0089
52.7242
52.5469
52.2445
51.9557
51.6573
51.3683
51.0877
50.8203
50.5651
50.3255
50.0974
49.8844
49.6796
49.487
49.3027
49.1315
49.0136
48.8942
52.8709
53.0089
52.7241
52.5469
52.2445
51.9556
51.6573
51.3683
51.0878
50.8205
50.5655
50.3263
50.0989
49.8871
49.6851
49.497
49.3236
49.166
49.0941
48.9991
52.8708
53.0118
52.7255
52.5481
52.2457
51.9567
51.6583
51.3694
51.0889
50.8217
50.567
50.328
50.1013
49.8907
49.6913
49.5075
49.3448
49.2004
49.1715
49.1
52.8706
53.0177
52.7284
52.5507
52.2481
51.9587
51.6604
51.3715
51.0911
50.824
50.5694
50.3308
50.1047
49.8953
49.6983
49.5188
49.3662
49.2346
49.2459
49.1971
52.8701
53.0266
52.7327
52.5547
52.2518
51.9618
51.6635
51.3746
51.0943
50.8273
50.5728
50.3345
50.1089
49.9005
49.7059
49.5305
49.3875
49.2684
49.3164
49.2896
52.8693
53.0387
52.7387
52.56
52.2568
51.966
51.6676
51.3786
51.0984
50.8315
50.5771
50.339
50.1139
49.9066
49.7143
49.5427
49.4087
49.3015
49.3832
49.3776
52.8682
53.0542
52.7464
52.5669
52.263
51.9711
51.6726
51.3835
51.1032
50.8363
50.5821
50.3442
50.1195
49.9131
49.7229
49.5551
49.4294
49.3338
49.4455
49.4605
52.8665
53.0733
52.7561
52.5753
52.2706
51.9772
51.6784
51.389
51.1087
50.8418
50.5876
50.3499
50.1256
49.9201
49.7318
49.5675
49.4495
49.3651
49.5033
49.5383
52.864
53.0964
52.7678
52.5852
52.2794
51.984
51.6847
51.3949
51.1145
50.8475
50.5933
50.3557
50.1318
49.9271
49.7406
49.5797
49.4687
49.395
49.5561
49.6104
52.8606
53.1237
52.7817
52.5967
52.2893
51.9914
51.6914
51.4011
51.1204
50.8532
50.599
50.3615
50.1379
49.9339
49.7491
49.5914
49.4867
49.4233
49.6039
49.6771
52.8559
53.1559
52.798
52.6095
52.3001
51.9991
51.6981
51.4071
51.126
50.8586
50.6044
50.3668
50.1435
49.9402
49.7569
49.6022
49.5031
49.4496
49.6462
49.7381
52.8494
53.1931
52.8166
52.6234
52.3114
52.0068
51.7046
51.4127
51.1311
50.8634
50.609
50.3714
50.1483
49.9456
49.7637
49.6119
49.5178
49.4737
49.6834
49.7935
52.8397
53.2357
52.8372
52.638
52.3227
52.0141
51.7105
51.4176
51.1355
50.8674
50.6127
50.3751
50.152
49.9498
49.7692
49.62
49.5305
49.4955
49.7154
49.8437
52.8275
53.2832
52.8591
52.6526
52.3337
52.0206
51.7155
51.4217
51.1389
50.8704
50.6155
50.3777
50.1547
49.9529
49.7733
49.6267
49.5412
49.5148
49.743
49.8891
52.822
53.3375
52.8814
52.6667
52.3436
52.0259
51.7193
51.4246
51.1413
50.8725
50.6173
50.3793
50.1563
49.9548
49.7763
49.6319
49.5501
49.5317
49.7668
49.9304
52.8355
53.4051
52.9051
52.68
52.3523
52.0299
51.722
51.4265
51.1428
50.8736
50.6182
50.38
50.1571
49.9559
49.7783
49.6359
49.5574
49.5465
49.7872
49.9677
52.8061
53.487
52.9325
52.6936
52.3601
52.0328
51.7235
51.4274
51.1434
50.8739
50.6184
50.3802
50.1573
49.9564
49.7796
49.6389
49.5633
49.5589
49.8043
50.0005
52.4412
53.5182
52.9509
52.706
52.3666
52.0347
51.7243
51.4277
51.1433
50.8737
50.6181
50.3798
50.157
49.9563
49.7802
49.641
49.5678
49.5688
49.8177
50.028
51.7763
53.3982
52.9231
52.7076
52.3699
52.0357
51.7248
51.4278
51.1432
50.8734
50.6177
50.3792
50.1564
49.9559
49.7802
49.6422
49.5707
49.5758
49.8269
50.0494
53.0266
53.2732
52.816
52.6715
52.3557
52.0292
51.722
51.4265
51.1423
50.8725
50.6167
50.3781
50.1554
49.9549
49.7796
49.6422
49.5717
49.5795
49.831
50.0633
66.7227
55.6149
53.4047
52.8529
52.4049
52.0337
51.712
51.4123
51.1275
50.8582
50.6034
50.3658
50.1439
49.9442
49.7695
49.6325
49.562
49.5697
49.819
50.0525
40.9969
41.8384
39.6288
37.9417
36.8779
36.1673
35.9315
36.3137
37.3852
39.1517
41.5474
44.4394
47.6429
50.9305
54.0755
56.8733
59.1911
60.994
62.3324
63.3032
64.01
64.5377
64.9433
65.2639
65.5259
65.7493
65.9506
66.1396
66.3227
66.5012
66.6757
66.8446
67.0072
67.1619
67.3081
67.445
67.5727
67.6908
67.7997
67.8997
67.9911
68.0744
68.1502
68.2188
68.2808
68.3367
68.3869
68.4319
68.4721
68.5079
68.5397
68.5677
68.5923
68.6138
68.6324
68.6483
68.6618
68.6729
68.682
68.6891
68.6945
68.6981
68.7002
68.7008
68.7
68.6979
68.6945
68.69
68.6845
68.6778
68.6702
68.6616
68.6522
68.6418
68.6307
68.6187
68.606
68.5925
68.5784
68.5635
68.548
68.5319
68.5151
68.4978
68.48
68.4615
68.4426
68.4232
68.4033
68.383
68.3623
68.3411
68.3197
68.2978
68.2757
68.2533
68.2306
68.2077
68.1845
68.1611
68.1376
68.1139
68.0901
68.0661
68.0421
68.0179
67.9936
67.9693
67.9449
67.9204
67.8958
67.8712
67.8465
67.8218
67.797
67.7722
67.7473
67.7224
67.6974
67.6724
67.6473
67.6221
67.5969
67.5716
67.5463
67.5209
67.4954
67.4698
67.4442
67.4185
67.3928
67.367
67.3411
67.3151
67.2891
67.263
67.2368
67.2104
67.1841
67.1576
67.131
67.1042
67.0774
67.0504
67.0232
66.9959
66.9683
66.9405
66.9124
66.8841
66.8553
66.8262
66.7965
66.7663
66.7354
66.7038
66.6712
66.6375
66.6025
66.566
66.5276
66.4872
66.4442
66.3983
66.3488
66.2952
66.2366
66.1722
66.1008
66.0211
65.9317
65.8308
65.7163
65.5859
65.4371
65.2673
65.0745
64.8577
64.618
64.3595
64.0896
63.8176
63.5524
63.3006
63.0661
62.8501
62.652
62.4682
62.29
62.1015
61.8747
61.5652
61.1025
60.3847
59.2596
57.5062
54.8632
50.6419
45.1085
20.3516
42.1976
41.6342
40.2084
38.8455
37.9106
37.3454
37.2529
37.7512
38.893
40.6701
43.0148
45.8024
48.8632
51.9883
54.9682
57.6172
59.815
61.5273
62.7964
63.7092
64.3633
64.8419
65.2034
65.4863
65.7174
65.9158
66.0965
66.268
66.4358
66.6007
66.7631
66.9213
67.0743
67.2206
67.3594
67.49
67.6122
67.7256
67.8306
67.9271
68.0157
68.0965
68.1702
68.2371
68.2977
68.3523
68.4016
68.4457
68.4852
68.5204
68.5517
68.5793
68.6036
68.6247
68.643
68.6587
68.6719
68.6829
68.6918
68.6988
68.704
68.7074
68.7094
68.7098
68.7089
68.7066
68.7032
68.6986
68.6929
68.6862
68.6784
68.6697
68.6602
68.6497
68.6385
68.6264
68.6136
68.6
68.5858
68.5709
68.5553
68.5391
68.5222
68.5048
68.4869
68.4684
68.4494
68.4299
68.4099
68.3895
68.3687
68.3474
68.3259
68.3039
68.2817
68.2591
68.2363
68.2133
68.19
68.1665
68.1428
68.119
68.095
68.0709
68.0467
68.0224
67.998
67.9735
67.949
67.9243
67.8996
67.8749
67.8501
67.8252
67.8003
67.7753
67.7503
67.7253
67.7002
67.675
67.6498
67.6245
67.5992
67.5737
67.5483
67.5227
67.4971
67.4715
67.4457
67.4199
67.394
67.368
67.342
67.3158
67.2896
67.2633
67.2369
67.2104
67.1837
67.157
67.1301
67.1031
67.0759
67.0485
67.021
66.9932
66.9651
66.9368
66.9082
66.8792
66.8497
66.8198
66.7893
66.7581
66.7262
66.6934
66.6595
66.6244
66.5878
66.5496
66.5094
66.4668
66.4216
66.3731
66.3208
66.2641
66.2021
66.1339
66.0584
65.9742
65.8798
65.7734
65.6528
65.5155
65.359
65.1804
64.9775
64.7486
64.4944
64.2179
63.9252
63.6239
63.321
63.0214
62.7274
62.4392
62.1549
61.8694
61.5724
61.2456
60.8578
60.3604
59.6766
58.6953
57.2423
55.0696
51.7886
46.6465
38.2893
17.1973
42.9064
41.907
40.9033
39.8016
39.0115
38.602
38.6464
39.2367
40.4171
42.1753
44.4468
47.1163
50.0248
52.9826
55.7976
58.3018
60.3843
62.0098
63.2125
64.0705
64.6755
65.109
65.43
65.6784
65.8811
66.0567
66.2189
66.3749
66.5294
66.6827
66.8349
66.984
67.1291
67.2684
67.4012
67.5266
67.6443
67.7539
67.8556
67.9494
68.0356
68.1146
68.1866
68.2521
68.3116
68.3653
68.4138
68.4574
68.4964
68.5312
68.5621
68.5894
68.6135
68.6344
68.6526
68.6681
68.6812
68.6921
68.7009
68.7077
68.7128
68.7162
68.718
68.7184
68.7174
68.715
68.7115
68.7068
68.701
68.6941
68.6863
68.6776
68.6679
68.6574
68.646
68.6339
68.621
68.6074
68.593
68.578
68.5624
68.546
68.5292
68.5117
68.4936
68.475
68.456
68.4364
68.4163
68.3958
68.3749
68.3536
68.3319
68.3098
68.2875
68.2648
68.2419
68.2187
68.1953
68.1717
68.1479
68.124
68.0999
68.0756
68.0513
68.0268
68.0023
67.9776
67.9529
67.9282
67.9033
67.8784
67.8535
67.8285
67.8035
67.7784
67.7533
67.7281
67.7028
67.6776
67.6522
67.6268
67.6013
67.5758
67.5502
67.5246
67.4988
67.473
67.4471
67.4212
67.3951
67.369
67.3428
67.3165
67.2901
67.2636
67.237
67.2103
67.1834
67.1564
67.1292
67.1019
67.0744
67.0467
67.0187
66.9905
66.962
66.9331
66.9039
66.8743
66.8442
66.8135
66.7821
66.75
66.7171
66.6831
66.648
66.6115
66.5734
66.5335
66.4914
66.4469
66.3993
66.3484
66.2934
66.2337
66.1685
66.0968
66.0174
65.9289
65.8299
65.7184
65.5921
65.4486
65.2851
65.0985
64.8862
64.6462
64.3783
64.0843
63.769
63.438
63.0966
62.748
62.393
62.0307
61.6579
61.2679
60.8488
60.38
59.8275
59.1391
58.2327
56.9904
55.2215
52.6727
48.8616
43.198
33.5166
18.8413
43.5197
42.3954
41.6047
40.7369
40.1083
39.8476
40.0145
40.6805
41.8835
43.6103
45.8
48.3446
51.0997
53.8925
56.5495
58.9184
60.895
62.4415
63.584
64.3921
64.9523
65.3444
65.6284
65.8453
66.0225
66.1776
66.3233
66.4658
66.6088
66.7522
66.8957
67.0371
67.1755
67.3089
67.4366
67.5576
67.6715
67.7779
67.8768
67.9683
68.0526
68.1299
68.2006
68.265
68.3236
68.3766
68.4245
68.4676
68.5063
68.5407
68.5715
68.5986
68.6225
68.6433
68.6614
68.6769
68.6899
68.7007
68.7095
68.7163
68.7213
68.7246
68.7264
68.7267
68.7256
68.7232
68.7196
68.7148
68.7089
68.702
68.6941
68.6852
68.6755
68.6649
68.6535
68.6413
68.6283
68.6146
68.6002
68.5851
68.5693
68.553
68.536
68.5184
68.5003
68.4816
68.4625
68.4428
68.4226
68.402
68.381
68.3596
68.3378
68.3157
68.2932
68.2705
68.2474
68.2241
68.2006
68.1769
68.1529
68.1288
68.1046
68.0802
68.0557
68.0311
68.0065
67.9817
67.9569
67.932
67.907
67.882
67.8569
67.8318
67.8066
67.7814
67.7562
67.7308
67.7055
67.6801
67.6546
67.6291
67.6035
67.5778
67.5521
67.5263
67.5005
67.4745
67.4485
67.4224
67.3962
67.37
67.3436
67.3171
67.2906
67.2639
67.2371
67.2101
67.183
67.1558
67.1283
67.1007
67.0729
67.0448
67.0164
66.9878
66.9588
66.9295
66.8997
66.8694
66.8386
66.8072
66.775
66.742
66.7081
66.673
66.6366
66.5988
66.5593
66.5177
66.4739
66.4273
66.3777
66.3244
66.2669
66.2044
66.1361
66.061
65.978
65.8856
65.7823
65.6661
65.5347
65.3855
65.2157
65.0219
64.8012
64.5509
64.2699
63.959
63.6211
63.2602
62.8796
62.4809
62.0637
61.6258
61.1627
60.6665
60.1233
59.5105
58.7917
57.9118
56.7846
55.2888
53.2227
50.3435
46.1063
40.1768
29.8227
18.4115
44.0872
42.9693
42.3143
41.6455
41.1721
41.0423
41.313
42.0406
43.2555
44.9436
47.0469
49.4671
52.0716
54.707
57.2164
59.4605
61.3402
62.8146
63.9021
64.665
65.1852
65.5407
65.7922
65.9814
66.1361
66.2735
66.4051
66.5363
66.6698
66.8052
66.9417
67.0772
67.2103
67.3392
67.463
67.5806
67.6916
67.7955
67.8924
67.9822
68.065
68.1412
68.211
68.2746
68.3326
68.3852
68.4327
68.4755
68.514
68.5484
68.5791
68.6062
68.6301
68.6509
68.669
68.6845
68.6976
68.7085
68.7172
68.724
68.7291
68.7324
68.7341
68.7344
68.7333
68.7308
68.7272
68.7223
68.7164
68.7095
68.7015
68.6926
68.6828
68.6721
68.6607
68.6484
68.6353
68.6215
68.6071
68.5919
68.5761
68.5597
68.5426
68.525
68.5068
68.488
68.4688
68.449
68.4288
68.4081
68.387
68.3655
68.3436
68.3214
68.2988
68.2759
68.2528
68.2294
68.2057
68.1819
68.1578
68.1336
68.1092
68.0847
68.0601
68.0354
68.0106
67.9856
67.9607
67.9356
67.9106
67.8854
67.8602
67.835
67.8097
67.7843
67.759
67.7335
67.7081
67.6825
67.6569
67.6313
67.6056
67.5798
67.554
67.5281
67.5021
67.476
67.4499
67.4236
67.3973
67.3709
67.3444
67.3177
67.291
67.2641
67.2371
67.2099
67.1826
67.1551
67.1274
67.0995
67.0713
67.0429
67.0142
66.9851
66.9557
66.9258
66.8955
66.8646
66.8332
66.801
66.768
66.7341
66.6992
66.663
66.6255
66.5864
66.5454
66.5023
66.4567
66.4083
66.3566
66.3011
66.2411
66.1759
66.1047
66.0265
65.9401
65.8441
65.7368
65.6163
65.4803
65.326
65.1505
64.9503
64.7219
64.4622
64.169
63.8418
63.4818
63.0909
62.6709
62.2218
61.7419
61.2278
60.6738
60.0706
59.4028
58.6459
57.7614
56.6924
55.3499
53.6122
51.2724
48.1068
43.5347
37.4661
26.8776
17.002
44.6083
43.5659
43.0178
42.5111
42.1784
42.1636
42.5223
43.2989
44.517
46.1609
48.1769
50.4746
52.9369
55.4252
57.7986
59.9287
61.7205
63.1299
64.1685
64.8917
65.3769
65.7006
65.9237
66.089
66.2244
66.3468
66.4667
66.5887
66.7148
66.844
66.9752
67.1062
67.2353
67.3609
67.4817
67.5968
67.7057
67.8079
67.9033
67.9918
68.0737
68.149
68.2182
68.2814
68.339
68.3913
68.4387
68.4815
68.52
68.5544
68.5851
68.6123
68.6363
68.6573
68.6755
68.6911
68.7044
68.7153
68.7242
68.7311
68.7362
68.7395
68.7413
68.7416
68.7405
68.738
68.7344
68.7295
68.7236
68.7166
68.7086
68.6997
68.6898
68.6791
68.6676
68.6552
68.6421
68.6283
68.6138
68.5985
68.5827
68.5662
68.5491
68.5313
68.5131
68.4943
68.4749
68.4551
68.4348
68.414
68.3928
68.3712
68.3493
68.3269
68.3043
68.2813
68.258
68.2345
68.2107
68.1867
68.1626
68.1382
68.1137
68.0891
68.0644
68.0395
68.0145
67.9895
67.9644
67.9392
67.914
67.8887
67.8634
67.8381
67.8127
67.7872
67.7617
67.7361
67.7106
67.6849
67.6592
67.6334
67.6076
67.5817
67.5558
67.5297
67.5036
67.4774
67.4512
67.4248
67.3983
67.3718
67.3451
67.3183
67.2914
67.2643
67.2371
67.2097
67.1822
67.1544
67.1265
67.0982
67.0698
67.041
67.0119
66.9824
66.9525
66.9222
66.8913
66.8599
66.8277
66.7948
66.7611
66.7263
66.6904
66.6532
66.6145
66.5742
66.5318
66.4872
66.44
66.3898
66.3361
66.2784
66.2161
66.1484
66.0745
65.9934
65.9038
65.8044
65.6935
65.5692
65.429
65.2702
65.0897
64.8838
64.6486
64.3804
64.0759
63.7331
63.3515
62.931
62.4717
61.9721
61.4294
60.839
60.1942
59.4843
58.6924
57.7926
56.7449
55.4912
53.9416
51.9762
49.3879
45.9774
41.1509
35.0143
24.5376
15.5528
45.0907
44.1576
43.7029
43.3282
43.1197
43.2054
43.6373
44.451
45.6641
47.26
49.189
51.3706
53.6983
56.0501
58.298
60.3236
62.0353
63.3861
64.3813
65.07
65.5253
65.8221
66.0214
66.1668
66.2864
66.3968
66.5077
66.6229
66.7436
66.8685
66.9962
67.1241
67.2507
67.374
67.4929
67.6064
67.7139
67.8149
67.9094
67.9972
68.0785
68.1534
68.2222
68.2852
68.3428
68.3951
68.4425
68.4854
68.524
68.5586
68.5895
68.6169
68.6412
68.6623
68.6808
68.6966
68.71
68.7211
68.7302
68.7372
68.7425
68.7459
68.7478
68.7482
68.7472
68.7448
68.7411
68.7363
68.7304
68.7234
68.7154
68.7064
68.6966
68.6858
68.6742
68.6619
68.6487
68.6348
68.6203
68.605
68.5891
68.5725
68.5553
68.5375
68.5192
68.5003
68.4809
68.461
68.4406
68.4198
68.3985
68.3768
68.3548
68.3323
68.3096
68.2865
68.2631
68.2395
68.2156
68.1915
68.1672
68.1428
68.1181
68.0934
68.0685
68.0435
68.0184
67.9933
67.9681
67.9428
67.9174
67.892
67.8666
67.8411
67.8156
67.79
67.7644
67.7387
67.713
67.6872
67.6614
67.6355
67.6096
67.5836
67.5575
67.5314
67.5051
67.4788
67.4524
67.4259
67.3993
67.3726
67.3458
67.3188
67.2917
67.2645
67.2371
67.2095
67.1817
67.1537
67.1255
67.097
67.0682
67.0391
67.0096
66.9798
66.9495
66.9186
66.8872
66.8552
66.8224
66.7888
66.7543
66.7187
66.6819
66.6437
66.6039
66.5623
66.5186
66.4725
66.4237
66.3718
66.3162
66.2565
66.192
66.122
66.0455
65.9617
65.8692
65.7667
65.6525
65.5246
65.3808
65.218
65.0332
64.8223
64.5812
64.3054
63.9905
63.6331
63.2306
62.7812
62.283
61.7333
61.1283
60.4623
59.7274
58.9119
57.9976
56.9574
55.7505
54.3183
52.5717
50.3945
47.5843
43.9674
38.9588
32.8048
22.6373
14.2302
45.5391
44.7279
44.3593
44.0945
43.9942
44.1667
44.6585
45.499
46.7005
48.2462
50.0908
52.1611
54.3642
56.5892
58.7209
60.6498
62.2875
63.5847
64.5413
65.2004
65.6308
65.9056
66.0858
66.2153
66.3227
66.4241
66.5286
66.6392
66.7567
66.8792
67.0049
67.1312
67.2564
67.3786
67.4966
67.6092
67.7161
67.8166
67.9106
67.9981
68.0792
68.1541
68.2229
68.286
68.3437
68.3961
68.4438
68.4869
68.5259
68.5608
68.592
68.6197
68.6443
68.6658
68.6846
68.7007
68.7144
68.7258
68.7351
68.7424
68.7478
68.7515
68.7535
68.754
68.7531
68.7508
68.7472
68.7425
68.7366
68.7296
68.7217
68.7127
68.7029
68.6921
68.6805
68.6681
68.655
68.641
68.6264
68.6111
68.5952
68.5785
68.5613
68.5435
68.5251
68.5061
68.4867
68.4667
68.4463
68.4253
68.404
68.3822
68.3601
68.3375
68.3147
68.2915
68.268
68.2443
68.2203
68.1961
68.1717
68.1471
68.1224
68.0975
68.0725
68.0474
68.0222
67.9969
67.9716
67.9462
67.9207
67.8952
67.8696
67.844
67.8184
67.7927
67.7669
67.7412
67.7153
67.6895
67.6635
67.6376
67.6115
67.5854
67.5592
67.5329
67.5066
67.4801
67.4536
67.427
67.4002
67.3734
67.3464
67.3193
67.2921
67.2646
67.237
67.2093
67.1813
67.153
67.1245
67.0957
67.0667
67.0372
67.0074
66.9771
66.9464
66.9151
66.8831
66.8505
66.8171
66.7829
66.7476
66.7112
66.6734
66.6343
66.5934
66.5506
66.5057
66.4582
66.4079
66.3543
66.297
66.2353
66.1688
66.0965
66.0177
65.9313
65.8361
65.7308
65.6136
65.4826
65.3355
65.1693
64.9808
64.7657
64.5196
64.2371
63.913
63.542
63.1197
62.6422
62.1061
61.5073
60.841
60.1006
59.2772
58.358
57.324
56.1473
54.7865
53.1838
51.2518
48.8802
45.8747
42.0878
36.9598
30.8308
21.0589
13.0837
45.9582
45.2704
44.9821
44.8108
44.8037
45.0499
45.5901
46.4484
47.6331
49.1276
50.8904
52.8569
54.9423
57.0491
59.0723
60.9106
62.4791
63.7269
64.6488
65.2826
65.6928
65.9505
66.1162
66.2342
66.333
66.4286
66.5295
66.638
66.7543
66.8761
67.0015
67.1276
67.2528
67.3749
67.4928
67.6055
67.7123
67.8129
67.9071
67.9947
68.0761
68.1511
68.2203
68.2837
68.3417
68.3946
68.4427
68.4862
68.5256
68.5609
68.5926
68.6208
68.6458
68.6677
68.6869
68.7034
68.7174
68.7292
68.7388
68.7464
68.7521
68.756
68.7583
68.7589
68.7582
68.756
68.7526
68.748
68.7422
68.7353
68.7274
68.7185
68.7087
68.6979
68.6864
68.674
68.6608
68.6469
68.6323
68.6169
68.6009
68.5843
68.567
68.5491
68.5307
68.5117
68.4922
68.4721
68.4516
68.4306
68.4092
68.3874
68.3652
68.3425
68.3196
68.2963
68.2728
68.2489
68.2248
68.2005
68.176
68.1513
68.1265
68.1015
68.0764
68.0511
68.0258
68.0004
67.9749
67.9494
67.9238
67.8982
67.8725
67.8468
67.8211
67.7953
67.7694
67.7435
67.7176
67.6916
67.6656
67.6395
67.6133
67.5871
67.5608
67.5344
67.508
67.4814
67.4547
67.428
67.4011
67.3741
67.347
67.3197
67.2923
67.2647
67.237
67.209
67.1808
67.1523
67.1235
67.0945
67.0651
67.0353
67.0051
66.9745
66.9433
66.9115
66.8791
66.846
66.812
66.777
66.741
66.7038
66.6652
66.6251
66.5832
66.5393
66.4931
66.4443
66.3925
66.3374
66.2784
66.2149
66.1464
66.072
65.991
65.9022
65.8046
65.6966
65.5768
65.443
65.2931
65.124
64.9323
64.7138
64.4635
64.1754
63.8432
63.4599
63.0192
62.5151
61.9424
61.296
60.5699
59.7569
58.8472
57.8271
56.677
55.3684
53.8604
52.0962
49.9917
47.4436
44.2692
40.3459
35.1523
29.086
19.7439
12.1643
46.3507
45.7824
45.5681
45.4776
45.5503
45.8585
46.4373
47.3061
48.4704
49.9138
51.5987
53.4662
55.4423
57.4384
59.3596
61.1122
62.6151
63.8165
64.7071
65.3193
65.7138
65.959
66.1147
66.2252
66.319
66.4119
66.5118
66.6204
66.7374
66.8603
66.9868
67.1141
67.2402
67.3632
67.482
67.5954
67.7029
67.8041
67.8989
67.9871
68.069
68.1447
68.2144
68.2783
68.3369
68.3904
68.4391
68.4832
68.5231
68.559
68.5912
68.6199
68.6454
68.6679
68.6875
68.7045
68.719
68.7311
68.7412
68.7491
68.7551
68.7593
68.7619
68.7629
68.7623
68.7604
68.7572
68.7527
68.747
68.7402
68.7324
68.7236
68.7139
68.7032
68.6917
68.6793
68.6662
68.6522
68.6376
68.6223
68.6063
68.5896
68.5723
68.5544
68.5359
68.5169
68.4973
68.4772
68.4567
68.4356
68.4142
68.3922
68.3699
68.3473
68.3242
68.3009
68.2772
68.2533
68.2291
68.2047
68.1801
68.1553
68.1303
68.1052
68.08
68.0547
68.0292
68.0037
67.9782
67.9525
67.9268
67.9011
67.8753
67.8495
67.8236
67.7977
67.7718
67.7458
67.7197
67.6936
67.6675
67.6413
67.615
67.5887
67.5623
67.5358
67.5092
67.4826
67.4558
67.4289
67.4019
67.3748
67.3475
67.3201
67.2925
67.2648
67.2368
67.2086
67.1802
67.1515
67.1225
67.0932
67.0635
67.0334
67.0029
66.9718
66.9403
66.908
66.8751
66.8414
66.8068
66.7712
66.7345
66.6966
66.6571
66.6161
66.5732
66.5282
66.4808
66.4307
66.3776
66.321
66.2603
66.1951
66.1247
66.0484
65.9653
65.8743
65.7744
65.6642
65.5419
65.4057
65.2533
65.0817
64.8875
64.6663
64.4126
64.1201
63.781
63.387
62.9295
62.4006
61.7933
61.1012
60.3175
59.4343
58.4412
57.3238
56.0619
54.6272
52.9793
51.0637
48.8002
46.094
42.7759
38.7474
33.5327
27.5612
18.663
11.4876
46.7199
46.264
46.1174
46.0972
46.238
46.5979
47.2067
48.0802
49.2213
50.6142
52.2243
53.9996
55.8722
57.7638
59.5882
61.259
62.699
63.8563
64.7181
65.3122
65.6948
65.9319
66.082
66.189
66.2815
66.3747
66.4762
66.5871
66.7068
66.8324
66.9615
67.0911
67.2193
67.3442
67.4646
67.5794
67.6882
67.7906
67.8864
67.9756
68.0584
68.1349
68.2054
68.2702
68.3295
68.3837
68.4331
68.4779
68.5185
68.555
68.5879
68.6172
68.6434
68.6664
68.6866
68.7041
68.7191
68.7317
68.7422
68.7505
68.757
68.7616
68.7645
68.7657
68.7655
68.7638
68.7608
68.7565
68.751
68.7444
68.7368
68.7281
68.7184
68.7078
68.6964
68.6841
68.671
68.6571
68.6425
68.6272
68.6112
68.5945
68.5772
68.5593
68.5408
68.5217
68.5021
68.482
68.4614
68.4403
68.4188
68.3968
68.3745
68.3517
68.3286
68.3052
68.2815
68.2574
68.2332
68.2087
68.184
68.1591
68.134
68.1088
68.0835
68.058
68.0325
68.0069
67.9812
67.9554
67.9297
67.9038
67.8779
67.852
67.826
67.8
67.774
67.7479
67.7217
67.6956
67.6693
67.643
67.6167
67.5902
67.5637
67.5371
67.5104
67.4836
67.4568
67.4298
67.4026
67.3754
67.348
67.3204
67.2927
67.2648
67.2366
67.2082
67.1796
67.1507
67.1215
67.0919
67.0619
67.0315
67.0006
66.9692
66.9372
66.9046
66.8712
66.837
66.8018
66.7656
66.7282
66.6895
66.6492
66.6073
66.5634
66.5174
66.4689
66.4176
66.3631
66.305
66.2429
66.176
66.1039
66.0257
65.9407
65.8477
65.7457
65.6333
65.5089
65.3705
65.216
65.0424
64.8461
64.6228
64.3667
64.0708
63.7264
63.3234
62.8512
62.2997
61.6602
60.9249
60.0864
59.136
58.063
56.8523
55.4838
53.9293
52.1497
50.0932
47.6847
44.8382
41.4003
37.2944
32.0949
26.2444
17.7933
11.0344
47.0669
46.7157
46.63
46.6714
46.8702
47.2729
47.9048
48.7784
49.8947
51.2382
52.7775
54.4646
56.2405
58.0334
59.7655
61.3576
62.7367
63.8516
64.6868
65.2655
65.6399
65.8728
66.0212
66.1285
66.2228
66.3192
66.4245
66.5397
66.6638
66.7935
66.9264
67.0595
67.1908
67.3183
67.4411
67.5579
67.6686
67.7725
67.8698
67.9603
68.0443
68.1219
68.1935
68.2592
68.3195
68.3746
68.4248
68.4705
68.5118
68.5492
68.5828
68.6128
68.6396
68.6632
68.684
68.7021
68.7177
68.7308
68.7418
68.7506
68.7575
68.7625
68.7658
68.7674
68.7675
68.7661
68.7634
68.7594
68.7541
68.7477
68.7402
68.7317
68.7222
68.7117
68.7004
68.6882
68.6752
68.6614
68.6468
68.6315
68.6155
68.5989
68.5816
68.5637
68.5452
68.5261
68.5065
68.4864
68.4657
68.4446
68.423
68.401
68.3786
68.3558
68.3327
68.3092
68.2854
68.2613
68.2369
68.2123
68.1876
68.1626
68.1374
68.1121
68.0867
68.0611
68.0355
68.0098
67.984
67.9582
67.9323
67.9063
67.8804
67.8543
67.8283
67.8022
67.776
67.7498
67.7236
67.6973
67.671
67.6446
67.6181
67.5916
67.565
67.5383
67.5115
67.4846
67.4576
67.4305
67.4033
67.3759
67.3483
67.3206
67.2928
67.2647
67.2364
67.2078
67.179
67.1498
67.1203
67.0905
67.0603
67.0296
66.9984
66.9666
66.9342
66.9011
66.8673
66.8325
66.7968
66.76
66.7219
66.6825
66.6415
66.5987
66.5539
66.5068
66.4572
66.4048
66.349
66.2896
66.2259
66.1576
66.0838
66.0039
65.917
65.8222
65.7182
65.6038
65.4775
65.3373
65.1809
65.0056
64.8079
64.5831
64.3254
64.0273
63.679
63.269
62.7846
62.2132
61.5444
60.769
59.8791
58.8652
57.7163
56.4173
54.9478
53.2806
51.3781
49.1916
46.6519
43.6826
40.1467
35.9882
30.8319
25.1222
17.1141
10.773
47.3941
47.1391
47.108
47.2034
47.4514
47.8894
48.5383
49.4083
50.4985
51.794
53.2654
54.8706
56.5542
58.2532
59.8971
61.413
62.7328
63.8066
64.6167
65.1823
65.5515
65.7837
65.9341
66.0452
66.1443
66.2464
66.3579
66.4794
66.6094
66.7446
66.8826
67.0201
67.1553
67.2862
67.412
67.5315
67.6444
67.7504
67.8494
67.9416
68.0271
68.1061
68.1789
68.2458
68.3072
68.3633
68.4146
68.4611
68.5034
68.5415
68.5759
68.6067
68.6342
68.6586
68.6801
68.6988
68.7149
68.7287
68.7402
68.7495
68.7569
68.7623
68.766
68.768
68.7685
68.7674
68.765
68.7613
68.7563
68.7501
68.7429
68.7346
68.7252
68.7149
68.7037
68.6916
68.6787
68.665
68.6505
68.6353
68.6194
68.6028
68.5855
68.5676
68.5491
68.5301
68.5105
68.4903
68.4696
68.4485
68.4269
68.4049
68.3824
68.3596
68.3364
68.3128
68.289
68.2648
68.2404
68.2157
68.1909
68.1658
68.1406
68.1152
68.0897
68.064
68.0383
68.0125
67.9866
67.9607
67.9347
67.9087
67.8826
67.8565
67.8304
67.8042
67.7779
67.7517
67.7253
67.699
67.6725
67.6461
67.6195
67.5929
67.5662
67.5394
67.5125
67.4855
67.4584
67.4312
67.4038
67.3763
67.3486
67.3208
67.2928
67.2645
67.236
67.2073
67.1783
67.1489
67.1192
67.0891
67.0586
67.0276
66.9961
66.964
66.9312
66.8977
66.8634
66.8281
66.7919
66.7545
66.7158
66.6756
66.6338
66.5902
66.5445
66.4965
66.4459
66.3923
66.3353
66.2746
66.2096
66.1397
66.0644
65.9828
65.8942
65.7976
65.6919
65.5757
65.4476
65.3057
65.1479
64.9712
64.7724
64.5467
64.2882
63.9889
63.6384
63.2236
62.7296
62.1417
61.4471
60.6355
59.698
58.625
57.405
56.0229
54.4588
52.6863
50.6699
48.3645
45.7073
42.6315
39.0172
34.8271
29.7355
24.1798
16.6039
10.6693
47.7022
47.5352
47.5525
47.6952
47.9851
48.4519
49.1133
49.9768
51.0404
52.2894
53.6969
55.2233
56.8207
58.4307
59.9898
61.4319
62.6937
63.7272
64.5134
65.0679
65.4344
65.6689
65.8245
65.9422
66.0489
66.1589
66.2784
66.4076
66.5449
66.6869
66.8308
66.9736
67.1135
67.2485
67.3778
67.5004
67.6161
67.7245
67.8257
67.9198
68.007
68.0876
68.1619
68.2301
68.2928
68.3501
68.4024
68.45
68.4932
68.5322
68.5675
68.5991
68.6274
68.6525
68.6747
68.694
68.7108
68.7252
68.7372
68.7471
68.755
68.7609
68.7651
68.7675
68.7684
68.7677
68.7656
68.7622
68.7575
68.7516
68.7446
68.7365
68.7274
68.7173
68.7063
68.6943
68.6816
68.668
68.6536
68.6384
68.6226
68.606
68.5889
68.571
68.5526
68.5335
68.5139
68.4938
68.4731
68.452
68.4304
68.4083
68.3858
68.363
68.3397
68.3161
68.2922
68.268
68.2436
68.2188
68.1939
68.1688
68.1435
68.118
68.0924
68.0667
68.0409
68.015
67.989
67.963
67.937
67.9108
67.8847
67.8585
67.8323
67.806
67.7797
67.7533
67.7269
67.7004
67.6739
67.6474
67.6207
67.594
67.5672
67.5403
67.5133
67.4863
67.4591
67.4317
67.4043
67.3766
67.3488
67.3209
67.2927
67.2643
67.2356
67.2067
67.1775
67.1479
67.118
67.0877
67.0569
67.0256
66.9938
66.9613
66.9282
66.8943
66.8595
66.8238
66.787
66.749
66.7097
66.6689
66.6263
66.5819
66.5354
66.4864
66.4348
66.3801
66.3219
66.26
66.1936
66.1223
66.0455
65.9624
65.8723
65.774
65.6666
65.5488
65.4191
65.2757
65.1165
64.9388
64.7392
64.5132
64.2546
63.9552
63.6041
63.1867
62.6863
62.0855
61.3693
60.5259
59.5456
58.4183
57.1325
55.6734
54.0216
52.1518
50.0309
47.6178
44.8563
41.6892
38.0139
33.8096
28.7979
23.4035
16.2435
10.6952
47.9929
47.9062
47.9662
48.1502
48.4755
48.9657
49.6355
50.4903
51.5269
52.731
54.0774
55.5308
57.0457
58.571
60.0489
61.4193
62.6242
63.6181
64.3813
64.926
65.2918
65.5312
65.6945
65.8215
65.938
66.058
66.1872
66.3257
66.4715
66.6211
66.7719
66.9208
67.066
67.2058
67.3391
67.4653
67.5841
67.6952
67.7989
67.8952
67.9844
68.0667
68.1427
68.2124
68.2764
68.335
68.3885
68.4372
68.4815
68.5215
68.5577
68.5902
68.6193
68.6452
68.6681
68.6881
68.7056
68.7205
68.7332
68.7436
68.752
68.7584
68.7631
68.766
68.7672
68.767
68.7653
68.7622
68.7578
68.7522
68.7455
68.7377
68.7288
68.7189
68.7081
68.6963
68.6837
68.6702
68.656
68.641
68.6252
68.6087
68.5916
68.5738
68.5554
68.5364
68.5169
68.4967
68.4761
68.455
68.4334
68.4113
68.3889
68.366
68.3427
68.3191
68.2952
68.2709
68.2464
68.2216
68.1966
68.1714
68.146
68.1205
68.0949
68.0691
68.0432
68.0172
67.9912
67.9651
67.939
67.9128
67.8865
67.8603
67.834
67.8076
67.7812
67.7548
67.7283
67.7018
67.6752
67.6485
67.6218
67.595
67.5681
67.5412
67.5141
67.4869
67.4596
67.4322
67.4046
67.3769
67.349
67.3208
67.2925
67.264
67.2352
67.2061
67.1767
67.1469
67.1168
67.0862
67.0552
67.0236
66.9915
66.9587
66.9252
66.8909
66.8557
66.8195
66.7822
66.7436
66.7037
66.6622
66.619
66.5738
66.5264
66.4765
66.4239
66.3682
66.3089
66.2457
66.1781
66.1055
66.0273
65.9427
65.851
65.7512
65.6422
65.5229
65.3917
65.247
65.0866
64.9081
64.708
64.4819
64.2239
63.9254
63.5751
63.1575
62.654
62.0445
61.3116
60.4415
59.4237
58.2478
56.9024
55.3728
53.6406
51.6818
49.4659
46.956
44.1027
40.8583
37.1369
32.9326
28.0106
22.7798
16.015
10.8257
48.2667
48.2528
48.3503
48.5705
48.9259
49.4349
50.1098
50.9542
51.964
53.1251
54.414
55.7974
57.2355
58.6804
60.0806
61.3817
62.5309
63.4858
64.2264
64.7623
65.129
65.3751
65.5483
65.6865
65.8147
65.9462
66.0863
66.2351
66.3903
66.5485
66.7068
66.8625
67.0136
67.1584
67.2963
67.4264
67.5486
67.6629
67.7692
67.8679
67.9593
68.0436
68.1214
68.1928
68.2583
68.3183
68.3731
68.423
68.4684
68.5095
68.5466
68.58
68.61
68.6367
68.6604
68.6811
68.6993
68.7149
68.7281
68.7391
68.7481
68.755
68.7601
68.7634
68.7652
68.7653
68.764
68.7612
68.7572
68.752
68.7455
68.7379
68.7293
68.7197
68.7091
68.6975
68.6851
68.6718
68.6577
68.6428
68.6272
68.6108
68.5938
68.5761
68.5578
68.5388
68.5193
68.4992
68.4786
68.4575
68.4359
68.4139
68.3914
68.3685
68.3453
68.3216
68.2977
68.2734
68.2489
68.224
68.199
68.1738
68.1483
68.1227
68.097
68.0712
68.0452
68.0192
67.9931
67.9669
67.9407
67.9145
67.8882
67.8618
67.8355
67.809
67.7826
67.7561
67.7295
67.7029
67.6763
67.6495
67.6227
67.5959
67.5689
67.5419
67.5147
67.4874
67.46
67.4325
67.4048
67.377
67.349
67.3207
67.2923
67.2636
67.2346
67.2054
67.1758
67.1458
67.1155
67.0847
67.0534
67.0216
66.9891
66.956
66.9222
66.8875
66.8518
66.8152
66.7774
66.7383
66.6978
66.6556
66.6117
66.5658
66.5176
66.4668
66.4133
66.3565
66.2962
66.2318
66.163
66.0891
66.0095
65.9235
65.8304
65.7291
65.6186
65.4978
65.3653
65.2193
65.0579
64.8786
64.6782
64.4524
64.1953
63.8987
63.5507
63.1352
62.6319
62.0183
61.274
60.3831
59.3339
58.1158
56.7175
55.1248
53.32
51.281
48.9799
46.384
43.4509
40.142
36.3871
32.1936
27.3667
22.2975
15.9036
11.0432
48.5252
48.5772
48.7073
48.9591
49.3397
49.8636
50.5407
51.3735
52.3567
53.4765
54.7108
56.0294
57.3943
58.7633
60.0893
61.3236
62.4184
63.3349
64.0534
64.5811
64.9496
65.2037
65.3883
65.5392
65.6804
65.8246
65.9769
66.1368
66.3022
66.4696
66.6362
66.7991
66.9565
67.107
67.2497
67.3841
67.5102
67.6277
67.7371
67.8384
67.9322
68.0186
68.0983
68.1715
68.2386
68.3001
68.3563
68.4075
68.454
68.4963
68.5345
68.5688
68.5997
68.6272
68.6517
68.6732
68.6921
68.7083
68.7222
68.7338
68.7432
68.7507
68.7563
68.7601
68.7622
68.7628
68.7618
68.7595
68.7558
68.7509
68.7447
68.7375
68.7291
68.7197
68.7093
68.698
68.6858
68.6727
68.6587
68.644
68.6285
68.6123
68.5954
68.5778
68.5595
68.5407
68.5212
68.5012
68.4807
68.4596
68.4381
68.416
68.3936
68.3707
68.3475
68.3238
68.2999
68.2756
68.251
68.2262
68.2011
68.1758
68.1503
68.1247
68.0989
68.073
68.047
68.0209
67.9948
67.9686
67.9423
67.916
67.8896
67.8632
67.8368
67.8103
67.7838
67.7572
67.7306
67.7039
67.6772
67.6504
67.6235
67.5966
67.5696
67.5424
67.5152
67.4878
67.4604
67.4327
67.405
67.377
67.3489
67.3205
67.292
67.2631
67.234
67.2046
67.1749
67.1447
67.1142
67.0831
67.0516
67.0195
66.9868
66.9533
66.9191
66.8841
66.848
66.8109
66.7727
66.733
66.6919
66.6492
66.6046
66.5579
66.5089
66.4573
66.4028
66.3451
66.2837
66.2182
66.1482
66.0731
65.9922
65.9048
65.8103
65.7075
65.5957
65.4735
65.3396
65.1924
65.03
64.85
64.6494
64.424
64.1683
63.874
63.5295
63.1182
62.6186
62.0056
61.2558
60.3507
59.2771
58.0241
56.5803
54.9323
53.0634
50.9532
48.5767
45.9055
42.9038
39.5417
35.764
31.5894
26.8593
21.9459
15.8965
11.3322
48.7685
48.8801
49.0387
49.3177
49.7196
50.255
50.9323
51.7525
52.7097
53.7903
54.9734
56.2302
57.5273
58.8248
60.0806
61.2508
62.2929
63.1715
63.8681
64.3878
64.7586
65.0215
65.2184
65.383
65.538
65.6957
65.8607
66.0323
66.2085
66.3855
66.5607
66.7313
66.8955
67.0518
67.1998
67.3388
67.4689
67.59
67.7025
67.8067
67.903
67.9918
68.0735
68.1486
68.2175
68.2805
68.3382
68.3907
68.4386
68.482
68.5213
68.5566
68.5885
68.6169
68.6422
68.6645
68.684
68.7009
68.7154
68.7276
68.7376
68.7456
68.7517
68.756
68.7585
68.7595
68.759
68.757
68.7537
68.749
68.7432
68.7362
68.7282
68.719
68.7089
68.6978
68.6858
68.6728
68.6591
68.6445
68.6292
68.6131
68.5963
68.5788
68.5607
68.542
68.5226
68.5027
68.4822
68.4612
68.4397
68.4177
68.3953
68.3725
68.3492
68.3256
68.3016
68.2773
68.2528
68.2279
68.2028
68.1775
68.152
68.1263
68.1005
68.0746
68.0486
68.0224
67.9962
67.9699
67.9436
67.9172
67.8908
67.8644
67.8379
67.8113
67.7848
67.7581
67.7315
67.7047
67.6779
67.6511
67.6242
67.5971
67.57
67.5428
67.5155
67.4881
67.4606
67.4328
67.405
67.3769
67.3487
67.3202
67.2916
67.2626
67.2333
67.2038
67.1738
67.1435
67.1128
67.0815
67.0498
67.0174
66.9844
66.9506
66.9161
66.8807
66.8442
66.8067
66.768
66.7278
66.6862
66.6428
66.5975
66.5501
66.5004
66.4479
66.3926
66.3339
66.2715
66.2049
66.1338
66.0574
65.9752
65.8866
65.7906
65.6865
65.5732
65.4497
65.3145
65.1661
65.0027
64.822
64.6212
64.3963
64.142
63.8505
63.5103
63.1051
62.6123
62.0048
61.2558
60.3438
59.2536
57.9736
56.4927
54.7979
52.8739
50.7021
48.2603
45.5242
42.4647
39.0598
35.268
31.1179
26.4834
21.7172
15.9845
11.6835
48.998
49.1632
49.3463
49.6488
50.0684
50.6124
51.288
52.0949
53.0267
54.07
55.2047
56.4047
57.6376
58.8682
60.0577
61.167
62.1583
62.9999
63.6748
64.1864
64.5596
64.8316
65.041
65.2197
65.3891
65.5607
65.7388
65.9225
66.1098
66.2968
66.481
66.6595
66.8307
66.9933
67.1468
67.2906
67.425
67.5499
67.6658
67.773
67.872
67.9632
68.0472
68.1243
68.1951
68.2598
68.319
68.373
68.4222
68.4668
68.5072
68.5437
68.5765
68.6058
68.6319
68.655
68.6753
68.6929
68.708
68.7208
68.7314
68.7399
68.7465
68.7512
68.7542
68.7556
68.7555
68.7538
68.7509
68.7466
68.7411
68.7344
68.7266
68.7177
68.7078
68.6969
68.6851
68.6724
68.6589
68.6445
68.6293
68.6134
68.5967
68.5794
68.5614
68.5427
68.5235
68.5036
68.4832
68.4623
68.4409
68.4189
68.3966
68.3738
68.3506
68.327
68.3031
68.2788
68.2542
68.2293
68.2043
68.1789
68.1534
68.1277
68.1019
68.0759
68.0498
68.0236
67.9974
67.9711
67.9447
67.9183
67.8918
67.8653
67.8388
67.8122
67.7856
67.7589
67.7322
67.7054
67.6785
67.6516
67.6246
67.5976
67.5704
67.5431
67.5158
67.4883
67.4606
67.4329
67.4049
67.3768
67.3484
67.3199
67.2911
67.262
67.2326
67.2029
67.1728
67.1423
67.1113
67.0799
67.0479
67.0153
66.982
66.948
66.9131
66.8773
66.8405
66.8025
66.7633
66.7227
66.6805
66.6365
66.5906
66.5425
66.492
66.4387
66.3825
66.3229
66.2595
66.1919
66.1196
66.042
65.9586
65.8687
65.7714
65.6659
65.5513
65.4263
65.2898
65.1402
64.9758
64.7943
64.5932
64.3687
64.1158
63.8272
63.492
63.094
62.6108
62.0134
61.2717
60.3606
59.2624
57.9643
56.4554
54.7232
52.7537
50.5301
48.0332
45.2427
42.1354
38.697
34.8983
30.7763
26.2338
21.6042
16.1594
12.0888
49.2138
49.4272
49.6315
49.954
50.3881
50.9385
51.6109
52.4041
53.3113
54.3192
55.4089
56.555
57.729
58.8972
60.0249
61.0768
62.0195
62.8254
63.4787
63.9822
64.3574
64.6381
64.86
65.0526
65.2363
65.4217
65.6128
65.8088
66.0071
66.2043
66.3976
66.5842
66.7627
66.9317
67.0909
67.2398
67.3786
67.5075
67.627
67.7374
67.8393
67.9331
68.0194
68.0987
68.1714
68.2379
68.2988
68.3543
68.4048
68.4507
68.4923
68.5299
68.5637
68.594
68.621
68.6449
68.666
68.6843
68.7001
68.7134
68.7246
68.7337
68.7407
68.7459
68.7494
68.7511
68.7514
68.7501
68.7475
68.7435
68.7383
68.7319
68.7244
68.7158
68.7061
68.6955
68.6839
68.6714
68.6581
68.6439
68.6289
68.6131
68.5966
68.5794
68.5615
68.543
68.5238
68.5041
68.4838
68.4629
68.4416
68.4197
68.3974
68.3747
68.3515
68.328
68.3041
68.2798
68.2553
68.2304
68.2053
68.18
68.1545
68.1288
68.1029
68.0769
68.0508
68.0246
67.9983
67.972
67.9456
67.9191
67.8926
67.8661
67.8395
67.8129
67.7862
67.7595
67.7327
67.7059
67.679
67.652
67.625
67.5978
67.5706
67.5433
67.5159
67.4883
67.4606
67.4328
67.4047
67.3765
67.3481
67.3194
67.2905
67.2613
67.2318
67.2019
67.1717
67.141
67.1099
67.0782
67.046
67.0131
66.9796
66.9452
66.9101
66.8739
66.8367
66.7984
66.7587
66.7175
66.6748
66.6303
66.5837
66.535
66.4837
66.4297
66.3726
66.3121
66.2477
66.179
66.1057
66.0269
65.9423
65.8511
65.7525
65.6456
65.5296
65.4033
65.2655
65.1146
64.9491
64.7668
64.5652
64.3409
64.0892
63.8033
63.4731
63.0834
62.6117
62.0285
61.3006
60.3987
59.3016
57.9952
56.4681
54.7087
52.7041
50.4392
47.8977
45.0631
41.918
38.4545
34.655
30.5632
26.1075
21.6023
16.4166
12.5445
49.4168
49.6733
49.8958
50.2351
50.6811
51.2356
51.9035
52.6828
53.5662
54.5407
55.5879
56.6849
57.8036
58.9141
59.9843
60.9827
61.8797
62.6512
63.2835
63.7785
64.1552
64.444
64.6776
64.8837
65.0812
65.28
65.4839
65.6918
65.9012
66.1085
66.3109
66.5058
66.6917
66.8673
67.0324
67.1865
67.33
67.4631
67.5863
67.7001
67.805
67.9016
67.9904
68.0718
68.1466
68.215
68.2776
68.3347
68.3867
68.4339
68.4768
68.5155
68.5504
68.5816
68.6095
68.6343
68.6561
68.6751
68.6916
68.7056
68.7174
68.727
68.7345
68.7402
68.7441
68.7463
68.7469
68.746
68.7437
68.74
68.7351
68.729
68.7218
68.7134
68.704
68.6936
68.6822
68.6699
68.6568
68.6428
68.6279
68.6123
68.596
68.5789
68.5612
68.5427
68.5237
68.5041
68.4839
68.4631
68.4419
68.4201
68.3979
68.3752
68.3521
68.3286
68.3048
68.2805
68.256
68.2312
68.2061
68.1808
68.1553
68.1296
68.1037
68.0777
68.0516
68.0254
67.9991
67.9727
67.9462
67.9198
67.8932
67.8666
67.84
67.8133
67.7866
67.7599
67.7331
67.7062
67.6793
67.6522
67.6252
67.598
67.5707
67.5434
67.5159
67.4882
67.4605
67.4325
67.4044
67.3761
67.3476
67.3189
67.2898
67.2605
67.2309
67.2009
67.1705
67.1397
67.1083
67.0765
67.0441
67.011
66.9772
66.9425
66.9071
66.8706
66.833
66.7942
66.7541
66.7125
66.6692
66.6241
66.577
66.5276
66.4756
66.4208
66.3629
66.3014
66.2361
66.1665
66.092
66.0121
65.9263
65.8338
65.7339
65.6257
65.5083
65.3806
65.2414
65.0892
64.9225
64.7392
64.5369
64.3125
64.0617
63.7781
63.4528
63.0713
62.6126
62.0468
61.3386
60.454
59.3679
58.0637
56.5293
54.7537
52.7248
50.4297
47.8545
44.9863
41.8128
38.3324
34.537
30.4761
26.1008
21.7067
16.7517
13.0468
49.6072
49.9023
50.1403
50.4936
50.9489
51.5059
52.1683
52.9336
53.7941
54.737
55.745
56.7956
57.8639
58.9213
59.9387
60.8877
61.7422
62.4812
63.0932
63.5797
63.9573
64.2532
64.4976
64.716
64.9262
65.1377
65.3536
65.5729
65.793
66.0101
66.2216
66.4247
66.618
66.8004
66.9714
67.1309
67.2793
67.4167
67.5438
67.6611
67.7691
67.8686
67.96
68.0438
68.1207
68.1911
68.2555
68.3142
68.3678
68.4164
68.4605
68.5004
68.5364
68.5687
68.5975
68.6232
68.6458
68.6656
68.6827
68.6974
68.7097
68.7199
68.728
68.7341
68.7384
68.741
68.742
68.7414
68.7395
68.7362
68.7316
68.7257
68.7187
68.7106
68.7015
68.6913
68.6801
68.668
68.655
68.6412
68.6266
68.6111
68.5949
68.578
68.5604
68.5421
68.5232
68.5036
68.4836
68.4629
68.4417
68.4201
68.3979
68.3753
68.3523
68.3289
68.3051
68.2809
68.2564
68.2317
68.2066
68.1813
68.1558
68.1301
68.1043
68.0782
68.0521
68.0259
67.9996
67.9732
67.9467
67.9202
67.8936
67.867
67.8404
67.8136
67.7869
67.7601
67.7333
67.7064
67.6794
67.6523
67.6252
67.598
67.5707
67.5433
67.5157
67.4881
67.4602
67.4322
67.4041
67.3757
67.3471
67.3182
67.2891
67.2597
67.2299
67.1998
67.1693
67.1383
67.1068
67.0748
67.0421
67.0088
66.9747
66.9399
66.9041
66.8672
66.8293
66.7902
66.7496
66.7075
66.6638
66.6181
66.5704
66.5203
66.4676
66.4121
66.3533
66.291
66.2248
66.1541
66.0786
65.9976
65.9106
65.8169
65.7157
65.6061
65.4874
65.3582
65.2176
65.064
64.8959
64.7115
64.5083
64.2835
64.033
63.7513
63.4301
63.0566
62.611
62.0648
61.3812
60.522
59.4569
58.166
56.636
54.8559
52.8147
50.501
47.9034
45.0123
41.8201
38.3303
34.5436
30.5137
26.2118
21.9152
17.1628
13.5954
49.7855
50.115
50.3661
50.7307
51.1934
51.7511
52.4072
53.1584
53.9969
54.9101
55.8812
56.8897
57.9112
58.9199
59.8891
60.793
61.6085
62.3175
62.9102
63.3882
63.7662
64.0683
64.3222
64.5516
64.7733
64.9962
65.2232
65.4531
65.6832
65.9098
66.13
66.3412
66.542
66.731
66.9082
67.0732
67.2265
67.3684
67.4995
67.6204
67.7318
67.8342
67.9283
68.0147
68.0938
68.1663
68.2325
68.293
68.3481
68.3982
68.4437
68.4849
68.522
68.5553
68.5851
68.6116
68.6351
68.6556
68.6735
68.6888
68.7018
68.7124
68.7211
68.7277
68.7324
68.7354
68.7368
68.7366
68.735
68.732
68.7277
68.7221
68.7154
68.7075
68.6986
68.6886
68.6777
68.6658
68.653
68.6393
68.6248
68.6095
68.5935
68.5767
68.5592
68.541
68.5223
68.5028
68.4829
68.4623
68.4413
68.4197
68.3976
68.3751
68.3522
68.3288
68.3051
68.281
68.2566
68.2318
68.2068
68.1815
68.1561
68.1304
68.1045
68.0785
68.0524
68.0262
67.9998
67.9734
67.9469
67.9204
67.8938
67.8672
67.8405
67.8138
67.787
67.7602
67.7333
67.7064
67.6794
67.6523
67.6252
67.5979
67.5706
67.5431
67.5155
67.4878
67.4599
67.4318
67.4036
67.3752
67.3465
67.3175
67.2883
67.2588
67.2289
67.1987
67.168
67.1369
67.1052
67.073
67.0402
67.0066
66.9723
66.9372
66.9011
66.864
66.8257
66.7861
66.7452
66.7027
66.6584
66.6122
66.5639
66.5132
66.4598
66.4035
66.344
66.2809
66.2137
66.1421
66.0655
65.9834
65.8953
65.8003
65.6978
65.5869
65.4667
65.3361
65.194
65.039
64.8695
64.6837
64.4793
64.2537
64.0032
63.7226
63.4047
63.0381
62.6051
62.0791
61.4235
60.5967
59.5627
58.2968
56.7835
55.0115
52.9704
50.6505
48.0424
45.1395
41.9382
38.4465
34.6726
30.6735
26.4375
22.2247
17.6478
14.1889
49.9519
50.3119
50.5741
50.9477
51.4157
51.973
52.622
53.3592
54.1766
55.0618
55.9989
56.9679
57.9469
58.9115
59.8369
60.7001
61.4804
62.1621
62.7371
63.2072
63.5851
63.8926
64.1546
64.3935
64.625
64.8577
65.0944
65.3338
65.573
65.8084
66.0369
66.2559
66.4638
66.6595
66.8428
67.0134
67.1717
67.3182
67.4535
67.5782
67.693
67.7985
67.8955
67.9844
68.0659
68.1405
68.2088
68.271
68.3278
68.3794
68.4263
68.4687
68.5071
68.5415
68.5723
68.5997
68.6241
68.6454
68.664
68.6799
68.6935
68.7048
68.7139
68.721
68.7262
68.7296
68.7314
68.7316
68.7303
68.7276
68.7235
68.7182
68.7118
68.7041
68.6954
68.6857
68.6749
68.6632
68.6506
68.6371
68.6228
68.6076
68.5917
68.5751
68.5577
68.5397
68.521
68.5017
68.4818
68.4614
68.4404
68.4189
68.397
68.3746
68.3517
68.3284
68.3048
68.2807
68.2564
68.2317
68.2067
68.1815
68.1561
68.1304
68.1046
68.0786
68.0525
68.0262
67.9999
67.9735
67.947
67.9205
67.8939
67.8672
67.8405
67.8138
67.787
67.7601
67.7332
67.7063
67.6792
67.6521
67.625
67.5977
67.5703
67.5428
67.5152
67.4874
67.4595
67.4314
67.4031
67.3745
67.3458
67.3168
67.2875
67.2579
67.2279
67.1975
67.1667
67.1354
67.1036
67.0712
67.0382
67.0045
66.9699
66.9345
66.8982
66.8607
66.8221
66.7822
66.7408
66.6979
66.6531
66.6064
66.5575
66.5062
66.4522
66.3952
66.3349
66.2709
66.2029
66.1303
66.0527
65.9696
65.8803
65.7841
65.6803
65.5681
65.4465
65.3144
65.1708
65.0142
64.8432
64.6559
64.4502
64.2234
63.9723
63.6921
63.3765
63.0154
62.5936
62.087
61.4609
60.6718
59.6782
58.449
56.9655
55.2149
53.1874
50.8743
48.2682
45.365
42.1647
38.6789
34.9221
30.9534
26.7762
22.6337
18.2062
14.8287
50.1068
50.4937
50.7652
51.1455
51.6172
52.1728
52.8142
53.5375
54.3346
55.1934
56.0987
57.032
57.9718
58.8962
59.7823
60.6091
61.358
62.0155
62.5747
63.0377
63.4157
63.7279
63.9969
64.2437
64.4833
64.7241
64.9688
65.2162
65.4634
65.7067
65.9428
66.1691
66.384
66.5862
66.7755
66.9517
67.1151
67.2663
67.4059
67.5344
67.6528
67.7616
67.8615
67.9531
68.0371
68.1139
68.1842
68.2484
68.3069
68.3601
68.4084
68.4522
68.4917
68.5273
68.5591
68.5875
68.6127
68.6348
68.6542
68.6708
68.685
68.6969
68.7065
68.7141
68.7198
68.7236
68.7258
68.7263
68.7254
68.723
68.7192
68.7142
68.708
68.7006
68.6921
68.6825
68.672
68.6604
68.648
68.6347
68.6205
68.6055
68.5897
68.5732
68.556
68.538
68.5195
68.5003
68.4805
68.4602
68.4393
68.4179
68.3961
68.3737
68.351
68.3277
68.3042
68.2802
68.2559
68.2313
68.2064
68.1812
68.1558
68.1302
68.1044
68.0784
68.0523
68.0261
67.9998
67.9734
67.9469
67.9203
67.8937
67.8671
67.8404
67.8136
67.7868
67.7599
67.733
67.706
67.679
67.6518
67.6246
67.5973
67.5699
67.5424
67.5147
67.4869
67.4589
67.4308
67.4024
67.3739
67.3451
67.316
67.2866
67.2569
67.2268
67.1963
67.1654
67.134
67.102
67.0695
67.0363
67.0023
66.9676
66.9319
66.8953
66.8576
66.8186
66.7784
66.7366
66.6932
66.648
66.6008
66.5514
66.4995
66.4448
66.3871
66.3261
66.2613
66.1924
66.1189
66.0403
65.9561
65.8657
65.7683
65.6633
65.5497
65.4267
65.2932
65.1481
64.9899
64.8172
64.6282
64.4209
64.1927
63.9405
63.6601
63.3457
62.9886
62.5759
62.0866
61.4893
60.7409
59.7953
58.6143
57.1737
55.4586
53.4589
51.1664
48.5756
45.6842
42.4953
39.0234
35.2881
31.3498
27.2247
23.1396
18.8368
15.5144
50.2502
50.6608
50.9402
51.3251
51.799
52.3518
52.9852
53.6947
54.4724
55.3065
56.1824
57.0823
57.9868
58.8749
59.7257
60.5202
61.2416
61.8781
62.4239
62.881
63.2594
63.5762
63.8516
64.1051
64.351
64.5979
64.8487
65.1023
65.356
65.6058
65.8487
66.0817
66.303
66.5114
66.7066
66.8882
67.0568
67.2127
67.3566
67.4892
67.6112
67.7233
67.8263
67.9207
68.0073
68.0864
68.1589
68.225
68.2853
68.3402
68.39
68.4351
68.476
68.5126
68.5456
68.575
68.6011
68.624
68.6441
68.6615
68.6763
68.6888
68.699
68.7071
68.7132
68.7175
68.72
68.7209
68.7203
68.7182
68.7148
68.71
68.704
68.6969
68.6886
68.6792
68.6689
68.6575
68.6452
68.6321
68.618
68.6032
68.5875
68.5711
68.554
68.5362
68.5178
68.4987
68.479
68.4588
68.438
68.4167
68.3949
68.3726
68.35
68.3268
68.3033
68.2794
68.2552
68.2306
68.2058
68.1807
68.1553
68.1297
68.104
68.078
68.052
68.0258
67.9995
67.9731
67.9466
67.92
67.8934
67.8668
67.8401
67.8133
67.7865
67.7596
67.7327
67.7057
67.6786
67.6514
67.6242
67.5969
67.5694
67.5419
67.5142
67.4863
67.4583
67.4302
67.4018
67.3731
67.3443
67.3151
67.2856
67.2558
67.2257
67.1951
67.1641
67.1325
67.1004
67.0677
67.0343
67.0002
66.9652
66.9294
66.8925
66.8545
66.8152
66.7746
66.7325
66.6887
66.6431
66.5954
66.5454
66.4929
66.4377
66.3793
66.3176
66.252
66.1823
66.1079
66.0284
65.9431
65.8516
65.7531
65.6468
65.5319
65.4075
65.2726
65.1259
64.9661
64.7917
64.601
64.3919
64.162
63.9083
63.6269
63.3127
62.9581
62.5521
62.0771
61.5059
60.7983
59.9057
58.7829
57.3984
55.7332
53.7761
51.519
48.9574
46.0908
42.9244
39.4751
35.7664
31.8593
27.7803
23.741
19.5395
16.2475
50.3822
50.8137
51.0997
51.4873
51.9619
52.5113
53.1361
53.8322
54.5913
55.4021
56.2506
57.1202
57.9922
58.8475
59.6669
60.4329
61.1305
61.7492
62.284
62.7368
63.1165
63.4381
63.7197
63.979
64.23
64.4813
64.7362
64.9941
65.2525
65.5074
65.7557
65.9944
66.2216
66.4357
66.6364
66.8234
66.9971
67.1577
67.306
67.4426
67.5684
67.6839
67.7901
67.8874
67.9766
68.0582
68.1328
68.201
68.2632
68.3197
68.3711
68.4177
68.4598
68.4977
68.5318
68.5621
68.5892
68.613
68.6339
68.652
68.6675
68.6805
68.6913
68.6999
68.7065
68.7112
68.7142
68.7154
68.7152
68.7134
68.7102
68.7057
68.7
68.6931
68.685
68.6759
68.6657
68.6545
68.6424
68.6293
68.6155
68.6007
68.5852
68.5689
68.552
68.5342
68.5159
68.4969
68.4773
68.4572
68.4365
68.4153
68.3936
68.3714
68.3488
68.3257
68.3023
68.2785
68.2543
68.2298
68.205
68.18
68.1547
68.1291
68.1034
68.0775
68.0515
68.0253
67.999
67.9726
67.9461
67.9196
67.893
67.8663
67.8396
67.8128
67.786
67.7591
67.7322
67.7052
67.6781
67.6509
67.6237
67.5963
67.5689
67.5413
67.5136
67.4857
67.4577
67.4294
67.401
67.3723
67.3434
67.3142
67.2847
67.2548
67.2245
67.1939
67.1627
67.1311
67.0988
67.066
67.0324
66.9981
66.963
66.9269
66.8897
66.8515
66.812
66.771
66.7286
66.6844
66.6383
66.5902
66.5397
66.4867
66.4309
66.3719
66.3094
66.2431
66.1726
66.0973
66.0169
65.9307
65.8381
65.7384
65.6309
65.5148
65.3891
65.2526
65.1044
64.943
64.7669
64.5743
64.3634
64.1316
63.8761
63.5932
63.2782
62.9247
62.5231
62.0589
61.5095
60.8395
60.0014
58.9444
57.6281
56.0275
54.1283
51.922
49.4045
46.5763
43.4443
40.0271
36.3509
32.4764
28.4389
24.4346
20.3129
17.028
50.503
50.9528
51.2444
51.6329
52.1072
52.6523
53.2684
53.9512
54.6925
55.4815
56.3046
57.1461
57.9888
58.8147
59.6062
60.3472
61.0244
61.6282
62.1544
62.6046
62.9868
63.3139
63.602
63.867
64.1223
64.3765
64.6338
64.894
65.155
65.4133
65.6656
65.9087
66.1407
66.3599
66.5657
66.7577
66.9362
67.1014
67.2541
67.3948
67.5244
67.6434
67.7528
67.8531
67.945
68.0291
68.1061
68.1763
68.2404
68.2988
68.3518
68.3998
68.4433
68.4824
68.5176
68.5491
68.5771
68.6017
68.6234
68.6423
68.6585
68.6721
68.6835
68.6926
68.6997
68.7048
68.7082
68.7099
68.7099
68.7085
68.7056
68.7014
68.6959
68.6892
68.6814
68.6724
68.6624
68.6514
68.6394
68.6266
68.6128
68.5982
68.5828
68.5667
68.5498
68.5322
68.5139
68.495
68.4755
68.4555
68.4349
68.4137
68.3921
68.37
68.3475
68.3245
68.3011
68.2774
68.2533
68.2288
68.2041
68.1791
68.1538
68.1283
68.1027
68.0768
68.0508
68.0246
67.9984
67.972
67.9455
67.919
67.8924
67.8658
67.839
67.8123
67.7854
67.7585
67.7316
67.7046
67.6775
67.6503
67.6231
67.5957
67.5682
67.5406
67.5129
67.485
67.4569
67.4287
67.4002
67.3715
67.3425
67.3132
67.2837
67.2537
67.2234
67.1926
67.1614
67.1296
67.0973
67.0643
67.0306
66.9961
66.9608
66.9245
66.8871
66.8486
66.8088
66.7676
66.7248
66.6802
66.6338
66.5852
66.5343
66.4807
66.4243
66.3647
66.3016
66.2346
66.1634
66.0873
66.006
65.9188
65.8252
65.7245
65.6158
65.4984
65.3714
65.2335
65.0838
64.9208
64.743
64.5486
64.3357
64.1019
63.8443
63.5595
63.2432
62.8894
62.4901
62.0333
61.5005
60.8625
60.0762
59.0884
57.8504
56.3282
54.5027
52.3633
49.9055
47.1303
44.0458
40.6711
37.0344
33.1953
29.196
25.2179
21.156
17.8565
50.6126
51.0786
51.3751
51.7628
52.2356
52.776
53.3832
54.053
54.7775
55.546
56.3456
57.1615
57.9774
58.7769
59.5435
60.2628
60.9224
61.514
62.0338
62.4832
62.8691
63.2026
63.4978
63.7689
64.0285
64.2851
64.5435
64.8043
65.0661
65.3257
65.5802
65.8264
66.062
66.2853
66.4955
66.692
66.875
67.0446
67.2015
67.3463
67.4796
67.6022
67.7148
67.8181
67.9128
67.9995
68.0788
68.1512
68.2173
68.2774
68.3321
68.3816
68.4265
68.4669
68.5033
68.5358
68.5647
68.5903
68.6128
68.6324
68.6493
68.6636
68.6755
68.6852
68.6928
68.6984
68.7022
68.7042
68.7046
68.7035
68.7009
68.697
68.6918
68.6853
68.6777
68.6689
68.6591
68.6483
68.6365
68.6237
68.6101
68.5957
68.5804
68.5644
68.5476
68.5301
68.5119
68.4931
68.4737
68.4537
68.4332
68.4121
68.3906
68.3685
68.346
68.3231
68.2998
68.2761
68.2521
68.2277
68.2031
68.1781
68.1529
68.1274
68.1018
68.076
68.05
68.0239
67.9976
67.9713
67.9448
67.9183
67.8917
67.8651
67.8384
67.8116
67.7848
67.7579
67.7309
67.7039
67.6768
67.6496
67.6224
67.595
67.5675
67.5399
67.5121
67.4842
67.4561
67.4278
67.3993
67.3706
67.3416
67.3123
67.2826
67.2526
67.2222
67.1914
67.1601
67.1282
67.0957
67.0626
67.0288
66.9941
66.9586
66.9221
66.8846
66.8458
66.8058
66.7643
66.7212
66.6763
66.6295
66.5805
66.5291
66.4751
66.4182
66.358
66.2943
66.2267
66.1547
66.0778
65.9957
65.9076
65.8131
65.7113
65.6015
65.483
65.3546
65.2155
65.0642
64.8996
64.7201
64.5239
64.3091
64.0732
63.8135
63.5266
63.2083
62.8534
62.4547
62.0022
61.481
60.8677
60.1261
59.2059
58.0521
56.6207
54.8842
52.8282
50.4467
47.7403
44.7171
41.3967
37.8079
34.0085
30.0457
26.0865
22.0669
18.7325
50.7111
51.1917
51.4925
51.878
52.3484
52.8837
53.4821
54.1394
54.8479
55.5973
56.3752
57.1675
57.9593
58.735
59.4797
60.1799
60.8246
61.4064
61.9216
62.3715
62.7621
63.1029
63.4061
63.6842
63.9487
64.2078
64.4667
64.727
64.988
65.2473
65.5022
65.7496
65.9874
66.2136
66.4272
66.6275
66.8144
66.988
67.1489
67.2974
67.4344
67.5604
67.6763
67.7826
67.8801
67.9693
68.051
68.1256
68.1937
68.2557
68.312
68.3631
68.4094
68.4511
68.4887
68.5223
68.5522
68.5787
68.6021
68.6224
68.64
68.655
68.6675
68.6777
68.6858
68.6919
68.6961
68.6985
68.6993
68.6985
68.6962
68.6926
68.6876
68.6814
68.674
68.6654
68.6558
68.6451
68.6335
68.6209
68.6075
68.5931
68.578
68.562
68.5454
68.5279
68.5099
68.4911
68.4718
68.4519
68.4314
68.4104
68.389
68.367
68.3446
68.3217
68.2985
68.2749
68.2509
68.2266
68.2019
68.177
68.1519
68.1265
68.1009
68.0751
68.0491
68.023
67.9968
67.9704
67.944
67.9175
67.891
67.8643
67.8376
67.8108
67.784
67.7571
67.7302
67.7031
67.676
67.6489
67.6216
67.5942
67.5667
67.5391
67.5113
67.4834
67.4553
67.427
67.3984
67.3697
67.3406
67.3113
67.2816
67.2515
67.2211
67.1902
67.1588
67.1268
67.0942
67.061
67.027
66.9923
66.9566
66.9199
66.8822
66.8432
66.8029
66.7612
66.7178
66.6726
66.6255
66.5761
66.5243
66.4699
66.4124
66.3518
66.2875
66.2192
66.1465
66.069
65.986
65.8971
65.8017
65.699
65.5882
65.4685
65.339
65.1985
65.0459
64.8798
64.6987
64.5007
64.2839
64.046
63.7841
63.4949
63.1745
62.8178
62.4185
61.9678
61.4538
60.8578
60.1514
59.2911
58.2215
56.8892
55.2559
53.3
51.0119
48.3909
45.4445
42.1913
38.6604
34.9067
30.9809
27.0357
23.0429
19.6553
50.799
51.2928
51.5976
51.9796
52.4469
52.9771
53.5668
54.2122
54.9057
55.6373
56.3952
57.1663
57.9361
58.6905
59.4156
60.0992
60.7312
61.3048
61.8169
62.2685
62.6644
63.0131
63.325
63.611
63.8812
64.1436
64.4035
64.6631
64.9225
65.1802
65.4339
65.6811
65.9195
66.1471
66.3629
66.5659
66.756
66.9329
67.0973
67.2493
67.3897
67.5189
67.6379
67.7471
67.8474
67.9391
68.0232
68.0999
68.17
68.2338
68.2919
68.3445
68.3922
68.4352
68.474
68.5087
68.5397
68.5671
68.5913
68.6124
68.6307
68.6463
68.6595
68.6702
68.6788
68.6854
68.69
68.6928
68.694
68.6935
68.6915
68.6882
68.6835
68.6775
68.6703
68.6619
68.6525
68.642
68.6306
68.6181
68.6048
68.5906
68.5756
68.5597
68.5432
68.5259
68.5079
68.4892
68.47
68.4501
68.4297
68.4088
68.3874
68.3655
68.3431
68.3204
68.2972
68.2736
68.2497
68.2254
68.2008
68.1759
68.1508
68.1254
68.0999
68.0741
68.0482
68.0221
67.9959
67.9696
67.9432
67.9167
67.8901
67.8635
67.8368
67.81
67.7832
67.7563
67.7294
67.7023
67.6752
67.648
67.6208
67.5934
67.5659
67.5382
67.5105
67.4825
67.4544
67.4261
67.3975
67.3687
67.3397
67.3103
67.2805
67.2504
67.2199
67.189
67.1575
67.1254
67.0928
67.0595
67.0254
66.9905
66.9547
66.9179
66.8799
66.8408
66.8003
66.7583
66.7146
66.6692
66.6217
66.572
66.5199
66.465
66.4071
66.346
66.2812
66.2123
66.139
66.0608
65.9772
65.8875
65.7912
65.6876
65.5759
65.4552
65.3245
65.1828
65.0289
64.8614
64.6787
64.4791
64.2605
64.0205
63.7565
63.4651
63.1423
62.7835
62.3827
61.9322
61.4218
60.8368
60.1553
59.3428
58.3497
57.1184
55.599
53.7589
51.582
49.0641
46.2112
43.04
39.5788
35.8788
31.9927
28.0591
24.0804
20.6231
50.8768
51.3828
51.6916
52.0691
52.5328
53.0579
53.6394
54.2736
54.9533
55.6686
56.4083
57.1599
57.9101
58.6454
59.3531
60.0221
60.6432
61.2101
61.7201
62.1738
62.5754
62.9322
63.2529
63.5473
63.8242
64.091
64.3527
64.6121
64.87
65.1255
65.3772
65.6228
65.8604
66.0881
66.3048
66.5094
66.7016
66.8812
67.0482
67.2032
67.3465
67.4787
67.6005
67.7124
67.8152
67.9094
67.9956
68.0745
68.1465
68.2121
68.2718
68.326
68.3751
68.4194
68.4593
68.4951
68.5271
68.5555
68.5805
68.6024
68.6214
68.6377
68.6514
68.6627
68.6719
68.6788
68.6839
68.6871
68.6886
68.6885
68.6869
68.6838
68.6793
68.6736
68.6666
68.6585
68.6493
68.6389
68.6276
68.6154
68.6022
68.5881
68.5732
68.5575
68.541
68.5238
68.5059
68.4874
68.4682
68.4484
68.4281
68.4072
68.3859
68.364
68.3417
68.319
68.2959
68.2723
68.2484
68.2242
68.1997
68.1748
68.1498
68.1244
68.0989
68.0731
68.0472
68.0212
67.995
67.9687
67.9423
67.9158
67.8893
67.8626
67.836
67.8092
67.7824
67.7555
67.7285
67.7015
67.6744
67.6472
67.6199
67.5925
67.565
67.5374
67.5096
67.4816
67.4535
67.4252
67.3966
67.3678
67.3387
67.3093
67.2795
67.2494
67.2188
67.1878
67.1562
67.1241
67.0914
67.058
67.0238
66.9888
66.9529
66.9159
66.8778
66.8385
66.7978
66.7556
66.7117
66.666
66.6183
66.5683
66.5158
66.4605
66.4023
66.3407
66.2754
66.206
66.1322
66.0534
65.9691
65.8787
65.7817
65.6773
65.5647
65.443
65.3113
65.1685
65.0134
64.8446
64.6605
64.4593
64.239
63.9972
63.7311
63.4375
63.1125
62.7514
62.3486
61.8971
61.388
60.8091
60.1435
59.3649
58.4338
57.296
55.8944
54.1828
52.1344
49.7384
46.9969
43.9243
40.5465
36.9108
33.0698
29.1483
25.1739
21.6333
50.9451
51.4629
51.7754
52.148
52.6079
53.1283
53.7022
54.3261
54.9931
55.6937
56.417
57.1512
57.8837
58.602
59.2944
59.9505
60.562
61.1232
61.6316
62.0875
62.4947
62.8591
63.1886
63.4914
63.7754
64.0473
64.3119
64.5721
64.8292
65.0829
65.3324
65.5759
65.8119
66.0387
66.2552
66.4603
66.6536
66.8347
67.0037
67.1608
67.3065
67.4411
67.5652
67.6795
67.7845
67.8809
67.9692
68.05
68.1238
68.1911
68.2523
68.308
68.3584
68.4039
68.445
68.4818
68.5148
68.544
68.5699
68.5925
68.6123
68.6292
68.6435
68.6553
68.665
68.6724
68.6779
68.6815
68.6834
68.6836
68.6823
68.6795
68.6753
68.6698
68.663
68.6551
68.6461
68.6359
68.6248
68.6127
68.5997
68.5857
68.5709
68.5553
68.539
68.5219
68.504
68.4856
68.4665
68.4468
68.4265
68.4057
68.3844
68.3626
68.3404
68.3177
68.2946
68.2711
68.2473
68.2231
68.1986
68.1738
68.1488
68.1234
68.0979
68.0722
68.0463
68.0203
67.9941
67.9678
67.9415
67.915
67.8884
67.8618
67.8351
67.8084
67.7816
67.7547
67.7277
67.7007
67.6736
67.6464
67.6191
67.5917
67.5642
67.5365
67.5087
67.4808
67.4526
67.4243
67.3957
67.3669
67.3377
67.3083
67.2785
67.2483
67.2177
67.1867
67.1551
67.1229
67.0901
67.0566
67.0223
66.9872
66.9512
66.9141
66.8759
66.8364
66.7956
66.7532
66.7091
66.6632
66.6152
66.5649
66.5121
66.4565
66.3979
66.3359
66.2702
66.2004
66.1261
66.0467
65.9619
65.8709
65.7732
65.668
65.5546
65.4321
65.2995
65.1558
64.9996
64.8295
64.6442
64.4416
64.2197
63.9762
63.7082
63.4126
63.0854
62.7221
62.3172
61.8641
61.3547
60.7786
60.1219
59.3649
58.4779
57.4168
56.1254
54.5478
52.6425
50.3872
47.777
44.8215
41.5434
37.985
34.1975
30.2919
26.3158
22.681
51.0047
51.534
51.8502
52.2178
52.6739
53.19
53.7572
54.3719
55.0276
55.715
56.4238
57.1425
57.8595
58.5628
59.2416
59.8863
60.4895
61.0458
61.5527
62.0107
62.4228
62.7941
63.1315
63.4422
63.7332
64.0104
64.2785
64.5404
64.7977
65.0504
65.2982
65.5398
65.7741
65.9995
66.2151
66.42
66.6135
66.7953
66.9654
67.124
67.2712
67.4076
67.5336
67.6497
67.7566
67.8548
67.9448
68.0272
68.1026
68.1714
68.234
68.2909
68.3426
68.3893
68.4314
68.4692
68.503
68.5331
68.5597
68.5831
68.6034
68.6209
68.6358
68.6482
68.6583
68.6662
68.6721
68.6761
68.6783
68.6788
68.6778
68.6753
68.6714
68.6661
68.6596
68.6519
68.643
68.6331
68.6221
68.6101
68.5972
68.5834
68.5688
68.5533
68.537
68.52
68.5023
68.4839
68.4649
68.4452
68.425
68.4043
68.3831
68.3613
68.3391
68.3165
68.2934
68.27
68.2462
68.2221
68.1976
68.1728
68.1478
68.1225
68.097
68.0714
68.0455
68.0195
67.9933
67.967
67.9407
67.9142
67.8877
67.861
67.8343
67.8076
67.7808
67.7539
67.7269
67.6999
67.6728
67.6456
67.6183
67.5909
67.5634
67.5357
67.5079
67.48
67.4518
67.4234
67.3948
67.366
67.3369
67.3074
67.2776
67.2474
67.2167
67.1856
67.154
67.1217
67.0889
67.0553
67.021
66.9858
66.9497
66.9125
66.8742
66.8346
66.7936
66.751
66.7068
66.6606
66.6124
66.5619
66.5089
66.453
66.3941
66.3318
66.2657
66.1955
66.1207
66.0409
65.9556
65.864
65.7657
65.6599
65.5459
65.4226
65.2892
65.1446
64.9874
64.8164
64.6298
64.426
64.2028
63.9577
63.6881
63.3906
63.0615
62.6961
62.2892
61.8343
61.3238
60.7483
60.096
59.3512
58.4919
57.485
56.2839
54.8321
53.0761
50.978
48.5197
45.7025
42.5432
39.0783
35.3562
31.4742
27.4947
23.7591
51.056
51.5962
51.9161
52.279
52.7316
53.2441
53.8054
54.412
55.0579
55.734
56.4301
57.1355
57.8388
58.5292
59.1963
59.8313
60.4271
60.979
61.4847
61.9443
62.3604
62.7376
63.0817
63.3992
63.6964
63.9788
64.2505
64.5147
64.7728
65.0254
65.2723
65.5127
65.7456
65.9698
66.1844
66.3887
66.582
66.764
66.9346
67.0939
67.2422
67.3797
67.5069
67.6244
67.7326
67.8321
67.9235
68.0072
68.0839
68.1538
68.2176
68.2756
68.3283
68.3759
68.4189
68.4576
68.4922
68.523
68.5503
68.5743
68.5953
68.6133
68.6287
68.6416
68.6521
68.6604
68.6667
68.671
68.6736
68.6744
68.6737
68.6714
68.6677
68.6627
68.6564
68.6488
68.6402
68.6304
68.6195
68.6077
68.595
68.5813
68.5667
68.5513
68.5352
68.5183
68.5006
68.4823
68.4634
68.4438
68.4237
68.403
68.3818
68.3601
68.338
68.3154
68.2924
68.269
68.2452
68.2211
68.1967
68.1719
68.1469
68.1217
68.0962
68.0706
68.0447
68.0187
67.9926
67.9663
67.9399
67.9135
67.8869
67.8603
67.8336
67.8069
67.7801
67.7532
67.7262
67.6992
67.6721
67.6449
67.6176
67.5902
67.5627
67.535
67.5072
67.4792
67.4511
67.4227
67.3941
67.3652
67.3361
67.3066
67.2767
67.2465
67.2158
67.1847
67.153
67.1207
67.0878
67.0542
67.0198
66.9845
66.9483
66.9111
66.8726
66.8329
66.7918
66.7491
66.7047
66.6584
66.61
66.5593
66.5061
66.45
66.3908
66.3282
66.2619
66.1913
66.1162
66.036
65.9502
65.8582
65.7594
65.6531
65.5384
65.4145
65.2805
65.1351
64.9771
64.8052
64.6177
64.4128
64.1883
63.942
63.671
63.3719
63.041
62.6739
62.2651
61.8085
61.2966
60.7206
60.0699
59.3312
58.4872
57.5136
56.3754
55.025
53.4074
51.4719
49.1832
46.5271
43.5098
40.1592
36.5188
32.6732
28.6937
24.8564
51.0985
51.6485
51.9721
52.3312
52.7805
53.2899
53.8463
54.4463
55.0838
55.7503
56.4359
57.1301
57.8222
58.5017
59.159
59.7859
60.3756
60.9238
61.4282
61.889
62.3083
62.6901
63.0396
63.3628
63.6651
63.9518
64.2269
64.4932
64.7525
65.0055
65.2522
65.492
65.7242
65.9476
66.1616
66.3654
66.5585
66.7405
66.9113
67.071
67.2198
67.358
67.486
67.6043
67.7135
67.8139
67.9062
67.9909
68.0684
68.1393
68.2039
68.2628
68.3162
68.3646
68.4083
68.4476
68.4829
68.5143
68.5421
68.5667
68.5881
68.6066
68.6224
68.6357
68.6466
68.6553
68.6619
68.6665
68.6693
68.6704
68.6699
68.6679
68.6644
68.6596
68.6534
68.6461
68.6375
68.6279
68.6172
68.6055
68.5929
68.5793
68.5648
68.5496
68.5335
68.5167
68.4991
68.4809
68.462
68.4425
68.4224
68.4018
68.3806
68.359
68.3369
68.3143
68.2914
68.268
68.2443
68.2202
68.1958
68.1711
68.1462
68.1209
68.0955
68.0699
68.044
68.018
67.9919
67.9657
67.9393
67.9129
67.8863
67.8597
67.833
67.8063
67.7795
67.7526
67.7256
67.6986
67.6715
67.6443
67.617
67.5896
67.5621
67.5344
67.5066
67.4786
67.4504
67.422
67.3934
67.3646
67.3354
67.3059
67.276
67.2458
67.2151
67.1839
67.1522
67.1199
67.0869
67.0533
67.0188
66.9835
66.9472
66.9099
66.8714
66.8316
66.7904
66.7476
66.7031
66.6566
66.6081
66.5572
66.5038
66.4475
66.3882
66.3253
66.2587
66.1879
66.1125
66.032
65.9458
65.8535
65.7543
65.6475
65.5324
65.408
65.2734
65.1274
64.9687
64.7961
64.6078
64.402
64.1766
63.9292
63.657
63.3566
63.0244
62.6557
62.2454
61.7872
61.274
60.6972
60.0467
59.3105
58.4739
57.5181
56.417
55.1346
53.6245
51.8346
49.7171
47.239
44.3882
41.1779
37.6426
33.8534
29.8853
25.9539
51.1311
51.6886
52.0163
52.3727
52.8191
53.3261
53.8787
54.4732
55.1042
55.7631
56.4403
57.1257
57.8089
58.4799
59.1296
59.7501
60.3351
60.8804
61.3838
61.8453
62.2669
62.6522
63.0059
63.3332
63.6396
63.9296
64.2073
64.4755
64.736
64.9895
65.2364
65.4761
65.7079
65.9311
66.1449
66.3485
66.5415
66.7236
66.8946
67.0546
67.2037
67.3424
67.4709
67.5898
67.6995
67.8005
67.8935
67.9787
68.0569
68.1283
68.1935
68.2529
68.3069
68.3558
68.4
68.4398
68.4755
68.5074
68.5357
68.5606
68.5824
68.6012
68.6174
68.6309
68.6421
68.6511
68.6579
68.6628
68.6658
68.6671
68.6668
68.6649
68.6616
68.6569
68.651
68.6437
68.6353
68.6258
68.6152
68.6036
68.5911
68.5776
68.5632
68.548
68.532
68.5153
68.4978
68.4796
68.4608
68.4413
68.4213
68.4007
68.3796
68.358
68.336
68.3135
68.2905
68.2672
68.2435
68.2195
68.1951
68.1704
68.1455
68.1203
68.0949
68.0693
68.0434
68.0175
67.9914
67.9651
67.9388
67.9123
67.8858
67.8592
67.8325
67.8058
67.779
67.7521
67.7252
67.6981
67.671
67.6438
67.6165
67.5891
67.5616
67.5339
67.5061
67.4781
67.4499
67.4216
67.3929
67.364
67.3349
67.3053
67.2755
67.2452
67.2145
67.1833
67.1515
67.1192
67.0862
67.0525
67.018
66.9827
66.9463
66.9089
66.8704
66.8305
66.7892
66.7464
66.7017
66.6552
66.6066
66.5556
66.502
66.4456
66.3861
66.3231
66.2563
66.1852
66.1096
66.0288
65.9424
65.8498
65.7503
65.6432
65.5277
65.4029
65.2678
65.1214
64.9622
64.789
64.6001
64.3936
64.1675
63.9193
63.6461
63.3448
63.0114
62.6415
62.23
61.7706
61.2562
60.6785
60.0277
59.2924
58.459
57.5113
56.4289
55.1844
53.7419
52.0571
50.0822
47.7732
45.0994
42.0525
38.6499
34.9456
31.0115
27.0074
51.1533
51.7145
52.0466
52.4012
52.8453
53.3505
53.9002
54.4907
55.1169
55.7703
56.4415
57.1206
57.7975
58.4626
59.107
59.723
60.3047
60.848
61.3508
61.8129
62.2362
62.624
62.9806
63.311
63.6202
63.9127
64.1924
64.462
64.7233
64.9774
65.2244
65.4642
65.696
65.9192
66.1329
66.3366
66.5297
66.712
66.8832
67.0435
67.193
67.332
67.4609
67.5802
67.6903
67.7917
67.885
67.9707
68.0492
68.121
68.1865
68.2463
68.3006
68.3499
68.3944
68.4345
68.4705
68.5026
68.5311
68.5563
68.5783
68.5974
68.6138
68.6275
68.6389
68.648
68.655
68.66
68.6632
68.6647
68.6645
68.6628
68.6596
68.655
68.6491
68.642
68.6337
68.6242
68.6137
68.6022
68.5897
68.5763
68.562
68.5469
68.5309
68.5142
68.4968
68.4786
68.4598
68.4404
68.4204
68.3999
68.3788
68.3573
68.3352
68.3128
68.2899
68.2666
68.2429
68.2189
68.1945
68.1699
68.145
68.1198
68.0944
68.0688
68.043
68.0171
67.991
67.9647
67.9384
67.912
67.8855
67.8589
67.8322
67.8055
67.7787
67.7518
67.7248
67.6978
67.6707
67.6435
67.6162
67.5888
67.5613
67.5336
67.5058
67.4778
67.4496
67.4212
67.3926
67.3637
67.3345
67.305
67.2751
67.2448
67.2141
67.1828
67.1511
67.1187
67.0857
67.052
67.0174
66.982
66.9457
66.9082
66.8696
66.8297
66.7884
66.7454
66.7008
66.6542
66.6054
66.5544
66.5007
66.4442
66.3845
66.3214
66.2544
66.1833
66.1074
66.0265
65.9399
65.847
65.7473
65.6399
65.5242
65.3991
65.2637
65.1169
64.9574
64.7838
64.5944
64.3875
64.1608
63.9119
63.6381
63.336
63.0019
62.6312
62.2187
61.7585
61.2433
60.6649
60.0137
59.2786
58.4465
57.5024
56.428
55.2012
53.7935
52.1692
50.2863
48.1014
45.5761
42.6859
39.4283
35.8348
31.9642
27.925
51.1693
51.7324
52.07
52.4241
52.8667
53.3709
53.9191
54.5073
55.1306
55.7806
56.4481
57.1232
57.7961
58.4573
59.0981
59.711
60.2903
60.8319
61.3339
61.796
62.2199
62.6089
62.967
63.299
63.6098
63.9037
64.1844
64.4548
64.7166
64.971
65.2181
65.4579
65.6897
65.9128
66.1265
66.3303
66.5235
66.7059
66.8774
67.0379
67.1877
67.3269
67.4561
67.5756
67.686
67.7876
67.8812
67.967
68.0457
68.1178
68.1835
68.2435
68.298
68.3474
68.392
68.4323
68.4684
68.5007
68.5293
68.5546
68.5767
68.5959
68.6124
68.6262
68.6377
68.6468
68.6539
68.659
68.6623
68.6638
68.6636
68.6619
68.6588
68.6542
68.6484
68.6413
68.633
68.6236
68.6131
68.6016
68.5892
68.5758
68.5615
68.5464
68.5304
68.5137
68.4963
68.4782
68.4594
68.44
68.4201
68.3995
68.3785
68.3569
68.3349
68.3124
68.2895
68.2662
68.2426
68.2186
68.1943
68.1696
68.1447
68.1196
68.0942
68.0686
68.0428
68.0168
67.9907
67.9645
67.9382
67.9118
67.8853
67.8587
67.832
67.8053
67.7785
67.7516
67.7247
67.6976
67.6705
67.6433
67.616
67.5886
67.5611
67.5334
67.5056
67.4776
67.4494
67.421
67.3924
67.3635
67.3343
67.3048
67.2749
67.2446
67.2138
67.1826
67.1508
67.1184
67.0854
67.0516
67.0171
66.9816
66.9452
66.9078
66.8691
66.8292
66.7878
66.7448
66.7001
66.6534
66.6046
66.5535
66.4997
66.4431
66.3833
66.3201
66.253
66.1818
66.1058
66.0247
65.9379
65.8449
65.745
65.6374
65.5215
65.3961
65.2605
65.1134
64.9536
64.7796
64.5898
64.3824
64.1553
63.9059
63.6315
63.3288
62.9939
62.6224
62.2091
61.748
61.2319
60.6526
60.0006
59.2649
58.4326
57.489
56.4169
55.1958
53.801
52.2027
50.3651
48.2485
45.8141
43.0314
39.8867
36.3937
32.5945
28.5561
51.1435
51.7062
52.0469
52.3983
52.8374
53.3385
53.8835
54.4683
55.0883
55.7354
56.4004
57.0735
57.7451
58.4057
59.0467
59.6608
60.242
60.7862
61.2912
61.7568
62.1845
62.5771
62.9387
63.2739
63.5875
63.8837
64.1662
64.438
64.7009
64.9559
65.2036
65.4438
65.6758
65.8992
66.1131
66.317
66.5103
66.6928
66.8643
67.0248
67.1745
67.3137
67.4428
67.5623
67.6725
67.7741
67.8675
67.9533
68.0319
68.1039
68.1696
68.2295
68.284
68.3335
68.3782
68.4185
68.4547
68.4871
68.5159
68.5414
68.5637
68.5831
68.5997
68.6138
68.6255
68.6349
68.6423
68.6476
68.6512
68.6529
68.6531
68.6517
68.6488
68.6446
68.639
68.6322
68.6242
68.6151
68.6049
68.5936
68.5814
68.5683
68.5543
68.5394
68.5237
68.5073
68.4901
68.4722
68.4537
68.4345
68.4148
68.3945
68.3736
68.3523
68.3305
68.3082
68.2855
68.2624
68.2389
68.2151
68.191
68.1665
68.1418
68.1168
68.0915
68.0661
68.0404
68.0146
67.9887
67.9626
67.9364
67.91
67.8836
67.8571
67.8306
67.8039
67.7772
67.7504
67.7235
67.6966
67.6695
67.6424
67.6152
67.5878
67.5603
67.5327
67.5049
67.477
67.4488
67.4205
67.3919
67.363
67.3339
67.3044
67.2746
67.2443
67.2136
67.1824
67.1507
67.1184
67.0855
67.0518
67.0174
66.9821
66.9458
66.9084
66.8699
66.8301
66.7889
66.7461
66.7016
66.6551
66.6066
66.5557
66.5022
66.4459
66.3865
66.3236
66.257
66.1861
66.1107
66.0301
65.9439
65.8515
65.7523
65.6455
65.5304
65.406
65.2714
65.1254
64.9668
64.7941
64.6059
64.4001
64.1748
63.9274
63.6552
63.355
63.0228
62.6544
62.2446
61.7872
61.2755
60.7011
60.0547
59.3253
58.5003
57.5652
56.5032
55.2947
53.9168
52.3425
50.5402
48.4742
46.1063
43.4022
40.3387
36.917
33.1671
29.133
40.5374
40.156
39.7658
39.1021
38.557
38.2291
38.2232
38.5686
39.2619
40.2774
41.5742
43.0994
44.798
46.615
48.4976
50.3983
52.2778
54.1048
55.8548
57.5079
59.0484
60.4642
61.7524
62.9111
63.9276
64.7998
65.5422
66.1691
66.6947
67.1325
67.4953
67.7945
68.0402
68.2414
68.4054
68.5386
68.6464
68.733
68.8023
68.8571
68.9
68.933
68.9579
68.9759
68.9885
68.9963
69.0004
69.0012
68.9994
68.9954
68.9896
68.9822
68.9737
68.964
68.9534
68.9421
68.9302
68.9176
68.9046
68.8912
68.8774
68.8632
68.8487
68.8339
68.8188
68.8034
68.7877
68.7717
68.7555
68.739
68.7222
68.705
68.6876
68.67
68.652
68.6337
68.6151
68.5962
68.577
68.5575
68.5377
68.5177
68.4973
68.4767
68.4557
68.4346
68.4131
68.3914
68.3695
68.3474
68.3251
68.3026
68.2799
68.257
68.2341
68.211
68.1878
68.1645
68.1411
68.1177
68.0942
68.0707
68.0472
68.0236
68.0001
67.9765
67.953
67.9295
67.9059
67.8824
67.8589
67.8354
67.8119
67.7884
67.765
67.7415
67.7181
67.6946
67.6712
67.6478
67.6244
67.601
67.5777
67.5544
67.5312
67.508
67.4849
67.4618
67.4389
67.4161
67.3935
67.3711
67.3488
67.3268
67.3051
67.2837
67.2627
67.2422
67.2221
67.2026
67.1837
67.1656
67.1483
67.1319
67.1165
67.1023
67.0895
67.0781
67.0683
67.0604
67.0546
67.0511
67.0502
67.0522
67.0575
67.0664
67.0793
67.0968
67.1193
67.1474
67.1819
67.2232
67.2724
67.3301
67.3975
67.4753
67.5649
67.6674
67.784
67.916
68.0649
68.232
68.4188
68.6264
68.8562
69.109
69.3854
69.6856
70.0092
70.3549
70.7208
71.1037
71.4995
71.9028
72.3073
72.7059
73.0908
73.4544
73.7896
74.0903
74.3522
74.5732
74.7534
74.8952
75.0025
75.0798
75.1298
75.1602
75.1562
75.1656
41.0435
40.4305
40.0252
39.3203
38.7385
38.3638
38.3065
38.5963
39.2316
40.1891
41.4296
42.9029
44.5564
46.337
48.1924
50.0749
51.9438
53.7658
55.5151
57.1709
58.7176
60.1462
61.452
62.6277
63.6613
64.5531
65.3159
65.9632
66.5084
66.9648
67.3449
67.6599
67.9201
68.1342
68.3098
68.4533
68.5702
68.6649
68.7413
68.8023
68.8507
68.8886
68.9178
68.9397
68.9556
68.9664
68.9731
68.9763
68.9766
68.9744
68.9703
68.9645
68.9573
68.9488
68.9394
68.9291
68.918
68.9063
68.8941
68.8813
68.8682
68.8545
68.8406
68.8262
68.8116
68.7966
68.7812
68.7656
68.7497
68.7334
68.7168
68.7
68.6828
68.6653
68.6475
68.6293
68.6109
68.5921
68.5731
68.5537
68.534
68.5141
68.4938
68.4732
68.4524
68.4313
68.4099
68.3883
68.3665
68.3444
68.3221
68.2997
68.2771
68.2543
68.2314
68.2083
68.1852
68.162
68.1387
68.1153
68.0919
68.0685
68.0451
68.0216
67.9981
67.9746
67.9512
67.9277
67.9043
67.8808
67.8574
67.834
67.8105
67.7871
67.7637
67.7404
67.717
67.6936
67.6702
67.6469
67.6236
67.6002
67.577
67.5537
67.5305
67.5074
67.4843
67.4613
67.4384
67.4157
67.3931
67.3707
67.3485
67.3265
67.3049
67.2835
67.2626
67.2421
67.222
67.2026
67.1838
67.1657
67.1485
67.1322
67.117
67.1029
67.0902
67.0789
67.0694
67.0617
67.0561
67.0528
67.0522
67.0545
67.0601
67.0694
67.0828
67.1007
67.1238
67.1525
67.1876
67.2297
67.2797
67.3384
67.4068
67.4859
67.5768
67.6807
67.799
67.9329
68.0838
68.2533
68.4426
68.6532
68.8862
69.1425
69.4228
69.7273
70.0556
70.4064
70.7776
71.1662
71.5677
71.9768
72.387
72.7908
73.1804
73.5477
73.8853
74.1869
74.448
74.6662
74.8414
74.976
75.0737
75.14
75.1785
75.1998
75.1895
75.2081
41.2114
40.4515
40.0621
39.334
38.753
38.37
38.2955
38.5534
39.1444
40.048
41.2298
42.6445
44.2437
45.9782
47.7977
49.6549
51.5078
53.3214
55.0682
56.727
58.2855
59.7322
61.0585
62.2591
63.3221
64.2459
65.0404
65.7178
66.291
66.773
67.1762
67.5118
67.7902
68.0203
68.21
68.3658
68.4933
68.5973
68.6818
68.7499
68.8044
68.8476
68.8815
68.9074
68.9269
68.9409
68.9503
68.9559
68.9583
68.9581
68.9556
68.9513
68.9453
68.938
68.9296
68.9202
68.91
68.899
68.8875
68.8753
68.8626
68.8495
68.8359
68.822
68.8077
68.793
68.7779
68.7625
68.7468
68.7308
68.7144
68.6977
68.6807
68.6633
68.6456
68.6276
68.6093
68.5906
68.5717
68.5524
68.5328
68.5129
68.4927
68.4722
68.4514
68.4303
68.409
68.3875
68.3657
68.3436
68.3214
68.299
68.2764
68.2536
68.2307
68.2077
68.1846
68.1614
68.1382
68.1148
68.0914
68.068
68.0446
68.0211
67.9977
67.9742
67.9508
67.9273
67.9039
67.8805
67.857
67.8336
67.8102
67.7868
67.7635
67.7401
67.7167
67.6934
67.67
67.6467
67.6233
67.6
67.5768
67.5535
67.5303
67.5072
67.4841
67.4611
67.4382
67.4155
67.3929
67.3705
67.3483
67.3263
67.3047
67.2833
67.2624
67.2418
67.2218
67.2023
67.1835
67.1654
67.1482
67.1318
67.1165
67.1024
67.0897
67.0784
67.0687
67.061
67.0553
67.0519
67.0512
67.0534
67.0589
67.068
67.0812
67.099
67.1218
67.1504
67.1852
67.227
67.2767
67.3351
67.403
67.4817
67.5721
67.6755
67.7932
67.9265
68.0768
68.2455
68.4341
68.6439
68.876
69.1316
69.4112
69.715
70.0428
70.3932
70.7644
71.1532
71.5553
71.9655
72.3771
72.7828
73.1747
73.5445
73.8848
74.1891
74.4527
74.6729
74.8498
74.9854
75.0839
75.1508
75.1898
75.2131
75.2021
75.2338
41.121
40.3522
39.9975
39.2645
38.6967
38.3163
38.2336
38.466
39.0173
39.8706
40.9959
42.3538
43.9
45.5888
47.3729
49.2051
51.0429
52.8495
54.5976
56.2686
57.8466
59.315
60.6646
61.8894
62.9798
63.9336
64.7582
65.4646
66.0649
66.5718
66.9976
67.3534
67.6499
67.896
68.0998
68.268
68.4065
68.5201
68.6129
68.6884
68.7495
68.7984
68.8373
68.8677
68.8911
68.9086
68.9211
68.9295
68.9344
68.9363
68.9358
68.9332
68.9288
68.9229
68.9158
68.9075
68.8983
68.8883
68.8775
68.8661
68.8542
68.8417
68.8287
68.8152
68.8014
68.7871
68.7725
68.7575
68.7421
68.7263
68.7102
68.6938
68.677
68.6599
68.6424
68.6246
68.6064
68.5879
68.5691
68.5499
68.5305
68.5107
68.4906
68.4702
68.4495
68.4285
68.4073
68.3858
68.364
68.3421
68.3199
68.2975
68.275
68.2523
68.2295
68.2065
68.1834
68.1603
68.137
68.1137
68.0904
68.067
68.0436
68.0202
67.9968
67.9734
67.95
67.9265
67.9031
67.8797
67.8564
67.833
67.8096
67.7862
67.7629
67.7395
67.7162
67.6929
67.6695
67.6462
67.6229
67.5996
67.5764
67.5531
67.5299
67.5068
67.4837
67.4608
67.4379
67.4152
67.3926
67.3701
67.3479
67.326
67.3043
67.2829
67.262
67.2414
67.2213
67.2018
67.183
67.1649
67.1476
67.1312
67.1159
67.1017
67.0888
67.0775
67.0678
67.0599
67.0541
67.0506
67.0498
67.0518
67.0571
67.066
67.079
67.0965
67.1191
67.1473
67.1817
67.2232
67.2724
67.3302
67.3976
67.4756
67.5653
67.6679
67.7847
67.917
68.0662
68.2338
68.4211
68.6295
68.8602
69.1143
69.3925
69.6949
70.0213
70.3706
70.7409
71.1291
71.5311
71.9416
72.3542
72.7613
73.1551
73.5275
73.8706
74.1779
74.4445
74.6677
74.8473
74.9856
75.0864
75.1554
75.196
75.221
75.2066
75.2441
40.9839
40.1962
39.8703
39.1415
38.5903
38.2157
38.1287
38.3407
38.8584
39.6681
40.7441
42.0523
43.5513
45.1989
46.9495
48.7568
50.5779
52.3774
54.1312
55.8168
57.4133
58.904
60.2774
61.5258
62.6417
63.6233
64.476
65.2097
65.8357
66.3665
66.8139
67.1894
67.5035
67.7654
67.9831
68.1637
68.3132
68.4365
68.5379
68.621
68.6888
68.7437
68.7879
68.8229
68.8505
68.8717
68.8875
68.8988
68.9064
68.9107
68.9123
68.9116
68.909
68.9047
68.899
68.892
68.884
68.875
68.8652
68.8547
68.8435
68.8317
68.8194
68.8066
68.7933
68.7796
68.7654
68.7508
68.7358
68.7205
68.7047
68.6886
68.6721
68.6552
68.638
68.6204
68.6025
68.5842
68.5655
68.5466
68.5272
68.5076
68.4876
68.4674
68.4468
68.4259
68.4048
68.3834
68.3618
68.3399
68.3178
68.2955
68.273
68.2504
68.2276
68.2047
68.1817
68.1586
68.1355
68.1122
68.0889
68.0656
68.0423
68.0189
67.9955
67.9722
67.9488
67.9254
67.9021
67.8787
67.8554
67.832
67.8087
67.7854
67.7621
67.7388
67.7155
67.6922
67.6689
67.6456
67.6223
67.599
67.5758
67.5526
67.5294
67.5063
67.4832
67.4603
67.4374
67.4147
67.3921
67.3696
67.3474
67.3255
67.3038
67.2824
67.2614
67.2408
67.2207
67.2012
67.1823
67.1641
67.1468
67.1303
67.1149
67.1007
67.0877
67.0762
67.0664
67.0584
67.0525
67.0488
67.0478
67.0496
67.0547
67.0633
67.076
67.0932
67.1153
67.1431
67.177
67.2179
67.2665
67.3236
67.3903
67.4674
67.5561
67.6576
67.7731
67.9041
68.0518
68.2178
68.4034
68.61
68.8388
69.0909
69.3671
69.6676
69.9923
70.3401
70.7092
71.0967
71.4986
71.9097
72.3235
72.7329
73.1296
73.5055
73.8528
74.1645
74.4356
74.6631
74.8466
74.9883
75.092
75.1632
75.2045
75.2296
75.21
75.2545
40.8224
39.9958
39.6883
38.9689
38.4367
38.0713
37.9843
38.1815
38.6727
39.4472
40.4835
41.7521
43.2125
44.8249
46.5447
48.3259
50.1283
51.9216
53.6787
55.3727
56.984
58.4949
59.8914
61.1639
62.3054
63.3141
64.1942
64.9543
65.6054
66.1594
66.6281
67.0229
67.3543
67.6317
67.8633
68.0562
68.2167
68.3497
68.4598
68.5505
68.6251
68.686
68.7355
68.7754
68.8072
68.8322
68.8515
68.8658
68.8761
68.8829
68.8868
68.8881
68.8873
68.8846
68.8804
68.8748
68.868
68.8601
68.8514
68.8418
68.8315
68.8205
68.8089
68.7967
68.7841
68.7709
68.7573
68.7431
68.7286
68.7136
68.6983
68.6825
68.6663
68.6498
68.6328
68.6155
68.5978
68.5797
68.5613
68.5425
68.5234
68.5039
68.4841
68.464
68.4436
68.4229
68.4019
68.3806
68.359
68.3373
68.3153
68.2931
68.2707
68.2481
68.2254
68.2026
68.1797
68.1566
68.1335
68.1104
68.0871
68.0639
68.0406
68.0173
67.994
67.9707
67.9474
67.9241
67.9008
67.8775
67.8542
67.8309
67.8076
67.7844
67.7611
67.7378
67.7146
67.6913
67.668
67.6448
67.6215
67.5983
67.5751
67.5519
67.5288
67.5056
67.4826
67.4596
67.4368
67.414
67.3914
67.369
67.3468
67.3248
67.3031
67.2817
67.2607
67.24
67.2199
67.2003
67.1814
67.1632
67.1457
67.1292
67.1137
67.0993
67.0863
67.0747
67.0647
67.0565
67.0504
67.0465
67.0452
67.0468
67.0515
67.0598
67.0721
67.0888
67.1104
67.1376
67.1709
67.2111
67.2589
67.3151
67.3806
67.4566
67.544
67.6441
67.758
67.8872
68.033
68.1969
68.3802
68.5843
68.8106
69.06
69.3335
69.6314
69.9536
70.2992
70.6665
71.0529
71.4544
71.866
72.2814
72.6934
73.0939
73.4746
73.8274
74.1453
74.4226
74.6562
74.8454
74.992
75.0995
75.1734
75.2151
75.2397
75.2143
75.268
40.6196
39.7524
39.4557
38.7496
38.2388
37.8862
37.8033
37.9917
38.4639
39.2129
40.2217
41.464
42.8983
44.4846
46.1779
47.9338
49.7193
51.5025
53.2532
54.9479
56.5682
58.0951
59.5124
60.8082
61.9749
63.0099
63.9164
64.7021
65.3775
65.9539
66.4432
66.8567
67.205
67.4975
67.7427
67.9478
68.119
68.2616
68.3803
68.4786
68.56
68.6269
68.6819
68.7265
68.7627
68.7915
68.8142
68.8316
68.8447
68.854
68.8601
68.8635
68.8646
68.8636
68.8609
68.8566
68.8511
68.8444
68.8367
68.8281
68.8187
68.8085
68.7977
68.7862
68.7742
68.7616
68.7485
68.7349
68.7208
68.7063
68.6913
68.6759
68.6601
68.6439
68.6272
68.6102
68.5927
68.5749
68.5567
68.5381
68.5192
68.4999
68.4803
68.4603
68.4401
68.4195
68.3986
68.3774
68.356
68.3344
68.3125
68.2904
68.2681
68.2456
68.223
68.2003
68.1774
68.1544
68.1314
68.1083
68.0852
68.062
68.0388
68.0156
67.9923
67.9691
67.9458
67.9226
67.8994
67.8761
67.8529
67.8297
67.8065
67.7833
67.76
67.7368
67.7136
67.6904
67.6672
67.6439
67.6207
67.5975
67.5743
67.5512
67.528
67.5049
67.4819
67.459
67.4361
67.4133
67.3907
67.3683
67.3461
67.324
67.3023
67.2809
67.2598
67.2391
67.219
67.1993
67.1803
67.162
67.1445
67.1278
67.1122
67.0977
67.0845
67.0727
67.0626
67.0542
67.0478
67.0437
67.042
67.0432
67.0476
67.0554
67.0672
67.0834
67.1044
67.1309
67.1634
67.2026
67.2494
67.3044
67.3687
67.4432
67.529
67.6273
67.7392
67.8662
68.0095
68.1707
68.3511
68.5521
68.775
69.021
69.291
69.5853
69.9041
70.2467
70.6114
70.9959
71.3965
71.8082
72.2251
72.64
73.0449
73.4313
73.7909
74.1165
74.402
74.6438
74.8405
74.9938
75.1067
75.184
75.2265
75.2505
75.2194
75.2842
40.3706
39.4713
39.1803
38.4904
38.0022
37.6649
37.5892
37.7737
38.2343
38.9682
39.9632
41.1956
42.6193
44.1916
45.8658
47.603
49.372
51.1357
52.8692
54.5554
56.1769
57.7138
59.1479
60.4648
61.655
62.7148
63.6464
64.4564
65.1548
65.7525
66.2615
66.693
67.0575
67.3647
67.623
67.8398
68.0215
68.1736
68.3006
68.4064
68.4944
68.5673
68.6276
68.677
68.7174
68.7501
68.7762
68.7968
68.8127
68.8245
68.8329
68.8383
68.8412
68.8419
68.8408
68.838
68.8337
68.8282
68.8216
68.814
68.8055
68.7961
68.7861
68.7753
68.7639
68.7519
68.7394
68.7263
68.7127
68.6986
68.6841
68.6691
68.6536
68.6377
68.6214
68.6046
68.5874
68.5699
68.5519
68.5335
68.5148
68.4957
68.4763
68.4565
68.4364
68.4159
68.3952
68.3742
68.3529
68.3313
68.3095
68.2875
68.2653
68.243
68.2204
68.1978
68.175
68.1521
68.1292
68.1062
68.0831
68.06
68.0369
68.0137
67.9906
67.9674
67.9442
67.9211
67.8979
67.8747
67.8516
67.8284
67.8053
67.7821
67.7589
67.7358
67.7126
67.6894
67.6662
67.6431
67.6199
67.5967
67.5735
67.5504
67.5273
67.5042
67.4812
67.4582
67.4353
67.4126
67.39
67.3675
67.3452
67.3232
67.3014
67.2799
67.2588
67.2381
67.2179
67.1982
67.1791
67.1606
67.143
67.1263
67.1105
67.0959
67.0825
67.0705
67.0601
67.0514
67.0447
67.0403
67.0383
67.0391
67.043
67.0503
67.0615
67.077
67.0972
67.1229
67.1544
67.1926
67.2381
67.2918
67.3546
67.4273
67.5112
67.6073
67.7168
67.8411
67.9814
68.1393
68.3162
68.5134
68.7322
68.974
69.2395
69.5294
69.8439
70.1824
70.5437
70.9254
71.3242
71.7356
72.1537
72.5714
72.9809
73.3738
73.7415
74.0763
74.3718
74.6237
74.8302
74.9922
75.1121
75.1941
75.2379
75.2616
75.225
75.3021
40.0783
39.1589
38.8701
38.1984
37.733
37.4124
37.3458
37.5302
37.9855
38.7142
39.7102
40.9513
42.3832
43.9569
45.6253
47.3537
49.1034
50.8372
52.5428
54.2094
55.8222
57.3612
58.8062
60.1399
61.3507
62.4329
63.3874
64.2199
64.9396
65.5574
66.0848
66.5332
66.9131
67.2342
67.505
67.7331
67.925
68.0861
68.2212
68.3344
68.4289
68.5077
68.5732
68.6273
68.672
68.7084
68.738
68.7616
68.7803
68.7946
68.8053
68.8128
68.8176
68.82
68.8204
68.819
68.8161
68.8117
68.8062
68.7996
68.792
68.7835
68.7742
68.7642
68.7535
68.7421
68.7301
68.7175
68.7045
68.6908
68.6767
68.6621
68.647
68.6314
68.6154
68.5989
68.582
68.5647
68.547
68.5289
68.5104
68.4915
68.4722
68.4526
68.4326
68.4123
68.3917
68.3708
68.3497
68.3282
68.3066
68.2847
68.2626
68.2403
68.2179
68.1953
68.1726
68.1498
68.127
68.104
68.081
68.058
68.035
68.0119
67.9888
67.9657
67.9426
67.9195
67.8965
67.8734
67.8503
67.8272
67.8041
67.781
67.7579
67.7348
67.7116
67.6885
67.6654
67.6422
67.619
67.5959
67.5727
67.5496
67.5265
67.5034
67.4804
67.4574
67.4346
67.4118
67.3892
67.3667
67.3444
67.3223
67.3005
67.2789
67.2578
67.237
67.2167
67.1969
67.1777
67.1591
67.1414
67.1245
67.1086
67.0937
67.0801
67.0679
67.0572
67.0483
67.0413
67.0365
67.0341
67.0344
67.0377
67.0444
67.0549
67.0696
67.0891
67.1137
67.1441
67.1811
67.2252
67.2773
67.3382
67.409
67.4906
67.5842
67.6909
67.812
67.949
68.103
68.2757
68.4684
68.6824
68.919
69.1793
69.4638
69.773
70.1065
70.4632
70.8413
71.2375
71.6478
72.0665
72.4869
72.9012
73.3011
73.6777
74.0232
74.3304
74.5946
74.8131
74.9859
75.1146
75.2028
75.2486
75.2725
75.2309
75.3216
39.7483
38.8215
38.5324
37.8801
37.4367
37.1328
37.0759
37.2627
37.7179
38.4508
39.4622
40.7316
42.1922
43.7862
45.4676
47.198
48.9241
50.6205
52.2873
53.922
55.5142
57.0455
58.4938
59.8388
61.066
62.1674
63.1422
63.9948
64.734
65.3702
65.9147
66.3787
66.773
67.1071
67.3899
67.6287
67.8302
68
68.143
68.2631
68.364
68.4485
68.5191
68.5778
68.6266
68.6668
68.6997
68.7264
68.7478
68.7646
68.7776
68.7871
68.7938
68.7979
68.7999
68.7999
68.7983
68.7951
68.7907
68.7851
68.7784
68.7708
68.7623
68.753
68.7429
68.7322
68.7208
68.7087
68.6961
68.683
68.6693
68.655
68.6403
68.6251
68.6094
68.5933
68.5767
68.5596
68.5421
68.5242
68.5059
68.4872
68.4682
68.4487
68.4289
68.4088
68.3883
68.3676
68.3465
68.3252
68.3036
68.2818
68.2598
68.2377
68.2153
68.1929
68.1703
68.1476
68.1248
68.1019
68.079
68.0561
68.0331
68.0101
67.9871
67.9641
67.9411
67.9181
67.8951
67.872
67.849
67.826
67.803
67.7799
67.7569
67.7338
67.7107
67.6876
67.6645
67.6414
67.6183
67.5951
67.572
67.5489
67.5258
67.5027
67.4797
67.4567
67.4338
67.411
67.3883
67.3658
67.3435
67.3213
67.2995
67.2779
67.2566
67.2358
67.2154
67.1955
67.1762
67.1575
67.1396
67.1225
67.1064
67.0914
67.0776
67.0651
67.0541
67.0448
67.0375
67.0322
67.0293
67.0291
67.0318
67.0379
67.0476
67.0614
67.0799
67.1034
67.1326
67.1681
67.2106
67.2609
67.3199
67.3884
67.4674
67.5581
67.6617
67.7793
67.9122
68.062
68.2299
68.4174
68.6259
68.8565
69.1106
69.3888
69.6917
70.019
70.3702
70.7435
71.1362
71.5445
71.9632
72.3858
72.805
73.2121
73.5985
73.9558
74.2764
74.5548
74.7874
74.9734
75.113
75.209
75.2579
75.2827
75.2369
75.3421
39.3863
38.4646
38.1738
37.5415
37.1187
36.8306
36.7828
36.9731
37.4313
38.1757
39.2159
40.5328
42.0435
43.6813
45.397
47.14
48.8429
50.4973
52.1154
53.7055
55.2644
56.7766
58.2189
59.568
60.8061
61.9223
62.9139
63.7839
64.5402
65.1926
65.7525
66.2308
66.6382
66.9845
67.2782
67.5271
67.7377
67.9158
68.0662
68.1931
68.3001
68.39
68.4656
68.5288
68.5816
68.6255
68.6617
68.6914
68.7155
68.7348
68.75
68.7616
68.7701
68.7759
68.7794
68.7808
68.7805
68.7786
68.7752
68.7706
68.7649
68.7581
68.7504
68.7418
68.7324
68.7223
68.7115
68.7
68.6879
68.6752
68.6619
68.6481
68.6338
68.6189
68.6035
68.5877
68.5714
68.5546
68.5374
68.5197
68.5016
68.4831
68.4642
68.445
68.4253
68.4053
68.385
68.3644
68.3435
68.3223
68.3008
68.2791
68.2572
68.2351
68.2129
68.1905
68.168
68.1454
68.1227
68.0999
68.0771
68.0543
68.0314
68.0085
67.9856
67.9626
67.9397
67.9167
67.8938
67.8708
67.8479
67.8249
67.8019
67.7789
67.7559
67.7329
67.7099
67.6868
67.6637
67.6406
67.6175
67.5944
67.5713
67.5481
67.525
67.502
67.4789
67.4559
67.433
67.4102
67.3875
67.3649
67.3426
67.3204
67.2984
67.2768
67.2555
67.2345
67.214
67.194
67.1746
67.1558
67.1377
67.1204
67.1041
67.0889
67.0748
67.062
67.0507
67.041
67.0333
67.0275
67.0241
67.0233
67.0254
67.0306
67.0395
67.0524
67.0697
67.092
67.1199
67.1538
67.1946
67.2429
67.2996
67.3656
67.4418
67.5293
67.6293
67.7429
67.8715
68.0164
68.179
68.3606
68.5628
68.7868
69.0337
69.3047
69.6002
69.9204
70.2648
70.6322
71.0203
71.4257
71.8435
72.2679
72.6915
73.1061
73.5028
73.8729
74.2083
74.5028
74.7517
74.9531
75.1059
75.2116
75.2649
75.2915
75.2426
75.3635
38.9988
38.0935
37.8004
37.188
36.7835
36.5092
36.4687
36.6617
37.1243
37.8853
38.9652
40.3473
41.9292
43.6362
45.4091
47.1756
48.8616
50.4729
52.0347
53.5685
55.0811
56.5617
57.9875
59.3325
60.575
61.701
62.7053
63.5893
64.3599
65.0264
65.5997
66.0907
66.51
66.8672
67.171
67.4292
67.6483
67.8341
67.9916
68.1248
68.2376
68.3328
68.4131
68.4807
68.5374
68.5847
68.6242
68.6568
68.6836
68.7053
68.7226
68.7362
68.7466
68.7541
68.7591
68.7619
68.7629
68.7621
68.7599
68.7562
68.7514
68.7455
68.7386
68.7307
68.722
68.7125
68.7023
68.6914
68.6798
68.6675
68.6547
68.6413
68.6273
68.6128
68.5978
68.5822
68.5662
68.5497
68.5327
68.5153
68.4974
68.4791
68.4604
68.4413
68.4219
68.402
68.3818
68.3613
68.3405
68.3195
68.2981
68.2765
68.2547
68.2328
68.2106
68.1883
68.1659
68.1434
68.1208
68.0981
68.0754
68.0526
68.0298
68.0069
67.9841
67.9612
67.9384
67.9155
67.8926
67.8697
67.8469
67.8239
67.801
67.7781
67.7551
67.7321
67.7091
67.6861
67.663
67.6399
67.6168
67.5937
67.5706
67.5475
67.5244
67.5013
67.4782
67.4552
67.4323
67.4094
67.3867
67.3641
67.3416
67.3194
67.2974
67.2756
67.2542
67.2332
67.2126
67.1924
67.1729
67.1539
67.1357
67.1182
67.1017
67.0862
67.0718
67.0587
67.047
67.037
67.0287
67.0225
67.0185
67.017
67.0184
67.0228
67.0308
67.0426
67.0587
67.0797
67.106
67.1383
67.1771
67.2233
67.2775
67.3407
67.4139
67.4979
67.594
67.7033
67.827
67.9665
68.1232
68.2984
68.4936
68.71
68.9491
69.2117
69.4989
69.8108
70.1474
70.5078
70.89
71.2913
71.7074
72.1327
72.5603
72.9822
73.3895
73.7732
74.1248
74.437
74.7043
74.9234
75.0916
75.2092
75.2685
75.2983
75.2476
75.3853
38.5922
37.7134
37.4177
36.8248
36.4358
36.1726
36.1363
36.3296
36.795
37.5745
38.7018
40.1635
41.8367
43.6375
45.4911
47.2953
48.9757
50.5475
52.0494
53.5181
54.9724
56.4091
57.8071
59.1384
60.3778
61.5075
62.5197
63.4137
64.1954
64.8732
65.4577
65.9596
66.3892
66.7561
67.069
67.3355
67.5624
67.7553
67.9194
68.0586
68.1769
68.277
68.3619
68.4335
68.494
68.5448
68.5874
68.6228
68.6521
68.6762
68.6957
68.7112
68.7234
68.7325
68.7391
68.7433
68.7455
68.7459
68.7447
68.7421
68.7382
68.7331
68.727
68.7199
68.7119
68.703
68.6933
68.6829
68.6719
68.6601
68.6477
68.6347
68.6211
68.6069
68.5922
68.577
68.5612
68.545
68.5283
68.5111
68.4934
68.4753
68.4568
68.4379
68.4186
68.3989
68.3789
68.3585
68.3378
68.3168
68.2956
68.2741
68.2524
68.2305
68.2085
68.1863
68.164
68.1415
68.119
68.0964
68.0738
68.0511
68.0283
68.0056
67.9828
67.96
67.9372
67.9144
67.8916
67.8688
67.846
67.8231
67.8002
67.7773
67.7544
67.7314
67.7085
67.6854
67.6624
67.6393
67.6162
67.5931
67.57
67.5469
67.5238
67.5006
67.4776
67.4545
67.4315
67.4086
67.3859
67.3632
67.3407
67.3184
67.2963
67.2745
67.253
67.2318
67.2111
67.1908
67.1711
67.152
67.1335
67.1159
67.0991
67.0833
67.0686
67.0552
67.0431
67.0327
67.0239
67.0171
67.0125
67.0104
67.0109
67.0145
67.0214
67.0321
67.047
67.0665
67.0912
67.1216
67.1583
67.2021
67.2538
67.314
67.3838
67.4641
67.5559
67.6605
67.7789
67.9126
68.0628
68.231
68.4185
68.6267
68.8569
69.1104
69.3881
69.6907
70.0182
70.3703
70.7456
71.1416
71.5548
71.9802
72.4112
72.84
73.258
73.6559
74.0246
74.3561
74.6437
74.8827
75.0688
75.2004
75.2677
75.3022
75.2515
75.4072
38.1735
37.3294
37.031
36.4566
36.0796
35.8235
35.7868
35.9758
36.44
37.2366
38.415
39.9668
41.7491
43.6661
45.6227
47.4827
49.173
50.7138
52.1568
53.555
54.9414
56.3228
57.6819
58.9897
60.2178
61.3447
62.3594
63.2592
64.0485
64.7347
65.3281
65.8387
66.277
66.6522
66.973
67.247
67.4809
67.6802
67.8503
67.995
68.1183
68.2232
68.3123
68.3878
68.4519
68.5059
68.5515
68.5896
68.6214
68.6477
68.6693
68.6868
68.7007
68.7114
68.7194
68.725
68.7285
68.73
68.7299
68.7283
68.7253
68.721
68.7157
68.7093
68.7019
68.6937
68.6846
68.6747
68.6642
68.6529
68.6409
68.6283
68.6151
68.6013
68.5869
68.572
68.5565
68.5405
68.524
68.5071
68.4896
68.4717
68.4534
68.4347
68.4155
68.396
68.3761
68.3558
68.3353
68.3144
68.2933
68.2719
68.2503
68.2285
68.2066
68.1845
68.1622
68.1399
68.1174
68.0949
68.0723
68.0497
68.0271
68.0044
67.9817
67.959
67.9363
67.9135
67.8908
67.868
67.8452
67.8224
67.7996
67.7767
67.7538
67.7309
67.7079
67.6849
67.6619
67.6388
67.6157
67.5926
67.5695
67.5463
67.5232
67.5
67.4769
67.4539
67.4309
67.4079
67.3851
67.3624
67.3398
67.3174
67.2952
67.2733
67.2517
67.2305
67.2096
67.1892
67.1693
67.15
67.1313
67.1134
67.0964
67.0803
67.0653
67.0515
67.0391
67.0281
67.0188
67.0115
67.0062
67.0033
67.003
67.0056
67.0114
67.0209
67.0344
67.0524
67.0753
67.1038
67.1383
67.1796
67.2284
67.2855
67.3517
67.4279
67.5152
67.6147
67.7275
67.8549
67.9982
68.1587
68.3378
68.537
68.7576
69.001
69.2683
69.5603
69.8776
70.2201
70.5871
70.9766
71.3857
71.81
72.2435
72.6789
73.1075
73.5198
73.9065
74.2586
74.5682
74.8293
75.0356
75.1838
75.2609
75.3022
75.254
75.4295
37.7492
36.9465
36.6453
36.0879
35.7191
35.4653
35.4226
35.6009
36.0565
36.8648
38.0934
39.7405
41.646
43.6986
45.7791
47.7168
49.4355
50.9585
52.3493
53.6767
54.9896
56.3066
57.6165
58.8911
60.0994
61.2162
62.2276
63.1283
63.9212
64.6126
65.2121
65.7293
66.1744
66.5564
66.8838
67.1642
67.4041
67.6092
67.7846
67.9344
68.0624
68.1715
68.2646
68.3438
68.4112
68.4683
68.5166
68.5574
68.5916
68.6201
68.6437
68.663
68.6786
68.6908
68.7003
68.7072
68.7119
68.7146
68.7155
68.7148
68.7127
68.7093
68.7047
68.699
68.6923
68.6847
68.6762
68.6669
68.6568
68.6459
68.6344
68.6222
68.6094
68.5959
68.5818
68.5672
68.552
68.5363
68.5201
68.5033
68.4861
68.4684
68.4503
68.4317
68.4127
68.3933
68.3735
68.3534
68.333
68.3122
68.2912
68.27
68.2485
68.2268
68.2049
68.1828
68.1607
68.1384
68.1161
68.0936
68.0711
68.0486
68.026
68.0034
67.9808
67.9581
67.9355
67.9128
67.8901
67.8674
67.8446
67.8219
67.7991
67.7762
67.7533
67.7304
67.7075
67.6845
67.6615
67.6384
67.6153
67.5922
67.569
67.5459
67.5227
67.4995
67.4764
67.4533
67.4302
67.4072
67.3843
67.3615
67.3389
67.3164
67.2942
67.2722
67.2505
67.2291
67.2081
67.1875
67.1674
67.1479
67.1291
67.1109
67.0936
67.0772
67.0619
67.0477
67.0348
67.0233
67.0135
67.0055
66.9996
66.9958
66.9947
66.9963
67.001
67.0092
67.0212
67.0376
67.0587
67.085
67.1172
67.1559
67.2017
67.2553
67.3177
67.3897
67.4722
67.5663
67.6731
67.7937
67.9295
68.0818
68.252
68.4414
68.6516
68.8839
69.1397
69.4201
69.7259
70.0575
70.4147
70.7963
71.2
71.6221
72.0572
72.4983
72.9371
73.3641
73.7693
74.143
74.4762
74.7615
74.9904
75.1575
75.2469
75.2974
75.2549
75.4522
37.3259
36.5696
36.2655
35.7232
35.3578
35.1004
35.0446
35.2036
35.6403
36.4513
37.7244
39.4665
41.5049
43.7099
45.935
47.9733
49.7415
51.2636
52.6134
53.8748
55.1126
56.3591
57.6114
58.8439
60.0242
61.1239
62.126
63.0227
63.815
64.5083
65.111
65.6325
66.0824
66.4695
66.8023
67.0879
67.3329
67.543
67.7231
67.8773
68.0094
68.1224
68.2191
68.3017
68.3722
68.4322
68.4832
68.5264
68.5628
68.5934
68.6189
68.64
68.6572
68.671
68.6818
68.69
68.6958
68.6996
68.7016
68.7018
68.7006
68.698
68.6941
68.6891
68.6831
68.6761
68.6681
68.6593
68.6497
68.6393
68.6282
68.6164
68.604
68.5908
68.5771
68.5628
68.5479
68.5324
68.5164
68.4999
68.4829
68.4653
68.4474
68.429
68.4101
68.3909
68.3713
68.3513
68.331
68.3103
68.2894
68.2682
68.2468
68.2252
68.2034
68.1815
68.1594
68.1372
68.1149
68.0926
68.0702
68.0477
68.0252
68.0027
67.9801
67.9575
67.9349
67.9123
67.8896
67.8669
67.8442
67.8215
67.7987
67.7759
67.753
67.7301
67.7072
67.6842
67.6611
67.6381
67.615
67.5918
67.5686
67.5454
67.5223
67.499
67.4759
67.4527
67.4296
67.4066
67.3836
67.3607
67.338
67.3155
67.2931
67.271
67.2492
67.2277
67.2065
67.1858
67.1656
67.1459
67.1268
67.1084
67.0908
67.0741
67.0583
67.0437
67.0304
67.0184
67.008
66.9994
66.9926
66.9881
66.986
66.9865
66.99
66.9969
67.0074
67.0221
67.0412
67.0654
67.0951
67.131
67.1736
67.2237
67.2821
67.3495
67.4269
67.5153
67.6157
67.7293
67.8572
68.0007
68.1613
68.3402
68.5392
68.7595
69.0027
69.2703
69.5633
69.8826
70.2287
70.6009
70.9977
71.4162
71.8517
72.2978
72.7463
73.1877
73.6117
74.0079
74.3661
74.6774
74.9311
75.1197
75.224
75.2869
75.2539
75.4764
36.9095
36.2036
35.8964
35.3669
34.9997
34.7323
34.655
34.7847
35.1899
35.9911
37.298
39.1287
41.3046
43.676
46.066
48.2282
50.0679
51.6085
52.9326
54.1377
55.304
56.4781
57.6671
58.85
59.9946
61.0701
62.0568
62.9442
63.7316
64.423
65.0261
65.5493
66.0019
66.3925
66.729
67.0186
67.2678
67.4819
67.666
67.824
67.9598
68.0763
68.1762
68.2619
68.3352
68.3978
68.4513
68.4968
68.5353
68.5679
68.5952
68.6179
68.6367
68.6519
68.664
68.6734
68.6805
68.6853
68.6882
68.6894
68.689
68.6872
68.6841
68.6798
68.6744
68.6679
68.6605
68.6522
68.6431
68.6331
68.6225
68.611
68.5989
68.5861
68.5727
68.5587
68.544
68.5288
68.5131
68.4967
68.4799
68.4626
68.4448
68.4266
68.4079
68.3888
68.3693
68.3494
68.3292
68.3087
68.2879
68.2668
68.2455
68.224
68.2023
68.1804
68.1584
68.1363
68.1141
68.0918
68.0694
68.047
68.0246
68.0021
67.9796
67.9571
67.9345
67.9119
67.8893
67.8666
67.844
67.8212
67.7985
67.7757
67.7528
67.7299
67.707
67.684
67.6609
67.6378
67.6147
67.5915
67.5684
67.5451
67.5219
67.4987
67.4754
67.4522
67.4291
67.406
67.3829
67.36
67.3372
67.3146
67.2921
67.2699
67.248
67.2263
67.205
67.1841
67.1637
67.1438
67.1244
67.1058
67.0879
67.0708
67.0547
67.0397
67.0258
67.0133
67.0023
66.993
66.9855
66.9801
66.977
66.9764
66.9787
66.9841
66.9931
67.0059
67.0231
67.0449
67.0721
67.105
67.1444
67.1907
67.2449
67.3076
67.3797
67.4621
67.5558
67.6618
67.7813
67.9156
68.066
68.2338
68.4207
68.6281
68.8578
69.1113
69.3902
69.6958
70.0291
70.3904
70.7788
71.1922
71.6267
72.0767
72.5342
72.9898
73.4328
73.8521
74.2364
74.5753
74.856
75.0686
75.1904
75.2697
75.2511
75.5033
36.5063
35.8536
35.5425
35.0231
34.6485
34.3638
34.2559
34.3448
34.7044
35.4813
36.8077
38.7159
41.0292
43.5771
46.1519
48.4602
50.3935
51.9728
53.2885
54.4503
55.5528
56.6565
57.7796
58.9076
60.01
61.055
62.0204
62.8936
63.6719
64.3578
64.9581
65.4806
65.9338
66.326
66.6648
66.9572
67.2093
67.4266
67.6139
67.7751
67.914
68.0335
68.1363
68.2246
68.3005
68.3655
68.4213
68.4688
68.5093
68.5437
68.5727
68.597
68.6172
68.6337
68.6472
68.6577
68.6658
68.6717
68.6755
68.6776
68.678
68.6769
68.6746
68.6709
68.6661
68.6602
68.6534
68.6456
68.6369
68.6274
68.6171
68.606
68.5943
68.5818
68.5687
68.5549
68.5406
68.5256
68.5101
68.494
68.4773
68.4602
68.4426
68.4245
68.406
68.387
68.3676
68.3479
68.3278
68.3074
68.2866
68.2657
68.2444
68.223
68.2014
68.1796
68.1577
68.1356
68.1135
68.0913
68.069
68.0466
68.0243
68.0018
67.9794
67.9569
67.9343
67.9118
67.8892
67.8666
67.8439
67.8212
67.7984
67.7756
67.7528
67.7299
67.7069
67.6839
67.6608
67.6377
67.6146
67.5914
67.5682
67.5449
67.5216
67.4983
67.4751
67.4518
67.4286
67.4054
67.3823
67.3593
67.3365
67.3137
67.2912
67.2688
67.2468
67.225
67.2035
67.1824
67.1618
67.1416
67.1221
67.1031
67.0849
67.0675
67.051
67.0355
67.0212
67.0081
66.9965
66.9864
66.9781
66.9718
66.9677
66.966
66.967
66.971
66.9783
66.9892
67.0043
67.0238
67.0482
67.0781
67.114
67.1565
67.2063
67.2641
67.3306
67.4068
67.4934
67.5916
67.7023
67.8269
67.9665
68.1225
68.2965
68.4901
68.7052
68.9434
69.2069
69.4973
69.8162
70.1648
70.543
70.9497
71.3819
71.8345
72.3002
72.7695
73.2314
73.6742
74.0855
74.4535
74.763
75.0022
75.1444
75.245
75.2468
75.5357
36.1216
35.5243
35.2086
34.6963
34.3087
33.9991
33.8513
33.8881
34.1891
34.9275
36.2569
38.2287
40.6752
43.4019
46.1785
48.6531
50.7006
52.3382
53.6634
54.7976
55.8476
56.8868
57.9448
59.0149
60.0702
61.0791
62.0178
62.8717
63.6366
64.3134
64.9079
65.427
65.8787
66.2706
66.6102
66.904
67.158
67.3775
67.5672
67.7309
67.8723
67.9943
68.0995
68.1902
68.2683
68.3355
68.3932
68.4427
68.485
68.521
68.5515
68.5773
68.5989
68.6167
68.6313
68.643
68.6521
68.6589
68.6637
68.6665
68.6677
68.6674
68.6657
68.6627
68.6585
68.6531
68.6468
68.6395
68.6312
68.6221
68.6122
68.6015
68.5901
68.578
68.5651
68.5516
68.5375
68.5228
68.5075
68.4916
68.4752
68.4582
68.4407
68.4228
68.4044
68.3856
68.3663
68.3467
68.3267
68.3064
68.2858
68.2649
68.2437
68.2224
68.2008
68.1791
68.1573
68.1353
68.1132
68.0911
68.0688
68.0465
68.0242
68.0018
67.9794
67.9569
67.9344
67.9119
67.8893
67.8667
67.844
67.8213
67.7986
67.7757
67.7529
67.73
67.707
67.684
67.6609
67.6377
67.6146
67.5913
67.5681
67.5448
67.5214
67.4981
67.4748
67.4515
67.4282
67.405
67.3818
67.3587
67.3358
67.3129
67.2903
67.2678
67.2456
67.2237
67.202
67.1808
67.1599
67.1396
67.1197
67.1005
67.082
67.0642
67.0473
67.0313
67.0165
67.0028
66.9905
66.9797
66.9706
66.9634
66.9582
66.9553
66.955
66.9574
66.963
66.9721
66.9849
67.002
67.0237
67.0504
67.0828
67.1213
67.1665
67.2192
67.2799
67.3496
67.4289
67.5189
67.6205
67.7348
67.8631
68.0066
68.167
68.346
68.5453
68.7671
69.0137
69.2873
69.5902
69.9243
70.2905
70.6888
71.1171
71.571
72.0438
72.5262
73.0069
73.4734
73.9124
74.3106
74.6507
74.9187
75.0846
75.2122
75.2415
75.5763
35.7612
35.2205
34.8994
34.391
33.9845
33.6428
33.4461
33.4204
33.6536
34.3422
35.6605
37.683
40.2524
43.1498
46.1386
48.7974
50.9776
52.6907
54.0422
55.1645
56.1752
57.1588
58.1553
59.1671
60.1722
61.1405
62.0479
62.8783
63.6258
64.2901
64.8759
65.389
65.837
66.2269
66.5657
66.8595
67.1144
67.3351
67.5264
67.6919
67.8352
67.9591
68.0663
68.1589
68.239
68.308
68.3675
68.4186
68.4625
68.5
68.532
68.559
68.5819
68.6009
68.6166
68.6293
68.6394
68.6471
68.6527
68.6563
68.6583
68.6586
68.6575
68.6551
68.6515
68.6466
68.6408
68.6339
68.6261
68.6174
68.6079
68.5975
68.5864
68.5746
68.5621
68.5488
68.5349
68.5204
68.5053
68.4896
68.4734
68.4566
68.4393
68.4215
68.4032
68.3845
68.3654
68.3459
68.326
68.3058
68.2852
68.2644
68.2434
68.2221
68.2006
68.179
68.1572
68.1353
68.1132
68.0911
68.0689
68.0467
68.0244
68.002
67.9796
67.9572
67.9347
67.9122
67.8896
67.867
67.8443
67.8216
67.7989
67.776
67.7531
67.7302
67.7072
67.6842
67.661
67.6379
67.6147
67.5914
67.5681
67.5447
67.5214
67.498
67.4746
67.4512
67.4279
67.4046
67.3813
67.3582
67.3351
67.3122
67.2894
67.2668
67.2445
67.2224
67.2006
67.1791
67.1581
67.1375
67.1174
67.0978
67.079
67.0608
67.0435
67.0271
67.0117
66.9974
66.9845
66.9729
66.9629
66.9547
66.9485
66.9444
66.9426
66.9436
66.9474
66.9545
66.9651
66.9796
66.9984
67.022
67.0507
67.085
67.1256
67.173
67.2278
67.2907
67.3625
67.4439
67.536
67.6396
67.7561
67.8866
68.0326
68.1959
68.3785
68.5826
68.8109
69.0661
69.3512
69.669
70.0214
70.4094
70.8321
71.286
71.7649
72.2598
72.7589
73.2494
73.7165
74.1459
74.5179
74.8169
75.0097
75.1712
75.2363
75.6306
35.4297
34.9469
34.6191
34.1118
33.6811
33.3008
33.0481
32.9526
33.1151
33.749
35.0479
37.1098
39.7799
42.8339
46.0346
48.891
51.2185
53.0212
54.4136
55.5389
56.5243
57.4629
58.4045
59.3598
60.3133
61.2379
62.1101
62.913
63.6394
64.2879
64.8621
65.3668
65.809
66.195
66.5314
66.8241
67.0786
67.2996
67.4916
67.6581
67.8027
67.9281
68.0368
68.131
68.2126
68.2832
68.3441
68.3967
68.442
68.4808
68.5141
68.5424
68.5663
68.5864
68.6031
68.6168
68.6277
68.6363
68.6426
68.647
68.6497
68.6507
68.6502
68.6483
68.6452
68.6409
68.6355
68.6291
68.6217
68.6133
68.6042
68.5941
68.5833
68.5718
68.5595
68.5465
68.5329
68.5186
68.5037
68.4881
68.4721
68.4554
68.4383
68.4206
68.4025
68.3839
68.3649
68.3455
68.3257
68.3055
68.2851
68.2644
68.2434
68.2222
68.2008
68.1792
68.1574
68.1356
68.1136
68.0915
68.0694
68.0472
68.0249
68.0025
67.9802
67.9577
67.9353
67.9127
67.8902
67.8675
67.8449
67.8221
67.7993
67.7765
67.7536
67.7306
67.7076
67.6845
67.6613
67.6381
67.6149
67.5916
67.5682
67.5448
67.5214
67.498
67.4745
67.4511
67.4277
67.4043
67.381
67.3577
67.3346
67.3115
67.2886
67.2659
67.2434
67.2212
67.1992
67.1776
67.1563
67.1354
67.1151
67.0952
67.076
67.0575
67.0397
67.0228
67.0069
66.992
66.9783
66.966
66.9552
66.946
66.9386
66.9332
66.9301
66.9294
66.9315
66.9365
66.9449
66.9568
66.9727
66.9929
67.0178
67.048
67.0838
67.1257
67.1744
67.2303
67.2943
67.367
67.4492
67.5418
67.6459
67.7627
67.8936
68.0405
68.2053
68.3905
68.599
68.8343
69.0998
69.3992
69.7359
70.1118
70.5273
70.9799
71.464
71.9708
72.4883
73.0027
73.4985
73.96
74.3651
74.6972
74.92
75.1227
75.2328
75.7032
35.1322
34.7081
34.3727
33.8635
33.4036
32.9794
32.666
32.4981
32.5943
33.1766
34.4555
36.5414
39.2751
42.4816
45.88
48.9392
51.4235
53.3259
54.7702
55.9111
56.8841
57.7893
58.6837
59.5864
60.4887
61.368
62.202
62.9741
63.6764
64.3063
64.8662
65.3603
65.7947
66.1751
66.5077
66.7979
67.0509
67.2713
67.4631
67.6301
67.7753
67.9016
68.0114
68.1067
68.1895
68.2613
68.3235
68.3773
68.4237
68.4637
68.4981
68.5274
68.5524
68.5734
68.591
68.6055
68.6173
68.6266
68.6337
68.6388
68.642
68.6436
68.6437
68.6424
68.6397
68.6359
68.6309
68.6249
68.6179
68.6099
68.601
68.5913
68.5808
68.5695
68.5575
68.5447
68.5313
68.5172
68.5025
68.4871
68.4712
68.4547
68.4377
68.4202
68.4022
68.3837
68.3648
68.3455
68.3258
68.3057
68.2854
68.2647
68.2438
68.2226
68.2013
68.1798
68.1581
68.1362
68.1143
68.0923
68.0701
68.0479
68.0257
68.0033
67.981
67.9585
67.936
67.9135
67.8909
67.8683
67.8456
67.8228
67.8
67.7771
67.7542
67.7312
67.7081
67.685
67.6618
67.6385
67.6152
67.5919
67.5685
67.545
67.5216
67.4981
67.4746
67.451
67.4276
67.4041
67.3807
67.3573
67.3341
67.3109
67.2879
67.2651
67.2425
67.22
67.1979
67.176
67.1545
67.1334
67.1127
67.0926
67.073
67.0541
67.0359
67.0185
67.002
66.9865
66.9721
66.959
66.9473
66.937
66.9285
66.9219
66.9173
66.9151
66.9153
66.9182
66.9242
66.9335
66.9464
66.9632
66.9844
67.0102
67.0411
67.0774
67.1198
67.1687
67.2246
67.2883
67.3603
67.4414
67.5328
67.6353
67.7505
67.8801
68.0261
68.1912
68.3786
68.5922
68.8363
69.1157
69.4348
69.797
70.2039
70.6542
71.1429
71.6614
72.1973
72.7361
73.261
73.7554
74.1948
74.5617
74.8174
75.0686
75.2335
75.8017
34.8724
34.5083
34.1641
33.6505
33.1574
32.6859
32.3104
32.0731
32.1147
32.6542
33.9131
35.9881
38.7751
42.1269
45.7007
48.9551
51.5982
53.6057
55.1093
56.2755
57.2474
58.1302
58.9862
59.8415
60.6945
61.5276
62.3216
63.0604
63.7358
64.3443
64.8877
65.3691
65.7938
66.1671
66.4944
66.7809
67.0314
67.2501
67.4411
67.6077
67.753
67.8796
67.99
68.0861
68.1697
68.2424
68.3056
68.3603
68.4078
68.4487
68.484
68.5143
68.5401
68.562
68.5804
68.5957
68.6082
68.6182
68.6259
68.6316
68.6355
68.6376
68.6382
68.6373
68.6352
68.6317
68.6272
68.6215
68.6148
68.6072
68.5986
68.5892
68.5789
68.5679
68.5561
68.5435
68.5303
68.5164
68.5019
68.4867
68.4709
68.4546
68.4377
68.4203
68.4024
68.384
68.3652
68.3459
68.3263
68.3063
68.2861
68.2655
68.2446
68.2235
68.2022
68.1807
68.1591
68.1373
68.1154
68.0933
68.0712
68.049
68.0268
68.0044
67.9821
67.9596
67.9371
67.9145
67.8919
67.8693
67.8465
67.8237
67.8009
67.778
67.755
67.7319
67.7088
67.6856
67.6624
67.6391
67.6157
67.5923
67.5689
67.5454
67.5218
67.4983
67.4747
67.4511
67.4276
67.404
67.3805
67.3571
67.3337
67.3105
67.2873
67.2643
67.2415
67.219
67.1966
67.1745
67.1528
67.1314
67.1105
67.09
67.0701
67.0507
67.0321
67.0142
66.9971
66.981
66.9659
66.9519
66.9393
66.9281
66.9184
66.9105
66.9044
66.9005
66.8989
66.8997
66.9033
66.9099
66.9198
66.9332
66.9504
66.9718
66.9977
67.0284
67.0644
67.106
67.1537
67.2081
67.2696
67.3391
67.4172
67.505
67.6038
67.7152
67.8415
67.9852
68.1502
68.3406
68.5617
68.8194
69.1193
69.4665
69.864
70.3115
70.8049
71.3355
71.8906
72.4545
73.0096
73.5377
74.0123
74.4154
74.7057
75.012
75.2417
75.9328
34.6542
34.3516
33.9979
33.4777
32.9483
32.4276
31.9917
31.6929
31.6936
32.1886
33.4126
35.4752
38.3284
41.8039
45.5254
48.9557
51.7519
53.8647
55.4312
56.6293
57.6089
58.4788
59.3049
60.1186
60.9252
61.7128
62.4657
63.1693
63.8157
64.4008
64.9256
65.3925
65.806
66.1705
66.4914
66.773
67.0199
67.2362
67.4255
67.5911
67.7359
67.8623
67.9728
68.0692
68.1534
68.2267
68.2906
68.3461
68.3943
68.436
68.4721
68.5031
68.5297
68.5522
68.5714
68.5873
68.6004
68.611
68.6194
68.6256
68.63
68.6326
68.6336
68.6332
68.6315
68.6284
68.6242
68.6189
68.6125
68.6052
68.5969
68.5877
68.5777
68.5669
68.5553
68.543
68.5299
68.5162
68.5018
68.4867
68.4711
68.4549
68.4381
68.4208
68.403
68.3847
68.366
68.3468
68.3273
68.3074
68.2872
68.2666
68.2458
68.2248
68.2035
68.1821
68.1604
68.1387
68.1168
68.0947
68.0726
68.0504
68.0282
68.0058
67.9834
67.9609
67.9384
67.9158
67.8932
67.8705
67.8477
67.8249
67.802
67.779
67.756
67.7329
67.7097
67.6865
67.6632
67.6398
67.6164
67.5929
67.5694
67.5458
67.5222
67.4986
67.475
67.4513
67.4277
67.404
67.3804
67.3569
67.3334
67.31
67.2868
67.2637
67.2407
67.2179
67.1954
67.1731
67.1511
67.1295
67.1083
67.0875
67.0671
67.0474
67.0283
67.0098
66.9922
66.9754
66.9596
66.9448
66.9312
66.919
66.9081
66.8989
66.8914
66.8858
66.8822
66.8809
66.8821
66.886
66.8928
66.9027
66.916
66.9329
66.9537
66.9787
67.0081
67.0424
67.0818
67.1267
67.1775
67.2349
67.2995
67.372
67.4539
67.5465
67.652
67.7734
67.9146
68.0805
68.2772
68.5118
68.7915
69.1231
69.5111
69.9564
70.4553
70.9992
71.5747
72.1652
72.7516
73.3147
73.8253
74.2651
74.5903
74.9568
75.2611
76.1049
34.4789
34.2398
33.8767
33.3489
32.7812
32.2106
31.7163
31.3601
31.3204
31.7734
32.9668
35.0473
37.9672
41.5421
45.383
48.9618
51.8972
54.1104
55.7396
56.9729
57.9664
58.8311
59.6347
60.4129
61.1765
61.9198
62.6313
63.2986
63.9143
64.4743
64.9788
65.4296
65.8303
66.1849
66.498
66.7737
67.0163
67.2293
67.4162
67.5801
67.7238
67.8497
67.9599
68.0563
68.1406
68.2142
68.2785
68.3345
68.3833
68.4256
68.4622
68.4938
68.521
68.5442
68.5639
68.5804
68.5941
68.6053
68.6141
68.6208
68.6256
68.6287
68.6302
68.6301
68.6287
68.626
68.6222
68.6171
68.6111
68.604
68.5959
68.587
68.5772
68.5666
68.5552
68.543
68.5301
68.5165
68.5023
68.4874
68.4719
68.4558
68.4391
68.4219
68.4042
68.386
68.3673
68.3482
68.3288
68.3089
68.2887
68.2682
68.2475
68.2265
68.2052
68.1838
68.1622
68.1404
68.1185
68.0965
68.0744
68.0522
68.0299
68.0075
67.9851
67.9626
67.94
67.9174
67.8947
67.8719
67.8491
67.8262
67.8032
67.7802
67.7571
67.734
67.7107
67.6875
67.6641
67.6407
67.6172
67.5937
67.5701
67.5464
67.5228
67.4991
67.4753
67.4516
67.4279
67.4042
67.3805
67.3568
67.3332
67.3097
67.2863
67.2631
67.24
67.217
67.1943
67.1718
67.1496
67.1276
67.1061
67.085
67.0643
67.0441
67.0245
67.0055
66.9873
66.9698
66.9533
66.9377
66.9232
66.9098
66.8978
66.8872
66.8782
66.8709
66.8655
66.862
66.8608
66.8619
66.8655
66.8719
66.8812
66.8936
66.9093
66.9284
66.9513
66.9781
67.009
67.0443
67.0843
67.1294
67.1801
67.237
67.3013
67.3745
67.4585
67.5566
67.673
67.8132
67.9844
68.1951
68.4544
68.7706
69.1499
69.5943
70.1004
70.6594
71.257
71.8759
72.4953
73.0946
73.6416
74.1176
74.4761
74.9054
75.2946
76.3247
34.3467
34.1737
33.802
33.2662
32.6583
32.0366
31.4834
31.0706
30.9885
31.4187
32.6126
34.7225
37.7049
41.3616
45.2964
48.993
52.0471
54.351
56.0394
57.3083
58.3191
59.1841
59.9714
60.7193
61.4437
62.1446
62.815
63.4454
64.0295
64.5631
65.046
65.4793
65.8661
66.2096
66.514
66.7829
67.0202
67.2292
67.4131
67.5748
67.7169
67.8416
67.9511
68.0471
68.1312
68.2049
68.2693
68.3256
68.3747
68.4174
68.4545
68.4866
68.5143
68.538
68.5582
68.5751
68.5893
68.6009
68.6101
68.6173
68.6225
68.6259
68.6277
68.628
68.627
68.6246
68.621
68.6162
68.6104
68.6035
68.5957
68.587
68.5774
68.5669
68.5557
68.5437
68.531
68.5175
68.5034
68.4886
68.4732
68.4572
68.4406
68.4235
68.4058
68.3877
68.3691
68.3501
68.3307
68.3109
68.2907
68.2703
68.2496
68.2286
68.2073
68.1859
68.1643
68.1425
68.1206
68.0986
68.0765
68.0542
68.0319
68.0095
67.987
67.9644
67.9418
67.9191
67.8964
67.8736
67.8507
67.8277
67.8047
67.7816
67.7585
67.7353
67.712
67.6886
67.6652
67.6417
67.6182
67.5945
67.5709
67.5472
67.5234
67.4997
67.4759
67.452
67.4282
67.4044
67.3806
67.3569
67.3332
67.3095
67.286
67.2626
67.2393
67.2161
67.1932
67.1705
67.148
67.1258
67.104
67.0825
67.0614
67.0408
67.0207
67.0012
66.9824
66.9643
66.9469
66.9305
66.915
66.9007
66.8874
66.8755
66.865
66.8559
66.8486
66.8429
66.8392
66.8376
66.8381
66.8409
66.8461
66.854
66.8645
66.8778
66.894
66.9133
66.9357
66.9613
66.9903
67.0228
67.0594
67.1004
67.1468
67.1999
67.2619
67.3358
67.4265
67.5402
67.6854
67.8721
68.1113
68.4132
68.7855
69.2308
69.7459
70.3216
70.9431
71.5917
72.2454
72.8817
73.4647
73.9747
74.3634
74.857
75.343
76.5981
34.2564
34.154
33.7746
33.23
32.5799
31.9054
31.2931
30.8288
30.7149
31.1434
32.3568
34.5066
37.5508
41.277
45.2843
49.0681
52.2158
54.5965
56.3373
57.6395
58.6685
59.5368
60.3122
61.0342
61.7229
62.3835
63.0138
63.6073
64.1591
64.6654
65.1256
65.5404
65.9122
66.2437
66.5385
66.7998
67.0311
67.2354
67.4157
67.5747
67.7147
67.8379
67.9463
68.0416
68.1253
68.1987
68.2631
68.3194
68.3687
68.4116
68.449
68.4814
68.5095
68.5335
68.5541
68.5714
68.586
68.5979
68.6075
68.615
68.6205
68.6243
68.6264
68.627
68.6262
68.6241
68.6207
68.6162
68.6106
68.6039
68.5963
68.5877
68.5783
68.568
68.5569
68.545
68.5324
68.5191
68.5051
68.4904
68.4751
68.4591
68.4426
68.4256
68.408
68.3899
68.3714
68.3524
68.3331
68.3133
68.2932
68.2728
68.252
68.2311
68.2098
68.1884
68.1668
68.145
68.1231
68.101
68.0789
68.0566
68.0342
68.0118
67.9892
67.9666
67.9439
67.9212
67.8984
67.8755
67.8525
67.8295
67.8064
67.7833
67.76
67.7367
67.7134
67.6899
67.6664
67.6429
67.6193
67.5956
67.5719
67.5481
67.5242
67.5004
67.4765
67.4526
67.4287
67.4048
67.3809
67.357
67.3332
67.3094
67.2857
67.2621
67.2387
67.2154
67.1922
67.1693
67.1465
67.1241
67.1019
67.0801
67.0586
67.0376
67.017
66.997
66.9775
66.9587
66.9406
66.9233
66.9069
66.8915
66.877
66.8637
66.8517
66.8409
66.8316
66.8238
66.8176
66.8131
66.8105
66.8097
66.811
66.8142
66.8195
66.827
66.8366
66.8482
66.862
66.8779
66.8957
66.9157
66.938
66.9628
66.9909
67.0236
67.0629
67.1123
67.1767
67.2636
67.3826
67.5458
67.766
68.0553
68.4222
68.8698
69.395
69.988
70.6335
71.3121
72.0002
72.673
73.2901
73.8308
74.2454
74.8039
75.4026
76.9279
34.2082
34.1829
33.7981
33.2441
32.55
31.8219
31.1511
30.6446
30.5094
30.953
32.2024
34.4038
37.5111
41.2978
45.3588
49.201
52.4149
54.8552
56.6395
57.9707
59.0167
59.8892
60.6551
61.3545
62.0105
62.6329
63.2243
63.7812
64.3006
64.7791
65.216
65.6116
65.9676
66.2864
66.5709
66.8239
67.0486
67.2477
67.4239
67.5796
67.7171
67.8384
67.9454
68.0396
68.1226
68.1955
68.2596
68.3158
68.3651
68.4081
68.4456
68.4782
68.5065
68.5308
68.5516
68.5692
68.5841
68.5963
68.6062
68.6139
68.6198
68.6238
68.6262
68.627
68.6264
68.6245
68.6213
68.617
68.6116
68.6051
68.5976
68.5892
68.5799
68.5698
68.5588
68.547
68.5345
68.5212
68.5073
68.4927
68.4775
68.4616
68.4452
68.4282
68.4107
68.3927
68.3742
68.3552
68.3359
68.3161
68.2961
68.2756
68.2549
68.2339
68.2127
68.1913
68.1696
68.1478
68.1259
68.1038
68.0816
68.0592
68.0368
68.0143
67.9917
67.969
67.9463
67.9235
67.9006
67.8776
67.8546
67.8315
67.8083
67.7851
67.7618
67.7384
67.715
67.6914
67.6679
67.6442
67.6205
67.5968
67.5729
67.5491
67.5252
67.5012
67.4773
67.4532
67.4292
67.4052
67.3812
67.3572
67.3333
67.3094
67.2855
67.2618
67.2382
67.2146
67.1913
67.1681
67.1451
67.1224
67.0999
67.0777
67.0558
67.0343
67.0133
66.9927
66.9726
66.9531
66.9343
66.9161
66.8988
66.8822
66.8666
66.8519
66.8383
66.8258
66.8145
66.8045
66.7959
66.7886
66.7828
66.7785
66.7757
66.7743
66.7745
66.7761
66.779
66.7831
66.7883
66.7943
66.8011
66.8084
66.8163
66.8248
66.8345
66.8464
66.8628
66.8872
66.9252
66.9852
67.0786
67.2192
67.4218
67.6997
68.0622
68.5124
69.0467
69.6555
70.3229
71.0293
71.7494
72.4558
73.1032
73.6693
74.1054
74.7301
75.4634
77.3113
34.1991
34.2608
33.8738
33.3104
32.5708
31.7886
31.0599
30.5242
30.3802
30.8526
32.1542
34.4192
37.592
41.4315
45.529
49.4029
52.6554
55.1362
56.953
58.307
59.3664
60.2421
60.9993
61.678
62.3036
62.8899
63.4436
63.9647
64.4519
64.9023
65.3156
65.6913
66.0311
66.3365
66.6102
66.8544
67.072
67.2653
67.437
67.5891
67.7238
67.8428
67.9481
68.041
68.123
68.1953
68.2589
68.3147
68.3638
68.4067
68.4443
68.4769
68.5053
68.5297
68.5508
68.5686
68.5836
68.5961
68.6062
68.6141
68.6202
68.6244
68.627
68.628
68.6276
68.6258
68.6229
68.6187
68.6134
68.6071
68.5997
68.5914
68.5822
68.5722
68.5613
68.5496
68.5372
68.524
68.5102
68.4956
68.4804
68.4646
68.4483
68.4313
68.4138
68.3958
68.3774
68.3585
68.3391
68.3194
68.2993
68.2789
68.2582
68.2372
68.216
68.1945
68.1728
68.151
68.129
68.1068
68.0846
68.0622
68.0397
68.0171
67.9945
67.9717
67.9489
67.926
67.903
67.8799
67.8568
67.8336
67.8104
67.7871
67.7637
67.7402
67.7167
67.6931
67.6694
67.6457
67.6219
67.5981
67.5742
67.5502
67.5262
67.5022
67.4781
67.454
67.4299
67.4058
67.3817
67.3576
67.3335
67.3094
67.2855
67.2615
67.2377
67.214
67.1904
67.167
67.1438
67.1207
67.0979
67.0753
67.0531
67.0312
67.0096
66.9885
66.9678
66.9476
66.928
66.909
66.8906
66.873
66.8561
66.8401
66.8249
66.8107
66.7975
66.7853
66.7742
66.7641
66.7552
66.7473
66.7404
66.7346
66.7296
66.7253
66.7216
66.7181
66.7147
66.7111
66.7067
66.7014
66.6949
66.687
66.6782
66.6694
66.6627
66.662
66.6737
66.7073
66.7757
66.8948
67.0809
67.348
67.7053
68.1559
68.6961
69.3161
70.0004
70.7291
71.4756
72.2096
72.8803
73.4646
73.9172
74.6105
75.5066
77.7382
34.2261
34.3883
34.0038
33.431
32.6453
31.8081
31.0228
30.4708
30.3349
30.8484
32.2171
34.5569
37.7973
41.682
45.799
49.6797
52.9444
55.4457
57.283
58.6523
59.7204
60.5964
61.344
62.0028
62.5995
63.1514
63.669
64.1552
64.6106
65.0332
65.4226
65.7784
66.1015
66.3932
66.6556
66.8906
67.1006
67.2879
67.4546
67.6028
67.7343
67.8509
67.9542
68.0456
68.1264
68.1977
68.2606
68.316
68.3647
68.4074
68.4448
68.4775
68.5058
68.5303
68.5514
68.5694
68.5845
68.5971
68.6074
68.6155
68.6217
68.6261
68.6288
68.63
68.6297
68.6281
68.6252
68.6212
68.616
68.6098
68.6025
68.5943
68.5852
68.5752
68.5644
68.5528
68.5405
68.5273
68.5135
68.499
68.4839
68.4681
68.4518
68.4349
68.4174
68.3995
68.381
68.3621
68.3428
68.3231
68.303
68.2826
68.2619
68.2408
68.2196
68.1981
68.1764
68.1545
68.1324
68.1102
68.0879
68.0654
68.0429
68.0202
67.9974
67.9746
67.9517
67.9287
67.9056
67.8825
67.8593
67.836
67.8127
67.7892
67.7658
67.7422
67.7186
67.6949
67.6712
67.6474
67.6235
67.5995
67.5756
67.5515
67.5274
67.5033
67.4791
67.4549
67.4307
67.4065
67.3822
67.358
67.3338
67.3096
67.2854
67.2614
67.2374
67.2134
67.1896
67.166
67.1424
67.1191
67.096
67.073
67.0504
67.028
67.0059
66.9842
66.963
66.9421
66.9217
66.9018
66.8825
66.8637
66.8457
66.8282
66.8116
66.7956
66.7804
66.766
66.7525
66.7396
66.7275
66.7161
66.7053
66.6949
66.6848
66.6747
66.6644
66.6535
66.6416
66.6283
66.6129
66.5951
66.5742
66.5501
66.5229
66.4934
66.4638
66.4382
66.424
66.4317
66.4762
66.5746
66.7442
66.9994
67.349
67.7955
68.3353
68.9591
69.652
70.3939
71.1569
71.9079
72.5911
73.1833
73.6464
74.4107
75.5031
78.185
34.2813
34.5637
34.1871
33.6051
32.7722
31.88
31.0437
30.4831
30.3764
30.9462
32.397
34.8219
38.1312
42.0523
46.1715
50.0355
53.2877
55.7901
57.6349
59.0108
60.0812
60.9533
61.6891
62.3275
62.8962
63.4151
63.8979
64.3503
64.7746
65.1697
65.5355
65.8712
66.1776
66.4553
66.706
66.9315
67.1338
67.3147
67.4763
67.6202
67.7483
67.8622
67.9633
68.0529
68.1324
68.2026
68.2647
68.3194
68.3677
68.4101
68.4473
68.4797
68.508
68.5325
68.5536
68.5716
68.5868
68.5995
68.6098
68.618
68.6243
68.6288
68.6316
68.6329
68.6327
68.6312
68.6284
68.6244
68.6194
68.6132
68.606
68.5979
68.5889
68.5789
68.5682
68.5566
68.5443
68.5312
68.5174
68.503
68.4879
68.4722
68.4558
68.4389
68.4215
68.4035
68.3851
68.3662
68.3469
68.3272
68.3071
68.2866
68.2659
68.2448
68.2235
68.202
68.1802
68.1582
68.1361
68.1139
68.0915
68.0689
68.0463
68.0235
68.0007
67.9777
67.9547
67.9316
67.9085
67.8852
67.8619
67.8386
67.8151
67.7916
67.768
67.7444
67.7207
67.6969
67.673
67.6491
67.6252
67.6011
67.5771
67.5529
67.5287
67.5045
67.4802
67.4559
67.4316
67.4072
67.3829
67.3585
67.3341
67.3098
67.2855
67.2612
67.2371
67.2129
67.1889
67.165
67.1412
67.1175
67.0941
67.0708
67.0477
67.0249
67.0023
66.9801
66.9582
66.9366
66.9154
66.8947
66.8744
66.8545
66.8352
66.8165
66.7982
66.7806
66.7635
66.7469
66.7308
66.7152
66.7
66.6851
66.6703
66.6555
66.6403
66.6245
66.6077
66.5895
66.5693
66.5464
66.5202
66.49
66.455
66.4148
66.3694
66.3194
66.2672
66.2172
66.1776
66.1602
66.1813
66.2592
66.4115
66.6521
66.9891
67.4248
67.9557
68.5732
69.2629
70.0052
70.7707
71.5234
72.2038
72.7895
73.2539
74.0885
75.4106
78.6142
34.3562
34.7868
34.4235
33.8324
32.952
32.0051
31.1331
30.5683
30.5075
31.1524
32.6998
35.2186
38.5956
42.5422
46.6452
50.47
53.6872
56.1724
58.0117
59.3849
60.4506
61.3134
62.0341
62.6508
63.1917
63.6787
64.128
64.5478
64.9419
65.3102
65.6527
65.9685
66.2581
66.5217
66.7608
66.9767
67.171
67.3453
67.5014
67.6409
67.7654
67.8764
67.9751
68.0628
68.1407
68.2098
68.2709
68.3249
68.3726
68.4145
68.4514
68.4836
68.5117
68.5361
68.5571
68.5751
68.5903
68.6029
68.6133
68.6216
68.6279
68.6325
68.6353
68.6367
68.6366
68.6351
68.6324
68.6285
68.6234
68.6173
68.6102
68.6021
68.5931
68.5832
68.5725
68.5609
68.5486
68.5356
68.5218
68.5074
68.4923
68.4766
68.4603
68.4434
68.426
68.408
68.3896
68.3706
68.3513
68.3316
68.3114
68.291
68.2702
68.2491
68.2277
68.2061
68.1843
68.1623
68.1401
68.1177
68.0953
68.0726
68.0499
68.027
68.0041
67.9811
67.958
67.9348
67.9115
67.8882
67.8648
67.8413
67.8177
67.7941
67.7704
67.7467
67.7229
67.699
67.6751
67.651
67.627
67.6029
67.5787
67.5544
67.5301
67.5058
67.4814
67.457
67.4325
67.4081
67.3836
67.3591
67.3346
67.3101
67.2856
67.2612
67.2368
67.2125
67.1882
67.164
67.14
67.116
67.0922
67.0686
67.0451
67.0218
66.9987
66.9759
66.9534
66.9311
66.9092
66.8875
66.8663
66.8453
66.8248
66.8047
66.7849
66.7655
66.7465
66.7278
66.7093
66.691
66.6727
66.6543
66.6356
66.6164
66.5962
66.5748
66.5517
66.5262
66.4978
66.4656
66.4288
66.3864
66.3376
66.2817
66.2184
66.1484
66.074
66.0002
65.9359
65.8941
65.8922
65.9489
66.0817
66.3033
66.6213
67.0376
67.5491
68.1479
68.8204
69.5466
70.2962
71.0305
71.6871
72.2461
72.6971
73.593
75.1722
78.9634
34.4372
35.0554
34.7107
34.1093
33.1811
32.1808
31.2945
30.7376
30.7355
31.4739
33.1324
35.7512
39.1915
43.1496
47.2168
50.9815
54.1441
56.5952
58.4161
59.7766
60.8295
61.677
62.3785
62.9714
63.4842
63.94
64.3571
64.7455
65.1105
65.4528
65.7725
66.0688
66.3418
66.5915
66.8189
67.025
67.2112
67.3788
67.5294
67.6644
67.7852
67.893
67.9893
68.075
68.1512
68.2189
68.279
68.3321
68.3792
68.4206
68.457
68.4889
68.5168
68.541
68.5619
68.5797
68.5949
68.6075
68.6179
68.6262
68.6325
68.6371
68.64
68.6413
68.6412
68.6398
68.6371
68.6332
68.6282
68.6221
68.615
68.6069
68.5979
68.588
68.5773
68.5658
68.5535
68.5405
68.5267
68.5123
68.4972
68.4815
68.4652
68.4483
68.4308
68.4128
68.3944
68.3754
68.3561
68.3363
68.3162
68.2956
68.2748
68.2537
68.2322
68.2106
68.1887
68.1666
68.1443
68.1219
68.0993
68.0766
68.0538
68.0308
68.0078
67.9846
67.9614
67.9381
67.9147
67.8913
67.8677
67.8442
67.8205
67.7968
67.773
67.7491
67.7252
67.7012
67.6772
67.6531
67.6289
67.6047
67.5804
67.556
67.5317
67.5072
67.4827
67.4582
67.4336
67.409
67.3844
67.3597
67.3351
67.3105
67.2858
67.2612
67.2366
67.2121
67.1876
67.1632
67.1388
67.1146
67.0904
67.0664
67.0425
67.0188
66.9952
66.9718
66.9486
66.9257
66.9029
66.8805
66.8582
66.8362
66.8145
66.793
66.7717
66.7506
66.7297
66.7088
66.688
66.6669
66.6456
66.6239
66.6013
66.5778
66.5528
66.5259
66.4965
66.464
66.4276
66.3863
66.3391
66.285
66.2227
66.1515
66.0708
65.9813
65.8854
65.7885
65.7001
65.6344
65.6092
65.6432
65.753
65.9503
66.2417
66.6289
67.1093
67.6755
68.3143
69.0055
69.7173
70.4082
71.0149
71.5195
71.9331
72.8653
74.7122
79.1439
34.5088
35.3705
35.0488
34.4343
33.4576
32.4098
31.5222
31.0001
31.07
31.9202
33.7018
36.4228
39.9172
43.869
47.8796
51.5651
54.6559
57.0579
58.8481
60.1859
61.2178
62.0436
62.7214
63.2881
63.7721
64.1973
64.5833
64.9416
65.2787
65.5959
65.8936
66.1709
66.4276
66.6636
66.8794
67.0758
67.254
67.4148
67.5599
67.6902
67.8072
67.9119
68.0055
68.0891
68.1636
68.2299
68.2888
68.341
68.3872
68.428
68.464
68.4955
68.5231
68.5471
68.5678
68.5855
68.6005
68.6131
68.6234
68.6316
68.6379
68.6424
68.6453
68.6467
68.6466
68.6451
68.6424
68.6385
68.6335
68.6274
68.6203
68.6122
68.6033
68.5934
68.5826
68.5711
68.5588
68.5458
68.532
68.5175
68.5024
68.4867
68.4704
68.4535
68.436
68.418
68.3995
68.3806
68.3612
68.3413
68.3211
68.3006
68.2797
68.2585
68.237
68.2153
68.1933
68.1711
68.1488
68.1262
68.1036
68.0807
68.0578
68.0347
68.0116
67.9883
67.965
67.9416
67.9181
67.8945
67.8709
67.8472
67.8234
67.7996
67.7757
67.7517
67.7277
67.7036
67.6794
67.6552
67.6309
67.6066
67.5822
67.5577
67.5332
67.5087
67.4841
67.4594
67.4347
67.41
67.3852
67.3605
67.3357
67.3109
67.2861
67.2613
67.2365
67.2117
67.187
67.1623
67.1377
67.1131
67.0887
67.0642
67.0399
67.0157
66.9917
66.9677
66.9439
66.9203
66.8968
66.8734
66.8502
66.8271
66.8042
66.7813
66.7586
66.7358
66.713
66.69
66.6668
66.6431
66.6188
66.5937
66.5674
66.5397
66.5099
66.4777
66.4423
66.4029
66.3587
66.3086
66.2515
66.1859
66.1106
66.0246
65.9271
65.8188
65.7021
65.5828
65.4711
65.3816
65.3323
65.3414
65.4241
65.5908
65.8473
66.1951
66.6319
67.1507
67.7383
68.3735
69.0228
69.6417
70.1664
70.58
70.9195
71.8366
73.9346
79.0232
34.5517
35.7363
35.4406
34.8048
33.7786
32.7037
31.8159
31.3548
31.5198
32.5004
34.4144
37.2341
40.7678
44.692
48.6252
52.2146
55.2195
57.5591
59.3067
60.6117
61.6144
62.4118
63.0613
63.5991
64.0535
64.4485
64.8044
65.134
65.4446
65.7378
66.0144
66.2733
66.5143
66.7369
66.9414
67.1283
67.2984
67.4526
67.592
67.7177
67.8308
67.9324
68.0234
68.1047
68.1775
68.2423
68.3
68.3512
68.3967
68.4368
68.4722
68.5033
68.5305
68.5542
68.5747
68.5922
68.6071
68.6196
68.6298
68.6379
68.6441
68.6486
68.6514
68.6527
68.6526
68.6511
68.6484
68.6445
68.6394
68.6333
68.6262
68.6181
68.6091
68.5992
68.5884
68.5769
68.5645
68.5515
68.5377
68.5232
68.5081
68.4923
68.476
68.459
68.4415
68.4235
68.405
68.386
68.3665
68.3466
68.3264
68.3058
68.2848
68.2635
68.242
68.2202
68.1981
68.1759
68.1534
68.1308
68.108
68.0851
68.062
68.0388
68.0156
67.9922
67.9687
67.9452
67.9216
67.8979
67.8741
67.8503
67.8264
67.8025
67.7785
67.7544
67.7302
67.706
67.6818
67.6574
67.6331
67.6086
67.5841
67.5595
67.5349
67.5102
67.4855
67.4607
67.4359
67.4111
67.3862
67.3613
67.3363
67.3113
67.2864
67.2614
67.2364
67.2114
67.1865
67.1615
67.1366
67.1118
67.0869
67.0622
67.0374
67.0128
66.9882
66.9637
66.9393
66.9149
66.8906
66.8664
66.8423
66.8181
66.794
66.7698
66.7456
66.7211
66.6965
66.6714
66.6459
66.6196
66.5924
66.564
66.5341
66.5022
66.4678
66.4304
66.3891
66.3432
66.2915
66.233
66.1661
66.0896
66.0019
65.9016
65.7881
65.6616
65.525
65.384
65.2494
65.136
65.0614
65.0428
65.0937
65.2232
65.4363
65.7344
66.1151
66.5714
67.0896
67.647
68.2076
68.7231
69.1287
69.4051
69.6168
70.4286
72.7192
78.4102
34.5506
36.1715
35.8999
35.2212
34.1438
33.0566
32.1934
31.8112
32.0976
33.2256
35.2754
38.1819
41.7342
45.6062
49.4423
52.9215
55.8285
58.094
59.788
61.0509
62.0167
62.7797
63.3965
63.9029
64.3266
64.6917
65.0188
65.3211
65.6063
65.8768
66.1333
66.3747
66.6006
66.8103
67.0039
67.1815
67.3438
67.4914
67.6254
67.7465
67.8558
67.9541
68.0425
68.1216
68.1925
68.2558
68.3123
68.3625
68.4071
68.4466
68.4814
68.512
68.5389
68.5622
68.5824
68.5998
68.6145
68.6267
68.6368
68.6448
68.651
68.6554
68.6581
68.6594
68.6592
68.6576
68.6549
68.6509
68.6458
68.6396
68.6325
68.6243
68.6153
68.6053
68.5946
68.583
68.5706
68.5575
68.5437
68.5292
68.514
68.4982
68.4818
68.4648
68.4473
68.4292
68.4106
68.3916
68.3721
68.3522
68.3319
68.3112
68.2901
68.2688
68.2472
68.2253
68.2031
68.1808
68.1582
68.1355
68.1126
68.0895
68.0664
68.0431
68.0197
67.9962
67.9726
67.9489
67.9252
67.9014
67.8775
67.8535
67.8295
67.8055
67.7813
67.7571
67.7329
67.7086
67.6842
67.6597
67.6352
67.6107
67.5861
67.5614
67.5367
67.5119
67.487
67.4621
67.4372
67.4122
67.3872
67.3621
67.337
67.3119
67.2867
67.2615
67.2364
67.2112
67.186
67.1608
67.1356
67.1104
67.0852
67.0601
67.0349
67.0098
66.9847
66.9597
66.9346
66.9096
66.8845
66.8595
66.8344
66.8092
66.7839
66.7584
66.7327
66.7066
66.6801
66.653
66.6252
66.5964
66.5664
66.5348
66.5013
66.4654
66.4266
66.3841
66.3372
66.2849
66.2261
66.1594
66.0834
65.9964
65.8968
65.783
65.6541
65.5104
65.3546
65.1927
65.0355
64.8977
64.7963
64.7466
64.7608
64.8466
65.0081
65.2464
65.5589
65.9381
66.369
66.8268
67.272
67.6514
67.897
67.9805
67.9898
68.5522
70.9212
77.0175
34.4795
36.7315
36.451
35.6811
34.5605
33.4603
32.6605
32.3838
32.8181
34.1058
36.2854
39.2595
42.8011
46.5963
50.3178
53.6753
56.4745
58.6558
60.2867
61.4991
62.4209
63.1441
63.7244
64.197
64.5892
64.9248
65.2241
65.5005
65.762
66.0112
66.2487
66.4736
66.6852
66.8826
67.0657
67.2344
67.3892
67.5306
67.6592
67.7758
67.8814
67.9766
68.0623
68.1394
68.2084
68.2702
68.3255
68.3746
68.4184
68.4571
68.4914
68.5215
68.548
68.571
68.5909
68.608
68.6225
68.6346
68.6445
68.6524
68.6585
68.6627
68.6654
68.6665
68.6663
68.6647
68.6618
68.6578
68.6526
68.6464
68.6392
68.631
68.6219
68.6119
68.601
68.5894
68.577
68.5638
68.55
68.5354
68.5202
68.5044
68.4879
68.4709
68.4533
68.4352
68.4165
68.3974
68.3779
68.3579
68.3375
68.3168
68.2957
68.2742
68.2525
68.2305
68.2083
68.1858
68.1631
68.1403
68.1173
68.0941
68.0708
68.0474
68.0239
68.0003
67.9766
67.9528
67.9289
67.905
67.881
67.8569
67.8328
67.8086
67.7843
67.76
67.7356
67.7112
67.6867
67.6621
67.6375
67.6128
67.5881
67.5633
67.5385
67.5135
67.4886
67.4636
67.4385
67.4134
67.3882
67.363
67.3377
67.3124
67.2871
67.2617
67.2364
67.2109
67.1855
67.16
67.1346
67.1091
67.0836
67.058
67.0325
67.0069
66.9813
66.9557
66.93
66.9043
66.8785
66.8526
66.8266
66.8003
66.7739
66.7471
66.7199
66.6923
66.664
66.6349
66.6048
66.5736
66.5408
66.5061
66.4692
66.4294
66.3863
66.339
66.2867
66.2283
66.1626
66.0882
66.0034
65.9065
65.7956
65.669
65.5256
65.3655
65.1913
65.0092
64.8296
64.6668
64.5366
64.4527
64.4254
64.4612
64.5633
64.7324
64.9652
65.2533
65.5799
65.9174
66.2217
66.4325
66.4753
66.3027
66.011
66.1121
68.3786
74.4051
34.2495
37.5612
37.1262
36.1717
35.0053
33.9391
33.2303
33.0946
33.6992
35.1478
37.4394
40.4493
43.9503
47.6449
51.2378
54.4643
57.1475
59.2366
60.7969
61.9524
62.8247
63.5034
64.0437
64.4805
64.8406
65.1469
65.4196
65.6716
65.911
66.1402
66.3601
66.5695
66.7676
66.9534
67.1266
67.2869
67.4345
67.5697
67.6932
67.8056
67.9075
67.9996
68.0828
68.1577
68.225
68.2854
68.3393
68.3875
68.4304
68.4684
68.5021
68.5317
68.5577
68.5804
68.6
68.6168
68.6311
68.643
68.6528
68.6605
68.6664
68.6706
68.6731
68.6742
68.6738
68.6721
68.6692
68.665
68.6598
68.6535
68.6462
68.638
68.6288
68.6187
68.6078
68.5961
68.5837
68.5705
68.5565
68.5419
68.5267
68.5108
68.4943
68.4772
68.4595
68.4413
68.4227
68.4035
68.3839
68.3638
68.3433
68.3225
68.3013
68.2798
68.258
68.2359
68.2136
68.191
68.1682
68.1453
68.1221
68.0988
68.0754
68.0519
68.0282
68.0045
67.9806
67.9567
67.9327
67.9086
67.8845
67.8603
67.836
67.8117
67.7873
67.7629
67.7384
67.7138
67.6892
67.6646
67.6398
67.615
67.5902
67.5653
67.5403
67.5153
67.4902
67.465
67.4398
67.4146
67.3892
67.3639
67.3385
67.313
67.2875
67.262
67.2364
67.2107
67.1851
67.1593
67.1336
67.1078
67.0819
67.056
67.0301
67.004
66.978
66.9518
66.9255
66.8991
66.8725
66.8458
66.8188
66.7916
66.764
66.7359
66.7073
66.6781
66.6481
66.617
66.5848
66.5511
66.5157
66.478
66.4377
66.3943
66.347
66.295
66.2376
66.1734
66.1012
66.0194
65.9264
65.8202
65.6987
65.5601
65.403
65.2274
65.0357
64.8338
64.6319
64.4433
64.2822
64.1608
64.0875
64.0676
64.1034
64.1946
64.3373
64.5216
64.7284
64.9265
65.0661
65.0782
64.8761
64.3811
63.666
63.0202
64.9151
69.8927
33.8459
38.8979
37.9088
36.6607
35.4944
34.5073
33.9329
33.9702
34.754
36.3484
38.7195
41.7285
45.1568
48.7322
52.1863
55.2759
57.8394
59.8335
61.3199
62.4142
63.2324
63.8622
64.3588
64.7575
65.0847
65.3625
65.6098
65.8391
66.0579
66.2685
66.4718
66.6665
66.8517
67.0263
67.1898
67.3417
67.4822
67.6113
67.7297
67.8376
67.9358
68.0249
68.1055
68.1781
68.2436
68.3023
68.355
68.4021
68.444
68.4813
68.5143
68.5434
68.5689
68.5911
68.6104
68.6269
68.6409
68.6526
68.6621
68.6697
68.6754
68.6794
68.6818
68.6827
68.6822
68.6803
68.6773
68.673
68.6677
68.6613
68.6539
68.6456
68.6363
68.6262
68.6152
68.6034
68.5909
68.5776
68.5636
68.5489
68.5336
68.5176
68.501
68.4839
68.4662
68.4479
68.4291
68.4099
68.3902
68.37
68.3495
68.3286
68.3073
68.2857
68.2638
68.2416
68.2191
68.1964
68.1735
68.1504
68.1272
68.1038
68.0802
68.0565
68.0328
68.0089
67.9849
67.9608
67.9367
67.9125
67.8882
67.8639
67.8395
67.815
67.7905
67.7659
67.7413
67.7166
67.6919
67.6671
67.6423
67.6174
67.5924
67.5673
67.5423
67.5171
67.4919
67.4666
67.4413
67.4158
67.3904
67.3649
67.3393
67.3137
67.288
67.2623
67.2365
67.2106
67.1847
67.1587
67.1327
67.1066
67.0804
67.0541
67.0277
67.0013
66.9747
66.9479
66.9211
66.894
66.8667
66.8391
66.8113
66.783
66.7543
66.725
66.695
66.6643
66.6325
66.5996
66.5653
66.5293
66.4912
66.4507
66.4073
66.3602
66.309
66.2527
66.1903
66.1206
66.0423
65.9538
65.8531
65.7381
65.6068
65.457
65.2871
65.0969
64.8884
64.6672
64.4428
64.2273
64.0333
63.8711
63.7475
63.6664
63.6293
63.6351
63.6783
63.7473
63.8204
63.862
63.816
63.6028
63.118
62.2393
60.968
59.2519
60.2302
62.336
34.6662
40.6101
38.7783
37.1886
36.0702
35.2183
34.8157
35.0382
35.987
37.6926
40.0997
43.0685
46.3955
49.8352
53.1404
56.0868
58.5278
60.4256
61.8369
62.8684
63.6304
64.2089
64.6598
65.0192
65.3133
65.5633
65.7867
65.995
66.195
66.3888
66.577
66.7583
66.9316
67.0959
67.2503
67.3945
67.5283
67.6518
67.7653
67.8691
67.9638
68.0499
68.128
68.1986
68.2623
68.3195
68.371
68.4169
68.458
68.4945
68.5269
68.5554
68.5805
68.6023
68.6212
68.6374
68.6512
68.6626
68.6719
68.6793
68.6848
68.6886
68.6908
68.6915
68.6909
68.6889
68.6858
68.6814
68.676
68.6694
68.662
68.6535
68.6441
68.6339
68.6228
68.6109
68.5983
68.5849
68.5709
68.5561
68.5407
68.5247
68.508
68.4908
68.473
68.4546
68.4358
68.4165
68.3967
68.3765
68.3558
68.3348
68.3134
68.2917
68.2697
68.2474
68.2248
68.202
68.179
68.1558
68.1324
68.1088
68.0851
68.0613
68.0374
68.0134
67.9892
67.965
67.9408
67.9164
67.892
67.8675
67.843
67.8184
67.7938
67.7691
67.7443
67.7195
67.6946
67.6697
67.6448
67.6197
67.5946
67.5695
67.5442
67.519
67.4936
67.4682
67.4427
67.4172
67.3916
67.3659
67.3402
67.3144
67.2885
67.2626
67.2366
67.2105
67.1844
67.1581
67.1318
67.1054
67.0789
67.0522
67.0254
66.9985
66.9715
66.9442
66.9167
66.889
66.861
66.8326
66.8038
66.7746
66.7448
66.7143
66.683
66.6507
66.6173
66.5826
66.5463
66.508
66.4674
66.4241
66.3776
66.3272
66.2722
66.2117
66.1447
66.0699
65.9858
65.8908
65.783
65.66
65.5195
65.3593
65.1775
64.9736
64.7491
64.5091
64.2619
64.0186
63.7899
63.5841
63.4066
63.26
63.1448
63.0584
62.9943
62.9384
62.8661
62.7375
62.4892
62.0303
61.2337
59.9259
57.9905
54.9982
53.6173
49.1274
-84.7364
-12.6031
-8.48788
-5.47804
-2.81839
-1.09361
-0.128191
0.544417
0.921238
1.12567
1.20201
1.19976
1.14384
1.05794
0.94968
0.83552
0.701777
0.592665
0.39389
0.404578
-74.8763
-11.4856
-8.49558
-5.48855
-2.89195
-1.17081
-0.20273
0.476945
0.860711
1.07328
1.15731
1.16229
1.11278
1.03247
0.928901
0.818769
0.688104
0.582127
0.384086
0.399974
-66.3464
-10.011
-8.55895
-5.40836
-2.94095
-1.23735
-0.279184
0.403385
0.790921
1.01088
1.10247
1.11516
1.07268
0.998706
0.900484
0.795153
0.667909
0.56642
0.368207
0.397213
-59.9774
-8.51739
-8.57542
-5.22534
-2.94617
-1.27477
-0.341638
0.336131
0.721844
0.94606
1.04326
1.06268
1.0268
0.959117
0.866389
0.766197
0.642649
0.546322
0.348232
0.392879
-54.4303
-7.00094
-8.53429
-4.97643
-2.91964
-1.28616
-0.388175
0.279306
0.658842
0.884485
0.985276
1.01012
0.979999
0.918099
0.830573
0.735383
0.615506
0.524445
0.326996
0.387068
-49.2474
-5.53762
-8.43819
-4.68801
-2.87352
-1.2792
-0.422707
0.231373
0.601983
0.827179
0.930129
0.959392
0.934291
0.877656
0.794966
0.704522
0.588188
0.502223
0.306034
0.379879
-44.4308
-4.17925
-8.28916
-4.37397
-2.81341
-1.25859
-0.448219
0.190489
0.550354
0.773839
0.877943
0.910877
0.890232
0.838431
0.760268
0.674308
0.561435
0.480281
0.286063
0.371344
-39.9789
-2.93652
-8.08858
-4.04312
-2.74213
-1.22734
-0.466754
0.155182
0.502998
0.723888
0.828426
0.864487
0.847867
0.800563
0.72667
0.644964
0.535478
0.45878
0.267259
0.361323
-35.8499
-1.80286
-7.83897
-3.70206
-2.66145
-1.18773
-0.479904
0.12414
0.458977
0.676652
0.781137
0.819943
0.807048
0.763989
0.69419
0.616543
0.510445
0.437823
0.249772
0.349823
-32.0045
-0.767772
-7.54403
-3.35594
-2.57264
-1.14154
-0.488777
0.0964509
0.417626
0.631645
0.735744
0.777033
0.767649
0.728651
0.662805
0.58905
0.486333
0.417368
0.23352
0.336743
-28.4162
0.178771
-7.20761
-3.00843
-2.47645
-1.09016
-0.494251
0.0713049
0.378329
0.588378
0.691889
0.735496
0.729492
0.694427
0.632451
0.562451
0.463178
0.397453
0.218566
0.322183
-25.0651
1.04694
-6.83392
-2.66243
-2.37343
-1.03465
-0.496822
0.0482543
0.340762
0.546597
0.649387
0.695201
0.692488
0.661266
0.603093
0.536725
0.440922
0.377996
0.204749
0.306075
-21.9334
1.84584
-6.42667
-2.31985
-2.26384
-0.975861
-0.49693
0.026848
0.304589
0.506019
0.608022
0.655981
0.656516
0.629075
0.574678
0.511838
0.419598
0.359048
0.192133
0.288587
-19.0044
2.58444
-5.98987
-1.98236
-2.14798
-0.914458
-0.494748
0.00691244
0.269714
0.466565
0.567742
0.617802
0.621556
0.597851
0.547198
0.487787
0.399142
0.340531
0.180531
0.269665
-16.2619
3.27055
-5.52674
-1.65086
-2.02601
-0.851025
-0.490533
-0.0118348
0.235938
0.428069
0.528419
0.580561
0.587531
0.567533
0.52062
0.464555
0.379598
0.322522
0.170023
0.249522
-13.6905
3.91181
-5.04089
-1.32639
-1.89824
-0.786094
-0.484359
-0.0294722
0.203253
0.390521
0.490059
0.544269
0.554455
0.538139
0.494951
0.442145
0.360901
0.304947
0.160408
0.228098
-11.2755
4.51493
-4.53499
-1.00927
-1.76491
-0.720169
-0.476493
-0.0462671
0.171475
0.353773
0.452547
0.508834
0.522256
0.509613
0.470158
0.420544
0.343091
0.287901
0.151768
0.205635
-9.00314
5.08646
-4.01232
-0.700264
-1.62653
-0.653808
-0.467076
-0.0623413
0.140557
0.317791
0.415868
0.474248
0.490934
0.481958
0.446232
0.39974
0.326082
0.271297
0.14388
0.182066
-6.86023
5.63215
-3.47508
-0.399428
-1.48357
-0.587588
-0.456517
-0.0780603
0.110233
0.282362
0.379856
0.440377
0.460379
0.455085
0.42311
0.379696
0.309893
0.25523
0.136811
0.15765
-4.83484
6.15752
-2.92639
-0.107516
-1.33685
-0.522211
-0.445135
-0.0936787
0.0803464
0.247363
0.344421
0.407151
0.430537
0.428949
0.400743
0.360362
0.294405
0.239583
0.130318
0.132304
-2.91572
6.66731
-2.36821
0.175415
-1.18716
-0.458405
-0.433549
-0.109704
0.0505046
0.212484
0.309317
0.374369
0.401238
0.403409
0.379017
0.341659
0.279588
0.224431
0.124422
0.106306
-1.09285
7.16598
-1.80363
0.448467
-1.03569
-0.397051
-0.422278
-0.126533
0.0204295
0.177508
0.274372
0.341888
0.372365
0.378363
0.357831
0.323488
0.265283
0.209619
0.118849
0.0795637
0.643042
7.65721
-1.23456
0.711441
-0.883571
-0.339021
-0.412124
-0.144788
-0.0103689
0.14205
0.239274
0.309451
0.343695
0.353619
0.33702
0.305728
0.251411
0.195195
0.11357
0.0523726
2.29998
8.14425
-0.664138
0.963262
-0.732268
-0.285309
-0.403744
-0.164943
-0.0422332
0.105843
0.203809
0.276872
0.315072
0.329032
0.316446
0.288235
0.237784
0.180969
0.108305
0.0246423
3.88531
8.62961
-0.0943217
1.20355
-0.583159
-0.23682
-0.398
-0.187619
-0.0756555
0.0685075
0.167664
0.243891
0.286256
0.304395
0.295918
0.270867
0.224284
0.166964
0.102963
-0.00331144
5.40513
9.11532
0.471759
1.43113
-0.437829
-0.194496
-0.39553
-0.21323
-0.110929
0.0298247
0.130657
0.210345
0.257105
0.279563
0.275293
0.253464
0.210718
0.152977
0.0972684
-0.0315596
6.8649
9.60263
1.03211
1.64552
-0.297689
-0.159091
-0.397072
-0.242241
-0.148416
-0.0104707
0.0925643
0.17604
0.227426
0.254364
0.254399
0.235897
0.196961
0.139023
0.0910991
-0.059761
8.26887
10.0923
1.58372
1.84565
-0.1642
-0.131281
-0.40306
-0.274853
-0.188233
-0.0524505
0.0533254
0.140905
0.197151
0.228703
0.233139
0.218032
0.182859
0.12492
0.0842214
-0.0879469
9.62079
10.5842
2.12464
2.03109
-0.0385521
-0.111451
-0.413908
-0.311216
-0.230484
-0.0961625
0.012886
0.104887
0.166195
0.202497
0.211401
0.199791
0.168315
0.110698
0.0765039
-0.11575
10.9231
11.0779
2.65207
2.20104
0.078162
-0.0998125
-0.429673
-0.351188
-0.275008
-0.141448
-0.0286259
0.0680661
0.134613
0.175749
0.189175
0.181105
0.153247
0.0962227
0.0677827
-0.14315
12.1779
11.572
3.16419
2.35532
0.185196
-0.0962113
-0.450302
-0.394503
-0.321578
-0.188083
-0.0710467
0.0305669
0.102467
0.1485
0.166452
0.161981
0.137624
0.0815615
0.0579628
-0.169755
13.3857
12.0643
3.65842
2.49355
0.282012
-0.100263
-0.475379
-0.440619
-0.369714
-0.235648
-0.11404
-0.0073542
0.0699553
0.120878
0.143326
0.142446
0.121459
0.0666635
0.0469725
-0.195465
14.5465
12.5518
4.13282
2.61594
0.368429
-0.111185
-0.504318
-0.488823
-0.418836
-0.283639
-0.157211
-0.0453845
0.0373043
0.0930592
0.11991
0.122601
0.104815
0.0516381
0.0348069
-0.219886
15.6579
13.0302
4.58473
2.72254
0.444501
-0.127986
-0.536234
-0.538201
-0.468179
-0.331412
-0.200042
-0.0831158
0.00484128
0.0652883
0.0964063
0.102577
0.0878101
0.0365228
0.0215222
-0.24284
16.717
13.4944
5.01159
2.81394
0.510528
-0.149353
-0.570133
-0.587719
-0.516933
-0.37828
-0.241995
-0.120109
-0.0270902
0.0378518
0.0730372
0.0825731
0.070617
0.0214866
0.00729184
-0.263923
17.7164
13.9366
5.40963
2.89049
0.567027
-0.173709
-0.604675
-0.636072
-0.564009
-0.423316
-0.282282
-0.155696
-0.0579058
0.0112534
0.0502621
0.0629802
0.0536235
0.00680803
-0.00745743
-0.282786
18.635
14.3425
5.77123
2.9523
0.614678
-0.198467
-0.637504
-0.68077
-0.607191
-0.464466
-0.319065
-0.188201
-0.086091
-0.0131198
0.02934
0.044955
0.0379054
-0.00659412
-0.0216029
-0.29854
19.4218
14.6865
6.08074
2.99867
0.654027
-0.219722
-0.664616
-0.717511
-0.642435
-0.497948
-0.34889
-0.214489
-0.108825
-0.0327418
0.0125215
0.0304794
0.0252425
-0.0172575
-0.0334842
-0.309873
19.9982
14.9377
6.31343
3.02907
0.683246
-0.234547
-0.683144
-0.742871
-0.6666
-0.520855
-0.36923
-0.232401
-0.124325
-0.0461699
0.00093899
0.020416
0.0163014
-0.0247806
-0.0424216
-0.316072
20.4008
15.1448
6.47381
3.05923
0.6962
-0.253727
-0.710185
-0.776303
-0.700632
-0.554359
-0.400932
-0.262055
-0.151786
-0.0715676
-0.0225108
-0.0012814
-0.00385869
-0.0432399
-0.0605468
-0.32904
)
;
boundaryField
{
inlet
{
type zeroGradient;
}
outlet
{
type fixedValue;
value uniform 0;
}
walls
{
type zeroGradient;
}
frontAndBack
{
type empty;
}
}
// ************************************************************************* //
| [
"jorgentyvand@.gmail.com"
] | jorgentyvand@.gmail.com | |
26c8a8a80a97e0cfce3ae2a279477c701ac7d013 | b28161725407c24fa8f7dd634b6889f164a9f720 | /src/login_server/login_server.cpp | 94758418f12db2f4407a853bc092c23a5a5866c0 | [] | no_license | qidaizhe11/QingfengCalendar-server | 5a22b45ca5f2cb5fc510b535f5cbcdb7b7bc04b1 | 0606d635b1730fcded0a66a102f4cf13f18296da | refs/heads/master | 2016-09-05T16:59:40.783980 | 2015-09-20T13:37:46 | 2015-09-20T13:37:46 | 42,799,638 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,286 | cpp |
#include "LoginConn.h"
#include "netlib.h"
#include "ConfigFileReader.h"
#include "version.h"
#include "HttpConn.h"
#include "ipparser.h"
IpParser* pIpParser = NULL;
string strMsfsUrl;
string strDiscovery; // 发现获取地址
void client_callback(void* callback_data, uint8_t msg, uint32_t handle, void* pParam)
{
if (msg == NETLIB_MSG_CONNECT) {
CLoginConn* pConn = new CLoginConn();
pConn->OnConnect2(handle, LOGIN_CONN_TYPE_CLIENT);
} else {
log("!!!error msg: %d ", msg);
}
}
void msg_serv_callback(void* callback_data, uint8_t msg, uint32_t handle, void* pParam)
{
if (msg == NETLIB_MSG_CONNECT) {
CLoginConn* pConn = new CLoginConn();
pConn->OnConnect2(handle, LOGIN_CONN_TYPE_MSG_SERV);
} else {
log("!!!error msg: %d ", msg);
}
}
void http_callback(void* callback_data, uint8_t msg, uint32_t handle, void* pParam)
{
if (msg == NETLIB_MSG_CONNECT) {
CHttpConn* pConn = new CHttpConn();
pConn->OnConnect(handle);
} else {
log("!!!error msg: %d ", msg);
}
}
int main(int argc, char* argv[])
{
if (argc == 2 && strcmp(argv[1], "-v") == 0) {
printf("Server Version: LoginServer/%s\n", VERSION);
printf("Server Build: %s %s\n", __DATE__, __TIME__);
return 0;
}
signal(SIGPIPE, SIG_IGN);
CConfigFileReader config_file("loginserver.conf");
char* http_listen_ip = config_file.GetConfigName("HttpListenIP");
char* str_http_port = config_file.GetConfigName("HttpPort");
char* msg_server_listen_ip = config_file.GetConfigName("MsgServerListenIP");
char* str_msg_server_port = config_file.GetConfigName("MsgServerPort");
char* str_msfs_url = config_file.GetConfigName("msfs");
char* str_discovery = config_file.GetConfigName("discovery");
if (!msg_server_listen_ip || !str_msg_server_port || !http_listen_ip || !str_http_port ||
!str_msfs_url || !str_discovery) {
log("config item missing, exit...");
return -1;
}
uint16_t msg_server_port = atoi(str_msg_server_port);
uint16_t http_port = atoi(str_http_port);
strMsfsUrl = str_msfs_url;
strDiscovery = str_discovery;
pIpParser = new IpParser();
int ret = netlib_init();
if (ret == NETLIB_ERROR) {
return ret;
}
CStrExplode msg_server_listen_ip_list(msg_server_listen_ip, ';');
for (uint32_t i = 0; i < msg_server_listen_ip_list.GetItemCnt(); ++i) {
ret = netlib_listen(msg_server_listen_ip_list.GetItem(i), msg_server_port,
msg_serv_callback, NULL);
if (ret == NETLIB_ERROR) {
return ret;
}
}
CStrExplode http_listen_ip_list(http_listen_ip, ';');
for (uint32_t i = 0; i < http_listen_ip_list.GetItemCnt(); ++i) {
ret = netlib_listen(http_listen_ip_list.GetItem(i), http_port, http_callback, NULL);
if (ret == NETLIB_ERROR) {
return ret;
}
}
printf("Server start listen on:\nFor MsgServer: %s:%d\nFor http:%s:%d\n",
msg_server_listen_ip, msg_server_port, http_listen_ip, http_port);
init_login_conn();
init_http_conn();
printf("now enter the event loop...\n");
writePid();
netlib_eventloop();
return 0;
}
| [
"qidaizhe11@gmail.com"
] | qidaizhe11@gmail.com |
f85232164ded4de73454339ef0ba49e4c729a1cc | c0936ba52ea548fa1771037adb5dfa1f0e7501b3 | /2016/Ex8/Second/main.cpp | b85bbd649b379842efb68364aa78cbf5991ffe4c | [] | no_license | blazkovic/AdventOfCode | e43b0aac0d0a3739d1027f9173e1d15f8a7b878b | c12d156266aefcb9fd58d54c2c07cca738b2cad8 | refs/heads/master | 2021-01-01T15:36:07.524754 | 2020-01-03T11:32:27 | 2020-01-03T11:32:27 | 76,390,959 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,362 | cpp | #include <iostream>
#include <string>
#include <sstream>
#include <vector>
#include <algorithm>
std::string input =
R"(rect 1x1
rotate row y=0 by 20
rect 1x1
rotate row y=0 by 2
rect 1x1
rotate row y=0 by 3
rect 2x1
rotate row y=0 by 2
rect 1x1
rotate row y=0 by 3
rect 2x1
rotate row y=0 by 2
rect 1x1
rotate row y=0 by 4
rect 2x1
rotate row y=0 by 2
rect 1x1
rotate row y=0 by 2
rect 1x1
rotate row y=0 by 2
rect 1x1
rotate row y=0 by 3
rect 2x1
rotate row y=0 by 2
rect 1x1
rotate row y=0 by 5
rect 1x1
rotate row y=0 by 2
rect 1x1
rotate row y=0 by 6
rect 5x1
rotate row y=0 by 2
rect 1x3
rotate row y=2 by 8
rotate row y=0 by 8
rotate column x=0 by 1
rect 7x1
rotate row y=2 by 24
rotate row y=0 by 20
rotate column x=5 by 1
rotate column x=4 by 2
rotate column x=2 by 2
rotate column x=0 by 1
rect 7x1
rotate column x=34 by 2
rotate column x=22 by 1
rotate column x=15 by 1
rotate row y=2 by 18
rotate row y=0 by 12
rotate column x=8 by 2
rotate column x=7 by 1
rotate column x=5 by 2
rotate column x=2 by 1
rotate column x=0 by 1
rect 9x1
rotate row y=3 by 28
rotate row y=1 by 28
rotate row y=0 by 20
rotate column x=18 by 1
rotate column x=15 by 1
rotate column x=14 by 1
rotate column x=13 by 1
rotate column x=12 by 2
rotate column x=10 by 3
rotate column x=8 by 1
rotate column x=7 by 2
rotate column x=6 by 1
rotate column x=5 by 1
rotate column x=3 by 1
rotate column x=2 by 2
rotate column x=0 by 1
rect 19x1
rotate column x=34 by 2
rotate column x=24 by 1
rotate column x=23 by 1
rotate column x=14 by 1
rotate column x=9 by 2
rotate column x=4 by 2
rotate row y=3 by 5
rotate row y=2 by 3
rotate row y=1 by 7
rotate row y=0 by 5
rotate column x=0 by 2
rect 3x2
rotate column x=16 by 2
rotate row y=3 by 27
rotate row y=2 by 5
rotate row y=0 by 20
rotate column x=8 by 2
rotate column x=7 by 1
rotate column x=5 by 1
rotate column x=3 by 3
rotate column x=2 by 1
rotate column x=1 by 2
rotate column x=0 by 1
rect 9x1
rotate row y=4 by 42
rotate row y=3 by 40
rotate row y=1 by 30
rotate row y=0 by 40
rotate column x=37 by 2
rotate column x=36 by 3
rotate column x=35 by 1
rotate column x=33 by 1
rotate column x=32 by 1
rotate column x=31 by 3
rotate column x=30 by 1
rotate column x=28 by 1
rotate column x=27 by 1
rotate column x=25 by 1
rotate column x=23 by 3
rotate column x=22 by 1
rotate column x=21 by 1
rotate column x=20 by 1
rotate column x=18 by 1
rotate column x=17 by 1
rotate column x=16 by 3
rotate column x=15 by 1
rotate column x=13 by 1
rotate column x=12 by 1
rotate column x=11 by 2
rotate column x=10 by 1
rotate column x=8 by 1
rotate column x=7 by 2
rotate column x=5 by 1
rotate column x=3 by 3
rotate column x=2 by 1
rotate column x=1 by 1
rotate column x=0 by 1
rect 39x1
rotate column x=44 by 2
rotate column x=42 by 2
rotate column x=35 by 5
rotate column x=34 by 2
rotate column x=32 by 2
rotate column x=29 by 2
rotate column x=25 by 5
rotate column x=24 by 2
rotate column x=19 by 2
rotate column x=15 by 4
rotate column x=14 by 2
rotate column x=12 by 3
rotate column x=9 by 2
rotate column x=5 by 5
rotate column x=4 by 2
rotate row y=5 by 5
rotate row y=4 by 38
rotate row y=3 by 10
rotate row y=2 by 46
rotate row y=1 by 10
rotate column x=48 by 4
rotate column x=47 by 3
rotate column x=46 by 3
rotate column x=45 by 1
rotate column x=43 by 1
rotate column x=37 by 5
rotate column x=36 by 5
rotate column x=35 by 4
rotate column x=33 by 1
rotate column x=32 by 5
rotate column x=31 by 5
rotate column x=28 by 5
rotate column x=27 by 5
rotate column x=26 by 3
rotate column x=25 by 4
rotate column x=23 by 1
rotate column x=17 by 5
rotate column x=16 by 5
rotate column x=13 by 1
rotate column x=12 by 5
rotate column x=11 by 5
rotate column x=3 by 1
rotate column x=0 by 1
)";
class Display
{
public:
void rotateColumnDown(int p_column, int p_value)
{
std::string l_stringToShift(m_rowsNumber, '0');
for (auto i = 0; i < m_rowsNumber; i++)
{
l_stringToShift[i] = m_display[p_column + i*m_columnsNumber];
}
for (auto i = 0; i < p_value; i++)
{
l_stringToShift.insert(0, 1, *(l_stringToShift.end() -1));
l_stringToShift.pop_back();
}
for (auto i = 0; i < m_rowsNumber; i++)
{
m_display[p_column + i*m_columnsNumber] = l_stringToShift[i];
}
}
void rotateRowRight(int p_row, int p_value)
{
std::string l_stringToShift(m_display, p_row*m_columnsNumber, m_columnsNumber);
for (auto i = 0; i < p_value; i++)
{
l_stringToShift.insert(0, 1, *(l_stringToShift.end()-1));
l_stringToShift.pop_back();
}
for(auto i = 0; i < m_columnsNumber; i++)
{
m_display[p_row*m_columnsNumber + i] = l_stringToShift[i];
}
}
void setRectangle(int p_columns, int p_rows)
{
for (auto i = 0; i < p_rows; i++)
{
for (auto j = 0; j < p_columns; j++)
{
m_display[i*m_columnsNumber + j] = 'O';
}
}
}
void showDisplay() const
{
for (auto i = 0; i < m_rowsNumber; i++)
{
for (auto j = 0; j < m_columnsNumber; j++)
{
if (j%5 == 0) std::cout << " ";
std::cout << m_display[i*m_columnsNumber + j];
}
std::cout << std::endl;
}
}
private:
const static auto m_rowsNumber = 6;
const static auto m_columnsNumber = 50;
std::string m_display = std::string(m_rowsNumber*m_columnsNumber, ' ');
};
class DisplayManager
{
public:
void parseCommand(const std::string & p_command)
{
if (p_command.find("rotate", 0) != std::string::npos)
{
if (p_command.find("column", 0) != std::string::npos)
{
auto l_it = std::find(p_command.begin()+14, p_command.end(), 'b');
auto l_columnNumber = std::string(p_command.begin()+14, l_it);
auto l_offset = std::string(l_it+2, p_command.end());
m_display.rotateColumnDown(std::stoul(l_columnNumber), std::stoul(l_offset));
}
if (p_command.find("row", 0) != std::string::npos)
{
auto l_it = std::find(p_command.begin()+11, p_command.end(), 'b');
auto l_rowNumber = std::string(p_command.begin()+11, l_it);
auto l_offset = std::string(l_it+2, p_command.end());
m_display.rotateRowRight(std::stoul(l_rowNumber), std::stoul(l_offset));
}
}
if (p_command.find("rect", 0) != std::string::npos)
{
auto l_it = std::find(p_command.begin()+4, p_command.end(), 'x');
auto l_columns = std::string(p_command.begin()+4, l_it);
auto l_rows = std::string(l_it+1, p_command.end());
m_display.setRectangle(std::stoul(l_columns), std::stoul(l_rows));
}
}
void showDisplay() const
{
m_display.showDisplay();
}
private:
Display m_display;
};
void removeSpaces(std::string & p_input)
{
p_input.erase(remove_if(p_input.begin(), p_input.end(), isblank), p_input.end());
}
int main()
{
DisplayManager l_displayManager;
removeSpaces(input);
std::istringstream l_input(input);
std::string l_item;
while(getline(l_input, l_item, '\n'))
{
l_displayManager.parseCommand(l_item);
}
l_displayManager.showDisplay();
return 0;
}
/*
--- Day 8: Two-Factor Authentication ---
You come across a door implementing what you can only assume is an implementation of two-factor authentication after a long game of requirements telephone.
To get past the door, you first swipe a keycard (no problem; there was one on a nearby desk). Then, it displays a code on a little screen, and you type that code on a keypad. Then, presumably, the door unlocks.
Unfortunately, the screen has been smashed. After a few minutes, you've taken everything apart and figured out how it works. Now you just have to work out what the screen would have displayed.
The magnetic strip on the card you swiped encodes a series of instructions for the screen; these instructions are your puzzle input. The screen is 50 pixels wide and 6 pixels tall, all of which start off, and is capable of three somewhat peculiar operations:
rect AxB turns on all of the pixels in a rectangle at the top-left of the screen which is A wide and B tall.
rotate row y=A by B shifts all of the pixels in row A (0 is the top row) right by B pixels. Pixels that would fall off the right end appear at the left end of the row.
rotate column x=A by B shifts all of the pixels in column A (0 is the left column) down by B pixels. Pixels that would fall off the bottom appear at the top of the column.
For example, here is a simple sequence on a smaller screen:
rect 3x2 creates a small rectangle in the top-left corner:
###....
###....
.......
rotate column x=1 by 1 rotates the second column down by one pixel:
#.#....
###....
.#.....
rotate row y=0 by 4 rotates the top row right by four pixels:
....#.#
###....
.#.....
rotate column x=1 by 1 again rotates the second column down by one pixel, causing the bottom pixel to wrap back to the top:
.#..#.#
#.#....
.#.....
As you can see, this display technology is extremely powerful, and will soon dominate the tiny-code-displaying-screen market. That's what the advertisement on the back of the display tries to convince you, anyway.
There seems to be an intermediate check of the voltage used by the display: after you swipe your card, if the screen did work, how many pixels should be lit?
--- Part Two ---
You notice that the screen is only capable of displaying capital letters; in the font it uses, each letter is 5 pixels wide and 6 tall.
After you swipe your card, what code is the screen trying to display?
*/
| [
"blazkovic@unknown"
] | blazkovic@unknown |
a6277b4aa3e2c94f147eedf26fa8c5809f92b035 | 3d7ce2f3040591fa0e768e03f82354a3468cfbdc | /Object.h | da50546db07fb74bc1d337cb2628cdb625559536 | [] | no_license | aybuket/NavigatingBarn | 77970db390baed2e17337c53955c4eb93697e89d | ac951c271f61eb9b24cb119fdd66fcc44f088b13 | refs/heads/main | 2023-05-29T00:09:06.736061 | 2021-06-14T21:03:04 | 2021-06-14T21:03:04 | 376,954,801 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 500 | h | //
// Object.hpp
// GraphicTermProject
//
// Created by Aybüke Buket Akgül on 11.06.2021.
// Copyright © 2021 Aybüke Buket Akgül. All rights reserved.
//
#ifndef Object_h
#define Object_h
#include "Angel.h"
#include "Decleration.h"
#include <stdio.h>
namespace Object {
void initialize_buffer(int index);
void colorcube();
void room();
void roof();
void
tetrahedron( int count );
void initialize_sphere_buffer();
void read_bunny();
void initialize_bunny_buffer();
}
#endif /* Object_h */
| [
"aakgul13@ku.edu.tr"
] | aakgul13@ku.edu.tr |
26f7fa205c0ce20d96ca52ee6fc2b3f4ee5b91e3 | 63ba91de14d218aafce9b9fef4d68f072dc511d2 | /codechef/SOLVED/MEX/c.cpp | 001fa848684f27a3cb4484532a8102fabe40c4b9 | [] | no_license | anas-didi95/programming-practices | bd1b57ea88db274f7c4b926cf2baf7360b3efe41 | cb0fb132e322b190edc11a8f71a231912c14ede5 | refs/heads/master | 2021-04-27T11:41:15.594540 | 2018-03-06T10:22:00 | 2018-03-06T10:22:00 | 122,566,060 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 668 | cpp | #include <bits/stdc++.h>
using namespace std;
#define MAX 2*100100
int main() {
int t;
scanf("%d", &t);
while (t--) {
int n, k;
scanf("%d %d", &n, &k);
bool s[MAX] = {false};
for (int i = 0; i < n; i++) {
int x;
scanf("%d", &x);
s[x] = true;
}
for (int i = 0; i < MAX && k; i++) {
if (!s[i]) {
s[i] = true;
k--;
}
}
for (int i = 0; i < MAX; i++) {
if (!s[i]) {
printf("%d\n", i);
break;
}
}
}
return 0;
}
| [
"anas.didi95@gmail.com"
] | anas.didi95@gmail.com |
cd48da361bbfe1a6f2df1514be8bbc5de3e30e7c | e22b72be7a7184a2e5c184baf6a487d7085e35f0 | /Classes/AppDelegate.cpp | 857ea21cad4ebfefc0c71a91d7cb756cdeb37020 | [
"MIT"
] | permissive | lcglcglcg/mygame | c24a3db71027551c47c67240d31907dbddfab30f | bc7f8b53e254afbd5fbcbe80aacfbf1c72f7e31f | refs/heads/master | 2021-01-10T09:17:21.824399 | 2016-03-17T01:32:07 | 2016-03-17T01:32:07 | 54,078,866 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,151 | cpp |
#include "AppDelegate.h"
#include "MyGame.h"
USING_NS_CC;
AppDelegate::AppDelegate()
{
}
AppDelegate::~AppDelegate()
{
}
void AppDelegate::initGLContextAttrs()
{
GLContextAttrs glContextAttrs = {8, 8, 8, 8, 24, 8};
GLView::setGLContextAttrs(glContextAttrs);
}
bool AppDelegate::applicationDidFinishLaunching() {
auto director = Director::getInstance();
auto glview = director->getOpenGLView();
if(!glview) {
glview = GLViewImpl::createWithRect("lcglcg", Rect(0, 0, 960, 640));
director->setOpenGLView(glview);
}
FileUtils::getInstance()->addSearchPath("res");
director->getOpenGLView()->setDesignResolutionSize(960, 640, ResolutionPolicy::SHOW_ALL);
// director->setDisplayStats(true);
// director->setAnimationInterval(1.0 / 60);
auto scene = MyGame::createScene();
director->runWithScene(scene);
return true;
}
void AppDelegate::applicationDidEnterBackground() {
Director::getInstance()->stopAnimation();
}
void AppDelegate::applicationWillEnterForeground() {
Director::getInstance()->startAnimation();
}
| [
"verylcg@sina.com"
] | verylcg@sina.com |
2611a21bbf2afc3d58a5b7cd8ece6dba2db95c0c | a80e8a0f30bb79f4e5416dba3f1d1ed197bd1b8c | /src/asservissement.cpp | 95abb75138ae62d2d11c7b61032eac97165da3fe | [] | no_license | QuenOlivier/ProjetImplementation | ff6468ef841b5460b31c5b65e634287b8b603379 | b0fb425402cfd6097c22d68ad27d1dc2eea92167 | refs/heads/master | 2020-04-08T11:24:16.343448 | 2019-01-18T09:19:30 | 2019-01-18T09:19:30 | 159,304,640 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,378 | cpp | ///
/// \file asservissement.cpp
/// \brief Fichier regroupant toute l'algorithmique concernant le controle des moteurs
/// \author Quentin.OLIVIER
///
#include "asservissement.hpp"
#include "BBBexample.hpp"
#define _USE_MATH_DEFINES
#define TIMESTEP 0.5 //En secondes
#define REDUC (10.0/19.0)
#define MAX_SPEED 6680
using std::cout;
using std::endl;
///using namespace BBB;
///
/// \fn Point::Point()
/// \brief Constructeur de la classe Point
///
Point::Point(){
this->_x=0;
this->_y=0;
}
///
/// \fn Point::Point(double x, double y)
/// \brief Constructeur de la classe Point
/// \param[in] x Membre 1 du tuple Point
/// \param[in] y Membre 2 du tuple Point
///
Point::Point(double x, double y){
this->_x=x;
this->_y=y;
}
///
/// \fn Point::dist(Point &cible)
/// \brief Calcule la distance entre le point considere et le point cible
/// \param[in] cible Point cible
///
double Point::dist(Point &cible){
return sqrt((this->_y-cible.getY())*(this->_y-cible.getY())+(this->_x-cible.getX())*(this->_x-cible.getX()));
}
///
/// \fn Point mgi(Point &posEffecteur)
/// \brief Constructeur de la classe Point
/// \param[in] posEffecteur Le point desire que l'effecteur doit atteindre, en coordonnees cartesiennes d'apres le repere enonce dans le wiki
/// \param[out] Point Le tuple d'angles des moteurs correspondant
///
Point mgi(Point &posEffecteur){
//Valeurs physiques du modele
double a=0.065;
double b=0.08;
//double c=0.015;
double dx=0.012;
Point og(-dx/2,0);
Point od(dx/2,0);
double y=posEffecteur.getY();
double x=posEffecteur.getX();
Point effecteur(x,y);
double distg=effecteur.dist(og);
double distd=effecteur.dist(od);
double thetag=atan2(y,x-og.getX());
double thetad=atan2(y,x-od.getX());
//Test fonctionnel precedent non optimise
/*double betag=acos(( (x-og.getX())*(x-og.getX()) + y*y - a*a - b*b)/(2*a*b));
double betad=acos(( (x-od.getX())*(x-od.getX()) + y*y - a*a - b*b)/(2*a*b));
double phig=acos((a + b*cos(betag))/distg);
double phid=acos((a + b*cos(betad))/distd);*/
double phig=acos((a*a + distg*distg - b*b)/(2*a*distg));
double phid=acos((a*a + distd*distd - b*b)/(2*a*distd));
return Point(thetag+phig,thetad-phid);
}
///
/// \fn double val_abs(double val)
/// \brief Fonction permettant de calculer la valeu absolue d'un double
/// \param[in] val La valeur dont on désire la valeur absolue
/// \param[out] double La valeur absolue
///
double val_abs(double val){
if(val<0){
return -val;
}
else{
return val;
}
}
///
/// \fn int reach_point(Point &target, Point &PosInit)
/// \brief Fonction permettant d'atteinde le point desire
/// \param[in] target Le tuple d'angles des moteurs a atteindre
/// \param[in] posInit Le tuple d'angles des moteurs initial au démarrage du programme
/// \param[out] int Une valeur d'erreur
///
int reach_point(Point &target, Point &posInit){
cout<<"Starting reach_point..."<<endl;
Point angleToReach=mgi(target);
cout<<"Angle a atteindre ="<<angleToReach.getX()<<", "<<angleToReach.getY()<<endl;
usleep(1000000);
//cout<<"Angle :\nAlpha :"<<angleToReach.getX()<<", Beta :"<<angleToReach.getY()<<endl;
Point angleCurrent(read_eqep(1,posInit),read_eqep(2,posInit));
Point integ(0,0);
//Calcul diff entre angles
Point diff(angleToReach.getX()-angleCurrent.getX(),angleToReach.getY()-angleCurrent.getY());
Point diffPreced(angleToReach.getX()-angleCurrent.getX(),angleToReach.getY()-angleCurrent.getY());
//PID ici ?
Point commande = pid(diff, integ, diffPreced, TIMESTEP);
//Calcul vitesse necessaire
Point speeds(commande.getX()*60/(2*M_PI),commande.getY()*60/(2*M_PI));
clock_t chronoPreced = clock();
bool reached=false;
while(!reached){
//VERIF QUE LE POINT N'A PAS ETE ATTEINT
//cout<<"ON A PAS ATTEINT LE POINT...."<<endl;
angleCurrent.set(read_eqep(1,posInit),read_eqep(2,posInit));
//cout<<"Angle courant ="<<angleCurrent.getX()<<", "<<angleCurrent.getY()<<endl;
diff.set(angleToReach.getX()-angleCurrent.getX(),angleToReach.getY()-angleCurrent.getY());
//cout<<"Diff ="<<diff.getX()<<", "<<diff.getY()<<endl;
bool angle1= (val_abs(diff.getX())<0.1 && val_abs(diffPreced.getX())<0.1);
bool angle2= (val_abs(diff.getY())<0.1 && val_abs(diffPreced.getY())<0.1);
double dt=clock()-chronoPreced;
commande=pid(diff, integ, diffPreced, dt);
//cout<<"Commande ="<<commande.getX()<<", "<<commande.getY()<<endl;
speeds.set(commande.getX()*60/(2*M_PI*TIMESTEP),commande.getY()*60/(2*M_PI*TIMESTEP));
set_speed(speeds);
chronoPreced=clock();
//usleep(100000);
if(angle1 && angle2){
reached = true;
}
}
return 1;
}
///
/// \fn Point pid(Point &error, Point &integral, Point &errorPreced, double dt)
/// \brief Fonction permettant d'asservir le moteur avec un correcteur pid
/// \param[in] error Le tuple d'erreur angulaire courante entre la position des moteurs et la position desiree
/// \param[in] integral La somme des erreurs depuis le debut de l'asservissement en position en cours
/// \param[in] errorPreced Le tuple d'erreur angulaire precedent entre la position des moteurs et la position desiree
/// \param[in] dt Intervalle de temps entre les deux mesures
/// \param[out] Point Les commandes a envoyer a chaque moteur
///
Point pid(Point &error, Point &integral, Point &errorPreced, double dt){
Point Kp(1500,2000);
Point Kd(500,500);
/*Point Kp(10,1);
Point Kd(0,0);*/
Point Ki(0,0);
Point max(2,2);
Point min(-2,-2);
// Proportional term
Point Pout(Kp.getX() * error.getX(), Kp.getY() * error.getY());
// Integral term
dt = (clock()-dt)/CLOCKS_PER_SEC;
integral.set(integral.getX() + error.getX() * dt, integral.getY() + error.getY() * dt);
Point Iout(Ki.getX() * integral.getX(), Ki.getY() * integral.getY());
// Derivative term
Point derivative((error.getX() - errorPreced.getX()) / dt, (error.getY() - errorPreced.getY()) / dt);
Point Dout(Kd.getX() * derivative.getX(), Kd.getY() * derivative.getY());
// Calculate total output
Point output(Pout.getX() + Iout.getX() + Dout.getX(), Pout.getY() + Iout.getY() + Dout.getY());
// Restrict to max/min
if( output.getX() > max.getX() )
output.setX(max.getX());
else if( output.getX() < min.getX() )
output.setX(min.getX());
if( output.getY() > max.getY() )
output.setY(max.getY());
else if( output.getY() < min.getY() )
output.setY(min.getY());
// Save error to previous error
errorPreced.set(error.getX(), error.getY());
return output;
}
///
/// \fn void set_speed(Point speeds)
/// \brief Fonction permettant d'envoyer les vitesses desirees en rpm au moteur
/// \param[in] speeds Le tuple des vitesses a communiquer au moteur
///
void set_speed(Point speeds){
double temp = MAX_SPEED * REDUC;
double coef = 100 / temp;
Point comm( int (speeds.getX()*coef) *PERIOD,int(speeds.getY()*coef)*PERIOD);
comm.setX(std::max(50000,int(comm.getX()) ) );
comm.setY(std::max(50000,int(comm.getY()) ) );
if(speeds.getX()>0){
write_duty_ns(1,std::min(PERIOD,int(comm.getX())));
sens_rotation(1,1);
}
else{
write_duty_ns(1,std::min(PERIOD,int(comm.getX())));
sens_rotation(1,0);
}
if(speeds.getY()>0){
write_duty_ns(2,std::min(PERIOD,int(comm.getY())));
sens_rotation(2,1);
}
else{
write_duty_ns(2,std::min(PERIOD,int(comm.getY())));
sens_rotation(2,0);
}
}
///
/// \fn int follow_path(std::list<Point> path, Point &PosInit)
/// \brief Fonction permettant d'envoyer les vitesses desirees en rpm au moteur
/// \param[in] path La trajectoire a suivre pour le moteur
/// \param[in] posInit Le tuple des valeurs initiales brutes des encodeurs
/// \param[out] int Une valeur standardisee d'erreur
///
int follow_path(std::list<Point> path, Point &posInit){
while(path.size() != 0){
reach_point(path.front(), posInit);
path.pop_front();
cout<<"Point atteint"<<endl;
cout<<"Reste "<<path.size()<<" point(s)"<<endl;
if(path.size() !=0){
cout<<"Coordonnees du point suivant :"<<path.front().getX()<<", "<<path.front().getY()<<endl;
}
usleep(1000000);
}
return 1;
}
/*int main(){
Point one(1.0,1.0);
Point second(2.0,2.0);
cout<<"Distance = "<<one.dist(second)<<endl;
Point test(0,0.1);
Point res=mgi(test);
cout<<"Angle :\nAlpha :"<<res.getX()<<", Beta :"<<res.getY()<<endl;
}
*/
| [
"quentin.olivier1996@gmail.com"
] | quentin.olivier1996@gmail.com |
3d6556d3e09e1f5dc98284bb1a61aed48a741ca1 | 86798d4b8ccaa9ac4b66b3e86f87fec62df70180 | /DS & Algo Implementation/Search Techniques/spoj ACTIV.cpp | 45c18914d26cd2a3295baf6c6c6bb8b6d9b9b4da | [] | no_license | sakiib/competitive-programming-code-library | 03675e4c9646bd0d65f08b146310abfd4b36f1c4 | e25d7f50932fb2659bbe3673daf846eb5e7c5428 | refs/heads/master | 2022-12-04T16:11:18.307005 | 2022-12-03T14:25:49 | 2022-12-03T14:25:49 | 208,120,580 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,668 | cpp | #include <bits/stdc++.h>
using namespace std;
#define endl "\n"
#define all(V) V.begin(), V.end()
#define Unique(V) sort(all(V)), V.erase(unique(all(V)), V.end())
#define FIO ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0);
typedef long long int LL;
const int N = 1e5 + 5;
#define ff first
#define ss second
const int MOD = 100000000;
int n;
pair <int,int> a[ N ];
int dp[ N ];
bool cmp( pair <int,int> a , pair <int,int> b ) {
return a.first == b.first ? a.second < b.second : a.first < b.first;
}
int add( int x , int y , int MOD ) {
x += y;
return x >= MOD ? x - MOD : x;
}
int solve( int idx ) {
if( idx > n ) return 0;
if( dp[idx] != -1 ) return dp[idx];
int ret = 0;
ret = add( ret , solve( idx + 1 ), MOD );
int lo = idx + 1 , hi = n , pos = n + 1;
while( lo <= hi ) {
int mid = ( lo + hi ) >> 1;
if( a[mid].first >= a[idx].second ) pos = mid , hi = mid - 1;
else lo = mid + 1;
}
ret = add( ret , add( 1 , solve( pos ) , MOD ) , MOD );
return dp[idx] = ret;
}
int main( ) {
#ifdef OFFLINE
freopen( "input.txt" , "r" , stdin );
#endif // OFFLINE
while( scanf("%d",&n) ) {
if( n == -1 ) break;
for( int i = 1; i <= n; i++ ) {
scanf("%d %d",&a[i].ff,&a[i].ss);
}
sort( a + 1 , a + n + 1 , cmp );
memset( dp , -1 , sizeof( dp ) );
printf("%08d\n",solve(1));
}
return 0;
}
| [
"noreply@github.com"
] | noreply@github.com |
a326984a20a241117fd5239c0e8d8a52ed89f568 | c99ee4531e379e2104ccc937646321739f3540e8 | /Colors.cpp | b3f20033749adad7f7b1cec07a7970cb1bab1a4d | [] | no_license | Kishore-p-98/Code-wars-3-Editorial | b8c4fc2b27c616ece521edd310e36d9dbcdf7d5d | 73dfe3fffc1404ff843c93945cf0c87381450860 | refs/heads/master | 2020-04-25T16:33:04.269841 | 2019-02-27T16:08:16 | 2019-02-27T16:08:16 | 172,916,488 | 0 | 1 | null | 2019-02-27T15:54:04 | 2019-02-27T13:01:21 | C++ | UTF-8 | C++ | false | false | 433 | cpp | Colors : https://www.hackerrank.com/contests/codewars-3-rvce/challenges/colors-1
Complexity : O(n)
Solution :
The problem reduces to find the value of maximum of frequency of elements in the given array.
CODE :
#include<bits/stdc++.h>
using namespace std;
int main()
{
int n,i,a;
cin>>n;
int freq[101]={0},ans=0;
for(i=0;i<n;i++)
{
cin>>a;
freq[a]++;
ans=max(ans,freq[a]);
}
cout<<ans<<endl;
return 0;
}
| [
"noreply@github.com"
] | noreply@github.com |
f02261dbbb0fc764de0e5c906039d2e1122e695f | 230d3cbab96c9b5886987bc19f3ed395f36861be | /learnopencv/app/src/main/cpp/sg.cpp | adcad14b351a44d5c5e5fbc8a7c4d931f6734414 | [] | no_license | atoliu/learn-1 | 7a0a7ca1691cb1ca8e2f5ee981950aebf05acb4e | 0d3c805e0f71c7f66f42e4dd0a22e745d2227cd0 | refs/heads/master | 2023-08-05T03:33:38.656783 | 2021-09-14T05:35:35 | 2021-09-14T05:35:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,041 | cpp | #include <iostream>
#include <opencv2/opencv.hpp>
#include <vector>
#include <cmath>
#include <cmath>
using namespace cv;
using namespace std;
/// <summary>
/// 直线参数
/// </summary>
typedef struct {
/// <summary>
/// 截距
/// </summary>
float intercept;
/// <summary>
/// 斜率
/// </summary>
float slope;
} LineParam;
LineParam getLineParam(int startIdx, float startData, int endIdx, float endData) {
LineParam res;
res.slope = (endData - startData) / (endIdx - startIdx);
res.intercept = startData - startIdx * res.slope;
return res;
}
//float round(float r) {
//return (r > 0.0) ? floor(r + 0.5) : ceil(r - 0.5);
//}
// 矩阵X的广义逆
Mat Generalized_inverse(Mat &X) {
Mat Xt = X.t();
Mat Xt_X = Xt * X;
Mat inverse_Xt_X;
invert(Xt_X, inverse_Xt_X, DECOMP_LU); //方阵LU分解,求逆矩阵
return inverse_Xt_X * Xt;
}
Mat vander(int M, int N) {
Mat move_box(2 * M + 1, N, CV_32F);
for (int i = -M; i <= M; ++i) {
for (int j = 0; j < N; ++j) {
move_box.at<float>(i + M, j) = pow(i, j);
}
}
return move_box;
}
vector <vector<float>> opencv_sg(vector <vector<float>> &test_data, int M, int N) {
// SG平滑矩阵算子
Mat move_box = vander(M, N);
// 矩阵move_box 的广义逆
Mat gen_inv = Generalized_inverse(move_box);
vector <vector<float>> test_data_clone = test_data;
//校验
if (test_data[0].size() <= 2 * M + 1) {
cout << "the length of the input_data is too short!" << endl;
}
if (2 * M + 1 <= N) {
cout << "box size is too small!" << endl;
}
//拟合
for (int i = M; i < test_data[0].size() - M; ++i) {
Mat y_box_value(2 * M + 1, 1, CV_32F);
for (int j = -M; j <= M; ++j) {
y_box_value.at<float>(j + M, 0) = test_data[1][i + j];
}
Mat ls_sol = gen_inv * y_box_value; // 最小二乘解
Mat result = move_box * ls_sol; // sg滤波值
//Mat result = move_box.mul(gen_inv.mul(y_box_value));
test_data_clone[1][i] = result.at<float>(M, 0);
if (i == M) {
for (int k = 0; k < M; k++) {
test_data_clone[1][k] = result.at<float>(k, 0);
}
} else if (i == (test_data[0].size() - M - 1)) {
for (int k = 1; k < M + 1; k++) {
test_data_clone[1][i + k] = result.at<float>(k + M, 0);
}
}
}
return test_data_clone;
}
vector<float> opencv_sg2(vector<float> &test_data, int M, int N) {
// SG平滑矩阵算子
Mat move_box = vander(M, N);
// 矩阵move_box 的广义逆
Mat gen_inv = Generalized_inverse(move_box);
vector<float> test_data_clone = test_data;
//校验
if (test_data.size() <= 2 * M + 1) {
cout << "the length of the input_data is too short!" << endl;
}
if (2 * M + 1 <= N) {
cout << "box size is too small!" << endl;
}
//拟合
for (int i = M; i < test_data.size() - M; ++i) {
Mat y_box_value(2 * M + 1, 1, CV_32F);
for (int j = -M; j <= M; ++j) {
y_box_value.at<float>(j + M, 0) = test_data[i + j];
}
Mat ls_sol = gen_inv * y_box_value; // 最小二乘解
Mat result = move_box * ls_sol; // sg滤波值
//Mat result = move_box.mul(gen_inv.mul(y_box_value));
test_data_clone[i] = result.at<float>(M, 0);
if (i == M) {
for (int k = 0; k < M; k++) {
test_data_clone[k] = result.at<float>(k, 0);
}
} else if (i == (test_data.size() - M - 1)) {
for (int k = 1; k < M + 1; k++) {
test_data_clone[i + k] = result.at<float>(k + M, 0);
}
}
}
return test_data_clone;
}
/// <summary>
/// 扩展数组
/// </summary>
/// <param name="data"></param>
/// <param name="multiple"></param>
/// <returns></returns>
vector<float> extend(vector<float> data, int multiple) {
vector<float> res(data.size() * multiple - (multiple - 1));
for (int i = 0; i < data.size() - 1; ++i) {
//本段线段起始数据下标
int startIdx = i * multiple;
//本段线截止数据下标
int endIdx = (i + 1) * multiple;
res[startIdx] = data[i];
LineParam lineParam = getLineParam(startIdx, data[i], endIdx, data[i + 1]);
for (int j = startIdx + 1; j < endIdx; j++) {
res[j] = round((lineParam.intercept + lineParam.slope * j) * 10) / 10.0;
}
}
res[res.size() - 1] = data[data.size() - 1];
return res;
}
int main() {
// 第一次,测试二维数组第一维0为x坐标值,第一维1为y值
//vector<vector<float>> test_data(2, vector<float>(150));
vector<float> test_data2(150);
int array[150] = {594,2909,3457,3844,4153,4444,4653,4866,5072,5255,5446,5645,5826,6007,6214,6410,6593,6810,6976,
7183,7368,7560,7748,7941,8135,8330,8515,8688,8863,9070,9240,9407,9578,9748,9909,10067,10247,
10444,10600,10734,10886,11019,11161,11296,11438,11580,11696,11815,11939,12054,12179,12266,12400,
12519,12629,12748,12866,13004,13120,13216,13336,13447,13545,13671,13770,13899,14006,14138,14295,
14446,14620,14841,15065,15389,15682,16088,16508,16944,17347,17669,17843,17836,17682,17430,17172,
17009,16812,16667,16577,16498,16461,16435,16410,16409,16399,16401,16412,16470,16469,16501,16532,
16609,16646,16721,16754,16807,16868,16960,17042,17121,17198,17308,17434,17574,17742,17957,18220,
18472,18835,19182,19512,19826,20024,20076,20011,19856,19638,19470,19311,19221,19147,19108,19118,
19084,19106,19113,19153,19200,19283,19348,19440,19571,19675,19872,20031,20226,20405,20617,20858,
21064};
//for (size_t i = 0; i < test_data[0].size(); i++)
//{
//test_data[0][i] = (float)i;
//}
//for (size_t i = 0; i < test_data[1].size(); i++)
for (size_t i = 0; i < test_data2.size(); i++) {
//test_data[1][i] = (float)array[i];
test_data2[i] = array[i];
}
cout << endl;
cout << endl;
//vector<vector<float>> res = opencv_sg(test_data, 2, 3);
vector<float> fittedData = opencv_sg2(test_data2, 2, 3);
//打印只是为了调试
for (int i = 0; i < fittedData.size(); i++) {
//cout << " 前 " << test_data[1][i];
cout << i << " " << fittedData[i] << endl;
}
vector<float> extendedData = extend(fittedData, 4);
//扩展之和再拟合
vector<float> extendedFittedData = opencv_sg2(extendedData, 2, 3);
for (int i = 0; i < extendedFittedData.size(); i++) {
//cout << " 前 " << test_data[1][i];
cout << i << " " << extendedFittedData[i] << endl;
}
cout << endl;
//imshow('abc',res);
getchar();
return 0;
} | [
"390835144@qq.com"
] | 390835144@qq.com |
12dc16a95d139bb1f3d419bd99d0eddb7ef5070d | 7bf043a834dc8811e6d7f889617c07a1e9f22c70 | /chapter10/code/code10_32.cc | 1743ca5a9c83c588189e31efa0c536bbdd35abd6 | [] | no_license | bug-code/Cpp_primer | 90a3133a33e33baa27e163800803b537887e4322 | 6b39b346ef896f47ec746984c7f55a3536e83cd2 | refs/heads/master | 2023-05-14T11:58:21.733526 | 2021-06-10T03:14:38 | 2021-06-10T03:14:38 | 357,915,126 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,957 | cc | #include <fstream>
#include <iterator>
#include <algorithm>
#include <numeric>
#include "Sales_data.h"
using namespace std;
/*比较Sales_data对象isbn*/
bool compareIsbn(const Sales_data &data1 , const Sales_data &data2){
auto isbn1 = data1.isbn() , isbn2 = data2.isbn();
auto beg_isbn1 = 0 , beg_isbn2 = 0;
auto symbolMark1 = isbn1.find('-'), symbolMark2=isbn2.find('-');
while (true)
{
int number1 = std::stoi( isbn1.substr(beg_isbn1 , symbolMark1-beg_isbn1) ) ,
number2 = std::stoi(isbn2.substr(beg_isbn2 , symbolMark2-beg_isbn2));
if (number1 == number2 )
{
beg_isbn1 = symbolMark1+1;
if (beg_isbn1 == isbn1.size()-1 || beg_isbn2 == isbn2.size()-1 )
{
return isbn1[beg_isbn1] < isbn2[beg_isbn2];
}
symbolMark1 = isbn1.find('-' , beg_isbn1);
beg_isbn2 = symbolMark2+1;
symbolMark2 = isbn2.find('-' , beg_isbn2);
}
else
{
return number1 < number2 ;
}
}
}
int main(){
string fileName("F:\\code\\C++_code\\C++ note\\Cpp_primer\\chapter10\\code\\sale_his.txt");
ifstream ifs(fileName);
vector<Sales_data> vec;
if (ifs)
{
istream_iterator<Sales_data> in_saleDate(ifs) , eof_saleData;
vec.assign(in_saleDate , eof_saleData);//需重载>>运算符
sort(vec.begin() , vec.end() , compareIsbn);
for (auto vecBeg = vec.cbegin() , vecEnd=vec.cend() , partEnd = vecBeg; vecBeg!=vecEnd ; vecBeg =partEnd )
{
partEnd = find_if(vecBeg , vecEnd , [vecBeg](const Sales_data &data){return (*vecBeg).isbn() != data.isbn(); });
cout<<(*vecBeg).isbn()<<" revenue: "<< accumulate(vecBeg , partEnd , 0.0 ,[](double a , const Sales_data &data2){return a+data2.getRevenue();} )<<endl;
}
}
else
{
cerr<<"open file failed!"<<endl;
}
return 0 ;
} | [
"1033257492@qq.com"
] | 1033257492@qq.com |
0b28b96a7dcc664ca92d60024b74310554fca45c | 5e8d200078e64b97e3bbd1e61f83cb5bae99ab6e | /main/source/src/protocols/vardist_solaccess/VarSolDRotamerDots.cc | 4489515655b6890b51c6827b67bc0fcc9324ec39 | [] | no_license | MedicaicloudLink/Rosetta | 3ee2d79d48b31bd8ca898036ad32fe910c9a7a28 | 01affdf77abb773ed375b83cdbbf58439edd8719 | refs/heads/master | 2020-12-07T17:52:01.350906 | 2020-01-10T08:24:09 | 2020-01-10T08:24:09 | 232,757,729 | 2 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 35,041 | cc | // -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*-
// vi: set ts=2 noet:
//
// (c) Copyright Rosetta Commons Member Institutions.
// (c) This file is part of the Rosetta software suite and is made available under license.
// (c) The Rosetta software is developed by the contributing members of the Rosetta Commons.
// (c) For more information, see http://www.rosettacommons.org. Questions about this can be
// (c) addressed to University of Washington CoMotion, email: license@uw.edu.
/// @file core/pack/interaction_graph/RotamerDots.cc
/// @brief RotamerDots classes files - ported from rosetta++
/// @author Andrew Leaver-Fay
/// @author Ron Jacak
// Unit Headers
#include <protocols/vardist_solaccess/VarSolDRotamerDots.hh>
#include <protocols/vardist_solaccess/LoadVarSolDistSasaCalculatorMover.hh>
#include <protocols/moves/mover_schemas.hh>
// Project headers
#include <core/chemical/AtomTypeSet.hh>
#include <core/chemical/ChemicalManager.hh>
#include <core/conformation/Atom.hh>
#include <core/conformation/Residue.hh>
#include <core/pose/Pose.hh>
#include <core/pose/util.hh>
#include <core/pose/metrics/CalculatorFactory.hh>
//#include <core/scoring/sasa.hh>
#include <core/scoring/sasa/util.hh>
#include <core/scoring/Energies.hh>
#include <core/scoring/EnergyGraph.hh>
#include <core/pack/interaction_graph/RotamerDots.hh>
#include <basic/Tracer.hh>
#include <basic/MetricValue.hh>
// ObjexxFCL Headers
#include <ObjexxFCL/ubyte.hh>
#include <ObjexxFCL/format.hh>
#include <ObjexxFCL/FArray1.hh>
// Numeric Headers
#include <numeric/constants.hh> // pi
#include <numeric/xyzVector.hh> // to get distance
// Utility Headers
#include <utility/vector1.hh>
#include <utility/string_util.hh>
#include <utility/tag/XMLSchemaGeneration.hh>
// C++ Headers
#include <vector>
#include <iostream>
#include <algorithm>
#include <core/chemical/AtomType.hh>
//Auto Headers
#include <core/pose/util.tmpl.hh>
static basic::Tracer TR( "protocols.vardist_solaccess" );
using namespace ObjexxFCL::format;
using namespace core;
#ifdef SERIALIZATION
// Project serialization headers
#include <core/id/AtomID_Map.srlz.hh>
// Utility serialization headers
#include <utility/vector1.srlz.hh>
#include <utility/serialization/serialization.hh>
// Numeric serialization headers
#include <numeric/xyz.serialization.hh>
// ObjexxFCL serialization headers
#include <utility/serialization/ObjexxFCL/FArray2D.srlz.hh>
// Cereal headers
#include <cereal/access.hpp>
#include <cereal/types/polymorphic.hpp>
#endif // SERIALIZATION
namespace protocols {
namespace vardist_solaccess {
//----------------------------------------------------------------------------//
//---------------------------- Rotamer Dots Class ----------------------------//
//----------------------------------------------------------------------------//
//Real VarSolDRotamerDots::probe_radius_ = 1.4;
// No longer static -KH
//bool VarSolDRotamerDots::sasa_arrays_initialized_ = false;
/// @details
/// One RotamerDots object get allocated for every state of a first class IG Node, for all first class IG Nodes of a
/// protein being designed. That's potentially a very large number of states. This class should only hold the information
/// it needs to hold to do its job.
///
/*
VarSolDRotamerDots::VarSolDRotamerDots(
conformation::ResidueCOP rotamer,
bool all_atom,
Real probe_radius,
Real wobble
) :
rotamer_(rotamer),
probe_radius_(probe_radius),
wobble_(wobble),
lg_masks_( 0 )
{
// this work now done in constructor, no need to check
//if ( ! sasa_arrays_initialized_ ) {
// initialize_sasa_arrays();
// //that function will set sasa_arrays_initialized_ to true;
//}
if ( all_atom ) {
num_atoms_ = rotamer->natoms();
} else {
num_atoms_ = rotamer_->nheavyatoms();
}
atom_coverage_.resize( num_atoms_ );
for ( core::Size ii = 1; ii <= num_atoms_; ++ii ) {
atom_coverage_[ ii ].resize( radii_[ rotamer_->atom( ii ).type() ].size() );
}
}
*/
VarSolDRotamerDots::VarSolDRotamerDots(
conformation::ResidueCOP rotamer,
VarSolDistSasaCalculatorCOP vsasa_calc
) :
owner_( vsasa_calc ),
rotamer_(rotamer),
radii_(vsasa_calc->radii_),
msas_radii_(vsasa_calc->msas_radii_),
coll_radii_(vsasa_calc->coll_radii_),
int_radii_(vsasa_calc->int_radii_),
int_radii_sum_(vsasa_calc->int_radii_sum_),
int_radii_sum2_(vsasa_calc->int_radii_sum2_),
lg_angles_(vsasa_calc->lg_angles_),
lg_masks_(vsasa_calc->lg_masks_),
num_bytes_(vsasa_calc->num_bytes_),
polar_expansion_radius_(vsasa_calc->polar_expansion_radius_)
{
num_atoms_ = rotamer->natoms();
atom_coverage_.resize( num_atoms_ );
for ( core::Size ii = 1; ii <= num_atoms_; ++ii ) {
atom_coverage_[ ii ].resize( radii_[ rotamer_->atom( ii ).type() ].size() );
}
}
///
VarSolDRotamerDots::~VarSolDRotamerDots() {
//TR_RD << "called destructor" << std::endl;
}
///
/// @brief
/// copy constructor
///
VarSolDRotamerDots::VarSolDRotamerDots( VarSolDRotamerDots const & rhs ) :
utility::pointer::ReferenceCount(),
owner_( rhs.owner_ ),
rotamer_(rhs.rotamer_),
radii_(rhs.radii_),
msas_radii_(rhs.msas_radii_),
coll_radii_(rhs.coll_radii_),
int_radii_(rhs.int_radii_),
int_radii_sum_(rhs.int_radii_sum_),
int_radii_sum2_(rhs.int_radii_sum2_),
lg_angles_(rhs.lg_angles_),
lg_masks_(rhs.lg_masks_),
num_bytes_(rhs.num_bytes_),
polar_expansion_radius_(rhs.polar_expansion_radius_),
num_atoms_(rhs.num_atoms_),
atom_coverage_(rhs.atom_coverage_)
{}
///
/// @brief
/// Copy method for the RotamerDots class. Also used by the assignment operator.
///
void VarSolDRotamerDots::copy( VarSolDRotamerDots const & rhs ) {
rotamer_ = rhs.rotamer_;
num_atoms_ = rhs.num_atoms_;
atom_coverage_ = rhs.atom_coverage_;
}
///
VarSolDRotamerDots &
VarSolDRotamerDots::operator= ( VarSolDRotamerDots const & rhs ) {
if ( this != & rhs ) {
copy( rhs );
}
return *this;
}
/// @brief
/// Returns true if this RotamerDots object has any sphere overlap with the passed in RotamerDots object.
///
/// @details
/// This method only checks to see if two RotamerDots objects are within touching distance of each other. It is used
/// to determine whether Edges or BGEdges should be created in the IG. Calculate this using the expanded polar atom
/// radii. If we don't, there's a chance that a state substitution on a Node may cause SASA changes (when expanded polars
/// are used) on a BGNode, but if we didn't assume expanded radii in this method, there would be no edge between the two
/// nodes.
///
bool VarSolDRotamerDots::overlaps( VarSolDRotamerDots const & other ) const {
for ( Size ii = 1; ii <= num_atoms_; ++ii ) {
for ( Size jj = 1; jj <= other.get_num_atoms(); ++jj ) {
Real const distance_squared = get_atom_coords_xyz( ii ).distance_squared( other.get_atom_coords_xyz( jj ) );
if ( distance_squared <= interaction_radii_squared( rotamer_->atom(ii).type(), other.rotamer_->atom(jj).type() ) ) return true;
}
}
return false;
}
///
core::conformation::ResidueCOP
VarSolDRotamerDots::rotamer() const {
return rotamer_;
}
///
/// @brief
/// Is the state of this RotamerDots object unassigned?
///
//bool RotamerDots::state_unassigned() const {
// if ( rotamer_ == 0 )
// return true;
// return false;
//}
///
/// @brief
/// Returns the number of atoms this RotamerDots object is keeping SASA for.
///
Size VarSolDRotamerDots::get_num_atoms() const {
return num_atoms_;
}
///
/// @brief
/// Return the xyz coordinates of an atom in this RotamerDots instance.
///
core::Vector
VarSolDRotamerDots::get_atom_coords_xyz( Size atom_index ) const {
if ( rotamer_ == nullptr ) {
return numeric::xyzVector< Real >(0,0,0);
}
return rotamer_->xyz( atom_index );
}
///
/// @brief
/// Returns the collision radius for the passed in atom type.
///
/// @details
/// Many of the functions in this class iterate over 1 .. num_atoms_.
/// That's not the same thing as an atom type index which is what the radii vector is indexed with. So before we can return
/// the radius, we have to convert the passed in atom_index into the right atom in the residue and then use that to get the
/// right type.
///
core::Real
VarSolDRotamerDots::get_atom_collision_radius( Size atom_index ) const
{
return radii_[ rotamer_->atom(atom_index).type() ][ 1 ];
}
core::Real
VarSolDRotamerDots::get_atom_interaction_radius( Size atom_index ) const
{
return radii_[ rotamer_->atom(atom_index).type() ][ radii_[ rotamer_->atom(atom_index).type() ].size() ];
}
core::Size VarSolDRotamerDots::nshells_for_atom( core::Size atom_index ) const
{
return radii_[ rotamer_->atom(atom_index).type() ].size();
}
core::Real VarSolDRotamerDots::shell_radius_for_atom( core::Size atom_index, core::Size shell_index ) const
{
return radii_[ rotamer_->atom( atom_index ).type() ][ shell_index ];
}
core::Size VarSolDRotamerDots::ndots() const
{
return atom_coverage_[ num_atoms_ ][ 1 ].get_total_dots();
}
bool
VarSolDRotamerDots::get_dot_covered(
core::Size atom_index,
core::Size shell_index,
core::Size dot_index
) const
{
return atom_coverage_[ atom_index ][ shell_index ].get_dot_covered( dot_index );
}
/// @brief
/// Initializes the pointers to the angles and masks FArrays used by sasa.cc and inits the dot sphere coordinates.
///
/// @details
/// This call should only occur once (when the first RotamerDots object get constructed) and never again.
///
void VarSolDistSasaCalculator::initialize_sasa_arrays() {
lg_angles_ = ( & core::scoring::sasa::get_legrand_sasa_angles() );
lg_masks_ = ( & core::scoring::sasa::get_legrand_sasa_masks() );
using namespace core::chemical;
AtomTypeSetCOP atset = ChemicalManager::get_instance()->atom_type_set( FA_STANDARD );
core::Size const SASA_RADIUS_INDEX = atset->extra_parameter_index( "REDUCE_SASA_RADIUS" );
radii_.resize( atset->n_atomtypes() );
msas_radii_.resize( atset->n_atomtypes() );
for ( Size ii = 1; ii <= atset->n_atomtypes(); ++ii ) {
AtomType const & iiattype = (*atset)[ ii ];
msas_radii_[ii] = iiattype.extra_parameter( SASA_RADIUS_INDEX );
Size steps=0;
Real coll_radius = 0;
Real int_radius = 0;
if ( iiattype.element() == "O" ) {
steps = 5;
//coll_radius = std::max(0., 1.2 + probe_radius_ - wobble_);
//int_radius = std::max(0., 3.0 + wobble_);
coll_radius = 2.6;
int_radius = 3.0;
} else if ( iiattype.element() == "N" ) {
steps = 5;
//coll_radius = std::max(0., 1.3 + probe_radius_ - wobble_);
//int_radius = std::max(0., 3.1 + wobble_);
coll_radius = 2.7;
int_radius = 3.1;
} else if ( iiattype.element() == "C" ) {
steps = 1;
if ( iiattype.atom_type_name() == "COO" || iiattype.atom_type_name() == "CObb" ) {
//coll_radius = std::max(0., 1.65 + probe_radius_ - wobble_);
//int_radius = std::max(0., 3.05 + wobble_);
coll_radius = 3.05;
} else {
//coll_radius = std::max(0., 1.75 + probe_radius_ - wobble_);
coll_radius = 3.15;
}
} else if ( iiattype.element() == "S" ) {
steps = 1;
//coll_radius = std::max(0., 1.85 + probe_radius_ - wobble_);
//int_radius = std::max(0., 3.25 + wobble_);
coll_radius = 3.25;
} else if ( iiattype.element() == "P" ) {
steps = 1;
//coll_radius = std::max(0., 1.9 + probe_radius_ - wobble_);
//int_radius = std::max(0., 3.3 + wobble_);
coll_radius = 3.3;
} else if ( iiattype.element() == "H" ) {
if ( iiattype.atom_type_name() == "Hpol" || iiattype.atom_type_name() == "HNbb" ) {
steps = 5;
//coll_radius = std::max(0., 0.3 + probe_radius_ - wobble_);
//int_radius = std::max(0., 2.1 + wobble_);
coll_radius = 1.7;
int_radius = 2.1;
} else if ( iiattype.atom_type_name() == "Haro" ) {
steps = 1;
//coll_radius = std::max(0., 1.0 + probe_radius_ - wobble_);
//int_radius = std::max(0., 2.4 + wobble_);
coll_radius = 2.4;
} else {
steps = 1;
//coll_radius = std::max(0., 1.1 + probe_radius_ - wobble_);
//int_radius = std::max(0., 2.5 + wobble_);
coll_radius = 2.5;
}
}
/*
if ( iiattype.element() == "O" ) {
steps = 5;
coll_radius = 2.413468;
int_radius = 3.078613;
} else if ( iiattype.element() == "N" ) {
steps = 5;
coll_radius = 2.572567;
int_radius = 3.265344;
} else if ( iiattype.element() == "C" ) {
steps = 1;
coll_radius = 2.983538;
} else if ( iiattype.element() == "S" ) {
steps = 1;
coll_radius = 2.767480;
} else if ( iiattype.element() == "P" ) {
steps = 1;
// not statistically derived
coll_radius = std::max(0., 1.9 + probe_radius_ - wobble_);
} else if ( iiattype.element() == "H" ) {
if ( iiattype.atom_type_name() == "Hpol" || iiattype.atom_type_name() == "HNbb" ) {
steps = 5;
coll_radius = 1.44593;
int_radius = 2.45833;
} else {
steps = 1;
coll_radius = 2.072345;
}
}
*/
// coll_radius is collision radius, int_radius is interaction radius
// create evenly spaced shells inbetween, number of shells total = steps
radii_[ ii ].resize( steps );
if ( steps > 0 ) {
radii_[ii][1] = std::max(0., coll_radius);
}
for ( Size j=2; j<steps; j++ ) {
radii_[ii][j] = coll_radius + ( (int_radius - coll_radius) * ((j-1) / static_cast<Real>(steps-1)) );
}
if ( steps > 1 ) {
radii_[ii][steps] = int_radius;
}
// else radii_[ ii ].size() == 0
}
coll_radii_.resize( atset->n_atomtypes() );
int_radii_.resize( atset->n_atomtypes() );
for ( Size ii = 1; ii <= atset->n_atomtypes(); ++ii ) {
if ( radii_[ii].size() == 0 ) { coll_radii_[ ii ] = int_radii_[ ii ] = 0; continue; }
coll_radii_[ii] = radii_[ ii ][ 1 ];
int_radii_[ ii ] = radii_[ ii ][ radii_[ ii ].size() ]; // largest radius in the last position.
}
int_radii_sum_.resize( atset->n_atomtypes() );
int_radii_sum2_.resize( atset->n_atomtypes() );
for ( Size ii = 1; ii <= atset->n_atomtypes(); ++ii ) {
int_radii_sum_[ ii ].resize( atset->n_atomtypes(), 0.0 );
int_radii_sum2_[ ii ].resize( atset->n_atomtypes(), 0.0 );
Real ii_col = coll_radii_[ ii ];
if ( ii_col == 0 ) continue;
Real ii_int = int_radii_[ ii ];
for ( Size jj = 1; jj <= atset->n_atomtypes(); ++jj ) {
Real jj_col = coll_radii_[ jj ];
Real jj_int = int_radii_[ jj ];
if ( ii_col == 0 ) continue;
if ( ii_col + jj_int < ii_int + jj_col ) {
int_radii_sum_[ ii ][ jj ] = ii_int + jj_col;
} else {
int_radii_sum_[ ii ][ jj ] = ii_col + jj_int;
}
int_radii_sum2_[ ii ][ jj ] = int_radii_sum_[ ii ][ jj ] * int_radii_sum_[ ii ][ jj ];
}
}
}
core::Real
VarSolDRotamerDots::interaction_radii_squared(
Size attype1,
Size attype2
) const
{
return int_radii_sum2_[ attype1 ][ attype2 ];
}
/// @brief
/// computes and stores self-induced dot coverage. uses a vector1 of vector1s of vector1s of
/// ubytes to store the calculated overlap information.
///
/// @details
/// uses overlap_atoms() which in turn uses get_atom_overlap_masks()
void VarSolDRotamerDots::increment_self_overlap() {
using namespace utility; // for utility::vector1
vector1< vector1< vector1< ObjexxFCL::ubyte > > > self_overlap( num_atoms_ );
for ( Size ii = 1; ii <= num_atoms_; ++ii ) {
self_overlap[ ii ].resize( atom_coverage_[ ii ].size(), vector1< ObjexxFCL::ubyte >( num_bytes_, ObjexxFCL::ubyte( 0 ) ) );
}
for ( Size ii = 1; ii <= num_atoms_; ++ii ) {
// only have to iterate over the higher indexed atoms for INTRA res overlaps
for ( Size jj = ii+1; jj <= num_atoms_; ++jj ) {
overlap_atoms( *this, ii, jj, self_overlap[ii], self_overlap[jj] );
}
}
//TR_RD << "increment_self_overlap(): incrementing with counts: " << std::endl;
//for ( Size ii = 1; ii <= num_atoms_; ++ii ) {
// RotamerDotsCache rdc;
// rdc.print_bit_string( self_overlap[ ii ] );
//}
for ( Size ii = 1; ii <= num_atoms_; ++ii ) {
for ( Size jj = 1; jj <= self_overlap[ ii ].size(); ++jj ) {
//TR_RD << "increment_self_overlap(): calling increment_count() on atom dotsphere " << ii << std::endl;
atom_coverage_[ ii ][ jj ].increment_count( self_overlap[ ii ][ jj ] );
}
}
}
void VarSolDRotamerDots::intersect_residues( VarSolDRotamerDots & other )
{
using namespace utility;
vector1< vector1< vector1< ObjexxFCL::ubyte > > > this_overlap( num_atoms_ );
for ( Size ii = 1; ii <= num_atoms_; ++ii ) {
this_overlap[ ii ].resize( atom_coverage_[ ii ].size(), vector1< ObjexxFCL::ubyte >( num_bytes_, ObjexxFCL::ubyte( 0 ) ) );
}
vector1< vector1< vector1< ObjexxFCL::ubyte > > > other_overlap( other.num_atoms_ );
for ( Size ii = 1; ii <= other.num_atoms_; ++ii ) {
other_overlap[ ii ].resize( other.atom_coverage_[ ii ].size(), vector1< ObjexxFCL::ubyte >( num_bytes_, ObjexxFCL::ubyte( 0 ) ) );
}
for ( Size ii = 1; ii <= num_atoms_; ++ii ) {
for ( Size jj = 1; jj <= other.num_atoms_; ++jj ) {
overlap_atoms( other, ii, jj, this_overlap[ii], other_overlap[jj] );
}
}
for ( Size ii = 1; ii <= num_atoms_; ++ii ) {
for ( Size jj = 1; jj <= this_overlap[ ii ].size(); ++jj ) {
atom_coverage_[ii][jj].increment_count( this_overlap[ii][ jj ] );
}
}
for ( Size ii = 1; ii <= other.num_atoms_; ++ii ) {
for ( Size jj = 1; jj <= other_overlap[ ii ].size(); ++jj ) {
other.atom_coverage_[ii][jj].increment_count( other_overlap[ii][ jj ] );
}
}
}
bool
VarSolDRotamerDots::any_exposed_dots( Size atom ) const
{
for ( Size jj = 1; jj <= atom_coverage_[ atom ].size(); ++jj ) {
if ( atom_coverage_[ atom ][ jj ].get_num_uncovered() != 0 ) return true;
}
return false;
}
Real
VarSolDRotamerDots::msas_for_atom( Size atom_index ) const
{
using namespace core::pack::interaction_graph;
Size const jj_end = atom_coverage_[ atom_index ].size();
Size count_exposed = 0;
for ( Size ii = 1; ii <= DotSphere::NUM_DOTS_TOTAL; ++ii ) {
for ( Size jj = 1; jj <= jj_end; ++jj ) {
if ( ! atom_coverage_[ atom_index ][ jj ].get_dot_covered( ii ) ) {
++count_exposed;
break;
}
}
}
return msas_radii_[ rotamer_->atom(atom_index).type() ] * msas_radii_[ rotamer_->atom(atom_index).type() ] *
4 * numeric::constants::d::pi * ((double) count_exposed / DotSphere::NUM_DOTS_TOTAL );
}
bool
VarSolDRotamerDots::get_atom_overlap_masks(
VarSolDRotamerDots const & other,
Size at_this,
Size at_other,
Real & distance,
Size & closest_dot1,
Size & closest_dot2
) const
{
core::Vector const & at1_xyz( rotamer_->xyz( at_this ));
core::Vector const & at2_xyz( other.rotamer_->xyz( at_other ));
Real dist_sq = at1_xyz.distance_squared( at2_xyz );
if ( dist_sq > interaction_radii_squared( rotamer_->atom(at_this).type(), other.rotamer_->atom(at_other).type() ) ) return false;
// int degree_of_overlap; // Unused variable causes warning.
int aphi_1_2, aphi_2_1;
int theta_1_2, theta_2_1;
// int masknum; // Unused variable causes warning.
distance = std::sqrt( dist_sq );
//ronj this block represents the amount of surface area covered up on atom1 by atom2
//core::scoring::sasa::get_legrand_atomic_overlap( at1_radius, at2_radius, distance, degree_of_overlap );
core::scoring::sasa::get_legrand_2way_orientation( at1_xyz, at2_xyz, aphi_1_2, theta_1_2, aphi_2_1, theta_2_1, distance );
closest_dot1 = (*lg_angles_)( aphi_1_2, theta_1_2 );
closest_dot2 = (*lg_angles_)( aphi_2_1, theta_2_1 );
return true;
}
bool
VarSolDRotamerDots::overlap_atoms(
VarSolDRotamerDots const & other,
Size at_this,
Size at_other,
utility::vector1< utility::vector1< ObjexxFCL::ubyte > > & at_this_coverage,
utility::vector1< utility::vector1< ObjexxFCL::ubyte > > & at_other_coverage
) const
{
debug_assert( atom_coverage_[ at_this ].size() == at_this_coverage.size() );
debug_assert( other.atom_coverage_[ at_other ].size() == at_other_coverage.size() );
Real distance;
Size closest_dot1, closest_dot2;
if ( ! get_atom_overlap_masks( other, at_this, at_other, distance, closest_dot1, closest_dot2 ) ) return false;
Size const attype1( rotamer_->atom( at_this ).type() );
Size const attype2( other.rotamer_->atom( at_other ).type() );
Size const ii_nradii = radii_[ attype1 ].size(), jj_nradii = radii_[ attype2 ].size();
for ( Size ii = 1; ii <= ii_nradii; ++ii ) {
for ( Size jj = 1; jj <= jj_nradii; ++jj ) {
if ( distance > radii_[ attype1 ][ ii ] + radii_[ attype2 ][ jj ] ) continue;
if ( ii == 1 ) {
int degree_of_overlap;
core::scoring::sasa::get_legrand_atomic_overlap( radii_[ attype2 ][ jj ], radii_[ attype1 ][ ii ], distance, degree_of_overlap );
Size masknum = ( closest_dot2 * 100 ) + degree_of_overlap;
for ( Size bb = 1, bbli = (*lg_masks_).index( bb, masknum ); bb <= num_bytes_; ++bb, ++bbli ) {
at_other_coverage[ jj ][ bb ] |= (*lg_masks_)[ bbli ];
}
}
if ( jj == 1 ) {
int degree_of_overlap;
core::scoring::sasa::get_legrand_atomic_overlap( radii_[ attype1 ][ ii ], radii_[ attype2 ][ jj ], distance, degree_of_overlap );
Size masknum = ( closest_dot1 * 100 ) + degree_of_overlap;
for ( Size bb = 1, bbli = (*lg_masks_).index( bb, masknum ); bb <= num_bytes_; ++bb, ++bbli ) {
at_this_coverage[ ii ][ bb ] |= (*lg_masks_)[ bbli ];
}
}
}
}
return true;
}
void VarSolDRotamerDots::write_dot_kinemage( std::ostream & kinfile ) const
{
using namespace core::pack::interaction_graph;
for ( Size ii = 1; ii <= num_atoms_; ++ii ) {
Size const ii_attype = rotamer_->atom( ii ).type();
// Color hydrogen dots by their base atom
Size iirepatom = ii;
if ( rotamer_->atom_is_hydrogen( ii ) ) iirepatom = rotamer_->atom_base( ii );
if ( rotamer_->type().atom_type( iirepatom ).element() == "O" ) {
write_dotlist_header( kinfile, "exposed polar dots", "red");
} else if ( rotamer_->type().atom_type( iirepatom ).element() == "N" ) {
write_dotlist_header( kinfile, "exposed polar dots", "blue");
} else {
write_dotlist_header( kinfile, "exposed hydrophobic dots", "gray");
}
for ( Size jj =1; jj <= atom_coverage_[ ii ].size(); ++jj ) {
for ( Size kk = 1; kk <= DotSphere::NUM_DOTS_TOTAL; ++kk ) {
if ( ! atom_coverage_[ii][jj].get_dot_covered( kk ) ) {
write_dot( kinfile, ii, kk, radii_[ ii_attype ][ jj ] );
}
}
}
}
}
void
VarSolDRotamerDots::write_dotlist_header(
std::ostream & kinfile,
std::string const & master_name,
std::string const & color
) const
{
kinfile << "@dotlist master= {" << master_name << "} color= " << color << "\n";
}
void
VarSolDRotamerDots::write_dot(
std::ostream & kinfile,
core::Size atom,
core::Size dot,
core::Real radius
) const
{
numeric::xyzVector< Real > coord;
coord = rotamer_->xyz( atom );
coord += radius * core::pack::interaction_graph::RotamerDots::dot_coord( dot );
write_dot( kinfile, coord, "dot" );
}
void VarSolDRotamerDots::write_dot(
std::ostream & kinfile,
core::Vector const & coord,
std::string const & atname
) const
{
kinfile << "{" << atname << "} P " << coord.x() << " " << coord.y() << " " << coord.z() << "\n";
}
VarSolDistSasaCalculator::VarSolDistSasaCalculator():
// probe_radius_(0),
// wobble_(0),
num_bytes_(21),
lg_masks_(nullptr),
lg_angles_(nullptr)
{
initialize_sasa_arrays();
}
core::pose::metrics::PoseMetricCalculatorOP
VarSolDistSasaCalculator::clone() const{
return utility::pointer::make_shared< VarSolDistSasaCalculator >();
}
void VarSolDistSasaCalculator::set_atom_type_radii(std::string atype_name, Real coll_radius, Real int_radius, Size nshells) {
using namespace core::chemical;
AtomTypeSetCOP atset = ChemicalManager::get_instance()->atom_type_set( FA_STANDARD );
Size i = atset->atom_type_index(atype_name);
radii_[i].resize( nshells );
if ( nshells > 0 ) {
radii_[i][1] = std::max(0., coll_radius);
}
for ( Size j=2; j<nshells; j++ ) {
radii_[i][j] = coll_radius + ( (int_radius - coll_radius) * ((j-1) / static_cast<Real>(nshells-1)) );
}
if ( nshells > 0 ) {
radii_[i][nshells] = int_radius;
}
coll_radii_[i] = coll_radius;
int_radii_[i] = int_radius;
for ( Size j = 1; j <= atset->n_atomtypes(); j++ ) {
Real other_coll_radius = coll_radii_[j];
Real other_int_radius = int_radii_[j];
int_radii_sum_[i][j] = std::max(coll_radius + other_int_radius, int_radius + other_coll_radius);
int_radii_sum_[j][i] = int_radii_sum_[i][j];
int_radii_sum2_[i][j] = std::pow(int_radii_sum_[i][j], 2);
int_radii_sum2_[j][i] = int_radii_sum2_[i][j];
}
}
void VarSolDistSasaCalculator::set_element_radii(std::string elem, Real coll_radius, Real int_radius, Size nshells) {
using namespace core::chemical;
AtomTypeSetCOP atset = ChemicalManager::get_instance()->atom_type_set( FA_STANDARD );
// find index of atomtype
for ( Size i=1; i <= atset->n_atomtypes(); i++ ) {
if ( (*atset)[i].element() == elem ) {
set_atom_type_radii( (*atset)[i].atom_type_name(), coll_radius, int_radius, nshells);
}
}
}
id::AtomID_Map< core::Real >
VarSolDistSasaCalculator::calculate(const pose::Pose& pose) {
recompute(pose);
return atom_sasa_;
}
void
VarSolDistSasaCalculator::lookup( std::string const & key, basic::MetricValueBase * valptr ) const
{
TR << "VarSolDistSasaCalculator::lookup" << std::endl;
if ( key == "total_sasa" ) {
basic::check_cast( valptr, &total_sasa_, "total_sasa expects to return a Real" );
(static_cast<basic::MetricValue<Real> *>(valptr))->set( total_sasa_ );
} else if ( key == "atom_sasa" ) {
basic::check_cast( valptr, &atom_sasa_, "atom_sasa expects to return a id::AtomID_Map< Real >" );
(static_cast<basic::MetricValue<id::AtomID_Map< Real > > *>(valptr))->set( atom_sasa_ );
} else if ( key == "residue_sasa" ) {
basic::check_cast( valptr, &residue_sasa_, "residue_sasa expects to return a utility::vector1< Real >" );
(static_cast<basic::MetricValue<utility::vector1< Real > > *>(valptr))->set( residue_sasa_ );
} else {
basic::Error() << "This Calculator cannot compute metric " << key << std::endl;
utility_exit();
}
}
std::string
VarSolDistSasaCalculator::print( std::string const & key ) const
{
if ( key == "total_sasa" ) {
return utility::to_string( total_sasa_ );
} else if ( key == "atom_sasa" ) {
basic::Error() << "id::AtomID_Map< Real > has no output operator, for metric " << key << std::endl;
utility_exit();
} else if ( key == "residue_sasa" ) {
return utility::to_string( residue_sasa_ );
}
basic::Error() << "This Calculator cannot compute metric " << key << std::endl;
utility_exit();
return "";
}
void
VarSolDistSasaCalculator::recompute( core::pose::Pose const & this_pose )
{
TR << "VarSolDistSasaCalculator::recompute" << std::endl;
core::pose::initialize_atomid_map( atom_sasa_, this_pose, 0.0 );
rotamer_dots_vec_.resize( this_pose.size() );
residue_sasa_.resize( this_pose.size() );
// TR << "Initializing vSASA arrays with probe radius = " << probe_radius_ << " and wobble = " << wobble_ << std::endl;
for ( Size ii = 1; ii <= this_pose.size(); ++ii ) {
rotamer_dots_vec_[ ii ] = utility::pointer::make_shared< VarSolDRotamerDots >(
utility::pointer::make_shared< core::conformation::Residue >( this_pose.residue( ii ) ),
get_self_ptr() );
rotamer_dots_vec_[ ii ]->increment_self_overlap();
}
core::scoring::EnergyGraph const & energy_graph( this_pose.energies().energy_graph() );
for ( Size ii = 1; ii <= this_pose.size(); ++ii ) {
for ( utility::graph::Graph::EdgeListConstIter
iru = energy_graph.get_node(ii)->const_upper_edge_list_begin(),
irue = energy_graph.get_node(ii)->const_upper_edge_list_end();
iru != irue; ++iru ) {
rotamer_dots_vec_[ ii ]->intersect_residues( *rotamer_dots_vec_[ (*iru)->get_second_node_ind() ] );
}
}
total_sasa_ = 0.0;
for ( Size ii = 1; ii <= this_pose.size(); ++ii ) {
residue_sasa_[ ii ] = 0.0;
for ( Size jj = 1; jj <= this_pose.residue(ii).natoms(); ++jj ) {
core::id::AtomID at( jj, ii );
residue_sasa_[ ii ] += atom_sasa_[ at ] = rotamer_dots_vec_[ ii ]->msas_for_atom( jj );
}
total_sasa_ += residue_sasa_[ ii ];
}
}
protocols::moves::MoverOP
LoadVarSolDistSasaCalculatorMoverCreator::create_mover() const
{
return utility::pointer::make_shared< LoadVarSolDistSasaCalculatorMover >();
}
void
LoadVarSolDistSasaCalculatorMoverCreator::provide_xml_schema( utility::tag::XMLSchemaDefinition & xsd ) const
{
LoadVarSolDistSasaCalculatorMover::provide_xml_schema( xsd );
}
std::string LoadVarSolDistSasaCalculatorMoverCreator::keyname() const
{
return LoadVarSolDistSasaCalculatorMover::mover_name();
}
LoadVarSolDistSasaCalculatorMover::LoadVarSolDistSasaCalculatorMover(Real /*probe_radius*/, Real /*wobble*/) :
protocols::moves::Mover( "LoadVarSolDistSasaCalculatorMover" )
// probe_radius_(probe_radius),
// wobble_(wobble)
{}
LoadVarSolDistSasaCalculatorMover::~LoadVarSolDistSasaCalculatorMover() = default;
protocols::moves::MoverOP
LoadVarSolDistSasaCalculatorMover::clone() const {
return utility::pointer::make_shared< LoadVarSolDistSasaCalculatorMover >();
}
std::string
LoadVarSolDistSasaCalculatorMover::get_name() const { return mover_name(); }
std::string
LoadVarSolDistSasaCalculatorMover::mover_name() { return "LoadVarSolDistSasaCalculatorMover"; }
void
LoadVarSolDistSasaCalculatorMover::provide_xml_schema( utility::tag::XMLSchemaDefinition & xsd ) {
using namespace utility::tag;
AttributeList attr; //No attributes!
protocols::moves::xsd_type_definition_w_attributes( xsd, mover_name(), "Stupid class that modifies"
" global data to interface with the global-data-heavy PoseMetricFactory in order to change the way"
" solvent accessible surface areas are calculated", attr );
}
void
LoadVarSolDistSasaCalculatorMover::apply( core::pose::Pose & )
{
using core::pose::metrics::CalculatorFactory;
if ( CalculatorFactory::Instance().check_calculator_exists( "bur_unsat_calc_default_sasa_calc" ) ) {
CalculatorFactory::Instance().remove_calculator( "bur_unsat_calc_default_sasa_calc" );
}
CalculatorFactory::Instance().register_calculator( "bur_unsat_calc_default_sasa_calc", utility::pointer::make_shared< VarSolDistSasaCalculator >() );
}
/// @brief parse XML (specifically in the context of the parser/scripting scheme)
void LoadVarSolDistSasaCalculatorMover::parse_my_tag(
TagCOP const,
basic::datacache::DataMap &,
Filters_map const &,
protocols::moves::Movers_map const &,
Pose const & )
{}
} // vardist_solaccess
} // protocols
#ifdef SERIALIZATION
/// @brief Automatically generated serialization method
template< class Archive >
void
protocols::vardist_solaccess::VarSolDRotamerDots::save( Archive & arc ) const {
arc( CEREAL_NVP( owner_ ) );
arc( CEREAL_NVP( rotamer_ ) ); // core::conformation::ResidueCOP
arc( CEREAL_NVP( num_atoms_ ) ); // core::Size
arc( CEREAL_NVP( atom_coverage_ ) ); // utility::vector1<utility::vector1<core::pack::interaction_graph::DotSphere> >
arc( CEREAL_NVP( dot_coords_ ) ); // utility::vector1<core::Vector>
// EXEMPT num_bytes_ polar_expansion_radius_ radii_ msas_radii_ coll_radii_ int_radii_ int_radii_sum_ int_radii_sum2_
// EXEMPT lg_angles_ lg_masks_
}
/// @brief Automatically generated deserialization method
template< class Archive >
void
protocols::vardist_solaccess::VarSolDRotamerDots::load_and_construct( Archive & arc, cereal::construct< protocols::vardist_solaccess::VarSolDRotamerDots > & construct ) {
VarSolDistSasaCalculatorAP owner_weak; arc( owner_weak );
VarSolDistSasaCalculatorCOP owner_strong( owner_weak.lock() );
core::conformation::ResidueOP residue; arc( residue );
construct( residue, owner_strong );
// EXEMPT owner_ rotamer_
arc( construct->num_atoms_ ); // core::Size
arc( construct->atom_coverage_ ); // utility::vector1<utility::vector1<core::pack::interaction_graph::DotSphere> >
arc( construct->dot_coords_ ); // utility::vector1<core::Vector>
// EXEMPT num_bytes_ polar_expansion_radius_ radii_ msas_radii_ coll_radii_ int_radii_ int_radii_sum_ int_radii_sum2_
// EXEMPT lg_angles_ lg_masks_
}
SAVE_AND_LOAD_AND_CONSTRUCT_SERIALIZABLE( protocols::vardist_solaccess::VarSolDRotamerDots );
CEREAL_REGISTER_TYPE( protocols::vardist_solaccess::VarSolDRotamerDots )
/// @brief Automatically generated serialization method
template< class Archive >
void
protocols::vardist_solaccess::VarSolDistSasaCalculator::save( Archive & arc ) const {
arc( cereal::base_class< core::pose::metrics::StructureDependentCalculator >( this ) );
arc( CEREAL_NVP( probe_radius_ ) ); // core::Real
arc( CEREAL_NVP( wobble_ ) ); // core::Real
arc( CEREAL_NVP( total_sasa_ ) ); // core::Real
arc( CEREAL_NVP( atom_sasa_ ) ); // core::id::AtomID_Map<core::Real>
arc( CEREAL_NVP( residue_sasa_ ) ); // utility::vector1<core::Real>
arc( CEREAL_NVP( rotamer_dots_vec_ ) ); // utility::vector1<VarSolDRotamerDotsOP>
arc( CEREAL_NVP( radii_ ) ); // utility::vector1<utility::vector1<core::Real> >
arc( CEREAL_NVP( msas_radii_ ) ); // utility::vector1<core::Real>
arc( CEREAL_NVP( coll_radii_ ) ); // utility::vector1<core::Real>
arc( CEREAL_NVP( int_radii_ ) ); // utility::vector1<core::Real>
arc( CEREAL_NVP( int_radii_sum_ ) ); // utility::vector1<utility::vector1<core::Real> >
arc( CEREAL_NVP( int_radii_sum2_ ) ); // utility::vector1<utility::vector1<core::Real> >
// This is basically a constant; don't serialize arc( CEREAL_NVP( num_bytes_ ) ); // const core::Size
// Don't serialize / deserialize these pointers to global arrays.
// arc( CEREAL_NVP( lg_masks_ ) ); // const ObjexxFCL::FArray2D_ubyte *; raw pointer: const ObjexxFCL::FArray2D_ubyte *
// arc( CEREAL_NVP( lg_angles_ ) ); // const ObjexxFCL::FArray2D_int *; raw pointer: const ObjexxFCL::FArray2D_int *
// EXEMPT num_bytes_ lg_masks_ lg_angles_
arc( CEREAL_NVP( polar_expansion_radius_ ) ); // core::Real
arc( CEREAL_NVP( up_to_date ) ); // _Bool
}
/// @brief Automatically generated deserialization method
template< class Archive >
void
protocols::vardist_solaccess::VarSolDistSasaCalculator::load( Archive & arc ) {
arc( probe_radius_ ); // core::Real
arc( wobble_ ); // core::Real
arc( total_sasa_ ); // core::Real
arc( atom_sasa_ ); // core::id::AtomID_Map<core::Real>
arc( residue_sasa_ ); // utility::vector1<core::Real>
arc( rotamer_dots_vec_ ); // utility::vector1<VarSolDRotamerDotsOP>
arc( radii_ ); // utility::vector1<utility::vector1<core::Real> >
arc( msas_radii_ ); // utility::vector1<core::Real>
arc( coll_radii_ ); // utility::vector1<core::Real>
arc( int_radii_ ); // utility::vector1<core::Real>
arc( int_radii_sum_ ); // utility::vector1<utility::vector1<core::Real> >
arc( int_radii_sum2_ ); // utility::vector1<utility::vector1<core::Real> >
// This is basically a constant -- don't serialize arc( num_bytes_ ); // const core::Size
// Don't serialize/deserialize these pointers to global arrays
// arc( lg_masks_ ); // const ObjexxFCL::FArray2D_ubyte *; raw pointer: const ObjexxFCL::FArray2D_ubyte *
// arc( lg_angles_ ); // const ObjexxFCL::FArray2D_int *; raw pointer: const ObjexxFCL::FArray2D_int *
// EXEMPT num_bytes_ lg_masks_ lg_angles_
arc( polar_expansion_radius_ ); // core::Real
arc( up_to_date ); // _Bool
}
SAVE_AND_LOAD_SERIALIZABLE( protocols::vardist_solaccess::VarSolDistSasaCalculator );
CEREAL_REGISTER_TYPE( protocols::vardist_solaccess::VarSolDistSasaCalculator )
CEREAL_REGISTER_DYNAMIC_INIT( protocols_vardist_solaccess_VarSolDRotamerDots )
#endif // SERIALIZATION
| [
"36790013+MedicaicloudLink@users.noreply.github.com"
] | 36790013+MedicaicloudLink@users.noreply.github.com |
763b7b5235aadae2eb02210228297dba1b342e35 | 4c23be1a0ca76f68e7146f7d098e26c2bbfb2650 | /ic8h18/0.0005/PC4H8OH | 446ab4a554f7777d104c0dd7bcfe728f7bc808e8 | [] | no_license | labsandy/OpenFOAM_workspace | a74b473903ddbd34b31dc93917e3719bc051e379 | 6e0193ad9dabd613acf40d6b3ec4c0536c90aed4 | refs/heads/master | 2022-02-25T02:36:04.164324 | 2019-08-23T02:27:16 | 2019-08-23T02:27:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 840 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 6
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
location "0.0005";
object PC4H8OH;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 0 0 0 0 0 0];
internalField uniform 5.76915e-28;
boundaryField
{
boundary
{
type empty;
}
}
// ************************************************************************* //
| [
"jfeatherstone123@gmail.com"
] | jfeatherstone123@gmail.com | |
be806f4e2093cd2bbf42c0e5fc613320b9cf378d | 208a1e5d145aa28b5281a4704a485d486bada5dc | /examples/autorally/autorallyrtwindow.h | 53cba30644df217166657cef4b211827684cefe7 | [] | no_license | munzir/13-3DUnification | ee8de2e7e3b0f485feb58b7490ecabc65ca700a9 | d0fb6702dd41cdb6c37598024ef0839391f313e1 | refs/heads/master | 2020-06-23T02:13:47.166182 | 2018-08-01T12:45:10 | 2018-08-01T12:45:10 | 198,472,205 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 562 | h | #ifndef AUTORALLYRTWINDOW_H
#define AUTORALLYRTWINDOW_H
#include <QMainWindow>
#include <qcustomplot/qcustomplot.h>
namespace Ui {
class AutoRallyRTWindow;
}
class AutoRallyRTWindow : public QMainWindow
{
Q_OBJECT
public:
using Scalar = double;
explicit AutoRallyRTWindow(Scalar dt, QWidget *parent = 0);
~AutoRallyRTWindow();
public slots:
void update_graph(const QVector<Scalar> &state, const QVector<Scalar> &control);
private:
Scalar dt_;
Ui::AutoRallyRTWindow *ui;
QCPCurve *position;
};
#endif // AUTORALLYRTWINDOW_H
| [
"john.shimin.zhang@gmail.com"
] | john.shimin.zhang@gmail.com |
abb505dc7f1c02cb7345c3da72418e481c154295 | 004432620e309370603e5e2836e94d54b9082453 | /Day 27.cpp | ab2164377625391b1d4a261b8cdcf79ce6a9ad23 | [] | no_license | Ayush-KS/November-LeetCoding-Challenge | d67f3c63b86f0ef1b6fb289a2ba8e92ec2bda3e6 | ffa9fd9833039fb21426a7441ba32c8522da1280 | refs/heads/main | 2023-02-04T09:16:57.191393 | 2020-12-01T09:47:30 | 2020-12-01T09:47:30 | 309,596,387 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 791 | cpp | // Partition Equal Subset Sum
class Solution {
public:
vector<int> arr;
bool helper(vector<vector<int>>& dp, int si, int sum) {
int tot = dp[0].size();
if(sum == tot)
return true;
if(sum > tot || si >= dp.size())
return false;
if(dp[si][sum] != -1)
return dp[si][sum];
dp[si][sum] = helper(dp, si + 1, sum + arr[si]) | helper(dp, si + 1, sum);
return dp[si][sum];
}
bool canPartition(vector<int>& nums) {
arr = nums;
int sum = accumulate(nums.begin(), nums.end(), 0);
int n = nums.size();
if(sum & 1)
return false;
sum >>= 1;
vector<vector<int>> dp(n, vector<int>(sum, -1));
return helper(dp, 0, 0);
}
}; | [
"45496026+Ayush-KS@users.noreply.github.com"
] | 45496026+Ayush-KS@users.noreply.github.com |
fad41f4da8ccac42a2cf69a3754b359d8e2a9c8c | 12615282879168eb6262f57df87518e83df44489 | /detection/spencer_detected_person_association/src/spencer_detected_person_association/aggregate_detections.cpp | 5a7b467dd80badc99a57a4ffc8a979d6f6ce1a86 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | LdwgWffnschmdt/spencer_people_tracking | 86f40c21744b7e9084f671531cdba29e2da58342 | 5a9b7fafe2e388b3bed19e9484701a710c3c313f | refs/heads/master | 2023-03-11T19:33:39.705536 | 2021-01-22T08:11:41 | 2021-01-22T08:11:41 | 331,878,728 | 0 | 1 | null | 2021-01-22T10:19:59 | 2021-01-22T08:07:23 | C++ | UTF-8 | C++ | false | false | 3,489 | cpp | /*
* Software License Agreement (BSD License)
*
* Copyright (c) 2014-2015, Timm Linder, Social Robotics Lab, University of Freiburg
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright notice, this
* list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
* * Neither the name of the copyright holder nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <pluginlib/class_list_macros.h>
#include "aggregate_detections.h"
#include <boost/foreach.hpp>
#define foreach BOOST_FOREACH
namespace spencer_detected_person_association
{
void AggregateDetectionsNodelet::onInit()
{
NODELET_DEBUG("Initializing AggregateDetectionsNodelet...");
initSynchronizer(getName(), getNodeHandle(), getPrivateNodeHandle());
m_seq = 0;
}
void AggregateDetectionsNodelet::onNewInputMessagesReceived(const std::vector<spencer_tracking_msgs::CompositeDetectedPersons::ConstPtr>& inputMsgs)
{
spencer_tracking_msgs::CompositeDetectedPersons::Ptr outputMsg(new spencer_tracking_msgs::CompositeDetectedPersons);
outputMsg->header.frame_id = inputMsgs[0]->header.frame_id;
outputMsg->header.seq = m_seq++;
foreach(const spencer_tracking_msgs::CompositeDetectedPersons::ConstPtr& inputMsg, inputMsgs)
{
// Ensure each topic uses the same coordinate frame ID
ROS_ASSERT_MSG(inputMsg->header.frame_id == outputMsg->header.frame_id, "All input messages must already be in the same coordinate frame! Got %s and %s!",
inputMsg->header.frame_id.c_str(), outputMsg->header.frame_id.c_str());
// Use timestamp of latest message
if(inputMsg->header.stamp > outputMsg->header.stamp)
outputMsg->header.stamp = inputMsg->header.stamp;
// Aggregate CompositeDetectedPerson elements
outputMsg->elements.insert(outputMsg->elements.end(), inputMsg->elements.begin(), inputMsg->elements.end());
}
m_publisher->publish(outputMsg);
}
}
PLUGINLIB_DECLARE_CLASS(spencer_detected_person_association, AggregateDetectionsNodelet, spencer_detected_person_association::AggregateDetectionsNodelet, nodelet::Nodelet)
| [
"linder@cs.uni-freiburg.de"
] | linder@cs.uni-freiburg.de |
136726da0d92666f19007a4fdbb781666c412104 | 61af2d058ff5b90cbb5a00b5d662c29c8696c8cc | /Codeforces/15/A.cpp | 6384f3d2660bff799338f1fa653812c610a64a8d | [
"MIT"
] | permissive | sshockwave/Online-Judge-Solutions | eac6963be485ab0f40002f0a85d0fd65f38d5182 | 9d0bc7fd68c3d1f661622929c1cb3752601881d3 | refs/heads/master | 2021-01-24T11:45:39.484179 | 2020-03-02T04:02:40 | 2020-03-02T04:02:40 | 69,444,295 | 7 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 464 | cpp | #include <iostream>
#include <cstdio>
#include <cstring>
#include <algorithm>
using namespace std;
struct house{
int x,a;
};
bool diycomp(struct house a,struct house b){
return a.x<b.x;
}
int main(){
int n,t,cnt=2,tmp;
cin>>n>>t;
house h[n];
for(int i=0;i<n;i++){
cin>>h[i].x>>h[i].a;
}
sort(h,h+n,diycomp);
for(int i=0;i<n-1;i++){
tmp=2*h[i+1].x-h[i+1].a-2*h[i].x-h[i].a;
if(2*t==tmp){
cnt++;
}else if(2*t<tmp){
cnt+=2;
}
}
cout<<cnt;
} | [
"i_sukai@live.com"
] | i_sukai@live.com |
26c645f8a5e39df71ce4413b657572862c0927a4 | c6e5fafc1c63acca406f384acc9088254cef2254 | /assets/listings/item45-1.cpp | cacf6e6753d47fa60a90049fcc83cbcf78b33f74 | [
"BSD-2-Clause"
] | permissive | feserr/ResumenEffectiveCpp | 6f52bb14ea61ce6c995b0483903417c616ca6d27 | 8c535b2c9acc53fc117d38e35e1dd2cb7c8750fc | refs/heads/master | 2020-03-25T00:33:55.602720 | 2019-12-03T23:02:29 | 2019-12-03T23:02:29 | 143,192,660 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 263 | cpp | template<class T>
class shared_ptr {
public:
shared_ptr(shared_ptr const& r);
template<class Y>
shared_ptr(shared_ptr<Y> const& r);
shared_ptr& operator=(shared_ptr const& r);
template<class Y>
shared_ptr& operator=(shared_ptr<Y> const& r);
...
}; | [
"fraserm1989@gmail.com"
] | fraserm1989@gmail.com |
308e4a02d010a777742a8498d04e229988b49fbf | b5e3bc07ff658cb982e8a4d60abc889dc35095cb | /Source/Voxel_VXGI/Voxel/Voxel_Wood.h | 104acd02596c7b8a610d857991bc73afa5b256fc | [] | no_license | AthosOfAthos/Voxel_VXGI | 058369019bd07611b2f13185bf6cd9495b4ffca4 | 3e4d8de12bd8b4c9eada092552a0aae12e908c13 | refs/heads/master | 2020-03-28T19:58:42.724131 | 2018-10-14T21:57:12 | 2018-10-14T21:57:12 | 149,027,144 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 257 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "Voxel/Voxel_Voxel.h"
/**
*
*/
class VOXEL_VXGI_API Voxel_Wood: public Voxel_Voxel
{
public:
Voxel_Wood();
~Voxel_Wood();
};
| [
"mhock99@gmail.com"
] | mhock99@gmail.com |
0ee0766d93acb9391809d5a1a3121e45b727977f | 1dbf007249acad6038d2aaa1751cbde7e7842c53 | /tms/src/v1/model/ReqCreateTag.cpp | 04836ebed938d57d4d998f95b8e87348c5e6a6eb | [] | permissive | huaweicloud/huaweicloud-sdk-cpp-v3 | 24fc8d93c922598376bdb7d009e12378dff5dd20 | 71674f4afbb0cd5950f880ec516cfabcde71afe4 | refs/heads/master | 2023-08-04T19:37:47.187698 | 2023-08-03T08:25:43 | 2023-08-03T08:25:43 | 324,328,641 | 11 | 10 | Apache-2.0 | 2021-06-24T07:25:26 | 2020-12-25T09:11:43 | C++ | UTF-8 | C++ | false | false | 3,076 | cpp |
#include "huaweicloud/tms/v1/model/ReqCreateTag.h"
namespace HuaweiCloud {
namespace Sdk {
namespace Tms {
namespace V1 {
namespace Model {
ReqCreateTag::ReqCreateTag()
{
projectId_ = "";
projectIdIsSet_ = false;
resourcesIsSet_ = false;
tagsIsSet_ = false;
}
ReqCreateTag::~ReqCreateTag() = default;
void ReqCreateTag::validate()
{
}
web::json::value ReqCreateTag::toJson() const
{
web::json::value val = web::json::value::object();
if(projectIdIsSet_) {
val[utility::conversions::to_string_t("project_id")] = ModelBase::toJson(projectId_);
}
if(resourcesIsSet_) {
val[utility::conversions::to_string_t("resources")] = ModelBase::toJson(resources_);
}
if(tagsIsSet_) {
val[utility::conversions::to_string_t("tags")] = ModelBase::toJson(tags_);
}
return val;
}
bool ReqCreateTag::fromJson(const web::json::value& val)
{
bool ok = true;
if(val.has_field(utility::conversions::to_string_t("project_id"))) {
const web::json::value& fieldValue = val.at(utility::conversions::to_string_t("project_id"));
if(!fieldValue.is_null())
{
std::string refVal;
ok &= ModelBase::fromJson(fieldValue, refVal);
setProjectId(refVal);
}
}
if(val.has_field(utility::conversions::to_string_t("resources"))) {
const web::json::value& fieldValue = val.at(utility::conversions::to_string_t("resources"));
if(!fieldValue.is_null())
{
std::vector<ResourceTagBody> refVal;
ok &= ModelBase::fromJson(fieldValue, refVal);
setResources(refVal);
}
}
if(val.has_field(utility::conversions::to_string_t("tags"))) {
const web::json::value& fieldValue = val.at(utility::conversions::to_string_t("tags"));
if(!fieldValue.is_null())
{
std::vector<CreateTagRequest> refVal;
ok &= ModelBase::fromJson(fieldValue, refVal);
setTags(refVal);
}
}
return ok;
}
std::string ReqCreateTag::getProjectId() const
{
return projectId_;
}
void ReqCreateTag::setProjectId(const std::string& value)
{
projectId_ = value;
projectIdIsSet_ = true;
}
bool ReqCreateTag::projectIdIsSet() const
{
return projectIdIsSet_;
}
void ReqCreateTag::unsetprojectId()
{
projectIdIsSet_ = false;
}
std::vector<ResourceTagBody>& ReqCreateTag::getResources()
{
return resources_;
}
void ReqCreateTag::setResources(const std::vector<ResourceTagBody>& value)
{
resources_ = value;
resourcesIsSet_ = true;
}
bool ReqCreateTag::resourcesIsSet() const
{
return resourcesIsSet_;
}
void ReqCreateTag::unsetresources()
{
resourcesIsSet_ = false;
}
std::vector<CreateTagRequest>& ReqCreateTag::getTags()
{
return tags_;
}
void ReqCreateTag::setTags(const std::vector<CreateTagRequest>& value)
{
tags_ = value;
tagsIsSet_ = true;
}
bool ReqCreateTag::tagsIsSet() const
{
return tagsIsSet_;
}
void ReqCreateTag::unsettags()
{
tagsIsSet_ = false;
}
}
}
}
}
}
| [
"hwcloudsdk@huawei.com"
] | hwcloudsdk@huawei.com |
0d6108b94a09633e0e0b08e173e81efbb074ea69 | 5d01a2a16078b78fbb7380a6ee548fc87a80e333 | /ETS/EtsEod/EtsEodManager/stdafx.h | 622210ad6346fd6eae3bf9ab576533c7420dc43c | [] | no_license | WilliamQf-AI/IVRMstandard | 2fd66ae6e81976d39705614cfab3dbfb4e8553c5 | 761bbdd0343012e7367ea111869bb6a9d8f043c0 | refs/heads/master | 2023-04-04T22:06:48.237586 | 2013-04-17T13:56:40 | 2013-04-17T13:56:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,011 | h | // stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently,
// but are changed infrequently
#pragma once
#define _ATL_APARTMENT_THREADED
#ifndef VC_EXTRALEAN
#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
#endif
// Modify the following defines if you have to target a platform prior to the ones specified below.
// Refer to MSDN for the latest info on corresponding values for different platforms.
#ifndef WINVER // Allow use of features specific to Windows 95 and Windows NT 4 or later.
#define WINVER 0x0400 // Change this to the appropriate value to target Windows 98 and Windows 2000 or later.
#endif
#ifndef _WIN32_WINNT // Allow use of features specific to Windows NT 4 or later.
#define _WIN32_WINNT 0x0400 // Change this to the appropriate value to target Windows 98 and Windows 2000 or later.
#endif
#ifndef _WIN32_WINDOWS // Allow use of features specific to Windows 98 or later.
#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later.
#endif
#ifndef _WIN32_IE // Allow use of features specific to IE 4.0 or later.
#define _WIN32_IE 0x0500 // Change this to the appropriate value to target IE 5.0 or later.
#endif
#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit
// turns off MFC's hiding of some common and often safely ignored warning messages
#define _AFX_ALL_WARNINGS
#include <afxwin.h> // MFC core and standard components
#include <afxext.h> // MFC extensions
#include <afxdisp.h> // MFC Automation classes
#include <afxdtctl.h> // MFC support for Internet Explorer 4 Common Controls
#ifndef _AFX_NO_AFXCMN_SUPPORT
#include <afxcmn.h> // MFC support for Windows Common Controls
#endif // _AFX_NO_AFXCMN_SUPPORT
#include <afxctl.h>
#include <sqlext.h>
#pragma comment(lib, "odbc32.lib")
#pragma comment(lib, "odbccp32.lib")
#include <shlwapi.h>
#include <comdef.h>
#include <process.h>
#include <ComErrorWrapper.h>
#include <EgLib/EgLibDbg.h>
#include <EgLib/EgLibSync.h>
#include <EgLib/EgLibReg.h>
#import "..\tlb\EtsEodServer.tlb" no_namespace named_guids
#import "msado25.tlb" no_namespace named_guids rename("EOF", "AdoEof") rename("BOF", "AdoBof")
#import "..\..\tlb\VADBLayout.tlb" no_namespace named_guids
#import "..\..\tlb\MsgStruct.tlb" no_namespace named_guids
//#import "..\..\tlb\VolatilitySources.tlb" rename_namespace("VS") named_guids
#import "..\..\tlb\ETSManager.tlb" rename_namespace("EM") named_guids
#import "PriceProviders.tlb" rename_namespace("PP") named_guids
#import <msdatsrc.tlb> no_namespace named_guids
#import <vsflex7.ocx> no_namespace named_guids
#import "../../tlb/ETSXMLParams.tlb" no_namespace named_guids
#include "XMLParamsHelper.h"
#include <string>
#include <vector>
#include <map>
#include <atlbase.h>
#include <atlcom.h>
using namespace std; | [
"chuchev@egartech.com"
] | chuchev@egartech.com |
ad2c0a0b386d579f73078f425fca1106075e9064 | 9d364070c646239b2efad7abbab58f4ad602ef7b | /platform/external/chromium_org/chrome/browser/ui/webui/quota_internals/quota_internals_types.h | e372799e921d19a0d0574837e7bf6d62e9c56713 | [
"BSD-3-Clause"
] | permissive | denix123/a32_ul | 4ffe304b13c1266b6c7409d790979eb8e3b0379c | b2fd25640704f37d5248da9cc147ed267d4771c2 | refs/heads/master | 2021-01-17T20:21:17.196296 | 2016-08-16T04:30:53 | 2016-08-16T04:30:53 | 65,786,970 | 0 | 2 | null | 2020-03-06T22:00:52 | 2016-08-16T04:15:54 | null | UTF-8 | C++ | false | false | 2,101 | h | // 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.
#ifndef CHROME_BROWSER_UI_WEBUI_QUOTA_INTERNALS_QUOTA_INTERNALS_TYPES_H_
#define CHROME_BROWSER_UI_WEBUI_QUOTA_INTERNALS_QUOTA_INTERNALS_TYPES_H_
#include <map>
#include <string>
#include "base/time/time.h"
#include "storage/common/quota/quota_types.h"
#include "url/gurl.h"
namespace base {
class Value;
}
namespace quota_internals {
class GlobalStorageInfo {
public:
explicit GlobalStorageInfo(storage::StorageType type);
~GlobalStorageInfo();
void set_usage(int64 usage) {
usage_ = usage;
}
void set_unlimited_usage(int64 unlimited_usage) {
unlimited_usage_ = unlimited_usage;
}
void set_quota(int64 quota) {
quota_ = quota;
}
base::Value* NewValue() const;
private:
storage::StorageType type_;
int64 usage_;
int64 unlimited_usage_;
int64 quota_;
};
class PerHostStorageInfo {
public:
PerHostStorageInfo(const std::string& host, storage::StorageType type);
~PerHostStorageInfo();
void set_usage(int64 usage) {
usage_ = usage;
}
void set_quota(int64 quota) {
quota_ = quota;
}
base::Value* NewValue() const;
private:
std::string host_;
storage::StorageType type_;
int64 usage_;
int64 quota_;
};
class PerOriginStorageInfo {
public:
PerOriginStorageInfo(const GURL& origin, storage::StorageType type);
~PerOriginStorageInfo();
void set_in_use(bool in_use) {
in_use_ = in_use ? 1 : 0;
}
void set_used_count(int used_count) {
used_count_ = used_count;
}
void set_last_access_time(base::Time last_access_time) {
last_access_time_ = last_access_time;
}
void set_last_modified_time(base::Time last_modified_time) {
last_modified_time_ = last_modified_time;
}
base::Value* NewValue() const;
private:
GURL origin_;
storage::StorageType type_;
std::string host_;
int in_use_;
int used_count_;
base::Time last_access_time_;
base::Time last_modified_time_;
};
}
#endif
| [
"allegrant@mail.ru"
] | allegrant@mail.ru |
0c776601dde52c0ee70ecbd2ccf0fd07af0cec1f | 7d76028ce93c2fdc0f1f131a7d649d78658b7b9e | /HMC5883L_compass_MPU6050_calibrat/HMC5883L_compass_MPU6050_calibrat.ino | 4746703b645306ed7e731e89a51104908d9d809b | [] | no_license | Fenix-dimetrius/antenna-navigation-system | 52f9ea5166211032a3dbf219a1efe50b5100438a | 4e2a770b1571252d14c6514d22039bc4bd828820 | refs/heads/master | 2020-03-08T16:50:14.936398 | 2018-04-05T19:04:12 | 2018-04-05T19:04:12 | 128,251,815 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,651 | ino | /*
HMC5883L Triple Axis Digital Compass + MPU6050 (GY-86 / GY-87). Compass Example.
Read more: http://www.jarzebski.pl/arduino/czujniki-i-sensory/3-osiowy-magnetometr-hmc5883l.html
GIT: https://github.com/jarzebski/Arduino-HMC5883L
Web: http://www.jarzebski.pl
(c) 2014 by Korneliusz Jarzebski
*/
#include <Wire.h>
#include <HMC5883L.h>
#include <MPU6050.h>
HMC5883L compass;
MPU6050 mpu;
void setup()
{
Serial.begin(9600);
// If you have GY-86 or GY-87 module.
// To access HMC5883L you need to disable the I2C Master Mode and Sleep Mode, and enable I2C Bypass Mode
while(!mpu.begin(MPU6050_SCALE_2000DPS, MPU6050_RANGE_2G))
{
Serial.println("Could not find a valid MPU6050 sensor, check wiring!");
delay(500);
}
mpu.setI2CMasterModeEnabled(false);
mpu.setI2CBypassEnabled(true) ;
mpu.setSleepEnabled(false);
// Initialize Initialize HMC5883L
Serial.println("Initialize HMC5883L");
while (!compass.begin())
{
Serial.println("Could not find a valid HMC5883L sensor, check wiring!");
delay(500);
}
// Set measurement range
compass.setRange(HMC5883L_RANGE_1_3GA);
// Set measurement mode
compass.setMeasurementMode(HMC5883L_CONTINOUS);
// Set data rate
compass.setDataRate(HMC5883L_DATARATE_30HZ);
// Set number of samples averaged
compass.setSamples(HMC5883L_SAMPLES_8);
// Set calibration offset. See HMC5883L_calibration.ino
compass.setOffset(0, 0);
}
float calibrated_values[3];
//transformation(float uncalibrated_values[3]) is the function of the magnetometer data correction
//uncalibrated_values[3] is the array of the non calibrated magnetometer data
//uncalibrated_values[3]: [0]=Xnc, [1]=Ync, [2]=Znc
void transformation(float uncalibrated_values[3])
{
//calibration_matrix[3][3] is the transformation matrix
//replace M11, M12,..,M33 with your transformation matrix data
double calibration_matrix[3][3] = {
{0.000929, 0.000033,0.000001},
{0.000033, 0.000923, -0.000033},
{0.000001, -0.000033, 0.001086}
};
//bias[3] is the bias
//replace Bx, By, Bz with your bias data
double bias[] = {
16.572225,
-203.935684,
-8.637929
};
//calculation
for (int i=0; i<3; ++i) uncalibrated_values[i] = uncalibrated_values[i] - bias[i];
float result[3] = {0, 0, 0};
for (int i=0; i<3; ++i)
for (int j=0; j<3; ++j)
result[i] += calibration_matrix[i][j] * uncalibrated_values[j];
for (int i=0; i<3; ++i) calibrated_values[i] = result[i];
}
void loop()
{
Vector norm =compass.readRaw();// compass.readNormalize();
float values_from_magnetometer[3];
values_from_magnetometer[0] = norm.XAxis;
values_from_magnetometer[1] = norm.YAxis;
values_from_magnetometer[2] = norm.ZAxis;
transformation(values_from_magnetometer);
// Calculate heading
float heading = atan2(calibrated_values[0], calibrated_values[1]);
// Set declination angle on your location and fix heading
// You can find your declination on: http://magnetic-declination.com/
// (+) Positive or (-) for negative
// For Bytom / Poland declination angle is 4'26E (positive)
// Formula: (deg + (min / 60.0)) / (180 / M_PI);
float declinationAngle = (6.0 + (31.0 / 60.0)) / (180 / M_PI);
heading += declinationAngle;
// Correct for heading < 0deg and heading > 360deg
if (heading < 0)
{
heading += 2 * PI;
}
if (heading > 2 * PI)
{
heading -= 2 * PI;
}
// Convert to degrees
float headingDegrees = heading * 180/M_PI;
// Output
Serial.print(" Heading = ");
Serial.print(heading);
Serial.print(" Degress = ");
Serial.print(headingDegrees);
Serial.println();
delay(100);
}
| [
"37903300+Fenix-dimetrius@users.noreply.github.com"
] | 37903300+Fenix-dimetrius@users.noreply.github.com |
40bc164a8b47d99781ca7e95fe9cf296723537fd | edfcaf491fd7d5457a24ab7da061ecd70031a60b | /SoCV_HWs/hw2/r04943179_hw2/p7a.h | 6fa75328f0eaed4e6a66153d72b4f0fe737ab126 | [] | no_license | mickyshey/SoCV | 900280a6fd7eb82e7bce8f7fffa8a0cd603d9a89 | 7efb1e879bdec1c7c9d92b8347482b1c339f0dca | refs/heads/master | 2021-01-21T23:20:31.093024 | 2017-06-23T14:49:10 | 2017-06-23T14:49:10 | 95,229,248 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,552 | h | /****************************************************************************
FileName [ bddMgr.h ]
PackageName [ ]
Synopsis [ Define BDD Manager ]
Author [ Chung-Yang (Ric) Huang ]
Copyright [ Copyleft(c) 2005-present LaDs(III), GIEE, NTU, Taiwan ]
****************************************************************************/
#ifndef BDD_MGR_H
#define BDD_MGR_H
#include <map>
#include "myHash.h"
#include "bddNode.h"
using namespace std;
class BddNode;
typedef vector<size_t> BddArr;
typedef map<string, size_t> BddMap;
typedef pair<string, size_t> BddMapPair;
typedef map<string, size_t>::const_iterator BddMapConstIter;
extern BddMgr* bddMgr;
class BddHashKey
{
public:
// TODO: define constructor(s)
BddHashKey(size_t l, size_t r, unsigned i) : _l(l), _r(r), _i(i) {}
// TODO: implement "()" and "==" operators
// Get a size_t number;
// ==> to get bucket number, need to % _numBuckers in Hash
size_t operator() () const { return ((_l << 3) + (_r << 3) + _i); }
bool operator == (const BddHashKey& k) {
return (_l == k._l) && (_r == k._r) && (_i == k._i); }
private:
// TODO: define your own data members
size_t _l;
size_t _r;
unsigned _i;
};
class BddCacheKey
{
public:
// TODO: define constructor(s)
BddCacheKey() {}
BddCacheKey(size_t f, size_t g, size_t h) : _f(f), _g(g), _h(h) {}
// TODO: implement "()" and "==" operators
// Get a size_t number;
// ==> to get cache address, need to % _size in Cache
size_t operator() () const { return ((_f << 3)+(_g << 3)+(_h << 3)); }
bool operator == (const BddCacheKey& k) const {
return (_f == k._f) && (_g == k._g) && (_h == k._h); }
private:
// TODO: define your own data members
size_t _f;
size_t _g;
size_t _h;
};
class BddMgr
{
typedef Hash<BddHashKey, BddNodeInt*> BddHash;
typedef Cache<BddCacheKey, size_t> BddCache;
public:
BddMgr(size_t nin = 64, size_t h = 8009, size_t c = 30011)
{ init(nin, h, c); }
~BddMgr() { reset(); }
void init(size_t nin, size_t h, size_t c);
void restart();
// for building BDDs
BddNode ite(BddNode f, BddNode g, BddNode h);
// for _supports
const BddNode& getSupport(size_t i) const { return _supports[i]; }
size_t getNumSupports() const { return _supports.size(); }
// for _uniqueTable
BddNodeInt* uniquify(size_t l, size_t r, unsigned i);
// for _bddArr: access by unsigned (ID)
bool addBddNode(unsigned id, size_t nodeV);
BddNode getBddNode(unsigned id) const;
// for _bddMap: access by string
bool addBddNode(const string& nodeName, size_t nodeV);
void forceAddBddNode(const string& nodeName, size_t nodeV);
BddNode getBddNode(const string& nodeName) const;
// Applications
int evalCube(const BddNode& node, const string& vector) const;
bool drawBdd(const string& nodeName, const string& dotFile) const;
// p7a
BddNode restrict(const BddNode& g, BddNode& c);
private:
// level = 0: const 1;
// level = 1: lowest input variable
// level = nin: highest input variable
vector<BddNode> _supports;
BddHash _uniqueTable;
BddCache _computedTable;
BddArr _bddArr;
BddMap _bddMap;
void reset();
bool checkIteTerminal(const BddNode&, const BddNode&, const BddNode&,
BddNode&);
void standardize(BddNode &f, BddNode &g, BddNode &h, bool &isNegEdge);
};
#endif // BDD_MGR_H
| [
"r04943179@valkyrie.ee.ntu.edu.tw"
] | r04943179@valkyrie.ee.ntu.edu.tw |
999bf49d6d472c58b8352aa07eadf2422905db8e | 631b5cf7194c7ee759e746bfc1f044cb81d01b8b | /src/Header/GarbageCollector.h | 480404169fb8cfa0d6258eef1330ae785932986c | [] | no_license | VanModers/IdeenMemoorje | e45672ad889d13823595ab230788c9b3411dbb09 | d4ed14928d84c6cbb4e3d1b26864572d6698593e | refs/heads/main | 2023-01-03T20:11:48.221328 | 2020-10-12T21:56:15 | 2020-10-12T21:56:15 | 300,965,974 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 283 | h | #include "LoginHandler.h"
#include <stdio.h>
#include <experimental/filesystem>
class GarbageCollector {
public:
vector<string> TempFiles;
int FileThreshold;
GarbageCollector(vector<string> files, int threshold);
GarbageCollector() {};
void addFile(string path);
};
| [
"programmingstudios227@gmail.com"
] | programmingstudios227@gmail.com |
7d1922ee19fd657f9ba9a772dad98f0780f97e25 | cc1ca9f0124f3ae29d9ea066d0eac3bb010d0409 | /C++ Talon FX (Falcon 500)/MotionMagic/src/main/include/Robot.h | 63302a14e30baba35486de27a1d90e2e79ef2988 | [] | no_license | benjiboy50fonz/Phoenix-Examples-Languages | e917b8562214260ad4a92d77f2246ec78b2a815b | a9063fd8ca1a18b3730783ac5548541992b97f39 | refs/heads/master | 2023-03-28T16:26:09.029007 | 2021-04-05T14:40:12 | 2021-04-05T14:40:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 455 | h | #pragma once
#include <frc/TimedRobot.h>
#include <frc/Joystick.h>
#include "ctre/Phoenix.h"
#include "Instrum.h"
class Robot : public frc::TimedRobot
{
public:
void RobotInit() override;
void AutonomousInit() override;
void AutonomousPeriodic() override;
void TeleopInit() override;
void TeleopPeriodic() override;
void TestInit() override;
void TestPeriodic() override;
private:
TalonFX *_talon;
frc::Joystick *_joy;
int _smoothing;
};
| [
"cnessctre@gmail.com"
] | cnessctre@gmail.com |
a8bc807832a7e47607a4950a111978329ec6bdf5 | 5fd7fbe2e4bb2eb6fc1df9032215b222bbef3788 | /DataBase/TypeManager.h | a588c998a401426b11e92c40a89a25a472932aca | [
"MIT"
] | permissive | olokshyn/ToyDataBase | 3d56f6e6e0918aa07d63a53ee04175a96b80fa6a | aa95bd550d926fc4fa43a9dab6c9111fb0dff9df | refs/heads/master | 2020-06-10T09:09:12.468868 | 2016-12-13T21:23:09 | 2016-12-13T21:23:09 | 75,976,574 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 629 | h | #pragma once
#include <vector>
#include <string>
#include <map>
#include <memory>
#include "BaseType.h"
class TypeManager
{
public:
TypeManager();
void GetTypeNames(std::vector<std::string>& names) const;
const BaseType* GetTypeByName(const std::string& name) const;
const std::string& GetNameOfType(const BaseType* type) const;
private:
typedef std::pair< const std::string, std::unique_ptr<BaseType> > pair_type;
typedef std::map< std::string, std::unique_ptr<BaseType> > map_type;
private:
TypeManager(const TypeManager& other);
TypeManager& operator=(const TypeManager& right);
private:
map_type m_types;
};
| [
"olokshyn@gmail.com"
] | olokshyn@gmail.com |
ed320b320f8e88a4e3d487b169ef2b5b1359ce22 | 9226b2c5c77451fbd389be575bb2701fbd14f691 | /AA1_04/DynArray.cc | 32495d0d2365e600953bcce1ae33244f2e601a68 | [] | no_license | juanlojo/AA1_01 | 05acaa15d7c39304ddc6f7ec0859f25c1a12952d | 39938cff2e7f7b2c939bd1107be5db60afaa902b | refs/heads/master | 2021-04-29T21:50:28.657916 | 2018-05-08T11:11:47 | 2018-05-08T11:11:47 | 121,625,753 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,574 | cc | #include <iostream>
#include "DynArray.hh"
DynArray::DynArray()
{
data = new int[DYN_ARRAY_DEFAULT_SIZE];
DynArray::m_capacity = DYN_ARRAY_DEFAULT_SIZE;
DynArray::m_size = 0;
}
DynArray::DynArray(size_t size)
{
data = new int[size];
DynArray::m_capacity = size;
DynArray::m_size = 0;
}
DynArray::DynArray(size_t size, const int & value)
{
data = new int[size];
DynArray::m_size = size;
DynArray::m_capacity = size;
for (int i = 0; i < size; i++) {
data[i] = value;
}
}
int * DynArray::begin()
{
return &data[0];
}
int * DynArray::end()
{
return &data[m_size - 1];
}
void DynArray::resize(size_t n)
{
}
void DynArray::reserve(size_t n)
{
}
void DynArray::shrink()
{
}
bool DynArray::empty()
{
return false;
}
size_t DynArray::capacity()
{
return size_t();
}
size_t DynArray::size()
{
return size_t();
}
size_t DynArray::maxSize()
{
return size_t();
}
int & DynArray::operator[](size_t n)
{
// TODO: insert return statement here
}
int & DynArray::at(size_t n)
{
// TODO: insert return statement here
}
int & DynArray::front()
{
// TODO: insert return statement here
}
int & DynArray::back()
{
// TODO: insert return statement here
}
void DynArray::push(const int & val)
{
}
void DynArray::pop()
{
}
void DynArray::insert(size_t position, const int & val)
{
}
void DynArray::erase(size_t position)
{
}
void DynArray::erase(size_t first, size_t last)
{
}
void DynArray::clear()
{
}
void DynArray::fill(int * first, int * last, int value)
{
}
void DynArray::copy(int * first, int * last, int * dest)
{
}
void DynArray::print()
{
}
| [
"juan230599@hotmail.com"
] | juan230599@hotmail.com |
c2a78cb77c5de050bf0fb1c030a751f132a930bc | 82e6516c33c15f26c3544272c813980503d40f6f | /main.cpp | 972a7a80f272f96d36cc06b41b5b89deed2f9f29 | [] | no_license | OlegYariga/SmallSH | 87f4443622ba20369146faace14cb6d538afc066 | f5d728109a103994fcff6d84791a001b3c94786c | refs/heads/master | 2021-07-16T12:33:12.042509 | 2020-11-03T11:57:26 | 2020-11-03T11:57:26 | 224,686,827 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 27,575 | cpp | // SmallSH.cpp: определяет точку входа для консольного приложения.
// SmallSH - небольшой командный интерпретатор для ОС Linux. Выполняет как встроенные
// так и внешние программы. Для получения подробной справке по использованию команд
// запустите интерпретатор и введите help
//
/*
*
* Подключаем необходимые для работы заголовочные файлы
*
*/
#include <stdio.h>
#include <stdlib.h>
#include <cstring>
#include <sys/wait.h>
#include <unistd.h>
#include <sys/types.h>
#include <dirent.h>
#include <string>
#include <sys/stat.h>
#include <fcntl.h>
#include <map>
using namespace std;
/*
*
* Блок для define-директив. Определяют идентификаторы и последовательности символов
* которыми будут замещаться данные идентификаторы
*
*/
#define SMALLSH_RL_BUFSIZE 1024
#define SMALLSH_TOK_BUFSIZE 64
#define SMALLSH_TOK_DELIM " \t\r\n\a"
#define SMALLSH_TOK_PARSE ";"
#define MAXDIR 1024
#define NUM_SHIELD_SYM 10
/*
*
* Раздел объявления прототипов
*
*/
// command_loop - основной цикл исполнения команд
int command_loop();
// Функция, считывающая введенную строку
char* command_read_line();
// Разбиение строки на массив введенных значений
char** command_split_line(char* line, char* TOKEN);
// Выполнение команды с её параметрами
int command_execute(bool background, int redirection_type, char* redirection_filename, char** args);
// Выполнение внешних команд
int command_launch(bool background, int redirection_type, char* redirection_filename, char **args);
// Экранирование специальных символов
string command_shield(char *line);
// разэкранирование символов перед выполнением команды
char** command_unshield(char**line);
// удаление коментариев из строки, если # не была экранирована
char* command_strip_comments(char* line);
// проверяем, есть ли символ, обозначающий background процесс
bool command_find_background(char* line);
char* command_strip_background(char* line);
// ищем в строке символы перенаправления
int command_find_redirection(char* line);
// считываем имя файла для перенаправления
char* command_get_redirection_filename(int redirection_type, char* line);
// удаляем > или < из строки, чтобы не передавать его исполняемой программе
char* command_strip_redirection(int redirection_type, char* line);
/*
*
* Объявление функций для встроенных команд оболочки:
*
*/
// Команда change directory - смена каталога
int smallsh_cd(char **args);
// Команда pwd - полный путь к текущему расположению
int smallsh_pwd(char **args);
// Команда kill(PID) - принудительное завершение процесса
int smallsh_kill(char **args);
// Команда declare - список переменных
int smallsh_declare(char **args);
// Список команд
int smallsh_help(char **args);
// Выход из интерпретатора
int smallsh_exit(char **args);
/*
*
* Обработчики сигналов
*
*/
void sigINThandler(int signum);
void sigTSTPhandler(int signum);
/*
*
* pid процесса, который выполняется в данный момент в foreground режиме
*
*/
int CHILD_PID = 0;
/*
*
* Список встроенных команд, за которыми следуют соответствующие функции
*
*/
char *builtin_str[] = {
"cd",
"help",
"exit",
"lpwd",
"kill",
"declare"
};
int (*builtin_func[]) (char **) = {
&smallsh_cd,
&smallsh_help,
&smallsh_exit,
&smallsh_pwd,
&smallsh_kill,
&smallsh_declare,
};
// хранит команды для declare
std::map <char*, char*> Map;
// Количество встроенных команд
int smallsh_num_builtins() {
return sizeof(builtin_str) / sizeof(char *);
}
/*
*
* Массив экранируемых символов и символы для их замены
*
*/
std::string shield_symbol[NUM_SHIELD_SYM] = {
"\\ ",
"\\n",
"\\$",
"\\&",
"\\|",
"\\#",
"\\;",
"\\>",
"\\<",
"\\\\"
};
std::string replace_symbol[NUM_SHIELD_SYM] = {
"%space%",
"%return%",
"%bucks%",
"%and%",
"%or%",
"%jail%",
"%semicolon%",
"%more%",
"%less%",
"%slash%"
};
std::string unshield_symbol[NUM_SHIELD_SYM] = {
" ",
"\n",
"$",
"&",
"|",
"#",
";",
">",
"<",
"\\"
};
/*
*
* Точка входа для консольного приложения
*
*/
int main(int argc, char **argv)
{
// регистрируем обработчики сигналов
signal(SIGINT, sigINThandler);
signal(SIGTSTP, sigTSTPhandler);
// Запуск цикла команд.
command_loop();
return 0;
}
/*
*
*Функция, производящая обработку команд
*
*/
int command_loop() {
char *line;
char **args;
int status;
char **subline;
int count = 0;
string parseline, prs;
char* line_no_comments;
do {
// выводим приглашение командной строки
printf("> ");
// считываем введенную строку
line = command_read_line();
// экранируем символы в строке
parseline = command_shield(line);
// удаляем все неэкранированные коментарии
line_no_comments = command_strip_comments((char*)parseline.c_str());
// разделяем строку на команды между ;
subline = command_split_line(line_no_comments, SMALLSH_TOK_PARSE);
while (subline[count] != NULL) {
// ищем в строке символ & для запуска приложения в фоновом режиме
bool exec_params = command_find_background(subline[count]);
// удаляем & из строки, чтобы не передавать его исполняемой программе
subline[count] = command_strip_background(subline[count]);
// ищем в строке символы перенаправления
int redirection_type = command_find_redirection(subline[count]);
char* redirection_filename = "";
if (redirection_type != 0){
// считываем имя файла для перенаправления
redirection_filename = command_get_redirection_filename(redirection_type, subline[count]);
// удаляем > или < из строки, чтобы не передавать его исполняемой программе
subline[count] = command_strip_redirection(redirection_type, subline[count]);
}
// разделяем строку на команду и её параметры
args = command_split_line(subline[count], SMALLSH_TOK_DELIM);
// производим обратное преобразование спецсимволов
args = command_unshield(args);
// выполняем команду с параметрами
status = command_execute(exec_params,redirection_type,redirection_filename,args);
count++;
}
count = 0;
} while (status);
// освобождаем занимаемую память
free(line);
free(args);
return 0;
}
/*
*
* Считываем символы, пока не встретим EOF или символ переноса строки \n
*
*/
char* command_read_line(){
char* status = const_cast<char *>("ok");
int bufsize = SMALLSH_RL_BUFSIZE;
int position = 0;
char *buffer = (char*)malloc(sizeof(char) * bufsize);
int c;
// Если не удалось выделить необходимое количество памяти под буфер
if (!buffer) {
fprintf(stderr, "SmallSH: memory allocation error. Exit...\n");
exit(EXIT_FAILURE);
}
while (true) {
// Читаем символ
c = getchar();
// При встрече с EOF заменяем его нуль-терминатором и возвращаем буфер
if (c == EOF || c == '\n') {
// проверяем, не экранировал ли пользователь символ переноса строки
if (c == '\n' && buffer[position-1] == '\\') {
buffer[position-1] = ' ';
buffer[position] = ' ';
}else {
// ставим терминатор и возвращаем строку
buffer[position] = '\0';
return buffer;
}
}
else {
buffer[position] = c;
}
position++;
// Если мы превысили буфер, перераспределяем блок памяти
if (position >= bufsize) {
// увеличиваем блок памяти на длинну стандартного блока
bufsize += SMALLSH_RL_BUFSIZE;
buffer = (char*)realloc(buffer, bufsize);
// Если не удалось выделить необхлдимое количество памяти под буфер
if (!buffer) {
fprintf(stderr, "SmallSH: memory allocation error. Exit...\n");
exit(EXIT_FAILURE);
}
}
}
}
/*
*
* Разделяет введенную строку на аргументы по символам, определенным в SMALLSH_TOK_DELIM или SMALLSH_TOK_PARSE
*
*/
char** command_split_line(char* line, char* TOKEN){
// определяем размер буфера для команд
int bufsize = SMALLSH_TOK_BUFSIZE, position = 0;
// выделяем память под буфер
char **tokens = (char**)malloc(bufsize * sizeof(char*));
char *token;
if (!tokens) {
fprintf(stderr, "SmallSH: memory allocation error. Exit...\n");
exit(EXIT_FAILURE);
}
// разделяем строку на параметры, по разделителю token (SMALLSH_TOK_DELIM или SMALLSH_TOK_PARSE)
token = strtok(line, TOKEN);
while (token != NULL) {
tokens[position] = token;
position++;
// если выделенного буфера не хватает, то выделяем доп. память равную размеру буфера
if (position >= bufsize) {
bufsize += SMALLSH_TOK_BUFSIZE;
tokens = (char**)realloc(tokens, bufsize * sizeof(char*));
// выводим ошибку выделения памяти
if (!tokens) {
fprintf(stderr, "SmallSH: memory allocation error. Exit...\n");
exit(EXIT_FAILURE);
}
}
// идем к следующему разделителю
token = strtok(NULL, TOKEN);
}
tokens[position] = NULL;
return tokens;
}
/*
*
* Выполнение команд, введенных пользователем. Сначала производит поиск встроенных команд,
* а если команды нет в списке встроенных - выполняет соответствующую программу
*
*/
int command_execute(bool background, int redirection_type, char* redirection_filename, char** args) {
int i;
if (args[0] == NULL) {
// Была введена пустая команда.
return 1;
}
// читаем список встроенных команд и ищем там введенную команду
for (i = 0; i < smallsh_num_builtins(); i++) {
if (strcmp(args[0], builtin_str[i]) == 0) {
// если нашли, выполняем соотв. функцию и возвращаем результат
return (*builtin_func[i])(args);
}
}
// если введенная команда не входит в список встроенных - выполняем её
return command_launch(background,redirection_type,redirection_filename, args);
}
/*
*
* Выполнение внешней программы
*
*/
int command_launch(bool background, int redirection_type, char* redirection_filename, char **args)
{
pid_t pid, wpid;
int status;
// форк текущего процесса
pid = fork();
if (pid == 0) {
// дочерний процесс будет игнорировать сигналы CTRL+C и CTRL+Z поступающие из оболочки
signal(SIGINT, SIG_IGN);
signal(SIGTSTP, SIG_IGN);
// если перенаправлений ввода-вывода нет
if (redirection_type == 0) {
// Выполняем дочерний процесс, передавая ему команду с параметрами
if (execvp(args[0], args) == -1) {
// Выводим информацию об ошибке
perror("SmallSH");
}
// Завершаем дочерний процесс
exit(EXIT_FAILURE);
}
// если было обнаружено перенаправление вывода
if (redirection_type == 1) {
// создаем новый файл
int fd = open(redirection_filename, O_WRONLY|O_TRUNC|O_CREAT, 0644);
if (fd < 0) { perror("open"); abort(); }
// переназначаем дескриптор файла на stdout
if (dup2(fd, 1) < 0) { perror("dup2"); abort(); }
// закрываем файл
close(fd);
// Выполняем дочерний процесс, передавая ему команду с параметрами
if (execvp(args[0], args) == -1) {
// Выводим информацию об ошибке
perror("SmallSH");
}
// Завершаем дочерний процесс
exit(EXIT_FAILURE);
}
// если было обнаружено перенаправление ввода
if (redirection_type == -1) {
// открываем файл на чтение, если такого файла нет - создаем новый
int fd = open(redirection_filename, O_RDONLY);
if (fd < 0) { perror("open"); abort(); }
// переназначаем дескриптор файла на stdin
if (dup2(fd, 0) < 0) { perror("dup2"); abort(); }
// Выполняем дочерний процесс, передавая ему команду с параметрами
if (execvp(args[0], args) == -1) {
// Выводим информацию об ошибке
perror("SmallSH");
}
// закрываем файла
close(fd);
// Завершаем дочерний процесс
exit(EXIT_FAILURE);
}
// для всех background процессов перенаправляем ввод-вывод в /dev/null
if (background){
int targetFD = open("/dev/null", O_WRONLY);
if (dup2(targetFD, STDIN_FILENO) == -1) { fprintf(stderr, "Error redirecting"); exit(1); };
if (dup2(targetFD, STDOUT_FILENO) == -1) { fprintf(stderr, "Error redirecting"); exit(1); };
}
}
else if (pid < 0) {
// Ошибка при форкинге
perror("SmallSH");
}
else {
if (!background) {
// считываем pid дочернего процесса
CHILD_PID = pid;
// Родительский процесс
do {
// проверяем, сработал ли обработчик сигнала
if (CHILD_PID == 0)
return 1;
// ожидаем возврата ответа от дочернего процесса
wpid = waitpid(pid, &status, WUNTRACED);
} while (!WIFEXITED(status) && !WIFSIGNALED(status));
}else{
printf("[PID] %d\n", pid);
}
}
// обнуляем pid дочернего процесса
CHILD_PID = 0;
return 1;
}
/*
*
* Экранирование специальных символов путем замены их на другие последовательности
*
*/
string command_shield(char *line)
{
// считываем строку
std::string a = line;
// поизводим поиск символов для замены
for (int i=0; i<NUM_SHIELD_SYM; i++) {
std::string b = shield_symbol[i];
std::string c = replace_symbol[i];
std::string::size_type ind;
while ((ind = a.find(b)) != std::string::npos) a.replace(ind, b.size(), c);
}
return a;
}
/*
*
* Замена экранирующих последовательностей перед выполнением команды
*
*/
char** command_unshield(char **line)
{
int it = 0;
// проходим в цикле по всем строкам в массиве
while (line[it] != NULL) {
// считываем строку
std::string a = line[it];
// производим поиск в массиве замененных символов
for (int i=0; i<NUM_SHIELD_SYM; i++) {
std::string b = replace_symbol[i];
std::string c = unshield_symbol[i];
std::string::size_type ind;
while ((ind = a.find(b)) != std::string::npos) a.replace(ind, b.size(), c);
}
// заменяем исходную строку на обработанную
strcpy(line[it], a.c_str());
it++;
}
return line;
}
/*
*
* Удаляем всю часть строки после #, если она не была экранирована
*
*/
char* command_strip_comments(char* line){
// если первый символ - решетка, возвращаем пустую строку
if (line[0]=='#') return "";
// обрезаем стрку до решетки
return strtok(line, "#");
}
/*
*
* Ищем в строке с командой символ & и удаляем его
*
*/
bool command_find_background(char* line){
std::string str = line;
// ищем символ & в строке
int position = str.find('&');
if (position == -1) return false;
return true;
}
char* command_strip_background(char* line){
// если первый символ - &, возвращаем пустую строку
if (line[0]=='&') return "";
// обрезаем стрку до &
return strtok(line, "&");
}
/*
*
* ищем в строке символы перенаправления
*
*/
int command_find_redirection(char* line){
std::string str = line;
// ищем символ > в строке
if ((int)str.find('>') >= 0) return 1;
// ищем символ < в строке
else if ((int)str.find('<') >= 0) return -1;
// если ничего не нашли - возвращам 0
else return 0;
}
/*
*
* считываем имя файла для перенаправления
*
*/
char* command_get_redirection_filename(int redirection_type, char* line){
char* delim = ">";
if (redirection_type == 1) delim = ">";
else delim = "<";
char *strs = line;
char *primer = strtok(strs, delim);
char *other = strtok(0, "");
return other;
}
/*
*
* удаляем > или < из строки, чтобы не передавать его исполняемой программе
*
*/
char* command_strip_redirection(int redirection_type, char* line){
char *delim = ">";
if (redirection_type == 1) delim = ">";
else delim = "<";
// если первый символ - < >, возвращаем пустую строку
if (line[0]=='<' or line[0]=='>') return "";
// обрезаем стрку до < или до >
return strtok(line, delim);
}
/*
*
* Обработчики сигналов
*
*/
void sigINThandler(int signum){
// если дочерний процесс в данный момент работает
if (CHILD_PID != 0){
// посылаем процессу сигнал sigterm
kill(CHILD_PID, SIGTERM);
// выводим и обнуляем pid процесса
printf("Program [%d] terminated\n", CHILD_PID);
CHILD_PID = 0;
}
}
void sigTSTPhandler(int signum){
// если дочерний процесс в данный момент работает
if (CHILD_PID != 0){
// посылаем процессу сигнал SIGSTOP
kill(CHILD_PID, SIGSTOP);
// выводим и обнуляем pid процесса
printf("Program [%d] stopped\n", CHILD_PID);
CHILD_PID = 0;
}
}
/*
*
* Реализации встроенных в интепретатор функций
*
*/
int smallsh_cd(char **args)
{
if (args[1] == NULL) {
// если не введен аргумент для CD - выдаем сообщение об ошибке
fprintf(stderr, "SmallSH: ожидается аргумент для \"cd\"\n");
return 1;
} else {
// выполняем переход в указанный каталог
if (chdir(args[1]) != 0) {
perror("SmallSH");
}
}
return 1;
}
int smallsh_pwd(char **args)
{
// определяем буфер для результата команды pwd
char dir[MAXDIR];
// выполняем pwd
getcwd(dir, MAXDIR);
// выводим результат выполнения команды
printf("%s%s", dir, "\n");
return 1;
}
int smallsh_kill(char **args)
{
// преобразование pid процесса в int
pid_t pid = atoi(args[1]);
if (args[1] == NULL){
fprintf(stderr, "SmallSH: для завершения работы оболочки используйте exit\n");
return 1;
}
if (pid == 0) {
// если pid не введен, то выдаем сообщение об ошибке
fprintf(stderr, "SmallSH: необходимо ввести pid процесса\n");
} else {
// посылаем процессу сигнал "мягкого" завершения
if (kill(pid, SIGTERM) != 0) {
perror("SmallSH");
}
}
return 1;
}
int smallsh_declare(char **args)
{
// итератор по элементам словаря
std::map<char*, char*>::iterator i;
// если не введены ключ и значение, то выводим список всех переменных
if (args[1] == NULL && args[2] == NULL) {
for (i = Map.begin(); i != Map.end(); i++) {
printf("%s=%s\n", (*i).first, (*i).second);
}
return 1;
// если введен и ключ и значение - добавляем пару в словарь
}else if(args[1] != NULL && args[2] != NULL){
// выделяем память под длину ключа и значения
char *s_key = new char [1+strlen(args[1])];
char *s_val = new char [1+strlen(args[2])];
//копируем элементы из args в выделенную память
strcpy(s_key, args[1]);
strcpy(s_val, args[2]);
//добавляем пару в словарь
Map.insert(pair<char*, char*>(s_key,s_val));
return 1;
// если введе только ключ- выводим сообщение об ошибке
}else{
printf("SmallSH: declare usage error. Type 'help' to get more info\n");
return 1;
}
}
int smallsh_help(char **args)
{
int i;
printf("SmallSH by Oleg Yariga\n");
printf("Type command and press return\n");
printf("Builtin commands list:\n");
for (i = 0; i < smallsh_num_builtins(); i++) {
printf(" %s\n", builtin_str[i]);
}
printf("Commands examples:\n");
printf("> cd ..\n");
printf("> pwd\n");
printf("/home/user/Рабочий стол/SmallSH\n");
printf("> cd cmake-build-debug; pwd; ls -a; exit\n");
printf("/home/user/Рабочий стол/SmallSH/cmake-build-debug\n");
printf(". CMakeCache.txt cmake_install.cmake SmallSH variables\n");
printf(".. CMakeFiles\t Makefile\t\t SmallSH.cbp\n");
printf("> cd .. # You can type comment after #\n");
printf("> mkdir \\#FOLDER\\#; ls; cd /home/user/Рабочий\\ стол; pwd # Or you can shield some symbols\n");
printf("> gnome-calculator # Launch foreign program\n");
printf("> gnome-calculator & # Launch foreign program in background\n");
printf("[PID]18536\n");
printf("> gnome-calculator &; sensible-browser &; ls -la "
"# Launch foreign programs in background and excec ls -la\n");
printf("[PID]15322\n");
printf("[PID]15323\n");
printf("> echo 'You can redirect command output to file' >message.txt \n");
printf("> cat<f\n");
printf("Hub\n");
printf("Middle\n");
printf("Angr\n");
printf("> sort<f\n");
printf("Angr\n");
printf("Middle\n");
printf("Hub\n");
printf("> declare\n");
printf("BASHVERSION=1.3.8\n");
printf("> declare PATH /home/usr/\n");
printf("BASHVERSION=1.3.8\n");
printf("PATH=/home/urs/\n");
printf("> gnome-calculator \n");
printf("^C # Press CTRL+C to interrupt program\n");
printf("> gnome-calculator \n");
printf("^Z # Press CTRL+Z to stop program\n");
printf("> gnome-calculator & \n");
printf("^C # CTRL+C and CTRL+Z do not affect to programs in background mode\n");
printf("\n> clear; \\\n");
printf("echo 'You can type large commands'; \\\n");
printf("ls -la >ls-result.txt; \\\n");
printf("gnome-calculator &; \\\n");
printf("# use '\\' to shield new-line symbol\n");
printf("\nUse man to get information about other commands\n");
return 1;
}
int smallsh_exit(char **args)
{
return 0;
}
| [
"oyariga@gmail.com"
] | oyariga@gmail.com |
70e9ecf8299a924bfe5901158ae72cf87a3526d7 | c9d5a5c3ee696b7cf2cbb6a8d6e1baca38cc4690 | /peridot/public/lib/modular_test_harness/cpp/fake_module.cc | b15a1ba04bf022a1e28e112f116f58d539456373 | [
"BSD-3-Clause"
] | permissive | blockspacer/fuchsia | 1ffffa0b3e7b3c4d9c0d47eab3a941232a5833ea | 1436b974d8189ba41eda75c123e3bb7becb43556 | refs/heads/master | 2020-05-26T20:28:21.781385 | 2019-05-23T10:40:53 | 2019-05-23T10:40:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,381 | cc | // Copyright 2019 The Fuchsia 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 <lib/modular_test_harness/cpp/fake_module.h>
namespace modular {
namespace testing {
FakeModule::FakeModule(
fit::function<void(fuchsia::modular::Intent)> on_intent_handled)
: on_intent_handled_(std::move(on_intent_handled)) {
ZX_ASSERT(on_intent_handled_);
}
FakeModule::~FakeModule() = default;
// |modular::testing::FakeComponent|
void FakeModule::OnCreate(fuchsia::sys::StartupInfo startup_info) {
component_context()->svc()->Connect(module_context_.NewRequest());
module_context_.set_error_handler([this](zx_status_t err) {
if (err != ZX_OK) {
ZX_PANIC("Could not connect to ModuleContext service.");
}
});
component_context()
->outgoing()
->AddPublicService<fuchsia::modular::IntentHandler>(
[this](
fidl::InterfaceRequest<fuchsia::modular::IntentHandler> request) {
bindings_.AddBinding(this, std::move(request));
});
}
std::vector<std::string> FakeModule::GetSandboxServices() {
return {"fuchsia.modular.ModuleContext"};
}
// |IntentHandler|
void FakeModule::HandleIntent(fuchsia::modular::Intent intent) {
on_intent_handled_(std::move(intent));
};
} // namespace testing
} // namespace modular
| [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
e84eee94477b3510291e2d2fa2be6210148f1cdf | dfd2eb796494fdd129800b066f4e624523f45a03 | /src/operatorsP0/utility/psetpixel.cct | 93f1bafcdcd153c8180843c4ed2259b2f14cd748 | [] | no_license | Dr-XX/pandore-bug-injected | 81d099d6a890a2c5be1617df254a96c7a2addcf9 | a3cf01cec67d04581ec20eeaa6bf8cabd016e826 | refs/heads/master | 2022-03-28T21:50:05.001637 | 2020-01-16T08:27:29 | 2020-01-16T08:27:29 | 230,410,981 | 0 | 0 | null | null | null | null | ISO-8859-2 | C++ | false | false | 4,484 | cct | /* -*- c-basic-offset: 3; mode: c++ -*-
*
* Copyright (c), GREYC.
* All rights reserved
*
* You may use this file under the terms of the BSD license as follows:
*
* "Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
* * Neither the name of the GREYC, nor the name 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."
*
*
* For more information, refer to:
* https://clouard.users.greyc.fr/Pandore
*/
/**
* @author Régis Clouard - Aug 01, 2013
*/
#include <pandore.h>
using namespace pandore;
Errc PSetpixel( const Reg2d &ims, Reg2d &imd, Long y, Long x, Ulong value ) {
imd=ims;
imd(y,x) = value;
if (value>imd.Labels()) {
imd.Labels(value);
}
return SUCCESS;
}
Errc PSetpixel( const Reg3d &ims, Reg3d &imd, Long z, Long y, Long x, Ulong value ) {
imd=ims;
imd(z,y,x) = value;
if (value>imd.Labels()) {
imd.Labels(value);
}
return SUCCESS;
}
/**
* @file psetpixel.cpp
* Sets the given value at the specified cordinates.
*/
template <typename T>
Errc PSetpixel( const Imx2d<T> &ims, Imx2d<T> &imd, Long y, Long x, T value ) {
imd=ims;
for (int b=0; b<ims.Bands(); b++) {
imd(b,y,x) = value;
}
return SUCCESS;
}
template <typename T>
Errc PSetpixel( const Imx3d<T> &ims, Imx3d<T> &imd, Long z, Long y, Long x, T value ) {
imd=ims;
for (int b=0; b<ims.Bands(); b++) {
imd(b,z,y,x) = value;
}
return SUCCESS;
}
##begin SETPIXELR2D(TYPE)
## append loadcases
if (objs[0]->Type() == Po_$TYPE) {
TYPE* const ims=(TYPE*)objs[0];
objd[0]=new TYPE(ims->Props());
TYPE* const imd=(TYPE*)objd[0];
result=PSetpixel(*ims,*imd,(Long)atoi(parv[1]), (Long)atoi(parv[0]), (TYPE::ValueType)atof(parv[3]));
goto end;
}
## end
##end
##begin SETPIXELR3D(TYPE)
## append loadcases
if (objs[0]->Type() == Po_$TYPE) {
TYPE* const ims=(TYPE*)objs[0];
objd[0]=new TYPE(ims->Props());
TYPE* const imd=(TYPE*)objd[0];
result=PSetpixel(*ims,*imd,(Long)atoi(parv[2]),(Long)atoi(parv[1]), (Long)atoi(parv[0]), (TYPE::ValueType)atof(parv[0]));
goto end;
}
## end
##end
##begin SETPIXEL2D(TYPE)
## append loadcases
if (objs[0]->Type() == Po_$TYPE) {
TYPE* const ims=(TYPE*)objs[0];
objd[0]=new TYPE(ims->Props());
TYPE* const imd=(TYPE*)objd[0];
result=PSetpixel(*ims,*imd,(Long)atoi(parv[1]), (Long)atoi(parv[0]), (TYPE::ValueType)atof(parv[3]));
goto end;
}
## end
##end
##begin SETPIXEL3D(TYPE)
## append loadcases
if (objs[0]->Type() == Po_$TYPE) {
TYPE* const ims=(TYPE*)objs[0];
objd[0]=new TYPE(ims->Props());
TYPE* const imd=(TYPE*)objd[0];
result=PSetpixel(*ims,*imd,(Long)atoi(parv[2]),(Long)atoi(parv[1]), (Long)atoi(parv[0]), (TYPE::ValueType)atof(parv[0]));
goto end;
}
## end
##end
##forall(SETPIXEL2D,/Im.2/)
##forall(SETPIXEL3D,/Im.3/)
##forall(SETPIXELR2D,/Reg2d/)
##forall(SETPIXELR3D,/Red3d/)
#ifdef MAIN
#define USAGE "usage: %s x y z value [im_in|-] [im_out|-]"
#define PARC 4
#define FINC 1
#define FOUTC 1
#define MASK 0
##main(PARC,FINC,FOUTC,MASK,USAGE)
#endif
| [
"jordan0801@163.com"
] | jordan0801@163.com |
0f564c08674e467d8cdb973373d3fb1538609cf3 | 7d5538864d38167b2cb66764b4ea5c85bee0c918 | /atcoder/abc/231/a.cpp | e4bcebda3475585b946e35ee98c3294deda54391 | [] | no_license | iPolyomino/contest | ec63acef925bf4a9b562aab46fc247d0fe7a71b9 | 96bea95174cc320f0620da322a25668ac5c500cd | refs/heads/master | 2023-07-09T01:19:33.026494 | 2023-06-24T01:06:13 | 2023-06-24T01:06:13 | 163,596,349 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 125 | cpp | #include <bits/stdc++.h>
using namespace std;
int main()
{
double D;
cin >> D;
cout << D / 100.0 << endl;
return 0;
}
| [
"macbookpromacbookpromacbookpro@gmail.com"
] | macbookpromacbookpromacbookpro@gmail.com |
3eb70e060fd5d5a6bc0bac1be1795dadec1a9bac | b79b4b17b3b65c5ee27ceb07d56e85a7b269dd10 | /cpp/nwd.cpp | 4b793ef123d92bf50b5e2b4acdaf16c9a3d6b812 | [] | no_license | kam0309/gitrepo | e9881d868a1fd63403220c7656b295d5fbe1c25b | e17ee11de2238a9d4b75fc33ad8bda4deb37296c | refs/heads/master | 2021-09-22T11:51:18.723167 | 2018-09-10T07:39:47 | 2018-09-10T07:39:47 | 103,923,158 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 588 | cpp | /*
* nwd.cpp
*/
#include <iostream>
using namespace std;
int nwd_1(int a,int b)
{
//int a,b;
while (a != b)
if (a > b)
a = a - b;
else
b = b - a;
return a;
}
int nwd_2(int a, int b)
{
while (a > 0)
a = a % b;
b = b - a;
return b;
}
int main(int argc, char **argv)
{
int a , b;
cout << "Podaj pierwsza liczbe" << endl;
cin >> a ;
cout << "Podaj druga liczbe" << endl;
cin >> b;
cout <<"Najwiekszy wspolny dzielnik: " << nwd_2(a,b) << endl;
return 0;
}
| [
"kamil.warzycki@o2.pl"
] | kamil.warzycki@o2.pl |
ff4e695beb10ddf2de82f3a6544d3ee0568a067f | a3634de7800ae5fe8e68532d7c3a7570b9c61c5b | /euler/citizens.cpp | 321bdbc60a56ea96a6b2f790ad67252f434c38b0 | [] | no_license | MayankChaturvedi/competitive-coding | a737a2a36b8aa7aea1193f2db4b32b081f78e2ba | 9e9bd21de669c7b7bd29a262b29965ecc80ad621 | refs/heads/master | 2020-03-18T01:39:29.447631 | 2018-02-19T15:04:32 | 2018-02-19T15:04:32 | 134,152,930 | 0 | 1 | null | 2018-05-20T13:27:35 | 2018-05-20T13:27:34 | null | UTF-8 | C++ | false | false | 874 | cpp | #include <iostream>
using namespace std;
const int MAX = 100000000;
int phi[MAX];
int main()
{
for(int i=1; i<MAX; i++)
phi[i]=i;
for(int i=2; i<MAX; i++)
{ if(phi[i]==i)
{ // This condition guarantees that i is prime since it was not modified by any number <i.
for(int j=i; j<MAX; j+=i)
phi[j]-=(phi[j]/i); // In this step we multiply (1-1/i) to each multiple of i, since it would be a prime factor in factorisation of all its multiples.
}
}
long long mx=0, count=0;
long long sum=0, n=0;
for(int i=1; i<MAX; i++)
{
if(mx < phi[i])
{
count++;
mx = phi[i];
n=i;
//if(count<10)
// cout << i<< ' '<< phi[i]<<endl;
//if(count == 100000)
// cout << "ans: "<<i<<endl;
}
}
cout << count << ' ' << n <<endl;
}
| [
"f20160006@goa.bits-pilani.ac.in"
] | f20160006@goa.bits-pilani.ac.in |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.