hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
108
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
1
67k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
51dce849eac84709b62a567aaa4f24712f72a234
2,156
hpp
C++
Pods/OpenVPNAdapter/Sources/OpenVPN3/openvpn/buffer/buflimit.hpp
TiagoPedroByterev/openvpnclient-ios
a9dafb2a481cc72a3e408535fb7f0aba9f5cfa76
[ "MIT" ]
10
2021-03-29T13:52:06.000Z
2022-03-10T02:24:25.000Z
Pods/OpenVPNAdapter/Sources/OpenVPN3/openvpn/buffer/buflimit.hpp
TiagoPedroByterev/openvpnclient-ios
a9dafb2a481cc72a3e408535fb7f0aba9f5cfa76
[ "MIT" ]
1
2018-07-13T06:45:25.000Z
2018-07-13T06:45:25.000Z
Pods/OpenVPNAdapter/Sources/OpenVPN3/openvpn/buffer/buflimit.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...
23.182796
78
0.62616
TiagoPedroByterev
51df0512a39f1f1081ef22b241df43d76ca83074
8,908
cpp
C++
src/qt/blocknettoolbar.cpp
CircuitBreaker88/blocknet
da08717b612c582367d2a00a79c90a8db2330773
[ "MIT" ]
1
2020-09-26T15:45:32.000Z
2020-09-26T15:45:32.000Z
src/qt/blocknettoolbar.cpp
CircuitBreaker88/blocknet
da08717b612c582367d2a00a79c90a8db2330773
[ "MIT" ]
null
null
null
src/qt/blocknettoolbar.cpp
CircuitBreaker88/blocknet
da08717b612c582367d2a00a79c90a8db2330773
[ "MIT" ]
null
null
null
// Copyright (c) 2018-2019 The Blocknet developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <qt/blocknettoolbar.h> #include <qt/blocknetguiutil.h> #include <QApplication> #include <QProgressBar> #include <QTime...
36.211382
144
0.661989
CircuitBreaker88
51e09353a31188075a4acc8e30d6e98201c5345d
27,424
cpp
C++
WMap.cpp
HSHL/OSM
89772fc5c89dbad08b8426de1772e49e5022005a
[ "MIT" ]
5
2019-04-08T12:24:31.000Z
2022-01-13T02:04:16.000Z
WMap.cpp
CBause/OSM
ef458a3b2787905f223180e01b79e7899e398fb6
[ "MIT" ]
null
null
null
WMap.cpp
CBause/OSM
ef458a3b2787905f223180e01b79e7899e398fb6
[ "MIT" ]
2
2016-10-09T14:33:48.000Z
2019-08-30T03:42:13.000Z
#include "WMap.hpp" //------------------------------------------------------------------------------------------------------------------------------------------------- WMap::WMap(MainController* pC, Data* pR) { c = pC; r = pR; timer = new QTimer; QObject::connect(timer,SIGNAL(timeout()),...
46.481356
190
0.310968
HSHL
51e332b99e5a59fcb7502c85f78dfd908289b5cd
7,888
cpp
C++
ext/libigl/external/cgal/src/CGAL_Project/demo/Polyhedron/Scene_plane_item.cpp
liminchen/OptCuts
cb85b06ece3a6d1279863e26b5fd17a5abb0834d
[ "MIT" ]
187
2019-01-23T04:07:11.000Z
2022-03-27T03:44:58.000Z
ext/libigl/external/cgal/src/CGAL_Project/demo/Polyhedron/Scene_plane_item.cpp
xiaoxie5002/OptCuts
1f4168fc867f47face85fcfa3a572be98232786f
[ "MIT" ]
8
2019-03-22T13:27:38.000Z
2020-06-18T13:23:23.000Z
ext/libigl/external/cgal/src/CGAL_Project/demo/Polyhedron/Scene_plane_item.cpp
xiaoxie5002/OptCuts
1f4168fc867f47face85fcfa3a572be98232786f
[ "MIT" ]
34
2019-02-13T01:11:12.000Z
2022-02-28T03:29:40.000Z
#include "Scene_plane_item.h" #include <QApplication> using namespace CGAL::Three; Scene_plane_item::Scene_plane_item(const CGAL::Three::Scene_interface* scene_interface) :CGAL::Three::Scene_item(NbOfVbos,NbOfVaos), scene(scene_interface), manipulable(false), can_clone(true), frame(new ...
29.214815
134
0.651749
liminchen
51e4be76c4bf77fc17279e8e7b8acfb626ce6280
38,962
cpp
C++
sceneloader.cpp
nlguillemot/fictional-doodle
d340f4e6983f77ea38b94f8ba30f7f1f5ebb532f
[ "MIT" ]
14
2016-11-20T02:36:24.000Z
2022-02-18T07:08:25.000Z
sceneloader.cpp
nlguillemot/fictional-doodle
d340f4e6983f77ea38b94f8ba30f7f1f5ebb532f
[ "MIT" ]
1
2020-07-16T14:33:19.000Z
2020-07-26T01:49:18.000Z
sceneloader.cpp
nlguillemot/fictional-doodle
d340f4e6983f77ea38b94f8ba30f7f1f5ebb532f
[ "MIT" ]
1
2016-11-21T09:50:45.000Z
2016-11-21T09:50:45.000Z
#include "sceneloader.h" #include "scene.h" // assimp includes #include <cimport.h> // assimp also has a scene.h. weird. #include <scene.h> #include <postprocess.h> #include <glm/gtc/type_ptr.hpp> #include <glm/gtc/matrix_inverse.hpp> #define STB_IMAGE_IMPLEMENTATION #include <stb_image.h> #include <vector> #inclu...
38.729622
157
0.603768
nlguillemot
51e7098934b5e0e3d3c1be331921771523063552
1,613
hpp
C++
src/test/_test.hpp
BigDataAnalyticsGroup/RewiredCracking
b12bf39b54672d28175f4608d266c505e3611459
[ "Apache-2.0" ]
3
2019-04-21T07:23:03.000Z
2019-12-04T02:10:04.000Z
src/test/_test.hpp
BigDataAnalyticsGroup/RewiredCracking
b12bf39b54672d28175f4608d266c505e3611459
[ "Apache-2.0" ]
null
null
null
src/test/_test.hpp
BigDataAnalyticsGroup/RewiredCracking
b12bf39b54672d28175f4608d266c505e3611459
[ "Apache-2.0" ]
null
null
null
#ifndef TABLE #error "#define TABLE to some hash table" #endif #ifndef HASH #error "#define HASH to some hash function" #endif #include "test/catch.hpp" #include <cstdint> #define STRINGIFY(X) #X #define STR(X) STRINGIFY(X) #define PREFIX STR(TABLE) "/" STR(HASH) using table_type = TABLE<uint64_t, uint64_t, HASH<...
21.223684
61
0.548667
BigDataAnalyticsGroup
51eae19c8254bc366da7b0247539de283d54f016
4,494
cpp
C++
qttools/tests/auto/qhelpcontentmodel/tst_qhelpcontentmodel.cpp
wgnet/wds_qt
8db722fd367d2d0744decf99ac7bafaba8b8a3d3
[ "Apache-2.0" ]
1
2020-04-30T15:47:35.000Z
2020-04-30T15:47:35.000Z
qttools/tests/auto/qhelpcontentmodel/tst_qhelpcontentmodel.cpp
wgnet/wds_qt
8db722fd367d2d0744decf99ac7bafaba8b8a3d3
[ "Apache-2.0" ]
null
null
null
qttools/tests/auto/qhelpcontentmodel/tst_qhelpcontentmodel.cpp
wgnet/wds_qt
8db722fd367d2d0744decf99ac7bafaba8b8a3d3
[ "Apache-2.0" ]
null
null
null
/**************************************************************************** ** ** Copyright (C) 2015 The Qt Company Ltd. ** Contact: http://www.qt.io/licensing/ ** ** This file is part of the test suite of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL21$ ** Commercial License Usage ** Licensees holding valid commercia...
26.591716
77
0.646862
wgnet
51edb584ab6ed521376076b7cf871d1235b04a63
43,538
cpp
C++
src/modules/GenericPropagation/GenericPropagationModule.cpp
bencline1/Allpix_GaAs
c4922dc9d981aca265e076eb5bfe4cefe51913a2
[ "MIT" ]
3
2019-03-04T22:31:32.000Z
2021-04-20T11:19:17.000Z
src/modules/GenericPropagation/GenericPropagationModule.cpp
bencline1/Allpix_GaAs
c4922dc9d981aca265e076eb5bfe4cefe51913a2
[ "MIT" ]
27
2019-04-01T12:25:46.000Z
2021-09-03T12:20:19.000Z
src/modules/GenericPropagation/GenericPropagationModule.cpp
bencline1/Allpix_GaAs
c4922dc9d981aca265e076eb5bfe4cefe51913a2
[ "MIT" ]
15
2017-08-08T14:57:51.000Z
2021-06-26T17:16:21.000Z
/** * @file * @brief Implementation of generic charge propagation module * @remarks Based on code from Paul Schuetze * @copyright Copyright (c) 2017-2020 CERN and the Allpix Squared authors. * This software is distributed under the terms of the MIT License, copied verbatim in the file "LICENSE.md". * In applying ...
49.475
125
0.571593
bencline1
51edfece79314dc7d87e1282ddbda109954e4ae2
2,601
cpp
C++
example_bar_plot/src/ofApp.cpp
nickgillian/ofxGrt
689c068b76af9e614f7124dbd4f38c8640c3a06d
[ "MIT" ]
127
2016-01-04T20:33:15.000Z
2021-11-30T07:18:48.000Z
example_bar_plot/src/ofApp.cpp
nickgillian/ofxGrt
689c068b76af9e614f7124dbd4f38c8640c3a06d
[ "MIT" ]
29
2016-01-05T20:39:14.000Z
2021-01-04T04:07:37.000Z
example_bar_plot/src/ofApp.cpp
nickgillian/ofxGrt
689c068b76af9e614f7124dbd4f38c8640c3a06d
[ "MIT" ]
33
2016-01-05T18:44:57.000Z
2020-08-09T00:13:47.000Z
#include "ofApp.h" #define NUM_DIMENSIONS 20 //-------------------------------------------------------------- void ofApp::setup(){ ofSetBackgroundColor(255); //Load the font for the graph font.load("verdana.ttf", 12, true, true); font.setLineHeight(14.0f); //Setup the plot plot1.setup( NUM_...
23.017699
89
0.38985
nickgillian
51ef9a043c754240e5c35ab326db8e2a7dee9b42
4,009
cpp
C++
fileformats/GOB_Reader.cpp
kcat/XLEngine
0e735ad67fa40632add3872e0cbe5a244689cbe5
[ "MIT" ]
1
2021-07-25T15:10:39.000Z
2021-07-25T15:10:39.000Z
fileformats/GOB_Reader.cpp
kcat/XLEngine
0e735ad67fa40632add3872e0cbe5a244689cbe5
[ "MIT" ]
null
null
null
fileformats/GOB_Reader.cpp
kcat/XLEngine
0e735ad67fa40632add3872e0cbe5a244689cbe5
[ "MIT" ]
null
null
null
#include "GOB_Reader.h" #include "../EngineSettings.h" #include "../ui/XL_Console.h" #include <string.h> #include <stdio.h> #include <cstdint> GOB_Reader::GOB_Reader() : Archive() { m_CurFile = -1; m_pFile = NULL; m_FileList.pEntries = NULL; } bool GOB_Reader::Open(const char *pszName) { sprintf(m_szF...
25.864516
96
0.555251
kcat
51f35f32ac3fdc6b9538c40aa78866d4458fb31b
7,903
cpp
C++
src/cpp/DeviceState.cpp
pongasoft/re-ab12-audio-out-switch
525e0074250244646f57c7346e89559f99dbd0ab
[ "Apache-2.0" ]
1
2021-10-12T17:45:43.000Z
2021-10-12T17:45:43.000Z
src/cpp/DeviceState.cpp
pongasoft/re-ab12-audio-out-switch
525e0074250244646f57c7346e89559f99dbd0ab
[ "Apache-2.0" ]
null
null
null
src/cpp/DeviceState.cpp
pongasoft/re-ab12-audio-out-switch
525e0074250244646f57c7346e89559f99dbd0ab
[ "Apache-2.0" ]
null
null
null
// // Created by Yan Pujante on 5/23/15. // #include "DeviceState.h" DeviceState::DeviceState() : fSingleStateKeySwitch(kNone) { for (int i = static_cast<int>(kA1); i < static_cast<int>(kEnd); ++i) { fSwitchedOutputStates[i] = new SwitchedOutputState(fMotherboard.fSwitchedOutputs[i]); } for (int i = stat...
29.27037
127
0.60863
pongasoft
51f3e9c16b4dc8c64a4cd66aa775132370159315
1,149
cpp
C++
cpp/functionoverloading.cpp
chathu1996/hacktoberfest2020
eaf64ac051709984cde916259e90cb24213b5c2f
[ "MIT" ]
71
2020-10-06T05:53:59.000Z
2021-11-27T03:14:42.000Z
cpp/functionoverloading.cpp
chathu1996/hacktoberfest2020
eaf64ac051709984cde916259e90cb24213b5c2f
[ "MIT" ]
92
2020-10-05T19:18:14.000Z
2021-10-09T04:35:16.000Z
cpp/functionoverloading.cpp
chathu1996/hacktoberfest2020
eaf64ac051709984cde916259e90cb24213b5c2f
[ "MIT" ]
572
2020-10-05T20:11:28.000Z
2021-10-10T16:28:29.000Z
#include<iostream.h> #include<conio.h> void area(int,int); void area(float); void area(int); void area(float,float); void main() { clrscr(); int ch=0,s,b,l; float h,ba,r; do { cout<<"Enter your choice\n"; cout<<"1.Rectangle \n2.Circle \n3.Square \n4.Triangle"; cin>>ch; switch(ch) { case ...
16.897059
60
0.553525
chathu1996
51f5e616d09849a78be384d0b82a56cbceaef6c3
3,769
hpp
C++
crit_crauser.hpp
kaini/sssp-simulation
0ee9cefb9b5d3a79c59eedd44092cd0401e99581
[ "MIT" ]
null
null
null
crit_crauser.hpp
kaini/sssp-simulation
0ee9cefb9b5d3a79c59eedd44092cd0401e99581
[ "MIT" ]
null
null
null
crit_crauser.hpp
kaini/sssp-simulation
0ee9cefb9b5d3a79c59eedd44092cd0401e99581
[ "MIT" ]
null
null
null
#pragma once #include "criteria.hpp" #include "dijkstra.hpp" #include "graph.hpp" #include "stringy_enum.hpp" #include <boost/heap/pairing_heap.hpp> #include <unordered_set> namespace sssp { // Implements Crauser's IN criteria. Additionally instead of using the minimal edges, // with dynamic=true, one can use the min...
38.85567
117
0.71982
kaini
51f619232167475c8482b0576d4880740bbb23b6
25,377
cxx
C++
admin/netui/common/src/reg/reg/regval.cxx
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
admin/netui/common/src/reg/reg/regval.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
admin/netui/common/src/reg/reg/regval.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
/**********************************************************************/ /** Microsoft Windows/NT **/ /** Copyright(c) Microsoft Corp., 1991 **/ /**********************************************************************/ /* REGVAL.CXX Win32 Registry class implementation Va...
25.842159
85
0.447571
npocmaka
51f675ab28f07d980f2f0c9d3af113cc9ce3ce67
451
cpp
C++
solutions/1010.cpp
tdakhran/leetcode
ed680059661faae32857eaa791ca29c1d9c16120
[ "MIT" ]
null
null
null
solutions/1010.cpp
tdakhran/leetcode
ed680059661faae32857eaa791ca29c1d9c16120
[ "MIT" ]
null
null
null
solutions/1010.cpp
tdakhran/leetcode
ed680059661faae32857eaa791ca29c1d9c16120
[ "MIT" ]
null
null
null
#include <array> #include <vector> class Solution { public: int numPairsDivisibleBy60(std::vector<int>& time) { std::array<int, 60> durations = {0}; for (auto t : time) { ++durations[t % 60]; } int result = (durations[0] - 1) * durations[0] / 2 + (durations[30] - 1) * duration...
23.736842
57
0.534368
tdakhran
51fa9dbde53d3c04cf97e87eca10e5da112e306c
2,857
cpp
C++
source/src/multilanguage/qrlanguager.cpp
Qters/QrCommon
0e90365c1ad58c63ff17c259bb298f27c78d7d91
[ "Apache-2.0" ]
null
null
null
source/src/multilanguage/qrlanguager.cpp
Qters/QrCommon
0e90365c1ad58c63ff17c259bb298f27c78d7d91
[ "Apache-2.0" ]
null
null
null
source/src/multilanguage/qrlanguager.cpp
Qters/QrCommon
0e90365c1ad58c63ff17c259bb298f27c78d7d91
[ "Apache-2.0" ]
null
null
null
#include "qrlanguager.h" #include <algorithm> #include <QTranslator> #include <qapplication.h> #include <QtCore/qdebug.h> #include "qrutf8.h" NS_QRCOMMON_BEGIN class QrLanguagerPrivate { QR_DECLARE_PUBLIC(QrLanguager) public: int curLanaugeIndex = -1; QVector<QrLanguagData> languageDatas; QTrans...
23.808333
90
0.652083
Qters
51fb4572055fdce043c3f3d02f02452838b0656e
2,592
cpp
C++
src/scene.cpp
martin-pr/embree_viewer
4e382f0352a8b76ff5d955024b5f56f1855d20c1
[ "MIT" ]
23
2018-03-15T00:02:53.000Z
2022-03-19T17:44:40.000Z
src/scene.cpp
martin-pr/embree_viewer
4e382f0352a8b76ff5d955024b5f56f1855d20c1
[ "MIT" ]
null
null
null
src/scene.cpp
martin-pr/embree_viewer
4e382f0352a8b76ff5d955024b5f56f1855d20c1
[ "MIT" ]
5
2019-03-06T06:48:44.000Z
2021-03-21T16:56:30.000Z
#include "scene.h" #include <cmath> #include <iostream> #include <limits> #include <embree3/rtcore_ray.h> #include "mesh.h" Scene::SceneHandle::SceneHandle(Device& device) { m_scene = rtcNewScene(device); rtcSetSceneFlags(m_scene, RTC_SCENE_FLAG_COMPACT); } Scene::SceneHandle::~SceneHandle() { rtcReleaseScene(...
20.25
127
0.697145
martin-pr
51fc876792446d7d9bed7541049214da83741401
2,777
cpp
C++
ConsoleEditor/libeditor/HtmlDocumentFormatter.cpp
AlK2x/OOD
7ce78cfa7708978483f67642d93a8bc2873c2285
[ "MIT" ]
null
null
null
ConsoleEditor/libeditor/HtmlDocumentFormatter.cpp
AlK2x/OOD
7ce78cfa7708978483f67642d93a8bc2873c2285
[ "MIT" ]
5
2016-03-20T20:28:52.000Z
2016-06-30T18:17:42.000Z
ConsoleEditor/libeditor/HtmlDocumentFormatter.cpp
AlK2x/OOD
7ce78cfa7708978483f67642d93a8bc2873c2285
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "HtmlDocumentFormatter.h" namespace fs = boost::filesystem; CHtmlDocumentFormatter::CHtmlDocumentFormatter(CTempFolder const & tempFolder) :m_tempFolder(tempFolder) { m_htmlEntities.push_back({ '&', "&amp;" }); m_htmlEntities.push_back({ '<', "&lt;" }); m_htmlEntities.push_back({ '>',...
25.245455
117
0.685992
AlK2x
a4027077b1090bed4e9ed4dee30eea27e3795b1c
1,419
cpp
C++
test/language/choice_types/cpp/ExpressionSelectorChoiceTest.cpp
dkBrazz/zserio
29dd8145b7d851fac682d3afe991185ea2eac318
[ "BSD-3-Clause" ]
86
2018-09-06T09:30:53.000Z
2022-03-27T01:12:36.000Z
test/language/choice_types/cpp/ExpressionSelectorChoiceTest.cpp
dkBrazz/zserio
29dd8145b7d851fac682d3afe991185ea2eac318
[ "BSD-3-Clause" ]
362
2018-09-04T20:21:24.000Z
2022-03-30T15:14:38.000Z
test/language/choice_types/cpp/ExpressionSelectorChoiceTest.cpp
dkBrazz/zserio
29dd8145b7d851fac682d3afe991185ea2eac318
[ "BSD-3-Clause" ]
20
2018-09-10T15:59:02.000Z
2021-12-01T15:38:22.000Z
#include "gtest/gtest.h" #include "choice_types/expression_selector_choice/ExpressionSelectorChoice.h" namespace choice_types { namespace expression_selector_choice { TEST(ExpressionSelectorChoiceTest, field8) { const uint16_t selector = 0; ExpressionSelectorChoice expressionSelectorChoice; expressionSel...
31.533333
77
0.796335
dkBrazz
a405242adb8b4bae23c4536be95dcb6af5cbe697
5,004
cc
C++
media/cast/test/encode_decode_test.cc
iplo/Chain
8bc8943d66285d5258fffc41bed7c840516c4422
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
231
2015-01-08T09:04:44.000Z
2021-12-30T03:03:10.000Z
media/cast/test/encode_decode_test.cc
JasonEric/chromium
c7361d39be8abd1574e6ce8957c8dbddd4c6ccf7
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2017-02-14T21:55:58.000Z
2017-02-14T21:55:58.000Z
media/cast/test/encode_decode_test.cc
JasonEric/chromium
c7361d39be8abd1574e6ce8957c8dbddd4c6ccf7
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
268
2015-01-21T05:53:28.000Z
2022-03-25T22:09:01.000Z
// Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // Joint encoder and decoder testing. // These tests operate directly on the VP8 encoder and decoder, not the // transport layer, and are targeted at vali...
35.489362
80
0.723421
iplo
a40539eac21efc3396418b8a29a244e8b694467c
677
cpp
C++
friendship_inheritance/inheritance1.cpp
Sinchiguano/Algorithmic-Toolbox
7e9dda588a72356fc43fa276016fc3486be47556
[ "BSD-2-Clause" ]
null
null
null
friendship_inheritance/inheritance1.cpp
Sinchiguano/Algorithmic-Toolbox
7e9dda588a72356fc43fa276016fc3486be47556
[ "BSD-2-Clause" ]
null
null
null
friendship_inheritance/inheritance1.cpp
Sinchiguano/Algorithmic-Toolbox
7e9dda588a72356fc43fa276016fc3486be47556
[ "BSD-2-Clause" ]
null
null
null
/* * inheritance1.cpp * Copyright (C) 2018 CESAR SINCHIGUANO <cesarsinchiguano@hotmail.es> * * Distributed under terms of the BSD license. */ #include <iostream> using namespace std; //g++ -std=c++14 -o temp sort.cpp class Mother { public: Mother () { cout << "Mother: no parameters\n"; } Mothe...
15.044444
69
0.595273
Sinchiguano
a406b386fceea856d3a50693083c7c58718ee026
1,013
cpp
C++
AP325/P-6-20.cpp
Superdanby/YEE
49a6349dc5644579246623b480777afbf8031fcd
[ "MIT" ]
1
2019-09-07T15:56:05.000Z
2019-09-07T15:56:05.000Z
AP325/P-6-20.cpp
Superdanby/YEE
49a6349dc5644579246623b480777afbf8031fcd
[ "MIT" ]
null
null
null
AP325/P-6-20.cpp
Superdanby/YEE
49a6349dc5644579246623b480777afbf8031fcd
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; typedef long long ll; constexpr const ll INF = 1L << 60; constexpr const ll MOD = 1e9 + 9; ll solve(vector<ll> &values) { vector<ll> dp(values.size()); vector<bool> pushed(values.size()); queue<ll> que; que.push(0); while (!que.empty()) { ll node = que.fro...
20.673469
79
0.516288
Superdanby
a406edcd4ce0aeba244cc0200b1a5ddee2bc3d26
970
hpp
C++
lightkit/software/src/tools/tools.hpp
Devdevdavid/Domoticz
d692d5f38706bcf45edb8a75794d64451cc4a72e
[ "MIT" ]
null
null
null
lightkit/software/src/tools/tools.hpp
Devdevdavid/Domoticz
d692d5f38706bcf45edb8a75794d64451cc4a72e
[ "MIT" ]
26
2020-06-15T14:05:54.000Z
2021-12-15T16:48:47.000Z
lightkit/software/src/tools/tools.hpp
Devdevdavid/Domoticz
d692d5f38706bcf45edb8a75794d64451cc4a72e
[ "MIT" ]
1
2021-12-23T13:44:26.000Z
2021-12-23T13:44:26.000Z
/** * @file tools.hpp * @brief Store useful functions and macros * @author David DEVANT * @date 03/07/2018 */ #ifndef SRC_TOOLS_HPP_ #define SRC_TOOLS_HPP_ #include <cstdint> #include <cstdlib> #define OK 0 #define TIME_SECOND (1000) #define TIME_MINUTE (60 * TIME_SECOND) #define TIME_HOUR (60 * TI...
23.658537
71
0.606186
Devdevdavid
a40b558cec5fb88f3b6895e11f595b7c0cca599e
2,109
cpp
C++
qsdlrectangle.cpp
CrimsonAS/qtsdl
a0c2487c175393d54d27574f9f02bfa436c34e79
[ "Unlicense" ]
2
2018-06-23T17:06:27.000Z
2019-01-29T21:31:53.000Z
qsdlrectangle.cpp
CrimsonAS/qtsdl
a0c2487c175393d54d27574f9f02bfa436c34e79
[ "Unlicense" ]
null
null
null
qsdlrectangle.cpp
CrimsonAS/qtsdl
a0c2487c175393d54d27574f9f02bfa436c34e79
[ "Unlicense" ]
null
null
null
/* * Copyright (c) 2014 Robin Burchell <robin+git@viroteck.net> * 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,...
30.128571
114
0.726885
CrimsonAS
a40e335b4ce8500b2c918978da410d0785ce5428
1,224
cpp
C++
tests/test_http/main.cpp
thorrak/esp32FOTA
270da987f228c3cbd9dc1ef60a45af81a24d11d6
[ "Unlicense" ]
178
2018-12-21T08:10:57.000Z
2022-03-30T02:57:10.000Z
tests/test_http/main.cpp
thorrak/esp32FOTA
270da987f228c3cbd9dc1ef60a45af81a24d11d6
[ "Unlicense" ]
60
2019-03-27T10:01:31.000Z
2022-03-23T05:31:03.000Z
tests/test_http/main.cpp
thorrak/esp32FOTA
270da987f228c3cbd9dc1ef60a45af81a24d11d6
[ "Unlicense" ]
72
2019-03-27T16:05:53.000Z
2022-03-23T19:21:25.000Z
/** esp32 firmware OTA Purpose: Perform an OTA update from a bin located on a webserver (HTTP Only) Setup: Step 1 : Set your WiFi (ssid & password) Step 2 : set esp32fota() Upload: Step 1 : Menu > Sketch > Export Compiled Library. The bin file will be saved in the sketch folder (Menu > Ske...
19.428571
137
0.658497
thorrak
a40f8b7b85852101ddbc2c946cdb585a06270f80
406
hpp
C++
external-memory/Common/Timer.hpp
Why1221/iDEC
a6f0064bf4f6c0b199dc0753a7f14ce4dad357cb
[ "MIT" ]
2
2021-06-15T14:58:59.000Z
2022-01-06T17:17:57.000Z
in-memory/Common/Timer.hpp
Why1221/iDEC
a6f0064bf4f6c0b199dc0753a7f14ce4dad357cb
[ "MIT" ]
null
null
null
in-memory/Common/Timer.hpp
Why1221/iDEC
a6f0064bf4f6c0b199dc0753a7f14ce4dad357cb
[ "MIT" ]
null
null
null
#ifndef __TIMER_HPP_ #define __TIMER_HPP_ #include <chrono> using namespace std::chrono; struct HighResolutionTimer { void restart() { _start = high_resolution_clock::now(); } double elapsed() const { auto cur = high_resolution_clock::now(); return duration<double, std::micro>(cur - _start).count()...
19.333333
62
0.714286
Why1221
a4100d249dea357782c9a9a22ef3a8a883c06f2e
11,173
cpp
C++
tests/types/tests_fundamental_int.cpp
YuriyLisovskiy/xalwart.base
edf7e43128305c0401ff208d8065e6576c8d783b
[ "Apache-2.0" ]
null
null
null
tests/types/tests_fundamental_int.cpp
YuriyLisovskiy/xalwart.base
edf7e43128305c0401ff208d8065e6576c8d783b
[ "Apache-2.0" ]
null
null
null
tests/types/tests_fundamental_int.cpp
YuriyLisovskiy/xalwart.base
edf7e43128305c0401ff208d8065e6576c8d783b
[ "Apache-2.0" ]
null
null
null
/** * types/tests_fundamental_int.cpp * * Copyright (c) 2021 Yuriy Lisovskiy */ #include <gtest/gtest.h> #include "../../src/types/fundamental.h" using namespace xw; TEST(TestCase_Fundamental_Int, Test_Get) { auto int_obj = types::Fundamental<int>(10); ASSERT_EQ(*int_obj, 10); } TEST(TestCase_Fundamental_In...
22.037475
75
0.724335
YuriyLisovskiy
a4120120a01c49eeeaeef05a13642baf8feffadb
18,459
cpp
C++
third-party/llvm/llvm-src/tools/clang/lib/APINotes/APINotesYAMLCompiler.cpp
jhh67/chapel
f041470e9b88b5fc4914c75aa5a37efcb46aa08f
[ "ECL-2.0", "Apache-2.0" ]
250
2019-05-07T12:56:44.000Z
2022-03-10T15:52:06.000Z
third-party/llvm/llvm-src/tools/clang/lib/APINotes/APINotesYAMLCompiler.cpp
jhh67/chapel
f041470e9b88b5fc4914c75aa5a37efcb46aa08f
[ "ECL-2.0", "Apache-2.0" ]
410
2019-06-06T20:52:32.000Z
2022-01-18T14:21:48.000Z
third-party/llvm/llvm-src/tools/clang/lib/APINotes/APINotesYAMLCompiler.cpp
jhh67/chapel
f041470e9b88b5fc4914c75aa5a37efcb46aa08f
[ "ECL-2.0", "Apache-2.0" ]
50
2019-05-10T21:12:24.000Z
2022-01-21T06:39:47.000Z
//===-- APINotesYAMLCompiler.cpp - API Notes YAML Format Reader -*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
30.816361
80
0.721437
jhh67
a416992d74323ce478fd892fdfda3f79a2e49ba5
6,131
cpp
C++
SOURCE/allProjects/car_data/car_dataBase_tree/carBinaryTree.cpp
llanesjuan/AllMyProjects
5944b248ae8f4f84cfea9fcf379f877909372551
[ "MIT" ]
null
null
null
SOURCE/allProjects/car_data/car_dataBase_tree/carBinaryTree.cpp
llanesjuan/AllMyProjects
5944b248ae8f4f84cfea9fcf379f877909372551
[ "MIT" ]
null
null
null
SOURCE/allProjects/car_data/car_dataBase_tree/carBinaryTree.cpp
llanesjuan/AllMyProjects
5944b248ae8f4f84cfea9fcf379f877909372551
[ "MIT" ]
null
null
null
#include"carBinaryTree.h" #include"binarySearchTree.h" #include"binaryTreeType.h" #include"carType.h" #include<string> #include<fstream> #include<vector> using namespace std; void carBinaryTree::genSearch() { int count = 0; string make; string id; string model; string year; string engine; string door; string ...
27.493274
143
0.686185
llanesjuan
a41b27829873d759cadc2158f6c017d2024d36da
568
cpp
C++
Typhoon/Src/Typhoon/Timestep.cpp
Stangui/TyphoonEngine
20dfdac4ded598ebbc26a48acc5d0d1adc97c833
[ "Apache-2.0" ]
null
null
null
Typhoon/Src/Typhoon/Timestep.cpp
Stangui/TyphoonEngine
20dfdac4ded598ebbc26a48acc5d0d1adc97c833
[ "Apache-2.0" ]
null
null
null
Typhoon/Src/Typhoon/Timestep.cpp
Stangui/TyphoonEngine
20dfdac4ded598ebbc26a48acc5d0d1adc97c833
[ "Apache-2.0" ]
null
null
null
#include "TyphoonPCH.h" #include "Timestep.h" #include "Typhoon/Core.h" #if TE_PLATFORM_WINDOWS #include "Platform/Windows/WindowsTimestep.h" #endif ////TE_PLATFORM_WINDOWS namespace TyphoonEngine { Timestep* Timestep::Create() { #if TE_PLATFORM_WINDOWS return new WindowsTimestep(); #endif ////TE_PLATFORM_WINDO...
20.285714
55
0.762324
Stangui
a41ff93d55a486a613bbe6fe4887358d42122ae3
411
cpp
C++
Practice Programs/small_factorials.cpp
C-Nikks/CPP_Language_Programs
e3ed1990aedd6b41f2746cdab7661c40f24d5588
[ "MIT" ]
3
2021-02-04T17:59:00.000Z
2022-01-29T17:21:42.000Z
Practice Programs/small_factorials.cpp
C-Nikks/CPP_Language_Programs
e3ed1990aedd6b41f2746cdab7661c40f24d5588
[ "MIT" ]
null
null
null
Practice Programs/small_factorials.cpp
C-Nikks/CPP_Language_Programs
e3ed1990aedd6b41f2746cdab7661c40f24d5588
[ "MIT" ]
3
2021-10-02T14:38:21.000Z
2021-10-05T06:19:22.000Z
#include <iostream> using namespace std; int fact(int n) { int f = n; while (f != 1) { n = n * (f - 1); f--; } return n; } int main() { int t, n; cin >> t; int arr[t]; for (int i = 1; i <= t; i++) { cin >> n; arr[i] = fact(n); } for (int i...
13.7
32
0.350365
C-Nikks
a4202259b3eb2128d67232881e1f8772fb155cb3
5,365
cpp
C++
src/cell-simulation/core/engine.cpp
firestack/cell-simulation
11eacc685afe7c283c1fc2ed6f8b312785f45f98
[ "MIT" ]
null
null
null
src/cell-simulation/core/engine.cpp
firestack/cell-simulation
11eacc685afe7c283c1fc2ed6f8b312785f45f98
[ "MIT" ]
null
null
null
src/cell-simulation/core/engine.cpp
firestack/cell-simulation
11eacc685afe7c283c1fc2ed6f8b312785f45f98
[ "MIT" ]
null
null
null
#include "engine.h" // Standard includes. #include <string> #include <sstream> #include <iomanip> #include <iostream> // SFML includes. #include <SFML/OpenGL.hpp> #include <SFML/Window/Keyboard.hpp> // Project includes. #include "content.h" #include "console.h" Engine::Engine() : m_avgRenderTime(0.0f), m_a...
25.306604
105
0.627213
firestack
a424e61811f8df783ec4a974ca1cc6f0f4378a57
4,576
hpp
C++
slope/slope/math/vector3.hpp
muleax/slope
254138703163705b57332fc7490dd2eea0082b57
[ "MIT" ]
6
2022-02-05T23:28:12.000Z
2022-02-24T11:08:04.000Z
slope/slope/math/vector3.hpp
muleax/slope
254138703163705b57332fc7490dd2eea0082b57
[ "MIT" ]
null
null
null
slope/slope/math/vector3.hpp
muleax/slope
254138703163705b57332fc7490dd2eea0082b57
[ "MIT" ]
null
null
null
#pragma once #include "slope/math/math_utils.hpp" namespace slope { class vec3 { public: static constexpr vec3 zero() { return {}; } constexpr vec3() : x(0.f), y(0.f), z(0.f) {} explicit constexpr vec3(float all) : x(all), y(all), z(all) {} constexpr vec3...
32.453901
121
0.547421
muleax
a42765efaa4612abd78e0a55bd3947086cce6c8f
503
hpp
C++
include/axl.util/Protocol.hpp
Defalt8/axl.util
71375e37d7df5d91d813d6e0fe99416220ce4dca
[ "MIT" ]
1
2021-02-12T12:48:28.000Z
2021-02-12T12:48:28.000Z
include/axl.util/Protocol.hpp
Defalt8/axl.util
71375e37d7df5d91d813d6e0fe99416220ce4dca
[ "MIT" ]
null
null
null
include/axl.util/Protocol.hpp
Defalt8/axl.util
71375e37d7df5d91d813d6e0fe99416220ce4dca
[ "MIT" ]
null
null
null
#pragma once #include "lib.hpp" #include "types.hpp" #include "ds/Array.hpp" #include "ds/List.hpp" #include "Serial.hpp" namespace axl { namespace util { class AXLUTILCXXAPI Protocol { public: Protocol(); virtual ~Protocol(); virtual ds::Array<byte, axl::util::ds::Allocators::Malloc<byte>> serialize(const Se...
21.869565
130
0.699801
Defalt8
a4291633209df533c172ee350b015c3434babc47
9,038
cpp
C++
src/gtest/test-utils-basic.cpp
w5292c/mcode
bb5d09c09b54d870bcc4e6a220176168d6618f60
[ "MIT" ]
null
null
null
src/gtest/test-utils-basic.cpp
w5292c/mcode
bb5d09c09b54d870bcc4e6a220176168d6618f60
[ "MIT" ]
null
null
null
src/gtest/test-utils-basic.cpp
w5292c/mcode
bb5d09c09b54d870bcc4e6a220176168d6618f60
[ "MIT" ]
1
2017-04-15T09:14:33.000Z
2017-04-15T09:14:33.000Z
/* * The MIT License (MIT) * * Copyright (c) 2020 Alexander Chumakov * * 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 * t...
30.430976
110
0.67526
w5292c
a4299f7cc284f50e31f330a24b68cce3e24b8bf5
889
hpp
C++
code/deps/osrm/include/extractor/extraction_turn.hpp
mbeckem/msc
93e71ba163a7ffef4eec3e83934fa793f3f50ff6
[ "MIT" ]
null
null
null
code/deps/osrm/include/extractor/extraction_turn.hpp
mbeckem/msc
93e71ba163a7ffef4eec3e83934fa793f3f50ff6
[ "MIT" ]
null
null
null
code/deps/osrm/include/extractor/extraction_turn.hpp
mbeckem/msc
93e71ba163a7ffef4eec3e83934fa793f3f50ff6
[ "MIT" ]
null
null
null
#ifndef OSRM_EXTRACTION_TURN_HPP #define OSRM_EXTRACTION_TURN_HPP #include <boost/numeric/conversion/cast.hpp> #include <extractor/guidance/intersection.hpp> #include <cstdint> namespace osrm { namespace extractor { struct ExtractionTurn { ExtractionTurn(const guidance::ConnectedRoad &turn, bool has_traffic_li...
23.394737
99
0.737908
mbeckem
a42f011786e6fbea57b932c544335d2d7ef78035
7,375
cpp
C++
system/apps_experiments/76_cc1101send/source/main.cpp
tomwei7/LA104
fdf04061f37693d37e2812ed6074348e65d7e5f9
[ "MIT" ]
336
2018-11-23T23:54:15.000Z
2022-03-21T03:47:05.000Z
system/apps_experiments/76_cc1101send/source/main.cpp
203Null/LA104
b8ae9413d01ea24eafb9fdb420c97511287cbd99
[ "MIT" ]
56
2019-02-01T05:01:07.000Z
2022-03-26T16:00:24.000Z
system/apps_experiments/76_cc1101send/source/main.cpp
203Null/LA104
b8ae9413d01ea24eafb9fdb420c97511287cbd99
[ "MIT" ]
52
2019-02-06T17:05:04.000Z
2022-03-04T12:30:53.000Z
#include <library.h> #include "../../os_host/source/framework/Console.h" #include "assert.h" #include "device/cc1101.h" //#include <iostream> #include "protocol/protocol.h" #include "protocol/weather.h" #include "streamer/streamer.h" #include "streamer/stm32f10x.h" #include "graph.h" CDeviceCC1101 gModem; #include ...
20.600559
169
0.572068
tomwei7
a43036417a0914982d39e989c28dae5882427f12
253
cc
C++
13/31/31.cc
williamgherman/cpp-solutions
cf947b3b8f49fa3071fbee96f522a4228e4207b8
[ "BSD-Source-Code" ]
5
2019-08-01T07:52:27.000Z
2022-03-27T08:09:35.000Z
13/31/31.cc
williamgherman/cpp-solutions
cf947b3b8f49fa3071fbee96f522a4228e4207b8
[ "BSD-Source-Code" ]
1
2020-10-03T17:29:59.000Z
2020-11-17T10:03:10.000Z
13/31/31.cc
williamgherman/cpp-solutions
cf947b3b8f49fa3071fbee96f522a4228e4207b8
[ "BSD-Source-Code" ]
6
2019-08-24T08:55:56.000Z
2022-02-09T08:41:44.000Z
#include <iostream> #include <vector> #include <algorithm> #include "HasPtr.h" using std::swap; int main() { HasPtr a("Hello"), b("World!"), c("Goodbye"); std::vector<HasPtr> hps{a,b,c}; std::sort(hps.begin(), hps.end()); return 0; }
15.8125
49
0.600791
williamgherman
a43437f7efe43aff64f046b3c1a2dc6df2f197ec
10,405
cpp
C++
drivers/ksfilter/ks/kslog.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
drivers/ksfilter/ks/kslog.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
drivers/ksfilter/ks/kslog.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
/*++ Copyright (C) Microsoft Corporation, 1998 - 1999 Module Name: kslog.cpp Abstract: This module contains the KS logging implementation. Author: Dale Sather (DaleSat) 10-May-1999 --*/ #include "ksp.h" #include "stdarg.h" #ifdef ALLOC_DATA_PRAGMA #pragma const_seg("PAGECONS...
26.0125
111
0.568477
npocmaka
bf9b104472bcefe28c992610950f81700cce588a
13,674
cpp
C++
fboss/agent/hw/test/ConfigFactory.cpp
midopooler/fboss
c8d08dd4255e97e5977f53712e7c91a7d045a0cb
[ "BSD-3-Clause" ]
null
null
null
fboss/agent/hw/test/ConfigFactory.cpp
midopooler/fboss
c8d08dd4255e97e5977f53712e7c91a7d045a0cb
[ "BSD-3-Clause" ]
null
null
null
fboss/agent/hw/test/ConfigFactory.cpp
midopooler/fboss
c8d08dd4255e97e5977f53712e7c91a7d045a0cb
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2004-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. * */ #inc...
35.516883
80
0.684657
midopooler
bf9bc13732089d87feed946edf4cbdcf759af657
7,555
cpp
C++
src/fuml/src_gen/fUML/impl/ValueImpl.cpp
MichaelBranz/MDE4CPP
5b918850a37e9cee54f6c3b92f381b0458451724
[ "MIT" ]
null
null
null
src/fuml/src_gen/fUML/impl/ValueImpl.cpp
MichaelBranz/MDE4CPP
5b918850a37e9cee54f6c3b92f381b0458451724
[ "MIT" ]
1
2019-03-01T00:54:13.000Z
2019-03-04T02:15:50.000Z
src/fuml/src_gen/fUML/impl/ValueImpl.cpp
vallesch/MDE4CPP
7f8a01dd6642820913b2214d255bef2ea76be309
[ "MIT" ]
null
null
null
#include "fUML/impl/ValueImpl.hpp" #ifdef NDEBUG #define DEBUG_MESSAGE(a) /**/ #else #define DEBUG_MESSAGE(a) a #endif #ifdef ACTIVITY_DEBUG_ON #define ACT_DEBUG(a) a #else #define ACT_DEBUG(a) /**/ #endif //#include "util/ProfileCallCount.hpp" #include <cassert> #include <iostream> #include <sstream> #...
24.609121
234
0.617207
MichaelBranz
bf9c3244794c75dce20a9630a31ab3cdb0c460c0
1,978
cpp
C++
tests/test_Reflection_Spectrum.cpp
temken/DaMaSCUS-SUN
6dc10d7e707c20bb1d5aea58249515b00e225b58
[ "MIT" ]
4
2021-02-26T10:30:36.000Z
2021-03-17T01:49:18.000Z
tests/test_Reflection_Spectrum.cpp
temken/DaMaSCUS-SUN
6dc10d7e707c20bb1d5aea58249515b00e225b58
[ "MIT" ]
7
2021-02-09T16:32:05.000Z
2022-02-03T09:20:08.000Z
tests/test_Reflection_Spectrum.cpp
temken/DaMaSCUS-SUN
6dc10d7e707c20bb1d5aea58249515b00e225b58
[ "MIT" ]
1
2022-01-03T03:54:24.000Z
2022-01-03T03:54:24.000Z
#include "Reflection_Spectrum.hpp" #include "gtest/gtest.h" #include <mpi.h> #include "libphysica/Integration.hpp" #include "libphysica/Natural_Units.hpp" #include "obscura/DM_Halo_Models.hpp" #include "obscura/DM_Particle_Standard.hpp" using namespace DaMaSCUS_SUN; using namespace libphysica::natural_units; int m...
27.09589
110
0.747725
temken
bf9ebce3a48163c0b6c517e39a9b67d59e11fe6c
4,913
cpp
C++
Components/Camera.cpp
raulgonzalezupc/FirstAssigment
9193de31049922787da966695340253d84439bf3
[ "MIT" ]
null
null
null
Components/Camera.cpp
raulgonzalezupc/FirstAssigment
9193de31049922787da966695340253d84439bf3
[ "MIT" ]
null
null
null
Components/Camera.cpp
raulgonzalezupc/FirstAssigment
9193de31049922787da966695340253d84439bf3
[ "MIT" ]
null
null
null
#include "Camera.h" #include "../GameObject.h" #include "Component.h" #include "../Application.h" #include "../ModuleRender.h" #include "../ModuleWindow.h" #include "../ModuleCamera.h" #include "../ModuleScene.h" #include "../ModuleProgram.h" #include "../ModuleModelLoader.h" #include <math.h> #include "../imgui/imgui....
24.688442
125
0.718095
raulgonzalezupc
bf9f398f8966a85086a2095312c25886bb8197a2
59,794
hh
C++
src/Mesh.hh
nmaxwell/OpenMesh-Python
daa461069decb459f990bfcc1131c55a2db7b5e5
[ "BSD-3-Clause" ]
9
2019-09-16T10:03:37.000Z
2022-02-03T17:56:24.000Z
src/Mesh.hh
Jiawei1996/OpenMesh-Python
daa461069decb459f990bfcc1131c55a2db7b5e5
[ "BSD-3-Clause" ]
null
null
null
src/Mesh.hh
Jiawei1996/OpenMesh-Python
daa461069decb459f990bfcc1131c55a2db7b5e5
[ "BSD-3-Clause" ]
1
2020-04-13T15:23:59.000Z
2020-04-13T15:23:59.000Z
#ifndef OPENMESH_PYTHON_MESH_HH #define OPENMESH_PYTHON_MESH_HH #include "Utilities.hh" #include "MeshTypes.hh" #include "Iterator.hh" #include "Circulator.hh" #include <algorithm> #include <pybind11/pybind11.h> #include <pybind11/numpy.h> #include <pybind11/stl.h> namespace py = pybind11; namespace OM = OpenMesh; ...
42.108451
161
0.674014
nmaxwell
bfa1e8340a88e16c329ca86b20a67fd6a41bd1d0
845
hpp
C++
libs/utils/include/suil/utils/uuid.hpp
suilteam/spark-xy
d07dc98c12c8842af0f11bf27d59161cb80f99b0
[ "MIT" ]
null
null
null
libs/utils/include/suil/utils/uuid.hpp
suilteam/spark-xy
d07dc98c12c8842af0f11bf27d59161cb80f99b0
[ "MIT" ]
null
null
null
libs/utils/include/suil/utils/uuid.hpp
suilteam/spark-xy
d07dc98c12c8842af0f11bf27d59161cb80f99b0
[ "MIT" ]
null
null
null
/** * Copyright (c) 2022 Suilteam, Carter Mbotho * * This library is free software; you can redistribute it and/or modify it * under the terms of the MIT license. See LICENSE for details. * * @author Carter * @date 2022-03-12 */ #pragma once #include <cstdint> #include <string> namespace suil { struct ...
23.472222
74
0.564497
suilteam
bfa5cf0febca4df39ca6f4f7a29f86bd440c2c80
42,743
cpp
C++
utils/license_to_header.cpp
ZopharShinta/SegsEngine
86d52c5b805e05e107594efd3358cabd694365f0
[ "CC-BY-3.0", "Apache-2.0", "MIT" ]
null
null
null
utils/license_to_header.cpp
ZopharShinta/SegsEngine
86d52c5b805e05e107594efd3358cabd694365f0
[ "CC-BY-3.0", "Apache-2.0", "MIT" ]
null
null
null
utils/license_to_header.cpp
ZopharShinta/SegsEngine
86d52c5b805e05e107594efd3358cabd694365f0
[ "CC-BY-3.0", "Apache-2.0", "MIT" ]
null
null
null
#include <QtCore/QFile> #include <QtCore/QString> #include <QFileInfo> #include <QStringList> #include <QHash> #include <QCryptographicHash> #include <QTextStream> #include <QDebug> #include <QSet> #include <QJsonDocument> #include <QMap> #include <QDirIterator> #include <QRegularExpression> #include <QtCore/QCoreAppli...
33.735596
194
0.564092
ZopharShinta
bfa608787d343981f7d6a12fc8df082967007d13
22,024
cc
C++
Algorithms/MatchedFilter/MatchedFilter2.cc
jwillemsen/sidecar
941d9f3b84d05ca405df1444d4d9fd0bde03887f
[ "MIT" ]
null
null
null
Algorithms/MatchedFilter/MatchedFilter2.cc
jwillemsen/sidecar
941d9f3b84d05ca405df1444d4d9fd0bde03887f
[ "MIT" ]
null
null
null
Algorithms/MatchedFilter/MatchedFilter2.cc
jwillemsen/sidecar
941d9f3b84d05ca405df1444d4d9fd0bde03887f
[ "MIT" ]
null
null
null
#include "boost/bind.hpp" #include <fftw3.h> #include <algorithm> // for std::transform #include <functional> // for std::bind* and std::mem_fun* #include "Algorithms/Controller.h" #include "Algorithms/Utils.h" #include "Logger/Log.h" #include "MatchedFilter2.h" #include "MatchedFilter_defaults.h" #include "WorkRe...
38.4363
120
0.624909
jwillemsen
bfa6e8d9093c3196f4da3168a70e6307077600ba
7,226
cpp
C++
smart-ptrs/unique_advanced/test.cpp
DenisOstashov/cpp-advanced-hse
6e4317763c0a9c510d639ae1e5793a8e9549d953
[ "MIT" ]
null
null
null
smart-ptrs/unique_advanced/test.cpp
DenisOstashov/cpp-advanced-hse
6e4317763c0a9c510d639ae1e5793a8e9549d953
[ "MIT" ]
null
null
null
smart-ptrs/unique_advanced/test.cpp
DenisOstashov/cpp-advanced-hse
6e4317763c0a9c510d639ae1e5793a8e9549d953
[ "MIT" ]
null
null
null
#include "../unique.h" #include "deleters.h" #include "../my_int.h" #include <catch.hpp> #include <tuple> TEST_CASE("Construction with deleters") { SECTION("From copyable deleter") { const CopyableDeleter<MyInt> cd; UniquePtr<MyInt, CopyableDeleter<MyInt>> s(new MyInt, cd); } SECTION("Fr...
26.962687
88
0.562137
DenisOstashov
bfa7c88d6925c84e92512e3ec1d5a8b26219bd6c
6,945
cpp
C++
src/microscopy/blocks/ai/CellDatabaseComparison.cpp
luminosuslight/pathology-ml-model-training
00849ba00006c0e855d10a7a2a4e0d41fece1aab
[ "MIT" ]
null
null
null
src/microscopy/blocks/ai/CellDatabaseComparison.cpp
luminosuslight/pathology-ml-model-training
00849ba00006c0e855d10a7a2a4e0d41fece1aab
[ "MIT" ]
null
null
null
src/microscopy/blocks/ai/CellDatabaseComparison.cpp
luminosuslight/pathology-ml-model-training
00849ba00006c0e855d10a7a2a4e0d41fece1aab
[ "MIT" ]
1
2020-05-20T08:17:33.000Z
2020-05-20T08:17:33.000Z
#include "CellDatabaseComparison.h" #include "core/CoreController.h" #include "core/manager/BlockList.h" #include "core/manager/StatusManager.h" #include "core/connections/Nodes.h" #include "microscopy/blocks/basic/CellDatabaseBlock.h" #include <QtConcurrent> bool CellDatabaseComparison::s_registered = BlockList::g...
45.392157
133
0.683225
luminosuslight
bfa92077cc14ec83225cb95b353196d81c49d6ad
20,655
cpp
C++
source/GTest/FX/Fx.cpp
paradoxnj/Genesis3D
272fc6aa2580de4ee223274ea04a101199c535a1
[ "Condor-1.1", "Unlicense" ]
3
2020-04-29T03:17:50.000Z
2021-05-26T19:53:46.000Z
source/GTest/FX/Fx.cpp
paradoxnj/Genesis3D
272fc6aa2580de4ee223274ea04a101199c535a1
[ "Condor-1.1", "Unlicense" ]
1
2020-04-29T03:12:47.000Z
2020-04-29T03:12:47.000Z
source/GTest/FX/Fx.cpp
paradoxnj/Genesis3D
272fc6aa2580de4ee223274ea04a101199c535a1
[ "Condor-1.1", "Unlicense" ]
null
null
null
/****************************************************************************************/ /* Fx.c */ /* */ /* Author: John Pollard ...
29.173729
164
0.541515
paradoxnj
bfaa5f23f74561eb7de709daa7bf488c303f5e3b
9,319
cc
C++
android_webview/browser/surfaces_instance.cc
zipated/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
android_webview/browser/surfaces_instance.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
android_webview/browser/surfaces_instance.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "android_webview/browser/surfaces_instance.h" #include <algorithm> #include <memory> #include <utility> #include "android_webview/browser/aw_gl...
40.694323
80
0.741067
zipated
bfaae1bbde6de98b6131ebed61b9324dc20b3d91
52
cpp
C++
Graph/Common Graph Templates/cycleDetect.cpp
aminPial/Competitive-Programming-Library
c77373bf9f0dd212369a383ec3165d345f2a0cc7
[ "MIT" ]
4
2020-03-21T04:32:09.000Z
2021-07-14T13:49:00.000Z
Graph/Common Graph Templates/cycleDetect.cpp
aminPial/Competitive-Programming-Library
c77373bf9f0dd212369a383ec3165d345f2a0cc7
[ "MIT" ]
null
null
null
Graph/Common Graph Templates/cycleDetect.cpp
aminPial/Competitive-Programming-Library
c77373bf9f0dd212369a383ec3165d345f2a0cc7
[ "MIT" ]
1
2020-12-11T06:06:06.000Z
2020-12-11T06:06:06.000Z
// cycle detection for directed and undirected graph
52
52
0.826923
aminPial
bfac1857cac402b861fa6a09633de259ddfc12f2
13,324
inl
C++
Engine/Include/Sapphire/Maths/Space/Quaternion.inl
SapphireSuite/Sapphire
f4ec03f2602eb3fb6ba8c5fa8abf145f66179a47
[ "MIT" ]
2
2020-03-18T09:06:21.000Z
2020-04-09T00:07:56.000Z
Engine/Include/Sapphire/Maths/Space/Quaternion.inl
SapphireSuite/Sapphire
f4ec03f2602eb3fb6ba8c5fa8abf145f66179a47
[ "MIT" ]
null
null
null
Engine/Include/Sapphire/Maths/Space/Quaternion.inl
SapphireSuite/Sapphire
f4ec03f2602eb3fb6ba8c5fa8abf145f66179a47
[ "MIT" ]
null
null
null
// Copyright 2020 Sapphire development team. All Rights Reserved. namespace Sa { template <typename T> const Quat<T> Quat<T>::Zero{ T(0), T(0), T(0), T(0) }; template <typename T> const Quat<T> Quat<T>::Identity{ T(1), T(0), T(0), T(0) }; template <typename T> constexpr Quat<T>::Quat(T _w, T _x, T _y, T _z) n...
21.878489
143
0.645827
SapphireSuite
bfac974de42b3e3c1f3b5bc90349d2f648f20f69
28,880
cpp
C++
NULL Engine/Source/C_Animator.cpp
BarcinoLechiguino/NULL_Engine
f2abecb44bee45b7cbf2d5b53609d79d38ecc5a3
[ "MIT" ]
4
2020-11-29T12:28:31.000Z
2021-06-08T17:32:56.000Z
NULL Engine/Source/C_Animator.cpp
BarcinoLechiguino/NULL_Engine
f2abecb44bee45b7cbf2d5b53609d79d38ecc5a3
[ "MIT" ]
null
null
null
NULL Engine/Source/C_Animator.cpp
BarcinoLechiguino/NULL_Engine
f2abecb44bee45b7cbf2d5b53609d79d38ecc5a3
[ "MIT" ]
4
2020-11-01T17:06:32.000Z
2021-01-09T16:58:50.000Z
#include "MathGeoLib/include/Geometry/LineSegment.h" #include "Profiler.h" #include "JSONParser.h" #include "Time.h" #include "Channel.h" #include "AnimatorClip.h" #include "Application.h" #include "M_ResourceManager.h" #include "R_Animation.h" #include "GameObject.h" #include "C_Transform.h" #include "C_Animato...
24.066667
163
0.717209
BarcinoLechiguino
bfaf1a64947d58d5337963ecadaf3c1423b6ce1b
1,336
cpp
C++
src/human_aware_navigation/src/KeyboardManager.cpp
CodeToPoem/HumanAwareRobotNavigation
d44eb7e5acd73a5a7bf8bf1cd88c23d6a4a3c330
[ "BSD-3-Clause" ]
20
2017-10-26T05:58:24.000Z
2021-06-13T11:18:54.000Z
src/human_aware_navigation/src/KeyboardManager.cpp
dmr-goncalves/HumanAwareRobotNavigation
d44eb7e5acd73a5a7bf8bf1cd88c23d6a4a3c330
[ "BSD-3-Clause" ]
null
null
null
src/human_aware_navigation/src/KeyboardManager.cpp
dmr-goncalves/HumanAwareRobotNavigation
d44eb7e5acd73a5a7bf8bf1cd88c23d6a4a3c330
[ "BSD-3-Clause" ]
6
2018-02-05T09:31:42.000Z
2022-02-07T22:05:57.000Z
/***************************** Made by Duarte Gonçalves *********************************/ #include "human_aware_navigation/KeyboardManager.hpp" KeyboardManager::KeyboardManager(){ m_pub_TaskFinished = m_nd.advertise<human_aware_navigation::TaskFinished>("/task_finished", 1, true); } void KeyboardManager::run(){ ...
18.816901
102
0.631737
CodeToPoem
bfafbb740d1b97a15171e88e1bf704e24efc80c4
23,056
cc
C++
src/mojo/edk/system/message_pipe_unittest.cc
bopopescu/MQUIC
703e944ec981366cfd2528943b1def2c72b7e49d
[ "MIT" ]
1
2018-01-02T15:42:08.000Z
2018-01-02T15:42:08.000Z
src/mojo/edk/system/message_pipe_unittest.cc
bopopescu/MQUIC
703e944ec981366cfd2528943b1def2c72b7e49d
[ "MIT" ]
null
null
null
src/mojo/edk/system/message_pipe_unittest.cc
bopopescu/MQUIC
703e944ec981366cfd2528943b1def2c72b7e49d
[ "MIT" ]
1
2020-07-25T02:05:49.000Z
2020-07-25T02:05:49.000Z
// Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <stdint.h> #include "base/memory/ref_counted.h" #include "mojo/edk/system/test_utils.h" #include "mojo/edk/test/mojo_test_base.h" #include "mojo...
35.416283
80
0.709967
bopopescu
bfb06db7d0f418cfdec185e4f34d0a8a87200aeb
8,935
cpp
C++
CapabilityAgents/PlaybackController/src/PlaybackCommand.cpp
AndersSpringborg/avs-device-sdk
8e77a64c5be5a0b7b19c53549d91b0c45c37df3a
[ "Apache-2.0" ]
1,272
2017-08-17T04:58:05.000Z
2022-03-27T03:28:29.000Z
CapabilityAgents/PlaybackController/src/PlaybackCommand.cpp
AndersSpringborg/avs-device-sdk
8e77a64c5be5a0b7b19c53549d91b0c45c37df3a
[ "Apache-2.0" ]
1,948
2017-08-17T03:39:24.000Z
2022-03-30T15:52:41.000Z
CapabilityAgents/PlaybackController/src/PlaybackCommand.cpp
AndersSpringborg/avs-device-sdk
8e77a64c5be5a0b7b19c53549d91b0c45c37df3a
[ "Apache-2.0" ]
630
2017-08-17T06:35:59.000Z
2022-03-29T04:04:44.000Z
/* * Copyright Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0/ * * or in the "license" f...
37.542017
110
0.769782
AndersSpringborg
bfb0c309a82246f243c3b88be364e76a9130da04
1,547
cpp
C++
72.cpp
machinecc/leetcode
32bbf6c1f9124049c046a235c85b14ca9168daa8
[ "MIT" ]
null
null
null
72.cpp
machinecc/leetcode
32bbf6c1f9124049c046a235c85b14ca9168daa8
[ "MIT" ]
null
null
null
72.cpp
machinecc/leetcode
32bbf6c1f9124049c046a235c85b14ca9168daa8
[ "MIT" ]
null
null
null
#include <iostream> #include <cstdlib> #include <string> #include <unordered_set> #include <vector> #include <algorithm> #include <climits> #include <stack> #include <sstream> #include <numeric> #include <unordered_map> using namespace std; class Solution { public: int minDistance(string word1, string word2) { ...
19.3375
93
0.405301
machinecc
bfb142a1dd1886deb273bc875837356c2354d332
1,132
cpp
C++
uva/11747.cpp
cosmicray001/Online_judge_Solutions-
5dc6f90d3848eb192e6edea8e8c731f41a1761dd
[ "MIT" ]
3
2018-01-08T02:52:51.000Z
2021-03-03T01:08:44.000Z
uva/11747.cpp
cosmicray001/Online_judge_Solutions-
5dc6f90d3848eb192e6edea8e8c731f41a1761dd
[ "MIT" ]
null
null
null
uva/11747.cpp
cosmicray001/Online_judge_Solutions-
5dc6f90d3848eb192e6edea8e8c731f41a1761dd
[ "MIT" ]
1
2020-08-13T18:07:35.000Z
2020-08-13T18:07:35.000Z
#include <bits/stdc++.h> #define le 10004 using namespace std; int p[le]; struct edge{ int u, v, w; }; bool comp(edge a, edge b){ return a.w < b.w; } int fnc(int a){ if(p[a] == a) return a; p[a] = fnc(p[a]); return p[a]; } vector<edge> v; vector<int> ve; void mst(){ sort(v.begin(), v.end()...
21.358491
68
0.437279
cosmicray001
bfb245ebe64e3492f568d038fde248756b0c25f6
62
cpp
C++
libboost-proto/tests/basics/driver.cpp
build2-packaging/boost
203d505dd3ba04ea50785bc8b247a295db5fc718
[ "BSL-1.0" ]
4
2021-02-23T11:24:33.000Z
2021-09-11T20:10:46.000Z
libboost-proto/tests/basics/driver.cpp
build2-packaging/boost
203d505dd3ba04ea50785bc8b247a295db5fc718
[ "BSL-1.0" ]
null
null
null
libboost-proto/tests/basics/driver.cpp
build2-packaging/boost
203d505dd3ba04ea50785bc8b247a295db5fc718
[ "BSL-1.0" ]
null
null
null
#include <boost/proto/proto.hpp> int main () { return 0; }
7.75
32
0.629032
build2-packaging
bfb8c6398e002eb181771ab525fa372dd4129c84
1,322
cpp
C++
Scripting/Source/ScriptManager.cpp
jordanlittlefair/Foundation
ab737b933ea5bbe2be76133ed78c8e882f072fd0
[ "BSL-1.0" ]
null
null
null
Scripting/Source/ScriptManager.cpp
jordanlittlefair/Foundation
ab737b933ea5bbe2be76133ed78c8e882f072fd0
[ "BSL-1.0" ]
null
null
null
Scripting/Source/ScriptManager.cpp
jordanlittlefair/Foundation
ab737b933ea5bbe2be76133ed78c8e882f072fd0
[ "BSL-1.0" ]
null
null
null
#include "../Include/ScriptManager.hpp" #include "../Include/Script.hpp" using namespace Fnd::Scripting; ScriptManager::ScriptManager(): _entity_system(nullptr), _input_handler(nullptr) { } void ScriptManager::AddScript( unsigned int entity_id, Script* script ) { _entities[entity_id].entity_id = en...
24.943396
130
0.721634
jordanlittlefair
bfba0c83f795186379ebfa623bfc563b934b1d63
388
cpp
C++
2020-12-01/area.cpp
pufe/programa
7f79566597446e9e39222e6c15fa636c3dd472bb
[ "MIT" ]
2
2020-12-12T00:02:40.000Z
2021-04-21T19:49:59.000Z
2020-12-01/area.cpp
pufe/programa
7f79566597446e9e39222e6c15fa636c3dd472bb
[ "MIT" ]
null
null
null
2020-12-01/area.cpp
pufe/programa
7f79566597446e9e39222e6c15fa636c3dd472bb
[ "MIT" ]
null
null
null
#include <cstdio> #include <cmath> const double pi = 4*atan(1); int main() { double d = sqrt(3) - 1; double cc = pi/12 - sin(pi/12)*cos(pi/12); double a1 = d*d/2.0 + 4*cc; double a3 = 8*(1/2.0 - sqrt(3)/8.0 - pi/12); double a2 = 1-a1-a3; double f; while(scanf(" %lf", &f)==1) { printf("%...
21.555556
59
0.507732
pufe
bfbb5f214d1edbff97c28d8afab524374a29ea32
2,577
cpp
C++
tools/utmostcp/src/utmostcp.cpp
denis-ryzhkov/antiques
6a67bf606c1b49cc413df26bfdf00d392b605f88
[ "MIT" ]
null
null
null
tools/utmostcp/src/utmostcp.cpp
denis-ryzhkov/antiques
6a67bf606c1b49cc413df26bfdf00d392b605f88
[ "MIT" ]
null
null
null
tools/utmostcp/src/utmostcp.cpp
denis-ryzhkov/antiques
6a67bf606c1b49cc413df26bfdf00d392b605f88
[ "MIT" ]
null
null
null
#include <stdlib.h> #include <stdio.h> #include <io.h> #include <string.h> #define IN_FN argv[ 1 ] #define OUT_FN argv[ 2 ] #define SKIP_K argv[ 3 ] #define INT64 __int64 int percents_c = 0; INT64 in_size, byte_i, bads_c = 0, skip_k = 0, skip_c = 1; int calc_percents_c() { return percents_c = ( byte_i *...
32.620253
341
0.54676
denis-ryzhkov
bfbccac119a001b8a798ed189e936ad82ee7c40d
3,329
cpp
C++
thirdparty/graph-tools-master/src/graphalign/KmerIndexOperations.cpp
AlesMaver/ExpansionHunter
274903d26a33cfbc546aac98c85bbfe51701fd3b
[ "BSL-1.0", "Apache-2.0" ]
122
2017-01-06T16:19:31.000Z
2022-03-08T00:05:50.000Z
thirdparty/graph-tools-master/src/graphalign/KmerIndexOperations.cpp
AlesMaver/ExpansionHunter
274903d26a33cfbc546aac98c85bbfe51701fd3b
[ "BSL-1.0", "Apache-2.0" ]
90
2017-01-04T00:23:34.000Z
2022-02-27T12:55:52.000Z
thirdparty/graph-tools-master/src/graphalign/KmerIndexOperations.cpp
AlesMaver/ExpansionHunter
274903d26a33cfbc546aac98c85bbfe51701fd3b
[ "BSL-1.0", "Apache-2.0" ]
35
2017-03-02T13:39:58.000Z
2022-03-30T17:34:11.000Z
// // GraphTools library // Copyright 2017-2019 Illumina, Inc. // All rights reserved. // // Author: Egor Dolzhenko <edolzhenko@illumina.com>, // Peter Krusche <pkrusche@illumina.com> // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the...
29.201754
117
0.645539
AlesMaver
bfbe5bbdba6aea439903878b04d4f033b58c9ac6
1,395
cpp
C++
beringei/lib/tests/CaseUtilsTest.cpp
pidb/Gorilla
75c3002b179d99c8709323d605e7d4b53484035c
[ "BSD-3-Clause" ]
2,780
2016-12-22T19:25:26.000Z
2018-05-21T11:29:42.000Z
beringei/lib/tests/CaseUtilsTest.cpp
pidb/Gorilla
75c3002b179d99c8709323d605e7d4b53484035c
[ "BSD-3-Clause" ]
57
2016-12-23T09:22:18.000Z
2018-05-04T06:26:48.000Z
beringei/lib/tests/CaseUtilsTest.cpp
pidb/Gorilla
75c3002b179d99c8709323d605e7d4b53484035c
[ "BSD-3-Clause" ]
254
2016-12-22T20:53:12.000Z
2018-05-16T06:14:10.000Z
/** * Copyright (c) 2016-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. */ #include <...
23.644068
78
0.666667
pidb
bfbf6581565cfade6c043509c1ae65d3e9c0233b
32,185
cpp
C++
Engine/source/renderInstance/renderProbeMgr.cpp
DraconicEnt/Torque3D
b351ad38f8df8c297980941f610d72a8794633ea
[ "MIT" ]
417
2020-06-01T15:55:15.000Z
2022-03-31T12:50:51.000Z
Engine/source/renderInstance/renderProbeMgr.cpp
Ashry00/Torque3D
33e3e41c8b7eb41c743a589558bc21302207ef97
[ "MIT" ]
186
2020-06-02T19:12:39.000Z
2022-02-15T02:22:27.000Z
Engine/source/renderInstance/renderProbeMgr.cpp
Ashry00/Torque3D
33e3e41c8b7eb41c743a589558bc21302207ef97
[ "MIT" ]
84
2020-06-01T15:54:44.000Z
2022-03-24T13:52:59.000Z
//----------------------------------------------------------------------------- // Copyright (c) 2012 GarageGames, LLC // // 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 restrictio...
33.526042
179
0.720304
DraconicEnt
bfc2aa0b08832e245a58f51eddd70586279ab2e4
63
cpp
C++
DeviceCode/Drivers/TouchPanel/ADS7843/ads7843_fastcompile.cpp
Sirokujira/MicroFrameworkPK_v4_3
a0d80b4fd8eeda6dbdb58f6f7beb4f07f7ef563e
[ "Apache-2.0" ]
4
2019-01-21T11:47:53.000Z
2020-06-09T02:14:15.000Z
DeviceCode/Drivers/TouchPanel/ADS7843/ads7843_fastcompile.cpp
yisea123/NetmfSTM32
62ddb8aa0362b83d2e73f3621a56593988e3620f
[ "Apache-2.0" ]
null
null
null
DeviceCode/Drivers/TouchPanel/ADS7843/ads7843_fastcompile.cpp
yisea123/NetmfSTM32
62ddb8aa0362b83d2e73f3621a56593988e3620f
[ "Apache-2.0" ]
6
2017-11-09T11:48:10.000Z
2020-05-24T09:43:07.000Z
#include "ADS7843_functions.cpp" #include "ADS7843_driver.cpp"
21
32
0.809524
Sirokujira
bfc53adfe174a3848f2af9b97dabc6a328ffb171
935
inl
C++
extra_files/vector.inl
Majrusz/AdventOfCode2020
cb01ebb735bdbc27b1fef8f3513bc340cfb2bd25
[ "MIT" ]
1
2020-12-19T17:06:58.000Z
2020-12-19T17:06:58.000Z
extra_files/vector.inl
Majrusz/AdventOfCode2020
cb01ebb735bdbc27b1fef8f3513bc340cfb2bd25
[ "MIT" ]
null
null
null
extra_files/vector.inl
Majrusz/AdventOfCode2020
cb01ebb735bdbc27b1fef8f3513bc340cfb2bd25
[ "MIT" ]
null
null
null
// Created by Majrusz on 20/12/2020. All rights reserved. #include "vector.h" template< size_t N > double aoc::Vector< N >::calculateDistance( const Vector< N > &origin ) const { double distance{}; for( size_t index{}; index < N; index++ ) distance += std::pow( this->coordinates[ index ] - origin.coordinates[ in...
27.5
109
0.662032
Majrusz
bfca0cd1e2499fba04c73af165f404fe8e68b4b5
529
cpp
C++
ThirdParty/BCGControlBar/BCGControlBar/bcginit.cpp
BlackYoup/gamecq
85d7ca2a84125e48a439c185a249e06c7bd3e3e9
[ "MIT" ]
12
2016-05-22T22:37:36.000Z
2021-02-02T16:47:42.000Z
ThirdParty/BCGControlBar/BCGControlBar/bcginit.cpp
BlackYoup/gamecq
85d7ca2a84125e48a439c185a249e06c7bd3e3e9
[ "MIT" ]
2
2017-06-16T13:30:34.000Z
2018-01-28T21:04:24.000Z
ThirdParty/BCGControlBar/BCGControlBar/bcginit.cpp
BlackYoup/gamecq
85d7ca2a84125e48a439c185a249e06c7bd3e3e9
[ "MIT" ]
11
2016-05-28T04:43:55.000Z
2020-09-26T03:48:13.000Z
//******************************************************************************* // COPYRIGHT NOTES // --------------- // This is a part of the BCGControlBar Library // Copyright (C) 1998-2006 BCGSoft Ltd. // All rights reserved. // // This source code can be used, distributed or modified // only under terms and condi...
26.45
82
0.470699
BlackYoup
bfcb46d5d707ff73291e19f9db65cb9f5c45ff6f
3,702
cpp
C++
image-localization/community-code/roboauto/ros/src/utils/src/SignDetection.cpp
vaibhav-s/self-driving-car
eb5865d50499f90b3eeace869c1f8a65cf9e2c46
[ "MIT" ]
null
null
null
image-localization/community-code/roboauto/ros/src/utils/src/SignDetection.cpp
vaibhav-s/self-driving-car
eb5865d50499f90b3eeace869c1f8a65cf9e2c46
[ "MIT" ]
null
null
null
image-localization/community-code/roboauto/ros/src/utils/src/SignDetection.cpp
vaibhav-s/self-driving-car
eb5865d50499f90b3eeace869c1f8a65cf9e2c46
[ "MIT" ]
null
null
null
/* * Copyright 2016 RoboAuto team, Artin * All rights reserved. * * This file is part of RoboAuto HorizonSlam. * * RoboAuto HorizonSlam 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 vers...
39.806452
140
0.655051
vaibhav-s
bfcc3c02ed1648435fe862c9662a3dddf3d13db6
10,678
cpp
C++
src/NGM.cpp
monsanto-pinheiro/ngmlr
8d7677929001d1d13c6b4593c409a52044180dca
[ "MIT" ]
239
2017-01-18T15:14:34.000Z
2022-03-09T10:44:08.000Z
src/NGM.cpp
monsanto-pinheiro/ngmlr
8d7677929001d1d13c6b4593c409a52044180dca
[ "MIT" ]
96
2017-01-13T15:03:29.000Z
2022-02-07T14:27:18.000Z
src/NGM.cpp
monsanto-pinheiro/ngmlr
8d7677929001d1d13c6b4593c409a52044180dca
[ "MIT" ]
44
2017-03-17T20:31:08.000Z
2021-12-02T07:27:09.000Z
/** * Contact: philipp.rescheneder@gmail.com */ #include "NGM.h" #include <memory.h> #include <stdlib.h> #include <limits.h> #include "CS.h" #include "PrefixTable.h" #include "ReadProvider.h" #include "PlainFileWriter.h" #include "SAMWriter.h" #include "Timing.h" #include "StrippedSW.h" #undef m...
24.832558
284
0.648342
monsanto-pinheiro
bfcd50b60d6e0c74def2ebbf04a98a32b10807bf
4,903
cpp
C++
src/managers/framebuffer_manager.cpp
Romop5/holoinjector
db11922e6c57b4664beeec31199385a4877e1619
[ "MIT" ]
2
2021-04-12T06:09:57.000Z
2021-05-20T11:56:01.000Z
src/managers/framebuffer_manager.cpp
Romop5/holoinjector
db11922e6c57b4664beeec31199385a4877e1619
[ "MIT" ]
null
null
null
src/managers/framebuffer_manager.cpp
Romop5/holoinjector
db11922e6c57b4664beeec31199385a4877e1619
[ "MIT" ]
null
null
null
/***************************************************************************** * * PROJECT: HoloInjector - https://github.com/Romop5/holoinjector * LICENSE: See LICENSE in the top level directory * FILE: managers/framebuffer_manager.cpp * ***************************************************************...
38.606299
146
0.607995
Romop5
bfcda35f798d306b4537f7d1f1b501ff1af5a884
433
cpp
C++
test/Vec3Tests.cpp
craft-coder/Softwareentwicklung-2021
6c9cf6201b333796a058394c017c8b3e72a3f631
[ "MIT" ]
null
null
null
test/Vec3Tests.cpp
craft-coder/Softwareentwicklung-2021
6c9cf6201b333796a058394c017c8b3e72a3f631
[ "MIT" ]
null
null
null
test/Vec3Tests.cpp
craft-coder/Softwareentwicklung-2021
6c9cf6201b333796a058394c017c8b3e72a3f631
[ "MIT" ]
4
2021-04-21T13:19:13.000Z
2021-12-18T20:19:16.000Z
#include "gtest/gtest.h" #include "Vec3.h" TEST(Vec3, DefaultConstructor_XisZero) { raytracer::Vec3 vec{}; double x = vec.x(); EXPECT_NEAR(x, 0.0, 0.00001); } TEST(Vec3, DefaultConstructor_YisZero) { raytracer::Vec3 vec{}; double y = vec.y(); EXPECT_NEAR(y, 0.0, 0.00001); } TEST(Vec3, Defau...
18.041667
40
0.630485
craft-coder
bfcfdd6082eef7ca753e401c931bbfe6ba4b0adc
492
cpp
C++
basic/09_multidimensional_array/multidimensional_array.cpp
khairanabila/CPP
48b18b6bf835d8075fc96bbf183adf28a71ba819
[ "MIT" ]
23
2021-09-10T00:08:48.000Z
2022-03-24T16:09:30.000Z
basic/09_multidimensional_array/multidimensional_array.cpp
khairanabila/CPP
48b18b6bf835d8075fc96bbf183adf28a71ba819
[ "MIT" ]
20
2021-09-21T15:34:21.000Z
2021-11-28T18:52:10.000Z
basic/09_multidimensional_array/multidimensional_array.cpp
khairanabila/CPP
48b18b6bf835d8075fc96bbf183adf28a71ba819
[ "MIT" ]
27
2021-09-10T02:35:56.000Z
2022-01-24T10:46:06.000Z
#include <iostream> int main(){ // arr[baris][kolom] int arr[3][2] = { {0,1}, {2,3}, {4,5} }; for(int baris = 0; baris < 3; baris++){ for(int kolom = 0; kolom < 2; kolom++){ std::cout << "arr[" << baris << "][" << kolom << "]: " << arr[baris][kolom] << std:...
16.965517
101
0.376016
khairanabila
bfd0133a1aaf2601faa26d94b1f7a79c3f4146ff
72
cpp
C++
Algorithmns/gcd.cpp
waba359/VAULT
5680882f76848f3df19a2f86b55eece5ae9df20f
[ "CC0-1.0" ]
1
2019-12-27T04:06:31.000Z
2019-12-27T04:06:31.000Z
Algorithmns/gcd.cpp
waba359/VAULT
5680882f76848f3df19a2f86b55eece5ae9df20f
[ "CC0-1.0" ]
null
null
null
Algorithmns/gcd.cpp
waba359/VAULT
5680882f76848f3df19a2f86b55eece5ae9df20f
[ "CC0-1.0" ]
null
null
null
ll gcd(ll m, ll n){ if(n == 0) return m; return gcd(n, m%n); }
14.4
25
0.472222
waba359
bfd5b33b318b4966638c44135a5aa058c92d3199
2,586
cpp
C++
writesinglecoildialog.cpp
tonylin0826/ModbusMasterTool
d751126ac4937838660f2684e16c7c04d66481d8
[ "MIT" ]
null
null
null
writesinglecoildialog.cpp
tonylin0826/ModbusMasterTool
d751126ac4937838660f2684e16c7c04d66481d8
[ "MIT" ]
null
null
null
writesinglecoildialog.cpp
tonylin0826/ModbusMasterTool
d751126ac4937838660f2684e16c7c04d66481d8
[ "MIT" ]
null
null
null
#include "writesinglecoildialog.hpp" #include <QIntValidator> #include "mainwindow.hpp" #include "ui_writesinglecoildialog.h" WriteSingleCoilDialog::WriteSingleCoilDialog(QWidget *parent, quint16 startingAddress) : QDialog(parent), _ui(new Ui::WriteSingleCoilDialog), _onOffGroup(new QButtonGroup(this)) { _setu...
31.925926
117
0.686775
tonylin0826
bfd926d2b7a35f79596908918ede8b2ed358e86c
10,174
cpp
C++
extension/tpcds/dsdgen/dsdgen-c/w_web_sales.cpp
AldoMyrtaj/duckdb
3aa4978a2ceab8df25e4b20c388bcd7629de73ed
[ "MIT" ]
2,816
2018-06-26T18:52:52.000Z
2021-04-06T10:39:15.000Z
extension/tpcds/dsdgen/dsdgen-c/w_web_sales.cpp
AldoMyrtaj/duckdb
3aa4978a2ceab8df25e4b20c388bcd7629de73ed
[ "MIT" ]
1,310
2021-04-06T16:04:52.000Z
2022-03-31T13:52:53.000Z
extension/tpcds/dsdgen/dsdgen-c/w_web_sales.cpp
AldoMyrtaj/duckdb
3aa4978a2ceab8df25e4b20c388bcd7629de73ed
[ "MIT" ]
270
2021-04-09T06:18:28.000Z
2022-03-31T11:55:37.000Z
/* * Legal Notice * * This document and associated source code (the "Work") is a part of a * benchmark specification maintained by the TPC. * * The TPC reserves all right, title, and interest to the Work as provided * under U.S. and international laws, including without limitation all patent * and trademark rig...
34.14094
105
0.743759
AldoMyrtaj
bfdd440d5a33f15bffd244b332ee184245e3573f
1,884
cpp
C++
node_modules/nodeimu/RTIMULib2/RTHost/RTIMULibGL/QtGLLib/QtGLPlaneComponent.cpp
RGUCode/pi-sensor
c5219abc3a7557c44bce4f7f8f909fffa00ef071
[ "MIT" ]
null
null
null
node_modules/nodeimu/RTIMULib2/RTHost/RTIMULibGL/QtGLLib/QtGLPlaneComponent.cpp
RGUCode/pi-sensor
c5219abc3a7557c44bce4f7f8f909fffa00ef071
[ "MIT" ]
1
2020-07-16T19:00:53.000Z
2020-07-16T19:00:53.000Z
node_modules/nodeimu/RTIMULib2/RTHost/RTIMULibGL/QtGLLib/QtGLPlaneComponent.cpp
RGUCode/pi-sensor
c5219abc3a7557c44bce4f7f8f909fffa00ef071
[ "MIT" ]
1
2019-03-23T10:00:55.000Z
2019-03-23T10:00:55.000Z
//////////////////////////////////////////////////////////////////////////// // // This file is part of RTIMULib // // Copyright (c) 2014, richards-tech // // Permission is hereby granted, free of charge, to any person obtaining a copy of // this software and associated documentation files (the "Software"), ...
36.941176
104
0.657113
RGUCode
bfde6ea67dba61936ee0963ed6f96a32c9adbf84
1,241
cpp
C++
CPP, C++ Solutions/64. Minimum Path Sum.cpp
arpitkekri/My-Leetcode-Solution-In-CPP
345f1c53c627fce33ee84672c5d3661863367040
[ "MIT" ]
4
2021-06-21T04:32:12.000Z
2021-11-02T04:20:36.000Z
CPP, C++ Solutions/64. Minimum Path Sum.cpp
arpitkekri/My-Leetcode-Solution-In-CPP
345f1c53c627fce33ee84672c5d3661863367040
[ "MIT" ]
null
null
null
CPP, C++ Solutions/64. Minimum Path Sum.cpp
arpitkekri/My-Leetcode-Solution-In-CPP
345f1c53c627fce33ee84672c5d3661863367040
[ "MIT" ]
2
2021-08-19T11:27:18.000Z
2021-09-26T14:51:30.000Z
/*********** Method-1(TC - O(NM), SC - O(NM)) ************************************** class Solution { public: int minPathSum(vector<vector<int>>& grid) { int m = grid.size(); int n = grid[0].size(); vector<vector<int>> dp(m+1, vector<int>(n+1, INT_MAX)); for(int i = m-1; i >= 0; i--)...
30.268293
90
0.33199
arpitkekri
bfe2b3d261d774c1516d7d9ec47526702c9af7c2
4,530
cc
C++
systems/sensors/test/image_to_lcm_image_array_t_test.cc
RobotLocomotion/drake-python3.7
ae397a4c6985262d23e9675b9bf3927c08d027f5
[ "BSD-3-Clause" ]
2
2021-02-25T02:01:02.000Z
2021-03-17T04:52:04.000Z
systems/sensors/test/image_to_lcm_image_array_t_test.cc
RobotLocomotion/drake-python3.7
ae397a4c6985262d23e9675b9bf3927c08d027f5
[ "BSD-3-Clause" ]
null
null
null
systems/sensors/test/image_to_lcm_image_array_t_test.cc
RobotLocomotion/drake-python3.7
ae397a4c6985262d23e9675b9bf3927c08d027f5
[ "BSD-3-Clause" ]
1
2021-06-13T12:05:39.000Z
2021-06-13T12:05:39.000Z
#include "drake/systems/sensors/image_to_lcm_image_array_t.h" #include <gtest/gtest.h> #include "drake/lcmt_image_array.hpp" #include "drake/systems/sensors/image.h" namespace drake { namespace systems { namespace sensors { namespace { const char* kColorFrameName = "color_frame_name"; const char* kDepthFrameName = ...
38.389831
73
0.729139
RobotLocomotion
bfe3422c9f0d9f28a4a0468c73ae125920403fe9
4,273
cpp
C++
Samples/Unicode/cppwinrt/Scenario1_FindId.cpp
dujianxin/Windows-universal-samples
d4e95ff0ac408c5d4d980bb18d53fb2c6556a273
[ "MIT" ]
2,504
2019-05-07T06:56:42.000Z
2022-03-31T19:37:59.000Z
Samples/Unicode/cppwinrt/Scenario1_FindId.cpp
dujianxin/Windows-universal-samples
d4e95ff0ac408c5d4d980bb18d53fb2c6556a273
[ "MIT" ]
314
2019-05-08T16:56:30.000Z
2022-03-21T07:13:45.000Z
Samples/Unicode/cppwinrt/Scenario1_FindId.cpp
dujianxin/Windows-universal-samples
d4e95ff0ac408c5d4d980bb18d53fb2c6556a273
[ "MIT" ]
2,219
2019-05-07T00:47:26.000Z
2022-03-30T21:12:31.000Z
//********************************************************* // // Copyright (c) Microsoft. All rights reserved. // This code is licensed under the MIT License (MIT). // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY // IMPLIED WARRANTIES OF FITNESS FOR A PA...
34.739837
113
0.532179
dujianxin
bfe5f2ebfb7e41ccb671ceb9f220e5057f2f4f31
9,487
cc
C++
src/sst/elements/memHierarchy/cacheArray.cc
zhangyjBU/sst-elements
d2c6725ea5fbb4dd493bf7d1a8c321aea4ff556c
[ "BSD-3-Clause" ]
2
2021-12-24T03:24:33.000Z
2022-01-11T23:03:39.000Z
src/sst/elements/memHierarchy/cacheArray.cc
zhangyjBU/sst-elements
d2c6725ea5fbb4dd493bf7d1a8c321aea4ff556c
[ "BSD-3-Clause" ]
null
null
null
src/sst/elements/memHierarchy/cacheArray.cc
zhangyjBU/sst-elements
d2c6725ea5fbb4dd493bf7d1a8c321aea4ff556c
[ "BSD-3-Clause" ]
2
2021-05-23T02:28:02.000Z
2021-09-08T13:38:46.000Z
// Copyright 2009-2018 NTESS. Under the terms // of Contract DE-NA0003525 with NTESS, the U.S. // Government retains certain rights in this software. // // Copyright (c) 2009-2018, NTESS // All rights reserved. // // Portions are copyright of other developers: // See the file CONTRIBUTORS.TXT in the top level directo...
41.427948
259
0.669969
zhangyjBU
bfe8092373db4769d07f6d063b60453bcc14305a
3,886
cpp
C++
QuoteGeneration/qpl/linux/x509.cpp
LeoneChen/SGXDataCenterAttestationPrimitives
5a94eb0085f05ed5e8738fcbce59a2d42ee6b9e6
[ "BSD-3-Clause" ]
156
2018-09-06T07:19:23.000Z
2022-03-30T19:01:40.000Z
QuoteGeneration/qpl/linux/x509.cpp
LeoneChen/SGXDataCenterAttestationPrimitives
5a94eb0085f05ed5e8738fcbce59a2d42ee6b9e6
[ "BSD-3-Clause" ]
136
2018-10-02T00:58:26.000Z
2022-03-21T08:45:25.000Z
QuoteGeneration/qpl/linux/x509.cpp
LeoneChen/SGXDataCenterAttestationPrimitives
5a94eb0085f05ed5e8738fcbce59a2d42ee6b9e6
[ "BSD-3-Clause" ]
109
2018-10-01T19:09:58.000Z
2022-03-29T13:33:51.000Z
/* * Copyright (C) 2011-2021 Intel Corporation. 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 li...
35.651376
110
0.670612
LeoneChen
bfead6a5f4cdcf2f1fa8f643c0339f40e3bb7655
3,146
cc
C++
uncores/lmac/src/core2/lmac_core_top.cc
tinochinamora/iw_imdb
89964024bee7f8eaaa25530a8d40155251345be0
[ "MIT" ]
3
2021-09-10T08:14:45.000Z
2022-02-25T04:53:12.000Z
uncores/lmac/src/core2/lmac_core_top.cc
PrincetonUniversity/ILA-Modeling-Verification
88964aad8c465c9da82f1ec66425da9f16fc8d29
[ "MIT" ]
1
2019-06-12T07:02:31.000Z
2019-06-12T07:02:31.000Z
uncores/lmac/src/core2/lmac_core_top.cc
PrincetonUniversity/ILA-Modeling-Verification
88964aad8c465c9da82f1ec66425da9f16fc8d29
[ "MIT" ]
2
2021-09-21T22:15:26.000Z
2021-10-31T11:24:43.000Z
// ============================================================================ // Instruction-Level Abstraction of LeWiz Communications Ethernet MAC // // This Instruction-Level Abstraction (ILA) description is derived based on the // LeWiz Communications Ethernet MAC (LMAC), which is licensed under GNU LGPL. // Check...
20.973333
79
0.620788
tinochinamora
bfefb2d820718c89ee8b6674b9b43b9655a2308c
12,264
hpp
C++
RubetekIOS-CPP.framework/Versions/A/Headers/libnet/svl/detail/graphics_impl.hpp
yklishevich/RubetekIOS-CPP-releases
7dfbbb45b8de7dbb6fa995ff5dcbca4ec06c2bdb
[ "MIT" ]
null
null
null
RubetekIOS-CPP.framework/Versions/A/Headers/libnet/svl/detail/graphics_impl.hpp
yklishevich/RubetekIOS-CPP-releases
7dfbbb45b8de7dbb6fa995ff5dcbca4ec06c2bdb
[ "MIT" ]
null
null
null
RubetekIOS-CPP.framework/Versions/A/Headers/libnet/svl/detail/graphics_impl.hpp
yklishevich/RubetekIOS-CPP-releases
7dfbbb45b8de7dbb6fa995ff5dcbca4ec06c2bdb
[ "MIT" ]
null
null
null
namespace svl { namespace graphics { pen::pen(color colour) : pen_( win32::create_pen(PS_SOLID, 1, win32::rgb_from_color(colour) )) {} pen::pen(color colour, unsigned width) : pen_( win32::create_pen(PS_SOLID, static_cast<int>(width), win32::rgb_from_color(colour) )) {} pen::pen(pen const& other) : pen_( ...
23.584615
124
0.595401
yklishevich
bff0487727502bcf7237bc13320e3f364972bf26
23,065
cpp
C++
sources/libcpp83gts_callback_and_action/cb_trace_files.cpp
Savraska2/GTS
78c8b4d634f1379eb3e33642716717f53bf7e1ad
[ "BSD-3-Clause" ]
61
2016-03-26T03:04:43.000Z
2021-09-17T02:11:18.000Z
sources/libcpp83gts_callback_and_action/cb_trace_files.cpp
sahwar/GTS
b25734116ea81eb0d7e2eabc8ce16cdd1c8b22dd
[ "BSD-3-Clause" ]
92
2016-04-10T23:40:22.000Z
2022-03-11T21:49:12.000Z
sources/libcpp83gts_callback_and_action/cb_trace_files.cpp
sahwar/GTS
b25734116ea81eb0d7e2eabc8ce16cdd1c8b22dd
[ "BSD-3-Clause" ]
18
2016-03-26T11:19:14.000Z
2021-08-07T00:26:02.000Z
#include <cstdio> // std::rename(-) #include <iostream> // std::cout #include <sstream> // std::ostringstream #include <iomanip> // std::setfill(-) ,std::setw(-) #include <FL/fl_ask.H> // fl_alert(-) fl_input(-) #include "pri.h" #include "ptbl_returncode.h" #include "osapi_exist.h" #ifdef _WIN32 #include "osapi_mbs_wc...
26.481056
107
0.672491
Savraska2
bff0b638a70ed3f6bb03a3738ba01db2d1f2880f
997
hpp
C++
SFND_Camera/SFND_3D_Object_Tracking/src/lidarData.hpp
KU-AIRS-SPARK/Udacity_Sensor_Fusion_Nanodegree
2c6d26bee670abe2c63034d26556f99f6d77925b
[ "MIT" ]
18
2020-11-12T07:13:57.000Z
2022-03-12T18:42:13.000Z
SFND_Camera/SFND_3D_Object_Tracking/src/lidarData.hpp
KU-AIRS-SPARK/Udacity_Sensor_Fusion_Nanodegree
2c6d26bee670abe2c63034d26556f99f6d77925b
[ "MIT" ]
null
null
null
SFND_Camera/SFND_3D_Object_Tracking/src/lidarData.hpp
KU-AIRS-SPARK/Udacity_Sensor_Fusion_Nanodegree
2c6d26bee670abe2c63034d26556f99f6d77925b
[ "MIT" ]
16
2020-09-29T05:27:32.000Z
2021-11-02T18:26:53.000Z
#ifndef lidarData_hpp #define lidarData_hpp #include <stdio.h> #include <fstream> #include <string> #include "dataStructures.h" void cropLidarPoints(std::vector<LidarPoint>& lidarPoints, float minX, float maxX, float maxY, float min...
31.15625
62
0.500502
KU-AIRS-SPARK
bff1433bcbaea411c0a0ba8d2c76fdf18190237d
4,005
hpp
C++
auxil/broker/caf/libcaf_core/caf/exec_main.hpp
hugolin615/zeek-4.0.0-ele420520-spring2021
258e9b2ee1f2a4bd45c6332a75304793b7d44d40
[ "Apache-2.0" ]
null
null
null
auxil/broker/caf/libcaf_core/caf/exec_main.hpp
hugolin615/zeek-4.0.0-ele420520-spring2021
258e9b2ee1f2a4bd45c6332a75304793b7d44d40
[ "Apache-2.0" ]
null
null
null
auxil/broker/caf/libcaf_core/caf/exec_main.hpp
hugolin615/zeek-4.0.0-ele420520-spring2021
258e9b2ee1f2a4bd45c6332a75304793b7d44d40
[ "Apache-2.0" ]
null
null
null
// This file is part of CAF, the C++ Actor Framework. See the file LICENSE in // the main distribution directory for license terms and copyright or visit // https://github.com/actor-framework/actor-framework/blob/master/LICENSE. #pragma once #include "caf/actor_system.hpp" #include "caf/actor_system_config.hpp" #incl...
34.230769
80
0.645693
hugolin615
bff2cef641dd87c9db80e8b44993ebaf81d4b10b
1,134
cc
C++
components/subresource_filter/content/browser/content_activation_list_utils.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
components/subresource_filter/content/browser/content_activation_list_utils.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
components/subresource_filter/content/browser/content_activation_list_utils.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/subresource_filter/content/browser/content_activation_list_utils.h" namespace subresource_filter { ActivationList GetListForThreatT...
35.4375
88
0.789242
metux
bff6da18a7255440fb3e7e0f1640ff19936cbfc5
2,261
cpp
C++
src/termui/terminal_mode.cpp
numerodix/bmon-cpp
fae0613776b879a33e327f9ccf1d3819383634dd
[ "MIT" ]
1
2020-07-31T01:34:47.000Z
2020-07-31T01:34:47.000Z
src/termui/terminal_mode.cpp
numerodix/bmon-cpp
fae0613776b879a33e327f9ccf1d3819383634dd
[ "MIT" ]
null
null
null
src/termui/terminal_mode.cpp
numerodix/bmon-cpp
fae0613776b879a33e327f9ccf1d3819383634dd
[ "MIT" ]
null
null
null
#include <stdexcept> #include <unistd.h> #include "except.hpp" #include "signals.hpp" #include "terminal_mode.hpp" namespace bandwit { namespace termui { void TerminalModeSetter::set() { SignalGuard guard{signal_suspender_}; struct termios tm {}; if (tcgetattr(STDIN_FILENO, &tm) < 0) { THROW_CE...
28.2625
78
0.637771
numerodix
bffaab10eb745e8831e5ff7e1563d01e08fe9cb4
621
cpp
C++
test/structure_size.cpp
vhapiak/meta_info_lib
677984960028c6ef0f2b462c2f6ae8ac7fc714ea
[ "MIT" ]
null
null
null
test/structure_size.cpp
vhapiak/meta_info_lib
677984960028c6ef0f2b462c2f6ae8ac7fc714ea
[ "MIT" ]
null
null
null
test/structure_size.cpp
vhapiak/meta_info_lib
677984960028c6ef0f2b462c2f6ae8ac7fc714ea
[ "MIT" ]
null
null
null
#include <gtest/gtest.h> #include "mil/mil.hpp" struct normal { int i; double d; }; struct extended { MIL_BEGIN(extended); MIL_DEFINE_FIELD(int, i); MIL_DEFINE_FIELD(double, d); MIL_END; }; TEST(structure_size, size) { EXPECT_EQ(sizeof(normal), sizeof(extended)); } struct inheritance : ...
18.264706
79
0.703704
vhapiak
bffacdaf4dea29404257dc0634564d66f6bdef6a
7,011
cpp
C++
src/thunder/plugins/ctrlm_thunder_plugin_cec_sink.cpp
rdkcmf/rdk-control
8aec8a571abb7eb104c3ac8f788af16cda57aea8
[ "Apache-2.0" ]
null
null
null
src/thunder/plugins/ctrlm_thunder_plugin_cec_sink.cpp
rdkcmf/rdk-control
8aec8a571abb7eb104c3ac8f788af16cda57aea8
[ "Apache-2.0" ]
null
null
null
src/thunder/plugins/ctrlm_thunder_plugin_cec_sink.cpp
rdkcmf/rdk-control
8aec8a571abb7eb104c3ac8f788af16cda57aea8
[ "Apache-2.0" ]
1
2021-04-27T11:11:30.000Z
2021-04-27T11:11:30.000Z
/* * If not stated otherwise in this file or this component's license file the * following copyright and licenses apply: * * Copyright 2015 RDK Management * * 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 cop...
39.610169
134
0.651405
rdkcmf
bffbe676ba7bd90706842145f2446d111a05d93e
1,631
cpp
C++
leetcode/331_Verify_Preorder_Serialization_of_a_Binary_Tree.cpp
longztian/cpp
59203f41162f40a46badf69093d287250e5cbab6
[ "MIT" ]
null
null
null
leetcode/331_Verify_Preorder_Serialization_of_a_Binary_Tree.cpp
longztian/cpp
59203f41162f40a46badf69093d287250e5cbab6
[ "MIT" ]
null
null
null
leetcode/331_Verify_Preorder_Serialization_of_a_Binary_Tree.cpp
longztian/cpp
59203f41162f40a46badf69093d287250e5cbab6
[ "MIT" ]
null
null
null
class Solution { public: bool isValidSerialization(string preorder) { if (preorder.size() < 5) return preorder == "#"; stack<pair<bool, bool>> validNodes; validNodes.push({true, false}); // dummy root with a dummy left child auto pb = preorder.data(), pe = pb; const auto P...
28.12069
98
0.486205
longztian
bffc306886feb649c5b00d30488295f23445dbd8
124
cpp
C++
epyks.cpp
whyamiroot/epyks
45d5cde06f60110a3b3b78c189d5aeb634345593
[ "MIT" ]
null
null
null
epyks.cpp
whyamiroot/epyks
45d5cde06f60110a3b3b78c189d5aeb634345593
[ "MIT" ]
null
null
null
epyks.cpp
whyamiroot/epyks
45d5cde06f60110a3b3b78c189d5aeb634345593
[ "MIT" ]
null
null
null
#include "epyks.h" void encode(unsigned char* data, size_t size) { } void decode(unsigned char* data, size_t size) { }
9.538462
45
0.685484
whyamiroot
bffcd0200f3dac5ae40993af272d51ab7cf0e285
1,312
cc
C++
video-player/src/log.cc
deets/brombeerquark
9314bc6adaf19ee3868612c8aafdce0f1ebbabb9
[ "MIT" ]
null
null
null
video-player/src/log.cc
deets/brombeerquark
9314bc6adaf19ee3868612c8aafdce0f1ebbabb9
[ "MIT" ]
null
null
null
video-player/src/log.cc
deets/brombeerquark
9314bc6adaf19ee3868612c8aafdce0f1ebbabb9
[ "MIT" ]
null
null
null
#include "log.hh" #include <boost/core/null_deleter.hpp> #include <boost/date_time/posix_time/posix_time_types.hpp> #include <boost/log/core.hpp> #include <boost/log/expressions.hpp> #include <boost/log/expressions.hpp> #include <boost/log/sinks.hpp> #include <boost/log/support/date_time.hpp> #include <boost/log/trivi...
28.521739
90
0.698933
deets
8702c58828fa6e51c4e597bc73fe69ad9ef46af8
3,593
hpp
C++
external_libraries/amgcl/solver/eigen.hpp
lkusch/Kratos
e8072d8e24ab6f312765185b19d439f01ab7b27b
[ "BSD-4-Clause" ]
778
2017-01-27T16:29:17.000Z
2022-03-30T03:01:51.000Z
external_libraries/amgcl/solver/eigen.hpp
lkusch/Kratos
e8072d8e24ab6f312765185b19d439f01ab7b27b
[ "BSD-4-Clause" ]
6,634
2017-01-15T22:56:13.000Z
2022-03-31T15:03:36.000Z
external_libraries/amgcl/solver/eigen.hpp
lkusch/Kratos
e8072d8e24ab6f312765185b19d439f01ab7b27b
[ "BSD-4-Clause" ]
224
2017-02-07T14:12:49.000Z
2022-03-06T23:09:34.000Z
#ifndef AMGCL_SOLVER_EIGEN_HPP #define AMGCL_SOLVER_EIGEN_HPP /* The MIT License Copyright (c) 2012-2020 Denis Demidov <dennis.demidov@gmail.com> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software ...
32.963303
90
0.60757
lkusch
87052cacedf3f9923dfa0202beb08fdb352c21ba
598
cpp
C++
BorisEngine2/DigitSprite.cpp
Rariolu/BorisEngine2
d98d348a85a91ed09a8e1e48dc06b26f20b6f8f7
[ "MIT" ]
1
2019-11-16T13:23:03.000Z
2019-11-16T13:23:03.000Z
BorisEngine2/DigitSprite.cpp
chocorho/BorisEngine2
d98d348a85a91ed09a8e1e48dc06b26f20b6f8f7
[ "MIT" ]
2
2021-05-24T23:21:49.000Z
2021-05-26T20:41:03.000Z
BorisEngine2/DigitSprite.cpp
chocorho/BorisEngine2
d98d348a85a91ed09a8e1e48dc06b26f20b6f8f7
[ "MIT" ]
1
2021-05-24T22:52:31.000Z
2021-05-24T22:52:31.000Z
#include "DigitSprite.h" DigitSprite::DigitSprite(Font* font) : Sprite(texturemanager->AddTexture("digitSprite_0",font->CreateTextTexture("0",SOLID))) { digitFont = font; } DigitSprite::~DigitSprite() { } int DigitSprite::GetDisplayNumber() { return displayNumber; } void DigitSprite::SetDisplayNumber(int num) { ...
19.290323
125
0.712375
Rariolu
87061140c4d88ae47bd8c416a8209f37492bb54e
4,000
hpp
C++
components/scream/src/share/field/field_header.hpp
ashlynrlee/scream
3d58c32340058368bee0cb2b02457c4723fb18db
[ "FTL", "zlib-acknowledgement", "RSA-MD" ]
null
null
null
components/scream/src/share/field/field_header.hpp
ashlynrlee/scream
3d58c32340058368bee0cb2b02457c4723fb18db
[ "FTL", "zlib-acknowledgement", "RSA-MD" ]
null
null
null
components/scream/src/share/field/field_header.hpp
ashlynrlee/scream
3d58c32340058368bee0cb2b02457c4723fb18db
[ "FTL", "zlib-acknowledgement", "RSA-MD" ]
null
null
null
#ifndef SCREAM_FIELD_HEADER_HPP #define SCREAM_FIELD_HEADER_HPP #include "share/field/field_identifier.hpp" #include "share/field/field_tracking.hpp" #include "share/field/field_alloc_prop.hpp" #include "share/scream_types.hpp" #include "share/util/scream_time_stamp.hpp" #include "ekat/std_meta/ekat_std_any.hpp" #inc...
32.786885
88
0.706
ashlynrlee
87078da0692935a4d1f393f17499b89674a80efb
29,477
cpp
C++
gmm-dpct/gaussian_kernel.dp.cpp
jchlanda/oneAPI-DirectProgramming
82a1be635f89b4b2a83e36965a60b19fd71e46b2
[ "BSD-3-Clause" ]
null
null
null
gmm-dpct/gaussian_kernel.dp.cpp
jchlanda/oneAPI-DirectProgramming
82a1be635f89b4b2a83e36965a60b19fd71e46b2
[ "BSD-3-Clause" ]
null
null
null
gmm-dpct/gaussian_kernel.dp.cpp
jchlanda/oneAPI-DirectProgramming
82a1be635f89b4b2a83e36965a60b19fd71e46b2
[ "BSD-3-Clause" ]
null
null
null
/* * CUDA Kernels for Expectation Maximization with Gaussian Mixture Models * * Author: Andrew Pangborn * * Department of Computer Engineering * Rochester Institute of Technology */ #ifndef _TEMPLATE_KERNEL_H_ #define _TEMPLATE_KERNEL_H_ #include <CL/sycl.hpp> #include <dpct/dpct.hpp> #include "gaussian.h" ...
35.217443
129
0.585982
jchlanda
87081461e53cd42fa90373d68e2886e31cb176fb
1,964
cpp
C++
ddynamic_reconfigure/test/dd_param/test_dd_double.cpp
manomitbal/realsense-ros
35a6f59fdfef460bc1e9f225e1a15547e2934175
[ "Apache-2.0" ]
45
2020-03-13T00:00:36.000Z
2021-12-14T14:12:12.000Z
ddynamic_reconfigure/test/dd_param/test_dd_double.cpp
manomitbal/realsense-ros
35a6f59fdfef460bc1e9f225e1a15547e2934175
[ "Apache-2.0" ]
4
2021-06-08T22:12:54.000Z
2022-03-12T00:44:32.000Z
ddynamic_reconfigure/test/dd_param/test_dd_double.cpp
manomitbal/realsense-ros
35a6f59fdfef460bc1e9f225e1a15547e2934175
[ "Apache-2.0" ]
7
2020-03-06T05:10:41.000Z
2021-12-14T04:38:00.000Z
#include <ros/ros.h> #include <gtest/gtest.h> #include <ddynamic_reconfigure/param/dd_double_param.h> namespace ddynamic_reconfigure { /** * @brief preliminary test which makes sure we can use the object. */ TEST(DDDoubleTest, constructorTest) { // NOLINT(cert-err58-cpp,modernize-use-equals-delete) ...
32.196721
117
0.625255
manomitbal