blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2 values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 986 values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23 values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 145 values | src_encoding stringclasses 34 values | language stringclasses 1 value | is_vendor bool 1 class | is_generated bool 2 classes | length_bytes int64 3 10.4M | extension stringclasses 122 values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
548166171dcdc97648833256cb20b09f9db15974 | 369f98c89bc5371d8457231b2c1e2caafc14c4e6 | /Project1/code/Others/random_generator.cpp | 6b15e63e6b93d1a18b5c98f6152331dd8e368457 | [] | no_license | Matteo294/FYS4411 | 48ea554a413e959aefd04d9d24329a76cee1d710 | fce60f69e7470462973909e26250501928e4dccf | refs/heads/main | 2023-05-05T23:58:38.651822 | 2021-06-01T18:50:25 | 2021-06-01T18:50:25 | 330,168,654 | 1 | 0 | null | 2021-04-30T08:23:16 | 2021-01-16T13:27:40 | TeX | UTF-8 | C++ | false | false | 238 | cpp | #include "random_generator.h"
RandomGenerator::RandomGenerator(){
uniform_real_distribution<double> uniform(0.0, 1.0);
normal_distribution<double> normal(0.0, 1.0);
this->uniform = uniform;
this->normal = normal;
} | [
"emistaff97@gmail.com"
] | emistaff97@gmail.com |
f395910f470dccbe59d4c5b57a01966a13517b12 | fe5bce6f5496c3ca66c1742fe53366cc3b2cd7fe | /compiler-rt/test/tsan/memcpy_race.cc | 9b0da927844732d31233bebc348bcf8683ad3d26 | [
"LicenseRef-scancode-generic-cla",
"Apache-2.0",
"NCSA",
"MIT"
] | permissive | lgq2015/SiriusObfuscator-SymbolExtractorAndRenamer | f3ce7d235343df4ec84eae26f6cc7b641aca02b6 | bb45190d8dd92b795bfa0307da5e593eb4733d9a | refs/heads/master | 2022-01-09T02:41:08.991909 | 2018-08-08T13:52:49 | 2018-08-08T13:52:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,100 | cc | // RUN: %clangxx_tsan -O1 %s -o %t && %deflake %run %t | FileCheck %s
#include "test.h"
#include <string.h>
char *data = new char[10];
char *data1 = new char[10];
char *data2 = new char[10];
void *Thread1(void *x) {
static volatile int size = 1;
memcpy(data+5, data1, size);
barrier_wait(&barrier);
return NULL;
}
void *Thread2(void *x) {
static volatile int size = 4;
barrier_wait(&barrier);
memcpy(data+3, data2, size);
return NULL;
}
int main() {
barrier_init(&barrier, 2);
print_address("addr=", 1, &data[5]);
pthread_t t[2];
pthread_create(&t[0], NULL, Thread1, NULL);
pthread_create(&t[1], NULL, Thread2, NULL);
pthread_join(t[0], NULL);
pthread_join(t[1], NULL);
return 0;
}
// CHECK: addr=[[ADDR:0x[0-9,a-f]+]]
// CHECK: WARNING: ThreadSanitizer: data race
// CHECK: Write of size 1 at [[ADDR]] by thread T2:
// CHECK: #0 {{(memcpy|memmove)}}
// CHECK: * #1 Thread2
// CHECK: Previous write of size 1 at [[ADDR]] by thread T1:
// CHECK: #0 {{(memcpy|memmove)}}
// CHECK: * #1 Thread1
// CHECK: Issue is caused by frames marked with "*".
| [
"krzysztof.siejkowski@polidea.com"
] | krzysztof.siejkowski@polidea.com |
e00377aaec83480a1cc69d75f7b323e419a6372f | 86c3943477a33fc97d9ed064673045c81600b8f0 | /CppLab/util/test/evaluation_TEST.cpp | 79d85543de8c929d671180af73cda121a95f3cca | [] | no_license | LHospitalLKY/Flow_Lab | c0a1ea52db83d74aafd2750e5c89f17b6ffc47e2 | 8e2e33fbafc7889067f3ebf7b062a0dd70c5bcbd | refs/heads/master | 2021-02-27T06:39:05.963359 | 2020-03-20T09:19:24 | 2020-03-20T09:19:24 | 245,588,727 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 895 | cpp | //
// Author: LHO LHospitalLKY@github.com
//
#include "../read_write.h"
#include "../evaluation.h"
#include "../show_flow.h"
int main(int argc, char *argv[]) {
cv::Mat estim_flow, gt_flow, estim_color, gt_color;
read(
"/home/lho/SLAM/FlowNet/Flow_lab/CppLab/DataSet/test_result/ambush_2_0001.flo",
estim_flow
);
read(
"/media/lho/064A027D79FA99C7/slam数据集/光流数据集/MPI-Sintel-complete/training/flow/ambush_2/frame_0001.flo",
gt_flow
);
motionToColor(estim_flow, estim_color);
motionToColor(gt_flow, gt_color);
cv::Mat EPE_Mat(estim_flow.rows, estim_flow.cols, CV_32FC1);
double epe_err = endPointError(estim_flow, gt_flow, EPE_Mat);
cv::imshow("estimate", estim_color);
cv::imshow("gt", gt_color);
cv::imshow("epe error", EPE_Mat);
cv::waitKey(0);
std::cout << epe_err << std::endl;
} | [
"lkywxd@qq.com"
] | lkywxd@qq.com |
fd21d2800fffcf207f6bafd0265603c0264e8f93 | e128763166ea4341485fefe8c568523f4ddbbe1f | /src/network/SocketListener.h | c232e1315ee1a705ebfa6c7e9f360930fe1097a0 | [] | no_license | jprochazk/rpg-game-server | cfbe3239d05f7aba709c598f710c98d5da389e25 | bffa1e599c7b0c87861dc5470f64e2c1f12e060f | refs/heads/master | 2021-05-26T09:08:50.271937 | 2020-04-22T09:26:25 | 2020-04-22T09:26:25 | 254,070,782 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 847 | h |
#pragma once
#ifndef SERVER_NETWORK_SOCKET_LISTENER_H
#define SERVER_NETWORK_SOCKET_LISTENER_H
#include "pch.h"
#include "network/net.h"
#include "network/Websocket.h"
// Accepts incoming connections and launches the sessions
class SocketListener : public std::enable_shared_from_this<SocketListener>
{
public: // public interface
SocketListener(
net::io_context& ioc,
tcp::endpoint endpoint,
SocketManager* socket_manager);
~SocketListener();
void Run();
private: // internal
void Fail(beast::error_code ec, char const* what);
void OnAccept(beast::error_code ec, tcp::socket socket);
private: // members
net::io_context& ioc_;
tcp::acceptor acceptor_;
SocketManager* socketManager_;
}; // class SocketListener
#endif // SERVER_NETWORK_SOCKET_LISTENER_H
| [
"honza.spacir@gmail.com"
] | honza.spacir@gmail.com |
d347753e8feb26fb132cda451f7fa2cf28a4f6a5 | 231861f0982a1830f46e79f651723ad7dcd4c358 | /code/cf/contest/1324/d/d.cpp | 52e944a1065b4653c099fc8c9d33a442b8d7dfa3 | [] | no_license | coder-tq/acm | 722b754013af3e1a4dae9e88cd126f60c9cadf20 | 60bed68c7d69b68addcaac9debc7582d34ded964 | refs/heads/master | 2022-12-24T15:00:11.876161 | 2020-10-05T02:01:24 | 2020-10-05T02:01:24 | 281,282,471 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,039 | cpp | /*
* Author: coder_tq
* Time: 2020-03-12 21:05:02
*/
#include <bits/stdc++.h>
#define endl "\n"
using namespace std;
typedef long long ll;
const ll mod = 1e9+7;
ll q_pow(ll a, ll b)
{
ll ans = 1;
while(b) {
if(b&1)
ans = (ans*a)%mod;
a = (a*a)%mod;
b >>= 1;
}
return ans;
}
int n;
ll a[200010],b[200010];
ll dif[200010];
void input()
{
cin >> n;
for(int i = 0; i < n; i++)
{
cin >> a[i];
}
for(int i = 0; i < n; i++)
{
cin >> b[i];
}
}
void solve()
{
for(int i = 0; i < n; i++)
{
dif[i] = a[i]-b[i];
}
sort(dif,dif+n);
//for(int i = 0; i < n; i++) cout << dif[i] << ' ';cout << endl;
ll sum = 0;
for(int i = 0; i < n; i++)
{
if(dif[i] <= 0)
{
//cout << n-(lower_bound(dif,dif+n,-dif[i]+1)-dif)-1 << endl;
sum += n-(lower_bound(dif,dif+n,-dif[i]+1)-dif);
}
if(dif[i] > 0) sum+=n-i-1;
}
cout << sum << endl;
}
int main()
{
ios::sync_with_stdio(false);
cin.tie(0);
int t = 1;
//cin >> t;
while(t--)
{
input();
solve();
}
return 0;
}
| [
"58659074+coder-tq@users.noreply.github.com"
] | 58659074+coder-tq@users.noreply.github.com |
386910a96eb50a3712732acadb34b8762dd0a6f2 | 2496a1ae2ac0d0ace6a70ce8d2ada38a63a33401 | /tensorflow/compiler/mlir/tfrt/benchmarks/cwise_op_unary_benchmark.h | fc743787d3f079c5166fcc41c18d5ded1f1afd58 | [
"LicenseRef-scancode-generic-cla",
"Apache-2.0",
"BSD-2-Clause"
] | permissive | plaidml/tensorflow | d78ba08f8fac6455b467e9001f17ad975d7580a2 | 607ae43f43426421642f26a6abaf350a20b5ffbe | refs/heads/master | 2022-09-20T22:33:39.225897 | 2022-08-11T13:31:22 | 2022-08-11T13:35:05 | 215,591,809 | 1 | 1 | Apache-2.0 | 2022-04-22T18:49:14 | 2019-10-16T16:15:50 | C++ | UTF-8 | C++ | false | false | 13,673 | h | /* Copyright 2021 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
==============================================================================*/
#ifndef TENSORFLOW_COMPILER_MLIR_TFRT_BENCHMARKS_CWISE_UNARY_BENCHMARK_H_
#define TENSORFLOW_COMPILER_MLIR_TFRT_BENCHMARKS_CWISE_UNARY_BENCHMARK_H_
#include <utility>
#include "tensorflow/compiler/mlir/tfrt/benchmarks/benchmark.h"
#include "tensorflow/compiler/mlir/tfrt/utils/host_context.h"
#include "tensorflow/core/platform/test.h"
namespace tensorflow {
// This header is a part of the library with private visibility and will be
// used only to build benchmarks for different functions in this folder, so
// it is ok to put convenience using-declarations here.
using ::tfrt::AsyncValue;
using ::tfrt::AsyncValuePtr;
using ::tfrt::HostContext;
using ::tfrt::RCReference;
using ::tfrt::RemainingResults;
using ::tfrt::RequestContext;
using ::tfrt::RequestContextBuilder;
using ::tfrt::jitrt::Executable;
using ::tfrt::jitrt::HostContextAsyncTaskRunner;
using ::tfrt::jitrt::JitExecutable;
using ::tfrt::jitrt::MemrefDesc;
using ::tfrt::jitrt::RemainingResultsConverter;
// -------------------------------------------------------------------------- //
// Run benchmark by compiling MLIR function using TFRT JitRt API.
// -------------------------------------------------------------------------- //
template <typename T, int rank>
struct MlirBenchmark {
std::unique_ptr<HostContext> host;
const Executable* executable;
tfrt::ExecutionContext exec_ctx;
std::unique_ptr<ResultConversionCtx> conversion_ctx;
RemainingResultsConverter<ResultConversionCtx> converter;
};
template <typename T, int rank>
MlirBenchmark<T, rank> PrepareUnaryMlirBenchmark(
llvm::StringRef mlir_input, llvm::StringRef function_name,
std::array<MemrefDesc, 1>& operands, size_t num_threads,
bool lower_from_tensorflow, bool vectorize) {
static_assert(rank >= 1 && rank <= 4, "We do only support ranks 1 to 4");
std::unique_ptr<HostContext> host =
num_threads > 0 ? CreateMultiThreadedHostContext(num_threads)
: CreateSingleThreadedHostContext();
TfJitRtPipelineOptions tf_jitrt_opts;
tf_jitrt_opts.vectorize = vectorize;
JitExecutable& jit_executable = CreateJitExecutable(
*host, mlir_input, function_name, lower_from_tensorflow, tf_jitrt_opts);
// Build an ExecutionContext from the HostContext.
llvm::Expected<RCReference<RequestContext>> req_ctx =
RequestContextBuilder(host.get(), /*resource_context=*/nullptr).build();
tfrt::ExecutionContext exec_ctx(std::move(*req_ctx));
auto result_values = std::array<RCReference<AsyncValue>, 1>{{}};
RemainingResults results(result_values);
// Record data ptrs of inputs.
llvm::SmallVector<void*> input_ptrs;
for (auto& operand : operands) {
input_ptrs.push_back(operand.data());
}
// Free memory owned by the returned memrefs.
auto ctx = std::make_unique<ResultConversionCtx>(std::move(input_ptrs));
RemainingResultsConverter<ResultConversionCtx> converter(results, *ctx);
converter.AddConversion(FreeReturnedMemref);
// Get an executable that might be specialized to the operands.
llvm::Expected<AsyncValuePtr<Executable>> executable =
jit_executable.GetExecutable(operands);
if (auto err = executable.takeError())
LOG(FATAL) << "Failed to specialize executable";
// Wait for the compilation completion.
host->Await({executable->CopyRef()});
CHECK(!executable->IsError())
<< "Failed to get executable: " << StrCat(executable->GetError());
CHECK(!(*executable)->IsAsync()) << "async results are not supported";
return {std::move(host), &executable->get(), exec_ctx, std::move(ctx),
std::move(converter)};
}
template <typename T, int rank>
void TestUnaryMlirBenchmark(llvm::StringRef mlir_input,
llvm::StringRef function_name, T scale, T offset,
size_t num_threads, bool lower_from_tensorflow,
bool vectorize) {
std::array<ssize_t, rank> input_dims;
for (int d = 0; d < rank; ++d)
input_dims[d] = 10; // The value here does not matter.
// Generate random input data.
Eigen::Tensor<T, rank, Eigen::RowMajor> input =
GenRandomTensor<T, rank>(input_dims, scale, offset);
std::array<MemrefDesc, 1> operands = {TensorToMemrefDesc(input)};
MlirBenchmark<T, rank> b = PrepareUnaryMlirBenchmark<T, rank>(
mlir_input, function_name, operands, num_threads, lower_from_tensorflow,
vectorize);
// Initialize call frame with MemrefDesc operands.
Executable::CallFrame call_frame;
if (auto err = b.executable->InitializeCallFrame(operands, &call_frame))
LOG(FATAL) << "Failed to initialize call frame";
// Execute async tasks in the HostContext work queue.
Executable::ExecuteOpts opts;
HostContextAsyncTaskRunner async_task_runner(b.exec_ctx.host());
opts.async_task_runner = &async_task_runner;
// Execute once.
b.executable->Execute(call_frame, opts);
if (auto err = b.executable->ReturnResults(b.converter, &call_frame))
LOG(FATAL) << "Failed to return compiled kernel results";
}
template <typename T, int rank>
void RunUnaryMlirBenchmark(::testing::benchmark::State& state,
llvm::StringRef mlir_input,
llvm::StringRef function_name, T scale, T offset,
size_t num_threads, bool lower_from_tensorflow,
bool vectorize) {
std::array<ssize_t, rank> input_dims;
for (int d = 0; d < rank; ++d) input_dims[d] = state.range(d);
// Generate random input data.
Eigen::Tensor<T, rank, Eigen::RowMajor> input =
GenRandomTensor<T, rank>(input_dims, scale, offset);
std::array<MemrefDesc, 1> operands = {TensorToMemrefDesc(input)};
MlirBenchmark<T, rank> b = PrepareUnaryMlirBenchmark<T, rank>(
mlir_input, function_name, operands, num_threads, lower_from_tensorflow,
vectorize);
// Initialize call frame with MemrefDesc operands.
Executable::CallFrame call_frame;
if (auto err = b.executable->InitializeCallFrame(operands, &call_frame))
LOG(FATAL) << "Failed to initialize call frame";
// Execute async tasks in the HostContext work queue.
Executable::ExecuteOpts opts;
HostContextAsyncTaskRunner async_task_runner(b.exec_ctx.host());
opts.async_task_runner = &async_task_runner;
for (auto _ : state) {
call_frame.args[0] = nullptr; // reset kernel context argument
b.executable->Execute(call_frame, opts);
if (auto err = b.executable->ReturnResults(b.converter, &call_frame))
LOG(FATAL) << "Failed to return compiled kernel results";
}
state.SetItemsProcessed(state.iterations() * input.size());
}
// -------------------------------------------------------------------------- //
// Run benchmark using Eigen expression evaluation.
// -------------------------------------------------------------------------- //
template <typename T, int rank, bool vectorize, typename ExprBuilder>
void RunUnaryEigenBenchmark(::testing::benchmark::State& state,
ExprBuilder expr_builder, T scale, T offset,
size_t num_threads) {
static_assert(rank >= 1 && rank <= 4, "We do only support ranks 1 to 4");
std::array<ssize_t, rank> input_dims;
for (int d = 0; d < rank; ++d) input_dims[d] = state.range(d);
Eigen::Tensor<T, rank, Eigen::RowMajor> input =
GenRandomTensor<T, rank>(input_dims, scale, offset);
Eigen::DefaultDevice singleThreadedDevice;
Eigen::ThreadPool thread_pool(num_threads);
llvm::Optional<Eigen::ThreadPoolDevice> multiThreadedDevice;
if (num_threads > 0) multiThreadedDevice.emplace(&thread_pool, num_threads);
Eigen::DSizes<ssize_t, rank> dsizes;
for (int d = 0; d < rank; ++d) dsizes[d] = input_dims[d];
Eigen::Tensor<T, rank, Eigen::RowMajor> dst(dsizes);
dst.setZero();
for (auto _ : state) {
auto expr = expr_builder(input);
using Dst = decltype(dst);
using Expr = decltype(expr);
if (multiThreadedDevice.has_value()) {
ExecuteAssignOp</*vectorize=*/true, Eigen::ThreadPoolDevice, Dst,
Expr>::run(*multiThreadedDevice, dst, expr);
} else {
ExecuteAssignOp</*vectorize=*/true, Eigen::DefaultDevice, Dst, Expr>::run(
singleThreadedDevice, dst, expr);
}
}
state.SetItemsProcessed(state.iterations() * input.size());
}
} // namespace tensorflow
// -------------------------------------------------------------------------- //
// Macros to dispatch to different benchmark based on rank, shape and data type.
//
// Input data is generated with: scale * (Eigen::random<T>() + offset).
// For MLIR benchmarks, we also generate a unit test to detect regressions.
// -------------------------------------------------------------------------- //
#define BM_TFMlir(NAME, MLIR_INPUT, FN, RANK, TYPE, SCALE, OFFSET, \
NUM_THREADS) \
TEST(Test_mlir_##NAME##_##TYPE##_##NUM_THREADS, RunOnce) { \
TestUnaryMlirBenchmark<TYPE, RANK>( \
MLIR_INPUT, FN, SCALE, OFFSET, NUM_THREADS, \
/*lower_from_tensorflow=*/true, /*vectorize=*/false); \
} \
static void BM_mlir_##NAME##_##TYPE##_##NUM_THREADS( \
::testing::benchmark::State& state) { \
RunUnaryMlirBenchmark<TYPE, RANK>( \
state, MLIR_INPUT, FN, SCALE, OFFSET, NUM_THREADS, \
/*lower_from_tensorflow=*/true, /*vectorize=*/false); \
} \
BENCHMARK(BM_mlir_##NAME##_##TYPE##_##NUM_THREADS)->MeasureProcessCPUTime()
#define BM_TFMlirVectorized(NAME, MLIR_INPUT, FN, RANK, TYPE, SCALE, OFFSET, \
NUM_THREADS) \
TEST(Test_mlir_v_##NAME##_##TYPE##_##NUM_THREADS, RunOnce) { \
TestUnaryMlirBenchmark<TYPE, RANK>( \
MLIR_INPUT, FN, SCALE, OFFSET, NUM_THREADS, \
/*lower_from_tensorflow=*/true, /*vectorize=*/true); \
} \
static void BM_mlir_v_##NAME##_##TYPE##_##NUM_THREADS( \
::testing::benchmark::State& state) { \
RunUnaryMlirBenchmark<TYPE, RANK>( \
state, MLIR_INPUT, FN, SCALE, OFFSET, NUM_THREADS, \
/*lower_from_tensorflow=*/true, /*vectorize=*/true); \
} \
BENCHMARK(BM_mlir_v_##NAME##_##TYPE##_##NUM_THREADS)->MeasureProcessCPUTime()
#define BM_Mlir(NAME, MLIR_INPUT, FN, RANK, TYPE, SCALE, OFFSET, NUM_THREADS) \
TEST(Test_mlir_##NAME##_##TYPE##_##NUM_THREADS, RunOnce) { \
TestUnaryMlirBenchmark<TYPE, RANK>( \
MLIR_INPUT, FN, SCALE, OFFSET, NUM_THREADS, \
/*lower_from_tensorflow=*/false, /*vectorize=*/false); \
} \
static void BM_mlir_##NAME##_##TYPE##_##NUM_THREADS( \
::testing::benchmark::State& state) { \
RunUnaryMlirBenchmark<TYPE, RANK>( \
state, MLIR_INPUT, FN, SCALE, OFFSET, NUM_THREADS, \
/*lower_from_tensorflow=*/false, /*vectorize=*/false); \
} \
BENCHMARK(BM_mlir_##NAME##_##TYPE##_##NUM_THREADS)->MeasureProcessCPUTime()
#define BM_EigenScalar(NAME, FN, RANK, TYPE, SCALE, OFFSET, NUM_THREADS) \
static void BM_eigen_s_##NAME##_##TYPE##_##NUM_THREADS( \
::testing::benchmark::State& state) { \
RunUnaryEigenBenchmark<TYPE, RANK, false>(state, FN, SCALE, OFFSET, \
NUM_THREADS); \
} \
BENCHMARK(BM_eigen_s_##NAME##_##TYPE##_##NUM_THREADS)->MeasureProcessCPUTime()
#define BM_EigenVectorized(NAME, FN, RANK, TYPE, SCALE, OFFSET, NUM_THREADS) \
static void BM_eigen_v_##NAME##_##TYPE##_##NUM_THREADS( \
::testing::benchmark::State& state) { \
RunUnaryEigenBenchmark<TYPE, RANK, true>(state, FN, SCALE, OFFSET, \
NUM_THREADS); \
} \
BENCHMARK(BM_eigen_v_##NAME##_##TYPE##_##NUM_THREADS)->MeasureProcessCPUTime()
#endif // TENSORFLOW_COMPILER_MLIR_TFRT_BENCHMARKS_CWISE_UNARY_BENCHMARK_H_
| [
"gardener@tensorflow.org"
] | gardener@tensorflow.org |
187e70e82a8b0438dd74c6bf613325af61bc4d95 | 1e0e391b27703e93723ca43a69c882a2f15e385d | /TwoPhasePorousMedia/Use Cases/CasesDiss/UFPE2D/40150/phi_w | 4220abf6e190962b1a9af0a91286b1392b879751 | [] | no_license | curiousTauseef/openFOAM | b95411a1dbe323cb5fa258a3b67342f321524fa8 | 04801f91044670787df35a85b22a4fb815f7617f | refs/heads/master | 2022-11-25T10:43:03.128319 | 2020-08-01T02:08:10 | 2020-08-01T02:08:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 251,071 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.1.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class surfaceScalarField;
location "40150";
object phi_w;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [1 -2 -2 0 0 0 0];
internalField nonuniform List<scalar>
29750
(
18.5918
18.6184
11.225
7.36685
7.75626
3.46882
5.85932
1.90034
4.71034
1.17207
3.98116
0.793711
3.5063
0.580091
3.18409
0.449135
2.95395
0.361667
2.78248
0.298782
2.65129
0.251016
2.54977
0.213273
2.47128
0.182586
2.41135
0.157103
2.36679
0.135607
2.33518
0.117267
2.31459
0.101497
2.30344
0.0878762
2.30036
0.0760965
2.30415
0.0659268
2.31375
0.057189
2.32815
0.0497416
2.34646
0.0434673
2.36784
0.0382626
2.3915
0.0340323
2.41675
0.0306848
2.44295
0.0281285
2.46954
0.0262734
2.49604
0.0250327
2.52202
0.024325
2.54713
0.0240777
2.57109
0.0242287
2.59364
0.024726
2.61457
0.0255256
2.63367
0.0265875
2.65079
0.0278746
2.66577
0.0293476
2.67852
0.0309637
2.68898
0.0326739
2.69714
0.034424
2.70305
0.0361549
2.70681
0.0378044
2.70858
0.0393097
2.70861
0.0406087
2.70716
0.0416441
2.70456
0.0423652
2.7012
0.0427297
2.69748
0.0427071
2.69382
0.0422778
2.69065
0.0414352
2.68837
0.0401861
2.6874
0.0385512
2.68809
0.0365656
2.69076
0.0342772
2.69565
0.0317453
2.70297
0.0290375
2.71282
0.0262263
2.72525
0.0233864
2.74021
0.0205916
2.75759
0.0179136
2.77723
0.0154191
2.79889
0.0131665
2.82229
0.0112023
2.84712
0.00955897
2.87306
0.00825302
2.89977
0.00728433
2.92693
0.00663884
2.95426
0.00628929
2.9815
0.00619793
3.00845
0.00632125
3.03494
0.00661459
3.06085
0.0070349
3.08609
0.00754267
3.11063
0.00810389
3.13445
0.00868917
3.15754
0.00927212
3.17995
0.00982778
3.20173
0.0103312
3.22296
0.0107551
3.24378
0.0110687
3.26432
0.0112399
3.28476
0.0112361
3.30533
0.0110224
3.32627
0.010563
3.34785
0.00982638
3.37039
0.00878767
3.39423
0.00742687
3.4197
0.00572495
3.44719
0.0036657
3.47705
0.00123269
3.50971
-0.00159161
3.54556
-0.00482677
3.58505
-0.0084967
3.62866
-0.0126336
3.67691
-0.0172808
3.73036
-0.0224922
3.78966
-0.028335
3.85551
-0.0348902
3.92875
-0.0422569
4.0103
-0.0505535
4.10125
-0.0599214
4.20284
-0.0705231
4.3165
-0.082546
4.44386
-0.0962006
4.58681
-0.111723
4.74747
-0.129369
4.92821
-0.149392
5.13167
-0.172032
5.36065
-0.197476
5.61805
-0.225805
5.90666
-0.25692
6.22887
-0.290431
6.5863
-0.325536
6.97919
-0.360901
7.40591
-0.394609
7.86245
-0.424315
8.34256
-0.44776
8.83885
-0.463813
9.34537
-0.47391
9.86141
-0.483287
10.3952
-0.500826
10.9651
-0.536899
11.5991
-0.600686
12.3301
-0.697442
13.1889
-0.824779
14.1902
-0.966756
15.3118
-1.08626
16.4699
-1.12186
17.5143
-1.00744
18.292
-0.740773
18.7816
-0.453124
19.017
-0.199499
19.0313
0.021215
18.8381
0.228721
18.4415
0.432195
17.8712
0.605983
17.2087
0.698183
16.4841
0.760429
15.6661
0.854
14.6983
1.00384
13.5424
1.19204
12.2061
1.37254
10.7278
1.51474
9.16448
1.59987
7.57221
1.62905
5.99165
1.61762
4.44421
1.58486
2.93484
1.54733
1.4571
1.51669
1.49987
7.34025
11.2782
7.32696
7.38014
6.18779
4.60859
5.13105
2.96543
4.33198
2.00823
3.76754
1.43955
3.37535
1.08869
3.09662
0.859428
2.89107
0.699658
2.73471
0.581786
2.61355
0.490843
2.51909
0.418261
2.44579
0.358834
2.38985
0.309225
2.34845
0.267204
2.31941
0.231231
2.30097
0.200217
2.29166
0.173374
2.29019
0.15012
2.29541
0.13002
2.3063
0.112737
2.32188
0.0980038
2.34126
0.0855961
2.36361
0.0753156
2.38815
0.0669768
2.41419
0.0603973
2.4411
0.0553957
2.4683
0.0517913
2.49533
0.0494087
2.52177
0.0480837
2.54728
0.0476698
2.57159
0.0480425
2.59444
0.0490981
2.61563
0.050751
2.63496
0.0529245
2.65226
0.0555469
2.66739
0.0585432
2.68023
0.0618291
2.69073
0.0653082
2.69887
0.0688705
2.7047
0.072397
2.70831
0.0757606
2.70988
0.0788322
2.70964
0.0814873
2.70788
0.083609
2.70493
0.0850944
2.70118
0.0858575
2.69705
0.0858337
2.69298
0.0849819
2.6894
0.0832878
2.68674
0.0807655
2.68542
0.0774588
2.6858
0.0734392
2.68822
0.0688049
2.69294
0.0636761
2.70016
0.0581891
2.70998
0.0524912
2.72245
0.0467342
2.73753
0.041071
2.7551
0.0356496
2.77498
0.0306061
2.79692
0.0260588
2.82065
0.0221027
2.84582
0.0188023
2.87209
0.0161916
2.89912
0.0142713
2.92658
0.01301
2.95417
0.0123491
2.98163
0.0122101
3.00874
0.0125028
3.03536
0.0131339
3.06136
0.0140145
3.08666
0.0150651
3.11122
0.0162172
3.13503
0.0174143
3.15809
0.0186069
3.18045
0.0197471
3.20215
0.020785
3.22328
0.0216662
3.24395
0.0223309
3.26431
0.0227127
3.28455
0.0227412
3.30487
0.0223448
3.32553
0.0214554
3.34681
0.0200123
3.36903
0.0179633
3.39252
0.0152664
3.41764
0.0118847
3.44475
0.00778515
3.47423
0.00293786
3.50647
-0.00268705
3.54189
-0.00912579
3.58091
-0.0164276
3.62402
-0.024657
3.6717
-0.0338968
3.72452
-0.0442512
3.7831
-0.0558519
3.84815
-0.0688593
3.92045
-0.08347
4.00094
-0.0999181
4.09065
-0.118482
4.19082
-0.139486
4.30284
-0.163306
4.42834
-0.19037
4.56917
-0.221155
4.72744
-0.256176
4.90557
-0.295967
5.10623
-0.341038
5.33232
-0.391816
5.58694
-0.448544
5.87315
-0.511126
6.19377
-0.57891
6.55093
-0.650411
6.94549
-0.722998
7.37621
-0.792687
7.839
-0.854265
8.32651
-0.902184
8.82875
-0.932719
9.33599
-0.94751
9.84387
-0.957191
10.3591
-0.98167
10.9013
-1.04434
11.5024
-1.16625
12.2028
-1.36153
13.0469
-1.63115
14.0707
-1.95057
15.2762
-2.24831
16.5843
-2.38187
17.781
-2.15272
18.5796
-1.49063
19.0352
-0.863478
19.2378
-0.359928
19.2388
0.0600842
19.0415
0.466454
18.6153
0.899512
17.9634
1.29927
17.271
1.43204
16.5777
1.49514
15.8159
1.65723
14.8865
1.97472
13.7229
2.39699
12.3483
2.78824
10.8129
3.0909
9.19366
3.25941
7.56078
3.30175
5.95888
3.25895
4.40668
3.17621
2.90421
3.08892
1.44028
3.02022
2.98311
3.4422
7.83608
4.55541
6.26749
4.54463
4.62417
4.17384
3.35981
3.76331
2.48106
3.41668
1.88924
3.14609
1.48672
2.93685
1.20327
2.7732
0.995025
2.64377
0.835848
2.54097
0.710083
2.45966
0.608035
2.39619
0.523469
2.34783
0.452227
2.31248
0.391453
2.28839
0.339135
2.27413
0.293826
2.2684
0.254472
2.27009
0.220289
2.27813
0.190684
2.29157
0.165199
2.30947
0.143467
2.33098
0.125178
2.35527
0.110054
2.38157
0.0978283
2.40919
0.0882343
2.43749
0.0810007
2.46592
0.0758531
2.49401
0.0725225
2.52136
0.0707558
2.54766
0.0703284
2.57264
0.0710521
2.59609
0.0727754
2.6178
0.0753733
2.63758
0.0787417
2.65526
0.082783
2.67067
0.0873935
2.68371
0.0924513
2.69429
0.097813
2.7024
0.103313
2.70806
0.108766
2.71138
0.113975
2.71254
0.118741
2.71176
0.122871
2.70936
0.126185
2.70569
0.128523
2.70116
0.129751
2.6962
0.129768
2.69128
0.128509
2.68687
0.125951
2.68343
0.122114
2.6814
0.117066
2.68117
0.110917
2.68309
0.10382
2.68746
0.0959601
2.69446
0.0875471
2.70423
0.0788091
2.71679
0.0699827
2.73211
0.0613052
2.75005
0.0530062
2.77043
0.045298
2.79297
0.0383638
2.81735
0.0323503
2.84321
0.027361
2.87017
0.0234476
2.89786
0.0206088
2.92592
0.0187922
2.95403
0.0179016
2.98192
0.0178086
3.00937
0.0183665
3.03624
0.0194258
3.06241
0.0208462
3.08781
0.0225071
3.11242
0.0243092
3.13622
0.0261712
3.15923
0.0280243
3.18149
0.0298013
3.20303
0.0314307
3.22394
0.032833
3.24433
0.0339173
3.26434
0.034581
3.28415
0.0347138
3.30398
0.0342049
3.32409
0.0329494
3.34476
0.0308541
3.36633
0.0278411
3.38914
0.0238448
3.41354
0.0188129
3.43991
0.0127027
3.46861
0.00547595
3.50003
-0.00290808
3.53458
-0.0125009
3.57268
-0.02337
3.61478
-0.0356061
3.66134
-0.0493285
3.71292
-0.0646898
3.77009
-0.0818817
3.83354
-0.101141
3.904
-0.122752
3.98237
-0.147066
4.06965
-0.174491
4.167
-0.205513
4.27578
-0.240695
4.39755
-0.280681
4.53415
-0.3262
4.68765
-0.37805
4.8605
-0.437076
5.05545
-0.504127
5.27559
-0.579971
5.52436
-0.665162
5.80536
-0.759826
6.12227
-0.863325
6.47835
-0.973785
6.8758
-1.0875
7.31463
-1.19827
7.79109
-1.29712
8.29597
-1.37301
8.81396
-1.41608
9.32631
-1.42455
9.81939
-1.41419
10.2964
-1.42174
10.7794
-1.48939
11.3071
-1.6545
11.9332
-1.94614
12.7275
-2.38055
13.773
-2.94532
15.1426
-3.55735
16.8135
-3.97655
18.443
-3.69639
19.2068
-2.18755
19.5388
-1.14029
19.6578
-0.430899
19.6451
0.117026
19.4746
0.683927
19.015
1.40853
18.0961
2.26939
17.3341
2.2452
16.7398
2.13996
16.1334
2.31391
15.3087
2.84976
14.1141
3.64185
12.651
4.30084
10.9814
4.80842
9.236
5.05091
7.51799
5.06398
5.87614
4.94336
4.31939
4.77424
2.83551
4.61328
1.40317
4.49289
4.42945
1.87361
5.96568
2.91209
5.23702
3.28027
4.27915
3.29509
3.39984
3.17149
2.6984
3.01416
2.16885
2.86264
1.77268
2.7286
1.4721
2.61402
1.23878
2.518
1.05328
2.43892
0.902511
2.37509
0.777598
2.32494
0.672449
2.28706
0.58279
2.26016
0.505577
2.24309
0.438608
2.23477
0.380264
2.23422
0.32935
2.24048
0.284964
2.25265
0.246425
2.26983
0.213199
2.29118
0.184859
2.31585
0.161036
2.34304
0.141393
2.37198
0.125599
2.40196
0.113309
2.43235
0.104161
2.46259
0.0977799
2.49224
0.0937926
2.52093
0.0918458
2.54838
0.0916301
2.57437
0.0928905
2.59869
0.095429
2.62117
0.099095
2.64162
0.103771
2.65987
0.109347
2.67573
0.115702
2.68907
0.122683
2.69979
0.130103
2.70785
0.137731
2.71327
0.145313
2.71615
0.152571
2.71667
0.159229
2.71508
0.165018
2.7117
0.169686
2.70692
0.173012
2.70118
0.174811
2.69494
0.174936
2.68873
0.173296
2.68304
0.169855
2.67838
0.16464
2.67525
0.157742
2.67407
0.149316
2.67523
0.139573
2.67904
0.128772
2.68572
0.117205
2.6954
0.10519
2.70811
0.0930579
2.72381
0.0811394
2.74235
0.069755
2.76349
0.0591996
2.78695
0.0497327
2.81236
0.0415624
2.83929
0.0348347
2.86733
0.0296222
2.89604
0.0259199
2.92503
0.0236475
2.95394
0.0226593
2.98248
0.0227612
3.01043
0.0237348
3.03766
0.0253614
3.06407
0.0274436
3.08961
0.0298165
3.11428
0.0323526
3.13807
0.034953
3.16101
0.0375353
3.18312
0.0400223
3.20443
0.0423269
3.22503
0.0443454
3.245
0.0459541
3.26448
0.0470102
3.28364
0.0473586
3.30273
0.0468435
3.32199
0.0453184
3.34175
0.0426525
3.36234
0.03874
3.38411
0.0334961
3.40743
0.0268572
3.43268
0.0187766
3.46022
0.00921297
3.49044
-0.00187831
3.52372
-0.0145545
3.56045
-0.0288975
3.60105
-0.0450199
3.64598
-0.0630704
3.69573
-0.0832443
3.75084
-0.105785
3.81192
-0.130999
3.87969
-0.159261
3.95495
-0.19102
4.03862
-0.226816
4.13182
-0.267285
4.23579
-0.313173
4.35204
-0.365346
4.4823
-0.424788
4.62863
-0.492605
4.79345
-0.57
4.9796
-0.658235
5.1904
-0.758558
5.42969
-0.872054
5.70186
-0.999394
6.01181
-1.14042
6.36463
-1.29346
6.76502
-1.45436
7.21578
-1.61502
7.7152
-1.76185
8.25291
-1.87508
8.80549
-1.93171
9.33667
-1.91715
9.81184
-1.84917
10.2288
-1.7969
10.6143
-1.83144
11.0154
-2.00977
11.4988
-2.38006
12.1627
-2.98918
13.1609
-3.87776
14.7234
-5.03489
17.0936
-6.22451
19.9519
-6.41679
20.254
-2.42039
20.2482
-1.07896
20.2057
-0.339726
20.212
0.15765
20.1992
0.749321
19.8759
1.79111
18.0719
4.13914
17.2288
3.15176
16.9137
2.51589
16.6693
2.61882
16.1008
3.47991
14.7731
5.03263
13.1585
5.97736
11.2239
6.80201
9.24907
7.08043
7.39737
6.96603
5.70702
6.68039
4.15843
6.36675
2.71511
6.09865
1.33973
5.90943
5.81262
1.14495
4.84251
1.95422
4.46331
2.40096
3.89328
2.59365
3.30014
2.64193
2.76976
2.61799
2.32631
2.56206
1.96473
2.49528
1.67096
2.42852
1.43065
2.36723
1.23187
2.31401
1.06535
2.26994
0.924186
2.23528
0.803208
2.20985
0.698594
2.19319
0.607493
2.18474
0.527772
2.18386
0.457824
2.18983
0.396437
2.20194
0.34269
2.21942
0.295879
2.24149
0.255452
2.26736
0.220964
2.29621
0.192025
2.32725
0.168267
2.35969
0.149311
2.39281
0.134743
2.42596
0.124108
2.4586
0.116917
2.49029
0.112673
2.52071
0.110903
2.54964
0.111196
2.5769
0.113228
2.60236
0.116759
2.62585
0.121634
2.6472
0.127742
2.66622
0.134989
2.68271
0.143252
2.69649
0.152358
2.70742
0.162072
2.71543
0.172096
2.72053
0.182087
2.72281
0.191679
2.72246
0.200502
2.71975
0.208203
2.71503
0.214452
2.70872
0.218958
2.7013
0.221474
2.6933
0.221806
2.68528
0.219824
2.67782
0.215477
2.67149
0.208794
2.66682
0.199894
2.66433
0.188983
2.66443
0.176339
2.66748
0.162304
2.67371
0.147267
2.68327
0.131647
2.69619
0.11588
2.71242
0.100404
2.73179
0.0856394
2.75403
0.0719813
2.77878
0.0597763
2.80563
0.0493064
2.83408
0.0407697
2.86363
0.034265
2.89377
0.0297829
2.92404
0.0272042
2.95404
0.0263147
2.98345
0.0268314
3.01206
0.0284402
3.03974
0.0308338
3.06644
0.0337438
3.09215
0.0369607
3.11688
0.0403334
3.14066
0.0437568
3.1635
0.0471503
3.18542
0.0504374
3.20645
0.0535241
3.22664
0.0562858
3.24605
0.0585629
3.26482
0.0601665
3.28313
0.0608883
3.3012
0.0605162
3.31933
0.0588523
3.33784
0.055725
3.35709
0.0509961
3.37747
0.0445663
3.39935
0.0363693
3.42312
0.0263599
3.44913
0.0145047
3.47776
0.000766228
3.50937
-0.0149128
3.54433
-0.0326174
3.583
-0.0524736
3.62581
-0.074655
3.67319
-0.0993891
3.72562
-0.12697
3.78366
-0.157762
3.84793
-0.192216
3.91915
-0.230877
3.99816
-0.274399
4.08593
-0.323561
4.18362
-0.379285
4.29259
-0.442648
4.41448
-0.514898
4.55123
-0.597459
4.70521
-0.691933
4.87928
-0.800079
5.07691
-0.923768
5.30235
-1.06486
5.56084
-1.22497
5.85876
-1.40509
6.20373
-1.60477
6.60437
-1.82074
7.06895
-2.04451
7.60196
-2.25845
8.19628
-2.4309
8.82004
-2.51378
9.40465
-2.45608
9.86411
-2.26027
10.1942
-2.07705
10.436
-2.0217
10.6451
-2.16497
10.8897
-2.56649
11.2742
-3.30844
12.0038
-4.52944
13.5338
-6.46318
16.9013
-9.43182
23.9483
-13.3294
21.5955
-23.4865
20.9874
-7.60036
20.7031
-0.113808
20.8037
1.17599
21.241
3.95187
22.2239
9.30752
17.0845
9.36051
16.593
3.71365
17.0167
2.15622
17.5303
2.16947
17.6536
3.42623
15.7178
7.04549
13.9832
7.78918
11.5023
9.35641
9.13467
9.51417
7.11173
9.04703
5.39338
8.45025
3.89033
7.91662
2.5259
7.50682
1.24292
7.23444
7.09931
0.765744
4.13822
1.38419
3.9234
1.80782
3.5706
2.06326
3.16591
2.19849
2.76772
2.2564
2.40478
2.26828
2.08632
2.25498
1.81164
2.22973
1.57596
2.20072
1.37348
2.17284
1.19875
2.14896
1.04706
2.13067
0.914605
2.11874
0.798329
2.11347
0.695842
2.11479
0.605275
2.12247
0.525184
2.13609
0.45445
2.15513
0.392218
2.17899
0.337828
2.20701
0.29077
2.23842
0.250626
2.27245
0.217031
2.30829
0.189618
2.34512
0.167985
2.38218
0.15166
2.41877
0.140087
2.45436
0.132643
2.48852
0.128669
2.52101
0.127541
2.55167
0.128719
2.58044
0.131795
2.60723
0.136508
2.63196
0.142722
2.65445
0.15038
2.67448
0.159435
2.69182
0.169793
2.70621
0.181275
2.71745
0.193591
2.72542
0.206361
2.73012
0.219136
2.73163
0.231437
2.73016
0.242787
2.726
0.252733
2.71953
0.26086
2.71123
0.2668
2.70163
0.270233
2.69132
0.270905
2.68094
0.268639
2.67114
0.263357
2.66259
0.25509
2.65591
0.243989
2.65168
0.230316
2.6504
0.214431
2.65244
0.196777
2.65809
0.177851
2.6675
0.158193
2.68072
0.138358
2.69766
0.118903
2.71813
0.100369
2.74182
0.0832646
2.76831
0.0680423
2.79709
0.0550761
2.82758
0.0446337
2.85915
0.0368506
2.89119
0.0317106
2.92315
0.0290428
2.95455
0.0285373
2.98506
0.0297858
3.01445
0.0323389
3.04265
0.0357697
3.06966
0.0397226
3.09552
0.0439394
3.1203
0.0482577
3.14405
0.0525867
3.16679
0.0568721
3.18851
0.0610573
3.20921
0.065053
3.22891
0.0687184
3.24766
0.0718556
3.26555
0.0742169
3.28276
0.0755248
3.29954
0.0754962
3.3162
0.073866
3.33311
0.0704124
3.35066
0.0649683
3.36928
0.0574216
3.38934
0.0477089
3.41126
0.0358051
3.43539
0.0216971
3.46208
0.00536718
3.49167
-0.0132262
3.52447
-0.0341666
3.56082
-0.0575822
3.60108
-0.0836626
3.64561
-0.112663
3.69483
-0.144912
3.74921
-0.180828
3.80927
-0.220925
3.87563
-0.265828
3.94899
-0.316292
4.0302
-0.373222
4.12026
-0.437697
4.22034
-0.510992
4.33192
-0.594608
4.45676
-0.690289
4.59707
-0.800058
4.75559
-0.926221
4.93582
-1.07138
5.14224
-1.23837
5.38072
-1.43021
5.65908
-1.64975
5.98776
-1.89914
6.3806
-2.17836
6.85501
-2.48223
7.42952
-2.7937
8.1134
-3.07085
8.87774
-3.22625
9.60047
-3.11666
10.0473
-2.64412
10.2496
-2.21831
10.2927
-2.00505
10.2436
-2.05534
10.1477
-2.40716
10.0532
-3.14489
10.07
-4.46783
10.5652
-6.86406
13.0038
-11.7267
13.7911
-15.7404
37.4817
-30.7641
28.474
-24.2003
21.9929
-4.21161
23.5796
11.4191
26.5966
13.7643
22.2769
6.65834
11.4377
1.48468
15.0355
2.06015
17.0299
2.56122
18.7871
5.19494
21.2728
11.0212
16.4615
11.9338
15.5504
8.78103
11.6601
13.3305
8.66752
12.5826
6.51495
11.2643
4.85975
10.161
3.48052
9.34514
2.25352
8.77901
1.10778
8.42304
8.25125
0.550924
3.68893
1.0314
3.55647
1.40313
3.32452
1.66508
3.03759
1.83555
2.73317
1.93795
2.43586
1.9936
2.15886
2.0193
1.90748
2.02726
1.68251
2.02598
1.48242
2.02116
1.3048
2.01651
1.14703
2.01439
1.00666
2.01626
0.881563
2.0229
0.769923
2.0347
0.670265
2.05174
0.5814
2.07385
0.502389
2.10074
0.432507
2.13194
0.371203
2.16686
0.318058
2.20482
0.27274
2.24504
0.234951
2.28666
0.204374
2.32879
0.180617
2.3706
0.163162
2.41133
0.151346
2.45039
0.144369
2.48739
0.141361
2.52218
0.141474
2.55475
0.143993
2.58515
0.148414
2.61345
0.154474
2.63961
0.162113
2.6635
0.171387
2.68484
0.182362
2.7033
0.195016
2.71852
0.209173
2.73022
0.224486
2.7382
0.240461
2.74242
0.256508
2.74298
0.272003
2.7401
0.286338
2.73412
0.298951
2.72547
0.309334
2.71467
0.317033
2.7023
0.321646
2.68906
0.32284
2.67565
0.320372
2.66287
0.314126
2.65149
0.304129
2.64224
0.290568
2.6358
0.273775
2.63274
0.254213
2.63352
0.232441
2.63843
0.209094
2.64767
0.184845
2.66126
0.160387
2.67913
0.136416
2.70103
0.113608
2.7266
0.0926067
2.75535
0.073996
2.78665
0.0582688
2.81979
0.0457874
2.85401
0.0367436
2.88853
0.0311207
2.92265
0.0286774
2.9558
0.0289675
2.98761
0.0313989
3.01789
0.0353271
3.04661
0.0401558
3.07387
0.0454153
3.09984
0.0507991
3.12463
0.0561572
3.14834
0.0614501
3.17097
0.0666867
3.1925
0.0718627
3.21288
0.0769124
3.23205
0.0816822
3.25002
0.0859269
3.26685
0.0893245
3.28273
0.0915038
3.29791
0.0920825
3.31274
0.09071
3.32766
0.0871018
3.34312
0.0810528
3.35956
0.0724483
3.37744
0.0612493
3.39715
0.0474634
3.41906
0.0311219
3.44349
0.0122433
3.47073
-0.00918691
3.50105
-0.0332316
3.53474
-0.0600171
3.57208
-0.0897388
3.61336
-0.12267
3.65891
-0.15917
3.70911
-0.199695
3.76437
-0.244806
3.82516
-0.295193
3.89206
-0.351689
3.96573
-0.415301
4.04696
-0.487241
4.13673
-0.568957
4.23624
-0.662173
4.34699
-0.768936
4.4709
-0.891665
4.61044
-1.03321
4.76882
-1.19694
4.9504
-1.38679
5.16118
-1.60737
5.4097
-1.86405
5.70853
-2.16287
6.07673
-2.51004
6.54354
-2.90996
7.15237
-3.35855
7.958
-3.82276
8.98733
-4.18262
10.073
-4.09997
10.4731
-2.96123
10.4628
-2.13836
10.2424
-1.72145
9.89181
-1.6436
9.40998
-1.86362
8.73022
-2.401
7.67383
-3.34376
5.70253
-4.82162
8.99004
-6.78484
-1.23253
-11.1014
44.0454
-4.88777
48.4627
-9.02457
37.6236
2.50786
25.9248
10.1741
19.4907
14.8953
17.1032
19.3464
12.0132
21.2512
15.5366
24.0743
19.6636
24.0339
24.6134
15.2243
22.1855
10.5845
13.3087
9.49526
20.0999
23.5361
10.9122
22.5939
7.34927
16.2204
5.41166
13.267
4.04385
11.5852
2.91438
10.5248
1.89755
9.84187
0.935991
9.42806
9.23182
0.418467
3.39475
0.799452
3.3052
1.11619
3.14144
1.36065
2.92764
1.53824
2.68778
1.66094
2.44076
1.74222
2.19926
1.79432
1.97066
1.82718
1.75849
1.84836
1.56391
1.86339
1.38668
1.87614
1.22586
1.88929
1.08023
1.90462
0.948531
1.92324
0.829576
1.94584
0.722316
1.97272
0.625866
2.00397
0.539514
2.03944
0.462715
2.07879
0.395071
2.12154
0.336307
2.16704
0.286228
2.21446
0.244667
2.2629
0.211414
2.31134
0.186135
2.35879
0.168296
2.40435
0.157113
2.44738
0.151553
2.48751
0.150429
2.5247
0.152561
2.55917
0.156973
2.59121
0.163043
2.62109
0.170543
2.64889
0.179577
2.67448
0.190426
2.6975
0.203365
2.71746
0.218507
2.73384
0.235701
2.74619
0.254518
2.75425
0.274299
2.75792
0.294253
2.75732
0.31356
2.75272
0.331452
2.74451
0.347249
2.73317
0.360352
2.71928
0.37022
2.7035
0.376354
2.68659
0.378314
2.66941
0.375766
2.65288
0.368531
2.63792
0.356624
2.62544
0.340274
2.61624
0.319904
2.61097
0.296105
2.61017
0.26959
2.61418
0.24115
2.62321
0.211619
2.63729
0.181848
2.65632
0.152686
2.68003
0.124965
2.70799
0.0994877
2.73962
0.0769977
2.77417
0.0581471
2.81075
0.0434384
2.84839
0.0331548
2.88608
0.027294
2.92294
0.0255252
2.95823
0.0272051
2.99154
0.0314676
3.02271
0.0373738
3.05186
0.0440771
3.07926
0.0509547
3.1052
0.0576606
3.12992
0.0641015
3.15357
0.0703532
3.17615
0.0765501
3.19755
0.082786
3.21765
0.0890447
3.2363
0.0951657
3.25341
0.100843
3.26903
0.10565
3.28331
0.109082
3.29653
0.110621
3.30914
0.109796
3.32162
0.106233
3.33451
0.0996962
3.34836
0.0900771
3.36365
0.0773811
3.38081
0.0616857
3.40018
0.0430879
3.42206
0.0216716
3.44668
-0.00253119
3.47427
-0.0295542
3.50502
-0.0595109
3.53914
-0.0925984
3.57686
-0.129102
3.61839
-0.169399
3.664
-0.213969
3.71398
-0.263405
3.76867
-0.318437
3.82845
-0.379951
3.89379
-0.449028
3.96524
-0.526976
4.04351
-0.615376
4.12947
-0.716132
4.22426
-0.831535
4.32936
-0.964343
4.44671
-1.11788
4.57898
-1.29619
4.72982
-1.50419
4.9045
-1.74805
5.11088
-2.03561
5.36136
-2.37725
5.67681
-2.78718
6.09495
-3.28557
6.68816
-3.90077
7.59814
-4.66356
9.06998
-5.54383
11.2117
-6.04809
11.296
-2.95364
10.8798
-1.65562
10.3203
-1.10495
9.67179
-0.94147
8.8726
-1.01159
7.78746
-1.2628
6.19596
-1.699
3.73931
-2.31257
4.67344
-3.39069
4.98114
-5.18096
39.9086
-2.88906
59.9951
8.46511
45.2898
17.2081
30.6459
24.8134
23.9418
34.7095
19.0081
41.7617
14.8362
45.1446
15.4962
45.6324
10.8541
41.1323
19.9735
35.1349
21.0962
34.1717
27.3495
44.2274
19.1577
39.7735
4.53875
19.7831
4.39586
16.4164
3.72985
13.9872
2.98345
12.3838
2.23145
11.3259
1.48375
10.6356
0.739748
10.2159
10.0166
0.328916
3.19618
0.63569
3.13024
0.902393
3.00638
1.12079
2.83873
1.29122
2.64295
1.41944
2.43308
1.51362
2.21997
1.58216
2.01115
1.6326
1.81134
1.67113
1.62318
1.70256
1.4479
1.73051
1.28578
1.75759
1.13663
1.78566
0.999917
1.81598
0.875033
1.84939
0.761339
1.88637
0.65826
1.92717
0.565322
1.97179
0.482182
2.02003
0.408628
2.07146
0.344573
2.12547
0.29002
2.18121
0.245006
2.23762
0.209509
2.2935
0.183336
2.3476
0.16599
2.39879
0.15656
2.44625
0.153692
2.48964
0.155706
2.52912
0.160892
2.56524
0.167868
2.59871
0.175851
2.63012
0.184723
2.65974
0.194901
2.68742
0.207073
2.71264
0.221885
2.73465
0.239683
2.75265
0.260361
2.76597
0.283355
2.7742
0.307748
2.77722
0.332442
2.77521
0.35634
2.76851
0.37848
2.75761
0.398071
2.74304
0.414448
2.72541
0.426992
2.70546
0.43509
2.68404
0.438158
2.66217
0.435714
2.64097
0.427478
2.62157
0.413439
2.60507
0.393879
2.59244
0.369347
2.58446
0.340604
2.58173
0.308558
2.58465
0.274194
2.59344
0.238535
2.60813
0.202606
2.6286
0.167425
2.65455
0.133994
2.6855
0.103296
2.72077
0.0762771
2.75946
0.0538036
2.80047
0.0365868
2.84252
0.0250709
2.88431
0.0193067
2.92462
0.0188587
2.9625
0.0227991
2.99745
0.0298386
3.02942
0.0385758
3.05874
0.0477839
3.08596
0.0566304
3.11164
0.0647559
3.13617
0.0722099
3.15977
0.0792903
3.18238
0.0863574
3.20381
0.0936726
3.22377
0.101304
3.24197
0.109085
3.25822
0.116624
3.27247
0.123344
3.28485
0.128551
3.29571
0.131525
3.30557
0.131618
3.31508
0.128345
3.32489
0.121424
3.33567
0.110786
3.34796
0.0965203
3.36221
0.078813
3.37877
0.0578774
3.39786
0.0338876
3.41966
0.00694702
3.44431
-0.0229405
3.47193
-0.0558719
3.50264
-0.0920422
3.53656
-0.131742
3.57382
-0.175358
3.61456
-0.223381
3.65895
-0.276413
3.70715
-0.335197
3.75937
-0.400646
3.81584
-0.473874
3.87684
-0.556242
3.94276
-0.64941
4.01407
-0.755397
4.09145
-0.876661
4.17582
-1.01619
4.26841
-1.17765
4.37097
-1.36553
4.48596
-1.58544
4.61693
-1.84456
4.76924
-2.15237
4.95143
-2.52208
5.17842
-2.97349
5.47975
-3.53984
5.92536
-4.28627
6.71787
-5.36796
8.56571
-7.23854
14.3062
-11.4909
12.594
-12.653
11.4304
-6.01542
10.4838
-2.07503
9.60167
-0.289609
8.6214
0.0973481
7.35126
0.567602
5.58238
1.24035
2.66119
0.646873
2.88317
-0.899261
7.27304
-1.94676
51.2628
20.0536
68.7381
36.3897
52.8951
33.0494
40.5421
37.1664
30.994
44.2522
22.391
50.352
15.324
52.1796
10.9962
49.9044
4.85669
47.2075
19.0103
51.3358
31.152
52.0817
22.8956
45.237
-0.832693
24.7551
1.17199
18.5982
1.96665
15.669
2.12653
13.8761
1.92552
12.6338
1.54117
11.7579
1.06398
11.1585
0.540455
10.7833
10.6025
0.262967
3.06058
0.511839
3.00839
0.734734
2.90879
0.925017
2.77069
1.08135
2.60475
1.20633
2.42144
1.3048
2.22973
1.38236
2.03664
1.44445
1.84722
1.49584
1.66491
1.54045
1.49181
1.58135
1.32913
1.62089
1.17737
1.66078
1.03664
1.70229
0.906778
1.74631
0.787494
1.79344
0.678487
1.84403
0.579507
1.89824
0.490407
1.95597
0.411181
2.01691
0.341966
2.08046
0.283027
2.14571
0.234691
2.21145
0.197249
2.27616
0.170782
2.33817
0.154943
2.39592
0.148722
2.44827
0.15031
2.49483
0.157241
2.53609
0.166919
2.57322
0.17729
2.60758
0.187345
2.6403
0.197207
2.67191
0.207872
2.70223
0.220743
2.73044
0.237106
2.75533
0.257686
2.77565
0.28243
2.79037
0.310535
2.79889
0.340654
2.80112
0.3712
2.79735
0.400665
2.7881
0.427856
2.77399
0.451922
2.75558
0.472201
2.73351
0.488042
2.70853
0.498697
2.6816
0.503358
2.65394
0.501305
2.62693
0.492086
2.60201
0.475638
2.58054
0.452323
2.5637
0.422872
2.55241
0.388285
2.54736
0.349724
2.54899
0.308419
2.55751
0.26561
2.57295
0.222511
2.59517
0.180312
2.62385
0.14019
2.65848
0.103328
2.6983
0.0709145
2.74224
0.0441104
2.78895
0.0239463
2.83676
0.011151
2.88387
0.00592324
2.92856
0.00772835
2.96954
0.0152257
3.00618
0.0264516
3.03863
0.0392533
3.06759
0.0518046
3.09409
0.0629863
3.11909
0.0724882
3.14326
0.080661
3.16684
0.0882157
3.1897
0.095895
3.21144
0.104228
3.23155
0.113402
3.24951
0.123237
3.26494
0.133216
3.27767
0.142546
3.28782
0.150252
3.2958
0.155311
3.3023
0.156814
3.30816
0.154109
3.31426
0.14688
3.3214
0.135132
3.33025
0.119108
3.34128
0.0991793
3.35478
0.0757281
3.37092
0.0490649
3.38977
0.0193786
3.41138
-0.013281
3.43576
-0.0489948
3.46294
-0.0879601
3.49294
-0.130473
3.5258
-0.176924
3.56153
-0.227794
3.60017
-0.283676
3.64171
-0.345303
3.68615
-0.41357
3.73347
-0.489584
3.78368
-0.574706
3.83677
-0.670611
3.89281
-0.779356
3.95192
-0.903465
4.01436
-1.04604
4.08053
-1.21087
4.15106
-1.40264
4.22684
-1.62718
4.30912
-1.89188
4.39954
-2.20637
4.50002
-2.58362
4.61207
-3.0419
4.73333
-3.60842
4.84367
-4.32633
4.84729
-5.26765
4.3133
-6.54362
13.1441
-8.19242
19.2316
-15.8376
15.3708
-16.0002
12.2692
-9.29089
9.98863
-1.80873
9.09165
3.49453
8.02401
4.09501
4.98891
1.46237
1.11506
0.12691
1.83567
0.832363
29.2734
1.29199
67.5989
27.9648
65.3978
38.5867
57.012
41.4352
47.6279
46.5507
37.0938
54.7863
24.2186
63.2272
13.0488
63.3486
8.29926
54.6529
8.98495
46.5206
19.7562
40.5359
24.3073
31.6985
2.41369
14.8058
-6.9896
8.80459
-1.7572
13.4127
0.173693
13.7843
0.88421
13.2119
1.04963
12.5153
0.94178
11.9122
0.688799
11.4567
0.359603
11.1565
11.0079
0.210773
2.97063
0.412247
2.92673
0.596627
2.84211
0.759079
2.72284
0.898039
2.57657
1.01463
2.41135
1.1117
2.23465
1.19294
2.05285
1.26213
1.87101
1.32275
1.69296
1.37776
1.52138
1.4296
1.35803
1.48016
1.20397
1.53091
1.0597
1.583
0.925424
1.6373
0.8011
1.69446
0.686631
1.75493
0.581939
1.81901
0.487053
1.88676
0.402162
1.95797
0.327657
2.03213
0.264122
2.10827
0.212294
2.18498
0.17294
2.26032
0.14664
2.33195
0.133431
2.39751
0.132325
2.4552
0.140915
2.5045
0.155422
2.54646
0.171704
2.58327
0.186527
2.61744
0.19857
2.65096
0.20846
2.68478
0.218239
2.71859
0.230554
2.75102
0.247761
2.78007
0.271198
2.80375
0.300833
2.82049
0.335415
2.82944
0.372867
2.83059
0.410788
2.82454
0.44703
2.81217
0.480142
2.79427
0.509353
2.77142
0.534199
2.74417
0.554094
2.71319
0.56812
2.67954
0.575102
2.64472
0.5739
2.61048
0.563763
2.5787
0.544552
2.55109
0.516758
2.52911
0.481394
2.51385
0.439806
2.50606
0.393504
2.50618
0.344024
2.51441
0.292852
2.53075
0.241398
2.55505
0.191007
2.58699
0.143014
2.62607
0.0987993
2.67149
0.0598342
2.72208
0.0276726
2.77616
0.0038372
2.83153
-0.01044
2.88567
-0.0145974
2.93605
-0.00919573
2.98076
0.00383263
3.01899
0.0214079
3.05118
0.0401111
3.07877
0.0571369
3.10359
0.0709732
3.12726
0.0815115
3.15081
0.0897025
3.17452
0.0969952
3.19803
0.104766
3.22062
0.113937
3.24139
0.124839
3.25949
0.137252
3.27427
0.15047
3.28538
0.16339
3.29288
0.174623
3.29731
0.182681
3.2996
0.186246
3.30093
0.184431
3.30251
0.176891
3.30538
0.16379
3.31032
0.145638
3.31783
0.123104
3.32811
0.0968234
3.34123
0.0672923
3.35711
0.0348039
3.37567
-0.000549964
3.3968
-0.0388537
3.42043
-0.0803231
3.44649
-0.125268
3.47493
-0.174072
3.50565
-0.2272
3.53854
-0.285208
3.57344
-0.348781
3.61013
-0.418761
3.64835
-0.496197
3.68777
-0.582394
3.72802
-0.678969
3.7687
-0.787931
3.80935
-0.911769
3.84953
-1.05355
3.88876
-1.21703
3.92652
-1.40679
3.96214
-1.62843
3.99464
-1.88883
4.02229
-2.19655
4.04173
-2.56216
4.04555
-2.99844
4.01542
-3.51906
3.90235
-4.13242
3.57131
-4.82042
2.6645
-5.48198
5.49897
-5.86328
19.069
-9.12182
22.0801
-6.81221
19.7514
0.0225699
15.2919
0.894762
9.69213
4.17778
5.39137
8.12214
3.65345
13.9088
1.82051
20.898
2.2953
31.9211
55.9462
52.9676
78.2208
59.5366
68.2463
48.561
62.1275
47.5542
55.8635
52.8149
45.5347
65.1152
24.34
84.4218
4.35317
83.3352
0.167001
58.8388
3.00026
43.6871
10.9188
32.6169
7.41454
22.0971
-3.58751
12.2544
-2.38151
11.2011
-1.38562
12.4634
-0.39863
12.8439
0.187555
12.6721
0.446534
12.3025
0.48631
11.9183
0.388557
11.5994
0.211067
11.378
11.2653
0.166867
2.91721
0.327634
2.87822
0.477351
2.80258
0.612811
2.69473
0.732819
2.56051
0.83793
2.40644
0.9299
2.23894
1.01111
2.0639
1.08408
1.88636
1.15116
1.71037
1.21442
1.53896
1.27553
1.37428
1.33589
1.21771
1.39663
1.07003
1.45868
0.931618
1.52283
0.80258
1.58976
0.682922
1.66005
0.572665
1.73412
0.471956
1.81225
0.381154
1.89444
0.300903
1.9803
0.232163
2.06892
0.1762
2.15868
0.134481
2.24711
0.108435
2.33085
0.098944
2.4061
0.105448
2.4697
0.12489
2.52079
0.151182
2.56129
0.177356
2.59532
0.198003
2.62733
0.21145
2.66074
0.219362
2.69709
0.22564
2.7358
0.235064
2.77445
0.251807
2.80971
0.278156
2.83833
0.313955
2.85794
0.357115
2.86736
0.404321
2.86683
0.451786
2.85765
0.496275
2.84138
0.536091
2.81911
0.570929
2.79132
0.600936
2.75819
0.625813
2.72017
0.644398
2.67834
0.654846
2.63458
0.655251
2.59127
0.644347
2.5509
0.621885
2.51573
0.588608
2.48752
0.545988
2.46755
0.495895
2.45658
0.440319
2.45501
0.381182
2.46296
0.320244
2.48036
0.259089
2.50705
0.199175
2.54277
0.141933
2.5871
0.0888956
2.63933
0.0418295
2.69824
0.00279281
2.76188
-0.0259528
2.82738
-0.0422589
2.89107
-0.0447733
2.94908
-0.0338325
2.99834
-0.0121948
3.03769
0.0151565
3.0682
0.0425767
3.09261
0.0655963
3.11413
0.082207
3.13545
0.0928392
3.1581
0.0996095
3.18229
0.105272
3.2072
0.112222
3.23152
0.121904
3.2538
0.134768
3.27271
0.150468
3.28719
0.168034
3.29661
0.185943
3.30094
0.202198
3.30087
0.214578
3.29778
0.221101
3.29339
0.22052
3.28941
0.212509
3.28723
0.197544
3.28779
0.176604
3.29155
0.150823
3.29858
0.121215
3.30874
0.0885176
3.32176
0.0531337
3.33736
0.0151636
3.35533
-0.0255208
3.37548
-0.0691899
3.39769
-0.116186
3.4218
-0.16689
3.44764
-0.221723
3.47497
-0.281179
3.50346
-0.345856
3.53269
-0.416503
3.56215
-0.494061
3.5912
-0.57971
3.61906
-0.674937
3.64486
-0.781618
3.66757
-0.902103
3.68605
-1.03931
3.699
-1.19679
3.70488
-1.37885
3.70173
-1.59053
3.68693
-1.83779
3.65668
-2.12754
3.60546
-2.46763
3.52493
-2.86625
3.40206
-3.32961
3.21436
-3.85344
2.90975
-4.38999
2.2832
-4.70619
2.24043
-3.70842
21.3786
-5.07086
28.9149
-8.47924
20.6235
-4.3115
18.5749
2.94342
13.6365
9.11617
11.1781
17.5333
10.6426
27.3375
12.8436
38.7526
23.3418
52.2101
62.5153
64.7746
67.2452
54.8065
67.2395
48.5668
67.3881
47.4057
68.1638
52.0393
64.8412
68.4377
23.2535
73.7154
-20.1432
64.554
-14.9848
53.6802
-8.06997
36.7722
0.399117
24.0181
-2.42818
14.3207
-4.64079
11.7152
-1.11923
12.1901
-1.00516
12.396
-0.570425
12.4561
-0.182031
12.3304
0.0622864
12.1044
0.167481
11.8586
0.167087
11.6446
0.0984523
11.4907
11.4107
0.127881
2.89566
0.251994
2.85928
0.369496
2.78836
0.478599
2.68638
0.578743
2.55815
0.670429
2.40924
0.754863
2.24553
0.83357
2.07269
0.90808
1.89584
0.979757
1.71926
1.04974
1.54625
1.11896
1.37919
1.18822
1.21961
1.25822
1.06841
1.32964
0.925973
1.40317
0.792417
1.47951
0.667729
1.55934
0.551923
1.64332
0.445179
1.732
0.347961
1.8257
0.261135
1.92433
0.18606
2.0272
0.124629
2.13263
0.0792458
2.23762
0.0526741
2.33735
0.0475508
2.42554
0.0647979
2.496
0.10125
2.54696
0.146363
2.58193
0.187899
2.60877
0.216092
2.63524
0.229327
2.66702
0.231394
2.70652
0.229425
2.75254
0.231812
2.8008
0.245833
2.84551
0.275273
2.88149
0.319355
2.90514
0.374433
2.91483
0.435205
2.91132
0.495474
2.89747
0.549922
2.87622
0.596769
2.84912
0.637098
2.8162
0.67258
2.77678
0.703612
2.73062
0.728608
2.67875
0.744436
2.62368
0.747723
2.56881
0.736309
2.51763
0.709858
2.47311
0.669632
2.43743
0.617892
2.41197
0.55731
2.39744
0.490541
2.39407
0.419989
2.4018
0.347704
2.42044
0.275395
2.44981
0.20453
2.48974
0.136505
2.54004
0.0728836
2.60029
0.0156625
2.6695
-0.0325221
2.74557
-0.0683069
2.82486
-0.0879883
2.90201
-0.0885176
2.97072
-0.0692734
3.02569
-0.0340312
3.06511
0.00874467
3.09122
0.0493636
3.10922
0.0803999
3.12476
0.0993661
3.14222
0.107985
3.16376
0.11059
3.18924
0.112237
3.21688
0.116935
3.24438
0.126691
3.2695
0.141868
3.29028
0.161836
3.3051
0.185286
3.31287
0.210187
3.31332
0.233695
3.30739
0.252388
3.2972
0.263121
3.28538
0.264108
3.27444
0.255156
3.26629
0.237355
3.26201
0.212491
3.26194
0.182447
3.26588
0.148776
3.27336
0.112507
3.28379
0.0741231
3.29668
0.0336599
3.31166
-0.00914075
3.32849
-0.0546743
3.34698
-0.103348
3.36697
-0.155533
3.38818
-0.211583
3.41029
-0.271889
3.43281
-0.33693
3.45514
-0.407311
3.47651
-0.483813
3.49597
-0.567429
3.51238
-0.659437
3.52437
-0.761482
3.53036
-0.875682
3.52856
-1.00472
3.51695
-1.15188
3.49319
-1.32105
3.45447
-1.51662
3.39717
-1.74342
3.31659
-2.00663
3.20684
-2.31163
3.06157
-2.66417
2.87823
-3.07189
2.67781
-3.55292
2.59355
-4.17677
3.28097
-5.25387
0.87799
-5.13919
17.9702
-4.08755
33.0827
-2.44092
27.8785
0.891978
24.7476
6.07414
22.0536
11.8102
20.9822
18.6046
22.0578
26.2619
26.3011
34.5093
35.9063
42.6043
52.5472
48.1336
61.0055
46.3483
66.0784
43.4941
72.0217
41.4625
84.5622
39.4987
70.119
33.1381
14.092
12.6034
-31.017
4.85022
-31.8928
24.6804
-20.824
25.7031
-9.29824
18.2671
-5.03371
12.7622
-4.16587
14.8817
-0.91341
12.8722
-0.945035
12.4744
-0.696136
12.2544
-0.408026
12.0893
-0.183451
11.9263
-0.0465232
11.7674
0.0131048
11.6298
0.0184756
11.5294
11.4766
0.0915034
2.90403
0.181069
2.86852
0.267521
2.79901
0.350365
2.69842
0.429835
2.57094
0.506716
2.42171
0.582028
2.2565
0.656722
2.08113
0.731494
1.90106
0.806747
1.7209
0.882677
1.54422
0.959389
1.3735
1.03701
1.2103
1.11578
1.05539
1.19609
0.909023
1.27849
0.771144
1.3637
0.641576
1.45259
0.520195
1.5461
0.407093
1.64517
0.302732
1.75062
0.208117
1.8629
0.124956
1.98182
0.0557813
2.10606
0.00406356
2.23249
-0.0255411
2.3546
-0.0271438
2.462
0.00402619
2.54111
0.0681261
2.5885
0.144395
2.61012
0.211146
2.622
0.248569
2.63731
0.257863
2.66505
0.247001
2.70891
0.228425
2.76656
0.216531
2.83024
0.224073
2.88959
0.25741
2.93657
0.313444
2.96592
0.385769
2.9751
0.466327
2.96576
0.544736
2.94431
0.610937
2.91655
0.663741
2.8846
0.707901
2.84723
0.748465
2.80177
0.787246
2.74644
0.821788
2.68203
0.84637
2.61226
0.854705
2.54236
0.843121
2.4774
0.811424
2.42137
0.761991
2.37685
0.698464
2.3452
0.624738
2.32689
0.544379
2.32179
0.460365
2.32949
0.375026
2.34958
0.290098
2.38178
0.206886
2.42612
0.126518
2.48282
0.0503224
2.55211
-0.0197116
2.63371
-0.0803785
2.72589
-0.126898
2.82433
-0.152997
2.92126
-0.152155
3.00596
-0.120828
3.06846
-0.0635155
3.10573
0.00438027
3.12226
0.0656402
3.12818
0.107198
3.13338
0.126812
3.14483
0.129099
3.16541
0.122499
3.19393
0.116142
3.22664
0.116597
3.25956
0.126076
3.28947
0.14421
3.31373
0.169774
3.33
0.201155
3.33637
0.235911
3.33201
0.270102
3.31813
0.298272
3.29819
0.315013
3.27643
0.317771
3.25664
0.306793
3.24142
0.284374
3.23196
0.253709
3.22827
0.217849
3.22962
0.179087
3.23497
0.138762
3.24333
0.0973406
3.25388
0.0546401
3.26612
0.0101096
3.27981
-0.0368863
3.2948
-0.086868
3.31092
-0.14018
3.32788
-0.197064
3.34525
-0.257756
3.36243
-0.322562
3.37864
-0.391911
3.39289
-0.466374
3.40396
-0.546693
3.41034
-0.633842
3.41017
-0.729135
3.40133
-0.834363
3.3814
-0.951918
3.34778
-1.08481
3.29762
-1.23656
3.22767
-1.41092
3.13397
-1.61159
3.01159
-1.84188
2.85429
-2.10443
2.65384
-2.40102
2.3972
-2.73327
2.05396
-3.10537
1.51645
-3.52823
3.39565
-3.9912
1.92963
-5.27157
19.6169
-3.68766
36.4155
-0.180205
33.0606
4.24673
30.4837
8.65088
28.8481
13.4457
28.6395
18.8133
30.3051
24.5965
34.3961
30.4183
41.4356
35.5649
50.7619
38.8072
58.1513
38.959
64.0468
37.5986
70.0579
35.4513
78.2016
31.3549
49.5843
20.4487
6.33883
7.7716
-11.1868
5.07166
-30.8701
17.6898
-28.2601
23.0927
-14.8031
15.2617
-2.91425
11.2672
-6.17531
13.2739
-1.31125
13.6843
-1.165
12.3752
-0.861235
11.9981
-0.571011
11.8464
-0.342358
11.7444
-0.184093
11.6551
-0.0872777
11.5781
-0.0343465
11.521
11.4904
0.0559966
2.94219
0.111559
2.90615
0.166933
2.83531
0.222879
2.73217
0.280611
2.60056
0.341501
2.44557
0.40666
2.27332
0.47665
2.09028
0.551335
1.90265
0.630065
1.71562
0.711966
1.53302
0.796186
1.35735
0.8821
1.18994
0.969415
1.03126
1.05821
0.881204
1.14892
0.739344
1.24232
0.605173
1.33949
0.478276
1.44174
0.358499
1.55056
0.246143
1.66746
0.142177
1.79373
0.0485085
1.9301
-0.0317385
2.07646
-0.094194
2.23089
-0.132528
2.38577
-0.13525
2.5261
-0.0903911
2.61738
0.0216789
2.65525
0.150973
2.64755
0.262907
2.6313
0.308471
2.62645
0.305924
2.64648
0.269739
2.69701
0.220195
2.7741
0.181302
2.86358
0.176043
2.94562
0.216423
3.0089
0.290875
3.04647
0.388556
3.05351
0.499329
3.03197
0.605973
2.99712
0.68514
2.96071
0.739161
2.92517
0.782108
2.88601
0.825945
2.83632
0.874927
2.77103
0.924736
2.69037
0.964361
2.60068
0.981411
2.51066
0.969852
2.42797
0.930532
2.35784
0.868252
2.30312
0.789045
2.26484
0.69861
2.24288
0.601684
2.23645
0.501884
2.24456
0.401756
2.26637
0.302909
2.30142
0.206225
2.34992
0.112193
2.41278
0.0214355
2.49144
-0.0645832
2.58719
-0.14251
2.69979
-0.206034
2.82517
-0.245057
2.95259
-0.24638
3.06327
-0.198467
3.13636
-0.103704
3.16699
0.00651609
3.16382
0.101506
3.1478
0.155852
3.13567
0.171521
3.13823
0.159058
3.15906
0.134142
3.19439
0.113239
3.23612
0.107259
3.27769
0.116853
3.31503
0.139194
3.34511
0.171991
3.36476
0.213779
3.37057
0.262346
3.36018
0.312704
3.33487
0.355774
3.30094
0.381096
3.26545
0.385396
3.23422
0.37011
3.21076
0.33989
3.1961
0.300383
3.18951
0.256424
3.18929
0.211237
3.19355
0.166394
3.20063
0.122122
3.20935
0.0777353
3.21913
0.0321068
3.22983
-0.0158394
3.24149
-0.0667858
3.25403
-0.120992
3.26719
-0.178483
3.28044
-0.239259
3.29308
-0.303415
3.30417
-0.371172
3.31257
-0.442865
3.31681
-0.518925
3.31504
-0.599921
3.30495
-0.686687
3.28377
-0.780553
3.2485
-0.883583
3.19603
-0.998623
3.12327
-1.12902
3.027
-1.2781
2.90368
-1.44864
2.74904
-1.6422
2.5577
-1.85864
2.3216
-2.09555
2.02511
-2.34792
1.63109
-2.60874
1.05348
-2.86984
2.11527
-3.10257
3.51354
-3.90651
23.1243
-2.17143
40.8425
4.13638
37.4648
7.62416
35.2785
10.837
34.2156
14.5085
34.4227
18.6063
36.1269
22.8923
39.5427
27.0025
44.678
30.4295
50.9136
32.5716
56.7909
33.0817
61.8995
32.4901
65.9615
31.3892
67.2954
30.0209
36.9072
22.2706
3.63889
8.57243
1.43131
5.1614
-25.4672
4.57559
-36.0911
11.1001
-18.7976
11.7972
-0.907546
11.0217
-5.76496
7.01219
-2.62031
10.5877
-1.54208
11.3445
-1.01299
11.5168
-0.672971
11.5539
-0.43172
11.5501
-0.261089
11.5306
-0.144394
11.5067
-0.0648732
11.4862
11.4744
0.0199586
3.01138
0.0407208
2.97367
0.0637937
2.89915
0.0912646
2.78982
0.125629
2.64918
0.169249
2.48257
0.223615
2.29704
0.289018
2.10034
0.364305
1.90018
0.447467
1.70266
0.536299
1.51185
0.628781
1.33009
0.723421
1.1582
0.819355
0.996026
0.916347
0.842852
1.01475
0.697677
1.11542
0.559473
1.21971
0.427365
1.32938
0.300775
1.44659
0.179593
1.57379
0.0644664
1.71348
-0.0426802
1.86764
-0.137936
2.03812
-0.216978
2.22817
-0.274772
2.43063
-0.290009
2.63817
-0.250692
2.74667
-0.043388
2.76718
0.173416
2.69311
0.380008
2.62875
0.415658
2.59027
0.386849
2.59693
0.305054
2.65812
0.200507
2.76885
0.111628
2.90396
0.0816085
3.02008
0.140706
3.10658
0.24456
3.15725
0.377889
3.16015
0.536233
3.11113
0.694552
3.05114
0.784389
3.00366
0.82555
2.969
0.855309
2.93499
0.898148
2.88612
0.961639
2.81065
1.03771
2.70742
1.10475
2.58912
1.13654
2.47134
1.12414
2.36569
1.07239
2.27863
0.991227
2.21269
0.890635
2.16792
0.778759
2.14308
0.661653
2.13632
0.543525
2.14572
0.427004
2.16968
0.31336
2.20739
0.202719
2.25916
0.0944062
2.32676
-0.012425
2.41352
-0.11776
2.52367
-0.219233
2.66077
-0.309825
2.82385
-0.374918
3.0005
-0.389874
3.15804
-0.322963
3.24658
-0.159455
3.26198
0.0236914
3.21816
0.177872
3.16347
0.243081
3.1232
0.244294
3.11331
0.201437
3.13815
0.141777
3.18841
0.0954517
3.24571
0.0824232
3.30004
0.0950032
3.34783
0.123892
3.38689
0.165431
3.41332
0.219877
3.42092
0.287285
3.40325
0.362925
3.36019
0.431393
3.30524
0.468595
3.25016
0.473018
3.204
0.448796
3.17125
0.40515
3.15214
0.351986
3.14432
0.296722
3.14445
0.243559
3.14928
0.193988
3.15624
0.147569
3.16372
0.102632
3.17118
0.0569923
3.17889
0.00877754
3.18728
-0.0428655
3.19654
-0.0979286
3.20641
-0.15602
3.21629
-0.216786
3.22532
-0.280076
3.23248
-0.345925
3.23651
-0.414444
3.23582
-0.485713
3.22828
-0.559756
3.21108
-0.636695
3.18074
-0.717147
3.13346
-0.802771
3.06564
-0.896501
2.97418
-1.00194
2.85646
-1.12251
2.71011
-1.26047
2.53261
-1.41599
2.32079
-1.58665
2.06922
-1.76712
1.7643
-1.94893
1.36999
-2.12186
0.820754
-2.27663
1.31134
-2.38753
5.24862
-2.92489
29.4321
6.47609
44.3303
13.9124
40.6776
11.2766
38.9501
12.5643
38.3134
15.1452
38.7087
18.211
40.2371
21.3639
42.9697
24.2697
46.8201
26.579
51.4237
27.9679
56.1993
28.3062
60.7986
27.8906
64.5932
27.5944
59.5451
30.2401
23.209
19.2039
0.227863
4.20056
0.845502
4.36786
-18.9426
2.99008
-35.394
9.18716
-19.5731
11.9934
-4.91703
9.93599
-2.1895
9.23212
-1.86344
10.3093
-1.36979
10.8985
-0.975913
11.1709
-0.676723
11.3024
-0.451297
11.3718
-0.285
11.4106
-0.164878
11.432
-0.0766423
11.443
11.4474
-0.0177527
3.11397
-0.0337994
3.07379
-0.0455371
2.99372
-0.0493714
2.87485
-0.0409843
2.72002
-0.0162835
2.53486
0.0269129
2.32807
0.0888623
2.11041
0.166787
1.89184
0.256654
1.67994
0.354538
1.47873
0.456888
1.29022
0.561252
1.11414
0.666181
0.949365
0.771172
0.794229
0.876544
0.646922
0.983315
0.505726
1.09312
0.369146
1.2082
0.235983
1.33147
0.10541
1.46665
-0.022771
1.61823
-0.146587
1.7886
-0.260199
1.98033
-0.359558
2.21293
-0.456003
2.46994
-0.495941
2.84547
-0.573152
2.96348
-0.119692
2.97377
0.204418
2.72876
0.668182
2.59994
0.587413
2.50847
0.520488
2.49238
0.362358
2.56924
0.163955
2.73883
-0.0183077
2.96306
-0.102259
3.12393
0.0187539
3.23991
0.167835
3.31559
0.341879
3.31847
0.573399
3.20097
0.8522
3.0923
0.932865
3.03341
0.923706
3.01184
0.915633
2.99848
0.949799
2.9622
1.0358
2.87769
1.15969
2.7392
1.28032
2.57673
1.33568
2.41958
1.31759
2.28453
1.24341
2.17804
1.13337
2.10081
1.00325
2.05081
0.863874
2.02495
0.72239
2.0198
0.583311
2.03207
0.449135
2.05904
0.32058
2.09907
0.196661
2.15233
0.0749159
2.22143
-0.0479515
2.31204
-0.174958
2.43308
-0.306969
2.59568
-0.439186
2.80889
-0.554849
3.06741
-0.614904
3.32155
-0.543516
3.42973
-0.234791
3.41616
0.0696397
3.28337
0.343115
3.16468
0.394266
3.08035
0.361137
3.05365
0.260652
3.09183
0.136147
3.17538
0.0444789
3.25829
0.0321522
3.32892
0.0570908
3.38937
0.0962588
3.44134
0.146363
3.48073
0.213486
3.49656
0.304547
3.47172
0.420943
3.39739
0.538949
3.30967
0.589579
3.22594
0.590027
3.16035
0.547677
3.11809
0.48073
3.09688
0.406524
3.09116
0.335799
3.09488
0.273212
3.10286
0.219397
3.1113
0.17254
3.11808
0.129284
3.12297
0.0855382
3.12724
0.037936
3.13222
-0.0144139
3.13845
-0.0707051
3.14564
-0.129735
3.153
-0.190633
3.15947
-0.253027
3.16396
-0.316875
3.16524
-0.382173
3.16177
-0.448667
3.15134
-0.515682
3.13063
-0.582211
3.09512
-0.647587
3.03973
-0.712794
2.9602
-0.781416
2.85361
-0.858112
2.71849
-0.947252
2.5546
-1.05141
2.36195
-1.16953
2.14032
-1.29754
1.88741
-1.42936
1.59136
-1.5579
1.21523
-1.67596
0.709853
-1.76076
0.773978
-1.74314
14.6496
-1.86675
36.8684
3.96617
41.6944
9.08613
41.9653
11.0055
41.531
12.9985
41.3792
15.297
41.8615
17.7287
43.1429
20.0821
45.279
22.1333
48.209
23.6488
51.762
24.415
55.7838
24.2843
60.5025
23.1718
67.2389
20.8577
48.5088
16.3713
8.20566
6.11356
0.395166
2.60015
-0.53228
2.67008
-12.7456
2.18489
-32.5877
2.33111
-21.6305
6.77798
-5.6209
10.2468
-1.11233
10.2929
-1.2742
10.5188
-1.09745
10.7695
-0.844396
10.9658
-0.607244
11.113
-0.412549
11.2244
-0.263556
11.3081
-0.153915
11.3681
-0.0722896
11.4068
11.4255
-0.057932
3.25299
-0.113865
3.21014
-0.164408
3.12357
-0.204202
2.99247
-0.22615
2.81798
-0.223066
2.6057
-0.190749
2.3672
-0.129706
2.11844
-0.04512
1.87391
0.0554431
1.64308
0.166027
1.43013
0.280813
1.23526
0.396477
1.05628
0.511044
0.890718
0.623865
0.73559
0.735347
0.588042
0.846736
0.445507
0.959962
0.305769
1.07763
0.166924
1.20329
0.0271809
1.34283
-0.115254
1.50461
-0.260136
1.68924
-0.39361
1.88389
-0.501755
2.17299
-0.688719
2.39273
-0.666672
3.29893
-1.42953
3.28759
-1.04268
3.43754
1.0602
2.64799
1.50375
2.53301
0.746203
2.35034
0.745411
2.29398
0.459053
2.38698
0.109519
2.65488
-0.247316
3.08407
-0.489594
3.27301
-0.132593
3.41395
0.0649918
3.54711
0.249013
3.59727
0.566006
3.28164
1.21248
3.08314
1.17483
3.02534
1.02317
3.04601
0.935276
3.08448
0.950738
3.08608
1.07298
2.99832
1.28566
2.79457
1.52165
2.55863
1.6085
2.3454
1.56707
2.17449
1.45006
2.04792
1.2953
1.96144
1.12477
1.90933
0.950766
1.88587
0.780399
1.88562
0.617884
1.90352
0.465353
1.93512
0.322879
1.97733
0.188155
2.02946
0.0562803
2.09442
-0.0795851
2.18003
-0.227362
2.30086
-0.394653
2.48001
-0.585124
2.74884
-0.790065
3.1388
-0.97037
3.63027
-0.999669
3.73416
-0.305733
3.68963
0.146486
3.33452
0.730871
3.13155
0.629951
2.97986
0.545536
2.92915
0.344059
3.00016
0.0978487
3.16305
-0.0854339
3.28323
-0.0549365
3.36809
0.00536476
3.43947
0.0582248
3.50846
0.110939
3.57179
0.183956
3.61296
0.297406
3.58972
0.478405
3.44802
0.715025
3.31011
0.761926
3.18359
0.751024
3.09341
0.672359
3.04388
0.564799
3.02615
0.458864
3.02857
0.368084
3.04106
0.295518
3.056
0.239357
3.06805
0.195507
3.07433
0.158105
3.07537
0.119698
3.07489
0.0736664
3.07593
0.0198435
3.07942
-0.0388157
3.08475
-0.0995844
3.0906
-0.160937
3.09562
-0.222459
3.09866
-0.284325
3.09875
-0.346698
3.09476
-0.40916
3.08481
-0.4702
3.06525
-0.526977
3.02991
-0.576185
2.97111
-0.617192
2.88351
-0.655728
2.76447
-0.698825
2.61434
-0.753182
2.43648
-0.823214
2.23393
-0.905931
2.0085
-0.995402
1.75887
-1.08812
1.4733
-1.18789
1.13043
-1.30089
0.727473
-1.36588
0.650375
-1.07043
20.4825
-1.08236
41.9884
2.42839
43.6138
7.4606
43.9583
10.6607
43.8295
13.1273
43.8109
15.3154
44.215
17.3243
45.1941
19.1027
46.7946
20.5325
48.9752
21.468
51.6313
21.7587
54.6713
21.2441
58.1884
19.6545
62.7524
16.2938
38.2511
9.45474
4.69225
2.34773
0.465101
0.982323
-1.01747
0.385123
-12.5993
0.484992
-28.1409
9.54489
-18.1617
14.1343
-5.57478
11.9862
-0.886502
10.9763
-1.0235
10.7035
-0.901161
10.6949
-0.697181
10.8098
-0.495821
10.9595
-0.328877
11.1048
-0.203527
11.2293
-0.115265
11.3257
-0.0535574
11.3908
11.4232
-0.100779
3.43159
-0.200432
3.38702
-0.295514
3.29487
-0.378687
3.1505
-0.438428
2.95091
-0.461568
2.70007
-0.439514
2.41409
-0.374229
2.1197
-0.275954
1.83983
-0.157506
1.58607
-0.0288424
1.36085
0.101834
1.16123
0.230912
0.98261
0.355916
0.819403
0.476318
0.667312
0.592813
0.522237
0.706997
0.380674
0.821117
0.239728
0.937886
0.097006
1.06085
-0.050039
1.19795
-0.20523
1.37114
-0.381083
1.5811
-0.546472
1.69692
-0.567056
2.19504
-1.13658
1.62988
-1.88315
3.68578
-0.84934
5.39046
0.867072
3.88109
0.913979
1.89045
0.639209
2.53222
1.53697
2.06398
1.25307
1.94445
0.617004
2.03014
0.0610337
2.4126
-0.589224
3.44107
-1.47517
3.4706
-2.34137
3.59797
-1.38123
3.8641
1.02358
4.24375
2.51751
3.24398
2.26091
2.93149
1.5335
2.93744
1.06013
3.06147
0.852327
3.20673
0.845802
3.29876
1.02108
3.23432
1.3901
2.88142
1.91396
2.51719
2.01078
2.22839
1.89256
2.01974
1.69442
1.87739
1.47272
1.78743
1.24939
1.73896
1.03361
1.72335
0.830157
1.73309
0.642091
1.76104
0.471154
1.8004
0.31709
1.84545
0.176474
1.8936
0.041321
1.94664
-0.0995884
2.01274
-0.260489
2.11039
-0.459323
2.27507
-0.716607
2.56853
-1.04943
3.1095
-1.47563
4.32421
-2.17782
4.18638
-1.63473
4.27402
1.05081
3.2336
1.80472
3.04714
0.849633
2.77838
0.847399
2.68294
0.472504
2.81688
-0.00317357
3.19355
-0.426761
3.34353
-0.170151
3.42095
-0.0376688
3.49219
0.0215594
3.58148
0.0565839
3.68524
0.115532
3.79396
0.224448
3.82634
0.482224
3.49492
1.08299
3.29921
0.994133
3.10492
0.981696
2.98585
0.827725
2.93795
0.648984
2.93537
0.497803
2.956
0.383973
2.9849
0.30333
3.01215
0.249033
3.03064
0.214177
3.03593
0.190203
3.02933
0.163876
3.02107
0.119697
3.01727
0.0615579
3.01865
-0.00217584
3.02339
-0.0660841
3.02908
-0.128207
3.03376
-0.188625
3.03629
-0.248318
3.03629
-0.308186
3.03372
-0.368099
3.02803
-0.425906
3.01604
-0.476004
2.98891
-0.509285
2.93257
-0.519919
2.84041
-0.520849
2.71011
-0.523058
2.54431
-0.537271
2.35376
-0.574438
2.14446
-0.625363
1.91578
-0.679721
1.6591
-0.742074
1.3603
-0.841028
1.06543
-1.01086
1.02293
-1.33232
0.638446
-1.18024
23.9933
-0.497353
47.0206
2.84379
46.8139
7.66721
46.425
11.0496
46.0175
13.5347
45.8199
15.5128
45.9934
17.1505
46.6239
18.4718
47.73
19.426
49.2659
19.9318
51.1167
19.9076
53.0818
19.2789
54.8277
17.9086
55.9133
15.2086
31.1441
8.27964
3.32684
1.15883
-0.132099
0.257425
-0.917602
0.3359
-3.53944
0.663613
-23.5515
1.87852
-20.3098
5.75821
-6.58474
9.96807
-1.15928
11.617
-1.03205
10.6242
-0.786287
10.4971
-0.547544
10.6192
-0.350478
10.8103
-0.204364
11.0061
-0.107126
11.1788
-0.0502127
11.3148
-0.021093
11.4077
11.4544
-0.145349
3.65195
-0.292584
3.60872
-0.439889
3.51571
-0.578276
3.36119
-0.689269
3.13268
-0.747546
2.82726
-0.733901
2.46717
-0.654103
2.10423
-0.529709
1.77737
-0.382726
1.4985
-0.22846
1.26381
-0.0767903
1.06418
0.0677045
0.890558
0.203825
0.73493
0.331243
0.590066
0.45125
0.451035
0.566051
0.313371
0.678395
0.173605
0.790841
0.0295229
0.905661
-0.118899
1.02209
-0.272105
1.20575
-0.506735
1.56051
-0.848422
1.1274
-1.34772
1.44847
-0.76671
2.66369
2.43695
5.40219
4.79838
5.43737
4.59473
3.60632
2.97548
2.78821
2.27442
2.24832
1.38171
1.42792
0.891735
1.38848
0.693568
1.37988
0.105728
1.52665
-0.693734
2.57487
-1.37516
4.43073
-0.0648041
6.00278
1.69061
5.35803
2.05045
3.98715
2.1136
2.51657
1.83007
2.45812
1.62896
2.72964
0.825344
3.05494
0.563757
3.38201
0.556042
3.66777
0.773888
3.75819
1.34015
2.97823
2.73586
2.39897
2.63013
2.03025
2.29887
1.79804
1.96244
1.65406
1.65149
1.57166
1.36601
1.53551
1.10366
1.53529
0.864065
1.56215
0.648732
1.60698
0.459674
1.65978
0.297471
1.7103
0.158973
1.75269
0.0317795
1.78574
-0.0998978
1.81391
-0.255945
1.8531
-0.465771
1.94225
-0.772708
2.14233
-1.21511
2.40731
-1.70515
4.8673
-2.44659
6.87191
-0.432403
5.02793
1.40115
2.27852
1.33251
3.0449
1.85975
2.40349
1.52381
2.20726
0.703347
2.39329
-0.154137
3.45016
-1.44137
3.47601
-2.80137
3.48018
-0.92921
3.52721
0.505488
3.64043
-0.499269
3.79416
0.0159973
4.05173
1.67942
4.42711
2.66182
3.40606
2.14636
3.28678
1.15425
2.95095
1.35749
2.80711
1.01074
2.78677
0.708105
2.82154
0.501744
2.87536
0.369017
2.9306
0.287204
2.9773
0.241779
3.00667
0.224591
3.0096
0.227406
2.98516
0.228782
2.96293
0.182676
2.95353
0.111958
2.95474
0.0378216
2.96127
-0.0311206
2.96866
-0.0938024
2.97407
-0.152032
2.97642
-0.208562
2.97637
-0.265934
2.97591
-0.325234
2.97793
-0.384979
2.98276
-0.436677
2.97827
-0.458711
2.93164
-0.425289
2.8382
-0.37703
2.6959
-0.327089
2.50714
-0.289028
2.30283
-0.299817
2.0901
-0.328112
1.85343
-0.354586
1.56015
-0.399595
1.19047
-0.479174
0.74397
-0.577845
1.17501
-0.694486
1.32134
-0.97311
27.3344
-0.00786666
51.844
4.57557
50.1962
9.31498
48.9101
12.3356
47.9955
14.4493
47.4576
16.0504
47.3147
17.293
47.578
18.2082
48.2359
18.7679
49.2417
18.9257
50.488
18.6611
51.7114
18.0554
52.1277
17.4928
48.9844
18.3525
24.0233
11.946
2.42543
1.9775
-0.0536236
0.326152
-0.589889
0.338277
-2.32454
0.901757
-19.6718
1.5688
-16.0999
3.71181
-4.93585
5.74398
-2.15207
8.88152
-1.15908
9.67935
-0.66425
10.0504
-0.356441
10.3595
-0.154678
10.6564
-0.0316916
10.9305
0.0289705
11.1649
0.042653
11.3474
0.0255818
11.4712
11.5332
-0.188576
3.91307
-0.38559
3.87779
-0.594415
3.79579
-0.806788
3.64378
-0.99468
3.38948
-1.10764
3.00743
-1.09684
2.52137
-0.980961
2.05083
-0.808583
1.66496
-0.617414
1.3648
-0.428092
1.12969
-0.250408
0.93942
-0.0879238
0.778945
0.0589604
0.636847
0.192212
0.50513
0.313586
0.37657
0.426284
0.246252
0.534313
0.109842
0.642419
-0.0362333
0.752455
-0.178264
0.787464
-0.256989
0.864064
-0.531542
1.06122
-0.612402
1.7084
3.07304
4.65213
6.74222
5.02512
8.49628
5.19854
8.28095
3.81811
6.96082
2.90526
5.87286
1.8955
4.57922
1.75834
3.01037
1.22975
0.831079
0.800638
0.55808
0.580421
0.360759
0.845218
-0.0959541
3.88523
-0.233359
6.18615
0.986065
6.36262
2.91771
5.42119
3.57311
3.70362
3.81227
2.31546
3.88359
1.65451
2.88894
2.46805
1.25682
3.04723
0.496955
3.59985
1.08414
4.23403
3.11458
5.1539
5.30419
2.8725
5.06387
2.06772
3.47771
1.69382
2.71105
1.48708
2.20482
1.36858
1.80432
1.3093
1.45899
1.29591
1.15043
1.31995
0.873209
1.3731
0.628639
1.44478
0.420923
1.52128
0.253767
1.58311
0.129822
1.62101
0.0264062
1.6297
-0.0761246
1.60408
-0.197904
1.54617
-0.375425
1.49985
-0.693702
1.65229
-1.33338
1.66588
-2.05045
6.88148
1.09951
8.70547
4.32241
4.95929
4.21717
2.80576
4.752
2.70897
4.61616
1.58302
2.99534
1.34978
0.972523
1.10605
0.125955
2.09016
-0.399722
5.34818
-0.246548
4.91488
1.2433
2.52245
3.75905
4.15569
5.24822
5.45759
4.30163
5.03413
3.08502
3.91165
1.83009
2.41396
1.86979
3.49001
2.81128
2.60421
2.28411
2.50447
1.1508
2.5804
0.67234
2.68882
0.433652
2.79355
0.304932
2.88518
0.236625
2.96011
0.208368
3.00948
0.217233
3.01098
0.268427
2.93905
0.343688
2.89221
0.272921
2.8794
0.1686
2.8858
0.0756542
2.89859
0.000700837
2.91043
-0.0604272
2.91754
-0.113382
2.91905
-0.163834
2.91707
-0.217172
2.91617
-0.276671
2.92623
-0.345602
2.96073
-0.418145
3.0117
-0.451419
2.9799
-0.333848
2.88814
-0.223528
2.73396
-0.108507
2.49635
0.0200783
2.27454
0.00659188
2.06363
-0.0420176
1.80842
-0.0823312
1.48057
-0.0943777
1.0918
-0.105133
0.627329
-0.117183
0.896383
-0.140164
2.28658
-0.214762
31.9178
0.941419
56.5835
8.94914
53.2168
12.6816
51.0238
14.5286
49.5967
15.8762
48.7002
16.9469
48.2299
17.7632
48.1376
18.3003
48.3937
18.5114
48.9772
18.3419
49.8823
17.756
51.1489
16.7891
52.9873
15.6549
42.5779
14.9455
14.0548
7.65313
0.774084
0.814858
-0.0414992
0.389478
-0.0264092
0.3232
-1.65749
0.207373
-17.5288
0.920059
-14.0678
5.59197
-1.7983
7.48513
-1.35425
8.48533
-0.788037
9.16134
-0.355129
9.66564
-0.0595293
10.1121
0.119416
10.5255
0.202701
10.8949
0.211472
11.2034
0.166419
11.4391
0.0876383
11.5967
11.6752
-0.223859
4.20735
-0.467592
4.1915
-0.746424
4.14399
-1.06108
4.0272
-1.37674
3.77315
-1.59369
3.29098
-1.56739
2.55925
-1.36683
1.91152
-1.10874
1.46523
-0.852532
1.16431
-0.618358
0.94892
-0.410883
0.783286
-0.230022
0.64755
-0.0727563
0.527106
0.0636517
0.414028
0.183268
0.302085
0.289874
0.183382
0.388239
0.0538662
0.500388
-0.10118
0.673731
-0.294991
0.512911
-0.499931
0.783205
0.564822
4.74666
6.18848
5.37758
10.2552
6.40619
11.2221
4.80979
10.075
3.87841
9.21117
2.73015
8.10872
1.61163
6.99061
0.326655
5.86256
-0.420956
4.7595
0.956753
2.90945
0.603317
0.947377
0.123708
0.322433
0.707812
0.795677
5.10465
1.13545
8.11779
2.45939
7.01802
4.01509
5.66035
4.92794
3.77494
6.19773
1.3208
6.31081
0.0223913
3.3671
1.70818
2.63413
3.63441
4.14379
5.63029
8.10932
6.42364
10.1907
4.91359
7.29346
1.28634
4.24272
1.30106
3.49822
1.18759
2.85944
1.08658
2.34
1.02325
1.90112
1.00074
1.51455
1.01869
1.1653
1.07538
0.849223
1.16538
0.571272
1.27762
0.341247
1.39734
0.166536
1.47969
0.0798646
1.51848
0.0199067
1.50792
-0.0333388
1.42656
-0.0843845
1.22789
-0.144665
0.860171
-0.293718
0.935211
-0.478333
4.81584
-0.908259
10.1044
1.99438
8.60024
5.254
5.49411
7.64675
2.66991
10.1136
1.08814
12.193
-0.439791
11.4422
0.503208
7.73987
0.580376
2.56355
2.24333
2.02391
6.83802
5.43575
7.43063
8.14981
4.01162
8.56816
3.2091
7.75829
4.24098
6.44535
3.77921
5.21524
3.95135
3.93386
3.35544
3.11106
2.96284
2.39275
1.4709
0.988758
2.02601
0.636281
2.34172
0.397526
2.5601
0.256623
2.72524
0.181676
2.85692
0.147413
2.96898
0.139412
3.06068
0.169289
3.08624
0.287297
2.86828
0.606716
2.78789
0.398989
2.78645
0.216386
2.81085
0.0983549
2.83746
0.0219678
2.85748
-0.0314757
2.86708
-0.0727907
2.86571
-0.110957
2.85757
-0.155846
2.84724
-0.210491
2.85369
-0.291015
2.92745
-0.420389
3.12927
-0.565078
3.09022
-0.222634
3.00316
-0.0684699
2.86255
0.0973282
2.48286
0.444464
2.22593
0.264466
2.02331
0.135145
1.79638
0.12571
1.46981
0.224626
1.07975
0.282802
0.604347
0.357787
0.821786
0.399129
3.44276
0.33893
39.9256
14.1372
60.3159
23.336
55.0639
17.9337
52.3714
17.2212
50.6673
17.5804
49.5164
18.0978
48.7671
18.5123
48.3487
18.7184
48.2242
18.6355
48.3913
18.1746
48.9154
17.2319
50.0147
15.69
52.2778
13.3921
35.2856
9.9332
7.21652
4.15291
0.348704
1.08078
-0.107778
0.512241
-0.142236
0.357655
-0.944804
0.14734
-12.8568
-0.588442
-12.1746
5.10849
-0.798096
8.31763
-0.678236
8.41318
-0.283746
8.81512
0.0912896
9.33888
0.353916
9.8978
0.488834
10.4391
0.511142
10.9209
0.44719
11.3151
0.324091
11.6092
0.166073
11.802
11.8966
-0.239703
4.5156
-0.515105
4.53509
-0.863217
4.56007
-1.31513
4.54754
-1.85891
4.38627
-2.32542
3.82634
-2.21512
2.51436
-1.81312
1.5705
-1.40965
1.11897
-1.06792
0.876845
-0.783992
0.716877
-0.546619
0.59581
-0.350465
0.499544
-0.185834
0.408942
-0.0482917
0.321085
0.0645652
0.231221
0.160358
0.130382
0.233192
0.0227405
0.306577
-0.113322
0.46879
0.275989
1.57766
5.40645
6.40686
10.6018
8.81343
13.5233
6.3444
12.6864
5.25916
12.3046
3.94593
11.388
2.77596
10.3811
1.61204
9.27265
0.483572
8.11909
-0.7764
7.12253
-2.27101
6.25292
-1.00532
5.05868
-0.0216267
2.18642
0.596952
3.75771
1.04758
3.16577
6.4286
2.29555
9.67349
4.72573
7.93087
5.75702
6.93014
5.9286
3.88801
5.4757
-1.6229
4.01292
-0.710585
2.78519
3.21784
2.69177
7.59994
6.74186
7.71169
10.071
3.52638
9.47613
1.86285
5.64373
0.541834
3.8751
0.662287
3.41128
0.668144
2.88692
0.647698
2.39344
0.636682
1.94479
0.651494
1.53217
0.70262
1.1465
0.797432
0.786717
0.935357
0.465675
1.10291
0.20603
1.31067
-0.00941061
1.41973
0.00269457
1.46523
0.00639443
1.45687
0.00719156
1.36628
0.03848
1.07884
0.175124
0.675556
0.142114
0.505285
0.210438
7.71848
0.536463
13.364
3.31967
10.993
7.60482
7.96092
10.6784
4.74939
13.3228
0.337289
16.2203
-4.1421
18.772
-4.67311
20.5071
0.0407329
22.7568
5.65517
15.3862
9.55209
11.3797
7.84898
8.55593
3.20175
4.69297
1.89616
3.22453
3.01087
3.43274
2.49783
2.73343
3.12855
1.67855
2.63713
0.606356
1.55885
0.000466173
1.11842
-0.246078
1.78726
0.417687
2.20081
0.496961
2.48515
0.344101
2.69098
0.505502
2.84892
0.584561
2.99885
0.396924
3.17869
0.494135
3.40566
1.30041
2.66056
1.40053
2.60529
0.503569
2.66842
0.203777
2.73446
0.0845113
2.78402
0.0266339
2.81616
-0.00697062
2.82892
-0.0260053
2.82082
-0.0401849
2.80293
-0.0710375
2.76671
-0.101629
2.72432
-0.1663
2.78276
-0.381498
3.47171
-1.1482
3.24439
0.271874
3.16896
-0.0430462
3.20968
1.08692
2.30287
1.33318
2.09661
0.450344
2.01388
0.206186
1.89529
0.23932
1.52799
0.590028
1.15474
0.655459
0.645689
0.866686
0.761587
0.987596
17.241
1.37775
49.1243
11.373
54.9136
17.5468
54.3514
18.496
52.7307
18.8421
51.1847
19.1266
49.931
19.3514
48.9732
19.4699
48.2658
19.4254
47.7632
19.1379
47.4485
18.4891
47.3735
17.307
47.7168
15.3469
48.819
12.2899
29.5053
7.85346
4.14439
3.0568
-0.219835
1.0905
-0.262363
0.761692
-0.352551
0.44723
-1.68059
-0.0553391
-7.15991
0.0445009
-8.96547
4.54237
-0.702538
8.74911
-0.276303
8.03468
0.240022
8.34727
0.650203
8.9774
0.895263
9.70178
0.97058
10.4132
0.905303
11.0352
0.741363
11.5274
0.516861
11.8813
0.260707
12.1059
12.2137
-0.220214
4.80272
-0.490129
4.87159
-0.875742
5.01272
-1.47641
5.21863
-2.41884
5.40628
-3.6374
5.12619
-3.15898
2.10785
-2.26466
0.738518
-1.65177
0.562829
-1.22789
0.506255
-0.905059
0.44489
-0.642885
0.382606
-0.441067
0.345255
-0.273691
0.287891
-0.138156
0.230898
-0.0362733
0.173652
0.0527166
0.0822522
0.0971294
0.0179072
0.695889
4.87951
5.59926
10.2604
6.77298
13.9925
9.3284
15.5378
7.97653
14.8636
5.96259
14.6997
4.3426
13.9245
2.93899
12.7916
1.66752
11.6526
0.458482
10.4817
-0.512992
9.09058
-1.646
8.25555
-3.46525
8.07196
-3.87757
9.03683
1.54967
9.58213
0.00501055
9.48166
0.177363
9.26703
8.85877
10.3012
10.7048
10.5298
8.10245
8.35924
6.47725
7.55376
2.42523
7.16571
-2.85063
7.19088
-0.804005
8.35924
7.26792
10.138
10.9291
9.42348
7.11682
6.91052
-0.306009
4.71277
0.0942076
5.26407
0.0780223
3.83901
0.137923
3.38394
0.174665
2.88257
0.199047
2.40123
0.224061
1.95178
0.265826
1.52234
0.342836
1.10146
0.476391
0.685255
0.675711
0.298696
0.887468
0.0267623
1.32277
-0.402538
1.42343
-0.640392
1.46603
-0.0145416
1.48816
0.349834
1.50292
0.637149
1.04583
0.66839
0.74388
0.478923
0.831309
0.952811
10.5017
2.75258
17.6491
5.93324
14.0666
11.1403
10.6053
14.1391
7.64683
16.2812
2.88906
18.204
-2.40701
19.0551
-2.42347
21.709
-7.3298
28.2382
1.64866
21.7399
6.7283
6.23836
3.98603
3.62636
1.7333
1.58543
2.10437
-0.00373764
2.31156
0.151293
1.44296
0.339827
2.05635
0.669286
2.03124
0.0102341
1.31231
-0.783744
1.78218
6.03755
1.86653
11.1326
2.04795
13.1557
2.64655
14.1876
2.77004
14.5279
2.66128
14.6004
3.09606
14.654
3.98497
14.4281
3.50577
13.3699
1.7636
11.4852
2.30549
11.5044
2.54916
11.3096
2.67658
10.9486
2.75041
10.1579
2.79713
8.03939
2.81474
3.00128
2.78997
1.08866
2.77234
0.708435
2.70204
0.890367
2.50912
0.828931
2.01606
1.5883
4.89179
5.52635
2.92947
9.02298
4.29893
9.32506
3.45594
10.2005
1.42003
10.5957
1.85245
11.1648
2.04701
8.85212
2.246
2.5187
1.59342
1.24207
1.36596
0.882718
0.766599
1.46599
1.15174
1.66768
27.2363
2.90553
55.2981
9.85823
55.8628
16.9823
54.6975
19.6616
53.0152
20.5246
51.4094
20.7324
50.0496
20.7111
48.9287
20.5905
47.9783
20.3757
47.1144
20.0015
46.2664
19.3372
45.4135
18.1599
44.6598
16.1005
44.3825
12.5671
24.7087
6.68993
2.17809
1.69576
-0.548641
0.636704
-0.576826
0.782846
-0.85512
0.73074
-1.58075
0.724526
-2.66204
1.13836
-4.75873
2.31418
-1.41696
5.45458
0.0362904
6.62938
0.870145
7.56216
1.37459
8.52239
1.60665
9.51966
1.59263
10.4776
1.39752
11.2805
1.09528
11.8791
0.741382
12.2836
0.368579
12.5269
12.6397
-0.151346
5.01947
-0.349003
5.13419
-0.669831
5.39974
-1.28875
5.91893
-2.69893
6.96593
-6.65574
9.34564
-4.52831
9.32278
-2.44035
-1.14846
-1.70835
-0.100619
-1.28926
0.139858
-0.967344
0.173594
-0.680236
0.144467
-0.498431
0.21192
-0.330684
0.168231
-0.195403
0.144361
-0.127673
0.157268
-0.0116284
0.663945
4.95873
7.67805
6.07678
13.3776
9.33133
15.6808
8.31829
14.9895
8.6542
15.1976
7.81266
15.7049
5.1874
17.3249
3.2097
15.9022
1.79993
14.2014
0.496646
12.9559
-0.932631
11.911
-1.34802
9.506
-1.8296
8.73712
-2.50038
8.74274
-3.33228
9.86775
1.44919
12.2065
-0.209621
10.8812
1.21152
12.077
9.08734
12.3611
8.53427
11.0825
7.29697
9.59648
6.0892
8.76151
2.4504
8.42039
-1.68227
8.3971
0.974737
9.95148
6.55342
9.75742
8.41613
7.55799
4.91907
5.65791
0.245288
4.44255
-1.33085
4.70158
-0.377051
4.12884
-0.363443
3.40265
-0.306672
2.85782
-0.250401
2.37675
-0.205381
1.93849
-0.155059
1.50387
-0.0733655
1.05187
0.0898317
0.553527
0.403777
0.240134
0.458168
0.827948
1.08492
9.56267
2.04928
18.718
1.83041
22.448
1.77547
22.0849
1.53416
17.8455
0.856362
8.94584
1.21777
2.86999
2.63108
2.09312
13.6823
9.20803
22.8562
12.2784
17.0654
16.7679
12.7475
18.4548
9.56956
19.4591
3.74019
20.4488
0.246918
21.0871
4.10571
20.7985
-13.8281
17.9171
-13.8529
23.4938
4.1163
18.235
1.9451
2.21781
0.144137
0.775016
2.2594
2.67099
2.50009
1.85208
1.77242
0.593453
1.3973
0.579959
1.23726
0.589315
8.1336
12.2929
6.87722
21.0401
3.88961
23.8309
3.07986
26.0247
2.98687
27.3486
2.8425
27.9453
2.71493
28.1615
2.87019
28.142
2.92677
27.7525
1.62101
27.0705
1.78282
27.2152
2.11064
27.012
2.18818
26.4029
1.8859
25.4602
0.631917
24.1042
-2.24099
22.2653
0.902123
19.2441
2.40974
17.182
2.95427
16.3491
2.6406
16.1231
3.26848
17.1592
5.95411
20.3618
8.38842
22.8886
3.23154
18.8475
5.17438
19.4913
3.85116
21.1114
1.98916
22.9445
-0.460279
24.7254
-4.2864
25.2814
0.969371
21.3529
1.23407
11.7244
1.94924
2.70409
0.968288
2.44691
2.38959
2.45648
34.189
6.33692
62.4222
14.9489
58.542
20.8627
55.5605
22.6435
53.2231
22.8621
51.3881
22.5673
49.9289
22.1701
48.7139
21.8053
47.6041
21.4854
46.4501
21.1556
45.089
20.6984
43.3541
19.8948
41.1264
18.328
38.5053
15.1883
19.7145
8.95295
1.11903
2.73382
-0.402499
1.05096
-0.628932
1.00149
-0.861334
0.946393
-1.16691
1.06261
-1.48623
1.51704
-1.61832
2.49557
-0.242162
4.12573
0.96907
5.46666
1.83038
6.75108
2.37186
8.03161
2.56458
9.37824
2.39548
10.6986
1.99615
11.7315
1.49979
12.4262
0.984699
12.848
0.481385
13.0791
13.1794
-0.036619
5.1201
-0.0834596
5.2441
-0.150638
5.52842
-0.241759
6.06998
-0.319216
7.1003
-6.67859
9.20189
-14.9996
20.5023
-1.39251
19.8741
-1.46787
7.58949
-1.25552
-0.234097
-0.996471
-0.285441
-0.612782
-0.180273
-0.54212
0.190809
-0.354555
0.375008
-0.182496
0.811367
0.379005
6.77548
7.00248
13.6004
10.6583
17.1681
8.37999
15.6124
8.64
15.417
8.52639
15.1029
9.16148
14.5624
9.43273
15.4336
3.76466
12.268
1.50889
9.08353
0.554397
7.58174
-0.548227
7.03277
-3.33762
7.4955
-2.1169
8.28528
-1.82398
8.4442
-1.37537
8.29412
-0.993548
9.48592
0.123882
10.9666
0.98625
11.1596
1.49555
10.7507
7.80879
13.1194
7.04823
11.8429
6.462
10.1827
5.74808
9.47544
2.42711
9.3803
-0.12789
8.49356
0.780678
8.37127
4.354
8.05517
6.51605
7.42429
3.70371
4.86778
0.504312
3.03572
-1.90359
2.43413
-1.10324
3.36124
-0.908276
3.23991
-0.787743
2.76908
-0.688659
2.30926
-0.640004
1.92162
-0.607051
1.50333
-0.571713
1.04961
-0.223562
0.770275
0.991591
10.5104
9.19289
25.7112
10.2402
39.2387
5.77934
44.6974
1.46733
47.2173
-2.46393
46.3965
-7.36552
41.5664
-5.21949
31.8748
0.440898
15.8996
9.746
27.0507
16.7527
29.6302
27.3457
27.538
18.7523
24.9378
13.7518
23.4475
10.5593
22.6516
4.37853
22.4347
-0.0416736
22.5997
1.22431
22.1671
-8.25141
21.837
-19.1117
27.8138
-11.9009
39.2404
0.502305
37.0842
2.04011
33.4231
1.44049
30.8703
1.24146
27.37
1.75892
25.7959
1.40666
25.7241
12.9408
29.1043
16.8808
32.6137
9.66801
28.2529
6.08344
27.4111
4.40375
27.6872
3.58353
28.1581
3.05875
28.4582
2.69538
28.5062
2.48069
28.3381
2.24476
27.9719
1.76571
27.5147
1.57965
27.2332
1.50156
26.9345
1.24545
26.5277
0.529939
26.0712
-1.20699
25.7652
-5.2622
26.2758
-1.15997
29.8847
1.5768
30.7486
2.72829
30.5191
3.67668
30.5411
6.47109
31.0768
8.48095
30.5192
4.34725
25.3244
3.87537
19.9634
6.79446
20.3387
5.68429
22.2215
3.77004
24.8584
0.0957756
28.3995
-8.21499
33.5922
-8.65903
43.4002
-7.78629
48.3872
1.69206
48.6217
0.977857
33.6832
6.27004
35.4361
42.8009
34.1447
68.336
31.2294
60.3228
28.8762
55.7791
27.1875
52.9283
25.713
50.9908
24.5046
49.5642
23.5965
48.394
22.9757
47.2744
22.6052
45.9929
22.4373
44.2854
22.4061
41.7873
22.3927
37.9867
22.1287
32.27
20.9051
13.4954
16.4851
-0.563831
6.9956
-0.451969
1.49628
-0.684029
1.22893
-0.745114
0.988902
-0.712484
1.01729
-0.507701
1.35822
0.0118401
2.03554
1.09877
3.08844
2.2535
4.36382
3.1109
5.94696
3.71849
7.47735
3.88496
9.26554
3.42839
11.2097
2.69087
12.5234
1.92159
13.2483
1.21575
13.6046
0.58173
13.7627
13.8203
0.087382
5.09553
0.200861
5.19241
0.390921
5.39817
0.788564
5.7293
1.78237
6.16404
4.62178
6.43677
-15.6277
5.09964
-13.6771
24.5298
-9.29145
30.7902
-1.30686
26.2298
-0.891304
18.8057
-0.2417
15.1008
-0.357921
13.2922
0.0818047
15.0509
5.78161
17.7142
7.20393
21.2608
10.5702
21.5739
9.10261
18.606
8.18456
16.5296
8.32592
15.2756
7.98588
15.4429
10.0327
12.5156
6.26709
6.86361
0.580217
0.594049
0.00710005
0.0105616
0.00542918
0.00926091
-0.0854923
0.0166861
-2.54785
0.114129
-1.95798
2.65766
-1.97405
4.5474
-0.183571
6.50364
0.48713
8.81518
0.316884
10.8279
0.577353
11.6791
3.86422
11.3995
6.53237
11.8659
5.38796
10.1352
5.75477
9.81587
5.65293
9.57726
1.54037
8.54606
-0.250182
8.49426
0.464578
8.79123
3.72312
8.97535
3.95954
7.18792
1.87164
5.13689
-0.0972752
3.56005
-0.976475
3.43737
-1.22457
3.64184
-1.37911
3.42642
-1.24756
2.66906
-1.0763
2.16959
-1.05829
1.93589
-1.06078
1.53872
-0.851046
1.45825
9.51652
6.93905
16.1925
25.3041
22.7204
39.9912
15.6989
45.4517
8.29929
51.6888
0.646444
54.757
-7.29395
54.1314
-17.0572
50.9217
-21.1947
53.5239
11.592
56.2299
12.3255
53.8313
14.6605
45.532
24.7455
39.9706
17.2619
32.0791
12.9559
27.7485
10.3423
25.2651
4.54353
23.879
-0.474266
23.5091
0.894247
23.4854
-2.27468
23.8422
-7.68507
31.4222
-14.0571
45.611
-3.15877
61.5885
-0.512716
62.8532
-2.05984
57.1258
-0.332626
52.3591
1.68708
48.8007
4.78689
46.6782
16.4503
45.1651
12.52
36.544
8.8262
31.9466
6.35958
29.8777
4.87465
29.1719
3.88361
29.149
3.10673
29.2349
2.52731
29.0854
2.11446
28.7507
1.78757
28.2986
1.48428
27.8176
1.28094
27.4342
1.09471
27.1188
0.788958
26.8319
0.223904
26.6352
-0.696389
26.6848
-1.65325
27.2323
-0.296045
28.5263
1.34726
29.1033
2.75029
29.1156
4.21242
29.0785
5.91347
29.3753
3.28612
30.0819
-1.01376
21.8568
4.2507
19.0494
8.67731
20.0446
8.32117
22.5776
7.3111
25.8684
5.28846
30.4221
1.59306
37.2876
-3.67205
48.6654
-7.55177
67.9689
-13.2464
93.4562
2.73075
82.4651
4.9786
65.2578
39.8856
43.9627
65.9828
42.3251
58.6342
36.225
54.3046
31.5171
51.7198
28.2977
50.0828
26.1415
48.9434
24.736
48.0235
23.8958
47.1065
23.5228
45.9617
23.5825
44.272
24.0958
41.5233
25.1415
36.7631
26.889
27.85
29.8182
4.00581
24.4995
-6.06315
12.963
-0.719314
2.16323
-0.924059
1.43169
-0.716728
0.77369
-0.371548
0.652451
0.169616
0.807752
1.06474
1.19213
2.37415
1.85209
3.83663
2.96931
4.6413
5.20786
5.50668
6.67415
5.82916
9.0037
4.74202
12.3575
3.41585
13.9087
2.27781
14.4424
1.37386
14.5609
0.639397
14.5475
14.5197
0.184258
4.97298
0.406621
5.03081
0.722054
5.14183
1.2233
5.28535
2.0551
5.39231
3.28465
5.28001
3.80245
4.63356
-7.41668
3.91209
-13.8519
14.6013
-8.73095
28.4606
-4.59622
32.1132
-2.0503
33.2112
1.40077
32.601
2.74515
27.6763
9.32817
26.2767
7.51706
22.8623
7.60226
21.4714
7.0262
19.1814
6.93055
16.6252
8.49328
13.7128
5.05851
9.54582
4.38076
4.41068
-0.00248031
0.0137191
-0.0032703
0.0095895
0.00579939
0.0316329
0.0128544
0.0254625
0.0119509
0.0175911
-0.00432034
0.0179062
-0.06824
0.0420475
-0.0178148
0.41581
2.12797
4.34252
2.49989
8.4432
1.16803
11.0213
0.297749
11.9993
4.3306
11.8271
4.80171
10.1687
5.06863
9.86827
5.51616
9.36836
4.62173
8.60681
1.48857
8.33116
0.04679
8.51744
0.648691
8.5216
1.93569
8.29059
1.90851
7.21518
0.294803
6.46441
-0.219957
4.40002
-0.772001
4.22712
-1.43999
4.34206
-2.13647
4.15446
-1.74703
2.31103
-1.31001
1.76439
-1.45545
2.11367
-1.14125
1.87042
4.62976
2.27135
27.8816
20.8664
30.8796
34.1924
28.1809
42.511
21.9359
51.6428
11.3675
62.2392
0.0208151
66.0982
-10.5037
64.6452
-14.4549
54.8508
-18.4888
57.1562
9.1934
67.9393
4.02632
56.4875
9.09905
51.2549
16.854
45.2809
12.9313
35.8601
10.4725
30.2059
8.95624
26.7815
4.17365
24.6617
-0.497937
23.9165
1.25099
24.3716
5.30531
24.8484
6.50373
34.4189
1.92048
50.1942
-1.89411
65.403
-6.24013
67.1992
-6.8265
57.7121
-3.891
49.4236
-0.435475
45.3452
3.27381
42.9689
7.82916
40.6098
7.92261
36.4506
6.75723
33.1121
5.65385
30.9811
4.85172
29.9741
3.96953
30.0312
2.95722
30.2472
2.19264
29.85
1.66229
29.2811
1.30658
28.6543
1.10092
28.0233
0.965489
27.5696
0.807847
27.2764
0.592239
27.0475
0.273553
26.9539
-0.148905
27.1073
-0.359298
27.4427
0.281026
27.8859
1.35954
28.0248
2.7132
27.7619
4.50923
27.2825
6.62005
27.2645
-4.93896
26.3884
-3.82115
21.0186
5.24582
16.9944
11.2104
19.1824
11.612
22.176
11.8648
25.6156
12.1539
30.1329
12.9708
36.4706
15.6315
46.0047
17.9355
61.6947
-24.2375
71.6526
-14.4765
81.1914
-16.3165
73.5101
38.248
71.1227
59.8827
57.4443
53.9262
42.1815
51.0853
34.358
49.5636
29.8193
48.6773
27.0279
48.1031
25.3105
47.6505
24.349
47.1662
24.0076
46.4749
24.274
45.3178
25.2531
43.2708
27.1886
39.6923
30.4676
22.5313
35.3399
-7.53067
39.1516
-16.8629
38.2002
-1.45086
33.3112
-1.58206
30.5105
-0.837967
27.9882
-0.216247
26.252
0.553993
24.5184
1.7247
18.4831
3.49137
5.0533
6.07518
5.43267
6.10759
5.29358
7.83622
5.04452
9.18294
7.74486
6.29322
15.3306
3.94959
16.3247
2.39626
16.0574
1.36045
15.651
0.611673
15.3472
15.1922
0.242081
4.79156
0.517639
4.81503
0.865579
4.8522
1.33026
4.8775
1.9428
4.83847
2.63821
4.64999
3.08098
4.24261
3.27254
3.76485
0.00736553
3.34829
-5.07837
6.36688
-3.49818
13.9921
-2.66057
18.6922
-3.52393
21.6621
1.34556
22.7085
5.91377
21.6712
6.12617
18.5399
5.31232
15.2015
4.46997
11.9758
4.01818
8.7047
4.32626
4.59003
-0.0766318
0.238946
-0.0161993
0.219049
-0.0066099
0.662364
0.0187731
2.09222
-0.000370939
2.47359
0.00498292
1.79071
0.0122661
0.196352
0.019821
0.125721
0.305523
0.176164
3.90889
0.634631
6.22865
5.59688
5.07802
9.5938
2.146
11.8617
0.12557
11.9954
2.67221
11.6831
4.50124
10.7863
4.56872
9.80079
4.75461
9.18247
4.34608
9.01533
1.67485
8.68684
0.0509573
8.52151
0.417677
8.62349
0.860284
8.23601
1.15775
6.91776
-1.76959
5.67198
-0.39286
5.09521
-0.657061
4.88986
-1.62759
5.34435
-3.9799
6.53805
-2.29367
6.96942
-0.960724
4.89907
-1.69871
1.34711
-0.740316
3.94153
23.2248
16.6057
41.2076
32.6084
39.1982
35.9989
37.3127
44.3835
32.5323
56.4208
15.2266
49.9139
-1.43222
41.9457
-20.2981
42.65
-12.1495
46.701
-7.70574
52.6719
-2.25835
65.9252
-1.20625
57.2426
3.12497
51.5786
7.43331
44.9834
7.27709
35.9944
7.04805
30.4349
6.83644
26.9932
3.4285
24.7839
-0.0428933
23.9589
1.72788
24.3148
14.8757
24.6332
22.279
38.789
17.1293
45.313
-0.0979803
42.6321
-15.7272
42.8037
-15.115
46.7508
-7.96939
42.278
-2.81179
40.1876
0.914687
39.2424
3.66994
37.8545
4.58412
35.5364
4.62623
33.07
4.64687
30.9605
4.90888
29.7121
4.18552
30.7546
2.55995
31.8729
1.62377
30.7862
1.03546
29.8694
0.67559
29.0142
0.647267
28.0516
0.672228
27.5446
0.578975
27.3696
0.498649
27.1278
0.426943
27.0256
0.186478
27.3477
0.0839187
27.5452
0.419918
27.5499
1.09665
27.348
2.23376
26.6248
4.49128
25.0249
5.74392
21.6934
-10.3087
16.7422
-7.84532
19.1004
7.43376
20.2512
14.204
19.6347
15.0515
21.3284
16.3821
24.2849
18.4917
28.0232
22.5049
32.4574
31.3215
37.1882
27.8935
39.9362
-14.6988
34.8152
-22.1578
52.6795
-18.7039
56.8071
24.5696
61.6109
44.62
51.1142
46.1028
40.6986
46.5466
33.914
46.7722
29.5935
46.9599
26.8403
47.1417
25.129
47.3091
24.1821
47.4326
23.8844
47.454
24.2527
47.2533
25.4539
46.5498
27.8922
44.5646
32.453
26.3429
41.2868
-8.48204
47.6498
-21.752
50.9504
-4.25156
54.9937
-4.10437
47.2032
-2.5741
50.4511
-1.94988
51.8045
-5.4813
52.338
-11.7051
53.396
3.87074
47.3158
5.93608
40.297
5.85853
30.2333
10.5366
13.6789
16.7687
18.6544
7.28735
24.9611
3.68221
20.0361
1.98983
17.819
1.05665
16.6392
0.456727
15.9979
15.7106
0.265556
4.58562
0.554812
4.58459
0.890879
4.57363
1.29123
4.53318
1.75432
4.4319
2.23083
4.23291
2.60322
3.92162
2.85599
3.55756
3.02595
3.22058
2.54681
3.0343
1.20193
3.9674
0.309383
5.05488
-2.47758
6.03572
0.308259
9.46778
2.78253
9.43108
2.7877
6.53227
2.08664
3.72151
1.19889
1.60764
-0.0964873
0.377974
-0.0248299
0.279062
-0.0965288
4.05855
0.427116
5.53842
1.42325
6.21996
0.400138
6.23743
-0.683247
5.93167
-1.58938
5.93483
-0.0583651
5.70528
0.0702646
5.94424
0.763989
7.38689
8.87114
10.6226
10.2256
12.2186
7.34593
12.4734
2.27971
14.7066
-0.186727
12.0127
1.77542
11.5509
3.51569
10.6719
3.9504
9.36609
4.58747
8.54542
4.01759
7.7131
1.50952
7.25398
0.152931
8.54444
0.0301998
9.10918
-0.457963
8.75198
-0.0880336
6.6272
-2.34636
4.32168
-0.598212
4.93126
-0.202571
5.07326
-0.433884
5.60707
-3.54854
6.46985
-4.36402
11.5315
-4.51269
14.2388
0.895723
9.85614
11.9239
8.71348
39.2274
19.2938
44.598
26.6966
47.5828
32.984
49.3501
42.6149
26.0254
33.4289
7.25831
8.91977
-0.727889
1.26616
-16.2471
1.68043
-6.17855
21.067
5.54749
40.9445
-10.9409
51.864
-6.87029
54.0189
-3.47027
46.0775
-1.55565
39.6424
1.71758
32.7207
3.60636
28.5461
4.62716
25.9724
2.60348
24.3134
0.313044
23.5481
2.04623
23.7981
29.0316
33.0869
28.803
33.7274
14.4484
15.4693
0.0736645
1.9999
-11.7801
2.04635
-19.5878
15.0508
-10.0598
28.4139
-3.75696
33.8848
-0.473218
35.9587
1.35184
36.0295
2.11771
34.7706
2.5167
32.6711
3.39848
30.0787
5.95139
27.1592
5.30376
23.7087
1.47325
20.3807
0.707046
18.1426
0.180188
16.6335
-0.28699
15.9936
0.140315
15.7688
0.497242
15.5197
0.337147
15.2274
0.396444
14.9722
0.749074
14.7535
0.383951
14.4763
0.0885785
14.2583
0.218078
14.112
0.373389
13.8513
0.633914
13.3545
1.15978
12.4377
0.792724
10.8066
-7.95061
9.50227
-6.69445
14.0587
6.81722
17.1594
15.8977
16.8242
18.0081
19.218
20.1203
22.1726
22.9259
25.2176
27.2357
28.1475
34.0695
30.3544
22.7724
30.3791
3.16551
29.2781
-18.0302
35.501
-13.9001
39.8505
14.0729
40.2383
34.2043
42.008
39.3182
35.5845
42.2261
31.0055
44.0189
27.8005
45.2486
25.6106
46.1948
24.1831
47.0114
23.3657
47.8008
23.0951
48.6553
23.3983
49.6915
24.4176
51.1106
26.4732
53.3985
30.1654
32.7059
36.3564
-5.18144
41.2249
-17.7087
51.802
-12.042
50.8681
-0.856463
48.5376
-1.22069
49.9827
-1.41635
52
-4.42335
55.3441
-17.7853
66.7517
-3.1481
76.6691
-4.12759
79.5211
-10.6959
75.7286
15.5121
65.2518
23.0754
46.5115
2.3623
24.6947
1.4651
20.9993
0.810041
18.5313
0.415402
17.0849
0.169443
16.2936
15.9428
0.26453
4.37967
0.54385
4.36313
0.850427
4.32369
1.18996
4.24878
1.55532
4.12114
1.91954
3.92404
2.23916
3.65252
2.51901
3.32369
2.83967
2.94299
3.4799
2.43538
2.28942
1.39118
1.29022
1.09702
0.954474
1.30877
0.271563
1.59762
-0.116282
0.908423
-0.0230576
0.328713
-0.0272297
0.176868
-0.0307694
0.225489
-0.195399
1.96098
3.75466
5.9691
1.38334
9.47064
1.10866
10.5838
1.44072
10.3978
0.0943763
7.58377
-0.680088
6.70614
-1.81892
7.07366
0.180599
9.04066
1.51291
10.4193
3.99965
12.1349
10.4672
13.7059
10.4804
12.2054
9.57909
13.3748
-0.414157
12.8674
-0.648573
11.375
0.896468
10.5751
2.20986
10.1756
3.12973
8.44621
3.75515
7.91997
3.55847
7.90977
2.79997
8.66873
0.717676
8.28856
-0.326999
9.43159
-2.58275
10.7044
-2.39355
8.56746
-1.73678
5.60831
-0.456209
5.15522
0.331231
4.73632
0.428903
5.54143
1.51311
6.78759
-1.65672
8.76963
-8.89535
11.6192
-0.246934
13.5527
22.5043
10.3057
46.6302
16.052
50.8855
22.1573
57.2136
26.6424
40.1641
22.5778
1.51632
2.2272
-0.395305
1.13948
-0.313618
0.960916
3.13945
1.42003
13.699
13.4995
16.467
22.6797
-8.78595
14.9664
-14.8118
26.2786
-9.90531
29.718
-8.47736
28.7516
-2.45702
26.7004
1.03269
25.0565
2.96814
24.0371
1.83811
23.6814
0.563046
23.2019
11.3351
25.8598
29.6721
29.4585
10.5449
11.0936
0.979001
0.392048
0.120115
1.57762
1.22436
3.002
-6.22462
3.37553
-4.58896
11.3684
-1.68301
16.806
-0.402399
18.6395
0.0928829
18.9288
0.0181861
18.3482
-0.0756446
16.8317
0.47897
15.0451
2.50084
12.4555
1.97577
7.57653
-0.76486
3.61959
-0.801999
2.70062
-0.459758
1.5671
-0.511723
1.23426
-0.10886
1.69729
0.204929
1.76046
0.0820242
1.51643
0.177707
1.39671
0.471904
1.17929
0.165969
0.659429
-0.057725
0.431321
-0.0426667
0.403061
-0.123425
0.319294
-0.282867
0.261367
-0.471303
0.296888
-0.511634
0.431986
-3.39415
0.487865
-3.59373
3.69079
6.482
6.13382
18.2915
11.1147
20.9627
16.5467
23.1653
19.9698
25.8558
22.5271
29.4425
24.5608
34.0942
25.7026
21.6714
22.9863
9.38843
12.4987
-13.6806
4.51271
-13.5123
14.571
15.8425
29.2429
27.7808
30.0695
34.7392
28.6256
39.0211
26.7232
41.829
24.9924
43.8212
23.6182
45.3774
22.627
46.7408
22.0024
48.104
21.7319
49.6745
21.8276
51.7472
22.3449
54.8028
23.4178
59.5895
25.3788
37.5743
29.2951
5.39572
33.3344
-18.6426
38.9361
-14.3725
42.6471
0.58865
48.6985
0.796554
50.3203
1.92781
50.8689
6.98417
50.2878
-7.86787
48.8055
-0.296052
49.2302
-7.9201
46.8316
-21.1728
47.1184
-3.22821
54.296
1.25868
42.2089
-1.33314
26.086
-1.00287
20.7243
-0.636335
18.2162
-0.375929
16.8734
-0.181302
16.1482
15.8257
0.247984
4.18925
0.504412
4.1636
0.77552
4.10836
1.06231
4.01627
1.35823
3.87833
1.64802
3.68688
1.91033
3.43963
2.1383
3.14171
2.33206
2.79266
2.4357
2.3734
1.99526
1.87206
1.50197
1.62966
1.24333
1.6054
-0.417636
1.45329
-0.695992
2.53164
-0.174902
4.6995
0.0213909
6.46199
1.70473
8.11201
3.81272
9.59313
7.25619
10.1432
2.49655
7.19289
0.922595
6.94008
-1.3733
6.90491
-0.783254
6.99374
-0.312567
6.23547
0.148069
6.61304
1.55929
7.62942
3.22842
8.75022
5.57067
9.79262
8.96668
10.3099
11.6498
9.52224
9.0717
7.32793
-1.90649
2.71198
-1.44854
5.19961
0.497027
5.95299
0.48046
6.29298
2.60348
6.32318
3.74495
6.77847
4.31744
7.3373
2.4198
8.21208
1.8607
7.32247
0.945789
8.09299
-4.71966
8.9194
-5.3527
9.06307
-2.18987
6.69632
-0.875107
5.36239
1.13634
3.54995
1.67506
5.03598
3.49515
4.99956
1.19282
3.16034
-6.96177
2.75439
-3.494
7.37157
28.2505
12.18
52.7355
15.307
55.3706
19.4483
53.149
28.8611
19.8135
19.2462
0.428597
0.882926
-0.573866
0.166413
0.145493
1.08719
15.2189
9.47341
22.8792
19.7969
8.75375
15.0256
2.52626
5.83113
-11.3723
2.78432
-10.8717
11.3492
-10.5286
18.0253
-4.10088
20.2727
0.0132561
20.9425
2.61239
21.438
1.35869
23.6345
3.22092
22.6438
14.9337
25.3444
11.3072
16.4326
-0.156672
4.32029
2.16457
4.02503
1.54449
4.37143
1.59789
3.7955
1.76828
3.22201
0.84859
2.24473
0.150533
1.6482
-0.113097
1.44099
-0.48772
1.38866
-1.49836
1.71116
-1.86224
1.47256
-2.11062
0.750939
-2.37812
0.696195
-1.98117
0.874157
-1.68383
0.855307
-1.93552
1.13307
-0.7926
1.12782
-0.0486896
0.32303
-0.0456984
0.0999445
-0.0391004
0.00578369
-0.0376878
0.012793
-0.039714
0.0151098
-0.0479603
0.0192935
-0.0621398
0.0287567
-0.0859843
0.0412465
-0.126434
0.0539713
-0.181351
0.0715041
-0.247346
0.0852463
-0.336204
0.107577
-0.455755
0.150741
-0.19122
0.223331
-1.1507
0.216013
11.4629
1.21731
23.7235
10.0469
24.3857
15.8845
25.7226
18.6328
27.8895
20.3601
30.5844
21.8659
31.378
24.9091
11.1838
18.3614
1.4024
7.52175
-3.62231
4.81615
1.15958
7.4931
16.6691
14.8635
26.3369
20.4014
32.8368
22.1251
37.2904
22.2692
40.4547
21.8277
42.83
21.2427
44.7529
20.7041
46.4702
20.2851
48.1997
20.0022
50.1918
19.8352
52.82
19.7166
56.7638
19.4739
63.5058
18.6365
41.6136
15.7159
10.9974
10.0869
-14.9315
4.07882
-8.32118
17.4564
2.21046
26.1258
1.34513
27.4749
1.34674
26.0342
5.50186
21.8619
-7.44317
12.0105
-2.69467
12.3125
-7.63327
7.10844
-13.9951
9.16326
-15.3154
13.638
-14.8642
14.3387
-6.69493
18.0042
-3.5109
17.6063
-1.97911
16.7396
-1.10116
16.0457
-0.503829
15.601
15.3876
0.222327
4.02348
0.449172
3.99268
0.68343
3.929
0.924381
3.82876
1.16677
3.68791
1.40077
3.50368
1.61242
3.27638
1.78926
3.01059
1.91279
2.71264
1.93436
2.39368
1.75286
2.09417
1.4777
1.94437
1.09123
2.03023
0.660708
2.57354
1.47187
4.07753
1.58759
5.25947
1.6714
6.47764
3.18585
7.3756
4.36276
6.58728
4.30591
4.34139
2.24375
1.81387
0.887416
0.956967
-1.28447
1.13084
-1.54152
3.17162
0.0650047
4.62893
1.16445
5.5136
2.68008
6.1138
4.27082
7.15946
6.08791
7.97552
8.17907
8.21867
9.45548
8.2458
4.45574
4.15368
0.581151
0.697598
-0.695168
0.522397
0.837017
1.79296
0.510661
2.13808
3.05878
4.12836
4.30379
5.53342
5.19222
6.44889
1.53019
5.49438
2.63122
4.62472
1.77221
3.51305
-4.576
2.04185
-7.71945
5.80511
-3.52379
9.81393
-2.68755
8.47325
2.62238
7.49075
1.63863
6.05372
1.65594
5.01487
0.786869
4.06047
-2.34458
3.67303
1.31438
5.54348
31.3776
8.00476
56.8768
8.92344
64.7834
11.516
43.5341
10.7213
1.45022
2.72806
-0.287916
1.87732
0.346911
1.48406
8.53171
1.6188
25.5424
9.18592
18.1079
11.1962
-0.440754
2.85959
-0.520546
3.30792
-2.80742
2.91171
-4.19563
5.88387
-8.28124
10.5086
-3.43105
15.4225
0.508767
17.0028
4.80888
17.138
0.367936
15.2773
5.92157
14.0473
6.02185
10.2562
-0.805029
4.29855
-0.451923
3.97602
2.51097
4.46869
0.968563
2.86789
1.0244
1.88041
0.791009
1.17306
0.252052
0.38916
-0.0566732
0.0995967
-0.165424
0.127837
-0.165218
0.221646
-1.73697
0.234748
-2.58386
0.804868
-2.16537
0.954711
-2.20016
0.916985
-2.00002
1.07537
-1.40607
1.27448
-1.94077
1.13479
-1.59739
1.54837
-0.271775
1.20933
-0.139859
0.39015
-0.0320911
0.0253538
-0.035371
0.0160714
-0.0355303
0.0152688
-0.0384971
0.0222599
-0.0496499
0.0399097
-0.0732595
0.0648564
-0.108902
0.089614
-0.167609
0.130214
-0.225015
0.142654
-0.29304
0.175604
-0.383166
0.240868
-0.198538
0.412563
-0.149401
0.558557
20.2925
13.1767
29.5611
20.3647
27.134
18.3114
27.4499
18.3169
29.3953
18.4148
33.6275
17.6339
24.8304
14.0341
0.344134
5.9316
-1.3032
5.78955
-0.945358
4.82158
8.53001
5.45585
22.207
9.49937
28.0605
14.5476
32.9809
17.2044
36.8488
18.4011
39.8697
18.8066
42.2914
18.821
44.3339
18.6616
46.1874
18.4314
48.0327
18.1565
50.0732
17.7944
52.5773
17.2122
55.9265
16.1243
60.5852
13.977
35.9846
9.80145
4.98937
5.79849
-1.55397
4.28046
0.348216
7.30071
3.55962
7.33749
-0.0956614
3.26843
-2.82555
1.83423
-4.34953
2.11489
-7.14119
2.74964
-7.89869
4.72028
-5.57845
5.23839
-9.52034
4.15945
-14.6147
5.72221
-11.1986
10.9775
-7.09285
13.9811
-4.37755
14.958
-2.67309
15.0914
-1.54584
14.9693
-0.717189
14.8237
14.738
0.191534
3.88749
0.385486
3.85371
0.583189
3.78532
0.783534
3.68104
0.982541
3.53993
1.17347
3.3623
1.34663
3.15073
1.49131
2.91122
1.59383
2.65356
1.63486
2.39457
1.60306
2.16671
1.56356
2.02361
1.63453
1.99797
2.1647
2.08196
2.65381
2.03663
2.80575
2.15029
2.56937
1.63334
2.39753
1.06642
2.11687
0.511142
1.77839
0.132996
1.38684
-0.00331299
1.06129
0.133962
0.756311
0.411839
-0.0842089
0.633183
0.949666
1.79598
1.76466
2.64884
3.72574
4.1527
5.08688
5.79832
6.33105
6.73133
8.20621
6.34351
5.36336
3.19678
0.999655
-0.370186
0.40595
0.184687
0.575399
0.507595
1.18214
1.01294
2.50094
1.73153
4.46383
2.27291
5.21926
2.50392
4.2377
1.89151
0.660529
-0.011866
1.51955
0.856864
0.301007
0.0451101
-0.812743
0.412598
-3.71063
1.91718
-4.86447
5.83235
-3.67005
8.20321
1.18535
8.96986
0.599785
5.59752
0.701538
4.94451
0.399425
4.39361
-0.474136
4.13112
3.77566
4.75509
32.2962
5.15963
59.4693
6.25962
63.9887
6.97404
35.5408
5.28207
0.599483
2.47525
-0.681171
2.7779
0.481649
2.60292
16.0988
3.14145
27.5527
12.9625
9.7713
10.4945
0.0075684
1.43731
-0.916755
1.20172
0.164738
2.02415
0.429127
2.50775
-3.36734
2.50009
-1.85077
5.95039
0.643954
7.52607
2.94819
6.40213
-0.862066
2.74638
2.13046
3.06313
0.0642317
0.598265
-1.12756
0.407038
0.0407504
1.41562
0.910164
1.51427
-0.0189206
0.560821
0.317046
0.502148
0.00711124
0.120387
-0.0375112
0.0811249
-0.0284327
0.0905191
-0.0716151
0.106153
-0.152116
0.200061
-1.16685
0.265764
-2.43402
1.09326
-2.20309
1.65465
-2.04178
1.64885
-1.80091
1.8675
-1.54575
2.23281
-1.52719
2.00736
-1.93643
1.89383
-1.09095
1.92494
-0.504656
1.02903
-0.0413735
0.486052
-0.0361736
0.204868
-0.0285392
0.166041
-0.0208473
0.286598
-0.0247032
0.746571
-0.0485019
1.35869
-0.0683022
1.26779
-0.155169
0.217081
-0.192065
0.179552
-0.227776
0.211316
-0.211471
0.388057
-0.0525445
0.698116
12.4687
12.0494
27.4806
22.8327
27.5078
20.3374
27.1395
18.6798
27.5478
17.9086
28.6145
17.3482
30.0277
16.2207
16.7278
12.1421
0.202082
4.73255
-2.27116
4.51213
-0.311094
4.64966
12.5735
4.5373
27.2552
7.0713
30.7174
11.0851
34.1777
13.7438
37.2543
15.3242
39.8841
16.1766
42.132
16.5731
44.1037
16.6899
45.9124
16.6223
47.6707
16.3977
49.491
15.9736
51.4895
15.2133
53.7791
13.834
56.4097
11.3459
31.9816
7.10937
3.47134
3.75932
1.46628
2.85612
0.385003
1.74531
-0.509439
1.29508
-1.52987
1.09665
-2.54489
1.1186
-3.71478
1.30022
-5.17055
1.72712
-7.38058
2.57151
-6.65739
4.56739
-7.95759
5.5114
-9.35938
7.17669
-8.19511
9.87032
-6.11594
11.9735
-4.24413
13.1493
-2.79521
13.6977
-1.69143
13.9166
-0.802847
13.9879
14.0048
0.157753
3.78429
0.317095
3.74839
0.478915
3.67664
0.642424
3.56937
0.804908
3.42767
0.961902
3.2539
1.10712
3.05228
1.23365
2.82959
1.33484
2.59563
1.40699
2.3643
1.45997
2.1545
1.53792
1.98549
1.71851
1.85626
2.11937
1.71939
2.76747
1.42519
2.2888
0.717713
2.00246
0.403333
1.84225
0.254532
1.73872
0.175055
1.64208
0.137142
1.52412
0.148379
1.33917
0.23322
0.977656
0.454129
1.07859
0.996433
1.80252
1.53842
3.26852
2.25198
5.37137
2.28141
6.01989
2.69351
5.94323
3.50263
5.05948
1.29577
1.79639
-0.557777
1.55453
-0.873694
0.728858
-0.527175
1.08074
0.36127
1.90073
1.08011
3.04232
1.54219
4.69484
0.324347
4.60685
0.225465
2.33432
0.19718
1.52926
-0.632849
0.707801
-0.448595
0.668495
0.113918
0.691837
0.472833
0.204536
0.620034
-2.49361
0.937567
-2.9034
3.64725
-2.18699
5.70154
-0.0532159
5.47401
0.150637
4.7716
0.136931
4.43832
0.14984
4.29165
4.1802
4.44639
33.3962
4.64966
60.1838
4.98965
62.2968
4.84146
32.734
3.48328
0.902133
2.1649
-0.856148
2.08743
1.02018
2.52092
25.9199
11.1457
25.0847
13.503
0.714128
2.32319
-0.228019
1.71556
-0.094325
1.31669
0.648332
1.32048
0.421473
0.818978
0.0829574
0.614343
-0.275086
0.422171
-0.479988
0.407519
-0.707566
0.475987
-0.545318
0.644392
-0.334401
0.49126
-0.126996
0.390837
-0.118977
0.289323
0.139402
0.353891
-0.0432871
0.148543
-0.0775937
0.111766
-0.0647156
0.0893313
-0.0321504
0.0878124
-0.028117
0.0770883
-0.0127987
0.0751997
0.0222927
0.0710613
-0.0864129
0.0460702
-0.339352
0.0899887
-1.87262
0.317186
-2.20889
0.879251
-1.82313
1.2631
-1.4356
1.47996
-1.77121
1.46408
-1.64072
1.71463
-1.90532
1.70014
-1.98686
1.90845
-1.04764
2.37732
-0.322557
3.16924
-0.0750007
3.3353
0.0920179
3.53713
0.439126
4.64214
0.587417
4.75791
-0.139402
4.83117
-1.11901
4.70746
-0.192698
3.4165
-0.160301
1.80282
-0.0510355
1.04304
0.0985891
1.44498
11.2987
12.6034
23.252
22.4167
24.9853
21.0994
25.8502
19.4725
26.3682
18.1619
26.9875
17.2895
27.4869
16.8489
25.9491
17.7586
9.31825
12.519
-0.0183342
4.38229
-2.13364
2.52105
-0.423458
2.54767
15.1075
3.28116
31.269
5.63315
33.376
8.97798
35.758
11.3617
38.1067
12.9752
40.2807
14.0026
42.2488
14.605
44.036
14.9024
45.6878
14.97
47.2466
14.8384
48.7307
14.4891
50.1101
13.8333
51.291
12.6524
52.1732
10.4636
28.6316
6.37196
2.56813
3.00639
0.35548
2.53167
-0.0652317
2.1659
-0.707873
1.93102
-1.50791
1.86903
-2.36327
1.99212
-3.28788
2.28925
-4.32616
2.82319
-5.3847
3.68273
-5.71338
4.9485
-6.2923
6.1426
-6.66575
7.60329
-6.0919
9.35317
-4.94014
10.8853
-3.69577
11.9639
-2.57635
12.632
-1.62006
13.0115
-0.78594
13.2085
13.291
0.121856
3.71601
0.245346
3.678
0.371647
3.60262
0.500719
3.49136
0.631141
3.34673
0.760282
3.17258
0.884424
2.97425
0.999695
2.75877
1.10351
2.5348
1.19719
2.31236
1.29096
2.10144
1.4087
1.90755
1.58164
1.72226
1.82517
1.51394
2.06
1.22725
1.97442
0.839001
1.85366
0.559313
1.76277
0.380223
1.70081
0.271246
1.65332
0.21825
1.60896
0.225838
1.56008
0.314695
1.51996
0.526506
1.62058
0.927782
2.51608
1.55306
3.29795
1.98687
5.78347
0.954246
6.829
1.10616
3.73637
0.547462
3.20593
-0.945401
1.48048
-1.26763
1.90105
-0.474966
1.6173
-0.216917
1.79958
0.234047
2.36281
0.602082
1.82448
0.66141
4.59596
1.43904
4.57857
0.271094
1.50429
-1.05867
1.71351
-0.245679
1.27031
0.0149787
1.02741
0.381276
0.839038
0.714939
0.522069
0.98145
0.21607
1.26236
-0.849113
1.46221
-2.41452
2.13864
-0.75563
3.84606
-0.182641
4.22952
-0.00973534
4.29642
0.304576
4.29804
4.38347
4.33501
33.7362
4.41498
60.0356
4.44937
60.9386
3.91627
31.4156
2.53456
0.824666
1.17842
-0.422656
0.246465
9.64496
1.60798
28.2771
10.7577
13.9049
9.52638
0.106506
1.16331
-0.626887
1.40025
-0.0905342
1.38293
0.146825
1.12723
0.216838
0.780059
-0.109214
0.365617
-0.289738
0.191469
-0.41152
0.13251
-0.539161
0.143243
-0.698451
0.207447
-0.434825
0.227629
-0.22851
0.184515
-0.0544084
0.11522
-0.065947
0.0391441
-0.0800639
0.0209451
-0.100028
0.0271722
-0.0662345
0.0555279
-0.0428746
0.0644471
-0.0300056
0.0642159
-0.016937
0.0621293
-0.00269843
0.0568211
-0.0424944
0.0467476
-0.112155
0.0536913
-1.31055
-0.0157299
-1.82504
0.107614
-1.60627
0.537288
-1.45147
1.3065
-1.52066
1.49298
-1.65521
1.3242
-1.69702
1.55326
-1.51798
3.10783
-0.255718
4.75103
-0.156497
5.98211
0.126826
6.26707
1.19703
5.85679
0.554894
4.86955
0.660671
4.10473
-0.263109
3.53735
-2.40998
3.8618
-1.80637
7.8873
-0.920084
13.3973
0.35091
19.5661
11.257
21.5026
21.112
25.0581
21.9347
21.594
23.3584
19.6757
24.5396
18.2915
25.4958
17.2058
26.5468
16.2386
28.3967
14.9992
20.7095
12.5311
1.18156
6.29186
-1.87957
4.99534
-2.10702
4.55866
0.310031
4.65314
17.4595
4.10954
34.6139
5.50939
35.7598
7.83194
37.3715
9.74979
39.1342
11.2124
40.8831
12.2539
42.5462
12.9418
44.1036
13.3446
45.5563
13.5168
46.8974
13.4969
48.0749
13.3112
48.9292
12.9785
49.1022
12.4793
48.0815
11.4846
25.266
7.76221
2.09341
3.32492
-0.0102896
2.56731
-0.300112
2.45553
-0.769864
2.39482
-1.38482
2.45427
-2.06615
2.67096
-2.75394
3.04148
-3.46662
3.59948
-4.11893
4.38979
-4.51929
5.40168
-4.83161
6.50745
-4.91587
7.74079
-4.55976
9.05255
-3.86152
10.2455
-3.02767
11.1858
-2.19683
11.8537
-1.42311
12.2896
-0.703387
12.5456
12.6628
0.0838397
3.68481
0.169973
3.64405
0.260379
3.56365
0.356087
3.44592
0.456995
3.29458
0.561953
3.11474
0.668942
2.91276
0.775731
2.69596
0.881064
2.47213
0.986271
2.24867
1.09707
2.0312
1.2234
1.82092
1.37332
1.61125
1.53848
1.38683
1.67175
1.13106
1.69473
0.852252
1.67457
0.615117
1.6538
0.436142
1.64781
0.311909
1.66091
0.239369
1.69782
0.222697
1.77189
0.273916
1.92124
0.40997
2.24586
0.63586
2.94988
0.881346
2.26533
0.854169
5.93539
1.8226
6.27031
0.278672
2.24351
-1.63752
2.8837
-0.661042
2.27314
-0.628386
2.1591
-0.332347
2.06827
-0.0977094
2.16762
0.164454
2.42214
0.390867
2.60211
0.51918
3.42801
0.652225
3.24881
0.224188
2.31728
-0.105887
1.97417
0.118013
1.63661
0.373382
1.36107
0.679241
1.10555
1.00127
0.802976
1.32665
0.415925
1.67931
-0.172681
2.09338
-0.707109
2.70378
-0.372168
3.54189
-0.115743
4.00399
-0.00811456
4.21979
0.341546
4.30434
4.46343
4.31592
33.7706
4.31325
59.5025
4.48546
59.5569
3.83908
30.0595
2.9204
-0.107288
2.36435
0.938854
2.36385
18.7947
2.66932
27.0458
6.41268
5.54182
4.39786
0.343444
0.931797
-0.644209
0.793334
-0.346235
1.10885
-0.200344
1.04015
-0.197604
0.781471
-0.283362
0.448663
-0.348697
0.256783
-0.400787
0.184594
-0.474958
0.21741
-0.678268
0.410752
-0.477938
0.391907
-0.297805
0.0577694
-0.130484
-0.0521023
-0.084146
-0.0071971
-0.0738368
0.0106315
-0.0716725
0.0250023
-0.0573153
0.0411654
-0.0431058
0.0502331
-0.0320922
0.053199
-0.0222452
0.0522802
-0.0127719
0.0473462
-0.0355508
0.0373474
-0.181576
0.0542299
-1.18721
-0.105576
-1.39537
0.202844
-0.837063
0.581693
-1.26499
0.63227
-1.68943
1.09661
-1.42615
1.62198
-0.142449
3.5615
0.12522
5.70131
0.975368
6.86365
0.128458
6.82893
-0.283459
6.67884
0.209797
5.17219
-0.209928
1.51283
0.0932923
1.14149
0.0613384
1.64554
1.61552
4.25535
3.70366
10.3828
5.24867
17.6363
2.28741
24.536
14.8125
28.6385
17.6479
22.2227
20.0164
19.2257
21.9742
17.718
23.454
16.8118
24.5286
16.1314
25.3074
15.46
25.9286
14.378
14.4703
10.872
-0.114959
3.85129
-2.31625
3.84909
-2.01254
4.54238
-0.233568
5.42007
18.8594
5.15104
36.9364
5.63538
37.6776
7.0906
38.8341
8.59326
40.1756
9.87104
41.571
10.8585
42.9489
11.5635
44.2758
12.0172
45.5364
12.2559
46.7117
12.3213
47.7422
12.2803
48.43
12.2904
48.1075
12.8018
44.3592
15.2329
20.8287
11.3055
1.3358
3.80491
-0.122073
2.70035
-0.360822
2.69412
-0.710413
2.74049
-1.16814
2.88639
-1.69562
3.17
-2.19594
3.59363
-2.67631
4.15147
-3.10704
4.87907
-3.41352
5.76183
-3.59827
6.74491
-3.60411
7.7996
-3.3668
8.86933
-2.92127
9.85515
-2.35975
10.6776
-1.76095
11.3066
-1.1671
11.7482
-0.586186
12.0239
12.1553
0.0430823
3.69345
0.0895698
3.64887
0.142657
3.56115
0.204747
3.43334
0.277154
3.27024
0.359969
3.07838
0.452144
2.86548
0.551898
2.63969
0.657606
2.40869
0.7688
2.1787
0.886791
1.95353
1.01373
1.73352
1.1489
1.51488
1.28271
1.29104
1.39294
1.05805
1.4576
0.824092
1.49559
0.613032
1.52956
0.43757
1.57527
0.301126
1.64424
0.204879
1.74903
0.15194
1.90794
0.148616
2.14712
0.203955
2.49134
0.324408
2.92271
0.482596
3.23376
0.574897
4.39146
0.696703
4.35411
0.0916744
3.21999
-0.473354
2.91635
-0.327389
2.56918
-0.251262
2.39373
-0.127071
2.33043
-0.00476852
2.39403
0.130335
2.55045
0.264673
2.73516
0.365735
2.99998
0.421589
2.91873
0.332936
2.54118
0.296924
2.22954
0.45582
1.94247
0.687794
1.6831
0.966794
1.43092
1.28529
1.15564
1.64396
0.829991
2.04909
0.437722
2.51598
0.131002
3.05093
0.089929
3.61375
0.100057
4.02473
0.0764335
4.27439
0.353123
4.39479
4.46076
4.64915
33.9428
5.87672
58.8561
5.4661
58.6382
4.03423
29.5035
3.48213
-0.107796
3.42297
1.24433
4.03701
22.538
3.90096
25.031
3.57586
2.07576
1.57116
0.204981
1.16707
-0.328698
1.12284
-0.414926
1.1922
-0.459028
1.12174
-0.530412
0.844898
-0.475242
0.393018
-0.420886
0.202399
-0.367971
0.13166
-0.281616
0.13104
-0.697113
0.177674
-0.812076
0.324507
-0.407677
0.221804
-0.0855789
0.0339057
-0.0663174
-0.0264606
-0.059466
0.00377753
-0.0555094
0.0210425
-0.0482477
0.0339003
-0.0401398
0.0421224
-0.033011
0.0460685
-0.0271793
0.0464478
-0.0227707
0.0429377
-0.0186682
0.0332403
-0.341382
0.0137183
-0.878791
0.0624637
-1.01652
0.175914
-0.786487
0.360791
-0.800653
0.588545
-1.16406
0.77629
0.513371
3.2802
1.99737
5.78733
1.28755
6.41106
0.940655
7.21039
-0.021639
7.79103
-1.7901
8.44714
-3.44956
9.4647
-0.58127
9.90426
0.597341
9.7721
2.67114
10.3489
7.74294
10.0048
10.9572
10.4266
12.1483
11.0892
6.39
12.2872
8.39667
16.5094
14.651
15.9684
18.5086
15.3681
21.068
15.1587
22.7736
15.1063
23.8572
15.0479
24.2254
15.092
22.4225
16.1809
7.44963
10.2254
-0.117154
3.16618
-1.62296
1.94738
-1.13485
3.0142
-0.502595
3.67882
19.3437
4.20415
38.3916
4.82947
39.1803
6.30197
40.1119
7.66171
41.1631
8.81991
42.276
9.74546
43.4026
10.4365
44.5146
10.9049
45.6018
11.1686
46.6707
11.2522
47.7523
11.1985
48.9414
11.1012
50.5387
11.2044
40.4318
12.219
13.3281
7.35816
0.231245
2.57881
-0.128307
2.83473
-0.31445
2.88017
-0.564509
2.98863
-0.884531
3.1901
-1.27199
3.51398
-1.6381
3.9759
-1.94871
4.53965
-2.22428
5.22101
-2.43043
6.02395
-2.54359
6.91119
-2.53438
7.84301
-2.38098
8.76878
-2.09878
9.62597
-1.73078
10.3615
-1.31933
10.9465
-0.891384
11.3739
-0.454827
11.6496
11.7837
-0.0014951
3.74581
0.00185228
3.69598
0.0148396
3.59795
0.0416497
3.45527
0.0852948
3.27395
0.147067
3.06238
0.226359
2.83045
0.32089
2.58811
0.427616
2.34379
0.543632
2.10354
0.666781
1.8704
0.795091
1.64449
0.925069
1.4235
1.04971
1.2043
1.15899
0.985958
1.24654
0.773082
1.32013
0.575404
1.39312
0.40003
1.47902
0.250183
1.5913
0.127111
1.74571
0.0315983
1.96328
-0.0352303
2.26758
-0.0668624
2.64953
-0.0244734
3.01501
0.149715
3.35557
0.266587
3.78643
0.297901
3.78908
0.120471
3.36596
-0.0189236
2.99248
0.0771918
2.69337
0.0787813
2.51604
0.081025
2.46553
0.0763007
2.52837
0.0978634
2.65151
0.171696
2.79101
0.25628
2.91132
0.331434
2.88272
0.390967
2.70008
0.508375
2.46151
0.723089
2.22147
0.956663
2.0016
1.21604
1.78959
1.52895
1.56077
1.91258
1.29689
2.36425
0.972671
2.86298
0.693821
3.37433
0.500912
3.84006
0.349715
4.20712
0.196836
4.45822
0.607476
4.5973
5.68834
4.97047
33.5322
3.25292
57.4242
2.15385
58.0861
3.35289
29.4443
3.60829
0.506244
3.7407
1.10828
4.11533
22.2129
4.24651
23.0263
3.03188
1.67167
1.75329
0.160754
1.48295
-0.259342
1.38473
-0.48538
1.40227
-0.735873
1.37112
-0.982292
1.08781
-0.665861
0.976877
-0.491625
0.392056
-0.368591
0.121877
-0.234982
-0.0292482
-0.55028
-0.0315974
-0.91478
0.00558866
-0.595575
0.0497513
-0.145945
0.0249307
-0.0360793
-0.00139714
-0.042201
0.00989882
-0.0426516
0.0214923
-0.0400256
0.0312734
-0.0361938
0.0382902
-0.0326317
0.0425063
-0.0306894
0.0445055
-0.0324681
0.0447213
-0.0381902
0.0389721
-0.292636
0.0270909
-0.76534
0.149387
-0.831644
0.193572
-0.558733
0.172385
-0.612908
0.554753
1.33984
2.64135
3.0205
5.39817
2.6211
6.18664
2.08688
6.94512
1.5213
7.77579
0.634465
8.6777
-0.772539
9.85401
-3.01001
11.7021
-0.713423
15.1679
1.17416
16.96
2.32701
17.3888
8.16473
15.8682
11.6198
14.7814
13.3463
12.3651
10.6122
11.019
7.85566
8.05338
14.0506
8.82147
18.2993
11.1195
21.0157
12.4424
22.7152
13.4069
23.9013
13.8619
25.3143
13.6789
16.4671
10.6844
0.390412
2.45602
-1.33596
2.12964
-0.556133
2.41575
-0.470233
2.49837
0.0227372
2.70343
19.969
2.77999
39.8641
3.95648
40.54
5.62617
41.2701
6.93178
42.0887
8.00132
42.9671
8.86683
43.8709
9.53246
44.7782
9.99765
45.6855
10.2614
46.6169
10.3206
47.6551
10.1602
49.0445
9.71174
51.5533
8.6953
35.5709
6.01848
8.54876
2.93321
0.487163
2.78274
-0.0828654
2.93778
-0.205988
3.00326
-0.363037
3.14498
-0.560651
3.38025
-0.810073
3.72755
-1.07435
4.20739
-1.26734
4.79569
-1.42134
5.45461
-1.54319
6.20791
-1.61176
7.0344
-1.60862
7.89243
-1.52378
8.73589
-1.36321
9.51693
-1.14577
10.195
-0.891941
10.7441
-0.615669
11.1529
-0.320757
11.4206
11.5518
-0.0513175
3.84718
-0.0961831
3.79057
-0.12784
3.67874
-0.139672
3.51535
-0.126277
3.30751
-0.0848548
3.06627
-0.0159801
2.80528
0.076563
2.53786
0.187366
2.27432
0.310497
2.02084
0.440871
1.77968
0.574097
1.55022
0.705869
1.33003
0.831372
1.11645
0.946111
0.908222
1.04886
0.706724
1.14476
0.515333
1.24327
0.33681
1.35595
0.1723
1.49579
0.0215975
1.67888
-0.117319
1.93165
-0.253397
2.30997
-0.408613
2.82372
-0.499267
3.13188
-0.124174
3.38688
0.0444117
3.609
0.108305
3.64969
0.111872
3.46207
0.200508
2.99407
0.576984
2.69562
0.408874
2.51131
0.296814
2.4871
0.131837
2.6022
0.0139316
2.73609
0.0688219
2.86616
0.156991
2.97086
0.257181
3.00013
0.391782
2.91479
0.623408
2.69509
0.972046
2.48084
1.19975
2.31452
1.41112
2.17322
1.70014
2.01243
2.10879
1.79562
2.63063
1.48403
3.20392
1.15955
3.73338
0.86797
4.16807
0.600814
4.50645
0.335919
4.75406
0.980643
4.90226
3.97079
4.92968
32.4332
3.92093
58.6233
3.41089
58.3415
3.52737
29.5767
3.7028
0.880873
3.91035
1.23946
4.21239
20.9983
4.28216
21.7477
3.55169
1.40133
2.50862
0.0625333
1.73454
-0.241798
1.62647
-0.516532
1.66531
-1.01918
1.86509
-1.09323
1.61181
-1.25068
1.34788
-0.761803
0.911354
-0.519717
0.210339
-0.237331
-0.294889
-0.513094
-0.398773
-0.870617
-0.363664
-0.620396
-0.164363
-0.172273
-0.0365564
-0.0247834
0.0108857
-0.0306075
0.0157251
-0.0328705
0.023757
-0.0330088
0.0314139
-0.0319776
0.0372614
-0.0306325
0.0411616
-0.0304736
0.0443448
-0.0382173
0.0524668
-0.0500714
0.0565404
-0.170341
0.0796281
-0.721155
0.308088
-0.852831
0.441015
-0.176365
0.431045
1.47369
0.501453
4.09667
3.86853
3.80897
5.68583
3.37958
6.61592
2.91755
7.40701
2.4232
8.27002
1.81078
9.29003
1.07552
10.5892
0.455817
12.3217
1.0787
14.5449
1.60292
16.4357
0.806433
18.1852
7.07796
21.1022
9.20352
19.3048
12.0002
14.5845
7.6466
9.40565
8.62376
7.88112
16.3486
11.6998
19.6222
13.0869
21.9802
10.0844
23.1701
12.217
23.7184
13.3136
22.3198
15.0775
8.23864
9.43344
0.0640258
1.86147
-1.04985
1.19081
-0.473515
1.83935
-0.265169
2.04775
0.0992918
2.15164
21.1455
2.12298
41.5338
3.78862
41.8456
5.31446
42.3396
6.43798
42.9542
7.38672
43.6327
8.18821
44.3361
8.82928
45.042
9.29203
45.7447
9.55869
46.4564
9.60885
47.2066
9.41004
48.0281
8.89015
48.8765
7.84663
32.4856
5.62738
8.3983
4.19498
0.642206
3.29827
-0.0173848
2.9789
-0.0642766
3.05015
-0.127758
3.20826
-0.21336
3.4634
-0.330231
3.82683
-0.486043
4.31183
-0.60843
4.9234
-0.66803
5.60069
-0.716699
6.33267
-0.753739
7.13105
-0.765153
7.95749
-0.742746
8.76503
-0.685151
9.50985
-0.596668
10.1567
-0.48315
10.6823
-0.347963
11.075
-0.189527
11.3325
11.4584
-0.107932
4.00443
-0.20801
3.93969
-0.291231
3.81054
-0.347511
3.61952
-0.36752
3.37431
-0.345844
3.08981
-0.283399
2.78642
-0.186981
2.48347
-0.0661116
2.19436
0.0693379
1.92528
0.211412
1.67682
0.353908
1.44627
0.492284
1.22957
0.623145
1.02288
0.744613
0.82342
0.857468
0.629937
0.966233
0.442065
1.07876
0.259232
1.20525
0.0802346
1.35687
-0.0956903
1.5428
-0.267591
1.77643
-0.449229
2.21931
-0.808289
3.19881
-1.43599
3.30047
-2.04617
3.45077
-1.6633
3.61257
-0.548131
3.73832
0.693893
3.83855
1.84667
2.82596
1.62574
2.58356
0.68492
2.34634
0.566441
2.36919
0.140358
2.65709
-0.241622
2.82426
-0.0669281
2.96635
0.0462546
3.10546
0.149834
3.23175
0.297526
3.26343
0.623911
2.92279
1.34445
2.69222
1.46064
2.60354
1.52867
2.58186
1.74996
2.53427
2.18661
2.3689
2.83717
2.01349
3.59756
1.59424
4.17882
1.20635
4.59098
0.848427
4.8979
0.48412
5.14947
1.00806
5.34485
2.96204
5.80291
31.9231
5.24556
58.7397
4.27279
58.5169
3.61954
29.7843
3.7111
1.18291
4.12836
1.30924
4.29605
20.2678
4.20733
20.7047
3.41043
0.627246
2.20756
-0.0455366
1.87286
-0.202965
1.82441
-0.316743
1.77309
-1.27246
1.66263
-1.35716
2.12178
-1.68721
1.73936
-1.46282
1.30112
-1.02495
0.0303252
-0.341215
-0.586243
-0.477984
-0.382512
-0.671317
-0.240508
-0.492589
-0.141735
-0.124831
-0.0694517
-0.019944
0.0190759
-0.0225757
0.0183617
-0.0252135
0.0263991
-0.0271613
0.0333666
-0.0280774
0.0381839
-0.0274494
0.0405389
-0.0223516
0.039243
-0.0341437
0.033045
-0.0269837
0.0702374
0.0581188
0.345993
-0.588228
1.57503
-0.862801
2.50807
-0.105957
2.90842
4.84077
6.03055
5.91396
7.35729
4.73906
6.86063
4.17067
7.1842
3.78057
7.79703
3.44321
8.60735
3.10993
9.62329
2.80802
10.8911
2.67907
12.4506
2.96951
14.2544
3.35243
16.0528
3.7234
17.8143
5.28058
19.545
4.48317
20.1022
6.82138
21.0468
6.12206
18.762
12.4424
19.6002
17.7357
20.3623
16.6196
18.0695
24.1129
15.6115
24.2667
12.0632
25.4823
12.0979
16.6757
9.90387
0.666672
2.43473
-0.606637
1.83843
-0.401305
1.55774
-0.265112
1.70314
-0.161279
1.79617
0.0706256
1.93568
22.8112
3.34499
43.0597
5.09436
42.9691
5.40517
43.2884
6.11884
43.7557
6.91952
44.2738
7.67028
44.7988
8.30462
45.3087
8.78238
45.7949
9.07238
46.2576
9.14613
46.6867
8.98101
46.9846
8.59216
46.6572
8.17395
31.0532
8.70165
7.50159
6.56147
0.322836
3.21245
0.0538628
2.93491
0.0938379
3.01017
0.127373
3.17467
0.150078
3.44005
0.154764
3.81633
0.125531
4.31032
0.0688581
4.9295
0.0639493
5.65301
0.0816855
6.41021
0.0726978
7.21324
0.0423884
8.04583
0.00207212
8.85726
-0.0382624
9.60024
-0.0711121
10.2396
-0.0904801
10.754
-0.0904506
11.1347
-0.0635772
11.3816
11.5006
-0.172679
4.22574
-0.337156
4.1526
-0.482247
4.00376
-0.592726
3.77767
-0.652023
3.48031
-0.649228
3.13214
-0.586349
2.76697
-0.476095
2.41505
-0.335193
2.0941
-0.179117
1.80874
-0.0191367
1.55557
0.137209
1.32789
0.285586
1.11861
0.423691
0.921575
0.55113
0.732169
0.669595
0.547056
0.7834
0.363256
0.899764
0.177288
1.02932
-0.0152815
1.18497
-0.214997
1.36117
-0.40242
1.41737
-0.465553
1.59162
-0.941559
2.58863
-1.22104
3.68333
-1.18051
4.56594
1.53317
4.85459
3.32777
4.89111
3.52527
3.61762
1.98444
1.88513
0.879452
2.46508
1.49389
1.92025
1.14199
1.98721
0.103392
2.83178
-1.04827
2.93745
-1.86784
3.06993
-1.39218
3.25315
-0.133398
3.55814
1.28276
3.98397
2.61288
3.03898
2.32868
2.76025
1.77529
2.82483
1.49645
3.01851
1.58587
3.18483
2.04809
3.1293
2.92431
2.59474
4.17044
2.00641
4.79426
1.51327
5.11439
1.1
5.34495
0.679492
5.60149
1.46612
5.93739
2.40469
7.45472
30.9503
6.10122
58.0865
4.31981
58.6085
2.9287
30.2015
3.13591
1.35059
3.72466
1.22052
4.20146
19.4709
4.33168
19.5018
3.33991
0.292547
2.02496
-0.0939875
2.05978
-0.254291
2.07022
-0.427199
1.94331
-0.813314
1.27561
-1.73958
1.75897
-2.12545
1.88536
-2.73361
1.38946
-1.64151
0.504971
-0.137484
-0.148911
-0.33598
-0.153991
-0.572544
-0.0859831
-0.420305
0.131059
-0.0363032
0.196094
-0.0206582
0.0548032
-0.0145383
0.012245
-0.0182459
0.030113
-0.0223441
0.0374707
-0.0257224
0.0415697
-0.0287453
0.0435759
-0.0285496
0.039069
0.00304869
0.0658
0.248772
0.232993
1.28716
1.82791
0.344811
3.32538
-0.462452
4.87048
3.01618
6.96546
6.16751
8.53413
5.41729
7.3619
5.06263
7.21521
4.7835
7.46328
4.59089
7.98967
4.45915
8.73914
4.3777
9.70478
4.36752
10.9012
4.48295
12.3351
4.76784
13.9695
5.1139
15.7066
5.45414
17.4739
5.8378
19.1613
5.4278
20.5122
4.53653
21.9381
6.96028
23.54
13.2045
23.2247
15.443
17.074
14.1616
14.8851
20.5646
11.6555
24.3014
8.32632
23.2882
13.1111
9.20655
9.00206
0.070375
1.82225
-0.887327
1.61323
-0.255901
1.72947
-0.17209
1.61933
-0.0217609
1.62572
1.47993
1.73506
24.5605
4.20644
43.3705
5.29034
43.6828
5.09306
44.089
5.71271
44.5064
6.50226
44.9081
7.26891
45.2766
7.9364
45.5987
8.46015
45.8686
8.8023
46.0925
8.92229
46.2979
8.77561
46.5664
8.32358
47.1849
7.55563
28.913
6.46298
4.15257
3.86807
0.0452879
2.69315
0.129127
2.8081
0.258343
2.88094
0.392745
3.04026
0.526364
3.30629
0.648747
3.69232
0.744716
4.20268
0.792364
4.8373
0.821148
5.60071
0.884721
6.44139
0.905283
7.29744
0.853827
8.17353
0.745048
9.02619
0.601049
9.79819
0.443374
10.4495
0.290192
10.9615
0.156471
11.3314
0.0554029
11.5654
11.6748
-0.245825
4.51959
-0.485989
4.44071
-0.708344
4.27401
-0.890089
4.0071
-1.00019
3.6372
-1.01439
3.19146
-0.938272
2.73412
-0.797048
2.31541
-0.620546
1.9579
-0.432288
1.65968
-0.246815
1.40844
-0.0720705
1.1906
0.0885468
0.994744
0.234285
0.812041
0.366017
0.636017
0.485796
0.462237
0.597432
0.28597
0.707194
0.101284
0.829608
-0.102848
0.997546
-0.339752
1.29803
-0.658893
0.941368
-0.992942
1.31213
-0.496036
2.62917
4.01115
6.39701
7.72216
6.36055
8.76211
5.05209
7.54333
3.35028
5.82321
2.51263
3.85983
2.49957
2.46761
2.11317
1.54237
0.881657
0.489991
0.835551
0.178809
2.01221
-0.321801
3.41311
-1.37638
4.32871
0.0787976
4.66931
2.29667
4.88826
3.6309
3.69976
2.87172
2.48559
2.84488
2.48142
1.81123
2.91425
1.09502
3.48073
1.05017
4.06105
1.49709
4.37543
2.63775
3.21857
5.35942
2.32653
5.71632
1.74383
5.72444
1.35654
5.76453
1.01539
5.97453
2.98345
6.7017
1.05119
6.74575
29.1689
5.74486
56.6954
2.9047
58.8157
0.645389
30.7903
1.52194
1.8274
4.12536
1.35074
5.18317
18.4791
5.23718
18.1868
3.88432
0.327368
2.4341
-0.0835552
2.42108
-0.381194
2.44408
-1.09491
2.6559
-0.329945
2.30782
-1.61319
1.57787
-2.62136
2.74828
-3.6181
2.38619
-2.2954
1.40563
-0.142564
-0.00916638
-0.267972
-0.0943811
-0.355502
-0.0486811
-0.35527
0.108814
-0.177594
0.227466
-0.0632164
0.151053
0.00332961
0.0669703
-0.0108882
0.0443346
-0.0182451
0.0448323
-0.0237162
0.0470431
-0.0332521
0.0531185
-0.00181863
0.0670236
0.170242
0.106002
1.84369
1.72449
2.78463
3.54983
1.8899
4.22008
1.63254
5.52278
4.58485
7.25881
4.99527
7.09203
5.2706
7.0865
5.3107
7.17509
5.3099
7.46412
5.34035
7.95931
5.4248
8.65478
5.57416
9.55546
5.80137
10.674
6.11736
12.019
6.50498
13.5818
6.88118
15.3303
7.14147
17.2136
7.18871
19.114
6.85376
20.8471
6.13837
22.6536
6.645
23.0334
7.05381
21.5627
13.2541
17.3249
10.932
14.1691
17.2354
11.2255
29.0862
13.1027
19.1792
8.84224
2.02673
2.76459
-0.138643
1.4054
-0.771085
0.918036
-0.366043
1.32447
-0.165694
1.41898
0.0875793
1.45344
3.9513
1.56256
25.6444
1.59306
43.1732
2.0827
44.3025
3.9638
44.8786
5.13664
45.2731
6.10805
45.5756
6.96663
45.8003
7.71155
45.9408
8.3194
45.9886
8.75447
45.9458
8.96503
45.8458
8.87543
45.7984
8.37101
46.0923
7.26201
26.3181
5.17249
2.97766
3.07555
0.160238
2.60872
0.201959
2.61742
0.417664
2.66521
0.658776
2.79915
0.912397
3.05264
1.1591
3.44522
1.37934
3.97893
1.55577
4.64051
1.66183
5.44359
1.74077
6.38816
1.78137
7.38075
1.70649
8.35913
1.51704
9.2964
1.25235
10.1268
0.955408
10.8037
0.660064
11.3143
0.390458
11.6678
0.164822
11.8817
11.9763
-0.324715
4.89181
-0.652686
4.81631
-0.975254
4.64457
-1.25999
4.33997
-1.44594
3.87039
-1.47173
3.26252
-1.35698
2.66253
-1.15456
2.15431
-0.918766
1.76203
-0.683528
1.46323
-0.464656
1.22744
-0.267927
1.03085
-0.0941559
0.857152
0.0582612
0.695035
0.192236
0.536929
0.309529
0.379211
0.412745
0.216446
0.503062
0.0442273
0.592704
-0.151551
0.678405
-0.378457
0.963985
-0.363813
1.43827
3.49246
5.81932
9.10325
6.34018
12.7141
7.43696
13.1412
5.14177
11.045
3.33196
9.35072
1.3869
7.76164
1.1204
6.54332
1.57434
4.21165
1.06079
1.30171
0.570476
0.643592
0.33494
0.441261
0.957634
0.277755
4.86829
0.333069
6.54658
2.75129
6.00355
4.83872
4.12907
5.25812
3.67293
5.42
1.45194
4.6268
1.76521
2.17117
2.86941
0.720864
3.92765
2.94445
5.20171
8.30687
7.0971
9.75901
3.57546
8.90878
2.33465
6.98598
1.78393
6.3022
1.56654
6.01227
1.74257
5.8304
3.0275
5.44748
0.0502979
3.71075
26.3288
4.59077
54.4361
-1.14347
59.6922
-4.68376
33.3937
-2.56557
2.88522
4.06828
1.40475
6.01804
17.1263
6.25384
16.7366
4.64419
0.314348
2.87601
-0.0605508
2.74384
-0.169378
2.60832
-1.44298
2.60686
-1.0599
3.3266
-0.442773
4.35658
-2.98345
4.87138
-4.59866
4.00137
-3.71019
4.03727
-0.227778
2.59357
-0.222272
-0.0484201
-0.198006
-0.0523517
-0.236618
0.0280737
-0.254007
0.0960695
-0.147299
0.0925648
-0.0193061
0.0874264
-0.0103905
0.0533017
-0.0160343
0.0504823
-0.0176408
0.0486485
-0.019347
0.0371817
0.0371595
0.0865939
1.78873
0.9643
3.66903
2.93286
3.45488
3.76395
3.1926
4.48233
3.36857
5.34678
4.41807
6.20928
4.98974
6.52034
5.35919
6.71706
5.59973
6.93459
5.80509
7.25885
6.03582
7.72866
6.32548
8.36519
6.69271
9.18823
7.14639
10.2203
7.68011
11.4853
8.25354
13.0083
8.76439
14.8194
9.04189
16.936
8.92186
19.234
8.66023
21.1089
6.51819
24.7957
5.17432
24.3773
2.81601
23.0073
10.0982
21.1932
7.98845
12.7686
19.1125
14.267
24.8258
13.4725
13.1015
4.82043
0.667538
1.32414
-0.626009
1.19047
-0.364648
1.22528
-0.271536
1.23139
-0.13123
1.27868
0.196693
1.3073
3.9818
1.34604
26.1341
1.33833
45.0543
2.11155
45.4753
3.5428
45.85
4.76202
46.1316
5.82664
46.3205
6.77778
46.4082
7.62366
46.3759
8.35173
46.1992
8.93124
45.8562
9.30786
45.3414
9.38992
44.6894
9.02289
44.0027
7.94874
24.2212
5.76485
2.51083
3.77553
0.168936
2.84663
0.249755
2.37947
0.5516
2.36337
0.912266
2.43847
1.30497
2.65992
1.69281
3.0573
2.04092
3.62995
2.35886
4.31595
2.6064
5.16522
2.73336
6.22126
2.75976
7.43174
2.64376
8.61734
2.34741
9.71025
1.92924
10.6307
1.46608
11.3348
1.01351
11.8297
0.604395
12.1482
0.259416
12.3267
12.397
-0.400218
5.33911
-0.824426
5.28809
-1.27985
5.14867
-1.72957
4.83912
-2.0538
4.24301
-2.07172
3.32628
-1.8652
2.49922
-1.54684
1.87704
-1.21757
1.47229
-0.919316
1.20329
-0.661242
1.00672
-0.441631
0.847725
-0.256273
0.707491
-0.0998453
0.573502
0.0345187
0.436649
0.146764
0.300802
0.240527
0.156409
0.307285
0.0124079
0.365798
-0.153297
0.693049
0.171151
4.82026
7.24839
7.04906
13.5414
9.43015
16.3609
6.76726
15.3479
5.34082
14.5647
3.44745
12.9382
1.74288
11.0552
0.168579
9.33583
-1.21127
7.92169
-1.3356
6.57345
0.402678
3.78357
0.368145
1.13622
0.171434
0.487435
1.01295
1.89668
7.28651
5.28868
8.63401
7.41155
6.42295
7.04953
4.29095
7.38605
2.87973
8.16485
-1.0037
6.78961
0.314905
5.91577
5.09299
6.82781
9.29006
12.0639
6.65385
13.5682
6.24687
11.1181
1.65266
7.77865
1.65087
7.01517
1.494
6.48621
1.38466
6.15068
1.35965
5.88655
1.29076
5.54696
0.930325
5.00432
20.5945
5.42656
50.8958
-7.35553
61.8104
-15.8664
40.0275
-17.7123
4.83497
-7.28445
1.64055
8.0561
15.5166
7.65468
14.9684
5.70594
0.182176
3.58463
-0.196068
3.28894
-0.170834
2.76294
-0.723246
2.4674
-0.0299209
3.1326
0.0720308
4.5923
-3.85345
4.88607
-4.56277
4.71066
-5.15389
4.00536
-2.86977
4.3896
-0.226204
2.44844
-0.117581
0.239632
-0.168623
0.0325025
-0.257511
-0.0229021
-0.152438
-0.0132995
-0.0534309
0.0422212
-0.0132099
0.0616178
-0.017868
0.0551518
-0.0291076
0.0599044
0.0300651
0.0736195
0.914866
0.117094
3.75728
2.2611
4.50012
3.70607
4.17326
4.09076
4.05706
4.59847
4.23106
5.17277
4.72913
5.71122
5.18646
6.06303
5.57672
6.32685
5.924
6.58738
6.27489
6.90804
6.67235
7.33126
7.14852
7.88904
7.72477
8.61197
8.41136
9.53368
9.20315
10.6934
10.0647
12.1468
10.881
14.0031
11.3399
16.4772
10.7967
19.7774
12.3471
19.5585
6.09977
16.029
3.80424
13.4903
1.00198
13.0856
1.67364
15.6774
9.48687
16.3792
18.318
15.521
16.1737
10.6721
9.60521
4.78986
0.53387
1.59463
-0.591198
0.7381
-0.35854
0.992571
-0.224241
1.09708
-0.102614
1.15706
0.235437
1.18683
3.97409
1.21302
26.9073
1.30281
46.4855
2.04291
46.6945
3.33378
46.9146
4.54208
47.0828
5.65861
47.1664
6.69402
47.1363
7.65392
46.9554
8.53294
46.5758
9.31086
45.9383
9.94507
44.9744
10.3535
43.6153
10.3819
41.8188
9.74532
22.2318
7.9351
1.58194
5.70854
-0.298225
3.76272
0.233654
2.12526
0.626694
1.97034
1.13372
1.93143
1.70236
2.09127
2.26545
2.4942
2.72693
3.16829
3.20813
3.83302
3.66243
4.69958
3.94384
5.90045
3.94536
7.42264
3.73667
8.94894
3.2679
10.3373
2.63329
11.3886
1.96099
12.0959
1.33205
12.531
0.782896
12.7745
0.329714
12.8898
12.9215
-0.451232
5.83709
-0.963846
5.8486
-1.5894
5.82465
-2.32569
5.62788
-2.97052
4.93918
-2.89878
3.30197
-2.48738
2.13159
-1.95159
1.38227
-1.48657
1.04649
-1.11589
0.87055
-0.82024
0.748063
-0.581864
0.645569
-0.390262
0.551503
-0.236698
0.455068
-0.101329
0.336044
0.00237071
0.231711
0.0965257
0.100199
0.14158
0.143173
0.690245
3.02315
7.77029
11.0702
11.1132
17.1279
9.86863
17.724
8.41709
17.8082
5.98405
17.7805
3.7144
16.8342
1.56444
15.0881
0.023498
12.5961
-1.24556
10.6048
-2.55951
9.23559
-4.12548
8.13809
-2.24468
6.4978
-0.280641
3.03438
1.58068
5.47667
4.40495
6.67516
9.40938
8.42517
8.27198
8.54464
6.75947
8.56212
5.06976
9.0758
1.50448
10.262
-1.87754
8.98139
1.22694
9.53735
10.3291
12.2162
10.7944
13.5537
4.20371
10.4686
2.90744
8.43037
0.889189
7.15106
1.12191
6.8097
1.15847
6.47685
1.12053
6.2171
1.02006
6.0174
0.748125
5.84941
1.35256
5.71672
7.81244
6.06759
42.3849
4.50877
59.9645
-1.40414
50.4554
-2.22492
20.1755
2.30412
1.23914
8.55266
13.5679
9.1969
12.8471
7.1899
-0.113509
4.00202
-0.722077
4.41389
-0.466369
3.17189
-0.0580434
2.00324
1.42977
2.4836
0.365799
1.63936
-4.02886
1.29444
-5.26807
2.72512
-4.76965
3.50693
-4.81093
3.90029
-2.43501
4.41461
-0.324711
3.08733
-0.224027
1.56397
-0.247909
0.482682
-0.096917
0.0226783
-0.0340343
0.0330511
-0.0196759
0.0472551
-0.0131154
0.0485921
-0.0153925
0.0481257
0.0735397
0.0887227
3.05887
1.9298
5.20226
3.94112
4.88482
4.02346
4.68097
4.29454
4.63136
4.64804
4.76952
5.03462
5.08094
5.39986
5.45028
5.69376
5.83725
5.93996
6.24466
6.18004
6.69811
6.45464
7.23013
6.79925
7.87146
7.24771
8.64647
7.83698
9.57112
8.60908
10.6565
9.60816
11.921
10.8824
13.3551
12.5691
14.6401
15.1922
10.5778
12.5278
8.81764
6.53297
3.56105
-1.87373
3.39951
-0.930872
3.5938
3.48141
2.37547
5.71617
8.62864
9.43842
13.4691
12.648
10.2914
9.77113
6.40998
5.28119
-0.322656
0.552522
-0.336728
0.752236
-0.25403
0.909867
-0.164266
1.00731
-0.0728388
1.06563
0.26163
1.09415
4.06387
1.11717
27.6474
1.23006
47.7764
1.96011
47.9028
3.20741
48.0312
4.41378
48.1182
5.57145
48.1263
6.68588
48.0153
7.76537
47.7333
8.81516
47.21
9.83404
46.3467
10.808
45.0028
11.6969
42.9787
12.406
40.0086
12.7159
20.0053
12.0894
-0.36389
10.3813
-1.93568
7.41155
0.0787302
1.91242
0.587781
1.46128
1.29356
1.22564
2.10529
1.27955
2.93955
1.65994
3.39166
2.71614
4.07468
3.14962
4.86331
3.90785
5.46603
5.28018
5.47166
7.37814
5.12504
9.33811
4.31916
11.3098
3.34063
12.537
2.3961
13.1627
1.57554
13.4401
0.898238
13.5368
0.361391
13.547
13.5216
-0.43972
6.32328
-0.9878
6.44516
-1.78618
6.67682
-3.01438
6.91632
-4.60774
6.59345
-4.06915
2.81615
-3.2367
1.34532
-2.28737
0.474638
-1.66251
0.461118
-1.23837
0.48474
-0.922734
0.470105
-0.67593
0.436228
-0.486697
0.400063
-0.355722
0.363062
-0.205662
0.227348
-0.129141
0.203294
0.139499
1.44308
3.02156
8.94155
8.73734
15.9797
13.828
20.168
11.7093
19.2326
9.95292
19.4793
8.3893
19.3718
5.03783
21.1319
1.9683
19.9038
-0.927595
17.984
-1.96778
13.6363
-2.6148
11.2518
-3.65701
10.2778
-5.76576
10.2464
-5.7081
11.7439
2.16165
12.5023
2.77917
12.3141
6.15495
11.0184
9.52885
10.3265
8.28946
9.78015
7.27315
9.57849
6.25601
10.093
0.223832
9.17693
-1.32157
10.035
3.90583
11.2636
11.6666
11.8174
7.70931
10.2214
2.16543
8.52044
1.62813
7.3675
0.547834
6.7678
0.789051
6.59576
0.898716
6.39444
0.920833
6.2232
0.852069
6.11607
0.615434
6.11645
1.70343
6.28536
6.25362
7.93426
36.472
4.78423
59.1437
1.28832
54.9844
1.86224
26.4241
5.01476
1.88338
8.10408
11.5609
8.86721
9.65925
5.68601
0.298359
2.98281
-1.96408
4.24735
-1.63501
4.63244
0.422314
4.30181
0.585532
3.05593
0.0208822
0.881506
-2.59819
0.513576
-4.48626
2.1267
-4.37628
3.39695
-4.29662
3.82063
-3.76229
3.88029
-1.84808
3.7451
-1.30531
2.49805
-0.707912
1.00825
-0.0865441
0.164133
-0.0198303
0.0486463
-0.0183389
0.0457591
-0.0135817
0.0438279
0.0252044
0.0332448
1.91462
0.0881476
5.07019
2.45443
5.28459
3.72669
5.1559
4.15208
5.03447
4.4159
5.01794
4.66458
5.13476
4.91787
5.37483
5.15986
5.69649
5.37218
6.07733
5.55919
6.51926
5.73814
7.04272
5.93119
7.67859
6.16338
8.46072
6.46562
9.41858
6.87921
10.5702
7.45759
11.9307
8.24781
13.6076
9.20562
15.9783
10.1986
11.9756
4.38867
4.58304
-3.38236
0.410939
-3.96961
4.50391
-0.117564
7.81179
2.34505
5.82856
3.33124
6.09772
8.74099
11.8382
14.467
10.5923
11.9918
5.80147
5.3481
1.68132
2.62478
-0.122941
0.785742
-0.179097
0.808428
-0.156587
0.887367
-0.105949
0.956671
-0.0443129
1.00399
0.284653
1.02825
4.17675
1.04897
28.3775
1.16572
49.0237
1.8894
49.1092
3.12187
49.1888
4.33377
49.2326
5.52725
49.2058
6.71276
49.0651
7.90627
48.7522
9.12789
48.1839
10.4018
47.2356
11.7557
45.7118
13.2205
43.2886
14.8296
39.3821
16.6227
18.2972
18.678
-3.33361
20.134
-7.43481
21.0506
-0.372409
19.0816
0.352142
10.3082
1.34747
3.80891
2.48568
2.08412
3.99574
2.78574
3.82514
2.88673
4.83292
2.14178
6.23564
2.5045
7.56398
3.94669
7.43163
7.48641
7.09676
9.65165
5.54632
12.9734
3.96633
14.3189
2.67348
14.6192
1.67225
14.5524
0.908454
14.3962
0.336021
14.2509
14.1511
-0.317843
6.68714
-0.756137
6.93184
-1.54667
7.52834
-3.33725
8.81149
-8.38505
11.814
-5.53998
16.2359
-4.10738
5.56713
-2.30089
-1.23078
-1.63889
-0.152036
-1.25301
0.139939
-0.956611
0.215163
-0.712095
0.234137
-0.523697
0.256261
-0.491436
0.378913
-0.229716
1.44187
1.11064
8.01691
7.63797
15.7251
10.0597
20.1833
12.9256
21.2553
12.8926
20.194
11.956
20.169
9.84548
21.5898
10.1494
19.0679
3.80967
15.1369
0.04851
12.1468
-5.27533
12.061
-4.35223
12.7131
-3.58885
10.4884
-3.68837
10.3772
-4.26822
10.8262
-4.9497
12.4238
1.97337
15.278
1.4835
13.1549
5.46306
12.4656
8.98252
11.6362
8.0878
10.6737
7.78762
9.87878
5.33998
8.52589
1.08189
8.11334
-0.0929879
10.2475
4.45964
10.529
10.0706
10.1792
6.0083
8.63217
1.01249
7.39935
1.02843
6.91371
0.375801
6.51162
0.587725
6.41117
0.727475
6.282
0.813704
6.16507
0.852457
6.10693
0.784336
6.21491
3.35234
6.86707
3.1036
6.51436
32.9761
4.12526
59.7177
2.80539
58.137
3.23198
29.5134
5.05977
2.64651
6.29943
8.37969
5.53697
6.95604
3.48476
1.5629
2.56484
-1.57899
2.04841
-1.96564
3.21317
-0.823564
5.05136
-1.58889
4.86595
-0.347048
4.08592
-0.98506
3.07923
-3.21601
3.40757
-3.9526
4.13355
-4.23696
4.10501
-3.89748
3.54082
-3.09512
2.94277
-2.79511
2.19805
-1.55203
1.25659
-0.202031
0.497668
-0.0227174
0.0614724
-0.0202701
0.04331
-0.0241649
0.0477179
0.0801073
0.103541
4.2809
2.49655
6.34245
4.52062
5.70998
4.3591
5.41971
4.4423
5.28316
4.55246
5.27123
4.67655
5.37675
4.81241
5.58715
4.94951
5.88349
5.07587
6.25629
5.18642
6.7123
5.28214
7.27492
5.36857
7.98083
5.45749
8.87431
5.5722
9.99696
5.75669
11.3604
6.09432
12.8885
6.71987
14.6006
7.49371
10.1684
2.77885
4.2046
-3.54122
3.99578
-3.85407
4.26299
-2.15994
6.96652
1.2225
8.79798
2.80213
11.2383
4.1383
11.8238
5.59043
9.363
5.3761
3.94855
3.95939
3.07814
3.56527
-0.157719
0.564499
-0.100255
0.728215
-0.100158
0.808319
-0.0872835
0.874489
-0.0586311
0.928017
-0.0200497
0.965409
0.305375
0.985046
4.2935
1.00342
29.1012
1.11867
50.2562
1.83447
50.3211
3.05651
50.3823
4.27178
50.4181
5.49093
50.3993
6.73138
50.2867
8.01848
50.0261
9.38802
49.5379
10.8895
48.7004
12.5927
47.321
14.6002
45.0817
17.0694
41.4374
20.267
19.7533
24.7121
-2.41702
28.5528
-9.40378
31.3538
-9.14589
37.6555
-6.14711
40.778
-0.377324
35.1651
3.18731
30.7253
4.09672
28.5529
3.0802
26.9762
5.19564
26.3263
7.67782
22.2509
11.1037
10.5351
9.59686
8.98468
10.4185
8.80083
6.89188
16.5357
4.26662
17.1315
2.60663
16.4743
1.51608
15.7769
0.763148
15.2574
0.236257
14.9219
14.7442
-0.073135
6.80547
-0.159643
7.06293
-0.263523
7.67634
-0.334728
8.92559
-3.96312
11.5415
-16.2088
21.4382
-10.9053
29.8654
-1.22214
16.7509
-1.34691
8.80955
-1.17779
0.559858
-0.937636
0.477202
-0.689971
0.719091
-0.401045
6.91331
0.571525
11.2041
6.34532
18.4598
8.81884
23.0996
12.0962
23.3471
11.1317
21.1294
11.8643
20.5205
12.8675
19.1907
13.3768
19.6598
7.3236
14.4292
6.21843
7.55667
0.819518
1.33294
-0.037252
0.509118
-4.62319
0.549733
-6.57698
5.18048
-3.7
8.65794
-3.23941
9.91661
-2.67062
10.2574
-2.09551
11.8486
-0.149699
13.4818
0.794213
13.5136
4.63368
13.2088
8.02002
12.4364
7.29282
11.4008
6.43473
10.7369
4.92743
10.6287
3.21609
11.4683
0.188484
10.2298
4.10982
10.2014
8.52361
9.55008
4.77548
7.88948
0.526856
6.81968
0.626344
6.66528
0.275351
6.32624
0.458551
6.25535
0.610544
6.15738
0.755564
6.0481
0.960443
5.93147
1.43649
5.76914
2.99963
5.33468
0.7145
3.47365
31.6562
3.5619
60.1442
3.07344
59.9648
3.06915
30.753
4.48352
1.88405
5.39042
6.32748
5.22039
6.03612
3.93446
1.04646
2.66588
-0.414219
2.52322
-0.127452
2.80885
-1.00898
2.83439
-2.36893
3.40385
-1.35373
4.83556
-0.656719
5.35204
-2.49003
5.24089
-3.98114
5.62466
-4.80115
4.92502
-4.49553
3.23521
-3.83985
2.28709
-3.73656
2.09479
-2.31096
2.05166
-0.638226
1.85314
-0.0408799
0.93755
-0.0158622
0.21555
0.0316579
0.0303858
2.47312
0.145098
6.30496
3.44298
6.18093
4.64462
5.79318
4.74683
5.52988
4.70558
5.40725
4.67511
5.4071
4.67674
5.51385
4.70568
5.71351
4.74987
5.99404
4.79536
6.352
4.82844
6.79873
4.8354
7.36384
4.80344
8.09554
4.72581
9.0588
4.60902
10.3346
4.48102
11.986
4.4431
13.6624
5.04358
9.88573
1.05873
3.84828
-4.66907
3.89174
-3.79974
5.68991
-2.77856
7.64543
-0.675085
8.54614
0.321815
10.1342
1.21419
12.6904
1.58208
11.6094
0.674042
7.94629
1.72179
3.55443
2.2539
0.0773703
0.344387
0.00599718
0.635964
-0.0201501
0.754371
-0.0339878
0.82215
-0.0337558
0.874252
-0.0212391
0.915503
-0.000413233
0.944585
0.323753
0.960078
4.40874
0.976225
29.817
1.08829
51.4782
1.79221
51.5364
2.99769
51.6015
4.20588
51.6586
5.4332
51.6864
6.70291
51.6562
8.04823
51.5275
9.51633
51.2411
11.1754
50.7078
13.1261
49.7902
15.5183
48.2793
18.5803
45.8825
22.6637
23.5939
28.3082
0.383994
32.7685
-3.10214
34.898
-6.02337
37.736
-11.76
44.6774
-4.81716
51.8338
1.01496
54.7553
2.51999
54.5864
2.43029
54.015
1.12027
53.9367
-4.03797
53.519
9.55325
45.3211
9.41301
38.5776
18.1534
43.6076
7.48767
27.1973
3.60935
21.1269
1.90928
18.3579
0.996552
16.833
0.427677
15.9471
0.0585689
15.4511
15.2242
0.184331
6.66591
0.453761
6.8372
0.985731
7.18739
2.2812
7.67679
5.93356
7.95039
-7.78162
6.12507
-24.0198
18.5746
-9.1635
36.0204
-9.59661
36.3687
-1.26044
27.7672
-0.695747
24.2883
5.50425
25.2394
3.88976
27.4951
7.82725
29.1048
10.9851
28.5207
9.06632
24.7808
9.87856
22.5192
10.5227
20.4849
10.5345
20.5087
13.3366
16.3887
8.14613
8.69948
0.45112
0.510431
-0.0053025
0.0230008
-0.0043012
0.0120047
0.00336347
0.0111481
0.00755578
0.0113219
-3.09952
0.0151618
-2.44134
3.1234
-2.89862
5.56121
-1.07938
8.43813
-0.462335
11.2316
-0.117896
13.2471
0.489348
13.8455
3.86128
13.5686
6.98442
12.8335
6.62899
11.7562
6.3265
11.0395
5.76699
10.7206
1.97759
10.5806
0.160112
10.1258
3.45849
10.0844
6.86301
9.35414
3.70569
7.56209
0.372452
6.48718
0.287303
6.34825
0.204464
6.18084
0.360574
6.12665
0.501265
6.04411
0.638942
5.93846
0.79811
5.80156
1.00203
5.59539
1.1386
5.22877
0.802743
4.61548
31.1678
4.53761
60.1399
2.42179
61.3791
1.47972
31.6599
3.51773
1.71402
4.9393
5.04155
4.70634
4.76754
3.84836
0.903802
2.93548
-0.128585
2.7038
-0.101908
2.78217
-0.439519
1.84321
-0.937216
1.10755
-0.837252
1.92544
-0.767872
2.64266
-2.10626
3.29129
-4.68078
4.14159
-6.49096
3.49204
-5.44364
1.14124
-4.03215
0.44296
-3.77969
0.939244
-2.50947
1.61159
-1.55382
2.03385
-0.76288
2.22972
-0.201026
3.5665
0.14637
4.80128
5.771
6.80615
7.5066
7.28917
6.28315
5.86805
5.75193
5.27805
5.4994
4.95813
5.40888
4.76566
5.43603
4.64958
5.55805
4.58364
5.75899
4.5489
6.02713
4.5272
6.35896
4.49658
6.76677
4.42755
7.28622
4.28396
7.97874
4.0333
8.93081
3.657
10.2967
3.11523
12.5864
2.15339
9.67752
-0.820207
4.15794
-4.78143
4.71761
-5.13411
4.91292
-4.97278
7.79339
-3.59365
8.64233
-1.52398
9.43852
-0.474277
10.502
0.150747
11.7824
0.301714
12.6572
-0.200836
8.47839
-1.15161
1.64492
-0.547235
0.368948
0.752147
0.124404
0.880503
0.0476287
0.831144
0.0181143
0.851659
0.00749502
0.884871
0.00784288
0.915156
0.01508
0.937344
0.339899
0.949375
4.52081
0.963554
30.5209
1.07197
52.6837
1.75873
52.7445
2.93621
52.8288
4.12101
52.9283
5.33314
53.0317
6.59912
53.1243
7.95541
53.1866
9.45382
53.1917
11.1703
53.1001
13.2181
52.8522
15.7665
52.3628
19.0696
51.527
23.4995
28.0543
29.5546
2.51343
34.109
-0.264168
35.735
0.918092
36.645
-4.60362
32.8068
-1.89561
44.8136
0.84604
52.0137
1.94855
53.4838
2.35199
53.612
0.702584
55.5862
-12.2358
66.4572
2.80968
73.8397
14.443
65.4518
1.74319
49.5521
1.41728
25.7311
0.840261
21.6797
0.384435
18.9131
0.110598
17.2367
-0.0682911
16.2596
-0.168348
15.7341
15.5262
0.355627
6.35477
0.803945
6.43253
1.47513
6.56014
2.5548
6.64615
4.10824
6.45656
4.66793
5.60506
-6.57402
4.75455
-8.81512
15.4235
-18.1982
25.5527
-4.73933
38.3363
0.255333
41.1068
7.76001
40.6945
5.4994
29.3238
7.2432
26.8312
7.24511
28.4689
6.80479
25.2147
7.84421
21.4795
10.5466
17.7825
6.41458
12.4645
5.64733
5.76004
-0.0429206
0.0572602
-0.0363106
0.0919017
-0.0162986
0.239389
-0.00515784
0.860784
0.00353727
0.174681
0.0113957
0.0371519
0.00871652
0.0178405
-0.00352516
0.0112433
-0.0216983
0.477826
1.71409
6.68238
1.55314
11.3925
0.48053
13.8514
0.212449
13.8565
3.12614
13.6075
5.90717
12.9096
5.91228
11.7511
6.00757
10.9442
5.62706
10.6448
1.52276
10.203
0.11873
10.0309
2.72822
10.1339
5.07096
9.54463
2.63078
7.52833
0.233516
6.30579
0.119896
6.14759
0.150268
6.07153
0.278042
6.02631
0.395609
5.95404
0.502046
5.86007
0.591936
5.74081
0.635414
5.58198
0.525306
5.36951
0.72487
5.14691
29.0519
5.42402
59.1979
-1.52887
63.4171
-3.02808
33.0815
1.94859
1.48106
4.6961
4.18357
4.60935
3.85466
4.41876
0.672114
3.32915
-0.0502095
2.79217
-1.04087
2.80749
-1.17519
3.55402
-0.119317
3.56302
-0.12004
2.64645
-0.119239
1.84114
-1.25596
0.982382
-5.33033
0.106349
-8.84177
0.734378
-6.14192
2.65409
-3.53587
1.45335
-3.10734
-0.96226
-2.08721
1.03759
-1.35795
1.95618
0.573902
4.65537
1.03375
7.141
2.15124
8.48026
6.25402
9.28631
6.08549
7.45766
5.69314
6.26043
5.43201
5.53922
5.30693
5.08326
5.2928
4.77977
5.37009
4.57226
5.52331
4.43039
5.73729
4.3349
5.9965
4.26794
6.28993
4.20309
6.62318
4.09424
7.03555
3.87156
7.60244
3.46638
8.38904
2.87038
9.33483
2.16944
9.61285
1.87537
5.71629
-1.16054
3.80526
-4.68413
4.87894
-5.80095
6.29205
-4.071
9.86306
-1.39396
9.69204
-1.3529
10.0635
-0.845732
10.653
-0.438738
11.2798
-0.325222
11.7064
-0.627505
9.08278
-1.47543
2.9443
-0.678222
0.497304
0.993779
0.0750449
0.821947
0.0681441
0.838037
0.0513261
0.868471
0.0377802
0.898414
0.0300309
0.9229
0.0271109
0.940253
0.354079
0.949621
4.62923
0.96219
31.2076
1.06778
53.8612
1.73272
53.9293
2.86781
54.0409
4.00906
54.1943
5.17947
54.388
6.40557
54.6227
7.72089
54.9031
9.17332
55.2395
10.8341
55.6486
12.8094
56.1552
15.2597
56.7927
18.4319
57.582
22.7101
32.6087
28.6933
4.13946
33.4927
0.645782
35.896
-2.92008
39.2928
7.40314
48.3569
5.30451
53.8631
2.31614
55.0019
2.07674
53.7235
4.3262
51.3627
11.5736
48.3386
-4.85324
42.3943
-5.57829
37.6923
-1.45663
31.3899
-22.0779
22.5044
-2.63409
26.5334
-1.92637
20.9617
-1.29196
18.3842
-0.866458
16.9625
-0.593802
16.1487
-0.376229
15.7312
15.6195
0.433396
5.96558
0.931548
5.97785
1.56114
5.97435
2.36522
5.88969
3.25675
5.6185
3.81742
5.08561
4.09492
4.51439
1.31411
4.15198
-5.41457
7.37503
-1.96889
15.3282
-0.156907
20.0123
-3.6107
22.5368
3.00681
22.6887
8.88092
20.9363
3.99089
17.3042
3.06957
13.4695
4.14725
10.3393
5.22848
5.79977
-0.289841
0.503151
-0.0554444
0.439299
-0.00827918
2.26055
0.111177
3.364
0.605097
3.8426
-0.691261
4.13265
-0.133992
3.70084
-0.00791574
2.56873
0.00211937
0.393336
0.463058
4.89417
6.18285
9.3275
6.42425
12.0562
4.01196
13.8048
0.485689
16.9044
-0.0365582
13.7678
2.42823
13.4589
4.74869
12.8095
5.10537
11.3944
5.70815
10.3414
5.18528
9.48503
1.35065
8.52299
0.221726
9.92332
2.13896
10.5371
3.05466
10.6131
1.40824
7.85045
0.0753155
6.28106
0.043837
6.07306
0.105048
5.99861
0.20577
5.95307
0.301646
5.88572
0.382782
5.80703
0.433109
5.71956
0.422944
5.62217
0.302704
5.5204
1.00198
5.44809
22.0991
5.72119
57.6987
-9.36752
68.3938
-14.0259
35.829
-0.133999
1.39431
4.49817
3.99298
4.81901
2.76505
4.61581
0.13513
3.71768
-0.03489
2.83522
-0.294333
2.79715
-1.16619
3.18188
-1.03588
4.27398
-0.925348
4.23902
-0.978
3.73317
-2.13199
3.11785
-4.7023
2.78086
-6.92205
3.63619
-7.34266
5.50892
-5.95148
7.24064
-1.10749
7.14881
-1.16862
6.17505
1.34124
7.17886
3.05954
8.44028
2.373
7.82751
2.95729
7.89591
4.42537
7.8182
4.88826
6.99479
4.97193
6.1768
4.97605
5.53512
5.00344
5.05588
5.08528
4.69792
5.22822
4.42929
5.42783
4.23075
5.67032
4.09237
5.93166
4.00654
6.18108
3.95361
6.4005
3.87477
6.63037
3.64165
7.00645
3.09024
7.6881
2.18868
9.04076
0.816728
6.57694
-1.88671
2.19271
-4.2069
2.68843
-2.9885
6.60889
-2.89577
8.9691
-3.75022
9.90412
-2.32896
10.1992
-1.64798
10.4705
-1.11712
10.7665
-0.734809
10.9776
-0.536345
10.8585
-0.508506
9.87999
-0.497013
4.6163
0.11957
0.325471
0.822008
0.0911352
0.738501
0.0985779
0.830581
0.0812693
0.88577
0.0622663
0.91741
0.0473834
0.93777
0.0364798
0.951137
0.366647
0.958285
4.73482
0.969461
31.8726
1.0765
54.9963
1.71894
55.0706
2.79333
55.2113
3.86817
55.4204
4.97088
55.7033
6.12296
56.0752
7.34906
56.5639
8.68484
57.2148
10.1836
58.0989
11.9253
59.3275
14.0306
61.0708
16.6885
63.5653
20.2155
37.408
25.2138
6.54273
29.5826
4.04263
32.8062
6.14401
39.9036
12.9094
44.2712
6.44328
36.366
1.0377
30.2188
-0.284066
27.5364
1.3021
24.9006
5.62927
19.3272
-9.55521
7.70395
-11.8807
9.03483
-10.3421
9.29815
-18.0489
9.47223
-8.20579
16.6685
-4.50381
17.2886
-2.71371
16.7351
-1.68026
16.1206
-1.01134
15.6844
-0.487896
15.4679
15.4889
0.445661
5.56386
0.928052
5.53867
1.47649
5.46917
2.09402
5.31766
2.72386
5.03719
3.2462
4.60494
3.73251
4.06623
4.53716
3.38378
2.53857
2.12128
2.71523
2.48545
2.3676
3.03898
-3.45883
2.77358
1.25443
7.34863
5.24887
6.03904
0.156113
0.739076
-0.06061
0.522196
-0.392258
0.516474
-0.0681422
0.516396
-0.353694
3.25759
1.76581
5.61314
1.09517
6.91605
0.589782
7.11218
0.895145
6.81263
-1.12307
6.15088
-1.2661
7.05511
-2.18331
8.07623
4.50296
9.63139
4.89638
11.7085
8.91152
13.1916
8.17291
12.7948
7.11149
14.8662
-2.6509
15.6208
-0.345467
13.4058
1.77882
13.2488
3.33367
12.8784
4.05233
10.6758
4.85178
9.5419
4.22324
8.74316
2.75098
8.9048
0.835527
9.70918
2.21496
10.6218
0.291982
11.0126
-0.161148
8.45511
-0.132687
6.46199
-0.0306112
6.11503
0.0595026
5.96364
0.138425
5.90167
0.222952
5.82882
0.29531
5.76281
0.335718
5.7082
0.321181
5.6667
0.230396
5.64186
1.27508
5.63473
7.01035
5.5425
53.0403
4.65053
82.2857
0.507576
40.4612
2.46695
1.71514
4.19722
3.78978
4.53613
1.86693
3.68322
-0.74733
3.09372
-0.0729645
2.85259
0.0904011
2.71664
-0.0740867
3.38855
-1.07084
3.23813
-1.4312
3.59089
-1.59331
3.89524
-2.46899
3.99348
-3.84697
4.15882
-5.04933
4.83852
-5.61094
6.07052
-6.04331
7.67302
-2.08126
10.1042
-0.164804
10.2928
2.60265
10.099
2.44678
8.5961
2.44139
7.83281
2.87958
7.45765
3.60196
7.09579
4.07027
6.52651
4.33025
5.91688
4.49681
5.36862
4.64549
4.90722
4.81665
4.52676
5.02968
4.21623
5.28945
3.97095
5.5845
3.79729
5.87872
3.71228
6.10223
3.73008
6.16739
3.80958
6.07895
3.73004
6.10489
3.0642
6.31614
1.97734
6.33732
0.795508
4.25675
-1.95561
3.41111
-4.55657
2.78116
-5.84491
5.75444
-5.6795
10.3904
-3.11638
10.5851
-2.52372
10.7301
-1.79299
10.8528
-1.23997
10.965
-0.846955
11.0054
-0.576752
10.87
-0.373095
10.4966
-0.123545
5.31874
0.342603
0.241964
0.636315
0.183216
0.562015
0.153766
0.860011
0.11291
0.926616
0.0826266
0.947683
0.0607495
0.959629
0.0436287
0.968239
0.377823
0.973259
4.84187
0.982475
32.515
1.10692
56.0707
1.73889
56.1454
2.71845
56.314
3.69972
56.5724
4.71297
56.9294
5.76627
57.4109
6.86766
58.0627
8.03334
58.9564
9.29009
60.2042
10.6773
61.9854
12.249
64.5978
14.0759
68.5637
16.2497
41.7768
18.9031
9.76631
20.8248
11.14
21.9525
10.5116
19.3746
5.00414
9.22235
0.296033
3.75974
-1.64464
1.68955
-2.91988
1.30269
-4.27127
1.37581
-5.99401
1.73988
-8.22433
2.55063
-11.6173
4.15784
-10.1681
7.80642
-10.8527
10.0849
-7.58563
13.3343
-5.05736
14.7596
-3.32822
15.162
-2.11643
15.1548
-1.22784
15.0678
-0.46689
15.0406
15.1364
0.420471
5.18705
0.858552
5.14353
1.32498
5.04539
1.81356
4.87276
2.2916
4.60425
2.70749
4.23035
3.05005
3.76216
3.27467
3.19601
2.90274
2.52913
3.26876
2.15463
2.10221
1.339
1.11622
1.15978
-0.0551602
1.25929
-0.0510983
1.97772
-0.0607677
1.52991
-0.0663321
0.749294
-0.392337
5.37984
2.67305
8.51018
2.00185
9.79952
3.06871
10.0347
1.2913
8.69346
0.290228
8.11326
0.233398
6.86947
-0.218842
6.60312
-0.244976
7.08125
-0.62815
8.45941
6.58005
11.5709
6.3795
10.4937
8.51468
11.0564
10.2444
11.0651
7.86605
10.3928
-4.86591
6.92429
-0.502396
10.8793
1.40843
10.7061
1.13098
10.285
2.91848
8.8882
4.05304
8.40728
4.38489
8.41135
3.55536
9.16475
1.74817
8.79249
2.60575
9.30077
-2.26552
9.41947
-2.15427
9.63115
-0.479652
7.55181
-0.181997
6.53545
-0.0024699
5.9785
0.0655774
5.86121
0.156937
5.76516
0.240699
5.70724
0.294221
5.68373
0.296347
5.69458
0.223265
5.74566
1.18284
5.83158
6.11838
6.22158
48.8973
3.94145
84.2451
2.25503
42.1915
3.56977
2.05406
3.84869
2.93687
3.93913
1.27743
2.28731
-0.988461
1.29864
-0.208916
2.07305
0.762307
2.44386
-0.224504
2.59135
-0.718078
2.60879
-1.12685
3.32331
-1.49508
4.26342
-2.30364
4.802
-3.16727
5.02243
-3.81733
5.48857
-4.00844
6.2616
-3.61212
7.27672
-1.89269
8.3848
-0.358632
8.75872
1.0998
8.64047
1.68349
8.01231
2.06624
7.44995
2.51772
7.00611
3.03268
6.58083
3.46064
6.09863
3.78199
5.59561
4.03541
5.11526
4.26503
4.67762
4.50611
4.28568
4.7844
3.93792
5.11579
3.63954
5.49949
3.41357
5.89653
3.31525
6.18173
3.44487
6.08784
3.90345
5.41311
4.40467
5.01804
3.45915
5.13431
1.861
3.5862
-0.581522
1.65579
-2.67146
2.12277
-3.0548
2.94657
-4.20863
8.31756
-6.91783
10.983
-5.78202
11.3158
-2.85663
11.2831
-1.76032
11.2459
-1.20273
11.2352
-0.836206
11.2091
-0.550567
11.1195
-0.283467
10.9627
0.0334067
5.61245
0.459311
0.167664
0.760888
0.481212
1.02071
0.220371
1.12084
0.133977
1.013
0.0945732
0.987074
0.0693592
0.984828
0.048649
0.988938
0.387038
0.992558
4.96631
0.994879
33.147
1.23381
57.0502
1.86916
57.1267
2.64181
57.3273
3.49956
57.6258
4.41483
58.0308
5.36125
58.5766
6.32212
59.3195
7.29077
60.3437
8.26593
61.7759
9.2449
63.8123
10.2125
66.7716
11.1168
71.2171
11.8048
43.6985
11.8013
10.8939
10.7022
8.56223
7.78065
0.35933
2.07217
-0.458463
1.65335
-1.77416
1.50257
-2.0315
1.94686
-2.84677
2.11792
-3.9072
2.43607
-5.18326
3.01479
-6.61712
3.98
-7.96876
5.49586
-7.88953
7.69447
-7.60327
9.73264
-6.16035
11.7925
-4.65494
13.1873
-3.33543
13.9706
-2.20342
14.3286
-1.2551
14.4866
-0.371037
14.5918
14.6619
0.376955
4.85347
0.760406
4.80274
1.15235
4.69554
1.54504
4.52239
1.91771
4.27438
2.2393
3.94932
2.4839
3.55599
2.6078
3.1091
2.52823
2.64475
2.45313
2.26511
1.92298
1.90388
1.21573
1.90176
0.663266
2.50807
-0.498907
4.05521
-0.841382
5.1738
4.56422
8.25546
2.738
9.61977
3.96239
8.71276
2.23704
6.49715
1.72746
5.85668
0.7111
5.37075
-0.953562
5.40842
-0.0329458
5.94887
0.259279
6.31091
1.13319
6.20734
2.48332
7.10928
5.50287
8.55134
6.94222
9.05432
8.52333
9.47529
9.57206
10.0163
4.39759
6.5534
-0.910907
3.30631
-0.675558
5.03179
0.987286
5.55383
-0.265813
5.22339
2.43756
6.07753
4.05711
6.78768
5.13829
7.33012
3.1831
8.02222
2.25645
7.05491
2.72445
7.25775
-2.05384
6.21052
-4.2336
7.89773
-1.49602
9.03835
-0.738943
7.98704
-0.119766
6.06665
-0.0304677
5.79954
0.0990139
5.66344
0.21719
5.61731
0.305068
5.62493
0.347434
5.68223
0.309186
5.81466
1.57283
6.04412
3.83825
7.08504
47.2109
5.55213
85.5598
5.58402
42.4704
5.26722
2.1445
3.57171
1.28505
3.45922
0.288765
2.34274
-0.21405
1.52963
0.161886
1.69713
0.909802
1.69594
-0.207066
1.13574
-0.00355796
1.86599
-0.186739
3.50308
-0.956501
5.03315
-2.08321
5.92871
-2.70114
5.64034
-3.0443
5.83174
-2.99332
6.2106
-2.50404
6.78741
-1.51877
7.3995
-0.476884
7.71679
0.471643
7.69186
1.12112
7.36269
1.6224
6.94858
2.09245
6.53603
2.55048
6.12283
2.95762
5.69156
3.30164
5.25167
3.59777
4.8192
3.87309
4.40232
4.15834
4.00042
4.48603
3.61021
4.88982
3.23575
5.40117
2.90223
6.02615
2.69028
6.64031
2.83069
6.58906
3.95462
4.46759
4.45169
3.41988
2.45859
2.69179
0.178682
1.49627
-1.23433
1.27245
-1.59188
0.968944
-2.7456
0.237365
-3.04421
9.45336
-1.32783
13.9084
-1.37514
12.4121
-1.36046
11.8407
-1.18888
11.6124
-0.97434
11.5208
-0.744577
11.4762
-0.505839
11.4364
-0.243534
11.3886
0.0812365
5.91403
0.509767
0.427488
1.01837
0.581343
1.31191
0.112531
1.05702
0.108048
1.01748
0.0923279
1.00278
0.073469
1.00367
0.0522684
1.01013
0.38936
1.0153
5.20524
1.02112
33.7823
1.1083
57.8229
1.79355
57.9844
2.48046
58.2426
3.2418
58.5722
4.08547
58.9917
4.94185
59.5453
5.7688
60.2946
6.54169
61.3226
7.23793
62.7434
7.82395
64.7167
8.2391
67.4595
8.3743
71.2136
8.05139
42.5994
7.04158
7.9724
5.62537
2.85374
3.87776
-0.0594872
2.32826
-0.60924
2.20311
-1.32987
2.22318
-1.86045
2.47742
-2.52862
2.78612
-3.32847
3.23582
-4.21805
3.90392
-5.10127
4.8612
-5.77015
6.15792
-5.85136
7.75672
-5.5434
9.37926
-4.76552
10.9223
-3.87172
12.1672
-2.97738
13.0881
-2.04544
13.689
-1.14986
14.0265
-0.301002
14.2182
14.2131
0.326222
4.57032
0.65321
4.5181
0.979205
4.41117
1.29703
4.24591
1.59265
4.02001
1.84596
3.7358
2.03701
3.40312
2.14345
3.03964
2.1486
2.6757
2.0919
2.35725
1.92087
2.10972
1.82204
2.035
2.2104
2.15418
0.619686
2.24125
2.24027
4.65083
5.92853
4.81874
1.831
0.925056
1.74679
0.900993
1.59657
0.798844
1.24152
0.696266
0.748774
0.752526
-0.413117
0.937914
0.329099
2.48576
0.155711
3.46559
2.03513
4.32793
3.92538
5.21902
6.00585
6.47085
7.36319
7.69696
9.06435
7.77409
6.10914
4.67436
1.1505
0.711124
0.814575
0.738494
-0.153519
0.537818
0.656846
1.60101
0.588329
2.08938
3.1477
3.97908
4.59955
5.33581
5.83039
6.09924
2.21578
5.1888
2.4593
4.3074
1.67722
3.52182
-0.36663
2.31721
-3.09298
2.87744
-2.54733
5.53195
-2.65933
6.64964
-0.38688
6.26652
-0.166567
5.60692
0.052883
5.47182
0.22481
5.4737
0.362372
5.51649
0.479856
5.59481
0.538645
5.78663
2.61375
6.42343
2.30535
6.51246
47.2428
5.0482
85.243
8.83134
40.7749
10.0562
2.03201
2.54143
0.168568
1.92855
-0.52435
1.58925
-0.0465483
1.53074
0.160698
1.48989
0.349602
1.50703
0.523181
1.46324
1.63354
2.20903
1.34333
2.77531
-0.0609497
3.30421
-2.37158
4.23385
-2.50974
5.34506
-2.66544
5.98741
-2.41651
5.96165
-1.89195
6.26282
-1.20147
6.70896
-0.501812
7.01703
0.142476
7.04745
0.707008
6.79804
1.20985
6.44565
1.67924
6.06659
2.11921
5.68288
2.51773
5.29311
2.86917
4.90031
3.1809
4.5075
3.47119
4.11202
3.76813
3.70346
4.11157
3.26675
4.5563
2.79104
5.18922
2.26935
6.16655
1.71294
7.76424
1.23294
7.08613
1.33071
2.4745
1.25848
1.13997
-0.172983
1.27878
-0.805092
1.13871
-1.88126
0.118723
-2.32235
0.670335
-1.33322
1.95375
-0.974918
9.40606
1.49921
13.9231
2.20133
12.5837
-0.0211294
12.0552
-0.660351
11.8421
-0.761226
11.7596
-0.661982
11.7385
-0.484634
11.7612
-0.266161
11.8172
0.0250982
6.42263
0.55363
0.721029
1.06154
0.326452
1.09168
0.0729919
1.00171
0.0933516
0.997107
0.0932216
1.0029
0.0799258
1.01696
0.0574366
1.03261
0.39518
1.04277
5.29242
1.00864
34.4676
2.10086
58.5098
2.74261
58.7458
2.24482
59.0862
2.90163
59.4286
3.74341
59.8187
4.55197
60.3182
5.26962
60.9909
5.86899
61.9086
6.3199
63.1586
6.57383
64.8519
6.54599
67.1366
6.09006
70.2038
4.9845
41.1832
3.09941
6.22478
2.55458
1.30425
2.70758
-0.18464
2.60562
-0.589177
2.60767
-1.07562
2.70964
-1.55175
2.95359
-2.07892
3.31326
-2.66037
3.81725
-3.26077
4.50405
-3.80454
5.40422
-4.17136
6.52185
-4.22882
7.80536
-4.00032
9.12694
-3.5206
10.3839
-2.95086
11.4769
-2.37647
12.3885
-1.70795
13.1156
-0.958143
13.5967
-0.306169
13.8326
13.8118
0.274
4.33906
0.546287
4.28782
0.813942
4.18472
1.07113
4.02934
1.30844
3.82289
1.51328
3.57005
1.67353
3.28073
1.77951
2.9705
1.83014
2.66113
1.84437
2.37844
1.84615
2.1428
1.94122
1.97429
2.29748
1.83194
3.02926
1.54154
2.40818
0.742123
2.03484
0.412044
1.80694
0.269229
1.64464
0.205204
1.49399
0.190225
1.29778
0.235162
0.934162
0.403236
1.13473
0.921028
1.30893
1.55317
1.01806
1.46521
2.92622
1.6834
5.17721
2.42992
7.23196
4.41607
7.44032
4.93777
5.96461
2.2769
2.14591
-0.809846
1.17787
-0.586206
0.613898
-0.38564
0.90967
0.378017
1.14522
0.992773
2.47803
1.56217
4.50443
2.14943
5.36298
2.34601
4.91995
1.26755
1.33438
-0.324698
1.67372
0.641658
0.472609
-0.0307953
0.193592
0.347381
-0.438467
0.725032
-1.42964
1.25733
-3.04245
2.21067
-1.04648
4.29784
-0.30167
4.88988
0.0547614
5.14329
0.267603
5.28924
0.440687
5.37258
0.671684
5.39389
1.17544
5.31365
2.70278
4.92748
0.841085
3.19673
51.0259
3.75164
86.4679
19.6469
33.2601
19.6037
1.41914
0.871915
-0.170732
0.411343
-0.582867
0.549875
-0.0873999
1.03527
0.177839
1.22464
0.305816
1.37904
1.26897
1.67559
2.19982
1.49919
1.87223
0.839068
0.868692
0.630825
-1.26037
0.608367
-1.86739
2.13509
-2.6912
3.98306
-2.11534
5.38576
-1.44581
5.59324
-0.893404
6.15646
-0.471397
6.59494
-0.106935
6.68288
0.354621
6.33638
0.830793
5.9694
1.29553
5.60184
1.72945
5.249
2.12494
4.89768
2.47635
4.54894
2.78542
4.19844
3.06263
3.83478
3.33142
3.43465
3.63587
2.96233
4.0346
2.39235
4.63281
1.67117
5.68656
0.659144
7.86202
-0.942624
7.01389
-4.14133
1.04304
-6.38029
0.507864
-6.8977
0.202612
-6.78111
0.697625
-5.38345
1.10785
-4.44217
1.02864
-3.42677
4.42788
-1.09841
10.1082
1.37143
11.7006
0.608805
11.9445
-0.265021
11.9543
-0.670197
11.9414
-0.748292
11.9369
-0.657498
11.9569
-0.504594
12.0524
-0.361784
12.3457
-0.268435
6.93054
-0.131259
0.751166
0.524602
0.236479
0.846137
0.0683911
0.949002
0.0991453
0.966341
0.107279
0.994752
0.0955823
1.02864
0.0675871
1.0606
0.361056
1.08336
6.38464
1.20337
35.1093
-1.3103
58.012
-2.02264
59.4026
0.854486
59.928
2.37656
60.2371
3.43442
60.5363
4.25287
60.9175
4.88848
61.4418
5.34463
62.1626
5.59914
63.1307
5.60586
64.3959
5.28113
66.0311
4.45562
68.3187
2.69698
40.6383
-1.41622
6.37779
-0.66219
1.20229
2.96751
-0.182588
2.87062
-0.487213
2.9123
-0.831666
3.05415
-1.19208
3.31395
-1.57493
3.6961
-1.97358
4.21589
-2.36059
4.89102
-2.68692
5.73029
-2.88784
6.72172
-2.90724
7.82121
-2.74337
8.95283
-2.42757
10.04
-2.03932
11.0177
-1.64936
11.8601
-1.22678
12.5689
-0.722244
13.0972
-0.326973
13.367
13.44
0.222758
4.15872
0.443188
4.10907
0.65856
4.01017
0.864679
3.86329
1.0556
3.6714
1.22397
3.44018
1.3633
3.1789
1.47013
2.90031
1.54746
2.61974
1.60873
2.35252
1.67764
2.1087
1.79887
1.88736
2.00708
1.65742
2.22985
1.35142
2.0781
0.925734
1.89203
0.629288
1.74291
0.44905
1.62966
0.348734
1.53893
0.3108
1.46586
0.337627
1.45195
0.446025
1.76687
0.634506
1.22097
0.656053
1.23624
1.23937
3.67274
1.9923
7.16336
2.17345
7.75365
0.695273
4.77946
-0.767283
2.87787
-0.862713
2.36955
-1.58119
1.37844
-1.17512
1.37755
-0.357561
1.52443
0.296056
1.71462
0.893439
3.06529
1.67441
4.70101
2.07183
4.28452
0.601526
3.32771
-0.615483
2.30074
-1.04415
1.00127
-0.688178
0.850785
0.138025
0.571243
0.700196
0.0938324
1.21773
-0.476299
1.85718
-0.955285
2.71685
-0.454436
3.8244
-0.0482596
4.51151
0.200719
4.92228
0.350941
5.16748
0.461995
5.29076
0.591441
5.29455
0.78927
5.14661
0.97203
4.77603
1.396
4.15162
66.9212
4.28786
86.4247
14.4219
14.5283
10.7467
0.958566
0.474274
-0.0322007
0.502574
-0.09747
0.615154
0.101969
0.835827
0.332235
0.99437
0.602367
1.1089
1.09257
1.18539
1.5397
1.07898
1.66399
0.860416
0.846234
0.193014
0.266354
0.0784613
-0.0194262
0.311035
-1.28849
0.909471
-1.90786
2.8036
-0.882586
4.5679
-0.45493
5.72876
-0.383454
6.5234
-0.453437
6.75279
-0.012356
5.89524
0.463231
5.49378
0.942686
5.12238
1.37813
4.81357
1.77619
4.49964
2.12586
4.19928
2.42176
3.90251
2.66249
3.59403
2.85909
3.23808
3.0659
2.7556
3.31341
2.14489
3.62078
1.3638
4.08479
0.195075
4.66331
-1.52128
4.77493
-4.25321
0.525628
-7.88083
0.624452
-8.43941
1.60028
-8.07905
1.6389
-6.47333
2.12324
-4.58957
3.357
-3.51583
6.89772
-2.46137
9.34554
-1.07643
10.8268
-0.872504
11.5393
-0.977563
11.8762
-1.00717
12.0322
-0.904267
12.0898
-0.715141
12.0997
-0.514613
12.1458
-0.408054
12.4829
-0.605731
7.5864
-1.76267
1.0727
-0.849605
0.339344
0.911667
0.0857302
0.883536
0.127556
0.9245
0.141169
0.981123
0.127544
1.04225
0.0903442
1.09779
0.481062
1.13704
3.87097
1.30327
34.397
-0.685378
60.8891
-1.56667
60.9247
0.819072
60.9859
2.31549
61.0556
3.36471
61.1719
4.13659
61.3737
4.68658
61.6963
5.02198
62.1693
5.12635
62.806
4.96962
63.5704
4.51762
64.2724
3.7544
64.2055
2.76419
41.3924
2.10978
10.0075
2.52707
1.10541
3.30151
-0.140912
3.04567
-0.345362
3.11675
-0.571862
3.28062
-0.809926
3.55202
-1.05514
3.9413
-1.29845
4.45922
-1.52132
5.11387
-1.69549
5.9044
-1.78835
6.81431
-1.77561
7.80728
-1.65616
8.8296
-1.44994
9.82271
-1.19686
10.7336
-0.940603
11.527
-0.698434
12.1869
-0.452491
12.6942
-0.253982
13.0091
13.1677
0.173109
4.02769
0.344289
3.97925
0.51168
3.88326
0.672786
3.7418
0.824378
3.55866
0.962689
3.33986
1.0847
3.09403
1.18956
2.83184
1.28024
2.56481
1.36491
2.30305
1.4563
2.05201
1.56893
1.80894
1.70108
1.55887
1.80416
1.28119
1.78166
0.980392
1.71179
0.730758
1.64259
0.549385
1.59172
0.430317
1.56575
0.367065
1.57426
0.358995
1.64044
0.409261
1.78842
0.515489
1.80429
0.668808
1.98917
1.08291
3.85389
1.8724
5.68518
2.07255
6.2911
0.481658
4.68403
-1.5814
2.15939
-1.84615
2.77562
-0.737317
2.19599
-0.567611
2.03117
-0.165251
2.12181
0.235282
2.49558
0.573776
3.46271
0.758558
3.23071
0.338814
3.06751
0.198583
2.89904
0.164464
2.65671
0.162871
1.82747
0.160875
1.41296
0.574257
1.08878
1.06625
0.733284
1.60309
0.383368
2.23958
0.152269
2.97828
0.232677
3.77188
0.36251
4.40955
0.445918
4.86691
0.474217
5.1677
0.465784
5.32847
0.443502
5.34694
0.418691
5.20224
0.34762
4.87842
1.53224
4.47673
77.0553
4.54276
82.7495
5.47403
4.25582
1.9796
0.986865
0.612436
0.08038
0.495236
0.123203
0.572334
0.260511
0.698515
0.446763
0.808118
0.678856
0.876811
0.986162
0.87809
1.32114
0.744009
0.996586
0.393851
0.731682
0.281355
0.498928
0.311217
0.579009
0.478283
0.605638
0.557644
-0.143555
0.873522
0.278266
2.06728
0.339708
2.95018
-0.154055
3.63824
-1.31099
4.32839
-0.41382
4.99805
0.0918355
4.9881
0.633874
4.58033
1.0642
4.38324
1.47583
4.08799
1.8291
3.84597
2.11327
3.61832
2.30655
3.40078
2.37661
3.16811
2.45519
2.6771
2.53232
2.06781
2.45206
1.44403
2.36843
0.278638
1.93138
-1.08424
1.14732
-2.47171
-0.0329489
-3.47304
0.984812
-2.66764
3.206
-2.2495
3.52266
-3.68116
3.19698
-3.99428
4.41147
-3.65435
8.28266
-2.30533
9.54947
-2.34327
10.7218
-2.04483
11.5097
-1.76558
11.9791
-1.47665
12.2213
-1.1465
12.2903
-0.784268
12.2063
-0.430747
11.9481
-0.150022
11.3259
0.0163967
8.49946
0.374553
2.83397
0.58924
0.311212
0.772017
0.126695
0.766448
0.184179
0.866993
0.2023
0.96298
0.183085
1.06146
0.129589
1.15128
0.647294
1.21076
1.88232
1.2079
33.5157
0.875554
63.2749
0.73583
62.4211
1.67302
62.0351
2.7013
61.8275
3.57215
61.7219
4.24188
61.7091
4.69929
61.8007
4.93072
62.0126
4.91493
62.354
4.62893
62.8072
4.06552
63.2822
3.27953
63.5511
2.49544
41.8097
2.25314
10.7819
2.7139
0.849564
3.05998
-0.0698251
3.14595
-0.181492
3.22842
-0.300469
3.39957
-0.420647
3.67224
-0.537215
4.05784
-0.643794
4.56584
-0.730802
5.20089
-0.785583
5.9591
-0.795383
6.82405
-0.753288
7.76478
-0.663043
8.7381
-0.539053
9.69483
-0.403476
10.5867
-0.280661
11.3732
-0.191137
12.0267
-0.137645
12.5315
-0.0953582
12.8778
13.0655
0.124668
3.94477
0.248302
3.89666
0.370223
3.80149
0.489643
3.6616
0.605584
3.48109
0.716851
3.26614
0.822513
3.02513
0.922534
2.76791
1.01848
2.50438
1.11388
2.24266
1.21323
1.98719
1.31887
1.73735
1.42339
1.48784
1.50336
1.2341
1.53202
0.984032
1.53042
0.76415
1.52353
0.587611
1.52847
0.456284
1.55768
0.368356
1.62452
0.322261
1.74666
0.316816
1.94174
0.349697
2.21839
0.421075
2.77867
0.551398
4.05404
0.625895
4.09429
0.106642
4.22804
-0.0862766
4.41927
-0.260761
3.26822
-0.667804
2.94533
-0.387109
2.59835
-0.193348
2.4317
0.0285965
2.4603
0.234123
2.68037
0.384556
3.04296
0.433403
3.09048
0.319721
3.03339
0.281581
2.89745
0.325556
2.65471
0.430449
2.24085
0.59929
1.90495
0.937536
1.62561
1.38251
1.36977
1.90431
1.12207
2.50851
0.945867
3.18806
0.870352
3.87906
0.819865
4.48821
0.74671
4.96813
0.634986
5.30797
0.484254
5.50851
0.298797
5.56252
0.0948761
5.43702
-0.0540723
5.05884
1.59827
4.39769
77.9866
4.91755
79.255
3.3182
2.88866
1.26136
0.869665
0.666453
0.157478
0.409049
0.249384
0.480437
0.370114
0.577786
0.515456
0.662782
0.680136
0.712135
0.852082
0.706145
0.970979
0.625112
0.884089
0.480738
0.761543
0.403893
0.665994
0.406753
0.65837
0.485902
0.921516
0.62448
1.0502
0.684129
1.16117
0.317825
1.02777
0.353712
0.536092
0.598007
-0.641325
0.92693
-0.423773
2.20018
-0.315933
3.13149
0.436786
3.82761
0.76895
4.05106
1.23381
3.62311
1.60145
3.4783
1.89573
3.32406
2.07388
3.22273
1.88559
3.35649
1.84591
2.71684
1.90854
2.00518
1.28667
1.16462
1.00555
0.290797
0.54391
-0.431816
0.145981
-0.735341
0.772456
-0.686586
1.40295
-1.35219
1.77433
-1.73825
3.20955
-2.89961
3.53691
-4.56596
5.76049
-5.94021
8.24472
-4.78959
9.8479
-3.94648
11.001
-3.19795
11.7986
-2.56325
12.3093
-1.98736
12.5835
-1.42085
12.6439
-0.844723
12.487
-0.274003
12.1145
0.222457
11.6841
0.446854
8.71415
-0.171731
3.01675
-0.0824869
0.305644
0.597761
0.22724
0.549332
0.280166
0.814036
0.300778
0.942353
0.272908
1.08932
0.189066
1.23511
0.644438
1.34466
1.54997
1.45675
33.376
1.47707
64.212
1.72203
63.4494
2.43548
62.9059
3.24452
62.4972
3.98089
62.1793
4.55964
61.9405
4.93822
61.7849
5.08646
61.7266
4.97363
61.7906
4.56586
62.0212
3.83521
62.4981
2.80238
63.3088
1.68506
42.2704
1.4553
11.128
2.3578
0.935532
2.76767
0.0126454
3.16752
-0.0103369
3.25138
-0.0278022
3.41707
-0.0350477
3.67947
-0.0292078
4.05203
-0.00874566
4.54538
0.0274104
5.16479
0.0793638
5.90713
0.14535
6.75803
0.220024
7.68996
0.293692
8.66407
0.352794
9.63444
0.383082
10.5525
0.372762
11.3727
0.313664
12.0591
0.208696
12.5909
0.0922971
12.96
13.1552
0.0765596
3.90964
0.153133
3.86083
0.230338
3.76411
0.309125
3.62167
0.390635
3.43751
0.475847
3.21803
0.565292
2.97208
0.659
2.70998
0.756765
2.44186
0.858405
2.17578
0.96339
1.91651
1.06935
1.66525
1.16965
1.42088
1.2533
1.18325
1.31214
0.957476
1.35388
0.754218
1.3922
0.580657
1.44054
0.438892
1.51159
0.327868
1.61908
0.244953
1.77954
0.186164
2.01312
0.14559
2.34871
0.114616
2.85317
0.075795
3.53479
-0.0269686
3.90137
-0.230924
4.05355
-0.209465
4.01223
-0.190527
3.54892
-0.175683
3.13909
0.0508866
2.8203
0.153534
2.63723
0.239655
2.61074
0.288486
2.72921
0.293928
2.92928
0.261589
3.05234
0.224366
3.07737
0.283843
3.00234
0.427734
2.82355
0.636359
2.5791
0.870822
2.34993
1.19481
2.14741
1.61807
1.97397
2.12292
1.80162
2.70984
1.63687
3.37839
1.4795
4.06942
1.29978
4.69728
1.08655
5.20951
0.835528
5.58756
0.538259
5.8351
0.173301
5.95761
-0.283307
5.92472
-0.715223
5.52319
2.11814
3.63924
76.3872
6.64107
77.1982
3.24094
2.29375
0.641795
0.612261
0.615193
0.228867
0.237613
0.346733
0.362586
0.45511
0.469418
0.564809
0.553085
0.674146
0.602798
0.771048
0.609239
0.826605
0.569549
0.807244
0.500094
0.764403
0.446726
0.745144
0.426001
0.796948
0.434086
0.981164
0.440262
0.683895
0.349896
1.19706
0.593507
1.27206
0.590749
0.865015
0.379579
0.631926
0.437461
0.507534
0.487166
0.380183
1.11561
0.660243
1.93146
0.340994
2.29658
1.089
2.87507
1.4472
3.12011
1.7944
2.97691
2.20764
2.80957
1.24594
2.25745
1.13425
1.4462
1.06798
0.634356
0.41284
-0.0701843
0.282941
-0.0801046
0.240386
-0.0473999
0.194736
-0.126417
0.106851
-0.112166
1.01689
-0.0665344
0.612977
-0.957685
1.54319
-1.49552
2.16267
-2.88738
6.91111
-4.78226
9.08782
-6.96633
10.5964
-5.4551
11.6357
-4.23721
12.3745
-3.3021
12.8758
-2.48873
13.1597
-1.70478
13.2146
-0.899702
12.9835
-0.0429433
12.3389
0.867043
11.0655
1.72031
8.8034
2.09039
3.697
1.55356
0.257215
0.759629
0.491944
0.848361
0.408482
0.897484
0.447741
0.903083
0.418701
1.11835
0.298619
1.35518
0.756523
1.57852
1.5703
1.9362
33.6209
2.2176
64.9255
2.44413
64.2584
3.10249
63.6423
3.86075
63.0759
4.54715
62.5579
5.07767
62.0888
5.40742
61.672
5.503
61.3188
5.32718
61.0599
4.82507
60.9884
3.90669
61.3808
2.41014
63.0791
-0.0127442
43.1729
-4.26695
11.5379
-2.16947
1.33538
2.47937
0.0965088
3.12539
0.155358
3.19252
0.234596
3.33776
0.337513
3.57651
0.464137
3.92548
0.610662
4.39883
0.76975
5.00566
0.930267
5.74668
1.07728
6.61097
1.19414
7.57308
1.26405
8.59404
1.27087
9.62722
1.20323
10.6189
1.05917
11.5131
0.845487
12.2636
0.577772
12.8427
0.287535
13.2385
13.4417
0.0277492
3.92302
0.0564177
3.8726
0.0878885
3.77214
0.124965
3.62306
0.171164
3.4288
0.229894
3.19597
0.303195
2.93477
0.390875
2.65773
0.490685
2.37698
0.599135
2.1018
0.712134
1.83754
0.824981
1.586
0.932022
1.34697
1.02752
1.12039
1.10888
0.90827
1.18032
0.714481
1.25043
0.541815
1.32952
0.390679
1.42868
0.259204
1.56029
0.143475
1.73897
0.0372892
1.98214
-0.0679229
2.30989
-0.183228
2.7504
-0.333731
3.33083
-0.572828
3.92283
-0.783352
4.07249
-0.325888
4.02708
-0.114199
3.77549
0.105616
3.24174
0.614435
2.90642
0.518786
2.68606
0.489925
2.61618
0.388086
2.69687
0.242623
2.89206
0.0954358
3.11181
0.0334056
3.22126
0.20296
3.21097
0.466282
3.05802
0.817164
2.90308
1.05319
2.7732
1.35199
2.65226
1.76803
2.56089
2.25152
2.47017
2.83824
2.3279
3.54528
2.10735
4.31795
1.81202
5.02257
1.4646
5.58546
1.08307
5.99769
0.660767
6.28674
0.140412
6.50812
-0.684844
6.7817
-2.59917
7.47154
5.11996
9.43789
72.9871
15.4113
74.5991
11.7664
2.26714
-1.49694
0.234681
-0.0400696
0.35384
0.118276
0.453565
0.262834
0.538777
0.384204
0.614522
0.477338
0.680586
0.53673
0.731359
0.558457
0.757149
0.543747
0.753876
0.503356
0.743678
0.456916
0.753229
0.416441
0.803124
0.384184
0.890799
0.352588
0.927506
0.3132
1.1943
0.326715
1.06089
0.183756
0.922897
0.172391
0.681631
0.273488
1.13598
0.623156
1.19603
0.753069
1.02536
0.469653
0.919483
0.901167
1.33404
1.67111
1.30401
1.60622
1.62706
1.3536
1.65552
0.645785
0.434692
-0.150157
0.322409
0.0010696
0.36344
-0.0512889
0.40292
-0.0874288
0.315646
-0.153593
0.161369
-0.134143
0.208987
-0.0552172
0.152482
-0.0556717
0.12574
-0.0397966
0.0751381
-0.0323945
0.151333
-0.0136384
0.267787
-0.107232
4.72704
-0.213778
10.5991
-4.44354
11.8143
-6.67034
12.5708
-4.9937
13.1879
-3.91921
13.6598
-2.96062
13.9647
-2.00983
14.0713
-1.00636
13.8935
0.134925
13.1922
1.56845
11.4356
3.477
8.26657
5.25951
2.90306
2.55525
0.345947
0.583009
0.541067
0.62948
0.414081
0.52443
0.663006
0.654148
0.655535
1.12581
0.52196
1.48874
1.1142
2.00711
1.85171
2.92055
33.8475
2.54202
65.5838
2.6897
65.0167
3.66969
64.3287
4.54877
63.6065
5.26925
62.8876
5.79693
62.1844
6.11061
61.4962
6.19098
60.8167
6.00719
60.1416
5.50001
59.4918
4.55629
58.9579
2.9438
58.8249
0.121408
45.2704
-5.40394
16.1867
-3.78441
1.98139
2.60952
0.163643
3.01614
0.300597
3.05562
0.473345
3.16501
0.686483
3.36336
0.93749
3.67443
1.21749
4.11891
1.51076
4.71231
1.79456
5.46292
2.03939
6.36614
2.21509
7.3974
2.29723
8.5119
2.26254
9.66178
2.09741
10.7836
1.80973
11.7995
1.42451
12.6458
0.973577
13.2883
0.490815
13.7173
13.9322
-0.0226744
3.98654
-0.0440377
3.93413
-0.0611989
3.82855
-0.0692963
3.66936
-0.0616574
3.45832
-0.0313076
3.20191
0.0261513
2.91291
0.110122
2.6088
0.215508
2.30617
0.334877
2.01657
0.460597
1.74553
0.585945
1.49395
0.705441
1.26032
0.815405
1.0428
0.915093
0.840511
1.00765
0.653415
1.0993
0.481248
1.19805
0.322623
1.31295
0.17463
1.4541
0.0323183
1.63376
-0.112301
1.86684
-0.269997
2.15939
-0.442004
2.51131
-0.648671
3.12031
-1.13691
4.38029
-1.99829
4.28418
-2.21428
4.24689
-0.629033
4.28431
1.31471
3.14609
1.78772
2.87756
0.820677
2.58422
0.815785
2.47072
0.533278
2.54969
0.194662
2.83003
-0.153554
3.28137
-0.384145
3.48458
0.0309553
3.56185
0.421066
3.29404
1.11713
3.20189
1.17617
3.18924
1.39368
3.13575
1.84887
3.14761
2.26854
3.17721
2.84294
3.10058
3.65205
2.81197
4.63145
2.3749
5.4876
1.87683
6.11223
1.37212
6.53111
0.882147
6.80606
0.413994
7.00645
0.00500317
7.2218
-0.632822
7.56819
11.0934
12.6966
69.3422
29.779
61.3357
22.8421
3.72402
-3.69853
0.393027
-0.205217
0.498398
0.00843748
0.574935
0.185022
0.631911
0.32694
0.673914
0.435276
0.702313
0.508315
0.716649
0.544109
0.716758
0.543623
0.707436
0.512664
0.703204
0.461138
0.720972
0.398667
0.771528
0.333626
0.851411
0.272708
0.941021
0.223592
1.05134
0.216395
1.04953
0.185564
1.02399
0.197922
1.0313
0.26618
1.2659
0.388558
0.912615
0.401035
1.45688
0.809468
1.68942
0.879728
1.26915
0.447452
1.05139
0.223532
0.919245
0.0616858
0.859579
-0.0857023
0.585919
-0.259604
0.270051
-0.22049
0.3273
-0.0598735
0.336755
-0.0154765
0.335096
-0.0124743
0.240295
-0.0393461
0.208532
-0.0234636
0.168357
-0.0155009
0.133142
-0.00458577
0.0938943
0.0068485
0.05774
0.0225126
0.16124
0.0364423
0.497285
0.0146758
8.37224
-0.258593
13.491
-4.18546
13.6453
-5.14803
14.1465
-4.4204
14.6106
-3.42472
14.9682
-2.36753
15.2126
-1.25082
15.327
0.0206541
15.1007
1.79487
13.2181
5.35983
5.56231
4.52079
0.930826
0.0934089
0.392418
-0.11208
0.436017
0.130463
0.543798
0.406925
1.13466
1.00953
1.01847
1.24199
1.04033
1.46685
2.02763
2.86518
1.47317
2.91209
33.9951
2.21055
66.5638
2.96451
65.8958
4.3379
65.0492
5.39521
64.1341
6.1847
63.2013
6.73011
62.2647
7.04706
61.3124
7.14339
60.3095
7.0101
59.1979
6.61134
57.8793
5.87475
56.1356
4.6871
53.2995
2.95694
46.8899
1.00499
22.5806
1.60692
2.38801
3.49062
0.203116
2.83259
0.409989
2.84875
0.671694
2.90331
0.997561
3.03755
1.38197
3.29004
1.81089
3.69001
2.26137
4.26181
2.69778
5.0265
3.07065
5.9933
3.32959
7.13839
3.44712
8.39434
3.38433
9.72454
3.11338
11.0544
2.65604
12.2565
2.06693
13.2339
1.40258
13.9508
0.705724
14.4128
14.6377
-0.0750922
4.10221
-0.149616
4.04859
-0.220392
3.93845
-0.28033
3.76749
-0.318072
3.53326
-0.320308
3.24042
-0.277953
2.90605
-0.192513
2.55818
-0.0740925
2.22201
0.0638427
1.91242
0.209014
1.63371
0.352312
1.38359
0.487928
1.1572
0.613111
0.949681
0.727997
0.757248
0.835484
0.577131
0.940674
0.406862
1.05005
0.243679
1.17063
0.0841566
1.30948
-0.076254
1.47606
-0.247245
1.69483
-0.452409
1.95272
-0.65669
2.02306
-0.678812
2.25893
-1.33041
4.1643
-1.42376
5.86942
-1.36095
6.19063
-0.123393
4.75732
0.910305
2.17905
0.736187
2.87267
1.68813
2.30172
1.41948
2.1321
0.734722
2.20147
0.156363
2.59944
-0.517964
3.69647
-1.44435
3.87469
-1.38748
4.25791
1.07142
3.35309
2.06111
3.4194
1.1469
3.64442
1.20372
3.55541
1.97006
3.72201
2.13004
3.98631
2.60639
4.07998
3.58803
3.66813
5.06998
2.99953
6.1822
2.29571
6.84401
1.64707
7.20846
1.08254
7.39997
0.629343
7.48984
0.351398
7.53082
4.49558
7.59125
28.1757
9.98259
62.4053
21.046
34.7951
14.2242
7.21733
1.26651
0.606681
-0.233569
0.674982
-0.0563014
0.716853
0.13443
0.740247
0.29917
0.746953
0.427319
0.738107
0.516858
0.716164
0.565973
0.685799
0.573958
0.655909
0.54254
0.640733
0.476308
0.655931
0.383469
0.71061
0.278947
0.802295
0.181022
0.933824
0.0920604
1.02051
0.129706
1.06189
0.144177
1.09225
0.167551
1.15368
0.20475
1.27837
0.263856
1.32105
0.358353
1.52714
0.603379
1.25715
0.342428
1.04523
0.23963
0.88954
0.166727
0.771857
0.120685
0.685678
0.081315
0.625033
0.0387077
0.430667
-0.0261198
0.371697
-0.000898602
0.339757
0.0164663
0.308224
0.0190578
0.256177
0.0126978
0.216495
0.0162143
0.179272
0.0217171
0.144577
0.0301052
0.109558
0.0418617
0.0716697
0.0603947
0.139474
0.0949731
0.224016
0.060692
4.44538
-0.00633423
12.5284
-4.08908
14.3729
-6.99258
15.1422
-5.18961
15.6677
-3.95032
16.0849
-2.78476
16.4841
-1.65001
17.1012
-0.5963
18.6657
0.230529
12.379
0.446516
1.13493
-0.164968
0.725337
-0.184159
0.634962
2.16776
0.712479
4.04196
1.1464
4.31521
1.36713
2.74278
1.24333
1.76279
2.43866
2.96177
2.07454
3.2293
0.771635
2.27525
34.7491
2.55119
67.9372
3.69192
66.9531
5.322
65.8387
6.50947
64.6795
7.34434
63.5183
7.89118
62.361
8.20425
61.1791
8.32555
59.9107
8.27817
58.4613
8.06078
56.6917
7.64331
54.4054
6.97352
51.3476
6.01336
47.4919
4.86074
24.4643
3.88965
1.72998
3.09925
0.219274
2.63426
0.464558
2.60339
0.805925
2.56189
1.25005
2.59341
1.78195
2.75818
2.38268
3.08924
3.02607
3.61841
3.66458
4.38796
4.21575
5.44216
4.58553
6.76863
4.77733
8.20256
4.7142
9.78766
4.31544
11.4532
3.6335
12.9383
2.78381
14.0833
1.86452
14.8695
0.930705
15.3461
15.5684
-0.128717
4.27124
-0.259754
4.21935
-0.391351
4.10909
-0.514564
3.92895
-0.610908
3.66688
-0.65468
3.3205
-0.625817
2.91262
-0.528687
2.49573
-0.38368
2.11107
-0.214866
1.77712
-0.0411089
1.49293
0.125928
1.24911
0.280404
1.03484
0.420678
0.841082
0.547881
0.661299
0.665215
0.49065
0.77749
0.325075
0.89053
0.160815
1.01022
-0.0053074
1.13849
-0.172007
1.2709
-0.342878
1.49055
-0.625314
1.9306
-1.04985
1.37147
-1.38206
2.16558
-0.834176
4.22712
2.71416
7.10697
5.00134
7.22433
4.26941
4.5832
2.7483
3.13099
2.50445
2.60402
1.68261
1.61695
0.978027
1.55374
0.829022
1.52714
0.213165
1.67305
-0.629391
3.75334
-0.858195
6.33359
-0.730931
5.2476
0.177755
2.43888
1.03006
3.47621
1.94228
4.41076
3.25194
3.71539
2.702
4.19836
1.68018
4.96796
1.86585
5.56194
3.02134
4.78035
5.87876
3.66135
7.32739
2.66015
7.87226
1.83858
8.05845
1.17241
8.09546
0.670322
8.0221
0.411826
7.82036
6.88692
7.5355
39.2391
7.7447
55.5836
16.5584
21.8374
13.8853
5.71725
4.01345
0.783948
-0.438043
0.865713
-0.112842
0.881594
0.113437
0.868396
0.302593
0.836492
0.454996
0.787222
0.564909
0.724149
0.628742
0.654381
0.643654
0.589677
0.607231
0.547894
0.518092
0.551409
0.379959
0.612685
0.21767
0.713333
0.080369
0.97147
-0.166083
1.03498
0.821811
1.08526
1.99357
1.12945
2.94766
1.21278
2.95434
1.37287
2.04139
1.56607
1.88995
1.26618
0.903267
1.15435
0.454262
0.972331
0.421653
0.843498
0.295565
0.732487
0.231701
0.643071
0.170733
0.560205
0.121577
0.455888
0.0782008
0.389062
0.0659321
0.342349
0.0631826
0.301864
0.0595427
0.259693
0.0548649
0.221998
0.0539039
0.18766
0.0560493
0.156333
0.0614278
0.128091
0.0700995
0.106248
0.082233
0.105193
0.0960247
0.15699
0.0976354
0.362631
0.0370816
9.6249
-0.137056
16.1759
-4.39276
16.3815
-5.39515
16.8333
-4.40223
17.2197
-3.17117
17.5378
-1.96813
17.928
-0.986454
18.8817
-0.723046
11.7676
-2.65013
1.11573
-1.50185
3.07726
4.09953
2.50916
7.72428
0.98573
9.44468
-0.426035
10.0768
0.387148
8.89156
2.4423
6.33827
2.70619
3.4939
1.12049
2.35689
1.04757
3.31742
35.8898
3.73039
69.5673
4.9914
68.1405
6.74822
66.6735
7.97651
65.2264
8.79164
63.8313
9.28606
62.4823
9.55335
61.1318
9.6765
59.6933
9.71653
58.0438
9.71023
56.0219
9.66508
53.4452
9.55056
50.1949
9.26357
46.5208
8.53383
23.6739
6.66065
1.26499
4.18321
0.188406
2.46117
0.423054
2.36877
0.837446
2.14754
1.41483
2.01594
2.113
2.06005
2.91185
2.2904
3.79562
2.73465
4.71878
3.46483
5.54222
4.61869
6.01946
6.29138
6.36243
7.85958
6.37971
9.77035
5.80054
12.0323
4.77852
13.9602
3.57004
15.2916
2.34114
16.0982
1.15296
16.5341
16.7213
-0.180605
4.4919
-0.370015
4.44831
-0.571491
4.34961
-0.776635
4.17251
-0.957286
3.88502
-1.06256
3.46221
-1.04271
2.92821
-0.913356
2.40095
-0.71763
1.9492
-0.499055
1.59179
-0.284922
1.31148
-0.0883492
1.08471
0.0866486
0.891546
0.240895
0.718089
0.377231
0.555824
0.49964
0.398757
0.613231
0.241728
0.724408
0.0797382
0.843524
-0.0922369
0.967619
-0.254408
0.988462
-0.321726
1.06601
-0.65621
1.59839
-0.825672
1.91935
3.85357
5.71392
7.97515
6.5143
9.96396
6.37504
9.51815
5.70323
8.18661
4.33934
6.44134
2.30915
4.63479
1.89944
2.91001
1.46795
1.20209
0.937885
0.839069
0.684586
0.495398
1.44425
0.199069
3.8806
0.129872
7.24228
1.86273
6.09991
3.03204
3.35109
3.91786
4.78587
4.64357
3.86082
4.35888
2.69358
0.408714
4.38404
0.310097
6.12344
3.03498
8.41936
9.21169
6.22898
8.09705
4.20621
9.37707
2.84634
9.25913
1.87559
9.05727
1.09905
8.90115
0.468584
8.68264
0.126963
8.19301
7.09612
7.2891
48.0528
18.0906
52.9104
20.3434
11.9656
2.09553
1.26576
-0.127091
1.10915
-0.228981
1.09199
-0.054746
1.07075
0.152251
1.0208
0.345788
0.946405
0.519631
0.851055
0.656042
0.73906
0.739562
0.617958
0.764506
0.500539
0.724617
0.409761
0.608876
0.38912
0.400607
0.475383
0.13141
0.466882
1.30337
1.95936
5.35541
2.20674
19.2048
2.03935
117.661
1.13613
148.925
0.299829
141.806
1.22143
71.528
0.579389
11.3423
0.81718
5.19506
1.12174
2.28149
0.846244
0.697153
0.779634
0.362182
0.671519
0.33982
0.593915
0.248341
0.516828
0.198668
0.44362
0.151416
0.386312
0.123247
0.338709
0.11079
0.297186
0.101063
0.258732
0.093313
0.224143
0.0884851
0.193039
0.0871479
0.165005
0.0894585
0.140225
0.094878
0.12004
0.102413
0.106803
0.109251
0.0964362
0.107996
0.188493
0.0868484
5.36919
0.105649
15.1735
-4.64242
17.3744
-7.59602
18.0644
-5.09229
18.4227
-3.52962
18.5195
-2.06495
18.1914
-0.658418
16.9546
0.513723
12.9158
1.3885
6.71711
3.39378
6.70201
7.97264
4.22957
10.1969
1.61786
12.0564
-1.61129
13.306
-2.16614
14.0395
-0.402063
11.043
1.56919
4.26958
2.08101
4.72228
1.46054
5.28926
37.1509
5.5975
71.3241
7.02373
69.3688
8.70295
67.4887
9.85664
65.7208
10.5597
64.0986
10.9084
62.6055
11.0468
61.1718
11.1098
59.687
11.2016
57.9987
11.3984
55.9074
11.7565
53.1583
12.2988
49.4652
12.9559
44.6476
13.3522
21.1965
12.1363
-0.457058
8.18504
0.0960047
2.35962
0.201828
2.26292
0.705847
1.64356
1.45894
1.26287
2.34334
1.17572
3.35611
1.27765
4.52579
1.56489
5.87263
2.11803
7.21491
3.2764
7.58766
5.91864
8.2732
7.17404
8.64168
9.40185
7.72845
12.9455
6.10988
15.5788
4.37662
17.0248
2.77708
17.6976
1.34014
17.971
18.0614
-0.224189
4.7559
-0.468718
4.73227
-0.748588
4.66865
-1.06413
4.52686
-1.38009
4.23897
-1.59656
3.7155
-1.56997
2.93721
-1.3651
2.23061
-1.07504
1.69282
-0.779363
1.32908
-0.511693
1.07619
-0.281511
0.886372
-0.0868093
0.728169
0.0786307
0.58357
0.220164
0.444881
0.342611
0.306723
0.451241
0.163558
0.552433
0.0095686
0.681353
-0.177382
0.900301
-0.418388
0.653979
-0.510565
0.896551
-0.125969
6.27763
6.34948
6.04093
11.4525
7.70273
12.8803
6.06849
11.5855
5.04349
10.5411
3.95796
9.27201
2.5328
7.86618
0.584368
6.58133
0.191518
5.68793
1.10493
3.46279
0.594214
1.46135
0.388258
0.548005
1.37505
1.54183
5.61346
1.88555
8.41159
5.16869
6.98574
6.69538
4.0768
6.96762
4.50119
7.66578
-0.0893492
7.05767
2.59496
4.67749
7.10892
1.98901
12.3001
11.3461
7.30472
15.8747
7.509
12.9118
4.08828
12.8255
2.64447
10.7302
1.71947
10.0101
0.880541
9.76899
-0.021041
9.61413
-0.776954
8.98051
17.8976
5.88976
50.3056
17.4633
34.6625
13.2326
9.74296
2.10476
1.16387
-0.51279
1.28338
-0.29824
1.29899
-0.0181085
1.26429
0.24797
1.19464
0.472374
1.08282
0.651431
0.934575
0.796926
0.764004
0.90368
0.578069
0.948587
0.384798
0.917576
0.201491
0.79216
0.119924
0.482183
1.64734
2.32754
4.51892
22.1419
15.8087
129.028
100.663
191.885
33.3025
196.033
-5.98277
168.15
-69.9778
174.156
-58.9643
181.41
-5.56783
165.076
-2.09639
125.534
-0.462593
31.7973
0.511273
7.70478
0.757271
1.87574
0.58004
0.517052
0.544242
0.284146
0.469576
0.273342
0.415451
0.205552
0.373856
0.164852
0.328982
0.155668
0.289436
0.140603
0.253905
0.128834
0.222806
0.119575
0.195349
0.114601
0.170424
0.114383
0.14776
0.117541
0.126878
0.12329
0.105548
0.130572
0.0752883
0.138244
0.207294
0.146034
0.621123
0.149546
12.2199
-0.145294
19.8781
-3.83795
19.627
-4.84135
19.8874
-3.79008
19.926
-2.10365
19.3636
-0.0961384
17.8294
2.04777
14.9211
4.29682
11.296
7.01894
8.92629
10.3424
6.08908
13.0342
2.86745
15.278
-0.877826
17.0511
-5.16268
18.3245
-7.17543
19.0329
2.02188
15.423
2.64799
8.50782
1.76878
5.34823
38.5771
8.04217
73.0033
10.1929
70.5225
11.1838
68.1918
12.1876
66.0694
12.6822
64.2371
12.7407
62.6684
12.6161
61.2636
12.5148
59.8839
12.5802
58.3568
12.9256
56.4497
13.6639
53.8153
14.9336
49.8615
16.9094
43.4318
19.7819
17.2452
23.6243
-6.28248
26.3192
-0.000696103
28.3325
-0.417532
30.1736
0.325152
26.2609
1.3718
10.5117
2.44527
4.97036
3.64335
3.53894
5.07893
2.95619
7.03101
3.93075
9.85715
6.86163
8.84306
6.93276
10.501
5.51607
12.1854
7.71746
10.3617
14.7692
7.55593
18.3845
5.04943
19.5313
3.05042
19.6966
1.43061
19.5908
19.4921
-0.247821
5.04332
-0.532336
5.05613
-0.89038
5.06613
-1.35202
5.02806
-1.90356
4.82961
-2.37485
4.22468
-2.27657
2.87512
-1.90289
1.89167
-1.43878
1.26234
-1.03226
0.955351
-0.701506
0.777591
-0.439713
0.656236
-0.231409
0.551101
-0.060058
0.443113
0.0820061
0.333892
0.199446
0.220884
0.297252
0.0990051
0.365482
-0.020574
0.440348
-0.189689
0.808124
-0.000581677
1.03858
2.15158
7.372
9.42357
11.3806
14.9154
7.46877
13.9653
6.40796
13.9397
5.02406
12.9693
3.77441
11.7907
2.55212
10.4942
1.24795
9.17019
-0.309031
8.13819
-2.03363
7.41138
-0.896511
6.27197
-0.319127
3.01434
1.38208
5.685
1.71877
6.65102
8.8966
9.09886
9.93828
10.4316
7.25798
9.37571
4.77495
9.44849
3.89308
10.7616
-2.46953
9.91598
-0.0935199
10.3046
16.466
18.1212
16.8287
21.3215
4.34184
14.6664
7.42266
14.8581
1.99299
11.5626
1.92442
10.826
1.47833
10.4839
0.725681
10.5503
-0.654656
11.0244
-3.86771
12.2267
29.4712
16.6654
46.0749
24.4844
23.5347
13.3856
7.12541
3.58675
1.37842
-1.17468
1.56352
-0.439301
1.56507
0.0273865
1.48869
0.378946
1.3737
0.654658
1.22831
0.865988
1.04133
1.02218
0.808911
1.13635
0.547059
1.20443
0.259382
1.2036
-0.108486
1.15989
1.96528
3.446
21.4617
8.9245
111.405
149.818
78.6662
184.417
104.812
112.13
5.41887
8.81273
0.0233599
4.92357
-62.7236
5.09839
-75.298
67.6952
-45.1108
142.013
-95.8326
182.866
-24.5551
187.669
-5.31777
150.91
-0.601412
72.3419
0.347134
9.20957
0.533438
2.12815
0.401786
0.405
0.374751
0.232603
0.364672
0.17494
0.313917
0.206421
0.277667
0.176844
0.244646
0.161845
0.217832
0.146383
0.195131
0.137302
0.173583
0.135933
0.153509
0.137614
0.13416
0.142635
0.11322
0.151505
0.0830783
0.168375
0.210806
0.209182
0.326284
0.148069
8.52727
0.0389109
18.8747
-4.47271
20.6783
-6.64507
21.5738
-4.68566
21.9335
-2.46345
21.5075
0.329774
20.0784
3.47677
17.6432
6.73202
14.6194
10.0428
11.6181
13.3439
8.3329
16.3194
4.64056
18.97
0.395541
21.296
-4.45427
23.1743
-10.7854
24.0602
-4.89326
23.3846
-0.511591
15.0721
4.46271
5.00263
40.7278
15.6151
73.9942
16.6131
71.5263
13.652
68.6864
15.0277
66.128
15.2404
64.1125
14.7563
62.5671
14.1615
61.329
13.7527
60.2293
13.6802
59.0951
14.0601
57.7193
15.0396
55.7911
16.8612
52.734
19.9672
47.2741
25.2405
19.9401
34.7112
-4.26919
45.9985
1.84035
56.9441
-4.33018
62.1742
-15.424
73.5846
-4.16957
61.4578
1.01385
50.21
3.0606
46.414
6.0535
43.4587
9.96189
37.0244
9.92828
20.499
7.42637
10.4008
12.7024
13.7232
19.2371
18.3323
13.977
20.0293
8.70275
23.6587
5.21472
23.0193
2.94458
21.9667
1.3319
21.2035
20.824
-0.235013
5.31772
-0.522336
5.38264
-0.928452
5.51193
-1.55046
5.69099
-2.5085
5.82979
-3.72441
5.48234
-3.26002
2.44932
-2.53223
1.19987
-1.74577
0.510018
-1.21002
0.452754
-0.822861
0.423049
-0.544848
0.410619
-0.339397
0.378102
-0.169279
0.305812
-0.0310027
0.229317
0.0775672
0.150865
0.177673
0.0420823
0.196367
0.0359005
0.629455
0.514703
2.96029
7.36865
8.31056
14.2848
12.8638
18.515
10.4306
17.3434
7.44314
16.9527
5.43757
15.9453
3.84542
14.5615
2.47792
13.1581
1.22812
11.7438
0.215941
10.1822
-1.03584
9.38981
-3.17304
9.54841
-4.15414
11.204
2.35153
12.7732
2.34811
13.5296
4.16661
12.5336
10.2294
13.1986
8.88235
11.7781
7.33076
10.9274
6.08806
10.6912
3.04745
10.8355
-2.08093
11.1459
7.72311
12.5534
19.6663
14.9726
10.1737
12.2583
4.53348
11.4196
4.12718
11.5351
1.25642
10.7189
1.58229
10.5275
1.54477
10.5491
1.19974
10.924
0.547696
11.7065
0.570918
12.7706
37.2902
29.2009
34.9761
24.8623
13.7359
4.30781
2.36397
-1.05678
2.1138
-0.883706
2.0302
-0.315133
1.91663
0.182661
1.7644
0.577634
1.58503
0.889673
1.38451
1.1336
1.1555
1.31738
0.876992
1.44921
0.546225
1.53485
0.215667
1.53054
2.17763
1.21316
7.44378
9.6326
162.355
128.939
146.004
143.353
6.37887
6.14849
1.49472
2.37446
1.52972
1.30825
0.19818
0.20643
-0.126769
0.441537
-0.980586
1.14784
-4.25751
2.49805
-91.0292
6.70607
-61.3141
98.1651
-83.8862
158.233
-63.7337
177.818
-6.73428
157.911
-1.18971
79.5147
0.229389
19.3324
0.317088
4.41976
0.396153
1.13935
0.28434
0.318229
0.262668
0.198503
0.229183
0.195322
0.208751
0.166813
0.193763
0.152291
0.175263
0.154434
0.15853
0.154348
0.14303
0.158133
0.13009
0.164439
0.123885
0.174575
0.149693
0.183374
0.217126
0.149283
4.01565
0.199261
16.7024
-3.3505
22.6377
-7.16046
23.796
-5.84391
24.7268
-3.39417
24.6545
0.401982
23.3337
4.7976
20.954
9.1119
17.9205
13.0766
14.5937
16.6707
10.9835
19.9293
6.96649
22.9868
2.27387
25.9889
-3.56833
29.0165
-11.461
31.9528
-13.2058
34.3175
-10.5811
36.0045
15.0752
40.233
41.7259
42.83
71.0331
15.6807
72.902
11.7832
68.8991
19.0309
65.6439
18.4957
63.5177
16.883
62.1584
15.5213
61.2565
14.6537
60.6091
14.3284
60.0746
14.5949
59.5409
15.5723
58.8971
17.5048
58.0073
20.8578
56.7449
26.5031
31.2274
36.0634
6.6764
45.0758
7.07039
54.4345
7.08029
64.0647
-27.5509
68.5554
-15.4173
79.9892
-2.78221
83.1757
0.105283
86.0327
-0.380731
85.501
-6.56359
81.9461
-0.169895
75.0809
10.7488
73.8866
17.3115
91.4718
20.9341
74.7982
17.6064
42.1482
8.06333
33.2018
4.16213
26.9205
2.1813
23.9476
0.952405
22.4324
21.7764
-0.170091
5.52691
-0.393041
5.6443
-0.749399
5.90776
-1.41166
6.39785
-2.85595
7.33882
-6.75743
9.48729
-4.50946
9.42826
-3.22208
-0.145857
-1.80303
-0.772176
-1.23973
-0.0661475
-0.835291
0.054523
-0.577365
0.189374
-0.411687
0.250671
-0.245774
0.180191
-0.109454
0.136475
-0.0312159
0.120341
0.171491
0.789238
0.67517
6.63828
7.48341
13.4917
9.87648
18.5268
12.5407
20.0915
11.6922
19.3633
10.0399
18.9958
6.43577
20.557
4.05372
18.3274
2.44204
16.1731
1.06365
14.5364
-0.333506
13.1409
-0.576465
10.425
-0.877238
9.69044
-1.51744
10.1885
-2.58496
12.2712
3.10794
16.2023
1.35208
14.8378
4.83169
14.1421
8.80883
13.5838
8.0317
12.5551
7.09454
11.8648
6.2323
11.5536
3.35793
11.8793
-0.673453
11.422
10.1422
12.205
16.952
10.7751
9.33506
10.8296
4.64892
11.2649
3.31104
10.7165
1.06503
9.9989
1.60382
10.0163
1.91969
10.2609
1.98227
10.89
1.6118
12.1073
17.0012
14.0772
32.9517
20.4539
14.4216
8.427
8.37126
-0.600585
2.53704
-2.76582
2.68237
-0.992534
2.528
-0.124541
2.3116
0.436293
2.07644
0.853597
1.82896
1.18481
1.56828
1.45295
1.28733
1.66697
0.962635
1.83413
0.541909
1.97771
-0.101711
2.17214
10.5971
7.65422
126.751
35.7684
176.769
83.8133
8.79925
1.465
2.60484
2.00383
0.428509
0.0200126
0.427897
0.120088
0.433287
0.20107
0.579537
0.295296
0.369623
0.308165
-0.0494903
0.572768
0.429852
1.49914
-1.2466
1.8252
-64.3007
3.6348
-83.6406
68.3805
-85.1308
151.199
-61.372
176.461
-14.6832
168.713
-2.96333
143.149
-0.424965
77.2179
0.164614
11.1893
0.259488
1.93926
0.200675
0.254134
0.194229
0.173258
0.195905
0.150616
0.175177
0.175165
0.162315
0.167213
0.149336
0.171111
0.140226
0.173546
0.132685
0.182116
0.115602
0.200457
0.267104
0.240017
0.465881
0.163671
12.8924
-0.0450446
23.9543
-5.73935
26.2458
-8.13526
28.5229
-5.6712
29.0501
-0.125094
27.648
6.20001
24.9187
11.8415
21.5146
16.4807
17.8522
20.333
14.041
23.7402
9.96858
27.0597
5.30149
30.6559
-0.632028
34.9495
-9.0963
40.4171
-11.5188
47.2553
-6.35259
50.1318
17.6722
63.201
14.5765
59.9271
67.1357
70.5997
80.1496
51.3664
68.3638
30.8172
64.0312
22.8285
62.156
18.7591
61.2908
16.3868
60.9312
15.0139
60.8756
14.3837
61.052
14.4183
61.4734
15.1509
62.2501
16.7292
63.6526
19.4546
66.3052
23.8509
40.2399
30.6051
16.0351
43.3002
16.7006
57.9663
11.571
67.3846
-16.117
51.8962
-12.2308
60.4453
0.0747481
70.8704
-0.42646
86.5339
-3.93561
89.0102
-13.4288
91.4394
-1.36423
101.802
28.334
109.006
0.63793
101.523
-11.7159
86.5212
8.66002
61.9673
1.78204
32.1951
1.18921
27.5133
0.666062
24.4707
0.296415
22.802
22.0728
-0.0526982
5.61837
-0.12958
5.75895
-0.259316
6.07447
-0.470684
6.64641
-0.707481
7.61374
-6.81646
9.04264
-14.0836
20.5337
-3.8484
24.6046
-1.097
11.1559
-1.11905
-0.332645
-0.70044
-0.298879
-0.516068
0.0459396
-0.482167
0.264803
-0.28949
0.53193
-0.125588
2.53316
0.637681
8.92867
6.02053
14.437
7.52859
18.7962
12.5185
21.2118
11.4412
19.6035
11.8125
19.7202
11.3247
19.8512
11.6011
18.7196
4.2062
14.3472
1.89946
10.4281
0.805291
8.63794
-0.33187
7.84066
-3.04935
8.08712
-1.31106
8.68664
-0.379157
8.75845
0.565198
9.2441
1.34619
11.4901
1.74346
14.1055
0.656325
14.7748
4.27344
14.3454
7.78008
13.9824
7.34141
12.9936
6.78332
12.4229
6.55804
12.5717
2.90057
13.3168
0.109598
11.3589
8.71235
11.514
17.0064
10.5272
9.77038
8.95443
4.10057
8.42834
2.59343
9.3667
1.08247
9.16969
1.84835
9.27834
2.54881
9.5882
3.19953
10.2679
3.58172
11.7556
23.3779
15.5471
20.9248
6.50432
5.39405
-3.00344
6.20603
-0.836046
4.31033
-0.838155
3.55037
-0.200541
3.08883
0.369361
2.7289
0.829916
2.40766
1.21123
2.0971
1.5368
1.7823
1.81819
1.45448
2.05748
1.10621
2.251
0.736341
2.39547
5.38037
2.49017
38.7113
5.53666
174.796
75.0994
94.4203
72.0839
9.33807
3.65599
0.621026
0.152925
0.528584
0.112438
0.508878
0.139799
0.527514
0.182451
0.592406
0.230425
0.634226
0.266369
0.87688
0.330122
0.755911
0.261611
0.563007
0.350425
0.444976
0.699728
-0.822304
1.48449
-59.869
3.36467
-69.1193
64.0314
-40.2476
132.892
-68.8943
164.351
-66.4536
178.063
-9.08541
164.13
-1.42564
100.966
0.119799
58.1836
0.171587
6.01756
0.220454
1.31657
0.167226
0.228395
0.166213
0.168229
0.151771
0.185555
0.148797
0.176522
0.151026
0.179889
0.155161
0.196323
0.190758
0.204421
0.257166
0.190541
7.19809
0.116086
21.5584
-6.66703
28.7098
-15.2865
34.069
-11.0302
35.3752
-1.43113
33.2895
8.28591
29.5579
15.5731
25.3669
20.6718
21.2594
24.4405
17.3605
27.6394
13.5648
30.855
9.59505
34.6255
4.83553
39.709
-2.25805
47.5107
-8.64227
61.3553
6.7166
76.3371
14.3983
77.3001
25.2492
69.4702
47.9023
65.2859
59.6005
39.6685
60.3751
30.0428
59.9618
23.2429
59.7837
18.9378
59.9179
16.252
60.301
14.6312
60.9101
13.7759
61.7846
13.5427
63.0517
13.8825
64.9754
14.8065
68.049
16.3813
73.0593
18.8403
52.935
23.3819
30.7013
37.35
26.1188
46.9448
-3.91744
44.3823
-7.56789
43.2169
-1.80572
47.3754
15.7383
53.3272
2.04985
51.3401
-1.50648
48.0712
-3.0663
47.1043
5.84027
46.471
20.8507
36.8188
-14.3639
9.01596
-36.2698
13.1162
-21.1121
34.2543
-2.89972
33.0992
-1.85339
26.467
-1.00267
23.62
-0.432803
22.2322
21.64
0.08788
5.56902
0.185936
5.69822
0.312626
5.9838
0.496653
6.49749
0.72141
7.42405
4.67456
9.36318
-10.0126
10.6128
-17.2971
23.8211
-12.5855
32.0966
-1.08529
24.2748
-0.355621
19.3258
-0.297204
16.144
-0.21504
15.0651
1.71174
16.63
6.26992
19.2361
6.14603
21.7391
10.3797
22.7101
9.94415
20.7548
10.9103
20.2453
11.5579
18.9561
11.9435
19.3347
10.1931
14.7355
7.22862
7.49494
0.28707
0.360631
0.109332
0.0934191
0.00800721
0.0103314
-0.085403
0.0199715
-2.44983
0.125583
-1.23926
2.59427
0.106497
3.97635
2.81122
6.53935
3.9616
10.3397
2.41268
13.3032
0.226976
14.4776
3.91046
14.8819
6.79129
14.6816
6.77071
13.014
6.93211
12.2614
7.30309
12.2007
0.94264
10.5633
0.264786
11.1036
7.72552
11.1674
15.4336
9.99804
9.24429
6.32585
5.03893
6.90947
2.39643
9.23056
1.19111
8.25173
2.15821
8.33954
3.22851
8.54585
4.68719
8.83785
7.37328
9.10003
14.3351
8.61698
11.417
3.54469
7.56145
0.882554
6.20392
0.551966
4.94794
0.448408
4.12027
0.65786
3.54939
0.971296
3.11022
1.30085
2.73323
1.6215
2.37849
1.92809
2.0216
2.21835
1.64799
2.48575
1.25069
2.71517
0.831043
2.87833
8.42686
2.92203
108.274
-0.420366
171.78
31.1584
25.9924
20.6998
5.835
5.27665
0.580538
0.125913
0.555946
0.137011
0.55153
0.14422
0.575488
0.158511
0.628349
0.17759
0.697979
0.196758
0.808369
0.219738
0.844725
0.225256
0.91231
0.282851
1.22974
0.382305
1.05787
0.309559
0.797715
0.438701
-0.258735
0.879821
-8.78865
2.69786
-55.1822
12.6391
-80.3865
69.0883
-72.2499
149.162
-44.2077
170.277
-52.0463
171.328
-4.5294
152.67
-0.867719
96.3219
0.10706
54.3019
0.183539
1.97949
0.142738
0.226357
0.152163
0.167101
0.16746
0.164595
0.163259
0.200525
0.176878
0.190803
0.182711
0.184711
0.414976
0.163833
12.9389
0.178507
32.9661
-11.7831
43.6681
-21.7322
45.0923
-2.85531
40.5767
12.8014
34.6566
21.4931
29.1356
26.1932
24.4583
29.1176
20.5761
31.5214
17.3354
34.0958
14.6785
37.2823
12.6373
41.7504
11.5865
48.5616
6.33958
61.8359
7.67955
77.8156
6.56839
74.102
21.0649
55.0275
22.2849
36.6724
49.9748
33.3358
53.5753
26.4428
55.6567
21.1616
57.0979
17.4965
58.2971
15.0539
59.4457
13.4814
60.677
12.5446
62.1244
12.0956
63.9757
12.0312
66.5502
12.2315
70.508
12.4227
77.6009
11.7478
66.9031
7.08304
40.2961
12.5685
23.5563
16.541
-5.08286
5.22427
-3.40943
12.8045
4.14609
18.2528
13.7512
15.3225
-1.21906
2.0725
-2.47334
2.93019
-3.69958
3.68081
-3.81193
3.58454
-6.95214
3.17702
-10.2637
4.09288
-15.1318
6.0377
-22.2672
10.3734
-9.53187
20.3638
-4.70039
21.6355
-2.39054
21.3102
-1.02496
20.8666
20.615
0.217079
5.3903
0.471524
5.48106
0.82631
5.66546
1.42321
5.93725
2.66054
6.22623
5.92418
6.14806
3.19571
3.78852
-9.02163
3.28203
-20.4074
17.292
-6.03433
32.9185
-3.53736
35.2601
-1.37611
30.908
1.34982
29.9447
4.31789
29.1638
8.77292
27.5418
7.11707
23.3655
8.42437
21.4018
9.43465
19.7446
9.62112
20.0589
11.9365
16.6409
7.34425
10.3604
2.95259
3.03227
0.094316
0.0784993
0.0198581
0.0191051
0.0262442
0.053112
0.0176473
0.0189692
0.0202088
0.0173703
0.0188573
0.0249428
0.142821
0.0309692
2.6695
0.351205
6.6116
4.90407
6.92505
10.0262
3.58712
13.1454
0.631258
14.1459
3.71014
13.6644
5.12374
12.5657
6.01809
12.1196
6.87145
11.408
5.66561
9.87336
1.48298
8.77797
0.328587
11.084
6.55616
11.7095
11.7614
10.8881
9.8279
8.25926
7.36002
8.78664
1.41759
7.65081
1.27893
7.12186
2.36452
7.28246
3.52051
7.41796
4.94936
7.43762
6.89024
7.18917
9.26277
6.27545
8.75491
4.08253
7.23086
2.43657
6.10036
1.71255
5.15739
1.42163
4.4337
1.412
3.87894
1.55673
3.43087
1.77992
3.03982
2.04427
2.66874
2.33272
2.289
2.63607
1.87741
2.94453
1.41386
3.23985
0.874737
3.48643
5.08446
3.62537
139.853
2.87288
161.322
7.64564
10.5692
5.57206
0.68427
0.38881
0.591636
0.21851
0.563155
0.16549
0.565821
0.141568
0.594568
0.129789
0.647517
0.124664
0.720959
0.123327
0.813887
0.12681
0.90232
0.136825
1.01176
0.173418
1.157
0.237087
1.18701
0.279544
1.23883
0.386864
1.55931
0.55934
1.15255
0.595631
1.26712
1.15787
-0.313231
2.10483
-51.1344
4.26055
-43.1568
56.7297
-70.704
100.699
-60.8778
160.542
-42.8877
172.287
-52.2154
167.937
-1.56959
115.756
0.0834817
70.1597
0.149658
19.8475
0.203389
1.95281
0.153537
0.250377
0.170785
0.173559
0.161833
0.193668
0.42965
0.290441
0.977216
0.253951
23.017
-0.448879
62.545
-20.2718
60.749
-1.05933
49.2684
24.2821
39.3568
31.4048
32.0599
33.49
26.8621
34.3155
23.1505
35.2325
20.5219
36.7246
19.1466
38.6574
19.4484
41.4484
24.8608
43.1493
22.3193
45.5551
3.96587
37.8078
-12.5061
36.9526
2.70978
40.5147
18.9483
33.1245
43.0818
26.9937
48.2941
21.2315
51.9915
17.4643
54.6553
14.8329
56.7246
12.9844
58.5089
11.698
60.228
10.8261
62.06
10.2628
64.176
9.91536
66.7414
9.66729
69.8331
9.33263
72.9362
8.643
72.3885
7.62968
44.2687
9.68608
12.2395
8.84808
2.49737
2.84633
2.03888
1.53134
1.21579
0.841325
0.501184
0.729916
-0.361373
0.945408
-1.72271
1.43623
-3.79585
2.34558
-4.21946
4.00817
-6.03627
4.99385
-8.31885
6.37547
-10.796
8.5149
-12.2769
11.8543
-8.26012
16.347
-5.02576
18.4012
-2.83414
19.1186
-1.27652
19.309
19.3385
0.307839
5.12068
0.655924
5.17023
1.0981
5.2599
1.71219
5.36027
2.58237
5.39578
3.56463
5.21063
2.68923
4.70054
4.98837
5.53384
-4.78089
5.67967
-3.69272
13.5761
-7.88952
20.14
-2.33937
25.1953
0.56891
26.8096
2.69593
27.0162
4.59662
25.6377
5.15336
22.8084
6.76712
19.7881
9.74901
16.7628
6.20306
12.0222
5.65605
5.82785
0.0160728
0.15886
-0.00118012
0.11904
0.0349218
2.44452
0.053865
3.70314
-0.00789867
3.75347
0.0160484
2.63966
0.0277813
0.274212
0.0248837
0.0278396
0.463056
0.0178176
7.22236
0.481794
11.7338
6.93967
10.0442
11.7157
4.58771
14.1308
0.149679
14.1567
2.61152
14.9215
4.67756
15.1489
5.30647
13.0086
5.33685
11.3775
4.57022
10.64
3.78902
11.3477
0.954136
10.8725
5.73467
10.9645
9.13263
8.02303
10.3553
7.03664
6.22419
6.87123
0.888642
5.97718
1.43954
5.7876
2.50001
6.25061
3.54017
6.40609
4.70092
6.30547
5.97651
5.94307
7.06985
5.21227
7.10895
4.07317
6.50685
3.06838
5.80944
2.43982
5.14776
2.11334
4.57844
2.01157
4.10214
2.0635
3.69521
2.21758
3.32827
2.44238
2.97209
2.72108
2.59746
3.04555
2.17274
3.41072
1.66044
3.8069
1.01367
4.20366
4.33198
4.51174
144.626
5.15397
159.248
-25.536
5.38592
0.797246
0.51397
0.160581
0.538617
0.19386
0.539232
0.164887
0.554042
0.12678
0.589443
0.0944117
0.64618
0.0679423
0.724442
0.0450673
0.823902
0.0273529
0.938914
0.0218205
1.07543
0.0369107
1.19945
0.113076
1.29433
0.184653
1.41131
0.269871
1.5956
0.375044
1.71479
0.476426
2.21407
0.658575
1.8425
0.567525
1.33482
0.693972
0.812545
1.3299
-10.8615
3.05169
-49.1325
16.1059
-47.2374
66.7598
-104.396
114.674
-47.1662
169.504
-50.2287
177.067
-17.7451
170.02
-1.49904
114.695
0.0767184
88.6007
0.190895
59.415
0.258605
11.5346
0.393161
6.28897
0.274386
7.04957
3.19414
18.8375
81.7575
67.0106
86.0904
73.3557
56.3911
53.9814
41.4419
46.3542
32.8854
42.0463
27.7791
39.4216
24.6426
38.3692
22.4547
38.9122
21.9376
39.1746
21.1493
42.2368
27.2667
37.0319
14.572
22.7475
3.11074
7.81953
-8.944
3.63635
-4.68046
12.9547
12.8175
13.5866
37.3196
14.9736
44.5269
14.0241
49.3601
12.6313
52.8068
11.3883
55.4383
10.3517
57.6369
9.49952
59.6648
8.79895
61.7125
8.21466
63.9279
7.69978
66.4067
7.18804
69.1435
6.59573
71.9228
5.86324
74.4449
5.10935
43.4307
4.76511
6.23779
3.46982
1.18239
1.72964
1.34887
1.36485
1.10438
1.08579
0.716676
1.11765
0.129452
1.53266
-0.81337
2.37905
-2.13325
3.66547
-3.23378
5.10871
-4.65465
6.41474
-6.17942
7.90026
-7.45661
9.7921
-7.78419
12.1819
-6.20596
14.7688
-4.30837
16.5036
-2.64374
17.4539
-1.24698
17.9122
18.0915
0.357383
4.80137
0.745592
4.81918
1.19847
4.84357
1.74771
4.8479
2.39722
4.78484
3.05454
4.59448
3.52253
4.26886
5.1342
3.9565
3.11552
2.58682
2.8712
3.04785
-2.83423
4.3953
-0.725087
10.1937
0.775498
12.6583
1.31748
13.4244
1.76731
12.7399
2.13304
11.227
3.74177
9.09426
5.00842
5.33805
0.00874441
0.310819
-0.012936
0.219054
-0.0237478
3.63516
2.3243
6.54198
1.29354
8.19405
0.104201
8.52202
-1.12171
8.53452
-2.3494
8.638
-0.218591
8.27511
0.0148618
8.47525
0.927032
10.4151
13.6802
15.0679
16.5098
16.7094
12.4592
15.7661
4.6136
17.4806
0.914458
14.0554
2.83894
15.1249
2.53721
15.1044
3.67544
11.8703
4.59932
10.4535
5.27787
9.9612
3.31382
10.0879
1.04615
10.188
2.79323
11.2284
8.14624
12.3397
10.1899
9.82884
5.33014
6.5513
0.699065
4.65345
1.90255
3.97408
2.65548
5.52643
3.43956
5.65054
4.33852
5.43517
5.24572
5.06504
5.93074
4.55685
6.10416
3.92929
5.87828
3.32384
5.48296
2.86485
5.04599
2.58019
4.63037
2.45728
4.25623
2.46795
3.92001
2.58438
3.60697
2.78637
3.29656
3.06304
2.96263
3.41255
2.56891
3.84196
2.0572
4.36747
1.32174
5.00901
4.97422
5.72964
113.936
7.29075
185.581
-91.5651
4.74925
-99.9872
0.547248
-1.58018
0.509644
0.231454
0.501125
0.173423
0.521673
0.106253
0.562974
0.0531245
0.623305
0.00761615
0.706727
-0.0383495
0.818369
-0.084279
0.954004
-0.113803
1.1516
-0.160679
1.27103
-0.00636141
1.37955
0.0761231
1.51648
0.132934
1.69698
0.194542
1.89694
0.276455
2.12302
0.432467
1.96894
0.721592
1.97075
0.692175
2.53433
0.766306
2.19275
0.573016
1.52143
0.784623
0.676744
1.55325
-49.5662
3.80216
-39.6036
55.9345
-57.2754
97.4179
-73.0702
154.759
-27.5932
180.053
-29.109
178.629
-47.6895
177.079
-4.98699
131.302
1.15376
109.132
12.0623
108.606
51.3673
121.827
88.1026
129.339
66.7161
94.7422
48.764
71.9334
37.1339
57.9841
30.2607
48.9197
26.7267
42.9554
25.1856
39.9103
22.7171
41.3811
24.9998
36.8915
15.9443
27.4628
12.9822
13.7744
-0.355958
1.09343
-1.07244
1.29707
0.374348
2.18953
-4.04857
1.91033
14.2045
5.08894
36.3701
6.66246
43.1342
7.2596
48.117
7.64856
51.7702
7.73498
54.5861
7.53566
56.9364
7.14873
59.0805
6.6552
61.1977
6.09657
63.4162
5.48108
65.8144
4.79119
68.411
4.00014
71.1689
3.10517
74.1007
2.17822
42.1354
1.40564
4.4976
1.17328
0.817591
0.962907
1.06981
1.1126
1.13624
1.01938
1.13169
1.12221
0.975844
1.68851
0.473049
2.88185
-0.690016
4.82855
-1.92775
6.34645
-3.16913
7.65614
-4.28758
9.01871
-5.06684
10.5714
-5.1973
12.3123
-4.47115
14.0426
-3.35803
15.3905
-2.18545
16.2813
-1.06765
16.7944
17.0239
0.375193
4.4641
0.769979
4.46144
1.2028
4.44713
1.68465
4.40247
2.20685
4.29996
2.72892
4.11102
3.21017
3.82371
3.76453
3.43668
3.57654
2.80656
4.21865
2.43666
2.96421
1.47873
1.7395
1.27183
1.5416
1.68496
0.632949
1.93828
0.254393
0.655718
0.000323481
0.0314732
-0.0144345
0.0238614
-0.0188145
0.149108
-0.0830201
4.73944
3.40317
8.67421
2.88307
11.1166
3.97637
11.8564
1.62151
10.5489
0.1167
10.0269
-1.01824
9.66947
-2.71228
10.3321
-0.0184549
13.0967
1.95467
14.9689
5.57982
17.1946
15.3218
19.2033
15.5666
16.4645
14.1737
17.1587
1.18841
15.4664
1.98389
12.4018
2.81849
10.0556
-0.696881
8.23233
2.25865
8.55485
4.10701
8.60504
5.40461
8.66332
3.41393
8.75632
2.08647
8.85708
3.90456
10.7338
5.63539
11.4254
6.91233
8.55198
3.43229
6.69287
0.0196903
5.33713
3.4549
6.12033
2.7796
6.23051
3.22419
5.23481
3.96839
4.71976
4.73753
4.32494
5.30319
4.02053
5.4987
3.7632
5.4193
3.43275
5.19829
3.11549
4.92308
2.8852
4.64104
2.76932
4.37265
2.76657
4.122
2.86553
3.88364
3.05552
3.64607
3.33181
3.39204
3.6987
3.09442
4.1745
2.69874
4.8069
2.04237
5.73279
6.53533
7.44426
15.0796
5.98261
177.159
-2.1631
103.156
-66.3721
2.35888
-4.09067
0.451613
-1.03287
0.433956
0.191088
0.468544
0.0716751
0.517465
0.00420814
0.577339
-0.0522511
0.660798
-0.121795
0.788846
-0.212313
0.907128
-0.232075
1.30592
-0.559469
1.35351
-1.17379
1.43636
-6.73087
1.57809
-8.80139
1.77889
-6.26866
2.05295
0.211096
2.41215
1.35212
1.93953
1.19421
2.04488
0.586824
2.34104
0.470151
2.40436
0.509724
2.29006
0.898919
2.92565
0.917667
2.56609
0.555653
1.87985
0.742135
0.0661796
1.97513
-47.7765
6.34583
-29.0177
58.2462
-30.6586
90.1798
-93.4668
123.268
-27.1569
174.373
0.628238
182.115
25.2826
182.215
58.88
170.099
53.5055
134.714
43.9073
104.34
34.8147
81.0258
28.0695
64.7296
24.2964
52.6926
23.6816
43.5706
26.6565
36.9353
18.2276
26.6211
15.5711
13.1828
2.25592
0.610734
0.301288
-0.255892
-0.152317
0.505509
-0.179974
1.32473
0.0951437
1.91445
-0.869956
2.07117
15.778
3.07563
36.9673
0.853197
43.5231
0.703262
48.2034
2.96942
51.5709
4.36645
54.1992
4.90874
56.4428
4.9068
58.5218
4.57711
60.5822
4.03588
62.7263
3.33648
65.0234
2.49375
67.516
1.50767
70.242
0.379577
73.3281
-0.908943
41.903
-2.70177
4.28723
-1.63719
0.967282
0.875239
0.976593
1.10328
1.23907
0.756907
1.69799
0.663287
2.16919
1.21731
2.41975
2.63131
0.827882
6.42042
-0.618061
7.79239
-1.80655
8.84463
-2.73494
9.94709
-3.32587
11.1623
-3.467
12.4534
-3.12331
13.6989
-2.46715
14.7343
-1.67239
15.4866
-0.838161
15.9602
16.1857
0.37253
4.12933
0.755665
4.1152
1.15815
4.08082
1.58213
4.01444
2.01791
3.90047
2.44161
3.72417
2.82314
3.4777
3.13441
3.15959
3.20664
2.76656
3.26073
2.41392
2.75731
2.01287
2.15263
1.90669
1.79492
2.07249
-0.649608
2.05254
-0.369851
4.36705
-0.0072883
7.02356
0.110812
9.37516
4.57152
12.6416
3.85175
14.6318
5.84554
15.1676
3.6229
13.3392
2.66889
12.8104
1.09944
12.1184
-0.24069
11.367
-0.355643
9.78446
0.052303
9.92415
1.85378
11.2952
4.18037
12.6423
7.58851
13.7865
12.583
14.2088
16.2608
12.7869
12.4814
9.76789
-1.8761
3.61138
-0.362392
5.97929
0.995253
5.63119
-0.374366
4.24053
2.30884
5.55979
4.16529
6.74846
5.49761
7.33068
3.51468
7.31448
3.9632
6.36171
4.59611
7.26041
2.76201
6.92708
5.05323
8.71353
2.07655
7.66677
0.802892
6.55397
3.56508
6.61118
1.78389
4.79547
2.70914
4.33801
3.57356
3.88402
4.43312
3.49433
5.04586
3.43701
5.16825
3.6702
5.10204
3.52845
4.968
3.27914
4.80721
3.07576
4.63829
2.96821
4.47161
2.96343
4.31199
3.05557
4.15993
3.23827
4.01296
3.50978
3.86784
3.87541
3.72682
4.34879
3.62463
4.94847
3.75385
5.66518
5.07368
6.26522
6.9339
5.2004
112.95
6.59715
165.438
-91.9699
5.41668
-121.456
1.67558
-2.88286
0.314543
0.0349212
0.401077
-0.0148594
0.461006
-0.0557152
0.507795
-0.0990261
0.57028
-0.18426
0.769084
-0.411101
0.579733
-0.985248
0.691597
-11.5435
-4.20357
-18.4374
-0.634159
-21.0531
4.11083
-22.339
8.25865
-23.6025
3.19397
-21.9609
2.25424
-19.0465
1.33214
-15.8109
1.9282
-9.23955
2.38062
0.694646
2.79355
1.45079
2.30881
1.38366
2.56363
0.662848
2.75257
0.366715
3.11284
0.381861
4.43688
0.651078
4.12382
0.511487
2.91593
1.26611
2.4297
2.91995
-42.3617
6.97734
-19.4149
55.7027
0.727719
81.0268
13.1672
84.9301
23.4944
80.7529
23.1319
68.362
20.5929
54.1009
18.5186
42.6203
16.0325
34.3218
15.1745
27.0944
17.0462
21.0988
16.3422
11.7079
4.78933
-1.2871
2.99899
-2.05731
1.38929
-1.15222
1.06269
0.0706176
0.666906
0.901239
0.409749
1.58189
0.251862
2.07235
0.134497
2.31292
13.5556
2.94818
36.8173
-5.0871
45.7893
-8.2684
49.6005
-0.841085
52.1132
1.85489
54.1972
2.82344
56.1131
2.99065
57.9806
2.70916
59.8828
2.13399
61.8836
1.33551
64.0373
0.340743
66.3879
-0.843573
68.9535
-2.18591
71.5353
-3.49013
42.9676
-3.85944
6.79966
-1.39364
1.19533
0.604071
0.630216
0.53783
1.14545
0.24166
2.25201
-0.443284
3.58318
-1.31362
6.20886
5.63091
2.19985
10.4294
0.434177
9.55805
-0.704087
9.98289
-1.51975
10.7628
-2.03473
11.6772
-2.22149
12.6402
-2.08792
13.5654
-1.71485
14.3613
-1.1988
14.9706
-0.612617
15.374
15.5731
0.358393
3.80852
0.721292
3.78903
1.09177
3.74634
1.46817
3.67362
1.84161
3.56257
2.19515
3.40629
2.50503
3.20268
2.74138
2.95708
2.854
2.68641
2.85967
2.43985
2.65113
2.25232
2.31842
2.26985
1.77497
2.64607
1.66491
3.85628
2.28666
6.56601
2.34431
6.9824
3.3772
9.1196
6.56177
11.0974
4.38757
8.57863
4.01711
7.94915
3.09412
7.25916
1.97688
7.0453
0.348047
6.87706
-1.82325
7.19019
-0.21595
8.17719
1.42336
8.28487
3.20091
9.51771
5.3245
10.5188
8.01081
11.1002
11.1612
11.0584
13.2418
10.7063
6.32486
5.42785
0.491812
0.409473
-0.710497
0.578722
-0.395406
1.73039
0.944891
2.25476
3.49751
3.8585
4.74751
5.49827
5.48141
6.59655
2.56191
7.77916
4.8619
9.43033
4.26278
8.89727
4.54846
7.94849
4.00647
6.82307
0.963751
4.96252
0.860106
4.95646
1.74937
4.87121
1.32643
3.64916
2.25515
3.43801
3.18387
2.9841
4.37579
2.33142
5.27905
2.56303
5.02651
3.95223
4.85272
3.73182
4.76462
3.39691
4.69965
3.17056
4.63351
3.06434
4.56375
3.06338
4.4947
3.15502
4.43143
3.33218
4.37858
3.59357
4.34122
3.9441
4.32651
4.39577
4.34134
4.96946
4.35388
5.7034
4.00887
6.7145
8.33065
8.63171
14.3831
7.81237
135.951
2.62248
123.99
-118.706
4.59336
-139.489
0.264763
-55.1116
0.360222
-3.62026
0.417695
-1.70642
0.422561
-1.35049
0.343439
-1.50952
0.194937
-2.77175
-9.9785
-25.0581
-6.20237
-36.3899
-6.81924
-35.491
-1.92005
-25.9525
2.84736
-27.1066
9.90022
-30.6565
6.10836
-36.582
5.4899
-36.8043
7.90345
-34.0205
11.8624
-33.4135
3.13677
-31.0333
2.72642
-26.4418
1.588
-22.4598
2.2675
-16.6681
2.76772
-11.0571
3.38206
-9.42995
4.29729
-7.50468
4.87845
-1.00843
4.56977
1.57443
6.48709
1.00248
6.36371
0.37058
5.90912
0.510246
4.63103
1.35904
8.99001
3.92388
11.1035
4.42932
8.87085
2.39169
9.11233
2.25888
10.22
1.65619
8.80509
-0.314604
9.17887
-1.14207
7.6553
-2.60291
3.34723
-2.72173
4.01912
-0.690356
3.90408
-0.0417225
2.61214
0.139717
1.89331
0.789425
1.34756
1.44703
0.900208
2.02922
0.492429
2.48016
0.769758
2.74555
5.5203
3.21717
33.636
2.40112
53.2166
-0.674975
52.2964
0.0767671
53.0817
1.07004
54.3644
1.53949
55.8316
1.52479
57.4055
1.13605
59.0843
0.456006
60.8888
-0.468581
62.853
-1.62297
65.0456
-3.03594
67.6492
-4.78981
71.166
-7.00645
45.4334
-9.55952
8.79737
-4.6444
1.12909
0.0288537
0.334046
0.263684
0.460507
0.115208
1.38167
-0.102515
10.5277
-0.0984638
11.0074
5.89561
1.32847
9.11197
0.859014
10.0275
0.0757771
10.7661
-0.605273
11.4438
-1.07177
12.1437
-1.29632
12.8647
-1.29203
13.5611
-1.10554
14.1748
-0.795343
14.6604
-0.41352
14.9922
15.1596
0.338908
3.507
0.678602
3.48593
1.01905
3.44174
1.35711
3.37085
1.68533
3.26937
1.99153
3.13496
2.25944
2.96907
2.47071
2.77932
2.60744
2.58222
2.67214
2.40691
2.66866
2.28694
2.69465
2.27455
2.98517
2.38598
4.37464
2.49817
2.70305
1.71093
4.48151
2.59615
5.355
2.70639
4.04301
1.27049
3.75809
0.759143
3.32712
0.256141
2.88027
-0.0788311
1.80864
-0.274836
0.661176
0.145274
-0.836252
1.11902
-0.108263
3.50557
2.6562
6.27953
4.20198
7.97197
5.90589
8.81492
7.96903
9.03706
10.809
8.21846
7.96337
4.16945
1.30648
-0.561433
0.661061
-0.0613125
0.441173
0.192381
0.128963
0.582114
2.54863
1.959
5.13727
3.58438
5.8458
4.7895
6.66402
5.77819
4.21308
5.8353
4.32884
5.69257
3.31399
3.73327
3.42305
2.04955
2.14592
0.715579
0.95769
0.688615
0.774855
1.65527
0.527317
2.41051
1.11528
2.61909
1.80124
2.78113
2.53119
2.28329
4.6074
2.99846
6.66825
5.60435
4.8061
5.84439
4.51782
4.05
4.53827
3.40635
4.59343
3.14538
4.63255
3.05534
4.65539
3.07081
4.67185
3.16903
4.69282
3.34191
4.72912
3.58822
4.79289
3.91153
4.9002
4.32016
5.07528
4.82785
5.36498
5.45558
5.92608
6.22992
7.51131
7.11761
9.19321
7.41887
14.623
6.75391
103.207
3.84881
88.9711
-86.7249
51.7561
-123.742
2.27406
-113.945
0.773631
-95.1286
0.263524
-86.4257
-0.918792
-77.7754
-22.0914
-75.9869
-21.3103
-70.4405
-5.30345
-52.4304
2.71933
-43.5367
-3.07419
-35.7916
-0.702489
-27.2931
3.97465
-22.7723
5.88612
-22.438
8.27368
-22.079
8.51037
-20.5644
14.2426
-20.5135
7.72827
-27.4557
6.70844
-26.2953
7.3797
-23.344
7.87853
-20.7432
4.39484
-15.836
5.30733
-11.1029
10.7935
-12.8425
7.4613
-8.44766
3.99782
-1.84358
5.85519
-0.866245
6.50337
-0.319904
6.75791
0.223099
7.19587
0.905783
9.49546
1.61867
9.06585
0.81716
8.73804
0.514959
8.50964
0.403302
8.24924
0.323275
7.97762
0.257112
7.71803
0.167596
7.53649
-0.0272092
5.3786
-0.563932
4.66775
0.0204242
4.08552
0.540474
3.26184
0.963368
2.55092
1.50034
1.92974
2.06816
1.35115
2.6078
0.75782
3.07348
1.24137
3.40652
4.70426
4.29979
30.5599
3.02688
53.9683
0.821295
53.2897
0.756516
53.5512
0.808716
54.3497
0.739985
55.4429
0.431757
56.7254
-0.145449
58.1597
-0.978273
59.7344
-2.04227
61.44
-3.32941
63.2917
-4.88814
65.4326
-6.93043
68.6129
-10.1867
50.3485
-17.305
13.4706
-12.9187
1.36392
-1.45348
0.185571
0.123856
0.242785
0.0580252
1.38573
0.0171867
16.5218
0.586641
14.2237
3.95998
2.24401
6.95138
1.59763
10.6739
0.753453
11.6103
0.0946591
12.1026
-0.350756
12.5891
-0.599985
13.114
-0.678341
13.6394
-0.61994
14.1164
-0.463527
14.5039
-0.24612
14.7748
14.9135
0.317836
3.22637
0.634413
3.20581
0.94816
3.1637
1.25564
3.09847
1.55092
3.00875
1.82563
2.89459
2.06969
2.75887
2.2736
2.60866
2.43213
2.4562
2.55217
2.31872
2.65628
2.21413
2.80608
2.15561
3.09736
2.1253
3.58741
2.03898
3.58827
1.73943
4.59174
1.62174
3.9191
0.792102
3.53166
0.482956
3.25509
0.35503
2.99214
0.307656
2.68426
0.330798
2.22875
0.460111
1.63492
0.832418
1.5503
1.65279
2.6657
2.68971
4.34863
3.73598
5.04494
3.5294
6.12803
4.27667
7.15044
4.43312
6.76
2.78384
3.23249
-0.130573
1.8066
-1.40049
0.914755
-0.728749
0.830906
0.369732
1.50585
1.52
4.17401
2.38698
6.34239
2.59474
6.83449
2.19685
6.72113
1.89306
4.07035
0.26148
2.36953
-1.59241
1.63028
-1.0659
2.08907
-0.255341
2.11896
0.0515922
1.92434
0.271714
1.5301
0.557121
0.735897
1.04315
1.27732
2.12376
1.30341
2.78671
3.24636
3.30877
7.21329
5.48327
6.90829
5.53485
3.0117
3.52131
3.87417
3.21781
4.27729
3.03342
4.5034
2.94952
4.64802
2.94106
4.75361
2.99571
4.84474
3.10857
4.93912
3.27837
5.05243
3.50593
5.20152
3.79366
5.40789
4.14525
5.70301
4.56495
6.13932
5.0553
6.81377
5.60937
7.81257
6.18836
8.52824
6.74886
11.7179
7.97918
12.633
8.85498
51.9542
6.50112
61.5528
-38.1317
21.0905
-85.7807
9.47651
-91.3913
8.91378
-88.485
0.869701
-81.1522
-16.545
-69.3338
-3.3003
-43.8541
3.59028
-30.9249
10.4645
-23.8203
5.42429
-22.9827
3.81829
-14.5982
4.30895
-6.48226
6.24517
-4.807
9.78828
-3.26362
8.56124
-4.45941
7.30037
-3.9822
8.88873
-2.01828
9.65975
-1.46733
9.98048
-1.49564
12.7857
-1.65533
9.12797
-4.35811
3.56766
-3.08487
15.1884
1.84889
14.0654
-2.72051
4.97516
-5.45798
6.40153
-2.20225
7.04638
-0.900137
7.4406
-0.181293
7.90876
0.373933
8.69394
0.776921
8.76365
0.713984
8.62638
0.636437
8.42961
0.593395
8.18307
0.567202
7.8881
0.551102
7.52322
0.532144
6.99977
0.496183
5.96296
0.472848
5.1878
0.79554
4.50842
1.21987
3.79882
1.673
3.11873
2.18037
2.46939
2.71756
1.81683
3.26031
1.09086
3.79945
2.13465
4.30856
3.43135
5.54485
28.3543
3.91473
53.9036
2.54925
53.3419
1.31947
53.4825
0.66717
54.0415
0.180643
54.8657
-0.393349
55.8926
-1.17192
57.0957
-2.18117
58.4473
-3.39271
59.8813
-4.7632
61.2494
-6.25607
62.1763
-7.85746
61.4946
-9.50498
54.7349
-10.5456
24.9358
-6.55135
2.94126
-0.159824
0.11974
0.0190646
0.201946
-0.024163
1.95518
0.509676
19.8951
1.77
17.2151
6.17226
5.96651
12.0433
2.53403
14.1064
1.24576
12.8986
0.581208
12.7671
0.174072
12.9963
-0.0745175
13.3625
-0.201411
13.7663
-0.23236
14.1473
-0.192704
14.4643
-0.107427
14.6895
14.806
0.29727
2.96614
0.59231
2.9471
0.882929
2.90868
1.16591
2.85043
1.43676
2.77231
1.68991
2.67544
1.91949
2.56282
2.12114
2.44002
2.29465
2.31513
2.44758
2.19766
2.59776
2.09532
2.77577
2.00858
3.01103
1.9207
3.28786
1.79267
3.47058
1.58656
3.76211
1.35968
3.60996
0.973243
3.40374
0.718023
3.20771
0.579723
3.01529
0.528528
2.81358
0.560743
2.60105
0.700697
2.45529
1.00726
2.58722
1.54966
3.71198
2.37867
4.14205
3.24325
5.7922
3.37576
6.28448
1.67531
5.50115
-0.594995
3.84559
-2.0563
1.96257
-1.73383
2.47834
-0.610755
2.01324
-0.236958
1.98117
0.435026
2.37283
1.24268
4.38177
2.1866
5.9445
2.38791
6.53071
0.825147
5.08954
-1.34525
2.21646
-1.91869
2.89604
-0.787333
2.44084
-0.587088
2.396
-0.187413
2.33908
0.13237
2.20975
0.429005
2.01612
0.783158
1.81651
1.28121
1.94027
2.02328
1.82546
2.93119
5.42086
4.65613
7.26487
4.91675
4.89475
2.3862
2.7082
1.31918
3.68979
2.26963
4.19339
2.56191
4.49494
2.67952
4.70267
2.76461
4.86648
2.86309
5.01454
2.99169
5.16668
3.15746
5.34016
3.36375
5.55311
3.6121
5.8276
3.90229
6.19335
4.23097
6.6934
4.58832
7.39276
4.95013
8.37308
5.26122
9.75856
5.41571
12.5937
5.18562
10.2792
3.1897
7.32143
3.28809
13.9038
6.40109
15.4799
5.91123
12.3828
2.66132
16.2466
1.85799
12.6881
-3.16893
8.93478
-4.87882
9.62884
-2.9924
10.6949
-1.88594
11.3021
-1.80591
13.8088
-2.18795
11.9342
-4.76153
5.98422
-4.89094
7.78855
-1.799
8.5925
-0.796505
9.03845
-0.434395
9.26428
-0.312697
9.43969
-0.253298
9.63143
-0.228114
9.8208
-0.25743
10.0829
-0.347562
10.4012
-0.588292
8.50142
-1.13999
10.619
-0.177795
11.3279
-0.884812
8.23088
-2.28819
7.70365
-1.58885
7.76522
-0.84862
7.99582
-0.286943
8.31175
0.131004
8.63101
0.42623
8.68611
0.578717
8.58334
0.67902
8.40342
0.742849
8.16698
0.790813
7.86915
0.844
7.48726
0.912199
6.97643
1.00645
6.28565
1.16342
5.61214
1.469
4.96155
1.87045
4.30619
2.32833
3.65592
2.83063
3.01215
3.36133
2.35597
3.91646
1.59996
4.55548
3.37094
5.60066
1.80123
5.48006
26.9889
4.27139
52.6738
3.00419
52.6896
1.30396
52.9959
0.359979
53.4675
-0.290075
54.0871
-1.01167
54.8833
-1.96828
55.8842
-3.1809
57.0768
-4.58602
58.3884
-6.07499
59.6481
-7.51531
60.5288
-8.73811
60.454
-9.43034
58.7291
-8.821
31.3273
-5.24715
3.12014
-1.11904
0.0765125
-0.255175
0.735785
-0.0154191
3.2155
-0.00865379
24.2974
1.52085
23.0862
9.79716
8.02958
15.4942
1.32623
13.522
1.11433
13.1104
0.81034
13.0711
0.540353
13.2662
0.32925
13.5736
0.179579
13.916
0.0846209
14.2423
0.0325008
14.5164
0.00911708
14.7129
14.8151
0.278232
2.72477
0.553893
2.70764
0.824678
2.67339
1.0878
2.62214
1.33989
2.55447
1.57729
2.47179
1.79668
2.37673
1.99624
2.27328
2.17718
2.16651
2.34524
2.06145
2.51102
1.96095
2.68789
1.86272
2.883
1.75628
3.08176
1.62433
3.2437
1.45464
3.37567
1.2574
3.35474
1.02348
3.26544
0.836383
3.15652
0.717501
3.0475
0.666227
2.95353
0.683245
2.90762
0.775019
2.99769
0.945644
3.41623
1.16009
4.57655
1.247
4.27457
0.598396
4.09175
0.292855
4.01417
0.127268
4.03985
-0.00509032
4.16806
-0.202569
3.08565
-0.624789
2.85214
-0.350636
2.68522
-0.0434114
2.78882
0.359172
3.31675
0.765976
4.58308
0.96758
4.38175
0.37989
4.36031
0.0833318
4.5161
-0.19703
3.34782
-0.723623
3.09629
-0.510568
2.84051
-0.306967
2.71579
-0.0391866
2.63571
0.236283
2.5639
0.525721
2.51418
0.860013
2.55858
1.27032
2.84818
1.76107
3.5504
2.25339
5.68148
2.55265
4.73433
1.43733
3.82773
1.1634
3.65865
1.52114
3.98207
1.98165
4.311
2.26777
4.58004
2.44432
4.80115
2.57665
4.99508
2.70184
5.1803
2.83882
5.37297
2.99693
5.58852
3.18024
5.84329
3.38931
6.15628
3.62124
6.55069
3.86848
7.05521
4.11591
7.70385
4.3355
8.52757
4.47738
9.52847
4.45956
10.5977
4.1602
10.3776
3.44576
10.4344
3.26639
13.414
3.45709
12.23
1.60516
11.5795
0.839008
11.2197
0.469869
10.9782
0.242933
10.8212
0.0916912
10.7353
-0.0167434
10.7749
-0.101431
10.92
-0.226671
11.2352
-0.453869
11.8048
-0.948789
9.07617
-2.12756
8.79104
-1.47931
8.95461
-0.925419
9.16015
-0.605015
9.32368
-0.440908
9.46487
-0.358681
9.60211
-0.32899
9.73066
-0.34891
9.8422
-0.421069
9.84951
-0.556264
9.46362
-0.712713
9.91202
-0.581607
9.92453
-0.847524
8.93023
-1.23531
8.44387
-1.02673
8.3269
-0.624984
8.41377
-0.224192
8.60697
0.115335
8.78349
0.376936
8.78641
0.5699
8.64717
0.732718
8.45139
0.867747
8.22016
0.986608
7.93735
1.11262
7.58151
1.2629
7.13341
1.45281
6.59122
1.7051
6.01359
2.04647
5.41943
2.46458
4.80848
2.93924
4.18662
3.45244
3.56727
3.98067
2.99499
4.48875
2.64515
4.90532
3.25033
4.99546
0.592558
3.70349
25.7217
4.31554
50.9735
2.86248
51.7456
0.533395
52.3459
-0.239133
52.7459
-0.690603
53.1305
-1.3958
53.6707
-2.50936
54.479
-3.98842
55.5878
-5.69497
56.9481
-7.43497
58.4253
-8.99232
59.8366
-10.1491
61.0634
-10.6572
62.3029
-10.0608
35.4554
-7.52145
3.98401
-2.66486
0.316269
-0.414143
0.742551
-0.0526451
4.745
-0.44831
32.5737
12.4904
28.7832
19.4591
6.05736
13.4699
0.914722
12.9129
1.075
12.9502
1.00545
13.1407
0.847746
13.4239
0.671596
13.7498
0.505865
14.0817
0.358763
14.3894
0.228961
14.6462
0.111395
14.8304
14.9265
0.261105
2.50034
0.519639
2.48516
0.773429
2.45497
1.02013
2.41016
1.25721
2.35151
1.48223
2.28038
1.69324
2.19886
1.88947
2.10973
2.07212
2.01609
2.24474
1.92063
2.41279
1.8243
2.58145
1.7251
2.75105
1.61737
2.91206
1.49374
3.04646
1.35034
3.14175
1.19191
3.16764
1.02708
3.14655
0.886727
3.10524
0.787849
3.06452
0.735813
3.0453
0.731183
3.07824
0.770697
3.21214
0.840302
3.50314
0.897706
3.92794
0.850896
3.96903
0.58509
3.92616
0.363212
3.88181
0.198903
3.84237
0.061522
3.74584
-0.0788212
3.3598
-0.21148
3.15936
-0.122893
3.0878
0.0555378
3.19563
0.279087
3.51835
0.474048
3.99539
0.52665
4.08519
0.318579
4.07995
0.114379
3.98951
-0.0811974
3.56087
-0.269045
3.29989
-0.223539
3.10829
-0.0893501
2.99126
0.104006
2.92515
0.329446
2.89819
0.580682
2.92448
0.863073
3.04933
1.17837
3.3405
1.50478
3.84967
1.77494
4.56615
1.86284
4.4604
1.56963
4.18547
1.4658
4.11916
1.61589
4.26819
1.86264
4.48754
2.08032
4.71237
2.25257
4.92634
2.39625
5.13206
2.52978
5.33841
2.66603
5.55629
2.81244
5.79758
2.97216
6.07522
3.14467
6.40352
3.32575
6.79812
3.5065
7.2748
3.67163
7.84574
3.79702
8.50974
3.84725
9.22911
3.77669
9.8833
3.54413
10.1982
3.16722
10.6251
2.87539
11.562
2.55699
11.4638
1.73677
11.2103
1.12508
10.9928
0.719728
10.8269
0.440942
10.7128
0.238104
10.6506
0.0778161
10.6497
-0.0678025
10.6928
-0.236819
10.7403
-0.467903
10.6261
-0.800701
9.72442
-1.19152
9.34493
-1.06509
9.27501
-0.820463
9.32426
-0.618833
9.40591
-0.48662
9.49456
-0.410868
9.58219
-0.379519
9.65851
-0.387275
9.70701
-0.430537
9.69306
-0.50173
9.59473
-0.571409
9.6461
-0.586214
9.53674
-0.685272
9.13882
-0.774225
8.84562
-0.652519
8.72769
-0.396078
8.7533
-0.0955183
8.86857
0.195306
8.97646
0.44824
8.94923
0.654616
8.7822
0.828662
8.57025
0.990962
8.34617
1.16021
8.08763
1.35005
7.77142
1.57139
7.38571
1.83593
6.93258
2.15739
6.43171
2.54705
5.89408
3.00214
5.32168
3.51161
4.71485
4.05928
4.07535
4.62013
3.41157
5.15252
2.73529
5.58157
1.95836
5.77241
1.20461
5.5705
24.2686
6.14054
48.6444
2.14536
50.9731
-1.79651
51.8944
-1.16034
52.0407
-0.836166
52.017
-1.37203
52.1917
-2.68291
52.7725
-4.56886
53.8478
-6.76974
55.3907
-8.97745
57.2684
-10.8697
59.3285
-12.209
61.6597
-12.9886
64.8423
-13.2435
40.312
-12.2202
6.23472
-4.35158
0.677767
-0.775776
0.346886
-0.45192
17.6837
-0.164426
39.5424
3.42514
22.794
7.54122
5.50037
10.6896
0.952003
12.1869
1.2655
12.6367
1.28872
13.1174
1.17359
13.539
1.00353
13.9198
0.81352
14.2717
0.615595
14.5873
0.413177
14.8486
0.207515
15.0361
15.134
0.245928
2.2909
0.489448
2.27755
0.728617
2.25107
0.961473
2.21195
1.18608
2.16095
1.40071
2.09927
1.6041
2.0285
1.79584
1.95057
1.97665
1.86744
2.14842
1.78062
2.31358
1.69052
2.47372
1.59599
2.62742
1.49439
2.76866
1.38293
2.88802
1.26113
2.97692
1.1329
3.02729
1.00635
3.04768
0.89573
3.05321
0.811498
3.05989
0.758142
3.08482
0.735134
3.14785
0.736444
3.26954
0.747296
3.45633
0.739527
3.66214
0.673621
3.74715
0.52831
3.76185
0.376532
3.74443
0.244216
3.70203
0.131742
3.61318
0.0378588
3.44839
-0.0188106
3.33779
0.0156262
3.31135
0.109975
3.39059
0.227967
3.57096
0.322081
3.78732
0.339279
3.88099
0.253302
3.88437
0.138777
3.80166
0.0290992
3.60638
-0.0460564
3.43408
-0.0234165
3.30165
0.071081
3.2167
0.217193
3.17639
0.398368
3.18059
0.605549
3.23978
0.833729
3.37574
1.0741
3.61066
1.3045
3.93757
1.48356
4.27295
1.56006
4.35656
1.51544
4.33557
1.51544
4.36591
1.61438
4.48587
1.77161
4.6598
1.93575
4.85605
2.08664
5.05986
2.22391
5.26831
2.35382
5.48483
2.48275
5.71601
2.61496
5.9701
2.75198
6.2563
2.89242
6.58427
3.03164
6.96326
3.16122
7.40019
3.26814
7.89597
3.33423
8.43918
3.3368
8.99655
3.25254
9.50639
3.06835
9.90636
2.80161
10.3067
2.50956
10.7418
2.15678
10.8521
1.6604
10.805
1.20559
10.714
0.843849
10.6241
0.563876
10.5525
0.342825
10.505
0.15848
10.4807
-0.0100958
10.4617
-0.184239
10.4075
-0.379589
10.2352
-0.594032
9.85085
-0.772242
9.58955
-0.768456
9.47664
-0.671709
9.45647
-0.562187
9.48166
-0.474628
9.52591
-0.417161
9.57444
-0.389089
9.61524
-0.387841
9.63581
-0.40918
9.62338
-0.444971
9.57992
-0.480053
9.54704
-0.500023
9.44779
-0.524482
9.26052
-0.512519
9.10206
-0.399202
9.02825
-0.195881
9.04412
0.0592952
9.12151
0.329414
9.18283
0.578215
9.12327
0.774952
8.9445
0.932137
8.73949
1.10262
8.53602
1.31074
8.30897
1.55492
8.03596
1.83619
7.70716
2.16183
7.32225
2.54136
6.8868
2.98217
6.40355
3.48531
5.86935
4.04578
5.2757
4.65294
4.60774
5.28805
3.84062
5.91966
2.92613
6.49608
1.75645
6.94214
1.77465
7.19231
20.2734
8.79238
44.7026
-1.3308
51.6093
-8.7025
52.2186
-1.76998
51.5048
-0.12125
50.7061
-0.57285
50.3057
-2.28211
50.5716
-4.83453
51.6401
-7.83806
53.4985
-10.8356
55.9292
-13.3001
58.5489
-14.8288
61.4048
-15.8448
65.8656
-17.7045
48.1807
-24.5816
9.81053
-16.3582
1.00162
-1.04393
0.63438
-0.822451
21.2733
0.0391073
43.6585
7.1057
25.9423
9.35057
6.99769
10.6721
1.40174
10.913
1.74625
12.2922
1.71033
13.1533
1.55438
13.695
1.35541
14.1188
1.12908
14.498
0.876912
14.8394
0.600644
15.1249
0.305504
15.3312
15.4396
0.232576
2.09462
0.462973
2.08291
0.689489
2.05972
0.910479
2.02553
1.1244
1.98103
1.32994
1.9272
1.52617
1.86526
1.71271
1.79657
1.88983
1.72245
2.05832
1.64387
2.21905
1.56118
2.37212
1.47396
2.51596
1.38128
2.64686
1.28248
2.75979
1.1784
2.85037
1.07227
2.91667
0.969765
2.96344
0.878463
2.99985
0.8044
3.03688
0.750271
3.08613
0.714918
3.1587
0.692799
3.26177
0.67306
3.39043
0.639614
3.51683
0.575871
3.59537
0.478284
3.62954
0.370775
3.63196
0.270127
3.60815
0.183854
3.55651
0.117798
3.48282
0.0832418
3.43214
0.0947247
3.42934
0.141259
3.4847
0.201173
3.58815
0.247277
3.70134
0.254816
3.76646
0.216897
3.7747
0.159217
3.72651
0.105949
3.62902
0.0801906
3.52858
0.105922
3.44776
0.180928
3.39787
0.296242
3.38357
0.441943
3.40877
0.609763
3.48014
0.792063
3.60614
0.978543
3.78972
1.15288
4.01407
1.2929
4.22833
1.37978
4.35656
1.41979
4.43451
1.46911
4.52314
1.55706
4.65001
1.67583
4.81068
1.80574
4.99332
1.93435
5.18977
2.0579
5.39724
2.17727
5.61703
2.29462
5.85303
2.41144
6.11053
2.52767
6.39552
2.6412
6.71385
2.7475
7.07018
2.83931
7.46627
2.90645
7.89855
2.93609
8.35491
2.91416
8.81237
2.82853
9.23965
2.67449
9.61431
2.46048
9.95396
2.20361
10.2454
1.89917
10.3973
1.54241
10.4432
1.1935
10.434
0.886933
10.403
0.628775
10.3681
0.411815
10.3364
0.224432
10.3065
0.0543193
10.2664
-0.109258
10.193
-0.270938
10.057
-0.422303
9.85463
-0.533546
9.6863
-0.563148
9.58616
-0.533779
9.54403
-0.481331
9.53912
-0.429957
9.55398
-0.390939
9.57569
-0.368036
9.5939
-0.361142
9.60002
-0.367444
9.5883
-0.38115
9.55995
-0.393533
9.52258
-0.395768
9.45975
-0.382242
9.37384
-0.329281
9.30538
-0.20789
9.28343
-0.0145416
9.31424
0.232051
9.37031
0.489747
9.37957
0.702067
9.28046
0.849778
9.11498
0.99428
8.94762
1.19062
8.78019
1.43918
8.59024
1.72901
8.3616
2.05889
8.08669
2.43462
7.76305
2.86428
7.38993
3.35503
6.96403
3.91112
6.47651
4.53331
5.91082
5.21864
5.23934
5.95957
4.41704
6.74198
3.3722
7.54088
2.00661
8.30772
3.37472
8.92832
10.1503
10.873
37.3309
8.3335
58.5418
3.41397
53.8673
2.9041
51.0532
2.69324
48.9968
1.4839
47.7533
-1.03865
47.5681
-4.6492
48.6425
-8.91247
51.034
-13.2269
54.4005
-16.6667
57.5328
-17.9615
59.5451
-17.8574
58.9885
-17.1481
56.404
-15.1792
25.1248
-11.4324
1.2231
-3.18825
1.49594
-1.1986
28.3398
9.15832
45.9034
16.1521
27.2639
12.7754
7.23856
12.2523
2.78089
8.15479
2.60745
12.4656
2.25198
13.5088
1.97819
13.9688
1.73465
14.3623
1.47047
14.7622
1.16234
15.1476
0.806993
15.4802
0.413863
15.7243
15.8534
0.220864
1.90986
0.439788
1.8996
0.655293
1.87929
0.865979
1.84936
1.07057
1.8104
1.268
1.76322
1.45748
1.70875
1.63859
1.648
1.81125
1.58192
1.97564
1.51125
2.13183
1.4364
2.27943
1.35744
2.41716
1.27433
2.54278
1.18738
2.65366
1.09779
2.74787
1.00811
2.82537
0.922095
2.88938
0.844087
2.94572
0.777522
3.00153
0.723786
3.06401
0.681644
3.13896
0.646952
3.22833
0.612715
3.32669
0.570192
3.41924
0.512176
3.48786
0.438439
3.52889
0.358471
3.54569
0.282023
3.54209
0.216144
3.52196
0.16665
3.49431
0.139653
3.47868
0.139166
3.48926
0.159551
3.53081
0.188572
3.59569
0.211414
3.66342
0.216172
3.70878
0.200671
3.72143
0.175743
3.70075
0.155843
3.65475
0.155482
3.60358
0.186479
3.56307
0.250927
3.54357
0.345309
3.55139
0.463761
3.59107
0.599801
3.66662
0.746347
3.78048
0.894742
3.92974
1.03414
4.10095
1.15301
4.26834
1.24451
4.40588
1.31466
4.52245
1.38502
4.64191
1.47028
4.77991
1.57073
4.93929
1.6793
5.11687
1.78944
5.30914
1.89784
5.51459
2.00365
5.73386
2.107
5.96926
2.20782
6.22406
2.30505
6.50182
2.39619
6.80566
2.47705
7.13731
2.54163
7.49592
2.58224
7.87662
2.59002
8.26928
2.5562
8.65833
2.47408
9.02563
2.34165
9.35744
2.16306
9.64952
1.94591
9.88868
1.6945
10.0484
1.4173
10.1367
1.13998
10.1758
0.882712
10.1861
0.653727
10.1807
0.452626
10.1663
0.274676
10.1429
0.113919
10.1047
-0.0343275
10.0417
-0.170611
9.94579
-0.288471
9.82503
-0.373969
9.71566
-0.413963
9.63861
-0.415757
9.59541
-0.395831
9.57814
-0.368734
9.57689
-0.343642
9.58258
-0.324991
9.5876
-0.313856
9.58632
-0.308688
9.57592
-0.305782
9.55772
-0.299579
9.53611
-0.282952
9.51271
-0.246112
9.49523
-0.170668
9.49873
-0.0343685
9.53002
0.16697
9.57194
0.392084
9.58263
0.577097
9.52728
0.710502
9.42496
0.84626
9.31132
1.02877
9.19618
1.26494
9.07002
1.54737
8.92011
1.8715
8.73733
2.23871
8.51635
2.65446
8.2538
3.12637
7.94603
3.66264
7.58622
4.27087
7.16184
4.95764
6.65175
5.72869
6.02175
6.58955
5.21594
7.54782
4.13904
8.61782
2.62721
9.81954
5.31938
11.0812
7.61078
14.3584
32.4113
10.6286
58.0319
9.04504
53.6565
7.28032
49.8439
6.50662
46.4743
4.85364
44.1428
1.29315
43.3048
-3.81088
44.3281
-9.93559
47.5942
-16.4929
53.1057
-22.1787
57.637
-22.4931
60.2544
-20.4751
60.9574
-17.8513
60.1508
-14.3726
33.369
-7.93274
3.21275
-1.65467
11.8529
-0.542601
35.3336
5.86731
42.5266
8.95904
26.7409
8.45664
3.14103
9.43886
7.09169
14.1075
3.65067
15.9066
2.71196
14.4475
2.37173
14.309
2.13453
14.5995
1.8558
15.0409
1.49498
15.5084
1.05114
15.924
0.542951
16.2325
16.3964
0.210598
1.73518
0.41948
1.72618
0.625359
1.70839
0.827026
1.68216
1.02339
1.648
1.21353
1.60656
1.39673
1.55857
1.57251
1.50482
1.74058
1.44604
1.90079
1.38288
2.05287
1.31579
2.19633
1.24515
2.3302
1.17134
2.4532
1.09502
2.56398
1.01741
2.66185
0.940432
2.74736
0.866578
2.82282
0.798452
2.89199
0.738013
2.95939
0.68592
3.02932
0.641141
3.10473
0.600882
3.1858
0.560902
3.26867
0.516519
3.3455
0.464474
3.4079
0.405128
3.45244
0.342978
3.47981
0.283713
3.4926
0.232428
3.49496
0.19339
3.49382
0.16993
3.49906
0.16311
3.51828
0.169579
3.55365
0.182517
3.60045
0.193993
3.64792
0.198136
3.68385
0.194227
3.70153
0.187602
3.70039
0.18657
3.68575
0.199785
3.66803
0.233934
3.65745
0.291316
3.66202
0.370614
3.68743
0.468304
3.73761
0.579649
3.81502
0.699055
3.91987
0.820062
4.04862
0.935666
4.19245
1.03968
4.33849
1.12936
4.47624
1.20821
4.60771
1.28528
4.74237
1.36782
4.88848
1.45745
5.04944
1.55176
5.22527
1.64747
5.41495
1.74216
5.61794
1.83453
5.83468
1.92385
6.06649
2.00928
6.3152
2.08936
6.58268
2.16165
6.87024
2.22256
7.17792
2.26731
7.5037
2.29022
7.8428
2.28517
8.18716
2.24652
8.5259
2.17036
8.84704
2.05576
9.14029
1.90523
9.39811
1.72367
9.61147
1.51689
9.77107
1.29366
9.87941
1.06786
9.94686
0.851792
9.98499
0.652514
10.0028
0.472175
10.0056
0.309813
9.99469
0.163292
9.96843
0.0311087
9.9238
-0.0859517
9.8603
-0.183922
9.78504
-0.256513
9.71387
-0.299255
9.65854
-0.31531
9.6225
-0.312762
9.60323
-0.300072
9.59554
-0.283547
9.59372
-0.266764
9.59277
-0.250821
9.58922
-0.234797
9.58212
-0.216053
9.57434
-0.190449
9.57295
-0.152403
9.58816
-0.0941401
9.63153
-0.00549778
9.70007
0.118243
9.75513
0.26196
9.75695
0.398864
9.71603
0.526486
9.66304
0.667949
9.60747
0.842387
9.54748
1.05891
9.47861
1.32007
9.39416
1.62568
9.28732
1.97563
9.15308
2.37174
8.98826
2.81876
8.79007
3.32435
8.55426
3.89838
8.27299
4.5521
7.93289
5.29775
7.51261
6.14895
6.98003
7.12215
6.28594
8.24189
5.34076
9.563
3.88885
11.2714
8.59654
14.1574
3.88106
14.1081
30.8277
12.1339
56.2672
13.652
52.8827
10.6657
48.1909
11.1988
42.9138
10.1311
39.0387
5.16885
37.1801
-1.9522
37.7708
-10.5264
41.9084
-20.6307
52.7913
-33.0617
59.6549
-29.3569
62.8782
-23.6989
64.4362
-19.4095
66.5907
-16.5273
39.647
-14.0177
4.32482
-5.38998
18.2628
-0.418229
38.4254
3.94811
42.0242
5.35997
27.7231
4.12708
7.80966
8.50284
8.89082
15.7474
2.19157
14.399
2.57347
14.0656
2.66223
14.2203
2.57594
14.6858
2.32324
15.2936
1.91064
15.921
1.35964
16.475
0.706795
16.8854
17.1032
0.2016
1.56931
0.401686
1.56143
0.599128
1.54584
0.792868
1.52285
0.981949
1.49289
1.16554
1.45648
1.34298
1.41423
1.51373
1.36675
1.67742
1.31466
1.8337
1.25853
1.98223
1.19888
2.12251
1.1362
2.25388
1.07103
2.37559
1.00413
2.48701
0.936593
2.588
0.869845
2.67924
0.805566
2.76238
0.745375
2.83989
0.690423
2.91461
0.641017
2.98906
0.596409
3.06475
0.55483
3.14142
0.513799
3.21662
0.470825
3.28616
0.424408
3.34575
0.374974
3.39318
0.324973
3.42852
0.277807
3.45356
0.236847
3.4715
0.204929
3.487
0.183938
3.50553
0.174129
3.53122
0.173499
3.56512
0.178271
3.60459
0.184235
3.64402
0.188471
3.67723
0.190815
3.7005
0.194185
3.7136
0.20336
3.7199
0.223452
3.72541
0.258442
3.73675
0.31006
3.75971
0.377801
3.79877
0.459462
3.85702
0.551699
3.93602
0.650401
4.03548
0.750998
4.15263
0.848956
4.28214
0.940693
4.41733
1.02483
4.55331
1.10305
4.69024
1.17941
4.832
1.2575
4.98279
1.33862
5.14515
1.42199
5.31996
1.50591
5.50732
1.58871
5.70726
1.66905
5.92011
1.74581
6.14657
1.81777
6.38749
1.88331
6.64358
1.94023
6.915
1.98559
7.20083
2.01577
7.49865
2.02664
7.80415
2.01403
8.11101
1.97428
8.4113
1.90505
8.69651
1.80595
8.95874
1.67879
9.19132
1.52728
9.38825
1.35656
9.54528
1.17366
9.66334
0.98729
9.74758
0.805542
9.80465
0.63403
9.84044
0.47563
9.85904
0.331199
9.86251
0.200662
9.85137
0.0841002
9.82583
-0.0174201
9.78771
-0.101557
9.7423
-0.165388
9.69781
-0.207342
9.66109
-0.229119
9.63519
-0.234964
9.61976
-0.229716
9.61232
-0.217313
9.60966
-0.200068
9.60879
-0.178539
9.60797
-0.151647
9.60772
-0.117069
9.61239
-0.0718821
9.63121
-0.0141495
9.6768
0.0545188
9.75527
0.126455
9.84379
0.190369
9.89204
0.248459
9.88457
0.330234
9.8575
0.458371
9.83748
0.624559
9.824
0.823031
9.80864
1.05892
9.78422
1.33758
9.7441
1.66266
9.68344
2.03488
9.60009
2.45444
9.49385
2.92474
9.36411
3.45397
9.20797
4.05447
9.01864
4.74142
8.78409
5.53233
8.48581
6.4472
8.09977
7.50819
7.60705
8.73461
7.04916
10.1209
6.77489
11.5457
8.54724
12.3851
1.90677
9.73279
32.3459
14.7987
53.2808
14.7148
53.4159
10.5303
47.1232
17.4916
37.9515
19.3036
31.9177
11.2028
28.6059
1.35929
27.6665
-9.58713
29.4774
-22.4417
56.4961
-39.6155
65.3128
-38.174
67.1677
-25.5541
67.3184
-19.5604
69.1003
-18.3095
48.2747
-24.5464
9.29658
-21.0836
22.6291
-0.338664
39.8372
8.34364
40.7914
4.40567
32.0989
-0.132394
15.0542
4.49002
7.54243
11.985
1.85822
12.8564
2.72813
13.1957
3.12778
13.8206
3.18375
14.6299
2.95057
15.5268
2.46471
16.4068
1.76998
17.1698
0.924591
17.7308
18.0278
0.193719
1.41113
0.386098
1.40424
0.576141
1.39061
0.762907
1.37049
0.945541
1.34426
1.12329
1.31233
1.2955
1.27521
1.46165
1.23341
1.62129
1.18747
1.77405
1.1379
1.91954
1.08522
2.05734
1.02995
2.18699
0.972685
2.30805
0.914153
2.42026
0.855255
2.52372
0.797072
2.61905
0.740762
2.70743
0.687375
2.79049
0.63762
2.87
0.591656
2.94748
0.549
3.02372
0.508585
3.09844
0.469002
3.17021
0.428942
3.23672
0.387737
3.29574
0.345777
3.34601
0.304532
3.38756
0.266087
3.42164
0.232606
3.45051
0.205912
3.47719
0.187129
3.5049
0.17633
3.53599
0.17236
3.57109
0.17316
3.60883
0.176519
3.64636
0.181006
3.6806
0.186684
3.70967
0.19526
3.7337
0.209524
3.75489
0.232502
3.77703
0.266595
3.80449
0.312952
3.84137
0.371333
3.89101
0.440299
3.95572
0.51752
4.03662
0.600078
4.13344
0.68481
4.24436
0.768717
4.36627
0.849538
4.49556
0.926341
4.62967
0.999801
4.76833
1.07173
4.91312
1.14387
5.06616
1.21701
5.22907
1.29087
5.40276
1.36448
5.58766
1.43669
5.78402
1.50629
5.99207
1.57205
6.21211
1.63263
6.44441
1.6864
6.68894
1.7314
6.94518
1.76523
7.2117
1.78511
7.48603
1.7881
7.7644
1.77137
8.04178
1.73259
8.3122
1.6704
8.56935
1.58477
8.80722
1.47717
9.02061
1.35053
9.20534
1.20897
9.35891
1.05774
9.48159
0.902852
9.57607
0.749971
9.64625
0.603512
9.69601
0.466352
9.7285
0.340106
9.74595
0.225682
9.74985
0.123865
9.74169
0.0357104
9.72388
-0.0373159
9.70034
-0.0937335
9.67604
-0.132976
9.65524
-0.156072
9.64044
-0.165348
9.63216
-0.163543
9.62957
-0.152995
9.63119
-0.135116
9.63568
-0.110202
9.64254
-0.0774958
9.65291
-0.0355625
9.67012
0.0168224
9.69988
0.0796277
9.74874
0.149749
9.81918
0.219514
9.90188
0.277832
9.97381
0.317579
10.0127
0.348202
10.0237
0.403561
10.0359
0.526122
10.0599
0.729846
10.0873
0.992259
10.1093
1.29672
10.1163
1.64738
10.103
2.04473
10.0704
2.48562
10.0231
2.97147
9.96461
3.51219
9.89492
4.12408
9.80956
4.82679
9.69895
5.64292
9.54679
6.59939
9.32619
7.72879
8.99336
9.06748
8.47392
10.6403
7.6143
12.4054
5.89495
14.1044
6.97268
15.0863
32.262
24.0259
49.0963
30.5755
60.3772
31.1366
48.9352
28.934
29.8508
21.2333
22.0742
9.80389
17.6595
2.96055
14.812
-3.42709
12.3035
-13.3528
57.9376
-21.6165
77.9328
-28.2393
73.1613
-20.7827
68.5693
-14.9685
62.8634
-12.6037
51.7375
-13.4208
30.0415
-13.0821
31.3114
-1.93184
35.8992
3.75572
36.2533
4.05154
36.7213
3.8389
22.5492
4.10497
8.4138
7.98643
2.19753
10.8158
3.35306
12.0402
3.93699
13.2367
4.08072
14.4861
3.83058
15.7769
3.22767
17.0097
2.33099
18.0665
1.22159
18.8402
19.2494
0.186827
1.25967
0.372466
1.25366
0.556028
1.24178
0.736671
1.22424
0.913616
1.20135
1.08616
1.17346
1.2537
1.14099
1.4157
1.10438
1.57172
1.06409
1.72137
1.0206
1.86427
0.974388
2.00008
0.925971
2.12846
0.875908
2.24915
0.824844
2.36208
0.773522
2.46741
0.722762
2.56566
0.673388
2.65767
0.626114
2.74452
0.581405
2.82735
0.539374
2.90706
0.499742
2.98413
0.461897
3.05839
0.425071
3.129
0.3886
3.19476
0.352221
3.2545
0.316273
3.30757
0.281691
3.35408
0.249789
3.39495
0.221953
3.43172
0.199354
3.46639
0.182702
3.50093
0.172055
3.53679
0.166792
3.57445
0.165817
3.61331
0.168
3.65204
0.172668
3.68917
0.179973
3.72393
0.190958
3.75668
0.207282
3.78898
0.230744
3.82339
0.262786
3.86287
0.304118
3.91034
0.354574
3.96823
0.41317
4.03828
0.478281
4.12135
0.547868
4.21734
0.619742
4.32519
0.691861
4.44307
0.762684
4.56902
0.831465
4.7016
0.898343
4.84047
0.964053
4.98626
1.02937
5.14001
1.09466
5.30268
1.15974
5.47497
1.224
5.65726
1.28657
5.84978
1.3464
6.05264
1.40236
6.26589
1.45317
6.48941
1.49735
6.72277
1.53316
6.96506
1.55862
7.2147
1.5716
7.4693
1.56995
7.72561
1.55172
7.97958
1.51542
8.22657
1.46031
8.46176
1.38659
8.68058
1.29556
8.87905
1.18953
9.05411
1.07172
9.20402
0.946081
9.32871
0.816949
9.42961
0.688488
9.50909
0.56418
9.56976
0.446632
9.61408
0.337657
9.64413
0.23854
9.6617
0.150304
9.66867
0.073967
9.66746
0.0105952
9.6611
-0.0390399
9.65294
-0.0747485
9.64597
-0.0971455
9.64225
-0.107512
9.64271
-0.107489
9.64745
-0.0985353
9.6561
-0.0815998
9.66839
-0.0569766
9.68448
-0.0244707
9.70529
0.0163921
9.73293
0.0660719
9.77
0.124104
9.8185
0.188444
9.8775
0.255304
9.94162
0.320507
10.0044
0.382584
10.0681
0.444703
10.1462
0.511458
10.2397
0.584412
10.3223
0.678433
10.3918
0.847485
10.46
1.14199
10.5137
1.54136
10.5439
1.99042
10.5562
2.46351
10.5638
2.9603
10.5765
3.4982
10.5976
4.10246
10.6257
4.79859
10.6554
5.61313
10.6762
6.57858
10.6649
7.74011
10.5662
9.16619
10.239
10.9676
9.31339
13.3309
6.87683
16.541
15.9123
20.6643
38.8115
37.8073
49.6575
44.5249
58.1746
34.1323
41.2345
6.36955
18.4213
-8.97692
15.2308
-5.18483
11.2719
-0.0892942
4.88627
1.97846
4.03985
0.119812
51.3148
0.349055
85.3894
-12.58
78.9755
-14.3688
70.934
-6.92693
62.0463
-3.71614
52.0762
-3.45054
41.1918
-2.19769
36.999
2.26096
36.1951
4.55949
36.0407
4.20636
36.9873
2.89281
26.4307
3.50087
11.2431
6.96808
3.42195
7.42025
4.54959
10.9126
5.18638
12.5999
5.37156
14.3009
5.06336
16.0851
4.28441
17.7887
3.10471
19.2462
1.63076
20.3142
20.8801
0.180821
1.11404
0.360584
1.10883
0.538491
1.09854
0.713778
1.08333
0.88573
1.06348
1.05369
1.03927
1.21709
1.01105
1.37541
0.979202
1.52823
0.944133
1.67516
0.906268
1.81586
0.86605
1.95002
0.823942
2.07739
0.78045
2.19783
0.736127
2.31132
0.691577
2.41804
0.647435
2.51839
0.604303
2.61296
0.562688
2.70249
0.522919
2.78771
0.485102
2.86922
0.449102
2.94731
0.414597
3.02191
0.381192
3.09262
0.348578
3.15881
0.316689
3.21992
0.285812
3.27566
0.256572
3.32625
0.229819
3.37235
0.206453
3.41507
0.187239
3.45574
0.172652
3.49567
0.162775
3.53581
0.157302
3.57663
0.155684
3.61798
0.157367
3.65934
0.162068
3.70016
0.16996
3.74026
0.1817
3.78014
0.198287
3.82102
0.220797
3.86472
0.250089
3.91333
0.286568
3.96894
0.330082
4.03334
0.379935
4.10787
0.434985
4.19322
0.493805
4.28946
0.554863
4.39601
0.616728
4.51186
0.678292
4.6359
0.738929
4.76731
0.798501
4.90579
0.857204
5.05155
0.915294
5.20509
0.97286
5.36695
1.0297
5.53753
1.08534
5.7171
1.13907
5.90574
1.19002
6.10345
1.23721
6.31007
1.27951
6.52521
1.31564
6.74823
1.34412
6.97804
1.36336
7.21305
1.37171
7.45107
1.36759
7.68932
1.34962
7.92447
1.31683
8.15285
1.26883
8.37073
1.20594
8.57455
1.12926
8.76124
1.04064
8.92847
0.942602
9.07489
0.838142
9.20025
0.73051
9.30531
0.622856
9.39154
0.517958
9.46079
0.418062
9.51496
0.324913
9.55589
0.239849
9.58536
0.163942
9.60529
0.0981507
9.61782
0.0432585
9.62539
-0.00021765
9.63054
-0.0322019
9.6356
-0.0530583
9.64227
-0.0635864
9.65166
-0.0648
9.66438
-0.0576414
9.68073
-0.0428158
9.7009
-0.0207174
9.72534
0.00859735
9.75497
0.0453254
9.79096
0.0894522
9.83434
0.140493
9.88536
0.197381
9.9427
0.258701
10.0037
0.323685
10.0666
0.39347
10.1348
0.471518
10.2192
0.561596
10.3337
0.665065
10.4914
0.782144
10.6863
0.916694
10.8593
1.09278
10.9627
1.38336
11.017
1.83594
11.053
2.36569
11.1017
2.88514
11.1808
3.40936
11.2938
3.98611
11.4402
4.65102
11.6209
5.43212
11.8377
6.36158
12.091
7.48688
12.3676
8.88953
12.6023
10.7329
12.5235
13.4096
11.0001
18.0644
33.0553
28.6695
45.5291
31.0527
39.2649
16.5959
30.4118
5.57145
25.8881
1.14812
22.2134
-0.816583
20.3264
-1.39112
13.3396
-2.97027
3.02762
-1.67263
4.26909
2.66041
38.3858
7.75763
83.6006
-10.6448
86.4174
-17.1854
74.1448
5.34572
62.3119
8.11671
53.3291
5.53257
45.6504
5.481
39.2975
8.61376
35.8419
8.01533
34.7271
5.32181
37.5954
0.0248336
29.8979
-2.73308
11.6953
-0.648146
6.91425
7.19881
6.23696
11.5898
6.88737
11.9495
7.15578
14.0325
6.7669
16.474
5.74189
18.8137
4.1727
20.8154
2.19675
22.2901
23.0769
0.175616
0.973477
0.350287
0.969003
0.523289
0.960156
0.693921
0.947089
0.86152
0.930011
1.02547
0.909174
1.18524
0.88487
1.34034
0.857427
1.49037
0.827198
1.63494
0.794557
1.77375
0.759892
1.90653
0.723613
2.03307
0.686156
2.15328
0.64799
2.26717
0.609606
2.3749
0.571497
2.47677
0.534115
2.57319
0.497834
2.66467
0.462906
2.75171
0.429438
2.83471
0.397395
2.9139
0.366631
2.9893
0.336964
3.06073
0.308275
3.12794
0.280596
3.19068
0.254165
3.24891
0.229415
3.30288
0.206912
3.35313
0.187255
3.40048
0.17096
3.44587
0.158361
3.49019
0.14956
3.5342
0.144436
3.57831
0.142738
3.62268
0.144226
3.66723
0.148809
3.7119
0.156645
3.75685
0.168156
3.80265
0.183953
3.85031
0.204682
3.9012
0.230841
3.95684
0.26264
4.01879
0.299928
4.08839
0.342196
4.16669
0.388638
4.25428
0.438241
4.35133
0.489916
4.45757
0.542641
4.57249
0.595598
4.69547
0.648244
4.82601
0.700316
4.96388
0.751738
5.10912
0.802503
5.26194
0.852533
5.42259
0.901585
5.59126
0.949228
5.76804
0.99487
5.95293
1.0378
6.14576
1.07719
6.34619
1.11206
6.55369
1.14133
6.76747
1.16381
6.98639
1.17825
7.20893
1.1834
7.4331
1.17807
7.65653
1.1613
7.87647
1.13245
8.08996
1.09131
8.29405
1.03824
8.48593
0.974162
8.6632
0.900538
8.82401
0.819322
8.96725
0.732819
9.09259
0.643499
9.20041
0.553796
9.29164
0.465931
9.36764
0.3818
9.4299
0.302965
9.47999
0.230672
9.51957
0.165949
9.5504
0.109629
9.57435
0.0623246
9.59341
0.0244427
9.60969
-0.00387558
9.62507
-0.0229046
9.64106
-0.0331774
9.65882
-0.0353512
9.67921
-0.0300865
9.70282
-0.0179234
9.73021
0.000804447
9.76207
0.0260457
9.7991
0.0577944
9.842
0.0959919
9.89123
0.140475
9.94668
0.190944
10.0077
0.247258
10.0735
0.310175
10.1446
0.381796
10.2249
0.465763
10.3227
0.566167
10.4508
0.686296
10.6259
0.827977
10.8624
0.992203
11.1499
1.18401
11.4153
1.42634
11.5467
1.77066
11.5725
2.23708
11.6259
2.73815
11.7575
3.23383
11.9587
3.7687
12.2213
4.38284
12.5503
5.10131
12.963
5.94829
13.4936
6.95613
14.2109
8.17217
15.279
9.66478
17.1783
11.5103
21.6052
13.6375
35.4385
14.8363
31.0723
7.17963
28.2405
3.99973
25.9885
2.61556
23.9234
2.14298
21.6389
2.22081
18.7472
2.76811
14.6373
3.83341
7.36066
5.604
9.36632
9.22619
19.9833
17.9834
77.06
15.7394
108.948
20.3627
76.9158
37.3785
59.7278
25.3049
53.2775
11.983
48.7832
9.97518
38.6991
10.0302
33.1484
7.00497
29.4301
4.60252
34.8375
-2.72541
31.9828
-12.4694
19.5423
-15.6068
11.3053
-3.97243
6.59664
5.83819
8.97034
9.5758
9.59729
13.4055
9.1066
16.9647
7.74355
20.1767
5.64745
22.9115
2.98353
24.954
26.0604
0.171142
0.837318
0.34144
0.83352
0.510223
0.826008
0.676843
0.81491
0.840682
0.800396
1.00117
0.78268
1.1578
0.762009
1.31011
0.738662
1.45772
0.712943
1.60028
0.685171
1.73747
0.655677
1.86907
0.624813
1.9949
0.59295
2.1149
0.560479
2.22906
0.527796
2.33752
0.495285
2.44049
0.463291
2.53827
0.432099
2.63121
0.401914
2.71967
0.372849
2.80395
0.344924
2.88424
0.318094
2.96061
0.292299
3.03306
0.267518
3.10151
0.243826
3.16593
0.221419
3.22641
0.200606
3.28322
0.181776
3.33684
0.165337
3.38789
0.15165
3.43707
0.140964
3.48507
0.133382
3.5325
0.128886
3.5798
0.127393
3.62727
0.128821
3.67507
0.133166
3.72341
0.14056
3.77264
0.151277
3.82338
0.165695
3.87647
0.1842
3.933
0.207066
3.99413
0.234377
4.06106
0.26599
4.13483
0.301531
4.21629
0.340419
4.30596
0.381925
4.40405
0.425268
4.51053
0.469712
4.62514
0.514638
4.74754
0.559575
4.87744
0.604212
5.01465
0.64836
5.15915
0.691888
5.31099
0.734621
5.47023
0.776286
5.6369
0.816492
5.81098
0.854748
5.99232
0.890454
6.18064
0.9229
6.37546
0.951276
6.57617
0.974703
6.78191
0.99225
6.99154
1.00295
7.2036
1.00583
7.41633
1.00006
7.62768
0.984937
7.83533
0.960048
8.03689
0.925313
8.22996
0.881067
8.41231
0.828065
8.58198
0.767461
8.73751
0.700765
8.87794
0.62974
9.00289
0.556285
9.11254
0.482282
9.20751
0.409484
9.2888
0.339471
9.3576
0.273588
9.41526
0.212924
9.46325
0.158406
9.5031
0.110743
9.53646
0.0704714
9.56509
0.037928
9.59066
0.013219
9.6148
-0.00377934
9.63888
-0.0134
9.66409
-0.0160999
9.69137
-0.0123693
9.72155
-0.00260477
9.75545
0.0129813
9.79382
0.0343498
9.8373
0.0615898
9.88648
0.094918
9.94169
0.134552
10.003
0.180701
10.0706
0.233975
10.1451
0.295689
10.2286
0.36834
10.3253
0.455713
10.4428
0.562468
10.5925
0.693382
10.7901
0.852614
11.0542
1.0438
11.3922
1.27144
11.7596
1.54137
12.0131
1.85351
12.0736
2.19366
12.1216
2.55928
12.2924
2.97264
12.5728
3.45038
12.9398
4.00237
13.3973
4.63921
13.9709
5.37316
14.7096
6.21683
15.7035
7.17807
17.1246
8.24372
19.3055
9.32933
22.804
10.1391
27.7818
9.85845
27.8924
7.06906
26.8563
5.0358
25.5159
3.95597
24.0012
3.65769
22.1862
4.03586
19.8125
5.14175
16.4079
7.23809
10.9829
11.029
18.1236
18.5476
17.7393
19.767
81.6834
22.8685
125.964
55.2336
64.8422
51.1247
46.4059
22.2997
51.2697
3.60315
48.8382
-15.0741
35.6739
-23.6987
30.746
-11.1721
22.1022
-1.99828
25.0935
-3.67727
28.8454
-2.74963
31.1766
-3.79256
21.1159
-7.31182
10.3343
-2.62825
12.8001
7.10998
13.1564
13.0491
12.3186
17.8025
10.4783
22.0171
7.69
25.6997
4.08993
28.5541
30.1503
0.167344
0.70504
0.333927
0.701868
0.499125
0.695594
0.66233
0.686326
0.822966
0.674202
0.980499
0.659399
1.13445
0.642128
1.2844
0.622622
1.42995
0.601135
1.57078
0.57793
1.70661
0.553285
1.83721
0.527496
1.96243
0.500874
2.08221
0.473737
2.19655
0.446402
2.30553
0.419165
2.4093
0.392293
2.50808
0.36601
2.60214
0.340488
2.69174
0.315836
2.77712
0.292105
2.85844
0.269302
2.93583
0.247429
3.00936
0.226516
3.0791
0.206654
3.14512
0.188
3.20758
0.170775
3.26678
0.155257
3.32315
0.141734
3.3772
0.130465
3.42948
0.121635
3.48058
0.115347
3.531
0.111637
3.58123
0.110506
3.63161
0.11195
3.68246
0.115996
3.73413
0.122744
3.78706
0.132378
3.84188
0.145133
3.89934
0.161224
3.96031
0.180782
4.02574
0.203824
4.0966
0.230225
4.17372
0.259701
4.2578
0.291826
4.3493
0.326075
4.4485
0.361892
4.55546
0.398745
4.67008
0.436151
4.79218
0.473709
4.92158
0.511119
5.05818
0.548163
5.20188
0.584653
5.35265
0.62037
5.51043
0.655037
5.67515
0.688315
5.84668
0.719786
6.02477
0.748945
6.20901
0.775198
6.39889
0.797902
6.59372
0.816368
6.79261
0.829864
6.99443
0.837637
7.19783
0.838979
7.40121
0.833276
7.60279
0.820052
7.8006
0.799037
7.99264
0.770236
8.17696
0.733946
8.3517
0.690768
8.51529
0.641597
8.66648
0.587597
8.80448
0.53012
8.92889
0.470612
9.03974
0.410525
9.1375
0.35125
9.22292
0.29405
9.29694
0.240027
9.36074
0.190133
9.41559
0.14514
9.46283
0.105657
9.50392
0.0721539
9.54038
0.0449466
9.57366
0.0241517
9.60518
0.0097419
9.63618
0.00149922
9.66782
-0.000909323
9.70113
0.00218967
9.73714
0.0105017
9.77682
0.0238877
9.82106
0.0424579
9.87063
0.0666074
9.92612
0.096907
9.98784
0.134068
10.0563
0.178905
10.1323
0.232433
10.2178
0.296129
10.3159
0.372772
10.4321
0.46675
10.5737
0.584034
10.7517
0.731334
10.9813
0.915045
11.2818
1.13995
11.6622
1.40645
12.0718
1.6938
12.3533
1.9312
12.4392
2.0933
12.535
2.30775
12.7701
2.63821
13.1248
3.05444
13.5766
3.5355
14.1313
4.0792
14.8145
4.68797
15.6709
5.3598
16.7692
6.07953
18.2102
6.80264
20.1154
7.42411
22.5233
7.73122
24.9924
7.38931
25.8591
6.20233
25.7765
5.11844
25.2176
4.51481
24.3794
4.49595
23.292
5.1232
21.9089
6.52493
20.1988
8.9482
18.5014
12.7264
19.343
17.706
20.8407
19.4615
114.049
52.6695
121.855
23.1992
36.0172
-22.1332
27.7093
-4.48471
32.5924
-6.18255
40.2136
-5.34979
48.2005
-8.75376
39.9198
-18.0154
20.4232
-16.8704
26.0211
-5.87682
27.8025
-1.99088
27.6574
-0.167207
25.7995
1.21113
20.0725
3.09873
18.7392
8.44323
17.9098
13.8786
16.5332
19.179
14.1609
24.3895
10.5444
29.3162
5.6862
33.4122
35.8366
0.164172
0.576339
0.327654
0.573753
0.489856
0.568642
0.650206
0.561092
0.808164
0.551218
0.963228
0.539167
1.11495
0.525111
1.26291
0.509241
1.40675
0.491759
1.54614
0.47288
1.68082
0.452831
1.81058
0.431855
1.93529
0.410206
2.05488
0.388137
2.16932
0.365892
2.27866
0.343701
2.38301
0.32177
2.48256
0.300278
2.57749
0.279368
2.66801
0.259139
2.75432
0.239648
2.83657
0.220928
2.91492
0.203011
2.9895
0.185952
3.06044
0.169833
3.12789
0.154777
3.19206
0.140947
3.25326
0.128544
3.31188
0.117776
3.36837
0.108829
3.4232
0.10184
3.47687
0.0969081
3.52987
0.0940981
3.58267
0.0934478
3.63566
0.0949768
3.68921
0.0987202
3.74376
0.104758
3.79982
0.113213
3.85797
0.124216
3.9189
0.137865
3.98335
0.15421
4.05215
0.173235
4.12607
0.194831
4.20585
0.218776
4.29205
0.244757
4.38512
0.272407
4.48535
0.301341
4.59286
0.331167
4.70763
0.361511
4.82959
0.392052
4.95863
0.422532
5.09467
0.45274
5.2376
0.482469
5.38732
0.511493
5.54371
0.539564
5.70663
0.566389
5.87584
0.591617
6.05102
0.614829
6.23172
0.635564
6.41735
0.653329
6.60721
0.667583
6.80038
0.677758
6.99577
0.683296
7.19212
0.683687
7.38799
0.678492
7.58177
0.667383
7.77179
0.650207
7.95636
0.627009
8.13378
0.598036
8.30253
0.563753
8.46129
0.524857
8.60901
0.482234
8.74497
0.436896
8.8688
0.389943
8.98047
0.342485
9.0803
0.295608
9.16889
0.250309
9.24705
0.207463
9.31575
0.167833
9.3761
0.132052
9.42932
0.100653
9.47671
0.0740572
9.51958
0.0525726
9.55925
0.036373
9.59694
0.0254933
9.63378
0.0198125
9.67092
0.019125
9.70945
0.0231438
9.75052
0.0316023
9.79539
0.0444904
9.84521
0.0621422
9.90093
0.0853347
9.96328
0.115405
10.0327
0.15393
10.1098
0.202416
10.196
0.262135
10.2944
0.334772
10.4099
0.423507
10.5493
0.534085
10.721
0.675113
10.9354
0.856049
11.2062
1.08059
11.5483
1.33239
11.9495
1.55757
12.3092
1.68273
12.5154
1.71608
12.6536
1.78669
12.8654
1.97535
13.1863
2.26214
13.6059
2.61302
14.1203
3.01262
14.74
3.4563
15.4864
3.94034
16.3906
4.45503
17.4923
4.97766
18.8316
5.46323
20.4225
5.83322
22.1814
5.97231
23.8054
5.76524
24.7753
5.23251
25.1729
4.72082
25.1988
4.48889
25.0066
4.6881
24.6938
5.43605
24.3321
6.88657
23.977
9.30339
23.481
13.2223
21.0986
20.0884
54.0487
35.4318
84.5782
37.0743
76.5229
5.14262
53.6657
-19.8179
26.0115
-21.2572
33.4252
-7.89822
36.8096
-3.82112
38.9389
-2.90044
41.0648
-3.77747
31.4168
-7.22241
29.9071
-4.36716
29.6262
-1.70999
29.0357
0.423247
27.6871
2.55976
25.417
5.36883
24.1746
9.68562
23.2103
14.8429
21.7437
20.6457
19.0877
27.0454
14.6404
33.7635
8.11051
39.9421
43.9471
0.161587
0.451343
0.322543
0.449314
0.482306
0.445309
0.640333
0.439398
0.796112
0.431676
0.949172
0.42226
1.09908
0.411285
1.24543
0.398899
1.38787
0.385259
1.52609
0.370533
1.65984
0.354902
1.78893
0.33856
1.91323
0.321702
2.03263
0.304523
2.14712
0.287205
2.25673
0.269922
2.36152
0.252834
2.46165
0.236081
2.55726
0.219776
2.64852
0.203999
2.73559
0.188804
2.81865
0.174232
2.89786
0.160328
2.97338
0.147147
3.04539
0.134755
3.11406
0.123243
3.17966
0.112731
3.24249
0.103366
3.30293
0.0952938
3.36138
0.0886426
3.41826
0.083521
3.47406
0.0800212
3.52922
0.0782156
3.5842
0.0781477
3.6394
0.079845
3.69525
0.0833471
3.75222
0.0887166
3.81082
0.0960202
3.87162
0.105308
3.93524
0.116609
4.00238
0.129924
4.07374
0.145219
4.15002
0.162387
4.23183
0.181259
4.3197
0.201622
4.41405
0.223237
4.51518
0.245844
4.62321
0.269163
4.73818
0.292923
4.86007
0.316888
4.98884
0.340858
5.12439
0.364634
5.26662
0.388019
5.41539
0.41081
5.57054
0.432795
5.73185
0.453726
5.89905
0.473316
6.07176
0.491246
6.24948
0.507176
6.43161
0.520726
6.61739
0.531491
6.80592
0.539059
6.99616
0.543043
7.18693
0.543083
7.37688
0.538871
7.5646
0.530197
7.7486
0.516985
7.92738
0.499282
8.0995
0.477284
8.26364
0.451369
8.41866
0.422073
8.56367
0.390039
8.69802
0.356021
8.82134
0.320825
8.93359
0.285288
9.035
0.250231
9.12605
0.216397
9.20742
0.184467
9.27997
0.155046
9.34471
0.128638
9.40273
0.105667
9.45523
0.0865328
9.50338
0.071555
9.54837
0.0609835
9.59125
0.0549563
9.63309
0.0535277
9.67493
0.0565946
9.71791
0.0638923
9.76341
0.0751943
9.81304
0.0905234
9.8684
0.110532
9.931
0.136942
10.0018
0.172565
10.0812
0.220935
10.1695
0.28542
10.2687
0.367955
10.3831
0.468605
10.5205
0.58621
10.6904
0.71852
10.9019
0.860037
11.1599
0.99918
11.458
1.11862
11.7735
1.20255
12.0747
1.25054
12.3425
1.28526
12.586
1.3428
12.8423
1.45412
13.1522
1.62984
13.5372
1.86189
14.0055
2.13842
14.564
2.45132
15.2241
2.79507
16.0011
3.16287
16.9133
3.5426
17.9779
3.91294
19.2016
4.23941
20.5616
4.47323
21.9743
4.55959
23.2727
4.46684
24.2636
4.24163
24.9409
4.04343
25.398
4.03182
25.7546
4.33152
26.1443
5.04634
26.749
6.28191
27.8959
8.15647
30.3471
10.7712
36.442
13.9934
55.6912
16.1827
52.6465
6.5624
51.5623
1.53169
52.2264
-2.50203
39.3705
-8.40135
37.5023
-6.03
37.7303
-4.04912
38.0618
-3.232
37.6198
-3.33548
34.272
-3.87462
32.5643
-2.6594
31.7594
-0.905143
31.1722
1.01044
30.4961
3.23583
29.7338
6.1312
29.3319
10.0875
29.013
15.1617
28.1434
21.5153
25.8058
29.3831
20.819
38.7503
12.1155
48.6456
56.0625
0.159558
0.331002
0.318537
0.329515
0.476395
0.326588
0.632611
0.322275
0.786696
0.31665
0.938197
0.309801
1.08669
0.301828
1.23179
0.292836
1.37314
0.28294
1.51046
0.272266
1.6435
0.260952
1.77208
0.249141
1.89605
0.236974
2.01532
0.224589
2.12984
0.212118
2.23964
0.199687
2.34477
0.187415
2.44534
0.175405
2.54148
0.163739
2.63333
0.152473
2.72102
0.141654
2.80475
0.13132
2.88468
0.121513
2.96099
0.112273
3.03387
0.103645
3.10355
0.0956929
3.17029
0.0885026
3.23442
0.082173
3.29628
0.0767978
3.35626
0.0724646
3.41476
0.0692593
3.47225
0.0672654
3.52916
0.0665488
3.5859
0.0671538
3.6429
0.0691221
3.70062
0.0724996
3.75952
0.0773309
3.82011
0.0836408
3.88292
0.0914289
3.94856
0.100682
4.01767
0.111371
4.09091
0.123431
4.16889
0.136761
4.25219
0.151241
4.34131
0.166746
4.43666
0.183136
4.53849
0.200252
4.64697
0.217923
4.76214
0.235983
4.88404
0.254279
5.01261
0.272651
5.14778
0.290924
5.28941
0.308926
5.43738
0.32648
5.59147
0.343395
5.75144
0.35946
5.91698
0.374449
6.08768
0.388128
6.26303
0.400239
6.44237
0.410506
6.62496
0.418653
6.8099
0.424416
6.9962
0.427538
7.18271
0.427781
7.36821
0.424961
7.55138
0.418973
7.73089
0.409778
7.90538
0.397431
8.07359
0.382111
8.23434
0.364114
8.38663
0.343818
8.52965
0.32169
8.66282
0.29827
8.78581
0.274148
8.89853
0.249916
9.00117
0.226138
9.09412
0.203368
9.178
0.182113
9.25356
0.162799
9.32174
0.145832
9.38359
0.13161
9.44025
0.120516
9.49281
0.112926
9.54234
0.109301
9.58983
0.110167
9.63615
0.11602
9.68223
0.12719
9.72921
0.143736
9.77874
0.165408
9.83305
0.191742
9.89481
0.222249
9.96662
0.256415
10.0502
0.293464
10.1457
0.332555
10.2521
0.373388
10.3693
0.417212
10.5007
0.466648
10.6528
0.523766
10.8319
0.587913
11.0411
0.655639
11.2794
0.722277
11.542
0.784142
11.8215
0.840012
12.1094
0.892387
12.4001
0.948644
12.6973
1.02076
13.018
1.1215
13.3843
1.25804
13.8138
1.42987
14.3183
1.63264
14.9078
1.86135
15.5919
2.11073
16.3808
2.37377
17.2836
2.63972
18.3043
2.89217
19.4354
3.10825
20.6479
3.26072
21.8815
3.326
23.0475
3.30089
24.0654
3.22375
24.9293
3.17944
25.6977
3.26344
26.4694
3.5598
27.3798
4.1359
28.6235
5.03827
30.5106
6.26942
33.5693
7.7124
38.6313
8.93141
46.0709
8.74318
47.6158
5.01752
47.5286
1.61886
46.3271
-1.30046
41.7419
-3.81615
39.4832
-3.7713
38.5474
-3.11336
37.9584
-2.64295
37.0807
-2.45781
35.4872
-2.28117
34.3185
-1.49068
33.675
-0.261608
33.3976
1.28782
33.3915
3.24192
33.6901
5.83265
34.4061
9.37148
35.3665
14.2013
36.0112
20.8706
35.173
30.2214
30.7143
43.2089
19.5323
59.8276
75.5949
0.158072
0.217657
0.315609
0.216718
0.472082
0.214871
0.626986
0.212153
0.779848
0.208611
0.930224
0.204305
1.0777
0.199296
1.22189
0.193654
1.36247
0.187455
1.49914
0.180785
1.63169
0.173736
1.75991
0.166401
1.88366
0.158871
2.00284
0.151234
2.11741
0.143574
2.22737
0.135977
2.33276
0.128519
2.43368
0.121268
2.53022
0.11427
2.62251
0.107564
2.71069
0.101182
2.79494
0.095155
2.87544
0.0895072
2.95236
0.0842601
3.02592
0.0794404
3.09636
0.0750894
3.16396
0.0712616
3.22905
0.0680132
3.29195
0.0654006
3.35305
0.0634879
3.41277
0.0623486
3.47153
0.0620565
3.52976
0.0626792
3.58787
0.0642801
3.64628
0.0669277
3.70545
0.0706893
3.76583
0.0756119
3.8279
0.0817105
3.89217
0.0889711
3.95925
0.0973511
4.02973
0.106773
4.10424
0.117122
4.18337
0.128268
4.26769
0.140081
4.3577
0.152431
4.45377
0.16518
4.55616
0.17818
4.66503
0.191292
4.78044
0.204396
4.90241
0.217383
5.03089
0.230154
5.16578
0.242624
5.30697
0.254721
5.45429
0.266373
5.60753
0.277488
5.76643
0.287967
5.93066
0.297695
6.0998
0.306537
6.2733
0.314334
6.45052
0.320917
6.63072
0.326123
6.81302
0.329786
6.99644
0.33174
7.1799
0.331846
7.36222
0.330008
7.54219
0.326167
7.71855
0.32031
7.89006
0.312503
8.05559
0.302887
8.21405
0.291652
8.3645
0.279038
8.50623
0.265367
8.6387
0.251007
8.76157
0.236318
8.87476
0.221668
8.9784
0.207434
9.07286
0.193956
9.15868
0.181503
9.23659
0.170288
9.30751
0.160479
9.3725
0.152156
9.43266
0.145273
9.48919
0.139758
9.54321
0.135487
9.59568
0.132305
9.64732
0.13016
9.69878
0.129272
9.75088
0.130206
9.80508
0.133839
9.86356
0.141081
9.92897
0.152463
10.0037
0.167868
10.0893
0.186769
10.1865
0.20861
10.2959
0.233334
10.4187
0.261613
10.5579
0.294416
10.717
0.332256
10.8996
0.374578
11.1077
0.419627
11.3412
0.465222
11.5978
0.50942
11.8738
0.55153
12.1656
0.592995
12.4722
0.637896
12.7981
0.692681
13.1545
0.763955
13.5561
0.855905
14.0165
0.9692
14.5471
1.10196
15.1572
1.25118
15.8549
1.41295
16.6467
1.58191
17.536
1.7504
18.5204
1.90779
19.5879
2.04074
20.7132
2.13543
21.8564
2.1828
22.9704
2.18694
24.021
2.17305
25.0133
2.18714
25.994
2.28272
27.0455
2.50836
28.2822
2.89917
29.8547
3.46584
31.9536
4.17052
34.7883
4.87761
38.4431
5.27666
42.3452
4.84105
44.2171
3.14564
44.6093
1.22669
43.8114
-0.50252
41.7867
-1.79148
40.1411
-2.12569
39.0178
-1.99004
38.1435
-1.76864
37.2574
-1.57166
36.2777
-1.30156
35.5476
-0.760512
35.2244
0.061579
35.3517
1.16054
35.9822
2.61138
37.2289
4.58599
39.2359
7.36445
42.0358
11.4014
45.362
17.5443
48.1605
27.4229
47.333
44.0364
35.2996
71.8609
110.894
0.157134
0.114034
0.313762
0.11366
0.469363
0.112894
0.623444
0.111748
0.775541
0.110244
0.925215
0.10841
1.07206
0.106276
1.21569
0.103876
1.3558
0.101251
1.4921
0.0984469
1.62435
0.0955104
1.75238
0.0924871
1.87602
0.0894204
1.99519
0.0863536
2.10981
0.0833319
2.21991
0.0803996
2.32551
0.0775959
2.42668
0.0749504
2.52351
0.0724851
2.61612
0.0702177
2.70466
0.0681638
2.78929
0.0663345
2.87019
0.0647333
2.94754
0.0633586
3.02157
0.0622119
3.09253
0.0612981
3.16071
0.0606211
3.22643
0.0601783
3.29004
0.0599655
3.35191
0.0599821
3.41248
0.0602291
3.47216
0.0607015
3.53136
0.0613884
3.59051
0.0622853
3.65004
0.0634002
3.71037
0.0647504
3.77193
0.0663614
3.83516
0.0682745
3.90055
0.0705533
3.96867
0.0732712
4.04008
0.0764895
4.11539
0.0802446
4.19518
0.0845488
4.28004
0.089385
4.37045
0.0946967
4.46677
0.100396
4.56928
0.106384
4.67813
0.112567
4.79342
0.118865
4.91518
0.125204
5.04336
0.131522
5.17788
0.137772
5.31862
0.143907
5.46541
0.149875
5.61801
0.15562
5.77616
0.161083
5.9395
0.166192
6.10759
0.170862
6.27988
0.174994
6.45573
0.178498
6.63438
0.181275
6.81498
0.183222
6.99655
0.184242
7.17806
0.184259
7.35838
0.183213
7.53633
0.181055
7.71074
0.177771
7.88045
0.173394
8.04435
0.167975
8.20143
0.161575
8.35083
0.154322
8.49187
0.14637
8.62401
0.137867
8.74692
0.128974
8.86052
0.119889
8.96492
0.110814
9.06041
0.101928
9.14747
0.0933982
9.22679
0.0854282
9.29919
0.0781868
9.36562
0.0718006
9.42715
0.0664085
9.48492
0.0621043
9.54003
0.0588926
9.59353
0.0567825
9.64644
0.055783
9.69971
0.0559287
9.75451
0.0573824
9.81232
0.0603852
9.87494
0.0651243
9.94438
0.0717341
10.0226
0.0801832
10.1111
0.0902761
10.2112
0.101804
10.3242
0.114841
10.4515
0.129615
10.5957
0.146494
10.7593
0.165607
10.9447
0.1867
11.1533
0.209032
11.3854
0.231704
11.6399
0.253934
11.9153
0.275545
12.2106
0.297371
12.527
0.321318
12.8694
0.350168
13.2465
0.386768
13.6694
0.432978
14.1493
0.489268
14.6963
0.554932
15.3189
0.628521
16.0239
0.707996
16.8152
0.790524
17.6934
0.872199
18.6534
0.947879
19.6826
1.01152
20.7606
1.05744
21.8606
1.08282
22.9565
1.09103
24.0351
1.09436
25.1089
1.11336
26.2197
1.17195
27.4363
1.29172
28.8489
1.48657
30.5593
1.7554
32.6606
2.06919
35.1874
2.35083
38.0075
2.45655
40.6498
2.19872
42.2982
1.49729
42.8801
0.644789
42.5224
-0.14482
41.4525
-0.721555
40.2767
-0.949927
39.2392
-0.952471
38.3405
-0.869932
37.5275
-0.758622
36.8188
-0.592892
36.3697
-0.311374
36.3234
0.1079
36.8025
0.681378
37.9569
1.45706
40.0074
2.53549
43.2729
4.0989
48.1787
6.49568
55.2406
10.4824
64.774
17.8895
75.1576
33.6528
74.3331
72.6853
185.228
0.15676
0.312997
0.468217
0.621941
0.773708
0.923081
1.06966
1.21307
1.35299
1.48916
1.62133
1.74931
1.87296
1.99216
2.10688
2.2171
2.32286
2.42421
2.52125
2.61407
2.70283
2.78769
2.86881
2.9464
3.02066
3.09185
3.16027
3.22622
3.29005
3.35216
3.41295
3.47284
3.53226
3.59163
3.65139
3.71198
3.77384
3.83744
3.90327
3.97189
4.04383
4.11969
4.20002
4.28536
4.37615
4.47276
4.57546
4.68443
4.79976
4.9215
5.04961
5.18401
5.32459
5.47115
5.62347
5.78127
5.94417
6.11173
6.28338
6.4585
6.63633
6.816
6.99657
7.17701
7.35622
7.53305
7.70636
7.87503
8.03795
8.19418
8.34288
8.48337
8.61512
8.73784
8.85145
8.95603
9.05188
9.1395
9.21955
9.2928
9.36022
9.42284
9.4817
9.53792
9.59253
9.64658
9.70116
9.75751
9.81706
9.88155
9.95283
10.0327
10.1226
10.2242
10.3389
10.4684
10.6148
10.7804
10.967
11.176
11.4077
11.6616
11.9371
12.2345
12.5558
12.906
13.2927
13.7257
14.2149
14.7699
15.3984
16.1064
16.8969
17.7691
18.717
19.7285
20.786
21.8688
22.9598
24.0541
25.1675
26.3395
27.6312
29.1177
30.8731
32.9423
35.2931
37.7497
39.9484
41.4457
42.0905
41.9457
41.2241
40.2742
39.3217
38.4518
37.6932
37.1003
36.7889
36.8968
37.5782
39.0353
41.5708
45.6697
52.1654
62.6478
80.5373
114.19
186.875
)
;
boundaryField
{
left
{
type fixedValue;
value uniform 0;
}
right
{
type fixedValue;
value uniform 0;
}
up
{
type fixedValue;
value uniform 0;
}
down
{
type fixedValue;
value uniform 0;
}
front
{
type fixedValue;
value uniform 0;
}
back
{
type fixedValue;
value uniform 0;
}
}
// ************************************************************************* //
| [
"rafael.xuxubelez@gmail.com"
] | rafael.xuxubelez@gmail.com | |
493039ce0c47fe2a6c91059d7165712c72d3f896 | 7fa176ce9ef29258ea3711612b0605ee82afd799 | /C++/template_class.cpp | 1104cb52e0be894ce727715bb94854bfebadf818 | [] | no_license | fooyou/Exercise | c5137945821ee7f9f21a86f95c06d8e71941c19f | 1a5438d961f1716953b90921aa1ee9d60a97b23e | refs/heads/master | 2022-07-08T13:15:52.481707 | 2018-07-08T03:21:17 | 2018-07-08T03:21:17 | 37,168,041 | 1 | 1 | null | 2022-07-06T20:05:34 | 2015-06-10T01:18:11 | C++ | UTF-8 | C++ | false | false | 967 | cpp | /**
* @File Name: template_class.cpp
* @Author: Joshua Liu
* @Email: liuchaozhenyu@gmail.com
* @Create Date: 2016-08-12 15:08:17
* @Last Modified: 2016-08-12 16:08:30
* @Description:
*/
#include <iostream>
using namespace std;
template <class T>
inline const T& max(const T& a, const T& b) {
return a > b ? a : b;
}
class Op;
ostream& operator<<(ostream &os, const Op &c) {
os << c.getnum();
return os;
}
istream& operator >>(istream &is, Op &c) {
return is;
}
class Op {
public:
Op(): _num(0) { }
Op(int n): _num(n) { }
bool operator >(const Op& a) {
return _num > a._num;
}
int getnum() {return _num;}
friend ostream& operator <<(ostream &os, const Op &c);
friend istream& operator >>(istream &is, Op &c);
private:
int _num;
};
int main() {
Op a(3), b(4);
if (a > b)
cout << "OK" << endl;
else
cout << "Haa" << endl;
cout << ::max(a, b) << endl;
return 0;
}
| [
"liuchaozhenyu@gmail.com"
] | liuchaozhenyu@gmail.com |
dd4401d54cb03b277175e43082af33a3832bec95 | 2ee6ec4fd5a822e709f26558e71310e2af541b13 | /ship.cpp | 826df8f043751270a8469fbe5e66ce740b214038 | [] | no_license | guga212/Star-Wars-Very-Lite | 91d56d91286ac5ebbd37c57c07665032e0c03b0d | fb61e50e66fad7670564edd083d55bce65d443ea | refs/heads/master | 2020-04-17T02:11:13.068953 | 2019-01-16T22:59:15 | 2019-01-16T22:59:15 | 166,123,829 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 24,905 | cpp | #pragma once
#include "object.h"
int ship_sml::n_sml;
int ship_middle::n_middle;
int ship_big::n_big;
//#////////////////////////////#//
//////////#//ship_obj//#//////////
//#////////////////////////////#//
std::vector<inf_ship_obj*> ship::allshp_pos;
//*******************************//
//*******************************//
//#////////////////////////////#//
//////////#//sml_ship//#//////////
//#////////////////////////////#//
void ship_sml::updt() {
updt_elmnts();
if (lokal.hp > 0) {
flw_enm();
rnd_bhv();
go_away();
anti_coll();
// must have funkcji
flw_targ();
upd_stat();
}
}
/////#//bchv_func//#/////////
//#//////////////////////#//
/////#//agressive//#/////////
void ship_sml::shoot() {
if (clocks[0]->get_time() > 1000) {
bullet* wsk2 = new bullet_simple(lokal.kier, lokal.pos, lokal.id, lokal.team, lokal.dmg);
crtd_objects.push_back(wsk2);
clocks[0]->restart_time();
}
}
void ship_sml::flw_enm() {
XMFLOAT3 cnt;
float min = 1000000.0f;
for (int i = 0; i < allshp_pos.size(); i++) {
if ((allshp_pos[i]->team != lokal.team) && (allshp_pos[i]->hp > 0) && (lokal.stan <= flw_enmy)) {
lokal.stan = flw_enmy;
XMStoreFloat3(&cnt, XMVector3Length(allshp_pos[i]->pos - lokal.pos));
if (cnt.x < min) {
min = cnt.x;
lokal.TARGpos = allshp_pos[i]->pos;
if (cnt.x < 50.0f) {
XMVECTOR targ_vect = lokal.TARGpos - lokal.pos;
XMStoreFloat3(&cnt, XMVector3AngleBetweenVectors(lokal.kier, targ_vect));
if (abs(cnt.x) < lokal.w / 40) {
shoot();
}
}
}
}
else
{
if (lokal.stan == flw_enmy)
lokal.stan = vac;
}
}
}
////////#//end//#//////////
void ship_sml::go_away() {
float min = 100000.0f;
int enm_nmb = 0;
XMFLOAT3 cnt;
int al_nmb;
for (int i = 0; i < allshp_pos.size(); i++) {
if (lokal.team != allshp_pos[i]->team) {
enm_nmb++;
}
}
al_nmb = allshp_pos.size() - enm_nmb;
for (int i = 0; i < allshp_pos.size(); i++) {
if (allshp_pos[i]->team != lokal.team){
XMStoreFloat3(&cnt, XMVector3Length(allshp_pos[i]->pos - lokal.pos));
if (min > cnt.x)
min = cnt.x;
}
}
if ((min < 25.0f) && (lokal.stan < run) && (lokal.hp<0.6*lokal.hp_max) && (al_nmb <= enm_nmb)) {
lokal.TARGpos = (-400 * lokal.kier);
lokal.w = 1.35*lokal.w_max;
lokal.stan = run;
}
if ((min>30.0f) && (lokal.stan == run)){
lokal.stan = vac;
// MessageBox(NULL, L"STOP", L"Distance", 1);
}
if ((enm_nmb == 0) && (lokal.stan == run))
lokal.stan = vac;
}
void ship_sml::rnd_bhv() {
int enm_nmb = 0;
for (int i = 0; i < allshp_pos.size(); i++) {
if ((lokal.team != allshp_pos[i]->team)&&(allshp_pos[i]->hp>0)) {
enm_nmb++;
}
}
// random behaviour
if ((lokal.stan <= rnd)&&(1)) {
if (rand() % 100 == 0) {
lokal.TARGpos = XMVectorSet(rand() % 8 * 25, rand() % 6 * 18, rand() % 8 * 28, 0);
}
lokal.stan = rnd;
}
// else{
// lokal.stan = vac;
// }
}
void ship_sml::anti_coll() {
XMFLOAT3 cnt;
XMFLOAT3 cnt1;
if (lokal.stan == anticoll) {
n_alg++;
}
int fl_vac=1;
for (int i = 0; i < allshp_pos.size(); i++) {
XMStoreFloat3(&cnt, XMVector3Length(allshp_pos[i]->pos - lokal.pos));
if (((cnt.x < 8.f) && (cnt.x != 0)) && (lokal.stan < anticoll) && (allshp_pos[i]->stan != anticoll)&&(n_safe<=0)) {
n_safe = 400;
n_alg = 0;
XMStoreFloat3(&cnt1, XMVectorEqual(allshp_pos[i]->kier, lokal.kier));
if ((cnt1.x == 0) || (cnt1.y == 0) || (cnt1.z == 0)) {
lokal.TARGpos = XMVectorSet(-50.0f + (rand() % 100), -50.0f + (rand() % 100), -50.0f + (rand() % 100), 0.0f);
lokal.TARGpos = lokal.kier*(-40.f);
lokal.TARGpos = XMVector3Cross(lokal.kier + XMVectorSet(-0.2, 0.4f, 0.12, 0.0f), allshp_pos[i]->kier)*45.0f;
}
else {
lokal.TARGpos = XMVector3Cross(allshp_pos[i]->kier, lokal.kier)*45.0f;
allshp_pos[i]->TARGpos = -lokal.TARGpos;
}
allshp_pos[i]->w = allshp_pos[i]->w_max*1.4;
allshp_pos[i]->stan = anticoll;
lokal.w = 1.4*lokal.w_max;
lokal.stan = anticoll;
break;
}
if ((cnt.x < 16.f)&&(cnt.x!=0)) {
fl_vac=0;
}
}
if (((fl_vac) || (n_alg>3000)) && (lokal.stan == anticoll)) {
lokal.stan = vac;
}
if (n_alg > 3000) {
n_safe--;
}
}
//#////////end///////////#//
////#// must have state//#///////
void ship_sml::upd_stat() {
if (lokal.hp <= (lokal.hp*0.35)) {
lokal.v = 0.45*lokal.v_max;
lokal.dmg = 0.45*lokal.v_max;
lokal.w = 0.45*lokal.w_max;
}
else {
if (lokal.hp <= (lokal.hp*0.5)) {
lokal.v = 0.7*lokal.v_max;
lokal.dmg = 0.7*lokal.v_max;
lokal.w = 0.7*lokal.w_max;
}
}
}
void ship_sml::col_det() {
XMFLOAT3 cnt;
for (int i = 0; i < ship::allshp_pos.size(); i++) {
XMStoreFloat3(&cnt, XMVector3Length(ship::allshp_pos[i]->pos - lokal.pos));
if (abs(cnt.x < lokal.size* 0.3f*ship::allshp_pos[i]->size) && (lokal.id != ship::allshp_pos[i]->id)) {
if(lokal.hp_max<=allshp_pos[i]->hp_max){
lokal.hp -= lokal.hp_max;
allshp_pos[i]->hp -= lokal.hp_max;
//MessageBox(NULL, L"pocisk -HP", L"upii", 1);
}
else
{
lokal.hp -= lokal.hp_max;
allshp_pos[i]->hp -= 0.7*lokal.hp_max;
}
}
}
}
void ship_sml::flw_targ() {
XMFLOAT3 cmp;
XMFLOAT3 cmpl1;
XMFLOAT3 cmpl2;
XMStoreFloat3(&cmp, XMVectorEqual(lokal.TARGpos, lokal.pos));
if ((cmp.x == 0) || (cmp.y == 0) || (cmp.z == 0)) {
XMVECTOR targ_vect = lokal.TARGpos - lokal.pos;
XMStoreFloat3(&cmpl1, XMVector3Length(targ_vect));
if (abs(cmpl1.x) >4.0f)
lokal.pos += lokal.kier*(lokal.v / 100);
targ_vect = XMVector3Normalize(targ_vect);
lokal.kier = XMVector3Normalize(lokal.kier);
XMVECTOR os_obr = XMVector3Cross(lokal.kier, targ_vect);
XMFLOAT3 angle;
XMStoreFloat3(&angle, XMVector3AngleBetweenVectors(lokal.kier, targ_vect));
if ((angle.x != 0.0f) && (angle.x != XM_PI)) {
if (abs(angle.x) > lokal.w / 80) {
if (angle.x>0)
lokal.kier = XMVector3TransformCoord(lokal.kier, XMMatrixRotationAxis(os_obr, lokal.w / 80));
else
lokal.kier = XMVector3TransformCoord(lokal.kier, XMMatrixRotationAxis(os_obr, lokal.w / 80));
}
}
}
// przesuw wspolrzednych
}
void ship_sml::updt_boom(){
////#//updt_booms//#////
if ((lokal.hp <= 0) && (!destroyed)) {
object* wsk = new explose(lokal.pos, 2.4f, 180);
crtd_objects.push_back(wsk);
destroyed = 1;
// MessageBox(NULL, L"BOOM", L"BOOM", 1);
}
////#//end_booms//#////
}
void ship_sml::updt_elmnts() {
col_det();
updt_boom();
pos = lokal.pos;
kier = lokal.kier;
////#//updt_objects//#////
XMFLOAT3 cnt;
for (int i = 0; i < crtd_objects.size(); ++i) {
crtd_objects[i]->updt();
if (crtd_objects[i]->death_chck()) {
delete crtd_objects[i];
crtd_objects[i] = NULL;
// MessageBox(NULL, L"deleted", L"zniszcz pocis", 1);
}
}
////#//end_updt_objects//#////
std::vector<object*>::iterator it;
for (it = crtd_objects.begin(); it != crtd_objects.end(); )
{
if ((*it) == NULL)
it = crtd_objects.erase(it);
else
++it;
}
}
bool ship_sml::death_chck() {
bool fl_all_dead=1;
if (crtd_objects.size() == 0)
fl_all_dead = 1;
for (int i = 0; i < crtd_objects.size(); ++i) {
if (!crtd_objects[i]->death_chck()) {
fl_all_dead = 0;
}
}
if ((lokal.hp <= 0)&&(fl_all_dead))
return 1;
else
return 0;
}
//#////////end///////////#//
//-----------------------------------------------------------------//
//-----------------------------------------------------------------//
//-----------------------------------------------------------------//
//-----------------------------------------------------------------//
//#/////////////////////////////#//
////////#//middle_ship//#/////////
//#///////////////////////////#//
void ship_middle::updt() {
updt_elmnts();
if (lokal.hp > 0) {
flw_enm();
rnd_bhv();
go_away();
anti_coll();
// must have funkcji
flw_targ();
upd_stat();
}
}
/////#//bchv_func//#/////////
//#//////////////////////#//
/////#//agressive//#/////////
void ship_middle::shoot() {
if (clocks[0]->get_time() > 1000) {
XMFLOAT3 cnt;
XMVECTOR rot2 = XMVector3Cross(lokal.kier, XMVectorSet(0.0f, 0.0f, 1.0f, 0.0f));
XMVECTOR angle = XMVector3AngleBetweenVectors(lokal.kier, XMVectorSet(0.0f, 0.0f, 1.0f, 0.0f));
XMStoreFloat3(&cnt, angle);
rot2 = XMVector3Normalize(rot2);
XMMATRIX m1 = XMMatrixRotationAxis(rot2, cnt.x);
XMVECTOR rot1 = XMVector3TransformCoord(XMVectorSet(1.0f, 0.0f, 0.0f, 0.0f), m1);
bullet* wsk1 = new bullet_simple(lokal.kier, lokal.pos - 0.8 * rot1, lokal.id, lokal.team, lokal.dmg);
crtd_objects.push_back(wsk1);
bullet* wsk2 = new bullet_simple(lokal.kier, lokal.pos, lokal.id, lokal.team, lokal.dmg);
crtd_objects.push_back(wsk2);
bullet* wsk3 = new bullet_simple(lokal.kier, lokal.pos + 0.8 * rot1, lokal.id, lokal.team, lokal.dmg);
crtd_objects.push_back(wsk3);
clocks[0]->restart_time();
}
}
void ship_middle::flw_enm() {
XMFLOAT3 cnt;
float min = 1000000.0f;
for (int i = 0; i < allshp_pos.size(); i++) {
if ((allshp_pos[i]->team != lokal.team) && (allshp_pos[i]->hp > 0) && (lokal.stan <= flw_enmy)) {
lokal.stan = flw_enmy;
XMStoreFloat3(&cnt, XMVector3Length(allshp_pos[i]->pos - lokal.pos));
if (cnt.x < min) {
min = cnt.x;
lokal.TARGpos = allshp_pos[i]->pos;
if (cnt.x < 50.0f) {
XMVECTOR targ_vect = lokal.TARGpos - lokal.pos;
XMStoreFloat3(&cnt, XMVector3AngleBetweenVectors(lokal.kier, targ_vect));
if (abs(cnt.x) < lokal.w / 40) {
shoot();
}
}
}
}
else
{
if (lokal.stan == flw_enmy)
lokal.stan = vac;
}
}
}
////////#//end//#//////////
void ship_middle::go_away() {
float min = 100000.0f;
int enm_nmb = 0;
XMFLOAT3 cnt;
int al_nmb;
for (int i = 0; i < allshp_pos.size(); i++) {
if (lokal.team != allshp_pos[i]->team) {
enm_nmb++;
}
}
al_nmb = allshp_pos.size() - enm_nmb;
for (int i = 0; i < allshp_pos.size(); i++) {
if (allshp_pos[i]->team != lokal.team) {
XMStoreFloat3(&cnt, XMVector3Length(allshp_pos[i]->pos - lokal.pos));
if (min > cnt.x)
min = cnt.x;
}
}
if ((min < 25.0f) && (lokal.stan < run) && (lokal.hp<0.4*lokal.hp_max) && (al_nmb <= enm_nmb)) {
lokal.TARGpos = (-400 * lokal.kier);
lokal.w = 1.35*lokal.w_max;
lokal.stan = run;
}
if ((min>30.0f) && (lokal.stan == run)) {
lokal.stan = vac;
// MessageBox(NULL, L"STOP", L"Distance", 1);
}
if ((enm_nmb == 0) && (lokal.stan == run))
lokal.stan = vac;
}
void ship_middle::rnd_bhv() {
int enm_nmb = 0;
for (int i = 0; i < allshp_pos.size(); i++) {
if ((lokal.team != allshp_pos[i]->team) && (allshp_pos[i]->hp>0)) {
enm_nmb++;
}
}
// random behaviour
if ((lokal.stan <= rnd) && (1)) {
if (rand() % 100 == 0) {
lokal.TARGpos = XMVectorSet(rand() % 8 * 25, rand() % 6 * 18, rand() % 8 * 28, 0);
}
lokal.stan = rnd;
}
// else{
// lokal.stan = vac;
// }
}
void ship_middle::anti_coll() {
XMFLOAT3 cnt;
XMFLOAT3 cnt1;
if (lokal.stan == anticoll) {
n_alg++;
}
int fl_vac = 1;
for (int i = 0; i < allshp_pos.size(); i++) {
XMStoreFloat3(&cnt, XMVector3Length(allshp_pos[i]->pos - lokal.pos));
if (((cnt.x < 9.f) && (cnt.x != 0)) && (lokal.stan < anticoll) && (allshp_pos[i]->stan != anticoll) && (n_safe <= 0)) {
n_safe = 400;
n_alg = 0;
XMStoreFloat3(&cnt1, XMVectorEqual(allshp_pos[i]->kier, lokal.kier));
if ((cnt1.x == 0) || (cnt1.y == 0) || (cnt1.z == 0)) {
lokal.TARGpos = XMVectorSet(-50.0f + (rand() % 100), -50.0f + (rand() % 100), -50.0f + (rand() % 100), 0.0f);
lokal.TARGpos = lokal.kier*(-40.f);
lokal.TARGpos = XMVector3Cross(lokal.kier + XMVectorSet(-0.2, 0.4f, 0.12, 0.0f), allshp_pos[i]->kier)*45.0f;
allshp_pos[i]->TARGpos = -lokal.TARGpos;
}
else {
lokal.TARGpos = XMVector3Cross(allshp_pos[i]->kier, lokal.kier)*45.0f;
allshp_pos[i]->TARGpos = -lokal.TARGpos;
}
allshp_pos[i]->w = allshp_pos[i]->w_max*1.4;
allshp_pos[i]->stan = anticoll;
lokal.w = 1.4*lokal.w_max;
lokal.stan = anticoll;
break;
}
if ((cnt.x < 18.f) && (cnt.x != 0)) {
fl_vac = 0;
}
}
if (((fl_vac) || (n_alg>3000)) && (lokal.stan == anticoll)) {
lokal.stan = vac;
}
if (n_alg > 3000) {
n_safe--;
}
}
//#////////end///////////#//
////#// must have state//#///////
void ship_middle::upd_stat() {
if (lokal.hp <= (lokal.hp*0.35)) {
lokal.v = 0.45*lokal.v_max;
lokal.dmg = 0.45*lokal.v_max;
lokal.w = 0.45*lokal.w_max;
}
else {
if (lokal.hp <= (lokal.hp*0.5)) {
lokal.v = 0.7*lokal.v_max;
lokal.dmg = 0.7*lokal.v_max;
lokal.w = 0.7*lokal.w_max;
}
}
}
void ship_middle::col_det() {
XMFLOAT3 cnt;
for (int i = 0; i < ship::allshp_pos.size(); i++) {
XMStoreFloat3(&cnt, XMVector3Length(ship::allshp_pos[i]->pos - lokal.pos));
if (abs(cnt.x < lokal.size* 0.25f*ship::allshp_pos[i]->size) && (lokal.id != ship::allshp_pos[i]->id)) {
if (lokal.hp_max <= allshp_pos[i]->hp_max) {
lokal.hp -= lokal.hp_max;
allshp_pos[i]->hp -= lokal.hp_max;
//MessageBox(NULL, L"pocisk -HP", L"upii", 1);
}
else
{
lokal.hp -= lokal.hp_max;
allshp_pos[i]->hp -= 0.7*lokal.hp_max;
}
}
}
}
void ship_middle::flw_targ() {
XMFLOAT3 cmp;
XMFLOAT3 cmpl1;
XMFLOAT3 cmpl2;
XMStoreFloat3(&cmp, XMVectorEqual(lokal.TARGpos, lokal.pos));
if ((cmp.x == 0) || (cmp.y == 0) || (cmp.z == 0)) {
XMVECTOR targ_vect = lokal.TARGpos - lokal.pos;
XMStoreFloat3(&cmpl1, XMVector3Length(targ_vect));
if (abs(cmpl1.x) >6.0f*size)
lokal.pos += lokal.kier*(lokal.v / 100);
targ_vect = XMVector3Normalize(targ_vect);
lokal.kier = XMVector3Normalize(lokal.kier);
XMVECTOR os_obr = XMVector3Cross(lokal.kier, targ_vect);
XMFLOAT3 angle;
XMStoreFloat3(&angle, XMVector3AngleBetweenVectors(lokal.kier, targ_vect));
if ((angle.x != 0.0f) && (angle.x != XM_PI)) {
if (abs(angle.x) > lokal.w / 80) {
if (angle.x>0)
lokal.kier = XMVector3TransformCoord(lokal.kier, XMMatrixRotationAxis(os_obr, lokal.w / 80));
else
lokal.kier = XMVector3TransformCoord(lokal.kier, XMMatrixRotationAxis(os_obr, lokal.w / 80));
}
}
}
// przesuw wspolrzednych
}
void ship_middle::updt_boom() {
////#//updt_booms//#////
if ((lokal.hp <= 0) && (!destroyed)) {
object* wsk = new explose(lokal.pos, 2.4f*size, 180);
crtd_objects.push_back(wsk);
destroyed = 1;
// MessageBox(NULL, L"BOOM", L"BOOM", 1);
}
////#//end_booms//#////
}
void ship_middle::updt_elmnts() {
col_det();
updt_boom();
pos = lokal.pos;
kier = lokal.kier;
////#//updt_objects//#////
XMFLOAT3 cnt;
for (int i = 0; i < crtd_objects.size(); ++i) {
crtd_objects[i]->updt();
if (crtd_objects[i]->death_chck()) {
delete crtd_objects[i];
crtd_objects[i] = NULL;
// MessageBox(NULL, L"deleted", L"zniszcz pocis", 1);
}
}
////#//end_updt_objects//#////
std::vector<object*>::iterator it;
for (it = crtd_objects.begin(); it != crtd_objects.end(); )
{
if ((*it) == NULL)
it = crtd_objects.erase(it);
else
++it;
}
}
bool ship_middle::death_chck() {
bool fl_all_dead = 1;
if (crtd_objects.size() == 0)
fl_all_dead = 1;
for (int i = 0; i < crtd_objects.size(); ++i) {
if (!crtd_objects[i]->death_chck()) {
fl_all_dead = 0;
}
}
if ((lokal.hp <= 0) && (fl_all_dead))
return 1;
else
return 0;
}
//#////////end///////////#//
//#////////////////////////////#//
//////////#//BIG_ship//#//////////
//#////////////////////////////#//
void ship_big::updt() {
updt_elmnts();
if (lokal.hp > 0) {
flw_enm();
rnd_bhv();
go_away();
anti_coll();
// must have funkcji
flw_targ();
upd_stat();
}
}
/////#//bchv_func//#/////////
//#//////////////////////#//
/////#//agressive//#/////////
void ship_big::shoot() {
if (clocks[0]->get_time() > 4600) {
bullet* wsk2;
for (int i = 0; i < targets.size();i++){
if(lokal.team==1){
wsk2= new bullet_int(XMVector3Normalize(-lokal.TARGpos), allshp_pos[targets[i]], lokal.pos, lokal.id, lokal.team, lokal.dmg);
crtd_objects.push_back(wsk2);
}
if (lokal.team == 0) {
wsk2 = new bullet_int(XMVector3Normalize(lokal.TARGpos), allshp_pos[targets[i]], lokal.pos, lokal.id, lokal.team, lokal.dmg);
crtd_objects.push_back(wsk2);
}
}
clocks[0]->restart_time();
}
}
void ship_big::flw_enm() {
XMFLOAT3 cnt;
float min = 1000000.0f;
for (int k = 0; k < targets.size(); k++) {
targets[k] = 0;
}
std::vector<UINT>::iterator it;
for (it = targets.begin(); it != targets.end(); )
{
if ((*it) == 0)
it = targets.erase(it);
else
++it;
}
for (int i = 0; i < allshp_pos.size(); i++) {
if ((allshp_pos[i]->team != lokal.team) && (allshp_pos[i]->hp > 0) && (lokal.stan <= flw_enmy)) {
lokal.stan = flw_enmy;
XMStoreFloat3(&cnt, XMVector3Length(allshp_pos[i]->pos - lokal.pos));
if (cnt.x < 160.0f) {
bool stop = 0;
for (int j = 0; j < targets.size(); j++) {
if (targets[j] == i)
stop = 1;
}
if ((!stop)&&(targets.size()<3)) {
targets.push_back(i);
}
}
if (cnt.x < min) {
min = cnt.x;
lokal.TARGpos = allshp_pos[i]->pos;
}
}
else
{
if (lokal.stan == flw_enmy)
lokal.stan = vac;
}
}
shoot();
}
////////#//end//#//////////
void ship_big::go_away() {
float min = 100000.0f;
int enm_nmb = 0;
XMFLOAT3 cnt;
int al_nmb;
for (int i = 0; i < allshp_pos.size(); i++) {
if (lokal.team != allshp_pos[i]->team) {
enm_nmb++;
}
}
al_nmb = allshp_pos.size() - enm_nmb;
for (int i = 0; i < allshp_pos.size(); i++) {
if (allshp_pos[i]->team != lokal.team) {
XMStoreFloat3(&cnt, XMVector3Length(allshp_pos[i]->pos - lokal.pos));
if (min > cnt.x)
min = cnt.x;
}
}
if ((min < 25.0f) && (lokal.stan < run) && (lokal.hp<0.05*lokal.hp_max) && (al_nmb <= enm_nmb)) {
lokal.TARGpos = (-400 * lokal.kier);
lokal.w = 1.35*lokal.w_max;
lokal.stan = run;
}
if ((min>30.0f) && (lokal.stan == run)) {
lokal.stan = vac;
// MessageBox(NULL, L"STOP", L"Distance", 1);
}
if ((enm_nmb == 0) && (lokal.stan == run))
lokal.stan = vac;
}
void ship_big::rnd_bhv() {
int enm_nmb = 0;
for (int i = 0; i < allshp_pos.size(); i++) {
if ((lokal.team != allshp_pos[i]->team) && (allshp_pos[i]->hp>0)) {
enm_nmb++;
}
}
// random behaviour
if ((lokal.stan <= rnd) && (1)) {
if (rand() % 100 == 0) {
lokal.TARGpos = XMVectorSet(rand() % 8 * 25, rand() % 6 * 18, rand() % 8 * 28, 0);
}
lokal.stan = rnd;
}
// else{
// lokal.stan = vac;
// }
}
void ship_big::anti_coll() {
XMFLOAT3 cnt;
XMFLOAT3 cnt1;
int fl_vac = 1;
for (int i = 0; i < allshp_pos.size(); i++) {
XMStoreFloat3(&cnt, XMVector3Length(allshp_pos[i]->pos - lokal.pos));
if (((cnt.x < 6.f) && (cnt.x != 0)) && (lokal.stan < anticoll) && (allshp_pos[i]->stan != anticoll)&& (allshp_pos[i]->hp_max== lokal.hp_max)) {
XMStoreFloat3(&cnt1, XMVectorEqual(allshp_pos[i]->kier, lokal.kier));
if ((cnt1.x == 0) || (cnt1.y == 0) || (cnt1.z == 0)) {
lokal.TARGpos = XMVectorSet(-50.0f + (rand() % 100), -50.0f + (rand() % 100), -50.0f + (rand() % 100), 0.0f);
lokal.TARGpos = lokal.kier*(-40.f);
lokal.TARGpos = XMVector3Cross(allshp_pos[i]->kier, -lokal.kier + XMVectorSet(-0.2, 0.4f, 0.12, 0.0f))*45.0f;
allshp_pos[i]->TARGpos = XMVector3Cross(allshp_pos[i]->kier, lokal.kier + XMVectorSet(-0.03, 0.05f, 0.02, 0.0f))*45.0f;
}
else {
lokal.TARGpos = XMVector3Cross(allshp_pos[i]->kier, lokal.kier)*45.0f;
allshp_pos[i]->TARGpos = XMVector3Cross(allshp_pos[i]->kier, -lokal.kier)*45.0f;
}
allshp_pos[i]->w = allshp_pos[i]->w_max*1.4;
allshp_pos[i]->stan = anticoll;
lokal.w = 1.4*lokal.w_max;
lokal.stan = anticoll;
break;
}
if ((cnt.x <9.f*size) && (cnt.x != 0)) {
fl_vac = 0;
}
}
if ((fl_vac) && (lokal.stan == anticoll)) {
lokal.stan = vac;
}
}
//#////////end///////////#//
////#// must have state//#///////
void ship_big::upd_stat() {
if (lokal.hp <= (lokal.hp*0.35)) {
lokal.v = 0.45*lokal.v_max;
lokal.dmg = 0.45*lokal.v_max;
lokal.w = 0.45*lokal.w_max;
}
else {
if (lokal.hp <= (lokal.hp*0.5)) {
lokal.v = 0.7*lokal.v_max;
lokal.dmg = 0.7*lokal.v_max;
lokal.w = 0.7*lokal.w_max;
}
}
}
void ship_big::col_det() {
XMFLOAT3 cnt;
for (int i = 0; i < ship::allshp_pos.size(); i++) {
XMStoreFloat3(&cnt, XMVector3Length(ship::allshp_pos[i]->pos - lokal.pos));
if (abs(cnt.x <lokal.size* 0.3f*ship::allshp_pos[i]->size) && (lokal.id != ship::allshp_pos[i]->id)) {
if (lokal.hp_max <= allshp_pos[i]->hp_max) {
lokal.hp -= lokal.hp_max;
allshp_pos[i]->hp -= lokal.hp_max;
//MessageBox(NULL, L"pocisk -HP", L"upii", 1);
}
else
{
lokal.hp -= lokal.hp_max;
allshp_pos[i]->hp -= 0.7*lokal.hp_max;
}
}
}
}
void ship_big::flw_targ() {
XMFLOAT3 cmp;
XMFLOAT3 cmpl1;
XMFLOAT3 cmpl2;
XMStoreFloat3(&cmp, XMVectorEqual(lokal.TARGpos, lokal.pos));
if ((cmp.x == 0) || (cmp.y == 0) || (cmp.z == 0)) {
XMVECTOR targ_vect = lokal.TARGpos - lokal.pos;
XMStoreFloat3(&cmpl1, XMVector3Length(targ_vect));
if (abs(cmpl1.x) >40.0f)
lokal.pos += lokal.kier*(lokal.v / 100);
targ_vect = XMVector3Normalize(targ_vect);
lokal.kier = XMVector3Normalize(lokal.kier);
XMVECTOR os_obr = XMVector3Cross(lokal.kier, targ_vect);
XMFLOAT3 angle;
XMStoreFloat3(&angle, XMVector3AngleBetweenVectors(lokal.kier, targ_vect));
if ((angle.x != 0.0f) && (angle.x != XM_PI)) {
if (abs(angle.x) > lokal.w / 80) {
if (angle.x>0)
lokal.kier = XMVector3TransformCoord(lokal.kier, XMMatrixRotationAxis(os_obr, lokal.w / 80));
else
lokal.kier = XMVector3TransformCoord(lokal.kier, XMMatrixRotationAxis(os_obr, lokal.w / 80));
}
else
{
lokal.TARGpos *= 20;
}
}
}
// przesuw wspolrzednych
}
void ship_big::updt_boom() {
////#//updt_booms//#////
if ((lokal.hp <= 0) && (!destroyed)) {
object* wsk = new explose(lokal.pos, 1.5*size*2.4f, 480);
crtd_objects.push_back(wsk);
destroyed = 1;
// MessageBox(NULL, L"BOOM", L"BOOM", 1);
}
////#//end_booms//#////
}
void ship_big::updt_elmnts() {
col_det();
updt_boom();
pos = lokal.pos;
kier = lokal.kier;
////#//updt_objects//#////
XMFLOAT3 cnt;
for (int i = 0; i < crtd_objects.size(); ++i) {
crtd_objects[i]->updt();
if (crtd_objects[i]->death_chck()) {
delete crtd_objects[i];
crtd_objects[i] = NULL;
// MessageBox(NULL, L"deleted", L"zniszcz pocis", 1);
}
}
////#//end_updt_objects//#////
std::vector<object*>::iterator it;
for (it = crtd_objects.begin(); it != crtd_objects.end(); )
{
if ((*it) == NULL)
it = crtd_objects.erase(it);
else
++it;
}
}
bool ship_big::death_chck() {
bool fl_all_dead = 1;
if (crtd_objects.size() == 0)
fl_all_dead = 1;
for (int i = 0; i < crtd_objects.size(); ++i) {
if (!crtd_objects[i]->death_chck()) {
fl_all_dead = 0;
}
}
if ((lokal.hp <= 0) && (fl_all_dead))
return 1;
else
return 0;
}
//#////////end///////////#// | [
"34397511+guga212@users.noreply.github.com"
] | 34397511+guga212@users.noreply.github.com |
d3e492de09242f25edd3aa5ec2e878bf691448b3 | 2e8dd937f3edc8fd8fbf9615a793f49605dd6a85 | /c_inter3/MathAux.cpp | 7f69d8ce36606a9a85eba4c212fb94a0507bc7e6 | [] | no_license | hasuminbanana/my_work | fb75571334cca87024cf18b31a368a095bf8e64b | 29f0affe3811d5dc4e10b55e955f4fb2c01a2167 | refs/heads/master | 2020-06-18T18:44:09.808040 | 2019-09-09T10:30:43 | 2019-09-09T10:30:43 | 196,406,068 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 985 | cpp | #include "MathAux.h"
#include <math.h>
#include <stdlib.h>
#include <vector> // ヘッダファイルインクルード
using namespace std;
/*######################################################################*/
/* 値の大きい方を返す */
double max(double arg0, double arg1)
{
if (arg0 < arg1) return arg1;
else return arg0;
}
/*######################################################################*/
/* 値の小さい方を返す */
double min(double arg0, double arg1)
{
if (arg0 < arg1) return arg0;
else return arg1;
}
/*######################################################################*/
/* (x0, y0)から(x1, y1)までの距離を計算して返す */
double length(double x0, double y0, double x1, double y1)
{
return sqrt((x1-x0)*(x1-x0) + (y1-y0)*(y1-y0));
}
/*######################################################################*/
/* [0,1)の乱数を返す */
double rand_0_1()
{
return (double)(rand()%65536)/65536;
}
| [
"noreply@github.com"
] | hasuminbanana.noreply@github.com |
09ec71d1b5b2ee653019c1bb81a3693c69438286 | 1446a45de06399c141ad722b70f8a4e2f88f01c8 | /boost_1_34_1/boost_1_34_1/libs/spirit/test/ast_calc_tests.cpp | 664764b4c246a65906ac80271a8f26ab9880d99b | [
"LicenseRef-scancode-unknown-license-reference",
"BSL-1.0"
] | permissive | Thrinaria/Codebase | 270d2b837242e113d733a7e6405b5294faede534 | 85e541a9d1e57f7bf30b5114e5e0a2063275a75d | refs/heads/master | 2021-01-01T20:34:47.359877 | 2015-01-30T06:04:42 | 2015-01-30T06:04:42 | 29,504,087 | 3 | 4 | null | 2015-01-25T01:55:41 | 2015-01-20T00:41:11 | C++ | UTF-8 | C++ | false | false | 10,138 | cpp | /*=============================================================================
Copyright (c) 2001-2003 Daniel Nuffer
http://spirit.sourceforge.net/
Use, modification and distribution is subject to the Boost Software
License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
http://www.boost.org/LICENSE_1_0.txt)
=============================================================================*/
// JDG 4-16-03 Modified from ast_calc.cpp as a test
#include <boost/spirit/core.hpp>
#include <boost/spirit/tree/ast.hpp>
#include <boost/spirit/tree/tree_to_xml.hpp>
#include <boost/detail/workaround.hpp>
#include <iostream>
#include <stack>
#include <functional>
#include <string>
#include <boost/detail/lightweight_test.hpp>
using namespace boost::spirit;
////////////////////////////////////////////////////////////////////////////
//
// Our calculator grammar
//
////////////////////////////////////////////////////////////////////////////
struct calculator : public grammar<calculator>
{
static const int integerID = 1;
static const int factorID = 2;
static const int termID = 3;
static const int expressionID = 4;
template <typename ScannerT>
struct definition
{
definition(calculator const& /*self*/)
{
// Start grammar definition
integer = leaf_node_d[real_p]; // we're not really using a real
// but just for compile checking
// the AST tree match code...
factor = integer
| inner_node_d[ch_p('(') >> expression >> ch_p(')')]
| (root_node_d[ch_p('-')] >> factor);
term = factor >>
*( (root_node_d[ch_p('*')] >> factor)
| (root_node_d[ch_p('/')] >> factor)
);
expression = term >>
*( (root_node_d[ch_p('+')] >> term)
| (root_node_d[ch_p('-')] >> term)
);
// End grammar definition
}
rule<ScannerT, parser_context<>, parser_tag<expressionID> > expression;
rule<ScannerT, parser_context<>, parser_tag<termID> > term;
rule<ScannerT, parser_context<>, parser_tag<factorID> > factor;
rule<ScannerT, parser_context<>, parser_tag<integerID> > integer;
rule<ScannerT, parser_context<>, parser_tag<expressionID> > const&
start() const { return expression; }
};
};
////////////////////////////////////////////////////////////////////////////
//
// Our calculator grammar, but with dynamically assigned rule ID's
//
////////////////////////////////////////////////////////////////////////////
struct dyn_calculator : public grammar<dyn_calculator>
{
static const int integerID = 1;
static const int factorID = 2;
static const int termID = 3;
static const int expressionID = 4;
template <typename ScannerT>
struct definition
{
definition(dyn_calculator const& /*self*/)
{
expression.set_id(expressionID);
term.set_id(termID);
factor.set_id(factorID);
integer.set_id(integerID);
// Start grammar definition
integer = leaf_node_d[real_p]; // we're not really using a real
// but just for compile checking
// the AST tree match code...
factor = integer
| inner_node_d[ch_p('(') >> expression >> ch_p(')')]
| (root_node_d[ch_p('-')] >> factor);
term = factor >>
*( (root_node_d[ch_p('*')] >> factor)
| (root_node_d[ch_p('/')] >> factor)
);
expression = term >>
*( (root_node_d[ch_p('+')] >> term)
| (root_node_d[ch_p('-')] >> term)
);
// End grammar definition
}
rule<ScannerT, parser_context<>, dynamic_parser_tag> expression;
rule<ScannerT, parser_context<>, dynamic_parser_tag> term;
rule<ScannerT, parser_context<>, dynamic_parser_tag> factor;
rule<ScannerT, parser_context<>, dynamic_parser_tag> integer;
rule<ScannerT, parser_context<>, dynamic_parser_tag> const&
start() const { return expression; }
};
};
////////////////////////////////////////////////////////////////////////////
using namespace std;
using namespace boost::spirit;
typedef char const* iterator_t;
typedef tree_match<iterator_t> parse_tree_match_t;
typedef parse_tree_match_t::tree_iterator iter_t;
////////////////////////////////////////////////////////////////////////////
long evaluate(parse_tree_match_t hit);
long eval_expression(iter_t const& i);
long evaluate(tree_parse_info<> info)
{
return eval_expression(info.trees.begin());
}
long eval_expression(iter_t const& i)
{
switch (i->value.id().to_long())
{
case calculator::integerID:
{
BOOST_TEST(i->children.size() == 0);
// extract integer (not always delimited by '\0')
#if BOOST_WORKAROUND(__MWERKS__, BOOST_TESTED_AT(0x3003))
// std::string(iter,iter) constructor has a bug in MWCW 8.3:
// in some situations, the null terminator won't be added
// and c_str() will return bogus data. Conservatively, I
// activate this workaround up to version 8.3.
std::vector<char> value(i->value.begin(), i->value.end());
value.push_back('\0');
return strtol(&value[0], 0, 10);
#else
string integer(i->value.begin(), i->value.end());
return strtol(integer.c_str(), 0, 10);
#endif
}
case calculator::factorID:
{
// factor can only be unary minus
BOOST_TEST(*i->value.begin() == '-');
return - eval_expression(i->children.begin());
}
case calculator::termID:
{
if (*i->value.begin() == '*')
{
BOOST_TEST(i->children.size() == 2);
return eval_expression(i->children.begin()) *
eval_expression(i->children.begin()+1);
}
else if (*i->value.begin() == '/')
{
BOOST_TEST(i->children.size() == 2);
return eval_expression(i->children.begin()) /
eval_expression(i->children.begin()+1);
}
else
BOOST_TEST(0);
}
case calculator::expressionID:
{
if (*i->value.begin() == '+')
{
BOOST_TEST(i->children.size() == 2);
return eval_expression(i->children.begin()) +
eval_expression(i->children.begin()+1);
}
else if (*i->value.begin() == '-')
{
BOOST_TEST(i->children.size() == 2);
return eval_expression(i->children.begin()) -
eval_expression(i->children.begin()+1);
}
else
BOOST_TEST(0);
}
default:
BOOST_TEST(0); // error
}
return 0;
}
////////////////////////////////////////////////////////////////////////////
int
parse(char const* str)
{
calculator calc;
tree_parse_info<> info = ast_parse(str, calc, space_p);
if (info.full)
return evaluate(info);
else
return -1;
}
int
parse_dyn(char const* str)
{
dyn_calculator calc;
tree_parse_info<> info = ast_parse(str, calc, space_p);
if (info.full)
return evaluate(info);
else
return -1;
}
int
main()
{
// test the calculator with statically assigned rule ID's
BOOST_TEST(parse("12345") == 12345);
BOOST_TEST(parse("-12345") == -12345);
BOOST_TEST(parse("1 + 2") == 1 + 2);
BOOST_TEST(parse("1 * 2") == 1 * 2);
BOOST_TEST(parse("1/2 + 3/4") == 1/2 + 3/4);
BOOST_TEST(parse("1 + 2 + 3 + 4") == 1 + 2 + 3 + 4);
BOOST_TEST(parse("1 * 2 * 3 * 4") == 1 * 2 * 3 * 4);
BOOST_TEST(parse("(1 + 2) * (3 + 4)") == (1 + 2) * (3 + 4));
BOOST_TEST(parse("(-1 + 2) * (3 + -4)") == (-1 + 2) * (3 + -4));
BOOST_TEST(parse("1 + ((6 * 200) - 20) / 6") == 1 + ((6 * 200) - 20) / 6);
BOOST_TEST(parse("(1 + (2 + (3 + (4 + 5))))") == (1 + (2 + (3 + (4 + 5)))));
BOOST_TEST(parse("1 + 2 + 3 + 4 + 5") == 1 + 2 + 3 + 4 + 5);
BOOST_TEST(parse("(12 * 22) + (36 + -4 + 5)") == (12 * 22) + (36 + -4 + 5));
BOOST_TEST(parse("(12 * 22) / (5 - 10 + 15)") == (12 * 22) / (5 - 10 + 15));
BOOST_TEST(parse("12 * 6 * 15 + 5 - 25") == 12 * 6 * 15 + 5 - 25);
// test the calculator with dynamically assigned rule ID's
BOOST_TEST(parse_dyn("12345") == 12345);
BOOST_TEST(parse_dyn("-12345") == -12345);
BOOST_TEST(parse_dyn("1 + 2") == 1 + 2);
BOOST_TEST(parse_dyn("1 * 2") == 1 * 2);
BOOST_TEST(parse_dyn("1/2 + 3/4") == 1/2 + 3/4);
BOOST_TEST(parse_dyn("1 + 2 + 3 + 4") == 1 + 2 + 3 + 4);
BOOST_TEST(parse_dyn("1 * 2 * 3 * 4") == 1 * 2 * 3 * 4);
BOOST_TEST(parse_dyn("(1 + 2) * (3 + 4)") == (1 + 2) * (3 + 4));
BOOST_TEST(parse_dyn("(-1 + 2) * (3 + -4)") == (-1 + 2) * (3 + -4));
BOOST_TEST(parse_dyn("1 + ((6 * 200) - 20) / 6") == 1 + ((6 * 200) - 20) / 6);
BOOST_TEST(parse_dyn("(1 + (2 + (3 + (4 + 5))))") == (1 + (2 + (3 + (4 + 5)))));
BOOST_TEST(parse_dyn("1 + 2 + 3 + 4 + 5") == 1 + 2 + 3 + 4 + 5);
BOOST_TEST(parse_dyn("(12 * 22) + (36 + -4 + 5)") == (12 * 22) + (36 + -4 + 5));
BOOST_TEST(parse_dyn("(12 * 22) / (5 - 10 + 15)") == (12 * 22) / (5 - 10 + 15));
BOOST_TEST(parse_dyn("12 * 6 * 15 + 5 - 25") == 12 * 6 * 15 + 5 - 25);
return boost::report_errors();
}
| [
"thrin_d@live.nl"
] | thrin_d@live.nl |
f29af86eaeb01d5039d2ee927903dab4ea63fda1 | 83e2437bccaa6c86c89a2eb138b737a9053f2023 | /src/test/base58_tests.cpp | d138190f27973c34f2b04c9a80aa96ad960b70b6 | [
"MIT"
] | permissive | timercoin001/BTCT-TimerCoin-PUB | 30798bfac5c62c834773f85ac2cebe1edc6ad10a | 52c65ce2ccfb0323af4111f8c798687f39cbcaa1 | refs/heads/master | 2020-06-09T10:12:52.528697 | 2020-02-25T05:58:17 | 2020-02-25T05:58:17 | 193,420,480 | 2 | 0 | MIT | 2020-01-27T13:54:09 | 2019-06-24T02:30:57 | C++ | UTF-8 | C++ | false | false | 10,747 | cpp | // Copyright (c) 2011-2014 The Btct Core developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "base58.h"
#include "data/base58_encode_decode.json.h"
#include "data/base58_keys_invalid.json.h"
#include "data/base58_keys_valid.json.h"
#include "key.h"
#include "script/script.h"
#include "uint256.h"
#include "util.h"
#include "utilstrencodings.h"
#include <boost/foreach.hpp>
#include <boost/test/unit_test.hpp>
#include "json/json_spirit_reader_template.h"
#include "json/json_spirit_utils.h"
#include "json/json_spirit_writer_template.h"
using namespace json_spirit;
extern Array read_json(const std::string& jsondata);
BOOST_AUTO_TEST_SUITE(base58_tests)
// Goal: test low-level base58 encoding functionality
BOOST_AUTO_TEST_CASE(base58_EncodeBase58)
{
Array tests = read_json(std::string(json_tests::base58_encode_decode, json_tests::base58_encode_decode + sizeof(json_tests::base58_encode_decode)));
BOOST_FOREACH(Value& tv, tests)
{
Array test = tv.get_array();
std::string strTest = write_string(tv, false);
if (test.size() < 2) // Allow for extra stuff (useful for comments)
{
BOOST_ERROR("Bad test: " << strTest);
continue;
}
std::vector<unsigned char> sourcedata = ParseHex(test[0].get_str());
std::string base58string = test[1].get_str();
BOOST_CHECK_MESSAGE(
EncodeBase58(begin_ptr(sourcedata), end_ptr(sourcedata)) == base58string,
strTest);
}
}
// Goal: test low-level base58 decoding functionality
BOOST_AUTO_TEST_CASE(base58_DecodeBase58)
{
Array tests = read_json(std::string(json_tests::base58_encode_decode, json_tests::base58_encode_decode + sizeof(json_tests::base58_encode_decode)));
std::vector<unsigned char> result;
BOOST_FOREACH(Value& tv, tests)
{
Array test = tv.get_array();
std::string strTest = write_string(tv, false);
if (test.size() < 2) // Allow for extra stuff (useful for comments)
{
BOOST_ERROR("Bad test: " << strTest);
continue;
}
std::vector<unsigned char> expected = ParseHex(test[0].get_str());
std::string base58string = test[1].get_str();
BOOST_CHECK_MESSAGE(DecodeBase58(base58string, result), strTest);
BOOST_CHECK_MESSAGE(result.size() == expected.size() && std::equal(result.begin(), result.end(), expected.begin()), strTest);
}
BOOST_CHECK(!DecodeBase58("invalid", result));
// check that DecodeBase58 skips whitespace, but still fails with unexpected non-whitespace at the end.
BOOST_CHECK(!DecodeBase58(" \t\n\v\f\r skip \r\f\v\n\t a", result));
BOOST_CHECK( DecodeBase58(" \t\n\v\f\r skip \r\f\v\n\t ", result));
std::vector<unsigned char> expected = ParseHex("971a55");
BOOST_CHECK_EQUAL_COLLECTIONS(result.begin(), result.end(), expected.begin(), expected.end());
}
// Visitor to check address type
class TestAddrTypeVisitor : public boost::static_visitor<bool>
{
private:
std::string exp_addrType;
public:
TestAddrTypeVisitor(const std::string &exp_addrType) : exp_addrType(exp_addrType) { }
bool operator()(const CKeyID &id) const
{
return (exp_addrType == "pubkey");
}
bool operator()(const CScriptID &id) const
{
return (exp_addrType == "script");
}
bool operator()(const CNoDestination &no) const
{
return (exp_addrType == "none");
}
};
// Visitor to check address payload
class TestPayloadVisitor : public boost::static_visitor<bool>
{
private:
std::vector<unsigned char> exp_payload;
public:
TestPayloadVisitor(std::vector<unsigned char> &exp_payload) : exp_payload(exp_payload) { }
bool operator()(const CKeyID &id) const
{
uint160 exp_key(exp_payload);
return exp_key == id;
}
bool operator()(const CScriptID &id) const
{
uint160 exp_key(exp_payload);
return exp_key == id;
}
bool operator()(const CNoDestination &no) const
{
return exp_payload.size() == 0;
}
};
// Goal: check that parsed keys match test payload
BOOST_AUTO_TEST_CASE(base58_keys_valid_parse)
{
Array tests = read_json(std::string(json_tests::base58_keys_valid, json_tests::base58_keys_valid + sizeof(json_tests::base58_keys_valid)));
std::vector<unsigned char> result;
CBitcoinSecret secret;
CBitcoinAddress addr;
BOOST_FOREACH(Value& tv, tests)
{
Array test = tv.get_array();
std::string strTest = write_string(tv, false);
if (test.size() < 3) // Allow for extra stuff (useful for comments)
{
BOOST_ERROR("Bad test: " << strTest);
continue;
}
std::string exp_base58string = test[0].get_str();
std::vector<unsigned char> exp_payload = ParseHex(test[1].get_str());
const Object &metadata = test[2].get_obj();
bool isPrivkey = find_value(metadata, "isPrivkey").get_bool();
bool isTestnet = find_value(metadata, "isTestnet").get_bool();
if (isTestnet)
SelectParams(CBaseChainParams::TESTNET);
else
SelectParams(CBaseChainParams::MAIN);
if(isPrivkey)
{
bool isCompressed = find_value(metadata, "isCompressed").get_bool();
// Must be valid private key
// Note: CBitcoinSecret::SetString tests isValid, whereas CBitcoinAddress does not!
BOOST_CHECK_MESSAGE(secret.SetString(exp_base58string), "!SetString:"+ strTest);
BOOST_CHECK_MESSAGE(secret.IsValid(), "!IsValid:" + strTest);
CKey privkey = secret.GetKey();
BOOST_CHECK_MESSAGE(privkey.IsCompressed() == isCompressed, "compressed mismatch:" + strTest);
BOOST_CHECK_MESSAGE(privkey.size() == exp_payload.size() && std::equal(privkey.begin(), privkey.end(), exp_payload.begin()), "key mismatch:" + strTest);
// Private key must be invalid public key
addr.SetString(exp_base58string);
BOOST_CHECK_MESSAGE(!addr.IsValid(), "IsValid privkey as pubkey:" + strTest);
}
else
{
std::string exp_addrType = find_value(metadata, "addrType").get_str(); // "script" or "pubkey"
// Must be valid public key
BOOST_CHECK_MESSAGE(addr.SetString(exp_base58string), "SetString:" + strTest);
BOOST_CHECK_MESSAGE(addr.IsValid(), "!IsValid:" + strTest);
BOOST_CHECK_MESSAGE(addr.IsScript() == (exp_addrType == "script"), "isScript mismatch" + strTest);
CTxDestination dest = addr.Get();
BOOST_CHECK_MESSAGE(boost::apply_visitor(TestAddrTypeVisitor(exp_addrType), dest), "addrType mismatch" + strTest);
// Public key must be invalid private key
secret.SetString(exp_base58string);
BOOST_CHECK_MESSAGE(!secret.IsValid(), "IsValid pubkey as privkey:" + strTest);
}
}
SelectParams(CBaseChainParams::UNITTEST);
}
// Goal: check that generated keys match test vectors
BOOST_AUTO_TEST_CASE(base58_keys_valid_gen)
{
Array tests = read_json(std::string(json_tests::base58_keys_valid, json_tests::base58_keys_valid + sizeof(json_tests::base58_keys_valid)));
std::vector<unsigned char> result;
BOOST_FOREACH(Value& tv, tests)
{
Array test = tv.get_array();
std::string strTest = write_string(tv, false);
if (test.size() < 3) // Allow for extra stuff (useful for comments)
{
BOOST_ERROR("Bad test: " << strTest);
continue;
}
std::string exp_base58string = test[0].get_str();
std::vector<unsigned char> exp_payload = ParseHex(test[1].get_str());
const Object &metadata = test[2].get_obj();
bool isPrivkey = find_value(metadata, "isPrivkey").get_bool();
bool isTestnet = find_value(metadata, "isTestnet").get_bool();
if (isTestnet)
SelectParams(CBaseChainParams::TESTNET);
else
SelectParams(CBaseChainParams::MAIN);
if(isPrivkey)
{
bool isCompressed = find_value(metadata, "isCompressed").get_bool();
CKey key;
key.Set(exp_payload.begin(), exp_payload.end(), isCompressed);
assert(key.IsValid());
CBitcoinSecret secret;
secret.SetKey(key);
BOOST_CHECK_MESSAGE(secret.ToString() == exp_base58string, "result mismatch: " + strTest);
}
else
{
std::string exp_addrType = find_value(metadata, "addrType").get_str();
CTxDestination dest;
if(exp_addrType == "pubkey")
{
dest = CKeyID(uint160(exp_payload));
}
else if(exp_addrType == "script")
{
dest = CScriptID(uint160(exp_payload));
}
else if(exp_addrType == "none")
{
dest = CNoDestination();
}
else
{
BOOST_ERROR("Bad addrtype: " << strTest);
continue;
}
CBitcoinAddress addrOut;
BOOST_CHECK_MESSAGE(addrOut.Set(dest), "encode dest: " + strTest);
BOOST_CHECK_MESSAGE(addrOut.ToString() == exp_base58string, "mismatch: " + strTest);
}
}
// Visiting a CNoDestination must fail
CBitcoinAddress dummyAddr;
CTxDestination nodest = CNoDestination();
BOOST_CHECK(!dummyAddr.Set(nodest));
SelectParams(CBaseChainParams::UNITTEST);
}
// Goal: check that base58 parsing code is robust against a variety of corrupted data
BOOST_AUTO_TEST_CASE(base58_keys_invalid)
{
Array tests = read_json(std::string(json_tests::base58_keys_invalid, json_tests::base58_keys_invalid + sizeof(json_tests::base58_keys_invalid))); // Negative testcases
std::vector<unsigned char> result;
CBitcoinSecret secret;
CBitcoinAddress addr;
BOOST_FOREACH(Value& tv, tests)
{
Array test = tv.get_array();
std::string strTest = write_string(tv, false);
if (test.size() < 1) // Allow for extra stuff (useful for comments)
{
BOOST_ERROR("Bad test: " << strTest);
continue;
}
std::string exp_base58string = test[0].get_str();
// must be invalid as public and as private key
addr.SetString(exp_base58string);
BOOST_CHECK_MESSAGE(!addr.IsValid(), "IsValid pubkey:" + strTest);
secret.SetString(exp_base58string);
BOOST_CHECK_MESSAGE(!secret.IsValid(), "IsValid privkey:" + strTest);
}
}
BOOST_AUTO_TEST_SUITE_END()
| [
"2184934807@qq.com"
] | 2184934807@qq.com |
b84ea822edaf18e99b8d4582c2ed573e69266d77 | 74ef11065048fcf08ee5b9ef1c11c0ce10079301 | /expansion_js/src/dependencies/tinf/tinf_wrapper.h | 9a4bdac4a5edc7fb130113d907baa325922fcd88 | [
"Zlib",
"MIT"
] | permissive | kliment-olechnovic/voronota | fa2548c9ccc3dd6f5a10a054300aca8b6d31ecf4 | 52c2b0d55f2979d0eef478ed0be20376cb3d561a | refs/heads/master | 2023-09-04T05:09:11.275304 | 2023-08-30T07:59:07 | 2023-08-30T07:59:07 | 203,789,299 | 19 | 6 | MIT | 2023-07-04T06:25:54 | 2019-08-22T12:20:48 | C++ | UTF-8 | C++ | false | false | 360 | h | #ifndef DEPENDENCIES_TINF_TINF_WRAPPER_H_
#define DEPENDENCIES_TINF_TINF_WRAPPER_H_
#include <string>
namespace TinfWrapper
{
bool check_if_string_gzipped(const std::string& potentially_gzipped_string);
bool uncompress_gzipped_string(const std::string& gzipped_string, std::string& uncompressed_string);
}
#endif /* DEPENDENCIES_TINF_TINF_WRAPPER_H_ */
| [
"kliment.olechnovic@gmail.com"
] | kliment.olechnovic@gmail.com |
cd3ba5c7f50f175ed56e5ef1d0b5bc78a8d09c5f | 1d07ddc184bf3cf6d0b073fc14903517c82a010a | /src/Filter.cpp | 3073fe6f97fdb0863ee40cf935764b426b20d26e | [] | no_license | generaviles/TDA | 502e9addf14be07f2cc7bbeaa23ad40d5513efbb | 4edc66cf9042048285f80a0b56b24c20bc69db09 | refs/heads/master | 2020-05-20T09:04:14.602436 | 2018-11-07T12:43:05 | 2018-11-07T12:43:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,569 | cpp | /*
* PH filter functions for various data types Nick Carrara
*/
#include "Filter.h"
using namespace std;
// Filter 2D
Filter2D::Filter2D(){}
Filter2D::~Filter2D(){}
void Filter2D::loadBinaryFromFile(const char* input_file){
std::ifstream inputFile(input_file);
int l = 0;
while (inputFile) {
l++;
std::string s;
if (!std::getline(inputFile, s)) break;
if (s[0] != '#') {
std::istringstream ss(s);
std::vector<double> record;
while (ss) {
std::string line;
if (!std::getline(ss, line, ','))
break;
try {
record.push_back(stof(line));
}
catch (const std::invalid_argument e) {
std::cout << "NaN found in file " << input_file << " line " << l
<< std::endl;
e.what();
}
}
m_Binary.push_back(record);
}
}
if (!inputFile.eof()) {
std::cerr << "Could not read file " << input_file << "\n";
std::__throw_invalid_argument("File not found.");
}
}
void Filter2D::loadContinuousFromFile(const char* input_file){
}
void Filter2D::countDeadCells(){
int deadCells = 0;
for (int i = 0; i < m_Binary.size(); i++){
for (int j = 0; j < m_Binary[i].size(); j++){
if (m_Binary[i][j] == 0) deadCells++;
}
}
m_DeadCells = deadCells;
}
// Various filterings
// Binary filterings
void Filter2D::filterBinaryL1(double threshold){ // only hard boundary right now
// count the number of dead cells
countDeadCells();
int deadCells = m_DeadCells;
bool thres = false;
double currentState = 1.0;
// loop
vector<vector<double> > binaryCopy = m_Binary;
while(deadCells > 0 && thres == false){
for (int i = 0; i < binaryCopy.size(); i++){
for (int j = 0; j < binaryCopy[i].size(); j++){
// Check state
if (binaryCopy[i][j] == currentState){
// Look at all neighbors
if (i == 0){
if (j == 0){
if (binaryCopy[0][1] == 0){
binaryCopy[0][1] = currentState + 1;
deadCells--;
}
if (binaryCopy[1][0] == 0){
binaryCopy[1][0] = currentState + 1;
deadCells--;
}
}
else if (j == binaryCopy[i].size()-1){
if (binaryCopy[0][j-1] == 0){
binaryCopy[0][j-1] = currentState + 1;
deadCells--;
}
if (binaryCopy[1][j] == 0){
binaryCopy[1][j] = currentState + 1;
deadCells--;
}
}
else{
if (binaryCopy[0][j-1] == 0){
binaryCopy[0][j-1] = currentState + 1;
deadCells--;
}
if (binaryCopy[0][j+1] == 0){
binaryCopy[0][j+1] = currentState + 1;
deadCells--;
}
if (binaryCopy[1][j] == 0){
binaryCopy[1][j] = currentState + 1;
deadCells--;
}
}
}
else if (i == binaryCopy.size() - 1){
if (j == 0){
if (binaryCopy[i][1] == 0){
binaryCopy[i][1] = currentState + 1;
deadCells--;
}
if (binaryCopy[i-1][0] == 0){
binaryCopy[i-1][0] = currentState + 1;
deadCells--;
}
}
else if (j == binaryCopy[i].size()-1){
if (binaryCopy[i][j-1] == 0){
binaryCopy[i][j-1] = currentState + 1;
deadCells--;
}
if (binaryCopy[i-1][j] == 0){
binaryCopy[i-1][j] = currentState + 1;
deadCells--;
}
}
else{
if (binaryCopy[i][j-1] == 0){
binaryCopy[i][j-1] = currentState + 1;
deadCells--;
}
if (binaryCopy[i][j+1] == 0){
binaryCopy[i][j+1] = currentState + 1;
deadCells--;
}
if (binaryCopy[i-1][j] == 0){
binaryCopy[i-1][j] = currentState + 1;
deadCells--;
}
}
}
else{
if (j == 0){
if (binaryCopy[i][1] == 0){
binaryCopy[i][1] = currentState + 1;
deadCells--;
}
if (binaryCopy[i-1][0] == 0){
binaryCopy[i-1][0] = currentState + 1;
deadCells--;
}
if (binaryCopy[i+1][0] == 0){
binaryCopy[i+1][0] = currentState + 1;
deadCells--;
}
}
else if (j == binaryCopy[i].size()-1){
if (binaryCopy[i][j-1] == 0){
binaryCopy[i][j-1] = currentState + 1;
deadCells--;
}
if (binaryCopy[i-1][j] == 0){
binaryCopy[i-1][j] = currentState + 1;
deadCells--;
}
if (binaryCopy[i+1][j] == 0){
binaryCopy[i+1][j] = currentState + 1;
deadCells--;
}
}
else{
if (binaryCopy[i][j-1] == 0){
binaryCopy[i][j-1] = currentState + 1;
deadCells--;
}
if (binaryCopy[i][j+1] == 0){
binaryCopy[i][j+1] = currentState + 1;
deadCells--;
}
if (binaryCopy[i-1][j] == 0){
binaryCopy[i-1][j] = currentState + 1;
deadCells--;
}
if (binaryCopy[i+1][j] == 0){
binaryCopy[i+1][j] = currentState + 1;
deadCells--;
}
}
}
}
}
}
currentState++;
if (currentState >= threshold) thres = true;
}
m_Binary = binaryCopy;
}
void Filter2D::filterBinaryL2(double threshold){
// Make a list of all the 1 cells
std::vector<std::vector<double> > liveCells;
for (int i = 0; i < m_Binary.size(); i++){
for (int j = 0; j < m_Binary[i].size(); j++){
if (m_Binary[i][j] == 1) liveCells.push_back({i,j});
}
}
// Now determine the radius for each zero
for (int i = 0; i < m_Binary.size(); i++){
for (int j = 0; j < m_Binary[i].size(); j++){
if (m_Binary[i][j] == 0){
double min_distance = 10.0e10;
for (int k = 0; k < liveCells.size(); k++){
double temp_distance = (i - liveCells[k][0])*(i - liveCells[k][0]) + (j - liveCells[k][1])*(j - liveCells[k][1]);
temp_distance = sqrt(temp_distance);
if (temp_distance <= min_distance) min_distance = temp_distance;
}
m_Binary[i][j] = min_distance + 1;
}
}
}
}
void Filter2D::filterBinaryLinf(double threshold){ // only hard boundary right now
// count the number of dead cells
countDeadCells();
int deadCells = m_DeadCells;
bool thres = false;
int currentState = 1;
// loop
vector<vector<double> > binaryCopy = m_Binary;
while(deadCells > 0 && thres == false){
for (int i = 0; i < binaryCopy.size(); i++){
for (int j = 0; j < binaryCopy[i].size(); j++){
// Check state
if (binaryCopy[i][j] == currentState){
// Look at all neighbors
if (i == 0){
if (j == 0){
if (binaryCopy[0][1] == 0){
binaryCopy[0][1] = currentState + 1;
deadCells--;
}
if (binaryCopy[1][0] == 0){
binaryCopy[1][0] = currentState + 1;
deadCells--;
}
if (binaryCopy[1][1] == 0){
binaryCopy[1][1] = currentState + 1;
deadCells--;
}
}
else if (j == binaryCopy[i].size()-1){
if (binaryCopy[0][j-1] == 0){
binaryCopy[0][j-1] = currentState + 1;
deadCells--;
}
if (binaryCopy[1][j] == 0){
binaryCopy[1][j] = currentState + 1;
deadCells--;
}
if (binaryCopy[1][j-1] == 0){
binaryCopy[1][j-1] = currentState + 1;
deadCells--;
}
}
else{
if (binaryCopy[0][j-1] == 0){
binaryCopy[0][j-1] = currentState + 1;
deadCells--;
}
if (binaryCopy[0][j+1] == 0){
binaryCopy[0][j+1] = currentState + 1;
deadCells--;
}
if (binaryCopy[1][j] == 0){
binaryCopy[1][j] = currentState + 1;
deadCells--;
}
if (binaryCopy[1][j-1] == 0){
binaryCopy[1][j-1] = currentState + 1;
deadCells--;
}
if (binaryCopy[1][j+1] == 0){
binaryCopy[1][j+1] = currentState + 1;
deadCells--;
}
}
}
else if (i == binaryCopy.size() - 1){
if (j == 0){
if (binaryCopy[i][1] == 0){
binaryCopy[i][1] = currentState + 1;
deadCells--;
}
if (binaryCopy[i-1][0] == 0){
binaryCopy[i-1][0] = currentState + 1;
deadCells--;
}
if (binaryCopy[i-1][1] == 0){
binaryCopy[i-1][1] = currentState + 1;
deadCells--;
}
}
else if (j == binaryCopy[i].size()-1){
if (binaryCopy[i][j-1] == 0){
binaryCopy[i][j-1] = currentState + 1;
deadCells--;
}
if (binaryCopy[i-1][j] == 0){
binaryCopy[i-1][j] = currentState + 1;
deadCells--;
}
if (binaryCopy[i-1][j-1] == 0){
binaryCopy[i-1][j-1] = currentState + 1;
deadCells--;
}
}
else{
if (binaryCopy[i][j-1] == 0){
binaryCopy[i][j-1] = currentState + 1;
deadCells--;
}
if (binaryCopy[i][j+1] == 0){
binaryCopy[i][j+1] = currentState + 1;
deadCells--;
}
if (binaryCopy[i-1][j] == 0){
binaryCopy[i-1][j] = currentState + 1;
deadCells--;
}
if (binaryCopy[i-1][j-1] == 0){
binaryCopy[i-1][j-1] = currentState + 1;
deadCells--;
}
if (binaryCopy[i-1][j+1] == 0){
binaryCopy[i-1][j+1] = currentState + 1;
deadCells--;
}
}
}
else{
if (j == 0){
if (binaryCopy[i][1] == 0){
binaryCopy[i][1] = currentState + 1;
deadCells--;
}
if (binaryCopy[i-1][0] == 0){
binaryCopy[i-1][0] = currentState + 1;
deadCells--;
}
if (binaryCopy[i+1][0] == 0){
binaryCopy[i+1][0] = currentState + 1;
deadCells--;
}
if (binaryCopy[i-1][1] == 0){
binaryCopy[i-1][1] = currentState + 1;
deadCells--;
}
if (binaryCopy[i+1][1] == 0){
binaryCopy[i+1][1] = currentState + 1;
deadCells--;
}
}
else if (j == binaryCopy[i].size()-1){
if (binaryCopy[i][j-1] == 0){
binaryCopy[i][j-1] = currentState + 1;
deadCells--;
}
if (binaryCopy[i-1][j] == 0){
binaryCopy[i-1][j] = currentState + 1;
deadCells--;
}
if (binaryCopy[i+1][j] == 0){
binaryCopy[i+1][j] = currentState + 1;
deadCells--;
}
if (binaryCopy[i-1][j-1] == 0){
binaryCopy[i-1][j-1] = currentState + 1;
deadCells--;
}
if (binaryCopy[i+1][j-1] == 0){
binaryCopy[i+1][j-1] = currentState + 1;
deadCells--;
}
}
else{
if (binaryCopy[i][j-1] == 0){
binaryCopy[i][j-1] = currentState + 1;
deadCells--;
}
if (binaryCopy[i][j+1] == 0){
binaryCopy[i][j+1] = currentState + 1;
deadCells--;
}
if (binaryCopy[i-1][j] == 0){
binaryCopy[i-1][j] = currentState + 1;
deadCells--;
}
if (binaryCopy[i+1][j] == 0){
binaryCopy[i+1][j] = currentState + 1;
deadCells--;
}
if (binaryCopy[i-1][j-1] == 0){
binaryCopy[i-1][j-1] = currentState + 1;
deadCells--;
}
if (binaryCopy[i-1][j+1] == 0){
binaryCopy[i-1][j+1] = currentState + 1;
deadCells--;
}
if (binaryCopy[i+1][j-1] == 0){
binaryCopy[i+1][j-1] = currentState + 1;
deadCells--;
}
if (binaryCopy[i+1][j+1] == 0){
binaryCopy[i+1][j+1] = currentState + 1;
deadCells--;
}
}
}
}
}
}
currentState++;
if (currentState >= threshold) thres = true;
}
m_Binary = binaryCopy;
}
void Filter2D::filter3StateAsBinary(double alive){
for (int i = 0; i < m_Binary.size(); i++){
for (int j = 0; j < m_Binary[i].size(); j++){
if (m_Binary[i][j] == alive) m_Binary[i][j] = 1;
else m_Binary[i][j] = 0;
}
}
}
void Filter2D::printFiltration(std::vector<std::vector<int> > &binaryCopy){
for (int i = 0; i < binaryCopy.size(); i++){
for (int j = 0; j < binaryCopy[i].size(); j++){
std::cout << binaryCopy[i][j] << "\t";
}
std::cout << std::endl;
}
}
void Filter2D::saveBinaryFiltration(const char* output_file){
std::ofstream myfile;
myfile.open(output_file);
for (int i = 0; i < m_Binary.size(); i++){
for (int j = 0; j < m_Binary[i].size(); j++){
myfile << m_Binary[i][j];
if (j < m_Binary[i].size() - 1){
myfile << ",";
}
}
myfile << "\n";
}
myfile.close();
}
| [
"ncarrara@albany.edu"
] | ncarrara@albany.edu |
0687afc01a505ac44d863858b335c53ddcb2f715 | 4d20b6121c073e330217915e2abdf8c9880b6930 | /RDA5807_tft_fmradio_3buttons_ver6 (1).ino | d4c55a7962b41ac087c2c0701702685d9478a710 | [] | no_license | vlad-gheorghe/Radio-cu-RDA5807-TFT-1-44- | f00c8aab0193ec33d1aee3635632cf74796ec3da | 49ff167cdc7f7dbd8a926dfdc8c301fb84739fe3 | refs/heads/master | 2022-02-20T03:43:01.312250 | 2019-09-15T14:56:00 | 2019-09-15T14:56:00 | 103,133,511 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,147 | ino | // Nicu Florica (aka niq_ro) from http://www.tehnic.go.ro made a small change for nice tft for low frequence (bellow 100MHz)
// it use info from http://full-chip.net/arduino-proekty/97-cifrovoy-fm-priemnik-na-arduino-i-module-rda5807-s-graficheskim-displeem-i-funkciey-rds.html
// original look like is from http://seta43.hol.es/radiofm.html
// version 1 - store frequency and volume step in EEPROM memory
//Adaptare TFT
// conectare display http://henrysbench.capnfatz.com/henrys-bench/arduino-displays/arduino-1-44-in-spi-tft-display-tutorial/
//CS - D10
//DC (A0)- D8
//RST -D9
//SCK -13
//SDA -11
//LED, VCC -3,3V
// RDS: https://github.com/mathertel/Radio
#include <EEPROM.h> // info -> http://tronixstuff.com/2011/03/16/tutorial-your-arduinos-inbuilt-eeprom/
#include <Wire.h>
#include <SPI.h>
#include <Adafruit_GFX.h>
#include <TFT_ILI9163C.h>
#include <RDA5807M.h>
#include <RDSParser.h>
#include <radio.h>
#include <Fonts/FreeMono9pt7b.h>
RDA5807M radio; ///< Create an instance of a RDA5807 chip radio
#define DEBUG 0
#define BLACK 0x0000
#define BLUE 0x001F
#define RED 0xF800
#define GREEN 0x07E0
#define CYAN 0x07FF
#define MAGENTA 0xF81F
#define ORANGE 0xFD20
#define GREENYELLOW 0xAFE5
#define DARKGREEN 0x03E0
#define YELLOW 0xFFE0
#define WHITE 0xFFFF
#define __CS 10
#define __DC 8
TFT_ILI9163C tft = TFT_ILI9163C(__CS, __DC, 9);
RDSParser rds;
enum RADIO_STATE {
STATE_PARSECOMMAND, ///< waiting for a new command character.
STATE_PARSEINT, ///< waiting for digits for the parameter.
STATE_EXEC ///< executing the command.
};
RADIO_STATE state; ///< The state variable is used for parsing input characters.
const int entrada = A0;
int entradaV = 0;
int menu;
#define MAXmenu 3
int menux;
#define MAXmenux 3
static char* menuS[]= {" ","MANUAL TUNE","VOLUME ","AUTO TUNE","INFO "};
int volumen, volumenOld=7;
int frecuencia,frecuenciaOld;
//int signal_level;
unsigned int z,z1;
byte xfrecu,xfrecuOld;
unsigned int estado[6];
unsigned long time,time1,time2,time3;
char buffer[30];
unsigned int RDS[4];
char seg_RDS[8];
char seg_RDS1[64];
char indexRDS1;
int mezcla;
//radio.debugEnable();
void RDS_process(uint16_t block1, uint16_t block2, uint16_t block3, uint16_t block4) {
rds.processData(block1, block2, block3, block4);
}
void setup()
{
Wire.begin();
//Serial.begin(9600);
Serial.begin(57600);
tft.begin();
radio.init();
radio.debugEnable();
// read value of last frequency
frecuencia = EEPROM.read(201);
volumen = EEPROM.read(202);
if (volumen < 0) volumen = 0;
if (volumen >15) volumen = 15;
if (frecuencia <0) frecuencia = 0;
if (frecuencia >210) frecuencia = 210;
tft.setRotation(1);
tft.setTextColor(BLUE);
tft.setCursor(0,120);
tft.println("Adaptat Vlad Gheorghe");
WriteReg(0x02,0xC00d); // write 0xC00d into Reg.2 ( soft reset, enable,RDS, )
WriteReg(0x05,0x84d8); // write ,0x84d8 into Reg.3
time3=time2=time1=time = millis();
menu=3;
canal(frecuencia);
// clearRDS;
state = STATE_PARSECOMMAND;
// setup the information chain for RDS data.
radio.attachReceiveRDS(RDS_process);
rds.attachServicenNameCallback(tftServiceName);
}
void tftServiceName(char *name)
{
size_t len = strlen(name);
tft.setCursor(10, 105);
tft.setTextSize(1.5);
tft.setTextColor(GREEN, BLACK);
tft.print(name);tft.print(" *Info-RDS*");tft.setTextColor(GREEN, BLACK);
while (len < 8) {
tft.print(' ');tft.setTextColor(GREEN, BLACK);
len++;
} // while
} // tftServiceName()
void loop() {
int newPos;
unsigned long now = millis();
// static unsigned long nextFreqTime = 0;
static unsigned long nextRadioInfoTime = 0;
char c;
entradaV = analogRead(entrada);
#if DEBUG
Serial.print("sensor = " ); Serial.println(entradaV);delay(50);
#endif
// Boton menu
if(entradaV>500 && entradaV<524)
{
menu++;
if(menu>MAXmenu)menu=1;
Visualizar();
#if DEBUG
Serial.print("menu = " ); Serial.println(menu);
#endif
while(1020>analogRead(entrada))delay(5);
}
// Boton derecho
if( entradaV<50)
{
menux++;
if(menux>MAXmenux)menux=MAXmenux;
#if DEBUG
Serial.print("menux = " ); Serial.println(menux);
#endif
switch(menu)
{
case 1:
frecuencia++;
if(frecuencia>210)frecuencia=210; // верхняя граница частот
delay(130);
break;
case 2:
volumen++;
if(volumen>15)volumen=15;
while(1020>analogRead(entrada))delay(5);
break;
case 3:
busqueda(0);
while(1020>analogRead(entrada))delay(5);
break;
case 4:
tft.clearScreen();
delay(3000);
tft.clearScreen();
frecuenciaOld=-1;
break;
}
}
// Boton izquierdo
if( entradaV<700 && entradaV>660)
{
menux--;
if(menux<1)menux=1;
#if DEBUG
Serial.print("menux = " ); Serial.println(menux);
#endif
switch(menu)
{
case 1:
frecuencia--;
if(frecuencia<0)frecuencia=0;
delay(130);
break;
case 2:
volumen--;
if(volumen<0)volumen=0;
while(1020>analogRead(entrada))delay(5);
break;
case 3:
busqueda(1);
while(1020>analogRead(entrada))delay(5);
break;
case 4:
tft.clearScreen();
delay(3000);
tft.clearScreen();
frecuenciaOld=-1;
break;
}
}
if( millis()-time2>50)
{
ReadEstado();
time1 = millis();
//RDS
if ((estado[0] & 0x8000)!=0) {get_RDS();}
}
if( millis()-time3>500)
{
time3 = millis();
Visualizar();
}
if( frecuencia!=frecuenciaOld)
{
frecuenciaOld=frecuencia;
z=870+frecuencia;
EEPROM.write(201,frecuencia);
#if DEBUG
Serial.print("Frecuencia = " ); Serial.println(frecuencia);
#endif
sprintf(buffer,"%04d ",z);
tft.setCursor(0,45);
tft.setTextSize(3);
tft.setTextColor(RED, BLACK);
for(z=0;z<5;z++)
{
if (z==0) {
if (frecuencia < 130) tft.print(" ");
else tft.print(buffer[0]);tft.setTextColor(RED, BLACK);
}
if(z==3) tft.print(",");tft.setTextColor(RED, BLACK);
if (z>0) tft.print(buffer[z]);tft.setTextColor(RED, BLACK);
}
// LcdString("MHz");
tft.setCursor(92,57);
tft.setTextSize(1);
tft.setTextColor(MAGENTA, BLACK); tft.setFont(&FreeMono9pt7b);
tft.print("MHz");tft.setFont();
tft.setTextColor(MAGENTA, BLACK);
canal(frecuencia);
}
//Cambio de volumen
if(volumen!=volumenOld)
{
volumenOld=volumen;
sprintf(buffer,"Volum %02d",volumen); tft.setCursor(77,28); tft.setTextSize(1); tft.setTextColor(YELLOW, BLACK); tft.print(buffer);tft.print(" ");
WriteReg(5, 0x84D0 | volumen);
EEPROM.write(202,volumen);
}
// check for RDS data
radio.checkRDS();
}
void busqueda(byte direc)
{
byte i;
if(!direc) WriteReg(0x02,0xC30d); else WriteReg(0x02,0xC10d);
for(i=0;i<10;i++)
{
delay(200);
ReadEstado();
if(estado[0]&0x4000)
{
//Serial.println("Emisora encontrada");
frecuencia=estado[0] & 0x03ff;
break;
}
}
}
void Visualizar(void)
{
tft.setCursor(3, 13); tft.setTextSize(2); tft.setTextColor(ORANGE, BLACK); tft.print("FM");
tft.setCursor(27, 20); tft.setTextSize(1); tft.setTextColor(YELLOW, BLACK); tft.print(" RDA5807");
sprintf(buffer,"%s",menuS[menu]); tft.setCursor(30,90); tft.setTextSize(1); tft.setTextColor(WHITE, BLACK); tft.print(buffer);
//Detectar señal stereo
tft.setCursor(85,8);
tft.setTextColor(BLACK, WHITE);
if((estado[0] & 0x0400)==0) tft.print(""); else tft.setTextColor(BLACK, WHITE); tft.print("Stereo"); tft.setTextColor(BLACK, WHITE);
//Señal
z=estado[1]>>10; sprintf(buffer,"S-%02d",z); tft.setCursor(58,0); tft.setTextColor(GREEN, BLACK); tft.print(buffer); tft.setCursor(25,0);tft.setTextColor(GREEN, BLACK);tft.print("Canal");
sprintf(buffer,"Volum %02d",volumen); tft.setCursor(77,28);tft.setTextSize(1); tft.setTextColor(CYAN, BLACK); tft.print(buffer); //DUBLARE AFISARE VOLUM
frecuencia=estado[0] & 0x03ff;
}
void canal( int canal)
{
byte numeroH,numeroL;
numeroH= canal>>2;
numeroL = ((canal&3)<<6 | 0x10);
Wire.beginTransmission(0x11);
Wire.write(0x03);
Wire.write(numeroH); // write frequency into bits 15:6, set tune bit
Wire.write(numeroL);
Wire.endTransmission();
}
//________________________
//RDA5807_adrr=0x11;
// I2C-Address RDA Chip for random Access
void WriteReg(byte reg,unsigned int valor)
{
Wire.beginTransmission(0x11);
Wire.write(reg); Wire.write(valor >> 8); Wire.write(valor & 0xFF);
Wire.endTransmission();
//delay(50);
}
//RDA5807_adrs=0x10;
// I2C-Address RDA Chip for sequential Access
int ReadEstado()
{
Wire.requestFrom(0x10, 12);
for (int i=0; i<6; i++) { estado[i] = 256*Wire.read ()+Wire.read(); }
Wire.endTransmission();
}
//READ RDS Direccion 0x11 for random access
//void ReadW()
//{
// }
void get_RDS()
{
}
| [
"noreply@github.com"
] | vlad-gheorghe.noreply@github.com |
c463699e6efac09f0b2d1584c79b0510c18ea133 | 66b4eb2c460cac5d9f40f99f725538c0a3e2feda | /Company Course/Course examples/14_Course_2020_06_04/02-ScratchPad/scratchpadwidget.cpp | 623df6261fa03bb53a2617bae08c4bccc69acbc8 | [] | no_license | Mavrikant/Qt-Course | 0fe4e766af4f9e91b7727273c37ab7b5fd499a1d | de702b0121fa85c33cc5ec02819d2fb84cc74191 | refs/heads/master | 2022-12-15T23:01:36.868043 | 2020-09-10T17:41:34 | 2020-09-10T17:41:34 | 255,144,522 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,095 | cpp | /* scratchpadwizard.cpp */
#include "scratchpadwidget.h"
ScratchpadWidget::ScratchpadWidget(QWidget *parent) : QWidget(parent)
{
m_drawFlag = false;
}
void ScratchpadWidget::paintEvent(QPaintEvent *event)
{
Q_UNUSED(event);
QPainter painter(this);
painter.setRenderHints(QPainter::Antialiasing | QPainter::SmoothPixmapTransform);
QPen pen(Qt::black);
pen.setWidth(3);
painter.setPen(pen);
for (QPolygon polyline : m_polylines)
painter.drawPolyline(polyline);
painter.drawPolyline(m_polyline);
}
void ScratchpadWidget::mousePressEvent(QMouseEvent *event)
{
if (event->button() == Qt::LeftButton)
{
m_polyline.clear();
m_polyline.append(event->pos());
m_drawFlag = true;
}
}
void ScratchpadWidget::mouseReleaseEvent(QMouseEvent *event)
{
Q_UNUSED(event);
if (m_drawFlag)
{
m_polylines.append(m_polyline);
m_drawFlag = false;
}
}
void ScratchpadWidget::mouseMoveEvent(QMouseEvent *event)
{
if (m_drawFlag)
{
m_polyline.append(event->pos());
update();
}
}
| [
"serdar@karaman.dev"
] | serdar@karaman.dev |
6769cd466b7d09592f5e43b84c4b33f7f66b1800 | a9c92ab3843393a6b8125a5ba27704ee82f84bb7 | /Hooks/sdks/TASDK/SDK_HEADERS/PBItemShop_structs.h | f626f21771fdd60a9faffbc295f2306df5fd81b0 | [] | no_license | samehfido/ue3framework_ | 3b96bb298d102ef1ffe2e601749e8b9c4afff1b2 | fed1e8c1c30f68f35c0094e123e0d8f08e64af8e | refs/heads/master | 2022-11-06T13:36:28.293183 | 2013-09-06T01:32:24 | 2013-09-06T01:32:24 | 275,340,818 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 59,781 | h | /*
#############################################################################################
# Bullet Run (Unknown) SDK
# Generated with TheFeckless UE3 SDK Generator v1.4_Beta-Rev.51
# ========================================================================================= #
# File: PBItemShop_structs.h
# ========================================================================================= #
# Credits: uNrEaL, Tamimego, SystemFiles, R00T88, _silencer, the1domo, K@N@VEL
# Thanks: HOOAH07, lowHertz
# Forums: www.uc-forum.com, www.gamedeception.net
#############################################################################################
*/
#ifdef _MSC_VER
#pragma pack ( push, 0x4 )
#endif
/*
# ========================================================================================= #
# Script Structs
# ========================================================================================= #
*/
// ScriptStruct PBItemShop.PBItemShopClient.PBUniqueOffer
// 0x0028
struct FPBUniqueOffer
{
struct FGuid offerItemGuid; // 0x0000 (0x0010) [0x0000000000000000]
int marketCategory; // 0x0010 (0x0004) [0x0000000000000000]
int amountOffers; // 0x0014 (0x0004) [0x0000000000000000]
struct FString Category; // 0x0018 (0x000C) [0x0000000000400000] ( CPF_NeedCtorLink )
int minRank; // 0x0024 (0x0004) [0x0000000000000000]
};
// ScriptStruct PBItemShop.PBCachedOffersMap.TPBCachedUniqueOffer
// 0x0068
struct FTPBCachedUniqueOffer
{
struct FPBUniqueOffer uniqueoffer; // 0x0000 (0x0028) [0x0000000000400000] ( CPF_NeedCtorLink )
int market_category; // 0x0028 (0x0004) [0x0000000000000000]
struct FMap_Mirror item_offers; // 0x002C (0x003C) [0x0000000000001000] ( CPF_Native )
};
// ScriptStruct PBItemShop.PBItemShopClient.PBDate
// 0x0014
struct FPBDate
{
int minute; // 0x0000 (0x0004) [0x0000000000000001] ( CPF_Edit )
int Hour; // 0x0004 (0x0004) [0x0000000000000001] ( CPF_Edit )
int Day; // 0x0008 (0x0004) [0x0000000000000001] ( CPF_Edit )
int Month; // 0x000C (0x0004) [0x0000000000000001] ( CPF_Edit )
int Year; // 0x0010 (0x0004) [0x0000000000000001] ( CPF_Edit )
};
// ScriptStruct PBItemShop.PBItemShopClient.PBOffer
// 0x00D4
struct FPBOffer
{
struct FGuid OfferId; // 0x0000 (0x0010) [0x0000000000000000]
struct FPBDate offerStart; // 0x0010 (0x0014) [0x0000000000000000]
struct FPBDate offerEnd; // 0x0024 (0x0014) [0x0000000000000000]
int priceModel; // 0x0038 (0x0004) [0x0000000000000000]
int costsCoins; // 0x003C (0x0004) [0x0000000000000000]
int originalCostsCoins; // 0x0040 (0x0004) [0x0000000000000000]
int costsCredits; // 0x0044 (0x0004) [0x0000000000000000]
int originalCostsCredits; // 0x0048 (0x0004) [0x0000000000000000]
struct FGuid itemId; // 0x004C (0x0010) [0x0000000000000000]
struct FString Type; // 0x005C (0x000C) [0x0000000000400000] ( CPF_NeedCtorLink )
struct FString Category; // 0x0068 (0x000C) [0x0000000000400000] ( CPF_NeedCtorLink )
int capacityInventory; // 0x0074 (0x0004) [0x0000000000000000]
unsigned long uniqueInventory : 1; // 0x0078 (0x0004) [0x0000000000000000] [0x00000001]
int requiredRank; // 0x007C (0x0004) [0x0000000000000000]
struct FGuid requiredItem; // 0x0080 (0x0010) [0x0000000000000000]
struct FGuid requiredSubscription; // 0x0090 (0x0010) [0x0000000000000000]
unsigned long needsRepairing : 1; // 0x00A0 (0x0004) [0x0000000000000000] [0x00000001]
int leaseTime; // 0x00A4 (0x0004) [0x0000000000000000]
struct FGuid colorId; // 0x00A8 (0x0010) [0x0000000000000000]
int colorGroup; // 0x00B8 (0x0004) [0x0000000000000000]
int coolnessValue; // 0x00BC (0x0004) [0x0000000000000000]
int requiredCoolness; // 0x00C0 (0x0004) [0x0000000000000000]
int skillLevel; // 0x00C4 (0x0004) [0x0000000000000000]
int serviceType; // 0x00C8 (0x0004) [0x0000000000000000]
int marketCategory; // 0x00CC (0x0004) [0x0000000000000000]
int discount; // 0x00D0 (0x0004) [0x0000000000000000]
};
// ScriptStruct PBItemShop.PBCachedOffersMap.TPBCachedCategory
// 0x0080
struct FTPBCachedCategory
{
struct FMap_Mirror offers; // 0x0000 (0x003C) [0x0000000000001000] ( CPF_Native )
struct FMap_Mirror unique_offers; // 0x003C (0x003C) [0x0000000000001000] ( CPF_Native )
int market_category_unique; // 0x0078 (0x0004) [0x0000000000000000]
int market_category; // 0x007C (0x0004) [0x0000000000000000]
};
// ScriptStruct PBItemShop.PBItemShopClient.TItemShopCallback
// 0x000C
struct FTItemShopCallback
{
struct FName CallbackName; // 0x0000 (0x0008) [0x0000000000000000]
class UObject* CallbackObject; // 0x0008 (0x0004) [0x0000000000000000]
};
// ScriptStruct PBItemShop.PBItemShopClient.TItemShopDelegate
// 0x0014
struct FTItemShopDelegate
{
struct FName DelegateCategory; // 0x0000 (0x0008) [0x0000000000000000]
TArray< struct FTItemShopCallback > Callbacks; // 0x0008 (0x000C) [0x0000000000502000] ( CPF_Transient | CPF_NeedCtorLink )
};
// ScriptStruct PBItemShop.PBItemShopClient.TCallItem
// 0x0018
struct FTCallItem
{
struct FName functionName; // 0x0000 (0x0008) [0x0000000000000000]
struct FPointer Param; // 0x0008 (0x0004) [0x0000000000000000]
int Id; // 0x000C (0x0004) [0x0000000000000000]
int RequestID; // 0x0010 (0x0004) [0x0000000000000000]
unsigned long Called : 1; // 0x0014 (0x0004) [0x0000000000000000] [0x00000001]
};
// ScriptStruct PBItemShop.PBItemShopClient.PBPromoCodeOffer
// 0x00D8
struct FPBPromoCodeOffer
{
struct FPBOffer Offer; // 0x0000 (0x00D4) [0x0000000000400000] ( CPF_NeedCtorLink )
int Result; // 0x00D4 (0x0004) [0x0000000000000000]
};
// ScriptStruct PBItemShop.PBItemShopClient.PBBasketItem
// 0x003C
struct FPBBasketItem
{
struct FGuid basketId; // 0x0000 (0x0010) [0x0000000000000000]
struct FGuid OfferId; // 0x0010 (0x0010) [0x0000000000000000]
struct FGuid itemId; // 0x0020 (0x0010) [0x0000000000000000]
int paymentOption; // 0x0030 (0x0004) [0x0000000000000000]
int costCoins; // 0x0034 (0x0004) [0x0000000000000000]
int costCredits; // 0x0038 (0x0004) [0x0000000000000000]
};
// ScriptStruct PBItemShop.PBItemShopClient.PBItem
// 0x00BC
struct FPBItem
{
struct FGuid transactionId; // 0x0000 (0x0010) [0x0000000000000000]
struct FGuid itemId; // 0x0010 (0x0010) [0x0000000000000000]
struct FString Type; // 0x0020 (0x000C) [0x0000000000400000] ( CPF_NeedCtorLink )
struct FString Category; // 0x002C (0x000C) [0x0000000000400000] ( CPF_NeedCtorLink )
int capacityInventory; // 0x0038 (0x0004) [0x0000000000000000]
int quantity; // 0x003C (0x0004) [0x0000000000000000]
unsigned long uniqueInventory : 1; // 0x0040 (0x0004) [0x0000000000000000] [0x00000001]
int requiredRank; // 0x0044 (0x0004) [0x0000000000000000]
struct FGuid requiredItem; // 0x0048 (0x0010) [0x0000000000000000]
struct FGuid requiredSubscription; // 0x0058 (0x0010) [0x0000000000000000]
unsigned long needsRepairing : 1; // 0x0068 (0x0004) [0x0000000000000000] [0x00000001]
int leaseTime; // 0x006C (0x0004) [0x0000000000000000]
struct FGuid serialNumber; // 0x0070 (0x0010) [0x0000000000000000]
struct FGuid colorItem; // 0x0080 (0x0010) [0x0000000000000000]
int colorGroup; // 0x0090 (0x0004) [0x0000000000000000]
int Preset; // 0x0094 (0x0004) [0x0000000000000000]
int condition; // 0x0098 (0x0004) [0x0000000000000000]
int maxCondition; // 0x009C (0x0004) [0x0000000000000000]
int skillLevel; // 0x00A0 (0x0004) [0x0000000000000000]
int XpBoost; // 0x00A4 (0x0004) [0x0000000000000000]
int creditBoost; // 0x00A8 (0x0004) [0x0000000000000000]
int groupXpBoost; // 0x00AC (0x0004) [0x0000000000000000]
int groupIgcBoost; // 0x00B0 (0x0004) [0x0000000000000000]
int repairCostsCoins; // 0x00B4 (0x0004) [0x0000000000000000]
int repairCostsCredits; // 0x00B8 (0x0004) [0x0000000000000000]
};
// ScriptStruct PBItemShop.PBItemShopClient.PBProfile
// 0x0024
struct FPBProfile
{
struct FGuid ProfileId; // 0x0000 (0x0010) [0x0000000000000000]
struct FString CharacterName; // 0x0010 (0x000C) [0x0000000000400000] ( CPF_NeedCtorLink )
int avatarPicture; // 0x001C (0x0004) [0x0000000000000000]
int Rank; // 0x0020 (0x0004) [0x0000000000000000]
};
// ScriptStruct PBItemShop.PBItemShopClient.PBCharacterProfile
// 0x00B1
struct FPBCharacterProfile
{
struct FString CharacterName; // 0x0000 (0x000C) [0x0000000000400000] ( CPF_NeedCtorLink )
struct FGuid characterGender; // 0x000C (0x0010) [0x0000000000000000]
struct FGuid characterHead; // 0x001C (0x0010) [0x0000000000000000]
struct FGuid characterSkin; // 0x002C (0x0010) [0x0000000000000000]
int avatarPicture; // 0x003C (0x0004) [0x0000000000000000]
int Rank; // 0x0040 (0x0004) [0x0000000000000000]
int xp; // 0x0044 (0x0004) [0x0000000000000000]
int credits; // 0x0048 (0x0004) [0x0000000000000000]
int coins; // 0x004C (0x0004) [0x0000000000000000]
int coolness; // 0x0050 (0x0004) [0x0000000000000000]
int profileReputation; // 0x0054 (0x0004) [0x0000000000000000]
TArray< struct FPBItem > inventoryItems; // 0x0058 (0x000C) [0x0000000000400000] ( CPF_NeedCtorLink )
TArray< struct FString > weaponPresetNames; // 0x0064 (0x000C) [0x0000000000400000] ( CPF_NeedCtorLink )
struct FGuid subscriptionId; // 0x0070 (0x0010) [0x0000000000000000]
int subscriptionCreditsBoost; // 0x0080 (0x0004) [0x0000000000000000]
int subscriptionXpBoost; // 0x0084 (0x0004) [0x0000000000000000]
int subscriptionSlowWeaponDamage; // 0x0088 (0x0004) [0x0000000000000000]
int subscriptionSlowStyleLoss; // 0x008C (0x0004) [0x0000000000000000]
int subscriptionGroupXpBoost; // 0x0090 (0x0004) [0x0000000000000000]
int subscriptionGroupCreditsBoost; // 0x0094 (0x0004) [0x0000000000000000]
int subscriptionItemShopRankBonus; // 0x0098 (0x0004) [0x0000000000000000]
int subscriptionDuration; // 0x009C (0x0004) [0x0000000000000000]
int subscriptionDiscount; // 0x00A0 (0x0004) [0x0000000000000000]
TArray< struct FPBItem > latestInventoryEntries; // 0x00A4 (0x000C) [0x0000000000400000] ( CPF_NeedCtorLink )
unsigned char accountLevel; // 0x00B0 (0x0001) [0x0000000000000000]
};
// ScriptStruct PBItemShop.PBItemShopClient.PBShopEvent
// 0x0048
struct FPBShopEvent
{
int EventCode; // 0x0000 (0x0004) [0x0000000000000000]
int EventPriority; // 0x0004 (0x0004) [0x0000000000000000]
int EventType; // 0x0008 (0x0004) [0x0000000000000000]
struct FString Title; // 0x000C (0x000C) [0x0000000000400000] ( CPF_NeedCtorLink )
struct FString Message; // 0x0018 (0x000C) [0x0000000000400000] ( CPF_NeedCtorLink )
int CoinsDelta; // 0x0024 (0x0004) [0x0000000000000000]
int CreditsDelta; // 0x0028 (0x0004) [0x0000000000000000]
int XpDelta; // 0x002C (0x0004) [0x0000000000000000]
TArray< struct FPBItem > ItemsAdded; // 0x0030 (0x000C) [0x0000000000400000] ( CPF_NeedCtorLink )
TArray< struct FPBItem > ItemsRemoved; // 0x003C (0x000C) [0x0000000000400000] ( CPF_NeedCtorLink )
};
// ScriptStruct PBItemShop.PBItemShopClient.PBDefaultBugInfo
// 0x00E8
struct FPBDefaultBugInfo
{
struct FString Headline; // 0x0000 (0x000C) [0x0000000000400000] ( CPF_NeedCtorLink )
unsigned char BugType; // 0x000C (0x0001) [0x0000000000000000]
unsigned char ReproductionType; // 0x000D (0x0001) [0x0000000000000000]
struct FString Description; // 0x0010 (0x000C) [0x0000000000400000] ( CPF_NeedCtorLink )
struct FString Reproduction; // 0x001C (0x000C) [0x0000000000400000] ( CPF_NeedCtorLink )
struct FPBDate Date; // 0x0028 (0x0014) [0x0000000000000000]
struct FString GameName; // 0x003C (0x000C) [0x0000000000400000] ( CPF_NeedCtorLink )
int BuildVersion; // 0x0048 (0x0004) [0x0000000000000000]
int LicenseeVersion; // 0x004C (0x0004) [0x0000000000000000]
int BuildFromChangeList; // 0x0050 (0x0004) [0x0000000000000000]
struct FString CommandLine; // 0x0054 (0x000C) [0x0000000000400000] ( CPF_NeedCtorLink )
struct FString BaseDirectory; // 0x0060 (0x000C) [0x0000000000400000] ( CPF_NeedCtorLink )
struct FString ComputerName; // 0x006C (0x000C) [0x0000000000400000] ( CPF_NeedCtorLink )
struct FString UserName; // 0x0078 (0x000C) [0x0000000000400000] ( CPF_NeedCtorLink )
struct FString ProfileName; // 0x0084 (0x000C) [0x0000000000400000] ( CPF_NeedCtorLink )
struct FString Platform; // 0x0090 (0x000C) [0x0000000000400000] ( CPF_NeedCtorLink )
unsigned long IsEngineDebug : 1; // 0x009C (0x0004) [0x0000000000000000] [0x00000001]
struct FString Language; // 0x00A0 (0x000C) [0x0000000000400000] ( CPF_NeedCtorLink )
struct FString IP; // 0x00AC (0x000C) [0x0000000000400000] ( CPF_NeedCtorLink )
struct FString MapName; // 0x00B8 (0x000C) [0x0000000000400000] ( CPF_NeedCtorLink )
struct FString OpenMenu; // 0x00C4 (0x000C) [0x0000000000400000] ( CPF_NeedCtorLink )
struct FVector CharacterPosition; // 0x00D0 (0x000C) [0x0000000000000000]
struct FVector CharacterDirection; // 0x00DC (0x000C) [0x0000000000000000]
};
// ScriptStruct PBItemShop.PBItemShopClient.PBReportInfo
// 0x0050
struct FPBReportInfo
{
struct FString CharacterName; // 0x0000 (0x000C) [0x0000000000400000] ( CPF_NeedCtorLink )
struct FString ipAddress; // 0x000C (0x000C) [0x0000000000400000] ( CPF_NeedCtorLink )
struct FString topic; // 0x0018 (0x000C) [0x0000000000400000] ( CPF_NeedCtorLink )
struct FString Description; // 0x0024 (0x000C) [0x0000000000400000] ( CPF_NeedCtorLink )
int Year; // 0x0030 (0x0004) [0x0000000000000000]
int Month; // 0x0034 (0x0004) [0x0000000000000000]
int Day; // 0x0038 (0x0004) [0x0000000000000000]
int Hour; // 0x003C (0x0004) [0x0000000000000000]
int minute; // 0x0040 (0x0004) [0x0000000000000000]
struct FString GameName; // 0x0044 (0x000C) [0x0000000000400000] ( CPF_NeedCtorLink )
};
// ScriptStruct PBItemShop.PBItemShopClient.PBSurveyAnswer
// 0x0014
struct FPBSurveyAnswer
{
int Type; // 0x0000 (0x0004) [0x0000000000000000]
struct FString Answer; // 0x0004 (0x000C) [0x0000000000400000] ( CPF_NeedCtorLink )
unsigned long IsAnswered : 1; // 0x0010 (0x0004) [0x0000000000000000] [0x00000001]
};
// ScriptStruct PBItemShop.PBItemShopClient.PBSurveyQuestion
// 0x002C
struct FPBSurveyQuestion
{
int Type; // 0x0000 (0x0004) [0x0000000000000000]
unsigned long Required : 1; // 0x0004 (0x0004) [0x0000000000000000] [0x00000001]
struct FString Question; // 0x0008 (0x000C) [0x0000000000400000] ( CPF_NeedCtorLink )
struct FString Clarification; // 0x0014 (0x000C) [0x0000000000400000] ( CPF_NeedCtorLink )
TArray< struct FString > Choices; // 0x0020 (0x000C) [0x0000000000400000] ( CPF_NeedCtorLink )
};
// ScriptStruct PBItemShop.PBItemShopClient.PBSurvey
// 0x001C
struct FPBSurvey
{
int SurveyID; // 0x0000 (0x0004) [0x0000000000000000]
struct FString SurveyName; // 0x0004 (0x000C) [0x0000000000400000] ( CPF_NeedCtorLink )
TArray< struct FPBSurveyQuestion > SurveyQuestions; // 0x0010 (0x000C) [0x0000000000400000] ( CPF_NeedCtorLink )
};
// ScriptStruct PBItemShop.PBItemShopClient.PBNews
// 0x003C
struct FPBNews
{
int NewsID; // 0x0000 (0x0004) [0x0000000000000000]
struct FPBDate PublishedDate; // 0x0004 (0x0014) [0x0000000000000000]
struct FString Headline; // 0x0018 (0x000C) [0x0000000000400000] ( CPF_NeedCtorLink )
struct FString FullText; // 0x0024 (0x000C) [0x0000000000400000] ( CPF_NeedCtorLink )
TArray< struct FPBOffer > offers; // 0x0030 (0x000C) [0x0000000000400000] ( CPF_NeedCtorLink )
};
// ScriptStruct PBItemShop.PBItemShopClient.PbmnAccountProfile
// 0x0024
struct FPbmnAccountProfile
{
struct FString AccountNick; // 0x0000 (0x000C) [0x0000000000400000] ( CPF_NeedCtorLink )
struct FString AccountName; // 0x000C (0x000C) [0x0000000000400000] ( CPF_NeedCtorLink )
struct FString CharacterName; // 0x0018 (0x000C) [0x0000000000400000] ( CPF_NeedCtorLink )
};
// ScriptStruct PBItemShop.PBItemShopClient.PbmnClientProfileDetail
// 0x002C
struct FPbmnClientProfileDetail
{
struct FString AccountNick; // 0x0000 (0x000C) [0x0000000000400000] ( CPF_NeedCtorLink )
struct FString AccountName; // 0x000C (0x000C) [0x0000000000400000] ( CPF_NeedCtorLink )
struct FString CharacterName; // 0x0018 (0x000C) [0x0000000000400000] ( CPF_NeedCtorLink )
int AvatarIcon; // 0x0024 (0x0004) [0x0000000000000000]
int LastOnline; // 0x0028 (0x0004) [0x0000000000000000]
};
// ScriptStruct PBItemShop.PBItemShopClient.TPBBoosterInfo
// 0x0030
struct FTPBBoosterInfo
{
struct FGuid BoosterGUID; // 0x0000 (0x0010) [0x0000000000000000]
struct FString BoosterName; // 0x0010 (0x000C) [0x0000000000400000] ( CPF_NeedCtorLink )
int XpBoost; // 0x001C (0x0004) [0x0000000000000000]
int XpBoostGroup; // 0x0020 (0x0004) [0x0000000000000000]
int CreditsBoost; // 0x0024 (0x0004) [0x0000000000000000]
int CreditsBoostGroup; // 0x0028 (0x0004) [0x0000000000000000]
unsigned long bUpdated : 1; // 0x002C (0x0004) [0x0000000000000000] [0x00000001]
};
// ScriptStruct PBItemShop.PBItemShopClient.SOEPrice
// 0x0020
struct FSOEPrice
{
struct FString scCurrencyCode; // 0x0000 (0x000C) [0x0000000000400000] ( CPF_NeedCtorLink )
struct FString scFormattedPrice; // 0x000C (0x000C) [0x0000000000400000] ( CPF_NeedCtorLink )
int scPriceIn100ths; // 0x0018 (0x0004) [0x0000000000000000]
unsigned long scZero : 1; // 0x001C (0x0004) [0x0000000000000000] [0x00000001]
};
// ScriptStruct PBItemShop.PBItemShopClient.SOEStationCashProduct
// 0x0098
struct FSOEStationCashProduct
{
struct FString scDesc; // 0x0000 (0x000C) [0x0000000000400000] ( CPF_NeedCtorLink )
struct FString scFullSKU; // 0x000C (0x000C) [0x0000000000400000] ( CPF_NeedCtorLink )
int scProductId; // 0x0018 (0x0004) [0x0000000000000000]
struct FString scGameCode; // 0x001C (0x000C) [0x0000000000400000] ( CPF_NeedCtorLink )
struct FString scMarketingDesc; // 0x0028 (0x000C) [0x0000000000400000] ( CPF_NeedCtorLink )
int scOriginalAmount; // 0x0034 (0x0004) [0x0000000000000000]
struct FString scOriginalCurrencyCode; // 0x0038 (0x000C) [0x0000000000400000] ( CPF_NeedCtorLink )
int scPrePromotionAmount; // 0x0044 (0x0004) [0x0000000000000000]
struct FSOEPrice scPrePromotionPrice; // 0x0048 (0x0020) [0x0000000000400000] ( CPF_NeedCtorLink )
struct FSOEPrice scPrice; // 0x0068 (0x0020) [0x0000000000400000] ( CPF_NeedCtorLink )
unsigned long scPricePromo : 1; // 0x0088 (0x0004) [0x0000000000000000] [0x00000001]
unsigned long scPromo : 1; // 0x0088 (0x0004) [0x0000000000000000] [0x00000002]
int scStationCashAmount; // 0x008C (0x0004) [0x0000000000000000]
unsigned long scStationCashPromo : 1; // 0x0090 (0x0004) [0x0000000000000000] [0x00000001]
int scStationCashPromoAmount; // 0x0094 (0x0004) [0x0000000000000000]
};
// ScriptStruct PBItemShop.PBItemShopClient.SOEStationCashProductFundWallet
// 0x0040
struct FSOEStationCashProductFundWallet
{
struct FString scPrePromotionPrice; // 0x0000 (0x000C) [0x0000000000400000] ( CPF_NeedCtorLink )
int scPrePromotionStationCashAmount; // 0x000C (0x0004) [0x0000000000000000]
struct FString scPrice; // 0x0010 (0x000C) [0x0000000000400000] ( CPF_NeedCtorLink )
unsigned long scPricePromotion : 1; // 0x001C (0x0004) [0x0000000000000000] [0x00000001]
struct FString scPurchasePromotionalText; // 0x0020 (0x000C) [0x0000000000400000] ( CPF_NeedCtorLink )
int scStationCashAmount; // 0x002C (0x0004) [0x0000000000000000]
unsigned long scStationCashPromotion : 1; // 0x0030 (0x0004) [0x0000000000000000] [0x00000001]
struct FString scPurchaseLegalText; // 0x0034 (0x000C) [0x0000000000400000] ( CPF_NeedCtorLink )
};
// ScriptStruct PBItemShop.PBItemShopServer.PBOfferServer
// 0x00D8
struct FPBOfferServer
{
struct FGuid OfferId; // 0x0000 (0x0010) [0x0000000000000000]
struct FPBDate offerStart; // 0x0010 (0x0014) [0x0000000000000000]
struct FPBDate offerEnd; // 0x0024 (0x0014) [0x0000000000000000]
int priceModel; // 0x0038 (0x0004) [0x0000000000000000]
int costsCoins; // 0x003C (0x0004) [0x0000000000000000]
int costsCredits; // 0x0040 (0x0004) [0x0000000000000000]
struct FGuid itemId; // 0x0044 (0x0010) [0x0000000000000000]
struct FString Type; // 0x0054 (0x000C) [0x0000000000400000] ( CPF_NeedCtorLink )
struct FString Category; // 0x0060 (0x000C) [0x0000000000400000] ( CPF_NeedCtorLink )
int capacityInventory; // 0x006C (0x0004) [0x0000000000000000]
unsigned long uniqueInventory : 1; // 0x0070 (0x0004) [0x0000000000000000] [0x00000001]
int requiredRank; // 0x0074 (0x0004) [0x0000000000000000]
struct FGuid requiredItem; // 0x0078 (0x0010) [0x0000000000000000]
struct FGuid requiredSubscription; // 0x0088 (0x0010) [0x0000000000000000]
int XpBoost; // 0x0098 (0x0004) [0x0000000000000000]
int CreditsBoost; // 0x009C (0x0004) [0x0000000000000000]
int groupXpBoost; // 0x00A0 (0x0004) [0x0000000000000000]
int GroupCreditBoost; // 0x00A4 (0x0004) [0x0000000000000000]
unsigned long needsRepairing : 1; // 0x00A8 (0x0004) [0x0000000000000000] [0x00000001]
int leaseTime; // 0x00AC (0x0004) [0x0000000000000000]
struct FGuid colorId; // 0x00B0 (0x0010) [0x0000000000000000]
int colorGroup; // 0x00C0 (0x0004) [0x0000000000000000]
int requiredCoolness; // 0x00C4 (0x0004) [0x0000000000000000]
int AddedCoolness; // 0x00C8 (0x0004) [0x0000000000000000]
int serviceType; // 0x00CC (0x0004) [0x0000000000000000]
int skillLevel; // 0x00D0 (0x0004) [0x0000000000000000]
int amountOffers; // 0x00D4 (0x0004) [0x0000000000000000]
};
// ScriptStruct PBItemShop.PBItemShopServer.PBItemServer
// 0x0094
struct FPBItemServer
{
struct FGuid transactionId; // 0x0000 (0x0010) [0x0000000000000000]
struct FGuid itemId; // 0x0010 (0x0010) [0x0000000000000000]
unsigned char Type; // 0x0020 (0x0001) [0x0000000000000000]
struct FString Category; // 0x0024 (0x000C) [0x0000000000400000] ( CPF_NeedCtorLink )
int capacityInventory; // 0x0030 (0x0004) [0x0000000000000000]
int quantity; // 0x0034 (0x0004) [0x0000000000000000]
unsigned long uniqueInventory : 1; // 0x0038 (0x0004) [0x0000000000000000] [0x00000001]
int requiredRank; // 0x003C (0x0004) [0x0000000000000000]
struct FGuid requiredItem; // 0x0040 (0x0010) [0x0000000000000000]
int XpBoost; // 0x0050 (0x0004) [0x0000000000000000]
int creditBoost; // 0x0054 (0x0004) [0x0000000000000000]
int groupXpBoost; // 0x0058 (0x0004) [0x0000000000000000]
int groupIgcBoost; // 0x005C (0x0004) [0x0000000000000000]
unsigned long needsRepairing : 1; // 0x0060 (0x0004) [0x0000000000000000] [0x00000001]
int condition; // 0x0064 (0x0004) [0x0000000000000000]
int maxCondition; // 0x0068 (0x0004) [0x0000000000000000]
struct FGuid serialNumber; // 0x006C (0x0010) [0x0000000000000000]
struct FGuid colorId; // 0x007C (0x0010) [0x0000000000000000]
int Preset; // 0x008C (0x0004) [0x0000000000000000]
int skillLevel; // 0x0090 (0x0004) [0x0000000000000000]
};
// ScriptStruct PBItemShop.PBItemShopServer.WeaponConditionData
// 0x0014
struct FWeaponConditionData
{
struct FGuid serialNumber; // 0x0000 (0x0010) [0x0000000000000000]
int NewCondition; // 0x0010 (0x0004) [0x0000000000000000]
};
// ScriptStruct PBItemShop.PBItemShopServer.PBSubmitProgressionProfileData
// 0x0028
struct FPBSubmitProgressionProfileData
{
struct FGuid ClientProfileId; // 0x0000 (0x0010) [0x0000000000000000]
int NewIGC; // 0x0010 (0x0004) [0x0000000000000000]
int NewFans; // 0x0014 (0x0004) [0x0000000000000000]
int NewRank; // 0x0018 (0x0004) [0x0000000000000000]
TArray< struct FWeaponConditionData > weaponConditions; // 0x001C (0x000C) [0x0000000000400000] ( CPF_NeedCtorLink )
};
// ScriptStruct PBItemShop.PBItemShopServer.PBCriticalEvent
// 0x0034
struct FPBCriticalEvent
{
int EventCode; // 0x0000 (0x0004) [0x0000000000000000]
int EventPriority; // 0x0004 (0x0004) [0x0000000000000000]
int EventType; // 0x0008 (0x0004) [0x0000000000000000]
struct FString Title; // 0x000C (0x000C) [0x0000000000400000] ( CPF_NeedCtorLink )
struct FString Message; // 0x0018 (0x000C) [0x0000000000400000] ( CPF_NeedCtorLink )
struct FGuid SubjectProfileId; // 0x0024 (0x0010) [0x0000000000000000]
};
// ScriptStruct PBItemShop.PBItemShopServer.PBWeaponStatData
// 0x0054
struct FPBWeaponStatData
{
struct FGuid Weapon; // 0x0000 (0x0010) [0x0000000000000000]
int Kills; // 0x0010 (0x0004) [0x0000000000000000]
int damageDealt; // 0x0014 (0x0004) [0x0000000000000000]
int shotsFired; // 0x0018 (0x0004) [0x0000000000000000]
int shotsHit; // 0x001C (0x0004) [0x0000000000000000]
int avgHitDistance; // 0x0020 (0x0004) [0x0000000000000000]
int avgKillDistance; // 0x0024 (0x0004) [0x0000000000000000]
int headHitTotal; // 0x0028 (0x0004) [0x0000000000000000]
int bodyHitTotal; // 0x002C (0x0004) [0x0000000000000000]
int legsHitTotal; // 0x0030 (0x0004) [0x0000000000000000]
int totalTimeUsed; // 0x0034 (0x0004) [0x0000000000000000]
struct FGuid skillGuid; // 0x0038 (0x0010) [0x0000000000000000]
TArray< struct FGuid > modsSetup; // 0x0048 (0x000C) [0x0000000000400000] ( CPF_NeedCtorLink )
};
// ScriptStruct PBItemShop.PBItemShopServer.PBMatchProfileStatData
// 0x00BC
struct FPBMatchProfileStatData
{
struct FGuid ProfileId; // 0x0000 (0x0010) [0x0000000000000000]
int Kills; // 0x0010 (0x0004) [0x0000000000000000]
int Deaths; // 0x0014 (0x0004) [0x0000000000000000]
int assists; // 0x0018 (0x0004) [0x0000000000000000]
int heat; // 0x001C (0x0004) [0x0000000000000000]
int baseHeat; // 0x0020 (0x0004) [0x0000000000000000]
int style; // 0x0024 (0x0004) [0x0000000000000000]
int boostXp; // 0x0028 (0x0004) [0x0000000000000000]
int boostXpGroup; // 0x002C (0x0004) [0x0000000000000000]
int boostIgc; // 0x0030 (0x0004) [0x0000000000000000]
int boostIgcGroup; // 0x0034 (0x0004) [0x0000000000000000]
int earnedRank; // 0x0038 (0x0004) [0x0000000000000000]
int earnedXp; // 0x003C (0x0004) [0x0000000000000000]
int earnedIgc; // 0x0040 (0x0004) [0x0000000000000000]
int killsInSafeZone; // 0x0044 (0x0004) [0x0000000000000000]
int killsFromSafeZone; // 0x0048 (0x0004) [0x0000000000000000]
int totalSuicides; // 0x004C (0x0004) [0x0000000000000000]
int totalTier1Used; // 0x0050 (0x0004) [0x0000000000000000]
struct FGuid tier1Skill; // 0x0054 (0x0010) [0x0000000000000000]
int totalTier2Used; // 0x0064 (0x0004) [0x0000000000000000]
struct FGuid tier2Skill; // 0x0068 (0x0010) [0x0000000000000000]
int totalTier3Used; // 0x0078 (0x0004) [0x0000000000000000]
struct FGuid tier3Skill; // 0x007C (0x0010) [0x0000000000000000]
int totalTier4Used; // 0x008C (0x0004) [0x0000000000000000]
struct FGuid tier4Skill; // 0x0090 (0x0010) [0x0000000000000000]
int tier1SkillLevel; // 0x00A0 (0x0004) [0x0000000000000000]
int tier2SkillLevel; // 0x00A4 (0x0004) [0x0000000000000000]
int tier3SkillLevel; // 0x00A8 (0x0004) [0x0000000000000000]
int tier4SkillLevel; // 0x00AC (0x0004) [0x0000000000000000]
TArray< struct FPBWeaponStatData > weaponStatData; // 0x00B0 (0x000C) [0x0000000000400000] ( CPF_NeedCtorLink )
};
// ScriptStruct PBItemShop.PBItemShopServer.PBMatchStatsData
// 0x005C
struct FPBMatchStatsData
{
struct FGuid matchguid; // 0x0000 (0x0010) [0x0000000000000000]
struct FString Map; // 0x0010 (0x000C) [0x0000000000400000] ( CPF_NeedCtorLink )
int matchTime; // 0x001C (0x0004) [0x0000000000000000]
int totalPlayers; // 0x0020 (0x0004) [0x0000000000000000]
struct FString gameMode; // 0x0024 (0x000C) [0x0000000000400000] ( CPF_NeedCtorLink )
int winningTeam; // 0x0030 (0x0004) [0x0000000000000000]
int totalIgc; // 0x0034 (0x0004) [0x0000000000000000]
int totalHeat; // 0x0038 (0x0004) [0x0000000000000000]
int totalStyle; // 0x003C (0x0004) [0x0000000000000000]
int teamAConquer1; // 0x0040 (0x0004) [0x0000000000000000]
int teamAConquer2; // 0x0044 (0x0004) [0x0000000000000000]
int teamBConquer1; // 0x0048 (0x0004) [0x0000000000000000]
int teamBConquer2; // 0x004C (0x0004) [0x0000000000000000]
TArray< struct FPBMatchProfileStatData > matchProfileStatData; // 0x0050 (0x000C) [0x0000000000400000] ( CPF_NeedCtorLink )
};
// ScriptStruct PBItemShop.PBItemShopServer.PBMapVoteData
// 0x0024
struct FPBMapVoteData
{
struct FGuid matchguid; // 0x0000 (0x0010) [0x0000000000000000]
struct FString Map; // 0x0010 (0x000C) [0x0000000000400000] ( CPF_NeedCtorLink )
int totalVotes; // 0x001C (0x0004) [0x0000000000000000]
unsigned long succedd : 1; // 0x0020 (0x0004) [0x0000000000000000] [0x00000001]
};
#ifdef _MSC_VER
#pragma pack ( pop )
#endif | [
"thedomo@ff9f0ef9-23b7-4a27-a536-8baec26cb66f"
] | thedomo@ff9f0ef9-23b7-4a27-a536-8baec26cb66f |
e1758fdceeb6aa516ed763673d3427fb34e49e66 | 9987fded6026ace187753eaa3e520d0bb72047a0 | /isis/src/qisis/objs/MosaicSceneWidget/MosaicSelectTool.cpp | 3c05190fe5aa1b12ff54f20f9640208ffdc270d8 | [
"CC0-1.0",
"LicenseRef-scancode-public-domain"
] | permissive | kberryUSGS/ISIS3 | 1345e6727746e2ebc348058ff3ec47c252928604 | b6aba8c38db54d84b1eb5807a08d12190bf8634e | refs/heads/dev | 2021-07-17T16:53:37.490510 | 2021-03-13T00:09:53 | 2021-03-13T00:09:53 | 118,936,778 | 0 | 1 | Unlicense | 2020-03-31T19:44:30 | 2018-01-25T16:17:20 | C++ | UTF-8 | C++ | false | false | 1,512 | cpp | #include "MosaicSelectTool.h"
#include <iostream>
#include <QMenu>
#include "IString.h"
#include "MosaicGraphicsView.h"
#include "MosaicSceneWidget.h"
namespace Isis {
/**
* MosaicSelectTool constructor
*
*
* @param parent
*/
MosaicSelectTool::MosaicSelectTool(MosaicSceneWidget *scene) :
MosaicTool(scene) {
}
/**
* Adds the action to the toolpad.
*
*
* @param toolpad
*
* @return QAction*
*/
QAction *MosaicSelectTool::getPrimaryAction() {
QAction *action = new QAction(this);
action->setIcon(getIcon("mActionSelect.png"));
action->setToolTip("Select (s)");
action->setShortcut(Qt::Key_S);
QString text =
"<b>Function:</b> Select cubes in a mosaic.<br><br>"
"This tool gives you a <b>drag-select</b> to select multiple files (this "
"selects files underneath the top one), a <b>control-click</b> select to "
"add files to the current selection, and a <b>click</b> selection to "
"replace the current selection with the file you clicked on."
"<br><p><b>Shortcut:</b> s</p>";
action->setWhatsThis(text);
return action;
}
/**
* This method sets the QGraphicsView to allow the user to select
* mosaic items by dragging a rubber band.
*
*/
void MosaicSelectTool::updateTool() {
if(isActive()) {
getWidget()->getView()->setDragMode(QGraphicsView::RubberBandDrag);
}
else {
getWidget()->getView()->setDragMode(QGraphicsView::NoDrag);
}
}
}
| [
"slambright@usgs.gov"
] | slambright@usgs.gov |
d5b320a2a985f711af8eb5e0061958ffbb635090 | 93b7d6b36f2388ae5594c651b45e1618da4bf2af | /test/VectorSerializerTest.cpp | de60de113693c44b98b853a854dbf10bdfc1c80b | [] | no_license | seccijr/es.upm.euitt.pfg.master | a38e20a5b8b0f1f0e2f7335ac64e71fd93f1565d | 316228aadac3f947acb14cd3c278fbbff24c1669 | refs/heads/master | 2021-01-10T04:10:14.417198 | 2016-01-04T10:40:19 | 2016-01-04T10:40:19 | 45,617,525 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,064 | cpp | #include "VectorSerializerTest.h"
#include "utility/VectorSerializer.h"
#include <Master.h>
void VectorSerializerTest::TestDeserialize() {
const byte buffer[MMT_VECTOR_LEN] = {
0x01, 0x02, 0x03, 0x04,
0x05, 0x06, 0x07,0x08,
0x09, 0x0A, MMT_GET, MMT_STR,
'H', 'O', 'L', 'A'
};
Vector v;
VectorSerializer::deserialize(&v, buffer);
for (int i = 0; i < 4; i++) {
assertTrue(v.direction.source.endpoint[i] == buffer[i]);
}
for (int i = 0; i < 4; i++) {
assertTrue(v.direction.destination.endpoint[i] == buffer[i + 4]);
}
assertTrue(v.direction.source.resource == buffer[8]);
assertTrue(v.direction.destination.resource == buffer[9]);
assertTrue(v.packet.method == buffer[10]);
assertTrue(v.packet.message.type == buffer[11]);
char hola[5] = {0};
memcpy(hola, v.packet.message.value.b, 4);
char *match = strstr(hola, "HOLA");
assertTrue(match != NULL);
}
void VectorSerializerTest::setup() {
}
void VectorSerializerTest::once() {
TestDeserialize();
}
| [
"secci.jr@gmail.com"
] | secci.jr@gmail.com |
eb0bf04df5f4af5c66677d015b1926f279ab5ac4 | 6db61ae02546a71abcebfcdec87da6647ad292d8 | /aws-cpp-sdk-pinpoint/include/aws/pinpoint/model/GetSegmentVersionsRequest.h | 961f5bdd19e4250c7f0b5048cf2661f44ee78ea9 | [
"Apache-2.0",
"MIT",
"JSON"
] | permissive | TK-blost/aws-sdk-cpp | 3ecdb89de8356748608f4ea0d780865ccb38fca2 | 3b08f92eb5e36f10eba26febd153310dc6d23734 | refs/heads/master | 2021-01-02T08:16:40.338046 | 2017-08-03T08:15:55 | 2017-08-03T08:15:55 | 98,982,901 | 0 | 0 | null | 2017-08-01T09:16:15 | 2017-08-01T09:16:15 | null | UTF-8 | C++ | false | false | 4,607 | h | /*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
#pragma once
#include <aws/pinpoint/Pinpoint_EXPORTS.h>
#include <aws/pinpoint/PinpointRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Http
{
class URI;
} //namespace Http
namespace Pinpoint
{
namespace Model
{
/**
*/
class AWS_PINPOINT_API GetSegmentVersionsRequest : public PinpointRequest
{
public:
GetSegmentVersionsRequest();
Aws::String SerializePayload() const override;
void AddQueryStringParameters(Aws::Http::URI& uri) const override;
inline const Aws::String& GetApplicationId() const{ return m_applicationId; }
inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; }
inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); }
inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); }
inline GetSegmentVersionsRequest& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
inline GetSegmentVersionsRequest& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
inline GetSegmentVersionsRequest& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
inline const Aws::String& GetPageSize() const{ return m_pageSize; }
inline void SetPageSize(const Aws::String& value) { m_pageSizeHasBeenSet = true; m_pageSize = value; }
inline void SetPageSize(Aws::String&& value) { m_pageSizeHasBeenSet = true; m_pageSize = std::move(value); }
inline void SetPageSize(const char* value) { m_pageSizeHasBeenSet = true; m_pageSize.assign(value); }
inline GetSegmentVersionsRequest& WithPageSize(const Aws::String& value) { SetPageSize(value); return *this;}
inline GetSegmentVersionsRequest& WithPageSize(Aws::String&& value) { SetPageSize(std::move(value)); return *this;}
inline GetSegmentVersionsRequest& WithPageSize(const char* value) { SetPageSize(value); return *this;}
inline const Aws::String& GetSegmentId() const{ return m_segmentId; }
inline void SetSegmentId(const Aws::String& value) { m_segmentIdHasBeenSet = true; m_segmentId = value; }
inline void SetSegmentId(Aws::String&& value) { m_segmentIdHasBeenSet = true; m_segmentId = std::move(value); }
inline void SetSegmentId(const char* value) { m_segmentIdHasBeenSet = true; m_segmentId.assign(value); }
inline GetSegmentVersionsRequest& WithSegmentId(const Aws::String& value) { SetSegmentId(value); return *this;}
inline GetSegmentVersionsRequest& WithSegmentId(Aws::String&& value) { SetSegmentId(std::move(value)); return *this;}
inline GetSegmentVersionsRequest& WithSegmentId(const char* value) { SetSegmentId(value); return *this;}
inline const Aws::String& GetToken() const{ return m_token; }
inline void SetToken(const Aws::String& value) { m_tokenHasBeenSet = true; m_token = value; }
inline void SetToken(Aws::String&& value) { m_tokenHasBeenSet = true; m_token = std::move(value); }
inline void SetToken(const char* value) { m_tokenHasBeenSet = true; m_token.assign(value); }
inline GetSegmentVersionsRequest& WithToken(const Aws::String& value) { SetToken(value); return *this;}
inline GetSegmentVersionsRequest& WithToken(Aws::String&& value) { SetToken(std::move(value)); return *this;}
inline GetSegmentVersionsRequest& WithToken(const char* value) { SetToken(value); return *this;}
private:
Aws::String m_applicationId;
bool m_applicationIdHasBeenSet;
Aws::String m_pageSize;
bool m_pageSizeHasBeenSet;
Aws::String m_segmentId;
bool m_segmentIdHasBeenSet;
Aws::String m_token;
bool m_tokenHasBeenSet;
};
} // namespace Model
} // namespace Pinpoint
} // namespace Aws
| [
"henso@amazon.com"
] | henso@amazon.com |
f2e7d95339d9c23c25338f199cf7dcefb87220ca | d297bd22bd24c1cc90df36d60fefbe69d9979ca5 | /codeforces/E_Permutation_by_Sum.cpp | 05bac6002f8373bf2a8bbcbcce0559088082ceb3 | [] | no_license | das-kushal/InterviewGeek | b248dd4ea66df6d8a0f0bb3948368c667619076c | dc096e620bfeba2b12f9a78432442681c90daa0b | refs/heads/master | 2023-08-26T14:22:17.908378 | 2021-10-26T07:19:14 | 2021-10-26T07:19:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,982 | cpp | #include <bits/stdc++.h>
#define ll long long
#define MAX 1000007
#define dbg(x) cout<<#x<<" = "<<x<<endl
#define vdbg(v) for(auto x : v) cout<<x<<endl
#define INF 2e18
#define all(x) x.begin(),x.end()
#define mem0(a) memset(a,0,sizeof(a))
#define mem1(a) memset(a,-1,sizeof(a))
#define fast_cin() ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL)
const ll N = 1e5+7;
const ll mod = 1000000007;
using namespace std;
ll MOD = 998244353;
bool isPossible(ll len, ll s, ll n){
ll d = n, maxi=0, mini=0;
for(ll i=1; i<=len; i++){
mini += i;
maxi += d;
d--;
}
if(s>maxi || s<mini){
return false;
}
return true;
}
void solve(){
ll n,l,r,s;
cin >> n >> l >> r >> s;
ll d = n, maxi = 0, mini = 0, len = r-l+1;
for(ll i=1; i<=len; i++){
mini += i;
maxi += d;
d--;
}
if(s>maxi || s<mini){
// cout<<"hre";
cout<<-1<<"\n";
return;
}
vector<ll>ans;
map<ll,ll>mp;
for(ll i=n; i>=1; i--){
if(s-i >=0 && isPossible(len-1, s-i, i-1)){
s -= i;
len--;
ans.push_back(i);
mp[i]++;
}
if(s == 0){
break;
}
}
// for(auto x: ans) cout<<x<<" ";
// cout<<"\n";
if(s != 0){
cout<<-1<<"\n";
return;
}
vector<ll>rem;
for(ll i=1; i<=n; i++){
if(mp.find(i) == mp.end()){
rem.push_back(i);
}
}
ll j = 0, k = 0;
for(ll i=1; i<l; i++){
cout<<rem[j++]<<" ";
}
for(ll i=l; i<=r; i++){
cout<<ans[k++]<<" ";
}
for(ll i=r+1; i<=n; i++){
cout<<rem[j++]<<" ";
}
cout<<"\n";
}
int main()
{
fast_cin();
ll t;
cin >> t;
while(t--) {
solve();
}
return 0;
} | [
"shubhamskm2000@gmail.com"
] | shubhamskm2000@gmail.com |
6ea502946affd57b3b38750db2828a8e95f5eab5 | 6fc57553a02b485ad20c6e9a65679cd71fa0a35d | /zircon/system/utest/fidl-compiler/test_library.h | 8322909cff75e0074933a7fcab5f1e412083e9b1 | [
"BSD-3-Clause",
"MIT"
] | permissive | OpenTrustGroup/fuchsia | 2c782ac264054de1a121005b4417d782591fb4d8 | 647e593ea661b8bf98dcad2096e20e8950b24a97 | refs/heads/master | 2023-01-23T08:12:32.214842 | 2019-08-03T20:27:06 | 2019-08-03T20:27:06 | 178,452,475 | 1 | 1 | BSD-3-Clause | 2023-01-05T00:43:10 | 2019-03-29T17:53:42 | C++ | UTF-8 | C++ | false | false | 8,470 | h | // Copyright 2018 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.
#ifndef ZIRCON_SYSTEM_UTEST_FIDL_COMPILER_TEST_LIBRARY_H_
#define ZIRCON_SYSTEM_UTEST_FIDL_COMPILER_TEST_LIBRARY_H_
#include <fidl/flat_ast.h>
#include <fidl/json_generator.h>
#include <fidl/lexer.h>
#include <fidl/linter.h>
#include <fidl/parser.h>
#include <fidl/source_file.h>
static std::unique_ptr<fidl::SourceFile> MakeSourceFile(const std::string& filename,
const std::string& raw_source_code) {
std::string source_code(raw_source_code);
// NUL terminate the string.
source_code.resize(source_code.size() + 1);
return std::make_unique<fidl::SourceFile>(filename, source_code);
}
class SharedAmongstLibraries {
public:
SharedAmongstLibraries() : typespace(fidl::flat::Typespace::RootTypes(&error_reporter)) {}
fidl::ErrorReporter error_reporter;
fidl::flat::Typespace typespace;
fidl::flat::Libraries all_libraries;
std::vector<std::unique_ptr<fidl::SourceFile>> all_sources_of_all_libraries;
};
class TestLibrary final {
public:
explicit TestLibrary() : TestLibrary(&owned_shared_) {}
explicit TestLibrary(SharedAmongstLibraries* shared)
: error_reporter_(&shared->error_reporter),
typespace_(&shared->typespace),
all_libraries_(&shared->all_libraries),
all_sources_of_all_libraries_(&shared->all_sources_of_all_libraries),
library_(
std::make_unique<fidl::flat::Library>(all_libraries_, error_reporter_, typespace_)) {}
explicit TestLibrary(const std::string& raw_source_code)
: TestLibrary("example.fidl", raw_source_code) {}
TestLibrary(const std::string& filename, const std::string& raw_source_code)
: TestLibrary(filename, raw_source_code, &owned_shared_) {}
TestLibrary(const std::string& filename, const std::string& raw_source_code,
SharedAmongstLibraries* shared)
: TestLibrary(shared) {
AddSource(filename, raw_source_code);
}
void AddSource(const std::string& filename, const std::string& raw_source_code) {
auto source_file = MakeSourceFile(filename, raw_source_code);
all_sources_.push_back(source_file.get());
all_sources_of_all_libraries_->push_back(std::move(source_file));
}
bool AddDependentLibrary(TestLibrary dependent_library) {
return all_libraries_->Insert(std::move(dependent_library.library_));
}
void AddAttributeSchema(const std::string& name, fidl::flat::AttributeSchema schema) {
all_libraries_->AddAttributeSchema(name, std::move(schema));
}
// TODO(pascallouis): remove, this does not use a library.
bool Parse(std::unique_ptr<fidl::raw::File>* out_ast_ptr) {
assert(all_sources_.size() == 1 && "parse can only be used with one source");
auto source_file = all_sources_.at(0);
fidl::Lexer lexer(*source_file, error_reporter_);
fidl::Parser parser(&lexer, error_reporter_);
out_ast_ptr->reset(parser.Parse().release());
return parser.Ok();
}
bool Compile() {
for (auto source_file : all_sources_) {
fidl::Lexer lexer(*source_file, error_reporter_);
fidl::Parser parser(&lexer, error_reporter_);
auto ast = parser.Parse();
if (!parser.Ok())
return false;
if (!library_->ConsumeFile(std::move(ast)))
return false;
}
return library_->Compile();
}
// TODO(pascallouis): remove, this does not use a library.
bool Lint(fidl::Findings* findings) {
assert(all_sources_.size() == 1 && "lint can only be used with one source");
auto source_file = all_sources_.at(0);
fidl::Lexer lexer(*source_file, error_reporter_);
fidl::Parser parser(&lexer, error_reporter_);
auto ast = parser.Parse();
if (!parser.Ok()) {
std::string_view beginning(source_file->data().data(), 0);
fidl::SourceLocation location(beginning, *source_file);
findings->emplace_back(location, "parser-error", error_reporter_->errors().front() + "\n");
return false;
}
fidl::linter::Linter linter;
return linter.Lint(ast, findings);
}
bool Lint() {
fidl::Findings findings;
bool passed = Lint(&findings);
fidl::utils::WriteFindingsToErrorReporter(findings, error_reporter_);
return passed;
}
std::string GenerateJSON() {
auto json_generator = fidl::JSONGenerator(library_.get());
auto out = json_generator.Produce();
return out.str();
}
const fidl::flat::Bits* LookupBits(const std::string& name) {
for (const auto& bits_decl : library_->bits_declarations_) {
if (bits_decl->GetName() == name) {
return bits_decl.get();
}
}
return nullptr;
}
const fidl::flat::Const* LookupConstant(const std::string& name) {
for (const auto& const_decl : library_->const_declarations_) {
if (const_decl->GetName() == name) {
return const_decl.get();
}
}
return nullptr;
}
const fidl::flat::Enum* LookupEnum(const std::string& name) {
for (const auto& enum_decl : library_->enum_declarations_) {
if (enum_decl->GetName() == name) {
return enum_decl.get();
}
}
return nullptr;
}
const fidl::flat::Service* LookupService(const std::string& name) {
for (const auto& service_decl : library_->service_declarations_) {
if (service_decl->GetName() == name) {
return service_decl.get();
}
}
return nullptr;
}
const fidl::flat::Struct* LookupStruct(const std::string& name) {
for (const auto& struct_decl : library_->struct_declarations_) {
if (struct_decl->GetName() == name) {
return struct_decl.get();
}
}
return nullptr;
}
const fidl::flat::Table* LookupTable(const std::string& name) {
for (const auto& table_decl : library_->table_declarations_) {
if (table_decl->GetName() == name) {
return table_decl.get();
}
}
return nullptr;
}
const fidl::flat::TypeAlias* LookupTypeAlias(const std::string& name) {
for (const auto& type_alias_decl : library_->type_alias_declarations_) {
if (type_alias_decl->GetName() == name) {
return type_alias_decl.get();
}
}
return nullptr;
}
const fidl::flat::Union* LookupUnion(const std::string& name) {
for (const auto& union_decl : library_->union_declarations_) {
if (union_decl->GetName() == name) {
return union_decl.get();
}
}
return nullptr;
}
const fidl::flat::XUnion* LookupXUnion(const std::string& name) {
for (const auto& xunion_decl : library_->xunion_declarations_) {
if (xunion_decl->GetName() == name) {
return xunion_decl.get();
}
}
return nullptr;
}
const fidl::flat::Protocol* LookupProtocol(const std::string& name) {
for (const auto& protocol_decl : library_->protocol_declarations_) {
if (protocol_decl->GetName() == name) {
return protocol_decl.get();
}
}
return nullptr;
}
void set_warnings_as_errors(bool value) { error_reporter_->set_warnings_as_errors(value); }
const fidl::flat::Library* library() const { return library_.get(); }
const fidl::SourceFile& source_file() const {
assert(all_sources_.size() == 1 && "convenience method only possible with single source");
return *all_sources_.at(0);
}
fidl::SourceLocation SourceLocation(size_t start, size_t size) const {
assert(all_sources_.size() == 1 && "convenience method only possible with single source");
std::string_view data = all_sources_.at(0)->data();
data.remove_prefix(start);
data.remove_suffix(data.size() - size);
return fidl::SourceLocation(data, *all_sources_.at(0));
}
const std::vector<std::string>& errors() const { return error_reporter_->errors(); }
const std::vector<std::string>& warnings() const { return error_reporter_->warnings(); }
const std::vector<fidl::flat::Decl*> declaration_order() const {
return library_->declaration_order_;
}
protected:
SharedAmongstLibraries owned_shared_;
fidl::ErrorReporter* error_reporter_;
fidl::flat::Typespace* typespace_;
fidl::flat::Libraries* all_libraries_;
std::vector<std::unique_ptr<fidl::SourceFile>>* all_sources_of_all_libraries_;
std::vector<fidl::SourceFile*> all_sources_;
std::unique_ptr<fidl::flat::Library> library_;
};
#endif // ZIRCON_SYSTEM_UTEST_FIDL_COMPILER_TEST_LIBRARY_H_
| [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
0b64cc1e05c807144449b4cbbd1183aa58b903ff | befaf0dfc5880d18f42e1fa7e39e27f8d2f8dde9 | /SDK/SCUM_Sausages_functions.cpp | f62e004f2be1ce0b2b95b3699d0e1fceaadae06d | [] | no_license | cpkt9762/SCUM-SDK | 0b59c99748a9e131eb37e5e3d3b95ebc893d7024 | c0dbd67e10a288086120cde4f44d60eb12e12273 | refs/heads/master | 2020-03-28T00:04:48.016948 | 2018-09-04T13:32:38 | 2018-09-04T13:32:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 344 | cpp | // SCUM (0.1.17.8320) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "SCUM_Sausages_classes.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Functions
//---------------------------------------------------------------------------
}
#ifdef _MSC_VER
#pragma pack(pop)
#endif
| [
"igromanru@yahoo.de"
] | igromanru@yahoo.de |
e56620d51e2dd160dc8f546cafc1912e5a5e19be | 4b4ccfd55f4b23fccecf0c397cdd31461b5e8ddb | /SaucerShooter/GameStart.h | 0a702204ffa85b298418b5f874cbed680f78aad8 | [] | no_license | DualBrain/df_win | 46e2a7edf3e43c237c5726aa87f3e01c3e0d5463 | f5e71206eefa3172117993f0853f7a31d04c8d09 | refs/heads/main | 2023-03-25T03:54:40.223165 | 2021-03-26T10:21:15 | 2021-03-26T10:21:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 269 | h | #include "ViewObject.h"
#include "Object.h"
#include "Music.h"
class GameStart : public df::ViewObject {
private:
df::Music* p_music;
public:
GameStart();
int eventHandler(const df::Event* p_e);
int draw(void);
void playMusic();
void start();
};
| [
"noreply@github.com"
] | DualBrain.noreply@github.com |
547efc12f52a1e9284db50a86146f8e064ce73b0 | 093df6cf938afc1f0af9f7120e2b48112cde7e36 | /libstd_cpp/thread/impl/thread_extend.h | 9718b0e1b8d684a8f5d596c4626116daf4064d11 | [] | no_license | hexu1985/cpp_code | 6487e19563ed2a751f889cb81ad724c40b442097 | 1cdbe297dec47cdd11f9e5d28e6caa2971b469bb | refs/heads/master | 2020-06-25T22:19:55.409303 | 2019-02-19T03:29:49 | 2019-02-19T03:29:49 | 96,992,341 | 3 | 0 | null | 2017-07-12T09:54:11 | 2017-07-12T09:54:11 | null | UTF-8 | C++ | false | false | 5,436 | h |
/**
* Exit this thread.
* The rval_ptr is a typeless pointer, similar to the single argument passed
* to the start routine. This pointer is available to other threads in
* the process by calling the thread::join function.
*/
inline void exit(void *value_ptr = NULL) noexcept
{
return pthread_exit(value_ptr);
}
/**
* If id refers to a thread of execution, request that the thread will
* be interrupted the next time it enters one of the predefined interruption
* points with interruption enabled, or if it is currently blocked in a call
* to one of the predefined interruption points with interruption enabled.
*/
inline void interrupt(const thread_id &id)
{
pthread_cancel(id.native_handle());
}
/**
* Check to see if the current thread has been interrupted. When you call
* interruption_point, if a interruption request is pending and if interruption
* has not been disabled, the thread will be interrupted. When interruption
* is disabled, however, calls to interruption_point have no effect.
*/
inline void interruption_point()
{
pthread_testcancel();
}
/**
* The interruption state attribute can be either enabled or disabled.
* A thread can change its interruptability state by calling
* interruption_state::set_disable or interruption_state::set_enable.
* A thread starts with a default interruption state of enabled.
* When the state is set to disabled, a call to thread::interrupt will not
* kill the thread. Instead, the interruption request remains pending
* for the thread. When the state is enabled again, the thread will act
* on any pending interruption requests at the next interrupiont point.
*/
class interruption_state {
public:
interruption_state():
is_set_(false), old_state_(PTHREAD_CANCEL_ENABLE) {}
~interruption_state()
{
if (is_set_)
pthread_setcancelstate(old_state_, NULL);
}
/** disable this thread to be interrupted */
void set_disable()
{
int state;
int err = pthread_setcancelstate(PTHREAD_CANCEL_DISABLE, &state);
if (err != 0)
throw system_error(err, system_category(),
"interruption_state::set_disable");
if (!is_set_) {
old_state_ = state;
is_set_ = true;
}
}
/** enable this thread to be interrupted */
void set_enable()
{
int state;
int err = pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, &state);
if (err != 0)
throw system_error(err, system_category(),
"interruption_state::set_enable");
if (!is_set_) {
old_state_ = state;
is_set_ = true;
}
}
/** restore old state of this thread's interruption state */
void reset()
{
int err;
if (is_set_) {
if ((err = pthread_setcancelstate(old_state_, NULL)) != 0)
throw system_error(err, system_category(),
"interruption_state::reset");
is_set_ = false;
}
}
#if __cplusplus >= 201103L
interruption_state(const interruption_state &) = delete;
interruption_state &operator =(const interruption_state &) = delete;
#else
private:
interruption_state(const interruption_state &);
interruption_state &operator =(const interruption_state &);
public:
#endif
private:
bool is_set_;
int old_state_;
};
class disable_interruption {
public:
disable_interruption()
{
state_.set_disable();
}
private:
interruption_state state_;
};
/**
* The default interruption type we have been describing is known as
* deferred interruption. After a call to thread::interrupt, the actual
* interruption doesn't occur until the thread hits a interruption point.
* We can change the interruption type by calling
* interruption_type::set_deferred or interruption_type::set_asynchronous.
* Asynchronous interruption differs from deferred interruption in that
* the thread can be interrupted at any time. The thread doesn't
* necessarily need to hit a interrruption point for it to be interrupted.
*/
class interruption_type {
public:
interruption_type():
is_set_(false), old_type_(PTHREAD_CANCEL_ENABLE) {}
~interruption_type()
{
if (is_set_)
pthread_setcanceltype(old_type_, NULL);
}
/** set this thread interruption type asynchronous */
void set_asynchronous()
{
int type;
int err = pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, &type);
if (err != 0)
throw system_error(err, system_category(),
"interruption_type::set_asynchronous");
if (!is_set_) {
old_type_ = type;
is_set_ = true;
}
}
/** set this thread interruption type deffered */
void set_deferred()
{
int type;
int err = pthread_setcanceltype(PTHREAD_CANCEL_DEFERRED, &type);
if (err != 0)
throw system_error(err, system_category(),
"interruption_type::set_deferred");
if (!is_set_) {
old_type_ = type;
is_set_ = true;
}
}
/** restore old type of this thread's interruption type */
void reset()
{
int err;
if (is_set_) {
if ((err = pthread_setcanceltype(old_type_, NULL)) != 0)
throw system_error(err, system_category(),
"interruption_type::reset");
is_set_ = false;
}
}
#if __cplusplus >= 201103L
interruption_type(const interruption_type &) = delete;
interruption_type &operator =(const interruption_type &) = delete;
#else
private:
interruption_type(const interruption_type &);
interruption_type &operator =(const interruption_type &);
public:
#endif
private:
bool is_set_;
int old_type_;
};
class asynchronous_interruption {
public:
asynchronous_interruption()
{
type_.set_asynchronous();
}
private:
interruption_type type_;
};
| [
"hexu@a.com"
] | hexu@a.com |
92d2e11ce8f99c882a07d4847e955b537c5e8339 | 7070dcfb17fff5e364c10c8a4d3dc726ea8e9222 | /algo/shared_ptr/test2/wpdefcon.cpp | f1e138ce279db96428f259c6993b536e4c65bced | [] | no_license | hechenyu/lib_code | 81bab1199ee21cc757067b83134a7f51856c4f3a | 881d6a108c41afa82d9fd7a4203fe243dbb2449b | refs/heads/master | 2020-04-15T12:44:55.952257 | 2017-07-04T18:28:24 | 2017-07-04T18:28:24 | 65,212,227 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 135 | cpp | #include "shared_ptr.h"
#include "sputil.h"
int main()
{
weak_ptr<int> sp;
show("default constructor", sp);
return 0;
}
| [
"hexu_bupt@sina.com"
] | hexu_bupt@sina.com |
c396247a23dc389436cbaceb8dd822189104de49 | d5889c8ffa5f0d9369c5226205dccff7f5382379 | /leetcode/medium/764. Largest Plus Sign.cpp | bc8a9766c483c11e04a8daa1c827e4f7af8d9aa1 | [
"MIT"
] | permissive | fpdjsns/Algorithm | 334457a0e18a28b51a54514b91daff798ed833fe | 1414d9368f4047b28808952efa2b0c68792c154c | refs/heads/master | 2023-05-04T16:55:43.599727 | 2023-04-18T14:27:50 | 2023-04-18T14:27:50 | 126,031,686 | 14 | 8 | MIT | 2021-12-06T07:30:28 | 2018-03-20T14:36:02 | C++ | UTF-8 | C++ | false | false | 1,517 | cpp | /**
* problem : https://leetcode.com/problems/largest-plus-sign/
* time/space complexity : O(N^2)
*/
class Solution {
public:
int orderOfLargestPlusSign(int n, vector<vector<int>>& mines) {
set<pair<int,int>> zeros;
for(auto mine: mines){
zeros.insert({mine[0], mine[1]});
}
vector<vector<int>> row(n, vector<int>(n,0));
vector<vector<int>> reverseRow(n, vector<int>(n,0));
vector<vector<int>> col(n, vector<int>(n,0));
vector<vector<int>> reverseCol(n, vector<int>(n,0));
for(int i=0; i<n; i++){
for(int j=0; j<n; j++){
if(zeros.find({i,j}) == zeros.end()){
row[i][j] = row[max(0, i-1)][j] + 1;
col[i][j] = col[i][max(0, j-1)] + 1;
}
}
}
for(int i=n-1; i>=0; i--){
for(int j=n-1; j>=0; j--){
if(zeros.find({i,j}) == zeros.end()){
reverseRow[i][j] = reverseRow[min(n-1, i+1)][j] + 1;
reverseCol[i][j] = reverseCol[i][min(n-1, j+1)] + 1;
}
}
}
int answer = 0;
for(int i=0; i<n; i++){
for(int j=0; j<n; j++) {
int tmp = min(row[i][j], reverseRow[i][j]);
tmp = min(col[i][j], tmp);
tmp = min(reverseCol[i][j], tmp);
answer = max(tmp, answer);
}
}
return answer;
}
};
| [
"noreply@github.com"
] | fpdjsns.noreply@github.com |
ca29e76238fdb264c693e712b59b2ede6ea75863 | dcc43f45f945011a74303ac9cbc5f800b0a8ee83 | /src/Mat4.h | 08301bce680e193d40d7ad017ff1f4718696752e | [] | no_license | Anastasija3793/DustyParticles | 69a2add0ff56d43f0290f524633de094f0f97b07 | 01c7d393e0b0db5eed0e8ad6faf16a2d4fa2ec66 | refs/heads/master | 2021-01-19T11:20:31.067732 | 2017-05-16T06:10:01 | 2017-05-16T06:10:01 | 87,954,047 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,578 | h | /// @file Mat4.h
/// @brief Matrix 4x4; Needed to rotate particles (in 3D mode)
/// @author Jon Macey
#ifndef MAT4_H
#define MAT4_H
#include <array>
#ifdef __APPLE__
#include <OpenGL/gl.h>
#include <OpenGL/glu.h>
#include "GLUT/glut.h"
#include <SDL.h>
#include <SDL_image.h>
#else
#include <SDL2/SDL.h>
#include <SDL2/SDL_image.h>
#include <GL/gl.h>
#include <GL/glu.h>
//#include <GL/glut.h>
#endif
//mat4 16 floats
//[1][0][0][0]
//[0][1][0][0]
//[0][0][1][0]
//[0][0][0][1]
class Mat4
{
public:
Mat4(float _s=1.0f);
void loadModelView() const;
void loadProjection() const;
void identity();
union
{
float m_m[4][4]; // normal 4x4 access
std::array<float,4> m_openGL; // array access
struct
{
float m_00; //> m_[0][0] m_openGL[0]
float m_01; //> m_[0][1] m_openGL[1]
float m_02; //> m_[0][2] m_openGL[2]
float m_03; //> m_[0][3] m_openGL[3]
float m_10; //> m_[1][0] m_openGL[4]
float m_11; //> m_[1][1] m_openGL[5]
float m_12; //> m_[1][2] m_openGL[6]
float m_13; //> m_[1][3] m_openGL[7]
float m_20; //> m_[2][0] m_openGL[8]
float m_21; //> m_[2][1] m_openGL[9]
float m_22; //> m_[2][2] m_openGL[10]
float m_23; //> m_[2][3] m_openGL[11]
float m_30; //> m_[3][0] m_openGL[12]
float m_31; //> m_[3][1] m_openGL[13]
float m_32; //> m_[3][2] m_openGL[14]
float m_33; //> m_[3][3] m_openGL[15]
};
};
}; //end class
#endif // MAT4_H
| [
"s4923023@bournemouth.ac.uk"
] | s4923023@bournemouth.ac.uk |
ec5e0a927968c3324378b13edb965c6a885791d2 | e5f4f37d941ceb8145d65f92028cc54658b1ac01 | /Code/EnginePlugins/BakingPlugin/Tracer/TracerEmbree.h | f1c76159453bb31c37aabdbaddcf84d1f849bf98 | [
"MIT"
] | permissive | ezEngine/ezEngine | 19983d2733a5409fb2665c6c3a0a575dadcefb50 | c46e3b4b2cd46798e4abb4938fbca281c054b039 | refs/heads/dev | 2023-09-06T02:17:28.152665 | 2023-09-05T18:25:43 | 2023-09-05T18:25:43 | 18,179,848 | 1,050 | 165 | MIT | 2023-09-14T21:44:39 | 2014-03-27T15:02:16 | C++ | UTF-8 | C++ | false | false | 436 | h | #pragma once
#include <BakingPlugin/Tracer/TracerInterface.h>
#include <Foundation/Types/UniquePtr.h>
class EZ_BAKINGPLUGIN_DLL ezTracerEmbree : public ezTracerInterface
{
public:
ezTracerEmbree();
~ezTracerEmbree();
virtual ezResult BuildScene(const ezBakingScene& scene) override;
virtual void TraceRays(ezArrayPtr<const Ray> rays, ezArrayPtr<Hit> hits) override;
private:
struct Data;
ezUniquePtr<Data> m_pData;
};
| [
"noreply@github.com"
] | ezEngine.noreply@github.com |
5bf78246fedc98a024afcee8833be596ffcc352e | 9e97e1ef6382ed2ea0ca682b0cddf4bcfbffa6ea | /GameEditor/SGOOnMapTableWidget.h | 67720c8ff92cc04c87c3b648ce1768a192884b1b | [] | no_license | rodrigobmg/GameEditor | 0942a1c2f805cb417384cf4d9ad516f7223ff12f | c75a593496a859f37ee89db8c51479e65367ea62 | refs/heads/master | 2020-03-28T18:08:09.681703 | 2018-03-21T06:01:42 | 2018-03-21T06:01:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,337 | h | #pragma once
#include <QWidget>
#include <qtableview.h>
#include <qboxlayout.h>
#include <memory>
#include "ui_SGOOnMapTableWidget.h"
#include "QtGEPaginator.h"
#include "SGOOnMapTM.h"
#include "SGOOnMapToolBox.h"
#include "MapEditorControl.h"
class SGOOnMapTableWidget : public QWidget, public Ui::SGOOnMapTableWidget
{
Q_OBJECT
private:
std::unique_ptr<SGOOnMapToolBox> m_toolBox;
std::unique_ptr<QTableView> m_table;
SGOOnMapTM* m_tableModel;
std::unique_ptr<QtGEPaginator> m_paginator;
std::shared_ptr<MapEditorControl> m_mapEditorControl;
protected slots:
void editBtnsStateConfigure();
void TableRowSelected(const QItemSelection& selected, const QItemSelection& deselected);
void PaginatorPageChanged(int pageNumber, int onPage);
void HeaderSectionClicked(int sectionIndex);
void UpdateTable();
void DeleteBtnClicked();
void EditBtnClicked();
void CloneBtnClicked();
void FreezeAllBtnClicked();
void UnfreezeAllBtnClicked();
void ClearSelection() { m_table->selectionModel()->clearSelection(); }
protected:
void configureTable();
void configureUI();
void configurePaginator();
void configureToolBox();
std::vector<int> GetSelectedIds();
public:
SGOOnMapTableWidget(std::shared_ptr<MapEditorControl> mapEditorControl, QWidget *parent = Q_NULLPTR);
~SGOOnMapTableWidget();
};
| [
"holodnukfedor@gmail.com"
] | holodnukfedor@gmail.com |
d56873eaa0bd9dd3888f4b8e6b686585615510df | 3af43b15609a71c109f695df9299672102250343 | /src/comm/options.cpp | 3a24b80919a644d18b3d7b0d2383d5ddfc037a25 | [
"BSD-3-Clause",
"LicenseRef-scancode-openssl",
"LicenseRef-scancode-ssleay-windows",
"LicenseRef-scancode-unknown-license-reference",
"OpenSSL",
"BSD-2-Clause"
] | permissive | mloves0824/phxpaxos | 7dddbd557f26c0dc90426c3ed4c32d1109d38fc4 | f77c7353e2c7ed75a6f52b9f15820f53c2005e47 | refs/heads/master | 2021-05-03T16:19:55.506772 | 2017-09-13T13:47:56 | 2017-09-13T13:47:56 | 69,201,538 | 0 | 0 | null | 2016-09-26T01:22:28 | 2016-09-26T01:22:28 | null | UTF-8 | C++ | false | false | 2,840 | cpp | /*
Tencent is pleased to support the open source community by making
PhxPaxos available.
Copyright (C) 2016 THL A29 Limited, a Tencent company.
All rights reserved.
Licensed under the BSD 3-Clause License (the "License"); you may
not use this file except in compliance with the License. You may
obtain a copy of the License at
https://opensource.org/licenses/BSD-3-Clause
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.
See the AUTHORS file for names of contributors.
*/
#include "phxpaxos/options.h"
#include "commdef.h"
#include <assert.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <string>
namespace phxpaxos
{
NodeInfo :: NodeInfo()
: m_iNodeID(nullnode), m_sIP(""), m_iPort(-1)
{
}
NodeInfo :: NodeInfo(const nodeid_t iNodeID)
: m_iNodeID(iNodeID), m_sIP(""), m_iPort(-1)
{
ParseNodeID();
}
NodeInfo :: NodeInfo(const std::string & sIP, const int iPort)
: m_iNodeID(nullnode), m_sIP(sIP), m_iPort(iPort)
{
MakeNodeID();
}
const nodeid_t NodeInfo :: GetNodeID() const
{
return m_iNodeID;
}
const std::string & NodeInfo :: GetIP() const
{
return m_sIP;
}
const int NodeInfo :: GetPort() const
{
return m_iPort;
}
void NodeInfo :: SetIPPort(const std::string & sIP, const int iPort)
{
m_sIP = sIP;
m_iPort = iPort;
MakeNodeID();
}
void NodeInfo :: SetNodeID(const nodeid_t iNodeID)
{
m_iNodeID = iNodeID;
ParseNodeID();
}
void NodeInfo :: MakeNodeID()
{
uint32_t iIP = (uint32_t)inet_addr(m_sIP.c_str());
assert(iIP != (uint32_t)-1);
m_iNodeID = (((uint64_t)iIP) << 32) | m_iPort;
//PLImp("ip %s ip %u port %d nodeid %lu", m_sIP.c_str(), iIP, m_iPort, m_iNodeID);
}
void NodeInfo :: ParseNodeID()
{
m_iPort = m_iNodeID & (0xffffffff);
in_addr addr;
addr.s_addr = m_iNodeID >> 32;
m_sIP = std::string(inet_ntoa(addr));
//PLImp("nodeid %lu ip %s ip %u port %d", m_iNodeID, m_sIP.c_str(), addr.s_addr, m_iPort);
}
/////////////////////////////////////////////////////////////
GroupSMInfo :: GroupSMInfo()
{
iGroupIdx = -1;
bIsUseMaster = false;
}
/////////////////////////////////////////////////////////////
Options :: Options()
{
poLogStorage = nullptr;
bSync = true;
iSyncInterval = 0;
poNetWork = nullptr;
iUDPMaxSize = 4096;
iGroupCount = 1;
bUseMembership = false;
pMembershipChangeCallback = nullptr;
poBreakpoint = nullptr;
bIsLargeValueMode = false;
pLogFunc = nullptr;
eLogLevel = LogLevel::LogLevel_None;
bUseCheckpointReplayer = false;
}
}
| [
"lynncui00@gmail.com"
] | lynncui00@gmail.com |
529ab5678ed62ccef265d329e5a824bde6341574 | cf27989ba7d00342358b63e55558c075a35c9ac4 | /gt/simple.cpp | 7cc2236ebdb1bff205938d46bafd073a0af581d3 | [] | no_license | VishalKhurana/DSA | 1b9f2888cd332b6741a61e6426b0586615157143 | 6fc90621f97dee4c10e3911f8f2cc95e4a0a7903 | refs/heads/master | 2022-12-04T12:31:32.104914 | 2020-08-30T14:57:03 | 2020-08-30T14:57:03 | 285,479,440 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 449 | cpp | #include<bits/stdc++.h>
using namespace std;
void simplifiedFractions(int n) {
int num=1;
int deno=2;
for(int num=1;num<n;num++)
{
for(int deno=num+1;deno<num;deno++)
{
cout<<num<<" "<<deno<<endl;
}
}
vector<string>arr;
//return arr;
}
int main()
{
simplifiedFractions(4);
return 0;
} | [
"vishalkhurana972@gmail.com"
] | vishalkhurana972@gmail.com |
6fc9d063f68536aaff1727791d4e0b058bdd88e5 | 0669271ade5ca1fd1139a3807a7d4ec4645af8c8 | /sstd_qt_qml_quick_library_application/sstd_qquickmaterialstyle.cpp | c2aa54a96c366b5a9585ab9ac19a9563837e75d5 | [] | no_license | ngzHappy/sstd_qt_qml_quick_library | 44c44d2536fe78c8e5cff9867d595cf960e8fe17 | d40b247759dc1ac603486884a522df16cfc773e0 | refs/heads/master | 2020-04-29T11:28:54.394654 | 2019-07-20T00:05:29 | 2019-07-20T00:05:29 | 176,099,837 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 39,275 | cpp |
#include "sstd_qquickmaterialstyle_p.h"
#include <QtCore/qdebug.h>
#include <QtCore/qsettings.h>
#include <QtQml/qqmlinfo.h>
#include <QtQuickControls2/private/qquickstyle_p.h>
namespace sstd {
static const QRgb colors[][14] = {
// Red
{
0xFFFFEBEE, // Shade50
0xFFFFCDD2, // Shade100
0xFFEF9A9A, // Shade200
0xFFE57373, // Shade300
0xFFEF5350, // Shade400
0xFFF44336, // Shade500
0xFFE53935, // Shade600
0xFFD32F2F, // Shade700
0xFFC62828, // Shade800
0xFFB71C1C, // Shade900
0xFFFF8A80, // ShadeA100
0xFFFF5252, // ShadeA200
0xFFFF1744, // ShadeA400
0xFFD50000 // ShadeA700
},
// Pink
{
0xFFFCE4EC, // Shade50
0xFFF8BBD0, // Shade100
0xFFF48FB1, // Shade200
0xFFF06292, // Shade300
0xFFEC407A, // Shade400
0xFFE91E63, // Shade500
0xFFD81B60, // Shade600
0xFFC2185B, // Shade700
0xFFAD1457, // Shade800
0xFF880E4F, // Shade900
0xFFFF80AB, // ShadeA100
0xFFFF4081, // ShadeA200
0xFFF50057, // ShadeA400
0xFFC51162 // ShadeA700
},
// Purple
{
0xFFF3E5F5, // Shade50
0xFFE1BEE7, // Shade100
0xFFCE93D8, // Shade200
0xFFBA68C8, // Shade300
0xFFAB47BC, // Shade400
0xFF9C27B0, // Shade500
0xFF8E24AA, // Shade600
0xFF7B1FA2, // Shade700
0xFF6A1B9A, // Shade800
0xFF4A148C, // Shade900
0xFFEA80FC, // ShadeA100
0xFFE040FB, // ShadeA200
0xFFD500F9, // ShadeA400
0xFFAA00FF // ShadeA700
},
// DeepPurple
{
0xFFEDE7F6, // Shade50
0xFFD1C4E9, // Shade100
0xFFB39DDB, // Shade200
0xFF9575CD, // Shade300
0xFF7E57C2, // Shade400
0xFF673AB7, // Shade500
0xFF5E35B1, // Shade600
0xFF512DA8, // Shade700
0xFF4527A0, // Shade800
0xFF311B92, // Shade900
0xFFB388FF, // ShadeA100
0xFF7C4DFF, // ShadeA200
0xFF651FFF, // ShadeA400
0xFF6200EA // ShadeA700
},
// Indigo
{
0xFFE8EAF6, // Shade50
0xFFC5CAE9, // Shade100
0xFF9FA8DA, // Shade200
0xFF7986CB, // Shade300
0xFF5C6BC0, // Shade400
0xFF3F51B5, // Shade500
0xFF3949AB, // Shade600
0xFF303F9F, // Shade700
0xFF283593, // Shade800
0xFF1A237E, // Shade900
0xFF8C9EFF, // ShadeA100
0xFF536DFE, // ShadeA200
0xFF3D5AFE, // ShadeA400
0xFF304FFE // ShadeA700
},
// Blue
{
0xFFE3F2FD, // Shade50
0xFFBBDEFB, // Shade100
0xFF90CAF9, // Shade200
0xFF64B5F6, // Shade300
0xFF42A5F5, // Shade400
0xFF2196F3, // Shade500
0xFF1E88E5, // Shade600
0xFF1976D2, // Shade700
0xFF1565C0, // Shade800
0xFF0D47A1, // Shade900
0xFF82B1FF, // ShadeA100
0xFF448AFF, // ShadeA200
0xFF2979FF, // ShadeA400
0xFF2962FF // ShadeA700
},
// LightBlue
{
0xFFE1F5FE, // Shade50
0xFFB3E5FC, // Shade100
0xFF81D4FA, // Shade200
0xFF4FC3F7, // Shade300
0xFF29B6F6, // Shade400
0xFF03A9F4, // Shade500
0xFF039BE5, // Shade600
0xFF0288D1, // Shade700
0xFF0277BD, // Shade800
0xFF01579B, // Shade900
0xFF80D8FF, // ShadeA100
0xFF40C4FF, // ShadeA200
0xFF00B0FF, // ShadeA400
0xFF0091EA // ShadeA700
},
// Cyan
{
0xFFE0F7FA, // Shade50
0xFFB2EBF2, // Shade100
0xFF80DEEA, // Shade200
0xFF4DD0E1, // Shade300
0xFF26C6DA, // Shade400
0xFF00BCD4, // Shade500
0xFF00ACC1, // Shade600
0xFF0097A7, // Shade700
0xFF00838F, // Shade800
0xFF006064, // Shade900
0xFF84FFFF, // ShadeA100
0xFF18FFFF, // ShadeA200
0xFF00E5FF, // ShadeA400
0xFF00B8D4 // ShadeA700
},
// Teal
{
0xFFE0F2F1, // Shade50
0xFFB2DFDB, // Shade100
0xFF80CBC4, // Shade200
0xFF4DB6AC, // Shade300
0xFF26A69A, // Shade400
0xFF009688, // Shade500
0xFF00897B, // Shade600
0xFF00796B, // Shade700
0xFF00695C, // Shade800
0xFF004D40, // Shade900
0xFFA7FFEB, // ShadeA100
0xFF64FFDA, // ShadeA200
0xFF1DE9B6, // ShadeA400
0xFF00BFA5 // ShadeA700
},
// Green
{
0xFFE8F5E9, // Shade50
0xFFC8E6C9, // Shade100
0xFFA5D6A7, // Shade200
0xFF81C784, // Shade300
0xFF66BB6A, // Shade400
0xFF4CAF50, // Shade500
0xFF43A047, // Shade600
0xFF388E3C, // Shade700
0xFF2E7D32, // Shade800
0xFF1B5E20, // Shade900
0xFFB9F6CA, // ShadeA100
0xFF69F0AE, // ShadeA200
0xFF00E676, // ShadeA400
0xFF00C853 // ShadeA700
},
// LightGreen
{
0xFFF1F8E9, // Shade50
0xFFDCEDC8, // Shade100
0xFFC5E1A5, // Shade200
0xFFAED581, // Shade300
0xFF9CCC65, // Shade400
0xFF8BC34A, // Shade500
0xFF7CB342, // Shade600
0xFF689F38, // Shade700
0xFF558B2F, // Shade800
0xFF33691E, // Shade900
0xFFCCFF90, // ShadeA100
0xFFB2FF59, // ShadeA200
0xFF76FF03, // ShadeA400
0xFF64DD17 // ShadeA700
},
// Lime
{
0xFFF9FBE7, // Shade50
0xFFF0F4C3, // Shade100
0xFFE6EE9C, // Shade200
0xFFDCE775, // Shade300
0xFFD4E157, // Shade400
0xFFCDDC39, // Shade500
0xFFC0CA33, // Shade600
0xFFAFB42B, // Shade700
0xFF9E9D24, // Shade800
0xFF827717, // Shade900
0xFFF4FF81, // ShadeA100
0xFFEEFF41, // ShadeA200
0xFFC6FF00, // ShadeA400
0xFFAEEA00 // ShadeA700
},
// Yellow
{
0xFFFFFDE7, // Shade50
0xFFFFF9C4, // Shade100
0xFFFFF59D, // Shade200
0xFFFFF176, // Shade300
0xFFFFEE58, // Shade400
0xFFFFEB3B, // Shade500
0xFFFDD835, // Shade600
0xFFFBC02D, // Shade700
0xFFF9A825, // Shade800
0xFFF57F17, // Shade900
0xFFFFFF8D, // ShadeA100
0xFFFFFF00, // ShadeA200
0xFFFFEA00, // ShadeA400
0xFFFFD600 // ShadeA700
},
// Amber
{
0xFFFFF8E1, // Shade50
0xFFFFECB3, // Shade100
0xFFFFE082, // Shade200
0xFFFFD54F, // Shade300
0xFFFFCA28, // Shade400
0xFFFFC107, // Shade500
0xFFFFB300, // Shade600
0xFFFFA000, // Shade700
0xFFFF8F00, // Shade800
0xFFFF6F00, // Shade900
0xFFFFE57F, // ShadeA100
0xFFFFD740, // ShadeA200
0xFFFFC400, // ShadeA400
0xFFFFAB00 // ShadeA700
},
// Orange
{
0xFFFFF3E0, // Shade50
0xFFFFE0B2, // Shade100
0xFFFFCC80, // Shade200
0xFFFFB74D, // Shade300
0xFFFFA726, // Shade400
0xFFFF9800, // Shade500
0xFFFB8C00, // Shade600
0xFFF57C00, // Shade700
0xFFEF6C00, // Shade800
0xFFE65100, // Shade900
0xFFFFD180, // ShadeA100
0xFFFFAB40, // ShadeA200
0xFFFF9100, // ShadeA400
0xFFFF6D00 // ShadeA700
},
// DeepOrange
{
0xFFFBE9E7, // Shade50
0xFFFFCCBC, // Shade100
0xFFFFAB91, // Shade200
0xFFFF8A65, // Shade300
0xFFFF7043, // Shade400
0xFFFF5722, // Shade500
0xFFF4511E, // Shade600
0xFFE64A19, // Shade700
0xFFD84315, // Shade800
0xFFBF360C, // Shade900
0xFFFF9E80, // ShadeA100
0xFFFF6E40, // ShadeA200
0xFFFF3D00, // ShadeA400
0xFFDD2C00 // ShadeA700
},
// Brown
{
0xFFEFEBE9, // Shade50
0xFFD7CCC8, // Shade100
0xFFBCAAA4, // Shade200
0xFFA1887F, // Shade300
0xFF8D6E63, // Shade400
0xFF795548, // Shade500
0xFF6D4C41, // Shade600
0xFF5D4037, // Shade700
0xFF4E342E, // Shade800
0xFF3E2723, // Shade900
0xFF000000, // ShadeA100
0xFF000000, // ShadeA200
0xFF000000, // ShadeA400
0xFF000000 // ShadeA700
},
// Grey
{
0xFFFAFAFA, // Shade50
0xFFF5F5F5, // Shade100
0xFFEEEEEE, // Shade200
0xFFE0E0E0, // Shade300
0xFFBDBDBD, // Shade400
0xFF9E9E9E, // Shade500
0xFF757575, // Shade600
0xFF616161, // Shade700
0xFF424242, // Shade800
0xFF212121, // Shade900
0xFF000000, // ShadeA100
0xFF000000, // ShadeA200
0xFF000000, // ShadeA400
0xFF000000 // ShadeA700
},
// BlueGrey
{
0xFFECEFF1, // Shade50
0xFFCFD8DC, // Shade100
0xFFB0BEC5, // Shade200
0xFF90A4AE, // Shade300
0xFF78909C, // Shade400
0xFF607D8B, // Shade500
0xFF546E7A, // Shade600
0xFF455A64, // Shade700
0xFF37474F, // Shade800
0xFF263238, // Shade900
0xFF000000, // ShadeA100
0xFF000000, // ShadeA200
0xFF000000, // ShadeA400
0xFF000000 // ShadeA700
}
};
// If no value was inherited from a parent or explicitly set, the "global" values are used.
// The initial, default values of the globals are hard-coded here, but the environment
// variables and .conf file override them if specified.
static QQuickMaterialStyle::Theme globalTheme = QQuickMaterialStyle::Light;
static uint globalPrimary = QQuickMaterialStyle::Indigo;
static uint globalAccent = QQuickMaterialStyle::Pink;
static uint globalForeground = 0xDD000000; // primaryTextColorLight
static uint globalBackground = 0xFFFAFAFA; // backgroundColorLight
// These represent whether a global foreground/background was set.
// Each style's m_hasForeground/m_hasBackground are initialized to these values.
static bool hasGlobalForeground = false;
static bool hasGlobalBackground = false;
// These represent whether or not the global color value was specified as one of the
// values that QColor accepts, as opposed to one of the pre-defined colors like Red.
static bool globalPrimaryCustom = false;
static bool globalAccentCustom = false;
static bool globalForegroundCustom = true;
static bool globalBackgroundCustom = true;
// This is global because:
// 1) The theme needs access to it to determine font sizes.
// 2) There can only be one variant used for the whole application.
static QQuickMaterialStyle::Variant globalVariant = QQuickMaterialStyle::Normal;
static const QRgb backgroundColorLight = 0xFFFAFAFA;
static const QRgb backgroundColorDark = 0xFF303030;
static const QRgb dialogColorLight = 0xFFFFFFFF;
static const QRgb dialogColorDark = 0xFF424242;
static const QRgb primaryTextColorLight = 0xDD000000;
static const QRgb primaryTextColorDark = 0xFFFFFFFF;
static const QRgb secondaryTextColorLight = 0x89000000;
static const QRgb secondaryTextColorDark = 0xB2FFFFFF;
static const QRgb hintTextColorLight = 0x60000000;
static const QRgb hintTextColorDark = 0x4CFFFFFF;
static const QRgb dividerColorLight = 0x1E000000;
static const QRgb dividerColorDark = 0x1EFFFFFF;
static const QRgb iconColorLight = 0x89000000;
static const QRgb iconColorDark = 0xFFFFFFFF;
static const QRgb iconDisabledColorLight = 0x42000000;
static const QRgb iconDisabledColorDark = 0x4CFFFFFF;
static const QRgb raisedButtonColorLight = 0xFFD6D7D7;
static const QRgb raisedButtonColorDark = 0x3FCCCCCC;
static const QRgb raisedButtonDisabledColorLight = dividerColorLight;
static const QRgb raisedButtonDisabledColorDark = dividerColorDark;
static const QRgb frameColorLight = hintTextColorLight;
static const QRgb frameColorDark = hintTextColorDark;
static const QRgb switchUncheckedTrackColorLight = 0x42000000;
static const QRgb switchUncheckedTrackColorDark = 0x4CFFFFFF;
static const QRgb switchDisabledTrackColorLight = 0x1E000000;
static const QRgb switchDisabledTrackColorDark = 0x19FFFFFF;
static const QRgb rippleColorLight = 0x10000000;
static const QRgb rippleColorDark = 0x20FFFFFF;
static const QRgb spinBoxDisabledIconColorLight = 0xFFCCCCCC;
static const QRgb spinBoxDisabledIconColorDark = 0xFF666666;
static QQuickMaterialStyle::Theme effectiveTheme(QQuickMaterialStyle::Theme theme)
{
if (theme == QQuickMaterialStyle::System)
theme = QQuickStylePrivate::isDarkSystemTheme() ? QQuickMaterialStyle::Dark : QQuickMaterialStyle::Light;
return theme;
}
QQuickMaterialStyle::QQuickMaterialStyle(QObject *parent) : QQuickAttachedObject(parent),
m_customPrimary(globalPrimaryCustom),
m_customAccent(globalAccentCustom),
m_customForeground(globalForegroundCustom),
m_customBackground(globalBackgroundCustom),
m_hasForeground(hasGlobalForeground),
m_hasBackground(hasGlobalBackground),
m_theme(globalTheme),
m_primary(globalPrimary),
m_accent(globalAccent),
m_foreground(globalForeground),
m_background(globalBackground)
{
QQuickAttachedObject::init();
}
QQuickMaterialStyle *QQuickMaterialStyle::qmlAttachedProperties(QObject *object)
{
return new QQuickMaterialStyle(object);
}
QQuickMaterialStyle::Theme QQuickMaterialStyle::theme() const
{
return m_theme;
}
void QQuickMaterialStyle::setTheme(Theme theme)
{
if (theme == System)
theme = QQuickStylePrivate::isDarkSystemTheme() ? Dark : Light;
m_explicitTheme = true;
if (m_theme == theme)
return;
m_theme = theme;
propagateTheme();
emit themeChanged();
emit paletteChanged();
if (!m_customAccent)
emit accentChanged();
if (!m_hasBackground)
emit backgroundChanged();
if (!m_hasForeground)
emit foregroundChanged();
}
void QQuickMaterialStyle::inheritTheme(Theme theme)
{
if (m_explicitTheme || m_theme == theme)
return;
m_theme = theme;
propagateTheme();
emit themeChanged();
emit paletteChanged();
if (!m_customAccent)
emit accentChanged();
if (!m_hasBackground)
emit backgroundChanged();
if (!m_hasForeground)
emit foregroundChanged();
}
void QQuickMaterialStyle::propagateTheme()
{
const auto styles = attachedChildren();
for (QQuickAttachedObject *child : styles) {
QQuickMaterialStyle *material = qobject_cast<QQuickMaterialStyle *>(child);
if (material)
material->inheritTheme(m_theme);
}
}
void QQuickMaterialStyle::resetTheme()
{
if (!m_explicitTheme)
return;
m_explicitTheme = false;
QQuickMaterialStyle *material = qobject_cast<QQuickMaterialStyle *>(attachedParent());
inheritTheme(material ? material->theme() : globalTheme);
}
QVariant QQuickMaterialStyle::primary() const
{
return primaryColor();
}
void QQuickMaterialStyle::setPrimary(const QVariant &var)
{
QRgb primary = 0;
bool custom = false;
if (!variantToRgba(var, "primary", &primary, &custom))
return;
m_explicitPrimary = true;
if (m_primary == primary)
return;
m_customPrimary = custom;
m_primary = primary;
propagatePrimary();
emit primaryChanged();
emit paletteChanged();
}
void QQuickMaterialStyle::inheritPrimary(uint primary, bool custom)
{
if (m_explicitPrimary || m_primary == primary)
return;
m_customPrimary = custom;
m_primary = primary;
propagatePrimary();
emit primaryChanged();
emit paletteChanged();
}
void QQuickMaterialStyle::propagatePrimary()
{
const auto styles = attachedChildren();
for (QQuickAttachedObject *child : styles) {
QQuickMaterialStyle *material = qobject_cast<QQuickMaterialStyle *>(child);
if (material)
material->inheritPrimary(m_primary, m_customPrimary);
}
}
void QQuickMaterialStyle::resetPrimary()
{
if (!m_explicitPrimary)
return;
m_customPrimary = false;
m_explicitPrimary = false;
QQuickMaterialStyle *material = qobject_cast<QQuickMaterialStyle *>(attachedParent());
if (material)
inheritPrimary(material->m_primary, material->m_customPrimary);
else
inheritPrimary(globalPrimary, false);
}
QVariant QQuickMaterialStyle::accent() const
{
return accentColor();
}
void QQuickMaterialStyle::setAccent(const QVariant &var)
{
QRgb accent = 0;
bool custom = false;
if (!variantToRgba(var, "accent", &accent, &custom))
return;
m_explicitAccent = true;
if (m_accent == accent)
return;
m_customAccent = custom;
m_accent = accent;
propagateAccent();
emit accentChanged();
emit paletteChanged();
}
void QQuickMaterialStyle::inheritAccent(uint accent, bool custom)
{
if (m_explicitAccent || m_accent == accent)
return;
m_customAccent = custom;
m_accent = accent;
propagateAccent();
emit accentChanged();
emit paletteChanged();
}
void QQuickMaterialStyle::propagateAccent()
{
const auto styles = attachedChildren();
for (QQuickAttachedObject *child : styles) {
QQuickMaterialStyle *material = qobject_cast<QQuickMaterialStyle *>(child);
if (material)
material->inheritAccent(m_accent, m_customAccent);
}
}
void QQuickMaterialStyle::resetAccent()
{
if (!m_explicitAccent)
return;
m_customAccent = false;
m_explicitAccent = false;
QQuickMaterialStyle *material = qobject_cast<QQuickMaterialStyle *>(attachedParent());
if (material)
inheritAccent(material->m_accent, material->m_customAccent);
else
inheritAccent(globalAccent, false);
}
QVariant QQuickMaterialStyle::foreground() const
{
if (!m_hasForeground)
return QColor::fromRgba(m_theme == Light ? primaryTextColorLight : primaryTextColorDark);
if (m_customForeground)
return QColor::fromRgba(m_foreground);
if (m_foreground > BlueGrey)
return QColor();
return QColor::fromRgba(colors[m_foreground][Shade500]);
}
void QQuickMaterialStyle::setForeground(const QVariant &var)
{
QRgb foreground = 0;
bool custom = false;
if (!variantToRgba(var, "foreground", &foreground, &custom))
return;
m_hasForeground = true;
m_explicitForeground = true;
if (m_foreground == foreground)
return;
m_customForeground = custom;
m_foreground = foreground;
propagateForeground();
emit foregroundChanged();
}
void QQuickMaterialStyle::inheritForeground(uint foreground, bool custom, bool has)
{
if (m_explicitForeground || m_foreground == foreground)
return;
m_hasForeground = has;
m_customForeground = custom;
m_foreground = foreground;
propagateForeground();
emit foregroundChanged();
}
void QQuickMaterialStyle::propagateForeground()
{
const auto styles = attachedChildren();
for (QQuickAttachedObject *child : styles) {
QQuickMaterialStyle *material = qobject_cast<QQuickMaterialStyle *>(child);
if (material)
material->inheritForeground(m_foreground, m_customForeground, m_hasForeground);
}
}
void QQuickMaterialStyle::resetForeground()
{
if (!m_explicitForeground)
return;
m_hasForeground = false;
m_customForeground = false;
m_explicitForeground = false;
QQuickMaterialStyle *material = qobject_cast<QQuickMaterialStyle *>(attachedParent());
inheritForeground(material ? material->m_foreground : globalForeground, true, material ? material->m_hasForeground : false);
}
QVariant QQuickMaterialStyle::background() const
{
return backgroundColor();
}
void QQuickMaterialStyle::setBackground(const QVariant &var)
{
QRgb background = 0;
bool custom = false;
if (!variantToRgba(var, "background", &background, &custom))
return;
m_hasBackground = true;
m_explicitBackground = true;
if (m_background == background)
return;
m_customBackground = custom;
m_background = background;
propagateBackground();
emit backgroundChanged();
emit paletteChanged();
}
void QQuickMaterialStyle::inheritBackground(uint background, bool custom, bool has)
{
if (m_explicitBackground || m_background == background)
return;
m_hasBackground = has;
m_customBackground = custom;
m_background = background;
propagateBackground();
emit backgroundChanged();
emit paletteChanged();
}
void QQuickMaterialStyle::propagateBackground()
{
const auto styles = attachedChildren();
for (QQuickAttachedObject *child : styles) {
QQuickMaterialStyle *material = qobject_cast<QQuickMaterialStyle *>(child);
if (material)
material->inheritBackground(m_background, m_customBackground, m_hasBackground);
}
}
void QQuickMaterialStyle::resetBackground()
{
if (!m_explicitBackground)
return;
m_hasBackground = false;
m_customBackground = false;
m_explicitBackground = false;
QQuickMaterialStyle *material = qobject_cast<QQuickMaterialStyle *>(attachedParent());
inheritBackground(material ? material->m_background : globalBackground, true, material ? material->m_hasBackground : false);
}
int QQuickMaterialStyle::elevation() const
{
return m_elevation;
}
void QQuickMaterialStyle::setElevation(int elevation)
{
if (m_elevation == elevation)
return;
m_elevation = elevation;
emit elevationChanged();
}
void QQuickMaterialStyle::resetElevation()
{
setElevation(0);
}
QColor QQuickMaterialStyle::primaryColor() const
{
if (m_customPrimary)
return QColor::fromRgba(m_primary);
if (m_primary > BlueGrey)
return QColor();
return colors[m_primary][Shade500];
}
QColor QQuickMaterialStyle::accentColor(Shade shade) const
{
if (m_customAccent)
return shade == themeShade() ? QColor::fromRgba(m_accent)
: this->shade(QColor::fromRgba(m_accent), shade);
if (m_accent > BlueGrey)
return QColor();
return colors[m_accent][shade];
}
QColor QQuickMaterialStyle::accentColor() const
{
return accentColor(themeShade());
}
QColor QQuickMaterialStyle::backgroundColor(Shade shade) const
{
if (!m_hasBackground)
return QColor::fromRgba(m_theme == Light ? backgroundColorLight : backgroundColorDark);
if (m_customBackground)
return shade == themeShade() ? QColor::fromRgba(m_background)
: this->shade(QColor::fromRgba(m_background), shade);
if (m_background > BlueGrey)
return QColor();
return colors[m_background][shade];
}
QColor QQuickMaterialStyle::backgroundColor() const
{
return backgroundColor(themeShade());
}
QColor QQuickMaterialStyle::primaryTextColor() const
{
return QColor::fromRgba(m_theme == Light ? primaryTextColorLight : primaryTextColorDark);
}
QColor QQuickMaterialStyle::primaryHighlightedTextColor() const
{
if (m_explicitForeground)
return primaryTextColor();
return QColor::fromRgba(primaryTextColorDark);
}
QColor QQuickMaterialStyle::secondaryTextColor() const
{
return QColor::fromRgba(m_theme == Light ? secondaryTextColorLight : secondaryTextColorDark);
}
QColor QQuickMaterialStyle::hintTextColor() const
{
return QColor::fromRgba(m_theme == Light ? hintTextColorLight : hintTextColorDark);
}
QColor QQuickMaterialStyle::textSelectionColor() const
{
QColor color = accentColor();
color.setAlphaF(0.4);
return color;
}
QColor QQuickMaterialStyle::dropShadowColor() const
{
return QColor::fromRgba(0x40000000);
}
QColor QQuickMaterialStyle::dividerColor() const
{
return QColor::fromRgba(m_theme == Light ? dividerColorLight : dividerColorDark);
}
QColor QQuickMaterialStyle::iconColor() const
{
return QColor::fromRgba(m_theme == Light ? iconColorLight : iconColorDark);
}
QColor QQuickMaterialStyle::iconDisabledColor() const
{
return QColor::fromRgba(m_theme == Light ? iconDisabledColorLight : iconDisabledColorDark);
}
QColor QQuickMaterialStyle::buttonColor(bool highlighted) const
{
Shade shade = themeShade();
QColor color = Qt::transparent;
if (m_explicitBackground) {
color = backgroundColor(shade);
} else if (highlighted) {
color = accentColor(shade);
} else if (elevation() > 0) {
color = QColor::fromRgba(m_theme == Light ? raisedButtonColorLight
: raisedButtonColorDark);
}
return color;
}
QColor QQuickMaterialStyle::buttonColor() const
{
return buttonColor(false);
}
QColor QQuickMaterialStyle::buttonDisabledColor() const
{
if (elevation() > 0) {
return QColor::fromRgba(m_theme == Light ? raisedButtonDisabledColorLight
: raisedButtonDisabledColorDark);
} else {
return Qt::transparent;
}
}
QColor QQuickMaterialStyle::highlightedButtonColor() const
{
return buttonColor(true);
}
QColor QQuickMaterialStyle::frameColor() const
{
return QColor::fromRgba(m_theme == Light ? frameColorLight : frameColorDark);
}
QColor QQuickMaterialStyle::rippleColor() const
{
return QColor::fromRgba(m_theme == Light ? rippleColorLight : rippleColorDark);
}
QColor QQuickMaterialStyle::highlightedRippleColor() const
{
QColor pressColor = accentColor();
pressColor.setAlpha(m_theme == Light ? 30 : 50);
return pressColor;
}
QColor QQuickMaterialStyle::switchUncheckedTrackColor() const
{
return QColor::fromRgba(m_theme == Light ? switchUncheckedTrackColorLight : switchUncheckedTrackColorDark);
}
QColor QQuickMaterialStyle::switchCheckedTrackColor() const
{
QColor trackColor(accentColor());
trackColor.setAlphaF(0.5);
return trackColor;
}
QColor QQuickMaterialStyle::switchUncheckedHandleColor() const
{
return m_theme == Light ? color(Grey, Shade50) : color(Grey, Shade400);
}
QColor QQuickMaterialStyle::switchCheckedHandleColor() const
{
return m_theme == Light ? accentColor() : shade(accentColor(), Shade200);
}
QColor QQuickMaterialStyle::switchDisabledTrackColor() const
{
return QColor::fromRgba(m_theme == Light ? switchDisabledTrackColorLight : switchDisabledTrackColorDark);
}
QColor QQuickMaterialStyle::switchDisabledHandleColor() const
{
return m_theme == Light ? color(Grey, Shade400) : color(Grey, Shade800);
}
QColor QQuickMaterialStyle::scrollBarColor() const
{
return QColor::fromRgba(m_theme == Light ? 0x40000000 : 0x40FFFFFF);
}
QColor QQuickMaterialStyle::scrollBarHoveredColor() const
{
return QColor::fromRgba(m_theme == Light ? 0x60000000 : 0x60FFFFFF);
}
QColor QQuickMaterialStyle::scrollBarPressedColor() const
{
return QColor::fromRgba(m_theme == Light ? 0x80000000 : 0x80FFFFFF);
}
QColor QQuickMaterialStyle::dialogColor() const
{
if (m_hasBackground)
return backgroundColor();
return QColor::fromRgba(m_theme == Light ? dialogColorLight : dialogColorDark);
}
QColor QQuickMaterialStyle::backgroundDimColor() const
{
return QColor::fromRgba(m_theme == Light ? 0x99303030 : 0x99fafafa);
}
QColor QQuickMaterialStyle::listHighlightColor() const
{
return QColor::fromRgba(m_theme == Light ? 0x1e000000 : 0x1effffff);
}
QColor QQuickMaterialStyle::tooltipColor() const
{
if (m_explicitBackground)
return backgroundColor();
return color(Grey, Shade700);
}
QColor QQuickMaterialStyle::toolBarColor() const
{
if (m_explicitBackground)
return backgroundColor();
return primaryColor();
}
QColor QQuickMaterialStyle::toolTextColor() const
{
if (m_hasForeground || m_customPrimary)
return primaryTextColor();
switch (m_primary) {
case Red:
case Pink:
case Purple:
case DeepPurple:
case Indigo:
case Blue:
case Teal:
case DeepOrange:
case Brown:
case BlueGrey:
return QColor::fromRgba(primaryTextColorDark);
case LightBlue:
case Cyan:
case Green:
case LightGreen:
case Lime:
case Yellow:
case Amber:
case Orange:
case Grey:
return QColor::fromRgba(primaryTextColorLight);
default:
break;
}
return primaryTextColor();
}
QColor QQuickMaterialStyle::spinBoxDisabledIconColor() const
{
return QColor::fromRgba(m_theme == Light ? spinBoxDisabledIconColorLight : spinBoxDisabledIconColorDark);
}
QColor QQuickMaterialStyle::color(QQuickMaterialStyle::Color color, QQuickMaterialStyle::Shade shade) const
{
int count = sizeof(colors) / sizeof(colors[0]);
if (color < 0 || color >= count)
return QColor();
count = sizeof(colors[0]) / sizeof(colors[0][0]);
if (shade < 0 || shade >= count)
return QColor();
return colors[color][shade];
}
static QColor lighterShade(const QColor &color, qreal amount)
{
QColor hsl = color.toHsl();
hsl.setHslF(hsl.hueF(), hsl.saturationF(), qBound<qreal>(0.0, hsl.lightnessF() + amount, 1.0), color.alphaF());
return hsl.convertTo(color.spec());
}
static QColor darkerShade(const QColor &color, qreal amount)
{
QColor hsl = color.toHsl();
hsl.setHslF(hsl.hueF(), hsl.saturationF(), qBound<qreal>(0.0, hsl.lightnessF() - amount, 1.0), color.alphaF());
return hsl.convertTo(color.spec());
}
QQuickMaterialStyle::Shade QQuickMaterialStyle::themeShade() const
{
return m_theme == Light ? Shade500 : Shade200;
}
/*
* The following lightness values originate from the Material Design Color Generator project.
*
* The MIT License (MIT)
*
* Copyright (c) 2015 mbitson
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
// Returns the same color, if shade == themeShade()
QColor QQuickMaterialStyle::shade(const QColor &color, Shade shade) const
{
switch (shade) {
case Shade50:
return lighterShade(color, m_theme == Light ? 0.52 : 0.26);
case Shade100:
return lighterShade(color, m_theme == Light ? 0.37 : 0.11);
case Shade200:
return m_theme == Light ? lighterShade(color, 0.26) : color;
case Shade300:
return m_theme == Light ? lighterShade(color, 0.12) : darkerShade(color, 0.14);
case Shade400:
return m_theme == Light ? lighterShade(color, 0.06) : darkerShade(color, 0.20);
case Shade500:
return m_theme == Light ? color : darkerShade(color, 0.26);
case Shade600:
return darkerShade(color, m_theme == Light ? 0.06 : 0.32);
case Shade700:
return darkerShade(color, m_theme == Light ? 0.12 : 0.38);
case Shade800:
return darkerShade(color, m_theme == Light ? 0.18 : 0.44);
case Shade900:
return darkerShade(color, m_theme == Light ? 0.24 : 0.50);
case ShadeA100:
return lighterShade(color, m_theme == Light ? 0.54 : 0.28);
case ShadeA200:
return lighterShade(color, m_theme == Light ? 0.37 : 0.11);
case ShadeA400:
return m_theme == Light ? lighterShade(color, 0.06) : darkerShade(color, 0.20);
case ShadeA700:
return darkerShade(color, m_theme == Light ? 0.12 : 0.38);
default:
Q_UNREACHABLE();
return QColor();
}
}
int QQuickMaterialStyle::touchTarget() const
{
// https://material.io/guidelines/components/buttons.html#buttons-style
return globalVariant == Dense ? 44 : 48;
}
int QQuickMaterialStyle::buttonHeight() const
{
// https://material.io/guidelines/components/buttons.html#buttons-style
return globalVariant == Dense ? 32 : 36;
}
int QQuickMaterialStyle::delegateHeight() const
{
// https://material.io/guidelines/components/lists.html#lists-specs
return globalVariant == Dense ? 40 : 48;
}
int QQuickMaterialStyle::dialogButtonBoxHeight() const
{
return globalVariant == Dense ? 48 : 52;
}
int QQuickMaterialStyle::frameVerticalPadding() const
{
return globalVariant == Dense ? 8 : 12;
}
int QQuickMaterialStyle::menuItemHeight() const
{
// https://material.io/guidelines/components/menus.html#menus-simple-menus
return globalVariant == Dense ? 32 : 48;
}
int QQuickMaterialStyle::menuItemVerticalPadding() const
{
return globalVariant == Dense ? 8 : 12;
}
int QQuickMaterialStyle::switchDelegateVerticalPadding() const
{
// SwitchDelegate's indicator is much larger than the others due to the shadow,
// so we must reduce its padding to ensure its implicitHeight is 40 when dense.
return globalVariant == Dense ? 4 : 8;
}
int QQuickMaterialStyle::tooltipHeight() const
{
// https://material.io/guidelines/components/tooltips.html
return globalVariant == Dense ? 22 : 32;
}
QQuickMaterialStyle::Variant QQuickMaterialStyle::variant()
{
return globalVariant;
}
template <typename Enum>
static Enum toEnumValue(const QByteArray &value, bool *ok)
{
QMetaEnum enumeration = QMetaEnum::fromType<Enum>();
return static_cast<Enum>(enumeration.keyToValue(value, ok));
}
static QByteArray resolveSetting(const QByteArray &env, const QSharedPointer<QSettings> &settings, const QString &name)
{
QByteArray value = qgetenv(env);
#if QT_CONFIG(settings)
if (value.isNull() && !settings.isNull())
value = settings->value(name).toByteArray();
#endif
return value;
}
void QQuickMaterialStyle::initGlobals()
{
QSharedPointer<QSettings> settings = QQuickStylePrivate::settings(QStringLiteral("Material"));
bool ok = false;
QByteArray themeValue = resolveSetting("QT_QUICK_CONTROLS_MATERIAL_THEME", settings, QStringLiteral("Theme"));
Theme themeEnum = toEnumValue<Theme>(themeValue, &ok);
if (ok)
globalTheme = effectiveTheme(themeEnum);
else if (!themeValue.isEmpty())
qWarning().nospace().noquote() << "Material: unknown theme value: " << themeValue;
QByteArray variantValue = resolveSetting("QT_QUICK_CONTROLS_MATERIAL_VARIANT", settings, QStringLiteral("Variant"));
Variant variantEnum = toEnumValue<Variant>(variantValue, &ok);
if (ok)
globalVariant = variantEnum;
else if (!variantValue.isEmpty())
qWarning().nospace().noquote() << "Material: unknown variant value: " << variantValue;
QByteArray primaryValue = resolveSetting("QT_QUICK_CONTROLS_MATERIAL_PRIMARY", settings, QStringLiteral("Primary"));
Color primaryEnum = toEnumValue<Color>(primaryValue, &ok);
if (ok) {
globalPrimaryCustom = false;
globalPrimary = primaryEnum;
} else {
QColor color(primaryValue.constData());
if (color.isValid()) {
globalPrimaryCustom = true;
globalPrimary = color.rgba();
} else if (!primaryValue.isEmpty()) {
qWarning().nospace().noquote() << "Material: unknown primary value: " << primaryValue;
}
}
QByteArray accentValue = resolveSetting("QT_QUICK_CONTROLS_MATERIAL_ACCENT", settings, QStringLiteral("Accent"));
Color accentEnum = toEnumValue<Color>(accentValue, &ok);
if (ok) {
globalAccentCustom = false;
globalAccent = accentEnum;
} else if (!accentValue.isEmpty()) {
QColor color(accentValue.constData());
if (color.isValid()) {
globalAccentCustom = true;
globalAccent = color.rgba();
} else {
qWarning().nospace().noquote() << "Material: unknown accent value: " << accentValue;
}
}
QByteArray foregroundValue = resolveSetting("QT_QUICK_CONTROLS_MATERIAL_FOREGROUND", settings, QStringLiteral("Foreground"));
Color foregroundEnum = toEnumValue<Color>(foregroundValue, &ok);
if (ok) {
globalForegroundCustom = false;
globalForeground = foregroundEnum;
hasGlobalForeground = true;
} else if (!foregroundValue.isEmpty()) {
QColor color(foregroundValue.constData());
if (color.isValid()) {
globalForegroundCustom = true;
globalForeground = color.rgba();
hasGlobalForeground = true;
} else {
qWarning().nospace().noquote() << "Material: unknown foreground value: " << foregroundValue;
}
}
QByteArray backgroundValue = resolveSetting("QT_QUICK_CONTROLS_MATERIAL_BACKGROUND", settings, QStringLiteral("Background"));
Color backgroundEnum = toEnumValue<Color>(backgroundValue, &ok);
if (ok) {
globalBackgroundCustom = false;
globalBackground = backgroundEnum;
hasGlobalBackground = true;
} else if (!backgroundValue.isEmpty()) {
QColor color(backgroundValue.constData());
if (color.isValid()) {
globalBackgroundCustom = true;
globalBackground = color.rgba();
hasGlobalBackground = true;
} else {
qWarning().nospace().noquote() << "Material: unknown background value: " << backgroundValue;
}
}
}
void QQuickMaterialStyle::attachedParentChange(QQuickAttachedObject *newParent, QQuickAttachedObject *oldParent)
{
Q_UNUSED(oldParent);
QQuickMaterialStyle *material = qobject_cast<QQuickMaterialStyle *>(newParent);
if (material) {
inheritPrimary(material->m_primary, material->m_customPrimary);
inheritAccent(material->m_accent, material->m_customAccent);
inheritForeground(material->m_foreground, material->m_customForeground, material->m_hasForeground);
inheritBackground(material->m_background, material->m_customBackground, material->m_hasBackground);
inheritTheme(material->theme());
}
}
bool QQuickMaterialStyle::variantToRgba(const QVariant &var, const char *name, QRgb *rgba, bool *custom) const
{
*custom = false;
if (var.type() == QVariant::Int) {
int val = var.toInt();
if (val > BlueGrey) {
qmlWarning(parent()) << "unknown Material." << name << " value: " << val;
return false;
}
*rgba = val;
} else {
int val = QMetaEnum::fromType<Color>().keyToValue(var.toByteArray());
if (val != -1) {
*rgba = val;
} else {
QColor color(var.toString());
if (!color.isValid()) {
qmlWarning(parent()) << "unknown Material." << name << " value: " << var.toString();
return false;
}
*custom = true;
*rgba = color.rgba();
}
}
return true;
}
}/*namespace sstd*/
| [
"zhaixueqiang@hotmail.com"
] | zhaixueqiang@hotmail.com |
1e8df4cfaf964b2859e9496d7dc5def024d2cb02 | a61a21484fa9d29152793b0010334bfe2fed71eb | /Skyrim/include/Skyrim/ExtraData/ExtraStartingPosition.h | 5ef9a4cddb82e7961209b441ab6a1adaba3924aa | [] | no_license | kassent/IndividualizedShoutCooldowns | 784e3c62895869c7826dcdbdeea6e8e177e8451c | f708063fbc8ae21ef7602e03b4804ae85518f551 | refs/heads/master | 2021-01-19T05:22:24.794134 | 2017-04-06T13:00:19 | 2017-04-06T13:00:19 | 87,429,558 | 3 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 345 | h | #pragma once
#include "BSExtraData.h"
class ExtraStartingPosition : public BSExtraData
{
public:
enum { kExtraTypeID = (UInt32)ExtraDataType::StartingPosition };
UInt32 unk08;
UInt32 unk0C;
UInt32 unk10;
UInt32 unk14;
UInt32 unk18;
UInt32 unk1C;
UInt32 unk20;
private:
DEFINE_MEMBER_FN(ctor, void, 0x0040DC50, UInt32 unk);
};
| [
"wangzhengzewzz@gmail.com"
] | wangzhengzewzz@gmail.com |
eaad1fcc1756dce6dab6c7252d41a6edd3d81d37 | 8f1cbcc65e9ee64c39d3943e31e72dc660270651 | /Utilities/TestUtilities/TestUtilities.h | e65e29bc0402b72afbd6690d906a285c66e6e8f2 | [] | no_license | chetalimahore/Key-Value-NoSQL-Database | bd79b0aaf18e5fdc69b1f14a76827ca9bdf5738c | 80e5450bc969dc6d74037553f94ac614aedf00e3 | refs/heads/master | 2020-04-02T03:01:47.491538 | 2018-10-20T20:27:08 | 2018-10-20T20:27:08 | 153,941,956 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,343 | h | #pragma once
///////////////////////////////////////////////////////////////////////
// TestUtilities.h - provides single-user test harness //
// ver 1.0 //
// Language: C++, Visual Studio 2017 //
// Application: Most Projects, CSE687 - Object Oriented Design //
// Author: Jim Fawcett, Syracuse University, CST 4-187 //
// jfawcett@twcny.rr.com //
///////////////////////////////////////////////////////////////////////
/*
* Package Operations:
* -------------------
* This package provides classes:
* - TestExecutor Executes single test in the context of a try-catch block
* - TestExecutive Uses TestExecutor to run a sequence of tests
*
* Required Files:
* ---------------
* TestUtilities.h
*
* Maintenance History:
* --------------------
* ver 1.0 : 12 Jan 2018
* - first release
* - refactored from earlier Utilities.h
*
* Notes:
* ------
* - Designed to provide all functionality in header file.
* - Implementation file only needed for test and demo.
*
* Planned Additions and Changes:
* ------------------------------
* - none yet
*/
#include <vector>
/////////////////////////////////////////////////////////////////////
// TestExecutor class
// - supports execution of callable objects for testing in the
// context of a try-catch block.
template<typename T>
class TestExecutor
{
public:
bool execute(T t, const std::string& name, std::ostream& out = std::cout);
private:
void check(bool result, std::ostream& out);
};
//----< execute tests in the context of a try-catch block >----------
template <typename T>
bool TestExecutor<T>::execute(T t, const std::string& name, std::ostream& out)
{
bool result = false;
try
{
result = t();
check(result, out);
out << " -- \"" << name << "\"\n";
}
catch (std::exception& ex)
{
check(false, out);
out << " -- \"" << name << "\" ";
out << ex.what() << "\n";
}
return result;
}
//----< display test results >---------------------------------------
template<typename T>
void TestExecutor<T>::check(bool result, std::ostream& out)
{
if (result)
out << " passed";
else
out << " failed";
}
///////////////////////////////////////////////////////////////////////
// TestExecutive class
// - executes a sequence of tests with the help of TestExecutor
class TestExecutive
{
public:
using Test = std::function<bool()>; //function pointer - fucntions with names that will return the value
using TestStr = struct {
Test test; //
std::string testName;
};
using Tests = std::vector<TestStr>;
bool doTests();
void registerTest(Test t, const std::string& testName);
void registerTest(TestStr ts);
private:
Tests tests_;
};
inline void TestExecutive::registerTest(Test t, const std::string& testName)
{
TestStr ts{ t, testName };
tests_.push_back(ts);
}
inline void TestExecutive::registerTest(TestStr ts)
{
tests_.push_back(ts);
}
inline bool TestExecutive::doTests()
{
TestExecutor<Test> tester; //iterate through all the tests
bool result = true;
for (auto item : tests_)
{
bool tResult = tester.execute(item.test, item.testName);
if (tResult == false)
result = false;
}
return result;
}
| [
"chetalimahore@gmail.com"
] | chetalimahore@gmail.com |
5553d7f235a39aaa70e2881f5932b1d08de0a866 | 7ce14764f52b954ba890bdd2b1696822ffc4f537 | /sensor_hal/libsensors/sensor-daemon.cpp | 64de8f332779455e928a6397cc0c520dc908b592 | [] | no_license | batoom/test | 55f7cafff368efbd16dbc9150fb8208461120339 | 5a17b4e9301e85ce4129d7aa5cfc49a499f942a4 | refs/heads/master | 2016-09-05T17:29:36.373753 | 2012-04-13T09:46:22 | 2012-04-13T09:46:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,719 | cpp | #include <stdio.h>
#define LOG_TAG "RzSensD"
#include <cutils/properties.h>
#include <utils/Log.h>
#include <utils/Timers.h>
#include <utils/threads.h>
#include <utils/Errors.h>
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#include <fcntl.h>
#include <memory.h>
#include <errno.h>
#include <assert.h>
#include <string.h>
#include <stdint.h>
#include <dirent.h>
#ifdef HAVE_INOTIFY
# include <sys/inotify.h>
#endif
#ifdef HAVE_ANDROID_OS
# include <sys/limits.h> /* not part of Linux */
#endif
#include <sys/poll.h>
#include <sys/ioctl.h>
#include <linux/input.h>
#include <hardware/sensors.h>
#include <cutils/sockets.h>
#include <map>
#define HMC5883
#ifdef HMC5883
#include <math.h>
extern "C"{
#include <HMSHardIronCal.h>
#include <HMSHeading.h>
}
#define PI 3.1415926535897932f
#endif
using namespace std;
struct sensor_iio_t {
const char *classic_name;
const char *dev_path;
void (*handle_sensor_event)();
};
struct sensor_info_t {
const char *classic_name;
const char *dev_name;
const char *dev_path;
int fd;
void (*handle_sensor_event)(int fd);
};
#define fatal() do { \
LOGE("Error: %s %d\n", __FUNCTION__, __LINE__); \
exit(-1); \
} while (0)
static int g_timer_triggered;
static int g_accl[3];
static int g_lux;
static bool g_lux_updated;
static void handle_acceleration(int fd)
{
struct input_event iev;
if (read(fd, &iev, sizeof(iev)) != sizeof(iev)) {
return;
}
if (iev.type == EV_ABS && iev.code < 3) {
g_accl[iev.code] = iev.value;
}
}
static void handle_light_sensor();
static void handle_compass_sensor();
sensor_iio_t sensors_iio_info [] = {
{
"light",
"/sys/devices/platform/tegra_i2c.0/i2c-0/0-0044/iio/device0/lux",
handle_light_sensor,
},
{
//"magnetic-field",
"orientation",
"/dev/hmc5883",
handle_compass_sensor,
}
};
#define NUM_IIO_SENSORS (sizeof(sensors_iio_info) / sizeof(sensors_iio_info[0]))
static void handle_light_sensor()
{
static bool got_path = false;
static const char * lux_path = NULL;
if (got_path == false) {
got_path == true;
for (int i=0; i < NUM_IIO_SENSORS; i++) {
if (!strcmp(sensors_iio_info[i].classic_name, "light")) {
lux_path = sensors_iio_info[i].dev_path;
break;
}
}
}
if (lux_path == NULL) {
LOGE("Error: no light sensor config at %s %d\n", __FUNCTION__, __LINE__);
return;
}
FILE* fp = fopen(lux_path, "r");
if (fp == NULL) {
LOGE("Error: open %s failed at %s %d\n", lux_path, __FUNCTION__, __LINE__);
return;
}
char buff[1024];
long int lux = 0;
if (fgets(buff, sizeof buff, fp) == NULL) {
LOGE("Error: no light sensor data at %s %d\n", __FUNCTION__, __LINE__);
goto final;
}
lux = strtol(buff, NULL, 0);
g_lux = lux;
g_lux_updated = true;
final:
fclose(fp);
}
struct compass_data_t {
short x;
short y;
short z;
};
static struct compass_data_t g_compass_data;
static bool g_compass_updated;
static void handle_compass_sensor()
{
static bool got_path = false;
static const char * compass_path = NULL;
if (got_path == false) {
got_path == true;
for (int i=0; i < NUM_IIO_SENSORS; i++) {
// if (!strcmp(sensors_iio_info[i].classic_name, "magnetic-field")) {
if (!strcmp(sensors_iio_info[i].classic_name, "orientation")) {
compass_path = sensors_iio_info[i].dev_path;
break;
}
}
}
if (compass_path == NULL) {
LOGE("Error: no light sensor config at %s %d\n", __FUNCTION__, __LINE__);
return;
}
FILE* fp = fopen(compass_path, "r");
if (fp == NULL) {
LOGE("Error: open %s failed at %s %d\n", compass_path, __FUNCTION__, __LINE__);
return;
}
compass_data_t compass_data;
if (fread(&compass_data, sizeof compass_data, 1, fp) != 1) {
LOGE("Error: no compass sensor data at %s %d\n", __FUNCTION__, __LINE__);
goto final;
}
g_compass_data = compass_data;
g_compass_updated = true;
final:
fclose(fp);
}
sensor_info_t sensors_info [] = {
{
"acceleration",
"accelerometer_tegra",
NULL,
-1,
handle_acceleration,
},
};
#define NUM_SENSORS (sizeof(sensors_info)/sizeof(sensors_info[0]))
class dev_obj_t
{
public:
int fd;
typedef void (*handle_dev_t)(int fd);
handle_dev_t handle_dev;
dev_obj_t(int fd, handle_dev_t handle_dev) {
this->fd = fd;
this->handle_dev = handle_dev;
}
};
static map<int, dev_obj_t*> g_dev_input;
static int open_device(const char *deviceName)
{
int fd;
char name[80];
fd = open(deviceName, O_RDWR);
if(fd < 0) {
LOGE("could not open %s, %s\n", deviceName, strerror(errno));
return -1;
}
name[sizeof(name) - 1] = '\0';
if(ioctl(fd, EVIOCGNAME(sizeof(name) - 1), &name) < 1) {
name[0] = '\0';
}
for (unsigned int i=0; i < NUM_SENSORS; i++) {
if (!strncmp(name, sensors_info[i].dev_name, strlen(sensors_info[i].dev_name))) {
g_dev_input[fd] = new dev_obj_t(fd, sensors_info[i].handle_sensor_event);
sensors_info[i].dev_path = strdup(deviceName);
sensors_info[i].fd = fd;
return 0;
}
}
close(fd);
return 0;
}
static int scan_dir(const char *dirname)
{
char devname[PATH_MAX];
char *filename;
DIR *dir;
struct dirent *de;
dir = opendir(dirname);
if(dir == NULL)
return -1;
strcpy(devname, dirname);
filename = devname + strlen(devname);
*filename++ = '/';
while((de = readdir(dir))) {
if(de->d_name[0] == '.' &&
(de->d_name[1] == '\0' ||
(de->d_name[1] == '.' && de->d_name[2] == '\0')))
continue;
strcpy(filename, de->d_name);
open_device(devname);
}
closedir(dir);
return 0;
}
static void list_sensors(FILE* fp)
{
for (unsigned int i=0; i < NUM_SENSORS; i++)
{
if (sensors_info[i].fd >= 0) {
fprintf(fp, "%s\n", sensors_info[i].classic_name);
}
}
for (unsigned int i=0; i < NUM_IIO_SENSORS; i++) {
fprintf(fp, "%s\n", (sensors_iio_info[i].classic_name));
}
fprintf(fp, "end-of-sensors\n");
}
class input_obj_t
{
public:
int ifd;
int ofd;
int started;
FILE* ifile;
FILE* ofile;
public:
~input_obj_t();
input_obj_t(int ifd, FILE* ifile, int ofd, FILE* ofile);
};
class accept_obj_t
{
public:
int fd;
accept_obj_t(int fd) {
this->fd = fd;
}
};
static map<int, input_obj_t*> g_cmd_input;
static map<int, accept_obj_t*> g_accept_input;
static void init_timer(unsigned int ms)
{
if (ms < 20) {
ms = 20;
}
//assert(ms < 1000000);
struct timeval tv = {0, ms * 1000};
struct itimerval itv = {tv, tv};
setitimer(ITIMER_REAL, &itv, NULL);
}
//get rid of the NL char at the end of a string
void chomp(char *buff)
{
for (int i=0; buff[i]; i++) {
if (buff[i] == '\n') {
buff[i] = 0;
break;
}
}
}
static void handle_commands(const int fd)
{
LOGD("%s: %d: fd is %d", __FUNCTION__, __LINE__, fd);
char buff[1024];
if (fgets(buff, 1024, g_cmd_input[fd]->ifile) == NULL) {
delete g_cmd_input[fd];
g_cmd_input.erase(fd);
if (g_cmd_input.empty() && g_accept_input.empty()) {
LOGD("exit: no more input! %s: %d\n", __FUNCTION__, __LINE__);
exit(0);
}
return;
}
chomp(buff);
LOGD("%s: %d: got cmd: %s", __FUNCTION__, __LINE__, buff);
int msec;
if (sscanf(buff, "set-delay:%d", &msec) == 1) {
if (msec < 20) {
msec = 20;
}
init_timer(msec);
} else if (!strcmp(buff, "list-sensors")) {
FILE* fp = g_cmd_input[fd]->ofile;
list_sensors(fp);
} else if (!strcmp(buff, "start")) {
g_cmd_input[fd]->started = 1;
} else {
LOGE("unknown command: %s %d", __FUNCTION__, __LINE__);
}
}
static void alarm_handler(int host_signum)
{
g_timer_triggered = 1;
}
static int64_t
data__now_ms(void)
{
struct timespec ts;
clock_gettime(CLOCK_MONOTONIC, &ts);
return (int64_t)ts.tv_sec * 1000000 + ts.tv_nsec/1000;
}
int g_daemon_mode;
#define CONTROL_SOCKET_NAME "sensor_daemon"
static void setup_signal()
{
struct sigaction act;
sigfillset(&act.sa_mask);
act.sa_flags = 0;
act.sa_handler = alarm_handler;
sigaction(SIGALRM, &act, NULL);
}
struct pollfds_t {
int nfds;
int capcity;
struct pollfd* pfds;
};
static int
fd_accept(int fd)
{
struct sockaddr from;
socklen_t fromlen = sizeof(from);
int ret;
do {
ret = accept(fd, &from, &fromlen);
} while (ret < 0 && errno == EINTR);
LOGD("%s: %d ret is %d", __FUNCTION__, __LINE__, ret);
return ret;
}
input_obj_t::input_obj_t(int ifd, FILE* ifile, int ofd, FILE* ofile)
{
this->ifd = ifd;
this->ifile = ifile;
this->ofd = ofd;
this->ofile = ofile;
this->started = 0;
}
input_obj_t::~input_obj_t()
{
fclose(ifile);
if (ofile != ifile) {
fclose(ofile);
}
// just in case
close(ifd);
close(ofd);
}
template <class keytype, class valtype>
bool contains(const map<keytype, valtype>& map_obj, const keytype& key)
{
return map_obj.find(key) != map_obj.end();
}
void handle_dev(const int fd)
{
g_dev_input[fd]->handle_dev(fd);
}
void handle_poll_result(const struct pollfd& pollfd)
{
if (contains(g_accept_input, pollfd.fd)) {
int ret = fd_accept(pollfd.fd);
if (ret < 0) {
LOGE("%s %d: %s", __FUNCTION__, __LINE__, strerror(errno));
return;
} else {
FILE* fp = fdopen(ret, "r+");
if (fp == NULL) {
fatal();
}
setlinebuf(fp);
g_cmd_input[ret] = new input_obj_t(ret, fp, ret, fp);
}
} else if (contains(g_cmd_input, pollfd.fd)) {
handle_commands(pollfd.fd);
} else if (contains(g_dev_input, pollfd.fd)) {
handle_dev(pollfd.fd);
} else {
LOGE("%s %d: eh?", __FUNCTION__, __LINE__);
}
}
int fill_write_fds(pollfds_t& pollfds) {
int nfds = g_cmd_input.size();
if (pollfds.capcity < nfds) {
pollfds.capcity = nfds + 5;
pollfds.pfds = (struct pollfd*) realloc(pollfds.pfds, pollfds.capcity * sizeof(struct pollfd));
if (pollfds.pfds == NULL) {
fatal();
}
}
pollfds.nfds = nfds;
int i = 0;
for (map<int, input_obj_t*>::const_iterator it = g_cmd_input.begin();
it != g_cmd_input.end();
it ++) {
pollfds.pfds[i].fd = it->second->ofd;
pollfds.pfds[i].events = POLLOUT;
pollfds.pfds[i].revents = 0;
i++;
}
return 0;
}
int fill_pollfds(pollfds_t& pollfds)
{
int nfds = g_accept_input.size() + g_cmd_input.size() + g_dev_input.size();
if (nfds == 0) {
fatal();
}
if (pollfds.capcity < nfds) {
pollfds.capcity = nfds + 5;
pollfds.pfds = (struct pollfd*) realloc(pollfds.pfds, pollfds.capcity * sizeof(struct pollfd));
if (pollfds.pfds == NULL) {
fatal();
}
}
pollfds.nfds = nfds;
int i = 0;
for (map<int, accept_obj_t*>::const_iterator it = g_accept_input.begin();
it != g_accept_input.end();
it ++) {
pollfds.pfds[i].fd = it->first;
pollfds.pfds[i].events = POLLIN;
pollfds.pfds[i].revents = 0;
i++;
}
for (map<int, input_obj_t*>::const_iterator it = g_cmd_input.begin();
it != g_cmd_input.end();
it ++) {
pollfds.pfds[i].fd = it->first;
pollfds.pfds[i].events = POLLIN;
pollfds.pfds[i].revents = 0;
i++;
}
for (map<int, dev_obj_t*>::const_iterator it = g_dev_input.begin();
it != g_dev_input.end();
it ++) {
pollfds.pfds[i].fd = it->first;
pollfds.pfds[i].events = POLLIN;
pollfds.pfds[i].revents = 0;
i++;
}
return 0;
}
static int fprintf_if_started(FILE* fp, const char* fmt, ...)
{
for (map<int, input_obj_t*>::const_iterator it = g_cmd_input.begin();
it != g_cmd_input.end();
it ++) {
if (it->second->ofile == fp && !it->second->started) {
return 0;
}
}
va_list ap;
va_start(ap, fmt);
int ret = vfprintf(fp, fmt, ap);
va_end(ap);
return ret;
}
//
static int compass_data[3];
static float orietation_data[3];
static float sensor_angle[3];
static int Calculate_Sensor_Angle(void)
{
float ipitch, iroll;
float tmp = 0;
float x, y, z;
x = orietation_data[0];
y = orietation_data[1];
z = orietation_data[2];
//ipitch
if (y != 0)
{
tmp = z/y;
ipitch = atan(tmp)*180/PI;
}
else
ipitch = (z>0)?90:-90;
if (z <= 0)
{
if (y >= 0)
ipitch = 90 + ipitch;
else
ipitch = ipitch - 90;//180
}
else
{
if (y >= 0)
ipitch = ipitch - 90;
else
ipitch = 90 + ipitch;
}
sensor_angle[1] = ((int)(ipitch*10 + 0.5))/10.0;
// roll
if (x!=0)
{
tmp = z/x;
iroll = atan(tmp)*180/PI;
}
else
iroll = (z>0)?90:-90;
if (z <= 0)
{
if (x >= 0)
iroll = iroll + 90;
else
iroll = iroll - 90;
}
else
{
if (x >= 0)
iroll = iroll + 90 ;
else
iroll = iroll - 90 ;
}
sensor_angle[2] = ((int)(iroll*10 + 0.5))/10.0;
// DBG("cruise Calculate_Sensor_Angle : ******** [Y]:%f [Z]:%f ******\n", sensor_angle[1], sensor_angle[2]);
return 0;
}
static void calculate_compass()
{
int magX = 0; int magY = 0; int magZ = 0;
static int count = 0;
int iResult;
int offsets[3] = {0};
double dHeading = 0;
float accForward;
float accLeft;
orietation_data[0] = g_accl[0];
orietation_data[1] = g_accl[1];
orietation_data[2] = g_accl[2];
compass_data[0] = g_compass_data.y;
compass_data[1] = -g_compass_data.x;
compass_data[2] = g_compass_data.z;
magX = compass_data[0];
magY = compass_data[1];
magZ = compass_data[2];
count++;
if (count < 120){
CollectDataItem(magX, magY, magZ);
//LOGE("CollectData.\n");
}
iResult = Calibrate(&offsets[0]);
// Elsewhere in the application, getting magnetic data and correcting out the
// hard iron disturbances
magX -= offsets[0];
magY -= offsets[1];
magZ -= offsets[2];
//Magnetic field data is now ready to be used
accForward = 0;
accLeft = 0;
dHeading = Heading(-magX,magY,magZ,accForward ,accLeft);
if (dHeading >0)
{
// Use the Heading Value
g_compass_data.x = dHeading;
}
Calculate_Sensor_Angle();
g_compass_data.y = sensor_angle[1];
g_compass_data.z = sensor_angle[2];
}
static void handle_write_poll_result(const struct pollfd& pfd)
{
for (map<int, input_obj_t*>::const_iterator it = g_cmd_input.begin();
it != g_cmd_input.end();
it ++) {
if (it->second->ofd == pfd.fd) {
fprintf_if_started(it->second->ofile, "acceleration:%g:%g:%g\n",
GRAVITY_EARTH * g_accl[1]/1000,
GRAVITY_EARTH * g_accl[0]/1000,
GRAVITY_EARTH * g_accl[2]/1000);
if (g_lux_updated) {
fprintf_if_started(it->second->ofile, "light:%g\n", (float)g_lux);
}
if (g_compass_updated) {
calculate_compass();
fprintf_if_started(it->second->ofile, "magnetic:%d:%d:%d\n", g_compass_data.x, g_compass_data.y, g_compass_data.z);
}
fprintf_if_started(it->second->ofile, "sync:%lld\n", data__now_ms());
}
}
g_lux_updated = false;
}
int main(int argc, char *argv[])
{
LOGD("%s: %d", __FUNCTION__, __LINE__);
int fd = android_get_control_socket(CONTROL_SOCKET_NAME);
if (fd < 0) {
LOGE("couldn't get fd for control socket '%s', running as non-daemon", CONTROL_SOCKET_NAME);
g_cmd_input[0] = new input_obj_t(0, stdin, 1, stdout);
setlinebuf(stdout);
} else {
g_accept_input[fd] = new accept_obj_t(fd);
listen(fd, 5);
}
scan_dir("/dev/input");
setup_signal();
init_timer(200);
pollfds_t pollfds = {0, 0, NULL};
pollfds_t write_fds = {0, 0, NULL};
while (1) {
fill_pollfds(pollfds);
poll(pollfds.pfds, pollfds.nfds, -1);
for (int i = 0; i < pollfds.nfds; i++) {
if (pollfds.pfds[i].revents & POLLIN) {
handle_poll_result(pollfds.pfds[i]);
}
}
if (g_timer_triggered) {
g_timer_triggered = 0;
fill_write_fds(write_fds);
if (write_fds.nfds == 0) {
continue;
}
for (int i=0; i < NUM_IIO_SENSORS; i++) {
sensors_iio_info[i].handle_sensor_event();
}
poll(write_fds.pfds, write_fds.nfds, 1);
for (int i = 0; i < write_fds.nfds; i++) {
if (write_fds.pfds[i].revents & POLLOUT) {
handle_write_poll_result(write_fds.pfds[i]);
}
}
}
}
return 0;
}
| [
"bcxu@hzwowpad.com"
] | bcxu@hzwowpad.com |
af9ddc6c94b73021b5027734167e6049ad73bf16 | 1f63dde39fcc5f8be29f2acb947c41f1b6f1683e | /Boss2D/addon/webrtc-jumpingyang001_for_boss/modules/rtp_rtcp/source/dtmf_queue.h | dd80ba11135d96163c1870c37d2e4dbe23efdec4 | [
"MIT",
"BSD-3-Clause",
"LicenseRef-scancode-google-patent-license-webm",
"LicenseRef-scancode-google-patent-license-webrtc",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | koobonil/Boss2D | 09ca948823e0df5a5a53b64a10033c4f3665483a | e5eb355b57228a701495f2660f137bd05628c202 | refs/heads/master | 2022-10-20T09:02:51.341143 | 2019-07-18T02:13:44 | 2019-07-18T02:13:44 | 105,999,368 | 7 | 2 | MIT | 2022-10-04T23:31:12 | 2017-10-06T11:57:07 | C++ | UTF-8 | C++ | false | false | 1,074 | h | /*
* Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing project authors may
* be found in the AUTHORS file in the root of the source tree.
*/
#ifndef MODULES_RTP_RTCP_SOURCE_DTMF_QUEUE_H_
#define MODULES_RTP_RTCP_SOURCE_DTMF_QUEUE_H_
#include <list>
#include BOSS_WEBRTC_U_rtc_base__criticalsection_h //original-code:"rtc_base/criticalsection.h"
namespace webrtc {
class DtmfQueue {
public:
struct Event {
uint16_t duration_ms = 0;
uint8_t payload_type = 0;
uint8_t key = 0;
uint8_t level = 0;
};
DtmfQueue();
~DtmfQueue();
bool AddDtmf(const Event& event);
bool NextDtmf(Event* event);
bool PendingDtmf() const;
private:
rtc::CriticalSection dtmf_critsect_;
std::list<Event> queue_;
};
} // namespace webrtc
#endif // MODULES_RTP_RTCP_SOURCE_DTMF_QUEUE_H_
| [
"slacealic@nate.com"
] | slacealic@nate.com |
c808d015d7402dc8e3b95556f272059ea2fcaa7b | 6ae1aa70d46788fcfce031f51733b3c18715b45d | /include/jet/scalar_grid3.h | efab80140319567320e507174a19535704d7aace | [
"BSD-3-Clause",
"MIT",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause"
] | permissive | dokipen3d/fluid-engine-dev | 3d4f3e4bb907feb00734e0fc1d47d2e86a89e3f0 | 0e26fbc19195ce4a21fb529a3de2d15b46c93050 | refs/heads/master | 2021-01-11T06:50:38.790287 | 2016-10-08T04:55:39 | 2016-10-08T04:55:39 | 72,378,941 | 4 | 1 | null | 2016-10-30T22:16:28 | 2016-10-30T22:16:28 | null | UTF-8 | C++ | false | false | 6,408 | h | // Copyright (c) 2016 Doyub Kim
#ifndef INCLUDE_JET_SCALAR_GRID3_H_
#define INCLUDE_JET_SCALAR_GRID3_H_
#include <jet/array3.h>
#include <jet/array_accessor3.h>
#include <jet/array_samplers3.h>
#include <jet/grid3.h>
#include <jet/scalar_field3.h>
#include <memory>
namespace jet {
//! Abstract base class for 3-D scalar grid structure.
class ScalarGrid3 : public ScalarField3, public Grid3 {
public:
//! Read-write array accessor type.
typedef ArrayAccessor3<double> ScalarDataAccessor;
//! Read-only array accessor type.
typedef ConstArrayAccessor3<double> ConstScalarDataAccessor;
//! Constructs an empty grid.
ScalarGrid3();
//! Default destructor.
virtual ~ScalarGrid3();
//!
//! \brief Returns the size of the grid data.
//!
//! This function returns the size of the grid data which is not necessarily
//! equal to the grid resolution if the data is not stored at cell-center.
//!
virtual Size3 dataSize() const = 0;
//!
//! \brief Returns the origin of the grid data.
//!
//! This function returns data position for the grid point at (0, 0, 0).
//! Note that this is different from origin() since origin() returns
//! the lower corner point of the bounding box.
//!
virtual Vector3D dataOrigin() const = 0;
//! Returns the copy of the grid instance.
virtual std::shared_ptr<ScalarGrid3> clone() const = 0;
//! Clears the contents of the grid.
void clear();
//! Resizes the grid using given parameters.
void resize(
size_t resolutionX,
size_t resolutionY,
size_t resolutionZ,
double gridSpacingX = 1.0,
double gridSpacingY = 1.0,
double gridSpacingZ = 1.0,
double originX = 0.0,
double originY = 0.0,
double originZ = 0.0,
double initialValue = 0.0);
//! Resizes the grid using given parameters.
void resize(
const Size3& resolution,
const Vector3D& gridSpacing = Vector3D(1, 1, 1),
const Vector3D& origin = Vector3D(),
double initialValue = 0.0);
//! Resizes the grid using given parameters.
void resize(
double gridSpacingX,
double gridSpacingY,
double gridSpacingZ,
double originX,
double originY,
double originZ);
//! Resizes the grid using given parameters.
void resize(const Vector3D& gridSpacing, const Vector3D& origin);
//! Returns the grid data at given data point.
const double& operator()(size_t i, size_t j, size_t k) const;
//! Returns the grid data at given data point.
double& operator()(size_t i, size_t j, size_t k);
//! Returns the gradient vector at given data point.
Vector3D gradientAtDataPoint(size_t i, size_t j, size_t k) const;
//! Returns the Laplacian at given data point.
double laplacianAtDataPoint(size_t i, size_t j, size_t k) const;
//! Returns the read-write data array accessor.
ScalarDataAccessor dataAccessor();
//! Returns the read-only data array accessor.
ConstScalarDataAccessor constDataAccessor() const;
//! Returns the function that maps data point to its position.
DataPositionFunc dataPosition() const;
//! Fills the grid with given value.
void fill(double value);
//! Fills the grid with given position-to-value mapping function.
void fill(const std::function<double(const Vector3D&)>& func);
//!
//! \brief Invokes the given function \p func for each data point.
//!
//! This function invokes the given function object \p func for each data
//! point in serial manner. The input parameters are i and j indices of a
//! data point. The order of execution is i-first, j-last.
//!
void forEachDataPointIndex(
const std::function<void(size_t, size_t, size_t)>& func) const;
//!
//! \brief Invokes the given function \p func for each data point
//! parallelly.
//!
//! This function invokes the given function object \p func for each data
//! point in parallel manner. The input parameters are i and j indices of a
//! data point. The order of execution can be arbitrary since it's
//! multi-threaded.
//!
void parallelForEachDataPointIndex(
const std::function<void(size_t, size_t, size_t)>& func) const;
//! Serializes the grid instance to the output stream \p strm.
void serialize(std::ostream* strm) const override;
//! Deserializes the input stream \p strm to the grid instance.
void deserialize(std::istream* strm) override;
// ScalarField3 implementations
//!
//! \brief Returns the sampled value at given position \p x.
//!
//! This function returns the data sampled at arbitrary position \p x.
//! The sampling function is linear.
//!
double sample(const Vector3D& x) const override;
//!
//! \brief Returns the sampler function.
//!
//! This function returns the data sampler function object. The sampling
//! function is linear.
//!
std::function<double(const Vector3D&)> sampler() const override;
//! Returns the gradient vector at given position \p x.
Vector3D gradient(const Vector3D& x) const override;
//! Returns the Laplacian at given position \p x.
double laplacian(const Vector3D& x) const override;
protected:
//! Swaps the data storage and predefined samplers with given grid.
void swapScalarGrid(ScalarGrid3* other);
//! Sets the data storage and predefined samplers with given grid.
void setScalarGrid(const ScalarGrid3& other);
private:
Array3<double> _data;
LinearArraySampler3<double, double> _linearSampler;
std::function<double(const Vector3D&)> _sampler;
void resetSampler();
};
typedef std::shared_ptr<ScalarGrid3> ScalarGrid3Ptr;
//! Abstract base class for 3-D scalar grid builder.
class ScalarGridBuilder3 {
public:
//! Creates a builder.
ScalarGridBuilder3();
//! Default destructor.
virtual ~ScalarGridBuilder3();
//! Returns 3-D scalar grid with given parameters.
virtual ScalarGrid3Ptr build(
const Size3& resolution,
const Vector3D& gridSpacing,
const Vector3D& gridOrigin,
double initialVal) const = 0;
};
typedef std::shared_ptr<ScalarGridBuilder3> ScalarGridBuilder3Ptr;
} // namespace jet
#endif // INCLUDE_JET_SCALAR_GRID3_H_
| [
"doyubkim@gmail.com"
] | doyubkim@gmail.com |
1b900986ffbd7c00dde2b2196747f2a69d7fb762 | d6f4500063f117beef36518fe27b9838d6072385 | /eventbuilders/include/.svn/text-base/translatorRunningXY.h.svn-base | a7f343484e021de51ee046da6210a7e3bcffd958 | [] | no_license | terzo/tbmon_mppfork | c4b3db12dbd8c065d1bc3b8c485353c1b3e15e51 | f63cbb96112f07ec82970fdd380b6d501743be6b | refs/heads/master | 2020-12-31T04:29:27.364394 | 2016-02-10T15:13:15 | 2016-02-10T15:13:15 | 51,448,395 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,996 | #ifndef TRANSLATORRUNNINGXY_H
#define TRANSLATORRUNNINGXY_H
// standard header files
#include <iostream>
#include <deque>
#include <map>
#include <set>
// tbmon header files
#include "event.h"
#include "eventbuilder.h"
#include "Track.h"
/*! \brief Reads in translation for groups of events per DUT from file (generated by checkalignRunningXY) and applies those to each track.
*
*/
class TranslatorRunningXY: public EventBuilder {
private:
/*! \brief Helper class for translatorRunningXY(), see TbTupleAna
*
*/
class SensorInfoObject {
protected:
int _sensorId;
public:
SensorInfoObject() {
}
;
SensorInfoObject(const int sensorId) :
_sensorId(sensorId) {
}
;
virtual ~SensorInfoObject() {
}
;
int getId() {
return _sensorId;
}
virtual void clear() {
}
};
/*! \brief Helper class for translatorRunningXY(), see TbTupleAna
*
*/
class SensorInfoObjectCollection {
protected:
std::map<int, SensorInfoObject*> _infoMap;
public:
SensorInfoObjectCollection() {
}
;
void add(SensorInfoObject *obj) {
std::cout << "Adding SensorInfo with Id " << obj->getId() << std::endl;
_infoMap[obj->getId()] = obj;
}
SensorInfoObject* get(const int id) {
std::map<int, SensorInfoObject*>::iterator it = _infoMap.find(id);
if (it == _infoMap.end())
return NULL;
return it->second;
}
std::vector<SensorInfoObject*> get() {
std::map<int, SensorInfoObject*>::iterator it;
std::vector<SensorInfoObject*> out;
for (it = _infoMap.begin(); it != _infoMap.end(); it++) {
out.push_back(it->second);
}
return out;
}
virtual void clear() {
std::map<int, SensorInfoObject*>::iterator it = _infoMap.begin();
for (it; it != _infoMap.end(); it++) {
it->second->clear();
delete it->second;
}
_infoMap.clear();
}
virtual ~SensorInfoObjectCollection() {
clear();
}
};
/*! \brief Helper class for translatorRunningXY(), see TbTupleAna
*
*/
class SensorInfo: public SensorInfoObject {
public:
enum SensorType {
kUnknown = 0, kM26 = 1, kAPIXFeI3 = 2, kAPIXFeI4 = 3
};
protected:
SensorType _type;
std::string _prefix;
std::string _title;
int _pixX;
int _pixY;
float _pitchX;
float _pitchY;
int getPixelSerialized(const int x, const int y) {
return x + y * _pixX;
}
void getPixelSerialized(const int i, int &x, int &y) {
y = i / _pixX;
x = i % _pixX;
}
public:
//! Copy constructor
SensorInfo(const SensorInfo &s) {
_type = s._type;
_prefix = s._prefix;
_title = s._title;
_sensorId = s._sensorId;
_pixX = s._pixX;
_pixY = s._pixY;
_pitchX = s._pitchX;
_pitchY = s._pitchY;
}
SensorInfo() :
_type(kUnknown) {
}
;
SensorInfo(const int id) :
SensorInfoObject(id), _type(kUnknown) {
}
SensorInfo(const int id, const SensorType type,
const std::string title = "", const std::string prefix = "");
virtual ~SensorInfo() {
}
void getPitch(float &pitchX, float &pitchY) {
pitchX = _pitchX;
pitchY = _pitchY;
}
void getNPixel(int &pixX, int &pixY) {
pixX = _pixX;
pixY = _pixY;
}
std::string getPrefix() {
return _prefix;
}
std::string getTitle() {
return _title;
}
SensorType getType() {
return _type;
}
};
/*! \brief Helper class for translatorRunningXY(), see TbTupleAna
*
*/
class RunningAverage: public SensorInfoObject {
protected:
//! The number of entries to calculate the mean from
int _width;
//! The queue containing the last entries
std::deque<double> _lastValues;
//! This is the sum of all values in the queue
double _sum;
//! The event at which the queue was filled first
int _meanBeginEvent;
public:
//! Constructor
RunningAverage(const int sensorId, const int width) :
SensorInfoObject(sensorId), _width(width), _sum(0), _meanBeginEvent(
-1) {
}
//! Add a value to the queue
/**
* if the queue is filled then delete the first element, so that the number of elements in the queue is always constant
**/
void add(double value) {
if (_lastValues.size() < _width) {
_sum = _sum + value;
_lastValues.push_back(value);
} else {
_sum = _sum - _lastValues.front();
_lastValues.pop_front();
_sum = _sum + value;
_lastValues.push_back(value);
}
}
//! Checks if the meanBegin variable is set
bool isMeanBeginSet() {
return (_meanBeginEvent != -1);
}
//! Setter for the MeanBeginVariable
void setMeanBegin(const int meanBegin) {
_meanBeginEvent = meanBegin;
}
//! Getter for the meanBeginVariable
/**
* @ return -1 if meanBegin is not set. Check this with isMeanBeginSet()
* @return meanBegin variable otherwise
**/
int getMeanBegin() {
return _meanBeginEvent;
}
//! Calculated Mean value
/**
* this function will return the mean in anycase. Check if the queue is filled with the isFilledUp() function.
**/
double getMean() {
if (_lastValues.size() == 0)
return 0;
return _sum / _lastValues.size();
}
double getFillRatio() {
return (double) _lastValues.size() / _width;
}
//! Checks if the queue is filled up
bool isFilledUp() {
return !(_lastValues.size() < _width);
}
//! Calculation of the first n Events
/**
* This method only works is at this moment the queue is completely filled first time (When the queue is in the state that setMeanBegin() is just called)
**/
double getMeanBegin(const int index) {
if (!isFilledUp())
return 0.;
std::deque<double>::iterator it;
int myIndex = 0;
int end = _lastValues.size();
float ratioEvTrk = (float) _meanBeginEvent / end;
double ret = 0;
it = _lastValues.begin();
while (myIndex < end) {
//for (it = _lastValues.begin(); it != _lastValues.end(); it++) {
if (myIndex < (int) (index / ratioEvTrk)) {
ret += 2 * (*it);
myIndex += 2;
} else {
ret += (*it);
myIndex++;
}
it++;
}
return ret / end;
}
};
/*! \brief Helper class for translatorRunningXY(), see TbTupleAna
*
*/
class PostShiftAlign {
public:
//! The tree to store to or read from
TTree *_tree;
int _sensorId;
float _shiftX;
float _shiftY;
int _eventNum;
int _subsetSize;
TBranch *_bSensorId;
TBranch *_bShiftX;
TBranch *_bShiftY;
TBranch *_bEventNum;
TBranch *_bSubsetSize;
//!Constructor to write out the database into a TTree
PostShiftAlign() :
_sensorId(-1), _shiftX(0), _shiftY(0), _eventNum(0), _subsetSize(0) {
_tree = new TTree("PostShiftAlign", "PostShiftAlign");
//if (file) _tree->SetDirectory(file);
_tree->Branch("sensorId", &_sensorId);
_tree->Branch("shiftX", &_shiftX);
_tree->Branch("shiftY", &_shiftY);
_tree->Branch("eventNum", &_eventNum);
_tree->Branch("subsetSize", &_subsetSize);
}
//! Constructor to read in a database from a TTree in a TFile
PostShiftAlign(TFile *file) {
_tree = (TTree*) file->Get("PostShiftAlign");
if (!_tree)
std::cerr << "Tree PostShiftAlign not found!" << std::endl;
_tree->SetBranchAddress("sensorId", &_sensorId, &_bSensorId);
_tree->SetBranchAddress("shiftX", &_shiftX, &_bShiftX);
_tree->SetBranchAddress("shiftY", &_shiftY, &_bShiftY);
_tree->SetBranchAddress("eventNum", &_eventNum, &_bEventNum);
_tree->SetBranchAddress("subsetSize", &_subsetSize, &_bSubsetSize);
}
//! Set the directory of the TTree, so that Write() writes at the correct place
void setDirectory(TFile * file) {
_tree->SetDirectory(file);
}
//! Get the number of entries
int getN() {
return _tree->GetEntriesFast();
}
//! Load on entry into the class' member variables
Int_t getEntry(Long64_t entry) {
return _tree->GetEntry(entry);
}
//! Add the arguments to the TTree - This is used to fill the TTree
void add(const int sensor, const float x, const float y, const int eventNum,
const int size) {
_sensorId = sensor;
_shiftX = x;
_shiftY = y;
_eventNum = eventNum;
_subsetSize = size;
_tree->Fill();
}
//! Write out the TTree into a TFile
void write(TFile *file = NULL) {
if (file)
_tree->SetDirectory(file);
_tree->Write();
}
};
/*! \brief Helper class for translatorRunningXY(), see TbTupleAna
*
*/
class SimpleAlign: public SensorInfoObject {
protected:
std::map<int, float> _shiftX;
std::map<int, float> _shiftY;
std::set<int> _storedEvents;
public:
SimpleAlign(const int sensorId) :
SensorInfoObject(sensorId) {
// This is needed for the linear extrapolation / Can be overwritten with add again!
add(0, 0., 0.);
}
void add(const int event, const float x, const float y) {
_storedEvents.insert(event);
_shiftX[event] = x;
_shiftY[event] = y;
}
void getShiftXY(const int event, float &shiftX, float &shiftY) {
//typically event in a number between two stored numbers e.g. 1234, whereas 1000 and 2000 are stored
int preNumber(0), postNumber(0);
std::set<int>::iterator it;
it = _storedEvents.lower_bound(event);
if (it == _storedEvents.end())
it--; // if event is higher than any stored number step one eventset back
postNumber = *it;
if (it != _storedEvents.begin()) {
it--;
preNumber = *it;
}
// now pre and postNumber are 1000 and 2000 (see example above) !!
float preShiftX, postShiftX, preShiftY, postShiftY;
preShiftX = _shiftX[preNumber];
preShiftY = _shiftY[preNumber];
postShiftX = _shiftX[postNumber];
postShiftY = _shiftY[postNumber];
//Make a linear extrapolation through these the two points
int subset = postNumber - preNumber;
/* The shiftvalues are calculated by a subset. If a subset consists of 1000 Events. The correct position for this shift is at event 500 */
int meanEvent = event - (subset / 2);
if (meanEvent < 0)
meanEvent = subset / 2;
float eventWeight = (float) (meanEvent - preNumber)
/ (postNumber - preNumber);
//std::cout << "HERE: " << eventWeight << " = " << event << " - " << preNumber << " / " << postNumber << " - " << preNumber << std::endl;
shiftX = preShiftX + eventWeight * (postShiftX - preShiftX);
shiftY = preShiftY + eventWeight * (postShiftY - preShiftY);
//std::cout << "Shifts: " << shiftX << " " << shiftY << std::endl;
}
void clear() {
_shiftX.clear();
_shiftY.clear();
_storedEvents.clear();
}
~SimpleAlign() {
clear();
}
};
std::map<long int, std::string> m_filenames;
TFile *_dbFile;
SensorInfoObjectCollection _alignColl;
public:
TranslatorRunningXY() {
name = "TranslatorRunningXY";
}
;
/** @fn load in translations stored for the individual DUTs */
virtual void initRun(TbConfig &config);
/** @fn translate event.trackX/trackY by the translation belonging to the DUT of the event in question */
virtual void buildEvent(Event &event, map<int, Event> &events, TbConfig &config);
virtual void finalizeRun(TbConfig &config);
void addTranslation(std::string filename, int iden, long int runNum);
};
#endif //TRANSLATORRUNNINGXY_H
| [
"terzo@mpp.mpg.de"
] | terzo@mpp.mpg.de | |
158f0f87a268262209f280824c50df951970968c | 9bdd6516a5bea3dd3bd9f3229f777d6ddbd1a84f | /ABC/187d.cpp | 171ce3a183eb1e3ee46f0622842dc71a781eca79 | [] | no_license | t0m0ya1997/atcoder | 968b990440b3d3ebc60b4b92ded0df32c44e51d6 | cf228d442aa51ddc59204779146229ce966768e7 | refs/heads/main | 2023-07-30T16:39:58.989703 | 2021-09-19T03:08:25 | 2021-09-19T03:08:25 | 408,014,778 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 543 | cpp | #include<bits/stdc++.h>
using namespace std;
#define rep(i, n) for(int i=0;i<n;++i)
#define rep1(i, n) for(int i=1;i<=n;++i)
#define ll long long
int main(){
int N;cin>>N;
ll sumA = 0LL;
vector<ll>A(N);
rep(i,N){
ll a,b;cin>>a>>b;
sumA+=a;
A[i] = 2*a + b;
}
sort(A.begin(), A.end(), greater<ll>());
int ans = 0;
rep(i,N){
if(sumA<0){
break;
}
else{
ans++;
sumA -= A[i];
}
}
cout << ans << endl;
return 0;
} | [
"t_dopeness@RespectChinza.local"
] | t_dopeness@RespectChinza.local |
9b5a120b912848bc8099f0c8a77aa7dd743de2b3 | 2961e840e1083a844b3a0727285dbd49c77cb8aa | /dbMouse_FreeRTOS/TskIr/TskIr.cpp | 7021ddce2defeb72f9f5241b7cc6f925e886f424 | [] | no_license | dbHu/dbHuMouse_2017 | 93f3ceb9d06f8f35155b90ed4b28bef49007f159 | 33d99c749be7774dfb22b2f282b0dd2cdedcdee4 | refs/heads/master | 2021-08-08T22:39:37.183780 | 2017-11-11T13:56:11 | 2017-11-11T13:56:11 | 103,143,191 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,412 | cpp | /*
* TskIr.cc
*
* Created on: Aug 13, 2016
* Author: loywong
*/
#include <math.h>
#include <stdio.h>
#include <stdint.h>
#include <inc/hw_adc.h>
#include <inc/hw_sysctl.h>
#include <inc/hw_gpio.h>
#include <inc/hw_memmap.h>
#include <inc/hw_types.h>
#include <inc/hw_timer.h>
#include <inc/hw_ints.h>
#include "driverlib/interrupt.h"
#include "../TskIr/IrCorr.h"
#include "../TskIr/TskIr.h"
#include "../TskTop/DbgUart.h"
#include "TskMotor/WheelEnc.h"
#include "TskMotor/TskMotor.h"
#include "PinConfig/pinout.h"
// FreeRTOS includes
#include "FreeRTOS.h"
#include "task.h"
namespace TskIr
{
const int tskPrio = 10;
const int tskStkSize = 1024;
SemaphoreHandle_t SemIrAdcFinish;
QueueHandle_t MbCmd;
IrLookupTable IrLTs = {0};
IrApproxCoef IrACs = {0.f};
volatile IrIntensity IrInts = {{1, 1, 1, 1}};
volatile IrDist IrDists = {{9.9f, 9.9f, 9.9f, 9.9f}};//, 9.9f, 9.9f, 9.9f, 9.9f}};
volatile IrDistBinThs IrBinThs;
volatile IrDistBins IrBins;
volatile IrHeadingYaw IrYaw;
volatile float SideLWallDisPos, SideRWallDisPos;
volatile unsigned short irZeros[4] = {1, 1, 1, 1};
char dbgStr[128];
float irDistFwd()
{
if(IrBins.LS == 0)
{
if(IrBins.RS)
{
return IrDists.FLns;
}
else
return .5f * (IrDists.FLns + IrDists.FRns);
}
else
{
if(IrBins.RS == 0)
{
return IrDists.FRns;
}
else
return (IrDists.FLns >= IrDists.FRns? IrDists.FLns : IrDists.FRns);
}
// return .5f * ((IrBins.LS? IrDists.FLws : IrDists.FLns) + (IrBins.RS? IrDists.FRws : IrDists.FRns));
}
// \ /
// | |
// fl l r fr
const char *IrChNames[] = {
"FLns", // fwd-left ir dist to fwd wall when left wall not exist
// "FLws", // fwd-left ir dist to fwd wall when left wall exist
"FRns", // fwd-right ir dist to fwd wall when right wall not exist
// "FRws", // fwd-right ir dist to fwd wall when right wall exist
"LS ", // left ir dist to left wall
// "LF ", // left ir dist to fwd wall
"RS ", // right ir dist to right wall
// "RF " // right ir dist to fwd wall
};
volatile bool irEmitEnable = false;
volatile int irEmitterNo = DBMOUSE_IR_FL;
const int adcCh[4] = {0x3, 0x7, 0x1, 0x5};
inline void adcStart(int ch)
{
HWREG(ADC0_BASE | ADC_O_SSMUX3) = ch;
HWREG(ADC0_BASE | ADC_O_PSSI) = 0x00000008; // initiate ss3
}
inline unsigned short adcReadCode()
{
return HWREG(ADC0_BASE | ADC_O_SSFIFO3);
}
void irTimerISR(void)
{
// static int i = 0;
// unsigned int key;
// key = Hwi_disable();
BaseType_t rtn, Wake;
HWREG(TIMER5_BASE | TIMER_O_CTL) &= ~0x00000001; // GPTM Timer A disable
HWREG(TIMER5_BASE | TIMER_O_ICR) |= 0x00000001; // clear TimerA timeout int
if(irEmitterNo == 0)
{
adcReadCode();
// start adc0
adcStart(adcCh[irEmitterNo]);
// 0off1on
IR_write(irEmitterNo, 0);
irEmitterNo = (irEmitterNo + 1);
IR_write(irEmitterNo, irEmitEnable? 1 : 0);
HWREG(TIMER5_BASE | TIMER_O_TAV) = 1200; // GPTM Timer A value 1200 10us
HWREG(TIMER5_BASE | TIMER_O_CTL) |= 0x00000001; // GPTM Timer A enable
}
else if(irEmitterNo < 3)
{
// read adc 0, 1
IrInts.ch[irEmitterNo - 1] = adcReadCode();// - irZeros[irEmitterNo - 1];
// start adc 1, 2
adcStart(adcCh[irEmitterNo]);
// 1off2on, 2off3on
IR_write(irEmitterNo, 0);
irEmitterNo = (irEmitterNo + 1);
IR_write(irEmitterNo, irEmitEnable? 1 : 0);
HWREG(TIMER5_BASE | TIMER_O_TAV) = 1200; // GPTM Timer A value 1200 10us
HWREG(TIMER5_BASE | TIMER_O_CTL) |= 0x00000001; // GPTM Timer A enable
}
else if(irEmitterNo == 3)
{
// read adc2
IrInts.ch[irEmitterNo - 1] = adcReadCode();// - irZeros[irEmitterNo - 1];
// start adc3
adcStart(adcCh[irEmitterNo]);
// 3off
IR_write(irEmitterNo, 0);
irEmitterNo = (irEmitterNo + 1);
HWREG(TIMER5_BASE | TIMER_O_TAV) = 1200; // GPTM Timer A value 1200 10us
HWREG(TIMER5_BASE | TIMER_O_CTL) |= 0x00000001; // GPTM Timer A enable
}
else if(irEmitterNo == 4)
{
// read adc3
IrInts.ch[irEmitterNo - 1] = adcReadCode();// - irZeros[irEmitterNo - 1];
irEmitterNo = DBMOUSE_IR_FL;
// inform tskIr
rtn = xSemaphorePost(SemIrAdcFinish, &Wake);
configASSERT(rtn == pdPASS || rtn == errQUEUE_FULL);
}
}
void irDetStart()
{
irEmitterNo = DBMOUSE_IR_FL;
IR_write(irEmitterNo, irEmitEnable? 1 : 0);
// Timer_setPeriodMicroSecs(irTimer, irEmitTime);
HWREG(TIMER5_BASE | TIMER_O_TAV) = 1200; // GPTM Timer A value 1200 10us
HWREG(TIMER5_BASE | TIMER_O_CTL) |= 0x00000001; // GPTM Timer A enable
}
void irDetInit()
{
HWREG(SYSCTL_RCGCTIMER) |= 0x000000020; // enable Timer5
SemIrAdcFinish = xSemaphoreCreateBinary();
configASSERT(SemMotTick != NULL);
HWREG(TIMER5_BASE | TIMER_O_CTL) &= ~0x00000001; // GPTM Timer A clear
HWREG(TIMER5_BASE | TIMER_O_CFG) = 0x00000000; // 32-bit timer configuration
HWREG(TIMER5_BASE | TIMER_O_TAMR) = 0x00000002; // Timer A period mode.
HWREG(TIMER5_BASE | TIMER_O_TAILR) = 1200; // Timer A count down 1200 10us
HWREG(TIMER5_BASE | TIMER_O_IMR) = 0x00000001; // Timer A timeout interrupt
IntRegister(INT_TIMER5A_TM4C129, irTimerISR);
IntEnable(INT_TIMER5A_TM4C129);
// HWREG(TIMER5_BASE | TIMER_O_CTL) |= 0x00000001; // GPTM Timer A enable
HWREG(TIMER5_BASE | TIMER_O_ICR) = 0x00000001; // clear TimerA timeout int
// init ADC
HWREG(SYSCTL_RCGCADC) = 0x01; // enable ADC0
HWREG(GPIO_PORTE_BASE | GPIO_O_AFSEL) |= 0x00000001; // PE0
HWREG(GPIO_PORTE_BASE | GPIO_O_DEN) &= ~0x00000001; // PE0
HWREG(GPIO_PORTE_BASE | GPIO_O_AMSEL) |= 0x00000001; // PE0, AIN3
HWREG(GPIO_PORTD_BASE | GPIO_O_AFSEL) |= 0x00000010; // PD4
HWREG(GPIO_PORTD_BASE | GPIO_O_DEN) &= ~0x00000010; // PD4
HWREG(GPIO_PORTD_BASE | GPIO_O_AMSEL) |= 0x00000010; // PD4, AIN7
HWREG(GPIO_PORTE_BASE | GPIO_O_AFSEL) |= 0x00000004; // PE2
HWREG(GPIO_PORTE_BASE | GPIO_O_DEN) &= ~0x00000004; // PE2
HWREG(GPIO_PORTE_BASE | GPIO_O_AMSEL) |= 0x00000004; // PE2, AIN1
HWREG(GPIO_PORTD_BASE | GPIO_O_AFSEL) |= 0x00000040; // PD6
HWREG(GPIO_PORTD_BASE | GPIO_O_DEN) &= ~0x00000040; // PD6
HWREG(GPIO_PORTD_BASE | GPIO_O_AMSEL) |= 0x00000040; // PD6, AIN5
HWREG(ADC0_BASE | ADC_O_ACTSS) = 0x00000000; // disable all ss
HWREG(ADC0_BASE | ADC_O_EMUX) = 0x00000000; // initiate by sw
HWREG(ADC0_BASE | ADC_O_SSMUX3) = 0x00000003; // ss3 sel ain3 1st
HWREG(ADC0_BASE | ADC_O_SSCTL3) = 0x00000002; // ss3 1st smp as end
HWREG(ADC0_BASE | ADC_O_ACTSS) = 0x00000008; // enable ss3
}
void irCalcs()
{
int i;
bool WallLS, WallRS;
if(!isnormal(IrACs.k[0][0]))
return;
WallLS = TskIr::IrBins.LS;
WallRS = TskIr::IrBins.RS;
// calc distance
for(i = 0; i < 4; i++)
{
#if(IrApproxOrder == 1)
if(i < 2)
IrDists.ch[i] = expf((logf(IrInts.ch[i]) - IrACs.k[i][0]) * IrACs.k[i][1]) + PP::IrFFwd;
else
IrDists.ch[i] = expf((logf(IrInts.ch[i]) - IrACs.k[i][0]) * IrACs.k[i][1]) + PP::IrSSide;
#elif(IrApproxOrder == 2)
if((float)IrInts.ch[i] > 400)
{
float ln = logf((float)IrInts.ch[i]);
if(i < 2)
IrDists.ch[i] = expf(IrACs.k[i][0] + IrACs.k[i][1] * ln + IrACs.k[i][2] * ln * ln) + PP::IrFFwd;
else
IrDists.ch[i] = expf(IrACs.k[i][0] + IrACs.k[i][1] * ln + IrACs.k[i][2] * ln * ln) + PP::IrSSide;
}
else
{
IrDists.ch[i] = 9.9f;
}
#endif
}
// dist binary
for(i = 0; i < 4; i++)
{
if(IrBins.ch[i]) // 1: wall near
{
if(IrDists.ch[i] > 0.001f * (float)IrBinThs.ch[i].ThHi)
IrBins.ch[i] = 0;
if(TskIr::IrBins.LS != WallLS)
{
SideLWallDisPos = TskMotor::DistanceAcc;
}
if(TskIr::IrBins.RS != WallRS)
{
SideRWallDisPos = TskMotor::DistanceAcc;
}
}
else
{
if(IrDists.ch[i] < 0.001f * (float)IrBinThs.ch[i].ThLo)
IrBins.ch[i] = 1;
}
}
if(IrBins.Fwd)
{
if(irDistFwd() > 0.001f * ((TskIr::IrBins.LS && TskIr::IrBins.RS)?
(float)IrBinThs.Fwd2.ThHi : (float)IrBinThs.Fwd1.ThHi))
IrBins.Fwd = 0;
}
else
{
if(irDistFwd() < 0.001f * ((TskIr::IrBins.LS && TskIr::IrBins.RS)?
(float)IrBinThs.Fwd2.ThLo : (float)IrBinThs.Fwd1.ThLo))
IrBins.Fwd = 1;
}
// side yaw
IrYaw.byLS = (PP::CenterToWall - IrDists.LS) / PP::IrSFwd;
IrYaw.byRS = (IrDists.RS - PP::CenterToWall) / PP::IrSFwd;
// IrYaw.byLRSF = (IrDists.LF - IrDists.RF) / (8.0f * IR_SIDE); // 8.0f? tested
IrYaw.byFLR = (IrDists.FLns - IrDists.FRns) / (2.f * PP::IrFSide);
}
void task(void *pvParameters)
{
bool rtn;
IrMsg::MsgType msg;
int staticCnt = 0, staticCntCyced;
unsigned short irZerosAcc[4] = {0};
ReadFlash(63 * 1024 * 16, (unsigned char *)&IrACs.k[0], sizeof(IrApproxCoef));
// calc reciprocal of approx coef b, prepare for Ir Distance calculting
#if(IrApproxOrder == 1)
for(int i = 0; i < 4; i++)
IrACs.k[i][1] = 1.f / IrACs.k[i][1];
#elif(IrApproxOrder == 2)
#endif
//TODO
IrBins.ch[0] = 0; IrBinThs.ch[0].Th = (125 | (135 << 16));
IrBins.ch[1] = 0; IrBinThs.ch[1].Th = (125 | (135 << 16));
IrBins.ch[2] = 1; IrBinThs.ch[2].Th = (65 | (75 << 16));
IrBins.ch[3] = 1; IrBinThs.ch[3].Th = (60 | (70 << 16));
IrBins.Fwd = 0; IrBinThs.Fwd1.Th = (120 | (130 << 16));
IrBinThs.Fwd2.Th = (100 | (110 << 16));
// IrBins.ch[0] = 0; IrBinThs.ch[0].Th = (250 | (285 << 16));
// IrBins.ch[1] = 0; IrBinThs.ch[1].Th = (250 | (285 << 16));
// IrBins.ch[2] = 1; IrBinThs.ch[2].Th = (100 | (150 << 16));
// IrBins.ch[3] = 1; IrBinThs.ch[3].Th = (100 | (150 << 16));
// IrBins.ch[0] = 0; IrBinThs.ch[0].Th = (229 | (273 << 16));
// IrBins.ch[1] = 0; IrBinThs.ch[1].Th = (229 | (273 << 16));
// IrBins.ch[2] = 1; IrBinThs.ch[2].Th = (100 | (140 << 16));
// IrBins.ch[3] = 1; IrBinThs.ch[3].Th = (100 | (140 << 16));
irDetInit();
while(true)
{
// LED_write(DBMOUSE_LED_1, DBMOUSE_LED_OFF);
rtn=xSemaphorePend(SemIrTick, 2);
configASSERT(rtn==pdPASS);
// LED_write(DBMOUSE_LED_1, DBMOUSE_LED_ON);
irDetStart();
// LED_write(DBMOUSE_LED_1, DBMOUSE_LED_OFF);
rtn = xSemaphorePend(SemIrAdcFinish, 2);
configASSERT(rtn == pdPASS);
// LED_write(DBMOUSE_LED_1, DBMOUSE_LED_ON);
// calculate distances & bins
irCalcs();
if(!irEmitEnable)
{
staticCnt++;
staticCntCyced = (staticCnt & 0x1FFF); // cyced per 8.192s(@Ts=1ms)
if(staticCntCyced == 7)
{
for(int i = 0; i < 4; i++)
irZerosAcc[i] = 0;
}
else if(staticCntCyced >= 8 && staticCntCyced < 520)
{
for(int i = 0; i < 4; i++)
irZerosAcc[i] += IrInts.ch[i];
}
else if(staticCntCyced == 520)
{
for(int i = 0; i < 4; i++)
irZeros[i] = irZerosAcc[i] * (1.f / 512.f);
}
}
else
staticCnt = 0;
if(xQueuePend(MbCmd, &msg, (TickType_t)0))
{
switch(msg & 0xFFFF0000)
{
case IrMsg::EnableEmitt:
irEmitEnable = true;
break;
case IrMsg::DisableEmitt:
irEmitEnable = false;
break;
default:
break;
}
}
}
}
void Init()
{
BaseType_t rtn;
MbCmd = xQueueCreate(4, sizeof(IrMsg::MsgType));
configASSERT(MbCmd);
// Create tasks
rtn = xTaskCreate(task, (const portCHAR *)"TopIr",
tskStkSize, NULL, tskPrio, NULL);
configASSERT(rtn==pdPASS);
}
// this func test ir touch frist,
// if touched, it will wait until untouch,
// otherwise, it return immediately.
bool TestIrTouch(unsigned char chMask, int hTh, int lTh)
{
if( ((IrInts.fl > hTh) && (chMask & IrCh::FL)) ||
((IrInts.fr > hTh) && (chMask & IrCh::FR)) ||
((IrInts.sl > hTh) && (chMask & IrCh::SL)) ||
((IrInts.sr > hTh) && (chMask & IrCh::SR))
)
{
while(true)
{
vTaskDelay(50);
if( ((IrInts.fl < lTh) || !(chMask & IrCh::FL)) &&
((IrInts.fr < lTh) || !(chMask & IrCh::FR)) &&
((IrInts.sl < lTh) || !(chMask & IrCh::SL)) &&
((IrInts.sr < lTh) || !(chMask & IrCh::SR))
)
break;
}
return true;
}
else
{
return false;
}
}
// this func will block!
void WaitIrTouch(unsigned char chMask, int hTh, int lTh)
{
while(true)
{
vTaskDelay(50);
if( ((IrInts.fl < lTh) || !(chMask & IrCh::FL)) &&
((IrInts.fr < lTh) || !(chMask & IrCh::FR)) &&
((IrInts.sl < lTh) || !(chMask & IrCh::SL)) &&
((IrInts.sr < lTh) || !(chMask & IrCh::SR))
)
break;
}
while(true)
{
vTaskDelay(50);
if( ((IrInts.fl > hTh) && (chMask & IrCh::FL)) ||
((IrInts.fr > hTh) && (chMask & IrCh::FR)) ||
((IrInts.sl > hTh) && (chMask & IrCh::SL)) ||
((IrInts.sr > hTh) && (chMask & IrCh::SR))
)
break;
}
while(true)
{
vTaskDelay(50);
if( ((IrInts.fl < lTh) || !(chMask & IrCh::FL)) &&
((IrInts.fr < lTh) || !(chMask & IrCh::FR)) &&
((IrInts.sl < lTh) || !(chMask & IrCh::SL)) &&
((IrInts.sr < lTh) || !(chMask & IrCh::SR))
)
break;
}
}
}
| [
"wwmhu@outlook.com"
] | wwmhu@outlook.com |
95b64fa1ea45a2cb023f40a0794867a2314e1fc5 | c85fd542bd7c23aed09e044b947c4a8e6074bc25 | /src/core/risa/common/opt_default/MathAlgorithms_Default.cpp | 71d44427ff1ce65840776dd5223800f5e636d362 | [] | no_license | w-dee/kirikiri3-legacy | 35742a56cb1e5b5f0252a48c41d1c594ee3a79a6 | 9a918425c41fc3f64468ded61cdce6c464d2247a | refs/heads/master | 2020-06-23T22:18:34.794911 | 2010-01-04T06:33:50 | 2010-01-04T06:33:50 | 198,763,501 | 19 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,579 | cpp | //---------------------------------------------------------------------------
/*
Risa [りさ] alias 吉里吉里3 [kirikiri-3]
stands for "Risa Is a Stagecraft Architecture"
Copyright (C) 2000 W.Dee <dee@kikyou.info> and contributors
See details of license at "license.txt"
*/
//---------------------------------------------------------------------------
//! @file
//! @brief 数学関数群
//---------------------------------------------------------------------------
#include <stdlib.h>
#include "risseTypes.h"
using namespace Risse;
namespace Risa {
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
void DeinterleaveApplyingWindow(float * RISSE_RESTRICT dest[], const float * RISSE_RESTRICT src,
float * RISSE_RESTRICT win, int numch, size_t destofs, size_t len)
{
size_t n;
switch(numch)
{
case 1: // mono
{
float * dest0 = dest[0] + destofs;
for(n = 0; n < len; n++)
{
dest0[n] = src[n] * win[n];
}
}
break;
case 2: // stereo
{
float * dest0 = dest[0] + destofs;
float * dest1 = dest[1] + destofs;
for(n = 0; n < len; n++)
{
dest0[n] = src[n*2 + 0] * win[n];
dest1[n] = src[n*2 + 1] * win[n];
}
}
break;
default: // generic
for(n = 0; n < len; n++)
{
for(int ch = 0; ch < numch; ch++)
{
dest[ch][n + destofs] = *src * win[n];
src ++;
}
}
break;
}
}
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
void InterleaveOverlappingWindow(float * RISSE_RESTRICT dest,
const float * RISSE_RESTRICT const * RISSE_RESTRICT src,
float * RISSE_RESTRICT win, int numch, size_t srcofs, size_t len)
{
size_t n;
switch(numch)
{
case 1: // mono
{
const float * src0 = src[0] + srcofs;
for(n = 0; n < len; n++)
{
dest[n] += src0[n] * win[n];
}
}
break;
case 2: // stereo
{
const float * src0 = src[0] + srcofs;
const float * src1 = src[1] + srcofs;
for(n = 0; n < len; n++)
{
dest[n*2 + 0] += src0[n] * win[n];
dest[n*2 + 1] += src1[n] * win[n];
}
}
break;
default: // generic
for(n = 0; n < len; n++)
{
for(int ch = 0; ch < numch; ch++)
{
*dest += src[ch][n + srcofs] * win[n];
dest ++;
}
}
break;
}
}
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
} // namespace Risa
| [
"w.dee@9e463c26-7fdd-0310-8662-bb9cb7c2284e"
] | w.dee@9e463c26-7fdd-0310-8662-bb9cb7c2284e |
df7ba81bf437c6936dbb25963fb608afe4cf97b9 | 9fc5b7b8f9ae818ea7f31e7201e3055aff85fb5d | /Constants.h | 179fa8c0beafb1d8554f82ea443ebbf24a7a23e5 | [] | no_license | bend/Huffman-algorithm | 5d19379e96b82fa7005a0ec470968b8dd66a382b | d33f846390a1668988ace86d6860fbe9af577115 | refs/heads/master | 2020-12-24T13:35:32.649210 | 2010-11-19T22:47:40 | 2010-11-19T22:47:40 | 1,094,469 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 962 | h | /*
* Copyright © Benoit Daccache
* ben.daccache@gmail.com
*
* This file is part of Huffman.
*
* Huffman is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Huffman is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Huffman. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef CONSTANTS_H
#define CONSTANTS_H
class Constants{
public:
static const unsigned short ROOT = 0;
static const unsigned short LEFT = 1;
static const unsigned short RIGHT= 2;
};
#endif // CONSTANTS_H
| [
"ben.daccache@gmail.com"
] | ben.daccache@gmail.com |
4a7885b6a459fd20e4d2d4748c087ae389ce9932 | bce0ba120cba76ab70126ba34be319035de4aa3d | /IIT_Basics/GPA02.cpp | 2d1329419c2e61d36e06ae15983a68dfd1761f9b | [] | no_license | lshaw8317/Cpp_Courses | 088267292aa66027c566229a505ea6a710a27c7c | 4fcbed11b6a1793c3031872577cd00db013b938b | refs/heads/master | 2022-12-20T23:03:08.319218 | 2020-10-04T14:36:48 | 2020-10-04T14:36:48 | 284,066,454 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,725 | cpp | // GPA02.cpp : This file contains the 'main' function. Program execution begins and ends there.
//
#include <iostream>
#include "GPA02.h"
#include <iomanip>
using namespace std;
int main()
{
int gq[54] = { 7,
10,
10,
7,
4,
8,
0,
5,
2,
0,
7,
9,
8,
9,
0,
3,
0,
0,
9,
10,
0,
0,
2,
9,
9,
2,
4,
3,
10,
2,
2,
3,
3,
4,
3,
2,
10,
10,
8,
5,
6,
4,
6,
2,
6,
6,
10,
10,
4,
10,
0,
0,
10,
8 };
float gpa[54] = { 0,
1,
1,
0,
0.3,
0.3,
0.3,
0.3,
1,
1,
1,
0.3,
0.3,
0.3,
0.3,
0.3,
0,
0,
0.3,
0.3,
0.3,
1,
1,
1,
1,
1,
0,
0,
0.6,
0.6,
0.6,
0.6,
0.6,
0.6,
0.6,
0.6,
0,
0,
0.6,
0.6,
0,
0.6,
0,
0.6,
0,
0.6,
0,
0,
0,
0.6,
0.6,
0.6,
1,
0 };
int sum_gq[11] = { 0 };
int sum_gpa[4] = { 0 };
int count[12][5] = { 0 };
getTotalGQ(54, gq, sum_gq);
getTotalGPA(54, gpa, sum_gpa);
getTotalCount(54, gq, gpa, count);
for (int i = 0;i < 12;i++)
{
cout << "\n";
for (int j = 0;j < 5;j++)
{
cout << setw(3) << count[i][j];
}
cout << endl;
}
}
// Run program: Ctrl + F5 or Debug > Start Without Debugging menu
// Debug program: F5 or Debug > Start Debugging menu
// Tips for Getting Started:
// 1. Use the Solution Explorer window to add/manage files
// 2. Use the Team Explorer window to connect to source control
// 3. Use the Output window to see build output and other messages
// 4. Use the Error List window to view errors
// 5. Go to Project > Add New Item to create new code files, or Project > Add Existing Item to add existing code files to the project
// 6. In the future, to open this project again, go to File > Open > Project and select the .sln file
| [
"noreply@github.com"
] | lshaw8317.noreply@github.com |
3e2a4c8a6e4071b758d4d9115fceda4f55ff8f3c | ca97c1575c05d3227a287340d5b85ced8ecea741 | /NetworkProject/TestTuple.h | 944a8b1c0c9faf3a5c522e4f5a4782bf653034db | [] | no_license | MechaKnightz/NetworkProject | e5f794af738c6e815169a77b9753eccf3c95a56a | 408d5d7dd487f4fb3db31fedfcb89ed8ecd84a04 | refs/heads/master | 2022-12-14T07:40:12.393017 | 2020-01-23T14:42:37 | 2020-01-23T14:42:37 | 232,685,152 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 362 | h | #pragma once
#include <tuple>
#include "TransformComponent.h"
#include "ModelComponent.h"
#include <memory>
class TestTuple : public std::tuple<std::shared_ptr<TransformComponent>, std::shared_ptr<TransformComponent>>
{
public:
std::shared_ptr<TransformComponent> GetTransformComponent()
{
return std::get<std::shared_ptr<TransformComponent>>(*this);
}
}; | [
"mechaknightz@hotmail.com"
] | mechaknightz@hotmail.com |
9cb52ba34ae82b6c867be2c45cd8d60d23a01aee | 5e8d200078e64b97e3bbd1e61f83cb5bae99ab6e | /main/source/src/protocols/ligand_docking/TransformCreator.hh | c94793da0fde3917481364d127412efb99bac783 | [] | 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 | 1,228 | hh | // -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*-
// vi: set ts=2 noet:
//
// (c) Copyright Rosetta Commons Member Institutions.
// (c) This file is part of the Rosetta software suite and is made available under license.
// (c) The Rosetta software is developed by the contributing members of the Rosetta Commons.
// (c) For more information, see http://www.rosettacommons.org. Questions about this can be
// (c) addressed to University of Washington CoMotion, email: license@uw.edu.
/// @file protocols/ligand_docking/TransformCreator.hh
/// @brief This class will create instances of Mover Transform for the MoverFactory
/// @author Sam DeLuca
#ifndef INCLUDED_protocols_ligand_docking_TransformCreator_hh
#define INCLUDED_protocols_ligand_docking_TransformCreator_hh
#include <protocols/moves/Mover.fwd.hh>
#include <protocols/moves/MoverCreator.hh>
namespace protocols {
namespace ligand_docking {
class TransformCreator : public protocols::moves::MoverCreator {
public:
protocols::moves::MoverOP create_mover() const override;
std::string keyname() const override;
void provide_xml_schema( utility::tag::XMLSchemaDefinition & xsd ) const override;
};
}
}
#endif
| [
"36790013+MedicaicloudLink@users.noreply.github.com"
] | 36790013+MedicaicloudLink@users.noreply.github.com |
93285d999500ec6a9a0b9ffd8117202c62b44d17 | 97708d413db822e6ef4e158ebacd62582a619f47 | /hackerrank/morgan_stanley/stock_values.cpp | f8bffbe20b76541aec145a1f11d6cc3261cc35b7 | [] | no_license | uchihaitachi08/daily_code | aa8d233056440fad87bbe27f5c9ee3bb2d60e513 | aa6eca512684511115e5a64526f596419e098a82 | refs/heads/master | 2021-01-19T18:00:02.398436 | 2015-10-10T17:06:31 | 2015-10-10T17:06:31 | 40,917,476 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 956 | cpp | #include<iostream>
#include<map>
#include<string>
#include<climits>
using namespace std;
int mod(int a){
if(a < 0)
return -1*a;
return a;
}
int sum(int* arr, int n){
int sum = 0;
for(int i=0;i<n/2;i++){
sum = sum+ mod(arr[i]-arr[n-1-i]);
}
return sum;
}
void change(int* arr, int n,int index,int* max){
int temp;
if(index == n-1)
return;
int sum_max = sum(arr,n);
if(sum_max > *max)
*max = sum_max;
change(arr,n,index+1,max);
if(!(arr[index-1]%2) && !(arr[index+1]%2)){
temp = arr[index];
*(arr+index) = (arr[index-1]+arr[index+1])/2;
sum_max = sum(arr,n);
if(sum_max > *max)
*max = sum_max;
change(arr,n,index+1,max);
*(arr+index) = temp;
}
return;
}
int main(){
int t,i;
cin>>t;
while(t--){
int n;
int max = INT_MIN;
cin>>n;
int*arr = new int[n];
for(i=0;i<n;i++){
cin>>arr[i];
}
change(arr,n,1,&max);
// for(i=0;i<n;i++){
// cout<<arr[i]<<" ";
// }
cout<<max<<endl;
}
return 0;
} | [
"sameerrrana@gmail.com"
] | sameerrrana@gmail.com |
8d71181b4b8d4669601d5448eaaf28cd8284808f | 6f596ffcf04a30060647106537107be2f4f23643 | /number of days in a year finale.cpp | 78fad0307a4c2d59597158568880791b6e6acafd | [] | no_license | faith-cpu/days-in-a-year | a8bd3254d479d3cdd3dc862201383d3067e3f36f | 9de1b270754098f1aa3ee29947c5f3c7cd2fc1b5 | refs/heads/main | 2023-05-09T18:40:50.726047 | 2021-06-03T08:37:19 | 2021-06-03T08:37:19 | 373,437,511 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 280 | cpp | #include<stdio.h>
int check_leap_year(int year){
if(year%4==0 || year%100==0 || year%400==0){
return year=366;
}else
return year=365;
}
int main(){
int year;
printf("enter year:");
scanf("%D", &year);
printf("the year has %d days", check_leap_year(year));
} | [
"noreply@github.com"
] | faith-cpu.noreply@github.com |
2f52c333ef1dfcb4f74e1abecc56f258c470330d | ec9a97a59f4fd5a93a0c891c1bcb458540fa6972 | /Chapter.03/04/average_rainfall.cpp | ea88cb4f25ed8de468e35173bdfe7c5882aebf74 | [] | no_license | MelodyKhan/starting_out_with_Cplusplus | a07e028f726459ca734a9c6956e5c3ac4329d925 | 04ffcd62c484f74c17dcf582b5ce8add6f82805f | refs/heads/master | 2022-03-12T10:24:01.461173 | 2017-09-25T03:52:40 | 2017-09-25T03:52:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 952 | cpp | #include <iostream>
#include <string>
#include <iomanip>
using namespace std;
int main()
{
const int MONTHS = 3;
string month1;
string month2;
string month3;
double rainfall1;
double rainfall2;
double rainfall3;
double average;
cout << "Please enter a name of month: " << endl;
cin >> month1;
cout << "Please enter the amount of rainfall in the month: " << endl;
cin >> rainfall1;
cout << "Please enter a name of month: " << endl;
cin >> month2;
cout << "Please enter the amount of rainfall in the month: " << endl;
cin >> rainfall2;
cout << "Please enter a name of month: " << endl;
cin >> month3;
cout << "Please enter the amount of rainfall in the month: " << endl;
cin >> rainfall3;
average = (rainfall1 + rainfall2 + rainfall3) / MONTHS;
cout << "The average rainfall for " << month1 << ", " << month2 << ", and " <<
month3 << " is " << setprecision(2) << fixed << average << " inches." << endl;
}
| [
"kiboh.usa@gmail.com"
] | kiboh.usa@gmail.com |
eec1d983b9fafe059eb42ebee9290fd1bae258bd | 6c97b68c7001ee666693690af709d0fc655ad9ab | /Student.h | 91aa29811c9b23beb06e543da634d502f5be184d | [] | no_license | JamesGreyThompson/hellogit | aa15d1b03a7d43af44a0860d8fc404fb7ff64513 | 6d713a825b99e2355c0b4341564fdbbab791985d | refs/heads/master | 2021-05-05T01:44:26.142193 | 2018-02-07T16:03:52 | 2018-02-07T16:03:52 | 119,702,432 | 0 | 0 | null | 2018-01-31T15:05:32 | 2018-01-31T15:05:31 | null | UTF-8 | C++ | false | false | 286 | h | //Student.h
#ifndef STUDENT_H
#define STUDENT_H
#include <string>
using namespace std;
class Student {
private:
double id;
string name;
public:
Student ();
Student (double i , string n);
void setA(double i);
double getA();
void setB(string n);
string getB();
};
#endif
| [
"JamesGreyThompson@users.noreply.github.com"
] | JamesGreyThompson@users.noreply.github.com |
96247b3e07bd08f974a0c6be5082ac08ade30e0c | 5d7ec3fb2e4c2a136794b60fc40ad260934f0353 | /timer.cpp | 8935e910bbeca977cb2d14b087992db071d441ad | [] | no_license | Alagris/C-Utils | b6205fb278944935502ee228fd61154eef03fc6a | 6bd7cbae2eb0f7cb13f94d28a01133cb63242ee3 | refs/heads/master | 2021-05-07T19:20:42.253627 | 2017-11-24T15:01:33 | 2017-11-24T15:01:33 | 56,316,564 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 657 | cpp | #include "timer.h"
#include <iostream>
#include <chrono>
namespace util_lib{
using namespace std::chrono;
high_resolution_clock::time_point startTime;
void start(){
startTime = high_resolution_clock::now();
}
double endTimeNano(){
return duration_cast<nanoseconds>( high_resolution_clock::now() - startTime ).count();
}
double endTimeMilli(){
return duration_cast<milliseconds>( high_resolution_clock::now() - startTime ).count();
}
double endTimeMicro(){
return duration_cast<microseconds>( high_resolution_clock::now() - startTime ).count();
}
}
| [
"alagris12358@gmail.com"
] | alagris12358@gmail.com |
315e44ac3f39c7382585ff4559a78f8ad23a06c4 | 61f56656a487e097062fc0fc3a1afc428ca7b954 | /Stanford-CS106B/SectionHandout4/SectionHandout4/Maze.cpp | 0f98309483dc466c7f1392b5aaeb8264398b69f8 | [] | no_license | jimchiang/ProfessionalDevelopment | 9e94d707482d86f1679cd7ca4229f1af9247c298 | a50a3f734022c8c7ca11af2c11f7c513035b6b19 | refs/heads/master | 2021-01-11T11:44:09.337367 | 2013-10-15T04:57:40 | 2013-10-15T04:57:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 814 | cpp | #include "Maze.h"
Maze::Maze(void)
{
}
int Maze::RecShortestPathLength(pointT pt, int steps, int & minSteps) {
if ( OutsideMaze(pt) ) {
if (steps-1 < minSteps) minSteps = steps-1;
return;
}
if ( IsMarked(pt) ) return;
MarkSquare(pt);
for (directionT dir = North; dir <= West; dir=directionT(dir + 1)) {
if (!WallExists(pt, dir) )
SolveMaze(AdjacentPoint(pt, dir, steps+1, minSteps))) {
}
}
UnmarkSquare(pt);
return minSteps;
}
bool SolveMaze(pointT pt)
{
if (OutsideMaze(pt))
return true;
if (IsMarked(pt))
return false;
MarkSquare(pt);
for (directionT dir = North; dir <= West; dir=directionT(dir + 1))
{
if (!WallExists(pt, dir) && SolveMaze(AdjacentPoint(pt, dir)))
{
return true;
}
}
UnmarkSquare(pt);
return false;
}
Maze::~Maze(void)
{
}
| [
"dsbmach@gmail.com"
] | dsbmach@gmail.com |
a632354927948ff226805d66ca653e2dd209234d | 4d8615fc959088b05bdb7ebebf1511d2167af2af | /merge.cpp | 09b0a6fe43eff008510745e75551e1fb9f810145 | [] | no_license | cuiguangwu/project_dmoo | 3448d982dfbd7fc2df3046fc11179adbf36adc7a | 1ef13033e7c1f4c702bbbb7c248f0a3e79216dfd | refs/heads/master | 2020-04-27T01:29:37.065701 | 2019-03-05T15:09:57 | 2019-03-05T15:09:57 | 173,967,291 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,245 | cpp | /* Routine for mergeing two populations */
# include <stdio.h>
# include <stdlib.h>
# include <math.h>
# include "global.h"
# include "rand.h"
/* Routine to merge two populations into one */
/* 将p1和p2合并至p3 */
void merge(population *pop1, population *pop2, population *pop3)
{
int i, k;
for (i=0; i<popsize; i++)
{
copy_ind (&(pop1->ind[i]), &(pop3->ind[i]));
}
for (i=0, k=popsize; i<popsize; i++, k++)
{
copy_ind (&(pop2->ind[i]), &(pop3->ind[k]));
}
return;
}
/* Routine to copy an individual 'ind1' into another individual 'ind2' */
/* 个体拷贝 */
void copy_ind (individual *ind1, individual *ind2)
{
int i, j;
ind2->rank = ind1->rank;
ind2->boundary_ind = ind1->boundary_ind;
ind2->constr_violation = ind1->constr_violation;
ind2->crowd_dist = ind1->crowd_dist;
if (nreal!=0)
{
for (i=0; i<nreal; i++)
{
ind2->xreal[i] = ind1->xreal[i];
}
}
if (nbin!=0)
{
for (i=0; i<nbin; i++)
{
ind2->xbin[i] = ind1->xbin[i];
for (j=0; j<nbits[i]; j++)
{
ind2->gene[i][j] = ind1->gene[i][j];
}
}
}
for (i=0; i<nobj; i++)
{
ind2->obj[i] = ind1->obj[i];
}
if (ncon!=0)
{
for (i=0; i<ncon; i++)
{
ind2->constr[i] = ind1->constr[i];
}
}
return;
}
| [
"noreply@github.com"
] | cuiguangwu.noreply@github.com |
ad02672a6e035d781290498e5883e5770d8f2a98 | b3bff44ad5c3d6cbebde8500d09dec4642de56b5 | /third-party/thrift/src/thrift/lib/cpp2/test/MultiplexAsyncProcessorTest.cpp | 982b89606d621424b49163e09a5dd58f47fbbbec | [
"MIT",
"PHP-3.01",
"Zend-2.0",
"Apache-2.0"
] | permissive | sbuzonas/hhvm | 0180fe9e416f4b570e19c75e3d991a69354e5069 | 3f02bce658ef94002e30279264649ff44f2c936a | refs/heads/master | 2023-09-01T11:54:00.370084 | 2022-10-22T01:23:33 | 2022-10-22T01:23:33 | 16,925,766 | 0 | 0 | NOASSERTION | 2023-04-03T22:57:29 | 2014-02-17T20:34:17 | C++ | UTF-8 | C++ | false | false | 29,079 | cpp | /*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* 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 <folly/portability/GMock.h>
#include <folly/portability/GTest.h>
#include <folly/test/TestUtils.h>
#include <folly/Conv.h>
#include <folly/Overload.h>
#include <thrift/lib/cpp2/async/AsyncProcessorHelper.h>
#include <thrift/lib/cpp2/async/MultiplexAsyncProcessor.h>
#include <thrift/lib/cpp2/protocol/DebugProtocol.h>
#include <thrift/lib/cpp2/server/ServerFlags.h>
#include <thrift/lib/cpp2/server/ThriftServer.h>
#include <thrift/lib/cpp2/util/ScopedServerInterfaceThread.h>
#include <thrift/lib/cpp2/test/gen-cpp2/MultiplexAsyncProcessor2_clients.h>
#include <thrift/lib/cpp2/test/gen-cpp2/MultiplexAsyncProcessor2_handlers.h>
#include <thrift/lib/cpp2/test/gen-cpp2/MultiplexAsyncProcessor_clients.h>
#include <thrift/lib/cpp2/test/gen-cpp2/MultiplexAsyncProcessor_handlers.h>
#include <thrift/lib/thrift/gen-cpp2/metadata_types_custom_protocol.h>
namespace apache::thrift::test {
using namespace ::testing;
using MethodMetadata = AsyncProcessorFactory::MethodMetadata;
using MethodMetadataMap = AsyncProcessorFactory::MethodMetadataMap;
using MetadataNotImplemented = AsyncProcessorFactory::MetadataNotImplemented;
using WildcardMethodMetadataMap =
AsyncProcessorFactory::WildcardMethodMetadataMap;
using CreateMethodMetadataResult =
AsyncProcessorFactory::CreateMethodMetadataResult;
namespace {
class FirstHandler : public apache::thrift::ServiceHandler<First> {
int one() override { return 1; }
int two() override { return 2; }
};
class SecondHandler : public apache::thrift::ServiceHandler<Second> {
int three() override { return 3; }
int four() override { return 4; }
};
class ThirdHandler : public apache::thrift::ServiceHandler<Third> {
int five() override { return 5; }
int six() override { return 6; }
};
class ConflictsHandler : public apache::thrift::ServiceHandler<Conflicts> {
int four() override { return 444; }
int five() override { return 555; }
};
class MultiplexAsyncProcessorTest : public Test {
public:
std::shared_ptr<AsyncProcessorFactory> multiplex(
std::vector<std::shared_ptr<AsyncProcessorFactory>> services) {
return std::make_shared<MultiplexAsyncProcessorFactory>(
std::move(services));
}
};
class MultiplexAsyncProcessorServerTest : public MultiplexAsyncProcessorTest {
public:
std::unique_ptr<ScopedServerInterfaceThread> runMultiplexedServices(
std::vector<std::shared_ptr<AsyncProcessorFactory>> services) {
return std::make_unique<ScopedServerInterfaceThread>(
multiplex(std::move(services)));
}
};
} // namespace
TEST_F(MultiplexAsyncProcessorTest, getServiceHandlers) {
std::vector<std::shared_ptr<AsyncProcessorFactory>> services = {
std::make_shared<FirstHandler>(),
std::make_shared<SecondHandler>(),
std::make_shared<ThirdHandler>(),
std::make_shared<ConflictsHandler>(),
};
auto processorFactory =
std::make_shared<MultiplexAsyncProcessorFactory>(std::move(services));
// Generated service handlers are one per service
EXPECT_EQ(processorFactory->getServiceHandlers().size(), 4);
}
TEST_F(MultiplexAsyncProcessorTest, getServiceHandlers_Nested) {
std::vector<std::shared_ptr<AsyncProcessorFactory>> services2 = {
std::make_shared<FirstHandler>(),
multiplex({
std::make_shared<SecondHandler>(),
std::make_shared<ThirdHandler>(),
}),
std::make_shared<ConflictsHandler>(),
};
auto processorFactory =
std::make_shared<MultiplexAsyncProcessorFactory>(std::move(services2));
// Generated service handlers are one per service
EXPECT_EQ(processorFactory->getServiceHandlers().size(), 4);
}
TEST_F(MultiplexAsyncProcessorTest, getServiceMetadata) {
auto getMetadataFromService = [](AsyncProcessorFactory& service) {
metadata::ThriftServiceMetadataResponse response;
service.getProcessor()->getServiceMetadata(response);
return response;
};
std::vector<std::shared_ptr<AsyncProcessorFactory>> servicesToMultiplex = {
std::make_shared<FirstHandler>(),
std::make_shared<SecondHandler>(),
std::make_shared<apache::thrift::ServiceHandler<SomeService>>(),
std::make_shared<ConflictsHandler>(),
std::make_shared<ThirdHandler>(),
};
auto processorFactory = std::make_shared<MultiplexAsyncProcessorFactory>(
std::move(servicesToMultiplex));
auto response = getMetadataFromService(*processorFactory);
LOG(INFO) << "ServiceMetadata: " << debugString(response);
EXPECT_EQ(
*response.context_ref()->service_info_ref()->name_ref(),
"MultiplexAsyncProcessor.First");
auto& services = *response.services_ref();
EXPECT_EQ(services.size(), 6);
EXPECT_EQ(*services[0].service_name_ref(), "MultiplexAsyncProcessor.First");
EXPECT_EQ(*services[1].service_name_ref(), "MultiplexAsyncProcessor.Second");
EXPECT_EQ(
*services[2].service_name_ref(), "MultiplexAsyncProcessor.SomeService");
// Base service of SomeService
EXPECT_EQ(*services[3].service_name_ref(), "MultiplexAsyncProcessor.Third");
EXPECT_EQ(
*services[4].service_name_ref(), "MultiplexAsyncProcessor.Conflicts");
EXPECT_EQ(*services[5].service_name_ref(), "MultiplexAsyncProcessor.Third");
const auto& metadata = *response.metadata_ref();
EXPECT_EQ(metadata.structs_ref()->size(), 1);
EXPECT_EQ(
metadata.structs_ref()->begin()->first,
"MultiplexAsyncProcessor.SomeStruct");
// All composed services are referred to
EXPECT_EQ(metadata.services_ref()->size(), 5);
}
TEST_F(MultiplexAsyncProcessorTest, getServiceMetadata_Nested) {
auto getMetadataFromService = [](AsyncProcessorFactory& service) {
metadata::ThriftServiceMetadataResponse response;
service.getProcessor()->getServiceMetadata(response);
return response;
};
std::vector<std::shared_ptr<AsyncProcessorFactory>> servicesToMultiplex = {
std::make_shared<FirstHandler>(),
std::make_shared<SecondHandler>(),
multiplex({
std::make_shared<apache::thrift::ServiceHandler<SomeService>>(),
std::make_shared<ConflictsHandler>(),
}),
std::make_shared<ThirdHandler>(),
};
auto processorFactory = std::make_shared<MultiplexAsyncProcessorFactory>(
std::move(servicesToMultiplex));
auto response = getMetadataFromService(*processorFactory);
LOG(INFO) << "ServiceMetadata: " << debugString(response);
EXPECT_EQ(
*response.context_ref()->service_info_ref()->name_ref(),
"MultiplexAsyncProcessor.First");
auto& services = *response.services_ref();
EXPECT_EQ(services.size(), 6);
EXPECT_EQ(*services[0].service_name_ref(), "MultiplexAsyncProcessor.First");
EXPECT_EQ(*services[1].service_name_ref(), "MultiplexAsyncProcessor.Second");
EXPECT_EQ(
*services[2].service_name_ref(), "MultiplexAsyncProcessor.SomeService");
// Base service of SomeService
EXPECT_EQ(*services[3].service_name_ref(), "MultiplexAsyncProcessor.Third");
EXPECT_EQ(
*services[4].service_name_ref(), "MultiplexAsyncProcessor.Conflicts");
EXPECT_EQ(*services[5].service_name_ref(), "MultiplexAsyncProcessor.Third");
const auto& metadata = *response.metadata_ref();
EXPECT_EQ(metadata.structs_ref()->size(), 1);
EXPECT_EQ(
metadata.structs_ref()->begin()->first,
"MultiplexAsyncProcessor.SomeStruct");
// All composed services are referred to
EXPECT_EQ(metadata.services_ref()->size(), 5);
}
TEST_F(MultiplexAsyncProcessorServerTest, Basic) {
auto runner = runMultiplexedServices(
{std::make_shared<FirstHandler>(), std::make_shared<SecondHandler>()});
auto client1 = runner->newClient<FirstAsyncClient>();
auto client2 = runner->newClient<SecondAsyncClient>();
EXPECT_EQ(client1->semifuture_one().get(), 1);
EXPECT_EQ(client1->semifuture_two().get(), 2);
EXPECT_EQ(client2->semifuture_three().get(), 3);
EXPECT_EQ(client2->semifuture_four().get(), 4);
}
TEST_F(MultiplexAsyncProcessorServerTest, ConflictPrecedence) {
auto runner = runMultiplexedServices(
{std::make_shared<SecondHandler>(),
std::make_shared<ConflictsHandler>(),
std::make_shared<ThirdHandler>()});
auto client2 = runner->newClient<SecondAsyncClient>();
auto client3 = runner->newClient<ThirdAsyncClient>();
EXPECT_EQ(client2->semifuture_three().get(), 3);
// Second takes precedence
EXPECT_EQ(client2->semifuture_four().get(), 4);
// Conflicts takes precedence
EXPECT_EQ(client3->semifuture_five().get(), 555);
EXPECT_EQ(client3->semifuture_six().get(), 6);
}
TEST_F(MultiplexAsyncProcessorServerTest, Nested_1) {
auto runner = runMultiplexedServices(
{multiplex(
{std::make_shared<SecondHandler>(),
std::make_shared<ConflictsHandler>()}),
std::make_shared<ThirdHandler>()});
auto client2 = runner->newClient<SecondAsyncClient>();
auto client3 = runner->newClient<ThirdAsyncClient>();
EXPECT_EQ(client2->semifuture_three().get(), 3);
// Second takes precedence
EXPECT_EQ(client2->semifuture_four().get(), 4);
// Conflicts takes precedence
EXPECT_EQ(client3->semifuture_five().get(), 555);
EXPECT_EQ(client3->semifuture_six().get(), 6);
}
TEST_F(MultiplexAsyncProcessorServerTest, Nested_2) {
auto runner = runMultiplexedServices(
{std::make_shared<ThirdHandler>(),
multiplex(
{std::make_shared<FirstHandler>(),
std::make_shared<ConflictsHandler>()}),
std::make_shared<SecondHandler>()});
auto client1 = runner->newClient<FirstAsyncClient>();
auto client2 = runner->newClient<SecondAsyncClient>();
auto client3 = runner->newClient<ThirdAsyncClient>();
EXPECT_EQ(client1->semifuture_one().get(), 1);
EXPECT_EQ(client2->semifuture_three().get(), 3);
// Conflict takes precedence
EXPECT_EQ(client2->semifuture_four().get(), 444);
// Third takes precedence
EXPECT_EQ(client3->semifuture_five().get(), 5);
EXPECT_EQ(client3->semifuture_six().get(), 6);
}
namespace {
class ContextData : public folly::RequestData {
public:
static const folly::RequestToken& getRequestToken() {
static folly::RequestToken token(
"MultiplexAsyncProcessorTest - ContextData");
return token;
}
explicit ContextData(int data) : data_(data) {}
int data() const { return data_; }
bool hasCallback() override { return false; }
static int readFromCurrent() {
return readFrom(*folly::RequestContext::get());
}
private:
static int readFrom(const folly::RequestContext& ctx) {
auto ctxData =
dynamic_cast<const ContextData*>(ctx.getContextData(getRequestToken()));
CHECK(ctxData != nullptr);
return ctxData->data();
}
int data_;
};
struct FromCurrentContextData {};
/**
* AsyncProcessorFactory where WildcardMethodMetadata always causes an internal
* error with the provided message (or optionally read it from
* folly::RequestContext).
*/
template <typename TProcessorFactory>
class WildcardThrowsInternalError : public TProcessorFactory {
public:
explicit WildcardThrowsInternalError(FromCurrentContextData)
: message_{FromCurrentContextData{}} {}
explicit WildcardThrowsInternalError(std::string message)
: message_{std::move(message)} {}
private:
using MessageVariant = std::variant<FromCurrentContextData, std::string>;
CreateMethodMetadataResult createMethodMetadata() override {
auto metadataResult = TProcessorFactory::createMethodMetadata();
return folly::variant_match(
metadataResult,
[](MetadataNotImplemented) -> WildcardMethodMetadataMap {
return WildcardMethodMetadataMap{};
},
[](MethodMetadataMap& knownMethods) -> WildcardMethodMetadataMap {
return WildcardMethodMetadataMap{
std::make_shared<
const AsyncProcessorFactory::WildcardMethodMetadata>(),
std::move(knownMethods)};
},
[](WildcardMethodMetadataMap& map) -> WildcardMethodMetadataMap {
return std::move(map);
});
}
std::unique_ptr<AsyncProcessor> getProcessor() override {
class Processor : public AsyncProcessor {
public:
void processSerializedRequest(
ResponseChannelRequest::UniquePtr,
SerializedRequest&&,
protocol::PROTOCOL_TYPES,
Cpp2RequestContext*,
folly::EventBase*,
concurrency::ThreadManager*) override {
ADD_FAILURE() << "Should never be called";
}
void processSerializedCompressedRequestWithMetadata(
ResponseChannelRequest::UniquePtr req,
SerializedCompressedRequest&& serializedRequest,
const MethodMetadata& untypedMethodMetadata,
protocol::PROTOCOL_TYPES protocolType,
Cpp2RequestContext* context,
folly::EventBase* eb,
concurrency::ThreadManager* tm) override {
if (untypedMethodMetadata.isWildcard()) {
std::string message = folly::variant_match(
message_,
[](const std::string& m) { return m; },
[](FromCurrentContextData) {
return folly::to<std::string>(ContextData::readFromCurrent());
});
req->sendErrorWrapped(
folly::make_exception_wrapper<TApplicationException>(
TApplicationException::INTERNAL_ERROR, std::move(message)),
"" /* errorCode */);
return;
}
inner_->processSerializedCompressedRequestWithMetadata(
std::move(req),
std::move(serializedRequest),
untypedMethodMetadata,
protocolType,
context,
eb,
tm);
}
void executeRequest(
ServerRequest&& request,
const AsyncProcessorFactory::MethodMetadata& methodMetadata)
override {
if (methodMetadata.isWildcard()) {
std::string message = folly::variant_match(
message_,
[](const std::string& m) { return m; },
[](FromCurrentContextData) {
return folly::to<std::string>(ContextData::readFromCurrent());
});
auto eb = detail::ServerRequestHelper::eventBase(request);
eb->runInEventBaseThread([request = std::move(request),
message = std::move(message)]() mutable {
request.request()->sendErrorWrapped(
folly::make_exception_wrapper<TApplicationException>(
TApplicationException::INTERNAL_ERROR, std::move(message)),
"" /* errorCode */);
});
return;
}
inner_->executeRequest(std::move(request), methodMetadata);
}
void terminateInteraction(
int64_t id,
Cpp2ConnContext& ctx,
folly::EventBase& eb) noexcept override {
inner_->terminateInteraction(id, ctx, eb);
}
void destroyAllInteractions(
Cpp2ConnContext& ctx, folly::EventBase& eb) noexcept override {
inner_->destroyAllInteractions(ctx, eb);
}
explicit Processor(
std::unique_ptr<AsyncProcessor>&& inner,
const MessageVariant& message)
: inner_(std::move(inner)), message_(message) {}
private:
std::unique_ptr<AsyncProcessor> inner_;
const MessageVariant& message_;
};
return std::make_unique<Processor>(
TProcessorFactory::getProcessor(), message_);
}
MessageVariant message_;
};
template <typename TProcessorFactory>
class WithUnimplementedMethodMetadata : public TProcessorFactory {
CreateMethodMetadataResult createMethodMetadata() override { return {}; }
};
} // namespace
TEST_F(MultiplexAsyncProcessorServerTest, BasicWildcard) {
auto runner = runMultiplexedServices(
{std::make_shared<FirstHandler>(),
std::make_shared<WildcardThrowsInternalError<SecondHandler>>(
"BasicWildcard")});
auto client1 = runner->newClient<FirstAsyncClient>();
auto client2 = runner->newClient<SecondAsyncClient>();
auto client3 = runner->newClient<ThirdAsyncClient>();
EXPECT_EQ(client1->semifuture_one().get(), 1);
EXPECT_EQ(client1->semifuture_two().get(), 2);
EXPECT_EQ(client2->semifuture_three().get(), 3);
EXPECT_EQ(client2->semifuture_four().get(), 4);
EXPECT_THAT(
[&] { client3->semifuture_five().get(); },
ThrowsMessage<TApplicationException>("BasicWildcard"));
}
TEST_F(MultiplexAsyncProcessorServerTest, WildcardSwallows) {
auto runner = runMultiplexedServices(
{std::make_shared<WildcardThrowsInternalError<FirstHandler>>(
"WildcardSwallows"),
std::make_shared<SecondHandler>(),
std::make_shared<WildcardThrowsInternalError<ThirdHandler>>(
"NeverReached")});
auto client1 = runner->newClient<FirstAsyncClient>();
auto client2 = runner->newClient<SecondAsyncClient>();
EXPECT_EQ(client1->semifuture_one().get(), 1);
EXPECT_EQ(client1->semifuture_two().get(), 2);
EXPECT_THAT(
[&] { client2->semifuture_three().get(); },
ThrowsMessage<TApplicationException>("WildcardSwallows"));
}
TEST_F(MultiplexAsyncProcessorServerTest, WildcardConflicts) {
auto runner = runMultiplexedServices(
{std::make_shared<SecondHandler>(),
std::make_shared<WildcardThrowsInternalError<ConflictsHandler>>(
"WildcardConflicts")});
auto client2 = runner->newClient<SecondAsyncClient>();
auto client3 = runner->newClient<ThirdAsyncClient>();
// Known methods takes precedence
EXPECT_EQ(client2->semifuture_three().get(), 3);
EXPECT_EQ(client2->semifuture_four().get(), 4);
EXPECT_EQ(client3->semifuture_five().get(), 555);
EXPECT_THAT(
[&] { client3->semifuture_six().get(); },
ThrowsMessage<TApplicationException>("WildcardConflicts"));
}
TEST_F(MultiplexAsyncProcessorServerTest, UnimplementedMetadataActsAsWildcard) {
auto runner = runMultiplexedServices(
{std::make_shared<WithUnimplementedMethodMetadata<FirstHandler>>(),
std::make_shared<SecondHandler>()});
auto client1 = runner->newClient<FirstAsyncClient>();
auto client2 = runner->newClient<SecondAsyncClient>();
EXPECT_EQ(client1->semifuture_one().get(), 1);
EXPECT_EQ(client1->semifuture_two().get(), 2);
EXPECT_THAT(
[&] { client2->semifuture_three().get(); },
ThrowsMessage<TApplicationException>("Method name three not found"));
}
namespace {
class RctxFirst : public apache::thrift::ServiceHandler<First> {
int one() override { return ContextData::readFromCurrent(); }
int two() override { return ContextData::readFromCurrent(); }
};
class RctxSecond : public apache::thrift::ServiceHandler<Second> {
int three() override { return ContextData::readFromCurrent(); }
int four() override { return ContextData::readFromCurrent(); }
};
class RctxThird : public apache::thrift::ServiceHandler<Third> {
int five() override { return ContextData::readFromCurrent(); }
int six() override { return ContextData::readFromCurrent(); }
};
class RctxConflicts : public apache::thrift::ServiceHandler<Conflicts> {
int four() override { return ContextData::readFromCurrent(); }
int five() override { return ContextData::readFromCurrent(); }
};
template <typename TProcessorFactory, int kData>
class WithRequestContextData : public TProcessorFactory {
public:
using TProcessorFactory::TProcessorFactory;
std::shared_ptr<folly::RequestContext> getBaseContextForRequest(
const MethodMetadata&) override {
auto ctx = std::make_shared<folly::RequestContext>();
ctx->setContextData(
ContextData::getRequestToken(), std::make_unique<ContextData>(kData));
return ctx;
}
};
} // namespace
TEST_F(MultiplexAsyncProcessorServerTest, RequestContext) {
auto runner = runMultiplexedServices(
{std::make_shared<WithRequestContextData<RctxFirst, 1>>(),
std::make_shared<WithRequestContextData<RctxSecond, 2>>()});
auto client1 = runner->newClient<FirstAsyncClient>();
auto client2 = runner->newClient<SecondAsyncClient>();
EXPECT_EQ(client1->semifuture_one().get(), 1);
EXPECT_EQ(client1->semifuture_two().get(), 1);
EXPECT_EQ(client2->semifuture_three().get(), 2);
EXPECT_EQ(client2->semifuture_four().get(), 2);
}
TEST_F(MultiplexAsyncProcessorServerTest, RequestContextWildcard) {
auto runner = runMultiplexedServices(
{std::make_shared<
WithRequestContextData<WildcardThrowsInternalError<RctxFirst>, 1>>(
FromCurrentContextData{}),
std::make_shared<WithRequestContextData<RctxSecond, 2>>()});
auto client1 = runner->newClient<FirstAsyncClient>();
auto client2 = runner->newClient<SecondAsyncClient>();
EXPECT_EQ(client1->semifuture_one().get(), 1);
EXPECT_EQ(client1->semifuture_two().get(), 1);
EXPECT_THAT(
[&] { client2->semifuture_three().get(); },
ThrowsMessage<TApplicationException>("1"));
}
TEST_F(MultiplexAsyncProcessorServerTest, RequestContextConflictPrecedence) {
auto runner = runMultiplexedServices(
{std::make_shared<WithRequestContextData<RctxSecond, 2>>(),
std::make_shared<WithRequestContextData<RctxConflicts, -1>>(),
std::make_shared<WithRequestContextData<RctxThird, 3>>()});
auto client2 = runner->newClient<SecondAsyncClient>();
auto client3 = runner->newClient<ThirdAsyncClient>();
EXPECT_EQ(client2->semifuture_three().get(), 2);
// Second takes precedence
EXPECT_EQ(client2->semifuture_four().get(), 2);
// Conflicts takes precedence
EXPECT_EQ(client3->semifuture_five().get(), -1);
EXPECT_EQ(client3->semifuture_six().get(), 3);
}
namespace {
RequestChannel::Ptr makeRocketChannel(folly::AsyncSocket::UniquePtr socket) {
return RocketClientChannel::newChannel(std::move(socket));
}
} // namespace
TEST_F(MultiplexAsyncProcessorServerTest, Interaction) {
using Counter = std::atomic<int>;
class TerminateInteractionTrackingProcessor : public AsyncProcessor {
public:
void processSerializedRequest(
ResponseChannelRequest::UniquePtr req,
SerializedRequest&& serializedRequest,
protocol::PROTOCOL_TYPES protocolType,
Cpp2RequestContext* context,
folly::EventBase* eb,
concurrency::ThreadManager* tm) override {
delegate_->processSerializedRequest(
std::move(req),
std::move(serializedRequest),
protocolType,
context,
eb,
tm);
}
void processSerializedCompressedRequest(
ResponseChannelRequest::UniquePtr req,
SerializedCompressedRequest&& serializedRequest,
protocol::PROTOCOL_TYPES protocolType,
Cpp2RequestContext* context,
folly::EventBase* eb,
concurrency::ThreadManager* tm) override {
delegate_->processSerializedCompressedRequest(
std::move(req),
std::move(serializedRequest),
protocolType,
context,
eb,
tm);
}
void processSerializedCompressedRequestWithMetadata(
ResponseChannelRequest::UniquePtr req,
SerializedCompressedRequest&& serializedRequest,
const MethodMetadata& methodMetadata,
protocol::PROTOCOL_TYPES protocolType,
Cpp2RequestContext* context,
folly::EventBase* eb,
concurrency::ThreadManager* tm) override {
delegate_->processSerializedCompressedRequestWithMetadata(
std::move(req),
std::move(serializedRequest),
methodMetadata,
protocolType,
context,
eb,
tm);
}
void executeRequest(
ServerRequest&& request,
const AsyncProcessorFactory::MethodMetadata& methodMetadata) override {
delegate_->executeRequest(std::move(request), methodMetadata);
}
virtual void terminateInteraction(
int64_t id,
Cpp2ConnContext& ctx,
folly::EventBase& eb) noexcept override {
++numCalls_;
delegate_->terminateInteraction(id, ctx, eb);
}
explicit TerminateInteractionTrackingProcessor(
std::unique_ptr<AsyncProcessor>&& delegate, Counter& numCalls)
: delegate_(std::move(delegate)), numCalls_(numCalls) {}
private:
std::unique_ptr<AsyncProcessor> delegate_;
Counter& numCalls_;
};
class Interaction1Handler
: public apache::thrift::ServiceHandler<Interaction1> {
public:
std::unique_ptr<Thing1If> createThing1() override {
class Thing1 : public Thing1If {
public:
void foo() override { ++numCalls_; }
explicit Thing1(Counter& numCalls, folly::Baton<>& destroyed)
: numCalls_(numCalls), destroyed_(destroyed) {}
~Thing1() override { destroyed_.post(); }
private:
Counter& numCalls_;
folly::Baton<>& destroyed_;
};
return std::make_unique<Thing1>(numCalls, destroyed);
}
std::unique_ptr<AsyncProcessor> getProcessor() override {
return std::make_unique<TerminateInteractionTrackingProcessor>(
apache::thrift::ServiceHandler<Interaction1>::getProcessor(),
numTerminateInteractionCalls);
}
Counter numCalls{0};
Counter numTerminateInteractionCalls{0};
folly::Baton<> destroyed;
};
class Interaction2Handler
: public apache::thrift::ServiceHandler<Interaction2> {
std::unique_ptr<Thing2If> createThing2() override {
class Thing2 : public Thing2If {
public:
void bar() override { ++numCalls_; }
explicit Thing2(Counter& numCalls) : numCalls_(numCalls) {}
private:
Counter& numCalls_;
};
return std::make_unique<Thing2>(numCalls);
}
public:
Counter numCalls{0};
};
auto interaction1 = std::make_shared<Interaction1Handler>();
auto interaction2 = std::make_shared<Interaction2Handler>();
auto runner = runMultiplexedServices({interaction1, interaction2});
auto client1 = runner->newClient<Interaction1AsyncClient>(
nullptr /* callbackExecutor */, makeRocketChannel);
auto client2 = runner->newClient<Interaction2AsyncClient>(
nullptr /* callbackExecutor */, makeRocketChannel);
std::optional<Interaction1AsyncClient::Thing1> thing1 =
client1->createThing1();
thing1->semifuture_foo().get();
std::optional<Interaction2AsyncClient::Thing2> thing2 =
client2->createThing2();
thing2->semifuture_bar().get();
EXPECT_EQ(interaction1->numCalls.load(), 1);
EXPECT_EQ(interaction2->numCalls.load(), 1);
// Make sure interaction gets destroyed
thing1.reset();
interaction1->destroyed.wait();
EXPECT_EQ(interaction1->numTerminateInteractionCalls.load(), 1);
// Other interactions should not be destroyed
thing2->semifuture_bar().get();
EXPECT_EQ(interaction2->numCalls.load(), 2);
}
TEST_F(MultiplexAsyncProcessorServerTest, InteractionConflict) {
class Interaction1Handler
: public apache::thrift::ServiceHandler<Interaction1> {
public:
std::unique_ptr<Thing1If> createThing1() override {
class Thing1 : public Thing1If {
public:
void foo() override {}
};
return std::make_unique<Thing1>();
}
};
class ConflictsInteraction1Handler
: public apache::thrift::ServiceHandler<
apache::thrift::test2::ConflictsInteraction1> {
public:
std::unique_ptr<Thing1If> createThing1() override {
class Thing1 : public Thing1If {
public:
void foo() override { ADD_FAILURE() << "Should never be called"; }
void bar() override { ADD_FAILURE() << "Should never be called"; }
};
return std::make_unique<Thing1>();
}
};
auto runner = runMultiplexedServices(
{std::make_shared<Interaction1Handler>(),
std::make_shared<ConflictsInteraction1Handler>(),
std::make_shared<WildcardThrowsInternalError<SecondHandler>>(
"ConflictsInteraction1")});
auto client1 = runner->newClient<Interaction1AsyncClient>(
nullptr /* callbackExecutor */, makeRocketChannel);
auto client2 =
runner
->newClient<apache::thrift::test2::ConflictsInteraction1AsyncClient>(
nullptr /* callbackExecutor */, makeRocketChannel);
auto thing = client1->createThing1();
thing.semifuture_foo().get();
auto thing2 = client2->createThing1();
// Thing1.bar from ConflictsInteraction1 should not be in MethodMetadataMap
// because Interaction1 already added Thing1.foo.
EXPECT_THAT(
[&] { thing2.semifuture_bar().get(); },
ThrowsMessage<TApplicationException>("ConflictsInteraction1"));
}
} // namespace apache::thrift::test
| [
"atry@fb.com"
] | atry@fb.com |
ec8b482a4498617b8cca04391e75f12871662e61 | aaacdfd8eb1e5231ce0e1ade4b58101687bcffab | /src/c_crypto/src/common/Varint.h | f9d820fd1562a8c2ae85270a7807ae6191c2e79c | [
"MIT"
] | permissive | survirtual/ring-crypto | a859c7c8a8cf1db3b473a7b8b46fe502ad410f2e | 128f3d2e26c5489c7f947753ebbedc907128245d | refs/heads/master | 2023-01-28T23:54:47.024789 | 2022-10-12T11:49:43 | 2022-10-12T11:49:43 | 229,849,713 | 6 | 5 | MIT | 2023-01-05T03:35:13 | 2019-12-24T01:42:52 | C | UTF-8 | C++ | false | false | 2,006 | h | // Copyright (c) 2011-2016 The Cryptonote developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#pragma once
#include <limits>
#include <sstream>
#include <string>
#include <type_traits>
#include <utility>
namespace tools {
template<typename OutputIt, typename T>
typename std::enable_if<std::is_integral<T>::value && std::is_unsigned<T>::value, void>::type
write_varint(OutputIt &&dest, T i) {
while (i >= 0x80) {
*dest++ = (static_cast<char>(i) & 0x7f) | 0x80;
i >>= 7;
}
*dest++ = static_cast<char>(i);
}
template<typename t_type>
std::string get_varint_data(const t_type& v)
{
std::stringstream ss;
write_varint(std::ostreambuf_iterator<char>(ss), v);
return ss.str();
}
template<int bits, typename InputIt, typename T>
typename std::enable_if<std::is_integral<T>::value && std::is_unsigned<T>::value && 0 <= bits && bits <= std::numeric_limits<T>::digits, int>::type
read_varint(InputIt &&first, InputIt &&last, T &i) {
int read = 0;
i = 0;
for (int shift = 0;; shift += 7) {
if (first == last) {
return read; // End of input.
}
unsigned char byte = *first++;
++read;
if (shift + 7 >= bits && byte >= 1 << (bits - shift)) {
return -1; // Overflow.
}
if (byte == 0 && shift != 0) {
return -2; // Non-canonical representation.
}
i |= static_cast<T>(byte & 0x7f) << shift;
if ((byte & 0x80) == 0) {
break;
}
}
return read;
}
template<typename InputIt, typename T>
int read_varint(InputIt &&first, InputIt &&last, T &i) {
return read_varint<std::numeric_limits<T>::digits, InputIt, T>(std::move(first), std::move(last), i);
}
}
| [
"sc@survirtual.com"
] | sc@survirtual.com |
f45ba07aa9ab343c83c2cbc92d1b2901349e1ebb | cb7ac15343e3b38303334f060cf658e87946c951 | /source/runtime/Slate/Private/Widgets/Text/SlateTextBlockLayout.cpp | 35e81dcee055b764c7537d4b1c16fc60ef1d29f4 | [] | no_license | 523793658/Air2.0 | ac07e33273454442936ce2174010ecd287888757 | 9e04d3729a9ce1ee214b58c2296188ec8bf69057 | refs/heads/master | 2021-11-10T16:08:51.077092 | 2021-11-04T13:11:59 | 2021-11-04T13:11:59 | 178,317,006 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,064 | cpp | // Copyright Epic Games, Inc. All Rights Reserved.
#include "Widgets/Text/SlateTextBlockLayout.h"
#include "Fonts/FontCache.h"
#include "Framework/Text/SlateTextHighlightRunRenderer.h"
FSlateTextBlockLayout::FSlateTextBlockLayout(SWidget* InOwner, FTextBlockStyle InDefaultTextStyle, const TOptional<ETextShapingMethod> InTextShapingMethod, const TOptional<ETextFlowDirection> InTextFlowDirection, const FCreateSlateTextLayout& InCreateSlateTextLayout, TSharedRef<ITextLayoutMarshaller> InMarshaller, TSharedPtr<IBreakIterator> InLineBreakPolicy)
: TextLayout((InCreateSlateTextLayout.IsBound()) ? InCreateSlateTextLayout.Execute(InOwner, MoveTemp(InDefaultTextStyle)) : FSlateTextLayout::Create(InOwner, MoveTemp(InDefaultTextStyle)))
, Marshaller(MoveTemp(InMarshaller))
, TextHighlighter(FSlateTextHighlightRunRenderer::Create())
, CachedSize(ForceInitToZero)
, CachedWrapTextAt(0)
, bCachedAutoWrapText(false)
{
if (InTextShapingMethod.IsSet())
{
TextLayout->SetTextShapingMethod(InTextShapingMethod.GetValue());
}
if (InTextFlowDirection.IsSet())
{
TextLayout->SetTextFlowDirection(InTextFlowDirection.GetValue());
}
TextLayout->SetLineBreakIterator(MoveTemp(InLineBreakPolicy));
}
FVector2D FSlateTextBlockLayout::ComputeDesiredSize(const FWidgetArgs& InWidgetArgs, const float InScale, const FTextBlockStyle& InTextStyle)
{
// Cache the wrapping rules so that we can recompute the wrap at width in paint.
CachedWrapTextAt = InWidgetArgs.WrapTextAt.Get(0.0f);
bCachedAutoWrapText = InWidgetArgs.AutoWrapText.Get(false);
const ETextTransformPolicy PreviousTransformPolicy = TextLayout->GetTransformPolicy();
// Set the text layout information
TextLayout->SetScale(InScale);
TextLayout->SetWrappingWidth(CalculateWrappingWidth());
TextLayout->SetWrappingPolicy(InWidgetArgs.WrappingPolicy.Get());
TextLayout->SetTransformPolicy(InWidgetArgs.TransformPolicy.Get());
TextLayout->SetMargin(InWidgetArgs.Margin.Get());
TextLayout->SetJustification(InWidgetArgs.Justification.Get());
TextLayout->SetLineHeightPercentage(InWidgetArgs.LineHeightPercentage.Get());
// Has the transform policy changed? If so we need a full refresh as that is destructive to the model text
if (PreviousTransformPolicy != TextLayout->GetTransformPolicy())
{
Marshaller->MakeDirty();
}
// Has the style used for this text block changed?
if(!IsStyleUpToDate(InTextStyle))
{
TextLayout->SetDefaultTextStyle(InTextStyle);
Marshaller->MakeDirty(); // will regenerate the text using the new default style
}
{
bool bRequiresTextUpdate = false;
const FText& TextToSet = InWidgetArgs.Text.Get(FText::GetEmpty());
if(!TextLastUpdate.IdenticalTo(TextToSet))
{
// The pointer used by the bound text has changed, however the text may still be the same - check that now
if(!TextLastUpdate.IsDisplayStringEqualTo(TextToSet))
{
// The source text has changed, so update the internal text
bRequiresTextUpdate = true;
}
// Update this even if the text is lexically identical, as it will update the pointer compared by IdenticalTo for the next Tick
TextLastUpdate = FTextSnapshot(TextToSet);
}
if(bRequiresTextUpdate || Marshaller->IsDirty())
{
UpdateTextLayout(TextToSet);
}
}
{
const FText& HighlightTextToSet = InWidgetArgs.HighlightText.Get(FText::GetEmpty());
if(!HighlightTextLastUpdate.IdenticalTo(HighlightTextToSet))
{
// The pointer used by the bound text has changed, however the text may still be the same - check that now
if(!HighlightTextLastUpdate.IsDisplayStringEqualTo(HighlightTextToSet))
{
UpdateTextHighlights(HighlightTextToSet);
}
// Update this even if the text is lexically identical, as it will update the pointer compared by IdenticalTo for the next Tick
HighlightTextLastUpdate = FTextSnapshot(HighlightTextToSet);
}
}
// We need to update our size if the text layout has become dirty
TextLayout->UpdateIfNeeded();
return TextLayout->GetSize();
}
FVector2D FSlateTextBlockLayout::GetDesiredSize() const
{
return TextLayout->GetSize();
}
float FSlateTextBlockLayout::GetLayoutScale() const
{
return TextLayout->GetScale();
}
int32 FSlateTextBlockLayout::OnPaint(const FPaintArgs& InPaintArgs, const FGeometry& InAllottedGeometry, const FSlateRect& InClippingRect, FSlateWindowElementList& OutDrawElements, int32 LayerId, const FWidgetStyle& InWidgetStyle, bool bParentEnabled)
{
// Store a new cached size with the scale
CachedSize = InAllottedGeometry.GetLocalSize();
// Recompute wrapping in case the cached size changed.
TextLayout->SetWrappingWidth(CalculateWrappingWidth());
// Text blocks don't have scroll bars, so when the visible region is smaller than the desired size,
// we attempt to auto-scroll to keep the view of the text aligned with the current justification method
const ETextJustify::Type VisualJustification = TextLayout->GetVisualJustification();
FVector2D AutoScrollValue = FVector2D::ZeroVector; // Scroll to the left
if(VisualJustification != ETextJustify::Left)
{
const float ActualWidth = TextLayout->GetSize().X;
const float VisibleWidth = CachedSize.X;
if(VisibleWidth < ActualWidth)
{
switch(VisualJustification)
{
case ETextJustify::Center:
AutoScrollValue.X = (ActualWidth - VisibleWidth) * 0.5f; // Scroll to the center
break;
case ETextJustify::Right:
AutoScrollValue.X = (ActualWidth - VisibleWidth); // Scroll to the right
break;
default:
break;
}
}
}
TextLayout->SetVisibleRegion(CachedSize, AutoScrollValue * TextLayout->GetScale());
TextLayout->UpdateIfNeeded();
return TextLayout->OnPaint(InPaintArgs, InAllottedGeometry, InClippingRect, OutDrawElements, LayerId, InWidgetStyle, bParentEnabled);
}
void FSlateTextBlockLayout::DirtyLayout()
{
TextLayout->DirtyLayout();
}
void FSlateTextBlockLayout::DirtyContent()
{
DirtyLayout();
Marshaller->MakeDirty();
}
void FSlateTextBlockLayout::OverrideTextStyle(const FTextBlockStyle& InTextStyle)
{
// Has the style used for this text block changed?
if(!IsStyleUpToDate(InTextStyle))
{
TextLayout->SetDefaultTextStyle(InTextStyle);
FString CurrentText;
Marshaller->GetText(CurrentText, *TextLayout);
UpdateTextLayout(CurrentText);
}
}
void FSlateTextBlockLayout::SetTextShapingMethod(const TOptional<ETextShapingMethod>& InTextShapingMethod)
{
TextLayout->SetTextShapingMethod((InTextShapingMethod.IsSet()) ? InTextShapingMethod.GetValue() : GetDefaultTextShapingMethod());
}
void FSlateTextBlockLayout::SetTextFlowDirection(const TOptional<ETextFlowDirection>& InTextFlowDirection)
{
TextLayout->SetTextFlowDirection((InTextFlowDirection.IsSet()) ? InTextFlowDirection.GetValue() : GetDefaultTextFlowDirection());
}
void FSlateTextBlockLayout::SetDebugSourceInfo(const TAttribute<FString>& InDebugSourceInfo)
{
TextLayout->SetDebugSourceInfo(InDebugSourceInfo);
}
FChildren* FSlateTextBlockLayout::GetChildren()
{
return TextLayout->GetChildren();
}
void FSlateTextBlockLayout::ArrangeChildren(const FGeometry& AllottedGeometry, FArrangedChildren& ArrangedChildren) const
{
TextLayout->ArrangeChildren(AllottedGeometry, ArrangedChildren);
}
void FSlateTextBlockLayout::UpdateTextLayout(const FText& InText)
{
UpdateTextLayout(InText.ToString());
}
void FSlateTextBlockLayout::UpdateTextLayout(const FString& InText)
{
Marshaller->ClearDirty();
TextLayout->ClearLines();
TextLayout->ClearLineHighlights();
TextLayout->ClearRunRenderers();
Marshaller->SetText(InText, *TextLayout);
HighlightTextLastUpdate = FTextSnapshot();
}
void FSlateTextBlockLayout::UpdateTextHighlights(const FText& InHighlightText)
{
const FString& HighlightTextString = InHighlightText.ToString();
const int32 HighlightTextLength = HighlightTextString.Len();
const TArray< FTextLayout::FLineModel >& LineModels = TextLayout->GetLineModels();
TArray<FTextRunRenderer> TextHighlights;
if (HighlightTextString.Len() > 0)
{
for(int32 LineIndex = 0; LineIndex < LineModels.Num(); ++LineIndex)
{
const FTextLayout::FLineModel& LineModel = LineModels[LineIndex];
int32 FindBegin = 0;
int32 CurrentHighlightBegin;
const int32 TextLength = LineModel.Text->Len();
while(FindBegin < TextLength && (CurrentHighlightBegin = LineModel.Text->Find(HighlightTextString, ESearchCase::IgnoreCase, ESearchDir::FromStart, FindBegin)) != INDEX_NONE)
{
FindBegin = CurrentHighlightBegin + HighlightTextLength;
if(TextHighlights.Num() > 0 && TextHighlights.Last().LineIndex == LineIndex && TextHighlights.Last().Range.EndIndex == CurrentHighlightBegin)
{
TextHighlights[TextHighlights.Num() - 1] = FTextRunRenderer(LineIndex, FTextRange(TextHighlights.Last().Range.BeginIndex, FindBegin), TextHighlighter.ToSharedRef());
}
else
{
TextHighlights.Add(FTextRunRenderer(LineIndex, FTextRange(CurrentHighlightBegin, FindBegin), TextHighlighter.ToSharedRef()));
}
}
}
}
TextLayout->SetRunRenderers(TextHighlights);
}
bool FSlateTextBlockLayout::IsStyleUpToDate(const FTextBlockStyle& NewStyle) const
{
const FTextBlockStyle& CurrentStyle = TextLayout->GetDefaultTextStyle();
return (CurrentStyle.Font.IsIdenticalTo(NewStyle.Font))
&& (CurrentStyle.ColorAndOpacity == NewStyle.ColorAndOpacity)
&& (CurrentStyle.ShadowOffset == NewStyle.ShadowOffset)
&& (CurrentStyle.ShadowColorAndOpacity == NewStyle.ShadowColorAndOpacity)
&& (CurrentStyle.SelectedBackgroundColor == NewStyle.SelectedBackgroundColor)
&& (CurrentStyle.HighlightColor == NewStyle.HighlightColor)
&& (CurrentStyle.HighlightShape == NewStyle.HighlightShape);
}
float FSlateTextBlockLayout::CalculateWrappingWidth() const
{
// Text wrapping can either be used defined (WrapTextAt), automatic (bAutoWrapText and CachedSize),
// or a mixture of both. Take whichever has the smallest value (>1)
float WrappingWidth = CachedWrapTextAt;
if (bCachedAutoWrapText && CachedSize.X >= 1.0f)
{
WrappingWidth = (WrappingWidth >= 1.0f) ? FMath::Min(WrappingWidth, CachedSize.X) : CachedSize.X;
}
return FMath::Max(0.0f, WrappingWidth);
}
| [
"523793658@qq.com"
] | 523793658@qq.com |
cce46d11e51b9c0dab684f251ea5cceb117db47d | 38804bb6bbe2ebf4953e4ee834edb41ce0f9a55c | /不会023_Merge_k_Sorted_Lists/23.cpp | d73113c5a6a89951c5729a7f785c483dbf1a9240 | [] | no_license | mumuxijili/MyLCode | d90da042477193e23a2a215c8e4d29d4911a2dd3 | 5998073e400f732b144f742d257b8f97631cbc00 | refs/heads/master | 2021-01-01T05:19:06.388875 | 2017-06-02T03:50:04 | 2017-06-02T03:50:04 | 59,084,603 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 255 | cpp | #include <iostream>
#include <string>
#include <vector>
using namespace std;
struct ListNode
{
int val;
ListNode *next;
ListNode(int x) : val(x), next(NULL) {}
};
class Solution
{
public:
ListNode* mergeKLists(vector<ListNode*>& lists)
{
}
};
| [
"mengjiepang@gmail.com"
] | mengjiepang@gmail.com |
9c119e7639d8165e861ac1266d1c1f295412b16c | 836c8f5168b4219c42cb4c39bcb94c7b351ccf7b | /src/loginfo.cpp | 6652ce34906e065868ef0b3595a492d36da4e193 | [] | no_license | vihist/logapi | 6d5b361590d69747537615f1d2aa598fe517621c | bbb27725ad937156eed8a3141cc05632eab53045 | refs/heads/master | 2021-01-19T08:05:29.620761 | 2017-04-16T14:47:47 | 2017-04-16T14:47:47 | 82,069,551 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,857 | cpp | #pragma warning ( disable : 4996)
#include <iostream>
#include <sstream>
#include <iomanip>
#include <stdarg.h>
#include <time.h>
#include <string.h>
#ifdef _LINUX_
#include <sys/time.h>
#else
#include <Windows.h>
#endif
#include "loginfo.h"
using std::string;
using std::ostringstream;
using std::setw;
namespace space_logapi
{
char* g_LevelDesc[] = {
"ERRO",
"WARN",
"INFO",
"DEBU"
};
void CreateTimeString(char* pDateInfo, int usLen)
{
if (pDateInfo == NULL)
{
return;
}
tm tm_time;
time_t long_time;
(void)time( &long_time );
ulong ulMillSecond;
#ifndef _LINUX_
(void)localtime_s(&tm_time, &long_time);
SYSTEMTIME sysTime;
GetLocalTime(&sysTime);
ulMillSecond = sysTime.wMilliseconds;
#else
localtime_r(&long_time, &tm_time);
timeval tv;
gettimeofday(&tv, NULL);
ulMillSecond = tv.tv_usec/1000;
#endif
ostringstream strTimeLogStream;
(void)strTimeLogStream.fill('0');
strTimeLogStream << setw(4) << 1900+tm_time.tm_year
<< setw(2) << 1+tm_time.tm_mon
<< setw(2) << tm_time.tm_mday
<< ' '
<< setw(2) << tm_time.tm_hour << ':'
<< setw(2) << tm_time.tm_min << ':'
<< setw(2) << tm_time.tm_sec << ':'
<< setw(3) << ulMillSecond << ' ';
const string& strTimeLog = strTimeLogStream.str();
strncpy(pDateInfo, strTimeLog.c_str(), usLen);
pDateInfo[DATE_INFO_LEN - 1] = '\0';
}
CLogInfo::CLogInfo(uchar ucLogLevel, char* pLogDesc): m_ucLevel(ucLogLevel), m_bInited(true)
{
CreateTimeString(m_pDateInfo, DATE_INFO_LEN);
strncpy(m_pLogInfo, pLogDesc, MAX_LOGINF_LEN);
}
CLogInfo::CLogInfo():m_bInited(false),m_ucLevel(0)
{
m_pDateInfo[0] = '\0';
m_pLogInfo[0] = '\0';
}
bool CLogInfo::ToString(string& strLog) const
{
if (!IsValid())
{
return false;
}
ostringstream strTimeLogStream;
(void)strTimeLogStream.fill('0');
strTimeLogStream << m_pDateInfo
<< " "
<< "["
<< g_LevelDesc[m_ucLevel]
<< "]"
<< " "
<< m_pLogInfo
#ifndef _LINUX_
<< "\r" //win下ascii文件换行符号前有回车符。若字符串中没有回车符,win也会自动添加的,但是会造成按照COfstreamManager::m_ulCurrFileSize不准
#endif
<< "\n";
strLog = strTimeLogStream.str();
return true;
}
bool CLogInfo::IsValid() const
{
return m_bInited;
}
} | [
"noreply@github.com"
] | vihist.noreply@github.com |
6719191f3d020bcfd1d028b26c02cc50935c59ed | 4486ab290ac7c1043fa7014a7a376c0b349ad9ef | /BT1000_140.cpp | e568d711b38b705e2b3bc2a853e29d1bcc362860 | [] | no_license | HoaAnh/BT1000_NTTMK_v2 | da1239deb0f00deedbba1634e8c5e0f45929ffeb | df2af4cb2bc3ac837804044152aabdb3a14a5279 | refs/heads/master | 2021-01-01T20:39:19.270188 | 2017-08-16T08:04:24 | 2017-08-16T08:04:24 | 98,907,420 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 313 | cpp | #include<iostream>
using namespace std;
int main()
{
int n;
cin>>n;
int Arr[10000];
for(int i=0;i<n;i++)
{
cin>>Arr[i];
}
int Min=0;
for(int i=0;i<n;i++)
{
if(Arr[i]>0&&Arr[i]<Arr[Min])
{
Min=i;
}
else
{
cout<<"-1";
}
}
cout<<Min;
return 0;
}
| [
"noreply@github.com"
] | HoaAnh.noreply@github.com |
13f8a14c1b31102b4107b4a77ddfe1517c1e5296 | 9ceffc53f308758867323a18c81ca66238902cfd | /HackerRank/BFSShortReach_1.cpp | 956091d2c7b99eb83c3b15060de89be9ee13df2d | [] | no_license | ConanCode96/ONLINE_JUDGE | a0783ed15e6f1480a96bddaeafdb40b28744fbe8 | c8f971b05b833bea6c46db8d62c11a7293935ea1 | refs/heads/master | 2021-05-09T22:15:40.762999 | 2020-07-27T18:03:30 | 2020-07-27T18:03:30 | 118,746,877 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,554 | cpp | #include <bits/stdc++.h>
using namespace std;
#define X first
#define Y second
#define ll long long
#define inf (ll)1e18
#define all(x) x.begin(), x.end()
const int MX = 200020;
const int N = 1000060;
const int mod = ((int)1e9 + 7);
int main(){
/*
Hossam ^_^
___ ___
(^_^) (^_^)
/( | )\ /( | )\
| | | |
*/
cin.tie(0);
cin.sync_with_stdio(0);
#ifdef Cyborg101
freopen("input.txt", "r", stdin);
freopen("output.txt", "w", stdout);
#endif
const int weight = 6;
int q;
cin >> q;
while(q--){
int n, m;
cin >> n >> m;
std::vector<int> g[n];
while(m--){
int a, b;
cin >> a >> b;
--a, --b; //zero-indexed vertices
g[a].push_back(b);
g[b].push_back(a);
}
int s;
cin >> s;
--s;
int mx_weight = (n - 1) * weight + 1;
std::vector<int> bst(n, mx_weight);
bst[s] = 0;
queue<int> q;
q.push(s);
while(!q.empty()){
auto x = q.front();
q.pop();
for(auto y : g[x]){
if(bst[y] == mx_weight){ //not visited, (this means that the first time it's visited this is the shortest path since the edge weight is constant ^_^)
bst[y] = bst[x] + weight;
q.push(y);
}
}
}
for(int i = 0; i < n; ++i){
if(i == s) continue;
if(bst[i] == mx_weight)
bst[i] = -1;
cout << bst[i] << " \n"[i == n - 1];
}
}
return 0;
}
| [
"noreply@github.com"
] | ConanCode96.noreply@github.com |
61332f304630679af7fc2157f30781b62eb4b2d9 | b71126069f4137753f88d8010c25d0deff5345d6 | /qt_comPort_Monitor/main.cpp | 7e17ce68cac78f51553df2f24658232ce264725c | [] | no_license | plumber2020/Qt_ComPort_pic16F1718_mcp9803 | e2cef2bdfb03323e4d3833ef08ab0936c4749f7c | 152b1e6fe808b4aecf26cc43982a8c3e7329fe05 | refs/heads/main | 2023-06-12T04:40:10.566193 | 2021-07-08T10:18:51 | 2021-07-08T10:18:51 | 348,489,534 | 0 | 0 | null | 2021-04-03T20:43:12 | 2021-03-16T20:57:07 | C | UTF-8 | C++ | false | false | 276 | cpp | #include "mainwindow.h"
#include <QApplication>
//#include "./logging/Logger.h"
int main(int argc, char *argv[])
{
// Logger::init(0);
QApplication a(argc, argv);
MainWindow w;
w.show();
bool state = a.exec();
// Logger::clean();
return state;
}
| [
"42453852+sweet-little@users.noreply.github.com"
] | 42453852+sweet-little@users.noreply.github.com |
2c342a858a94651d1a26994c4e423bfbac93bd22 | 0b228497f46acb1ea5fb5a4863b8807256e1ed4c | /Algorithms/OptFlow/unittests/optflow_unittests.cpp | 1408b46b766a0176e9dc9d9879e54c21af15cab4 | [] | no_license | mazurekm/ObjectTracking | a08df16ad672b7616e5091ed47ff37b7102fe678 | 765b2721e76c6605801f22e6c92e88c7470de823 | refs/heads/master | 2021-01-18T05:55:12.326779 | 2015-06-06T14:05:12 | 2015-06-06T14:05:12 | 33,033,672 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,503 | cpp | #define BOOST_TEST_MODULE Algorithms
#include <boost/test/unit_test.hpp>
#include <Algorithms/OptFlow/OpticalFlow.h>
#include <FrameProcessing/TransformContainer.h>
#include <FrameProcessing/ImageTransform.h>
#include <string>
#include <sstream>
#include <boost/filesystem.hpp>
#include <Algorithms/Utils/State.h>
#include <Algorithms/Utils/MeasuredData.h>
BOOST_AUTO_TEST_CASE(sample1_test)
{
std::stringstream sst;
sst << boost::filesystem::current_path();
std::string path = sst.str();
path.erase(path.begin());
path.erase(path.end()-1);
path+="/";
cv::Mat templ = cv::imread(path+"Tests/bin/temp1.png");
CPatternController::getInstance().addPattern(templ,-1,-1);
std::unique_ptr<CMeasuredData> ptr (new CMeasuredData(path+"Tests/bin/sample1.ref") );
path += "Tests/bin/sample_1.wmv";
CVideoLoader loader(path);
COpticalFlow alg("sample1.ref");
std::unique_ptr<State> state( new MarkState() );
while (nullptr != state)
{
state = state->handle(loader, alg, ptr);
}
auto qual = ptr->getAvgMark();
std::cout << ptr->getAvgTime() <<" " <<qual.distance <<" " <<qual.width <<" " << qual.height << std::endl;
}
BOOST_AUTO_TEST_CASE(sample2_test)
{
std::stringstream sst;
sst << boost::filesystem::current_path();
std::string path = sst.str();
path.erase(path.begin());
path.erase(path.end()-1);
path+="/";
cv::Mat templ = cv::imread(path+"Tests/bin/temp2.png");
CPatternController::getInstance().addPattern(templ,-1,-1);
std::unique_ptr<CMeasuredData> ptr (new CMeasuredData(path+"Tests/bin/sample2.ref") );
path += "Tests/bin/sample_2.wmv";
CVideoLoader loader(path);
COpticalFlow alg("sample2.csv");
std::unique_ptr<State> state( new MarkState() );
while (nullptr != state)
{
state = state->handle(loader, alg, ptr);
}
auto qual = ptr->getAvgMark();
std::cout << ptr->getAvgTime() <<" " <<qual.distance <<" " <<qual.width <<" " << qual.height << std::endl;
}
BOOST_AUTO_TEST_CASE(sample3_test)
{
std::stringstream sst;
sst << boost::filesystem::current_path();
std::string path = sst.str();
path.erase(path.begin());
path.erase(path.end()-1);
path+="/";
cv::Mat templ = cv::imread(path+"Tests/bin/temp3.png");
CPatternController::getInstance().addPattern(templ,-1,-1);
std::unique_ptr<CMeasuredData> ptr (new CMeasuredData(path+"Tests/bin/sample3.ref") );
path += "Tests/bin/sample_3.wmv";
CVideoLoader loader(path);
COpticalFlow alg("sample3.csv");
std::unique_ptr<State> state( new MarkState() );
while (nullptr != state)
{
state = state->handle(loader, alg, ptr);
}
auto qual = ptr->getAvgMark();
std::cout << ptr->getAvgTime() <<" " <<qual.distance <<" " <<qual.width <<" " << qual.height << std::endl;
}
BOOST_AUTO_TEST_CASE(sample4_test)
{
std::stringstream sst;
sst << boost::filesystem::current_path();
std::string path = sst.str();
path.erase(path.begin());
path.erase(path.end()-1);
path+="/";
cv::Mat templ = cv::imread(path+"Tests/bin/temp4.png");
CPatternController::getInstance().addPattern(templ,-1,-1);
std::unique_ptr<CMeasuredData> ptr (new CMeasuredData(path+"Tests/bin/sample4.ref") );
path += "Tests/bin/sample_4.wmv";
CVideoLoader loader(path);
COpticalFlow alg("sample4.csv");
std::unique_ptr<State> state( new MarkState() );
while (nullptr != state)
{
state = state->handle(loader, alg, ptr);
}
auto qual = ptr->getAvgMark();
std::cout << ptr->getAvgTime() <<" " <<qual.distance <<" " <<qual.width <<" " << qual.height << std::endl;
}
| [
"mazur@myown.test"
] | mazur@myown.test |
76f3e4d188d7e7d64dbb0b739d1b7469b4b30d7c | ef927955ec4904a79f11be34038af7f6f75bd31f | /grxsdk/inc/grx/gcstatusbar.h | 8a1d59c54241367afb7d354eb6b0f2fc48e8de20 | [] | no_license | 15831944/arxloader | 610842b913b1fea16133564ff532a4207daf076a | b9d2888953b04ab53743ddae6751d871d2a23dae | refs/heads/master | 2023-04-13T14:54:28.462797 | 2021-04-27T12:37:05 | 2021-04-27T12:37:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,839 | h |
#ifndef _GCSTATUSBAR_H
#define _GCSTATUSBAR_H 1
#pragma pack (push, 8)
#ifdef NEW_STATUS_BAR
#define SB_DEPRECATED __declspec(deprecated)
#else
#define SB_DEPRECATED
#endif
#include "gcdocman.h"
#include "rxvalue.h"
class GCAD_DLL_DECL GcStatusBarItem
{
public:
GcStatusBarItem();
GcStatusBarItem(const CString& strId, bool isTrayItem);
virtual ~GcStatusBarItem();
bool IsTrayItem() const;
const CString& GetName() const;
virtual BOOL SetIcon(HICON hIcon);
virtual HICON GetIcon() const;
virtual void SetIconLabel(CString sIcon);
virtual CString GetIconLabel();
virtual BOOL SetToolTipText(const CString& strText);
virtual BOOL GetToolTipText(CString& strText) const;
SB_DEPRECATED virtual BOOL QueryToolTipText(CString& strText) const;
virtual void Enable(BOOL bValue);
virtual BOOL IsEnabled();
virtual void SetVisible(BOOL bIsVisible);
virtual BOOL IsVisible();
virtual void OnLButtonDown(UINT nFlags, CPoint point);
virtual void OnRButtonDown(UINT nFlags, CPoint point);
virtual void OnLButtonDblClk(UINT nFlags, CPoint point);
virtual void OnDelete();
SB_DEPRECATED virtual BOOL ClientToScreen(LPPOINT lpPoint);
SB_DEPRECATED virtual BOOL ClientToScreen(LPRECT lpRect);
SB_DEPRECATED virtual BOOL ScreenToClient(LPPOINT lpPoint);
SB_DEPRECATED virtual BOOL ScreenToClient(LPRECT lpRect);
virtual UINT DisplayContextMenu(CMenu& menu, CPoint point);
SB_DEPRECATED virtual BOOL ShowTraySettingsDialog();
//////////////////////////////////////////////////////////////////////////////
// Note: These methods are for INTERNAL USE ONLY. Using these methods may
// adversely affect application functionality
SB_DEPRECATED virtual void SetContentChanged(BOOL bChanged) {m_bContentChanged = bChanged;}
SB_DEPRECATED virtual BOOL ContentChanged() const {return m_bContentChanged;}
SB_DEPRECATED virtual void SetVisibilityChanged(BOOL bChanged) {m_bVisibilityChanged = bChanged;}
SB_DEPRECATED virtual BOOL VisibilityChanged() const {return m_bVisibilityChanged;}
SB_DEPRECATED virtual void SetInternalData(void* pData, BOOL bForDocSwitch = FALSE);
SB_DEPRECATED virtual void* GetInternalData(BOOL bForDocSwitch = TRUE) const;
void* GetData();
int GetID() const;
void SetID(int id);
CString& GetActiveImageState() const;
void SetActiveImageState(const CString& strActiveImageState);
// End INTERNAL USE ONLY.
//////////////////////////////////////////////////////////////////////////////
private:
CString m_sIcon;
HICON m_hIcon;
CString m_strToolTipText;
BOOL m_bEnabled;
BOOL m_bVisible;
BOOL m_bContentChanged;
BOOL m_bVisibilityChanged;
void* m_pData;
void* m_pDocSwitchData;
};
#define GCSB_NOBORDERS (1<<0)
#define GCSB_INACTIVE (1<<1)
#define GCSB_STRETCH (1<<2)
#define GCSB_ACTIVE (1<<3)
#define GCSB_COMMAND (1<<4)
#define GCSB_POPUP (1<<5)
#define GCSB_DIVIDER (1<<6)
#define GCSB_SUBDIVIDER (1<<7)
#define GCSB_INDETERMINATE (1<<8)
#define GCSB_ONETIME (1<<9)
//Deprecated styles.
#define GCSB_POPOUT GCSB_INACTIVE
#define GCSB_NORMAL GCSB_ACTIVE
class GCAD_DLL_DECL GcPane : public GcStatusBarItem
{
public:
GcPane();
GcPane(const CString& strId);
virtual ~GcPane();
virtual BOOL SetIcon(HICON hIcon);
virtual HICON GetIcon() const;
virtual BOOL SetText(const CString& strText);
virtual BOOL GetText(CString& strText) const;
virtual BOOL SetStyle(int nStyle);
virtual int GetStyle() const;
virtual BOOL SetMinWidth(int cxWidth);
virtual int GetMinWidth();
virtual BOOL SetMaxWidth(int cxWidth);
virtual int GetMaxWidth();
virtual BOOL SetPaneName(const CString& strName);
virtual BOOL GetPaneName(CString& strName) const;
virtual BOOL SetRegistryKey(const CString& strRegistryKey);
virtual BOOL GetRegistryKey(CString& strRegistryKey) const;
virtual UINT DisplayPopupPaneMenu(CMenu& menu);
virtual BOOL Update() { return true; };
private:
CString m_strText;
int m_nStyle;
int m_cxMinWidth;
int m_cxMaxWidth;
};
typedef void (*GcTrayItemAnimationCallbackFunc)(void *, int);
typedef void *GcTrayItemAnimationCallbackData;
//////////////////////////////////////////////////////////////////////////////
// Note: This class is for INTERNAL USE ONLY. Using this class may
// adversely affect application functionality
class GCAD_DLL_DECL GcTrayItemAnimationControl
{
public:
SB_DEPRECATED GcTrayItemAnimationControl();
SB_DEPRECATED GcTrayItemAnimationControl(const CString& strGIFFile);
SB_DEPRECATED GcTrayItemAnimationControl(HBITMAP hBitmap);
SB_DEPRECATED ~GcTrayItemAnimationControl();
SB_DEPRECATED void SetBitmap(HBITMAP hBitmap) { m_hBitmap = hBitmap; }
SB_DEPRECATED void SetGIFFile(const CString& strGIFFile) { m_strGIFFile = strGIFFile; }
SB_DEPRECATED void SetGIFResourceData(HGLOBAL hGlobal, DWORD dwSize) { m_hGifGlobal = hGlobal; m_dwGifSize = dwSize; };
SB_DEPRECATED void SetDuration(int nDurationInSeconds) { m_nDurationInSeconds = nDurationInSeconds; }
SB_DEPRECATED void SetNewIcon(HICON hNewIcon) { m_hNewIcon = hNewIcon; }
SB_DEPRECATED void SetCallback(GcTrayItemAnimationCallbackFunc pCallbackFunc, GcTrayItemAnimationCallbackData pCallbackData)
{
m_pCallbackFunc = pCallbackFunc;
m_pCallbackData = pCallbackData;
}
SB_DEPRECATED HBITMAP GetBitmap() const { return m_hBitmap; };
SB_DEPRECATED const CString& GetGIFFile() const { return m_strGIFFile; };
SB_DEPRECATED void GetGIFResourceData(HGLOBAL &hGlobal, DWORD &dwSize) const { hGlobal = m_hGifGlobal; dwSize = m_dwGifSize;};
SB_DEPRECATED int GetDuration() const { return m_nDurationInSeconds; }
SB_DEPRECATED HICON GetNewIcon() const { return m_hNewIcon; };
SB_DEPRECATED GcTrayItemAnimationCallbackFunc GetCallbackFunc() const { return m_pCallbackFunc; }
SB_DEPRECATED GcTrayItemAnimationCallbackData GetCallbackData() const { return m_pCallbackData; }
enum
{
ANIMATION_ERROR_NO_CREATE,
ANIMATION_ERROR_NO_ICONS,
ANIMATION_KILLED,
ANIMATION_FINISHED,
};
private:
void InitDefault()
{
m_pCallbackFunc = 0;
m_pCallbackData = 0;
m_nDurationInSeconds = 5;
m_hNewIcon = 0;
}
HBITMAP m_hBitmap;
HGLOBAL m_hGifGlobal;
DWORD m_dwGifSize;
CString m_strGIFFile;
int m_nDurationInSeconds;
HICON m_hNewIcon;
GcTrayItemAnimationCallbackFunc m_pCallbackFunc;
GcTrayItemAnimationCallbackData m_pCallbackData;
};
// End INTERNAL USE ONLY.
//////////////////////////////////////////////////////////////////////////////
typedef void (*GcTrayItemBubbleWindowCallbackFunc)(void *, int);
typedef void *GcTrayItemBubbleWindowCallbackData;
class GCAD_DLL_DECL GcTrayItemBubbleWindowControl
{
public:
GcTrayItemBubbleWindowControl();
GcTrayItemBubbleWindowControl(
const CString& strTitle,
const CString& strText,
const CString& strHyperText = _T(""),
const CString& strHyperLink = _T(""),
const CString& strText2 = _T("")
);
~GcTrayItemBubbleWindowControl();
void SetIconType(int nIconType) { m_nIconType = nIconType; }
void SetTitle(const CString& strTitle) { m_strTitle = strTitle; }
void SetText(const CString& strText) { m_strText = strText; }
void SetHyperText(const CString& strHyperText) { m_strHyperText = strHyperText; }
void SetHyperLink(const CString& strHyperLink) { m_strHyperLink = strHyperLink; }
void SetText2(const CString& strText2) { m_strText2 = strText2; }
void SetCallback(GcTrayItemBubbleWindowCallbackFunc pCallbackFunc, GcTrayItemBubbleWindowCallbackData pCallbackData = 0)
{
m_pCallbackFunc = pCallbackFunc;
m_pCallbackData = pCallbackData;
}
int GetIconType() const { return m_nIconType; };
const CString& GetTitle() const { return m_strTitle; }
const CString& GetText() const { return m_strText; }
const CString& GetHyperText() const { return m_strHyperText; }
const CString& GetHyperLink() const { return m_strHyperLink; }
const CString& GetText2() const { return m_strText2; }
GcTrayItemBubbleWindowCallbackFunc GetCallbackFunc() const { return m_pCallbackFunc; }
GcTrayItemBubbleWindowCallbackData GetCallbackData() const { return m_pCallbackData; }
enum
{
BUBBLE_WINDOW_ICON_NONE,
BUBBLE_WINDOW_ICON_INFORMATION,
BUBBLE_WINDOW_ICON_CRITICAL,
BUBBLE_WINDOW_ICON_WARNING,
};
enum
{
BUBBLE_WINDOW_ERROR_NO_CREATE,
BUBBLE_WINDOW_ERROR_NO_ICONS,
BUBBLE_WINDOW_ERROR_NO_NOTIFICATIONS,
BUBBLE_WINDOW_CLOSE,
BUBBLE_WINDOW_TIME_OUT,
BUBBLE_WINDOW_HYPERLINK_CLICK,
BUBBLE_WINDOW_DOCUMENT_DEACTIVATED
};
private:
void InitDefault()
{
m_pCallbackFunc = 0;
m_pCallbackData = 0;
m_nIconType = BUBBLE_WINDOW_ICON_INFORMATION;
}
int m_nIconType;
CString m_strTitle;
CString m_strText;
CString m_strHyperText;
CString m_strHyperLink;
CString m_strText2;
GcTrayItemBubbleWindowCallbackFunc m_pCallbackFunc;
GcTrayItemBubbleWindowCallbackData m_pCallbackData;
};
class GcRxValue;
class GCAD_DLL_DECL GcTrayItem : public GcStatusBarItem
{
public:
GcTrayItem();
GcTrayItem(const CString& strId);
virtual ~GcTrayItem();
virtual BOOL SetIcon(HICON hIcon);
virtual HICON GetIcon() const;
virtual BOOL ShowBubbleWindow(GcTrayItemBubbleWindowControl* pBubbleWindowControl);
virtual GcTrayItemBubbleWindowControl* GetBubbleWindowControl() const;
virtual BOOL CloseAllBubbleWindows();
void GoToState(const CString& state, GcRxValue* parameter = NULL);
//////////////////////////////////////////////////////////////////////////////
// Note: These methods are for INTERNAL USE ONLY. Using these methods may
// adversely affect application functionality
SB_DEPRECATED BOOL PlayAnimation(GcTrayItemAnimationControl* pAnimationControl);
SB_DEPRECATED void StopAnimation();
SB_DEPRECATED GcTrayItemAnimationControl* GetAnimationControl() const;
// End INTERNAL USE ONLY.
//////////////////////////////////////////////////////////////////////////////
private:
GcTrayItemAnimationControl m_AnimationControl;
GcTrayItemAnimationControl *m_pAnimationControl;
GcTrayItemBubbleWindowControl m_BubbleWindowControl;
GcTrayItemBubbleWindowControl *m_pBubbleWindowControl;
};
enum GcDefaultPane
{
GCSBPANE_APP_MODEMACRO,
GCSBPANE_APP_CURSORCOORD,
GCSBPANE_APP_SNAP,
GCSBPANE_APP_GRID,
GCSBPANE_APP_ORTHO,
GCSBPANE_APP_POLAR,
GCSBPANE_APP_OTRACK,
GCSBPANE_APP_LINEWEIGHT,
GCSBPANE_APP_PAPERMODEL,
GCSBPANE_APP_PAPER,
GCSBPANE_APP_MODEL,
GCSBPANE_APP_OSNAP,
GCSBPANE_APP_FLOAT,
GCSBPANE_APP_TABLET,
GCSBPANE_APP_SPACER,
GCSBPANE_APP_VPMAX_PREV,
GCSBPANE_APP_VPMAX,
GCSBPANE_APP_VPMAX_NEXT,
GCSBPANE_APP_DYNINPUT,
GCSBPANE_APP_DYNAMICUCS,
GCSBPANE_APP_LAYOUTMODELICONS,
GCSBPANE_APP_MODEL_ICON,
GCSBPANE_APP_LAYOUT_ICON,
GCSBPANE_APP_LAYOUTMORE_ICON,
GCSBPANE_APP_ALL,
GCSBPANE_ANNO_STRETCH,
GCSBPANE_ANNO_AUTOSCALE,
GCSBPANE_ANNO_VIEWPORT_SCALE_LABEL,
GCSBPANE_ANNO_VIEWPORT_SCALE,
GCSBPANE_ANNO_VIEWPORT_LOCK_STATE,
GCSBPANE_ANNO_ANNOTATION_SCALE_LABEL,
GCSBPANE_ANNO_ANNOTATION_SCALE,
GCSBPANE_ANNO_ANNO_ALL_VISIBLE,
GCSBPANE_ANNO_EMPTY,
GCSBPANE_APP_STRETCH,
GCSBPANE_APP_WORKSPACE,
GCSBPANE_APP_WORKSPACE_LOCK,
GCSBPANE_APP_QPROPERTIES,
GCSBPANE_ANNO_SYNCHSCALES,
GCSBPANE_APP_QV_LAYOUTS,
GCSBPANE_APP_QV_DRAWINGS,
GCSBPANE_APP_QV_SPACER,
GCSBPANE_APP_QV_PAN,
GCSBPANE_APP_QV_ZOOM,
GCSBPANE_APP_QV_STEERINGWHEEL,
GCSBPANE_APP_QV_SHOWMOTION,
GCSBPANE_APP_QV_ANNO_SPACER,
GCSBPANE_APP_3DOSNAP,
GCSBPANE_APP_WORKSPACE_PERFORMANCE,
GCSBPANE_APP_SELECTIONCYCLING,
GCSBPANE_APP_TRANSPARENCY,
GCSBPANE_APP_INFER,
GCSBPANE_APP_LOGO,
GCSBPANE_APP_MAGNIFIER,
GCSBPANE_APP_MIRRDRAW,
GCSBPANE_APP_PICKMIRRAXIS,
GCSBPANE_APP_OSDIVIDE,
GCSBPANE_APP_OSDISTANCE,
GCSBPANE_APP_AUTOLAYER,
GCSBPANE_APP_LOCKULOCKVP,
GCSBPANE_APP_QUICKPROPERTIES,
GCSBPANE_APP_SELCYCLING,
GCSBPANE_APP_HCNSHOW,
GCSBPANE_APP_HCNSELECT,
GCSBPANE_APP_MAX,
GCSBPANE_APP_ANNOMONITOR = 52,
GCSBPANE_APP_SELECTION_FILTER = 53,
GCSBPANE_APP_GIZMO = 54,
GCSBPANE_APP_UNITS = 55,
GCSBPANE_APP_GEO_SPACER = 56,
GCSBPANE_APP_GEO_MARKERVISIBILITY = 57,
GCSBPANE_APP_GEO_COORDSYS = 58,
GCSBPANE_APP_ISODRAFT = 59,
GCSBPANE_APP_HARDWAREACCELERATION = 60,
GCSBPANE_APP_ADD_CLEANSCREEN = 61,
GCSBPANE_APP_ADD_CUSTOMIZATION = 62
};
class GCAD_DLL_DECL GcApStatusBar
{
public:
virtual BOOL Insert(int nIndex, GcPane* pPane, BOOL bUpdate = TRUE) = 0;
virtual BOOL Insert(int nIndex, GcTrayItem* pTrayItem, BOOL bUpdate = TRUE) = 0;
virtual BOOL Remove(GcPane* pPane, BOOL bUpdate = TRUE) = 0;
virtual BOOL Remove(GcTrayItem* pTrayItem, BOOL bUpdate = TRUE) = 0;
virtual BOOL Remove(int nIndex, BOOL bTrayItem = FALSE, BOOL bUpdate = TRUE) = 0;
virtual BOOL RemoveAllPanes(BOOL bUpdate = TRUE) = 0;
virtual int Add(GcPane* pPane, BOOL bUpdate = TRUE) = 0;
virtual int Add(GcTrayItem* pTrayItem, BOOL bUpdate = TRUE) = 0;
SB_DEPRECATED virtual void Update() = 0;
virtual int GetIndex(GcPane* pPane) const = 0;
virtual int GetIndex(GcTrayItem* pTrayItem) const = 0;
virtual int GetIndex(int nID, BOOL bTrayItem = FALSE) const = 0;
SB_DEPRECATED virtual int GetID(GcPane* pPane) const = 0;
SB_DEPRECATED virtual int GetID(GcTrayItem* pTrayItem) const = 0;
SB_DEPRECATED virtual int GetID(int nIndex, BOOL bTrayItem = FALSE) const = 0;
virtual int GetPaneCount() const = 0;
virtual GcPane* GetPane(int nIndex) = 0;
virtual int GetTrayItemCount() const = 0;
virtual GcTrayItem* GetTrayItem(int nIndex) = 0;
virtual BOOL RemoveAllTrayIcons(BOOL bUpdate = TRUE) = 0;
SB_DEPRECATED virtual BOOL ClientToScreen(LPPOINT lpPoint) = 0;
SB_DEPRECATED virtual BOOL ClientToScreen(LPRECT lpRect) = 0;
SB_DEPRECATED virtual BOOL ScreenToClient(LPPOINT lpPoint) = 0;
SB_DEPRECATED virtual BOOL ScreenToClient(LPRECT lpRect) = 0;
SB_DEPRECATED virtual int GetTextWidth(const CString& strText) const = 0;
virtual UINT DisplayContextMenu(CMenu& menu, CPoint point) = 0;
virtual UINT DisplayPopupPaneMenu(GcPane* pPane, CMenu& menu) = 0;
SB_DEPRECATED virtual BOOL GetTraySettingsShowIcons() const = 0;
SB_DEPRECATED virtual BOOL GetTraySettingsShowNotifications() const = 0;
SB_DEPRECATED virtual void ShowStatusBarMenuIcon(BOOL bShow) = 0;
SB_DEPRECATED virtual BOOL SetStatusBarMenuItem(GcPane* pPane) = 0;
SB_DEPRECATED virtual void ShowCleanScreenIcon(BOOL bShow) = 0;
SB_DEPRECATED virtual BOOL RemoveCleanScreenIcon() = 0;
SB_DEPRECATED virtual BOOL ShowTraySettingsDialog() = 0;
SB_DEPRECATED virtual GcPane* GetDefaultPane(GcDefaultPane nPane) = 0;
SB_DEPRECATED virtual BOOL RemoveDefaultPane(GcDefaultPane nPane, BOOL bUpdate = TRUE) = 0;
virtual BOOL CloseAllBubbleWindows(GcTrayItem* pTrayItem) = 0;
};
class GCAD_DLL_DECL GcStatusBarMenuItem
{
public:
enum GcStatusBarType
{
kApplicationStatusBar = 0,
kDrawingStatusBar = 1
};
SB_DEPRECATED GcStatusBarMenuItem();
SB_DEPRECATED virtual ~GcStatusBarMenuItem();
SB_DEPRECATED virtual BOOL CustomizeMenu(GcStatusBarType nType, CMenu* pMenu, UINT nStartCmdId, UINT nEndCmdId);
SB_DEPRECATED virtual BOOL InvokeMenuCommand(GcStatusBarType nType, UINT nCmdId);
};
#pragma pack (pop)
#endif // GCSTATUSBAR_H
| [
"dengtao@gstarcad.com"
] | dengtao@gstarcad.com |
2726102df5872f395403c31b8892692e015bb632 | d1501c08e3cdde62409afcf5df5434e82cfd873a | /Determine_if_Two_Trees_are_Identical.cpp | b80bec93a1781a8c4276f9fb6e3116efa967d344 | [] | no_license | mugdhakapure/GeeksForGeeks-Practice-Solutions | c47eeb3017132da5372390b2d556d58cf1a067c5 | 4c2cd024bc7b825c61a8318bf30c22af5303deb9 | refs/heads/master | 2022-04-19T09:04:14.696217 | 2019-12-21T11:56:10 | 2019-12-21T11:56:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,720 | cpp | /*
Given two binary trees, the task is to find if both of them are identical or not.
Input:
The task is to complete the method isIdentical(), which takes 2 argument, the roots r1 and r2 of the Binary Trees. The struct Node has a data part which stores the data, pointer to left child and pointer to right child.
There are multiple test cases. For each test case, this method will be called individually.
Output:
The function should return true if both trees are identical else false.
User task:
Since this is a functional problem you don't have to worry about input, you just have to complete the function isIdentical() that takes two roots as parameter and returns true or false. The printing is done by the driver code.
Constraints:
1 <= T <= 100
1 <= Number of nodes <= 100
1 <=Data of a node <= 1000
Example:
Input
2
2
1 2 L 1 3 R
2
1 2 L 1 3 R
2
1 2 L 1 3 R
2
1 3 L 1 2 R
Output
1
0
Explanation:
Testcase 1: There are two trees both having 3 nodes and 2 edges, both trees are identical having the root as 1, left child of 1 is 2 and right child of 1 is 3.
Testcase 2: There are two trees both having 3 nodes and 2 edges, but both trees are not identical.
*/
/* A binary tree node
struct Node
{
int data;
struct Node* left;
struct Node* right;
Node(int x){
data = x;
left = right = NULL;
}
};
*/
/* Should return true if trees with roots as r1 and
r2 are identical */
bool isIdentical(Node *r1, Node *r2)
{
//Your Code here
if(r1 == NULL && r2 == NULL)
return true;
else if(r1 == NULL || r2 == NULL)
return false;
return r1->data == r2->data && isIdentical(r1->left, r2->left) && isIdentical(r1->right, r2->right);
} | [
"shivratangupta18@gmail.com"
] | shivratangupta18@gmail.com |
331feee2793968fae66d7669b210b3f1419def8c | 5607d0ec264ade550bf12ee0d3b283c419c7ab52 | /p3.cpp | 5199ccc8c817faf3ccd73d76f2edc75843bc5cc2 | [] | no_license | Fabiozabe2003/poo2_sp8_concurrency | 4ba8520ef78bc832832f6c70a2552a03882f8d3a | 8e9012647622897600cee5a44ff1d105b384a786 | refs/heads/master | 2023-01-23T10:46:01.875431 | 2020-12-09T23:08:09 | 2020-12-09T23:08:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 134 | cpp | //
// Created by rudri on 10/11/2020.
//
#include <iostream>
#include "p3.h"
using namespace std;
mutex mtx;
void pregunta_3() {
} | [
"rrivas@utec.edu.pe"
] | rrivas@utec.edu.pe |
96b8338c339177361ed529691436fb17e11ac213 | e46a8a43fa8d73e9496a6f1f028f1db99b5d832c | /src/gpu/GrDefaultGeoProcFactory.cpp | 1258d59dc5415e276a333d285cd7a94666291194 | [
"BSD-3-Clause"
] | permissive | iHaD/skia | 0848b88c1c1fccf2c9a314ca9777c941aa4b42d7 | 8816e7bfbe38e0ae9bf2d9879298c1965c2ff171 | refs/heads/master | 2021-01-18T05:10:09.550864 | 2014-11-13T22:49:59 | 2014-11-13T22:49:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,975 | cpp | /*
* Copyright 2014 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "GrDefaultGeoProcFactory.h"
#include "gl/builders/GrGLProgramBuilder.h"
#include "gl/GrGLGeometryProcessor.h"
#include "GrDrawState.h"
#include "GrInvariantOutput.h"
#include "GrTBackendProcessorFactory.h"
/*
* The default Geometry Processor simply takes position and multiplies it by the uniform view
* matrix. It also leaves coverage untouched. Behind the scenes, we may add per vertex color or
* local coords.
*/
class DefaultGeoProc : public GrGeometryProcessor {
public:
static GrGeometryProcessor* Create() {
GR_CREATE_STATIC_PROCESSOR(gDefaultGeoProc, DefaultGeoProc, ());
return SkRef(gDefaultGeoProc);
}
static const char* Name() { return "DefaultGeometryProcessor"; }
virtual const GrBackendGeometryProcessorFactory& getFactory() const SK_OVERRIDE {
return GrTBackendGeometryProcessorFactory<DefaultGeoProc>::getInstance();
}
class GLProcessor : public GrGLGeometryProcessor {
public:
GLProcessor(const GrBackendProcessorFactory& factory, const GrProcessor&)
: INHERITED (factory) {}
virtual void emitCode(const EmitArgs& args) SK_OVERRIDE {
GrGLVertexBuilder* vs = args.fPB->getVertexShaderBuilder();
// setup position varying
vs->codeAppendf("%s = %s * vec3(%s, 1);", vs->glPosition(), vs->uViewM(),
vs->inPosition());
// output coverage in FS(pass through)
GrGLGPFragmentBuilder* fs = args.fPB->getFragmentShaderBuilder();
fs->codeAppendf("%s = %s;", args.fOutput, GrGLSLExpr4(args.fInput).c_str());
}
static inline void GenKey(const GrProcessor&, const GrGLCaps&, GrProcessorKeyBuilder*) {}
virtual void setData(const GrGLProgramDataManager&, const GrProcessor&) SK_OVERRIDE {}
private:
typedef GrGLGeometryProcessor INHERITED;
};
private:
DefaultGeoProc() {}
virtual bool onIsEqual(const GrGeometryProcessor& other) const SK_OVERRIDE {
return true;
}
virtual void onComputeInvariantOutput(GrInvariantOutput* inout) const SK_OVERRIDE {
inout->mulByUnknownAlpha();
}
GR_DECLARE_GEOMETRY_PROCESSOR_TEST;
typedef GrFragmentProcessor INHERITED;
};
GR_DEFINE_GEOMETRY_PROCESSOR_TEST(DefaultGeoProc);
GrGeometryProcessor* DefaultGeoProc::TestCreate(SkRandom* random,
GrContext*,
const GrDrawTargetCaps& caps,
GrTexture*[]) {
return DefaultGeoProc::Create();
}
// We use these arrays to customize our default GP. We only need 4 because we omit coverage if
// coverage is not requested in the flags to the create function.
GrVertexAttrib kDefaultPositionGeoProc[] = {
{ kVec2f_GrVertexAttribType, 0, kPosition_GrVertexAttribBinding },
{ kVec4ub_GrVertexAttribType, sizeof(SkPoint), kCoverage_GrVertexAttribBinding },
};
GrVertexAttrib kDefaultPosColorGeoProc[] = {
{ kVec2f_GrVertexAttribType, 0, kPosition_GrVertexAttribBinding },
{ kVec4ub_GrVertexAttribType, sizeof(SkPoint), kColor_GrVertexAttribBinding },
{ kVec4ub_GrVertexAttribType, sizeof(SkPoint) + sizeof(GrColor), kCoverage_GrVertexAttribBinding },
};
GrVertexAttrib kDefaultPosUVGeoProc[] = {
{ kVec2f_GrVertexAttribType, 0, kPosition_GrVertexAttribBinding },
{ kVec2f_GrVertexAttribType, sizeof(SkPoint), kLocalCoord_GrVertexAttribBinding },
{ kVec4ub_GrVertexAttribType, 2 * sizeof(SkPoint), kCoverage_GrVertexAttribBinding },
};
GrVertexAttrib kDefaultPosColUVGeoProc[] = {
{ kVec2f_GrVertexAttribType, 0, kPosition_GrVertexAttribBinding },
{ kVec4ub_GrVertexAttribType, sizeof(SkPoint), kColor_GrVertexAttribBinding },
{ kVec2f_GrVertexAttribType, sizeof(SkPoint) + sizeof(GrColor), kLocalCoord_GrVertexAttribBinding },
{ kVec4ub_GrVertexAttribType, 2 * sizeof(SkPoint) + sizeof(GrColor), kCoverage_GrVertexAttribBinding },
};
static size_t get_size(GrDefaultGeoProcFactory::GPType flag) {
switch (flag) {
case GrDefaultGeoProcFactory::kPosition_GPType:
return GrVertexAttribTypeSize(kVec2f_GrVertexAttribType);
case GrDefaultGeoProcFactory::kColor_GPType:
return GrVertexAttribTypeSize(kVec4ub_GrVertexAttribType);
case GrDefaultGeoProcFactory::kLocalCoord_GPType:
return GrVertexAttribTypeSize(kVec2f_GrVertexAttribType);
case GrDefaultGeoProcFactory::kCoverage_GPType:
return GrVertexAttribTypeSize(kVec4ub_GrVertexAttribType);
default:
SkFAIL("Should never get here");
return 0;
}
}
const GrGeometryProcessor*
GrDefaultGeoProcFactory::CreateAndSetAttribs(GrDrawState* ds, uint32_t gpTypeFlags) {
SkASSERT(ds);
// always atleast position in the GP
size_t size = get_size(kPosition_GPType);
int count = 1;
bool hasColor = SkToBool(gpTypeFlags & kColor_GPType);
bool hasLocalCoord = SkToBool(gpTypeFlags & kLocalCoord_GPType);
bool hasCoverage = SkToBool(gpTypeFlags & kCoverage_GPType);
if (hasColor) {
size += get_size(kColor_GPType);
count++;
if (hasLocalCoord) {
size += get_size(kLocalCoord_GPType);
count++;
if (hasCoverage) {
size += get_size(kCoverage_GPType);
count++;
ds->setVertexAttribs<kDefaultPosColUVGeoProc>(count, size);
} else {
ds->setVertexAttribs<kDefaultPosColUVGeoProc>(count, size);
}
} else {
if (hasCoverage) {
size += get_size(kCoverage_GPType);
count++;
ds->setVertexAttribs<kDefaultPosColorGeoProc>(count, size);
} else {
ds->setVertexAttribs<kDefaultPosColorGeoProc>(count, size);
}
}
} else if (hasLocalCoord) {
size += get_size(kLocalCoord_GPType);
count++;
if (hasCoverage) {
size += get_size(kCoverage_GPType);
count++;
ds->setVertexAttribs<kDefaultPosUVGeoProc>(count, size);
} else {
ds->setVertexAttribs<kDefaultPosUVGeoProc>(count, size);
}
} else if (hasCoverage) {
size += get_size(kCoverage_GPType);
count++;
ds->setVertexAttribs<kDefaultPositionGeoProc>(count, size);
} else {
// Just position
ds->setVertexAttribs<kDefaultPositionGeoProc>(count, size);
}
return DefaultGeoProc::Create();
}
const GrGeometryProcessor* GrDefaultGeoProcFactory::Create() {
return DefaultGeoProc::Create();
}
| [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
e8bf3a5e9f0e2d418a459eb0d06675704e93d44c | 68d1f2ac0ae583ea5141d409c9736a6516bcc0cb | /WS04/in-lab/Passenger.cpp | 58e5247ed180d11dceae7850d680295ba4cb7810 | [] | no_license | Plebastian/OOP-244 | 735978c6a258b728ac82503d780572a87233e927 | 7310d19aa873f4b56a9c2690fae708e1d498d830 | refs/heads/master | 2020-04-01T05:25:27.523566 | 2018-10-13T18:36:05 | 2018-10-13T18:36:05 | 152,902,257 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,170 | cpp | // TODO: add file header comments here
#define _CRT_SECURE_NO_WARNINGS
// TODO: add your headers here
#include "Passenger.h"
#include <iostream>
#include <cstring>
//jkjkjkjkjkjkjkj
// TODO: continue your namespace here
using namespace std;
namespace sict {
// TODO: implement the default constructor here
Passenger::Passenger() {
m_name[0] = '\0';
m_destination[0] = '\0';
}
// TODO: implement the constructor with 2 parameters here
Passenger::Passenger(const char * name, const char * destination)
{
if ( name != nullptr && destination != nullptr && name[0] != '\0' && destination[0] != '\0') {
strcpy(m_name, name);
strcpy(m_destination, destination);
}
else {
m_name[0] = '\0';
m_destination[0] = '\0';
}
}
// TODO: implement isEmpty query here
bool Passenger::isEmpty() const {
if (m_destination[0] == '\0' && m_name[0] == '\0') {
return true;
}
else {
return false;
}
}
// TODO: implement display query here
void Passenger::display() const {
if (isEmpty()) {
cout << "No passenger!" << endl;
}
else {
cout << m_name << " - " << m_destination << endl;
}
}
} | [
"sebastiandjurovic@live.ca"
] | sebastiandjurovic@live.ca |
f738bbb010aacae83e9af30de2289ef39e9f358f | 474ca3fbc2b3513d92ed9531a9a99a2248ec7f63 | /ThirdParty/boost_1_63_0/libs/hana/test/ext/boost/mpl/vector/comparable.cpp | 7f794fe95aea94e64392e6b96878cbc393680808 | [
"BSL-1.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | LazyPlanet/MX-Architecture | 17b7b2e6c730409b22b7f38633e7b1f16359d250 | 732a867a5db3ba0c716752bffaeb675ebdc13a60 | refs/heads/master | 2020-12-30T15:41:18.664826 | 2018-03-02T00:59:12 | 2018-03-02T00:59:12 | 91,156,170 | 4 | 0 | null | 2018-02-04T03:29:46 | 2017-05-13T07:05:52 | C++ | UTF-8 | C++ | false | false | 757 | cpp | // Copyright Louis Dionne 2013-2016
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
#include <boost/hana/ext/boost/mpl/vector.hpp>
#include <boost/hana/tuple.hpp>
#include <laws/comparable.hpp>
#include <boost/mpl/vector.hpp>
namespace hana = boost::hana;
namespace mpl = boost::mpl;
struct t1; struct t2; struct t3; struct t4;
int main() {
auto vectors = hana::make_tuple(
mpl::vector<>{}
, mpl::vector<t1>{}
, mpl::vector<t1, t2>{}
, mpl::vector<t1, t2, t3>{}
, mpl::vector<t1, t2, t3, t4>{}
);
hana::test::TestComparable<hana::ext::boost::mpl::vector_tag>{vectors};
}
| [
"1211618464@qq.com"
] | 1211618464@qq.com |
0700a6fc1cbd2ef84f6dec3380cdb20a26bc5c2b | d4c6151c86413dfd0881706a08aff5953a4aa28b | /src/ui/lib/input_reader/hid_decoder.cc | 1d639ebb4309ce691ac6c4f0b7a0cd75d29c7071 | [
"BSD-3-Clause"
] | permissive | opensource-assist/fuschia | 64e0494fe0c299cf19a500925e115a75d6347a10 | 66646c55b3d0b36aae90a4b6706b87f1a6261935 | refs/heads/master | 2022-11-02T02:11:41.392221 | 2019-12-27T00:43:47 | 2019-12-27T00:43:47 | 230,425,920 | 0 | 1 | BSD-3-Clause | 2022-10-03T10:28:51 | 2019-12-27T10:43:28 | C++ | UTF-8 | C++ | false | false | 336 | cc | // Copyright 2018 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 "src/ui/lib/input_reader/hid_decoder.h"
namespace ui_input {
HidDecoder::HidDecoder() = default;
HidDecoder::~HidDecoder() = default;
} // namespace ui_input
| [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
eb3982c4b2aafc32bceb39dfed42e42897d702bd | 774a02058409d95922c1d9c14bf025a50fd1c062 | /Gfnc/Parser/AdditiveExpressionSyntax.cpp | 2f14d1a5de91dea1d7d15537591057b4b854c026 | [] | no_license | leviathanbadger/gfn-compiler | 3cdd5f6f3c6091a9e5c5ae0c4c2921ac501807df | a24f4f3a88e5c2383f4b4892dfe6ad588a8eff27 | refs/heads/master | 2020-03-23T09:23:31.468951 | 2018-06-14T21:01:53 | 2018-06-14T21:01:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,956 | cpp | #include "stdafx.h"
#include "Parser/AdditiveExpressionSyntax.h"
#include "Parser/MultiplicativeExpressionSyntax.h"
#include "Tokenizer/Token.h"
namespace Gfn::Compiler::Parser
{
ExpressionSyntax *AdditiveExpressionSyntax::tryParse(Cursor<Tokenizer::Token*> &cursor)
{
ExpressionSyntax *expr = tryParseSyntax<MultiplicativeExpressionSyntax>(cursor);
if (expr == nullptr) return nullptr;
while (true)
{
AdditiveExpressionSyntax *rhsExpr = tryParseRhs(cursor, expr);
if (rhsExpr == nullptr) return expr;
else expr = rhsExpr;
}
}
AdditiveExpressionSyntax *AdditiveExpressionSyntax::tryParseRhs(Cursor<Tokenizer::Token*> &cursor, ExpressionSyntax *lhs)
{
if (!cursor.current()->isOperator()) return nullptr;
auto op = cursor.current()->op();
if (op != "+"s && op != "-"s) return nullptr;
auto snapshot = cursor.snapshot();
cursor.next();
ExpressionSyntax *rhs = tryParseSyntax<MultiplicativeExpressionSyntax>(cursor);
if (rhs == nullptr)
{
cursor.reset(snapshot);
return nullptr;
}
auto startIndex = lhs->startIndex();
return new AdditiveExpressionSyntax(startIndex, cursor.current()->startIndex() - startIndex, lhs, rhs, op);
}
AdditiveExpressionSyntax::AdditiveExpressionSyntax(uint32_t startIndex, uint32_t length, ExpressionSyntax *lhs, ExpressionSyntax *rhs, const std::string op)
: BinaryExpressionSyntax(startIndex, length, lhs, rhs, op)
{
}
AdditiveExpressionSyntax::~AdditiveExpressionSyntax()
{
}
std::string AdditiveExpressionSyntax::getOperatorMethodName() const
{
if (this->op() == "+"s) return "__op_Addition";
else if (this->op() == "-"s) return "__op_Subtraction";
else throw std::logic_error("Invalid additive expression operation: "s + this->op());
}
}
| [
"brandonyoyoslade@gmail.com"
] | brandonyoyoslade@gmail.com |
bba91176d306695da03b3c49b16e0635cbdc7f7f | 03f037d0f6371856ede958f0c9d02771d5402baf | /graphics/VTK-7.0.0/Imaging/Sources/vtkImageGridSource.cxx | 8eaca08b8285c24c3aad99ad056babf41f48a0cd | [
"BSD-3-Clause"
] | permissive | hlzz/dotfiles | b22dc2dc5a9086353ed6dfeee884f7f0a9ddb1eb | 0591f71230c919c827ba569099eb3b75897e163e | refs/heads/master | 2021-01-10T10:06:31.018179 | 2016-09-27T08:13:18 | 2016-09-27T08:13:18 | 55,040,954 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,867 | cxx | /*=========================================================================
Program: Visualization Toolkit
Module: vtkImageGridSource.cxx
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notice for more information.
=========================================================================*/
#include "vtkImageGridSource.h"
#include "vtkImageData.h"
#include "vtkInformation.h"
#include "vtkInformationVector.h"
#include "vtkObjectFactory.h"
#include "vtkStreamingDemandDrivenPipeline.h"
#include <math.h>
vtkStandardNewMacro(vtkImageGridSource);
//----------------------------------------------------------------------------
vtkImageGridSource::vtkImageGridSource()
{
this->DataExtent[0] = 0; this->DataExtent[1] = 255;
this->DataExtent[2] = 0; this->DataExtent[3] = 255;
this->DataExtent[4] = 0; this->DataExtent[5] = 0;
this->GridSpacing[0] = 10;
this->GridSpacing[1] = 10;
this->GridSpacing[2] = 0;
this->GridOrigin[0] = 0;
this->GridOrigin[1] = 0;
this->GridOrigin[2] = 0;
this->DataScalarType = VTK_FLOAT;
this->DataOrigin[0] = this->DataOrigin[1] = this->DataOrigin[2] = 0.0;
this->DataSpacing[0] = this->DataSpacing[1] = this->DataSpacing[2] = 1.0;
this->LineValue = 1.0;
this->FillValue = 0.0;
this->SetNumberOfInputPorts(0);
}
//----------------------------------------------------------------------------
int vtkImageGridSource::RequestInformation (
vtkInformation * vtkNotUsed(request),
vtkInformationVector ** vtkNotUsed( inputVector ),
vtkInformationVector *outputVector)
{
// get the info objects
vtkInformation* outInfo = outputVector->GetInformationObject(0);
outInfo->Set(vtkDataObject::SPACING(),this->DataSpacing,3);
outInfo->Set(vtkDataObject::ORIGIN(),this->DataOrigin,3);
outInfo->Set(vtkStreamingDemandDrivenPipeline::WHOLE_EXTENT(),
this->DataExtent,6);
vtkDataObject::SetPointDataActiveScalarInfo(outInfo, this->DataScalarType, 1);
return 1;
}
//----------------------------------------------------------------------------
template<class T>
void vtkImageGridSourceExecute(vtkImageGridSource *self,
vtkImageData *data, T *outPtr,
int outExt[6], int id)
{
int idxX, idxY, idxZ;
int xval, yval, zval;
vtkIdType outIncX, outIncY, outIncZ;
unsigned long count = 0;
unsigned long target;
int gridSpacing[3], gridOrigin[3];
self->GetGridSpacing(gridSpacing);
self->GetGridOrigin(gridOrigin);
T fillValue = T(self->GetFillValue());
T lineValue = T(self->GetLineValue());
// Get increments to march through data
data->GetContinuousIncrements(outExt, outIncX, outIncY, outIncZ);
target = static_cast<unsigned long>((outExt[5]-outExt[4]+1)*
(outExt[3]-outExt[2]+1)/50.0);
target++;
// Loop through output pixel
for (idxZ = outExt[4]; idxZ <= outExt[5]; idxZ++)
{
if (gridSpacing[2])
{
zval = (idxZ % gridSpacing[2] == gridOrigin[2]);
}
else
{
zval = 0;
}
for (idxY = outExt[2]; !self->GetAbortExecute() && idxY<=outExt[3]; idxY++)
{
if (gridSpacing[1])
{
yval = (idxY % gridSpacing[1] == gridOrigin[1]);
}
else
{
yval = 0;
}
if (id == 0)
{
if (!(count%target))
{
self->UpdateProgress(count/(50.0*target));
}
count++;
}
if (gridSpacing[0])
{
for (idxX = outExt[0]; idxX <= outExt[1]; idxX++)
{
xval = (idxX % gridSpacing[0] == gridOrigin[0]);
// not very efficient, but it gets the job done
*outPtr++ = ((zval|yval|xval) ? lineValue : fillValue);
}
}
else
{
for (idxX = outExt[0]; idxX <= outExt[1]; idxX++)
{
*outPtr++ = ((zval|yval) ? lineValue : fillValue);
}
}
outPtr += outIncY;
}
outPtr += outIncZ;
}
}
//----------------------------------------------------------------------------
void vtkImageGridSource::ExecuteDataWithInformation(vtkDataObject *output,
vtkInformation* outInfo)
{
vtkImageData *data = this->AllocateOutputData(output, outInfo);
int *outExt = data->GetExtent();
void *outPtr = data->GetScalarPointerForExtent(outExt);
// Call the correct templated function for the output
switch (this->GetDataScalarType())
{
vtkTemplateMacro(vtkImageGridSourceExecute(this, data,
static_cast<VTK_TT *>(outPtr),
outExt, 0));
default:
vtkErrorMacro(<< "Execute: Unknown data type");
}
}
//----------------------------------------------------------------------------
void vtkImageGridSource::PrintSelf(ostream& os, vtkIndent indent)
{
this->Superclass::PrintSelf(os,indent);
os << indent << "GridSpacing: (" << this->GridSpacing[0] << ", "
<< this->GridSpacing[1] << ", "
<< this->GridSpacing[2] << ")\n";
os << indent << "GridOrigin: (" << this->GridOrigin[0] << ", "
<< this->GridOrigin[1] << ", "
<< this->GridOrigin[2] << ")\n";
os << indent << "LineValue: " << this->LineValue << "\n";
os << indent << "FillValue: " << this->FillValue << "\n";
os << indent << "DataScalarType: " <<
vtkImageScalarTypeNameMacro(this->DataScalarType) << "\n";
os << indent << "DataExtent: (" << this->DataExtent[0] << ", "
<< this->DataExtent[1] << ", "
<< this->DataExtent[2] << ", "
<< this->DataExtent[3] << ", "
<< this->DataExtent[4] << ", "
<< this->DataExtent[5] << ")\n";
os << indent << "DataSpacing: (" << this->DataSpacing[0] << ", "
<< this->DataSpacing[1] << ", "
<< this->DataSpacing[2] << ")\n";
os << indent << "DataOrigin: (" << this->DataOrigin[0] << ", "
<< this->DataOrigin[1] << ", "
<< this->DataOrigin[2] << ")\n";
}
| [
"shentianweipku@gmail.com"
] | shentianweipku@gmail.com |
4c891c2bc15d41129e94b06ccdf0163f1fa0110d | ec50fd782ee67ea02e86286620e371948d0cb16a | /Intervewbit/Hashing/fraction.cpp | c723af5f42f0cc94eb2dc78a542355b23b530795 | [] | no_license | Amit-Gohri/Cpp | 71979eb95a1b7d1a549c24234adcecf9fef08ffc | d1d04f082fcc67f800dfb1b7a291e5f09e818adb | refs/heads/master | 2023-07-27T06:47:42.973577 | 2021-09-10T11:42:03 | 2021-09-10T11:42:03 | 261,104,527 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,137 | cpp | // https://www.interviewbit.com/problems/fraction/
#include <bits/stdc++.h>
using namespace std;
string fraction(int A, int B)
{
string result;
int ans;
ans = A / B;
//calculate sign
int sign = (A < 0) ^ (B < 0) ? -1 : 1;
A = abs(A);
B = abs(B);
if (sign == -1)
result += "-";
to_string(ans);
result.append(to_string(ans));
if (A % B == 0)
{
return result;
}
else
{
result.push_back('.');
unordered_map<int, int> umap;
//rem,index
int rem = A % B;
while (umap.find(rem) == umap.end() && rem > 0)
{
umap[rem] = result.size();
//push the quotient
rem = rem * 10;
result.append(to_string(rem / B));
//calculate new remainder
rem = (rem ) % B;
}
if (umap.find(rem) != umap.end() && rem > 0)
{
result += ")";
result.insert(umap[rem], "(");
}
return result;
}
}
//failing for one test case due to abs(A) out of range
int main(){
cout << fraction(-2147483648,-1);
} | [
"amit13542.ag@gmail.com"
] | amit13542.ag@gmail.com |
834c66f63f0d00288d011ef1d65df4037fcfe20b | 264b4b18e7436a6d72e22ba76ff5b9efc83900d7 | /gd_mpi.cpp | 0c6fb41fb87e4533ef67bb7ab70ec2ee04fb4ce2 | [] | no_license | rhornbuckle3/PDC-FALL-2019 | de20f51c8b4801945b114c8af70945ae77f2b463 | d9dfd6b60e601d3103f9640bb670df291af542cb | refs/heads/master | 2020-07-27T04:55:06.390158 | 2019-12-09T19:09:45 | 2019-12-09T19:09:45 | 208,876,010 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,081 | cpp | //Russell Hornbuckle
//2019
//logistic regression with serial and parallel descent
#include <mpi.h>
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <iostream>
using namespace std;
//clang++ -Xpreprocessor -fopenmp stochastic_gradient_descent.cpp -o sgd -lomp
//^macOS
//scp ./stochastic_gradient_descent.cpp rhornbuckle3@hpclogin:/home/users/rhornbuckle3/PDC
//module load Compilers/mvapich2_ACoRE
//mpic
//qCDER27
double vec_mul(double *mat_one,double *mat_two,int S){
double result = 0;
for(int i = 0; i < S; i++) result += mat_one[i]*mat_two[i];
return result;
}
double* fill_array(int S, int limiter = 10, bool float_rand = true){
double *array;
array = new double[S];
if(float_rand){
for(int i=0;i<S;i++)array[i]=(double)((rand()*(clock()%100))%limiter) + 1.0/((double)((rand()*clock())%10000+1));
}else{
for(int i=0;i<S;i++)array[i]=(double)((rand()*(clock()%100))%limiter);
}
return array;
}
double ** array_constructor(int rows , int cols, bool fill){
double **array;
array = new double*[rows];
for(int i = 0; i < rows; i++){
array[i] = new double[cols];
if(fill){
for(int j = 0; j < cols; j++){
array[i][j] = (double)((rand()*(clock()%100))%10) + 1.0/((double)((rand()*(clock()%100))%10000+1));
}
}
}
return array;
}
double ** matrix_constructor(int X , int Y, bool rando, double *weights = new double[0], int limiter = 10){
double **array;
array = new double*[X];
for(int i = 1; i < X; i++){
array[i] = new double[Y];
if(rando){
for(int j = 0; j < Y; j++) array[i][j] = (double)((rand()*(clock()%100))%limiter) + 1.0/((double)((rand()*(clock()%100))%10000+1));
}else{
for(int j = 0; j < Y; j++) array[i][j] = 0.0;
}
}
array[0] = new double[Y];
for(int i = 0; i < Y; i++) array[0][i] = weights[i];
return array;
}
double* subtract_array(double *array,double decrease, int size){
for(int i = 0; i < size; i++) array[i] = array[i] - decrease;
return array;
}
double* add_arrays(double *array,double *increase, int size, bool subtract){
if(subtract){
for(int i = 0; i < size; i++) array[i] = array[i] - increase[i];
}else{
for(int i = 0; i < size; i++) array[i] = array[i] + increase[i];
}
return array;
}
double* average_weights(double *array_one, double *array_two, int S){
for(int i =0; i < S; i++){
array_one[i] = (array_one[i]+array_two[i])/2;
}
return array_one;
}
void print_weights(double* array, int size){
for(int i = 0; i < size; i++){
//printf("%lf \n",array[i]);
std::cout << array[i] << "\n";
}
}
double* multiply_in(double gradient_scalar,double *array, int S){
for(int i = 0; i < S; i++) array[i] = array[i] * gradient_scalar;
return array;
}
double sigmoid(double *mat_one,double *mat_two, int S){
double sigmoid_input=vec_mul(mat_one,mat_two,S)*-1;
double sigmoid_output = 1/(1+exp(sigmoid_input));
return sigmoid_output;
}
main(int argc, char *argv[]){
MPI_Init(&argc, &argv); //starting message passing interface
int P, id;
MPI_Comm_size(MPI_COMM_WORLD, &P); //getting size
MPI_Comm_rank(MPI_COMM_WORLD, &id); //getting id/rank
printf("declaration 1 %d\n", id);
if(id>0 && id < P){
double const LEARNING_RATE = 0.0001;
int I, S, N;
I = 1;
S = 10;
N = 500;
//if(argc>1){I = atoi(argv[1]);}else{I = 1;}
//if(argc>2){S = atoi(argv[2]);}else{S = 10;}
//if(argc>3){N = atoi(argv[3]);}else{N = 1000;}
double **X;
double *Y;
double time;
//printf("Number of Features = %d\n",S);
//printf("Number of Samples = %d\n",N);
if(id == 0){
printf("declaration 1.1 %d\n", id);
X = array_constructor(N,S,true);
Y = fill_array(N,2,false);
printf("declaration 2.1 %d\n", id);
MPI_Bcast(X,N*S,MPI_DOUBLE,1,MPI_COMM_WORLD);
}else{
printf("declaration 2 %d\n",id);
MPI_Bcast(X,N*S,MPI_DOUBLE,1,MPI_COMM_WORLD);
}
printf("declaration 3 %d\n",id);
MPI_Barrier(MPI_COMM_WORLD);
if(id==1){
MPI_Bcast(Y,N,MPI_DOUBLE,1,MPI_COMM_WORLD);
}else{
MPI_Bcast(Y,N,MPI_DOUBLE,1,MPI_COMM_WORLD);
}
double *beta = fill_array(S,2);
double* gradient = new double[S];
double cost_old = 0.0;
for(int i = 0; i < S; i++) gradient[i] = 0.0;
int iterator = 1;
double time_seconds = 0.0;
double *cost;
*cost = 0.0;
int *best;
*best = 0;
//time record start
time = MPI_Wtime();
while(true){
//gradient calculation
for(int i = 0; i < N; i++ ){
double sigmoid_in = sigmoid(beta,X[i],S) - Y[i];
double *gradient_in = multiply_in(sigmoid_in,X[i],S);
gradient = add_arrays(gradient,gradient_in,S,false);
}
beta = add_arrays(beta,multiply_in(LEARNING_RATE,gradient,S),S,true);
//cost calculation
*cost = 0.0;
for(int i = 0; i < N; i++){
double sigmoid_in = sigmoid(beta,X[i],S);
double cost_one = Y[i]*log10(sigmoid_in);
double cost_two = (1.0 - Y[i])*log10(1-sigmoid_in);
*cost += cost_one + cost_two;
}
*cost = (1.0/(double)N)*(*cost)*-1.0;
if(id != 1 || id != 0){
MPI_Send(&cost,1,MPI_DOUBLE,1,id,MPI_COMM_WORLD);
//MPI_Recv();
}
if(id==1){
double *cost_array = new double[P-1];
for(int i = 2; i < P;i++){
MPI_Recv(&cost_array[i],1,MPI_DOUBLE,i,i,MPI_COMM_WORLD,MPI_STATUS_IGNORE);
}
double comparator = cost_array[0];
for(int i = 1; i < P; i++){
if(cost_array[i]<comparator){
*best = i;
comparator = cost_array[i];
}
}
}
double *beta_best;
MPI_Bcast(&best,1,MPI_INT,1,MPI_COMM_WORLD);
if(id == *best){
beta_best = beta;
}
MPI_Bcast(&beta_best,S,MPI_DOUBLE,*best,MPI_COMM_WORLD);
beta = average_weights(beta,beta_best,S);
//std::cout << "Cost: " << cost << endl;
if(cost_old == *cost){
//printf("Descent iteratiion: %d\n",iterator);
break;
}
iterator++;
cost_old = *cost;
}
//sync and report
if(id == *best){
time = time - MPI_Wtime();
printf("Time: %lu\n",time);
printf("Iterations: %d\n",iterator);
}
MPI_Finalize();
}
} | [
"russspringfield@gmail.com"
] | russspringfield@gmail.com |
8c4c2425b862a723106be7425e3c84ea17e0f812 | 457ba2059968be6ccdb2fd55ffad11c99400357b | /sysdeps/dripos/generic/thread.cpp | b19cf6af5397db6f01a703908d3584a66fbe2dd9 | [
"MIT"
] | permissive | lotusorg/mlibc | a6bb59a618c7c3cf72dd6c89356294fc93cd33aa | dadb311b02379853f601ba55179d4dba7eb1fe09 | refs/heads/master | 2022-11-24T15:03:58.969755 | 2020-07-23T07:38:19 | 2020-07-23T07:38:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,202 | cpp | #include <mlibc/thread-entry.hpp>
#include <mlibc/sysdeps.hpp>
#include <mlibc/tcb.hpp>
#include <bits/ensure.h>
#include <sys/mman.h>
#include <stdint.h>
#include <stddef.h>
extern "C" void __mlibc_enter_thread(void *entry, void *user_arg, Tcb *tcb) {
// Wait until our parent sets up the TID.
while(!__atomic_load_n(&tcb->tid, __ATOMIC_RELAXED))
mlibc::sys_futex_wait(&tcb->tid, 0);
if(mlibc::sys_tcb_set(tcb))
__ensure(!"sys_tcb_set() failed");
void *(*func)(void *) = reinterpret_cast<void *(*)(void *)>(entry);
auto result = func(user_arg);
auto self = reinterpret_cast<Tcb *>(tcb);
self->returnValue = result;
__atomic_store_n(&self->didExit, 1, __ATOMIC_RELEASE);
mlibc::sys_futex_wake(&self->didExit);
mlibc::sys_thread_exit();
}
namespace mlibc {
void *prepare_stack(void *entry, void *user_arg, void *tcb) {
uintptr_t *sp = reinterpret_cast<uintptr_t *>(reinterpret_cast<uintptr_t>(
mmap(nullptr, 0x200000,
PROT_READ | PROT_WRITE,
MAP_PRIVATE | MAP_ANONYMOUS, -1, 0)
) + 0x200000);
*--sp = reinterpret_cast<uintptr_t>(tcb);
*--sp = reinterpret_cast<uintptr_t>(user_arg);
*--sp = reinterpret_cast<uintptr_t>(entry);
return sp;
}
} //namespace mlibc | [
"aaron.rex08@gmail.com"
] | aaron.rex08@gmail.com |
86b59711e704d94aad8657021806bf7091a98052 | 7d12271481f2fef4bae3a82ff066d4333722342e | /NetSim/uav-net-sim/myApps.h | 9b53b36843497d37cbe73f4f425cb5ccf27d1038 | [] | no_license | saburhb/FlyNetSim | 09468ee80d8c8195fba6307f88885a55b5c6e812 | b6a6344ec35a44f839197982b310e3ad02ec5beb | refs/heads/master | 2021-12-28T23:00:00.543849 | 2021-12-15T18:37:23 | 2021-12-15T18:37:23 | 183,836,554 | 31 | 21 | null | null | null | null | UTF-8 | C++ | false | false | 1,183 | h | #ifndef MYAPPS_H_
#define MYAPPS_H_
#include <stdio.h>
#include <stdlib.h>
#include "ns3/applications-module.h"
extern pthread_mutex_t tNext_mutex;
extern pthread_mutex_t mob_mutex;
extern long last_schedule_time;
extern int cong_new_rate;
using namespace ns3;
class MyApp : public Application
{
public:
MyApp ();
virtual ~MyApp();
void Setup (Ptr<Socket> socket, Address address, uint32_t packetSize, uint32_t nPackets, DataRate dataRate, uint32_t appId, uint32_t appType);
void ChangeRate(DataRate newrate);
void SendMsg (Ptr<Socket>, char *);
void PrintParameters ();
virtual void StartApplication (void);
virtual void StopApplication (void);
void SendPacket (void);
void ScheduleTx (void);
Ptr<Socket> m_socket;
Address m_peer;
int m_rate;
double m_elapse;
int m_congId;
private:
uint32_t m_packetSize;
uint32_t m_nPackets;
DataRate m_dataRate;
EventId m_sendEvent;
bool m_running;
uint32_t m_packetsSent;
uint32_t m_appId; //Odd: LTE App , Even: Wifi App
uint32_t m_appType; //Command: 0 , Telemetry: 1
};
#endif
| [
"sbaidya@uci.edu"
] | sbaidya@uci.edu |
26c4bcf5b5e830768b3dd041f544523a24c7f6b0 | 5666cd07b24c1e6363453a2175e9955e14a40397 | /libs/logger/logger.hpp | 92baee18464a4bc9bfe3a30340cc89c5d4704490 | [] | no_license | linux4kix/vasum | e050a8bc259ffc804d13fe571fac2a18d5910d64 | bc26ec840d8cb15335aa121b129b154681cef240 | refs/heads/master | 2021-01-12T21:06:58.437728 | 2015-10-29T11:52:58 | 2015-10-29T16:41:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,896 | hpp | /*
* Copyright (c) 2014 Samsung Electronics Co., Ltd All Rights Reserved
*
* Contact: Jan Olszak <j.olszak@samsung.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License
*/
/**
* @file
* @author Jan Olszak (j.olszak@samsung.com)
* @defgroup libLogger libLogger
* @brief C++ library for handling logging.
*
* There are few backends implemented and it's possible to create your own by inheriting after the @ref logger::LogBackend interface.
*
* Example usage:
* @code
* using namespace logger;
*
* // Set minimal logging level
* Logger::setLogLevel("TRACE");
*
*
* // Set one of the possible backends:
* Logger::setLogBackend(new NullLogger());
* Logger::setLogBackend(new SystemdJournalBackend());
* Logger::setLogBackend(new FileBackend("/tmp/logs.txt"));
* Logger::setLogBackend(new PersistentFileBackend("/tmp/logs.txt"));
* Logger::setLogBackend(new SyslogBackend());
* Logger::setLogBackend(new StderrBackend());
*
*
* // All logs should be visible:
* LOGE("Error");
* LOGW("Warning");
* LOGI("Information");
* LOGD("Debug");
* LOGT("Trace");
* LOGH("Helper");
*
* {
* LOGS("Scope");
* }
*
* @endcode
*/
#ifndef COMMON_LOGGER_LOGGER_HPP
#define COMMON_LOGGER_LOGGER_HPP
#include "logger/level.hpp"
#include "logger/backend-null.hpp"
#ifdef HAVE_SYSTEMD
#include "logger/backend-journal.hpp"
#endif
#include "logger/backend-file.hpp"
#include "logger/backend-persistent-file.hpp"
#include "logger/backend-syslog.hpp"
#include "logger/backend-stderr.hpp"
#include <sstream>
#include <string>
#ifndef PROJECT_SOURCE_DIR
#define PROJECT_SOURCE_DIR ""
#endif
namespace logger {
enum class LogType : int {
LOG_NULL,
LOG_JOURNALD,
LOG_FILE,
LOG_PERSISTENT_FILE,
LOG_SYSLOG,
LOG_STDERR
};
/**
* A helper function to easily and completely setup a new logger
*
* @param type logger type to be set up
* @param level maximum log level that will be logged
* @param arg an argument used by some loggers, specific to them
* (e.g. file name for file loggers)
*/
void setupLogger(const LogType type,
const LogLevel level,
const std::string &arg = "");
class LogBackend;
class Logger {
public:
static void logMessage(LogLevel logLevel,
const std::string& message,
const std::string& file,
const unsigned int line,
const std::string& func,
const std::string& rootDir);
static void setLogLevel(const LogLevel level);
static void setLogLevel(const std::string& level);
static LogLevel getLogLevel(void);
static void setLogBackend(LogBackend* pBackend);
};
} // namespace logger
/*@{*/
/// Generic logging macro
#define LOG(SEVERITY, MESSAGE) \
do { \
if (logger::Logger::getLogLevel() <= logger::LogLevel::SEVERITY) { \
std::ostringstream messageStream__; \
messageStream__ << MESSAGE; \
logger::Logger::logMessage(logger::LogLevel::SEVERITY, \
messageStream__.str(), \
__FILE__, \
__LINE__, \
__func__, \
PROJECT_SOURCE_DIR); \
} \
} while (0)
/// Logging errors
#define LOGE(MESSAGE) LOG(ERROR, MESSAGE)
/// Logging warnings
#define LOGW(MESSAGE) LOG(WARN, MESSAGE)
/// Logging information
#define LOGI(MESSAGE) LOG(INFO, MESSAGE)
#if !defined(NDEBUG)
/// Logging debug information
#define LOGD(MESSAGE) LOG(DEBUG, MESSAGE)
/// Logging helper information (for debugging purposes)
#define LOGH(MESSAGE) LOG(HELP, MESSAGE)
/// Logging tracing information
#define LOGT(MESSAGE) LOG(TRACE, MESSAGE)
#else
#define LOGD(MESSAGE) do {} while (0)
#define LOGH(MESSAGE) do {} while (0)
#define LOGT(MESSAGE) do {} while (0)
#endif
#endif // COMMON_LOGGER_LOGGER_HPP
/*@}*/
| [
"d.michaluk@samsung.com"
] | d.michaluk@samsung.com |
40457b5e9d65cb0a1923b15d046da561bcc2b1bb | 132e90d242d0d26c186ea7fca0cfc60973647373 | /algo-note Practice/ch2/571E.cpp | e90576e5691d3d76028e72ab9bf45b9fa2f384c2 | [] | no_license | cher112/PAT-algorithm-note | 996d7f3cb36a16a23ef34f707c3eb58139c15b72 | 9655a8bacd6e2763965c3f4d09ded7ab5d503eb6 | refs/heads/master | 2023-03-31T11:38:40.771394 | 2021-04-05T13:42:14 | 2021-04-05T13:42:14 | 354,551,578 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 576 | cpp | # include<stdio.h>
void swap(int* a,int* b){
int temp = *a;
*a=*b;
*b=temp;
}
void pp(int *a){
int px=0;
int pn=0;
int max = a[0];
int min =a[0];
for(int i=1;i<=9;i++){
if(a[i]>max){
max=a[i];
px=i;
}
if(a[i]<min){
min=a[i];
pn=i;
}
}
swap(&a[0],&a[pn]);
swap(&a[9],&a[px]);
}
int main(){
int a[20];
for(int i=0;i<=9;i++){
scanf("%d",a+i);
}
pp(a);
for(int i=0;i<=9;i++){
printf("%d ",a[i]);
}
return 0;
} | [
"961162300@qq.com"
] | 961162300@qq.com |
c73469367a7de6463db46cfbbf0bc42facf0862e | 0d99bcb8b8717008c1ec9b080c6c86c2b1710eee | /날씨/build/Android/Preview/app/src/main/include/Fuse.Controls.ScrollV-9171ed6c.h | bb8f53cab74c4dc8f4a9a2f72ec154da29a56a8f | [] | no_license | shj4849/Fuse | 526d92bc49a0a2d8087beece987b1701dc35cccc | 447f49f96f9dadf203f5f91e8a1d67f19d8ecc04 | refs/heads/master | 2021-05-15T23:08:09.523726 | 2017-12-21T05:28:53 | 2017-12-21T05:28:53 | 106,758,124 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 397 | h | // This file was generated based on C:/Users/t2/AppData/Local/Fusetools/Packages/Fuse.Controls.ScrollView/1.4.0/ScrollView.Layout.uno.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Uno.Int.h>
namespace g{
namespace Fuse{
namespace Controls{
// public enum ScrollViewLayoutMode :11
uEnumType* ScrollViewLayoutMode_typeof();
}}} // ::g::Fuse::Controls
| [
"shj4849@naver.com"
] | shj4849@naver.com |
eb40a96c76923a55d88d7e1c22fd31d1d4a940f6 | 0460ddde818f4533b1bbe86302ec4c314ed076a0 | /JuceLibraryCode/modules/juce_events/juce_events.cpp | 281338bb8c572f125ca08387c24f1986e75a40dc | [] | no_license | curiousChrisps/Simple-Synth | adf846056ea72913e1e3da1663ac1fe1a7083918 | 7733c88666eeb01fef70ae5785e9dcfdba63a2af | refs/heads/master | 2021-08-08T02:43:43.106413 | 2017-11-09T11:50:06 | 2017-11-09T11:50:06 | 110,109,099 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,679 | cpp | /*
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2013 - Raw Material Software Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)
b) the Affero GPL v3
Details of these licenses can be found at: www.gnu.org/licenses
JUCE is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
A PARTICULAR PURPOSE. See the GNU General Public License for more details.
------------------------------------------------------------------------------
To release a closed-source product which uses JUCE, commercial licenses are
available: visit www.juce.com for more information.
==============================================================================
*/
#if defined (JUCE_EVENTS_H_INCLUDED) && ! JUCE_AMALGAMATED_INCLUDE
/* When you add this cpp file to your project, you mustn't include it in a file where you've
already included any other headers - just put it inside a file on its own, possibly with your config
flags preceding it, but don't include anything else. That also includes avoiding any automatic prefix
header files that the compiler may be using.
*/
#error "Incorrect use of JUCE cpp file"
#endif
// Your project must contain an AppConfig.h file with your project-specific settings in it,
// and your header search path must make it accessible to the module's files.
#include "AppConfig.h"
#include "../juce_core/native/juce_BasicNativeHeaders.h"
#include "juce_events.h"
#if JUCE_CATCH_UNHANDLED_EXCEPTIONS && JUCE_MODULE_AVAILABLE_juce_gui_basics
#include "../juce_gui_basics/juce_gui_basics.h"
#endif
//==============================================================================
#if JUCE_MAC
#import <IOKit/IOKitLib.h>
#import <IOKit/IOCFPlugIn.h>
#import <IOKit/hid/IOHIDLib.h>
#import <IOKit/hid/IOHIDKeys.h>
#import <IOKit/pwr_mgt/IOPMLib.h>
#elif JUCE_LINUX
#include <X11/Xlib.h>
#include <X11/Xresource.h>
#include <X11/Xutil.h>
#undef KeyPress
#include <unistd.h>
#endif
//==============================================================================
namespace juce
{
// START_AUTOINCLUDE messages/*.cpp, broadcasters/*.cpp,
// timers/*.cpp, interprocess/*.cpp
#include "messages/juce_ApplicationBase.cpp"
#include "messages/juce_DeletedAtShutdown.cpp"
#include "messages/juce_MessageListener.cpp"
#include "messages/juce_MessageManager.cpp"
#include "broadcasters/juce_ActionBroadcaster.cpp"
#include "broadcasters/juce_AsyncUpdater.cpp"
#include "broadcasters/juce_ChangeBroadcaster.cpp"
#include "timers/juce_MultiTimer.cpp"
#include "timers/juce_Timer.cpp"
#include "interprocess/juce_InterprocessConnection.cpp"
#include "interprocess/juce_InterprocessConnectionServer.cpp"
// END_AUTOINCLUDE
//==============================================================================
#if JUCE_MAC
#include "../juce_core/native/juce_osx_ObjCHelpers.h"
#include "native/juce_osx_MessageQueue.h"
#include "native/juce_mac_MessageManager.mm"
#elif JUCE_IOS
#include "../juce_core/native/juce_osx_ObjCHelpers.h"
#include "native/juce_osx_MessageQueue.h"
#include "native/juce_ios_MessageManager.mm"
#elif JUCE_WINDOWS
#include "native/juce_win32_HiddenMessageWindow.h"
#include "native/juce_win32_Messaging.cpp"
#elif JUCE_LINUX
#include "native/juce_ScopedXLock.h"
#include "native/juce_linux_Messaging.cpp"
#elif JUCE_ANDROID
#include "../juce_core/native/juce_android_JNIHelpers.h"
#include "native/juce_android_Messaging.cpp"
#endif
}
| [
"curious.chrisps@gmail.com"
] | curious.chrisps@gmail.com |
a407777caa7961ba8571ca0933cf1f03059a592e | 82c4d422d9f8c8e14acaa12ab67060ac5ece6ff9 | /chasing.h | 8ff49836b3c578b13fa05b642428164b4abd5ca4 | [] | no_license | utec-ads-2020-1/train-count-pointers-luisejv | f6bdaede7d0771d2d3068a0d68f412f03938bb8f | 68a2bfb427531d72bb97c223172cc8946e2c4f2f | refs/heads/master | 2021-05-17T06:28:20.542889 | 2020-03-28T09:16:54 | 2020-03-28T09:16:54 | 250,673,303 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,541 | h | using namespace std;
void chasing(int **A[], int a, int *B[], int b, int C[], int c)
{
fstream *archivo = new fstream("prueba.txt", ios_base::in);
string linea;
if (!archivo->is_open())
{
cout << "Archivo fallo en leer" << endl;
}
else
{
int i = 0;
while (getline(*archivo, linea))
{
i++;
stringstream stream(linea);
string caracter;
bool continuar = true;
while (getline(stream, caracter, ' ') && continuar)
{
if (caracter[0] != 0)
{
bool correcto = false;
if (caracter == "A")
{
string m;
while (getline(stream, m, ' ') && !correcto)
{
if (m[0] != 0)
{
char *pivot;
strtol(m.c_str(), &pivot, 10);
if (*pivot == 0)
{
if (stoi(m) < a && stoi(m) >= 0)
{
string second;
while (getline(stream, second, ' ') && !correcto)
{
if (second[0] != 0)
{
if (second == "B")
{
string n;
while (getline(stream, n, ' ') && !correcto)
{
if (n[0] != 0)
{
char *pivot;
strtol(n.c_str(), &pivot, 10);
if (*pivot == 0)
{
if (stoi(n) < b && stoi(n) >= 0)
{
string aditional;
bool sigue = false;
while (getline(stream, aditional, ' ') && aditional != " ")
{
sigue = true;
}
if (!sigue)
{
A[stoi(m)] = &B[stoi(n)];
cout << "1" << endl;
correcto = true;
}
}
}
}
}
}
}
}
}
}
}
}
}
if (caracter == "B")
{
string m;
while (getline(stream, m, ' ') && !correcto)
{
if (m[0] != 0)
{
char *pivot;
strtol(m.c_str(), &pivot, 10);
if (*pivot == 0)
{
if (stoi(m) < b && stoi(m) >= 0)
{
string second;
while (getline(stream, second, ' ') && !correcto)
{
if (second[0] != 0)
{
if (second == "C")
{
string n;
while (getline(stream, n, ' ') && !correcto)
{
if (n[0] != 0)
{
char *pivot;
strtol(n.c_str(), &pivot, 10);
if (*pivot == 0)
{
if (stoi(n) < c && stoi(n) >= 0)
{
string aditional;
bool sigue = false;
while (getline(stream, aditional, ' ') && aditional != " ")
{
sigue = true;
}
if (!sigue)
{
B[stoi(m)] = &C[stoi(n)];
cout << "1" << endl;
correcto = true;
}
}
}
}
}
}
}
}
}
}
}
}
}
if (!correcto)
{
cout << "0" << endl;
continuar = false;
}
}
}
}
}
} | [
"ljauregui@pucp.pe"
] | ljauregui@pucp.pe |
ae6fb2e712efa744da1e64469d1ffe410453c2ce | 8981914af9f8905429397cfef97aacfed53b7d0a | /wapienum/askLoop.h | bc9d92b6256ad8a3054aec876adc659ae2d8bbb0 | [] | no_license | d4rckh/wapienum | bd96e7e5462e75549ae03e06f494d49095c2d101 | 5750bf0388daccf0eb70215505838ff3e2828acf | refs/heads/main | 2023-01-01T01:24:57.156992 | 2020-10-29T07:57:39 | 2020-10-29T07:57:39 | 308,098,266 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 414 | h | #pragma once
#include "parseInput.h"
#include <iostream>
int askLoop()
{
std::string line;
std::cout << "Type 'help' for a list of commands you can run.\n";
std::cout << "> ";
while (std::getline(std::cin, line))
{
#if defined _DEBUG
std::cout << "answer: " << s << "\n";
#endif
parseInput(line);
std::cout << "> ";
}
return 0;
} | [
"m4dd0x.xxx@gmail.com"
] | m4dd0x.xxx@gmail.com |
f47d3ee08925cf4e402eebd3638cbb82c0ee6a25 | 71ce57c3ac7d39ba12b8473849c00a23c1c338ac | /src/deferred-renderer/MotionBlurConfigurationPane.h | c3533b57d16d7d34f94aad5888c6e55b58f2d3c4 | [] | no_license | ReccaStudio/DeferredRenderer | f6a5e5ffbb36ffc79dedc295ad1ab0202251abd0 | d896de09052c5880b99737e51360641d05fe84b7 | refs/heads/master | 2020-04-07T16:35:13.954276 | 2013-12-11T23:44:42 | 2013-12-11T23:44:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 454 | h | #pragma once
#include "PCH.h"
#include "ConfigurationPane.h"
#include "MotionBlurPostProcess.h"
#include "SliderWithLabel.h"
class MotionBlurConfigurationPane : public ConfigurationPane<MotionBlurPostProcess>
{
private:
virtual void OnValueChanged(Gwen::Controls::Base *control);
public:
MotionBlurConfigurationPane(Gwen::Controls::Base* parent, MotionBlurPostProcess* pp);
void OnFrameMove(double totalTime, float dt);
}; | [
"geoff@vonture.net"
] | geoff@vonture.net |
031dd230b92fa609641bc53259937b3a29957245 | 1efe0b1f99b674bdaa3fbc92c151cf930f939104 | /10.6.0/WKC/WebKit/WKC/helpers/privates/WKCAttributePrivate.h | e77ded98dd332d07f5e3228f0ab03362d70366ae | [] | no_license | flying-dutchmen/3DS_w3Browser | 5bbde7681a8bb64f262452dff643eddbd31c6707 | 355b3522da667edef2f54daa760cdd6674847d37 | refs/heads/master | 2021-01-10T11:39:36.519782 | 2016-03-18T01:00:05 | 2016-03-18T01:00:05 | 54,161,850 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,708 | h | /*
* Copyright (c) 2011-2013 ACCESS CO., LTD. All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
* License along with this library; if not, write to the
* Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
* Boston, MA 02110-1301, USA.
*/
#ifndef _WKC_HELPERS_PRIVATE_ATTRIBUTE_H_
#define _WKC_HELPERS_PRIVATE_ATTRIBUTE_H_
#ifdef WKC_ADD_WKC_HELPERS
#include "helpers/WKCAttribute.h"
#include "Attribute.h"
namespace WebCore {
class AtomicString;
class QualifiedName;
} // namespace
namespace WKC {
class AtomicString;
class AtomicStringPrivate;
} // namespace
namespace WKC {
class AttributePrivate {
public:
AttributePrivate(WebCore::Attribute *webcore);
~AttributePrivate();
WebCore::Attribute* webcore() const { return m_webcore; }
Attribute& wkc() { return m_wkc; }
const AtomicString& value();
private:
WebCore::Attribute* m_webcore;
WebCore::AtomicString m_value;
Attribute m_wkc;
AtomicStringPrivate *m_atomicstring_priv;
};
} // namespace
#endif // WKC_ADD_WKC_HELPERS
#endif //_WKC_HELPERS_PRIVATE_ATTRIBUTE_H_
| [
"undead.KennyD@gmail.com"
] | undead.KennyD@gmail.com |
a34f59788037b0cc852a1bbc48ff63939483a947 | dc2f458cdf8fecd409e96394f6dd50af970d0ab4 | /util/YR_Lock.h | 4ef29f2b6699b28e0319233f8a51772b810c7bd4 | [] | no_license | Typedefintbool/youren | be2a0d301c03f1134beb9440ee529df41f36c01b | e9cefb275ad45f4f02cc48729ae610087f70028d | refs/heads/master | 2022-02-24T17:51:11.546574 | 2019-10-15T11:28:30 | 2019-10-15T11:28:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,236 | h | #pragma once
#include <stdexcept>
#include <cerrno>
#include <string>
#include "YR_Exception.h"
using namespace std;
namespace youren {
/////////////////////////////////////////////////////////////////////////////////
//
/* 锁异常 */
struct YR_Lock_Exception : YR_Exception
{
YR_Lock_Exception(const string& buffer) : YR_Exception(buffer) { }
YR_Lock_Exception(const string& buffer, int err) : YR_Exception(buffer, err) { }
~YR_Lock_Exception() throw(){ }
};
//构造时加锁, 析构是解锁
//其他具体锁配合使用
template <class T>
class YR_LockT
{
public:
//构造时加锁
YR_LockT(const T& mutex) : _mutex(mutex) { _mutex.lock(); _acquired = true;}
//析构时解锁
virtual ~YR_LockT() {
if(_acquired)
{
_mutex.unlock();
}
}
//上锁,如果已经上锁,抛出异常
void acquire() const
{
if(_acquired)
{
throw YR_Lock_Exception("thread has locked!");
}
_mutex.lock();
_acquired = true;
}
//尝试上锁,成功返回true,错误返回false
bool tryAcquired() const
{
_acquired = _mutex.tryLock();
return _acquired;
}
//释放锁,如果没有上锁,抛出异常
void release() const
{
if(!_acquired)
{
throw YR_Lock_Exception("thread hasn't been locked!");
}
_mutex.unlock();
_acquired =false;
}
//是否已上锁
bool acquired() const
{
return _acquired;
}
protected:
//构造函数 用于锁尝试操作,与YR_LockT相似
YR_LockT(const T& mutex, bool) : _mutex(mutex)
{
_acquired = _mutex.tryLock();
}
private:
YR_LockT(const YR_LockT&);
YR_LockT& operator=(const YR_LockT&);
protected:
//锁对象
const T& _mutex;
//是否已经上锁
mutable bool _acquired;
};
template<class T>
class YR_TryLock : public YR_LockT<T>
{
public:
YR_TryLock(const T& mutex) : YR_LockT<T>(mutex, true){}
};
//空锁,不做任何锁动作
class YR_EmptyMutex
{
public:
//写锁
int lock() const { return 0; }
//解写锁
int unlock() const { return 0; }
//尝试解锁
bool trylock() const { return true; }
};
//读写锁读锁模板类
//构造加锁,析构解锁
template <class T>
class YR_RW_RLockT
{
public:
YR_RW_RLockT(T& lock)
:_rwLock(lock),_acquired(false)
{
}
~YR_RW_RLockT()
{
if(_acquired)
{
_rwLock.Unlock();
}
}
private:
const T& _rwLock;
//是否已经上锁
mutable bool _acquired;
YR_RW_RLockT(const YR_RW_RLockT&);
YR_RW_RLockT& operator=(const YR_RW_RLockT&);
};
//读写锁写锁模板
template < class T>
class YR_RW_WLockT
{
public:
YR_RW_WLockT(T& lock)
: _rwLock(lock), _acquired(false)
{}
~YR_RW_WLockT()
{
if(_acquired)
{
_rwLock.Unlock();
}
}
private:
const T& _rwLock;
mutable bool _acquired;
YR_RW_WLockT(const YR_RW_WLockT&);
YR_RW_WLockT& operator=(const YR_RW_WLockT&);
};
////////////////////////////////////////////////////////////////////////////////
}
| [
"wccccc7878@qq.com"
] | wccccc7878@qq.com |
3ca0bf031c3322f7f3ef67a4619394141f7137d9 | ef85c7bb57412c86d9ab28a95fd299e8411c316e | /inference-engine/ie_bridges/python/src/openvino/offline_transformations/offline_transformations_api_impl.hpp | 1d77775208f5dd13e0de5faae9d41c61fc3a2091 | [
"Apache-2.0"
] | permissive | SDxKeeper/dldt | 63bf19f01d8021c4d9d7b04bec334310b536a06a | a7dff0d0ec930c4c83690d41af6f6302b389f361 | refs/heads/master | 2023-01-08T19:47:29.937614 | 2021-10-22T15:56:53 | 2021-10-22T15:56:53 | 202,734,386 | 0 | 1 | Apache-2.0 | 2022-12-26T13:03:27 | 2019-08-16T13:41:06 | C++ | UTF-8 | C++ | false | false | 919 | hpp | // Copyright (C) 2018-2021 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#pragma once
#include <map>
#include <string>
#include "Python.h"
#include "ie_api_impl.hpp"
namespace InferenceEnginePython {
void ApplyMOCTransformations(InferenceEnginePython::IENetwork network, bool cf);
void ApplyPOTTransformations(InferenceEnginePython::IENetwork network, std::string device);
void ApplyLowLatencyTransformation(InferenceEnginePython::IENetwork network, bool use_const_initializer = true);
void ApplyMakeStatefulTransformation(InferenceEnginePython::IENetwork network,
std::map<std::string, std::string>& param_res_names);
void ApplyPruningTransformation(InferenceEnginePython::IENetwork network);
void GenerateMappingFile(InferenceEnginePython::IENetwork network, std::string path, bool extract_names);
void CheckAPI();
}; // namespace InferenceEnginePython
| [
"noreply@github.com"
] | SDxKeeper.noreply@github.com |
af0a5a06bc5061c118c567f818e6be4382496597 | b8b6d7ff788c6950752aafd173994ce568e169de | /Source/Plugin/Glsl/Src/GlslParserKeywords.h | 451826c9d8477a59678c6bcd0857573acde2740e | [
"MIT"
] | permissive | DragonJoker/ShaderParser | 2d0dfdb61de6a233fe8b0efb994502b5fb2d709d | b5b6654625c103634b467ed5572e97ad2b151c31 | refs/heads/master | 2021-01-10T17:07:54.791036 | 2020-04-16T19:06:49 | 2020-04-16T19:06:49 | 46,735,640 | 3 | 0 | MIT | 2022-02-06T00:04:22 | 2015-11-23T17:09:22 | C++ | UTF-8 | C++ | false | false | 732 | h | /************************************************************************//**
* @file PluginGlslParser.h
* @author Sylvain Doremus
* @version 1.0
* @date 11/23/2015
*
*
* @brief Class defining a generic GLSL parser plugin.
*
* @details Class defining a generic GLSL parser plugin.
*
***************************************************************************/
#ifndef ___GLSL_PARSER_KEYWORDS_H___
#define ___GLSL_PARSER_KEYWORDS_H___
#include "EKeyword.h"
#include <ShaderParserKeywords.h>
BEGIN_NAMESPACE_GLSL_PARSER
{
/** Class listing GLSL keywords
*/
class CKeywords
: public CParserKeywords< EKeyword >
{
public:
CKeywords();
~CKeywords();
};
}
END_NAMESPACE_GLSL_PARSER
#endif // ___GLSL_PARSER_KEYWORDS_H___
| [
"dragonjoker59@hotmail.com"
] | dragonjoker59@hotmail.com |
57734f36e5cfb644fbd97b57ec9904d3173be3b9 | 17cffc1b0d0c15c7dc98a26830719d96770f7410 | /Source.cpp | 982a0845bb8117bf688f8e14b2d14b6e6b0cf5d3 | [] | no_license | TheAceKlepto/Tetris | ccf944626611c5a655e2725ef341d56d2dcdb3ba | f01cd7c8cbbfcfd67c121e755755a7a6d0d0280d | refs/heads/master | 2020-04-30T17:47:07.263573 | 2019-03-22T13:17:13 | 2019-03-22T13:17:13 | 176,990,324 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,142 | cpp | /*
Tetris made by TheAceKlepto
using the olcPixelGameEngine: https://github.com/OneLoneCoder/olcPixelGameEngine
olcPixelGameEngine VIDEO: https://www.youtube.com/watch?v=kRH6oJLFYxY
adapted from the tetris video OneLoneCoder did using the command prompt
Tetris VIDEO: https://www.youtube.com/watch?v=8OK8_tHeCIA
With the help of a friendly discord user in the OLC discord whom I can't remember,
they provided me with the code from the video, but implemented using the olcConsoleGameEngine:
https://github.com/OneLoneCoder/videos/blob/master/olcConsoleGameEngine.h.
olcConsoleGameEngine VIDEO: https://www.youtube.com/watch?v=cWc0hgYwZyc
This saved me a lot of time on my part converting the code from when I followed the video way back when.
They also made the score, gameover screen & logic for the gameover screen.
Huge shoutout to them, and I apologize that I have a horrible memory and cannot remember their username.
Discord:
TheAceKlepto#4273
Subscribe to OneLoneCoder: https://www.youtube.com/channel/UC-yuWVUplUJZvieEligKBkA
OLC is by far the best C++(one of the best programmers in general) programmer on youtube, and has fantastic videos.
*/
#define OLC_PGE_APPLICATION
#include "olcPixelGameEngine.h"
#include <thread>
#include <vector>
#include <ctime>
//Big yikes on the namespace, promise I was gonna change later
using namespace std;
class Tetris : public olc::PixelGameEngine
{
public:
Tetris()
{
sAppName = "Tetris";
}
private:
//Game Assests
//SPRITES
olc::Sprite *tetrominoBlockColors;
olc::Sprite *background;
olc::Sprite *blockColor;
olc::Sprite
*Green = new olc::Sprite(16, 16),
*Red = new olc::Sprite(16, 16),
*Yellow = new olc::Sprite(16, 16),
*Cyan = new olc::Sprite(16, 16),
*Blue = new olc::Sprite(16, 16),
*Purple = new olc::Sprite(16, 16),
*Orange = new olc::Sprite(16, 16);
olc::Sprite *Blank = new olc::Sprite(16, 16);
olc::Sprite *oldBlockColors;
//FIELD
wstring tetromino[7];
int nFieldWidth = 12;
int nFieldHeight = 20;
unsigned char *pField = nullptr;
//Tetromino Assets
int colorSelector = 0;
int nCurrentPiece = 0;
olc::Sprite *screen = new olc::Sprite[ScreenWidth() * ScreenHeight()];
//Game Variables
int nSpeed = 20;
int nSpeedCounter = 0;
bool bForceDown = false;
int nPieceCount = 0;
int nScore = 0;
int nCurrentX = nFieldWidth / 3;
int nCurrentY = 0;
int nCurrentRotation = 0;
int nTempCurrentX = 0;
int nTempCurrentY = 0;
bool bGameOver = false;
vector<int> vLines;
char piece;
public:
bool OnUserCreate() override
{
//GENERATE SEED
srand(time(NULL));
//DRAW BACKGROUND & BORDER
for (int px = 0; px < ScreenWidth(); px++)
for (int py = 0; py < ScreenHeight(); py++)
Draw(px, py, olc::Pixel(112, 128, 144));
//create playing field
pField = new unsigned char[nFieldWidth*nFieldHeight];
for (int x = 0; x < nFieldWidth; x++)
for (int y = 0; y < nFieldHeight; y++)
pField[y*nFieldWidth + x] = (x == 0 || x == nFieldWidth - 1 || y == nFieldHeight - 1) ? 9 : 0;
for (int i = 0; i < nFieldWidth * nFieldHeight; i++) screen[i] = olc::Sprite(16, 16);
background = new olc::Sprite("tetrisBorder.png");
DrawSprite(32, 16, background, 0);
//INITIALIZE TETROMINO PALLETE
tetrominoBlockColors = new olc::Sprite("tetrisBlocks.png");
olc::Sprite *blocks[7] = { Green, Red, Yellow, Cyan, Blue, Purple, Orange };
for (int i = 0; i < 7; i++)
{
for (int x = 16 * colorSelector; x < 16 + colorSelector * 16; x++)
{
for (int y = 0; y < 16; y++)
{
olc::Pixel p = tetrominoBlockColors->GetPixel(x, y);
blocks[i]->SetPixel((x - (16 * colorSelector)), y, p);
}
}
colorSelector++;
}
//SELECT COLOR FOR TETROMINO
colorSelector = rand() % 7;
//CREATE BLOCK COLOR FOR NEW TETROMINO
blockColor = new olc::Sprite(16, 16);
for (int x = 16 * colorSelector; x < 16 + colorSelector * 16; x++)
for (int y = 0; y < 16; y++)
{
olc::Pixel p = tetrominoBlockColors->GetPixel(x, y);
blockColor->SetPixel((x - (16 * colorSelector)), y, p);
}
//create assets
tetromino[0].append(L"..X.");
tetromino[0].append(L"..X.");
tetromino[0].append(L"..X.");
tetromino[0].append(L"..X.");
tetromino[1].append(L"..X.");
tetromino[1].append(L".XX.");
tetromino[1].append(L".X..");
tetromino[1].append(L"....");
tetromino[2].append(L".X..");
tetromino[2].append(L".XX.");
tetromino[2].append(L"..X.");
tetromino[2].append(L"....");
tetromino[3].append(L"....");
tetromino[3].append(L".XX.");
tetromino[3].append(L".XX.");
tetromino[3].append(L"....");
tetromino[4].append(L"..X.");
tetromino[4].append(L".XX.");
tetromino[4].append(L"..X.");
tetromino[4].append(L"....");
tetromino[5].append(L"....");
tetromino[5].append(L".XX.");
tetromino[5].append(L"..X.");
tetromino[5].append(L"..X.");
tetromino[6].append(L"....");
tetromino[6].append(L".XX.");
tetromino[6].append(L".X..");
tetromino[6].append(L".X..");
//end of assets
// Choose First Piece
nCurrentPiece = rand() % 7;
nCurrentRotation = 0;
nCurrentX = nFieldWidth / 3;
nCurrentY = -1;
return true;
}
bool OnUserUpdate(float fElapsedTime) override
{
if (!bGameOver) {
//GAME TIMING
this_thread::sleep_for(50ms); //Game Tick
nSpeedCounter++;
bForceDown = (nSpeedCounter == nSpeed);
//USER INPUT
//<----Move---->
nCurrentX -= (GetKey(olc::Key::LEFT).bHeld) && (DoesPieceFit(nCurrentPiece, nCurrentRotation, nCurrentX - 1, nCurrentY)) ? 1 : 0;
nCurrentX += (GetKey(olc::Key::RIGHT).bHeld) && (DoesPieceFit(nCurrentPiece, nCurrentRotation, nCurrentX + 1, nCurrentY)) ? 1 : 0;
nCurrentY += (GetKey(olc::Key::DOWN).bHeld) && (DoesPieceFit(nCurrentPiece, nCurrentRotation, nCurrentX, nCurrentY + 1)) ? 1 : 0;
nCurrentRotation += (GetKey(olc::Key::SPACE).bPressed) && (DoesPieceFit(nCurrentPiece, nCurrentRotation + 1, nCurrentX, nCurrentY)) ? 1 : 0;
//GAME LOGIC
if (bForceDown)
{
//Animate Line completion
if (!vLines.empty())
{
this_thread::sleep_for(75ms);
// Remove Line and move pieces down
for (auto &v : vLines)
for (int px = 1; px < nFieldWidth - 1; px++)
{
for (int py = v; py > 0; py--)
pField[py * nFieldWidth + px] = pField[(py - 1) * nFieldWidth + px];
pField[px] = 0;
}
vLines.clear();
}
if (DoesPieceFit(nCurrentPiece, nCurrentRotation, nCurrentX, nCurrentY + 1) && vLines.empty())
nCurrentY++; // Do it
else
{
// Lock Current Piece into Field
for (int px = 0; px < 4; px++)
for (int py = 0; py < 4; py++)
if (tetromino[nCurrentPiece][Rotate(px, py, nCurrentRotation)] != L'.') {
piece = colorSelector + 49;
pField[(nCurrentY + py) * nFieldWidth + (nCurrentX + px)] = piece;
}
//Iterate Game Difficulty
if (nPieceCount % 10 == 0)
if (nSpeed >= 10) nSpeed--;
// Have Rows been Created
for (int py = 0; py < 4; py++)
if (nCurrentY + py < nFieldHeight - 1)
{
bool bLine = true;
for (int px = 1; px < nFieldWidth - 1; px++)
bLine &= (pField[(nCurrentY + py) * nFieldWidth + px]) != 0;
if (bLine)
{
// Remove Line, set to =
for (int px = 1; px < nFieldWidth - 1; px++)
pField[(nCurrentY + py) * nFieldWidth + px] = 8;
vLines.push_back(nCurrentY + py);
}
}
//Create Line Multiplier
nScore += 25;
if (!vLines.empty()) nScore += (1 << vLines.size()) * 100;
// Choose next Piece
nCurrentX = nFieldWidth / 3;
nCurrentY = -1;
nCurrentRotation = 0;
newTetromino();
// if piece does not fit
bGameOver = !DoesPieceFit(nCurrentPiece, nCurrentRotation, nCurrentX, nCurrentY);
}
nSpeedCounter = 0;
}
//RENDEROUTPUT
FillRect(0, 0, ScreenWidth(), ScreenHeight(), olc::Pixel(112, 128, 144));
//DRAW FIELD
DrawSprite(32, 16, background, 0);
//Draw Old Pieces
int transition = 10;
for (int x = 0; x < nFieldWidth; x++) {
for (int y = 0; y < nFieldHeight; y++) {
if (isdigit(pField[y*nFieldWidth + x])) {
transition = pField[y*nFieldWidth + x];
//determine what color the blocks should be
if (transition == 49)
oldBlockColors = Green;
else if (transition == 50)
oldBlockColors = Red;
else if (transition == 51)
oldBlockColors = Yellow;
else if (transition == 52)
oldBlockColors = Cyan;
else if (transition == 53)
oldBlockColors = Blue;
else if (transition == 54)
oldBlockColors = Purple;
else if (transition == 55)
oldBlockColors = Orange;
DrawSprite((2 + x) * 16, (2 + y) * 16, oldBlockColors, 0);
}
}
}
//Draw Current Piece
if (vLines.empty())
{
for (int px = 0; px < 4; px++)
for (int py = 0; py < 4; py++)
if (tetromino[nCurrentPiece][Rotate(px, py, nCurrentRotation)] == L'X')
DrawSprite((2 + nCurrentX + px) * 16, (2 + nCurrentY + py) * 16, blockColor, 0);
}
// Draw Score
DrawString(nFieldWidth + 22, 2, "Score: " + to_string(nScore), olc::WHITE);
}
//-----------TESTING PURPOSES ONLY-------------------\\
//DrawString(nFieldWidth + 200, 2, "Tranisition: " + to_string(transition), olc::WHITE);
//DrawString(nFieldWidth + 200, 200, "Piece: " + to_string(piece), olc::WHITE);
else
{
//GAME OVER
//Render Output
FillRect(0, 0, ScreenWidth(), ScreenHeight(), olc::Pixel(112, 128, 144));
DrawString(50, 80, "Game Over! Your Score is " + to_string(nScore), olc::WHITE);
DrawString(50, 160, "Press Z to Continue Escape to Quit", olc::WHITE);
if (GetKey(olc::Key::Z).bPressed)
{
pField = new unsigned char[nFieldWidth*nFieldHeight]; // Create play field buffer
for (int x = 0; x < nFieldWidth; x++)
for (int y = 0; y < nFieldHeight; y++)
pField[y*nFieldWidth + x] = (x == 0 || x == nFieldWidth - 1 || y == nFieldHeight - 1) ? 9 : 0;
nCurrentPiece = 1;
nCurrentRotation = 0;
nCurrentX = nFieldWidth / 3;
nCurrentY = -1;
nSpeed = 20;
nSpeedCounter = 0;
bForceDown = false;
nPieceCount = 0;
nScore = 0;
bGameOver = false;
}
if (GetKey(olc::Key::ESCAPE).bPressed)
return false;
}
}
//CREATE TETROMINOS
void newTetromino()
{
colorSelector = rand() % 7;
//CREATE BLOCK COLOR FOR NEW TETROMINO
blockColor = new olc::Sprite(16, 16);
for (int x = 16 * colorSelector; x < 16 + colorSelector * 16; x++)
for (int y = 0; y < 16; y++)
{
olc::Pixel p = tetrominoBlockColors->GetPixel(x, y);
blockColor->SetPixel((x - (16 * colorSelector)), y, p);
}
//SELECT NEW TETROMINO
nCurrentPiece = rand() % 7;
}
//CHECK ROTATION
int Rotate(int px, int py, int r)
{
switch (r % 4)
{
case 0: return py * 4 + px; //0 degrees
case 1: return 12 + py - (px * 4); //90 degrees
case 2: return 15 - (py * 4) - px; //180 degrees
case 3: return 3 - py + (px * 4); //270 degrees
}
return 0;
}
//DOES PIECE FIT
bool DoesPieceFit(int nTetromino, int nRotation, int nPosX, int nPosY)
{
for (int px = 0; px < 4; px++)
for (int py = 0; py < 4; py++)
{
//Get index into piece
int pi = Rotate(px, py, nRotation);
//Get index into field
int fi = (nPosY + py) * nFieldWidth + (nPosX + px);
if (nPosX + px >= 0 && nPosX + px < nFieldWidth)
if (nPosY + py >= 0 && nPosY + py < nFieldHeight)
{
if (tetromino[nTetromino][pi] == L'X' && pField[fi] != 0)
return false; //fail on first hit
}
}
return true;
}
};
int main()
{
Tetris demo;
if (demo.Construct(512, 480, 2, 2))
demo.Start();
return 0;
}
| [
"noreply@github.com"
] | TheAceKlepto.noreply@github.com |
0ef11339de2cd6dd25f2464fcccd69e984259c36 | 65aca4e0c9d5a73e65f834ae48afe5ec635796a6 | /src/qt/guiutil.h | 45d250f98c8af58d233143d557c67f7312357ffb | [
"MIT"
] | permissive | megcoin/megcoin | b062d4737ef62d44920ef2d5ae9fa0b63b4836e4 | c030be7787362103f046a0be6346de7a51255942 | refs/heads/master | 2016-09-06T17:17:32.027048 | 2014-05-14T04:15:14 | 2014-05-14T04:15:14 | 19,299,772 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,008 | h | // Copyright (c) 2011-2013 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef GUIUTIL_H
#define GUIUTIL_H
#include <QMessageBox>
#include <QObject>
#include <QString>
class QValidatedLineEdit;
class SendCoinsRecipient;
QT_BEGIN_NAMESPACE
class QAbstractItemView;
class QDateTime;
class QFont;
class QLineEdit;
class QUrl;
class QWidget;
QT_END_NAMESPACE
/** Utility functions used by the Bitcoin Qt UI.
*/
namespace GUIUtil
{
// Create human-readable string from date
QString dateTimeStr(const QDateTime &datetime);
QString dateTimeStr(qint64 nTime);
// Render Bitcoin addresses in monospace font
QFont bitcoinAddressFont();
// Set up widgets for address and amounts
void setupAddressWidget(QValidatedLineEdit *widget, QWidget *parent);
void setupAmountWidget(QLineEdit *widget, QWidget *parent);
// Parse "megcoin:" URI into recipient object, return true on successful parsing
bool parseBitcoinURI(const QUrl &uri, SendCoinsRecipient *out);
bool parseBitcoinURI(QString uri, SendCoinsRecipient *out);
QString formatBitcoinURI(const SendCoinsRecipient &info);
// Returns true if given address+amount meets "dust" definition
bool isDust(const QString& address, qint64 amount);
// HTML escaping for rich text controls
QString HtmlEscape(const QString& str, bool fMultiLine=false);
QString HtmlEscape(const std::string& str, bool fMultiLine=false);
/** Copy a field of the currently selected entry of a view to the clipboard. Does nothing if nothing
is selected.
@param[in] column Data column to extract from the model
@param[in] role Data role to extract from the model
@see TransactionView::copyLabel, TransactionView::copyAmount, TransactionView::copyAddress
*/
void copyEntryData(QAbstractItemView *view, int column, int role=Qt::EditRole);
void setClipboard(const QString& str);
/** Get save filename, mimics QFileDialog::getSaveFileName, except that it appends a default suffix
when no suffix is provided by the user.
@param[in] parent Parent window (or 0)
@param[in] caption Window caption (or empty, for default)
@param[in] dir Starting directory (or empty, to default to documents directory)
@param[in] filter Filter specification such as "Comma Separated Files (*.csv)"
@param[out] selectedSuffixOut Pointer to return the suffix (file type) that was selected (or 0).
Can be useful when choosing the save file format based on suffix.
*/
QString getSaveFileName(QWidget *parent, const QString &caption, const QString &dir,
const QString &filter,
QString *selectedSuffixOut);
/** Get open filename, convenience wrapper for QFileDialog::getOpenFileName.
@param[in] parent Parent window (or 0)
@param[in] caption Window caption (or empty, for default)
@param[in] dir Starting directory (or empty, to default to documents directory)
@param[in] filter Filter specification such as "Comma Separated Files (*.csv)"
@param[out] selectedSuffixOut Pointer to return the suffix (file type) that was selected (or 0).
Can be useful when choosing the save file format based on suffix.
*/
QString getOpenFileName(QWidget *parent, const QString &caption, const QString &dir,
const QString &filter,
QString *selectedSuffixOut);
/** Get connection type to call object slot in GUI thread with invokeMethod. The call will be blocking.
@returns If called from the GUI thread, return a Qt::DirectConnection.
If called from another thread, return a Qt::BlockingQueuedConnection.
*/
Qt::ConnectionType blockingGUIThreadConnection();
// Determine whether a widget is hidden behind other windows
bool isObscured(QWidget *w);
// Open debug.log
void openDebugLogfile();
/** Qt event filter that intercepts ToolTipChange events, and replaces the tooltip with a rich text
representation if needed. This assures that Qt can word-wrap long tooltip messages.
Tooltips longer than the provided size threshold (in characters) are wrapped.
*/
class ToolTipToRichTextFilter : public QObject
{
Q_OBJECT
public:
explicit ToolTipToRichTextFilter(int size_threshold, QObject *parent = 0);
protected:
bool eventFilter(QObject *obj, QEvent *evt);
private:
int size_threshold;
};
bool GetStartOnSystemStartup();
bool SetStartOnSystemStartup(bool fAutoStart);
/** Save window size and position */
void saveWindowGeometry(const QString& strSetting, QWidget *parent);
/** Restore window size and position */
void restoreWindowGeometry(const QString& strSetting, const QSize &defaultSizeIn, QWidget *parent);
} // namespace GUIUtil
#endif // GUIUTIL_H
| [
"earlz@lastyearswishes.com"
] | earlz@lastyearswishes.com |
85cc55c30c9563e9260be998d1d4ab4ede9446bb | a82638c8227c04559c7c05ad1061d662fb8a4011 | /Final Project/OpenGLTest/OpenGLTest/.svn/text-base/opengltest.h.svn-base | 7c34d315030f3c481a9c2eb8fa0c7143e2be0647 | [] | no_license | aliceyang/Mini-Maya | 405aa97cddadef5b04dc709758aaba3075d6598f | 333efbf6acd32a235df89c4985661094a934fcc9 | refs/heads/master | 2020-04-04T13:19:39.076240 | 2011-04-08T06:26:35 | 2011-04-08T06:26:35 | 1,586,077 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 318 | /* the main window. */
#ifndef OPENGLTEST_H
#define OPENGLTEST_H
#include <QtGui/QMainWindow>
#include "ui_opengltest.h"
class OpenGLTest : public QMainWindow
{
Q_OBJECT
public:
OpenGLTest(QWidget *parent = 0, Qt::WFlags flags = 0);
~OpenGLTest();
private:
Ui::OpenGLTestClass ui;
};
#endif // OPENGLTEST_H
| [
"yangalice2008@gmail.com"
] | yangalice2008@gmail.com | |
73ad315f3778a64410758c40b7bd86df50979478 | a06a9ae73af6690fabb1f7ec99298018dd549bb7 | /_Library/_Include/boost/units/systems/si/temperature.hpp | b5a117350ccd3890d63e9808b0260140bfbe3d7c | [] | no_license | longstl/mus12 | f76de65cca55e675392eac162dcc961531980f9f | 9e1be111f505ac23695f7675fb9cefbd6fa876e9 | refs/heads/master | 2021-05-18T08:20:40.821655 | 2020-03-29T17:38:13 | 2020-03-29T17:38:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,115 | hpp | ////////////////////////////////////////////////////////////////////////////////
// temperature.hpp
// Boost.Units - A C++ library for zero-overhead dimensional analysis and
// unit/quantity manipulation and conversion
//
// Copyright (C) 2003-2008 Matthias Christian Schabel
// Copyright (C) 2008 Steven Watanabe
//
// Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#ifndef BOOST_UNITS_SI_TEMPERATURE_HPP
#define BOOST_UNITS_SI_TEMPERATURE_HPP
#include <boost/units/systems/si/base.hpp>
namespace boost {
namespace units {
namespace si {
typedef unit<temperature_dimension,si::system> temperature;
BOOST_UNITS_STATIC_CONSTANT(kelvin,temperature);
BOOST_UNITS_STATIC_CONSTANT(kelvins,temperature);
} // namespace si
} // namespace units
} // namespace boost
#endif // BOOST_UNITS_SI_TEMPERATURE_HPP
/////////////////////////////////////////////////
// vnDev.Games - Trong.LIVE - DAO VAN TRONG //
////////////////////////////////////////////////////////////////////////////////
| [
"adm.fael.hs@gmail.com"
] | adm.fael.hs@gmail.com |
726e2fbd7ab08ff59108e9aafaed7207c4b88f03 | 23c524e47a96829d3b8e0aa6792fd40a20f3dd41 | /.history/Map_20210528171849.hpp | 1e0ccecde9a5d688d1c25dcf582a57fc43c0f9d3 | [] | no_license | nqqw/ft_containers | 4c16d32fb209aea2ce39e7ec25d7f6648aed92e8 | f043cf52059c7accd0cef7bffcaef0f6cb2c126b | refs/heads/master | 2023-06-25T16:08:19.762870 | 2021-07-23T17:28:09 | 2021-07-23T17:28:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,535 | hpp | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* Map.hpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: dbliss <dbliss@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2021/05/19 17:14:29 by dbliss #+# #+# */
/* Updated: 2021/05/28 17:18:49 by dbliss ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef MAP_HPP
#define MAP_HPP
#include "Algorithm.hpp"
#include "Identifiers.hpp"
#include "MapIterator.hpp"
#include <utility>
namespace ft
{
template <class Key, class T,
class Compare = less<Key>,
class Alloc = std::allocator<std::pair<const Key, T> > >
class map
{
private:
struct TreeNode
{
std::pair<const Key, T> val;
TreeNode *left;
TreeNode *right;
TreeNode *parent;
int height;
};
public:
typedef Key key_type;
typedef T mapped_type;
typedef std::pair<const key_type, mapped_type> value_type;
typedef less<key_type> key_compare;
typedef Alloc allocator_type;
typedef typename Alloc::reference reference;
typedef typename Alloc::const_reference const_reference;
typedef typename Alloc::pointer pointer;
typedef typename Alloc::const_pointer const_pointer;
typedef typename ft::MapIterator<pointer, TreeNode> iterator;
typedef typename ft::MapIterator<const pointer, TreeNode> const_iterator;
typedef typename ft::myReverseIterator<iterator> reverse_iterator;
typedef typename ft::myReverseIterator<const_iterator> const_reverse_iterator;
typedef ptrdiff_t difference_type;
typedef size_t size_type;
typedef typename Alloc::template rebind<TreeNode>::other node_allocator_type;
/*================================ 4 CONSTRUCTORS: ================================*/
/* EMPTY */
explicit map(const key_compare &comp = key_compare(),
const allocator_type &alloc = allocator_type()) : _node(NULL), _comp(comp), _allocator_type(alloc)
{
this->_last_node = allocate_tree_node();
}
/*RANGE*/
template <class InputIterator>
map(InputIterator first, InputIterator last,
const key_compare &comp = key_compare(),
const allocator_type &alloc = allocator_type());
/*COPY*/
map(const map &x);
/*================================ DESTRUCTOR: ================================*/
virtual ~map() {}
/*================================ OPERATOR=: ================================*/
map &operator=(const map &x);
/*================================ ITERATORS: ================================*/
iterator begin()
{
return (iterator(min_node(this->_node)));
}
const_iterator begin() const;
iterator end()
{
return (iterator(this->_last_node));
}
const_iterator end() const
{
return (const_iterator(this->_last_node));
}
reverse_iterator rbegin()
{
return (reverse_iterator(end()));
}
const_reverse_iterator rbegin() const
{
return (const_reverse_iterator(end()));
}
reverse_iterator rend()
{
return (reverse_iterator(begin()));
}
const_reverse_iterator rend() const
{
return (const_reverse_iterator(begin()));
}
/*================================ CAPACITY: ================================*/
bool empty() const;
size_type size() const;
size_type max_size() const;
/*================================ ELEMENT ACCESS: ================================*/
mapped_type &operator[](const key_type &k)
{
//return (*((this->insert(make_pair(k,mapped_type()))).first)).second);
}
/*================================ MODIFIERS: ================================*/
/* INSERT */
/* The single element versions (1) return a pair,
with its member pair::first set to an iterator pointing to either the newly inserted element
or to the element with an equivalent key in the map. The pair::second element in the pair
is set to true if a new element was inserted or false if an equivalent key already existed. */
std::pair<iterator, bool> insert (const value_type &val)
{
iterator it;
// if (!this->_node) // Insert the first node, if root is NULL.
// {
// _node = allocate_tree_node();
// _allocator_type.construct(&_node->val, val);
// _last_node->parent = _node;
// _node->left = NULL;
// _node->right = NULL;
// //_node->right = _last_node;
// it = _node;
// return make_pair(it, true);
// }
// else
// {
_node = insert_node(_node, val);
it = _node;
// std::cout << "_last_node->parent val : " << _last_node->parent->val.first << std::endl;
return make_pair(it, true);
// }
}
// std::pair<iterator, bool> insert(const value_type &val)
// {
// iterator iter;
// if (!this->_node) // Insert the first node, if root is NULL.
// {
// this->_node = allocate_tree_node();
// this->_allocator_type.construct(&_node->val, val);
// this->_last_node->parent = this->_node;
// this->_node->right = this->_last_node;
// iter = this->_node;
// return make_pair(iter, true);
// }
// else
// {
// TreeNode *new_node;
// TreeNode *root = _node;
// if (val.first <= _node->val.first)
// {
// while (root->left)
// {
// root = root->left;
// }
// new_node = construct_tree_node(val);
// root->left = new_node;
// new_node->right = NULL;
// new_node->left = NULL;
// new_node->parent = root;
// iter = new_node;
// }
// else
// {
// while (root->right != _last_node)
// {
// root = root->right;
// }
// if (root->val.first == val.first)
// return (make_pair(iterator(root), false));
// new_node = construct_tree_node(val);
// root->right = new_node;
// new_node->left = NULL;
// new_node->right = _last_node;
// _last_node->parent = new_node;
// new_node->parent = root;
// iter = _last_node;
// }
// return make_pair(iter, true);
// }
// }
// then add balancing function !
iterator insert(iterator position, const value_type &val);
template <class InputIterator>
void insert(InputIterator first, InputIterator last);
/* ERASE */
void erase(iterator position);
size_type erase(const key_type &k);
void erase(iterator first, iterator last);
/* SWAP */
void swap(map &x);
/* CLEAR */
void clear();
/*================================ OBSERVERS: ================================*/
key_compare key_comp() const;
// value_compare value_comp() const;
/*================================ OPERATIONS: ================================*/
iterator find(const key_type &k);
const_iterator find(const key_type &k) const;
size_type count(const key_type &k) const;
iterator lower_bound(const key_type &k);
const_iterator lower_bound(const key_type &k) const;
iterator upper_bound(const key_type &k);
const_iterator upper_bound(const key_type &k) const;
std::pair<const_iterator, const_iterator> equal_range(const key_type &k) const;
std::pair<iterator, iterator> equal_range(const key_type &k);
/*================================ HELPING FUNCTIONS : ================================*/
TreeNode *allocate_tree_node()
{
TreeNode *node;
node = this->_alloc_node.allocate(1);
node->right = NULL;
node->left = NULL;
node->parent = NULL;
std::memset(&node->val, 0, sizeof(node->val));
return node;
}
TreeNode *construct_tree_node(const_reference val)
{
TreeNode *node;
node = allocate_tree_node();
this->_allocator_type.construct(&node->val, val);
return (node);
}
size_type _height(TreeNode *tmp, int i = 1)
{
int x;
int y;
if (tmp && tmp != _last_node)
{
if (tmp->left && tmp->right && tmp->right != _last_node)
{
x = _height(tmp->left, i + 1);
y = _height(tmp->right, i + 1);
i = (x > y) ? x : y;
}
else if (tmp->left)
i = _height(tmp->left, i + 1);
else if (tmp->right && tmp->right != _last_node)
i = _height(tmp->right, i + 1);
}
else
return (0);
return (i);
}
// A utility function to get maximum
// of two integers
int max(int a, int b)
{
return (a > b) ? a : b;
}
int height(TreeNode *N)
{
if (N == NULL)
return 0;
return N->height;
}
/* Helper function that allocates a
new node with the given key and
NULL left and right pointers. */
TreeNode *newNode(const value_type &val, TreeNode *parent = NULL)
{
TreeNode *node;
node = _alloc_node.allocate(1);
_allocator_type.construct(&node->val, val);
node->right = NULL;
node->left = NULL;
node->parent = parent;
node->height = 1; // new node is initially
// added at leaf
return (node);
}
// A utility function to right
// rotate subtree rooted with y
// See the diagram given above.
TreeNode *rightRotate(TreeNode *y)
{
TreeNode *x = y->left;
TreeNode *T2 = x->right;
// Perform rotation
x->parent = y->parent;
x->right = y;
y->left = T2;
y->parent = x;
T2->parent = y;
// Update heights
y->height = max(height(y->left),
height(y->right)) +
1;
x->height = max(height(x->left),
height(x->right)) +
1;
// Return new root
return x;
}
// A utility function to left
// rotate subtree rooted with x
// See the diagram given above.
TreeNode *leftRotate(TreeNode *x)
{
TreeNode *y = x->right;
TreeNode *T2 = y->left;
// Perform rotation
y->left = x;
x->right = T2;
// Update heights
x->height = max(height(x->left),
height(x->right)) +
1;
y->height = max(height(y->left),
height(y->right)) +
1;
// Return new root
return y;
}
// Get Balance factor of node N
int getBalance(TreeNode *N)
{
if (N == NULL)
return 0;
return height(N->left) - height(N->right);
}
// Recursive function to insert a key
// in the subtree rooted with node and
// returns the new root of the subtree.
TreeNode *insert_node(TreeNode *node, const value_type &val, TreeNode *parent = NULL)
{
if (node == NULL)
return (newNode(val, parent)); // initially parent is set to NULL
/* 1. Perform the normal BST insertion */
if (val.first < node->val.first)
{
node->left = insert_node(node->left, val, node); // here we instead of NULL parent has the value
}
else if (val.first > node->val.first)
{
node->right = insert_node(node->right, val, node); // here we instead of NULL parent has the value
}
else // Equal keys are not allowed in BST
return node;
/* 2. Update height of this ancestor node */
node->height = 1 + max(height(node->left),
height(node->right));
/* 3. Get the balance factor of this ancestor
node to check whether this node became
unbalanced */
int balance = getBalance(node);
// If this node becomes unbalanced, then
// there are 4 cases
// Left Left Case
if (balance > 1 && val.first < node->left->val.first)
return rightRotate(node);
// Right Right Case
if (balance < -1 && val.first > node->right->val.first)
return leftRotate(node);
// Left Right Case
if (balance > 1 && val.first > node->left->val.first)
{
node->left = leftRotate(node->left);
return rightRotate(node);
}
// Right Left Case
if (balance < -1 && val.first < node->right->val.first)
{
node->right = rightRotate(node->right);
return leftRotate(node);
}
/* return the (unchanged) node pointer */
return node;
}
TreeNode *min_node(TreeNode *node)
{
if (node)
{
while (node->left)
node = node->left;
}
return (node);
}
private:
TreeNode *_node;
TreeNode *_last_node;
Compare _comp;
allocator_type _allocator_type;
node_allocator_type _alloc_node;
};
}
#endif | [
"asleonova.1@gmail.com"
] | asleonova.1@gmail.com |
75de61818e524d87588a445bba6daaf68f8ee2b7 | f85cfed4ae3c54b5d31b43e10435bb4fc4875d7e | /sc-virt/src/include/llvm/DebugInfo/CodeView/TypeTableBuilder.h | 5b2aa6186147029d733bbce0be0b3a34f5822524 | [
"MIT",
"NCSA"
] | permissive | archercreat/dta-vs-osc | 2f495f74e0a67d3672c1fc11ecb812d3bc116210 | b39f4d4eb6ffea501025fc3e07622251c2118fe0 | refs/heads/main | 2023-08-01T01:54:05.925289 | 2021-09-05T21:00:35 | 2021-09-05T21:00:35 | 438,047,267 | 1 | 1 | MIT | 2021-12-13T22:45:20 | 2021-12-13T22:45:19 | null | UTF-8 | C++ | false | false | 2,388 | h | //===- TypeTableBuilder.h ---------------------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
#ifndef LLVM_DEBUGINFO_CODEVIEW_TYPETABLEBUILDER_H
#define LLVM_DEBUGINFO_CODEVIEW_TYPETABLEBUILDER_H
#include "llvm/DebugInfo/CodeView/CodeView.h"
#include "llvm/DebugInfo/CodeView/TypeIndex.h"
#include "llvm/DebugInfo/CodeView/TypeRecord.h"
#include "llvm/Support/Compiler.h"
namespace llvm {
class StringRef;
namespace codeview {
class FieldListRecordBuilder;
class MethodListRecordBuilder;
class TypeRecordBuilder;
class TypeTableBuilder {
private:
TypeTableBuilder(const TypeTableBuilder &) = delete;
TypeTableBuilder &operator=(const TypeTableBuilder &) = delete;
protected:
TypeTableBuilder();
public:
virtual ~TypeTableBuilder();
public:
TypeIndex writeModifier(const ModifierRecord &Record);
TypeIndex writeProcedure(const ProcedureRecord &Record);
TypeIndex writeMemberFunction(const MemberFunctionRecord &Record);
TypeIndex writeArgList(const ArgListRecord &Record);
TypeIndex writePointer(const PointerRecord &Record);
TypeIndex writeArray(const ArrayRecord &Record);
TypeIndex writeClass(const ClassRecord &Record);
TypeIndex writeUnion(const UnionRecord &Record);
TypeIndex writeEnum(const EnumRecord &Record);
TypeIndex writeBitField(const BitFieldRecord &Record);
TypeIndex writeVFTableShape(const VFTableShapeRecord &Record);
TypeIndex writeStringId(const StringIdRecord &Record);
TypeIndex writeVFTable(const VFTableRecord &Record);
TypeIndex writeUdtSourceLine(const UdtSourceLineRecord &Record);
TypeIndex writeUdtModSourceLine(const UdtModSourceLineRecord &Record);
TypeIndex writeFuncId(const FuncIdRecord &Record);
TypeIndex writeMemberFuncId(const MemberFuncIdRecord &Record);
TypeIndex writeBuildInfo(const BuildInfoRecord &Record);
TypeIndex writeMethodOverloadList(const MethodOverloadListRecord &Record);
TypeIndex writeTypeServer2(const TypeServer2Record &Record);
TypeIndex writeFieldList(FieldListRecordBuilder &FieldList);
TypeIndex writeRecord(TypeRecordBuilder &builder);
virtual TypeIndex writeRecord(llvm::StringRef record) = 0;
};
}
}
#endif
| [
"sebi@quantstamp.com"
] | sebi@quantstamp.com |
c1f6f89d84642dd04353e1e425ba764040572741 | c39b58c29877f18781c142103678f37d0ac6fd2a | /Mandala/Mandala/AudioMaster.h | 36192712285aff766281d106af97a95f4bb8ac37 | [] | no_license | LauraLaureus/M.A.N.D.A.L.Aproject | ba9469c7fd0f033a8ba5c5401e81108ca85d511e | 67c8d50ac7be0c4aecb058c391409f6b1e5995ff | refs/heads/master | 2021-01-19T08:23:15.974600 | 2017-06-12T16:56:52 | 2017-06-12T16:56:52 | 87,623,773 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 462 | h | #pragma once
#include "SystemHeader.h"
#include "ThreadingHeader.h"
#include "AudioHeader.h"
class AudioMaster
{
public:
static std::string getAbsoluteFileName(std::string fileName)
{
char* nameBuffer = new char[1024];
if (GetModuleFileName(NULL, nameBuffer, 1024)) {
}
std::string absolutePath(nameBuffer);
int pointer = absolutePath.rfind("\\");
absolutePath = absolutePath.substr(0, pointer + 1);
return absolutePath + fileName;
}
};
| [
"lauradelpinodiaz94@gmail.com"
] | lauradelpinodiaz94@gmail.com |
acd0683c0f32b2eb8ad0b55ac6c593ca9c7cb26a | c6bddd88916e6c8697a9e02485bd22c58d76bcec | /GeneratedPlaceholders/Engine/AnimClassInterface.h | c550420121e21dc8c58a7b7ee5c1cbf9a6f1fed4 | [] | no_license | GIRU-GIRU/Mordhau-Unofficial-SDK | 18d13d62d746a838820e387907d13b0a37aed654 | f831d7355cf553b81fb6e82468b3abf68f7955aa | refs/heads/master | 2020-07-06T03:36:48.908227 | 2020-04-22T13:54:00 | 2020-04-22T13:54:00 | 202,872,898 | 7 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 169 | h | #pragma once
#include "CoreMinimal.h"
#include "AnimClassInterface.generated.h"
UCLASS()
class UAnimClassInterface : public UInterface
{
GENERATED_BODY()
public:
}; | [
"45307738+crypdos@users.noreply.github.com"
] | 45307738+crypdos@users.noreply.github.com |
dc42c62b5f82d6043c9ec87304d697e375e048de | f650957d79e6e7233c662c9239546bdd171989f8 | /test/std/utilities/function.objects/func.bind_front/bind_front.pass.cpp | e96357cb18f2127b7f6981e96ce660863b25909d | [
"NCSA",
"LLVM-exception",
"MIT",
"Apache-2.0"
] | permissive | darlinghq/darling-libcxx | 8c1c1fc8cd097194b46f47478e6e8fc291da75be | 5243669ceecd00fe20f8e9fb645d5c7d67956b99 | refs/heads/master | 2023-05-24T05:51:38.875213 | 2023-05-10T17:42:14 | 2023-05-10T17:42:14 | 43,841,599 | 2 | 1 | NOASSERTION | 2023-05-12T13:51:54 | 2015-10-07T20:01:18 | C++ | UTF-8 | C++ | false | false | 8,087 | cpp | //===----------------------------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
// UNSUPPORTED: c++03, c++11, c++14, c++17
// functional
// template <class F, class... Args> constexpr unspecified bind_front(F&&, Args&&...);
#include <functional>
#include "callable_types.h"
#include "test_macros.h"
constexpr int add(int a, int b) { return a + b; }
constexpr int long_test(int a, int b, int c, int d, int e, int f) {
return a + b + c + d + e + f;
}
struct Foo {
int a;
int b;
};
struct FooCall {
constexpr Foo operator()(int a, int b) { return Foo{a, b}; }
};
struct S {
constexpr bool operator()(int a) { return a == 1; }
};
struct CopyMoveInfo {
enum { none, copy, move } copy_kind;
constexpr CopyMoveInfo() : copy_kind(none) {}
constexpr CopyMoveInfo(CopyMoveInfo const&) : copy_kind(copy) {}
constexpr CopyMoveInfo(CopyMoveInfo&&) : copy_kind(move) {}
};
constexpr bool wasCopied(CopyMoveInfo info) {
return info.copy_kind == CopyMoveInfo::copy;
}
constexpr bool wasMoved(CopyMoveInfo info) {
return info.copy_kind == CopyMoveInfo::move;
}
constexpr void basic_tests() {
int n = 2;
int m = 1;
auto a = std::bind_front(add, m, n);
assert(a() == 3);
auto b = std::bind_front(long_test, m, n, m, m, m, m);
assert(b() == 7);
auto c = std::bind_front(long_test, n, m);
assert(c(1, 1, 1, 1) == 7);
auto d = std::bind_front(S{}, m);
assert(d());
auto f = std::bind_front(add, n);
assert(f(3) == 5);
auto g = std::bind_front(add, n, 1);
assert(g() == 3);
auto h = std::bind_front(long_test, 1, 1, 1);
assert(h(2, 2, 2) == 9);
// Make sure the arg is passed by value.
auto i = std::bind_front(add, n, 1);
n = 100;
assert(i() == 3);
CopyMoveInfo info;
auto copied = std::bind_front(wasCopied, info);
assert(copied());
auto moved = std::bind_front(wasMoved, info);
assert(std::move(moved)());
}
struct variadic_fn {
template <class... Args>
constexpr int operator()(Args&&... args) {
return sizeof...(args);
}
};
constexpr void test_variadic() {
variadic_fn value;
auto fn = std::bind_front(value, 0, 0, 0);
assert(fn(0, 0, 0) == 6);
}
struct mutable_callable {
bool should_call_const;
constexpr bool operator()(int, int) {
assert(!should_call_const);
return true;
}
constexpr bool operator()(int, int) const {
assert(should_call_const);
return true;
}
};
constexpr void test_mutable() {
const mutable_callable v1{true};
const auto fn1 = std::bind_front(v1, 0);
assert(fn1(0));
mutable_callable v2{false};
auto fn2 = std::bind_front(v2, 0);
assert(fn2(0));
};
struct call_member {
constexpr bool member(int, int) { return true; }
};
constexpr void test_call_member() {
call_member value;
auto fn = std::bind_front(&call_member::member, value, 0);
assert(fn(0));
}
struct no_const_lvalue {
constexpr void operator()(int) && {};
};
constexpr auto make_no_const_lvalue(int x) {
// This is to test that bind_front works when something like the following would not:
// return [nc = no_const_lvalue{}, x] { return nc(x); };
// Above would not work because it would look for a () const & overload.
return std::bind_front(no_const_lvalue{}, x);
}
constexpr void test_no_const_lvalue() { make_no_const_lvalue(1)(); }
constexpr void constructor_tests() {
{
MoveOnlyCallable value(true);
using RetT = decltype(std::bind_front(std::move(value), 1));
static_assert(std::is_move_constructible<RetT>::value);
static_assert(!std::is_copy_constructible<RetT>::value);
static_assert(!std::is_move_assignable<RetT>::value);
static_assert(!std::is_copy_assignable<RetT>::value);
auto ret = std::bind_front(std::move(value), 1);
assert(ret());
assert(ret(1, 2, 3));
auto ret1 = std::move(ret);
assert(!ret());
assert(ret1());
assert(ret1(1, 2, 3));
}
{
CopyCallable value(true);
using RetT = decltype(std::bind_front(value, 1));
static_assert(std::is_move_constructible<RetT>::value);
static_assert(std::is_copy_constructible<RetT>::value);
static_assert(!std::is_move_assignable<RetT>::value);
static_assert(!std::is_copy_assignable<RetT>::value);
auto ret = std::bind_front(value, 1);
assert(ret());
assert(ret(1, 2, 3));
auto ret1 = std::move(ret);
assert(ret1());
assert(ret1(1, 2, 3));
auto ret2 = std::bind_front(std::move(value), 1);
assert(!ret());
assert(ret2());
assert(ret2(1, 2, 3));
}
{
CopyAssignableWrapper value(true);
using RetT = decltype(std::bind_front(value, 1));
static_assert(std::is_move_constructible<RetT>::value);
static_assert(std::is_copy_constructible<RetT>::value);
static_assert(std::is_move_assignable<RetT>::value);
static_assert(std::is_copy_assignable<RetT>::value);
}
{
MoveAssignableWrapper value(true);
using RetT = decltype(std::bind_front(std::move(value), 1));
static_assert(std::is_move_constructible<RetT>::value);
static_assert(!std::is_copy_constructible<RetT>::value);
static_assert(std::is_move_assignable<RetT>::value);
static_assert(!std::is_copy_assignable<RetT>::value);
}
}
template <class Res, class F, class... Args>
constexpr void test_return(F&& value, Args&&... args) {
auto ret =
std::bind_front(std::forward<F>(value), std::forward<Args>(args)...);
static_assert(std::is_same<decltype(ret()), Res>::value);
}
constexpr void test_return_types() {
test_return<Foo>(FooCall{}, 1, 2);
test_return<bool>(S{}, 1);
test_return<int>(add, 2, 2);
}
constexpr void test_arg_count() {
using T = decltype(std::bind_front(add, 1));
static_assert(!std::is_invocable<T>::value);
static_assert(std::is_invocable<T, int>::value);
}
template <class... Args>
struct is_bind_frontable {
template <class... LocalArgs>
static auto test(int)
-> decltype((void)std::bind_front(std::declval<LocalArgs>()...),
std::true_type());
template <class...>
static std::false_type test(...);
static constexpr bool value = decltype(test<Args...>(0))::value;
};
struct NotCopyMove {
NotCopyMove() = delete;
NotCopyMove(const NotCopyMove&) = delete;
NotCopyMove(NotCopyMove&&) = delete;
void operator()() {}
};
struct NonConstCopyConstructible {
explicit NonConstCopyConstructible() {}
NonConstCopyConstructible(NonConstCopyConstructible&) {}
};
struct MoveConstructible {
explicit MoveConstructible() {}
MoveConstructible(MoveConstructible&&) {}
};
constexpr void test_invocability() {
static_assert(!std::is_constructible_v<NotCopyMove, NotCopyMove>);
static_assert(!std::is_move_constructible_v<NotCopyMove>);
static_assert(!is_bind_frontable<NotCopyMove>::value);
static_assert(!is_bind_frontable<NotCopyMove&>::value);
static_assert(
!std::is_constructible_v<MoveConstructible, MoveConstructible&>);
static_assert(std::is_move_constructible_v<MoveConstructible>);
static_assert(is_bind_frontable<variadic_fn, MoveConstructible>::value);
static_assert(
!is_bind_frontable<variadic_fn, MoveConstructible&>::value);
static_assert(std::is_constructible_v<NonConstCopyConstructible,
NonConstCopyConstructible&>);
static_assert(!std::is_move_constructible_v<NonConstCopyConstructible>);
static_assert(
!is_bind_frontable<variadic_fn, NonConstCopyConstructible&>::value);
static_assert(
!is_bind_frontable<variadic_fn, NonConstCopyConstructible>::value);
}
constexpr bool test() {
basic_tests();
constructor_tests();
test_return_types();
test_arg_count();
test_variadic();
test_mutable();
test_call_member();
test_no_const_lvalue();
test_invocability();
return true;
}
int main(int, char**) {
test();
static_assert(test());
return 0;
}
| [
"curioustommy@protonmail.com"
] | curioustommy@protonmail.com |
87d726cd8cfeae5fd6c12824b628ba99e4c7ce40 | b6d3e89588fc404988f893d0dc256e5c141bf742 | /bj/p1000/9202_quadratic.cc | 0fb11b221461fa0fd6cecbbd3bfe99be2584d059 | [] | no_license | ingyeoking13/algorithm | 236a526929947fc0a118c795513962e75dd589e3 | 5bd7575468f4794b1c71baa6c59c45a25bfada2c | refs/heads/master | 2023-01-12T07:48:46.135702 | 2022-12-28T14:57:45 | 2022-12-28T14:57:45 | 105,534,031 | 2 | 5 | null | 2022-12-08T06:08:04 | 2017-10-02T12:54:39 | C++ | UTF-8 | C++ | false | false | 2,421 | cc | #include <iostream>
#include <string.h>
#define MAX_TABLE (int)3e6
using namespace std;
struct Hash
{
int idx;
Hash() { idx=-1; }
};
char words[(int)3e5][9];
Hash hashes[MAX_TABLE];
char boggle[4][5]; // input
bool v[4][4];
bool wordChk[(int)3e5*9];
int score_table[10] = {0, 0, 0, 1, 1, 2, 3, 5, 11};
int Score;
char ansWord[9];
int mxLen;
char tempWord[9];
int hit;
unsigned long hashFunc(const char *str)
{
unsigned long hash = 5381;
int c;
while (c = *str++) hash = (((hash << 5) + hash) + c) % MAX_TABLE;
return hash % MAX_TABLE;
}
void go (int x, int y , int depth)
{
if ( depth == 9) return;
tempWord[depth-1] = boggle[x][y];
tempWord[depth] = 0;
int key = hashFunc(tempWord);
long long idx = key;
int ii =0;
while ( hashes[idx].idx != -1 )
{
int iidx = hashes[idx].idx;
if ( strcmp (words[iidx], tempWord) == 0 )
{
if ( wordChk[iidx] ) break;
wordChk[iidx]=true;
Score+=score_table[depth];
hit++;
int tmpLen = strlen(tempWord);
if ( mxLen < tmpLen)
{
strcpy(ansWord, tempWord);
mxLen = tmpLen;
}
else if ( mxLen == tmpLen )
{
if ( strcmp(ansWord, tempWord) >0) strcpy(ansWord, tempWord);
}
}
ii++;
idx = key + ii + (long long)ii*ii;
idx%=MAX_TABLE;
}
for (int i=-1; i<=1; i++)
{
for (int j=-1; j<=1; j++)
{
int nx = x +i, ny = y+j;
if ( nx < 0 || ny <0 || nx >=4 || ny >= 4 ) continue;
if( v[nx][ny] ) continue;
v[nx][ny]=1;
go(nx, ny, depth+1);
v[nx][ny]=0;
}
}
}
int main()
{
int n;
cin >> n;
for (int i=0; i<n; i++)
{
cin >> words[i];
}
/* HASHING */
int ii =0;
for (int i=0; i<n; i++)
{
long long key = hashFunc(words[i]);
int idx = key;
while ( hashes[idx].idx != -1 )
{
ii++;
idx = key + ii + (long long)ii*ii;
idx%=MAX_TABLE;
}
hashes[idx].idx = i;
}
/* End of Creating */
int T;
cin >> T;
for (int test_case=1; test_case<=T; test_case++)
{
memset(wordChk, false, sizeof(wordChk));
memset(ansWord, 0, sizeof(ansWord));
Score= hit = mxLen= 0;
for (int i=0; i<4; i++) cin >> boggle[i];
for (int i=0; i<4; i++)
{
for (int j=0; j<4; j++)
{
v[i][j]=1;
go(i,j,1);
v[i][j]=0;
}
}
cout << Score << " " << ansWord << " " << hit << "\n";
}
}
| [
"ingyeoking13@gmail.com"
] | ingyeoking13@gmail.com |
2964471312f698f10bf8a86fa9d42baad776168f | 85ec0860a0a9f5c0c0f0d81ce3cc0baf4b2a812e | /sngcpp20/pp/PP.cpp | e7cff981eda2312bbd5a7f640dd47a18d9b59531 | [] | no_license | slaakko/soulng | 3218185dc808fba63e2574b3a158fa1a9f0b2661 | a128a1190ccf71794f1bcbd420357f2c85fd75f1 | refs/heads/master | 2022-07-27T07:30:20.813581 | 2022-04-30T14:22:44 | 2022-04-30T14:22:44 | 197,632,580 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 47,151 | cpp | // =================================
// Copyright (c) 2022 Seppo Laakko
// Distributed under the MIT license
// =================================
#include <sngcpp20/pp/PP.hpp>
#include <sngcpp20/pp/Macro.hpp>
#include <sngcpp20/pp/Lines.hpp>
#include <sngcpp20/pp/Scan.hpp>
#include <sngcpp20/pp/PPLexer.hpp>
#include <sngcpp20/pp/PPParser.hpp>
#include <sngcpp20/pp/PPTokens.hpp>
#include <sngcpp20/pp/TextLexer.hpp>
#include <sngcpp20/pp/TextTokens.hpp>
#include <sngcpp20/pp/Util.hpp>
#include <sngcpp20/lexer/CppKeywords.hpp>
#include <sngcpp20/lexer/CppLexer.hpp>
#include <sngcpp20/lexer/CppTokens.hpp>
#include <sngcpp20/parser/LiteralTokenParser.hpp>
#include <sngcpp20/parser/ExpressionParser.hpp>
#include <sngcpp20/symbols/Context.hpp>
#include <soulng/util/MappedInputFile.hpp>
#include <soulng/util/Path.hpp>
#include <soulng/util/TextUtils.hpp>
#include <soulng/util/Time.hpp>
#include <soulng/util/Unicode.hpp>
#include <boost/filesystem.hpp>
#include <iostream>
namespace sngcpp::pp {
using namespace soulng::util;
using namespace soulng::unicode;
PPSourceLocation::PPSourceLocation() : fileIndex(0), lineNumber(0)
{
}
PPSourceLocation::PPSourceLocation(int fileIndex_, int lineNumber_) : fileIndex(fileIndex_), lineNumber(lineNumber_)
{
}
Token CombineStringLitTokens(const Token& left, const Token& right, PP* pp)
{
std::unique_ptr<sngcpp::ast::StringLiteralNode> leftNode(sngcpp::par::ParseStringLiteral(pp->GetSourcePos(), pp->FileName(), left.match.ToString()));
sngcpp::ast::EncodingPrefix leftEncodingPrefix = leftNode->GetEncodingPrefix();
std::unique_ptr<sngcpp::ast::StringLiteralNode> rightNode(sngcpp::par::ParseStringLiteral(pp->GetSourcePos(), pp->FileName(), right.match.ToString()));
sngcpp::ast::EncodingPrefix rightEncodingPrefix = rightNode->GetEncodingPrefix();
sngcpp::ast::EncodingPrefix commonEncodingPrefix = CommonEncodingPrefix(leftEncodingPrefix, rightEncodingPrefix);
std::u32string rep = sngcpp::ast::EncodingPrefixStr(commonEncodingPrefix);
rep.append(1, '"');
std::u32string value = leftNode->Value();
value.append(rightNode->Value());
rep.append(StringStr(value));
rep.append(1, '"');
Lexeme lexeme = pp->StringsRef().Install(std::move(rep));
return Token(TextTokens::STRINGLITERAL, lexeme, left.line);
}
std::vector<Token> CombineAdjacentStringLiterals(const std::vector<Token>& tokens, PP* pp)
{
std::vector<Token> combinedTokens;
int n = tokens.size();
int state = 0;
if (n > 0)
{
for (int i = 0; i < n; ++i)
{
Token token = tokens[i];
switch (state)
{
case 0:
{
if (token.id == TextTokens::STRINGLITERAL || token.id == TextTokens::QUOTEHEADERNAME)
{
token.id = TextTokens::STRINGLITERAL;
combinedTokens.push_back(token);
state = 1;
}
else
{
combinedTokens.push_back(token);
}
break;
}
case 1:
{
if (token.id == TextTokens::STRINGLITERAL || token.id == TextTokens::QUOTEHEADERNAME)
{
token.id = TextTokens::STRINGLITERAL;
std::vector<Token>::iterator p = combinedTokens.end() - 1;
while (p != combinedTokens.begin() && (p->id == TextTokens::WS || p->id == TextTokens::NEWLINE))
{
--p;
}
*p = CombineStringLitTokens(*p, token, pp);
combinedTokens.erase(p + 1, combinedTokens.end());
}
else if (token.id == TextTokens::WS || token.id == TextTokens::NEWLINE)
{
combinedTokens.push_back(token);
}
else
{
combinedTokens.push_back(token);
state = 0;
}
break;
}
}
}
}
return combinedTokens;
}
class PPTokenToTextTokenMap
{
public:
static void Init();
static void Done();
static PPTokenToTextTokenMap& Instance() { return *instance; }
Token GetTextToken(const Token& ppToken) const;
private:
PPTokenToTextTokenMap();
static std::unique_ptr<PPTokenToTextTokenMap> instance;
std::map<int, int> map;
};
std::unique_ptr<PPTokenToTextTokenMap> PPTokenToTextTokenMap::instance;
void PPTokenToTextTokenMap::Init()
{
instance.reset(new PPTokenToTextTokenMap());
}
void PPTokenToTextTokenMap::Done()
{
instance.reset();
}
PPTokenToTextTokenMap::PPTokenToTextTokenMap()
{
map[PPTokens::END] = TextTokens::END;
map[PPTokens::DEFINED] = TextTokens::DEFINED;
map[PPTokens::IF] = TextTokens::ID;
map[PPTokens::ELSE] = TextTokens::ID;
map[PPTokens::LINECOMMENT] = TextTokens::LINECOMMENT;
map[PPTokens::BLOCKCOMMENT] = TextTokens::BLOCKCOMMENT;
map[PPTokens::ANGLEHEADERNAME] = TextTokens::ANGLEHEADERNAME;
map[PPTokens::QUOTEHEADERNAME] = TextTokens::QUOTEHEADERNAME;
map[PPTokens::PPNUMBER] = TextTokens::PPNUMBER;
map[PPTokens::CHARLITERAL] = TextTokens::CHARLITERAL;
map[PPTokens::STRINGLITERAL] = TextTokens::STRINGLITERAL;
map[PPTokens::BEGINRAWSTRINGLITERAL] = TextTokens::BEGINRAWSTRINGLITERAL;
map[PPTokens::BLOCKCOMMENT] = TextTokens::BLOCKCOMMENT;
map[PPTokens::LINECOMMENT] = TextTokens::LINECOMMENT;
map[PPTokens::WS] = TextTokens::WS;
map[PPTokens::NEWLINE] = TextTokens::NEWLINE;
map[PPTokens::HASHHASH] = TextTokens::HASHHASH;
map[PPTokens::HASH] = TextTokens::HASH;
map[PPTokens::CHAR] = TextTokens::CHAR;
map[PPTokens::ID] = TextTokens::ID;
map[PPTokens::COLONCOLON] = TextTokens::COLONCOLON;
map[PPTokens::COMMA] = TextTokens::COMMA;
map[PPTokens::ASSIGN] = TextTokens::ASSIGN;
map[PPTokens::MULASSIGN] = TextTokens::MULASSIGN;
map[PPTokens::DIVASSIGN] = TextTokens::DIVASSIGN;
map[PPTokens::REMASSIGN] = TextTokens::REMASSIGN;
map[PPTokens::ADDASSIGN] = TextTokens::ADDASSIGN;
map[PPTokens::SUBASSIGN] = TextTokens::SUBASSIGN;
map[PPTokens::SHIFTRIGHTASSIGN] = TextTokens::SHIFTRIGHTASSIGN;
map[PPTokens::SHIFTLEFTASSIGN] = TextTokens::SHIFTLEFTASSIGN;
map[PPTokens::ANDASSIGN] = TextTokens::ANDASSIGN;
map[PPTokens::XORASSIGN] = TextTokens::XORASSIGN;
map[PPTokens::ORASSIGN] = TextTokens::ORASSIGN;
map[PPTokens::QUEST] = TextTokens::QUEST;
map[PPTokens::COLON] = TextTokens::COLON;
map[PPTokens::OROR] = TextTokens::OROR;
map[PPTokens::AMPAMP] = TextTokens::AMPAMP;
map[PPTokens::OR] = TextTokens::OR;
map[PPTokens::XOR] = TextTokens::XOR;
map[PPTokens::AMP] = TextTokens::AMP;
map[PPTokens::EQ] = TextTokens::EQ;
map[PPTokens::NEQ] = TextTokens::NEQ;
map[PPTokens::LEQ] = TextTokens::LEQ;
map[PPTokens::GEQ] = TextTokens::GEQ;
map[PPTokens::SPACESHIP] = TextTokens::SPACESHIP;
map[PPTokens::LANGLE] = TextTokens::LANGLE;
map[PPTokens::RANGLE] = TextTokens::RANGLE;
map[PPTokens::SHIFTLEFT] = TextTokens::SHIFTLEFT;
map[PPTokens::SHIFTRIGHT] = TextTokens::SHIFTRIGHT;
map[PPTokens::PLUS] = TextTokens::PLUS;
map[PPTokens::MINUS] = TextTokens::MINUS;
map[PPTokens::STAR] = TextTokens::STAR;
map[PPTokens::DIV] = TextTokens::DIV;
map[PPTokens::MOD] = TextTokens::MOD;
map[PPTokens::DOTSTAR] = TextTokens::DOTSTAR;
map[PPTokens::ARROWSTAR] = TextTokens::ARROWSTAR;
map[PPTokens::LPAREN] = TextTokens::LPAREN;
map[PPTokens::RPAREN] = TextTokens::RPAREN;
map[PPTokens::PLUSPLUS] = TextTokens::PLUSPLUS;
map[PPTokens::MINUSMINUS] = TextTokens::MINUSMINUS;
map[PPTokens::EXCLAMATION] = TextTokens::EXCLAMATION;
map[PPTokens::TILDE] = TextTokens::TILDE;
map[PPTokens::LBRACKET] = TextTokens::LBRACKET;
map[PPTokens::RBRACKET] = TextTokens::RBRACKET;
map[PPTokens::LBRACE] = TextTokens::LBRACE;
map[PPTokens::RBRACE] = TextTokens::RBRACE;
map[PPTokens::DOT] = TextTokens::DOT;
map[PPTokens::ARROW] = TextTokens::ARROW;
map[PPTokens::SEMICOLON] = TextTokens::SEMICOLON;
map[PPTokens::ELLIPSIS] = TextTokens::ELLIPSIS;
map[PPTokens::OTHER] = TextTokens::OTHER;
}
Token PPTokenToTextTokenMap::GetTextToken(const Token& ppToken) const
{
int id = TextTokens::OTHER;
auto it = map.find(ppToken.id);
if (it != map.cend())
{
id = it->second;
}
return Token(id, ppToken.match, ppToken.line);
}
Token ConvertPPTokenToTextToken(const Token& ppToken)
{
return PPTokenToTextTokenMap::Instance().GetTextToken(ppToken);
}
class TextTokenToCppTokenMap
{
public:
static void Init();
static void Done();
static TextTokenToCppTokenMap& Instance() { return *instance; }
std::vector<Token> ConvertTextTokensToCppTokens(const std::vector<Token>& textTokens, PP* pp) const;
private:
TextTokenToCppTokenMap();
static std::unique_ptr<TextTokenToCppTokenMap> instance;
std::map<int, int> map;
};
std::unique_ptr<TextTokenToCppTokenMap> TextTokenToCppTokenMap::instance;
void TextTokenToCppTokenMap::Init()
{
instance.reset(new TextTokenToCppTokenMap());
}
void TextTokenToCppTokenMap::Done()
{
instance.reset();
}
TextTokenToCppTokenMap::TextTokenToCppTokenMap()
{
for (int tokenId = TextTokens::END; tokenId < TextTokens::MAX; ++tokenId)
{
map[tokenId] = INVALID_TOKEN;
}
map[TextTokens::END] = CppTokens::END;
map[TextTokens::CHARLITERAL] = CppTokens::CHARLIT;
map[TextTokens::STRINGLITERAL] = CppTokens::STRINGLIT;
map[TextTokens::ID] = CppTokens::ID;
map[TextTokens::COLONCOLON] = CppTokens::COLONCOLON;
map[TextTokens::COMMA] = CppTokens::COMMA;
map[TextTokens::ASSIGN] = CppTokens::ASSIGN;
map[TextTokens::MULASSIGN] = CppTokens::MULASSIGN;
map[TextTokens::DIVASSIGN] = CppTokens::DIVASSIGN;
map[TextTokens::REMASSIGN] = CppTokens::REMASSIGN;
map[TextTokens::ADDASSIGN] = CppTokens::ADDASSIGN;
map[TextTokens::SUBASSIGN] = CppTokens::SUBASSIGN;
map[TextTokens::SHIFTRIGHTASSIGN] = CppTokens::SHIFTRIGHTASSIGN;
map[TextTokens::SHIFTLEFTASSIGN] = CppTokens::SHIFTLEFTASSIGN;
map[TextTokens::ANDASSIGN] = CppTokens::ANDASSIGN;
map[TextTokens::XORASSIGN] = CppTokens::XORASSIGN;
map[TextTokens::ORASSIGN] = CppTokens::ORASSIGN;
map[TextTokens::QUEST] = CppTokens::QUEST;
map[TextTokens::COLON] = CppTokens::COLON;
map[TextTokens::OROR] = CppTokens::OROR;
map[TextTokens::AMPAMP] = CppTokens::AMPAMP;
map[TextTokens::OR] = CppTokens::OR;
map[TextTokens::XOR] = CppTokens::XOR;
map[TextTokens::AMP] = CppTokens::AMP;
map[TextTokens::EQ] = CppTokens::EQ;
map[TextTokens::NEQ] = CppTokens::NEQ;
map[TextTokens::LEQ] = CppTokens::LEQ;
map[TextTokens::GEQ] = CppTokens::GEQ;
map[TextTokens::SPACESHIP] = CppTokens::SPACESHIP;
map[TextTokens::LANGLE] = CppTokens::LANGLE;
map[TextTokens::RANGLE] = CppTokens::RANGLE;
map[TextTokens::SHIFTLEFT] = CppTokens::SHIFTLEFT;
map[TextTokens::SHIFTRIGHT] = CppTokens::SHIFTRIGHT;
map[TextTokens::PLUS] = CppTokens::PLUS;
map[TextTokens::MINUS] = CppTokens::MINUS;
map[TextTokens::STAR] = CppTokens::STAR;
map[TextTokens::DIV] = CppTokens::DIV;
map[TextTokens::MOD] = CppTokens::MOD;
map[TextTokens::DOTSTAR] = CppTokens::DOTSTAR;
map[TextTokens::ARROWSTAR] = CppTokens::ARROWSTAR;
map[TextTokens::LPAREN] = CppTokens::LPAREN;
map[TextTokens::RPAREN] = CppTokens::RPAREN;
map[TextTokens::PLUSPLUS] = CppTokens::PLUSPLUS;
map[TextTokens::MINUSMINUS] = CppTokens::MINUSMINUS;
map[TextTokens::EXCLAMATION] = CppTokens::EXCLAMATION;
map[TextTokens::TILDE] = CppTokens::TILDE;
map[TextTokens::LBRACKET] = CppTokens::LBRACKET;
map[TextTokens::RBRACKET] = CppTokens::RBRACKET;
map[TextTokens::LBRACE] = CppTokens::LBRACE;
map[TextTokens::RBRACE] = CppTokens::RBRACE;
map[TextTokens::DOT] = CppTokens::DOT;
map[TextTokens::ARROW] = CppTokens::ARROW;
map[TextTokens::SEMICOLON] = CppTokens::SEMICOLON;
map[TextTokens::ELLIPSIS] = CppTokens::ELLIPSIS;
}
const char32_t* zeroLit = U"0";
const soulng::lexer::Lexeme zeroLexeme(zeroLit, zeroLit + 1);
const soulng::lexer::Token zeroToken(CppTokens::INTLIT, zeroLexeme, 1);
const char32_t* oneLit = U"1";
const soulng::lexer::Lexeme oneLexeme(oneLit, oneLit + 1);
const soulng::lexer::Token oneToken(CppTokens::INTLIT, oneLexeme, 1);
std::vector<Token> TextTokenToCppTokenMap::ConvertTextTokensToCppTokens(const std::vector<Token>& textTokens, PP* pp) const
{
std::vector<Token> cppTokens;
int state = 0;
for (const Token& textToken : textTokens)
{
switch (state)
{
case 0:
{
switch (textToken.id)
{
case TextTokens::KEYWORD:
case TextTokens::ID:
{
cppTokens.push_back(zeroToken);
break;
}
case TextTokens::PPNUMBER:
{
CppLexer lexer(textToken.match.begin, textToken.match.end, std::string(), 0);
++lexer;
cppTokens.push_back(lexer.GetToken(lexer.GetPos()));
break;
}
case TextTokens::DEFINED:
{
state = 1;
break;
}
case TextTokens::WS:
case TextTokens::BLOCKCOMMENT:
case TextTokens::LINECOMMENT:
{
break;
}
default:
{
auto it = map.find(textToken.id);
if (it != map.cend())
{
int id = it->second;
cppTokens.push_back(Token(id, textToken.match, textToken.line));
}
else
{
cppTokens.push_back(INVALID_TOKEN);
}
break;
}
}
break;
}
case 1:
{
switch (textToken.id)
{
case TextTokens::LPAREN:
{
state = 2;
break;
}
case TextTokens::ID:
{
if (pp->IsMacroDefined(textToken.match))
{
cppTokens.push_back(oneToken);
}
else
{
cppTokens.push_back(zeroToken);
}
state = 0;
break;
}
case TextTokens::WS:
{
break;
}
default:
{
cppTokens.push_back(zeroToken);
state = 0;
break;
}
}
break;
}
case 2:
{
switch (textToken.id)
{
case TextTokens::ID:
{
if (pp->IsMacroDefined(textToken.match))
{
cppTokens.push_back(oneToken);
}
else
{
cppTokens.push_back(zeroToken);
}
state = 3;
break;
}
case TextTokens::WS:
{
break;
}
default:
{
cppTokens.push_back(zeroToken);
state = 3;
break;
}
}
break;
}
case 3:
{
switch (textToken.id)
{
case TextTokens::RPAREN:
{
state = 0;
break;
}
default:
{
break;
}
}
break;
}
}
}
return cppTokens;
}
std::vector<Token> ConvertTextTokensToCppTokens(const std::vector<Token>& textTokens, PP* pp)
{
return TextTokenToCppTokenMap::Instance().ConvertTextTokensToCppTokens(textTokens, pp);
}
PPResult::PPResult() : lineMapper(*this), empty(true), msvcMode(false)
{
}
PPResult::PPResult(std::vector<std::string>&& fileNames_, Strings&& strings_, std::vector<std::unique_ptr<LogicalPhysicalMapping>>&& logicalPhysicalMappings_,
std::map<int, PPSourceLocation>&& lineMap_, const Lexeme& resultText_, std::vector<std::string>&& errors_, const Lexeme& macros_) :
lineMapper(*this), fileNames(std::move(fileNames_)), strings(std::move(strings_)), logicalPhysicalMappings(std::move(logicalPhysicalMappings_)), lineMap(lineMap_), resultText(resultText_),
errors(std::move(errors_)), empty(false), msvcMode(false), macros(macros_)
{
}
const PPSourceLocation* PPResult::GetSourceLocation(int line) const
{
auto it = lineMap.find(line);
if (it != lineMap.cend())
{
return &it->second;
}
else
{
return nullptr;
}
}
std::string PPResult::GetMappedFileName(int fileIndex) const
{
if (fileIndex >= 0 && fileIndex < fileNames.size())
{
return fileNames[fileIndex];
}
else
{
return std::string();
}
}
const LogicalPhysicalMapping* PPResult::GetMapping(int fileIndex) const
{
if (fileIndex >= 0 && fileIndex < logicalPhysicalMappings.size())
{
return logicalPhysicalMappings[fileIndex].get();
}
else
{
return nullptr;
}
}
SourcePos PPResult::GetMappedPos(const SourcePos& sourcePos) const
{
const PPSourceLocation* sourceLocation = GetSourceLocation(sourcePos.line);
if (sourceLocation)
{
const LogicalPhysicalMapping* mapping = GetMapping(sourceLocation->fileIndex);
if (mapping)
{
SourcePos logicalPos(-1, sourceLocation->lineNumber, sourcePos.col);
SourcePos physicalPos = mapping->GetMappedPos(logicalPos);
return physicalPos;
}
else
{
return SourcePos();
}
}
else
{
return SourcePos();
}
}
std::string PPResult::GetMappedSourceLine(const SourcePos& sourcePos) const
{
const PPSourceLocation* sourceLocation = GetSourceLocation(sourcePos.line);
if (sourceLocation)
{
const LogicalPhysicalMapping* mapping = GetMapping(sourceLocation->fileIndex);
if (mapping)
{
SourcePos logicalPos(-1, sourceLocation->lineNumber, sourcePos.col);
SourcePos physicalPos = mapping->GetMappedPos(logicalPos);
if (physicalPos.line >= 1 && physicalPos.line <= mapping->PhysicalLines().Count())
{
return ToUtf8(mapping->PhysicalLines()[physicalPos.line - 1].ToString());
}
else
{
return std::string();
}
}
else
{
return std::string();
}
}
else
{
return std::string();
}
}
PPLineMapper::PPLineMapper(PPResult& ppResult_) : ppResult(ppResult_)
{
}
SourceInfo PPLineMapper::GetSourceInfo(const SourcePos& sourcePos)
{
const PPSourceLocation* sourceLocation = ppResult.GetSourceLocation(sourcePos.line);
if (sourceLocation && sourceLocation->lineNumber)
{
SourceInfo sourceInfo;
sourceInfo.fileName = ppResult.GetMappedFileName(sourceLocation->fileIndex);
SourcePos physicalPos = ppResult.GetMappedPos(sourcePos);
sourceInfo.lineNumber = physicalPos.line;
sourceInfo.sourceLine = ppResult.GetMappedSourceLine(sourcePos);
return sourceInfo;
}
else
{
return SourceInfo();
}
}
PP::PP(EvaluationContext& evaluationContext_) :
evaluationContext(evaluationContext_), fileIndex(-1), skip(false), processed(false), lineNumber(1), level(0), lineIndex(0), skipToEnd(false), inMSVCMode(false), printMacros(false)
{
space = strings.Install(U" ");
nl = strings.Install(U"\n");
mspragmaLexeme = strings.Install(U"__pragma");
std::string date = GetCurrentDate().ToString();
std::string dateTime = GetCurrentDateTime().ToString();
std::string time = dateTime.substr(11);
DefineObjectMacro(U"__DATE__", ToUtf32(date));
DefineObjectMacro(U"__TIME__", ToUtf32(time));
fileMacro.reset(new ObjectMacro(strings.Install(U"__FILE__"), "", 0, std::vector<Token>(), std::u32string()));
lineMacro.reset(new ObjectMacro(strings.Install(U"__LINE__"), "", 0, std::vector<Token>(), std::u32string()));
sngcppMSVCModeMacroName = strings.Install(U"__SNGCPP_MSVC_MODE");
}
void PP::SetMSVCModeFlag()
{
if (IsMacroDefined(sngcppMSVCModeMacroName))
{
inMSVCMode = true;
}
}
bool PP::IsKeywordToken(const Token& token) const
{
soulng::lexer::KeywordMap* keywordMap = CppKeywords::GetKeywordMap();
return keywordMap->GetKeywordToken(token.match) != soulng::lexer::INVALID_TOKEN;
}
Macro* PP::GetMacro(const Lexeme& name) const
{
auto it = macroMap.find(name);
if (it != macroMap.cend())
{
return it->second;
}
else
{
return nullptr;
}
}
std::vector<Token> PP::MacroExpand(const std::vector<Token>& tokens, soulng::lexer::Lexer* lexer)
{
return MacroExpand(tokens, lexer, false);
}
std::vector<Token> PP::MacroExpand(const std::vector<Token>& tokens, soulng::lexer::Lexer* lexer, bool saveDefined)
{
std::set<Macro*> expandedMacros;
std::vector<Token> expandedTokens;
std::vector<Token> tokensToProcess;
const std::vector<Token>* tokenVecPtr = &tokens;
bool expanded = true;
bool definedSeen = false;
bool recursive = false;
while (expanded || lexer != nullptr)
{
expanded = false;
std::set<Macro*> loopExpandedMacros;
bool end = false;
int i = 0;
int e = tokenVecPtr->size();
while (i != e || (lexer != nullptr && !end))
{
Token token;
if (lexer != nullptr)
{
token = lexer->GetToken(i);
}
else
{
token = (*tokenVecPtr)[i];
}
switch (token.id)
{
case TextTokens::ID:
{
if (saveDefined && definedSeen)
{
expandedTokens.push_back(token);
definedSeen = false;
}
else
{
Macro* macro = GetMacro(token.match);
if (macro)
{
if (!recursive || expandedMacros.find(macro) == expandedMacros.cend())
{
i = macro->Expand(i, e, *tokenVecPtr, lexer, expandedTokens, this, end);
if (end)
{
break;
}
expanded = true;
loopExpandedMacros.insert(macro);
}
else
{
expandedTokens.push_back(token);
}
}
else
{
expandedTokens.push_back(token);
}
}
break;
}
case TextTokens::DEFINED:
{
expandedTokens.push_back(token);
definedSeen = true;
break;
}
case TextTokens::NEWLINE:
{
expandedTokens.push_back(token);
end = true;
SetLineNumber(LineNumber() + 1);
break;
}
case TextTokens::END:
{
end = true;
break;
}
case TextTokens::LINECOMMENT:
{
expandedTokens.push_back(token);
end = true;
break;
}
case TextTokens::BEGINBLOCKCOMMENT:
{
if (lexer)
{
if (ScanBlockComment(*lexer, token))
{
int n = GetNumberOfNewLines(token.match);
lineIndex += n;
expandedTokens.push_back(token);
}
else
{
std::string error = "error: open block comment: " + FileName() + ":" + std::to_string(GetLineIndex() + 1);
AddError(error);
end = true;
}
}
else
{
std::string error = "internal error: block comment inside macro: " + FileName() + ":" + std::to_string(GetLineIndex() + 1);
AddError(error);
end = true;
}
break;
}
case TextTokens::BEGINRAWSTRINGLITERAL:
{
if (lexer)
{
if (ScanRawStringLiteral(*lexer, token))
{
int n = GetNumberOfNewLines(token.match);
lineIndex += n;
SetLineNumber(LineNumber() + n);
expandedTokens.push_back(token);
}
else
{
std::string error = "error: open raw string literal: " + FileName() + ":" + std::to_string(GetLineIndex() + 1);
AddError(error);
end = true;
}
}
else
{
std::string error = "internal error: raw string literal inside macro: " + FileName() + ":" + std::to_string(GetLineIndex() + 1);
AddError(error);
end = true;
}
break;
}
case TextTokens::QUOTEHEADERNAME:
{
token.id = TextTokens::STRINGLITERAL;
expandedTokens.push_back(token);
break;
}
default:
{
expandedTokens.push_back(token);
break;
}
}
if (lexer)
{
++(*lexer);
++i;
e = i;
}
else if (i != e)
{
++i;
}
}
lexer = nullptr;
if (expanded)
{
for (const auto& macro : loopExpandedMacros)
{
expandedMacros.insert(macro);
}
tokensToProcess.clear();
std::swap(expandedTokens, tokensToProcess);
tokensToProcess = ConcatenateTokens(tokensToProcess, this);
tokenVecPtr = &tokensToProcess;
i = 0;
e = tokenVecPtr->size();
recursive = true;
}
}
return expandedTokens;
}
void PP::AddError(const std::string& error)
{
errors.push_back(error);
}
void PP::AddToken(const Token& token)
{
tokens.push_back(token);
}
Lexeme PP::EmitText()
{
std::u32string text;
for (const Token& token : tokens)
{
text.append(token.match.ToString());
}
return strings.Install(std::move(text));
}
void PP::SetFile(const std::string& file_)
{
fileStr = ToUtf32(file_);
fileMacro->SetValue(Token(TextTokens::STRINGLITERAL, Lexeme(fileStr.c_str(), fileStr.c_str() + fileStr.length()), 1));
}
void PP::SetLine(int line_)
{
lineStr = ToUtf32(std::to_string(line_));
lineMacro->SetValue(Token(TextTokens::PPNUMBER, Lexeme(lineStr.c_str(), lineStr.c_str() + lineStr.length()), 1));
}
void PP::PushLineIndex()
{
lineIndexStack.push(lineIndex);
}
void PP::PopLineIndex()
{
lineIndex = lineIndexStack.top();
lineIndexStack.pop();
}
void PP::AddProcessedHeader(const std::string& header)
{
processedHeaders.insert(header);
}
bool PP::IsHeaderProcessed(const std::string& header) const
{
return processedHeaders.find(header) != processedHeaders.cend();
}
void PP::AddFileName(const std::string& fileName)
{
fileNames.push_back(fileName);
}
void PP::AddLogicalPhysicalMapping(std::unique_ptr<LogicalPhysicalMapping>&& mapping)
{
logicalPhysicalMappings.push_back(std::move(mapping));
}
void PP::DefineObjectMacro(const Lexeme& name, const std::vector<Token>& replacementList, const std::u32string& definitionStr)
{
Macro* prevMacro = GetMacro(name);
if (prevMacro)
{
if (prevMacro->IsObjectMacro())
{
ObjectMacro* objectMacro = static_cast<ObjectMacro*>(prevMacro);
if (definitionStr != objectMacro->DefinitionStr())
{
std::string error = "error: object macro '" + ToUtf8(name.ToString()) + "' definition not equal to previous definition: " + fileName + ":" + std::to_string(lineNumber);
error.append("\nnote: previous definition was in '" + prevMacro->FileName() + ":" + std::to_string(prevMacro->LineNumber()) + "'");
AddError(error);
}
}
else if (prevMacro->IsFunctionMacro())
{
std::string error = "error: object macro '" + ToUtf8(name.ToString()) + "' definition not equal to previous definition: note: previous was function macro: " +
fileName + ":" + std::to_string(lineNumber);
error.append("\nnote: previous definition was in '" + prevMacro->FileName() + ":" + std::to_string(prevMacro->LineNumber()) + "'");
AddError(error);
}
}
else
{
std::vector<Token> definition = replacementList;
if (ContainsHash(definition))
{
std::string error = "error: replacement list of an object macro cannot contain the # operator: " + fileName + ":" + std::to_string(lineNumber);
AddError(error);
}
else if (ContainsHashHash(definition))
{
std::string error = "error: replacement list of an object macro cannot contain the ## operator: " + fileName + ":" + std::to_string(lineNumber);
AddError(error);
}
std::unique_ptr<Macro> macro(new ObjectMacro(name, fileName, lineNumber, definition, definitionStr));
macroMap[name] = macro.get();
macros.push_back(std::move(macro));
}
}
void PP::DefineFunctionMacro(const Lexeme& name, const std::vector<Token>& paramList, const std::vector<Token>& replacementList, const std::u32string& definitionStr)
{
std::vector<Token> params;
for (const Token& param : paramList)
{
std::vector<Token> p(1, param);
std::vector<Token> tokens = MacroExpand(p, nullptr);
for (const Token& t : tokens)
{
params.push_back(t);
}
}
Macro* prevMacro = GetMacro(name);
if (prevMacro)
{
if (prevMacro->IsObjectMacro())
{
std::string error = "error: function macro '" + ToUtf8(name.ToString()) + "' definition not equal to previous definition: note: previous was object macro: " +
fileName + ":" + std::to_string(lineNumber);
error.append("\nnote: previous definition was in '" + prevMacro->FileName() + ":" + std::to_string(prevMacro->LineNumber()) + "'");
AddError(error);
}
else if (prevMacro->IsFunctionMacro())
{
FunctionMacro* functionMacro = static_cast<FunctionMacro*>(prevMacro);
if (ToString(functionMacro->Parameters()) != ToString(params))
{
std::string error = "error: function macro '" + ToUtf8(name.ToString()) + "' definition not equal to previous definition: " + fileName + ":" + std::to_string(lineNumber);
error.append("\nnote: parameter lists differ: note: previous definition in '" + prevMacro->FileName() + ":" + std::to_string(prevMacro->LineNumber()) + "'");
AddError(error);
}
else if (functionMacro->DefinitionStr() != definitionStr)
{
std::string error = "error: function macro '" + ToUtf8(name.ToString()) + "' definition not equal to previous definition: " + fileName + ":" + std::to_string(lineNumber);
error.append("\nnote: definitions differ: note: previous definition was in '" + prevMacro->FileName() + ":" + std::to_string(prevMacro->LineNumber()) + "'");
AddError(error);
}
}
}
else
{
std::vector<Token> definition = replacementList;
std::unique_ptr<FunctionMacro> macro(new FunctionMacro(name, fileName, lineNumber, params, definition, definitionStr, this));
if (!macro->MakeParamIndexMap())
{
std::string error = "error: duplicate identifier in parameter list of function macro '" + ToUtf8(macro->Name().ToString()) + "' : " + fileName + ":" + std::to_string(lineNumber);
AddError(error);
}
else
{
macroMap[name] = macro.get();
macros.push_back(std::move(macro));
}
}
}
void PP::DefineObjectMacro(const std::u32string& name, const std::u32string& value)
{
std::u32string nm = name;
Lexeme macroName = strings.Install(std::move(nm));
if (!value.empty())
{
std::u32string replacementText = value;
Lexeme replacement = strings.Install(std::move(replacementText));
PPLexer lexer(replacement.begin, replacement.end, fileName, fileIndex);
++lexer;
std::vector<Token> replacementList;
ParseReplacementList(lexer, replacementList);
DefineObjectMacro(macroName, replacementList, value);
}
else
{
DefineObjectMacro(macroName, std::vector<Token>(), std::u32string());
}
}
void PP::Undefine(const Lexeme& name)
{
macroMap.erase(name);
}
void PP::Line(const std::vector<Token>& tokens)
{
// todo
}
void PP::Error(const std::vector<Token>& tokens)
{
AddError(ToUtf8(ToString(tokens)));
}
void PP::Pragma(const std::vector<Token>& tokens)
{
if (InMSVCMode())
{
if (tokens.size() == 1 && tokens.front().match.ToString() == U"once")
{
if (IsHeaderProcessed(fileName))
{
SetSkipToEnd();
}
else
{
AddProcessedHeader(fileName);
}
}
else if (tokens.size() >= 1 && tokens.front().match.ToString() == U"message")
{
std::cout << ToUtf8(ToString(tokens)) << std::endl;
}
}
}
struct IncludeGuard
{
IncludeGuard(PP* pp_) : pp(pp_)
{
pp->PushLineIndex();
}
~IncludeGuard()
{
pp->PopLineIndex();
}
PP* pp;
};
void PP::Include(const std::vector<Token>& tokens)
{
std::string headerName;
bool parse = true;
bool expanded = false;
bool searchCurrentDir = false;
if (!tokens.empty())
{
Token token = tokens.front();
while (parse)
{
if (token.id == TextTokens::ANGLEHEADERNAME)
{
headerName = ParseAngleHeaderName(token, this);
parse = false;
}
else if (token.id == TextTokens::QUOTEHEADERNAME)
{
headerName = ParseQuoteHeaderName(token, this);
searchCurrentDir = true;
parse = false;
}
else
{
if (expanded)
{
parse = false;
}
else
{
expanded = true;
std::vector<Token> replacementTokens = TrimTextTokens(MacroExpand(tokens, nullptr));
if (!replacementTokens.empty())
{
token = replacementTokens.front();
}
else
{
parse = false;
}
}
}
}
}
if (!headerName.empty())
{
for (const std::string& includePath : includePaths)
{
std::string filePath = GetFullPath(Path::Combine(includePath, headerName));
if (boost::filesystem::exists(filePath))
{
IncludeGuard guard(this);
Preprocess(filePath, this);
return;
}
}
if (searchCurrentDir)
{
std::string filePath = GetFullPath(Path::Combine(Path::GetDirectoryName(fileName), headerName));
if (boost::filesystem::exists(filePath))
{
IncludeGuard guard(this);
Preprocess(filePath, this);
return;
}
}
std::string error = "include file name '" + headerName + "' not found: " + fileName + ":" + std::to_string(lineNumber);
AddError(error);
}
else
{
std::string error = "invalid include directive: " + fileName + ":" + std::to_string(lineNumber);
AddError(error);
}
}
bool PP::IsMacroDefined(const Lexeme& macroName) const
{
return macroMap.find(macroName) != macroMap.cend();
}
void PP::Ifdef(const Token& id)
{
processedStack.push(processed);
processed = false;
skipStack.push(skip);
if (!skip)
{
bool defined = IsMacroDefined(id.match);
skip = !defined;
if (!skip)
{
processed = true;
}
}
}
void PP::Ifndef(const Token& id)
{
processedStack.push(processed);
processed = false;
skipStack.push(skip);
if (!skip)
{
bool defined = IsMacroDefined(id.match);
skip = defined;
if (!skip)
{
processed = true;
}
}
}
void PP::If(const std::vector<Token>& tokens)
{
processedStack.push(processed);
processed = false;
skipStack.push(skip);
if (!skip)
{
bool cond = Evaluate(tokens);
skip = !cond;
if (!skip)
{
processed = true;
}
}
}
void PP::Elif(const std::vector<Token>& tokens)
{
if (!skipStack.top() && !processed)
{
bool cond = Evaluate(tokens);
skip = !cond;
if (!skip)
{
processed = true;
}
}
else
{
skip = true;
}
}
void PP::Else()
{
if (!skipStack.top() && !processed)
{
skip = false;
}
else
{
skip = true;
}
}
void PP::EndIf()
{
if (!skipStack.empty())
{
skip = skipStack.top();
skipStack.pop();
}
else
{
std::string error = "error: skip stack is empty: " + FileName() + ":" + std::to_string(LineNumber());
AddError(error);
}
if (!processedStack.empty())
{
processed = processedStack.top();
processedStack.pop();
}
else
{
std::string error = "error: processed stack is empty: " + FileName() + ":" + std::to_string(LineNumber());
AddError(error);
}
}
bool PP::Evaluate(const std::vector<Token>& tokens)
{
try
{
std::vector<Token> conditionTextTokens = MacroExpand(tokens, nullptr, true);
std::vector<Token> conditionCppTokens = ConvertTextTokensToCppTokens(conditionTextTokens, this);
CppLexer lexer(std::u32string(), fileName, fileIndex);
lexer.SetLine(lineNumber);
lexer.SetTokens(conditionCppTokens);
sngcpp::symbols::Context ctx;
std::unique_ptr<sngcpp::ast::Node> expr = ExpressionParser::Parse(lexer, &ctx);
bool value = EvaluateBooleanConstantExpression(expr.get(), evaluationContext, this);
return value;
}
catch (const std::exception& ex)
{
AddError(ex.what());
}
return false;
}
void PP::AddIncludePath(const std::string& includePath)
{
includePaths.push_back(includePath);
}
void PP::PushFileName(const std::string& fileName_)
{
fileNameStack.push(fileName);
fileName = fileName_;
}
void PP::PopFileName()
{
if (!fileNameStack.empty())
{
fileName = fileNameStack.top();
fileNameStack.pop();
}
else
{
std::string error = "error: file name stack is empty: " + FileName() + ":" + std::to_string(LineNumber());
AddError(error);
}
}
SourcePos PP::GetSourcePos() const
{
return SourcePos(-1, lineNumber, 1);
}
Lexeme PP::DoPrintMacros()
{
std::u32string macroText;
for (const auto& macro : macroMap)
{
macroText.append(U"#define ").append(ToUtf32(macro.second->ToString())).append(1, '\n');
}
return strings.Install(std::move(macroText));
}
void PP::MapLine(int lineNumber, const PPSourceLocation& sourceLocation)
{
lineMap[lineNumber] = sourceLocation;
}
std::unique_ptr<PPResult> Preprocess(const std::string& fileName, PP* pp)
{
try
{
if (pp->Level() == 0)
{
pp->SetMSVCModeFlag();
}
pp->AddFileName(fileName);
pp->IncFileIndex();
pp->SetFile(fileName);
pp->IncLevel();
pp->PushFileName(fileName);
Lexeme fileContent = pp->StringsRef().Install(ToUtf32(ReadFile(fileName)));
pp->AddLogicalPhysicalMapping(MapLines(fileContent, pp));
LogicalPhysicalMapping* lineMapping = pp->CurrentLogicalPhysicalMapping();
const Lines& lines = lineMapping->LogicalLines();
int lineIndex = 0;
while (lineIndex < lines.Count())
{
pp->SetLineIndex(lineIndex);
pp->SetLine(lineIndex + 1);
Lexeme line = lines[lineIndex];
if (IsPPLine(line))
{
PPLexer lexer(line.begin, lines.End(), fileName, pp->FileIndex());
lexer.SetLine(pp->LineNumber());
lexer.SetCountLines(false);
lexer.pp = pp;
++lexer;
ParseControlLine(lexer);
lineIndex = pp->GetLineIndex();
if (pp->SkipToEnd())
{
pp->ResetSkipToEnd();
lineIndex = lines.Count();
continue;
}
}
else if (!pp->Skip())
{
PPSourceLocation ppSourceLocation(pp->FileIndex(), lineIndex + 1);
pp->MapLine(pp->LineNumber(), ppSourceLocation);
TextLexer lexer(line.begin, lines.End(), fileName, pp->FileIndex());
lexer.pp = pp;
lexer.SetLine(pp->LineNumber());
lexer.SetCountLines(false);
++lexer;
std::vector<Token> tokens;
tokens = pp->MacroExpand(tokens, &lexer);
lineIndex = pp->GetLineIndex();
if (pp->InMSVCMode())
{
std::vector<Token> pragmaTokens;
int newLines = 0;
if (IsMSPragma(tokens, pp->MSPragmaLexeme(), pragmaTokens, newLines))
{
tokens.swap(pragmaTokens);
pp->SetLineNumber(pp->LineNumber() + newLines);
}
}
for (const Token& token : tokens)
{
switch (token.id)
{
case TextTokens::BLOCKCOMMENT:
case TextTokens::LINECOMMENT:
{
pp->AddToken(Token(TextTokens::WS, pp->Space(), pp->LineNumber()));
break;
}
default:
{
pp->AddToken(token);
break;
}
}
}
}
++lineIndex;
}
pp->PopFileName();
pp->DecLevel();
if (pp->Level() == 0)
{
std::vector<Token> tokens = pp->GetTokens();
tokens = CombineAdjacentStringLiterals(tokens, pp);
pp->SetTokens(std::move(tokens));
Lexeme resultText = pp->EmitText();
std::vector<std::string> fileNames = pp->GetFileNames();
std::vector<std::unique_ptr<LogicalPhysicalMapping>> mappings = pp->GetLogicalPhysicalMappings();
std::map<int, PPSourceLocation> lineMap = pp->GetLineMap();
std::vector<std::string> errors = pp->GetErrors();
Lexeme macros;
if (pp->PrintMacros())
{
macros = pp->DoPrintMacros();
}
Strings strings = pp->GetStrings();
return std::unique_ptr<PPResult>(new PPResult(std::move(fileNames), std::move(strings), std::move(mappings), std::move(lineMap), resultText, std::move(errors), macros));
}
}
catch (const std::exception& ex)
{
pp->AddProcessedHeader(fileName);
pp->AddError(pp->FileName() + ":" + std::to_string(pp->GetLineIndex() + 1) + ": " + ex.what());
pp->PopFileName();
pp->DecLevel();
}
return std::unique_ptr<PPResult>();
}
void InitPP()
{
PPTokenToTextTokenMap::Init();
TextTokenToCppTokenMap::Init();
}
void DonePP()
{
TextTokenToCppTokenMap::Done();
PPTokenToTextTokenMap::Done();
}
} // namespace sngcpp::pp
| [
"slaakko@gmail.com"
] | slaakko@gmail.com |
d1e2b0a6c2527297c9864e032a67df084d1ad8dd | 45364deefe009a0df9e745a4dd4b680dcedea42b | /SDK/FSD_Bar_Glass_Physics_DarkMorkite_parameters.hpp | 2cd828ec82288c2926fa5b1b3132ac323ea72d38 | [] | no_license | RussellJerome/DeepRockGalacticSDK | 5ae9b59c7324f2a97035f28545f92773526ed99e | f13d9d8879a645c3de89ad7dc6756f4a7a94607e | refs/heads/master | 2022-11-26T17:55:08.185666 | 2020-07-26T21:39:30 | 2020-07-26T21:39:30 | 277,796,048 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 377 | hpp | #pragma once
// DeepRockGalactic SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "FSD_Bar_Glass_Physics_DarkMorkite_classes.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Parameters
//---------------------------------------------------------------------------
}
#ifdef _MSC_VER
#pragma pack(pop)
#endif
| [
"darkmanvoo@gmail.com"
] | darkmanvoo@gmail.com |
da894b8e7f014553cecb74e7a901403c9192f6de | b7f3edb5b7c62174bed808079c3b21fb9ea51d52 | /ash/system/accessibility/accessibility_feature_disable_dialog.h | bb630f814aeb3b272987077222af76ebad06830b | [
"BSD-3-Clause"
] | permissive | otcshare/chromium-src | 26a7372773b53b236784c51677c566dc0ad839e4 | 64bee65c921db7e78e25d08f1e98da2668b57be5 | refs/heads/webml | 2023-03-21T03:20:15.377034 | 2020-11-16T01:40:14 | 2020-11-16T01:40:14 | 209,262,645 | 18 | 21 | BSD-3-Clause | 2023-03-23T06:20:07 | 2019-09-18T08:52:07 | null | UTF-8 | C++ | false | false | 1,681 | h | // Copyright (c) 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef ASH_SYSTEM_ACCESSIBILITY_ACCESSIBILITY_FEATURE_DISABLE_DIALOG_H_
#define ASH_SYSTEM_ACCESSIBILITY_ACCESSIBILITY_FEATURE_DISABLE_DIALOG_H_
#include "base/callback.h"
#include "base/macros.h"
#include "base/memory/weak_ptr.h"
#include "base/strings/string16.h"
#include "ui/views/window/dialog_delegate.h"
namespace ash {
// Defines a dialog for accessibility features that require confirmation from
// users prior to being disabled. For features like automatic clicks and switch
// access, accidentally disabling the feature could cause users to be unable to
// use their devices.
class AccessibilityFeatureDisableDialog : public views::DialogDelegateView {
public:
AccessibilityFeatureDisableDialog(int window_title_text_id,
int dialog_text_id,
base::OnceClosure on_accept_callback,
base::OnceClosure on_cancel_callback);
~AccessibilityFeatureDisableDialog() override;
// views::DialogDelegateView:
ui::ModalType GetModalType() const override;
base::WeakPtr<AccessibilityFeatureDisableDialog> GetWeakPtr();
// views::View:
const char* GetClassName() const override;
private:
base::OnceClosure on_cancel_callback_;
base::WeakPtrFactory<AccessibilityFeatureDisableDialog> weak_ptr_factory_{
this};
DISALLOW_COPY_AND_ASSIGN(AccessibilityFeatureDisableDialog);
};
} // namespace ash
#endif // ASH_SYSTEM_ACCESSIBILITY_ACCESSIBILITY_FEATURE_DISABLE_DIALOG_H_
| [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
ce4b3a39f71dac11ced41cf78134efddb284be54 | 7dad87bd5b800708fc89ea1944150ceb0a12c2ad | /sources/utils/date-time/timer.hxx | 1f6dea642351a7a1bdb770d9aba36b675a3c5e30 | [] | no_license | 0x414c/cxx-snippets | 257ee9439f2194eeab07c47cff2e50f201d61241 | deb6f0d17bf442e7c1841fae8a3584b4fedb8f24 | refs/heads/master | 2021-12-15T19:58:21.536945 | 2019-05-18T21:15:00 | 2019-05-18T21:15:00 | 83,226,531 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,845 | hxx | #ifndef UTILS_DATETIME_TIMER_HXX
#define UTILS_DATETIME_TIMER_HXX
#include <chrono> // std::chrono::steady_clock
#include "../config/timer.hxx" // Config::Utils::Timer::Default_description
#include "../containers/c-string.hxx" // CString
#include "../misc/bool-flag.hxx" // BoolFlag
#include "../preproc/paste.hxx" // PASTE_E
namespace Utils
{
/**
* @brief Measures execution time using high resolution clock.
* Logs elapsed time on destruction (in automatic mode only).
* TODO: [0;1] `clock_type' as a template parameter.
* TODO: [1;1] Split to two classes: manual & automatic.
* TODO: [1;2] Add file & line to the description.
*/
class Timer final
{
public:
/**
* @brief
*/
using clock_type = std::chrono::steady_clock;
private:
/**
* @brief
*/
using self_type = Timer;
public:
/**
* @brief
*/
using is_automatic_flag = BoolFlag <self_type>;
public:
/**
* @brief
* @return
*/
Timer ();
/**
* @brief
* @param that
* @return
*/
Timer (const self_type & that [[maybe_unused]]) = default;
/**
* @brief
* @param that
* @return
*/
Timer (self_type && that [[maybe_unused]]) = default;
/**
* @brief
* @param description
* @return
*/
explicit Timer (const CString & description);
/**
* @brief
* @param is_automatic
*/
explicit Timer (is_automatic_flag is_automatic);
/**
* @brief
* @param description
* @param is_automatic
* @return
*/
explicit Timer (const CString & description, is_automatic_flag is_automatic);
/**
* @brief
*/
~ Timer ();
/**
* @brief
* @return
*/
[[nodiscard]] const CString &
description () const noexcept;
/**
* @brief
* @return
*/
[[nodiscard]] bool
isAutomatic () const noexcept;
/**
* @brief
* @return
*/
[[nodiscard]] clock_type::time_point
timeStarted () const;
/**
* @brief
* @return
*/
[[nodiscard]] clock_type::time_point
timeStopped () const;
/**
* @brief
* @return
*/
[[nodiscard]] clock_type::duration
timeElapsed () const;
/**
* @brief
*/
void
logTimeElapsed () const;
/**
* @brief
*/
void
start ();
/**
* @brief
*/
void
stop ();
/**
* @brief
* @param that
* @return
*/
self_type &
operator = (const self_type & that [[maybe_unused]]) noexcept = default;
/**
* @brief
* @param that
* @return
*/
self_type &
operator = (self_type && that [[maybe_unused]]) noexcept = default;
private:
/**
* @brief
* @param time_started
*/
void
timeStarted_ (clock_type::time_point time_started);
/**
* @brief
* @param time_started
*/
void
timeStopped_ (clock_type::time_point time_stopped);
/**
* @brief
*/
void
initialize_ ();
/**
* @brief
*/
const CString description_ { Config::Utils::Timer::Default_description };
/**
* @brief
*/
const bool is_automatic_ { true };
/**
* @brief
*/
clock_type::time_point time_started_;
/**
* @brief
*/
clock_type::time_point time_stopped_;
};
}
#ifdef WITH_TIMERS
/**
* @brief
*/
#define TIMER_AUTO() const ::Utils::Timer (PASTE_E (timer_, __COUNTER__)) (__PRETTY_FUNCTION__)
/**
* @brief
*/
#define TIMER_CREATE(id, description) \
::Utils::Timer (PASTE_E (timer_, id)) ((description), ::Utils::Timer::is_automatic_flag (false))
/**
* @brief
*/
#define TIMER_START(id) \
do \
{ \
(PASTE_E (timer_, id)).start (); \
} \
while (false)
/**
* @brief
*/
#define TIMER_STOP(id) \
do \
{ \
(PASTE_E (timer_, id)).stop (); \
(PASTE_E (timer_, id)).logTimeElapsed (); \
} \
while (false)
#define TIMER_WRAP(id, description, ...) \
do \
{ \
TIMER_CREATE (id, (description)); \
TIMER_START (id); \
__VA_ARGS__ \
TIMER_STOP (id); \
} \
while (false)
#else // WITH_TIMERS
#define TIMER_AUTO() (void (0))
#define TIMER_CREATE(id, description) (void (0))
#define TIMER_START(id) do { } while (false)
#define TIMER_STOP(id) do { } while (false)
#define TIMER_WRAP(id, description, ...) \
do \
{ \
__VA_ARGS__ \
} \
while (false)
#endif // WITH_TIMERS
#endif // UTILS_DATETIME_TIMER_HXX
| [
"0x414c@gmail.com"
] | 0x414c@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.