repo_name stringlengths 5 122 | path stringlengths 3 232 | text stringlengths 6 1.05M |
|---|---|---|
lucasw/image_manip | image_manip/src/resize.cpp | /*
* Copyright (c) 2017 <NAME>
* June 2017
* 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 li... |
lucasw/image_manip | image_manip/src/image_delay.cpp | <reponame>lucasw/image_manip<filename>image_manip/src/image_delay.cpp
/*
* Copyright (c) 2017 <NAME>
* June 2017
* 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 o... |
lucasw/image_manip | image_manip/src/iir_image.cpp | /*
* Copyright (c) 2017 <NAME>
* June 2017
* 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 li... |
lucasw/image_manip | image_manip/src/utility_ros.cpp | /*
* Copyright (c) 2017 <NAME>
* June 2017
* 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 li... |
brotherlogic/discoverycpp | discovery_server.cc | #include <string>
#include <chrono>
#include <thread>
#include <grpc/grpc.h>
#include <grpc++/server.h>
#include <grpc++/server_builder.h>
#include <grpc++/server_context.h>
#include <grpc++/security/server_credentials.h>
#include "proto/discovery.grpc.pb.h"
using grpc::Server;
using grpc::ServerBuilder;
using grpc::... |
brotherlogic/discoverycpp | discovery.grpc.pb.cc | // Generated by the gRPC C++ plugin.
// If you make any local change, they will be lost.
// source: discovery.proto
#include "discovery.pb.h"
#include "discovery.grpc.pb.h"
#include <grpc++/impl/codegen/async_stream.h>
#include <grpc++/impl/codegen/async_unary_call.h>
#include <grpc++/impl/codegen/channel_interface.h... |
brotherlogic/discoverycpp | discovery.pb.cc | <reponame>brotherlogic/discoverycpp
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: discovery.proto
#include "discovery.pb.h"
#include <algorithm>
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/stubs/port.h>
#include <google/protobuf/stubs/once.h>
#include <google/protobuf... |
andreichelariu92/email_gateway | lib_email/src/main.cpp | <filename>lib_email/src/main.cpp<gh_stars>1-10
#include <stdio.h>
#include <string.h>
#include <curl/curl.h>
struct curl_slist* makeList(const char* name)
{
struct curl_slist* output = NULL;
output = curl_slist_append(output, name);
return output;
}
FILE* openFile(const char* fileName)
{
FILE* outpu... |
markuseggenbauer/me_std | me_std/impl/src/me_std/test.optional_ref.cpp | <reponame>markuseggenbauer/me_std<filename>me_std/impl/src/me_std/test.optional_ref.cpp
#include <array>
#include <me_std/optional_ref.hpp>
#include <optional>
#include <string>
#include "gtest/gtest.h"
namespace {
using TestTypes = ::testing::Types<int const &, std::string const &, int &, std::string &>;
enum class... |
markuseggenbauer/me_std | me_std/impl/src/me_std/test.safe_ref.cpp | #include <array>
#include <me_std/safe_ref.hpp>
#include <memory>
#include <string>
#include "gtest/gtest.h"
namespace {
using TestTypes = ::testing::Types<int const &, std::string const &, int &, std::string &>;
enum class ValueType : int { test, same, larger };
template <typename T>
T get_value(ValueType);
templ... |
markuseggenbauer/me_std | me_std/impl/inc/me_std/optional_ref.hpp | <reponame>markuseggenbauer/me_std<gh_stars>0
#ifndef ME_STD_OPTIONAL_REF_HPP
#define ME_STD_OPTIONAL_REF_HPP
#include <cassert>
#include <optional>
#include <type_traits>
namespace me_std {
template <typename T>
class optional_ref {
static_assert(std::is_lvalue_reference<T>::value == true,
"Templat... |
markuseggenbauer/me_std | me_std/test_package/example.cpp | #include "me_std/optional_ref.hpp"
int main() {}
|
markuseggenbauer/me_std | me_std/impl/inc/me_std/safe_ref.hpp | #ifndef ME_STD_SAFE_REF_HPP
#define ME_STD_SAFE_REF_HPP
#include <cassert>
#include <memory>
#include <type_traits>
namespace me_std {
template <typename T>
class safe_ref {
static_assert(std::is_lvalue_reference<T>::value == true,
"Template argument T must be a reference type.");
public:
using... |
SREEHARIR/Line-Follower | AVR LineFollower/main.cpp | <gh_stars>0
#include<avr/io.h>
#include<util/delay.h>
void motors(int,int);
int read_line();
void readsens();
void followPID();
void init_motors();
int sensor_values[8];
// char inputs[8]={'C0','C1','C2','C3','C4','C5','B4','B5'};
int num_sensor = 8;
#define READ(port,pin) (PIN ## port & (1<<pin))
#define leftMoto... |
svam4ik/Firmware | src/modules/counter/counter.cpp | <reponame>svam4ik/Firmware
/****************************************************************************
*
* Copyright (c) 2018 PX4 Development Team. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
*... |
svam4ik/Firmware | src/modules/counter_sub/counter_sub.cpp | <reponame>svam4ik/Firmware
/****************************************************************************
*
* Copyright (c) 2018 PX4 Development Team. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
*... |
svam4ik/Firmware | src/modules/global_control/global_control.cpp | #include <math.h>
#include <lib/mathlib/mathlib.h>
#include <global_params.h>
#include "LowLevel.h"
#include "HighLevel.h"
#include <uORB/uORB.h>
#include <drivers/drv_range_finder.h>
#include <rc_work.h>
#include <uORB/topics/vehicle_attitude.h>
|
lionyhw/pxt-microbit | libs/core/music.cpp | #include "pxt.h"
namespace pins {
void analogSetPitchVolume(int volume);
int analogPitchVolume();
}
namespace music {
/**
* Set the default output volume of the sound synthesizer.
* @param volume the volume 0...255
*/
//% blockId=synth_set_volume block="set volume %volume"
//% volume.min=0 volume.max=255
/... |
Axeleron/keyhunt | secp256k1/IntGroup.cpp | <reponame>Axeleron/keyhunt<filename>secp256k1/IntGroup.cpp
/*
* This file is part of the BSGS distribution (https://github.com/JeanLucPons/BSGS).
* Copyright (c) 2020 <NAME>.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published... |
Axeleron/keyhunt | secp256k1/SECP256K1.cpp | /*
* This file is part of the BSGS distribution (https://github.com/JeanLucPons/BSGS).
* Copyright (c) 2020 <NAME>.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, version 3.
*
* This ... |
ianruh/cholla-private | src/grid3D.cpp | /*! \file grid3D.cpp
* \brief Definitions of the Grid3D class */
#include <stdlib.h>
#include <math.h>
#include <string.h>
#ifdef HDF5
#include <hdf5.h>
#endif
#include "global.h"
#include "grid3D.h"
#include "CTU_1D.h"
#include "CTU_2D.h"
#include "CTU_3D.h"
#include "CTU_1D_cuda.h"
#include "CTU_2D_cuda.h"
#includ... |
vuo/conan-zxing | test_package/test_package.cc | <filename>test_package/test_package.cc
#include <stdio.h>
#include <string.h>
#include <zxing/common/StringUtils.h>
int main()
{
char *text = strdup("Hello world");
std::string encoding = zxing::common::StringUtils::guessEncoding(text, strlen(text), zxing::common::StringUtils::Hashtable());
if (encoding != "ISO8859... |
Ashlzw/simple_json | simplejson.cpp | <reponame>Ashlzw/simple_json
#pragma warning(disable:4996)
#include <cmath>
#include <cerrno>
#include <sstream>
#include <iomanip>
#include "simplejson.h"
const json_value * json_value::get_json_value_by_name(const std::string & name)
{
assert(_type == json_type::JSON_OBJECT);
simple_vector<char> tmp(na... |
Ashlzw/simple_json | test.cpp | #pragma warning(disable:4996)
#include <iostream>
#include <iomanip>
#include <cstdio>
#include "simplejson.h"
static int main_ret = 0;
static int test_count = 0;
static int test_pass = 0;
#define EXPECT_EQ_BASE(equality, expect, actual) \
do \
{ \
test_count++; \
if (equality) \
test_pass++... |
hjmallon/openexr | OpenEXR/IlmImf/ImfDwaCompressor.cpp | ///////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2009-2014 DreamWorks Animation LLC.
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
// * ... |
northbright/ChmBatchDecompiler | ChmBatchDecompiler/ChmBatchDecompiler.cpp | <reponame>northbright/ChmBatchDecompiler
// ChmBatchDecompiler.cpp : Defines the entry point for the application.
//
#include "stdafx.h"
#include <string>
#include <map>
#include "../../WinUtil/Util/Util.h"
#include "ChmBatchDecompiler.h"
using namespace std;
#define MAX_LOADSTRING 100
#pragma comment(linker,"\"/... |
csharpseattle/Kidnapped-Vehicle-Project | src/particle_filter.cpp | /*
* particle_filter.cpp
*
* Created on: Dec 12, 2016
* Author: <NAME>
*/
#include <random>
#include <algorithm>
#include <iostream>
#include <numeric>
#include <math.h>
#include <iostream>
#include <sstream>
#include <string>
#include <iterator>
#include <limits>
#include "particle_filter.h"
using namesp... |
shadlyd15/DSA-Bootcamp-in-CPP | Recusion/head_tail.cpp | #include <iostream>
using namespace std;
void tail(int n){
if (n == 0) return;
cout << "Tail recursion : n = " << n << endl;
tail(n - 1);
}
int main(int argc, char const *argv[]){
tail(10);
return 0;
} |
zhuzy-xys/fb_proxygen | proxygen/lib/http/codec/compress/test/QPACKHeaderTableTests.cpp | /*
* Copyright (c) 2018-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
*/
#inc... |
zhuzy-xys/fb_proxygen | proxygen/lib/http/codec/compress/HPACKCodec.cpp | /*
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
*/
#inc... |
zhuzy-xys/fb_proxygen | proxygen/lib/http/session/HTTPSessionAcceptor.cpp | /*
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
*/
#inc... |
prcups/SannyoComics | sannyocomics.cpp | <reponame>prcups/SannyoComics
#include "sannyocomics.h"
#include <QNetworkAccessManager>
#include <QNetworkRequest>
#include <QNetworkReply>
#include <QUrl>
#include <QCoreApplication>
#include <QRegularExpression>
#include <QJsonDocument>
#include <QJsonObject>
#include <QJsonArray>
#include <QJsonValue>
SannyoComics... |
Bouncner/hyrise | src/benchmarklib/benchmark_config.cpp | #include "benchmark_config.hpp"
namespace opossum {
BenchmarkConfig::BenchmarkConfig(const BenchmarkMode init_benchmark_mode, const ChunkOffset init_chunk_size,
const EncodingConfig& init_encoding_config, const bool init_indexes,
const int64_t init_max... |
ItsSeaJay/ready-to-rumble | src/Main.cpp | <reponame>ItsSeaJay/ready-to-rumble
#include <string>
#include "SDL.h"
int main(int argc, char** argv)
{
bool quit = false;
std::string title = "Ready To Rumble";
SDL_Window* window;
SDL_Event e;
SDL_Init(SDL_INIT_VIDEO)
window = SDL_CreateWindow
(
title,
SDL_WINDOWPOS_UNDEFINED,
SDL_WINDOWPOS_UNDEFINED,... |
byteManiak/OpenTerra | main.cpp | #include <iostream>
#include <vector>
#include <memory>
#include <cstdlib>
#include <ctime>
#include <GL/glew.h>
#include <GL/gl.h>
#include <GLFW/glfw3.h>
#include <ft2build.h>
#include "shaders.h"
#include "background.h"
#include "block.h"
#include "text.h"
FT_Library ftlib;
int main()
{
srand(time(NULL));
... |
laughingclouds/quiz-game | controllers/Login/LoginController.cc | <filename>controllers/Login/LoginController.cc
#include <drogon/HttpAppFramework.h>
#include <drogon/HttpTypes.h>
#include <drogon/orm/Criteria.h>
#include <iostream>
#include <stdexcept>
#include <string>
#include "LoginController.h"
#include <drogon/orm/Exception.h>
#include <drogon/orm/Mapper.h>
#include "../../mo... |
laughingclouds/quiz-game | controllers/LeaderBoard/LeaderBoardController.cc | #include "LeaderBoardController.h"
#include "../../models/models.hpp"
#include <drogon/orm/Criteria.h>
using namespace drogon_model;
using namespace drogon_model::sqlite3;
/** Serve the `/LeaderBoard` page
1. Query database for top scores
2. Calculate top five scores
3. Insert into view */
void LeaderBoardController:... |
laughingclouds/quiz-game | models/Option.cc | <reponame>laughingclouds/quiz-game
/**
*
* Option.cc
* DO NOT EDIT. This file is generated by drogon_ctl
*
*/
#include "Option.h"
#include <drogon/utils/Utilities.h>
#include <string>
using namespace drogon;
using namespace drogon::orm;
using namespace drogon_model::sqlite3;
const std::string Option::Cols::_i... |
laughingclouds/quiz-game | controllers/StartGameController/startGameBasedOnCategoryId.cc | <filename>controllers/StartGameController/startGameBasedOnCategoryId.cc<gh_stars>1-10
#include <vector>
#include "../../exceptions/InvalidSession.hpp"
#include "StartGameController.h"
/**
User is provided with a form, that has a number of questions and their options.
After submission, the questionId and the correspod... |
laughingclouds/quiz-game | models/User.cc | <reponame>laughingclouds/quiz-game<gh_stars>1-10
/**
*
* User.cc
* DO NOT EDIT. This file is generated by drogon_ctl
*
*/
#include "User.h"
#include <drogon/utils/Utilities.h>
#include <string>
using namespace drogon;
using namespace drogon::orm;
using namespace drogon_model::sqlite3;
const std::string User::... |
laughingclouds/quiz-game | exceptions/InvalidSession.hpp | <reponame>laughingclouds/quiz-game<filename>exceptions/InvalidSession.hpp
#pragma once
#include <exception>
class InvalidSessionException : public std::exception {
public:
InvalidSessionException() {}
}; |
laughingclouds/quiz-game | controllers/utility/utils.cpp | #include <drogon/drogon.h>
#include <iostream>
#include <string>
#include "../../exceptions/InvalidSession.hpp"
#include "../../models/models.hpp"
// Make cookies that persist for all pages
drogon::Cookie makeSecureCookie(std::string key, std::string value) {
auto cookie = drogon::Cookie(key, value);
cookie.setSe... |
laughingclouds/quiz-game | models/Category.cc | /**
*
* Category.cc
* DO NOT EDIT. This file is generated by drogon_ctl
*
*/
#include "Category.h"
#include <drogon/utils/Utilities.h>
#include <string>
using namespace drogon;
using namespace drogon::orm;
using namespace drogon_model::sqlite3;
const std::string Category::Cols::_id = "id";
const std::string C... |
laughingclouds/quiz-game | models/Question.cc | /**
*
* Question.cc
* DO NOT EDIT. This file is generated by drogon_ctl
*
*/
#include "Question.h"
#include <drogon/utils/Utilities.h>
#include <string>
using namespace drogon;
using namespace drogon::orm;
using namespace drogon_model::sqlite3;
const std::string Question::Cols::_id = "id";
const std::string Q... |
laughingclouds/quiz-game | models/Solved.cc | <filename>models/Solved.cc
/**
*
* Solved.cc
* DO NOT EDIT. This file is generated by drogon_ctl
*
*/
#include "Solved.h"
#include <drogon/utils/Utilities.h>
#include <string>
using namespace drogon;
using namespace drogon::orm;
using namespace drogon_model::sqlite3;
const std::string Solved::Cols::_question_... |
laughingclouds/quiz-game | controllers/StartGameController/quizSetting.cc | <gh_stars>1-10
#include "StartGameController.h"
void StartGameController::quizSetting(
const HttpRequestPtr &req,
std::function<void(const HttpResponsePtr &)> &&callback) const {
if (!isValidUserLoggedIn(req)) {
auto redir = HttpResponse::newRedirectionResponse("/Login", k303SeeOther);
callback(redi... |
laughingclouds/quiz-game | controllers/utility/utils.hpp | <filename>controllers/utility/utils.hpp
#pragma once
#include "../../models/models.hpp"
#include <drogon/drogon.h>
#include <string>
extern drogon::Cookie makeSecureCookie(std::string key, std::string value);
/** Check if a valid user is logged in. Return either true or false.
Throw InvalidSessionException if not th... |
laughingclouds/quiz-game | controllers/User/UserController.cc | #include "UserController.h"
#include "../../models/models.hpp"
using namespace drogon_model;
using namespace drogon_model::sqlite3;
// Simply serve the form that takes username and password
void UserController::ServeAddUserForm(
const HttpRequestPtr &req,
std::function<void(const HttpResponsePtr &)> &&callba... |
laughingclouds/quiz-game | models/models.hpp | #pragma once
#include "Category.h"
#include "Option.h"
#include "Question.h"
#include "Solved.h"
#include "User.h" |
laughingclouds/quiz-game | controllers/Home/HomePageController.cc | <filename>controllers/Home/HomePageController.cc<gh_stars>1-10
#include <iostream>
#include "HomePageController.h"
#include "../utility/utils.hpp"
void HomePageController::homePage(
const HttpRequestPtr &req,
std::function<void(const HttpResponsePtr &)> &&callback) const {
const std::string USER_NAME = r... |
laughingclouds/quiz-game | controllers/UserListController.cc | #include <cctype>
#include <string>
#include <vector>
#include "../models/models.hpp"
#include "UserListController.h"
#include "utility/utils.hpp"
using namespace drogon_model;
using namespace drogon_model::sqlite3;
void UserListController::asyncHandleHttpRequest(
const HttpRequestPtr &req,
std::function<voi... |
laughingclouds/quiz-game | controllers/StartGameController/gameSubmission.cc | #include <iostream>
#include <string>
#include <vector>
#include "StartGameController.h"
void StartGameController::gameSubmission(
const HttpRequestPtr &req,
std::function<void(const HttpResponsePtr &)> &&callback) const {
int userId = std::stoi(req->getCookie("userId"));
int number_of_correctly_answered... |
laughingclouds/quiz-game | version.hpp | /* This defines the current version of the project
"RELEASE" value inspired from here:
https://en.wikipedia.org/wiki/Software_release_life_cycle
*/
#pragma once
#define NAME "quiz-game"
#define RELEASE "pre-alpha"
#define VERSION "0.1.0" |
laughingclouds/quiz-game | main.cc | #include <random>
#include <drogon/drogon.h>
#include "models/Category.h"
#include "models/User.h"
auto randomEngine = std::default_random_engine();
int main() {
std::cout << "Server started!\n";
drogon::app().loadConfigFile("../config.json");
// Run HTTP framework,the method will block in the internal ... |
laughingclouds/quiz-game | main.hpp | #pragma once
#include <random>
// random number generator that will exist globally
extern std::default_random_engine randomEngine; |
laughingclouds/quiz-game | controllers/utility/quizModels.hpp | <gh_stars>1-10
#pragma once
#include <iostream>
#include <vector>
#include <algorithm>
#include <cstdint>
#include <drogon/HttpAppFramework.h>
#include <drogon/orm/Mapper.h>
#include "../../models/models.hpp"
#include "../../main.hpp"
namespace quiz {
class Option {
public:
int id;
std::string text;
Option(d... |
anirul/MazeGenerator | Sources/maze_main.cpp | <gh_stars>0
#include <iostream>
#include <string>
#include <chrono>
#include <boost/program_options.hpp>
#include "maze_generator.hpp"
using boost::program_options::options_description;
using boost::program_options::variables_map;
using boost::program_options::store;
using boost::program_options::command_line_parser;... |
anirul/MazeGenerator | Sources/maze_generator.hpp | #ifndef MAZE_GENERATOR_H_
#define MAZE_GENERATOR_H_
class maze_generator {
private:
unsigned int dx_;
unsigned int dy_;
unsigned int dz_;
public:
maze_generator(
unsigned int dx,
unsigned int dy,
unsigned int dz = 1);
virtual ~maze_generator();
};
#endif // MAZE_GENERATOR_H_
|
anirul/MazeGenerator | Sources/maze_generator.cpp | #include <assert.h>
#include "maze_generator.hpp"
maze_generator::maze_generator(
unsigned int dx,
unsigned int dy,
unsigned int dz) :
dx_(dx),
dy_(dy),
dz_(dz)
{
assert(dx_);
assert(dy_);
assert(dz_);
}
maze_generator::~maze_generator() {}
|
CyberGsus/tui-first-steps | src/lib/vt/handler.cpp | <filename>src/lib/vt/handler.cpp
#include "handler.h"
#include "terminal.h"
namespace vt {
void Handler::initLoop() {
vt::init();
while (!m_quit) {
const auto& opt = vt::readByte();
if (opt) {
m_lastKey = *opt;
fireEvent(Event::KEY);
}
fireEvent(Event::D... |
CyberGsus/tui-first-steps | src/lib/vt/terminal.cpp | <filename>src/lib/vt/terminal.cpp
#include "terminal.h"
#include <cstdio>
#include <cstdlib>
extern "C" {
#include <stdarg.h>
#include <termios.h>
#include <unistd.h>
}
namespace vt {
struct termios t_base;
bool n_init = false;
void init() {
if (n_init) return;
tcgetattr(STDIN_FILENO, &t_base);
termios ra... |
CyberGsus/tui-first-steps | src/lib/fontconfig.cpp | <reponame>CyberGsus/tui-first-steps
#include "fontconfig.h"
#include <fontconfig/fontconfig.h>
#include <stdlib.h> // free()
#include <sstream>
#include "searching.h"
namespace fontconfig {
FontConfig::FontConfig() { updateFontIndex(); }
void FontConfig::updateFontIndex() {
m_fonts.clear();
// fetch con... |
CyberGsus/tui-first-steps | src/app/main.cpp | <filename>src/app/main.cpp
#include <fontconfig.h>
#include <vt/handler.h>
#include <vt/input.h>
#include <vt/terminal.h>
#include <cctype>
#include <cstdio>
#include <sstream>
#include <string>
#include <vector>
int main() {
vt::Handler h;
fontconfig::FontConfig fonts;
std::vector<std::string> filtered... |
MatMark/OD | lab5/RSA_KEY.cpp | <filename>lab5/RSA_KEY.cpp
#include <conio.h>
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <time.h>
/* Procedury i funkcje realizujaca generowanie kluczy kryptograficznych */
/* dla zmiennych typu long */
long p, q, n, Klucz_d, Klucz_e;
long ns = 9; // za... |
MatMark/OD | lab5/RSA_KEY_FILE.cpp | <reponame>MatMark/OD
#include <conio.h>
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <time.h>
#include <iostream>
#include <sstream>
#include <fstream>
#include <cstdlib>
#include <chrono>
/* Procedury i funkcje realizujaca generowanie kluczy kryptograficznych */
/* dla zmiennych t... |
MatMark/OD | lab3/BCH_ST.cpp | <gh_stars>0
// BCH_ST.cpp : Ten plik zawiera funkcję „main”. W nim rozpoczyna się i kończy wykonywanie programu.
//
// Uruchomienie programu: Ctrl + F5 lub menu Debugowanie > Uruchom bez debugowania
// Debugowanie programu: F5 lub menu Debugowanie > Rozpocznij debugowanie
// Porady dotyczące rozpoczynania pracy:
//... |
Delicode/astra | src/astra_core/astra_signal.hpp | // This file is part of the Orbbec Astra SDK [https://orbbec3d.com]
// Copyright (c) 2015 <NAME>
//
// 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/LICEN... |
Delicode/astra | src/plugins/orbbec_hand/hnd_trajectory_analyzer.cpp | // This file is part of the Orbbec Astra SDK [https://orbbec3d.com]
// Copyright (c) 2015 Orbbec 3D
//
// 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/LI... |
Delicode/astra | src/plugins/device_sdk/include/astra_device.hpp | // This file is part of the Orbbec Astra SDK [https://orbbec3d.com]
// Copyright (c) 2015 Or<NAME>
//
// 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/LIC... |
Delicode/astra | src/astra_core/astra.cpp | /* THIS FILE AUTO-GENERATED FROM astra.cpp.lpp. DO NOT EDIT. */
// This file is part of the Orbbec Astra SDK [https://orbbec3d.com]
// Copyright (c) 2015 Orbbec 3D
//
// 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 ... |
Delicode/astra | src/plugins/openni_sensor/oni_device_streamset.cpp | <filename>src/plugins/openni_sensor/oni_device_streamset.cpp
// This file is part of the Orbbec Astra SDK [https://orbbec3d.com]
// Copyright (c) 2015 Orbbec 3D
//
// 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 c... |
Delicode/astra | src/astra_core/astra_create_plugin_proxy.hpp | <filename>src/astra_core/astra_create_plugin_proxy.hpp
/* THIS FILE AUTO-GENERATED FROM astra_create_plugin_proxy.hpp.lpp. DO NOT EDIT. */
// This file is part of the Orbbec Astra SDK [https://orbbec3d.com]
// Copyright (c) 2015 Orbbec 3D
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may ... |
Delicode/astra | src/astra_core/astra_plugin_manager.hpp | // This file is part of the Orbbec Astra SDK [https://orbbec3d.com]
// Copyright (c) 2015 Or<NAME>
//
// 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/LIC... |
Delicode/astra | src/common/serialization/ProtoFrameOutputStream.cpp | // This file is part of the Orbbec Astra SDK [https://orbbec3d.com]
// Copyright (c) 2015 Orbbec 3D
//
// 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/LI... |
Delicode/astra | src/plugins/openni_sensor/oni_depthstream.cpp | // This file is part of the Orbbec Astra SDK [https://orbbec3d.com]
// Copyright (c) 2015 Orbbec 3D
//
// 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/LI... |
Delicode/astra | src/plugins/device_sdk/src/astra_sensor_stream.cpp | // This file is part of the Orbbec Astra SDK [https://orbbec3d.com]
// Copyright (c) 2015 <NAME>
//
// 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/LICEN... |
Delicode/astra | src/astra_core/win32/astra_environment_win32.cpp | // This file is part of the Orbbec Astra SDK [https://orbbec3d.com]
// Copyright (c) 2015 Or<NAME>
//
// 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/LIC... |
Delicode/astra | src/plugins/orbbec_hand/hnd_depth_utility.cpp | // This file is part of the Orbbec Astra SDK [https://orbbec3d.com]
// Copyright (c) 2015 Or<NAME>
//
// 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/LIC... |
Delicode/astra | src/plugins/openni_sensor/oni_devicestream.hpp | // This file is part of the Orbbec Astra SDK [https://orbbec3d.com]
// Copyright (c) 2015 <NAME>
//
// 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/LICEN... |
Delicode/astra | src/astra_core/astra_plugin_service.cpp | // This file is part of the Orbbec Astra SDK [https://orbbec3d.com]
// Copyright (c) 2015 <NAME>
//
// 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/LICE... |
Delicode/astra | src/plugins/openni_sensor/oni_stream.hpp | <filename>src/plugins/openni_sensor/oni_stream.hpp
// This file is part of the Orbbec Astra SDK [https://orbbec3d.com]
// Copyright (c) 2015 Orbbec 3D
//
// 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... |
Delicode/astra | src/plugins/orbbec_hand/hnd_point_processor.cpp | // This file is part of the Orbbec Astra SDK [https://orbbec3d.com]
// Copyright (c) 2015 Or<NAME>
//
// 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/LIC... |
Delicode/astra | src/astra_core/astra_stream_connection.cpp | // This file is part of the Orbbec Astra SDK [https://orbbec3d.com]
// Copyright (c) 2015 Or<NAME>
//
// 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/LIC... |
Delicode/astra | src/plugins/orbbec_hand/hnd_constants.hpp | <reponame>Delicode/astra
// This file is part of the Orbbec Astra SDK [https://orbbec3d.com]
// Copyright (c) 2015 <NAME>
//
// 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.... |
Delicode/astra | src/astra_core/astra_plugin_service_impl.cpp | // This file is part of the Orbbec Astra SDK [https://orbbec3d.com]
// Copyright (c) 2015 Or<NAME>
//
// 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/LIC... |
Delicode/astra | src/common/serialization/ProtoFrameInputStream.cpp | <filename>src/common/serialization/ProtoFrameInputStream.cpp
// This file is part of the Orbbec Astra SDK [https://orbbec3d.com]
// Copyright (c) 2015 Orbbec 3D
//
// 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 c... |
Delicode/astra | src/plugins/mock_sensor/mock_flag_set.cpp | <filename>src/plugins/mock_sensor/mock_flag_set.cpp
// This file is part of the Orbbec Astra SDK [https://orbbec3d.com]
// Copyright (c) 2015 Orbbec 3D
//
// 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 th... |
Delicode/astra | src/plugins/device_sdk/include/astra_stream_mode.hpp | // This file is part of the Orbbec Astra SDK [https://orbbec3d.com]
// Copyright (c) 2015 <NAME>
//
// 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/LICEN... |
Delicode/astra | src/astra_core/astra_filesystem.cpp | <gh_stars>100-1000
// This file is part of the Orbbec Astra SDK [https://orbbec3d.com]
// Copyright (c) 2015 Orbbec 3D
//
// 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.apa... |
Delicode/astra | include/astra/streams/Image.hpp | <gh_stars>100-1000
// This file is part of the Orbbec Astra SDK [https://orbbec3d.com]
// Copyright (c) 2015 Or<NAME>
//
// 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.apac... |
Delicode/astra | src/plugins/orbbec_hand/hnd_trajectory_analyzer.hpp | <reponame>Delicode/astra<gh_stars>100-1000
// This file is part of the Orbbec Astra SDK [https://orbbec3d.com]
// Copyright (c) 2015 Orbbec 3D
//
// 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... |
Delicode/astra | src/astra/astra_depth.cpp | <reponame>Delicode/astra
// This file is part of the Orbbec Astra SDK [https://orbbec3d.com]
// Copyright (c) 2015 Orbbec 3D
//
// 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://w... |
Delicode/astra | src/plugins/orbbec_xs/xs_point_processor.hpp | <filename>src/plugins/orbbec_xs/xs_point_processor.hpp
// This file is part of the Orbbec Astra SDK [https://orbbec3d.com]
// Copyright (c) 2015 Or<NAME>
//
// 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 ... |
Delicode/astra | include/astra_core/StreamSet.hpp | // This file is part of the Orbbec Astra SDK [https://orbbec3d.com]
// Copyright (c) 2015 Or<NAME>
//
// 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/LIC... |
Delicode/astra | src/astra_core/astra_logging.cpp | <filename>src/astra_core/astra_logging.cpp
// This file is part of the Orbbec Astra SDK [https://orbbec3d.com]
// Copyright (c) 2015 <NAME>
//
// 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... |
Delicode/astra | src/astra_core/astra_plugin_service_delegate.hpp | /* THIS FILE AUTO-GENERATED FROM astra_plugin_service_delegate.hpp.lpp. DO NOT EDIT. */
// This file is part of the Orbbec Astra SDK [https://orbbec3d.com]
// Copyright (c) 2015 Orbbec 3D
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the Lic... |
Delicode/astra | samples/sfml/SimpleSkeletonViewer-SFML/main.cpp | // This file is part of the Orbbec Astra SDK [https://orbbec3d.com]
// Copyright (c) 2015 Or<NAME>
//
// 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/LIC... |
Delicode/astra | src/plugins/orbbec_skeleton/orbbec_skeleton_tracker.hpp | // This file is part of the Orbbec Astra SDK [https://orbbec3d.com]
// Copyright (c) 2015 Orbbec 3D
//
// 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/LI... |
Delicode/astra | src/plugins/orbbec_hand/hnd_debug_handstream.cpp | <gh_stars>100-1000
// This file is part of the Orbbec Astra SDK [https://orbbec3d.com]
// Copyright (c) 2015 <NAME>
//
// 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... |
Delicode/astra | src/plugins/orbbec_hand/hnd_hand_tracker.hpp | <reponame>Delicode/astra<filename>src/plugins/orbbec_hand/hnd_hand_tracker.hpp
// This file is part of the Orbbec Astra SDK [https://orbbec3d.com]
// Copyright (c) 2015 Or<NAME>
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// Y... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.