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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ee1ca5d0de54794324ae2ca93083f823b95f728e | 1,608 | hpp | C++ | src/ncp-spinel/spinel_encrypter.hpp | piotrkoziar/wpantund | a4fb3ca5c53701f1267321674093d2fdeeb7dbe5 | [
"Apache-2.0"
] | 161 | 2016-06-09T22:51:27.000Z | 2022-03-07T22:32:44.000Z | src/ncp-spinel/spinel_encrypter.hpp | Matt-Harvill/ti-wisunfantund | a7a0a85ae7d61f603a64fdb233b0b6cac27204e6 | [
"Apache-2.0"
] | 284 | 2016-06-09T23:19:03.000Z | 2022-02-15T01:22:11.000Z | src/ncp-spinel/spinel_encrypter.hpp | Matt-Harvill/ti-wisunfantund | a7a0a85ae7d61f603a64fdb233b0b6cac27204e6 | [
"Apache-2.0"
] | 119 | 2016-06-10T00:25:09.000Z | 2022-03-25T11:09:30.000Z | /**
* Allows to encrypt spinel frames sent between Application Processor (AP) and Network Co-Processor (NCP).
*/
namespace SpinelEncrypter {
/**
* Encrypts spinel frames before sending to AP/NCP.
*
* This method encrypts outbound frames in both directions, i.e. from AP to NCP and from NCP to AP.
*
* @param[in,... | 47.294118 | 123 | 0.754975 | piotrkoziar |
ee1d05f59c8073c0b9306615a6de558873e373b4 | 1,290 | cpp | C++ | Game Theory/Tower Breakers, Revisited!.cpp | StavrosChryselis/hackerrank | 42a3e393231e237a99a9e54522ce3ec954bf614f | [
"MIT"
] | null | null | null | Game Theory/Tower Breakers, Revisited!.cpp | StavrosChryselis/hackerrank | 42a3e393231e237a99a9e54522ce3ec954bf614f | [
"MIT"
] | null | null | null | Game Theory/Tower Breakers, Revisited!.cpp | StavrosChryselis/hackerrank | 42a3e393231e237a99a9e54522ce3ec954bf614f | [
"MIT"
] | null | null | null | /*
****************************************************************
****************************************************************
-> Coded by Stavros Chryselis
-> Visit my github for more solved problems over multiple sites
-> https://github.com/StavrosChryselis
-> Feel free to email me at stavrikios@gm... | 13.870968 | 64 | 0.431783 | StavrosChryselis |
ee1f0833e1fdd22d9c3b1090453ac71230614fd3 | 2,665 | cpp | C++ | Particles-Playground/System/gpubufferuploadmanager.cpp | lukaszlipski/Particles-Playground | 1082f4ab043cd4a7eed29d1116883358f93da0fb | [
"MIT"
] | 1 | 2021-03-13T04:35:08.000Z | 2021-03-13T04:35:08.000Z | Particles-Playground/System/gpubufferuploadmanager.cpp | lukaszlipski/Particles-Playground | 1082f4ab043cd4a7eed29d1116883358f93da0fb | [
"MIT"
] | null | null | null | Particles-Playground/System/gpubufferuploadmanager.cpp | lukaszlipski/Particles-Playground | 1082f4ab043cd4a7eed29d1116883358f93da0fb | [
"MIT"
] | null | null | null | #include "gpubufferuploadmanager.h"
uint8_t* UploadBufferTemporaryRange::Map()
{
uint8_t* data = nullptr;
const CD3DX12_RANGE range(mStartRange, mEndRange);
HRESULT res = GetResource()->Map(0, &range, reinterpret_cast<void**>(&data));
Assert(SUCCEEDED(res));
return data + mStartRange;
}
void Uplo... | 29.94382 | 133 | 0.722702 | lukaszlipski |
ee1f7cbd530e73818d0cc5d5e787c992f3076d84 | 18,061 | cxx | C++ | SRC/analysis/analysis_cutline_recursive.cxx | shikc/wotan | e6962ed5b3e14033f49666b2fc210ea8c3f77290 | [
"MIT"
] | 6 | 2018-12-15T03:31:41.000Z | 2020-11-09T12:50:03.000Z | SRC/analysis/analysis_cutline_recursive.cxx | shikc/wotan | e6962ed5b3e14033f49666b2fc210ea8c3f77290 | [
"MIT"
] | null | null | null | SRC/analysis/analysis_cutline_recursive.cxx | shikc/wotan | e6962ed5b3e14033f49666b2fc210ea8c3f77290 | [
"MIT"
] | 5 | 2019-04-22T12:47:58.000Z | 2021-03-04T06:34:20.000Z | /*
The 'cutline' method of analyzing reachability in a graph is invoked after paths have been enumerated
through the routing resource graph.
blah blah
The 'cutline recursive' method of reachability analysis builds on top of a topological traversal of the subraph. Hence
the constituent functions are meant to be pas... | 44.267157 | 175 | 0.751177 | shikc |
ee2a690fd963aa1ffe4e4b037607ae19d3101de0 | 696 | cpp | C++ | srcV2/App.cpp | Platinum-Phoenix/Photorealistic | ecff2c6ae52686fffb4f6c7799e002f2898622c2 | [
"MIT"
] | null | null | null | srcV2/App.cpp | Platinum-Phoenix/Photorealistic | ecff2c6ae52686fffb4f6c7799e002f2898622c2 | [
"MIT"
] | null | null | null | srcV2/App.cpp | Platinum-Phoenix/Photorealistic | ecff2c6ae52686fffb4f6c7799e002f2898622c2 | [
"MIT"
] | null | null | null | #include "App.hpp"
App::App()
: mWindow(nullptr), mIsRunning(true), mIo(nullptr)
{
}
bool App::Init()
{
}
void App::RunLoop()
{
while (mIsRunning)
{
ProcessInput();
Update();
}
}
void App::ProcessInput()
{
SDL_Event event;
while (SDL_PollEvent(&event))
{
ImGui_Im... | 17.846154 | 117 | 0.515805 | Platinum-Phoenix |
ee2ae08c38b3274545adff164e69987d0f27210f | 6,008 | cpp | C++ | applic/domotica/source/P_Log.cpp | NPaolini/NPS_OpenSource | 0c7da066b02b57ce282a1903a3901a563d04a28f | [
"Unlicense"
] | null | null | null | applic/domotica/source/P_Log.cpp | NPaolini/NPS_OpenSource | 0c7da066b02b57ce282a1903a3901a563d04a28f | [
"Unlicense"
] | null | null | null | applic/domotica/source/P_Log.cpp | NPaolini/NPS_OpenSource | 0c7da066b02b57ce282a1903a3901a563d04a28f | [
"Unlicense"
] | null | null | null | //---------- P_Log.cpp -----------------------------------------------------
//----------------------------------------------------------------------------
#include "precHeader.h"
//----------------------------------------------------------------------------
#include "P_Log.h"
#include "pOwnBtnImageStd.h"
#include "mac... | 30.969072 | 143 | 0.490513 | NPaolini |
ee2bcd5f2fc82d6330ee1fde5ceaec256c23ea00 | 656 | cpp | C++ | 363B.cpp | AdithyaViswanathan/Codeforces | 4f045759227845ced165dfae5763ce76cdca852d | [
"MIT"
] | null | null | null | 363B.cpp | AdithyaViswanathan/Codeforces | 4f045759227845ced165dfae5763ce76cdca852d | [
"MIT"
] | null | null | null | 363B.cpp | AdithyaViswanathan/Codeforces | 4f045759227845ced165dfae5763ce76cdca852d | [
"MIT"
] | null | null | null | #include<bits/stdc++.h>
using namespace std;
#define ll long long
void solve()
{
ll n,k,temp,mini=INT_MAX,ind=0;
vector<ll>a,b;
cin>>n>>k;
for(int i=0;i<n;i++)
cin>>temp,a.push_back(temp);
temp = 0;
for(int i=0;i<n;i++)
{
if(i==0)
b.push_back(a[i]);
else
b.push_back(a[i]+b[i-1]);
}
mini = b[k-1];... | 15.255814 | 38 | 0.550305 | AdithyaViswanathan |
ee2be0141fd9835306f0c61b0bfc32ec7de181f5 | 2,369 | cpp | C++ | A1718/1718Redundant Paths.cpp | instr3/BZOJ-solution-legacy | a71f7df2241602ad744e8ca2453a8423590d5678 | [
"MIT"
] | null | null | null | A1718/1718Redundant Paths.cpp | instr3/BZOJ-solution-legacy | a71f7df2241602ad744e8ca2453a8423590d5678 | [
"MIT"
] | null | null | null | A1718/1718Redundant Paths.cpp | instr3/BZOJ-solution-legacy | a71f7df2241602ad744e8ca2453a8423590d5678 | [
"MIT"
] | null | null | null | #include <iostream>
#include <cstdlib>
#include <cstdio>
#include <cstring>
//#include <cmath>
#include <algorithm>
using namespace std;
#define each(i,n) (int i=1;i<=(n);++i)
struct enode{int to,fr,next;int mk;}mye[100001];
struct vnode{int first;}myv[100001];
int n,nm;
int idex;
int dnf[100001];
int low[100001];
bool... | 19.741667 | 66 | 0.425074 | instr3 |
0c54580a55fe4f7cdb0d876e24ca775a36468df8 | 558 | hpp | C++ | FW/src/Drivers/Button.hpp | abbeman/BCD-watch | 56a9d86c1266c28456a0ee8a8ff4be62cb39f654 | [
"MIT"
] | 1 | 2019-11-09T18:36:42.000Z | 2019-11-09T18:36:42.000Z | FW/src/Drivers/Button.hpp | abbeman/BCD-watch | 56a9d86c1266c28456a0ee8a8ff4be62cb39f654 | [
"MIT"
] | 9 | 2019-11-08T21:35:07.000Z | 2020-01-16T22:17:53.000Z | FW/src/Drivers/Button.hpp | abbeman/BCD-watch | 56a9d86c1266c28456a0ee8a8ff4be62cb39f654 | [
"MIT"
] | 1 | 2020-01-14T19:17:53.000Z | 2020-01-14T19:17:53.000Z | #ifndef _BUTTON_HPP
#define _BUTTON_HPP
#include "GPIO.hpp"
#include "stdint.h"
#include "stdbool.h"
#include "Events.hpp"
#include "Task.hpp"
#include "Queue.hpp"
namespace Button {
class PushButton : public FreeRTOS::Task<256> {
public:
PushButton(GPIO::Pin *pin, FreeRTOS::Queue<Events, EventQueueL... | 21.461538 | 90 | 0.681004 | abbeman |
0c575fcb114523fe367b5a3aff46e31a408c3d0e | 256 | cpp | C++ | CommonGame/Displayable.cpp | krynetix/pspace | 5719d02f302783cc3675876ad10b87a1bb031399 | [
"BSD-3-Clause"
] | null | null | null | CommonGame/Displayable.cpp | krynetix/pspace | 5719d02f302783cc3675876ad10b87a1bb031399 | [
"BSD-3-Clause"
] | null | null | null | CommonGame/Displayable.cpp | krynetix/pspace | 5719d02f302783cc3675876ad10b87a1bb031399 | [
"BSD-3-Clause"
] | null | null | null | #include "Displayable.h"
Displayable::Displayable() /*:
displayId(-1)*/
{
}
Displayable::~Displayable()
{
}
/*void Displayable::setDisplayID(int id)
{
displayId = id;
}
int Displayable::getDisplayID() const
{
return displayId;
}*/ | 12.8 | 41 | 0.632813 | krynetix |
0c57c617110143e360f4edf443bec14eceddc5ac | 4,357 | cpp | C++ | digitanks/src/dtintro/intro_renderer.cpp | BSVino/Digitanks | 1bd1ed115493bce22001ae6684b70b8fcf135db0 | [
"BSD-4-Clause"
] | 5 | 2015-07-03T18:42:32.000Z | 2017-08-25T10:28:12.000Z | digitanks/src/dtintro/intro_renderer.cpp | BSVino/Digitanks | 1bd1ed115493bce22001ae6684b70b8fcf135db0 | [
"BSD-4-Clause"
] | null | null | null | digitanks/src/dtintro/intro_renderer.cpp | BSVino/Digitanks | 1bd1ed115493bce22001ae6684b70b8fcf135db0 | [
"BSD-4-Clause"
] | null | null | null | #include "intro_renderer.h"
#include <mtrand.h>
#include <tinker/application.h>
#include <tinker/cvar.h>
#include <textures/materiallibrary.h>
#include <game/gameserver.h>
#include <renderer/shaders.h>
#include <renderer/game_renderingcontext.h>
#include "intro_window.h"
CIntroRenderer::CIntroRenderer()
: CGameRen... | 29.241611 | 95 | 0.685793 | BSVino |
0c58b44fb8fe0f2e2a28151071651319dd48328a | 733 | cpp | C++ | sphinx/cpp_tutorial/tutorial.cpp | sbrisard/pw85 | 515da5a74002c956c9e12b4918659a51b92eca37 | [
"BSD-3-Clause"
] | null | null | null | sphinx/cpp_tutorial/tutorial.cpp | sbrisard/pw85 | 515da5a74002c956c9e12b4918659a51b92eca37 | [
"BSD-3-Clause"
] | 19 | 2018-08-02T07:15:25.000Z | 2021-05-24T04:52:38.000Z | docs/_downloads/c2b7b2965f34e12a0073f1577700ca31/tutorial.cpp | sbrisard/pw85 | 515da5a74002c956c9e12b4918659a51b92eca37 | [
"BSD-3-Clause"
] | null | null | null | #include <iostream>
#include <array>
#include "pw85/pw85.hpp"
using Vec = std::array<double, pw85::dim>;
using SymMat = std::array<double, pw85::sym>;
int main() {
Vec x1{-0.5, 0.4, -0.7};
Vec n1{0., 0., 1.};
double a1 = 10.;
double c1 = 0.1;
Vec x2{0.2, -0.3, 0.4};
Vec n2{1., 0., 0.};
double a2 = 0.5... | 22.90625 | 71 | 0.542974 | sbrisard |
0c59fb7a666dc51c30814a95512a19aafdaca22c | 999 | cpp | C++ | Basic_Algorithms/Calculadora de Matrizes.cpp | Isaquehg/algorithms_and_data_structures | 7062a6d9564dfcca35e4692ad864b4c48a279d3f | [
"MIT"
] | null | null | null | Basic_Algorithms/Calculadora de Matrizes.cpp | Isaquehg/algorithms_and_data_structures | 7062a6d9564dfcca35e4692ad864b4c48a279d3f | [
"MIT"
] | null | null | null | Basic_Algorithms/Calculadora de Matrizes.cpp | Isaquehg/algorithms_and_data_structures | 7062a6d9564dfcca35e4692ad864b4c48a279d3f | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
int main(){
int mat[100][100];//matriz 2x2
int transposta[100][100];//matriz transposta
int determinante;//determinante da matriz
int l, c;//contadores
//input
for(l = 0; l < 2; l ++){
for(c = 0; c < 2; c ++)
cin >> mat[l][c];
}
... | 24.365854 | 69 | 0.442442 | Isaquehg |
0c5b2859c83d8742475838aa5d809fed84400b3e | 283 | hpp | C++ | src/util/string_utils.hpp | TobiasNienhaus/npp | ff6023ad5c160240cbaa029dce065b2cdf58ae74 | [
"MIT"
] | null | null | null | src/util/string_utils.hpp | TobiasNienhaus/npp | ff6023ad5c160240cbaa029dce065b2cdf58ae74 | [
"MIT"
] | null | null | null | src/util/string_utils.hpp | TobiasNienhaus/npp | ff6023ad5c160240cbaa029dce065b2cdf58ae74 | [
"MIT"
] | null | null | null | //
// Created by Tobias on 1/21/2021.
//
#ifndef NPP_STRING_UTILS_HPP
#define NPP_STRING_UTILS_HPP
#include <string>
namespace npp::str_util {
std::string wstr_to_str(const std::wstring &wstr);
std::wstring str_to_wstr(const std::string &str);
}
#endif // NPP_STRING_UTILS_HPP
| 15.722222 | 50 | 0.745583 | TobiasNienhaus |
0c6ac7c6fbffc464e54b6036e7d2e66ec46aadb1 | 64,064 | cpp | C++ | WRK-V1.2/csharp/sccomp/typebind.cpp | intj-t/openvmsft | 0d17fbce8607ab2b880be976c2e86d8cfc3e83bb | [
"Intel"
] | null | null | null | WRK-V1.2/csharp/sccomp/typebind.cpp | intj-t/openvmsft | 0d17fbce8607ab2b880be976c2e86d8cfc3e83bb | [
"Intel"
] | null | null | null | WRK-V1.2/csharp/sccomp/typebind.cpp | intj-t/openvmsft | 0d17fbce8607ab2b880be976c2e86d8cfc3e83bb | [
"Intel"
] | null | null | null | // ==++==
//
//
// Copyright (c) 2006 Microsoft Corporation. All rights reserved.
//
// The use and distribution terms for this software are contained in the file
// named license.txt, which can be found in the root of this distribution.
// By using this software in any fashion, you are agreeing to b... | 36.214811 | 174 | 0.532218 | intj-t |
0c6cd6425e8121b8f8b07f2ffab4104175edd6d2 | 4,579 | cpp | C++ | Libraries/MDStudio-SDK/Source/MDStudio/PortableCore/UI/menu.cpp | dcliche/studioengine | 1a18d373b26575b040d014ae2650a1aaeb208a89 | [
"Apache-2.0"
] | null | null | null | Libraries/MDStudio-SDK/Source/MDStudio/PortableCore/UI/menu.cpp | dcliche/studioengine | 1a18d373b26575b040d014ae2650a1aaeb208a89 | [
"Apache-2.0"
] | null | null | null | Libraries/MDStudio-SDK/Source/MDStudio/PortableCore/UI/menu.cpp | dcliche/studioengine | 1a18d373b26575b040d014ae2650a1aaeb208a89 | [
"Apache-2.0"
] | null | null | null | //
// menu.cpp
// MDStudio
//
// Created by Daniel Cliche on 2016-09-10.
// Copyright (c) 2016-2021 Daniel Cliche. All rights reserved.
//
#include "menu.h"
#include "draw.h"
#include "listitemview.h"
using namespace MDStudio;
std::unique_ptr<Window> Menu::_window;
int Menu::_highlightedItemIndex = -1;
// ----... | 38.478992 | 120 | 0.463202 | dcliche |
0c6eb7510c7714020e18be9ee3c70f08954d8966 | 59 | cpp | C++ | RealmLib/Structures/TileData.cpp | SometimesRain/realmnet | 76ead08b4a0163a05b65389e512942a620331256 | [
"MIT"
] | 10 | 2018-11-25T21:59:43.000Z | 2022-01-09T22:41:52.000Z | RealmLib/Structures/TileData.cpp | SometimesRain/realmnet | 76ead08b4a0163a05b65389e512942a620331256 | [
"MIT"
] | 1 | 2018-11-28T12:59:59.000Z | 2018-11-28T12:59:59.000Z | RealmLib/Structures/TileData.cpp | SometimesRain/realmnet | 76ead08b4a0163a05b65389e512942a620331256 | [
"MIT"
] | 6 | 2018-12-28T22:34:13.000Z | 2021-10-16T10:17:17.000Z | #include "stdafx.h"
#include <DataStructures/TileData.h>
| 11.8 | 36 | 0.745763 | SometimesRain |
0c6f9f5fd9163b76aee5191714296f2b890997ee | 29,986 | cpp | C++ | scripts/workload.cpp | SoftlySpoken/gStore | b2cf71288ccef376640000965aff7c430101446a | [
"BSD-3-Clause"
] | 150 | 2015-01-14T15:06:38.000Z | 2018-08-28T09:34:17.000Z | scripts/workload.cpp | SoftlySpoken/gStore | b2cf71288ccef376640000965aff7c430101446a | [
"BSD-3-Clause"
] | 28 | 2015-05-11T02:45:39.000Z | 2018-08-24T11:43:17.000Z | scripts/workload.cpp | SoftlySpoken/gStore | b2cf71288ccef376640000965aff7c430101446a | [
"BSD-3-Clause"
] | 91 | 2015-05-04T09:52:41.000Z | 2018-08-18T13:02:15.000Z | #include <iostream>
#include <set>
#include <vector>
#include <deque>
#include <algorithm>
#include <fstream>
#include <mutex>
#include <thread>
#include <string>
#include <atomic>
#include <sstream>
#include "../Database/Txn_manager.h"
using namespace std;
struct MyTriple
{
string subject;
string predicate;
... | 34.706019 | 328 | 0.532982 | SoftlySpoken |
0c7181d1e871ebcd1848c446b7097e8dda89349a | 2,045 | cpp | C++ | gloox-1.0.13/src/delayeddelivery.cpp | hailanghu/gloox_test | 00b0d9b22335e50eb957c838ffa2b8f38931b60f | [
"Apache-2.0"
] | null | null | null | gloox-1.0.13/src/delayeddelivery.cpp | hailanghu/gloox_test | 00b0d9b22335e50eb957c838ffa2b8f38931b60f | [
"Apache-2.0"
] | null | null | null | gloox-1.0.13/src/delayeddelivery.cpp | hailanghu/gloox_test | 00b0d9b22335e50eb957c838ffa2b8f38931b60f | [
"Apache-2.0"
] | null | null | null | /*
Copyright (c) 2006-2015 by Jakob Schröter <js@camaya.net>
This file is part of the gloox library. http://camaya.net/gloox
This software is distributed under a license. The full license
agreement can be found in the file LICENSE in this distribution.
This software may not be copied, modified, sold or distr... | 26.907895 | 105 | 0.619071 | hailanghu |
0c75923e94217498c27ee44cb309821b227cf385 | 3,740 | hpp | C++ | Code/Engine/Math/Matrix44.hpp | ntaylorbishop/Copycat | c02f2881f0700a33a2630fd18bc409177d80b8cd | [
"MIT"
] | 2 | 2017-10-02T03:18:55.000Z | 2018-11-21T16:30:36.000Z | Code/Engine/Math/Matrix44.hpp | ntaylorbishop/Copycat | c02f2881f0700a33a2630fd18bc409177d80b8cd | [
"MIT"
] | null | null | null | Code/Engine/Math/Matrix44.hpp | ntaylorbishop/Copycat | c02f2881f0700a33a2630fd18bc409177d80b8cd | [
"MIT"
] | null | null | null | #pragma once
#include "DirectXMath.h"
#include "Engine/Math/Vector3.hpp"
#include "Engine/Math/MathUtils.hpp"
using namespace DirectX;
class Matrix44 {
public:
Matrix44() { }
Matrix44(XMVECTOR r1, XMVECTOR r2, XMVECTOR r3, XMVECTOR r4)
: m_matrix(r1, r2, r3, r4)
{ }
Matrix44(Vector4 r1, Vector4 r2, Vector4 r3... | 34.62963 | 125 | 0.490107 | ntaylorbishop |
0c803c5b0e794fd767a56a5a62ca95e00a55fa68 | 3,646 | cpp | C++ | csgocheat/hooks/cte_effects.cpp | garryhvh420/e_xyz | 668d8c8c2b7ccfc3bae9e321b1a50379a5e33ec9 | [
"Apache-2.0"
] | null | null | null | csgocheat/hooks/cte_effects.cpp | garryhvh420/e_xyz | 668d8c8c2b7ccfc3bae9e321b1a50379a5e33ec9 | [
"Apache-2.0"
] | null | null | null | csgocheat/hooks/cte_effects.cpp | garryhvh420/e_xyz | 668d8c8c2b7ccfc3bae9e321b1a50379a5e33ec9 | [
"Apache-2.0"
] | null | null | null | #include "cte_effects.h"
#include "../hacks/c_resolver.h"
#include "../sdk/c_debug_overlay.h"
c_fire g_firingresolver;
void c_ct_effects::hook()
{
auto dwFireBullets = *(DWORD**)(sig("client_panorama.dll", "55 8B EC 51 53 56 8B F1 BB ? ? ? ? B8") + 0x131);
static c_hook hook((PDWORD)dwFireBullets);
_FireBullets =... | 31.982456 | 124 | 0.699397 | garryhvh420 |
0c8be596d1e2b879ed34358403917d0f3a328ffa | 4,189 | cpp | C++ | app/src/main/jni/ProcForm.cpp | oaup/imgprocess | 37c7aa77210bbfe51347fc62cabd696d7281e7e8 | [
"MIT"
] | 2 | 2020-08-19T06:06:11.000Z | 2021-07-29T01:44:59.000Z | app/src/main/jni/ProcForm.cpp | oaup/imgprocess | 37c7aa77210bbfe51347fc62cabd696d7281e7e8 | [
"MIT"
] | null | null | null | app/src/main/jni/ProcForm.cpp | oaup/imgprocess | 37c7aa77210bbfe51347fc62cabd696d7281e7e8 | [
"MIT"
] | null | null | null | /*
Copyright (C) 2004 Yefeng Zheng
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 distributed in the hope tha... | 25.858025 | 99 | 0.530914 | oaup |
0c914d2b56499e8c71962e5e1fbe305fc229503e | 3,309 | cpp | C++ | Sources/Folders/SeedingCodes/TreeCodes.cpp | RedShyGuy/Vapecord-ACNL-Plugin | 811bb9a0011470c18af6ac920c3a5a9d5985906f | [
"MIT"
] | 52 | 2020-01-17T08:12:04.000Z | 2022-03-19T20:02:57.000Z | Sources/Folders/SeedingCodes/TreeCodes.cpp | RedShyGuy/Vapecord-ACNL-Plugin | 811bb9a0011470c18af6ac920c3a5a9d5985906f | [
"MIT"
] | 67 | 2020-05-06T04:47:27.000Z | 2022-03-31T16:25:19.000Z | Sources/Folders/SeedingCodes/TreeCodes.cpp | RedShyGuy/Vapecord-ACNL-Plugin | 811bb9a0011470c18af6ac920c3a5a9d5985906f | [
"MIT"
] | 7 | 2021-01-20T17:42:25.000Z | 2022-03-08T09:29:42.000Z | #include "cheats.hpp"
#include "Helpers/Address.hpp"
#include "TextFileParser.hpp"
#include "Helpers/Wrapper.hpp"
#include "Color.h"
namespace CTRPluginFramework {
//Infinite Fruit Tree
void fruitStays(MenuEntry *entry) {
static const Address fruitstay(0x5972CC, 0x5967E4, 0x596314, 0x596314, 0x595C04, 0x59... | 38.929412 | 123 | 0.679964 | RedShyGuy |
0c91565e24b4bf402739894cb7c2f0682a52387f | 724 | hpp | C++ | dynamic_programming/largest_rectangle.hpp | emthrm/library | 0876ba7ec64e23b5ec476a7a0b4880d497a36be1 | [
"Unlicense"
] | 1 | 2021-12-26T14:17:29.000Z | 2021-12-26T14:17:29.000Z | dynamic_programming/largest_rectangle.hpp | emthrm/library | 0876ba7ec64e23b5ec476a7a0b4880d497a36be1 | [
"Unlicense"
] | 3 | 2020-07-13T06:23:02.000Z | 2022-02-16T08:54:26.000Z | dynamic_programming/largest_rectangle.hpp | emthrm/library | 0876ba7ec64e23b5ec476a7a0b4880d497a36be1 | [
"Unlicense"
] | null | null | null | #pragma once
#include <stack>
#include <vector>
template <typename T>
long long largest_rectangle(const std::vector<T> &height) {
int n = height.size();
std::vector<int> left(n);
std::stack<T> st;
long long res = 0;
for (int i = 0; i < n; ++i) {
while (!st.empty() && height[st.top()] >= height... | 26.814815 | 87 | 0.529006 | emthrm |
0c950ff67b60e6cbd1c2541211ac5c07ae637230 | 645 | hpp | C++ | Extensions/ZilchShaders/ForwardDeclarations.hpp | jodavis42/ZeroPhysicsTestbed | e84a3f6faf16b7a4242dc049121b5338e80039f8 | [
"MIT"
] | 1 | 2022-03-26T21:08:19.000Z | 2022-03-26T21:08:19.000Z | Extensions/ZilchShaders/ForwardDeclarations.hpp | jodavis42/ZeroPhysicsTestbed | e84a3f6faf16b7a4242dc049121b5338e80039f8 | [
"MIT"
] | null | null | null | Extensions/ZilchShaders/ForwardDeclarations.hpp | jodavis42/ZeroPhysicsTestbed | e84a3f6faf16b7a4242dc049121b5338e80039f8 | [
"MIT"
] | null | null | null | ///////////////////////////////////////////////////////////////////////////////
///
/// Authors: Joshua Davis
/// Copyright 2016, DigiPen Institute of Technology
///
///////////////////////////////////////////////////////////////////////////////
#pragma once
namespace Zilch
{
class SyntaxTree;
}
namespac... | 23.888889 | 80 | 0.581395 | jodavis42 |
0c99d184396399b1446daab70641961da13318eb | 5,282 | cpp | C++ | BZ_Backend_Student/src/pass/loop_search.cpp | CSRic/SysYF-CodeGen-Opt | 784c0b21dbcaae7d9f0b25765715e0837a50aa94 | [
"Apache-2.0"
] | null | null | null | BZ_Backend_Student/src/pass/loop_search.cpp | CSRic/SysYF-CodeGen-Opt | 784c0b21dbcaae7d9f0b25765715e0837a50aa94 | [
"Apache-2.0"
] | null | null | null | BZ_Backend_Student/src/pass/loop_search.cpp | CSRic/SysYF-CodeGen-Opt | 784c0b21dbcaae7d9f0b25765715e0837a50aa94 | [
"Apache-2.0"
] | null | null | null | #include "pass/loop_search.h"
bool add_new_loop = false;
Loop *curloop = nullptr;
void LoopSearch::run() {
for(auto fun: m_->get_functions()){
if(fun->get_basic_blocks().size() == 0) continue;
cur_fun = fun;
index = 0;
std::set<BasicBlock *> bb_set;
for(auto bb: fun->get_bas... | 33.0125 | 92 | 0.500757 | CSRic |
0c9e27fba18690ae27d362b9ff80d6407e5be518 | 1,144 | hpp | C++ | src/tests/functional/plugin/shared/include/behavior/ov_infer_request/batched_tensors.hpp | ivkalgin/openvino | 81685c8d212135dd9980da86a18db41fbf6d250a | [
"Apache-2.0"
] | null | null | null | src/tests/functional/plugin/shared/include/behavior/ov_infer_request/batched_tensors.hpp | ivkalgin/openvino | 81685c8d212135dd9980da86a18db41fbf6d250a | [
"Apache-2.0"
] | 18 | 2022-01-21T08:42:58.000Z | 2022-03-28T13:21:31.000Z | src/tests/functional/plugin/shared/include/behavior/ov_infer_request/batched_tensors.hpp | ematroso/openvino | 403339f8f470c90dee6f6d94ed58644b2787f66b | [
"Apache-2.0"
] | null | null | null | // Copyright (C) 2018-2021 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#pragma once
#include <gtest/gtest.h>
#include <string>
#include "functional_test_utils/ov_plugin_cache.hpp"
#include <base/behavior_test_utils.hpp>
namespace ov {
namespace test {
namespace behavior {
class OVInferRequestBatched... | 29.333333 | 103 | 0.687937 | ivkalgin |
0ca7eaebddd3e24b7760ce46b67de6b49fbd7756 | 160 | cpp | C++ | GameEngine/CollisionCuboid.cpp | BenMarshall98/Game-Engine-Uni | cb2e0a75953db0960e3d58a054eb9a6e213ae12a | [
"MIT"
] | null | null | null | GameEngine/CollisionCuboid.cpp | BenMarshall98/Game-Engine-Uni | cb2e0a75953db0960e3d58a054eb9a6e213ae12a | [
"MIT"
] | null | null | null | GameEngine/CollisionCuboid.cpp | BenMarshall98/Game-Engine-Uni | cb2e0a75953db0960e3d58a054eb9a6e213ae12a | [
"MIT"
] | null | null | null | #include "CollisionCuboid.h"
CollisionCuboid::~CollisionCuboid()
{
}
//Gets the collision shape
Shape CollisionCuboid::GetShape()
{
return Shape::CUBOID;
}
| 12.307692 | 35 | 0.74375 | BenMarshall98 |
0ca893c2dcd16135c774d17759802cdf89951db0 | 14,657 | cc | C++ | src/pmast/mapworld.cc | KonstantinRr/pmast | b26bf2cd63acd1fd8178d66fd35e8948db7b7651 | [
"MIT"
] | null | null | null | src/pmast/mapworld.cc | KonstantinRr/pmast | b26bf2cd63acd1fd8178d66fd35e8948db7b7651 | [
"MIT"
] | null | null | null | src/pmast/mapworld.cc | KonstantinRr/pmast | b26bf2cd63acd1fd8178d66fd35e8948db7b7651 | [
"MIT"
] | null | null | null | /// MIT License
///
/// Copyright (c) 2020 Konstantin Rolf
///
/// 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,... | 39.294906 | 97 | 0.630074 | KonstantinRr |
0caebd0243f9b0aedbc7c18b7b976bb5be4ddf77 | 4,471 | cpp | C++ | tools/ifaceed/ifaceed/history/animations/animationsremove.cpp | mamontov-cpp/saddy | f20a0030e18af9e0714fe56c19407fbeacc529a7 | [
"BSD-2-Clause"
] | 58 | 2015-08-09T14:56:35.000Z | 2022-01-15T22:06:58.000Z | tools/ifaceed/ifaceed/history/animations/animationsremove.cpp | mamontov-cpp/saddy-graphics-engine-2d | e25a6637fcc49cb26614bf03b70e5d03a3a436c7 | [
"BSD-2-Clause"
] | 245 | 2015-08-08T08:44:22.000Z | 2022-01-04T09:18:08.000Z | tools/ifaceed/ifaceed/history/animations/animationsremove.cpp | mamontov-cpp/saddy | f20a0030e18af9e0714fe56c19407fbeacc529a7 | [
"BSD-2-Clause"
] | 23 | 2015-12-06T03:57:49.000Z | 2020-10-12T14:15:50.000Z | #include "animationsremove.h"
#include "../../core/editor.h"
#include "../../closuremethodcall.h"
#include "../../gui/actions/actions.h"
#include "../../gui/actions/animationactions.h"
#include "../../gui/uiblocks/uiblocks.h"
#include "../../gui/uiblocks/uianimationblock.h"
#include "../../gui/uiblocks/u... | 35.204724 | 199 | 0.632297 | mamontov-cpp |
0cb1d7c3db6800b91d9e1fe0adc579e49bec0fa6 | 6,610 | cpp | C++ | B.cpp | turing228/Generating-Functions | 97536c14953ed3051d194310e8b4245f1618aa95 | [
"MIT"
] | null | null | null | B.cpp | turing228/Generating-Functions | 97536c14953ed3051d194310e8b4245f1618aa95 | [
"MIT"
] | null | null | null | B.cpp | turing228/Generating-Functions | 97536c14953ed3051d194310e8b4245f1618aa95 | [
"MIT"
] | null | null | null | // Copyright (c) Nikita Lisovetin. All rights reserved.
// Licensed under the MIT License.
// Nikita Lisovetin, github.com/turing228
// Please let me know if you have any questions. It's easy to find me in google/yandex
/*************************************************************************************************... | 31.932367 | 130 | 0.562632 | turing228 |
0cb52de4ae924a76468d1b162ef4ca2fdfd082cd | 179 | cc | C++ | SHM_version_for_beginers/sources/Island.cc | majkel84/kurs_cpp_podstawowy | eddaffb310c6132304aa26dc87ec04ddfc09c541 | [
"MIT"
] | 8 | 2020-05-17T18:04:40.000Z | 2021-04-15T07:52:33.000Z | SHM_version_for_beginers/sources/Island.cc | majkel84/kurs_cpp_podstawowy | eddaffb310c6132304aa26dc87ec04ddfc09c541 | [
"MIT"
] | 292 | 2020-03-10T18:03:14.000Z | 2022-03-26T17:00:51.000Z | SHM_version_for_beginers/sources/Island.cc | majkel84/kurs_cpp_podstawowy | eddaffb310c6132304aa26dc87ec04ddfc09c541 | [
"MIT"
] | 126 | 2020-05-11T16:25:40.000Z | 2022-02-21T00:41:03.000Z | #include "Island.h"
#include "GTime.h"
Island::Island(size_t pos_x, size_t pos_y, Time* time):
position_(Coordinates(pos_x, pos_y)),
store_(std::make_unique<Store>(time)) {
} | 22.375 | 56 | 0.715084 | majkel84 |
0cb7959d0045eb02d9a1538e96a1bb081ba57fef | 21,518 | cpp | C++ | src/njli/graphics/opengl_es_3.0/ShaderProgram.cpp | njligames/Engine | 899c7b79cea33a72fc34f159134f721b56715d3d | [
"MIT"
] | 1 | 2019-02-13T05:41:54.000Z | 2019-02-13T05:41:54.000Z | src/njli/graphics/opengl_es_3.0/ShaderProgram.cpp | njligames/Engine | 899c7b79cea33a72fc34f159134f721b56715d3d | [
"MIT"
] | null | null | null | src/njli/graphics/opengl_es_3.0/ShaderProgram.cpp | njligames/Engine | 899c7b79cea33a72fc34f159134f721b56715d3d | [
"MIT"
] | null | null | null | //
// ShaderProgram.cpp
// JLIGameEngineTest
//
// Created by James Folk on 1/8/15.
// Copyright (c) 2015 James Folk. All rights reserved.
//
#include "ShaderProgram.h"
#include "JLIFactoryTypes.h"
#include "World.h"
#include "ShaderProgramBuilder.h"
#include "GLPlatform.h"
#include "Camera.h"
#include "Log.h"
#d... | 35.625828 | 200 | 0.61265 | njligames |
0cbe41bbd320e482875de0a03fbb6ce20b451071 | 608 | cpp | C++ | C++/0039.cpp | AndroAvi/DSA | 5937ab1e98c86a1f6e6745f3ea62d45b7bdeb582 | [
"MIT"
] | 4 | 2021-08-28T19:16:50.000Z | 2022-03-04T19:46:31.000Z | C++/0039.cpp | AndroAvi/DSA | 5937ab1e98c86a1f6e6745f3ea62d45b7bdeb582 | [
"MIT"
] | 8 | 2021-10-29T19:10:51.000Z | 2021-11-03T12:38:00.000Z | C++/0039.cpp | AndroAvi/DSA | 5937ab1e98c86a1f6e6745f3ea62d45b7bdeb582 | [
"MIT"
] | 4 | 2021-09-06T05:53:07.000Z | 2021-12-24T10:31:40.000Z | class Solution {
public:
void backtrack(vector<int> &arr, int target, vector<vector<int>> &ans,
vector<int> &curr, int start = 0) {
if (target < 0)
return;
if (target == 0)
ans.push_back(curr);
else {
for (int i{start}; i < int(arr.size()); i++) {
curr.push_back(... | 26.434783 | 72 | 0.550987 | AndroAvi |
0cc5acc0487516b25aac4ef3714f2c5987902527 | 89 | cpp | C++ | src/examples/007Chapter/7-6-static-member/main.cpp | artgonzalez/cpp-primer | 0317e11b5821860d38a236f24c6f7d76638386f3 | [
"MIT"
] | null | null | null | src/examples/007Chapter/7-6-static-member/main.cpp | artgonzalez/cpp-primer | 0317e11b5821860d38a236f24c6f7d76638386f3 | [
"MIT"
] | null | null | null | src/examples/007Chapter/7-6-static-member/main.cpp | artgonzalez/cpp-primer | 0317e11b5821860d38a236f24c6f7d76638386f3 | [
"MIT"
] | null | null | null | #include "screen.h"
int main()
{
Screen screen;
screen.clear();
return 0;
} | 9.888889 | 19 | 0.573034 | artgonzalez |
0cc6fe2b4775b9e44b2e607c19ef04ffa62d4783 | 2,352 | cpp | C++ | Libraries/AP_Motors/AP_Motors.cpp | SuWeipeng/car_407ve_rtt | c04745c4801998e6d82db516138d6adf846e64f8 | [
"Apache-2.0"
] | 8 | 2020-01-19T00:04:35.000Z | 2022-01-05T19:08:05.000Z | Libraries/AP_Motors/AP_Motors.cpp | SuWeipeng/car_407ve_rtt | c04745c4801998e6d82db516138d6adf846e64f8 | [
"Apache-2.0"
] | null | null | null | Libraries/AP_Motors/AP_Motors.cpp | SuWeipeng/car_407ve_rtt | c04745c4801998e6d82db516138d6adf846e64f8 | [
"Apache-2.0"
] | 3 | 2020-02-26T01:26:22.000Z | 2021-01-26T06:02:56.000Z | #include "AP_Motors.h"
#include "AP_Motors_L298N_3Wire_ABEncoder.h"
AP_Motors *AP_Motors::_instance;
AP_Motors::AP_Motors()
: _backend(nullptr)
, _pid(nullptr)
{
_instance = this;
}
void
AP_Motors::init(TIM_HandleTypeDef* enc_tim, // encoder timer
int8_t enc_dir, // encoder direction... | 20.452174 | 65 | 0.491071 | SuWeipeng |
0ccdfc083a30a31d158ec1cff9b2d2967e9b24dd | 8,075 | hpp | C++ | include/mckl/random/internal/philox_avx2_4x32.hpp | zhouyan/MCKL | 1d03eb5a879e47e268efc73b1d433611e64307b3 | [
"BSD-2-Clause"
] | 12 | 2016-08-02T17:01:13.000Z | 2021-03-04T12:11:33.000Z | include/mckl/random/internal/philox_avx2_4x32.hpp | zhouyan/MCKL | 1d03eb5a879e47e268efc73b1d433611e64307b3 | [
"BSD-2-Clause"
] | 5 | 2017-05-09T12:05:06.000Z | 2021-03-16T10:39:23.000Z | include/mckl/random/internal/philox_avx2_4x32.hpp | zhouyan/MCKL | 1d03eb5a879e47e268efc73b1d433611e64307b3 | [
"BSD-2-Clause"
] | 2 | 2016-08-25T13:10:29.000Z | 2019-05-01T01:54:29.000Z | //============================================================================
// MCKL/include/mckl/random/internal/philox_avx2_4x32.hpp
//----------------------------------------------------------------------------
// MCKL: Monte Carlo Kernel Library
//------------------------------------------------------------------... | 40.782828 | 79 | 0.597399 | zhouyan |
0ccf2623b098bd019c880f70065590c3661a1ae6 | 172 | cpp | C++ | C++/Qt/windowsInherit/car.cpp | aadshalshihry/sandbox | 87650335d8a9cfe7d4612592180d3d22de8f3dcb | [
"MIT"
] | null | null | null | C++/Qt/windowsInherit/car.cpp | aadshalshihry/sandbox | 87650335d8a9cfe7d4612592180d3d22de8f3dcb | [
"MIT"
] | null | null | null | C++/Qt/windowsInherit/car.cpp | aadshalshihry/sandbox | 87650335d8a9cfe7d4612592180d3d22de8f3dcb | [
"MIT"
] | null | null | null | #include "car.h"
#include "ui_car.h"
car::car(QWidget *parent) :
QScrollArea(parent),
ui(new Ui::car)
{
ui->setupUi(this);
}
car::~car()
{
delete ui;
}
| 10.117647 | 27 | 0.569767 | aadshalshihry |
0cd1f644fbbfc70cd0eea612839c0cb7724b7063 | 1,047 | cpp | C++ | src/Logger.cpp | Anonymous-275/LeagueAPI | 7f41ac68b7c000f13e6a36a9af20c2123b3646cd | [
"MIT"
] | null | null | null | src/Logger.cpp | Anonymous-275/LeagueAPI | 7f41ac68b7c000f13e6a36a9af20c2123b3646cd | [
"MIT"
] | null | null | null | src/Logger.cpp | Anonymous-275/LeagueAPI | 7f41ac68b7c000f13e6a36a9af20c2123b3646cd | [
"MIT"
] | 1 | 2022-03-07T18:33:55.000Z | 2022-03-07T18:33:55.000Z | ///
/// Created by Anonymous275 on 12/26/21
/// Copyright (c) 2021-present Anonymous275 read the LICENSE file for more info.
///
#include "Logger.h"
INITIALIZE_EASYLOGGINGPP
using namespace el;
void Log::Init() {
Configurations Conf;
Conf.setToDefault();
std::string DFormat("%datetime{[%d/%M/%y %H:%m:%s]} ... | 41.88 | 96 | 0.717287 | Anonymous-275 |
7b48853969d1b8629af44dd60ef7e35fdfb3261b | 845 | hpp | C++ | Assignment2/include/MemoryFunction.hpp | dissolete/cs466 | 07a3813fc0cbee4d1406f763189c215f998c39f2 | [
"MIT"
] | null | null | null | Assignment2/include/MemoryFunction.hpp | dissolete/cs466 | 07a3813fc0cbee4d1406f763189c215f998c39f2 | [
"MIT"
] | null | null | null | Assignment2/include/MemoryFunction.hpp | dissolete/cs466 | 07a3813fc0cbee4d1406f763189c215f998c39f2 | [
"MIT"
] | null | null | null | // Program Information /////////////////////////////////////////////////////////
/**
* @file Simulator Functions.c
*
* @brief Memory Address Locator for CS 446/646 at the Univserity of
* Nevada, Reno
*
* @details This file includes the necessary function for assignment 2 of the
* CS 446/646 co... | 24.142857 | 80 | 0.489941 | dissolete |
7b4d77bb9d3581b30a9061bc9170d036b98ad3a6 | 15,512 | cpp | C++ | source/mclib/stuff/trace.cpp | mechasource/mechcommander2 | b2c7cecf001cec1f535aa8d29c31bdc30d9aa983 | [
"BSD-2-Clause"
] | 38 | 2015-04-10T13:31:03.000Z | 2021-09-03T22:34:05.000Z | source/mclib/stuff/trace.cpp | mechasource/mechcommander2 | b2c7cecf001cec1f535aa8d29c31bdc30d9aa983 | [
"BSD-2-Clause"
] | 1 | 2020-07-09T09:48:44.000Z | 2020-07-12T12:41:43.000Z | source/mclib/stuff/trace.cpp | mechasource/mechcommander2 | b2c7cecf001cec1f535aa8d29c31bdc30d9aa983 | [
"BSD-2-Clause"
] | 12 | 2015-06-29T08:06:57.000Z | 2021-10-13T13:11:41.000Z | //===========================================================================//
// File: analysis.cpp //
// Contents: Utilities for using logic analyzer with parallel port dongle //
//---------------------------------------------------------------------------//
// ... | 25.72471 | 90 | 0.560469 | mechasource |
7b54b295d9712fe9c0297724a10d0fe1d39993f8 | 1,135 | cpp | C++ | src/classifier/svm/svm_classifier.cpp | bububa/openvision | 0864e48ec8e69ac13d6889d41f7e1171f53236dd | [
"Apache-2.0"
] | 1 | 2022-02-08T06:42:05.000Z | 2022-02-08T06:42:05.000Z | src/classifier/svm/svm_classifier.cpp | bububa/openvision | 0864e48ec8e69ac13d6889d41f7e1171f53236dd | [
"Apache-2.0"
] | null | null | null | src/classifier/svm/svm_classifier.cpp | bububa/openvision | 0864e48ec8e69ac13d6889d41f7e1171f53236dd | [
"Apache-2.0"
] | null | null | null | #include "../svm_classifier.h"
#include "svm_binary_classifier.hpp"
#include "svm_multiclass_classifier.hpp"
ISVMClassifier new_svm_binary_classifier() {
return new ovclassifier::SVMBinaryClassifier();
}
ISVMClassifier new_svm_multiclass_classifier() {
return new ovclassifier::SVMMultiClassClassifier();
}
void des... | 33.382353 | 77 | 0.734802 | bububa |
7b5d9bdbbc29bebe8c7b3f19eabb9cf174545711 | 7,233 | cpp | C++ | qt/main.cpp | kainjow/Glypha | b0ff71fd942cdb7abfa95310acd9764f2df786de | [
"MIT"
] | 25 | 2015-08-15T17:42:31.000Z | 2022-01-20T04:40:36.000Z | qt/main.cpp | kainjow/Glypha | b0ff71fd942cdb7abfa95310acd9764f2df786de | [
"MIT"
] | 9 | 2015-08-11T00:46:13.000Z | 2022-01-20T04:21:49.000Z | qt/main.cpp | kainjow/Glypha | b0ff71fd942cdb7abfa95310acd9764f2df786de | [
"MIT"
] | 1 | 2018-10-28T14:48:58.000Z | 2018-10-28T14:48:58.000Z | // sudo apt-get install libqt4-dev libqt4-opengl-dev
#include <QApplication>
#include <QWidget>
#include <QMainWindow>
#include <QHBoxLayout>
#include <QMenuBar>
#include <QMessageBox>
#include <QInputDialog>
#include "main.hpp"
GLWidget::GLWidget(QWidget *parent)
: QGLWidget(QGLFormat(QGL::SampleBuffers), parent... | 28.932 | 123 | 0.640813 | kainjow |
7b5ee4f62ce90cc3dda26e1b5f64c6c2f2ba7e5e | 9,015 | cpp | C++ | Operations/albaOpClassicICPRegistration.cpp | IOR-BIC/ALBA | b574968b05d9a3a2756dd2ac61d015a0d20232a4 | [
"Apache-2.0",
"BSD-3-Clause"
] | 9 | 2018-11-19T10:15:29.000Z | 2021-08-30T11:52:07.000Z | Operations/albaOpClassicICPRegistration.cpp | IOR-BIC/ALBA | b574968b05d9a3a2756dd2ac61d015a0d20232a4 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | Operations/albaOpClassicICPRegistration.cpp | IOR-BIC/ALBA | b574968b05d9a3a2756dd2ac61d015a0d20232a4 | [
"Apache-2.0",
"BSD-3-Clause"
] | 3 | 2018-06-10T22:56:29.000Z | 2019-12-12T06:22:56.000Z | /*=========================================================================
Program: ALBA (Agile Library for Biomedical Applications)
Module: albaOpClassicICPRegistration
Authors: Stefania Paperini, Stefano Perticoni, porting Matteo Giacomoni
Copyright (c) BIC
All rights reserved. See Copyright.txt or
This s... | 31.968085 | 111 | 0.542207 | IOR-BIC |
7b5ef3f45bf9f989c62b3eb00f546ddb2663fceb | 5,040 | hpp | C++ | sources/Framework/Tools/spStoryboard.hpp | rontrek/softpixel | 73a13a67e044c93f5c3da9066eedbaf3805d6807 | [
"Zlib"
] | 14 | 2015-08-16T21:05:20.000Z | 2019-08-21T17:22:01.000Z | sources/Framework/Tools/spStoryboard.hpp | rontrek/softpixel | 73a13a67e044c93f5c3da9066eedbaf3805d6807 | [
"Zlib"
] | null | null | null | sources/Framework/Tools/spStoryboard.hpp | rontrek/softpixel | 73a13a67e044c93f5c3da9066eedbaf3805d6807 | [
"Zlib"
] | 3 | 2020-02-15T09:17:41.000Z | 2020-05-21T14:10:40.000Z | /*
* Storyboard header
*
* This file is part of the "SoftPixel Engine" (Copyright (c) 2008 by Lukas Hermanns)
* See "SoftPixelEngine.hpp" for license information.
*/
#ifndef __SP_STORYBOARD_H__
#define __SP_STORYBOARD_H__
#include "Base/spStandard.hpp"
#ifdef SP_COMPILE_WITH_STORYBOARD
#include "Framework/T... | 27.845304 | 118 | 0.544444 | rontrek |
7b66ef8030c8421f381736683b616af59b1c053d | 976 | cpp | C++ | src/stable/condition.cpp | zippy/libbu | 6c79102419f9e79d25751fefc155f746496f4b50 | [
"BSD-3-Clause"
] | 1 | 2020-02-20T23:15:54.000Z | 2020-02-20T23:15:54.000Z | src/stable/condition.cpp | zippy/libbu | 6c79102419f9e79d25751fefc155f746496f4b50 | [
"BSD-3-Clause"
] | null | null | null | src/stable/condition.cpp | zippy/libbu | 6c79102419f9e79d25751fefc155f746496f4b50 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (C) 2007-2013 Xagasoft, All rights reserved.
*
* This file is part of the libbu++ library and is released under the
* terms of the license contained in the file LICENSE.
*/
#include <sys/time.h>
#include "bu/condition.h"
Bu::Condition::Condition()
{
pthread_cond_init( &cond, NULL );
}
Bu::Co... | 19.52 | 73 | 0.664959 | zippy |
7b6b78c8bd174ed04ec9dc3b68d77719dc50f538 | 2,023 | cpp | C++ | commander/hints.cpp | alamb/aal_commander | 98904febdd1da0e17cbdc1f15669197e74d997de | [
"BSD-2-Clause",
"MIT"
] | null | null | null | commander/hints.cpp | alamb/aal_commander | 98904febdd1da0e17cbdc1f15669197e74d997de | [
"BSD-2-Clause",
"MIT"
] | null | null | null | commander/hints.cpp | alamb/aal_commander | 98904febdd1da0e17cbdc1f15669197e74d997de | [
"BSD-2-Clause",
"MIT"
] | null | null | null | #include "hints.h"
#include "parsed_line.h"
#include <algorithm>
const int Hints::COLOR_MAGENTA = 35;
const int Hints::COLOR_RED = 31;
const int Hints::COLOR_GREEN = 32;
Hints::Hints()
{
}
// create the expected hints from a set of possibilities
Hints::Hints(const Parsed_line &line, const std::vector<std::st... | 27.712329 | 88 | 0.512605 | alamb |
7b7108a927f6aeadb188551b6509b64d506056f6 | 1,299 | cpp | C++ | Source/Source/block.cpp | JuanDiegoMontoya/2D_Game_Engine | b2b026de9d5e0953331cb5a4db55bb6cacf5b55e | [
"MIT"
] | 3 | 2021-07-12T08:06:13.000Z | 2021-12-22T15:03:09.000Z | Source/Source/block.cpp | JuanDiegoMontoya/3D_Voxel_Engine | b2b026de9d5e0953331cb5a4db55bb6cacf5b55e | [
"MIT"
] | null | null | null | Source/Source/block.cpp | JuanDiegoMontoya/3D_Voxel_Engine | b2b026de9d5e0953331cb5a4db55bb6cacf5b55e | [
"MIT"
] | 2 | 2021-02-07T04:20:51.000Z | 2021-07-12T08:06:14.000Z | #include "stdafx.h"
#include "pipeline.h"
#include "block.h"
const std::vector<BlockProperties> Block::PropertiesTable =
{
{BlockProperties("air", {0, 0, 0, 0}, Visibility::Invisible)},
{BlockProperties("stone", {0, 0, 0, 0})},
{BlockProperties("dirt", {0, 0, 0, 0}, Visibility::Opaque)},
... | 44.793103 | 71 | 0.555812 | JuanDiegoMontoya |
7b77473424a6251452e5e6a721e952b3f91e3440 | 234 | hh | C++ | src/elle/cryptography/dsa/fwd.hh | infinitio/elle | d9bec976a1217137436db53db39cda99e7024ce4 | [
"Apache-2.0"
] | 521 | 2016-02-14T00:39:01.000Z | 2022-03-01T22:39:25.000Z | src/elle/cryptography/dsa/fwd.hh | infinitio/elle | d9bec976a1217137436db53db39cda99e7024ce4 | [
"Apache-2.0"
] | 8 | 2017-02-21T11:47:33.000Z | 2018-11-01T09:37:14.000Z | src/elle/cryptography/dsa/fwd.hh | infinitio/elle | d9bec976a1217137436db53db39cda99e7024ce4 | [
"Apache-2.0"
] | 48 | 2017-02-21T10:18:13.000Z | 2022-03-25T02:35:20.000Z | #ifndef ELLE_CRYPTOGRAPHY_DSA_FWD_HH
# define ELLE_CRYPTOGRAPHY_DSA_FWD_HH
namespace elle
{
namespace cryptography
{
namespace dsa
{
class PrivateKey;
class PublicKey;
class KeyPair;
}
}
}
#endif
| 13 | 37 | 0.683761 | infinitio |
7b7f453a9ac4f03a38a5042b2e033dc6c86b48b4 | 4,102 | hpp | C++ | modules/cuml/src/node_cuml/umap.hpp | love-lena/node-rapids | 27c9e2468372df4fae3779d859089b54c8d32c4f | [
"Apache-2.0"
] | 1 | 2021-06-24T23:08:49.000Z | 2021-06-24T23:08:49.000Z | modules/cuml/src/node_cuml/umap.hpp | love-lena/node-rapids | 27c9e2468372df4fae3779d859089b54c8d32c4f | [
"Apache-2.0"
] | null | null | null | modules/cuml/src/node_cuml/umap.hpp | love-lena/node-rapids | 27c9e2468372df4fae3779d859089b54c8d32c4f | [
"Apache-2.0"
] | null | null | null | // Copyright (c) 2021, NVIDIA 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.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or ... | 38.336449 | 92 | 0.70941 | love-lena |
7b80841d149060e600a5c3fd3f1b15647d9e90be | 3,550 | cpp | C++ | Source/Projects/GoddamnCore/Source/GoddamnEngine/Core/Platform/Posix/PosixPlatformAllocator.cpp | GoddamnIndustries/GoddamnEngine | 018c6582f6a2ebcba2c59693c677744434d66b20 | [
"MIT"
] | 4 | 2015-07-05T16:46:12.000Z | 2021-02-04T09:32:47.000Z | Source/Projects/GoddamnCore/Source/GoddamnEngine/Core/Platform/Posix/PosixPlatformAllocator.cpp | GoddamnIndustries/GoddamnEngine | 018c6582f6a2ebcba2c59693c677744434d66b20 | [
"MIT"
] | null | null | null | Source/Projects/GoddamnCore/Source/GoddamnEngine/Core/Platform/Posix/PosixPlatformAllocator.cpp | GoddamnIndustries/GoddamnEngine | 018c6582f6a2ebcba2c59693c677744434d66b20 | [
"MIT"
] | 1 | 2017-01-27T22:49:12.000Z | 2017-01-27T22:49:12.000Z | // ==========================================================================================
// Copyright (C) Goddamn Industries 2018. All Rights Reserved.
//
// This software or any its part is distributed under terms of Goddamn Industries End User
// License Agreement. By downloading or using this software or any it... | 33.809524 | 152 | 0.581972 | GoddamnIndustries |
7b8311270285f799b8c9171660ce54b57b4e6c06 | 7,425 | cpp | C++ | plugin/com.blackberry.pim.calendar/src/blackberry10/native/account_folder_mgr.cpp | timwindsor/cordova-blackberry-plugins | a3e9e7d22f54d464647e60ef3ec574b324a5972e | [
"Apache-2.0"
] | 5 | 2015-03-04T00:17:54.000Z | 2019-06-27T13:36:05.000Z | plugin/com.blackberry.pim.calendar/src/blackberry10/native/account_folder_mgr.cpp | timwindsor/cordova-blackberry-plugins | a3e9e7d22f54d464647e60ef3ec574b324a5972e | [
"Apache-2.0"
] | 6 | 2015-02-09T21:33:52.000Z | 2017-06-02T16:19:26.000Z | plugin/com.blackberry.pim.calendar/src/blackberry10/native/account_folder_mgr.cpp | timwindsor/cordova-blackberry-plugins | a3e9e7d22f54d464647e60ef3ec574b324a5972e | [
"Apache-2.0"
] | 10 | 2015-01-27T22:58:19.000Z | 2019-02-15T19:07:01.000Z | /*
* Copyright 2012 Research In Motion Limited.
*
* 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 o... | 31.197479 | 122 | 0.677037 | timwindsor |
7b8a3842b48d53f72e2558800c73c066eb45cca2 | 537 | hpp | C++ | LPI/aula18/include/Conta.hpp | dayvisonmsilva/LPI | 0e3186e03b0ed438795f513dd968911c6845f5e4 | [
"Apache-2.0"
] | null | null | null | LPI/aula18/include/Conta.hpp | dayvisonmsilva/LPI | 0e3186e03b0ed438795f513dd968911c6845f5e4 | [
"Apache-2.0"
] | null | null | null | LPI/aula18/include/Conta.hpp | dayvisonmsilva/LPI | 0e3186e03b0ed438795f513dd968911c6845f5e4 | [
"Apache-2.0"
] | null | null | null | #ifndef CONTA_HPP
#define CONTA_HPP
#include <iostream>
#include <string>
#include "ClientePF.hpp"
#include "Agencia.hpp"
class Conta {
public:
int numero;
double saldo;
ClientePF titular;
Agencia agencia;
static int quantidadeContas;
Conta(int numero, double sald... | 20.653846 | 76 | 0.625698 | dayvisonmsilva |
7b8fd6a2445848a584066049efd9f87e2c5ab6f9 | 7,597 | cpp | C++ | es-core/src/guis/GuiTextEditPopupKeyboard.cpp | tlanks/esbusyness | 41ed9e6b552585476c81f2f89b9e3d539c54d4ab | [
"Apache-2.0",
"MIT"
] | 10 | 2016-08-08T17:50:18.000Z | 2019-03-08T02:54:13.000Z | es-core/src/guis/GuiTextEditPopupKeyboard.cpp | tlanks/esbusyness | 41ed9e6b552585476c81f2f89b9e3d539c54d4ab | [
"Apache-2.0",
"MIT"
] | 7 | 2016-08-10T03:07:30.000Z | 2018-10-10T15:24:40.000Z | es-core/src/guis/GuiTextEditPopupKeyboard.cpp | tlanks/esbusyness | 41ed9e6b552585476c81f2f89b9e3d539c54d4ab | [
"Apache-2.0",
"MIT"
] | 16 | 2016-08-09T02:11:02.000Z | 2019-09-24T10:17:56.000Z | #include "guis/GuiTextEditPopupKeyboard.h"
#include "components/MenuComponent.h"
#include "Log.h"
#include <locale>
using namespace Eigen;
GuiTextEditPopupKeyboard::GuiTextEditPopupKeyboard(Window* window, const std::string& title, const std::string& initValue,
const std::function<void(const std::string&)>& okCallb... | 31.008163 | 161 | 0.673029 | tlanks |
7b9277cc62bf704d88aeec6b268dfec84e64bc88 | 1,471 | cpp | C++ | TOPCODER/TC510/1000.cpp | henviso/contests | aa8a5ce9ed4524e6c3130ee73af7640e5a86954c | [
"Apache-2.0"
] | null | null | null | TOPCODER/TC510/1000.cpp | henviso/contests | aa8a5ce9ed4524e6c3130ee73af7640e5a86954c | [
"Apache-2.0"
] | null | null | null | TOPCODER/TC510/1000.cpp | henviso/contests | aa8a5ce9ed4524e6c3130ee73af7640e5a86954c | [
"Apache-2.0"
] | null | null | null | #include <iostream>
#include <string>
#include <algorithm>
#include <vector>
#include <bitset>
#include <cstring>
#define ALL(x) (x).begin(),x.end()
#define CLEAR(v, x) memset(v, x, sizeof(v))
#define CLEAR0(v) memset(v, 0, sizeof(v))
#define REP(i,n) for(int i = 0; i<n; i++)
#define REPP(i,a,n) for(int i = a; i<n; i+... | 19.613333 | 95 | 0.561523 | henviso |
7b93bd41a69723a90eb3aac380418d5ee34f46c4 | 1,576 | cpp | C++ | aws-cpp-sdk-migrationhubstrategy/source/model/ApplicationComponentSummary.cpp | perfectrecall/aws-sdk-cpp | fb8cbebf2fd62720b65aeff841ad2950e73d8ebd | [
"Apache-2.0"
] | 1 | 2022-02-10T08:06:54.000Z | 2022-02-10T08:06:54.000Z | aws-cpp-sdk-migrationhubstrategy/source/model/ApplicationComponentSummary.cpp | perfectrecall/aws-sdk-cpp | fb8cbebf2fd62720b65aeff841ad2950e73d8ebd | [
"Apache-2.0"
] | 1 | 2021-10-14T16:57:00.000Z | 2021-10-18T10:47:24.000Z | aws-cpp-sdk-migrationhubstrategy/source/model/ApplicationComponentSummary.cpp | ravindra-wagh/aws-sdk-cpp | 7d5ff01b3c3b872f31ca98fb4ce868cd01e97696 | [
"Apache-2.0"
] | 1 | 2021-11-09T12:02:58.000Z | 2021-11-09T12:02:58.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/migrationhubstrategy/model/ApplicationComponentSummary.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::Utils::Json;
using namespace Aws::Util... | 20.205128 | 88 | 0.74302 | perfectrecall |
7ba6643acb5627d77daf358dd1a493aaaaafb894 | 4,830 | cpp | C++ | osquery/tables/applications/windows/carbon_black.cpp | justintime32/osquery | 721dd1ed624b25738c2471dae617d7868df8fb0d | [
"BSD-3-Clause"
] | 23 | 2016-12-07T15:26:58.000Z | 2019-07-18T21:39:06.000Z | osquery/tables/applications/windows/carbon_black.cpp | justintime32/osquery | 721dd1ed624b25738c2471dae617d7868df8fb0d | [
"BSD-3-Clause"
] | 4 | 2016-12-07T06:18:36.000Z | 2017-01-19T19:39:38.000Z | osquery/tables/applications/windows/carbon_black.cpp | justintime32/osquery | 721dd1ed624b25738c2471dae617d7868df8fb0d | [
"BSD-3-Clause"
] | 5 | 2017-06-26T11:54:37.000Z | 2019-02-18T01:23:02.000Z | /*
* Copyright (c) 2014-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
*/
#in... | 33.082192 | 79 | 0.634783 | justintime32 |
7ba68af90a71564dac5092dc6c23b9a199d4f5ed | 16,631 | cpp | C++ | level_zero/tools/source/tracing/tracing_device_imp.cpp | 8tab/compute-runtime | 71bd96ad7184df83c7af04ffa8e0d6678ab26f99 | [
"MIT"
] | 1 | 2020-04-17T05:46:04.000Z | 2020-04-17T05:46:04.000Z | level_zero/tools/source/tracing/tracing_device_imp.cpp | 8tab/compute-runtime | 71bd96ad7184df83c7af04ffa8e0d6678ab26f99 | [
"MIT"
] | null | null | null | level_zero/tools/source/tracing/tracing_device_imp.cpp | 8tab/compute-runtime | 71bd96ad7184df83c7af04ffa8e0d6678ab26f99 | [
"MIT"
] | 1 | 2020-05-25T21:57:51.000Z | 2020-05-25T21:57:51.000Z | /*
* Copyright (C) 2019-2020 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "level_zero/tools/source/tracing/tracing_imp.h"
__zedllexport ze_result_t __zecall
zeDeviceGet_Tracing(ze_driver_handle_t hDriver,
uint32_t *pCount,
ze_device_handle_t *phDevices)... | 46.716292 | 137 | 0.622031 | 8tab |
7bb105878ce9b128cf4fefd20d1c11f0556c07f9 | 714 | cpp | C++ | codeforces/489/C.cpp | amitdu6ey/Online-Judge-Submissions | 9585aec29228211454bca5cf1d5738f49fb0aa8f | [
"MIT"
] | 5 | 2020-06-30T12:44:25.000Z | 2021-07-14T06:35:57.000Z | codeforces/489/C.cpp | amitdu6ey/Online-Judge-Submissions | 9585aec29228211454bca5cf1d5738f49fb0aa8f | [
"MIT"
] | null | null | null | codeforces/489/C.cpp | amitdu6ey/Online-Judge-Submissions | 9585aec29228211454bca5cf1d5738f49fb0aa8f | [
"MIT"
] | null | null | null | #include<bits/stdc++.h>
using namespace std;
int main(){
int m,s,tmp;
cin>>m>>s;
tmp=s;
vector<int> arr(m,0);
vector<int> vec(m,0);
if(s==0 && m==1){
cout<<0<<" "<<0;
return 0;
}
if(s==0){
cout<<-1<<" "<<-1;
return 0;
}
if(s>9*m){
cout<<-1<<" "<<-1;
return 0;
}
for(int i=0;i<m;i++){... | 12.101695 | 25 | 0.442577 | amitdu6ey |
7bb3195b212022e8e90b9bfc9b0b3a0d2b3f8bb3 | 624 | cpp | C++ | Chapter-6-Functions/Other/using-static-variable-within-for-loop-scope.cpp | jesushilarioh/C-Plus-Plus | bbff921460ac4267af48558f040c7d82ccf42d5e | [
"MIT"
] | 3 | 2019-10-28T01:12:46.000Z | 2021-10-16T09:16:31.000Z | Chapter-6-Functions/using-static-variable-within-for-loop-scope.cpp | jesushilariohernandez/DelMarCSi.cpp | 6dd7905daea510452691fd25b0e3b0d2da0b06aa | [
"MIT"
] | null | null | null | Chapter-6-Functions/using-static-variable-within-for-loop-scope.cpp | jesushilariohernandez/DelMarCSi.cpp | 6dd7905daea510452691fd25b0e3b0d2da0b06aa | [
"MIT"
] | 4 | 2020-04-10T17:22:17.000Z | 2021-11-04T14:34:00.000Z | //***********************************************************
// This program uses a static local variable.
//
// By: Jesus Hilario Hernandez
// Last Updated: October 22nd, 2016
//***********************************************************
#include <iostream>
using namespace std;
void showVar(); // Function prototype
... | 19.5 | 61 | 0.408654 | jesushilarioh |
7bbc81d28f8e03c65e9b28f95f32f724bd694b37 | 3,023 | cpp | C++ | watorword/redis_entry.cpp | WatorVapor/wai.native.wator | e048df159e2952c143f8832264b20da20dcd88fa | [
"MIT"
] | null | null | null | watorword/redis_entry.cpp | WatorVapor/wai.native.wator | e048df159e2952c143f8832264b20da20dcd88fa | [
"MIT"
] | null | null | null | watorword/redis_entry.cpp | WatorVapor/wai.native.wator | e048df159e2952c143f8832264b20da20dcd88fa | [
"MIT"
] | null | null | null | #include "redis_entry.hpp"
#include "log.hpp"
const string strConstTrainChannelName("wai.train");
const string strConstTrainResponseChannelName("wai.train.response");
#include<memory>
#include <chrono>
#include <thread>
#include <atomic>
void redis_sub_main(void) {
for(;;) {
try{
boost::asio::io_service ... | 29.637255 | 132 | 0.634469 | WatorVapor |
dcf081f30c3214d93be8518c130bdec2c69d37c2 | 369 | hh | C++ | Mu2eInterfaces/inc/ConditionsEntity.hh | lborrel/Offline | db9f647bad3c702171ab5ffa5ccc04c82b3f8984 | [
"Apache-2.0"
] | 9 | 2020-03-28T00:21:41.000Z | 2021-12-09T20:53:26.000Z | Mu2eInterfaces/inc/ConditionsEntity.hh | lborrel/Offline | db9f647bad3c702171ab5ffa5ccc04c82b3f8984 | [
"Apache-2.0"
] | 684 | 2019-08-28T23:37:43.000Z | 2022-03-31T22:47:45.000Z | Mu2eInterfaces/inc/ConditionsEntity.hh | lborrel/Offline | db9f647bad3c702171ab5ffa5ccc04c82b3f8984 | [
"Apache-2.0"
] | 61 | 2019-08-16T23:28:08.000Z | 2021-12-20T08:29:48.000Z | #ifndef ConditionsService_ConditionsEntity_hh
#define ConditionsService_ConditionsEntity_hh
//
// A base class for objects held by the conditions data system.
//
//
// Original author Rob Kutschke
//
#include <string>
namespace mu2e
{
class ConditionsEntity
{
public:
virtual ~ConditionsEntity();
};
}
#e... | 16.043478 | 63 | 0.753388 | lborrel |
dcf109a17a49b4b6bc0ff5da68abb564bf92c62a | 1,106 | cpp | C++ | parameteroptimization/src/Common.cpp | BioroboticsLab/parameteroptimization | 47d094bb76ba0f46a9048b306c93f03a1fc48e2b | [
"MIT"
] | 1 | 2018-09-17T17:28:10.000Z | 2018-09-17T17:28:10.000Z | parameteroptimization/src/Common.cpp | BioroboticsLab/parameteroptimization | 47d094bb76ba0f46a9048b306c93f03a1fc48e2b | [
"MIT"
] | 4 | 2015-09-11T16:40:45.000Z | 2017-01-30T12:23:08.000Z | parameteroptimization/src/Common.cpp | BioroboticsLab/parameteroptimization | 47d094bb76ba0f46a9048b306c93f03a1fc48e2b | [
"MIT"
] | null | null | null | #include "Common.h"
namespace opt {
bool operator<(const opt::OptimizationResult &a, const opt::OptimizationResult &b) {
return a.fscore > b.fscore;
}
double getFScore(const double recall, const double precision, const double beta) {
return ((1 + std::pow(beta, 2)) *
((precision * recall) / (std::pow(beta... | 31.6 | 103 | 0.692586 | BioroboticsLab |
dcf5136bf9ef47d406dfa55ed10117060d1e2654 | 1,130 | cpp | C++ | src/Equations/Fluid/SPIHeatAbsorbtionTerm.cpp | chalmersplasmatheory/DREAM | 715637ada94f5e35db16f23c2fd49bb7401f4a27 | [
"MIT"
] | 12 | 2020-09-07T11:19:10.000Z | 2022-02-17T17:40:19.000Z | src/Equations/Fluid/SPIHeatAbsorbtionTerm.cpp | chalmersplasmatheory/DREAM | 715637ada94f5e35db16f23c2fd49bb7401f4a27 | [
"MIT"
] | 110 | 2020-09-02T15:29:24.000Z | 2022-03-09T09:50:01.000Z | src/Equations/Fluid/SPIHeatAbsorbtionTerm.cpp | chalmersplasmatheory/DREAM | 715637ada94f5e35db16f23c2fd49bb7401f4a27 | [
"MIT"
] | 3 | 2021-05-21T13:24:31.000Z | 2022-02-11T14:43:12.000Z | /**
* Implementation of the pellet ablation term (takes ablation rate provided by SPIHandler).
*/
#include "DREAM/Equations/Fluid/SPIHeatAbsorbtionTerm.hpp"
using namespace DREAM;
SPIHeatAbsorbtionTerm::SPIHeatAbsorbtionTerm(
FVM::Grid* g, SPIHandler *SPI, real_t scaleFactor=1.0
): EquationTerm(g),SPI(SPI), sc... | 29.736842 | 112 | 0.751327 | chalmersplasmatheory |
dcf5486a88eef9e5bae14cdd119affa7fee2f17b | 482 | hpp | C++ | Include/Uplink/core/platform.hpp | Team-AllyHyeseongKim/http-image-server4bundle-fusion-scanner | 2a6c196aeb9bacd2c88a0bb6a8bbadd04afca260 | [
"RSA-MD"
] | null | null | null | Include/Uplink/core/platform.hpp | Team-AllyHyeseongKim/http-image-server4bundle-fusion-scanner | 2a6c196aeb9bacd2c88a0bb6a8bbadd04afca260 | [
"RSA-MD"
] | null | null | null | Include/Uplink/core/platform.hpp | Team-AllyHyeseongKim/http-image-server4bundle-fusion-scanner | 2a6c196aeb9bacd2c88a0bb6a8bbadd04afca260 | [
"RSA-MD"
] | null | null | null | #pragma once
#include "platform.h"
namespace uplink {
inline
TCPConnection::TCPConnection ()
: disconnecting(false)
{
}
inline
TCPConnection::~TCPConnection ()
{
}
inline TCPConnection*
TCPConnection::connect (CString host, uint16 port)
{
ScopedProfiledTask _(ProfilerTask_TCPConnection);
return TCPConnect... | 14.606061 | 53 | 0.757261 | Team-AllyHyeseongKim |
0d02ac9764cf49396e551acdd93a9e3a5fbce536 | 12,217 | hpp | C++ | src/HTJ2KDecoder.hpp | chafey/openjphjs | d24644b395f00395a7c99a7208852e7157d4a8f5 | [
"MIT"
] | 13 | 2020-05-03T00:33:25.000Z | 2022-02-23T01:29:14.000Z | src/HTJ2KDecoder.hpp | chafey/openjphjs | d24644b395f00395a7c99a7208852e7157d4a8f5 | [
"MIT"
] | 1 | 2021-06-05T18:40:24.000Z | 2022-02-23T01:27:03.000Z | src/HTJ2KDecoder.hpp | chafey/openjphjs | d24644b395f00395a7c99a7208852e7157d4a8f5 | [
"MIT"
] | 2 | 2020-05-08T04:10:49.000Z | 2021-03-22T17:53:41.000Z | // Copyright (c) Chris Hafey.
// SPDX-License-Identifier: MIT
#pragma once
#include <exception>
#include <memory>
#include <limits.h>
#include <ojph_arch.h>
#include <ojph_file.h>
#include <ojph_mem.h>
#include <ojph_params.h>
#include <ojph_codestream.h>
#ifdef __EMSCRIPTEN__
#include <emscripten/val.h>
#endif
#i... | 33.563187 | 145 | 0.641238 | chafey |
0d036d665e1b6943190b571435de0286aca76c99 | 2,211 | cpp | C++ | src/tool/Window.cpp | qcoumes/OpenGL_GLEW_SLD2_Template | 1411e25bcebaa9117e41667202e2f18a008e427d | [
"MIT"
] | 1 | 2021-01-12T16:58:05.000Z | 2021-01-12T16:58:05.000Z | src/tool/Window.cpp | qcoumes/mastercraft | 5ee36fde6eab80d18075970eff47b4a5c45143f5 | [
"MIT"
] | null | null | null | src/tool/Window.cpp | qcoumes/mastercraft | 5ee36fde6eab80d18075970eff47b4a5c45143f5 | [
"MIT"
] | 1 | 2020-03-23T19:17:06.000Z | 2020-03-23T19:17:06.000Z | #include <iostream>
#include <SDL.h>
#include <tool/Window.hpp>
namespace tool {
Window::Window(const char *title, uint32_t flags) {
if (0 != SDL_Init(SDL_INIT_VIDEO)) {
throw std::runtime_error(SDL_GetError());
}
this->window = SDL_CreateWindow(
... | 26.011765 | 87 | 0.557666 | qcoumes |
0d0413addb282ceb567e38953e5bb993440fa91e | 412 | hpp | C++ | core/src/api/enum_from_string.hpp | RomanWlm/lib-ledger-core | 8c068fccb074c516096abb818a4e20786e02318b | [
"MIT"
] | 92 | 2016-11-13T01:28:34.000Z | 2022-03-25T01:11:37.000Z | core/src/api/enum_from_string.hpp | RomanWlm/lib-ledger-core | 8c068fccb074c516096abb818a4e20786e02318b | [
"MIT"
] | 242 | 2016-11-28T11:13:09.000Z | 2022-03-04T13:02:53.000Z | core/src/api/enum_from_string.hpp | RomanWlm/lib-ledger-core | 8c068fccb074c516096abb818a4e20786e02318b | [
"MIT"
] | 91 | 2017-06-20T10:35:28.000Z | 2022-03-09T14:15:40.000Z | // AUTOGENERATED FILE - DO NOT MODIFY!
// This file generated by Djinni from tezos_like_wallet.djinni
#ifndef DJINNI_GENERATED_ENUM_FROM_STRING_HPP
#define DJINNI_GENERATED_ENUM_FROM_STRING_HPP
#include <string>
namespace ledger { namespace core { namespace api {
template <typename T>
T from_string(const std::stri... | 25.75 | 62 | 0.791262 | RomanWlm |
0d04ab99c836bdbe1fa000e1665b7fc6e2b00d81 | 2,649 | hh | C++ | app/demo-loop/KernelUtils.hh | amandalund/celeritas | c631594b00c040d5eb4418fa2129f88c01e29316 | [
"Apache-2.0",
"MIT"
] | null | null | null | app/demo-loop/KernelUtils.hh | amandalund/celeritas | c631594b00c040d5eb4418fa2129f88c01e29316 | [
"Apache-2.0",
"MIT"
] | null | null | null | app/demo-loop/KernelUtils.hh | amandalund/celeritas | c631594b00c040d5eb4418fa2129f88c01e29316 | [
"Apache-2.0",
"MIT"
] | null | null | null | //----------------------------------*-C++-*----------------------------------//
// Copyright 2021 UT-Battelle, LLC, and other Celeritas developers.
// See the top-level COPYRIGHT file for details.
// SPDX-License-Identifier: (Apache-2.0 OR MIT)
//-------------------------------------------------------------------------... | 49.055556 | 80 | 0.365043 | amandalund |
0d092925377633b5e1cf9fe4a203337e44f40a09 | 9,210 | cpp | C++ | BasicPlatform/BasicPlatform/Intermediate/Build/Win64/UE4Editor/Inc/BasicPlatform/BasicPlatformCharacter.gen.cpp | JCharlieDev/Unreal-Projects | fd3d97fc41b45d0f826b2c096f5e377d504ae023 | [
"MIT"
] | null | null | null | BasicPlatform/BasicPlatform/Intermediate/Build/Win64/UE4Editor/Inc/BasicPlatform/BasicPlatformCharacter.gen.cpp | JCharlieDev/Unreal-Projects | fd3d97fc41b45d0f826b2c096f5e377d504ae023 | [
"MIT"
] | null | null | null | BasicPlatform/BasicPlatform/Intermediate/Build/Win64/UE4Editor/Inc/BasicPlatform/BasicPlatformCharacter.gen.cpp | JCharlieDev/Unreal-Projects | fd3d97fc41b45d0f826b2c096f5e377d504ae023 | [
"MIT"
] | null | null | null | // Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
/*===========================================================================
Generated code exported from UnrealHeaderTool.
DO NOT modify this manually! Edit the corresponding .h files instead!
==============================================================... | 60.993377 | 579 | 0.821716 | JCharlieDev |
0d0e9e7b61c5275d8b190ac4fd624deea19c2cff | 763 | hpp | C++ | include/tudocomp/Decompressor.hpp | 421408/tudocomp | 9634742393995acdde148b0412f083bfdd0fbe9f | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2020-09-22T11:29:02.000Z | 2020-09-22T11:29:02.000Z | include/tudocomp/Decompressor.hpp | 421408/tudocomp | 9634742393995acdde148b0412f083bfdd0fbe9f | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | include/tudocomp/Decompressor.hpp | 421408/tudocomp | 9634742393995acdde148b0412f083bfdd0fbe9f | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2020-09-29T08:57:13.000Z | 2020-09-29T08:57:13.000Z | #pragma once
#include <tudocomp/io.hpp>
#include <tudocomp/Algorithm.hpp>
namespace tdc {
/// \brief Base for decompressors.
class Decompressor : public Algorithm {
public:
static inline constexpr TypeDesc type_desc() {
return TypeDesc("decompressor");
}
virtual ~Decompressor() = default;
De... | 23.84375 | 62 | 0.682831 | 421408 |
0d12be007c5aa5f76c2b558a1bb3ca39338549ec | 733 | hpp | C++ | onychophora/Worm.hpp | renato-grottesi/arduboy | 7bf33ef64a18b0ae783819e2a4e498b5ab442bdd | [
"MIT"
] | 6 | 2019-11-18T02:23:15.000Z | 2021-05-16T19:24:15.000Z | onychophora/Worm.hpp | renato-grottesi/arduboy | 7bf33ef64a18b0ae783819e2a4e498b5ab442bdd | [
"MIT"
] | 39 | 2019-08-28T21:53:40.000Z | 2020-03-08T17:54:18.000Z | onychophora/Worm.hpp | renato-grottesi/arduboy | 7bf33ef64a18b0ae783819e2a4e498b5ab442bdd | [
"MIT"
] | 2 | 2019-08-28T18:57:00.000Z | 2021-12-10T20:11:18.000Z | #pragma once
#include "Utility.hpp"
/* Class that implements the worm. */
class Worm {
public:
Worm(Arduboy2& arduboy) : arduboy(arduboy) {}
bool moveTo(Cell newHead, bool enlarge, bool shorten);
void render();
void addPiece(Cell c);
void reset(Cell c);
Cell getHead() { return cells[0]; }
bool fall(uin... | 22.90625 | 70 | 0.678035 | renato-grottesi |
0d13ee9fa0ba1e1be0d19b66637ef55d8a764013 | 3,520 | hpp | C++ | Pods/OpenVPNAdapter/Sources/OpenVPN3/openvpn/mbedtls/crypto/hmac.hpp | TiagoPedroByterev/openvpnclient-ios | a9dafb2a481cc72a3e408535fb7f0aba9f5cfa76 | [
"MIT"
] | 10 | 2021-03-29T13:52:06.000Z | 2022-03-10T02:24:25.000Z | Pods/OpenVPNAdapter/Sources/OpenVPN3/openvpn/mbedtls/crypto/hmac.hpp | TiagoPedroByterev/openvpnclient-ios | a9dafb2a481cc72a3e408535fb7f0aba9f5cfa76 | [
"MIT"
] | 1 | 2019-07-19T02:40:32.000Z | 2019-07-19T02:40:32.000Z | Pods/OpenVPNAdapter/Sources/OpenVPN3/openvpn/mbedtls/crypto/hmac.hpp | TiagoPedroByterev/openvpnclient-ios | a9dafb2a481cc72a3e408535fb7f0aba9f5cfa76 | [
"MIT"
] | 7 | 2018-07-11T10:37:02.000Z | 2019-08-03T10:34:08.000Z | // OpenVPN -- An application to securely tunnel IP networks
// over a single port, with support for SSL/TLS-based
// session authentication and key exchange,
// packet encryption, packet authentication, and
// packet compression.
//
// Copyright (C) 2012-201... | 26.074074 | 97 | 0.67358 | TiagoPedroByterev |
0d15a537a0f08194d2c3c9ed6e3ccfcde7482dc5 | 5,051 | cpp | C++ | source/utils/network/tests/network_serializer_test.cpp | gummikana/poro | 70162aca06ca5a1d4f92b8d01728e1764e4c6873 | [
"Zlib"
] | 3 | 2015-02-09T15:31:32.000Z | 2022-03-06T20:49:48.000Z | source/utils/network/tests/network_serializer_test.cpp | gummikana/poro | 70162aca06ca5a1d4f92b8d01728e1764e4c6873 | [
"Zlib"
] | null | null | null | source/utils/network/tests/network_serializer_test.cpp | gummikana/poro | 70162aca06ca5a1d4f92b8d01728e1764e4c6873 | [
"Zlib"
] | 2 | 2019-09-26T22:00:16.000Z | 2019-10-03T22:02:43.000Z | /***************************************************************************
*
* Copyright (c) 2003 - 2011 Petri Purho
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
* Permissi... | 23.602804 | 87 | 0.636112 | gummikana |
0d15de21ac87dc73c3fbecb63ee0bdc0b8031b54 | 12,222 | cpp | C++ | src/cpu/sc61860/ops.cpp | gameblabla/mame_nspire | 83dfe1606aba906bd28608f2cb8f0754492ac3da | [
"Unlicense"
] | 51 | 2015-11-22T14:53:28.000Z | 2021-12-14T07:17:42.000Z | src/cpu/sc61860/ops.cpp | gameblabla/mame_nspire | 83dfe1606aba906bd28608f2cb8f0754492ac3da | [
"Unlicense"
] | 13 | 2015-08-25T03:53:08.000Z | 2022-03-30T18:02:35.000Z | src/cpu/sc61860/ops.cpp | gameblabla/mame_nspire | 83dfe1606aba906bd28608f2cb8f0754492ac3da | [
"Unlicense"
] | 40 | 2015-08-25T05:09:21.000Z | 2022-02-08T05:02:30.000Z | INLINE UINT8 READ_OP(void)
{
return cpu_readop(sc61860.pc++);
}
INLINE UINT8 READ_OP_ARG(void)
{
return cpu_readop_arg(sc61860.pc++);
}
INLINE UINT16 READ_OP_ARG_WORD(void)
{
UINT16 t=cpu_readop(sc61860.pc++)<<8;
t|=cpu_readop(sc61860.pc++);
return t;
}
INLINE UINT8 READ_BYTE(UINT16 adr)
{
return cpu_readme... | 19.15674 | 85 | 0.665276 | gameblabla |
0d1914c3d0d36c6153f28a6c46f332d285557125 | 1,185 | cpp | C++ | cpp/src/server/photos_handler/photo_item.cpp | ppearson/WebServe_partial | 8fe5422d54c38c4a1865d1f1dca2d879f6dcd2d9 | [
"Apache-2.0"
] | null | null | null | cpp/src/server/photos_handler/photo_item.cpp | ppearson/WebServe_partial | 8fe5422d54c38c4a1865d1f1dca2d879f6dcd2d9 | [
"Apache-2.0"
] | null | null | null | cpp/src/server/photos_handler/photo_item.cpp | ppearson/WebServe_partial | 8fe5422d54c38c4a1865d1f1dca2d879f6dcd2d9 | [
"Apache-2.0"
] | null | null | null | /*
WebServe
Copyright 2018-2022 Peter Pearson.
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 w... | 25.212766 | 89 | 0.771308 | ppearson |
0d1f7be63770563c00b8cb8a3467d62cee5ac926 | 7,489 | hpp | C++ | include/JDKSAvdeccMCU/ACMPTalker.hpp | DjFix/jdksavdecc-mcu | 55d273bcc25aa857d564ece83b3fbd59de240abc | [
"MIT"
] | 5 | 2015-03-26T18:43:44.000Z | 2021-11-16T20:31:05.000Z | include/JDKSAvdeccMCU/ACMPTalker.hpp | DjFix/jdksavdecc-mcu | 55d273bcc25aa857d564ece83b3fbd59de240abc | [
"MIT"
] | 1 | 2015-03-13T15:53:41.000Z | 2015-03-13T15:53:41.000Z | include/JDKSAvdeccMCU/ACMPTalker.hpp | jdkoftinoff/jdksavdecc-mcu | 55d273bcc25aa857d564ece83b3fbd59de240abc | [
"MIT"
] | 6 | 2018-02-03T12:04:25.000Z | 2021-01-05T09:52:50.000Z | /*
Copyright (c) 2015, J.D. Koftinoff Software, Ltd.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice,
this list ... | 31.868085 | 132 | 0.702898 | DjFix |
0d20fec179a7a5d6af5b8d7811dddea21f533a44 | 3,554 | cpp | C++ | Apps/SDEditor/src/ContentBrowser.cpp | xubury/SDEngine | 31e44fc5c78ce6b8f0c3b128fd5e0158150590e8 | [
"BSD-3-Clause"
] | null | null | null | Apps/SDEditor/src/ContentBrowser.cpp | xubury/SDEngine | 31e44fc5c78ce6b8f0c3b128fd5e0158150590e8 | [
"BSD-3-Clause"
] | 4 | 2021-12-10T05:01:49.000Z | 2022-03-19T10:16:14.000Z | Apps/SDEditor/src/ContentBrowser.cpp | xubury/SDEngine | 31e44fc5c78ce6b8f0c3b128fd5e0158150590e8 | [
"BSD-3-Clause"
] | null | null | null | #include "ContentBrowser.hpp"
#include "Resource/Resource.hpp"
#include "ImGui/ImGuiWidget.hpp"
#include "ImGui/FileDialog.hpp"
#include "Utility/String.hpp"
namespace SD {
#define MODEL_CREATION "Model Creation"
#define SCENE_CREATION "Scene Creation"
#define TEXTURE_CREATION "Texture Creation"
#define FONT_CREATION... | 31.175439 | 77 | 0.623804 | xubury |
0d24f8dfd3a1dda57b34d5fd1e825e6eaa985729 | 94 | cpp | C++ | src/server/cell.cpp | Foomf/Thimble | e3fb64597def12debb81d1bbe4ff52c539fe34e2 | [
"Zlib"
] | null | null | null | src/server/cell.cpp | Foomf/Thimble | e3fb64597def12debb81d1bbe4ff52c539fe34e2 | [
"Zlib"
] | 11 | 2019-09-14T11:02:24.000Z | 2019-09-19T04:54:25.000Z | src/server/cell.cpp | Foomf/Blyss | e3fb64597def12debb81d1bbe4ff52c539fe34e2 | [
"Zlib"
] | null | null | null | #include "server/cell.hpp"
namespace blyss::server
{
cell::cell()
{
}
} | 9.4 | 26 | 0.510638 | Foomf |
0d2790f707311a25147b85ded4174745d2728d8c | 12,105 | cpp | C++ | code/Spark/source/codegen.tree.cpp | pospeselr/SiCKL | e6b3b022df168cb7b853e233967407ff28dd8d1b | [
"MIT"
] | null | null | null | code/Spark/source/codegen.tree.cpp | pospeselr/SiCKL | e6b3b022df168cb7b853e233967407ff28dd8d1b | [
"MIT"
] | null | null | null | code/Spark/source/codegen.tree.cpp | pospeselr/SiCKL | e6b3b022df168cb7b853e233967407ff28dd8d1b | [
"MIT"
] | null | null | null | #include "spark.hpp"
// spark internal
#include "node.hpp"
#include "error.hpp"
#include "text_utilities.hpp"
const char* spark_nodetype_to_str(spark_nodetype_t val);
using namespace spark;
using namespace spark::lib;
using namespace spark::shared;
namespace spark
{
namespace lib
{
int32_t controlNo... | 38.550955 | 159 | 0.49368 | pospeselr |
0d292c2955e904d03e1306cd46d7eb78ab5a26e7 | 448 | cpp | C++ | UI/room_info_dialog.cpp | tyouritsugun/janus-client-cplus | f478ddcf62d12f1b0efe213dd695ec022e793070 | [
"MIT"
] | 110 | 2020-10-27T02:15:35.000Z | 2022-03-30T10:24:52.000Z | UI/room_info_dialog.cpp | tyouritsugun/janus-client-cplus | f478ddcf62d12f1b0efe213dd695ec022e793070 | [
"MIT"
] | 13 | 2021-02-02T05:32:42.000Z | 2022-03-13T15:03:26.000Z | UI/room_info_dialog.cpp | tyouritsugun/janus-client-cplus | f478ddcf62d12f1b0efe213dd695ec022e793070 | [
"MIT"
] | 37 | 2020-11-13T15:44:23.000Z | 2022-03-25T09:08:22.000Z | #include "room_info_dialog.h"
#include "ui_room_info_dialog.h"
RoomInfoDialog::RoomInfoDialog(QWidget *parent) :
QDialog(parent),
ui(new Ui::RoomInfoDialog)
{
ui->setupUi(this);
}
RoomInfoDialog::~RoomInfoDialog()
{
delete ui;
}
int64_t RoomInfoDialog::getRoomId() const
{
return ui->roomIdLineEdi... | 14.933333 | 51 | 0.723214 | tyouritsugun |
0d29527e9f7220ae5f8a49c72a17c0df2da976a2 | 28,137 | cpp | C++ | Marlin-2.0.7_Stock_Board/Marlin/src/lcd/dogm/u8g_dev_tft_320x240_upscale_from_128x64.cpp | kristapsdravnieks/Anycubic-Predator | 879ea2af0b9cafc27ea85d966f9bc4699b3e8e25 | [
"MIT"
] | 2 | 2021-01-11T19:43:50.000Z | 2021-05-02T14:20:30.000Z | Marlin-2.0.7_Stock_Board/Marlin/src/lcd/dogm/u8g_dev_tft_320x240_upscale_from_128x64.cpp | kristapsdravnieks/Anycubic-Predator | 879ea2af0b9cafc27ea85d966f9bc4699b3e8e25 | [
"MIT"
] | null | null | null | Marlin-2.0.7_Stock_Board/Marlin/src/lcd/dogm/u8g_dev_tft_320x240_upscale_from_128x64.cpp | kristapsdravnieks/Anycubic-Predator | 879ea2af0b9cafc27ea85d966f9bc4699b3e8e25 | [
"MIT"
] | null | null | null | /**
* Marlin 3D Printer Firmware
* Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General... | 34.481618 | 144 | 0.690585 | kristapsdravnieks |
0d33b2f90174ea944c4bfc3100e4f5c06fd25a7d | 5,590 | cpp | C++ | mlir/lib/Transforms/uplift_math.cpp | mshahneo/mlir-extensions | 406748ae1d7902c37934313f7614c8bd1e4999fb | [
"Apache-2.0"
] | null | null | null | mlir/lib/Transforms/uplift_math.cpp | mshahneo/mlir-extensions | 406748ae1d7902c37934313f7614c8bd1e4999fb | [
"Apache-2.0"
] | null | null | null | mlir/lib/Transforms/uplift_math.cpp | mshahneo/mlir-extensions | 406748ae1d7902c37934313f7614c8bd1e4999fb | [
"Apache-2.0"
] | null | null | null | // Copyright 2021 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.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed... | 34.085366 | 80 | 0.631127 | mshahneo |
0d3611b86d5b554548c5aeab6993534d8c03142b | 788 | cpp | C++ | Answer/ans_code_and_note/chapter2/sort.cpp | seanleecn/EssentialCPP | a2cfbd054888a3d07cb0ac22230c34f6ce90bef5 | [
"MIT"
] | null | null | null | Answer/ans_code_and_note/chapter2/sort.cpp | seanleecn/EssentialCPP | a2cfbd054888a3d07cb0ac22230c34f6ce90bef5 | [
"MIT"
] | null | null | null | Answer/ans_code_and_note/chapter2/sort.cpp | seanleecn/EssentialCPP | a2cfbd054888a3d07cb0ac22230c34f6ce90bef5 | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
using namespace std;
void display(vector<int> vec)
{
for (int ix = 0; ix < vec.size(); ++ix) {
cout << vec[ix] << ' ';
}
cout << endl;
}
void swap(int *val1, int *val2)
{
int temp = *val1;
* val1 = *val2;
* val2 = temp;
}
void bubble_sort(vector<... | 17.130435 | 54 | 0.474619 | seanleecn |
0d36a904192e4e5710e3c05ca542fe8feea4967b | 4,667 | cpp | C++ | Iron/strategy/dragoonRush.cpp | biug/titan | aacb4e2dc4d55601abd45cb8321d8e5160851eec | [
"MIT"
] | null | null | null | Iron/strategy/dragoonRush.cpp | biug/titan | aacb4e2dc4d55601abd45cb8321d8e5160851eec | [
"MIT"
] | null | null | null | Iron/strategy/dragoonRush.cpp | biug/titan | aacb4e2dc4d55601abd45cb8321d8e5160851eec | [
"MIT"
] | null | null | null | //////////////////////////////////////////////////////////////////////////
//
// This file is part of Iron's source files.
// Iron is free software, licensed under the MIT/X11 License.
// A copy of the license is provided with the library in the LICENSE file.
// Copyright (c) 2016, 2017, Igor Dimitrijevic
//
/////////... | 29.16875 | 119 | 0.542104 | biug |
0d379247b97b73eac4abdc3d36592d60952b93f1 | 4,355 | cpp | C++ | network/server/main.cpp | jklim1253/code-draft | 32ff5e7969f2bdcc6063fb978c7070629aa568f4 | [
"MIT"
] | 1 | 2015-12-14T12:02:04.000Z | 2015-12-14T12:02:04.000Z | network/server/main.cpp | jklim1253/code-draft | 32ff5e7969f2bdcc6063fb978c7070629aa568f4 | [
"MIT"
] | null | null | null | network/server/main.cpp | jklim1253/code-draft | 32ff5e7969f2bdcc6063fb978c7070629aa568f4 | [
"MIT"
] | null | null | null | #define _WIN32_WINNT 0x0601
#include <list>
#include <thread>
#include <iostream>
#include <boost/asio.hpp>
#include <boost/bind.hpp>
#pragma pack(1)
using namespace boost::asio;
struct Header {
unsigned long marker;
unsigned long data_type;
unsigned long data_size;
};
struct Data {
//unsigned long marker;
//un... | 28.279221 | 156 | 0.671871 | jklim1253 |
0d3956eac9a46d6b369a00c353fcda350ac0c465 | 24,993 | cpp | C++ | src/mainwindow.cpp | mguludag/GUI-for-GoodbyeDPI | e0c8201422dc231a13a09b1d649f5771a53bde3f | [
"MIT"
] | 22 | 2019-12-21T07:54:46.000Z | 2022-03-18T16:54:34.000Z | src/mainwindow.cpp | mguludag/GUI-for-GoodbyeDPI | e0c8201422dc231a13a09b1d649f5771a53bde3f | [
"MIT"
] | 3 | 2019-12-06T17:31:48.000Z | 2020-09-29T14:12:25.000Z | src/mainwindow.cpp | cheytacllc/GUI-for-GoodbyeDPI | e0c8201422dc231a13a09b1d649f5771a53bde3f | [
"MIT"
] | 3 | 2018-10-30T14:46:22.000Z | 2019-05-15T10:46:13.000Z | #include "mainwindow.h"
#include "ui_mainwindow.h"
#include <QDebug>
#include <QFile>
#include <QFileInfo>
#include <QFileInfoList>
#include <QDirIterator>
#include <QListIterator>
#include <memory>
#include <QUrl>
#include <QtNetwork/QNetworkAccessManager>
#include <QtNetwork/QNetworkRequest>
#include <QtNetwork/QNet... | 37.136701 | 694 | 0.639779 | mguludag |
0d3dfafef73f694ff40c8db169a0e4ac5a3fe371 | 4,300 | cpp | C++ | IvyProjects/IvyEngine/gl/GLMesh.cpp | endy/Ivy | 23d5a61d34793c74527ef803bf3693df79291539 | [
"MIT"
] | null | null | null | IvyProjects/IvyEngine/gl/GLMesh.cpp | endy/Ivy | 23d5a61d34793c74527ef803bf3693df79291539 | [
"MIT"
] | null | null | null | IvyProjects/IvyEngine/gl/GLMesh.cpp | endy/Ivy | 23d5a61d34793c74527ef803bf3693df79291539 | [
"MIT"
] | null | null | null | ///////////////////////////////////////////////////////////////////////////////////////////////////
///
/// Ivy Engine
///
/// Copyright 2012, Brandon Light
/// All rights reserved.
///
///////////////////////////////////////////////////////////////////////////////////////////////////
#include "GLMesh.h"
#... | 33.59375 | 125 | 0.460465 | endy |
0d3e542dc3637bf63d2636f433af4984ec872b82 | 2,562 | cpp | C++ | src/FastRoundStart.cpp | MrElectrify/BetteRCon | ecec11174c2aa90a142ef0169b00ad97af9a1068 | [
"MIT"
] | 2 | 2019-12-13T04:10:25.000Z | 2021-10-29T21:26:07.000Z | src/FastRoundStart.cpp | MrElectrify/BetteRCon | ecec11174c2aa90a142ef0169b00ad97af9a1068 | [
"MIT"
] | 2 | 2019-12-26T05:31:46.000Z | 2020-01-18T23:26:46.000Z | src/FastRoundStart.cpp | MrElectrify/BetteRCon | ecec11174c2aa90a142ef0169b00ad97af9a1068 | [
"MIT"
] | null | null | null | #include <BetteRCon/Plugin.h>
#ifdef _WIN32
// Windows stuff
#include <Windows.h>
#endif
// Fast Round Start start the next round 30 seconds after the end of the last round
class FastRoundStart : public BetteRCon::Plugin
{
public:
FastRoundStart(BetteRCon::Server* pServer)
: Plugin(pServer)
{
// every time serv... | 27.548387 | 134 | 0.712334 | MrElectrify |
0d42ea9256d7ab1c5a0a196ca8f8e81d5ee7361d | 2,815 | cpp | C++ | Algorithm_C/Algorithm_C/First/MaxValueOfGifts/MaxValueOfGifts.cpp | chm994483868/HMDailyLearningRecord | 95ff0a5347927ce4527bcdd70374e5be22bfc60d | [
"MIT"
] | 2 | 2021-06-26T08:07:04.000Z | 2021-08-03T06:05:40.000Z | Algorithm_C/Algorithm_C/First/MaxValueOfGifts/MaxValueOfGifts.cpp | chm994483868/HMDailyLearningRecord | 95ff0a5347927ce4527bcdd70374e5be22bfc60d | [
"MIT"
] | null | null | null | Algorithm_C/Algorithm_C/First/MaxValueOfGifts/MaxValueOfGifts.cpp | chm994483868/HMDailyLearningRecord | 95ff0a5347927ce4527bcdd70374e5be22bfc60d | [
"MIT"
] | null | null | null | //
// MaxValueOfGifts.cpp
// Algorithm_C
//
// Created by CHM on 2020/7/23.
// Copyright © 2020 CHM. All rights reserved.
//
#include "MaxValueOfGifts.hpp"
int getMaxValue_Solution1(const int* values, int rows, int cols) {
if (values == nullptr || rows <= 0 || cols <= 0) {
return 0;
}
int... | 23.655462 | 72 | 0.419183 | chm994483868 |
0d42fabaacaf1f325308e1d3623c8bec86a09f73 | 1,560 | cpp | C++ | src/Hola_DX12/src/Base/ResourceViewHeaps.cpp | dfnzhc/Hola | d0fd46e9966baafd03c994e49efaa3dd8057309e | [
"MIT"
] | null | null | null | src/Hola_DX12/src/Base/ResourceViewHeaps.cpp | dfnzhc/Hola | d0fd46e9966baafd03c994e49efaa3dd8057309e | [
"MIT"
] | null | null | null | src/Hola_DX12/src/Base/ResourceViewHeaps.cpp | dfnzhc/Hola | d0fd46e9966baafd03c994e49efaa3dd8057309e | [
"MIT"
] | null | null | null | #include "stdafx.h"
#include "ResourceViewHeaps.h"
#include "Device.h"
namespace HOLA_DX12
{
//--------------------------------------------------------------------------------------
// OnCreate
//--------------------------------------------------------------------------------------
void StaticResourc... | 38.04878 | 198 | 0.521154 | dfnzhc |
0d4d1bb373485c691d815ec0056e0e4dec0cfb70 | 434 | cpp | C++ | Build/src/src/Utils/VertexArray.cpp | maz8569/OpenGLPAG | 3c470a6824c0d3169fdc65691f697c2af39a6442 | [
"MIT"
] | null | null | null | Build/src/src/Utils/VertexArray.cpp | maz8569/OpenGLPAG | 3c470a6824c0d3169fdc65691f697c2af39a6442 | [
"MIT"
] | null | null | null | Build/src/src/Utils/VertexArray.cpp | maz8569/OpenGLPAG | 3c470a6824c0d3169fdc65691f697c2af39a6442 | [
"MIT"
] | null | null | null | #include "Utils/VertexArray.h"
using namespace GameEngine;
GameEngine::VertexArray::VertexArray()
{
this->array_id = 0;
glGenVertexArrays(1, &(this->array_id));
this->Bind();
}
GameEngine::VertexArray::~VertexArray()
{
glDeleteVertexArrays(1, &(this->array_id));
this->Unbind();
}
void GameEngine::VertexArray::... | 16.074074 | 44 | 0.721198 | maz8569 |
0d4ecab757baafd25e2a8ec66095e23486a0a406 | 4,833 | cpp | C++ | dlls/asheep/baseweaponwiththrowablemonster.cpp | malortie/hl-asheep | 58a402d5e1982b1b7b9476108d04856d0fdeb8b8 | [
"Apache-2.0"
] | null | null | null | dlls/asheep/baseweaponwiththrowablemonster.cpp | malortie/hl-asheep | 58a402d5e1982b1b7b9476108d04856d0fdeb8b8 | [
"Apache-2.0"
] | 6 | 2021-11-28T06:39:56.000Z | 2021-12-31T13:59:26.000Z | dlls/asheep/baseweaponwiththrowablemonster.cpp | malortie/hl-asheep | 58a402d5e1982b1b7b9476108d04856d0fdeb8b8 | [
"Apache-2.0"
] | null | null | null | /***
*
* Copyright (c) 1996-2001, Valve LLC. All rights reserved.
*
* This product contains software technology licensed from Id
* Software, Inc. ("Id Technology"). Id Technology (c) 1996 Id Software, Inc.
* All Rights Reserved.
*
* Use, distribution, and modification of this source code and/or resulting
* obje... | 25.571429 | 145 | 0.725429 | malortie |
0d55431efaad4f2c47909f2b452ea860cacf8e4b | 10,769 | hpp | C++ | ndn-cxx/util/time.hpp | Pesa/ndn-cxx | 0249d71d97b2f1f5313f24cec7c84450a795f2ca | [
"OpenSSL"
] | 106 | 2015-01-06T10:08:29.000Z | 2022-02-27T13:40:16.000Z | ndn-cxx/util/time.hpp | Pesa/ndn-cxx | 0249d71d97b2f1f5313f24cec7c84450a795f2ca | [
"OpenSSL"
] | 6 | 2015-10-15T23:21:06.000Z | 2016-12-20T19:03:10.000Z | ndn-cxx/util/time.hpp | Pesa/ndn-cxx | 0249d71d97b2f1f5313f24cec7c84450a795f2ca | [
"OpenSSL"
] | 147 | 2015-01-15T15:07:29.000Z | 2022-02-03T13:08:43.000Z | /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
* Copyright (c) 2013-2021 Regents of the University of California.
*
* This file is part of ndn-cxx library (NDN C++ library with eXperimental eXtensions).
*
* ndn-cxx library is free software: you can redistribute it and/or modify it under the
... | 28.489418 | 107 | 0.72263 | Pesa |
0d583f2e92779d3d274bb6a86a07288cbb8d1cb2 | 4,598 | hpp | C++ | Lib/Chip/STM32F469.hpp | operativeF/Kvasir | dfbcbdc9993d326ef8cc73d99129e78459c561fd | [
"Apache-2.0"
] | null | null | null | Lib/Chip/STM32F469.hpp | operativeF/Kvasir | dfbcbdc9993d326ef8cc73d99129e78459c561fd | [
"Apache-2.0"
] | null | null | null | Lib/Chip/STM32F469.hpp | operativeF/Kvasir | dfbcbdc9993d326ef8cc73d99129e78459c561fd | [
"Apache-2.0"
] | null | null | null | #pragma once
#include <cstdint>
#include <Chip/CM4/STMicro/STM32F469/RNG.hpp>
#include <Chip/CM4/STMicro/STM32F469/HASH.hpp>
#include <Chip/CM4/STMicro/STM32F469/CRYP.hpp>
#include <Chip/CM4/STMicro/STM32F469/DCMI.hpp>
#include <Chip/CM4/STMicro/STM32F469/FMC.hpp>
#include <Chip/CM4/STMicro/STM32F469/DBG.hpp>
#include... | 47.402062 | 55 | 0.793606 | operativeF |
0d5b14bd20b994875f7dd630688af9003a33790e | 2,621 | cpp | C++ | state_feedback/src/encoder_data_to_omega.cpp | aslResearch/aslRover | eec6a772b90d18a38ac036773651c5b95eb4f22e | [
"BSD-3-Clause"
] | 9 | 2017-09-22T06:31:47.000Z | 2021-09-09T23:06:56.000Z | state_feedback/src/encoder_data_to_omega.cpp | aslResearch/aslRover | eec6a772b90d18a38ac036773651c5b95eb4f22e | [
"BSD-3-Clause"
] | null | null | null | state_feedback/src/encoder_data_to_omega.cpp | aslResearch/aslRover | eec6a772b90d18a38ac036773651c5b95eb4f22e | [
"BSD-3-Clause"
] | 7 | 2018-09-12T10:36:05.000Z | 2021-09-22T08:11:58.000Z | /**
* @brief Encoder data to Angular velocity of wheel node
* @file encoder_data_to_omega.cpp
* @author Murali VNV <muralivnv@gmail.com>
*/
/*
* Copyright (c) 2017, muralivnv
*
* This file is part of the asl_gremlin_package and subject to the license terms
* in the top-level LICENSE file of the asl_gremlin_pkg ... | 32.7625 | 104 | 0.680275 | aslResearch |
0d5c153c0ec68340b2d7307d105924125396f2b7 | 3,786 | hpp | C++ | src/Switch.System.Windows.Forms/include/Switch/System/Windows/Forms/FileDialogCustomPlace.hpp | victor-timoshin/Switch | 8e8e687a8bdc4f79d482680da3968e9b3e464b8b | [
"MIT"
] | 4 | 2020-02-11T13:22:58.000Z | 2022-02-24T00:37:43.000Z | src/Switch.System.Windows.Forms/include/Switch/System/Windows/Forms/FileDialogCustomPlace.hpp | sgf/Switch | 8e8e687a8bdc4f79d482680da3968e9b3e464b8b | [
"MIT"
] | null | null | null | src/Switch.System.Windows.Forms/include/Switch/System/Windows/Forms/FileDialogCustomPlace.hpp | sgf/Switch | 8e8e687a8bdc4f79d482680da3968e9b3e464b8b | [
"MIT"
] | 2 | 2020-02-01T02:19:01.000Z | 2021-12-30T06:44:00.000Z | /// @file
/// @brief Contains Switch::System::Windows::Forms::DragEventArgs class.
#pragma once
#include <Switch/System/Guid.hpp>
#include "../../../SystemWindowsFormsExport.hpp"
/// @brief The Switch namespace contains all fundamental classes to access Hardware, Os, System, and more.
namespace Switch {
/// @brief... | 63.1 | 344 | 0.709984 | victor-timoshin |
0d60fb458e5fc98ff249e0802beaf8d4bfeb56b4 | 1,484 | hpp | C++ | source/problem/SWE/discretization_EHDG/data_structure/ehdg_swe_data_slope_limit.hpp | elenabac/dgswemv2 | ecc776811de304cbae7bfa696b3d22c513e7d4de | [
"MIT"
] | null | null | null | source/problem/SWE/discretization_EHDG/data_structure/ehdg_swe_data_slope_limit.hpp | elenabac/dgswemv2 | ecc776811de304cbae7bfa696b3d22c513e7d4de | [
"MIT"
] | null | null | null | source/problem/SWE/discretization_EHDG/data_structure/ehdg_swe_data_slope_limit.hpp | elenabac/dgswemv2 | ecc776811de304cbae7bfa696b3d22c513e7d4de | [
"MIT"
] | null | null | null | #ifndef EHDG_SWE_DATA_SLOPE_LIMIT_HPP
#define EHDG_SWE_DATA_SLOPE_LIMIT_HPP
namespace SWE {
namespace EHDG {
struct SlopeLimit {
SlopeLimit() = default;
SlopeLimit(const uint nvrtx, const uint nbound)
: surface_normal(nbound),
midpts_coord(nbound),
baryctr_coord_neigh(nbound),
... | 28 | 75 | 0.680593 | elenabac |
0d6c177c8d14f1a74e08949c568d8fbec75343c9 | 1,148 | hpp | C++ | ArgumentProcessor/ArgumentProcessor.hpp | parsashahzeidi/Alton | f60e6898e7daf81d4e551a637475a5b21f62b1af | [
"BSL-1.0"
] | null | null | null | ArgumentProcessor/ArgumentProcessor.hpp | parsashahzeidi/Alton | f60e6898e7daf81d4e551a637475a5b21f62b1af | [
"BSL-1.0"
] | 3 | 2020-02-26T20:39:03.000Z | 2020-03-01T13:18:48.000Z | ArgumentProcessor/ArgumentProcessor.hpp | parsashahzeidi/Alton | f60e6898e7daf81d4e551a637475a5b21f62b1af | [
"BSL-1.0"
] | null | null | null | # pragma once
# include <ETC/BareboneMacros.hpp>
# include <ArgumentProcessor/arg_id.hpp>
# include <ArgumentProcessor/Argument.hpp>
# include <ArgumentProcessor/ArgumentState.hpp>
# include <ArgumentProcessor/ArgumentHelper.hpp>
namespace Alton
{
namespace ArgumentProcessor
{
class ArgumentProcessor
{
// -... | 20.5 | 63 | 0.659408 | parsashahzeidi |
0d73002a25983198f360a176d730202f30fb3c38 | 5,801 | cpp | C++ | slides/number-string/benchmarks/dtoa-random.cpp | dvirtz/slides | b69d6b74ee3dc9d1461297309e68bb387f571fe6 | [
"MIT"
] | null | null | null | slides/number-string/benchmarks/dtoa-random.cpp | dvirtz/slides | b69d6b74ee3dc9d1461297309e68bb387f571fe6 | [
"MIT"
] | null | null | null | slides/number-string/benchmarks/dtoa-random.cpp | dvirtz/slides | b69d6b74ee3dc9d1461297309e68bb387f571fe6 | [
"MIT"
] | null | null | null | #include <benchmark/benchmark.h>
#include <random>
#include <algorithm>
#include <fmt/format.h>
#include <scn/scn.h>
#if __has_include(<charconv>)
#define HAS_X_CHARS
#include <charconv>
#endif
#include <cmath>
#include <cstdlib>
#include <cstring>
#include <iomanip>
#include <sstream>
#include <string_view>
namespac... | 23.204 | 127 | 0.609895 | dvirtz |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.