hexsha stringlengths 40 40 | size int64 7 1.05M | ext stringclasses 13
values | lang stringclasses 1
value | max_stars_repo_path stringlengths 4 269 | max_stars_repo_name stringlengths 5 109 | max_stars_repo_head_hexsha stringlengths 40 40 | max_stars_repo_licenses listlengths 1 9 | max_stars_count int64 1 191k ⌀ | max_stars_repo_stars_event_min_datetime stringlengths 24 24 ⌀ | max_stars_repo_stars_event_max_datetime stringlengths 24 24 ⌀ | max_issues_repo_path stringlengths 4 269 | max_issues_repo_name stringlengths 5 116 | max_issues_repo_head_hexsha stringlengths 40 40 | max_issues_repo_licenses listlengths 1 9 | max_issues_count int64 1 48.5k ⌀ | max_issues_repo_issues_event_min_datetime stringlengths 24 24 ⌀ | max_issues_repo_issues_event_max_datetime stringlengths 24 24 ⌀ | max_forks_repo_path stringlengths 4 269 | max_forks_repo_name stringlengths 5 116 | max_forks_repo_head_hexsha stringlengths 40 40 | max_forks_repo_licenses listlengths 1 9 | max_forks_count int64 1 105k ⌀ | max_forks_repo_forks_event_min_datetime stringlengths 24 24 ⌀ | max_forks_repo_forks_event_max_datetime stringlengths 24 24 ⌀ | content stringlengths 7 1.05M | avg_line_length float64 1.21 330k | max_line_length int64 6 990k | alphanum_fraction float64 0.01 0.99 | author_id stringlengths 2 40 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
02fc95e3cea8a231e4a671dc436ae739305c3b60 | 20,264 | cc | C++ | hmm_forward_backward.cc | Thomas1205/RegAligner | 2c410c124e844c60af9bd7019ef1a78199893f46 | [
"IBM-pibs"
] | 2 | 2016-02-29T07:31:13.000Z | 2017-02-23T19:02:46.000Z | hmm_forward_backward.cc | Thomas1205/RegAligner | 2c410c124e844c60af9bd7019ef1a78199893f46 | [
"IBM-pibs"
] | null | null | null | hmm_forward_backward.cc | Thomas1205/RegAligner | 2c410c124e844c60af9bd7019ef1a78199893f46 | [
"IBM-pibs"
] | null | null | null | /*** written by Thomas Schoenemann as a private person, since March 2013 ****/
#include "hmm_forward_backward.hh"
void calculate_scaled_hmm_forward(const Storage1D<uint>& source, const Storage1D<uint>& target, const SingleLookupTable& slookup,
const SingleWordDictionary& dict, const Math2D::Matrix<double>& align_model,
const Math1D::Vector<double>& start_prob, Math2D::Matrix<double>& forward,
Math1D::Vector<long double>& scale)
{
const uint I = target.size();
const uint J = source.size();
assert(forward.xDim() >= 2 * I);
assert(forward.yDim() >= J);
assert(scale.size() >= J);
const uint start_s_idx = source[0];
double max_entry = 0.0;
for (uint i = 0; i < I; i++) {
const double start_align_prob =
(start_prob.size() == 0) ? 1.0 / (2 * I) : start_prob[i];
forward(i, 0) = start_align_prob * dict[target[i]][slookup(0, i)];
if (forward(i, 0) > max_entry)
max_entry = forward(i, 0);
}
for (uint i = I; i < 2 * I; i++) {
const double start_align_prob = (start_prob.size() == 0) ? 1.0 / (2 * I) : start_prob[i];
forward(i, 0) = start_align_prob * dict[0][start_s_idx - 1];
if (forward(i, 0) > max_entry)
max_entry = forward(i, 0);
}
for (uint i = 0; i < 2 * I; i++)
forward(i, 0) /= max_entry;
scale[0] = max_entry;
for (uint j = 1; j < J; j++) {
const uint j_prev = j - 1;
const uint s_idx = source[j];
double max_entry = 0.0;
for (uint i = 0; i < I; i++) {
double sum = 0.0;
for (uint i_prev = 0; i_prev < I; i_prev++)
sum += align_model(i, i_prev) * (forward(i_prev, j_prev) + forward(i_prev + I, j_prev));
forward(i, j) = sum * dict[target[i]][slookup(j, i)];
if (forward(i, j) > max_entry)
max_entry = forward(i, j);
}
const double cur_emptyword_prob = dict[0][s_idx - 1];
for (uint i = I; i < 2 * I; i++) {
const double sum = align_model(I, i - I) * (forward(i, j_prev) + forward(i - I, j_prev));
forward(i, j) = sum * cur_emptyword_prob;
if (forward(i, j) > max_entry)
max_entry = forward(i, j);
}
for (uint i = 0; i < 2 * I; i++)
forward(i, 0) /= max_entry;
scale[j] = scale[j - 1] * max_entry;
}
}
double calculate_hmm_forward_log_sum(const Storage1D<uint>& source_sentence, const Storage1D<uint>& target_sentence,
const SingleLookupTable& slookup, const SingleWordDictionary& dict,
const Math2D::Matrix<double>& align_model, const Math1D::Vector<double>& start_prob,
const HmmAlignProbType align_type, bool start_empty_word, int redpar_limit)
{
const uint I = target_sentence.size();
const uint J = source_sentence.size();
Math2D::Matrix<double> dicttab(J,I+1);
compute_dictmat(source_sentence, slookup, target_sentence, dict, dicttab);
if (start_empty_word && align_type == HmmAlignProbReducedpar)
return calculate_sehmm_forward_log_sum_with_tricks(dicttab, align_model, start_prob, redpar_limit);
else if (start_empty_word)
return calculate_sehmm_forward_log_sum(dicttab, align_model, start_prob);
else if (align_type == HmmAlignProbReducedpar)
return calculate_hmm_forward_log_sum_with_tricks(dicttab, align_model, start_prob, redpar_limit);
else
return calculate_hmm_forward_log_sum(dicttab, align_model, start_prob);
}
double calculate_hmm_forward_log_sum(const Math2D::Matrix<double>& dict, const Math2D::Matrix<double>& align_model,
const Math1D::Vector<double>& start_prob)
{
const uint I = dict.yDim()-1;
const uint J = dict.xDim();
assert(start_prob.size() == 2*I);
Math1D::Vector<double> forward[2];
forward[0].resize(2 * I);
forward[1].resize(2 * I);
/*** init ***/
for (uint i = 0; i < I; i++) {
const double start_align_prob = (start_prob.size() == 0) ? 1.0 / (2 * I) : start_prob[i];
forward[0][i] = start_align_prob * dict(0,i);
}
for (uint i = I; i < 2 * I; i++) {
const double start_align_prob = (start_prob.size() == 0) ? 1.0 / (2 * I) : start_prob[i];
forward[0][i] = start_align_prob * dict(0,I);
}
double scale = forward[0].max();
double log_sum = std::log(scale);
forward[0] *= 1.0 / scale;
/*** proceed ***/
uint cur_idx = 0;
for (uint j = 1; j < J; j++) {
const Math1D::Vector<double>& prev_forward = forward[cur_idx];
cur_idx = 1 - cur_idx;
Math1D::Vector<double>& cur_forward = forward[cur_idx];
for (uint i = 0; i < I; i++) {
double sum = 0.0;
for (uint i_prev = 0; i_prev < I; i_prev++)
sum += align_model(i, i_prev) * (prev_forward[i_prev] + prev_forward[i_prev + I]);
cur_forward[i] = sum * dict(j,i);
}
const double cur_emptyword_prob = dict(j,I);
for (uint i = I; i < 2 * I; i++) {
const double sum = align_model(I, i - I) * (prev_forward[i] + prev_forward[i - I]);
cur_forward[i] = sum * cur_emptyword_prob;
}
double scale = cur_forward.max();
log_sum += std::log(scale);
cur_forward *= 1.0 / scale;
}
return log_sum + std::log(forward[cur_idx].sum());
}
double calculate_sehmm_forward_log_sum(const Math2D::Matrix<double>& dict, const Math2D::Matrix<double>& align_model, const Math1D::Vector<double>& start_prob)
{
const uint I = dict.yDim()-1;
const uint J = dict.xDim();
assert(start_prob.size() > I);
Math1D::Vector<double> forward[2];
forward[0].resize(2 * I + 1, 0.0);
forward[1].resize(2 * I + 1);
/*** init ***/
for (uint i = 0; i < I; i++) {
const double start_align_prob = start_prob[i];
forward[0][i] = start_align_prob * dict(0,i);
}
const double start_align_prob = start_prob[I];
forward[0][2*I] = start_align_prob * dict(0,I);
double scale = forward[0].max();
double log_sum = std::log(scale);
forward[0] *= 1.0 / scale;
/*** proceed ***/
uint cur_idx = 0;
for (uint j = 1; j < J; j++) {
const Math1D::Vector<double>& prev_forward = forward[cur_idx];
cur_idx = 1 - cur_idx;
Math1D::Vector<double>& cur_forward = forward[cur_idx];
for (uint i = 0; i < I; i++) {
double sum = 0.0;
for (uint i_prev = 0; i_prev < I; i_prev++)
sum += align_model(i, i_prev) * (prev_forward[i_prev] + prev_forward[i_prev + I]);
sum += prev_forward[2 * I] * start_prob[i];
cur_forward[i] = sum * dict(j,i);
assert(!isnan(cur_forward[i]));
}
const double cur_emptyword_prob = dict(j,I);
for (uint i = I; i < 2 * I; i++) {
double sum = align_model(I, i - I) * (prev_forward[i] + prev_forward[i - I]);
cur_forward[i] = sum * cur_emptyword_prob;
}
//initial empty word
cur_forward[2 * I] = prev_forward[2 * I] * start_prob[I] * cur_emptyword_prob;
double scale = cur_forward.max();
log_sum += std::log(scale);
cur_forward *= 1.0 / scale;
}
return log_sum + std::log(forward[cur_idx].sum());
}
double calculate_hmm_forward_log_sum(const Storage1D<uint>& source, const Storage1D<uint>& target, const SingleLookupTable& slookup,
const Storage1D<uint>& tclass, const SingleWordDictionary& dict, const Math3D::Tensor<double>& align_model,
const Math1D::Vector<double>& start_prob)
{
const uint I = target.size();
const uint J = source.size();
Math1D::Vector<double> forward[2];
forward[0].resize(2 * I);
forward[1].resize(2 * I);
assert(start_prob.size() == 2*I);
/*** init ***/
const uint start_s_idx = source[0];
for (uint i = 0; i < I; i++) {
const double start_align_prob = (start_prob.size() == 0) ? 1.0 / (2 * I) : start_prob[i];
forward[0][i] = start_align_prob * dict[target[i]][slookup(0, i)];
}
for (uint i = I; i < 2 * I; i++) {
const double start_align_prob = (start_prob.size() == 0) ? 1.0 / (2 * I) : start_prob[i];
forward[0][i] = start_align_prob * dict[0][start_s_idx - 1];
}
double scale = forward[0].max();
double log_sum = std::log(scale);
forward[0] *= 1.0 / scale;
/*** proceed ***/
uint cur_idx = 0;
for (uint j = 1; j < J; j++) {
const Math1D::Vector<double>& prev_forward = forward[cur_idx];
cur_idx = 1 - cur_idx;
Math1D::Vector<double>& cur_forward = forward[cur_idx];
const uint s_idx = source[j];
for (uint i = 0; i < I; i++) {
double sum = 0.0;
for (uint i_prev = 0; i_prev < I; i_prev++)
sum += align_model(i, i_prev, tclass[i_prev]) * (prev_forward[i_prev] + prev_forward[i_prev + I]);
cur_forward[i] = sum * dict[target[i]][slookup(j, i)];
}
const double cur_emptyword_prob = dict[0][s_idx - 1];
for (uint i = I; i < 2 * I; i++) {
const double sum = align_model(I, i - I, tclass[i - I]) * (prev_forward[i] + prev_forward[i - I]);
cur_forward[i] = sum * cur_emptyword_prob;
}
double scale = cur_forward.max();
log_sum += std::log(scale);
cur_forward *= 1.0 / scale;
}
return log_sum + std::log(forward[cur_idx].sum());
}
double calculate_hmm_forward_log_sum_with_tricks(const Math2D::Matrix<double>& dict, const Math2D::Matrix<double>& align_model,
const Math1D::Vector<double>& start_prob, int redpar_limit)
{
const int I = dict.yDim()-1;
const int J = dict.xDim();
Math1D::Vector<double> long_dist_align_prob(I, 0.0);
for (int i = 0; i < I; i++) {
if (i + redpar_limit + 1 < I)
long_dist_align_prob[i] = align_model(i + redpar_limit + 1, i);
else if (i - redpar_limit > 0)
long_dist_align_prob[i] = align_model(i - redpar_limit - 1, i);
}
Math1D::Vector<double> forward[2];
forward[0].resize(2 * I);
forward[1].resize(2 * I);
double log_sum = 0.0;
/*** init ***/
for (int i = 0; i < I; i++) {
const double start_align_prob = (start_prob.size() == 0) ? 1.0 / (2 * I) : start_prob[i];
forward[0][i] = start_align_prob * dict(0,i);
}
for (int i = I; i < 2 * I; i++) {
const double start_align_prob = (start_prob.size() == 0) ? 1.0 / (2 * I) : start_prob[i];
forward[0][i] = start_align_prob * dict(0,I);
}
double scale = forward[0].max();
log_sum = std::log(scale);
forward[0] *= 1.0 / scale;
/*** proceed ***/
uint cur_idx = 0;
for (int j = 1; j < J; j++) {
const Math1D::Vector<double>& prev_forward = forward[cur_idx];
cur_idx = 1 - cur_idx;
Math1D::Vector<double>& cur_forward = forward[cur_idx];
//NOTE: we are exploiting here that p(i|i_prev) does not depend on i for
// the considered i_prev's. But it DOES depend on i_prev
/*** 1. real words ***/
double prev_distant_sum = 0.0;
for (int i_prev = redpar_limit + 1; i_prev < I; i_prev++)
prev_distant_sum += (prev_forward[i_prev] + prev_forward[i_prev + I]) * long_dist_align_prob[i_prev];
{
//i=0
double sum = 0.0;
for (int i_prev = 0; i_prev <= std::min(I - 1, redpar_limit); i_prev++) {
sum += align_model(0, i_prev) * (prev_forward[i_prev] + prev_forward[i_prev + I]);
}
sum += prev_distant_sum;
cur_forward[0] = sum * dict(j,0);
}
for (int i = 1; i < I; i++) {
if (i + redpar_limit < I)
prev_distant_sum -= (prev_forward[i + redpar_limit] + prev_forward[i + redpar_limit + I]) * long_dist_align_prob[i + redpar_limit];
if (i - redpar_limit > 0)
prev_distant_sum += (prev_forward[i - redpar_limit - 1] + prev_forward[i - redpar_limit - 1 + I]) * long_dist_align_prob[i - redpar_limit - 1];
double sum = 0.0;
for (int i_prev = std::max(0, i - redpar_limit); i_prev <= std::min(I - 1, i + redpar_limit); i_prev++) {
sum += align_model(i, i_prev) * (prev_forward[i_prev] + prev_forward[i_prev + I]);
}
sum += prev_distant_sum;
//stability issues may arise here:
if (sum <= 0.0) {
sum = 0.0;
for (int i_prev = std::max(0, i - redpar_limit); i_prev <= std::min(I - 1, i + redpar_limit); i_prev++)
sum += align_model(i, i_prev) * (prev_forward[i_prev] + prev_forward[i_prev + I]);
}
cur_forward[i] = sum * dict(j,i);
}
/*** 2. empty words ***/
const double cur_emptyword_prob = dict(j,I);
for (int i = I; i < 2 * I; i++) {
const double sum = align_model(I, i - I) * (prev_forward[i] + prev_forward[i - I]);
cur_forward[i] = sum * cur_emptyword_prob;
}
scale = cur_forward.max();
log_sum += std::log(scale);
cur_forward *= 1.0 / scale;
}
return log_sum + std::log(forward[cur_idx].sum());
}
double calculate_sehmm_forward_log_sum_with_tricks(const Math2D::Matrix<double>& dict, const Math2D::Matrix<double>& align_model,
const Math1D::Vector<double>& start_prob, int redpar_limit)
{
const int I = dict.yDim()-1;
const int J = dict.xDim();
Math1D::Vector<double> long_dist_align_prob(I, 0.0);
for (int i = 0; i < I; i++) {
if (i + redpar_limit + 1 < I)
long_dist_align_prob[i] = align_model(i + redpar_limit + 1, i);
else if (i - redpar_limit > 0)
long_dist_align_prob[i] = align_model(i - redpar_limit - 1, i);
}
Math1D::Vector<double> forward[2];
forward[0].resize(2 * I + 1, 0.0);
forward[1].resize(2 * I + 1);
assert(start_prob.size() == I+1);
/*** init ***/
for (uint i = 0; i < I; i++) {
const double start_align_prob = start_prob[i];
forward[0][i] = start_align_prob * dict(0, i);
}
const double start_align_prob = start_prob[I];
forward[0][2*I] = start_align_prob * dict(0, I);
double scale = forward[0].max();
double log_sum = std::log(scale);
forward[0] *= 1.0 / scale;
/*** proceed ***/
uint cur_idx = 0;
for (uint j = 1; j < J; j++) {
const Math1D::Vector<double>& prev_forward = forward[cur_idx];
cur_idx = 1 - cur_idx;
Math1D::Vector<double>& cur_forward = forward[cur_idx];
/*** 1. real words ***/
double prev_distant_sum = 0.0;
for (int i_prev = redpar_limit + 1; i_prev < I; i_prev++)
prev_distant_sum += (prev_forward[i_prev] + prev_forward[i_prev + I]) * long_dist_align_prob[i_prev];
{
//i=0
double sum = 0.0;
for (int i_prev = 0; i_prev <= std::min(I - 1, redpar_limit); i_prev++) {
sum += align_model(0, i_prev) * (prev_forward[i_prev] + prev_forward[i_prev + I]);
}
sum += prev_distant_sum + prev_forward[2 * I] * start_prob[0];
cur_forward[0] = sum * dict(j,0);
}
for (int i = 1; i < I; i++) {
if (i + redpar_limit < I)
prev_distant_sum -= (prev_forward[i + redpar_limit] + prev_forward[i + redpar_limit + I]) * long_dist_align_prob[i + redpar_limit];
if (i - redpar_limit > 0)
prev_distant_sum += (prev_forward[i - redpar_limit - 1] + prev_forward[i - redpar_limit - 1 + I]) * long_dist_align_prob[i - redpar_limit - 1];
double sum = 0.0;
for (int i_prev = std::max(0, i - redpar_limit); i_prev <= std::min(I - 1, i + redpar_limit); i_prev++) {
sum += align_model(i, i_prev) * (prev_forward[i_prev] + prev_forward[i_prev + I]);
}
sum += prev_distant_sum + prev_forward[2 * I] * start_prob[i];
//stability issues may arise here:
if (sum <= 0.0) {
sum = 0.0;
for (int i_prev = std::max(0, i - redpar_limit); i_prev <= std::min(I - 1, i + redpar_limit); i_prev++)
sum += align_model(i, i_prev) * (prev_forward[i_prev] + prev_forward[i_prev + I]);
sum += prev_forward[2 * I] * start_prob[i];
}
cur_forward[i] = sum * dict(j,i);
}
/*** 2. empty words ***/
const double cur_emptyword_prob = dict(j, I);
for (int i = I; i < 2 * I; i++) {
const double sum = align_model(I, i - I) * (prev_forward[i] + prev_forward[i - I]);
cur_forward[i] = sum * cur_emptyword_prob;
}
//initial empty word
cur_forward[2 * I] = prev_forward[2 * I] * start_prob[I] * cur_emptyword_prob;
scale = cur_forward.max();
log_sum += std::log(scale);
cur_forward *= 1.0 / scale;
}
return log_sum + std::log(forward[cur_idx].sum());
}
double calculate_sehmm_forward_log_sum(const Storage1D<uint>& source, const Storage1D<uint>& target,
const SingleLookupTable& slookup, const Storage1D<uint>& tclass,
const SingleWordDictionary& dict, const Math3D::Tensor<double>& align_model,
const Math1D::Vector<double>& start_prob)
{
const uint I = target.size();
const uint J = source.size();
Math1D::Vector<double> forward[2];
forward[0].resize(2 * I + 1, 0.0);
forward[1].resize(2 * I + 1);
assert(start_prob.size() == I+1);
/*** init ***/
const uint start_s_idx = source[0];
for (uint i = 0; i < I; i++) {
const double start_align_prob = start_prob[i];
forward[0][i] = start_align_prob * dict[target[i]][slookup(0, i)];
}
const double start_align_prob = start_prob[I];
forward[0][2*I] = start_align_prob * dict[0][start_s_idx - 1];
double scale = forward[0].max();
double log_sum = std::log(scale);
forward[0] *= 1.0 / scale;
/*** proceed ***/
uint cur_idx = 0;
for (uint j = 1; j < J; j++) {
const Math1D::Vector<double>& prev_forward = forward[cur_idx];
cur_idx = 1 - cur_idx;
Math1D::Vector<double>& cur_forward = forward[cur_idx];
const uint s_idx = source[j];
for (uint i = 0; i < I; i++) {
double sum = 0.0;
for (uint i_prev = 0; i_prev < I; i_prev++)
sum += align_model(i, i_prev, tclass[i_prev]) * (prev_forward[i_prev] + prev_forward[i_prev + I]);
sum += prev_forward[2 * I] * start_prob[i];
cur_forward[i] = sum * dict[target[i]][slookup(j, i)];
}
const double cur_emptyword_prob = dict[0][s_idx - 1];
for (uint i = I; i < 2 * I; i++) {
const double sum = align_model(I, i - I, tclass[i - I]) * (prev_forward[i] + prev_forward[i - I]);
cur_forward[i] = sum * cur_emptyword_prob;
}
//initial empty word
cur_forward[2 * I] = prev_forward[2 * I] * start_prob[I] * cur_emptyword_prob;
double scale = cur_forward.max();
log_sum += std::log(scale);
cur_forward *= 1.0 / scale;
}
return log_sum + std::log(forward[cur_idx].sum());
}
void calculate_scaled_hmm_backward(const Storage1D<uint>& source, const Storage1D<uint>& target, const SingleLookupTable& slookup,
const SingleWordDictionary& dict, const Math2D::Matrix<double>& align_model,
const Math1D::Vector<double>& /*start_prob */, Math2D::Matrix<double>& backward,
Math1D::Vector<long double>& scale)
{
const uint I = target.size();
const uint J = source.size();
assert(backward.xDim() >= 2 * I);
assert(backward.yDim() >= J);
assert(scale.size() >= J);
const uint end_s_idx = source[J - 1];
double max_entry = 0.0;
for (uint i = 0; i < I; i++) {
backward(i, J - 1) = dict[target[i]][slookup(J - 1, i)];
if (max_entry < backward(i, J - 1))
max_entry = backward(i, J - 1);
}
for (uint i = I; i < 2 * I; i++) {
backward(i, J - 1) = dict[0][end_s_idx - 1];
if (max_entry < backward(i, J - 1))
max_entry = backward(i, J - 1);
}
scale[J - 1] = max_entry;
for (uint i = 0; i < 2 * I; i++)
backward(i, J - 1) /= max_entry;
for (int j = J - 2; j >= 0; j--) {
const uint s_idx = source[j];
const uint j_next = j + 1;
const double cur_emptyword_prob = dict[0][s_idx - 1];
double max_entry = 0.0;
for (uint i = 0; i < I; i++) {
double sum = 0.0;
for (uint i_next = 0; i_next < I; i_next++)
sum += backward(i_next, j_next) * align_model(i_next, i);
sum += backward(i + I, j_next) * align_model(I, i);
backward(i, j) = sum * dict[target[i]][slookup(j, i)];
if (backward(i, j) > max_entry)
max_entry = backward(i, j);
backward(i + I, j) = sum * cur_emptyword_prob;
if (backward(i + I, j) > max_entry)
max_entry = backward(i + I, j);
}
for (uint i = 0; i < 2 * I; i++)
backward(i, j) /= max_entry;
scale[j] = scale[j + 1] * max_entry;
}
}
| 29.976331 | 159 | 0.590999 | Thomas1205 |
02ff663b098321fc06355609c1069ba2de486854 | 1,125 | cpp | C++ | bin/eventloop/EventLoop.cpp | CharmsGraker/ReinforceTinyWebServer | 6df770eb3e2b35c0f884ba20e04784d5eaea089b | [
"Apache-2.0"
] | 1 | 2022-01-04T11:38:15.000Z | 2022-01-04T11:38:15.000Z | bin/eventloop/EventLoop.cpp | CharmsGraker/ReinforceTinyWebServer | 6df770eb3e2b35c0f884ba20e04784d5eaea089b | [
"Apache-2.0"
] | null | null | null | bin/eventloop/EventLoop.cpp | CharmsGraker/ReinforceTinyWebServer | 6df770eb3e2b35c0f884ba20e04784d5eaea089b | [
"Apache-2.0"
] | null | null | null | #include "EventLoop.h"
#include "../channel__/channel.h"
#include "../poller/Poller.h"
__thread EventLoop *t_loopInThisThread = 0;
EventLoop::EventLoop() : looping_(false),
threadId_(Thread::getCurrentThread()) {
if (t_loopInThisThread) {
std::cerr << "another EventLoop has bind on thread: " << threadId_ << "at " << this;
} else {
t_loopInThisThread = this;
}
}
EventLoop::~EventLoop() {
assert(!looping_);
t_loopInThisThread = nullptr;
}
void EventLoop::loop() {
assert(!looping_);
assertInLoopThread();
looping_ = true;
quit_ = false;
while (!quit_) {
activeChannels_.clear();
poller_->poll(kPollTimeMs,&activeChannels_);
for (channel_list_iter it = activeChannels_.begin(); it != activeChannels_.end(); ++it) {
(*it)->handleEvent();
}
}
looping_ = false;
}
EventLoop *
EventLoop::getCurrentEventLoop() {
return t_loopInThisThread;
}
void
EventLoop::quit() {
quit_ = false;
}
void
EventLoop::updateChannel(Channel *channel) {
return poller_->updateChannel(channel);
} | 22.058824 | 97 | 0.625778 | CharmsGraker |
f301ca850abd47ec3a6a4c2383e951bf99e3a5e5 | 6,483 | cpp | C++ | aws-cpp-sdk-customer-profiles/source/model/MarketoConnectorOperator.cpp | perfectrecall/aws-sdk-cpp | fb8cbebf2fd62720b65aeff841ad2950e73d8ebd | [
"Apache-2.0"
] | 1 | 2022-02-12T08:09:30.000Z | 2022-02-12T08:09:30.000Z | aws-cpp-sdk-customer-profiles/source/model/MarketoConnectorOperator.cpp | perfectrecall/aws-sdk-cpp | fb8cbebf2fd62720b65aeff841ad2950e73d8ebd | [
"Apache-2.0"
] | 1 | 2022-01-03T23:59:37.000Z | 2022-01-03T23:59:37.000Z | aws-cpp-sdk-customer-profiles/source/model/MarketoConnectorOperator.cpp | ravindra-wagh/aws-sdk-cpp | 7d5ff01b3c3b872f31ca98fb4ce868cd01e97696 | [
"Apache-2.0"
] | 1 | 2021-12-30T04:25:33.000Z | 2021-12-30T04:25:33.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/customer-profiles/model/MarketoConnectorOperator.h>
#include <aws/core/utils/HashingUtils.h>
#include <aws/core/Globals.h>
#include <aws/core/utils/EnumParseOverflowContainer.h>
using namespace Aws::Utils;
namespace Aws
{
namespace CustomerProfiles
{
namespace Model
{
namespace MarketoConnectorOperatorMapper
{
static const int PROJECTION_HASH = HashingUtils::HashString("PROJECTION");
static const int LESS_THAN_HASH = HashingUtils::HashString("LESS_THAN");
static const int GREATER_THAN_HASH = HashingUtils::HashString("GREATER_THAN");
static const int BETWEEN_HASH = HashingUtils::HashString("BETWEEN");
static const int ADDITION_HASH = HashingUtils::HashString("ADDITION");
static const int MULTIPLICATION_HASH = HashingUtils::HashString("MULTIPLICATION");
static const int DIVISION_HASH = HashingUtils::HashString("DIVISION");
static const int SUBTRACTION_HASH = HashingUtils::HashString("SUBTRACTION");
static const int MASK_ALL_HASH = HashingUtils::HashString("MASK_ALL");
static const int MASK_FIRST_N_HASH = HashingUtils::HashString("MASK_FIRST_N");
static const int MASK_LAST_N_HASH = HashingUtils::HashString("MASK_LAST_N");
static const int VALIDATE_NON_NULL_HASH = HashingUtils::HashString("VALIDATE_NON_NULL");
static const int VALIDATE_NON_ZERO_HASH = HashingUtils::HashString("VALIDATE_NON_ZERO");
static const int VALIDATE_NON_NEGATIVE_HASH = HashingUtils::HashString("VALIDATE_NON_NEGATIVE");
static const int VALIDATE_NUMERIC_HASH = HashingUtils::HashString("VALIDATE_NUMERIC");
static const int NO_OP_HASH = HashingUtils::HashString("NO_OP");
MarketoConnectorOperator GetMarketoConnectorOperatorForName(const Aws::String& name)
{
int hashCode = HashingUtils::HashString(name.c_str());
if (hashCode == PROJECTION_HASH)
{
return MarketoConnectorOperator::PROJECTION;
}
else if (hashCode == LESS_THAN_HASH)
{
return MarketoConnectorOperator::LESS_THAN;
}
else if (hashCode == GREATER_THAN_HASH)
{
return MarketoConnectorOperator::GREATER_THAN;
}
else if (hashCode == BETWEEN_HASH)
{
return MarketoConnectorOperator::BETWEEN;
}
else if (hashCode == ADDITION_HASH)
{
return MarketoConnectorOperator::ADDITION;
}
else if (hashCode == MULTIPLICATION_HASH)
{
return MarketoConnectorOperator::MULTIPLICATION;
}
else if (hashCode == DIVISION_HASH)
{
return MarketoConnectorOperator::DIVISION;
}
else if (hashCode == SUBTRACTION_HASH)
{
return MarketoConnectorOperator::SUBTRACTION;
}
else if (hashCode == MASK_ALL_HASH)
{
return MarketoConnectorOperator::MASK_ALL;
}
else if (hashCode == MASK_FIRST_N_HASH)
{
return MarketoConnectorOperator::MASK_FIRST_N;
}
else if (hashCode == MASK_LAST_N_HASH)
{
return MarketoConnectorOperator::MASK_LAST_N;
}
else if (hashCode == VALIDATE_NON_NULL_HASH)
{
return MarketoConnectorOperator::VALIDATE_NON_NULL;
}
else if (hashCode == VALIDATE_NON_ZERO_HASH)
{
return MarketoConnectorOperator::VALIDATE_NON_ZERO;
}
else if (hashCode == VALIDATE_NON_NEGATIVE_HASH)
{
return MarketoConnectorOperator::VALIDATE_NON_NEGATIVE;
}
else if (hashCode == VALIDATE_NUMERIC_HASH)
{
return MarketoConnectorOperator::VALIDATE_NUMERIC;
}
else if (hashCode == NO_OP_HASH)
{
return MarketoConnectorOperator::NO_OP;
}
EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
if(overflowContainer)
{
overflowContainer->StoreOverflow(hashCode, name);
return static_cast<MarketoConnectorOperator>(hashCode);
}
return MarketoConnectorOperator::NOT_SET;
}
Aws::String GetNameForMarketoConnectorOperator(MarketoConnectorOperator enumValue)
{
switch(enumValue)
{
case MarketoConnectorOperator::PROJECTION:
return "PROJECTION";
case MarketoConnectorOperator::LESS_THAN:
return "LESS_THAN";
case MarketoConnectorOperator::GREATER_THAN:
return "GREATER_THAN";
case MarketoConnectorOperator::BETWEEN:
return "BETWEEN";
case MarketoConnectorOperator::ADDITION:
return "ADDITION";
case MarketoConnectorOperator::MULTIPLICATION:
return "MULTIPLICATION";
case MarketoConnectorOperator::DIVISION:
return "DIVISION";
case MarketoConnectorOperator::SUBTRACTION:
return "SUBTRACTION";
case MarketoConnectorOperator::MASK_ALL:
return "MASK_ALL";
case MarketoConnectorOperator::MASK_FIRST_N:
return "MASK_FIRST_N";
case MarketoConnectorOperator::MASK_LAST_N:
return "MASK_LAST_N";
case MarketoConnectorOperator::VALIDATE_NON_NULL:
return "VALIDATE_NON_NULL";
case MarketoConnectorOperator::VALIDATE_NON_ZERO:
return "VALIDATE_NON_ZERO";
case MarketoConnectorOperator::VALIDATE_NON_NEGATIVE:
return "VALIDATE_NON_NEGATIVE";
case MarketoConnectorOperator::VALIDATE_NUMERIC:
return "VALIDATE_NUMERIC";
case MarketoConnectorOperator::NO_OP:
return "NO_OP";
default:
EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
if(overflowContainer)
{
return overflowContainer->RetrieveOverflow(static_cast<int>(enumValue));
}
return {};
}
}
} // namespace MarketoConnectorOperatorMapper
} // namespace Model
} // namespace CustomerProfiles
} // namespace Aws
| 38.360947 | 104 | 0.636434 | perfectrecall |
f3022244771c7d4dccf80f527bdbd98efef6dd7a | 9,878 | cpp | C++ | AliceEngine/ALC/Rendering/UIBatch.cpp | ARAMODODRAGON/Project-Alice | 49d3189ba065911c8495cfb04761a2050d3a0702 | [
"MIT"
] | null | null | null | AliceEngine/ALC/Rendering/UIBatch.cpp | ARAMODODRAGON/Project-Alice | 49d3189ba065911c8495cfb04761a2050d3a0702 | [
"MIT"
] | null | null | null | AliceEngine/ALC/Rendering/UIBatch.cpp | ARAMODODRAGON/Project-Alice | 49d3189ba065911c8495cfb04761a2050d3a0702 | [
"MIT"
] | null | null | null | /*
* MIT License
*
* Copyright (c) 2021 Domara Shlimon
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
#include "UIBatch.hpp"
#include <glew.h>
#include "detail\SpriteShaderSource.hpp"
#include "../SceneManager.hpp"
namespace ALC {
UIBatch::UIBatch()
: m_vao(-1), m_vbo(-1), m_TextureCountLoc(-1), m_bufferSize(0) {
// get the max number of textures per shader
GLint maxtextures = -1;
glGetIntegerv(GL_MAX_TEXTURE_IMAGE_UNITS, &maxtextures);
// make sure our shader is loaded
// set the max texture count
m_defaultShader = detail::GetSpriteShader();
// allocate the texture vector to match the max number
m_textures.reserve(maxtextures);
// allocate some memory for the vertex vector
m_verticies.reserve(100);
// create our VAO
glGenVertexArrays(1, &m_vao);
glBindVertexArray(m_vao);
// create our VBO
glGenBuffers(1, &m_vbo);
glBindBuffer(GL_ARRAY_BUFFER, m_vbo);
glBufferData(GL_ARRAY_BUFFER, 0, nullptr, GL_STREAM_DRAW);
// set the attributes
// set the position to location 0
glEnableVertexAttribArray(0);
glVertexAttribPointer(0, 2, GL_FLOAT, GL_FALSE, sizeof(vertex), (GLvoid*)offsetof(vertex, position));
// set the uvcoords to location 1
glEnableVertexAttribArray(1);
glVertexAttribPointer(1, 2, GL_FLOAT, GL_FALSE, sizeof(vertex), (GLvoid*)offsetof(vertex, uvcoords));
// set the color to location 2
glEnableVertexAttribArray(2);
glVertexAttribPointer(2, 4, GL_FLOAT, GL_FALSE, sizeof(vertex), (GLvoid*)offsetof(vertex, color));
// set the textureIndex to location 3
glEnableVertexAttribArray(3);
glVertexAttribIPointer(3, 1, GL_INT, sizeof(vertex), (GLvoid*)offsetof(vertex, textureIndex));
// unbind
glBindBuffer(GL_ARRAY_BUFFER, 0);
glBindVertexArray(0);
}
UIBatch::~UIBatch() {
glDeleteVertexArrays(1, &m_vao);
glDeleteBuffers(1, &m_vbo);
}
void UIBatch::Begin(Shader shader) {
m_textures.clear();
m_verticies.clear();
// set the shader
Shader currentShader = shader;
if (currentShader == nullptr) currentShader = m_defaultShader;
glUseProgram(currentShader);
// bind vertex array and buffer
glBindVertexArray(m_vao);
glBindBuffer(GL_ARRAY_BUFFER, m_vbo);
// set uniform data
vec2 screensize = SceneManager::GetWindow()->GetScreenSize();
if (m_screensize.x > 0.0f) screensize.x = m_screensize.x;
if (m_screensize.y > 0.0f) screensize.y = m_screensize.y;
mat4 transform = glm::ortho(0.0f, screensize.x, screensize.y, 0.0f);
glUniformMatrix4fv(currentShader.GetUniform("u_transform"), 1, GL_FALSE, &(transform[0].x));
}
void UIBatch::DrawQuad(const rect& position, const vec4& color, const rect& target, const Texture& texture) {
// dont draw
if (NearlyEqual(color.a, 0.0f)) return;
// check if should batch break
uint32 textureindex = TryAddTexture(texture);
if (textureindex == -2) {
DrawCurrent();
m_textures.push_back(texture);
textureindex = 0;
}
vec2 size = texture.GetSize();
if (NearlyZero(size)) size = vec2(1.0f);
// create verticies
vertex verts[4];
// set texture index
verts[0].textureIndex = verts[1].textureIndex
= verts[2].textureIndex = verts[3].textureIndex = textureindex;
// set the positions
/* bottom left */ verts[0].position = position.min;
/* top left */ verts[1].position = vec2(position.left, position.top);
/* top right */ verts[2].position = position.max;
/* bottom right */ verts[3].position = vec2(position.right, position.bottom);
// set color
verts[0].color = verts[1].color
= verts[2].color = verts[3].color = color;
// default uvs
if (NearlyEqual(target.min, target.max)) {
/* bottom left */ verts[0].uvcoords = vec2(0.0f, 0.0f);
/* top left */ verts[1].uvcoords = vec2(0.0f, 1.0f);
/* top right */ verts[2].uvcoords = vec2(1.0f, 1.0f);
/* bottom right */ verts[3].uvcoords = vec2(1.0f, 0.0f);
}
// given uvs
else {
/* bottom left */ verts[0].uvcoords = target.min / size;
/* top left */ verts[1].uvcoords = vec2(target.left, target.top) / size;
/* top right */ verts[2].uvcoords = target.max / size;
/* bottom right */ verts[3].uvcoords = vec2(target.right, target.bottom) / size;
}
// push into vector
m_verticies.push_back(verts[0]);
m_verticies.push_back(verts[1]);
m_verticies.push_back(verts[2]);
m_verticies.push_back(verts[0]);
m_verticies.push_back(verts[2]);
m_verticies.push_back(verts[3]);
// finish
}
void UIBatch::DrawText(const string& text, const Font& font, const vec2& position, const vec4& color, const HAlign hAlign, const VAlign vAlign, const vec2& scale) {
// dont draw
if (NearlyEqual(color.a, 0.0f) || text == "") return;
// font must be valid
if (font == nullptr) {
ALC_DEBUG_WARNING("Font must be valid. Ignoring draw call");
return;
}
// check if should batch break
uint32 textureindex = TryAddTexture(font.GetTexture());
if (textureindex == -2) {
DrawCurrent();
m_textures.push_back(font.GetTexture());
textureindex = 0;
}
// get texture size
const vec2 size = font.GetSize();
// make sure our vector is big enough for all the verticies
m_verticies.reserve(m_verticies.size() + text.size());
// create verticies
vertex verts[4];
// set texture index. subtract 'maxtexturecount' to tell the shader that this is a font
verts[0].textureIndex = verts[1].textureIndex
= verts[2].textureIndex = verts[3].textureIndex = textureindex - detail::GetMaxTextureCount();
// set color
verts[0].color = verts[1].color
= verts[2].color = verts[3].color = color;
vector<float> offsets = font.StringAlignOffsetX(text, hAlign, scale);
uint32 curLine = 0;
vec2 offset(-offsets[0], -font.StringAlignOffsetY(text, vAlign, scale) + font.GetFontSize());
for (const char* p = text.c_str(); *p; p++) {
if (*p < 32 && *p != '\n') continue;
// get character
const Font::Character& c = font[*p];
// calculate values
float x0 = position.x + offset.x + ((c.position.x / c.bitSize.x) * c.bitSize.x);
float y0 = position.y + offset.y - ((c.position.y / c.bitSize.y) * c.bitSize.y);
float w = c.bitSize.x * scale.x;
float h = c.bitSize.y * scale.y;
// move cursor to the start of the next character
offset.x += c.advance.x * scale.x;
// skip character with no size
if ((!w || !h) && *p != '\n') continue;
if (*p == '\n') { // Newline text
curLine++; // Move to the next offset position for the text
offset.x = -offsets[curLine]; // Reset the x offset of the text to the horizontal alignment
offset.y += (float) (font.GetFontSize() + font.GetVerticalSpacing()) * scale.y;
continue;
}
// set uvCoords
/* bottom left */ verts[0].uvcoords = vec2(c.xoffset, 0.0f);
/* top left */ verts[1].uvcoords = vec2(c.xoffset, c.bitSize.y / size.y);
/* top right */ verts[2].uvcoords = vec2(c.xoffset + c.bitSize.x / size.x, c.bitSize.y / size.y);
/* bottom right */ verts[3].uvcoords = vec2(c.xoffset + c.bitSize.x / size.x, 0.0f);
// set positions
/* bottom left */ verts[0].position = vec2(x0, y0);
/* top left */ verts[1].position = vec2(x0, y0 + h);
/* top right */ verts[2].position = vec2(x0 + w, y0 + h);
/* bottom right */ verts[3].position = vec2(x0 + w, y0);
// push into vector
m_verticies.push_back(verts[0]);
m_verticies.push_back(verts[1]);
m_verticies.push_back(verts[2]);
m_verticies.push_back(verts[0]);
m_verticies.push_back(verts[2]);
m_verticies.push_back(verts[3]);
}
// finish
}
void UIBatch::End() {
// draw any remaining verticies
DrawCurrent();
// unbind
glBindBuffer(GL_ARRAY_BUFFER, 0);
glBindVertexArray(0);
glUseProgram(0);
}
uint32 UIBatch::TryAddTexture(const Texture& texture) {
// solid color
if (texture == nullptr)
return -1;
// check if its already in the vector
for (size_t i = 0; i < m_textures.size(); i++) {
if (m_textures[i] == texture) {
return i;
}
}
// try add
if (m_textures.size() < m_textures.capacity()) {
m_textures.push_back(texture);
return m_textures.size() - 1;
}
return -2; // batch break
}
void UIBatch::DrawCurrent() {
if (m_verticies.size() == 0)
return;
const uint32 bytes = (sizeof(vertex) * m_verticies.size());
// resize the buffer if needed
if (m_bufferSize < bytes) {
if (m_bufferSize == 0) m_bufferSize = bytes;
else m_bufferSize *= 2;
glBufferData(GL_ARRAY_BUFFER, m_bufferSize, nullptr, GL_STREAM_DRAW);
}
// update the vertex data
glBufferSubData(GL_ARRAY_BUFFER, 0, bytes, m_verticies.data());
// load in the textures
for (size_t i = 0; i < m_textures.size(); i++) {
glActiveTexture(GL_TEXTURE0 + i);
glBindTexture(GL_TEXTURE_2D, m_textures[i]);
}
// draw
glDrawArrays(GL_TRIANGLES, 0, m_verticies.size());
// clear out vectors
m_textures.clear();
m_verticies.clear();
}
} | 31.660256 | 165 | 0.678882 | ARAMODODRAGON |
f302a6aafea02d0089174288725e0b764bd11841 | 24,294 | cpp | C++ | Engine/lib/bullet/src/BulletCollision/Gimpact/btGImpactCollisionAlgorithm.cpp | 7erj1/RPG_Starter | 76d5fb11c261f3ef0f15bfa820fb0e2211bee54a | [
"MIT"
] | null | null | null | Engine/lib/bullet/src/BulletCollision/Gimpact/btGImpactCollisionAlgorithm.cpp | 7erj1/RPG_Starter | 76d5fb11c261f3ef0f15bfa820fb0e2211bee54a | [
"MIT"
] | 1 | 2020-06-29T00:33:54.000Z | 2020-06-29T00:33:54.000Z | Engine/lib/bullet/src/BulletCollision/Gimpact/btGImpactCollisionAlgorithm.cpp | 7erj1/RPG_Starter | 76d5fb11c261f3ef0f15bfa820fb0e2211bee54a | [
"MIT"
] | 1 | 2022-03-26T10:03:41.000Z | 2022-03-26T10:03:41.000Z | /*
This source file is part of GIMPACT Library.
For the latest info, see http://gimpact.sourceforge.net/
Copyright (c) 2007 Francisco Leon Najera. C.C. 80087371.
email: projectileman@yahoo.com
This software is provided 'as-is', without any express or implied warranty.
In no event will the authors be held liable for any damages arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it freely,
subject to the following restrictions:
1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required.
2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.
*/
/*
Author: Francisco Len Nßjera
Concave-Concave Collision
*/
#include "BulletCollision/CollisionDispatch/btManifoldResult.h"
#include "LinearMath/btIDebugDraw.h"
#include "BulletCollision/CollisionDispatch/btCollisionObject.h"
#include "BulletCollision/CollisionShapes/btBoxShape.h"
#include "btGImpactCollisionAlgorithm.h"
#include "btContactProcessing.h"
#include "LinearMath/btQuickprof.h"
//! Class for accessing the plane equation
class btPlaneShape : public btStaticPlaneShape
{
public:
btPlaneShape(const btVector3& v, float f)
:btStaticPlaneShape(v,f)
{
}
void get_plane_equation(btVector4 &equation)
{
equation[0] = m_planeNormal[0];
equation[1] = m_planeNormal[1];
equation[2] = m_planeNormal[2];
equation[3] = m_planeConstant;
}
void get_plane_equation_transformed(const btTransform & trans,btVector4 &equation) const
{
equation[0] = trans.getBasis().getRow(0).dot(m_planeNormal);
equation[1] = trans.getBasis().getRow(1).dot(m_planeNormal);
equation[2] = trans.getBasis().getRow(2).dot(m_planeNormal);
equation[3] = trans.getOrigin().dot(m_planeNormal) + m_planeConstant;
}
};
//////////////////////////////////////////////////////////////////////////////////////////////
#ifdef TRI_COLLISION_PROFILING
btClock g_triangle_clock;
float g_accum_triangle_collision_time = 0;
int g_count_triangle_collision = 0;
void bt_begin_gim02_tri_time()
{
g_triangle_clock.reset();
}
void bt_end_gim02_tri_time()
{
g_accum_triangle_collision_time += g_triangle_clock.getTimeMicroseconds();
g_count_triangle_collision++;
}
#endif //TRI_COLLISION_PROFILING
//! Retrieving shapes shapes
/*!
Declared here due of insuficent space on Pool allocators
*/
//!@{
class GIM_ShapeRetriever
{
public:
const btGImpactShapeInterface * m_gim_shape;
btTriangleShapeEx m_trishape;
btTetrahedronShapeEx m_tetrashape;
public:
class ChildShapeRetriever
{
public:
GIM_ShapeRetriever * m_parent;
virtual const btCollisionShape * getChildShape(int index)
{
return m_parent->m_gim_shape->getChildShape(index);
}
virtual ~ChildShapeRetriever() {}
};
class TriangleShapeRetriever:public ChildShapeRetriever
{
public:
virtual btCollisionShape * getChildShape(int index)
{
m_parent->m_gim_shape->getBulletTriangle(index,m_parent->m_trishape);
return &m_parent->m_trishape;
}
virtual ~TriangleShapeRetriever() {}
};
class TetraShapeRetriever:public ChildShapeRetriever
{
public:
virtual btCollisionShape * getChildShape(int index)
{
m_parent->m_gim_shape->getBulletTetrahedron(index,m_parent->m_tetrashape);
return &m_parent->m_tetrashape;
}
};
public:
ChildShapeRetriever m_child_retriever;
TriangleShapeRetriever m_tri_retriever;
TetraShapeRetriever m_tetra_retriever;
ChildShapeRetriever * m_current_retriever;
GIM_ShapeRetriever(const btGImpactShapeInterface * gim_shape)
{
m_gim_shape = gim_shape;
//select retriever
if(m_gim_shape->needsRetrieveTriangles())
{
m_current_retriever = &m_tri_retriever;
}
else if(m_gim_shape->needsRetrieveTetrahedrons())
{
m_current_retriever = &m_tetra_retriever;
}
else
{
m_current_retriever = &m_child_retriever;
}
m_current_retriever->m_parent = this;
}
const btCollisionShape * getChildShape(int index)
{
return m_current_retriever->getChildShape(index);
}
};
//!@}
#ifdef TRI_COLLISION_PROFILING
//! Gets the average time in miliseconds of tree collisions
float btGImpactCollisionAlgorithm::getAverageTreeCollisionTime()
{
return btGImpactBoxSet::getAverageTreeCollisionTime();
}
//! Gets the average time in miliseconds of triangle collisions
float btGImpactCollisionAlgorithm::getAverageTriangleCollisionTime()
{
if(g_count_triangle_collision == 0) return 0;
float avgtime = g_accum_triangle_collision_time;
avgtime /= (float)g_count_triangle_collision;
g_accum_triangle_collision_time = 0;
g_count_triangle_collision = 0;
return avgtime;
}
#endif //TRI_COLLISION_PROFILING
btGImpactCollisionAlgorithm::btGImpactCollisionAlgorithm( const btCollisionAlgorithmConstructionInfo& ci, const btCollisionObjectWrapper* body0Wrap,const btCollisionObjectWrapper* body1Wrap)
: btActivatingCollisionAlgorithm(ci,body0Wrap,body1Wrap)
{
m_manifoldPtr = NULL;
m_convex_algorithm = NULL;
}
btGImpactCollisionAlgorithm::~btGImpactCollisionAlgorithm()
{
clearCache();
}
void btGImpactCollisionAlgorithm::addContactPoint(const btCollisionObjectWrapper * body0Wrap,
const btCollisionObjectWrapper * body1Wrap,
const btVector3 & point,
const btVector3 & normal,
btScalar distance)
{
m_resultOut->setShapeIdentifiersA(m_part0,m_triface0);
m_resultOut->setShapeIdentifiersB(m_part1,m_triface1);
checkManifold(body0Wrap,body1Wrap);
m_resultOut->addContactPoint(normal,point,distance);
}
void btGImpactCollisionAlgorithm::shape_vs_shape_collision(
const btCollisionObjectWrapper * body0Wrap,
const btCollisionObjectWrapper* body1Wrap,
const btCollisionShape * shape0,
const btCollisionShape * shape1)
{
{
btCollisionAlgorithm* algor = newAlgorithm(body0Wrap,body1Wrap);
// post : checkManifold is called
m_resultOut->setShapeIdentifiersA(m_part0,m_triface0);
m_resultOut->setShapeIdentifiersB(m_part1,m_triface1);
algor->processCollision(body0Wrap,body1Wrap,*m_dispatchInfo,m_resultOut);
algor->~btCollisionAlgorithm();
m_dispatcher->freeCollisionAlgorithm(algor);
}
}
void btGImpactCollisionAlgorithm::convex_vs_convex_collision(
const btCollisionObjectWrapper* body0Wrap,
const btCollisionObjectWrapper* body1Wrap,
const btCollisionShape* shape0,
const btCollisionShape* shape1)
{
m_resultOut->setShapeIdentifiersA(m_part0,m_triface0);
m_resultOut->setShapeIdentifiersB(m_part1,m_triface1);
btCollisionObjectWrapper ob0(body0Wrap,shape0,body0Wrap->getCollisionObject(),body0Wrap->getWorldTransform(),m_part0,m_triface0);
btCollisionObjectWrapper ob1(body1Wrap,shape1,body1Wrap->getCollisionObject(),body1Wrap->getWorldTransform(),m_part1,m_triface1);
checkConvexAlgorithm(&ob0,&ob1);
m_convex_algorithm->processCollision(&ob0,&ob1,*m_dispatchInfo,m_resultOut);
}
void btGImpactCollisionAlgorithm::gimpact_vs_gimpact_find_pairs(
const btTransform & trans0,
const btTransform & trans1,
const btGImpactShapeInterface * shape0,
const btGImpactShapeInterface * shape1,btPairSet & pairset)
{
if(shape0->hasBoxSet() && shape1->hasBoxSet())
{
btGImpactBoxSet::find_collision(shape0->getBoxSet(),trans0,shape1->getBoxSet(),trans1,pairset);
}
else
{
btAABB boxshape0;
btAABB boxshape1;
int i = shape0->getNumChildShapes();
while(i--)
{
shape0->getChildAabb(i,trans0,boxshape0.m_min,boxshape0.m_max);
int j = shape1->getNumChildShapes();
while(j--)
{
shape1->getChildAabb(i,trans1,boxshape1.m_min,boxshape1.m_max);
if(boxshape1.has_collision(boxshape0))
{
pairset.push_pair(i,j);
}
}
}
}
}
void btGImpactCollisionAlgorithm::gimpact_vs_shape_find_pairs(
const btTransform & trans0,
const btTransform & trans1,
const btGImpactShapeInterface * shape0,
const btCollisionShape * shape1,
btAlignedObjectArray<int> & collided_primitives)
{
btAABB boxshape;
if(shape0->hasBoxSet())
{
btTransform trans1to0 = trans0.inverse();
trans1to0 *= trans1;
shape1->getAabb(trans1to0,boxshape.m_min,boxshape.m_max);
shape0->getBoxSet()->boxQuery(boxshape, collided_primitives);
}
else
{
shape1->getAabb(trans1,boxshape.m_min,boxshape.m_max);
btAABB boxshape0;
int i = shape0->getNumChildShapes();
while(i--)
{
shape0->getChildAabb(i,trans0,boxshape0.m_min,boxshape0.m_max);
if(boxshape.has_collision(boxshape0))
{
collided_primitives.push_back(i);
}
}
}
}
void btGImpactCollisionAlgorithm::collide_gjk_triangles(const btCollisionObjectWrapper * body0Wrap,
const btCollisionObjectWrapper * body1Wrap,
const btGImpactMeshShapePart * shape0,
const btGImpactMeshShapePart * shape1,
const int * pairs, int pair_count)
{
btTriangleShapeEx tri0;
btTriangleShapeEx tri1;
shape0->lockChildShapes();
shape1->lockChildShapes();
const int * pair_pointer = pairs;
while(pair_count--)
{
m_triface0 = *(pair_pointer);
m_triface1 = *(pair_pointer+1);
pair_pointer+=2;
shape0->getBulletTriangle(m_triface0,tri0);
shape1->getBulletTriangle(m_triface1,tri1);
//collide two convex shapes
if(tri0.overlap_test_conservative(tri1))
{
convex_vs_convex_collision(body0Wrap,body1Wrap,&tri0,&tri1);
}
}
shape0->unlockChildShapes();
shape1->unlockChildShapes();
}
void btGImpactCollisionAlgorithm::collide_sat_triangles(const btCollisionObjectWrapper* body0Wrap,
const btCollisionObjectWrapper* body1Wrap,
const btGImpactMeshShapePart * shape0,
const btGImpactMeshShapePart * shape1,
const int * pairs, int pair_count)
{
btTransform orgtrans0 = body0Wrap->getWorldTransform();
btTransform orgtrans1 = body1Wrap->getWorldTransform();
btPrimitiveTriangle ptri0;
btPrimitiveTriangle ptri1;
GIM_TRIANGLE_CONTACT contact_data;
shape0->lockChildShapes();
shape1->lockChildShapes();
const int * pair_pointer = pairs;
while(pair_count--)
{
m_triface0 = *(pair_pointer);
m_triface1 = *(pair_pointer+1);
pair_pointer+=2;
shape0->getPrimitiveTriangle(m_triface0,ptri0);
shape1->getPrimitiveTriangle(m_triface1,ptri1);
#ifdef TRI_COLLISION_PROFILING
bt_begin_gim02_tri_time();
#endif
ptri0.applyTransform(orgtrans0);
ptri1.applyTransform(orgtrans1);
//build planes
ptri0.buildTriPlane();
ptri1.buildTriPlane();
// test conservative
if(ptri0.overlap_test_conservative(ptri1))
{
if(ptri0.find_triangle_collision_clip_method(ptri1,contact_data))
{
int j = contact_data.m_point_count;
while(j--)
{
addContactPoint(body0Wrap, body1Wrap,
contact_data.m_points[j],
contact_data.m_separating_normal,
-contact_data.m_penetration_depth);
}
}
}
#ifdef TRI_COLLISION_PROFILING
bt_end_gim02_tri_time();
#endif
}
shape0->unlockChildShapes();
shape1->unlockChildShapes();
}
void btGImpactCollisionAlgorithm::gimpact_vs_gimpact(
const btCollisionObjectWrapper* body0Wrap,
const btCollisionObjectWrapper * body1Wrap,
const btGImpactShapeInterface * shape0,
const btGImpactShapeInterface * shape1)
{
if(shape0->getGImpactShapeType()==CONST_GIMPACT_TRIMESH_SHAPE)
{
const btGImpactMeshShape * meshshape0 = static_cast<const btGImpactMeshShape *>(shape0);
m_part0 = meshshape0->getMeshPartCount();
while(m_part0--)
{
gimpact_vs_gimpact(body0Wrap,body1Wrap,meshshape0->getMeshPart(m_part0),shape1);
}
return;
}
if(shape1->getGImpactShapeType()==CONST_GIMPACT_TRIMESH_SHAPE)
{
const btGImpactMeshShape * meshshape1 = static_cast<const btGImpactMeshShape *>(shape1);
m_part1 = meshshape1->getMeshPartCount();
while(m_part1--)
{
gimpact_vs_gimpact(body0Wrap,body1Wrap,shape0,meshshape1->getMeshPart(m_part1));
}
return;
}
btTransform orgtrans0 = body0Wrap->getWorldTransform();
btTransform orgtrans1 = body1Wrap->getWorldTransform();
btPairSet pairset;
gimpact_vs_gimpact_find_pairs(orgtrans0,orgtrans1,shape0,shape1,pairset);
if(pairset.size()== 0) return;
if(shape0->getGImpactShapeType() == CONST_GIMPACT_TRIMESH_SHAPE_PART &&
shape1->getGImpactShapeType() == CONST_GIMPACT_TRIMESH_SHAPE_PART)
{
const btGImpactMeshShapePart * shapepart0 = static_cast<const btGImpactMeshShapePart * >(shape0);
const btGImpactMeshShapePart * shapepart1 = static_cast<const btGImpactMeshShapePart * >(shape1);
//specialized function
#ifdef BULLET_TRIANGLE_COLLISION
collide_gjk_triangles(body0Wrap,body1Wrap,shapepart0,shapepart1,&pairset[0].m_index1,pairset.size());
#else
collide_sat_triangles(body0Wrap,body1Wrap,shapepart0,shapepart1,&pairset[0].m_index1,pairset.size());
#endif
return;
}
//general function
shape0->lockChildShapes();
shape1->lockChildShapes();
GIM_ShapeRetriever retriever0(shape0);
GIM_ShapeRetriever retriever1(shape1);
bool child_has_transform0 = shape0->childrenHasTransform();
bool child_has_transform1 = shape1->childrenHasTransform();
int i = pairset.size();
while(i--)
{
GIM_PAIR * pair = &pairset[i];
m_triface0 = pair->m_index1;
m_triface1 = pair->m_index2;
const btCollisionShape * colshape0 = retriever0.getChildShape(m_triface0);
const btCollisionShape * colshape1 = retriever1.getChildShape(m_triface1);
btTransform tr0 = body0Wrap->getWorldTransform();
btTransform tr1 = body1Wrap->getWorldTransform();
if(child_has_transform0)
{
tr0 = orgtrans0*shape0->getChildTransform(m_triface0);
}
if(child_has_transform1)
{
tr1 = orgtrans1*shape1->getChildTransform(m_triface1);
}
btCollisionObjectWrapper ob0(body0Wrap,colshape0,body0Wrap->getCollisionObject(),tr0,m_part0,m_triface0);
btCollisionObjectWrapper ob1(body1Wrap,colshape1,body1Wrap->getCollisionObject(),tr1,m_part1,m_triface1);
//collide two convex shapes
convex_vs_convex_collision(&ob0,&ob1,colshape0,colshape1);
}
shape0->unlockChildShapes();
shape1->unlockChildShapes();
}
void btGImpactCollisionAlgorithm::gimpact_vs_shape(const btCollisionObjectWrapper* body0Wrap,
const btCollisionObjectWrapper * body1Wrap,
const btGImpactShapeInterface * shape0,
const btCollisionShape * shape1,bool swapped)
{
if(shape0->getGImpactShapeType()==CONST_GIMPACT_TRIMESH_SHAPE)
{
const btGImpactMeshShape * meshshape0 = static_cast<const btGImpactMeshShape *>(shape0);
int& part = swapped ? m_part1 : m_part0;
part = meshshape0->getMeshPartCount();
while(part--)
{
gimpact_vs_shape(body0Wrap,
body1Wrap,
meshshape0->getMeshPart(part),
shape1,swapped);
}
return;
}
#ifdef GIMPACT_VS_PLANE_COLLISION
if(shape0->getGImpactShapeType() == CONST_GIMPACT_TRIMESH_SHAPE_PART &&
shape1->getShapeType() == STATIC_PLANE_PROXYTYPE)
{
const btGImpactMeshShapePart * shapepart = static_cast<const btGImpactMeshShapePart *>(shape0);
const btStaticPlaneShape * planeshape = static_cast<const btStaticPlaneShape * >(shape1);
gimpacttrimeshpart_vs_plane_collision(body0Wrap,body1Wrap,shapepart,planeshape,swapped);
return;
}
#endif
if(shape1->isCompound())
{
const btCompoundShape * compoundshape = static_cast<const btCompoundShape *>(shape1);
gimpact_vs_compoundshape(body0Wrap,body1Wrap,shape0,compoundshape,swapped);
return;
}
else if(shape1->isConcave())
{
const btConcaveShape * concaveshape = static_cast<const btConcaveShape *>(shape1);
gimpact_vs_concave(body0Wrap,body1Wrap,shape0,concaveshape,swapped);
return;
}
btTransform orgtrans0 = body0Wrap->getWorldTransform();
btTransform orgtrans1 = body1Wrap->getWorldTransform();
btAlignedObjectArray<int> collided_results;
gimpact_vs_shape_find_pairs(orgtrans0,orgtrans1,shape0,shape1,collided_results);
if(collided_results.size() == 0) return;
shape0->lockChildShapes();
GIM_ShapeRetriever retriever0(shape0);
bool child_has_transform0 = shape0->childrenHasTransform();
int i = collided_results.size();
while(i--)
{
int child_index = collided_results[i];
if(swapped)
m_triface1 = child_index;
else
m_triface0 = child_index;
const btCollisionShape * colshape0 = retriever0.getChildShape(child_index);
btTransform tr0 = body0Wrap->getWorldTransform();
if(child_has_transform0)
{
tr0 = orgtrans0*shape0->getChildTransform(child_index);
}
btCollisionObjectWrapper ob0(body0Wrap,colshape0,body0Wrap->getCollisionObject(),body0Wrap->getWorldTransform(),m_part0,m_triface0);
const btCollisionObjectWrapper* prevObj0 = m_resultOut->getBody0Wrap();
if (m_resultOut->getBody0Wrap()->getCollisionObject()==ob0.getCollisionObject())
{
m_resultOut->setBody0Wrap(&ob0);
} else
{
m_resultOut->setBody1Wrap(&ob0);
}
//collide two shapes
if(swapped)
{
shape_vs_shape_collision(body1Wrap,&ob0,shape1,colshape0);
}
else
{
shape_vs_shape_collision(&ob0,body1Wrap,colshape0,shape1);
}
m_resultOut->setBody0Wrap(prevObj0);
}
shape0->unlockChildShapes();
}
void btGImpactCollisionAlgorithm::gimpact_vs_compoundshape(const btCollisionObjectWrapper* body0Wrap,
const btCollisionObjectWrapper* body1Wrap,
const btGImpactShapeInterface * shape0,
const btCompoundShape * shape1,bool swapped)
{
btTransform orgtrans1 = body1Wrap->getWorldTransform();
int i = shape1->getNumChildShapes();
while(i--)
{
const btCollisionShape * colshape1 = shape1->getChildShape(i);
btTransform childtrans1 = orgtrans1*shape1->getChildTransform(i);
btCollisionObjectWrapper ob1(body1Wrap,colshape1,body1Wrap->getCollisionObject(),childtrans1,-1,i);
const btCollisionObjectWrapper* tmp = 0;
if (m_resultOut->getBody0Wrap()->getCollisionObject()==ob1.getCollisionObject())
{
tmp = m_resultOut->getBody0Wrap();
m_resultOut->setBody0Wrap(&ob1);
} else
{
tmp = m_resultOut->getBody1Wrap();
m_resultOut->setBody1Wrap(&ob1);
}
//collide child shape
gimpact_vs_shape(body0Wrap, &ob1,
shape0,colshape1,swapped);
if (m_resultOut->getBody0Wrap()->getCollisionObject()==ob1.getCollisionObject())
{
m_resultOut->setBody0Wrap(tmp);
} else
{
m_resultOut->setBody1Wrap(tmp);
}
}
}
void btGImpactCollisionAlgorithm::gimpacttrimeshpart_vs_plane_collision(
const btCollisionObjectWrapper * body0Wrap,
const btCollisionObjectWrapper * body1Wrap,
const btGImpactMeshShapePart * shape0,
const btStaticPlaneShape * shape1,bool swapped)
{
btTransform orgtrans0 = body0Wrap->getWorldTransform();
btTransform orgtrans1 = body1Wrap->getWorldTransform();
const btPlaneShape * planeshape = static_cast<const btPlaneShape *>(shape1);
btVector4 plane;
planeshape->get_plane_equation_transformed(orgtrans1,plane);
//test box against plane
btAABB tribox;
shape0->getAabb(orgtrans0,tribox.m_min,tribox.m_max);
tribox.increment_margin(planeshape->getMargin());
if( tribox.plane_classify(plane)!= BT_CONST_COLLIDE_PLANE) return;
shape0->lockChildShapes();
btScalar margin = shape0->getMargin() + planeshape->getMargin();
btVector3 vertex;
int vi = shape0->getVertexCount();
while(vi--)
{
shape0->getVertex(vi,vertex);
vertex = orgtrans0(vertex);
btScalar distance = vertex.dot(plane) - plane[3] - margin;
if(distance<0.0)//add contact
{
if(swapped)
{
addContactPoint(body1Wrap, body0Wrap,
vertex,
-plane,
distance);
}
else
{
addContactPoint(body0Wrap, body1Wrap,
vertex,
plane,
distance);
}
}
}
shape0->unlockChildShapes();
}
class btGImpactTriangleCallback: public btTriangleCallback
{
public:
btGImpactCollisionAlgorithm * algorithm;
const btCollisionObjectWrapper * body0Wrap;
const btCollisionObjectWrapper * body1Wrap;
const btGImpactShapeInterface * gimpactshape0;
bool swapped;
btScalar margin;
virtual void processTriangle(btVector3* triangle, int partId, int triangleIndex)
{
btTriangleShapeEx tri1(triangle[0],triangle[1],triangle[2]);
tri1.setMargin(margin);
if(swapped)
{
algorithm->setPart0(partId);
algorithm->setFace0(triangleIndex);
}
else
{
algorithm->setPart1(partId);
algorithm->setFace1(triangleIndex);
}
btCollisionObjectWrapper ob1Wrap(body1Wrap,&tri1,body1Wrap->getCollisionObject(),body1Wrap->getWorldTransform(),partId,triangleIndex);
const btCollisionObjectWrapper * tmp = 0;
if (algorithm->internalGetResultOut()->getBody0Wrap()->getCollisionObject()==ob1Wrap.getCollisionObject())
{
tmp = algorithm->internalGetResultOut()->getBody0Wrap();
algorithm->internalGetResultOut()->setBody0Wrap(&ob1Wrap);
} else
{
tmp = algorithm->internalGetResultOut()->getBody1Wrap();
algorithm->internalGetResultOut()->setBody1Wrap(&ob1Wrap);
}
algorithm->gimpact_vs_shape(
body0Wrap,&ob1Wrap,gimpactshape0,&tri1,swapped);
if (algorithm->internalGetResultOut()->getBody0Wrap()->getCollisionObject()==ob1Wrap.getCollisionObject())
{
algorithm->internalGetResultOut()->setBody0Wrap(tmp);
} else
{
algorithm->internalGetResultOut()->setBody1Wrap(tmp);
}
}
};
void btGImpactCollisionAlgorithm::gimpact_vs_concave(
const btCollisionObjectWrapper* body0Wrap,
const btCollisionObjectWrapper * body1Wrap,
const btGImpactShapeInterface * shape0,
const btConcaveShape * shape1,bool swapped)
{
//create the callback
btGImpactTriangleCallback tricallback;
tricallback.algorithm = this;
tricallback.body0Wrap = body0Wrap;
tricallback.body1Wrap = body1Wrap;
tricallback.gimpactshape0 = shape0;
tricallback.swapped = swapped;
tricallback.margin = shape1->getMargin();
//getting the trimesh AABB
btTransform gimpactInConcaveSpace;
gimpactInConcaveSpace = body1Wrap->getWorldTransform().inverse() * body0Wrap->getWorldTransform();
btVector3 minAABB,maxAABB;
shape0->getAabb(gimpactInConcaveSpace,minAABB,maxAABB);
shape1->processAllTriangles(&tricallback,minAABB,maxAABB);
}
void btGImpactCollisionAlgorithm::processCollision (const btCollisionObjectWrapper* body0Wrap,const btCollisionObjectWrapper* body1Wrap,const btDispatcherInfo& dispatchInfo,btManifoldResult* resultOut)
{
clearCache();
m_resultOut = resultOut;
m_dispatchInfo = &dispatchInfo;
const btGImpactShapeInterface * gimpactshape0;
const btGImpactShapeInterface * gimpactshape1;
if (body0Wrap->getCollisionShape()->getShapeType()==GIMPACT_SHAPE_PROXYTYPE)
{
gimpactshape0 = static_cast<const btGImpactShapeInterface *>(body0Wrap->getCollisionShape());
if( body1Wrap->getCollisionShape()->getShapeType()==GIMPACT_SHAPE_PROXYTYPE )
{
gimpactshape1 = static_cast<const btGImpactShapeInterface *>(body1Wrap->getCollisionShape());
gimpact_vs_gimpact(body0Wrap,body1Wrap,gimpactshape0,gimpactshape1);
}
else
{
gimpact_vs_shape(body0Wrap,body1Wrap,gimpactshape0,body1Wrap->getCollisionShape(),false);
}
}
else if (body1Wrap->getCollisionShape()->getShapeType()==GIMPACT_SHAPE_PROXYTYPE )
{
gimpactshape1 = static_cast<const btGImpactShapeInterface *>(body1Wrap->getCollisionShape());
gimpact_vs_shape(body1Wrap,body0Wrap,gimpactshape1,body0Wrap->getCollisionShape(),true);
}
}
btScalar btGImpactCollisionAlgorithm::calculateTimeOfImpact(btCollisionObject* body0,btCollisionObject* body1,const btDispatcherInfo& dispatchInfo,btManifoldResult* resultOut)
{
return 1.f;
}
///////////////////////////////////// REGISTERING ALGORITHM //////////////////////////////////////////////
//! Use this function for register the algorithm externally
void btGImpactCollisionAlgorithm::registerAlgorithm(btCollisionDispatcher * dispatcher)
{
static btGImpactCollisionAlgorithm::CreateFunc s_gimpact_cf;
int i;
for ( i = 0;i < MAX_BROADPHASE_COLLISION_TYPES ;i++ )
{
dispatcher->registerCollisionCreateFunc(GIMPACT_SHAPE_PROXYTYPE,i ,&s_gimpact_cf);
}
for ( i = 0;i < MAX_BROADPHASE_COLLISION_TYPES ;i++ )
{
dispatcher->registerCollisionCreateFunc(i,GIMPACT_SHAPE_PROXYTYPE ,&s_gimpact_cf);
}
}
| 26.038585 | 243 | 0.754343 | 7erj1 |
f308b80d4cbc6c72800aaa27490c06b72296ccfe | 1,184 | cpp | C++ | HDSM_Server/HDSMSrv.cpp | BonreeGit/HDSM | b1906b23c6b50dd65f1134b75f6567678b78812a | [
"Apache-2.0"
] | 5 | 2020-03-12T10:24:29.000Z | 2020-07-05T09:49:16.000Z | HDSM_Server/HDSMSrv.cpp | BonreeGit/HDSM | b1906b23c6b50dd65f1134b75f6567678b78812a | [
"Apache-2.0"
] | null | null | null | HDSM_Server/HDSMSrv.cpp | BonreeGit/HDSM | b1906b23c6b50dd65f1134b75f6567678b78812a | [
"Apache-2.0"
] | 2 | 2020-09-06T15:27:29.000Z | 2020-11-01T03:58:54.000Z | #include "Utils.h"
#include "BaseSocket.h"
#include "./Server/TaskServer.h"
#include "TestThread.h"
#include "Global.h"
#include "./Logger.h"
#include "TypeDefine.h"
#define _SWITCH_FOR_TEST_ 0
HINT32 main(HINT32 argc, HCHAR* argv[])
{
#if _SWITCH_FOR_TEST_
HDSimpleMap *m_pHDSM = NULL;
string data_path = ConfigureMgr::get_data_path();
Utils::create_dirs(data_path);
m_pHDSM = new HDSimpleMap(ConfigureMgr::get_data_path());
for (HINT32 i=0; i<5; i++)
{
TestThread *pthread = new TestThread(m_pHDSM);
pthread->set_interval(i*100000, (i+1)*100000);
pthread->start();
Sleep(1);
}
system("pause");
#else
BaseSocket::init();
Logger::log_i("Welcome to use HDSM %d.0!!!", Global::VERSION_CODE);
Logger::log_i("Server Work Mode: %s", Global::SERVER_MODE == 0 ? "ALONE" : "MIRROR");
Logger::log_i("Location of Data: %s", ConfigureMgr::get_data_path().c_str());
Logger::log_i("Count of Data Shards: %d", Global::MAX_SHARD_COUNT);
Logger::log_i("Server is loading Data Index(a few minutes)...");
TaskServer server(ConfigureMgr::get_listenning_port());
server.start();
BaseSocket::clean();
#endif
return 0;
} | 27.534884 | 88 | 0.671453 | BonreeGit |
f3160740815820b87603a8eb7e71cb7625e9cbf6 | 609 | cpp | C++ | Cpp/fost-test/test-main.cpp | KayEss/fost-base | 05ac1b6a1fb672c61ba6502efea86f9c5207e28f | [
"BSL-1.0"
] | 2 | 2016-05-25T22:17:38.000Z | 2019-04-02T08:34:17.000Z | Cpp/fost-test/test-main.cpp | KayEss/fost-base | 05ac1b6a1fb672c61ba6502efea86f9c5207e28f | [
"BSL-1.0"
] | 5 | 2018-07-13T10:43:05.000Z | 2019-09-02T14:54:42.000Z | Cpp/fost-test/test-main.cpp | KayEss/fost-base | 05ac1b6a1fb672c61ba6502efea86f9c5207e28f | [
"BSL-1.0"
] | 1 | 2020-10-22T20:44:24.000Z | 2020-10-22T20:44:24.000Z | /**
Copyright 2005-2019 Red Anchor Trading Co. Ltd.
Distributed under the Boost Software License, Version 1.0.
See <http://www.boost.org/LICENSE_1_0.txt>
*/
#include <fost/main>
#include <fost/test>
namespace {
fostlib::setting<bool> c_verbose(
L"fost-test/test-main.cpp", L"Tests", L"Display test names", true);
}
FSL_MAIN(
L"test-runner",
L"test-runner test executor\nCopyright (c) 1995-2011, Felspar Co. Ltd.")
(fostlib::ostream &out, fostlib::arguments &args) {
if (fostlib::test::suite::execute(out))
return 1;
else
return 0;
}
| 21.75 | 80 | 0.635468 | KayEss |
f3162e4c46d983613450c3114fed9f906587d85e | 2,640 | cpp | C++ | test/concurrency/local_epoch_test.cpp | rntlqvnf/peloton | 23bdfa6fa3c02c7bad0182b0aa7ddd8cc99ab872 | [
"Apache-2.0"
] | 7 | 2017-03-12T01:57:48.000Z | 2022-03-16T12:44:07.000Z | test/concurrency/local_epoch_test.cpp | rntlqvnf/peloton | 23bdfa6fa3c02c7bad0182b0aa7ddd8cc99ab872 | [
"Apache-2.0"
] | null | null | null | test/concurrency/local_epoch_test.cpp | rntlqvnf/peloton | 23bdfa6fa3c02c7bad0182b0aa7ddd8cc99ab872 | [
"Apache-2.0"
] | 2 | 2017-03-30T00:43:50.000Z | 2021-07-21T06:27:44.000Z | //===----------------------------------------------------------------------===//
//
// Peloton
//
// decentralized_epoch_manager_test.cpp
//
// Identification: test/concurrency/local_epoch_test.cpp
//
// Copyright (c) 2015-16, Carnegie Mellon University Database Group
//
//===----------------------------------------------------------------------===//
#include "concurrency/local_epoch.h"
#include "common/harness.h"
namespace peloton {
namespace test {
//===--------------------------------------------------------------------===//
// Transaction Tests
//===--------------------------------------------------------------------===//
class LocalEpochTests : public PelotonTest {};
TEST_F(LocalEpochTests, EpochCompareTest) {
concurrency::EpochCompare comp;
std::shared_ptr<concurrency::Epoch> epoch0(new concurrency::Epoch(10, 20));
std::shared_ptr<concurrency::Epoch> epoch1(new concurrency::Epoch(10, 20));
bool rt = comp(epoch0, epoch1);
EXPECT_EQ(rt, false);
std::shared_ptr<concurrency::Epoch> epoch2(new concurrency::Epoch(11, 21));
std::shared_ptr<concurrency::Epoch> epoch3(new concurrency::Epoch(12, 20));
rt = comp(epoch2, epoch3);
EXPECT_EQ(rt, false);
}
TEST_F(LocalEpochTests, TransactionTest) {
concurrency::LocalEpoch local_epoch(0);
// a transaction enters epoch 10
bool rt = local_epoch.EnterEpoch(10);
EXPECT_EQ(rt, true);
uint64_t max_eid = local_epoch.GetMaxCommittedEpochId(11);
EXPECT_EQ(max_eid, 9);
// a transaction enters epoch 15
rt = local_epoch.EnterEpoch(15);
EXPECT_EQ(rt, true);
max_eid = local_epoch.GetMaxCommittedEpochId(18);
EXPECT_EQ(max_eid, 9);
// now only one transaction left
local_epoch.ExitEpoch(10);
max_eid = local_epoch.GetMaxCommittedEpochId(19);
EXPECT_EQ(max_eid, 14);
// now the lower bound is 14.
// a transaction at epoch 12 must be rejected.
rt = local_epoch.EnterEpoch(12);
EXPECT_EQ(rt, false);
// a read-only transaction can always succeed.
local_epoch.EnterEpochRO(12);
// consequently, the lower bound is dropped.
max_eid = local_epoch.GetMaxCommittedEpochId(20);
EXPECT_EQ(max_eid, 11);
local_epoch.ExitEpoch(12);
// now the lower bound is returned to 14.
max_eid = local_epoch.GetMaxCommittedEpochId(21);
EXPECT_EQ(max_eid, 14);
local_epoch.ExitEpoch(15);
// the last transaction has left.
// then max_eid should be 25 - 1.
max_eid = local_epoch.GetMaxCommittedEpochId(25);
EXPECT_EQ(max_eid, 24);
max_eid = local_epoch.GetMaxCommittedEpochId(30);
EXPECT_EQ(max_eid, 29);
}
} // End test namespace
} // End peloton namespace
| 26.938776 | 80 | 0.631439 | rntlqvnf |
f31694f51de2525718884e5e084c32c0942d7ab5 | 4,762 | cpp | C++ | Game.cpp | Marbax/second_exam_cpp | 2c812e1a33a717adb3b8393ea9412c5b6d31f519 | [
"MIT"
] | null | null | null | Game.cpp | Marbax/second_exam_cpp | 2c812e1a33a717adb3b8393ea9412c5b6d31f519 | [
"MIT"
] | null | null | null | Game.cpp | Marbax/second_exam_cpp | 2c812e1a33a717adb3b8393ea9412c5b6d31f519 | [
"MIT"
] | null | null | null | #include "Game.h"
//---------------------------------------------------------------------------------------------------
//---------------------------------Inits_for_Cstr----------------------------------------------------
//---------------------------------------------------------------------------------------------------
void Game::initWindow() noexcept(false)
{
// начальная инициализация дэфолтными параметрами
std::string title = "Game";
sf::VideoMode window_bounds(800, 242);
this->videoModes = sf::VideoMode::getFullscreenModes();
this->fullscreen = false;
unsigned int frame_limit = 60;
bool vertical_sync = false;
unsigned antialiasing_level = 0;
// загрузка конфигурации из файла
std::ifstream ifs;
ifs.open(R"(./confs/window.conf)");
if (!ifs.is_open())
throw std::system_error(errno, std::system_category(), "Failed to open ./confs/window.conf");
std::getline(ifs, title);
ifs >> window_bounds.width >> window_bounds.height;
ifs >> frame_limit;
ifs >> vertical_sync;
ifs >> this->fullscreen;
ifs >> antialiasing_level;
ifs.close();
this->windowSettings.antialiasingLevel = antialiasing_level;
if (this->fullscreen)
this->window = new sf::RenderWindow(window_bounds, title, sf::Style::Fullscreen, windowSettings);
else
this->window = new sf::RenderWindow(window_bounds, title);
this->window->setFramerateLimit(frame_limit);
this->window->setVerticalSyncEnabled(vertical_sync);
}
void Game::initKeys() noexcept(false)
{
std::ifstream ifs(R"(./confs/supported_keys.conf)");
if (!ifs.is_open())
throw std::system_error(errno, std::system_category(), "Failed to open ./confs/supported_keys.conf");
std::string key = "";
int key_value = 0;
while (ifs >> key >> key_value)
{
this->supportedKeys[key] = key_value;
}
ifs.close();
}
void Game::initStates() noexcept(false)
{
this->states.push(new MainMenuState(this->window, &this->supportedKeys, &this->states));
if (states.empty())
throw std::logic_error("GameState wasn't pushed in Game.cpp !");
}
//---------------------------------------------------------------------------------------------------
//---------------------------------Constructors/Destructors------------------------------------------
//---------------------------------------------------------------------------------------------------
Game::Game()
{
try
{
this->initWindow();
this->initKeys();
this->initStates();
}
catch (const std::system_error &ex)
{
std::cerr << "Error in Game.cpp.cpp." << ex.what() << " (" << ex.code() << ")" << std::endl;
}
catch (const std::logic_error &ex)
{
std::cerr << "Error in Game.cpp. " << ex.what() << std::endl;
}
}
Game::~Game()
{
delete this->window;
//пока есть стек состояний , то удаляет по одному сверху
while (!this->states.empty())
{
delete this->states.top();
this->states.pop();
}
}
//---------------------------------------------------------------------------------------------------
//---------------------------------Methods-----------------------------------------------------------
//---------------------------------------------------------------------------------------------------
void Game::endApplication()
{
std::cout << "Ending Application!" << std::endl;
}
void Game::updateDt()
{
this->dt = this->dtClock.getElapsedTime().asMilliseconds();
this->dtClock.restart();
}
void Game::updateSFMLEvents()
{
while (this->window->pollEvent(this->sfEvent))
{
if (this->sfEvent.type == sf::Event::Closed)
this->window->close();
}
}
void Game::update()
{
this->updateSFMLEvents();
//если есть состояния
if (!this->states.empty())
{
//если окно выбрано
if (this->window->hasFocus())
{
// апдейт всего в в верхнем стейте
this->states.top()->update(this->dt);
//если из состояния вышли - удалить его
if (this->states.top()->getQuit())
{
this->states.top()->endState();
delete this->states.top();
this->states.pop();
}
}
}
else
{
this->endApplication();
this->window->close();
}
}
void Game::render()
{
//очищает окно
this->window->clear();
//рендерит все в верхнем стейте
if (!this->states.empty())
this->states.top()->render();
this->window->display();
}
void Game::run()
{
while (this->window->isOpen())
{
this->updateDt();
this->update();
this->render();
}
}
| 27.211429 | 109 | 0.47942 | Marbax |
f31c3e00d76dd99f1faaded97846f530b873b415 | 8,224 | cpp | C++ | libs/nav/src/planners/PlannerRRT_common.cpp | wstnturner/mrpt | b0be3557a4cded6bafff03feb28f7fa1f75762a3 | [
"BSD-3-Clause"
] | 38 | 2015-01-04T05:24:26.000Z | 2015-07-17T00:30:02.000Z | libs/nav/src/planners/PlannerRRT_common.cpp | wstnturner/mrpt | b0be3557a4cded6bafff03feb28f7fa1f75762a3 | [
"BSD-3-Clause"
] | 40 | 2015-01-03T22:43:00.000Z | 2015-07-17T18:52:59.000Z | libs/nav/src/planners/PlannerRRT_common.cpp | wstnturner/mrpt | b0be3557a4cded6bafff03feb28f7fa1f75762a3 | [
"BSD-3-Clause"
] | 41 | 2015-01-06T12:32:19.000Z | 2017-05-30T15:50:13.000Z | /* +------------------------------------------------------------------------+
| Mobile Robot Programming Toolkit (MRPT) |
| https://www.mrpt.org/ |
| |
| Copyright (c) 2005-2022, Individual contributors, see AUTHORS file |
| See: https://www.mrpt.org/Authors - All rights reserved. |
| Released under BSD License. See: https://www.mrpt.org/License |
+------------------------------------------------------------------------+ */
#include "nav-precomp.h" // Precomp header
//
#include <mrpt/math/CPolygon.h>
#include <mrpt/nav/planners/PlannerRRT_common.h>
#include <mrpt/nav/tpspace/CPTG_DiffDrive_CollisionGridBased.h>
using namespace mrpt::nav;
using namespace mrpt::math;
using namespace mrpt::poses;
using namespace std;
RRTAlgorithmParams::RRTAlgorithmParams()
: ptg_cache_files_directory("."),
minAngBetweenNewNodes(mrpt::DEG2RAD(15))
{
robot_shape.push_back(mrpt::math::TPoint2D(-0.5, -0.5));
robot_shape.push_back(mrpt::math::TPoint2D(0.8, -0.4));
robot_shape.push_back(mrpt::math::TPoint2D(0.8, 0.4));
robot_shape.push_back(mrpt::math::TPoint2D(-0.5, 0.5));
}
PlannerTPS_VirtualBase::PlannerTPS_VirtualBase() = default;
void PlannerTPS_VirtualBase::internal_initialize_PTG()
{
ASSERTMSG_(
!m_PTGs.empty(),
"No PTG was defined! At least one must be especified.");
// Convert to CPolygon for API requisites:
mrpt::math::CPolygon poly_robot_shape;
poly_robot_shape.clear();
if (!params.robot_shape.empty())
{
vector<double> xm, ym;
params.robot_shape.getPlotData(xm, ym);
poly_robot_shape.setAllVertices(xm, ym);
}
for (size_t i = 0; i < m_PTGs.size(); i++)
{
mrpt::system::CTimeLoggerEntry tle(m_timelogger, "PTG_initialization");
// Polygonal robot shape?
{
auto* diff_ptg =
dynamic_cast<mrpt::nav::CPTG_DiffDrive_CollisionGridBased*>(
m_PTGs[i].get());
if (diff_ptg)
{
ASSERTMSG_(
!poly_robot_shape.empty(),
"No polygonal robot shape specified, and PTG requires "
"one!");
diff_ptg->setRobotShape(poly_robot_shape);
}
}
// Circular robot shape?
{
auto* ptg = dynamic_cast<mrpt::nav::CPTG_RobotShape_Circular*>(
m_PTGs[i].get());
if (ptg)
{
ASSERTMSG_(
params.robot_shape_circular_radius > 0,
"No circular robot shape specified, and PTG requires one!");
ptg->setRobotShapeRadius(params.robot_shape_circular_radius);
}
}
m_PTGs[i]->initialize(
mrpt::format(
"%s/TPRRT_PTG_%03u.dat.gz",
params.ptg_cache_files_directory.c_str(),
static_cast<unsigned int>(i)),
params.ptg_verbose);
}
m_initialized_PTG = true;
}
void PlannerTPS_VirtualBase::internal_loadConfig_PTG(
const mrpt::config::CConfigFileBase& ini, const std::string& sSect)
{
// Robot shape:
// ==========================
// polygonal shape
{
// Robot shape is a bit special to load:
params.robot_shape.clear();
const std::string sShape = ini.read_string(sSect, "robot_shape", "");
if (!sShape.empty())
{
CMatrixDouble mShape;
if (!mShape.fromMatlabStringFormat(sShape))
THROW_EXCEPTION_FMT(
"Error parsing robot_shape matrix: '%s'", sShape.c_str());
ASSERT_(mShape.rows() == 2);
ASSERT_(mShape.cols() >= 3);
for (int i = 0; i < mShape.cols(); i++)
params.robot_shape.push_back(
TPoint2D(mShape(0, i), mShape(1, i)));
}
}
// circular shape
params.robot_shape_circular_radius =
ini.read_double(sSect, "robot_shape_circular_radius", 0.0);
// Load PTG tables:
// ==========================
m_PTGs.clear();
const size_t PTG_COUNT =
ini.read_int(sSect, "PTG_COUNT", 0, true); // load the number of PTGs
for (unsigned int n = 0; n < PTG_COUNT; n++)
{
// Generate it:
const std::string sPTGName =
ini.read_string(sSect, format("PTG%u_Type", n), "", true);
m_PTGs.push_back(CParameterizedTrajectoryGenerator::CreatePTG(
sPTGName, ini, sSect, format("PTG%u_", n)));
}
}
// Auxiliary function:
void PlannerTPS_VirtualBase::transformPointcloudWithSquareClipping(
const mrpt::maps::CPointsMap& in_map, mrpt::maps::CPointsMap& out_map,
const mrpt::poses::CPose2D& asSeenFrom, const double MAX_DIST_XY)
{
size_t nObs;
const float *obs_xs, *obs_ys, *obs_zs;
in_map.getPointsBuffer(nObs, obs_xs, obs_ys, obs_zs);
out_map.clear();
out_map.reserve(nObs); // Prealloc mem for speed-up
const CPose2D invPose = -asSeenFrom;
// We can safely discard the rest of obstacles, since they cannot be
// converted into TP-Obstacles anyway!
for (size_t obs = 0; obs < nObs; obs++)
{
const double gx = obs_xs[obs], gy = obs_ys[obs];
if (std::abs(gx - asSeenFrom.x()) > MAX_DIST_XY ||
std::abs(gy - asSeenFrom.y()) > MAX_DIST_XY)
continue; // ignore this obstacle: anyway, I don't know how to map
// it to TP-Obs!
double ox, oy;
invPose.composePoint(gx, gy, ox, oy);
out_map.insertPointFast(ox, oy, 0);
}
}
/*---------------------------------------------------------------
SpaceTransformer
---------------------------------------------------------------*/
void PlannerTPS_VirtualBase::spaceTransformer(
const mrpt::maps::CSimplePointsMap& in_obstacles,
const mrpt::nav::CParameterizedTrajectoryGenerator* in_PTG,
const double MAX_DIST, std::vector<double>& out_TPObstacles)
{
using namespace mrpt::nav;
try
{
// Take "k_rand"s and "distances" such that the collision hits the
// obstacles
// in the "grid" of the given PT
// --------------------------------------------------------------------
size_t nObs;
const float *obs_xs, *obs_ys, *obs_zs;
// = in_obstacles.getPointsCount();
in_obstacles.getPointsBuffer(nObs, obs_xs, obs_ys, obs_zs);
// Init obs ranges:
in_PTG->initTPObstacles(out_TPObstacles);
for (size_t obs = 0; obs < nObs; obs++)
{
const float ox = obs_xs[obs];
const float oy = obs_ys[obs];
if (std::abs(ox) > MAX_DIST || std::abs(oy) > MAX_DIST)
continue; // ignore this obstacle: anyway, I don't know how to
// map it to TP-Obs!
in_PTG->updateTPObstacle(ox, oy, out_TPObstacles);
}
// Leave distances in out_TPObstacles un-normalized ([0,1]), so they
// just represent real distances in meters.
}
catch (const std::exception& e)
{
cerr << "[PT_RRT::SpaceTransformer] Exception:" << endl;
cerr << e.what() << endl;
}
catch (...)
{
cerr << "\n[PT_RRT::SpaceTransformer] Unexpected exception!:\n";
cerr << format("*in_PTG = %p\n", (void*)in_PTG);
if (in_PTG)
cerr << format("PTG = %s\n", in_PTG->getDescription().c_str());
cerr << endl;
}
}
void PlannerTPS_VirtualBase::spaceTransformerOneDirectionOnly(
const int tp_space_k_direction,
const mrpt::maps::CSimplePointsMap& in_obstacles,
const mrpt::nav::CParameterizedTrajectoryGenerator* in_PTG,
const double MAX_DIST, double& out_TPObstacle_k)
{
using namespace mrpt::nav;
try
{
// Take "k_rand"s and "distances" such that the collision hits the
// obstacles
// in the "grid" of the given PT
// --------------------------------------------------------------------
size_t nObs;
const float *obs_xs, *obs_ys, *obs_zs;
// = in_obstacles.getPointsCount();
in_obstacles.getPointsBuffer(nObs, obs_xs, obs_ys, obs_zs);
// Init obs ranges:
in_PTG->initTPObstacleSingle(tp_space_k_direction, out_TPObstacle_k);
for (size_t obs = 0; obs < nObs; obs++)
{
const float ox = obs_xs[obs];
const float oy = obs_ys[obs];
if (std::abs(ox) > MAX_DIST || std::abs(oy) > MAX_DIST)
continue; // ignore this obstacle: anyway, I don't know how to
// map it to TP-Obs!
in_PTG->updateTPObstacleSingle(
ox, oy, tp_space_k_direction, out_TPObstacle_k);
}
// Leave distances in out_TPObstacles un-normalized ([0,1]), so they
// just represent real distances in meters.
}
catch (const std::exception& e)
{
cerr << "[PT_RRT::SpaceTransformer] Exception:" << endl;
cerr << e.what() << endl;
}
catch (...)
{
cerr << "\n[PT_RRT::SpaceTransformer] Unexpected exception!:\n";
cerr << format("*in_PTG = %p\n", (void*)in_PTG);
if (in_PTG)
cerr << format("PTG = %s\n", in_PTG->getDescription().c_str());
cerr << endl;
}
}
| 30.235294 | 80 | 0.631931 | wstnturner |
f31d65db9e91aa732973e8c6b398494519f767a7 | 449 | cpp | C++ | libiop/common/common.cpp | alexander-zw/libiop | a2ed2ec2f3e85f29b6035951553b02cb737c817a | [
"MIT"
] | null | null | null | libiop/common/common.cpp | alexander-zw/libiop | a2ed2ec2f3e85f29b6035951553b02cb737c817a | [
"MIT"
] | null | null | null | libiop/common/common.cpp | alexander-zw/libiop | a2ed2ec2f3e85f29b6035951553b02cb737c817a | [
"MIT"
] | null | null | null | #include <libiop/common/common.hpp>
namespace libiop {
using std::size_t;
long double add_soundness_error_bits(const size_t bits1, const size_t bits2)
{
return add_soundness_error_bits((long double)bits1, (long double)bits2);
}
long double add_soundness_error_bits(const long double bits1, const long double bits2)
{
long double result = exp2l(-1.0 * bits1) + exp2l(-1.0 * bits2);
return -1 * log2l(result);
}
} // namespace libiop
| 23.631579 | 86 | 0.734967 | alexander-zw |
f3213e2bad4c92aa48177ace8afb40d6d34cacb0 | 30,226 | cpp | C++ | Code/Game/Test/Core/MemoryTests.cpp | NathanSaidas/LiteForgeMirror | 84068b62bff6e443b53c46107a3946e2645e4447 | [
"MIT"
] | null | null | null | Code/Game/Test/Core/MemoryTests.cpp | NathanSaidas/LiteForgeMirror | 84068b62bff6e443b53c46107a3946e2645e4447 | [
"MIT"
] | null | null | null | Code/Game/Test/Core/MemoryTests.cpp | NathanSaidas/LiteForgeMirror | 84068b62bff6e443b53c46107a3946e2645e4447 | [
"MIT"
] | null | null | null | // ********************************************************************
// Copyright (c) 2019 Nathan Hanlan
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files(the "Software"),
// to deal in the Software without restriction, including without limitation
// the rights to use, copy, modify, merge, publish, distribute, sublicense,
// and / or sell copies of the Software, and to permit persons to whom the
// Software is furnished to do so, subject to the following conditions :
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// ********************************************************************
#include "Core/Test/Test.h"
#include "Core/Math/Random.h"
#include "Core/Memory/DynamicPoolHeap.h"
#include "Core/Memory/Memory.h"
#include "Core/Memory/PoolHeap.h"
#include "Core/Memory/AtomicSmartPointer.h"
#include "Core/Memory/SmartPointer.h"
#include "Core/Platform/Atomic.h"
#include "Core/Platform/Thread.h"
#include "Core/Platform/ThreadFence.h"
#include "Core/Platform/RWSpinLock.h"
#include "Core/String/StringCommon.h"
#include "Core/String/SStream.h"
#include "Core/Utility/Array.h"
#include "Core/Utility/Log.h"
#include "Core/Utility/StdMap.h"
#include <utility>
#include <Windows.h>
namespace lf {
struct SampleObject
{
UInt32 a;
UInt32 b;
ByteT bytes[32];
};
REGISTER_TEST(PoolHeapTest)
{
SStream ss;
const SizeT NUM_OBJECTS = 10;
const SizeT BUFFER_SIZE = sizeof(SampleObject) * (NUM_OBJECTS - 1);
const SizeT NUM_POOL_OBJECTS = NUM_OBJECTS - 2;
// Create heap
PoolHeap heap;
heap.Initialize(sizeof(SampleObject), alignof(SampleObject), NUM_POOL_OBJECTS, PoolHeap::PHF_DOUBLE_FREE);
TStaticArray<SampleObject*, NUM_POOL_OBJECTS> objects;
TStaticArray<SampleObject*, NUM_POOL_OBJECTS> ordered;
objects.Resize(NUM_POOL_OBJECTS);
// Allocate objects in order.
for (SizeT i = 0; i < NUM_POOL_OBJECTS; ++i)
{
objects[i] = static_cast<SampleObject*>(heap.Allocate());
TEST(objects[i] != nullptr);
ordered.Add(objects[i]);
memset(objects[i], static_cast<int>(i), sizeof(SampleObject));
ss << "Allocated 0x" << ToHexString(reinterpret_cast<UIntPtrT>(objects[i])) << "\n";
}
// Free objects in same order. (note the next allocations will occur in reverse order)
TEST(heap.Allocate() == nullptr);
for (SizeT i = 0; i < NUM_POOL_OBJECTS; ++i)
{
memset(objects[i], 0xFF, sizeof(SampleObject));
ss << "Free 0x" << ToHexString(reinterpret_cast<UIntPtrT>(objects[i])) << "\n";
heap.Free(objects[i]);
objects[i] = nullptr;
}
// Allocate objects
for (SizeT i = 0; i < NUM_POOL_OBJECTS; ++i)
{
objects[i] = static_cast<SampleObject*>(heap.Allocate());
TEST(objects[i] != nullptr);
ss << "Allocated 0x" << ToHexString(reinterpret_cast<UIntPtrT>(objects[i])) << "\n";
}
TEST(heap.Allocate() == nullptr);
// Free objects in 'random' order.
Int32 seed = 0xCADE1337;
for (SizeT i = 0; i < NUM_POOL_OBJECTS; ++i)
{
SizeT index = static_cast<SizeT>(Random::Mod(seed, static_cast<UInt32>(objects.Size())));
memset(objects[index], static_cast<int>(i), sizeof(SampleObject));
ss << "Free 0x" << ToHexString(reinterpret_cast<UIntPtrT>(objects[index])) << "\n";
heap.Free(objects[index]);
objects[index] = nullptr;
objects.Remove(objects.begin() + index);
}
// Allocate objects in reverse order they were deallocated.
objects.Resize(NUM_POOL_OBJECTS);
for (SizeT i = 0; i < NUM_POOL_OBJECTS; ++i)
{
objects[i] = static_cast<SampleObject*>(heap.Allocate());
TEST(objects[i] != nullptr);
ss << "Allocated 0x" << ToHexString(reinterpret_cast<UIntPtrT>(objects[i])) << "\n";
}
TEST(heap.Allocate() == nullptr);
// Free all objects.
for (SizeT i = 0; i < NUM_POOL_OBJECTS; ++i)
{
ss << "Free 0x" << ToHexString(reinterpret_cast<UIntPtrT>(objects[i])) << "\n";
heap.Free(objects[i]);
objects[i] = nullptr;
}
// Release all memory.
heap.Release();
gTestLog.Info(LogMessage("\n") << ss.Str());
}
REGISTER_TEST(PoolHeapTestLarge)
{
const SizeT NUM_OBJECTS = 35000;
const SizeT BUFFER_SIZE = sizeof(SampleObject) * (NUM_OBJECTS - 1);
const SizeT NUM_POOL_OBJECTS = NUM_OBJECTS - 2;
// Create heap
PoolHeap heap;
heap.Initialize(sizeof(SampleObject), alignof(SampleObject), NUM_POOL_OBJECTS);
TArray<SampleObject*> objects;
TArray<SampleObject*> ordered;
objects.Reserve(NUM_POOL_OBJECTS);
ordered.Reserve(NUM_POOL_OBJECTS);
objects.Resize(NUM_POOL_OBJECTS);
// Allocate objects in order.
for (SizeT i = 0; i < NUM_POOL_OBJECTS; ++i)
{
objects[i] = static_cast<SampleObject*>(heap.Allocate());
TEST(objects[i] != nullptr);
ordered.Add(objects[i]);
memset(objects[i], static_cast<int>(i), sizeof(SampleObject));
}
// Free objects in same order. (note the next allocations will occur in reverse order)
TEST(heap.Allocate() == nullptr);
for (SizeT i = 0; i < NUM_POOL_OBJECTS; ++i)
{
memset(objects[i], 0xFF, sizeof(SampleObject));
heap.Free(objects[i]);
objects[i] = nullptr;
}
// Allocate objects
for (SizeT i = 0; i < NUM_POOL_OBJECTS; ++i)
{
objects[i] = static_cast<SampleObject*>(heap.Allocate());
TEST(objects[i] != nullptr);
}
TEST(heap.Allocate() == nullptr);
// Free objects in 'random' order.
Int32 seed = 0xCADE1337;
for (SizeT i = 0; i < NUM_POOL_OBJECTS; ++i)
{
SizeT index = static_cast<SizeT>(Random::Mod(seed, static_cast<UInt32>(objects.Size())));
memset(objects[index], static_cast<int>(i), sizeof(SampleObject));
heap.Free(objects[index]);
objects[index] = nullptr;
objects.Remove(objects.begin() + index);
}
// Allocate objects in reverse order they were deallocated.
objects.Resize(NUM_POOL_OBJECTS);
for (SizeT i = 0; i < NUM_POOL_OBJECTS; ++i)
{
objects[i] = static_cast<SampleObject*>(heap.Allocate());
TEST(objects[i] != nullptr);
}
TEST(heap.Allocate() == nullptr);
// Free all objects.
for (SizeT i = 0; i < NUM_POOL_OBJECTS; ++i)
{
heap.Free(objects[i]);
objects[i] = nullptr;
}
// Release all memory.
heap.Release();
}
struct PoolHeapTestContext;
struct PoolHeapThreadData
{
SizeT mIndex;
PoolHeapTestContext* mContext;
TArray<SampleObject*> mIn;
TArray<SampleObject*> mOut;
Thread mThread;
};
struct PoolHeapTestContext
{
SizeT mPoolObjects;
SizeT mObjectAllocations;
ThreadFence mSignal;
PoolHeap mHeap;
TArray<PoolHeapThreadData> mThreads;
};
static void ProcessPoolHeapThreadTest(void* data)
{
PoolHeapThreadData* threadData = reinterpret_cast<PoolHeapThreadData*>(data);
threadData->mContext->mSignal.Wait();
const SizeT capacity = threadData->mOut.Capacity();
for (SizeT i = 0; i < capacity; ++i)
{
SampleObject* object = reinterpret_cast<SampleObject*>(threadData->mContext->mHeap.Allocate());
memset(object, static_cast<int>(i), sizeof(SampleObject));
object->a = static_cast<UInt32>(threadData->mIndex);
threadData->mOut.Add(object);
}
}
REGISTER_TEST(PoolHeapMultithreaded)
{
if (!TestFramework::GetConfig().mStress)
{
gTestLog.Info(LogMessage("Ignoring test, stress tests not enabled..."));
return;
}
// If we have 4 threads... and 200 objects..
// We can allocate 50 objects foreach thread.
// From this we should be able to verify that each thread has their own object.
// And the pool heap cannot allocate anymore objects.
//
{
SizeT NUM_THREADS = 4;
SizeT NUM_OBJECTS = 100000;
PoolHeapTestContext context;
context.mObjectAllocations = NUM_OBJECTS / NUM_THREADS;
context.mPoolObjects = (NUM_OBJECTS + 2) - 2;
gTestLog.Info(LogMessage(""));
TEST(context.mHeap.Initialize(
sizeof(SampleObject),
alignof(SampleObject),
context.mPoolObjects));
context.mThreads.Resize(NUM_THREADS);
for (SizeT i = 0; i < context.mThreads.Size(); ++i)
{
context.mThreads[i].mIndex = i;
context.mThreads[i].mContext = &context;
context.mThreads[i].mIn.Reserve(context.mObjectAllocations);
context.mThreads[i].mOut.Reserve(context.mObjectAllocations);
}
for (SizeT i = 0; i < context.mThreads.Size(); ++i)
{
context.mThreads[i].mThread.Fork(ProcessPoolHeapThreadTest, &context.mThreads[i]);
}
SleepCallingThread(1000);
context.mSignal.Signal();
for (SizeT i = 0; i < context.mThreads.Size(); ++i)
{
context.mThreads[i].mThread.Join();
}
// Verify all objects are owned by their creator threads
// Verify all objects are unique
ByteT expectedMemory[sizeof(SampleObject)];
TArray<SampleObject*> objects;
objects.Reserve(context.mPoolObjects);
for (SizeT i = 0; i < context.mThreads.Size(); ++i)
{
for (SizeT k = 0; k < context.mThreads[i].mOut.Size(); ++k)
{
SampleObject* object = context.mThreads[i].mOut[k];
TEST(object->a == static_cast<UInt32>(context.mThreads[i].mIndex));
TEST(std::find(objects.begin(), objects.end(), object) == objects.end());
ByteT* bytes = &reinterpret_cast<ByteT*>(object)[4];
memset(expectedMemory, static_cast<int>(k), sizeof(SampleObject));
TEST(memcmp(bytes, expectedMemory, sizeof(SampleObject) - 4) == 0);
objects.Add(object);
}
}
context.mHeap.Release();
}
// We can even have 8 threads and 1000 objects
// Threads can allocate until the pool returns null
// We should then be able to verify that all threads allocates unique objects
// and that the pool is exhausted.
//
//
// If we allocate 500 objects on main thread, pass 250 each to 2 threads to free
// and allocate 250 each on 2 other threads.
// We should be ableto allocate 500 objects on main thread
// We should be able to verify all objects are unique.
//
}
#if defined(LF_USE_EXCEPTIONS)
REGISTER_TEST(PoolHeapDoubleFreeTest)
{
PoolHeap heap;
heap.Initialize(40, 8, 10, PoolHeap::PHF_DOUBLE_FREE);
void* ptr = heap.Allocate();
heap.Free(ptr);
TEST_CRITICAL_EXCEPTION(heap.Free(ptr));
heap.Release();
}
#endif
struct ReaderWriterState
{
RWSpinLock mLock;
Atomic32 mReaders;
Atomic32 mWriters;
Atomic32 mMultiReaders;
Atomic32 mExecute;
};
const SizeT LOOP_ITERATIONS = 10000000;
static void Readers(void* data)
{
ReaderWriterState* state = reinterpret_cast<ReaderWriterState*>(data);
while (AtomicLoad(&state->mExecute) == 0)
{
}
for (SizeT i = 0; i < LOOP_ITERATIONS; ++i)
{
ScopeRWLockRead lock(state->mLock);
Atomic32 numReaders = AtomicIncrement32(&state->mReaders);
TEST(AtomicLoad(&state->mWriters) == 0);
TEST(numReaders >= 0);
if (numReaders > 1)
{
AtomicIncrement32(&state->mMultiReaders);
}
AtomicDecrement32(&state->mReaders);
}
}
static void Writers(void* data)
{
ReaderWriterState* state = reinterpret_cast<ReaderWriterState*>(data);
while (AtomicLoad(&state->mExecute) == 0)
{
}
for (SizeT i = 0; i < LOOP_ITERATIONS; ++i)
{
ScopeRWLockWrite lock(state->mLock);
Atomic32 numWriters = AtomicIncrement32(&state->mWriters);
TEST(AtomicLoad(&state->mReaders) == 0);
TEST(numWriters == 1);
AtomicDecrement32(&state->mWriters);
}
}
REGISTER_TEST(ReaderWriteLockTest)
{
if (!TestFramework::GetConfig().mStress)
{
gTestLog.Info(LogMessage("Ignoring test, stress tests not enabled..."));
return;
}
ReaderWriterState state;
AtomicStore(&state.mExecute, 0);
AtomicStore(&state.mMultiReaders, 0);
AtomicStore(&state.mReaders, 0);
AtomicStore(&state.mWriters, 0);
Thread readers[12];
Thread writers[3];
for (SizeT i = 0; i < LF_ARRAY_SIZE(readers); ++i)
{
readers[i].Fork(Readers, &state);
readers[i].SetDebugName("ReaderThread");
}
for (SizeT i = 0; i < LF_ARRAY_SIZE(writers); ++i)
{
writers[i].Fork(Writers, &state);
writers[i].SetDebugName("WriterThread");
}
AtomicStore(&state.mExecute, 1);
for (SizeT i = 0; i < LF_ARRAY_SIZE(readers); ++i)
{
readers[i].Join();
}
for (SizeT i = 0; i < LF_ARRAY_SIZE(writers); ++i)
{
writers[i].Join();
}
}
REGISTER_TEST(DynamicPoolHeapTest)
{
TArray<void*> objects;
DynamicPoolHeap heap;
TEST(heap.GetHeapCount() == 0);
TEST(heap.GetGarbageHeapCount() == 0);
heap.Initialize(64, 8, 4);
TEST(heap.GetHeapCount() == 1);
TEST(heap.GetGarbageHeapCount() == 0);
// 0 1 2 3 | 4 5 6 7 | 8 9 10 11
for (SizeT i = 0; i < 3 * 4; ++i)
{
objects.Add(heap.Allocate());
}
TEST(heap.GetHeapCount() == 3);
TEST(heap.GetGarbageHeapCount() == 0);
heap.Free(objects[1]);
heap.GCCollect();
TEST(heap.GetHeapCount() == 3);
TEST(heap.GetGarbageHeapCount() == 0);
heap.Free(objects[4]);
heap.GCCollect();
TEST(heap.GetHeapCount() == 3);
TEST(heap.GetGarbageHeapCount() == 0);
heap.Free(objects[5]);
heap.GCCollect();
TEST(heap.GetHeapCount() == 3);
TEST(heap.GetGarbageHeapCount() == 0);
heap.Free(objects[6]);
heap.GCCollect();
TEST(heap.GetHeapCount() == 3);
TEST(heap.GetGarbageHeapCount() == 0);
heap.Free(objects[7]);
TEST(heap.GetHeapCount() == 3);
TEST(heap.GetGarbageHeapCount() == 1);
heap.GCCollect();
TEST(heap.GetHeapCount() == 2);
TEST(heap.GetGarbageHeapCount() == 0);
heap.Free(objects[8]);
heap.GCCollect();
TEST(heap.GetHeapCount() == 2);
TEST(heap.GetGarbageHeapCount() == 0);
heap.Free(objects[9]);
heap.GCCollect();
TEST(heap.GetHeapCount() == 2);
TEST(heap.GetGarbageHeapCount() == 0);
heap.Free(objects[10]);
heap.GCCollect();
TEST(heap.GetHeapCount() == 2);
TEST(heap.GetGarbageHeapCount() == 0);
heap.Free(objects[11]);
TEST(heap.GetHeapCount() == 2);
TEST(heap.GetGarbageHeapCount() == 1);
heap.GCCollect();
TEST(heap.GetHeapCount() == 1);
TEST(heap.GetGarbageHeapCount() == 0);
heap.Release();
objects.Clear();
// Round 2:
TEST(heap.GetHeapCount() == 0);
TEST(heap.GetGarbageHeapCount() == 0);
heap.Initialize(64, 8, 4);
TEST(heap.GetHeapCount() == 1);
TEST(heap.GetGarbageHeapCount() == 0);
// 0 1 2 3 | 4 5 6 7 | 8 9 10 11
for (SizeT i = 0; i < 3 * 4; ++i)
{
objects.Add(heap.Allocate());
}
TEST(heap.GetHeapCount() == 3);
TEST(heap.GetGarbageHeapCount() == 0);
heap.Free(objects[4]);
heap.Free(objects[5]);
heap.Free(objects[6]);
heap.Free(objects[7]);
heap.Free(objects[8]);
heap.Free(objects[9]);
heap.Free(objects[10]);
heap.Free(objects[11]);
TEST(heap.GetHeapCount() == 3);
TEST(heap.GetGarbageHeapCount() == 2);
heap.GCCollect();
TEST(heap.GetHeapCount() == 1);
TEST(heap.GetGarbageHeapCount() == 0);
}
struct ConcurrentDynamicPoolHeapTestState;
struct ConcurrentDynamicPoolHeapTestSharedState
{
DynamicPoolHeap mHeap;
TArray<ConcurrentDynamicPoolHeapTestState> mStates;
volatile Atomic32 mExecute;
};
struct ConcurrentDynamicPoolHeapTestState
{
Thread mThread;
TArray<void*> mObjects;
SizeT mID;
ConcurrentDynamicPoolHeapTestSharedState* mState;
};
struct LF_ALIGN(8) ConcurrentObject
{
ByteT mData[64];
};
static void ConcurrentDynamicPoolAllocate(void* param)
{
ConcurrentDynamicPoolHeapTestState* self = reinterpret_cast<ConcurrentDynamicPoolHeapTestState*>(param);
while (AtomicLoad(&self->mState->mExecute) == 0)
{
}
DynamicPoolHeap& heap = self->mState->mHeap;
SizeT numObjects = self->mObjects.Size();
for (SizeT i = 0; i < numObjects; ++i)
{
self->mObjects[i] = heap.Allocate();
}
}
static void ConcurrentDynamicPoolFree(void* param)
{
ConcurrentDynamicPoolHeapTestState* self = reinterpret_cast<ConcurrentDynamicPoolHeapTestState*>(param);
while (AtomicLoad(&self->mState->mExecute) == 0)
{
}
DynamicPoolHeap& heap = self->mState->mHeap;
SizeT numObjects = self->mObjects.Size();
for (SizeT i = 0; i < numObjects; ++i)
{
if (self->mObjects[i])
{
heap.Free(self->mObjects[i]);
self->mObjects[i] = nullptr;
}
}
}
static void ConcurrentDynamicPoolStableAllocate(void* param)
{
ConcurrentDynamicPoolHeapTestState* self = reinterpret_cast<ConcurrentDynamicPoolHeapTestState*>(param);
while (AtomicLoad(&self->mState->mExecute) == 0)
{
}
SizeT numAllocs = self->mObjects.Size();
SizeT objectsAllocated = 0;
while (objectsAllocated < numAllocs)
{
void* object = self->mState->mHeap.Allocate();
if (object)
{
self->mObjects[objectsAllocated++] = object;
}
}
// Reserve ( N )
// Allocate ( 1/2 * N )
// Multithreaded Allocate (3/4 * N)
// Multithreaded Free ( 1/4 * N )
// Result: Exhausted Heap
// Free ( 1/4 * N )
// Multithreaded Allocate (1/4 * N)
// Multithreaded Free(3/4 * N)
// Result: 1/4 Allocated
//
}
static void ConcurrentExecuteTest()
{
const SizeT NUM_OBJECTS_PER_THREAD = 750;
const SizeT NUM_HEAPS = 4;
const SizeT MAX_HEAPS = 3;
const SizeT MAX_OBJECTS = (NUM_OBJECTS_PER_THREAD * NUM_HEAPS) / MAX_HEAPS;
ConcurrentDynamicPoolHeapTestSharedState sharedState;
AtomicStore(&sharedState.mExecute, 0);
sharedState.mHeap.Initialize(sizeof(ConcurrentObject), alignof(ConcurrentObject), MAX_OBJECTS, MAX_HEAPS, PoolHeap::PHF_DOUBLE_FREE);
sharedState.mStates.Resize(NUM_HEAPS);
for (SizeT i = 0; i < NUM_HEAPS; ++i)
{
sharedState.mStates[i].mState = &sharedState;
sharedState.mStates[i].mID = i;
sharedState.mStates[i].mObjects.Reserve(NUM_OBJECTS_PER_THREAD);
sharedState.mStates[i].mObjects.Resize(NUM_OBJECTS_PER_THREAD);
sharedState.mStates[i].mThread.Fork(ConcurrentDynamicPoolAllocate, &sharedState.mStates[i]);
}
// Allocate
AtomicStore(&sharedState.mExecute, 1);
for (SizeT i = 0; i < NUM_HEAPS; ++i)
{
sharedState.mStates[i].mThread.Join();
}
AtomicStore(&sharedState.mExecute, 0);
TMap<UIntPtrT, SizeT> addresses;
for (SizeT i = 0; i < NUM_HEAPS; ++i)
{
for (SizeT k = 0; k < sharedState.mStates[i].mObjects.Size(); ++k)
{
UIntPtrT object = reinterpret_cast<UIntPtrT>(sharedState.mStates[i].mObjects[k]);
SizeT& value = addresses[object];
++value;
TEST(value == 1);
}
}
TEST(sharedState.mHeap.GetHeapCount() == MAX_HEAPS);
TEST(sharedState.mHeap.GetGarbageHeapCount() == 0);
TEST(sharedState.mHeap.GetAllocations() == NUM_OBJECTS_PER_THREAD * NUM_HEAPS);
for (SizeT i = 0; i < NUM_HEAPS; ++i)
{
sharedState.mStates[i].mThread.Fork(ConcurrentDynamicPoolFree, &sharedState.mStates[i]);
}
// Free
AtomicStore(&sharedState.mExecute, 1);
for (SizeT i = 0; i < NUM_HEAPS; ++i)
{
sharedState.mStates[i].mThread.Join();
}
TEST(sharedState.mHeap.GetHeapCount() == 3);
TEST(sharedState.mHeap.GetGarbageHeapCount() == 2);
TEST(sharedState.mHeap.GetAllocations() == 0);
// Allocate:
AtomicStore(&sharedState.mExecute, 0);
for (SizeT i = 0; i < NUM_HEAPS; ++i)
{
sharedState.mStates[i].mThread.Fork(ConcurrentDynamicPoolAllocate, &sharedState.mStates[i]);
}
AtomicStore(&sharedState.mExecute, 1);
for (SizeT i = 0; i < NUM_HEAPS; ++i)
{
sharedState.mStates[i].mThread.Join();
}
TEST(sharedState.mHeap.GetHeapCount() == 3);
TEST(sharedState.mHeap.GetGarbageHeapCount() == 0);
TEST(sharedState.mHeap.GetAllocations() == NUM_OBJECTS_PER_THREAD * NUM_HEAPS);
// Free:
AtomicStore(&sharedState.mExecute, 0);
for (SizeT i = 0; i < NUM_HEAPS; ++i)
{
sharedState.mStates[i].mThread.Fork(ConcurrentDynamicPoolFree, &sharedState.mStates[i]);
}
AtomicStore(&sharedState.mExecute, 1);
for (SizeT i = 0; i < NUM_HEAPS; ++i)
{
sharedState.mStates[i].mThread.Join();
}
TEST(sharedState.mHeap.GetHeapCount() == 3);
TEST(sharedState.mHeap.GetGarbageHeapCount() == 2);
TEST(sharedState.mHeap.GetAllocations() == 0);
// Collect
sharedState.mHeap.GCCollect();
TEST(sharedState.mHeap.GetGarbageHeapCount() == 0);
TEST(sharedState.mHeap.GetHeapCount() == 1);
sharedState.mHeap.Release();
}
static void ConcurrentExecuteExhaustiveTest()
{
const SizeT NUM_OBJECTS_PER_THREAD = 750;
const SizeT NUM_NULL_OBJECTS = 200;
const SizeT NUM_THREADS = 4;
const SizeT MAX_HEAPS = 3;
const SizeT MAX_OBJECTS_PER_HEAP = (NUM_OBJECTS_PER_THREAD * NUM_THREADS) / MAX_HEAPS;
const SizeT MAX_OBJECTS = (NUM_OBJECTS_PER_THREAD * NUM_THREADS) + NUM_NULL_OBJECTS;
ConcurrentDynamicPoolHeapTestSharedState sharedState;
AtomicStore(&sharedState.mExecute, 0);
sharedState.mHeap.Initialize(sizeof(ConcurrentObject), alignof(ConcurrentObject), MAX_OBJECTS_PER_HEAP, MAX_HEAPS, PoolHeap::PHF_DOUBLE_FREE);
sharedState.mStates.Resize(NUM_THREADS);
for (SizeT i = 0; i < NUM_THREADS; ++i)
{
sharedState.mStates[i].mState = &sharedState;
sharedState.mStates[i].mID = i;
sharedState.mStates[i].mObjects.Reserve(MAX_OBJECTS / NUM_THREADS);
sharedState.mStates[i].mObjects.Resize(MAX_OBJECTS / NUM_THREADS);
sharedState.mStates[i].mThread.Fork(ConcurrentDynamicPoolAllocate, &sharedState.mStates[i]);
}
// Allocate
AtomicStore(&sharedState.mExecute, 1);
for (SizeT i = 0; i < NUM_THREADS; ++i)
{
sharedState.mStates[i].mThread.Join();
}
AtomicStore(&sharedState.mExecute, 0);
TMap<UIntPtrT, SizeT> addresses;
for (SizeT i = 0; i < NUM_THREADS; ++i)
{
for (SizeT k = 0; k < sharedState.mStates[i].mObjects.Size(); ++k)
{
UIntPtrT object = reinterpret_cast<UIntPtrT>(sharedState.mStates[i].mObjects[k]);
SizeT& value = addresses[object];
++value;
if (object != 0)
{
TEST(value == 1);
}
}
}
TEST(sharedState.mHeap.GetHeapCount() == MAX_HEAPS);
TEST(sharedState.mHeap.GetGarbageHeapCount() == 0);
TEST(sharedState.mHeap.GetAllocations() == MAX_OBJECTS_PER_HEAP * MAX_HEAPS);
TEST(addresses[0] == NUM_NULL_OBJECTS);
sharedState.mHeap.Release();
}
static void ConcurrentAllocateFreeTest()
{
const SizeT MAX_OBJECTS_PER_HEAP = 1000;
const SizeT MAX_HEAPS = 3;
const SizeT Q1 = (MAX_OBJECTS_PER_HEAP * MAX_HEAPS) / 4;
const SizeT Q2 = Q1 * 2;
const SizeT Q3 = Q1 * 3;
ConcurrentDynamicPoolHeapTestSharedState sharedState;
sharedState.mHeap.Initialize(sizeof(ConcurrentObject), alignof(ConcurrentObject), MAX_OBJECTS_PER_HEAP, MAX_HEAPS, PoolHeap::PHF_DOUBLE_FREE);
// Allocate ( 1/2 * N )
sharedState.mStates.Resize(5);
for (ConcurrentDynamicPoolHeapTestState& state : sharedState.mStates)
{
state.mState = &sharedState;
state.mID = 0;
}
TArray<ConcurrentDynamicPoolHeapTestState*> freeStates;
freeStates.Add(&sharedState.mStates[0]);
freeStates.Add(&sharedState.mStates[1]);
TArray<ConcurrentDynamicPoolHeapTestState*> allocateStates;
allocateStates.Add(&sharedState.mStates[2]);
allocateStates.Add(&sharedState.mStates[3]);
allocateStates.Add(&sharedState.mStates[4]);
DynamicPoolHeap& heap = sharedState.mHeap;
TArray<void*> reserved;
for (SizeT i = 0; i < Q1; ++i)
{
void* pointer = heap.Allocate();
TEST(pointer != nullptr);
reserved.Add(pointer);
}
for (SizeT i = 0; i < Q1; ++i)
{
void* pointer = heap.Allocate();
TEST(pointer != nullptr);
freeStates[i % freeStates.Size()]->mObjects.Add(pointer);
}
AtomicStore(&sharedState.mExecute, 0);
// Launch Stablealloc
// Launch Free
for (ConcurrentDynamicPoolHeapTestState* state : freeStates)
{
state->mThread.Fork(ConcurrentDynamicPoolFree, state);
}
for (ConcurrentDynamicPoolHeapTestState* state : allocateStates)
{
state->mObjects.Resize(Q1);
state->mThread.Fork(ConcurrentDynamicPoolStableAllocate, state);
}
AtomicStore(&sharedState.mExecute, 1);
for (ConcurrentDynamicPoolHeapTestState& state : sharedState.mStates)
{
state.mThread.Join();
}
TMap<UIntPtrT, SizeT> map;
for (ConcurrentDynamicPoolHeapTestState* state : allocateStates)
{
for (void* obj : state->mObjects)
{
TEST(obj != nullptr);
SizeT& result = map[reinterpret_cast<UIntPtrT>(obj)];
++result;
TEST(result == 1);
}
}
for (ConcurrentDynamicPoolHeapTestState* state : freeStates)
{
for (void* obj : state->mObjects)
{
TEST(obj == nullptr);
}
state->mObjects.Clear();
}
TEST(heap.GetAllocations() == heap.GetMaxAllocations());
map.clear();
for (void* obj : reserved)
{
heap.Free(obj);
}
reserved.Clear();
AtomicStore(&sharedState.mExecute, 0);
for (ConcurrentDynamicPoolHeapTestState* state : allocateStates)
{
state->mThread.Fork(ConcurrentDynamicPoolFree, state);
}
for (ConcurrentDynamicPoolHeapTestState* state : freeStates)
{
state->mObjects.Resize(Q1 / 2);
state->mThread.Fork(ConcurrentDynamicPoolAllocate, state);
}
AtomicStore(&sharedState.mExecute, 1);
for (ConcurrentDynamicPoolHeapTestState& state : sharedState.mStates)
{
state.mThread.Join();
}
TEST(heap.GetAllocations() == Q1);
sharedState.mHeap.Release();
}
REGISTER_TEST(DynamicPoolHeapTestMultithreaded)
{
// We should be able to guarantee...
// All allocated pointers are unique
// writes to pointers of size do not overlap
// All allocated pointers are owned by a heap inside the dynamic heap
ConcurrentExecuteExhaustiveTest();
ConcurrentAllocateFreeTest();
for (SizeT i = 0; i < 1; ++i)
{
ConcurrentExecuteTest();
}
// multithreaded_allocate
// multithreaded_free
// multithreaded_allocate_free
// multithreaded_allocate_free_gc
}
struct ConvertableAtomicPtr : public TAtomicWeakPointerConvertable<ConvertableAtomicPtr>
{
};
struct ConvertablePtr : public TWeakPointerConvertable<ConvertablePtr>
{
};
REGISTER_TEST(ConvertableSmartPointersTest)
{
{
TAtomicStrongPointer<ConvertableAtomicPtr> ptr = MakeConvertableAtomicPtr<ConvertableAtomicPtr>();
TEST(ptr == GetAtomicPointer(ptr.AsPtr()));
TEST(ptr.GetStrongRefs() == 1);
TEST(ptr.GetWeakRefs() == 1);
{
ConvertableAtomicPtr* rawPtr = ptr.AsPtr();
const ConvertableAtomicPtr* constRawPtr = ptr.AsPtr();
auto wptr = GetAtomicPointer(rawPtr);
const auto& wptrRef = GetAtomicPointer(constRawPtr);
TEST(ptr.GetStrongRefs() == 1);
TEST(ptr.GetWeakRefs() == 2);
TEST(wptr == ptr);
TEST(wptrRef == ptr);
rawPtr = nullptr;
constRawPtr = nullptr;
wptr = GetAtomicPointer(rawPtr);
const auto& nullRef = GetAtomicPointer(constRawPtr);
TEST(nullRef == NULL_PTR);
TEST(wptr == NULL_PTR);
TEST(ptr.GetStrongRefs() == 1);
TEST(ptr.GetWeakRefs() == 1);
}
TAtomicWeakPointer<ConvertableAtomicPtr> wptrCheck = ptr;
ptr = NULL_PTR;
TEST(wptrCheck == NULL_PTR);
}
{
TStrongPointer<ConvertablePtr> ptr = MakeConvertablePtr<ConvertablePtr>();
TEST(ptr == GetPointer(ptr.AsPtr()));
TEST(ptr.GetStrongRefs() == 1);
TEST(ptr.GetWeakRefs() == 1);
{
ConvertablePtr* rawPtr = ptr.AsPtr();
const ConvertablePtr* constRawPtr = ptr.AsPtr();
auto wptr = GetPointer(rawPtr);
const auto& wptrRef = GetPointer(constRawPtr);
TEST(ptr.GetStrongRefs() == 1);
TEST(ptr.GetWeakRefs() == 2);
TEST(wptr == ptr);
TEST(wptrRef == ptr);
rawPtr = nullptr;
constRawPtr = nullptr;
wptr = GetPointer(rawPtr);
const auto& nullRef = GetPointer(constRawPtr);
TEST(nullRef == NULL_PTR);
TEST(wptr == NULL_PTR);
TEST(ptr.GetStrongRefs() == 1);
TEST(ptr.GetWeakRefs() == 1);
}
TWeakPointer<ConvertablePtr> wptrCheck = ptr;
ptr = NULL_PTR;
TEST(wptrCheck == NULL_PTR);
}
}
} // namespace lf
| 29.575342 | 146 | 0.629987 | NathanSaidas |
f3225733a984e5b5035d4360563ef3264bbb6273 | 6,521 | cc | C++ | lite/core/optimizer/mir/quantization_parameters_removal_pass.cc | newway/Paddle-Lite | 5fc90d69eef2fb6bb29716309920499924a9897e | [
"Apache-2.0"
] | 2 | 2021-08-05T07:47:41.000Z | 2021-11-18T15:34:10.000Z | lite/core/optimizer/mir/quantization_parameters_removal_pass.cc | newway/Paddle-Lite | 5fc90d69eef2fb6bb29716309920499924a9897e | [
"Apache-2.0"
] | null | null | null | lite/core/optimizer/mir/quantization_parameters_removal_pass.cc | newway/Paddle-Lite | 5fc90d69eef2fb6bb29716309920499924a9897e | [
"Apache-2.0"
] | null | null | null | // Copyright (c) 2021 PaddlePaddle 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.
#include "lite/core/optimizer/mir/quantization_parameters_removal_pass.h"
#include <vector>
#include "lite/core/optimizer/mir/pass_registry.h"
namespace paddle {
namespace lite {
namespace mir {
void QuantizationParametersRemovalPass::Apply(
const std::unique_ptr<SSAGraph>& graph) {
Scope* scope = nullptr;
for (auto& node : graph->nodes()) {
if (node.IsStmt()) {
scope = node.stmt()->op()->scope();
break;
}
}
CHECK(scope);
std::string mixed_precision_quantization_config =
GetMixedPrecisionQuantizationConfig(scope);
if (mixed_precision_quantization_config.empty()) {
VLOG(3) << "not receive mixed precision quantization config.";
return;
}
std::set<Node*> target_nodes =
GetTargetNodesFromMixedPrecisionQuantizationConfig(
graph, mixed_precision_quantization_config);
VLOG(3) << "find " << target_nodes.size() << " node matched.";
for (auto node : target_nodes) {
CHECK(node->IsStmt());
ClearQuantInfo(node);
for (auto out_node : node->outlinks) {
auto& out_type = out_node->AsArg().type;
if (out_type->precision() == PRECISION(kInt8)) {
// TODO(zhupengyang): Only support trans to kFloat now. Other precision
// should be considered.
out_type = LiteType::GetTensorTy(
out_type->target(), PRECISION(kFloat), out_type->layout());
}
}
}
}
std::string
QuantizationParametersRemovalPass::GetMixedPrecisionQuantizationConfig(
Scope* scope) {
std::string mixed_precision_quantization_config;
#if defined(LITE_ON_MODEL_OPTIMIZE_TOOL) || defined(LITE_WITH_PYTHON) || \
defined(LITE_WITH_NNADAPTER)
mixed_precision_quantization_config = Context<TargetType::kNNAdapter>::
NNAdapterMixedPrecisionQuantizationConfigBuffer(scope);
if (!mixed_precision_quantization_config.empty()) {
VLOG(3) << "Load mixed precision quantization config from buffer.";
} else {
auto path = Context<TargetType::kNNAdapter>::
NNAdapterMixedPrecisionQuantizationConfigPath(scope);
if (!path.empty()) {
std::vector<char> buffer;
if (ReadFile(path, &buffer, false)) {
if (!buffer.empty()) {
mixed_precision_quantization_config.insert(
mixed_precision_quantization_config.begin(),
buffer.begin(),
buffer.end());
VLOG(3) << "Load mixed precision quantization config from file:\n"
<< mixed_precision_quantization_config;
}
} else {
LOG(WARNING) << "Missing the mixed precision quantization config file: "
<< path;
}
}
}
#endif
return mixed_precision_quantization_config;
}
std::set<Node*> QuantizationParametersRemovalPass::
GetTargetNodesFromMixedPrecisionQuantizationConfig(
const std::unique_ptr<SSAGraph>& graph,
const std::string& mixed_precision_quantization_config) {
// Get target nodes from the mixed precision quantization config
std::set<Node*> target_nodes;
std::vector<std::string> lines =
Split(mixed_precision_quantization_config, "\n");
for (const auto& line : lines) {
if (line.empty()) continue;
std::vector<std::string> node_info = Split(line, ":");
std::string op_type = node_info.at(0);
std::vector<std::string> in_vars_name;
if (node_info.size() > 1) {
in_vars_name = Split(node_info.at(1), ",");
}
std::vector<std::string> out_vars_name;
if (node_info.size() > 2) {
out_vars_name = Split(node_info.at(2), ",");
}
for (auto& node : graph->mutable_nodes()) {
if (node.IsArg()) continue;
auto stmt = node.stmt();
if (op_type != stmt->op_type()) continue;
auto in_nodes = node.inlinks;
auto out_nodes = node.outlinks;
if (in_vars_name.size() > in_nodes.size() ||
out_vars_name.size() > out_nodes.size()) {
continue;
}
bool matched = true;
for (auto in_var_name : in_vars_name) {
bool find_var = false;
for (auto* in_node : in_nodes) {
if (in_node->arg()->name == in_var_name) {
find_var = true;
break;
}
}
if (!find_var) {
matched = false;
break;
}
}
for (auto out_var_name : out_vars_name) {
bool find_var = false;
for (auto* out_node : out_nodes) {
if (out_node->arg()->name == out_var_name) {
find_var = true;
break;
}
}
if (!find_var) {
matched = false;
break;
}
}
if (matched) {
target_nodes.insert(&node);
}
}
}
return target_nodes;
}
void QuantizationParametersRemovalPass::ClearQuantInfo(
paddle::lite::mir::Node* node) {
if (node->IsArg()) return;
auto op_desc = node->AsStmt().mutable_op_info();
op_desc->DeleteAttr("bit_length");
op_desc->DeleteAttr("enable_int8");
for (auto in_node : node->inlinks) {
auto input_name = in_node->AsArg().name;
std::string arg_name;
int idx = -1;
CHECK(op_desc->GetInputArgname(input_name, &arg_name));
CHECK(op_desc->GetInputIndex(input_name, &idx));
std::string scale_name = arg_name + std::to_string(idx) + "_scale";
op_desc->DeleteAttr(scale_name);
}
for (auto out_node : node->outlinks) {
auto output_name = out_node->AsArg().name;
std::string arg_name;
int idx = -1;
CHECK(op_desc->GetOutputArgname(output_name, &arg_name));
CHECK(op_desc->GetOutputIndex(output_name, &idx));
std::string scale_name = arg_name + std::to_string(idx) + "_scale";
op_desc->DeleteAttr(scale_name);
}
}
} // namespace mir
} // namespace lite
} // namespace paddle
REGISTER_MIR_PASS(quantization_parameters_removal_pass,
paddle::lite::mir::QuantizationParametersRemovalPass)
.BindTargets({TARGET(kNNAdapter)});
| 32.605 | 80 | 0.648367 | newway |
f3240e84b8bb70cca7031d9e5956bb501cee81b7 | 9,404 | cpp | C++ | gui/widgets/qlabelmousetracker.cpp | lkeegan/spatial-model-editor | 5dcb06550607b0a734acddd8b719035b68e35307 | [
"MIT"
] | 4 | 2019-07-18T15:05:09.000Z | 2020-03-14T09:50:07.000Z | gui/widgets/qlabelmousetracker.cpp | lkeegan/spatial-model-editor | 5dcb06550607b0a734acddd8b719035b68e35307 | [
"MIT"
] | 328 | 2019-06-30T12:03:01.000Z | 2020-10-05T15:56:35.000Z | gui/widgets/qlabelmousetracker.cpp | lkeegan/spatial-model-editor | 5dcb06550607b0a734acddd8b719035b68e35307 | [
"MIT"
] | 1 | 2019-06-08T22:47:14.000Z | 2019-06-08T22:47:14.000Z | #include "qlabelmousetracker.hpp"
#include "sme/logger.hpp"
#include <QPainter>
QLabelMouseTracker::QLabelMouseTracker(QWidget *parent) : QLabel(parent) {
setMouseTracking(true);
setAlignment(Qt::AlignmentFlag::AlignTop | Qt::AlignmentFlag::AlignLeft);
setMinimumSize(1, 1);
setWordWrap(true);
}
void QLabelMouseTracker::setImage(const QImage &img) {
image = img;
if (flipYAxis) {
image = image.mirrored();
}
constexpr int minImageWidth{100};
// on loading new image, set a minimum size for the widget
if (this->width() < minImageWidth) {
this->resize(minImageWidth, minImageWidth);
}
resizeImage(this->size());
setCurrentPixel(mapFromGlobal(QCursor::pos()));
}
const QImage &QLabelMouseTracker::getImage() const { return image; }
void QLabelMouseTracker::setMaskImage(const QImage &img) { maskImage = img; }
const QImage &QLabelMouseTracker::getMaskImage() const { return maskImage; }
void QLabelMouseTracker::setImages(const std::pair<QImage, QImage> &imgPair) {
setImage(imgPair.first);
setMaskImage(imgPair.second);
}
const QRgb &QLabelMouseTracker::getColour() const { return colour; }
int QLabelMouseTracker::getMaskIndex() const { return maskIndex; }
QPointF QLabelMouseTracker::getRelativePosition() const {
auto xRelPos{static_cast<double>(currentPixel.x()) /
static_cast<double>(image.width())};
auto yRelPos{static_cast<double>(currentPixel.y()) /
static_cast<double>(image.height())};
auto xAspectRatioFactor{static_cast<double>(pixmapImageSize.width()) /
static_cast<double>(pixmap.width())};
auto yAspectRatioFactor{static_cast<double>(pixmapImageSize.height()) /
static_cast<double>(pixmap.height())};
return {xRelPos * xAspectRatioFactor, yRelPos * yAspectRatioFactor};
}
void QLabelMouseTracker::mousePressEvent(QMouseEvent *ev) {
if (ev->buttons() == Qt::NoButton) {
return;
}
if (setCurrentPixel(ev->pos())) {
// update current colour and emit mouseClicked signal
auto imagePixel{currentPixel};
if (flipYAxis) {
imagePixel.setY(image.height() - 1 - imagePixel.y());
}
colour = image.pixelColor(imagePixel).rgb();
SPDLOG_DEBUG("imagePixel ({},{}) -> colour {:x}", imagePixel.x(),
imagePixel.y(), colour);
if (maskImage.valid(currentPixel)) {
maskIndex = static_cast<int>(maskImage.pixel(currentPixel) & RGB_MASK);
}
emit mouseClicked(colour, currentPixel);
}
}
void QLabelMouseTracker::mouseMoveEvent(QMouseEvent *ev) {
if (setCurrentPixel(ev->pos())) {
emit mouseOver(currentPixel);
}
}
void QLabelMouseTracker::mouseReleaseEvent(QMouseEvent *ev) { ev->accept(); }
void QLabelMouseTracker::mouseDoubleClickEvent(QMouseEvent *ev) {
ev->accept();
}
void QLabelMouseTracker::wheelEvent(QWheelEvent *ev) {
emit mouseWheelEvent(ev);
}
void QLabelMouseTracker::resizeEvent(QResizeEvent *event) {
if (event->oldSize() != event->size()) {
resizeImage(event->size());
}
}
bool QLabelMouseTracker::setCurrentPixel(const QPoint &pos) {
if (image.isNull() || pixmap.isNull() ||
(pos.x() >= pixmapImageSize.width() + offset.x()) ||
(pos.y() >= pixmapImageSize.height()) || pos.x() < offset.x() ||
pos.y() < 0) {
return false;
}
currentPixel.setX((image.width() * (pos.x() - offset.x())) /
pixmapImageSize.width());
currentPixel.setY((image.height() * pos.y()) / pixmapImageSize.height());
if (flipYAxis) {
currentPixel.setY(image.height() - currentPixel.y() - 1);
}
SPDLOG_TRACE("mouse at ({},{}) -> pixel ({},{})", pos.x(), pos.y(),
currentPixel.x(), currentPixel.y());
return true;
}
static std::pair<double, double> getGridWidth(const QSizeF &physicalSize,
const QSize &imageSize) {
constexpr double minWidthPixels{20};
// start with grid of width 1 physical unit
double gridPixelWidth{static_cast<double>(imageSize.width()) /
physicalSize.width()};
double gridPhysicalWidth{1.0};
// rescale with in pixels to: ~ [1, 2] * minWidthPixels
// hopefully with reasonably nice looking numerical intervals
while (gridPixelWidth < minWidthPixels) {
gridPhysicalWidth *= 10.0;
gridPixelWidth *= 10.0;
}
while (gridPixelWidth > 10 * minWidthPixels) {
gridPhysicalWidth /= 10.0;
gridPixelWidth /= 10.0;
}
if (gridPixelWidth > 8 * minWidthPixels) {
gridPhysicalWidth /= 5.0;
gridPixelWidth /= 5.0;
} else if (gridPixelWidth > 4 * minWidthPixels) {
gridPhysicalWidth /= 2.0;
gridPixelWidth /= 2.0;
}
return {gridPhysicalWidth, gridPixelWidth};
}
static QString getGridPointLabel(int i, double gridPhysicalWidth,
const QString &lengthUnits) {
double value{static_cast<double>(i) * gridPhysicalWidth};
auto label{QString::number(value, 'g', 3)};
if (i == 0) {
label.append(" ").append(lengthUnits);
}
return label;
}
static QSize getActualImageSize(const QSize &before, const QSize &after) {
QSize sz{after};
if (after.width() * before.height() > after.height() * before.width()) {
sz.rwidth() = before.width() * after.height() / before.height();
} else {
sz.rheight() = before.height() * after.width() / before.width();
}
return sz;
}
void QLabelMouseTracker::resizeImage(const QSize &size) {
if (image.isNull()) {
this->clear();
return;
}
pixmap = QPixmap(size);
pixmap.fill(QColor(0, 0, 0, 0));
offset = {0, 0};
QPainter p(&pixmap);
bool haveSpaceForScale{false};
if (drawScale) {
int w{p.fontMetrics().horizontalAdvance("8e+88")};
int h{p.fontMetrics().height()};
// only draw scale if picture is bigger than labels
if (size.width() > 2 * w && size.height() > 2 * h) {
offset = {w + tickLength, h + tickLength};
haveSpaceForScale = true;
}
}
QSize availableSize{size};
availableSize.rwidth() -= offset.x();
availableSize.rheight() -= offset.y();
auto scaledImage{
image.scaled(availableSize, aspectRatioMode, transformationMode)};
pixmapImageSize = getActualImageSize(image.size(), scaledImage.size());
p.drawImage(QPoint(offset.x(), 0), scaledImage);
SPDLOG_DEBUG("resize -> {}x{}, pixmap -> {}x{}, image -> {}x{}", size.width(),
size.height(), pixmap.width(), pixmap.height(),
pixmapImageSize.width(), pixmapImageSize.height());
if (drawGrid || (drawScale && haveSpaceForScale)) {
p.setPen(QColor(127, 127, 127));
auto [gridPhysicalWidth, gridPixelWidth] =
getGridWidth(physicalSize, pixmapImageSize);
int prevTextEnd{-1000};
for (int i = 0; i < (pixmapImageSize.width() - 1) / gridPixelWidth; ++i) {
int x{static_cast<int>(gridPixelWidth * static_cast<double>(i))};
if (drawGrid) {
p.drawLine(x + offset.x(), 0, x + offset.x(), pixmapImageSize.height());
}
if (drawScale && haveSpaceForScale) {
auto label{getGridPointLabel(i, gridPhysicalWidth, lengthUnits)};
// paint text label & extend tick mark if there is enough space
if (int labelWidth{p.fontMetrics().horizontalAdvance(label)};
prevTextEnd + (labelWidth + 1) / 2 + 4 < x &&
x + (labelWidth + 1) / 2 <= pixmapImageSize.width()) {
p.drawText(QRect(x + offset.x() - labelWidth / 2,
pixmapImageSize.height() - 1 + tickLength,
labelWidth, offset.y() - tickLength),
Qt::AlignHCenter | Qt::AlignTop, label);
p.drawLine(x + offset.x(), pixmapImageSize.height() - 1,
x + offset.x(), pixmapImageSize.height() - 1 + tickLength);
prevTextEnd = x + (labelWidth + 1) / 2;
}
}
}
for (int i = 0;
i < pixmapImageSize.height() / static_cast<int>(gridPixelWidth); ++i) {
auto y{static_cast<int>(gridPixelWidth * static_cast<double>(i))};
if (!flipYAxis) {
y = pixmapImageSize.height() - 1 - y;
}
if (drawGrid) {
p.drawLine(offset.x(), y, pixmapImageSize.width() + offset.x(), y);
}
if (drawScale && haveSpaceForScale) {
auto label{getGridPointLabel(i, gridPhysicalWidth, lengthUnits)};
p.drawText(
QRect(0, y - offset.y() / 2, offset.x() - tickLength, offset.y()),
Qt::AlignVCenter | Qt::AlignRight, label);
p.drawLine(offset.x() - tickLength, y, offset.x(), y);
}
}
}
p.end();
this->setPixmap(pixmap);
}
void QLabelMouseTracker::setAspectRatioMode(Qt::AspectRatioMode mode) {
aspectRatioMode = mode;
resizeImage(size());
}
void QLabelMouseTracker::setTransformationMode(Qt::TransformationMode mode) {
transformationMode = mode;
resizeImage(size());
}
void QLabelMouseTracker::setPhysicalSize(const QSizeF &size,
const QString &units) {
physicalSize = size;
lengthUnits = units;
resizeImage(this->size());
}
void QLabelMouseTracker::displayGrid(bool enable) {
drawGrid = enable;
resizeImage(this->size());
}
void QLabelMouseTracker::displayScale(bool enable) {
drawScale = enable;
resizeImage(this->size());
}
void QLabelMouseTracker::invertYAxis(bool enable) {
if (enable == flipYAxis) {
return;
}
flipYAxis = enable;
image = image.mirrored();
resizeImage(this->size());
}
| 34.573529 | 80 | 0.641004 | lkeegan |
f3272515e5abbe554aa3a495718d7838a92356e7 | 4,833 | cpp | C++ | src/psd_parser.cpp | rodolforg/godot_psd_importer | 72460d52b38ee7a6364e4bf0b5284898037a7a13 | [
"MIT"
] | null | null | null | src/psd_parser.cpp | rodolforg/godot_psd_importer | 72460d52b38ee7a6364e4bf0b5284898037a7a13 | [
"MIT"
] | null | null | null | src/psd_parser.cpp | rodolforg/godot_psd_importer | 72460d52b38ee7a6364e4bf0b5284898037a7a13 | [
"MIT"
] | null | null | null | #include "psd_parser.h"
#include "parser/PsdParser.h"
#include "Layer.h"
#include "LayerGroup.h"
#include "register_types.h"
#ifdef __cplusplus
extern "C" {
#endif
struct psd_parser {
PsdParser * parser;
};
struct psd_document {
Document * doc;
};
struct psd_layer {
Layer * layer;
};
struct psd_layer_group {
LayerGroup * group;
};
#ifdef __cplusplus
}
#endif
static struct psd_record * cxx_record_to_c(Record * record)
{
if (!record)
return NULL;
struct psd_record * ret = (struct psd_record *) api->godot_alloc(sizeof(struct psd_record));
ret->is_group = record->is_group()? 1 : 0;
if (ret->is_group) {
ret->data.group = (struct psd_layer_group *) api->godot_alloc(sizeof(struct psd_layer_group));
ret->data.group->group = (LayerGroup *) record;
} else {
ret->data.layer = (struct psd_layer *) api->godot_alloc(sizeof(struct psd_layer));
ret->data.layer->layer = (Layer *) record;
}
return ret;
}
struct psd_parser * psd_parser_new(const char * filename)
{
PsdParser * parser = new PsdParser(filename);
if (parser == NULL) {
return NULL;
}
struct psd_parser * ret = (struct psd_parser *) api->godot_alloc(sizeof(struct psd_parser));
if (ret == NULL) {
delete parser;
return NULL;
}
ret->parser = parser;
return ret;
}
void psd_parser_free(struct psd_parser * parser)
{
if (parser == NULL)
return;
delete parser->parser;
api->godot_free(parser);
}
struct psd_document * psd_parser_parse(struct psd_parser * parser)
{
if (parser == NULL || parser->parser == NULL) // !!
return NULL;
Document * doc = parser->parser->parse(); // !!!
if (doc == NULL)
return NULL;
struct psd_document * ret = (struct psd_document *) api->godot_alloc(sizeof(struct psd_document));
if (ret == NULL) {
delete doc;
return NULL;
}
ret->doc = doc;
return ret;
}
int psd_document_width(const struct psd_document * doc)
{
if (doc == NULL || doc->doc == NULL)
return -1;
return doc->doc->width();
}
int psd_document_height(const struct psd_document * doc)
{
if (doc == NULL || doc->doc == NULL)
return -1;
return doc->doc->height();
}
void psd_document_save_layers(const struct psd_document * doc, const char * dir)
{
if (doc == NULL || doc->doc == NULL)
return;
return doc->doc->save_layers(dir);
}
int psd_document_children_count(const struct psd_document * doc)
{
if (doc == NULL || doc->doc == NULL)
return -1;
return doc->doc->children_count();
}
void psd_document_free(struct psd_document * doc)
{
if (doc == NULL)
return;
delete doc->doc;
api->godot_free(doc);
}
struct psd_record * psd_document_first_child(struct psd_document * doc)
{
if (doc == NULL || doc->doc == NULL)
return NULL;
return cxx_record_to_c(doc->doc->first_child());
}
struct psd_record * psd_document_next_child(struct psd_document * doc)
{
if (doc == NULL || doc->doc == NULL)
return NULL;
return cxx_record_to_c(doc->doc->next_child());
}
int psd_document_has_next_child(const struct psd_document * doc)
{
if (doc == NULL || doc->doc == NULL)
return -1;
return doc->doc->has_next_child()? 1 : 0;
}
void psd_record_free(struct psd_record * record)
{
if (record == NULL)
return;
if (record->is_group)
api->godot_free(record->data.group);
else
api->godot_free(record->data.layer);
api->godot_free(record);
}
const char * psd_record_name(const struct psd_record * record)
{
if (record == NULL)
return NULL;
if (record->is_group)
return record->data.group->group->name();
else
return record->data.layer->layer->name();
}
struct psd_record * psd_layer_group_first_child(struct psd_layer_group * group)
{
if (group == NULL || group->group == NULL)
return NULL;
return cxx_record_to_c(group->group->first_child());
}
struct psd_record * psd_layer_group_next_child(struct psd_layer_group * group)
{
if (group == NULL || group->group == NULL)
return NULL;
return cxx_record_to_c(group->group->next_child());
}
int psd_layer_group_has_next_child(const struct psd_layer_group * group)
{
if (group == NULL || group->group == NULL)
return -1;
return group->group->has_next_child()? 1 : 0;
}
int psd_layer_group_children_count(const struct psd_layer_group * group)
{
if (group == NULL || group->group == NULL)
return -1;
return group->group->children_count();
}
int psd_layer_x(const struct psd_layer * layer)
{
if (layer == NULL || layer->layer == NULL)
return -1;
return layer->layer->x();
}
int psd_layer_y(const struct psd_layer * layer)
{
if (layer == NULL || layer->layer == NULL)
return -1;
return layer->layer->y();
}
int psd_layer_width(const struct psd_layer * layer)
{
if (layer == NULL || layer->layer == NULL)
return -1;
return layer->layer->width();
}
int psd_layer_height(const struct psd_layer * layer)
{
if (layer == NULL || layer->layer == NULL)
return -1;
return layer->layer->height();
}
| 20.742489 | 99 | 0.686737 | rodolforg |
f32acb33668fac4933a67569ad0105b843dfbf6d | 1,580 | cpp | C++ | src/ClientLib/Systems/PostFrameCallbackSystem.cpp | ImperatorS79/BurgWar | 5d8282513945e8f25e30d8491639eb297bfc0317 | [
"MIT"
] | null | null | null | src/ClientLib/Systems/PostFrameCallbackSystem.cpp | ImperatorS79/BurgWar | 5d8282513945e8f25e30d8491639eb297bfc0317 | [
"MIT"
] | null | null | null | src/ClientLib/Systems/PostFrameCallbackSystem.cpp | ImperatorS79/BurgWar | 5d8282513945e8f25e30d8491639eb297bfc0317 | [
"MIT"
] | null | null | null | // Copyright (C) 2020 Jérôme Leclercq
// This file is part of the "Burgwar" project
// For conditions of distribution and use, see copyright notice in LICENSE
#include <ClientLib/Systems/PostFrameCallbackSystem.hpp>
#include <CoreLib/LogSystem/Logger.hpp>
#include <CoreLib/Components/ScriptComponent.hpp>
#include <ClientLib/LocalMatch.hpp>
namespace bw
{
PostFrameCallbackSystem::PostFrameCallbackSystem(LocalMatch& match) :
m_match(match)
{
Requires<ScriptComponent>();
SetMaximumUpdateRate(0);
SetUpdateOrder(100);
}
void PostFrameCallbackSystem::OnEntityRemoved(Ndk::Entity* entity)
{
m_frameUpdateEntities.Remove(entity);
}
void PostFrameCallbackSystem::OnEntityValidation(Ndk::Entity* entity, bool /*justAdded*/)
{
auto& scriptComponent = entity->GetComponent<ScriptComponent>();
const auto& element = scriptComponent.GetElement();
if (element->postFrameFunction)
m_frameUpdateEntities.Insert(entity);
else
m_frameUpdateEntities.Remove(entity);
}
void PostFrameCallbackSystem::OnUpdate(float /*elapsedTime*/)
{
for (const Ndk::EntityHandle& entity : m_frameUpdateEntities)
{
auto& scriptComponent = entity->GetComponent<ScriptComponent>();
const auto& element = scriptComponent.GetElement();
assert(element->postFrameFunction);
auto result = element->postFrameFunction(scriptComponent.GetTable());
if (!result.valid())
{
sol::error err = result;
bwLog(m_match.GetLogger(), LogLevel::Error, "OnPostFrame failed: {0}", err.what());
}
}
}
Ndk::SystemIndex PostFrameCallbackSystem::systemIndex;
}
| 28.214286 | 90 | 0.751899 | ImperatorS79 |
f336af3dad317950019ef61e41d5357fe3c36efb | 2,853 | hpp | C++ | include/word2vec.hpp | JinseokNam/learn-vecreps | fe1a9b584081132026dd0ad46bc33837030a5338 | [
"Apache-2.0"
] | null | null | null | include/word2vec.hpp | JinseokNam/learn-vecreps | fe1a9b584081132026dd0ad46bc33837030a5338 | [
"Apache-2.0"
] | null | null | null | include/word2vec.hpp | JinseokNam/learn-vecreps | fe1a9b584081132026dd0ad46bc33837030a5338 | [
"Apache-2.0"
] | null | null | null | #ifndef WORD2VEC_HPP_
#define WORD2VEC_HPP_
#include "common.hpp"
#include "corpus.hpp"
typedef float real;
class Parameters
{
public:
long long d; // dimensionality of word vectors
long long V; // the number of words
int wn; // window size
real lr; // initial learning rate
int sg; // use skipgram if 1 otherwise use continuos bag of words (cbow)
int hs; // use hierarchical softmax if 1
real sample; // sampling probability
int negative; // the number of negative samples
int num_iters; // the number of iterations over train data
template<class Archive>
void serialize(Archive & ar, const unsigned int version)
{
ar & d;
ar & V;
ar & wn;
ar & lr;
ar & sg;
ar & hs;
ar & sample;
ar & negative;
ar & num_iters;
}
};
class Word2Vec
{
public:
Word2Vec(Corpus &corpus,
long long wordvec_dim,
int window_size,
real learning_rate,
int use_skipgram,
int use_hs,
int negative,
real sample,
int num_iters,
int num_threads,
int verbose);
~Word2Vec();
void start_train();
void export_vectors(std::string filepath);
private:
Corpus &m_Corpus;
std::vector<vocab_ptr>& m_vocabulary;
Parameters m_params;
int* m_table;
const int table_size = 1e+8;
real m_sample;
int m_num_iters;
int m_num_threads;
int m_verbose;
std::chrono::time_point<std::chrono::system_clock> m_start_time;
std::vector<std::string> split(const std::string &s, char delim, real sample_prob, unsigned long long &next_random);
std::vector<std::string> split(const std::string &s, char delim);
long long words_seen_actual;
boost::shared_ptr<real> U0; // word vectors
boost::shared_ptr<real> U1; // hierarchical softmax output
boost::shared_ptr<real> U2; // negative sampling output
void run(int thread_id);
void init();
void createTable();
// Allow serialization to access non-public data members.
friend class boost::serialization::access;
template<class Archive>
void serialize(Archive & ar, const unsigned int version)
{
real *U0_,*U1_,*U2_;
ar & m_params;
if(Archive::is_loading::value)
{
U0_ = new real[m_params.d * m_params.V];
U1_ = new real[m_params.d * m_params.V];
U2_ = new real[m_params.d * m_params.V];
U0.reset(U0_);
U1.reset(U1_);
U2.reset(U2_);
}
else
{
U0_ = U0.get();
U1_ = U1.get();
U2_ = U2.get();
}
ar & boost::serialization::make_array<real>(U0_,m_params.d*m_params.V);
ar & boost::serialization::make_array<real>(U1_,m_params.d*m_params.V);
ar & boost::serialization::make_array<real>(U2_,m_params.d*m_params.V);
ar & m_vocabulary;
}
};
#endif
| 25.247788 | 118 | 0.629863 | JinseokNam |
f3384b203ffdc19ab2a57ac6bae0950c45544b06 | 231 | cpp | C++ | addnumber.cpp | mishrajiharsh219/most-basic-c-programs | 2be753ae6ac639d26e1a042e9ecf2da3a8c10be7 | [
"MIT"
] | null | null | null | addnumber.cpp | mishrajiharsh219/most-basic-c-programs | 2be753ae6ac639d26e1a042e9ecf2da3a8c10be7 | [
"MIT"
] | null | null | null | addnumber.cpp | mishrajiharsh219/most-basic-c-programs | 2be753ae6ac639d26e1a042e9ecf2da3a8c10be7 | [
"MIT"
] | null | null | null | #include<iostream>
using namespace std;
int main()
{
int n,sum=0;
cout<<"how many number you want to add";
cin>>n;
for (int i = 0; i < n; i++)
{
int m;
cin>>m;
sum=sum+m;
}
cout<<"sum is"<<"\n"<<sum;
} | 13.588235 | 41 | 0.515152 | mishrajiharsh219 |
f33986732e32ffe57bcb3ff90ccedcf850199504 | 1,098 | cpp | C++ | leetcode/114_med_flatten-binary-tree-to-linked-list.cpp | shoryaconsul/code_practice | f04eeff266beffbba6d9f22e6f8c5861f0dbf998 | [
"MIT"
] | null | null | null | leetcode/114_med_flatten-binary-tree-to-linked-list.cpp | shoryaconsul/code_practice | f04eeff266beffbba6d9f22e6f8c5861f0dbf998 | [
"MIT"
] | null | null | null | leetcode/114_med_flatten-binary-tree-to-linked-list.cpp | shoryaconsul/code_practice | f04eeff266beffbba6d9f22e6f8c5861f0dbf998 | [
"MIT"
] | null | null | null | /**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode() : val(0), left(nullptr), right(nullptr) {}
* TreeNode(int x) : val(x), left(nullptr), right(nullptr) {}
* TreeNode(int x, TreeNode *left, TreeNode *right) : val(x), left(left), right(right) {}
* };
*/
class Solution {
public:
TreeNode* flattenRecursive(TreeNode* root){
if(!root) return nullptr;
if(root->left == NULL && root->right == NULL) return root;
if(root->left == NULL){ // only right child
return flattenRecursive(root->right);
}
// both children exist
TreeNode* tmp = root->right;
TreeNode* tail;
tail = flattenRecursive(root->left);
root->right = root->left;
root->left = NULL;
tail->right = tmp;
if(tmp != NULL) tail = flattenRecursive(tail->right);
return tail;
}
void flatten(TreeNode* root) {
TreeNode* dummy;
dummy = flattenRecursive(root);
}
}; | 28.894737 | 93 | 0.54918 | shoryaconsul |
f33f193971861f97abc5feec424da51a6a2d1d6c | 2,460 | cpp | C++ | src/Audio/AudioClip.cpp | ValtoForks/pomdog | 73798ae5f4a4c3b9b1e1e96239187c4b842c93b2 | [
"MIT"
] | null | null | null | src/Audio/AudioClip.cpp | ValtoForks/pomdog | 73798ae5f4a4c3b9b1e1e96239187c4b842c93b2 | [
"MIT"
] | null | null | null | src/Audio/AudioClip.cpp | ValtoForks/pomdog | 73798ae5f4a4c3b9b1e1e96239187c4b842c93b2 | [
"MIT"
] | null | null | null | // Copyright (c) 2013-2018 mogemimi. Distributed under the MIT license.
#include "Pomdog/Audio/AudioClip.hpp"
#if defined(POMDOG_PLATFORM_MACOSX) || defined(POMDOG_PLATFORM_APPLE_IOS)
#include "../SoundSystem.OpenAL/AudioClipAL.hpp"
#elif defined(POMDOG_PLATFORM_LINUX)
#include "../SoundSystem.OpenAL/AudioClipAL.hpp"
#elif defined(POMDOG_PLATFORM_WIN32) || defined(POMDOG_PLATFORM_XBOX_ONE)
#include "../SoundSystem.XAudio2/AudioClipXAudio2.hpp"
#endif
#include "Pomdog/Utility/Assert.hpp"
#include <utility>
namespace Pomdog {
namespace {
std::size_t GetSamples(
std::size_t sizeInBytes, int bitsPerSample, AudioChannels channels)
{
POMDOG_ASSERT(bitsPerSample >= 8);
POMDOG_ASSERT(bitsPerSample == 8
|| bitsPerSample == 16
|| bitsPerSample == 24
|| bitsPerSample == 32);
static_assert(static_cast<int>(AudioChannels::Mono) == 1, "");
static_assert(static_cast<int>(AudioChannels::Stereo) == 2, "");
auto channelCount = static_cast<int>(channels);
POMDOG_ASSERT(channelCount > 0);
POMDOG_ASSERT(channelCount <= 2);
auto divisior = (bitsPerSample / 8) * channelCount;
POMDOG_ASSERT(divisior > 0);
return sizeInBytes / divisior;
}
Duration GetSampleDuration(std::size_t samples, int sampleRate)
{
POMDOG_ASSERT(sampleRate > 0);
POMDOG_ASSERT(sampleRate >= 8000);
POMDOG_ASSERT(sampleRate <= 48000);
return std::chrono::seconds(samples / sampleRate);
}
} // unnamed namespace
AudioClip::AudioClip(std::unique_ptr<Detail::SoundSystem::NativeAudioClip> && nativeAudioClipIn,
int sampleRateIn, int bitsPerSampleIn, AudioChannels channelsIn)
: nativeAudioClip(std::move(nativeAudioClipIn))
, sampleRate(sampleRateIn)
, bitsPerSample(bitsPerSampleIn)
, channels(channelsIn)
{
}
AudioClip::~AudioClip() = default;
Duration AudioClip::GetLength() const
{
POMDOG_ASSERT(nativeAudioClip);
auto samples = GetSamples(nativeAudioClip->SizeInBytes(), bitsPerSample, channels);
auto sampleDuration = GetSampleDuration(samples, sampleRate);
return sampleDuration;
}
int AudioClip::GetSampleRate() const
{
return sampleRate;
}
int AudioClip::GetBitsPerSample() const
{
return bitsPerSample;
}
AudioChannels AudioClip::GetChannels() const
{
return channels;
}
Detail::SoundSystem::NativeAudioClip* AudioClip::GetNativeAudioClip()
{
POMDOG_ASSERT(nativeAudioClip);
return nativeAudioClip.get();
}
} // namespace Pomdog
| 26.73913 | 96 | 0.734959 | ValtoForks |
f3437a094bfaacf3e5968011f32669ed91956345 | 1,344 | hpp | C++ | dep/win/include/boost/beast/core/detail/is_invocable.hpp | Netis/packet-agent | 70da3479051a07e3c235abe7516990f9fd21a18a | [
"BSD-3-Clause"
] | 995 | 2018-06-22T10:39:18.000Z | 2022-03-25T01:22:14.000Z | dep/win/include/boost/beast/core/detail/is_invocable.hpp | Netis/packet-agent | 70da3479051a07e3c235abe7516990f9fd21a18a | [
"BSD-3-Clause"
] | 32 | 2018-06-23T14:19:37.000Z | 2022-03-29T10:20:37.000Z | dep/win/include/boost/beast/core/detail/is_invocable.hpp | Netis/packet-agent | 70da3479051a07e3c235abe7516990f9fd21a18a | [
"BSD-3-Clause"
] | 172 | 2018-06-22T11:12:00.000Z | 2022-03-29T07:44:33.000Z | //
// Copyright (c) 2016-2019 Vinnie Falco (vinnie dot falco at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
// Official repository: https://github.com/boostorg/beast
//
#ifndef BOOST_BEAST_DETAIL_IS_INVOCABLE_HPP
#define BOOST_BEAST_DETAIL_IS_INVOCABLE_HPP
#include <type_traits>
#include <utility>
namespace boost {
namespace beast {
namespace detail {
template<class R, class C, class ...A>
auto
is_invocable_test(C&& c, int, A&& ...a)
-> decltype(std::is_convertible<
decltype(c(std::forward<A>(a)...)), R>::value ||
std::is_same<R, void>::value,
std::true_type());
template<class R, class C, class ...A>
std::false_type
is_invocable_test(C&& c, long, A&& ...a);
/** Metafunction returns `true` if F callable as R(A...)
Example:
@code
is_invocable<T, void(std::string)>::value
@endcode
*/
/** @{ */
template<class C, class F>
struct is_invocable : std::false_type
{
};
template<class C, class R, class ...A>
struct is_invocable<C, R(A...)>
: decltype(is_invocable_test<R>(
std::declval<C>(), 1, std::declval<A>()...))
{
};
/** @} */
} // detail
} // beast
} // boost
#endif
| 22.779661 | 80 | 0.619792 | Netis |
f3445791fba289c4b052e56447b033d2c5cf950c | 3,532 | hpp | C++ | Runtime/MP1/World/CBouncyGrenade.hpp | Jcw87/urde | fb9ea9092ad00facfe957ece282a86c194e9cbda | [
"MIT"
] | null | null | null | Runtime/MP1/World/CBouncyGrenade.hpp | Jcw87/urde | fb9ea9092ad00facfe957ece282a86c194e9cbda | [
"MIT"
] | null | null | null | Runtime/MP1/World/CBouncyGrenade.hpp | Jcw87/urde | fb9ea9092ad00facfe957ece282a86c194e9cbda | [
"MIT"
] | null | null | null | #pragma once
#include "Runtime/World/CPhysicsActor.hpp"
#include "Runtime/World/CDamageInfo.hpp"
#include "Runtime/Particle/CElementGen.hpp"
#include "TCastTo.hpp" // Generated file, do not modify include path
#include <zeus/CTransform.hpp>
namespace metaforce::MP1 {
struct SGrenadeVelocityInfo {
private:
float x0_mass;
float x4_speed;
public:
explicit SGrenadeVelocityInfo(CInputStream& in) : x0_mass(in.readFloatBig()), x4_speed(in.readFloatBig()) {}
[[nodiscard]] float GetMass() const { return x0_mass; }
[[nodiscard]] float GetSpeed() const { return x4_speed; }
};
struct SBouncyGrenadeData {
private:
SGrenadeVelocityInfo x0_velocityInfo;
CDamageInfo x8_damageInfo;
CAssetId x24_elementGenId1;
CAssetId x28_elementGenId2;
CAssetId x2c_elementGenId3;
CAssetId x30_elementGenId4;
u32 x34_numBounces;
u16 x38_bounceSfx;
u16 x3a_explodeSfx;
public:
SBouncyGrenadeData(const SGrenadeVelocityInfo& velocityInfo, const CDamageInfo& damageInfo, CAssetId elementGenId1,
CAssetId elementGenId2, CAssetId elementGenId3, CAssetId elementGenId4, u32 numBounces,
u16 bounceSfxId, u16 explodeSfxId)
: x0_velocityInfo(velocityInfo)
, x8_damageInfo(damageInfo)
, x24_elementGenId1(elementGenId1)
, x28_elementGenId2(elementGenId2)
, x2c_elementGenId3(elementGenId3)
, x30_elementGenId4(elementGenId4)
, x34_numBounces(numBounces)
, x38_bounceSfx(bounceSfxId)
, x3a_explodeSfx(explodeSfxId) {}
[[nodiscard]] const SGrenadeVelocityInfo& GetUnkStruct() const { return x0_velocityInfo; }
[[nodiscard]] const CDamageInfo& GetDamageInfo() const { return x8_damageInfo; }
[[nodiscard]] CAssetId GetElementGenId1() const { return x24_elementGenId1; }
[[nodiscard]] CAssetId GetElementGenId2() const { return x28_elementGenId2; }
[[nodiscard]] CAssetId GetElementGenId3() const { return x2c_elementGenId3; }
[[nodiscard]] CAssetId GetElementGenId4() const { return x30_elementGenId4; }
[[nodiscard]] u32 GetNumBounces() const { return x34_numBounces; }
[[nodiscard]] u16 GetBounceSfx() const { return x38_bounceSfx; }
[[nodiscard]] u16 GetExplodeSfx() const { return x3a_explodeSfx; }
};
class CBouncyGrenade : public CPhysicsActor {
private:
SBouncyGrenadeData x258_data;
u32 x294_numBounces;
TUniqueId x298_parentId;
float x29c_ = 0.f;
std::unique_ptr<CElementGen> x2a0_elementGenCombat;
std::unique_ptr<CElementGen> x2a4_elementGenXRay;
std::unique_ptr<CElementGen> x2a8_elementGenThermal;
std::unique_ptr<CElementGen> x2ac_elementGen4;
float x2b0_explodePlayerDistance;
bool x2b4_24_exploded : 1 = false;
bool x2b4_25_ : 1 = false;
public:
CBouncyGrenade(TUniqueId uid, std::string_view name, const CEntityInfo& info, const zeus::CTransform& xf,
CModelData&& mData, const CActorParameters& actParams, TUniqueId parentId,
const SBouncyGrenadeData& data, float velocity, float explodePlayerDistance);
void Accept(IVisitor& visitor) override { visitor.Visit(this); }
void AddToRenderer(const zeus::CFrustum& frustum, CStateManager& mgr) override;
void CollidedWith(TUniqueId id, const CCollisionInfoList& list, CStateManager& mgr) override;
[[nodiscard]] std::optional<zeus::CAABox> GetTouchBounds() const override;
void Render(CStateManager& mgr) override;
void Think(float dt, CStateManager& mgr) override;
void Touch(CActor& act, CStateManager& mgr) override;
private:
void Explode(CStateManager& mgr, TUniqueId uid);
};
} // namespace metaforce::MP1
| 38.391304 | 117 | 0.760759 | Jcw87 |
f349a49335a6692c7172ab2163a054daf8bb30ac | 2,670 | cpp | C++ | src-cryptography/transposition.cpp | honbey/my-hnu-codeset | 2e5ea4a17499edde59fee768690aca71eb027bea | [
"MIT"
] | 1 | 2021-04-17T06:47:34.000Z | 2021-04-17T06:47:34.000Z | src-cryptography/transposition.cpp | honbey/my-hnu-codeset | 2e5ea4a17499edde59fee768690aca71eb027bea | [
"MIT"
] | null | null | null | src-cryptography/transposition.cpp | honbey/my-hnu-codeset | 2e5ea4a17499edde59fee768690aca71eb027bea | [
"MIT"
] | null | null | null | /******************************************************************************************
* Files Name: transposition.cpp
*
* Honbey, honbey@honbey.com
* Created On 2019-10-11
* Copyright (c) 2019. All rights reserved.
*
* Date: 2019-10-11
*
* Description: For experiment 3.
* Simple Transposition encryption and decryption, can handle TXT file.
*
*
******************************************************************************************/
#include <iostream>
#include <fstream>
#include <string>
using namespace std;
int const key = 10; // KEY is 10
string transpositionEncrypht(string ); // encrypt function
string transpositionDecrypht(string ); // decrypt function
int main(int argc, char const *argv[]) {
cout << "The default KEY is 10." << endl;
if(argc != 2) {
cout << "Error:the program only need two argument.\nUsage: ./a [File Name]" << endl;
return 0; // end program
}
ifstream inFile(argv[1]); // open the FILE
string plainText = "", temp = "";
while(getline(inFile, temp)) plainText += temp + '\n'; // copy text to plainText and add '\n' to the end of each row
inFile.close(); // close FILE
// some information about Encrypt/Decrypt process
cout << "Text to Encrypt: " << endl << plainText.substr(0, 100) << endl;
string cipherText = transpositionEncrypht(plainText);
cout << "Encrypted Text: " << endl << cipherText.substr(0, 100) << endl;
string deCipherText = transpositionDecrypht(cipherText);
cout << "Decrypted Text: " << endl << deCipherText.substr(0, 100) << endl;
ofstream outFile("EncryptedFile.txt"); // open or create a txt FILE
outFile << cipherText; // output the encrypted text to FILE
outFile.close(); // close FILE
ofstream outFile_("DecryptedFile.txt"); // open or create a txt FILE
outFile_ << deCipherText; // output the decrypted text to FILE
outFile_.close(); // close FILE
return 0;
}
string transpositionEncrypht(string _plainText) {
int row;
row = _plainText.length() / key;
if(_plainText.length() % key) row += 1; // can't divisible
char plainMat[row][key];
for(int i = 0, k = 0; i < row; i++)
for(int j = 0; j < key; j++) plainMat[i][j] = _plainText[k++];
string cipherText = "";
for(int i = 0; i < key; i++)
for(int j = 0; j < row; j++) cipherText += plainMat[j][i];
return cipherText;
}
string transpositionDecrypht(string _cipherText) {
int row = _cipherText.length() / key;
char cipherMat[row][key];
for (int i = 0, k = 0; i < key; i++)
for (int j = 0; j < row; j++) cipherMat[j][i] = _cipherText[k++];
string plainText = "";
for (int i = 0; i < row; i++)
for(int j = 0; j < key; j++) plainText += cipherMat[i][j];
return plainText;
} | 31.785714 | 117 | 0.61161 | honbey |
f34c819b58fae19523cd7652873126515ff11d64 | 8,343 | cpp | C++ | lists/dllist.cpp | triffon/sdp-2017-18 | cd4b97832517b7639da299cc088d22c3c12eb179 | [
"MIT"
] | 2 | 2017-10-18T14:24:38.000Z | 2019-06-30T14:03:07.000Z | lists/dllist.cpp | tancheto/sdp-2017-18 | cd4b97832517b7639da299cc088d22c3c12eb179 | [
"MIT"
] | null | null | null | lists/dllist.cpp | tancheto/sdp-2017-18 | cd4b97832517b7639da299cc088d22c3c12eb179 | [
"MIT"
] | 2 | 2017-11-29T09:12:38.000Z | 2018-11-08T12:15:51.000Z | #ifndef __DLLIST_CPP
#define __DLLIST_CPP
#include <iostream>
template <typename T>
struct DoubleLinkedListElement {
DoubleLinkedListElement(T const& _data,
DoubleLinkedListElement* _next = nullptr,
DoubleLinkedListElement* _prev = nullptr) :
data(_data), next(_next), prev(_prev) {}
T data;
DoubleLinkedListElement *next, *prev;
};
template <typename T>
class DoubleLinkedListIterator;
template <typename T>
class DoubleLinkedList {
public:
using I = DoubleLinkedListIterator<T>;
private:
using LLE = DoubleLinkedListElement<T>;
LLE *front, *back;
// O(n) по време, O(1) по памет
void copy(DoubleLinkedList const& l) {
for(I it = l.begin(); it; ++it)
insertEnd(*it);
}
// O(n) по време, O(1) по памет
void clean() {
T tmp;
while(!empty())
deleteBegin(tmp);
}
public:
// O(1)
// създаване на празен списък
DoubleLinkedList() : front(nullptr), back(nullptr) {}
// конструктор за копиране
DoubleLinkedList(DoubleLinkedList const& l) : front(nullptr), back(nullptr) {
copy(l);
}
// операция за присвояване
DoubleLinkedList& operator=(DoubleLinkedList const& l) {
if (this != &l) {
clean();
copy(l);
}
return *this;
}
// деструктор
~DoubleLinkedList() {
clean();
}
// O(1)
// проверка дали списък е празен
bool empty() const {
return front == nullptr;
}
// O(1)
// достъп до елемент на позиция с възможност за промяна
T& getAt(I it) const {
return it.get();
}
// O(1)
// началото на списъка
I begin() const {
return I(front);
}
// O(1)
// краят на списъка
I end() const {
return I(back);
}
// вмъкване в началото на списък
void insertBegin(T const& x) {
insertBefore(x, begin());
}
// O(1)
// вмъкване в края на списък
void insertEnd(T const& x) {
insertAfter(x, end());
}
// O(1)
// изтриване на първия елемент
bool deleteBegin(T& x) {
return deleteAt(x, begin());
}
// изтриване на последния елемент
bool deleteEnd(T& x) {
return deleteAt(x, end());
}
// синтактична захар
DoubleLinkedList& operator+=(T const& x) {
insertEnd(x);
}
// O(n)
void print(std::ostream& os = std::cout) const {
for(I it = begin(); it; ++it)
os << *it << ' ';
os << std::endl;
}
// O(1) по време и памет
// вмъкване преди позиция
bool insertBefore(T const& x, I it) {
if (it == begin()) {
LLE* p = new LLE(x, front);
if (empty())
// ако списъкът е бил празен, тогава трябва back също да сочи към p
back = p;
else
// а ако не е празен, трябва front->prev да сочи към новата кутия
front->prev = p;
front = p;
return true;
}
if (!it || empty())
return false;
// итераторът е валиден и списъкът е непразен
// итераторът не сочи към първия елемент
LLE* p = new LLE(x, it.ptr, it.ptr->prev);
it.ptr->prev = it.ptr->prev->next = p;
return true;
// TODO: може ли да обединим двата случая?
}
// O(1) по време и памет
// вмъкване след позиция
bool insertAfter(T const& x, I it) {
if (it == end()) {
LLE* p = new LLE(x, nullptr, back);
if (empty())
// ако списъкът е бил празен, тогава трябва front също да сочи към p
front = p;
else
// а ако не е празен, трябва back->next да сочи към новата кутия
back->next = p;
back = p;
return true;
}
if (!it || empty())
return false;
// итераторът е валиден и списъкът е непразен
// итераторът не сочи към последния елемент
LLE* p = new LLE(x, it.ptr->next, it.ptr);
it.ptr->next = it.ptr->next->prev = p;
return true;
// TODO: може ли да обединим двата случая?
}
// O(1) по време и по памет
// изтриване на елемент на дадена позиция
bool deleteAt(T& x, I it) {
if (!it)
return false;
// итераторът е валиден
// запомняме данната в x
x = *it;
if (it == begin()) {
// частен случай: изтриваме в началото на списъка
// прескачаме изтрития елемент
front = front->next;
delete it.ptr;
if (front == nullptr)
// списъкът остава празен, back също трябва да е nullptr
back = nullptr;
else
// front е валиден, значи prev трябва да е nullptr
front->prev = nullptr;
} else
if (it == end()) {
// частен случай: изтриваме в края на списъка
// прескачаме изтрития елемент
back = back->prev;
delete it.ptr;
if (back == nullptr)
// списъкът остава празен, front също трябва да е nullptr
front = nullptr;
else
// back е валиден, значи next трябва да е nullptr
back->next = nullptr;
} else {
// изтриваме вътре в списъка
// няма да правим промени по front и back
it.ptr->prev->next = it.ptr->next;
it.ptr->next->prev = it.ptr->prev;
delete it.ptr;
}
return true;
}
// O(1) по време и по памет
// изтриване на елемент преди дадена позиция
bool deleteBefore(T& x, I it) {
if (!it)
return false;
return deleteAt(x, it.prev());
}
// O(1) по време и по памет
// изтриване на елемент след дадена позиция
bool deleteAfter(T& x, I it) {
if (!it)
return false;
return deleteAt(x, it.next());
}
void append(DoubleLinkedList& l) {
if (back != nullptr)
back->next = l.front;
else
// първият списък е празен, насочваме front в началото
front = l.front;
if (l.back != nullptr) {
back = l.back;
l.front->prev = back;
}
l.front = l.back = nullptr;
}
};
// всички операции са O(1)
template <typename T>
class DoubleLinkedListIterator {
private:
using LLE = DoubleLinkedListElement<T>;
LLE* ptr;
// static T error;
public:
using I = DoubleLinkedListIterator<T>;
friend class DoubleLinkedList<T>;
// конструктор по указател
DoubleLinkedListIterator(LLE* _ptr = nullptr) : ptr(_ptr) {}
// няма нужда от голяма четворка!
// следваща позиция
I next() const {
// считаме, че итераторът е валиден
// if (!valid())
// return *this;
return I(ptr->next);
}
// предишна позиция
I prev() const {
return I(ptr->prev);
}
// достъп до елемент с право на промяна
T& get() const {
// допускаме, че итераторът е валиден
// if (!valid())
// return error;
return ptr->data;
}
// достъп до елемент без право на промяна
T const& getConst() const;
// проверка за валидност
bool valid() const {
return ptr != nullptr;
}
// сравнение на два итератора
bool operator==(I const& it) const {
return ptr == it.ptr;
}
bool operator!=(I const& it) const {
return !(*this == it);
}
// синтактична захар
// *it <-> it.get()
T& operator*() const {
return get();
}
// it++ <-> it = it.next(), връща старата стойност на it
I operator++(int) {
I prev = *this;
++(*this);
return prev;
}
// ++it <-> it = it.next(), връща новата стойност на it
I& operator++() {
return *this = next();
}
// it-- <-> it = it.prev(), връща старата стойност на it
I operator--(int) {
I prev = *this;
--(*this);
return prev;
}
// --it <-> it = it.prev(), връща новата стойност на it
I& operator--() {
return *this = prev();
}
// it <-> it.valid()
operator bool() const {
return valid();
}
};
// O(n) по време и O(1) по памет
template <typename T>
void append(DoubleLinkedList<T>& l1, DoubleLinkedList<T> const& l2) {
for(DoubleLinkedListIterator<T> it = l2.begin(); it; ++it)
l1 += *it;
}
// O(n) по време и O(1) по памет
template <typename T>
void reverse(DoubleLinkedList<T>& l) {
for(DoubleLinkedListIterator<T> nit = l.begin(), pit = l.end();
nit != pit && nit && nit.prev() != pit;
++nit, --pit)
std::swap(*nit, *pit);
}
template <typename T>
bool isPalindrome(DoubleLinkedList<T>& l) {
DoubleLinkedListIterator<T> nit = l.begin(), pit = l.end();
while (nit && nit != pit && nit.prev() != pit && *nit == *pit) {
++nit;
--pit;
}
// лошият случай: *nit != *pit
// добрият случай: !nit || nit == pit || nit.prev() == pit
return !nit || *nit == *pit;
}
#endif
| 21.726563 | 79 | 0.57725 | triffon |
f34d978f424e7d4742bf7b13087b2687d8dc3c02 | 2,416 | cpp | C++ | lib/partition/uncoarsening/refinement/kway_graph_refinement/kway_graph_refinement_commons.cpp | DanielSeemaier/mt-KaHIP | a3b338c946c486968f7273c92ec1afbbfa2739e7 | [
"MIT"
] | 5 | 2020-11-14T19:49:26.000Z | 2021-03-23T14:57:39.000Z | lib/partition/uncoarsening/refinement/kway_graph_refinement/kway_graph_refinement_commons.cpp | DanielSeemaier/mt-KaHIP | a3b338c946c486968f7273c92ec1afbbfa2739e7 | [
"MIT"
] | null | null | null | lib/partition/uncoarsening/refinement/kway_graph_refinement/kway_graph_refinement_commons.cpp | DanielSeemaier/mt-KaHIP | a3b338c946c486968f7273c92ec1afbbfa2739e7 | [
"MIT"
] | 2 | 2020-11-14T18:38:41.000Z | 2020-12-03T11:43:30.000Z | /******************************************************************************
* kway_graph_refinement_commons.cpp
*
* Source of KaHIP -- Karlsruhe High Quality Partitioning.
*
*****************************************************************************/
#include <omp.h>
#include "data_structure/parallel/spin_lock.h"
#include "kway_graph_refinement_commons.h"
#ifdef CPP11THREADS
std::unordered_map<std::thread::id, std::unique_ptr<kway_graph_refinement_commons>> kway_graph_refinement_commons::m_instances;
#else
std::vector<kway_graph_refinement_commons*>* kway_graph_refinement_commons::m_instances = NULL;
#endif
//size_t kway_graph_refinement_commons::num_part_accesses(0);
//size_t kway_graph_refinement_commons::scaned_movements(0);
kway_graph_refinement_commons::kway_graph_refinement_commons() {
}
kway_graph_refinement_commons::~kway_graph_refinement_commons() {
}
kway_graph_refinement_commons* kway_graph_refinement_commons::getInstance(PartitionConfig& config ) {
#ifdef CPP11THREADS
bool created = false;
static parallel::spin_lock lock;
std::lock_guard<parallel::spin_lock> guard(lock);
auto& ptr = m_instances[std::this_thread::get_id()];
if (ptr.get() == nullptr) {
ptr.reset(new kway_graph_refinement_commons());
ptr->init(config);
created = true;
}
if (!created) {
if(config.k != ptr->getUnderlyingK()) {
ptr->init(config);
}
}
return ptr.get();
#else
bool created = false;
#pragma omp critical
{
if( m_instances == NULL ) {
m_instances = new std::vector< kway_graph_refinement_commons*>(omp_get_max_threads(), reinterpret_cast<kway_graph_refinement_commons*>(NULL));
}
}
int id = omp_get_thread_num();
if((*m_instances)[id] == NULL) {
(*m_instances)[id] = new kway_graph_refinement_commons();
(*m_instances)[id]->init(config);
created = true;
}
if(created == false) {
if(config.k != (*m_instances)[id]->getUnderlyingK()) {
//should be a very rare case
(*m_instances)[id]->init(config);
}
}
return (*m_instances)[id];
#endif
}
| 30.2 | 166 | 0.571606 | DanielSeemaier |
f34fd3ca1f0f05f122b5a68fedfc86a5d0749ae1 | 3,323 | cpp | C++ | Orlik/biblioteka/test/BasicTest.cpp | KacperRybak2/Orlik | e772aaa36b199547a1de1e905ffef57c20a168da | [
"MIT"
] | null | null | null | Orlik/biblioteka/test/BasicTest.cpp | KacperRybak2/Orlik | e772aaa36b199547a1de1e905ffef57c20a168da | [
"MIT"
] | null | null | null | Orlik/biblioteka/test/BasicTest.cpp | KacperRybak2/Orlik | e772aaa36b199547a1de1e905ffef57c20a168da | [
"MIT"
] | null | null | null | #include <boost/test/unit_test.hpp>
#include "Client.hpp"
#include "Rents.hpp"
#include "ClientType.hpp"
#include "Ball.hpp"
#include "Abibas.hpp"
#include "Mike.hpp"
#include "RegularClient.hpp"
#include "NewClient.hpp"
#include "NormalClient.hpp"
#include "Respository.hpp"
#include "ClientRespository.hpp"
#include "RentsRespository.hpp"
#include <memory>
#include <OrlikManager.hpp>
BOOST_AUTO_TEST_SUITE(BasicModelTestSuite)
BOOST_AUTO_TEST_CASE(ClientTest){
client_ptr Adam(new Client("5555","Adam", "Nowak"));
BOOST_CHECK_EQUAL(Adam->getId(), "5555");
BOOST_CHECK_EQUAL(Adam->getFirstName(), "Adam");
BOOST_CHECK_EQUAL(Adam->getLastName(), "Nowak");
BOOST_CHECK_EQUAL(Adam->getClientType(), nullptr);
clientType_ptr normaltype(new NormalClient(5));
Adam->setClientType(normaltype);
BOOST_CHECK_EQUAL(Adam->getClientType(), normaltype);
}
BOOST_AUTO_TEST_CASE(BallTest){
abibas_ptr Jabulani(new Abibas(50,20,'A'));
BOOST_CHECK_EQUAL(Jabulani->getAirPressure(), 50);
BOOST_CHECK_EQUAL(Jabulani->getRadius(), 20);
BOOST_CHECK_EQUAL(Jabulani->getLogo(), "A");
mike_ptr mike(new Mike(2,40,"logo"));
BOOST_CHECK_EQUAL(mike->getLogoNapis(), "logo");
}
BOOST_AUTO_TEST_CASE(RentsTest) {
client_ptr Adam(new Client("5555","Adam", "Nowak"));
abibas_ptr Jabulani(new Abibas(50,20,"A"));
rent_ptr rent(new Rents(10,12,Adam,Jabulani));
BOOST_CHECK_EQUAL(rent->getStartDate(),10);
BOOST_CHECK_EQUAL(rent->getEndDate(),12);
BOOST_CHECK_EQUAL(rent->getRentalTime(),2);
BOOST_CHECK_EQUAL(rent->getClient(),Adam);
BOOST_CHECK_EQUAL(rent->getBall(),Jabulani);
}
BOOST_AUTO_TEST_CASE(CreatingRentTest){
orlik_ptr orlik(new Orlik(6,22));
orlikmanager_ptr manager(new OrlikManager(orlik));
client_ptr Adam(new Client("5555","Adam", "Nowak"));
abibas_ptr Jabulani(new Abibas(50,20,"A"));
rent_ptr rent(new Rents(10,12,Adam,Jabulani));
rent_ptr rent2(new Rents(5,12,Adam,Jabulani));
BOOST_CHECK_EQUAL(manager->createRent(rent),true);
BOOST_CHECK_EQUAL(manager->createRent(rent2),false);
}
BOOST_AUTO_TEST_CASE(OrlikTest){
orlik_ptr orlik(new Orlik(6,22));
BOOST_CHECK_EQUAL(orlik->getOpenHour(),6);
BOOST_CHECK_EQUAL(orlik->getCloseHour(),22);
orlik->setOpenHour(2);
BOOST_CHECK_EQUAL(orlik->getOpenHour(),2);
orlik->setCloseHour(23);
BOOST_CHECK_EQUAL(orlik->getCloseHour(),23);
}
BOOST_AUTO_TEST_CASE(OrlikManagerTest){
orlik_ptr orlik(new Orlik(6,22));
orlikmanager_ptr manager(new OrlikManager(orlik));
client_ptr Adam(new Client("5555","Adam", "Nowak"));
abibas_ptr Jabulani(new Abibas(50,20,"A"));
rent_ptr rent(new Rents(10,12,Adam,Jabulani));
BOOST_CHECK_EQUAL(manager->createRent(rent),true);
BOOST_CHECK_EQUAL(manager->getAllArchivalClientRents(Adam),0);
BOOST_CHECK_EQUAL(manager->getAllCurrentClientRents(Adam),1);
manager->removeRent(rent);
BOOST_CHECK_EQUAL(manager->getAllArchivalClientRents(Adam),1);
BOOST_CHECK_EQUAL(manager->getAllCurrentClientRents(Adam),0);
}
BOOST_AUTO_TEST_SUITE_END()
| 31.647619 | 70 | 0.682215 | KacperRybak2 |
f354b816d2a7bc32ea7452c10e45d2b5ef1a8ed3 | 800 | cpp | C++ | Timus/1002.cpp | s9v/toypuct | 68e65e6da5922af340de72636a9a4f136454c70d | [
"MIT"
] | null | null | null | Timus/1002.cpp | s9v/toypuct | 68e65e6da5922af340de72636a9a4f136454c70d | [
"MIT"
] | null | null | null | Timus/1002.cpp | s9v/toypuct | 68e65e6da5922af340de72636a9a4f136454c70d | [
"MIT"
] | null | null | null | #include <iostream>
#define forn(i, n) for (int i = 0; i < int(n); i++)
#define forr(i, n) for (int i = int(n - 1); i >= 0; i--)
#define fora(i, a, b) for (int i = int(a); i <= int(b); i++)
#define forb(i, a, b) for (int i = int(a); i >= int(b); i--)
using namespace std;
// wtf[] = {'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'}
int mup[] = {'2', '2', '2', '3', '3', '3', '4', '4', '1', '1', '5', '5', '6', '6', '0', '7', '0', '7', '7', '8', '8', '8', '9', '9', '9', '0'};
string s;
int n;
string dict[50000];
int dyn[200];
int main()
{
while (cin >> s, s != "-1")
{
fill(dyn, dyn+ln(s), 1e8)
cin >> n;
forn (i, n)
cin >> dict[i];
forn (i, n)
{
}
}
return 0;
}
| 23.529412 | 143 | 0.3825 | s9v |
f3554a5af6d77d5f6c7eae64d8896fcf3f152fb9 | 6,913 | hpp | C++ | example/any_iterator.hpp | ricejasonf/dyno | bc91a3ec09c6170f1dc3a667a76cd6b83788f59a | [
"BSL-1.0"
] | 739 | 2017-03-17T15:02:08.000Z | 2022-03-29T03:25:32.000Z | example/any_iterator.hpp | ricejasonf/dyno | bc91a3ec09c6170f1dc3a667a76cd6b83788f59a | [
"BSL-1.0"
] | 41 | 2017-03-09T07:04:13.000Z | 2021-05-27T20:05:24.000Z | example/any_iterator.hpp | ricejasonf/dyno | bc91a3ec09c6170f1dc3a667a76cd6b83788f59a | [
"BSL-1.0"
] | 43 | 2017-04-08T07:23:33.000Z | 2021-08-20T14:20:49.000Z | // Copyright Louis Dionne 2017
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
#ifndef ANY_ITERATOR_HPP
#define ANY_ITERATOR_HPP
#include <dyno.hpp>
#include <cassert>
#include <iterator>
#include <type_traits>
#include <utility>
using namespace dyno::literals;
// This is the definition of an Iterator concept using a "generic" language.
// Instead of defining specific methods that must be defined, it defines its
// interface in terms of compile-time strings, assuming these may be fulfilled
// in possibly many different ways.
template <typename Reference>
struct Iterator : decltype(dyno::requires_(
dyno::CopyConstructible{},
dyno::CopyAssignable{},
dyno::Destructible{},
dyno::Swappable{},
"increment"_s = dyno::function<void (dyno::T&)>,
"dereference"_s = dyno::function<Reference (dyno::T&)>
)) { };
template <typename Reference>
struct InputIterator : decltype(dyno::requires_(
Iterator<Reference>{},
dyno::EqualityComparable{}
)) { };
template <typename Reference>
struct ForwardIterator : decltype(dyno::requires_(
InputIterator<Reference>{},
dyno::DefaultConstructible{}
)) { };
template <typename Reference>
struct BidirectionalIterator : decltype(dyno::requires_(
ForwardIterator<Reference>{},
"decrement"_s = dyno::function<void (dyno::T&)>
)) { };
template <typename Reference, typename Difference>
struct RandomAccessIterator : decltype(dyno::requires_(
BidirectionalIterator<Reference>{},
"advance"_s = dyno::function<void (dyno::T&, Difference)>,
"distance"_s = dyno::function<Difference (dyno::T const&, dyno::T const&)>
)) { };
// This is some kind of concept map; it maps the "generic" iterator interface
// (method names as compile-time strings) to actual implementations for a
// specific iterator type.
template <typename Ref, typename T>
auto const dyno::default_concept_map<Iterator<Ref>, T> = dyno::make_concept_map(
"increment"_s = [](T& self) { ++self; },
"dereference"_s = [](T& self) -> Ref { return *self; }
);
template <typename Ref, typename T>
auto const dyno::default_concept_map<BidirectionalIterator<Ref>, T> = dyno::make_concept_map(
"decrement"_s = [](T& self) -> void { --self; }
);
template <typename Ref, typename Diff, typename T>
auto const dyno::default_concept_map<RandomAccessIterator<Ref, Diff>, T> = dyno::make_concept_map(
"advance"_s = [](T& self, Diff diff) -> void {
std::advance(self, diff);
},
"distance"_s = [](T const& first, T const& last) -> Diff {
return std::distance(first, last);
}
);
namespace detail {
template <typename Category, typename Reference, typename Difference>
struct iterator_category_to_concept;
template <typename Reference, typename Difference>
struct iterator_category_to_concept<std::input_iterator_tag, Reference, Difference> {
using type = InputIterator<Reference>;
};
template <typename Reference, typename Difference>
struct iterator_category_to_concept<std::forward_iterator_tag, Reference, Difference> {
using type = ForwardIterator<Reference>;
};
template <typename Reference, typename Difference>
struct iterator_category_to_concept<std::bidirectional_iterator_tag, Reference, Difference> {
using type = BidirectionalIterator<Reference>;
};
template <typename Reference, typename Difference>
struct iterator_category_to_concept<std::random_access_iterator_tag, Reference, Difference> {
using type = RandomAccessIterator<Reference, Difference>;
};
} // end namespace detail
// This defines a type-erased wrapper satisfying a specific concept (Iterator)
// and providing the given interface (methods, etc..). The choice of how to
// store the type-erased object and how to implement the VTable should be done
// here, and should be disjoint from the actual concept definition and concept
// map above.
template <
typename Value,
typename Category,
typename Reference = Value&,
typename Difference = std::ptrdiff_t
>
struct any_iterator {
using iterator_category = Category;
using value_type = Value;
using reference = Reference;
using pointer = value_type*;
using difference_type = Difference;
private:
using Concept = typename detail::iterator_category_to_concept<
iterator_category, reference, difference_type
>::type;
using ActualConcept = decltype(dyno::requires_(
Concept{},
dyno::TypeId{} // For assertion in operator==
));
using Storage = dyno::local_storage<8>;
dyno::poly<ActualConcept, Storage> poly_;
public:
template <typename It>
explicit any_iterator(It it)
: poly_{std::move(it)}
{
using IteratorTraits = std::iterator_traits<It>;
using Source_value_type = typename IteratorTraits::value_type;
using Source_reference = typename IteratorTraits::reference;
using Source_category = typename IteratorTraits::iterator_category;
using Source_difference_type = typename IteratorTraits::difference_type;
static_assert(std::is_convertible<Source_value_type, value_type>{},
"The 'value_type' of the erased iterator must be convertible to that of "
"the 'any_iterator'");
static_assert(std::is_convertible<Source_reference, reference>{},
"The 'reference' of the erased iterator must be convertible to that of "
"the 'any_iterator'");
static_assert(std::is_base_of<iterator_category, Source_category>{},
"The 'iterator_category' of the erased iterator must be at least as "
"powerful as that of the 'any_iterator'");
static_assert(std::is_same<difference_type, Source_difference_type>{},
"The 'difference_type' of the erased iterator must match that of the "
"'any_iterator'");
}
any_iterator(any_iterator const& other) = default;
any_iterator(any_iterator&& other) = default;
any_iterator& operator=(any_iterator const& other) = default;
any_iterator& operator=(any_iterator&& other) = default;
~any_iterator() = default;
void swap(any_iterator& other) {
using std::swap;
swap(this->poly_, other.poly_);
}
friend void swap(any_iterator& a, any_iterator& b) { a.swap(b); }
any_iterator& operator++() {
poly_.virtual_("increment"_s)(poly_);
return *this;
}
template <bool True = true, typename = std::enable_if_t<True &&
std::is_base_of<std::bidirectional_iterator_tag, iterator_category>{}
>> any_iterator& operator--() {
poly_.virtual_("decrement"_s)(poly_);
return *this;
}
reference operator*() {
return poly_.virtual_("dereference"_s)(poly_);
}
friend bool operator==(any_iterator const& a, any_iterator const& b) {
assert(a.poly_.virtual_("typeid"_s)() == b.poly_.virtual_("typeid"_s)());
return a.poly_.virtual_("equal"_s)(a.poly_, b.poly_);
}
friend bool operator!=(any_iterator const& a, any_iterator const& b) {
return !(a == b);
}
};
#endif // ANY_ITERATOR_HPP
| 33.721951 | 98 | 0.727036 | ricejasonf |
f35b06b0ffa9c5fadcf6e71424c76c624650e3b4 | 5,155 | cpp | C++ | src/kits/device/USBEndpoint.cpp | stasinek/BHAPI | 5d9aa61665ae2cc5c6e34415957d49a769325b2b | [
"BSD-3-Clause",
"MIT"
] | 3 | 2018-05-21T15:32:32.000Z | 2019-03-21T13:34:55.000Z | src/kits/device/USBEndpoint.cpp | stasinek/BHAPI | 5d9aa61665ae2cc5c6e34415957d49a769325b2b | [
"BSD-3-Clause",
"MIT"
] | null | null | null | src/kits/device/USBEndpoint.cpp | stasinek/BHAPI | 5d9aa61665ae2cc5c6e34415957d49a769325b2b | [
"BSD-3-Clause",
"MIT"
] | null | null | null | /*
* Copyright 2007-2008, Haiku Inc. All rights reserved.
* Distributed under the terms of the MIT License.
*
* Authors:
* Michael Lotz <mmlr@mlotz.ch>
*/
#include <USBKit.h>
#include <usb_raw.h>
#include <unistd.h>
#include <kits/support/String.h>
BUSBEndpoint::BUSBEndpoint(BUSBInterface *interface, uint32 index, int rawFD)
: fInterface(interface),
fIndex(index),
fRawFD(rawFD)
{
usb_raw_command command;
command.endpoint_etc.descriptor = &fDescriptor;
command.endpoint_etc.config_index = fInterface->Configuration()->Index();
command.endpoint_etc.interface_index = fInterface->Index();
command.endpoint_etc.alternate_index = fInterface->AlternateIndex();
command.endpoint_etc.endpoint_index = fIndex;
if (ioctl(fRawFD, B_USB_RAW_COMMAND_GET_ENDPOINT_DESCRIPTOR_ETC, &command,
sizeof(command)) || command.endpoint_etc.status != B_USB_RAW_STATUS_SUCCESS)
memset(&fDescriptor, 0, sizeof(fDescriptor));
}
BUSBEndpoint::~BUSBEndpoint()
{
}
uint32 BUSBEndpoint::Index() const
{
return fIndex;
}
const BUSBInterface *
BUSBEndpoint::Interface() const
{
return fInterface;
}
const BUSBConfiguration *
BUSBEndpoint::Configuration() const
{
return fInterface->Configuration();
}
const BUSBDevice *
BUSBEndpoint::Device() const
{
return fInterface->Device();
}
bool BUSBEndpoint::IsBulk() const
{
return (fDescriptor.attributes & USB_ENDPOINT_ATTR_MASK)
== USB_ENDPOINT_ATTR_BULK;
}
bool BUSBEndpoint::IsInterrupt() const
{
return (fDescriptor.attributes & USB_ENDPOINT_ATTR_MASK)
== USB_ENDPOINT_ATTR_INTERRUPT;
}
bool BUSBEndpoint::IsIsochronous() const
{
return (fDescriptor.attributes & USB_ENDPOINT_ATTR_MASK)
== USB_ENDPOINT_ATTR_ISOCHRONOUS;
}
bool BUSBEndpoint::IsControl() const
{
return (fDescriptor.attributes & USB_ENDPOINT_ATTR_MASK)
== USB_ENDPOINT_ATTR_CONTROL;
}
bool BUSBEndpoint::IsInput() const
{
return (fDescriptor.endpoint_address & USB_ENDPOINT_ADDR_DIR_IN)
== USB_ENDPOINT_ADDR_DIR_IN;
}
bool BUSBEndpoint::IsOutput() const
{
return (fDescriptor.endpoint_address & USB_ENDPOINT_ADDR_DIR_IN)
== USB_ENDPOINT_ADDR_DIR_OUT;
}
uint16
BUSBEndpoint::MaxPacketSize() const
{
return fDescriptor.max_packet_size;
}
uint8
BUSBEndpoint::Interval() const
{
return fDescriptor.interval;
}
const usb_endpoint_descriptor *
BUSBEndpoint::Descriptor() const
{
return &fDescriptor;
}
ssize_t
BUSBEndpoint::ControlTransfer(uint8 requestType, uint8 request, uint16 value,
uint16 index, uint16 length, void *data) const
{
if (length > 0 && data == NULL)
return B_BAD_VALUE;
usb_raw_command command;
command.control.request_type = requestType;
command.control.request = request;
command.control.value = value;
command.control.index = index;
command.control.length = length;
command.control.data = data;
if (ioctl(fRawFD, B_USB_RAW_COMMAND_CONTROL_TRANSFER, &command,
sizeof(command)) || command.control.status != B_USB_RAW_STATUS_SUCCESS)
return B_ERROR;
return command.control.length;
}
ssize_t
BUSBEndpoint::InterruptTransfer(void *data, size_t length) const
{
if (length > 0 && data == NULL)
return B_BAD_VALUE;
usb_raw_command command;
command.transfer.interface = fInterface->Index();
command.transfer.endpoint = fIndex;
command.transfer.data = data;
command.transfer.length = length;
if (ioctl(fRawFD, B_USB_RAW_COMMAND_INTERRUPT_TRANSFER, &command,
sizeof(command)) || command.transfer.status != B_USB_RAW_STATUS_SUCCESS)
return B_ERROR;
return command.transfer.length;
}
ssize_t
BUSBEndpoint::BulkTransfer(void *data, size_t length) const
{
if (length > 0 && data == NULL)
return B_BAD_VALUE;
usb_raw_command command;
command.transfer.interface = fInterface->Index();
command.transfer.endpoint = fIndex;
command.transfer.data = data;
command.transfer.length = length;
if (ioctl(fRawFD, B_USB_RAW_COMMAND_BULK_TRANSFER, &command,
sizeof(command)) || command.transfer.status != B_USB_RAW_STATUS_SUCCESS)
return B_ERROR;
return command.transfer.length;
}
ssize_t
BUSBEndpoint::IsochronousTransfer(void *data, size_t length,
usb_iso_packet_descriptor *packetDescriptors, uint32 packetCount) const
{
if (length > 0 && data == NULL)
return B_BAD_VALUE;
usb_raw_command command;
command.isochronous.interface = fInterface->Index();
command.isochronous.endpoint = fIndex;
command.isochronous.data = data;
command.isochronous.length = length;
command.isochronous.packet_descriptors = packetDescriptors;
command.isochronous.packet_count = packetCount;
if (ioctl(fRawFD, B_USB_RAW_COMMAND_ISOCHRONOUS_TRANSFER, &command,
sizeof(command)) || command.isochronous.status != B_USB_RAW_STATUS_SUCCESS)
return B_ERROR;
return command.isochronous.length;
}
bool BUSBEndpoint::IsStalled() const
{
uint16 status = 0;
Device()->ControlTransfer(USB_REQTYPE_ENDPOINT_IN,
USB_REQUEST_GET_STATUS, USB_FEATURE_ENDPOINT_HALT,
fDescriptor.endpoint_address, sizeof(status), &status);
return status != 0;
}
status_t BUSBEndpoint::ClearStall() const
{
return Device()->ControlTransfer(USB_REQTYPE_ENDPOINT_OUT,
USB_REQUEST_CLEAR_FEATURE, USB_FEATURE_ENDPOINT_HALT,
fDescriptor.endpoint_address, 0, NULL);
}
| 22.510917 | 78 | 0.772648 | stasinek |
f35c745193f8a5d74faa40ad870196ccc43565ed | 1,600 | cpp | C++ | external/noise/model/line.cpp | zjhlogo/blink | 025da3506b34e3f0b02be524c97ae1f39c4c5854 | [
"Apache-2.0"
] | null | null | null | external/noise/model/line.cpp | zjhlogo/blink | 025da3506b34e3f0b02be524c97ae1f39c4c5854 | [
"Apache-2.0"
] | null | null | null | external/noise/model/line.cpp | zjhlogo/blink | 025da3506b34e3f0b02be524c97ae1f39c4c5854 | [
"Apache-2.0"
] | null | null | null | // line.cpp
//
// Copyright (C) 2004 Keith Davies
//
// This library is free software; you can redistribute it and/or modify it
// under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation; either version 2.1 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 Lesser General Public
// License (COPYING.txt) for more details.
//
// You should have received a copy of the GNU Lesser General Public License
// along with this library; if not, write to the Free Software Foundation,
// Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//
#include "line.h"
using namespace noise;
using namespace noise::model;
Line::Line()
: m_attenuate(true)
, m_pModule(NULL)
, m_x0(0.0)
, m_x1(1.0)
, m_y0(0.0)
, m_y1(1.0)
, m_z0(0.0)
, m_z1(1.0)
{
}
Line::Line(const module::ModuleBase& module)
: m_attenuate(true)
, m_pModule(&module)
, m_x0(0.0)
, m_x1(1.0)
, m_y0(0.0)
, m_y1(1.0)
, m_z0(0.0)
, m_z1(1.0)
{
}
double Line::GetValue(double p) const
{
assert(m_pModule != NULL);
double x = (m_x1 - m_x0) * p + m_x0;
double y = (m_y1 - m_y0) * p + m_y0;
double z = (m_z1 - m_z0) * p + m_z0;
double value = m_pModule->getValue(x, y, z);
if (m_attenuate)
{
return p * (1.0 - p) * 4 * value;
}
else
{
return value;
}
}
| 23.880597 | 78 | 0.631875 | zjhlogo |
f35e6d08c6f510d2b60a5e196ec84b571c110f11 | 736,148 | cpp | C++ | src/GlobalMatrices.cpp | uphoffc/LinA | 077bc0acbd440d2af63e7ec5a02cdc3c0b24a0bd | [
"MIT"
] | null | null | null | src/GlobalMatrices.cpp | uphoffc/LinA | 077bc0acbd440d2af63e7ec5a02cdc3c0b24a0bd | [
"MIT"
] | null | null | null | src/GlobalMatrices.cpp | uphoffc/LinA | 077bc0acbd440d2af63e7ec5a02cdc3c0b24a0bd | [
"MIT"
] | null | null | null | /** This file is generated. Do not edit. */
#include "GlobalMatrices.h"
namespace GlobalMatrices {
#if !defined(CONVERGENCE_ORDER)
#error CONVERGENCE_ORDER must be set.
#elif CONVERGENCE_ORDER == 2
double const Fxm0[] = { 1.,0.,-3.,0.,1.,0.,-1.,0.,3. };
double const Fxm1[] = { 1.,0.,3.,0.,1.,0.,1.,0.,3. };
double const Fxp0[] = { 1.,0.,-3.,0.,1.,0.,1.,0.,-3. };
double const Fxp1[] = { 1.,0.,3.,0.,1.,0.,-1.,0.,-3. };
double const Fym0[] = { 1.,-3.,0.,-1.,3.,0.,0.,0.,1. };
double const Fym1[] = { 1.,3.,0.,1.,3.,0.,0.,0.,1. };
double const Fyp0[] = { 1.,-3.,0.,1.,-3.,0.,0.,0.,1. };
double const Fyp1[] = { 1.,3.,0.,-1.,-3.,0.,0.,0.,1. };
double const KetaT[] = { 0.,0.,0.,0.,0.,0.,2.,0.,0. };
double const Keta[] = { 0.,0.,6.,0.,0.,0.,0.,0.,0. };
double const KxiT[] = { 0.,0.,0.,2.,0.,0.,0.,0.,0. };
double const Kxi[] = { 0.,6.,0.,0.,0.,0.,0.,0.,0. };
double const Minv[] = { 1.,0.,0.,0.,3.,0.,0.,0.,3. };
#elif CONVERGENCE_ORDER == 3
double const Fxm0[] = { 1.,0.,-3.,0.,0.,5.,0.,1.,0.,0.,-3.,0.,-1.,0.,3.,0.,0.,-5.,0.,0.,0.,1.,0.,0.,0.,-1.,0.,0.,3.,0.,1.,0.,-3.,0.,0.,5. };
double const Fxm1[] = { 1.,0.,3.,0.,0.,5.,0.,1.,0.,0.,3.,0.,1.,0.,3.,0.,0.,5.,0.,0.,0.,1.,0.,0.,0.,1.,0.,0.,3.,0.,1.,0.,3.,0.,0.,5. };
double const Fxp0[] = { 1.,0.,-3.,0.,0.,5.,0.,1.,0.,0.,-3.,0.,1.,0.,-3.,0.,0.,5.,0.,0.,0.,1.,0.,0.,0.,1.,0.,0.,-3.,0.,1.,0.,-3.,0.,0.,5. };
double const Fxp1[] = { 1.,0.,3.,0.,0.,5.,0.,1.,0.,0.,3.,0.,-1.,0.,-3.,0.,0.,-5.,0.,0.,0.,1.,0.,0.,0.,-1.,0.,0.,-3.,0.,1.,0.,3.,0.,0.,5. };
double const Fym0[] = { 1.,-3.,0.,5.,0.,0.,-1.,3.,0.,-5.,0.,0.,0.,0.,1.,0.,-3.,0.,1.,-3.,0.,5.,0.,0.,0.,0.,-1.,0.,3.,0.,0.,0.,0.,0.,0.,1. };
double const Fym1[] = { 1.,3.,0.,5.,0.,0.,1.,3.,0.,5.,0.,0.,0.,0.,1.,0.,3.,0.,1.,3.,0.,5.,0.,0.,0.,0.,1.,0.,3.,0.,0.,0.,0.,0.,0.,1. };
double const Fyp0[] = { 1.,-3.,0.,5.,0.,0.,1.,-3.,0.,5.,0.,0.,0.,0.,1.,0.,-3.,0.,1.,-3.,0.,5.,0.,0.,0.,0.,1.,0.,-3.,0.,0.,0.,0.,0.,0.,1. };
double const Fyp1[] = { 1.,3.,0.,5.,0.,0.,-1.,-3.,0.,-5.,0.,0.,0.,0.,1.,0.,3.,0.,1.,3.,0.,5.,0.,0.,0.,0.,-1.,0.,-3.,0.,0.,0.,0.,0.,0.,1. };
double const KetaT[] = { 0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,2.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,2.,0.,0.,0.,0.,0.,0.,6.,0.,0.,0. };
double const Keta[] = { 0.,0.,6.,0.,0.,0.,0.,0.,0.,0.,6.,0.,0.,0.,0.,0.,0.,10.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0. };
double const KxiT[] = { 0.,0.,0.,0.,0.,0.,2.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,6.,0.,0.,0.,0.,0.,0.,2.,0.,0.,0.,0.,0.,0.,0.,0.,0. };
double const Kxi[] = { 0.,6.,0.,0.,0.,0.,0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0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,95.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,63.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,23. };
#endif
}
| 4,544.123457 | 18,882 | 0.338829 | uphoffc |
f35f76d9c3642be337974f3e68066b92648af95c | 120 | cpp | C++ | src/shapes/straight_vertex.cpp | hermet/rive-cpp | d69378d97e7d987930c3764655153bf8ddc65966 | [
"MIT"
] | null | null | null | src/shapes/straight_vertex.cpp | hermet/rive-cpp | d69378d97e7d987930c3764655153bf8ddc65966 | [
"MIT"
] | null | null | null | src/shapes/straight_vertex.cpp | hermet/rive-cpp | d69378d97e7d987930c3764655153bf8ddc65966 | [
"MIT"
] | null | null | null | #include "shapes/straight_vertex.hpp"
using namespace rive;
void StraightVertex::radiusChanged() { markPathDirty(); }
| 20 | 57 | 0.775 | hermet |
f3601128ca0c0f2036bbbe0bf9d9e79e893b96d1 | 17,788 | cc | C++ | src/__civiltime_test.cc | earlchew/crontime | 15629c429406f4f04c83c25767d88a4fad85b811 | [
"BSD-3-Clause"
] | null | null | null | src/__civiltime_test.cc | earlchew/crontime | 15629c429406f4f04c83c25767d88a4fad85b811 | [
"BSD-3-Clause"
] | null | null | null | src/__civiltime_test.cc | earlchew/crontime | 15629c429406f4f04c83c25767d88a4fad85b811 | [
"BSD-3-Clause"
] | null | null | null | /* -*- c-basic-offset:4; indent-tabs-mode:nil -*- vi: set sw=4 et: */
/*
// Copyright (c) 2021, Earl Chew
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
// * Redistributions in binary form must reproduce the above copyright
// notice, this list of conditions and the following disclaimer in the
// documentation and/or other materials provided with the distribution.
// * Neither the names of the authors of source code nor the names
// of the contributors to the source code may be used to endorse or
// promote products derived from this software without specific
// prior written permission.
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
// ARE DISCLAIMED. IN NO EVENT SHALL EARL CHEW BE LIABLE FOR ANY
// DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
// (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
// LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
// ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "civiltime.h"
#include <stdlib.h>
#include "gtest/gtest.h"
/* -------------------------------------------------------------------------- */
class CivilTimeTest : public ::testing::Test
{
void SetUp()
{
static char TZ[] = "TZ=Universal";
putenv(TZ);
}
};
/* -------------------------------------------------------------------------- */
TEST_F(CivilTimeTest, Init1970)
{
struct CivilTime civilTime_, *civilTime = &civilTime_;
EXPECT_EQ(civilTime, initCivilTime(civilTime, 0));
EXPECT_EQ(1970, queryCivilTimeCalendar(civilTime).mYear);
EXPECT_EQ(1, queryCivilTimeCalendar(civilTime).mMonth);
EXPECT_EQ(1, queryCivilTimeCalendar(civilTime).mDay);
EXPECT_EQ(Thursday, queryCivilTimeCalendar(civilTime).mWeekDay);
EXPECT_EQ(365, queryCivilTimeCalendar(civilTime).mCalendar[0]);
EXPECT_EQ(0, queryCivilTimeCalendar(civilTime).mCalendar[12]);
EXPECT_EQ(31,
queryCivilTimeCalendar(civilTime).mCalendar[0] -
queryCivilTimeCalendar(civilTime).mCalendar[1]);
EXPECT_EQ(28,
queryCivilTimeCalendar(civilTime).mCalendar[1] -
queryCivilTimeCalendar(civilTime).mCalendar[2]);
EXPECT_EQ(31,
queryCivilTimeCalendar(civilTime).mCalendar[2] -
queryCivilTimeCalendar(civilTime).mCalendar[3]);
EXPECT_EQ(30,
queryCivilTimeCalendar(civilTime).mCalendar[3] -
queryCivilTimeCalendar(civilTime).mCalendar[4]);
EXPECT_EQ(31,
queryCivilTimeCalendar(civilTime).mCalendar[4] -
queryCivilTimeCalendar(civilTime).mCalendar[5]);
EXPECT_EQ(30,
queryCivilTimeCalendar(civilTime).mCalendar[5] -
queryCivilTimeCalendar(civilTime).mCalendar[6]);
EXPECT_EQ(31,
queryCivilTimeCalendar(civilTime).mCalendar[6] -
queryCivilTimeCalendar(civilTime).mCalendar[7]);
EXPECT_EQ(31,
queryCivilTimeCalendar(civilTime).mCalendar[7] -
queryCivilTimeCalendar(civilTime).mCalendar[8]);
EXPECT_EQ(30,
queryCivilTimeCalendar(civilTime).mCalendar[8] -
queryCivilTimeCalendar(civilTime).mCalendar[9]);
EXPECT_EQ(31,
queryCivilTimeCalendar(civilTime).mCalendar[9] -
queryCivilTimeCalendar(civilTime).mCalendar[10]);
EXPECT_EQ(30,
queryCivilTimeCalendar(civilTime).mCalendar[10] -
queryCivilTimeCalendar(civilTime).mCalendar[11]);
EXPECT_EQ(31,
queryCivilTimeCalendar(civilTime).mCalendar[11] -
queryCivilTimeCalendar(civilTime).mCalendar[12]);
EXPECT_EQ(0, queryCivilTimeClock(civilTime).mHour);
EXPECT_EQ(0, queryCivilTimeClock(civilTime).mMinute);
}
/* -------------------------------------------------------------------------- */
TEST_F(CivilTimeTest, Init2000)
{
struct CivilTime civilTime_, *civilTime = &civilTime_;
EXPECT_EQ(civilTime, initCivilTime(civilTime, 946684800));
EXPECT_EQ(2000, queryCivilTimeCalendar(civilTime).mYear);
EXPECT_EQ(1, queryCivilTimeCalendar(civilTime).mMonth);
EXPECT_EQ(1, queryCivilTimeCalendar(civilTime).mDay);
EXPECT_EQ(Saturday, queryCivilTimeCalendar(civilTime).mWeekDay);
EXPECT_EQ(366, queryCivilTimeCalendar(civilTime).mCalendar[0]);
EXPECT_EQ(0, queryCivilTimeCalendar(civilTime).mCalendar[12]);
EXPECT_EQ(31,
queryCivilTimeCalendar(civilTime).mCalendar[0] -
queryCivilTimeCalendar(civilTime).mCalendar[1]);
EXPECT_EQ(29,
queryCivilTimeCalendar(civilTime).mCalendar[1] -
queryCivilTimeCalendar(civilTime).mCalendar[2]);
EXPECT_EQ(31,
queryCivilTimeCalendar(civilTime).mCalendar[2] -
queryCivilTimeCalendar(civilTime).mCalendar[3]);
EXPECT_EQ(30,
queryCivilTimeCalendar(civilTime).mCalendar[3] -
queryCivilTimeCalendar(civilTime).mCalendar[4]);
EXPECT_EQ(31,
queryCivilTimeCalendar(civilTime).mCalendar[4] -
queryCivilTimeCalendar(civilTime).mCalendar[5]);
EXPECT_EQ(30,
queryCivilTimeCalendar(civilTime).mCalendar[5] -
queryCivilTimeCalendar(civilTime).mCalendar[6]);
EXPECT_EQ(31,
queryCivilTimeCalendar(civilTime).mCalendar[6] -
queryCivilTimeCalendar(civilTime).mCalendar[7]);
EXPECT_EQ(31,
queryCivilTimeCalendar(civilTime).mCalendar[7] -
queryCivilTimeCalendar(civilTime).mCalendar[8]);
EXPECT_EQ(30,
queryCivilTimeCalendar(civilTime).mCalendar[8] -
queryCivilTimeCalendar(civilTime).mCalendar[9]);
EXPECT_EQ(31,
queryCivilTimeCalendar(civilTime).mCalendar[9] -
queryCivilTimeCalendar(civilTime).mCalendar[10]);
EXPECT_EQ(30,
queryCivilTimeCalendar(civilTime).mCalendar[10] -
queryCivilTimeCalendar(civilTime).mCalendar[11]);
EXPECT_EQ(31,
queryCivilTimeCalendar(civilTime).mCalendar[11] -
queryCivilTimeCalendar(civilTime).mCalendar[12]);
EXPECT_EQ(0, queryCivilTimeClock(civilTime).mHour);
EXPECT_EQ(0, queryCivilTimeClock(civilTime).mMinute);
}
/* -------------------------------------------------------------------------- */
TEST_F(CivilTimeTest, Init2100)
{
struct CivilTime civilTime_, *civilTime = &civilTime_;
EXPECT_EQ(civilTime, initCivilTime(civilTime, 4102444800));
EXPECT_EQ(2100, queryCivilTimeCalendar(civilTime).mYear);
EXPECT_EQ(1, queryCivilTimeCalendar(civilTime).mMonth);
EXPECT_EQ(1, queryCivilTimeCalendar(civilTime).mDay);
EXPECT_EQ(Friday, queryCivilTimeCalendar(civilTime).mWeekDay);
EXPECT_EQ(365, queryCivilTimeCalendar(civilTime).mCalendar[0]);
EXPECT_EQ(0, queryCivilTimeCalendar(civilTime).mCalendar[12]);
EXPECT_EQ(31,
queryCivilTimeCalendar(civilTime).mCalendar[0] -
queryCivilTimeCalendar(civilTime).mCalendar[1]);
EXPECT_EQ(28,
queryCivilTimeCalendar(civilTime).mCalendar[1] -
queryCivilTimeCalendar(civilTime).mCalendar[2]);
EXPECT_EQ(31,
queryCivilTimeCalendar(civilTime).mCalendar[2] -
queryCivilTimeCalendar(civilTime).mCalendar[3]);
EXPECT_EQ(30,
queryCivilTimeCalendar(civilTime).mCalendar[3] -
queryCivilTimeCalendar(civilTime).mCalendar[4]);
EXPECT_EQ(31,
queryCivilTimeCalendar(civilTime).mCalendar[4] -
queryCivilTimeCalendar(civilTime).mCalendar[5]);
EXPECT_EQ(30,
queryCivilTimeCalendar(civilTime).mCalendar[5] -
queryCivilTimeCalendar(civilTime).mCalendar[6]);
EXPECT_EQ(31,
queryCivilTimeCalendar(civilTime).mCalendar[6] -
queryCivilTimeCalendar(civilTime).mCalendar[7]);
EXPECT_EQ(31,
queryCivilTimeCalendar(civilTime).mCalendar[7] -
queryCivilTimeCalendar(civilTime).mCalendar[8]);
EXPECT_EQ(30,
queryCivilTimeCalendar(civilTime).mCalendar[8] -
queryCivilTimeCalendar(civilTime).mCalendar[9]);
EXPECT_EQ(31,
queryCivilTimeCalendar(civilTime).mCalendar[9] -
queryCivilTimeCalendar(civilTime).mCalendar[10]);
EXPECT_EQ(30,
queryCivilTimeCalendar(civilTime).mCalendar[10] -
queryCivilTimeCalendar(civilTime).mCalendar[11]);
EXPECT_EQ(31,
queryCivilTimeCalendar(civilTime).mCalendar[11] -
queryCivilTimeCalendar(civilTime).mCalendar[12]);
EXPECT_EQ(0, queryCivilTimeClock(civilTime).mHour);
EXPECT_EQ(0, queryCivilTimeClock(civilTime).mMinute);
}
/* -------------------------------------------------------------------------- */
TEST_F(CivilTimeTest, InitNotAligned)
{
static char TZ[] = "TZ=US/Pacific";
putenv(TZ);
struct CivilTime civilTime_, *civilTime = &civilTime_;
EXPECT_FALSE(initCivilTime(civilTime, 949301938));
EXPECT_EQ(EINVAL, errno);
}
/* -------------------------------------------------------------------------- */
TEST_F(CivilTimeTest, AdvanceTime)
{
static char TZ[] = "TZ=US/Pacific";
putenv(TZ);
struct CivilTime civilTime_, *civilTime = &civilTime_;
EXPECT_EQ(civilTime, initCivilTime(civilTime, 949301880));
/* Sun Jan 30 22:58:00 PST 2000 */
EXPECT_EQ(949301938 - 58, queryCivilTimeUtc(civilTime));
EXPECT_EQ(2000, queryCivilTimeCalendar(civilTime).mYear);
EXPECT_EQ(1, queryCivilTimeCalendar(civilTime).mMonth);
EXPECT_EQ(30, queryCivilTimeCalendar(civilTime).mDay);
EXPECT_EQ(Sunday, queryCivilTimeCalendar(civilTime).mWeekDay);
EXPECT_EQ(22, queryCivilTimeClock(civilTime).mHour);
EXPECT_EQ(58, queryCivilTimeClock(civilTime).mMinute);
EXPECT_FALSE(advanceCivilTimeMinute(civilTime, 59));
/* Sun Jan 30 22:59:00 PST 2000 */
EXPECT_EQ(949301940, queryCivilTimeUtc(civilTime));
EXPECT_EQ(2000, queryCivilTimeCalendar(civilTime).mYear);
EXPECT_EQ(1, queryCivilTimeCalendar(civilTime).mMonth);
EXPECT_EQ(30, queryCivilTimeCalendar(civilTime).mDay);
EXPECT_EQ(Sunday, queryCivilTimeCalendar(civilTime).mWeekDay);
EXPECT_EQ(22, queryCivilTimeClock(civilTime).mHour);
EXPECT_EQ(59, queryCivilTimeClock(civilTime).mMinute);
EXPECT_FALSE(advanceCivilTimeHour(civilTime, 23));
/* Sun Jan 30 23:00:00 PST 2000 */
EXPECT_EQ(949302000, queryCivilTimeUtc(civilTime));
EXPECT_EQ(2000, queryCivilTimeCalendar(civilTime).mYear);
EXPECT_EQ(1, queryCivilTimeCalendar(civilTime).mMonth);
EXPECT_EQ(30, queryCivilTimeCalendar(civilTime).mDay);
EXPECT_EQ(Sunday, queryCivilTimeCalendar(civilTime).mWeekDay);
EXPECT_EQ(23, queryCivilTimeClock(civilTime).mHour);
EXPECT_EQ(0, queryCivilTimeClock(civilTime).mMinute);
EXPECT_FALSE(advanceCivilTimeDay(civilTime, 31));
/* Mon Jan 31 00:00:00 PST 2000 */
EXPECT_EQ(949305600, queryCivilTimeUtc(civilTime));
EXPECT_EQ(2000, queryCivilTimeCalendar(civilTime).mYear);
EXPECT_EQ(1, queryCivilTimeCalendar(civilTime).mMonth);
EXPECT_EQ(31, queryCivilTimeCalendar(civilTime).mDay);
EXPECT_EQ(Monday, queryCivilTimeCalendar(civilTime).mWeekDay);
EXPECT_EQ(0, queryCivilTimeClock(civilTime).mHour);
EXPECT_EQ(0, queryCivilTimeClock(civilTime).mMinute);
EXPECT_FALSE(advanceCivilTimeMonth(civilTime, 2));
/* Tue Feb 1 00:00:00 PST 2000 */
EXPECT_EQ(949392000, queryCivilTimeUtc(civilTime));
EXPECT_EQ(2000, queryCivilTimeCalendar(civilTime).mYear);
EXPECT_EQ(2, queryCivilTimeCalendar(civilTime).mMonth);
EXPECT_EQ(1, queryCivilTimeCalendar(civilTime).mDay);
EXPECT_EQ(Tuesday, queryCivilTimeCalendar(civilTime).mWeekDay);
EXPECT_EQ(0, queryCivilTimeClock(civilTime).mHour);
EXPECT_EQ(0, queryCivilTimeClock(civilTime).mMinute);
EXPECT_EQ(-1, advanceCivilTimeYear(civilTime, 2001));
EXPECT_EQ(EAGAIN, errno);
/* Sun Apr 2 03:00:00 PDT 2000 */
EXPECT_EQ(954669600, queryCivilTimeUtc(civilTime));
EXPECT_EQ(2000, queryCivilTimeCalendar(civilTime).mYear);
EXPECT_EQ(4, queryCivilTimeCalendar(civilTime).mMonth);
EXPECT_EQ(2, queryCivilTimeCalendar(civilTime).mDay);
EXPECT_EQ(Sunday, queryCivilTimeCalendar(civilTime).mWeekDay);
EXPECT_EQ(3-1, queryCivilTimeClock(civilTime).mHour);
EXPECT_EQ(0, queryCivilTimeClock(civilTime).mMinute);
EXPECT_EQ(-1, advanceCivilTimeYear(civilTime, 2001));
EXPECT_EQ(EAGAIN, errno);
/* Sun Apr 2 03:00:00 PDT 2000 */
EXPECT_EQ(954669600, queryCivilTimeUtc(civilTime));
EXPECT_EQ(2000, queryCivilTimeCalendar(civilTime).mYear);
EXPECT_EQ(4, queryCivilTimeCalendar(civilTime).mMonth);
EXPECT_EQ(2, queryCivilTimeCalendar(civilTime).mDay);
EXPECT_EQ(Sunday, queryCivilTimeCalendar(civilTime).mWeekDay);
EXPECT_EQ(3-0, queryCivilTimeClock(civilTime).mHour);
EXPECT_EQ(0, queryCivilTimeClock(civilTime).mMinute);
EXPECT_EQ(-1, advanceCivilTimeYear(civilTime, 2001));
EXPECT_EQ(EAGAIN, errno);
/* Sun Oct 29 01:00:00 PST 2000 */
EXPECT_EQ(972810000, queryCivilTimeUtc(civilTime));
EXPECT_EQ(2000, queryCivilTimeCalendar(civilTime).mYear);
EXPECT_EQ(10, queryCivilTimeCalendar(civilTime).mMonth);
EXPECT_EQ(29, queryCivilTimeCalendar(civilTime).mDay);
EXPECT_EQ(Sunday, queryCivilTimeCalendar(civilTime).mWeekDay);
EXPECT_EQ(0 - 1 - 1, queryCivilTimeClock(civilTime).mHour);
EXPECT_EQ(0, queryCivilTimeClock(civilTime).mMinute);
EXPECT_EQ(-1, advanceCivilTimeYear(civilTime, 2001));
EXPECT_EQ(EAGAIN, errno);
/* Sun Oct 29 02:00:00 PST 2000 */
EXPECT_EQ(972813600, queryCivilTimeUtc(civilTime));
EXPECT_EQ(2000, queryCivilTimeCalendar(civilTime).mYear);
EXPECT_EQ(10, queryCivilTimeCalendar(civilTime).mMonth);
EXPECT_EQ(29, queryCivilTimeCalendar(civilTime).mDay);
EXPECT_EQ(Sunday, queryCivilTimeCalendar(civilTime).mWeekDay);
EXPECT_EQ(2, queryCivilTimeClock(civilTime).mHour);
EXPECT_EQ(0, queryCivilTimeClock(civilTime).mMinute);
EXPECT_FALSE(advanceCivilTimeYear(civilTime, 2001));
/* Mon Jan 1 00:00:00 PST 2001 */
EXPECT_EQ(978336000, queryCivilTimeUtc(civilTime));
EXPECT_EQ(2001, queryCivilTimeCalendar(civilTime).mYear);
EXPECT_EQ(1, queryCivilTimeCalendar(civilTime).mMonth);
EXPECT_EQ(1, queryCivilTimeCalendar(civilTime).mDay);
EXPECT_EQ(Monday, queryCivilTimeCalendar(civilTime).mWeekDay);
EXPECT_EQ(0, queryCivilTimeClock(civilTime).mHour);
EXPECT_EQ(0, queryCivilTimeClock(civilTime).mMinute);
}
/* -------------------------------------------------------------------------- */
TEST_F(CivilTimeTest, AdvanceTimeSpringDST)
{
static char TZ[] = "TZ=US/Pacific";
putenv(TZ);
struct CivilTime civilTime_, *civilTime = &civilTime_;
EXPECT_EQ(civilTime, initCivilTime(civilTime, 954669600));
/* Sun Apr 2 03:00:00 PDT 2000 */
EXPECT_EQ(954669600, queryCivilTimeUtc(civilTime));
EXPECT_EQ(2000, queryCivilTimeCalendar(civilTime).mYear);
EXPECT_EQ(4, queryCivilTimeCalendar(civilTime).mMonth);
EXPECT_EQ(2, queryCivilTimeCalendar(civilTime).mDay);
EXPECT_EQ(Sunday, queryCivilTimeCalendar(civilTime).mWeekDay);
EXPECT_EQ(3-1, queryCivilTimeClock(civilTime).mHour);
EXPECT_EQ(0, queryCivilTimeClock(civilTime).mMinute);
EXPECT_FALSE(advanceCivilTimeMinute(civilTime, 1));
/* Sun Apr 2 03:01:00 PDT 2000 */
EXPECT_EQ(954669660, queryCivilTimeUtc(civilTime));
EXPECT_EQ(2000, queryCivilTimeCalendar(civilTime).mYear);
EXPECT_EQ(4, queryCivilTimeCalendar(civilTime).mMonth);
EXPECT_EQ(2, queryCivilTimeCalendar(civilTime).mDay);
EXPECT_EQ(Sunday, queryCivilTimeCalendar(civilTime).mWeekDay);
EXPECT_EQ(3-1, queryCivilTimeClock(civilTime).mHour);
EXPECT_EQ(1, queryCivilTimeClock(civilTime).mMinute);
}
/* -------------------------------------------------------------------------- */
TEST_F(CivilTimeTest, AdvanceTimeFallDST)
{
static char TZ[] = "TZ=US/Pacific";
putenv(TZ);
struct CivilTime civilTime_, *civilTime = &civilTime_;
EXPECT_EQ(civilTime, initCivilTime(civilTime, 972810000));
/* Sun Oct 29 01:00:00 PST 2000 */
EXPECT_EQ(972810000, queryCivilTimeUtc(civilTime));
EXPECT_EQ(2000, queryCivilTimeCalendar(civilTime).mYear);
EXPECT_EQ(10, queryCivilTimeCalendar(civilTime).mMonth);
EXPECT_EQ(29, queryCivilTimeCalendar(civilTime).mDay);
EXPECT_EQ(Sunday, queryCivilTimeCalendar(civilTime).mWeekDay);
EXPECT_EQ(0 - 1 - 1, queryCivilTimeClock(civilTime).mHour);
EXPECT_EQ(0, queryCivilTimeClock(civilTime).mMinute);
EXPECT_FALSE(advanceCivilTimeMinute(civilTime, 1));
/* Sun Oct 29 01:00:00 PST 2000 */
EXPECT_EQ(972810060, queryCivilTimeUtc(civilTime));
EXPECT_EQ(2000, queryCivilTimeCalendar(civilTime).mYear);
EXPECT_EQ(10, queryCivilTimeCalendar(civilTime).mMonth);
EXPECT_EQ(29, queryCivilTimeCalendar(civilTime).mDay);
EXPECT_EQ(Sunday, queryCivilTimeCalendar(civilTime).mWeekDay);
EXPECT_EQ(0 - 1 - 1, queryCivilTimeClock(civilTime).mHour);
EXPECT_EQ(1, queryCivilTimeClock(civilTime).mMinute);
}
/* -------------------------------------------------------------------------- */
#include "_test_.h"
| 43.598039 | 80 | 0.695244 | earlchew |
f36546827c46711c4267fa17bdc2d7db930763ca | 1,952 | hpp | C++ | include/visionSystem.hpp | patnolan33/Midterm_Perception | f383b5be0bc9dcf85e83578d69af1d43b6a7d97c | [
"MIT"
] | null | null | null | include/visionSystem.hpp | patnolan33/Midterm_Perception | f383b5be0bc9dcf85e83578d69af1d43b6a7d97c | [
"MIT"
] | null | null | null | include/visionSystem.hpp | patnolan33/Midterm_Perception | f383b5be0bc9dcf85e83578d69af1d43b6a7d97c | [
"MIT"
] | null | null | null | /**
* @file visionSystem.gpp
* @brief VisionSystem Class implementation
* @details Definition of the VisionSystem class to determine suggested actions based on images and depth measurements
* @author Patrick Nolan (patnolan33)
* @copyright MIT License.
*/
#include <camera.hpp>
#include <laserRangeFinder.hpp>
#include <iostream>
#include <string>
#include <memory>
/**
* @brief VisionSystem class determines suggested vehicle actions based on images and depth measurements
*/
class VisionSystem {
public:
/**
* @brief VisionSystem constructor
* @param maxDetectionDistance Maximum detection distance of the onboard lasers
* @param vehicleCrossSection Vehicle forward cross section to determine if it can fit into any empty spaces found
*/
VisionSystem(double maxDetectionDistance, double vehicleCrossSection);
/**
* @brief Determine the control action based on images and depth measurements
* @return string denoting the suggested action (i.e. turn right/left 45 degrees, continue straight, no action)
*/
std::string determineControlAction();
/**
* @brief Get the current suggested action
* @return string denoting the suggested action (i.e. turn right/left 45 degrees, continue straight, no action)
*/
std::string getSuggestedAction();
/**
* @brief Get the vehicle cross section
* @return vehicle forward cross section
*/
double getVehicleCrossSection();
private:
/**
* @brief Instantiation of the onboard Camera
*/
std::shared_ptr<Camera> camera;
/**
* @brief Instantiation of the left LaserRangeFinder
*/
std::shared_ptr<LaserRangeFinder> leftLaser;
/**
* @brief Instantiation of the right LaserRangeFinder
*/
std::shared_ptr<LaserRangeFinder> rightLaser;
/**
* @brief Container for the current suggested control action
*/
std::string suggestedAction;
/**
* @brief container for the vehicle cross sectoin
*/
double vehicleCrossSection;
};
| 26.026667 | 117 | 0.733607 | patnolan33 |
f3685a899c1560506f8efe945e01286e818cd6bd | 603 | cpp | C++ | Difficulty 1/drunkvigenere.cpp | BrynjarGeir/Kattis | a151972cbae3db04a8e6764d5fa468d0146c862b | [
"MIT"
] | null | null | null | Difficulty 1/drunkvigenere.cpp | BrynjarGeir/Kattis | a151972cbae3db04a8e6764d5fa468d0146c862b | [
"MIT"
] | null | null | null | Difficulty 1/drunkvigenere.cpp | BrynjarGeir/Kattis | a151972cbae3db04a8e6764d5fa468d0146c862b | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
int main() {
string encr, key, decry = "";
int shifted, pos;
cin >> encr >> key;
for(int i = 0; i < encr.size(); i++) {
if(i % 2 == 1) {
shifted = key.at(i) - 'A';
pos = encr.at(i) - 'A';
pos += shifted;
pos %= 26;
decry += (char)('A' + pos);
} else {
shifted = key.at(i) - 'A';
pos = encr.at(i) - 'A';
pos -= shifted;
if(pos < 0) pos += 26;
decry += (char)('A' + pos);
}
}
cout << decry;
} | 22.333333 | 42 | 0.378109 | BrynjarGeir |
f36d042664e253064c5d2d85e421cc5d4187b209 | 3,595 | cpp | C++ | silia/test/operations/norm_spec.cpp | cpanhuber/SimpleLinearAlgebra | 8d6240f5fd24d1bea0ba548e7839bb4ab439da69 | [
"Unlicense"
] | null | null | null | silia/test/operations/norm_spec.cpp | cpanhuber/SimpleLinearAlgebra | 8d6240f5fd24d1bea0ba548e7839bb4ab439da69 | [
"Unlicense"
] | null | null | null | silia/test/operations/norm_spec.cpp | cpanhuber/SimpleLinearAlgebra | 8d6240f5fd24d1bea0ba548e7839bb4ab439da69 | [
"Unlicense"
] | null | null | null | #include <silia/operations/operations.h>
#include <silia/types/factories.h>
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include <type_traits>
namespace silia
{
namespace
{
using namespace testing;
TEST(Norm, SquaredNorm_WhenVector)
{
auto v = MakeVector({2, 3, 1});
auto norm = SquaredNorm(v);
static_assert(std::is_same<decltype(norm), double>::value, "norm type check failed");
double tolerance = 1e-9;
EXPECT_NEAR(14.0, norm, tolerance);
}
TEST(Norm, SquaredNormF_WhenVector)
{
auto v = MakeVector({2, 3, 1});
auto norm = SquaredNormF(v);
static_assert(std::is_same<decltype(norm), float>::value, "norm type check failed");
float tolerance = 1e-7f;
EXPECT_NEAR(14.0f, norm, tolerance);
}
TEST(Norm, Norm_WhenVector)
{
auto v = MakeVector({2, 3, 1});
auto norm = Norm(v);
static_assert(std::is_same<decltype(norm), double>::value, "norm type check failed");
double tolerance = 1e-9;
EXPECT_NEAR(3.7416573868, norm, tolerance);
}
TEST(Norm, NormF_WhenVector)
{
auto v = MakeVector({2, 3, 1});
auto norm = NormF(v);
static_assert(std::is_same<decltype(norm), float>::value, "norm type check failed");
float tolerance = 1e-7f;
EXPECT_NEAR(3.7416573868f, norm, tolerance);
}
TEST(Norm, SquaredNorm_WhenMatrix)
{
auto m = MakeMatrix({{2}, {3}, {1}});
auto norm = SquaredNorm(m);
static_assert(std::is_same<decltype(norm), double>::value, "norm type check failed");
double tolerance = 1e-9;
EXPECT_NEAR(14.0, norm, tolerance);
}
TEST(Norm, SquaredNormF_WhenMatrix)
{
auto m = MakeMatrix({{2}, {3}, {1}});
auto norm = SquaredNormF(m);
static_assert(std::is_same<decltype(norm), float>::value, "norm type check failed");
float tolerance = 1e-7f;
EXPECT_NEAR(14.0f, norm, tolerance);
}
TEST(Norm, Norm_WhenMatrix)
{
auto m = MakeMatrix({{2}, {3}, {1}});
auto norm = Norm(m);
static_assert(std::is_same<decltype(norm), double>::value, "norm type check failed");
double tolerance = 1e-9;
EXPECT_NEAR(3.7416573868, norm, tolerance);
}
TEST(Norm, NormF_WhenMatrix)
{
auto m = MakeMatrix({{2}, {3}, {1}});
auto norm = NormF(m);
static_assert(std::is_same<decltype(norm), float>::value, "norm type check failed");
float tolerance = 1e-7f;
EXPECT_NEAR(3.7416573868f, norm, tolerance);
}
TEST(Norm, SquaredNorm_WhenTransposedView)
{
auto m = MakeMatrix({{2, 3, 1}});
auto norm = SquaredNorm(m.GetTransposedView());
static_assert(std::is_same<decltype(norm), double>::value, "norm type check failed");
double tolerance = 1e-9;
EXPECT_NEAR(14.0, norm, tolerance);
}
TEST(Norm, SquaredNormF_WhenTransposedView)
{
auto m = MakeMatrix({{2, 3, 1}});
auto norm = SquaredNormF(m.GetTransposedView());
static_assert(std::is_same<decltype(norm), float>::value, "norm type check failed");
float tolerance = 1e-7f;
EXPECT_NEAR(14.0f, norm, tolerance);
}
TEST(Norm, Norm_WhenTransposedView)
{
auto m = MakeMatrix({{2, 3, 1}});
auto norm = Norm(m.GetTransposedView());
static_assert(std::is_same<decltype(norm), double>::value, "norm type check failed");
double tolerance = 1e-9;
EXPECT_NEAR(3.7416573868, norm, tolerance);
}
TEST(Norm, NormF_WhenTransposedView)
{
auto m = MakeMatrix({{2, 3, 1}});
auto norm = NormF(m.GetTransposedView());
static_assert(std::is_same<decltype(norm), float>::value, "norm type check failed");
float tolerance = 1e-7f;
EXPECT_NEAR(3.7416573868f, norm, tolerance);
}
} // namespace
} // namespace silia
| 23.966667 | 89 | 0.665647 | cpanhuber |
f36dc4c57b84117cd6c422a3f3a18612bc23851f | 9,043 | cpp | C++ | OrbitQt/orbittreeview.cpp | ehei1/orbit | f990a7f9abb7d330e93d0d20018a62869890f04e | [
"BSD-2-Clause"
] | null | null | null | OrbitQt/orbittreeview.cpp | ehei1/orbit | f990a7f9abb7d330e93d0d20018a62869890f04e | [
"BSD-2-Clause"
] | null | null | null | OrbitQt/orbittreeview.cpp | ehei1/orbit | f990a7f9abb7d330e93d0d20018a62869890f04e | [
"BSD-2-Clause"
] | null | null | null | //-----------------------------------
// Copyright Pierric Gimmig 2013-2017
//-----------------------------------
#include "orbittreeview.h"
#include "orbitglwidget.h"
#include <QHeaderView>
#include <QMenu>
#include <QSignalMapper>
#include <QPainter>
#include <QScrollBar>
#include <QFontDatabase>
#include <set>
#include "../OrbitGl/App.h"
#include "../OrbitGl/DataViewModel.h"
//-----------------------------------------------------------------------------
OrbitTreeView::OrbitTreeView(QWidget *parent) : QTreeView(parent)
, m_Model(nullptr)
, m_Timer(nullptr)
, m_AutoResize(true)
{
header()->setSortIndicatorShown(true);
header()->setSectionsClickable(true);
setRootIsDecorated(false);
setItemsExpandable(false);
setContextMenuPolicy(Qt::CustomContextMenu);
setSelectionBehavior(QTreeView::SelectRows);
setUniformRowHeights(true);
setTextElideMode(Qt::ElideMiddle);
connect( header()
, SIGNAL( sortIndicatorChanged( int, Qt::SortOrder ) )
, this
, SLOT( OnSort( int, Qt::SortOrder ) ) );
connect( this
, SIGNAL( customContextMenuRequested( const QPoint & ) )
, this
, SLOT( ShowContextMenu( const QPoint & ) ) );
connect( header()
, SIGNAL( sectionResized( int, int, int ) )
, this
, SLOT( columnResized(int, int, int) ) );
connect( this
, SIGNAL( clicked(const QModelIndex ) )
, this
, SLOT( OnClicked( const QModelIndex) ) );
connect( this->verticalScrollBar()
, SIGNAL( rangeChanged(int,int) )
, this
, SLOT( OnRangeChanged( int, int) ) );
}
//-----------------------------------------------------------------------------
OrbitTreeView::~OrbitTreeView()
{
delete m_Model;
delete m_Timer;
}
//-----------------------------------------------------------------------------
void OrbitTreeView::Initialize(DataViewType a_Type)
{
m_Model = new OrbitTableModel(a_Type);
setModel( m_Model );
header()->resizeSections(QHeaderView::ResizeToContents);
if (m_Model->GetUpdatePeriodMs() > 0)
{
m_Timer = new QTimer(this);
connect(m_Timer, SIGNAL(timeout()), this, SLOT(OnTimer()));
m_Timer->start(m_Model->GetUpdatePeriodMs());
}
if( a_Type == DataViewType::FUNCTIONS ||
a_Type == DataViewType::LIVEFUNCTIONS ||
a_Type == DataViewType::CALLSTACK ||
a_Type == DataViewType::MODULES ||
a_Type == DataViewType::GLOBALS )
{
setSelectionMode( ExtendedSelection );
}
if (a_Type == DataViewType::LOG)
{
const QFont fixedFont = QFontDatabase::systemFont(QFontDatabase::FixedFont);
this->setFont( fixedFont );
}
}
//-----------------------------------------------------------------------------
void OrbitTreeView::SetDataModel(std::shared_ptr<DataViewModel> a_Model)
{
m_Model = new OrbitTableModel();
m_Model->SetDataViewModel( a_Model );
setModel( m_Model );
}
//-----------------------------------------------------------------------------
void OrbitTreeView::OnSort( int a_Section, Qt::SortOrder a_Order )
{
m_Model->sort( a_Section, a_Order );
Refresh();
}
//-----------------------------------------------------------------------------
void OrbitTreeView::OnFilter( const QString & a_Filter )
{
m_Model->OnFilter( a_Filter );
Refresh();
}
//-----------------------------------------------------------------------------
void OrbitTreeView::Select( int a_Row )
{
QModelIndex idx = m_Model->CreateIndex(a_Row, 0);
m_Model->OnClicked(idx);
Refresh();
}
//-----------------------------------------------------------------------------
void OrbitTreeView::OnTimer()
{
if( this->isVisible() && !m_Model->GetDataViewModel()->SkipTimer() )
{
m_Model->OnTimer();
Refresh();
}
}
//-----------------------------------------------------------------------------
void OrbitTreeView::OnClicked(const QModelIndex &index)
{
m_Model->OnClicked(index);
for( OrbitTreeView* treeView : m_Links )
{
treeView->Refresh();
}
}
//-----------------------------------------------------------------------------
void OrbitTreeView::Refresh()
{
QModelIndexList list = selectionModel()->selectedIndexes();
if( this->m_Model->GetDataViewModel()->GetType() == DataViewType::LIVEFUNCTIONS )
{
m_Model->layoutAboutToBeChanged();
m_Model->layoutChanged();
return;
}
reset();
// Re-select previous selection
int selected = m_Model->GetSelectedIndex();
if (selected >= 0)
{
QItemSelectionModel* selection = selectionModel();
QModelIndex idx = m_Model->CreateIndex(selected, 0);
selection->select(idx, QItemSelectionModel::ClearAndSelect | QItemSelectionModel::Rows);
}
}
//-----------------------------------------------------------------------------
void OrbitTreeView::resizeEvent(QResizeEvent * event)
{
if( m_AutoResize && m_Model && m_Model->GetDataViewModel() )
{
QSize headerSize = size();
const std::vector<float> & columnRatios = m_Model->GetDataViewModel()->GetColumnHeadersRatios();
for (size_t i = 0; i < columnRatios.size(); ++i)
{
float ratio = columnRatios[i];
if (ratio > 0.f)
{
header()->resizeSection((int)i, headerSize.width() * ratio);
}
}
}
QTreeView::resizeEvent(event);
}
//-----------------------------------------------------------------------------
void OrbitTreeView::Link( OrbitTreeView* a_Link )
{
m_Links.push_back( a_Link );
std::shared_ptr<DataViewModel> model = a_Link->GetModel()->GetDataViewModel();
m_Model->GetDataViewModel()->LinkModel( model.get() );
}
//-----------------------------------------------------------------------------
void OrbitTreeView::SetGlWidget( OrbitGLWidget* a_GlWidget )
{
this->m_Model->GetDataViewModel()->SetGlPanel( a_GlWidget->GetPanel() );
}
//-----------------------------------------------------------------------------
void OrbitTreeView::drawRow(QPainter *painter, const QStyleOptionViewItem &options, const QModelIndex &index) const
{
QTreeView::drawRow( painter, options, index );
}
//-----------------------------------------------------------------------------
QMenu* GContextMenu;
//-----------------------------------------------------------------------------
void OrbitTreeView::ShowContextMenu(const QPoint &pos)
{
QModelIndex index = this->indexAt(pos);
if( index.isValid() )
{
const std::vector<std::wstring> & menu = m_Model->GetDataViewModel()->GetContextMenu(index.row());
if( menu.size() > 0 )
{
QMenu contextMenu(tr("ContextMenu"), this);
GContextMenu = &contextMenu;
QSignalMapper signalMapper(this);
std::vector<QAction*> actions;
for( int i = 0; i < (int)menu.size(); ++i )
{
actions.push_back( new QAction( QString::fromStdWString(menu[i]) ) );
connect( actions[i], SIGNAL( triggered() ), &signalMapper, SLOT(map() ) );
signalMapper.setMapping( actions[i], i );
contextMenu.addAction( actions[i] );
}
connect( &signalMapper, SIGNAL( mapped( int) ), this, SLOT( OnMenuClicked( int ) ) );
contextMenu.exec( mapToGlobal( pos ) );
GContextMenu = nullptr;
for( QAction* action : actions ) delete action;
}
}
}
//-----------------------------------------------------------------------------
void OrbitTreeView::OnMenuClicked(int a_Index)
{
QModelIndexList list = selectionModel()->selectedIndexes();
std::set<int> selection;
for (QModelIndex & index : list)
{
selection.insert( index.row() );
}
m_Model->GetDataViewModel()->OnContextMenu( a_Index, std::vector<int>(selection.begin(), selection.end()) );
}
//-----------------------------------------------------------------------------
void OrbitTreeView::OnRangeChanged(int /*a_Min*/, int a_Max)
{
std::shared_ptr<DataViewModel> dataViewModel = m_Model->GetDataViewModel();
if( dataViewModel->ScrollToBottom() )
{
verticalScrollBar()->setValue(a_Max);
}
}
//-----------------------------------------------------------------------------
std::wstring OrbitTreeView::GetLabel()
{
if( m_Model && m_Model->GetDataViewModel() )
{
return m_Model->GetDataViewModel()->GetLabel();
}
return L"";
}
//-----------------------------------------------------------------------------
void OrbitTreeView::columnResized( int /*column*/, int /*oldSize*/, int /*newSize*/ )
{
if((GetKeyState(VK_LBUTTON) & 0x100) != 0)
{
m_AutoResize = false;
}
}
| 31.075601 | 115 | 0.499281 | ehei1 |
f371e48ae7802f66f8635991f4eec08057b787cf | 37,996 | cpp | C++ | Bonepick/test/engine/TestUtility.cpp | dodgelafnitz/Bonepick | 1a12193e5d0cf5d4061d0d3cbd1529a206ed38f4 | [
"MIT"
] | 3 | 2018-10-09T02:08:57.000Z | 2020-08-12T20:26:29.000Z | Bonepick/test/engine/TestUtility.cpp | dodgelafnitz/Bonepick | 1a12193e5d0cf5d4061d0d3cbd1529a206ed38f4 | [
"MIT"
] | 1 | 2018-09-30T02:42:39.000Z | 2018-09-30T02:42:39.000Z | Bonepick/test/engine/TestUtility.cpp | dodgelafnitz/Bonepick | 1a12193e5d0cf5d4061d0d3cbd1529a206ed38f4 | [
"MIT"
] | null | null | null | #include "test/engine/TestUtility.h"
#include <cstring>
#include <type_traits>
#include "engine/utility/Bitset.h"
#include "engine/utility/Blob.h"
#include "engine/utility/containers/DumbVariant.h"
#include "engine/utility/containers/External.h"
#include "engine/utility/containers/Optional.h"
#include "engine/utility/containers/SortedArray.h"
#include "engine/utility/containers/Tuple.h"
#include "engine/utility/containers/Variant.h"
#include "engine/utility/DataLayout.h"
#include "engine/utility/Debug.h"
#include "engine/utility/math/Vector.h"
#include "engine/utility/String.h"
#include "engine/utility/TemplateTools.h"
#include "engine/utility/Token.h"
namespace
{
//############################################################################
class NontrivialNonleaking
{
public:
NontrivialNonleaking(int * count) :
count_(count)
{
++(*count_);
}
NontrivialNonleaking(NontrivialNonleaking const & other) :
count_(other.count_)
{
++(*count_);
}
~NontrivialNonleaking(void)
{
--(*count_);
}
int const & GetCount(void) const
{
return *count_;
}
private:
int * count_;
};
//############################################################################
struct ComplexConstructed
{
ComplexConstructed(int a, float b) :
a(a), b(b)
{}
int a;
float b;
};
//############################################################################
struct MoveTester
{
enum MoveState
{
MoveStateDefaultConstructed,
MoveStateCopyConstructed,
MoveStateMoveConstructed,
MoveStateCopied,
MoveStateMoved,
MoveStatePilfered,
MoveStates
};
MoveTester(void) = default;
MoveTester(MoveTester const &)
: state_(MoveStateCopyConstructed)
{}
MoveTester(MoveTester && moveTester)
: state_(MoveStateMoveConstructed)
{
moveTester.state_ = MoveStatePilfered;
}
MoveState GetState(void) const
{
return state_;
}
MoveTester & operator =(MoveTester const &)
{
state_ = MoveStateCopied;
return *this;
}
MoveTester & operator =(MoveTester && moveTester)
{
state_ = MoveStateMoved;
moveTester.state_ = MoveStatePilfered;
return *this;
}
private:
MoveState state_ = MoveStateDefaultConstructed;
};
//############################################################################
void TestTokenCorrectness(void)
{
Token apple("apple");
ASSERT(std::strcmp(apple.Str().c_str(), "apple") == 0);
}
//############################################################################
void TestTokenComparisons(void)
{
Token apple("apple");
Token app_le("app le");
Token _apple(" apple");
Token banana("banana");
Token ban("ban");
ASSERT(_apple < app_le);
ASSERT(app_le < apple);
ASSERT(apple < ban);
ASSERT(ban < banana);
}
//############################################################################
void TestTokenNoLongNames(void)
{
EXPECT_ERROR(Token("name longer than 24 chars"););
}
//############################################################################
void TestTokenAssignment(void)
{
Token app0("apple");
Token app1;
app1 = app0;
ASSERT(app1 == "apple");
}
//############################################################################
void TestSortedArraySingleValue(void)
{
SortedArray<int> arr;
ASSERT(arr.Size() == 0);
arr.Emplace(5);
ASSERT(arr.Size() == 1);
ASSERT(arr[0] == 5);
EXPECT_ERROR(arr[1];);
ASSERT(*std::begin(arr) == 5);
ASSERT(std::begin(arr) == arr.Begin());
ASSERT(arr.Begin() + 1 == arr.End());
ASSERT(std::end(arr) == arr.End());
arr.Clear();
ASSERT(arr.Size() == 0);
}
//############################################################################
void TestSortedArrayValuesAddedInOrder(void)
{
SortedArray<int> arr;
arr.Emplace(2);
arr.Emplace(4);
arr.Emplace(8);
arr.Emplace(15);
arr.Emplace(21);
arr.Emplace(22);
ASSERT(arr.Size() == 6);
ASSERT(arr[0] == 2);
ASSERT(arr[1] == 4);
ASSERT(arr[2] == 8);
ASSERT(arr[3] == 15);
ASSERT(arr[4] == 21);
ASSERT(arr[5] == 22);
ASSERT(*std::begin(arr) == 2);
ASSERT(std::begin(arr) == arr.Begin());
ASSERT(arr.Begin() + 6 == arr.End());
ASSERT(std::end(arr) == arr.End());
arr.Clear();
ASSERT(arr.Size() == 0);
}
//############################################################################
void TestSortedArrayValuesAddedOutOfOrder(void)
{
SortedArray<int> arr;
arr.Emplace(8);
arr.Emplace(2);
arr.Emplace(22);
arr.Emplace(4);
arr.Emplace(21);
arr.Emplace(15);
ASSERT(arr.Size() == 6);
ASSERT(arr[0] == 2);
ASSERT(arr[1] == 4);
ASSERT(arr[2] == 8);
ASSERT(arr[3] == 15);
ASSERT(arr[4] == 21);
ASSERT(arr[5] == 22);
}
//############################################################################
void TestSortedArrayNoDuplicateValues(void)
{
SortedArray<int> arr;
arr.Emplace(5);
EXPECT_ERROR(arr.Emplace(5););
}
//############################################################################
void TestSortedArrayFind(void)
{
SortedArray<int> arr;
arr.Emplace(2);
arr.Emplace(22);
arr.Emplace(4);
arr.Emplace(21);
ASSERT(arr.Find(4) != nullptr);
ASSERT(arr.Find(7) == nullptr);
}
//############################################################################
void TestSortedArrayContains(void)
{
SortedArray<int> arr;
arr.Emplace(2);
arr.Emplace(22);
arr.Emplace(4);
arr.Emplace(21);
ASSERT(arr.Contains(4));
ASSERT(!arr.Contains(7));
}
//############################################################################
void TestSortedArrayConstAccess(void)
{
SortedArray<int> arr = { 2, 5, 7, 3, 6, 9 };
SortedArray<int> & ref = arr;
ASSERT(arr.Begin() == ref.Begin());
ASSERT(std::begin(arr) == std::begin(ref));
ASSERT(arr.End() == ref.End());
ASSERT(std::end(arr) == std::end(ref));
for (int i = 0; i < arr.Size(); ++i)
ASSERT(&arr[i] == &ref[i]);
ASSERT(arr.Find(5) == ref.Find(5));
ASSERT(arr.Find(1) == ref.Find(1));
}
//############################################################################
void TestSortedArrayAssignment(void)
{
SortedArray<int> arr0 = { 2, 5, 7, 3, 6, 9 };
SortedArray<int> arr1;
arr1 = arr0;
ASSERT(arr0[0] == 2);
ASSERT(arr0[1] == 3);
ASSERT(arr0[2] == 5);
ASSERT(arr0[3] == 6);
ASSERT(arr0[4] == 7);
ASSERT(arr0[5] == 9);
ASSERT(arr1[0] == 2);
ASSERT(arr1[1] == 3);
ASSERT(arr1[2] == 5);
ASSERT(arr1[3] == 6);
ASSERT(arr1[4] == 7);
ASSERT(arr1[5] == 9);
arr1.Clear();
ASSERT(arr1.Size() == 0);
arr1 = std::move(arr0);
ASSERT(arr1.Size() == 6);
ASSERT(arr1[0] == 2);
ASSERT(arr1[1] == 3);
ASSERT(arr1[2] == 5);
ASSERT(arr1[3] == 6);
ASSERT(arr1[4] == 7);
ASSERT(arr1[5] == 9);
ASSERT(arr0.Size() == 0);
}
//############################################################################
void TestArrayMapSingleValue(void)
{
ArrayMap<int, std::string> map;
ASSERT(map.Size() == 0);
map.Emplace(5, "hello");
ASSERT(map.Size() == 1);
ASSERT(map[0].key == 5);
ASSERT(map[0].value == "hello");
EXPECT_ERROR(map[1];);
ASSERT(std::begin(map) == &map[0]);
ASSERT(std::begin(map) == map.Begin());
ASSERT(map.Begin() + 1 == map.End());
ASSERT(std::end(map) == map.End());
map.Clear();
ASSERT(map.Size() == 0);
}
//############################################################################
void TestArrayMapValuesAddedInOrder(void)
{
ArrayMap<int, std::string> map;
ASSERT(map.Size() == 6);
ASSERT(map[0].key == 2);
ASSERT(map[1].key == 4);
ASSERT(map[2].key == 8);
ASSERT(map[3].key == 15);
ASSERT(map[4].key == 21);
ASSERT(map[5].key == 22);
ASSERT(map[0].value == "For ");
ASSERT(map[1].value == "sale: ");
ASSERT(map[2].value == "baby ");
ASSERT(map[3].value == "shoes, ");
ASSERT(map[4].value == "never ");
ASSERT(map[5].value == "worn");
ASSERT(std::begin(map) == &map[0]);
ASSERT(std::begin(map) == map.Begin());
ASSERT(map.Begin() + 6 == map.End());
ASSERT(std::end(map) == map.End());
map.Clear();
ASSERT(map.Size() == 0);
}
//############################################################################
void TestArrayMapValuesAddedOutOfOrder(void)
{
ArrayMap<int, std::string> map;
map.Emplace(8, "baby ");
map.Emplace(2, "For ");
map.Emplace(22, "worn");
map.Emplace(4, "sale: ");
map.Emplace(21, "never ");
map.Emplace(15, "shoes, ");
ASSERT(map.Size() == 6);
ASSERT(map[0].key == 2);
ASSERT(map[1].key == 4);
ASSERT(map[2].key == 8);
ASSERT(map[3].key == 15);
ASSERT(map[4].key == 21);
ASSERT(map[5].key == 22);
ASSERT(map[0].value == "For ");
ASSERT(map[1].value == "sale: ");
ASSERT(map[2].value == "baby ");
ASSERT(map[3].value == "shoes, ");
ASSERT(map[4].value == "never ");
ASSERT(map[5].value == "worn");
}
//############################################################################
void TestArrayMapNoDuplicateValues(void)
{
ArrayMap<int, std::string> map;
map.Emplace(5, "hi");
EXPECT_ERROR(map.Emplace(5, "bye"););
}
//############################################################################
void TestArrayMapFind(void)
{
ArrayMap<int, std::string> map;
map.Emplace(2, "apple");
map.Emplace(22, "banana");
map.Emplace(4, "cheese");
map.Emplace(21, "dip");
ASSERT(map.Find(4) != nullptr);
ASSERT(map.Find(7) == nullptr);
}
//############################################################################
void TestArrayMapContains(void)
{
ArrayMap<int, std::string> map;
map.Emplace(2, "apple");
map.Emplace(22, "banana");
map.Emplace(4, "cheese");
map.Emplace(21, "dip");
ASSERT(map.Contains(4));
ASSERT(!map.Contains(7));
}
//############################################################################
void TestArrayMapConstAccess(void)
{
ArrayMap<int, std::string> map =
{
{ 8, "baby " },
{ 2, "For " },
{ 22, "worn" },
{ 4, "sale: " },
{ 21, "never " },
{ 15, "shoes, " }
};
ArrayMap<int, std::string> & ref = map;
ASSERT(map.Begin() == ref.Begin());
ASSERT(std::begin(map) == std::begin(ref));
ASSERT(map.End() == ref.End());
ASSERT(std::end(map) == std::end(ref));
for (int i = 0; i < map.Size(); ++i)
ASSERT(&map[i] == &ref[i]);
ASSERT(map.Find(4) == ref.Find(4));
ASSERT(map.Find(1) == ref.Find(1));
}
//############################################################################
void TestDataLayoutSingleEntry(void)
{
Token const pos("pos");
std::type_index const typeIndex = GetTypeIndex<Vec3>();
DataLayout layout;
layout.Add(pos, typeIndex, 0);
ASSERT(layout.Size() == 1);
ASSERT(layout.Contains(pos));
ASSERT(layout.GetType(pos) == typeIndex);
ASSERT(layout.GetOffset(pos) == 0);
}
//############################################################################
void TestDataLayoutNoAddDuplicateEntry(void)
{
Token const pos("pos");
Token const posX("pos.x");
Token const posY("pos.y");
Token const posZ("pos.z");
std::type_index const vecType = GetTypeIndex<Vec3>();
std::type_index const floatType = GetTypeIndex<float>();
DataLayout layout;
layout.Add(pos, vecType, 0);
layout.Add(posX, floatType, sizeof(float) * 0);
layout.Add(posY, floatType, sizeof(float) * 1);
layout.Add(posZ, floatType, sizeof(float) * 2);
ASSERT(layout.Size() == 4);
ASSERT(layout.Contains(pos));
ASSERT(layout.Contains(posX));
ASSERT(layout.Contains(posY));
ASSERT(layout.Contains(posZ));
ASSERT(layout.GetType(pos) == vecType);
ASSERT(layout.GetType(posX) == floatType);
ASSERT(layout.GetType(posY) == floatType);
ASSERT(layout.GetType(posZ) == floatType);
ASSERT(layout.GetOffset(pos) == 0);
ASSERT(layout.GetOffset(posX) == sizeof(float) * 0);
ASSERT(layout.GetOffset(posY) == sizeof(float) * 1);
ASSERT(layout.GetOffset(posZ) == sizeof(float) * 2);
}
//############################################################################
void TestDataLayoutMultipleEntries(void)
{
Token const pos("pos");
std::type_index const vecType = GetTypeIndex<Vec3>();
std::type_index const floatType = GetTypeIndex<float>();
DataLayout layout;
layout.Add(pos, vecType, 0);
EXPECT_ERROR(layout.Add(pos, floatType, 0););
}
//############################################################################
void TestDataLayoutOrdering(void)
{
Token const pos("pos");
Token const posX("pos.x");
Token const posY("pos.y");
Token const posZ("pos.z");
std::type_index const vecType = GetTypeIndex<Vec3>();
std::type_index const floatType = GetTypeIndex<float>();
DataLayout layout;
layout.Add(pos, vecType, 0);
layout.Add(posX, floatType, sizeof(float) * 0);
layout.Add(posY, floatType, sizeof(float) * 1);
layout.Add(posZ, floatType, sizeof(float) * 2);
Token previousToken;
for (auto const & data : layout)
{
ASSERT(data.key > previousToken);
previousToken = data.key;
}
}
//############################################################################
void TestDataLayoutAssignment(void)
{
Token const pos("pos");
Token const posX("pos.x");
Token const posY("pos.y");
Token const posZ("pos.z");
std::type_index const vecType = GetTypeIndex<Vec3>();
std::type_index const floatType = GetTypeIndex<float>();
DataLayout layout0;
layout0.Add(pos, vecType, 0);
layout0.Add(posX, floatType, sizeof(float) * 0);
layout0.Add(posY, floatType, sizeof(float) * 1);
layout0.Add(posZ, floatType, sizeof(float) * 2);
DataLayout layout1;
layout1 = layout0;
ASSERT(layout0.Size() == 4);
ASSERT(layout0.Contains(pos));
ASSERT(layout0.Contains(posX));
ASSERT(layout0.Contains(posY));
ASSERT(layout0.Contains(posZ));
ASSERT(layout0.GetType(pos) == vecType);
ASSERT(layout0.GetType(posX) == floatType);
ASSERT(layout0.GetType(posY) == floatType);
ASSERT(layout0.GetType(posZ) == floatType);
ASSERT(layout0.GetOffset(pos) == 0);
ASSERT(layout0.GetOffset(posX) == sizeof(float) * 0);
ASSERT(layout0.GetOffset(posY) == sizeof(float) * 1);
ASSERT(layout0.GetOffset(posZ) == sizeof(float) * 2);
ASSERT(layout1.Size() == 4);
ASSERT(layout1.Contains(pos));
ASSERT(layout1.Contains(posX));
ASSERT(layout1.Contains(posY));
ASSERT(layout1.Contains(posZ));
ASSERT(layout1.GetType(pos) == vecType);
ASSERT(layout1.GetType(posX) == floatType);
ASSERT(layout1.GetType(posY) == floatType);
ASSERT(layout1.GetType(posZ) == floatType);
ASSERT(layout1.GetOffset(pos) == 0);
ASSERT(layout1.GetOffset(posX) == sizeof(float) * 0);
ASSERT(layout1.GetOffset(posY) == sizeof(float) * 1);
ASSERT(layout1.GetOffset(posZ) == sizeof(float) * 2);
layout1.Clear();
ASSERT(layout1.Size() == 0);
layout1 = std::move(layout0);
ASSERT(layout0.Size() == 0);
ASSERT(layout1.Size() == 4);
ASSERT(layout1.Contains(pos));
ASSERT(layout1.Contains(posX));
ASSERT(layout1.Contains(posY));
ASSERT(layout1.Contains(posZ));
ASSERT(layout1.GetType(pos) == vecType);
ASSERT(layout1.GetType(posX) == floatType);
ASSERT(layout1.GetType(posY) == floatType);
ASSERT(layout1.GetType(posZ) == floatType);
ASSERT(layout1.GetOffset(pos) == 0);
ASSERT(layout1.GetOffset(posX) == sizeof(float) * 0);
ASSERT(layout1.GetOffset(posY) == sizeof(float) * 1);
ASSERT(layout1.GetOffset(posZ) == sizeof(float) * 2);
}
//############################################################################
void TestStringInfo(void)
{
char const * str = "string";
String string0(str);
String string1(str, 3);
ASSERT(string0.Size() == 6);
ASSERT(!string0.Empty());
ASSERT(string0.IsNullTerminated());
ASSERT(string1.Size() == 3);
ASSERT(!string1.Empty());
ASSERT(!string1.IsNullTerminated());
string1.Clear();
ASSERT(string1.Size() == 0);
ASSERT(string1.Empty());
ASSERT(string1.IsNullTerminated());
}
//############################################################################
void TestStringMakeOwner(void)
{
char const * str = "string";
String string(str);
ASSERT(string.Ptr() == str);
string.MakeOwner();
ASSERT(string.Ptr() != str);
}
//############################################################################
void TestStringAccess(void)
{
char const * str = "string";
String string(str);
ASSERT(string.Size() == int(std::strlen(str)));
for (int i = 0; i < string.Size(); ++i)
ASSERT(string[i] == str[i]);
string.MakeOwner();
for (int i = 0; i < string.Size(); ++i)
ASSERT(string[i] == str[i]);
}
//############################################################################
void TestStringAppend(void)
{
char const * hello = "hello";
char const * world = "world";
char const * helloWorld = "hello world";
String string0;
ASSERT(string0.Size() == 0);
string0 += hello;
ASSERT(string0 == hello);
string0 += ' ';
ASSERT(string0.Size() == 6);
String string1 = string0 + world;
ASSERT(string1 == helloWorld);
String string2 = string1 + '!';
ASSERT(string2.Size() == 12);
}
//############################################################################
void TestStringCopy(void)
{
char const * str = "string";
String string0(str);
string0.MakeOwner();
String string1 = string0;
ASSERT(string0 == string1);
string1.MakeOwner();
ASSERT(string0 == string1);
String string2;
ASSERT(string0 != string2);
string2 = string1;
ASSERT(string0 == string2);
}
//############################################################################
void TestStringMove(void)
{
char const * str = "string";
String string0(str);
string0.MakeOwner();
String string1 = std::move(string0);
String string2 = str;
ASSERT(string0.Size() == 0);
string1.MakeOwner();
ASSERT(string1 == string2);
string0 = std::move(string1);
ASSERT(string1.Size() == 0);
ASSERT(string0 == string2);
}
//############################################################################
void TestStringSubstring(void)
{
char const * hello = "hello";
char const * world = "world";
char const * helloWorld = "hello world";
String string0 = helloWorld;
String string1 = hello;
String string2 = world;
ASSERT(string0.Substring(0, 5) == string1);
ASSERT(string0.Substring(6, 5) == string2);
}
//############################################################################
void TestDumbVariantEmplace(void)
{
DumbVariant<sizeof(NontrivialNonleaking)> var;
int count = 0;
var.Emplace<NontrivialNonleaking>(&count);
ASSERT(count == 1);
}
//############################################################################
void TestDumbVariantClear(void)
{
DumbVariant<sizeof(NontrivialNonleaking)> var;
int count = 0;
var.Emplace<NontrivialNonleaking>(&count);
var.Clear<NontrivialNonleaking>();
ASSERT(count == 0);
}
//############################################################################
void TestDumbVariantGet(void)
{
DumbVariant<sizeof(NontrivialNonleaking)> var;
int count = 0;
var.Emplace<NontrivialNonleaking>(&count);
ASSERT(&var.Get<NontrivialNonleaking>().GetCount() == &count);
DumbVariant<sizeof(NontrivialNonleaking)> const & varRef = var;
static_assert(
!std::is_const<std::remove_reference<decltype(
var.Get<NontrivialNonleaking>())>::type>::value);
static_assert(
std::is_const<std::remove_reference<decltype(
varRef.Get<NontrivialNonleaking>())>::type>::value);
ASSERT(
&varRef.Get<NontrivialNonleaking>() == &var.Get<NontrivialNonleaking>());
}
//############################################################################
void TestBitsetAccess(void)
{
Bitset bitset = { 2, 6, 9 };
ASSERT(!bitset.Get(0));
ASSERT(!bitset.Get(1));
ASSERT(bitset.Get(2));
ASSERT(!bitset.Get(3));
ASSERT(!bitset.Get(4));
ASSERT(!bitset.Get(5));
ASSERT(bitset.Get(6));
ASSERT(!bitset.Get(7));
ASSERT(!bitset.Get(8));
ASSERT(bitset.Get(9));
ASSERT(!bitset.Get(10));
ASSERT(!bitset[0]);
ASSERT(!bitset[1]);
ASSERT(bitset[2]);
ASSERT(!bitset[3]);
ASSERT(!bitset[4]);
ASSERT(!bitset[5]);
ASSERT(bitset[6]);
ASSERT(!bitset[7]);
ASSERT(!bitset[8]);
ASSERT(bitset[9]);
ASSERT(!bitset[10]);
ASSERT(!bitset.Get(10000));
EXPECT_ERROR(bitset.Get(-10););
bitset.Set(4);
bitset.Unset(6);
bitset.Unset(7);
bitset.Set(9);
bitset.Set(10);
ASSERT(!bitset.Get(0));
ASSERT(!bitset.Get(1));
ASSERT(bitset.Get(2));
ASSERT(!bitset.Get(3));
ASSERT(bitset.Get(4));
ASSERT(!bitset.Get(5));
ASSERT(!bitset.Get(6));
ASSERT(!bitset.Get(7));
ASSERT(!bitset.Get(8));
ASSERT(bitset.Get(9));
ASSERT(bitset.Get(10));
ASSERT(!bitset.Get(11));
}
//############################################################################
void TestBitsetCopy(void)
{
Bitset bitset0;
bitset0.Set(3);
bitset0.Set(6);
Bitset bitset1 = bitset0;
ASSERT(bitset1 == bitset0);
ASSERT(!bitset0.Get(0));
ASSERT(!bitset0.Get(1));
ASSERT(!bitset0.Get(2));
ASSERT(bitset0.Get(3));
ASSERT(!bitset0.Get(4));
ASSERT(!bitset0.Get(5));
ASSERT(bitset0.Get(6));
ASSERT(!bitset1.Get(0));
ASSERT(!bitset1.Get(1));
ASSERT(!bitset1.Get(2));
ASSERT(bitset1.Get(3));
ASSERT(!bitset1.Get(4));
ASSERT(!bitset1.Get(5));
ASSERT(bitset1.Get(6));
Bitset bitset2 = std::move(bitset1);
ASSERT(bitset1 != bitset2);
ASSERT(!bitset1.Get(0));
ASSERT(!bitset1.Get(1));
ASSERT(!bitset1.Get(2));
ASSERT(!bitset1.Get(3));
ASSERT(!bitset1.Get(4));
ASSERT(!bitset1.Get(5));
ASSERT(!bitset1.Get(6));
ASSERT(!bitset2.Get(0));
ASSERT(!bitset2.Get(1));
ASSERT(!bitset2.Get(2));
ASSERT(bitset2.Get(3));
ASSERT(!bitset2.Get(4));
ASSERT(!bitset2.Get(5));
ASSERT(bitset2.Get(6));
bitset1 = std::move(bitset2);
ASSERT(!bitset2.Get(0));
ASSERT(!bitset2.Get(1));
ASSERT(!bitset2.Get(2));
ASSERT(!bitset2.Get(3));
ASSERT(!bitset2.Get(4));
ASSERT(!bitset2.Get(5));
ASSERT(!bitset2.Get(6));
ASSERT(!bitset1.Get(0));
ASSERT(!bitset1.Get(1));
ASSERT(!bitset1.Get(2));
ASSERT(bitset1.Get(3));
ASSERT(!bitset1.Get(4));
ASSERT(!bitset1.Get(5));
ASSERT(bitset1.Get(6));
}
//############################################################################
void TestBitsetClear(void)
{
Bitset bitset;
bitset.Set(4);
bitset.Set(5);
bitset.Clear();
ASSERT(!bitset.Get(4));
ASSERT(!bitset.Get(5));
}
//############################################################################
void TestVariantAccess(void)
{
typedef Variant<int, float> VarType;
VarType var;
ASSERT(!var.IsType<int>());
ASSERT(!var.IsType<float>());
EXPECT_ERROR(var.Get<int>(););
EXPECT_ERROR(var.Get<float>(););
ASSERT(var.TryGet<int>() == nullptr);
ASSERT(var.TryGet<float>() == nullptr);
var.Emplace<int>(5);
ASSERT(var.IsType<int>());
ASSERT(!var.IsType<float>());
ASSERT(var.Get<int>() == 5);
EXPECT_ERROR(var.Get<float>(););
ASSERT(var.TryGet<int>());
ASSERT(var.TryGet<float>() == nullptr);
var.Emplace<float>(3.0f);
ASSERT(!var.IsType<int>());
ASSERT(var.IsType<float>());
EXPECT_ERROR(var.Get<int>(););
ASSERT(var.Get<float>() == int(3.0f));
ASSERT(var.TryGet<int>() == nullptr);
ASSERT(var.TryGet<float>());
var.Clear();
ASSERT(!var.IsType<int>());
ASSERT(!var.IsType<float>());
EXPECT_ERROR(var.Get<int>(););
EXPECT_ERROR(var.Get<float>(););
ASSERT(var.TryGet<int>() == nullptr);
ASSERT(var.TryGet<float>() == nullptr);
}
//############################################################################
void TestVariantComplexEmplace(void)
{
typedef Variant<int, float, ComplexConstructed> VarType;
VarType var;
var.Emplace<ComplexConstructed>(5, 4.0f);
ASSERT(var.IsType<ComplexConstructed>());
ASSERT(var.Get<ComplexConstructed>().a == 5);
ASSERT(var.Get<ComplexConstructed>().b == 4.0f);
}
//############################################################################
void TestVariantInitDeinit(void)
{
typedef Variant<int, NontrivialNonleaking> VarType;
VarType var0 = int(5);
ASSERT(var0.IsType<int>());
ASSERT(!var0.IsType<NontrivialNonleaking>());
ASSERT(var0.Get<int>() == 5);
EXPECT_ERROR(var0.Get<NontrivialNonleaking>(););
ASSERT(var0.TryGet<int>());
ASSERT(var0.TryGet<NontrivialNonleaking>() == nullptr);
var0.Get<int>() = 0;
{
VarType var1 = NontrivialNonleaking(&var0.Get<int>());
ASSERT(var0.Get<int>() == var1.Get<NontrivialNonleaking>().GetCount());
ASSERT(var1.Get<NontrivialNonleaking>().GetCount() == 1);
}
ASSERT(var0.Get<int>() == 0);
}
//############################################################################
void TestVariantCopy(void)
{
typedef Variant<int, float> VarType;
VarType var0 = int(5);
VarType var1 = var0;
ASSERT(var1.IsType<int>());
ASSERT(var1.Get<int>() == 5);
ASSERT(var0.IsType<int>());
ASSERT(var0.Get<int>() == 5);
VarType var2;
var2 = var1;
ASSERT(var2.IsType<int>());
ASSERT(var2.Get<int>() == 5);
ASSERT(var1.IsType<int>());
ASSERT(var1.Get<int>() == 5);
}
//############################################################################
void TestVariantMove(void)
{
typedef Variant<int, float, MoveTester> VarType;
VarType var0;
var0.Emplace<MoveTester>();
ASSERT(var0.Get<MoveTester>().GetState() ==
MoveTester::MoveStateDefaultConstructed);
VarType var1 = std::move(var0);
ASSERT(var0.Get<MoveTester>().GetState() ==
MoveTester::MoveStatePilfered);
ASSERT(var1.Get<MoveTester>().GetState() ==
MoveTester::MoveStateMoveConstructed);
var0 = std::move(var1);
ASSERT(var0.Get<MoveTester>().GetState() ==
MoveTester::MoveStateMoved);
ASSERT(var1.Get<MoveTester>().GetState() ==
MoveTester::MoveStatePilfered);
}
//############################################################################
void TestExternalAccess(void)
{
External<int> ext0;
EXPECT_ERROR(*ext0;);
ASSERT(ext0.Ptr() == nullptr);
ext0.Emplace(5);
ASSERT(*ext0 == 5);
ASSERT(ext0.Ptr());
ext0.Clear();
EXPECT_ERROR(*ext0;);
ASSERT(ext0.Ptr() == nullptr);
External<ComplexConstructed> ext1(5, 3.0f);
ASSERT(ext1->a == 5);
ASSERT(ext1->b == 3.0f);
ASSERT(ext1.Ptr());
}
//############################################################################
void TestExternalConstAccess(void)
{
External<int> const ext0(5);
ASSERT(*ext0 == 5);
ASSERT(ext0.Ptr());
External<ComplexConstructed> const ext1(5, 3.0f);
ASSERT(ext1->a == 5);
ASSERT(ext1->b == 3.0f);
ASSERT(ext1.Ptr());
}
//############################################################################
void TestExternalInitDeinit(void)
{
int count = 0;
{
External<NontrivialNonleaking> ext0;
ASSERT(count == 0);
{
External<NontrivialNonleaking> ext1;
ext1.Emplace(&count);
ASSERT(count == 1);
ext0 = ext1;
ASSERT(count == 1);
}
ASSERT(count == 1);
}
ASSERT(count == 0);
}
//############################################################################
void TestExternalCopy(void)
{
External<int> ext0;
ASSERT(ext0.Ptr() == nullptr);
ext0.Emplace(5);
External<int> ext1 = ext0;
ASSERT(ext1.Ptr());
ASSERT(*ext1 == 5);
ext1.Emplace(3);
ext0 = ext1;
ASSERT(ext0.Ptr() == ext1.Ptr());
ASSERT(*ext0 == 3);
}
//############################################################################
void TestExternalCompare(void)
{
External<int> ext0 = 5;
External<int> ext1 = 5;
ASSERT(ext0 != ext1);
ext1 = ext0;
ASSERT(ext0 == ext1);
}
//############################################################################
void TestWeakExternalAccess(void)
{
WeakExternal<Bitset> ext0;
ASSERT(ext0.Ptr() == nullptr);
{
External<Bitset> ext1;
ext1.Emplace(Bitset({ 2 }));
ext0 = ext1;
ASSERT(ext0.Ptr());
ASSERT((*ext0)[2]);
ASSERT(ext0->Get(2));
*ext0 = Bitset({4});
ASSERT(!ext1->Get(2));
ASSERT(ext1->Get(4));
}
ASSERT(ext0.Ptr() == nullptr);
}
//############################################################################
void TestWeakExternalConstAccess(void)
{
External<int> ext0 = 4;
WeakExternal<int> const ext1 = ext0;
ASSERT(ext1.Ptr());
ASSERT(ext1.Ptr() == ext0.Ptr());
ext0.Clear();
ASSERT(!ext1.Ptr());
}
//############################################################################
void TestWeakExternalCopy(void)
{
External<int> ext0 = 3;
WeakExternal<int> ext1 = ext0;
WeakExternal<int> ext2 = ext1;
ASSERT(ext1 == ext2);
ext1.Clear();
ASSERT(ext2.Ptr() == ext0.Ptr());
ext1 = ext2;
ASSERT(ext1 == ext2);
}
//############################################################################
void TestOptionalAccess(void)
{
Optional<int> opt0;
EXPECT_ERROR(*opt0;);
ASSERT(opt0.Ptr() == nullptr);
opt0.Emplace(5);
ASSERT(*opt0 == 5);
ASSERT(opt0.Ptr());
opt0.Clear();
EXPECT_ERROR(*opt0;);
ASSERT(opt0.Ptr() == nullptr);
Optional<ComplexConstructed> opt1(5, 3.0f);
ASSERT(opt1->a == 5);
ASSERT(opt1->b == 3.0f);
ASSERT(opt1.Ptr());
}
//############################################################################
void TestOptionalConstAccess(void)
{
Optional<int> const opt0(5);
ASSERT(*opt0 == 5);
ASSERT(opt0.Ptr());
Optional<ComplexConstructed> const opt1(5, 3.0f);
ASSERT(opt1->a == 5);
ASSERT(opt1->b == 3.0f);
ASSERT(opt1.Ptr());
}
//############################################################################
void TestOptionalInitDeinit(void)
{
int count = 0;
{
Optional<NontrivialNonleaking> opt;
ASSERT(count == 0);
opt.Emplace(&count);
ASSERT(count == 1);
}
ASSERT(count == 0);
}
//############################################################################
void TestOptionalCopy(void)
{
Optional<int> opt0;
ASSERT(opt0.Ptr() == nullptr);
opt0.Emplace(5);
Optional<int> opt1 = opt0;
ASSERT(opt1.Ptr());
ASSERT(*opt1 == 5);
int * loc0 = opt1.Ptr();
opt1.Emplace(3);
int * loc1 = opt1.Ptr();
ASSERT(loc0 == loc1);
opt0 = opt1;
ASSERT(opt0.Ptr());
ASSERT(opt1.Ptr());
ASSERT(opt0.Ptr() != opt1.Ptr());
ASSERT(*opt0 == 3);
ASSERT(*opt1 == 3);
}
//############################################################################
void TestOptionalMove(void)
{
Optional<MoveTester> opt0;
opt0.Emplace();
Optional<MoveTester> opt1 = std::move(opt0);
ASSERT(opt0.Ptr());
ASSERT(opt1.Ptr());
ASSERT(opt0->GetState() == MoveTester::MoveStatePilfered);
ASSERT(opt1->GetState() == MoveTester::MoveStateMoveConstructed);
opt0 = std::move(opt1);
ASSERT(opt0.Ptr());
ASSERT(opt1.Ptr());
ASSERT(opt0->GetState() == MoveTester::MoveStateMoved);
ASSERT(opt1->GetState() == MoveTester::MoveStatePilfered);
}
//############################################################################
void TestUniqueTupleAccess(void)
{
UniqueTuple<int, float> set0;
set0.Get<int>() = 2;
set0.Get<float>() = 4.0f;
ASSERT(set0.Get<int>() == 2);
ASSERT(set0.Get<float>() == 4.0f);
UniqueTuple<int, float> set1(5, 10.0f);
ASSERT(set1.Get<int>() == 5);
ASSERT(set1.Get<float>() == 10.0f);
UniqueTuple<MoveTester> set2(std::move(MoveTester()));
ASSERT(set2.Get<MoveTester>().GetState() ==
MoveTester::MoveStateMoveConstructed);
}
//############################################################################
void TestUniqueTupleConstAccess(void)
{
UniqueTuple<int, float> const set0(5, 10.0f);
ASSERT(set0.Get<int>() == 5);
ASSERT(set0.Get<float>() == 10.0f);
}
//############################################################################
void TestUniqueTupleCopy(void)
{
UniqueTuple<int, float> set0(5, 10.0f);
UniqueTuple<int, float> set1 = set0;
ASSERT(set0 == set1);
ASSERT(set0.Get<int>() == set1.Get<int>());
ASSERT(set0.Get<float>() == set1.Get<float>());
set1.Get<int>() = 2;
set1.Get<float>() = 5.3f;
set0 = set1;
ASSERT(set0 == set1);
ASSERT(set0.Get<int>() == set1.Get<int>());
ASSERT(set0.Get<float>() == set1.Get<float>());
}
//############################################################################
void TestUniqueTupleMove(void)
{
UniqueTuple<MoveTester> set0;
ASSERT(set0.Get<MoveTester>().GetState() ==
MoveTester::MoveStateDefaultConstructed);
UniqueTuple<MoveTester> set1 = std::move(set0);
ASSERT(set0.Get<MoveTester>().GetState() ==
MoveTester::MoveStatePilfered);
ASSERT(set1.Get<MoveTester>().GetState() ==
MoveTester::MoveStateMoveConstructed);
set0 = std::move(set1);
ASSERT(set0.Get<MoveTester>().GetState() ==
MoveTester::MoveStateMoved);
ASSERT(set1.Get<MoveTester>().GetState() ==
MoveTester::MoveStatePilfered);
}
//############################################################################
void TestTokens(void)
{
TestTokenCorrectness();
TestTokenComparisons();
TestTokenNoLongNames();
TestTokenAssignment();
}
//############################################################################
void TestSortedArrays(void)
{
TestSortedArraySingleValue();
TestSortedArrayValuesAddedInOrder();
TestSortedArrayValuesAddedOutOfOrder();
TestSortedArrayNoDuplicateValues();
TestSortedArrayFind();
TestSortedArrayContains();
TestSortedArrayConstAccess();
TestSortedArrayAssignment();
}
//############################################################################
void TestArrayMaps(void)
{
TestArrayMapSingleValue();
TestArrayMapValuesAddedInOrder();
TestArrayMapValuesAddedOutOfOrder();
TestArrayMapNoDuplicateValues();
TestArrayMapFind();
TestArrayMapContains();
TestArrayMapConstAccess();
}
//############################################################################
void TestDataLayouts(void)
{
TestDataLayoutSingleEntry();
TestDataLayoutNoAddDuplicateEntry();
TestDataLayoutMultipleEntries();
TestDataLayoutOrdering();
TestDataLayoutAssignment();
}
//############################################################################
void TestStrings(void)
{
TestStringInfo();
TestStringMakeOwner();
TestStringAccess();
TestStringAppend();
TestStringCopy();
TestStringMove();
TestStringSubstring();
}
//############################################################################
void TestDumbVariants(void)
{
TestDumbVariantEmplace();
TestDumbVariantClear();
TestDumbVariantGet();
}
//############################################################################
void TestBitsets(void)
{
TestBitsetAccess();
TestBitsetCopy();
TestBitsetClear();
}
//############################################################################
void TestVariants(void)
{
TestVariantAccess();
TestVariantComplexEmplace();
TestVariantInitDeinit();
TestVariantCopy();
TestVariantMove();
}
//############################################################################
void TestExternals(void)
{
TestExternalAccess();
TestExternalConstAccess();
TestExternalInitDeinit();
TestExternalCopy();
TestExternalCompare();
}
//############################################################################
void TestWeakExternals(void)
{
TestWeakExternalAccess();
TestWeakExternalConstAccess();
TestWeakExternalCopy();
}
//############################################################################
void TestOptionals(void)
{
TestOptionalAccess();
TestOptionalConstAccess();
TestOptionalInitDeinit();
TestOptionalCopy();
TestOptionalMove();
}
//############################################################################
void TestUniqueTuples(void)
{
TestUniqueTupleAccess();
TestUniqueTupleConstAccess();
TestUniqueTupleCopy();
TestUniqueTupleMove();
}
}
//##############################################################################
void TestAllUtilities(void)
{
TestTokens();
TestSortedArrays();
TestDataLayouts();
TestStrings();
TestDumbVariants();
TestBitsets();
TestVariants();
TestExternals();
TestWeakExternals();
TestOptionals();
TestUniqueTuples();
}
| 25.330667 | 80 | 0.508554 | dodgelafnitz |
f3722e8bd205bafaa94cb34ad31b6b36400a8601 | 5,984 | cc | C++ | src/HSL/ma57_wrapper.cc | ceccocats/LapackWrapper | fea6aa41849ffe5440fa3195c36f74e45e36b414 | [
"BSD-4-Clause"
] | 3 | 2021-05-19T14:33:59.000Z | 2022-03-14T02:12:47.000Z | src/HSL/ma57_wrapper.cc | ceccocats/LapackWrapper | fea6aa41849ffe5440fa3195c36f74e45e36b414 | [
"BSD-4-Clause"
] | null | null | null | src/HSL/ma57_wrapper.cc | ceccocats/LapackWrapper | fea6aa41849ffe5440fa3195c36f74e45e36b414 | [
"BSD-4-Clause"
] | 1 | 2020-01-24T15:10:34.000Z | 2020-01-24T15:10:34.000Z | /**
* \file ma57_wrapper.cc
* Implementation of the class CPPMA57.
*
* \author A. Huber and E.Bertolazzi
* \since 13.11.2018
*/
#include "ma57_wrapper.hh"
#include <iostream>
namespace lapack_wrapper {
/*\
:|: ___ _ _ _ __ __ _
:|: | _ \_ _| |__| (_)__ | \/ |___ _ __ | |__ ___ _ _ ___
:|: | _/ || | '_ \ | / _| | |\/| / -_) ' \| '_ \/ -_) '_(_-<
:|: |_| \_,_|_.__/_|_\__| |_| |_\___|_|_|_|_.__/\___|_| /__/
\*/
template <typename real>
bool
MA57<real>::init(
int Nnz,
int N_Row,
int N_Col,
int const iRow[],
int const jCol[],
bool isFortranIndexing
) {
// Set dimension:
this->nnz = Nnz;
if (N_Row != N_Col) {
this->isInitialized = false;
this->isFactorized = false;
this->last_error = "CPPMA57<real>::init N_Row != N_Col!";
return false;
}
this->numRows = this->numCols = N_Row;
// allocate memory:
this->i_Row.resize(size_t(this->nnz));
this->j_Col.resize(size_t(this->nnz));
this->iKeep.resize(size_t(5 * this->numRows + 2 * this->nnz + 42));
this->iPivotSeq.resize(size_t(5 * this->numRows));
// Copy row and column arrays:
std::copy_n(iRow, this->nnz, this->i_Row.begin());
std::copy_n(jCol, this->nnz, this->j_Col.begin());
if (!isFortranIndexing) {
// Correct fortran indexing:
for ( size_t i = 0; i < size_t(this->nnz); ++i ) {
++this->i_Row[i];
++this->j_Col[i];
}
}
this->job = 1;
// Initialize MA57:
HSL::ma57i<real>(this->cntl, this->icntl);
// Analyse the structure of the linear system:
int NiKeep = int(this->iKeep.size());
HSL::ma57a<real>(this->numRows, this->nnz, &this->i_Row.front(), &this->j_Col.front(), NiKeep, &this->iKeep.front(), &this->iPivotSeq.front(), this->icntl, this->iinfo, this->rinfo);
// Restize memory for factorization:
this->fact.resize(size_t(2 * this->iinfo[8]));
this->ifact.resize(size_t(2 * this->iinfo[9]));
// Restize memory for workspace:
this->Work.resize(size_t(3 * this->nnz));
// allocate reintinmet memory:
this->RHSReinfinement.resize(size_t(this->numRows));
this->residualVec.resize(size_t(this->numRows));
this->isInitialized = true;
this->isFactorized = false;
return true;
}
template <typename real>
bool
MA57<real>::factorize( real const ArrayA[] ) {
if (!this->isInitialized) {
this->last_error = "The function factorize can only be called after calling CPPMA57<real>::init!";
this->isFactorized = false;
return false;
}
a_stored.resize(size_t(this->nnz));
std::copy_n(ArrayA, this->nnz, a_stored.begin());
// Now factorize the system:
int NiKeep = int(this->iKeep.size());
int lifact = int(this->ifact.size());
int lfact = int(this->fact.size());
HSL::ma57b<real>(
this->numRows,
this->nnz,
&a_stored.front(),
&this->fact.front(),
lfact,
&this->ifact.front(),
lifact,
NiKeep,
&this->iKeep.front(),
&this->iPivotSeq.front(),
this->icntl,
this->cntl,
this->iinfo,
this->rinfo
);
this->isFactorized = this->iinfo[0] == 0;
return this->isFactorized;
}
template <typename real>
bool
MA57<real>::solve(
int nrhs,
real const RHS[],
int ldRHS,
real X[],
int ldX
) const {
// Check valid call:
if (!this->isInitialized) {
this->last_error = "Can not solve uninitialized system with CPPMA57::solve!";
return false;
}
if (!this->isFactorized) {
this->last_error = "Can not solve unfactorized system with CPPMA57::solve!";
return false;
}
// Solve system:
if (this->doRefinement) {
std::copy( RHS, RHS+this->numRows, this->RHSReinfinement.begin() );
real residual = 10.0;
int localjob = 0;
for ( int counter = 0;
counter < this->MaxRefinements && std::abs(residual) > this->tolRes;
++counter ) {
// Löse mit rechter Seite: (iterative reinfinement)
int lifact = int(this->ifact.size());
int lfact = int(this->fact.size());
HSL::ma57d<real>(
localjob,
this->numRows,
int(a_stored.size()),
&a_stored.front(),
&this->i_Row.front(),
&this->j_Col.front(),
&this->fact.front(),
lfact,
&this->ifact.front(),
lifact,
&this->RHSReinfinement.front(),
X,
&this->residualVec.front(),
&this->Work.front(),
&this->iPivotSeq.front(),
this->icntl,
this->cntl,
this->iinfo,
this->rinfo
);
residual = this->getResidual(this->residualVec);
localjob = 2;
if(this->iinfo[0] < 0) return false;
if (counter >= this->MaxRefinements - 1) {
this->last_error = "Refinement of HSL MA57 failed (Maxiter)";
if ( residual > real(1e-5) ) return false;
std::cout
<< std::scientific << "Residual: " << residual
<< std::fixed << std::endl;
}
}
} else {
// Solve with right side:
if (RHS != X)
for (int j = 0; j < nrhs; ++j)
std::copy_n(RHS + j * ldRHS, this->numRows, X + j * ldX);
int lfact = int(this->fact.size());
int lifact = int(this->ifact.size());
int NWork = int(this->Work.size());
HSL::ma57c<real>(
this->job,
this->numRows,
&this->fact.front(),
lfact,
&this->ifact.front(),
lifact,
nrhs,
X,
ldX,
&this->Work.front(),
NWork,
&this->iPivotSeq.front(),
this->icntl,
this->iinfo
);
}
return this->iinfo[0] == 0;
}
template class MA57<double>;
template class MA57<float>;
} // namespace lapack_wrapper
| 28.908213 | 186 | 0.540608 | ceccocats |
f372c31709f18de4f38166523cad5c4a642d0615 | 4,133 | hpp | C++ | engine/src/EventProcessor.hpp | skryabiin/core | 13bcdd0c9f3ebcc4954b9ee05ea95db0f77e16f7 | [
"MIT"
] | null | null | null | engine/src/EventProcessor.hpp | skryabiin/core | 13bcdd0c9f3ebcc4954b9ee05ea95db0f77e16f7 | [
"MIT"
] | null | null | null | engine/src/EventProcessor.hpp | skryabiin/core | 13bcdd0c9f3ebcc4954b9ee05ea95db0f77e16f7 | [
"MIT"
] | null | null | null | #ifndef CORE_EVENT_PROCESSOR_HPP
#define CORE_EVENT_PROCESSOR_HPP
#include "lua.hpp"
#include "Templates.hpp"
#include "LuaEventFilter.hpp"
namespace core {
class LuaListener {
};
struct EventTopicBase : public equal_comparable<EventTopicBase> {
std::type_index eventType = typeid(this);
};
template<typename EVENT_TYPE>
class EventListener;
template <typename EVENT_TYPE>
struct EventTopic : public EventTopicBase {
public:
EventTopic() {
eventType = typeid(EVENT_TYPE);
}
std::vector<EventListener<EVENT_TYPE>*> listeners;
bool process(EVENT_TYPE& e);
void registerListener(EventListener<EVENT_TYPE>* listener);
void removeListener(EventListener<EVENT_TYPE>* listener);
};
////
//EVENT PROCESSOR
////
class EventProcessor : public initializable<EventProcessor, void, void, void, void>, public singleton<EventProcessor> {
public:
EventProcessor();
bool createImpl();
bool initializeImpl();
bool resetImpl();
bool destroyImpl();
void processForLua(std::string eventTypeName, LuaTable event);
template <typename EVENT_TYPE>
void process(EVENT_TYPE& e);
template <typename EVENT_TYPE>
void processTransitionEvent(EVENT_TYPE& e, bool force);
template <typename EVENT_TYPE>
void registerListener(EventListener<EVENT_TYPE>* listener);
template <typename EVENT_TYPE>
void removeListener(EventListener<EVENT_TYPE>* listener);
static int removeEventFilter_bind(LuaState& lua);
static int addEventFilter_bind(LuaState& lua);
static int processEvent_bind(LuaState& lua);
private:
std::vector<EventTopicBase*> _topics;
std::vector<LuaEventFilter> _luaFilters;
SDL_SpinLock _processEventLock;
SDL_SpinLock _timedEventLock;
};
template<typename EVENT_TYPE>
class EventListener : public equal_comparable<EventListener<EVENT_TYPE>> {
public:
EventListener()
{
_listening = true;
single<EventProcessor>().registerListener<EVENT_TYPE>(this);
};
~EventListener() {
single<EventProcessor>().removeListener<EVENT_TYPE>(this);
}
virtual bool handleEvent(EVENT_TYPE& e) = 0;
void EventListener::pauseListening() {
_listening = false;
}
void EventListener::resumeListening() {
_listening = true;
}
bool isListening() const {
return _listening;
}
private:
bool _listening;
};
template<typename EVENT_TYPE>
bool EventTopic<EVENT_TYPE>::process(EVENT_TYPE& e) {
for (auto listener : listeners) {
if (listener->isListening()) {
if (!listener->handleEvent(e)) return false;
}
}
return true;
}
template<typename EVENT_TYPE>
void EventTopic<EVENT_TYPE>::registerListener(EventListener<EVENT_TYPE>* listener) {
listeners.push_back(listener);
}
template<typename EVENT_TYPE>
void EventTopic<EVENT_TYPE>::removeListener(EventListener<EVENT_TYPE>* listener) {
for (auto it = std::begin(listeners); it != std::end(listeners); ++it) {
if (**it == *listener) {
listeners.erase(it);
return;
}
}
}
template <typename EVENT_TYPE>
void EventProcessor::process(EVENT_TYPE& e) {
for (auto topic : _topics) {
if (topic->eventType == typeid(EVENT_TYPE)) {
if (!static_cast<EventTopic<EVENT_TYPE>*>(topic)->process(e)) break;
}
}
processForLua(e.getEventTypeName(), e);
}
template <typename EVENT_TYPE>
void EventProcessor::processTransitionEvent(EVENT_TYPE& e, bool force) {
process(e);
}
template <typename EVENT_TYPE>
void EventProcessor::registerListener(EventListener<EVENT_TYPE>* listener) {
for (auto topic : _topics) {
if (topic->eventType == typeid(EVENT_TYPE)) {
static_cast<EventTopic<EVENT_TYPE>*>(topic)->registerListener(listener);
return;
}
}
auto newTopic = new EventTopic<EVENT_TYPE>{};
newTopic->registerListener(listener);
_topics.push_back(newTopic);
}
template <typename EVENT_TYPE>
void EventProcessor::removeListener(EventListener<EVENT_TYPE>* listener) {
for (auto topic : _topics) {
if (topic->eventType == typeid(EVENT_TYPE)) {
static_cast<EventTopic<EVENT_TYPE>*>(topic)->removeListener(listener);
}
}
}
} // end namespace core
#endif | 20.160976 | 120 | 0.720784 | skryabiin |
f3762b848cdc6c63861b7a21ebd11b47a33f4130 | 8,346 | cpp | C++ | audio/tests/PinResourceHelpers/TestResource.cpp | hassnaaHamdi/Windows-driver-samples | 325b87cf839b1b5c0ff46bb8c201612cfaedc561 | [
"MS-PL"
] | 2 | 2020-11-06T09:35:06.000Z | 2021-12-10T05:14:17.000Z | audio/tests/PinResourceHelpers/TestResource.cpp | hassnaaHamdi/Windows-driver-samples | 325b87cf839b1b5c0ff46bb8c201612cfaedc561 | [
"MS-PL"
] | null | null | null | audio/tests/PinResourceHelpers/TestResource.cpp | hassnaaHamdi/Windows-driver-samples | 325b87cf839b1b5c0ff46bb8c201612cfaedc561 | [
"MS-PL"
] | 1 | 2021-04-20T06:54:42.000Z | 2021-04-20T06:54:42.000Z | // ------------------------------------------------------------------------------
//
// Copyright (C) Microsoft. All rights reserved.
//
// File Name:
//
// TestResource.cpp
//
// Abstract:
//
// TAEF Test Resource implementation
//
// -------------------------------------------------------------------------------
#include "PreComp.h"
#include <HalfApp.h>
#include <TestResource.h>
using namespace WEX::Logging;
using namespace WEX::TestExecution;
CPinTestResource::CPinTestResource() :
m_cRef(1)
{}
CPinTestResource::~CPinTestResource()
{}
HRESULT STDMETHODCALLTYPE
CPinTestResource::CreateInstance
(
CHalfApp * pHalf,
REFGUID guid,
ITestResource ** ppOut
)
{
HRESULT hr = S_OK;
CPinTestResource * pTestResource;
SetVerifyOutput verifySettings(VerifyOutputSettings::LogOnlyFailures);
if (!VERIFY_IS_NOT_NULL(pHalf))
{
return E_INVALIDARG;
}
if (!VERIFY_IS_NOT_NULL(ppOut))
{
return E_POINTER;
}
pTestResource = new CPinTestResource();
if (!VERIFY_IS_NOT_NULL(pTestResource))
{
return E_OUTOFMEMORY;
}
if (!VERIFY_SUCCEEDED(hr = pTestResource->Initialize(
pHalf, guid))) {
pTestResource->Release();
return hr;
}
*ppOut = pTestResource;
return S_OK;
}
HRESULT STDMETHODCALLTYPE
CPinTestResource::Initialize
(
CHalfApp * pHalf,
REFGUID guid
)
{
HRESULT hr = S_OK;
WCHAR szStr[MAX_PATH];
LPWSTR szMode;
LPWSTR szPin;
SetVerifyOutput verifySettings(VerifyOutputSettings::LogOnlyFailures);
m_guid = guid;
m_spHalfApp.Attach(pHalf);
// Dataflow
if (m_spHalfApp->m_DataFlow == capture)
{
m_szType.Attach(W2BSTR(L"Capture"));
if (!VERIFY_IS_NOT_NULL(m_szType)) { return E_OUTOFMEMORY; }
}
else
{
m_szType.Attach(W2BSTR(L"Render"));
if (!VERIFY_IS_NOT_NULL(m_szType)) { return E_OUTOFMEMORY; }
}
szMode = ModeName(m_spHalfApp->m_Mode);
szPin = PinName(m_spHalfApp->m_ConnectorType);
// Id: Combine device Id, pin type and mode
m_szId.Attach(W2BSTR(m_spHalfApp->m_pwstrDeviceId.get()));
if (!VERIFY_SUCCEEDED(hr = StringCchPrintfW(
szStr, MAX_PATH, L"#%s#%s",
szPin,
szMode))) {
return hr;
}
if (!VERIFY_SUCCEEDED(hr = m_szId.Append(szStr))) {
return hr;
}
if (!VERIFY_IS_NOT_NULL(m_szId)) { return E_OUTOFMEMORY; }
// Name: Combine device friendly name, pin type, and mode
m_szName.Attach(W2BSTR(m_spHalfApp->m_pwstrDeviceFriendlyName.get()));
if (!VERIFY_SUCCEEDED(hr = StringCchPrintfW(
szStr, MAX_PATH, L" Pin %s Mode %s",
szPin,
szMode))) {
return hr;
}
if (!VERIFY_SUCCEEDED(hr = m_szName.Append(szStr))) {
return hr;
}
if (!VERIFY_IS_NOT_NULL(m_szName)) { return E_OUTOFMEMORY; }
// Mode
m_szMode.Attach(W2BSTR(szMode));
if (!VERIFY_IS_NOT_NULL(m_szMode)) { return E_OUTOFMEMORY; }
// Pin
m_szPin.Attach(W2BSTR(szPin));
if (!VERIFY_IS_NOT_NULL(m_szPin)) { return E_OUTOFMEMORY; }
return hr;
}
STDMETHODIMP_(ULONG)
CPinTestResource::AddRef()
{
return InterlockedIncrement(&m_cRef);
}
STDMETHODIMP_(ULONG)
CPinTestResource::Release()
{
ULONG cRef = InterlockedDecrement(&m_cRef);
if (0 == cRef)
{
delete this;
}
return cRef;
}
STDMETHODIMP
CPinTestResource::QueryInterface(
__in REFIID riid,
__deref_out void ** ppvObject
)
{
HRESULT hr = S_OK;
//IF_FALSE_EXIT_HR( (NULL != ppvObject), E_POINTER);
if (IsEqualIID(riid, __uuidof(IUnknown)))
{
*ppvObject = static_cast<void *>(this);
}
else if (IsEqualIID(riid, __uuidof(ITestResource)))
{
*ppvObject = static_cast<ITestResource *>(this);
}
else if (IsEqualIID(riid, __uuidof(IHalfAppContainer)))
{
*ppvObject = static_cast<IHalfAppContainer *>(this);
}
else
{
*ppvObject = NULL;
hr = E_NOINTERFACE;
goto Exit;
}
AddRef();
Exit:
return hr;
}
STDMETHODIMP
CPinTestResource::GetGuid(GUID* pGuid) {
// don't want to see VERIFY spew
SetVerifyOutput verifySettings(VerifyOutputSettings::LogOnlyFailures);
if (!VERIFY_IS_NOT_NULL(pGuid)) { return E_POINTER; }
*pGuid = m_guid;
return S_OK;
}
STDMETHODIMP
CPinTestResource::SetGuid(GUID guid) {
m_guid = guid;
return S_OK;
}
STDMETHODIMP
CPinTestResource::GetValue(BSTR name, BSTR* pValue) {
// don't want to see VERIFY spew
SetVerifyOutput verifySettings(VerifyOutputSettings::LogOnlyFailures);
if (!VERIFY_IS_NOT_NULL(name)) { return E_POINTER; }
if (!VERIFY_IS_NOT_NULL(pValue)) { return E_POINTER; }
if (0 == wcscmp(name, TestResourceProperty::c_szName)) {
if (!VERIFY_IS_NOT_NULL(*pValue = SysAllocString(m_szName))) { return E_OUTOFMEMORY; }
return S_OK;
}
if (0 == wcscmp(name, TestResourceProperty::c_szId)) {
if (!VERIFY_IS_NOT_NULL(*pValue = SysAllocString(m_szId))) { return E_OUTOFMEMORY; }
return S_OK;
}
if (0 == wcscmp(name, TestResourceProperty::c_szType)) {
if (!VERIFY_IS_NOT_NULL(*pValue = SysAllocString(m_szType))) { return E_OUTOFMEMORY; }
return S_OK;
}
if (0 == wcscmp(name, TestResourceProperty::c_szMode)) {
if (!VERIFY_IS_NOT_NULL(*pValue = SysAllocString(m_szMode))) { return E_OUTOFMEMORY; }
return S_OK;
}
if (0 == wcscmp(name, TestResourceProperty::c_szPin)) {
if (!VERIFY_IS_NOT_NULL(*pValue = SysAllocString(m_szPin))) { return E_OUTOFMEMORY; }
return S_OK;
}
Log::Error(L"CDevice::GetValue name not found");
return HRESULT_FROM_WIN32(ERROR_NOT_FOUND);
}
STDMETHODIMP
CPinTestResource::SetValue(BSTR name, BSTR value) {
// don't want to see VERIFY spew
SetVerifyOutput verifySettings(VerifyOutputSettings::LogOnlyFailures);
if (!VERIFY_IS_NOT_NULL(name)) { return E_POINTER; }
if (!VERIFY_IS_NOT_NULL(value)) { return E_POINTER; }
if (0 == wcscmp(name, TestResourceProperty::c_szName)) {
return m_szName.AssignBSTR(value);
}
if (0 == wcscmp(name, TestResourceProperty::c_szId)) {
return m_szId.AssignBSTR(value);
}
if (0 == wcscmp(name, TestResourceProperty::c_szType)) {
return m_szType.AssignBSTR(value);
}
if (0 == wcscmp(name, TestResourceProperty::c_szMode)) {
return m_szMode.AssignBSTR(value);
}
if (0 == wcscmp(name, TestResourceProperty::c_szPin)) {
return m_szPin.AssignBSTR(value);
}
Log::Error(L"CDevice::SetValue name not found");
return HRESULT_FROM_WIN32(ERROR_NOT_FOUND);
}
STDMETHODIMP
CPinTestResource::GetHalfApp(CHalfApp ** ppHalfApp)
{
SetVerifyOutput verifySettings(VerifyOutputSettings::LogOnlyFailures);
if (!VERIFY_IS_NOT_NULL(ppHalfApp)) { return E_POINTER; }
*ppHalfApp = m_spHalfApp;
return S_OK;
}
static const struct
{
GUID mode;
LPWSTR name;
}knownModes[] =
{
{ GUID_NULL, L"NO_MODE" },
{ AUDIO_SIGNALPROCESSINGMODE_RAW, L"RAW" },
{ AUDIO_SIGNALPROCESSINGMODE_DEFAULT, L"DEFAULT" },
{ AUDIO_SIGNALPROCESSINGMODE_COMMUNICATIONS, L"COMMUNICATIONS" },
{ AUDIO_SIGNALPROCESSINGMODE_SPEECH, L"SPEECH" },
{ AUDIO_SIGNALPROCESSINGMODE_MEDIA, L"MEDIA" },
{ AUDIO_SIGNALPROCESSINGMODE_MOVIE, L"MOVIE" },
{ AUDIO_SIGNALPROCESSINGMODE_NOTIFICATION, L"NOTIFICATION" },
};
LPWSTR CPinTestResource::ModeName(REFGUID guidMode)
{
for (auto m : knownModes)
{
if (m.mode == guidMode) { return m.name; }
}
return L"UNKNOWN";
}
LPWSTR CPinTestResource::PinName(EndpointConnectorType eConnectorType)
{
switch (eConnectorType)
{
case eHostProcessConnector:
return L"HOST";
case eOffloadConnector:
return L"OFFLOAD";
case eLoopbackConnector:
return L"LOOPBACK";
case eKeywordDetectorConnector:
return L"KEYWORD";
default:
return L"UNKNOWN";
}
}
| 25.138554 | 95 | 0.620537 | hassnaaHamdi |
f37849979daa8238ee34d5fc3862ac0b3906c7dd | 280 | cpp | C++ | leetcode/367. Valid Perfect Square/s1.cpp | zhuohuwu0603/leetcode_cpp_lzl124631x | 6a579328810ef4651de00fde0505934d3028d9c7 | [
"Fair"
] | 787 | 2017-05-12T05:19:57.000Z | 2022-03-30T12:19:52.000Z | leetcode/367. Valid Perfect Square/s1.cpp | aerlokesh494/LeetCode | 0f2cbb28d5a9825b51a8d3b3a0ae0c30d7ff155f | [
"Fair"
] | 8 | 2020-03-16T05:55:38.000Z | 2022-03-09T17:19:17.000Z | leetcode/367. Valid Perfect Square/s1.cpp | aerlokesh494/LeetCode | 0f2cbb28d5a9825b51a8d3b3a0ae0c30d7ff155f | [
"Fair"
] | 247 | 2017-04-30T15:07:50.000Z | 2022-03-30T09:58:57.000Z | // OJ: https://leetcode.com/problems/valid-perfect-square/
// Author: github.com/lzl124631x
// Time: O(sqrt(num))
// Space: O(1)
class Solution {
public:
bool isPerfectSquare(int num) {
long i = 0;
while (i * i < num) ++i;
return i * i == num;
}
}; | 23.333333 | 58 | 0.571429 | zhuohuwu0603 |
f37ac839aee385d4f2e3754e137309141560277c | 7,637 | cpp | C++ | SampleFramework12/v1.02/Window.cpp | BalazsJako/DXRPathTracer | 948693d73c7f9474d98482e99e85416750b29286 | [
"MIT"
] | 456 | 2018-10-29T03:51:23.000Z | 2022-03-21T02:26:20.000Z | SampleFramework12/v1.02/Window.cpp | BalazsJako/DXRPathTracer | 948693d73c7f9474d98482e99e85416750b29286 | [
"MIT"
] | 11 | 2016-03-29T17:03:24.000Z | 2021-04-30T03:53:07.000Z | SampleFramework12/v1.02/Window.cpp | BalazsJako/DXRPathTracer | 948693d73c7f9474d98482e99e85416750b29286 | [
"MIT"
] | 48 | 2018-10-29T05:36:41.000Z | 2022-02-10T23:42:25.000Z | //=================================================================================================
//
// MJP's DX11 Sample Framework
// http://mynameismjp.wordpress.com/
//
// All code licensed under the MIT license
//
//=================================================================================================
#include "PCH.h"
#include "Window.h"
namespace SampleFramework12
{
Window::Window( HINSTANCE hinstance,
LPCWSTR name,
DWORD style,
DWORD exStyle,
DWORD clientWidth,
DWORD clientHeight,
LPCWSTR iconResource,
LPCWSTR smallIconResource,
LPCWSTR menuResource,
LPCWSTR accelResource) : style(style),
exStyle(exStyle),
appName(name),
hinstance(hinstance),
hwnd(nullptr)
{
if(hinstance == nullptr)
this->hinstance = GetModuleHandle(nullptr);
INITCOMMONCONTROLSEX cce;
cce.dwSize = sizeof(INITCOMMONCONTROLSEX);
cce.dwICC = ICC_BAR_CLASSES|ICC_COOL_CLASSES|ICC_STANDARD_CLASSES|ICC_STANDARD_CLASSES;
::InitCommonControlsEx ( &cce );
MakeWindow(iconResource, smallIconResource, menuResource);
SetClientArea(clientWidth, clientHeight);
if(accelResource)
{
accelTable = ::LoadAccelerators(hinstance, accelResource);
if(!accelTable)
throw Win32Exception(::GetLastError());
}
}
Window::~Window()
{
::DestroyWindow(hwnd);
::UnregisterClass(appName.c_str(), hinstance);
}
HWND Window::GetHwnd() const
{
return hwnd;
}
HMENU Window::GetMenu() const
{
return ::GetMenu(hwnd);
}
HINSTANCE Window::GetHinstance() const
{
return hinstance;
}
BOOL Window::IsAlive() const
{
return ::IsWindow(hwnd);
}
BOOL Window::IsMinimized() const
{
return ::IsIconic(hwnd);
}
BOOL Window::HasFocus() const
{
return GetActiveWindow() == hwnd;
}
void Window::SetWindowStyle(DWORD newStyle)
{
if(!::SetWindowLongPtr(hwnd, GWL_STYLE, newStyle))
throw Win32Exception(::GetLastError());
style = newStyle;
}
void Window::SetExtendedStyle(DWORD newExStyle)
{
if(!::SetWindowLongPtr(hwnd, GWL_EXSTYLE, newExStyle))
throw Win32Exception(::GetLastError());
exStyle = newExStyle;
}
LONG_PTR Window::GetWindowStyle() const
{
return GetWindowLongPtr(hwnd, GWL_STYLE);
}
LONG_PTR Window::GetExtendedStyle() const
{
return GetWindowLongPtr(hwnd, GWL_EXSTYLE);
}
void Window::MakeWindow(LPCWSTR sIconResource, LPCWSTR sSmallIconResource, LPCWSTR sMenuResource)
{
HICON hIcon = nullptr;
if(sIconResource)
{
hIcon = reinterpret_cast<HICON>(::LoadImage(hinstance,
sIconResource,
IMAGE_ICON,
0,
0,
LR_DEFAULTCOLOR));
}
HICON hSmallIcon = nullptr;
if(sSmallIconResource)
{
hIcon = reinterpret_cast<HICON>(::LoadImage(hinstance,
sSmallIconResource,
IMAGE_ICON,
0,
0,
LR_DEFAULTCOLOR));
}
HCURSOR hCursor = ::LoadCursorW(nullptr, IDC_ARROW);
// Register the window class
WNDCLASSEX wc = { sizeof(WNDCLASSEX),
CS_DBLCLKS,
WndProc,
0,
0,
hinstance,
hIcon,
hCursor,
nullptr,
sMenuResource,
appName.c_str(),
hSmallIcon
};
if(!::RegisterClassEx(&wc))
throw Win32Exception(::GetLastError());
// Create the application's window
hwnd = ::CreateWindowEx(exStyle,
appName.c_str(),
appName.c_str(),
style,
CW_USEDEFAULT,
CW_USEDEFAULT,
CW_USEDEFAULT,
CW_USEDEFAULT,
NULL,
NULL,
hinstance,
(void*)this
);
if(!hwnd)
throw Win32Exception(::GetLastError());
}
void Window::SetWindowPos(INT posX, INT posY)
{
if(!::SetWindowPos(hwnd, HWND_NOTOPMOST, posX, posY, 0, 0, SWP_NOSIZE))
throw Win32Exception(::GetLastError());
}
void Window::GetWindowPos(INT& posX, INT& posY) const
{
RECT windowRect;
if(!::GetWindowRect(hwnd, &windowRect))
throw Win32Exception(::GetLastError());
posX = windowRect.left;
posY = windowRect.top;
}
void Window::ShowWindow(bool show)
{
INT cmdShow = show ? SW_SHOW : SW_HIDE;
::ShowWindow(hwnd, cmdShow);
}
void Window::SetClientArea(INT clientX, INT clientY)
{
RECT windowRect;
::SetRect( &windowRect, 0, 0, clientX, clientY );
BOOL isMenu = (::GetMenu(hwnd) != nullptr);
if(!::AdjustWindowRectEx(&windowRect, style, isMenu, exStyle))
throw Win32Exception(::GetLastError());
if(!::SetWindowPos(hwnd, HWND_NOTOPMOST, 0, 0, windowRect.right - windowRect.left, windowRect.bottom - windowRect.top, SWP_NOMOVE))
throw Win32Exception(::GetLastError());
}
void Window::GetClientArea(INT& clientX, INT& clientY) const
{
RECT clientRect;
if(!::GetClientRect(hwnd, &clientRect))
throw Win32Exception(::GetLastError());
clientX = clientRect.right;
clientY = clientRect.bottom;
}
void Window::SetWindowTitle(LPCWSTR title)
{
if(!::SetWindowText(hwnd, title))
throw Win32Exception(::GetLastError());
}
void Window::SetScrollRanges( INT scrollRangeX,
INT scrollRangeY,
INT posX,
INT posY )
{
INT clientX, clientY;
GetClientArea(clientX, clientY);
// Horizontal first
SCROLLINFO scrollInfo;
scrollInfo.cbSize = sizeof( SCROLLINFO );
scrollInfo.fMask = SIF_PAGE|SIF_POS|SIF_RANGE;
scrollInfo.nMin = 0;
scrollInfo.nMax = scrollRangeX;
scrollInfo.nPos = posX;
scrollInfo.nTrackPos = 0;
scrollInfo.nPage = static_cast<INT>(((FLOAT) clientX / scrollRangeX) * clientX);
::SetScrollInfo(hwnd, SB_HORZ, &scrollInfo, true);
// Then vertical
scrollInfo.nMax = scrollRangeX;
scrollInfo.nPos = posY;
scrollInfo.nPage = static_cast<INT>(((FLOAT) clientY / scrollRangeX) * clientY);
::SetScrollInfo(hwnd, SB_VERT, &scrollInfo, true);
}
INT Window::CreateMessageBox(LPCWSTR message, LPCWSTR title, UINT type)
{
if(title == nullptr)
return ::MessageBox(hwnd, message, appName.c_str(), type);
else
return ::MessageBox(hwnd, message, title, type);
}
void Window::Maximize()
{
::ShowWindow( hwnd, SW_MAXIMIZE );
}
void Window::Destroy()
{
::DestroyWindow(hwnd);
::UnregisterClass(appName.c_str(), hinstance);
}
LRESULT Window::MessageHandler(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
{
for(uint64 i = 0; i < messageCallbacks.Count(); ++i)
{
Callback callback = messageCallbacks[i];
MsgFunction msgFunction = callback.Function;
msgFunction(callback.Context, hWnd, uMsg, wParam, lParam);
}
switch(uMsg)
{
// Window is being destroyed
case WM_DESTROY:
::PostQuitMessage(0);
return 0;
// Window is being closed
case WM_CLOSE:
{
DestroyWindow(hwnd);
return 0;
}
}
return ::DefWindowProc(hwnd, uMsg, wParam, lParam);
}
LRESULT WINAPI Window::WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
{
switch(uMsg)
{
case WM_NCCREATE:
{
LPCREATESTRUCT pCreateStruct = reinterpret_cast<LPCREATESTRUCT>(lParam);
::SetWindowLongPtr(hWnd, GWLP_USERDATA, reinterpret_cast<LONG_PTR>(pCreateStruct->lpCreateParams));
return ::DefWindowProc(hWnd, uMsg, wParam, lParam);
}
}
Window* pObj = reinterpret_cast<Window*>(GetWindowLongPtr(hWnd, GWLP_USERDATA));
if(pObj)
return pObj->MessageHandler(hWnd, uMsg, wParam, lParam);
else
return ::DefWindowProc(hWnd, uMsg, wParam, lParam);
}
void Window::MessageLoop()
{
// Main message loop:
MSG msg;
while(PeekMessage(&msg, nullptr, 0, 0, PM_REMOVE))
{
if(!accelTable || !TranslateAccelerator(msg.hwnd, accelTable, &msg))
{
::TranslateMessage( &msg );
::DispatchMessage( &msg );
}
}
}
void Window::RegisterMessageCallback(MsgFunction msgFunction, void* context)
{
Callback callback;
callback.Function = msgFunction;
callback.Context = context;
messageCallbacks.Add(callback);
}
} | 22.265306 | 132 | 0.672384 | BalazsJako |
3ce4d94a542431f5fa4961944b45cca7d81c76a3 | 3,283 | cpp | C++ | libs/iostreams/test/bzip2_test.cpp | zyiacas/boost-doc-zh | 689e5a3a0a4dbead1a960f7b039e3decda54aa2c | [
"BSL-1.0"
] | 198 | 2015-01-13T05:47:18.000Z | 2022-03-09T04:46:46.000Z | libs/iostreams/test/bzip2_test.cpp | sdfict/boost-doc-zh | 689e5a3a0a4dbead1a960f7b039e3decda54aa2c | [
"BSL-1.0"
] | 9 | 2015-01-28T16:33:19.000Z | 2020-04-12T23:03:28.000Z | libs/iostreams/test/bzip2_test.cpp | sdfict/boost-doc-zh | 689e5a3a0a4dbead1a960f7b039e3decda54aa2c | [
"BSL-1.0"
] | 139 | 2015-01-15T20:09:31.000Z | 2022-01-31T15:21:16.000Z | // (C) Copyright 2008 CodeRage, LLC (turkanis at coderage dot com)
// (C) Copyright 2004-2007 Jonathan Turkanis
// 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.)
// See http://www.boost.org/libs/iostreams for documentation.
#include <string>
#include <boost/iostreams/filter/bzip2.hpp>
#include <boost/iostreams/filter/test.hpp>
#include <boost/iostreams/filtering_stream.hpp>
#include <boost/test/test_tools.hpp>
#include <boost/test/unit_test.hpp>
#include "detail/sequence.hpp"
using namespace std;
using namespace boost;
using namespace boost::iostreams;
using namespace boost::iostreams::test;
using boost::unit_test::test_suite;
namespace io = boost::iostreams;
struct bzip2_alloc : std::allocator<char> { };
void bzip2_test()
{
text_sequence data;
BOOST_CHECK(
test_filter_pair( bzip2_compressor(),
bzip2_decompressor(),
std::string(data.begin(), data.end()) )
);
BOOST_CHECK(
test_filter_pair( basic_bzip2_compressor<bzip2_alloc>(),
basic_bzip2_decompressor<bzip2_alloc>(),
std::string(data.begin(), data.end()) )
);
BOOST_CHECK(
test_filter_pair( bzip2_compressor(),
bzip2_decompressor(),
std::string() )
);
{
filtering_istream strm;
strm.push( bzip2_compressor() );
strm.push( null_source() );
}
{
filtering_istream strm;
strm.push( bzip2_decompressor() );
strm.push( null_source() );
}
}
void multiple_member_test()
{
text_sequence data;
std::vector<char> temp, dest;
// Write compressed data to temp, twice in succession
filtering_ostream out;
out.push(bzip2_compressor());
out.push(io::back_inserter(temp));
io::copy(make_iterator_range(data), out);
out.push(io::back_inserter(temp));
io::copy(make_iterator_range(data), out);
// Read compressed data from temp into dest
filtering_istream in;
in.push(bzip2_decompressor());
in.push(array_source(&temp[0], temp.size()));
io::copy(in, io::back_inserter(dest));
// Check that dest consists of two copies of data
BOOST_REQUIRE_EQUAL(data.size() * 2, dest.size());
BOOST_CHECK(std::equal(data.begin(), data.end(), dest.begin()));
BOOST_CHECK(std::equal(data.begin(), data.end(), dest.begin() + dest.size() / 2));
dest.clear();
io::copy(
array_source(&temp[0], temp.size()),
io::compose(bzip2_decompressor(), io::back_inserter(dest)));
// Check that dest consists of two copies of data
BOOST_REQUIRE_EQUAL(data.size() * 2, dest.size());
BOOST_CHECK(std::equal(data.begin(), data.end(), dest.begin()));
BOOST_CHECK(std::equal(data.begin(), data.end(), dest.begin() + dest.size() / 2));
}
test_suite* init_unit_test_suite(int, char* [])
{
test_suite* test = BOOST_TEST_SUITE("bzip2 test");
test->add(BOOST_TEST_CASE(&bzip2_test));
test->add(BOOST_TEST_CASE(&multiple_member_test));
return test;
}
| 33.845361 | 87 | 0.626561 | zyiacas |
3cec06f4f7a8cb1c5f8d6b2aaa9e5a91e34277da | 3,851 | cpp | C++ | test/InverseDynamics/test_invdyn_bullet.cpp | jeffw387/bullet3 | 1382053f00f81ae8830efd2503d5571e660882c5 | [
"Zlib"
] | 1 | 2018-10-24T12:09:29.000Z | 2018-10-24T12:09:29.000Z | test/InverseDynamics/test_invdyn_bullet.cpp | jeffw387/bullet3 | 1382053f00f81ae8830efd2503d5571e660882c5 | [
"Zlib"
] | null | null | null | test/InverseDynamics/test_invdyn_bullet.cpp | jeffw387/bullet3 | 1382053f00f81ae8830efd2503d5571e660882c5 | [
"Zlib"
] | null | null | null | /// create a bullet btMultiBody model of a tree structured multibody system,
/// convert that model to a MultiBodyTree model.
/// Then - run inverse dynamics on random input data (q, u, dot_u) to get forces
/// - run forward dynamics on (q,u, forces) to get accelerations
/// - compare input accelerations to inverse dynamics to output from forward dynamics
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <functional>
#include <string>
#include <btBulletDynamicsCommon.h>
#include <btMultiBodyTreeCreator.hpp>
#include <BulletDynamics/Featherstone/btMultiBodyConstraintSolver.h>
#include <BulletDynamics/Featherstone/btMultiBodyDynamicsWorld.h>
#include <BulletDynamics/Featherstone/btMultiBodyPoint2Point.h>
#include <BulletDynamics/Featherstone/btMultiBodyLinkCollider.h>
#include <gtest/gtest.h>
#include "../../examples/CommonInterfaces/CommonGUIHelperInterface.h"
#include "../../examples/Importers/ImportURDFDemo/BulletUrdfImporter.h"
#include "../../examples/Importers/ImportURDFDemo/URDF2Bullet.h"
#include "../../examples/Importers/ImportURDFDemo/MyMultiBodyCreator.h"
#include "../../examples/Importers/ImportURDFDemo/URDF2Bullet.h"
#include "../../examples/Utils/b3ResourcePath.h"
#include <invdyn_bullet_comparison.hpp>
#include <btMultiBodyFromURDF.hpp>
#include <MultiBodyTreeCreator.hpp>
#include <MultiBodyTreeDebugGraph.hpp>
#include "Bullet3Common/b3CommandLineArgs.h"
#include "Bullet3Common/b3Random.h"
using namespace btInverseDynamics;
bool FLAGS_verbose = false;
static btVector3 gravity(0, 0, -10);
static const bool kBaseFixed = false;
static const char kUrdfFile[] = "r2d2.urdf";
/// this test loads the a urdf model with fixed, floating, prismatic and rotational joints,
/// converts in to an inverse dynamics model and compares forward to inverse dynamics for
/// random input
TEST(InvDynCompare, bulletUrdfR2D2)
{
MyBtMultiBodyFromURDF mb_load(gravity, kBaseFixed);
char relativeFileName[1024];
ASSERT_TRUE(b3ResourcePath::findResourcePath(kUrdfFile, relativeFileName, 1024));
mb_load.setFileName(relativeFileName);
mb_load.init();
btMultiBodyTreeCreator id_creator;
btMultiBody *btmb = mb_load.getBtMultiBody();
ASSERT_EQ(id_creator.createFromBtMultiBody(btmb), 0);
MultiBodyTree *id_tree = CreateMultiBodyTree(id_creator);
ASSERT_EQ(0x0 != id_tree, true);
vecx q(id_tree->numDoFs());
vecx u(id_tree->numDoFs());
vecx dot_u(id_tree->numDoFs());
vecx joint_forces(id_tree->numDoFs());
const int kNLoops = 10;
double max_pos_error = 0;
double max_acc_error = 0;
b3Srand(0);
for (int loop = 0; loop < kNLoops; loop++)
{
for (int i = 0; i < q.size(); i++)
{
q(i) = b3RandRange(-B3_PI, B3_PI);
u(i) = b3RandRange(-B3_PI, B3_PI);
dot_u(i) = b3RandRange(-B3_PI, B3_PI);
}
double pos_error;
double acc_error;
btmb->clearForcesAndTorques();
id_tree->clearAllUserForcesAndMoments();
// call inverse dynamics once, to get global position & velocity of root body
// (fixed, so q, u, dot_u arbitrary)
EXPECT_EQ(id_tree->calculateInverseDynamics(q, u, dot_u, &joint_forces), 0);
EXPECT_EQ(compareInverseAndForwardDynamics(q, u, dot_u, gravity, FLAGS_verbose, btmb, id_tree,
&pos_error, &acc_error),
0);
if (pos_error > max_pos_error)
{
max_pos_error = pos_error;
}
if (acc_error > max_acc_error)
{
max_acc_error = acc_error;
}
}
if (FLAGS_verbose)
{
printf("max_pos_error= %e\n", max_pos_error);
printf("max_acc_error= %e\n", max_acc_error);
}
EXPECT_LT(max_pos_error, std::numeric_limits<idScalar>::epsilon() * 1e4);
EXPECT_LT(max_acc_error, std::numeric_limits<idScalar>::epsilon() * 1e5);
}
int main(int argc, char **argv)
{
b3CommandLineArgs myArgs(argc, argv);
FLAGS_verbose = myArgs.CheckCmdLineFlag("verbose");
::testing::InitGoogleTest(&argc, argv);
return RUN_ALL_TESTS();
}
| 31.826446 | 96 | 0.747079 | jeffw387 |
3cedb927f38746597e488c7362b5bfe0ccf3a0eb | 507 | cpp | C++ | NKZX_NOI_OJ/P1320.cpp | Rose2073/RoseCppSource | bdaf5de04049b07bbe0e1ef976d1fbe72520fa03 | [
"Apache-2.0"
] | 1 | 2021-04-05T16:26:00.000Z | 2021-04-05T16:26:00.000Z | NKZX_NOI_OJ/P1320.cpp | Rose2073/RoseCppSource | bdaf5de04049b07bbe0e1ef976d1fbe72520fa03 | [
"Apache-2.0"
] | null | null | null | NKZX_NOI_OJ/P1320.cpp | Rose2073/RoseCppSource | bdaf5de04049b07bbe0e1ef976d1fbe72520fa03 | [
"Apache-2.0"
] | null | null | null | #include<cstdio>
int main(){
char str[1025];
gets(str);
int i = 0,lower = 0,upper = 0,num = 0,other = 0;
for(;;i++){
char c = str[i];
if(c == '\0'){
break;
}
if(c >= 'a' && c <= 'z'){
lower++;
}else if(c >= 'A' && c <= 'Z'){
upper++;
}else if(c >= '0' && c <= '9'){
num++;
}else{
other++;
}
}
printf("%d %d %d %d %d",upper,lower,num,other,i);
return 0;
}
| 21.125 | 53 | 0.33925 | Rose2073 |
3cf4a61497f902ee85ec8ba28db0a5a759ed509b | 320 | hpp | C++ | src/widgets/settingspages/keyboardsettingspage.hpp | alexandera3/chatterino2 | 41fbcc738b34a19f66eef3cca8d5dea0b89e07a3 | [
"MIT"
] | 1 | 2018-03-24T18:40:00.000Z | 2018-03-24T18:40:00.000Z | src/widgets/settingspages/keyboardsettingspage.hpp | alexandera3/chatterino2 | 41fbcc738b34a19f66eef3cca8d5dea0b89e07a3 | [
"MIT"
] | null | null | null | src/widgets/settingspages/keyboardsettingspage.hpp | alexandera3/chatterino2 | 41fbcc738b34a19f66eef3cca8d5dea0b89e07a3 | [
"MIT"
] | null | null | null | #pragma once
#include "widgets/settingspages/settingspage.hpp"
namespace chatterino {
namespace widgets {
namespace settingspages {
class KeyboardSettingsPage : public SettingsPage
{
public:
KeyboardSettingsPage();
};
} // namespace settingspages
} // namespace widgets
} // namespace chatterino
| 20 | 50 | 0.734375 | alexandera3 |
3cf73401216a1b3ff3acbf59ee74ed293b5eb617 | 4,480 | hpp | C++ | library/ATF/GUILD_BATTLE__CGuildBattleSchedulePoolInfo.hpp | lemkova/Yorozuya | f445d800078d9aba5de28f122cedfa03f26a38e4 | [
"MIT"
] | 29 | 2017-07-01T23:08:31.000Z | 2022-02-19T10:22:45.000Z | library/ATF/GUILD_BATTLE__CGuildBattleSchedulePoolInfo.hpp | kotopes/Yorozuya | 605c97d3a627a8f6545cc09f2a1b0a8afdedd33a | [
"MIT"
] | 90 | 2017-10-18T21:24:51.000Z | 2019-06-06T02:30:33.000Z | library/ATF/GUILD_BATTLE__CGuildBattleSchedulePoolInfo.hpp | kotopes/Yorozuya | 605c97d3a627a8f6545cc09f2a1b0a8afdedd33a | [
"MIT"
] | 44 | 2017-12-19T08:02:59.000Z | 2022-02-24T23:15:01.000Z | // This file auto generated by plugin for ida pro. Generated code only for x64. Please, dont change manually
#pragma once
#include <common/common.h>
#include <GUILD_BATTLE__CGuildBattleSchedulePool.hpp>
START_ATF_NAMESPACE
namespace GUILD_BATTLE
{
namespace Info
{
using GUILD_BATTLE__CGuildBattleSchedulePoolctor_CGuildBattleSchedulePool2_ptr = void (WINAPIV*)(struct GUILD_BATTLE::CGuildBattleSchedulePool*);
using GUILD_BATTLE__CGuildBattleSchedulePoolctor_CGuildBattleSchedulePool2_clbk = void (WINAPIV*)(struct GUILD_BATTLE::CGuildBattleSchedulePool*, GUILD_BATTLE__CGuildBattleSchedulePoolctor_CGuildBattleSchedulePool2_ptr);
using GUILD_BATTLE__CGuildBattleSchedulePoolClearAll4_ptr = void (WINAPIV*)(struct GUILD_BATTLE::CGuildBattleSchedulePool*);
using GUILD_BATTLE__CGuildBattleSchedulePoolClearAll4_clbk = void (WINAPIV*)(struct GUILD_BATTLE::CGuildBattleSchedulePool*, GUILD_BATTLE__CGuildBattleSchedulePoolClearAll4_ptr);
using GUILD_BATTLE__CGuildBattleSchedulePoolClearByDayID6_ptr = void (WINAPIV*)(struct GUILD_BATTLE::CGuildBattleSchedulePool*, unsigned int);
using GUILD_BATTLE__CGuildBattleSchedulePoolClearByDayID6_clbk = void (WINAPIV*)(struct GUILD_BATTLE::CGuildBattleSchedulePool*, unsigned int, GUILD_BATTLE__CGuildBattleSchedulePoolClearByDayID6_ptr);
using GUILD_BATTLE__CGuildBattleSchedulePoolDestroy8_ptr = void (WINAPIV*)();
using GUILD_BATTLE__CGuildBattleSchedulePoolDestroy8_clbk = void (WINAPIV*)(GUILD_BATTLE__CGuildBattleSchedulePoolDestroy8_ptr);
using GUILD_BATTLE__CGuildBattleSchedulePoolGet10_ptr = struct GUILD_BATTLE::CGuildBattleSchedule* (WINAPIV*)(struct GUILD_BATTLE::CGuildBattleSchedulePool*, unsigned int, unsigned int);
using GUILD_BATTLE__CGuildBattleSchedulePoolGet10_clbk = struct GUILD_BATTLE::CGuildBattleSchedule* (WINAPIV*)(struct GUILD_BATTLE::CGuildBattleSchedulePool*, unsigned int, unsigned int, GUILD_BATTLE__CGuildBattleSchedulePoolGet10_ptr);
using GUILD_BATTLE__CGuildBattleSchedulePoolGet12_ptr = struct GUILD_BATTLE::CGuildBattleSchedule* (WINAPIV*)(struct GUILD_BATTLE::CGuildBattleSchedulePool*, unsigned int);
using GUILD_BATTLE__CGuildBattleSchedulePoolGet12_clbk = struct GUILD_BATTLE::CGuildBattleSchedule* (WINAPIV*)(struct GUILD_BATTLE::CGuildBattleSchedulePool*, unsigned int, GUILD_BATTLE__CGuildBattleSchedulePoolGet12_ptr);
using GUILD_BATTLE__CGuildBattleSchedulePoolGetRef14_ptr = struct GUILD_BATTLE::CGuildBattleSchedule* (WINAPIV*)(struct GUILD_BATTLE::CGuildBattleSchedulePool*, unsigned int);
using GUILD_BATTLE__CGuildBattleSchedulePoolGetRef14_clbk = struct GUILD_BATTLE::CGuildBattleSchedule* (WINAPIV*)(struct GUILD_BATTLE::CGuildBattleSchedulePool*, unsigned int, GUILD_BATTLE__CGuildBattleSchedulePoolGetRef14_ptr);
using GUILD_BATTLE__CGuildBattleSchedulePoolGetSID16_ptr = unsigned int (WINAPIV*)(struct GUILD_BATTLE::CGuildBattleSchedulePool*, unsigned int, unsigned int);
using GUILD_BATTLE__CGuildBattleSchedulePoolGetSID16_clbk = unsigned int (WINAPIV*)(struct GUILD_BATTLE::CGuildBattleSchedulePool*, unsigned int, unsigned int, GUILD_BATTLE__CGuildBattleSchedulePoolGetSID16_ptr);
using GUILD_BATTLE__CGuildBattleSchedulePoolInit18_ptr = bool (WINAPIV*)(struct GUILD_BATTLE::CGuildBattleSchedulePool*, unsigned int);
using GUILD_BATTLE__CGuildBattleSchedulePoolInit18_clbk = bool (WINAPIV*)(struct GUILD_BATTLE::CGuildBattleSchedulePool*, unsigned int, GUILD_BATTLE__CGuildBattleSchedulePoolInit18_ptr);
using GUILD_BATTLE__CGuildBattleSchedulePoolInstance20_ptr = struct GUILD_BATTLE::CGuildBattleSchedulePool* (WINAPIV*)();
using GUILD_BATTLE__CGuildBattleSchedulePoolInstance20_clbk = struct GUILD_BATTLE::CGuildBattleSchedulePool* (WINAPIV*)(GUILD_BATTLE__CGuildBattleSchedulePoolInstance20_ptr);
using GUILD_BATTLE__CGuildBattleSchedulePooldtor_CGuildBattleSchedulePool24_ptr = void (WINAPIV*)(struct GUILD_BATTLE::CGuildBattleSchedulePool*);
using GUILD_BATTLE__CGuildBattleSchedulePooldtor_CGuildBattleSchedulePool24_clbk = void (WINAPIV*)(struct GUILD_BATTLE::CGuildBattleSchedulePool*, GUILD_BATTLE__CGuildBattleSchedulePooldtor_CGuildBattleSchedulePool24_ptr);
}; // end namespace Info
}; // end namespace GUILD_BATTLE
END_ATF_NAMESPACE
| 112 | 248 | 0.814063 | lemkova |
3cf83ac1eb945058bbf9d8e508f78b4ae00c6861 | 2,522 | cpp | C++ | Switch.cpp | yiyaowen/QuaintElements | 117dece11b22c050690484f38f72b1c47de91ea0 | [
"MIT"
] | null | null | null | Switch.cpp | yiyaowen/QuaintElements | 117dece11b22c050690484f38f72b1c47de91ea0 | [
"MIT"
] | null | null | null | Switch.cpp | yiyaowen/QuaintElements | 117dece11b22c050690484f38f72b1c47de91ea0 | [
"MIT"
] | null | null | null | /*
* "Q t"
* <Quaint Elements>
*
* Start using fantastic UI elements in your project with one header file.
*
* yiyaowen (c) 2021 All rights reserved
* Supports @ https://github.com/yiyaowen/QuaintElements
*/
#include <QMouseEvent>
#include <QPainter>
#include <QtMath>
#include "Switch.h"
using namespace QuaintElements;
Switch::Switch(QWidget *parent)
: QWidget(parent)
{
timer = std::make_unique<QTimer>();
timer->setInterval(10);
connect(timer.get(), SIGNAL(timeout()), this, SLOT(playAnimation()));
this->setFixedSize(width, height);
}
Switch::Switch(int width, int height, QWidget *parent)
: Switch(parent)
{
if (width > height) {
this->width = width;
this->height = height;
this->rectWidth = width - height;
}
this->setFixedSize(width, height);
}
void Switch::playAnimation() {
if (state == AnimatingOn) {
sliderCenterPosX = qMax(rectWidth, sliderCenterPosX + 10);
this->update();
if (sliderCenterPosX == rectWidth) {
state = On;
timer->stop();
emit onStateChange(On);
}
}
else if (state == AnimatingOff) {
sliderCenterPosX = qMax(0, sliderCenterPosX - 10);
this->update();
if (sliderCenterPosX == 0) {
state = Off;
timer->stop();
emit onStateChange(Off);
}
}
else {
timer->stop();
}
}
void Switch::paintEvent(QPaintEvent *event) {
QWidget::paintEvent(event);
QPainter painter(this);
// Draw empty background
painter.setPen(Qt::NoPen);
painter.setBrush(backgroundEmptyColor);
painter.drawRect(height / 2 + sliderCenterPosX, 0, rectWidth - sliderCenterPosX, height);
painter.drawPie(rectWidth, 0, height, height, -16 * 90, 16 * 180);
// Draw filled background
painter.setBrush(backgroundFillColor);
painter.drawRect(height / 2, 0, sliderCenterPosX, height);
painter.drawPie(0, 0, height, height, 16 * 90, 16 * 180);
// Draw slider
// (Notice: slider's center position is relative to background center rect)
painter.setBrush(sliderFillColor);
painter.drawPie(sliderCenterPosX, 0, height, height, 0, 16 * 360);
painter.end();
}
void Switch::mousePressEvent(QMouseEvent *event) {
QWidget::mousePressEvent(event);
if (event->button() == Qt::LeftButton && !mIsLocked) {
if (state == On) state = AnimatingOff;
else if (state == Off) state = AnimatingOn;
timer->start();
}
} | 27.413043 | 93 | 0.622918 | yiyaowen |
3cfb700d7623ff6cb8b7e702fb2d07cf3dd8bba9 | 665 | hpp | C++ | libctrpf/include/CTRPluginFrameworkImpl/Menu/HotkeysModifier.hpp | MirayXS/Vapecord-ACNL-Plugin | 247eb270dfe849eda325cc0c6adc5498d51de3ef | [
"MIT"
] | null | null | null | libctrpf/include/CTRPluginFrameworkImpl/Menu/HotkeysModifier.hpp | MirayXS/Vapecord-ACNL-Plugin | 247eb270dfe849eda325cc0c6adc5498d51de3ef | [
"MIT"
] | null | null | null | libctrpf/include/CTRPluginFrameworkImpl/Menu/HotkeysModifier.hpp | MirayXS/Vapecord-ACNL-Plugin | 247eb270dfe849eda325cc0c6adc5498d51de3ef | [
"MIT"
] | null | null | null | #ifndef CTRPLUGINFRAMEWORKIMPL_PLUGINMENUHOTKEYS_HPP
#define CTRPLUGINFRAMEWORKIMPL_PLUGINMENUHOTKEYS_HPP
#include "CTRPluginFrameworkImpl/Graphics/Button.hpp"
#include <vector>
#include <string>
namespace CTRPluginFramework
{
class HotkeysModifier
{
public:
HotkeysModifier(u32 &keys, const std::string &message);
~HotkeysModifier(void);
void operator()(void);
private:
void _DrawTop(void) const;
void _DrawBottom(void);
void _Update(void);
u32 &_keys;
std::vector<Button> _checkboxs;
const std::string _message;
};
}
#endif | 20.78125 | 63 | 0.639098 | MirayXS |
3cfe5d1806fcf46d1861c5c24104854898a28790 | 1,254 | cpp | C++ | src/win/pxSharedContextNative.cpp | johnrobinsn/pxCore2 | ce9f48a281e03a2e6a0fa6fdacd15a59c6aa720f | [
"Apache-2.0"
] | 9 | 2015-04-04T15:45:12.000Z | 2017-05-04T11:23:58.000Z | src/win/pxSharedContextNative.cpp | johnrobinsn/pxCore2 | ce9f48a281e03a2e6a0fa6fdacd15a59c6aa720f | [
"Apache-2.0"
] | 217 | 2015-01-27T09:59:21.000Z | 2017-06-20T14:43:44.000Z | src/win/pxSharedContextNative.cpp | johnrobinsn/pxCore2 | ce9f48a281e03a2e6a0fa6fdacd15a59c6aa720f | [
"Apache-2.0"
] | 216 | 2015-06-02T23:56:26.000Z | 2019-05-22T19:38:13.000Z | /*
pxCore Copyright 2005-2021 John Robinson
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.
*/
// pxSharedContextNative.cpp
#include "rtLog.h"
#include "rtMutex.h"
#include "pxSharedContext.h"
#include "windows.h"
#include "pxSharedContextNative.h"
void pxSharedContext::makeCurrent(bool f) {
pxSharedContextNative::makeCurrent(f);
}
pxSharedContextNative::pxSharedContextNative() {
mHDC = wglGetCurrentDC();
mOriginalGLContext = wglGetCurrentContext();
mGLContext = wglCreateContext(mHDC);
wglShareLists(mOriginalGLContext, mGLContext);
}
pxSharedContextNative::~pxSharedContextNative() {
if (mGLContext)
wglDeleteContext(mGLContext);
}
void pxSharedContextNative::makeCurrent(bool f) {
wglMakeCurrent(mHDC, f?mGLContext:mOriginalGLContext);
}
| 26.125 | 72 | 0.778309 | johnrobinsn |
a70703e7f6ebfb7be91068e0b5b3fbb71e4f323f | 10,730 | cpp | C++ | proton-c/bindings/cpp/src/messaging_adapter.cpp | aikchar/qpid-proton | 10df4133e8877ee535e24b494738356369dcd24c | [
"Apache-2.0"
] | null | null | null | proton-c/bindings/cpp/src/messaging_adapter.cpp | aikchar/qpid-proton | 10df4133e8877ee535e24b494738356369dcd24c | [
"Apache-2.0"
] | null | null | null | proton-c/bindings/cpp/src/messaging_adapter.cpp | aikchar/qpid-proton | 10df4133e8877ee535e24b494738356369dcd24c | [
"Apache-2.0"
] | 1 | 2020-12-17T15:47:50.000Z | 2020-12-17T15:47:50.000Z | /*
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*
*/
#include "messaging_adapter.hpp"
#include "proton/delivery.hpp"
#include "proton/error.hpp"
#include "proton/receiver_options.hpp"
#include "proton/sender.hpp"
#include "proton/sender_options.hpp"
#include "proton/tracker.hpp"
#include "proton/transport.hpp"
#include "contexts.hpp"
#include "msg.hpp"
#include "proton_bits.hpp"
#include "proton_event.hpp"
#include <proton/connection.h>
#include <proton/delivery.h>
#include <proton/handlers.h>
#include <proton/link.h>
#include <proton/message.h>
#include <proton/session.h>
#include <proton/transport.h>
#include <string.h>
namespace proton {
namespace {
void credit_topup(pn_link_t *link) {
if (link && pn_link_is_receiver(link)) {
int window = link_context::get(link).credit_window;
if (window) {
int delta = window - pn_link_credit(link);
pn_link_flow(link, delta);
}
}
}
}
void messaging_adapter::on_reactor_init(proton_event &pe) {
container* c = pe.container_ptr();
if (c) delegate_.on_container_start(*c);
}
void messaging_adapter::on_reactor_final(proton_event &pe) {
container* c = pe.container_ptr();
if (c) delegate_.on_container_stop(*c);
}
void messaging_adapter::on_link_flow(proton_event &pe) {
pn_event_t *pne = pe.pn_event();
pn_link_t *lnk = pn_event_link(pne);
// TODO: process session flow data, if no link-specific data, just return.
if (!lnk) return;
link_context& lctx = link_context::get(lnk);
int state = pn_link_state(lnk);
if ((state&PN_LOCAL_ACTIVE) && (state&PN_REMOTE_ACTIVE)) {
if (pn_link_is_sender(lnk)) {
if (pn_link_credit(lnk) > 0) {
sender s(make_wrapper<sender>(lnk));
if (pn_link_get_drain(lnk)) {
if (!lctx.draining) {
lctx.draining = true;
delegate_.on_sender_drain_start(s);
}
}
else {
lctx.draining = false;
}
// create on_message extended event
delegate_.on_sendable(s);
}
}
else {
// receiver
if (!pn_link_credit(lnk) && lctx.draining) {
lctx.draining = false;
receiver r(make_wrapper<receiver>(lnk));
delegate_.on_receiver_drain_finish(r);
}
}
}
credit_topup(lnk);
}
void messaging_adapter::on_delivery(proton_event &pe) {
pn_event_t *cevent = pe.pn_event();
pn_link_t *lnk = pn_event_link(cevent);
pn_delivery_t *dlv = pn_event_delivery(cevent);
link_context& lctx = link_context::get(lnk);
if (pn_link_is_receiver(lnk)) {
delivery d(make_wrapper<delivery>(dlv));
if (!pn_delivery_partial(dlv) && pn_delivery_readable(dlv)) {
// generate on_message
pn_connection_t *pnc = pn_session_connection(pn_link_session(lnk));
connection_context& ctx = connection_context::get(pnc);
// Reusable per-connection message.
// Avoid expensive heap malloc/free overhead.
// See PROTON-998
class message &msg(ctx.event_message);
msg.decode(d);
if (pn_link_state(lnk) & PN_LOCAL_CLOSED) {
if (lctx.auto_accept)
d.release();
} else {
delegate_.on_message(d, msg);
if (lctx.auto_accept && !d.settled())
d.accept();
if (lctx.draining && !pn_link_credit(lnk)) {
lctx.draining = false;
receiver r(make_wrapper<receiver>(lnk));
delegate_.on_receiver_drain_finish(r);
}
}
}
else if (pn_delivery_updated(dlv) && d.settled()) {
delegate_.on_delivery_settle(d);
}
if (lctx.draining && pn_link_credit(lnk) == 0) {
lctx.draining = false;
pn_link_set_drain(lnk, false);
receiver r(make_wrapper<receiver>(lnk));
delegate_.on_receiver_drain_finish(r);
if (lctx.pending_credit) {
pn_link_flow(lnk, lctx.pending_credit);
lctx.pending_credit = 0;
}
}
credit_topup(lnk);
} else {
tracker t(make_wrapper<tracker>(dlv));
// sender
if (pn_delivery_updated(dlv)) {
uint64_t rstate = pn_delivery_remote_state(dlv);
if (rstate == PN_ACCEPTED) {
delegate_.on_tracker_accept(t);
}
else if (rstate == PN_REJECTED) {
delegate_.on_tracker_reject(t);
}
else if (rstate == PN_RELEASED || rstate == PN_MODIFIED) {
delegate_.on_tracker_release(t);
}
if (t.settled()) {
delegate_.on_tracker_settle(t);
}
if (lctx.auto_settle)
t.settle();
}
}
}
namespace {
bool is_local_open(pn_state_t state) {
return state & PN_LOCAL_ACTIVE;
}
bool is_local_unititialised(pn_state_t state) {
return state & PN_LOCAL_UNINIT;
}
bool is_remote_unititialised(pn_state_t state) {
return state & PN_REMOTE_UNINIT;
}
} // namespace
void messaging_adapter::on_link_remote_detach(proton_event & pe) {
pn_event_t *cevent = pe.pn_event();
pn_link_t *lnk = pn_event_link(cevent);
if (pn_link_is_receiver(lnk)) {
receiver r(make_wrapper<receiver>(lnk));
delegate_.on_receiver_detach(r);
} else {
sender s(make_wrapper<sender>(lnk));
delegate_.on_sender_detach(s);
}
pn_link_detach(lnk);
}
void messaging_adapter::on_link_remote_close(proton_event &pe) {
pn_event_t *cevent = pe.pn_event();
pn_link_t *lnk = pn_event_link(cevent);
if (pn_link_is_receiver(lnk)) {
receiver r(make_wrapper<receiver>(lnk));
if (pn_condition_is_set(pn_link_remote_condition(lnk))) {
delegate_.on_receiver_error(r);
}
delegate_.on_receiver_close(r);
} else {
sender s(make_wrapper<sender>(lnk));
if (pn_condition_is_set(pn_link_remote_condition(lnk))) {
delegate_.on_sender_error(s);
}
delegate_.on_sender_close(s);
}
pn_link_close(lnk);
}
void messaging_adapter::on_session_remote_close(proton_event &pe) {
pn_event_t *cevent = pe.pn_event();
pn_session_t *session = pn_event_session(cevent);
class session s(make_wrapper(session));
if (pn_condition_is_set(pn_session_remote_condition(session))) {
delegate_.on_session_error(s);
}
delegate_.on_session_close(s);
pn_session_close(session);
}
void messaging_adapter::on_connection_remote_close(proton_event &pe) {
pn_event_t *cevent = pe.pn_event();
pn_connection_t *conn = pn_event_connection(cevent);
pn_condition_t *cond = pn_connection_remote_condition(conn);
// If we got a close with a condition of amqp:connection:forced then treat this
// the same as just having the transport closed by the peer without sending any
// events. This allows reconnection to happen transparently in this case
if (pn_condition_is_set(cond)
&& !strcmp(pn_condition_get_name(cond),"amqp:connection:forced")) {
return;
}
connection c(make_wrapper(conn));
if (pn_condition_is_set(cond)) {
delegate_.on_connection_error(c);
}
delegate_.on_connection_close(c);
pn_connection_close(conn);
}
void messaging_adapter::on_connection_remote_open(proton_event &pe) {
// Generate on_transport_open event here until we find a better place
transport t(make_wrapper(pn_event_transport(pe.pn_event())));
delegate_.on_transport_open(t);
pn_connection_t *conn = pn_event_connection(pe.pn_event());
connection c(make_wrapper(conn));
delegate_.on_connection_open(c);
if (!is_local_open(pn_connection_state(conn)) && is_local_unititialised(pn_connection_state(conn))) {
pn_connection_open(conn);
}
}
void messaging_adapter::on_session_remote_open(proton_event &pe) {
pn_session_t *session = pn_event_session(pe.pn_event());
class session s(make_wrapper(session));
delegate_.on_session_open(s);
if (!is_local_open(pn_session_state(session)) && is_local_unititialised(pn_session_state(session))) {
pn_session_open(session);
}
}
void messaging_adapter::on_link_local_open(proton_event &pe) {
credit_topup(pn_event_link(pe.pn_event()));
}
void messaging_adapter::on_link_remote_open(proton_event &pe) {
pn_link_t *lnk = pn_event_link(pe.pn_event());
container* c = pe.container_ptr();
if (pn_link_is_receiver(lnk)) {
receiver r(make_wrapper<receiver>(lnk));
delegate_.on_receiver_open(r);
if (is_local_unititialised(pn_link_state(lnk))) {
if (c)
r.open(c->receiver_options());
else
r.open();
}
} else {
sender s(make_wrapper<sender>(lnk));
delegate_.on_sender_open(s);
if (is_local_unititialised(pn_link_state(lnk))) {
if (c)
s.open(c->sender_options());
else
s.open();
}
}
credit_topup(lnk);
}
void messaging_adapter::on_transport_closed(proton_event &pe) {
pn_transport_t *tspt = pn_event_transport(pe.pn_event());
transport t(make_wrapper(tspt));
// If the connection isn't open generate on_transport_open event
// because we didn't generate it yet and the events won't match.
pn_connection_t *conn = pn_event_connection(pe.pn_event());
if (!conn || is_remote_unititialised(pn_connection_state(conn))) {
delegate_.on_transport_open(t);
}
if (pn_condition_is_set(pn_transport_condition(tspt))) {
delegate_.on_transport_error(t);
}
delegate_.on_transport_close(t);
}
}
| 33.015385 | 105 | 0.637279 | aikchar |
a707ff65ea24a63cf63f601401a0abb0caf5a246 | 12,618 | cc | C++ | crawl-ref/source/stringutil.cc | ludamad/bcrawl-hacks | 0c82f6181d8c2ffcb58f374a58887694cdd407ae | [
"CC0-1.0"
] | 58 | 2018-12-10T05:09:50.000Z | 2022-01-17T02:22:49.000Z | crawl-ref/source/stringutil.cc | ludamad/bcrawl-hacks | 0c82f6181d8c2ffcb58f374a58887694cdd407ae | [
"CC0-1.0"
] | 7 | 2020-04-26T03:18:55.000Z | 2021-05-29T21:19:05.000Z | crawl-ref/source/stringutil.cc | ludamad/bcrawl-hacks | 0c82f6181d8c2ffcb58f374a58887694cdd407ae | [
"CC0-1.0"
] | 11 | 2019-01-05T20:14:48.000Z | 2022-01-06T21:25:53.000Z | /**
* @file
* @brief String manipulation functions that don't fit elsewhere.
**/
#include "AppHdr.h"
#include "stringutil.h"
#include <cwctype>
#include <sstream>
#include "libutil.h"
#include "random.h"
#include "unicode.h"
#ifndef CRAWL_HAVE_STRLCPY
size_t strlcpy(char *dst, const char *src, size_t n)
{
if (!n)
return strlen(src);
const char *s = src;
while (--n > 0)
if (!(*dst++ = *s++))
break;
if (!n)
{
*dst++ = 0;
while (*s++)
;
}
return s - src - 1;
}
#endif
string lowercase_string(const string &s)
{
string res;
char32_t c;
char buf[4];
for (const char *tp = s.c_str(); int len = utf8towc(&c, tp); tp += len)
{
// crawl breaks horribly if this is allowed to affect ascii chars,
// so override locale-specific casing for ascii. (For example, in
// Turkish; tr_TR.utf8 lowercase I is a dotless i that is not
// ascii, which breaks many things.)
if (isaalpha(tp[0]))
res.append(1, toalower(tp[0]));
else
res.append(buf, wctoutf8(buf, towlower(c)));
}
return res;
}
string &lowercase(string &s)
{
s = lowercase_string(s);
return s;
}
string &uppercase(string &s)
{
for (char &ch : s)
ch = toupper_safe(ch);
return s;
}
string uppercase_string(string s)
{
return uppercase(s);
}
// Warning: this (and uppercase_first()) relies on no libc (glibc, BSD libc,
// MSVC crt) supporting letters that expand or contract, like German ß (-> SS)
// upon capitalization / lowercasing. This is mostly a fault of the API --
// there's no way to return two characters in one code point.
// Also, all characters must have the same length in bytes before and after
// lowercasing, all platforms currently have this property.
//
// A non-hacky version would be slower for no gain other than sane code; at
// least unless you use some more powerful API.
string lowercase_first(string s)
{
char32_t c;
if (!s.empty())
{
utf8towc(&c, &s[0]);
wctoutf8(&s[0], towlower(c));
}
return s;
}
string uppercase_first(string s)
{
// Incorrect due to those pesky Dutch having "ij" as a single letter (wtf?).
// Too bad, there's no standard function to handle that character, and I
// don't care enough.
char32_t c;
if (!s.empty())
{
utf8towc(&c, &s[0]);
wctoutf8(&s[0], towupper(c));
}
return s;
}
int ends_with(const string &s, const char * const suffixes[])
{
if (!suffixes)
return 0;
for (int i = 0; suffixes[i]; ++i)
if (ends_with(s, suffixes[i]))
return 1 + i;
return 0;
}
static const string _get_indent(const string &s)
{
size_t prefix = 0;
if (starts_with(s, "\"") // ASCII quotes
|| starts_with(s, "“") // English quotes
|| starts_with(s, "„") // Polish/German/... quotes
|| starts_with(s, "«") // French quotes
|| starts_with(s, "»") // Danish/... quotes
|| starts_with(s, "•")) // bulleted lists
{
prefix = 1;
}
else if (starts_with(s, "「")) // Chinese/Japanese quotes
prefix = 2;
size_t nspaces = s.find_first_not_of(' ', prefix);
if (nspaces == string::npos)
nspaces = 0;
if (!(prefix += nspaces))
return "";
return string(prefix, ' ');
}
// The provided string is consumed!
string wordwrap_line(string &s, int width, bool tags, bool indent)
{
ASSERT(width > 0);
const char *cp0 = s.c_str();
const char *cp = cp0, *space = 0;
char32_t c;
bool seen_nonspace = false;
while (int clen = utf8towc(&c, cp))
{
int cw = wcwidth(c);
if (c == ' ')
{
if (seen_nonspace)
space = cp;
}
else if (c == '\n')
{
space = cp;
break;
}
else
seen_nonspace = true;
if (c == '<' && tags)
{
ASSERT(cw == 1);
if (cp[1] == '<') // "<<" escape
{
// Note: this must be after a possible wrap, otherwise we could
// split the escape between lines.
cp++;
}
else
{
cw = 0;
// Skip the whole tag.
while (*cp != '>')
{
if (!*cp)
{
// Everything so far fitted, report error.
string ret = s + ">";
s = "<lightred>ERROR: string above had unterminated tag</lightred>";
return ret;
}
cp++;
}
}
}
if (cw > width)
break;
if (cw >= 0)
width -= cw;
cp += clen;
}
if (!c)
{
// everything fits
string ret = s;
s.clear();
return ret;
}
if (space)
cp = space;
const string ret = s.substr(0, cp - cp0);
const string indentation = (indent && c != '\n' && seen_nonspace)
? _get_indent(s) : "";
// eat all trailing spaces and up to one newline
while (*cp == ' ')
cp++;
if (*cp == '\n')
cp++;
#ifdef ASSERTS
const size_t inputlength = s.length();
#endif
s.erase(0, cp - cp0);
// if we had to break a line, reinsert the indendation
if (indent && c != '\n')
s = indentation + s;
// Make sure the remaining string actually shrank, or else we're likely
// to throw our caller into an infinite loop.
ASSERT(inputlength > s.length());
return ret;
}
string strip_filename_unsafe_chars(const string &s)
{
return replace_all_of(s, " .&`\"\'|;{}()[]<>*%$#@!~?", "");
}
string vmake_stringf(const char* s, va_list args)
{
char buf1[8000];
va_list orig_args;
va_copy(orig_args, args);
size_t len = vsnprintf(buf1, sizeof buf1, s, orig_args);
va_end(orig_args);
if (len < sizeof buf1)
return buf1;
char *buf2 = (char*)malloc(len + 1);
va_copy(orig_args, args);
vsnprintf(buf2, len + 1, s, orig_args);
va_end(orig_args);
string ret(buf2);
free(buf2);
return ret;
}
string make_stringf(const char *s, ...)
{
va_list args;
va_start(args, s);
string ret = vmake_stringf(s, args);
va_end(args);
return ret;
}
bool strip_suffix(string &s, const string &suffix)
{
if (ends_with(s, suffix))
{
s.erase(s.length() - suffix.length(), suffix.length());
trim_string(s);
return true;
}
return false;
}
string replace_all(string s, const string &find, const string &repl)
{
ASSERT(!find.empty());
string::size_type start = 0;
string::size_type found;
while ((found = s.find(find, start)) != string::npos)
{
s.replace(found, find.length(), repl);
start = found + repl.length();
}
return s;
}
// Replaces all occurrences of any of the characters in tofind with the
// replacement string.
string replace_all_of(string s, const string &tofind, const string &replacement)
{
ASSERT(!tofind.empty());
string::size_type start = 0;
string::size_type found;
while ((found = s.find_first_of(tofind, start)) != string::npos)
{
s.replace(found, 1, replacement);
start = found + replacement.length();
}
return s;
}
// Capitalise phrases encased in @CAPS@ ... @NOCAPS@. If @NOCAPS@ is
// missing, change the rest of the line to uppercase.
string maybe_capitalise_substring(string s)
{
string::size_type start = 0;
while ((start = s.find("@CAPS@", start)) != string::npos)
{
string::size_type cap_start = start + 6;
string::size_type cap_end = string::npos;
string::size_type end = s.find("@NOCAPS@", cap_start);
string::size_type length = string::npos;
string::size_type cap_length = string::npos;
if (end != string::npos)
{
cap_end = end + 8;
cap_length = end - cap_start;
length = cap_end - start;
}
string substring = s.substr(cap_start, cap_length);
trim_string(substring);
s.replace(start, length, uppercase(substring));
}
return s;
}
/**
* Make @-replacements on the given text.
*
* @param text the string to be processed
* @param replacements contains information on what replacements are to be made.
* @returns a string with substitutions based on the arguments. For example, if
* given "baz@foo@" and { "foo", "bar" } then this returns "bazbar".
* If a string not in replacements is found between @ signs, then the
* original, unedited string is returned.
*/
string replace_keys(const string &text, const map<string, string>& replacements)
{
string::size_type at = 0, last = 0;
ostringstream res;
while ((at = text.find('@', last)) != string::npos)
{
res << text.substr(last, at - last);
const string::size_type end = text.find('@', at + 1);
if (end == string::npos)
break;
const string key = text.substr(at + 1, end - at - 1);
const string* value = map_find(replacements, key);
if (!value)
return text;
res << *value;
last = end + 1;
}
if (!last)
return text;
res << text.substr(last);
return res.str();
}
// For each set of [phrase|term|word] contained in the string, replace the set with a random subphrase.
// NOTE: Doesn't work for nested patterns!
string maybe_pick_random_substring(string s)
{
string::size_type start = 0;
while ((start = s.find("[", start)) != string::npos)
{
string::size_type end = s.find("]", start);
if (end == string::npos)
break;
string substring = s.substr(start + 1, end - start - 1);
vector<string> split = split_string("|", substring, false, true);
int index = random2(split.size());
s.replace(start, end + 1 - start, split[index]);
}
return s;
}
int count_occurrences(const string &text, const string &s)
{
ASSERT(!s.empty());
int nfound = 0;
string::size_type pos = 0;
while ((pos = text.find(s, pos)) != string::npos)
{
++nfound;
pos += s.length();
}
return nfound;
}
// also used with macros
string &trim_string(string &str)
{
str.erase(0, str.find_first_not_of(" \t\n\r"));
str.erase(str.find_last_not_of(" \t\n\r") + 1);
return str;
}
string &trim_string_right(string &str)
{
str.erase(str.find_last_not_of(" \t\n\r") + 1);
return str;
}
string trimmed_string(string s)
{
trim_string(s);
return s;
}
static void add_segment(vector<string> &segs, string s, bool trim,
bool accept_empty)
{
if (trim && !s.empty())
trim_string(s);
if (accept_empty || !s.empty())
segs.push_back(s);
}
vector<string> split_string(const string &sep, string s, bool trim_segments,
bool accept_empty_segments, int nsplits)
{
vector<string> segments;
int separator_length = sep.length();
string::size_type pos;
while (nsplits && (pos = s.find(sep)) != string::npos)
{
add_segment(segments, s.substr(0, pos),
trim_segments, accept_empty_segments);
s.erase(0, pos + separator_length);
if (nsplits > 0)
--nsplits;
}
if (!s.empty())
add_segment(segments, s, trim_segments, accept_empty_segments);
return segments;
}
// Crude, but functional.
string make_time_string(time_t abs_time, bool terse)
{
const int days = abs_time / 86400;
const int hours = (abs_time % 86400) / 3600;
const int mins = (abs_time % 3600) / 60;
const int secs = abs_time % 60;
string buff;
if (days > 0)
{
buff += make_stringf("%d %s ", days, terse ? ","
: days > 1 ? "days" : "day");
}
return buff + make_stringf("%02d:%02d:%02d", hours, mins, secs);
}
string make_file_time(time_t when)
{
if (tm *loc = TIME_FN(&when))
{
return make_stringf("%04d%02d%02d-%02d%02d%02d",
loc->tm_year + 1900,
loc->tm_mon + 1,
loc->tm_mday,
loc->tm_hour,
loc->tm_min,
loc->tm_sec);
}
return "";
}
| 24.887574 | 103 | 0.548264 | ludamad |
a7098e59e13c4c6755f7f977f598fbd17f47f812 | 7,630 | cpp | C++ | serial_mux/SerialMuxOptions.cpp | dustcloud/serialmux | 4ae93d923a942242a897635105cc4251dbd01528 | [
"MIT"
] | 1 | 2018-02-02T09:04:29.000Z | 2018-02-02T09:04:29.000Z | serial_mux/SerialMuxOptions.cpp | dustcloud/serialmux | 4ae93d923a942242a897635105cc4251dbd01528 | [
"MIT"
] | null | null | null | serial_mux/SerialMuxOptions.cpp | dustcloud/serialmux | 4ae93d923a942242a897635105cc4251dbd01528 | [
"MIT"
] | 4 | 2016-08-25T00:13:52.000Z | 2021-01-14T23:42:08.000Z | /*
* Copyright (c) 2010, Dust Networks, Inc.
*/
#include "SerialMuxOptions.h"
#include <iostream>
#include <fstream>
#include <sstream>
#include <boost/program_options.hpp>
using namespace boost::program_options;
#include <boost/filesystem.hpp>
#include "Version.h" // for command line version output
namespace DustSerialMux {
// Convert hex string (two ASCII characters per byte) into binary data
// Returns: length of the converted binary data
// Returns: 0 if an error is encountered, i.e. if the string contains invalid chars
// or the output buffer is not large enough
// outBuf is filled starting at the beginning of the buffer
int hexToBin(const char* str, uint8_t * outBuf, int len)
{
int idx = 0,
nn = 0;
bool isOk = true,
wasDigit = false;
memset(outBuf, 0, len);
while (isspace(*str)) str++;
while(isOk) {
char c = *str++;
bool isDigit = isxdigit(c)!=0;
isOk = wasDigit && (c==0 || isspace(c) || c=='-' || c==':') || isDigit;
wasDigit = isDigit;
if (isOk) {
if (!isDigit || nn==2) {
idx++;
nn = 0;
}
if (isDigit) {
isOk = idx < len;
if (isOk) {
int numb = isdigit(c) ? c-'0' : tolower(c)-'a'+10;
outBuf[idx] = (outBuf[idx] << 4) + numb;
nn++;
}
}
else if (c!='-' && c!=':') {
break;
}
}
}
if (!isOk) {
idx = 0;
}
return idx;
}
// parseConfiguration
// Parse the command line and configuration file.
// Sets values in options structure.
// Throws exception on parse error
// Returns: 0 if OK, 1 if caller should exit
int parseConfiguration(struct SerialMuxOptions& options,
int argc, char* argv[], std::ostream& out)
{
std::string logLevel;
// General options are allowed anywhere
options_description g("General options");
g.add_options()
("port,p",
value<std::string>(&options.serialPort)->default_value(DEFAULT_SERIAL_PORT),
"Picard port")
("listen,l",
value<uint16_t>(&options.listenerPort)->default_value(DEFAULT_LISTENER_PORT),
"Listener port")
("accept-anyhost", "Accept connections from any host (instead of localhost only)")
("rts-delay,d",
value<int>(&options.rtsDelay)->default_value(DEFAULT_RTS_DELAY), "RTS delay")
("picard-timeout",
value<int>(&options.picardTimeout)->default_value(DEFAULT_PICARD_TIMEOUT),
"Picard command timeout")
("picard-retries",
value<int>(&options.picardRetries)->default_value(DEFAULT_PICARD_RETRIES),
"Picard command retries")
("read-timeout",
value<int>(&options.readTimeout)->default_value(DEFAULT_READ_TIMEOUT),
"Low-level read operation timeout")
("flow-control", "Use RTS flow control")
("log-level",
value<std::string>(&logLevel),
"Minimum level of messages to log")
("log-file",
value<std::string>(&options.logFile)->default_value(DEFAULT_LOG_FILE),
"Path to log file relative to executable")
("log-num-backups",
value<int>(&options.numLogBackups)->default_value(DEFAULT_NUM_LOG_BACKUPS),
"Number of log file backups to keep")
("log-max-size",
value<int>(&options.maxLogSize)->default_value(DEFAULT_MAX_LOG_SIZE),
"Maximum log file size before files are rotated")
("daemon", "Run as daemon")
("service-name",
value<std::string>(&options.serviceName)->default_value(DEFAULT_SERVICE_NAME),
"Name of the service to register as when running as daemon on Windows")
;
// Command line options
std::string dir;
options_description cmdline_options;
cmdline_options.add(g);
cmdline_options.add_options()
("version,v", "Print the version string")
("help", "Print this help message")
("config,c", value<std::string>(&options.configFile), "Path to the configuration file")
("directory", value<std::string>(&dir), "Set the working directory")
;
variables_map vm;
try {
store(command_line_parser(argc, argv).
options(cmdline_options).run(), vm);
notify(vm);
}
catch (const unknown_option& ex) {
std::ostringstream msg;
msg << "unknown option '" << ex.get_option_name() << "'";
throw std::invalid_argument(msg.str());
}
if (vm.count("help")) {
out << cmdline_options << std::endl;
return 1;
}
if (vm.count("version")) {
out << getVersionString() << std::endl;
return 1;
}
if (vm.count("directory")) {
// change the directory before trying to read the configuration file
boost::filesystem::current_path(vm["directory"].as<std::string>());
}
// Config file options
std::string authTokenStr;
options_description conf_options;
conf_options.add(g);
conf_options.add_options()
("authToken", value<std::string>(&authTokenStr), "Authentication token")
("baud", value<uint32_t>(&options.baudRate), "Picard baud rate")
;
// Read config file
try {
std::ifstream ifs(options.configFile.c_str());
if (!ifs && vm.count("config")) {
std::ostringstream msg;
msg << "can not open config file: " << options.configFile;
throw std::invalid_argument(msg.str());
}
if (ifs.good()) {
store(parse_config_file(ifs, conf_options), vm);
notify(vm);
}
}
catch (const unknown_option& ex) {
std::ostringstream msg;
msg << "unknown option '" << ex.get_option_name() << "' in " << options.configFile;
throw std::invalid_argument(msg.str());
}
// * Parse option values
// parse Picard port
options.emulatorPort = atoi(options.serialPort.c_str());
if (options.emulatorPort > 0 && options.emulatorPort < 65535) {
options.useSerial = false;
}
// TODO: can we detect invalid port values?
// parse Authentication Token
if (vm.count("authToken")) {
int result = hexToBin(authTokenStr.c_str(), options.authToken, AUTHENTICATION_LEN);
if (result == 0) {
std::ostringstream msg;
msg << "invalid authentication token: " << authTokenStr;
throw std::invalid_argument(msg.str());
}
}
// check whether anyhost was specified
if (vm.count("accept-anyhost")) {
options.acceptAnyhost = true;
}
// check whether flow control was specified
if (vm.count("flow-control")) {
options.useFlowControl = true;
}
// check whether daemon mode was specified
if (vm.count("daemon")) {
options.runAsDaemon = true;
}
// parse the log level
if (vm.count("log-level")) {
options.logLevel = stringToEnum(logLevel);
}
return 0;
}
} // namespace
| 33.464912 | 97 | 0.549148 | dustcloud |
a70cce366844fd0cbe7d860f9368159c69996896 | 6,040 | hpp | C++ | include/obvi/util/affine3.hpp | stephen-sorley/obvi | ead96e23dfd9ffba35590b3a035556eeb093d9a8 | [
"MIT"
] | null | null | null | include/obvi/util/affine3.hpp | stephen-sorley/obvi | ead96e23dfd9ffba35590b3a035556eeb093d9a8 | [
"MIT"
] | null | null | null | include/obvi/util/affine3.hpp | stephen-sorley/obvi | ead96e23dfd9ffba35590b3a035556eeb093d9a8 | [
"MIT"
] | null | null | null | /* Header-only class that implements an affine transformation in 3D space.
*
* This class only supports affine transformations that represent some combination of
* rotations, translations, and uniform scaling (i.e., scaling that's the same on every
* axis). Shear and non-uniform scaling are not supported for two reasons:
* (1) These operations aren't useful when displaying 3D models - they distort the image.
* (2) Omitting these operations makes the transform trivially invertible, so inverses
* can be performed quickly and without greatly increasing the floating-point error.
*
* * * * * * * * * * * *
* The MIT License (MIT)
*
* Copyright (c) 2019 Stephen Sorley
*
* 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.
* * * * * * * * * * * *
*/
#ifndef OBVI_AFFINE3_HPP
#define OBVI_AFFINE3_HPP
#include <cmath>
#include <array>
#include <iostream>
#include <obvi/util/vec3.hpp>
#include <obvi/util/mat3.hpp>
namespace obvi {
template<typename real>
struct affine3
{
// General affine transform on vector 'x' to get new vector 'y' is of this form:
// y = Ax + b, where A is a 3x3 matrix and b is a 3x1 vector.
//
// For this class, that translates to the following:
// y = (rot * (scale * x)) + b
affine3() {}
// Intentionally didn't make these explicit - allows you to pre or post multiply an affine
// rotation, translation, or scaling matrix directly, instead of wrapping with affine3().
// Just a convenient shorthand.
affine3(const mat3<real>& rotation) : rot(rotation) {}
affine3(const vec3<real>& translation) : tr(translation) {}
affine3(const real& scale) : uscale(scale) {}
affine3(const mat3<real>& rotation, const vec3<real>& translation)
: rot(rotation), tr(translation) {}
affine3(const mat3<real>& rotation, const vec3<real>& translation, const real& scale)
: rot(rotation), tr(translation), uscale(scale) {}
void set(const mat3<real>& rotation, const vec3<real>& translation, const real& scale = 1) {
rot = rotation;
tr = translation;
uscale = scale;
}
// Accessors.
const mat3<real>& rotation() const {
return rot;
}
const vec3<real>& translation() const {
return tr;
}
const real& scale() const {
return uscale;
}
// Export to an OpenGL-compatible matrix (4x4 matrix representation of affine transform,
// stored in column-major order).
template<typename GLreal>
void to_gl(std::array<GLreal, 16> &arr) const {
// Initialize with all zeros.
arr.fill(GLreal(0));
// Store rotation matrix in upper-left 3x3 of 4x4.
// Multiply diagonal of rotation matrix by uscale as we store it.
for(size_t col=0; col<3; ++col) {
for(size_t row=0; row<3; ++row) {
real val = rot(row, col);
if(row == col) {
val *= uscale;
}
arr[colmajor(row, col)] = GLreal(val);
}
}
// Store translation vector in upper-right 3x1 of 4x4.
arr[colmajor(0, 3)] = GLreal(tr.x());
arr[colmajor(1, 3)] = GLreal(tr.y());
arr[colmajor(2, 3)] = GLreal(tr.z());
// Store a 1 in lower-right corner.
arr[colmajor(3, 3)] = GLreal(1);
}
// Combine two affine transformations into a single affine transform.
affine3& operator*=(const affine3& rhs) {
tr += rot * (rhs.tr * uscale);
rot *= rhs.rot;
uscale *= rhs.uscale;
return *this;
}
// Combine two affine transformations into a single affine transform.
friend const affine3& operator*(const affine3& lhs, const affine3& rhs) {
return affine3(lhs) *= rhs;
}
// Transform the given vector.
friend vec3<real> operator*(const affine3& aff, const vec3<real>& vec) {
return aff.rot * (vec * aff.uscale) + aff.tr;
}
affine3& inv_inplace() {
rot.trans_inplace();
tr = -(rot * tr);
uscale = real(1) / uscale;
return *this;
}
friend affine3& inv_inplace(affine3& aff) {
return aff.inv_inplace();
}
affine3 inv() const {
return affine3(*this).inv_inplace();
}
friend affine3 inv(const affine3& aff) {
return aff.inv();
}
private:
// rotation part of transformation (NOT A GENERAL 3x3, this invertible by transpose)
mat3<real> rot = mat3<real>::identity();
// translation part of transformation
vec3<real> tr;
// uniform scaling part of transformation
real uscale = 1;
static size_t colmajor(size_t row, size_t col) {
return col * 4 + row;
}
};
using affine3f = affine3<float>;
using affine3d = affine3<double>;
} // END namespace obvi
#endif // OBVI_AFFINE3_HPP
| 35.116279 | 97 | 0.623344 | stephen-sorley |
a712cdf50f149e8abaa2e35121eccb31d3e20099 | 399 | cpp | C++ | test/matrixScalarMult.cpp | mkschreder/px4-matrix | f0684a655ca433436b884575d998430f4a1dac3d | [
"BSD-3-Clause-Clear"
] | null | null | null | test/matrixScalarMult.cpp | mkschreder/px4-matrix | f0684a655ca433436b884575d998430f4a1dac3d | [
"BSD-3-Clause-Clear"
] | null | null | null | test/matrixScalarMult.cpp | mkschreder/px4-matrix | f0684a655ca433436b884575d998430f4a1dac3d | [
"BSD-3-Clause-Clear"
] | null | null | null | #include <stdio.h>
#include "../matrix/math.hpp"
#include "test_macros.hpp"
using namespace matrix;
int main()
{
float data[9] = {1, 2, 3, 4, 5, 6, 7, 8, 9};
Matrix3f A(data);
A = A * 2;
float data_check[9] = {2, 4, 6, 8, 10, 12, 14, 16, 18};
Matrix3f A_check(data_check);
TEST(isEqual(A, A_check));
return 0;
}
/* vim: set et fenc=utf-8 ff=unix sts=0 sw=4 ts=4 : */
| 19.95 | 59 | 0.573935 | mkschreder |
a7141048634c3efbae9221deb5ceb1c5d5e58c98 | 1,104 | cc | C++ | cvd_src/cvd_timer.cc | rolandmas/libcvd | 34d8e26dbc7d0923dce084b873aa2f2e9eb600d4 | [
"BSD-2-Clause"
] | 187 | 2015-01-23T16:56:21.000Z | 2022-01-22T19:39:34.000Z | cvd_src/cvd_timer.cc | rolandmas/libcvd | 34d8e26dbc7d0923dce084b873aa2f2e9eb600d4 | [
"BSD-2-Clause"
] | 44 | 2015-06-03T09:54:44.000Z | 2021-10-04T02:41:48.000Z | cvd_src/cvd_timer.cc | rolandmas/libcvd | 34d8e26dbc7d0923dce084b873aa2f2e9eb600d4 | [
"BSD-2-Clause"
] | 76 | 2015-02-19T18:44:38.000Z | 2022-01-05T12:22:13.000Z | ///////////////////////////////////////////////////////
//
// A timer class designed for dealing with timestamps
// CK Nov 2002
//
///////////////////////////////////////////////////////
#include "cvd/timer.h"
#include <chrono>
#include <iostream>
using namespace std;
using namespace std::chrono;
namespace CVD
{
long long get_time_of_day_ns()
{
auto time = high_resolution_clock::now();
return time_point_cast<chrono::nanoseconds>(time).time_since_epoch().count();
}
cvd_timer::cvd_timer()
{
start = high_resolution_clock::now();
}
double cvd_timer::reset()
{
auto now = high_resolution_clock::now();
double r = duration<float>(now - start).count();
start = now;
return r;
}
double cvd_timer::get_time()
{
auto now = high_resolution_clock::now();
return duration<float>(now - start).count();
}
double get_time_of_day()
{
return static_cast<double>(get_time_of_day_ns()) / 1e9;
}
double cvd_timer::conv_ntime(const double& time) const
{
double start_seconds = time_point_cast<duration<float>>(start).time_since_epoch().count();
return time - start_seconds;
}
cvd_timer timer;
}
| 18.711864 | 91 | 0.65308 | rolandmas |
a715b4dabcdfbdbed6e0c1aed44f96057ae9891d | 79 | hpp | C++ | vm/segments.hpp | seckar/factor | 9683b081e3d93a996d00c91a139b533139dfb945 | [
"BSD-2-Clause"
] | 1 | 2016-05-08T19:43:03.000Z | 2016-05-08T19:43:03.000Z | vm/segments.hpp | seckar/factor | 9683b081e3d93a996d00c91a139b533139dfb945 | [
"BSD-2-Clause"
] | null | null | null | vm/segments.hpp | seckar/factor | 9683b081e3d93a996d00c91a139b533139dfb945 | [
"BSD-2-Clause"
] | null | null | null | namespace factor
{
struct segment {
cell start;
cell size;
cell end;
};
}
| 7.181818 | 16 | 0.658228 | seckar |
a7168501500555253944387a710e82bb9d7c4b66 | 5,700 | cc | C++ | src/views/reductions.cc | sduvuru/couchstore | 0ddb502b5b32aaa728e3323bd5d447f467f77966 | [
"Apache-2.0"
] | 16 | 2015-04-14T20:46:30.000Z | 2021-07-07T10:51:20.000Z | src/views/reductions.cc | sduvuru/couchstore | 0ddb502b5b32aaa728e3323bd5d447f467f77966 | [
"Apache-2.0"
] | 5 | 2016-03-18T09:25:20.000Z | 2021-09-20T05:21:46.000Z | src/views/reductions.cc | sduvuru/couchstore | 0ddb502b5b32aaa728e3323bd5d447f467f77966 | [
"Apache-2.0"
] | 5 | 2015-10-13T06:33:23.000Z | 2021-06-15T16:42:53.000Z | /* -*- Mode: C; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
#include "reductions.h"
#include "../bitfield.h"
#include "../couch_btree.h"
#include <platform/cb_malloc.h>
#include <stdlib.h>
#include <string.h>
#include <platform/cbassert.h>
#define BITMASK_BYTE_SIZE (1024 / CHAR_BIT)
#define dec_uint16(b) (decode_raw16(*((raw_16 *) b)))
#define dec_uint48(b) (decode_raw48(*((raw_48 *) b)))
#define dec_uint40(b) (decode_raw40(*((raw_40 *) b)))
static void enc_uint16(uint16_t u, char **buf);
static void enc_raw40(uint64_t u, char **buf);
couchstore_error_t decode_view_btree_reduction(const char *bytes,
size_t len,
view_btree_reduction_t **reduction)
{
view_btree_reduction_t *r = NULL;
uint8_t i, j;
uint16_t sz;
const char *bs;
size_t length;
r = (view_btree_reduction_t *) cb_malloc(sizeof(view_btree_reduction_t));
if (r == NULL) {
goto alloc_error;
}
cb_assert(len >= 5);
r->kv_count = dec_uint40(bytes);
bytes += 5;
len -= 5;
cb_assert(len >= BITMASK_BYTE_SIZE);
memcpy(&r->partitions_bitmap, bytes, BITMASK_BYTE_SIZE);
bytes += BITMASK_BYTE_SIZE;
len -= BITMASK_BYTE_SIZE;
bs = bytes;
length = len;
r->num_values = 0;
while (len > 0) {
cb_assert(len >= 2);
sz = dec_uint16(bs);
bs += 2;
len -= 2;
cb_assert(len >= sz);
bs += sz;
len -= sz;
r->num_values++;
}
if (len > 0) {
free_view_btree_reduction(r);
return COUCHSTORE_ERROR_CORRUPT;
}
if (r->num_values > 0) {
r->reduce_values = (sized_buf *) cb_malloc(r->num_values * sizeof(sized_buf));
if (r->reduce_values == NULL) {
goto alloc_error;
}
} else {
r->reduce_values = NULL;
}
for (j = 0; j< r->num_values; ++j) {
r->reduce_values[j].buf = NULL;
}
i = 0;
len = length;
while (len > 0) {
sz = dec_uint16(bytes);
bytes += 2;
len -= 2;
r->reduce_values[i].size = sz;
r->reduce_values[i].buf = (char *) cb_malloc(sz);
if (r->reduce_values[i].buf == NULL) {
goto alloc_error;
}
memcpy(r->reduce_values[i].buf, bytes, sz);
bytes += sz;
len -= sz;
i++;
}
*reduction = r;
return COUCHSTORE_SUCCESS;
alloc_error:
free_view_btree_reduction(r);
return COUCHSTORE_ERROR_ALLOC_FAIL;
}
couchstore_error_t encode_view_btree_reduction(const view_btree_reduction_t *reduction,
char *buffer,
size_t *buffer_size)
{
char *b = NULL;
size_t sz = 0;
int i;
sz += 5; /* kv_count */
sz += BITMASK_BYTE_SIZE; /* partitions bitmap */
/* reduce values */
for (i = 0; i < reduction->num_values; ++i) {
sz += 2; /* size_t */
sz += reduction->reduce_values[i].size;
}
if (sz > MAX_REDUCTION_SIZE) {
return COUCHSTORE_ERROR_REDUCTION_TOO_LARGE;
}
b = buffer;
enc_raw40(reduction->kv_count, &b);
memcpy(b, &reduction->partitions_bitmap, BITMASK_BYTE_SIZE);
b += BITMASK_BYTE_SIZE;
for (i = 0; i < reduction->num_values; ++i) {
enc_uint16(reduction->reduce_values[i].size, &b);
memcpy(b, reduction->reduce_values[i].buf, reduction->reduce_values[i].size);
b += reduction->reduce_values[i].size;
}
*buffer_size = sz;
return COUCHSTORE_SUCCESS;
}
void free_view_btree_reduction(view_btree_reduction_t *reduction)
{
int i;
if (reduction == NULL) {
return;
}
if (reduction->reduce_values != NULL){
for (i = 0; i < reduction->num_values; ++i) {
cb_free(reduction->reduce_values[i].buf);
}
cb_free(reduction->reduce_values);
}
cb_free(reduction);
}
couchstore_error_t decode_view_id_btree_reduction(const char *bytes,
view_id_btree_reduction_t **reduction)
{
view_id_btree_reduction_t *r = NULL;
r = (view_id_btree_reduction_t *) cb_malloc(sizeof(view_id_btree_reduction_t));
if (r == NULL) {
goto alloc_error;
}
r->kv_count = dec_uint40(bytes);
bytes += 5;
memcpy(&r->partitions_bitmap, bytes, BITMASK_BYTE_SIZE);
*reduction = r;
return COUCHSTORE_SUCCESS;
alloc_error:
free_view_id_btree_reduction(r);
return COUCHSTORE_ERROR_ALLOC_FAIL;
}
couchstore_error_t encode_view_id_btree_reduction(const view_id_btree_reduction_t *reduction,
char *buffer,
size_t *buffer_size)
{
char *b = NULL;
size_t sz = 0;
sz += 5; /* kv_count */
sz += BITMASK_BYTE_SIZE; /* partitions bitmap */
if (sz > MAX_REDUCTION_SIZE) {
return COUCHSTORE_ERROR_REDUCTION_TOO_LARGE;
}
b = buffer;
enc_raw40(reduction->kv_count, &b);
memcpy(b, &reduction->partitions_bitmap, BITMASK_BYTE_SIZE);
*buffer_size = sz;
return COUCHSTORE_SUCCESS;
}
void free_view_id_btree_reduction(view_id_btree_reduction_t *reduction)
{
if (reduction == NULL) {
return;
}
cb_free(reduction);
}
static void enc_uint16(uint16_t u, char **buf)
{
raw_16 r = encode_raw16(u);
memcpy(*buf, &r, 2);
*buf += 2;
}
static void enc_raw40(uint64_t u, char **buf)
{
raw_40 r;
encode_raw40(u, &r);
memcpy(*buf, &r, 5);
*buf += 5;
}
| 22.8 | 93 | 0.571053 | sduvuru |
a7204d47b019ed806524a1370d518928f855183e | 2,592 | cc | C++ | src/compressed-sensing/model/transform-matrix.cc | HerrFroehlich/ns3-CompressedSensing | f5e4e56aeea97794695ecef6183bdaa1b72fd1de | [
"MIT"
] | null | null | null | src/compressed-sensing/model/transform-matrix.cc | HerrFroehlich/ns3-CompressedSensing | f5e4e56aeea97794695ecef6183bdaa1b72fd1de | [
"MIT"
] | null | null | null | src/compressed-sensing/model/transform-matrix.cc | HerrFroehlich/ns3-CompressedSensing | f5e4e56aeea97794695ecef6183bdaa1b72fd1de | [
"MIT"
] | null | null | null | /**
* \file transform-matrix.cc
*
* \author Tobias Waurick
* \date 23.06.17
*
*/
#include "transform-matrix.h"
#include "ns3/template-registration.h"
/*-------- TransMatrix --------*/
TransMatrix::TransMatrix() : TOperator<double>()
{
}
TransMatrix::TransMatrix(uint32_t n) : TOperator<double>(n)
{
}
void TransMatrix::SetSize(uint32_t n)
{
TOperator<double>::resize(n);
}
uint32_t TransMatrix::GetSize() const
{
return TOperator<double>::n();
}
NS_OBJECT_ENSURE_REGISTERED(TransMatrix);
/*-------- FourierTransMatrix --------*/
FourierTransMatrix::FourierTransMatrix() : TransMatrix(0), TInverseFourier1DOperator<double>(0)//, m_inverse(0)
{
}
FourierTransMatrix::FourierTransMatrix(uint32_t n) : TransMatrix(n), TInverseFourier1DOperator<double>(n)//, m_inverse(n)
{
SetSize(n);
}
void FourierTransMatrix::SetSize(uint32_t n)
{
if (n != TransMatrix::GetSize())
{
TransMatrix::SetSize(n);
TInverseFourier1DOperator<double>::resize(n);
//m_inverse.resize(n);
}
}
FourierTransMatrix*FourierTransMatrix::Clone() const
{
return new FourierTransMatrix(*this);
}
//
// FourierTransMatrix::ApplyInverse(const arma::Col<double> &in, arma::Col<double> &out)
// {
// return m_inverse.apply(in, out);
// }
void FourierTransMatrix::apply(const arma::Col<double> &in, arma::Col<double> &out)
{
TInverseFourier1DOperator<double>::apply(in, out);
}
void FourierTransMatrix::applyAdjoint(const arma::Col<double> &in, arma::Col<double> &out)
{
TInverseFourier1DOperator<double>::applyAdjoint(in, out);
}
NS_OBJECT_ENSURE_REGISTERED(FourierTransMatrix);
/*-------- DcTransMatrix --------*/
DcTransMatrix::DcTransMatrix() : TransMatrix(0), TInverseDCT1DOperator<double>(0)//, m_inverse(0)
{
}
DcTransMatrix::DcTransMatrix(uint32_t n) : TransMatrix(n), TInverseDCT1DOperator<double>(n)//, m_inverse(n)
{
TransMatrix::SetSize(n);
}
void DcTransMatrix::SetSize(uint32_t n)
{
if (n != TransMatrix::GetSize())
{
TransMatrix::SetSize(n);
TInverseDCT1DOperator<double>::resize(n);
// m_inverse.resize(n);
}
}
DcTransMatrix *DcTransMatrix::Clone() const
{
return new DcTransMatrix(*this);
}
//
// DcTransMatrix::ApplyInverse(const arma::Col<double> &in, arma::Col<double> &out)
// {
// return m_inverse.apply(in, out);
// }
void DcTransMatrix::apply(const arma::Col<double> &in, arma::Col<double> &out)
{
TInverseDCT1DOperator<double>::apply(in, out);
}
void DcTransMatrix::applyAdjoint(const arma::Col<double> &in, arma::Col<double> &out)
{
TInverseDCT1DOperator<double>::applyAdjoint(in, out);
}
NS_OBJECT_ENSURE_REGISTERED(DcTransMatrix);
| 19.2 | 121 | 0.707176 | HerrFroehlich |
a720b330f3413d7caf56ef15e17ab17f73fa9545 | 51,288 | cpp | C++ | ms3d/ms3d.cpp | dream-overflow/o3dsamples | 623403c9e62711eea4fe46ead2c1b446c13b7239 | [
"FSFAP"
] | null | null | null | ms3d/ms3d.cpp | dream-overflow/o3dsamples | 623403c9e62711eea4fe46ead2c1b446c13b7239 | [
"FSFAP"
] | null | null | null | ms3d/ms3d.cpp | dream-overflow/o3dsamples | 623403c9e62711eea4fe46ead2c1b446c13b7239 | [
"FSFAP"
] | null | null | null | /**
* @file ms3d.cpp
* @brief
* @author Frederic SCHERMA (frederic.scherma@dreamoverflow.org)
* @date 2004-01-01
* @copyright Copyright (c) 2001-2017 Dream Overflow. All rights reserved.
* @details
*/
#include <o3d/core/memorymanager.h>
#include <o3d/core/keyboard.h>
#include <o3d/core/appwindow.h>
#include <o3d/core/main.h>
#include <o3d/core/display.h>
#include <o3d/core/dir.h>
#include <o3d/core/file.h>
#include <o3d/engine/utils/framemanager.h>
#include <o3d/engine/utils/ms3d.h>
#include <o3d/engine/context.h>
#include <o3d/engine/picking.h>
#include <o3d/engine/hierarchy/node.h>
#include <o3d/engine/hierarchy/hierarchytree.h>
#include <o3d/engine/feedbackviewport.h>
#include <o3d/engine/screenviewport.h>
#include <o3d/engine/viewportmanager.h>
#include <o3d/engine/scene/scene.h>
#include <o3d/engine/deferred/deferreddrawer.h>
#include <o3d/engine/object/skin.h>
#include <o3d/engine/object/meshdatamanager.h>
#include <o3d/engine/texture/texturemanager.h>
#include <o3d/engine/material/lambertmaterial.h>
#include <o3d/engine/material/ambientmaterial.h>
#include <o3d/engine/material/pickingmaterial.h>
#include <o3d/engine/scene/sceneobjectmanager.h>
#include <o3d/engine/animation/animationplayermanager.h>
#include <o3d/engine/animation/animationmanager.h>
#include <o3d/engine/effect/specialeffectsmanager.h>
#include <o3d/engine/effect/skybox.h>
#include <o3d/engine/effect/lenseffect.h>
#include <o3d/engine/primitive/sphere.h>
#include <o3d/engine/primitive/surface.h>
#include <o3d/engine/object/ftransform.h>
#include <o3d/engine/object/mtransform.h>
#include <o3d/engine/object/camera.h>
#include <o3d/engine/object/light.h>
#include <o3d/engine/lodstrategy.h>
#include <o3d/engine/renderer.h>
#include <o3d/core/localfile.h>
#include <o3d/core/wintools.h>
#include <o3d/gui/thememanager.h>
#include <o3d/gui/widgetmanager.h>
#include <o3d/gui/gui.h>
#include <o3d/physic/rigidbody.h>
#include <o3d/physic/gravityforce.h>
#include <o3d/physic/forcemanager.h>
#include <o3d/physic/physicentitymanager.h>
#define LIGHT1
#define LIGHT2
#define LIGHT3
#define LIGHT4
#define SYMBOLIC
using namespace o3d;
class KeyMapping
{
public:
enum Keys
{
LEFT = 0,
RIGHT,
UP,
DOWN = 3,
FORWARD,
BACKWARD
};
inline VKey left() const { return m_keys[LEFT]; }
inline VKey right() const { return m_keys[RIGHT]; }
inline VKey up() const { return m_keys[UP]; }
inline VKey down() const { return m_keys[DOWN]; }
inline VKey forward() const { return m_keys[FORWARD]; }
inline VKey backward() const { return m_keys[BACKWARD]; }
inline VKey key(UInt32 c) { return m_keys[c]; }
inline UInt32 type() { return m_type; }
protected:
UInt32 m_type;
VKey m_keys[255];
};
struct KeyMapAzerty : public KeyMapping
{
public:
KeyMapAzerty()
{
m_type = 0;
m_keys[LEFT] = KEY_S;
m_keys[RIGHT] = KEY_F;
m_keys[UP] = KEY_A;
m_keys[DOWN] = KEY_Q;
m_keys[FORWARD] = KEY_E;
m_keys[BACKWARD] = KEY_D;
}
};
struct KeyMapQwerty : public KeyMapping
{
public:
KeyMapQwerty()
{
m_type = 1;
m_keys[LEFT] = KEY_S;
m_keys[RIGHT] = KEY_F;
m_keys[UP] = KEY_Q;
m_keys[DOWN] = KEY_W;
m_keys[FORWARD] = KEY_E;
m_keys[BACKWARD] = KEY_D;
}
};
struct KeyMapBepo : public KeyMapping
{
public:
KeyMapBepo()
{
m_type = 2;
m_keys[LEFT] = KEY_U;
m_keys[RIGHT] = KEY_E;
m_keys[UP] = KEY_B;
m_keys[DOWN] = KEY_A;
m_keys[FORWARD] = KEY_P;
m_keys[BACKWARD] = KEY_I;
}
};
/**
* @brief The Ms3dSample class.
* @date 2004-01-01
* @author Frederic SCHERMA (frederic.scherma@dreamoverflow.org)
*/
class Ms3dSample : public EvtHandler
{
private:
AppWindow *m_appWindow;
Renderer* m_glRenderer;
Scene *m_scene;
Gui *m_gui;
AutoPtr<KeyMapping> m_keys;
public:
Ms3dSample(Dir &basePath)
{
m_keys = new KeyMapAzerty;
// Create a new window
m_appWindow = new AppWindow;
// OpenGL renderer
m_glRenderer = new Renderer;
m_appWindow->setTitle("Objective-3D Ms3d sample");
#ifdef O3D_ANDROID
m_appWindow->create(800, 600, AppWindow::COLOR_RGBA8, AppWindow::DEPTH_24_STENCIL_8, AppWindow::NO_MSAA, False, True);
#else
m_appWindow->create(800, 600, AppWindow::COLOR_RGBA8, AppWindow::DEPTH_24_STENCIL_8, AppWindow::MSAA4X, False, True);
#endif
// @todo init debug mode crash on Windows
m_glRenderer->create(m_appWindow, True);
m_glRenderer->setDebug();
// m_glRenderer->setVSyncMode(Renderer::VSYNC_YES);
// create a scene and attach it to the window
m_scene = new Scene(nullptr, basePath.getFullPathName(), m_glRenderer);
m_scene->setSceneName("ms3d");
m_scene->defaultAttachment(m_appWindow);
// new gui manager and attach it to the scene
m_gui = new Gui(m_scene);
m_scene->setGui(m_gui);
m_gui->defaultAttachment(m_appWindow);
//getWindow()->grabMouse();
//getWindow()->grabKeyboard();
getWindow()->setMinSize(Vector2i(320, 240));
//getWindow()->resize(1680, 1050);
//getWindow()->setFullScreen(True);
//getWindow()->setFullScreen(False);
// We listen synchronously to each update event coming from the main window.
// The first parameter is an helper macro that take :
// - Object class name to listen
// - Instance of the object to listen
// - Name of the signal to listen
// - Instance of the receiver (in our case this)
// - Method called on an event
m_appWindow->onUpdate.connect(this, &Ms3dSample::onSceneUpdate);
m_appWindow->onDraw.connect(this, &Ms3dSample::onSceneDraw);
m_appWindow->onClose.connect(this, &Ms3dSample::onClose);
m_appWindow->onKey.connect(this, &Ms3dSample::onKey);
m_appWindow->onMouseMotion.connect(this, &Ms3dSample::onMouseMotion);
m_appWindow->onMouseButton.connect(this, &Ms3dSample::onMouseButton);
m_appWindow->onTouchScreenMotion.connect(this, &Ms3dSample::onTouchScreenMotion);
m_appWindow->onTouchScreenChange.connect(this, &Ms3dSample::onTouchScreenChange);
m_appWindow->onDestroy.connect(this, &Ms3dSample::onDestroy);
// Notice that update and draw event of the window are thrown by two timers.
// And that it is possible to change easily these timings.
File iconFile(basePath.makeFullFileName("icon.bmp"));
if (iconFile.exists()) {
getWindow()->setIcon(iconFile.getFullFileName());
}
getScene()->setGlobalAmbient(Color(0.8f, 0.8f, 0.8f, 1.0f));
// Create a camera into the scene. You notice that we always need a parent
// to build an object. We simply set directly the scene as its parent.
// We can too add our camera into the getSceneObjectManager() of the scene,
// but it is useless in this example.
Camera *lpCamera = new Camera(getScene());
// A viewport is a part of the screen. Each viewport might be attached to a camera.
// We can overload the drawing callback, and define a displaying priority.
// Because the viewport manager provide the method to create and add a viewport
// we don't need to set its parent. In this case its parent is the viewport manager.
ScreenViewPort *pViewPort = getScene()->getViewPortManager()->addScreenViewPort(
lpCamera,
nullptr,
0);
Texture2D *lpTexture = new Texture2D(getScene());
lpTexture->create(False, 800, 600, PF_RGBA_8);
FeedbackViewPort *pFbViewPort = getScene()->getViewPortManager()->addFeedbackViewPort(
lpCamera,
new DeferredDrawer(getScene()),
lpTexture,
0);
// default to deferred or forward
pFbViewPort->disable();
// pViewPort->disable();
GBuffer *gbuffer = new GBuffer(pFbViewPort);
gbuffer->create(800, 600, 1);
((DeferredDrawer*)(pFbViewPort)->getSceneDrawer())->setGBuffer(gbuffer);
// Set a unique name to our camera. It should be unique to retrieve it by its name
// into the hierarchy tree or using the scene object manager.
lpCamera->setName("Camera");
// Define Z clipping plane
lpCamera->setZnear(0.25f);
lpCamera->setZfar(10000.0f);
// Compute the projection matrix of the camera as a perspective projection.
lpCamera->computePerspective();
// We don't want to see it
lpCamera->disableVisibility();
// Create a new node to contain our new camera
Node *cameraNode = getScene()->getHierarchyTree()->addNode(lpCamera);
// We also need a first view person transformation on this node
FTransform *ltransfrom = new FTransform;
cameraNode->addTransform(ltransfrom);
// Initial position at (5,50,120) {x,y,z} with Y+ up screen and Z+ comes to you
ltransfrom->translate(Vector3(0.0f, 50.f, 120.0f));
// Change the clear color
getScene()->getContext()->setBackgroundColor(0.633f, 0.792f, 0.914f, 0.0f);
// Set this parameter to True if you want to visualize the bones
getScene()->setDrawObject(Scene::DRAW_BONES, True);
// Set the parameter to True if you want to visualize the bounding volumes
getScene()->setDrawObject(Scene::DRAW_BOUNDING_VOLUME, True);
// Set the parameter to False if you want to disable the rendering step of any skinned meshes
getScene()->setDrawObject(Scene::DRAW_SKIN, True);
#ifndef SYMBOLIC
getScene()->hideAllSymbolicObject();
#endif
//
// light 1
//
#ifdef LIGHT1
// create a spot light
Light *light1 = new Light(getScene(), Light::SPOT_LIGHT);
light1->setName("light1");
light1->setAmbient(0.0f ,0.0f, 0.0f, 1.f);
//light1->setAmbient(0.2f, 0.2f, 0.2f, 1.f);
light1->setDiffuse(0.0f, 1.0f, 0.0f, 1.f);
light1->setSpecular(0.4f, 0.4f, 0.4f, 1.f);
light1->setAttenuation(1.f, 0.0f, 0.0002f);
light1->setExponent(0.3f);
light1->setCutOff(15.f);
// Create a new node to contain our new light
Node *lightNode1 = getScene()->getHierarchyTree()->addNode(light1);
// We also need a first view person transformation on this node
MTransform *lightTransform1 = new MTransform;
lightNode1->addTransform(lightTransform1);
// Initial position at (50,50,50) {x,y,z} with Y+ up screen and Z+ comes to you
lightTransform1->setPosition(Vector3(50.0f, 50.0f, 50.0f));
lightTransform1->setDirectionZ(Vector3(-1.0f, -1.0f, -1.f));
#endif
//
// light 2
//
#ifdef LIGHT2
// create a second spot light
Light *light2 = new Light(getScene(), Light::SPOT_LIGHT);
light2->setName("light2");
light2->setAmbient(0.0f, 0.0f, 0.0f, 1.f);
//light2->setAmbient(0.2f, 0.2f, 0.2f, 1.f);
light2->setDiffuse(1.0f, 0.0f, 0.0f, 1.f);
light2->setSpecular(0.4f, 0.4f, 0.4f, 1.f);
light2->setAttenuation(1.f, 0.0f, 0.0002f);
light2->setExponent(0.3f);
light2->setCutOff(15.f);
// Create a new node to contain our new light
Node *lightNode2 = getScene()->getHierarchyTree()->addNode(light2);
// We also need a first view person transformation on this node
MTransform *lightTransform2 = new MTransform;
lightNode2->addTransform(lightTransform2);
// Initial position at (50,50,50) {x,y,z} with Y+ up screen and Z+ comes to you
lightTransform2->setPosition(Vector3(-50.0f, 50.f, 50.0f));
lightTransform2->setDirectionZ(Vector3(1.0f, -1.0f, -1.f));
#endif
//
// light 3
//
#ifdef LIGHT3
// create a third point light
Light *light3 = new Light(getScene(), Light::POINT_LIGHT);
light3->setName("light3");
light3->setAmbient(0.0f, 0.0f, 0.0f, 1.f);
light3->setDiffuse(0.2f ,0.2f, 1.0f, 1.f);
light3->setSpecular(0.4f ,0.4f, 0.4f, 1.f);
light3->setAttenuation(1.f, 0.0001f, 0.00005f);
// Create a new node to contain our new light
Node *lightNode3 = getScene()->getHierarchyTree()->addNode(light3);
// We also need a first view person transformation on this node
MTransform *lightTransform3 = new MTransform;
lightNode3->addTransform(lightTransform3);
// Initial position at (50,50,50) {x,y,z} with Y+ up screen and Z+ comes to you
lightTransform3->setPosition(Vector3(0.0f, 200.f, 0.0f));
//lightTransform3->setDirectionZ(Vector3(0.0f, -1.0f, 0.f));
#endif
//
// light 4
//
#ifdef LIGHT4
// create a directionnal light
Light *light4 = new Light(getScene(), Light::DIRECTIONAL_LIGHT);
light4->setName("light4");
light4->setAmbient(0.0f ,0.0f, 0.0f, 1.f);
light4->setDiffuse(0.1f, 0.1f, 0.1f, 1.f);
light4->setSpecular(0.5f, 0.5f, 0.5f, 1.f);
// Create a new node to contain our new light
Node *lightNode4 = getScene()->getHierarchyTree()->addNode(light4);
// We also need a first view person transformation on this node
MTransform *lightTransform4 = new MTransform;
lightNode4->addTransform(lightTransform4);
// Y- down screen and Z+ comes to you
lightTransform4->setDirectionZ(Vector3(0, -1.0f, 0.0f));
#endif
//
// plane ground
//
// Add a simple plane for simulate a ground to project shadow on
Surface surface(1000, 1000, 4, 4, Surface::FILLED_MODE | Surface::ALTERNATE_TRIANGLE);
Mesh *meshSurface = new Mesh(getScene());
meshSurface->setName("plane");
MeshData *meshData = new MeshData(getScene());
GeometryData *surfaceGeometry = new GeometryData(meshData, surface);
surfaceGeometry->genNormals();
//surfaceGeometry->genTangentSpace();
meshData->setGeometry(surfaceGeometry);
meshData->computeBounding(GeometryData::BOUNDING_BOX);
meshData->createGeometry();
meshSurface->setMeshData(meshData);
meshSurface->setNumMaterialProfiles(1);
meshSurface->getMaterialProfile(0).setNumTechniques(1);
meshSurface->getMaterialProfile(0).getTechnique(0).setNumPass(1);
meshSurface->getMaterialProfile(0).getTechnique(0).getPass(0).setMaterial(Material::AMBIENT, new AmbientMaterial(getScene()));
meshSurface->getMaterialProfile(0).getTechnique(0).getPass(0).setMaterial(Material::LIGHTING, new LambertMaterial(getScene()));
meshSurface->getMaterialProfile(0).getTechnique(0).getPass(0).setMaterial(Material::PICKING, new PickingMaterial(getScene()));
meshSurface->getMaterialProfile(0).getTechnique(0).getPass(0).setMaterial(Material::DEFERRED, new LambertMaterial(getScene()));
meshSurface->getMaterialProfile(0).getTechnique(0).getPass(0).setAmbient(Color(0.0f, 0.0f, 0.0f, 1.f));
meshSurface->getMaterialProfile(0).getTechnique(0).getPass(0).setDiffuse(Color(1.0f, 1.0f, 1.0f, 1.f));
meshSurface->getMaterialProfile(0).getTechnique(0).getPass(0).setSpecular(Color(0.0f, 0.0f, 0.0f, 1.f));
meshSurface->getMaterialProfile(0).getTechnique(0).getPass(0).setShine(1.f);
meshSurface->initMaterialProfiles();
Node *surfaceNode = getScene()->getHierarchyTree()->addNode(meshSurface);
// a bit of physic to the plane to compute collisions
RigidBody *surfaceRigidBody = new RigidBody(surfaceNode);
getScene()->getPhysicEntityManager()->addElement(surfaceRigidBody);
//
// cube or sphere object
//
// Add a simple box or a sphere
// Cube cube(50, 1);
// Cylinder cube(25, 25, 50, 16, 2);
Sphere cube(25, 16, 16);
Mesh *meshCube = new Mesh(getScene());
meshCube->setName("shadowCaster");
meshData = new MeshData(getScene());
GeometryData *cubeGeometry = new GeometryData(meshData, cube);
cubeGeometry->genNormals();
//cubeGeometry->genTangentSpace();
meshData->setGeometry(cubeGeometry);
meshData->computeBounding(GeometryData::BOUNDING_SPHERE);
meshData->createGeometry();
meshCube->setMeshData(meshData);
std::vector<Float> lodLevels;
lodLevels.push_back(0.f);
lodLevels.push_back(100.f);
meshCube->setNumMaterialProfiles(1);
meshCube->getMaterialProfile(0).setLodStrategy(new LodStrategy());
meshCube->getMaterialProfile(0).setLodLevels(lodLevels);
meshCube->getMaterialProfile(0).setNumTechniques(2);
meshCube->getMaterialProfile(0).getTechnique(0).setNumPass(1);
meshCube->getMaterialProfile(0).getTechnique(0).setLodIndex(0);
meshCube->getMaterialProfile(0).getTechnique(0).getPass(0).setMaterial(Material::AMBIENT, new AmbientMaterial(getScene()));
meshCube->getMaterialProfile(0).getTechnique(0).getPass(0).setMaterial(Material::LIGHTING, new LambertMaterial(getScene()));
meshCube->getMaterialProfile(0).getTechnique(0).getPass(0).setMaterial(Material::PICKING, new PickingMaterial(getScene()));
meshCube->getMaterialProfile(0).getTechnique(0).getPass(0).setMaterial(Material::DEFERRED, new LambertMaterial(getScene()));
meshCube->getMaterialProfile(0).getTechnique(0).getPass(0).setAmbient(Color(0.3f, 0.3f, 0.3f, 1.f));
meshCube->getMaterialProfile(0).getTechnique(0).getPass(0).setDiffuse(Color(1.0f, 1.0f, 1.0f, 1.f));
meshCube->getMaterialProfile(0).getTechnique(0).getPass(0).setSpecular(Color(0.5f, 0.5f, 0.5f, 1.f));
meshCube->getMaterialProfile(0).getTechnique(0).getPass(0).setShine(1000.f);
meshCube->getMaterialProfile(0).getTechnique(1).setNumPass(1);
meshCube->getMaterialProfile(0).getTechnique(1).setLodIndex(1);
meshCube->getMaterialProfile(0).getTechnique(1).getPass(0).setMaterial(Material::AMBIENT, new AmbientMaterial(getScene()));
meshCube->getMaterialProfile(0).getTechnique(1).getPass(0).setMaterial(Material::LIGHTING, new LambertMaterial(getScene()));
meshCube->getMaterialProfile(0).getTechnique(1).getPass(0).setMaterial(Material::PICKING, new PickingMaterial(getScene()));
meshCube->getMaterialProfile(0).getTechnique(1).getPass(0).setMaterial(Material::DEFERRED, new LambertMaterial(getScene()));
meshCube->getMaterialProfile(0).getTechnique(1).getPass(0).setAmbient(Color(0.3f, 0.3f, 0.3f, 1.f));
meshCube->getMaterialProfile(0).getTechnique(1).getPass(0).setDiffuse(Color(1.0f, 0.0f, 0.0f, 1.f));
meshCube->getMaterialProfile(0).getTechnique(1).getPass(0).setSpecular(Color(0.5f, 0.5f, 0.5f, 1.f));
meshCube->getMaterialProfile(0).getTechnique(1).getPass(0).setShine(1000.f);
meshCube->initMaterialProfiles();
meshCube->enableShadowCast();
Node *cubeNode = getScene()->getHierarchyTree()->addNode(meshCube);
cubeNode->addTransform(new MTransform());
cubeNode->getTransform()->setPosition(Vector3(0.f, 135.f, 0.f));
cubeNode->getTransform()->rotate(Y,3.14f/4);
// Import an MS3D animated mesh
//getScene()->importScene(basePath.makeFullFileName("models/Sample ms3d.o3dsc"), nullptr);
// Use the next line to enable asynchronous texture loading
//getScene()->getTextureManager()->enableAsynchronous();
//
// import the dwarf1.ms3d
//
Ms3dSettings settings;
Ms3dResult result;
settings.setResultContainer(&result);
settings.setBoundingVolumeGen(GeometryData::BOUNDING_FAST);
Ms3d::import(getScene(), basePath.makeFullFileName("models/dwarf1.ms3d"), settings);
// We change the duration of the animation to 22 seconds
result.getAnimation()->setDuration(22.f);
// And set the frame rate to 30f/s
result.getAnimationPlayer()->setFramePerSec(30);
result.getAnimation()->addAnimRange("walk", 2, 14);
result.getAnimation()->addAnimRange("run", 16, 26);
result.getAnimation()->addAnimRange("jump", 28, 40);
result.getAnimation()->addAnimRange("jumpSpot", 42, 54);
result.getAnimation()->addAnimRange("crouchDown", 56, 59);
result.getAnimation()->addAnimRange("stayCrouchedLoop", 60, 69);
result.getAnimation()->addAnimRange("getUp", 70, 74);
result.getAnimation()->addAnimRange("battleIdle1", 75, 88);
result.getAnimation()->addAnimRange("battleIdle2", 90, 110);
result.getAnimation()->addAnimRange("attack1SwipeAxe", 112, 126, 126); // this animation cannot be broken before the end
result.getAnimation()->addAnimRange("attack2Jump", 128, 142);
result.getAnimation()->addAnimRange("attack3Spin360", 144, 160);
result.getAnimation()->addAnimRange("attack4Swipes", 162, 180);
result.getAnimation()->addAnimRange("attack5Stab", 182, 192);
result.getAnimation()->addAnimRange("block", 194, 210);
result.getAnimation()->addAnimRange("die1Forwards", 212, 227);
result.getAnimation()->addAnimRange("die2Backwards", 230, 251);
result.getAnimation()->addAnimRange("nodYes", 253, 272);
result.getAnimation()->addAnimRange("shakeHeadNo", 274, 290);
result.getAnimation()->addAnimRange("idle1", 292, 325);
result.getAnimation()->addAnimRange("idle2", 327, 360);
// finally we need to setup animation range for the tracks
result.getAnimation()->computeAnimRange();
// and start with player the idle1 animation in loop.
result.getAnimationPlayer()->playAnimRange("idle1");
Rigging *rigging = o3d::dynamicCast<Rigging*>(result.getMesh());
if (rigging) {
//rigging->setCPUMode();
rigging->enablePicking();
// rigging->enableShadowCast();
}
// a bit of physic to the dwarf
RigidBody *dwarfRigidBody = new RigidBody(result.getRootNode());
getScene()->getPhysicEntityManager()->addElement(dwarfRigidBody);
dwarfRigidBody->setUpMassSphere(1.0f, 5.f);
GravityForce *gravityForce = new GravityForce(getScene(), Vector3(0.f, -981.f, 0.f));
//getScene()->getPhysicEntityManager()->getForceManager().addElement(gravityForce);
ForceManager *dwarfForceManager = new ForceManager(dwarfRigidBody);
dwarfRigidBody->setForceManager(dwarfForceManager);
dwarfRigidBody->getForceManager()->addElement(gravityForce);
// define the specular for each material
UInt32 numProfiles = result.getMesh()->getNumMaterialProfiles();
for (UInt32 i = 0; i < numProfiles; ++i) {
result.getMesh()->getMaterialProfile(i).setSpecular(Color(0.8f, 0.8f, 0.8f, 1.f));
result.getMesh()->getMaterialProfile(i).setShine(100.f);
}
// animation control set to the dwarf
setAnimationPlayer(result.getAnimationPlayer());
//
// import the monster.ms3d
//
Ms3d::import(getScene(), basePath.makeFullFileName("models/monster.ms3d"), settings);
result.getAnimation()->addAnimRange("walk", 0, 120, 30);
result.getAnimation()->addAnimRange("run", 150, 210, 190);
result.getAnimation()->addAnimRange("attack01", 250, 333);
result.getAnimation()->addAnimRange("attack02", 320, 400);
result.getAnimation()->addAnimRange("death01", 390, 418);
result.getAnimation()->addAnimRange("growl", 478, 500);
result.getAnimation()->addAnimRange("death02", 500, 550);
result.getAnimation()->addAnimRange("death03", 565, 650);
result.getAnimation()->computeAnimRange();
result.getAnimationPlayer()->playAnimRange("attack02");
// And set the frame rate to 30f/s
result.getAnimationPlayer()->setFramePerSec(30);
rigging = dynamicCast<Rigging*>(result.getMesh());
if (rigging) {
rigging->enablePicking();
MTransform *mtransform = new MTransform(rigging->getNode());
rigging->getNode()->addTransform(mtransform);
mtransform->translate(Vector3(60.f, 0, 45));
}
// define the specular for each material
UInt32 numMaterials = result.getMesh()->getNumMaterialProfiles();
for (UInt32 i = 0; i < numMaterials; ++i) {
MaterialProfile &material = result.getMesh()->getMaterialProfile(i);
//material.setAmbient(Color(0.5f, 0.5f, 0.5f, 1.f));
material.setDiffuse(Color(0.8f, 0.8f, 0.8f, 1.f));
material.setSpecular(Color(0.8f, 0.8f, 0.8f, 1.f));
material.setShine(100.f);
}
// setAnimationPlayer(result->getAnimationPlayer());
// Enable the color picking mode.
getScene()->getPicking()->setMode(Picking::COLOR);
// This camera is used to compute some unprojection (useful for GetPointerPos or GetHitPos).
getScene()->getPicking()->setCamera(lpCamera);
// We need a mouse look to pick on the screen, so simply load a GUI theme
Theme *theme = getGui()->getThemeManager()->addTheme(basePath.makeFullFileName("gui/revolutioning.xml"));
// and set it as the default theme to use
getGui()->getWidgetManager()->setDefaultTheme(theme);
//
// finally, why not to add a simple skybox ?
//
SkyBox *skyBox = new SkyBox(getScene());
skyBox->setName("skyBox");
skyBox->create(
2048.f,
"sky01_xp.jpg",
"sky01_xn.jpg",
"sky01_yp.jpg",
"", // no Y down
"sky01_zp.jpg",
"sky01_zn.jpg",
True,
Texture::TRILINEAR_ANISOTROPIC,
4.f);
getScene()->getSpecialEffectsManager()->addSpecialEffects(skyBox);
//
// and a marvelous lens flare ?
//
LensFlareModel lensFlareModel;
lensFlareModel.setSizeX(10.0f);
lensFlareModel.setSizeY(10.0f);
lensFlareModel.setMaxDistance(100.0f);
lensFlareModel.setMinDistance(0.0f);
lensFlareModel.setMaxFadeRange(30.0f);
lensFlareModel.setMinFadeRange(10.0f);
lensFlareModel.setFadeInPersistence(0.1f);
lensFlareModel.setFadeOutPersistence(0.2f);
lensFlareModel.setSimpleOcclusion(False);
// flare0
lensFlareModel.addFlare(getScene()->getTextureManager()->addTexture2D("Flare5.bmp", True),0,0,0);
lensFlareModel.getFlare(0)->color.set(0.8f, 0.6f, 0.2f, 0.6f);
lensFlareModel.getFlare(0)->halfSizeX = 7.0f;
lensFlareModel.getFlare(0)->halfSizeY = 7.0f;
lensFlareModel.getFlare(0)->position = 0.7f;
lensFlareModel.getFlare(0)->attenuationRange = 1.0f;
// flare1
lensFlareModel.addFlare(getScene()->getTextureManager()->addTexture2D("Flare1.bmp", True),0,0,0);
lensFlareModel.getFlare(1)->color.set(0.2f, 0.6f, 1.0f, 1.0f);
lensFlareModel.getFlare(1)->halfSizeX = 5.0f;
lensFlareModel.getFlare(1)->halfSizeY = 5.0f;
lensFlareModel.getFlare(1)->position = 0.5f;
lensFlareModel.getFlare(1)->attenuationRange = 1.0f;
// flare2
lensFlareModel.addFlare(getScene()->getTextureManager()->addTexture2D("Flare6.bmp", True),0,0,0);
lensFlareModel.getFlare(2)->color.set(0.5f, 0.8f, 0.2f, 0.9f);
lensFlareModel.getFlare(2)->halfSizeX = 10.0f;
lensFlareModel.getFlare(2)->halfSizeY = 10.0f;
lensFlareModel.getFlare(2)->position = 0.4f;
// flare3
lensFlareModel.addFlare(getScene()->getTextureManager()->addTexture2D("Flare2.bmp", True),0,0,0);
lensFlareModel.getFlare(3)->color.set(0.9f, 0.4f, 0.1f, 1.0f);
lensFlareModel.getFlare(3)->halfSizeX = 5.0f;
lensFlareModel.getFlare(3)->halfSizeY = 5.0f;
lensFlareModel.getFlare(3)->position = 0.25f;
lensFlareModel.getFlare(3)->attenuationRange = 1.0f;
// flare4
lensFlareModel.addFlare(getScene()->getTextureManager()->addTexture2D("Flare2.bmp", True),0,0,0);
lensFlareModel.getFlare(4)->color.set(1.0f, 1.0f, 0.1f, 1.0f);
lensFlareModel.getFlare(4)->halfSizeX = 5.0f;
lensFlareModel.getFlare(4)->halfSizeY = 5.0f;
lensFlareModel.getFlare(4)->position = 0.12f;
lensFlareModel.getFlare(4)->attenuationRange = 1.0f;
// flare5
lensFlareModel.addFlare(getScene()->getTextureManager()->addTexture2D("Flare2.bmp", True),0,0,0);
lensFlareModel.getFlare(5)->color.set(1.0f, 0.7f, 0.1f, 1.0f);
lensFlareModel.getFlare(5)->halfSizeX = 4.0f;
lensFlareModel.getFlare(5)->halfSizeY = 4.0f;
lensFlareModel.getFlare(5)->position = 0.05f;
lensFlareModel.getFlare(5)->attenuationRange = 1.0f;
// flare6
lensFlareModel.addFlare(getScene()->getTextureManager()->addTexture2D("Flare4.bmp", True),0,0,0);
lensFlareModel.getFlare(6)->color.set(1.0f, 0.5f, 0.1f, 0.4f);
lensFlareModel.getFlare(6)->halfSizeX = 7.5f;
lensFlareModel.getFlare(6)->halfSizeY = 7.5f;
lensFlareModel.getFlare(6)->position = -0.2f;
lensFlareModel.getFlare(6)->attenuationRange = 1.0f;
// flare7
lensFlareModel.addFlare(getScene()->getTextureManager()->addTexture2D("Flare2.bmp", True),0,0,0);
lensFlareModel.getFlare(7)->color.set(0.0f, 0.5f, 1.0f, 1.0f);
lensFlareModel.getFlare(7)->halfSizeX = 4.5f;
lensFlareModel.getFlare(7)->halfSizeY = 4.5f;
lensFlareModel.getFlare(7)->position = -0.4f;
lensFlareModel.getFlare(7)->attenuationRange = 1.0f;
// flare8
lensFlareModel.addFlare(getScene()->getTextureManager()->addTexture2D("Flare5.bmp", True),0,0,0);
lensFlareModel.getFlare(8)->color.set(1.0f, 1.0f, 0.0f, 1.0f);
lensFlareModel.getFlare(8)->halfSizeX = 3.0f;
lensFlareModel.getFlare(8)->halfSizeY = 3.0f;
lensFlareModel.getFlare(8)->position = -0.58f;
lensFlareModel.getFlare(8)->attenuationRange = 1.0f;
// flare9
lensFlareModel.addFlare(getScene()->getTextureManager()->addTexture2D("Flare2.bmp", True),0,0,0);
lensFlareModel.getFlare(9)->color.set(1.0f, 0.5f, 0.5f, 1.0f);
lensFlareModel.getFlare(9)->halfSizeX = 7.5f;
lensFlareModel.getFlare(9)->halfSizeY = 7.5f;
lensFlareModel.getFlare(9)->position = -0.9f;
lensFlareModel.getFlare(9)->attenuationRange = 1.0f;
// glow0
lensFlareModel.addGlow(getScene()->getTextureManager()->addTexture2D("Flare1.bmp", True),0,0,0);
lensFlareModel.getGlow(0)->color.set(0.9f,0.9f,0.32f,1.0f);
lensFlareModel.getGlow(0)->halfSizeX = 35.0f;
lensFlareModel.getGlow(0)->halfSizeY = 35.0f;
lensFlareModel.getGlow(0)->attenuationRange = 1.0f;
lensFlareModel.getGlow(0)->minIntensity = 0.5f;
lensFlareModel.getGlow(0)->isBehindEffect = True;
// glow1
lensFlareModel.addGlow(getScene()->getTextureManager()->addTexture2D("Flare1.bmp", True),0,0,0);
lensFlareModel.getGlow(1)->color.set(0.85f,0.85f,0.3f,0.5f);
lensFlareModel.getGlow(1)->halfSizeX = 40.0f;
lensFlareModel.getGlow(1)->halfSizeY = 40.0f;
lensFlareModel.getGlow(1)->attenuationRange = 1.0f;
lensFlareModel.getGlow(1)->isBehindEffect = False;
// glow2
lensFlareModel.addGlow(getScene()->getTextureManager()->addTexture2D("Shine7.bmp", True),0,0,0);
lensFlareModel.getGlow(2)->color.set(1.0f,0.85f,0.32f,0.4f);
lensFlareModel.getGlow(2)->halfSizeX = 90.f;
lensFlareModel.getGlow(2)->halfSizeY = 90.f;
lensFlareModel.getGlow(2)->attenuationRange = 1.0f;
lensFlareModel.getGlow(2)->isBehindEffect = False;
// glow3
lensFlareModel.addGlow(getScene()->getTextureManager()->addTexture2D("Flare1.bmp", True),0,0,0);
lensFlareModel.getGlow(3)->color.set(0.95f,0.95f,0.32f,0.7f);
lensFlareModel.getGlow(3)->halfSizeX = 150.0f;
lensFlareModel.getGlow(3)->halfSizeY = 100.0f;
lensFlareModel.getGlow(3)->attenuationRange = 0.5f;
lensFlareModel.getGlow(3)->isBehindEffect = False;
LensEffect *lensEffect = new LensEffect(getScene(), lensFlareModel, True);
lensEffect->setName("sunLensFlare");
getScene()->getSpecialEffectsManager()->addSpecialEffects(lensEffect);
lensEffect->setDirection(Vector3(0.f,0.5f,-1.0f));
//getScene()->exportScene(basePath.makeFullFileName("models"), SceneIO());
}
virtual ~Ms3dSample()
{
if (m_appWindow) {
onDestroy();
}
}
void onDestroy()
{
if (!m_appWindow) {
return;
}
deletePtr(m_scene);
deletePtr(m_glRenderer);
this->getWindow()->logFps();
// it is deleted by the application
m_appWindow = nullptr;
}
AppWindow* getWindow() { return m_appWindow; }
Scene* getScene() { return m_scene; }
Gui* getGui() { return m_gui; }
// Method called on main window update
void onSceneUpdate()
{
// Get the time (in ms) elapsed since the last update
Float elapsed = getScene()->getFrameManager()->getFrameDuration();
// move the camera using ESDFQA
BaseNode *cameraNode = getScene()->getSceneObjectManager()->searchName("Camera")->getNode();
if (cameraNode) {
cameraNode->getTransform()->translate(m_camVelocity*elapsed);
}
// Search into the scene object manager our node that containing the animated mesh.
// When loading an MS3D file the node have the name of the file without its extension.
// This is not a very good way, because it need to search a string into a hash map.
// Notice the usage of o3d::dynamicCast that take the pointer of the object and the type
// to cast. It's like a dynamic_cast operator with RTTI, but it doesn't use the C++ RTTI.
Node *dwarf = dynamicCast<Node*>(getScene()->getSceneObjectManager()->searchName("dwarf1"));
//Node *dwarf = o3d::dynamicCast<Node*>(getScene()->getSceneObjectManager()->searchName("monster"));
if (dwarf) {
Float run = o3d::abs(dwarf->getRigidBody()->getSpeed().x() + dwarf->getRigidBody()->getSpeed().z());
if ((run >= 0.1f) && (m_animationPlayer->getAnimRangeName() == "idle1")) {
m_animationPlayer->playAnimRange("walk");
} else if ((run <= 0.1f) && (m_animationPlayer->getAnimRangeName() == "walk")) {
m_animationPlayer->playAnimRange("idle1");
}
// We want to apply the rotation to this node, but by default there is no
// transformation, so we create ones if necessary.
if (!dwarf->getTransform()) {
// Its a simple matrix transform using a {Position,Quaternion,Scale} uplet
// that is transformed into a 4x4 matrix.
MTransform *transform = new MTransform;
dwarf->addTransform(transform);
}
// simulate the plane collision
if ((dwarf->getRigidBody()->getPosition().y() < 0.0001f) &&
(dwarf->getRigidBody()->getP().y() < 0.0)) {
//if (dwarf->getRigidBody()->getPosition().y() < 0.0) {
Vector3 pos = dwarf->getRigidBody()->getPosition();
Vector3 speed = dwarf->getRigidBody()->getSpeed();
pos.y() = 0.0f;
if (speed.y() < 0) {
speed.y() = 0.0f;
//dwarf->getRigidBody()->setSpeed(speed);
}
Vector3 p = dwarf->getRigidBody()->getP();
p.y() = 0;
dwarf->getRigidBody()->setP(p);
dwarf->getRigidBody()->setPosition(pos);
}
// Rotate on the Y axis
if (m_dwarfRotVelocity.y() != 0.f) {
dwarf->getTransform()->rotate(Y, m_dwarfRotVelocity.y()*elapsed);
}
// Rotate on the X axis
if (m_dwarfRotVelocity.x() != 0.f) {
dwarf->getTransform()->rotate(X, m_dwarfRotVelocity.x()*elapsed);
}
}
}
void onSceneDraw()
{
// Check for a hit
if (getScene()->getPicking()->getSingleHit()) {
// Dynamic cast to scene object, or you can use two static_cast.
// Casts are tested using pointer and reference.
SceneObject *object = o3d::dynamicCast<SceneObject*>(getScene()->getPicking()->getSingleHit());
//SceneObject &objectRef = o3d::dynamicCast<SceneObject&>(*getScene()->getPicking()->getSingleHit());
// And clear all listed hits.
getScene()->getPicking()->clearPickedList();
// Draw the name of the picked object.
Vector3 vec = getScene()->getPicking()->getHitPos();
System::print(object->getName() + String::print(" at %f %f %f", vec.x(), vec.y(), vec.z()), "ms3d");
}
}
void onMouseMotion(Mouse* mouse)
{
Float elapsed = getScene()->getFrameManager()->getFrameDuration();
// camera rotation
if (mouse->isRightDown()) {
Mouse *mouse = getWindow()->getInput().getMouse();
BaseNode *cameraNode = getScene()->getSceneObjectManager()->searchName("Camera")->getNode();
if (cameraNode) {
cameraNode->getTransform()->rotate(Y, -mouse->getDeltaX() * elapsed);
cameraNode->getTransform()->rotate(X, -mouse->getDeltaY() * elapsed);
}
}
}
void onMouseButton(Mouse* mouse, ButtonEvent event)
{
if (event.isPressed() && (event.button() == Mouse::LEFT)) {
// Process to a picking a next draw pass.
// The mouse Y coordinate should be inverted because Y+ is on top of the screen for OpenGL.
getScene()->getPicking()->postPickingEvent(
mouse->getMappedPosition().x(),
getScene()->getViewPortManager()->getReshapeHeight() - mouse->getMappedPosition().y());
}
}
void toggleDrawMode()
{
if (getScene()->getViewPortManager()->getViewPort(1)->getActivity()) {
getScene()->getViewPortManager()->getViewPort(1)->disable();
getScene()->getViewPortManager()->getViewPort(2)->enable();
System::print("Switch to Deferred Shading", "Change");
} else {
getScene()->getViewPortManager()->getViewPort(2)->disable();
getScene()->getViewPortManager()->getViewPort(1)->enable();
System::print("Switch to Shadow Volume Forward Renderering", "Change");
}
}
void onKey(Keyboard* keyboard, KeyEvent event)
{
if (event.isPressed() && (event.key() == KEY_F1)) {
if (m_keys->type() == 0) {
m_keys = new KeyMapQwerty;
System::print("Switch to QWERTY", "Change");
} else if (m_keys->type() == 1) {
m_keys = new KeyMapBepo;
System::print("Switch to BEPO", "Change");
} else if (m_keys->type() == 2) {
m_keys = new KeyMapAzerty;
System::print("Switch to AZERTY", "Change");
}
}
if (event.isPressed() && (event.key() == KEY_F12)) {
if (getWindow()->isMouseGrabbed()) {
getWindow()->grabMouse(False);
System::print("Ungrab mouse", "Change");
} else {
getWindow()->grabMouse(True);
System::print("Grab mouse", "Change");
}
}
if (event.isPressed() && (event.key() == KEY_F10)) {
if (getScene()->getContext()->getDrawingMode() == Context::DRAWING_FILLED) {
getScene()->getContext()->setDrawingMode(Context::DRAWING_WIREFRAME);
System::print("Wired mode", "Change");
} else {
getScene()->getContext()->setDrawingMode(Context::DRAWING_FILLED);
System::print("Filled mode", "Change");
}
}
// rotate player
// Inc/dec a rotation angle depending of the left and right key states.
// The angle speed stay the same by using the elapsed time as factor.
m_dwarfRotVelocity.y() = 0;
m_dwarfRotVelocity.y() += event.action(KEY_LEFT, -1.f, 0.f, 0.f);
m_dwarfRotVelocity.y() += event.action(KEY_RIGHT, 1.f, -0.f, 0.f);
//m_dwarfPosVelocity.z() += event.action(KEY_UP, 10000.f, -10000.f, 0.f);
//m_dwarfPosVelocity.z() += event.action(KEY_DOWN, -10000.f, 10000.f, 0.f);
Node *dwarf = dynamicCast<Node*>(getScene()->getSceneObjectManager()->searchName("dwarf1"));
if (dwarf) {
Float dwarfImpulse = 0, dwarfJumpImpulse = 0;
// System::print("", dwarf->getRigidBody()->getP());
// if (o3d::abs(dwarf->getRigidBody()->getP().y()) <= 0.001f) {
// if (o3d::abs(dwarf->getRigidBody()->getSpeed().y()) == 0.0) {
if (dwarf->getRigidBody()->getPosition().y() == 0.0) {
if (event.isPressed() && !event.isRepeat()) {
if (event.key() == KEY_UP) {
dwarfImpulse = -40000.f;
} else if (event.key() == KEY_DOWN) {
dwarfImpulse = 40000.f;
} else if (event.key() == KEY_SPACE) {
dwarfJumpImpulse = 175000.f;
}
} else if (event.isReleased()) {
if ((event.key() == KEY_UP) || (event.key() == KEY_DOWN)) {
dwarf->getRigidBody()->setP(Vector3());
m_dwarfPosVelocity.z() = 0;
}
}
}
static Float rotY = 0.f;
Float oldRotY = rotY;
rotY += m_dwarfRotVelocity.y();
if (rotY != oldRotY) {
dwarfImpulse = m_dwarfPosVelocity.z();
}
Quaternion rot;
rot.fromAxisAngle3(Vector3(0.f, 1.f, 0.f), -rotY);
dwarf->getRigidBody()->setRotation(rot);
if (o3d::abs(dwarfJumpImpulse) > o3d::Limits<Float>::epsilon()) {
dwarf->getRigidBody()->addForceImpulse(Vector3(0.f, dwarfJumpImpulse, 0.f));
}
if ((o3d::abs(dwarfImpulse) > o3d::Limits<Float>::epsilon()) || (rotY != oldRotY)) {
Matrix3 rotMat;
rotMat.rotateY(rotY);
Vector3 impulse = rotMat * Vector3(0.f, 0.f, dwarfImpulse);
dwarf->getRigidBody()->setP(Vector3(0.f, dwarf->getRigidBody()->getP().y(), 0.f));
dwarf->getRigidBody()->addForceImpulse(impulse);
m_dwarfPosVelocity.z() = dwarfImpulse;
}
}
// translate camera
const Float speed = 200.f;
m_camVelocity.x() += event.action( m_keys->left(), -speed, -min(speed, m_camVelocity.x()), 0.f);
m_camVelocity.x() += event.action( m_keys->right(), speed, -max(-speed, m_camVelocity.x()), 0.f);
m_camVelocity.y() += event.action( m_keys->down(), -speed, -min(speed, m_camVelocity.y()), 0.f);
m_camVelocity.y() += event.action( m_keys->up(), speed, -max(-speed, m_camVelocity.y()), 0.f);
m_camVelocity.z() += event.action( m_keys->forward(), -speed, -min(speed, m_camVelocity.z()), 0.f);
m_camVelocity.z() += event.action( m_keys->backward(), speed, -max(-speed, m_camVelocity.z()), 0.f);
/*
m_velocity.x() += event.action( m_keys->left(), -speed, -min(-speed, m_velocity.x()), 0.f);
m_velocity.x() += event.action( m_keys->right(), speed, -max(-speed, m_velocity.x()), 0.f);
m_velocity.y() += event.action( m_keys->down(), -speed, -min(speed, m_velocity.y()), 0.f);
m_velocity.y() += event.action( m_keys->up(), speed, -max(-speed, m_velocity.y()), 0.f);
m_velocity.z() += event.action( m_keys->forward(), -speed, -min(speed, m_velocity.z()), 0.f);
m_velocity.z() += event.action( m_keys->backward(), speed, -max(-speed, m_velocity.z()), 0.f);
*/
if (m_camVelocity.length() > speed) {
m_camVelocity *= speed / m_camVelocity.length();
}
if (event.isPressed() && (event.key() == KEY_F3)) {
toggleDrawMode();
}
if (event.isPressed() && (event.character() == KEY_1)) {
getScene()->getSceneObjectManager()->searchName("light1")->toggleActivity();
System::print("Toggle light1", "Change");
}
if (event.isPressed() && (event.character() == KEY_2)) {
getScene()->getSceneObjectManager()->searchName("light2")->toggleActivity();
System::print("Toggle light2", "Change");
}
if (event.isPressed() && (event.character() == KEY_3)) {
getScene()->getSceneObjectManager()->searchName("light3")->toggleActivity();
System::print("Toggle light3", "Change");
}
if (event.isPressed() && (event.character() == KEY_4)) {
getScene()->getSceneObjectManager()->searchName("light4")->toggleActivity();
System::print("Toggle light4", "Change");
}
if (event.isPressed() && (event.key() == KEY_I)) {
m_animationPlayer->togglePlayPause();
System::print("Toggle player play/pause", "Change");
}
if (event.isPressed() && (event.key() == KEY_J)) {
m_animationPlayer->enqueueAnimRange("attack1SwipeAxe", AnimationPlayer::MODE_CONTINUE);
m_animationPlayer->enqueueAnimRange("idle1", AnimationPlayer::MODE_LOOP);
}
if (event.isPressed() && (event.key() == KEY_F2)) {
FeedbackViewPort *vp = o3d::dynamicCast<FeedbackViewPort*>(getScene()->getViewPortManager()->getViewPort(2));
if (vp->getActivity()) {
// feedback-viewport used by GBuffer capture
Image im;
const UInt8 *d = vp->mapData();
if (d) {
im.loadBuffer(vp->getDataWidth(), vp->getDataHeight(), vp->getDataSize(), vp->getPixelFormat(), d);
im.vFlip();
im.save("feedback.png", Image::PNG);
im.save("feedback.jpg", Image::JPEG);
}
vp->unmapData();
} else {
// back-buffer standard screen-shot
m_glRenderer->screenShot("feedback.png", Image::PNG, 255, True);
m_glRenderer->screenShot("feedback.jpg", Image::JPEG, 255);
}
System::print("Take a screenshot using the feeback viewport", "Action");
}
if (event.isPressed() && (event.key() == KEY_ESCAPE)) {
System::print("Terminate", "Action");
getWindow()->terminate();
}
}
void onTouchScreenMotion(TouchScreen* touch)
{
if (touch->isSize()) {
Float z = -touch->getDeltaSize() * 0.01;
Camera *lpCamera = (Camera*)getScene()->getSceneObjectManager()->searchName("Camera");
lpCamera->getNode()->getTransform()->translate(Vector3(0, 0, z));
} else {
// @todo according to a multi point or what else ? or to sensors... translate or an icon
Camera *lpCamera = (Camera*)getScene()->getSceneObjectManager()->searchName("Camera");
//lpCamera->getNode()->getTransform()->rotate(Y,-touch->getDeltaX()*0.005f);
//lpCamera->getNode()->getTransform()->rotate(X,-touch->getDeltaY()*0.005f);
// translate camera
// Get the time (in ms) elapsed since the last update
// Float elapsed = getScene()->getFrameManager()->getFrameDuration();
Vector3 camPos(touch->getDeltaX()*0.5, -touch->getDeltaY()*0.5, 0);
// move the camera
lpCamera->getNode()->getTransform()->translate(camPos/**elapsed*/);
}
}
void onTouchScreenChange(TouchScreen* touch, TouchScreenEvent event)
{
// attack on tap
if (touch->isTap()) {
m_animationPlayer->enqueueAnimRange("attack1SwipeAxe", AnimationPlayer::MODE_CONTINUE);
m_animationPlayer->enqueueAnimRange("idle1", AnimationPlayer::MODE_LOOP);
}
// jump on double tap
if (touch->isDoubleTap()) {
Node *dwarf = dynamicCast<Node*>(getScene()->getSceneObjectManager()->searchName("dwarf1"));
if (dwarf) {
// simulate the plane collision
if (dwarf->getRigidBody()->getPosition().y() < 0.0f) {
Vector3 pos = dwarf->getRigidBody()->getPosition();
Vector3 speed = dwarf->getRigidBody()->getSpeed();
pos.y() = 0.0f;
speed.y() = 0.0f;
dwarf->getRigidBody()->setSpeed(speed);
dwarf->getRigidBody()->setPosition(pos);
}
Float dwarfJumpImpulse = 0;
if (o3d::abs(dwarf->getRigidBody()->getP().y()) <= 0.01f) {
dwarfJumpImpulse = 175000.f;
}
if (o3d::abs(dwarfJumpImpulse) > o3d::Limits<Float>::epsilon()) {
dwarf->getRigidBody()->addForceImpulse(Vector3(0.f, dwarfJumpImpulse, 0.f));
}
}
}
// jump on long tap
if (touch->isLongTap()) {
toggleDrawMode();
}
}
void onClose()
{
System::print("Terminate", "Action");
getWindow()->terminate();
}
//! Set animation player.
void setAnimationPlayer(AnimationPlayer *player)
{
m_animationPlayer = player;
}
private:
AnimationPlayer *m_animationPlayer;
Vector3 m_camVelocity;
Vector3 m_dwarfRotVelocity;
Vector3 m_dwarfPosVelocity;
};
class MyActivity : public Activity
{
public:
static Int32 main()
{
MemoryManager::instance()->enableLog(MemoryManager::MEM_RAM,128);
MemoryManager::instance()->enableLog(MemoryManager::MEM_GFX);
Application::setActivity(new MyActivity);
Application::start();
Application::run();
Application::stop();
return 0;
}
virtual Int32 onStart() override
{
Dir basePath("media");
if (!basePath.exists()) {
basePath = Dir("../media");
if (!basePath.exists()) {
Application::message("Missing media content", "Error");
return -1;
}
}
m_app = new Ms3dSample(basePath);
return 0;
}
virtual Int32 onStop() override
{
deletePtr(m_app);
return 0;
}
virtual Int32 onPause() override
{
// m_app->pause();
return 0;
}
virtual Int32 onResume() override
{
// m_app->resume();
return 0;
}
virtual Int32 onSave() override
{
// m_app->save();
return 0;
}
private:
Ms3dSample *m_app;
};
//O3D_NOCONSOLE_MAIN(MyActivity, O3D_DEFAULT_CLASS_SETTINGS)
O3D_CONSOLE_MAIN(MyActivity, O3D_DEFAULT_CLASS_SETTINGS)
| 39.788984 | 135 | 0.614861 | dream-overflow |
a7223634c11f9e5b46f5e121187550d638a0092a | 420 | cpp | C++ | csf_workspace/css/src/core/module/device/connect/url/csf_url.cpp | Kitty-Kitty/csf_library | 011e56fb8b687818d20b9998a0cdb72332375534 | [
"BSD-2-Clause"
] | 2 | 2019-12-17T13:16:48.000Z | 2019-12-17T13:16:51.000Z | csf_workspace/css/src/core/module/device/connect/url/csf_url.cpp | Kitty-Kitty/csf_library | 011e56fb8b687818d20b9998a0cdb72332375534 | [
"BSD-2-Clause"
] | null | null | null | csf_workspace/css/src/core/module/device/connect/url/csf_url.cpp | Kitty-Kitty/csf_library | 011e56fb8b687818d20b9998a0cdb72332375534 | [
"BSD-2-Clause"
] | null | null | null | /*******************************************************************************
*
*Copyright: armuxinxian@aliyun.com
*
*File name: csf_url.hpp
*
*Author: f
*
*Version: 1.0
*
*Date: 11-7月-2018 22:10:25
*
*Description: Class(csf_url) url地址信息的基础类信息
*
*Others:
*
*History:
*******************************************************************************/
#include "csf_url.hpp"
using csf::core::module::device::csf_url;
| 17.5 | 81 | 0.42381 | Kitty-Kitty |
a72498a88255d058050931d0665e3eda17ad368e | 3,772 | cc | C++ | tests/wampcc/test_tcp_socket.cc | vai-hhn/wampcc | ac206f60028406ea8af4c295e11cbc7de67cf2ad | [
"MIT"
] | 70 | 2017-03-09T12:45:30.000Z | 2021-12-31T20:34:40.000Z | tests/wampcc/test_tcp_socket.cc | vai-hhn/wampcc | ac206f60028406ea8af4c295e11cbc7de67cf2ad | [
"MIT"
] | 54 | 2017-04-15T23:02:08.000Z | 2021-04-13T08:44:25.000Z | tests/wampcc/test_tcp_socket.cc | vai-hhn/wampcc | ac206f60028406ea8af4c295e11cbc7de67cf2ad | [
"MIT"
] | 30 | 2017-06-02T14:12:28.000Z | 2021-12-06T07:28:48.000Z | /*
* Copyright (c) 2017 Darren Smith
*
* wampcc is free software; you can redistribute it and/or modify
* it under the terms of the MIT license. See LICENSE for details.
*/
#include "test_common.h"
#include "mini_test.h"
using namespace wampcc;
using namespace std;
int global_port;
int global_loops = 50;
void test_close_of_connected_socket(int port)
{
kernel the_kernel;
{
std::unique_ptr<tcp_socket> sock = tcp_connect(the_kernel, port);
bool cb_invoked = false;
bool cb_will_be_invoked = sock->close([&]() { cb_invoked = true; });
// the close request will complete asynchronously, so need to wait for that
// to happen
if (cb_will_be_invoked)
sock->closed_future().wait();
assert(cb_will_be_invoked == cb_invoked);
}
}
TEST_CASE("test_close_of_connected_socket")
{
internal_server iserver;
int port = iserver.start(global_port++);
test_close_of_connected_socket(port);
}
TEST_CASE("test_close_of_connected_socket_bulk")
{
internal_server iserver;
int port = iserver.start(global_port++);
for (int i = 0; i < global_loops; i++)
test_close_of_connected_socket(port);
}
void test_close_of_unconnected_socket(int port)
{
//std::cout << __FUNCTION__ << std::endl;
kernel the_kernel;
{
std::unique_ptr<tcp_socket> sock{new tcp_socket(&the_kernel)};
bool cb_invoked = false;
bool cb_will_be_invoked = sock->close([&]() { cb_invoked = true; });
// the close request will complete asynchronously, so need to wait for that
// to happen
if (cb_will_be_invoked)
sock->closed_future().wait();
assert(cb_will_be_invoked == cb_invoked);
}
}
TEST_CASE("test_close_of_unconnected_socket")
{
internal_server iserver;
int port = iserver.start(global_port++);
test_close_of_unconnected_socket(port);
}
TEST_CASE("test_close_of_unconnected_socket_bulk")
{
internal_server iserver;
int port = iserver.start(global_port++);
for (int i = 0; i < global_loops; i++)
test_close_of_unconnected_socket(port);
}
void test_close_of_listen_socket(int port)
{
kernel the_kernel;
{
unique_ptr<tcp_socket> sock{new tcp_socket(&the_kernel)};
auth_provider server_auth;
future<uverr> fut =
sock->listen("", to_string(port), [](unique_ptr<tcp_socket>&, uverr) {});
future_status status = fut.wait_for(chrono::milliseconds(100));
if (status == future_status::timeout)
throw runtime_error("timeout during listen");
wampcc::uverr err = fut.get();
if (err)
throw runtime_error(err.message());
bool cb_invoked = false;
bool cb_will_be_invoked = sock->close([&]() { cb_invoked = true; });
// the close request will complete asynchronously, so need to wait for that
// to happen
if (cb_will_be_invoked)
sock->closed_future().wait();
assert(cb_will_be_invoked == cb_invoked);
}
}
TEST_CASE("test_close_of_listen_socket")
{
int port = global_port++;
test_close_of_listen_socket(port);
}
TEST_CASE("test_close_of_listen_socket_bulk")
{
int port = global_port++;
for (int i = 0; i < global_loops; i++)
test_close_of_listen_socket(port);
}
TEST_CASE("test_all")
{
auto all_tests = [](int port) {
test_close_of_connected_socket(port);
test_close_of_unconnected_socket(port);
test_close_of_listen_socket(port + 1);
};
internal_server iserver;
int port = iserver.start(global_port++);
all_tests(port);
for (int i = 0; i < global_loops; i++)
all_tests(port);
}
int main(int argc, char** argv)
{
try {
global_port = 26000;
if (argc > 1)
global_port = atoi(argv[1]);
int result = minitest::run(argc, argv);
return (result < 0xFF ? result : 0xFF );
} catch (exception& e) {
cout << e.what() << endl;
return 1;
}
}
| 23.428571 | 79 | 0.69088 | vai-hhn |
a7253f4c01eb531796813c04db2b2afbdf85b554 | 4,050 | cpp | C++ | examples/xml2cpp/calculator/calculator_client.cpp | tvladax/dbus-cxx | 396041a2130985acd72bb801b7137ec06e04b161 | [
"BSD-3-Clause"
] | null | null | null | examples/xml2cpp/calculator/calculator_client.cpp | tvladax/dbus-cxx | 396041a2130985acd72bb801b7137ec06e04b161 | [
"BSD-3-Clause"
] | null | null | null | examples/xml2cpp/calculator/calculator_client.cpp | tvladax/dbus-cxx | 396041a2130985acd72bb801b7137ec06e04b161 | [
"BSD-3-Clause"
] | null | null | null | /***************************************************************************
* Copyright (C) 2009,2010 by Rick L. Vinyard, Jr. *
* rvinyard@cs.nmsu.edu *
* *
* This file is part of the dbus-cxx library. *
* *
* The dbus-cxx library is free software; you can redistribute it and/or *
* modify it under the terms of the GNU General Public License *
* version 3 as published by the Free Software Foundation. *
* *
* The dbus-cxx 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 *
* General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
* along with this software. If not see <http://www.gnu.org/licenses/>. *
***************************************************************************/
#include "calculator_proxy.h"
#include "client_popt.h"
int main(int argc, const char** argv)
{
// Useful symbols declared:
// op: C string containing the op to perform
// opsym: C char containing the mathmatical symbol of the op
// param1: double containing parameter 1
// param2: double containing parameter 2
CLIENT_PARSE_ARGS(argc, argv);
DBus::init();
DBus::Dispatcher::pointer dispatcher = DBus::Dispatcher::create();
DBus::Connection::pointer connection = dispatcher->create_connection( DBus::BUS_SESSION );
DBus::Example::CalculatorProxy::pointer calculator = DBus::Example::CalculatorProxy::create(connection);
double answer=NAN;
uint64_t result;
if ( strcmp(op,"add") == 0 ) { answer = calculator->add(param1,param2); std::cout << param1 << " + " << param2 << " = " << answer << std::endl; }
else if ( strcmp(op,"sub") == 0 ) { answer = calculator->subtract(param1,param2); std::cout << param1 << " - " << param2 << " = " << answer << std::endl; }
else if ( strcmp(op,"mul") == 0 ) { answer = calculator->multiply(param1,param2); std::cout << param1 << " * " << param2 << " = " << answer << std::endl; }
else if ( strcmp(op,"div") == 0 ) { answer = calculator->divide(param1,param2); std::cout << param1 << " / " << param2 << " = " << answer << std::endl; }
else if ( strcmp(op,"pi") == 0 ) { answer = calculator->pi(); std::cout << "pi = " << answer << std::endl; }
else if ( strcmp(op,"print-pi") == 0 ) { calculator->print_pi(); std::cout << "printed pi on server" << std::endl; }
else if ( strcmp(op,"factorial") == 0 ) { result = calculator->factorial(param1); std::cout << (uint64_t)param1 << "! = " << result << std::endl; }
else if ( strcmp(op,"fibonacci") == 0 ) { result = calculator->fibonacci(param1); std::cout << "Fibonacci_" << (uint64_t)(param1) << " = " << result << std::endl; }
else if ( strcmp(op,"thue-morse") == 0 )
{
if ( param1 > 6.0 )
{
std::cout << "Thue-Morse limit is 6" << std::endl;
}
else
{
result = calculator->thue_morse(param1);
std::cout << "Thue-Morse_" << (uint64_t)(param1) << " = " << result << std::endl;
std::cout << "Thue-Morse_" << (uint64_t)(param1) << " = ";
uint64_t mask = 0x0001;
std::string binary;
for (int i = 0; i < pow(2,param1); i++)
{
binary += (result&mask)?'1':'0';
result = result >> 1;
}
for ( std::string::reverse_iterator i = binary.rbegin(); i != binary.rend(); i++ )
std::cout << *i;
std::cout << std::endl;
}
}
return 0;
}
| 51.923077 | 169 | 0.501975 | tvladax |
a72634b63a6d9c2159c6e08bed72b1bbd975a713 | 18,132 | cpp | C++ | Support/Plugins/MultiBundle/multibundle1.cpp | devernay/openfx | d5db5d0483faab6a85c104b436f7460897a90aa8 | [
"BSD-3-Clause"
] | 20 | 2015-01-25T22:29:49.000Z | 2017-10-05T11:44:11.000Z | Support/Plugins/MultiBundle/multibundle1.cpp | devernay/openfx | d5db5d0483faab6a85c104b436f7460897a90aa8 | [
"BSD-3-Clause"
] | 5 | 2015-07-01T17:10:00.000Z | 2018-01-04T08:55:36.000Z | Support/Plugins/MultiBundle/multibundle1.cpp | devernay/openfx | d5db5d0483faab6a85c104b436f7460897a90aa8 | [
"BSD-3-Clause"
] | 13 | 2015-01-10T15:44:43.000Z | 2018-01-10T10:29:15.000Z | /*
OFX Gamma Example plugin, a plugin that illustrates the use of the OFX Support library.
Copyright (C) 2004-2005 The Open Effects Association Ltd
Author Bruno Nicoletti bruno@thefoundry.co.uk
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
* Neither the name The Open Effects Association Ltd, nor the names of its
contributors may be used to endorse or promote products derived from this
software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
The Open Effects Association Ltd
1 Wardour St
London W1D 6PA
England
*/
#if defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
#include <windows.h>
#endif
#ifdef __APPLE__
#include <OpenGL/gl.h>
#else
#include <GL/gl.h>
#endif
#include <stdio.h>
#include <math.h>
#include "ofxsImageEffect.h"
#include "ofxsMultiThread.h"
#include "../include/ofxsProcessing.H"
static const OfxPointD kBoxSize = {20, 20};
class GammaInteract : public OFX::OverlayInteract
{
protected :
enum StateEnum {
eInActive,
ePoised,
ePicked
};
OfxPointD _position;
StateEnum _state;
public :
GammaInteract(OfxInteractHandle handle, OFX::ImageEffect* /*effect*/) : OFX::OverlayInteract(handle), _state(eInActive)
{
_position.x = 0;
_position.y = 0;
}
virtual bool draw(const OFX::DrawArgs &args);
virtual bool penMotion(const OFX::PenArgs &args);
virtual bool penDown(const OFX::PenArgs &args);
virtual bool penUp(const OFX::PenArgs &args);
};
template <class T>
inline T Absolute(T a)
{
return (a < 0) ? -a : a;
}
template <class T>
inline T Clamp(T v, int min, int max)
{
if(v < T(min))
return T(min);
if(v > T(max))
return T(max);
return v;
}
class ImageScalerBase : public OFX::ImageProcessor
{
protected :
OFX::Image *_srcImg;
OFX::Image *_maskImg;
double _rScale, _gScale, _bScale, _aScale;
bool _doMasking;
public :
ImageScalerBase(OFX::ImageEffect &instance): OFX::ImageProcessor(instance), _srcImg(NULL), _maskImg(NULL),
_rScale(1), _gScale(1), _bScale(1), _aScale(1), _doMasking(false)
{
}
void setSrcImg(OFX::Image *v) {_srcImg = v;}
void setMaskImg(OFX::Image *v) {_maskImg = v;}
void doMasking(bool v) {_doMasking = v;}
void setScales(float r, float g, float b, float a)
{
_rScale = r;
_gScale = g;
_bScale = b;
_aScale = a;
}
};
template <class PIX, int nComponents, int max>
class ImageScaler : public ImageScalerBase
{
public :
ImageScaler(OFX::ImageEffect &instance): ImageScalerBase(instance)
{}
void multiThreadProcessImages(const OfxRectI& procWindow, const OfxPointD& renderScale)
{
float scales[4];
scales[0] = nComponents == 1 ? (float)_aScale : (float)_rScale;
scales[1] = (float)_gScale;
scales[2] = (float)_bScale;
scales[3] = (float)_aScale;
float maskScale = 1.0f;
for(int y = procWindow.y1; y < procWindow.y2; y++)
{
if(_effect.abort())
break;
PIX *dstPix = (PIX *) _dstImg->getPixelAddress(procWindow.x1, y);
for(int x = procWindow.x1; x < procWindow.x2; x++)
{
PIX *srcPix = (PIX *) (_srcImg ? _srcImg->getPixelAddress(x, y) : 0);
if(_doMasking)
{
if(!_maskImg)
maskScale = 1.0f;
else
{
PIX *maskPix = (PIX *) (_maskImg ? _maskImg->getPixelAddress(x, y) : 0);
maskScale = maskPix != 0 ? float(*maskPix)/float(max) : 0.0f;
}
}
if(srcPix)
{
for(int c = 0; c < nComponents; c++)
{
float v = (float)(pow((double)srcPix[c], (double)scales[c])) * maskScale + (1.0f - maskScale) * srcPix[c];
if(max == 1)
dstPix[c] = PIX(v);
else
dstPix[c] = PIX(Clamp(v, 0, max));
}
}
else
{
for(int c = 0; c < nComponents; c++)
dstPix[c] = 0;
}
dstPix += nComponents;
}
}
}
};
class GammaPlugin : public OFX::ImageEffect
{
protected :
OFX::Clip *dstClip_;
OFX::Clip *srcClip_;
OFX::Clip *maskClip_;
OFX::DoubleParam *scale_;
OFX::DoubleParam *rScale_;
OFX::DoubleParam *gScale_;
OFX::DoubleParam *bScale_;
OFX::DoubleParam *aScale_;
OFX::BooleanParam *componentScalesEnabled_;
public :
GammaPlugin(OfxImageEffectHandle handle): ImageEffect(handle), dstClip_(NULL), srcClip_(NULL), scale_(NULL)
, rScale_(NULL), gScale_(NULL), bScale_(NULL), aScale_(NULL), componentScalesEnabled_(NULL)
{
dstClip_ = fetchClip(kOfxImageEffectOutputClipName);
srcClip_ = fetchClip(kOfxImageEffectSimpleSourceClipName);
maskClip_ = getContext() == OFX::eContextFilter ? NULL : fetchClip(getContext() == OFX::eContextPaint ? "Brush" : "Mask");
scale_ = fetchDoubleParam("scale");
rScale_ = fetchDoubleParam("scaleR");
gScale_ = fetchDoubleParam("scaleG");
bScale_ = fetchDoubleParam("scaleB");
aScale_ = fetchDoubleParam("scaleA");
componentScalesEnabled_ = fetchBooleanParam("scaleComponents");
setEnabledness();
}
void setEnabledness();
virtual void render(const OFX::RenderArguments &args);
virtual bool isIdentity(const OFX::IsIdentityArguments &args, OFX::Clip * &identityClip, double &identityTime
#ifdef OFX_EXTENSIONS_NUKE
, int& view, std::string& plane
#endif
);
virtual void changedParam(const OFX::InstanceChangedArgs &args, const std::string ¶mName);
virtual void changedClip(const OFX::InstanceChangedArgs &args, const std::string &clipName);
virtual bool getRegionOfDefinition(const OFX::RegionOfDefinitionArguments &args, OfxRectD &rod);
virtual void getRegionsOfInterest(const OFX::RegionsOfInterestArguments &args, OFX::RegionOfInterestSetter &rois);
void setupAndProcess(ImageScalerBase &, const OFX::RenderArguments &args);
};
void GammaPlugin::setupAndProcess(ImageScalerBase &processor, const OFX::RenderArguments &args)
{
OFX::auto_ptr<OFX::Image> dst(dstClip_->fetchImage(args.time));
OFX::BitDepthEnum dstBitDepth = dst->getPixelDepth();
OFX::PixelComponentEnum dstComponents = dst->getPixelComponents();
OFX::auto_ptr<OFX::Image> src(srcClip_->fetchImage(args.time));
if(src.get())
{
OFX::BitDepthEnum srcBitDepth = src->getPixelDepth();
OFX::PixelComponentEnum srcComponents = src->getPixelComponents();
if(srcBitDepth != dstBitDepth || srcComponents != dstComponents)
throw int(1);
}
OFX::auto_ptr<OFX::Image> mask(getContext() != OFX::eContextFilter ? maskClip_->fetchImage(args.time) : 0);
if(getContext() != OFX::eContextFilter)
{
processor.doMasking(true);
processor.setMaskImg(mask.get());
}
double r, g, b, a = aScale_->getValueAtTime(args.time);
r = g = b = scale_->getValueAtTime(args.time);
if(componentScalesEnabled_->getValueAtTime(args.time))
{
r += rScale_->getValueAtTime(args.time);
g += gScale_->getValueAtTime(args.time);
b += bScale_->getValueAtTime(args.time);
}
processor.setDstImg(dst.get());
processor.setSrcImg(src.get());
processor.setRenderWindow(args.renderWindow, args.renderScale);
processor.setScales((float)r, (float)g, (float)b, (float)a);
processor.process();
}
bool GammaPlugin::getRegionOfDefinition(const OFX::RegionOfDefinitionArguments &args, OfxRectD &rod)
{
rod = srcClip_->getRegionOfDefinition(args.time);
return true;
}
void GammaPlugin::getRegionsOfInterest(const OFX::RegionsOfInterestArguments &args, OFX::RegionOfInterestSetter &rois)
{
rois.setRegionOfInterest(*srcClip_, args.regionOfInterest);
if(getContext() != OFX::eContextFilter)
rois.setRegionOfInterest(*maskClip_, args.regionOfInterest);
}
void GammaPlugin::render(const OFX::RenderArguments &args)
{
OFX::BitDepthEnum dstBitDepth = dstClip_->getPixelDepth();
OFX::PixelComponentEnum dstComponents = dstClip_->getPixelComponents();
if(dstComponents == OFX::ePixelComponentRGBA)
{
switch(dstBitDepth)
{
case OFX::eBitDepthUByte :
{
ImageScaler<unsigned char, 4, 255> fred(*this);
setupAndProcess(fred, args);
break;
}
case OFX::eBitDepthUShort :
{
ImageScaler<unsigned short, 4, 65535> fred(*this);
setupAndProcess(fred, args);
break;
}
case OFX::eBitDepthFloat :
{
ImageScaler<float, 4, 1> fred(*this);
setupAndProcess(fred, args);
break;
}
default :
OFX::throwSuiteStatusException(kOfxStatErrUnsupported);
}
}
else
{
switch(dstBitDepth)
{
case OFX::eBitDepthUByte :
{
ImageScaler<unsigned char, 1, 255> fred(*this);
setupAndProcess(fred, args);
break;
}
case OFX::eBitDepthUShort :
{
ImageScaler<unsigned short, 1, 65535> fred(*this);
setupAndProcess(fred, args);
break;
}
case OFX::eBitDepthFloat :
{
ImageScaler<float, 1, 1> fred(*this);
setupAndProcess(fred, args);
break;
}
default :
OFX::throwSuiteStatusException(kOfxStatErrUnsupported);
}
}
}
bool GammaPlugin:: isIdentity(const OFX::IsIdentityArguments &args, OFX::Clip * &identityClip, double &identityTime
#ifdef OFX_EXTENSIONS_NUKE
, int& /*view*/, std::string& /*plane*/
#endif
)
{
double scale = scale_->getValueAtTime(args.time);
double rScale = 1, gScale = 1, bScale = 1, aScale = 1;
if(componentScalesEnabled_->getValueAtTime(args.time)) {
rScale = rScale_->getValueAtTime(args.time);
gScale = gScale_->getValueAtTime(args.time);
bScale = bScale_->getValueAtTime(args.time);
aScale = aScale_->getValueAtTime(args.time);
}
rScale += scale;
gScale += scale;
bScale += scale;
if(rScale == 1 && gScale == 1 && bScale == 1 && aScale == 1) {
identityClip = srcClip_;
identityTime = args.time;
return true;
}
return false;
}
void GammaPlugin::setEnabledness(void)
{
bool v = componentScalesEnabled_->getValue() && srcClip_->getPixelComponents() == OFX::ePixelComponentRGBA;
rScale_->setEnabled(v);
gScale_->setEnabled(v);
bScale_->setEnabled(v);
aScale_->setEnabled(v);
}
void GammaPlugin::changedParam(const OFX::InstanceChangedArgs &/*args*/, const std::string ¶mName)
{
if(paramName == "scaleComponents")
setEnabledness();
}
void GammaPlugin::changedClip(const OFX::InstanceChangedArgs &/*args*/, const std::string &clipName)
{
if(clipName == kOfxImageEffectSimpleSourceClipName)
setEnabledness();
}
bool GammaInteract::draw(const OFX::DrawArgs &args)
{
OfxRGBColourF col;
switch(_state) {
case eInActive :
col.r = col.g = col.b = 0.0f;
break;
case ePoised :
col.r = col.g = col.b = 0.5f;
break;
case ePicked :
col.r = col.g = col.b = 1.0f;
break;
}
float dx = (float)(kBoxSize.x * args.pixelScale.x);
float dy = (float)(kBoxSize.y * args.pixelScale.y);
glPushMatrix();
glColor3f(col.r, col.g, col.b);
glTranslated(_position.x, _position.y, 0);
glBegin(GL_POLYGON);
glVertex2f(-dx, -dy);
glVertex2f(-dx, dy);
glVertex2f( dx, dy);
glVertex2f( dx, -dy);
glEnd();
glPopMatrix();
glColor3f(1.0f - col.r, 1.0f - col.g, 1.0f - col.b);
glTranslated(_position.x, _position.y, 0);
glBegin(GL_LINE_LOOP);
glVertex2f(-dx, -dy);
glVertex2f(-dx, dy);
glVertex2f( dx, dy);
glVertex2f( dx, -dy);
glEnd();
glPopMatrix();
return true;
}
bool GammaInteract::penMotion(const OFX::PenArgs &args)
{
float dx = (float)(kBoxSize.x * args.pixelScale.x);
float dy = (float)(kBoxSize.y * args.pixelScale.y);
OfxPointD penPos = args.penPosition;
switch(_state)
{
case eInActive :
case ePoised :
{
StateEnum newState;
penPos.x -= _position.x;
penPos.y -= _position.y;
if(Absolute(penPos.x) < dx && Absolute(penPos.y) < dy)
{
newState = ePoised;
}
else
{
newState = eInActive;
}
if(_state != newState)
{
_state = newState;
_effect->redrawOverlays();
}
}
break;
case ePicked :
{
_position = penPos;
_effect->redrawOverlays();
}
break;
}
return _state != eInActive;
}
bool GammaInteract::penDown(const OFX::PenArgs &args)
{
penMotion(args);
if(_state == ePoised)
{
_state = ePicked;
_position = args.penPosition;
_effect->redrawOverlays();
}
return _state == ePicked;
}
bool GammaInteract::penUp(const OFX::PenArgs &args)
{
if(_state == ePicked)
{
_state = ePoised;
penMotion(args);
_effect->redrawOverlays();
return true;
}
return false;
}
using namespace OFX;
class GammaOverlayDescriptor : public DefaultEffectOverlayDescriptor<GammaOverlayDescriptor, GammaInteract> {};
mDeclarePluginFactory(GammaExamplePluginFactory, {}, {});
void GammaExamplePluginFactory::describe(OFX::ImageEffectDescriptor &desc)
{
desc.setLabels("Gamma", "Gamma", "Gamma");
desc.setPluginGrouping("OFX");
desc.addSupportedContext(eContextFilter);
desc.addSupportedContext(eContextGeneral);
desc.addSupportedContext(eContextPaint);
desc.addSupportedBitDepth(eBitDepthUByte);
desc.addSupportedBitDepth(eBitDepthUShort);
desc.addSupportedBitDepth(eBitDepthFloat);
desc.setSingleInstance(false);
desc.setHostFrameThreading(false);
desc.setSupportsMultiResolution(true);
desc.setSupportsTiles(true);
desc.setTemporalClipAccess(false);
desc.setRenderTwiceAlways(false);
desc.setSupportsMultipleClipPARs(false);
desc.setOverlayInteractDescriptor( new GammaOverlayDescriptor );
}
static
DoubleParamDescriptor *defineScaleParam(OFX::ImageEffectDescriptor &desc,
const std::string &name, const std::string &label, const std::string &hint,
GroupParamDescriptor *parent, double def = 1.0)
{
DoubleParamDescriptor *param = desc.defineDoubleParam(name);
param->setLabels(label, label, label);
param->setScriptName(name);
param->setHint(hint);
param->setDefault(def);
param->setRange(0, 10);
param->setIncrement(0.1);
param->setDisplayRange(0, 10);
param->setDoubleType(eDoubleTypeScale);
if(parent)
param->setParent(*parent);
return param;
}
void GammaExamplePluginFactory::describeInContext(OFX::ImageEffectDescriptor &desc, OFX::ContextEnum context)
{
ClipDescriptor *srcClip = desc.defineClip(kOfxImageEffectSimpleSourceClipName);
srcClip->addSupportedComponent(ePixelComponentRGBA);
srcClip->addSupportedComponent(ePixelComponentAlpha);
srcClip->setTemporalClipAccess(false);
srcClip->setSupportsTiles(true);
srcClip->setIsMask(false);
if(context == eContextGeneral || context == eContextPaint)
{
ClipDescriptor *maskClip = context == eContextGeneral ? desc.defineClip("Mask") : desc.defineClip("Brush");
maskClip->addSupportedComponent(ePixelComponentAlpha);
maskClip->setTemporalClipAccess(false);
if(context == eContextGeneral)
maskClip->setOptional(true);
maskClip->setSupportsTiles(true);
maskClip->setIsMask(true);
}
ClipDescriptor *dstClip = desc.defineClip(kOfxImageEffectOutputClipName);
dstClip->addSupportedComponent(ePixelComponentRGBA);
dstClip->addSupportedComponent(ePixelComponentAlpha);
dstClip->setSupportsTiles(true);
PageParamDescriptor *page = desc.definePageParam("Controls");
GroupParamDescriptor *componentScalesGroup = desc.defineGroupParam("componentScales");
componentScalesGroup->setHint("Scales on the individual component");
componentScalesGroup->setLabels("Components", "Components", "Components");
DoubleParamDescriptor *param = defineScaleParam(desc, "scale", "scale", "Scales all component in the image", 0, 1.0);
page->addChild(*param);
BooleanParamDescriptor *boolP = desc.defineBooleanParam("scaleComponents");
boolP->setDefault(true);
boolP->setHint("Enables gamma correction on individual components");
boolP->setLabels("Gamma Components", "Gamma Components", "Gamma Components");
boolP->setParent(*componentScalesGroup);
page->addChild(*boolP);
param = defineScaleParam(desc, "scaleR", "red", "Gamma corrects the red component of the image", componentScalesGroup, 0.0);
page->addChild(*param);
param = defineScaleParam(desc, "scaleG", "green", "Gamma corrects the green component of the image", componentScalesGroup, 0.0);
page->addChild(*param);
param = defineScaleParam(desc, "scaleB", "blue", "Gamma corrects the blue component of the image", componentScalesGroup, 0.0);
page->addChild(*param);
param = defineScaleParam(desc, "scaleA", "alpha", "Gamma corrects the alpha component of the image", componentScalesGroup, 0.0);
page->addChild(*param);
}
ImageEffect* GammaExamplePluginFactory::createInstance(OfxImageEffectHandle handle, OFX::ContextEnum /*context*/)
{
return new GammaPlugin(handle);
}
static GammaExamplePluginFactory p("net.sf.openfx.gammaexample", 1, 0);
mRegisterPluginFactoryInstance(p)
| 31.58885 | 130 | 0.688507 | devernay |
a729180c02649dd2338b54e1aaed297b34bb0ba8 | 1,901 | cpp | C++ | netsvcs/clients/Naming/Client/main.cpp | BeiJiaan/ace | 2845970c894bb350d12d6a32e867d7ddf2487f25 | [
"DOC"
] | 16 | 2015-05-11T04:33:44.000Z | 2022-02-15T04:28:39.000Z | netsvcs/clients/Naming/Client/main.cpp | BeiJiaan/ace | 2845970c894bb350d12d6a32e867d7ddf2487f25 | [
"DOC"
] | null | null | null | netsvcs/clients/Naming/Client/main.cpp | BeiJiaan/ace | 2845970c894bb350d12d6a32e867d7ddf2487f25 | [
"DOC"
] | 7 | 2015-01-08T16:11:34.000Z | 2021-07-04T16:04:40.000Z | // $Id$
// Test the client-side of the ACE Name Server...
#include "ace/Service_Config.h"
#include "ace/Naming_Context.h"
#include "ace/ARGV.h"
#include "ace/Log_Msg.h"
#include "ace/Reactor.h"
#include "Client_Test.h"
int
ACE_TMAIN (int, ACE_TCHAR *argv[])
{
ACE_Service_Config daemon;
ACE_ARGV new_args;
// Load the existing <argv> into our new one.
new_args.add (argv);
// Enable loading of static services.
new_args.add (ACE_TEXT ("-y"));
// Enable debugging within dynamically linked services.
new_args.add (ACE_TEXT ("-d"));
ACE_DEBUG ((LM_DEBUG,
ACE_TEXT ("argc = %d\n"),
new_args.argc ()));
// Print the contents of the combined <ACE_ARGV>.
for (int i = 0; i < new_args.argc (); i++)
ACE_DEBUG ((LM_DEBUG,
ACE_TEXT ("(%d) %s\n"),
i,
new_args.argv ()[i]));
if (daemon.open (new_args.argc (),
new_args.argv ()) == -1)
{
if (errno != ENOENT)
ACE_ERROR_RETURN ((LM_ERROR, ACE_TEXT ("%p\n"), ACE_TEXT ("open")),
1);
else // Use static binding.
{
ACE_ARGV args;
args.add (argv[0]);
args.add (ACE_TEXT ("-p10011")); // Port number.
ACE_Service_Object *so =
ACE_SVC_INVOKE (ACE_Naming_Context);
if (so->init (args.argc (),
args.argv ()) == -1)
ACE_ERROR_RETURN ((LM_ERROR,
ACE_TEXT ("%p\n"),
ACE_TEXT ("ACE_Naming_Context")),
1);
}
}
Client_Test test_body;
if (test_body.open () == -1)
return 1;
// Run forever, performing the configured services until we are shut
// down by a SIGINT/SIGQUIT signal.
ACE_Reactor::instance ()->run_reactor_event_loop ();
test_body.close ();
return 0;
}
| 26.041096 | 75 | 0.540242 | BeiJiaan |
a72d02da1058ef130aee441bc9e6adace35f6030 | 456 | cpp | C++ | 官方代码/CPPV4例题_Windows/Chapter6/6_3/Point.cpp | LearnAndRecord-Ang/cpp-re-learn | 67f28abc9f4dd2b7a53d0138e689778d1d70aeb2 | [
"MIT"
] | 1 | 2021-01-22T14:15:06.000Z | 2021-01-22T14:15:06.000Z | 官方代码/CPPV4例题_Windows/Chapter6/6_3/Point.cpp | LearnAndRecord-Ang/cpp-re-learn | 67f28abc9f4dd2b7a53d0138e689778d1d70aeb2 | [
"MIT"
] | null | null | null | 官方代码/CPPV4例题_Windows/Chapter6/6_3/Point.cpp | LearnAndRecord-Ang/cpp-re-learn | 67f28abc9f4dd2b7a53d0138e689778d1d70aeb2 | [
"MIT"
] | null | null | null | //Point.cpp
#include <iostream>
#include "Point.h"
using namespace std;
Point::Point() {
x = y = 0;
cout << "Default Constructor called." << endl;
}
Point::Point(int x, int y) : x(x), y(y) {
cout << "Constructor called." << endl;
}
Point::~Point() {
cout << "Destructor called." << endl;
}
void Point::move(int newX,int newY) {
cout << "Moving the point to (" << newX << ", " << newY << ")" << endl;
x = newX;
y = newY;
}
| 19 | 73 | 0.54386 | LearnAndRecord-Ang |
a72dcf3a265ee3e05d6084b7e814a855cb58a316 | 2,048 | cpp | C++ | sources/hooks/engine/enginevgui.cpp | vocweb/cso2-launcher | abc144acaa3dfb5b0c9acd61cd75970cac012617 | [
"MIT"
] | 55 | 2018-09-01T17:52:17.000Z | 2019-09-23T10:30:49.000Z | sources/hooks/engine/enginevgui.cpp | RedheatWei/cso2-launcher | 4cebbb98d51d33bd24c9a86a1d3fc311686d5011 | [
"MIT"
] | 70 | 2018-08-22T05:53:34.000Z | 2019-09-23T15:11:39.000Z | sources/hooks/engine/enginevgui.cpp | RedheatWei/cso2-launcher | 4cebbb98d51d33bd24c9a86a1d3fc311686d5011 | [
"MIT"
] | 39 | 2018-09-01T21:42:50.000Z | 2019-09-23T18:38:07.000Z | #include "hooks.hpp"
#include "platform.hpp"
#include "source/tierlibs.hpp"
#include "utilities.hpp"
#include "utilities/log.hpp"
#include <gameui/igameconsole.hpp>
#include <ienginevgui.hpp>
#include <tier1/convar.hpp>
extern uintptr_t g_dwEngineBase;
void SetStaticGameConsole( void* newConsole )
{
void** addr = reinterpret_cast<void**>( g_dwEngineBase + 0x1901C20 );
*addr = newConsole;
}
void Con_HideConsole_f()
{
using fn_t = void ( * )();
static fn_t func = nullptr;
if ( func == nullptr )
{
func = reinterpret_cast<fn_t>( g_dwEngineBase + 0x1C4710 );
}
func();
}
void Con_ShowConsole_f()
{
using fn_t = void ( * )();
static fn_t func = nullptr;
if ( func == nullptr )
{
func = reinterpret_cast<fn_t>( g_dwEngineBase + 0x1C4740 );
}
func();
}
void OnToggleConsole()
{
if ( EngineVGui()->IsConsoleVisible() )
{
Con_HideConsole_f();
EngineVGui()->HideGameUI();
}
else
{
Con_ShowConsole_f();
}
}
void FixToggleConsoleCommand()
{
ConCommand* toggleconsole = g_pCVar->FindCommand( "toggleconsole" );
assert( toggleconsole != nullptr );
toggleconsole->SetVoidCallback( &OnToggleConsole );
}
static std::unique_ptr<PLH::x86Detour> g_pEngineVGuiInitHook;
static uint64_t g_EngineVGuiInitOrig = 0;
NOINLINE void __fastcall hkEngineVGuiInit( void* thisptr )
{
auto engineFactory = Sys_GetFactory( "engine.dll" );
LogAssert( engineFactory != nullptr );
void* console = engineFactory( GAMECONSOLE_INTERFACE_VERSION, nullptr );
LogAssert( console != nullptr );
SetStaticGameConsole( console );
FixToggleConsoleCommand();
PLH::FnCast( g_EngineVGuiInitOrig, &hkEngineVGuiInit )( thisptr );
}
void ApplyEngineVguiHooks( const uintptr_t dwEngineBase )
{
auto dis = HookDisassembler();
g_pEngineVGuiInitHook =
SetupDetourHook( dwEngineBase + 0x27A300, &hkEngineVGuiInit,
&g_EngineVGuiInitOrig, dis );
g_pEngineVGuiInitHook->hook();
}
| 22.26087 | 76 | 0.670898 | vocweb |
a72f2b8545a1bc7978f6c070bf53492799acda79 | 8,804 | hpp | C++ | nall/http/response.hpp | 13824125580/higan | fbdd3f980b65412c362096579869ae76730e4118 | [
"Intel",
"ISC"
] | 38 | 2018-04-05T05:00:05.000Z | 2022-02-06T00:02:02.000Z | nall/http/response.hpp | 13824125580/higan | fbdd3f980b65412c362096579869ae76730e4118 | [
"Intel",
"ISC"
] | 1 | 2018-04-29T19:45:14.000Z | 2018-04-29T19:45:14.000Z | nall/http/response.hpp | 13824125580/higan | fbdd3f980b65412c362096579869ae76730e4118 | [
"Intel",
"ISC"
] | 8 | 2018-04-16T22:37:46.000Z | 2021-02-10T07:37:03.000Z | #pragma once
#include <nall/http/message.hpp>
namespace nall { namespace HTTP {
struct Response : Message {
using type = Response;
Response() = default;
Response(const Request& request) { setRequest(request); }
explicit operator bool() const { return responseType() != 0; }
auto operator()(uint responseType) -> type& { return setResponseType(responseType); }
inline auto head(const function<bool (const uint8_t* data, uint size)>& callback) const -> bool override;
inline auto setHead() -> bool override;
inline auto body(const function<bool (const uint8_t* data, uint size)>& callback) const -> bool override;
inline auto setBody() -> bool override;
auto request() const -> const Request* { return _request; }
auto setRequest(const Request& value) -> type& { _request = &value; return *this; }
auto responseType() const -> uint { return _responseType; }
auto setResponseType(uint value) -> type& { _responseType = value; return *this; }
auto hasData() const -> bool { return (bool)_data; }
auto data() const -> const vector<uint8_t>& { return _data; }
inline auto setData(const vector<uint8_t>& value) -> type&;
auto hasFile() const -> bool { return (bool)_file; }
auto file() const -> const string& { return _file; }
inline auto setFile(const string& value) -> type&;
auto hasText() const -> bool { return (bool)_text; }
auto text() const -> const string& { return _text; }
inline auto setText(const string& value) -> type&;
inline auto hasBody() const -> bool;
inline auto findContentLength() const -> uint;
inline auto findContentType() const -> string;
inline auto findContentType(const string& suffix) const -> string;
inline auto findResponseType() const -> string;
inline auto setFileETag() -> void;
const Request* _request = nullptr;
uint _responseType = 0;
vector<uint8_t> _data;
string _file;
string _text;
};
auto Response::head(const function<bool (const uint8_t*, uint)>& callback) const -> bool {
if(!callback) return false;
string output;
if(auto request = this->request()) {
if(auto eTag = header["ETag"]) {
if(eTag.value() == request->header["If-None-Match"].value()) {
output.append("HTTP/1.1 304 Not Modified\r\n");
output.append("Connection: close\r\n");
output.append("\r\n");
return callback(output.data<uint8_t>(), output.size());
}
}
}
output.append("HTTP/1.1 ", findResponseType(), "\r\n");
for(auto& variable : header) {
output.append(variable.name(), ": ", variable.value(), "\r\n");
}
if(hasBody()) {
if(!header["Content-Length"] && !header["Transfer-Encoding"].value().iequals("chunked")) {
output.append("Content-Length: ", findContentLength(), "\r\n");
}
if(!header["Content-Type"]) {
output.append("Content-Type: ", findContentType(), "\r\n");
}
}
if(!header["Connection"]) {
output.append("Connection: close\r\n");
}
output.append("\r\n");
return callback(output.data<uint8_t>(), output.size());
}
auto Response::setHead() -> bool {
auto headers = _head.split("\n");
string response = headers.takeLeft().trimRight("\r");
if(response.ibeginsWith("HTTP/1.0 ")) response.itrimLeft("HTTP/1.0 ", 1L);
else if(response.ibeginsWith("HTTP/1.1 ")) response.itrimLeft("HTTP/1.1 ", 1L);
else return false;
setResponseType(response.natural());
for(auto& header : headers) {
if(header.beginsWith(" ") || header.beginsWith("\t")) continue;
auto variable = header.split(":", 1L).strip();
if(variable.size() != 2) continue;
this->header.append(variable[0], variable[1]);
}
return true;
}
auto Response::body(const function<bool (const uint8_t*, uint)>& callback) const -> bool {
if(!callback) return false;
if(!hasBody()) return true;
bool chunked = header["Transfer-Encoding"].value() == "chunked";
if(chunked) {
string prefix = {hex(findContentLength()), "\r\n"};
if(!callback(prefix.data<uint8_t>(), prefix.size())) return false;
}
if(_body) {
if(!callback(_body.data<uint8_t>(), _body.size())) return false;
} else if(hasData()) {
if(!callback(data().data(), data().size())) return false;
} else if(hasFile()) {
filemap map(file(), filemap::mode::read);
if(!callback(map.data(), map.size())) return false;
} else if(hasText()) {
if(!callback(text().data<uint8_t>(), text().size())) return false;
} else {
string response = findResponseType();
if(!callback(response.data<uint8_t>(), response.size())) return false;
}
if(chunked) {
string suffix = {"\r\n0\r\n\r\n"};
if(!callback(suffix.data<uint8_t>(), suffix.size())) return false;
}
return true;
}
auto Response::setBody() -> bool {
return true;
}
auto Response::hasBody() const -> bool {
if(auto request = this->request()) {
if(request->requestType() == Request::RequestType::Head) return false;
}
if(responseType() == 301) return false;
if(responseType() == 302) return false;
if(responseType() == 303) return false;
if(responseType() == 304) return false;
if(responseType() == 307) return false;
return true;
}
auto Response::findContentLength() const -> uint {
if(auto contentLength = header["Content-Length"]) return contentLength.value().natural();
if(_body) return _body.size();
if(hasData()) return data().size();
if(hasFile()) return file::size(file());
if(hasText()) return text().size();
return findResponseType().size();
}
auto Response::findContentType() const -> string {
if(auto contentType = header["Content-Type"]) return contentType.value();
if(hasData()) return "application/octet-stream";
if(hasFile()) return findContentType(Location::suffix(file()));
return "text/html; charset=utf-8";
}
auto Response::findContentType(const string& s) const -> string {
if(s == ".7z" ) return "application/x-7z-compressed";
if(s == ".avi" ) return "video/avi";
if(s == ".bml" ) return "text/plain; charset=utf-8";
if(s == ".bz2" ) return "application/x-bzip2";
if(s == ".css" ) return "text/css; charset=utf-8";
if(s == ".gif" ) return "image/gif";
if(s == ".gz" ) return "application/gzip";
if(s == ".htm" ) return "text/html; charset=utf-8";
if(s == ".html") return "text/html; charset=utf-8";
if(s == ".jpg" ) return "image/jpeg";
if(s == ".jpeg") return "image/jpeg";
if(s == ".js" ) return "application/javascript";
if(s == ".mka" ) return "audio/x-matroska";
if(s == ".mkv" ) return "video/x-matroska";
if(s == ".mp3" ) return "audio/mpeg";
if(s == ".mp4" ) return "video/mp4";
if(s == ".mpeg") return "video/mpeg";
if(s == ".mpg" ) return "video/mpeg";
if(s == ".ogg" ) return "audio/ogg";
if(s == ".pdf" ) return "application/pdf";
if(s == ".png" ) return "image/png";
if(s == ".rar" ) return "application/x-rar-compressed";
if(s == ".svg" ) return "image/svg+xml";
if(s == ".tar" ) return "application/x-tar";
if(s == ".txt" ) return "text/plain; charset=utf-8";
if(s == ".wav" ) return "audio/vnd.wave";
if(s == ".webm") return "video/webm";
if(s == ".xml" ) return "text/xml; charset=utf-8";
if(s == ".xz" ) return "application/x-xz";
if(s == ".zip" ) return "application/zip";
return "application/octet-stream"; //binary
}
auto Response::findResponseType() const -> string {
switch(responseType()) {
case 200: return "200 OK";
case 301: return "301 Moved Permanently";
case 302: return "302 Found";
case 303: return "303 See Other";
case 304: return "304 Not Modified";
case 307: return "307 Temporary Redirect";
case 400: return "400 Bad Request";
case 403: return "403 Forbidden";
case 404: return "404 Not Found";
case 500: return "500 Internal Server Error";
case 501: return "501 Not Implemented";
case 503: return "503 Service Unavailable";
}
return "501 Not Implemented";
}
auto Response::setData(const vector<uint8_t>& value) -> type& {
_data = value;
header.assign("Content-Length", value.size());
return *this;
}
auto Response::setFile(const string& value) -> type& {
//block path escalation exploits ("../" and "..\" in the file location)
bool valid = true;
for(uint n : range(value.size())) {
if(value(n + 0, '\0') != '.') continue;
if(value(n + 1, '\0') != '.') continue;
if(value(n + 2, '\0') != '/' && value(n + 2, '\0') != '\\') continue;
valid = false;
break;
}
if(!valid) return *this;
_file = value;
string eTag = {"\"", chrono::utc::datetime(file::timestamp(value, file::time::modify)), "\""};
header.assign("Content-Length", file::size(value));
header.assign("Cache-Control", "public");
header.assign("ETag", eTag);
return *this;
}
auto Response::setText(const string& value) -> type& {
_text = value;
header.assign("Content-Length", value.size());
return *this;
}
}}
| 34.124031 | 107 | 0.637097 | 13824125580 |
a7306721799f55e518e845b5162682e58e654467 | 13,180 | hpp | C++ | include/VROSC/CloudSessionsDataController.hpp | RedBrumbler/virtuoso-codegen | e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3 | [
"Unlicense"
] | null | null | null | include/VROSC/CloudSessionsDataController.hpp | RedBrumbler/virtuoso-codegen | e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3 | [
"Unlicense"
] | null | null | null | include/VROSC/CloudSessionsDataController.hpp | RedBrumbler/virtuoso-codegen | e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3 | [
"Unlicense"
] | null | null | null | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "beatsaber-hook/shared/utils/typedefs.h"
#include "beatsaber-hook/shared/utils/byref.hpp"
// Including type: VROSC.SessionsDataController
#include "VROSC/SessionsDataController.hpp"
#include "beatsaber-hook/shared/utils/il2cpp-utils-methods.hpp"
#include "beatsaber-hook/shared/utils/il2cpp-utils-properties.hpp"
#include "beatsaber-hook/shared/utils/il2cpp-utils-fields.hpp"
#include "beatsaber-hook/shared/utils/utils.h"
#include "beatsaber-hook/shared/utils/typedefs-string.hpp"
// Completed includes
// Begin forward declares
// Forward declaring namespace: VROSC
namespace VROSC {
// Forward declaring type: SessionUIData
class SessionUIData;
}
// Forward declaring namespace: System
namespace System {
// Forward declaring type: Action`1<T>
template<typename T>
class Action_1;
// Forward declaring type: Action
class Action;
}
// Forward declaring namespace: System::Collections::Generic
namespace System::Collections::Generic {
// Forward declaring type: List`1<T>
template<typename T>
class List_1;
}
// Completed forward declares
// Type namespace: VROSC
namespace VROSC {
// Forward declaring type: CloudSessionsDataController
class CloudSessionsDataController;
}
#include "beatsaber-hook/shared/utils/il2cpp-type-check.hpp"
NEED_NO_BOX(::VROSC::CloudSessionsDataController);
DEFINE_IL2CPP_ARG_TYPE(::VROSC::CloudSessionsDataController*, "VROSC", "CloudSessionsDataController");
// Type namespace: VROSC
namespace VROSC {
// Size: 0x31
#pragma pack(push, 1)
// Autogenerated type: VROSC.CloudSessionsDataController
// [TokenAttribute] Offset: FFFFFFFF
class CloudSessionsDataController : public ::VROSC::SessionsDataController {
public:
// Nested type: ::VROSC::CloudSessionsDataController::$$c__DisplayClass4_0
class $$c__DisplayClass4_0;
// Nested type: ::VROSC::CloudSessionsDataController::$$c
class $$c;
// Nested type: ::VROSC::CloudSessionsDataController::$$c__DisplayClass6_0
class $$c__DisplayClass6_0;
// Nested type: ::VROSC::CloudSessionsDataController::$$c__DisplayClass7_0
class $$c__DisplayClass7_0;
#ifdef USE_CODEGEN_FIELDS
public:
#else
#ifdef CODEGEN_FIELD_ACCESSIBILITY
CODEGEN_FIELD_ACCESSIBILITY:
#else
protected:
#endif
#endif
// private System.Boolean _isWaitingForData
// Size: 0x1
// Offset: 0x30
bool isWaitingForData;
// Field size check
static_assert(sizeof(bool) == 0x1);
public:
// Deleting conversion operator: operator ::VROSC::Session*
constexpr operator ::VROSC::Session*() const noexcept = delete;
// Get instance field reference: private System.Boolean _isWaitingForData
bool& dyn__isWaitingForData();
// public System.Void SaveSessionToCloud(System.String sessionId, System.Action`1<System.String> onSuccess, System.Action`1<VROSC.Error> onFailure)
// Offset: 0x1332620
void SaveSessionToCloud(::StringW sessionId, ::System::Action_1<::StringW>* onSuccess, ::System::Action_1<::VROSC::Error>* onFailure);
// public System.Void .ctor()
// Offset: 0x1332038
// Implemented from: VROSC.SessionsDataController
// Base method: System.Void SessionsDataController::.ctor()
// Base method: System.Void BaseDataController::.ctor()
// Base method: System.Void Object::.ctor()
template<::il2cpp_utils::CreationType creationType = ::il2cpp_utils::CreationType::Temporary>
static CloudSessionsDataController* New_ctor() {
static auto ___internal__logger = ::Logger::get().WithContext("::VROSC::CloudSessionsDataController::.ctor");
return THROW_UNLESS((::il2cpp_utils::New<CloudSessionsDataController*, creationType>()));
}
// public override System.Collections.Generic.List`1<VROSC.SessionUIData> GetSessionsUIData()
// Offset: 0x13320A8
// Implemented from: VROSC.SessionsDataController
// Base method: System.Collections.Generic.List`1<VROSC.SessionUIData> SessionsDataController::GetSessionsUIData()
::System::Collections::Generic::List_1<::VROSC::SessionUIData*>* GetSessionsUIData();
// public override VROSC.SessionUIData GetSessionUIData(System.String sessionId)
// Offset: 0x133229C
// Implemented from: VROSC.SessionsDataController
// Base method: VROSC.SessionUIData SessionsDataController::GetSessionUIData(System.String sessionId)
::VROSC::SessionUIData* GetSessionUIData(::StringW sessionId);
// public override System.Void LoadCloudData(System.Action onSuccess, System.Action`1<VROSC.Error> onFailure)
// Offset: 0x13323EC
// Implemented from: VROSC.BaseDataController
// Base method: System.Void BaseDataController::LoadCloudData(System.Action onSuccess, System.Action`1<VROSC.Error> onFailure)
void LoadCloudData(::System::Action* onSuccess, ::System::Action_1<::VROSC::Error>* onFailure);
// public override System.Void SaveCloudData(System.Action onSuccess, System.Action`1<VROSC.Error> onFailure)
// Offset: 0x133261C
// Implemented from: VROSC.BaseDataController
// Base method: System.Void BaseDataController::SaveCloudData(System.Action onSuccess, System.Action`1<VROSC.Error> onFailure)
void SaveCloudData(::System::Action* onSuccess, ::System::Action_1<::VROSC::Error>* onFailure);
// public override System.Void RemoveSession(System.String sessionId, System.Action onSuccess, System.Action`1<VROSC.Error> onFailure)
// Offset: 0x1332C8C
// Implemented from: VROSC.SessionsDataController
// Base method: System.Void SessionsDataController::RemoveSession(System.String sessionId, System.Action onSuccess, System.Action`1<VROSC.Error> onFailure)
void RemoveSession(::StringW sessionId, ::System::Action* onSuccess, ::System::Action_1<::VROSC::Error>* onFailure);
// protected override System.String GenerateNewSessionId()
// Offset: 0x1332E24
// Implemented from: VROSC.SessionsDataController
// Base method: System.String SessionsDataController::GenerateNewSessionId()
::StringW GenerateNewSessionId();
// protected override System.Void UserLoggedOut()
// Offset: 0x1332EAC
// Implemented from: VROSC.SessionsDataController
// Base method: System.Void SessionsDataController::UserLoggedOut()
void UserLoggedOut();
}; // VROSC.CloudSessionsDataController
#pragma pack(pop)
static check_size<sizeof(CloudSessionsDataController), 48 + sizeof(bool)> __VROSC_CloudSessionsDataControllerSizeCheck;
static_assert(sizeof(CloudSessionsDataController) == 0x31);
}
#include "beatsaber-hook/shared/utils/il2cpp-utils-methods.hpp"
// Writing MetadataGetter for method: VROSC::CloudSessionsDataController::SaveSessionToCloud
// Il2CppName: SaveSessionToCloud
template<>
struct ::il2cpp_utils::il2cpp_type_check::MetadataGetter<static_cast<void (VROSC::CloudSessionsDataController::*)(::StringW, ::System::Action_1<::StringW>*, ::System::Action_1<::VROSC::Error>*)>(&VROSC::CloudSessionsDataController::SaveSessionToCloud)> {
static const MethodInfo* get() {
static auto* sessionId = &::il2cpp_utils::GetClassFromName("System", "String")->byval_arg;
static auto* onSuccess = &::il2cpp_utils::MakeGeneric(::il2cpp_utils::GetClassFromName("System", "Action`1"), ::std::vector<const Il2CppClass*>{::il2cpp_utils::GetClassFromName("System", "String")})->byval_arg;
static auto* onFailure = &::il2cpp_utils::MakeGeneric(::il2cpp_utils::GetClassFromName("System", "Action`1"), ::std::vector<const Il2CppClass*>{::il2cpp_utils::GetClassFromName("VROSC", "Error")})->byval_arg;
return ::il2cpp_utils::FindMethod(classof(VROSC::CloudSessionsDataController*), "SaveSessionToCloud", std::vector<Il2CppClass*>(), ::std::vector<const Il2CppType*>{sessionId, onSuccess, onFailure});
}
};
// Writing MetadataGetter for method: VROSC::CloudSessionsDataController::New_ctor
// Il2CppName: .ctor
// Cannot get method pointer of value based method overload from template for constructor!
// Try using FindMethod instead!
// Writing MetadataGetter for method: VROSC::CloudSessionsDataController::GetSessionsUIData
// Il2CppName: GetSessionsUIData
template<>
struct ::il2cpp_utils::il2cpp_type_check::MetadataGetter<static_cast<::System::Collections::Generic::List_1<::VROSC::SessionUIData*>* (VROSC::CloudSessionsDataController::*)()>(&VROSC::CloudSessionsDataController::GetSessionsUIData)> {
static const MethodInfo* get() {
return ::il2cpp_utils::FindMethod(classof(VROSC::CloudSessionsDataController*), "GetSessionsUIData", std::vector<Il2CppClass*>(), ::std::vector<const Il2CppType*>{});
}
};
// Writing MetadataGetter for method: VROSC::CloudSessionsDataController::GetSessionUIData
// Il2CppName: GetSessionUIData
template<>
struct ::il2cpp_utils::il2cpp_type_check::MetadataGetter<static_cast<::VROSC::SessionUIData* (VROSC::CloudSessionsDataController::*)(::StringW)>(&VROSC::CloudSessionsDataController::GetSessionUIData)> {
static const MethodInfo* get() {
static auto* sessionId = &::il2cpp_utils::GetClassFromName("System", "String")->byval_arg;
return ::il2cpp_utils::FindMethod(classof(VROSC::CloudSessionsDataController*), "GetSessionUIData", std::vector<Il2CppClass*>(), ::std::vector<const Il2CppType*>{sessionId});
}
};
// Writing MetadataGetter for method: VROSC::CloudSessionsDataController::LoadCloudData
// Il2CppName: LoadCloudData
template<>
struct ::il2cpp_utils::il2cpp_type_check::MetadataGetter<static_cast<void (VROSC::CloudSessionsDataController::*)(::System::Action*, ::System::Action_1<::VROSC::Error>*)>(&VROSC::CloudSessionsDataController::LoadCloudData)> {
static const MethodInfo* get() {
static auto* onSuccess = &::il2cpp_utils::GetClassFromName("System", "Action")->byval_arg;
static auto* onFailure = &::il2cpp_utils::MakeGeneric(::il2cpp_utils::GetClassFromName("System", "Action`1"), ::std::vector<const Il2CppClass*>{::il2cpp_utils::GetClassFromName("VROSC", "Error")})->byval_arg;
return ::il2cpp_utils::FindMethod(classof(VROSC::CloudSessionsDataController*), "LoadCloudData", std::vector<Il2CppClass*>(), ::std::vector<const Il2CppType*>{onSuccess, onFailure});
}
};
// Writing MetadataGetter for method: VROSC::CloudSessionsDataController::SaveCloudData
// Il2CppName: SaveCloudData
template<>
struct ::il2cpp_utils::il2cpp_type_check::MetadataGetter<static_cast<void (VROSC::CloudSessionsDataController::*)(::System::Action*, ::System::Action_1<::VROSC::Error>*)>(&VROSC::CloudSessionsDataController::SaveCloudData)> {
static const MethodInfo* get() {
static auto* onSuccess = &::il2cpp_utils::GetClassFromName("System", "Action")->byval_arg;
static auto* onFailure = &::il2cpp_utils::MakeGeneric(::il2cpp_utils::GetClassFromName("System", "Action`1"), ::std::vector<const Il2CppClass*>{::il2cpp_utils::GetClassFromName("VROSC", "Error")})->byval_arg;
return ::il2cpp_utils::FindMethod(classof(VROSC::CloudSessionsDataController*), "SaveCloudData", std::vector<Il2CppClass*>(), ::std::vector<const Il2CppType*>{onSuccess, onFailure});
}
};
// Writing MetadataGetter for method: VROSC::CloudSessionsDataController::RemoveSession
// Il2CppName: RemoveSession
template<>
struct ::il2cpp_utils::il2cpp_type_check::MetadataGetter<static_cast<void (VROSC::CloudSessionsDataController::*)(::StringW, ::System::Action*, ::System::Action_1<::VROSC::Error>*)>(&VROSC::CloudSessionsDataController::RemoveSession)> {
static const MethodInfo* get() {
static auto* sessionId = &::il2cpp_utils::GetClassFromName("System", "String")->byval_arg;
static auto* onSuccess = &::il2cpp_utils::GetClassFromName("System", "Action")->byval_arg;
static auto* onFailure = &::il2cpp_utils::MakeGeneric(::il2cpp_utils::GetClassFromName("System", "Action`1"), ::std::vector<const Il2CppClass*>{::il2cpp_utils::GetClassFromName("VROSC", "Error")})->byval_arg;
return ::il2cpp_utils::FindMethod(classof(VROSC::CloudSessionsDataController*), "RemoveSession", std::vector<Il2CppClass*>(), ::std::vector<const Il2CppType*>{sessionId, onSuccess, onFailure});
}
};
// Writing MetadataGetter for method: VROSC::CloudSessionsDataController::GenerateNewSessionId
// Il2CppName: GenerateNewSessionId
template<>
struct ::il2cpp_utils::il2cpp_type_check::MetadataGetter<static_cast<::StringW (VROSC::CloudSessionsDataController::*)()>(&VROSC::CloudSessionsDataController::GenerateNewSessionId)> {
static const MethodInfo* get() {
return ::il2cpp_utils::FindMethod(classof(VROSC::CloudSessionsDataController*), "GenerateNewSessionId", std::vector<Il2CppClass*>(), ::std::vector<const Il2CppType*>{});
}
};
// Writing MetadataGetter for method: VROSC::CloudSessionsDataController::UserLoggedOut
// Il2CppName: UserLoggedOut
template<>
struct ::il2cpp_utils::il2cpp_type_check::MetadataGetter<static_cast<void (VROSC::CloudSessionsDataController::*)()>(&VROSC::CloudSessionsDataController::UserLoggedOut)> {
static const MethodInfo* get() {
return ::il2cpp_utils::FindMethod(classof(VROSC::CloudSessionsDataController*), "UserLoggedOut", std::vector<Il2CppClass*>(), ::std::vector<const Il2CppType*>{});
}
};
| 61.302326 | 254 | 0.754932 | RedBrumbler |
a73fda15f19e9d1263342501b6c2820aab56159f | 3,978 | hpp | C++ | mapproxy/src/mapproxy/support/introspection.hpp | melowntech/vts-mapproxy | 241ba43c1f7dcc226ec0f2089d47e11c699c2587 | [
"BSD-2-Clause"
] | 13 | 2019-05-03T06:09:47.000Z | 2022-01-10T05:05:45.000Z | mapproxy/src/mapproxy/support/introspection.hpp | melowntech/vts-mapproxy | 241ba43c1f7dcc226ec0f2089d47e11c699c2587 | [
"BSD-2-Clause"
] | 10 | 2019-04-16T12:43:30.000Z | 2022-02-08T02:44:09.000Z | mapproxy/src/mapproxy/support/introspection.hpp | melowntech/vts-mapproxy | 241ba43c1f7dcc226ec0f2089d47e11c699c2587 | [
"BSD-2-Clause"
] | 4 | 2019-09-25T04:57:57.000Z | 2022-01-10T05:05:46.000Z | /**
* Copyright (c) 2017 Melown Technologies SE
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
*
* * Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef mapproxy_support_introspection_hpp_included_
#define mapproxy_support_introspection_hpp_included_
#include <vector>
#include <functional>
#include <boost/variant.hpp>
#include "../resource.hpp"
// fwd
namespace Json { class Value; }
namespace vtslibs { namespace vts { struct ExtraTileSetProperties; } }
namespace introspection {
typedef Resource::Id LocalLayer;
struct RemoteLayer {
std::string id;
std::string url;
RemoteLayer(const std::string &id = std::string()
, const std::string &url = std::string())
: id(id), url(url) {}
bool operator<(const RemoteLayer &o) const;
bool operator==(const RemoteLayer &o) const;
};
typedef boost::variant<LocalLayer, RemoteLayer> Layer;
typedef std::vector<Layer> Layers;
typedef std::function<const Resource*(Resource::Generator::Type
, const Resource::Id&)> FindResource;
void add(vts::ExtraTileSetProperties &extra, Resource::Generator::Type type
, const Layer &layer, const Resource &resource
, const FindResource &findResource);
void add(vts::ExtraTileSetProperties &extra, Resource::Generator::Type type
, const Layers &layers, const Resource &resource
, const FindResource &findResource);
boost::optional<RemoteLayer>
remote(Resource::Generator::Type type, const Layer &layer
, const Resource &resource, const FindResource &findResource);
/** ------------------------------------------------------------------------
* Parsing
*/
Layers layersFrom(const Json::Value &introspection, const std::string &key);
void layersTo(Json::Value &introspection, const std::string &key
, const Layers &layers);
Resource::OptId idFrom(const Json::Value &introspection
, const std::string &key);
void idTo(Json::Value &introspection, const std::string &key
, const Resource::OptId &resource);
// inlines
inline bool RemoteLayer::operator<(const RemoteLayer &o) const {
if (id < o.id) { return true; }
else if (o.id < id) { return false; }
return url < o.url;
}
inline bool RemoteLayer::operator==(const RemoteLayer &o) const {
return ((id == o.id) && (url == o.url));
}
inline void add(vts::ExtraTileSetProperties &extra
, Resource::Generator::Type type, const Layers &layers
, const Resource &resource, const FindResource &findResource)
{
for (const auto &layer : layers) {
add(extra, type, layer, resource, findResource);
}
}
} // namespace introspection
#endif // mapproxy_support_serialization_hpp_included_
| 34.894737 | 78 | 0.695827 | melowntech |
a7481677b23c1ebd8de64c4458abdfadf511d94c | 979 | cpp | C++ | src/abstract_charset_detector.cpp | fougue/cassolette | 0aa8449f5a675f7ce3c897318c4872ed104e2835 | [
"CECILL-B"
] | null | null | null | src/abstract_charset_detector.cpp | fougue/cassolette | 0aa8449f5a675f7ce3c897318c4872ed104e2835 | [
"CECILL-B"
] | null | null | null | src/abstract_charset_detector.cpp | fougue/cassolette | 0aa8449f5a675f7ce3c897318c4872ed104e2835 | [
"CECILL-B"
] | 1 | 2019-04-01T03:56:41.000Z | 2019-04-01T03:56:41.000Z | /****************************************************************************
** Cassolette
** Copyright Fougue Ltd. (15 Apr. 2014)
** contact@fougue.pro
**
** This software is a computer program whose purpose is to analyse and convert
** the encoding of text files.
**
** This software is governed by the CeCILL-B license under French law and
** abiding by the rules of distribution of free software. You can use,
** modify and/ or redistribute the software under the terms of the CeCILL-B
** license as circulated by CEA, CNRS and INRIA at the following URL
** "http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html".
****************************************************************************/
#include "abstract_charset_detector.h"
AbstractCharsetDetector::~AbstractCharsetDetector()
{
}
AbstractCharsetDetector::Error::Error()
: code(-1)
{
}
AbstractCharsetDetector::Error::Error(int64_t pCode, const QString &msg)
: code(pCode),
message(msg)
{
}
| 30.59375 | 78 | 0.62002 | fougue |
a74f297de30a8fe10ec7dccbc7d96fa9b730d225 | 926 | cpp | C++ | HDUOJ/5724.cpp | LzyRapx/Competitive-Programming | 6b0eea727f9a6444700a6966209397ac7011226f | [
"Apache-2.0"
] | 81 | 2018-06-03T04:27:45.000Z | 2020-09-13T09:04:12.000Z | HDUOJ/5725.cpp | Walkerlzy/Competitive-algorithm | 6b0eea727f9a6444700a6966209397ac7011226f | [
"Apache-2.0"
] | null | null | null | HDUOJ/5725.cpp | Walkerlzy/Competitive-algorithm | 6b0eea727f9a6444700a6966209397ac7011226f | [
"Apache-2.0"
] | 21 | 2018-07-11T04:02:38.000Z | 2020-07-18T20:31:14.000Z | #include<bits/stdc++.h>
#pragma comment(linker, "/STACK:102400000,102400000")
using namespace std;
int d[25],f[1050000];
int get(int x) {
int i,bo=0,w;
for (i=1;i<=20;i++)
if ((1<<i)-1==x) return 0;
memset(d,0,sizeof(d));
for (i=0;i<20;i++)
if ((1<<i)>x) break ;
else if (((1<<i)&x)==0) { bo=1;w=i; }
else if (bo) {
d[f[x-(1<<i)+(1<<w)]]=1;
}
for (i=0;i<25;i++)
if (!d[i]) return i;
}
int main()
{
int i,j,g,x,n,t,sum,ans;
f[0]=0;
for(i=1;i<=(1<<20);i++) f[i]=get(i);
scanf("%d", &t);
while (t--) {
scanf("%d", &n);ans=0;
for (i=1;i<=n;i++) {
scanf("%d", &g);sum=0;
for (j=1;j<=g;j++) {
scanf("%d", &x);sum+=1<<(20-x);
}
ans^=f[sum];
}
if (ans) printf("YES\n");
else printf("NO\n");
}
return 0;
} | 24.368421 | 54 | 0.390929 | LzyRapx |
a7506fec30c0c89941d85e775b8127bd98ca25df | 10,066 | cpp | C++ | src/Frameworks/Gleam/Gleam_ProgramBase.cpp | Connway/Shibboleth | 23dda9a066db8dfaf8c8d56cb1e3d9929b6ced35 | [
"MIT"
] | 1 | 2020-04-06T17:35:47.000Z | 2020-04-06T17:35:47.000Z | src/Frameworks/Gleam/Gleam_ProgramBase.cpp | Connway/Shibboleth | 23dda9a066db8dfaf8c8d56cb1e3d9929b6ced35 | [
"MIT"
] | null | null | null | src/Frameworks/Gleam/Gleam_ProgramBase.cpp | Connway/Shibboleth | 23dda9a066db8dfaf8c8d56cb1e3d9929b6ced35 | [
"MIT"
] | null | null | null | /************************************************************************************
Copyright (C) 2021 by Nicholas LaCroix
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
************************************************************************************/
#include "Gleam_ProgramBase.h"
#include "Gleam_IShaderResourceView.h"
#include "Gleam_ISamplerState.h"
#include "Gleam_IBuffer.h"
#include <Gaff_Assert.h>
NS_GLEAM
// ProgramBuffers
ProgramBuffersBase::ProgramBuffersBase(void)
{
}
ProgramBuffersBase::~ProgramBuffersBase(void)
{
}
const Vector<IBuffer*>& ProgramBuffersBase::getConstantBuffers(IShader::Type type) const
{
GAFF_ASSERT(static_cast<int32_t>(type) < (static_cast<int32_t>(IShader::Type::Count) - 1));
return _constant_buffers[static_cast<int32_t>(type)];
}
const IBuffer* ProgramBuffersBase::getConstantBuffer(IShader::Type type, int32_t index) const
{
GAFF_ASSERT(static_cast<int32_t>(type) < (static_cast<int32_t>(IShader::Type::Count) - 1) && index < static_cast<int32_t>(_constant_buffers[static_cast<int32_t>(type)].size()));
return _constant_buffers[static_cast<int32_t>(type)][index];
}
IBuffer* ProgramBuffersBase::getConstantBuffer(IShader::Type type, int32_t index)
{
GAFF_ASSERT(static_cast<int32_t>(type) < (static_cast<int32_t>(IShader::Type::Count) - 1) && index < static_cast<int32_t>(_constant_buffers[static_cast<int32_t>(type)].size()));
return _constant_buffers[static_cast<int32_t>(type)][index];
}
void ProgramBuffersBase::addConstantBuffer(IShader::Type type, IBuffer* const_buffer)
{
GAFF_ASSERT(static_cast<int32_t>(type) < (static_cast<int32_t>(IShader::Type::Count) - 1) && const_buffer && const_buffer->getRendererType() == getRendererType());
_constant_buffers[static_cast<int32_t>(type)].emplace_back(const_buffer);
}
void ProgramBuffersBase::removeConstantBuffer(IShader::Type type, int32_t index)
{
GAFF_ASSERT(static_cast<int32_t>(type) < static_cast<int32_t>(IShader::Type::Count) && index < static_cast<int32_t>(_constant_buffers[static_cast<int32_t>(type)].size()));
_constant_buffers[static_cast<int32_t>(type)].erase(_constant_buffers[static_cast<int32_t>(type)].begin() + index);
}
void ProgramBuffersBase::popConstantBuffer(IShader::Type type, int32_t count)
{
GAFF_ASSERT(static_cast<int32_t>(type) < static_cast<int32_t>(IShader::Type::Count) && count <= static_cast<int32_t>(_constant_buffers[static_cast<int32_t>(type)].size()));
while (count) {
_constant_buffers[static_cast<int32_t>(type)].pop_back();
--count;
}
}
int32_t ProgramBuffersBase::getConstantBufferCount(IShader::Type type) const
{
return static_cast<int32_t>(_constant_buffers[static_cast<int32_t>(type)].size());
}
int32_t ProgramBuffersBase::getConstantBufferCount(void) const
{
int32_t count = 0;
for (int32_t i = 0; i < (static_cast<int32_t>(IShader::Type::Count) - 1); ++i) {
count += static_cast<int32_t>(_constant_buffers[i].size());
}
return count;
}
const Vector<IShaderResourceView*>& ProgramBuffersBase::getResourceViews(IShader::Type type) const
{
GAFF_ASSERT(static_cast<int32_t>(type) < (static_cast<int32_t>(IShader::Type::Count) - 1));
return _resource_views[static_cast<int32_t>(type)];
}
const IShaderResourceView* ProgramBuffersBase::getResourceView(IShader::Type type, int32_t index) const
{
GAFF_ASSERT(static_cast<int32_t>(type) < static_cast<int32_t>(IShader::Type::Count) && index < static_cast<int32_t>(_resource_views[static_cast<int32_t>(type)].size()));
return _resource_views[static_cast<int32_t>(type)][index];
}
IShaderResourceView* ProgramBuffersBase::getResourceView(IShader::Type type, int32_t index)
{
GAFF_ASSERT(static_cast<int32_t>(type) < static_cast<int32_t>(IShader::Type::Count) && index < static_cast<int32_t>(_resource_views[static_cast<int32_t>(type)].size()));
return _resource_views[static_cast<int32_t>(type)][index];
}
void ProgramBuffersBase::addResourceView(IShader::Type type, IShaderResourceView* resource_view)
{
GAFF_ASSERT(static_cast<int32_t>(type) < static_cast<int32_t>(IShader::Type::Count) && resource_view && resource_view->getRendererType() == getRendererType());
_resource_views[static_cast<int32_t>(type)].emplace_back(resource_view);
}
void ProgramBuffersBase::removeResourceView(IShader::Type type, int32_t index)
{
GAFF_ASSERT(static_cast<int32_t>(type) < static_cast<int32_t>(IShader::Type::Count) && index < static_cast<int32_t>(_resource_views[static_cast<int32_t>(type)].size()));
_resource_views[static_cast<int32_t>(type)].erase(_resource_views[static_cast<int32_t>(type)].begin() + index);
}
void ProgramBuffersBase::popResourceView(IShader::Type type, int32_t count)
{
GAFF_ASSERT(static_cast<int32_t>(type) < static_cast<int32_t>(IShader::Type::Count) && count <= static_cast<int32_t>(_resource_views[static_cast<int32_t>(type)].size()));
while (count) {
_resource_views[static_cast<int32_t>(type)].pop_back();
--count;
}
}
void ProgramBuffersBase::setResourceView(IShader::Type type, int32_t index, IShaderResourceView* resource_view)
{
GAFF_ASSERT(static_cast<int32_t>(type) < static_cast<int32_t>(IShader::Type::Count) && index <= static_cast<int32_t>(_resource_views[static_cast<int32_t>(type)].size()));
_resource_views[static_cast<int32_t>(type)][index] = resource_view;
}
int32_t ProgramBuffersBase::getResourceViewCount(IShader::Type type) const
{
GAFF_ASSERT(static_cast<int32_t>(type) < static_cast<int32_t>(IShader::Type::Count));
return static_cast<int32_t>(_resource_views[static_cast<int32_t>(type)].size());
}
int32_t ProgramBuffersBase::getResourceViewCount(void) const
{
int32_t count = 0;
for (int32_t i = 0; i < (static_cast<int32_t>(IShader::Type::Count) - 1); ++i) {
count += static_cast<int32_t>(_resource_views[i].size());
}
return count;
}
const Vector<ISamplerState*>& ProgramBuffersBase::getSamplerStates(IShader::Type type) const
{
GAFF_ASSERT(static_cast<int32_t>(type) < static_cast<int32_t>(IShader::Type::Count));
return _sampler_states[static_cast<int32_t>(type)];
}
const ISamplerState* ProgramBuffersBase::getSamplerState(IShader::Type type, int32_t index) const
{
GAFF_ASSERT((static_cast<int32_t>(type) < static_cast<int32_t>(IShader::Type::Count)) && (index < static_cast<int32_t>(_sampler_states[static_cast<int32_t>(type)].size())));
return _sampler_states[static_cast<int32_t>(type)][index];
}
ISamplerState* ProgramBuffersBase::getSamplerState(IShader::Type type, int32_t index)
{
GAFF_ASSERT((static_cast<int32_t>(type) < static_cast<int32_t>(IShader::Type::Count)) && (index < static_cast<int32_t>(_sampler_states[static_cast<int32_t>(type)].size())));
return _sampler_states[static_cast<int32_t>(type)][index];
}
void ProgramBuffersBase::addSamplerState(IShader::Type type, ISamplerState* sampler)
{
GAFF_ASSERT((static_cast<int32_t>(type) < static_cast<int32_t>(IShader::Type::Count)) && sampler && (sampler->getRendererType() == getRendererType()));
_sampler_states[static_cast<int32_t>(type)].emplace_back(sampler);
}
void ProgramBuffersBase::removeSamplerState(IShader::Type type, int32_t index)
{
GAFF_ASSERT((static_cast<int32_t>(type) < static_cast<int32_t>(IShader::Type::Count)) && (index < static_cast<int32_t>(_sampler_states[static_cast<int32_t>(type)].size())));
_sampler_states[static_cast<int32_t>(type)].erase(_sampler_states[static_cast<int32_t>(type)].begin() + index);
}
void ProgramBuffersBase::popSamplerState(IShader::Type type, int32_t count)
{
GAFF_ASSERT((static_cast<int32_t>(type) < static_cast<int32_t>(IShader::Type::Count)) && (count <= static_cast<int32_t>(_sampler_states[static_cast<int32_t>(type)].size())));
while (count) {
_sampler_states[static_cast<int32_t>(type)].pop_back();
--count;
}
}
int32_t ProgramBuffersBase::getSamplerCount(IShader::Type type) const
{
GAFF_ASSERT(static_cast<int32_t>(type) < static_cast<int32_t>(IShader::Type::Count));
return static_cast<int32_t>(_sampler_states[static_cast<int32_t>(type)].size());
}
int32_t ProgramBuffersBase::getSamplerCount(void) const
{
int32_t count = 0;
for (int32_t i = 0; i < (static_cast<int32_t>(IShader::Type::Count) - 1); ++i) {
count += static_cast<int32_t>(_sampler_states[i].size());
}
return count;
}
// IProgram
ProgramBase::ProgramBase(void)
{
}
ProgramBase::~ProgramBase(void)
{
}
const IShader* ProgramBase::getAttachedShader(IShader::Type type) const
{
GAFF_ASSERT((static_cast<int32_t>(type) >= static_cast<int32_t>(IShader::Type::Vertex)) && (static_cast<int32_t>(type) < static_cast<int32_t>(IShader::Type::Count)));
return _attached_shaders[static_cast<int32_t>(type)];
}
IShader* ProgramBase::getAttachedShader(IShader::Type type)
{
GAFF_ASSERT((static_cast<int32_t>(type) >= static_cast<int32_t>(IShader::Type::Vertex)) && (static_cast<int32_t>(type) < static_cast<int32_t>(IShader::Type::Count)));
return _attached_shaders[static_cast<int32_t>(type)];
}
NS_END
| 41.941667 | 179 | 0.739519 | Connway |
a750ee35f89fdefba3041485e948fe46ae269a2a | 28,707 | cpp | C++ | c-src/Fl_Menu_C.cpp | ericu/fltkhs | 3ca521ca30d51a84f8ec87938932f2ce5af8a7c0 | [
"MIT"
] | 222 | 2015-01-11T19:01:16.000Z | 2022-03-25T14:47:26.000Z | c-src/Fl_Menu_C.cpp | ericu/fltkhs | 3ca521ca30d51a84f8ec87938932f2ce5af8a7c0 | [
"MIT"
] | 143 | 2015-01-13T19:08:33.000Z | 2021-10-10T20:43:46.000Z | c-src/Fl_Menu_C.cpp | ericu/fltkhs | 3ca521ca30d51a84f8ec87938932f2ce5af8a7c0 | [
"MIT"
] | 36 | 2015-01-14T15:30:18.000Z | 2021-08-11T13:04:28.000Z | #include "Fl_Menu_C.h"
#include "UtilsC.h"
#ifdef __cplusplus
Fl_DerivedMenu_::Fl_DerivedMenu_(int X, int Y, int W, int H, const char *l, fl_Menu__Virtual_Funcs* funcs) : Fl_Menu_(X,Y,W,H,l){
overriddenFuncs = funcs;
other_data = 0;
}
Fl_DerivedMenu_::Fl_DerivedMenu_(int X, int Y, int W, int H, fl_Menu__Virtual_Funcs* funcs):Fl_Menu_(X,Y,W,H,0){
overriddenFuncs = funcs;
other_data = 0;
}
Fl_DerivedMenu_::~Fl_DerivedMenu_(){
destroy_data();
free(overriddenFuncs);
}
void* Fl_DerivedMenu_::get_other_data(){
return this->other_data;
}
void Fl_DerivedMenu_::set_other_data(void* data){
this->other_data = data;
}
void Fl_DerivedMenu_::destroy_data(){
if (this->overriddenFuncs->destroy_data != NULL){
fl_DoNotCall* fps = NULL;
int num_fps = C_to_Fl_Callback::function_pointers_to_free(this->overriddenFuncs,&fps);
fl_Callback* cb = C_to_Fl_Callback::get_callback(this);
Function_Pointers_To_Free* res = C_to_Fl_Callback::gather_function_pointers(num_fps+1,num_fps,fps,(fl_DoNotCall)cb);
this->overriddenFuncs->destroy_data((fl_Menu_)this,res);
if (fps) { free(fps); }
free(res);
}
}
const Fl_Menu_Item* Fl_DerivedMenu_::get_menu_item_by_index(int i) {
return &menu()[i];
}
int Fl_DerivedMenu_::handle(int event){
int i;
if (this->overriddenFuncs->handle != NULL) {
i = this->overriddenFuncs->handle((fl_Menu_) this,event);
}
else {
i = Fl_Menu_::handle(event);
}
return i;
}
void Fl_DerivedMenu_::resize(int x, int y, int w, int h){
if (this->overriddenFuncs->resize != NULL) {
this->overriddenFuncs->resize((fl_Menu_) this,x,y,w,h);
}
else {
Fl_Menu_::resize(x,y,w,h);
}
}
void Fl_DerivedMenu_::show(){
if (this->overriddenFuncs->show != NULL) {
this->overriddenFuncs->show((fl_Menu_) this);
}
else {
Fl_Menu_::show();
}
}
void Fl_DerivedMenu_::hide(){
if (this->overriddenFuncs->hide != NULL) {
this->overriddenFuncs->hide((fl_Menu_) this);
}
else {
Fl_Menu_::hide();
}
}
void Fl_DerivedMenu_::draw(){
this->overriddenFuncs->draw((fl_Menu_) this);
}
void Fl_DerivedMenu_::draw_box(){
Fl_Widget::draw_box();
}
Fl_Window* Fl_DerivedMenu_::as_window(){
Fl_Window* win;
if (this->overriddenFuncs->as_window != NULL) {
win = (static_cast<Fl_Window*>(this->overriddenFuncs->as_window((fl_Menu_) this)));
}
else {
win = Fl_Menu_::as_window();
}
return win;
}
Fl_Group* Fl_DerivedMenu_::as_group(){
Fl_Group* win;
if (this->overriddenFuncs->as_group != NULL) {
win = (static_cast<Fl_Group*>(this->overriddenFuncs->as_group((fl_Menu_) this)));
}
else {
win = Fl_Menu_::as_group();
}
return win;
}
Fl_Group* Fl_DerivedMenu_::as_group_super(){
return Fl_Menu_::as_group();
}
Fl_Gl_Window* Fl_DerivedMenu_::as_gl_window(){
Fl_Gl_Window* win;
if (this->overriddenFuncs->as_gl_window != NULL) {
win = (static_cast<Fl_Gl_Window*>(this->overriddenFuncs->as_gl_window((fl_Menu_) this)));
}
else {
win = Fl_Menu_::as_gl_window();
}
return win;
}
EXPORT {
#endif
FL_EXPORT_C(fl_Menu__Virtual_Funcs*, Fl_Menu__default_virtual_funcs)(){
fl_Menu__Virtual_Funcs* ptr = (fl_Menu__Virtual_Funcs*)malloc(sizeof(fl_Menu__Virtual_Funcs));
ptr->draw = NULL;
ptr->handle = NULL;
ptr->resize = NULL;
ptr->show = NULL;
ptr->hide = NULL;
ptr->as_window = NULL;
ptr->as_gl_window = NULL;
ptr->destroy_data = NULL;
return ptr;
}
FL_EXPORT_C(int,Fl_Menu__handle_super )(fl_Menu_ menu_,int event){
return (static_cast<Fl_Menu_*>(menu_))->Fl_Menu_::handle(event);
}
FL_EXPORT_C(int,Fl_DerivedMenu__handle )(fl_Menu_ menu_, int event){
return (static_cast<Fl_DerivedMenu_*>(menu_))->handle(event);
}
FL_EXPORT_C(int,Fl_Menu__handle )(fl_Menu_ menu_, int event){
return (static_cast<Fl_DerivedMenu_*>(menu_))->Fl_Menu_::handle(event);
}
FL_EXPORT_C(void,Fl_Menu__resize_super )(fl_Menu_ menu_,int x, int y, int w, int h){
(static_cast<Fl_Menu_*>(menu_))->Fl_Menu_::resize(x,y,w,h);
}
FL_EXPORT_C(void,Fl_DerivedMenu__resize )(fl_Menu_ menu_,int x, int y, int w, int h){
(static_cast<Fl_DerivedMenu_*>(menu_))->resize(x,y,w,h);
}
FL_EXPORT_C(void,Fl_Menu__resize )(fl_Menu_ menu_,int x, int y, int w, int h){
(static_cast<Fl_DerivedMenu_*>(menu_))->Fl_Menu_::resize(x,y,w,h);
}
FL_EXPORT_C(void,Fl_Menu__show_super)(fl_Menu_ menu_){
(static_cast<Fl_Menu_*>(menu_))->Fl_Menu_::show();
}
FL_EXPORT_C(void,Fl_DerivedMenu__show )(fl_Menu_ menu_){
(static_cast<Fl_DerivedMenu_*>(menu_))->show();
}
FL_EXPORT_C(void,Fl_Menu__show )(fl_Menu_ menu_){
(static_cast<Fl_DerivedMenu_*>(menu_))->Fl_Menu_::show();
}
FL_EXPORT_C(void,Fl_Menu__hide_super)(fl_Menu_ menu_){
(static_cast<Fl_Menu_*>(menu_))->Fl_Menu_::hide();
}
FL_EXPORT_C(void,Fl_DerivedMenu__hide )(fl_Menu_ menu_){
(static_cast<Fl_DerivedMenu_*>(menu_))->hide();
}
FL_EXPORT_C(void,Fl_Menu__hide )(fl_Menu_ menu_){
(static_cast<Fl_DerivedMenu_*>(menu_))->Fl_Menu_::hide();
}
FL_EXPORT_C(fl_Window,Fl_Menu__as_window_super)(fl_Menu_ menu_){
return (fl_Window)(static_cast<Fl_Menu_*>(menu_))->Fl_Menu_::as_window();
}
FL_EXPORT_C(fl_Window,Fl_Menu__as_window )(fl_Menu_ menu_){
return (fl_Window)(static_cast<Fl_DerivedMenu_*>(menu_))->as_window();
}
FL_EXPORT_C(fl_Group,Fl_Menu__as_group_super)(fl_Menu_ menu_){
return (fl_Group)(static_cast<Fl_DerivedMenu_*>(menu_))->as_group_super();
}
FL_EXPORT_C(fl_Group,Fl_Menu__as_group )(fl_Menu_ menu_){
return (fl_Group)(static_cast<Fl_DerivedMenu_*>(menu_))->as_group();
}
FL_EXPORT_C(fl_Gl_Window,Fl_Menu__as_gl_window_super)(fl_Menu_ menu_){
return (fl_Gl_Window) (static_cast<Fl_Menu_*>(menu_))->Fl_Menu_::as_gl_window();
}
FL_EXPORT_C(fl_Gl_Window,Fl_Menu__as_gl_window )(fl_Menu_ menu_){
return (fl_Gl_Window) (static_cast<Fl_DerivedMenu_*>(menu_))->as_gl_window();
};
FL_EXPORT_C(fl_Group,Fl_Menu__parent)(fl_Menu_ menu_){
return (fl_Group) (static_cast<Fl_DerivedMenu_*>(menu_))->parent();
}
FL_EXPORT_C(void,Fl_Menu__set_parent)(fl_Menu_ menu_,fl_Group grp){
(static_cast<Fl_DerivedMenu_*>(menu_))->parent((static_cast<Fl_Group*>(grp)));
}
FL_EXPORT_C(uchar,Fl_Menu__type)(fl_Menu_ menu_){
return (static_cast<Fl_DerivedMenu_*>(menu_))->type();
}
FL_EXPORT_C(void,Fl_Menu__set_type)(fl_Menu_ menu_,uchar t){
(static_cast<Fl_DerivedMenu_*>(menu_))->type(t);
}
// FL_EXPORT_C(void, Fl_Menu__draw_box)(fl_Menu_ Menu_){
// (static_cast<Fl_DerivedMenu_*>(Menu_))->draw_box();
// }
// FL_EXPORT_C(void, Fl_Menu__draw_box_with_tc)(fl_Menu_ Menu_,Fl_Boxtype t, Fl_Color c){
// (static_cast<Fl_DerivedMenu_*>(Menu_))->draw_box(t,c);
// }
// FL_EXPORT_C(void, Fl_Menu__draw_box_with_txywhc)(fl_Menu_ Menu_,Fl_Boxtype t, int x,int y,int w,int h, Fl_Color c){
// (static_cast<Fl_DerivedMenu_*>(Menu_))->draw_box(t,x,y,w,h,c);
// }
// FL_EXPORT_C(void, Fl_Menu__draw_backdrop)(fl_Menu_ Menu_){
// (static_cast<Fl_DerivedMenu_*>(Menu_))->draw_backdrop();
// }
// FL_EXPORT_C(void, Fl_Menu__draw_focus)(fl_Menu_ Menu_){
// (static_cast<Fl_DerivedMenu_*>(Menu_))->draw_focus();
// }
// FL_EXPORT_C(void, Fl_Menu__draw_focus_with_txywh)(fl_Menu_ Menu_,Fl_Boxtype t, int x,int y,int w,int h){
// (static_cast<Fl_DerivedMenu_*>(Menu_))->draw_focus(t,x,y,w,h);
// }
// FL_EXPORT_C(void, Fl_Menu__draw_label)(fl_Menu_ Menu_){
// (static_cast<Fl_DerivedMenu_*>(Menu_))->draw_label();
// }
FL_EXPORT_C(int,Fl_Menu__x)(fl_Menu_ menu_){
return (static_cast<Fl_DerivedMenu_*>(menu_))->x();
}
FL_EXPORT_C(int,Fl_Menu__y)(fl_Menu_ menu_){
return (static_cast<Fl_DerivedMenu_*>(menu_))->y();
}
FL_EXPORT_C(int,Fl_Menu__w)(fl_Menu_ menu_){
return (static_cast<Fl_DerivedMenu_*>(menu_))->w();
}
FL_EXPORT_C(int,Fl_Menu__h)(fl_Menu_ menu_){
return (static_cast<Fl_DerivedMenu_*>(menu_))->h();
}
FL_EXPORT_C(void,Fl_Menu__set_align)(fl_Menu_ menu_, Fl_Align alignment){
(static_cast<Fl_DerivedMenu_*>(menu_))->align(alignment);
}
FL_EXPORT_C(Fl_Align,Fl_Menu__align)(fl_Menu_ menu_){
return (static_cast<Fl_DerivedMenu_*>(menu_))->align();
}
FL_EXPORT_C(Fl_Boxtype,Fl_Menu__box)(fl_Menu_ menu_){
return (static_cast<Fl_DerivedMenu_*>(menu_))->box();
}
FL_EXPORT_C(void,Fl_Menu__set_box)(fl_Menu_ menu_,Fl_Boxtype new_box){
(static_cast<Fl_DerivedMenu_*>(menu_))->box((static_cast<Fl_Boxtype>(new_box)));
}
FL_EXPORT_C(Fl_Color,Fl_Menu__color)(fl_Menu_ menu_){
return (static_cast<Fl_DerivedMenu_*>(menu_))->color();
}
FL_EXPORT_C(void,Fl_Menu__set_color)(fl_Menu_ menu_,Fl_Color bg){
(static_cast<Fl_DerivedMenu_*>(menu_))->color(bg);
}
FL_EXPORT_C(void,Fl_Menu__set_color_with_bg_sel)(fl_Menu_ menu_,Fl_Color bg,Fl_Color a){
(static_cast<Fl_DerivedMenu_*>(menu_))->color(bg,a);
}
FL_EXPORT_C(Fl_Color,Fl_Menu__selection_color)(fl_Menu_ menu_){
return (static_cast<Fl_DerivedMenu_*>(menu_))->selection_color();
}
FL_EXPORT_C(void,Fl_Menu__set_selection_color)(fl_Menu_ menu_,Fl_Color a){
(static_cast<Fl_DerivedMenu_*>(menu_))->selection_color(a);
}
FL_EXPORT_C(const char*,Fl_Menu__label)(fl_Menu_ menu_){
return (static_cast<Fl_DerivedMenu_*>(menu_))->label();
}
FL_EXPORT_C(void,Fl_Menu__copy_label)(fl_Menu_ menu_,const char* new_label){
(static_cast<Fl_DerivedMenu_*>(menu_))->copy_label(new_label);
}
FL_EXPORT_C(void,Fl_Menu__set_label)(fl_Menu_ menu_,const char* text){
(static_cast<Fl_DerivedMenu_*>(menu_))->label(text);
}
FL_EXPORT_C(Fl_Labeltype,Fl_Menu__labeltype)(fl_Menu_ menu_){
return (static_cast<Fl_DerivedMenu_*>(menu_))->labeltype();
}
FL_EXPORT_C(void,Fl_Menu__set_labeltype)(fl_Menu_ menu_,Fl_Labeltype a){
(static_cast<Fl_DerivedMenu_*>(menu_))->labeltype(a);
}
FL_EXPORT_C(void,Fl_Menu__set_labelcolor)(fl_Menu_ menu_,Fl_Color c){
(static_cast<Fl_DerivedMenu_*>(menu_))->labelcolor(c);
}
FL_EXPORT_C(Fl_Color ,Fl_Menu__labelcolor)(fl_Menu_ menu_){
return (static_cast<Fl_DerivedMenu_*>(menu_))->labelcolor();
}
FL_EXPORT_C(Fl_Font,Fl_Menu__labelfont)(fl_Menu_ menu_){
return (static_cast<Fl_DerivedMenu_*>(menu_))->labelfont();
}
FL_EXPORT_C(void,Fl_Menu__set_labelfont)(fl_Menu_ menu_,Fl_Font c){
(static_cast<Fl_DerivedMenu_*>(menu_))->labelfont((static_cast<Fl_Font>(c)));
}
FL_EXPORT_C(Fl_Fontsize,Fl_Menu__labelsize)(fl_Menu_ menu_){
return (static_cast<Fl_DerivedMenu_*>(menu_))->labelsize();
}
FL_EXPORT_C(void,Fl_Menu__set_labelsize)(fl_Menu_ menu_,Fl_Fontsize pix){
(static_cast<Fl_DerivedMenu_*>(menu_))->labelsize((static_cast<Fl_Fontsize>(pix)));
}
FL_EXPORT_C(fl_Image,Fl_Menu__image)(fl_Menu_ menu_){
return (static_cast<Fl_DerivedMenu_*>(menu_))->image();
}
FL_EXPORT_C(void,Fl_Menu__set_image)(fl_Menu_ menu_,fl_Image pix){
(static_cast<Fl_DerivedMenu_*>(menu_))->image((static_cast<Fl_Image*>(pix)));
}
FL_EXPORT_C(fl_Image,Fl_Menu__deimage)(fl_Menu_ menu_){
return (static_cast<Fl_DerivedMenu_*>(menu_))->deimage();
}
FL_EXPORT_C(void,Fl_Menu__set_deimage)(fl_Menu_ menu_,fl_Image pix){
(static_cast<Fl_DerivedMenu_*>(menu_))->deimage((static_cast<Fl_Image*>(pix)));
}
FL_EXPORT_C(const char*,Fl_Menu__tooltip)(fl_Menu_ menu_){
return (static_cast<Fl_DerivedMenu_*>(menu_))->tooltip();
}
FL_EXPORT_C(void,Fl_Menu__copy_tooltip)(fl_Menu_ menu_,const char* text){
(static_cast<Fl_DerivedMenu_*>(menu_))->copy_tooltip(text);
}
FL_EXPORT_C(void,Fl_Menu__set_tooltip)(fl_Menu_ menu_,const char* text){
(static_cast<Fl_DerivedMenu_*>(menu_))->tooltip(text);
}
FL_EXPORT_C(void,Fl_Menu__set_callback_with_user_data)(fl_Menu_ menu_,fl_Callback cb,void* p){
Fl_Menu_* castedMenu_ = (static_cast<Fl_DerivedMenu_*>(menu_));
new C_to_Fl_Callback(castedMenu_, cb, p);
}
FL_EXPORT_C(void,Fl_Menu__set_callback)(fl_Menu_ menu_,fl_Callback cb){
Fl_Menu_* castedMenu_ = (static_cast<Fl_DerivedMenu_*>(menu_));
new C_to_Fl_Callback(castedMenu_, cb);
}
FL_EXPORT_C(void*,Fl_Menu__user_data)(fl_Menu_ menu_){
C_to_Fl_Callback* stored_cb = (static_cast<C_to_Fl_Callback*>((static_cast<Fl_DerivedMenu_*>(menu_))->user_data()));
if(stored_cb){
return stored_cb->get_user_data();
}
else {
return (static_cast<Fl_DerivedMenu_*>(menu_))->user_data();
}
}
FL_EXPORT_C(void,Fl_Menu__set_user_data)(fl_Menu_ menu_,void* v){
C_to_Fl_Callback* stored_cb = (static_cast<C_to_Fl_Callback*>((static_cast<Fl_Menu_*>(menu_))->user_data()));
if (stored_cb) {
stored_cb->set_user_data(v);
(static_cast<Fl_Menu_*>(menu_))->user_data(stored_cb);
}
else {
(static_cast<Fl_Menu_*>(menu_))->user_data(v);
}
}
FL_EXPORT_C(long,Fl_Menu__argument)(fl_Menu_ menu_){
return (static_cast<Fl_DerivedMenu_*>(menu_))->argument();
}
FL_EXPORT_C(void,Fl_Menu__set_argument)(fl_Menu_ menu_,long v){
(static_cast<Fl_DerivedMenu_*>(menu_))->argument(v);
}
FL_EXPORT_C(Fl_When,Fl_Menu__when)(fl_Menu_ menu_){
return (static_cast<Fl_DerivedMenu_*>(menu_))->when();
}
FL_EXPORT_C(void,Fl_Menu__set_when)(fl_Menu_ menu_,uchar i){
(static_cast<Fl_DerivedMenu_*>(menu_))->when(i);
}
FL_EXPORT_C(unsigned int,Fl_Menu__visible)(fl_Menu_ menu_){
return (static_cast<Fl_DerivedMenu_*>(menu_))->visible();
}
FL_EXPORT_C(int,Fl_Menu__visible_r)(fl_Menu_ menu_){
return (static_cast<Fl_DerivedMenu_*>(menu_))->visible_r();
}
FL_EXPORT_C(void,Fl_Menu__set_visible)(fl_Menu_ menu_){
(static_cast<Fl_DerivedMenu_*>(menu_))->visible();
}
FL_EXPORT_C(void,Fl_Menu__clear_visible)(fl_Menu_ menu_){
(static_cast<Fl_DerivedMenu_*>(menu_))->clear_visible();
}
FL_EXPORT_C(unsigned int,Fl_Menu__active)(fl_Menu_ menu_){
return (static_cast<Fl_DerivedMenu_*>(menu_))->active();
}
FL_EXPORT_C(int,Fl_Menu__active_r)(fl_Menu_ menu_){
return (static_cast<Fl_DerivedMenu_*>(menu_))->active_r();
}
FL_EXPORT_C(void,Fl_Menu__activate)(fl_Menu_ menu_){
(static_cast<Fl_DerivedMenu_*>(menu_))->activate();
}
FL_EXPORT_C(void,Fl_Menu__deactivate)(fl_Menu_ menu_){
(static_cast<Fl_DerivedMenu_*>(menu_))->deactivate();
}
FL_EXPORT_C(unsigned int,Fl_Menu__output)(fl_Menu_ menu_){
return (static_cast<Fl_DerivedMenu_*>(menu_))->output();
}
FL_EXPORT_C(void,Fl_Menu__set_output)(fl_Menu_ menu_){
(static_cast<Fl_DerivedMenu_*>(menu_))->output();
}
FL_EXPORT_C(void,Fl_Menu__clear_output)(fl_Menu_ menu_){
(static_cast<Fl_DerivedMenu_*>(menu_))->clear_output();
}
FL_EXPORT_C(unsigned int,Fl_Menu__takesevents)(fl_Menu_ menu_){
return (static_cast<Fl_DerivedMenu_*>(menu_))->takesevents();
}
FL_EXPORT_C(void,Fl_Menu__set_changed)(fl_Menu_ menu_){
(static_cast<Fl_DerivedMenu_*>(menu_))->changed();
}
FL_EXPORT_C(void,Fl_Menu__clear_changed)(fl_Menu_ menu_){
(static_cast<Fl_DerivedMenu_*>(menu_))->clear_changed();
}
FL_EXPORT_C(int,Fl_Menu__take_focus)(fl_Menu_ menu_){
return (static_cast<Fl_DerivedMenu_*>(menu_))->take_focus();
}
FL_EXPORT_C(void,Fl_Menu__set_visible_focus)(fl_Menu_ menu_){
(static_cast<Fl_DerivedMenu_*>(menu_))->set_visible_focus();
}
FL_EXPORT_C(void,Fl_Menu__clear_visible_focus)(fl_Menu_ menu_){
(static_cast<Fl_DerivedMenu_*>(menu_))->clear_visible_focus();
}
FL_EXPORT_C(void,Fl_Menu__modify_visible_focus)(fl_Menu_ menu_,int v){
(static_cast<Fl_DerivedMenu_*>(menu_))->visible_focus(v);
}
FL_EXPORT_C(unsigned int,Fl_Menu__visible_focus)(fl_Menu_ menu_){
return (static_cast<Fl_DerivedMenu_*>(menu_))->visible_focus();
}
FL_EXPORT_C(void,Fl_Menu__do_callback)(fl_Menu_ menu_){
(static_cast<Fl_DerivedMenu_*>(menu_))->do_callback();
}
FL_EXPORT_C(void,Fl_Menu__do_callback_with_widget_and_user_data)(fl_Menu_ menu_,fl_Widget w,long arg){
(static_cast<Fl_DerivedMenu_*>(menu_))->do_callback((static_cast<Fl_Widget*>(w)),arg);
}
FL_EXPORT_C(void,Fl_Menu__do_callback_with_widget_and_default_user_data)(fl_Menu_ menu_,fl_Widget w){
(static_cast<Fl_DerivedMenu_*>(menu_))->do_callback((static_cast<Fl_Widget*>(w)));
}
FL_EXPORT_C(int,Fl_Menu__contains)(fl_Menu_ menu_,fl_Widget w){
return (static_cast<Fl_DerivedMenu_*>(menu_))->contains((static_cast<Fl_Widget*>(w)));
}
FL_EXPORT_C(int,Fl_Menu__inside)(fl_Menu_ menu_,fl_Widget w){
return (static_cast<Fl_DerivedMenu_*>(menu_))->inside((static_cast<Fl_Widget*>(w)));
}
FL_EXPORT_C(void,Fl_Menu__redraw)(fl_Menu_ menu_){
(static_cast<Fl_DerivedMenu_*>(menu_))->redraw();
}
FL_EXPORT_C(void,Fl_Menu__redraw_label)(fl_Menu_ menu_){
(static_cast<Fl_DerivedMenu_*>(menu_))->redraw_label();
}
FL_EXPORT_C(uchar,Fl_Menu__damage)(fl_Menu_ menu_){
return (static_cast<Fl_DerivedMenu_*>(menu_))->damage();
}
FL_EXPORT_C(void,Fl_Menu__clear_damage_with_bitmask)(fl_Menu_ menu_,uchar c){
(static_cast<Fl_DerivedMenu_*>(menu_))->clear_damage(c);
}
FL_EXPORT_C(void,Fl_Menu__clear_damage)(fl_Menu_ menu_){
(static_cast<Fl_DerivedMenu_*>(menu_))->clear_damage();
}
FL_EXPORT_C(void,Fl_Menu__damage_with_text)(fl_Menu_ menu_,uchar c){
(static_cast<Fl_DerivedMenu_*>(menu_))->damage(c);
}
FL_EXPORT_C(void,Fl_Menu__damage_inside_widget)(fl_Menu_ menu_,uchar c,int x,int y,int w,int h){
(static_cast<Fl_DerivedMenu_*>(menu_))->damage(c,x,y,w,h);
}
// FL_EXPORT_C(void,Fl_Menu__draw_label_with_xywh_alignment)(fl_Menu_ menu_,int x,int y,int w,int h,Fl_Align alignment){
// (static_cast<Fl_DerivedMenu_*>(menu_))->draw_label(x,y,w,h,alignment);
// }
FL_EXPORT_C(void,Fl_Menu__measure_label)(fl_Menu_ menu_,int* ww,int* hh){
(static_cast<Fl_DerivedMenu_*>(menu_))->measure_label(*ww,*hh);
}
FL_EXPORT_C(void*, Fl_Menu__other_data)(fl_Menu_ menu_){
return (static_cast<Fl_DerivedMenu_*>(menu_))->get_other_data();
}
FL_EXPORT_C(void, Fl_Menu__set_other_data)(fl_Menu_ menu_, void* v){
(static_cast<Fl_DerivedMenu_*>(menu_))->set_other_data(v);
}
FL_EXPORT_C(fl_Menu_, Fl_Menu__New_WithLabel)(int x, int y, int w, int h, const char* label) {
fl_Menu__Virtual_Funcs* funcs = Fl_Menu__default_virtual_funcs();
Fl_DerivedMenu_* menu_ = new Fl_DerivedMenu_(x,y,w,h,label,funcs);
return (static_cast<fl_Menu_>(menu_));
}
FL_EXPORT_C(fl_Menu_, Fl_OverriddenMenu__New_WithLabel)(int x, int y, int w, int h, const char* label, fl_Menu__Virtual_Funcs* funcs) {
Fl_DerivedMenu_* box = new Fl_DerivedMenu_(x,y,w,h,label,funcs);
return (static_cast<fl_Menu_>(box));
}
FL_EXPORT_C(fl_Menu_, Fl_Menu__New)(int x, int y, int w, int h) {
fl_Menu__Virtual_Funcs* funcs = Fl_Menu__default_virtual_funcs();
Fl_DerivedMenu_* menu_ = new Fl_DerivedMenu_(x,y,w,h,0,funcs);
return (fl_Menu_)menu_;
}
FL_EXPORT_C(fl_Menu_ , Fl_OverriddenMenu__New)(int x, int y, int w, int h, fl_Menu__Virtual_Funcs* funcs){
Fl_DerivedMenu_* menu_ = new Fl_DerivedMenu_(x,y,w,h,0,funcs);
return (fl_Menu_)menu_;
}
FL_EXPORT_C(void , Fl_Menu__Destroy)(fl_Menu_ menu_){
delete (static_cast<Fl_DerivedMenu_*>(menu_));
}
FL_EXPORT_C(int,Fl_Menu__item_pathname_with_finditem)(fl_Menu_ menu_,char* name,int namelen,fl_Menu_Item finditem){
return (static_cast<Fl_DerivedMenu_*>(menu_))->item_pathname(name,namelen,(static_cast<Fl_Menu_Item*>(finditem)));
}
FL_EXPORT_C(int,Fl_Menu__item_pathname)(fl_Menu_ menu_,char* name,int namelen){
return (static_cast<Fl_DerivedMenu_*>(menu_))->item_pathname(name,namelen);
}
FL_EXPORT_C(fl_Menu_Item,Fl_Menu__picked)(fl_Menu_ menu_,fl_Menu_Item item){
return (fl_Menu_Item)(static_cast<Fl_DerivedMenu_*>(menu_))->picked((static_cast<Fl_Menu_Item*>(item)));
}
FL_EXPORT_C(fl_Menu_Item,Fl_Menu__find_item_with_name)(fl_Menu_ menu_,char* name){
return (fl_Menu_Item)(static_cast<Fl_DerivedMenu_*>(menu_))->find_item(name);
}
FL_EXPORT_C(int,Fl_Menu__find_index_with_name)(fl_Menu_ menu_,char* name){
return (static_cast<Fl_DerivedMenu_*>(menu_))->find_index(name);
}
FL_EXPORT_C(int,Fl_Menu__find_index_with_item)(fl_Menu_ menu_,fl_Menu_Item item){
return (static_cast<Fl_DerivedMenu_*>(menu_))->find_index((static_cast<Fl_Menu_Item*>(item)));
}
FL_EXPORT_C(fl_Menu_Item,Fl_Menu__test_shortcut)(fl_Menu_ menu_){
return (fl_Menu_Item)(static_cast<Fl_DerivedMenu_*>(menu_))->test_shortcut();
}
FL_EXPORT_C(void,Fl_Menu__global)(fl_Menu_ menu_){
return (static_cast<Fl_DerivedMenu_*>(menu_))->global();
}
FL_EXPORT_C(fl_Menu_Item,Fl_Menu__menu)(fl_Menu_ menu_){
return (fl_Menu_Item)(static_cast<Fl_DerivedMenu_*>(menu_))->menu();
}
FL_EXPORT_C(void,Fl_Menu__menu_with_m)(fl_Menu_ menu_,fl_Menu_Item* item, int size){
Fl_Menu_Item* converted_item = convert(item, size);
return (static_cast<Fl_DerivedMenu_*>(menu_))->menu(converted_item);
}
FL_EXPORT_C(void,Fl_Menu__copy)(fl_Menu_ menu_,fl_Menu_Item m){
return (static_cast<Fl_DerivedMenu_*>(menu_))->copy((static_cast<Fl_Menu_Item*>(m)));
}
FL_EXPORT_C(void,Fl_Menu__copy_with_user_data)(fl_Menu_ menu_,fl_Menu_Item m,void* user_data){
return (static_cast<Fl_DerivedMenu_*>(menu_))->copy((static_cast<Fl_Menu_Item*>(m)),user_data);
}
FL_EXPORT_C(int,Fl_Menu__insert)(fl_Menu_ menu_,int index,char* name,int shortcut,fl_Callback* cb){
C_to_Fl_Callback* callback_interceptor = new C_to_Fl_Callback(cb);
return callback_interceptor->menu_insert((static_cast<Fl_DerivedMenu_*>(menu_)),index,name,shortcut,0);
}
FL_EXPORT_C(int,Fl_Menu__insert_with_flags)(fl_Menu_ menu_,int index,char* name,int shortcut,fl_Callback* cb,int flags){
C_to_Fl_Callback* callback_interceptor = new C_to_Fl_Callback(cb);
return callback_interceptor->menu_insert((static_cast<Fl_DerivedMenu_*>(menu_)),index,name,shortcut, flags);
}
FL_EXPORT_C(int,Fl_Menu__insert_with_shortcutname)(fl_Menu_ menu_,int index,char* name,char* shortcut,fl_Callback* cb){
C_to_Fl_Callback* callback_interceptor = new C_to_Fl_Callback(cb);
return callback_interceptor->menu_insert((static_cast<Fl_DerivedMenu_*>(menu_)),index, name,shortcut,0);
}
FL_EXPORT_C(int,Fl_Menu__insert_with_shortcutname_flags)(fl_Menu_ menu_,int index,char* name,char* shortcut,fl_Callback* cb,int flags){
C_to_Fl_Callback* callback_interceptor = new C_to_Fl_Callback(cb);
return callback_interceptor->menu_insert((static_cast<Fl_DerivedMenu_*>(menu_)),index, name,shortcut,flags);
}
FL_EXPORT_C(int,Fl_Menu__insert_with_user_data_flags)(fl_Menu_ menu_,int index,char* name,int shortcut,fl_Callback* cb,void* user_data,int flags){
C_to_Fl_Callback* callback_interceptor = new C_to_Fl_Callback(cb, user_data);
return callback_interceptor->menu_insert((static_cast<Fl_DerivedMenu_*>(menu_)),index,name,shortcut,flags);
}
FL_EXPORT_C(int,Fl_Menu__add_with_user_data)(fl_Menu_ menu_,char* name,int shortcut,fl_Callback* cb,void* user_data){
C_to_Fl_Callback* callback_interceptor = new C_to_Fl_Callback(cb, user_data);
return callback_interceptor->menu_add((static_cast<Fl_DerivedMenu_*>(menu_)),name,shortcut,0);
}
FL_EXPORT_C(int,Fl_Menu__add_with_flags)(fl_Menu_ menu_,char* name,int shortcut,fl_Callback* cb,int flags){
C_to_Fl_Callback* callback_interceptor = new C_to_Fl_Callback(cb);
return callback_interceptor->menu_add((static_cast<Fl_DerivedMenu_*>(menu_)),name,shortcut,flags);
}
FL_EXPORT_C(int,Fl_Menu__add_with_user_data_flags)(fl_Menu_ menu_,char* name,int shortcut,fl_Callback* cb,void* user_data,int flags){
C_to_Fl_Callback* callback_interceptor = new C_to_Fl_Callback(cb, user_data);
return callback_interceptor->menu_add((static_cast<Fl_DerivedMenu_*>(menu_)),name,shortcut,flags);
}
FL_EXPORT_C(int,Fl_Menu__add_with_shortcutname)(fl_Menu_ menu_,char* name,char* shortcut,fl_Callback* cb){
C_to_Fl_Callback* callback_interceptor = new C_to_Fl_Callback(cb);
return callback_interceptor->menu_add((static_cast<Fl_DerivedMenu_*>(menu_)),name,shortcut,0);
}
FL_EXPORT_C(int,Fl_Menu__add_with_shortcutname_user_data)(fl_Menu_ menu_,char* name,char* shortcut,fl_Callback* cb,void* user_data){
C_to_Fl_Callback* callback_interceptor = new C_to_Fl_Callback(cb, user_data);
return callback_interceptor->menu_add((static_cast<Fl_DerivedMenu_*>(menu_)),name,shortcut,0);
}
FL_EXPORT_C(int,Fl_Menu__add_with_shortcutname_flags)(fl_Menu_ menu_,char* name,char* shortcut,fl_Callback* cb,int flags){
C_to_Fl_Callback* callback_interceptor = new C_to_Fl_Callback(cb);
return callback_interceptor->menu_add((static_cast<Fl_DerivedMenu_*>(menu_)),name,shortcut,flags);
}
FL_EXPORT_C(int,Fl_Menu__add_with_shortcutname_user_data_flags)(fl_Menu_ menu_,char* name,char* shortcut,fl_Callback* cb,void* user_data,int flags){
C_to_Fl_Callback* callback_interceptor = new C_to_Fl_Callback(cb, user_data);
return callback_interceptor->menu_add((static_cast<Fl_DerivedMenu_*>(menu_)),name,shortcut,flags);
}
FL_EXPORT_C(int, Fl_Menu__add_with_name)(fl_Menu_ menu_, char* name){
return (static_cast<Fl_Menu_*>(menu_))->add(name);
}
FL_EXPORT_C(int,Fl_Menu__size)(fl_Menu_ menu_){
return (static_cast<Fl_DerivedMenu_*>(menu_))->size();
}
FL_EXPORT_C(void,Fl_Menu__set_size)(fl_Menu_ menu_,int W,int H){
(static_cast<Fl_DerivedMenu_*>(menu_))->size(W,H);
}
FL_EXPORT_C(void,Fl_Menu__clear)(fl_Menu_ menu_){
(static_cast<Fl_DerivedMenu_*>(menu_))->clear();
}
FL_EXPORT_C(int,Fl_Menu__clear_submenu)(fl_Menu_ menu_,int index){
return (static_cast<Fl_DerivedMenu_*>(menu_))->clear_submenu(index);
}
FL_EXPORT_C(void,Fl_Menu__replace)(fl_Menu_ menu_,int i,char* name){
(static_cast<Fl_DerivedMenu_*>(menu_))->replace(i,name);
}
FL_EXPORT_C(void,Fl_Menu__remove)(fl_Menu_ menu_,int i ){
(static_cast<Fl_DerivedMenu_*>(menu_))->remove(i);
}
FL_EXPORT_C(void,Fl_Menu__shortcut)(fl_Menu_ menu_,int i,int s){
(static_cast<Fl_DerivedMenu_*>(menu_))->shortcut(i,s);
}
FL_EXPORT_C(void,Fl_Menu__set_mode)(fl_Menu_ menu_,int i,int fl){
(static_cast<Fl_DerivedMenu_*>(menu_))->mode(i,fl);
}
FL_EXPORT_C(int,Fl_Menu__mode)(fl_Menu_ menu_,int i){
return (static_cast<Fl_DerivedMenu_*>(menu_))->mode(i);
}
FL_EXPORT_C(fl_Menu_Item,Fl_Menu__mvalue)(fl_Menu_ menu_){
return (fl_Menu_Item)(static_cast<Fl_DerivedMenu_*>(menu_))->mvalue();
}
FL_EXPORT_C(int,Fl_Menu__value)(fl_Menu_ menu_){
return (static_cast<Fl_DerivedMenu_*>(menu_))->value();
}
FL_EXPORT_C(int,Fl_Menu__value_with_item)(fl_Menu_ menu_,fl_Menu_Item item){
return (static_cast<Fl_DerivedMenu_*>(menu_))->value(static_cast<Fl_Menu_Item*>(item));
}
FL_EXPORT_C(fl_Menu_Item, Fl_Menu__get_menu_item_by_index)(fl_Menu_ menu_, int i) {
return (fl_Menu_Item)(static_cast<Fl_DerivedMenu_*>(menu_)->get_menu_item_by_index(i));
}
FL_EXPORT_C(int,Fl_Menu__value_with_index)(fl_Menu_ menu_,int index){
return (static_cast<Fl_DerivedMenu_*>(menu_))->value(index);
}
FL_EXPORT_C(char*,Fl_Menu__text)(fl_Menu_ menu_){
return (char*)(static_cast<Fl_DerivedMenu_*>(menu_))->text();
}
FL_EXPORT_C(char*,Fl_Menu__text_with_index)(fl_Menu_ menu_,int i){
return (char*)(static_cast<Fl_DerivedMenu_*>(menu_))->text(i);
}
FL_EXPORT_C(Fl_Font,Fl_Menu__textfont)(fl_Menu_ menu_){
return (static_cast<Fl_DerivedMenu_*>(menu_))->textfont();
}
FL_EXPORT_C(void,Fl_Menu__set_textfont)(fl_Menu_ menu_,Fl_Font c){
(static_cast<Fl_DerivedMenu_*>(menu_))->textfont(c);
}
FL_EXPORT_C(Fl_Fontsize,Fl_Menu__textsize)(fl_Menu_ menu_){
return (static_cast<Fl_DerivedMenu_*>(menu_))->textsize();
}
FL_EXPORT_C(void,Fl_Menu__set_textsize)(fl_Menu_ menu_,Fl_Fontsize c){
(static_cast<Fl_DerivedMenu_*>(menu_))->textsize(c);
}
FL_EXPORT_C(Fl_Color,Fl_Menu__textcolor)(fl_Menu_ menu_){
return (static_cast<Fl_DerivedMenu_*>(menu_))->textcolor();
}
FL_EXPORT_C(void,Fl_Menu__set_textcolor)(fl_Menu_ menu_,Fl_Color c){
(static_cast<Fl_DerivedMenu_*>(menu_))->textcolor(c);
}
FL_EXPORT_C(Fl_Boxtype,Fl_Menu__down_box)(fl_Menu_ menu_){
return (static_cast<Fl_DerivedMenu_*>(menu_))->down_box();
}
FL_EXPORT_C(void,Fl_Menu__set_down_box)(fl_Menu_ menu_,Fl_Boxtype b){
(static_cast<Fl_DerivedMenu_*>(menu_))->down_box(b);
}
FL_EXPORT_C(Fl_Color,Fl_Menu__down_color)(fl_Menu_ menu_){
return (static_cast<Fl_DerivedMenu_*>(menu_))->down_color();
}
FL_EXPORT_C(void,Fl_Menu__set_down_color)(fl_Menu_ menu_,unsigned c){
(static_cast<Fl_DerivedMenu_*>(menu_))->down_color(c);
}
#if FL_API_VERSION >= 10304
FL_EXPORT_C(void, Fl_Menu__set_only)(fl_Menu_ menu_, fl_Menu_Item m){
(static_cast<Fl_DerivedMenu_*>(menu_))->setonly(static_cast<Fl_Menu_Item*>(m));
}
#endif
#ifdef __cplusplus
}
#endif
| 44.576087 | 150 | 0.74299 | ericu |
a7513829348d02b5fad46484b1a70469cfd58c70 | 1,384 | cpp | C++ | skse64/skse64/PapyrusFlora.cpp | michaeljdietz/NpcVoiceActivation | df62efc5e6ed9510e4f9423561071d7119a3a44b | [
"MIT"
] | 1 | 2020-02-11T12:25:39.000Z | 2020-02-11T12:25:39.000Z | skse64/skse64/PapyrusFlora.cpp | michaeljdietz/NpcVoiceActivation | df62efc5e6ed9510e4f9423561071d7119a3a44b | [
"MIT"
] | null | null | null | skse64/skse64/PapyrusFlora.cpp | michaeljdietz/NpcVoiceActivation | df62efc5e6ed9510e4f9423561071d7119a3a44b | [
"MIT"
] | null | null | null | #include "PapyrusFlora.h"
#include "GameObjects.h"
namespace papyrusFlora
{
TESForm * GetIngredient(TESFlora* thisFlora)
{
return (thisFlora) ? thisFlora->produce.produce : NULL;
}
void SetIngredient(TESFlora* thisFlora, TESForm* ingredient)
{
if (thisFlora) {
thisFlora->produce.produce = ingredient;
}
}
BGSSoundDescriptorForm * GetHarvestSound(TESFlora* thisFlora)
{
return (thisFlora) ? thisFlora->produce.harvestSound : NULL;
}
void SetHarvestSound(TESFlora* thisFlora, BGSSoundDescriptorForm * sound)
{
if (thisFlora) {
thisFlora->produce.harvestSound = sound;
}
}
}
#include "PapyrusVM.h"
#include "PapyrusNativeFunctions.h"
void papyrusFlora::RegisterFuncs(VMClassRegistry* registry)
{
registry->RegisterFunction(
new NativeFunction0<TESFlora, TESForm*>("GetIngredient", "Flora", papyrusFlora::GetIngredient, registry));
registry->RegisterFunction(
new NativeFunction1<TESFlora, void, TESForm*>("SetIngredient", "Flora", papyrusFlora::SetIngredient, registry));
registry->RegisterFunction(
new NativeFunction0<TESFlora, BGSSoundDescriptorForm*>("GetHarvestSound", "Flora", papyrusFlora::GetHarvestSound, registry));
registry->RegisterFunction(
new NativeFunction1<TESFlora, void, BGSSoundDescriptorForm*>("SetHarvestSound", "Flora", papyrusFlora::SetHarvestSound, registry));
}
| 28.833333 | 134 | 0.736272 | michaeljdietz |
a752e0e386e57861dca915d0cd8b218b905852ce | 5,484 | cc | C++ | code/application/graphicsfeature/animpath/streampathanimationloader.cc | gscept/nebula-trifid | e7c0a0acb05eedad9ed37a72c1bdf2d658511b42 | [
"BSD-2-Clause"
] | 67 | 2015-03-30T19:56:16.000Z | 2022-03-11T13:52:17.000Z | code/application/graphicsfeature/animpath/streampathanimationloader.cc | gscept/nebula-trifid | e7c0a0acb05eedad9ed37a72c1bdf2d658511b42 | [
"BSD-2-Clause"
] | 5 | 2015-04-15T17:17:33.000Z | 2016-02-11T00:40:17.000Z | code/application/graphicsfeature/animpath/streampathanimationloader.cc | gscept/nebula-trifid | e7c0a0acb05eedad9ed37a72c1bdf2d658511b42 | [
"BSD-2-Clause"
] | 34 | 2015-03-30T15:08:00.000Z | 2021-09-23T05:55:10.000Z | //------------------------------------------------------------------------------
// animpathstreamloader.cc
// (C) 2015-2016 Individual contributors, see AUTHORS file
//------------------------------------------------------------------------------
#include "stdneb.h"
#include "streampathanimationloader.h"
#include "io/xmlreader.h"
#include "coreanimation/infinitytype.h"
#include "pathanimation.h"
using namespace IO;
namespace GraphicsFeature
{
__ImplementClass(GraphicsFeature::StreamPathAnimationLoader, 'APSL', Resources::StreamResourceLoader);
//------------------------------------------------------------------------------
/**
*/
bool
StreamPathAnimationLoader::SetupResourceFromStream(const Ptr<IO::Stream>& stream)
{
const Ptr<PathAnimation> animPathRes = this->resource.downcast<PathAnimation>();
Ptr<XmlReader> xmlReader = XmlReader::Create();
xmlReader->SetStream(stream);
if (xmlReader->Open())
{
if (xmlReader->HasNode("/NebulaT"))
{
xmlReader->SetToNode("/NebulaT");
if (xmlReader->SetToFirstChild("Track")) do
{
Ptr<PathAnimationTrack> track = PathAnimationTrack::Create();
Util::String name = xmlReader->GetString("name");
// read looping attribute for rotation
if (xmlReader->HasAttr("rotationInfinity"))
{
Util::String infinity = xmlReader->GetString("rotationInfinity");
CoreAnimation::InfinityType::Code code = CoreAnimation::InfinityType::FromString(infinity);
track->rotation.SetInfinity(code);
}
// read looping attribute for translation
if (xmlReader->HasAttr("translationInfinity"))
{
Util::String infinity = xmlReader->GetString("translationInfinity");
CoreAnimation::InfinityType::Code code = CoreAnimation::InfinityType::FromString(infinity);
track->translation.SetInfinity(code);
}
// read looping attribute for scaling
if (xmlReader->HasAttr("scalingInfinity"))
{
Util::String infinity = xmlReader->GetString("scalingInfinity");
CoreAnimation::InfinityType::Code code = CoreAnimation::InfinityType::FromString(infinity);
track->scaling.SetInfinity(code);
}
// setup default start values
track->scaling.Begin(Math::float4(1));
track->translation.Begin(Math::float4(0));
track->rotation.Begin(Math::float4(0));
track->name = name;
// get translation
if (xmlReader->SetToFirstChild("Translate")) do
{
bool hasC0 = xmlReader->HasAttr("c0");
bool hasC1 = xmlReader->HasAttr("c1");
if (hasC0 && hasC1)
{
track->translation.CubicTo(
xmlReader->GetFloat4("to"),
xmlReader->GetFloat4("c0"),
xmlReader->GetFloat4("c1"),
xmlReader->GetFloat("start"),
xmlReader->GetFloat("end"));
}
else if (hasC0)
{
track->translation.QuadraticTo(
xmlReader->GetFloat4("to"),
xmlReader->GetFloat4("c0"),
xmlReader->GetFloat("start"),
xmlReader->GetFloat("end"));
}
else
{
track->translation.LinearTo(
xmlReader->GetFloat4("to"),
xmlReader->GetFloat("start"),
xmlReader->GetFloat("end"));
}
}
while (xmlReader->SetToNextChild("Translate"));
// get rotation
if (xmlReader->SetToFirstChild("Rotate")) do
{
bool hasC0 = xmlReader->HasAttr("c0");
bool hasC1 = xmlReader->HasAttr("c1");
if (hasC0 && hasC1)
{
track->rotation.CubicTo(
xmlReader->GetFloat4("to"),
xmlReader->GetFloat4("c0"),
xmlReader->GetFloat4("c1"),
xmlReader->GetFloat("start"),
xmlReader->GetFloat("end"));
}
else if (hasC0)
{
track->rotation.QuadraticTo(
xmlReader->GetFloat4("to"),
xmlReader->GetFloat4("c0"),
xmlReader->GetFloat("start"),
xmlReader->GetFloat("end"));
}
else
{
track->rotation.LinearTo(
xmlReader->GetFloat4("to"),
xmlReader->GetFloat("start"),
xmlReader->GetFloat("end"));
}
}
while (xmlReader->SetToNextChild("Rotate"));
// get rotation
if (xmlReader->SetToFirstChild("Scale")) do
{
bool hasC0 = xmlReader->HasAttr("c0");
bool hasC1 = xmlReader->HasAttr("c1");
if (hasC0 && hasC1)
{
track->scaling.CubicTo(
xmlReader->GetFloat4("to"),
xmlReader->GetFloat4("c0"),
xmlReader->GetFloat4("c1"),
xmlReader->GetFloat("start"),
xmlReader->GetFloat("end"));
}
else if (hasC0)
{
track->scaling.QuadraticTo(
xmlReader->GetFloat4("to"),
xmlReader->GetFloat4("c0"),
xmlReader->GetFloat("start"),
xmlReader->GetFloat("end"));
}
else
{
track->scaling.LinearTo(
xmlReader->GetFloat4("to"),
xmlReader->GetFloat("start"),
xmlReader->GetFloat("end"));
}
}
while (xmlReader->SetToNextChild("Scale"));
// add track to resource
animPathRes->tracks.Add(name, track);
// get all events
if (xmlReader->SetToFirstChild("Event")) do
{
Util::String name = xmlReader->GetString("name");
float time = xmlReader->GetFloat("time");
track->events.Add(time, name);
}
while (xmlReader->SetToNextChild("Event"));
}
while (xmlReader->SetToNextChild("Track"));
}
else
{
// doesn't contain NebulaT main node
return false;
}
}
else
{
// not a valid XML
return false;
}
// fallthrough is that everything works fine
return true;
}
} // namespace GraphicsFeature | 28.5625 | 102 | 0.603027 | gscept |
a75486953f24f09666c664abe821dd12f3f31c10 | 3,689 | cpp | C++ | library/base/win/windows_version.cpp | topillar/PuTTY-ng | 1f5bf26de0f42e03ef4f100fa879b16216d61abf | [
"MIT"
] | 39 | 2019-06-22T12:25:54.000Z | 2022-03-14T05:42:44.000Z | library/base/win/windows_version.cpp | topillar/PuTTY-ng | 1f5bf26de0f42e03ef4f100fa879b16216d61abf | [
"MIT"
] | 5 | 2019-06-29T10:58:43.000Z | 2020-09-04T08:44:09.000Z | library/base/win/windows_version.cpp | topillar/PuTTY-ng | 1f5bf26de0f42e03ef4f100fa879b16216d61abf | [
"MIT"
] | 10 | 2019-08-07T06:08:23.000Z | 2022-03-14T05:42:47.000Z |
#include "windows_version.h"
#include <windows.h>
namespace base
{
namespace win
{
// static
OSInfo* OSInfo::GetInstance()
{
// Note: we don't use the Singleton class because it depends on AtExitManager,
// and it's convenient for other modules to use this classs without it. This
// pattern is copied from gurl.cc.
static OSInfo* info;
if(!info)
{
OSInfo* new_info = new OSInfo();
if(InterlockedCompareExchangePointer(
reinterpret_cast<PVOID*>(&info), new_info, NULL))
{
delete new_info;
}
}
return info;
}
OSInfo::OSInfo() : version_(VERSION_PRE_XP),
architecture_(OTHER_ARCHITECTURE),
wow64_status_(GetWOW64StatusForProcess(GetCurrentProcess()))
{
OSVERSIONINFOEX version_info = { sizeof(version_info) };
GetVersionEx(reinterpret_cast<OSVERSIONINFO*>(&version_info));
version_number_.major = version_info.dwMajorVersion;
version_number_.minor = version_info.dwMinorVersion;
version_number_.build = version_info.dwBuildNumber;
if((version_number_.major==5) && (version_number_.minor>0))
{
version_ = (version_number_.minor==1) ? VERSION_XP :
VERSION_SERVER_2003;
}
else if(version_number_.major == 6)
{
if(version_info.wProductType == VER_NT_WORKSTATION)
{
version_ = (version_number_.minor==0) ? VERSION_VISTA :
VERSION_WIN7;
}
else
{
version_ = VERSION_SERVER_2008;
}
}
else if(version_number_.major > 6)
{
version_ = VERSION_WIN7;
}
service_pack_.major = version_info.wServicePackMajor;
service_pack_.minor = version_info.wServicePackMinor;
SYSTEM_INFO system_info = { 0 };
GetNativeSystemInfo(&system_info);
switch(system_info.wProcessorArchitecture)
{
case PROCESSOR_ARCHITECTURE_INTEL: architecture_ = X86_ARCHITECTURE; break;
case PROCESSOR_ARCHITECTURE_AMD64: architecture_ = X64_ARCHITECTURE; break;
case PROCESSOR_ARCHITECTURE_IA64: architecture_ = IA64_ARCHITECTURE; break;
}
processors_ = system_info.dwNumberOfProcessors;
allocation_granularity_ = system_info.dwAllocationGranularity;
}
OSInfo::~OSInfo() {}
// static
OSInfo::WOW64Status OSInfo::GetWOW64StatusForProcess(HANDLE process_handle)
{
typedef BOOL (WINAPI* IsWow64ProcessFunc)(HANDLE, PBOOL);
IsWow64ProcessFunc is_wow64_process = reinterpret_cast<IsWow64ProcessFunc>(
GetProcAddress(GetModuleHandle(L"kernel32.dll"), "IsWow64Process"));
if(!is_wow64_process)
{
return WOW64_DISABLED;
}
BOOL is_wow64 = FALSE;
if(!(*is_wow64_process)(process_handle, &is_wow64))
{
return WOW64_UNKNOWN;
}
return is_wow64 ? WOW64_ENABLED : WOW64_DISABLED;
}
Version GetVersion()
{
return OSInfo::GetInstance()->version();
}
} //namespace win
} //namespace base | 36.524752 | 91 | 0.542423 | topillar |
a756362a94c54762e781f067c9cb8724879a8ccb | 5,798 | cpp | C++ | Lib/v3d/instr/Encode.cpp | Freddan-67/V3DLib | dcefc24a9a399ee1f5d1aa5529f44d9fd2486929 | [
"MIT"
] | 44 | 2021-01-16T14:17:15.000Z | 2022-03-11T19:53:59.000Z | Lib/v3d/instr/Encode.cpp | RcCreeperTech/V3DLib | 38eb8d55b8276de5cf703d8e13fb9b5f220c49f0 | [
"MIT"
] | 8 | 2021-01-16T17:52:02.000Z | 2021-12-18T22:38:00.000Z | Lib/v3d/instr/Encode.cpp | RcCreeperTech/V3DLib | 38eb8d55b8276de5cf703d8e13fb9b5f220c49f0 | [
"MIT"
] | 7 | 2021-01-16T14:25:47.000Z | 2022-02-03T16:34:45.000Z | #include "Encode.h"
#include "Support/Exception.h"
#include "Mnemonics.h"
namespace V3DLib {
namespace v3d {
namespace instr {
namespace {
uint8_t const NOP_ADDR = 39;
uint8_t const REGB_OFFSET = 32;
uint8_t const NUM_REGS_RF = 64; // Number of available registers in the register file
std::unique_ptr<Location> loc_ptr(Register const ®) {
std::unique_ptr<Location> ret;
ret.reset(new Register(reg));
return ret;
}
std::unique_ptr<Location> loc_acc(RegId regId, int max_id) {
assert(regId >= 0 && regId <= max_id);
std::unique_ptr<Location> ret;
switch(regId) {
case 0: ret = loc_ptr(r0); break;
case 1: ret = loc_ptr(r1); break;
case 2: ret = loc_ptr(r2); break;
case 3: ret = loc_ptr(r3); break;
case 4: ret = loc_ptr(r4); break;
case 5: ret = loc_ptr(r5); break;
}
assert(ret.get() != nullptr);
return ret;
}
void check_reg(Reg reg) {
if (reg.regId < 0) {
error("Unassigned regId value", true);
}
if (reg.regId >= NUM_REGS_RF) {
breakpoint
error("regId value out of range", true);
}
}
} // anon namespace
uint8_t to_waddr(Reg const ®) {
assertq(reg.tag != REG_B, "to_waddr(): Not expecting REG_B any more, examine");
assert(reg.tag == REG_A);
return (uint8_t) (reg.regId);
}
void check_unhandled_registers(Reg reg, bool do_src_regs) {
if (do_src_regs) {
switch (reg.tag) {
case REG_B:
debug_break("check_unhandled_registers(): Not expecting REG_B any more, examine");
break;
case SPECIAL:
if (is_dma_only_register(reg)) {
throw Exception("The code uses DMA source registers. These are not supported for v3d.");
}
switch (reg.regId) {
case SPECIAL_UNIFORM:
case SPECIAL_ELEM_NUM:
case SPECIAL_QPU_NUM:
assertq(false, "check_unhandled_registers(): Not expecting this SPECIAL regId, should be handled before call()", true);
break;
default: break;
}
break;
default: break;
}
return;
}
// Do dst regs
switch (reg.tag) {
case REG_B:
debug_break("encodeDestReg(): Not expecting REG_B any more, examine");
break;
case SPECIAL:
if (is_dma_only_register(reg)) {
throw Exception("The code uses DMA destination registers. These are not supported for v3d.");
}
break;
default: break;
}
}
/**
*
*/
std::unique_ptr<Location> encodeSrcReg(Reg reg) {
check_unhandled_registers(reg, true);
bool is_none = false;
std::unique_ptr<Location> ret;
switch (reg.tag) {
case REG_A:
check_reg(reg);
ret.reset(new RFAddress(to_waddr(reg)));
break;
case ACC:
ret = loc_acc(reg.regId, 4); // r5 not allowed here (?)
break;
case NONE:
is_none = true;
breakpoint // Apparently never reached
break;
default:
assertq(false, "V3DLib: unexpected reg-tag in encodeSrcReg()");
}
if (ret.get() == nullptr && !is_none) {
assertq(false, "V3DLib: missing case in encodeSrcReg()", true);
}
return ret;
}
std::unique_ptr<Location> encodeDestReg(V3DLib::Instr const &src_instr) {
assert(!src_instr.isUniformLoad());
bool is_none = false;
std::unique_ptr<Location> ret;
Reg reg = src_instr.dest();
check_unhandled_registers(reg, false);
switch (reg.tag) {
case REG_A:
check_reg(reg);
ret.reset(new RFAddress(to_waddr(reg)));
break;
case ACC:
ret = loc_acc(reg.regId, 5);
break;
case SPECIAL:
switch (reg.regId) {
// These DMA registers *are* handled
// They get translated to the corresponding v3d registers
// TODO get VPM/DMA out of sight
case SPECIAL_VPM_WRITE: // Write TMU, to set data to write
ret = loc_ptr(tmud);
break;
case SPECIAL_DMA_ST_ADDR: // Write TMU, to set memory address to write to
ret = loc_ptr(tmua);
break;
case SPECIAL_TMU0_S: // Read TMU
ret = loc_ptr(tmua);
break;
// SFU registers
case SPECIAL_SFU_RECIP : ret = loc_ptr(recip); break;
case SPECIAL_SFU_RECIPSQRT: ret = loc_ptr(rsqrt); break; // Alternative: register rsqrt2
case SPECIAL_SFU_EXP : ret = loc_ptr(exp); break;
case SPECIAL_SFU_LOG : ret = loc_ptr(log); break;
default:
assertq(false, "encodeDestReg(): not expecting reg tag", true);
break;
}
break;
case NONE: {
// As far as I can tell, there is no such thing as a NONE register on v3d;
// it may be one of the bits in `struct v3d_qpu_sig`.
//
// The first time I encountered this was in (V3DLib target code):
// _ <-{sf} or(B6, B6)
//
// The idea seems to be to set the CNZ flags depending on the value of a given rf-register.
// So, for the time being, we will set a condition (how? Don't know for sure yet) if
// srcA and srcB are the same in this respect, and set target same as both src's.
is_none = true;
assert(src_instr.tag == ALU);
assert(src_instr.set_cond().flags_set());
auto &srcA = src_instr.ALU.srcA;
// srcA and srcB are the same rf-register
if (srcA.is_reg()
&& (srcA.reg().tag == REG_A || srcA.reg().tag == REG_B)
&& (srcA == src_instr.ALU.srcB)
) {
ret = encodeSrcReg(srcA.reg());
} else {
breakpoint // case not handled yet
}
}
break;
default:
assertq(false, "V3DLib: unexpected reg tag in encodeDestReg()");
}
if (ret.get() == nullptr && !is_none) {
fprintf(stderr, "V3DLib: missing case in encodeDestReg\n");
assert(false);
}
return ret;
}
} // instr
} // v3d
} // V3DLib
| 25.318777 | 129 | 0.608141 | Freddan-67 |
a757f14f341f6fdbfe63b1cec146d71a50260039 | 28,925 | cpp | C++ | Meteor/Source/Graphics/D3D12/D3D12Renderer.cpp | 96aman96/Meteor | 17e7fdc91244cf952b2db40de97f7b05f12f22e0 | [
"MIT"
] | null | null | null | Meteor/Source/Graphics/D3D12/D3D12Renderer.cpp | 96aman96/Meteor | 17e7fdc91244cf952b2db40de97f7b05f12f22e0 | [
"MIT"
] | null | null | null | Meteor/Source/Graphics/D3D12/D3D12Renderer.cpp | 96aman96/Meteor | 17e7fdc91244cf952b2db40de97f7b05f12f22e0 | [
"MIT"
] | null | null | null | #include "acpch.h"
#if defined(AC_D3D12) && defined(PLATFORM_WINDOWS)
#include "D3D12Renderer.h"
#include <Engine/Core/EngineContext.h>
#include <Engine/Object/Entity/Entity.h>
#include <Extern/Graphics/D3D12/D3DX12/d3dx12.h>
#include <Framework/AppContext.h>
#include <Framework/Math/MathHelper.h>
#include <Graphics/GfxControllables.h>
#include <Platform/ResultHelper.h>
#include <Utils/Logger/Logger.h>
#include <Utils/Time/ScopedTimer.h>
#include <Engine/EventDispatcher.hpp>
#include <Graphics/GfxEvents.h>
#include <Graphics/VertexLayout.h>
#include <DirectXTex.h>
#include <Engine/Serialization/DeSerializer.h>
#include <Engine/Profiler.h>
// MAJOR TODO : Move everything to GfxRenderer and only keep the wrappers here :)
namespace meteor
{
//////////////////////////////////////////////////////////////////////////////////////
// Public Members
//////////////////////////////////////////////////////////////////////////////////////
void D3D12Renderer::Initialize()
{
InitializeDependencies();
InitializeAPI();
{
ACScopedTimer("Deserialize Entity");
Entity* entityPtr = new Entity;
DeSerializer d(ENTITY_PATH_STR("sponza.fbx"));
d.DeSerialize(entityPtr);
std::shared_ptr<Entity> entity(std::move(entityPtr));
m_entities.emplace_back(entity);
}
InitalizeResources();
m_imGuiWrapper->InitializeImGuiLib();
m_imGuiWrapper->InitializeImGuiWindowsD3D12(AppContext::GetHandleToMainWindow()->GetRawHandleToWindow(), m_device->GetRawDevice(), g_numFrameBuffers, DXGI_FORMAT_R8G8B8A8_UNORM, m_cbvSrvUavDescHeap, m_cbvSrvUavDescHeap->GetCPUDescriptorHandleForHeapStart(), m_cbvSrvUavDescHeap->GetGPUDescriptorHandleForHeapStart());
// Register Events
acEventDispatcher.RegisterEventCallback<SwapChainResizeEvent>(this, &D3D12Renderer::ResizeSwapChain);
}
void D3D12Renderer::PreRender()
{
// tempcode
m_editorCamera.HandleInput();
m_viewMatrix = m_editorCamera.GetViewMatrix();
m_constantBufferData.color = GfxControllables::GetPrimitiveColor();
m_constantBufferData.lightDirection = GfxControllables::GetLightDirection();
m_constantBufferData.ambientLight = GfxControllables::GetAmbientLight();
m_constantBufferData.wvpMatrix = (m_viewMatrix * m_projMatrix);
memcpy(m_constantBufferDataGPUAddresses[m_currentBackBufferIndex], &m_constantBufferData, sizeof(m_constantBufferData));
m_imGuiWrapper->NewFrame();
}
void D3D12Renderer::Render()
{
RecordCommands();
ID3D12CommandList* ppCommandList[] = { m_commandList.Get() };
m_graphicsCommandQueue->ExecuteCommandLists(1, ppCommandList);
WaitForBackBufferAvailability();
CheckResult(m_swapChain->Present(1, NULL), "SwapChain Failed to Present");
}
void D3D12Renderer::PostRender()
{
WaitForBackBufferAvailability();
}
void D3D12Renderer::Shutdown()
{
WaitForGPUToFinish();
m_imGuiWrapper->Shutdown();
for (uint32 itr = 0; itr < g_numFrameBuffers; ++itr)
m_constantBufferUploadHeaps[itr]->Unmap(NULL, nullptr);
CloseHandle(m_fenceEvent);
CloseHandle(m_frameLatencyWaitableObject);
}
//////////////////////////////////////////////////////////////////////////////////////
// Private Members
//////////////////////////////////////////////////////////////////////////////////////
void D3D12Renderer::InitializeAPI()
{
#ifdef AC_DEBUG
EnableDebugLayer();
#endif // AC_DEBUG
CreateDevice();
CreateGraphicsCommandQueue();
CreateSwapChain();
SetupFrameResources();
CreateRenderTargetViews();
CreateDepthStencilResources();
CreateCBVSRVDescriptorHeap();
CreateCommandAllocators();
m_viewport =
{
0.0f,
0.0f,
static_cast<float>(AppContext::GetMainWindowDesc().width),
static_cast<float>(AppContext::GetMainWindowDesc().height),
g_minDepth,
g_maxDepth
};
m_scissorRect =
{
0,
0,
AppContext::GetMainWindowDesc().width,
AppContext::GetMainWindowDesc().height
};
}
void D3D12Renderer::InitializeDependencies()
{
}
#ifdef AC_DEBUG
// Should be the first step.
void D3D12Renderer::EnableDebugLayer()
{
ComPtr<ID3D12Debug1> debugController;
if (SUCCEEDED(D3D12GetDebugInterface(IID_PPV_ARGS(&debugController))))
{
debugController->EnableDebugLayer();
debugController->SetEnableGPUBasedValidation(true);
m_factory->AppendDXGIFactoryFlags(DXGI_CREATE_FACTORY_DEBUG);
}
}
#endif // AC_DEBUG
void D3D12Renderer::CreateDevice()
{
CheckResult(CreateDXGIFactory2(m_factory->GetDXGIFactoryFlags(), IID_PPV_ARGS(&(m_factory->GetRawFactory()))), "Failed to Create DXGIFactory.");
m_adapter->SetAdapter(m_factory->GetD3D12SupportedHardwareAdapter());
CheckResult(D3D12CreateDevice(m_adapter->GetAdapter().Get(), g_minFeatureLevel, IID_PPV_ARGS(&(m_device->GetRawDevice()))), "Failed to create D3D12Device.");
}
void D3D12Renderer::CreateGraphicsCommandQueue()
{
D3D12_COMMAND_QUEUE_DESC graphicsCommandQueueDesc = {};
graphicsCommandQueueDesc.Type = D3D12_COMMAND_LIST_TYPE_DIRECT;
graphicsCommandQueueDesc.Flags = D3D12_COMMAND_QUEUE_FLAG_NONE;
graphicsCommandQueueDesc.NodeMask = 0;
graphicsCommandQueueDesc.Priority = D3D12_COMMAND_QUEUE_PRIORITY_NORMAL;
m_device->CreateCommandQueue(graphicsCommandQueueDesc, m_graphicsCommandQueue);
}
void D3D12Renderer::CreateSwapChain()
{
DXGI_SWAP_CHAIN_DESC1 swapChainDesc = {};
swapChainDesc.Width = NULL; // Get automatically from hWND
swapChainDesc.Height = NULL; // Get automatically from hWND
swapChainDesc.Format = DXGI_FORMAT_R8G8B8A8_UNORM;
swapChainDesc.Stereo = FALSE;
swapChainDesc.SampleDesc.Count = 1;
swapChainDesc.SampleDesc.Quality = 0;
swapChainDesc.BufferUsage = DXGI_USAGE_RENDER_TARGET_OUTPUT;
swapChainDesc.BufferCount = g_numFrameBuffers;
swapChainDesc.Scaling = DXGI_SCALING_STRETCH;
swapChainDesc.SwapEffect = DXGI_SWAP_EFFECT_FLIP_DISCARD;
swapChainDesc.AlphaMode = DXGI_ALPHA_MODE_UNSPECIFIED;
swapChainDesc.Flags = DXGI_SWAP_CHAIN_FLAG_FRAME_LATENCY_WAITABLE_OBJECT;
m_swapChain = m_factory->CreateSwapChain(m_graphicsCommandQueue, AppContext::GetHandleToMainWindow()->GetRawHandleToWindow(), &swapChainDesc, nullptr, nullptr);
m_currentBackBufferIndex = m_swapChain->GetCurrentBackBufferIndex();
m_swapChain->SetMaximumFrameLatency(g_numFrameBuffers);
m_frameLatencyWaitableObject = m_swapChain->GetFrameLatencyWaitableObject();
}
void D3D12Renderer::SetupFrameResources()
{
D3D12_DESCRIPTOR_HEAP_DESC rtvDesc = {};
rtvDesc.Type = D3D12_DESCRIPTOR_HEAP_TYPE_RTV;
rtvDesc.Flags = D3D12_DESCRIPTOR_HEAP_FLAG_NONE;
rtvDesc.NumDescriptors = g_numFrameBuffers;
m_device->CreateDescriptorHeap(rtvDesc, m_rtvDescHeap);
m_rtvHeapIncrementSize = m_device->GetDescriptorHandleIncrementSize(rtvDesc.Type);
D3D12_DESCRIPTOR_HEAP_DESC dsvHeapDesc = {};
dsvHeapDesc.Type = D3D12_DESCRIPTOR_HEAP_TYPE_DSV;
dsvHeapDesc.Flags = D3D12_DESCRIPTOR_HEAP_FLAG_NONE;
dsvHeapDesc.NumDescriptors = 1;
m_device->CreateDescriptorHeap(dsvHeapDesc, m_dsvDescHeap);
}
void D3D12Renderer::CreateRenderTargetViews()
{
CD3DX12_CPU_DESCRIPTOR_HANDLE rtvDescriptorHandle(m_rtvDescHeap->GetCPUDescriptorHandleForHeapStart()); // Handle to the begin ptr.
for (uint32 itr = 0; itr < g_numFrameBuffers; ++itr)
{
CheckResult(m_swapChain->GetBuffer(itr, IID_PPV_ARGS(&(m_renderTargets.at(itr)))), "Failed to get Buffer for provided Index from swap chain.");
m_device->CreateRenderTargetView(m_renderTargets.at(itr), nullptr, rtvDescriptorHandle); // Null RTV_DESC for default desc.
rtvDescriptorHandle.Offset(1, m_rtvHeapIncrementSize); // Move handle to the next ptr.
m_renderTargets.at(itr)->SetName(string_cast<wstring>((string("Render Target " + to_string(itr)))).c_str());
}
}
void D3D12Renderer::CreateDepthStencilResources()
{
D3D12_DEPTH_STENCIL_VIEW_DESC dsvDesc = {};
dsvDesc.Format = DXGI_FORMAT_D32_FLOAT;
dsvDesc.ViewDimension = D3D12_DSV_DIMENSION_TEXTURE2D;
dsvDesc.Flags = D3D12_DSV_FLAG_NONE;
D3D12_CLEAR_VALUE depthClearValue = {};
depthClearValue.Format = DXGI_FORMAT_D32_FLOAT;
depthClearValue.DepthStencil.Depth = g_depthClearValue;
depthClearValue.DepthStencil.Stencil = g_stencilClearValue;
// Create DSV Resource
D3D12_HEAP_PROPERTIES heapProperties = {};
heapProperties.Type = D3D12_HEAP_TYPE_DEFAULT; // More GPU Bandwidth
heapProperties.CPUPageProperty = D3D12_CPU_PAGE_PROPERTY_UNKNOWN;
heapProperties.MemoryPoolPreference = D3D12_MEMORY_POOL_UNKNOWN;
heapProperties.CreationNodeMask = NULL; // Single GPU.
heapProperties.VisibleNodeMask = NULL; // Single GPU.
D3D12_RESOURCE_DESC resourceDesc = {};
resourceDesc.Dimension = D3D12_RESOURCE_DIMENSION_TEXTURE2D;
resourceDesc.Alignment = 0;
resourceDesc.Width = AppContext::GetMainWindowDesc().width;
resourceDesc.Height = AppContext::GetMainWindowDesc().height;
resourceDesc.DepthOrArraySize = 1;
resourceDesc.MipLevels = 1;
resourceDesc.Format = DXGI_FORMAT_D32_FLOAT;
resourceDesc.SampleDesc.Count = 1;
resourceDesc.SampleDesc.Quality = 0;
resourceDesc.Layout = D3D12_TEXTURE_LAYOUT_UNKNOWN;
resourceDesc.Flags = D3D12_RESOURCE_FLAG_ALLOW_DEPTH_STENCIL;
m_device->CreateCommittedResource(heapProperties, D3D12_HEAP_FLAG_NONE, resourceDesc, D3D12_RESOURCE_STATE_DEPTH_WRITE, &depthClearValue, m_depthStencilBuffer, "Depth Stencil Buffer");
CD3DX12_CPU_DESCRIPTOR_HANDLE dsvDescriptorHandle(m_dsvDescHeap->GetCPUDescriptorHandleForHeapStart()); // Handle to the begin ptr.
m_device->CreateDepthStencilView(m_depthStencilBuffer, &dsvDesc, dsvDescriptorHandle);
}
void D3D12Renderer::CreateCBVSRVDescriptorHeap()
{
const uint32 numDescriptors = g_numImGuiSrvDescriptors + g_numCbvDescriptors;
D3D12_DESCRIPTOR_HEAP_DESC cbvSrvUavHeapDesc = {};
cbvSrvUavHeapDesc.NumDescriptors = numDescriptors;
cbvSrvUavHeapDesc.Type = D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV;
cbvSrvUavHeapDesc.Flags = D3D12_DESCRIPTOR_HEAP_FLAG_SHADER_VISIBLE;
m_device->CreateDescriptorHeap(cbvSrvUavHeapDesc, m_cbvSrvUavDescHeap);
m_cbvSrvUavHeapIncrementSize = m_device->GetDescriptorHandleIncrementSize(cbvSrvUavHeapDesc.Type);
}
void D3D12Renderer::CreateCommandAllocators()
{
for (uint32 itr = 0; itr < g_numFrameBuffers; ++itr)
{
m_device->CreateCommandAllocator(D3D12_COMMAND_LIST_TYPE_DIRECT, m_commandAllocators[itr]);
m_commandAllocators[itr]->SetName(string_cast<wstring>((string("Command Allocator for Frame: " + to_string(itr)))).c_str());
}
}
DEFINE_EVENT_MEMBER_CALLBACK(D3D12Renderer, ResizeSwapChain)
{
CleanupFrameOutputResources();
m_imGuiWrapper->InvalidateResources();
auto windowDesc = AppContext::GetMainWindowDesc();
DXGI_SWAP_CHAIN_DESC1 swapChainDesc;
CheckResult(m_swapChain->GetDesc1(&swapChainDesc), "Failed to retrieve swapchain desc.");
m_swapChain->ResizeBuffers(g_numFrameBuffers, windowDesc.width, windowDesc.height, swapChainDesc.Format, swapChainDesc.Flags | DXGI_SWAP_CHAIN_FLAG_ALLOW_MODE_SWITCH);
CreateRenderTargetViews();
CreateDepthStencilResources();
m_imGuiWrapper->RecreateResources();
m_currentBackBufferIndex = m_swapChain->GetCurrentBackBufferIndex();
m_fenceValues.fill(0);
m_viewport.Width = static_cast<float>(windowDesc.width);
m_viewport.Height = static_cast<float>(windowDesc.height);
m_scissorRect.right = windowDesc.width;
m_scissorRect.bottom = windowDesc.height;
// Recreate projection matrix with new aspect ratio :)
float32 aspectRatio = static_cast<float32>(windowDesc.width) / static_cast<float32>(windowDesc.height);
m_projMatrix.CreatePerspectiveMatrix(DegToRadf(GfxControllables::GetFOV()), aspectRatio, g_nearPlaneZ, g_farPlaneZ);
}
void D3D12Renderer::CleanupFrameOutputResources()
{
WaitForBackBufferAvailability();
for (uint32 itr = 0; itr < g_numFrameBuffers; ++itr)
{
if(m_renderTargets[itr].Get())
m_renderTargets[itr].Reset();
}
if (m_depthStencilBuffer.Get())
m_depthStencilBuffer.Reset();
}
void D3D12Renderer::InitalizeResources()
{
m_graphicPSOManager->Initialize(m_device);
CreateGraphicsCommandList();
// Populate code if something is there to record. Leaving it for now since there is nothing to records. Maybe put this in a Command List Manager?
CloseGraphicsCommandList();
CreateVertexBuffer();
CreateIndexBuffer();
CreateCBVUploadHeap();
CreateSyncObjects();
WaitForGPUToFinish(); // wait for command list to execute
// Build matrices
m_viewMatrix = m_editorCamera.GetViewMatrix();
DXGI_SWAP_CHAIN_DESC1 swapChainDesc = {};
m_swapChain->GetDesc1(&swapChainDesc);
float32 aspectRatio = static_cast<float32>(swapChainDesc.Width) / static_cast<float32>(swapChainDesc.Height);
m_projMatrix.CreatePerspectiveMatrix(DegToRadf(GfxControllables::GetFOV()), aspectRatio, g_nearPlaneZ, g_farPlaneZ);
}
void D3D12Renderer::CreateGraphicsCommandList()
{
// Create from the current frame's command allocator. On Reset, the other command allocators are used.
m_device->CreateCommandList(D3D12_COMMAND_LIST_TYPE_DIRECT, m_commandAllocators[m_currentBackBufferIndex].Get(), m_graphicPSOManager->GetDefaultPipelineState().Get(), m_commandList);
}
void D3D12Renderer::CloseGraphicsCommandList()
{
m_commandList->Close();
}
void D3D12Renderer::CreateVertexBuffer()
{
ACScopedTimer("Vertex Buffer Creation: ");
std::vector<VertexLayout> vertexBufferData;
for (auto entity : m_entities)
{
const auto& meshes = entity->GetMeshesConstRef();
for (uint32 itr = 0; itr < meshes.size(); ++itr)
{
const MeshGPUData& meshData = meshes[itr]->GetMeshGPUDataConstRef();
const std::vector<VertexLayout>& rawData = meshData.GetRawVertexLayoutDataConstRef();
vertexBufferData.insert(vertexBufferData.end(), std::begin(rawData), std::end(rawData));
}
}
uint64 vertexBufferSize = sizeof(VertexLayout) * vertexBufferData.size();;
D3D12_HEAP_PROPERTIES heapProperties = {};
heapProperties.Type = D3D12_HEAP_TYPE_UPLOAD; // TODO: Switch to default since no dynamic CPU write needed
heapProperties.CPUPageProperty = D3D12_CPU_PAGE_PROPERTY_UNKNOWN;
heapProperties.MemoryPoolPreference = D3D12_MEMORY_POOL_UNKNOWN;
heapProperties.CreationNodeMask = NULL; // Single GPU.
heapProperties.VisibleNodeMask = NULL; // Single GPU.
D3D12_RESOURCE_DESC resourceDesc = {};
resourceDesc.Dimension = D3D12_RESOURCE_DIMENSION_BUFFER;
resourceDesc.Alignment = 0;
resourceDesc.Width = vertexBufferSize;
resourceDesc.Height = 1;
resourceDesc.DepthOrArraySize = 1;
resourceDesc.MipLevels = 1;
resourceDesc.Format = DXGI_FORMAT_UNKNOWN;
resourceDesc.SampleDesc.Count = 1;
resourceDesc.SampleDesc.Quality = 0;
resourceDesc.Layout = D3D12_TEXTURE_LAYOUT_ROW_MAJOR;
resourceDesc.Flags = D3D12_RESOURCE_FLAG_NONE;
m_device->CreateCommittedResource(heapProperties, D3D12_HEAP_FLAG_NONE, resourceDesc, D3D12_RESOURCE_STATE_GENERIC_READ, nullptr, m_vertexBuffer, "Vertex Buffer");
D3D12_RANGE readRange = { 0, 0 }; // No Need to read, hence begin = end.
byte* vertexDataGPUBuffer = nullptr;
auto data = vertexBufferData.data();
CheckResult(m_vertexBuffer->Map(0, &readRange, reinterpret_cast<void**>(&vertexDataGPUBuffer)), "Failed to map vertex buffer resource");
memcpy_s(vertexDataGPUBuffer, vertexBufferSize, vertexBufferData.data(), vertexBufferSize);
m_vertexBuffer->Unmap(NULL, nullptr);
m_vertexBufferView.BufferLocation = m_vertexBuffer->GetGPUVirtualAddress();
m_vertexBufferView.StrideInBytes = sizeof(VertexLayout);
m_vertexBufferView.SizeInBytes = (uint32)vertexBufferSize;
}
void D3D12Renderer::CreateIndexBuffer()
{
ACScopedTimer("Index Buffer Creation: ");
std::vector<uint32> indexBufferData;
for (auto entity : m_entities)
{
const auto& meshes = entity->GetMeshesConstRef();
for (uint32 itr = 0; itr < meshes.size(); ++itr)
{
const MeshGPUData& meshData = meshes[itr]->GetMeshGPUDataConstRef();
const auto& indices = meshData.GetIndicesConstRef();
indexBufferData.insert(indexBufferData.end(), std::begin(indices), std::end(indices));
}
}
indexBufferData.shrink_to_fit();
uint64 indexBufferSize = sizeof(uint32) * indexBufferData.size();
m_indicesPerInstance = (uint32)indexBufferSize / sizeof(uint32);
D3D12_HEAP_PROPERTIES heapProperties = {};
heapProperties.Type = D3D12_HEAP_TYPE_UPLOAD; // TODO: Switch to default since no dynamic CPU write needed
heapProperties.CPUPageProperty = D3D12_CPU_PAGE_PROPERTY_UNKNOWN;
heapProperties.MemoryPoolPreference = D3D12_MEMORY_POOL_UNKNOWN;
heapProperties.CreationNodeMask = NULL; // Single GPU.
heapProperties.VisibleNodeMask = NULL; // Single GPU.
D3D12_RESOURCE_DESC resourceDesc = {};
resourceDesc.Dimension = D3D12_RESOURCE_DIMENSION_BUFFER;
resourceDesc.Alignment = 0;
resourceDesc.Width = indexBufferSize;
resourceDesc.Height = 1;
resourceDesc.DepthOrArraySize = 1;
resourceDesc.MipLevels = 1;
resourceDesc.Format = DXGI_FORMAT_UNKNOWN;
resourceDesc.SampleDesc.Count = 1;
resourceDesc.SampleDesc.Quality = 0;
resourceDesc.Layout = D3D12_TEXTURE_LAYOUT_ROW_MAJOR;
resourceDesc.Flags = D3D12_RESOURCE_FLAG_NONE;
m_device->CreateCommittedResource(heapProperties, D3D12_HEAP_FLAG_NONE, resourceDesc, D3D12_RESOURCE_STATE_GENERIC_READ, nullptr, m_indexBuffer, "Index Buffer");
D3D12_RANGE readRange = { 0, 0 }; // No Need to read, hence begin = end.
byte* indexDataGPUBuffer = nullptr;
CheckResult(m_indexBuffer->Map(0, &readRange, reinterpret_cast<void**>(&indexDataGPUBuffer)), "Failed to map index buffer resource");
memcpy_s(indexDataGPUBuffer, indexBufferSize, indexBufferData.data(), indexBufferSize);
m_indexBuffer->Unmap(NULL, nullptr);
m_indexBufferView.BufferLocation = m_indexBuffer->GetGPUVirtualAddress();
m_indexBufferView.Format = DXGI_FORMAT_R32_UINT;
m_indexBufferView.SizeInBytes = (uint32)indexBufferSize;
}
void D3D12Renderer::CreateCBVUploadHeap()
{
D3D12_HEAP_PROPERTIES heapProperties = {};
heapProperties.Type = D3D12_HEAP_TYPE_UPLOAD;
heapProperties.CPUPageProperty = D3D12_CPU_PAGE_PROPERTY_UNKNOWN;
heapProperties.MemoryPoolPreference = D3D12_MEMORY_POOL_UNKNOWN;
heapProperties.CreationNodeMask = NULL; // Single GPU.
heapProperties.VisibleNodeMask = NULL; // Single GPU.
uint64 cbvSize = 1024 * 64; // need to be a multiple of 64kb
D3D12_RESOURCE_DESC resourceDesc = {};
resourceDesc.Dimension = D3D12_RESOURCE_DIMENSION_BUFFER;
resourceDesc.Alignment = 0;
resourceDesc.Width = cbvSize;
resourceDesc.Height = 1;
resourceDesc.DepthOrArraySize = 1;
resourceDesc.MipLevels = 1;
resourceDesc.Format = DXGI_FORMAT_UNKNOWN;
resourceDesc.SampleDesc.Count = 1;
resourceDesc.SampleDesc.Quality = 0;
resourceDesc.Layout = D3D12_TEXTURE_LAYOUT_ROW_MAJOR;
resourceDesc.Flags = D3D12_RESOURCE_FLAG_NONE;
for (uint32 itr = 0; itr < g_numFrameBuffers; ++itr)
{
m_device->CreateCommittedResource(heapProperties, D3D12_HEAP_FLAG_NONE, resourceDesc, D3D12_RESOURCE_STATE_GENERIC_READ, nullptr, m_constantBufferUploadHeaps[itr], fmt::format("Constant Buffer Upload Heap {}", itr));
D3D12_CONSTANT_BUFFER_VIEW_DESC cbvDesc = {};
cbvDesc.BufferLocation = m_constantBufferUploadHeaps[itr]->GetGPUVirtualAddress();
cbvDesc.SizeInBytes = AlignTo(sizeof(SceneConstantBuffer), 256); // 256 byte aligned
CD3DX12_CPU_DESCRIPTOR_HANDLE cbvDescHandle(m_cbvSrvUavDescHeap->GetCPUDescriptorHandleForHeapStart());
cbvDescHandle.Offset(g_numImGuiSrvDescriptors + itr, m_cbvSrvUavHeapIncrementSize);
m_device->CreateConstantBufferView(cbvDesc, cbvDescHandle);
ZeroMemory(&m_constantBufferData, sizeof(m_constantBufferData));
D3D12_RANGE readRange = { 0, 0 }; // No Need to read, hence begin = end.
CheckResult(m_constantBufferUploadHeaps[itr]->Map(0, &readRange, reinterpret_cast<void**>(&m_constantBufferDataGPUAddresses[itr])), "Failed to map constant buffer resource");
memcpy_s(m_constantBufferDataGPUAddresses[itr], sizeof(m_constantBufferData), &m_constantBufferData, sizeof(m_constantBufferData));
}
}
void D3D12Renderer::CreateSyncObjects()
{
// Create the current processing frame's fence
m_device->CreateFence(0, D3D12_FENCE_FLAG_NONE, m_fence);
m_fenceValues[m_currentBackBufferIndex]++;
m_fenceEvent = CreateEvent(nullptr, false, false, "FenceEvent");
Assert(m_fenceEvent, "Failed to Create Fence Event");
}
void D3D12Renderer::WaitForGPUToFinish()
{
const uint64 fenceVal = m_fenceValues[m_currentBackBufferIndex];
// Schedule a Signal command in the queue.
CheckResult(m_graphicsCommandQueue->Signal(m_fence.Get(), fenceVal), "Failed to Update Fence Value");
// Wait until the fence has been processed.
CheckResult(m_fence->SetEventOnCompletion(fenceVal, m_fenceEvent), "Failed to Fire Event");
::WaitForSingleObjectEx(m_fenceEvent, INFINITE, false);
// Increment the fence value for the current frame.
m_fenceValues[m_currentBackBufferIndex]++;
}
void D3D12Renderer::WaitForBackBufferAvailability()
{
// Schedule a Signal command in the queue.
const uint64 fenceVal = m_fenceValues[m_currentBackBufferIndex];
CheckResult(m_graphicsCommandQueue->Signal(m_fence.Get(), m_fenceValues[m_currentBackBufferIndex]), "Failed to Update Fence Value");
// calling after present, the back buffer has changed.
m_currentBackBufferIndex = m_swapChain->GetCurrentBackBufferIndex();
::WaitForSingleObject(m_frameLatencyWaitableObject, 0); // idk... nvidia do's and don'ts say to wait for this object :/
// Wait until the fence signal issued above set the fence to the value. (if value is set, the queue has finished executing the command list. Else, wait).
if (m_fence->GetCompletedValue() < m_fenceValues[m_currentBackBufferIndex])
{
CheckResult(m_fence->SetEventOnCompletion(m_fenceValues[m_currentBackBufferIndex], m_fenceEvent), "Failed to Fire Event");
::WaitForSingleObject(m_fenceEvent, INFINITE);
}
m_fenceValues[m_currentBackBufferIndex] = fenceVal + 1;
}
void D3D12Renderer::RecordCommands()
{
CheckResult(m_commandAllocators[m_currentBackBufferIndex]->Reset(), "Failed to reset the command allocator");
CheckResult(m_commandList->Reset(m_commandAllocators[m_currentBackBufferIndex].Get(), m_graphicPSOManager->GetPipelineState(GfxControllables::GetPipelineState()).Get()), "Failed to reset the command list");
m_commandList->SetGraphicsRootSignature(m_graphicPSOManager->GetDefaultRootSignature().Get());
m_commandList->RSSetViewports(1, &m_viewport);
m_commandList->RSSetScissorRects(1, &m_scissorRect);
ID3D12DescriptorHeap* ptrToHeaps[] = { m_cbvSrvUavDescHeap.Get()};
m_commandList->SetDescriptorHeaps(CountOf(ptrToHeaps, ID3D12DescriptorHeap*), ptrToHeaps);
CD3DX12_GPU_DESCRIPTOR_HANDLE cbvSrvUavHeapDescHandle(m_cbvSrvUavDescHeap->GetGPUDescriptorHandleForHeapStart());
cbvSrvUavHeapDescHandle.Offset(g_numImGuiSrvDescriptors + m_currentBackBufferIndex, m_cbvSrvUavHeapIncrementSize);
m_commandList->SetGraphicsRootDescriptorTable(0, cbvSrvUavHeapDescHandle);
// Back Buffer as a Render Target
D3D12_RESOURCE_BARRIER renderTargetBarrier = {};
renderTargetBarrier.Type = D3D12_RESOURCE_BARRIER_TYPE_TRANSITION;
renderTargetBarrier.Flags = D3D12_RESOURCE_BARRIER_FLAG_NONE;
renderTargetBarrier.Transition.pResource = (m_renderTargets.at(m_currentBackBufferIndex)).Get();
renderTargetBarrier.Transition.StateBefore = D3D12_RESOURCE_STATE_PRESENT; // used as present in the last execution
renderTargetBarrier.Transition.StateAfter = D3D12_RESOURCE_STATE_RENDER_TARGET;
renderTargetBarrier.Transition.Subresource = D3D12_RESOURCE_BARRIER_ALL_SUBRESOURCES;
m_commandList->ResourceBarrier(1, &renderTargetBarrier);
D3D12_CPU_DESCRIPTOR_HANDLE rtvHandle(m_rtvDescHeap->GetCPUDescriptorHandleForHeapStart());
rtvHandle.ptr += (m_currentBackBufferIndex * m_rtvHeapIncrementSize);
D3D12_CPU_DESCRIPTOR_HANDLE dsvHandle(m_dsvDescHeap->GetCPUDescriptorHandleForHeapStart());
auto fetchedColor = GfxControllables::GetClearColor();
m_commandList->OMSetRenderTargets(1, &rtvHandle, false, &dsvHandle);
GPUCommandListProfileBegin(m_commandList.Get(), "Clear RT and DS");
m_commandList->ClearRenderTargetView(rtvHandle, (float*)&fetchedColor, 0, nullptr);
m_commandList->ClearDepthStencilView(dsvHandle, D3D12_CLEAR_FLAG_DEPTH, g_depthClearValue, NULL, NULL, nullptr);
GPUCommandListProfileEnd(m_commandList.Get());
GPUCommandListProfileBegin(m_commandList.Get(), "Render Batches");
RenderBatches();
GPUCommandListProfileEnd(m_commandList.Get());
GPUCommandListProfileBegin(m_commandList.Get(), "Render Imgui");
m_imGuiWrapper->Render(m_commandList);
GPUCommandListProfileEnd(m_commandList.Get());
// Back Buffer used to Present
D3D12_RESOURCE_BARRIER presentBarrier = {};
presentBarrier.Type = D3D12_RESOURCE_BARRIER_TYPE_TRANSITION;
presentBarrier.Flags = D3D12_RESOURCE_BARRIER_FLAG_NONE;
presentBarrier.Transition.pResource = (m_renderTargets.at(m_currentBackBufferIndex)).Get();
presentBarrier.Transition.StateBefore = D3D12_RESOURCE_STATE_RENDER_TARGET; // used as present in the last execution
presentBarrier.Transition.StateAfter = D3D12_RESOURCE_STATE_PRESENT;
presentBarrier.Transition.Subresource = D3D12_RESOURCE_BARRIER_ALL_SUBRESOURCES;
m_commandList->ResourceBarrier(1, &presentBarrier);
CheckResult(m_commandList->Close(), "Failed to close the command list");
}
void D3D12Renderer::RenderBatches()
{
m_commandList->IASetPrimitiveTopology(D3D_PRIMITIVE_TOPOLOGY_TRIANGLELIST);
m_commandList->IASetVertexBuffers(0, 1, &m_vertexBufferView);
m_commandList->IASetIndexBuffer(&m_indexBufferView);
uint32 batchNumber = 0;
for (auto& entity : m_entities)
{
const auto& batchInfos = entity->GetBatchInfoConstRef();
for (auto& batch : batchInfos)
{
ScopedGPUCommandListProfile(m_commandList.Get(), fmt::format("Draw Batch {}", batchNumber++).c_str());
m_commandList->DrawIndexedInstanced((uint32)batch.indexCount, 1, (uint32)batch.startIndex, 0, 0);
}
}
}
}
#endif // defined(AC_D3D12) && defined(PLATFORM_WINDOWS) | 45.266041 | 325 | 0.699464 | 96aman96 |
a75aba3a5f911bd9b1f8f7022558086553f74d6f | 4,067 | hpp | C++ | bitlinuxosnetworkclass/lesson35/httpServer.hpp | DanteIoVeYou/Linux_Study | 701a54caad3d65c511716111430ca08ada78f088 | [
"MIT"
] | null | null | null | bitlinuxosnetworkclass/lesson35/httpServer.hpp | DanteIoVeYou/Linux_Study | 701a54caad3d65c511716111430ca08ada78f088 | [
"MIT"
] | null | null | null | bitlinuxosnetworkclass/lesson35/httpServer.hpp | DanteIoVeYou/Linux_Study | 701a54caad3d65c511716111430ca08ada78f088 | [
"MIT"
] | null | null | null | #include <iostream>
#include <pthread.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <string>
#include <fstream>
#include <cstring>
#define SRC_PATH "wwwroot/index.html"
#define NOTFOUND "wwwroot/13-404-rolling-box.html"
namespace srv
{
class httpServer
{
public:
httpServer(uint16_t port) : _port(port), _listen_sock(-1) {}
~httpServer() { close(_listen_sock); }
static void *handler(void *args)
{
// 线程分离
pthread_detach(pthread_self());
// 接受请求
int sock = *(int *)args;
delete (int *)args;
char buffer[4096] = {0};
ssize_t s = recv(sock, buffer, sizeof(buffer) - 1, 0);
if (s < 0)
{
std::cerr << "recv failed." << std::endl;
return nullptr;
}
else
{
std::cout << "====================================================" << std::endl;
buffer[s] = 0;
std::cout << buffer;
std::cout << "====================================================" << std::endl;
}
// 做出响应
// 返回http报头 + 网页
// std::string body = "<html><body><h1>HELLOWORLD</h1></body></html>";
std::string body;
std::string line;
std::ifstream in("wwwroot/index.html", std::ios::in | std::ios::binary);
// std::ifstream in(SRC_PATH);
if (in.is_open())
{
while (std::getline(in, line))
{
body += line;
}
}
else
{
std::ifstream in(NOTFOUND);
while (std::getline(in, line))
{
body += line;
}
}
std::string resp;
// 1. 状态行: http版本 + 状态码 + 状态码描述
resp += "HTTP/1.1 200 OK\n";
// 2. 响应报头:数据类型
resp += "Contect-Type: text/html\n";
// 3. 响应报头:Body的长度
resp += "Content-Length: " + std::to_string(body.size()) + "\n";
// 4. 空行
resp += "\n";
// 5. 响应正文
resp += body;
ssize_t ss = send(sock, resp.c_str(), resp.size(), 0);
if (ss < 0)
{
std::cerr << "send failed" << std::endl;
return nullptr;
}
close(sock);
return nullptr;
}
void init()
{
// 1. 创建套接字
_listen_sock = socket(AF_INET, SOCK_STREAM, 0);
if (_listen_sock < 0)
{
std::cerr << "create socket failed." << std::endl;
exit(1);
}
// 2.绑定套接字
sockaddr_in local;
memset(&local, 0, sizeof(local));
local.sin_family = AF_INET;
local.sin_port = htons(_port);
local.sin_addr.s_addr = INADDR_ANY;
if (bind(_listen_sock, (sockaddr *)&local, sizeof(local)) < 0)
{
std::cerr << "bind failed." << std::endl;
exit(2);
}
// 3.监听套接字
listen(_listen_sock, 5);
}
void start()
{
while (true)
{
sockaddr_in peer;
memset(&peer, 0, sizeof(peer));
socklen_t len = sizeof(peer);
int sock = accept(_listen_sock, (sockaddr *)&peer, &len);
if (sock < 0)
{
std::cerr << "accept fail." << std::endl;
continue;
}
// 建立链接,创建线程处理
pthread_t tid;
int *psock = new int(sock);
pthread_create(&tid, nullptr, handler, psock);
}
}
private:
uint16_t _port;
int _listen_sock;
};
} // namespace end | 30.578947 | 97 | 0.405704 | DanteIoVeYou |
a75e194f8986210cb18fba773c0624c5d0e6922f | 13,685 | cpp | C++ | HiveCore/src/Buffer/BufferSparseVolumeData.cpp | digirea/HIVE | 8896b0cc858c1ad0683888b925f71c0f0d71bf9d | [
"MIT"
] | null | null | null | HiveCore/src/Buffer/BufferSparseVolumeData.cpp | digirea/HIVE | 8896b0cc858c1ad0683888b925f71c0f0d71bf9d | [
"MIT"
] | null | null | null | HiveCore/src/Buffer/BufferSparseVolumeData.cpp | digirea/HIVE | 8896b0cc858c1ad0683888b925f71c0f0d71bf9d | [
"MIT"
] | null | null | null | /**
* @file BufferSparseVolumeData.cpp
* BufferSparseVolumeDataクラス
*/
#include "BufferSparseVolumeData.h"
#include "Buffer.h"
#include "BufferVolumeData.h"
// Use SparseVolume feature from SURFACE to provide Sample() function
#include "render_bvh_tree.h"
#include <limits>
#include <cstring>
/**
* BufferSparseVolumeDataクラス
*/
class BufferSparseVolumeData::Impl
{
private:
int m_dim[3]; ///< Extent dim.
std::vector<VolumeBlock> m_volumeBlocks;
// For `Sample()` method.
lsgl::render::BVHTree m_tree;
bool m_isBuilt;
// Grabbed from SURFACE/render/render_accel_volume.cc
bool SampleSparseVolume(
double value[16],
const double position[3]) {
StackVector<lsgl::render::BVHNodeLocator, 32> locaters;
bool hit = m_tree.Locate(locaters, position);
memset(value, 0, sizeof(double) * 16);
if (hit) {
// @note { We don't allow overlapping of volume blocks. }
lsgl::render::BVHNodeLocator locator = locaters[0];
// fetch texel color
int blockID = locator.nodeID;
const VolumeBlock &block = m_volumeBlocks[blockID];
// find local offset.
double x = position[0] - block.offset[0];
double y = position[1] - block.offset[1];
double z = position[2] - block.offset[2];
if (block.isRaw) {
int components = block.components;
int numChannels = (components > 16) ? 16 : components; // Up to 16 channels.
// map [0, extent] to cell size: [0, size].
double scaleX = block.size[0] / (double)block.extent[0];
double scaleY = block.size[1] / (double)block.extent[1];
double scaleZ = block.size[2] / (double)block.extent[2];
x = x * scaleX;
y = y * scaleX;
z = z * scaleX;
int ix = (std::max)(
(std::min)(block.size[0] - 1, (int)x), 0);
int iy = (std::max)(
(std::min)(block.size[1] - 1, (int)y), 0);
int iz = (std::max)(
(std::min)(block.size[2] - 1, (int)z), 0);
size_t idx =
iz * block.size[1] * block.size[0] + iy * block.size[0] + ix;
if (block.format == BufferSparseVolumeData::FORMAT_FLOAT) {
const float* ptr = reinterpret_cast<const float*>(block.rawData);
for (int c = 0; c < numChannels; c++) {
value[c] = ptr[components * idx + c];
}
} else {
const double* ptr = reinterpret_cast<const double*>(block.rawData);
for (int c = 0; c < numChannels; c++) {
value[c] = ptr[components * idx + c];
}
}
} else {
int components = block.volume->Component();
int numChannels = (components > 16) ? 16 : components; // Up to 16 channels.
// map [0, extent] to cell size: [0, size].
double scaleX = block.volume->Width() / (double)block.extent[0];
double scaleY = block.volume->Height() / (double)block.extent[1];
double scaleZ = block.volume->Depth() / (double)block.extent[2];
x = x * scaleX;
y = y * scaleX;
z = z * scaleX;
int ix = (std::max)(
(std::min)(block.volume->Width() - 1, (int)x), 0);
int iy = (std::max)(
(std::min)(block.volume->Height() - 1, (int)y), 0);
int iz = (std::max)(
(std::min)(block.volume->Depth() - 1, (int)z), 0);
size_t idx =
iz * block.volume->Height() * block.volume->Width() + iy * block.volume->Width() + ix;
for (int c = 0; c < numChannels; c++) {
value[c] = (block.volume->Buffer()->GetBuffer())[components * idx + c];
}
}
}
return hit;
}
public:
/// コンストラクタ
Impl()
{
m_dim[0] = -1;
m_dim[1] = -1;
m_dim[2] = -1;
m_isBuilt = false;
}
/// コンストラクタ
/// @param inst 疎ボリュームデータ
Impl(BufferSparseVolumeData* inst)
{
m_dim[0] = inst->Width();
m_dim[1] = inst->Height();
m_dim[2] = inst->Depth();
m_volumeBlocks = inst->VolumeBlocks();
// @todo { m_tree }
m_isBuilt = inst->IsBuilt();
}
/// デストラクタ
~Impl()
{
}
/// BufferSparseVolumeDataの作成
void Create()
{
m_dim[0] = 0;
m_dim[1] = 0;
m_dim[2] = 0;
}
/**
* BufferSparseVolumeDataへのBufferVolumeDataの追加
* @param level LoD level
* @param offset_x SparseBlockオフセットX(World coordinate)
* @param offset_y SparseBlockオフセットY(World coordiante)
* @param offset_z SparseBlockオフセットZ(World coordiante)
* @param extent_x SparseBlock Extent X(World coordinate)
* @param extent_y SparseBlock Extent Y(World coordinate)
* @param extent_z SparseBlock Extent Z(World coordinate)
* @param vol 対象のBufferVolumeData
*/
void AddVolume(int level, int offset_x, int offset_y, int offset_z,
int extent_x, int extent_y, int extent_z, BufferVolumeData* vol)
{
{
VolumeBlock block;
block.isRaw = false;
block.rawData = NULL;
block.level = level;
block.offset[0] = offset_x;
block.offset[1] = offset_y;
block.offset[2] = offset_z;
block.extent[0] = extent_x;
block.extent[1] = extent_y;
block.extent[2] = extent_z;
m_dim[0] = std::max(block.offset[0] + block.extent[0], m_dim[0]);
m_dim[1] = std::max(block.offset[1] + block.extent[1], m_dim[1]);
m_dim[2] = std::max(block.offset[2] + block.extent[2], m_dim[2]);
block.volume = vol; // pointer reference
m_volumeBlocks.push_back(block);
}
}
void AddRAWVolume(int level, int offset_x, int offset_y, int offset_z,
int extent_x, int extent_y, int extent_z, int size_x, int size_y, int size_z, int components, VolumeBlockFormat format, const void *data)
{
{
VolumeBlock block;
block.isRaw = true;
block.volume = NULL;
block.level = level;
block.offset[0] = offset_x;
block.offset[1] = offset_y;
block.offset[2] = offset_z;
block.extent[0] = extent_x;
block.extent[1] = extent_y;
block.extent[2] = extent_z;
block.size[0] = size_x;
block.size[1] = size_y;
block.size[2] = size_z;
block.components = components;
block.format = format;
m_dim[0] = std::max(block.offset[0] + block.extent[0], m_dim[0]);
m_dim[1] = std::max(block.offset[1] + block.extent[1], m_dim[1]);
m_dim[2] = std::max(block.offset[2] + block.extent[2], m_dim[2]);
block.rawData = reinterpret_cast<const unsigned char*>(data); // pointer reference
m_volumeBlocks.push_back(block);
}
}
/// メンバクリア
void Clear()
{
m_volumeBlocks.clear();
m_dim[0] = -1;
m_dim[1] = -1;
m_dim[2] = -1;
m_tree.Clear();
m_isBuilt = false;
}
/// デバッグ用
void print()
{
}
/// Width取得
int Width()
{
return m_dim[0];
}
/// Height取得
int Height()
{
return m_dim[1];
}
/// Depth取得
int Depth()
{
return m_dim[2];
}
const std::vector<VolumeBlock>& VolumeBlocks() const {
return m_volumeBlocks;
}
std::vector<VolumeBlock>& VolumeBlocks() {
return m_volumeBlocks;
}
/**
* サンプルする
* @param ret サンプル結果(up to 16)
* @param x x(normalized)
* @param y y(normalized)
* @param z z(normalized)
*/
void Sample(float* ret, float x, float y, float z) {
// Up to 16 components at this time.
double value[16];
double position[3];
position[0] = x * Width();
position[1] = y * Height();
position[2] = z * Depth();
SampleSparseVolume(value, position);
for (int c = 0; c < 16; c++) {
ret[c] = value[c];
}
}
/// 疎ボリュームデータをビルド
bool Build() {
if (m_volumeBlocks.empty()) {
return false;
}
if (m_isBuilt) {
return true;
}
double minval = std::numeric_limits<double>::max();
double maxval = -std::numeric_limits<double>::max();
for (size_t i = 0; i < m_volumeBlocks.size(); i++) {
if (m_volumeBlocks[i].isRaw) {
const BufferVolumeData* vb = m_volumeBlocks[i].volume;
size_t n = m_volumeBlocks[i].size[0] * m_volumeBlocks[i].size[1] * m_volumeBlocks[i].size[2] * m_volumeBlocks[i].components;
for (size_t j = 0; j < n; j++) {
double val = m_volumeBlocks[i].rawData[j];
minval = (std::min)(minval, val);
maxval = (std::max)(maxval, val);
}
} else {
const BufferVolumeData* vb = m_volumeBlocks[i].volume;
for (size_t j = 0; j < vb->Buffer()->GetNum(); j++) {
double val = vb->Buffer()->GetBuffer()[j];
minval = (std::min)(minval, val);
maxval = (std::max)(maxval, val);
}
}
}
printf("[DBG] minval = %f, maxval = %f\n", minval, maxval);
for (size_t i = 0; i < m_volumeBlocks.size(); i++) {
lsgl::render::BVHData data;
data.bmin[0] = m_volumeBlocks[i].offset[0];
data.bmin[1] = m_volumeBlocks[i].offset[1];
data.bmin[2] = m_volumeBlocks[i].offset[2];
if (m_volumeBlocks[i].isRaw) {
data.bmax[0] = data.bmin[0] + m_volumeBlocks[i].extent[0];
data.bmax[1] = data.bmin[1] + m_volumeBlocks[i].extent[1];
data.bmax[2] = data.bmin[2] + m_volumeBlocks[i].extent[2];
} else {
data.bmax[0] = data.bmin[0] + m_volumeBlocks[i].volume->Width();
data.bmax[1] = data.bmin[1] + m_volumeBlocks[i].volume->Height();
data.bmax[2] = data.bmin[2] + m_volumeBlocks[i].volume->Depth();
}
data.nodeID = i;
m_tree.AddNode(data);
}
m_tree.BuildTree();
double bmin[3], bmax[3];
m_tree.BoundingBox(bmin, bmax);
printf("[BufferSparseVolumeData] bmin = (%f, %f, %f)\n", bmin[0], bmin[1], bmin[2]);
printf("[BufferSparseVolumeData] bmax = (%f, %f, %f)\n", bmax[0], bmax[1], bmax[2]);
m_isBuilt = true;
return true;
}
bool IsBuilt() const {
return m_isBuilt;
}
};
/// コンストラクタ
BufferSparseVolumeData::BufferSparseVolumeData() : BufferData(TYPE_SPARSEVOLUME)
{
m_imp = new BufferSparseVolumeData::Impl();
}
/// コンストラクタ
/// @param inst 疎ボリュームデータ
BufferSparseVolumeData::BufferSparseVolumeData(BufferSparseVolumeData* inst) : BufferData(TYPE_SPARSEVOLUME)
{
m_imp = new BufferSparseVolumeData::Impl(inst);
}
/// デストラクタ
BufferSparseVolumeData::~BufferSparseVolumeData()
{
delete m_imp;
}
BufferSparseVolumeData* BufferSparseVolumeData::CreateInstance()
{
return new BufferSparseVolumeData();
}
void BufferSparseVolumeData::Create()
{
m_imp->Create();
}
/**
* BufferSparseVolumeDataへのBufferVolumeDataの追加
* @param level LoD level
* @param offset_x SparseBlockオフセットX
* @param offset_y SparseBlockオフセットY
* @param offset_z SparseBlockオフセットZ
* @param extent_x Extent in X
* @param extent_y Extent in Y
* @param extent_z Extent in Z
* @param vol 対象のBufferVolumeData
*/
void BufferSparseVolumeData::AddVolumeBlock(int level, int offset_x, int offset_y, int offset_z,
int extent_x, int extent_y, int extent_z, BufferVolumeData* vol)
{
m_imp->AddVolume(level, offset_x, offset_y, offset_z, extent_x, extent_y, extent_z, vol);
}
/**
* BufferSparseVolumeDataへの Raw VolumeBlock の追加
* @param level LoD level
* @param offset_x SparseBlockオフセットX
* @param offset_y SparseBlockオフセットY
* @param offset_z SparseBlockオフセットZ
* @param extent_x Extent in X
* @param extent_y Extent in Y
* @param extent_z Extent in Z
* @param size_x Cell size in X
* @param size_y Cell size in Y
* @param size_z Cell size in Z
* @param component # of components in voxel
* @param format Voxel data format
* @param data Pointer to raw volume data
*/
void BufferSparseVolumeData::AddRAWVolumeBlock(int level, int offset_x, int offset_y, int offset_z,
int extent_x, int extent_y, int extent_z, int size_x, int size_y, int size_z, int components, VolumeBlockFormat format, const void* data)
{
m_imp->AddRAWVolume(level, offset_x, offset_y, offset_z, extent_x, extent_y, extent_z, size_x, size_y, size_z, components, format, data);
}
/// メンバクリア
void BufferSparseVolumeData::Clear()
{
m_imp->Clear();
}
/// デバッグ用
void BufferSparseVolumeData::print()
{
m_imp->print();
}
/// Width取得
int BufferSparseVolumeData::Width() const
{
return m_imp->Width();
}
/// Height取得
int BufferSparseVolumeData::Height() const
{
return m_imp->Height();
}
/// Depth取得
int BufferSparseVolumeData::Depth() const
{
return m_imp->Depth();
}
/// バッファの参照を返す
const std::vector<BufferSparseVolumeData::VolumeBlock>& BufferSparseVolumeData::VolumeBlocks() const
{
return m_imp->VolumeBlocks();
}
/// バッファの参照を返す
std::vector<BufferSparseVolumeData::VolumeBlock>& BufferSparseVolumeData::VolumeBlocks()
{
return m_imp->VolumeBlocks();
}
/**
* サンプルする
* @param ret サンプル結果
* @param x x
* @param y y
* @param z z
*/
void BufferSparseVolumeData::Sample(float* ret, float x, float y, float z)
{
return m_imp->Sample(ret, x, y, z);
}
/// 疎ボリュームデータをビルド
bool BufferSparseVolumeData::Build()
{
return m_imp->Build();
}
bool BufferSparseVolumeData::IsBuilt() const
{
return m_imp->IsBuilt();
}
| 26.886051 | 156 | 0.581878 | digirea |
a767b771c1dfaa7ef81974eddf888d40ad2cfef3 | 24,179 | cc | C++ | src/elf/elf-file.cc | yanz08/rv8-wezh | bdf11993dfaff208bc4b3d451c534231037ac80e | [
"MIT"
] | 463 | 2017-05-11T05:18:51.000Z | 2021-01-29T05:18:41.000Z | src/elf/elf-file.cc | michaeljclark/riscv-mc | 834259098a5c182874aac97d82a164d144244e1a | [
"MIT"
] | 25 | 2017-05-11T07:57:48.000Z | 2020-07-01T04:04:36.000Z | src/elf/elf-file.cc | michaeljclark/riscv-mc | 834259098a5c182874aac97d82a164d144244e1a | [
"MIT"
] | 62 | 2017-06-02T01:07:33.000Z | 2020-11-12T18:58:07.000Z | //
// elf-file.cc
//
#include <cstdio>
#include <cstdint>
#include <cstring>
#include <cerrno>
#include <cassert>
#include <string>
#include <vector>
#include <map>
#include <functional>
#include <sys/stat.h>
#include "elf.h"
#include "elf-file.h"
#include "elf-format.h"
#include "util.h"
elf_file::elf_file() {}
elf_file::elf_file(std::string filename)
{
load(filename);
}
void elf_file::clear()
{
filename = "";
filesize = 0;
ei_class = ELFCLASSNONE;
ei_data = ELFDATANONE;
memset(&ehdr, 0, sizeof(ehdr));
phdrs.resize(0);
shdrs.resize(0);
symbols.resize(0);
addr_symbol_map.clear();
name_symbol_map.clear();
shstrtab = symtab = strtab = 0;
sections.resize(0);
relocations.resize(0);
}
void elf_file::init_object(int ei_class)
{
clear();
this->ei_class = ei_class;
this->ei_data = ELFDATA2LSB;
memset(&ehdr, 0, sizeof(ehdr));
ehdr.e_ident[EI_MAG0] = ELFMAG0;
ehdr.e_ident[EI_MAG1] = ELFMAG1;
ehdr.e_ident[EI_MAG2] = ELFMAG2;
ehdr.e_ident[EI_MAG3] = ELFMAG3;
ehdr.e_ident[EI_CLASS] = ei_class;
ehdr.e_ident[EI_DATA] = ei_data;
ehdr.e_ident[EI_VERSION] = 1;
ehdr.e_type = ET_REL;
ehdr.e_flags = EF_RISCV_FLOAT_ABI_DOUBLE;
ehdr.e_machine = EM_RISCV;
ehdr.e_version = EV_CURRENT;
add_section("", SHT_NULL, 0, 0);
text = add_section(".text", SHT_PROGBITS, SHF_ALLOC | SHF_EXECINSTR, 4);
rela_text = add_section(".rela.text", SHT_RELA, SHF_INFO_LINK, 8);
data = add_section(".data", SHT_PROGBITS, SHF_ALLOC | SHF_WRITE, 1);
bss = add_section(".bss", SHT_NOBITS, SHF_ALLOC | SHF_WRITE, 1);
rodata = add_section(".rodata", SHT_PROGBITS, SHF_ALLOC, 1);
shstrtab = add_section(".shstrtab", SHT_STRTAB, 0, 1);
symtab = add_section(".symtab", SHT_SYMTAB, 0, 8);
strtab = add_section(".strtab", SHT_STRTAB, 0, 1);
shdrs[rela_text].sh_info = 1;
shdrs[rela_text].sh_link = symtab;
shdrs[symtab].sh_link = strtab;
ehdr.e_shstrndx = shstrtab;
add_symbol("", STB_LOCAL, STT_NOTYPE, STV_DEFAULT, SHN_UNDEF, 0);
add_symbol(".text", STB_LOCAL, STT_SECTION, STV_DEFAULT, text, 0);
add_symbol(".data", STB_LOCAL, STT_SECTION, STV_DEFAULT, data, 0);
add_symbol(".bss", STB_LOCAL, STT_SECTION, STV_DEFAULT, bss, 0);
add_symbol(".rodata", STB_LOCAL, STT_SECTION, STV_DEFAULT, rodata, 0);
}
size_t elf_file::add_section(std::string name, Elf64_Word sh_type, Elf64_Xword sh_flags,
Elf64_Xword sh_addralign)
{
size_t num = shdrs.size();
sections.push_back(elf_section{ .name = name });
shdrs.push_back(Elf64_Shdr{
.sh_name = 0,
.sh_type = sh_type,
.sh_flags = sh_flags
});
shdrs.back().sh_addralign = sh_addralign;
return num;
}
size_t elf_file::add_symbol(std::string name, Elf32_Word st_bind, Elf32_Word st_type,
Elf64_Byte st_other, Elf64_Half st_shndx, Elf64_Addr st_value)
{
if (!symtab || !strtab) return 0;
Elf64_Word st_name = sections[strtab].buf.size();
std::copy(name.c_str(), name.c_str() + name.length(),
std::back_inserter(sections[strtab].buf));
sections[strtab].buf.push_back(0);
size_t i = symbols.size();
symbols.push_back(Elf64_Sym{
.st_name = st_name,
.st_info = ELF64_ST_INFO(st_bind, st_type),
.st_other = st_other,
.st_shndx = st_shndx,
.st_value = st_value
});
name_symbol_map[sym_name(i)] = i;
addr_symbol_map[i] = st_value;
return i;
}
size_t elf_file::add_reloc(Elf64_Addr r_offset, Elf64_Xword r_sym,
Elf64_Xword r_type, Elf64_Sxword r_addend)
{
size_t i = relocations.size();
relocations.push_back(Elf64_Rela{
.r_offset = r_offset,
.r_info = ELF64_R_INFO(r_sym, r_type),
.r_addend = r_addend
});
return i;
}
size_t elf_file::section_num(std::string section_name)
{
if (section_name == ".text") return text;
else if (section_name == ".data") return data;
else if (section_name == ".bss") return bss;
else if (section_name == ".rodata") return rodata;
else return SHN_UNDEF;
}
void elf_file::load(std::string filename, elf_load load_type)
{
FILE *file;
struct stat stat_buf;
std::vector<uint8_t> buf;
std::vector<std::pair<size_t,size_t>> bounds;
// clear current data
clear();
// open file
this->filename = filename;
file = fopen(filename.c_str(), "r");
if (!file) {
panic("error fopen: %s: %s", filename.c_str(), strerror(errno));
}
// check file length
if (fstat(fileno(file), &stat_buf) < 0) {
fclose(file);
panic("error fstat: %s: %s", filename.c_str(), strerror(errno));
}
// read file magic
if (stat_buf.st_size < EI_NIDENT) {
fclose(file);
panic("error invalid ELF file: %s", filename.c_str());
}
filesize = stat_buf.st_size;
buf.resize(EI_NIDENT);
size_t bytes_read = fread(buf.data(), 1, EI_NIDENT, file);
if (bytes_read != EI_NIDENT || !elf_check_magic(buf.data())) {
fclose(file);
panic("error invalid ELF magic: %s", filename.c_str());
}
ei_class = buf[EI_CLASS];
ei_data = buf[EI_DATA];
// read, byteswap and normalize file header
switch (ei_class) {
case ELFCLASS32: buf.resize(sizeof(Elf32_Ehdr)); break;
case ELFCLASS64: buf.resize(sizeof(Elf64_Ehdr)); break;
default:
fclose(file);
panic("error invalid ELF class: %s", filename.c_str());
}
fseek(file, 0, SEEK_SET);
if (fread(buf.data(), 1, buf.size(), file) != buf.size()) {
fclose(file);
panic("error fread: %s", filename.c_str());
}
uint64_t phdr_end = 0, shdr_end = 0;
switch (ei_class) {
case ELFCLASS32:
elf_bswap_ehdr32((Elf32_Ehdr*)buf.data(), ei_data, ELFENDIAN_HOST);
elf_ehdr32_to_ehdr64(&ehdr, (Elf32_Ehdr*)buf.data());
phdr_end = ehdr.e_phoff + ehdr.e_phnum * sizeof(Elf32_Phdr);
shdr_end = ehdr.e_shoff + ehdr.e_shnum * sizeof(Elf32_Shdr);
break;
case ELFCLASS64:
elf_bswap_ehdr64((Elf64_Ehdr*)buf.data(), ei_data, ELFENDIAN_HOST);
memcpy(&ehdr, (Elf64_Ehdr*)buf.data(), sizeof(Elf64_Ehdr));
phdr_end = ehdr.e_phoff + ehdr.e_phnum * sizeof(Elf64_Phdr);
shdr_end = ehdr.e_shoff + ehdr.e_shnum * sizeof(Elf64_Shdr);
break;
}
if (load_type == elf_load_exec) {
fclose(file);
return;
}
// check program and section header offsets are within the file size
if (phdr_end > (uint64_t)stat_buf.st_size) {
fclose(file);
panic("program header offset %ld > %d range: %s",
phdr_end, stat_buf.st_size, filename.c_str());
}
if (shdr_end > (uint64_t)stat_buf.st_size) {
fclose(file);
panic("section header offset %ld > %d range: %s",
shdr_end, stat_buf.st_size, filename.c_str());
}
if (ehdr.e_phoff < shdr_end && ehdr.e_shoff < phdr_end) {
fclose(file);
panic("section and program headers overlap: %s",
filename.c_str());
}
bounds.push_back(std::pair<size_t,size_t>(ehdr.e_phoff, phdr_end));
bounds.push_back(std::pair<size_t,size_t>(ehdr.e_shoff, shdr_end));
// check header version
if (ehdr.e_version != EV_CURRENT) {
fclose(file);
panic("error invalid ELF version: %s", filename.c_str());
}
// read, byteswap and normalize program and section headers
switch (ei_class) {
case ELFCLASS32:
buf.resize(sizeof(Elf32_Phdr));
for (int i = 0; i < ehdr.e_phnum; i++) {
fseek(file, ehdr.e_phoff + i * sizeof(Elf32_Phdr), SEEK_SET);
if (fread(buf.data(), 1, buf.size(), file) != buf.size()) {
fclose(file);
panic("error fread: %s", filename.c_str());
}
Elf32_Phdr *phdr32 = (Elf32_Phdr*)buf.data();
Elf64_Phdr phdr64;
elf_bswap_phdr32(phdr32, ei_data, ELFENDIAN_HOST);
elf_phdr32_to_phdr64(&phdr64, phdr32);
phdrs.push_back(phdr64);
}
buf.resize(sizeof(Elf32_Shdr));
for (int i = 0; i < ehdr.e_shnum; i++) {
fseek(file, ehdr.e_shoff + i * sizeof(Elf32_Shdr), SEEK_SET);
if (fread(buf.data(), 1, buf.size(), file) != buf.size()) {
fclose(file);
panic("error fread: %s", filename.c_str());
}
Elf32_Shdr *shdr32 = (Elf32_Shdr*)buf.data();
Elf64_Shdr shdr64;
elf_bswap_shdr32(shdr32, ei_data, ELFENDIAN_HOST);
elf_shdr32_to_shdr64(&shdr64, shdr32);
shdrs.push_back(shdr64);
}
break;
case ELFCLASS64:
buf.resize(sizeof(Elf64_Phdr));
for (int i = 0; i < ehdr.e_phnum; i++) {
fseek(file, ehdr.e_phoff + i * sizeof(Elf64_Phdr), SEEK_SET);
if (fread(buf.data(), 1, buf.size(), file) != buf.size()) {
fclose(file);
panic("error fread: %s", filename.c_str());
}
Elf64_Phdr *phdr64 = (Elf64_Phdr*)buf.data();
elf_bswap_phdr64(phdr64, ei_data, ELFENDIAN_HOST);
phdrs.push_back(*phdr64);
}
buf.resize(sizeof(Elf64_Shdr));
for (int i = 0; i < ehdr.e_shnum; i++) {
fseek(file, ehdr.e_shoff + i * sizeof(Elf64_Shdr), SEEK_SET);
if (fread(buf.data(), 1, buf.size(), file) != buf.size()) {
fclose(file);
panic("error fread: %s", filename.c_str());
}
Elf64_Shdr *shdr64 = (Elf64_Shdr*)buf.data();
elf_bswap_shdr64(shdr64, ei_data, ELFENDIAN_HOST);
shdrs.push_back(*shdr64);
}
break;
}
// Find interp
for (size_t i = 0; i < phdrs.size(); i++) {
if (phdrs[i].p_type == PT_INTERP) {
size_t size = phdrs[i].p_filesz;
size_t offset = phdrs[i].p_offset;
interp.clear();
interp.insert(0, size, 0);
fseek(file, offset, SEEK_SET);
if (fread((void*)interp.data(), 1, size, file) != size) {
fclose(file);
panic("error fread: %s", filename.c_str());
}
break;
}
}
if (load_type == elf_load_headers) {
fclose(file);
return;
}
// Find shstrtab, strtab and symtab
for (size_t i = 0; i < shdrs.size(); i++) {
if (shstrtab == 0 && shdrs[i].sh_type == SHT_STRTAB && ehdr.e_shstrndx == i) {
shstrtab = i;
} else if (symtab == 0 && shdrs[i].sh_type == SHT_SYMTAB) {
symtab = i;
if (shdrs[i].sh_link > 0) {
if (shdrs[i].sh_link > shdrs.size()) {
debug("symtab sh_link value %d out of bounds",
shdrs[i].sh_link, shdrs.size());
} else {
strtab = shdrs[i].sh_link;
}
}
}
}
// read section data into buffers
sections.resize(shdrs.size());
for (size_t i = 0; i < shdrs.size(); i++) {
uint64_t section_end = shdrs[i].sh_offset + shdrs[i].sh_size;
sections[i].offset = shdrs[i].sh_offset;
sections[i].size = shdrs[i].sh_size;
if (shdrs[i].sh_type == SHT_NOBITS) continue;
for (auto &bound : bounds) {
if (shdrs[i].sh_offset < bound.second && bound.first < section_end) {
fclose(file);
panic("section %d overlap: %s",
i, filename.c_str());
}
}
if (shdrs[i].sh_offset + shdrs[i].sh_size > (uint64_t)stat_buf.st_size) {
fclose(file);
panic("section offset %ld > %d range: %s",
section_end, stat_buf.st_size, filename.c_str());
}
fseek(file, shdrs[i].sh_offset, SEEK_SET);
sections[i].buf.resize(shdrs[i].sh_size);
if (fread(sections[i].buf.data(), 1, shdrs[i].sh_size, file) != shdrs[i].sh_size) {
fclose(file);
panic("error fread: %s", filename.c_str());
}
bounds.push_back(std::pair<size_t,size_t>(shdrs[i].sh_offset, section_end));
}
fclose(file);
buf.resize(0);
// byteswap symbol table
byteswap_symbol_table(ELFENDIAN_HOST);
// update symbol table
copy_from_symbol_table_sections();
// update relocation table
copy_from_relocation_table_sections();
// update section name list
copy_from_section_names();
}
void elf_file::save(std::string filename)
{
FILE *file;
std::vector<uint8_t> buf;
// open file
this->filename = filename;
file = fopen(filename.c_str(), "w");
if (!file) {
panic("error fopen: %s: %s", filename.c_str(), strerror(errno));
}
// update section name list
copy_to_section_names();
// update relocation table based on changes to relocations
copy_to_relocation_table_sections();
// update symbol table section based on changes to symbols
copy_to_symbol_table_sections();
// recompute section offsets based on changes to headers and sections
recalculate_section_offsets();
// byteswap, de-normalize and write file header
switch (ei_class) {
case ELFCLASS32:
buf.resize(sizeof(Elf32_Ehdr));
elf_ehdr64_to_ehdr32((Elf32_Ehdr*)buf.data(), &ehdr);
elf_bswap_ehdr32((Elf32_Ehdr*)buf.data(), ei_data, ELFENDIAN_TARGET);
break;
case ELFCLASS64:
buf.resize(sizeof(Elf64_Ehdr));
memcpy((Elf64_Ehdr*)buf.data(), &ehdr, sizeof(Elf64_Ehdr));
elf_bswap_ehdr64((Elf64_Ehdr*)buf.data(), ei_data, ELFENDIAN_TARGET);
break;
default:
fclose(file);
panic("error invalid ELF class: %s", filename.c_str());
}
if (fwrite(buf.data(), 1, buf.size(), file) != buf.size()) {
fclose(file);
panic("error fwrite: %s", filename.c_str());
}
// byteswap, de-normalize and write program and section headers
switch (ei_class) {
case ELFCLASS32:
buf.resize(sizeof(Elf32_Phdr));
for (size_t i = 0; i < phdrs.size(); i++) {
elf_phdr64_to_phdr32((Elf32_Phdr*)buf.data(), &phdrs[i]);
elf_bswap_phdr32((Elf32_Phdr*)buf.data(), ei_data, ELFENDIAN_TARGET);
fseek(file, ehdr.e_phoff + i * sizeof(Elf32_Phdr), SEEK_SET);
if (fwrite(buf.data(), 1, buf.size(), file) != buf.size()) {
fclose(file);
panic("error fwrite: %s", filename.c_str());
}
}
buf.resize(sizeof(Elf32_Shdr));
for (size_t i = 0; i < shdrs.size(); i++) {
elf_shdr64_to_shdr32((Elf32_Shdr*)buf.data(), &shdrs[i]);
elf_bswap_shdr32((Elf32_Shdr*)buf.data(), ei_data, ELFENDIAN_TARGET);
fseek(file, ehdr.e_shoff + i * sizeof(Elf32_Shdr), SEEK_SET);
if (fwrite(buf.data(), 1, buf.size(), file) != buf.size()) {
fclose(file);
panic("error fwrite: %s", filename.c_str());
}
}
break;
case ELFCLASS64:
buf.resize(sizeof(Elf64_Phdr));
for (size_t i = 0; i < phdrs.size(); i++) {
memcpy((Elf64_Phdr*)buf.data(), &phdrs[i], sizeof(Elf64_Phdr));
elf_bswap_phdr64((Elf64_Phdr*)buf.data(), ei_data, ELFENDIAN_TARGET);
fseek(file, ehdr.e_phoff + i * sizeof(Elf64_Phdr), SEEK_SET);
if (fwrite(buf.data(), 1, buf.size(), file) != buf.size()) {
fclose(file);
panic("error fwrite: %s", filename.c_str());
}
}
buf.resize(sizeof(Elf64_Shdr));
for (size_t i = 0; i < shdrs.size(); i++) {
memcpy((Elf64_Shdr*)buf.data(), &shdrs[i], sizeof(Elf64_Shdr));
elf_bswap_shdr64((Elf64_Shdr*)buf.data(), ei_data, ELFENDIAN_TARGET);
fseek(file, ehdr.e_shoff + i * sizeof(Elf64_Shdr), SEEK_SET);
if (fwrite(buf.data(), 1, buf.size(), file) != buf.size()) {
fclose(file);
panic("error fwrite: %s", filename.c_str());
}
}
break;
}
// byteswap symbol table
byteswap_symbol_table(ELFENDIAN_TARGET);
// write section buffers to file
for (size_t i = 0; i < sections.size(); i++) {
if (shdrs[i].sh_type == SHT_NOBITS) continue;
fseek(file, shdrs[i].sh_offset, SEEK_SET);
if (fwrite(sections[i].buf.data(), 1, shdrs[i].sh_size, file) != shdrs[i].sh_size) {
fclose(file);
panic("error fwrite: %s", filename.c_str());
}
}
// byteswap symbol table
byteswap_symbol_table(ELFENDIAN_HOST);
fclose(file);
}
void elf_file::byteswap_symbol_table(ELFENDIAN endian)
{
if (symtab == 0) return;
size_t num_symbols = shdrs[symtab].sh_size / shdrs[symtab].sh_entsize;
switch (ei_class) {
case ELFCLASS32:
for (size_t i = 0; i < num_symbols; i++) {
Elf32_Sym *sym32 = (Elf32_Sym*)offset(shdrs[symtab].sh_offset + i * sizeof(Elf32_Sym));
elf_bswap_sym32(sym32, ei_data, ELFENDIAN_TARGET);
}
break;
case ELFCLASS64:
for (size_t i = 0; i < num_symbols; i++) {
Elf64_Sym *sym64 = (Elf64_Sym*)offset(shdrs[symtab].sh_offset + i * sizeof(Elf64_Sym));
elf_bswap_sym64(sym64, ei_data, ELFENDIAN_TARGET);
}
break;
}
}
void elf_file::copy_from_section_names()
{
if (shstrtab == 0) return;
for (size_t i = 0; i < shdrs.size(); i++) {
sections[i].name = shdr_name(i);
}
}
void elf_file::copy_to_section_names()
{
if (shstrtab == 0) return;
sections[shstrtab].buf.clear();
for (size_t i = 0; i < sections.size(); i++) {
std::string name = sections[i].name;
shdrs[i].sh_name = sections[shstrtab].buf.size();
std::copy(name.c_str(), name.c_str() + name.length(),
std::back_inserter(sections[shstrtab].buf));
sections[shstrtab].buf.push_back(0);
}
}
void elf_file::copy_from_symbol_table_sections()
{
symbols.clear();
addr_symbol_map.clear();
name_symbol_map.clear();
if (symtab == 0) return;
size_t num_symbols = shdrs[symtab].sh_size / shdrs[symtab].sh_entsize;
switch (ei_class) {
case ELFCLASS32:
assert(shdrs[symtab].sh_entsize == sizeof(Elf32_Sym));
for (size_t i = 0; i < num_symbols; i++) {
Elf32_Sym *sym32 = (Elf32_Sym*)offset(shdrs[symtab].sh_offset + i * sizeof(Elf32_Sym));
Elf64_Sym sym64;
elf_sym32_to_sym64(&sym64, sym32);
symbols.push_back(sym64);
}
break;
case ELFCLASS64:
assert(shdrs[symtab].sh_entsize == sizeof(Elf64_Sym));
for (size_t i = 0; i < num_symbols; i++) {
Elf64_Sym *sym64 = (Elf64_Sym*)offset(shdrs[symtab].sh_offset + i * sizeof(Elf64_Sym));
symbols.push_back(*sym64);
}
break;
}
if (strtab == 0) return;
for (size_t i = 0; i < symbols.size(); i++) {
auto &sym = symbols[i];
if (sym.st_value == 0) continue;
const char* name = sym_name(i);
if (!strlen(name)) continue;
name_symbol_map[name] = i;
addr_symbol_map[sym.st_value] = i;
}
}
void elf_file::copy_to_symbol_table_sections()
{
if (symtab == 0) return;
elf_section &symtab_section = sections[symtab];
// set sh_info to index of first global symbol
for (size_t i = 0; i < symbols.size(); i++) {
if (ELF64_ST_BIND(symbols[i].st_info) == STB_GLOBAL) {
shdrs[symtab].sh_info = i;
break;
}
}
switch (ei_class) {
case ELFCLASS32:
shdrs[symtab].sh_entsize = sizeof(Elf32_Sym);
symtab_section.size = shdrs[symtab].sh_size = symbols.size() * sizeof(Elf32_Sym);
symtab_section.buf.resize(symtab_section.size);
for (size_t i = 0; i < symbols.size(); i++) {
elf_sym64_to_sym32((Elf32_Sym*)symtab_section.buf.data() + i * sizeof(Elf32_Sym), &symbols[i]);
}
break;
case ELFCLASS64:
shdrs[symtab].sh_entsize = sizeof(Elf64_Sym);
symtab_section.size = shdrs[symtab].sh_size = symbols.size() * sizeof(Elf64_Sym);
symtab_section.buf.resize(symtab_section.size);
memcpy(symtab_section.buf.data(), &symbols[0], symtab_section.size);
break;
}
}
void elf_file::copy_from_relocation_table_sections()
{
switch (ei_class) {
case ELFCLASS32:
for (size_t i = 0; i < shdrs.size(); i++) {
Elf64_Shdr &shdr = shdrs[i];
if (shdr.sh_type & SHT_RELA) {
rela_text = i;
size_t length = sections[i].buf.size();
Elf32_Rela *rela = (Elf32_Rela*)sections[i].buf.data();
Elf32_Rela *rela_end = (Elf32_Rela*)((uint8_t*)rela + length);
relocations.clear();
while (rela < rela_end) {
elf_bswap_rela32(rela, ei_data, ELFENDIAN_HOST);
Elf64_Rela rela64;
elf_rela32_to_rela64(&rela64, rela);
relocations.push_back(rela64);
rela++;
}
}
}
break;
case ELFCLASS64:
for (size_t i = 0; i < shdrs.size(); i++) {
Elf64_Shdr &shdr = shdrs[i];
if (shdr.sh_type & SHT_RELA) {
rela_text = i;
size_t length = sections[i].buf.size();
Elf64_Rela *rela = (Elf64_Rela*)sections[i].buf.data();
Elf64_Rela *rela_end = (Elf64_Rela*)((uint8_t*)rela + length);
relocations.clear();
while (rela < rela_end) {
elf_bswap_rela64(rela, ei_data, ELFENDIAN_HOST);
relocations.push_back(*rela);
rela++;
}
}
}
break;
}
}
void elf_file::copy_to_relocation_table_sections()
{
if (rela_text == 0) return;
switch (ei_class) {
case ELFCLASS32: {
shdrs[rela_text].sh_entsize = sizeof(Elf32_Rela);
shdrs[rela_text].sh_size = sizeof(Elf32_Rela) * relocations.size();
sections[rela_text].buf.resize(shdrs[rela_text].sh_size);
Elf32_Rela *rela = (Elf32_Rela*)sections[rela_text].buf.data();
for (size_t j = 0; j < relocations.size(); j++) {
elf_rela64_to_rela32(&rela[j], &relocations[j]);
elf_bswap_rela32(&rela[j], ei_data, ELFENDIAN_TARGET);
}
break;
}
case ELFCLASS64: {
shdrs[rela_text].sh_entsize = sizeof(Elf64_Rela);
shdrs[rela_text].sh_size = sizeof(Elf64_Rela) * relocations.size();
sections[rela_text].buf.resize(shdrs[rela_text].sh_size);
Elf64_Rela *rela = (Elf64_Rela*)sections[rela_text].buf.data();
for (size_t j = 0; j < relocations.size(); j++) {
memcpy(&rela[j], &relocations[j], sizeof(Elf64_Rela));
elf_bswap_rela64(&rela[j], ei_data, ELFENDIAN_TARGET);
}
break;
}
}
}
void elf_file::recalculate_section_offsets()
{
ehdr.e_phnum = phdrs.size();
ehdr.e_shnum = shdrs.size();
// ELF program header offset
uint64_t next_offset = 0;
switch (ei_class) {
case ELFCLASS32:
ehdr.e_ehsize = sizeof(Elf32_Ehdr);
ehdr.e_phentsize = sizeof(Elf32_Phdr);
ehdr.e_shentsize = sizeof(Elf32_Shdr);
ehdr.e_phoff = sizeof(Elf32_Ehdr);
next_offset = ehdr.e_phoff + ehdr.e_phnum * sizeof(Elf32_Phdr);
break;
case ELFCLASS64:
ehdr.e_ehsize = sizeof(Elf64_Ehdr);
ehdr.e_phentsize = sizeof(Elf64_Phdr);
ehdr.e_shentsize = sizeof(Elf64_Shdr);
ehdr.e_phoff = sizeof(Elf64_Ehdr);
next_offset = ehdr.e_phoff + ehdr.e_phnum * sizeof(Elf64_Phdr);
break;
}
// ELF section offsets
for (size_t i = 0; i < shdrs.size(); i++) {
// TODO - we need to recalculate virtual addresses and handle section size changes
if (shdrs[i].sh_type == SHT_PROGBITS && shdrs[i].sh_addr != 0) {
// align relative to PT_LOAD
assert(phdrs.size() == 1);
next_offset = (shdrs[i].sh_addr - phdrs[0].p_vaddr) + phdrs[0].p_offset;
} else if (shdrs[i].sh_addralign > 0) {
next_offset = (next_offset + (shdrs[i].sh_addralign - 1)) & -shdrs[i].sh_addralign;
}
sections[i].offset = next_offset;
shdrs[i].sh_offset = i == 0 ? 0 : next_offset;
if (shdrs[i].sh_type != SHT_NOBITS) {
sections[i].size = sections[i].buf.size();
}
shdrs[i].sh_size = sections[i].size;
next_offset += shdrs[i].sh_size;
}
// ELF section header offsets
switch (ei_class) {
case ELFCLASS32:
ehdr.e_shoff = next_offset;
break;
case ELFCLASS64:
ehdr.e_shoff = next_offset;
break;
}
}
uint8_t* elf_file::offset(size_t offset)
{
for (size_t i = 0; i < sections.size(); i++) {
if (offset >= sections[i].offset && offset < sections[i].offset + sections[i].buf.size()) {
return sections[i].buf.data() + (offset - sections[i].offset);
}
}
panic("illegal offset: %lu", offset);
return nullptr;
}
elf_section* elf_file::section(size_t offset)
{
for (size_t i = 0; i < sections.size(); i++) {
if (offset >= sections[i].offset && offset < sections[i].offset + sections[i].buf.size()) {
return §ions[i];
}
}
return nullptr;
}
const char* elf_file::interp_name()
{
return (interp.size() > 0) ? interp.c_str() : nullptr;
}
const char* elf_file::shdr_name(size_t i)
{
return shstrtab == 0 || i >= shdrs.size() ? "" :
(const char*)offset(shdrs[shstrtab].sh_offset + shdrs[i].sh_name);
}
const char* elf_file::sym_name(size_t i)
{
return strtab == 0 || i >= symbols.size() ? "" :
(const char*)offset(shdrs[strtab].sh_offset + symbols[i].st_name);
}
const char* elf_file::sym_name(const Elf64_Sym *sym)
{
return strtab == 0 ? "" :
(const char*)offset(shdrs[strtab].sh_offset + sym->st_name);
}
const Elf64_Sym* elf_file::sym_by_nearest_addr(Elf64_Addr addr)
{
auto ai = addr_symbol_map.lower_bound(addr);
if (ai == addr_symbol_map.end()) return nullptr;
if (ai->second == addr) return &symbols[ai->second];
if (ai != addr_symbol_map.begin()) ai--;
return &symbols[ai->second];
}
const Elf64_Sym* elf_file::sym_by_addr(Elf64_Addr addr)
{
auto ai = addr_symbol_map.find(addr);
if (ai == addr_symbol_map.end()) return nullptr;
return &symbols[ai->second];
}
const Elf64_Sym* elf_file::sym_by_name(const char *name)
{
size_t i = name_symbol_map[name];
if (i == 0 || i >= symbols.size()) return nullptr;
return &symbols[i];
}
const size_t elf_file::section_offset_by_type(Elf64_Word sh_type)
{
for (size_t i = 0; i < shdrs.size(); i++) {
if (shdrs[i].sh_type == sh_type) return i;
}
return 0;
}
void elf_file::update_sym_addr(Elf64_Addr old_addr, Elf64_Addr new_addr)
{
if (old_addr == new_addr) return;
auto ai = addr_symbol_map.find(old_addr);
if (ai == addr_symbol_map.end()) return;
addr_symbol_map.erase(ai);
symbols[ai->second].st_value = new_addr;
addr_symbol_map[new_addr] = ai->second;
}
| 29.740467 | 99 | 0.664502 | yanz08 |
a76950589756e169160819221565bf4946249c67 | 640 | cpp | C++ | gym/102302/F.cpp | albexl/codeforces-gym-submissions | 2a51905c50fcf5d7f417af81c4c49ca5217d0753 | [
"MIT"
] | 1 | 2021-07-16T19:59:39.000Z | 2021-07-16T19:59:39.000Z | gym/102302/F.cpp | albexl/codeforces-gym-submissions | 2a51905c50fcf5d7f417af81c4c49ca5217d0753 | [
"MIT"
] | null | null | null | gym/102302/F.cpp | albexl/codeforces-gym-submissions | 2a51905c50fcf5d7f417af81c4c49ca5217d0753 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
#ifdef DGC
#include "debug.h"
#else
#define debug(...)
#endif
typedef long long ll;
typedef long double ld;
typedef complex<ld> point;
#define F first
#define S second
int main()
{
#ifdef DGC
//freopen("a.txt", "r", stdin);
//freopen("b.txt", "w", stdout);
#endif
ios_base::sync_with_stdio(0), cin.tie(0);
int n;
cin >> n;
vector<double> dp(n);
dp[0] = 1.0;
for (int i = 1; i < n; ++i)
dp[i] = dp[i-1] * ((double)n-i)/n;
double ans = 0;
for (int i = 0; i < n; ++i)
ans += (double)1.0/n * (i+1);
cout.precision(10);
cout << fixed;
cout << ans << "\n";
return 0;
} | 14.883721 | 42 | 0.579688 | albexl |
a76978088c3210a9ac82d152ff020d12f0e9ff87 | 1,484 | cpp | C++ | src/qqrl.cpp | mganger/quantum-multiple-q-learning | 08d6c010cd9082b58f79bdc2da45a1cd6d1f512f | [
"MIT"
] | 1 | 2019-12-27T20:59:00.000Z | 2019-12-27T20:59:00.000Z | src/qqrl.cpp | mganger/quantum-multiple-q-learning | 08d6c010cd9082b58f79bdc2da45a1cd6d1f512f | [
"MIT"
] | null | null | null | src/qqrl.cpp | mganger/quantum-multiple-q-learning | 08d6c010cd9082b58f79bdc2da45a1cd6d1f512f | [
"MIT"
] | null | null | null | #include "algorithm.h"
#include "linalg.h"
#include <ostream>
struct qqrl : public algorithm {
matrix Q, p;
qqrl(Environment env, Parameters par_) :
algorithm{env,par_},
Q{make_matrix(env.Ns,env.Na,0.0)},
p{make_matrix(env.Ns, env.Na, 1.0/sqrt(env.Na))}
{}
void episode() override {
for(state_t s = 0; s < env.Ns; s++){
if(env.grid[s] == invalid || env.grid[s] == terminal) continue;
action_t a = static_cast<action_t>(square_weighted_choice(p[s]));
state_t sp = env.next_state[s][a];
double r = env.reward(sp);
double the = atan2(p[s][a], sqrt(square_sum(p[s]) - p[s][a]*p[s][a]));
double Vsp = Q[sp][argmax(Q[sp])];
std::size_t L = std::max(0,std::min(int(par.k*(r+Vsp)), int(M_PI/(4*the) - 0.5 + 1e-6)));
auto pp = p[s];
pp[a] = 0;
norm2(pp);
for(auto& ap : pp)
ap *= cos((2*L+1)*the);
pp[a] = sin((2*L+1)*the);
p[s] = pp;
norm2(p[s]);
Q[s][a] += par.alpha*(r + par.gamma*env.grid[sp]*Q[sp][argmax(Q[sp])] - Q[s][a]);
}
}
test_t test(std::size_t maxi) override {
test_t t;
state_t s = env.s0;
for(;t.n_iter < maxi && env.grid[s] != terminal; t.n_iter++){
auto a = static_cast<action_t>(square_weighted_choice(p[s]));
t.path.push_back(a);
s = env.next_state[s][a];
t.reward += env.reward(s);
}
t.double_output = flatten(Q);
return t;
}
std::ostream& print(std::ostream& o) override {
return o << "Q: " << std::endl << Q << std::endl << "p: " << std::endl << p;
}
};
MAIN(qqrl)
| 26.035088 | 92 | 0.580189 | mganger |
a769ad09d2c7dd0f39d088e174189c89f8557f12 | 1,163 | hpp | C++ | include/tao/config/internal/array.hpp | Bjoe/config | 3ad1c27d9994ac6910ffc52ac0dc95f91c55e87c | [
"MIT"
] | 122 | 2018-10-29T17:56:12.000Z | 2022-03-30T20:43:30.000Z | include/tao/config/internal/array.hpp | Bjoe/config | 3ad1c27d9994ac6910ffc52ac0dc95f91c55e87c | [
"MIT"
] | 5 | 2020-03-10T13:13:57.000Z | 2022-03-10T11:50:03.000Z | include/tao/config/internal/array.hpp | Bjoe/config | 3ad1c27d9994ac6910ffc52ac0dc95f91c55e87c | [
"MIT"
] | 14 | 2019-02-11T17:18:00.000Z | 2022-02-02T00:47:38.000Z | // Copyright (c) 2019-2021 Dr. Colin Hirsch and Daniel Frey
// Please see LICENSE for license or visit https://github.com/taocpp/config/
#ifndef TAO_CONFIG_INTERNAL_ARRAY_HPP
#define TAO_CONFIG_INTERNAL_ARRAY_HPP
#include <iterator>
#include <list>
#include "forward.hpp"
#include "pegtl.hpp"
namespace tao::config::internal
{
template< typename C >
struct basic_array
{
using data_t = std::list< C >;
basic_array() = delete;
explicit basic_array( const pegtl::position& p )
: position( p )
{}
basic_array( basic_array&& ) = default;
basic_array( const basic_array& ) = default;
~basic_array() = default;
basic_array& operator=( basic_array&& ) = default;
basic_array& operator=( const basic_array& ) = default;
[[nodiscard]] std::size_t count_references_recursive() const noexcept
{
std::size_t result = 0;
for( const auto& c : array ) {
result += c.count_references_recursive();
}
return result;
}
std::list< C > array;
pegtl::position position;
};
} // namespace tao::config::internal
#endif
| 22.803922 | 76 | 0.631986 | Bjoe |
a76c9feecdfd5601400fe16ba24ff05be6f1c0cf | 1,097 | cpp | C++ | unit_tests/test_board.cpp | julienlopez/Aronda | 8fb6625bc037736dc2926f97f46a59441d7dc221 | [
"MIT"
] | null | null | null | unit_tests/test_board.cpp | julienlopez/Aronda | 8fb6625bc037736dc2926f97f46a59441d7dc221 | [
"MIT"
] | 4 | 2018-02-21T15:38:56.000Z | 2019-04-03T07:57:22.000Z | unit_tests/test_board.cpp | julienlopez/Aronda | 8fb6625bc037736dc2926f97f46a59441d7dc221 | [
"MIT"
] | null | null | null | #include <catch.hpp>
#include "board.hpp"
#include <numeric_range.hpp>
#include <boost/optional/optional_io.hpp>
using Aronda::Board;
TEST_CASE("Testing basic board properties", "[board]")
{
SECTION("Clean Board Properties")
{
Board g;
for(const auto square_index : range(Aronda::c_number_of_squares))
{
const auto state = g.squareState(Aronda::Square(square_index));
CHECK(state.placed_stones[0] == 0);
CHECK(state.placed_stones[1] == 0);
CHECK(state.player_locked == boost::none);
}
}
SECTION("Max number of stones on a square")
{
for(const auto i : range(Aronda::c_number_of_squares))
{
const auto max_nb_stones = Board::maxNumberOfStonesOnASquare(Aronda::Square(i));
if(i == 17 || i == 19 || i == 21 || i == 23)
CHECK(max_nb_stones == 2);
else if(i == 0 || i == 9 || i == 11 || i == 13 || i == 15)
CHECK(max_nb_stones == 4);
else
CHECK(max_nb_stones == 3);
}
}
}
| 28.128205 | 92 | 0.546035 | julienlopez |
a76d55a57944e2871167728373832d16b1615219 | 2,940 | cc | C++ | py_envoy_mobile/wrapper/py_envoy_engine.cc | crockeo/py-envoy-mobile | 38a716e145544269eabb4feded05566f928da973 | [
"Apache-2.0"
] | 2 | 2020-11-10T01:44:08.000Z | 2020-12-10T23:59:47.000Z | py_envoy_mobile/wrapper/py_envoy_engine.cc | crockeo/py-envoy-mobile | 38a716e145544269eabb4feded05566f928da973 | [
"Apache-2.0"
] | null | null | null | py_envoy_mobile/wrapper/py_envoy_engine.cc | crockeo/py-envoy-mobile | 38a716e145544269eabb4feded05566f928da973 | [
"Apache-2.0"
] | null | null | null | #include "py_envoy_engine.h"
#include <chrono>
#include <iostream>
#include <optional>
#include <thread>
#include "library/common/main_interface.h"
static void py_dispatch_on_engine_running(void *context) {
EngineCallbacks *callbacks = static_cast<EngineCallbacks *>(context);
callbacks->executor.execute([=]() {
callbacks->on_engine_running(*callbacks->engine);
});
}
static void py_dispatch_on_exit(void *context) {
EngineCallbacks *callbacks = static_cast<EngineCallbacks *>(context);
callbacks->executor.execute([=]() {
callbacks->on_exit(*callbacks->engine);
});
}
EngineCallbacks::EngineCallbacks(std::shared_ptr<Engine> engine, ExecutorBase& executor)
: executor(executor) {
this->callbacks = {
.on_engine_running = &py_dispatch_on_engine_running,
.on_exit = &py_dispatch_on_exit,
.context = this,
};
this->engine = engine;
}
EngineCallbacks& EngineCallbacks::set_on_engine_running(EngineCallback on_engine_running) {
this->on_engine_running = on_engine_running;
return *this;
}
EngineCallbacks& EngineCallbacks::set_on_exit(EngineCallback on_exit) {
this->on_exit = on_exit;
return *this;
}
Engine::Engine() {
this->engine_ = init_engine();
if (this->engine_ == 0) {
throw std::runtime_error("failed to init engine");
}
this->terminated_ = false;
}
bool Engine::running() const {
return !this->terminated_;
}
void Engine::run(const EngineCallbacks& callbacks, const std::string& config, const std::string& log_level) {
envoy_status_t status = run_engine(this->engine_, callbacks.callbacks, config.c_str(), log_level.c_str());
if (status == ENVOY_FAILURE) {
throw std::runtime_error("failed to run engine");
}
}
void Engine::record_counter(const std::string& name, uint64_t count) {
envoy_status_t status = ::record_counter(this->engine_, name.c_str(), count);
if (status == ENVOY_FAILURE) {
throw std::runtime_error("failed to record counter");
}
}
void Engine::gauge_set(const std::string& name, uint64_t value) {
envoy_status_t status = record_gauge_set(this->engine_, name.c_str(), value);
if (status == ENVOY_FAILURE) {
throw std::runtime_error("failed to set gauge");
}
}
void Engine::gauge_add(const std::string& name, uint64_t amount) {
envoy_status_t status = record_gauge_add(this->engine_, name.c_str(), amount);
if (status == ENVOY_FAILURE) {
throw std::runtime_error("failed to add to gauge");
}
}
void Engine::gauge_sub(const std::string& name, uint64_t amount) {
envoy_status_t status = record_gauge_sub(this->engine_, name.c_str(), amount);
if (status == ENVOY_FAILURE) {
throw std::runtime_error("failed to subtract from gauge");
}
}
void Engine::put_thunk(const EngineCallback&& thunk) {
std::unique_lock<std::mutex> lock(this->thunks_mtx_);
this->thunks_.push_back(std::move(thunk));
this->thunks_cv_.notify_one();
}
envoy_engine_t Engine::handle() {
return this->engine_;
}
| 28.543689 | 109 | 0.721429 | crockeo |
a76ecb6588d61d562b53f2b3fcb36cdcdee973e6 | 914 | cpp | C++ | LeetCode Problem-Set/10. Regular Expression Matching (Hard)/Solution2.cpp | ankuralld5999/LeetCode-Problems | 2f9a767a0effbb2a50672e102925fbbb65034083 | [
"FSFAP"
] | 2 | 2021-01-06T20:43:59.000Z | 2021-01-11T15:42:59.000Z | LeetCode Problem-Set/10. Regular Expression Matching (Hard)/Solution2.cpp | ankuralld5999/LeetCode-Problems | 2f9a767a0effbb2a50672e102925fbbb65034083 | [
"FSFAP"
] | null | null | null | LeetCode Problem-Set/10. Regular Expression Matching (Hard)/Solution2.cpp | ankuralld5999/LeetCode-Problems | 2f9a767a0effbb2a50672e102925fbbb65034083 | [
"FSFAP"
] | null | null | null | // Problem: https://leetcode.com/problems/regular-expression-matching/
// Author: github.com/ankuralld5999
// Time: O(MN)
// Space: O(N)
class Solution {
int M, N;
bool dfs(string &s, string &p, int i, int j) {
while (i < M && j < N) {
if (j + 1 < N && p[j + 1] == '*') {
if (dfs(s, p, i, j + 2)) return true;
while (i < M && (p[j] == '.' || s[i] == p[j])) {
if (dfs(s, p, ++i, j + 2)) return true;
}
return false;
} else {
if (p[j] != '.' && s[i] != p[j]) return false;
++i, ++j;
}
}
if (i == M) {
while (j + 1 < N && p[j + 1] == '*') j += 2;
}
return i == M && j == N;
}
public:
bool isMatch(string s, string p) {
M = s.size(), N = p.size();
return dfs(s, p, 0, 0);
}
};
| 28.5625 | 70 | 0.365427 | ankuralld5999 |
a7739168fe0c2c7bdc487edfe689c396f21ec10b | 7,649 | hpp | C++ | src/lib/include/black/logic/lex.hpp | lucageatti/BLACK | 58fe4b99e8f8eda955807760f3515e3ca0478d39 | [
"MIT"
] | null | null | null | src/lib/include/black/logic/lex.hpp | lucageatti/BLACK | 58fe4b99e8f8eda955807760f3515e3ca0478d39 | [
"MIT"
] | 1 | 2019-06-11T16:57:49.000Z | 2019-06-11T17:10:41.000Z | src/lib/include/black/logic/lex.hpp | lucageatti/BLACK | 58fe4b99e8f8eda955807760f3515e3ca0478d39 | [
"MIT"
] | null | null | null | //
// BLACK - Bounded Ltl sAtisfiability ChecKer
//
// (C) 2019 Nicola Gigante
//
// 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.
#ifndef BLACK_LEX_H_
#define BLACK_LEX_H_
#include <black/support/common.hpp>
#include <black/logic/formula.hpp>
#include <cassert>
#include <cctype>
#include <optional>
#include <variant>
#include <vector>
namespace black::internal
{
// Type representing tokens generated from the lexer.
struct token
{
enum class type : uint8_t {
invalid = 0,
boolean,
integer,
real,
identifier,
keyword,
constructor,
relation,
function,
unary_operator,
binary_operator,
punctuation
};
// Type of non-logical tokens. Only parens, for now.
enum class punctuation : uint8_t {
// non-logical tokens
left_paren,
right_paren,
comma,
dot
};
// we only have one keyword yet
enum class keyword : uint8_t {
exists,
forall
};
token() : _data{std::monostate{}} { }
explicit token(bool b) : _data{b} { }
explicit token(int64_t c) : _data{c} { }
explicit token(double d) : _data{d} { }
explicit token(std::string s) : _data{std::move(s)} { }
explicit token(keyword k) : _data{k} { }
explicit token(constructor::type t) : _data{t} { }
explicit token(relation::type t) : _data{t} { }
explicit token(function::type t) : _data{t} { }
explicit token(unary::type t) : _data{t} { }
explicit token(binary::type t) : _data{t} { }
explicit token(punctuation s) : _data{s} { }
template<typename T>
bool is() const {
return std::holds_alternative<T>(_data);
}
template<typename T>
std::optional<T> data() const {
if(auto p = std::get_if<T>(&_data); p)
return {*p};
return std::nullopt;
}
type token_type() const { return static_cast<type>(_data.index()); }
friend std::string to_string(token const &tok);
private:
// data related to recognized tokens
std::variant<
std::monostate, // invalid tokens
bool, // booleans
int64_t, // integers
double, // reals
std::string, // identifiers
keyword, // keywords
constructor::type, // next/prev/wnext/wprev
relation::type, // known relations
function::type, // known functions
unary::type, // unary operator
binary::type, // binary operator
punctuation // any non-logical token
> _data;
};
inline std::string to_string(constructor::type t)
{
constexpr std::string_view toks[] = {
"next", // next
"wnext", // wnext
"prev", // prev
"wprev" // wprev
};
return std::string{
toks[to_underlying(t) - to_underlying(constructor::type::next)]
};
}
inline std::string to_string(unary::type t)
{
constexpr std::string_view toks[] = {
"!", // negation
"X", // tomorrow
"wX", // weak tomorrow
"Y", // yesterday
"Z", // weak yesterday
"G", // always
"F", // eventually
"O", // once
"H", // historically
};
return std::string{
toks[to_underlying(t) - to_underlying(unary::type::negation)]
};
}
inline std::string to_string(binary::type t) {
constexpr std::string_view toks[] = {
"&", // conjunction
"|", // disjunction
"->", // implication
"<->", // iff
"U", // until
"R", // release
"W", // weak until
"M", // strong release
"S", // since
"T", // triggered
};
return std::string{
toks[to_underlying(t) - to_underlying(binary::type::conjunction)]
};
}
inline std::string to_string(token::keyword k) {
constexpr std::string_view toks[] = {
"next",
"wnext",
"exists",
"forall"
};
return std::string{toks[to_underlying(k)]};
}
inline std::string to_string(relation::type t) {
constexpr std::string_view toks[] = {
"=", // equal
"!=", // not_equal
"<", // less_than
"<=", // less_than_equal
">", // greater_than
">=" // greater_than_equal
};
return std::string{toks[to_underlying(t)]};
}
inline std::string to_string(function::type t) {
constexpr std::string_view toks[] = {
"-", // negation
"-", // subtraction
"+", // addition
"*", // multiplication
"/", // division
};
return std::string{toks[to_underlying(t)]};
}
inline std::string to_string(token::punctuation p) {
constexpr std::string_view toks[] = {
"(", // left_paren
")", // right_paren
",", // comma
"." // dot
};
return std::string{toks[to_underlying(p)]};
}
inline std::string to_string(token const &tok)
{
using namespace std::literals;
return std::visit( overloaded {
[](std::monostate) { return "<invalid>"s; },
[](bool b) { return b ? "true"s : "false"s; },
[](int64_t c) { return std::to_string(c); },
[](double d) { return std::to_string(d); },
[](std::string s) { return s; },
[](token::keyword k) { return to_string(k); },
[](constructor::type t) { return to_string(t); },
[](relation::type t) { return to_string(t); },
[](function::type t) { return to_string(t); },
[](unary::type t) { return to_string(t); },
[](binary::type t) { return to_string(t); },
[](token::punctuation p) { return to_string(p); }
}, tok._data);
}
class BLACK_EXPORT lexer
{
public:
using error_handler = std::function<void(std::string)>;
explicit lexer(std::istream &stream, error_handler error)
: _stream(stream), _error{error} {}
std::optional<token> get() { return _token = _lex(); }
std::optional<token> peek() const { return _token; }
static bool is_identifier_char(int c);
static bool is_initial_identifier_char(int c);
static bool is_keyword(std::string_view s);
private:
static std::pair<std::string_view, token> _keywords[28];
std::optional<token> _lex();
std::optional<token> _identifier();
std::optional<token> _raw_identifier();
std::optional<token> _token = std::nullopt;
std::istream &_stream;
error_handler _error;
};
std::ostream &operator<<(std::ostream &s, token const &t);
}
#endif // LEX_H_
| 28.541045 | 80 | 0.581906 | lucageatti |
a774919efb844f9aab87039c734c1e702e1d388b | 13,517 | cpp | C++ | Official Windows Platform Sample/Windows 8.1 Store app samples/[C++]-Windows 8.1 Store app samples/USB CDC Control sample/C++/Scenario1_Initialize.xaml.cpp | zzgchina888/msdn-code-gallery-microsoft | 21cb9b6bc0da3b234c5854ecac449cb3bd261f29 | [
"MIT"
] | 2 | 2022-01-21T01:40:58.000Z | 2022-01-21T01:41:10.000Z | Official Windows Platform Sample/Windows 8.1 Store app samples/[C++]-Windows 8.1 Store app samples/USB CDC Control sample/C++/Scenario1_Initialize.xaml.cpp | zzgchina888/msdn-code-gallery-microsoft | 21cb9b6bc0da3b234c5854ecac449cb3bd261f29 | [
"MIT"
] | 1 | 2022-03-15T04:21:41.000Z | 2022-03-15T04:21:41.000Z | Official Windows Platform Sample/Windows 8.1 Store app samples/[C++]-Windows 8.1 Store app samples/USB CDC Control sample/C++/Scenario1_Initialize.xaml.cpp | zzgchina888/msdn-code-gallery-microsoft | 21cb9b6bc0da3b234c5854ecac449cb3bd261f29 | [
"MIT"
] | null | null | null | //*********************************************************
//
// Copyright (c) Microsoft. All rights reserved.
//
//*********************************************************
//
// Scenario1_Initialize.xaml.cpp
// Implementation of the CdcAcmInitialize class.
//
#include "pch.h"
#include "Scenario1_Initialize.xaml.h"
using namespace SDKSample;
using namespace SDKSample::UsbCdcControl;
using namespace Platform;
using namespace Windows::Devices::Usb;
using namespace Windows::Foundation;
using namespace Windows::Foundation::Collections;
using namespace Windows::UI::Xaml;
using namespace Windows::UI::Xaml::Controls;
using namespace Windows::UI::Xaml::Controls::Primitives;
using namespace Windows::UI::Xaml::Data;
using namespace Windows::UI::Xaml::Input;
using namespace Windows::UI::Xaml::Media;
using namespace Windows::UI::Xaml::Navigation;
CdcAcmInitialize::CdcAcmInitialize()
{
InitializeComponent();
this->previousSelectedDeviceId = ref new String();
}
/// <summary>
/// Populates the page with content passed during navigation. Any saved state is also
/// provided when recreating a page from a prior session.
/// </summary>
/// <param name="navigationParameter">The parameter value passed to
/// <see cref="Frame::Navigate(Type, Object)"/> when this page was initially requested.
/// </param>
/// <param name="pageState">A map of state preserved by this page during an earlier
/// session. This will be null the first time a page is visited.</param>
void CdcAcmInitialize::LoadState(Object^ navigationParameter, IMap<String^, Object^>^ pageState)
{
(void) navigationParameter; // Unused parameter
if (pageState != nullptr && pageState->Size > 0)
{
auto iter = pageState->First();
do
{
auto pair = iter->Current;
auto control = FindControl(this, pair->Key);
auto textBox = dynamic_cast<TextBox^>(control);
if (textBox != nullptr)
{
textBox->Text = dynamic_cast<String^>(pair->Value);
continue;
}
auto comboBox = dynamic_cast<ComboBox^>(control);
if (comboBox != nullptr)
{
if (pair->Key == "comboBoxDevices")
{
this->previousSelectedDeviceId = dynamic_cast<String^>(pair->Value);
}
else
for (unsigned int j = 0; j < comboBox->Items->Size; j ++)
{
auto item = (ComboBoxItem^)comboBox->Items->GetAt(j);
if ((String^)item->Content == dynamic_cast<String^>(pair->Value))
{
comboBox->SelectedIndex = j;
break;
}
}
continue;
}
}
while (iter->MoveNext());
}
std::for_each(begin(DeviceList::Instances), end(DeviceList::Instances), [this](DeviceList^ deviceList)
{
for (unsigned int i = 0; i < deviceList->Devices->Size; i++)
{
auto info = deviceList->Devices->GetAt(i);
this->OnDeviceAdded(this, ref new UsbDeviceInfo(info));
}
});
if (UsbDeviceList::Singleton->List->Size > 0)
{
this->comboBoxDevices->IsEnabled = false;
this->buttonDeviceSelect->IsEnabled = false;
this->buttonDeviceDeselect->IsEnabled = true;
}
else
{
this->buttonInitialize->IsEnabled = false;
this->buttonDeviceDeselect->IsEnabled = false;
}
this->onDeviceAddedRegToken = UsbDeviceList::Singleton->DeviceAdded::add(
ref new Windows::Foundation::EventHandler<UsbDeviceInfo^>(this, &CdcAcmInitialize::OnDeviceAdded));
this->onDeviceRemovedRegToken = UsbDeviceList::Singleton->DeviceRemoved::add(
ref new UsbDeviceList::DeviceRemovedHandler(this, &CdcAcmInitialize::OnDeviceRemoved));
UsbDeviceList::Singleton->StartWatcher();
}
/// <summary>
/// Preserves state associated with this page in case the application is suspended or the
/// page is discarded from the navigation cache. Values must conform to the serialization
/// requirements of <see cref="SuspensionManager::SessionState"/>.
/// </summary>
/// <param name="pageState">An empty map to be populated with serializable state.</param>
void CdcAcmInitialize::SaveState(IMap<String^, Object^>^ pageState)
{
UsbDeviceList::Singleton->DeviceAdded::remove(this->onDeviceAddedRegToken);
UsbDeviceList::Singleton->DeviceRemoved::remove(this->onDeviceRemovedRegToken);
if (pageState != nullptr)
{
if (this->comboBoxDevices->SelectedValue != nullptr)
{
pageState->Insert(this->comboBoxDevices->Name, ((UsbDeviceComboBoxItem^)this->comboBoxDevices->SelectedValue)->Id);
}
pageState->Insert(this->textBoxDTERate->Name, this->textBoxDTERate->Text);
pageState->Insert(this->comboBoxCharFormat->Name, ((ComboBoxItem^)this->comboBoxCharFormat->SelectedValue)->Content);
pageState->Insert(this->comboBoxParityType->Name, ((ComboBoxItem^)this->comboBoxParityType->SelectedValue)->Content);
pageState->Insert(this->comboBoxDataBits->Name, ((ComboBoxItem^)this->comboBoxDataBits->SelectedValue)->Content);
pageState->Insert(this->comboBoxRTS->Name, ((ComboBoxItem^)this->comboBoxRTS->SelectedValue)->Content);
pageState->Insert(this->comboBoxDTR->Name, ((ComboBoxItem^)this->comboBoxDTR->SelectedValue)->Content);
}
}
void CdcAcmInitialize::OnDeviceAdded(Platform::Object^ sender, UsbDeviceInfo^ info)
{
const auto dispatcher = this->Dispatcher;
if (dispatcher->HasThreadAccess)
{
this->AddDeviceToComboBox(info);
}
else
dispatcher->RunAsync(Windows::UI::Core::CoreDispatcherPriority::Normal, ref new Windows::UI::Core::DispatchedHandler([this, info]
{
this->AddDeviceToComboBox(info);
}));
}
void CdcAcmInitialize::AddDeviceToComboBox(UsbDeviceInfo^ info)
{
this->comboBoxDevices->Items->InsertAt(0, ref new UsbDeviceComboBoxItem(info));
if (this->SerialPortInfo != nullptr && this->SerialPortInfo->DeviceId == info->Id)
{
this->comboBoxDevices->SelectedIndex = 0;
}
else if (this->comboBoxDevices->SelectedIndex == -1)
{
if (this->previousSelectedDeviceId == info->Id || this->previousSelectedDeviceId == L"")
{
this->comboBoxDevices->SelectedIndex = 0;
}
}
}
Windows::Foundation::IAsyncAction^ CdcAcmInitialize::OnDeviceRemoved(Platform::Object^ sender, UsbDeviceInfo^ info)
{
return this->Dispatcher->RunAsync(Windows::UI::Core::CoreDispatcherPriority::Normal, ref new Windows::UI::Core::DispatchedHandler([this, info]
{
for (unsigned int i = 0; i < this->comboBoxDevices->Items->Size; i ++)
{
auto item = (UsbDeviceComboBoxItem^)this->comboBoxDevices->Items->GetAt(i);
if (item->Id == info->Id)
{
const auto isEnabled = this->comboBoxDevices->IsEnabled;
this->comboBoxDevices->IsEnabled = true;
this->comboBoxDevices->Items->RemoveAt(i);
if (this->SerialPortInfo != nullptr && this->SerialPortInfo->DeviceId == info->Id)
{
(ref new Windows::UI::Popups::MessageDialog(info->Name + " has been removed."))->ShowAsync();
this->buttonDeviceDeselect_Click(nullptr, nullptr);
if (this->comboBoxDevices->Items->Size > 0)
{
this->comboBoxDevices->SelectedIndex = 0;
}
}
else
{
if (this->comboBoxDevices->SelectedIndex == -1)
{
this->comboBoxDevices->SelectedIndex = 0;
}
this->comboBoxDevices->IsEnabled = isEnabled;
}
return;
}
}
}));
}
void CdcAcmInitialize::buttonDeviceSelect_Click(Platform::Object^ sender, Windows::UI::Xaml::RoutedEventArgs^ e)
{
// No device selected.
if (this->comboBoxDevices->SelectedIndex == -1)
{
return;
}
auto dispatcher = this->Dispatcher;
const auto deviceId = ((UsbDeviceComboBoxItem^)this->comboBoxDevices->SelectedItem)->Id;
const auto deviceName = (Platform::String^)((UsbDeviceComboBoxItem^)this->comboBoxDevices->SelectedItem)->Content;
Concurrency::create_task(UsbDevice::FromIdAsync(deviceId)).then([this, dispatcher, deviceId, deviceName](UsbDevice^ usbDevice)
{
return Concurrency::create_task(UsbSerialPort::Create(usbDevice)).then([this, dispatcher, deviceId, deviceName, usbDevice](Concurrency::task<UsbSerialPort^> task)
{
try
{
UsbSerialPort^ serialport = task.get();
if (serialport == nullptr)
{
dispatcher->RunAsync(Windows::UI::Core::CoreDispatcherPriority::Normal, ref new Windows::UI::Core::DispatchedHandler([deviceName]()
{
SDKSample::MainPage::Current->NotifyUser(deviceName + " is not compatible with CDC ACM.", SDKSample::NotifyType::ErrorMessage);
}));
if (!!usbDevice)
{
delete usbDevice;
}
return;
}
UsbDeviceList::Singleton->List->Append(ref new UsbSerialPortInfo(serialport, deviceId, deviceName));
dispatcher->RunAsync(Windows::UI::Core::CoreDispatcherPriority::Normal, ref new Windows::UI::Core::DispatchedHandler([this]()
{
this->comboBoxDevices->IsEnabled = false;
this->buttonDeviceSelect->IsEnabled = false;
this->buttonInitialize->IsEnabled = true;
this->buttonDeviceDeselect->IsEnabled = true;
SDKSample::MainPage::Current->NotifyUser("", SDKSample::NotifyType::StatusMessage);
}));
}
catch (Platform::Exception^ exception)
{
dispatcher->RunAsync(Windows::UI::Core::CoreDispatcherPriority::Normal, ref new Windows::UI::Core::DispatchedHandler([exception]()
{
SDKSample::MainPage::Current->NotifyUser(exception->Message, SDKSample::NotifyType::ErrorMessage);
}));
}
});
});
}
void CdcAcmInitialize::buttonDeviceDeselect_Click(Platform::Object^ sender, Windows::UI::Xaml::RoutedEventArgs^ e)
{
Platform::String^ prevSelectedDeviceId = nullptr;
if (this->SerialPortInfo != nullptr)
{
prevSelectedDeviceId = this->SerialPortInfo->DeviceId;
}
this->comboBoxDevices->IsEnabled = true;
UsbDeviceList::Singleton->DisposeAll();
std::for_each(begin(DeviceList::Instances), end(DeviceList::Instances), [this, prevSelectedDeviceId](DeviceList^ deviceList)
{
for (unsigned int i = 0; i < deviceList->Devices->Size; i++)
{
auto info = deviceList->Devices->GetAt(i);
int foundIndex = -1;
for (unsigned int j = 0; j < this->comboBoxDevices->Items->Size; j++)
{
if (((UsbDeviceComboBoxItem^) this->comboBoxDevices->Items->GetAt(j))->Id == info->Id)
{
foundIndex = j;
break;
}
}
if (foundIndex == -1)
{
this->comboBoxDevices->Items->InsertAt(0, ref new UsbDeviceComboBoxItem(info));
foundIndex = 0;
}
if (prevSelectedDeviceId == nullptr || prevSelectedDeviceId == info->Id)
{
this->comboBoxDevices->SelectedIndex = foundIndex;
}
}
});
this->buttonDeviceSelect->IsEnabled = true;
this->buttonInitialize->IsEnabled = false;
this->buttonDeviceDeselect->IsEnabled = false;
}
void CdcAcmInitialize::buttonInitialize_Click(Platform::Object^ sender, Windows::UI::Xaml::RoutedEventArgs^ e)
{
if (this->SerialPortInfo == nullptr)
{
return;
}
auto dispatcher = this->Dispatcher;
const auto dteRate = _wtoi(this->textBoxDTERate->Text->Data());
const auto parity = (Parity)this->comboBoxParityType->SelectedIndex;
const auto dataBits = _wtoi((((ComboBoxItem^)this->comboBoxDataBits->SelectedItem)->Content->ToString())->Data());
const auto charFormat = (StopBits)this->comboBoxCharFormat->SelectedIndex;
const auto dtr = this->comboBoxDTR->SelectedIndex != 0;
const auto rts = this->comboBoxRTS->SelectedIndex != 0;
auto port = this->SerialPortInfo->Port;
concurrency::create_task(port->Open(
dteRate,
parity,
dataBits,
charFormat
)
).then([port, dtr](Windows::Foundation::HResult hr)
{
if (hr.Value != S_OK)
{
SDKSample::MainPage::Current->NotifyUser("SerialPort cannot be opened.", SDKSample::NotifyType::ErrorMessage);
concurrency::cancel_current_task();
}
// DtrEnable
return port->DtrEnable_set(dtr);
}
).then([port, rts]()
{
// RtsEnable
return port->RtsEnable_set(rts);
}
).then([]()
{
SDKSample::MainPage::Current->NotifyUser("Initialized.", SDKSample::NotifyType::StatusMessage);
});
}
| 39.408163 | 170 | 0.60472 | zzgchina888 |
a775ecdd13b97746e7f49d2facf09ca4773d1524 | 912 | hpp | C++ | vendor/m2sdk/include/classes/CPlayerRadio.hpp | m2ncrp/m2o-reborn | 4af7edfec2e450112943f69926f4a394d5868ea6 | [
"Apache-2.0"
] | 34 | 2018-10-08T08:56:24.000Z | 2021-06-13T14:45:59.000Z | vendor/m2sdk/include/classes/CPlayerRadio.hpp | m2ncrp/m2o-reborn | 4af7edfec2e450112943f69926f4a394d5868ea6 | [
"Apache-2.0"
] | 4 | 2018-10-14T08:03:22.000Z | 2020-12-18T14:03:55.000Z | vendor/m2sdk/include/classes/CPlayerRadio.hpp | m2ncrp/m2o-reborn | 4af7edfec2e450112943f69926f4a394d5868ea6 | [
"Apache-2.0"
] | 15 | 2018-10-08T08:56:28.000Z | 2021-07-30T04:48:27.000Z | /** @file CPlayerRadio.cpp
* @brief Game's radio wrapper
*
*
* @author Tyldar (darreugne@gmail.com)
*/
#pragma once
namespace M2
{
class ICPlayerRadio
{
public:
};
class C_PlayerRadio : public GameClassWrapper<C_PlayerRadio, ICPlayerRadio, 0x1AB5A54>
{
public:
void Activate(const void *unk)
{
Mem::InvokeFunction<Mem::call_this, int>(0x049DF60, this, unk);
}
void Deactivate(const void *unk)
{
Mem::InvokeFunction<Mem::call_this, int>(0x049DF60, this, unk);
}
void NextStation(bool forward)
{
Mem::InvokeFunction<Mem::call_this, int>(0x0453190, this, forward);
}
void SwitchStation(const char *station)
{
Mem::InvokeFunction<Mem::call_this, int>(0x04C2730, this, station);
}
void TurnOff()
{
Mem::InvokeFunction<Mem::call_this, void>(0x048E300, this);
}
void TurnOn()
{
Mem::InvokeFunction<Mem::call_this, void>(0x04C25D0, this);
}
};
};
| 17.538462 | 87 | 0.677632 | m2ncrp |
a7766335670c14e24e0df17074ab53e53ed6f851 | 620 | cpp | C++ | 5704.cpp | jaemin2682/BAEKJOON_ONLINE_JUDGE | 0d5c6907baee61e1fabdbcd96ea473079a9475ed | [
"MIT"
] | null | null | null | 5704.cpp | jaemin2682/BAEKJOON_ONLINE_JUDGE | 0d5c6907baee61e1fabdbcd96ea473079a9475ed | [
"MIT"
] | null | null | null | 5704.cpp | jaemin2682/BAEKJOON_ONLINE_JUDGE | 0d5c6907baee61e1fabdbcd96ea473079a9475ed | [
"MIT"
] | null | null | null | #include <iostream>
#include <string>
#include <memory.h>
using namespace std;
int main() {
while(1) {
string str;
getline(cin, str);
if(str=="*") return 0;
bool alpha[26];
memset(alpha, false, sizeof(alpha));
for(int i=0;i<str.size();i++) { //사용한 알파벳 표시
alpha[str[i]-'a'] = true;
}
bool check = true;
for(int i=0;i<26;i++) {
if(!alpha[i]) {
check = false;
cout << "N" << endl;
break;
}
}
if(check) cout << "Y" << endl;
}
return 0;
} | 21.37931 | 52 | 0.424194 | jaemin2682 |
a777929ba0b8e16e13a1528f429b22f9f8fc8970 | 435 | cpp | C++ | estudo de POO com C/Pessoa.cpp | W8jonas/estudos | b8f07bfd1890d94ff74c77adba1e033b4f0edd54 | [
"MIT"
] | 11 | 2021-01-26T03:13:16.000Z | 2021-08-14T01:28:07.000Z | estudo de POO com C/Pessoa.cpp | W8jonas/estudos | b8f07bfd1890d94ff74c77adba1e033b4f0edd54 | [
"MIT"
] | 4 | 2021-01-26T07:27:37.000Z | 2021-01-26T07:31:18.000Z | estudo de POO com C/Pessoa.cpp | W8jonas/estudos | b8f07bfd1890d94ff74c77adba1e033b4f0edd54 | [
"MIT"
] | null | null | null | #include "Pessoa.h"
#include <iostream>
using namespace std;
Pessoa::Pessoa() {
cout << "Pessoa criada\n";
}
Pessoa::Pessoa(int idade, float peso, float altura) {
this->idade = idade;
this->peso = peso;
this->altura = altura;
cout << "Pessoa criada com: \n";
cout << "idade: " << idade << "\n";
cout << "peso: " << peso << "\n";
cout << "altura: " << altura << "\n";
}
Pessoa::~Pessoa() {
cout << "Pessoa destruida\n";
}
| 18.125 | 53 | 0.583908 | W8jonas |
a77c4af45fc9ae5c882f3441fbf4dae72123db28 | 280 | cpp | C++ | C++ Programs/StrongNeighbour6.cpp | manish-ai/hacktoberfest-2021 | 07bbcb7890e0a48ef19f04daab466ef47b08a30f | [
"MIT"
] | 21 | 2021-10-01T01:52:56.000Z | 2021-11-08T13:01:26.000Z | C++ Programs/StrongNeighbour6.cpp | manish-ai/hacktoberfest-2021 | 07bbcb7890e0a48ef19f04daab466ef47b08a30f | [
"MIT"
] | 30 | 2021-09-30T18:28:07.000Z | 2021-10-03T05:23:45.000Z | C++ Programs/StrongNeighbour6.cpp | manish-ai/hacktoberfest-2021 | 07bbcb7890e0a48ef19f04daab466ef47b08a30f | [
"MIT"
] | 71 | 2021-09-30T17:32:43.000Z | 2021-10-21T05:26:51.000Z | #include<iostream>
#include<bits/stdc++.h>
using namespace std;
int main(){
int i,j;
int arr[] ={1,2,2,3,4,5};
int n = sizeof(arr)/sizeof(arr[0]);
for(i = 0 ; i <n-1 ; i++){
cout << max(arr[i], arr[i+1]) << " ";
}
return 0;
} | 20 | 54 | 0.453571 | manish-ai |
a7828fceb51ab95bf02fbec19ecb6aa9b8faeff6 | 7,186 | cpp | C++ | ui/MainWindow.cpp | seldon1000/fairwindplusplus | 26cf18e0ecf49c642e24cc504d56722eaddd1399 | [
"Apache-2.0"
] | null | null | null | ui/MainWindow.cpp | seldon1000/fairwindplusplus | 26cf18e0ecf49c642e24cc504d56722eaddd1399 | [
"Apache-2.0"
] | null | null | null | ui/MainWindow.cpp | seldon1000/fairwindplusplus | 26cf18e0ecf49c642e24cc504d56722eaddd1399 | [
"Apache-2.0"
] | null | null | null | //
// Created by Raffaele Montella on 21/03/21.
//
#include <QTimer>
#include <QToolButton>
#include <FairWindSdk/FairWind.hpp>
#include <FairWindSdk/FairWindApp.hpp>
#include <FairWindSdk/IFairWindLauncher.hpp>
#include "MainWindow.hpp"
#include "ui/topbar/TopBar.hpp"
#include "ui/bottombar/BottomBar.hpp"
#include "ui/about/About.hpp"
#include "ui_MainWindow.h"
/*
* MainWindow
* Public constructor - This presents FairWind's UI
*/
fairwind::ui::MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow) {
// Setup the UI
ui->setupUi(this);
// Instantiate TopBar and BottomBar object
m_topBar = new fairwind::ui::topbar::TopBar(ui->widget_Top);
m_bottonBar = new fairwind::ui::bottombar::BottomBar(ui->widget_Bottom);
// Place the Apps object at the center of the UI
setCentralWidget(ui->centralwidget);
// Show the settings view
auto fairWind = FairWind::getInstance();
// Get the launcher app id
auto launcherFairWindAppId = fairWind->getLauncherFairWindAppId();
// Check if the app id is set
if (!launcherFairWindAppId.isEmpty()) {
qDebug() << "launcherFairWindAppId: " << launcherFairWindAppId;
auto launcherFairWindAppHash = fairWind->getAppHashById(launcherFairWindAppId);
qDebug() << "launcherFairWindAppHash: " << launcherFairWindAppHash;
if (!launcherFairWindAppHash.isEmpty()) {
// Set the app
setForegroundApp(launcherFairWindAppHash);
auto fairWindLaucher = (fairwind::apps::IFairWindLauncher *) (fairWind->getAppByExtensionId(
launcherFairWindAppId));
if (fairWindLaucher) {
QObject::connect(fairWindLaucher, &fairwind::apps::IFairWindLauncher::foregroundAppChanged, this,
&MainWindow::setForegroundApp);
}
}
}
// Show the apps view when the user clicks on the Apps button inside the BottomBar object
QObject::connect(m_bottonBar, &bottombar::BottomBar::setApps, this, &MainWindow::onApps);
// Show the settings view when the user clicks on the Settings button inside the BottomBar object
QObject::connect(m_bottonBar, &bottombar::BottomBar::setSettings, this, &MainWindow::onSettings);
// Show the settings view when the user clicks on the Settings button inside the BottomBar object
QObject::connect(m_topBar, &topbar::TopBar::clickedToolbuttonUL, this, &MainWindow::onUpperLeft);
// Show the settings view when the user clicks on the Settings button inside the BottomBar object
QObject::connect(m_topBar, &topbar::TopBar::clickedToolbuttonUR, this, &MainWindow::onUpperRight);
QTimer::singleShot(0, this, SLOT(showFullScreen()));
}
/*
* ~MainWindow
* MainWindow's destructor
*/
fairwind::ui::MainWindow::~MainWindow() {
if (m_bottonBar) {
delete m_bottonBar;
m_bottonBar = nullptr;
}
if (m_topBar) {
delete m_topBar;
m_topBar = nullptr;
}
if (ui) {
delete ui;
ui = nullptr;
}
}
/*
* getUi
* Returns the widget's UI
*/
Ui::MainWindow *fairwind::ui::MainWindow::getUi() {
return ui;
}
/*
* setForegroundApp
* Method called when the user clicks on the Apps widget: show a new foreground app with the provided hash value
*/
void fairwind::ui::MainWindow::setForegroundApp(QString hash) {
qDebug() << "MainWindow hash:" << hash;
// Get the FairWind singleton
auto fairWind = fairwind::FairWind::getInstance();
// Get the map containing all the loaded apps and pick the one that matches the provided hash
auto appItem = fairWind->getAppItemByHash(hash);
// Get the fairwind app
fairwind::apps::IFairWindApp *fairWindApp = fairWind->getAppByExtensionId(appItem->getExtension());
// The QT widget implementing the app
QWidget *widgetApp = nullptr;
// Check if the requested app has been already launched by the user
if (m_mapHash2Widget.contains(hash)) {
// If yes, get its widget from mapWidgets
widgetApp = m_mapHash2Widget[hash];
} else {
// Set the route
fairWindApp->setRoute(appItem->getRoute());
// Set the args
fairWindApp->setArgs(appItem->getArgs());
// invoke the app onStart method
fairWindApp->onStart();
// Get the app widget
widgetApp = ((fairwind::apps::FairWindApp *)fairWindApp)->getWidget();
// Check if the widget is valid
if (widgetApp) {
// Add it to the UI
ui->stackedWidget_Center->addWidget(widgetApp);
// Store it in mapWidgets for future usage
m_mapHash2Widget.insert(hash, widgetApp);
}
}
// Check if the widget is valid
if (widgetApp) {
// Check if there is an app on foreground
if (m_fairWindApp) {
// Call the foreground app onPause method
m_fairWindApp->onPause();
}
// Set the current app
m_fairWindApp = fairWindApp;
// Update the UI with the new widget
ui->stackedWidget_Center->setCurrentWidget(widgetApp);
// Call the new foreground app onResume method
m_fairWindApp->onResume();
// Set the current app in ui components
m_topBar->setFairWindApp(m_fairWindApp);
}
}
/*
* onApps
* Method called when the user clicks the Apps button on the BottomBar object
*/
void fairwind::ui::MainWindow::onApps() {
// Show the settings view
auto fairWind = FairWind::getInstance();
// Show the launcher
setForegroundApp(fairWind->getAppHashById(fairWind->getLauncherFairWindAppId()));
}
/*
* onSettings
* Method called when the user clicks the Settings button on the BottomBar object
*/
void fairwind::ui::MainWindow::onSettings() {
// Show the settings view
auto fairWind = FairWind::getInstance();
auto settingsFairWindAppId = fairWind->getSettingsFairWindAppId();
if (!settingsFairWindAppId.isEmpty()) {
setForegroundApp(fairWind->getAppHashById(settingsFairWindAppId));
}
}
/*
* onUpperLeft
* Method called when the user clicks the upper left icon
*/
void fairwind::ui::MainWindow::onUpperLeft() {
// Show the settings view
auto aboutPage = new about::About(this, ui->stackedWidget_Center->currentWidget());
ui->widget_Top->setDisabled(true);
ui->widget_Bottom->setDisabled(true);
ui->stackedWidget_Center->addWidget(aboutPage);
ui->stackedWidget_Center->setCurrentWidget(aboutPage);
connect(aboutPage,&about::About::accepted,this, &MainWindow::onAboutAccepted);
}
void fairwind::ui::MainWindow::onAboutAccepted(fairwind::ui::about::About *aboutPage) {
ui->widget_Top->setDisabled(false);
ui->widget_Bottom->setDisabled(false);
ui->stackedWidget_Center->removeWidget(aboutPage);
ui->stackedWidget_Center->setCurrentWidget(aboutPage->getCurrentWidget());
}
/*
* onUpperRight
* Method called when the user clicks the upper right icon
*/
void fairwind::ui::MainWindow::onUpperRight() {
// Show the settings view
if (m_fairWindApp) {
m_fairWindApp->colophon();
}
}
| 28.975806 | 113 | 0.674506 | seldon1000 |
a782e1f274447aed35cbcbdfa7473def11d5d248 | 7,715 | cpp | C++ | src/holosuite-lib/holocodec/HoloCodecOpus.cpp | itsermo/holosuite | 16659efec910a4050ddd6548b1310e3ed09636e0 | [
"BSD-3-Clause"
] | null | null | null | src/holosuite-lib/holocodec/HoloCodecOpus.cpp | itsermo/holosuite | 16659efec910a4050ddd6548b1310e3ed09636e0 | [
"BSD-3-Clause"
] | null | null | null | src/holosuite-lib/holocodec/HoloCodecOpus.cpp | itsermo/holosuite | 16659efec910a4050ddd6548b1310e3ed09636e0 | [
"BSD-3-Clause"
] | null | null | null | #ifdef ENABLE_HOLO_AUDIO
#include "HoloCodecOpus.hpp"
using namespace holo;
using namespace holo::codec;
HoloCodecOpus::HoloCodecOpus() : IHoloCodec<std::vector<unsigned char>>(),
isInit_(false),
audioFormat_(),
bitRate_(HOLO_AUDIO_DEFAULT_ENCODE_BITRATE),
audioEncoder_(nullptr),
audioDecoder_(nullptr)
{
logger_ = log4cxx::Logger::getLogger("edu.mit.media.obmg.holosuite.codec.opus");
audioFormat_.frequency = HOLO_AUDIO_DEFAULT_FMT_FREQ;
audioFormat_.numChannels = HOLO_AUDIO_DEFAULT_FMT_CHAN;
audioFormat_.depth = HOLO_AUDIO_DEFAULT_FMT_DEPTH;
rawFrameLength_ = HOLO_AUDIO_DEFAULT_ENCODE_FRAME_SIZE * audioFormat_.numChannels * sizeof(opus_int16);
LOG4CXX_DEBUG(logger_, "Opus audio encoder object instantiated with default values");
}
HoloCodecOpus::HoloCodecOpus(HoloAudioFormat audioFormat, int bitRate) : IHoloCodec<std::vector<unsigned char>>(),
isInit_(false),
audioFormat_(audioFormat),
bitRate_(bitRate),
audioEncoder_(nullptr),
audioDecoder_(nullptr)
{
logger_ = log4cxx::Logger::getLogger("edu.mit.media.obmg.holosuite.codec.opus");
rawFrameLength_ = HOLO_AUDIO_DEFAULT_ENCODE_FRAME_SIZE * audioFormat_.numChannels * sizeof(opus_int16);
LOG4CXX_DEBUG(logger_, "Opus audio encoder object instantiated with specific values");
}
HoloCodecOpus::~HoloCodecOpus()
{
deinit();
}
bool HoloCodecOpus::init(CODEC_MODE codecMode)
{
if (!isInit())
{
bool isEncoderInit = false;
bool isDecoderInit = false;
codecMode_ = codecMode;
int errCode = OPUS_OK;
if (codecMode_ == CODEC_MODE_BOTH || codecMode_ == CODEC_MODE_ENCODER)
{
LOG4CXX_INFO(logger_, "Initializing Opus audio encoder...");
LOG4CXX_INFO(logger_, "Audio frequency: " << audioFormat_.frequency);
LOG4CXX_INFO(logger_, "Audio number of channels: " << audioFormat_.numChannels);
LOG4CXX_INFO(logger_, "Audio bitrate: " << bitRate_);
audioEncoder_ = opus_encoder_create(audioFormat_.frequency, audioFormat_.numChannels, OPUS_APPLICATION_VOIP, &errCode);
if (errCode != OPUS_OK)
{
LOG4CXX_ERROR(logger_, "Could not initialize Opus encoder: " << opus_strerror(errCode));
deinit();
return false;
}
errCode = opus_encoder_ctl(audioEncoder_, OPUS_SET_BITRATE(bitRate_));
if (errCode != OPUS_OK)
{
LOG4CXX_ERROR(logger_, "Could not set Opus encoder bitrate: " << opus_strerror(errCode));
deinit();
return false;
}
errCode = opus_encoder_ctl(audioEncoder_, OPUS_SET_SIGNAL(HOLO_AUDIO_DEFAULT_ENCODE_SIGNAL));
if (errCode != OPUS_OK)
{
LOG4CXX_ERROR(logger_, "Could not set Opus encoder signal type: " << opus_strerror(errCode));
deinit();
return false;
}
errCode = opus_encoder_ctl(audioEncoder_, OPUS_SET_BANDWIDTH(HOLO_AUDIO_DEFAULT_ENCODE_BANDWIDTH));
if (errCode != OPUS_OK)
{
LOG4CXX_ERROR(logger_, "Could not set Opus encoder bandwidth: " << opus_strerror(errCode));
deinit();
return false;
}
LOG4CXX_INFO(logger_, "Initialized Opus audio encoder");
isEncoderInit = true;
}
if (codecMode_ == CODEC_MODE_BOTH || codecMode_ == CODEC_MODE_DECODER)
{
int errCode = OPUS_OK;
LOG4CXX_INFO(logger_, "Initializing Opus audio decoder...");
LOG4CXX_INFO(logger_, "Audio frequency: " << audioFormat_.frequency << "kHz");
LOG4CXX_INFO(logger_, "Audio number of channels: " << audioFormat_.numChannels);
audioDecoder_ = opus_decoder_create(audioFormat_.frequency, audioFormat_.numChannels, &errCode);
if (errCode != OPUS_OK)
{
LOG4CXX_ERROR(logger_, "Could not initialize Opus decoder: " << opus_strerror(errCode));
deinit();
return false;
}
LOG4CXX_INFO(logger_, "Initialized Opus audio decoder");
isDecoderInit = true;
}
isInit_ = codecMode_ == CODEC_MODE_BOTH ? isDecoderInit && isEncoderInit : codecMode_ == CODEC_MODE_ENCODER ? isEncoderInit : isDecoderInit;
}
return isInit();
}
void HoloCodecOpus::deinit()
{
if (audioEncoder_)
{
opus_encoder_destroy(audioEncoder_);
audioEncoder_ = nullptr;
}
if (audioDecoder_)
{
opus_decoder_destroy(audioDecoder_);
audioEncoder_ = nullptr;
}
}
void HoloCodecOpus::encode(boost::shared_ptr<std::vector<unsigned char>> rawData, boost::shared_ptr<std::vector<unsigned char>>& encodeOut)
{
//get the size of the raw buffer we just got from the audio input, add any overflow size to that
int rawSize = (rawData->size() + prevOverflowBuffer_.size());
//the number of frames is the raw size divided by the length of a raw frame
//overflow for next cycle, because we won't always have divisible number of frames to jam in there
const int numFrames = rawSize / rawFrameLength_;
const int overflow = rawSize % rawFrameLength_;
//the final data that will be sent over network, this has a header where first int is # of frames packed
//followed by n number of ints describing the encoded length of each frame (where n is # of frames)
//after the header, encoded audio frames are packed one after another
const int finalDataHeaderSize = sizeof(int)*(numFrames + 1);
//std::vector<unsigned char> finalData(finalDataHeaderSize);
encodeOut->resize(finalDataHeaderSize);
//set first int in the header to the number of frames we will encode
((int*)encodeOut->data())[0] = numFrames;
//create the raw buffer and copy overflow + chunk into it
unsigned char * rawBuffer = new unsigned char[rawSize];
if (!prevOverflowBuffer_.empty())
{
memcpy(rawBuffer, &prevOverflowBuffer_[0], prevOverflowBuffer_.size());
memcpy(rawBuffer + prevOverflowBuffer_.size(), rawData->data(), rawData->size());
}
else
memcpy(rawBuffer, rawData->data(), rawData->size());
//the buffer where we will store the encoded data on a per frame basis, allocated to the maximum frame length
unsigned char *encodeBuffer = new unsigned char[rawFrameLength_];
unsigned char *rawPtr = rawBuffer;
for (int i = 0; i < numFrames; i++)
{
//encode a frame, returns the output number of bytes (encoded buffer length for this particular frame)
int realLength = opus_encode(audioEncoder_, (const opus_int16*)(rawPtr), HOLO_AUDIO_DEFAULT_ENCODE_FRAME_SIZE, encodeBuffer, rawFrameLength_);
//set the finaldata buffer size
((int*)encodeOut->data())[i + 1] = realLength;
//add a frame to the end of finalData
encodeOut->insert(encodeOut->end(), &encodeBuffer[0], &encodeBuffer[realLength]);
rawPtr += rawFrameLength_;
}
//get rid of our previous overflow and fill it with current overflow, for next cycle
prevOverflowBuffer_.clear();
if (overflow > 0)
prevOverflowBuffer_.insert(prevOverflowBuffer_.begin(), &rawBuffer[rawSize - overflow], &rawBuffer[rawSize]);
delete[] encodeBuffer;
delete[] rawBuffer;
}
void HoloCodecOpus::decode(boost::shared_ptr<std::vector<unsigned char>> encodedStream, boost::shared_ptr<std::vector<unsigned char>>& decodeOut)
{
//get the number of frames to decode from first int of rx data
const int numFrames = ((int*)encodedStream->data())[0];
//set the data pointer to first byte of encoded data (AKA skip header)
unsigned char * encodedDataPtr = encodedStream->data() + (sizeof(int)*(numFrames + 1));
//create a chunk to store numFrames of raw decoded data (48000 * 2chan * 16-bit)
decodeOut->resize(rawFrameLength_*numFrames);
//AlignedAudioChunk chunk(remoteSessionInfo_.audioFormat, audioEncBuffLen*numFrames);
unsigned char * decodedDataPtr = decodeOut->data();
//decode each frame and fill chunk to the end
for (int i = 0; i < numFrames; i++)
{
int encodedFrameLen = ((int*)encodedStream->data())[i + 1];
int ret = opus_decode(audioDecoder_, encodedDataPtr, encodedFrameLen, (opus_int16*)decodedDataPtr, HOLO_AUDIO_DEFAULT_ENCODE_FRAME_SIZE, 0);
encodedDataPtr += encodedFrameLen;
decodedDataPtr += rawFrameLength_;
}
}
#endif | 35.552995 | 145 | 0.744135 | itsermo |
a78b3abce412a01314346100334571834128818b | 1,610 | cpp | C++ | LeetCode/ThousandOne/0446-arithmetic_subseq.cpp | Ginkgo-Biloba/Cpp-Repo1-VS | 231c68a055e6bf69a3f7c224e7c0182b67ce5b67 | [
"Apache-2.0"
] | null | null | null | LeetCode/ThousandOne/0446-arithmetic_subseq.cpp | Ginkgo-Biloba/Cpp-Repo1-VS | 231c68a055e6bf69a3f7c224e7c0182b67ce5b67 | [
"Apache-2.0"
] | null | null | null | LeetCode/ThousandOne/0446-arithmetic_subseq.cpp | Ginkgo-Biloba/Cpp-Repo1-VS | 231c68a055e6bf69a3f7c224e7c0182b67ce5b67 | [
"Apache-2.0"
] | null | null | null | #include "leetcode.hpp"
/* 446. 等差数列划分 II - 子序列
如果一个数列至少有三个元素,并且任意两个相邻元素之差相同,则称该数列为等差数列。
例如,以下数列为等差数列:
1, 3, 5, 7, 9
7, 7, 7, 7
3, -1, -5, -9
以下数列不是等差数列。
1, 1, 2, 5, 7
数组 A 包含 N 个数,且索引从 0 开始。该数组子序列将划分为整数序列 (P0, P1, ..., Pk),P 与 Q 是整数且满足 0 ≤ P0 < P1 < ... < Pk < N。
如果序列 A[P0],A[P1],...,A[Pk-1],A[Pk] 是等差的,那么数组 A 的子序列 (P0,P1,…,PK) 称为等差序列。值得注意的是,这意味着 k ≥ 2。
函数要返回数组 A 中所有等差子序列的个数。
输入包含 N 个整数。每个整数都在 -231 和 231-1 之间,另外 0 ≤ N ≤ 1000。保证输出小于 231-1。
示例:
输入:[2, 4, 6, 8, 10]
输出:7
解释:
所有的等差子序列为:
[2,4,6]
[4,6,8]
[6,8,10]
[2,4,6,8]
[4,6,8,10]
[2,4,6,8,10]
[2,6,10]
*/
// https://leetcode-cn.com/problems/arithmetic-slices-ii-subsequence/solution/deng-chai-shu-lie-hua-fen-ii-zi-xu-lie-by-leetcode/
// 抄的
int numberOfArithmeticSlices(vector<int>& A)
{
int len = static_cast<int>(A.size());
if (len < 3)
return 0;
int ans = 0;
vector<std::map<int64_t, int>> cnt(len);
for (int i = 1; i < len; ++i)
for (int k = 0; k < i; ++k)
{
int64_t delta = static_cast<int64_t>(A[i]) - A[k];
int sum = 0;
if (cnt[k].find(delta) != cnt[k].end())
sum = cnt[k][delta];
cnt[i][delta] += sum + 1;
ans += sum;
}
return ans;
}
int main()
{
vector<int> A = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100 };
OutExpr(numberOfArithmeticSlices(A), "%d");
}
| 26.393443 | 412 | 0.565839 | Ginkgo-Biloba |
a78b66e2e56304f68181930aa23944e5c880640a | 1,381 | cpp | C++ | lc/LC135.cpp | 4llenchan/dsa | 314991a32a24578dbf48e82ddded95804c95aa10 | [
"MIT"
] | null | null | null | lc/LC135.cpp | 4llenchan/dsa | 314991a32a24578dbf48e82ddded95804c95aa10 | [
"MIT"
] | null | null | null | lc/LC135.cpp | 4llenchan/dsa | 314991a32a24578dbf48e82ddded95804c95aa10 | [
"MIT"
] | null | null | null | #include <gtest/gtest.h>
#include <algorithm>
#include <numeric>
#include <unordered_map>
#include <vector>
#include "Common.h"
using namespace std;
/*
* https://leetcode-cn.com/problems/candy/
* 两次遍历的贪心算法
*/
class Solution {
public:
int candy(vector<int> &ratings) {
int size = ratings.size();
if (size < 2) {
return size;
}
vector<int> candies(size, 1);
for (int i = 1; i < size; ++i) {
if (ratings[i] > ratings[i - 1]) {
candies[i] = candies[i - 1] + 1;
}
}
int right = candies[size - 1];
int count = right;
for (int i = size - 2; i >= 0; --i) {
if (ratings[i] > ratings[i + 1]) {
/* 因为有前面一次的遍历,这里需要取max,才能保证前一轮遍历的结果仍然正确 */
right = max(candies[i], right + 1);
} else {
right = candies[i];
}
count += right;
}
return count;
}
};
class LC135Tests : public ::testing::Test {
protected:
Solution solution;
};
TEST_F(LC135Tests, case1) {
vector<int> ratings{1, 0, 2};
EXPECT_EQ(solution.candy(ratings), 5);
}
TEST_F(LC135Tests, case2) {
vector<int> ratings{1, 2, 2};
EXPECT_EQ(solution.candy(ratings), 4);
}
TEST_F(LC135Tests, case3) {
vector<int> ratings{1};
EXPECT_EQ(solution.candy(ratings), 1);
} | 22.274194 | 58 | 0.527154 | 4llenchan |
a78c512809b5dadc82b175bc1c92c21066af863b | 1,690 | hh | C++ | track/detail/UnitTrackingStorage.i.hh | celeritas-project/orange-port | 9aa2d36984a24a02ed6d14688a889d4266f7b1af | [
"Apache-2.0",
"MIT"
] | null | null | null | track/detail/UnitTrackingStorage.i.hh | celeritas-project/orange-port | 9aa2d36984a24a02ed6d14688a889d4266f7b1af | [
"Apache-2.0",
"MIT"
] | null | null | null | track/detail/UnitTrackingStorage.i.hh | celeritas-project/orange-port | 9aa2d36984a24a02ed6d14688a889d4266f7b1af | [
"Apache-2.0",
"MIT"
] | null | null | null | //---------------------------------*-C++-*-----------------------------------//
/*!
* \file track/detail/UnitTrackingStorage.i.hh
* \brief UnitTrackingStorage inline method definitions
* \note Copyright (c) 2020 Oak Ridge National Laboratory, UT-Battelle, LLC.
*/
//---------------------------------------------------------------------------//
#pragma once
#include "base/Macros.hh"
namespace celeritas
{
namespace detail
{
//---------------------------------------------------------------------------//
/*!
* Access all stored cells
*/
CELER_FORCEINLINE_FUNCTION const CellContainer&
UnitTrackingStorage::cells() const
{
return cells_;
}
//---------------------------------------------------------------------------//
/*!
* \brief Access all stored surfaces
*/
CELER_FORCEINLINE_FUNCTION const SurfaceContainer&
UnitTrackingStorage::surfaces() const
{
return surfaces_;
}
//---------------------------------------------------------------------------//
/*!
* \brief Find KD-tree cells at the given point
*/
auto UnitTrackingStorage::find_kdtree_cells(SpanConstReal3 pos) const
-> SpanConstCellInt
{
return make_span(kdtree_.find_volumes(pos));
}
//---------------------------------------------------------------------------//
/*!
* Find cells connected to a given surface
*/
auto UnitTrackingStorage::get_connected_cells(SurfaceId id) const
-> SpanConstCellInt
{
CELER_EXPECT(id < connectivity_.size());
return make_span(connectivity_[id.get()]);
}
//---------------------------------------------------------------------------//
} // namespace detail
} // namespace celeritas
| 28.166667 | 79 | 0.464497 | celeritas-project |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.