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
f2bb6efe0f31897af8c8c46b56d5e298bf6d645d
385
hpp
C++
library/ATF/tagLITEM.hpp
lemkova/Yorozuya
f445d800078d9aba5de28f122cedfa03f26a38e4
[ "MIT" ]
29
2017-07-01T23:08:31.000Z
2022-02-19T10:22:45.000Z
library/ATF/tagLITEM.hpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
90
2017-10-18T21:24:51.000Z
2019-06-06T02:30:33.000Z
library/ATF/tagLITEM.hpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
44
2017-12-19T08:02:59.000Z
2022-02-24T23:15:01.000Z
// This file auto generated by plugin for ida pro. Generated code only for x64. Please, dont change manually #pragma once #include <common/common.h> START_ATF_NAMESPACE struct tagLITEM { unsigned int mask; int iLink; unsigned int state; unsigned int stateMask; wchar_t...
20.263158
108
0.657143
lemkova
f2bcb1eb081756a5c394ddceead203a6b2b9a8fe
515
hpp
C++
Engine/Code/Engine/Math/Ray2.hpp
tonyatpeking/SmuSpecialTopic
b61d44e4efacb3c504847deb4d00234601bca49c
[ "MIT" ]
null
null
null
Engine/Code/Engine/Math/Ray2.hpp
tonyatpeking/SmuSpecialTopic
b61d44e4efacb3c504847deb4d00234601bca49c
[ "MIT" ]
null
null
null
Engine/Code/Engine/Math/Ray2.hpp
tonyatpeking/SmuSpecialTopic
b61d44e4efacb3c504847deb4d00234601bca49c
[ "MIT" ]
1
2019-10-02T01:48:54.000Z
2019-10-02T01:48:54.000Z
#pragma once #include "Engine/Math/Vec2.hpp" class Ray3; class Ray2 { public: // This is not normalized so that the Evaluate T will match with the 3D version static Ray2 FromRay3XZ( const Ray3& ray3 ); Ray2() {}; Ray2( const Vec2& point, const Vec2& dir ); ~Ray2() {}; void SetStartEnd( const ...
21.458333
83
0.642718
tonyatpeking
f2bec613e0307a903f3c93b54430727aa51028ac
583
cpp
C++
src/actions/ActionableObject.cpp
MiKlTA/Lust_The_Game
aabe4a951ffd7305526466d378ba8b6769c555e8
[ "MIT" ]
null
null
null
src/actions/ActionableObject.cpp
MiKlTA/Lust_The_Game
aabe4a951ffd7305526466d378ba8b6769c555e8
[ "MIT" ]
null
null
null
src/actions/ActionableObject.cpp
MiKlTA/Lust_The_Game
aabe4a951ffd7305526466d378ba8b6769c555e8
[ "MIT" ]
null
null
null
#include "Action.h" #include "ActionableObject.h" namespace lust { void ActionableObject::addAction(Action *action) { m_dependentActions.insert(action); } void ActionableObject::removeAction(const Action *action) { auto found = std::find( m_dependentActions.begin(), m_dependentActions.en...
15.342105
76
0.620926
MiKlTA
f2c02db8e7fd5f2bcfd0e65349df14eaf893ed56
13,140
cpp
C++
src/parser/parser.cpp
toebsen/angreal
772f0b2499ef9b121322f80f2dacdb8754180c38
[ "MIT" ]
4
2020-08-30T21:10:47.000Z
2021-12-28T13:13:21.000Z
src/parser/parser.cpp
toebsen/angreal
772f0b2499ef9b121322f80f2dacdb8754180c38
[ "MIT" ]
12
2020-05-14T12:25:54.000Z
2021-08-01T11:01:23.000Z
src/parser/parser.cpp
toebsen/angreal
772f0b2499ef9b121322f80f2dacdb8754180c38
[ "MIT" ]
null
null
null
// // Created by bichlmaier on 07.02.2020. // #include "parser.h" namespace angreal::parser { Parser::Parser(const error_handler_t& error_handler) : error_handler_(error_handler) {} template <typename Type, typename... Args> std::shared_ptr<Type> Parser::MakeASTNode(Args&&... args) { { ...
31.211401
81
0.59863
toebsen
f2c03315b9f772048e9285a63a30d5021f782a3e
1,800
cpp
C++
client/src/user_interface/game_over.cpp
dima1997/PORTAL_2D_copy
7618d970feded3fc05fda0c422a5d76a1d3056c7
[ "MIT" ]
null
null
null
client/src/user_interface/game_over.cpp
dima1997/PORTAL_2D_copy
7618d970feded3fc05fda0c422a5d76a1d3056c7
[ "MIT" ]
null
null
null
client/src/user_interface/game_over.cpp
dima1997/PORTAL_2D_copy
7618d970feded3fc05fda0c422a5d76a1d3056c7
[ "MIT" ]
null
null
null
#include "../../includes/user_interface/game_over.h" #include "ui_GameOver.h" #include "../../includes/threads/play_result.h" #include <QWidget> #include <QDesktopWidget> #include <string> #define WINDOW_WIDTH 640 #define WINDOW_HEIGHT 480 /* PRE: Recibe un resultado de juego. POST:Iniicaliza una ventana de fin d...
28.571429
80
0.707778
dima1997
f2c0b8fb27d8d25f924b9a57f850141d94ee4687
9,663
cp
C++
MacOS/Sources/Application/Preferences_Dialog/Sub-panels/Account_Panels/Authentication_Panels/CPrefsAccountAuth.cp
mulberry-mail/mulberry4-client
cdaae15c51dd759110b4fbdb2063d0e3d5202103
[ "ECL-2.0", "Apache-2.0" ]
12
2015-04-21T16:10:43.000Z
2021-11-05T13:41:46.000Z
MacOS/Sources/Application/Preferences_Dialog/Sub-panels/Account_Panels/Authentication_Panels/CPrefsAccountAuth.cp
mulberry-mail/mulberry4-client
cdaae15c51dd759110b4fbdb2063d0e3d5202103
[ "ECL-2.0", "Apache-2.0" ]
2
2015-11-02T13:32:11.000Z
2019-07-10T21:11:21.000Z
MacOS/Sources/Application/Preferences_Dialog/Sub-panels/Account_Panels/Authentication_Panels/CPrefsAccountAuth.cp
mulberry-mail/mulberry4-client
cdaae15c51dd759110b4fbdb2063d0e3d5202103
[ "ECL-2.0", "Apache-2.0" ]
6
2015-01-12T08:49:12.000Z
2021-03-27T09:11:10.000Z
/* Copyright (c) 2007 Cyrus Daboo. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless re...
26.841667
107
0.732381
mulberry-mail
f2c10f99fbebf3fd599e1bcd8fd28bbbfa8ac15a
676
cpp
C++
binary-tree/check-if-subtree.cpp
Strider-7/code
e096c0d0633b53a07bf3f295cb3bd685b694d4ce
[ "MIT" ]
null
null
null
binary-tree/check-if-subtree.cpp
Strider-7/code
e096c0d0633b53a07bf3f295cb3bd685b694d4ce
[ "MIT" ]
null
null
null
binary-tree/check-if-subtree.cpp
Strider-7/code
e096c0d0633b53a07bf3f295cb3bd685b694d4ce
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; struct Node { int data; Node *left; Node *right; Node(int x) { data = x; left = nullptr; right = nullptr; } }; bool isIdentical(Node* T, Node* S) { if (!T && !S) return true; if (!T || !S...
18.27027
99
0.486686
Strider-7
f2c43230a7babcb209a2c7b93636ad6da4111bc2
755
cpp
C++
ReeeEngine/src/ReeeEngine/Rendering/Context/SampleState.cpp
Lewisscrivens/ReeeEngine
abb31ef7e1adb553fafe02c4f9bd60ceb520acbf
[ "MIT" ]
null
null
null
ReeeEngine/src/ReeeEngine/Rendering/Context/SampleState.cpp
Lewisscrivens/ReeeEngine
abb31ef7e1adb553fafe02c4f9bd60ceb520acbf
[ "MIT" ]
null
null
null
ReeeEngine/src/ReeeEngine/Rendering/Context/SampleState.cpp
Lewisscrivens/ReeeEngine
abb31ef7e1adb553fafe02c4f9bd60ceb520acbf
[ "MIT" ]
null
null
null
#include "SampleState.h" namespace ReeeEngine { SampleState::SampleState(Graphics& graphics) { // Create sampler default options for UV read type. D3D11_SAMPLER_DESC samplerOptions = {}; samplerOptions.Filter = D3D11_FILTER_MIN_MAG_MIP_LINEAR; samplerOptions.AddressU = D3D11_TEXTURE_ADDRESS_WRAP; samplerOp...
31.458333
86
0.778808
Lewisscrivens
f2c4dc83ec8d1f9807509068206be97a0cce3eb0
407
cc
C++
examples/Example3/main.cc
stognini/AdePT
9a106b83f421938ad8f4d8567d199c84f339e6c9
[ "Apache-2.0" ]
null
null
null
examples/Example3/main.cc
stognini/AdePT
9a106b83f421938ad8f4d8567d199c84f339e6c9
[ "Apache-2.0" ]
null
null
null
examples/Example3/main.cc
stognini/AdePT
9a106b83f421938ad8f4d8567d199c84f339e6c9
[ "Apache-2.0" ]
null
null
null
// SPDX-FileCopyrightText: 2020 CERN // SPDX-License-Identifier: Apache-2.0 #include "common.h" #include "loop.h" #include <iostream> int main(int argc, char **argv) { if (argc != 2) { std::cout << "Usage: " << argv[0] << " nparticles" << std::endl; return 0; } int nparticles = std::atoi(argv[1]); #ifndef _...
15.653846
66
0.653563
stognini
f2d318974ca25caa783bfda28c4121b7d15a1c02
354
cpp
C++
src/L/L1226.cpp
wlhcode/lscct
7fd112a9d1851ddcf41886d3084381a52e84a3ce
[ "MIT" ]
null
null
null
src/L/L1226.cpp
wlhcode/lscct
7fd112a9d1851ddcf41886d3084381a52e84a3ce
[ "MIT" ]
null
null
null
src/L/L1226.cpp
wlhcode/lscct
7fd112a9d1851ddcf41886d3084381a52e84a3ce
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; string s; string o; main(){ long long a; bool first=true; cin>>a; s+=to_string(a); sort(s.begin(),s.end()); for(int i=2;i<=9;i++){ o.clear(); o+=to_string(a*i); sort(o.begin(),o.end()); if(s==o){ if(!first) cout<<" "; cout<<i; first=false; } } if(f...
14.16
26
0.553672
wlhcode
f2dddfbc6249d58b917232fc7819daa05d380ca0
1,276
hpp
C++
include/tdc/util/lcp.hpp
herlez/tdc
3b85ae183c21410e65f1e739736287df46c38d1d
[ "MIT" ]
1
2021-05-06T13:39:22.000Z
2021-05-06T13:39:22.000Z
include/tdc/util/lcp.hpp
herlez/tdc
3b85ae183c21410e65f1e739736287df46c38d1d
[ "MIT" ]
1
2020-03-07T08:05:20.000Z
2020-03-07T08:05:20.000Z
include/tdc/util/lcp.hpp
herlez/tdc
3b85ae183c21410e65f1e739736287df46c38d1d
[ "MIT" ]
2
2020-05-27T07:54:43.000Z
2021-11-18T13:29:14.000Z
#pragma once namespace tdc { /// \brief Computes the LCP array from the suffix array using Kasai's algorithm. /// \tparam char_t the character type /// \tparam idx_t the suffix/LCP array entry type /// \param text the input text, assuming to be zero-terminated /// \param n the length of the input text including the z...
29
111
0.554859
herlez
f2de2cd3f4565129763b927dfd000cad5c946085
58
hpp
C++
src/boost_mpl_aux__preprocessed_no_ctps_vector.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_mpl_aux__preprocessed_no_ctps_vector.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_mpl_aux__preprocessed_no_ctps_vector.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/mpl/aux_/preprocessed/no_ctps/vector.hpp>
29
57
0.810345
miathedev
f2deba7cbaf90053e5c47ad9cee572e1fc63afc3
18,693
cpp
C++
src/lua/state.cpp
degarashi/revenant
9e671320a5c8790f6bdd1b14934f81c37819f7b3
[ "MIT" ]
null
null
null
src/lua/state.cpp
degarashi/revenant
9e671320a5c8790f6bdd1b14934f81c37819f7b3
[ "MIT" ]
null
null
null
src/lua/state.cpp
degarashi/revenant
9e671320a5c8790f6bdd1b14934f81c37819f7b3
[ "MIT" ]
null
null
null
#include "lcv.hpp" #include "lvalue.hpp" #include "../sdl/rw.hpp" #include "../apppath.hpp" #include "rewindtop.hpp" #include "lubee/src/freelist.hpp" extern "C" { #include <lauxlib.h> #include <lualib.h> } namespace rev { // ----------------- LuaState::Exceptions ----------------- LuaState::EBase::EBase(const std...
27.530191
102
0.658375
degarashi
f2e7dfd0dc05993a7fe9ccf12d63dcea44e78dc0
412
cc
C++
src/code_complete_cache.cc
Gei0r/cquery
6ff8273e8b8624016f9363f444acfee30c4bbf64
[ "MIT" ]
null
null
null
src/code_complete_cache.cc
Gei0r/cquery
6ff8273e8b8624016f9363f444acfee30c4bbf64
[ "MIT" ]
null
null
null
src/code_complete_cache.cc
Gei0r/cquery
6ff8273e8b8624016f9363f444acfee30c4bbf64
[ "MIT" ]
null
null
null
#include "code_complete_cache.h" void CodeCompleteCache::WithLock(std::function<void()> action) { std::lock_guard<std::mutex> lock(mutex_); action(); } bool CodeCompleteCache::IsCacheValid(lsTextDocumentPositionParams position) { std::lock_guard<std::mutex> lock(mutex_); return cached_path_ == position.textDo...
34.333333
77
0.759709
Gei0r
f2e9881742fc1b942ac3a60416ebf51b41d9dfbe
829
cpp
C++
Olamundo/freq_0502/main.cpp
tosantos1/LIP
7dbc045afa02729f4e2f2f1d3b29baebf5be72ad
[ "MIT" ]
null
null
null
Olamundo/freq_0502/main.cpp
tosantos1/LIP
7dbc045afa02729f4e2f2f1d3b29baebf5be72ad
[ "MIT" ]
null
null
null
Olamundo/freq_0502/main.cpp
tosantos1/LIP
7dbc045afa02729f4e2f2f1d3b29baebf5be72ad
[ "MIT" ]
null
null
null
#include <iostream> /*Ordenação por referência  Complete o programa dado para que com apenas uma chamada para o procedimento ordenarTres, os valores das variáveis a, b e c sejam colocados em ordem crescente. Note que nenhuma alteração da função main nem do procedimento ordenarTres é necessária.*/ using namespace std...
18.840909
102
0.640531
tosantos1
f2e9b05f3c16a26d7f319ac7e9a8750d8943d941
8,390
cpp
C++
Testbeds/GTests/twEventTest.cpp
microqq/TwinkleGraphics
e3975dc6dad5b6b8d5db1d54e30e815072db162e
[ "MIT" ]
null
null
null
Testbeds/GTests/twEventTest.cpp
microqq/TwinkleGraphics
e3975dc6dad5b6b8d5db1d54e30e815072db162e
[ "MIT" ]
1
2020-07-03T03:13:39.000Z
2020-07-03T03:13:39.000Z
Testbeds/GTests/twEventTest.cpp
microqq/TwinkleGraphics
e3975dc6dad5b6b8d5db1d54e30e815072db162e
[ "MIT" ]
null
null
null
#include <functional> #include <string> #include <gtest/gtest.h> #include "twEventHandler.h" #include "twEventManager.h" #include "twConsoleLog.h" using namespace TwinkleGraphics; class SampleListener { public: SampleListener(){} ~SampleListener(){} void OnBaseEvent(Object::Ptr sender, BaseEventArgs::P...
33.031496
152
0.682956
microqq
f2edbea3f6ac2b4c696a67227a8cf853d76b3482
4,716
cpp
C++
src/vi/vi_db.cpp
liulixinkerry/ripple
330522a61bcf1cf290c100ce4686ed62dcdc5cab
[ "Unlicense" ]
7
2021-01-25T04:28:38.000Z
2021-11-20T04:14:14.000Z
src/vi/vi_db.cpp
Xingquan-Li/ripple
330522a61bcf1cf290c100ce4686ed62dcdc5cab
[ "Unlicense" ]
3
2021-02-25T08:13:41.000Z
2022-02-25T16:37:16.000Z
src/vi/vi_db.cpp
Xingquan-Li/ripple
330522a61bcf1cf290c100ce4686ed62dcdc5cab
[ "Unlicense" ]
8
2021-02-27T13:52:25.000Z
2021-11-15T08:01:02.000Z
#include "../db/db.h" using namespace db; #include "vi.h" using namespace vi; #include "../ut/utils.h" void Geometry::draw(Visualizer* v, const Layer& L) const { if ((L.rIndex >= 0 || L.cIndex >= 0) && layer != L) { return; } if (layer.rIndex >= 0) { v->setFillColor(v->scheme.metalFill[l...
28.756098
84
0.516327
liulixinkerry
f2f3834523da7253561a9831549f255536882d88
4,689
inl
C++
include/quadtree.inl
MaxAlzner/libtree
80501e15fdec77e1f1824b46ebd3ae1c1cedd7f8
[ "MIT" ]
null
null
null
include/quadtree.inl
MaxAlzner/libtree
80501e15fdec77e1f1824b46ebd3ae1c1cedd7f8
[ "MIT" ]
null
null
null
include/quadtree.inl
MaxAlzner/libtree
80501e15fdec77e1f1824b46ebd3ae1c1cedd7f8
[ "MIT" ]
null
null
null
#pragma once template <typename T> inline bool quadnode_t<T>::empty() const { return this->_tree == 0 || this->_ring < 0 || this->_branch < 0; } template <typename T> inline size_t quadnode_t<T>::index() const { return tree_index(this->_ring, this->_branch, 4); } template <typename T> inline quaditerator_t<T> quad...
26.342697
126
0.656856
MaxAlzner
f2f99b32899966a08f5aa199583f70adc9ac009d
3,575
tcc
C++
src/utils/json/parser.tcc
unbornchikken/reflect-cpp
1a9a3d107c952406d3b7cae4bc5a6a23d566ea4f
[ "BSD-2-Clause" ]
45
2015-03-24T09:35:46.000Z
2021-05-06T11:50:34.000Z
src/utils/json/parser.tcc
unbornchikken/reflect-cpp
1a9a3d107c952406d3b7cae4bc5a6a23d566ea4f
[ "BSD-2-Clause" ]
null
null
null
src/utils/json/parser.tcc
unbornchikken/reflect-cpp
1a9a3d107c952406d3b7cae4bc5a6a23d566ea4f
[ "BSD-2-Clause" ]
11
2015-01-27T12:08:21.000Z
2020-08-29T16:34:13.000Z
/* parser.tcc -*- C++ -*- Rémi Attab (remi.attab@gmail.com), 12 Apr 2015 FreeBSD-style copyright and disclaimer apply */ #include "json.h" #pragma once namespace reflect { namespace json { /******************************************************************************/ /* GENER...
23.064516
80
0.53958
unbornchikken
f2f9f2b8b37680de67e251215bbab012254aa65a
290
hpp
C++
src/Game.hpp
ara159/snake
c65b25ab50a4b867f941c0a5406a11071ff80b78
[ "MIT" ]
null
null
null
src/Game.hpp
ara159/snake
c65b25ab50a4b867f941c0a5406a11071ff80b78
[ "MIT" ]
null
null
null
src/Game.hpp
ara159/snake
c65b25ab50a4b867f941c0a5406a11071ff80b78
[ "MIT" ]
null
null
null
#ifndef GAME_H #define GAME_H 1 #include "SFML/Graphics.hpp" #include "Snake.hpp" using namespace sf; class Game { private: RenderWindow * window; void run(); void event_handler(); void draw(); Snake snake; public: Game(); ~Game(); void start(); }; #endif
13.181818
28
0.627586
ara159
f2ffc7cc13c60374f92699e9abddec3f51196fdc
3,184
cpp
C++
dynamic programming/dp3-27 gfg-leetcode/dp3 - 300. Longest Increasing Subsequence.cpp
ankithans/dsa
32aeeff1b4eeebcc8c18fdb1b95ee1dd123f8443
[ "MIT" ]
1
2021-09-16T07:01:46.000Z
2021-09-16T07:01:46.000Z
dynamic programming/dp3-27 gfg-leetcode/dp3 - 300. Longest Increasing Subsequence.cpp
ankithans/dsa
32aeeff1b4eeebcc8c18fdb1b95ee1dd123f8443
[ "MIT" ]
null
null
null
dynamic programming/dp3-27 gfg-leetcode/dp3 - 300. Longest Increasing Subsequence.cpp
ankithans/dsa
32aeeff1b4eeebcc8c18fdb1b95ee1dd123f8443
[ "MIT" ]
1
2021-10-19T06:48:48.000Z
2021-10-19T06:48:48.000Z
// 0 1 2 3 4 5 6 7 // [10,9,2,5,3,7,101,18] // o/p = 4 [2,3,7,101] // idx -> f -> LIS // (0, []) // 2 (1, [10]) (1, []) // (2,[10]) (2,[9]) (2,[]) // (3,[10]) ...
26.983051
143
0.47142
ankithans
8404279ffd536f25360485833c7e0df1f9a555f5
2,249
cpp
C++
src/minhook_api.cpp
MG4vQIs7Fv/PerformanceOverhaulCyberpunk
4fb6e34752ce7c286357cf148d0b4096d4ca32ea
[ "MIT" ]
26
2019-10-28T00:14:18.000Z
2022-03-05T22:26:46.000Z
src/minhook_api.cpp
MG4vQIs7Fv/PerformanceOverhaulCyberpunk
4fb6e34752ce7c286357cf148d0b4096d4ca32ea
[ "MIT" ]
null
null
null
src/minhook_api.cpp
MG4vQIs7Fv/PerformanceOverhaulCyberpunk
4fb6e34752ce7c286357cf148d0b4096d4ca32ea
[ "MIT" ]
7
2019-10-28T03:21:19.000Z
2022-03-25T11:05:43.000Z
#include "common.hpp" #include "minhook_api.hpp" #include "minhook.h" namespace minhook_api { #if defined(USE_MINHOOK) && (USE_MINHOOK == 1) void init() { if(MH_Initialize() != MH_OK) { DEBUG_TRACE("MH_Initialize : failed\n"); } } void cleanup() { MH_Uninitialize(); } #else void init() {} void cl...
28.833333
142
0.638061
MG4vQIs7Fv
8405943d2334623503f09655d041c70e5d8bc794
483
cpp
C++
C++ STL Programming/C++_STL_Programming/Operator_Overloading/06_PlusOperatorFuncion.cpp
devgunho/Cpp_AtoZ
4d87f22671a4eab06ca35b32c9b7f8f9abadb2bc
[ "MIT" ]
1
2022-03-25T06:11:06.000Z
2022-03-25T06:11:06.000Z
C++ STL Programming/C++_STL_Programming/Operator_Overloading/06_PlusOperatorFuncion.cpp
devgunho/Cpp_AtoZ
4d87f22671a4eab06ca35b32c9b7f8f9abadb2bc
[ "MIT" ]
null
null
null
C++ STL Programming/C++_STL_Programming/Operator_Overloading/06_PlusOperatorFuncion.cpp
devgunho/Cpp_AtoZ
4d87f22671a4eab06ca35b32c9b7f8f9abadb2bc
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; class Point { int x; int y; public: Point(int _x = 0, int _y = 0) :x(_x), y(_y) {} void Print() const { cout << x << ',' << y << endl; } const Point operator+(const Point& arg) const { Point pt; pt.x = this->x + arg.x; pt.y = this->y + arg.y; return pt; } }; in...
16.1
54
0.554865
devgunho
8406a1d0255cf5abbe189d3c0beeb27a9a93973a
389
hpp
C++
src/firmware/src/websocket/socket_server.hpp
geaz/tableDisco
1f081a0372da835150881da245dc69d97dcaabe3
[ "MIT" ]
1
2020-05-26T01:45:04.000Z
2020-05-26T01:45:04.000Z
src/firmware/src/websocket/socket_server.hpp
geaz/tableDisco
1f081a0372da835150881da245dc69d97dcaabe3
[ "MIT" ]
null
null
null
src/firmware/src/websocket/socket_server.hpp
geaz/tableDisco
1f081a0372da835150881da245dc69d97dcaabe3
[ "MIT" ]
null
null
null
#pragma once #ifndef SOCKETSERVER_H #define SOCKETSERVER_H #include <WebSocketsServer.h> namespace TableDisco { class SocketServer { public: SocketServer(); void loop(); void broadcast(String data); private: WebSocketsServer...
17.681818
62
0.586118
geaz
8406dca80a0a5d0c040e297255c6eae5b07d4f27
2,391
cpp
C++
src/index_handler/index_file_handler.cpp
robinren03/database2021
50074b6fdab2bcd5d4c95870f247cfb430804081
[ "Apache-2.0" ]
null
null
null
src/index_handler/index_file_handler.cpp
robinren03/database2021
50074b6fdab2bcd5d4c95870f247cfb430804081
[ "Apache-2.0" ]
null
null
null
src/index_handler/index_file_handler.cpp
robinren03/database2021
50074b6fdab2bcd5d4c95870f247cfb430804081
[ "Apache-2.0" ]
1
2022-01-11T08:20:41.000Z
2022-01-11T08:20:41.000Z
#include "index_file_handler.h" #include <assert.h> IndexFileHandler::IndexFileHandler(BufManager* _bm){ bm = _bm; header = new IndexFileHeader; } void IndexFileHandler::openFile(const char* fileName){ fileID = bm->openFile(fileName); int headerIndex; if (fileID == -1){ bm->createFile(fileN...
29.158537
98
0.634044
robinren03
840cc9b4774d397c3f63b506e10cd5e32c5a3893
655
cpp
C++
test.cpp
ZaMaZaN4iK/iex_example
57717f34f39ceadf1407bdd6b925f6b8c894533c
[ "MIT" ]
1
2020-04-25T14:16:03.000Z
2020-04-25T14:16:03.000Z
test.cpp
ZaMaZaN4iK/iex_example
57717f34f39ceadf1407bdd6b925f6b8c894533c
[ "MIT" ]
null
null
null
test.cpp
ZaMaZaN4iK/iex_example
57717f34f39ceadf1407bdd6b925f6b8c894533c
[ "MIT" ]
1
2020-04-25T14:17:49.000Z
2020-04-25T14:17:49.000Z
#define CATCH_CONFIG_MAIN #include <catch.hpp> #include "CompanyPriceDataStorage.h" /* That's a sample test case */ TEST_CASE( "Company price data is stored and selecte3d", "[storage]" ) { CompanyPriceData etalonData{0, "1", "2", "3", "4"} CompanyPriceDataStorage storage("test.db"); const int id = stora...
32.75
72
0.732824
ZaMaZaN4iK
8411ec0587bd6d49d94bee2f8e3e0d32ae5148d6
5,231
cpp
C++
source/options/OptionDialog.cpp
Mauzerov/wxPacman
9fe599b1588d6143ff563ae8a3e5c2f31f69a5c3
[ "Unlicense" ]
1
2021-05-02T10:38:03.000Z
2021-05-02T10:38:03.000Z
source/options/OptionDialog.cpp
Mauzerov/wxPacman
9fe599b1588d6143ff563ae8a3e5c2f31f69a5c3
[ "Unlicense" ]
null
null
null
source/options/OptionDialog.cpp
Mauzerov/wxPacman
9fe599b1588d6143ff563ae8a3e5c2f31f69a5c3
[ "Unlicense" ]
null
null
null
#include "OptionDialog.h" #include <iostream> //(*InternalHeaders(OptionDialog) #include <wx/font.h> #include <wx/intl.h> #include <wx/settings.h> #include <wx/string.h> //*) //(*IdInit(OptionDialog) const long OptionDialog::ID_BUTTONSAVE = wxNewId(); const long OptionDialog::ID_KEYCHOICE = wxNewId(); const l...
52.31
182
0.761422
Mauzerov
8416064ba4d7477f450641def58f3b03edb4f096
8,294
cpp
C++
HPCSimulation.cpp
iray-tno/hal2015
c84643472b31efbcd7622867dcc4e71c80541274
[ "FSFAP" ]
null
null
null
HPCSimulation.cpp
iray-tno/hal2015
c84643472b31efbcd7622867dcc4e71c80541274
[ "FSFAP" ]
null
null
null
HPCSimulation.cpp
iray-tno/hal2015
c84643472b31efbcd7622867dcc4e71c80541274
[ "FSFAP" ]
null
null
null
//------------------------------------------------------------------------------ /// @file /// @brief HPCSimulation.hpp の実装 /// @author ハル研究所プログラミングコンテスト実行委員会 /// /// @copyright Copyright (c) 2015 HAL Laboratory, Inc. /// @attention このファイルの利用は、同梱のREADMEにある /// 利用条件に従ってください //------------------------...
29.204225
97
0.420666
iray-tno
84192b3897572770dbce377b3e7d0bec703cbff4
998
cpp
C++
tests/kernel/globalinit.cpp
v8786339/NyuziProcessor
34854d333d91dbf69cd5625505fb81024ec4f785
[ "Apache-2.0" ]
1,388
2015-02-05T17:16:17.000Z
2022-03-31T07:17:08.000Z
tests/kernel/globalinit.cpp
czvf/NyuziProcessor
31f74e43a785fa66d244f1e9744ca0ca9b8a1fad
[ "Apache-2.0" ]
176
2015-02-02T02:54:06.000Z
2022-02-01T06:00:21.000Z
tests/kernel/globalinit.cpp
czvf/NyuziProcessor
31f74e43a785fa66d244f1e9744ca0ca9b8a1fad
[ "Apache-2.0" ]
271
2015-02-18T02:19:04.000Z
2022-03-28T13:30:25.000Z
// // Copyright 2016 Jeff Bush // // 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...
20.791667
75
0.654309
v8786339
8421f307b6c36c4060ee159cf7ed771972cd5bbb
90
cpp
C++
src/Item.cpp
Erick9Thor/Zork
43ee99711bb991e0f8c3cf61f18c1d2e373ac2a7
[ "MIT" ]
null
null
null
src/Item.cpp
Erick9Thor/Zork
43ee99711bb991e0f8c3cf61f18c1d2e373ac2a7
[ "MIT" ]
null
null
null
src/Item.cpp
Erick9Thor/Zork
43ee99711bb991e0f8c3cf61f18c1d2e373ac2a7
[ "MIT" ]
null
null
null
#include "../include/Item.h" ItemType Item::GetItemType() const { return itemType; }
12.857143
34
0.677778
Erick9Thor
842b1dd42b8e6cfb395af85944e7da162dc0a8bc
4,385
cpp
C++
cnf_dump/cnf_dump_clo.cpp
appu226/FactorGraph
26e4de8518874abf2696a167eaf3dbaede5930f8
[ "MIT" ]
null
null
null
cnf_dump/cnf_dump_clo.cpp
appu226/FactorGraph
26e4de8518874abf2696a167eaf3dbaede5930f8
[ "MIT" ]
null
null
null
cnf_dump/cnf_dump_clo.cpp
appu226/FactorGraph
26e4de8518874abf2696a167eaf3dbaede5930f8
[ "MIT" ]
null
null
null
/* Copyright 2019 Parakram Majumdar 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, ...
32.242647
109
0.620753
appu226
842cc9c6722bc81483b9a34464a134e42c681b75
14,748
cpp
C++
src/RotationPricer.cpp
sergebisaillon/MerinioScheduler
8549ce7f3c1c14817a2eba9d565ca0b56f451e2a
[ "MIT" ]
1
2020-05-05T15:51:41.000Z
2020-05-05T15:51:41.000Z
src/RotationPricer.cpp
qiqi789/NurseScheduler
8549ce7f3c1c14817a2eba9d565ca0b56f451e2a
[ "MIT" ]
null
null
null
src/RotationPricer.cpp
qiqi789/NurseScheduler
8549ce7f3c1c14817a2eba9d565ca0b56f451e2a
[ "MIT" ]
1
2019-11-11T17:59:23.000Z
2019-11-11T17:59:23.000Z
/* * RotationPricer.cpp * * Created on: 2015-03-02 * Author: legraina */ #include "RotationPricer.h" #include "BcpModeler.h" /* namespace usage */ using namespace std; ////////////////////////////////////////////////////////////// // // R O T A T I O N P R I C E R // ////////////////////////////////////...
34.619718
137
0.702129
sergebisaillon
8438b89e25ce446d49d0eda0cc0bc78749c00c74
4,741
cc
C++
Samples/PostProcessing/PostProcessing.cc
rodrigobmg/YumeEngine
67c525c84616a5167b5bae45f36641e90227c281
[ "MIT" ]
129
2016-05-05T23:34:44.000Z
2022-03-07T20:17:18.000Z
Samples/PostProcessing/PostProcessing.cc
rodrigobmg/YumeEngine
67c525c84616a5167b5bae45f36641e90227c281
[ "MIT" ]
1
2017-05-07T16:09:41.000Z
2017-05-08T15:35:50.000Z
Samples/PostProcessing/PostProcessing.cc
rodrigobmg/YumeEngine
67c525c84616a5167b5bae45f36641e90227c281
[ "MIT" ]
20
2016-02-24T20:40:08.000Z
2022-02-04T23:48:18.000Z
//-------------------------------------------------------------------------------- //This is a file from Arkengine // // //Copyright (c) arkenthera.All rights reserved. // //BasicRenderWindow.cpp //-------------------------------------------------------------------------------- #include "Core/YumeHeaders.h" #include ...
27.725146
95
0.730015
rodrigobmg
84459f68a60fdf2e0000ed96d3ea03669d0acbe6
4,547
cpp
C++
Sankore-3.1/src/domain/UBItem.cpp
eaglezzb/rsdc
cce881f6542ff206bf286cf798c8ec8da3b51d50
[ "MIT" ]
null
null
null
Sankore-3.1/src/domain/UBItem.cpp
eaglezzb/rsdc
cce881f6542ff206bf286cf798c8ec8da3b51d50
[ "MIT" ]
null
null
null
Sankore-3.1/src/domain/UBItem.cpp
eaglezzb/rsdc
cce881f6542ff206bf286cf798c8ec8da3b51d50
[ "MIT" ]
null
null
null
/* * Copyright (C) 2010-2013 Groupement d'Intérêt Public pour l'Education Numérique en Afrique (GIP ENA) * * This file is part of Open-Sankoré. * * Open-Sankoré 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 Found...
30.516779
102
0.720475
eaglezzb
844620b796aba499ce01fcbcbd13774f592a3af7
1,917
cpp
C++
src/renderer/components/RectComponent.cpp
artfulbytes/sumobot_simulator
f2784d2ff506759019d7d5e840bd7aed591a0add
[ "MIT" ]
null
null
null
src/renderer/components/RectComponent.cpp
artfulbytes/sumobot_simulator
f2784d2ff506759019d7d5e840bd7aed591a0add
[ "MIT" ]
null
null
null
src/renderer/components/RectComponent.cpp
artfulbytes/sumobot_simulator
f2784d2ff506759019d7d5e840bd7aed591a0add
[ "MIT" ]
null
null
null
#include "components/RectComponent.h" #include "Renderer.h" #include "components/Transforms.h" #include "TexCoords.h" #include "Texture.h" #include "SpriteAnimation.h" RectComponent::RectComponent(const RectTransform *transform, const glm::vec4& color) : m_quadTransform(transform), m_color(color) { } RectComp...
29.045455
130
0.695357
artfulbytes
8446b534ea042ba69efdfb5ac4c427e47710ad33
5,067
cpp
C++
src/imports/cvkb/vkbquickmodel.cpp
CELLINKAB/qtcvkb
5b870f8ea4b42480eb678b065778de5dab36b199
[ "MIT" ]
null
null
null
src/imports/cvkb/vkbquickmodel.cpp
CELLINKAB/qtcvkb
5b870f8ea4b42480eb678b065778de5dab36b199
[ "MIT" ]
null
null
null
src/imports/cvkb/vkbquickmodel.cpp
CELLINKAB/qtcvkb
5b870f8ea4b42480eb678b065778de5dab36b199
[ "MIT" ]
null
null
null
/* * The MIT License (MIT) * * Copyright (C) 2020 CELLINK AB <info@cellink.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 limitation the ...
34.705479
140
0.727452
CELLINKAB
460071945d8a1109cb33f18a22a10552fabac77c
1,052
cpp
C++
src/dynamic_load.cpp
cgilmour/dd-opentracing-cpp
c83c6a5dc72029d13ab0d64a7222fb139a1889f1
[ "Apache-2.0" ]
null
null
null
src/dynamic_load.cpp
cgilmour/dd-opentracing-cpp
c83c6a5dc72029d13ab0d64a7222fb139a1889f1
[ "Apache-2.0" ]
null
null
null
src/dynamic_load.cpp
cgilmour/dd-opentracing-cpp
c83c6a5dc72029d13ab0d64a7222fb139a1889f1
[ "Apache-2.0" ]
null
null
null
#include <opentracing/dynamic_load.h> #include <iostream> #include "tracer.h" #include "tracer_factory.h" #include "version_check.h" int OpenTracingMakeTracerFactory(const char* opentracing_version, const void** error_category, void** tracer_factory) try { if (!datadog::opentracing::...
47.818182
94
0.681559
cgilmour
4604dc0789f87eabd6425248d8f7f211dcb9baed
6,663
cpp
C++
src/future/flexer.cpp
rasfmar/future
189a996f7e2c6401626d11ca6d8f11243dd0b737
[ "MIT" ]
null
null
null
src/future/flexer.cpp
rasfmar/future
189a996f7e2c6401626d11ca6d8f11243dd0b737
[ "MIT" ]
null
null
null
src/future/flexer.cpp
rasfmar/future
189a996f7e2c6401626d11ca6d8f11243dd0b737
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <string> #include "internal/_ftoken.hpp" #include "fstate.hpp" #include "flexer.hpp" void flexer::lex(fstate *state, fparser &parser) { lex(state, parser.tokens); } void flexer::lex(fstate *state, std::vector<_ftoken*> &tokens) { std::stack<_ftoken*> fstack; bool ...
31.880383
88
0.540147
rasfmar
46054b06a51fe0732a8681424f05cfcf5161c13e
1,212
cpp
C++
test/communicator_broadcast.cpp
correaa/b-mpi3
161e52a28ab9043be9ef33acd8f31dbeae483b61
[ "BSL-1.0" ]
null
null
null
test/communicator_broadcast.cpp
correaa/b-mpi3
161e52a28ab9043be9ef33acd8f31dbeae483b61
[ "BSL-1.0" ]
null
null
null
test/communicator_broadcast.cpp
correaa/b-mpi3
161e52a28ab9043be9ef33acd8f31dbeae483b61
[ "BSL-1.0" ]
null
null
null
#if COMPILATION_INSTRUCTIONS mpic++ -O3 -std=c++14 -Wall -Wfatal-errors $0 -o $0x.x && time mpirun -n 2 $0x.x $@ && rm -f $0x.x; exit #endif // © Copyright Alfredo A. Correa 2018-2020 #include "../../mpi3/main.hpp" #include "../../mpi3/communicator.hpp" namespace mpi3 = boost::mpi3; int mpi3::main(int, char*[], mpi3...
27.545455
118
0.575908
correaa
460819731d1f58a91ad128467d955be784f981e0
764
hpp
C++
libs/resource_tree/include/sge/resource_tree/detail/strip_path_prefix.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
2
2016-01-27T13:18:14.000Z
2018-05-11T01:11:32.000Z
libs/resource_tree/include/sge/resource_tree/detail/strip_path_prefix.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
null
null
null
libs/resource_tree/include/sge/resource_tree/detail/strip_path_prefix.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
3
2018-05-11T01:11:34.000Z
2021-04-24T19:47:45.000Z
// Copyright Carl Philipp Reh 2006 - 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) #ifndef SGE_RESOURCE_TREE_DETAIL_STRIP_PATH_PREFIX_HPP_INCLUDED #define SGE_RESOURCE_TREE_DETAIL_ST...
31.833333
97
0.784031
cpreh
4608b94ee463cd53b6600c1666ac954f0d0ee380
3,114
cpp
C++
Drivers/SelfTests/Boundaries/InsertionBoundarySelfTest.cpp
gustavo-castillo-bautista/Mercury
eeb402ccec8e487652229d4595c46ec84f6aefbb
[ "BSD-3-Clause" ]
null
null
null
Drivers/SelfTests/Boundaries/InsertionBoundarySelfTest.cpp
gustavo-castillo-bautista/Mercury
eeb402ccec8e487652229d4595c46ec84f6aefbb
[ "BSD-3-Clause" ]
null
null
null
Drivers/SelfTests/Boundaries/InsertionBoundarySelfTest.cpp
gustavo-castillo-bautista/Mercury
eeb402ccec8e487652229d4595c46ec84f6aefbb
[ "BSD-3-Clause" ]
null
null
null
//Copyright (c) 2013-2020, The MercuryDPM Developers Team. All rights reserved. //For the list of developers, see <http://www.MercuryDPM.org/Team>. // //Redistribution and use in source and binary forms, with or without //modification, are permitted provided that the following conditions are met: // * Redistributions ...
39.923077
115
0.738279
gustavo-castillo-bautista
460e73849e3611b85524258bf2aaa70644de2b5f
22,430
cpp
C++
scatterplot.cpp
fadel/msc-pm
bedf6936885694688ddb8bd3452f6bd68ef8d29c
[ "MIT" ]
null
null
null
scatterplot.cpp
fadel/msc-pm
bedf6936885694688ddb8bd3452f6bd68ef8d29c
[ "MIT" ]
null
null
null
scatterplot.cpp
fadel/msc-pm
bedf6936885694688ddb8bd3452f6bd68ef8d29c
[ "MIT" ]
null
null
null
#include "scatterplot.h" #include <algorithm> #include <cmath> #include <limits> #include <QSGGeometryNode> #include <QSGSimpleRectNode> #include "continuouscolorscale.h" #include "geometry.h" // Glyphs settings static const QColor DEFAULT_GLYPH_COLOR(255, 255, 255); static const float DEFAULT_GLYPH_SIZE = 8.0f; st...
28.609694
115
0.626973
fadel
4612f6436bee91d7c6b0cfc94f22418164a6900d
2,187
cpp
C++
排序/交换排序/P324.6.cpp
Ruvikm/Wangdao-Data-Structures
e00494f40c0be9d81229062bf69fe1e12e340773
[ "MIT" ]
103
2021-01-07T13:03:57.000Z
2022-03-31T03:10:35.000Z
排序/交换排序/P324.6.cpp
fu123567/Wangdao-Data-Structures
e00494f40c0be9d81229062bf69fe1e12e340773
[ "MIT" ]
null
null
null
排序/交换排序/P324.6.cpp
fu123567/Wangdao-Data-Structures
e00494f40c0be9d81229062bf69fe1e12e340773
[ "MIT" ]
23
2021-04-10T07:53:03.000Z
2022-03-31T00:33:05.000Z
#include <cstdio> #include <iostream> #include <algorithm> #include <time.h> #include <stdlib.h> using namespace std; #pragma region 建立顺序存储的线性表 #define MAX 30 #define _for(i,a,b) for( int i=(a); i<(b); ++i) #define _rep(i,a,b) for( int i=(a); i<=(b); ++i) typedef struct { int data[MAX]; int length; }List; void ...
19.184211
93
0.581619
Ruvikm
4615023df5a596ca4b465687e621a84d88042a86
359
cpp
C++
module02/ex02/main.cpp
JLL32/piscine-cpp
d1d3296d8e25a1c33f7c92df4f61e6f76b8dab8c
[ "MIT" ]
null
null
null
module02/ex02/main.cpp
JLL32/piscine-cpp
d1d3296d8e25a1c33f7c92df4f61e6f76b8dab8c
[ "MIT" ]
null
null
null
module02/ex02/main.cpp
JLL32/piscine-cpp
d1d3296d8e25a1c33f7c92df4f61e6f76b8dab8c
[ "MIT" ]
null
null
null
#include "Fixed.hpp" int main() { Fixed a; Fixed const b(Fixed(5.05f) * Fixed(2)); std::cout << a << std::endl; std::cout << ++a << std::endl; std::cout << a << std::endl; std::cout << a++ << std::endl; std::cout << a << std::endl; std::cout << b << std::endl; std::cout << Fixed::m...
22.4375
47
0.487465
JLL32
461a10273aba9fcf0e0d3aa55bec17e788550bae
271
cpp
C++
Test/run-test.cpp
As-12/Header-only-skeleton
17603f3ef8c1808000213d8f12a7f6271c15de25
[ "MIT" ]
null
null
null
Test/run-test.cpp
As-12/Header-only-skeleton
17603f3ef8c1808000213d8f12a7f6271c15de25
[ "MIT" ]
null
null
null
Test/run-test.cpp
As-12/Header-only-skeleton
17603f3ef8c1808000213d8f12a7f6271c15de25
[ "MIT" ]
null
null
null
// AllTests.cpp #include <gtest/gtest.h> #include <Library/Framework.hpp> TEST(SubtractTest1, SubtractTwoNumbers) { Library::print(); EXPECT_EQ(5, 5); } int main(int argc, char **argv) { testing::InitGoogleTest(&argc, argv); return RUN_ALL_TESTS(); }
15.055556
41
0.675277
As-12
461aa61039c0c41d53644a5192d06be4b61e2968
210
cpp
C++
266. Palindrome Permutation.cpp
rajeev-ranjan-au6/Leetcode_Cpp
f64cd98ab96ec110f1c21393f418acf7d88473e8
[ "MIT" ]
3
2020-12-30T00:29:59.000Z
2021-01-24T22:43:04.000Z
266. Palindrome Permutation.cpp
rajeevranjancom/Leetcode_Cpp
f64cd98ab96ec110f1c21393f418acf7d88473e8
[ "MIT" ]
null
null
null
266. Palindrome Permutation.cpp
rajeevranjancom/Leetcode_Cpp
f64cd98ab96ec110f1c21393f418acf7d88473e8
[ "MIT" ]
null
null
null
class Solution { public: bool canPermutePalindrome(string s) { unordered_map<char, int>m; int odd = 0; for(auto c: s) (m[c]++ % 2) ? odd-- : odd++; return odd <= 1; } };
21
52
0.504762
rajeev-ranjan-au6
462041eb825084ccf615b4abf767bd7c7a37acd1
520
cpp
C++
Engine/Source/Core/Types/Time.cpp
SparkyPotato/Ignis
40cf87c03db7c07d3a05ab2c30bbe4fe3b16156c
[ "MIT" ]
1
2021-02-27T15:42:47.000Z
2021-02-27T15:42:47.000Z
Engine/Source/Core/Types/Time.cpp
SparkyPotato/Ignis
40cf87c03db7c07d3a05ab2c30bbe4fe3b16156c
[ "MIT" ]
null
null
null
Engine/Source/Core/Types/Time.cpp
SparkyPotato/Ignis
40cf87c03db7c07d3a05ab2c30bbe4fe3b16156c
[ "MIT" ]
null
null
null
/// Copyright (c) 2021 Shaye Garg. #include "Core/Types/Time.h" #include "Core/Platform/Platform.h" #ifdef PLATFORM_WINDOWS # include <Windows.h> #endif namespace Ignis { #ifdef PLATFORM_WINDOWS Time Time::Now() { SYSTEMTIME time; GetLocalTime(&time); return Time{ .Year = time.wYear, .Month = u8(time.wMonth)...
13.684211
38
0.667308
SparkyPotato
46222bf791ebd8f20bf205a35de1fc7d309e10da
1,485
cpp
C++
src/VKHelpers/Command/bindings.cpp
hiradyazdan/sdf-ray4d-engine
d71385e23cb630c54ff620ba1dff287ad90861b8
[ "MIT" ]
2
2021-09-28T22:15:44.000Z
2022-02-03T22:25:46.000Z
src/VKHelpers/Command/bindings.cpp
hiradyazdan/sdf-ray4d-engine
d71385e23cb630c54ff620ba1dff287ad90861b8
[ "MIT" ]
null
null
null
src/VKHelpers/Command/bindings.cpp
hiradyazdan/sdf-ray4d-engine
d71385e23cb630c54ff620ba1dff287ad90861b8
[ "MIT" ]
null
null
null
/***************************************************** * Partial Class: CommandHelper * Members: Command Buffer Bindings/Overloads (Private) *****************************************************/ #include "VKHelpers/Command.hpp" using namespace sdfRay4d::vkHelpers; /** * * @param[in] _material */ void CommandH...
25.169492
97
0.648485
hiradyazdan
4624a63178202e6ae40f52aa49966a55347aa1d5
389
cpp
C++
src/lib/output/buzzer.cpp
aescariom/In3
0e6adcca3492bc69912170bf9a39719a407873c4
[ "MIT" ]
3
2016-09-23T18:11:32.000Z
2021-05-31T20:50:47.000Z
src/lib/output/buzzer.cpp
aescariom/In3
0e6adcca3492bc69912170bf9a39719a407873c4
[ "MIT" ]
1
2016-09-23T18:14:32.000Z
2016-10-08T21:11:14.000Z
src/lib/output/buzzer.cpp
aescariom/In3
0e6adcca3492bc69912170bf9a39719a407873c4
[ "MIT" ]
1
2017-03-24T19:30:43.000Z
2017-03-24T19:30:43.000Z
#include "buzzer.h" Buzzer::Buzzer(volatile uint8_t *port, volatile uint8_t *dir, uint8_t mask){ this->port = port; this->dir = dir; this->mask = mask; } void Buzzer::init(){ *(this->dir) |= 1 << this->mask; // output pin } void Buzzer::beep(){ this->toggle(); _delay_ms(_O_BUZZER_DELAY_MS); this->toggle();...
17.681818
76
0.619537
aescariom
4624bd768a1ee740003c4667e258e09558e94c5b
4,891
cpp
C++
Math/Generating Function of a Linear Recurrence.cpp
bazzyadb/all-code
cf3039641b5aa84b1c5b184a95d69bd4091974c9
[ "MIT" ]
1,639
2021-09-15T09:12:06.000Z
2022-03-31T22:58:57.000Z
Math/Generating Function of a Linear Recurrence.cpp
bazzyadb/all-code
cf3039641b5aa84b1c5b184a95d69bd4091974c9
[ "MIT" ]
16
2022-01-15T17:50:08.000Z
2022-01-28T12:55:21.000Z
Math/Generating Function of a Linear Recurrence.cpp
bazzyadb/all-code
cf3039641b5aa84b1c5b184a95d69bd4091974c9
[ "MIT" ]
444
2021-09-15T09:17:41.000Z
2022-03-29T18:21:46.000Z
#include<bits/stdc++.h> using namespace std; const int N = 3e3 + 9, mod = 998244353; template <int32_t MOD> struct modint { int32_t value; modint() = default; modint(int32_t value_) : value(value_) {} inline modint<MOD> operator + (modint<MOD> other) const { int32_t c = this->value + other.v...
35.963235
172
0.512983
bazzyadb
4634737aca597d284dca13cf9574464bab7dc1ff
20
cpp
C++
src/Game/zScript.cpp
DarkRTA/bfbbdecomp
e2105e94b8da26f6e6e2dfcf1f004aaaeed9799e
[ "OLDAP-2.7" ]
null
null
null
src/Game/zScript.cpp
DarkRTA/bfbbdecomp
e2105e94b8da26f6e6e2dfcf1f004aaaeed9799e
[ "OLDAP-2.7" ]
6
2022-01-16T05:29:01.000Z
2022-01-18T01:10:29.000Z
src/Game/zScript.cpp
DarkRTA/bfbbdecomp
e2105e94b8da26f6e6e2dfcf1f004aaaeed9799e
[ "OLDAP-2.7" ]
1
2022-01-16T00:04:23.000Z
2022-01-16T00:04:23.000Z
#include "zScript.h"
20
20
0.75
DarkRTA
463b70decfcf756e76dc1f4d982ab90ff08f6feb
9,097
cpp
C++
src/daemon/process/AppProcess.cpp
FrederickHou/app-mesh
8f23a1555d3a8da1481d91e1e60464fc197bd6e5
[ "MIT" ]
null
null
null
src/daemon/process/AppProcess.cpp
FrederickHou/app-mesh
8f23a1555d3a8da1481d91e1e60464fc197bd6e5
[ "MIT" ]
null
null
null
src/daemon/process/AppProcess.cpp
FrederickHou/app-mesh
8f23a1555d3a8da1481d91e1e60464fc197bd6e5
[ "MIT" ]
1
2020-11-01T09:11:49.000Z
2020-11-01T09:11:49.000Z
#include <thread> #include <fstream> #include "AppProcess.h" #include "LinuxCgroup.h" #include "../Configuration.h" #include "../ResourceLimitation.h" #include "../../common/Utility.h" #include "../../common/DateTime.h" #include "../../common/os/pstree.hpp" #define CLOSE_ACE_HANDLER(handler) \ do ...
30.62963
238
0.67165
FrederickHou
463ed1f546940c56ba4ee677e916d5a1b61dab89
7,947
cpp
C++
tests/src/percent_input_tests.cpp
DmitryDzz/calculator-comrade-lib
107930ef7df88b330b800993028b35d08d5d78f6
[ "MIT" ]
4
2021-01-18T03:11:14.000Z
2022-01-29T09:17:06.000Z
tests/src/percent_input_tests.cpp
DmitryDzz/calculator-comrade-lib
107930ef7df88b330b800993028b35d08d5d78f6
[ "MIT" ]
32
2018-10-11T22:05:14.000Z
2019-05-26T16:25:38.000Z
tests/src/percent_input_tests.cpp
DmitryDzz/calculator-comrade-lib
107930ef7df88b330b800993028b35d08d5d78f6
[ "MIT" ]
null
null
null
/** * Calculator Comrade Library * License: https://github.com/DmitryDzz/calculator-comrade-lib/blob/master/LICENSE * Author: Dmitry Dzakhov * Email: info@robot-mitya.ru */ #include <gmock/gmock.h> #include "calculator/calculator.h" #include "calculator/button.h" #include "calculator/operation.h" #include "calc_h...
26.938983
83
0.623632
DmitryDzz
4643ab8154366f53cffbe193c750fd0a35c954a3
578
cpp
C++
barelymusician/dsp/one_pole_filter.cpp
anokta/barelymusician
5e3485c80cc74c4bcbc0653c0eb8750ad44981d6
[ "MIT" ]
6
2021-11-25T17:40:21.000Z
2022-03-24T03:38:11.000Z
barelymusician/dsp/one_pole_filter.cpp
anokta/barelymusician
5e3485c80cc74c4bcbc0653c0eb8750ad44981d6
[ "MIT" ]
17
2021-11-27T00:10:39.000Z
2022-03-30T00:33:51.000Z
barelymusician/dsp/one_pole_filter.cpp
anokta/barelymusician
5e3485c80cc74c4bcbc0653c0eb8750ad44981d6
[ "MIT" ]
null
null
null
#include "barelymusician/dsp/one_pole_filter.h" #include <algorithm> namespace barelyapi { double OnePoleFilter::Next(double input) noexcept { output_ = coefficient_ * (output_ - input) + input; if (type_ == FilterType::kHighPass) { return input - output_; } return output_; } void OnePoleFilter::Reset()...
24.083333
71
0.719723
anokta
46498961a608ee3f3a53e462acc2ee7f0d39f35f
415
cpp
C++
sursa.cpp
seerj30/backtracking-recursiv_permutari
8ec7d75ed50305e68527d6dd74133910d9c35256
[ "MIT" ]
null
null
null
sursa.cpp
seerj30/backtracking-recursiv_permutari
8ec7d75ed50305e68527d6dd74133910d9c35256
[ "MIT" ]
null
null
null
sursa.cpp
seerj30/backtracking-recursiv_permutari
8ec7d75ed50305e68527d6dd74133910d9c35256
[ "MIT" ]
null
null
null
#include<iostream> using namespace std; int n; void back(int st[], int k) { int i,ev,j; if(k==n+1) { for(int i = 1; i < k; i++) cout << st[i] << " "; cout << endl; } else for(int i = 1; i <= n; i++) { st[k] = i; ev=1; for(j = 1; j < k; j++) if(st[j] == st[k]) ev=0; if(ev) back(...
12.205882
29
0.436145
seerj30
464a3aeedf7fb4a9e26ce09eb1d2a829735d1f65
1,829
hh
C++
test/CLI/AppTest.hh
decouple/decouple.io
c841e905fbc8bd9507759a0ef6e56e1985c56c5a
[ "MIT" ]
null
null
null
test/CLI/AppTest.hh
decouple/decouple.io
c841e905fbc8bd9507759a0ef6e56e1985c56c5a
[ "MIT" ]
null
null
null
test/CLI/AppTest.hh
decouple/decouple.io
c841e905fbc8bd9507759a0ef6e56e1985c56c5a
[ "MIT" ]
null
null
null
<?hh // partial namespace Test\CLI; use Decouple\CLI\App; use Decouple\CLI\Request\Request; use Decouple\Decoupler\Decoupler; use Decouple\Registry\Paths; use Decouple\CLI\Console; class AppTest extends \Decouple\Test\TestCase { public function execute() : void { Console::output('Testing CLI bootstrap (version)')...
29.031746
85
0.631493
decouple
464b77d844ad0b1b829a3053a1afbc119a63c6ad
4,139
cpp
C++
cha1/max_subarray.cpp
byzhou/CLRS
1af11fc971b9b91a050cdb1f2b3cf9a9471c8a22
[ "MIT" ]
null
null
null
cha1/max_subarray.cpp
byzhou/CLRS
1af11fc971b9b91a050cdb1f2b3cf9a9471c8a22
[ "MIT" ]
null
null
null
cha1/max_subarray.cpp
byzhou/CLRS
1af11fc971b9b91a050cdb1f2b3cf9a9471c8a22
[ "MIT" ]
null
null
null
#include <iostream> #include <cstdlib> #include <ctime> #include <time.h> #include <stdio.h> using namespace std; const int neg_infinity = 0xFFFFFFFF ; const int pos_infinity = 0x7FFFFFFF ; void print_array ( int* array , int num ) ; void diff_array ( int* array, int* diff_array ) ; void max_cross_subarray ( int* ...
28.349315
113
0.512926
byzhou
465470dd4d63504759a42fd83d03389631e1900b
10,971
cpp
C++
solver/modules/slide/src/StraightSolver.cpp
taiheioki/procon2014_ut
8199ff0a54220f1a0c51acece377f65b64db4863
[ "MIT" ]
2
2021-04-14T06:41:18.000Z
2021-04-29T01:56:08.000Z
solver/modules/slide/src/StraightSolver.cpp
taiheioki/procon2014_ut
8199ff0a54220f1a0c51acece377f65b64db4863
[ "MIT" ]
null
null
null
solver/modules/slide/src/StraightSolver.cpp
taiheioki/procon2014_ut
8199ff0a54220f1a0c51acece377f65b64db4863
[ "MIT" ]
null
null
null
#include <algorithm> #include <functional> #include <limits> #include <boost/format.hpp> #include "StraightSolver.hpp" namespace slide { void StraightSolver::alignRow(AnswerBoard<Flexible>& board) { BOOST_ASSERT(board.height() >= 3 && board.width() >= 2); // 右端2個以外 rep(dstX, board.width()-2){ const Point dst(...
25.753521
125
0.627199
taiheioki
4654c53aeb35a7c4dbdd747d4f61e5dd3ced6dd0
3,332
hpp
C++
alpaka/include/alpaka/block/shared/dyn/BlockSharedMemDynUniformCudaHipBuiltIn.hpp
alpaka-group/mallocMC
ddba224b764885f816c42a7719551b14e6f5752b
[ "MIT" ]
6
2021-02-01T09:01:39.000Z
2021-11-14T17:09:03.000Z
alpaka/include/alpaka/block/shared/dyn/BlockSharedMemDynUniformCudaHipBuiltIn.hpp
alpaka-group/mallocMC
ddba224b764885f816c42a7719551b14e6f5752b
[ "MIT" ]
17
2020-11-09T14:13:50.000Z
2021-11-03T11:54:54.000Z
alpaka/include/alpaka/block/shared/dyn/BlockSharedMemDynUniformCudaHipBuiltIn.hpp
alpaka-group/mallocMC
ddba224b764885f816c42a7719551b14e6f5752b
[ "MIT" ]
null
null
null
/* Copyright 2019 Benjamin Worpitz, René Widera * * This file is part of alpaka. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #pragma once #if defined(A...
45.643836
114
0.536315
alpaka-group
465af3690db8e7e38b86005371afe4aa42b6cc8b
556
cpp
C++
test/filter.cpp
ericjavier/yaml
92d9097fc58602fbc88000fd22e2debc2f90996c
[ "Apache-2.0" ]
1
2015-04-12T19:46:13.000Z
2015-04-12T19:46:13.000Z
test/filter.cpp
ericjavier/yaml
92d9097fc58602fbc88000fd22e2debc2f90996c
[ "Apache-2.0" ]
null
null
null
test/filter.cpp
ericjavier/yaml
92d9097fc58602fbc88000fd22e2debc2f90996c
[ "Apache-2.0" ]
null
null
null
#include <gtest/gtest.h> #include <yaml/config.hpp> #include <yaml/detail/placeholders.hpp> #include <yaml/arithmetic.hpp> #include <yaml/sequence/filter.hpp> #include "test_utils.hpp" using namespace YAML_NSP; using func = less::ret<_0, std::integral_constant<int, 3>>; using expected = list<std::integral_constant<i...
25.272727
59
0.723022
ericjavier
465eb68fb7072790e82f6c3db5f23dbfb93e7340
4,148
cpp
C++
Linked list/LinkedListStruct.cpp
lovinh/Data-Structure
f5dab728b809507b8b15eb8f8450a6a85f95467e
[ "MIT" ]
null
null
null
Linked list/LinkedListStruct.cpp
lovinh/Data-Structure
f5dab728b809507b8b15eb8f8450a6a85f95467e
[ "MIT" ]
null
null
null
Linked list/LinkedListStruct.cpp
lovinh/Data-Structure
f5dab728b809507b8b15eb8f8450a6a85f95467e
[ "MIT" ]
null
null
null
#ifndef __LinkedListStruct_cpp #define __LinkedListStruct_cpp #include <iostream> template <class T> struct sNode // struct node { T data; sNode<T> *next; }; // Insert template <class T> void push_front(sNode<T> **head, const T &data) { sNode<T> *node = new sNode<T>; node->data = data; node->next =...
18.435556
57
0.478303
lovinh
46642a3737950cf666a252806f317be9196ca388
1,864
cpp
C++
c++/Data Structures/RMQ.cpp
WearyJunger/notebook
8fc7bfdcacffd63b131b5ed0c92365f682ba313f
[ "MIT" ]
null
null
null
c++/Data Structures/RMQ.cpp
WearyJunger/notebook
8fc7bfdcacffd63b131b5ed0c92365f682ba313f
[ "MIT" ]
null
null
null
c++/Data Structures/RMQ.cpp
WearyJunger/notebook
8fc7bfdcacffd63b131b5ed0c92365f682ba313f
[ "MIT" ]
1
2018-10-08T21:01:59.000Z
2018-10-08T21:01:59.000Z
Range minimum query. Recibe como parametro en el constructor un array de valores. Las consultas se realizan con el método rmq(indice_inicio, indice_final) y pueden actualizarse los valores con update_point(indice, nuevo_valor) class SegmentTree { private: vector<int> st, A; int n; int left (i...
28.242424
226
0.495708
WearyJunger
466f649cd8398e7deb5c21a4cf7fc57bbcff1ba5
1,025
cpp
C++
Lab 4/Lab 4/Lab 4.cpp
shonwr/c-assignments-projects
fab40807ba2720cec577aa9689361746e33ef678
[ "Apache-2.0" ]
null
null
null
Lab 4/Lab 4/Lab 4.cpp
shonwr/c-assignments-projects
fab40807ba2720cec577aa9689361746e33ef678
[ "Apache-2.0" ]
null
null
null
Lab 4/Lab 4/Lab 4.cpp
shonwr/c-assignments-projects
fab40807ba2720cec577aa9689361746e33ef678
[ "Apache-2.0" ]
null
null
null
// Lab 4.cpp : main project file. #include "stdafx.h" #include <iostream> using namespace System; using namespace std; char fName[50]; char lName[50]; char space[10] = " "; int main() { system("color f0"); printf("This program: \n\t(1)Prints an entered first and last name \n\t(2)Prints the number of letters in each...
26.973684
146
0.636098
shonwr
4671ec7a3b1a40d24223e8bfc1ef09540e1dc440
1,784
cpp
C++
DivisionEngine/DivisionTest/ClockTest.cpp
martheveldhuis/DivisionEngine
8f7ba1c355ee010c005df207e08d51673f3cdf8d
[ "MIT" ]
1
2017-11-29T19:19:43.000Z
2017-11-29T19:19:43.000Z
DivisionEngine/DivisionTest/ClockTest.cpp
martheveldhuis/DivisionEngine
8f7ba1c355ee010c005df207e08d51673f3cdf8d
[ "MIT" ]
2
2018-01-16T12:11:24.000Z
2018-01-16T15:21:46.000Z
DivisionEngine/DivisionTest/ClockTest.cpp
martheveldhuis/DivisionEngine
8f7ba1c355ee010c005df207e08d51673f3cdf8d
[ "MIT" ]
1
2018-01-28T13:10:49.000Z
2018-01-28T13:10:49.000Z
#include "CppUnitTest.h" #include "Clock.h" #include <chrono> #include <thread> #include <iostream> using namespace Microsoft::VisualStudio::CppUnitTestFramework; using namespace Division; namespace DivisionTest { TEST_CLASS(ClockTest) { public: TEST_METHOD(testClockStart) { Clock clock; clock.start()...
16.830189
64
0.663117
martheveldhuis
467a5110cc99dab334a99239e0b6d2733962ca4c
21
cc
C++
src/main/c++/novemberizing/io/buffer.cc
iticworld/reactive-lib
9ab761376776e759390fa417d50921ec6e8a898a
[ "Apache-2.0" ]
1
2020-10-10T11:57:15.000Z
2020-10-10T11:57:15.000Z
src/main/c++/novemberizing/io/buffer.cc
iticworld/reactive-lib
9ab761376776e759390fa417d50921ec6e8a898a
[ "Apache-2.0" ]
null
null
null
src/main/c++/novemberizing/io/buffer.cc
iticworld/reactive-lib
9ab761376776e759390fa417d50921ec6e8a898a
[ "Apache-2.0" ]
null
null
null
#include "buffer.hh"
10.5
20
0.714286
iticworld
467adea4e2f3af676246adae4073c1f4877d720e
75
hxx
C++
src/drawable.hxx
luutifa/openglpractice
1158453f0b124910ad8c4101f226dd55b5ce4262
[ "MIT" ]
null
null
null
src/drawable.hxx
luutifa/openglpractice
1158453f0b124910ad8c4101f226dd55b5ce4262
[ "MIT" ]
null
null
null
src/drawable.hxx
luutifa/openglpractice
1158453f0b124910ad8c4101f226dd55b5ce4262
[ "MIT" ]
null
null
null
#pragma once class Drawable { public: virtual void draw() const; };
10.714286
30
0.653333
luutifa
46823dbdade1cbfdbfe418a0c45b44216ff606cf
14,456
cpp
C++
push1st-server/core/lua/clua.cpp
navek-soft/push1st
6d0638e31031dcf55442382df0e92ac67d95801b
[ "Apache-2.0" ]
16
2021-11-02T07:29:18.000Z
2021-12-23T13:28:05.000Z
push1st-server/core/lua/clua.cpp
navek-soft/push1st
6d0638e31031dcf55442382df0e92ac67d95801b
[ "Apache-2.0" ]
null
null
null
push1st-server/core/lua/clua.cpp
navek-soft/push1st
6d0638e31031dcf55442382df0e92ac67d95801b
[ "Apache-2.0" ]
null
null
null
#include "clua.h" #include <unordered_map> #include <set> #include <deque> #include <functional> #include <ctime> #define l L.get() void* clua::engine::getModule(clua::lua_t L, const std::string_view& modName, const std::string_view& modNamespace) { if (lua_getglobal(L, modNamespace.data()); lua_istable(L, -1)) {...
41.185185
217
0.509408
navek-soft
46835ffc0fa55038a82c3e8f90cfff09dc4cb13e
19,985
cpp
C++
src/game/server/hl1/hl1_npc_leech.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
6
2022-01-23T09:40:33.000Z
2022-03-20T20:53:25.000Z
src/game/server/hl1/hl1_npc_leech.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
null
null
null
src/game/server/hl1/hl1_npc_leech.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
1
2022-02-06T21:05:23.000Z
2022-02-06T21:05:23.000Z
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: // // $NoKeywords: $ // //=============================================================================// #include "cbase.h" #include "ai_default.h" #include "ai_task.h" #include "ai_schedule.h" #include "ai_nod...
28.71408
129
0.615161
cstom4994
4696fe7ded22d7a620a092d9bfb77c12dec81854
718
cpp
C++
L04-Railroad/Student_Code/Factory.cpp
tlyon3/CS235
2bdb8eaf66c9adbfe7ec59c0535852fd1cc30eda
[ "MIT" ]
1
2018-03-04T02:58:55.000Z
2018-03-04T02:58:55.000Z
L04-Railroad/Student_Code/Factory.cpp
tlyon3/CS235
2bdb8eaf66c9adbfe7ec59c0535852fd1cc30eda
[ "MIT" ]
1
2015-02-09T21:29:12.000Z
2015-02-09T21:32:06.000Z
L04-Railroad/Student_Code/Factory.cpp
tlyon3/CS235
2bdb8eaf66c9adbfe7ec59c0535852fd1cc30eda
[ "MIT" ]
4
2019-05-20T02:57:47.000Z
2021-02-11T15:41:15.000Z
#include "Factory.h" #include "station.h" //You may add #include statments here using namespace std; /* Unlike all other documents provided, you may modify this document slightly (but do not change its name) */ //======================================================================================= /* createStation...
31.217391
104
0.558496
tlyon3
469ae2939322e272ff45c6fe1f633df93b3137a6
373
hh
C++
LAMPS-HighEnergy/detector/LHNeutronScintArray.hh
ggfdsa10/KEBI_AT-TPC
40e00fcd10d3306b93fff93be5fb0988f87715a7
[ "MIT" ]
3
2021-05-24T19:43:30.000Z
2022-01-06T21:03:23.000Z
LAMPS-HighEnergy/detector/LHNeutronScintArray.hh
ggfdsa10/KEBI_AT-TPC
40e00fcd10d3306b93fff93be5fb0988f87715a7
[ "MIT" ]
4
2020-05-04T15:52:26.000Z
2021-09-13T10:51:03.000Z
LAMPS-HighEnergy/detector/LHNeutronScintArray.hh
ggfdsa10/KEBI_AT-TPC
40e00fcd10d3306b93fff93be5fb0988f87715a7
[ "MIT" ]
3
2020-06-14T10:53:58.000Z
2022-01-06T21:03:30.000Z
#ifndef LHNEUTRONSCINTARRAY_HH #define LHNEUTRONSCINTARRAY_HH #include "KBDetector.hh" class LHNeutronScintArray : public KBDetector { public: LHNeutronScintArray(); virtual ~LHNeutronScintArray() {}; virtual bool Init(); protected: virtual bool BuildGeometry(); virtual bool BuildDetectorPla...
16.954545
45
0.739946
ggfdsa10
46a09092cd0564f2523082aafc7e85aa138113b0
3,015
cpp
C++
src/drivers/Input/PS2MouseDriver.cpp
Unified-Projects/Unified-OS
89912adc1ed9ec35753fe0f4fa35f03d30ec66a2
[ "BSD-2-Clause" ]
null
null
null
src/drivers/Input/PS2MouseDriver.cpp
Unified-Projects/Unified-OS
89912adc1ed9ec35753fe0f4fa35f03d30ec66a2
[ "BSD-2-Clause" ]
null
null
null
src/drivers/Input/PS2MouseDriver.cpp
Unified-Projects/Unified-OS
89912adc1ed9ec35753fe0f4fa35f03d30ec66a2
[ "BSD-2-Clause" ]
null
null
null
#include <drivers/Input/PS2MouseDriver.h> using namespace UnifiedOS; using namespace UnifiedOS::Drivers; PS2MouseEventHandler::PS2MouseEventHandler(){ } PS2MouseEventHandler::~PS2MouseEventHandler(){ } void PS2MouseEventHandler::OnMouseDown(uint8_t button){ } void PS2MouseEventHandler::OnMouseUp(uint8_t button){ ...
24.314516
140
0.596352
Unified-Projects
46a259730f0a41dd17d84687e7e34ffb35ebbc7c
1,677
cpp
C++
MidiChannel.cpp
Madsy/libmidi
c271e991e9d6f762e81a8d2dbf7a5cd63973629d
[ "MIT" ]
5
2018-08-14T01:04:33.000Z
2021-07-15T22:13:45.000Z
MidiChannel.cpp
Madsy/libmidi
c271e991e9d6f762e81a8d2dbf7a5cd63973629d
[ "MIT" ]
4
2017-03-21T23:10:46.000Z
2017-03-21T23:19:55.000Z
MidiChannel.cpp
Madsy/libmidi
c271e991e9d6f762e81a8d2dbf7a5cd63973629d
[ "MIT" ]
null
null
null
// // Created by madsy on 22.03.17. // #include <algorithm> #include "MidiChannel.h" MidiChannel::MidiChannel() : pChannelIndex(0), pStartTick(0), pEndTick(0) { } MidiChannel::~MidiChannel() { } std::vector<std::shared_ptr<MidiEvent>> MidiChannel::getEventsWithinInterval(unsigned int startTick, unsigned int endTi...
26.619048
130
0.621944
Madsy
46a38100725550a521f3db415b1ccaf992cbaa83
1,588
cpp
C++
Cpp/odin/odin.cpp
Deuanz/odin
da31a6bc8b9b4a0270f0807b588483840a24cf46
[ "BSL-1.0" ]
null
null
null
Cpp/odin/odin.cpp
Deuanz/odin
da31a6bc8b9b4a0270f0807b588483840a24cf46
[ "BSL-1.0" ]
null
null
null
Cpp/odin/odin.cpp
Deuanz/odin
da31a6bc8b9b4a0270f0807b588483840a24cf46
[ "BSL-1.0" ]
null
null
null
/* Copyright 2016-2017 Felspar Co Ltd. http://odin.felspar.com/ Distributed under the Boost Software License, Version 1.0. See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt */ #include <odin/odin.hpp> #include <odin/nonce.hpp> #include <fostgres/callback.hpp> ...
35.288889
89
0.630982
Deuanz
46a7bca86ec9b994cc5976c29460d58adfaee694
550
hpp
C++
ex03/include/RobotomyRequestForm.hpp
42cursus-youkim/-Rank04-CPP-Module05
71244b25b1c9556dd4ec186e543c2a3e308d0036
[ "MIT" ]
null
null
null
ex03/include/RobotomyRequestForm.hpp
42cursus-youkim/-Rank04-CPP-Module05
71244b25b1c9556dd4ec186e543c2a3e308d0036
[ "MIT" ]
null
null
null
ex03/include/RobotomyRequestForm.hpp
42cursus-youkim/-Rank04-CPP-Module05
71244b25b1c9556dd4ec186e543c2a3e308d0036
[ "MIT" ]
null
null
null
#ifndef __ROBOTOMYREQUESTFORM_H__ #define __ROBOTOMYREQUESTFORM_H__ #include "Form.hpp" class RobotomyRequestForm : public Form { private: // Disabled Operators RobotomyRequestForm& operator=(const RobotomyRequestForm& assign); public: enum Requirement { SIGN = 72, EXEC = 45 }; // Constructors & Destructor...
23.913043
68
0.767273
42cursus-youkim
9e56615e2ffd44d3ff32857a39c631984255f628
8,484
cp
C++
Linux/Sources/Application/Calendar/Calendar_View/Free_Busy_View/CFreeBusyTable.cp
mulberry-mail/mulberry4-client
cdaae15c51dd759110b4fbdb2063d0e3d5202103
[ "ECL-2.0", "Apache-2.0" ]
12
2015-04-21T16:10:43.000Z
2021-11-05T13:41:46.000Z
Linux/Sources/Application/Calendar/Calendar_View/Free_Busy_View/CFreeBusyTable.cp
mulberry-mail/mulberry4-client
cdaae15c51dd759110b4fbdb2063d0e3d5202103
[ "ECL-2.0", "Apache-2.0" ]
2
2015-11-02T13:32:11.000Z
2019-07-10T21:11:21.000Z
Linux/Sources/Application/Calendar/Calendar_View/Free_Busy_View/CFreeBusyTable.cp
mulberry-mail/mulberry4-client
cdaae15c51dd759110b4fbdb2063d0e3d5202103
[ "ECL-2.0", "Apache-2.0" ]
6
2015-01-12T08:49:12.000Z
2021-03-27T09:11:10.000Z
/* Copyright (c) 2007-2009 Cyrus Daboo. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unle...
26.933333
131
0.709335
mulberry-mail
9e598ab89a764c1ec62524703ed3067e2692fd1f
1,497
hh
C++
src/physics/JointFeedback.hh
nherment/gazebo
fff0aa30b4b5748e43c2b0aa54ffcd366e9f042a
[ "ECL-2.0", "Apache-2.0" ]
5
2016-01-17T20:41:39.000Z
2018-05-01T12:02:58.000Z
src/physics/JointFeedback.hh
nherment/gazebo
fff0aa30b4b5748e43c2b0aa54ffcd366e9f042a
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
src/physics/JointFeedback.hh
nherment/gazebo
fff0aa30b4b5748e43c2b0aa54ffcd366e9f042a
[ "ECL-2.0", "Apache-2.0" ]
5
2015-09-29T02:30:16.000Z
2022-03-30T12:11:22.000Z
/* * Copyright 2011 Nate Koenig & Andrew Howard * * 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 l...
25.372881
75
0.645291
nherment
9e5a44e311b394c612d80c73766e978ebcbf9759
5,009
hpp
C++
Linux/Ubuntu/64bit/AVAPI/Avapi/TECHNICAL_INDICATOR/AROONOSC.hpp
AvapiDotNet/AvapiCpp
2157ccbe750cac077098a6f1aa401d80fc943ff5
[ "MIT" ]
15
2018-01-31T16:58:36.000Z
2021-08-19T21:37:08.000Z
Linux/Ubuntu/64bit/AVAPI/Avapi/TECHNICAL_INDICATOR/AROONOSC.hpp
AvapiDotNet/AvapiCpp
2157ccbe750cac077098a6f1aa401d80fc943ff5
[ "MIT" ]
null
null
null
Linux/Ubuntu/64bit/AVAPI/Avapi/TECHNICAL_INDICATOR/AROONOSC.hpp
AvapiDotNet/AvapiCpp
2157ccbe750cac077098a6f1aa401d80fc943ff5
[ "MIT" ]
4
2018-01-31T17:06:26.000Z
2020-05-03T20:59:27.000Z
#ifndef AROONOSC_HPP_INCLUDED #define AROONOSC_HPP_INCLUDED #include <string> #include <map> #include <list> #include "../jsmn/jsmn.h" using namespace std; namespace Avapi { class RestClient; //forward declaration enum class Const_AROONOSC_interval{ none, n_1min, n_5min, n_15min, n_30min, n...
31.111801
104
0.743262
AvapiDotNet
9e5d618715c325995cc920febbce9c21e04c9062
2,489
cpp
C++
code/tests/glx/src/main.cpp
BrightComposite/RaptureStateToolkit
6eb3c831540ba6a9d29e903dd3c537aac2e7f91f
[ "MIT" ]
null
null
null
code/tests/glx/src/main.cpp
BrightComposite/RaptureStateToolkit
6eb3c831540ba6a9d29e903dd3c537aac2e7f91f
[ "MIT" ]
null
null
null
code/tests/glx/src/main.cpp
BrightComposite/RaptureStateToolkit
6eb3c831540ba6a9d29e903dd3c537aac2e7f91f
[ "MIT" ]
null
null
null
//--------------------------------------------------------------------------- #include <application/starter.h> //--------------------------------------------------------------------------- #include <X11/X.h> #include <X11/Xlib.h> #include <GL/gl.h> #include <GL/glx.h> #include <GL/glu.h> #include <iostream> //----...
23.261682
121
0.527923
BrightComposite
9e5fed5b8db9931f8f0dca8131debee4179261a1
5,253
cpp
C++
tests/chain_tests/plugins/tags/get_posts_and_comments_tests.cpp
scorum/scorum
1da00651f2fa14bcf8292da34e1cbee06250ae78
[ "MIT" ]
53
2017-10-28T22:10:35.000Z
2022-02-18T02:20:48.000Z
tests/chain_tests/plugins/tags/get_posts_and_comments_tests.cpp
Scorum/Scorum
fb4aa0b0960119b97828865d7a5b4d0409af7876
[ "MIT" ]
38
2017-11-25T09:06:51.000Z
2018-10-31T09:17:22.000Z
tests/chain_tests/plugins/tags/get_posts_and_comments_tests.cpp
Scorum/Scorum
fb4aa0b0960119b97828865d7a5b4d0409af7876
[ "MIT" ]
27
2018-01-08T19:43:35.000Z
2022-01-14T10:50:42.000Z
#include <scorum/tags/tags_api_objects.hpp> #include <boost/test/unit_test.hpp> #include "tags_common.hpp" using namespace scorum; using namespace scorum::tags::api; using namespace scorum::app; using namespace scorum::tags; BOOST_FIXTURE_TEST_SUITE(get_posts_and_comments_tests, database_fixture::tags_fixture) SCOR...
31.08284
86
0.695031
scorum
9e618b77758ee753e3d33f0beaf5ff8aa3b9b031
614
cpp
C++
esp32/examples/ttgo_demo/main/system.cpp
joachimBurket/esp32-opencv
f485b59d7b43b0a2f77a5ab547e2597929f7094a
[ "BSD-3-Clause" ]
56
2020-03-24T15:17:56.000Z
2022-03-21T13:44:08.000Z
esp32/examples/ttgo_demo/main/system.cpp
0015/esp32-opencv
f485b59d7b43b0a2f77a5ab547e2597929f7094a
[ "BSD-3-Clause" ]
6
2021-03-08T13:41:24.000Z
2022-02-19T08:10:24.000Z
esp32/examples/ttgo_demo/main/system.cpp
0015/esp32-opencv
f485b59d7b43b0a2f77a5ab547e2597929f7094a
[ "BSD-3-Clause" ]
15
2020-05-06T13:41:20.000Z
2022-03-31T19:15:47.000Z
#include <esp_log.h> #include <esp_system.h> #include <sdkconfig.h> #include <freertos/FreeRTOS.h> #include <freertos/task.h> #include <sys/param.h> #include <esp32/clk.h> #include "system.h" #define TAG "SYSTEM" void wait_msec(uint16_t v) { vTaskDelay(v / portTICK_PERIOD_MS); } void wait_sec(uint16_t v) { ...
21.928571
120
0.708469
joachimBurket
9e622fd05f2006fc419715ae76d2647f62cbab3c
1,907
hpp
C++
include/vheis/geodesic-growth.hpp
alexbishop/Virtually-Abelian
4f19bf39e664a6ae51ef0c7f011e2fede7762d0c
[ "MIT" ]
null
null
null
include/vheis/geodesic-growth.hpp
alexbishop/Virtually-Abelian
4f19bf39e664a6ae51ef0c7f011e2fede7762d0c
[ "MIT" ]
null
null
null
include/vheis/geodesic-growth.hpp
alexbishop/Virtually-Abelian
4f19bf39e664a6ae51ef0c7f011e2fede7762d0c
[ "MIT" ]
null
null
null
#pragma once #include <map> #include <utility> #include <vector> #include "SafeInt.hpp" namespace vheis { template <class Group> class geodesic_growth { public: template <class Vector> explicit geodesic_growth(Vector g_set); template <class Iterator> explicit geodesic_growth(Iterator begin, Iterator end);...
23.54321
69
0.694284
alexbishop
9e67cbfbd174db0408f4e99477194e09d737b4f8
4,357
cpp
C++
ShopListManager/ShopPackage.cpp
0x4d696e68/InGameShop
405e01defb59bd1cf22a5a5d245fdf2475b1ca36
[ "MIT" ]
5
2021-08-31T19:18:24.000Z
2021-11-11T08:58:20.000Z
ShopListManager/ShopPackage.cpp
0x4d696e68/InGameShop
405e01defb59bd1cf22a5a5d245fdf2475b1ca36
[ "MIT" ]
null
null
null
ShopListManager/ShopPackage.cpp
0x4d696e68/InGameShop
405e01defb59bd1cf22a5a5d245fdf2475b1ca36
[ "MIT" ]
2
2021-08-31T18:39:50.000Z
2021-09-16T22:37:06.000Z
//************************************************************************ // // Decompiled by @myheart, @synth3r // <https://forum.ragezone.com/members/2000236254.html> // // // FILE: ShopPackage.cpp // // #include "stdafx.h" #if(DECOMPILE_INGAMESHOP==1) #include "ShopPackage.h" #include "StringToken.h" #include "Str...
25.934524
100
0.706679
0x4d696e68
9e67f3cc68150c8beadda59b2c30b05adaf5e682
761
cpp
C++
Jeu/Src/ComponentsManagement/ProjectileSystem/Projectiles/Fireball.cpp
abastienIIT/Roguelike
f31935e45c968fbe608e57d0137d71251d1afc10
[ "Apache-2.0" ]
2
2021-02-07T16:07:10.000Z
2021-02-07T23:18:43.000Z
Jeu/Src/ComponentsManagement/ProjectileSystem/Projectiles/Fireball.cpp
abastienIIT/Roguelike
f31935e45c968fbe608e57d0137d71251d1afc10
[ "Apache-2.0" ]
49
2021-02-06T19:08:07.000Z
2021-09-14T16:43:27.000Z
Jeu/Src/ComponentsManagement/ProjectileSystem/Projectiles/Fireball.cpp
abastienIIT/Roguelike
f31935e45c968fbe608e57d0137d71251d1afc10
[ "Apache-2.0" ]
null
null
null
#include "Fireball.h" #include "../../Components.h" #include "../../../Common/Globalbilboulga.h" void Fireball::init(Entity* projectile, std::vector<Entity*>* targets) { ProjectileBase::init(projectile, targets); transform->velocity = velocity; sprite->setAsset("Fireball"); sprite->setCurrentTexture(0); collid...
23.060606
83
0.683311
abastienIIT
9e6b96d69508e8a7e4d2467a1b5af222443a5a6f
2,712
cpp
C++
tests/picross_shell/test_cross_command.cpp
deqyra/Picross-
0c81172faa8121c58bc2a88122d1cdbe661cc17e
[ "MIT" ]
null
null
null
tests/picross_shell/test_cross_command.cpp
deqyra/Picross-
0c81172faa8121c58bc2a88122d1cdbe661cc17e
[ "MIT" ]
1
2020-05-16T14:01:08.000Z
2020-06-11T21:12:02.000Z
tests/picross_shell/test_cross_command.cpp
deqyra/PicrossEngine
0c81172faa8121c58bc2a88122d1cdbe661cc17e
[ "MIT" ]
null
null
null
#include "../../lib/catch2/catch2.hpp" #include <sstream> #include "../../tools/cli/cli_streams.hpp" #include "../../tools/micro_shell/micro_shell_codes.hpp" #include "../../picross_shell/picross_shell_state.hpp" #include "../../picross_shell/shell_cross_command.hpp" #include "../../core/grid.hpp" #include "../../core...
35.220779
125
0.614307
deqyra
9e6ea7609f559d3f5fa9d7c2b9f4b53b1c3d43e2
478
cpp
C++
layer2/ethernetHelper.cpp
zetwhite/SimpleEtherCATMaster
f17b04c96385d13e0cf1cdc664e4821058280273
[ "MIT" ]
2
2021-03-04T08:50:02.000Z
2021-04-05T14:59:57.000Z
layer2/ethernetHelper.cpp
zetwhite/SimpleEtherCATMaster
f17b04c96385d13e0cf1cdc664e4821058280273
[ "MIT" ]
null
null
null
layer2/ethernetHelper.cpp
zetwhite/SimpleEtherCATMaster
f17b04c96385d13e0cf1cdc664e4821058280273
[ "MIT" ]
null
null
null
#include "ethernetHelper.hpp" const int EthernetHelper::size = 14; EthernetHelper::EthernetHelper (uint8_t srcMac[6], uint8_t destMac[6], uint16_t type){ ptr = new struct ethhdr; memcpy(ptr->h_dest, destMac, 6); memcpy(ptr->h_source, srcMac, 6); ptr->h_proto = htons(type); } unsigned char* Et...
26.555556
86
0.692469
zetwhite
9e70c3b369f80da0cad65b595b841c051f7251eb
41,980
cpp
C++
engine/navigation/navigation_manager.cpp
AugustoMoura/GritEnginePR
0f8303df7f70972036d9b555dffe08cadb473926
[ "MIT" ]
null
null
null
engine/navigation/navigation_manager.cpp
AugustoMoura/GritEnginePR
0f8303df7f70972036d9b555dffe08cadb473926
[ "MIT" ]
null
null
null
engine/navigation/navigation_manager.cpp
AugustoMoura/GritEnginePR
0f8303df7f70972036d9b555dffe08cadb473926
[ "MIT" ]
null
null
null
// // Copyright (c) 2009-2010 Mikko Mononen memon@inside.org // // 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. // Permission is granted to anyone to use this software for any purpose...
26.910256
118
0.676941
AugustoMoura
9e716ed1b82e835dbbed3a6fa2d870d54d83a0f6
21,662
cpp
C++
src/ui/ui.cpp
EnthDev/dedicatedslave
d8c097082d9e1ae11740cd917a9e9d449be457d2
[ "MIT" ]
7
2018-03-05T02:58:13.000Z
2019-01-06T13:11:50.000Z
src/ui/ui.cpp
EnthDev/dedicatedslave
d8c097082d9e1ae11740cd917a9e9d449be457d2
[ "MIT" ]
3
2017-12-21T00:29:38.000Z
2019-04-24T01:05:12.000Z
src/ui/ui.cpp
EnthDev/dedicatedslave
d8c097082d9e1ae11740cd917a9e9d449be457d2
[ "MIT" ]
1
2019-03-07T11:41:55.000Z
2019-03-07T11:41:55.000Z
// Includes #include <QtWidgets> #include "ui.h" DedicatedSlaveUi::DedicatedSlaveUi(const QString &dir, QWidget *parent) : QWidget(parent), app_slcInstPos(new int[2]) { app_slcInstPos[0] = -1; parentWin = qobject_cast<QMainWindow*>(parent); if(parentWin != 0 ) { // After casting parent widget QMainWindow...
36.591216
170
0.728188
EnthDev
9e72f674499a8b8ec62adb88341d59099f91252e
8,949
cpp
C++
SimSpark/rcssserver3d/plugin/soccer/hmdp_effector/hmdpeffector.cpp
IllyasvielEin/Robocup3dInstaller
12e91d9372dd08a92feebf98e916c98bc2242ff4
[ "MIT" ]
null
null
null
SimSpark/rcssserver3d/plugin/soccer/hmdp_effector/hmdpeffector.cpp
IllyasvielEin/Robocup3dInstaller
12e91d9372dd08a92feebf98e916c98bc2242ff4
[ "MIT" ]
null
null
null
SimSpark/rcssserver3d/plugin/soccer/hmdp_effector/hmdpeffector.cpp
IllyasvielEin/Robocup3dInstaller
12e91d9372dd08a92feebf98e916c98bc2242ff4
[ "MIT" ]
null
null
null
/* -*- mode: c++; c-basic-offset: 4; indent-tabs-mode: nil -*- this file is part of rcssserver3D Copyright (C) 2002,2003 Koblenz University Copyright (C) 2003 RoboCup Soccer Server 3D Maintenance Group Copyright (C) 2008 N. Michael Mayer, email: nmmayer@gmail.com This program is free software; you can...
28.5
150
0.608224
IllyasvielEin
9e76384bb659a7ad64d1a252793929ad59cfc345
508
cpp
C++
Classwork/25.02.19/rectangle.cpp
5ko99/FMI-Semester-2
a7e7f2cc1ae7b3198728197c8b70d14156eb0996
[ "MIT" ]
null
null
null
Classwork/25.02.19/rectangle.cpp
5ko99/FMI-Semester-2
a7e7f2cc1ae7b3198728197c8b70d14156eb0996
[ "MIT" ]
null
null
null
Classwork/25.02.19/rectangle.cpp
5ko99/FMI-Semester-2
a7e7f2cc1ae7b3198728197c8b70d14156eb0996
[ "MIT" ]
null
null
null
#include<iostream>; using namespace std; struct Rectangle{ double width; double height; }; void printRec(Rectangle r){ cout<<"Width:"<<r.width<<endl; cout<<"Height:"<<r.height<<endl; } void initRec(Rectangle* r){ cin>>(*r).width; cin>>(*r).height; } Rectangle initRec(){ Rectan...
17.517241
37
0.555118
5ko99
9e76a925bb00ef7ec3d318043a012adeaaf8e42c
5,445
hpp
C++
src/batteries/radix_queue.hpp
tonyastolfi/batteries
67349930e54785f44eab84f1e56da6c78c66a5f9
[ "Apache-2.0" ]
1
2022-01-04T20:28:17.000Z
2022-01-04T20:28:17.000Z
src/batteries/radix_queue.hpp
mihir-thakkar/batteries
67349930e54785f44eab84f1e56da6c78c66a5f9
[ "Apache-2.0" ]
2
2020-06-04T14:02:24.000Z
2020-06-04T14:03:18.000Z
src/batteries/radix_queue.hpp
mihir-thakkar/batteries
67349930e54785f44eab84f1e56da6c78c66a5f9
[ "Apache-2.0" ]
1
2022-01-03T20:24:31.000Z
2022-01-03T20:24:31.000Z
// Copyright 2021 Anthony Paul Astolfi // #pragma once #ifndef BATTERIES_RADIX_QUEUE_HPP #define BATTERIES_RADIX_QUEUE_HPP #include <batteries/assert.hpp> #include <batteries/int_types.hpp> #include <boost/functional/hash.hpp> #include <array> #include <limits> #include <type_traits> namespace batt { template <usi...
26.052632
108
0.547658
tonyastolfi
9e8113d1fca423b20b9a8299dc50a8aa10fd200d
11,716
cpp
C++
kcfi/llvm-kcfi/lib/CodeGen/CFI.cpp
IntelSTORM/Projects
b983417a5ca22c7679da5a1144b348863bea5698
[ "Intel" ]
1
2022-01-11T11:12:00.000Z
2022-01-11T11:12:00.000Z
kcfi/llvm-kcfi/lib/CodeGen/CFI.cpp
IntelSTORMteam/Jurassic-Projects
b983417a5ca22c7679da5a1144b348863bea5698
[ "Intel" ]
null
null
null
kcfi/llvm-kcfi/lib/CodeGen/CFI.cpp
IntelSTORMteam/Jurassic-Projects
b983417a5ca22c7679da5a1144b348863bea5698
[ "Intel" ]
null
null
null
//===---- CFI.cpp - kCFI LLVM IR analyzes and transformation --------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
29.964194
80
0.597986
IntelSTORM
9e8c11d9faa94fe11338d41a60378b8707f4955e
2,876
cpp
C++
src/window/preferences/init_chilren.cpp
LibreTextus/LibreTextus
a142c0bed2237b1b252e1ff5dcfdbe82bd4439d3
[ "CC0-1.0" ]
3
2020-08-26T06:18:42.000Z
2021-01-16T17:22:29.000Z
src/window/preferences/init_chilren.cpp
LibreTextus/LibreTextus
a142c0bed2237b1b252e1ff5dcfdbe82bd4439d3
[ "CC0-1.0" ]
null
null
null
src/window/preferences/init_chilren.cpp
LibreTextus/LibreTextus
a142c0bed2237b1b252e1ff5dcfdbe82bd4439d3
[ "CC0-1.0" ]
null
null
null
#include "preferences.hpp" void Libre::PreferencesWindow::add_themes_to_themes_combo() { std::vector<std::string> v = this->settings.get_children("themes", "name"); for (std::vector<std::string>::iterator i = v.begin(); i != v.end(); i++) { this->ui_pane.get_theme()->get_element()->append(*i); if (*i == thi...
37.350649
131
0.714882
LibreTextus
9e8dc554686bf44921293885bf7ce947bc2e370e
1,291
cpp
C++
src/thumbnailholder.cpp
digitalsurgeon/EasyWallpapers
86f62ad6453ed079f9b889d6adc910f0d89092c1
[ "MIT" ]
null
null
null
src/thumbnailholder.cpp
digitalsurgeon/EasyWallpapers
86f62ad6453ed079f9b889d6adc910f0d89092c1
[ "MIT" ]
null
null
null
src/thumbnailholder.cpp
digitalsurgeon/EasyWallpapers
86f62ad6453ed079f9b889d6adc910f0d89092c1
[ "MIT" ]
null
null
null
#include "thumbnailholder.h" #if defined(Q_OS_SYMBIAN) #include <e32std.h> #include <touchfeedback.h> #endif ThumbnailHolder::ThumbnailHolder() : iPixmap(NULL) { setFlag(QGraphicsItem::ItemClipsToShape); } ThumbnailHolder::~ThumbnailHolder() { delete iPixmap; } QRectF ThumbnailHolder::boundingRect() const ...
18.985294
80
0.660728
digitalsurgeon
9e8ecb5a2f10b5b2c0fae200a98321ecacf7a626
3,623
cxx
C++
source/opengl/ui_renderer.cxx
bjadamson/BoomHS
60b5d8ddc2490ec57e8f530ba7ce3135221e2ec4
[ "MIT" ]
2
2016-07-22T10:09:21.000Z
2017-09-16T06:50:01.000Z
source/opengl/ui_renderer.cxx
bjadamson/BoomHS
60b5d8ddc2490ec57e8f530ba7ce3135221e2ec4
[ "MIT" ]
14
2016-08-13T22:45:56.000Z
2018-12-16T03:56:36.000Z
source/opengl/ui_renderer.cxx
bjadamson/BoomHS
60b5d8ddc2490ec57e8f530ba7ce3135221e2ec4
[ "MIT" ]
null
null
null
#include <opengl/ui_renderer.hpp> #include <opengl/bind.hpp> #include <opengl/draw_info.hpp> #include <opengl/gpu.hpp> #include <opengl/renderer.hpp> #include <opengl/shader.hpp> #include <boomhs/camera.hpp> #include <boomhs/math.hpp> #include <boomhs/rectangle.hpp> #include <boomhs/shape.hpp> using namespace boomhs;...
26.837037
111
0.665471
bjadamson
9e9062b2ab3c13a91fb34a48dc732c589d6af198
1,136
cpp
C++
Sid's Contests/LeetCode contests/May Challenge/Non Decreasing Array.cpp
Tiger-Team-01/DSA-A-Z-Practice
e08284ffdb1409c08158dd4e90dc75dc3a3c5b18
[ "MIT" ]
14
2021-08-22T18:21:14.000Z
2022-03-08T12:04:23.000Z
Sid's Contests/LeetCode contests/May Challenge/Non Decreasing Array.cpp
Tiger-Team-01/DSA-A-Z-Practice
e08284ffdb1409c08158dd4e90dc75dc3a3c5b18
[ "MIT" ]
1
2021-10-17T18:47:17.000Z
2021-10-17T18:47:17.000Z
Sid's Contests/LeetCode contests/May Challenge/Non Decreasing Array.cpp
Tiger-Team-01/DSA-A-Z-Practice
e08284ffdb1409c08158dd4e90dc75dc3a3c5b18
[ "MIT" ]
5
2021-09-01T08:21:12.000Z
2022-03-09T12:13:39.000Z
class Solution { public: bool isSorted(vector<int> nums) { vector<int> res; for(int i = 0; i < nums.size(); i++) res.push_back(nums[i]); sort(res.begin(), res.end()); for(int i = 0; i < res.size(); i++) if(res[i] != nums[i]) return false; ...
26.418605
73
0.415493
Tiger-Team-01
9e91d353b7c868acdb6e2efdcbe5bcf792310ffd
96
cpp
C++
src/widgets/Library/ProgramLibraryController.cpp
javedlingasur/CompileOne
646da061ea9a8c427a533490cb612f5858de3f09
[ "MIT" ]
null
null
null
src/widgets/Library/ProgramLibraryController.cpp
javedlingasur/CompileOne
646da061ea9a8c427a533490cb612f5858de3f09
[ "MIT" ]
null
null
null
src/widgets/Library/ProgramLibraryController.cpp
javedlingasur/CompileOne
646da061ea9a8c427a533490cb612f5858de3f09
[ "MIT" ]
null
null
null
#include "ProgramLibraryController.h" ProgramLibraryController::ProgramLibraryController() { }
16
52
0.833333
javedlingasur
9e9928d6d8f93fef0c661d8e2b30a0046d429f03
4,688
cpp
C++
src/c-API/cTracer.cpp
mensinda/tracer
874d859a1ac98f296610c8d634eb557e5bc9c515
[ "BSD-3-Clause" ]
11
2017-07-04T11:23:19.000Z
2021-08-24T05:20:01.000Z
src/c-API/cTracer.cpp
mensinda/tracer
874d859a1ac98f296610c8d634eb557e5bc9c515
[ "BSD-3-Clause" ]
null
null
null
src/c-API/cTracer.cpp
mensinda/tracer
874d859a1ac98f296610c8d634eb557e5bc9c515
[ "BSD-3-Clause" ]
4
2017-07-07T19:36:16.000Z
2022-01-05T15:30:08.000Z
/* Copyright (c) 2017, Daniel Mensinger * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright * notice, this list of co...
31.675676
113
0.715657
mensinda
9e9a9292f67c90512d6916416204819b1fb0ae5b
2,837
cpp
C++
Source/AliveLibAO/RollingBallShaker.cpp
THEONLYDarkShadow/alive_reversing
680d87088023f2d5f2a40c42d6543809281374fb
[ "MIT" ]
1
2021-04-11T23:44:43.000Z
2021-04-11T23:44:43.000Z
Source/AliveLibAO/RollingBallShaker.cpp
THEONLYDarkShadow/alive_reversing
680d87088023f2d5f2a40c42d6543809281374fb
[ "MIT" ]
null
null
null
Source/AliveLibAO/RollingBallShaker.cpp
THEONLYDarkShadow/alive_reversing
680d87088023f2d5f2a40c42d6543809281374fb
[ "MIT" ]
null
null
null
#include "stdafx_ao.h" #include "RollingBallShaker.hpp" #include "Function.hpp" #include "Game.hpp" #include "stdlib.hpp" #include "PsxDisplay.hpp" #include "ScreenManager.hpp" #include "Primitives.hpp" void RollingBallShaker_ForceLink() {} namespace AO { const static PSX_Pos16 sRollingBallShakerScreenOffsets_4BB740...
22.696
105
0.670427
THEONLYDarkShadow
9ea4b8ad82da2c9b3a9535d29b2e02d53215371c
2,723
cpp
C++
Github-Arduino/libraries/ideawu_RTC/base/packet.cpp
famley-richards/Documents-KTibow
b5d2be03ea2f6687cd9d854d9f43ef839a37e275
[ "MIT" ]
null
null
null
Github-Arduino/libraries/ideawu_RTC/base/packet.cpp
famley-richards/Documents-KTibow
b5d2be03ea2f6687cd9d854d9f43ef839a37e275
[ "MIT" ]
null
null
null
Github-Arduino/libraries/ideawu_RTC/base/packet.cpp
famley-richards/Documents-KTibow
b5d2be03ea2f6687cd9d854d9f43ef839a37e275
[ "MIT" ]
null
null
null
#include <stdlib.h> #include "log.h" #include "packet.h" int Packet::parse(){ parsed = true; this->params_.clear(); if(this->len < HEADER_LEN){ return -1; } int size = this->size(); char *head = (char *)this->data(); while(size > 0){ if(head[0] == ' ' || head[0] == '\r'){ head ++; size --; cont...
18.909722
81
0.573265
famley-richards
9ea812a3010535aa59762748ff0aa6ef36e1d939
1,554
cpp
C++
src/factory/font.cpp
equal-games/equal
acaf0d456d7b996dd2a6bc23150cd45ddf618296
[ "BSD-2-Clause", "Apache-2.0" ]
7
2019-08-07T21:27:27.000Z
2020-11-27T16:33:16.000Z
src/factory/font.cpp
equal-games/equal
acaf0d456d7b996dd2a6bc23150cd45ddf618296
[ "BSD-2-Clause", "Apache-2.0" ]
null
null
null
src/factory/font.cpp
equal-games/equal
acaf0d456d7b996dd2a6bc23150cd45ddf618296
[ "BSD-2-Clause", "Apache-2.0" ]
null
null
null
/* * Copyright 2019 Equal Games * 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 ...
28.254545
110
0.698198
equal-games