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
dd2ef15656b0263cc21efd1db28f38513ae3f63a
1,211
hpp
C++
include/minimax.hpp
JBarmentlo/Gomoku-AI
2b1b91f7a4a2707eeb65da8c27912f7266d4e92b
[ "MIT" ]
null
null
null
include/minimax.hpp
JBarmentlo/Gomoku-AI
2b1b91f7a4a2707eeb65da8c27912f7266d4e92b
[ "MIT" ]
null
null
null
include/minimax.hpp
JBarmentlo/Gomoku-AI
2b1b91f7a4a2707eeb65da8c27912f7266d4e92b
[ "MIT" ]
null
null
null
#ifndef MINIMAX_H #define MINIMAX_H #include "defines.hpp" #include "pattern.hpp" #include "state.hpp" #include "eval.hpp" #include "thread_pool.hpp" #include <deque> int minimax_single_fred(State state, int limit, std::deque<int> past_scores = std::deque<int>(), int depth = 0, int alpha = BLACK_WIN, int beta = W...
46.576923
185
0.735756
JBarmentlo
dd3053d1c9731640d77b57445d448c567b1d424c
2,932
cpp
C++
7DRL 2017/Projectile.cpp
marukrap/woozoolike
ca16b67bce61828dded707f1c529558646daf0b3
[ "MIT" ]
37
2017-03-26T00:20:49.000Z
2021-02-11T18:23:22.000Z
7DRL 2017/Projectile.cpp
marukrap/woozoolike
ca16b67bce61828dded707f1c529558646daf0b3
[ "MIT" ]
null
null
null
7DRL 2017/Projectile.cpp
marukrap/woozoolike
ca16b67bce61828dded707f1c529558646daf0b3
[ "MIT" ]
9
2017-03-24T04:38:35.000Z
2021-08-22T00:02:43.000Z
#include "Projectile.hpp" #include "Actor.hpp" #include "World.hpp" #include "Utility.hpp" // plotPath #include <cassert> Projectile::Projectile(Actor& actor, std::vector<sf::Vector2i> path) : Entity(L'\\', 0xea) , actor(actor) , path(path) { sf::Vector2i dir = path.front() - actor.getPosition(); ...
20.361111
102
0.633356
marukrap
dd307e3fbcae22a0dfa13366beafd27099f4b9c1
334
hpp
C++
src/JoinDialog.hpp
Ralith/nachat
7f58fe7ce9c71912a4001435d0ba82f52b8e5b19
[ "Apache-2.0" ]
52
2016-08-03T00:34:00.000Z
2019-10-26T09:46:11.000Z
src/JoinDialog.hpp
Ralith/nachat
7f58fe7ce9c71912a4001435d0ba82f52b8e5b19
[ "Apache-2.0" ]
10
2016-07-29T04:48:51.000Z
2018-02-22T05:11:12.000Z
src/JoinDialog.hpp
Ralith/nachat
7f58fe7ce9c71912a4001435d0ba82f52b8e5b19
[ "Apache-2.0" ]
16
2016-07-29T00:01:16.000Z
2018-08-10T20:03:10.000Z
#ifndef NATIVE_CHAT_JOIN_DIALOG_HPP_ #define NATIVE_CHAT_JOIN_DIALOG_HPP_ #include <QDialog> namespace Ui { class JoinDialog; } class JoinDialog : public QDialog { Q_OBJECT public: JoinDialog(QWidget *parent = nullptr); ~JoinDialog(); QString room(); void accept() override; private: Ui::JoinDialog *u...
12.846154
40
0.733533
Ralith
dd30b17e6a3b4f977abbbcc5b21de789ddb76324
909
cpp
C++
LeetCode/Algorithms/Medium/OnesAndZeroes.cpp
roshan11160/Competitive-Programming-Solutions
2d9cfe901c23a2b7344c410b7368eb02f7fa6e7e
[ "MIT" ]
40
2020-07-25T19:35:37.000Z
2022-01-28T02:57:02.000Z
LeetCode/Algorithms/Medium/OnesAndZeroes.cpp
afrozchakure/Hackerrank-Problem-Solutions
014155d841e08cb1f7609c23335576dc9b29cef3
[ "MIT" ]
160
2021-04-26T19:04:15.000Z
2022-03-26T20:18:37.000Z
LeetCode/Algorithms/Medium/OnesAndZeroes.cpp
afrozchakure/Hackerrank-Problem-Solutions
014155d841e08cb1f7609c23335576dc9b29cef3
[ "MIT" ]
24
2020-05-03T08:11:53.000Z
2021-10-04T03:23:20.000Z
// Return the size of the largest subset of strs such that there are at most m 0's and n 1's in the subset. class Solution { public: int findMaxForm(vector<string> &strs, int m, int n) { vector<vector<int>> memo(m + 1, vector<int>(n + 1, 0)); int numZeros, numOnes; for (auto &s : strs)...
25.971429
107
0.407041
roshan11160
dd3362004592eef59dc7eed25bde12e3d0934b33
4,060
hh
C++
src/Nn/NeuralNetwork.hh
alexanderrichard/squirrel
12614a9eb429500c8f341654043f33a1b6bd1d31
[ "AFL-3.0" ]
63
2016-07-08T13:35:27.000Z
2021-01-13T18:37:13.000Z
src/Nn/NeuralNetwork.hh
alexanderrichard/squirrel
12614a9eb429500c8f341654043f33a1b6bd1d31
[ "AFL-3.0" ]
4
2017-08-04T09:25:10.000Z
2022-02-24T15:38:52.000Z
src/Nn/NeuralNetwork.hh
alexanderrichard/squirrel
12614a9eb429500c8f341654043f33a1b6bd1d31
[ "AFL-3.0" ]
30
2016-05-11T02:24:46.000Z
2021-11-12T14:06:20.000Z
/* * Copyright 2016 Alexander Richard * * This file is part of Squirrel. * * Licensed under the Academic Free License 3.0 (the "License"). * You may not use this file except in compliance with the License. * You should have received a copy of the License along with Squirrel. * If not, see <https://opensource.or...
32.48
156
0.766256
alexanderrichard
dd3515a357b8ef97eafa3158ec23d4ca7256337e
733
hpp
C++
proxy/cert/certificate_generator.hpp
plater-inc/proxy
f277fd8b3b5bf19b29c8f07055b65ed34c9a8dda
[ "MIT" ]
null
null
null
proxy/cert/certificate_generator.hpp
plater-inc/proxy
f277fd8b3b5bf19b29c8f07055b65ed34c9a8dda
[ "MIT" ]
null
null
null
proxy/cert/certificate_generator.hpp
plater-inc/proxy
f277fd8b3b5bf19b29c8f07055b65ed34c9a8dda
[ "MIT" ]
null
null
null
#ifndef PROXY_CERT_GENERATE_CERTIFICATE_HPP #define PROXY_CERT_GENERATE_CERTIFICATE_HPP #include "rsa_maker.hpp" #include <boost/noncopyable.hpp> #include <boost/tuple/tuple.hpp> #include <string> namespace proxy { namespace cert { struct certificate_generator : private boost::noncopyable { certificate_generator(r...
26.178571
80
0.763984
plater-inc
dd38d788ed370d349a756f000bd5526fb2acef0e
4,777
cpp
C++
src/base.cpp
tansongchen/AwesomeLandlordBot
21bee7e09211258f5c5074f61e1c67c0da9291c5
[ "MIT" ]
null
null
null
src/base.cpp
tansongchen/AwesomeLandlordBot
21bee7e09211258f5c5074f61e1c67c0da9291c5
[ "MIT" ]
null
null
null
src/base.cpp
tansongchen/AwesomeLandlordBot
21bee7e09211258f5c5074f61e1c67c0da9291c5
[ "MIT" ]
null
null
null
#include "base.h" #include <algorithm> #include <iostream> #include <sstream> using namespace std; void output(const Group &group) { for (const auto &card : group) cout << card << " "; } Level card_to_level(Card card) { return card / 4 + card / 53; } Level char_to_level(char c) { switch (c) { case 't': cas...
27.454023
81
0.579024
tansongchen
dd3a0f55a0af65f4d10afb950121c92332eec956
8,496
cpp
C++
codeforces/contests/1523/E.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
18
2020-08-27T05:27:50.000Z
2022-03-08T02:56:48.000Z
codeforces/contests/1523/E.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
null
null
null
codeforces/contests/1523/E.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
1
2020-10-13T05:23:58.000Z
2020-10-13T05:23:58.000Z
#include <bits/stdc++.h> using namespace std; #pragma GCC optimize("Ofast") #pragma GCC target("avx,avx2,fma") typedef long long ll; typedef pair<int, int> pii; typedef pair<ll, ll> pll; typedef pair<string, string> pss; typedef vector<int> vi; typedef vector<vi> vvi; typedef vector<pii> vii; typedef vector<ll> vl; t...
28.702703
116
0.558145
wingkwong
dd3a313bda7373a86c693fa4ab2922c2fb931887
2,186
cpp
C++
test/core/image_view/planar_rgba_view.cpp
NEDJIMAbelgacem/gil
8ea3644825d4b2dcabda6d4ce6281d4882f45c61
[ "BSL-1.0" ]
1
2020-04-07T18:50:07.000Z
2020-04-07T18:50:07.000Z
test/core/image_view/planar_rgba_view.cpp
NEDJIMAbelgacem/gil
8ea3644825d4b2dcabda6d4ce6281d4882f45c61
[ "BSL-1.0" ]
null
null
null
test/core/image_view/planar_rgba_view.cpp
NEDJIMAbelgacem/gil
8ea3644825d4b2dcabda6d4ce6281d4882f45c61
[ "BSL-1.0" ]
null
null
null
// // Copyright 2018 Mateusz Loskot <mateusz at loskot dot net> // // 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 BOOST_TEST_MODULE gil/test/core/image_view/planar_rgba_view #include "unit_test.hpp" #in...
34.15625
137
0.677493
NEDJIMAbelgacem
dd41bbba0f95f841235af704233656192771ae61
430
cpp
C++
main.cpp
gflix/QtBitmapFontDesigner
1fa7b9523d51d841328f6149c6720cfe25e45293
[ "MIT" ]
null
null
null
main.cpp
gflix/QtBitmapFontDesigner
1fa7b9523d51d841328f6149c6720cfe25e45293
[ "MIT" ]
null
null
null
main.cpp
gflix/QtBitmapFontDesigner
1fa7b9523d51d841328f6149c6720cfe25e45293
[ "MIT" ]
1
2022-03-17T03:42:49.000Z
2022-03-17T03:42:49.000Z
#include <QApplication> #include <QDebug> #include <QImageWriter> #include "mainwindow.h" int main(int argc, char *argv[]) { if (!QImageWriter::supportedImageFormats().contains("png")) { qCritical() << "Your Qt installation does not support writing PNG files! Aborting."; return -1; } q...
21.5
92
0.64186
gflix
dd42e2299952576abfc5c3e0dd064ac7445070db
3,010
cc
C++
openfl-webm/0,0,4/project/libvpx-generic/test/idctllm_test.cc
kudorado/HaxePlus
b312ad16420aa31731e55a1ac5f282cc46a557fc
[ "Apache-2.0" ]
null
null
null
openfl-webm/0,0,4/project/libvpx-generic/test/idctllm_test.cc
kudorado/HaxePlus
b312ad16420aa31731e55a1ac5f282cc46a557fc
[ "Apache-2.0" ]
null
null
null
openfl-webm/0,0,4/project/libvpx-generic/test/idctllm_test.cc
kudorado/HaxePlus
b312ad16420aa31731e55a1ac5f282cc46a557fc
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2010 The WebM 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 in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contributin...
23.888889
71
0.522591
kudorado
dd433bb40cca08baa391b4f92040225e8dfc141f
1,052
hpp
C++
libs/fnd/utility/include/bksge/fnd/utility.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
4
2018-06-10T13:35:32.000Z
2021-06-03T14:27:41.000Z
libs/fnd/utility/include/bksge/fnd/utility.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
566
2017-01-31T05:36:09.000Z
2022-02-09T05:04:37.000Z
libs/fnd/utility/include/bksge/fnd/utility.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
1
2018-07-05T04:40:53.000Z
2018-07-05T04:40:53.000Z
/** * @file utility.hpp * * @brief Utility library * * @author myoukaku */ #ifndef BKSGE_FND_UTILITY_HPP #define BKSGE_FND_UTILITY_HPP #include <bksge/fnd/utility/as_const.hpp> #include <bksge/fnd/utility/cmp_equal.hpp> #include <bksge/fnd/utility/cmp_greater.hpp> #include <bksge/fnd/utility/cmp_...
32.875
55
0.769011
myoukaku
dd43b4aa0c856bafbcb4ac3ea568666a8dd8d8c9
4,655
cc
C++
trunks/csme/mei_client_factory.cc
Toromino/chromiumos-platform2
97e6ba18f0e5ab6723f3448a66f82c1a07538d87
[ "BSD-3-Clause" ]
null
null
null
trunks/csme/mei_client_factory.cc
Toromino/chromiumos-platform2
97e6ba18f0e5ab6723f3448a66f82c1a07538d87
[ "BSD-3-Clause" ]
null
null
null
trunks/csme/mei_client_factory.cc
Toromino/chromiumos-platform2
97e6ba18f0e5ab6723f3448a66f82c1a07538d87
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2021 The Chromium OS 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 "trunks/csme/mei_client_factory.h" #include <memory> #include <string> #include <base/files/file_path.h> #include <base/files/file_util.h> #...
30.424837
80
0.720301
Toromino
dd46f1b2015bc2b587f3c2485ded71b9bce52874
612
hpp
C++
Boss/Mod/ConnectFinderByHardcode.hpp
3nprob/clboss
0435b6c074347ce82e490a5988534054e9d7348d
[ "MIT" ]
108
2020-10-01T17:12:40.000Z
2022-03-30T09:18:03.000Z
Boss/Mod/ConnectFinderByHardcode.hpp
3nprob/clboss
0435b6c074347ce82e490a5988534054e9d7348d
[ "MIT" ]
94
2020-10-03T13:40:30.000Z
2022-03-30T09:18:00.000Z
Boss/Mod/ConnectFinderByHardcode.hpp
3nprob/clboss
0435b6c074347ce82e490a5988534054e9d7348d
[ "MIT" ]
17
2020-10-29T13:27:59.000Z
2022-03-18T13:05:03.000Z
#ifndef BOSS_MOD_CONNECTFINDERBYHARDCODE_HPP #define BOSS_MOD_CONNECTFINDERBYHARDCODE_HPP #include<memory> namespace S { class Bus; } namespace Boss { namespace Mod { /** class Boss::Mod::ConnectFinderByHardcode * * @brief provides some possible connection * candidates from a hardcoded list. */ class ConnectFin...
20.4
52
0.78268
3nprob
dd4838a1eec025dab1bc990b6f4a0469eef844e5
484
cpp
C++
doc/source/overview/functor.cpp
fujiehuang/ecto
fea744337aa1fad1397c9a3ba5baa143993cb5eb
[ "BSD-3-Clause" ]
77
2015-01-30T15:45:43.000Z
2022-03-03T02:29:37.000Z
doc/source/overview/functor.cpp
fujiehuang/ecto
fea744337aa1fad1397c9a3ba5baa143993cb5eb
[ "BSD-3-Clause" ]
37
2015-01-18T21:04:36.000Z
2021-07-09T08:24:54.000Z
doc/source/overview/functor.cpp
fujiehuang/ecto
fea744337aa1fad1397c9a3ba5baa143993cb5eb
[ "BSD-3-Clause" ]
29
2015-02-17T14:37:18.000Z
2021-11-16T07:46:26.000Z
#include <iostream> #include <string> //start struct Printer { Printer(const std::string& prefix, const std::string& suffix) : prefix_(prefix), suffix_(suffix) { } void operator()(std::ostream& out, const std::string& message) { out << prefix_ << message << suffix_; } std::stri...
16.689655
63
0.60124
fujiehuang
dd4877305f4c2b8a449f605b1390ae134871cba2
10,135
cc
C++
src/remote_adapter/remote_adapter_client/remote_client/tests/remote_client_test.cc
LuxoftSDL/sdl_atf
454487dafdc422db724cceb02827a6738e93203b
[ "BSD-3-Clause" ]
6
2016-03-04T20:27:37.000Z
2021-11-06T08:05:00.000Z
src/remote_adapter/remote_adapter_client/remote_client/tests/remote_client_test.cc
smartdevicelink/sdl_atf
08354ae6633169513639a3d9257acd1229a5caa2
[ "BSD-3-Clause" ]
122
2016-03-09T20:03:50.000Z
2022-01-31T14:26:36.000Z
src/remote_adapter/remote_adapter_client/remote_client/tests/remote_client_test.cc
smartdevicelink/sdl_atf
08354ae6633169513639a3d9257acd1229a5caa2
[ "BSD-3-Clause" ]
41
2016-03-10T09:34:00.000Z
2020-12-01T09:08:24.000Z
#include "gmock/gmock.h" #include "gtest/gtest.h" #include "common/constants.h" #include "mock_rpc_connection.h" #include "remote_client.h" namespace test { static constexpr const char *kRpcName = "Test_RPC"; static const rpc_parameter kEmptyParameter; using rpc_connection::connection_ptr; using ::testing::_; usin...
35.939716
80
0.741589
LuxoftSDL
dd510d529f7f6ad984c58682d60dc73be915849e
7,204
cpp
C++
src/projects/smc_validation/test_SMC_cor_normal.cpp
rserban/chrono
bee5e30b2ce3b4ac62324799d1366b6db295830e
[ "BSD-3-Clause" ]
1
2020-03-05T13:00:41.000Z
2020-03-05T13:00:41.000Z
src/projects/smc_validation/test_SMC_cor_normal.cpp
rserban/chrono
bee5e30b2ce3b4ac62324799d1366b6db295830e
[ "BSD-3-Clause" ]
null
null
null
src/projects/smc_validation/test_SMC_cor_normal.cpp
rserban/chrono
bee5e30b2ce3b4ac62324799d1366b6db295830e
[ "BSD-3-Clause" ]
1
2022-03-27T15:12:24.000Z
2022-03-27T15:12:24.000Z
// ============================================================================= // PROJECT CHRONO - http://projectchrono.org // // Copyright (c) 2014 projectchrono.org // All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found // in the LICENSE file at the top level of t...
43.660606
118
0.524847
rserban
dd5474b66b8284cd088d0fc010d5bde17f7be4db
461
cpp
C++
CPP-OpenGL/Draw My Aurora/interface/src/main.cpp
lun0522/Draw-My-Aurora
dd3bc149d162a6c2e53d626bf9bdcf6b62433f09
[ "Apache-2.0" ]
null
null
null
CPP-OpenGL/Draw My Aurora/interface/src/main.cpp
lun0522/Draw-My-Aurora
dd3bc149d162a6c2e53d626bf9bdcf6b62433f09
[ "Apache-2.0" ]
null
null
null
CPP-OpenGL/Draw My Aurora/interface/src/main.cpp
lun0522/Draw-My-Aurora
dd3bc149d162a6c2e53d626bf9bdcf6b62433f09
[ "Apache-2.0" ]
null
null
null
// // main.cpp // Draw My Aurora // // Created by Pujun Lun on 4/6/18. // Copyright © 2018 Pujun Lun. All rights reserved. // #include <iostream> #include "drawpath.hpp" using namespace std; int main(int argc, const char * argv[]) { try { DrawPath pathEditor; pathEditor.mainLoop(); g...
17.074074
52
0.572668
lun0522
dd567373adbfeea697f13831a0b1da6729f31d95
7,094
hpp
C++
include/depthai-bootloader-shared/Bootloader.hpp
diablodale/depthai-bootloader-shared
126f344155346836a6a2d67b0993c161b6b48729
[ "MIT" ]
2
2020-11-01T22:28:01.000Z
2021-02-25T23:10:24.000Z
include/depthai-bootloader-shared/Bootloader.hpp
diablodale/depthai-bootloader-shared
126f344155346836a6a2d67b0993c161b6b48729
[ "MIT" ]
2
2022-01-20T17:59:28.000Z
2022-01-25T14:15:37.000Z
include/depthai-bootloader-shared/Bootloader.hpp
diablodale/depthai-bootloader-shared
126f344155346836a6a2d67b0993c161b6b48729
[ "MIT" ]
3
2021-05-17T13:33:22.000Z
2022-03-19T07:06:12.000Z
#pragma once // std #include <cstdint> #include <map> // project #include "Type.hpp" #include "Section.hpp" #include "Memory.hpp" namespace dai { namespace bootloader { namespace request { enum Command : uint32_t { USB_ROM_BOOT = 0, BOOT_APPLICATION, UPDATE_FLASH, GET_BOOTLOADER...
25.245552
71
0.605018
diablodale
dd5787423333979e0ab2b1dc49e884180f35d81e
2,176
hpp
C++
books/tech/cpp/std-14/m_gregoire-professional_cpp-3_ed/ch_21-advanced_templates/07-another_form_of_partial_specialization/grid_ptr.hpp
ordinary-developer/education
1b1f40dacab873b28ee01dfa33a9bd3ec4cfed58
[ "MIT" ]
null
null
null
books/tech/cpp/std-14/m_gregoire-professional_cpp-3_ed/ch_21-advanced_templates/07-another_form_of_partial_specialization/grid_ptr.hpp
ordinary-developer/education
1b1f40dacab873b28ee01dfa33a9bd3ec4cfed58
[ "MIT" ]
null
null
null
books/tech/cpp/std-14/m_gregoire-professional_cpp-3_ed/ch_21-advanced_templates/07-another_form_of_partial_specialization/grid_ptr.hpp
ordinary-developer/education
1b1f40dacab873b28ee01dfa33a9bd3ec4cfed58
[ "MIT" ]
null
null
null
#pragma once #include "grid.hpp" #include <memory> template <typename T> class Grid<T*> { public: explicit Grid(size_t width = kDefaultWidth, size_t height = kDefaultHeight); Grid(Grid<T*> const& src); virtual ~Grid() = default; Grid<T*>& operator=(Grid<T*> ...
23.912088
75
0.609375
ordinary-developer
dd5ae1f790c6f97368b4c1d362a5116a6d06259d
5,202
cpp
C++
server/daemon/main.cpp
emacsmirror/lsp-p4
669460d93b87fb876df11b2b68229677e7ad1a26
[ "MIT" ]
15
2018-04-08T06:45:56.000Z
2022-01-13T12:47:19.000Z
server/daemon/main.cpp
emacsmirror/lsp-p4
669460d93b87fb876df11b2b68229677e7ad1a26
[ "MIT" ]
12
2018-12-30T11:45:38.000Z
2021-12-20T10:24:19.000Z
server/daemon/main.cpp
emacsmirror/lsp-p4
669460d93b87fb876df11b2b68229677e7ad1a26
[ "MIT" ]
4
2018-04-01T18:45:27.000Z
2020-11-06T23:28:58.000Z
#define BOOST_LOG_USE_NATIVE_SYSLOG #include "lsp_server.h" #include <boost/core/null_deleter.hpp> #include <boost/date_time/posix_time/posix_time_types.hpp> #include <boost/log/attributes.hpp> #include <boost/log/common.hpp> #include <boost/log/expressions.hpp> #include <boost/log/sinks/sync_frontend.hpp> #include <...
32.310559
136
0.668205
emacsmirror
dd5db0c0a0273185a12b41f41a87dff3822db3cc
4,585
hpp
C++
src/butterfly/public/butterfly/flattened_serializer.hpp
ButterflyStats/butterfly
339e91a882cadc1a8f72446616f7d7f1480c3791
[ "Apache-2.0" ]
19
2017-04-13T07:46:59.000Z
2021-12-05T20:58:54.000Z
src/butterfly/public/butterfly/flattened_serializer.hpp
ButterflyStats/butterfly
339e91a882cadc1a8f72446616f7d7f1480c3791
[ "Apache-2.0" ]
5
2018-03-21T17:06:23.000Z
2021-12-03T10:58:46.000Z
src/butterfly/public/butterfly/flattened_serializer.hpp
ButterflyStats/butterfly
339e91a882cadc1a8f72446616f7d7f1480c3791
[ "Apache-2.0" ]
4
2018-03-11T12:12:07.000Z
2020-11-17T07:46:37.000Z
/** * @file flattened_serializer.hpp * @author Robin Dietrich <me (at) invokr (dot) org> * * @par License * Butterfly Replay Parser * Copyright 2014-2016 Robin Dietrich * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the Lice...
31.40411
102
0.606325
ButterflyStats
e5776cdb74b9e77981175b3832ee10b23e5a8aa0
1,620
cpp
C++
src/Avalanche/Output.cpp
EvanJRichard/wallet-core
c228cf400827856fac055a42f842f0b1a37fc9ee
[ "MIT" ]
null
null
null
src/Avalanche/Output.cpp
EvanJRichard/wallet-core
c228cf400827856fac055a42f842f0b1a37fc9ee
[ "MIT" ]
1
2021-03-03T17:23:34.000Z
2021-03-03T17:24:50.000Z
src/Avalanche/Output.cpp
EvanJRichard/wallet-core
c228cf400827856fac055a42f842f0b1a37fc9ee
[ "MIT" ]
null
null
null
// Copyright © 2017-2020 Trust Wallet. // // This file is part of Trust. The full Trust copyright notice, including // terms governing use, modification, and redistribution, is contained in the // file LICENSE at the root of the source code distribution tree. #include "../BinaryCoding.h" #include "Output.h" using nam...
36.818182
140
0.619136
EvanJRichard
e57d28a6484083152eda26da625041181a622e8e
93
cpp
C++
KGE/Core/ClassCapabilities/ClassFactory.cpp
jkeywo/KGE
5ad2619a4e205dd549cdf638854db356a80694ea
[ "MIT" ]
1
2016-08-10T14:03:29.000Z
2016-08-10T14:03:29.000Z
KGE/Core/ClassCapabilities/ClassFactory.cpp
jkeywo/KGE
5ad2619a4e205dd549cdf638854db356a80694ea
[ "MIT" ]
null
null
null
KGE/Core/ClassCapabilities/ClassFactory.cpp
jkeywo/KGE
5ad2619a4e205dd549cdf638854db356a80694ea
[ "MIT" ]
null
null
null
#include "KGE.hpp" #include "Core/ClassCapabilities/ClassFactory.hpp" namespace KGE { };
9.3
50
0.731183
jkeywo
e57ed5b81b770ae0a7ec4bb2ce5ae9f7ae9042e1
5,481
cpp
C++
Minecraft/main.cpp
borbrudar/Minecraft_clone
117fbe94390f96e3a6227129de60c08a5cc2ccdc
[ "MIT" ]
null
null
null
Minecraft/main.cpp
borbrudar/Minecraft_clone
117fbe94390f96e3a6227129de60c08a5cc2ccdc
[ "MIT" ]
null
null
null
Minecraft/main.cpp
borbrudar/Minecraft_clone
117fbe94390f96e3a6227129de60c08a5cc2ccdc
[ "MIT" ]
null
null
null
#include <glad/glad.h> #include <GLFW/glfw3.h> #include <glm/glm.hpp> #include <glm/gtc/matrix_transform.hpp> #include <glm/gtc/type_ptr.hpp> #include "Shader.h" #include "Camera.h" #include "World.h" #include "State.h" #include "Menu.h" #include "Crosshair.h" #include "Light.h" #include <iostream> #include <functio...
29.788043
118
0.711002
borbrudar
e57f89777e9d75938abf3e8db1555548c7e350e2
158
hpp
C++
igb_util/tbl.hpp
centrevillage/igb_sdk
9c7fc06a016ddb281f5ba3602abae8de8ae5b8f5
[ "MIT" ]
null
null
null
igb_util/tbl.hpp
centrevillage/igb_sdk
9c7fc06a016ddb281f5ba3602abae8de8ae5b8f5
[ "MIT" ]
null
null
null
igb_util/tbl.hpp
centrevillage/igb_sdk
9c7fc06a016ddb281f5ba3602abae8de8ae5b8f5
[ "MIT" ]
null
null
null
#ifndef IGB_UTIL_TBL_H #define IGB_UTIL_TBL_H #include <cstdint> namespace igb { extern const uint32_t euclid_tbl_32[32]; } #endif /* IGB_UTIL_TBL_H */
11.285714
40
0.753165
centrevillage
e580f7ee4d42f78a71c76ce2b3086842041142f6
3,896
cc
C++
lib/src/whereami.cc
GabrielNagy/libwhereami
8061b056b38ad2508b735465eae4bd9817091183
[ "Apache-2.0" ]
16
2017-07-12T05:58:59.000Z
2022-03-11T01:07:10.000Z
lib/src/whereami.cc
GabrielNagy/libwhereami
8061b056b38ad2508b735465eae4bd9817091183
[ "Apache-2.0" ]
41
2017-07-07T16:44:57.000Z
2019-08-27T13:05:38.000Z
lib/src/whereami.cc
GabrielNagy/libwhereami
8061b056b38ad2508b735465eae4bd9817091183
[ "Apache-2.0" ]
16
2017-07-05T15:23:40.000Z
2022-03-17T21:11:20.000Z
#include <whereami/whereami.hpp> #include <whereami/version.h> #include <internal/vm.hpp> #include <internal/sources/cgroup_source.hpp> #include <internal/sources/cpuid_source.hpp> #include <internal/sources/lparstat_source.hpp> #include <internal/detectors/docker_detector.hpp> #include <internal/detectors/hyperv_detec...
27.828571
108
0.676335
GabrielNagy
e581fb335b92117aab311fa664440c6cc745a6a7
8,584
cpp
C++
src/gspan_cuda/tests/gspan_test.cpp
zakimjz/GPU_graph_mining
22ba73bea97533ed6b2af613bd263ef4d869e71a
[ "Apache-2.0" ]
2
2020-05-13T09:09:50.000Z
2021-07-16T12:51:53.000Z
src/gspan_cuda/tests/gspan_test.cpp
zakimjz/GPU_graph_mining
22ba73bea97533ed6b2af613bd263ef4d869e71a
[ "Apache-2.0" ]
null
null
null
src/gspan_cuda/tests/gspan_test.cpp
zakimjz/GPU_graph_mining
22ba73bea97533ed6b2af613bd263ef4d869e71a
[ "Apache-2.0" ]
1
2022-03-22T01:15:33.000Z
2022-03-22T01:15:33.000Z
#include <string> #include <iomanip> #include <iostream> #include <graph_output.hpp> #include <graph_types.hpp> #include <logger.hpp> #include <utils.hpp> #include <dbio.hpp> #include <memory_checker.hpp> #include <gspan_cuda.hpp> #include <test_support.hpp> #include <gspan.hpp> #include <gspan_cuda_lists.hpp> #incl...
33.795276
137
0.726468
zakimjz
e58210f26fc474f5d08ca8c3c7683221196f9f0c
912
cpp
C++
src/libraries/KIRK/Utils/LogStream.cpp
lucashilbig/BA_Pathtracing_Fur
bed01d44ef93ff674436e002c82cb8c4663e2832
[ "MIT" ]
null
null
null
src/libraries/KIRK/Utils/LogStream.cpp
lucashilbig/BA_Pathtracing_Fur
bed01d44ef93ff674436e002c82cb8c4663e2832
[ "MIT" ]
null
null
null
src/libraries/KIRK/Utils/LogStream.cpp
lucashilbig/BA_Pathtracing_Fur
bed01d44ef93ff674436e002c82cb8c4663e2832
[ "MIT" ]
null
null
null
/* * RT * LogStream.cpp * * @author: Hendrik Schwanekamp * @mail: hendrik.schwanekamp@gmx.net * * Implements the LogStream class, which provides stream style input for captain KIRKS log.(see Log.h) * * */ // includes //-------------------- #include "LogStream.h" //-------------------- // namespace //-----...
21.209302
135
0.566886
lucashilbig
e5843478dbdf15ec767427a3747a0d7e46e86e3a
39,066
cpp
C++
CompilerGenerator/lib/dregx/Grammar.cpp
Deruago/DREGX
f3221b137ae64a5d176095bcbb6472f6c356ad32
[ "Apache-2.0" ]
1
2022-02-18T19:46:46.000Z
2022-02-18T19:46:46.000Z
CompilerGenerator/lib/dregx/Grammar.cpp
Deruago/DREGX
f3221b137ae64a5d176095bcbb6472f6c356ad32
[ "Apache-2.0" ]
null
null
null
CompilerGenerator/lib/dregx/Grammar.cpp
Deruago/DREGX
f3221b137ae64a5d176095bcbb6472f6c356ad32
[ "Apache-2.0" ]
null
null
null
/* * This file is auto-generated and auto-maintained by DLDL * Do not change code in this as it can be overwritten. * * For more information see the DLDL repo: https://github.com/Deruago/DLDL * For more information about Deamer: https://github.com/Deruago/theDeamerProject */ #include "dregx/Grammar.h" #include ...
115.922849
1,160
0.823094
Deruago
e585362947b3f83e240e63a1a23faeb270f9ec20
134
cpp
C++
clang-ast/functions.cpp
strandfield/cxxast
423e383b7d85d1c1c9299f86fec9b2231031ee78
[ "MIT" ]
null
null
null
clang-ast/functions.cpp
strandfield/cxxast
423e383b7d85d1c1c9299f86fec9b2231031ee78
[ "MIT" ]
null
null
null
clang-ast/functions.cpp
strandfield/cxxast
423e383b7d85d1c1c9299f86fec9b2231031ee78
[ "MIT" ]
null
null
null
void foo(int a = 3 + 5) { int b = a + 2; } int add(int a, int b) { return a + b; } int bar() = delete; struct A { }; A aa();
7.882353
23
0.470149
strandfield
e58965da2cee30be0d50e000f5ee49d8f91f20e4
743
hpp
C++
include/engge/System/Locator.hpp
scemino/engge
3362ad56b67f58bdc89f7eb1a77f0f75bd350e1f
[ "MIT" ]
127
2018-12-09T18:40:02.000Z
2022-03-06T00:10:07.000Z
include/engge/System/Locator.hpp
scemino/engge
3362ad56b67f58bdc89f7eb1a77f0f75bd350e1f
[ "MIT" ]
267
2019-02-26T22:16:48.000Z
2022-02-09T09:49:22.000Z
include/engge/System/Locator.hpp
scemino/engge
3362ad56b67f58bdc89f7eb1a77f0f75bd350e1f
[ "MIT" ]
17
2019-02-26T20:45:34.000Z
2021-06-17T15:06:26.000Z
#pragma once #include <memory> namespace ng { class Logger; class EntityManager; template<typename TService> struct Locator { Locator() = delete; ~Locator() = delete; inline static void set(std::shared_ptr<TService> pService) { m_pService = std::move(pService); } template<class ..._Args> inline stat...
19.552632
87
0.690444
scemino
e58a18d6aca290cb740b0caee670f009eec36830
760
cpp
C++
Arquivos Extras/TP/PROJETO/mainCervejaUnd.cpp
noemiacintia/TP
d2eeeac4288e22db74ace693a1bf763bfb84dfc1
[ "MIT" ]
2
2021-03-13T14:43:43.000Z
2021-07-05T22:14:05.000Z
Arquivos Extras/TP/PROJETO/mainCervejaUnd.cpp
noemiacintia/TP
d2eeeac4288e22db74ace693a1bf763bfb84dfc1
[ "MIT" ]
null
null
null
Arquivos Extras/TP/PROJETO/mainCervejaUnd.cpp
noemiacintia/TP
d2eeeac4288e22db74ace693a1bf763bfb84dfc1
[ "MIT" ]
null
null
null
#include "Cervejaria.cpp" #include "CervejaUnd.cpp" #include <locale> int main( ){ setlocale (LC_ALL, "Portuguese"); string pValidade, nome, codigo; float unidade, qntUnidade, preco; cout<<"Entre com o nome: "<<endl; getline(cin,nome); cout<<"Entre com o código: "<<endl; cin>>codigo; ...
27.142857
80
0.647368
noemiacintia
e58aa83b8d8783764c3f462c2357a4e145741108
14,874
cpp
C++
platform/wm/rhodes/rho/rubyext/GeoLocationImpl.cpp
mensfeld/rhodes
2962610a314ed563a0b7c83fcae6136913a1b033
[ "MIT" ]
173
2015-01-02T11:14:08.000Z
2022-03-05T09:54:54.000Z
platform/wm/rhodes/rho/rubyext/GeoLocationImpl.cpp
mensfeld/rhodes
2962610a314ed563a0b7c83fcae6136913a1b033
[ "MIT" ]
263
2015-01-05T04:35:22.000Z
2021-09-07T06:00:02.000Z
platform/wm/rhodes/rho/rubyext/GeoLocationImpl.cpp
watusi/rhodes
07161cca58ff6a960bbd1b79b36447b819bfa0eb
[ "MIT" ]
77
2015-01-12T20:57:18.000Z
2022-02-17T15:15:14.000Z
/*------------------------------------------------------------------------ * (The MIT License) * * Copyright (c) 2008-2011 Rhomobile, Inc. * * 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 ...
22.847926
268
0.661893
mensfeld
e58bd11358f20b23fb3950f147a9474f656c3c54
841
hpp
C++
third_party/boost/simd/detail/dispatch/function.hpp
SylvainCorlay/pythran
908ec070d837baf77d828d01c3e35e2f4bfa2bfa
[ "BSD-3-Clause" ]
6
2018-02-25T22:23:33.000Z
2021-01-15T15:13:12.000Z
third_party/boost/simd/detail/dispatch/function.hpp
SylvainCorlay/pythran
908ec070d837baf77d828d01c3e35e2f4bfa2bfa
[ "BSD-3-Clause" ]
null
null
null
third_party/boost/simd/detail/dispatch/function.hpp
SylvainCorlay/pythran
908ec070d837baf77d828d01c3e35e2f4bfa2bfa
[ "BSD-3-Clause" ]
7
2017-12-12T12:36:31.000Z
2020-02-10T14:27:07.000Z
//================================================================================================== /*! @file Gateway header for dispatched function and callable object helpers @copyright 2016 NumScale SAS Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy...
36.565217
100
0.617122
SylvainCorlay
e58d230f12544730c43fd2986347fa7e9fd6aa8c
1,997
cpp
C++
ocuequation/sol_project3d.cpp
maexlich/opencurrent
a51c5a8105563d2f7e260ee7debf79bda2c2dcf0
[ "Apache-2.0" ]
4
2016-11-16T15:29:31.000Z
2018-03-27T03:29:14.000Z
ocuequation/sol_project3d.cpp
laosunhust/FluidSolver
d0c7fa235853863efdf44b742c70cf6673c8cf9e
[ "Apache-2.0" ]
1
2020-01-26T12:29:00.000Z
2020-01-26T13:56:20.000Z
ocuequation/sol_project3d.cpp
laosunhust/FluidSolver
d0c7fa235853863efdf44b742c70cf6673c8cf9e
[ "Apache-2.0" ]
1
2018-02-14T16:13:13.000Z
2018-02-14T16:13:13.000Z
/* * Copyright 2008-2009 NVIDIA Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
27.736111
126
0.689034
maexlich
e58ed9392c9ae65e6ee5203e04719ebcaf119c45
1,044
cpp
C++
src/plugins/lmp/nativeplaylist.cpp
Maledictus/leechcraft
79ec64824de11780b8e8bdfd5d8a2f3514158b12
[ "BSL-1.0" ]
120
2015-01-22T14:10:39.000Z
2021-11-25T12:57:16.000Z
src/plugins/lmp/nativeplaylist.cpp
Maledictus/leechcraft
79ec64824de11780b8e8bdfd5d8a2f3514158b12
[ "BSL-1.0" ]
8
2015-02-07T19:38:19.000Z
2017-11-30T20:18:28.000Z
src/plugins/lmp/nativeplaylist.cpp
Maledictus/leechcraft
79ec64824de11780b8e8bdfd5d8a2f3514158b12
[ "BSL-1.0" ]
33
2015-02-07T16:59:55.000Z
2021-10-12T00:36:40.000Z
/********************************************************************** * LeechCraft - modular cross-platform feature rich internet client. * Copyright (C) 2006-2014 Georg Rudoy * * Distributed under the Boost Software License, Version 1.0. * (See accompanying file LICENSE or copy at https://www.boost.org/LICENSE...
26.769231
83
0.600575
Maledictus
e5917f08733e197344d80345a301c19b1de243ae
3,467
cpp
C++
test/resources/wxexamples/min_wx_widgets.cpp
Manu343726/biicode-common
91b32c6fd1e4a72ce5451183f1766d313cd0e420
[ "MIT" ]
17
2015-04-15T09:40:23.000Z
2017-05-17T20:34:49.000Z
test/resources/wxexamples/min_wx_widgets.cpp
Manu343726/biicode-common
91b32c6fd1e4a72ce5451183f1766d313cd0e420
[ "MIT" ]
2
2015-04-22T11:29:36.000Z
2018-09-25T09:31:09.000Z
test/resources/wxexamples/min_wx_widgets.cpp
bowlofstew/common
45e9ca902be7bbbdd73dafe3ab8957bc4a006020
[ "MIT" ]
22
2015-04-15T09:46:00.000Z
2020-09-29T17:03:31.000Z
#include "wx/wx.h" // Define a new application type, each program should derive a class from wxApp class MyApp : public wxApp { public: virtual bool OnInit(); }; // Define a new frame type: this is going to be our main frame class MyFrame : public wxFrame { public: // ctor(s) MyFrame(const wxS...
24.764286
79
0.547736
Manu343726
e5927ffb529c65b9f5e55dbb433a58c5c6b78421
896
cpp
C++
PC_Aula_04/sumofthreevalues/main.cpp
ElizabethYasmin/PC
e3cd03d7f80fae366df1181d5b87514ea8ee597c
[ "MIT" ]
null
null
null
PC_Aula_04/sumofthreevalues/main.cpp
ElizabethYasmin/PC
e3cd03d7f80fae366df1181d5b87514ea8ee597c
[ "MIT" ]
null
null
null
PC_Aula_04/sumofthreevalues/main.cpp
ElizabethYasmin/PC
e3cd03d7f80fae366df1181d5b87514ea8ee597c
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <utility> #include <algorithm> #include <map> #include <iterator> #include <unordered_map> using namespace std; //entrada //4 8 //2 7 5 1 //salida //1 3 4 int main(){ ios_base::sync_with_stdio(0); cin.tie(0); int n,x; cin >> n >> x; vector<pair<int, int>> arr; for(in...
20.837209
71
0.534598
ElizabethYasmin
e5948e8070bfbf1ea11438202b237294b3949a8f
2,027
cpp
C++
skse64/nva_skse_plugin/main.cpp
michaeljdietz/NpcVoiceActivation
df62efc5e6ed9510e4f9423561071d7119a3a44b
[ "MIT" ]
1
2020-02-11T12:25:39.000Z
2020-02-11T12:25:39.000Z
skse64/nva_skse_plugin/main.cpp
michaeljdietz/NpcVoiceActivation
df62efc5e6ed9510e4f9423561071d7119a3a44b
[ "MIT" ]
null
null
null
skse64/nva_skse_plugin/main.cpp
michaeljdietz/NpcVoiceActivation
df62efc5e6ed9510e4f9423561071d7119a3a44b
[ "MIT" ]
null
null
null
#include "skse64/PluginAPI.h" // super #include "skse64_common/skse_version.h" // What version of SKSE is running? #include <shlobj.h> #include <time.h> #include "NpcVoiceActivation.h" static PluginHandle g_pluginHandle = kPluginHandle_Invalid; static SKSEPapyrusInterface * g_papyrus = NULL; v...
31.184615
153
0.721756
michaeljdietz
e5961fb0ed5969839d1299b5c1204a99916bb110
2,874
cpp
C++
main.cpp
a-roy/vectype
5b735949e7795ae7ded008d8e6b408c179a911a9
[ "MIT" ]
null
null
null
main.cpp
a-roy/vectype
5b735949e7795ae7ded008d8e6b408c179a911a9
[ "MIT" ]
null
null
null
main.cpp
a-roy/vectype
5b735949e7795ae7ded008d8e6b408c179a911a9
[ "MIT" ]
null
null
null
#include <glad/glad.h> #include <GLFW/glfw3.h> #include <ft2build.h> #include FT_FREETYPE_H #include FT_IMAGE_H #include FT_GLYPH_H #include <cstddef> #include <iostream> #include <vector> #include <stdexcept> #include "Preprocess.hpp" constexpr auto openSans = "../fonts/Open_Sans/OpenSans-Regular.ttf"; constexpr a...
23.752066
85
0.635003
a-roy
e5972d73b9f84337197231658d1be4fd71d2a214
2,680
hpp
C++
src/Points.hpp
sweetpony/hplotlib
574f3bab8e86b3b91b477e81acdbc101e7a48aaf
[ "MIT" ]
null
null
null
src/Points.hpp
sweetpony/hplotlib
574f3bab8e86b3b91b477e81acdbc101e7a48aaf
[ "MIT" ]
31
2015-01-04T15:52:46.000Z
2015-03-02T20:37:52.000Z
src/Points.hpp
sweetpony/hplotlib
574f3bab8e86b3b91b477e81acdbc101e7a48aaf
[ "MIT" ]
null
null
null
#ifndef POINTS_H #define POINTS_H #include <map> #include <vector> #include "Drawable.hpp" namespace hpl { struct SimplePoints { SimplePoints(int n, double const* x, double const* y, bool ownsX, bool ownsY) : _n(n), _x(x), _y(y), _ownsX(ownsX), _ownsY(ownsY) {} virtual ~SimplePoints() { if (_ownsX) {...
21.788618
136
0.589552
sweetpony
e599643d57a4c186c425b726f7eb6b926155017e
10,006
cpp
C++
ConsoleApplication1/ip_filther.cpp
reficul0/IpFilther
e0ffca9f28ba99d6f5e5541a21db662e2a9ebc70
[ "MIT" ]
null
null
null
ConsoleApplication1/ip_filther.cpp
reficul0/IpFilther
e0ffca9f28ba99d6f5e5541a21db662e2a9ebc70
[ "MIT" ]
null
null
null
ConsoleApplication1/ip_filther.cpp
reficul0/IpFilther
e0ffca9f28ba99d6f5e5541a21db662e2a9ebc70
[ "MIT" ]
null
null
null
#include "pch.h" #include <iostream> #include <fstream> #include <string> #include <vector> #include <map> #include <queue> #include <iterator> #include <algorithm> #include <boost/log/trivial.hpp> #include <boost/optional.hpp> #include <boost/filesystem.hpp> #include <boost/algorithm/string/split.hpp> #include <boos...
24.286408
136
0.665101
reficul0
e59c0276bf854526b09bfdeb240a271016787693
625
cpp
C++
c++/primer_plus_s_pratt/ch_10/pr_ex6/move.cpp
dinimar/Projects
7606c23c4e55d6f0c03692b4a1d2bb5b42f10992
[ "MIT" ]
null
null
null
c++/primer_plus_s_pratt/ch_10/pr_ex6/move.cpp
dinimar/Projects
7606c23c4e55d6f0c03692b4a1d2bb5b42f10992
[ "MIT" ]
null
null
null
c++/primer_plus_s_pratt/ch_10/pr_ex6/move.cpp
dinimar/Projects
7606c23c4e55d6f0c03692b4a1d2bb5b42f10992
[ "MIT" ]
null
null
null
#include "move.h" #include <iostream> // sets x, y to a, b Move::Move(double a, double b) { this->x = a; this->y = b; } // shows current x, y values void Move::showmove() const { using namespace std; cout << this->x << ", " << this->y << endl; } // this function adds x of m to x of invoking object to get new x,...
19.53125
66
0.6224
dinimar
e59d8016dce1a26c238bdf42aaafeee337e7be31
3,371
cxx
C++
main/connectivity/source/drivers/ado/AIndexes.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/connectivity/source/drivers/ado/AIndexes.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/connectivity/source/drivers/ado/AIndexes.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
331
2015-01-06T11:40:55.000Z
2022-03-14T04:07:51.000Z
/************************************************************** * * 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 y...
38.747126
121
0.641353
Grosskopf
e59fe31c601242cc2cabfa0c21fc35ee58ab8f2f
2,244
cpp
C++
CPP/week15/qsort_template.cpp
BenderBlog/Practise-Programs
ebb859915c31dd7cbaa87e3b824b45b458b64d98
[ "Unlicense" ]
1
2021-11-12T11:45:51.000Z
2021-11-12T11:45:51.000Z
CPP/week15/qsort_template.cpp
BenderBlog/Practise-Programs
ebb859915c31dd7cbaa87e3b824b45b458b64d98
[ "Unlicense" ]
null
null
null
CPP/week15/qsort_template.cpp
BenderBlog/Practise-Programs
ebb859915c31dd7cbaa87e3b824b45b458b64d98
[ "Unlicense" ]
1
2022-03-10T11:20:26.000Z
2022-03-10T11:20:26.000Z
#include <iostream> #include <random> using namespace std; // Implement a qsort() template // T can be: int, float, double, char, etc. template <typename T> void print(T &a) { for (auto i : a) { cout << i << " "; } cout << endl; } template <typename T> void Swap(T &a, T &b) { T temp = a; ...
24.933333
72
0.549465
BenderBlog
e5a3456595a12d4381e8b1a3b35d48cf09daba02
10,874
cpp
C++
grasp_generation/graspitmodified_lm/Coin-3.1.3/src/shapenodes/SoCylinder.cpp
KraftOreo/EBM_Hand
9ab1722c196b7eb99b4c3ecc85cef6e8b1887053
[ "MIT" ]
null
null
null
grasp_generation/graspitmodified_lm/Coin-3.1.3/src/shapenodes/SoCylinder.cpp
KraftOreo/EBM_Hand
9ab1722c196b7eb99b4c3ecc85cef6e8b1887053
[ "MIT" ]
null
null
null
grasp_generation/graspitmodified_lm/Coin-3.1.3/src/shapenodes/SoCylinder.cpp
KraftOreo/EBM_Hand
9ab1722c196b7eb99b4c3ecc85cef6e8b1887053
[ "MIT" ]
null
null
null
/**************************************************************************\ * * This file is part of the Coin 3D visualization library. * Copyright (C) by Kongsberg Oil & Gas Technologies. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public ...
29.468835
89
0.680982
KraftOreo
e5a58d63db8d7efbb41e0f7b98a0cecdcf6d729a
2,585
cpp
C++
Uncategorized/oly20practice46.cpp
crackersamdjam/DMOJ-Solutions
97992566595e2c7bf41b5da9217d8ef61bdd1d71
[ "MIT" ]
null
null
null
Uncategorized/oly20practice46.cpp
crackersamdjam/DMOJ-Solutions
97992566595e2c7bf41b5da9217d8ef61bdd1d71
[ "MIT" ]
null
null
null
Uncategorized/oly20practice46.cpp
crackersamdjam/DMOJ-Solutions
97992566595e2c7bf41b5da9217d8ef61bdd1d71
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define all(x) (x).begin(), (x).end() #define gc getchar_unlocked() #define pc(x) putchar_unlocked(x) template<typename T> void scan(T &x){x = 0;bool _=0;T c=gc;_=c==45;c=_?gc:c;while(c<48||c>57)c=gc;for(;c<48||c>57;c=gc);for(;c>47&&c<58;c=gc)x=(x<<3)+(x<<1)+(c&15);x=_?-x:x;} template<type...
29.375
175
0.429014
crackersamdjam
e5ac59bf8f896cdc615580b34f189de0845bf876
2,400
cc
C++
src/ad/functions_03/op_repeat.cc
mathxyz/math21
bdca629dff4e1ecebfb8588082079755d5f262d6
[ "Apache-2.0" ]
null
null
null
src/ad/functions_03/op_repeat.cc
mathxyz/math21
bdca629dff4e1ecebfb8588082079755d5f262d6
[ "Apache-2.0" ]
null
null
null
src/ad/functions_03/op_repeat.cc
mathxyz/math21
bdca629dff4e1ecebfb8588082079755d5f262d6
[ "Apache-2.0" ]
null
null
null
/* Copyright 2015 The math21 Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agree...
34.782609
113
0.55625
mathxyz
e5ae270e563e31731d79d73e716eca4327ecafb6
2,611
cpp
C++
external/wapopp/src/wapopp.cpp
ZabalaMariano/PISA
344063799847e89f2f4bd7d75d606ccb95620d30
[ "Apache-2.0" ]
null
null
null
external/wapopp/src/wapopp.cpp
ZabalaMariano/PISA
344063799847e89f2f4bd7d75d606ccb95620d30
[ "Apache-2.0" ]
1
2019-05-05T20:53:08.000Z
2019-05-05T20:53:08.000Z
src/wapopp.cpp
pisa-engine/wapopp
25ff64e373bfaf51b24191cc7181b7db56119654
[ "Apache-2.0" ]
1
2021-02-27T11:46:50.000Z
2021-02-27T11:46:50.000Z
#include <wapopp/detail.hpp> #include <iostream> using namespace wapopp; template <class C, class Fn> void append_content(nlohmann::json const &node, std::vector<Content> &contents, Fn read_content) { auto content = read_content(node); if (detail::holds<C>(content)) { contents.push_back(detail::take<C...
45.017241
98
0.540406
ZabalaMariano
e5ae2cb4820257ef537ec1a808c3216f172f7912
2,699
cpp
C++
isaac_variant_caller/src/lib/blt_util/vcf_record.cpp
sequencing/isaac_variant_caller
ed24e20b097ee04629f61014d3b81a6ea902c66b
[ "BSL-1.0" ]
21
2015-01-09T01:11:28.000Z
2019-09-04T03:48:21.000Z
isaac_variant_caller/src/lib/blt_util/vcf_record.cpp
sequencing/isaac_variant_caller
ed24e20b097ee04629f61014d3b81a6ea902c66b
[ "BSL-1.0" ]
4
2015-07-23T09:38:39.000Z
2018-02-01T05:37:26.000Z
isaac_variant_caller/src/lib/blt_util/vcf_record.cpp
sequencing/isaac_variant_caller
ed24e20b097ee04629f61014d3b81a6ea902c66b
[ "BSL-1.0" ]
13
2015-01-29T16:41:26.000Z
2021-06-25T02:42:32.000Z
// -*- mode: c++; indent-tabs-mode: nil; -*- // // Copyright (c) 2009-2013 Illumina, Inc. // // This software is provided under the terms and conditions of the // Illumina Open Source Software License 1. // // You should have received a copy of the Illumina Open Source // Software License 1 along with this program. If ...
21.766129
69
0.447203
sequencing
e5afcee9b864603e39dc85305ecda8e011f7820e
1,856
cc
C++
third_party/googletest/custom/gtest/internal/custom/stack_trace_getter.cc
lianhuaren/webrtc
096f18c11d8acb0d92820f75fdf934607f424cfc
[ "DOC", "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
third_party/googletest/custom/gtest/internal/custom/stack_trace_getter.cc
lianhuaren/webrtc
096f18c11d8acb0d92820f75fdf934607f424cfc
[ "DOC", "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
third_party/googletest/custom/gtest/internal/custom/stack_trace_getter.cc
lianhuaren/webrtc
096f18c11d8acb0d92820f75fdf934607f424cfc
[ "DOC", "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
// Copyright 2018 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 "third_party/googletest/custom/gtest/internal/custom/stack_trace_getter.h" #include "base/debug/stack_trace.h" #include "base/format_macros.h" ...
35.692308
83
0.752694
lianhuaren
e5bd49436f9eeb15db70929ebd045e02532880b6
5,437
cpp
C++
src/opencv_bridge/shape_finder.cpp
cognitive-machines/garooda-core
509f54ad0db7916f963418e5c5af302dbacf1147
[ "MIT" ]
null
null
null
src/opencv_bridge/shape_finder.cpp
cognitive-machines/garooda-core
509f54ad0db7916f963418e5c5af302dbacf1147
[ "MIT" ]
null
null
null
src/opencv_bridge/shape_finder.cpp
cognitive-machines/garooda-core
509f54ad0db7916f963418e5c5af302dbacf1147
[ "MIT" ]
1
2018-04-11T15:20:14.000Z
2018-04-11T15:20:14.000Z
/* MIT License Copyright (c) 2018 Cognitive Machines 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, publ...
30.544944
83
0.611734
cognitive-machines
e5be69ebdc49807935dc93360ba3d7bb6b8b40d2
9,360
cc
C++
maze/MZPlayer.cc
nandor/MAZE
fd19cff7d82dd9db44925661455dacb3e0a0b38e
[ "BSD-3-Clause" ]
1
2018-03-17T14:23:54.000Z
2018-03-17T14:23:54.000Z
maze/MZPlayer.cc
nandor/MAZE
fd19cff7d82dd9db44925661455dacb3e0a0b38e
[ "BSD-3-Clause" ]
null
null
null
maze/MZPlayer.cc
nandor/MAZE
fd19cff7d82dd9db44925661455dacb3e0a0b38e
[ "BSD-3-Clause" ]
null
null
null
// This file is part of the MAZE project // Licensing information can be found in the LICENSE file // (C) 2012 The MAZE project. All rights reserved. #include "MZPlatform.h" using namespace MAZE; // ------------------------------------------------------------------------------------------------ const float Player::RO...
24.311688
99
0.601603
nandor
e5c0cf89e9d2c3483e3b232a9a073f1da0afa76b
625
cc
C++
codes/raulcr-p1535-Accepted-s1235669.cc
raulcr98/coj-solutions
b8c4d6009869b76a67d7bc1d5328b9bd6bfc33ca
[ "MIT" ]
1
2020-03-17T01:44:21.000Z
2020-03-17T01:44:21.000Z
codes/raulcr-p1535-Accepted-s1235669.cc
raulcr98/coj-solutions
b8c4d6009869b76a67d7bc1d5328b9bd6bfc33ca
[ "MIT" ]
null
null
null
codes/raulcr-p1535-Accepted-s1235669.cc
raulcr98/coj-solutions
b8c4d6009869b76a67d7bc1d5328b9bd6bfc33ca
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int N; int t[200], a[200]; bool ord(){ bool ok = 1; for(int i = 2 ; i <= 10 ; i++) ok = ok && (a[i] > a[i - 1]); return ok; } bool ordi(){ bool ok = 1; for(int i = 10 ; i >= 2 ; i--) ok = ok && (a[i] < a[i - 1]); ...
16.447368
40
0.3696
raulcr98
e5c4b67de7f595a3ac477f5dd9398cb06ff46c67
1,473
cc
C++
examples/cpp/example05.cc
raphaelmeyer/error_handling_revisited
571e05e451b6af16e6c826b70f3e5534484946e0
[ "MIT" ]
null
null
null
examples/cpp/example05.cc
raphaelmeyer/error_handling_revisited
571e05e451b6af16e6c826b70f3e5534484946e0
[ "MIT" ]
2
2019-12-03T11:44:52.000Z
2019-12-03T11:58:13.000Z
examples/cpp/example05.cc
raphaelmeyer/error_handling_revisited
571e05e451b6af16e6c826b70f3e5534484946e0
[ "MIT" ]
null
null
null
#include <iostream> #include <optional> #include <variant> struct Volume { int ml; }; struct Moisture { int percentage; }; struct Temperature { double celsius; }; class ThermoSensor { public: std::optional<Temperature> read() { // return std::nullopt; return Temperature{21.5}; } }; class MoistureSensor {...
20.458333
86
0.643585
raphaelmeyer
e5c772b4f528699b418485df6a9f46d0dd0e823d
1,540
cpp
C++
android-31/android/nfc/tech/NfcF.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
12
2020-03-26T02:38:56.000Z
2022-03-14T08:17:26.000Z
android-31/android/nfc/tech/NfcF.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
1
2021-01-27T06:07:45.000Z
2021-11-13T19:19:43.000Z
android-29/android/nfc/tech/NfcF.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
3
2021-02-02T12:34:55.000Z
2022-03-08T07:45:57.000Z
#include "../../../JByteArray.hpp" #include "../Tag.hpp" #include "./NfcF.hpp" namespace android::nfc::tech { // Fields // QJniObject forward NfcF::NfcF(QJniObject obj) : JObject(obj) {} // Constructors // Methods android::nfc::tech::NfcF NfcF::get(android::nfc::Tag arg0) { return callStaticObjectMethod...
15.714286
59
0.612987
YJBeetle
e5c9d0d7f99be8a66a9bb4acbad6911cc0607c83
14,369
cc
C++
src/coord/http/http_router.cc
lujingwei002/coord
cb5e5723293d8529663ca89e0c1d6b8c348fffff
[ "MIT" ]
null
null
null
src/coord/http/http_router.cc
lujingwei002/coord
cb5e5723293d8529663ca89e0c1d6b8c348fffff
[ "MIT" ]
null
null
null
src/coord/http/http_router.cc
lujingwei002/coord
cb5e5723293d8529663ca89e0c1d6b8c348fffff
[ "MIT" ]
null
null
null
#include "coord/http/http_router.h" #include "coord/http/http_server.h" #include "coord/http/http_request.h" #include "coord/http/http_response.h" #include "coord/component/script_component.h" #include "coord/coord.h" #include "util/os/path.h" #include "util/date/date.h" namespace coord { namespace http { CC_IMPLEMEN...
33.57243
159
0.540747
lujingwei002
e5ca5dbf8e25ffc1053c221303b79c3636c7313f
7,970
cpp
C++
data/160.cpp
TianyiChen/rdcpp-data
75c6868c876511e3ce143fdc3c08ddd74c7aa4ea
[ "MIT" ]
null
null
null
data/160.cpp
TianyiChen/rdcpp-data
75c6868c876511e3ce143fdc3c08ddd74c7aa4ea
[ "MIT" ]
null
null
null
data/160.cpp
TianyiChen/rdcpp-data
75c6868c876511e3ce143fdc3c08ddd74c7aa4ea
[ "MIT" ]
null
null
null
int bx,ch, BX2, /*l*///dW uxB90 ,/*N*/Sw//2zMl ,//uT qsaYA5, Hf ,/*F*/vH ,GhVn ,o4XZE , KFn //F ,/*S7o*/rar,Kr , zO, Vnv , o0RIc/**/ , DCGX , fK , K, fFq, Z0w , de, Eagnj ,du ,q1, Cv ,xzUt ,ls , l64h ,nYEv , ia7 , KF , r ,V , b, RDcV , nU8; void f_f0 () { int Qco; volatile int f2w , YS4,vfv...
10.584329
61
0.451945
TianyiChen
e5cab0d0e6cdfe61587c7877ced949d5c8cc5159
30,113
cpp
C++
test/unit/cpu/test-reductions.cpp
ax3l/RAJA
17eab1c98fa7786e1bbfbb7046f1889f24e34995
[ "BSD-3-Clause" ]
1
2019-09-27T02:45:41.000Z
2019-09-27T02:45:41.000Z
test/unit/cpu/test-reductions.cpp
resslerruntime/RAJA
43a7f76d50972fa8c7aaad05fb361de5e91c2620
[ "BSD-3-Clause" ]
null
null
null
test/unit/cpu/test-reductions.cpp
resslerruntime/RAJA
43a7f76d50972fa8c7aaad05fb361de5e91c2620
[ "BSD-3-Clause" ]
null
null
null
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~// // Copyright (c) 2016-19, Lawrence Livermore National Security, LLC // and RAJA project contributors. See the RAJA/COPYRIGHT file for details. // // SPDX-License-Identifier: (BSD-3-Clause) //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~...
33.274033
127
0.636835
ax3l
e5d0dded93d29a397065b6a49c30a50f7ae2bd26
3,488
cpp
C++
Basic4GL/Basic4GLSyntaxHighlighter.cpp
basic4gl-guy/basic4gl
5d4da444d36cdd5e020062adb02373e3efb21303
[ "BSD-3-Clause" ]
1
2020-01-14T11:25:00.000Z
2020-01-14T11:25:00.000Z
Basic4GL/Basic4GLSyntaxHighlighter.cpp
basic4gl-guy/basic4gl
5d4da444d36cdd5e020062adb02373e3efb21303
[ "BSD-3-Clause" ]
null
null
null
Basic4GL/Basic4GLSyntaxHighlighter.cpp
basic4gl-guy/basic4gl
5d4da444d36cdd5e020062adb02373e3efb21303
[ "BSD-3-Clause" ]
null
null
null
#include "Basic4GLSyntaxHighlighter.h" #include "basic4glMisc.h" Basic4GLSyntaxHighlighter::Basic4GLSyntaxHighlighter(QTextDocument* parent, TomBasicCompiler& compiler) : QSyntaxHighlighter(parent), compiler(compiler) { // Setup formats defaultFormat.setForeground(QBrush(0x000080)); keywordFormat.setForeground(Q...
24.055172
104
0.590023
basic4gl-guy
e5d2656845eaec6f883ac4f3e23c2e8b787d79ad
817
cpp
C++
.LHP/.Lop12/.HSG/.A.Thuc/TPHCM - 09-11-2020/A. Find the Vertex/main.cpp
sxweetlollipop2912/MaCode
661d77a2096e4d772fda2b6a7f80c84113b2cde9
[ "MIT" ]
null
null
null
.LHP/.Lop12/.HSG/.A.Thuc/TPHCM - 09-11-2020/A. Find the Vertex/main.cpp
sxweetlollipop2912/MaCode
661d77a2096e4d772fda2b6a7f80c84113b2cde9
[ "MIT" ]
null
null
null
.LHP/.Lop12/.HSG/.A.Thuc/TPHCM - 09-11-2020/A. Find the Vertex/main.cpp
sxweetlollipop2912/MaCode
661d77a2096e4d772fda2b6a7f80c84113b2cde9
[ "MIT" ]
null
null
null
#include <iostream> #include <cstdio> #include <vector> #include <algorithm> #define maxN 500001 typedef long maxn; maxn m, n; int d[maxN]; std::vector <maxn> ad[maxN]; void Prepare() { std::cin >> n >> m; for(maxn i = 0; i < n; i++) std::cin >> d[i]; for(maxn i = 0; i < m; i++) { maxn u, v; s...
17.020833
49
0.457772
sxweetlollipop2912
e5d2ba6fef35a74eb25cef8968b3b95ff8736d35
9,743
cpp
C++
src/core/WidgetContainer.cpp
Knobin/ptk
1ea55b638d7240679eced0e165ab78a8f5d2278b
[ "MIT" ]
null
null
null
src/core/WidgetContainer.cpp
Knobin/ptk
1ea55b638d7240679eced0e165ab78a8f5d2278b
[ "MIT" ]
null
null
null
src/core/WidgetContainer.cpp
Knobin/ptk
1ea55b638d7240679eced0e165ab78a8f5d2278b
[ "MIT" ]
null
null
null
// // core/WidgetContainer.cpp // pTK // // Created by Robin Gustafsson on 2019-11-18. // // pTK Headers #include "ptk/core/WidgetContainer.hpp" namespace pTK { WidgetContainer::WidgetContainer() : IterableSequence<Ref<Widget>>(), Widget() { setSizePolicy(SizePolicy::Type::Expanding); ...
31.327974
122
0.552089
Knobin
e5d37aef0aa12fb8413da5b86bd983e7bca7db09
9,060
cpp
C++
Examples/RenderingCustomDelegate/RenderingCustomDelegateExample.cpp
Kitware/iMSTK
fa84907c77c524a45c126d836f15275d76648be6
[ "Apache-2.0" ]
15
2021-09-20T17:33:52.000Z
2022-02-12T09:49:57.000Z
Examples/RenderingCustomDelegate/RenderingCustomDelegateExample.cpp
Kitware/iMSTK
fa84907c77c524a45c126d836f15275d76648be6
[ "Apache-2.0" ]
null
null
null
Examples/RenderingCustomDelegate/RenderingCustomDelegateExample.cpp
Kitware/iMSTK
fa84907c77c524a45c126d836f15275d76648be6
[ "Apache-2.0" ]
3
2021-10-06T19:55:41.000Z
2022-02-17T21:59:16.000Z
/*========================================================================= Library: iMSTK Copyright (c) Kitware, Inc. & Center for Modeling, Simulation, & Imaging in Medicine, Rensselaer Polytechnic Institute. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file e...
34.580153
142
0.597461
Kitware
e5d58f1baadf71e9936e7b6423cb5dea3bdbdbc7
5,953
cpp
C++
test/policy/SlidingWindowRateLimiterTest.cpp
tacr-iotcloud/server
c46fd292843acf25b3f03d927e6ed32bd9d05732
[ "BSD-3-Clause" ]
1
2020-09-30T06:41:47.000Z
2020-09-30T06:41:47.000Z
test/policy/SlidingWindowRateLimiterTest.cpp
tacr-iotcloud/server
c46fd292843acf25b3f03d927e6ed32bd9d05732
[ "BSD-3-Clause" ]
null
null
null
test/policy/SlidingWindowRateLimiterTest.cpp
tacr-iotcloud/server
c46fd292843acf25b3f03d927e6ed32bd9d05732
[ "BSD-3-Clause" ]
null
null
null
#include <cppunit/extensions/HelperMacros.h> #include "cppunit/BetterAssert.h" #include "policy/SlidingWindowRateLimiter.h" using namespace std; using namespace Poco; namespace BeeeOn { class SlidingWindowRateLimiterTest : public CppUnit::TestFixture { CPPUNIT_TEST_SUITE(SlidingWindowRateLimiterTest); CPPUNIT_TES...
35.861446
84
0.751218
tacr-iotcloud
e5ddb7c8304e14f6a1444e747cc44b9e3245a2f9
14,503
cpp
C++
source code/dvcc/v1.4.2.2/toolpannel/romcheck.cpp
HarleyEhrich/DvccSimulationEnvironment
fdb082eb52c18a95015fc12058824345875cf038
[ "Apache-2.0" ]
null
null
null
source code/dvcc/v1.4.2.2/toolpannel/romcheck.cpp
HarleyEhrich/DvccSimulationEnvironment
fdb082eb52c18a95015fc12058824345875cf038
[ "Apache-2.0" ]
null
null
null
source code/dvcc/v1.4.2.2/toolpannel/romcheck.cpp
HarleyEhrich/DvccSimulationEnvironment
fdb082eb52c18a95015fc12058824345875cf038
[ "Apache-2.0" ]
null
null
null
#include "romcheck.h" #include "ui_romcheck.h" ROMCheck::ROMCheck(QWidget *parent,systemDataSet* data) : QWidget(parent), ui(new Ui::ROMCheck) { ui->setupUi(this); this->setFont(QFontDatabase::systemFont(QFontDatabase::FixedFont)); //绑定主窗口数据集 this->data=data; this->matchPattrn=new QRegul...
27.415879
172
0.558022
HarleyEhrich
e5e1dc1e38dce18ae717d6b468b375f0bc38f37b
9,127
cpp
C++
Simbody/src/AssemblyCondition_OrientationSensors.cpp
e-schumann/simbody
4d8842270d5c400ef64cfd5723e0e0399161e51f
[ "Apache-2.0" ]
1,916
2015-01-01T09:35:21.000Z
2022-03-30T11:38:43.000Z
Simbody/src/AssemblyCondition_OrientationSensors.cpp
e-schumann/simbody
4d8842270d5c400ef64cfd5723e0e0399161e51f
[ "Apache-2.0" ]
389
2015-01-01T01:13:51.000Z
2022-03-16T15:30:58.000Z
Simbody/src/AssemblyCondition_OrientationSensors.cpp
e-schumann/simbody
4d8842270d5c400ef64cfd5723e0e0399161e51f
[ "Apache-2.0" ]
486
2015-01-02T10:25:49.000Z
2022-03-16T15:31:40.000Z
/* -------------------------------------------------------------------------- * * Simbody(tm) * * -------------------------------------------------------------------------- * * This is part of the SimTK biosimulation toolkit originating from * ...
49.069892
85
0.60458
e-schumann
e5eb15e032f439684881419a7791b92d2a8730c4
3,356
cpp
C++
cpp_config_test/main.cpp
lyrahgames/cpp-config-test
0a69a6298e576496fe52296b5678f804035b163f
[ "MIT" ]
null
null
null
cpp_config_test/main.cpp
lyrahgames/cpp-config-test
0a69a6298e576496fe52296b5678f804035b163f
[ "MIT" ]
null
null
null
cpp_config_test/main.cpp
lyrahgames/cpp-config-test
0a69a6298e576496fe52296b5678f804035b163f
[ "MIT" ]
null
null
null
#include <iomanip> #include <iostream> using namespace std; #define CAPTURE(X) \ cout << right << setw(5) << ' ' << left << setw(30) << #X << right << " = " \ << setw(15) << (X) << '\n' #define CAPTURE_UNDEF(X) ...
20.716049
79
0.698749
lyrahgames
e5ebf6ab263ea29b0210347613945e3298da8bd5
730
cc
C++
programs/rsf_simple.cc
drbenmorgan/Resourceful
8004c3f244772b02e90bd4f538571c84066c1fb9
[ "BSD-3-Clause" ]
11
2016-11-05T03:24:44.000Z
2021-12-31T02:12:05.000Z
programs/rsf_simple.cc
drbenmorgan/Resourceful
8004c3f244772b02e90bd4f538571c84066c1fb9
[ "BSD-3-Clause" ]
null
null
null
programs/rsf_simple.cc
drbenmorgan/Resourceful
8004c3f244772b02e90bd4f538571c84066c1fb9
[ "BSD-3-Clause" ]
2
2021-04-03T13:58:05.000Z
2021-12-31T02:50:07.000Z
#include <iostream> #include "RSFSimple_binreloc.h" int main(int argc, char* argv[]) { // Initialize binreloc system and error check BrInitError err; int brOK = br_init(&err); if (brOK != 1) { std::cerr << "rsf_simple: Binreloc failed to init, error code : " << err << std::endl; return 1; } // Fin...
26.071429
90
0.613699
drbenmorgan
e5ec04b569e3f43f922c6fab215e04dedd811e44
26,117
cpp
C++
src/warehouse/main_stat.cpp
jhu-lcsr/sp_segmenter
4f6713c633ee2b1aaf48f614d05bcef1da4a9b02
[ "BSD-2-Clause" ]
33
2016-04-01T04:22:55.000Z
2019-08-23T13:43:05.000Z
src/warehouse/main_stat.cpp
jhu-lcsr/sp_segmenter
4f6713c633ee2b1aaf48f614d05bcef1da4a9b02
[ "BSD-2-Clause" ]
3
2017-08-14T14:09:18.000Z
2018-09-23T20:38:57.000Z
src/warehouse/main_stat.cpp
jhu-lcsr/sp_segmenter
4f6713c633ee2b1aaf48f614d05bcef1da4a9b02
[ "BSD-2-Clause" ]
26
2016-11-07T06:03:14.000Z
2019-09-20T01:39:23.000Z
#include "sp_segmenter/utility/utility.h" #include "sp_segmenter/features.h" #include "sp_segmenter/BBDataParser.h" #include "sp_segmenter/UWDataParser.h" #include "sp_segmenter/JHUDataParser.h" void mergeProbs(const std::vector<problem> &problem_set, problem &final_prob) { if( problem_set.empty() == true ) ...
34.776298
199
0.522112
jhu-lcsr
e5ec42d11abe77d71dca5c792826fe61d10f3b20
5,778
cc
C++
ggeo/GNodeLib.cc
seriksen/opticks
2173ea282bdae0bbd1abf4a3535bede334413ec1
[ "Apache-2.0" ]
1
2020-05-13T06:55:49.000Z
2020-05-13T06:55:49.000Z
ggeo/GNodeLib.cc
seriksen/opticks
2173ea282bdae0bbd1abf4a3535bede334413ec1
[ "Apache-2.0" ]
null
null
null
ggeo/GNodeLib.cc
seriksen/opticks
2173ea282bdae0bbd1abf4a3535bede334413ec1
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2019 Opticks Team. All Rights Reserved. * * This file is part of Opticks * (see https://bitbucket.org/simoncblyth/opticks). * * 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 ...
21.969582
142
0.599515
seriksen
e5ee79f313ccdb27df610145a293ce1cc49f2117
1,939
cpp
C++
src/plugin/utility/src/AFCTimerModule.cpp
overtalk/ARK
9d314e99dc13684fc672371a0c3fbaa6b9a46d97
[ "Apache-2.0" ]
1
2020-02-21T14:32:13.000Z
2020-02-21T14:32:13.000Z
src/plugin/utility/src/AFCTimerModule.cpp
overtalk/ARK
9d314e99dc13684fc672371a0c3fbaa6b9a46d97
[ "Apache-2.0" ]
null
null
null
src/plugin/utility/src/AFCTimerModule.cpp
overtalk/ARK
9d314e99dc13684fc672371a0c3fbaa6b9a46d97
[ "Apache-2.0" ]
null
null
null
/* * This source file is part of ARK * For the latest info, see https://github.com/ArkNX * * Copyright (c) 2013-2019 ArkNX authors. * * 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 * ...
28.514706
115
0.738009
overtalk
e5f06c7e7e90a60a16afde9ddb990191602c1c0c
385
cpp
C++
src/core/baseobj.cpp
JoshuaZero/cpp_awesome
41e28694493030b91e24ae0b5c9988c1bdce761e
[ "MIT" ]
1
2020-08-24T12:07:21.000Z
2020-08-24T12:07:21.000Z
src/core/baseobj.cpp
JoshuaZero/cpp_awesome
41e28694493030b91e24ae0b5c9988c1bdce761e
[ "MIT" ]
null
null
null
src/core/baseobj.cpp
JoshuaZero/cpp_awesome
41e28694493030b91e24ae0b5c9988c1bdce761e
[ "MIT" ]
null
null
null
/*================================================================ * Copyright (C) 2020 Sangfor Ltd. All rights reserved. * * FileName:baseobj.cpp * Author:joshua_zero@outlook.com * CreateTime:2020-06-28 16:17:50 * Describtion: * Last Modified: 2020-06-28 16:17:50 * ==========================...
25.666667
66
0.420779
JoshuaZero
e5f393a9e5f7d1a5fcf7b99d7a871c41254bd185
2,231
cpp
C++
redemption/tests/regex/test_regex_state.cpp
DianaAssistant/DIANA
6a4c51c1861f6a936941b21c2c905fc291c229d7
[ "MIT" ]
null
null
null
redemption/tests/regex/test_regex_state.cpp
DianaAssistant/DIANA
6a4c51c1861f6a936941b21c2c905fc291c229d7
[ "MIT" ]
null
null
null
redemption/tests/regex/test_regex_state.cpp
DianaAssistant/DIANA
6a4c51c1861f6a936941b21c2c905fc291c229d7
[ "MIT" ]
null
null
null
/* This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be usefu...
31.422535
71
0.65576
DianaAssistant
e5fb27252d6476db4959f32bb2cf291ac303af6d
2,388
cpp
C++
src/nakama-c/ClientFactoryC.cpp
azurepine/nakama-cpp
132d812d994284cc4c23aaece94a0fe4ef85c666
[ "Apache-2.0" ]
53
2019-03-08T07:39:44.000Z
2022-03-26T20:53:16.000Z
src/nakama-c/ClientFactoryC.cpp
azurepine/nakama-cpp
132d812d994284cc4c23aaece94a0fe4ef85c666
[ "Apache-2.0" ]
42
2019-03-22T12:05:51.000Z
2022-03-17T20:56:36.000Z
src/nakama-c/ClientFactoryC.cpp
azurepine/nakama-cpp
132d812d994284cc4c23aaece94a0fe4ef85c666
[ "Apache-2.0" ]
25
2019-03-13T09:01:36.000Z
2022-02-07T05:57:14.000Z
/* * Copyright 2019 The Nakama Authors * * 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 agr...
28.428571
147
0.718174
azurepine
e5ff4f472be24d7ee2ac7d2b335d9bb03538e439
2,111
cpp
C++
wrappers/python/webservices/STOWRSRequest.cpp
genisysram/odil
e6b12df698ce452f9c5d86858e896e9b6d28cdf0
[ "CECILL-B" ]
72
2016-02-04T00:41:02.000Z
2022-03-18T18:10:34.000Z
wrappers/python/webservices/STOWRSRequest.cpp
genisysram/odil
e6b12df698ce452f9c5d86858e896e9b6d28cdf0
[ "CECILL-B" ]
74
2016-01-11T16:04:46.000Z
2021-11-18T16:36:11.000Z
wrappers/python/webservices/STOWRSRequest.cpp
genisysram/odil
e6b12df698ce452f9c5d86858e896e9b6d28cdf0
[ "CECILL-B" ]
23
2016-04-27T07:14:56.000Z
2021-09-28T21:59:31.000Z
/************************************************************************* * odil - Copyright (C) Universite de Strasbourg * Distributed under the terms of the CeCILL-B license, as published by * the CEA-CNRS-INRIA. Refer to the LICENSE file or to * http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html * for...
33.507937
76
0.627191
genisysram
f9042e830a43e089561b6f00cd22d545e5ed9e43
1,849
cpp
C++
boost.asio/boostorg/buffer/reference_counted.cpp
pvthuyet/books
bac5f754a68243e463ec7b0d93610be8807b31ac
[ "BSL-1.0" ]
null
null
null
boost.asio/boostorg/buffer/reference_counted.cpp
pvthuyet/books
bac5f754a68243e463ec7b0d93610be8807b31ac
[ "BSL-1.0" ]
null
null
null
boost.asio/boostorg/buffer/reference_counted.cpp
pvthuyet/books
bac5f754a68243e463ec7b0d93610be8807b31ac
[ "BSL-1.0" ]
null
null
null
#include <boost/asio.hpp> #include <iostream> #include <memory> #include <utility> #include <vector> #include <ctime> using boost::asio::ip::tcp; class shared_const_buffer { public: explicit shared_const_buffer(const std::string& data) : data_(new std::vector<char>(data.begin(), data.end())), buffer_(boost::asio...
19.463158
70
0.670092
pvthuyet
f909dba27740cdf57c02314c4d4273c381e78196
2,813
hpp
C++
h2g_server/script_macros.hpp
Spayker/b2g-game-connector
f808fa6a67366952a483201507b955ca34b6580c
[ "MIT" ]
null
null
null
h2g_server/script_macros.hpp
Spayker/b2g-game-connector
f808fa6a67366952a483201507b955ca34b6580c
[ "MIT" ]
24
2021-12-06T17:41:08.000Z
2021-12-19T15:21:23.000Z
h2g_server/script_macros.hpp
Spayker/b2g-game-connector
f808fa6a67366952a483201507b955ca34b6580c
[ "MIT" ]
null
null
null
/*#define SYSTEM_TAG "life" #define ITEM_TAG format["%1%2",SYSTEM_TAG,"item_"] #define CASH life_cash #define BANK life_atmbank #define GANG_FUNDS group player getVariable ["gang_bank",0];*/ /* remoteExec Section When uncommented it enables proper testing via local testing Otherwise leave it commented out ...
40.768116
172
0.763242
Spayker
f90e720b892addd3f6f2a218e2e684facb3aeb3d
1,741
cpp
C++
src/lib/storage/fixed_string_dictionary_column/fixed_string_vector_iterator.cpp
IanJamesMcKay/InMemoryDB
a267d9522926eca9add2ad4512f8ce352daac879
[ "MIT" ]
1
2021-04-14T11:16:52.000Z
2021-04-14T11:16:52.000Z
src/lib/storage/fixed_string_dictionary_column/fixed_string_vector_iterator.cpp
IanJamesMcKay/InMemoryDB
a267d9522926eca9add2ad4512f8ce352daac879
[ "MIT" ]
null
null
null
src/lib/storage/fixed_string_dictionary_column/fixed_string_vector_iterator.cpp
IanJamesMcKay/InMemoryDB
a267d9522926eca9add2ad4512f8ce352daac879
[ "MIT" ]
1
2020-11-30T13:11:04.000Z
2020-11-30T13:11:04.000Z
#include "fixed_string_vector_iterator.hpp" #include <memory> #include <string> #include "resolve_type.hpp" #include "storage/fixed_string_dictionary_column.hpp" #include "storage/vector_compression/base_compressed_vector.hpp" #include "type_cast.hpp" #include "utils/assert.hpp" #include "utils/performance_warning.hp...
38.688889
119
0.762206
IanJamesMcKay
f910243b67fd8c39f314d95b92c1d4cce0e5b82b
958
cc
C++
src/code_jzc/quant_op.cc
achao2013/mxnet-quantify
ae77c896da6db35530390e3cf8e524d553bba112
[ "Apache-2.0" ]
4
2017-04-03T11:51:32.000Z
2019-01-16T03:57:47.000Z
src/code_jzc/quant_op.cc
achao2013/mxnet-quantify
ae77c896da6db35530390e3cf8e524d553bba112
[ "Apache-2.0" ]
null
null
null
src/code_jzc/quant_op.cc
achao2013/mxnet-quantify
ae77c896da6db35530390e3cf8e524d553bba112
[ "Apache-2.0" ]
null
null
null
#include "quant_op.h" #include <iostream> namespace mxnet { namespace op { template<> void print_check<cpu>(float * data, std::string s) { LOG(INFO)<<s<<": "<<data[0]<<" "<<data[1]<<" "<<data[2]<<" "<<data[3]<<" "<<data[4]<<" "<<data[5]<<" "<<data[6]; } template<> void print_check<cpu>(double * data, st...
23.95
115
0.534447
achao2013
f910e045d902ed736b12474ddf1f206d1c2126b8
5,218
cc
C++
euler/core/kernels/idx_merge_op.cc
HuangLED/euler
a56b5fe3fe56123af062317ca0b4160ce3b3ace9
[ "Apache-2.0" ]
2,829
2019-01-12T09:16:03.000Z
2022-03-29T14:00:58.000Z
euler/core/kernels/idx_merge_op.cc
HuangLED/euler
a56b5fe3fe56123af062317ca0b4160ce3b3ace9
[ "Apache-2.0" ]
331
2019-01-17T21:07:49.000Z
2022-03-30T06:38:17.000Z
euler/core/kernels/idx_merge_op.cc
HuangLED/euler
a56b5fe3fe56123af062317ca0b4160ce3b3ace9
[ "Apache-2.0" ]
578
2019-01-16T10:48:53.000Z
2022-03-21T13:41:34.000Z
/* Copyright 2020 Alibaba Group Holding Limited. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law o...
35.496599
80
0.621886
HuangLED
f9155c99904f5fe8ce1c20c35b166f11ea4bc9d7
267
cc
C++
cpp/chapter1/var_reference.cc
linroid/my_practice
74490cf296d6373fe04304c9d7d4827e0aea8741
[ "MIT" ]
3
2016-11-29T06:13:05.000Z
2021-03-12T17:56:21.000Z
cpp/chapter1/var_reference.cc
linroid/my_practice
74490cf296d6373fe04304c9d7d4827e0aea8741
[ "MIT" ]
null
null
null
cpp/chapter1/var_reference.cc
linroid/my_practice
74490cf296d6373fe04304c9d7d4827e0aea8741
[ "MIT" ]
null
null
null
#include <iostream> int main() { int ival = 1024; int &refVal = ival; int *p = &ival; std::cout << ival << " " << refVal << " " << p << std::endl; ival = 2048; std::cout << ival << " " << refVal << " " << *p << std::endl; return 0 ; }
24.272727
67
0.445693
linroid
f91f7e862fab44240e30477b9b7b1f532fabd138
362
cpp
C++
codeforce3/600B. Queries about less or equal elements.cpp
khaled-farouk/My_problem_solving_solutions
46ed6481fc9b424d0714bc717cd0ba050a6638ef
[ "MIT" ]
null
null
null
codeforce3/600B. Queries about less or equal elements.cpp
khaled-farouk/My_problem_solving_solutions
46ed6481fc9b424d0714bc717cd0ba050a6638ef
[ "MIT" ]
null
null
null
codeforce3/600B. Queries about less or equal elements.cpp
khaled-farouk/My_problem_solving_solutions
46ed6481fc9b424d0714bc717cd0ba050a6638ef
[ "MIT" ]
null
null
null
#include <iostream> #include <algorithm> using namespace std; const int N = 2 * 1e5; int arr[N] = {0}; int main() { int n, m; cin >> n >> m; for(int i = 0; i < n; i++) cin >> arr[i]; sort(arr, arr+n); for(int i = 0; i < m; i++) { int tmp; cin >> tmp; cout << upper_bound(arr, arr+n, ...
14.48
54
0.48895
khaled-farouk
f923b6996e21ef501a357258709b430639e64f61
50,763
cpp
C++
emulator/src/mame/drivers/taito.cpp
rjw57/tiw-computer
5ef1c79893165b8622d1114d81cd0cded58910f0
[ "MIT" ]
1
2022-01-15T21:38:38.000Z
2022-01-15T21:38:38.000Z
emulator/src/mame/drivers/taito.cpp
rjw57/tiw-computer
5ef1c79893165b8622d1114d81cd0cded58910f0
[ "MIT" ]
null
null
null
emulator/src/mame/drivers/taito.cpp
rjw57/tiw-computer
5ef1c79893165b8622d1114d81cd0cded58910f0
[ "MIT" ]
null
null
null
// license:BSD-3-Clause // copyright-holders:Robbbert /**************************************************************************************** PINBALL Taito of Brasil Unable to locate any schematics that are actually useful. Used PinMAME and the Rowamet driver as references. You need to have a ball in th...
48.810577
201
0.727321
rjw57
234e798e0a6e220464998e9d650e25c72e124050
9,615
hpp
C++
src/delegate.hpp
gittiver/libexpatpp
269bbdd28221c8f8edb1625521d2e602aee739e6
[ "MIT" ]
10
2021-06-26T17:28:25.000Z
2022-02-27T12:12:04.000Z
src/delegate.hpp
gittiver/libexpatpp
269bbdd28221c8f8edb1625521d2e602aee739e6
[ "MIT" ]
5
2021-05-12T05:36:48.000Z
2022-03-02T04:07:28.000Z
src/delegate.hpp
gittiver/libexpatpp
269bbdd28221c8f8edb1625521d2e602aee739e6
[ "MIT" ]
2
2021-06-26T17:29:50.000Z
2022-01-03T15:36:34.000Z
/** * @file delegate.hpp * @author gulliver <gulliver@traumkristalle.net> * * @brief contains the xml parsers delegate interface * * See LICENSE for copyright information. */ #ifndef xmlpp_delegate_hpp #define xmlpp_delegate_hpp #include <string> #include "expat.h" namespace xmlpp { /** wrapper class typ...
35.611111
106
0.619033
gittiver
2351b9c16e2cb8b2b5800e06decf38a8b679bbd2
2,080
cpp
C++
src/CandidateList.cpp
chen15959/crossme
67c50ab100ca04ba908c8be86f9ecff45843de92
[ "Apache-2.0" ]
null
null
null
src/CandidateList.cpp
chen15959/crossme
67c50ab100ca04ba908c8be86f9ecff45843de92
[ "Apache-2.0" ]
null
null
null
src/CandidateList.cpp
chen15959/crossme
67c50ab100ca04ba908c8be86f9ecff45843de92
[ "Apache-2.0" ]
null
null
null
#include "CandidateList.hpp" #include "Line.hpp" #include <assert.h> #include <stdlib.h> #include <string.h> using namespace std; CandidateList::CandidateList(LENGTH_T length) { assert(length > 0); _length = length; } CandidateList::CandidateList(const CandidateList & other) { copy(other); } CandidateL...
14.751773
115
0.657692
chen15959
23529a5929d6d6750fa2dc96d28da5990dd805de
484
cpp
C++
exercise/src/unitTest/unitTest.cpp
softwarekid/crayon
72fe08eab4b4282ad729ee2719e75df2f02f1def
[ "MIT" ]
null
null
null
exercise/src/unitTest/unitTest.cpp
softwarekid/crayon
72fe08eab4b4282ad729ee2719e75df2f02f1def
[ "MIT" ]
null
null
null
exercise/src/unitTest/unitTest.cpp
softwarekid/crayon
72fe08eab4b4282ad729ee2719e75df2f02f1def
[ "MIT" ]
null
null
null
////#include <cppunit/TestResult.h> ////#include <cppunit/TestResultCollector.h> ////#include <cppunit/TextOutputter.h> ////#include <cppunit/TestRunner.h> ////#include <cppunit/extensions/TestFactoryRegistry.h> //#include <gtest/gtest.h> //#include "MatrixGtest.h" //#include "VectorGtest.h" //#include "CameraG...
32.266667
56
0.667355
softwarekid
23540e9faa64e70472961fbbcbf4ce1444673390
1,221
cpp
C++
HXEngine/HXCore/src/HXGDICamera.cpp
huangx916/HXEngine
b7ec36572c4444113a35c9a6c65b127279c7360f
[ "MIT" ]
45
2018-07-21T12:14:44.000Z
2022-01-26T04:22:38.000Z
HXEngine/HXCore/src/HXGDICamera.cpp
huangx916/HXEngine
b7ec36572c4444113a35c9a6c65b127279c7360f
[ "MIT" ]
75
2017-08-11T03:06:03.000Z
2019-06-13T06:20:58.000Z
HXEngine/HXCore/src/HXGDICamera.cpp
huangx916/HXEngine
b7ec36572c4444113a35c9a6c65b127279c7360f
[ "MIT" ]
19
2018-11-26T08:41:56.000Z
2022-03-21T03:29:55.000Z
#include "..\include\HXGDICamera.h" #include "HXFrustum.h" #include "HXMath.h" #include "HXQuaternionS.h" #include "HXGDITransform.h" namespace HX3D { HXGDICamera::HXGDICamera():mFrustum(NULL) { transform = new HXGDITransform(); } HXGDICamera::~HXGDICamera() { if (mFrustum) { delete mFrustum; mFrustu...
19.078125
98
0.703522
huangx916
23570bd50408fc7a007ad4b2542b51d4628e8f4d
6,271
cpp
C++
src/textlabel.cpp
Qt-Widgets/qtmwidgets-mobile
24b77c25c286215539098ba569eee938882bb9d4
[ "MIT" ]
10
2015-03-22T07:35:48.000Z
2022-02-23T15:49:01.000Z
src/textlabel.cpp
Qt-Widgets/qtmwidgets
24b77c25c286215539098ba569eee938882bb9d4
[ "MIT" ]
9
2020-10-22T09:25:52.000Z
2022-02-14T08:59:13.000Z
src/textlabel.cpp
Qt-Widgets/qtmwidgets
24b77c25c286215539098ba569eee938882bb9d4
[ "MIT" ]
9
2018-01-22T06:47:40.000Z
2022-01-30T16:50:57.000Z
/*! \file \author Igor Mironchik (igor.mironchik at gmail dot com). Copyright (c) 2014 Igor Mironchik 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, incl...
20.42671
79
0.654282
Qt-Widgets
2358ce770cb77ef25f5f5c07089fdf44869c4190
7,042
cpp
C++
algorithms/src/SystemManagement/state_surveillance/src/state_surveillance_node.cpp
mfkiwl/GAAS
29ab17d3e8a4ba18edef3a57c36d8db6329fac73
[ "BSD-3-Clause" ]
2,111
2019-01-29T07:01:32.000Z
2022-03-29T06:48:14.000Z
algorithms/src/SystemManagement/state_surveillance/src/state_surveillance_node.cpp
mfkiwl/GAAS
29ab17d3e8a4ba18edef3a57c36d8db6329fac73
[ "BSD-3-Clause" ]
131
2019-02-18T10:56:18.000Z
2021-09-27T12:07:00.000Z
algorithms/src/SystemManagement/state_surveillance/src/state_surveillance_node.cpp
mfkiwl/GAAS
29ab17d3e8a4ba18edef3a57c36d8db6329fac73
[ "BSD-3-Clause" ]
421
2019-02-12T07:59:18.000Z
2022-03-27T05:22:01.000Z
#include <memory> #include "utils.h" //#include "../../flight_stage_manager/src/FlightStageManager.h" //#include "../../basic_state_libs/src/flight_controller_state.h" #include <ros/ros.h> #include <ros/time.h> #include <mavros_msgs/PositionTarget.h> #include <geometry_msgs/PoseStamped.h> #include "gaas_msgs/GAASPe...
45.141026
155
0.757313
mfkiwl
236013f141fd6e992506c0bc61dfb4023b7afbad
937
cc
C++
src/ast/files.cc
lbk2kgithub1/verona
5be07d3b71e5a4fa8da1493cf4c6248d75642f85
[ "MIT" ]
null
null
null
src/ast/files.cc
lbk2kgithub1/verona
5be07d3b71e5a4fa8da1493cf4c6248d75642f85
[ "MIT" ]
null
null
null
src/ast/files.cc
lbk2kgithub1/verona
5be07d3b71e5a4fa8da1493cf4c6248d75642f85
[ "MIT" ]
null
null
null
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #include "files.h" namespace files { std::vector<char> slurp(const std::string& file, bool optional) { std::ifstream f(file.c_str(), std::ios::binary | std::ios::ate); if (!f) { if (optional) { ...
20.369565
76
0.54429
lbk2kgithub1
236443ecc20e5f2b7496fdbbfd77afb7835a1d50
4,121
cc
C++
components/data_reduction_proxy/content/renderer/content_previews_render_frame_observer_unittest.cc
zipated/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
components/data_reduction_proxy/content/renderer/content_previews_render_frame_observer_unittest.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
components/data_reduction_proxy/content/renderer/content_previews_render_frame_observer_unittest.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
// 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/data_reduction_proxy/content/renderer/content_previews_render_frame_observer.h" #include "base/test/gtest_util.h" #include "content/...
42.927083
100
0.790827
zipated
23659ef79928a3b08684f397c55ec0c9061fb766
326
cpp
C++
src/0_creational_patterns/abstract_factory/main.cpp
galudino/gof-designpatterns-cpp
0a1b63898ecde9868178aabd26d9f37a79bb47ee
[ "MIT" ]
2
2022-01-08T05:25:43.000Z
2022-02-21T03:02:28.000Z
src/0_creational_patterns/abstract_factory/main.cpp
galudino/gof-designpatterns-cpp
0a1b63898ecde9868178aabd26d9f37a79bb47ee
[ "MIT" ]
null
null
null
src/0_creational_patterns/abstract_factory/main.cpp
galudino/gof-designpatterns-cpp
0a1b63898ecde9868178aabd26d9f37a79bb47ee
[ "MIT" ]
null
null
null
#include "maze_game.h" #include "bombed_maze_factory.h" #include "enchanted_maze_factory.h" int main() { auto game = maze_game(); auto factory_bombed = bombed_maze_factory(); auto factory_enchanted = enchanted_maze_factory(); game.create_maze(factory_bombed); game.create_maze(factory_enchante...
23.285714
54
0.733129
galudino
2366fc79fb866cd3123509edde3c9c73523c69be
226
cc
C++
c++ examples/Arcade Drive/cpp/impl/Robot.cc
frc6879/Practice-Robot
ad9bc7d6d7b5b07f4b40d87ab72d57eaa06f2c0e
[ "MIT" ]
null
null
null
c++ examples/Arcade Drive/cpp/impl/Robot.cc
frc6879/Practice-Robot
ad9bc7d6d7b5b07f4b40d87ab72d57eaa06f2c0e
[ "MIT" ]
null
null
null
c++ examples/Arcade Drive/cpp/impl/Robot.cc
frc6879/Practice-Robot
ad9bc7d6d7b5b07f4b40d87ab72d57eaa06f2c0e
[ "MIT" ]
null
null
null
#include "WPILib.h" #include "../include/Robot.hh" #include "subsystems/Chassis.cc" #include "subsystems/Dashboard.cc" void Robot::RobotInit () { this->chassis = new Chassis(this); this->dashbaord = new Dashbaord(this); }
25.111111
40
0.712389
frc6879
236b9d6b4ac98935d3a5ce71cd1dc0ae8c7d33f9
339,352
hpp
C++
libraries/belle/Source/Fonts/Joie.hpp
jogawebb/Spaghettis
78f21ba3065ce316ef0cb84e94aecc9e8787343d
[ "Zlib", "BSD-2-Clause", "BSD-3-Clause" ]
47
2017-09-05T02:49:22.000Z
2022-01-20T08:11:47.000Z
libraries/belle/Source/Fonts/Joie.hpp
jogawebb/Spaghettis
78f21ba3065ce316ef0cb84e94aecc9e8787343d
[ "Zlib", "BSD-2-Clause", "BSD-3-Clause" ]
106
2018-05-16T14:58:52.000Z
2022-01-12T13:57:24.000Z
libraries/belle/Source/Fonts/Joie.hpp
jogawebb/Spaghettis
78f21ba3065ce316ef0cb84e94aecc9e8787343d
[ "Zlib", "BSD-2-Clause", "BSD-3-Clause" ]
11
2018-05-16T06:44:51.000Z
2021-11-10T07:04:46.000Z
/* Auto-generated file. */ // ==================================== namespace belle { extern const prim::byte* JoieBellefont; #ifdef BELLE_COMPILE_INLINE static const prim::byte JoieBellefontData[57454] = { 2, 9, 240, 2, 48, 0, 0, 0, 0, 0, 128, 64, 0, 0, 0, 64, 0, ...
58.833564
88
0.343652
jogawebb
236d4a89db5657d60674391d8039448cc0158d68
1,111
cpp
C++
src/json_number.cpp
BoogieMonster1O1/hexjson
67d8dcf9623d2a77debfbd6cc0a5113fb8fa3f77
[ "Apache-2.0" ]
3
2020-11-18T08:03:02.000Z
2020-12-12T14:20:08.000Z
src/json_number.cpp
BoogieMonster1O1/hexjson
67d8dcf9623d2a77debfbd6cc0a5113fb8fa3f77
[ "Apache-2.0" ]
null
null
null
src/json_number.cpp
BoogieMonster1O1/hexjson
67d8dcf9623d2a77debfbd6cc0a5113fb8fa3f77
[ "Apache-2.0" ]
null
null
null
#include "element.h" #include "flags.c" class json_number : public json_element { private: double value; public: explicit json_number(double value) { this -> value = value; } int get_type() override { return g_json_number; } [[nodiscard]] double double_value() const { ...
21.784314
60
0.593159
BoogieMonster1O1
237489d1b2b70911309245d0ce297a782cc5b9bf
2,906
cpp
C++
src/anim_utils.cpp
Josh-MB/Information-Theory-Vicsek-Model
a6befb4878be5519cbb0515130d9a101ee90f5fa
[ "MIT" ]
null
null
null
src/anim_utils.cpp
Josh-MB/Information-Theory-Vicsek-Model
a6befb4878be5519cbb0515130d9a101ee90f5fa
[ "MIT" ]
null
null
null
src/anim_utils.cpp
Josh-MB/Information-Theory-Vicsek-Model
a6befb4878be5519cbb0515130d9a101ee90f5fa
[ "MIT" ]
1
2020-06-26T11:32:40.000Z
2020-06-26T11:32:40.000Z
#include "../include/anim_utils.hpp" #include "../include/defs.hpp" #include <fmt/format.h> #include <algorithm> double hue2rgb(double p, double q, double t) { if(t < 0) t += 1; if(t > 1) t -= 1; if(t < 1.0f / 6) return p + (q - p) * 6 * t; if(t < 1.0f / 2) return q; if(t < 2.0f / 3) return p + (q - p) * (2.0f ...
24.627119
101
0.507226
Josh-MB
237909550334a44c31ffe00065932f6de91ed6b4
217
cpp
C++
test_package/example.cpp
renesugar/grpc-lua
9a402109975904bc75ac903bf001cc00934e2a57
[ "BSD-3-Clause" ]
120
2017-02-14T18:44:59.000Z
2022-03-30T08:57:01.000Z
test_package/example.cpp
renesugar/grpc-lua
9a402109975904bc75ac903bf001cc00934e2a57
[ "BSD-3-Clause" ]
11
2017-12-18T09:13:57.000Z
2022-02-09T01:40:55.000Z
test_package/example.cpp
renesugar/grpc-lua
9a402109975904bc75ac903bf001cc00934e2a57
[ "BSD-3-Clause" ]
21
2017-08-07T06:05:43.000Z
2021-05-28T06:06:27.000Z
#include <iostream> #include "lua.h" #include "lauxlib.h" #include "lualib.h" extern "C" int luaopen_grpc_lua_c(lua_State* L); int main() { lua_State *L = luaL_newstate(); luaopen_grpc_lua_c(L); return 0; }
14.466667
37
0.686636
renesugar
237a9eba56fa0947bba486919666c23bc33b116b
43
hpp
C++
src/boost_mpl_multiset_aux__tag.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_mpl_multiset_aux__tag.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_mpl_multiset_aux__tag.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/mpl/multiset/aux_/tag.hpp>
21.5
42
0.767442
miathedev
237acad154fb83f327fb706301b39a56109435aa
2,860
hpp
C++
src/backends/opengl/OpenglSurface.hpp
AntonHakansson/KvantEngine
f101fc771a8e9eca8ced59a084b9be0169e95649
[ "MIT" ]
null
null
null
src/backends/opengl/OpenglSurface.hpp
AntonHakansson/KvantEngine
f101fc771a8e9eca8ced59a084b9be0169e95649
[ "MIT" ]
2
2017-04-05T01:50:13.000Z
2017-08-10T00:58:26.000Z
src/backends/opengl/OpenglSurface.hpp
AntonHakansson/KvantEngine
f101fc771a8e9eca8ced59a084b9be0169e95649
[ "MIT" ]
null
null
null
#ifndef OpenglSurface_HPP_INCLUDED #define OpenglSurface_HPP_INCLUDED #include <glm/glm.hpp> #include "utils/Checks.hpp" #include "utils/Logger.hpp" namespace Kvant::graphics::opengl { using namespace glm; template <typename GRAPHICS> struct OpenglSurface : blueprints::graphics::Surface<GRAPHICS, OpenglSurface<...
32.5
80
0.687413
AntonHakansson