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
0ae3566797052983a5ba26c350bd3ffb063f8176
279
cpp
C++
Part I The Basics/4. Computation/Try This/Try This 4.cpp
furkanicer/Programming-Principles-and-Practice-Using-Cpp-
25f7228892e73684e1d558eaf0ff2a222d48f614
[ "MIT" ]
1
2019-03-06T21:04:57.000Z
2019-03-06T21:04:57.000Z
Part I The Basics/4. Computation/Try This/Try This 4.cpp
furkanicer/Programming-Principles-and-Practice-Using-Cpp-
25f7228892e73684e1d558eaf0ff2a222d48f614
[ "MIT" ]
null
null
null
Part I The Basics/4. Computation/Try This/Try This 4.cpp
furkanicer/Programming-Principles-and-Practice-Using-Cpp-
25f7228892e73684e1d558eaf0ff2a222d48f614
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; char start_chr = 'a'; int main() { for (int i = 0; i <= 25; ++i) { char next_chr = char(start_chr + i); int chr_integer_val = next_chr; cout << next_chr << " " << chr_integer_val << endl; } system("pause"); return 0; }
15.5
53
0.594982
furkanicer
0aede465bca872786d2ef4b0d72989ac83539202
1,269
cpp
C++
perception_oru-port-kinetic/graph_localisation/test/test_localisation.cpp
lllray/ndt-loam
331867941e0764b40e1a980dd85d2174f861e9c8
[ "BSD-3-Clause" ]
1
2020-11-14T08:21:13.000Z
2020-11-14T08:21:13.000Z
perception_oru-port-kinetic/graph_localisation/test/test_localisation.cpp
lllray/ndt-loam
331867941e0764b40e1a980dd85d2174f861e9c8
[ "BSD-3-Clause" ]
1
2021-07-28T04:47:56.000Z
2021-07-28T04:47:56.000Z
perception_oru-port-kinetic/graph_localisation/test/test_localisation.cpp
lllray/ndt-loam
331867941e0764b40e1a980dd85d2174f861e9c8
[ "BSD-3-Clause" ]
2
2020-12-18T11:25:53.000Z
2022-02-19T12:59:59.000Z
#include <ros/ros.h> #include <rosbag/bag.h> #include <rosbag/view.h> #include <ndt_map/ndt_conversions.h> #include "ndt_generic/utils.h" #include <pcl_conversions/pcl_conversions.h> #include "pcl/point_cloud.h" #include <Eigen/Eigen> #include "eigen_conversions/eigen_msg.h" #include <tf_conversions/tf_eigen.h> #in...
22.263158
59
0.762017
lllray
0af01558e39295fd9d1ed65e2e587f368ab10ef7
1,114
cpp
C++
src/bolson/buffer/allocator.cpp
johanpel/bolson
2855cf7e371a968a7add4da0b4c2e6abe8bc0f4c
[ "Apache-2.0" ]
2
2021-12-08T22:18:53.000Z
2022-01-24T21:51:38.000Z
src/bolson/buffer/allocator.cpp
johanpel/bolson
2855cf7e371a968a7add4da0b4c2e6abe8bc0f4c
[ "Apache-2.0" ]
7
2021-03-03T13:31:16.000Z
2021-06-10T17:23:58.000Z
src/bolson/buffer/allocator.cpp
johanpel/bolson
2855cf7e371a968a7add4da0b4c2e6abe8bc0f4c
[ "Apache-2.0" ]
3
2021-03-09T13:32:38.000Z
2021-12-08T22:18:40.000Z
// Copyright 2020 Teratide B.V. // // 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 i...
30.108108
76
0.693896
johanpel
0af285f0a055721170b1561e3c47e713fde13cc0
2,017
hpp
C++
Tools/DevFrameWork/x/addons/rmx_init/CfgGUI/gui_dependencies.hpp
Schalldampfer/Epoch
9c222bb556c704e4640daba6a5195e2e55df36e1
[ "Naumen", "Condor-1.1", "MS-PL" ]
1
2018-07-05T22:14:29.000Z
2018-07-05T22:14:29.000Z
Tools/DevFrameWork/x/addons/rmx_init/CfgGUI/gui_dependencies.hpp
Schalldampfer/Epoch
9c222bb556c704e4640daba6a5195e2e55df36e1
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
Tools/DevFrameWork/x/addons/rmx_init/CfgGUI/gui_dependencies.hpp
Schalldampfer/Epoch
9c222bb556c704e4640daba6a5195e2e55df36e1
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
class RscPicture; class RscButton; class RscProgress; class RscCombo; class RscListBox; class ScrollBar; class HScrollbar; class VScrollbar; class RscText; class RscStructuredText; class RscShortcutButton; class RscIGUIShortcutButton; class RscGearShortcutButton; class IGUIBack; class CA_Title; class RscControlsGroup; ...
19.394231
87
0.655925
Schalldampfer
0af4600deb920f3a7777ea7316095571e39fdc7e
936
cpp
C++
codeforces/contests/educational/88-div2/c.cpp
tysm/cpsols
262212646203e516d1706edf962290de93762611
[ "MIT" ]
4
2020-10-05T19:24:10.000Z
2021-07-15T00:45:43.000Z
codeforces/contests/educational/88-div2/c.cpp
tysm/cpsols
262212646203e516d1706edf962290de93762611
[ "MIT" ]
null
null
null
codeforces/contests/educational/88-div2/c.cpp
tysm/cpsols
262212646203e516d1706edf962290de93762611
[ "MIT" ]
null
null
null
#include <cpplib/stdinc.hpp> double compute(double x, int a, int b){ return (a*x + b*(x-1))/(2*x-1); } int32_t main(){ desync(); int n; cin >> n; while(n--){ int h, c, t; cin >> h >> c >> t; if(2*t <= h+c){ cout << 2 << endl; continue; } ...
26
80
0.404915
tysm
0afb17e61248cde02d7aa5ef9d53c4100de55453
557
cpp
C++
Lab 12/Part 2/Account.cpp
quizque/GENG2340-Questions
0bfe862c9a126dcb9f0ec4082893e3be7673d213
[ "Unlicense" ]
null
null
null
Lab 12/Part 2/Account.cpp
quizque/GENG2340-Questions
0bfe862c9a126dcb9f0ec4082893e3be7673d213
[ "Unlicense" ]
null
null
null
Lab 12/Part 2/Account.cpp
quizque/GENG2340-Questions
0bfe862c9a126dcb9f0ec4082893e3be7673d213
[ "Unlicense" ]
null
null
null
/* #include "Account.h" #include <iostream> Account::Account(double balance) : m_balance(balance) { if (m_balance < 0) { std::cout << "[ERROR] Invalid balance, defaulting to zero." << std::endl; m_balance = 0; } } void Account::credit(double amount) { m_balance += amount; } bool Account::debt(double amoun...
13.925
77
0.64991
quizque
0afb3e1503c4cc5e90f6cada1ca5804638bde473
15,760
cpp
C++
tests/basic_tests/QueryValidatorTests.cpp
graphqlcpp-team/graphqlcpp
1f589b6dafe681b72959fa03c4ffebe8df5af11d
[ "MIT" ]
7
2019-05-06T19:22:01.000Z
2022-01-16T20:04:15.000Z
tests/basic_tests/QueryValidatorTests.cpp
graphqlcpp-team/graphqlcpp
1f589b6dafe681b72959fa03c4ffebe8df5af11d
[ "MIT" ]
null
null
null
tests/basic_tests/QueryValidatorTests.cpp
graphqlcpp-team/graphqlcpp
1f589b6dafe681b72959fa03c4ffebe8df5af11d
[ "MIT" ]
null
null
null
#include"gtest/gtest.h" #include <cstdlib> #include <fstream> #include <sstream> #include <iostream> #include "../../include/graphqlparser/Ast.h" #include "../../src/graphqlparser/GraphQLParser.h" #include "../../src/graphqlparser/c/GraphQLAstToJSON.h" #include "../../include/graphqlcpp/validators/QueryValidator.h" #in...
39.697733
173
0.712627
graphqlcpp-team
0afd5e5d8cdf75ce8a4a76a9c230d08c0f7ce8f0
6,140
hh
C++
neb/inc/com/centreon/engine/checks.hh
joe4568/centreon-broker
daf454371520989573c810be1f6dfca40979a75d
[ "Apache-2.0" ]
null
null
null
neb/inc/com/centreon/engine/checks.hh
joe4568/centreon-broker
daf454371520989573c810be1f6dfca40979a75d
[ "Apache-2.0" ]
null
null
null
neb/inc/com/centreon/engine/checks.hh
joe4568/centreon-broker
daf454371520989573c810be1f6dfca40979a75d
[ "Apache-2.0" ]
null
null
null
/* ** Copyright 2002-2006 Ethan Galstad ** Copyright 2011-2013 Merethis ** ** This file is part of Centreon Engine. ** ** Centreon Engine is free software: you can redistribute it and/or ** modify it under the terms of the GNU General Public License version 2 ** as published by the Free Software Foundation. ** ** Centr...
31.979167
99
0.661401
joe4568
0affccf6901a313eabe7f89199b5e182d0243f5f
3,120
cpp
C++
tests/unit/components/vector_transform_reduce.cpp
Titzi90/hpx
150fb0de1cfe40c26a722918097199147957b45c
[ "BSL-1.0" ]
null
null
null
tests/unit/components/vector_transform_reduce.cpp
Titzi90/hpx
150fb0de1cfe40c26a722918097199147957b45c
[ "BSL-1.0" ]
null
null
null
tests/unit/components/vector_transform_reduce.cpp
Titzi90/hpx
150fb0de1cfe40c26a722918097199147957b45c
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2014 Hartmut Kaiser // // 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) #define HPX_LIMIT 7 #include <hpx/hpx_main.hpp> #include <hpx/components/vector/vector.hpp> #include <hpx/util/lightweight...
28.623853
80
0.599038
Titzi90
e40518a2593687389db1b904f34a2e6a2b2b4bcd
1,206
cpp
C++
Effective Debugging: 66 Specific Ways to Debug Software and Systems/src/git/GitMerge.cpp
juliagoda/BookProjects
d2c2da993cc9fcbfead696b78d3bf98c66e3373c
[ "Unlicense" ]
null
null
null
Effective Debugging: 66 Specific Ways to Debug Software and Systems/src/git/GitMerge.cpp
juliagoda/BookProjects
d2c2da993cc9fcbfead696b78d3bf98c66e3373c
[ "Unlicense" ]
null
null
null
Effective Debugging: 66 Specific Ways to Debug Software and Systems/src/git/GitMerge.cpp
juliagoda/BookProjects
d2c2da993cc9fcbfead696b78d3bf98c66e3373c
[ "Unlicense" ]
null
null
null
#include "GitMerge.h" #include <GitBase.h> #include <GitRepoLoader.h> #include <QLogger.h> using namespace QLogger; GitMerge::GitMerge(const QSharedPointer<GitBase> &gitBase, QSharedPointer<GitCache> cache) : mGitBase(gitBase) , mCache(cache) { } GitExecResult GitMerge::merge(const QString &into, QStringList...
20.440678
101
0.681592
juliagoda
e408bf57c5779613f58c408e51befb124247af67
1,074
cpp
C++
gbe/Joypad.cpp
malandrin/gbe
51822b0723cfdcf42b061862a83c814be553ba16
[ "MIT" ]
2
2016-02-17T14:24:11.000Z
2019-12-05T12:36:29.000Z
gbe/Joypad.cpp
malandrin/gbe
51822b0723cfdcf42b061862a83c814be553ba16
[ "MIT" ]
null
null
null
gbe/Joypad.cpp
malandrin/gbe
51822b0723cfdcf42b061862a83c814be553ba16
[ "MIT" ]
1
2020-05-18T05:08:47.000Z
2020-05-18T05:08:47.000Z
#include "base.h" #include "defines.h" #include "joypad.h" //-------------------------------------------- // -- //-------------------------------------------- Joypad::Joypad(CPU &_cpu, MMU &_mmu) : mCpu(_cpu), mMmu(_mmu) { _mmu.AddListener(this); } //-------------------------------------------- // -- //---------...
22.851064
65
0.370577
malandrin
e40f4773909c316c02ecd60b2f8546299d0120f3
34,730
hh
C++
graph-tool-2.27/src/graph/generation/graph_rewiring.hh
Znigneering/CSCI-3154
bc318efc73d2a80025b98f5b3e4f7e4819e952e4
[ "MIT" ]
null
null
null
graph-tool-2.27/src/graph/generation/graph_rewiring.hh
Znigneering/CSCI-3154
bc318efc73d2a80025b98f5b3e4f7e4819e952e4
[ "MIT" ]
null
null
null
graph-tool-2.27/src/graph/generation/graph_rewiring.hh
Znigneering/CSCI-3154
bc318efc73d2a80025b98f5b3e4f7e4819e952e4
[ "MIT" ]
null
null
null
// graph-tool -- a general graph modification and manipulation thingy // // Copyright (C) 2006-2018 Tiago de Paula Peixoto <tiago@skewed.de> // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License // as published by the Free Software Foundation;...
32.097967
97
0.55537
Znigneering
e40f85446f606264fea4663e18029342b995f3b1
1,021
cpp
C++
EMFExplorer/SubEMFFrame.cpp
wingkinl/EMFExplorer
581b59e6be23f303a0d3700c3e50948f32eadb95
[ "MIT" ]
3
2021-11-11T08:36:39.000Z
2022-03-27T03:49:43.000Z
EMFExplorer/SubEMFFrame.cpp
wingkinl/EMFExplorer
581b59e6be23f303a0d3700c3e50948f32eadb95
[ "MIT" ]
1
2022-03-27T03:58:21.000Z
2022-03-27T03:58:21.000Z
EMFExplorer/SubEMFFrame.cpp
wingkinl/EMFExplorer
581b59e6be23f303a0d3700c3e50948f32eadb95
[ "MIT" ]
null
null
null
#include "pch.h" #include "framework.h" #include "EMFExplorer.h" #include "SubEMFFrame.h" #include "EMFExplorerView.h" IMPLEMENT_DYNCREATE(CSubEMFFrame, CSubEMFFrameBase) BEGIN_MESSAGE_MAP(CSubEMFFrame, CSubEMFFrameBase) ON_UPDATE_COMMAND_UI(ID_FILE_MRU_FILE1, &CSubEMFFrame::OnUpdateDisableCommand) ON_UPDATE_COM...
25.525
80
0.781587
wingkinl
e411480ff4a3643322e96d5dcaef878ce0bfd1e0
746
cpp
C++
source/Ch10-11/chapter/single002.cpp
saraporcsin/UDProg-Introduction
47709fef6dd1063b4cc794a38d2f45d4234fa590
[ "CC0-1.0" ]
3
2021-11-02T08:30:53.000Z
2022-02-28T07:32:25.000Z
source/Ch10-11/chapter/single002.cpp
saraporcsin/UDProg-Introduction
47709fef6dd1063b4cc794a38d2f45d4234fa590
[ "CC0-1.0" ]
1
2020-11-10T15:58:17.000Z
2020-11-10T15:58:17.000Z
source/Ch10-11/chapter/single002.cpp
saraporcsin/UDProg-Introduction
47709fef6dd1063b4cc794a38d2f45d4234fa590
[ "CC0-1.0" ]
122
2020-09-12T08:29:45.000Z
2022-03-04T10:22:46.000Z
#include "../../std_lib_facilities.h" int main() try { cout << "Please enter an integer in the range 1 to 10 (inclusive):\n"; int n = 0; while (true) { cin >> n; if (cin) { if (1 <= n && n <= 10) break; cout << "Sorry " << n << " is not in the [1:10] range; please try again!\n"; } else if (cin.fai...
18.65
79
0.518767
saraporcsin
e411e822a579f61068a4df262c31e2aeb5facd4c
1,598
cpp
C++
NativeInfrastructure/HiddenApiHelper.cpp
grork/StoryvoidWWA
0456df5fc968cfa97942e629543299f758e88da6
[ "MIT" ]
1
2021-09-23T16:33:55.000Z
2021-09-23T16:33:55.000Z
NativeInfrastructure/HiddenApiHelper.cpp
grork/StoryvoidWWA
0456df5fc968cfa97942e629543299f758e88da6
[ "MIT" ]
null
null
null
NativeInfrastructure/HiddenApiHelper.cpp
grork/StoryvoidWWA
0456df5fc968cfa97942e629543299f758e88da6
[ "MIT" ]
null
null
null
#include "pch.h" #include <PathCch.h> #include "HiddenApiHelper.h" using namespace Codevoid::Utilities; using namespace Windows::ApplicationModel::Core; using namespace Windows::Foundation; void HiddenApiHelper::ExtendIntoTitleBar() { CoreApplication::GetCurrentView()->TitleBar->ExtendViewIntoTitleBar = true; } ...
28.035088
154
0.763454
grork
e4149310fef542e5c43228fe05319fbb835dbb78
2,892
hpp
C++
src/include/functionals/functionalRegression.hpp
elinjammal/opensmile
0ae2da44e61744ff1aaa9bae2b95d747febb08de
[ "W3C" ]
245
2020-10-24T16:27:13.000Z
2022-03-31T03:01:11.000Z
src/include/functionals/functionalRegression.hpp
elinjammal/opensmile
0ae2da44e61744ff1aaa9bae2b95d747febb08de
[ "W3C" ]
41
2021-01-13T11:30:42.000Z
2022-01-14T14:36:11.000Z
src/include/functionals/functionalRegression.hpp
elinjammal/opensmile
0ae2da44e61744ff1aaa9bae2b95d747febb08de
[ "W3C" ]
43
2020-12-11T15:28:19.000Z
2022-03-20T11:55:58.000Z
/*F*************************************************************************** * This file is part of openSMILE. * * Copyright (c) audEERING GmbH. All rights reserved. * See the file COPYING for details on license terms. ***************************************************************************E*/ /* openSMIL...
33.241379
376
0.675657
elinjammal
e417643e39fe8befaaffe531515d927e86d5e007
651
cpp
C++
Lab_1/insertrowcommand.cpp
AlK2x/ComputerGraphicsLabs
655847c776e1f885cf252187e7d6d9280afc6cca
[ "MIT" ]
null
null
null
Lab_1/insertrowcommand.cpp
AlK2x/ComputerGraphicsLabs
655847c776e1f885cf252187e7d6d9280afc6cca
[ "MIT" ]
1
2015-10-26T09:18:08.000Z
2015-10-26T09:18:08.000Z
Lab_1/insertrowcommand.cpp
AlK2x/ComputerGraphicsLabs
655847c776e1f885cf252187e7d6d9280afc6cca
[ "MIT" ]
null
null
null
#include "insertrowcommand.h" InsertRowCommand::InsertRowCommand(StatsTableModel &tableModel, QString text, int value, QUndoCommand *parent) :QUndoCommand(parent), m_text(text), m_value(value), m_tableModel(tableModel) { } void InsertRowCommand::redo() { auto model = m_tableModel.statsModel(); model.appe...
24.111111
110
0.701997
AlK2x
e420f7281ee12ad2daae3fb672e3fb90838002ba
471
cpp
C++
src/single.cpp
Abdsaddik/Hotel-Reservation-System
f376a7134de634b4912c5bd5bc00dcf655c40cd8
[ "MIT" ]
null
null
null
src/single.cpp
Abdsaddik/Hotel-Reservation-System
f376a7134de634b4912c5bd5bc00dcf655c40cd8
[ "MIT" ]
null
null
null
src/single.cpp
Abdsaddik/Hotel-Reservation-System
f376a7134de634b4912c5bd5bc00dcf655c40cd8
[ "MIT" ]
null
null
null
#include "single.hpp" double Single::price = 49.00; Single::Single(Date date, Customer* customer, Room* room, bool garage, Order* order) : Accomodation{ date, customer, room, garage, order } { } double Single::get_price() const { return (priceForParking() > 0) ? (price + Accomo...
19.625
88
0.602972
Abdsaddik
e422300f38ab4abe2f80096bf328d4d00c06cad0
139
cpp
C++
00. Basic Program/Area of Triangle.cpp
ManthanUgemuge/Deep-Dive-in-CPP-Abdul-Bari
36aacdca116628264724cc2624d64fcb1e0c1148
[ "MIT" ]
1
2022-02-15T21:11:42.000Z
2022-02-15T21:11:42.000Z
00. Basic Program/Area of Triangle.cpp
ManthanUgemuge/Deep-Dive-in-CPP-Abdul-Bari
36aacdca116628264724cc2624d64fcb1e0c1148
[ "MIT" ]
null
null
null
00. Basic Program/Area of Triangle.cpp
ManthanUgemuge/Deep-Dive-in-CPP-Abdul-Bari
36aacdca116628264724cc2624d64fcb1e0c1148
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; void area() { int b=7,h=5; float area; area=(float)b*h/2; cout<<area; }
9.928571
22
0.546763
ManthanUgemuge
e42281e1a22bee747e0b4da542e889ce50448b06
3,102
cpp
C++
IfcPlusPlus/src/ifcpp/IFC4/lib/IfcPointOnCurve.cpp
promethe42/ifcplusplus
1c8b51b1f870f0107538dbea5eaa2755c81f5dca
[ "MIT" ]
null
null
null
IfcPlusPlus/src/ifcpp/IFC4/lib/IfcPointOnCurve.cpp
promethe42/ifcplusplus
1c8b51b1f870f0107538dbea5eaa2755c81f5dca
[ "MIT" ]
null
null
null
IfcPlusPlus/src/ifcpp/IFC4/lib/IfcPointOnCurve.cpp
promethe42/ifcplusplus
1c8b51b1f870f0107538dbea5eaa2755c81f5dca
[ "MIT" ]
null
null
null
/* Code generated by IfcQuery EXPRESS generator, www.ifcquery.com */ #include <sstream> #include <limits> #include "ifcpp/model/AttributeObject.h" #include "ifcpp/model/BuildingException.h" #include "ifcpp/model/BuildingGuid.h" #include "ifcpp/reader/ReaderUtil.h" #include "ifcpp/writer/WriterUtil.h" #include...
50.032258
233
0.743391
promethe42
e4257be1c294c5d0f5980506870e3157a66a8374
53
hpp
C++
src/boost_asio_ip_basic_resolver_iterator.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_asio_ip_basic_resolver_iterator.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_asio_ip_basic_resolver_iterator.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/asio/ip/basic_resolver_iterator.hpp>
26.5
52
0.830189
miathedev
e4283c7113d7b3ae67472c2f7b82aa26c1d0eb45
164
cpp
C++
SimpleEngine/Simulation/WorldObjectStateTree.cpp
RichardBangs/SimpleEngine
a4acdf11d05e018db5a55994291475df55856c0c
[ "MIT" ]
null
null
null
SimpleEngine/Simulation/WorldObjectStateTree.cpp
RichardBangs/SimpleEngine
a4acdf11d05e018db5a55994291475df55856c0c
[ "MIT" ]
null
null
null
SimpleEngine/Simulation/WorldObjectStateTree.cpp
RichardBangs/SimpleEngine
a4acdf11d05e018db5a55994291475df55856c0c
[ "MIT" ]
null
null
null
#include "WorldObjectStateTree.h" namespace Simulation { WorldObjectStateTree::WorldObjectStateTree(int id, int x, int y) : WorldObjectState( id, x, y ) { } }
18.222222
65
0.731707
RichardBangs
e42d4134978a42019eca46a4b5c326f2724c419c
1,762
cpp
C++
src/OpenSidescan/ui/inventory/inventoryobjectmenu.cpp
JordanMcManus/OpenSidescan
c14cd58a90d48d0f3a14b9c1381bdc5692662d98
[ "MIT" ]
8
2020-11-01T19:00:07.000Z
2021-12-09T20:12:16.000Z
src/OpenSidescan/ui/inventory/inventoryobjectmenu.cpp
JordanMcManus/OpenSidescan
c14cd58a90d48d0f3a14b9c1381bdc5692662d98
[ "MIT" ]
68
2019-08-20T17:38:58.000Z
2021-12-09T17:43:29.000Z
src/OpenSidescan/ui/inventory/inventoryobjectmenu.cpp
JordanMcManus/OpenSidescan
c14cd58a90d48d0f3a14b9c1381bdc5692662d98
[ "MIT" ]
18
2019-08-15T14:15:35.000Z
2022-03-22T08:25:03.000Z
#include "inventoryobjectmenu.h" #include "inventoryobjectwindow.h" #include <QMessageBox> InventoryObjectMenu::InventoryObjectMenu(InventoryObject * obj) : object(obj) { initUI(); } InventoryObjectMenu::~InventoryObjectMenu(){ } void InventoryObjectMenu::initUI(){ this->setTitle(tr("Object Menu")); Q...
28.419355
117
0.657775
JordanMcManus
e4311320d17f9ec5273fea89112ef662c659063c
6,952
hpp
C++
include/cinder/framegraph/FullScreenQuadRenderer.hpp
heisters/Cinder-OCIO
3bbc145cceddc489a53f6ebcb3e7e851068d1a93
[ "Unlicense" ]
16
2017-09-09T06:04:47.000Z
2022-03-08T02:09:58.000Z
include/cinder/framegraph/FullScreenQuadRenderer.hpp
heisters/Cinder-OCIO
3bbc145cceddc489a53f6ebcb3e7e851068d1a93
[ "Unlicense" ]
null
null
null
include/cinder/framegraph/FullScreenQuadRenderer.hpp
heisters/Cinder-OCIO
3bbc145cceddc489a53f6ebcb3e7e851068d1a93
[ "Unlicense" ]
1
2018-05-21T10:57:38.000Z
2018-05-21T10:57:38.000Z
#pragma once #include "cinder/gl/Texture.h" #include "cinder/gl/Fbo.h" #include "cinder/gl/GlslProg.h" #include "cinder/gl/Batch.h" #include "cinder/GeomIo.h" #include "cinder/gl/gl.h" #include "cinder/FileWatcher.h" #include "cinder/app/App.h" #include "cinder/Log.h" namespace cinder { namespace frame_graph { templ...
33.263158
128
0.52244
heisters
e432bfee6a1d5cec6b933b4c713be64d25c4defd
22,667
cpp
C++
src/cache/experiments/cache_experiments.cpp
EmanuelHerrendorf/mapping-core
d28d85547e8ed08df37dad1da142594d3f07a366
[ "MIT" ]
null
null
null
src/cache/experiments/cache_experiments.cpp
EmanuelHerrendorf/mapping-core
d28d85547e8ed08df37dad1da142594d3f07a366
[ "MIT" ]
10
2018-03-02T13:58:32.000Z
2020-06-05T11:12:42.000Z
src/cache/experiments/cache_experiments.cpp
EmanuelHerrendorf/mapping-core
d28d85547e8ed08df37dad1da142594d3f07a366
[ "MIT" ]
3
2018-02-26T14:01:43.000Z
2019-12-09T10:03:17.000Z
/* * cache_experiment.cpp * * Created on: 14.01.2016 * Author: mika */ #include "cache/experiments/cache_experiments.h" #include "util/gdal.h" #include <random> //////////////////////////////////////////////////////// // // Local cache experiment // ////////////////////////////////////////////////////////...
30.589744
196
0.648432
EmanuelHerrendorf
e4359d519a33d741c9b729f0cab76d843c0d1914
3,931
cpp
C++
src/rpc/handlers/AccountChannels.cpp
XRPLF/clio
5f5648470a7770e2a74af315484d1933d052386f
[ "ISC" ]
null
null
null
src/rpc/handlers/AccountChannels.cpp
XRPLF/clio
5f5648470a7770e2a74af315484d1933d052386f
[ "ISC" ]
3
2022-03-23T15:41:27.000Z
2022-03-29T19:20:56.000Z
src/rpc/handlers/AccountChannels.cpp
XRPLF/clio
5f5648470a7770e2a74af315484d1933d052386f
[ "ISC" ]
1
2022-03-24T16:27:22.000Z
2022-03-24T16:27:22.000Z
#include <ripple/app/ledger/Ledger.h> #include <ripple/basics/StringUtilities.h> #include <ripple/protocol/ErrorCodes.h> #include <ripple/protocol/Indexes.h> #include <ripple/protocol/STLedgerEntry.h> #include <ripple/protocol/jss.h> #include <boost/json.hpp> #include <algorithm> #include <backend/BackendInterface.h> #...
31.198413
80
0.647418
XRPLF
e436a0dbbf3c478ed70536a2f3e49a8b73233709
4,264
cpp
C++
JuceLibraryCode/modules/juce_gui_extra/misc/juce_BubbleMessageComponent.cpp
connerlacy/QuNeoDemo
073a81d7fa7fa462e07c7b33de3e982a03a0055c
[ "Unlicense" ]
1
2019-10-16T08:54:44.000Z
2019-10-16T08:54:44.000Z
JuceLibraryCode/modules/juce_gui_extra/misc/juce_BubbleMessageComponent.cpp
connerlacy/quneo_demo_lab
073a81d7fa7fa462e07c7b33de3e982a03a0055c
[ "Unlicense" ]
null
null
null
JuceLibraryCode/modules/juce_gui_extra/misc/juce_BubbleMessageComponent.cpp
connerlacy/quneo_demo_lab
073a81d7fa7fa462e07c7b33de3e982a03a0055c
[ "Unlicense" ]
null
null
null
/* ============================================================================== This file is part of the JUCE library - "Jules' Utility Class Extensions" Copyright 2004-11 by Raw Material Software Ltd. ------------------------------------------------------------------------------ JUCE can be r...
34.387097
86
0.589353
connerlacy
e43c61443daa4458a4303234d1d58c407283c7ed
2,131
cpp
C++
Data Structures/week2_priority_queues_and_disjoint_sets/3_merging_tables/merging_tables.cpp
hovmikayelyan/Data_Structures_and_Algorithms
abfd3c63f8bce200c2379c44e755e53611f26ac7
[ "MIT" ]
null
null
null
Data Structures/week2_priority_queues_and_disjoint_sets/3_merging_tables/merging_tables.cpp
hovmikayelyan/Data_Structures_and_Algorithms
abfd3c63f8bce200c2379c44e755e53611f26ac7
[ "MIT" ]
null
null
null
Data Structures/week2_priority_queues_and_disjoint_sets/3_merging_tables/merging_tables.cpp
hovmikayelyan/Data_Structures_and_Algorithms
abfd3c63f8bce200c2379c44e755e53611f26ac7
[ "MIT" ]
null
null
null
/** * @file merging_tables.cpp * @author Hovhannes Mikayelyan (hovmikayelyan@gmail.com) * @brief * @version 0.1 * @date 2021-12-06 * * @copyright Copyright (c) 2021 * */ #include <cstdio> #include <cstdlib> #include <map> #include <vector> #include <algorithm> #include <iostream> using namespace std; st...
17.61157
70
0.648991
hovmikayelyan
e43c8364884c76ba25845b10bf3cd863d657c216
3,624
hxx
C++
OCC/opencascade-7.2.0/x64/debug/inc/BRepSweep_Prism.hxx
jiaguobing/FastCAE
2348ab87e83fe5c704e4c998cf391229c25ac5d5
[ "BSD-3-Clause" ]
2
2020-02-21T01:04:35.000Z
2020-02-21T03:35:37.000Z
OCC/opencascade-7.2.0/x64/debug/inc/BRepSweep_Prism.hxx
Sunqia/FastCAE
cbc023fe07b6e306ceefae8b8bd7c12bc1562acb
[ "BSD-3-Clause" ]
1
2020-03-06T04:49:42.000Z
2020-03-06T04:49:42.000Z
OCC/opencascade-7.2.0/x64/debug/inc/BRepSweep_Prism.hxx
Sunqia/FastCAE
cbc023fe07b6e306ceefae8b8bd7c12bc1562acb
[ "BSD-3-Clause" ]
1
2021-11-21T13:03:26.000Z
2021-11-21T13:03:26.000Z
// Created on: 1993-06-22 // Created by: Laurent BOURESCHE // Copyright (c) 1993-1999 Matra Datavision // Copyright (c) 1999-2014 OPEN CASCADE SAS // // This file is part of Open CASCADE Technology software library. // // This library is free software; you can redistribute it and/or modify it under // the terms of the ...
31.241379
213
0.750552
jiaguobing
e43d89d400ca15f01d70a17373d795975b0e7629
3,544
cpp
C++
src/cpp/2017-09-befor/temp-10-21.cpp
spurscoder/forTest
2ab069d6740f9d7636c6988a5a0bd3825518335d
[ "MIT" ]
null
null
null
src/cpp/2017-09-befor/temp-10-21.cpp
spurscoder/forTest
2ab069d6740f9d7636c6988a5a0bd3825518335d
[ "MIT" ]
1
2018-10-24T05:48:27.000Z
2018-10-24T05:52:14.000Z
src/cpp/2017-09-befor/temp-10-21.cpp
spurscoder/forTest
2ab069d6740f9d7636c6988a5a0bd3825518335d
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <string> #include <algorithm> #include <unordered_map> #include <unordered_set> #include <set> using namespace std; class Solution { public: bool isPowerOfThree(int n) { //return fmod(log10(n) / log10(3), 1) == 0; return (n > 0 && 1162261467 % n == 0);...
21.876543
75
0.480813
spurscoder
e43fc91e8aa5d705f540d3cd4004e2fb1fea36d0
6,721
hh
C++
lib/misc/flex-lexer.hh
MrMaDGaME/Tiger
f31f73cd386b3ccb3e02abe7b23a3de09d70bd0f
[ "MIT" ]
null
null
null
lib/misc/flex-lexer.hh
MrMaDGaME/Tiger
f31f73cd386b3ccb3e02abe7b23a3de09d70bd0f
[ "MIT" ]
null
null
null
lib/misc/flex-lexer.hh
MrMaDGaME/Tiger
f31f73cd386b3ccb3e02abe7b23a3de09d70bd0f
[ "MIT" ]
null
null
null
// -*-C++-*- // FlexLexer.h -- define interfaces for lexical analyzer classes generated // by flex // Copyright (c) 1993 The Regents of the University of California. // All rights reserved. // // This code is derived from software contributed to Berkeley by // Kent Williams and Tom Epperly. // // Redistribution and u...
30.55
79
0.730844
MrMaDGaME
e44082f72d78a3b378c33467f701e44905434054
1,456
cpp
C++
SDK/ARKSurvivalEvolved_Buff_Grappled_BAse_functions.cpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
10
2020-02-17T19:08:46.000Z
2021-07-31T11:07:19.000Z
SDK/ARKSurvivalEvolved_Buff_Grappled_BAse_functions.cpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
9
2020-02-17T18:15:41.000Z
2021-06-06T19:17:34.000Z
SDK/ARKSurvivalEvolved_Buff_Grappled_BAse_functions.cpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
3
2020-07-22T17:42:07.000Z
2021-06-19T17:16:13.000Z
// ARKSurvivalEvolved (329.9) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "ARKSurvivalEvolved_Buff_Grappled_BAse_parameters.hpp" namespace sdk { //--------------------------------------------------------------------------- //Functions //---------------------------------------------------------------...
25.54386
137
0.697115
2bite
e446591b80800c5e218ce1c2c7553b601864e486
4,055
cpp
C++
windows/Files++.cpp
mattw-mattw/Files-plus-plus
17a039d651e2da03bd6e913a453362ccae921074
[ "BSD-2-Clause" ]
2
2020-04-29T10:22:31.000Z
2021-05-22T03:00:09.000Z
windows/Files++.cpp
mattw-mattw/Files-plus-plus
17a039d651e2da03bd6e913a453362ccae921074
[ "BSD-2-Clause" ]
null
null
null
windows/Files++.cpp
mattw-mattw/Files-plus-plus
17a039d651e2da03bd6e913a453362ccae921074
[ "BSD-2-Clause" ]
null
null
null
// Copyright 2019 The Files++ Authors. Licence via 2-Clause BSD, see the LICENSE file. #include "stdafx.h" #include "Files++.h" #include "Files++Dlg.h" #include <thread> #ifdef _DEBUG #define new DEBUG_NEW #endif //wchar_t NewChar = __T('\x2018'); // CFilesPPApp BEGIN_MESSAGE_MAP(CFilesPPApp, CWinApp) ON_COMMAN...
24.427711
144
0.691245
mattw-mattw
e447015bc75d457ffc3cb3427f5aac7d222418f4
4,145
cpp
C++
ReactQt/runtime/src/componentmanagers/textinputmanager.cpp
siphiuel/react-native-desktop
1a93a70687b0996392f70ef6379fae2bde32895b
[ "MIT" ]
1
2021-02-17T22:25:42.000Z
2021-02-17T22:25:42.000Z
ReactQt/runtime/src/componentmanagers/textinputmanager.cpp
gnl/react-native-desktop
5aa7e52b09feb3a78c1944bc44dbb1cf2ac2cef0
[ "MIT" ]
null
null
null
ReactQt/runtime/src/componentmanagers/textinputmanager.cpp
gnl/react-native-desktop
5aa7e52b09feb3a78c1944bc44dbb1cf2ac2cef0
[ "MIT" ]
null
null
null
/** * Copyright (c) 2017-present, Status Research and Development GmbH. * 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 di...
34.256198
120
0.751749
siphiuel
e44cb9a361a1bec00fcd3a44f50bd52d5dd8a959
368
cpp
C++
src/02/01/source.cpp
galudino/ctci_edition_06
156ef9b669a40eeef94d1242f557e09f2bacfaad
[ "MIT" ]
null
null
null
src/02/01/source.cpp
galudino/ctci_edition_06
156ef9b669a40eeef94d1242f557e09f2bacfaad
[ "MIT" ]
null
null
null
src/02/01/source.cpp
galudino/ctci_edition_06
156ef9b669a40eeef94d1242f557e09f2bacfaad
[ "MIT" ]
null
null
null
/*! \file source.cpp \brief Source file for CTCI (6th Edition), question 2.1: Remove Dups \details Write code to remove duplicates from an unsorted linked list. FOLLOW UP How would you solve this problem if a temporary buffer is not allowed? \author Gemuele Aludino \dat...
20.444444
77
0.644022
galudino
e44e2dcf7bad7b97d7282c9e57681fd1dc0ab5d3
2,246
cpp
C++
modules/search-graph-diameter/test/test-search-graph-diameter.cpp
gurylev-nikita/devtools-course-practice
bab6ba4e39f04940e27c9ac148505eb152c05d17
[ "CC-BY-4.0" ]
null
null
null
modules/search-graph-diameter/test/test-search-graph-diameter.cpp
gurylev-nikita/devtools-course-practice
bab6ba4e39f04940e27c9ac148505eb152c05d17
[ "CC-BY-4.0" ]
3
2021-04-22T17:12:19.000Z
2021-05-14T12:16:25.000Z
modules/search-graph-diameter/test/test-search-graph-diameter.cpp
taktaev-artyom/devtools-course-practice
7cf19defe061c07cfb3ebb71579456e807430a5d
[ "CC-BY-4.0" ]
null
null
null
// Copyright 2021 Kurnikova Anastasia #include <gtest/gtest.h> #include <vector> #include "include/search-graph-diameter.h" class DiameterTest : public ::testing::Test { public: int n = 8; matrix v; list l; void init() { v.resize(n); int i = 0; for (auto it : l) { ...
25.522727
58
0.365093
gurylev-nikita
e451678cb0b771594c423b8ebac4af01d51e981f
5,695
cpp
C++
packages/aws/S3IODriver.cpp
ICESat2-SlideRule/sliderule
90776d7e174e151c5806077001f5f9c21ef81f48
[ "BSD-3-Clause" ]
2
2021-05-06T19:56:26.000Z
2021-05-27T16:41:56.000Z
packages/aws/S3IODriver.cpp
ICESat2-SlideRule/sliderule
90776d7e174e151c5806077001f5f9c21ef81f48
[ "BSD-3-Clause" ]
54
2021-03-30T18:45:12.000Z
2022-03-17T20:13:04.000Z
packages/aws/S3IODriver.cpp
ICESat2-SlideRule/sliderule
90776d7e174e151c5806077001f5f9c21ef81f48
[ "BSD-3-Clause" ]
1
2021-05-14T16:34:08.000Z
2021-05-14T16:34:08.000Z
/* * Copyright (c) 2021, University of Washington * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, * this li...
36.044304
113
0.515189
ICESat2-SlideRule
e454bd6c993c38fb2f4e256753340d671ffdaaa0
326
cpp
C++
source/examples/get_devices.cpp
oneapi-account/DPCPP_Reference
6ef0b40fe4c4b6f0883ab8eb02f40613bc86c533
[ "ECL-2.0", "Apache-2.0", "CC-BY-4.0" ]
null
null
null
source/examples/get_devices.cpp
oneapi-account/DPCPP_Reference
6ef0b40fe4c4b6f0883ab8eb02f40613bc86c533
[ "ECL-2.0", "Apache-2.0", "CC-BY-4.0" ]
null
null
null
source/examples/get_devices.cpp
oneapi-account/DPCPP_Reference
6ef0b40fe4c4b6f0883ab8eb02f40613bc86c533
[ "ECL-2.0", "Apache-2.0", "CC-BY-4.0" ]
null
null
null
// SPDX-FileCopyrightText: 2020 The Khronos Group Inc. // // SPDX-License-Identifier: Apache-2.0 #include <CL/sycl.hpp> int main() { for (auto device : sycl::device::get_devices(sycl::info::device_type::gpu)) { std::cout << " Device: " << device.get_info<sycl::info::device::name>() << std::endl; ...
23.285714
79
0.622699
oneapi-account
e4567cf1e5f150e829d3cfccbd6806ea591e9432
1,831
hpp
C++
OptFrame/ParetoDominanceWeak.hpp
216k155/bft-pos
80c1c84b8ca9a5c1c7462b21b011c89ae97666ae
[ "MIT" ]
2
2018-05-24T11:04:12.000Z
2020-03-03T13:37:07.000Z
OptFrame/ParetoDominanceWeak.hpp
216k155/bft-pos
80c1c84b8ca9a5c1c7462b21b011c89ae97666ae
[ "MIT" ]
null
null
null
OptFrame/ParetoDominanceWeak.hpp
216k155/bft-pos
80c1c84b8ca9a5c1c7462b21b011c89ae97666ae
[ "MIT" ]
1
2019-06-06T16:57:49.000Z
2019-06-06T16:57:49.000Z
// OptFrame - Optimization Framework // Copyright (C) 2009-2015 // http://optframe.sourceforge.net/ // // This file is part of the OptFrame optimization framework. This framework // is free software; you can redistribute it and/or modify it under the // terms of the GNU Lesser General Public License v3 as publi...
26.157143
83
0.722556
216k155
e4589d017a52b3a88be050057182c630ee8f9dfc
3,617
cpp
C++
disassembly/flowgraphwithinstructions.cpp
johannespitz/functionsimsearch
0ca99527b413209240dc1eda4727a6fae4353848
[ "Apache-2.0" ]
353
2018-09-11T22:56:38.000Z
2022-03-14T02:12:09.000Z
disassembly/flowgraphwithinstructions.cpp
johannespitz/functionsimsearch
0ca99527b413209240dc1eda4727a6fae4353848
[ "Apache-2.0" ]
15
2018-09-17T21:03:22.000Z
2021-12-10T07:39:46.000Z
disassembly/flowgraphwithinstructions.cpp
johannespitz/functionsimsearch
0ca99527b413209240dc1eda4727a6fae4353848
[ "Apache-2.0" ]
62
2018-09-11T17:02:24.000Z
2022-01-27T19:46:51.000Z
#include <map> #include <fstream> #include <string> #include <vector> #include "disassembly/flowgraph.hpp" #include "disassembly/flowgraphwithinstructions.hpp" #include "third_party/json/src/json.hpp" // Copy constructor. Somewhat hideously expensive. FlowgraphWithInstructions::FlowgraphWithInstructions( const Flow...
31.72807
80
0.685928
johannespitz
e45a1593c67c2be1fa2d7eb917b0d7a20384ce33
12,671
cc
C++
DESERT_Addons/uwmulti_traffic_control/uwmulti-traffic-control.cc
zhiweita/desert
2c40c5a6f5c4dd3f6c1108162056d96f21fc151f
[ "BSD-3-Clause" ]
7
2020-04-14T19:38:20.000Z
2022-01-14T08:06:10.000Z
DESERT_Addons/uwmulti_traffic_control/uwmulti-traffic-control.cc
zhiweita/desert
2c40c5a6f5c4dd3f6c1108162056d96f21fc151f
[ "BSD-3-Clause" ]
1
2021-07-10T04:05:04.000Z
2021-07-12T13:57:24.000Z
DESERT_Addons/uwmulti_traffic_control/uwmulti-traffic-control.cc
zhiweita/desert
2c40c5a6f5c4dd3f6c1108162056d96f21fc151f
[ "BSD-3-Clause" ]
5
2020-05-07T13:07:26.000Z
2022-01-14T03:01:09.000Z
// // Copyright (c) 2014 Regents of the SIGNET lab, University of Padova. // 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 copyrigh...
33.432718
100
0.646121
zhiweita
e46186101877816bf1b8e80d0e2d0c292f874f7e
914
cc
C++
src/split_phase_saving.cc
paulbehofsics/qute
f517cba54762d3f2781d85bff331b69ee005aa0b
[ "MIT" ]
null
null
null
src/split_phase_saving.cc
paulbehofsics/qute
f517cba54762d3f2781d85bff331b69ee005aa0b
[ "MIT" ]
null
null
null
src/split_phase_saving.cc
paulbehofsics/qute
f517cba54762d3f2781d85bff331b69ee005aa0b
[ "MIT" ]
null
null
null
#include "split_phase_saving.hh" namespace Qute { SplitPhaseSaving::SplitPhaseSaving(DecisionMode mode): mode(mode) { // dummy element at beginning of list to avoid decrementing indices // (variable indices start at 1) saved_phase_exist_mode.push_back(l_Undef); saved_phase_univ_mode.push_back(l_Unde...
27.69697
71
0.700219
paulbehofsics
e469caf35420fabfade3c9f87928f74ded4a4226
1,938
cpp
C++
tools/FilterLocalLevels/filterLocalLevels.cpp
RuanauR/BetterEdit
9e4c031b8dec0c80f901f79d9f4a40173a52725b
[ "MIT" ]
30
2021-01-25T22:25:05.000Z
2022-01-22T13:18:19.000Z
tools/FilterLocalLevels/filterLocalLevels.cpp
RuanauR/BetterEdit
9e4c031b8dec0c80f901f79d9f4a40173a52725b
[ "MIT" ]
9
2021-07-03T11:41:47.000Z
2022-03-30T15:14:46.000Z
tools/FilterLocalLevels/filterLocalLevels.cpp
RuanauR/BetterEdit
9e4c031b8dec0c80f901f79d9f4a40173a52725b
[ "MIT" ]
3
2021-07-01T20:52:24.000Z
2022-01-13T16:16:58.000Z
#include "filterLocalLevels.hpp" #include "levelBrowserHook.hpp" std::unordered_map<LocalLevelFilter, ThreeWayBool> g_mStates; void LevelBrowserLayer_CB::onFilterSearch(CCObject*) { LocalLevelFilterLayer::create(this)->show(); } void LocalLevelFilterLayer::setup() { this->m_bNoElasticity = true; this->m...
30.28125
82
0.703302
RuanauR
e46b7a34b576ed16527b326fbc11bf0d4c420996
24,741
cpp
C++
src/FAMmutexes.cpp
galvusdamor/pandaPIgrounder
07cd7a1cb8743497c1571eeec6f9efca181995f2
[ "BSD-3-Clause" ]
2
2021-07-21T22:08:38.000Z
2022-03-30T12:16:07.000Z
src/FAMmutexes.cpp
galvusdamor/pandaPIgrounder
07cd7a1cb8743497c1571eeec6f9efca181995f2
[ "BSD-3-Clause" ]
1
2021-07-22T09:27:54.000Z
2021-07-22T11:04:50.000Z
src/FAMmutexes.cpp
galvusdamor/pandaPIgrounder
07cd7a1cb8743497c1571eeec6f9efca181995f2
[ "BSD-3-Clause" ]
2
2021-07-21T19:39:53.000Z
2021-08-17T06:54:52.000Z
#include <string> #include <iostream> #include <algorithm> #include <cassert> #include "debug.h" #include "FAMmutexes.h" #include "pddl/pddl.h" // CPDDL has dome defined functions that we simply copy. They should be static to not clutter the name space (their library contains them as well, but I want to have them in...
32.812997
194
0.649125
galvusdamor
e4729215d2f4a488d462ee51a38d1275d1efd733
44
cpp
C++
Engine/Graphics/D3d12RHI/D3d12Constant.cpp
evil84/RenderLab
0fcf91465b2e6f31305a2257b3e2ad3b92cf6e93
[ "MIT" ]
3
2021-03-01T02:22:47.000Z
2021-04-22T02:55:50.000Z
Engine/Graphics/D3d12RHI/D3d12Constant.cpp
evil84/RenderLab
0fcf91465b2e6f31305a2257b3e2ad3b92cf6e93
[ "MIT" ]
null
null
null
Engine/Graphics/D3d12RHI/D3d12Constant.cpp
evil84/RenderLab
0fcf91465b2e6f31305a2257b3e2ad3b92cf6e93
[ "MIT" ]
null
null
null
#include "PCH.h" #include "D3d12Constant.h"
22
26
0.727273
evil84
e474a593a680c2fdaee080ef825d9d46c0253a9e
2,998
cpp
C++
lib/sfml/src/SceneGame/display/SceneGameDisplay.cpp
Brukols/Epitech-Arcade
5443d28169e9494f0c77abac23f4139e60b46365
[ "MIT" ]
null
null
null
lib/sfml/src/SceneGame/display/SceneGameDisplay.cpp
Brukols/Epitech-Arcade
5443d28169e9494f0c77abac23f4139e60b46365
[ "MIT" ]
null
null
null
lib/sfml/src/SceneGame/display/SceneGameDisplay.cpp
Brukols/Epitech-Arcade
5443d28169e9494f0c77abac23f4139e60b46365
[ "MIT" ]
null
null
null
/* ** EPITECH PROJECT, 2020 ** Arcade ** File description: ** display */ #include "sfml/SceneGame.hpp" void arc::SceneGame::displayGame(sf::RenderWindow &window) { std::for_each(_gameMap.begin(), _gameMap.end(), [this, &window](std::shared_ptr<Entity> entity) { if (!entity.get()->spritePath.empty()) { ...
38.935065
174
0.577051
Brukols
e47a596c176c2e601f37beb934b1e080f1495f49
1,079
hpp
C++
src/stage/race_event_translator.hpp
mnewhouse/tselements
bd1c6724018e862156948a680bb1bc70dd28bef6
[ "MIT" ]
null
null
null
src/stage/race_event_translator.hpp
mnewhouse/tselements
bd1c6724018e862156948a680bb1bc70dd28bef6
[ "MIT" ]
null
null
null
src/stage/race_event_translator.hpp
mnewhouse/tselements
bd1c6724018e862156948a680bb1bc70dd28bef6
[ "MIT" ]
null
null
null
/* * TS Elements * Copyright 2015-2018 M. Newhouse * Released under the MIT license. */ #pragma once #include "race_event_interface.hpp" namespace ts { namespace stage { template <typename MessageDispatcher> struct RaceEventTranslator : RaceEventInterface { explicit RaceEventTranslator(Me...
22.479167
92
0.702502
mnewhouse
e47d791d965c51c14df9bd4e20043336c70bed25
48
hpp
C++
src/boost_compute_interop_opencv_ocl.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_compute_interop_opencv_ocl.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_compute_interop_opencv_ocl.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/compute/interop/opencv/ocl.hpp>
24
47
0.791667
miathedev
e47e35d050fe4138301bdd2397eb2d7ee11eda42
2,135
cpp
C++
fceu/boards/179.cpp
jaeger401/tasbot
a16b5b9639633d27145b76f3ecfd45b859062f6c
[ "Xnet", "X11" ]
null
null
null
fceu/boards/179.cpp
jaeger401/tasbot
a16b5b9639633d27145b76f3ecfd45b859062f6c
[ "Xnet", "X11" ]
null
null
null
fceu/boards/179.cpp
jaeger401/tasbot
a16b5b9639633d27145b76f3ecfd45b859062f6c
[ "Xnet", "X11" ]
null
null
null
/* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 2007 CaH4e3 * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the Licen...
22.473684
82
0.674473
jaeger401
7cff0c5bcaf96f9eb2c1e1b6af6a186f0ddf4010
2,034
cpp
C++
Physics.cpp
MaksStachowiak/particleLife
4f8b4eeb4e17484239a753fe7d5b93a176514287
[ "MIT" ]
1
2019-07-24T21:39:22.000Z
2019-07-24T21:39:22.000Z
Physics.cpp
MaksStachowiak/particleLife
4f8b4eeb4e17484239a753fe7d5b93a176514287
[ "MIT" ]
null
null
null
Physics.cpp
MaksStachowiak/particleLife
4f8b4eeb4e17484239a753fe7d5b93a176514287
[ "MIT" ]
null
null
null
#include "Physics.h" #include <iostream> #include "Maths.h" #include "Random.h" #include "Application.h" namespace Physics { sf::Vector2<double> getForce(sf::Vector2<double> a, sf::Vector2<double> b, interactionRules i) { double slope = 2 * i.maxMagnitude / (i.maxRadius - i.minRadius); doubl...
33.9
135
0.580629
MaksStachowiak
6b051839c491dd4afc9444c70c622819825674e2
3,243
cc
C++
zircon/system/ulib/disk_inspector/test/command_test.cc
sysidos/fuchsia
0c00fd3c78a9c0111af4689f1e038b3926c4dc9b
[ "BSD-3-Clause" ]
null
null
null
zircon/system/ulib/disk_inspector/test/command_test.cc
sysidos/fuchsia
0c00fd3c78a9c0111af4689f1e038b3926c4dc9b
[ "BSD-3-Clause" ]
null
null
null
zircon/system/ulib/disk_inspector/test/command_test.cc
sysidos/fuchsia
0c00fd3c78a9c0111af4689f1e038b3926c4dc9b
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2020 The Fuchsia 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 "disk_inspector/command.h" #include <zxtest/zxtest.h> namespace disk_inspector { namespace { TEST(CommandTest, PrintCommand) { Command comman...
36.033333
96
0.583719
sysidos
6b071712a321d142f0d16c386abb887ec5a25391
4,104
cpp
C++
src/project/SEProject.cpp
ysbing/voo
329d6a72ede6dd5903ca4d824bb3c49a5502f5c3
[ "Apache-2.0" ]
56
2022-01-29T04:52:27.000Z
2022-03-31T06:52:15.000Z
src/project/SEProject.cpp
jumpingfrog0/VOO
af191ece986f997cf98f85016aa7288c323210c3
[ "Apache-2.0" ]
null
null
null
src/project/SEProject.cpp
jumpingfrog0/VOO
af191ece986f997cf98f85016aa7288c323210c3
[ "Apache-2.0" ]
16
2022-01-29T04:52:39.000Z
2022-03-31T07:48:53.000Z
#include "SEProject.h" #include <QUrl> #include <QDir> #include <QFile> #include <QDateTime> #include <QDebug> #include <src/base/utils/AppPath.h> #include <base/utils/threadpools.h> // static method SEProject *SEProject::m_currentInstance = NULL; SkyImageProvider *s_imageLoader = nullptr; SEProject *SEProject::curre...
25.65
108
0.649123
ysbing
6b09fc63ec1b751351ceb8416525ce5643ad84ba
4,521
cc
C++
python/dune/xt/functions/constant.cc
dune-community/dune-xt
da921524c6fff8d60c715cb4849a0bdd5f020d2b
[ "BSD-2-Clause" ]
2
2020-02-08T04:08:52.000Z
2020-08-01T18:54:14.000Z
python/dune/xt/functions/constant.cc
dune-community/dune-xt
da921524c6fff8d60c715cb4849a0bdd5f020d2b
[ "BSD-2-Clause" ]
35
2019-08-19T12:06:35.000Z
2020-03-27T08:20:39.000Z
python/dune/xt/functions/constant.cc
dune-community/dune-xt
da921524c6fff8d60c715cb4849a0bdd5f020d2b
[ "BSD-2-Clause" ]
1
2020-02-08T04:09:34.000Z
2020-02-08T04:09:34.000Z
// This file is part of the dune-xt project: // https://zivgitlab.uni-muenster.de/ag-ohlberger/dune-community/dune-xt // Copyright 2009-2021 dune-xt developers and contributors. All rights reserved. // License: Dual licensed as BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause) // or GPL-2.0+ (h...
38.641026
120
0.664234
dune-community
6b0ba47154545e139d568bb3fd58ddabd001f52e
163
cpp
C++
source/tests/openll-test/openll_test.cpp
j-o/openll-cpp
0f1ed04ce24fcc2e067e655f731f6e1f5360bbc5
[ "MIT" ]
1
2019-03-27T23:30:21.000Z
2019-03-27T23:30:21.000Z
source/tests/openll-test/openll_test.cpp
j-o/openll-cpp
0f1ed04ce24fcc2e067e655f731f6e1f5360bbc5
[ "MIT" ]
2
2018-05-13T12:48:50.000Z
2021-01-24T18:08:21.000Z
source/tests/openll-test/openll_test.cpp
j-o/openll-cpp
0f1ed04ce24fcc2e067e655f731f6e1f5360bbc5
[ "MIT" ]
1
2019-07-09T21:14:36.000Z
2019-07-09T21:14:36.000Z
#include <gmock/gmock.h> #include <openll/openll.h> class openll_test: public testing::Test { public: }; TEST_F(openll_test, CheckSomeResults) { // ... }
10.1875
39
0.674847
j-o
6b0e63c3137a54145b9a7c8ed6c917a36c2988ee
270
cpp
C++
src/RunProfile.cpp
lingnand/Helium
d1f8fab6eb5d60e35b3287f6ea35cd1fae71f816
[ "BSD-3-Clause" ]
8
2021-04-16T02:05:54.000Z
2022-03-16T13:56:23.000Z
src/RunProfile.cpp
lingnand/Helium
d1f8fab6eb5d60e35b3287f6ea35cd1fae71f816
[ "BSD-3-Clause" ]
null
null
null
src/RunProfile.cpp
lingnand/Helium
d1f8fab6eb5d60e35b3287f6ea35cd1fae71f816
[ "BSD-3-Clause" ]
2
2021-04-17T10:49:58.000Z
2021-07-21T20:39:52.000Z
/* * RunProfile.cpp * * Created on: May 9, 2015 * Author: lingnan */ #include <RunProfile.h> #include <CmdRunProfile.h> #include <View.h> RunProfile::RunProfile(View *view): QObject(view) {} View *RunProfile::view() const { return (View *) parent(); }
15
52
0.637037
lingnand
6b0ec9ca68eabe7330fdba0354833e4487108609
4,282
cpp
C++
dmengine/filesystem/dmfile.cpp
damao1222/dmengine
09ab62c043a520f8f6b15eb8790c7ee56c006931
[ "Apache-2.0" ]
null
null
null
dmengine/filesystem/dmfile.cpp
damao1222/dmengine
09ab62c043a520f8f6b15eb8790c7ee56c006931
[ "Apache-2.0" ]
null
null
null
dmengine/filesystem/dmfile.cpp
damao1222/dmengine
09ab62c043a520f8f6b15eb8790c7ee56c006931
[ "Apache-2.0" ]
null
null
null
/* Copyright (C) 2012-2014 Xiongfa Li, <damao1222@live.com> 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 ...
18.456897
75
0.654367
damao1222
6b0fce54d433fd74babceafc9f82b45afe070a56
10,358
hpp
C++
hpx/traits/is_callable.hpp
akemp/hpx
1ddf7282e322c30d82f2be044071aed14807ebe1
[ "BSL-1.0" ]
null
null
null
hpx/traits/is_callable.hpp
akemp/hpx
1ddf7282e322c30d82f2be044071aed14807ebe1
[ "BSL-1.0" ]
null
null
null
hpx/traits/is_callable.hpp
akemp/hpx
1ddf7282e322c30d82f2be044071aed14807ebe1
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2007-2012 Hartmut Kaiser // Copyright (c) 2013 Agustin Berge // // 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) #if !defined(HPX_TRAITS_IS_CALLABLE_APR_15_2012_0601PM) #define HPX_TRAITS_IS_CAL...
32.778481
123
0.528191
akemp
6b14a73d5a190b91b9ca262b7e1ad707b0edb3bc
916
cpp
C++
Problems/PTA/A1005.cpp
five-5/code
9c20757b1d4a087760c51da7d3dcdcc2b17aee07
[ "Apache-2.0" ]
null
null
null
Problems/PTA/A1005.cpp
five-5/code
9c20757b1d4a087760c51da7d3dcdcc2b17aee07
[ "Apache-2.0" ]
null
null
null
Problems/PTA/A1005.cpp
five-5/code
9c20757b1d4a087760c51da7d3dcdcc2b17aee07
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <string> #include <map> std::map<char, std::string> digits = {{'0', "zero"}, {'1', "one"}, {'2', "two"}, {'3', "three"}, {'4', "four"}, ...
28.625
53
0.272926
five-5
6b1514f4c7f15904aafdf931eaf4e0477b65ebc2
766
cpp
C++
CK3ToEU4Tests/MapperTests/LocDegraderMapper/LocDegraderMappingTests.cpp
DrDudelsack/CK3toEU4
b675ce2d623ff40905897c0be54eb34fa48a3c25
[ "MIT" ]
21
2020-08-13T02:52:43.000Z
2021-11-26T05:25:24.000Z
CK3ToEU4Tests/MapperTests/LocDegraderMapper/LocDegraderMappingTests.cpp
klorpa/CK3toEU4
7e46f29714c03fc5033aa9e23c29222b034ac08a
[ "MIT" ]
50
2020-09-02T16:55:06.000Z
2022-03-13T07:13:15.000Z
CK3ToEU4Tests/MapperTests/LocDegraderMapper/LocDegraderMappingTests.cpp
klorpa/CK3toEU4
7e46f29714c03fc5033aa9e23c29222b034ac08a
[ "MIT" ]
24
2020-08-08T23:48:02.000Z
2022-02-28T11:36:59.000Z
#include "../../CK3toEU4/Source/Mappers/LocDegraderMapper/LocDegraderMapping.h" #include "gtest/gtest.h" TEST(Mappers_LocDegraderMappingTests, replacementPairDefaultsToBlank) { std::stringstream input; const mappers::LocDegraderMapping mapping(input); const auto& replacementMapping = mapping.getReplacementMapping()...
31.916667
79
0.792428
DrDudelsack
6b1b40da05965d7f8649dfc81f3cde7b0b3c6340
7,957
cc
C++
test/common/wasm/wasm-module-runner.cc
bibhuk/v8Engine
b7e94287353ccb8adf76333840a2fc7bf1d00277
[ "BSD-3-Clause" ]
null
null
null
test/common/wasm/wasm-module-runner.cc
bibhuk/v8Engine
b7e94287353ccb8adf76333840a2fc7bf1d00277
[ "BSD-3-Clause" ]
null
null
null
test/common/wasm/wasm-module-runner.cc
bibhuk/v8Engine
b7e94287353ccb8adf76333840a2fc7bf1d00277
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2016 the V8 project 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 "test/common/wasm/wasm-module-runner.h" #include "src/handles.h" #include "src/isolate.h" #include "src/objects-inl.h" #include "src/objects.h...
37.356808
80
0.694483
bibhuk
6b1c195ed1f3b5365ca65bce8f8a5fc7f4ca0e78
10,983
cpp
C++
Samples/2.0/Common/src/Utils/ScreenSpaceReflections.cpp
Stazer/ogre-next
4d3aa2aedf4575ac8a9e32a4e2af859562752d51
[ "MIT" ]
701
2019-09-08T15:56:41.000Z
2022-03-31T05:51:26.000Z
Samples/2.0/Common/src/Utils/ScreenSpaceReflections.cpp
Stazer/ogre-next
4d3aa2aedf4575ac8a9e32a4e2af859562752d51
[ "MIT" ]
204
2019-09-01T23:02:32.000Z
2022-03-28T14:58:39.000Z
Samples/2.0/Common/src/Utils/ScreenSpaceReflections.cpp
Stazer/ogre-next
4d3aa2aedf4575ac8a9e32a4e2af859562752d51
[ "MIT" ]
188
2019-09-05T05:14:46.000Z
2022-03-22T21:51:39.000Z
#include "Utils/ScreenSpaceReflections.h" #include "OgreMaterialManager.h" #include "OgreMaterial.h" #include "OgreTechnique.h" #include "OgreRenderSystem.h" #include "Compositor/OgreCompositorManager2.h" #include "Compositor/OgreCompositorNodeDef.h" #include "OgreCamera.h" namespace Demo { const Ogre::Matrix4...
49.922727
111
0.597924
Stazer
6b1cd3d06205bff5f33a7a31800cf7d415433a16
105
cpp
C++
docs/assets/playground/exhausted_choice.cpp
gkgoat1/lexy
9c600fa906e81efbb3e34b8951ebc56809f2a0df
[ "BSL-1.0" ]
527
2020-12-01T14:23:50.000Z
2022-03-31T11:30:24.000Z
docs/assets/playground/exhausted_choice.cpp
ExternalRepositories/lexy
edc6bd4aabd6f0ecbddba6f2bbf9bd2c6e4fa61d
[ "BSL-1.0" ]
44
2020-12-01T18:39:38.000Z
2022-03-08T00:22:39.000Z
docs/assets/playground/exhausted_choice.cpp
ExternalRepositories/lexy
edc6bd4aabd6f0ecbddba6f2bbf9bd2c6e4fa61d
[ "BSL-1.0" ]
24
2020-12-02T01:45:53.000Z
2022-03-22T21:31:31.000Z
// INPUT:Hey struct production { static constexpr auto rule = LEXY_LIT("Hello") | LEXY_LIT("Hi"); };
17.5
68
0.666667
gkgoat1
6b20f9eb20843f7526bb175d822da2ef7f3c5cc6
2,350
cpp
C++
rosbag2_storage_evaluation/src/profiler/profiler.cpp
agutenkunst/rosbag2
0c1ea6a57ef14dfaebbb78d91e63e0a10c9622b9
[ "Apache-2.0" ]
118
2018-04-27T10:48:44.000Z
2022-03-30T14:45:13.000Z
rosbag2_storage_evaluation/src/profiler/profiler.cpp
agutenkunst/rosbag2
0c1ea6a57ef14dfaebbb78d91e63e0a10c9622b9
[ "Apache-2.0" ]
851
2018-05-16T19:11:49.000Z
2022-03-31T23:02:50.000Z
rosbag2_storage_evaluation/src/profiler/profiler.cpp
agutenkunst/rosbag2
0c1ea6a57ef14dfaebbb78d91e63e0a10c9622b9
[ "Apache-2.0" ]
147
2018-04-03T17:05:06.000Z
2022-03-24T06:05:42.000Z
/* * Copyright (c) 2018, Bosch Software Innovations GmbH. * * 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 require...
25.824176
95
0.668936
agutenkunst
6b2122fba36632f1431aef245b15ad286eb3f812
5,831
hxx
C++
generated/include/vnl/DatabaseClient.hxx
madMAx43v3r/virtual-network-layers-cpp
cd0306b7edb38d5f43fa4fac198562ff38f4276a
[ "MIT" ]
3
2021-06-12T21:26:47.000Z
2021-09-11T04:06:04.000Z
generated/include/vnl/DatabaseClient.hxx
madMAx43v3r/virtual-network-layers-cpp
cd0306b7edb38d5f43fa4fac198562ff38f4276a
[ "MIT" ]
30
2016-08-17T02:16:56.000Z
2017-06-30T04:57:50.000Z
generated/include/vnl/DatabaseClient.hxx
madMAx43v3r/virtual-network-tools
6fd7a5630ead319f6db07856c1164f7c8c09377c
[ "MIT" ]
null
null
null
#ifndef INCLUDE_VNI_GENERATED_vnl_Database_CLIENT_HXX_ #define INCLUDE_VNI_GENERATED_vnl_Database_CLIENT_HXX_ // AUTO GENERATED by virtual-network-interface codegen #include <vnl/String.h> #include <vnl/ObjectClient.hxx> namespace vnl { class DatabaseClient : public vnl::ObjectClient { public: class Writer : pu...
19.567114
61
0.644486
madMAx43v3r
6b2174c7ceacf2a58c930608a8c2a850ccba7843
396
cpp
C++
src/globals.cpp
pharpend/Oscilloscope
e2598c559302bd91747b73a251d614eeb4dea663
[ "MIT" ]
null
null
null
src/globals.cpp
pharpend/Oscilloscope
e2598c559302bd91747b73a251d614eeb4dea663
[ "MIT" ]
null
null
null
src/globals.cpp
pharpend/Oscilloscope
e2598c559302bd91747b73a251d614eeb4dea663
[ "MIT" ]
1
2018-04-30T07:53:58.000Z
2018-04-30T07:53:58.000Z
// // globals.cpp // Oscilloscope // // Created by Hansi on 26.07.15. // // #include "globals.h" Globals Globals::instance; string ofxFormatTime(double seconds) { int total = seconds; int s = total % 60; total = total / 60; int m = total % 60; total = total / 60; int h = total; return ofToStrin...
15.84
91
0.575758
pharpend
6b25b8c1b482e18ef108f95a9611832ba1fef058
231
cpp
C++
Vulkan/VulkanSource/Renderer/Vulkan_Resource.cpp
furkanxdgs4/TuranEngine
77e71fc4075d7cf1648dc73981088abb36a920d1
[ "Apache-2.0" ]
6
2020-05-01T16:26:27.000Z
2021-10-05T02:39:41.000Z
Vulkan/VulkanSource/Renderer/Vulkan_Resource.cpp
furkanxdgs4/TuranEngine
77e71fc4075d7cf1648dc73981088abb36a920d1
[ "Apache-2.0" ]
null
null
null
Vulkan/VulkanSource/Renderer/Vulkan_Resource.cpp
furkanxdgs4/TuranEngine
77e71fc4075d7cf1648dc73981088abb36a920d1
[ "Apache-2.0" ]
null
null
null
#include "Vulkan_Resource.h" #include "TuranAPI/FileSystem/FileSystem_Core.h" namespace Vulkan { ShaderPipeline::ShaderPipeline() : ShaderStageCreateInfos(LASTUSEDALLOCATOR, 1, 2), ShaderModules(LASTUSEDALLOCATOR, 1, 2) { } }
23.1
125
0.779221
furkanxdgs4
6b26b6f5b82bd55b46c9575815fedbba9e6d8c40
5,722
cpp
C++
WWSpatialAudioUserCpp/WWSpatialAudioHrtfUser.cpp
yamamoto2002/bitspersampleconv2
331a9fc531269e5dfdc78548e583f793a7687dc0
[ "MIT" ]
null
null
null
WWSpatialAudioUserCpp/WWSpatialAudioHrtfUser.cpp
yamamoto2002/bitspersampleconv2
331a9fc531269e5dfdc78548e583f793a7687dc0
[ "MIT" ]
null
null
null
WWSpatialAudioUserCpp/WWSpatialAudioHrtfUser.cpp
yamamoto2002/bitspersampleconv2
331a9fc531269e5dfdc78548e583f793a7687dc0
[ "MIT" ]
1
2020-11-12T06:55:18.000Z
2020-11-12T06:55:18.000Z
// 日本語 #include "WWSpatialAudioHrtfUser.h" #include <SpatialAudioClient.h> #include <exception> #include <mmdeviceapi.h> #include "WWSAUtil.h" #include <functiondiscoverykeys.h> #include <assert.h> #include "WWGuidToStr.h" #include "WWPrintDeviceProp.h" #include <assert.h> // 参考ページ。 // https://msdn.microsoft.com/en-u...
28.187192
105
0.605557
yamamoto2002
6b27fa2a5a226a7d7ac096378e7885d0b4088aa9
505
cpp
C++
parser/Wmo/GroupFile/WmoGroupChunk.cpp
coolzoom/namigator
722a9f9e71ac5091acfad6ad53d203e1f1ffcf49
[ "MIT" ]
null
null
null
parser/Wmo/GroupFile/WmoGroupChunk.cpp
coolzoom/namigator
722a9f9e71ac5091acfad6ad53d203e1f1ffcf49
[ "MIT" ]
null
null
null
parser/Wmo/GroupFile/WmoGroupChunk.cpp
coolzoom/namigator
722a9f9e71ac5091acfad6ad53d203e1f1ffcf49
[ "MIT" ]
null
null
null
#include "Wmo/GroupFile/WmoGroupChunk.hpp" #include "Wmo/WmoChunkHeader.hpp" namespace parser { namespace input { WmoGroupChunk::WmoGroupChunk(size_t position, utility::BinaryStream* groupFileStream) : Position(position) { groupFileStream->rpos(position); WmoChunkHeader heade...
22.954545
68
0.70297
coolzoom
6b2bf2f6a01575f13c8149a7cb16a68479bbefa8
7,561
cpp
C++
src/glfw-cxx/Window.cpp
Mischa-Alff/glfw-cxx
bd335a7c5ac959da0ea1ac009a66b75ada21efb6
[ "MIT" ]
12
2015-07-05T15:07:26.000Z
2020-07-10T03:15:56.000Z
src/glfw-cxx/Window.cpp
TheRealJoe24/glfw-cxx
bd335a7c5ac959da0ea1ac009a66b75ada21efb6
[ "MIT" ]
1
2016-08-10T16:49:13.000Z
2016-08-19T18:23:04.000Z
src/glfw-cxx/Window.cpp
TheRealJoe24/glfw-cxx
bd335a7c5ac959da0ea1ac009a66b75ada21efb6
[ "MIT" ]
3
2017-04-24T14:33:46.000Z
2019-06-15T22:15:22.000Z
#include <glfw-cxx/Window.hpp> #include <glfw-cxx/Context.hpp> #include <iostream> namespace glfw { int Window::GetInputMode(int mode) const { return glfwGetInputMode(m_window, mode); } void Window::SetInputMode(int mode, int value) { glfwSetInputMode(m_window, mode, value); } int Window::GetKey(Key key) ...
22.705706
116
0.729136
Mischa-Alff
6b2c91cf565dbc9d7b36372082c50b3c9d3782c0
2,536
hpp
C++
source/include/coffee/dbms.ldap/LdapStatement.hpp
ciscoruiz/wepa
e6d922157543c91b6804f11073424a0a9c6e8f51
[ "MIT" ]
2
2018-02-03T06:56:29.000Z
2021-04-20T10:28:32.000Z
source/include/coffee/dbms.ldap/LdapStatement.hpp
ciscoruiz/wepa
e6d922157543c91b6804f11073424a0a9c6e8f51
[ "MIT" ]
8
2018-02-18T21:00:07.000Z
2018-02-20T15:31:24.000Z
source/include/coffee/dbms.ldap/LdapStatement.hpp
ciscoruiz/wepa
e6d922157543c91b6804f11073424a0a9c6e8f51
[ "MIT" ]
1
2018-02-09T07:09:26.000Z
2018-02-09T07:09:26.000Z
// MIT License // // Copyright (c) 2018 Francisco Ruiz (francisco.ruiz.rayo@gmail.com) // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitatio...
34.27027
131
0.758281
ciscoruiz
6b2d1d2cc2ce388c02a09e760e884ad1a71d0f53
699
hpp
C++
dsolve/ode_func_type.hpp
metrumresearchgroup/torsten_math
318cee4199342bd36d5f2b1241c6760acfcf58b7
[ "BSD-3-Clause" ]
null
null
null
dsolve/ode_func_type.hpp
metrumresearchgroup/torsten_math
318cee4199342bd36d5f2b1241c6760acfcf58b7
[ "BSD-3-Clause" ]
1
2020-04-27T23:53:22.000Z
2020-04-27T23:57:43.000Z
dsolve/ode_func_type.hpp
metrumresearchgroup/torsten_math
318cee4199342bd36d5f2b1241c6760acfcf58b7
[ "BSD-3-Clause" ]
null
null
null
#ifndef STAN_MATH_TORSTEN_DSOLVE_ODE_FUNC_HPP #define STAN_MATH_TORSTEN_DSOLVE_ODE_FUNC_HPP #include <stan/math/torsten/cvodes_sens_method.hpp> namespace torsten { namespace dsolve { /* * Retrieve ODE template RHS functor type */ template <typename Ode> struct ode_func; /* * Retrieve...
21.181818
83
0.65093
metrumresearchgroup
6b2d51e4cee6ef038567ad93f7ac22238a2d3389
15,575
cpp
C++
Game/Xerces/src/xercesc/util/PlatformUtils.cpp
hackerlank/SourceCode
b702c9e0a9ca5d86933f3c827abb02a18ffc9a59
[ "MIT" ]
4
2021-07-31T13:56:01.000Z
2021-11-13T02:55:10.000Z
Game/Xerces/src/xercesc/util/PlatformUtils.cpp
shacojx/SourceCodeGameTLBB
e3cea615b06761c2098a05427a5f41c236b71bf7
[ "MIT" ]
null
null
null
Game/Xerces/src/xercesc/util/PlatformUtils.cpp
shacojx/SourceCodeGameTLBB
e3cea615b06761c2098a05427a5f41c236b71bf7
[ "MIT" ]
7
2021-08-31T14:34:23.000Z
2022-01-19T08:25:58.000Z
/* * Copyright 1999-2004 The Apache Software Foundation. * * 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...
32.313278
119
0.624077
hackerlank
6b2de0128d3aa1f94807a8af10cf047fb9af43f4
35,033
cc
C++
src/CRKSPH/SolidCRKSPHHydroBaseRZ.cc
jmikeowen/Spheral
3e1082a7aefd6b328bd3ae24ca1a477108cfc3c4
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
22
2018-07-31T21:38:22.000Z
2020-06-29T08:58:33.000Z
src/CRKSPH/SolidCRKSPHHydroBaseRZ.cc
jmikeowen/Spheral
3e1082a7aefd6b328bd3ae24ca1a477108cfc3c4
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
41
2020-09-28T23:14:27.000Z
2022-03-28T17:01:33.000Z
src/CRKSPH/SolidCRKSPHHydroBaseRZ.cc
jmikeowen/Spheral
3e1082a7aefd6b328bd3ae24ca1a477108cfc3c4
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
7
2019-12-01T07:00:06.000Z
2020-09-15T21:12:39.000Z
//---------------------------------Spheral++----------------------------------// // SolidCRKSPHHydroBase -- The CRKSPH/ACRKSPH solid material hydrodynamic // package for Spheral++. // // This is the area-weighted RZ specialization. // // Created by JMO, Fri May 13 10:50:36 PDT 2016 //-----------------------------------...
43.79125
176
0.606171
jmikeowen
6b2e53770ef97c49609c7b5ca3c5f5b6705d592c
20,986
cc
C++
src/FbgemmFP16.cc
zrphercule/FBGEMM
9860344e107864b4abe1f23df5d59ff92c26fcee
[ "BSD-3-Clause" ]
null
null
null
src/FbgemmFP16.cc
zrphercule/FBGEMM
9860344e107864b4abe1f23df5d59ff92c26fcee
[ "BSD-3-Clause" ]
null
null
null
src/FbgemmFP16.cc
zrphercule/FBGEMM
9860344e107864b4abe1f23df5d59ff92c26fcee
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ #define FBGEMM_EXPORTS #include <cpuinfo.h> #include <array> #include <cmath> #include <utility> #includ...
36.947183
79
0.407129
zrphercule
6b3bd1b1ab1d85f1afcb0d6bae1f21e7a6d41466
8,070
cc
C++
libinktomi++/ink_file.cc
ibrezac/trafficserver
640c4f738b7858f93069f987ea141e0cafae72da
[ "Apache-2.0" ]
1
2017-10-26T12:04:44.000Z
2017-10-26T12:04:44.000Z
libinktomi++/ink_file.cc
pquerna/trafficserver
43b94d9926bf11573b178f46c01db6e235f1345e
[ "Apache-2.0" ]
null
null
null
libinktomi++/ink_file.cc
pquerna/trafficserver
43b94d9926bf11573b178f46c01db6e235f1345e
[ "Apache-2.0" ]
null
null
null
/** @file A brief file description @section license License Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you und...
24.454545
117
0.565304
ibrezac
6b3c7a52928848d1a9751d8b8df715073f57ad08
266
cpp
C++
A/58/main.cpp
ABGEO07/ABGEOs_CodeForces_Projects
62bf1dc50d435c1f8d2033577e98cf332373b1f8
[ "MIT" ]
null
null
null
A/58/main.cpp
ABGEO07/ABGEOs_CodeForces_Projects
62bf1dc50d435c1f8d2033577e98cf332373b1f8
[ "MIT" ]
null
null
null
A/58/main.cpp
ABGEO07/ABGEOs_CodeForces_Projects
62bf1dc50d435c1f8d2033577e98cf332373b1f8
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main() { string str, hello = "hello"; int j(0); cin >> str; for (int i(0); i < str.size(); i++) if (str[i] == hello[j]) j++; if (j >= 5) cout << "YES"; else cout << "NO"; return 0; }
11.565217
37
0.477444
ABGEO07
6b431507ab9b2c9ca16fb4b4e66d9856bb57f19b
455
cpp
C++
week4/tema6/tema6/Dacia.cpp
Denisa090802/CommandDefense
89e5148ef8d2807c62785a52c584e274aa2c2488
[ "MIT" ]
null
null
null
week4/tema6/tema6/Dacia.cpp
Denisa090802/CommandDefense
89e5148ef8d2807c62785a52c584e274aa2c2488
[ "MIT" ]
null
null
null
week4/tema6/tema6/Dacia.cpp
Denisa090802/CommandDefense
89e5148ef8d2807c62785a52c584e274aa2c2488
[ "MIT" ]
null
null
null
#include "Dacia.h" Dacia::Dacia() { this->averageSpeedRain = 70; this->averageSpeedSnow = 65; this->averageSpeedSunny = 90; this->fuelCapacity = 30; this->fuelConsumption = 7; } int Dacia::GetSpeed(Weather w) { if (w == Weather::Rain) return this->averageSpeedRain; else if (...
21.666667
39
0.61978
Denisa090802
6b4350a15118fb4cd1b7411260e788419863ae35
9,476
cpp
C++
parser/parser.cpp
dprevost/errorparser
57dfe56af4897e26626380077003ca1bcb89b77d
[ "MIT" ]
1
2016-05-08T11:56:33.000Z
2016-05-08T11:56:33.000Z
parser/parser.cpp
dprevost/errorparser
57dfe56af4897e26626380077003ca1bcb89b77d
[ "MIT" ]
null
null
null
parser/parser.cpp
dprevost/errorparser
57dfe56af4897e26626380077003ca1bcb89b77d
[ "MIT" ]
null
null
null
/* * Copyright (C) 2008-2010 Daniel Prevost <dprevost@users.sourceforge.net> * * This file may be distributed and/or modified under the terms of the * MIT License as described by the Open Source Initiative * (http://opensource.org/licenses/mit-license.php) and appearing in * the file COPYING included in the packa...
30.86645
105
0.532503
dprevost
6b4fb357ab6e70e42c9ca773bad4d83f00a3c9ee
1,185
cpp
C++
src/robot/robot.cpp
JasonThomasData/charlotte
bd0e7bda70d402e20c3758aea12979a1c2e9c68a
[ "MIT" ]
null
null
null
src/robot/robot.cpp
JasonThomasData/charlotte
bd0e7bda70d402e20c3758aea12979a1c2e9c68a
[ "MIT" ]
null
null
null
src/robot/robot.cpp
JasonThomasData/charlotte
bd0e7bda70d402e20c3758aea12979a1c2e9c68a
[ "MIT" ]
null
null
null
#include <memory> #include "../leg/i_leg_driver.h" #include "../sleep/i_sleep.h" #include "robot.h" Robot::Robot(ILegDriver* leg_0_to_add, ILegDriver* leg_1_to_add, ILegDriver* leg_2_to_add, ILegDriver* leg_3_to_add, ISleep* sleep_to_add) :leg_0(leg_0_to_add), leg_1(leg_1_to_add), leg_2...
19.42623
111
0.614346
JasonThomasData
6b53c3b0afabe0bb936290f0664e96b7ac06f8d5
1,473
cpp
C++
src/dclass/dc/DistributedType.cpp
Hawkheart/Astron
3a15606ab15b63b666fdff1e0145417470232dbc
[ "BSD-3-Clause" ]
null
null
null
src/dclass/dc/DistributedType.cpp
Hawkheart/Astron
3a15606ab15b63b666fdff1e0145417470232dbc
[ "BSD-3-Clause" ]
null
null
null
src/dclass/dc/DistributedType.cpp
Hawkheart/Astron
3a15606ab15b63b666fdff1e0145417470232dbc
[ "BSD-3-Clause" ]
null
null
null
// Filename: DistributedType.ipp #include "util/HashGenerator.h" #include "DistributedType.h" namespace dclass // open namespace dclass { DistributedType* DistributedType::invalid = new DistributedType(); DistributedType::~DistributedType() { } // as_number returns this as a NumericType if it is numeric, or NULL ...
22.661538
79
0.733198
Hawkheart
6b5438fb00d0adec25547ddb2721897df090a831
1,457
cpp
C++
src/Broadcaster2006/Source/RSRecordLabel.cpp
pedroroque/DigitalBroadcaster
279e65b348421dcd8db53ebb588154b85dc169e9
[ "MIT" ]
null
null
null
src/Broadcaster2006/Source/RSRecordLabel.cpp
pedroroque/DigitalBroadcaster
279e65b348421dcd8db53ebb588154b85dc169e9
[ "MIT" ]
null
null
null
src/Broadcaster2006/Source/RSRecordLabel.cpp
pedroroque/DigitalBroadcaster
279e65b348421dcd8db53ebb588154b85dc169e9
[ "MIT" ]
null
null
null
// RSRecordLabel.cpp : implementation file // #include "stdafx.h" #include "..\include\RSRecordLabel.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // CRSRecordLabel IMPLEMENT_DYNAMIC(CR...
20.814286
77
0.645848
pedroroque
6b55b661791137c73280b6732053d09b614c53e6
1,670
cc
C++
src/SolidMaterial/PhysicsEvolvingMaterialLibrary.cc
as1m0n/spheral
4d72822f56aca76d70724c543d389d15ff6ca48e
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
1
2020-10-21T01:56:55.000Z
2020-10-21T01:56:55.000Z
src/SolidMaterial/PhysicsEvolvingMaterialLibrary.cc
markguozhiming/spheral
bbb982102e61edb8a1d00cf780bfa571835e1b61
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
null
null
null
src/SolidMaterial/PhysicsEvolvingMaterialLibrary.cc
markguozhiming/spheral
bbb982102e61edb8a1d00cf780bfa571835e1b61
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
null
null
null
#include "PhysicsEvolvingMaterialLibrary.hh" #include "Field/Field.hh" #include "Utilities/bisectSearch.hh" #include "Utilities/safeInv.hh" #include "Utilities/SpheralFunctions.hh" #include "Utilities/DBC.hh" #include <iostream> namespace Spheral { using std::min; using std::max; using std::abs; //-----------------...
34.791667
80
0.465269
as1m0n
6b56361acc7ca8792c7b1d005e713cc0afc803df
8,234
cpp
C++
src/fritters/salsa20.cpp
PotatoBite/fritters
56d88661ee2fbaf8e5fadcfa2f2df7d0e0e9e0e2
[ "Apache-2.0" ]
null
null
null
src/fritters/salsa20.cpp
PotatoBite/fritters
56d88661ee2fbaf8e5fadcfa2f2df7d0e0e9e0e2
[ "Apache-2.0" ]
null
null
null
src/fritters/salsa20.cpp
PotatoBite/fritters
56d88661ee2fbaf8e5fadcfa2f2df7d0e0e9e0e2
[ "Apache-2.0" ]
null
null
null
//All implementation treats words as uint32_t or uint8_t[4] #include <iostream> #include <array> #include <iostream> #include <stdint.h> #include <math.h> //#include <bits/stdc++.h> #include "xor.h" //constant-distance rotation #define ROTL(a,b) (((a) << (b)) | ((a) >> (32 - (b)))) //union for use in little endian sy...
28.393103
193
0.655453
PotatoBite
6b5742641577082e15016ad990e462c7ecafb52d
198
cpp
C++
lib/LCD_I2CEasy/LCD_I2CEasy.cpp
mystery124/MilestoneRoomController
1101c110f25d1cc348cf7da304dd9fe5d33a5876
[ "MIT" ]
null
null
null
lib/LCD_I2CEasy/LCD_I2CEasy.cpp
mystery124/MilestoneRoomController
1101c110f25d1cc348cf7da304dd9fe5d33a5876
[ "MIT" ]
7
2020-03-23T17:48:57.000Z
2020-04-21T19:48:20.000Z
lib/LCD_I2CEasy/LCD_I2CEasy.cpp
mystery124/MilestoneRoomController
1101c110f25d1cc348cf7da304dd9fe5d33a5876
[ "MIT" ]
null
null
null
#include "LCD_I2CEasy.h" void LCDEasy::init(){ lcd = new LiquidCrystal_I2C(i2Caddr, enPin, rwPin, rsPin, d4Pin, d5Pin, d6Pin, d7Pin); } LiquidCrystal_I2C* LCDEasy::getLCD(){ return lcd; }
19.8
90
0.69697
mystery124
6b583d413567e36cc48beb78388a606ab844b24e
2,193
hpp
C++
CmnMath/module/numericanalysis/inc/numericanalysis/TCheckedVariable.hpp
Khoronus/CmnUniverse
9cf9b4297f2fcb49330126aa1047b422144045e1
[ "MIT" ]
null
null
null
CmnMath/module/numericanalysis/inc/numericanalysis/TCheckedVariable.hpp
Khoronus/CmnUniverse
9cf9b4297f2fcb49330126aa1047b422144045e1
[ "MIT" ]
null
null
null
CmnMath/module/numericanalysis/inc/numericanalysis/TCheckedVariable.hpp
Khoronus/CmnUniverse
9cf9b4297f2fcb49330126aa1047b422144045e1
[ "MIT" ]
null
null
null
/* @file TCheckedVariable.hpp * @brief Declares the checked variable class * * @section LICENSE * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR...
25.8
100
0.674419
Khoronus
6b5ccca1e23671664a920300cdaa04237f58615c
1,659
hpp
C++
PolyfitEigen.hpp
jcmayoral/Polyfit
956286d368cb377df81a5ea1eca5d2ff8e8fdb3a
[ "MIT" ]
20
2019-06-21T09:51:00.000Z
2022-03-29T23:53:46.000Z
PolyfitEigen.hpp
jcmayoral/Polyfit
956286d368cb377df81a5ea1eca5d2ff8e8fdb3a
[ "MIT" ]
1
2020-07-02T06:20:26.000Z
2020-07-03T09:08:22.000Z
PolyfitEigen.hpp
jcmayoral/Polyfit
956286d368cb377df81a5ea1eca5d2ff8e8fdb3a
[ "MIT" ]
11
2020-04-11T15:46:40.000Z
2022-03-18T01:43:30.000Z
// // PolyfitEigen.hpp // Polyfit // // Created by Patrick Löber on 23.11.18. // Copyright © 2018 Patrick Loeber. All rights reserved. // // Use the Eigen library for fitting: http://eigen.tuxfamily.org // See https://eigen.tuxfamily.org/dox/group__TutorialLinearAlgebra.html for different methods #include "Eigen...
29.105263
181
0.588909
jcmayoral
6b624ad03a72c2f6a533014b6e2e2a8db25d7593
909
cpp
C++
pC4Ex/src/MatriceAgregationInterne.cpp
GiorgioCaculli/B3_Developpement_de_Jeux_Video
68d67100ab60d80cf577d37eaa4556e9f1ef028e
[ "BSD-3-Clause" ]
null
null
null
pC4Ex/src/MatriceAgregationInterne.cpp
GiorgioCaculli/B3_Developpement_de_Jeux_Video
68d67100ab60d80cf577d37eaa4556e9f1ef028e
[ "BSD-3-Clause" ]
null
null
null
pC4Ex/src/MatriceAgregationInterne.cpp
GiorgioCaculli/B3_Developpement_de_Jeux_Video
68d67100ab60d80cf577d37eaa4556e9f1ef028e
[ "BSD-3-Clause" ]
null
null
null
#include "MatriceAgregationInterne.hpp" MatriceAgregationInterne::MatriceAgregationInterne( float nb_lignes ) : lignes( std::vector< Vecteur3d * >() ) { for( int i = 0; i < nb_lignes; i++ ) { lignes.push_back( new Vecteur3d( i + 1, i + 1, i + 1 ) ); } } MatriceAgregationInterne::MatriceAgregationI...
21.139535
104
0.649065
GiorgioCaculli
6b67189724fad56cbcafd8ccdb153f8984da57c4
2,031
cc
C++
Syntax/src/LengthNode.cc
frankencode/CoreComponents
4c66d7ff9fc5be19222906ba89ba0e98951179de
[ "Zlib" ]
1
2019-07-29T04:07:29.000Z
2019-07-29T04:07:29.000Z
Syntax/src/LengthNode.cc
frankencode/CoreComponents
4c66d7ff9fc5be19222906ba89ba0e98951179de
[ "Zlib" ]
null
null
null
Syntax/src/LengthNode.cc
frankencode/CoreComponents
4c66d7ff9fc5be19222906ba89ba0e98951179de
[ "Zlib" ]
1
2020-03-04T17:13:04.000Z
2020-03-04T17:13:04.000Z
/* * Copyright (C) 2021 Frank Mertens. * * Distribution and use is allowed under the terms of the zlib license * (see cc/LICENSE-zlib). * */ #include <cc/syntax/LengthNode> #include <cc/Token> #include <cc/str> namespace cc::syntax { struct LengthNode::State: public SyntaxNode::State { State(long minLength...
22.076087
104
0.623338
frankencode
6b682f8618a361ae6897f12469583f4efe031c0d
396
cpp
C++
src/rendering/light.cpp
Je06jm/C-OpenGL-OIT
22880e34c292c0c6a4aacfd65beb13b175185c78
[ "MIT" ]
2
2021-06-02T11:51:50.000Z
2022-03-05T18:22:03.000Z
src/rendering/light.cpp
Je06jm/C-OpenGL-OIT
22880e34c292c0c6a4aacfd65beb13b175185c78
[ "MIT" ]
null
null
null
src/rendering/light.cpp
Je06jm/C-OpenGL-OIT
22880e34c292c0c6a4aacfd65beb13b175185c78
[ "MIT" ]
null
null
null
#include "rendering/light.hpp" #include <string> using namespace std; void Light::set(Shader *shader, int index) { // Calculate light name in the shader string name = string("lights[") + to_string(index) + "]"; shader->setUniformVec3(name + ".position", this->position); shader->setUniformVec3(name + ".color...
26.4
61
0.691919
Je06jm
6b6a21685e6e2c8c524f2a49465f52a006a8281f
19,140
cpp
C++
rabbitcall/src/output/cpp_output_generator.cpp
JaniHonkanen/RabbitCall
2652e201ebcd6697cd25ec7e18163afa002c1016
[ "MIT" ]
null
null
null
rabbitcall/src/output/cpp_output_generator.cpp
JaniHonkanen/RabbitCall
2652e201ebcd6697cd25ec7e18163afa002c1016
[ "MIT" ]
null
null
null
rabbitcall/src/output/cpp_output_generator.cpp
JaniHonkanen/RabbitCall
2652e201ebcd6697cd25ec7e18163afa002c1016
[ "MIT" ]
null
null
null
#include "pch.h" void CppOutputGenerator::outputCallbackWrapper(CppFuncVar *callbackParam, CppFuncVar *enclosingFunction, CppClass *enclosingClassIfNotGlobal, StringBuilder &output, string *wrapperClassNameOut) { string wrapperClassName = cppProject->reserveCppGlobalIdentifier(sb() << OUTPUT_CALLBACK "_" << (enclosin...
43.205418
406
0.656426
JaniHonkanen
6b6cc7847f3f86a7cebd0eda68fdd9eb50c32684
10,163
cpp
C++
HW03_Philip_Mark/testing.cpp
idungoofed/advanced_cv
5399ad7b1a0e20e8eb9eb6e7ae1e5502be2db9f3
[ "MIT" ]
null
null
null
HW03_Philip_Mark/testing.cpp
idungoofed/advanced_cv
5399ad7b1a0e20e8eb9eb6e7ae1e5502be2db9f3
[ "MIT" ]
null
null
null
HW03_Philip_Mark/testing.cpp
idungoofed/advanced_cv
5399ad7b1a0e20e8eb9eb6e7ae1e5502be2db9f3
[ "MIT" ]
null
null
null
#include <opencv2/core/core.hpp> #include <opencv2/imgproc/imgproc.hpp> #include <opencv2/videoio/videoio.hpp> #include <opencv2/video/video.hpp> #include <opencv2/highgui/highgui.hpp> #include <iostream> #include <dirent.h> #include <cmath> using namespace cv; using namespace std; /** * Returns average frame bright...
34.334459
128
0.499065
idungoofed
6b72c261f0e0b3ef8d735fee244f1fa8df46d6b2
1,143
hpp
C++
android-31/android/util/SparseBooleanArray.hpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
12
2020-03-26T02:38:56.000Z
2022-03-14T08:17:26.000Z
android-31/android/util/SparseBooleanArray.hpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
1
2021-01-27T06:07:45.000Z
2021-11-13T19:19:43.000Z
android-29/android/util/SparseBooleanArray.hpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
3
2021-02-02T12:34:55.000Z
2022-03-08T07:45:57.000Z
#pragma once #include "../../JObject.hpp" class JObject; class JString; namespace android::util { class SparseBooleanArray : public JObject { public: // Fields // QJniObject forward template<typename ...Ts> explicit SparseBooleanArray(const char *className, const char *sig, Ts...agv) : JObject(className,...
25.977273
159
0.718285
YJBeetle
6b81eeb28a93fbd843174b4f73dc921571815db7
588
cpp
C++
Block3/es302/main302.cpp
andreadelprete/latex-cpp-exercises-simple
6e436b268e503d298e5ee642ed92095b5f6473c4
[ "Unlicense" ]
null
null
null
Block3/es302/main302.cpp
andreadelprete/latex-cpp-exercises-simple
6e436b268e503d298e5ee642ed92095b5f6473c4
[ "Unlicense" ]
null
null
null
Block3/es302/main302.cpp
andreadelprete/latex-cpp-exercises-simple
6e436b268e503d298e5ee642ed92095b5f6473c4
[ "Unlicense" ]
1
2021-09-02T07:02:52.000Z
2021-09-02T07:02:52.000Z
/* SUP che prende una stringa dall'utente che può essere anche una frase, comprensiva quindi di spazi e punteggiatura. Il programma ristampa la stessa stringa al contrario. */ #include <cstring> #include <iostream> #define LEN 100 using namespace std; int main() { char input[LEN]; cout <<...
18.967742
62
0.62415
andreadelprete
6b84c1fde81a77b51f7eb06b444d1206cff12b03
1,353
cpp
C++
kernel/sys/clone.cpp
otaviopace/ananas
849925915b0888543712a8ca625318cd7bca8dd9
[ "Zlib" ]
null
null
null
kernel/sys/clone.cpp
otaviopace/ananas
849925915b0888543712a8ca625318cd7bca8dd9
[ "Zlib" ]
null
null
null
kernel/sys/clone.cpp
otaviopace/ananas
849925915b0888543712a8ca625318cd7bca8dd9
[ "Zlib" ]
null
null
null
/*- * SPDX-License-Identifier: Zlib * * Copyright (c) 2009-2018 Rink Springer <rink@rink.nu> * For conditions of distribution and use, see LICENSE file */ #include <ananas/syscalls.h> #include <ananas/errno.h> #include "kernel/process.h" #include "kernel/result.h" #include "kernel/thread.h" #include "kernel/trace....
29.413043
82
0.661493
otaviopace
6b85e367c7382c6d4adbc3a7bd309581eeddb48c
1,124
cpp
C++
smolisa_py/examples/generate_video_stream.cpp
AsuMagic/smolisa-emu
96fb84fbb783024618cb0cc2096fb24021cf3e5e
[ "MIT" ]
null
null
null
smolisa_py/examples/generate_video_stream.cpp
AsuMagic/smolisa-emu
96fb84fbb783024618cb0cc2096fb24021cf3e5e
[ "MIT" ]
null
null
null
smolisa_py/examples/generate_video_stream.cpp
AsuMagic/smolisa-emu
96fb84fbb783024618cb0cc2096fb24021cf3e5e
[ "MIT" ]
null
null
null
#include <cstdint> #include <iostream> #include <stdexcept> constexpr std::size_t target_width = 80, target_height = 25; auto main() -> int { std::cerr << "Reading file from stdin\n"; std::istream& in = std::cin; std::ostream& out = std::cout; std::size_t width = 0; std::size_t height = 0; std::cin >> width...
16.776119
96
0.559609
AsuMagic
6b8d37c1441e822f0cb5c9a3083131a4af97dac7
2,158
cpp
C++
Sources/Splines/spline_item.cpp
j042/SplineLib
db92df816b9af44f2d4f4275897f9ed3341a6646
[ "MIT" ]
5
2021-07-08T09:44:44.000Z
2022-02-18T09:26:14.000Z
Sources/Splines/spline_item.cpp
j042/SplineLib
db92df816b9af44f2d4f4275897f9ed3341a6646
[ "MIT" ]
3
2021-06-28T07:25:02.000Z
2021-12-06T15:07:04.000Z
Sources/Splines/spline_item.cpp
j042/SplineLib
db92df816b9af44f2d4f4275897f9ed3341a6646
[ "MIT" ]
4
2021-05-31T16:34:18.000Z
2021-11-11T12:02:46.000Z
/* Copyright (c) 2018–2021 SplineLib 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, ...
46.913043
118
0.783596
j042
6b92a7f900ddc55713be965144806c470bbd23ff
4,117
cpp
C++
game/shared/entities/weapons/CTripmine.cpp
sohl-modders/SOHLEnhanced
71358d28bf65ba600f268368d2e4521c4158da72
[ "Unlicense" ]
null
null
null
game/shared/entities/weapons/CTripmine.cpp
sohl-modders/SOHLEnhanced
71358d28bf65ba600f268368d2e4521c4158da72
[ "Unlicense" ]
null
null
null
game/shared/entities/weapons/CTripmine.cpp
sohl-modders/SOHLEnhanced
71358d28bf65ba600f268368d2e4521c4158da72
[ "Unlicense" ]
null
null
null
/*** * * Copyright (c) 1996-2001, Valve LLC. All rights reserved. * * This product contains software technology licensed from Id * Software, Inc. ("Id Technology"). Id Technology (c) 1996 Id Software, Inc. * All Rights Reserved. * * Use, distribution, and modification of this source code and/or resulting * obje...
22.497268
135
0.692495
sohl-modders
6b99d2ede2abfb24905d95aded5ca5bb65697043
312
cpp
C++
src/widgets/propertydefs.cpp
15d23/vnote
ab453539e4e1914c91e805c485e15f3a33fff3c7
[ "MIT" ]
null
null
null
src/widgets/propertydefs.cpp
15d23/vnote
ab453539e4e1914c91e805c485e15f3a33fff3c7
[ "MIT" ]
null
null
null
src/widgets/propertydefs.cpp
15d23/vnote
ab453539e4e1914c91e805c485e15f3a33fff3c7
[ "MIT" ]
null
null
null
#include "propertydefs.h" using namespace vnotex; const char *PropertyDefs::s_actionToolButton = "ActionToolButton"; const char *PropertyDefs::s_toolButtonWithoutMenuIndicator = "NoMenuIndicator"; const char *PropertyDefs::s_dangerousButton = "DangerousButton"; const char *PropertyDefs::s_state = "State";
26
79
0.798077
15d23
6ba000b314ac67079d389af469570709ee4b5683
271
cpp
C++
Hacker Rank/Algorithms/Strings/CamelCase.cpp
AkbariNirav/Competitive-Coding
ad16bfb855dc9171171edad16768e1c5b6d15ca9
[ "Apache-2.0" ]
null
null
null
Hacker Rank/Algorithms/Strings/CamelCase.cpp
AkbariNirav/Competitive-Coding
ad16bfb855dc9171171edad16768e1c5b6d15ca9
[ "Apache-2.0" ]
null
null
null
Hacker Rank/Algorithms/Strings/CamelCase.cpp
AkbariNirav/Competitive-Coding
ad16bfb855dc9171171edad16768e1c5b6d15ca9
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <string> using namespace std; int main() { string input; int count =1; std::cin>>input; for(int i=0;i<input.length();i++) if(input[i]>=65 && input[i]<=90) count++; printf("%d",count); return 0; }
16.9375
40
0.538745
AkbariNirav
6ba4bb4242e113a7596ff3a5c4b3d8a7c98de3b2
1,402
hpp
C++
test_apps/STM32Cube_FW_F4_V1.24.0/Projects/STM32469I_EVAL/Demonstrations/TouchGFX/Gui/gui/include/gui/custom_controls_screen/ThreeWayProgressBarCircle.hpp
hwiwonl/ACES
9b9a6766a177c531384b863854459a7e016dbdcc
[ "NCSA" ]
null
null
null
test_apps/STM32Cube_FW_F4_V1.24.0/Projects/STM32469I_EVAL/Demonstrations/TouchGFX/Gui/gui/include/gui/custom_controls_screen/ThreeWayProgressBarCircle.hpp
hwiwonl/ACES
9b9a6766a177c531384b863854459a7e016dbdcc
[ "NCSA" ]
null
null
null
test_apps/STM32Cube_FW_F4_V1.24.0/Projects/STM32469I_EVAL/Demonstrations/TouchGFX/Gui/gui/include/gui/custom_controls_screen/ThreeWayProgressBarCircle.hpp
hwiwonl/ACES
9b9a6766a177c531384b863854459a7e016dbdcc
[ "NCSA" ]
null
null
null
/** ****************************************************************************** * This file is part of the TouchGFX 4.10.0 distribution. * * <h2><center>&copy; Copyright (c) 2018 STMicroelectronics. * All rights reserved.</center></h2> * * This software component is licensed by ST under Ultimate Libert...
28.612245
80
0.646933
hwiwonl