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 108 | 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 67k ⌀ | 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
bb35e00a6e05f5e2d3836ef1ea79ddd49b070067 | 4,624 | cpp | C++ | src/prod/src/Management/healthmanager/PartitionAttributesStoreData.cpp | vishnuk007/service-fabric | d0afdea185ae932cc3c9eacf179692e6fddbc630 | [
"MIT"
] | 2,542 | 2018-03-14T21:56:12.000Z | 2019-05-06T01:18:20.000Z | src/prod/src/Management/healthmanager/PartitionAttributesStoreData.cpp | vishnuk007/service-fabric | d0afdea185ae932cc3c9eacf179692e6fddbc630 | [
"MIT"
] | 994 | 2019-05-07T02:39:30.000Z | 2022-03-31T13:23:04.000Z | src/prod/src/Management/healthmanager/PartitionAttributesStoreData.cpp | vishnuk007/service-fabric | d0afdea185ae932cc3c9eacf179692e6fddbc630 | [
"MIT"
] | 300 | 2018-03-14T21:57:17.000Z | 2019-05-06T20:07:00.000Z | // ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
#include "stdafx.h"
using nam... | 27.040936 | 117 | 0.661332 | vishnuk007 |
7d6b5fd35c6141c57502d5b66c11cbbbac6f515b | 1,542 | hpp | C++ | include/Boots/Utils/directory.hpp | Plaristote/Boots | ba6bd74fd06c5b26f1e159c6c861d46992db1145 | [
"BSD-3-Clause"
] | null | null | null | include/Boots/Utils/directory.hpp | Plaristote/Boots | ba6bd74fd06c5b26f1e159c6c861d46992db1145 | [
"BSD-3-Clause"
] | null | null | null | include/Boots/Utils/directory.hpp | Plaristote/Boots | ba6bd74fd06c5b26f1e159c6c861d46992db1145 | [
"BSD-3-Clause"
] | null | null | null | #ifndef DIRECTORY_HPP
# define DIRECTORY_HPP
# ifndef _WIN32
# include <dirent.h>
# include <sys/stat.h>
# include <unistd.h>
# include <string>
typedef struct dirent Dirent;
# else
# define _WINSOCKAPI_
//# include "semaphore.hpp"
# include <Windows.h>
# include <tchar.h>
# include <stdio.h>
# include <str... | 23.014925 | 84 | 0.677691 | Plaristote |
7d6b83b73a36810f36478732ba5859e1b324bd82 | 668 | cpp | C++ | UVa Online Judge/1176.cpp | xiezeju/ACM-Code-Archives | db135ed0953adcf5c7ab37a00b3f9458291ce0d7 | [
"MIT"
] | 1 | 2022-02-24T12:44:30.000Z | 2022-02-24T12:44:30.000Z | UVa Online Judge/1176.cpp | xiezeju/ACM-Code-Archives | db135ed0953adcf5c7ab37a00b3f9458291ce0d7 | [
"MIT"
] | null | null | null | UVa Online Judge/1176.cpp | xiezeju/ACM-Code-Archives | db135ed0953adcf5c7ab37a00b3f9458291ce0d7 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
#define LSOne(S) ((S) & -(S))
using namespace std;
typedef long long ll;
typedef pair<int, int> ii;
typedef vector<int> vi;
typedef vector<ii> vii;
typedef vector<ll> vll;
const int INF = 0x3f3f3f3f;
const long long LLINF = 4e18;
const double EPS = 1e-9;
const int N = 1010;
int js(int n){
... | 16.7 | 42 | 0.549401 | xiezeju |
7d6cf5ff6852f32400c1059bcf4bf3cbc0277544 | 784 | cpp | C++ | cppPrime/classtemplate_c16/test_02.cpp | ilvcr/cpplgproject | d3dc492b37c3754e35669eee2dd96d83de63ead4 | [
"Apache-2.0"
] | null | null | null | cppPrime/classtemplate_c16/test_02.cpp | ilvcr/cpplgproject | d3dc492b37c3754e35669eee2dd96d83de63ead4 | [
"Apache-2.0"
] | null | null | null | cppPrime/classtemplate_c16/test_02.cpp | ilvcr/cpplgproject | d3dc492b37c3754e35669eee2dd96d83de63ead4 | [
"Apache-2.0"
] | null | null | null | /*************************************************************************
> File Name: test_02.cpp
> Author: yoghourt->ilvcr
> Mail: liyaoliu@foxmail.com @@ ilvcr@outlook.com
> Created Time: 2018年07月19日 星期四 23时06分28秒
> Description: 类模板 Queue 的定义, 其和类模板 QueueItem 的
定义都被放在一个名为 Queue.h的头文件
****... | 20.102564 | 74 | 0.516582 | ilvcr |
7d722438d8351238988776e121a68201fe43c49a | 1,355 | hpp | C++ | RubetekIOS-CPP.framework/Versions/A/Headers/libnet/rubetek/utility/multiform/to_property_value.hpp | yklishevich/RubetekIOS-CPP-releases | 7dfbbb45b8de7dbb6fa995ff5dcbca4ec06c2bdb | [
"MIT"
] | null | null | null | RubetekIOS-CPP.framework/Versions/A/Headers/libnet/rubetek/utility/multiform/to_property_value.hpp | yklishevich/RubetekIOS-CPP-releases | 7dfbbb45b8de7dbb6fa995ff5dcbca4ec06c2bdb | [
"MIT"
] | null | null | null | RubetekIOS-CPP.framework/Versions/A/Headers/libnet/rubetek/utility/multiform/to_property_value.hpp | yklishevich/RubetekIOS-CPP-releases | 7dfbbb45b8de7dbb6fa995ff5dcbca4ec06c2bdb | [
"MIT"
] | null | null | null | #pragma once
#include <rubetek/essence/property.hpp>
#include <rubetek/utility/noncopyable.hpp>
#include <rubetek/utility/multiform/multiform.hpp>
#include <rubetek/utility/multiform/apply_visitor.hpp>
namespace rubetek
{
struct multiform_to_property_value_visitor
: utility::noncopyable
{
sta... | 24.636364 | 135 | 0.58524 | yklishevich |
7d75ea708e9473eca02aab0546d590b94fd5cacc | 465 | hpp | C++ | includes/eeros/hal/DummyRealOutput.hpp | bajric/eeros | 157dcfa87f87f55bc2fec703ea2c4eb1c27a35c8 | [
"Apache-2.0"
] | null | null | null | includes/eeros/hal/DummyRealOutput.hpp | bajric/eeros | 157dcfa87f87f55bc2fec703ea2c4eb1c27a35c8 | [
"Apache-2.0"
] | null | null | null | includes/eeros/hal/DummyRealOutput.hpp | bajric/eeros | 157dcfa87f87f55bc2fec703ea2c4eb1c27a35c8 | [
"Apache-2.0"
] | null | null | null | #ifndef ORG_EEROS_HAL_DUMMYREALOUTPUT_HPP_
#define ORG_EEROS_HAL_DUMMYREALOUTPUT_HPP_
#include <string>
#include <eeros/hal/ScalablePeripheralOutput.hpp>
namespace eeros {
namespace hal {
class DummyRealOutput : public ScalablePeripheralOutput<double> {
public:
DummyRealOutput(std::string id, double scale = ... | 22.142857 | 72 | 0.76129 | bajric |
7d77c276d89dc7a8f4a4f478b612c557ecbbae0a | 1,998 | cpp | C++ | Solution/Source/Graphics/MeshExporter.cpp | TeeNik/GameEngine | 9a3893455f20e14f967e5df9b2168fa0f004c101 | [
"MIT"
] | null | null | null | Solution/Source/Graphics/MeshExporter.cpp | TeeNik/GameEngine | 9a3893455f20e14f967e5df9b2168fa0f004c101 | [
"MIT"
] | null | null | null | Solution/Source/Graphics/MeshExporter.cpp | TeeNik/GameEngine | 9a3893455f20e14f967e5df9b2168fa0f004c101 | [
"MIT"
] | null | null | null | #pragma once
#include "Graphics/MeshExporter.hpp"
#include "Graphics/Mesh.hpp"
#include "Graphics/SkeletalMesh.hpp"
#include "assimp/Importer.hpp"
#include "assimp/scene.h"
#include "assimp/postprocess.h"
#include "Engine/Engine.hpp"
#include "Graphics/Renderer.hpp"
MeshExporter::MeshExporter(Engine* e... | 25.291139 | 92 | 0.682182 | TeeNik |
7d8299f2dfacd3fa22aa59192a9c63570510c7e8 | 19,442 | cpp | C++ | src/Providers/TestProviders/FaultyInstanceProvider/testclient/TestFaultyInstanceProviderClient.cpp | natronkeltner/openpegasus | e64f383c1ed37826041fc63e83b4e65fc1c679ae | [
"ICU",
"Unlicense",
"OpenSSL",
"MIT"
] | 1 | 2021-11-12T21:28:50.000Z | 2021-11-12T21:28:50.000Z | src/Providers/TestProviders/FaultyInstanceProvider/testclient/TestFaultyInstanceProviderClient.cpp | natronkeltner/openpegasus | e64f383c1ed37826041fc63e83b4e65fc1c679ae | [
"ICU",
"Unlicense",
"OpenSSL",
"MIT"
] | 39 | 2021-01-18T19:28:41.000Z | 2022-03-27T20:55:36.000Z | src/Providers/TestProviders/FaultyInstanceProvider/testclient/TestFaultyInstanceProviderClient.cpp | natronkeltner/openpegasus | e64f383c1ed37826041fc63e83b4e65fc1c679ae | [
"ICU",
"Unlicense",
"OpenSSL",
"MIT"
] | 4 | 2021-07-09T12:52:33.000Z | 2021-12-21T15:05:59.000Z | //%LICENSE////////////////////////////////////////////////////////////////
//
// Licensed to The Open Group (TOG) under one or more contributor license
// agreements. Refer to the OpenPegasusNOTICE.txt file distributed with
// this work for additional information regarding copyright ownership.
// Each contributor lice... | 32.67563 | 80 | 0.644944 | natronkeltner |
7d82a505be293a1af29273caa9b907acb1bb0696 | 3,066 | cpp | C++ | avlme.cpp | Rajasuryaa/seven | 87a7e1aa801fa330deb585ba859a09da56c22e90 | [
"curl"
] | null | null | null | avlme.cpp | Rajasuryaa/seven | 87a7e1aa801fa330deb585ba859a09da56c22e90 | [
"curl"
] | null | null | null | avlme.cpp | Rajasuryaa/seven | 87a7e1aa801fa330deb585ba859a09da56c22e90 | [
"curl"
] | null | null | null | #include<stdio.h>
#include<stdlib.h>
using namespace std;
typedef struct node{
int data;
struct node *left;
struct node *right;
int ht;
}node;
int height(node * T)
{
int lh,rh;
if(T==NULL)
return(0);
if(T->left == NULL)
lh = 0;
else
lh = 1 + T->left->ht;
if(T->right == NULL)
... | 14.6 | 43 | 0.460535 | Rajasuryaa |
7d83130338d3944e13f1df090f247cf4d8245d9f | 19,105 | cpp | C++ | src/ch12_self0.cpp | timmy61109/C-How-to-Program | 95e373efd2fcfba60f33c1b6784aef72f725e9d2 | [
"MIT"
] | 1 | 2022-01-03T08:03:21.000Z | 2022-01-03T08:03:21.000Z | src/ch12_self0.cpp | timmy61109/C-How-to-Program | 95e373efd2fcfba60f33c1b6784aef72f725e9d2 | [
"MIT"
] | null | null | null | src/ch12_self0.cpp | timmy61109/C-How-to-Program | 95e373efd2fcfba60f33c1b6784aef72f725e9d2 | [
"MIT"
] | null | null | null | /* ch12_self0.cpp
vehicle management 汽車管理軟體
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define SIZE 3
#define DATABASE 500
#define LICENSE_PLATE 22
#define ENGINE 10
#define NAME 22
#define ID 12
#define PHONE_NUMBER 17
#define ADDR 6400
#define DATE 22
#define MONEY 22
typedef struct {
unsigned ... | 23.674102 | 110 | 0.595185 | timmy61109 |
7d8957d617b3f89beb5b39a24f6fa1e9d4212437 | 291 | cpp | C++ | sources/lambda/main_functor.cpp | zussel/cpp-overview | 8a2f1ae7504ad2bb2a1ce8b284bb8a2fee448dbf | [
"MIT"
] | null | null | null | sources/lambda/main_functor.cpp | zussel/cpp-overview | 8a2f1ae7504ad2bb2a1ce8b284bb8a2fee448dbf | [
"MIT"
] | null | null | null | sources/lambda/main_functor.cpp | zussel/cpp-overview | 8a2f1ae7504ad2bb2a1ce8b284bb8a2fee448dbf | [
"MIT"
] | null | null | null | #include <iostream>
struct adder {
adder(int x) : x(x) {}
int operator()(int y) const { return x + y; }
int x;
};
int main()
{
// create an instance of the functor class
adder add42(42);
// and "call" it
std::cout << "8 + 42 = " << add42(8) << "\n";
return 0;
} | 16.166667 | 49 | 0.52921 | zussel |
7d8b95a50341cb59889d9654da14c7ffdea2db90 | 219 | cpp | C++ | OSE V2/OSE-Core/Resources/Mesh/MeshLoader.cpp | rexapex/OSE-V2-Game-Engine- | cbf8040d4b017275c073373f8438b227e691858d | [
"MIT"
] | 1 | 2019-09-29T17:45:11.000Z | 2019-09-29T17:45:11.000Z | OSE V2/OSE-Core/Resources/Mesh/MeshLoader.cpp | rexapex/OSE-V2-Game-Engine- | cbf8040d4b017275c073373f8438b227e691858d | [
"MIT"
] | 10 | 2020-11-13T13:41:26.000Z | 2020-11-16T18:46:57.000Z | OSE V2/OSE-Core/Resources/Mesh/MeshLoader.cpp | rexapex/OSE-Game-Engine | cbf8040d4b017275c073373f8438b227e691858d | [
"MIT"
] | null | null | null | #include "stdafx.h"
#include "MeshLoader.h"
namespace ose
{
MeshLoader::MeshLoader(std::string const & project_path) : project_path_(project_path)
{
}
MeshLoader::~MeshLoader() // Free all mesh resources
{
}
} | 14.6 | 87 | 0.707763 | rexapex |
7d8c5540bbba5dc72f16d08de7f0efced146806e | 1,601 | cpp | C++ | ch01/myMore.cpp | Sunrisepeak/UULP | 2fa25233ab67631e4a22287119f20d7952012a29 | [
"MIT"
] | null | null | null | ch01/myMore.cpp | Sunrisepeak/UULP | 2fa25233ab67631e4a22287119f20d7952012a29 | [
"MIT"
] | null | null | null | ch01/myMore.cpp | Sunrisepeak/UULP | 2fa25233ab67631e4a22287119f20d7952012a29 | [
"MIT"
] | null | null | null | #include <iostream>
#include <fstream>
#include <string>
#include <vector>
#define SCREEN (std::cout)
class More {
public: // Big Five
More(std::string filename, int ps = 10) : pageSize { ps }, ifs( filename ) { }
More(const More &) = delete;
More(const More &&) = delete;
More ... | 20.792208 | 82 | 0.555278 | Sunrisepeak |
7d8fbcd54bd2f868c61832ee14eaeb9b434c1bde | 6,368 | cpp | C++ | Base/Motor2D/DefenseAOE.cpp | stormhowlers/StormHowlers | e821d07d78e0eea1935828b16abf2b89c344eaa7 | [
"MIT"
] | 1 | 2019-03-08T16:59:43.000Z | 2019-03-08T16:59:43.000Z | Base/Motor2D/DefenseAOE.cpp | stormhowlers/StormHowlers | e821d07d78e0eea1935828b16abf2b89c344eaa7 | [
"MIT"
] | 14 | 2019-04-13T00:59:40.000Z | 2019-05-25T14:35:03.000Z | Base/Motor2D/DefenseAOE.cpp | Scarzard/StormHowlers | e821d07d78e0eea1935828b16abf2b89c344eaa7 | [
"MIT"
] | 1 | 2020-06-14T19:41:34.000Z | 2020-06-14T19:41:34.000Z | #include "DefenseAoe.h"
#include "Brofiler\Brofiler.h"
#include "Audio.h"
#include "Player.h"
#include "Render.h"
#include "Log.h"
#include "Transitions.h"
#include <map>
DefenseAoe::DefenseAoe()
{
// NOW IS A COPY OF DEFENSE TARGET WITH DIFERENT BEHAVIOUR (UPDATE)
// NEED TO CHANGE THE NAME INSIDE GetName() TO "de... | 23.411765 | 147 | 0.637406 | stormhowlers |
7d920f4108ebebb20739de3e93bd422a229d48a6 | 23,143 | cpp | C++ | src/tests-mpi/harp_mpi_test_extract.cpp | tskisner/HARP | e21435511c3dc95ce1318c852002a95ca59634b1 | [
"BSD-3-Clause-LBNL"
] | null | null | null | src/tests-mpi/harp_mpi_test_extract.cpp | tskisner/HARP | e21435511c3dc95ce1318c852002a95ca59634b1 | [
"BSD-3-Clause-LBNL"
] | null | null | null | src/tests-mpi/harp_mpi_test_extract.cpp | tskisner/HARP | e21435511c3dc95ce1318c852002a95ca59634b1 | [
"BSD-3-Clause-LBNL"
] | null | null | null | #include <iostream>
#include <fstream>
#include <sstream>
#include <vector>
#include <harp_mpi_test.hpp>
using namespace std;
using namespace harp;
void mpi_test_extract_subaccum ( mpi_spec_slice_p slice, mpi_matrix & full_data, mpi_matrix & check_data ) {
// inter-gang communicator
boost::mpi::communicator ... | 27.004667 | 406 | 0.58657 | tskisner |
7d949ba7c63f157ee1a00e107876a852a1ea9cc9 | 4,249 | cpp | C++ | imp_core/test/linearmemory_test.cpp | mwerlberger/imp | 2a2e4d31fa59ca1c32ae7f415306b39e31fc1e85 | [
"MIT"
] | 8 | 2015-10-24T18:31:58.000Z | 2019-10-16T03:27:27.000Z | imp_core/test/linearmemory_test.cpp | henrywen2011/imp | 2a2e4d31fa59ca1c32ae7f415306b39e31fc1e85 | [
"MIT"
] | 7 | 2015-06-22T09:36:32.000Z | 2015-08-20T06:56:10.000Z | imp_core/test/linearmemory_test.cpp | henrywen2011/imp | 2a2e4d31fa59ca1c32ae7f415306b39e31fc1e85 | [
"MIT"
] | 3 | 2015-05-13T14:46:48.000Z | 2017-01-11T09:20:03.000Z | #include <gtest/gtest.h>
// system includes
#include <assert.h>
#include <cstdint>
#include <iostream>
#include <random>
#include <functional>
#include <limits>
#include <type_traits>
#include <imp/core/linearmemory.hpp>
template<class T>
typename std::enable_if<std::is_integral<T>::value, std::function<T()> >::type... | 23.870787 | 83 | 0.683926 | mwerlberger |
7d94ad8a5c3ae0a09339829524c6e35e104f2072 | 262 | cpp | C++ | client/osx_background_shim.cpp | Twinklebear/wall_art | 90e05dcf9b85aa4decde98d88579d9efb8099e92 | [
"MIT"
] | 2 | 2015-09-06T05:57:31.000Z | 2022-03-12T02:42:29.000Z | client/osx_background_shim.cpp | Twinklebear/wall_art | 90e05dcf9b85aa4decde98d88579d9efb8099e92 | [
"MIT"
] | null | null | null | client/osx_background_shim.cpp | Twinklebear/wall_art | 90e05dcf9b85aa4decde98d88579d9efb8099e92 | [
"MIT"
] | null | null | null | #include <iostream>
#include <QByteArray>
#include "set_background.h"
extern bool osx_set_background(const char *path);
bool set_background(const QString &path) {
const QByteArray pathutf8 = path.toUtf8();
return osx_set_background(pathutf8.constData());
}
| 21.833333 | 49 | 0.774809 | Twinklebear |
7d9a6ae9488c2272e562d773ce48947c04ab2736 | 5,633 | cpp | C++ | src/light.cpp | tenglvjun/geometry | b6615adaeb8c600cd1b75a604e6793e6a98e2fb3 | [
"MIT"
] | null | null | null | src/light.cpp | tenglvjun/geometry | b6615adaeb8c600cd1b75a604e6793e6a98e2fb3 | [
"MIT"
] | null | null | null | src/light.cpp | tenglvjun/geometry | b6615adaeb8c600cd1b75a604e6793e6a98e2fb3 | [
"MIT"
] | null | null | null | #include "light.h"
#include <cmath>
#include "tools.h"
#include "setting.h"
#include "shader_code_manage.h"
#include "math_tools.h"
GeoLight::GeoLight()
: m_ubo(0)
{
RestoreFromSetting();
m_bindingPoint = Shader::RequestBindingPoint();
InitShader();
InitUniformBuffer();
UpdateUniformBuffer();... | 22.898374 | 102 | 0.709746 | tenglvjun |
7da79adea403efc073b6d1f9603643b648a5ee12 | 133 | hpp | C++ | MyApp/tests/myapp.hpp | flowtr/chatlab-engine | ab79073d7fac93df49db8c02a07758f43d151fa6 | [
"Unlicense"
] | 3 | 2021-08-27T23:09:59.000Z | 2021-08-30T03:49:13.000Z | MyApp/tests/myapp.hpp | Zephilinox/emscripten-cpp-cmake-template | 90223195bf2386ed62e1f3e07c0d40baeab7fbef | [
"Unlicense"
] | null | null | null | MyApp/tests/myapp.hpp | Zephilinox/emscripten-cpp-cmake-template | 90223195bf2386ed62e1f3e07c0d40baeab7fbef | [
"Unlicense"
] | null | null | null | //SELF
#include "MyApp/Game.hpp"
//LIBS
#include <doctest/doctest.h>
//STD
TEST_CASE("test")
{
CHECK_EQ(Game::add(1, 2), 3);
} | 11.083333 | 33 | 0.62406 | flowtr |
7da9e1db1eb06a740bafdf4bd116e9412f2c3a8d | 631 | cc | C++ | 2019/d1s2.cc | danielrayali/adventofcode | 29bfd54013a4ba832b7c846d2770eb03692d67de | [
"MIT"
] | null | null | null | 2019/d1s2.cc | danielrayali/adventofcode | 29bfd54013a4ba832b7c846d2770eb03692d67de | [
"MIT"
] | null | null | null | 2019/d1s2.cc | danielrayali/adventofcode | 29bfd54013a4ba832b7c846d2770eb03692d67de | [
"MIT"
] | null | null | null | #include <iostream>
#include <fstream>
#include <set>
using namespace std;
int main(int argc, char* argv[]) {
if (argc != 2) {
cerr << "Give a file to parse" << endl;
return 0;
}
string path(argv[1]);
int total = 0;
set<int> history;
history.emplace(0);
while (true) {
ifstream in(path);
... | 17.527778 | 50 | 0.537242 | danielrayali |
7dad39c4f246ecb56a7b1b90958d3af8f9796d25 | 2,774 | cpp | C++ | src/Robot/leg.cpp | TheDarkPhoenix/HexapodRaspberry | 67116e06f80311b95124357892399e025675bff7 | [
"MIT"
] | null | null | null | src/Robot/leg.cpp | TheDarkPhoenix/HexapodRaspberry | 67116e06f80311b95124357892399e025675bff7 | [
"MIT"
] | 1 | 2018-06-08T15:30:36.000Z | 2018-06-08T15:35:57.000Z | src/Robot/leg.cpp | TheDarkPhoenix/HexapodRaspberry | 67116e06f80311b95124357892399e025675bff7 | [
"MIT"
] | null | null | null | #include "Robot/leg.h"
using namespace cv;
Leg::Leg(Point3f joint1, Point3f angles1, Point3f lengths1, cv::Point3f signals1)
{
legJoints.A = joint1;
angles = angles1;
lengths = lengths1;
signals = signals1;
}
void Leg::initJointPoints()
{
calculateJointPoints();
legEnd = legJoints.D;
init... | 29.827957 | 110 | 0.601298 | TheDarkPhoenix |
7daf90ae76c470170441dc43f9bb111d70a22978 | 237 | cpp | C++ | modules/common/src/visibility_reasoning.cpp | ToMadoRe/v4r | 7cb817e05cb9d99cb2f68db009c27d7144d07f09 | [
"MIT"
] | 17 | 2015-11-16T14:21:10.000Z | 2020-11-09T02:57:33.000Z | modules/common/src/visibility_reasoning.cpp | ToMadoRe/v4r | 7cb817e05cb9d99cb2f68db009c27d7144d07f09 | [
"MIT"
] | 35 | 2015-07-27T15:04:43.000Z | 2019-08-22T10:52:35.000Z | modules/common/src/visibility_reasoning.cpp | ToMadoRe/v4r | 7cb817e05cb9d99cb2f68db009c27d7144d07f09 | [
"MIT"
] | 18 | 2015-08-06T09:26:27.000Z | 2020-09-03T01:31:00.000Z | #include <v4r/common/visibility_reasoning.h>
#include <v4r/common/impl/visibility_reasoning.hpp>
template class V4R_EXPORTS v4r::VisibilityReasoning<pcl::PointXYZ>;
template class V4R_EXPORTS v4r::VisibilityReasoning<pcl::PointXYZRGB>;
| 39.5 | 70 | 0.831224 | ToMadoRe |
7db030bc2847d8fbc279bc2d573c4fc92bb82e04 | 16,638 | cpp | C++ | tests/sse/benchmark_sse2.cpp | albertobarri/idk | a250884f79e2a484251fc750bb915ecbc962be58 | [
"MIT"
] | 9,724 | 2015-01-01T02:06:30.000Z | 2019-01-17T15:13:51.000Z | tests/sse/benchmark_sse2.cpp | albertobarri/idk | a250884f79e2a484251fc750bb915ecbc962be58 | [
"MIT"
] | 7,584 | 2019-01-17T22:58:27.000Z | 2022-03-31T23:10:22.000Z | tests/sse/benchmark_sse2.cpp | albertobarri/idk | a250884f79e2a484251fc750bb915ecbc962be58 | [
"MIT"
] | 1,519 | 2015-01-01T18:11:12.000Z | 2019-01-17T14:16:02.000Z | /*
* Copyright 2020 The Emscripten Authors. All rights reserved.
* Emscripten is available under two separate licenses, the MIT license and the
* University of Illinois/NCSA Open Source License. Both these licenses can be
* found in the LICENSE file.
*/
#include <emmintrin.h>
#include "benchmark_sse.h"
int main... | 68.188525 | 535 | 0.69185 | albertobarri |
7db4d703919ef4d6f95092de9280e7128bfb5121 | 4,796 | hpp | C++ | addons/modules/modules/createTask/module.hpp | Krzyciu/A3CS | b7144fc9089b5ded6e37cc1fad79b1c2879521be | [
"MIT"
] | 1 | 2020-06-07T00:45:49.000Z | 2020-06-07T00:45:49.000Z | addons/modules/modules/createTask/module.hpp | Krzyciu/A3CS | b7144fc9089b5ded6e37cc1fad79b1c2879521be | [
"MIT"
] | 27 | 2020-05-24T11:09:56.000Z | 2020-05-25T12:28:10.000Z | addons/modules/modules/createTask/module.hpp | Krzyciu/A3CS | b7144fc9089b5ded6e37cc1fad79b1c2879521be | [
"MIT"
] | 2 | 2020-05-31T08:52:45.000Z | 2021-04-16T23:16:37.000Z | class GVAR(createTask): GVAR(base) {
scope = 2;
author = "SzwedzikPL";
displayName = CSTRING(createTask_displayName);
icon = "\a3\Modules_F\Data\iconTaskCreate_ca.paa";
category = QGVAR(tasks);
function = QFUNC(createTask_module);
functionPriority = 2;
GVAR(validator) = QFUNC(createTask_... | 38.677419 | 88 | 0.618015 | Krzyciu |
7db84ebeab189331c3c7722dd79339a6a8c67ec8 | 1,533 | cpp | C++ | src/subsys/EightyBot/EightyClimber.cpp | Team302/2017Steamworks | 757a5332c47dd007482e30ee067852d13582ba39 | [
"MIT"
] | null | null | null | src/subsys/EightyBot/EightyClimber.cpp | Team302/2017Steamworks | 757a5332c47dd007482e30ee067852d13582ba39 | [
"MIT"
] | 1 | 2018-09-07T14:14:28.000Z | 2018-09-13T04:01:33.000Z | src/subsys/EightyBot/EightyClimber.cpp | Team302/2017Steamworks | 757a5332c47dd007482e30ee067852d13582ba39 | [
"MIT"
] | null | null | null | /*
* EightyClimber.cpp
*
* Created on: Feb 13, 2017
* Author: 0wen
*/
#include <subsys/EightyBot/EightyClimber.h>
#include <utils/DragonTalon.h>
#include <subsys/EightyBot/EightyMap.h>
namespace Team302 {
bool EightyClimber::IsRobotLifting()
{
double current = m_climbMotor->GetOutputCurrent(); //get ampe... | 23.227273 | 142 | 0.762557 | Team302 |
7dbbeb07391e782b18d033f290afe9fee95cc7b7 | 5,543 | cpp | C++ | sampler_test.cpp | mmuggli/doppelganger | c0f2662188edbaad39da80f58072d5a888f4b1d1 | [
"MIT"
] | 2 | 2018-08-16T18:49:12.000Z | 2020-11-11T13:57:38.000Z | sampler_test.cpp | mmuggli/doppelganger | c0f2662188edbaad39da80f58072d5a888f4b1d1 | [
"MIT"
] | 1 | 2020-11-01T00:40:12.000Z | 2020-11-01T00:40:12.000Z | sampler_test.cpp | mmuggli/doppelganger | c0f2662188edbaad39da80f58072d5a888f4b1d1 | [
"MIT"
] | null | null | null | #include <cmath>
#include <cstdlib>
#include <fstream>
#include <iostream>
#include <vector>
#include "rlcsa.h"
using namespace CSA;
const parameter_type INITIAL_ADJUSTMENT = parameter_type("INITIAL_ADJUSTMENT", 0);
void
printUsage()
{
std::cout << "Usage: sampler_test [parameters] base_name weights" << std::e... | 28.425641 | 138 | 0.59751 | mmuggli |
7dbc0a25a2a78db0a0c3f8f90f46ca9846fa7268 | 1,159 | cc | C++ | whisperstreamlib/f4v/atoms/movie/co64_atom.cc | cpopescu/whispercast | dd4ee1d4fa2e3436fc2387240eb3f5622749d944 | [
"BSD-3-Clause"
] | null | null | null | whisperstreamlib/f4v/atoms/movie/co64_atom.cc | cpopescu/whispercast | dd4ee1d4fa2e3436fc2387240eb3f5622749d944 | [
"BSD-3-Clause"
] | null | null | null | whisperstreamlib/f4v/atoms/movie/co64_atom.cc | cpopescu/whispercast | dd4ee1d4fa2e3436fc2387240eb3f5622749d944 | [
"BSD-3-Clause"
] | null | null | null |
#include "f4v/atoms/movie/co64_atom.h"
namespace streaming {
namespace f4v {
Co64Record::Co64Record()
: chunk_offset_(0) {
}
Co64Record::Co64Record(const Co64Record& other)
: chunk_offset_(other.chunk_offset_) {
}
Co64Record::~Co64Record() {
}
bool Co64Record::Equals(const Co64Record& other) const {
return chu... | 22.288462 | 71 | 0.716997 | cpopescu |
7dbdda6479f306b04e3317e7efd74c0f8eded477 | 1,430 | cpp | C++ | LeetCode/C++/1405. Longest Happy String.cpp | shreejitverma/GeeksforGeeks | d7bcb166369fffa9a031a258e925b6aff8d44e6c | [
"MIT"
] | 2 | 2022-02-18T05:14:28.000Z | 2022-03-08T07:00:08.000Z | LeetCode/C++/1405. Longest Happy String.cpp | shivaniverma1/Competitive-Programming-1 | d7bcb166369fffa9a031a258e925b6aff8d44e6c | [
"MIT"
] | 6 | 2022-01-13T04:31:04.000Z | 2022-03-12T01:06:16.000Z | LeetCode/C++/1405. Longest Happy String.cpp | shivaniverma1/Competitive-Programming-1 | d7bcb166369fffa9a031a258e925b6aff8d44e6c | [
"MIT"
] | 2 | 2022-02-14T19:53:53.000Z | 2022-02-18T05:14:30.000Z | //https://leetcode.com/problems/longest-happy-string/discuss/564277/C%2B%2BJava-a-greater-b-greater-c
//Runtime: 0 ms, faster than 100.00% of C++ online submissions for Longest Happy String.
//Memory Usage: 8.3 MB, less than 100.00% of C++ online submissions for Longest Happy String.
class Solution {
public:
string... | 40.857143 | 118 | 0.530769 | shreejitverma |
7dbe28f6066fce1e0c1c057d3ddc6697dd60152c | 1,049 | hpp | C++ | stapl_release/stapl/skeletons/spans/spans_fwd.hpp | parasol-ppl/PPL_utils | 92728bb89692fda1705a0dee436592d97922a6cb | [
"BSD-3-Clause"
] | null | null | null | stapl_release/stapl/skeletons/spans/spans_fwd.hpp | parasol-ppl/PPL_utils | 92728bb89692fda1705a0dee436592d97922a6cb | [
"BSD-3-Clause"
] | null | null | null | stapl_release/stapl/skeletons/spans/spans_fwd.hpp | parasol-ppl/PPL_utils | 92728bb89692fda1705a0dee436592d97922a6cb | [
"BSD-3-Clause"
] | null | null | null | /*
// Copyright (c) 2000-2009, Texas Engineering Experiment Station (TEES), a
// component of the Texas A&M University System.
// All rights reserved.
// The information and source code contained herein is the exclusive
// property of TEES and may not be disclosed, examined or reproduced
// in whole or in part withou... | 20.173077 | 74 | 0.789323 | parasol-ppl |
7dc2bf5ec8561caf0011e54db7d8718571d4d209 | 1,515 | cpp | C++ | contests/leetcode-155/b.cpp | Nightwish-cn/my_leetcode | 40f206e346f3f734fb28f52b9cde0e0041436973 | [
"MIT"
] | 23 | 2020-03-30T05:44:56.000Z | 2021-09-04T16:00:57.000Z | contests/leetcode-155/b.cpp | Nightwish-cn/my_leetcode | 40f206e346f3f734fb28f52b9cde0e0041436973 | [
"MIT"
] | 1 | 2020-05-10T15:04:05.000Z | 2020-06-14T01:21:44.000Z | contests/leetcode-155/b.cpp | Nightwish-cn/my_leetcode | 40f206e346f3f734fb28f52b9cde0e0041436973 | [
"MIT"
] | 6 | 2020-03-30T05:45:04.000Z | 2020-08-13T10:01:39.000Z | #include <bits/stdc++.h>
#define INF 2000000000
using namespace std;
typedef long long ll;
int read(){
int f = 1, x = 0;
char c = getchar();
while(c < '0' || c > '9'){if(c == '-') f = -f; c = getchar();}
while(c >= '0' && c <= '9')x = x * 10 + c - '0', c = getchar();
return f * x;
}
struct TreeNod... | 24.836066 | 113 | 0.490429 | Nightwish-cn |
7dc2dbd7c0514a3fe68684f455cda5b2224aab75 | 18,861 | cpp | C++ | GB_APU.cpp | mmmaolololo/hey | a889c58142b9c8a775a94b24420126b228d1a776 | [
"Apache-2.0"
] | null | null | null | GB_APU.cpp | mmmaolololo/hey | a889c58142b9c8a775a94b24420126b228d1a776 | [
"Apache-2.0"
] | null | null | null | GB_APU.cpp | mmmaolololo/hey | a889c58142b9c8a775a94b24420126b228d1a776 | [
"Apache-2.0"
] | null | null | null | #include "GB_APU.h"
const GB_BY APU::ReadTable[0x20] = {
0x80,0x3F,0x00,0xFF,0xBF,
0xFF,0x3F,0x00,0xFF,0xBF,
0x7F,0xFF,0x9F,0xFF,0xBF,
0xFF,0xFF,0x00,0x00,0xBF,
0x00,0x00,0x70,
0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF
};
const GB_BY APU::WaveTable[4][8] = {
{0,0,0,0,0,0,0,1},
{1,0,0,0,0,0,0,1},
... | 22.778986 | 139 | 0.503632 | mmmaolololo |
7dc7285309d6aa25f456f4ae5d5aa85cd52825a1 | 214 | hpp | C++ | libstdcxx/compare.hpp | F4doraOfDoom/juos | cdec685701c406defc9204dcadf154df9eefc879 | [
"MIT"
] | 3 | 2020-12-22T01:24:56.000Z | 2021-01-06T11:44:50.000Z | libstdcxx/compare.hpp | F4doraOfDoom/juos | cdec685701c406defc9204dcadf154df9eefc879 | [
"MIT"
] | null | null | null | libstdcxx/compare.hpp | F4doraOfDoom/juos | cdec685701c406defc9204dcadf154df9eefc879 | [
"MIT"
] | null | null | null | #ifndef _LIBCXX_COMPARE_H
#define _LIBCXX_COMPARE_H
template <class T>
struct Less
{
bool operator()(const T& x, const T& y) const
{
return x < y;
}
typedef bool result_type;
};
#endif // _LIBCXX_COMPARE_H | 14.266667 | 46 | 0.714953 | F4doraOfDoom |
7dc7b5f5217df8dc038fddd08964b198182da414 | 638 | cpp | C++ | world/tiles/source/DownStaircaseTile.cpp | sidav/shadow-of-the-wyrm | 747afdeebed885b1a4f7ab42f04f9f756afd3e52 | [
"MIT"
] | 60 | 2019-08-21T04:08:41.000Z | 2022-03-10T13:48:04.000Z | world/tiles/source/DownStaircaseTile.cpp | cleancoindev/shadow-of-the-wyrm | 51b23e98285ecb8336324bfd41ebf00f67b30389 | [
"MIT"
] | 3 | 2021-03-18T15:11:14.000Z | 2021-10-20T12:13:07.000Z | world/tiles/source/DownStaircaseTile.cpp | cleancoindev/shadow-of-the-wyrm | 51b23e98285ecb8336324bfd41ebf00f67b30389 | [
"MIT"
] | 8 | 2019-11-16T06:29:05.000Z | 2022-01-23T17:33:43.000Z | #include "DownStaircaseTile.hpp"
TileType DownStaircaseTile::get_tile_type() const
{
return TileType::TILE_TYPE_DOWN_STAIRCASE;
}
StaircaseType DownStaircaseTile::get_staircase_type() const
{
return StaircaseType::STAIRCASE_DOWN;
}
std::string DownStaircaseTile::get_tile_description_sid() const
{
return TileTe... | 20.580645 | 68 | 0.815047 | sidav |
7dc86d0384eed19d693f75c4f6528637eefbca70 | 1,792 | cc | C++ | pagespeed/controller/expensive_operation_rpc_handler.cc | dimitrilongo/mod_pagespeed | d0d3bc51aa4feddf010b7085872c64cc46b5aae0 | [
"Apache-2.0"
] | 2 | 2019-11-02T07:54:17.000Z | 2020-04-16T09:26:51.000Z | pagespeed/controller/expensive_operation_rpc_handler.cc | dimitrilongo/mod_pagespeed | d0d3bc51aa4feddf010b7085872c64cc46b5aae0 | [
"Apache-2.0"
] | 12 | 2017-03-14T18:26:11.000Z | 2021-10-01T15:33:50.000Z | pagespeed/controller/expensive_operation_rpc_handler.cc | dimitrilongo/mod_pagespeed | d0d3bc51aa4feddf010b7085872c64cc46b5aae0 | [
"Apache-2.0"
] | 1 | 2020-04-16T09:28:30.000Z | 2020-04-16T09:28:30.000Z | // Copyright 2016 Google Inc.
//
// 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... | 37.333333 | 80 | 0.781808 | dimitrilongo |
7dcd607ad8eaa0650739dcc8f7053a959dab4eb1 | 2,034 | cpp | C++ | Miscellaneous/tree_traversals.cpp | Alecs-Li/Competitive-Programming | 39941ff8e2c8994abbae8c96a1ed0a04b10058b8 | [
"MIT"
] | 1 | 2021-07-06T02:14:03.000Z | 2021-07-06T02:14:03.000Z | Miscellaneous/tree_traversals.cpp | Alex01890-creator/competitive-programming | 39941ff8e2c8994abbae8c96a1ed0a04b10058b8 | [
"MIT"
] | null | null | null | Miscellaneous/tree_traversals.cpp | Alex01890-creator/competitive-programming | 39941ff8e2c8994abbae8c96a1ed0a04b10058b8 | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
#include <unordered_map>
using namespace std;
struct Node {
int key;
struct Node *left, *right;
Node(int key)
{
this->key = key;
left = right = NULL;
}
};
void inorder(struct Node* node){
if(node == NULL){
return;
}
inorder(node->left);
... | 17.384615 | 45 | 0.536382 | Alecs-Li |
7dce406ca670c41748a5a7137d3b860a57c83289 | 434 | cpp | C++ | Problem Solving/1. Simple Array Sum.cpp | ManthanUgemuge/Hackerrank | 9fccbf0164c2d33f3493b470c3fbef6edc2fcde1 | [
"MIT"
] | null | null | null | Problem Solving/1. Simple Array Sum.cpp | ManthanUgemuge/Hackerrank | 9fccbf0164c2d33f3493b470c3fbef6edc2fcde1 | [
"MIT"
] | null | null | null | Problem Solving/1. Simple Array Sum.cpp | ManthanUgemuge/Hackerrank | 9fccbf0164c2d33f3493b470c3fbef6edc2fcde1 | [
"MIT"
] | null | null | null | #include <cmath>
#include <cstdio>
#include <vector>
#include <iostream>
#include <algorithm>
using namespace std;
int main() {
/* Enter your code here. Read input from STDIN. Print output to STDOUT */
int numLines;
int currNumber, total = 0;
cin >> numLines;
for (int i=0; i<numLines;... | 17.36 | 80 | 0.576037 | ManthanUgemuge |
7dcfceddaf18afebe15c9181637e563c3e4d2976 | 7,882 | cc | C++ | tools/metrics_gen.cc | copperlight/spectatord | dfc0ec35bc027d090f1d71a3f067fe164ef84b56 | [
"Apache-2.0"
] | null | null | null | tools/metrics_gen.cc | copperlight/spectatord | dfc0ec35bc027d090f1d71a3f067fe164ef84b56 | [
"Apache-2.0"
] | null | null | null | tools/metrics_gen.cc | copperlight/spectatord | dfc0ec35bc027d090f1d71a3f067fe164ef84b56 | [
"Apache-2.0"
] | null | null | null | #include "local.h"
#include "absl/strings/numbers.h"
#include <asio.hpp>
#include <iostream>
#include <memory>
#include <fmt/format.h>
#include <spdlog/spdlog.h>
#include <spdlog/async.h>
#include <spdlog/sinks/stdout_color_sinks.h>
using metrics_t = std::vector<std::string>;
using asio::ip::udp;
using asio::local::s... | 31.40239 | 80 | 0.585131 | copperlight |
7dd30bac0d00404a0609d9c4f66884875c602b1c | 1,645 | cpp | C++ | thirdparty/sfs2x/Bitswarm/PendingPacket.cpp | godot-addons/godot-sfs2x | a8d52aa9d548f6d45bbb64bfdaacab0df10e67c1 | [
"MIT"
] | 2 | 2020-05-14T07:48:32.000Z | 2021-02-03T14:58:11.000Z | thirdparty/sfs2x/Bitswarm/PendingPacket.cpp | godot-addons/godot-sfs2x | a8d52aa9d548f6d45bbb64bfdaacab0df10e67c1 | [
"MIT"
] | 1 | 2020-05-28T16:39:20.000Z | 2020-05-28T16:39:20.000Z | thirdparty/sfs2x/Bitswarm/PendingPacket.cpp | godot-addons/godot-sfs2x | a8d52aa9d548f6d45bbb64bfdaacab0df10e67c1 | [
"MIT"
] | 2 | 2018-07-07T20:15:00.000Z | 2018-10-26T05:18:30.000Z | // ===================================================================
//
// Description
// Contains the implementation of PendingPacket
//
// Revision history
// Date Description
// 30-Nov-2012 First version
//
// ===================================================================
#include "PendingPacket.h"
n... | 27.881356 | 70 | 0.349544 | godot-addons |
7dd5a5a64231b2fb11ca4ee0fd25002f019e7a84 | 1,225 | hpp | C++ | src/editors/xrWeatherEditor/property_boolean_values_value.hpp | clayne/xray-16 | 32ebf81a252c7179e2824b2874f911a91e822ad1 | [
"OML",
"Linux-OpenIB"
] | 2 | 2015-02-23T10:43:02.000Z | 2015-06-11T14:45:08.000Z | src/editors/xrWeatherEditor/property_boolean_values_value.hpp | clayne/xray-16 | 32ebf81a252c7179e2824b2874f911a91e822ad1 | [
"OML",
"Linux-OpenIB"
] | 17 | 2022-01-25T08:58:23.000Z | 2022-03-28T17:18:28.000Z | src/editors/xrWeatherEditor/property_boolean_values_value.hpp | clayne/xray-16 | 32ebf81a252c7179e2824b2874f911a91e822ad1 | [
"OML",
"Linux-OpenIB"
] | 1 | 2015-06-05T20:04:00.000Z | 2015-06-05T20:04:00.000Z | ////////////////////////////////////////////////////////////////////////////
// Module : property_boolean_values_value.hpp
// Created : 07.12.2007
// Modified : 11.12.2007
// Author : Dmitriy Iassenev
// Description : property boolean values value class
////////////////////////////////////////////////////////////... | 34.027778 | 95 | 0.698776 | clayne |
7dd622328054eb24b4160a5d08cb31fbd06a7448 | 593 | cpp | C++ | FickleManette/FickleManette/WindowLoop.cpp | nicolasgustafsson/FickleManette | 9d5d5b58932a5a25b750432156c3acfb22f74d1e | [
"MIT"
] | null | null | null | FickleManette/FickleManette/WindowLoop.cpp | nicolasgustafsson/FickleManette | 9d5d5b58932a5a25b750432156c3acfb22f74d1e | [
"MIT"
] | null | null | null | FickleManette/FickleManette/WindowLoop.cpp | nicolasgustafsson/FickleManette | 9d5d5b58932a5a25b750432156c3acfb22f74d1e | [
"MIT"
] | null | null | null | #include "stdafx.h"
#include "WindowLoop.h"
WindowLoop::WindowLoop()
{
}
WindowLoop::~WindowLoop()
{
}
void WindowLoop::StartLoop()
{
sf::View view(sf::Vector2f(0.0f, 0.0f), sf::Vector2f(1920.f, 1080.f));
sf::RenderWindow window(sf::VideoMode(1280, 720), "Fickle Manette");
window.setView(view);
Drawer drawer... | 14.463415 | 71 | 0.647555 | nicolasgustafsson |
7dd8236cd0557299ae9e643fc74a0f2b815e718e | 22,089 | cpp | C++ | Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/media/tv/TvInputServiceSession.cpp | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | 7 | 2017-07-13T10:34:54.000Z | 2021-04-16T05:40:35.000Z | Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/media/tv/TvInputServiceSession.cpp | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | null | null | null | Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/media/tv/TvInputServiceSession.cpp | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | 9 | 2017-07-13T12:33:20.000Z | 2021-06-19T02:46:48.000Z | //=========================================================================
// Copyright (C) 2012 The Elastos Open Source Project
//
// 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
//
// ... | 30.509669 | 118 | 0.659785 | jingcao80 |
7dde048bfd615e1eacdb19a34352afc9d050b400 | 130 | cpp | C++ | test/custom_builds/cpp/rest/src/main.cpp | teh-cmc/flecs | ef6c366bae1142fa501d505ccb28d3e23d27ebc2 | [
"MIT"
] | 18 | 2021-09-17T16:41:14.000Z | 2022-02-01T15:22:20.000Z | test/custom_builds/cpp/rest/src/main.cpp | teh-cmc/flecs | ef6c366bae1142fa501d505ccb28d3e23d27ebc2 | [
"MIT"
] | 36 | 2021-09-21T10:22:16.000Z | 2022-01-22T10:25:11.000Z | test/custom_builds/cpp/rest/src/main.cpp | teh-cmc/flecs | ef6c366bae1142fa501d505ccb28d3e23d27ebc2 | [
"MIT"
] | 6 | 2021-09-26T11:06:32.000Z | 2022-01-21T15:07:05.000Z | #include <rest.h>
#include <iostream>
int main(int, char *[]) {
flecs::world world;
world.set<flecs::rest::Rest>({});
}
| 14.444444 | 37 | 0.592308 | teh-cmc |
7de1f122144d783842e96d3661947701fea4814c | 3,080 | hpp | C++ | Oem/dbxml/xqilla/include/xqilla/ast/XQFunction.hpp | achilex/MgDev | f7baf680a88d37659af32ee72b9a2046910b00d8 | [
"PHP-3.0"
] | 2 | 2017-04-19T01:38:30.000Z | 2020-07-31T03:05:32.000Z | Oem/dbxml/xqilla/include/xqilla/ast/XQFunction.hpp | achilex/MgDev | f7baf680a88d37659af32ee72b9a2046910b00d8 | [
"PHP-3.0"
] | null | null | null | Oem/dbxml/xqilla/include/xqilla/ast/XQFunction.hpp | achilex/MgDev | f7baf680a88d37659af32ee72b9a2046910b00d8 | [
"PHP-3.0"
] | 1 | 2021-12-29T10:46:12.000Z | 2021-12-29T10:46:12.000Z | /*
* Copyright (c) 2001-2008
* DecisionSoft Limited. All rights reserved.
* Copyright (c) 2004-2008
* Oracle. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License... | 37.560976 | 185 | 0.76461 | achilex |
7de6782886f8356a0906a37b47a5b1ab7d57d9cf | 728 | cpp | C++ | src/Application.cpp | kernelguy/HelloWorld | da2d2c3e17074f661c6ea5abac58d7d37efb98dc | [
"Zlib"
] | null | null | null | src/Application.cpp | kernelguy/HelloWorld | da2d2c3e17074f661c6ea5abac58d7d37efb98dc | [
"Zlib"
] | null | null | null | src/Application.cpp | kernelguy/HelloWorld | da2d2c3e17074f661c6ea5abac58d7d37efb98dc | [
"Zlib"
] | null | null | null | /*
* Application.cpp
*
* Created on: 20. aug. 2017
* Author: steffen
*/
#include <iostream>
#include "Application.h"
#include "contracts/ITranslations.h"
#include "ioc/IOC.h"
Application* Application::mpInstance = 0;
Contracts::IApplication& Contracts::IApplication::instance()
{
return *Application::mpIn... | 16.177778 | 90 | 0.68544 | kernelguy |
8fbd20e193a49576cbcda233c81171730253139d | 9,205 | cpp | C++ | Source/BossBattle/Characters/PlayerCharacter.cpp | mikirov/Unreal-RL | c99ec740c7ef4fd2088c9208b3ac82f3dc65e593 | [
"Apache-2.0"
] | 1 | 2020-06-11T13:19:21.000Z | 2020-06-11T13:19:21.000Z | Source/BossBattle/Characters/PlayerCharacter.cpp | mikirov/Unreal-RL | c99ec740c7ef4fd2088c9208b3ac82f3dc65e593 | [
"Apache-2.0"
] | null | null | null | Source/BossBattle/Characters/PlayerCharacter.cpp | mikirov/Unreal-RL | c99ec740c7ef4fd2088c9208b3ac82f3dc65e593 | [
"Apache-2.0"
] | null | null | null | // Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
#include "PlayerCharacter.h"
#include "HeadMountedDisplayFunctionLibrary.h"
#include "Camera/CameraComponent.h"
#include "Components/CapsuleComponent.h"
#include "Components/InputComponent.h"
#include "Components/SceneComponent.h"
#include "Components/ArrowC... | 34.219331 | 109 | 0.777838 | mikirov |
8fbee5e822b65fd36154fcb833f4839b3c5c0de1 | 107 | cpp | C++ | tests/TableEditorGlIssue4/libs/TableEditorHelpers/src/TableEditorHelpers.cpp | scandyna/mdt-cmake-modules | a6c4ad1ff5ce258ca2fb2bc4fe2875ba8fae1c03 | [
"BSD-3-Clause"
] | null | null | null | tests/TableEditorGlIssue4/libs/TableEditorHelpers/src/TableEditorHelpers.cpp | scandyna/mdt-cmake-modules | a6c4ad1ff5ce258ca2fb2bc4fe2875ba8fae1c03 | [
"BSD-3-Clause"
] | null | null | null | tests/TableEditorGlIssue4/libs/TableEditorHelpers/src/TableEditorHelpers.cpp | scandyna/mdt-cmake-modules | a6c4ad1ff5ce258ca2fb2bc4fe2875ba8fae1c03 | [
"BSD-3-Clause"
] | null | null | null | #include "TableEditorHelpers.h"
void TableEditorHelpers::setupSorting()
{
mSetupWidget.setup(mModel);
}
| 15.285714 | 39 | 0.775701 | scandyna |
8fc0a904c2cb3123842fe916263c79b614f91dd8 | 2,947 | cpp | C++ | Source/Core/Serialization/SerializeBase.cpp | frobro98/Musa | 6e7dcd5d828ca123ce8f43d531948a6486428a3d | [
"MIT"
] | null | null | null | Source/Core/Serialization/SerializeBase.cpp | frobro98/Musa | 6e7dcd5d828ca123ce8f43d531948a6486428a3d | [
"MIT"
] | null | null | null | Source/Core/Serialization/SerializeBase.cpp | frobro98/Musa | 6e7dcd5d828ca123ce8f43d531948a6486428a3d | [
"MIT"
] | null | null | null | // Copyright 2020, Nathan Blane
#include "SerializeBase.hpp"
#include "Debugging/Assertion.hpp"
void Serialize(SerializeBase & ser, tchar c)
{
ser.SerializeData(&c, sizeof(tchar));
}
void Serialize(SerializeBase& ser, u8 u)
{
ser.SerializeData(&u, sizeof(u8));
}
void Serialize(SerializeBase& ser, i8 i)
{
ser.Ser... | 21.510949 | 63 | 0.678317 | frobro98 |
8fc3c5942d51c0fcf73a1d2458d34eecb1533e12 | 8,998 | cpp | C++ | willow/src/popx/devicexmanager.cpp | gglin001/popart | 3225214343f6d98550b6620e809a3544e8bcbfc6 | [
"MIT"
] | 61 | 2020-07-06T17:11:46.000Z | 2022-03-12T14:42:51.000Z | willow/src/popx/devicexmanager.cpp | gglin001/popart | 3225214343f6d98550b6620e809a3544e8bcbfc6 | [
"MIT"
] | 1 | 2021-02-25T01:30:29.000Z | 2021-11-09T11:13:14.000Z | willow/src/popx/devicexmanager.cpp | gglin001/popart | 3225214343f6d98550b6620e809a3544e8bcbfc6 | [
"MIT"
] | 6 | 2020-07-15T12:33:13.000Z | 2021-11-07T06:55:00.000Z | // Copyright (c) 2018 Graphcore Ltd. All rights reserved.
#include <boost/range/algorithm/find.hpp>
#include <popart/popx/devicexmanager.hpp>
#include <memory>
#include <popart/defaulttilecount.hpp>
#include <popart/util.hpp>
#include <poplar/Device.hpp>
#include <poplar/IPUModel.hpp>
#include <poplar/OptionFlags.hp... | 31.134948 | 80 | 0.662481 | gglin001 |
8fc4083d0998d8d50e46048809c3f193cf275b25 | 1,404 | cpp | C++ | src/backtracker/IntervalHandlerBase.cpp | ndaniel/BEETL | 4f35e2f6a18be624c1159f3ffe042eb8490f94bf | [
"BSD-2-Clause"
] | 53 | 2015-02-05T02:26:15.000Z | 2022-01-13T05:37:06.000Z | src/backtracker/IntervalHandlerBase.cpp | ndaniel/BEETL | 4f35e2f6a18be624c1159f3ffe042eb8490f94bf | [
"BSD-2-Clause"
] | 9 | 2015-09-03T23:42:14.000Z | 2021-10-15T15:25:49.000Z | src/backtracker/IntervalHandlerBase.cpp | ndaniel/BEETL | 4f35e2f6a18be624c1159f3ffe042eb8490f94bf | [
"BSD-2-Clause"
] | 23 | 2015-01-08T13:43:07.000Z | 2021-05-19T17:35:42.000Z | /**
** Copyright (c) 2011-2014 Illumina, Inc.
**
** This file is part of the BEETL software package,
** covered by the "BSD 2-Clause License" (see accompanying LICENSE file)
**
** Citation: Markus J. Bauer, Anthony J. Cox and Giovanna Rosone
** Lightweight BWT Construction for Very Large String Collections.
** ... | 31.909091 | 154 | 0.645299 | ndaniel |
8fc8cd04b4591b692a48cda21277a7b66fa17aac | 660 | cpp | C++ | d3/a.cpp | webdeveloperukraine/adventofcode2020 | 4d4f36437da0fd4889f0fcbe28cad8fecb6f6f34 | [
"MIT"
] | null | null | null | d3/a.cpp | webdeveloperukraine/adventofcode2020 | 4d4f36437da0fd4889f0fcbe28cad8fecb6f6f34 | [
"MIT"
] | null | null | null | d3/a.cpp | webdeveloperukraine/adventofcode2020 | 4d4f36437da0fd4889f0fcbe28cad8fecb6f6f34 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
vector<string> input;
void prepare()
{
string resp;
while(getline(cin, resp)){
input.push_back(resp);
}
}
int encounter(int mx, int my)
{
int res = 0;
int x = 0;
int y = 0;
while(y < input.size()){
if(input[y][x] == '#'){
res++;
... | 13.469388 | 95 | 0.568182 | webdeveloperukraine |
8fd352c262ce99cb7fff00c3438688ee767e3592 | 948 | hpp | C++ | tests/hardware/harness/logger.hpp | brandonbraun653/ThorDev | 9c3c3670399f73d6a96da384f7fdc99d1b20f1f4 | [
"MIT"
] | null | null | null | tests/hardware/harness/logger.hpp | brandonbraun653/ThorDev | 9c3c3670399f73d6a96da384f7fdc99d1b20f1f4 | [
"MIT"
] | 4 | 2019-10-13T13:42:20.000Z | 2020-04-02T17:13:42.000Z | tests/hardware/harness/logger.hpp | brandonbraun653/ThorDev | 9c3c3670399f73d6a96da384f7fdc99d1b20f1f4 | [
"MIT"
] | null | null | null | /********************************************************************************
* File Name:
* logger.hpp
*
* Description:
* Interface for logging messages with the system during runtime
*
* 2020 | Brandon Braun | brandonbraun653@gmail.com
*************************************************************... | 27.882353 | 83 | 0.449367 | brandonbraun653 |
8fd7061c13956c7783fe6778b3886be78ad97ce3 | 1,233 | cpp | C++ | src/data/test/ListFileDatasetTest.cpp | random-mud-pie/wav2letter | e6a543827738ce0d0dc39dedf578932c6f8b3fd1 | [
"BSD-3-Clause"
] | 21 | 2019-05-09T02:15:28.000Z | 2021-07-15T23:00:11.000Z | src/data/test/ListFileDatasetTest.cpp | random-mud-pie/wav2letter | e6a543827738ce0d0dc39dedf578932c6f8b3fd1 | [
"BSD-3-Clause"
] | 7 | 2020-04-03T16:11:06.000Z | 2020-12-24T03:25:45.000Z | src/data/test/ListFileDatasetTest.cpp | random-mud-pie/wav2letter | e6a543827738ce0d0dc39dedf578932c6f8b3fd1 | [
"BSD-3-Clause"
] | 8 | 2019-12-16T15:51:06.000Z | 2021-05-13T10:04:32.000Z | /**
* Copyright (c) Facebook, Inc. and its affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <fstream>
#include <iostream>
#include <string>
#include <arrayfire.h>
#include <flashligh... | 22.418182 | 72 | 0.669911 | random-mud-pie |
8fd8cdead876881a7169587444442b323924d3c4 | 15,534 | cpp | C++ | src/plugins/azoth/plugins/acetamide/channelclentry.cpp | devel29a/leechcraft | faf5e856010fb785e4bbf3ce7b5c6a5c49f3239a | [
"BSL-1.0"
] | null | null | null | src/plugins/azoth/plugins/acetamide/channelclentry.cpp | devel29a/leechcraft | faf5e856010fb785e4bbf3ce7b5c6a5c49f3239a | [
"BSL-1.0"
] | null | null | null | src/plugins/azoth/plugins/acetamide/channelclentry.cpp | devel29a/leechcraft | faf5e856010fb785e4bbf3ce7b5c6a5c49f3239a | [
"BSL-1.0"
] | null | null | null | /**********************************************************************
* LeechCraft - modular cross-platform feature rich internet client.
* Copyright (C) 2010-2011 Oleg Linkin
*
* Boost Software License - Version 1.0 - August 17th, 2003
*
* Permission is hereby granted, free of charge, to any person or organiza... | 25.014493 | 91 | 0.692288 | devel29a |
8fd903fa2da1788e51b7aabafc1f37f4b25437dc | 4,818 | cpp | C++ | TestMotor/TestMotor/motorDriver.cpp | tarquasso/jugglerExperiment | 26c6d27a59093ba3c0aa4e3258270c0607e30e68 | [
"MIT"
] | 2 | 2019-05-13T16:55:36.000Z | 2019-11-06T11:54:47.000Z | TestMotor/TestMotor/motorDriver.cpp | tarquasso/jugglerExperiment | 26c6d27a59093ba3c0aa4e3258270c0607e30e68 | [
"MIT"
] | null | null | null | TestMotor/TestMotor/motorDriver.cpp | tarquasso/jugglerExperiment | 26c6d27a59093ba3c0aa4e3258270c0607e30e68 | [
"MIT"
] | null | null | null | #include "motorDriver.h"
motorDriver::motorDriver()
{
char deviceName[maxStrSize] = "EPOS4";
char protocolStackName[maxStrSize] = "MAXON SERIAL V2"; // Can be "MAXON_RS232", "MAXON SERIAL V2" OR "CANopen"
char interfaceName[maxStrSize] = "USB"; // Can be "USB" "RS232"
char portName[maxStrSize] = "USB0"; // Can als... | 29.740741 | 133 | 0.757368 | tarquasso |
8fe06f309d158e0e1d83b1841ac621c8dccf6fa9 | 10,194 | cpp | C++ | lib/MultiI2C/MultiI2C.cpp | RDobrinov/espurna32 | b0bcf5bb80324e3c96a8a7f756014804b618730e | [
"NTP",
"Unlicense"
] | null | null | null | lib/MultiI2C/MultiI2C.cpp | RDobrinov/espurna32 | b0bcf5bb80324e3c96a8a7f756014804b618730e | [
"NTP",
"Unlicense"
] | null | null | null | lib/MultiI2C/MultiI2C.cpp | RDobrinov/espurna32 | b0bcf5bb80324e3c96a8a7f756014804b618730e | [
"NTP",
"Unlicense"
] | null | null | null | #include "MultiI2C.hpp"
#include <Arduino.h>
MultiI2C::MultiI2C(void)
{
_state.port[I2C_NUM_0].port_config.mode = I2C_MODE_MASTER;
_state.port[I2C_NUM_0].port_config.sda_io_num = I2C_SDA_IO_0;
_state.port[I2C_NUM_0].port_config.scl_io_num = I2C_SCL_IO_0;
_state.port[I2C_NUM_0].port_config.sda_pullup_en... | 38.179775 | 174 | 0.716206 | RDobrinov |
8fe19557712a5b45abba265059d4ffc27a728518 | 14,787 | cc | C++ | src/Fullerene.cc | maruinen/FullereneViewer | da1554af2de21e90bfa0380a5b635f8bab8e2d8c | [
"Apache-2.0"
] | null | null | null | src/Fullerene.cc | maruinen/FullereneViewer | da1554af2de21e90bfa0380a5b635f8bab8e2d8c | [
"Apache-2.0"
] | null | null | null | src/Fullerene.cc | maruinen/FullereneViewer | da1554af2de21e90bfa0380a5b635f8bab8e2d8c | [
"Apache-2.0"
] | null | null | null | /*
* Project: FullereneViewer
* Version: 1.0
* Copyright: (C) 2011-14 Dr.Sc.KAWAMOTO,Takuji (Ext)
*/
#define _CRT_SECURE_NO_WARNINGS
#include <string.h>
#include <stdlib.h>
#include <assert.h>
#include <limits.h>
#include "Config.h"
#include "Fullerene.h"
#include "CarbonAllotrope.h"
#include "BoundaryCarbons.h"
#... | 35.717391 | 89 | 0.547711 | maruinen |
8fe30657f871472e3c1a8169b14a389dcbd488de | 35,512 | cpp | C++ | frameworks/av/media/atv/jni/com_mediatek_atv_AtvService.cpp | touxiong88/92_mediatek | 5e96a7bb778fd9d9b335825584664e0c8b5ff2c7 | [
"Apache-2.0"
] | 1 | 2022-01-07T01:53:19.000Z | 2022-01-07T01:53:19.000Z | frameworks/av/media/atv/jni/com_mediatek_atv_AtvService.cpp | touxiong88/92_mediatek | 5e96a7bb778fd9d9b335825584664e0c8b5ff2c7 | [
"Apache-2.0"
] | null | null | null | frameworks/av/media/atv/jni/com_mediatek_atv_AtvService.cpp | touxiong88/92_mediatek | 5e96a7bb778fd9d9b335825584664e0c8b5ff2c7 | [
"Apache-2.0"
] | 1 | 2020-02-28T02:48:42.000Z | 2020-02-28T02:48:42.000Z | /* Copyright Statement:
*
* This software/firmware and related documentation ("MediaTek Software") are
* protected under relevant copyright laws. The information contained herein
* is confidential and proprietary to MediaTek Inc. and/or its licensors.
* Without the prior written permission of MediaTek inc. and/or ... | 29.519534 | 161 | 0.670984 | touxiong88 |
8fe3588a257b032367795c4db0a43d388a1b3f3e | 1,789 | cpp | C++ | cpp/other-concepts/operator-overloading.cpp | PingHuskar/hackerrank | 1bfdbc63de5d0f94cd9e6ae250476b4a267662f2 | [
"Unlicense"
] | 41 | 2018-05-11T07:54:34.000Z | 2022-03-29T19:02:32.000Z | cpp/other-concepts/operator-overloading.cpp | PingHuskar/hackerrank | 1bfdbc63de5d0f94cd9e6ae250476b4a267662f2 | [
"Unlicense"
] | 2 | 2021-09-13T10:03:26.000Z | 2021-10-04T10:21:05.000Z | cpp/other-concepts/operator-overloading.cpp | PingHuskar/hackerrank | 1bfdbc63de5d0f94cd9e6ae250476b4a267662f2 | [
"Unlicense"
] | 21 | 2019-01-23T19:06:59.000Z | 2021-12-23T16:03:47.000Z | // Operator Overloading
// Learn how to overload operators. Print the sum of two matrices and print the resultant matrix.
//
// https://www.hackerrank.com/challenges/operator-overloading/problem
//
#include <cmath>
#include <cstdio>
#include <vector>
#include <iostream>
#include <algorithm>
using namespace std;
// (sk... | 22.3625 | 97 | 0.378983 | PingHuskar |
8fe550b79e248ebe699151510079c4cd581ddd9d | 5,640 | hpp | C++ | src/Modules/GUIModule/Facades/ofxGuiFacade.hpp | danielfilipealmeida/Orange | e0118a7d1391e74c15c707e64a2e0458d51d318f | [
"MIT"
] | null | null | null | src/Modules/GUIModule/Facades/ofxGuiFacade.hpp | danielfilipealmeida/Orange | e0118a7d1391e74c15c707e64a2e0458d51d318f | [
"MIT"
] | null | null | null | src/Modules/GUIModule/Facades/ofxGuiFacade.hpp | danielfilipealmeida/Orange | e0118a7d1391e74c15c707e64a2e0458d51d318f | [
"MIT"
] | null | null | null | //
// ofxGuiFacade.hpp
// orange
//
// Created by Daniel Almeida on 04/12/2018.
//
#ifndef ofxGuiFacade_hpp
#define ofxGuiFacade_hpp
#include <stdio.h>
#include "ofxGui.h"
#include "GUIFacadeInterface.hpp"
#include "ofxPreview.hpp"
#include "ofxMatrix.hpp"
#include "ofxNavigator.hpp"
#include "ofxList.hpp"
#inclu... | 30.160428 | 109 | 0.456915 | danielfilipealmeida |
8fe5da76795e50a98ddc29f6d4e96e537f4b8430 | 203 | cc | C++ | src/FractalStruct/misc_class.cc | jmikeowen/Spheral | 3e1082a7aefd6b328bd3ae24ca1a477108cfc3c4 | [
"BSD-Source-Code",
"BSD-3-Clause-LBNL",
"FSFAP"
] | 22 | 2018-07-31T21:38:22.000Z | 2020-06-29T08:58:33.000Z | src/FractalStruct/misc_class.cc | markguozhiming/spheral | bbb982102e61edb8a1d00cf780bfa571835e1b61 | [
"BSD-Source-Code",
"BSD-3-Clause-LBNL",
"FSFAP"
] | 41 | 2020-09-28T23:14:27.000Z | 2022-03-28T17:01:33.000Z | src/FractalStruct/misc_class.cc | markguozhiming/spheral | bbb982102e61edb8a1d00cf780bfa571835e1b61 | [
"BSD-Source-Code",
"BSD-3-Clause-LBNL",
"FSFAP"
] | 7 | 2019-12-01T07:00:06.000Z | 2020-09-15T21:12:39.000Z | #include "libs.hh"
#include "classes.hh"
#include "headers.hh"
//
namespace FractalSpace
{
bool Misc::get_debug() const
{
return debug;
}
void Misc::set_debug(bool& d)
{
debug=d;
}
}
| 12.6875 | 31 | 0.625616 | jmikeowen |
8fe76332b2864d48b2aadadc68599cfa209765ee | 43,323 | cpp | C++ | src/MesaDLL/glut_hel18.cpp | OS2World/LIB-GRAPHICS-The_Mesa_3D_Graphics_Library | c0e0cfaeefa9e87e4978101fbac7d0372c39f1a3 | [
"MIT"
] | null | null | null | src/MesaDLL/glut_hel18.cpp | OS2World/LIB-GRAPHICS-The_Mesa_3D_Graphics_Library | c0e0cfaeefa9e87e4978101fbac7d0372c39f1a3 | [
"MIT"
] | null | null | null | src/MesaDLL/glut_hel18.cpp | OS2World/LIB-GRAPHICS-The_Mesa_3D_Graphics_Library | c0e0cfaeefa9e87e4978101fbac7d0372c39f1a3 | [
"MIT"
] | null | null | null |
/* GENERATED FILE -- DO NOT MODIFY */
#define glutBitmapHelvetica18 XXX
#include "glutbitmap.h"
#undef glutBitmapHelvetica18
/* char: 0xff */
static const GLubyte ch255data[] = {
0x70,0x70,0x18,0x18,0x18,0x18,0x3c,0x24,0x66,0x66,0x66,0xc3,0xc3,0xc3,0x0,0x66,
0x66,
};
static const BitmapCharRec ch255 = {8,17,-1,4,1... | 22.789584 | 80 | 0.70159 | OS2World |
8feb32bae16125acecd542848afa19ea2b342b1b | 1,619 | cpp | C++ | src/octomap_tests/src/octree_ray_test.cpp | rhololkeolke/eecs_600_robot_project1 | 8a4a567f436d2d26311b53cc2dcfde61d98e45e0 | [
"BSD-3-Clause"
] | null | null | null | src/octomap_tests/src/octree_ray_test.cpp | rhololkeolke/eecs_600_robot_project1 | 8a4a567f436d2d26311b53cc2dcfde61d98e45e0 | [
"BSD-3-Clause"
] | 1 | 2015-08-22T13:33:39.000Z | 2015-08-23T23:01:57.000Z | src/octomap_tests/src/octree_ray_test.cpp | rhololkeolke/eecs_600_robot_project1 | 8a4a567f436d2d26311b53cc2dcfde61d98e45e0 | [
"BSD-3-Clause"
] | null | null | null | #include <ros/ros.h>
#include <octomap/octomap.h>
#include <octomap/OcTree.h>
#include <octomap_msgs/Octomap.h>
#include <octomap_msgs/conversions.h>
using namespace std;
using namespace octomap;
int main(int argc, char** argv)
{
ros::init(argc, argv, "octree_to_rviz_test");
ros::NodeHandle nh;
OcTree tree(0.1)... | 23.463768 | 102 | 0.664608 | rhololkeolke |
8fef98cbec6853bbc7c0366cdf4e838fb3a3b313 | 20,883 | cpp | C++ | src/dasm/disassembler.cpp | RupertAvery/et3400 | 243c0ed407bee20f43e2f1c528f10cc6ffb12664 | [
"BSD-3-Clause"
] | 3 | 2020-11-06T22:30:32.000Z | 2021-12-24T06:30:32.000Z | src/dasm/disassembler.cpp | RupertAvery/et3400 | 243c0ed407bee20f43e2f1c528f10cc6ffb12664 | [
"BSD-3-Clause"
] | null | null | null | src/dasm/disassembler.cpp | RupertAvery/et3400 | 243c0ed407bee20f43e2f1c528f10cc6ffb12664 | [
"BSD-3-Clause"
] | 1 | 2021-12-24T06:30:38.000Z | 2021-12-24T06:30:38.000Z | #include "disassembler.h"
const char Disassembler::op_name_str_orig[128][8] =
{
"aba", "abx", "adca", "adcb", "adda", "addb", "addd", "aim",
"anda", "andb", "asl", "asla", "aslb", "asld", "asr", "asra",
"asrb", "bcc", "bcs", "beq", "bge", "bgt", "bhi", "bita",
"bitb", "ble", "bls", ... | 40.866928 | 92 | 0.586266 | RupertAvery |
8ffb96fc3fd94c26cbf553f6f4c866a95d552959 | 2,867 | cpp | C++ | src/EntitySystem/EntitySystem.cpp | dritory/Cog6 | a73afc1edbb5e9c0b9f8d97490f65e48aa167a79 | [
"MIT"
] | null | null | null | src/EntitySystem/EntitySystem.cpp | dritory/Cog6 | a73afc1edbb5e9c0b9f8d97490f65e48aa167a79 | [
"MIT"
] | null | null | null | src/EntitySystem/EntitySystem.cpp | dritory/Cog6 | a73afc1edbb5e9c0b9f8d97490f65e48aa167a79 | [
"MIT"
] | null | null | null | #include "EntitySystem.h"
#include "InteractableEntity.h"
EntitySystem::EntitySystem() : m_Next(0), m_SpriteBatcher(nullptr) {
}
EntitySystem::~EntitySystem() = default;
Entity* EntitySystem::Get(const EntityId& id) {
if (id >= m_Entities.size() || !m_Entities[id]) {
std::cout << "Tried to fetch entity that did... | 26.302752 | 116 | 0.686432 | dritory |
8ffc545cbf2b83030cbe4b8ec4f2e9b26a8a9270 | 5,520 | cpp | C++ | pronto/graphics/pc/d3d12_command_queue.cpp | MgBag/pronto | c10827e094726d8dc285c3da68c9c03be42d9a32 | [
"MIT"
] | null | null | null | pronto/graphics/pc/d3d12_command_queue.cpp | MgBag/pronto | c10827e094726d8dc285c3da68c9c03be42d9a32 | [
"MIT"
] | null | null | null | pronto/graphics/pc/d3d12_command_queue.cpp | MgBag/pronto | c10827e094726d8dc285c3da68c9c03be42d9a32 | [
"MIT"
] | null | null | null | #include "d3d12_command_queue.h"
#include "d3d12_command_list.h"
#include <d3d12.h>
#include <cstdint>
#include <assert.h>
namespace pronto
{
namespace graphics
{
//---------------------------------------------------------------------------------------------
CommandQueue::CommandQueue(ID3D12Device2* devic... | 31.363636 | 104 | 0.536594 | MgBag |
8ffd737654e556dd39348902a5905cb2764f93d8 | 1,623 | hh | C++ | CommTrackingObjects/smartsoft/src-gen/CommTrackingObjects/CommDetectedMarkerEventResultACE.hh | canonical-robots/DomainModelsRepositories | 68b9286d84837e5feb7b200833b158ab9c2922a4 | [
"BSD-3-Clause"
] | null | null | null | CommTrackingObjects/smartsoft/src-gen/CommTrackingObjects/CommDetectedMarkerEventResultACE.hh | canonical-robots/DomainModelsRepositories | 68b9286d84837e5feb7b200833b158ab9c2922a4 | [
"BSD-3-Clause"
] | 2 | 2020-08-20T14:49:47.000Z | 2020-10-07T16:10:07.000Z | CommTrackingObjects/smartsoft/src-gen/CommTrackingObjects/CommDetectedMarkerEventResultACE.hh | canonical-robots/DomainModelsRepositories | 68b9286d84837e5feb7b200833b158ab9c2922a4 | [
"BSD-3-Clause"
] | 8 | 2018-06-25T08:41:28.000Z | 2020-08-13T10:39:30.000Z | //--------------------------------------------------------------------------
// Code generated by the SmartSoft MDSD Toolchain
// The SmartSoft Toolchain has been developed by:
//
// Service Robotics Research Center
// University of Applied Sciences Ulm
// Prittwitzstr. 10
// 89075 Ulm (Germany)
//
// Information abo... | 45.083333 | 115 | 0.754775 | canonical-robots |
8902d90b4dcf7c6ffa02cffe3d723eb1941c7255 | 11,831 | cxx | C++ | Seismic/Widgets/qSlicerSeismicLoadWidget.cxx | tierra-colada/ColadaSeismic | 3a0b6cdcac0650e49c07d2845caab0a929f72d1a | [
"MIT"
] | null | null | null | Seismic/Widgets/qSlicerSeismicLoadWidget.cxx | tierra-colada/ColadaSeismic | 3a0b6cdcac0650e49c07d2845caab0a929f72d1a | [
"MIT"
] | null | null | null | Seismic/Widgets/qSlicerSeismicLoadWidget.cxx | tierra-colada/ColadaSeismic | 3a0b6cdcac0650e49c07d2845caab0a929f72d1a | [
"MIT"
] | null | null | null | /*==============================================================================
Program: 3D Slicer
Copyright (c) Kitware Inc.
See COPYRIGHT.txt
or http://www.slicer.org/copyright/copyright.txt for details.
Unless required by applicable law or agreed to in writing, software
distributed under the License... | 32.592287 | 109 | 0.685403 | tierra-colada |
890a96e0376015d0bf96903b4aea008afebfe904 | 10,276 | cpp | C++ | samples/snippets/cpp/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigXsltTransform/CPP/members.cpp | hamarb123/dotnet-api-docs | 6aeb55784944a2f1f5e773b657791cbd73a92dd4 | [
"CC-BY-4.0",
"MIT"
] | 421 | 2018-04-01T01:57:50.000Z | 2022-03-28T15:24:42.000Z | samples/snippets/cpp/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigXsltTransform/CPP/members.cpp | hamarb123/dotnet-api-docs | 6aeb55784944a2f1f5e773b657791cbd73a92dd4 | [
"CC-BY-4.0",
"MIT"
] | 5,797 | 2018-04-02T21:12:23.000Z | 2022-03-31T23:54:38.000Z | samples/snippets/cpp/VS_Snippets_CLR_System/system.Security.Cryptography.Xml.XmlDsigXsltTransform/CPP/members.cpp | hamarb123/dotnet-api-docs | 6aeb55784944a2f1f5e773b657791cbd73a92dd4 | [
"CC-BY-4.0",
"MIT"
] | 1,482 | 2018-03-31T11:26:20.000Z | 2022-03-30T22:36:45.000Z | //<Snippet2>
#using <System.Security.dll>
#using <System.dll>
#using <System.Xml.dll>
using namespace System;
using namespace System::IO;
using namespace System::Xml;
using namespace System::Security::Cryptography;
using namespace System::Security::Cryptography::Xml;
using namespace System::Text;
ref class ... | 39.221374 | 84 | 0.624562 | hamarb123 |
890d8211e51a1394ea9268973cb6d846fe6e1dce | 684 | cpp | C++ | Codes/IF_Ternary.cpp | Felipe-Pereira-Barros/CPP | 050add96024c8e5b0d01ebb6cab52452cbb6dff5 | [
"MIT"
] | 2 | 2020-05-21T14:44:36.000Z | 2020-05-28T01:08:18.000Z | Codes/IF_Ternary.cpp | Felipe-Pereira-Barros/CPP | 050add96024c8e5b0d01ebb6cab52452cbb6dff5 | [
"MIT"
] | null | null | null | Codes/IF_Ternary.cpp | Felipe-Pereira-Barros/CPP | 050add96024c8e5b0d01ebb6cab52452cbb6dff5 | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
int main()
{
//(expression) ? value : value2;
int n1,n2,note,x,n3;
string res,res2;
cout << "Enter the first note: ";
cin >> n1;
cout << "Enter the second note: ";
cin >> n2;
note=n1+n2;
/* note >= 60 Approved
<60 Not approved*/
... | 16.285714 | 55 | 0.495614 | Felipe-Pereira-Barros |
8910934bdcf11f09994d205e0e39faed02caa448 | 1,445 | cpp | C++ | listdevices/main.cpp | abolger/Andor-sCMOS-examples | 2e2aeab93c11317b7731ffc7ae0adb50fc854f60 | [
"MIT"
] | 8 | 2018-01-13T08:48:00.000Z | 2022-03-24T22:19:57.000Z | listdevices/main.cpp | abolger/Andor-sCMOS-examples | 2e2aeab93c11317b7731ffc7ae0adb50fc854f60 | [
"MIT"
] | 1 | 2021-04-24T09:02:36.000Z | 2021-04-24T10:04:10.000Z | listdevices/main.cpp | abolger/Andor-sCMOS-examples | 2e2aeab93c11317b7731ffc7ae0adb50fc854f60 | [
"MIT"
] | 5 | 2018-04-13T03:25:18.000Z | 2020-11-10T05:22:58.000Z | #include <stdlib.h>
#include <iostream>
#include "atcore.h"
int main()
{
int iErr = AT_InitialiseLibrary();
if (iErr != AT_SUCCESS) {
std::cout << "Error from AT_Initialise : " << iErr << std::endl;
}
long long DeviceCount = 0;
iErr = AT_GetInt(AT_HANDLE_SYSTEM, L"Device Count", &DeviceCount);
if (iEr... | 27.264151 | 87 | 0.565398 | abolger |
891251bf830e8e8941ddd796ad96cdd681b56174 | 944 | cc | C++ | keypress.cc | pmwheatley/dfterm2 | 81efc85d85c126b22d79be4499755a99119045bf | [
"ICU",
"BSD-3-Clause"
] | null | null | null | keypress.cc | pmwheatley/dfterm2 | 81efc85d85c126b22d79be4499755a99119045bf | [
"ICU",
"BSD-3-Clause"
] | null | null | null | keypress.cc | pmwheatley/dfterm2 | 81efc85d85c126b22d79be4499755a99119045bf | [
"ICU",
"BSD-3-Clause"
] | null | null | null | #include "interface.hpp"
using namespace trankesbel;
KeyPress::KeyPress(const KeyCode &kc, bool special_key)
{
alt_down = ctrl_down = shift_down = false;
setKeyCode(kc, special_key);
}
KeyPress::KeyPress(const KeyCode &kc, bool special_key, bool alt_down, bool ctrl_down, bool shift_down)
{
setKeyCode(kc,... | 20.521739 | 103 | 0.611229 | pmwheatley |
89125c77ce52b79308669f5242e98576fb6cf378 | 356 | hpp | C++ | src/Missle.hpp | AgaBuu/TankBotFight | 154b176b697b5d88fffb4b0c9c9c2f8dac334afb | [
"MIT"
] | null | null | null | src/Missle.hpp | AgaBuu/TankBotFight | 154b176b697b5d88fffb4b0c9c9c2f8dac334afb | [
"MIT"
] | null | null | null | src/Missle.hpp | AgaBuu/TankBotFight | 154b176b697b5d88fffb4b0c9c9c2f8dac334afb | [
"MIT"
] | null | null | null | #pragma once
#include <SFML/Graphics.hpp>
#include "MovementState.hpp"
class Missle {
public:
Missle(sf::Texture& texture, const MovementState& state);
void draw(sf::RenderWindow& window);
void update();
[[nodiscard]] sf::Vector2f get_pos() const;
private:
sf::Sprite mSprite;
float mSpeed = 20.0f;
sf... | 18.736842 | 59 | 0.696629 | AgaBuu |
8916f835d372f5020a15af0105999dc043791037 | 1,518 | cpp | C++ | solutions/image_overlap.cpp | kmykoh97/My-Leetcode | 0ffdea16c3025805873aafb6feffacaf3411a258 | [
"Apache-2.0"
] | null | null | null | solutions/image_overlap.cpp | kmykoh97/My-Leetcode | 0ffdea16c3025805873aafb6feffacaf3411a258 | [
"Apache-2.0"
] | null | null | null | solutions/image_overlap.cpp | kmykoh97/My-Leetcode | 0ffdea16c3025805873aafb6feffacaf3411a258 | [
"Apache-2.0"
] | null | null | null | // Two images A and B are given, represented as binary, square matrices of the same size. (A binary matrix has only 0s and 1s as values.)
// We translate one image however we choose (sliding it left, right, up, or down any number of units), and place it on top of the other image. After, the overlap of this translati... | 30.36 | 239 | 0.498682 | kmykoh97 |
891b0fee53d4ff6f9bd33ff208c696cccfce211b | 2,187 | cpp | C++ | src/core/map/level_generator/room_repo.cpp | MrPepperoni/Reaping2-1 | 4ffef3cca1145ddc06ca87d2968c7b0ffd3ba3fd | [
"MIT"
] | null | null | null | src/core/map/level_generator/room_repo.cpp | MrPepperoni/Reaping2-1 | 4ffef3cca1145ddc06ca87d2968c7b0ffd3ba3fd | [
"MIT"
] | null | null | null | src/core/map/level_generator/room_repo.cpp | MrPepperoni/Reaping2-1 | 4ffef3cca1145ddc06ca87d2968c7b0ffd3ba3fd | [
"MIT"
] | 1 | 2020-09-22T15:41:51.000Z | 2020-09-22T15:41:51.000Z | #include "platform/i_platform.h"
#include "room_repo.h"
#include "simple_room1.h"
#include "vdouble_room1.h"
#include "hdouble_room1.h"
#include "json_room.h"
using platform::AutoId;
namespace map {
DefaultRoom const RoomRepo::mDefault = DefaultRoom();
RoomRepo::RoomRepo()
: Repository<IRoom>(mDefault)
{
in... | 23.021053 | 88 | 0.55647 | MrPepperoni |
89203ac7f93b9a6ff4befa2aaada9e47c8835256 | 16,998 | cpp | C++ | NPlan/NPlan/file/NProjectCalendar.cpp | Avens666/NPlan | 726411b053ded26ce6c1b8c280c994d4c1bac71a | [
"Apache-2.0"
] | 16 | 2018-08-30T11:27:14.000Z | 2021-12-17T02:05:45.000Z | NPlan/NPlan/file/NProjectCalendar.cpp | Avens666/NPlan | 726411b053ded26ce6c1b8c280c994d4c1bac71a | [
"Apache-2.0"
] | null | null | null | NPlan/NPlan/file/NProjectCalendar.cpp | Avens666/NPlan | 726411b053ded26ce6c1b8c280c994d4c1bac71a | [
"Apache-2.0"
] | 14 | 2018-08-30T12:13:56.000Z | 2021-02-06T11:07:44.000Z | // File: NProjectCalendar.cpp
// Copyright: Copyright(C) 2013-2017 Wuhan KOTEI Informatics Co., Ltd. All rights reserved.
// Website: http://www.nuiengine.com
// Description: This code is part of NPlan Project (Powered by NUI Engine)
// Comments:
// Rev: 1
// Created: 2018/8/27
... | 22.573705 | 176 | 0.607719 | Avens666 |
89210885ff79188d7601554ce88e0c00112d1a5d | 2,809 | cpp | C++ | ResolutionSystemeDialogue.cpp | ElDawgerino/NF05lab | 62340e718f10e3f1864bee7e9637edc1a3fcae46 | [
"MIT"
] | 1 | 2016-02-24T13:51:13.000Z | 2016-02-24T13:51:13.000Z | ResolutionSystemeDialogue.cpp | ElDawgerino/NF05lab | 62340e718f10e3f1864bee7e9637edc1a3fcae46 | [
"MIT"
] | null | null | null | ResolutionSystemeDialogue.cpp | ElDawgerino/NF05lab | 62340e718f10e3f1864bee7e9637edc1a3fcae46 | [
"MIT"
] | null | null | null | #include "ResolutionSystemeDialogue.h"
ResolutionSystemeDialogue::ResolutionSystemeDialogue( wxWindow* parent)
:
ResolutionSystemeDialogueBase( parent )
{
}
/*
* La méthode ResolutionSystemeDialogue prend le nombre d'équation (nombreEquations) indiqué par l'utilisateur et s'en sert pour générer:
* - une grille nom... | 34.256098 | 187 | 0.765041 | ElDawgerino |
8921faa10942cdb468561ab6cfa1b2949a74759c | 3,791 | cpp | C++ | rmoss_cam/src/cam_client.cpp | TomwKang/rmoss_core | 058336a2825bbeddb5b6b865e22a7ddd8faad33e | [
"Apache-2.0"
] | null | null | null | rmoss_cam/src/cam_client.cpp | TomwKang/rmoss_core | 058336a2825bbeddb5b6b865e22a7ddd8faad33e | [
"Apache-2.0"
] | null | null | null | rmoss_cam/src/cam_client.cpp | TomwKang/rmoss_core | 058336a2825bbeddb5b6b865e22a7ddd8faad33e | [
"Apache-2.0"
] | null | null | null | // Copyright 2021 RoboMaster-OSS
//
// 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 ... | 35.429907 | 95 | 0.723556 | TomwKang |
8922b7fcb14905b3cfe92c7633eceb8f385378a4 | 7,947 | cpp | C++ | src/ImageProcessing.cpp | zimmers69/CppAss4 | eabf3f1810ddcefa93e31ddc6ccb3792036c873f | [
"MIT"
] | null | null | null | src/ImageProcessing.cpp | zimmers69/CppAss4 | eabf3f1810ddcefa93e31ddc6ccb3792036c873f | [
"MIT"
] | null | null | null | src/ImageProcessing.cpp | zimmers69/CppAss4 | eabf3f1810ddcefa93e31ddc6ccb3792036c873f | [
"MIT"
] | 1 | 2020-04-30T11:56:47.000Z | 2020-04-30T11:56:47.000Z | //
// Created by User on 2020-03-27.
//
#include <iostream>
#include <fstream>
#include "ImageProcessing.h"
#include "Image.h"
#include <experimental/filesystem>
#include <iomanip>
#include <cmath>
namespace fs = std::experimental::filesystem;
using ZMMALE001::ImageProcessing;
using ZMMALE001::Image;
using ZMMALE001::... | 32.703704 | 200 | 0.504593 | zimmers69 |
89261c8ee01c9533b1e1ab40fa3b599ae96e4152 | 1,082 | cpp | C++ | vendor/uncrustify-0.59/tests/output/cpp/30701-function-def.cpp | b4hand/sauce | 8e1528944bc1bd42f4c1cb36d1bebd04e4f0447b | [
"MIT"
] | null | null | null | vendor/uncrustify-0.59/tests/output/cpp/30701-function-def.cpp | b4hand/sauce | 8e1528944bc1bd42f4c1cb36d1bebd04e4f0447b | [
"MIT"
] | null | null | null | vendor/uncrustify-0.59/tests/output/cpp/30701-function-def.cpp | b4hand/sauce | 8e1528944bc1bd42f4c1cb36d1bebd04e4f0447b | [
"MIT"
] | null | null | null | int &
Function()
{
static int x;
return (x);
}
void
foo1(
int param1,
int param2,
char *param2
);
void
foo2(
int param1,
int param2,
char *param2
);
void
foo3(
int param1,
int param2, // comment
char *param2
);
struct whoopee *
... | 9.247863 | 74 | 0.505545 | b4hand |
892744ed23bd11d4128037c8c7093792f869247c | 28,052 | cpp | C++ | Sources/Elastos/Packages/Providers/DownloadProvider/src/elastos/droid/providers/downloads/CDownloadInfo.cpp | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | 7 | 2017-07-13T10:34:54.000Z | 2021-04-16T05:40:35.000Z | Sources/Elastos/Packages/Providers/DownloadProvider/src/elastos/droid/providers/downloads/CDownloadInfo.cpp | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | null | null | null | Sources/Elastos/Packages/Providers/DownloadProvider/src/elastos/droid/providers/downloads/CDownloadInfo.cpp | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | 9 | 2017-07-13T12:33:20.000Z | 2021-06-19T02:46:48.000Z | //=========================================================================
// Copyright (C) 2012 The Elastos Open Source Project
//
// 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
//
// ... | 34.760843 | 102 | 0.669934 | jingcao80 |
8927ca7e680e05267cef2258eeece56df671f183 | 2,928 | cc | C++ | ScanFactory.cc | nmoehrle/scanalyze | f9c0f08c89586715df62f98d5997a79a5b527428 | [
"TCL"
] | 1 | 2018-11-29T12:46:18.000Z | 2018-11-29T12:46:18.000Z | ScanFactory.cc | dthul/scanalyze | f9c0f08c89586715df62f98d5997a79a5b527428 | [
"TCL"
] | null | null | null | ScanFactory.cc | dthul/scanalyze | f9c0f08c89586715df62f98d5997a79a5b527428 | [
"TCL"
] | 2 | 2020-10-18T06:00:03.000Z | 2022-01-04T20:13:03.000Z | // ScanFactory.cc Create objects of individual scan classes
// created 11/26/98 Matt Ginzton (magi@cs)
//
// No other file but this one should need to reference any *Scan except
// at the RigidScan level.
#include "Mesh.h"
#include "GenericScan.h"
#include "CyberScan.h"
#include "CyraScan.h"
#i... | 28.427184 | 80 | 0.611339 | nmoehrle |
892a270cd7de86ce345e63b0c6972c2a36cc4257 | 1,852 | cpp | C++ | Omniscript/src/Script.cpp | aaronh82/Omniscript | a072dad8a7a2e94032a144eb8e7115b9d4ccc29f | [
"MIT"
] | null | null | null | Omniscript/src/Script.cpp | aaronh82/Omniscript | a072dad8a7a2e94032a144eb8e7115b9d4ccc29f | [
"MIT"
] | null | null | null | Omniscript/src/Script.cpp | aaronh82/Omniscript | a072dad8a7a2e94032a144eb8e7115b9d4ccc29f | [
"MIT"
] | null | null | null | //
// Script.cpp
// OmniScript
//
// Created by Aaron Houghton on 8/26/14.
// Copyright (c) 2014 CCBAC. All rights reserved.
//
#include "Script.h"
#include "Logger.h"
namespace script {
Script::Script(std::string name, unsigned int id, std::string lastModified, std::istream *data, bool enabled):
name_(n... | 19.092784 | 113 | 0.655508 | aaronh82 |
89354cede0d53364f4d93dc0dd3bae2dcae522a4 | 1,871 | cpp | C++ | CPP/Queue.cpp | devgoyal04/DSA | 3d0617b309804d89101acffacefdd47cb7d0b33b | [
"MIT"
] | 71 | 2015-08-20T18:55:28.000Z | 2019-05-21T13:08:32.000Z | CPP/Queue.cpp | devgoyal04/DSA | 3d0617b309804d89101acffacefdd47cb7d0b33b | [
"MIT"
] | 94 | 2016-10-02T11:01:12.000Z | 2018-10-30T09:58:05.000Z | CPP/Queue.cpp | devgoyal04/DSA | 3d0617b309804d89101acffacefdd47cb7d0b33b | [
"MIT"
] | 144 | 2015-12-03T17:33:44.000Z | 2018-10-31T15:47:35.000Z | #include <stdio.h>
#include <stdlib.h>
#include <limits.h>
#include<bits/stc++.h>
using namespace std;
//defining queue
struct Queue
{
int front, rear, size;
unsigned capacity;
int* array;
};
struct Queue* createQueue(unsigned capacity)
{
struct Queue* queue = (struct Queue*) malloc(sizeof(struct Queu... | 20.788889 | 71 | 0.63923 | devgoyal04 |
8938a851c235271cad5eaf93bf0dd5d448b2fc7b | 3,945 | hpp | C++ | Maze/cell.hpp | CodeBulletin/Maze.Exe | 2cd3e7b2733f8f236dcd4f09e5048aba295f66e5 | [
"MIT"
] | 1 | 2021-09-07T11:53:16.000Z | 2021-09-07T11:53:16.000Z | Maze/cell.hpp | CodeBulletin/Maze.Exe | 2cd3e7b2733f8f236dcd4f09e5048aba295f66e5 | [
"MIT"
] | null | null | null | Maze/cell.hpp | CodeBulletin/Maze.Exe | 2cd3e7b2733f8f236dcd4f09e5048aba295f66e5 | [
"MIT"
] | null | null | null | #pragma once
#include "wall.hpp"
struct cell {
int i, j;
sf::Vector2f pos;
float size, wallSize;
sf::Color col, visitedCol, activeCol, currentCol, walkColor, PathColor, frontColor, wallActiveCol, cCol = { 0, 0, 0, 0 };
bool visited = false, inStack = false, current=false;
sf::Vertex v[4];
wall walls[4];... | 30.581395 | 124 | 0.591888 | CodeBulletin |
893aeeaaa433d4e6d68099ff3c4e732d476b8d41 | 186 | cpp | C++ | C++/Chapter 3/Distances Operator Overloading/Distances Operator Overloading/testDistance.cpp | kendreaditya/ap-csa | 500037b1ae34a624e6f319bcd1c86c759cf3f8b8 | [
"MIT"
] | null | null | null | C++/Chapter 3/Distances Operator Overloading/Distances Operator Overloading/testDistance.cpp | kendreaditya/ap-csa | 500037b1ae34a624e6f319bcd1c86c759cf3f8b8 | [
"MIT"
] | null | null | null | C++/Chapter 3/Distances Operator Overloading/Distances Operator Overloading/testDistance.cpp | kendreaditya/ap-csa | 500037b1ae34a624e6f319bcd1c86c759cf3f8b8 | [
"MIT"
] | null | null | null | #include<iostream>
#include"Distance.h"
using namespace std;
int main()
{
Distance d1(12, "km");
Distance d2(2, "cm");
Distance sum;
sum = d1 + d2;
cout << sum << endl;
return 0;
} | 15.5 | 23 | 0.634409 | kendreaditya |
9f135f484649fa712521d8a6bfaa4d9a34529cf0 | 1,281 | hpp | C++ | sydney-2017-03-29/make_crowd.hpp | cjdb/cpp-conferences | bafe69cf11ca38451367553460e956cb52df3dd2 | [
"Apache-2.0"
] | 3 | 2017-09-15T00:10:25.000Z | 2018-09-22T12:50:18.000Z | sydney-2017-03-29/make_crowd.hpp | cjdb/cppcon | bafe69cf11ca38451367553460e956cb52df3dd2 | [
"Apache-2.0"
] | 1 | 2017-12-04T22:12:16.000Z | 2017-12-04T22:12:16.000Z | sydney-2017-03-29/make_crowd.hpp | cjdb/cppcon | bafe69cf11ca38451367553460e956cb52df3dd2 | [
"Apache-2.0"
] | 1 | 2017-12-04T10:50:54.000Z | 2017-12-04T10:50:54.000Z | #ifndef MAKE_CROWD_HPP
#define MAKE_CROWD_HPP
#include <experimental/ranges/algorithm>
#include <experimental/ranges/iterator>
#include <iostream>
#include <random>
namespace ranges = std::experimental::ranges;
template <ranges::InputRange Rng>
Rng make_crowd(const int children, const int adults, const int seniors)
... | 29.113636 | 96 | 0.697112 | cjdb |
9f157989e2003e03d1acf338cb9d60f7ae458cd2 | 567 | cc | C++ | test/regression/aarch64/Exception.cc | viper12590/SimEng | e9fc4d24a8823e553e042c60801aa0a0e3f077ca | [
"Apache-2.0"
] | null | null | null | test/regression/aarch64/Exception.cc | viper12590/SimEng | e9fc4d24a8823e553e042c60801aa0a0e3f077ca | [
"Apache-2.0"
] | null | null | null | test/regression/aarch64/Exception.cc | viper12590/SimEng | e9fc4d24a8823e553e042c60801aa0a0e3f077ca | [
"Apache-2.0"
] | null | null | null | #include "AArch64RegressionTest.hh"
namespace {
using Exception = AArch64RegressionTest;
// Test that branching to an address that is misaligned raises an exception.
TEST_P(Exception, misaligned_pc) {
RUN_AARCH64(R"(
mov x0, 5
br x0
)");
const char err[] = "\nEncountered misaligned program counter exce... | 25.772727 | 76 | 0.673721 | viper12590 |
9f193bfa2a3a60ce564c2d29e8587cc338ce8547 | 711 | cc | C++ | services/ui/ws2/client_change_tracker.cc | zipated/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | services/ui/ws2/client_change_tracker.cc | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | services/ui/ws2/client_change_tracker.cc | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 338 | 2020-04-18T08:03:10.000Z | 2022-03-29T12:33:22.000Z | // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "services/ui/ws2/client_change_tracker.h"
#include "services/ui/ws2/client_change.h"
namespace ui {
namespace ws2 {
ClientChangeTracker::Clien... | 29.625 | 78 | 0.694796 | zipated |
9f1951ca9f529d096ddea3fc922c9a723904e44e | 1,053 | cpp | C++ | src/filter/device_factory.cpp | JohanSmet/kinect_webcam | 7728be2dd575404b5ec43a0867ebba9ca0595d4c | [
"MIT"
] | 21 | 2015-01-28T06:47:26.000Z | 2022-03-27T15:31:08.000Z | src/filter/device_factory.cpp | JohanSmet/kinect_webcam | 7728be2dd575404b5ec43a0867ebba9ca0595d4c | [
"MIT"
] | 1 | 2017-07-17T22:56:45.000Z | 2017-07-22T13:34:35.000Z | src/filter/device_factory.cpp | JohanSmet/kinect_webcam | 7728be2dd575404b5ec43a0867ebba9ca0595d4c | [
"MIT"
] | 3 | 2019-04-04T14:56:12.000Z | 2021-02-22T13:22:02.000Z | ///////////////////////////////////////////////////////////////////////////////
//
// File : input/motion/device_factory.cpp
//
// Purpose : create motion input devices
//
// Copyright (c) 2014 Contributors as noted in the AUTHORS file
//
// This file is licensed under the terms of the MIT license,
// for more detai... | 23.931818 | 79 | 0.60114 | JohanSmet |
9f1db262822705206e17c844efd4d2ef303535d9 | 3,744 | hpp | C++ | include/System/Diagnostics/CorrelationManager.hpp | RedBrumbler/BeatSaber-Quest-Codegen | 73dda50b5a3e51f10d86b766dcaa24b0c6226e25 | [
"Unlicense"
] | null | null | null | include/System/Diagnostics/CorrelationManager.hpp | RedBrumbler/BeatSaber-Quest-Codegen | 73dda50b5a3e51f10d86b766dcaa24b0c6226e25 | [
"Unlicense"
] | null | null | null | include/System/Diagnostics/CorrelationManager.hpp | RedBrumbler/BeatSaber-Quest-Codegen | 73dda50b5a3e51f10d86b766dcaa24b0c6226e25 | [
"Unlicense"
] | null | null | null | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "beatsaber-hook/shared/utils/typedefs.h"
#include "beatsaber-hook/shared/utils/byref.hpp"
#include "beatsaber-hook/shared/utils/il2cpp-utils-met... | 49.92 | 218 | 0.753472 | RedBrumbler |
9f1fb38cdbba05f28499311ca0ad0b6682ac61bb | 2,393 | cpp | C++ | samples/tools/create_HV_registration_image_mask.cpp | v4r-tuwien/v4r | ff3fbd6d2b298b83268ba4737868bab258262a40 | [
"BSD-1-Clause",
"BSD-2-Clause"
] | 2 | 2021-02-22T11:36:33.000Z | 2021-07-20T11:31:08.000Z | samples/tools/create_HV_registration_image_mask.cpp | v4r-tuwien/v4r | ff3fbd6d2b298b83268ba4737868bab258262a40 | [
"BSD-1-Clause",
"BSD-2-Clause"
] | null | null | null | samples/tools/create_HV_registration_image_mask.cpp | v4r-tuwien/v4r | ff3fbd6d2b298b83268ba4737868bab258262a40 | [
"BSD-1-Clause",
"BSD-2-Clause"
] | 3 | 2018-10-19T10:39:23.000Z | 2021-04-07T13:39:03.000Z | #include <pcl/io/pcd_io.h>
#include <v4r/io/filesystem.h>
#include <opencv2/opencv.hpp>
#include <boost/program_options.hpp>
namespace po = boost::program_options;
int main(int argc, char **argv) {
typedef pcl::PointXYZRGB PointT;
bf::path input_dir;
bf::path output_file = "/tmp/depth_mask.png";
bool search_... | 34.185714 | 117 | 0.630171 | v4r-tuwien |
9f2006353b806e7fdc2fd4ee024dc538cdeb10e4 | 6,819 | hh | C++ | ncrystal_core/include/NCrystal/internal/NCString.hh | mctools/ncrystal | 33ec51187a3bef418046c30e591ff7d8f239d54f | [
"Apache-2.0"
] | 22 | 2017-08-31T08:44:10.000Z | 2022-03-21T08:18:26.000Z | ncrystal_core/include/NCrystal/internal/NCString.hh | XuShuqi7/ncrystal | acf26db3dfd5f0a95355c7c3bbfcbfee55040175 | [
"Apache-2.0"
] | 77 | 2018-01-23T10:19:45.000Z | 2022-03-21T07:57:32.000Z | ncrystal_core/include/NCrystal/internal/NCString.hh | XuShuqi7/ncrystal | acf26db3dfd5f0a95355c7c3bbfcbfee55040175 | [
"Apache-2.0"
] | 11 | 2017-09-14T19:49:50.000Z | 2022-02-28T11:07:00.000Z | #ifndef NCrystal_String_hh
#define NCrystal_String_hh
////////////////////////////////////////////////////////////////////////////////
// //
// This file is part of NCrystal (see https://mctools.github.io/ncrystal/) //
// ... | 41.579268 | 133 | 0.587476 | mctools |
9f25b4facdc2cf28402f9a6b14b1c568f20c5fd1 | 256 | cpp | C++ | src/util/physical_constants.cpp | MelbourneSpaceProgram/msp_flight_software_public | de290a2e7181ac43af1232b2ffbca2db8ec4ecd2 | [
"MIT"
] | 10 | 2018-04-28T04:44:56.000Z | 2022-02-06T21:12:13.000Z | src/util/physical_constants.cpp | MelbourneSpaceProgram/msp_flight_software_public | de290a2e7181ac43af1232b2ffbca2db8ec4ecd2 | [
"MIT"
] | null | null | null | src/util/physical_constants.cpp | MelbourneSpaceProgram/msp_flight_software_public | de290a2e7181ac43af1232b2ffbca2db8ec4ecd2 | [
"MIT"
] | 3 | 2019-02-16T03:22:26.000Z | 2022-02-03T14:54:22.000Z | #include <src/util/physical_constants.h>
uint8_t const geomagnetic_field_vector_nrows = 3;
uint8_t const geomagnetic_field_vector_ncolumns = 1;
uint16_t const kMinutesPerDay = 60 * 24;
double const kPi = 3.14159265358979323846264338327950288419716939937;
| 36.571429 | 69 | 0.839844 | MelbourneSpaceProgram |
9f28065ee8f60cb3b0ac482ee26eebb5c574507e | 3,654 | cpp | C++ | source/04_Geometry/05_Sutherland-Hodgman Algorithm.cpp | KerakTelor86/AlgoCopypasta | 900d989c0651b51b55c551d336c2e92faead0fc8 | [
"WTFPL"
] | 1 | 2021-06-25T05:46:11.000Z | 2021-06-25T05:46:11.000Z | source/04_Geometry/05_Sutherland-Hodgman Algorithm.cpp | KerakTelor86/AlgoCopypasta | 900d989c0651b51b55c551d336c2e92faead0fc8 | [
"WTFPL"
] | null | null | null | source/04_Geometry/05_Sutherland-Hodgman Algorithm.cpp | KerakTelor86/AlgoCopypasta | 900d989c0651b51b55c551d336c2e92faead0fc8 | [
"WTFPL"
] | null | null | null | // Complexity: linear time
// Ada 2 poligon, cari poligon intersectionnya
// poly_point = hasilnya, clipper = pemotongnya
#include<bits/stdc++.h>
using namespace std;
const double EPS = 1e-9;
struct point {
double x, y;
point(double _x, double _y): x(_x), y(_y) {}
};
struct vec {
double x, y;
vec(double _x, d... | 27.473684 | 82 | 0.552819 | KerakTelor86 |
9f286b100c6d547a9c2350a1d6ed635db272da40 | 3,083 | cpp | C++ | custom/bomb.cpp | jiegec/oj | 492117a5e275487d49b16ec3249a2412e896682d | [
"MIT"
] | 1 | 2021-08-02T03:04:28.000Z | 2021-08-02T03:04:28.000Z | custom/bomb.cpp | jiegec/oj | 492117a5e275487d49b16ec3249a2412e896682d | [
"MIT"
] | null | null | null | custom/bomb.cpp | jiegec/oj | 492117a5e275487d49b16ec3249a2412e896682d | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <string.h>
char map[16][11];
char oldmap[16][11];
int bombx[5];
int bomby[5];
int n,r,c;
#define W 0
#define N 1
#define E 2
#define S 3
#define NW 4
#define NE 5
#define SW 6
#define SE 7
int d[8][2] = {{0,-1},{-1,0},{0,1},{1,0},
{-1,-1},{-1,1},{1,-1},{1,1}};
bool dfs3(int... | 21.865248 | 110 | 0.399935 | jiegec |
9f2c023c6d4f8b815290948989696f2db3dea2a7 | 14,835 | cpp | C++ | src/RcppExports.cpp | lgaborini/rdirdirgamma | f3087f0a81c9e4b08ff56efcc260873eaa16232d | [
"MIT"
] | null | null | null | src/RcppExports.cpp | lgaborini/rdirdirgamma | f3087f0a81c9e4b08ff56efcc260873eaa16232d | [
"MIT"
] | null | null | null | src/RcppExports.cpp | lgaborini/rdirdirgamma | f3087f0a81c9e4b08ff56efcc260873eaa16232d | [
"MIT"
] | null | null | null | // Generated by using Rcpp::compileAttributes() -> do not edit by hand
// Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393
#include <RcppArmadillo.h>
#include <RcppGSL.h>
#include <Rcpp.h>
using namespace Rcpp;
// sample_ABC_rdirdirgamma_beta_cpp
Rcpp::NumericMatrix sample_ABC_rdirdirgamma_beta_cpp(const unsign... | 60.304878 | 366 | 0.786855 | lgaborini |
9f32ae76d434f58248b4d3c2340bade61683389c | 18,837 | cpp | C++ | samples/rms_sample/mainwindow.cpp | AzureAD/rms-sdk-for-cpp | 0e5d54a030008c5c0f70d8d3d0695fa0722b6ab6 | [
"MIT"
] | 30 | 2015-06-22T23:59:02.000Z | 2021-09-12T05:51:34.000Z | samples/rms_sample/mainwindow.cpp | AnthonyCSheehy/rms-sdk-for-cpp | 42985c0b5d93da5bef6bd6c847ddced4be008843 | [
"MIT"
] | 115 | 2015-06-22T18:26:34.000Z | 2022-03-24T16:57:46.000Z | samples/rms_sample/mainwindow.cpp | AnthonyCSheehy/rms-sdk-for-cpp | 42985c0b5d93da5bef6bd6c847ddced4be008843 | [
"MIT"
] | 32 | 2015-06-22T08:39:29.000Z | 2022-03-24T16:49:20.000Z | /*
* ======================================================================
* Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
* Licensed under the MIT License.
* See LICENSE.md in the project root for license information.
* =====================================================================... | 27.103597 | 84 | 0.601263 | AzureAD |
9f33d8dc0d786838fa48aeabbbd3c00c50d8caf9 | 848 | hpp | C++ | Siv3D/include/Siv3D/Twitter.hpp | emadurandal/OpenSiv3D | 2c7a77526be7bb8669a223066210337d74bdc9c6 | [
"MIT"
] | 709 | 2016-03-19T07:55:58.000Z | 2022-03-31T08:02:22.000Z | Siv3D/include/Siv3D/Twitter.hpp | emadurandal/OpenSiv3D | 2c7a77526be7bb8669a223066210337d74bdc9c6 | [
"MIT"
] | 415 | 2017-05-21T05:05:02.000Z | 2022-03-29T16:08:27.000Z | Siv3D/include/Siv3D/Twitter.hpp | emadurandal/OpenSiv3D | 2c7a77526be7bb8669a223066210337d74bdc9c6 | [
"MIT"
] | 123 | 2016-03-19T12:47:08.000Z | 2022-03-25T03:47:51.000Z | //-----------------------------------------------
//
// This file is part of the Siv3D Engine.
//
// Copyright (c) 2008-2021 Ryo Suzuki
// Copyright (c) 2016-2021 OpenSiv3D Project
//
// Licensed under the MIT License.
//
//-----------------------------------------------
# pragma once
# include "Common.hpp"
# include... | 21.74359 | 53 | 0.650943 | emadurandal |
9f3455771192f590690b610b29c1f3c2da2f3f74 | 1,809 | cpp | C++ | 3DEngine/src/3D Engine/RenderingManager.cpp | tobbep1997/Bitfrost_2.0 | a092db19d4658062554b7df759f28439fc1ad4f8 | [
"Apache-2.0"
] | null | null | null | 3DEngine/src/3D Engine/RenderingManager.cpp | tobbep1997/Bitfrost_2.0 | a092db19d4658062554b7df759f28439fc1ad4f8 | [
"Apache-2.0"
] | null | null | null | 3DEngine/src/3D Engine/RenderingManager.cpp | tobbep1997/Bitfrost_2.0 | a092db19d4658062554b7df759f28439fc1ad4f8 | [
"Apache-2.0"
] | null | null | null | #include "3DEngine/EnginePCH.h"
#include "RenderingManager.h"
RenderingManager::RenderingManager()
{
m_wnd = new Window();
m_engine = new Engine3D();
}
RenderingManager::~RenderingManager()
{
delete m_wnd;
delete m_engine;
}
RenderingManager * RenderingManager::GetInstance()
{
static RenderingManager m_insta... | 15.868421 | 91 | 0.725815 | tobbep1997 |
9f3639fc5206bf4d7bc80a891eedbc9dbdf7682a | 16,930 | cpp | C++ | implementations/ugene/src/corelibs/U2Lang/src/model/DbiDataStorage.cpp | r-barnes/sw_comparison | 1ac2c9cc10a32badd6b8fb1e96516c97f7800176 | [
"BSD-Source-Code"
] | null | null | null | implementations/ugene/src/corelibs/U2Lang/src/model/DbiDataStorage.cpp | r-barnes/sw_comparison | 1ac2c9cc10a32badd6b8fb1e96516c97f7800176 | [
"BSD-Source-Code"
] | null | null | null | implementations/ugene/src/corelibs/U2Lang/src/model/DbiDataStorage.cpp | r-barnes/sw_comparison | 1ac2c9cc10a32badd6b8fb1e96516c97f7800176 | [
"BSD-Source-Code"
] | null | null | null | /**
* UGENE - Integrated Bioinformatics Tools.
* Copyright (C) 2008-2020 UniPro <ugene@unipro.ru>
* http://ugene.net
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* ... | 38.741419 | 153 | 0.712227 | r-barnes |