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
21bdd5a593720dc7db7aec2ee475cce2c6db3e3b
1,808
cpp
C++
24-pashmak-parmida/pashmak.cpp
wlep/cp-course
9e52788e8f6a76752149b74d06d0272e16c3b528
[ "MIT" ]
null
null
null
24-pashmak-parmida/pashmak.cpp
wlep/cp-course
9e52788e8f6a76752149b74d06d0272e16c3b528
[ "MIT" ]
null
null
null
24-pashmak-parmida/pashmak.cpp
wlep/cp-course
9e52788e8f6a76752149b74d06d0272e16c3b528
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <algorithm> #include <unordered_map> using namespace std; class BIT { public: BIT(uint64_t _size) { if (_size < 1) _size = 10; size = _size + 1; A = new uint64_t[size]; fill_n(A, size, 0); } ~BIT() { delete...
18.639175
53
0.446903
wlep
21c73eda2abaf9ae6a83bfc0d694ca1b79642378
568
cpp
C++
atcoder/abc43_b.cpp
cosmicray001/Online_judge_Solutions-
5dc6f90d3848eb192e6edea8e8c731f41a1761dd
[ "MIT" ]
3
2018-01-08T02:52:51.000Z
2021-03-03T01:08:44.000Z
atcoder/abc43_b.cpp
cosmicray001/Online_judge_Solutions-
5dc6f90d3848eb192e6edea8e8c731f41a1761dd
[ "MIT" ]
null
null
null
atcoder/abc43_b.cpp
cosmicray001/Online_judge_Solutions-
5dc6f90d3848eb192e6edea8e8c731f41a1761dd
[ "MIT" ]
1
2020-08-13T18:07:35.000Z
2020-08-13T18:07:35.000Z
#include <bits/stdc++.h> using namespace std; vector<pair<char, bool> > v; void fnc(int a){ for(int i = a; i >= 0; i--){ if(v[i].second == true){ v[i].second = false; break; } } } int main(){ string s; cin >> s; for(int i = 0; i < s.size(); i++){ if(s[i] != 'B') v.push_back(make_pair(s...
21.846154
85
0.492958
cosmicray001
21d167f175735aef2b16564631bca470bf17a9d4
3,730
cpp
C++
FECore/FESolidElement.cpp
Scriptkiddi/FEBioStudio
b4cafde6b2761c9184e7e66451a9555b81a8a3dc
[ "MIT" ]
null
null
null
FECore/FESolidElement.cpp
Scriptkiddi/FEBioStudio
b4cafde6b2761c9184e7e66451a9555b81a8a3dc
[ "MIT" ]
null
null
null
FECore/FESolidElement.cpp
Scriptkiddi/FEBioStudio
b4cafde6b2761c9184e7e66451a9555b81a8a3dc
[ "MIT" ]
null
null
null
/*This file is part of the FEBio source code and is licensed under the MIT license listed below. See Copyright-FEBio.txt for details. Copyright (c) 2021 University of Utah, The Trustees of Columbia University in the City of New York, and others. Permission is hereby granted, free of charge, to any person obtaining a...
33.909091
204
0.664343
Scriptkiddi
21d1e9505347b48ad549f17100c42aee3f4fb770
2,140
cc
C++
src/dictionaries/webrtc/rtc_configuration.cc
elofun/node-webrtc
be63c8c007402c25962df9e30c9813ba70b8a17b
[ "Apache-2.0" ]
1,302
2018-11-26T03:29:51.000Z
2022-03-31T23:38:34.000Z
src/dictionaries/webrtc/rtc_configuration.cc
elofun/node-webrtc
be63c8c007402c25962df9e30c9813ba70b8a17b
[ "Apache-2.0" ]
311
2018-11-26T14:22:19.000Z
2022-03-28T09:47:38.000Z
src/dictionaries/webrtc/rtc_configuration.cc
elofun/node-webrtc
be63c8c007402c25962df9e30c9813ba70b8a17b
[ "Apache-2.0" ]
233
2018-11-26T18:08:11.000Z
2022-03-30T01:29:50.000Z
#include "src/dictionaries/webrtc/rtc_configuration.h" #include "src/converters.h" #include "src/converters/object.h" #include "src/dictionaries/webrtc/ice_server.h" #include "src/enums/webrtc/bundle_policy.h" #include "src/enums/webrtc/ice_transports_type.h" #include "src/enums/webrtc/rtcp_mux_policy.h" #include "src...
59.444444
165
0.772897
elofun
21d46073fc4e7def9910aebe22269d54114d76c0
3,947
cpp
C++
Opportunity.ChakraBridge.WinRT/Value/JsTypedArray.cpp
OpportunityLiu/ChakraBridge
38e3eb058a94fb2f8bab0aed19af2dbfdbb556f3
[ "MIT" ]
null
null
null
Opportunity.ChakraBridge.WinRT/Value/JsTypedArray.cpp
OpportunityLiu/ChakraBridge
38e3eb058a94fb2f8bab0aed19af2dbfdbb556f3
[ "MIT" ]
null
null
null
Opportunity.ChakraBridge.WinRT/Value/JsTypedArray.cpp
OpportunityLiu/ChakraBridge
38e3eb058a94fb2f8bab0aed19af2dbfdbb556f3
[ "MIT" ]
null
null
null
#include "pch.h" #include "JsTypedArray.h" #include "Native\NativeBuffer.h" using namespace Opportunity::ChakraBridge::WinRT; JsTypedArrayImpl::JsTypedArrayImpl(RawValue ref, uint8*const bufferPtr, const uint32 bufferLen, const JsArrayType arrType, const uint32 elementSize) : JsObjectImpl(std::move(ref)), BufferP...
27.601399
148
0.713707
OpportunityLiu
21d6ef9981e75b993d09eafc0bf29b079ec58af6
1,816
cc
C++
cpp/core/internal/mediums/webrtc/peer_id.cc
jdapena/nearby-connections
ae277748ce068ef1730d5104002d4324fc4ed89e
[ "Apache-2.0" ]
null
null
null
cpp/core/internal/mediums/webrtc/peer_id.cc
jdapena/nearby-connections
ae277748ce068ef1730d5104002d4324fc4ed89e
[ "Apache-2.0" ]
null
null
null
cpp/core/internal/mediums/webrtc/peer_id.cc
jdapena/nearby-connections
ae277748ce068ef1730d5104002d4324fc4ed89e
[ "Apache-2.0" ]
null
null
null
// Copyright 2020 Google LLC // // 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
32.428571
76
0.736233
jdapena
21d8e1f5e55300ff67ec39b617b02b39cedf7b10
1,331
cpp
C++
native/src/ExtNativeBridge.cpp
Karlatemp/JvmHookFramework
064106aad15996ec7db0e0b383893d7b20b07084
[ "Apache-2.0" ]
6
2021-03-20T14:34:24.000Z
2021-05-14T15:44:32.000Z
native/src/ExtNativeBridge.cpp
Karlatemp/JvmHookFramework
064106aad15996ec7db0e0b383893d7b20b07084
[ "Apache-2.0" ]
3
2021-03-20T14:32:19.000Z
2021-06-03T02:30:14.000Z
native/src/ExtNativeBridge.cpp
Karlatemp/JvmHookFramework
064106aad15996ec7db0e0b383893d7b20b07084
[ "Apache-2.0" ]
1
2021-05-14T15:44:37.000Z
2021-05-14T15:44:37.000Z
#include <io_github_karlatemp_jvmhook_core_extsys_NativeBridge.h> #include <iostream> #include "lib.h" jobject extClassLoader = null; extern jvmtiEnv *jtiEnv; /* * Class: io_github_karlatemp_jvmhook_core_extsys_NativeBridge * Method: setExtClassLoader * Signature: (Ljava/lang/ClassLoader;)V */ JNIEXPORT vo...
34.128205
110
0.700977
Karlatemp
21db7ad3756e053cc2a4ba49fb5aa9538b5dc0a1
2,315
cpp
C++
Framework/framework/WindowsHelper.cpp
luuthevinh/tiny3d-game-framework
a2078a8937a4ff147f5ef51aa6ba17105c59015c
[ "MIT" ]
null
null
null
Framework/framework/WindowsHelper.cpp
luuthevinh/tiny3d-game-framework
a2078a8937a4ff147f5ef51aa6ba17105c59015c
[ "MIT" ]
null
null
null
Framework/framework/WindowsHelper.cpp
luuthevinh/tiny3d-game-framework
a2078a8937a4ff147f5ef51aa6ba17105c59015c
[ "MIT" ]
null
null
null
#include "WindowsHelper.h" #include "..\Settings.h" USING_NS_TINY; WindowsHelper * WindowsHelper::create(HINSTANCE hInstance, const char * name, int width, int height) { auto window = new WindowsHelper(); if (window->init(hInstance, name, width, height)) { return window; } delete window; return nullptr; } ...
16.076389
100
0.715767
luuthevinh
21def9908174657469aeedbb286ae920b6fc4596
284
cpp
C++
sdl-cpp/src/lerp.cpp
hiddeninplainsight/sdl_cpp_wrapper
7430c8ac19284170405b17979980c8389d364572
[ "MIT" ]
null
null
null
sdl-cpp/src/lerp.cpp
hiddeninplainsight/sdl_cpp_wrapper
7430c8ac19284170405b17979980c8389d364572
[ "MIT" ]
null
null
null
sdl-cpp/src/lerp.cpp
hiddeninplainsight/sdl_cpp_wrapper
7430c8ac19284170405b17979980c8389d364572
[ "MIT" ]
null
null
null
#include "sdl_cpp/lerp.h" namespace sdl { int Lerp(int a, int b, float factor) { return static_cast<int>(a + ((b - a) * factor)); } SDL_Point Lerp(SDL_Point a, SDL_Point b, float factor) { return SDL_Point { Lerp(a.x, b.x, factor), Lerp(a.y, b.y, factor) }; } }
14.947368
55
0.609155
hiddeninplainsight
21e16411df25c8bda96cc7821275f054a751bdfd
1,079
cpp
C++
11287.cpp
felikjunvianto/kfile-uvaoj-submissions
5bd8b3b413ca8523abe412b0a0545f766f70ce63
[ "MIT" ]
null
null
null
11287.cpp
felikjunvianto/kfile-uvaoj-submissions
5bd8b3b413ca8523abe412b0a0545f766f70ce63
[ "MIT" ]
null
null
null
11287.cpp
felikjunvianto/kfile-uvaoj-submissions
5bd8b3b413ca8523abe412b0a0545f766f70ce63
[ "MIT" ]
null
null
null
#include <cstdio> #include <cstdlib> #include <cmath> #include <iostream> #include <string> #include <cstring> #include <algorithm> #include <vector> #include <utility> #include <stack> #include <queue> #include <map> #include <set> #define fi first #define se second #define pb push_back #define mp ma...
17.403226
69
0.594069
felikjunvianto
21efbf7823b04e4a7210f40aecd8cde238fe4678
7,653
cpp
C++
SimSpark/spark/lib/oxygen/physicsserver/collider.cpp
IllyasvielEin/Robocup3dInstaller
12e91d9372dd08a92feebf98e916c98bc2242ff4
[ "MIT" ]
null
null
null
SimSpark/spark/lib/oxygen/physicsserver/collider.cpp
IllyasvielEin/Robocup3dInstaller
12e91d9372dd08a92feebf98e916c98bc2242ff4
[ "MIT" ]
null
null
null
SimSpark/spark/lib/oxygen/physicsserver/collider.cpp
IllyasvielEin/Robocup3dInstaller
12e91d9372dd08a92feebf98e916c98bc2242ff4
[ "MIT" ]
null
null
null
/* -*- mode: c++; c-basic-offset: 4; indent-tabs-mode: nil -*- this file is part of rcssserver3D Fri May 9 2003 Copyright (C) 2003 Koblenz University $Id$ 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 ...
26.758741
91
0.625768
IllyasvielEin
21f91b695bfb879f3bbef3185843846c7cfc267e
810
cpp
C++
ch4/c04t01.cpp
doomydot/PPPUCPP2nd
a97bc600029ad8ee7a45d0fe5a572970c784d08a
[ "MIT" ]
null
null
null
ch4/c04t01.cpp
doomydot/PPPUCPP2nd
a97bc600029ad8ee7a45d0fe5a572970c784d08a
[ "MIT" ]
null
null
null
ch4/c04t01.cpp
doomydot/PPPUCPP2nd
a97bc600029ad8ee7a45d0fe5a572970c784d08a
[ "MIT" ]
null
null
null
//c04t01 #include <vector> #include <iostream> #include <algorithm> using namespace std; int main() { constexpr double yen_per_dollar = 113.95; constexpr double euro_per_dollar = 0.89; constexpr double pounds_per_dollar = 0.74; double value; char unit; cout << "Please enter a val...
18
81
0.537037
doomydot
1d03f998ec783792e82874986974e376b9c650a5
1,705
cpp
C++
4788/src/main/cpp/Intake.cpp
JaciBrunning/2022-RapidReact
f53ca55fd99ca6069dab27fc30f0e3effdb70537
[ "MIT" ]
null
null
null
4788/src/main/cpp/Intake.cpp
JaciBrunning/2022-RapidReact
f53ca55fd99ca6069dab27fc30f0e3effdb70537
[ "MIT" ]
null
null
null
4788/src/main/cpp/Intake.cpp
JaciBrunning/2022-RapidReact
f53ca55fd99ca6069dab27fc30f0e3effdb70537
[ "MIT" ]
null
null
null
#include "Intake.h" #include <iostream> #include "ControlMap.h" Intake::Intake (RobotMap::IntakeSystem &intakeSystem, Controllers &contGroup) : _intakeSystem(intakeSystem), _contGroup(contGroup) { // _intakeSystem.intakeSolenoid.SetTarget(wml::actuators::BinaryActuatorState::kForward); } void Intake::_update(doubl...
37.888889
133
0.752493
JaciBrunning
1d13a9ab2b5e5b595a9d9aa00c1ac9f0516a8f1a
699
cpp
C++
source/Pictus/dlg_advanced.cpp
poppeman/Pictus
0e58285b89292d0b221ab4d09911ef439711cc59
[ "MIT" ]
73
2015-01-19T17:38:26.000Z
2022-02-15T06:16:08.000Z
source/Pictus/dlg_advanced.cpp
poppeman/Pictus
0e58285b89292d0b221ab4d09911ef439711cc59
[ "MIT" ]
75
2015-01-01T17:32:24.000Z
2018-10-18T08:19:08.000Z
source/Pictus/dlg_advanced.cpp
poppeman/Pictus
0e58285b89292d0b221ab4d09911ef439711cc59
[ "MIT" ]
18
2015-01-05T04:57:18.000Z
2022-03-06T01:35:10.000Z
#include "dlg_advanced.h" #include "registry.h" #include "wintypes.h" namespace App { using namespace Intl; std::string SetAdvanced::Caption() { return Intl::GetString(SIDSettingsAdvanced); } SetAdvanced::SetAdvanced(wxWindow *parent) : App::SettingsPage{parent} { m_allowMultipleInstances = new wxCheckBo...
24.103448
121
0.776824
poppeman
1d16b04d83611c9ae5a38feddb49914960af5792
11,977
hpp
C++
NN/code/headers/Pixel.hpp
Pokoi/CPPNeuralNetworkVisualAccesibility
0560fa824048b9edb9567536e85d2651c5c9a8ef
[ "MIT" ]
null
null
null
NN/code/headers/Pixel.hpp
Pokoi/CPPNeuralNetworkVisualAccesibility
0560fa824048b9edb9567536e85d2651c5c9a8ef
[ "MIT" ]
null
null
null
NN/code/headers/Pixel.hpp
Pokoi/CPPNeuralNetworkVisualAccesibility
0560fa824048b9edb9567536e85d2651c5c9a8ef
[ "MIT" ]
null
null
null
#pragma once #include <math.h> #include <algorithm> /** @brief Class that stores the pixel information and allow pixel color space conversions. */ class Pixel { public: struct RGB { float red; float green; float blue; RGB () : red (0.f), ...
32.724044
131
0.505636
Pokoi
1d218595c44c239ba4d7212efd440fb8a6cfd043
1,819
cpp
C++
C_C++/2017fall/jishupaixu.cpp
oneofsunshine/program_learning
5afc2e5e6e7a6604d4bd9c8e102822e1cf751c0b
[ "Apache-2.0" ]
1
2018-02-10T03:53:45.000Z
2018-02-10T03:53:45.000Z
C_C++/2017fall/jishupaixu.cpp
oneofsunshine/program_learning
5afc2e5e6e7a6604d4bd9c8e102822e1cf751c0b
[ "Apache-2.0" ]
null
null
null
C_C++/2017fall/jishupaixu.cpp
oneofsunshine/program_learning
5afc2e5e6e7a6604d4bd9c8e102822e1cf751c0b
[ "Apache-2.0" ]
null
null
null
#include<iostream> using namespace std; int main() { int n; cin >> n; int a[n]; for (int i = 0; i < n; i ++) cin >> a[i]; int b[n]; for(int i = 0; i < n; i ++) b[i] = a[i] % 10; for(int i = 0; i < n - 1; i ++) { for ( int j = 1; j < n - i; j ++) { if (b[j...
24.581081
43
0.248488
oneofsunshine
1d222e225b9ec1256732d3ef69e32a229888c1a2
638
cpp
C++
2DEngine/2DEngine/src/GameObject.cpp
gregoriobenatti/youtube_gamedev_LetsMakeGames_HowToMakeAGame
efb8c8bd4e9a1f1b2529fb8c849f3632c9517e94
[ "MIT" ]
null
null
null
2DEngine/2DEngine/src/GameObject.cpp
gregoriobenatti/youtube_gamedev_LetsMakeGames_HowToMakeAGame
efb8c8bd4e9a1f1b2529fb8c849f3632c9517e94
[ "MIT" ]
null
null
null
2DEngine/2DEngine/src/GameObject.cpp
gregoriobenatti/youtube_gamedev_LetsMakeGames_HowToMakeAGame
efb8c8bd4e9a1f1b2529fb8c849f3632c9517e94
[ "MIT" ]
null
null
null
#include "GameObject.h" #include "TextureManager.h" GameObject::GameObject(const char* textureSheet, int x, int y) { objectTexture = TextureManager::LoadTexture(textureSheet); xPosition = x; yPosition = y; } void GameObject::Update() { xPosition++; yPosition++; sourceRect.h = 32; sourceRect....
19.333333
79
0.684953
gregoriobenatti
918cd392b6ef4ec4bd9446918b1e6cb85c66a975
2,558
hpp
C++
include/experimental/value_or_error.hpp
jwakely/std-make
f09d052983ace70cf371bb8ddf78d4f00330bccd
[ "BSL-1.0" ]
105
2015-01-24T13:26:41.000Z
2022-02-18T15:36:53.000Z
include/experimental/value_or_error.hpp
jwakely/std-make
f09d052983ace70cf371bb8ddf78d4f00330bccd
[ "BSL-1.0" ]
37
2015-09-04T06:57:10.000Z
2021-09-09T18:01:44.000Z
include/experimental/value_or_error.hpp
jwakely/std-make
f09d052983ace70cf371bb8ddf78d4f00330bccd
[ "BSL-1.0" ]
23
2015-01-27T11:09:18.000Z
2021-10-04T02:23:30.000Z
// 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) // // (C) Copyright 2017 Vicente J. Botet Escriba #ifndef JASEL_EXPERIMENTAL_VALUE_OR_ERROR_HPP #define JASEL_EXPERIMENTAL_VALUE_OR_ERROR_HPP // todo: A ValueOrEr...
37.617647
109
0.797498
jwakely
919aa5c85122fe0d6d154dbf1bf661ff5066dd2f
4,407
cpp
C++
tests/DataObjects/JPetLOR/JPetLORTest.cpp
BlurredChoise/j-pet-framework
f6728e027fae2b6ac0bdf274141254689894aa08
[ "Apache-2.0" ]
10
2016-07-04T14:54:14.000Z
2021-04-11T14:19:29.000Z
tests/DataObjects/JPetLOR/JPetLORTest.cpp
BlurredChoise/j-pet-framework
f6728e027fae2b6ac0bdf274141254689894aa08
[ "Apache-2.0" ]
119
2016-06-17T20:22:07.000Z
2022-02-21T08:50:22.000Z
tests/DataObjects/JPetLOR/JPetLORTest.cpp
BlurredChoise/j-pet-framework
f6728e027fae2b6ac0bdf274141254689894aa08
[ "Apache-2.0" ]
30
2016-06-17T17:56:35.000Z
2020-12-30T22:20:19.000Z
/** * @copyright Copyright 2018 The J-PET Framework Authors. All rights reserved. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may find a copy of the License in the LICENCE file. * * Unless required by applicable la...
31.934783
94
0.750624
BlurredChoise
91a0b3105dc271b1f37673e52373b203c37df150
399
hpp
C++
include/NP-Engine/Core/Core.hpp
naphipps/NP-Engine
0cac8b2d5e76c839b96f2061bf57434bdc37915e
[ "MIT" ]
null
null
null
include/NP-Engine/Core/Core.hpp
naphipps/NP-Engine
0cac8b2d5e76c839b96f2061bf57434bdc37915e
[ "MIT" ]
null
null
null
include/NP-Engine/Core/Core.hpp
naphipps/NP-Engine
0cac8b2d5e76c839b96f2061bf57434bdc37915e
[ "MIT" ]
null
null
null
// // Core.hpp // Project Space // // Created by Nathan Phipps on 5/16/20. // Copyright © 2020 Nathan Phipps. All rights reserved. // #ifndef NP_ENGINE_CORE_HPP #define NP_ENGINE_CORE_HPP #include "NP-Engine/Foundation/Foundation.hpp" #include "Image.hpp" #include "DrawableImage.hpp" #include "DmsImage.hpp" #incl...
19.95
56
0.734336
naphipps
91a52b7b8e625721a2fc05754a0f8acc6f9d4f9f
1,044
cpp
C++
cloudburst-cpp/src/scheduler/list_handler.cpp
FX196/cloudburst
38e6cbedf8868a9aee9ac64dcf274eb596f55026
[ "Apache-2.0" ]
null
null
null
cloudburst-cpp/src/scheduler/list_handler.cpp
FX196/cloudburst
38e6cbedf8868a9aee9ac64dcf274eb596f55026
[ "Apache-2.0" ]
null
null
null
cloudburst-cpp/src/scheduler/list_handler.cpp
FX196/cloudburst
38e6cbedf8868a9aee9ac64dcf274eb596f55026
[ "Apache-2.0" ]
null
null
null
// Copyright 2019 U.C. Berkeley RISE Lab // // 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...
41.76
102
0.727969
FX196
91a969a6f3a0a89e59966f961a0dcb523d8ce35e
2,658
cpp
C++
amara/amara_sceneManager.cpp
BigBossErndog/Amara-RPG
0a95a35fcddd69775a7ca7b34f3f23be9eb77178
[ "MIT" ]
null
null
null
amara/amara_sceneManager.cpp
BigBossErndog/Amara-RPG
0a95a35fcddd69775a7ca7b34f3f23be9eb77178
[ "MIT" ]
null
null
null
amara/amara_sceneManager.cpp
BigBossErndog/Amara-RPG
0a95a35fcddd69775a7ca7b34f3f23be9eb77178
[ "MIT" ]
null
null
null
#pragma once #ifndef AMARA_SCENEMANAGER #define AMARA_SCENEMANAGER #include "amara.h" namespace Amara { class Game; class SceneManager { public: Amara::Game* game = nullptr; Amara::GameProperties* properties = nullptr; std::unordered_map<std::string, Amara::Scene*> sceneMap; std::vector<Amara::Scene*...
23.945946
93
0.616253
BigBossErndog
91aa176228b0886d8d4a818857369a967f249475
190,013
hpp
C++
include/mpicxx/info/info.hpp
arkantos493/MPICXX
ffbaeaaa3c7248e2087c3716ec71e0612aafe689
[ "MIT" ]
1
2020-10-20T06:53:05.000Z
2020-10-20T06:53:05.000Z
include/mpicxx/info/info.hpp
arkantos493/MPICXX
ffbaeaaa3c7248e2087c3716ec71e0612aafe689
[ "MIT" ]
null
null
null
include/mpicxx/info/info.hpp
arkantos493/MPICXX
ffbaeaaa3c7248e2087c3716ec71e0612aafe689
[ "MIT" ]
1
2020-08-13T17:46:40.000Z
2020-08-13T17:46:40.000Z
/** * @file * @author Marcel Breyer * @date 2020-08-04 * @copyright This file is distributed under the MIT License. * * @brief Implements a wrapper class around the [*MPI_Info*](https://www.mpi-forum.org/docs/mpi-3.1/mpi31-report/node229.htm) object. * @details The @ref mpicxx::info class interface is inspired b...
60.784709
170
0.55091
arkantos493
91abe1a040e9610a77a3eca6d5d27b6087c096aa
487
cpp
C++
proj1/Particle.cpp
weixu000/physim
edc0eb5f0bb15caa996510a60c5440776cccd1b1
[ "MIT" ]
null
null
null
proj1/Particle.cpp
weixu000/physim
edc0eb5f0bb15caa996510a60c5440776cccd1b1
[ "MIT" ]
null
null
null
proj1/Particle.cpp
weixu000/physim
edc0eb5f0bb15caa996510a60c5440776cccd1b1
[ "MIT" ]
null
null
null
#include "Particle.hpp" void Particle::Update(float dt) { using namespace glm; if (pos.y <= 0) { // Collision with y=0 pos.y = 0; if (vel.y < 0) { vel.y = -.9f * vel.y; const auto normal = max(0.f, -force.y); force += vec3(0, normal, 0); if (const auto rel_vel = vec3(vel.x, 0,...
21.173913
72
0.519507
weixu000
91ac337f4607fe60a02d0f7eeeee21d3e22f172e
3,130
cpp
C++
Chapter11/coroutines/main.cpp
pzz2011/lec
8abfd91ee4f41076454bb8669ad7d15e9fc6bb38
[ "BSL-1.0" ]
33
2017-10-29T23:05:20.000Z
2022-03-07T09:36:42.000Z
Chapter11/coroutines/main.cpp
pzz2011/lec
8abfd91ee4f41076454bb8669ad7d15e9fc6bb38
[ "BSL-1.0" ]
null
null
null
Chapter11/coroutines/main.cpp
pzz2011/lec
8abfd91ee4f41076454bb8669ad7d15e9fc6bb38
[ "BSL-1.0" ]
18
2017-09-07T18:47:49.000Z
2022-03-07T09:37:39.000Z
struct spinlock_t { bool try_lock() { static int i = 0; return i++ >= 100; } }; struct port_t { bool block_ready() { static int i = 0; return i++ >= 10; } }; #include <boost/version.hpp> // Coroutines changed interface in Boost 1.56 #if BOOST_VERSION < 105600 #include...
23.185185
70
0.590415
pzz2011
91adb7c363cefaf27b8f291b515d2b756816bc60
14,045
cpp
C++
Plugins/TobiiEyeX/Source/TobiiEyeX/Private/EyeXPlugin.cpp
Temaran/EyeXforUE4
ac37dd06fb23849a9aeb373b98090ded0cd49498
[ "Zlib" ]
9
2016-06-11T15:17:56.000Z
2021-03-20T10:50:05.000Z
Plugins/TobiiEyeX/Source/TobiiEyeX/Private/EyeXPlugin.cpp
Temaran/EyeXforUE4
ac37dd06fb23849a9aeb373b98090ded0cd49498
[ "Zlib" ]
20
2017-02-07T14:20:29.000Z
2017-03-29T05:46:31.000Z
Plugins/TobiiEyeX/Source/TobiiEyeX/Private/EyeXPlugin.cpp
dschmidl/Forschungsseminar
f809a9571b46de3eec17dc6e77e526019a30a96b
[ "Zlib" ]
2
2017-01-20T08:49:22.000Z
2021-11-15T02:28:10.000Z
// Copyright 2014 Tobii Technology AB. All Rights Reserved. #include "EyeXPluginPrivatePCH.h" #include "EyeXPlugin.h" #include "EyeXStateAccessor.h" #include "EyeXUtils.h" IMPLEMENT_MODULE(FEyeXPlugin, TobiiEyeX) /* * Macros for uniform access to all state accessors. */ #define ALL_STATE_ACCESSORS IEyeXStateAcces...
27.647638
171
0.767462
Temaran
91af7e70b24afa8659f845de53cddb23b53d18b8
5,883
hpp
C++
mat.hpp
riskybacon/mnist_arma_blas
ba1ee24ee738d55f187458690747214156756f16
[ "MIT" ]
null
null
null
mat.hpp
riskybacon/mnist_arma_blas
ba1ee24ee738d55f187458690747214156756f16
[ "MIT" ]
null
null
null
mat.hpp
riskybacon/mnist_arma_blas
ba1ee24ee738d55f187458690747214156756f16
[ "MIT" ]
null
null
null
#ifndef MAT_HPP_ #define MAT_HPP_ #include <fstream> #include <random> template<typename Mat> Mat zeros(size_t n_rows, size_t n_cols); template<typename Mat> Mat ones(size_t n_rows, size_t n_cols); template<typename Mat> Mat randu(size_t n_rows, size_t n_cols); template<typename T> struct mat { using elem_t = T;...
24.209877
79
0.568587
riskybacon
91b135242acd7c8d6571f00dac361cb7e5d0e1f4
76
cpp
C++
exercises/practice/gigasecond/gigasecond.cpp
lotharschulz/cpp
26352eb5dccf8553228add904ae6aca227e3b07f
[ "MIT" ]
1
2021-02-04T08:13:24.000Z
2021-02-04T08:13:24.000Z
exercises/practice/gigasecond/gigasecond.cpp
lotharschulz/cpp
26352eb5dccf8553228add904ae6aca227e3b07f
[ "MIT" ]
4
2019-09-08T15:56:22.000Z
2021-12-03T00:53:01.000Z
exercises/practice/gigasecond/gigasecond.cpp
lotharschulz/cpp
26352eb5dccf8553228add904ae6aca227e3b07f
[ "MIT" ]
null
null
null
#include "gigasecond.h" namespace gigasecond { } // namespace gigasecond
12.666667
26
0.736842
lotharschulz
91b16d6dbb6acf77c8ceeed4f6a4d1a6b41352e5
236
cc
C++
src/ui/QGCPluginHost.cc
uavosky/uavosky-qgroundcontrol
9a49a206e4fe2d3291c212ae8dadd4d5aa0e3197
[ "Apache-2.0" ]
2,133
2015-01-04T03:10:22.000Z
2022-03-31T01:51:07.000Z
src/ui/QGCPluginHost.cc
uavosky/uavosky-qgroundcontrol
9a49a206e4fe2d3291c212ae8dadd4d5aa0e3197
[ "Apache-2.0" ]
6,166
2015-01-02T18:47:42.000Z
2022-03-31T03:44:10.000Z
src/ui/QGCPluginHost.cc
uavosky/uavosky-qgroundcontrol
9a49a206e4fe2d3291c212ae8dadd4d5aa0e3197
[ "Apache-2.0" ]
2,980
2015-01-01T03:09:18.000Z
2022-03-31T04:13:55.000Z
#include "QGCPluginHost.h" #include "ui_QGCPluginHost.h" QGCPluginHost::QGCPluginHost(QWidget *parent) : QWidget(parent), ui(new Ui::QGCPluginHost) { ui->setupUi(this); } QGCPluginHost::~QGCPluginHost() { delete ui; }
15.733333
47
0.694915
uavosky
91ba282c3334c7f09ae4ffd2da8ee20e894f2be8
884
cpp
C++
LeetCode/cpp/725.cpp
ZintrulCre/LeetCode_Archiver
de23e16ead29336b5ee7aa1898a392a5d6463d27
[ "MIT" ]
279
2019-02-19T16:00:32.000Z
2022-03-23T12:16:30.000Z
LeetCode/cpp/725.cpp
ZintrulCre/LeetCode_Archiver
de23e16ead29336b5ee7aa1898a392a5d6463d27
[ "MIT" ]
2
2019-03-31T08:03:06.000Z
2021-03-07T04:54:32.000Z
LeetCode/cpp/725.cpp
ZintrulCre/LeetCode_Crawler
de23e16ead29336b5ee7aa1898a392a5d6463d27
[ "MIT" ]
12
2019-01-29T11:45:32.000Z
2019-02-04T16:31:46.000Z
class Solution { public: vector<ListNode *> splitListToParts(ListNode *root, int k) { vector<ListNode *> ret; unsigned int size = 0; ListNode *head = root; while (head) { ++size; head = head->next; } unsigned int part = k >= size ? 1 : size / k...
26
64
0.406109
ZintrulCre
91bd61a0e8c9bdd0fca280b76bd52fd7b5b4b7ee
12,155
cpp
C++
stira/steerable/freemanadelson/ComputeSteerableFilteredImages.cpp
frooms/stira
60b419f3e478397a8ab43ce9315a259567d94a26
[ "MIT" ]
8
2016-03-23T08:12:33.000Z
2022-01-25T14:07:03.000Z
stira/steerable/freemanadelson/ComputeSteerableFilteredImages.cpp
frooms/stira
60b419f3e478397a8ab43ce9315a259567d94a26
[ "MIT" ]
null
null
null
stira/steerable/freemanadelson/ComputeSteerableFilteredImages.cpp
frooms/stira
60b419f3e478397a8ab43ce9315a259567d94a26
[ "MIT" ]
8
2015-06-29T12:00:06.000Z
2019-09-03T12:40:47.000Z
/*********************************************************************************** * Copyright (C) 2008 by Filip Rooms * * * * Terms and conditions for using this software in any form are...
37.285276
181
0.557137
frooms
91c05b5bc5591f7ffce9b78ff408ae15185df246
10,098
cpp
C++
llvm/lib/Analysis/GenXSimplify/InstructionSimplifyGenX.cpp
dmitryryintel/cm-compiler
1ef7651dc1c33d3e4853f8779d6a720e45e20e19
[ "Intel", "MIT" ]
115
2018-02-01T18:56:44.000Z
2022-03-21T13:23:00.000Z
llvm/lib/Analysis/GenXSimplify/InstructionSimplifyGenX.cpp
dmitryryintel/cm-compiler
1ef7651dc1c33d3e4853f8779d6a720e45e20e19
[ "Intel", "MIT" ]
27
2018-09-17T17:49:49.000Z
2021-11-03T04:31:51.000Z
llvm/lib/Analysis/GenXSimplify/InstructionSimplifyGenX.cpp
dmitryryintel/cm-compiler
1ef7651dc1c33d3e4853f8779d6a720e45e20e19
[ "Intel", "MIT" ]
55
2018-02-01T07:11:49.000Z
2022-03-04T01:20:23.000Z
/* * Copyright (c) 2020, Intel Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, ...
40.392
81
0.631808
dmitryryintel
91d455d4e4d91c399fc49657b1323f18d9ea1ad1
1,394
hpp
C++
kernel/thor/generic/thor-internal/event.hpp
kITerE/managarm
e6d1229a0bed68cb672a9cad300345a9006d78c1
[ "MIT" ]
935
2018-05-23T14:56:18.000Z
2022-03-29T07:27:20.000Z
kernel/thor/generic/thor-internal/event.hpp
kITerE/managarm
e6d1229a0bed68cb672a9cad300345a9006d78c1
[ "MIT" ]
314
2018-05-04T15:58:06.000Z
2022-03-30T16:24:17.000Z
kernel/thor/generic/thor-internal/event.hpp
kITerE/managarm
e6d1229a0bed68cb672a9cad300345a9006d78c1
[ "MIT" ]
65
2019-04-21T14:26:51.000Z
2022-03-12T03:16:41.000Z
#pragma once #include <frg/list.hpp> #include <thor-internal/error.hpp> #include <thor-internal/work-queue.hpp> namespace thor { struct AwaitEventNode { friend struct OneshotEvent; friend struct BitsetEvent; void setup(Worklet *awaited) { _awaited = awaited; } Error error() { return _error; } uint64_t sequ...
17.64557
59
0.741033
kITerE
91d634f1cc0113bca9a9540e896588d611bc0326
3,099
cpp
C++
tests/routing_tests.cpp
dbahrdt/path_finder
1105966e5b50590acd9aca30ceb6922b0e40c259
[ "Apache-2.0" ]
1
2021-03-12T23:18:30.000Z
2021-03-12T23:18:30.000Z
tests/routing_tests.cpp
dbahrdt/path_finder
1105966e5b50590acd9aca30ceb6922b0e40c259
[ "Apache-2.0" ]
8
2020-05-27T17:25:58.000Z
2020-05-29T10:39:54.000Z
tests/routing_tests.cpp
dbahrdt/path_finder
1105966e5b50590acd9aca30ceb6922b0e40c259
[ "Apache-2.0" ]
1
2020-10-19T09:01:09.000Z
2020-10-19T09:01:09.000Z
#include <filesystem> #include <gtest/gtest.h> #include <path_finder/graphs/Graph.h> #include <path_finder/routing/CHDijkstra.h> #include <path_finder/routing/Dijkstra.h> #include <path_finder/routing/HubLabelCreator.h> #include <path_finder/routing/HybridPathFinder.h> #include <path_finder/storage/GraphReader.h> names...
43.041667
106
0.741852
dbahrdt
91d710f993ed0d0d77c325a33fef01a8b234283a
1,661
cpp
C++
src/runtime/threads/register_thread.cpp
jnvance/hpx
258bf04aae03c6864e06a0fad0f5c5848310a300
[ "BSL-1.0" ]
null
null
null
src/runtime/threads/register_thread.cpp
jnvance/hpx
258bf04aae03c6864e06a0fad0f5c5848310a300
[ "BSL-1.0" ]
null
null
null
src/runtime/threads/register_thread.cpp
jnvance/hpx
258bf04aae03c6864e06a0fad0f5c5848310a300
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2007-2016 Hartmut Kaiser // Copyright (c) 2011 Bryce Lelbach // // SPDX-License-Identifier: BSL-1.0 // 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) #include <hpx/assertion.hpp> #include <...
31.339623
80
0.654425
jnvance
91d8334220e185ce042de79b0cc7c63e88669302
6,028
hpp
C++
src/DgDiscRFS.hpp
bsthorn/dggridR
11451bbec18ec111027a3f67268e9d9a5485a634
[ "MIT" ]
null
null
null
src/DgDiscRFS.hpp
bsthorn/dggridR
11451bbec18ec111027a3f67268e9d9a5485a634
[ "MIT" ]
null
null
null
src/DgDiscRFS.hpp
bsthorn/dggridR
11451bbec18ec111027a3f67268e9d9a5485a634
[ "MIT" ]
null
null
null
/******************************************************************************* Copyright (C) 2021 Kevin Sahr This file is part of DGGRID. DGGRID is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software F...
34.445714
80
0.452887
bsthorn
91d8af414617904cccd65821bd2cfa28d92076c1
3,134
hpp
C++
examples/LPCXpresso845-Max-blinky/include/xarmlib_config.hpp
emanuelpinto/Xarmlib
a87a826a44cbde84e37473e9ed29d7e082cb4188
[ "MIT" ]
null
null
null
examples/LPCXpresso845-Max-blinky/include/xarmlib_config.hpp
emanuelpinto/Xarmlib
a87a826a44cbde84e37473e9ed29d7e082cb4188
[ "MIT" ]
null
null
null
examples/LPCXpresso845-Max-blinky/include/xarmlib_config.hpp
emanuelpinto/Xarmlib
a87a826a44cbde84e37473e9ed29d7e082cb4188
[ "MIT" ]
null
null
null
// ---------------------------------------------------------------------------- // @file xarmlib_config.hpp // @brief Xarmlib configuration file for LPCXpresso845-Max-blinky example. // @date 18 May 2018 // ---------------------------------------------------------------------------- // // Xarmlib 0.1.0 - https:...
36.022989
137
0.609126
emanuelpinto
91dc02ed60b1795b55036ee64d6844513b4f5c64
542
cpp
C++
uuid.cpp
alanzchen/CStory
6db739d591349520a14bd52a2ce6c4fdf423bf78
[ "MIT" ]
null
null
null
uuid.cpp
alanzchen/CStory
6db739d591349520a14bd52a2ce6c4fdf423bf78
[ "MIT" ]
5
2017-05-05T06:29:50.000Z
2017-05-21T07:19:49.000Z
uuid.cpp
alanzchen/CStory
6db739d591349520a14bd52a2ce6c4fdf423bf78
[ "MIT" ]
null
null
null
#include "uuid.h" #include <boost/uuid/uuid.hpp> #include <boost/uuid/uuid_generators.hpp> #include <boost/uuid/uuid_io.hpp> using namespace boost::uuids; //This is a another way to generate UUID by boost. std::string generate_uuid() { boost::uuids::random_generator gen; boost::uuids::uuid a_uui...
16.9375
51
0.636531
alanzchen
91de15261fd4c97e85851512cf0d2e0d88a99ef1
5,710
cpp
C++
framework/graphics_ext/graphics_ext/material/material_outline.cpp
YiJiangFengYun/vulkan-graphics-examples
e7b788b8f47dd238b08840c019940c7c52335a54
[ "MIT" ]
1
2018-03-01T01:05:25.000Z
2018-03-01T01:05:25.000Z
framework/graphics_ext/graphics_ext/material/material_outline.cpp
YiJiangFengYun/vulkan-graphics-examples
e7b788b8f47dd238b08840c019940c7c52335a54
[ "MIT" ]
null
null
null
framework/graphics_ext/graphics_ext/material/material_outline.cpp
YiJiangFengYun/vulkan-graphics-examples
e7b788b8f47dd238b08840c019940c7c52335a54
[ "MIT" ]
null
null
null
#include "graphics_ext/material/material_outline.hpp" namespace vge { MaterialOutline::CreateInfo::CreateInfo(vg::Color outlineColor) : outlineColor(outlineColor) { } MaterialOutline::MaterialOutline(CreateInfo info) : vg::Material() , m_outlineInfoVert() , m_outlineInf...
33.988095
92
0.596848
YiJiangFengYun
91e13d73b7bd993c3ed57c5d8b6191321e1115f6
3,902
cpp
C++
VanguardEngine/Source/Core/CrashHandler.cpp
Xenonic/VanguardEngine
3ad349dbabda38f6b6d2c25331a3b569ea702d00
[ "MIT" ]
11
2021-08-06T05:11:01.000Z
2022-03-29T00:23:24.000Z
VanguardEngine/Source/Core/CrashHandler.cpp
Xenonic/VanguardEngine
3ad349dbabda38f6b6d2c25331a3b569ea702d00
[ "MIT" ]
11
2021-06-21T19:59:23.000Z
2022-03-13T22:46:56.000Z
VanguardEngine/Source/Core/CrashHandler.cpp
Xenonic/VanguardEngine
3ad349dbabda38f6b6d2c25331a3b569ea702d00
[ "MIT" ]
null
null
null
// Copyright (c) 2019-2021 Andrew Depke #include <Core/CrashHandler.h> #include <Core/Windows/WindowsMinimal.h> #include <errhandlingapi.h> #include <csignal> #include <thread> #include <sstream> #include <fstream> void RegisterCrashHandlers() { auto singalHandler = +[](int signal) { std::wstringstream stream; ...
39.414141
128
0.747053
Xenonic
91f81a9d8725fba10ea9f29535b7a33b6966e5ae
4,414
cpp
C++
pilcrow/modules/jellyfish_renderer/GL/GLText.cpp
Masstronaut/Pilcrow
7fd975e64464c6fb065608ec461bf7c01a889821
[ "MIT" ]
1
2020-12-21T01:45:29.000Z
2020-12-21T01:45:29.000Z
pilcrow/modules/jellyfish_renderer/GL/GLText.cpp
Masstronaut/Pilcrow
7fd975e64464c6fb065608ec461bf7c01a889821
[ "MIT" ]
3
2019-07-18T07:50:48.000Z
2019-07-24T05:42:00.000Z
pilcrow/modules/jellyfish_renderer/GL/GLText.cpp
Masstronaut/Pilcrow
7fd975e64464c6fb065608ec461bf7c01a889821
[ "MIT" ]
1
2019-07-24T04:21:35.000Z
2019-07-24T04:21:35.000Z
// std #include <iostream> //cout // GL #include <glad/include/glad.h> // GLM #include "pilcrow/engine/core/ReflectedGlm.hpp" #include "Utils/ResourceSettings.hpp" // ours #include "pilcrow/modules/jellyfish_renderer/GL/GLText.h" namespace Jellyfish { std::string FontPath() { return std::string(g_ResourcePath) + ...
36.783333
80
0.59266
Masstronaut
91fca349cc057119a6bcebbe9774b861dfa07dc8
14,193
cpp
C++
FuGenLib/Filters/MeshGenerator/Junction/Quickhull/OMQuickhull.cpp
sereslorant/fu_gen
cc75d307189e7e3d560a94d32072b97deb94b6e5
[ "MIT" ]
1
2020-05-21T06:11:18.000Z
2020-05-21T06:11:18.000Z
FuGenLib/Filters/MeshGenerator/Junction/Quickhull/OMQuickhull.cpp
sereslorant/fu_gen
cc75d307189e7e3d560a94d32072b97deb94b6e5
[ "MIT" ]
null
null
null
FuGenLib/Filters/MeshGenerator/Junction/Quickhull/OMQuickhull.cpp
sereslorant/fu_gen
cc75d307189e7e3d560a94d32072b97deb94b6e5
[ "MIT" ]
null
null
null
#include "OMQuickhull.h" #include <iostream> struct VertexHandleArrayElement { //bool Valid = false; unsigned int Index; MyMesh::VertexHandle Handle; }; struct QuickhullTriangle { unsigned int V[3] = {0,0,0}; }; unsigned int QuickhullFindMaxFromLine(VertexData vertices[],const vec4 &line_point,const vec4 &lin...
26.728814
172
0.689213
sereslorant
6203e75cacbbbba8c749a047811df523cd953b72
2,795
hpp
C++
pcorr/src/cuts.hpp
mclauchlinc/analysis_twopi_clas6
620e8f032e225ba90d228563c702f5c9ac2a6f75
[ "MIT" ]
null
null
null
pcorr/src/cuts.hpp
mclauchlinc/analysis_twopi_clas6
620e8f032e225ba90d228563c702f5c9ac2a6f75
[ "MIT" ]
null
null
null
pcorr/src/cuts.hpp
mclauchlinc/analysis_twopi_clas6
620e8f032e225ba90d228563c702f5c9ac2a6f75
[ "MIT" ]
null
null
null
#ifndef CUTS_HPP #define CUTS_HPP #include "flags.hpp" #include "functions.hpp" static const float _W_cut_param_[2] = {0.7,1.1}; static const float _c1e_[2][6] = { {11.97787671,11.56496833,12.59458826,11.85731316,14.55594404,12.0814363}, {11.97787671,11.56496833,12.59458826,11.85731316,14.55594404,12.081436...
44.365079
136
0.620036
mclauchlinc
6209f762e4c29a0e5093b7da5f9493b30f573b8e
4,034
cpp
C++
lib/src/settranslation.cpp
sommerluk/perceptualcolorpickertest
8df8055e594239cf967431e70a74e87d7da1f684
[ "BSD-3-Clause", "MIT" ]
null
null
null
lib/src/settranslation.cpp
sommerluk/perceptualcolorpickertest
8df8055e594239cf967431e70a74e87d7da1f684
[ "BSD-3-Clause", "MIT" ]
null
null
null
lib/src/settranslation.cpp
sommerluk/perceptualcolorpickertest
8df8055e594239cf967431e70a74e87d7da1f684
[ "BSD-3-Clause", "MIT" ]
null
null
null
// SPDX-License-Identifier: MIT /* * Copyright (c) 2020 Lukas Sommer sommerluk@gmail.com * * 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 limi...
39.54902
82
0.726326
sommerluk
6222e4b159b356478a8f26a7186fd8d2f7e6d55c
19,218
cpp
C++
ThomasCore/src/thomas/resource/Shader.cpp
Bojzen-I-Mitten/thomas
f5ecbdf7e3e205f9a9f37392f0a58dc3159c5dd8
[ "MIT" ]
4
2017-03-21T18:09:23.000Z
2018-09-11T10:59:24.000Z
ThomasCore/src/thomas/resource/Shader.cpp
Bojzen-I-Mitten/thomas
f5ecbdf7e3e205f9a9f37392f0a58dc3159c5dd8
[ "MIT" ]
8
2017-03-21T15:54:59.000Z
2018-08-13T14:08:47.000Z
ThomasCore/src/thomas/resource/Shader.cpp
Bojzen-I-Mitten/thomas
f5ecbdf7e3e205f9a9f37392f0a58dc3159c5dd8
[ "MIT" ]
1
2017-03-21T15:14:15.000Z
2017-03-21T15:14:15.000Z
#include "Shader.h" #include <AtlBase.h> #include <atlconv.h> #include <d3dcompiler.h> #include "Shader.h" #include "ShaderProperty\shaderProperties.h" #include <fstream> namespace thomas { namespace resource { std::vector<Shader*> Shader::s_loadedShaders; Shader* Shader::s_standardShader; Shader* Shader::s_fai...
26.766017
171
0.671298
Bojzen-I-Mitten
622384751be825285085e27fb4070fb37409c300
241
cpp
C++
cplusplus/exercise31.cpp
chtld/Programming-and-Algorithm-Course
669f266fc97db9050013ffbb388517667de33433
[ "MIT" ]
2
2019-06-10T11:50:06.000Z
2019-10-14T08:00:41.000Z
cplusplus/exercise31.cpp
chtld/Programming-and-Algorithm-Course
669f266fc97db9050013ffbb388517667de33433
[ "MIT" ]
null
null
null
cplusplus/exercise31.cpp
chtld/Programming-and-Algorithm-Course
669f266fc97db9050013ffbb388517667de33433
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; class A { public: int val; A(int n = 0){val = n;} int & GetObj(){ return val; } }; main() { A a; cout << a.val << endl; a.GetObj() = 5; cout << a.val << endl; }
15.0625
27
0.481328
chtld
6225410af1e759fa93e8f8be139a2564ca1c9094
106
cpp
C++
src/CPinout.cpp
jmonesti/pinout
4142c903f47b9ff65d52eb8a400b14fc18e224c9
[ "Unlicense" ]
null
null
null
src/CPinout.cpp
jmonesti/pinout
4142c903f47b9ff65d52eb8a400b14fc18e224c9
[ "Unlicense" ]
null
null
null
src/CPinout.cpp
jmonesti/pinout
4142c903f47b9ff65d52eb8a400b14fc18e224c9
[ "Unlicense" ]
null
null
null
#include "CPinout.hpp" // Constructor and destructor CPinout::CPinout( ) { }; CPinout::~CPinout( ) { };
11.777778
29
0.650943
jmonesti
622657f50c800a447d3c88b715f5e89b3cf1d49b
552
cpp
C++
cppVersion/Integer to Roman.cpp
ChinoMars/LeetCodeSolution
604fc5e387582ecec85d0431bbddb542af2b92fa
[ "MIT" ]
2
2015-11-12T13:42:37.000Z
2016-03-13T14:22:51.000Z
cppVersion/Integer to Roman.cpp
ChinoMars/LeetCodeSolution
604fc5e387582ecec85d0431bbddb542af2b92fa
[ "MIT" ]
1
2015-11-12T13:42:31.000Z
2015-11-13T08:04:54.000Z
cppVersion/Integer to Roman.cpp
ChinoMars/LeetCodeSolution
604fc5e387582ecec85d0431bbddb542af2b92fa
[ "MIT" ]
null
null
null
class Solution { public: string intToRoman(int num) { int basenum[] = {1000,900,500,400,100,90,50,40,10,9,5,4,1}; string coestr[] = {"M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"}; string res; for(int i = 0; i < 13; ++i) { ...
26.285714
90
0.331522
ChinoMars
62275e1fd36899d99b8ce3096fc672542500753e
11,983
cpp
C++
test/test.cpp
alexcvc/gcpp
55b226e0ad1bbd391d29c21ca39a80cc25307908
[ "MIT" ]
null
null
null
test/test.cpp
alexcvc/gcpp
55b226e0ad1bbd391d29c21ca39a80cc25307908
[ "MIT" ]
null
null
null
test/test.cpp
alexcvc/gcpp
55b226e0ad1bbd391d29c21ca39a80cc25307908
[ "MIT" ]
null
null
null
/////////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2016 Herb Sutter. All rights reserved. // // This code is licensed under the MIT License (MIT). // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIMITED TO T...
25.441614
107
0.564299
alexcvc
6228dde0eff94ce9edc7955d26b7265b390cfcff
915
cpp
C++
compile_test.cpp
zaneferrier/unit
3ff37b68d4181dce66096342e352d550ae514d2e
[ "MIT" ]
null
null
null
compile_test.cpp
zaneferrier/unit
3ff37b68d4181dce66096342e352d550ae514d2e
[ "MIT" ]
null
null
null
compile_test.cpp
zaneferrier/unit
3ff37b68d4181dce66096342e352d550ae514d2e
[ "MIT" ]
null
null
null
#include "generated/frequency_unit.hpp" #include "generated/time_unit.hpp" using namespace units; struct test_units { public: test_units(frequency_khz f1, time_ms t1) : f(f1), t(t1) { } frequency_khz freq() const { return f; } time_ms time() const ...
17.596154
45
0.492896
zaneferrier
622ec977ffc001a0d1b186136c1f7e0f388a524c
12,416
cpp
C++
save.cpp
S-H-GAMELINKS/Tear.of.Lapislazuli
7c18e2332d0c98c492147ddd59439f3993682106
[ "MIT" ]
1
2017-12-03T05:03:01.000Z
2017-12-03T05:03:01.000Z
save.cpp
S-H-GAMELINKS/Tear.of.Lapislazuli
7c18e2332d0c98c492147ddd59439f3993682106
[ "MIT" ]
null
null
null
save.cpp
S-H-GAMELINKS/Tear.of.Lapislazuli
7c18e2332d0c98c492147ddd59439f3993682106
[ "MIT" ]
null
null
null
/*============================================================================= Copyright (c) 2017 S.H.(GAMELINKS) https://github.com/S-H-GAMELINKS/Tear.of.Lapislazuli This software is released under the MIT License, see LICENSE. =============================================================================*/ #de...
22.950092
171
0.658586
S-H-GAMELINKS
623179325f568f25da221481d1f75a77148d701e
1,411
cpp
C++
src/impl/oclint/rule/IfStatementWithNegatedConditionRule.cpp
oclint/oclint-04
86d8a8f0d308ff312f0f16c1020087949436b1f1
[ "BSD-3-Clause" ]
null
null
null
src/impl/oclint/rule/IfStatementWithNegatedConditionRule.cpp
oclint/oclint-04
86d8a8f0d308ff312f0f16c1020087949436b1f1
[ "BSD-3-Clause" ]
null
null
null
src/impl/oclint/rule/IfStatementWithNegatedConditionRule.cpp
oclint/oclint-04
86d8a8f0d308ff312f0f16c1020087949436b1f1
[ "BSD-3-Clause" ]
2
2015-05-13T02:23:00.000Z
2020-09-14T15:25:10.000Z
#include "oclint/rule/IfStatementWithNegatedConditionRule.h" #include "oclint/RuleSet.h" #include "oclint/ViolationSet.h" #include "oclint/Violation.h" #include "oclint/helper/CursorHelper.h" #include <clang/AST/Stmt.h> #include <clang/AST/Expr.h> using namespace clang; RuleSet IfStatementWithNegatedConditionRule::r...
33.595238
115
0.75124
oclint
623af8154f3e17f9695a24a7ebf0c884b8fdafe8
1,282
cpp
C++
example/offset_pointer.cpp
correaa/metall
f58728a5e963a6e77b68c1853d3d1ba1fe6a58b4
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
null
null
null
example/offset_pointer.cpp
correaa/metall
f58728a5e963a6e77b68c1853d3d1ba1fe6a58b4
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
null
null
null
example/offset_pointer.cpp
correaa/metall
f58728a5e963a6e77b68c1853d3d1ba1fe6a58b4
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
null
null
null
// Copyright 2019 Lawrence Livermore National Security, LLC and other Metall Project Developers. // See the top-level COPYRIGHT file for details. // // SPDX-License-Identifier: (Apache-2.0 OR MIT) // This is an example shows how to store pointers in persistent memory using the offset pointer #include <iostream> #incl...
29.136364
114
0.681747
correaa
623bce5caa9b354b53c2626a8720c76050e58c32
1,885
cpp
C++
src/game/world/sounds/music.cpp
jdmclark/gorc
a03d6a38ab7684860c418dd3d2e77cbe6a6d9fc8
[ "Apache-2.0" ]
97
2015-02-24T05:09:24.000Z
2022-01-23T12:08:22.000Z
src/game/world/sounds/music.cpp
annnoo/gorc
1889b4de6380c30af6c58a8af60ecd9c816db91d
[ "Apache-2.0" ]
8
2015-03-27T23:03:23.000Z
2020-12-21T02:34:33.000Z
src/game/world/sounds/music.cpp
annnoo/gorc
1889b4de6380c30af6c58a8af60ecd9c816db91d
[ "Apache-2.0" ]
10
2016-03-24T14:32:50.000Z
2021-11-13T02:38:53.000Z
#include "music.hpp" #include <boost/filesystem/path.hpp> #include <boost/format.hpp> void gorc::game::world::sounds::music::internal_play_song(int song) { boost::filesystem::path music_file_path = boost::filesystem::path("game/resource/music/1") / boost::str(boost::format("%1%.ogg") % (song + 1)); #if...
34.907407
96
0.651989
jdmclark
623c9b01cba4acbcd6d087530964b0b71f76eef0
5,815
cpp
C++
calibration/compass/main.cpp
kwikius/ArduIMU
e741d2896425fa398c9a7ee19b986d1f6b31418f
[ "CC0-1.0" ]
null
null
null
calibration/compass/main.cpp
kwikius/ArduIMU
e741d2896425fa398c9a7ee19b986d1f6b31418f
[ "CC0-1.0" ]
null
null
null
calibration/compass/main.cpp
kwikius/ArduIMU
e741d2896425fa398c9a7ee19b986d1f6b31418f
[ "CC0-1.0" ]
1
2021-12-22T07:01:16.000Z
2021-12-22T07:01:16.000Z
#include <vector> #include <iostream> #include <cassert> #include <fstream> //https://www.geometrictools.com/ #include <GteApprSphere3.h> #include <quan/three_d/out/vect.hpp> #include <quan/three_d/sphere.hpp> #include <quan/min.hpp> #include <quan/max.hpp> int get_sphere( std::vector<quan::three_d::vect<double...
30.129534
110
0.621152
kwikius
9a96e338dc869077b464150049487e72530acf96
332
cpp
C++
src/ui/glrenderwidgets/abstractglrender_widget.cpp
Artocher/Wbde
9b6253d0b22ba74750aff13601299d54c4b7ca9b
[ "MIT" ]
null
null
null
src/ui/glrenderwidgets/abstractglrender_widget.cpp
Artocher/Wbde
9b6253d0b22ba74750aff13601299d54c4b7ca9b
[ "MIT" ]
null
null
null
src/ui/glrenderwidgets/abstractglrender_widget.cpp
Artocher/Wbde
9b6253d0b22ba74750aff13601299d54c4b7ca9b
[ "MIT" ]
null
null
null
#include "abstractglrender_widget.h" AbstractGLRenderWidget::AbstractGLRenderWidget(){ } AbstractGLRenderWidget::~AbstractGLRenderWidget(){ makeCurrent(); doneCurrent(); } void AbstractGLRenderWidget::initializeGL(){ } void AbstractGLRenderWidget::resizeGL(int w, int h){ } void AbstractGLRenderWidget::p...
15.090909
52
0.76506
Artocher
9a9de7e00f4d4f1df6b3cb6ed96d7f84370dbd17
13,541
cxx
C++
VolumeProcessing/Examples/VolumeSlice.cxx
djelouze/ACVD
f3e31cf61f54e33c40d5a1e10cd91a7953b07c7d
[ "CECILL-B" ]
null
null
null
VolumeProcessing/Examples/VolumeSlice.cxx
djelouze/ACVD
f3e31cf61f54e33c40d5a1e10cd91a7953b07c7d
[ "CECILL-B" ]
null
null
null
VolumeProcessing/Examples/VolumeSlice.cxx
djelouze/ACVD
f3e31cf61f54e33c40d5a1e10cd91a7953b07c7d
[ "CECILL-B" ]
null
null
null
/*========================================================================= Program: VolumeSlice : generates images slices from volume data Module: vtkSurface Language: C++ Date: 2010/03 Auteur: Sebastien Valette =========================================================================*/ // .NAME VolumeS...
31.200461
118
0.671147
djelouze
9aa51a812b8a95438d84059ebbd79d95fee62224
2,582
hpp
C++
MySignal/MySignal.hpp
cogoto/MyAll
20d8b65fd8c8fdd1806b7175e8f54aee223db3a5
[ "MIT" ]
null
null
null
MySignal/MySignal.hpp
cogoto/MyAll
20d8b65fd8c8fdd1806b7175e8f54aee223db3a5
[ "MIT" ]
null
null
null
MySignal/MySignal.hpp
cogoto/MyAll
20d8b65fd8c8fdd1806b7175e8f54aee223db3a5
[ "MIT" ]
null
null
null
// ================================================ // /// /// @file MySignal.hpp /// @brief Class libraly of MySignal. /// @author cogoto /// /// @note Document style is for Doxygen. /// /// [MyAll] /// Copyright (c) 2021 cogoto /// Released under the MIT license /// https://opensource.org/licenses/mit...
24.590476
102
0.494191
cogoto
9aac5cf46332e26eb052e2e51fd927b5594c75b0
1,650
cpp
C++
src/lp2cpp/language/ArithmeticExpression.cpp
WaspWithCompilation/WASP_C
b4672295ebb7aa514d7a706ca0746ca2c6831d44
[ "Apache-2.0" ]
null
null
null
src/lp2cpp/language/ArithmeticExpression.cpp
WaspWithCompilation/WASP_C
b4672295ebb7aa514d7a706ca0746ca2c6831d44
[ "Apache-2.0" ]
null
null
null
src/lp2cpp/language/ArithmeticExpression.cpp
WaspWithCompilation/WASP_C
b4672295ebb7aa514d7a706ca0746ca2c6831d44
[ "Apache-2.0" ]
null
null
null
/* * 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. */ /* * File: ArithmeticExpression.cpp * Author: bernardo * * Created on March 7, 2017, 2:22 PM */ #include "ArithmeticExpressi...
26.612903
188
0.643636
WaspWithCompilation
9aad370b6ba49bc4f7a3bb98d2383c4261133446
4,727
cc
C++
cpp/src/ciphers/small_aes_present_sbox_midori_mc.cc
medsec/expectation-cryptanalysis-on-round-reduced-aes
52a4d5b4dd7555a1b4badafd95c5aeed92a70872
[ "Unlicense" ]
2
2019-06-04T00:52:17.000Z
2022-01-19T08:06:44.000Z
cpp/src/ciphers/small_aes_present_sbox_midori_mc.cc
medsec/expectation-cryptanalysis-on-round-reduced-aes
52a4d5b4dd7555a1b4badafd95c5aeed92a70872
[ "Unlicense" ]
null
null
null
cpp/src/ciphers/small_aes_present_sbox_midori_mc.cc
medsec/expectation-cryptanalysis-on-round-reduced-aes
52a4d5b4dd7555a1b4badafd95c5aeed92a70872
[ "Unlicense" ]
2
2019-06-03T08:12:29.000Z
2019-06-03T12:53:26.000Z
/** * Implementation of Small-AES with nibbles and the PRESENT S-box * Do NOT use for any production purpose. No guarantees are given for anything. * * __author__ = anonymized * __date__ = 2019-05 * __copyright__ = Creative Commons CC0 */ // --------------------------------------------------------------------...
30.496774
83
0.522953
medsec
9aaec916b5e6e5c6f6b3a4b4e2421d7f8478bb30
1,497
cpp
C++
debugger/src/cpu_sysc_plugin/riverlib/core/stacktrbuf.cpp
hossameldin1995/riscv_vhdl
aab7196a6b9962626ed7314b7c86b93760e76f83
[ "Apache-2.0" ]
432
2015-11-08T20:32:45.000Z
2022-03-30T07:53:01.000Z
debugger/src/cpu_sysc_plugin/riverlib/core/stacktrbuf.cpp
hossameldin1995/riscv_vhdl
aab7196a6b9962626ed7314b7c86b93760e76f83
[ "Apache-2.0" ]
37
2016-02-23T13:13:34.000Z
2021-09-27T14:06:50.000Z
debugger/src/cpu_sysc_plugin/riverlib/core/stacktrbuf.cpp
hossameldin1995/riscv_vhdl
aab7196a6b9962626ed7314b7c86b93760e76f83
[ "Apache-2.0" ]
99
2015-12-07T05:17:18.000Z
2022-02-17T11:17:14.000Z
/* * Copyright 2019 Sergey Khabarov, sergeykhbr@gmail.com * * 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...
25.810345
80
0.680695
hossameldin1995
9ac1ea4883508ddc681f87817fea9f9648c0dfa0
316
cpp
C++
Practices/Practice 06/task11.5.cpp
terziev-viktor/FMI-UP-2019-2020
1974eec4677257229dcb5f9327aed5dfb38d1f8c
[ "MIT" ]
4
2019-11-06T12:03:06.000Z
2020-02-24T18:33:11.000Z
Practices/Practice 06/task11.5.cpp
terziev-viktor/FMI-UP-2019-2020
1974eec4677257229dcb5f9327aed5dfb38d1f8c
[ "MIT" ]
2
2019-10-09T11:18:56.000Z
2019-10-20T12:45:59.000Z
Practices/Practice 06/task11.5.cpp
terziev-viktor/FMI-UP-2019-2020
1974eec4677257229dcb5f9327aed5dfb38d1f8c
[ "MIT" ]
3
2019-11-27T17:13:59.000Z
2020-02-24T18:33:15.000Z
#include <iostream> unsigned long long factorial(unsigned short n) { unsigned long long fact = 1; for(int i = 1; i <= n; ++i) { fact *= i; } return fact; } int main() { unsigned short n; std::cout << "Enter number: "; std::cin >> n; std::cout << n << "! = " << factorial(n) << std::endl; return 0; }
15.047619
55
0.566456
terziev-viktor
9ac6933a8232ed4ae23891ef338775d27d87ffdc
60,095
cpp
C++
Haru/hpdf/hpdf_page.cpp
miyako/4d-plugin-haru
749599d7ec9f21a2071ebef3859eb3fce8c59754
[ "MIT" ]
null
null
null
Haru/hpdf/hpdf_page.cpp
miyako/4d-plugin-haru
749599d7ec9f21a2071ebef3859eb3fce8c59754
[ "MIT" ]
1
2020-02-13T03:34:38.000Z
2020-06-01T21:08:11.000Z
Haru/hpdf/hpdf_page.cpp
miyako/4d-plugin-haru
749599d7ec9f21a2071ebef3859eb3fce8c59754
[ "MIT" ]
2
2016-06-07T08:28:17.000Z
2016-08-03T10:53:05.000Z
#include "hpdf_page.h" // ------------------------------------- Page ------------------------------------- #pragma mark - #pragma mark annotation #pragma mark - void PDF_Page_CreateTextAnnot(sLONG_PTR *pResult, PackagePtr pParams) { C_TEXT Param1; C_REAL Param2; C_REAL Param3; C_REAL Param4; C_REAL Param5; C_T...
24.37931
97
0.767818
miyako
9ac76c887d7350615cd520e25be67e719e5f623e
6,857
cpp
C++
obj_dir/DecoupledStreamModule.cpp
dbear496/Open-Source-Parameterized-Low-Latency-Aggressive-Hardware-Compressors-and-Decompressors
f1bd0b1ed8a827c43f66093e9ed9ff86c1020a57
[ "MIT" ]
null
null
null
obj_dir/DecoupledStreamModule.cpp
dbear496/Open-Source-Parameterized-Low-Latency-Aggressive-Hardware-Compressors-and-Decompressors
f1bd0b1ed8a827c43f66093e9ed9ff86c1020a57
[ "MIT" ]
null
null
null
obj_dir/DecoupledStreamModule.cpp
dbear496/Open-Source-Parameterized-Low-Latency-Aggressive-Hardware-Compressors-and-Decompressors
f1bd0b1ed8a827c43f66093e9ed9ff86c1020a57
[ "MIT" ]
null
null
null
#include "verilated.h" #include <stdio.h> // <editor-fold> ugly pre-processor macros #define _STR(s) #s #define STR(s) _STR(s) #define _CAT(s,t) s##t #define CAT(s,t) _CAT(s,t) #define REPEAT(n,x) do{_CAT(REPEAT,n)(x)}while(0) #define REPEAT0(x) #define REPEAT1(x) REPEAT0(x) x(0) #define REPEAT2(x) REPEAT1(x) x(1) #de...
24.315603
75
0.663847
dbear496
9ac87f55fa83ea3e12a5d07064b20f60f7d5d438
1,968
cpp
C++
source/shape/ShapeTensorConvert.cpp
loveltyoic/MNN
ff405a307819a7228e0d1fc02c00c68021745b0a
[ "Apache-2.0" ]
1
2021-02-03T07:50:59.000Z
2021-02-03T07:50:59.000Z
source/shape/ShapeTensorConvert.cpp
sunnythree/MNN
166fe68cd1ba05d02b018537bf6af03374431690
[ "Apache-2.0" ]
null
null
null
source/shape/ShapeTensorConvert.cpp
sunnythree/MNN
166fe68cd1ba05d02b018537bf6af03374431690
[ "Apache-2.0" ]
1
2021-08-23T03:40:09.000Z
2021-08-23T03:40:09.000Z
// // ShapeTensorConvert.cpp // MNN // // Created by MNN on 2019/01/10. // Copyright © 2018, Alibaba Group Holding Limited // #include "Macro.h" #include "SizeComputer.hpp" #include "TensorUtils.hpp" namespace MNN { class TensorConvertSizeComputer : public SizeComputer { public: virtual bool onComputeSize(con...
37.132075
96
0.517276
loveltyoic
9ac954b45b8c2605a91700f8d7c58a6535d5ac76
1,940
cpp
C++
Chapter08/backgroundSubtraction.cpp
damiles/Building-Computer-Vision-Projects-with-OpenCV4-and-CPlusPlus
f5aaab9dc17fb6dd62108acb3d52aec81a3fd275
[ "MIT" ]
319
2018-10-06T06:46:25.000Z
2022-03-25T08:30:10.000Z
Chapter08/backgroundSubtraction.cpp
damiles/Building-Computer-Vision-Projects-with-OpenCV4-and-CPlusPlus
f5aaab9dc17fb6dd62108acb3d52aec81a3fd275
[ "MIT" ]
8
2019-02-03T19:14:12.000Z
2020-08-14T07:58:21.000Z
Chapter08/backgroundSubtraction.cpp
damiles/Building-Computer-Vision-Projects-with-OpenCV4-and-CPlusPlus
f5aaab9dc17fb6dd62108acb3d52aec81a3fd275
[ "MIT" ]
183
2018-10-13T14:29:07.000Z
2022-03-25T08:30:15.000Z
// BACKGROUND SUBTRACTION #include <opencv2/core/core.hpp> #include <opencv2/highgui/highgui.hpp> #include <opencv2/video/background_segm.hpp> #include <opencv2/imgproc/imgproc.hpp> #include <iostream> #include <sstream> #include <memory> using namespace cv; using namespace std; int main(int argc, char* argv[]) { ...
24.871795
79
0.604639
damiles
9ac9faeea65a2480c6f440a4a37952c30d2de6ce
116
cpp
C++
test/main.cpp
KUDB/MSDB
19e89d1d9c09c57b242737f0634ac30b4c8ecfd7
[ "MIT" ]
2
2021-08-31T12:43:16.000Z
2021-12-13T13:49:19.000Z
test/main.cpp
KUDB/MSDB
19e89d1d9c09c57b242737f0634ac30b4c8ecfd7
[ "MIT" ]
3
2021-09-09T17:23:31.000Z
2021-09-09T19:14:50.000Z
test/main.cpp
KUDB/MSDB
19e89d1d9c09c57b242737f0634ac30b4c8ecfd7
[ "MIT" ]
null
null
null
#include <pch_test.h> int main(int ac, char* av[]) { testing::InitGoogleTest(&ac, av); return RUN_ALL_TESTS(); }
14.5
34
0.672414
KUDB
9aceae300e75f9ad0bc7eff4d9da78ee8efe8005
1,682
cpp
C++
Super Smash TV/Super Smash TV/Source/Enemy_Red.cpp
YunqianAo/Filosaurios
23f191c48629a5b6ee7b4d3e69a541dd0e1bb381
[ "MIT" ]
2
2021-03-07T10:32:01.000Z
2021-03-07T10:32:04.000Z
Super Smash TV/Super Smash TV/Source/Enemy_Red.cpp
YunqianAo/Filosaurios
23f191c48629a5b6ee7b4d3e69a541dd0e1bb381
[ "MIT" ]
null
null
null
Super Smash TV/Super Smash TV/Source/Enemy_Red.cpp
YunqianAo/Filosaurios
23f191c48629a5b6ee7b4d3e69a541dd0e1bb381
[ "MIT" ]
8
2021-02-23T18:06:22.000Z
2021-02-24T19:12:48.000Z
#include "Enemy_Red.h" #include"ModuleTextures.h" #include "Application.h" #include "ModuleCollisions.h" #include "ModulePlayer.h" #include "ModuleEnemies.h" #include "SceneLevel.h" #include "SceneLevel2.h" #include "ModuleParticles.h" #include <time.h> #include <stdlib.h> Enemy_Red::Enemy_Red(int x, int y) : Enemy(x...
21.025
105
0.610583
YunqianAo
9ad2e26bc33a9fafb547bddbce95fe462970d86a
322
hpp
C++
lib/libcpp/Solvers/Solvers/enums.hpp
beckerrh/simfemsrc
d857eb6f6f8627412d4f9d89a871834c756537db
[ "MIT" ]
null
null
null
lib/libcpp/Solvers/Solvers/enums.hpp
beckerrh/simfemsrc
d857eb6f6f8627412d4f9d89a871834c756537db
[ "MIT" ]
1
2019-01-31T10:59:11.000Z
2019-01-31T10:59:11.000Z
lib/libcpp/Solvers/Solvers/enums.hpp
beckerrh/simfemsrc
d857eb6f6f8627412d4f9d89a871834c756537db
[ "MIT" ]
null
null
null
#ifndef __Solvers_enum_h #define __Solvers_enum_h #include <string> /*---------------------------------------------*/ namespace solverEnums { enum assemblematrixtype {Diagonal, Full}; namespace fem{ enum femtype {None, Global, P1, P2, CR1, RT0, OWN}; std::string femtypeToString(femtype f); } } #endi...
18.941176
55
0.602484
beckerrh
9ad314e67014fd536931f965f215b07fdde5e2bd
5,459
cc
C++
Farrar_orig.cc
bjbuckman/galprop_bb_
076b168f7475b3ba9fb198b6ec2df7be66b1763c
[ "MIT" ]
null
null
null
Farrar_orig.cc
bjbuckman/galprop_bb_
076b168f7475b3ba9fb198b6ec2df7be66b1763c
[ "MIT" ]
null
null
null
Farrar_orig.cc
bjbuckman/galprop_bb_
076b168f7475b3ba9fb198b6ec2df7be66b1763c
[ "MIT" ]
null
null
null
// copied from http://www.ccppastroparticle.com/projects/jf12/ // disk parameters double b_arm_1 = ...; // micro Gauss field strength in spiral arm region 1 double b_arm_2 = ...; double b_arm_3 = ...; double b_arm_4 = ...; double b_arm_5 = ...; double b_arm_6 = ...; double b_arm_7 = ...; double b_ring = ...; // field...
35.219355
140
0.630885
bjbuckman
9ad4d81c8f74eac7e9f705c9b289389be9371c12
4,597
cpp
C++
leetcode/problems/hard/2019-the-score-of-students-solving-math-expression.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
18
2020-08-27T05:27:50.000Z
2022-03-08T02:56:48.000Z
leetcode/problems/hard/2019-the-score-of-students-solving-math-expression.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
null
null
null
leetcode/problems/hard/2019-the-score-of-students-solving-math-expression.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
1
2020-10-13T05:23:58.000Z
2020-10-13T05:23:58.000Z
/* The Score of Students Solving Math Expression https://leetcode.com/problems/the-score-of-students-solving-math-expression/ You are given a string s that contains digits 0-9, addition symbols '+', and multiplication symbols '*' only, representing a valid math expression of single digit numbers (e.g., 3+5*2). This ex...
40.681416
348
0.609528
wingkwong
9adbeab95842e966986d1ee7ee6b9a240b77835d
629,208
cpp
C++
App/Il2CppOutputProject/Source/il2cppOutput/Il2CppCompilerCalculateTypeValues_41Table.cpp
bij51247/HandBroomProject
6131a77cc4a505e872f82ab63629b8068f5843ee
[ "MIT" ]
null
null
null
App/Il2CppOutputProject/Source/il2cppOutput/Il2CppCompilerCalculateTypeValues_41Table.cpp
bij51247/HandBroomProject
6131a77cc4a505e872f82ab63629b8068f5843ee
[ "MIT" ]
null
null
null
App/Il2CppOutputProject/Source/il2cppOutput/Il2CppCompilerCalculateTypeValues_41Table.cpp
bij51247/HandBroomProject
6131a77cc4a505e872f82ab63629b8068f5843ee
[ "MIT" ]
null
null
null
#include "il2cpp-config.h" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <cstring> #include <string.h> #include <stdio.h> #include <cmath> #include <limits> #include <assert.h> #include <stdint.h> #include "il2cpp-class-internals.h" #include "codegen/il2cpp-codeg...
60.136481
320
0.876516
bij51247
9adc8c5d273f1b4f8784d27b5ecbcc3b2f1192ac
2,584
cc
C++
src/dafx/limit~.cc
jpcima/pd-externals
9fe8bbaaff32200e613b5cc6ee8c3a6823eac2ea
[ "BSL-1.0" ]
12
2018-02-07T12:54:59.000Z
2022-03-24T06:04:53.000Z
src/dafx/limit~.cc
jpcima/pd-externals
9fe8bbaaff32200e613b5cc6ee8c3a6823eac2ea
[ "BSL-1.0" ]
null
null
null
src/dafx/limit~.cc
jpcima/pd-externals
9fe8bbaaff32200e613b5cc6ee8c3a6823eac2ea
[ "BSL-1.0" ]
null
null
null
/* limit~ - Limiter * * Copyright (C) 2018 Jean-Pierre Cimalando. */ #include "util/pd++.h" #include <jsl/dynarray> #include <jsl/math> #include <jsl/types> struct t_limit : pd_basic_object<t_limit> { t_float x_signalin = 0; t_float x_lt = 1; t_float x_xpeak = 0; t_float x_g = 1; uint x_delayid...
22.469565
66
0.561533
jpcima
9add533f0cd7fa9294d39883ccf7a65d3c28726c
773
cpp
C++
codeforce6/1079A. Kitchen Utensils.cpp
khaled-farouk/My_problem_solving_solutions
46ed6481fc9b424d0714bc717cd0ba050a6638ef
[ "MIT" ]
null
null
null
codeforce6/1079A. Kitchen Utensils.cpp
khaled-farouk/My_problem_solving_solutions
46ed6481fc9b424d0714bc717cd0ba050a6638ef
[ "MIT" ]
null
null
null
codeforce6/1079A. Kitchen Utensils.cpp
khaled-farouk/My_problem_solving_solutions
46ed6481fc9b424d0714bc717cd0ba050a6638ef
[ "MIT" ]
null
null
null
/* Idea: - Search for the minimum number of dishes where the needed utensils greater than the current ones. */ #include <bits/stdc++.h> using namespace std; int const N = 1e2 + 1; int n, k, fr[N], fr1[N]; int main() { scanf("%d %d", &n, &k); for(int i = 0, tmp; i < n; ++i) { scanf("%d", &tmp); ...
17.177778
62
0.445019
khaled-farouk
9add94851de4e41e5d681ce5cc7c06f644a1ef03
18,837
inl
C++
mst/mx_math_vector_simd.inl
MartijnTerpstra/mst
c2cc5daa787b668ddb6b0740cda96277c98a777c
[ "MIT" ]
1
2021-01-27T06:34:01.000Z
2021-01-27T06:34:01.000Z
mst/mx_math_vector_simd.inl
MartijnTerpstra/mst
c2cc5daa787b668ddb6b0740cda96277c98a777c
[ "MIT" ]
46
2020-11-05T23:41:37.000Z
2021-11-12T12:22:11.000Z
mst/mx_math_vector_simd.inl
MartijnTerpstra/mst
c2cc5daa787b668ddb6b0740cda96277c98a777c
[ "MIT" ]
null
null
null
////////////////////////////////////////////////////////////////////////////////////////////// // // // MST Utility Library // // Copyright (c)2021 Martinus ...
27.3
94
0.670117
MartijnTerpstra
9ade1f0120f9e48977ca05495212fd095872c3ff
513
cpp
C++
src/otus_course_project_lib/src/states/handle_state.cpp
winmord/otus_course_project
8fc2c71b0aa33173c92e31469630fdfe676b77d6
[ "MIT" ]
null
null
null
src/otus_course_project_lib/src/states/handle_state.cpp
winmord/otus_course_project
8fc2c71b0aa33173c92e31469630fdfe676b77d6
[ "MIT" ]
null
null
null
src/otus_course_project_lib/src/states/handle_state.cpp
winmord/otus_course_project
8fc2c71b0aa33173c92e31469630fdfe676b77d6
[ "MIT" ]
null
null
null
#include "otus_course_project_lib/states/handle_state.hpp" namespace packet_analyzer { handle_state::handle_state(std::shared_ptr<spsc_packet_queue> packet_queue, std::shared_ptr<i_handler> handler) : packet_queue_(std::move(packet_queue)), handler_(std::move(handler)) { } void handl...
24.428571
76
0.709552
winmord
9adefdfcc430791b6d9221950190d714bcb7aad3
779
cpp
C++
src/encoder.cpp
cdglove/cgvc
701c55cabe63546f79a1dcf2e34c4a13ef6dab2b
[ "BSL-1.0" ]
null
null
null
src/encoder.cpp
cdglove/cgvc
701c55cabe63546f79a1dcf2e34c4a13ef6dab2b
[ "BSL-1.0" ]
null
null
null
src/encoder.cpp
cdglove/cgvc
701c55cabe63546f79a1dcf2e34c4a13ef6dab2b
[ "BSL-1.0" ]
null
null
null
/****************************************************************************** * src/encoder.cpp * * Copyright (c) Chris Glover, 2019 * * 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) * **********************...
23.606061
80
0.596919
cdglove
9adf7378df795cb2b483feca07767502e9441639
21,544
cpp
C++
brush.cpp
soundsilence/Brush
ba358c3d7bef4bbb961bc5703bcc8363fcab9f1d
[ "MIT" ]
2
2015-09-03T00:13:22.000Z
2015-11-08T05:16:03.000Z
brush.cpp
soundsilence/Brush
ba358c3d7bef4bbb961bc5703bcc8363fcab9f1d
[ "MIT" ]
null
null
null
brush.cpp
soundsilence/Brush
ba358c3d7bef4bbb961bc5703bcc8363fcab9f1d
[ "MIT" ]
null
null
null
/** * @author Bi Sai * @version 2014/05/06 */ #include "cv.h" #include "fstream" #include "opencv2/highgui/highgui.hpp" #include "time.h" #include <iostream> #include "opencv2/imgproc/imgproc.hpp" using namespace std; using namespace cv; #define PI 3.1415926 Mat_<double> place_brush(const Mat& input_image, const...
34.360447
110
0.503156
soundsilence
9ae558fa438646044dddf5aabf00a54640173a69
7,675
cpp
C++
lib/gft/src/gft_highlight.cpp
ademirtc/bandeirantes
2dfc2ceadb555c1c40991520f450745bedf88c77
[ "MIT" ]
null
null
null
lib/gft/src/gft_highlight.cpp
ademirtc/bandeirantes
2dfc2ceadb555c1c40991520f450745bedf88c77
[ "MIT" ]
null
null
null
lib/gft/src/gft_highlight.cpp
ademirtc/bandeirantes
2dfc2ceadb555c1c40991520f450745bedf88c77
[ "MIT" ]
null
null
null
#include "gft_highlight.h" namespace gft{ namespace Highlight{ CImage::CImage *CWide(CImage::CImage *cimg, Image32::Image32 *label, float radius, int color, bool fill){ CImage::CImage *hcimg; int p,q,i; AdjRel::AdjRel *A=NULL; int u_x,u_y,v_x,v_y; hcimg = CImag...
26.284247
101
0.509055
ademirtc
9ae5c7aa8849fff8a3556c44d9715747f371425c
48,392
hpp
C++
io/nifti.hpp
bjoo/TIPL
a7603a085c7092075f2d56c6009421c76be9dcbd
[ "BSD-3-Clause" ]
12
2015-08-28T13:29:19.000Z
2021-06-17T10:07:58.000Z
io/nifti.hpp
bjoo/TIPL
a7603a085c7092075f2d56c6009421c76be9dcbd
[ "BSD-3-Clause" ]
10
2015-10-20T15:47:09.000Z
2022-01-05T15:37:16.000Z
io/nifti.hpp
bjoo/TIPL
a7603a085c7092075f2d56c6009421c76be9dcbd
[ "BSD-3-Clause" ]
9
2015-12-12T15:41:33.000Z
2021-12-03T19:54:54.000Z
#ifndef nifti_HEADER_HPP #define nifti_HEADER_HPP // Copyright Fang-Cheng Yeh 2010 // Distributed under the BSD License // /* Copyright (c) 2010, Fang-Cheng Yeh All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are...
39.927393
139
0.564763
bjoo
9ae67141f3d5488d31fb46f22ac3e286847b4f51
592
cpp
C++
tree/dfs.cpp
shino-sky/cp-lib
3c8eda6155237cc987bba0e8bf7509f366d63ba3
[ "CC0-1.0" ]
null
null
null
tree/dfs.cpp
shino-sky/cp-lib
3c8eda6155237cc987bba0e8bf7509f366d63ba3
[ "CC0-1.0" ]
null
null
null
tree/dfs.cpp
shino-sky/cp-lib
3c8eda6155237cc987bba0e8bf7509f366d63ba3
[ "CC0-1.0" ]
1
2021-07-27T05:41:28.000Z
2021-07-27T05:41:28.000Z
#pragma once #include "template.cpp" #include "graph/graph.cpp" #include "util/fix.cpp" struct DFS { VI subtree_sz, par; VLL dist; }; // tree DFS dfs(const Graph& graph, int root = 0) { int n = graph.size(); DFS res; res.subtree_sz = VI(n, 1); res.par = VI(n, -1); res.dist = VLL(n, INF_LL); res.dist[...
19.733333
50
0.552365
shino-sky
9ae6dc641e00e778a622b1bb27628a32b3df6c9a
714
cpp
C++
src/planner/populate_index_plan.cpp
rntlqvnf/peloton
23bdfa6fa3c02c7bad0182b0aa7ddd8cc99ab872
[ "Apache-2.0" ]
7
2017-03-12T01:57:48.000Z
2022-03-16T12:44:07.000Z
src/planner/populate_index_plan.cpp
rntlqvnf/peloton
23bdfa6fa3c02c7bad0182b0aa7ddd8cc99ab872
[ "Apache-2.0" ]
5
2017-04-23T17:16:14.000Z
2017-04-25T03:14:16.000Z
src/planner/populate_index_plan.cpp
rntlqvnf/peloton
23bdfa6fa3c02c7bad0182b0aa7ddd8cc99ab872
[ "Apache-2.0" ]
2
2017-03-30T00:43:50.000Z
2021-07-21T06:27:44.000Z
//===----------------------------------------------------------------------===// // // PelotonDB // // populate_index_plan.cpp // // Identification: /peloton/src/planner/populate_index_plan.cpp // // Copyright (c) 2015, Carnegie Mellon University Database Group // //===-------------------------...
27.461538
80
0.522409
rntlqvnf
9ae7e6f16ed56890ac06b4e64c43d9998ea29823
1,509
cpp
C++
vm/vm_manager.cpp
samleb/rubinius
38eec1983b9b6739d7a552081e208aa433b99483
[ "BSD-3-Clause" ]
1
2016-05-09T10:45:38.000Z
2016-05-09T10:45:38.000Z
vm/vm_manager.cpp
samleb/rubinius
38eec1983b9b6739d7a552081e208aa433b99483
[ "BSD-3-Clause" ]
null
null
null
vm/vm_manager.cpp
samleb/rubinius
38eec1983b9b6739d7a552081e208aa433b99483
[ "BSD-3-Clause" ]
null
null
null
#include "vm_manager.hpp" #include "vm.hpp" namespace rubinius { SharedState* VMManager::create_shared_state() { SharedState* shared = new SharedState(*this, share_id_++); shares_[shared->id()] = shared; return shared; } /** @see SharedState::new_vm. */ VM* VMManager::create_vm(SharedState* shared...
23.215385
62
0.54937
samleb
9af670e05b8ad55043f3ee05f935b5cd186c07ac
14,678
cpp
C++
test/homework_test/tic_tac_toe_test/tic_tac_toe_test.cpp
acc-cosc-1337-spring-2021/acc-cosc-1337-spring-2021-collinjcarrillo
1c9721c94f0d71ff512981abbffb6b903d5662f4
[ "MIT" ]
null
null
null
test/homework_test/tic_tac_toe_test/tic_tac_toe_test.cpp
acc-cosc-1337-spring-2021/acc-cosc-1337-spring-2021-collinjcarrillo
1c9721c94f0d71ff512981abbffb6b903d5662f4
[ "MIT" ]
null
null
null
test/homework_test/tic_tac_toe_test/tic_tac_toe_test.cpp
acc-cosc-1337-spring-2021/acc-cosc-1337-spring-2021-collinjcarrillo
1c9721c94f0d71ff512981abbffb6b903d5662f4
[ "MIT" ]
null
null
null
#define CATCH_CONFIG_MAIN // This tells Catch to provide a main() - only do this in one cpp file #include "catch.hpp" #include "tic_tac_toe_manager.h" #include "tic_tac_toe_3.h" #include "tic_tac_toe_4.h" #include <string> #include <memory> using namespace std; TEST_CASE("Verify Test Configuration", "verification") ...
25.705779
97
0.69703
acc-cosc-1337-spring-2021
9af97b9a0c3e99757a67179cda5604752a6348f5
10,311
cpp
C++
timer/Texture/Texture.cpp
MaticVrtacnik/ProceduralnaAnimacija
bc47ccc721d1bedb31ed5949eb740892f094897a
[ "MIT" ]
null
null
null
timer/Texture/Texture.cpp
MaticVrtacnik/ProceduralnaAnimacija
bc47ccc721d1bedb31ed5949eb740892f094897a
[ "MIT" ]
null
null
null
timer/Texture/Texture.cpp
MaticVrtacnik/ProceduralnaAnimacija
bc47ccc721d1bedb31ed5949eb740892f094897a
[ "MIT" ]
null
null
null
/* MIT License Copyright (c) 2019 MaticVrtacnik Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, ...
25.585608
108
0.716613
MaticVrtacnik
9af997422c1bddeb83fac264fcdbd7ef95a57996
99,129
cc
C++
suif/lib/useful/eval.cc
paulhjkelly/taskgraph-metaprogramming
54c4e2806a97bec555a90784ab4cf0880660bf89
[ "BSD-3-Clause" ]
5
2020-04-11T21:30:19.000Z
2021-12-04T16:16:09.000Z
suif/lib/useful/eval.cc
paulhjkelly/taskgraph-metaprogramming
54c4e2806a97bec555a90784ab4cf0880660bf89
[ "BSD-3-Clause" ]
null
null
null
suif/lib/useful/eval.cc
paulhjkelly/taskgraph-metaprogramming
54c4e2806a97bec555a90784ab4cf0880660bf89
[ "BSD-3-Clause" ]
null
null
null
/* file "eval.cc" */ /* Copyright (c) 1994,95 Stanford University All rights reserved. This software is provided under the terms described in the "suif_copyright.h" include file. */ #include <suif_copyright.h> /* * This is the implementation of the constant folding and expression * evaluation routin...
34.265123
79
0.449445
paulhjkelly
9aff2dac15cce3d636af73419406ca4412ca2951
925
cpp
C++
salaryslip.cpp
AyushVerma-code/classes
2899e42b1b9d24d02325982116bf20f158c7da5e
[ "MIT" ]
1
2021-02-12T08:06:17.000Z
2021-02-12T08:06:17.000Z
salaryslip.cpp
AyushVerma-code/classes
2899e42b1b9d24d02325982116bf20f158c7da5e
[ "MIT" ]
null
null
null
salaryslip.cpp
AyushVerma-code/classes
2899e42b1b9d24d02325982116bf20f158c7da5e
[ "MIT" ]
null
null
null
#include<iostream.h> #include<conio.h> #include<stdio.h> class worker { public: char wname[20]; double hrworked; double rate; double wage; void calcwg() { wage=hrworked*rate; } void in_data() { cout<<"\n\nEnter the name of the worker "; gets(wname); cout<<"\nEnter the hours wor...
14.453125
93
0.435676
AyushVerma-code
b1005c8889f1b4fda8fd9dc89582983146c112e2
1,902
cpp
C++
api/src/APIClient.cpp
Abeous/Rustla2
853e43ec62fa1533d15e10bf79034d153db5712b
[ "MIT" ]
43
2018-04-02T04:23:47.000Z
2022-01-21T01:31:00.000Z
api/src/APIClient.cpp
Abeous/Rustla2
853e43ec62fa1533d15e10bf79034d153db5712b
[ "MIT" ]
151
2018-03-30T03:44:20.000Z
2021-10-14T05:37:27.000Z
api/src/APIClient.cpp
Abeous/Rustla2
853e43ec62fa1533d15e10bf79034d153db5712b
[ "MIT" ]
44
2018-04-16T22:44:31.000Z
2021-09-12T00:32:51.000Z
#include "APIClient.h" #include <cxxabi.h> #include <rapidjson/error/en.h> #include <rapidjson/schema.h> #include <rapidjson/stringbuffer.h> #include <sstream> #include <string> #include "Status.h" namespace rustla2 { namespace { template <typename T> std::string GetDemangledClassName(T* ptr) { int status; cha...
29.261538
78
0.680862
Abeous
b108190892dba9c554ac4f6a439a2492637f1035
807
hpp
C++
flare/include/flare/actor_distance_constraint.hpp
taehyub/flare_cpp
7731bc0bcf2ce721f103586a48f74aa5c12504e8
[ "MIT" ]
14
2019-04-29T15:17:24.000Z
2020-12-30T12:51:05.000Z
flare/include/flare/actor_distance_constraint.hpp
taehyub/flare_cpp
7731bc0bcf2ce721f103586a48f74aa5c12504e8
[ "MIT" ]
null
null
null
flare/include/flare/actor_distance_constraint.hpp
taehyub/flare_cpp
7731bc0bcf2ce721f103586a48f74aa5c12504e8
[ "MIT" ]
6
2019-04-29T15:17:25.000Z
2021-11-16T03:20:59.000Z
#ifndef _FLARE_ACTORDISTANCECONSTRAINT_HPP_ #define _FLARE_ACTORDISTANCECONSTRAINT_HPP_ #include "actor_targeted_constraint.hpp" namespace flare { class ActorDistanceConstraint : public ActorTargetedConstraint { typedef ActorTargetedConstraint Base; private: enum class Mode { Closer = 0, Further = 1, ...
25.21875
86
0.745973
taehyub
6244ea84ae15710dd102bd56830a2c9adce3c41d
61,789
cpp
C++
src/init.cpp
LibreGames/monster-rpg-2
456acd1e5ba13c5544c1d9b48f245143746244f9
[ "Zlib" ]
3
2016-03-24T09:02:53.000Z
2018-10-24T00:42:40.000Z
src/init.cpp
LibreGames/monster-rpg-2
456acd1e5ba13c5544c1d9b48f245143746244f9
[ "Zlib" ]
1
2019-06-22T19:39:34.000Z
2019-06-22T19:39:34.000Z
src/init.cpp
LibreGames/monster-rpg-2
456acd1e5ba13c5544c1d9b48f245143746244f9
[ "Zlib" ]
3
2019-04-11T07:10:49.000Z
2020-09-09T08:19:30.000Z
#if defined __APPLE__ #import <Foundation/Foundation.h> #endif #include "monster2.hpp" #ifdef ALLEGRO_IPHONE #import <UIKit/UIKit.h> #endif #ifdef ALLEGRO_IPHONE extern "C" { #include <allegro5/allegro_iphone_objc.h> } #endif #ifdef ALLEGRO_ANDROID #include "java.h" #endif #ifdef ALLEGRO_RASPBERRYPI #include <bcm_...
24.945095
115
0.705611
LibreGames
62460ad468081d10a8c5a6dcaecc064358ce9674
119
cpp
C++
atc/abc174/a.cpp
eduardo-gomes/cefet-public
559b55194c425b3df83e85c78ed7ede424b9537d
[ "Unlicense" ]
null
null
null
atc/abc174/a.cpp
eduardo-gomes/cefet-public
559b55194c425b3df83e85c78ed7ede424b9537d
[ "Unlicense" ]
7
2019-11-12T00:58:09.000Z
2019-11-19T19:34:49.000Z
atc/abc174/a.cpp
eduardo-gomes/cefet-public
559b55194c425b3df83e85c78ed7ede424b9537d
[ "Unlicense" ]
null
null
null
#include <bits/stdc++.h> int main(){ int x; scanf("%d", &x); printf("%s\n", (x >= 30 ? "Yes" : "No")); return 0; }
14.875
42
0.478992
eduardo-gomes
6249e256c231970bce05639a8bf81c738b5cf6a3
381
cpp
C++
Source/Clem/Rendering/Console/Cursor.cpp
ShenMian/Clementine
a4d733e5f89141a7f00a043c73f0819eb3e277a8
[ "Apache-2.0" ]
46
2020-08-27T14:30:50.000Z
2021-12-10T05:45:07.000Z
Source/Clem/Rendering/Console/Cursor.cpp
ShenMian/Clementine
a4d733e5f89141a7f00a043c73f0819eb3e277a8
[ "Apache-2.0" ]
2
2021-10-08T01:04:56.000Z
2021-12-10T08:20:08.000Z
Source/Clem/Rendering/Console/Cursor.cpp
ShenMian/Clementine
a4d733e5f89141a7f00a043c73f0819eb3e277a8
[ "Apache-2.0" ]
6
2020-09-05T08:41:13.000Z
2022-03-26T02:31:26.000Z
// Copyright 2021 SMS // License(Apache-2.0) #include "Cursor.h" #include <stdio.h> namespace clem { void Cursor::move(const Point2i& p) { move(p.x, p.y); } void Cursor::move(short x, short y) { printf("\x1b[%d;%dH", y + 1, x + 1); } void Cursor::setVisible(bool v) { if(v) printf("\x1b[?25h");...
13.607143
40
0.569554
ShenMian
624c3cea50bed5252507319dc07654d106da711d
1,608
cpp
C++
tests/test_ap_ssid/test_ap_ssid.cpp
ruuvi/esp32-wifi-manager
936ffcb3eb4c8757ec0ae6113c3686fffd8ed138
[ "MIT" ]
4
2020-05-06T14:18:45.000Z
2022-02-16T03:23:50.000Z
tests/test_ap_ssid/test_ap_ssid.cpp
ruuvi/esp32-wifi-manager
936ffcb3eb4c8757ec0ae6113c3686fffd8ed138
[ "MIT" ]
70
2020-06-29T20:29:24.000Z
2022-03-23T18:43:11.000Z
tests/test_ap_ssid/test_ap_ssid.cpp
ruuvi/esp32-wifi-manager
936ffcb3eb4c8757ec0ae6113c3686fffd8ed138
[ "MIT" ]
5
2020-06-24T07:53:10.000Z
2022-02-16T03:30:21.000Z
/** * @file test_ap_ssid.cpp * @author TheSomeMan * @date 2020-08-27 * @copyright Ruuvi Innovations Ltd, license BSD-3-Clause. */ #include "gtest/gtest.h" #include <string> #include "ap_ssid.h" #include "wifi_manager_defs.h" using namespace std; /*** Google-test class implementation ****************************...
19.851852
120
0.513682
ruuvi
6255129b0e17ecd932235b158179d4ea940accc3
1,706
cc
C++
inet/src/inet/common/NetworkNamespaceContext.cc
ntanetani/quisp
003f85746266d2eb62c66883e5b965b654672c70
[ "BSD-3-Clause" ]
null
null
null
inet/src/inet/common/NetworkNamespaceContext.cc
ntanetani/quisp
003f85746266d2eb62c66883e5b965b654672c70
[ "BSD-3-Clause" ]
null
null
null
inet/src/inet/common/NetworkNamespaceContext.cc
ntanetani/quisp
003f85746266d2eb62c66883e5b965b654672c70
[ "BSD-3-Clause" ]
1
2021-07-02T13:32:40.000Z
2021-07-02T13:32:40.000Z
// // Copyright (C) OpenSim Ltd. // // 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 // of the License, or (at your option) any later version. // // This program is distribute...
29.413793
78
0.679953
ntanetani
62586c48c9c0ce218f4f86633c0b6db21dbe8f29
356
cpp
C++
AtCoder/ABC061B_Counting_Roads.cpp
tyokinuhata/procon
d0a8439f961c7b28b74201c65cc3c603011a94dc
[ "MIT" ]
1
2019-04-18T02:25:05.000Z
2019-04-18T02:25:05.000Z
AtCoder/ABC061B_Counting_Roads.cpp
tyokinuhata/procon
d0a8439f961c7b28b74201c65cc3c603011a94dc
[ "MIT" ]
1
2018-06-27T08:00:07.000Z
2018-06-27T08:00:07.000Z
AtCoder/ABC061B_Counting_Roads.cpp
tyokinuhata/procon
d0a8439f961c7b28b74201c65cc3c603011a94dc
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main () { int n, m; cin >> n >> m; int a[m], b[m]; for (int i = 0; i < m; i++) cin >> a[i] >> b[i]; int road[50] = {0}; for (int i = 0; i < m; i++) { road[a[i] - 1]++; road[b[i] - 1]++; } for (int i = 0; i < n; i++) { ...
16.952381
52
0.373596
tyokinuhata
625eba9c39ae07bfcc0aa067f643d0d2cf12c608
1,478
h++
C++
include/ogonek/normalization/nfd.h++
libogonek/ogonek
46b7edbf6b7ff89892f5ba25494749b442e771b3
[ "CC0-1.0" ]
25
2016-10-21T12:37:23.000Z
2021-02-22T05:46:46.000Z
include/ogonek/normalization/nfd.h++
libogonek/ogonek
46b7edbf6b7ff89892f5ba25494749b442e771b3
[ "CC0-1.0" ]
null
null
null
include/ogonek/normalization/nfd.h++
libogonek/ogonek
46b7edbf6b7ff89892f5ba25494749b442e771b3
[ "CC0-1.0" ]
4
2016-09-05T10:23:18.000Z
2020-07-09T19:37:37.000Z
// Ogonek // // Written in 2012-2013 by Martinho Fernandes <martinho.fernandes@gmail.com> // // To the extent possible under law, the author(s) have dedicated all copyright and related // and neighboring rights to this software to the public domain worldwide. This software is // distributed without any warranty. // // ...
32.844444
96
0.715156
libogonek
625fa056b5f270b09f18422f2527a887355ae55c
14,835
cpp
C++
Engine/Test/Core/Molten/Math/MatrixTest.cpp
jimmiebergmann/CurseEngine
74a0502e36327f893c8e4f3e7cbe5b9d38fbe194
[ "MIT" ]
2
2019-11-11T21:17:14.000Z
2019-11-11T22:07:26.000Z
Engine/Test/Core/Molten/Math/MatrixTest.cpp
jimmiebergmann/CurseEngine
74a0502e36327f893c8e4f3e7cbe5b9d38fbe194
[ "MIT" ]
null
null
null
Engine/Test/Core/Molten/Math/MatrixTest.cpp
jimmiebergmann/CurseEngine
74a0502e36327f893c8e4f3e7cbe5b9d38fbe194
[ "MIT" ]
1
2020-04-05T03:50:57.000Z
2020-04-05T03:50:57.000Z
/* * MIT License * * Copyright (c) 2021 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...
39.14248
98
0.52302
jimmiebergmann
62612e5579f8f9c7cc1ebc7ae30eaaadadab9c98
3,356
hpp
C++
cpp/oneapi/dal/algo/jaccard/backend/cpu/vertex_similarity_default_kernel.hpp
homksei/oneDAL
70a11c7d0c8b297691716da6142df9b3aeb2650e
[ "Apache-2.0" ]
1
2021-02-05T15:41:08.000Z
2021-02-05T15:41:08.000Z
cpp/oneapi/dal/algo/jaccard/backend/cpu/vertex_similarity_default_kernel.hpp
homksei/oneDAL
70a11c7d0c8b297691716da6142df9b3aeb2650e
[ "Apache-2.0" ]
null
null
null
cpp/oneapi/dal/algo/jaccard/backend/cpu/vertex_similarity_default_kernel.hpp
homksei/oneDAL
70a11c7d0c8b297691716da6142df9b3aeb2650e
[ "Apache-2.0" ]
null
null
null
/******************************************************************************* * Copyright 2020 Intel Corporation * * 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.o...
42.481013
93
0.704708
homksei
626189f5268004367150ce910499f18b3a05f0b9
2,621
cpp
C++
src/DMBridgeComponent/TpmBridge.cpp
ms-iot/device-management-bridge
8568b70ab8b3c4371748d5397b4d6712e2547f10
[ "MIT" ]
3
2018-08-01T23:00:04.000Z
2019-05-22T08:22:30.000Z
src/DMBridgeComponent/TpmBridge.cpp
ms-iot/device-management-bridge
8568b70ab8b3c4371748d5397b4d6712e2547f10
[ "MIT" ]
null
null
null
src/DMBridgeComponent/TpmBridge.cpp
ms-iot/device-management-bridge
8568b70ab8b3c4371748d5397b4d6712e2547f10
[ "MIT" ]
3
2018-08-01T22:30:58.000Z
2020-11-14T17:52:34.000Z
/* Copyright 2018 Microsoft Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense...
31.963415
108
0.677986
ms-iot
6262be57265b57c080354bda896353217ecf07c5
7,471
cpp
C++
esp8266_app/lib/ESPAsyncWebServer/AsyncEventSource.cpp
kuzyasun/AquaSmart
1c4d26cb6e51250b1ee5dbcab2e7e2a76df8ac62
[ "MIT" ]
1
2016-09-09T16:23:14.000Z
2016-09-09T16:23:14.000Z
esp8266_app/lib/ESPAsyncWebServer/AsyncEventSource.cpp
kuzyasun/AquaSmart
1c4d26cb6e51250b1ee5dbcab2e7e2a76df8ac62
[ "MIT" ]
null
null
null
esp8266_app/lib/ESPAsyncWebServer/AsyncEventSource.cpp
kuzyasun/AquaSmart
1c4d26cb6e51250b1ee5dbcab2e7e2a76df8ac62
[ "MIT" ]
null
null
null
/* Asynchronous WebServer library for Espressif MCUs Copyright (c) 2016 Hristo Gochkov. All rights reserved. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of ...
25.940972
124
0.622005
kuzyasun