hexsha stringlengths 40 40 | size int64 7 1.05M | ext stringclasses 13
values | lang stringclasses 1
value | max_stars_repo_path stringlengths 4 269 | max_stars_repo_name stringlengths 5 109 | max_stars_repo_head_hexsha stringlengths 40 40 | max_stars_repo_licenses listlengths 1 9 | max_stars_count int64 1 191k ⌀ | max_stars_repo_stars_event_min_datetime stringlengths 24 24 ⌀ | max_stars_repo_stars_event_max_datetime stringlengths 24 24 ⌀ | max_issues_repo_path stringlengths 4 269 | max_issues_repo_name stringlengths 5 116 | max_issues_repo_head_hexsha stringlengths 40 40 | max_issues_repo_licenses listlengths 1 9 | max_issues_count int64 1 48.5k ⌀ | max_issues_repo_issues_event_min_datetime stringlengths 24 24 ⌀ | max_issues_repo_issues_event_max_datetime stringlengths 24 24 ⌀ | max_forks_repo_path stringlengths 4 269 | max_forks_repo_name stringlengths 5 116 | max_forks_repo_head_hexsha stringlengths 40 40 | max_forks_repo_licenses listlengths 1 9 | max_forks_count int64 1 105k ⌀ | max_forks_repo_forks_event_min_datetime stringlengths 24 24 ⌀ | max_forks_repo_forks_event_max_datetime stringlengths 24 24 ⌀ | content stringlengths 7 1.05M | avg_line_length float64 1.21 330k | max_line_length int64 6 990k | alphanum_fraction float64 0.01 0.99 | author_id stringlengths 2 40 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
27910339e94f6713e5880f35ac0d4881b973594a | 10,836 | cpp | C++ | bson.cpp | NoFr1ends/godot-mongodb | 1245bfa32faaa83a6ad1f7e69c3ba770ced42826 | [
"MIT"
] | 1 | 2021-09-13T17:27:16.000Z | 2021-09-13T17:27:16.000Z | bson.cpp | NoFr1ends/godot-mongodb | 1245bfa32faaa83a6ad1f7e69c3ba770ced42826 | [
"MIT"
] | null | null | null | bson.cpp | NoFr1ends/godot-mongodb | 1245bfa32faaa83a6ad1f7e69c3ba770ced42826 | [
"MIT"
] | null | null | null | #include "bson.h"
#include "core/io/marshalls.h"
#include "objectid.h"
#define MAKE_ROOM(m_amount) \
if (data->size() < m_amount) data->resize(m_amount)
#define WRITE_TYPE(type) \
MAKE_ROOM(position + 1); \
data->write[position] = type; \
position++;
#define WRITE_FIELD(name) \
CharString cstr = n... | 27.572519 | 116 | 0.488188 | NoFr1ends |
27911e786a7a8fa478ecba7ea9bc155c124f944e | 6,101 | hpp | C++ | 24eBAC_Vehicles/Classes/Vehicles/HatchbackCivil.hpp | Heartbroken-Git/TFP_CORE | 2102248d548f2a2d69794f6c47932f9a998c5c3a | [
"RSA-MD",
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | 24eBAC_Vehicles/Classes/Vehicles/HatchbackCivil.hpp | Heartbroken-Git/TFP_CORE | 2102248d548f2a2d69794f6c47932f9a998c5c3a | [
"RSA-MD",
"Naumen",
"Condor-1.1",
"MS-PL"
] | 37 | 2016-03-29T06:25:42.000Z | 2021-01-03T19:12:19.000Z | 24eBAC_Vehicles/Classes/Vehicles/HatchbackCivil.hpp | Heartbroken-Git/TFP_CORE | 2102248d548f2a2d69794f6c47932f9a998c5c3a | [
"RSA-MD",
"Naumen",
"Condor-1.1",
"MS-PL"
] | 2 | 2017-12-13T23:10:05.000Z | 2019-03-16T11:55:34.000Z | class 24eBAC_Hatchback_CICR:C_Hatchback_01_F
{
_generalMacro = "C_Hatchback_01_F";
scope = 2;
side = 3;
faction = "CIV_F";
displayName="Voiture a hayon CICR";
author = "Heartbroken";
crew = "TFD_Benevole_polo";
hiddenSelections[]= {"Camo1"};
hiddenSelectionsTextures[]= {"\24eBAC_Vehicles\Data\Hatchback_Civ\Hat... | 27.858447 | 93 | 0.731192 | Heartbroken-Git |
27994ebd8872d05d30583e66807a30aa694aee5c | 8,593 | cpp | C++ | HW1/src/scene/benchmark_scene.cpp | xupei0610/Animation-Planning-in-Games-HW | f66399959127f2a88f174b22302b25e35e1aebb3 | [
"MIT"
] | 4 | 2019-01-23T09:13:33.000Z | 2021-12-03T02:50:01.000Z | HW1/src/scene/benchmark_scene.cpp | xupei0610/Animation-Planning-in-Games-HW | f66399959127f2a88f174b22302b25e35e1aebb3 | [
"MIT"
] | null | null | null | HW1/src/scene/benchmark_scene.cpp | xupei0610/Animation-Planning-in-Games-HW | f66399959127f2a88f174b22302b25e35e1aebb3 | [
"MIT"
] | null | null | null | #include "scene/benchmark_scene.hpp"
#include "scene.hpp"
#include "util/random.hpp"
#include "app.hpp"
#include "config.h"
#include <cstring>
#include <glm/gtx/norm.hpp>
using namespace px;
#include "scene/impl/benchmark_transform_feedback_particle_system.hpp"
#include "scene/impl/benchmark_simd_particle_system.hpp... | 35.804167 | 132 | 0.567089 | xupei0610 |
279b97cd76049af40a893ffc543c496c7a0558b9 | 1,287 | cpp | C++ | Test/Test.cpp | INotfound/PluginFrameWork | 3175ee7d296ecc6d7fd50265c079673ae030e662 | [
"Apache-2.0"
] | 4 | 2020-08-24T03:24:54.000Z | 2022-03-15T01:45:34.000Z | Test/Test.cpp | INotfound/PluginFrameWork | 3175ee7d296ecc6d7fd50265c079673ae030e662 | [
"Apache-2.0"
] | null | null | null | Test/Test.cpp | INotfound/PluginFrameWork | 3175ee7d296ecc6d7fd50265c079673ae030e662 | [
"Apache-2.0"
] | null | null | null | /*
* @File:
* @Author: INotFound
* @Date: 2020-07-08 16:40:20
* @LastEditTime: 2020-07-27 11:56:02
*/
#include <cstdlib>
#include <iostream>
#include "PluginFramework.h"
// if(true){
// MAGIC_DEBUG() << "true";
// }else
// MAGIC_DEBUG() << "false";
int main(){
try{
Safe<Mag... | 33.868421 | 105 | 0.647242 | INotfound |
279e744d75057333b0eb6aae84ae1aaefad41efa | 10,956 | cpp | C++ | source/main.cpp | Tchayen/comf | 6ab2beac919e30ecbbba11817855a795731e8788 | [
"MIT"
] | 3 | 2021-06-16T17:18:38.000Z | 2021-12-03T07:51:25.000Z | source/main.cpp | Tchayen/comf | 6ab2beac919e30ecbbba11817855a795731e8788 | [
"MIT"
] | null | null | null | source/main.cpp | Tchayen/comf | 6ab2beac919e30ecbbba11817855a795731e8788 | [
"MIT"
] | 1 | 2021-06-16T17:18:42.000Z | 2021-06-16T17:18:42.000Z | #include <map>
#include <thread>
#include <string>
#include "glew-1.9.0\glew.h"
#include "glfw-3.2\glfw3.h"
#include "soil-1.16\SOIL.h"
#include "glm-0.9.7.5\glm\glm.hpp"
#include "glm-0.9.7.5\glm\gtc\matrix_transform.hpp"
#include "glm-0.9.7.5\glm\gtc\type_ptr.hpp"
#include "Utility.hpp"
#include "Grap... | 32.802395 | 145 | 0.643483 | Tchayen |
27a149569054fe4be6a95ce37983ea84d87ca889 | 1,402 | cpp | C++ | src/Values.cpp | Alfheim/node-julia | 72c202e149912ba09d3aea8c006aba83ae447b64 | [
"MIT"
] | 71 | 2015-01-17T12:35:43.000Z | 2021-12-01T06:04:22.000Z | src/Values.cpp | Alfheim/node-julia | 72c202e149912ba09d3aea8c006aba83ae447b64 | [
"MIT"
] | 33 | 2015-02-24T00:21:53.000Z | 2018-01-18T01:12:23.000Z | src/Values.cpp | Alfheim/node-julia | 72c202e149912ba09d3aea8c006aba83ae447b64 | [
"MIT"
] | 15 | 2015-04-24T06:48:03.000Z | 2021-12-07T20:39:38.000Z | #include <sstream>
#include "Values.h"
using namespace std;
bool nj::ASCIIString::toBoolean() const throw(InvalidException)
{
istringstream ss(val());
bool b;
ss >> b;
return b;
}
char nj::ASCIIString::toChar() const throw(InvalidException)
{
istringstream ss(val());
char c;
ss >> c;
return c... | 16.494118 | 64 | 0.643367 | Alfheim |
27a17dbdc8165b36ab3ef068db449aa1090fdd6e | 5,750 | cpp | C++ | BankManagementSystem.cpp | blackaly/old_dir_problem_solving | 38c0dabb131829ec356d649870992af0c2d50688 | [
"MIT"
] | null | null | null | BankManagementSystem.cpp | blackaly/old_dir_problem_solving | 38c0dabb131829ec356d649870992af0c2d50688 | [
"MIT"
] | null | null | null | BankManagementSystem.cpp | blackaly/old_dir_problem_solving | 38c0dabb131829ec356d649870992af0c2d50688 | [
"MIT"
] | null | null | null | #include <iostream>
struct branch{
int id = 0;
std::string name = " ";
std::string manager = " ";
branch* next = nullptr;
};
branch* branch_head = nullptr;
void add_new_branch(int id, std::string name, std::string manager){
branch* new_branch = new branch;
new_branch->id = id;
new_branc... | 22.54902 | 141 | 0.477913 | blackaly |
27a359310136c1c0f85b8bd0ba03bc73288c1581 | 1,120 | cpp | C++ | problems/atcoder/abc223/d---restricted-permutation/code.cpp | brunodccarvalho/competitive | 4177c439174fbe749293b9da3445ce7303bd23c2 | [
"MIT"
] | 7 | 2020-10-15T22:37:10.000Z | 2022-02-26T17:23:49.000Z | problems/atcoder/abc223/d---restricted-permutation/code.cpp | brunodccarvalho/competitive | 4177c439174fbe749293b9da3445ce7303bd23c2 | [
"MIT"
] | null | null | null | problems/atcoder/abc223/d---restricted-permutation/code.cpp | brunodccarvalho/competitive | 4177c439174fbe749293b9da3445ce7303bd23c2 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
#ifdef LOCAL
#include "code/formatting.hpp"
#else
#define debug(...) (void)0
#endif
using namespace std;
static_assert(sizeof(int) == 4 && sizeof(long) == 8);
int main() {
ios::sync_with_stdio(false), cin.tie(nullptr);
// DAG
int N, M;
cin >> N >> M;
// must put A before ... | 18.983051 | 57 | 0.425893 | brunodccarvalho |
27a4d02fdb16f44b2311d3e5db4d9170abb0dc9b | 1,507 | hpp | C++ | shoggoth/src/Multiboot2Info.hpp | RobertZ2011/yith | 3522fe6389a36a142e54bfde16d746a67f91abf6 | [
"BSD-3-Clause"
] | null | null | null | shoggoth/src/Multiboot2Info.hpp | RobertZ2011/yith | 3522fe6389a36a142e54bfde16d746a67f91abf6 | [
"BSD-3-Clause"
] | null | null | null | shoggoth/src/Multiboot2Info.hpp | RobertZ2011/yith | 3522fe6389a36a142e54bfde16d746a67f91abf6 | [
"BSD-3-Clause"
] | null | null | null | #ifndef MULTIBOOT2
#define MULTIBOOT2
#include <stdint.h>
class Multiboot2Info {
uint32_t size;
uint32_t reserved;
public:
static const uint32_t MagicNumber;
enum class Type : uint32_t {
End = 0,
Module = 3,
BasicMemory = 4,
};
struct Tag {
Type type;
... | 22.161765 | 134 | 0.64499 | RobertZ2011 |
27a577c707961109f353967580f4ceed49dbe2de | 7,707 | cpp | C++ | Sources/ChronoRage/Modes/StartMode.cpp | benkaraban/anima-games-engine | 8aa7a5368933f1b82c90f24814f1447119346c3b | [
"BSD-3-Clause"
] | 2 | 2015-04-16T01:05:53.000Z | 2019-08-26T07:38:43.000Z | Sources/ChronoRage/Modes/StartMode.cpp | benkaraban/anima-games-engine | 8aa7a5368933f1b82c90f24814f1447119346c3b | [
"BSD-3-Clause"
] | null | null | null | Sources/ChronoRage/Modes/StartMode.cpp | benkaraban/anima-games-engine | 8aa7a5368933f1b82c90f24814f1447119346c3b | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2010, Anima Games, Benjamin Karaban, Laurent Schneider,
* Jérémie Comarmond, Didier Colin.
* 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 ... | 36.7 | 124 | 0.694953 | benkaraban |
27ab58367f6f06c723c8b6e45fece4caf526619c | 2,457 | hpp | C++ | src/config_webots.hpp | sajid-mohamed/imacs | 25810df31eeeb59c65dea71eb9467bec8fb23dd7 | [
"Apache-2.0"
] | 1 | 2021-03-22T11:18:10.000Z | 2021-03-22T11:18:10.000Z | src/config_webots.hpp | sajid-mohamed/imacs | 25810df31eeeb59c65dea71eb9467bec8fb23dd7 | [
"Apache-2.0"
] | null | null | null | src/config_webots.hpp | sajid-mohamed/imacs | 25810df31eeeb59c65dea71eb9467bec8fb23dd7 | [
"Apache-2.0"
] | 1 | 2021-03-16T20:01:45.000Z | 2021-03-16T20:01:45.000Z | /** @file config_webots.hpp
* @brief The configuration file for IMACS framework using WEBOTS simulator
*/
#ifndef CONFIG_WEBOTS_H_
#define CONFIG_WEBOTS_H_
#include <Eigen/Eigen>
#include <opencv2/opencv.hpp>
#include <stdio.h>
#include <iostream>
#include "paths.hpp"
#include "webots_api.hpp"
#include "Halide.h"... | 49.14 | 123 | 0.746846 | sajid-mohamed |
27ad1588e6d9222b0c08879fbd95f706feca59ca | 2,956 | cpp | C++ | utests/kstringstream_tests.cpp | ridgeware/dekaf2 | b914d880d1a5b7f5c8f89dedd36b13b7f4b0ee33 | [
"MIT"
] | null | null | null | utests/kstringstream_tests.cpp | ridgeware/dekaf2 | b914d880d1a5b7f5c8f89dedd36b13b7f4b0ee33 | [
"MIT"
] | null | null | null | utests/kstringstream_tests.cpp | ridgeware/dekaf2 | b914d880d1a5b7f5c8f89dedd36b13b7f4b0ee33 | [
"MIT"
] | 1 | 2021-08-20T16:15:01.000Z | 2021-08-20T16:15:01.000Z | #include "catch.hpp"
#include <dekaf2/kstringstream.h>
#include <dekaf2/kinstringstream.h>
#include <dekaf2/koutstringstream.h>
#include <vector>
using namespace dekaf2;
TEST_CASE("KStringStream") {
SECTION("Read on KIStringStream")
{
KString s("This is the content of a string\n");
KString o;
KIStringStrea... | 22.738462 | 69 | 0.645467 | ridgeware |
27ae8903478f318769a040b49da75de20f92a6cc | 686 | cpp | C++ | snippets/cpp/VS_Snippets_Data/NameTable/CPP/nametable.cpp | BohdanMosiyuk/samples | 59d435ba9e61e0fc19f5176c96b1cdbd53596142 | [
"CC-BY-4.0",
"MIT"
] | 2 | 2020-02-22T09:30:21.000Z | 2021-08-02T23:44:31.000Z | snippets/cpp/VS_Snippets_Data/NameTable/CPP/nametable.cpp | BohdanMosiyuk/samples | 59d435ba9e61e0fc19f5176c96b1cdbd53596142 | [
"CC-BY-4.0",
"MIT"
] | 555 | 2019-09-23T22:22:58.000Z | 2021-07-15T18:51:12.000Z | snippets/cpp/VS_Snippets_Data/NameTable/CPP/nametable.cpp | BohdanMosiyuk/samples | 59d435ba9e61e0fc19f5176c96b1cdbd53596142 | [
"CC-BY-4.0",
"MIT"
] | 3 | 2020-01-29T16:31:15.000Z | 2021-08-24T07:00:15.000Z |
#using <System.dll>
#using <System.Xml.dll>
using namespace System;
using namespace System::Xml;
int main()
{
//<snippet1>
NameTable^ nt = gcnew NameTable;
Object^ book = nt->Add( "book" );
Object^ price = nt->Add( "price" );
// Create the reader.
XmlReaderSettings ^ settings = gcnew XmlRea... | 21.4375 | 75 | 0.626822 | BohdanMosiyuk |
27b49978329c7edeb476af8385754aedc6387548 | 268 | hpp | C++ | Engine/Code/Engine/Math/CubeSide.hpp | tonyatpeking/SmuSpecialTopic | b61d44e4efacb3c504847deb4d00234601bca49c | [
"MIT"
] | null | null | null | Engine/Code/Engine/Math/CubeSide.hpp | tonyatpeking/SmuSpecialTopic | b61d44e4efacb3c504847deb4d00234601bca49c | [
"MIT"
] | null | null | null | Engine/Code/Engine/Math/CubeSide.hpp | tonyatpeking/SmuSpecialTopic | b61d44e4efacb3c504847deb4d00234601bca49c | [
"MIT"
] | 1 | 2019-10-02T01:48:54.000Z | 2019-10-02T01:48:54.000Z | #pragma once
#include "Engine/Core/SmartEnum.hpp"
SMART_ENUM(
CubeSide,
INVALID = -1,
RIGHT,
LEFT,
TOP,
BOTTOM,
BACK,
FRONT
)
class IVec3;
IVec3 CubeSideToNormal( CubeSide side );
CubeSide NormalToCubeSide( const IVec3& normal );
| 12.181818 | 49 | 0.652985 | tonyatpeking |
27bc64de2372d837d858743b5d9534dd49278714 | 11,094 | cpp | C++ | SDK/ARKSurvivalEvolved_StorageBox_IndustrialGrinder_functions.cpp | 2bite/ARK-SDK | c38ca9925309516b2093ad8c3a70ed9489e1d573 | [
"MIT"
] | 10 | 2020-02-17T19:08:46.000Z | 2021-07-31T11:07:19.000Z | SDK/ARKSurvivalEvolved_StorageBox_IndustrialGrinder_functions.cpp | 2bite/ARK-SDK | c38ca9925309516b2093ad8c3a70ed9489e1d573 | [
"MIT"
] | 9 | 2020-02-17T18:15:41.000Z | 2021-06-06T19:17:34.000Z | SDK/ARKSurvivalEvolved_StorageBox_IndustrialGrinder_functions.cpp | 2bite/ARK-SDK | c38ca9925309516b2093ad8c3a70ed9489e1d573 | [
"MIT"
] | 3 | 2020-07-22T17:42:07.000Z | 2021-06-19T17:16:13.000Z | // ARKSurvivalEvolved (329.9) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ARKSurvivalEvolved_StorageBox_IndustrialGrinder_parameters.hpp"
namespace sdk
{
//---------------------------------------------------------------------------
//Functions
//-----------------------------------------------------... | 37.228188 | 170 | 0.74698 | 2bite |
27bec592f0d634e35ecd7c0c1b4b5732ad04d7cd | 9,102 | cpp | C++ | kcalg/sec/chacha/chacha.cpp | kn1ghtc/kctsb | ee0e5b31dbe293dad0fb6ea5acf5da1652e4e733 | [
"Apache-2.0"
] | 1 | 2021-03-16T00:10:51.000Z | 2021-03-16T00:10:51.000Z | kcalg/sec/chacha/chacha.cpp | kn1ghtc/kctsb | ee0e5b31dbe293dad0fb6ea5acf5da1652e4e733 | [
"Apache-2.0"
] | null | null | null | kcalg/sec/chacha/chacha.cpp | kn1ghtc/kctsb | ee0e5b31dbe293dad0fb6ea5acf5da1652e4e733 | [
"Apache-2.0"
] | null | null | null |
#include <stdio.h>
#include <openssl/evp.h>
#include <openssl/aes.h>
#include "algApi.h"
#include "tsbBase64.h"
#include "tsbUtility.h"
#include "opentsb/kc_sec.h"
namespace ALG {
//#define CHACHA_KEY_SIZE 32
//#define CHACHA_CTR_SIZE 16
//#define CHACHA_BLK_SIZE 64
//#define POLY1305_BL... | 37.61157 | 140 | 0.596792 | kn1ghtc |
27bed18bb164f24968bfc96f0eff7f073ef423ca | 1,069 | hpp | C++ | libh2o/src/items/SpanItem.hpp | 3Jade/Ocean | a17bbd6ece6ba0a7539c933cadfc7faad564f9d2 | [
"MIT"
] | null | null | null | libh2o/src/items/SpanItem.hpp | 3Jade/Ocean | a17bbd6ece6ba0a7539c933cadfc7faad564f9d2 | [
"MIT"
] | null | null | null | libh2o/src/items/SpanItem.hpp | 3Jade/Ocean | a17bbd6ece6ba0a7539c933cadfc7faad564f9d2 | [
"MIT"
] | null | null | null | #pragma once
#include "Item.hpp"
#include <functional>
#include <string_view>
#include "../../../libocean/src/LibOcean.hpp"
class StringMatch;
class SpanItem : public Item
{
public:
typedef std::function<bool(BytecodeWriter const&, StringMatch const&, OceanValue&)> Translator;
SpanItem(std::string_view const& nam... | 33.40625 | 144 | 0.764266 | 3Jade |
27bfe94e36ac608d8f7e5ae0507be15b7d433790 | 5,067 | tpp | C++ | src/util/matrix.tpp | JamsRamen/Polycube | e2f4233361e1a87f461fb879e02964dff6a708d6 | [
"MIT"
] | 2 | 2020-09-09T16:36:36.000Z | 2021-11-01T17:59:06.000Z | src/util/matrix.tpp | jamesrayman/Polycube | e2f4233361e1a87f461fb879e02964dff6a708d6 | [
"MIT"
] | 9 | 2020-09-15T15:57:51.000Z | 2021-06-07T23:18:13.000Z | src/util/matrix.tpp | jamesrayman/Polycube | e2f4233361e1a87f461fb879e02964dff6a708d6 | [
"MIT"
] | null | null | null | #include "matrix.h"
#include "util.h"
#include <algorithm>
template<std::size_t DIM>
Matrix<DIM>::Matrix () {
for (int i = 0; i < DIM; i++) {
(*this)[i] = Vector<DIM>();
}
}
template<std::size_t DIM>
Matrix<DIM>::Matrix (const Matrix&) = default;
template<std::size_t DIM>
Matrix<DIM>::Matrix (const ... | 21.746781 | 105 | 0.562858 | JamsRamen |
27c893b7f2dfa60cf4eb32120218f8c874e6f5f6 | 642 | cc | C++ | P5 Functions & Procedures/P21281.cc | miquelt9/Problemes-PRO1 | 1bd5214ce75129e9a027728b93ad8354ec993e41 | [
"Apache-2.0"
] | 2 | 2021-09-01T10:52:32.000Z | 2021-11-09T09:19:57.000Z | P5 Functions & Procedures/P21281.cc | miquelt9/Problemes-PRO1 | 1bd5214ce75129e9a027728b93ad8354ec993e41 | [
"Apache-2.0"
] | null | null | null | P5 Functions & Procedures/P21281.cc | miquelt9/Problemes-PRO1 | 1bd5214ce75129e9a027728b93ad8354ec993e41 | [
"Apache-2.0"
] | 1 | 2021-09-24T20:00:41.000Z | 2021-09-24T20:00:41.000Z | #include <iostream>
#include <cmath>
using namespace std;
void factor(int n, int& f, int& q){
int biggestf;
int biggestq;
int aux = n;
biggestf = f = 2;
biggestq = q = 0;
while(aux%2 == 0){
q++;
aux /= 2;
}
biggestq = q;
q = 0;
f = 3;
while(f <= sqrt(n)){
if(aux%f == 0){
++q;
aux /= f;
if(q ... | 12.588235 | 37 | 0.448598 | miquelt9 |
27cd8d7892d722135b8dad38c9d4dc94efc11a3a | 947 | cpp | C++ | testMain.cpp | chuanstudyup/GPSModule_Linux | fefba429f3371f6de93be9975473ba2ab85586a1 | [
"Apache-2.0"
] | null | null | null | testMain.cpp | chuanstudyup/GPSModule_Linux | fefba429f3371f6de93be9975473ba2ab85586a1 | [
"Apache-2.0"
] | null | null | null | testMain.cpp | chuanstudyup/GPSModule_Linux | fefba429f3371f6de93be9975473ba2ab85586a1 | [
"Apache-2.0"
] | 1 | 2022-01-09T03:31:29.000Z | 2022-01-09T03:31:29.000Z | // testMain.cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。
// g++ GPS.cpp testMain.cpp serial.cpp -o testMain
/* NMEA examples
$GNRMC,083712.40,A,3030.83159,N,11424.56558,E,0.150,,291221,,,A*65\r\n
$GNRMC,083712.60,A,3030.83159,N,11424.56559,E,0.157,,291221,,,A*61\r\n
$GNRMC,083712.80,A,3030.83158,N,11424.56558,E,0.033,,... | 26.305556 | 78 | 0.613516 | chuanstudyup |
27d4d47de9c0117f3edaf06d6a751076c82bfcaa | 954 | cpp | C++ | InSight/src/InSight/Renderer/Buffer.cpp | I-Hudson/InSightEngine | a766c87a7be51a19ab796a81888fbbf93a8a43be | [
"Apache-2.0"
] | 3 | 2019-05-26T19:22:27.000Z | 2019-07-09T21:42:18.000Z | InSight/src/InSight/Renderer/Buffer.cpp | I-Hudson/InSightEngine | a766c87a7be51a19ab796a81888fbbf93a8a43be | [
"Apache-2.0"
] | 15 | 2019-05-26T09:32:22.000Z | 2019-06-11T11:31:03.000Z | InSight/src/InSight/Renderer/Buffer.cpp | I-Hudson/Insight-Engine | a766c87a7be51a19ab796a81888fbbf93a8a43be | [
"Apache-2.0"
] | null | null | null | #include "InSight/Renderer/Buffer.h"
#include "InSight/Log.h"
#include "InSight/Renderer/Renderer.h"
#include "Platform/OpenGL/OpenGLBuffer.h"
namespace InSight
{
VertexBuffer* VertexBuffer::Create(float* aVertices, uint32_t aSize)
{
switch (Renderer::GetAPI())
{
case RendererAPI::API::None:
EN_CORE_ASSE... | 23.85 | 75 | 0.725367 | I-Hudson |
27d6c512c1110a0f53cad4e1d5d6c7ac032a873d | 573 | cpp | C++ | source/GameEngine/ECS/EnemyCategory.cpp | DragonJoker/CastorTD | b055df76aff9f42945a0a5e7ed4ddbf03be84381 | [
"MIT"
] | null | null | null | source/GameEngine/ECS/EnemyCategory.cpp | DragonJoker/CastorTD | b055df76aff9f42945a0a5e7ed4ddbf03be84381 | [
"MIT"
] | null | null | null | source/GameEngine/ECS/EnemyCategory.cpp | DragonJoker/CastorTD | b055df76aff9f42945a0a5e7ed4ddbf03be84381 | [
"MIT"
] | null | null | null | #include "GameEngine/ECS/EnemyCategory.hpp"
namespace orastus
{
//*********************************************************************************************
BaseEnemy::BaseEnemy()
: EnemyCategory{ 40.0f
, { 1u
, []( uint32_t value, uint32_t level )
{
return value + std::max( level, uint32_t( value ... | 23.875 | 96 | 0.369983 | DragonJoker |
27dc905b8d262a2d9f2758674702d4dcf718ae0c | 720 | hpp | C++ | src/MEL/Daq/NI/myRIO/Detail/MyRioUtil.hpp | mahilab/MEL | b877b2ed9cd265b1ee3c1cc623a339ec1dc73185 | [
"Zlib"
] | 6 | 2018-09-14T05:07:03.000Z | 2021-09-30T17:15:11.000Z | src/MEL/Daq/NI/myRIO/Detail/MyRioUtil.hpp | mahilab/MEL | b877b2ed9cd265b1ee3c1cc623a339ec1dc73185 | [
"Zlib"
] | null | null | null | src/MEL/Daq/NI/myRIO/Detail/MyRioUtil.hpp | mahilab/MEL | b877b2ed9cd265b1ee3c1cc623a339ec1dc73185 | [
"Zlib"
] | 3 | 2018-09-20T00:58:31.000Z | 2022-02-09T06:02:56.000Z | #pragma once
#include <string>
#include <vector>
#include <bitset>
namespace mel {
/// Set a myRIO register bit to 1
void set_register_bit(unsigned int reg, int i);
/// Clear a myRIO register bit to 0
void clr_register_bit(unsigned int reg, int i);
/// Get a myRIO reigster bit
bool get_register_bit(unsigned int reg... | 24 | 59 | 0.744444 | mahilab |
27def524557fdd98ebdffd3e50018db4d3a17983 | 1,869 | cpp | C++ | tests/disass_x86.cpp | Ge0/RecursiveTraversalx86 | ec7bc7dc3e21a1ef6d07e2325ba41a35cc2a8a3a | [
"MIT"
] | 2 | 2015-12-13T17:27:50.000Z | 2016-06-15T01:50:44.000Z | tests/disass_x86.cpp | Ge0/RecursiveTraversalx86 | ec7bc7dc3e21a1ef6d07e2325ba41a35cc2a8a3a | [
"MIT"
] | null | null | null | tests/disass_x86.cpp | Ge0/RecursiveTraversalx86 | ec7bc7dc3e21a1ef6d07e2325ba41a35cc2a8a3a | [
"MIT"
] | null | null | null | #include "disass_x86.hpp"
#include <iostream>
#include "HijackFlowInstruction.hpp"
namespace RT = RecursiveTraversal;
void compute_referenced_address(const INSTRUCTION& inst, const int64_t& base_address, RT::ReferencingInstruction* instruction);
RT::Instruction* my_disass_function(const RT::BinaryRegion& binaryRegi... | 33.375 | 134 | 0.765115 | Ge0 |
27dffca651ab85498ccb721817a112b16b458d52 | 3,950 | cpp | C++ | src/plugins/monocle/recentlyopenedmanager.cpp | MellonQ/leechcraft | 71cbb238d2dade56b3865278a6a8e6a58c217fc5 | [
"BSL-1.0"
] | 1 | 2017-01-12T07:05:45.000Z | 2017-01-12T07:05:45.000Z | src/plugins/monocle/recentlyopenedmanager.cpp | MellonQ/leechcraft | 71cbb238d2dade56b3865278a6a8e6a58c217fc5 | [
"BSL-1.0"
] | null | null | null | src/plugins/monocle/recentlyopenedmanager.cpp | MellonQ/leechcraft | 71cbb238d2dade56b3865278a6a8e6a58c217fc5 | [
"BSL-1.0"
] | null | null | null | /**********************************************************************
* LeechCraft - modular cross-platform feature rich internet client.
* Copyright (C) 2006-2014 Georg Rudoy
*
* Boost Software License - Version 1.0 - August 17th, 2003
*
* Permission is hereby granted, free of charge, to any person or organiz... | 32.916667 | 78 | 0.69443 | MellonQ |
27e082eecfe7d369bc6f10f9d406f380d1adc7e9 | 74 | hpp | C++ | library/vcl/containers/grid_stack/grid_stack_2D/test/test_grid_stack_2D.hpp | loulous24/inf443-vcl | ef861c45114ecc73d58333b19336e2ab7e647c7d | [
"MIT"
] | 1 | 2020-01-09T19:33:20.000Z | 2020-01-09T19:33:20.000Z | library/vcl/containers/grid_stack/grid_stack_2D/test/test_grid_stack_2D.hpp | loulous24/inf443-vcl | ef861c45114ecc73d58333b19336e2ab7e647c7d | [
"MIT"
] | null | null | null | library/vcl/containers/grid_stack/grid_stack_2D/test/test_grid_stack_2D.hpp | loulous24/inf443-vcl | ef861c45114ecc73d58333b19336e2ab7e647c7d | [
"MIT"
] | 6 | 2020-02-25T14:33:11.000Z | 2021-03-07T11:26:03.000Z | #pragma once
namespace vcl_test
{
void test_grid_stack_2D();
}
| 9.25 | 28 | 0.662162 | loulous24 |
27e5495565d108503da0670d8d0822ebc5149007 | 789 | cpp | C++ | src/CodePanel/CodePanel.cpp | Lackym/glsl-editor | 5fc82d68fabec479a08cf06260735a713fa684d5 | [
"MIT"
] | 2 | 2021-07-10T08:55:49.000Z | 2021-08-04T18:44:51.000Z | src/CodePanel/CodePanel.cpp | Lackym/glsl-editor | 5fc82d68fabec479a08cf06260735a713fa684d5 | [
"MIT"
] | null | null | null | src/CodePanel/CodePanel.cpp | Lackym/glsl-editor | 5fc82d68fabec479a08cf06260735a713fa684d5 | [
"MIT"
] | null | null | null | #include "CodePanel.h"
CodePanel::CodePanel(wxWindow* parent, wxPoint position, wxSize size)
: wxPanel(parent, wxID_ANY, position, size)
{
SetupTextCtrl();
auto sizer = new wxBoxSizer(wxVERTICAL);
sizer->Add(_textCtrl, 1, wxEXPAND);
SetSizer(sizer);
}
std::string CodePanel::GetSrc()
{
return std::string(_textC... | 19.725 | 69 | 0.73891 | Lackym |
27ee2edf49ad403113acc207a3f0c211c2e95d6d | 2,274 | cpp | C++ | src/tilemap.cpp | Gman0064/SFML-Engine | 084a24aba6fa8698df0c2dc087d1d54d250466f0 | [
"MIT"
] | null | null | null | src/tilemap.cpp | Gman0064/SFML-Engine | 084a24aba6fa8698df0c2dc087d1d54d250466f0 | [
"MIT"
] | null | null | null | src/tilemap.cpp | Gman0064/SFML-Engine | 084a24aba6fa8698df0c2dc087d1d54d250466f0 | [
"MIT"
] | null | null | null | #include <iostream>
#include "../include/tilemap.h"
TileMap::TileMap(const std::string& tileset_path) : Node() {
name = "TileMap-" + Util::gen_uid();
position = sf::Vector2f(0, 0);
if (m_tileset.loadFromFile(tileset_path)) {
sf::Vector2u tileSize = sf::Vector2u(16, 16);
int* tiles = 0;... | 32.956522 | 98 | 0.501319 | Gman0064 |
27ee95759c0945b630a65f9ea20bbea69434c638 | 192 | cxx | C++ | OldHPCSummerSchool/Cpp-tutorial/debugging_samples/sample5.cxx | wadejong/Summer-School-Materials | 82469995a79c667e940313d423e93c7c675e0a7c | [
"BSD-3-Clause"
] | 5 | 2018-08-06T22:18:42.000Z | 2020-01-15T06:04:43.000Z | OldHPCSummerSchool/Cpp-tutorial/debugging_samples/sample5.cxx | wadejong/Summer-School-Materials | 82469995a79c667e940313d423e93c7c675e0a7c | [
"BSD-3-Clause"
] | null | null | null | OldHPCSummerSchool/Cpp-tutorial/debugging_samples/sample5.cxx | wadejong/Summer-School-Materials | 82469995a79c667e940313d423e93c7c675e0a7c | [
"BSD-3-Clause"
] | 8 | 2018-07-30T17:21:45.000Z | 2020-05-21T15:54:16.000Z | template <typename T> struct base
{
template <typename U>
U convert() const;
};
template <typename T>
struct foo : base<T>
{
foo()
{
this->convert<double>();
}
};
| 12.8 | 33 | 0.5625 | wadejong |
27ef4b2c45cb0ab3f056ae4e00968ee926c2261a | 31,581 | hpp | C++ | include/styxe/9p2000.hpp | abbyssoul/libstyxe | 0a34918a8dd919d8b2716532345ecccf8a33136a | [
"Apache-2.0"
] | 8 | 2019-10-23T19:05:27.000Z | 2021-11-12T10:57:32.000Z | include/styxe/9p2000.hpp | abbyssoul/libstyxe | 0a34918a8dd919d8b2716532345ecccf8a33136a | [
"Apache-2.0"
] | 1 | 2019-10-21T09:23:01.000Z | 2019-10-21T09:23:01.000Z | include/styxe/9p2000.hpp | abbyssoul/libstyxe | 0a34918a8dd919d8b2716532345ecccf8a33136a | [
"Apache-2.0"
] | 3 | 2018-12-25T08:57:17.000Z | 2021-11-12T10:57:40.000Z | /*
* Copyright 2018 Ivan Ryabov
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... | 31.86781 | 112 | 0.693962 | abbyssoul |
27f5c945f5b75c7f0af9d33d92da2ff541a0e0d8 | 1,326 | cpp | C++ | avr/trunk/iom16a_usart.cpp | zolotov-av/nanosoft | 2aebb09d7d8a424d4de9b57d7586dbb72eed9fa0 | [
"MIT"
] | 1 | 2019-11-19T14:31:37.000Z | 2019-11-19T14:31:37.000Z | avr/trunk/iom16a_usart.cpp | zolotov-av/nanosoft | 2aebb09d7d8a424d4de9b57d7586dbb72eed9fa0 | [
"MIT"
] | null | null | null | avr/trunk/iom16a_usart.cpp | zolotov-av/nanosoft | 2aebb09d7d8a424d4de9b57d7586dbb72eed9fa0 | [
"MIT"
] | 1 | 2020-01-14T10:30:59.000Z | 2020-01-14T10:30:59.000Z |
#include <avr/io.h>
#include <avr/interrupt.h>
#include "iom16a_usart.h"
static char inp_buf[16];
static char out_buf[16];
static char inp_ofs_s = 0;
static char inp_ofs_e = 0;
static char inp_len = 0;
static char out_ofs_s = 0;
static char out_ofs_e = 0;
static char out_len = 0;
/**
* USART Receive Complete
*/
IS... | 13.670103 | 33 | 0.61463 | zolotov-av |
27f8579ef41099fa84921c00c231c0689f51fcdb | 7,142 | cpp | C++ | Real-Time Corruptor/BizHawk_RTC/waterbox/sameboy/bizhawk.cpp | redscientistlabs/Bizhawk50X-Vanguard | 96e0f5f87671a1230784c8faf935fe70baadfe48 | [
"MIT"
] | 45 | 2017-07-24T05:31:06.000Z | 2019-03-29T12:23:57.000Z | Real-Time Corruptor/BizHawk_RTC/waterbox/sameboy/bizhawk.cpp | redscientistlabs/Bizhawk50X-Vanguard | 96e0f5f87671a1230784c8faf935fe70baadfe48 | [
"MIT"
] | 5 | 2017-07-24T02:37:24.000Z | 2018-12-28T16:51:06.000Z | Real-Time Corruptor/BizHawk_RTC/waterbox/sameboy/bizhawk.cpp | redscientistlabs/Bizhawk50X-Vanguard | 96e0f5f87671a1230784c8faf935fe70baadfe48 | [
"MIT"
] | 10 | 2017-07-24T02:11:43.000Z | 2018-12-27T20:49:37.000Z | #include <stdint.h>
#include "../emulibc/emulibc.h"
#include "../emulibc/waterboxcore.h"
#include "blip_buf/blip_buf.h"
#define _Static_assert static_assert
extern "C" {
#include "gb.h"
#include "joypad.h"
#include "apu.h"
#include "sgb.h"
}
static GB_gameboy_t GB;
static uint32_t GBPixels[160 * 144];
static uint32... | 24.972028 | 135 | 0.745169 | redscientistlabs |
7e0c8d98ab50658d366c03f82704f86ec97e4fc0 | 13,324 | cpp | C++ | Src/CPUDebug.cpp | Eae02/gbemu | 5aac907f3c91c75b4bf186d2016750ff9395c86d | [
"Zlib"
] | null | null | null | Src/CPUDebug.cpp | Eae02/gbemu | 5aac907f3c91c75b4bf186d2016750ff9395c86d | [
"Zlib"
] | null | null | null | Src/CPUDebug.cpp | Eae02/gbemu | 5aac907f3c91c75b4bf186d2016750ff9395c86d | [
"Zlib"
] | null | null | null | #include "CPU.hpp"
#include "Memory.hpp"
#include <iostream>
#include <iomanip>
#include <cstring>
#include <cstdio>
#include <functional>
constexpr size_t MAX_NAME_LEN = 32;
char instructionNames[256][MAX_NAME_LEN];
std::function<void(uint16_t)> instructionPrintExtra[256];
void PrintExtraImm8(uint16_t pc)
{
std::... | 34.076726 | 150 | 0.600946 | Eae02 |
7e0fab7f82ea6f1055a3c26ea7b19958f792ae54 | 1,868 | cpp | C++ | test/unit/comparator_test.cpp | dejak/olc-overlapping | 0437f2390883dec0164313d67121d90eccedbec2 | [
"MIT"
] | 1 | 2015-11-17T14:33:17.000Z | 2015-11-17T14:33:17.000Z | test/unit/comparator_test.cpp | dejak/olc-overlapping | 0437f2390883dec0164313d67121d90eccedbec2 | [
"MIT"
] | null | null | null | test/unit/comparator_test.cpp | dejak/olc-overlapping | 0437f2390883dec0164313d67121d90eccedbec2 | [
"MIT"
] | null | null | null | #define CATCH_CONFIG_MAIN
#include "catch.hpp"
#include "comparator.hpp"
using namespace std;
using namespace OLC;
TEST_CASE("comparator methods", "[comparator]")
{
vector<Nucleotide> first;
first.push_back(Nucleotide(NucleotideLetter(0x03)));
first.push_back(Nucleotide(NucleotideLetter(0x01)));
first.push_... | 32.206897 | 68 | 0.746253 | dejak |
7e154521c37dd7e6f14f9ae9cdb9b947ce719cac | 10,590 | cpp | C++ | src/ri_array.cpp | 60071jimmy/OpenRI-master | f453e3803c8971bb7719477b045409816dff6d16 | [
"Apache-2.0"
] | null | null | null | src/ri_array.cpp | 60071jimmy/OpenRI-master | f453e3803c8971bb7719477b045409816dff6d16 | [
"Apache-2.0"
] | null | null | null | src/ri_array.cpp | 60071jimmy/OpenRI-master | f453e3803c8971bb7719477b045409816dff6d16 | [
"Apache-2.0"
] | null | null | null | /*
Copyright 2016 Open Robot Club
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
dis... | 28.391421 | 165 | 0.603872 | 60071jimmy |
7e1ac4a50100b70aff61da5a260ed8471edbae26 | 42 | cpp | C++ | sakura_core/basis/MySize.cpp | beru/sakura_modifed | 6895f368f3ab984e18704af2815a00c732dafdb6 | [
"Zlib"
] | null | null | null | sakura_core/basis/MySize.cpp | beru/sakura_modifed | 6895f368f3ab984e18704af2815a00c732dafdb6 | [
"Zlib"
] | 1 | 2019-08-08T15:27:19.000Z | 2019-08-08T15:27:19.000Z | sakura_core/basis/MySize.cpp | beru/sakura_modifed | 6895f368f3ab984e18704af2815a00c732dafdb6 | [
"Zlib"
] | null | null | null | #include "StdAfx.h"
#include "MySize.h"
| 14 | 20 | 0.666667 | beru |
7e2000ec4eed017c315f96f3e1e73880a9348d73 | 909 | cpp | C++ | LightOJ/LOJ 1010 Knights in chessboard.cpp | akash246/Competitive-Programming-Solutions | 68db69ba8a771a433e5338bc4e837a02d3f89823 | [
"MIT"
] | 28 | 2017-11-08T11:52:11.000Z | 2021-07-16T06:30:02.000Z | LightOJ/LOJ 1010 Knights in chessboard.cpp | akash246/Competitive-Programming-Solutions | 68db69ba8a771a433e5338bc4e837a02d3f89823 | [
"MIT"
] | null | null | null | LightOJ/LOJ 1010 Knights in chessboard.cpp | akash246/Competitive-Programming-Solutions | 68db69ba8a771a433e5338bc4e837a02d3f89823 | [
"MIT"
] | 30 | 2017-09-01T09:14:27.000Z | 2021-04-12T12:08:56.000Z | #include <iostream>
#include <cstdio>
#include <cmath>
#include <fstream>
using namespace std;
void solve(){
int m,n, t, knights;
ofstream op;
ifstream ip;
cin>>t;
for(int tst= 1; tst<=t; tst++){
cin>>m>>n;
int mn = (m*n);
if(m == 1 || n == 1){
... | 16.833333 | 46 | 0.380638 | akash246 |
7e220b330492861b84f062ca0522165d0bf28978 | 3,100 | cpp | C++ | src/sys/error.cpp | Jacobfaib/matrix_tuner | ac164c91511eb15b27fc678ee5d9daa46636f85f | [
"MIT"
] | null | null | null | src/sys/error.cpp | Jacobfaib/matrix_tuner | ac164c91511eb15b27fc678ee5d9daa46636f85f | [
"MIT"
] | null | null | null | src/sys/error.cpp | Jacobfaib/matrix_tuner | ac164c91511eb15b27fc678ee5d9daa46636f85f | [
"MIT"
] | null | null | null | #include <matrix_tuner/sys/sys.hpp>
#include <cstdarg> // va_list etc
#include <array>
#include <tuple>
#include <queue>
#include <string>
#include <iostream>
namespace mt
{
namespace
{
template <typename T, std::size_t n, std::size_t... i>
MT_NODISCARD static constexpr std::array<std::remove_cv_t<T>,n> to_array_im... | 26.724138 | 128 | 0.635161 | Jacobfaib |
7e27afe83d21807852e7fbb15dd302443579009b | 1,437 | hpp | C++ | include/h3api/H3RMG/H3RmgParameters.hpp | Patrulek/H3API | 91f10de37c6b86f3160706c1fdf4792f927e9952 | [
"MIT"
] | 14 | 2020-09-07T21:49:26.000Z | 2021-11-29T18:09:41.000Z | include/h3api/H3RMG/H3RmgParameters.hpp | Day-of-Reckoning/H3API | a82d3069ec7d5127b13528608d5350d2b80d57be | [
"MIT"
] | 2 | 2021-02-12T15:52:31.000Z | 2021-02-12T16:21:24.000Z | include/h3api/H3RMG/H3RmgParameters.hpp | Day-of-Reckoning/H3API | a82d3069ec7d5127b13528608d5350d2b80d57be | [
"MIT"
] | 8 | 2021-02-12T15:52:41.000Z | 2022-01-31T15:28:10.000Z | //////////////////////////////////////////////////////////////////////
// //
// Created by RoseKavalier: //
// rosekavalierhc@gmail.com //
// Created or last upda... | 33.418605 | 70 | 0.40849 | Patrulek |
7e328447843178adb6133798b112116f98825b42 | 450 | hh | C++ | terminal_input.hh | psaksa/git-junction | 55cb940704d8d8dcf773e8917809a972c078976f | [
"MIT"
] | null | null | null | terminal_input.hh | psaksa/git-junction | 55cb940704d8d8dcf773e8917809a972c078976f | [
"MIT"
] | null | null | null | terminal_input.hh | psaksa/git-junction | 55cb940704d8d8dcf773e8917809a972c078976f | [
"MIT"
] | null | null | null | /* git-junction
* Copyright (c) 2016-2017 by Pauli Saksa
*
* Licensed under The MIT License, see file LICENSE.txt in this source tree.
*/
#ifndef GIT_JUNCTION_TERMINAL_INPUT_HEADER
#define GIT_JUNCTION_TERMINAL_INPUT_HEADER
#include <termios.h>
#include <signal.h>
class terminal_input {
bool hide;
struct... | 18.75 | 76 | 0.74 | psaksa |
cce2706858e2ab74ec3059ebded5a07cf4c7c0fd | 526 | hpp | C++ | library/ATF/$C64E8308CF8E3072E30C389B70824786.hpp | lemkova/Yorozuya | f445d800078d9aba5de28f122cedfa03f26a38e4 | [
"MIT"
] | 29 | 2017-07-01T23:08:31.000Z | 2022-02-19T10:22:45.000Z | library/ATF/$C64E8308CF8E3072E30C389B70824786.hpp | kotopes/Yorozuya | 605c97d3a627a8f6545cc09f2a1b0a8afdedd33a | [
"MIT"
] | 90 | 2017-10-18T21:24:51.000Z | 2019-06-06T02:30:33.000Z | library/ATF/$C64E8308CF8E3072E30C389B70824786.hpp | kotopes/Yorozuya | 605c97d3a627a8f6545cc09f2a1b0a8afdedd33a | [
"MIT"
] | 44 | 2017-12-19T08:02:59.000Z | 2022-02-24T23:15:01.000Z | // This file auto generated by plugin for ida pro. Generated code only for x64. Please, dont change manually
#pragma once
#include <common/common.h>
START_ATF_NAMESPACE
enum $C64E8308CF8E3072E30C389B70824786
{
Event_type_disable = 0x0,
Event_type_wait = 0x1,
Event_type_start = 0x2,
Ev... | 25.047619 | 108 | 0.69962 | lemkova |
cce80568ce629d6e3bcece6fe80f2c7b227ea518 | 2,136 | hpp | C++ | gpcl/assert.hpp | Chingyat/gpcl | de4157a2bab07640539d9051fc7bb66c9c82eaf4 | [
"BSL-1.0"
] | 2 | 2021-02-10T11:51:25.000Z | 2021-12-20T12:35:36.000Z | gpcl/assert.hpp | Chingyat/gpcl | c2702b8b13fa948f6753285ba62455ddf9413578 | [
"BSL-1.0"
] | 2 | 2021-11-28T03:09:15.000Z | 2021-11-29T15:08:43.000Z | gpcl/assert.hpp | Chingyat/gpcl | c2702b8b13fa948f6753285ba62455ddf9413578 | [
"BSL-1.0"
] | null | null | null | //
// assert.hpp
// ~~~~~~~~~~
//
// Copyright (c) 2020 Zhengyi Fu (tsingyat at outlook dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#ifndef GPCL_ASSERT_HPP
#define GPCL_ASSERT_HPP
#include <gpcl... | 29.666667 | 80 | 0.582865 | Chingyat |
ccea589a171f208979c6dbb437b2af2a6aeafae9 | 3,494 | cpp | C++ | source/Bit/Network/Address.cpp | jimmiebergmann/Bit-Engine | 39324a9e7fb5ab4b1cf3738f871470e0a9ef7575 | [
"Zlib"
] | null | null | null | source/Bit/Network/Address.cpp | jimmiebergmann/Bit-Engine | 39324a9e7fb5ab4b1cf3738f871470e0a9ef7575 | [
"Zlib"
] | null | null | null | source/Bit/Network/Address.cpp | jimmiebergmann/Bit-Engine | 39324a9e7fb5ab4b1cf3738f871470e0a9ef7575 | [
"Zlib"
] | null | null | null | // ///////////////////////////////////////////////////////////////////////////
// Copyright (C) 2013 Jimmie Bergmann - jimmiebergmann@gmail.com
//
// This software is provided 'as-is', without any express or
// implied warranty. In no event will the authors be held
// liable for any damages arising from the use of thi... | 22.836601 | 87 | 0.637378 | jimmiebergmann |
ccec66ae89187fb95ba1ad0e643a358e0e2528a1 | 576 | cpp | C++ | src/logic/wire_set_signal.cpp | nanolith/homesim | 693cd77c9ecd0fb8bbaf1848609a63eb56fa4b86 | [
"MIT"
] | null | null | null | src/logic/wire_set_signal.cpp | nanolith/homesim | 693cd77c9ecd0fb8bbaf1848609a63eb56fa4b86 | [
"MIT"
] | null | null | null | src/logic/wire_set_signal.cpp | nanolith/homesim | 693cd77c9ecd0fb8bbaf1848609a63eb56fa4b86 | [
"MIT"
] | null | null | null | /**
* \file logic/wire_set_signal.cpp
*
* \brief Set the signal for this wire.
*
* \copyright Copyright 2020 Justin Handville. All rights reserved.
*/
#include <homesim/wire.h>
using namespace homesim;
using namespace std;
/**
* \brief Set the signal value for this wire.
*
* If the new signal value differs, ... | 19.862069 | 70 | 0.673611 | nanolith |
ccee48d6ee62cfd54c45d48626b6d60cdec8397c | 1,819 | cc | C++ | gcc-gcc-7_3_0-release/libstdc++-v3/testsuite/23_containers/unordered_set/buckets/swap.cc | best08618/asylo | 5a520a9f5c461ede0f32acc284017b737a43898c | [
"Apache-2.0"
] | 7 | 2020-05-02T17:34:05.000Z | 2021-10-17T10:15:18.000Z | gcc-gcc-7_3_0-release/libstdc++-v3/testsuite/23_containers/unordered_set/buckets/swap.cc | best08618/asylo | 5a520a9f5c461ede0f32acc284017b737a43898c | [
"Apache-2.0"
] | null | null | null | gcc-gcc-7_3_0-release/libstdc++-v3/testsuite/23_containers/unordered_set/buckets/swap.cc | best08618/asylo | 5a520a9f5c461ede0f32acc284017b737a43898c | [
"Apache-2.0"
] | 2 | 2020-07-27T00:22:36.000Z | 2021-04-01T09:41:02.000Z | // { dg-do run { target c++11 } }
// Copyright (C) 2013-2017 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library 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 Foundatio... | 25.619718 | 74 | 0.672897 | best08618 |
ccf2675e9c4424b69428784c0a5fdc05c0eb0102 | 1,336 | cpp | C++ | examples/sponza/level/level.cpp | EduRenesto/abcg | 4f7ab2d02e20e2a9351af03c34360a7629c219d1 | [
"MIT"
] | null | null | null | examples/sponza/level/level.cpp | EduRenesto/abcg | 4f7ab2d02e20e2a9351af03c34360a7629c219d1 | [
"MIT"
] | null | null | null | examples/sponza/level/level.cpp | EduRenesto/abcg | 4f7ab2d02e20e2a9351af03c34360a7629c219d1 | [
"MIT"
] | null | null | null | #include "level.hpp"
#include "../asset_manager/mesh_asset.hpp"
#include "../asset_manager/shader_asset.hpp"
#include "../components/mesh_component.hpp"
#include "../components/material_component.hpp"
#include "../components/transform_component.hpp"
void Level::build() {
/*
// Build floor
this->create_cube(glm... | 31.069767 | 94 | 0.676647 | EduRenesto |
ccf36c31a9b3920c7b628b6f355be68351d3b31d | 1,740 | cpp | C++ | google codejam/strings/Moons and umbrellas/Answer.cpp | theCodeTeen/CP_Collection | 78a0a564e8da47038232b0cca6f26153725af029 | [
"MIT"
] | null | null | null | google codejam/strings/Moons and umbrellas/Answer.cpp | theCodeTeen/CP_Collection | 78a0a564e8da47038232b0cca6f26153725af029 | [
"MIT"
] | null | null | null | google codejam/strings/Moons and umbrellas/Answer.cpp | theCodeTeen/CP_Collection | 78a0a564e8da47038232b0cca6f26153725af029 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
int main()
{
int noOfTestCases,noOfTestTemp,X,Y,markLength,minCost;
string str;
cin>>noOfTestCases;
noOfTestTemp=noOfTestCases;
while(noOfTestTemp--)
{
//Taking inputs
cin>>X>>Y>>str;
minCost=0;
... | 29 | 88 | 0.384483 | theCodeTeen |
ccfa97488fca28c43f7a86f1900999e0ac94f168 | 3,586 | hpp | C++ | libnhttp/nhttp/server/internals/drivers/http_websocket_driver.hpp | jay94ks/libnhttp | a244eb2d04c339454ef4831b43d1ab270ee7d13d | [
"MIT"
] | 4 | 2021-04-11T22:46:13.000Z | 2021-05-27T06:01:37.000Z | libnhttp/nhttp/server/internals/drivers/http_websocket_driver.hpp | jay94ks/libnhttp | a244eb2d04c339454ef4831b43d1ab270ee7d13d | [
"MIT"
] | 3 | 2021-05-26T04:16:56.000Z | 2021-05-27T04:34:14.000Z | libnhttp/nhttp/server/internals/drivers/http_websocket_driver.hpp | jay94ks/libnhttp | a244eb2d04c339454ef4831b43d1ab270ee7d13d | [
"MIT"
] | 1 | 2021-04-11T22:46:15.000Z | 2021-04-11T22:46:15.000Z | #pragma once
#include "../../http_link.hpp"
namespace nhttp {
class stream;
namespace server {
class http_websocket;
namespace drivers {
/**
* 0 1 2 3
* 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7
* +-+-+-+-+-------+-+-------------+------------... | 31.45614 | 74 | 0.444228 | jay94ks |
ccfb0b76c76a41125aa284c4916e498482c52756 | 9,653 | cpp | C++ | billing/billing_server.cpp | lxc1989/0 | 0dc066a470cbaa3d399031c6b34db48a6d4edf28 | [
"MIT"
] | null | null | null | billing/billing_server.cpp | lxc1989/0 | 0dc066a470cbaa3d399031c6b34db48a6d4edf28 | [
"MIT"
] | null | null | null | billing/billing_server.cpp | lxc1989/0 | 0dc066a470cbaa3d399031c6b34db48a6d4edf28 | [
"MIT"
] | null | null | null | #include "inc/billing_server.hpp"
#include "inc/client_connection.hpp"
#include "inc/handler/connect_handler.hpp"
#include "inc/handler/login_handler.hpp"
#include "inc/handler/reg_handler.hpp"
#include "inc/handler/logout_handler.hpp"
#include "inc/handler/ping_handler.hpp"
#include "inc/handler/keep_handler.hpp"
#in... | 30.840256 | 181 | 0.707345 | lxc1989 |
69022b390dae1705b43c1e38589dfbb0b651c7b2 | 5,488 | cpp | C++ | DT3Core/Types/FileBuffer/ArchiveTextReader.cpp | 9heart/DT3 | 4ba8fd2af3aebb5c0d77036ac3941e83cd4d1c7e | [
"MIT"
] | 3 | 2016-01-27T13:17:18.000Z | 2019-03-19T09:18:25.000Z | DT3Core/Types/FileBuffer/ArchiveTextReader.cpp | pakoito/DT3 | 4ba8fd2af3aebb5c0d77036ac3941e83cd4d1c7e | [
"MIT"
] | 1 | 2016-01-28T14:39:49.000Z | 2016-01-28T22:12:07.000Z | DT3Core/Types/FileBuffer/ArchiveTextReader.cpp | adderly/DT3 | e2605be091ec903d3582e182313837cbaf790857 | [
"MIT"
] | 3 | 2016-01-25T16:44:51.000Z | 2021-01-29T19:59:45.000Z | //==============================================================================
///
/// File: ArchiveTextReader.cpp
///
/// Copyright (C) 2000-2014 by Smells Like Donkey Software Inc. All rights reserved.
///
/// This file is subject to the terms and conditions defined in
/// file 'LICENSE.txt', which is part... | 28 | 114 | 0.434402 | 9heart |
69068e46ac965270add88627da767243752a8766 | 708 | cpp | C++ | Codeforces/cf1582_C.cpp | Tunghohin/Competitive_coding | 879238605d5525cda9fd0cfa1155ba67959179a6 | [
"MIT"
] | 2 | 2021-09-06T08:34:00.000Z | 2021-11-22T14:52:41.000Z | Codeforces/cf1582_C.cpp | Tunghohin/Competitive_coding | 879238605d5525cda9fd0cfa1155ba67959179a6 | [
"MIT"
] | null | null | null | Codeforces/cf1582_C.cpp | Tunghohin/Competitive_coding | 879238605d5525cda9fd0cfa1155ba67959179a6 | [
"MIT"
] | null | null | null | #include <iostream>
#include <algorithm>
#include <cmath>
#include <vector>
#include <algorithm>
using namespace std;
void solve()
{
int n;
string s;
cin >> n >> s;
int ans = n + 1;
for (int c = 0; c < 26; c++)
{
int l = 0, r = n - 1, cnt = 0;
while (l <= r)
{
if (s[l] == s[r])
{
l++, r--;
... | 12 | 37 | 0.449153 | Tunghohin |
6909586fc3f8293d7ce9287a7ef27aaac714e5e6 | 83,487 | cpp | C++ | examples/smp/SASQ/actorwindow.cpp | NourahAlhosain/KTAB | e7676b760543e4c7bbd8c29188e85dcb18b52040 | [
"MIT"
] | null | null | null | examples/smp/SASQ/actorwindow.cpp | NourahAlhosain/KTAB | e7676b760543e4c7bbd8c29188e85dcb18b52040 | [
"MIT"
] | 1 | 2017-02-20T06:51:10.000Z | 2017-02-20T19:35:23.000Z | examples/smp/SASQ/actorwindow.cpp | lsyaseen/KTAB | 3b5b063541c7d5ee36cc9c61d9d3e0717f2d180f | [
"MIT"
] | null | null | null | // --------------------------------------------
// Copyright KAPSARC. Open source MIT License.
// --------------------------------------------
// The MIT License (MIT)
//
// Copyright (c) 2015 King Abdullah Petroleum Studies and Research Center
//
// Permission is hereby granted, free of charge, to any person obtaining... | 38.473272 | 159 | 0.506977 | NourahAlhosain |
6911cd977936917161a0c8c42dc7a31325f3b09f | 15,095 | cpp | C++ | Source/USemLog/Private/Viz/Markers/SLVizSkeletalMeshMarker.cpp | Leusmann/USemLog | 3492a4fd55a524433785802c77444982e57f2e0a | [
"BSD-3-Clause"
] | 7 | 2017-10-05T09:47:40.000Z | 2020-10-15T04:02:07.000Z | Source/USemLog/Private/Viz/Markers/SLVizSkeletalMeshMarker.cpp | Leusmann/USemLog | 3492a4fd55a524433785802c77444982e57f2e0a | [
"BSD-3-Clause"
] | 11 | 2017-08-10T10:01:55.000Z | 2020-12-31T13:02:33.000Z | Source/USemLog/Private/Viz/Markers/SLVizSkeletalMeshMarker.cpp | Leusmann/USemLog | 3492a4fd55a524433785802c77444982e57f2e0a | [
"BSD-3-Clause"
] | 19 | 2017-03-07T08:18:43.000Z | 2021-11-09T10:58:04.000Z | // Copyright 2020, Institute for Artificial Intelligence - University of Bremen
// Author: Andrei Haidu (http://haidu.eu)
#include "Viz/Markers/SLVizSkeletalMeshMarker.h"
#include "Viz/SLVizAssets.h"
#include "Components/PoseableMeshComponent.h"
#include "Components/SkeletalMeshComponent.h"
#include "Materials/Materia... | 29.31068 | 248 | 0.733687 | Leusmann |
691461e97f011bdad18057e7ef8d9c4b4513fd12 | 2,474 | cpp | C++ | C++/43-Multiply_Strings.cpp | Auful01/Hacktoberfest-2021 | 0039fd26f8f3b97a9748a4fc76e7d77157fed56a | [
"MIT"
] | 38 | 2021-09-02T22:02:34.000Z | 2021-10-02T19:33:34.000Z | C++/43-Multiply_Strings.cpp | Auful01/Hacktoberfest-2021 | 0039fd26f8f3b97a9748a4fc76e7d77157fed56a | [
"MIT"
] | 188 | 2021-09-30T08:16:25.000Z | 2021-10-03T14:11:37.000Z | C++/43-Multiply_Strings.cpp | Auful01/Hacktoberfest-2021 | 0039fd26f8f3b97a9748a4fc76e7d77157fed56a | [
"MIT"
] | 131 | 2021-09-20T17:01:11.000Z | 2021-10-03T07:34:14.000Z | /*Link of the question : https://leetcode.com/problems/multiply-strings/
43.
Given two non-negative integers num1 and num2 represented as strings, return the product of num1 and num2, also represented as a string.
Note: You must not use any built-in BigInteger library or convert the inputs to integer directly.
*/
c... | 27.797753 | 170 | 0.529911 | Auful01 |
69151787d589302ae9a237b9382effed50f1fdf5 | 554 | cpp | C++ | Crossy_Roads/BehaviourObject.cpp | Daryan7/Crossy_Roads | af816aa73ba29241fb1db4722940e42be8a76102 | [
"MIT"
] | 1 | 2018-04-18T12:54:33.000Z | 2018-04-18T12:54:33.000Z | Crossy_Roads/BehaviourObject.cpp | Daryan7/Crossy_Roads | af816aa73ba29241fb1db4722940e42be8a76102 | [
"MIT"
] | null | null | null | Crossy_Roads/BehaviourObject.cpp | Daryan7/Crossy_Roads | af816aa73ba29241fb1db4722940e42be8a76102 | [
"MIT"
] | null | null | null | #include "BehaviourObject.h"
#include "MonoBehaviour.h"
void BehaviourObject::update(int deltaTime) {
if (behaviour != NULL)
behaviour->update(deltaTime);
}
bool BehaviourObject::isAlive() const {
return alive;
}
void BehaviourObject::destroy() {
alive = false;
}
void BehaviourObject::setBehaviour(MonoBehavio... | 17.3125 | 65 | 0.729242 | Daryan7 |
691792fcbbabfb151017297e70e4c5f4c37b3e02 | 8,251 | cpp | C++ | Source/Convolution.cpp | johnflynnjohnflynn/Aidio | 13622c3fefa30de72bf41bb18c94ae39b97d194c | [
"MIT"
] | 5 | 2017-02-08T09:28:34.000Z | 2021-01-24T20:04:56.000Z | Source/Convolution.cpp | johnflynnjohnflynn/Aidio | 13622c3fefa30de72bf41bb18c94ae39b97d194c | [
"MIT"
] | null | null | null | Source/Convolution.cpp | johnflynnjohnflynn/Aidio | 13622c3fefa30de72bf41bb18c94ae39b97d194c | [
"MIT"
] | 2 | 2017-01-04T16:23:22.000Z | 2019-04-03T11:13:21.000Z | //==============================================================================
/*
The MIT License (MIT)
Copyright (c) 2016 John Flynn
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 ... | 39.478469 | 125 | 0.559326 | johnflynnjohnflynn |
6918870f5fe95e56bb2a3acdd98994c5a22f686d | 19,622 | cxx | C++ | cint/src/Api.cxx | paulwratt/cin-5.34.00 | 036a8202f11a4a0e29ccb10d3c02f304584cda95 | [
"MIT"
] | 10 | 2018-03-26T07:41:44.000Z | 2021-11-06T08:33:24.000Z | cint/src/Api.cxx | paulwratt/cin-5.34.00 | 036a8202f11a4a0e29ccb10d3c02f304584cda95 | [
"MIT"
] | null | null | null | cint/src/Api.cxx | paulwratt/cin-5.34.00 | 036a8202f11a4a0e29ccb10d3c02f304584cda95 | [
"MIT"
] | 1 | 2020-11-17T03:17:00.000Z | 2020-11-17T03:17:00.000Z | /* /% C++ %/ */
/***********************************************************************
* cint (C/C++ interpreter)
************************************************************************
* Source file Api.cxx
************************************************************************
* Description:
* Extended Run... | 29.775417 | 141 | 0.5238 | paulwratt |
691e317b696ca4d8f216e7df06caecd14fbb26ab | 14,817 | cxx | C++ | src/DMAnalysis.cxx | rasumovsky/HggDM | b73d4a4889dcfc87f972b630f25d934231293af7 | [
"MIT"
] | 1 | 2015-04-18T21:22:06.000Z | 2015-04-18T21:22:06.000Z | src/DMAnalysis.cxx | rasumovsky/HggDM | b73d4a4889dcfc87f972b630f25d934231293af7 | [
"MIT"
] | null | null | null | src/DMAnalysis.cxx | rasumovsky/HggDM | b73d4a4889dcfc87f972b630f25d934231293af7 | [
"MIT"
] | 1 | 2019-11-02T11:16:14.000Z | 2019-11-02T11:16:14.000Z | ////////////////////////////////////////////////////////////////////////////////
// //
// Name: DMAnalysis.cxx //
// ... | 40.154472 | 80 | 0.582372 | rasumovsky |
693c800b603736272597b41c490812a90e2c7bfa | 2,545 | cpp | C++ | SmartLEDLamp/VUMeterVisualizer.cpp | danielchiaradia/SmartLEDLamp | b9945e61b6ddfb4475c6e488b7cb89ac0f83af70 | [
"MIT"
] | 23 | 2017-12-14T12:19:34.000Z | 2021-03-28T21:19:44.000Z | SmartLEDLamp/VUMeterVisualizer.cpp | danielchiaradia/SmartLEDLamp | b9945e61b6ddfb4475c6e488b7cb89ac0f83af70 | [
"MIT"
] | 3 | 2018-04-14T10:52:15.000Z | 2018-04-24T20:14:22.000Z | SmartLEDLamp/VUMeterVisualizer.cpp | danielchiaradia/SmartLEDLamp | b9945e61b6ddfb4475c6e488b7cb89ac0f83af70 | [
"MIT"
] | 6 | 2017-04-26T01:50:38.000Z | 2018-11-10T11:05:19.000Z | #include "VUMeterVisualizer.h"
VUMeterVisualizer::VUMeterVisualizer(float *pAmp) :
pAmplitude(pAmp), cooling(95), sparking(200), paletteNo(6), paletteMax(
240) {
}
VUMeterVisualizer::~VUMeterVisualizer() {
}
void VUMeterVisualizer::computeImage() {
int leds = LEDS_HEIGHT;
int amp = *pAmplitude ... | 18.178571 | 90 | 0.555206 | danielchiaradia |
694a664dbbfea6ed6bad837e20269fe19df3a3ee | 1,775 | cpp | C++ | demo/animation/test_anime.cpp | fox000002/ulib-win | 628c4a0b8193d1ad771aa85598776ff42a45f913 | [
"Apache-2.0"
] | 4 | 2016-09-07T07:02:52.000Z | 2019-06-22T08:55:53.000Z | demo/animation/test_anime.cpp | fox000002/ulib-win | 628c4a0b8193d1ad771aa85598776ff42a45f913 | [
"Apache-2.0"
] | null | null | null | demo/animation/test_anime.cpp | fox000002/ulib-win | 628c4a0b8193d1ad771aa85598776ff42a45f913 | [
"Apache-2.0"
] | 3 | 2019-06-22T16:00:39.000Z | 2022-03-09T13:46:27.000Z | #include "resource.h"
#include <windows.h>
#include <tchar.h>
#include <commctrl.h>
#include <cassert>
#include "udialogx.h"
#include "udlgapp.h"
#include "uanimation.h"
#include "adt/uautoptr.h"
using huys::UDialogBox;
class UDialogExt : public UDialogBox
{
enum {
IDC_ANIME = 10001
};
public:
... | 23.051948 | 83 | 0.580845 | fox000002 |
694b7171d3f0c79534588bbb76632e336da18d0f | 9,316 | cpp | C++ | Source/WebCore/Modules/indexeddb/server/UniqueIDBDatabaseConnection.cpp | ijsf/DeniseEmbeddableWebKit | 57dfc6783d60f8f59b7129874e60f84d8c8556c9 | [
"BSD-3-Clause"
] | null | null | null | Source/WebCore/Modules/indexeddb/server/UniqueIDBDatabaseConnection.cpp | ijsf/DeniseEmbeddableWebKit | 57dfc6783d60f8f59b7129874e60f84d8c8556c9 | [
"BSD-3-Clause"
] | 9 | 2020-04-18T18:47:18.000Z | 2020-04-18T18:52:41.000Z | Source/WebCore/Modules/indexeddb/server/UniqueIDBDatabaseConnection.cpp | ijsf/DeniseEmbeddableWebKit | 57dfc6783d60f8f59b7129874e60f84d8c8556c9 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (C) 2015 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions a... | 39.308017 | 169 | 0.797982 | ijsf |
6958230a7d6fdcfb0f3c8fb668cd567c6599d722 | 292 | cpp | C++ | plasma_lambda/test6.cpp | plasma-effect/plasma_lambda | e2113076cd792e76237bd4f37869c6f39534d16f | [
"BSL-1.0"
] | null | null | null | plasma_lambda/test6.cpp | plasma-effect/plasma_lambda | e2113076cd792e76237bd4f37869c6f39534d16f | [
"BSL-1.0"
] | null | null | null | plasma_lambda/test6.cpp | plasma-effect/plasma_lambda | e2113076cd792e76237bd4f37869c6f39534d16f | [
"BSL-1.0"
] | null | null | null | #include"test.hpp"
#if TEST_CODE == 6
#include<iostream>
void test()
{
using namespace plasma::lambda;
auto func = constant(10);
std::cout << func() << std::endl;
std::cout << func(1) << std::endl;
std::cout << func(1,2) << std::endl;
std::cout << func(1,2,3) << std::endl;
}
#endif | 17.176471 | 39 | 0.60274 | plasma-effect |
695d2d2c28d3f81c99f942c2717cc7195693e5b1 | 294 | cpp | C++ | tests/test_pibt.cpp | Kei18/mapf-IR | 3132deebdee32b8d4530b7c0d61c5bd92a677cda | [
"MIT"
] | 42 | 2021-03-01T06:36:26.000Z | 2022-03-29T10:13:22.000Z | tests/test_pibt.cpp | Kei18/mapf-IR | 3132deebdee32b8d4530b7c0d61c5bd92a677cda | [
"MIT"
] | 1 | 2021-05-11T12:14:17.000Z | 2021-05-11T18:15:32.000Z | tests/test_pibt.cpp | Kei18/mapf-IR | 3132deebdee32b8d4530b7c0d61c5bd92a677cda | [
"MIT"
] | 5 | 2021-07-12T00:29:11.000Z | 2021-12-13T16:34:40.000Z | #include <pibt.hpp>
#include "gtest/gtest.h"
TEST(PIBT, solve)
{
Problem P = Problem("../tests/instances/example.txt");
std::unique_ptr<Solver> solver = std::make_unique<PIBT>(&P);
solver->solve();
ASSERT_TRUE(solver->succeed());
ASSERT_TRUE(solver->getSolution().validate(&P));
}
| 21 | 62 | 0.680272 | Kei18 |
696248531af25e585b19bd547b782e9cd01bb4bc | 1,071 | hpp | C++ | sprout/algorithm/equal_range.hpp | jwakely/Sprout | a64938fad0a64608f22d39485bc55a1e0dc07246 | [
"BSL-1.0"
] | 1 | 2018-09-21T23:50:44.000Z | 2018-09-21T23:50:44.000Z | sprout/algorithm/equal_range.hpp | jwakely/Sprout | a64938fad0a64608f22d39485bc55a1e0dc07246 | [
"BSL-1.0"
] | null | null | null | sprout/algorithm/equal_range.hpp | jwakely/Sprout | a64938fad0a64608f22d39485bc55a1e0dc07246 | [
"BSL-1.0"
] | null | null | null | #ifndef SPROUT_ALGORITHM_EQUAL_RANGE_HPP
#define SPROUT_ALGORITHM_EQUAL_RANGE_HPP
#include <sprout/config.hpp>
#include <sprout/algorithm/lower_bound.hpp>
#include <sprout/algorithm/upper_bound.hpp>
#include <sprout/utility/pair.hpp>
namespace sprout {
// Copyright (C) 2011 RiSK (sscrisk)
// 25.4.3.3 eq... | 29.75 | 105 | 0.747899 | jwakely |
6964a52ff6d778c1b27bed40ac0650d6e58dfdae | 3,525 | cpp | C++ | Day13/Day13.cpp | markcheeseborough/AdventOfCode2021 | c6cbf544c618728aa8fac9f628d05b3974c4bdef | [
"MIT"
] | null | null | null | Day13/Day13.cpp | markcheeseborough/AdventOfCode2021 | c6cbf544c618728aa8fac9f628d05b3974c4bdef | [
"MIT"
] | null | null | null | Day13/Day13.cpp | markcheeseborough/AdventOfCode2021 | c6cbf544c618728aa8fac9f628d05b3974c4bdef | [
"MIT"
] | null | null | null | #include <iostream>
#include <regex>
#include <set>
#include <string>
#include <vector>
enum class Axis
{
X,
Y
};
auto ReadPoints()
{
std::set<std::pair<int, int>> result;
std::string input;
while (std::getline(std::cin, input))
{
if (input.empty())
{
break;
... | 20.735294 | 89 | 0.48766 | markcheeseborough |
6968f8762c9bb49c494b98882ebcdbe9c58eadda | 38 | cpp | C++ | test/autogen/algorithm@group.cpp | jonathanpoelen/jln.mp | e5f05fc4467f14ac0047e3bdc75a04076e689985 | [
"MIT"
] | 9 | 2020-07-04T16:46:13.000Z | 2022-01-09T21:59:31.000Z | test/autogen/algorithm@group.cpp | jonathanpoelen/jln.mp | e5f05fc4467f14ac0047e3bdc75a04076e689985 | [
"MIT"
] | null | null | null | test/autogen/algorithm@group.cpp | jonathanpoelen/jln.mp | e5f05fc4467f14ac0047e3bdc75a04076e689985 | [
"MIT"
] | 1 | 2021-05-23T13:37:40.000Z | 2021-05-23T13:37:40.000Z | #include "jln/mp/algorithm/group.hpp"
| 19 | 37 | 0.763158 | jonathanpoelen |
696954d2021b7ee61ae80f1f65e765de7301c581 | 3,278 | cpp | C++ | dynamic/wrappers/cell_based/AbstractSimpleCellCycleModel.cppwg.cpp | jmsgrogan/PyChaste | 48a9863d2c941c71e47ecb72e917b477ba5c1413 | [
"FTL"
] | 6 | 2017-02-04T16:10:53.000Z | 2021-07-01T08:03:16.000Z | dynamic/wrappers/cell_based/AbstractSimpleCellCycleModel.cppwg.cpp | jmsgrogan/PyChaste | 48a9863d2c941c71e47ecb72e917b477ba5c1413 | [
"FTL"
] | 6 | 2017-06-22T08:50:41.000Z | 2019-12-15T20:17:29.000Z | dynamic/wrappers/cell_based/AbstractSimpleCellCycleModel.cppwg.cpp | jmsgrogan/PyChaste | 48a9863d2c941c71e47ecb72e917b477ba5c1413 | [
"FTL"
] | 3 | 2017-05-15T21:33:58.000Z | 2019-10-27T21:43:07.000Z | #include <pybind11/pybind11.h>
#include <pybind11/stl.h>
#include <set>
#include <vector>
#include <string>
#include <map>
#include "SmartPointers.hpp"
#include "UblasIncludes.hpp"
#include "AbstractSimpleCellCycleModel.hpp"
#include "AbstractSimpleCellCycleModel.cppwg.hpp"
namespace py = pybind11;
typedef AbstractSi... | 34.145833 | 195 | 0.633618 | jmsgrogan |
696a5c60e4931e40be09a29940a56ae82495d106 | 2,562 | cpp | C++ | test/base/concurrent/TaskSchedulerTest.cpp | mark-online/sne | 92190c78a1710778acf16dd3a83af064db5c269b | [
"MIT"
] | null | null | null | test/base/concurrent/TaskSchedulerTest.cpp | mark-online/sne | 92190c78a1710778acf16dd3a83af064db5c269b | [
"MIT"
] | null | null | null | test/base/concurrent/TaskSchedulerTest.cpp | mark-online/sne | 92190c78a1710778acf16dd3a83af064db5c269b | [
"MIT"
] | null | null | null | #include "BaseTestPCH.h"
#include <sne/base/concurrent/TaskScheduler.h>
#include <sne/base/concurrent/Future.h>
#include <sne/base/io_context/IoContextTask.h>
#include <chrono>
#include <thread>
using namespace sne;
using namespace sne::base;
namespace {
int s_callCount = 0;
/**
* @class DummyTask
*/
class DummyT... | 20.496 | 83 | 0.668618 | mark-online |
696ad0bae52ae1ae800913fc3fdee7aee7327d9c | 8,857 | cpp | C++ | src/plugin/vst3/Vst3Plugin.cpp | hotwatermorning/Vst3SampleHost | 405f8f9ca89467de46ee3fd9b819503e556022e7 | [
"MIT"
] | 19 | 2019-09-15T11:35:11.000Z | 2021-12-02T12:27:09.000Z | src/plugin/vst3/Vst3Plugin.cpp | hotwatermorning/Vst3SampleHost | 405f8f9ca89467de46ee3fd9b819503e556022e7 | [
"MIT"
] | 3 | 2019-09-15T12:48:49.000Z | 2019-09-18T10:43:19.000Z | src/plugin/vst3/Vst3Plugin.cpp | hotwatermorning/Vst3SampleHost | 405f8f9ca89467de46ee3fd9b819503e556022e7 | [
"MIT"
] | 1 | 2021-08-27T23:07:27.000Z | 2021-08-27T23:07:27.000Z | #include "Vst3Plugin.hpp"
#include "Vst3PluginImpl.hpp"
#include "Vst3HostContext.hpp"
#include "VstMAUtils.hpp"
#include "FactoryInfo.hpp"
#include <cassert>
#include <memory>
NS_HWM_BEGIN
using namespace Steinberg;
bool Vst3Plugin::IOSpeakerSet::operator==(IOSpeakerSet const &rhs) const
{
return input_ == rhs... | 24.534626 | 114 | 0.724399 | hotwatermorning |
69708b9e4bfcf0d104260e3207a1a23e83b16138 | 2,222 | hpp | C++ | common/CConfig.hpp | ymuv/CameraAlerts | 7b2d794e38aff98bc2c5e7fafb9dec1a1bef3fe4 | [
"BSD-3-Clause"
] | null | null | null | common/CConfig.hpp | ymuv/CameraAlerts | 7b2d794e38aff98bc2c5e7fafb9dec1a1bef3fe4 | [
"BSD-3-Clause"
] | null | null | null | common/CConfig.hpp | ymuv/CameraAlerts | 7b2d794e38aff98bc2c5e7fafb9dec1a1bef3fe4 | [
"BSD-3-Clause"
] | null | null | null | #pragma once
#include <memory>
#include <vector>
#include "CRunStatus.hpp"
struct CGuiConfig;
struct CDebugShow;
struct CConnectionSettings;
struct CAlertsStatus;
namespace NVideoInput
{
struct CInputConfig;
}
namespace NSerial
{
struct CSerialPortConfig;
}
namespace NText
{
struct CTextPatterns;
}
na... | 20.2 | 80 | 0.750675 | ymuv |
6970adbe708373de4b7cfb1e7b253f05f242bf53 | 181 | cpp | C++ | 04_class/die.cpp | acc-cosc-1337-spring-2019/midterm-spring-2019-artgonzalezacc | 00393b43a56224709ef5d98a7c41dfe7e6aa385e | [
"MIT"
] | null | null | null | 04_class/die.cpp | acc-cosc-1337-spring-2019/midterm-spring-2019-artgonzalezacc | 00393b43a56224709ef5d98a7c41dfe7e6aa385e | [
"MIT"
] | null | null | null | 04_class/die.cpp | acc-cosc-1337-spring-2019/midterm-spring-2019-artgonzalezacc | 00393b43a56224709ef5d98a7c41dfe7e6aa385e | [
"MIT"
] | null | null | null | /*
Create a Die class function code to model a game die with 6 sides
and values 1,2,3,4,5, and 6.
public roll function returns a number from 1 to 6(search C++ random function)
*/
| 22.625 | 77 | 0.723757 | acc-cosc-1337-spring-2019 |
69723f7a57ec4d9eed11309ada8b05862697d18d | 5,060 | cpp | C++ | Engine/Source/GraphicsEngine/src/Font.cpp | AnkurSheel/RoutePlanner | a50b6ccb735db42ff4e5b2f4c87e710819c4564b | [
"CC-BY-4.0"
] | null | null | null | Engine/Source/GraphicsEngine/src/Font.cpp | AnkurSheel/RoutePlanner | a50b6ccb735db42ff4e5b2f4c87e710819c4564b | [
"CC-BY-4.0"
] | null | null | null | Engine/Source/GraphicsEngine/src/Font.cpp | AnkurSheel/RoutePlanner | a50b6ccb735db42ff4e5b2f4c87e710819c4564b | [
"CC-BY-4.0"
] | null | null | null | #include "stdafx.h"
#include "Font.h"
#include "XMLFileIO.hxx"
#include "Texture.hxx"
#include "FontShader.h"
#include "ResourceManager.hxx"
#include "ResCache.hxx"
#include "ShaderManager.hxx"
#include "TextureManager.hxx"
#include "GameDirectories.h"
using namespace Graphics;
using namespace Base;
using namespace Ut... | 34.421769 | 120 | 0.567194 | AnkurSheel |
697252172ac8cece81b6775b515d5de0dd919555 | 754 | cpp | C++ | src/Regular.cpp | mtrebi/Raytracer | bf834035a56e970c42c89e652b45dbc04ad4578f | [
"MIT"
] | 58 | 2016-10-27T16:13:58.000Z | 2022-03-20T01:16:50.000Z | src/Regular.cpp | mtrebi/Raytracer | bf834035a56e970c42c89e652b45dbc04ad4578f | [
"MIT"
] | null | null | null | src/Regular.cpp | mtrebi/Raytracer | bf834035a56e970c42c89e652b45dbc04ad4578f | [
"MIT"
] | 8 | 2018-04-08T14:57:34.000Z | 2020-07-16T09:35:40.000Z | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
# include "Regular.h"
# include <math.h>
Regular::Regular()
: Sampler() {
generate_samples();
}
Regular::Regular(const int nu... | 25.133333 | 79 | 0.596817 | mtrebi |
6972e1eb2eaaeb6b49e3980a523bdb8e7c9d1945 | 141 | cpp | C++ | BooErEngine/src/BooErEngine/Loaders/ShaderMgr.cpp | Concarster/booErEngine | b2f390cbd5f7ec498307383d540f1381a7e634a6 | [
"Apache-2.0"
] | null | null | null | BooErEngine/src/BooErEngine/Loaders/ShaderMgr.cpp | Concarster/booErEngine | b2f390cbd5f7ec498307383d540f1381a7e634a6 | [
"Apache-2.0"
] | null | null | null | BooErEngine/src/BooErEngine/Loaders/ShaderMgr.cpp | Concarster/booErEngine | b2f390cbd5f7ec498307383d540f1381a7e634a6 | [
"Apache-2.0"
] | null | null | null | #include "booPCH.h"
#include "ShaderMgr.h"
namespace boo
{
ShaderMgr::ShaderMgr()
{
}
ShaderMgr::~ShaderMgr()
{
}
} | 10.846154 | 27 | 0.560284 | Concarster |
6978a8fdcbbc563c7ad4b43560fca589097695b1 | 3,316 | cpp | C++ | src/CrecombFreq.cpp | isglobal-brge/recombClust | 2219e5edff3a9ac9fe8c7e9e8c83c1c52716845d | [
"MIT"
] | null | null | null | src/CrecombFreq.cpp | isglobal-brge/recombClust | 2219e5edff3a9ac9fe8c7e9e8c83c1c52716845d | [
"MIT"
] | 4 | 2021-02-18T10:09:16.000Z | 2021-07-26T15:36:47.000Z | src/CrecombFreq.cpp | isglobal-brge/recombClust | 2219e5edff3a9ac9fe8c7e9e8c83c1c52716845d | [
"MIT"
] | 1 | 2021-01-22T16:37:12.000Z | 2021-01-22T16:37:12.000Z | #include "include/CrecombFreq.h"
using namespace Rcpp;
//' Reestimate recomb block frequencies
//'
//' @param Resp Numerical with the responsibilities for recomb population
//' @param Block Character with the blocks genotypes
//' @return Numerical with the new block frequencies for recomb population
Rcpp::Nume... | 34.185567 | 102 | 0.63661 | isglobal-brge |
697bafbda8b1a81407f19f3cc4e751ce6f681324 | 1,660 | hpp | C++ | gui/GrCanvas.hpp | quyse/inanity | a39225c5a41f879abe5aa492bb22b500dbe77433 | [
"MIT"
] | 26 | 2015-04-22T05:25:25.000Z | 2020-11-15T11:07:56.000Z | gui/GrCanvas.hpp | quyse/inanity | a39225c5a41f879abe5aa492bb22b500dbe77433 | [
"MIT"
] | 2 | 2015-01-05T10:41:27.000Z | 2015-01-06T20:46:11.000Z | gui/GrCanvas.hpp | quyse/inanity | a39225c5a41f879abe5aa492bb22b500dbe77433 | [
"MIT"
] | 5 | 2016-08-02T11:13:57.000Z | 2018-10-26T11:19:27.000Z | #ifndef ___INANITY_GUI_GR_CANVAS_HPP___
#define ___INANITY_GUI_GR_CANVAS_HPP___
#include "Canvas.hpp"
#include "../graphics/graphics.hpp"
BEGIN_INANITY_GRAPHICS
class Device;
class Context;
class Texture;
class ShaderCache;
END_INANITY_GRAPHICS
BEGIN_INANITY_GUI
class GrCanvas : public Canvas
{
public:
/// Subpi... | 21.282051 | 142 | 0.772892 | quyse |
697d6b448fe976c6eeeb9811b6b48f47767f9b48 | 18,253 | inl | C++ | src/csc/csc_debugger.hpp.windows.inl | csc-std/routine | 16e74628eb4815a816fb8eecbbe8e5fe2ad55daa | [
"MIT"
] | null | null | null | src/csc/csc_debugger.hpp.windows.inl | csc-std/routine | 16e74628eb4815a816fb8eecbbe8e5fe2ad55daa | [
"MIT"
] | null | null | null | src/csc/csc_debugger.hpp.windows.inl | csc-std/routine | 16e74628eb4815a816fb8eecbbe8e5fe2ad55daa | [
"MIT"
] | null | null | null | #pragma once
#ifndef __CSC_DEBUGGER__
#error "∑(っ°Д° ;)っ : require 'csc_debugger.hpp'"
#endif
#ifndef __CSC_SYSTEM_WINDOWS__
#error "∑(っ°Д° ;)っ : bad include"
#endif
#include "begin.h"
#include <iostream>
#include <crtdbg.h>
#include <signal.h>
#include <DbgHelp.h>
#include "end.h"
#ifdef __CSC_COMPILER_MSVC__
#if... | 32.594643 | 111 | 0.653317 | csc-std |
697da9a77804be11355610a43c517ba6f264047c | 14,126 | cpp | C++ | libraries/PION/src/PION_System.cpp | joaopedrovbs/arduino-support-test | 1bea23f00040e386b44285f926b6871ba1bcd5fb | [
"MIT"
] | 17 | 2021-07-28T21:57:26.000Z | 2022-02-28T20:32:04.000Z | libraries/PION/src/PION_System.cpp | joaopedrovbs/arduino-support-test | 1bea23f00040e386b44285f926b6871ba1bcd5fb | [
"MIT"
] | 7 | 2021-08-07T23:20:14.000Z | 2022-03-20T15:05:21.000Z | libraries/PION/src/PION_System.cpp | joaopedrovbs/arduino-support-test | 1bea23f00040e386b44285f926b6871ba1bcd5fb | [
"MIT"
] | 10 | 2021-08-11T13:47:36.000Z | 2022-03-26T02:41:45.000Z | #include <Arduino.h>
#include <WiFi.h>
#include "_config.h"
#include "_types.h"
#include "PION_System.h"
#include "PION_Storage.h"
#include "PION_Sensors.h"
#include "PION_Network.h"
#include "PION_Interface.h"
// Instantiate an I2C Handling Semaphore
SemaphoreHandle_t System::xI2C_semaphore;
// Sensors Debugging T... | 28.887526 | 130 | 0.634575 | joaopedrovbs |
697e6b4406dd0ac4db48121fe44495ad4a1bb645 | 317 | hpp | C++ | dsac/include/dsac/concurrency/synchronization/critical_section.hpp | dymons/algorithms | 7e45852f25c565df02bb2791f1dcae5b71aa5a94 | [
"MIT"
] | null | null | null | dsac/include/dsac/concurrency/synchronization/critical_section.hpp | dymons/algorithms | 7e45852f25c565df02bb2791f1dcae5b71aa5a94 | [
"MIT"
] | null | null | null | dsac/include/dsac/concurrency/synchronization/critical_section.hpp | dymons/algorithms | 7e45852f25c565df02bb2791f1dcae5b71aa5a94 | [
"MIT"
] | null | null | null | #pragma once
#include <atomic>
namespace dsac {
class critical_section final {
std::atomic<bool> locked_{false};
public:
/*!
\brief
Locks the mutex, blocks if the mutex is not available
*/
void lock();
/*!
\brief
Unlocks the mutex
*/
void unlock();
};
} // namespace dsac
| 12.68 | 61 | 0.605678 | dymons |
6987f70ae7c61133b702aa3687da9800dacf154f | 355 | hpp | C++ | qi/perf/measure.hpp | arntanguy/libqi | 7f3e1394cb26126b26fa7ff54d2de1371a1c9f96 | [
"BSD-3-Clause"
] | 61 | 2015-01-08T08:05:28.000Z | 2022-01-07T16:47:47.000Z | qi/perf/measure.hpp | arntanguy/libqi | 7f3e1394cb26126b26fa7ff54d2de1371a1c9f96 | [
"BSD-3-Clause"
] | 30 | 2015-04-06T21:41:18.000Z | 2021-08-18T13:24:51.000Z | qi/perf/measure.hpp | arntanguy/libqi | 7f3e1394cb26126b26fa7ff54d2de1371a1c9f96 | [
"BSD-3-Clause"
] | 64 | 2015-02-23T20:01:11.000Z | 2022-03-14T13:31:20.000Z | /*
** Author(s):
** - Nicolas Cornu <ncornu@aldebaran-robotics.com>
**
** Copyright (C) 2013 Aldebaran Robotics
*/
#pragma once
#ifndef _QI_PERF_UTILS_HPP_
#define _QI_PERF_UTILS_HPP_
#include <qi/api.hpp>
namespace qi
{
namespace measure
{
// Get the number of fd currently open. Works only for linux.
QI... | 14.791667 | 65 | 0.692958 | arntanguy |
698a34fea3e00d847734ba0068df76fbf4deb1a5 | 701 | cpp | C++ | src/test/test_picker.cpp | tomezpl/EasyGIF | 22c7ae30b16e9a4d4facf8374be3bf32813c8a23 | [
"MIT"
] | null | null | null | src/test/test_picker.cpp | tomezpl/EasyGIF | 22c7ae30b16e9a4d4facf8374be3bf32813c8a23 | [
"MIT"
] | 3 | 2016-09-02T22:15:25.000Z | 2016-12-24T17:34:03.000Z | src/test/test_picker.cpp | tomezpl/EasyGIF | 22c7ae30b16e9a4d4facf8374be3bf32813c8a23 | [
"MIT"
] | null | null | null | #include "../img/image_frame.hpp"
#include "../img/image_grabber.hpp"
#include "../img/image_saver.hpp"
#include "../ui/region_picker.hpp"
#include <unistd.h>
int main()
{
EasyGIF::UI::RegionPicker picker(false);
EasyGIF::ImageFrame frame;
EasyGIF::ImageGrabber grabber;
EasyGIF::ImageSaver saver;
picker.Activate(... | 20.028571 | 57 | 0.671897 | tomezpl |
698bcc880c4b9a9b55d55e83384ce9c0e673c881 | 39 | hpp | C++ | src/boost_typeof_std_locale.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 10 | 2018-03-17T00:58:42.000Z | 2021-07-06T02:48:49.000Z | src/boost_typeof_std_locale.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 2 | 2021-03-26T15:17:35.000Z | 2021-05-20T23:55:08.000Z | src/boost_typeof_std_locale.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 4 | 2019-05-28T21:06:37.000Z | 2021-07-06T03:06:52.000Z | #include <boost/typeof/std/locale.hpp>
| 19.5 | 38 | 0.769231 | miathedev |
698e0cdef46e700f8efa495f53c679d44fe57559 | 13,588 | cpp | C++ | EasyDx/Predefined.cpp | LYP951018/EasyDX | 10b5a04c13af1fc6c3b405e309dc754a42530011 | [
"Apache-2.0"
] | 3 | 2017-03-12T07:26:56.000Z | 2017-11-20T13:01:46.000Z | EasyDx/Predefined.cpp | LYP951018/EasyDX | 10b5a04c13af1fc6c3b405e309dc754a42530011 | [
"Apache-2.0"
] | 9 | 2019-04-27T08:36:01.000Z | 2021-11-25T16:36:02.000Z | EasyDx/Predefined.cpp | LYP951018/EasyDX | 10b5a04c13af1fc6c3b405e309dc754a42530011 | [
"Apache-2.0"
] | 2 | 2018-04-16T09:41:56.000Z | 2021-11-01T06:17:58.000Z | #include "pch.hpp"
#include <d3d11.h>
#include "Predefined.hpp"
#include "Camera.hpp"
#include "Material.hpp"
#include "CBStructs.hpp"
#include "Texture.hpp"
#include "Bind.hpp"
#include "Mesh.hpp"
#include "Material.hpp"
#include "MeshRenderer.hpp"
#include "Transform.hpp"
#include "Model.hpp"
namespace dx
{
usi... | 40.082596 | 80 | 0.64189 | LYP951018 |
7e353418f406ab9d9ca630694b71e0bd1b9c3349 | 16,586 | cpp | C++ | src/EnemyFleet.cpp | macton/chromium-bsu | 27e70290913f62401f1ecfca9e806b6ba9170547 | [
"ClArtistic"
] | 3 | 2019-06-07T16:09:28.000Z | 2021-04-01T21:46:24.000Z | src/EnemyFleet.cpp | macton/chromium-bsu | 27e70290913f62401f1ecfca9e806b6ba9170547 | [
"ClArtistic"
] | 1 | 2020-12-19T15:20:14.000Z | 2020-12-28T10:00:31.000Z | src/EnemyFleet.cpp | macton/chromium-bsu | 27e70290913f62401f1ecfca9e806b6ba9170547 | [
"ClArtistic"
] | 3 | 2016-04-19T17:07:30.000Z | 2019-03-01T05:47:53.000Z | /*
* Copyright (c) 2000 Mark B. Allan. All rights reserved.
*
* "Chromium B.S.U." is free software; you can redistribute
* it and/or use it and/or modify it under the terms of the
* "Clarified Artistic License"
*/
#include "EnemyFleet.h"
#include <cstdio>
#include <cmath>
#ifdef HAVE_CONFIG_H
#include <chromi... | 28.303754 | 95 | 0.586639 | macton |
7e38a3b9fbbdbb0b4a181f0574d22de4d4872558 | 725 | cpp | C++ | src/metal-filesystem-pipeline/src/filesystem_context.cpp | metalfs/metal_fs | f244d4125622849f36bd7846881a5f3a7efca188 | [
"MIT"
] | 12 | 2020-04-21T05:21:32.000Z | 2022-02-19T11:27:18.000Z | src/metal-filesystem-pipeline/src/filesystem_context.cpp | metalfs/metal_fs | f244d4125622849f36bd7846881a5f3a7efca188 | [
"MIT"
] | 10 | 2019-02-10T17:10:16.000Z | 2020-02-01T20:05:42.000Z | src/metal-filesystem-pipeline/src/filesystem_context.cpp | metalfs/metal_fs | f244d4125622849f36bd7846881a5f3a7efca188 | [
"MIT"
] | 4 | 2020-07-15T04:42:20.000Z | 2022-02-19T11:27:19.000Z | #include <metal-filesystem-pipeline/filesystem_context.hpp>
#include <dirent.h>
#include <sys/stat.h>
namespace metal {
FilesystemContext::FilesystemContext(
std::string metadataDir,
bool deleteMetadataIfExists)
: _context(nullptr) {
DI... | 26.851852 | 70 | 0.601379 | metalfs |
7e38f8246ea6afdfdeec164cd38dca42c2c24246 | 2,084 | hpp | C++ | Engine/Core/Headers/Molten/Gui/RenderObject.hpp | jimmiebergmann/MoltenEngine | d39e1dc8f2e92bcac7936a5e283faa66f65118ab | [
"MIT"
] | 1 | 2020-10-05T05:24:47.000Z | 2020-10-05T05:24:47.000Z | Engine/Core/Headers/Molten/Gui/RenderObject.hpp | jimmiebergmann/MoltenEngine | d39e1dc8f2e92bcac7936a5e283faa66f65118ab | [
"MIT"
] | null | null | null | Engine/Core/Headers/Molten/Gui/RenderObject.hpp | jimmiebergmann/MoltenEngine | d39e1dc8f2e92bcac7936a5e283faa66f65118ab | [
"MIT"
] | null | null | null | /*
* MIT License
*
* Copyright (c) 2020 Jimmie Bergmann
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files(the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, m... | 26.717949 | 80 | 0.706334 | jimmiebergmann |
7e3c7c1e75a054b78ebd93aa1ce73c9c0a9e0bc3 | 7,172 | cxx | C++ | AstroVolume/MRML/vtkMRMLAstroReprojectParametersNode.cxx | Punzo/SlicerAstro | d22e22f439d3fdc47a86f09bc1271d034a08324d | [
"BSD-3-Clause"
] | 35 | 2016-09-14T21:07:05.000Z | 2022-02-16T18:44:59.000Z | AstroVolume/MRML/vtkMRMLAstroReprojectParametersNode.cxx | Punzo/SlicerAstro | d22e22f439d3fdc47a86f09bc1271d034a08324d | [
"BSD-3-Clause"
] | 90 | 2016-02-08T11:39:55.000Z | 2022-03-22T17:08:43.000Z | AstroVolume/MRML/vtkMRMLAstroReprojectParametersNode.cxx | Punzo/SlicerAstro | d22e22f439d3fdc47a86f09bc1271d034a08324d | [
"BSD-3-Clause"
] | 5 | 2016-06-02T22:33:20.000Z | 2020-01-23T02:17:47.000Z | /*==============================================================================
Copyright (c) Kapteyn Astronomical Institute
University of Groningen, Groningen, Netherlands. All Rights Reserved.
See COPYRIGHT.txt
or http://www.slicer.org/copyright/copyright.txt for details.
Unless required by applicable l... | 31.047619 | 128 | 0.592025 | Punzo |
7e3d1d893a448c7c3e4c4974e10b693e9afb03bb | 6,763 | cpp | C++ | src/gfx/GBuffer.cpp | Robograde/Robograde | 2c9a7d0b8250ec240102d504127f5c54532cb2b0 | [
"Zlib"
] | 5 | 2015-10-11T10:22:39.000Z | 2019-07-24T10:09:13.000Z | src/gfx/GBuffer.cpp | Robograde/Robograde | 2c9a7d0b8250ec240102d504127f5c54532cb2b0 | [
"Zlib"
] | null | null | null | src/gfx/GBuffer.cpp | Robograde/Robograde | 2c9a7d0b8250ec240102d504127f5c54532cb2b0 | [
"Zlib"
] | null | null | null | /**************************************************
Zlib Copyright 2015 Henrik Johansson
***************************************************/
#include "GBuffer.h"
#include <utility/Logger.h>
using namespace gfx;
GBuffer::GBuffer( )
{
// Set default values
std::fill( m_BufferTex, m_BufferTex + NUMBER_OF_GBUFFERS, 0 ... | 40.740964 | 126 | 0.770812 | Robograde |
7e3deb7000e06d68c924c105e60b0ceeeeea35ee | 1,889 | cpp | C++ | Robotron/Source/DirectX9Framework/Debugging/Logger.cpp | ThatBeanBag/Slimfish | 7b0f821bccf2cae7d67f8a822f078def7a2d354d | [
"Apache-2.0"
] | null | null | null | Robotron/Source/DirectX9Framework/Debugging/Logger.cpp | ThatBeanBag/Slimfish | 7b0f821bccf2cae7d67f8a822f078def7a2d354d | [
"Apache-2.0"
] | null | null | null | Robotron/Source/DirectX9Framework/Debugging/Logger.cpp | ThatBeanBag/Slimfish | 7b0f821bccf2cae7d67f8a822f078def7a2d354d | [
"Apache-2.0"
] | null | null | null | //
// Bachelor of Software Engineering
// Media Design School
// Auckland
// New Zealand
//
// (c) 2005 - 2015 Media Design School
//
// File Name : Logger.cpp
// Description : CLogger implementation file.
// Author : Hayden Asplet.
// Mail : hayden.asplet@mediadesignschool.com
//
// PCH
#include "GameStd.h"
// L... | 23.911392 | 157 | 0.744839 | ThatBeanBag |
7e4421efc782c9fe2834b0ebe151e5731b3ad693 | 3,379 | hpp | C++ | miopengemm/include/miopengemm/miogemm.hpp | pruthvistony/MIOpenGEMM | 8f844e134d54244a6138504a4190486d8702e8fd | [
"MIT"
] | 52 | 2017-06-30T06:45:19.000Z | 2021-11-04T01:53:48.000Z | miopengemm/include/miopengemm/miogemm.hpp | pruthvistony/MIOpenGEMM | 8f844e134d54244a6138504a4190486d8702e8fd | [
"MIT"
] | 31 | 2017-08-01T03:17:25.000Z | 2022-03-22T18:19:41.000Z | miopengemm/include/miopengemm/miogemm.hpp | pruthvistony/MIOpenGEMM | 8f844e134d54244a6138504a4190486d8702e8fd | [
"MIT"
] | 23 | 2017-07-17T02:09:17.000Z | 2021-11-10T00:38:19.000Z | /*******************************************************************************
* Copyright (C) 2017 Advanced Micro Devices, Inc. All rights reserved.
*******************************************************************************/
#ifndef GUARD_MIOPENGEMM_MIOGEMM_HPP
#define GUARD_MIOPENGEMM_MIOGEMM_HPP
#include <... | 32.180952 | 93 | 0.620302 | pruthvistony |
7e4b6ef381bc59709100f39250a164b4627a3b78 | 322 | hpp | C++ | src/Mementos/Memento.hpp | edusidsan/GameProg-OO | c74bedb6c592386a40eefbd61770184994a75aa6 | [
"MIT"
] | null | null | null | src/Mementos/Memento.hpp | edusidsan/GameProg-OO | c74bedb6c592386a40eefbd61770184994a75aa6 | [
"MIT"
] | null | null | null | src/Mementos/Memento.hpp | edusidsan/GameProg-OO | c74bedb6c592386a40eefbd61770184994a75aa6 | [
"MIT"
] | null | null | null | #ifndef _MEMENTO_HPP_
#define _MEMENTO_HPP_
#include "../json.hpp"
namespace OgrO // Namespace com o nome do jogo.
{
namespace Mementos
{
class Memento
{
public:
Memento();
virtual ~Memento();
virtual nlohmann::json toJSON();
};
}
}
#end... | 16.1 | 47 | 0.540373 | edusidsan |
7e4bbcabf7b1f37bff2707794af4d233a3adbf58 | 1,313 | cpp | C++ | tools/ktx_viewer/src/main.cpp | kevin-lesenechal/glare | 774fb6bcd40349ac5a7b9155b97d1dd995b3b5d1 | [
"MIT"
] | null | null | null | tools/ktx_viewer/src/main.cpp | kevin-lesenechal/glare | 774fb6bcd40349ac5a7b9155b97d1dd995b3b5d1 | [
"MIT"
] | null | null | null | tools/ktx_viewer/src/main.cpp | kevin-lesenechal/glare | 774fb6bcd40349ac5a7b9155b97d1dd995b3b5d1 | [
"MIT"
] | null | null | null | #include <QApplication>
#include <QFileDialog>
#include <QMessageBox>
#include <simple_ktx.hpp>
#include <fstream>
#include "mainwindow.hpp"
namespace ktx = simple_ktx;
int main(int argc, char** argv)
{
QApplication qapp(argc, argv);
std::string filename;
if (qapp.arguments().size() == 1) {
fil... | 23.035088 | 81 | 0.553694 | kevin-lesenechal |
7e4bc1175675fc5820f9b3e8d31ad8733be06e81 | 1,322 | cpp | C++ | wssc8/wssc8.cpp | visuve/WSCS | e2e08c203a888138698d6fc2dec5d00d019f905a | [
"Beerware"
] | null | null | null | wssc8/wssc8.cpp | visuve/WSCS | e2e08c203a888138698d6fc2dec5d00d019f905a | [
"Beerware"
] | null | null | null | wssc8/wssc8.cpp | visuve/WSCS | e2e08c203a888138698d6fc2dec5d00d019f905a | [
"Beerware"
] | null | null | null | #include "wssc8.hpp"
#include <bitset>
#include <cstring>
namespace wscs
{
void flip_bits(void* data, size_t length, const std::array<uint8_t, wssc8::bytes>& key)
{
uint8_t* iter = reinterpret_cast<uint8_t*>(data);
for (size_t i = 0; i < length; ++i)
{
uint8_t index_to_flip = key[i % key.size()];
iter[i... | 20.338462 | 104 | 0.647504 | visuve |
7e4e42335b4b2d84516f8404bbcfd22c397d9612 | 1,561 | hpp | C++ | src/matrix.hpp | JustAdamHere/MAGIC098-Exam | 1e3cf42b1a64fb0de64172ae0c13f1888362904a | [
"MIT"
] | null | null | null | src/matrix.hpp | JustAdamHere/MAGIC098-Exam | 1e3cf42b1a64fb0de64172ae0c13f1888362904a | [
"MIT"
] | null | null | null | src/matrix.hpp | JustAdamHere/MAGIC098-Exam | 1e3cf42b1a64fb0de64172ae0c13f1888362904a | [
"MIT"
] | null | null | null | /******************************************************************************
* @details Declarations for [Matrix].
*
* @author Adam Matthew Blakey
* @date 2020/01/02
******************************************************************************/
#ifndef CLASS_MATRIX
#define CLASS_MATRIX
#include <ca... | 28.381818 | 101 | 0.598975 | JustAdamHere |
7e5549e2cfa1c67524a0886c5c068bcd0ac11f86 | 15,517 | hpp | C++ | src/c++/Tree.hpp | arvestad/FastPhylo | 565ff08ca37f1a749b7837453b9ac6de1d15b643 | [
"MIT"
] | 1 | 2018-09-07T07:48:21.000Z | 2018-09-07T07:48:21.000Z | src/c++/Tree.hpp | arvestad/FastPhylo | 565ff08ca37f1a749b7837453b9ac6de1d15b643 | [
"MIT"
] | 1 | 2018-09-03T09:39:32.000Z | 2019-02-19T09:59:34.000Z | src/c++/Tree.hpp | arvestad/FastPhylo | 565ff08ca37f1a749b7837453b9ac6de1d15b643 | [
"MIT"
] | 3 | 2018-09-17T08:09:30.000Z | 2020-12-11T00:50:08.000Z | //--------------------------------------------------
//
// File: Tree.hpp
//
// Author: Isaac Elias
// e-mail: isaac@nada.kth.se
//
// cvs: $Id: Tree.hpp,v 1.26 2006/12/19 09:24:36... | 33.226981 | 115 | 0.673584 | arvestad |
7e5a8056bf6e06e8c20f9a877d5313c00f2da54e | 1,508 | cpp | C++ | src/server/Timer/TimerManager.cpp | NoUITeam/TinyAndPretty | 06cb20f1a2381fc2196674255a00fcba416ce830 | [
"Apache-2.0"
] | null | null | null | src/server/Timer/TimerManager.cpp | NoUITeam/TinyAndPretty | 06cb20f1a2381fc2196674255a00fcba416ce830 | [
"Apache-2.0"
] | null | null | null | src/server/Timer/TimerManager.cpp | NoUITeam/TinyAndPretty | 06cb20f1a2381fc2196674255a00fcba416ce830 | [
"Apache-2.0"
] | 2 | 2022-03-10T18:14:02.000Z | 2022-03-14T15:39:59.000Z | #include <connect/Timer/TimerManager.h>
#include <connect/HttpProtocal/HttpAdapter.h>
bool TimerManager::protocalConfirm(const int magic_n) {
return (magic_n == TIME_MAGICNUM);
}
TimerManager* TimerManager::getInstance()
{
if (myself == nullptr) {
std::cerr << "TimerManager HasNot Registered Yet! [TimerManager.c... | 17.952381 | 74 | 0.689655 | NoUITeam |
7e66cbdccf72aa3317be519570cd3bb98f2dc0bb | 1,563 | cpp | C++ | myvision.cpp | ids-imaging/ids-nxt-vision-app-multi-cnn-classifier | 894488306a883e981cfc44ca30ad19a27c2109fa | [
"Apache-2.0"
] | null | null | null | myvision.cpp | ids-imaging/ids-nxt-vision-app-multi-cnn-classifier | 894488306a883e981cfc44ca30ad19a27c2109fa | [
"Apache-2.0"
] | null | null | null | myvision.cpp | ids-imaging/ids-nxt-vision-app-multi-cnn-classifier | 894488306a883e981cfc44ca30ad19a27c2109fa | [
"Apache-2.0"
] | null | null | null | // Include the own header
#include "myvision.h"
#include "cnnmanager_v2.h"
#include <QImage>
#include <QLoggingCategory>
static QLoggingCategory lc{"multicnnclassifier.vision"};
void MyVision::process() {
try {
// Get the image data
auto img = image();
if (!_cnnData.empty()) {
... | 31.897959 | 120 | 0.598209 | ids-imaging |
7e70b07423c774342f394549f458d02884bab4ce | 41 | hpp | C++ | chaine/src/predicate/all.hpp | the-last-willy/id3d | dc0d22e7247ac39fbc1fd8433acae378b7610109 | [
"MIT"
] | null | null | null | chaine/src/predicate/all.hpp | the-last-willy/id3d | dc0d22e7247ac39fbc1fd8433acae378b7610109 | [
"MIT"
] | null | null | null | chaine/src/predicate/all.hpp | the-last-willy/id3d | dc0d22e7247ac39fbc1fd8433acae378b7610109 | [
"MIT"
] | null | null | null | #pragma once
#include "orientation.hpp"
| 10.25 | 26 | 0.756098 | the-last-willy |
7e7113a1e7dd194ee4a68d91021e48d3fc9c9572 | 1,140 | cpp | C++ | src/copperhead/compiler/cuarray_extract.cpp | zahangircse/copperhead | b6b15adfe99dcd102c4a7f23508779cbc235c655 | [
"Apache-2.0"
] | null | null | null | src/copperhead/compiler/cuarray_extract.cpp | zahangircse/copperhead | b6b15adfe99dcd102c4a7f23508779cbc235c655 | [
"Apache-2.0"
] | null | null | null | src/copperhead/compiler/cuarray_extract.cpp | zahangircse/copperhead | b6b15adfe99dcd102c4a7f23508779cbc235c655 | [
"Apache-2.0"
] | null | null | null | #include "cuarray_extract.hpp"
#include "utility/isinstance.hpp"
using std::string;
using std::ostringstream;
using std::vector;
using std::shared_ptr;
using std::make_shared;
using std::static_pointer_cast;
using std::move;
using std::set;
namespace backend {
cuarray_extract::cuarray_extract(const std::string& entry_... | 29.230769 | 89 | 0.675439 | zahangircse |
7e7e0e4b233df2b4b1b8e7f4cad26bea2bccc0f9 | 15,999 | cpp | C++ | src/burn/drv/konami/d_scotrsht.cpp | tt-arcade/fba-pi | 10407847a98f0d315b05e44f0ecf01824f4558aa | [
"Apache-2.0"
] | null | null | null | src/burn/drv/konami/d_scotrsht.cpp | tt-arcade/fba-pi | 10407847a98f0d315b05e44f0ecf01824f4558aa | [
"Apache-2.0"
] | null | null | null | src/burn/drv/konami/d_scotrsht.cpp | tt-arcade/fba-pi | 10407847a98f0d315b05e44f0ecf01824f4558aa | [
"Apache-2.0"
] | null | null | null | // FB Alpha Scooter Shooter driver module
// Based on MAME driver by Pierpaolo Prazzoli
#include "tiles_generic.h"
#include "z80_intf.h"
#include "m6809_intf.h"
#include "burn_ym2203.h"
static UINT8 *AllMem;
static UINT8 *RamEnd;
static UINT8 *MemEnd;
static UINT8 *AllRam;
static UINT8 *DrvM6809ROM;
stat... | 24.651772 | 116 | 0.596787 | tt-arcade |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.