blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 2 247 | content_id stringlengths 40 40 | detected_licenses listlengths 0 57 | license_type stringclasses 2
values | repo_name stringlengths 4 111 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringlengths 4 58 | visit_date timestamp[ns]date 2015-07-25 18:16:41 2023-09-06 10:45:08 | revision_date timestamp[ns]date 1970-01-14 14:03:36 2023-09-06 06:22:19 | committer_date timestamp[ns]date 1970-01-14 14:03:36 2023-09-06 06:22:19 | github_id int64 3.89k 689M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 25
values | gha_event_created_at timestamp[ns]date 2012-06-07 00:51:45 2023-09-14 21:58:52 ⌀ | gha_created_at timestamp[ns]date 2008-03-27 23:40:48 2023-08-24 19:49:39 ⌀ | gha_language stringclasses 159
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 7 10.5M | extension stringclasses 111
values | filename stringlengths 1 195 | text stringlengths 7 10.5M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a5edd95a80cfb253025ffc2cef4ae196baa44bb8 | d27c930671d65f65132eeb19d02caf26b22a6f21 | /Graph/graph.cpp | d78dd392fe559ddc740a9325e827970e7d336502 | [] | no_license | dengxinlong/DataStructure_zuochengyun | adedd32da8fadcbdd057a001b34fcd77231b4c24 | c44fa4b851f69314b12f36d3dedf476252213993 | refs/heads/master | 2023-01-06T02:06:27.683796 | 2020-11-04T06:48:51 | 2020-11-04T06:48:51 | 263,318,156 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,554 | cpp | graph.cpp | /*
* 构造图
*/
#include <iostream>
#include <vector>
#include <string>
#include <unordered_map>
#include <unordered_set>
#include <queue>
using namespace std;
class Graph
{
public:
class Edge;
class Node
{
public:
Node(int value)
: _value(value), _in(0), _out(0)
{}
int... |
68c7784bd1331e61db15244b1b92b7ab1e326786 | 9e89ab53cd21f92c2d01585f65ae349a7cbf2ba7 | /numberOfDivisor.cpp | 8d2fd79e59be400575b337d6c18263ee8e41584c | [] | no_license | alamkhaan/ProgrammingResources | cbede0c2f2933d76dcd9b442b489cff0b378db96 | 3f7ce820ad491048e512ceca71a6796af9bdccfa | refs/heads/master | 2023-03-16T05:02:36.676279 | 2023-03-09T16:42:59 | 2023-03-09T16:42:59 | 231,253,905 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,833 | cpp | numberOfDivisor.cpp | /*
Author: Alam Khan
AUST CSE 40th Batch
*/
#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<ll,ll> pll;
typedef vector<ll> vl;
typedef deque<ll> dl;
typedef stack<ll> stl;
typedef set<ll> sl;
typedef map<string, ll> msl;
typedef map<ll,ll> mll;
#define sf(n) ... |
ea223fb749014e0e251474d39085c66921c0a10f | c7d5552497ca71cb7fa88f2d25aad4006f72aba7 | /Engine/include/Porkholt/Core/PHGLExtCompat.h | 0c21588a3c9f93c0ee2703948b2ebf3e57f9a18c | [] | no_license | dapetcu21/Porkholt | bef4b6f02f56b4d9a33318ec6c498527c849c5fa | 9bff9925742469d18b3dac4ff3e1f7d4af5dfda8 | refs/heads/master | 2016-08-11T13:13:57.319386 | 2015-11-23T22:06:37 | 2015-11-23T22:07:54 | 46,735,692 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,111 | h | PHGLExtCompat.h | /* Copyright (c) Marius Petcu, Porkholt Labs!. All rights reserved. */
PHColor ccolor;
float cdepth;
int cstencil;
set<string> extensions;
bool parsedExtensions;
static bool phglinited;
int openGLVersionMajor,openGLVersionMinor,glslVersion;
string glslHeader;
bool openGLCaps[PHGLNumberCapabilities];
int stencilF, ste... |
f91056db524d22db9d28fb494ae49a526878cfc4 | 19b5c3bff2fa1bb1e832b2a81b5f2756a5ac7ff8 | /AppElements/mytabwidget.h | d455e788085ca9a7e7df288ac60fb2293cfc5764 | [] | no_license | Nikitosis/Graph-Helper | e5164f9b1c820b591418fcc39b7d13edf3bc32a3 | 9cbb640a8f6541028591fdf010866d345b33741f | refs/heads/master | 2021-09-14T05:32:47.821503 | 2018-03-09T09:25:30 | 2018-03-09T09:25:30 | 110,248,570 | 3 | 0 | null | 2018-03-09T09:25:31 | 2017-11-10T13:13:49 | C++ | UTF-8 | C++ | false | false | 225 | h | mytabwidget.h | #ifndef MYTABWIDGET_H
#define MYTABWIDGET_H
#include <QTabWidget>
#include <QTabBar>
class MyTabWidget:public QTabWidget
{
public:
MyTabWidget(QWidget *parent);
QTabBar *tabBar() const;
};
#endif // MYTABWIDGET_H
|
62d27fe9f2d3f2fd8276e4df078afbd43db73ef0 | ca7b94c3fc51f8db66ab41b32ee0b7a9ebd9c1ab | /wallet/gui/token_list_form.h | 57e32a73287f92e9710113fd031f26685b4d8ff3 | [] | no_license | blockspacer/TronWallet | 9235b933b67de92cd06ca917382de8c69f53ce5a | ffc60e550d1aff5f0f6f1153e0fcde212d37bdc6 | refs/heads/master | 2021-09-15T15:17:47.632925 | 2018-06-05T14:28:16 | 2018-06-05T14:28:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,028 | h | token_list_form.h | #pragma once
#include "base_form.h"
#include "UILite/Controls/ListView/UIListView.h"
namespace protocol { class AssetIssueList; }
namespace wallet_gui
{
struct IssueItemData
{
std::wstring name;
std::wstring issuer;
uint64_t total_supply = 0;
uint64_t sta... |
fc2d7a21694ff5d862fecd734c80bd9e0a8439b2 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_1483485_0/C++/japdlsd/a1.cc | 25b13412d4dab1de997ff72f76445ffb05f78f40 | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 1,828 | cc | a1.cc | /* Look at my code
* My code is amazing
* Give it a lick
* Mmm! It tastes just like raisins!
*/
//another_fine_solution by Askar
#include <cstdio>
#include <iostream>
#include <ctime>
#include <cmath>
#include <cstdlib>
#include <algorithm>
#include <string>
#include <vector>
#include <queue>
#inc... |
4c2018ee4501e638b4e0aafa0ce0983159c01d9f | 603a1e413cab3e40fc9a7cc5e2b789eb846a5b2b | /source/LiveActor/Sensor/HitSensor.cpp | 065c74f3f0178382a55f9a093b2a62d6ba46d69b | [] | no_license | BooshSource/Petari | 999fdfda45411052942f3daafe7f3a78ff084899 | cb63f1782b56f3c023edd89ddee5bfeb659f20dd | refs/heads/master | 2023-02-09T10:43:37.879079 | 2021-01-08T00:05:27 | 2021-01-08T00:05:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,454 | cpp | HitSensor.cpp | #include "LiveActor/Sensor/HitSensor.h"
#include "LiveActor/Sensor/SensorGroup.h"
#include "LiveActor/LiveActor.h"
#include "MR/SensorUtil.h"
HitSensor::HitSensor(u32 type, u16 a2, f32 a3, LiveActor *pActor)
{
// todo -- missing clrlwi on second arg
mSensorType = type;
_4.x = 0.0f;
_4.y = 0.0f;
_4.... |
355456d1a2549c4c43bd20b7193324fd7db946a3 | 44351a727dad4614a782c68a2a34939fee711625 | /Hungry_Dragon/Client/Code/Color_Mask.cpp | 7bc839350a24c689ee8d3ba456d72d80ba2a494f | [] | no_license | maverick107A/Hungry_Dragon_v3 | 9ebbb3676b3096b8236f8d6d9fd79580e55e7803 | 42c3fbbdfeef3efb835cef14ccf755cb071fe13e | refs/heads/master | 2022-12-12T14:09:59.543934 | 2020-08-31T19:43:18 | 2020-08-31T19:43:18 | 282,894,128 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,181 | cpp | Color_Mask.cpp | #include "stdafx.h"
#include "Color_Mask.h"
#include "Export_Function.h"
#include "Terrain.h"
#include "LandTex.h"
#include "Texture.h"
USING(Engine)
CColor_Mask::CColor_Mask(LPDIRECT3DDEVICE9 pGraphicDev)
: Engine::CGameObject(pGraphicDev)
{
}
CColor_Mask::~CColor_Mask(void)
{
}
HRESULT CColor_Mask::Ready_Obj... |
056fcaee5a39e493959c1bfb56e3308aede5c42e | 59f62056fb214e02378ffc154bc5a68a21614c16 | /my_message_filter2.cpp | 9e5aa5a7e71b81b9f9286d43317693acf3e0af25 | [] | no_license | Hariscorner/Agitr | eec994897bc3f34ee614b72ad3b3d3bc9c90eb19 | 28dfd149d4df8e8facd0420347579092e26663df | refs/heads/master | 2021-07-18T18:15:37.640409 | 2017-10-24T08:58:46 | 2017-10-24T08:58:46 | 108,102,081 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 780 | cpp | my_message_filter2.cpp | #include <message_filters/subscriber.h>
#include <message_filters/time_synchronizer.h>
#include<geometry_msgs/Twist.h>
#include <turtlesim/Pose.h>
#include <iomanip> //for std::setprecision and std::fixed
using namespace message_filters;
void callback(const ImageConstPtr& image, const CameraInfoConstPtr& cam_info)
{
... |
d3c457ac86ffb424294912604b118081c6f1bf68 | 9d8accf04b33072e6001d92db0422d7c7f0f4529 | /promosql/viewer.cpp | 87695821ccb6d42035bea4552f7ece6328f1c617 | [] | no_license | joshverdi/promo | e5df64ad485b3cf386193d31ae481bbd184626e2 | 359b761cf5098e5e88cc06a8093f9fe95bb81771 | refs/heads/master | 2021-01-19T10:31:25.175878 | 2017-04-11T01:08:00 | 2017-04-11T01:08:00 | 87,872,157 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 74,718 | cpp | viewer.cpp | #include "viewer.h"
#include "putils.h"
#include "ptext3d.h"
#include "pboundingbox.h"
#include "main.h"
#include "QGLViewer/manipulatedCameraFrame.h"
#include <QStringListIterator>
#include <fstream>
#include <boost/algorithm/string.hpp>
using namespace qglviewer;
using namespace std;
Viewer::Viewer()
{
}
Viewer::V... |
6ba079c142fff99edce5a490ddbcc0d2b7581652 | b336f71641cf393a73f7dff08fdba677e8ec122f | /Polish_Notation_Translater(WinAPI)/Precompiled.h | 3b8aacf27dfeb3b21291cb83b02e018738b89c99 | [] | no_license | Challanger524/Polish_Notation_Translater-WinAPI- | eb57239e9737dfbfc6d183dfda3d99a0061d05ec | 5b206c0a1b739e2d3e69954dccc15f8545c7ba44 | refs/heads/master | 2022-05-03T06:42:43.708824 | 2022-03-14T12:33:52 | 2022-03-14T12:33:52 | 223,961,631 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,313 | h | Precompiled.h | #pragma once
#include <Windows.h>
#include <CommCtrl.h>
#include <iostream>
#include <string_view>
#include <vector>
#include <array>
#include <stack>
#include <regex>
#include <thread>
#include <future>
#include <memory>
#include <cassert>
//for visual styles enabling
/*
#pragma comment(linker, \
"\"/manifestdepe... |
eb2098e5011f352d55c4aece2d47871f84cb5866 | a95fff02ba95fcda1e6956a83c18bb736c2973f3 | /src/regkey_enumkeys.cpp | dd8e3ce10ac49a3acaaa756550a10e7ecaa14681 | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | jilvan1234/winapi-wrapper | b905aaf34a9a4a4dfa3f311ed77e74456452778f | 3d0e23bd1a7ee38996bf7b6947817ad35afae9f5 | refs/heads/master | 2021-06-07T19:22:23.650593 | 2016-11-24T23:27:48 | 2016-11-24T23:27:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 673 | cpp | regkey_enumkeys.cpp |
#include "winapi.h"
using namespace WinAPI;
int RegKey::EnumKeys( ENUMKEYS* p_keys ) const
{
p_keys->clear();
DWORD num_sub_keys = 0;
int retval = QueryInfo( &num_sub_keys );
if ( retval != ERROR_SUCCESS ) return retval;
p_keys->reserve( num_sub_keys );
for ( int i=num_sub_keys-1; i >= 0; i-- ) {
... |
caf15dcd8da03a8a516218c5d16abd44fe20e624 | 846fe30d88cfc05765be550131645cae6a5e2631 | /Chapter11-ScopeGuard/13a_scopeguard_te_benchmark.cpp | 199efe3d6d0c0a7f261cf899301a2303e5c5aa2a | [
"MIT"
] | permissive | shekerkamma/Hands-On-Design-Patterns-with-CPP | ac7ff377ee6898aa3ac9e0711e40bbdf3c9b3332 | 5f6aa05ac44491a92fef6e38179d1bd3c8e39347 | refs/heads/master | 2020-07-16T23:01:43.316132 | 2019-08-09T17:04:19 | 2019-08-09T17:04:19 | 205,886,406 | 4 | 1 | MIT | 2019-09-02T15:31:18 | 2019-09-02T15:31:17 | null | UTF-8 | C++ | false | false | 4,459 | cpp | 13a_scopeguard_te_benchmark.cpp | #include <functional>
#include "benchmark/benchmark.h"
#define REPEAT2(x) x x
#define REPEAT4(x) \
REPEAT2(x) \
REPEAT2(x)
#define REPEAT8(x) \
REPEAT4(x) \
REPEAT4(x)
#define REPEAT16(x) \
REPEAT8(x) \
REPEAT8(x)
#define REPEAT32(x) \
REPEAT16(x) \
REPEAT16(x)
#define... |
cc862887ac4009211a2747e9587253b519b230b8 | 95de04e3c0c105b32232996ffe1ec3f731b5b21f | /core/bk.hpp | 35fb91ba6186d2677a29f95d9cdea4e5d08e53b7 | [] | no_license | kk-mats/asterism | e817a298919d0dee243d45b678dc9231a4c9bb47 | f806c76c149872382645e6c03675555b2bb921f1 | refs/heads/master | 2020-04-26T03:56:56.277392 | 2019-09-30T05:34:05 | 2019-09-30T05:34:05 | 173,284,519 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 549 | hpp | bk.hpp | #ifndef BK_HPP
#define BK_HPP
#include "matching_table.hpp"
namespace asterism
{
class bk_fuser final
{
public:
static shared_set<clone_pair> run(const shared_list<detection_result> &results, const matching_table &m) noexcept;
private:
static bool bron_kerbosch(shared_set<clone_pair> &r, QSet<query> &p, const QSe... |
72f06012d55342a21e7f3014a976ecc3b8b115f8 | 291f182ff74c4bbaca5052f1076e52a6900296e4 | /testprograms/Triangulation.cpp | 64a003a7401b49cb8976891f6b508b01a12faf8b | [] | no_license | jaigupta/algorithmic-arena | de8b3f1f3895de21993f42feec278a6a71ceb01f | 440d6bc8d60ac323b21f1efe0cb9f9c90827628f | refs/heads/master | 2021-01-01T15:25:15.379634 | 2014-08-21T11:28:49 | 2014-08-21T11:28:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,541 | cpp | Triangulation.cpp | #include <vector>
#include <list>
#include <map>
#include <set>
#include <deque>
#include <stack>
#include <bitset>
#include <algorithm>
#include <functional>
#include <numeric>
#include <utility>
#include <sstream>
#include <iostream>
#include <iomanip>
#include <cstdio>
#include <cmath>
#include <stdlib.h>
#include <... |
c224170ca7a9a17e6987e02fa939a5ece8bd3d6f | 0db5517b2159d771e1afbe54a89f611452005649 | /IronWrought/Source/Engine/CharacterController.h | 0f8f804a911cd42f06eb1453fce5cacb22d901fb | [] | no_license | HaqvinBager/G3SP7 | f117be0c343469ba2eb67205a29d3b64e088ed60 | 2e04646ffbc6b9d2e78d435ff88ca56fddda10f4 | refs/heads/master | 2023-05-04T17:05:35.963943 | 2021-05-19T13:51:52 | 2021-05-19T13:51:52 | 327,616,500 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,427 | h | CharacterController.h | #pragma once
#include "pxPhysicsApi.h"
#include <utility>
namespace physx
{
class PxController;
class PxUserControllerHitReport;
}
class CPlayerReportCallback;
class CTransformComponent;
class CCharacterController
{
public:
CCharacterController(const Vector3 aPosition, const float aRadius = 0.6f, const ... |
ab7722bf679e95062e48a219f1cee4f8b437d3bd | 35d18181399ef953a7b0b37b7739e5cc44f43327 | /src/rfkill.cpp | 866bc4db55bd44a3ef61dbc7f07778324b383a8f | [] | no_license | cutefishos-ubuntu/bluez-qt | 2957c51e4ed29b01113752f4d39c51ebd50ca405 | 07bc2d4e5f42b350b98f76028a2be964d44d35d1 | refs/heads/master | 2023-07-14T12:35:53.203932 | 2021-08-30T01:13:53 | 2021-08-30T01:13:53 | 401,178,961 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,781 | cpp | rfkill.cpp | /*
* BluezQt - Asynchronous Bluez wrapper library
*
* SPDX-FileCopyrightText: 2015 David Rosca <nowrep@gmail.com>
*
* SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
*/
#include "rfkill.h"
#include "rfkill_p.h"
#include "debug.h"
#ifdef Q_OS_LINUX
#include <fcntl.h>
#inc... |
fe48f6bf74c60e02663220225e77fb7378b7d605 | 5883a23874be7c3714b94e173333f22c31342231 | /include/FastBVH/Intersection.h | fb3524e590568c53063f2eb3af818530343da82b | [
"MIT"
] | permissive | meshula/Fast-BVH | c7b60a77542c99fbcf115c4610957add6aa9c4f6 | 0ee16eba9d30fe4c95c0b0c566040807cc9f6d66 | refs/heads/master | 2020-04-07T22:34:02.796644 | 2020-03-30T03:54:08 | 2020-03-30T03:54:08 | 20,222,827 | 0 | 0 | MIT | 2020-03-30T03:54:09 | 2014-05-27T14:26:27 | C++ | UTF-8 | C++ | false | false | 1,754 | h | Intersection.h | #pragma once
#include <FastBVH/Vector3.h>
#include <limits>
namespace FastBVH {
//! \brief Stores information regarding a ray intersection with a primitive.
//! \tparam Float The floating point type used for vector components.
//! \tparam Primitive The type of primitive used to construct the BVH.
template <typename... |
9368013735ce14e9418b1ab1842f1730ddb715e2 | c990ba64b77b7b4034772fb15a5520a28f1ea5e7 | /copasi/analytics/CStatistics.h | ed74da1f2ce15d6be56650295e1fcc3358fa2043 | [
"LicenseRef-scancode-other-copyleft",
"Artistic-2.0",
"LicenseRef-scancode-proprietary-license"
] | permissive | copasi/COPASI | a3fb515b4d9c667519ad756c52d8b82747a26e64 | 3ddf61e95191f2db09256dddc013f12041719a2c | refs/heads/develop | 2023-09-01T19:32:39.004552 | 2023-06-02T15:01:23 | 2023-06-02T15:01:23 | 4,810,881 | 75 | 34 | Artistic-2.0 | 2022-09-14T13:13:20 | 2012-06-27T16:35:48 | Component Pascal | UTF-8 | C++ | false | false | 1,586 | h | CStatistics.h | // Copyright (C) 2017 by Pedro Mendes, Virginia Tech Intellectual
// Properties, Inc., University of Heidelberg, and University of
// of Connecticut School of Medicine.
// All rights reserved.
// Copyright (C) 2016 by Pedro Mendes, Virginia Tech Intellectual
// Properties, Inc., University of Heidelberg, and The Unive... |
c50162d1416648185fc65ce8a1172dfbc856e8fc | e91b16ab1799a614282fb0260ca696ddb6143b16 | /Baekjoon/q16986.cpp | d75513a31fc7d29bb15d82bb0b497df85003efa8 | [] | no_license | bluesquanium/Algorithm | cde3b561aa05413fcd61fe5ce013fe3e8c122a9c | 9d87cbc4efc5a3382376fc74b82915832659e97b | refs/heads/master | 2022-06-24T10:55:58.011128 | 2022-05-29T09:50:58 | 2022-05-29T09:50:58 | 174,677,803 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,862 | cpp | q16986.cpp | #include <iostream>
using namespace std;
int N, K;
int ** t;
int P[3][20];
int c[3];
int win[3];
int ans;
int is_used[9];
void Input() {
cin >> N >> K;
t = new int*[N];
for (int i = 0; i < N; i++) {
t[i] = new int[N];
}
for (int i = 0; i < N; i++) {
for (int j = 0; j < N; j++) {
cin... |
21ab6d5c23d57dd7c3dc6814a1ef4afae5bb6969 | c68f791005359cfec81af712aae0276c70b512b0 | /World CodeSprint #4/stacks.cpp | 67c2db1295720786125b5cfc4e6bf1078cc8e6d6 | [] | no_license | luqmanarifin/cp | 83b3435ba2fdd7e4a9db33ab47c409adb088eb90 | 08c2d6b6dd8c4eb80278ec34dc64fd4db5878f9f | refs/heads/master | 2022-10-16T14:30:09.683632 | 2022-10-08T20:35:42 | 2022-10-08T20:35:42 | 51,346,488 | 106 | 46 | null | 2017-04-16T11:06:18 | 2016-02-09T04:26:58 | C++ | UTF-8 | C++ | false | false | 580 | cpp | stacks.cpp | #include <bits/stdc++.h>
using namespace std;
const int N = 1e5 + 5;
int n[3];
int a[3][N];
set<int> s[3];
int main() {
for(int i = 0; i < 3; i++) scanf("%d", n + i);
for(int i = 0; i < 3; i++) {
for(int j = 0; j < n[i]; j++) {
scanf("%d", &a[i][j]);
}
}
for(int i = 0; i < 3; i++) {
int su... |
992b5ff3928130f119d8b13562c0e11ea6a56551 | 5fdecef5cfdf071b2188668064fc9dd31877e6c4 | /feature/core/include/core/Types.h | afc2350acde25d33be7645f5ca22b268698d97e4 | [] | no_license | mck1117/efi-playground | 0d6f5887555b6f2036565687d66d5f9dc7e104d6 | 09bfa09b10c881019e16ae34b821a8f0bc6012b5 | refs/heads/master | 2020-04-16T00:33:54.817434 | 2019-01-11T01:52:42 | 2019-01-11T01:52:42 | 165,143,315 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 497 | h | Types.h | #pragma once
#include <core/math/Quantity.h>
QUANTITY_TYPE(1, 0, -1, 0, massrate_t);
template <typename TBin, typename TValue, unsigned char TSize>
struct Table2Data
{
const char* Name;
TBin Bins[TSize];
TValue Values[TSize];
};
template <typename TBin, typename TValue, unsigned char TSizeX, unsigned ch... |
f1a084738f3b43ea94f8d8d13d989da664142e36 | 346a0f7c2f439686bfb8be58918bba33c412fd01 | /template1.cpp | 541fb7cd9a329342fbb4ae67ae2a79d8a839e47b | [] | no_license | Anandoganiya/c-cpp | d01b712a59cc4fa299a8e958a7481c39348a0996 | a3f04255827758c2aff885a3cb4d974a4a636ac4 | refs/heads/master | 2023-01-14T08:16:28.282766 | 2020-11-23T08:52:53 | 2020-11-23T08:52:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 936 | cpp | template1.cpp | #include<iostream>
using namespace std;
const int size = 3;
template<class T>
class vector
{
T *v;
public:
vector()
{
v = new T[size];
for(int i=0;i<size;i++)
v[i]=0;
}
vector(T *a)
{
v = new T[size];
for(int i=0;i<size;i++){
v[i] = a... |
7fccb39990d40ad1ce9f821a947e831305b65892 | d7b7dcec797f3294b1de671d1f84e354c93a1308 | /physx/source/physx/src/NpParticleSystem.cpp | ee1ba047b1010c2213b115fbe8beee530c0599fe | [
"BSD-3-Clause"
] | permissive | NVIDIA-Omniverse/PhysX | c93ed4287a57d51fda56798b5fae8aaa65cdfa13 | e8c8deb2d548dc635db4f61083ea0e745c0102a0 | refs/heads/main | 2023-08-16T14:46:51.919670 | 2023-07-25T17:22:31 | 2023-07-25T17:22:31 | 545,381,143 | 1,814 | 216 | BSD-3-Clause | 2023-08-28T19:47:10 | 2022-10-04T09:07:32 | C++ | UTF-8 | C++ | false | false | 39,920 | cpp | NpParticleSystem.cpp | // 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... |
4b3af0f5f0dd3f5a5e714a51a7fc6512eae66b92 | 3a6c3fdcb217bd11084635e06887d7cd870f00de | /physics/trimesh.h | c2f11db6f0c961641c21c34f61a51c0784b2a2f2 | [] | no_license | ZackMisso/GameEngine | f566a03e743b22bfbe8aac1a58f750f01d189a8a | 917f34d51bcb38f066a2cdddfe70988df81ef625 | refs/heads/master | 2021-01-10T14:42:47.650567 | 2016-03-21T15:25:25 | 2016-03-21T15:25:25 | 48,777,545 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 444 | h | trimesh.h | #ifndef __TRIMESH_H__
#define __TRIMESH_H__
#include "../datastructures/array.h"
#include "../physics/vertex.h"
#include "../physics/face.h"
#include "../scene/attribnode.h"
class TriMesh {
private:
Array<Vertex*> *vertices;
Array<Face*> *faces;
public:
TriMesh();
~TriMesh();
void calcNormals();
void addVertex(... |
c546ec6c0e25950abf4b89f8cb253441045b7a9c | eee439ed5d1ffbf169e98d2e0c057faa71509372 | /src/service/ai/deep_brain_chain/ai_training/task_scheduling/task_scheduling.cpp | 0b8bbf30e571a3231720c59572d3459d1d1a067e | [] | no_license | changshoumeng/DBC-AIComputingNet | 33180e3decd569fd576724cef9d512208a179cbc | 5e0abdd4f71573903de51ff66e220a8447956d9b | refs/heads/master | 2023-03-28T05:39:28.992993 | 2021-04-02T05:34:33 | 2021-04-02T05:34:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 43,157 | cpp | task_scheduling.cpp | /*********************************************************************************
* Copyright (c) 2017-2018 DeepBrainChain core team
* Distributed under the MIT software license, see the accompanying
* file COPYING or http://www.opensource.org/licenses/mit-license.php
* file name : oss_task_manager.cpp
* d... |
e15d258953f98f5d5ebaa381ded93b96c98c387f | 3b219a1ef40c30fe4d9686ffb04acc80386fbbdf | /LinkedList/DoublyLinkedList/C++/DLL.cpp | 9d48a28535f2d62f4c4832c24e05910ecc11726f | [] | no_license | AJKZ/DataStructures | 1e44e9be9cdd77f29ef8a75f9c9b5ee09d10b6f4 | 2452274958feda59d5019ec2769af95d5bfa13f8 | refs/heads/master | 2020-08-07T17:15:09.806278 | 2019-02-08T12:34:28 | 2019-02-08T12:34:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,242 | cpp | DLL.cpp | #include <iostream>
class Node {
public:
int value;
Node *prev;
Node *next;
Node() = default;
Node(int value, Node *prev, Node *next){
this->value = value;
this->prev = prev;
this->next = next;
}
};
class DLL {
public:
... |
df6bbf0e38c37a3a3351784f2e70e6dc44645f76 | a5f3b0001cdb692aeffc444a16f79a0c4422b9d0 | /main/basegfx/test/testtools.hxx | f4b9e15112911316c53866643a4c6b94ce1838a2 | [
"Apache-2.0",
"CPL-1.0",
"bzip2-1.0.6",
"LicenseRef-scancode-other-permissive",
"Zlib",
"LZMA-exception",
"LGPL-2.0-or-later",
"LicenseRef-scancode-free-unknown",
"LicenseRef-scancode-philippe-de-muyter",
"OFL-1.1",
"LGPL-2.1-only",
"MPL-1.1",
"X11",
"LGPL-2.1-or-later",
"GPL-2.0-only",
... | permissive | apache/openoffice | b9518e36d784898c6c2ea3ebd44458a5e47825bb | 681286523c50f34f13f05f7b87ce0c70e28295de | refs/heads/trunk | 2023-08-30T15:25:48.357535 | 2023-08-28T19:50:26 | 2023-08-28T19:50:26 | 14,357,669 | 907 | 379 | Apache-2.0 | 2023-08-16T20:49:37 | 2013-11-13T08:00:13 | C++ | UTF-8 | C++ | false | false | 2,781 | hxx | testtools.hxx | /**************************************************************
*
* 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 y... |
e1a466cc08600d37b6734f42186efbe900a050e6 | 4704b793b2c16bf86603d54e0f2775464f737eee | /include/scancontext_ros/scan_context_matcher.h | 9206aee80ec5ff53ad90a3eb12e601cf1f6ef1b7 | [] | no_license | zhouzhibo0117/scancontext_ros | 10a1cfd51ddb7a0a3d38b32d5eb822e683dc810b | c30df24a5e3cce4f66baa6cb8c8cf84ed4579eb8 | refs/heads/master | 2020-07-29T04:19:01.471609 | 2020-04-19T12:17:01 | 2020-04-19T12:17:01 | 209,666,981 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,009 | h | scan_context_matcher.h | //
// Created by zhou on 9/26/19.
//
#ifndef SRC_SCAN_CONTEXT_MATCHER_H
#define SRC_SCAN_CONTEXT_MATCHER_H
#include "scan_context.h"
#include "util/file_io_util.h"
#include <opencv2/opencv.hpp>
class ScanContextMatcher {
public:
ScanContextMatcher() {};
void LoadDatabase(const std::string &database_folder_... |
05576a540ac1a89c0f6263364218d117d5b97f80 | bda34633491b808b2dddd292a885186b4dedc7e6 | /860/lemonade_change.cpp | cd7d8d5644930eab5e0b5a993f819eef0fecd12c | [] | no_license | berneylin/LeetCode2019Spring | 3990561862faddf8f294d5750e4ac4c5fcba2953 | 000f8fb2b00d4d5c6bfec9abb11b7f6158ad9ba8 | refs/heads/master | 2021-07-07T00:14:10.898739 | 2020-08-17T18:03:23 | 2020-08-17T18:03:23 | 167,664,035 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 584 | cpp | lemonade_change.cpp | #include<vector>
using namespace std;
class Solution {
public:
bool lemonadeChange(vector<int>& bills) {
int five = 0, ten = 0;
for(const int bill: bills){
if (bill == 5) five++;
else if(bill==10){
five--;
ten++;
}
els... |
5705dc4f5a6eda34418490cf49402575f51d0625 | 3687ee904728af0aa012c2eba0442c3c22ff33b1 | /src/VideoBase.cpp | 8b00489aef41329607f7d2c17d057a5d28604a46 | [] | no_license | lucasjliu/omtt | f93f9e2d1de1254819a7080f8165d97b40c80149 | 2045ff80a23ba2afa89be1d6cbcc24cd341e2441 | refs/heads/master | 2020-07-02T11:49:27.967803 | 2017-02-13T00:52:40 | 2017-02-13T00:52:40 | 74,307,706 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,535 | cpp | VideoBase.cpp | /*
* by Jiahuan.Liu
* 04/17/2016
* @SCUT
*/
#include "VideoBase.h"
CvFont VideoBase::_labelFont = CvFont();
const int RECT_THICKNESS = 2;
void VideoBase::initialize()
{
cvInitFont(&_labelFont, CV_FONT_HERSHEY_SIMPLEX, 1, 1, 1, 2, 8);
}
void VideoBase::showFrame(const char* name, Frame* frame)
{
cvShowImage(name, ... |
d57ae2c2e1b910360d8f336cb278c6364c4b5639 | afcb8a2f000099ec415ee72021ea2533030184fd | /src/Nazara/Core/ThreadExt.cpp | 782647b6d53c03702e2a4e5431f9e78cf8e91522 | [
"GPL-3.0-only",
"MIT",
"BSD-3-Clause",
"LicenseRef-scancode-proprietary-license",
"Apache-2.0"
] | permissive | NazaraEngine/NazaraEngine | b67397af8a355bed0389daafd3463f0695a1ab92 | 1b9c19fd788e6116984c2466bad0b75047012a6a | refs/heads/main | 2023-09-04T10:08:48.321299 | 2023-08-31T16:01:59 | 2023-08-31T16:01:59 | 4,192,801 | 207 | 23 | MIT | 2023-09-09T20:09:05 | 2012-05-01T14:08:17 | C++ | UTF-8 | C++ | false | false | 1,607 | cpp | ThreadExt.cpp | // Copyright (C) 2023 Jérôme "Lynix" Leclercq (lynix680@gmail.com)
// This file is part of the "Nazara Engine - Core module"
// For conditions of distribution and use, see copyright notice in Config.hpp
#include <Nazara/Core/ThreadExt.hpp>
#if defined(NAZARA_PLATFORM_WINDOWS)
#include <Nazara/Core/Win32/ThreadImpl.hp... |
fb188f999bbec11014fc8e5cf129c150d937835b | 0679a42f3d35946a420f5c56f4bd2249080c82f3 | /include/parser.hpp | dd00af5cb2aef883b44379de33526e5329a4993f | [] | no_license | ZzAZz4/asdfasdf | fe5b38bd7ac99ad55e6621b2677b6e1b0a66b2ed | c1e3092f49c65f730b8d51368942a8ed0a658e26 | refs/heads/main | 2023-03-25T21:04:34.208805 | 2021-03-15T03:13:49 | 2021-03-15T03:13:49 | 343,542,816 | 0 | 0 | null | 2021-03-15T02:41:23 | 2021-03-01T20:08:30 | C++ | UTF-8 | C++ | false | false | 127 | hpp | parser.hpp | //
// Created by esteb on 13-Mar-21.
//
#ifndef ASDFASDF_PARSER_HPP
#define ASDFASDF_PARSER_HPP
#endif //ASDFASDF_PARSER_HPP
|
87bcfe55e0d0402422bfca45b83341653908eb7a | 73f1a17f1f546b6e8aea2e9651dff03972a0549f | /Data-Structure/spoj QTREE Query on a tree LCT.cpp | d386d5b284cc1867323c8cb501f55a9cc4706a0d | [] | no_license | lzcwr/ACM-ICPC-Code | b24cff38952b77472b0cb4de4ffe91d3b6194232 | c6f3254686df8488f8c8f9677ef81f99fb15472b | refs/heads/master | 2021-05-03T18:17:19.141420 | 2017-06-08T08:51:46 | 2017-06-08T08:51:46 | 70,171,318 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,736 | cpp | spoj QTREE Query on a tree LCT.cpp | #include <bits/stdc++.h>
#ifdef __WINDOWS_
#include <windows.h>
#endif
using namespace std;
#define showtime printf("time = %.15f\n", clock() / (double)CLOCKS_PER_SEC);
#define lson l, m, rt << 1
#define rson m + 1, r, rt << 1 | 1
#define root 1, n, 1
const int maxn = 10010;
const int maxm = 100005;
const int mod... |
1a3ae987b997c9da23aef38f851835fd7361e08a | d89333d3c1a63c9f7caf085d80b33fb3e7543a2f | /app/src/main/synthts_et/lib/etana/chklyh3.cpp | dab860952627bcc85a8acfc7efb1a0c100677ca2 | [] | no_license | Kaljurand/EKISpeak | b1c3f6f54c8e2318e21fc9ad34544e1c469e1c40 | 9bdb52b49a28311bbeebcd353539bb17f23cca00 | refs/heads/master | 2021-01-23T07:34:27.197992 | 2019-01-19T11:48:09 | 2019-01-19T14:00:39 | 33,014,685 | 12 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 9,641 | cpp | chklyh3.cpp |
/*
* kontrollib, kas S6na on suurt�hel. lyhend mingi l�puga;
* n�iteks:
*
* USA-ni, USAni, SS-lane, SSlane, IRA-meelne
*
*/
#include "mrf-mrf.h"
#include "mittesona.h"
int MORF0::chklyh3(MRFTULEMUSED *tulemus, FSXSTRING *S6na, int sygavus, int *tagasitasand)
{
int i;
int res;
FSXSTRING ... |
63bbb18c62d60105a446a4bbebd7abe9d181abc0 | c8b1a76f6387f9d8d63e2da621afdfa84b23a438 | /test/proto/request_msg.pb.h | c6cde25e7ff56927965c9221b563529257619c19 | [] | no_license | bruan/srpc | a808d5bf35952ec0dcfc8e5663eb8187af229740 | 95a55aa9fe247043908f0f84d9e6bbd6b07c0b49 | refs/heads/master | 2021-01-12T07:50:31.896099 | 2017-06-19T03:24:06 | 2017-06-19T03:24:06 | 90,016,539 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 8,213 | h | request_msg.pb.h | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: request_msg.proto
#ifndef PROTOBUF_request_5fmsg_2eproto__INCLUDED
#define PROTOBUF_request_5fmsg_2eproto__INCLUDED
#include <string>
#include <google/protobuf/stubs/common.h>
#if GOOGLE_PROTOBUF_VERSION < 2007000
#error This file was generated ... |
6f516c729016df451cff350f86c137e6f0714c36 | ce5c724a6e817b9f7d1a2565a8717ae4276e48e4 | /Lab04/Exercise03/main.cpp | 106c3f01187db4c7db1db96faf36c459a880b31a | [] | no_license | aliciazavala/Programming-I | 6d6620faf4accefc542a3b5b8c219930468fff76 | 21edeec0a1441f98833d3328f2d3da83ffa58e10 | refs/heads/master | 2022-12-28T08:50:45.296850 | 2020-09-24T17:42:43 | 2020-09-24T17:42:43 | 297,139,874 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 878 | cpp | main.cpp | /* -----------------------------------------------------------------------------
*
* File Name: main.cpp
* Author: Alicia Zavala Ferreira
* Assignment: EECS-168 Lab 4
* Description: This program will print an nxn checkerboard with dimensions obtained by user
* Date: 04/05/2019
*
----------------------------... |
3d4301a39ee70f4239e88f64ae65f84e75e7b4df | f35768ca2c485c60d96cb6b12282707174318cac | /stepper_piec4/stepper_piec4.ino | 8339ef0f079c290f9bc774de239f7f612f5e4597 | [] | no_license | KowalczykL/workspaceard | 840161c63269e2e8a18b80712d22182085a4b430 | 454b552d3db1a232209e38434c86fa5ee19dbee7 | refs/heads/master | 2021-06-10T16:14:33.771699 | 2017-01-30T22:24:16 | 2017-01-30T22:24:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,060 | ino | stepper_piec4.ino | byte motorPin1 = 8; // Blue - 28BYJ48 pin 1
byte motorPin2 = 9; // Pink - 28BYJ48 pin 2
byte motorPin3 = 10; // Yellow - 28BYJ48 pin 3
byte motorPin4 = 11; // Orange - 28BYJ48 pin 4
byte motorSpeed = 3; //variable to set stepper speed
int obr = 512; // szacowane na obrót 512
int i;
//int zmm = 0;
byte pozAkt = ... |
35c92f6e4a56ef03a90a33f07c23dad8d41e74c0 | 4b9c10f69d7a3d80d443bb83fa2de38151bad85b | /458/decoder_wrong.cpp | 288e9579efc849c99d4f84f1362b055f48d456f0 | [] | no_license | rajul/UVa | 474dd53f84c02ad28097d6423e360886b95c3539 | 0534eb23c1868f96e6c72bf2de5c7a72faba5489 | refs/heads/master | 2020-12-29T02:38:12.777992 | 2019-05-19T05:04:15 | 2019-05-19T05:04:15 | 43,592,656 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,256 | cpp | decoder_wrong.cpp | /*
Wrong Solution
*/
#include <iostream>
#include <map>
using namespace std;
map<char, char> mapping;
void create_mapping()
{
int i;
string input1 = "1JKJ'pz'{ol'{yhklthyr'vm'{ol'Jvu{yvs'Kh{h'Jvywvyh{pvu5";
string input2 = "1PIT'pz'h'{yhklthyr'vm'{ol'Pu{lyuh{pvuhs'I|zpulzz'Thjopul'Jvywvyh{pvu5";
string input3... |
dc80d159edbfd3183c90ce4a3aad2fade0ec92e8 | 83934c40b2bd835464732345fa516b2c657a6259 | /RcsPySim/src/cpp/core/observation/OMDynamicalSystemDiscrepancy.h | 1ba4fcb2b5d2c08065de62a02b148a5e25e1e438 | [
"BSD-2-Clause",
"BSD-3-Clause"
] | permissive | 1abner1/SimuRLacra | e0427bf4f2459dcb992206d3b2f347beab68a5b4 | d7e9cd191ccb318d5f1e580babc2fc38b5b3675a | refs/heads/master | 2023-05-25T04:52:17.917649 | 2021-06-07T07:26:44 | 2021-06-07T07:26:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,429 | h | OMDynamicalSystemDiscrepancy.h | /*******************************************************************************
Copyright (c) 2020, Fabio Muratore, Honda Research Institute Europe GmbH, and
Technical University of Darmstadt.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted prov... |
85193dfe73bb58d728f0697bc8a026ba7a68bcd9 | a9f7e5c4f461c50c3f6a720e65eace2f9662f2dc | /main.cpp | 860ca2447d4e1865ef6fc2e4620f108216750f9d | [] | no_license | nazmul284/OpenGL-mercedes-car-logo | d823cdefc49e21a641009737cb4def9b5b8a7fec | 04f830464998b35182b906bb0ecb2562b37a0282 | refs/heads/master | 2020-09-02T08:23:35.778136 | 2019-11-02T16:13:49 | 2019-11-02T16:13:49 | 219,178,541 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,535 | cpp | main.cpp | #include<windows.h>
#include <GL/glut.h>
#include <math.h>
void init(void)
{
glClearColor(1.0, 1.0, 1.0, 0.1); // Set display window colour to white
glMatrixMode(GL_PROJECTION); // Set projection parameters
gluOrtho2D(0.0, 600.0, 0.0, 600.0);
}
void display()
{
float theta;
int i;
glClea... |
09b52c05d61b89ff96fd0d779e7baca39b51f208 | c23ba168431ad1d1fdab69b5da012240361a5648 | /src/TCPHelper.h | 860f46084855439426bc5b7657ee8678d2283d71 | [] | no_license | 2ToThe10th/1CDepartmentEntryTask | 028cdebc5dcdfb397ceb9b239ccefd51e0599b0c | 64ee7a6b695df82f9c2f53ddaf3c0a349bd7e9d0 | refs/heads/master | 2022-04-16T18:07:03.288253 | 2020-04-13T21:27:22 | 2020-04-13T21:27:22 | 255,401,078 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 582 | h | TCPHelper.h | //
// Created by 2ToThe10th on 13.04.2020.
//
#ifndef INC_1CDEPARTMENTENTRYTASK_SRC_TCPHELPER_H_
#define INC_1CDEPARTMENTENTRYTASK_SRC_TCPHELPER_H_
#include <cstdlib>
#include <exception>
class InetAtonException : public std::exception {
[[nodiscard]] const char *what() const noexcept override {
return "inet a... |
e631631bb636082f990f0953d3bcb051a5173b06 | a967d530185fc3704e07be11dc8f7f9457b19402 | /ffmpegvideosource.cpp | 0a7113a3b5748ac43ad3e6de9c974e1eddef6ead | [] | no_license | mbaradad/shotdetection | 392a3c9e8ca75e8bd576474f47d238081ecfe226 | adcf4badba38cb094695f5afa8ee74d264b883cb | refs/heads/master | 2022-04-19T01:50:12.865712 | 2020-04-15T05:11:54 | 2020-04-15T05:11:54 | 255,408,064 | 0 | 0 | null | 2020-04-13T18:18:04 | 2020-04-13T18:18:03 | null | UTF-8 | C++ | false | false | 7,487 | cpp | ffmpegvideosource.cpp | #include <iostream>
#include "ffmpegvideosource.hpp"
#include <opencv2/imgproc/imgproc.hpp>
extern "C" {
#include <libavcodec/avcodec.h>
#include <libavformat/avformat.h>
#include <libswscale/swscale.h>
}
#include <string>
#include <memory>
using namespace std;
double inline normalize_ts(int64_t ts, AVRational time_b... |
76df003f0645e4cf16b41dd155d9b873faab0ac8 | 9df457dfb0dcf45a65522623eb062514065491a0 | /matrix_algebra.h | 4e0d77c0d824168aff402bed6b507db400f78010 | [] | no_license | phzls/MBL_v1 | 9e4d2df8ad44c9ca1a56196d9ca48441d7e6bb20 | 1723cea5e3c3e8453fb73dd4f9d17c82a55f526c | refs/heads/master | 2021-03-27T16:12:26.515411 | 2016-04-01T18:33:03 | 2016-04-01T18:33:03 | 33,960,287 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,057 | h | matrix_algebra.h | //
// Created by Liangsheng Zhang on 4/14/15.
//
#ifndef MATRIX_ALGEBRA_H
#define MATRIX_ALGEBRA_H
/*
* This file defines functions which handle general matrix algebra based on Eigen.
*/
#include <iostream>
#include <Eigen/Dense>
using namespace Eigen;
using namespace std;
void Matrix_Add(const MatrixXd&, const ... |
93fe45b43250152a7687aea1c0a3d60eba2aeb2c | 80d2b3219bf0f980b8d2b24f8633edb5c4eb2b84 | /src/controller.cpp | 30fd45a11808fb11a49ca71914144ad7e25da007 | [] | no_license | CLDrone/vis_pose_test | 49f63e86288d72d762a285e1b6b29952a541b9c0 | f1dffb5a85cc447e90088f22402f33da5d71b584 | refs/heads/master | 2021-01-12T19:33:39.080903 | 2015-10-22T08:42:39 | 2015-10-22T08:42:39 | 44,729,590 | 0 | 0 | null | 2015-10-22T07:37:19 | 2015-10-22T07:37:19 | null | UTF-8 | C++ | false | false | 9,544 | cpp | controller.cpp | /*
* Controller.cpp
*
* Created on: Mar 28, 2015
* Author: ubuntu
*/
#include "controller.h"
Controller::Controller(ros::NodeHandle* n)
{
initROS(n);
}
Controller::~Controller()
{
// TODO Auto-generated destructor stub
}
void Controller::initROS(ros::NodeHandle *n)
{
ros_node_ = n;
// Su... |
f983906e1b46a16d957d8beb6381793ea10e362f | 51835b8233eccfb53cffe96c071fc6fcf3d84f9b | /lib/gevent.h | a4b51f4e391f194cb05e9e8dd2f2c4e0eb1bc05a | [
"MIT"
] | permissive | GoldbergData/newWorldSimulation | eda3dc31df52c15ff19c3cb78a0001f1ac0bd6c3 | 9534592ac2c9f5909bd0aba126fa678a40cf0408 | refs/heads/main | 2023-05-15T02:14:00.805514 | 2021-06-18T02:46:05 | 2021-06-18T02:46:05 | 373,677,715 | 0 | 0 | MIT | 2021-06-09T03:14:35 | 2021-06-04T00:32:16 | C++ | UTF-8 | C++ | false | false | 19,406 | h | gevent.h | /*
* File: gevent.h
* --------------
*
* @author Marty Stepp
* @version 2021/04/09
* - added sgl namespace
* @version 2018/09/20
* - removed deprecation warning on waitForEvent/Click global functions (for now)
* @version 2018/09/07
* - added doc comments for new documentation generation
* @version 2018/08/23... |
b47e1ba2f42542e89ad1422598a914404ba78930 | 9a888c6ddd86c1938cd672c5f2ac24e928e48665 | /THREAD/PI/PI.HPP | 26e58f3760c00778adcbe825d4802417bda3b1ed | [
"BSD-3-Clause"
] | permissive | OS2World/DEV-SAMPLES-BOOK-Power_GUI_Programming_with_VisualAge_for_Cpp | 228390f4876520bb72afd5a25fc985fb6ea82de8 | 919dfa422daf18d2bbb924213a0a813c06565720 | refs/heads/master | 2020-05-29T18:33:38.074186 | 2019-05-29T22:02:13 | 2019-05-29T22:02:13 | 189,303,859 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 858 | hpp | PI.HPP | #ifndef _PI_
#define _PI_
/**************************************************************
* FILE NAME: pi.hpp *
* *
* DESCRIPTION: *
* This file contains the declaration... |
14c11f07d3175ccf8c723bb63869c51b913832e8 | 1d7190ff4c1773f4c9cd4226692cea1184799a00 | /AdaptiveTerrainTessellation/src/terrain.cpp | 7e2984dc1ac938da21e170ca09d846461d7a9106 | [] | no_license | Hasenpfote/OpenGLExamples | 4b0dc9800e0019f032fb0268b41b21717b6883c6 | c7008ffb180d1aa88467aa225b6d46c13305d522 | refs/heads/master | 2021-01-11T07:54:37.729129 | 2019-09-04T05:13:24 | 2019-09-04T05:13:24 | 72,074,048 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,259 | cpp | terrain.cpp | #include <cassert>
#include <vector>
#include <GL/glew.h>
#include <glm/gtc/type_ptr.hpp>
#include "terrain.h"
Terrain::Terrain()
{
lod_factor = 10.0f;
horizontal_scale = 1000.0f;
vertical_scale = 300.0f;
draw_mode = DrawMode::Solid;
light_direction = glm::normalize(glm::vec3(1.0f, 1.0... |
fbe1b049a86d9cd51214ea4f2b1149be8d6c8332 | a81ad9fcba58121eb6c20bb6c2acc99f2b4c7874 | /inc/gameobjects/sword/swordobjectfactory.h | 3c6720c5c7190fe219416881c0596ddd8160d409 | [] | no_license | dkamakin/OOP | 34cdef74ccfc1517b4b54f4444e9abae7cb58382 | 6e438a08c623533f6e6053b89604cc2f5f88f6a2 | refs/heads/main | 2023-02-08T16:18:57.996429 | 2020-12-23T05:49:26 | 2020-12-23T05:49:26 | 316,035,364 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 375 | h | swordobjectfactory.h | #ifndef SWORDOBJECTFACTORY_H
#define SWORDOBJECTFACTORY_H
#include "gameobjects/gameobjectfactory.h"
#include "swordobject.h"
using sSwordObjectFactory = std::shared_ptr <class SwordObjectFactory>;
class SwordObjectFactory : public GameObjectFactory {
public:
SwordObjectFactory() = default;
sGameObject creat... |
8c9eb046eb8503e56f31efef849bb7dabf5e5a42 | eaa6ba297efd95550bddc5a661153330376452bc | /CSVAdopt.h | eafddf9c155e1ae5115c4b261186667b533decd6 | [] | no_license | SergiuPloscar/CatAdoptionShelter-Qt-GUI- | ef05c29c0fcfb34fc4b285631e6f9c27e6961127 | 317f91f63619ae9b833306b2f9f2cb1ad8d1b229 | refs/heads/master | 2020-04-29T18:11:59.493283 | 2019-03-18T15:44:59 | 2019-03-18T15:44:59 | 176,317,138 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 437 | h | CSVAdopt.h | #pragma once
#include "Cat.h"
#include <string>
#include <vector>
#include "FileRepository.h"
class CSVAdoptionList : public FileRepository
{
public:
/*
Writes the AdoptionList to file.
Throws: FileException - if it cannot write.
*/
CSVAdoptionList();
void writetoFile(const std::vector <Cat>& adopt) ... |
f02bf54482a8a7f9e045c48db5ed6fd5e6c1d389 | 189f52bf5454e724d5acc97a2fa000ea54d0e102 | /ras/floatingObject/3/ddt0(U) | 4a19f7e89e793c8de0f3a7e9ad890e0171f05dea | [] | no_license | pyotr777/openfoam_samples | 5399721dd2ef57545ffce68215d09c49ebfe749d | 79c70ac5795decff086dd16637d2d063fde6ed0d | refs/heads/master | 2021-01-12T16:52:18.126648 | 2016-11-05T08:30:29 | 2016-11-05T08:30:29 | 71,456,654 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 616,673 | ddt0(U) | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1606+ |
... | |
3c6ef50a8eb221600190e8d452a5b91c803169b6 | 0a2d603e36817872e9b87635ddedf838b15cf8eb | /chokudai/2_interesting_party.cpp | 28e13f1da0710274c19897856cef9f29f97bf171 | [] | no_license | setupup/chokudai-book | 1f3797978989cc0b927eec28e455f4e55db6df48 | 5a080f4698c5d3323f54c9e34ce65e26a167eaf7 | refs/heads/master | 2023-03-30T14:04:17.692810 | 2021-04-06T12:15:22 | 2021-04-06T12:15:22 | 355,154,087 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,210 | cpp | 2_interesting_party.cpp | /*#include <iostream>
#include <vector>
#include <string>
#include <unordered_map>
#include <utility>
using namespace std;
class InterestingParty
{
public:
int bestInvitation(vector<string> first, vector<string> second)
{
unordered_map<string, int> my_map;
for (auto& elem : first)
{
my_map[elem... |
a2444a0e7cc6049846246a4c69b19a367dafc276 | 7425b5322d2e86e53b28f1a84d26e246f5e469e7 | /trafficlight.ino | b3b15656b04cd019b25f5c8c8f0d496f5be52854 | [
"Apache-2.0"
] | permissive | lloesche/trafficlight | 3db3d12df9b08fbdcbae8130dfeb8e13e01fd81d | 046f60f47f64d442e413b352250327e92bbb89aa | refs/heads/master | 2021-04-26T16:45:08.786729 | 2016-04-16T10:31:32 | 2016-04-16T10:31:32 | 56,086,949 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,739 | ino | trafficlight.ino | // Copyright 2016 Lukas Lösche <lloesche@fedoraproject.org>
//
// 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 r... |
2648e26a2d19b74303731dcfb35873f51c26bee7 | 44de17fa9520b5ab1d1042e92c1f963186a0a975 | /game_maze/field.cpp | 52ab4a5352ffc09b9d93ccb5bbf01768d9a677d2 | [
"MIT"
] | permissive | Vasya-dot/maze | 4d095085d7cf0e5044157df1f4a1860852e4dd04 | 0446cea773307d3b435a2a2bfb368a59db40d0a3 | refs/heads/master | 2023-06-12T20:39:40.488386 | 2021-06-30T20:11:12 | 2021-06-30T20:11:12 | 361,111,931 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,689 | cpp | field.cpp | #include "field.h"
string ToString(eFieldType type)
{
switch (type)
{
case eFieldType::EMPTY: return ".";
case eFieldType::START: return "S";
case eFieldType::RELIX: return "R";
case eFieldType::TRAP: return "#";
case eFieldType::FINISH: return "F";
case eFieldType::TREE: return "T";
case eFieldType::W... |
6a9c779a70e8c8fde8f0f75aa2bd7a693cae2a3f | b1ca290baa255e9939882e3711093a8ca0509687 | /782/Untitled1.cpp | 18465854011f4bf32cdfb61a9b6e43e6e60cd221 | [] | no_license | ZeeshanAhmadKhalil/DevCpp | 26872a9059d683072c116169b4035ea6ae706c54 | c68c67f2972cbc6bca2691dd773a4bff62aa5889 | refs/heads/master | 2020-07-29T00:00:33.065937 | 2019-09-24T06:13:57 | 2019-09-24T06:13:57 | 209,585,282 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 316 | cpp | Untitled1.cpp | #include <iostream>
using namespace std;
main()
{
cout<<"Enter a character"<<endl;
char c;
cin>>c;
if(c=='Z'||c=='E'||c=='S'||c=='H'||c=='A'||c=='N'||c=='z'||c=='e'||c=='s'||c=='h'||c=='a'||c=='n')
cout<<"Entered Character is from Zeeshan"<<endl;
else
cout<<"Entered Character is not from Zeeshan"<<endl;
}
|
e32983e9194327ce085ddba4375398b9f3566bf6 | 9a6041afb5a34bea98eea4e131d912f7dabd5abf | /reversestr.cpp | a77302e6f6cfae8edf317f3c70fbd37aaad6523c | [] | no_license | kishankr7979/Cpp_SDE_SHEET | 513aeae9a9df8bac7639a2608caa10f34e21dea0 | 2de5f449bba77c56bc04540c65ae4bde53a0b6a8 | refs/heads/main | 2023-01-09T10:55:02.839193 | 2020-11-17T19:01:37 | 2020-11-17T19:01:37 | 309,479,489 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 460 | cpp | reversestr.cpp | #include <iostream>
#include<string>
using namespace std;
int main() {
//code
int arr[10] = {1,3,5,2,6,8,9,7,4};
int temp,j,i;
cout<<"The Given array is : ";
for(int i=0; i<10; i++)
{
cout<<arr[i];
}
for(int i=0; i<10; j++)
{
for (int j=0; j<=10-i; j++)
{
if(arr[j]>arr[j+1])
{
temp=arr[j]... |
83ecb290b21eb099d686af0a6840a584b5b8185b | 0b79f365d0abec895da0db94eb203848f9de8462 | /include/server_http.hpp | 1d3d717015e1ff7ef4de2c503d9b36fd6ac945c3 | [
"MIT"
] | permissive | mmicko/webpp | bc389b50a77cd477ab745a737537d7c9b919d9ce | e1450fc989e5fefab8a542c28f3593fab63e0516 | refs/heads/master | 2020-07-12T22:30:13.519582 | 2017-06-09T07:34:30 | 2017-06-09T07:34:30 | 73,898,382 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,130 | hpp | server_http.hpp | // license:MIT
// copyright-holders:Ole Christian Eidheim, Miodrag Milanovic
#ifndef SERVER_HTTP_HPP
#define SERVER_HTTP_HPP
#if defined(_MSC_VER)
#pragma warning(disable:4503)
#endif
#include "asio.h"
#include "asio/system_timer.hpp"
#include "path_to_regex.hpp"
#include <map>
#include <unordered_map>
#include <thr... |
3d8e59bd8e5e6588bfe10aa8312854f1dafc0c7e | ead9b4e788bab8542a39215358e32c0df8a9533c | /MAC/GCF/PVSS/include/GCF/PVSS/PVSSresult.h | d5402b0cd61291cb2d6f3bd01796d4cf729f88a4 | [] | no_license | iniyannatarajan/pyimager-olegs-mods | 34968740d47d8e38d65ff4005d215e6f87ea2a80 | 6218fdbed57c8c442238372cda408a69e91b2bb7 | refs/heads/master | 2022-11-12T21:50:18.539394 | 2015-08-18T09:30:25 | 2015-08-18T09:30:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,774 | h | PVSSresult.h | //# PVSSresult.h: preprocessor definitions of various constants
//#
//# Copyright (C) 2002-2003
//# ASTRON (Netherlands Foundation for Research in Astronomy)
//# P.O.Box 2, 7990 AA Dwingeloo, The Netherlands, seg@astron.nl
//#
//# This program is free software; you can redistribute it and/or modify
//# it under t... |
29d8e8a9162da0d4cf1058a31d36bcd297b73c66 | cc4a8f9e4d7298fa36c8eca9cbf93c213ca128ce | /GE/Basics.h | 8164088691115f003c3a89bb74a02cd8cf16ed47 | [] | no_license | longsamaa/SPAProject | 2a57f2fe1a28b6853c977961578a5805d0a7984d | 3fd0fff9778bd3b3e8c0ddca4d6c14dfd27df567 | refs/heads/main | 2023-02-18T19:22:25.092711 | 2021-01-23T04:55:45 | 2021-01-23T04:55:45 | 331,819,138 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,414 | h | Basics.h | #ifndef _BASICS_H_
#define _BASICS_H_
#ifndef GE_INT8
#define GE_INT8 signed char
#endif
#ifndef GE_INT8U
#define GE_INT8U unsigned char
#endif
#ifndef GE_INT16
#define GE_INT16 short
#endif
#ifndef GE_INT16U
#define GE_INT16U unsigned short
#endif
#ifndef GE_INT32
#define GE_INT32 int
#endif
#ifndef GE_INT32U
#d... |
f70bdecf1e7b0185ad5bf3c0bc884e8cdfe58e6c | b21df2103054c5532e36505828de652b9f6c3baf | /PS-Backjoon/PS-Backjoon/11279_최대힙.cpp | 5f0fc5df3eea44499aad15ee20e84cde7ac351d5 | [] | no_license | geonhee7721/PS-Backjoon | cbdb762313f8b7cde27f9b256ccda774c6711f95 | 1126c28146bc05be48ef88e09adab5a028cbc8da | refs/heads/main | 2023-03-23T00:12:29.159606 | 2021-03-14T05:13:32 | 2021-03-14T05:13:32 | 345,235,512 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,130 | cpp | 11279_최대힙.cpp | #include <stdio.h>
int heap[100001];
int N;
int heapSize = 0;
void heapPush(int value)
{
heap[heapSize] = value;
int current = heapSize;
while (current > 0 && heap[current] > heap[(current - 1) / 2]) {
int temp = heap[(current - 1) / 2];
heap[(current - 1) / 2] = heap[current];
heap[current] ... |
1f78d86076d19461263922e71127f8ba4f7a7853 | 490f58b61c3bd4ff812e651815a4080341d1af1b | /boost/distributions/src/ncx2.cpp | 3afc5535dcd2f1943d38d30530cc29ca46cadaaa | [] | no_license | plusk01/tests | 586c2543fce4fe27e263870351bad70a70225163 | 1a86b0c4db8dbbfd1b5c35d1e3d725b4042b49a4 | refs/heads/main | 2023-06-02T04:39:47.146173 | 2023-05-12T14:50:30 | 2023-05-12T14:50:30 | 67,880,187 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 721 | cpp | ncx2.cpp | #include <iostream>
#include <boost/math/distributions/non_central_chi_squared.hpp>
int main(int argc, char *argv[])
{
static constexpr int k = 3;
static constexpr double lambda = 10;
boost::math::non_central_chi_squared ncx2(k, lambda);
std::cout << "ncx2 degrees of freedom, k: " << ncx2.degrees_of_... |
671ca56c254eb0a477918ede1fdcc480fa51700d | 178e83cc613c9fc527e7352417cd0c1baaf7bd7c | /beginners_selection/086c.cpp | f43fa1d5fa7b4b3d615b4f8aa1ce1ff3b4872417 | [] | no_license | shohirose/atcoder | 658d32e5c79e198cbba3e5afa34a49c5504a9878 | 6ebf9cd39fe6c247fe27b9cf4c09f5020cc67bce | refs/heads/master | 2021-06-08T13:40:19.932763 | 2021-05-13T06:33:56 | 2021-05-13T06:33:56 | 165,779,995 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 837 | cpp | 086c.cpp | #include <cmath>
#include <iostream>
#include <vector>
struct point {
int t;
int x;
int y;
friend std::istream& operator>>(std::istream& is, point& p) {
is >> p.t >> p.x >> p.y;
return is;
}
};
bool is_movable(const point& p1, const point& p2) {
const auto dt = p2.t - p1.t;
const auto dist = ... |
ec0455363c5e67c87fa5fafa20aaddefac17e21f | cfdfb8b045feb9efc845dab5f7de6ce815b3246a | /Classes/TestScene.h | 16dfab03c4d65c73d2d0cc9b931ed68fbaea41ff | [] | no_license | joyfish/TowerTD | 814e3063a97bfff1ba9f6d0fa6392886cc787727 | ba793ad00c10adf923dd28a813e44f6ca9956977 | refs/heads/master | 2021-01-14T09:10:29.032591 | 2014-10-17T03:24:11 | 2014-10-17T03:24:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 191 | h | TestScene.h | #ifndef __TESTSCENE_H
#define __TESTSCENE_H
#include "cocos2d.h"
USING_NS_CC;
class TestScene:public Scene
{
public:
virtual bool init();
CREATE_FUNC(TestScene);
protected:
};
#endif |
962177620708837f10685e9ab7b4930c2d142104 | 80e05a52e86479e3d45a4483c8aac53c6548105e | /dijkstra.cpp | 504aee97cb80cbfedf1d2d507e80a8637cad9a62 | [] | no_license | ydooWoody/LSRouting | c4af5a3f37f2e437d8ad6d561f026de66c80abff | 069884fcd8616653afe670bbd1bce792669139e2 | refs/heads/master | 2021-08-22T19:34:55.717995 | 2017-12-01T03:09:38 | 2017-12-01T03:09:38 | 110,162,083 | 0 | 0 | null | 2017-11-28T02:10:10 | 2017-11-09T20:21:18 | C++ | UTF-8 | C++ | false | false | 1,493 | cpp | dijkstra.cpp | #include <iostream>
#include <vector>
#include <set>
#include <limits>
using namespace std;
const int SIZE = 1000;
class Graph {
int g[SIZE][SIZE];
public:
void add(int x, int y, int w) {
g[x][y] = w;
g[y][x] = w;
}
int dijkstra(int src, int dest) {
set<int>... |
65cd569fdeef7060888a27a666159d144880fdb8 | 6e206cdb058e7c7dfecbf59882d1f375dfdbeabd | /spec/rational/doubles-can-be-converted-to-rationals.cpp | ed96e7f471189397d19d954ba69fa558f7f900ed | [] | no_license | LukeBillo/exact-arithmetic | 0a476af198655013ed4be61e1075cd21b2d1ce50 | 82dbe7cfe730f960e609248b37fd926260dc620c | refs/heads/master | 2020-04-27T12:53:39.945939 | 2019-06-04T16:13:05 | 2019-06-04T16:13:05 | 174,348,299 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 858 | cpp | doubles-can-be-converted-to-rationals.cpp | #include <catch2/catch.hpp>
#include <dividebyzeroerror.h>
#include "rational.h"
using ExactArithmetic::Rational;
using ExactArithmetic::DivideByZeroError;
using namespace Catch::Generators;
SCENARIO("Doubles can be converted to rationals", "[rational]") {
GIVEN("Any double") {
double i = GENERATE(take(1... |
0b1327e23985e4257743a47c7ff2b688ae28c6d4 | 9dc935e5791db4971742d02619be69127b1e1623 | /character.h | 21c553f21e86e4f8b5981018dbf4dc754ca67c85 | [] | no_license | jh1jia/Rogue-ChamberCrawler3000 | fa0563ede6fb6321c7ef95b0a1acf3b7449cf62f | 7c5d935a351f5dfb74477dd3d7d1158c3dadae18 | refs/heads/master | 2020-05-01T12:44:16.318511 | 2019-03-24T22:36:28 | 2019-03-24T22:36:28 | 177,465,196 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 548 | h | character.h | #ifndef Character_H
#define Character_H
#include "entity.h"
#include <iostream>
#include <string>
#include <utility>
using std::pair;
using std::string;
class Board;
class Character : public Entity
{
protected:
int currentHp, maxHp, atk, def;
public:
Character(char symbol, int cr, pair<int,int>& loc, Board&... |
9711d7523451876360e3ffe15f55453e36cae5d9 | e9131855f3ed7ee2b933da9219bc63607fe8067a | /HW2 - Auto Algorithm/RPS_FightInfo.h | a72142d8142e227e02edc78669e8ac9cbec6c02a | [] | no_license | TomHerman11/Rock-Paper-Scissors | 5cf85e55fa1df91adc0adbe67377d9ad31946e04 | 7564b66aab833b1fd2688c6645c3f67df11b443c | refs/heads/master | 2020-03-26T02:34:29.682288 | 2019-06-15T17:49:23 | 2019-06-15T17:49:23 | 144,416,193 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,255 | h | RPS_FightInfo.h | /*
* RPS_FightInfo.h
*
* Created on: Apr 29, 2018
* Author: tomhe
*/
#ifndef RPS_FIGHTINFO_H_
#define RPS_FIGHTINFO_H_
#include "RPS_Point.h"
#include "FightInfo.h"
class RPS_FightInfo: public FightInfo {
const RPS_Point point;
char player1_piece;
char player2_piece;
int winner;
pu... |
ebd98a9db0b5f106ed067fb68c20c7f801c977d6 | 0e8b237418ab928120ee735b9b8972bf37e45b3b | /calaos_network.cpp | 394776dc2f35e23f979450e0d00f76f7deda6fca | [] | no_license | Cloudxtreme/calaos_tools | 17bb4132c179c23e0c163be7736010052341d633 | 015da99d00ec41cdf500ee314f3c4140efc45975 | refs/heads/master | 2020-06-14T03:07:24.137831 | 2018-01-29T10:50:05 | 2018-01-29T10:50:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,029 | cpp | calaos_network.cpp | /******************************************************************************
** Copyright (c) 2006-2011, Calaos. All Rights Reserved.
**
** This file is part of Calaos Home.
**
** Calaos Home is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License as publis... |
441bba3832600d50a834d726339ef3402d15c64f | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/git/gumtree/git_new_log_2333.cpp | 85307f7546f8003d15446125dc4dd7ace9a80652 | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 80 | cpp | git_new_log_2333.cpp | warning ("Stripping signature from tag %s",
oid_to_hex(&tag->object.oid)); |
c10f960fde18536d5e6f361c1a1a1b2ad419602b | 91bf1e6eb7f849657f3e48cc08b888aa88dbe564 | /lab4/Tablero.cpp | d3dd3757141f5d963a6bad1b61b7f9b80e4fb389 | [] | no_license | SahoryHerrera/P3Lab4_SahoryCano | e77c6935d7c4c2b850a734d97bc934eaaf0721c2 | 4b819003c22e2cbc4e9a99ff3121efb46c6aa6f4 | refs/heads/master | 2023-04-28T12:14:57.031301 | 2021-05-15T01:37:16 | 2021-05-15T01:37:16 | 367,491,324 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 116 | cpp | Tablero.cpp |
#include "Tablero.h"
Tablero::Tablero() {
}
Tablero::Tablero(const Tablero& orig) {
}
Tablero::~Tablero() {
}
|
33bc15a6b128a1bab4695c5fef74a5e92f92ff57 | 7da798eafb861b68acc3670a5456fe3274096f6a | /solution1/.autopilot/db/convolution.pragma.0.cpp.ap-line.CXX | 709922545549c6710542cb4c756cb5e77c8bbdd2 | [] | no_license | gornad/Convolution-FPGA-Project | 1ddae9b33f7e7cdb065277343edc49a0a9172aa0 | 5ebd956cfd3a71f682c99145302319ff6746e233 | refs/heads/master | 2021-10-01T13:58:03.584808 | 2018-11-26T21:36:55 | 2018-11-26T21:36:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 67,169 | cxx | convolution.pragma.0.cpp.ap-line.CXX | #pragma line 1 "LAB4/convolution.cpp" ::: -10
#pragma line 1 "LAB4/convolution.cpp" 1 ::: -9
#pragma line 1 "<built-in>" 1 ::: -8
#pragma line 1 "<built-in>" 3 ::: -7
#pragma line 153 "<built-in>" 3 ::: -6
#pragma line 1 "<command line>" 1 ::: -5
#pragma line 1 "C:/Xilinx/Vivado_HLS/2017.2/common/technology/autopilot\\... |
99d88656d586773de71db5e94fff53300ad025ca | 4bbf93f1e13b4e4be157aa54a6042e7a35f07b18 | /Peach3D/RenderDX/Peach3DObjectDX.cpp | 42ca989362a109e674ddd0517ae30aefd271b989 | [
"MIT"
] | permissive | singoonhe/peach3d | 39ce85c90ce08a91e45656387db65977dfb31016 | ac09379b3131cb01f34a59bd995c33fa14b9d563 | refs/heads/master | 2022-04-04T08:33:40.949312 | 2020-02-10T09:11:36 | 2020-02-10T09:11:36 | 224,649,107 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,052 | cpp | Peach3DObjectDX.cpp |
#include "Peach3DObjectDX.h"
#include "Peach3DProgramDX.h"
#include "Peach3DIPlatform.h"
#include "Peach3DResourceManager.h"
namespace Peach3D
{
ID3D11Buffer* ObjectDX::mAABBVertexBuffer = nullptr;
ID3D11Buffer* ObjectDX::mAABBIndexBuffer = nullptr;
IProgram* ObjectDX::mAABBProgram = nullptr;
... |
caad0eeff8814366ca583c0b6225ef7b9b81381a | 2f96d0e69ce3d6b1ea4623ed5b4c1741d9634ea9 | /tests/dummy_repo/pytorch/aten/src/ATen/qconv.cpp | 2d9c4aed849565ae75d08293ae27daa15ff0b759 | [
"Apache-2.0"
] | permissive | tqchen/ffi-navigator | ae1e8923e4d5be589beabfadba91f4a3b39e03dd | 46b0d0c6bce388a8e1e2cb7ed28062e889e4596c | refs/heads/main | 2023-02-06T22:32:54.214871 | 2023-02-05T16:25:16 | 2023-02-05T16:25:16 | 230,478,838 | 217 | 24 | Apache-2.0 | 2023-02-05T16:25:18 | 2019-12-27T16:44:58 | Python | UTF-8 | C++ | false | false | 705 | cpp | qconv.cpp | static auto registry =
c10::RegisterOperators()
.op("quantized::conv2d",
c10::RegisterOperators::options().kernel<QConvInt8<2, false>>(
TensorTypeId::QuantizedCPUTensorId))
.op("quantized::conv2d_relu",
c10::RegisterOperators::options().kernel<QConvInt8<2, tru... |
8527173c6686a1e5efdf8aeac658c9082eeb40a7 | 78dfe43e7020ad63a1d7de0680703e2a7551765c | /src/code/basic/OSDLCommandManager.h | ae4fed4bd509156fbd2ef06ef69c14fdb8e085a3 | [] | no_license | Olivier-Boudeville/OSDL-Heavy | 1ca02761d8d971cd66c76fdde56a137f9eb26e0a | ab0a857849999423291e76a32c627776cce678de | refs/heads/master | 2021-01-19T03:24:14.399709 | 2014-05-03T19:05:44 | 2014-05-03T19:05:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,406 | h | OSDLCommandManager.h | /*
* Copyright (C) 2003-2013 Olivier Boudeville
*
* This file is part of the OSDL library.
*
* The OSDL library is free software: you can redistribute it and/or modify
* it under the terms of either the GNU Lesser General Public License or
* the GNU General Public License, as they are published by the Free Softw... |
6f08ab14aac8a2a466c2cb03f95c4f0611edeeeb | afb36eb8fd2059b2255f32cee0b21d7f08dad3aa | /OOPs with C++ Programming/CPP/1_C_CPP_Difference/String/Getline.cpp | c9e1481ded90c384824d9debdb30d9e9511e7222 | [] | no_license | anantgehi/Post-Graduate-Diploma-in-Advanced-Computing-CDAC | 33d1645d6fe75817e490c63ec1da497426167e8a | 8f8605d31b3e8eeaf29ba23b46642803a89ef124 | refs/heads/main | 2023-04-12T06:59:28.978009 | 2021-04-29T16:01:26 | 2021-04-29T16:01:26 | 412,961,496 | 1 | 2 | null | 2021-10-03T02:57:40 | 2021-10-03T02:57:39 | null | UTF-8 | C++ | false | false | 190 | cpp | Getline.cpp | #include <iostream>
#include <string>
using namespace std;
int main () {
string str;
cout << "Please enter full name: ";
getline (cin,str);
cout << "Thank you, " << str << ".\n";
}
|
a6b58be4f5b3ec3963d085ce68326b0fec96a3f6 | 04d993acdf1609329870d6dd1a8f6d4170f0fce5 | /day2.cpp | d55c55f4fcdb247bd565e4cca44819c5496a527d | [] | no_license | dreum/AdventOfCode2018 | 98f769c21ab53600ace3f0720b7bf79ae87e1d55 | fef89deda8f2930755efd83ea3dceab24d0546ef | refs/heads/master | 2020-04-12T11:27:40.833153 | 2018-12-21T13:39:12 | 2018-12-21T13:39:12 | 162,460,072 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,794 | cpp | day2.cpp | #include <algorithm>
#include <iostream>
#include <vector>
#include <string>
using namespace std;
struct OffByOneComparison
{
bool operator()(string const& first, string const& second)
{
vector<int> diffCharIndices;
for(auto i{0u}; i < first.size(); ++i)
{
if(first[i] != second[i])
diffCharIndices.push_... |
d156e4c3a37dede7cf4972f18967e8cba140add2 | ccc00e43d72c55eeec6b2a41cdae11aa27251ea0 | /Project10/Project10/소스.cpp | a816706419b75876ad7ab882daad09010a365209 | [] | no_license | khyojun/visualcode | 80ddd1bf32e9794254729b8a69e027defacac656 | 273895a7f6313c76d4190c2cc73668cb5eeac3a6 | refs/heads/master | 2022-07-08T10:23:18.738476 | 2018-12-17T06:49:29 | 2018-12-17T06:49:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,212 | cpp | 소스.cpp | #include <stdio.h>
#include <string.h>
#include <algorithm>
using namespace std;
#pragma warning(disable:4996)
int L, C;
char alpha[1010];
int sor[1010];
char mo[5] = { 'a' , 'e', 'i', 'o', 'u' };
char pass[1010];
bool chek(char arr1[])
{
int mo1 = 0;
int ja = 0;
for (int i = 0; i < strlen(mo); i++)
{
for (int j ... |
e583b25a12d0ba7c95f8e41dae549d84e0ac674c | 4f14b1901d909b0b917d35815e7b19233692f25b | /binomial-heap/BinomialHeap.hpp | 1061dafa23e8fd0a52041d7d10c12c1d95c3f2cb | [] | no_license | nayuki/Nayuki-web-published-code | e61a761e5c188aeacd35e5c8ddd005460545c94e | 49414617b088ec4c4e339a6c1caa7ec0f40eb58f | refs/heads/master | 2023-08-24T10:54:42.862243 | 2023-03-14T05:29:56 | 2023-03-14T05:29:56 | 25,706,873 | 133 | 53 | null | 2017-02-20T08:39:16 | 2014-10-24T20:33:24 | Java | UTF-8 | C++ | false | false | 7,704 | hpp | BinomialHeap.hpp | /*
* Binomial heap (C++)
*
* Copyright (c) 2021 Project Nayuki. (MIT License)
* https://www.nayuki.io/page/binomial-heap
*
* 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 r... |
f85fc6b4362155341115b946329a63d332d4f1e0 | 826c99e63fcdd0f45c78b8ebd97a1557dc3eabda | /cracking_1_3.cpp | 92bd58ee1bdcc9836220fa595260a6b401b6e549 | [] | no_license | cjwfries/puzzles | b908f523d5670f91102266733903165c7e0f07ed | b7ab5654cd529069575e6880cf7eaecde709abaf | refs/heads/master | 2021-01-13T01:55:08.738065 | 2013-08-01T05:24:14 | 2013-08-01T05:24:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 781 | cpp | cracking_1_3.cpp | #include <cstddef>
#include <iostream>
#include <climits>
#include <string>
using namespace std;
#define ASCII_SET_SIZE 128
/* 7/27/13 Cracking the Coding Interview
* 1.3 Given 2 strings, decide if 1 is a permutation of the other
*/
bool isPermutation(string s1, string s2)
{
if(s1.length() != s2.length())
return... |
6cf7b33bd2b042e51a710b3a4897a4a2a4309975 | 618790f0d10472740c2b3dca66badb40c61fe4bd | /Day23/l4.cpp | 43529033a9fc66d39dac1d6533481f70c0b6e971 | [] | no_license | SwarnenduGanguli25/Code-Asylums | 94fbdada20d78053f0f5f7736b8f0f4110821816 | 2f7215e9651f6258c746843fc6bcc8e9bbfe6c1d | refs/heads/master | 2022-11-05T13:07:03.580906 | 2020-07-02T07:52:15 | 2020-07-02T07:52:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,389 | cpp | l4.cpp | /* Write a GetNth() function that takes a linked list and an integer index and
returns the data value stored in the node at that index position.
Example:
Input: 1->10->30->14, index = 2
Output: 30
The node at index 2 is 30
*/
#include<iostream>
using namespace std;
struct Node {
int data;
struct Node* next;
};... |
283717f003b1c047f91b69a4d8631fb94361fdb2 | 94b771e2b0d40342abc1e2d7213c1a84d8499851 | /src/webrtc/include/webrtc/multiplexmediacapturer.h | 91bc88fd0abbb93c33eb4077b2924d6ccd44ac8f | [] | no_license | hermanumrao/mediaserver | 6468bc5de8827dc574b42f3466b5c163252fcf4a | 6a4a34b3006e5fca5c360010c6df361a538cf23b | refs/heads/master | 2022-11-29T22:50:03.281390 | 2020-08-22T13:29:38 | 2020-08-22T13:29:38 | 274,053,774 | 1 | 0 | null | 2020-06-22T06:07:56 | 2020-06-22T06:07:55 | null | UTF-8 | C++ | false | false | 969 | h | multiplexmediacapturer.h |
#ifndef WebRTC_MultiplexMediaCapturer_H
#define WebRTC_MultiplexMediaCapturer_H
#include "base/base.h"
#ifdef HAVE_FFMPEG
#include "ff/ff.h"
#include "ff/mediacapture.h"
#include "webrtc/audiopacketmodule.h"
#include "webrtc/videopacketsource.h"
#include "api/peerconnectioninterface.h"
namespace base {
namespa... |
e7ed9c988c04bff6b61b83111f8b5ac2c16b3e42 | 822c36d1ebeedc6f38cb8d93a71318e0d9adca77 | /GeometrySketchpad/DialogCircle.cpp | e71e1aa6469724300dcf6d6631853edd852b887e | [
"Unlicense"
] | permissive | lightyears1998/geometry-sketchpad | c93bb48cf462fdbdb47ffd0a1dce33cbe59ae2a0 | f5a0a6be61cb46d28eaa32141b294dd60b0525fe | refs/heads/master | 2020-04-15T11:52:31.634195 | 2019-02-22T04:43:53 | 2019-02-22T04:43:53 | 164,648,459 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 705 | cpp | DialogCircle.cpp | // DialogCircle.cpp: 实现文件
//
#include "stdafx.h"
#include "GeometrySketchpad.h"
#include "DialogCircle.h"
#include "afxdialogex.h"
// DialogCircle 对话框
IMPLEMENT_DYNAMIC(DialogCircle, CDialogEx)
DialogCircle::DialogCircle(CWnd* pParent /*=nullptr*/)
: CDialogEx(IDD_CIRCLE, pParent)
, coordinate_x(0)
, coordinat... |
35260dbcd0aa8df169492f310c81e18bbb10d7df | 82a43b7a2ffd8cb3232bc6ab6ad563173d597cff | /libvast/vast/concept/printable/vast/value.hpp | b5a2f90ff7b6e65b7ee4b9213f23bd11ca1aee60 | [
"BSD-3-Clause"
] | permissive | cjolivier01/vast | 9fd52c7124f65b679ceceed86a4a8cdc2d3011f4 | 1a8aa2eda2a34450507f48385825e73381ce3b3a | refs/heads/master | 2021-06-25T17:57:59.593575 | 2017-08-15T05:08:03 | 2017-08-15T05:08:03 | 105,785,573 | 1 | 0 | null | 2017-10-04T15:33:44 | 2017-10-04T15:33:38 | C++ | UTF-8 | C++ | false | false | 543 | hpp | value.hpp | #ifndef VAST_CONCEPT_PRINTABLE_VAST_VALUE_HPP
#define VAST_CONCEPT_PRINTABLE_VAST_VALUE_HPP
#include "vast/value.hpp"
#include "vast/concept/printable/vast/data.hpp"
namespace vast {
struct value_printer : printer<value_printer> {
using attribute = value;
template <typename Iterator>
bool print(Iterator& out,... |
aad8650e52f5f0af21ff448646a32ec974189a38 | 7d83df57b7cb4a98733c76ad8c6a9691b2ca7890 | /dev/ese/published/inc/os/memory.hxx | d32ad5c2fcee5c89b6fb8554517833223928cb0a | [
"MIT"
] | permissive | microsoft/Extensible-Storage-Engine | 30ab5bf8b5f8f2c2b5887b1dfa59b82c0588de70 | 933dc839b5a97b9a5b3e04824bdd456daf75a57d | refs/heads/main | 2023-08-13T11:53:52.563089 | 2022-07-29T17:16:38 | 2022-07-29T17:16:38 | 331,747,853 | 844 | 66 | MIT | 2023-06-15T11:57:35 | 2021-01-21T20:34:01 | C++ | UTF-8 | C++ | false | false | 16,759 | hxx | memory.hxx | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#ifndef _OS_MEMORY_HXX_INCLUDED
#define _OS_MEMORY_HXX_INCLUDED
#pragma warning(push)
#pragma warning(disable:4595) // non-member operator new or delete functions may not be declared inline
const BYTE bGlobalAllocFill = (BYTE)0xba;
const ... |
23c03794447fb8d21cb80f5308b2dd1fece6eb62 | 370a48d63ae2fadfed0f8f39f1da31afc942d12f | /src/trainSet/inputSet.cpp | 17be0ce1a20e3614151d2049ddb984e0f4a493d1 | [] | no_license | elcabesa/neuralNet | 43c3ee1fae610581b286dff811c7355998f513dc | dea4438bcea2d46d28940e33172c6959853d7bd1 | refs/heads/master | 2023-01-29T18:16:05.603718 | 2020-09-12T08:04:09 | 2020-09-12T08:04:09 | 294,898,184 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 71 | cpp | inputSet.cpp | #include "inputSet.h"
InputSet::InputSet(){}
InputSet::~InputSet(){}
|
e67fa897307613bb29895ca2efe904d20ffee565 | 7becf623eaeae4f9cebd184a85665b6eaa93cf7f | /build/message_info/rosidl_generator_cpp/message_info/msg/vision_geometry.hpp | a0634b98cca17d8c44c7503ffc5e941da85889cb | [] | no_license | mukuyo/SSLRasp | bb1f00609e998dd5fa5aee5e92fe7986860d43fb | 90889a714e2e174fb417098bc2a349658cd7598f | refs/heads/main | 2023-09-05T02:18:56.943849 | 2021-07-21T19:04:18 | 2021-07-21T19:04:18 | 360,840,199 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 453 | hpp | vision_geometry.hpp | // generated from rosidl_generator_cpp/resource/idl.hpp.em
// generated code does not contain a copyright notice
#ifndef MESSAGE_INFO__MSG__VISION_GEOMETRY_HPP_
#define MESSAGE_INFO__MSG__VISION_GEOMETRY_HPP_
#include "message_info/msg/detail/vision_geometry__struct.hpp"
#include "message_info/msg/detail/vision_geome... |
e4ae6b0e1d319d2af5020152c05b1b371bc47ca1 | 52a9de68fd06139997374570e46c9bcaa98a7fc3 | /NightLight/NightLight.ino | 52d90e9393e5017136dd61a2d987ce1aef37b221 | [] | no_license | BtpPrograms/ArduinoDigitalSandbox | 0b8c6c543d092bbcab1df0a282552a5edeebef18 | 65681702b71efa9ddbfbfed7571e0fabe31b74df | refs/heads/master | 2016-09-01T04:16:21.382238 | 2015-12-12T21:35:09 | 2015-12-12T21:35:09 | 46,365,052 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 302 | ino | NightLight.ino | int dark;
void setup() {
dark = 10;
Serial.begin(9600);
}
void loop() {
Serial.println(A1);
if(analogRead(A1) <= dark) {
digitalWrite(4, HIGH);
digitalWrite(8, HIGH);
}
else {
digitalWrite(4, LOW);
digitalWrite(8, LOW);
}
delay(100);
}
|
943fce8503d6d73a1c8ba36fa7fe4fee4304a95d | 8cc355e8465211f4384655f55472d50d080ce1ac | /file/file.h | 5cdd2a9d67b310408bd032fce5fdbee988436143 | [
"CC0-1.0"
] | permissive | pgrawehr/golgotha | 47fb1e47c9a2e7f24e0ce7dde188f884a5504438 | 94e0b448d7e7224e56c27b029dec80ca710ceb8b | refs/heads/master | 2023-06-29T12:04:11.302599 | 2022-03-19T08:09:59 | 2022-03-19T08:09:59 | 40,831,531 | 7 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 8,021 | h | file.h | /********************************************************************** <BR>
This file is part of Crack dot Com's free source code release of
Golgotha. <a href="http://www.crack.com/golgotha_release"> <BR> for
information about compiling & licensing issues visit this URL</a>
<PRE> If that doesn't help, ... |
ede16dcc901e5fa22cc81fc91178b4b1cea0216c | f8b1dfccaef5a8f75567b527fc7c2f0a34e3877b | /codeforce/c544/pa.cpp | 8abf4cec110dc6c51c711ba4699f2344f2fdede4 | [] | no_license | bamboohiko/problemSolve | e7e2a2c6e46a4d10ccfa54cffff3c9895b3ddb1b | cd3e9e5986325f5def4efe01975a950f6eaa6015 | refs/heads/master | 2021-01-17T06:39:42.502176 | 2017-09-13T14:30:08 | 2017-09-13T14:30:08 | 47,928,189 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 653 | cpp | pa.cpp | #include<iostream>
#include<cstdio>
#include<map>
#include<set>
#include<vector>
#include<stack>
#include<queue>
#include<string>
#include<cstring>
#include<algorithm>
#include<cmath>
using namespace std;
set<char> dic;
int main()
{
int n;
string st;
scanf("%d",&n);
cin >> st;
for (int i = 0;i <... |
fb683512e28e0811e274e949553b746186e06483 | dc775430a181b1b296fa40cce185dcecc0032432 | /windowplaying.cpp | 951d2a23b71796f8bff65151f2e3b67797c312f7 | [] | no_license | zscszndxdxs/ElectronicPet | ee379c82c72a7631ebe2aa38425693add48a597a | 02005677fe79fea725e6d29f91638b4d91e8fcbc | refs/heads/master | 2023-07-13T05:57:04.354123 | 2021-08-26T06:14:02 | 2021-08-26T06:14:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 97 | cpp | windowplaying.cpp | #include "windowplaying.h"
windowPlaying::windowPlaying(QWidget *parent) : QWidget(parent)
{
}
|
36b2d237ae1fa06dfac5cc7c3442909b52175b83 | ff92d7103cc73306d85f83583f7104095b84b72e | /callstack/appl_callstack_service.cpp | b39290166156ffa85cd66440bf26eed0b78ea506 | [
"MIT"
] | permissive | fboucher9/appl | 43d94878518d3c43d6d6df2b2844d37b4b94222a | bb90398cf9985d4cc0a2a079c4d49d891108e6d1 | refs/heads/master | 2021-06-06T07:28:53.144067 | 2019-11-07T01:50:58 | 2019-11-07T01:50:58 | 115,062,399 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,011 | cpp | appl_callstack_service.cpp | /* See LICENSE for license details */
/*
*/
#include <appl_predefines.h>
#include <callstack/appl_callstack_service.h>
#include <appl_types.h>
#include <appl_status.h>
#include <buf/appl_buf.h>
#include <buf/appl_buf0.h>
#include <buf/appl_str.h>
#include <misc/appl_unused.h>
#include <misc/appl_convert.h>
... |
b2b316a03681b8f3f28f1fb0468b1fb3351553c5 | f0f47361fa1b539ce1c5d6546e9f00214e493b7b | /lessons/classLesson/classLesson.ino | 5925100ff042c2867b6a349379018787e292d6e1 | [] | no_license | aefrank/SMPRobotics2017 | 9e9adf9cf47a1ab599ee5003cededad9806e94df | bf51775b30e2ae772315f1c2811a9be2f077b79f | refs/heads/master | 2020-12-02T08:15:26.883735 | 2017-08-25T18:30:33 | 2017-08-25T18:30:33 | 96,794,905 | 0 | 2 | null | 2017-07-10T22:33:56 | 2017-07-10T15:48:21 | C++ | UTF-8 | C++ | false | false | 2,552 | ino | classLesson.ino | /* Lesson: Writing classes - Person class
* By Andrea Frank
* 7/17/2017
* SMP Robotics 2017
*
* Students are first instructed to write a class called Person that
* can be instantiated as individual Persons. They are requested to
* give the Person class public fields for name and occupation, and
* priv... |
eaaa7761edf2854cdb6416430d43898a08de6569 | f1da33ef6e78fe962aa86be5f63e0b8ab8f26289 | /car.h | 664a861ac58eb8ece6baaad846cbed2e0af12ca5 | [] | no_license | 00riddle00/BSc1-ProgrammingCpp-car-database | 89518ed564fc2159825785a36461400d81bde348 | 45b48b72b85f7bf92b7c45c9d8ce5e2b7591263f | refs/heads/master | 2020-08-31T04:42:53.006023 | 2018-04-29T12:53:19 | 2018-04-29T12:53:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,921 | h | car.h | #ifndef __CAR_H_
#define __CAR_H_
#include "wheels.h"
const int MAX_ENTRY_SIZE = 30;
const int LATEST_YEAR = 2018;
const int EARLIEST_YEAR = 1920;
const int MAX_PRICE = 1e9;
const int MAX_MAX_SPEED = 420;
const float MAX_NOT_TO_SIXTY = 100.0;
const float MAX_SIXTY_TO_MAX_SPEED = 1000.0;
const float MAX_HEIGHT_FROM_G... |
f1ebbd6e74081a7d751b7e49237e88b330f697c5 | 8292e1f6f3ff4fa0afd8aafe9aaaa5135d82d077 | /OOP Homework/Thuc hanh/Week8/Exercise 3 + 4/Rectangle.cpp | 9788dfcf566381f88d9eaab6f6928d22306b46ba | [] | no_license | lkdn3t/First-Year-In-UIT | b03abcd18506d5916bac609d536bb333e7a4f03d | ca7a5f4c1ca81bd7898176d24fb027891303321e | refs/heads/master | 2021-04-06T04:02:07.216858 | 2018-07-03T14:17:10 | 2018-07-03T14:17:10 | 123,702,504 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 763 | cpp | Rectangle.cpp | #include "Rectangle.h"
bool Rectangle::isRectangle() {
if (!isParallelogram()) return false;
if (point[0].get_y() == point[1].get_y()) return point[0].get_x() == point[3].get_x();
return point[0].get_x() == point[1].get_x();
}
Rectangle::Rectangle(Point2D AA, Point2D BB, Point2D CC, Point2D DD) {
this->point[0] =... |
23439669adb60c4ac3c0ea9221a919034bef1b9a | 79d3221f551c86fb9de43e15a9d75369c5a3abc2 | /Source/Jogo2D/Enemy.cpp | bc77e79e4b7a09ae9ea36bfb050a09debff7527e | [] | no_license | R1tter/Avalia-o1 | e696d88ece13a73f4d720e790f45b00f284df19e | 9d222b6e69fc665262f179ff1e58c0de925c5ca5 | refs/heads/master | 2021-01-22T18:46:22.684103 | 2017-09-29T01:29:11 | 2017-09-29T01:29:11 | 102,414,661 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,884 | cpp | Enemy.cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "Enemy.h"
#include "Components/BoxComponent.h"
#include "PaperFlipbookComponent.h"
#include "Personagem.h"
#include "Bullet.h"
// Sets default values
AEnemy::AEnemy()
{
// Set this pawn to call Tick() every frame. You can turn... |
501c26720c8879f1797f5180faeeed94bd40af9f | e0387cf8f45d3e2b7ea3788b299f195a621708a8 | /Source/Sable/Core/Math/Vector2i.h | e34ed82e5a1d50006ff9bdd5d2b11c2a8112248d | [] | no_license | ClementVidal/sable.sable | eea0e822d90739269e35bed20805a2789b5fbc81 | 0ec2cd03867a4673472c1bc7b071a3f16b55fb1b | refs/heads/master | 2021-01-13T01:28:54.070144 | 2013-10-15T15:21:49 | 2013-10-15T15:21:49 | 39,085,785 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,809 | h | Vector2i.h | #ifndef _SABLE_CORE_MATH_VECTOR2I_
#define _SABLE_CORE_MATH_VECTOR2I_
#include <Sable\Core\Common\DataTypes.h>
#include <Sable\Core\Math\Tuple.h>
namespace Sable
{
class CVector2f;
class CPersistentArchive;
/**
\ingroup CoreMath
Vector 2.
*/
class CVector2i : private STuple2i
{
public:
/**... |
54b7c21c975fb81574f3b676d4edc15f33f18717 | 72e95df33ab3fb6bba03a81867b77b755f46bb66 | /shared_model/backend/protobuf/deserialize_repeated_transactions.hpp | c70ba2aeee66e026b02088ea2548cb190039f3fb | [
"Apache-2.0",
"CC-BY-4.0"
] | permissive | hyperledger/iroha | f07a81389fe1d3c488968919ab9196c548048f3a | f2d96e3050a504a982b983d8061588d8c650c5ad | refs/heads/main | 2023-09-06T00:40:53.092106 | 2023-09-01T17:37:08 | 2023-09-01T17:37:08 | 67,340,575 | 1,125 | 419 | Apache-2.0 | 2019-04-16T17:26:30 | 2016-09-04T11:17:53 | C++ | UTF-8 | C++ | false | false | 1,135 | hpp | deserialize_repeated_transactions.hpp | /**
* Copyright Soramitsu Co., Ltd. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef IROHA_SHARED_MODEL_PROTO_DESERIALIZE_REPEATED_TRANSACTIONS_HPP
#define IROHA_SHARED_MODEL_PROTO_DESERIALIZE_REPEATED_TRANSACTIONS_HPP
#include "common/result.hpp"
#include "interfaces/common_objects/transactio... |
c6829f835393928d6f78a1a4d4255b6fa5dd456d | 1b4e1f33b0b6afc551143c4bd115494a14831901 | /kitchen.ino | cc0ec377624dc1a4b1f650ddef1dc6bb8464f2ac | [] | no_license | solarmania/IAQ-monitor | 0d591c5609194164bea2a448fcaf88b632bdfdd3 | 5d0bea5220edca804ee811d9e105d7ff0e88934f | refs/heads/master | 2020-04-01T11:41:49.327226 | 2018-10-16T10:18:58 | 2018-10-16T10:18:58 | 153,173,411 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,000 | ino | kitchen.ino | #include <SoftwareSerial.h>
#include <Wire.h>
#include <SDS011.h>
#include <Adafruit_SHT31.h>
#include <ESP8266WiFi.h>
SoftwareSerial co2(D7,D8);
SDS011 dust;
Adafruit_SHT31 tempHumid = Adafruit_SHT31();
const byte readCmd[] = {0xFF,0x01,0x86,0x00,0x00,0x00,0x00,0x00,0x79};
const char* ssid = "myid";
... |
8a681fd7f823ecfe5477625b85ec6dfcaa22456b | c0621b0c0ba69cc5c5014a3c31fd2152ac1337a5 | /ast/functionargumentexpr.h | d20dce78e1841673a249007fbddd8e2ebc9b9bce | [] | no_license | chakalov/wait-for-it | f3148c19bc896ef829492d8433b6a6cec4749c0c | 0ed72734fa2b65f4607128ed6646741e19506ef5 | refs/heads/master | 2021-01-18T15:12:33.508723 | 2014-04-04T18:26:44 | 2014-04-04T18:26:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 437 | h | functionargumentexpr.h | #ifndef FUNCTIONARGUMENTEXPR_H
#define FUNCTIONARGUMENTEXPR_H
#include "localvariableexpr.h"
namespace wait_for_it {
class FunctionArgumentExpr: public LocalVariableExpr
{
llvm::Value *m_param;
public:
FunctionArgumentExpr(std::string type, std::string name);
void setParameter(llvm::Value *val);
virt... |
86e619a127c188d8361a5fa463b37b294b062081 | 1b3aab0c21bd5d969a9baeeea63f97f59881cfdc | /queuewithstacks.cpp | 3e18ba014061951b7b899840a9d6537681ba8543 | [] | no_license | pritambiswas544/stacks-and-queues | 4e398c64c430198a5e382d3bd8cefe72e078e5bb | b9d06e791aba7b97f09d44cd5848658e3a36a566 | refs/heads/master | 2020-04-21T17:36:09.828895 | 2019-02-09T15:36:55 | 2019-02-09T15:36:55 | 169,741,081 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,086 | cpp | queuewithstacks.cpp | #include<iostream>
#include"templatestack.cpp"
using namespace std;
//making a class named queue
class queue{
public:
stackarr s1;
stackarr s2;
//int *a=(int*)&(s1.top);
//int *b=(int*)&(s2.top);
//function for inserting the element
void enqueue(int x){
//checking if the stack s1 is empty
whi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.