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
3fe1e08052fbf04b08e0214547368e45b3804aa4
637
cpp
C++
YorozuyaGSLib/source/_pt_trans_votepaper_zocl.cpp
lemkova/Yorozuya
f445d800078d9aba5de28f122cedfa03f26a38e4
[ "MIT" ]
29
2017-07-01T23:08:31.000Z
2022-02-19T10:22:45.000Z
YorozuyaGSLib/source/_pt_trans_votepaper_zocl.cpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
90
2017-10-18T21:24:51.000Z
2019-06-06T02:30:33.000Z
YorozuyaGSLib/source/_pt_trans_votepaper_zocl.cpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
44
2017-12-19T08:02:59.000Z
2022-02-24T23:15:01.000Z
#include <_pt_trans_votepaper_zocl.hpp> START_ATF_NAMESPACE _pt_trans_votepaper_zocl::_pt_trans_votepaper_zocl() { using org_ptr = void (WINAPIV*)(struct _pt_trans_votepaper_zocl*); (org_ptr(0x1402bfff0L))(this); }; void _pt_trans_votepaper_zocl::ctor__pt_trans_votepaper_zocl() { ...
28.954545
74
0.689168
lemkova
3fe76f19d28426a27e7fd1418b7032b118b02e00
745
cc
C++
src/Animation.cc
carolinavillam/Lucky-Monkey
5ddbadf6c604ea00c3384cc42eda9033d6297e7e
[ "MIT" ]
null
null
null
src/Animation.cc
carolinavillam/Lucky-Monkey
5ddbadf6c604ea00c3384cc42eda9033d6297e7e
[ "MIT" ]
null
null
null
src/Animation.cc
carolinavillam/Lucky-Monkey
5ddbadf6c604ea00c3384cc42eda9033d6297e7e
[ "MIT" ]
null
null
null
#include "Animation.hh" Animation:: Animation(const char* animationUrl, Drawable*& drawable) { reader = new std::ifstream(); reader->open(animationUrl); *reader >> delay; *reader >> row; *reader >> startFrame; *reader >> endFrame; reader->close(); currentFrame = startFrame; this->drawable = drawabl...
19.102564
136
0.634899
carolinavillam
3fe8df62bca012d15b55803766329e5032619fe6
139
cpp
C++
src/grpc_server_lib/src/greeter_async_server.cpp
vladimir-voinea/cpp_grpc_template
8f79b0083ed387e6b3de3b48b7306f2cbba7bb28
[ "MIT" ]
null
null
null
src/grpc_server_lib/src/greeter_async_server.cpp
vladimir-voinea/cpp_grpc_template
8f79b0083ed387e6b3de3b48b7306f2cbba7bb28
[ "MIT" ]
null
null
null
src/grpc_server_lib/src/greeter_async_server.cpp
vladimir-voinea/cpp_grpc_template
8f79b0083ed387e6b3de3b48b7306f2cbba7bb28
[ "MIT" ]
null
null
null
#include <grpc_server_lib/greeter_async_server.hpp> int main(int argc, char** argv) { ServerImpl server; server.Run(); return 0; }
15.444444
51
0.71223
vladimir-voinea
3fe9ec20f18230b54c45d6cbb395a2ff9ac65eea
539
cpp
C++
matex-k18-a-js/krazki.cpp
Aleshkev/algoritmika
fc95b0c0f318d9eb4ef1fef4cc3c6e85d2417189
[ "MIT" ]
2
2019-05-04T09:37:09.000Z
2019-05-22T18:07:28.000Z
matex-k18-a-js/krazki.cpp
Aleshkev/algoritmika
fc95b0c0f318d9eb4ef1fef4cc3c6e85d2417189
[ "MIT" ]
null
null
null
matex-k18-a-js/krazki.cpp
Aleshkev/algoritmika
fc95b0c0f318d9eb4ef1fef4cc3c6e85d2417189
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; typedef intmax_t I; int main() { ios_base::sync_with_stdio(false); cin.tie(nullptr); cout.tie(nullptr); I n, m; cin >> n >> m; vector<I> r(n); for (I i = 0; i < n; ++i) { cin >> r[i]; if (i > 0 && r[i] > r[i - 1]) r[i] = r[i - 1]; } I l = n -...
14.567568
50
0.45269
Aleshkev
3feb165d280660848289bb4b2c35ed3da7efa381
12,127
hpp
C++
package/lib-nms-abp/inc/nms_abp.hpp
krai/ck-mlperf
8849c68662be2f9f7ea6d2520dba35d6a159e4b8
[ "BSD-3-Clause" ]
2
2021-04-22T01:29:58.000Z
2021-12-13T14:29:35.000Z
package/lib-nms-abp/inc/nms_abp.hpp
krai/ck-mlperf
8849c68662be2f9f7ea6d2520dba35d6a159e4b8
[ "BSD-3-Clause" ]
4
2021-06-27T22:33:19.000Z
2022-02-07T09:21:59.000Z
package/lib-nms-abp/inc/nms_abp.hpp
krai/ck-mlperf
8849c68662be2f9f7ea6d2520dba35d6a159e4b8
[ "BSD-3-Clause" ]
5
2021-02-17T12:10:39.000Z
2022-02-17T18:19:16.000Z
// MIT License // // Copyright (c) 2021 Krai Ltd // // 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, me...
39.630719
80
0.579203
krai
3feb1bf4f05bea465c6fa1ce0b9e5f17b1afc165
294
cc
C++
StackOutBounds.cc
7andrew7/Bugorama
d0315083732f7724612963e98a7e89481f7acade
[ "MIT" ]
null
null
null
StackOutBounds.cc
7andrew7/Bugorama
d0315083732f7724612963e98a7e89481f7acade
[ "MIT" ]
null
null
null
StackOutBounds.cc
7andrew7/Bugorama
d0315083732f7724612963e98a7e89481f7acade
[ "MIT" ]
null
null
null
#include <iostream> // Reference out-of-bounds stack memory via a helper function char BufferFetch(char *buffer, size_t index) { return buffer[index]; } int main(int argc, char **argv) { char buffer[256] = {0}; char c = BufferFetch(buffer, 259); std::cout << c << std::endl; }
18.375
61
0.656463
7andrew7
684cafa346744b347917ad0cb40319d9f91ef922
588
cc
C++
ports/www/chromium-legacy/newport/files/patch-chrome_browser_download_download__shelf__context__menu.cc
liweitianux/DeltaPorts
b907de0ceb9c0e46ae8961896e97b361aa7c62c0
[ "BSD-2-Clause-FreeBSD" ]
31
2015-02-06T17:06:37.000Z
2022-03-08T19:53:28.000Z
ports/www/chromium-legacy/newport/files/patch-chrome_browser_download_download__shelf__context__menu.cc
liweitianux/DeltaPorts
b907de0ceb9c0e46ae8961896e97b361aa7c62c0
[ "BSD-2-Clause-FreeBSD" ]
236
2015-06-29T19:51:17.000Z
2021-12-16T22:46:38.000Z
ports/www/chromium-legacy/newport/files/patch-chrome_browser_download_download__shelf__context__menu.cc
liweitianux/DeltaPorts
b907de0ceb9c0e46ae8961896e97b361aa7c62c0
[ "BSD-2-Clause-FreeBSD" ]
52
2015-02-06T17:05:36.000Z
2021-10-21T12:13:06.000Z
--- chrome/browser/download/download_shelf_context_menu.cc.orig 2020-11-13 06:36:36 UTC +++ chrome/browser/download/download_shelf_context_menu.cc @@ -146,7 +146,7 @@ base::string16 DownloadShelfContextMenu::GetLabelForCo : IDS_DOWNLOAD_MENU_PLATFORM_OPEN_ALWAYS; break; } -#elif ...
49
87
0.697279
liweitianux
684f3552f949e69f8353322b84d8b8e9c018909a
824
hpp
C++
src/utils/function.hpp
dynilath/cqcppsdk
8f14c2ed85b6d2917ad7aef149acdfb89512937f
[ "MIT" ]
154
2020-01-03T02:51:51.000Z
2020-08-03T19:44:53.000Z
src/utils/function.hpp
dynilath/cqcppsdk
8f14c2ed85b6d2917ad7aef149acdfb89512937f
[ "MIT" ]
22
2020-01-26T04:18:28.000Z
2020-07-04T06:38:28.000Z
src/utils/function.hpp
dynilath/cqcppsdk
8f14c2ed85b6d2917ad7aef149acdfb89512937f
[ "MIT" ]
40
2020-01-06T11:17:25.000Z
2020-08-07T08:26:32.000Z
#pragma once #include <functional> namespace cq::utils { template <typename ReturnType, typename... Params, typename... Args> inline ReturnType call_if_valid(const std::function<ReturnType(Params...)> &func, Args &&... args) { if (func) { return func(std::forward<Args>(args)...); }...
29.428571
104
0.569175
dynilath
684fc2132fae3647a2a82ab6f68778a29c42fb4d
10,012
hpp
C++
commune/kMeansLearner.hpp
fuchuanpu/Whisper
80622d6d30b59feab1312865b4395960b9b4d8ea
[ "MIT" ]
25
2021-11-15T03:03:46.000Z
2022-03-23T03:39:06.000Z
commune/kMeansLearner.hpp
sljx/Whisper
80622d6d30b59feab1312865b4395960b9b4d8ea
[ "MIT" ]
2
2021-12-22T13:16:53.000Z
2022-02-02T17:23:42.000Z
commune/kMeansLearner.hpp
sljx/Whisper
80622d6d30b59feab1312865b4395960b9b4d8ea
[ "MIT" ]
11
2021-11-15T04:00:53.000Z
2022-03-07T04:31:18.000Z
#pragma once #include "../common.hpp" #include "./analyzerWorker.hpp" #include "./deviceConfig.hpp" #include <mlpack/core.hpp> #include <mlpack/methods/kmeans/kmeans.hpp> #include <time.h> #include <unistd.h> #include <semaphore.h> namespace Whisper { class AnalyzerWorkerThread; class DeviceConfig; struct Lea...
30.431611
107
0.560727
fuchuanpu
68505f2e3f041ba73de3fd3302d0ae08f1230e6a
4,880
cpp
C++
src/atta/uiSystem/layers/editor/topBar/localWindows/repoWindow.cpp
brenocq/atta
dc0f3429c26be9b0a340e63076f00f996e9282cc
[ "MIT" ]
5
2021-11-18T02:44:45.000Z
2021-12-21T17:46:10.000Z
src/atta/uiSystem/layers/editor/topBar/localWindows/repoWindow.cpp
Brenocq/RobotSimulator
dc0f3429c26be9b0a340e63076f00f996e9282cc
[ "MIT" ]
1
2021-11-18T02:56:14.000Z
2021-12-04T15:09:16.000Z
src/atta/uiSystem/layers/editor/topBar/localWindows/repoWindow.cpp
Brenocq/RobotSimulator
dc0f3429c26be9b0a340e63076f00f996e9282cc
[ "MIT" ]
3
2020-09-10T07:17:00.000Z
2020-11-05T10:24:41.000Z
//-------------------------------------------------- // Atta UI System // repoWindow.cpp // Date: 2021-12-26 // By Breno Cunha Queiroz //-------------------------------------------------- #include <atta/uiSystem/layers/editor/topBar/localWindows/repoWindow.h> #include <atta/fileSystem/fileManager.h> #include <imgui.h> ...
34.366197
127
0.483811
brenocq
68519e46e9b2173735930021186e07b0327d8b4c
1,740
hpp
C++
source/vaultserver/NPC.hpp
CyberSys/vaultmp
341d62202eb47c5f8795c3b93391fd799c6a4ca8
[ "MIT" ]
67
2015-01-08T10:40:31.000Z
2022-03-29T21:16:51.000Z
source/vaultserver/NPC.hpp
CyberSys/vaultmp
341d62202eb47c5f8795c3b93391fd799c6a4ca8
[ "MIT" ]
20
2015-01-05T21:04:05.000Z
2018-04-15T11:50:37.000Z
source/vaultserver/NPC.hpp
CyberSys/vaultmp
341d62202eb47c5f8795c3b93391fd799c6a4ca8
[ "MIT" ]
60
2015-02-17T00:12:11.000Z
2021-08-21T22:16:58.000Z
#ifndef NPCDB_H #define NPCDB_H #include "vaultserver.hpp" #include "Expected.hpp" #include "BaseContainer.hpp" #include <vector> #include <unordered_map> #include <unordered_set> #include <functional> class sqlite3_stmt; /** * \brief Represents a NPC */ namespace DB { class NPC { private: enum TplFlags :...
21.481481
77
0.666667
CyberSys
68580e87a44db7b56238a9c1767c6b110e281494
1,949
cpp
C++
graph/475b.cpp
SnowOnion/CodeForcesLee
c2e964432ce9c2f6ca0c9038934c10f1bf1268b3
[ "MIT" ]
null
null
null
graph/475b.cpp
SnowOnion/CodeForcesLee
c2e964432ce9c2f6ca0c9038934c10f1bf1268b3
[ "MIT" ]
null
null
null
graph/475b.cpp
SnowOnion/CodeForcesLee
c2e964432ce9c2f6ca0c9038934c10f1bf1268b3
[ "MIT" ]
null
null
null
/** WA at test 16! http://codeforces.com/contest/475/submission/8223685 16 11 <<<<>><><<<<<><< vv^v^vvvv^v output YES answer NO */ #include<cstdio> /**Floyd 算法. A 权值, D最终是最短距离*/ int A[410][410],D[410][410]; const int inf=1000000; int rowarr[30],colarr[30];// 1: > ^ ; -1: < v int n,m; /**safe assign something to...
19.686869
54
0.391483
SnowOnion
6859e8df87dd1f2873927e4b1146d37b4bf06da7
13,408
cpp
C++
src/Game.cpp
howprice/sdl2-tetris
8272994293c84b42450ef68bc92c73587f2429cd
[ "BSD-3-Clause" ]
11
2015-09-30T12:14:59.000Z
2022-03-22T04:04:51.000Z
src/Game.cpp
howprice/sdl2-tetris
8272994293c84b42450ef68bc92c73587f2429cd
[ "BSD-3-Clause" ]
2
2015-09-30T16:00:18.000Z
2016-12-29T10:51:14.000Z
src/Game.cpp
howprice/sdl2-tetris
8272994293c84b42450ef68bc92c73587f2429cd
[ "BSD-3-Clause" ]
2
2021-12-23T04:20:12.000Z
2022-03-22T04:09:57.000Z
//-------------------------------------------------------------------------------------------------- /** \file Game.cpp **/ //-------------------------------------------------------------------------------------------------- #include "Game.h" #include "Debug.h" #include "Renderer.h" #include <stdio.h> #includ...
24.647059
148
0.648568
howprice
685c4977bbdb94cf8d969e524331334a16c37764
1,362
hpp
C++
_thirdparty/include/boost/process/detail/posix/search_path.hpp
joerghall/sourcesfs
29ed9675b18f16d869116ed5e5d5343241aa5335
[ "MIT" ]
1
2017-07-27T19:32:29.000Z
2017-07-27T19:32:29.000Z
_thirdparty/include/boost/process/detail/posix/search_path.hpp
joerghall/sourcesfs
29ed9675b18f16d869116ed5e5d5343241aa5335
[ "MIT" ]
null
null
null
_thirdparty/include/boost/process/detail/posix/search_path.hpp
joerghall/sourcesfs
29ed9675b18f16d869116ed5e5d5343241aa5335
[ "MIT" ]
null
null
null
// Copyright (c) 2006, 2007 Julio M. Merino Vidal // Copyright (c) 2008 Ilya Sokolov, Boris Schaeling // Copyright (c) 2009 Boris Schaeling // Copyright (c) 2010 Felipe Tanus, Boris Schaeling // Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling // // Distributed under the Boost Software License, Version 1.0. (See ac...
28.978723
79
0.671072
joerghall
685fc3c63da7cf6de89fb2f6fa9b3c99474a87d5
1,512
hpp
C++
include/lol/def/LolFeaturedModesQueue.hpp
Maufeat/LeagueAPI
be7cb5093aab3f27d95b3c0e1d5700aa50126c47
[ "BSD-3-Clause" ]
1
2020-07-22T11:14:55.000Z
2020-07-22T11:14:55.000Z
include/lol/def/LolFeaturedModesQueue.hpp
Maufeat/LeagueAPI
be7cb5093aab3f27d95b3c0e1d5700aa50126c47
[ "BSD-3-Clause" ]
null
null
null
include/lol/def/LolFeaturedModesQueue.hpp
Maufeat/LeagueAPI
be7cb5093aab3f27d95b3c0e1d5700aa50126c47
[ "BSD-3-Clause" ]
4
2018-12-01T22:48:21.000Z
2020-07-22T11:14:56.000Z
#pragma once #include "../base_def.hpp" #include "LolFeaturedModesQueueGameCategory.hpp" #include "LolFeaturedModesQueueAvailability.hpp" namespace lol { struct LolFeaturedModesQueue { int32_t id; int32_t mapId; std::string name; std::string gameMode; std::string gameMutator; LolFeaturedMode...
38.769231
94
0.681217
Maufeat
6868fd3637db09a89d57b5b02343391b87783b5c
2,159
cpp
C++
runtime/gmm_helper/gmm_types_converter.cpp
Unihedro/compute-runtime
cc46cdf46cb37eb7801918cd03c7fd3e06fd4068
[ "MIT" ]
null
null
null
runtime/gmm_helper/gmm_types_converter.cpp
Unihedro/compute-runtime
cc46cdf46cb37eb7801918cd03c7fd3e06fd4068
[ "MIT" ]
null
null
null
runtime/gmm_helper/gmm_types_converter.cpp
Unihedro/compute-runtime
cc46cdf46cb37eb7801918cd03c7fd3e06fd4068
[ "MIT" ]
null
null
null
/* * Copyright (C) 2019 Intel Corporation * * SPDX-License-Identifier: MIT * */ #include "runtime/gmm_helper/gmm_types_converter.h" #include "core/memory_manager/graphics_allocation.h" #include "runtime/helpers/get_info.h" #include "runtime/helpers/surface_formats.h" #include "GL/gl.h" #include "GL/glext.h" us...
29.575342
120
0.708198
Unihedro
686ccbd7138830920135b815f363caccf1427ebe
3,451
hpp
C++
shared/include/small_function.hpp
SleepKiller/shaderpatch
4bda848df0273993c96f1d20a2cf79161088a77d
[ "MIT" ]
13
2019-03-25T09:40:12.000Z
2022-03-13T16:12:39.000Z
shared/include/small_function.hpp
SleepKiller/shaderpatch
4bda848df0273993c96f1d20a2cf79161088a77d
[ "MIT" ]
110
2018-10-16T09:05:43.000Z
2022-03-16T23:32:28.000Z
shared/include/small_function.hpp
SleepKiller/swbfii-shaderpatch
b49ce3349d4dd09b19237ff4766652166ba1ffd4
[ "MIT" ]
1
2020-02-06T20:32:50.000Z
2020-02-06T20:32:50.000Z
#pragma once #include <array> #include <cstddef> #include <functional> #include <type_traits> #include <utility> namespace sp { template<typename> class Small_function; template<typename Return, typename... Args> class Small_function<Return(Args...) noexcept> { public: Small_function() = default; Small_funct...
25.189781
82
0.651985
SleepKiller
686dc59f38054c90246c2f35f5cf440cde121bab
5,788
cc
C++
Alignment/CommonAlignmentProducer/test/TestAccessGeom.cc
PKUfudawei/cmssw
8fbb5ce74398269c8a32956d7c7943766770c093
[ "Apache-2.0" ]
2
2020-10-26T18:40:32.000Z
2021-04-10T16:33:25.000Z
Alignment/CommonAlignmentProducer/test/TestAccessGeom.cc
gartung/cmssw
3072dde3ce94dcd1791d778988198a44cde02162
[ "Apache-2.0" ]
30
2015-11-04T11:42:27.000Z
2021-12-01T07:56:34.000Z
Alignment/CommonAlignmentProducer/test/TestAccessGeom.cc
gartung/cmssw
3072dde3ce94dcd1791d778988198a44cde02162
[ "Apache-2.0" ]
8
2016-03-25T07:17:43.000Z
2021-07-08T17:11:21.000Z
// -*- C++ -*- // // Package: TestAccessGeom // Class: TestAccessGeom // /**\class TestAccessGeom Alignment/CommonAlignmentProducer/test/TestAccessGeom.cc Description: <one line class summary> Implementation: Module accessing tracking geometries for tracker, DT and CSC */ // // Original Author: Gero Fluck...
38.586667
119
0.666724
PKUfudawei
686e89928f2180b1131b2a5b1400265bf0917585
23,768
cpp
C++
tests/test_arrays.cpp
yangyha/ipic3d-klm
d91f8f7fe361f38ab00a3169e4a583e5713e1a9a
[ "Apache-2.0" ]
null
null
null
tests/test_arrays.cpp
yangyha/ipic3d-klm
d91f8f7fe361f38ab00a3169e4a583e5713e1a9a
[ "Apache-2.0" ]
1
2021-06-22T09:14:29.000Z
2021-06-22T13:18:14.000Z
tests/test_arrays.cpp
yangyha/ipic3d-klm
d91f8f7fe361f38ab00a3169e4a583e5713e1a9a
[ "Apache-2.0" ]
4
2021-05-28T08:59:49.000Z
2021-07-08T07:55:48.000Z
/* iPIC3D was originally developed by Stefano Markidis and Giovanni Lapenta. * This release was contributed by Alec Johnson and Ivy Bo Peng. * Publications that use results from iPIC3D need to properly cite * 'S. Markidis, G. Lapenta, and Rizwan-uddin. "Multi-scale simulations of * plasma with iPIC3D." Mathemat...
27.669383
134
0.575353
yangyha
68718219eda17a62176ed61329edcffd8ae22551
1,485
cpp
C++
leetcode/cpp/p2/p2.cpp
davidlunadeleon/leetcode
3a3d7d3ec9b708982658b154f8e551ae9a9fb8c1
[ "Unlicense" ]
1
2020-08-20T23:27:13.000Z
2020-08-20T23:27:13.000Z
leetcode/cpp/p2/p2.cpp
davidlunadeleon/leetcode
3a3d7d3ec9b708982658b154f8e551ae9a9fb8c1
[ "Unlicense" ]
null
null
null
leetcode/cpp/p2/p2.cpp
davidlunadeleon/leetcode
3a3d7d3ec9b708982658b154f8e551ae9a9fb8c1
[ "Unlicense" ]
null
null
null
// Source: https://leetcode.com/problems/add-two-numbers/ // Date: 17.06.2020 // Solution by: David Luna // Runtime: 44ms // Memory usage: 71.2 MB #include <iostream> #include <vector> #include "../lib/linkedListUtils/linkedListUtils.h" #include "../lib/vectorUtils/vectorUtils.h" // Leetcode solution starts class S...
19.8
74
0.651178
davidlunadeleon
68725068ccbabe252b8e7038540bab47f6c4459a
1,122
cpp
C++
src/mxAUIContainer.cpp
stahta01/Zinjal
8d1e52c9eab5cde9f7cb96c99a0fbdf97904da42
[ "OML" ]
1
2019-03-24T00:58:59.000Z
2019-03-24T00:58:59.000Z
src/mxAUIContainer.cpp
stahta01/Zinjal
8d1e52c9eab5cde9f7cb96c99a0fbdf97904da42
[ "OML" ]
null
null
null
src/mxAUIContainer.cpp
stahta01/Zinjal
8d1e52c9eab5cde9f7cb96c99a0fbdf97904da42
[ "OML" ]
null
null
null
#include "mxAUIContainer.h" #include "mxMainWindow.h" #include "mxAUI.h" BEGIN_EVENT_TABLE(mxAUIContainer,wxAuiNotebook) EVT_AUINOTEBOOK_PAGE_CHANGED(mxID_LEFT_PANELS, mxAUIContainer::OnPageChanged) END_EVENT_TABLE() mxAUIContainer::mxAUIContainer (wxWindow * parent, bool for_side_panel) : wxAuiNotebook(parent, wx...
24.391304
102
0.753119
stahta01
6872aa2d719d1b24f647cb4e8ac2bad7c8b97096
1,454
cpp
C++
hr/hard/connectedSum.cpp
gnom1gnom/cpp-algorithms
e460c0d1720acf0e0548452dfba05651e4868120
[ "Unlicense" ]
null
null
null
hr/hard/connectedSum.cpp
gnom1gnom/cpp-algorithms
e460c0d1720acf0e0548452dfba05651e4868120
[ "Unlicense" ]
null
null
null
hr/hard/connectedSum.cpp
gnom1gnom/cpp-algorithms
e460c0d1720acf0e0548452dfba05651e4868120
[ "Unlicense" ]
null
null
null
#include <bits/stdc++.h> using namespace std; map<int, vector<int>> v; map<int, bool> visited; int getConnectedComponentSize(int x) { stack<int> nodes; nodes.push(x); visited[x] = true; int cnt = 0; while (nodes.size() > 0) { int x = nodes.top(); nodes.pop(); cnt += 1...
20.771429
87
0.47868
gnom1gnom
68744a3aa9788c1e7ff013c53b2ebc4b971848a2
1,451
cpp
C++
src/WidgetSprinkler.cpp
intoyuniot/WidgetSprinkler
10915dd4ea88ba3f2b8aa06feb3acc5b3162251b
[ "MIT" ]
null
null
null
src/WidgetSprinkler.cpp
intoyuniot/WidgetSprinkler
10915dd4ea88ba3f2b8aa06feb3acc5b3162251b
[ "MIT" ]
null
null
null
src/WidgetSprinkler.cpp
intoyuniot/WidgetSprinkler
10915dd4ea88ba3f2b8aa06feb3acc5b3162251b
[ "MIT" ]
null
null
null
#include "WidgetSprinkler.h" WidgetSprinkler::WidgetSprinkler(uint8_t ucItem) { _Item=ucItem; memset(pDataStatusTopic,0,sizeof(pDataStatusTopic)); memset(pCmdWaterTopic,0,sizeof(pCmdWaterTopic)); memset(pDataSoilHumidityTopic,0,sizeof(pDataSoilHumidityTopic)); sprintf(pDataStatusTopic,"channel/spr...
21.338235
83
0.760165
intoyuniot
6875392c133ac3c05480da694262bac3fc550ebd
1,005
hpp
C++
src/region_event_registry.hpp
gemfire/node-gemfire
51e55645e1b643046b47e8dc7d2144ae58688ed2
[ "BSD-2-Clause" ]
8
2015-04-24T18:59:01.000Z
2019-07-05T14:24:22.000Z
src/region_event_registry.hpp
gemfire/node-gemfire
51e55645e1b643046b47e8dc7d2144ae58688ed2
[ "BSD-2-Clause" ]
8
2015-06-30T20:48:34.000Z
2021-03-13T03:45:13.000Z
src/region_event_registry.hpp
gemfire/node-gemfire
51e55645e1b643046b47e8dc7d2144ae58688ed2
[ "BSD-2-Clause" ]
13
2015-05-02T16:16:42.000Z
2021-05-25T05:50:03.000Z
#ifndef __REGION_EVENT_REGISTRY_HPP__ #define __REGION_EVENT_REGISTRY_HPP__ #include <geode/Region.hpp> #include <geode/EntryEvent.hpp> #include <string> #include <set> #include "region_event_listener.hpp" #include "event_stream.hpp" namespace node_gemfire { class Region; class RegionEventRegistry { public: Regi...
23.928571
92
0.761194
gemfire
687672105e4f1408e5e225f7b52bd4e553c0c03c
4,079
cpp
C++
src/ComponentsFactory.cpp
valentingrigorean/Tanks-IP
24f7db59b009cf05b193bf0a2d46f68b71d0b399
[ "MIT" ]
null
null
null
src/ComponentsFactory.cpp
valentingrigorean/Tanks-IP
24f7db59b009cf05b193bf0a2d46f68b71d0b399
[ "MIT" ]
null
null
null
src/ComponentsFactory.cpp
valentingrigorean/Tanks-IP
24f7db59b009cf05b193bf0a2d46f68b71d0b399
[ "MIT" ]
null
null
null
#include <tank/ComponentsFactory.h> #include <tank/ObjectPool.h> #include <tank/GameObject.h> #include <tank/ResourceManager.h> #include <tank/components/SpriteComponent.h> #include <tank/components/TransformComponent.h> #include <tank/components/HealthComponent.h> #include <tank/components/TankComponent.h> #include <...
30.669173
131
0.730816
valentingrigorean
68772850ae773b62cebb839e75a1805617316515
1,041
cxx
C++
test/loopcompile4.cxx
paulwratt/cin-5.34.00
036a8202f11a4a0e29ccb10d3c02f304584cda95
[ "MIT" ]
10
2018-03-26T07:41:44.000Z
2021-11-06T08:33:24.000Z
test/loopcompile4.cxx
paulwratt/cin-5.34.00
036a8202f11a4a0e29ccb10d3c02f304584cda95
[ "MIT" ]
null
null
null
test/loopcompile4.cxx
paulwratt/cin-5.34.00
036a8202f11a4a0e29ccb10d3c02f304584cda95
[ "MIT" ]
1
2020-11-17T03:17:00.000Z
2020-11-17T03:17:00.000Z
/* -*- C++ -*- */ /************************************************************************* * Copyright(c) 1995~2005 Masaharu Goto (root-cint@cern.ch) * * For the licensing terms see the file COPYING * ************************************************************************/ #include <stdio.h> #define NUM 10 vo...
14.661972
74
0.387128
paulwratt
68778b1cfd5fe17c927fc3dca44b4671479ef2d4
11,100
cpp
C++
examples/Cxx14SGXDemo/Enclave/TrustedLibrary/Libcxx.cpp
VXAPPS/cmake-sgx-template
01e75934253a63e2a8d371011d268da53833df72
[ "BSD-3-Clause" ]
null
null
null
examples/Cxx14SGXDemo/Enclave/TrustedLibrary/Libcxx.cpp
VXAPPS/cmake-sgx-template
01e75934253a63e2a8d371011d268da53833df72
[ "BSD-3-Clause" ]
null
null
null
examples/Cxx14SGXDemo/Enclave/TrustedLibrary/Libcxx.cpp
VXAPPS/cmake-sgx-template
01e75934253a63e2a8d371011d268da53833df72
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (C) 2011-2021 Intel Corporation. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * * Redistributions of source code must retain the above copyright * notice, this li...
26.241135
94
0.627658
VXAPPS
6879bc324078290ca7f15bc3e932ed06efd6ea7f
1,827
hpp
C++
src/GLRenderer/Scene/Component.hpp
Thomas-Zorroche/GLRenderer
1e47a98d563a5c1df8c781826322325a1766bda5
[ "MIT" ]
null
null
null
src/GLRenderer/Scene/Component.hpp
Thomas-Zorroche/GLRenderer
1e47a98d563a5c1df8c781826322325a1766bda5
[ "MIT" ]
null
null
null
src/GLRenderer/Scene/Component.hpp
Thomas-Zorroche/GLRenderer
1e47a98d563a5c1df8c781826322325a1766bda5
[ "MIT" ]
null
null
null
#pragma once #include <glm/glm.hpp> #include <glm/ext/matrix_transform.hpp> #include <memory> #include <string> #include "../Mesh.hpp" #include "../Lighting/BaseLight.hpp" #include "../Line.hpp" namespace glrenderer { struct TransformComponent { glm::vec3 location = glm::vec3(0.0f, 0.0f, 0.0f); glm::vec3 ro...
23.423077
94
0.67214
Thomas-Zorroche
687b2189cd2243075b44d9182317150260ddea43
1,186
cpp
C++
examples/demo/state_world.cpp
HolyBlackCat/prototyping
0938ad889db0bfcc3b683beaa92eac81bf05bc76
[ "Zlib" ]
null
null
null
examples/demo/state_world.cpp
HolyBlackCat/prototyping
0938ad889db0bfcc3b683beaa92eac81bf05bc76
[ "Zlib" ]
null
null
null
examples/demo/state_world.cpp
HolyBlackCat/prototyping
0938ad889db0bfcc3b683beaa92eac81bf05bc76
[ "Zlib" ]
null
null
null
#include "main.h" namespace States { STRUCT( World EXTENDS StateBase ) { MEMBERS() float angle = 0; void Tick(std::string &next_state) override { (void)next_state; angle += 0.01; ImGui::ShowDemoWindow(); if (mouse.right.pressed...
26.954545
126
0.469646
HolyBlackCat
687c5cd7828c54a773742ec44899720ec6854062
12,860
cpp
C++
nightsky/configDlg.cpp
thurizas/nightSky
6924ef45c93b45bf0c47e0db2eef667d8255fb38
[ "Apache-2.0" ]
null
null
null
nightsky/configDlg.cpp
thurizas/nightSky
6924ef45c93b45bf0c47e0db2eef667d8255fb38
[ "Apache-2.0" ]
null
null
null
nightsky/configDlg.cpp
thurizas/nightSky
6924ef45c93b45bf0c47e0db2eef667d8255fb38
[ "Apache-2.0" ]
null
null
null
#include <QString> #include <QHBoxLayout> #include <QLabel> #include <QDebug> #include "configDlg.h" #include "nighsky.h" /********************************************************************************************************************************************************************************** * fu...
37.16763
183
0.516096
thurizas
688371bb2e97c4f2146c8a233e532d0424e6db3e
9,590
cpp
C++
sqlite/src/ossimGpkgContentsRecord.cpp
dardok/ossim-plugins
3406ffed9fcab88fe4175b845381611ac4122c81
[ "MIT" ]
12
2016-09-09T01:24:12.000Z
2022-01-09T21:45:58.000Z
sqlite/src/ossimGpkgContentsRecord.cpp
dardok/ossim-plugins
3406ffed9fcab88fe4175b845381611ac4122c81
[ "MIT" ]
5
2016-02-04T16:10:40.000Z
2021-06-29T05:00:29.000Z
sqlite/src/ossimGpkgContentsRecord.cpp
dardok/ossim-plugins
3406ffed9fcab88fe4175b845381611ac4122c81
[ "MIT" ]
20
2015-11-17T11:46:22.000Z
2021-11-12T19:23:54.000Z
//---------------------------------------------------------------------------- // // File: ossimGpkgContentsRecord.cpp // // License: LGPL // // See LICENSE.txt file in the top level directory for more details. // // Description: Container class for gpkg_contents table. // //------------------------------------------...
29.237805
98
0.517518
dardok
688536b49f91088c65f03ddfaee1716ac386734c
1,245
cpp
C++
GameFramework/Helper/HlTimer.cpp
GavWood/tutorials
d5140129b6acd6d61f6feedcd352c12e4ebabd40
[ "BSD-2-Clause" ]
8
2017-10-26T14:26:55.000Z
2022-01-07T07:35:39.000Z
GameFramework/Helper/HlTimer.cpp
GavWood/tutorials
d5140129b6acd6d61f6feedcd352c12e4ebabd40
[ "BSD-2-Clause" ]
1
2018-01-27T19:21:07.000Z
2018-01-31T13:55:09.000Z
GameFramework/Helper/HlTimer.cpp
GavWood/Game-Framework
d5140129b6acd6d61f6feedcd352c12e4ebabd40
[ "BSD-2-Clause" ]
1
2021-07-21T17:37:33.000Z
2021-07-21T17:37:33.000Z
//////////////////////////////////////////////////////////////////////////////// // HlTimer // Includes #include "HlTimer.h" #include "BtTime.h" #include "BtString.h" #include "ApConfig.h" //////////////////////////////////////////////////////////////////////////////// // Constructor HlTimer::HlTimer() { m_start = ...
20.409836
80
0.434538
GavWood
68868c2d58a7267470ec9694c0eb658eb204202e
2,658
hpp
C++
inc/vpp/prediction.hpp
ezdayo/vpp
90d13ed9ab49ff0db7188ef72a89821f0c14a9bf
[ "MIT" ]
1
2020-06-18T14:01:50.000Z
2020-06-18T14:01:50.000Z
inc/vpp/prediction.hpp
ezdayo/vpp
90d13ed9ab49ff0db7188ef72a89821f0c14a9bf
[ "MIT" ]
null
null
null
inc/vpp/prediction.hpp
ezdayo/vpp
90d13ed9ab49ff0db7188ef72a89821f0c14a9bf
[ "MIT" ]
null
null
null
/** * * @file vpp/prediction.hpp * * @brief This is the VPP prediction description file * * @details This file describes the structure of a prediction and adds a few * methods to handle it. A prediction is basically a score, a list * index and an object index within this list. ...
29.208791
78
0.582769
ezdayo
68881e7d66e313cd139022a82a3a89cbcf64aefe
2,911
cpp
C++
deps/vision/src/vca_sample_echostring_server/vca_sample_echostring_server.cpp
MichaelJCaruso/vision-xa-nodejs-connect
ef13ccc2730bf1db07cb44106dfcfd020d843d82
[ "BSD-3-Clause" ]
30
2016-10-07T15:23:35.000Z
2020-03-25T20:01:30.000Z
src/vca_sample_echostring_server/vca_sample_echostring_server.cpp
MichaelJCaruso/vision-software-src-master
12b1b4f12a7531fe6e3cbb6861b40ac8e1985b92
[ "BSD-3-Clause" ]
30
2016-10-31T19:48:08.000Z
2021-04-28T01:31:53.000Z
software/src/master/src/vca_sample_echostring_server/vca_sample_echostring_server.cpp
c-kuhlman/vision
46b25f7c0da703c059acc8f0a2eac1d5badf9f6d
[ "BSD-3-Clause" ]
15
2016-10-07T16:44:13.000Z
2021-06-21T18:47:55.000Z
/***** Vca Sample Server *****/ /******************** ***** System ***** ********************/ #include "Vk.h" /****************** ***** Self ***** ******************/ /************************ ***** Supporting ***** ************************/ #include "Vca_VOneAppMain_.h" #include "Vca_VServerApplic...
21.248175
96
0.40055
MichaelJCaruso
68899bb54200e7df5bcd9314f946c07d8e684b49
684
hpp
C++
508 - A4-spbspu-labs-2020-904-3/2/common/shape.hpp
NekoSilverFox/CPP
c6797264fceda4a65ac3452acca496e468d1365a
[ "Apache-2.0" ]
5
2020-02-08T20:57:21.000Z
2021-12-23T06:24:41.000Z
508 - A4-spbspu-labs-2020-904-3/2/common/shape.hpp
NekoSilverFox/CPP
c6797264fceda4a65ac3452acca496e468d1365a
[ "Apache-2.0" ]
2
2020-03-02T14:44:55.000Z
2020-11-11T16:25:33.000Z
508 - A4-spbspu-labs-2020-904-3/2/common/shape.hpp
NekoSilverFox/CPP
c6797264fceda4a65ac3452acca496e468d1365a
[ "Apache-2.0" ]
4
2020-09-27T17:30:03.000Z
2022-02-16T09:48:23.000Z
#ifndef SHAPE_H #define SHAPE_H #include <memory> namespace gadzhiev { struct point_t; struct rectangle_t; class Shape { public: typedef std::shared_ptr<const Shape> ConstShapePtr; typedef std::shared_ptr<Shape> ShapePtr; virtual ~Shape() = default; virtual double getArea() const ...
21.375
59
0.685673
NekoSilverFox
688a49523e06e10ee9fc273c7239431b67069106
911
cpp
C++
Libraries/plist/Sources/Format/ABPCommon.cpp
kolinkrewinkel/xcbuild
05ac2e574d96a3edff08df4d87b49f39931043f1
[ "BSD-2-Clause-NetBSD" ]
null
null
null
Libraries/plist/Sources/Format/ABPCommon.cpp
kolinkrewinkel/xcbuild
05ac2e574d96a3edff08df4d87b49f39931043f1
[ "BSD-2-Clause-NetBSD" ]
null
null
null
Libraries/plist/Sources/Format/ABPCommon.cpp
kolinkrewinkel/xcbuild
05ac2e574d96a3edff08df4d87b49f39931043f1
[ "BSD-2-Clause-NetBSD" ]
null
null
null
/** Copyright (c) 2015-present, Facebook, Inc. All rights reserved. This source code is licensed under the BSD-style license found in the LICENSE file in the root directory of this source tree. An additional grant of patent rights can be found in the PATENTS file in the same directory. */ #include <plist/Format...
23.973684
76
0.641054
kolinkrewinkel
688bad96be36f936d263c3eba93553365283e53f
4,767
hpp
C++
src/controller/DualAdvancedRunner.hpp
psettle/podracing
1a9c816bf8bb51910d0d2aa95c7c155553d9435e
[ "MIT" ]
1
2021-09-25T18:18:14.000Z
2021-09-25T18:18:14.000Z
src/controller/DualAdvancedRunner.hpp
psettle/podracing
1a9c816bf8bb51910d0d2aa95c7c155553d9435e
[ "MIT" ]
null
null
null
src/controller/DualAdvancedRunner.hpp
psettle/podracing
1a9c816bf8bb51910d0d2aa95c7c155553d9435e
[ "MIT" ]
null
null
null
#ifndef DUALADVANCEDRUNNER_HPP #define DUALADVANCEDRUNNER_HPP #include <math.h> #include <iostream> #include <memory> #include <sstream> #include <string> #include "GameIO.hpp" #include "IPlayer.hpp" #include "NeuralNetwork.hpp" #include "Vec2.hpp" class DualAdvancedRunner : public IPlayer { public: static unsign...
32.428571
93
0.696665
psettle
68932b764c381906b5d31e306e63332ed7f38ca8
10,499
cpp
C++
drishti/camerapathnode.cpp
shouhengli/drishti
46558d12adcc1d365b7e2125d28190e3be2181c3
[ "MIT" ]
118
2016-11-01T06:01:44.000Z
2022-03-30T05:20:19.000Z
drishti/camerapathnode.cpp
shouhengli/drishti
46558d12adcc1d365b7e2125d28190e3be2181c3
[ "MIT" ]
56
2016-09-30T09:29:36.000Z
2022-03-31T17:15:32.000Z
drishti/camerapathnode.cpp
shouhengli/drishti
46558d12adcc1d365b7e2125d28190e3be2181c3
[ "MIT" ]
28
2016-07-31T23:48:51.000Z
2021-05-25T05:32:47.000Z
#include "camerapathnode.h" CameraPathNode::CameraPathNode(Vec pos, Quaternion rot) { m_mf = new ManipulatedFrame(); // disable camera manipulation by mouse m_mf->removeFromMouseGrabberPool(); m_mf->setPosition(pos); m_mf->setOrientation(rot); m_constraints = new LocalConstraint(); m_constraints->set...
25.057279
83
0.590151
shouhengli
689f57399ac5c28a6bed7bbb043bcacfc45adc8d
1,023
cpp
C++
CppPrimer/CppPrimer-Exercises/CppPrimer-Ch03/Exercise3.36.cpp
alaxion/Learning
4b12b1603419252103cd933fdbfc4b2faffb6d00
[ "MIT" ]
null
null
null
CppPrimer/CppPrimer-Exercises/CppPrimer-Ch03/Exercise3.36.cpp
alaxion/Learning
4b12b1603419252103cd933fdbfc4b2faffb6d00
[ "MIT" ]
null
null
null
CppPrimer/CppPrimer-Exercises/CppPrimer-Ch03/Exercise3.36.cpp
alaxion/Learning
4b12b1603419252103cd933fdbfc4b2faffb6d00
[ "MIT" ]
null
null
null
// Exercise3.36.cpp // Ad // Write a program to compare two arrays for equality, then write a similar to compare vectors. #include <iostream> #include <vector> #include <iterator> using std::cin; using std::cout; using std::endl; int main() { // to compare two arrays int arr1[10]{}, arr2[10]{}; int *p...
20.058824
96
0.475073
alaxion
68a223fcb0bad703e33b65855153863e1d03fe20
542
cpp
C++
test/main.cpp
chenxu2048/DockerClientpp
81792fb0d84028b059983e1a08f12edf6e8c6b32
[ "MIT" ]
5
2017-05-23T16:32:15.000Z
2019-02-16T14:27:51.000Z
test/main.cpp
chenxu2048/DockerClientpp
81792fb0d84028b059983e1a08f12edf6e8c6b32
[ "MIT" ]
5
2019-07-13T23:14:52.000Z
2019-07-16T20:46:53.000Z
test/main.cpp
fedemengo/DockerClientpp
a83a1a992f081b5d25dccc2b9530308105e5c9c4
[ "MIT" ]
4
2017-11-14T14:00:58.000Z
2020-07-23T07:16:01.000Z
#include "gtest/gtest.h" class GlobalEnv : public ::testing::Environment { public: virtual void SetUp() { if (std::system("docker pull busybox:1.26")) { throw std::runtime_error("Cannot pull busybox"); } std::system("docker run -dt --name test busybox:1.26 > /dev/null 2>&1"); } virtual void Te...
25.809524
76
0.645756
chenxu2048
68a49f934efc4cfdc2f5e354471ec32d42b79391
10,418
cpp
C++
crud-example/request_processor.cpp
Stiffstream/restinio-crud-example
3e3e3a859b9743a870b20dda7da14360ccdae3ce
[ "BSD-3-Clause" ]
4
2019-10-07T21:23:55.000Z
2020-02-05T16:10:57.000Z
crud-example/request_processor.cpp
Stiffstream/restinio-crud-example
3e3e3a859b9743a870b20dda7da14360ccdae3ce
[ "BSD-3-Clause" ]
1
2020-02-04T05:14:23.000Z
2020-02-04T09:45:17.000Z
crud-example/request_processor.cpp
Stiffstream/restinio-crud-example
3e3e3a859b9743a870b20dda7da14360ccdae3ce
[ "BSD-3-Clause" ]
1
2020-02-05T16:11:00.000Z
2020-02-05T16:11:00.000Z
#include "request_processor.hpp" #include <restinio/helpers/http_field_parsers/content-type.hpp> #include <restinio/helpers/file_upload.hpp> #include <fmt/format.h> #include <stdexcept> namespace crud_example { namespace errors { const int unknow_error = -1; const int json_dto_error = 1; const int sqlite_error = ...
25.98005
93
0.727683
Stiffstream
68a4dc075d7caec1988290fd3a4cc07c184c3c83
862
cpp
C++
Regex/Problem27/main.cpp
akaseon/ModernCppChallengeStudy
1630f8cf5b3656171ee656738a908619cee6e718
[ "MIT" ]
null
null
null
Regex/Problem27/main.cpp
akaseon/ModernCppChallengeStudy
1630f8cf5b3656171ee656738a908619cee6e718
[ "MIT" ]
null
null
null
Regex/Problem27/main.cpp
akaseon/ModernCppChallengeStudy
1630f8cf5b3656171ee656738a908619cee6e718
[ "MIT" ]
null
null
null
//#include <gsl/gsl> #include <vector> #include <string> #include <iostream> std::vector<std::string> splittingString( std::string aFrom, std::string aDelimiter ) { std::vector<std::string> sTo; char * sToken = NULL; sToken = std::strtok...
23.297297
68
0.533643
akaseon
68a4e871e0fe4dbd179de98e9eb77f3df31dcdd0
795
cpp
C++
Game/Sources/State/PausedState.cpp
YvesHenri/Chico
e583a9995cd6e26fe198b21b9c7996c3199c4ff3
[ "MIT" ]
6
2017-01-09T13:19:56.000Z
2021-11-15T11:18:35.000Z
Game/Sources/State/PausedState.cpp
YvesHenri/Chico
e583a9995cd6e26fe198b21b9c7996c3199c4ff3
[ "MIT" ]
null
null
null
Game/Sources/State/PausedState.cpp
YvesHenri/Chico
e583a9995cd6e26fe198b21b9c7996c3199c4ff3
[ "MIT" ]
null
null
null
#include "../../Includes/State/PausedState.h" PausedState::PausedState() { overlap = sf::RectangleShape(sf::Vector2f(800.f, 600.f)); overlap.setFillColor(sf::Color(0, 0, 0, 185)); } void PausedState::onEnter() { WARN("-----> Paused"); } void PausedState::onLeave() { WARN("<----- Paused"); } void PausedState::dr...
19.875
79
0.68805
YvesHenri
68ae2dba87fdef7d2b77799274d10e9e024b8dd3
1,280
cpp
C++
Onegin/sorting.cpp
Great1ng/Huawei_Tasks
21f855f30df9806f81d5cedf8cd314a633174be1
[ "CC0-1.0" ]
null
null
null
Onegin/sorting.cpp
Great1ng/Huawei_Tasks
21f855f30df9806f81d5cedf8cd314a633174be1
[ "CC0-1.0" ]
null
null
null
Onegin/sorting.cpp
Great1ng/Huawei_Tasks
21f855f30df9806f81d5cedf8cd314a633174be1
[ "CC0-1.0" ]
null
null
null
#include "sorting.h" void mergesort(void *base, size_t count, size_t type, comparator comp) { if (count == 1) return; char *bt_base = (char *) base; size_t lcount = count / 2; size_t rcount = count - lcount; mergesort(bt_base, lcount, type, comp); mergesort(bt_base + lcount * type, rcount, t...
26.122449
101
0.575781
Great1ng
68b7fb59d66d1da145b5b6fb694765973d6465ee
607
hpp
C++
src/Missile.hpp
michal-tangri/sgd-game
aa4cf5704a9ca75b7b9c06b6096ae707607a8539
[ "MIT" ]
null
null
null
src/Missile.hpp
michal-tangri/sgd-game
aa4cf5704a9ca75b7b9c06b6096ae707607a8539
[ "MIT" ]
null
null
null
src/Missile.hpp
michal-tangri/sgd-game
aa4cf5704a9ca75b7b9c06b6096ae707607a8539
[ "MIT" ]
null
null
null
#ifndef __MISSILE_CLASS_HPP__ #define __MISSILE_CLASS_HPP__ #include "GameObject.hpp" #include "Tile.hpp" #include <array> class Missile : public GameObject { public: enum MissileOrigin { MISSILE_ORIGIN_PLAYER, MISSILE_ORIGIN_ENEMY }; Missile(MissileOrigin origin); void update(dou...
19.580645
89
0.723229
michal-tangri
68ba56c90c62dc771c66c7fe4bfea2ed7d3a1b5a
8,576
cpp
C++
src/hyposystem.cpp
HypoModel/HypoModBase
29572f98202780c9a8b25cffe80761fedb35aa1a
[ "MIT" ]
null
null
null
src/hyposystem.cpp
HypoModel/HypoModBase
29572f98202780c9a8b25cffe80761fedb35aa1a
[ "MIT" ]
null
null
null
src/hyposystem.cpp
HypoModel/HypoModBase
29572f98202780c9a8b25cffe80761fedb35aa1a
[ "MIT" ]
null
null
null
#include "hypomodel.h" //#include "hypomain.h" //#include "hypopanels.h" OptionPanel::OptionPanel(HypoMain *main, const wxString & title) : wxDialog(NULL, -1, title, wxDefaultPosition, wxSize(450, 450), wxFRAME_FLOAT_ON_PARENT | wxFRAME_TOOL_WINDOW | wxCAPTION | wxSYSTEM_MENU | wxCLOSE_BOX | wxRESIZE_BORDER) { i...
35.585062
131
0.731343
HypoModel
68be163aad621d1fd1d5c3538565f5f8d5c1430c
122,962
cpp
C++
CELLULARDlg.cpp
yantis/amps-cellular-interceptor
fff85cf5e4ba01a916a20f75a29d7ce8cc4a3df0
[ "MIT" ]
4
2018-02-12T15:18:43.000Z
2021-03-08T21:35:31.000Z
CELLULARDlg.cpp
yantis/amps-cellular-interceptor
fff85cf5e4ba01a916a20f75a29d7ce8cc4a3df0
[ "MIT" ]
null
null
null
CELLULARDlg.cpp
yantis/amps-cellular-interceptor
fff85cf5e4ba01a916a20f75a29d7ce8cc4a3df0
[ "MIT" ]
null
null
null
// CELLULARDlg.cpp : implementation file // #include "stdafx.h" #include "CELLULAR.h" #include "CELLULARDlg.h" #include <sys/types.h> #include <sys/stat.h> /* #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif */ #include "supercom\supercom.h" #inclu...
26.806627
190
0.587279
yantis
68c3732c72577fd424f41c28144aca72ff4e6b24
1,950
cpp
C++
src/Elements/emitter.cpp
attilabibok/epanet-dev
91d87377b8462cf0a12cb55ea0554951fb586993
[ "MIT" ]
1
2017-12-21T19:40:35.000Z
2017-12-21T19:40:35.000Z
src/Elements/emitter.cpp
attilabibok/epanet-dev
91d87377b8462cf0a12cb55ea0554951fb586993
[ "MIT" ]
null
null
null
src/Elements/emitter.cpp
attilabibok/epanet-dev
91d87377b8462cf0a12cb55ea0554951fb586993
[ "MIT" ]
null
null
null
/* EPANET 3 * * Copyright (c) 2016 Open Water Analytics * Distributed under the MIT License (see the LICENSE file for details). * */ #include "emitter.h" #include "junction.h" #include "pattern.h" #include "Core/network.h" #include <cmath> using namespace std; //-------------------------------------------------...
24.375
82
0.507692
attilabibok
68c4415146bf139aac80e5779108f3bd23f4fefa
10,585
cpp
C++
src/arboretum/stPartitionNode.cpp
marcosivni/arboretum
329147b2d147903bc8e527fc3dcfe2349141725a
[ "Apache-2.0" ]
null
null
null
src/arboretum/stPartitionNode.cpp
marcosivni/arboretum
329147b2d147903bc8e527fc3dcfe2349141725a
[ "Apache-2.0" ]
null
null
null
src/arboretum/stPartitionNode.cpp
marcosivni/arboretum
329147b2d147903bc8e527fc3dcfe2349141725a
[ "Apache-2.0" ]
null
null
null
/* Copyright 2003-2017 GBDI-ICMC-USP <caetano@icmc.usp.br> * * 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 applicabl...
32.469325
91
0.559565
marcosivni
68c503a54d6a500daeb69a026d88a4463a5e20eb
6,845
cpp
C++
src/PinholePCLCam.cpp
HWiese1980/merge_depth_cam
974008b6b1f84d516a0f74dfd3832bfa55ef163d
[ "BSD-3-Clause" ]
16
2019-01-23T10:35:27.000Z
2022-03-10T16:21:34.000Z
src/PinholePCLCam.cpp
mmiles19/merge_depth_cam
7bd00a7d2baabdb9c4a8afc6a4eb516898f995b0
[ "BSD-3-Clause" ]
3
2019-02-26T16:48:08.000Z
2022-01-24T18:16:15.000Z
src/PinholePCLCam.cpp
mmiles19/merge_depth_cam
7bd00a7d2baabdb9c4a8afc6a4eb516898f995b0
[ "BSD-3-Clause" ]
4
2019-10-27T10:45:41.000Z
2021-01-23T08:44:37.000Z
// #include <pluginlib/class_list_macros.h> #include "PinholePCLCam.hpp" #include <opencv2/opencv.hpp> #include <pcl/range_image/range_image_planar.h> #include <cassert> #include <cmath> using namespace sensor_msgs; using namespace std_msgs; namespace ap34 { void store_image(std::string fname, cv::Mat& img) { ...
41.737805
132
0.622498
HWiese1980
68c5c2ec21cf1af2560c0717b4118df93f520b17
4,866
cc
C++
gpu/command_buffer/service/transfer_buffer_manager_unittest.cc
nagineni/chromium-crosswalk
5725642f1c67d0f97e8613ec1c3e8107ab53fdf8
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
231
2015-01-08T09:04:44.000Z
2021-12-30T03:03:10.000Z
gpu/command_buffer/service/transfer_buffer_manager_unittest.cc
j4ckfrost/android_external_chromium_org
a1a3dad8b08d1fcf6b6b36c267158ed63217c780
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2021-12-13T19:44:12.000Z
2021-12-13T19:44:12.000Z
gpu/command_buffer/service/transfer_buffer_manager_unittest.cc
j4ckfrost/android_external_chromium_org
a1a3dad8b08d1fcf6b6b36c267158ed63217c780
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
268
2015-01-21T05:53:28.000Z
2022-03-25T22:09:01.000Z
// Copyright (c) 2012 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 "gpu/command_buffer/service/transfer_buffer_manager.h" #include "base/memory/scoped_ptr.h" #include "testing/gtest/include/gtest/gtest.h" #i...
41.948276
78
0.606658
nagineni
68c7a487e962bab969ab40a56ea58e555a3defc7
1,848
cpp
C++
tests/src/main.cpp
nemu-cpp/web-server
353ba231bc42c72e69f82ddbb7ae2ffbb5cbb97f
[ "MIT" ]
null
null
null
tests/src/main.cpp
nemu-cpp/web-server
353ba231bc42c72e69f82ddbb7ae2ffbb5cbb97f
[ "MIT" ]
null
null
null
tests/src/main.cpp
nemu-cpp/web-server
353ba231bc42c72e69f82ddbb7ae2ffbb5cbb97f
[ "MIT" ]
null
null
null
/* Copyright (c) 2019-2022 Xavier Leclercq Released under the MIT License See https://github.com/nemu-cpp/web-framework/blob/main/LICENSE.txt */ #include "DebugTemplateEngineProfileTests.hpp" #include "DebugTemplateEngineTests.hpp" #include "FileSystemWebRequestHandlerTests.hpp" #include "FunctionWebReques...
35.538462
74
0.77381
nemu-cpp
68c7f065cffccfaa24d72f7e637a04addbf03f30
5,053
cpp
C++
src/main_void_MPI_bitvec.cpp
rapastranac/gempba
3b50f9809af95e2001615ab704bb055db68f50c8
[ "MIT" ]
1
2021-07-08T13:52:06.000Z
2021-07-08T13:52:06.000Z
src/main_void_MPI_bitvec.cpp
rapastranac/gempba
3b50f9809af95e2001615ab704bb055db68f50c8
[ "MIT" ]
2
2021-07-31T14:58:02.000Z
2021-09-07T01:55:06.000Z
src/main_void_MPI_bitvec.cpp
rapastranac/gempba
3b50f9809af95e2001615ab704bb055db68f50c8
[ "MIT" ]
null
null
null
#ifdef BITVECTOR_VC #include "../include/main.h" #include "../include/Graph.hpp" #include "../MPI_Modules/MPI_Scheduler.hpp" #include "../include/VC_void_MPI_bitvec.hpp" #include "../include/resultholder/ResultHolder.hpp" #include "../include/BranchHandler.hpp" #include "../include/DLB_Handler.hpp" #include <chrono...
30.624242
124
0.64338
rapastranac
68c845b9335cdf764e208c6c9a498556a8478c7c
16,778
hh
C++
include/click/flow/flowelement.hh
MassimoGirondi/fastclick
71b9a3392c2e847a22de3c354be1d9f61216cb5b
[ "BSD-3-Clause-Clear" ]
1
2021-01-22T16:51:37.000Z
2021-01-22T16:51:37.000Z
include/click/flow/flowelement.hh
nic-bench/fastclick
2812f0684050cec07e08f30d643ed121871cf25d
[ "BSD-3-Clause-Clear" ]
null
null
null
include/click/flow/flowelement.hh
nic-bench/fastclick
2812f0684050cec07e08f30d643ed121871cf25d
[ "BSD-3-Clause-Clear" ]
null
null
null
// -*- c-basic-offset: 4 -*- #ifndef CLICK_FLOWELEMENT_HH #define CLICK_FLOWELEMENT_HH #include <click/glue.hh> #include <click/vector.hh> #include <click/string.hh> #include <click/batchelement.hh> #include <click/routervisitor.hh> #include <click/pair.hh> #include "flow.hh" CLICK_DECLS #ifdef HAVE_FLOW # if HAVE_C...
30.672761
258
0.671355
MassimoGirondi
68c88971ef4e0dc763be19d3efed1264cdbf02af
4,475
cpp
C++
arangod/Scheduler/JobQueue.cpp
pjesudhas/ArangoDB
76684f84ee34f1fff25fc9bf2f4cee7a5abd03cc
[ "BSL-1.0", "Zlib", "ICU", "Apache-2.0" ]
null
null
null
arangod/Scheduler/JobQueue.cpp
pjesudhas/ArangoDB
76684f84ee34f1fff25fc9bf2f4cee7a5abd03cc
[ "BSL-1.0", "Zlib", "ICU", "Apache-2.0" ]
null
null
null
arangod/Scheduler/JobQueue.cpp
pjesudhas/ArangoDB
76684f84ee34f1fff25fc9bf2f4cee7a5abd03cc
[ "BSL-1.0", "Zlib", "ICU", "Apache-2.0" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2016 ArangoDB GmbH, Cologne, Germany /// /// 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...
28.685897
80
0.56
pjesudhas
68d06c4cee3563eb2780bc7480f894d15594a007
1,066
hpp
C++
src/ipc/ipc.hpp
imaphatduc/Hypr
1528659eebf2f41fcfde6ab514a956f5dd51cdfc
[ "BSD-3-Clause" ]
277
2021-11-19T20:15:18.000Z
2022-03-29T12:07:59.000Z
src/ipc/ipc.hpp
imaphatduc/Hypr
1528659eebf2f41fcfde6ab514a956f5dd51cdfc
[ "BSD-3-Clause" ]
46
2021-11-21T10:25:58.000Z
2022-03-23T15:04:51.000Z
src/ipc/ipc.hpp
imaphatduc/Hypr
1528659eebf2f41fcfde6ab514a956f5dd51cdfc
[ "BSD-3-Clause" ]
28
2021-12-07T02:49:16.000Z
2022-03-22T05:26:07.000Z
#pragma once #include "../defines.hpp" std::string readFromIPCChannel(const std::string); int writeToIPCChannel(const std::string, std::string); #define IPC_END_OF_FILE (std::string)"HYPR_END_OF_FILE" #define IPC_MESSAGE_SEPARATOR std::string("\t") #define IPC_MESSAGE_EQUALITY std:...
31.352941
74
0.666979
imaphatduc
68d34d564ceb53f0ebc5b1a17bfa5928436ccd5e
2,009
cpp
C++
Engine/Model.cpp
kristofe/VolumeRenderer
653976ef8c80d05fd1059ebc0b3d3542649879fc
[ "MIT" ]
null
null
null
Engine/Model.cpp
kristofe/VolumeRenderer
653976ef8c80d05fd1059ebc0b3d3542649879fc
[ "MIT" ]
null
null
null
Engine/Model.cpp
kristofe/VolumeRenderer
653976ef8c80d05fd1059ebc0b3d3542649879fc
[ "MIT" ]
null
null
null
/* * Model.cpp * XPlatformGL * * Created by Kristofer Schlachter on 1/2/09. * Copyright 2009 __MyCompanyName__. All rights reserved. * */ #include "Model.h" #include "Platform.h" #include "Globals.h" #include "Mesh.h" #include <stdlib.h> //#include <stdio.h> #include <math.h> /////////////////////////////...
22.573034
80
0.520159
kristofe
68d4601f864810d0ecc2a731fa03496616a82c2b
8,737
hpp
C++
include/metrics/pu_encode_data.hpp
ecarpita93/HPC_projet_1
a2c00e056c03227711c43cf2ad23d75c6afbe698
[ "Xnet", "X11" ]
null
null
null
include/metrics/pu_encode_data.hpp
ecarpita93/HPC_projet_1
a2c00e056c03227711c43cf2ad23d75c6afbe698
[ "Xnet", "X11" ]
null
null
null
include/metrics/pu_encode_data.hpp
ecarpita93/HPC_projet_1
a2c00e056c03227711c43cf2ad23d75c6afbe698
[ "Xnet", "X11" ]
null
null
null
/* PICCANTE The hottest HDR imaging library! http://vcg.isti.cnr.it/piccante Copyright (C) 2014 Visual Computing Laboratory - ISTI CNR http://vcg.isti.cnr.it First author: Francesco Banterle This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed ...
15.856624
67
0.550418
ecarpita93
68d512e62f9c1e8496242c297e03eb8efe4f94de
1,478
cpp
C++
src/environment/model/ModelContainer.cpp
tobiaskohlbau/IPPP
91432f00b49ea5a83648e3294ad5b4b661dcd284
[ "Apache-2.0" ]
null
null
null
src/environment/model/ModelContainer.cpp
tobiaskohlbau/IPPP
91432f00b49ea5a83648e3294ad5b4b661dcd284
[ "Apache-2.0" ]
null
null
null
src/environment/model/ModelContainer.cpp
tobiaskohlbau/IPPP
91432f00b49ea5a83648e3294ad5b4b661dcd284
[ "Apache-2.0" ]
null
null
null
//-------------------------------------------------------------------------// // // Copyright 2017 Sascha Kaden // // 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....
28.980392
101
0.621786
tobiaskohlbau
68d6a5ca027ce4152a2eb01862726e28dd603b9c
19,968
hpp
C++
atto/atto/math/geometry/algebra.hpp
ubikoo/libfish
7f0b5e06b2bf1d6ff490ddfda9cc7aab69cdbf39
[ "MIT" ]
null
null
null
atto/atto/math/geometry/algebra.hpp
ubikoo/libfish
7f0b5e06b2bf1d6ff490ddfda9cc7aab69cdbf39
[ "MIT" ]
null
null
null
atto/atto/math/geometry/algebra.hpp
ubikoo/libfish
7f0b5e06b2bf1d6ff490ddfda9cc7aab69cdbf39
[ "MIT" ]
null
null
null
/* * algebra.hpp * * Copyright (c) 2020 Carlos Braga * * This program is free software; you can redistribute it and/or modify * it under the terms of the MIT License. * * See accompanying LICENSE.md or https://opensource.org/licenses/MIT. */ #ifndef ATTO_MATH_GEOMETRY_ALGEBRA_H_ #define ATTO_MATH_GEOMETRY_ALG...
31.796178
80
0.455629
ubikoo
68d7c6a7182e36cfd4e148b2297d38ea46c3c128
3,313
cpp
C++
src/SceneMonitor.cpp
rcstilborn/SecMon
f750d9c421dac1c5a795384ff8f7b7a29a0aece9
[ "MIT" ]
2
2021-12-17T17:35:07.000Z
2022-01-11T12:38:00.000Z
src/SceneMonitor.cpp
rcstilborn/SecMon
f750d9c421dac1c5a795384ff8f7b7a29a0aece9
[ "MIT" ]
null
null
null
src/SceneMonitor.cpp
rcstilborn/SecMon
f750d9c421dac1c5a795384ff8f7b7a29a0aece9
[ "MIT" ]
2
2018-01-15T06:10:07.000Z
2021-07-08T19:40:49.000Z
/* * SceneMonitor.cpp * * Created on: Jul 27, 2015 * Author: richard * * Copyright 2017 Richard Stilborn * Licensed under the MIT License */ #include "SceneMonitor.h" #include <boost/asio/io_service.hpp> #include <boost/bind/bind.hpp> #include <boost/iterator/iterator_facade.hpp> #include <boost/ptr_c...
29.061404
116
0.686991
rcstilborn
68d9deed1f22ec03ee368305b88181ee84a5347d
1,854
cpp
C++
m4cpp/src/uart.cpp
matheusmb/smep-gateway
c32ff83cf48488404a5c094137b33be09d84581c
[ "MIT" ]
null
null
null
m4cpp/src/uart.cpp
matheusmb/smep-gateway
c32ff83cf48488404a5c094137b33be09d84581c
[ "MIT" ]
null
null
null
m4cpp/src/uart.cpp
matheusmb/smep-gateway
c32ff83cf48488404a5c094137b33be09d84581c
[ "MIT" ]
null
null
null
#include "uart.h" #include "board.h" #include "WString.h" #define UARTx_IRQn USART0_IRQn void UART_Init( const uint32_t baud ) { Board_UART_Init( LPC_UART ); Chip_UART_Init( LPC_UART ); Chip_UART_SetBaud( LPC_UART, baud ); Chip_UART_TXEnable( LPC_UART ); } void UART_IRQ_Init() { UART_IntEnable(); Chip_U...
20.373626
98
0.718986
matheusmb
68dadb09346cfe63541bc35f3e22509be8a45b89
1,970
cpp
C++
llarp/service/info.cpp
KeeJef/loki-network
f5dbbaf832d11b88d351e3de7ab584465a28f6bf
[ "Zlib" ]
null
null
null
llarp/service/info.cpp
KeeJef/loki-network
f5dbbaf832d11b88d351e3de7ab584465a28f6bf
[ "Zlib" ]
null
null
null
llarp/service/info.cpp
KeeJef/loki-network
f5dbbaf832d11b88d351e3de7ab584465a28f6bf
[ "Zlib" ]
null
null
null
#include <buffer.hpp> #include <service/Info.hpp> #include <service/address.hpp> #include <cassert> #include <sodium/crypto_generichash.h> namespace llarp { namespace service { bool ServiceInfo::DecodeKey(llarp_buffer_t key, llarp_buffer_t* val) { bool read = false; if(!BEncodeMaybeReadDi...
25.25641
76
0.591371
KeeJef
68dd0fd03a89896af9cefc24fd2642e92fc94ade
22,627
cpp
C++
framework/areg/component/private/ComponentLoader.cpp
Ali-Nasrolahi/areg-sdk
4fbc2f2644220196004a31672a697a864755f0b6
[ "Apache-2.0" ]
70
2021-07-20T11:26:16.000Z
2022-03-27T11:17:43.000Z
framework/areg/component/private/ComponentLoader.cpp
Ali-Nasrolahi/areg-sdk
4fbc2f2644220196004a31672a697a864755f0b6
[ "Apache-2.0" ]
32
2021-07-31T05:20:44.000Z
2022-03-20T10:11:52.000Z
framework/areg/component/private/ComponentLoader.cpp
Ali-Nasrolahi/areg-sdk
4fbc2f2644220196004a31672a697a864755f0b6
[ "Apache-2.0" ]
40
2021-11-02T09:45:38.000Z
2022-03-27T11:17:46.000Z
/************************************************************************ * This file is part of the AREG SDK core engine. * AREG SDK is dual-licensed under Free open source (Apache version 2.0 * License) and Commercial (with various pricing models) licenses, depending * on the nature of the project (commercial, re...
38.878007
165
0.557431
Ali-Nasrolahi
68e3ef0f200b918d322171a0dec5379e2df62dde
18,478
hpp
C++
third_party/omr/compiler/x/codegen/OMRRegisterDependency.hpp
xiacijie/omr-wala-linkage
a1aff7aef9ed131a45555451abde4615a04412c1
[ "Apache-2.0" ]
null
null
null
third_party/omr/compiler/x/codegen/OMRRegisterDependency.hpp
xiacijie/omr-wala-linkage
a1aff7aef9ed131a45555451abde4615a04412c1
[ "Apache-2.0" ]
null
null
null
third_party/omr/compiler/x/codegen/OMRRegisterDependency.hpp
xiacijie/omr-wala-linkage
a1aff7aef9ed131a45555451abde4615a04412c1
[ "Apache-2.0" ]
null
null
null
/******************************************************************************* * Copyright (c) 2000, 2019 IBM Corp. and others * * This program and the accompanying materials are made available under * the terms of the Eclipse Public License 2.0 which accompanies this * distribution and is available at http://ec...
40.700441
241
0.669391
xiacijie
68e7b53a748c7f1204bdbd44a08745d63ee42e9e
4,874
cpp
C++
jit.cpp
c3sr/go-pytorch
0d1f6edbc6e48f0f68055274af0997e2ff9b0ce1
[ "Apache-2.0" ]
14
2018-11-26T18:33:27.000Z
2021-12-17T11:14:33.000Z
jit.cpp
c3sr/go-pytorch
0d1f6edbc6e48f0f68055274af0997e2ff9b0ce1
[ "Apache-2.0" ]
7
2019-04-02T16:46:01.000Z
2020-06-10T02:02:33.000Z
jit.cpp
c3sr/go-pytorch
0d1f6edbc6e48f0f68055274af0997e2ff9b0ce1
[ "Apache-2.0" ]
3
2019-07-16T16:47:07.000Z
2021-12-29T07:47:59.000Z
#ifdef ENABLE_PYTROCH_JIT #include "error.hpp" #include "predictor.hpp" #include <algorithm> #include <iosfwd> #include <iostream> #include <memory> #include <string> #include <typeinfo> #include <utility> #include <vector> extern Torch_IValue Torch_ConvertIValueToTorchIValue(torch::IValue value); struct Torch_JIT...
29.539394
112
0.708863
c3sr
68eeb54c52b1f098da02acc840a138117e18e72c
2,191
cpp
C++
src/stereo_ugv/image_source.cpp
yunhao-qian/stereo_ugv
23480a8b93918fc2bc44e16416ac0b4e0598788b
[ "BSD-2-Clause" ]
null
null
null
src/stereo_ugv/image_source.cpp
yunhao-qian/stereo_ugv
23480a8b93918fc2bc44e16416ac0b4e0598788b
[ "BSD-2-Clause" ]
null
null
null
src/stereo_ugv/image_source.cpp
yunhao-qian/stereo_ugv
23480a8b93918fc2bc44e16416ac0b4e0598788b
[ "BSD-2-Clause" ]
null
null
null
#include "stereo_ugv/image_source.h" namespace stereo_ugv { /** * @brief Creates an ImageSource. * @details The function determines the concrete subclass of the layout to be created by looking up the "type" key, and * calls the corresponding initialization function. Currently, "camera", "images" and "video" are sup...
37.135593
119
0.740758
yunhao-qian
68f10e810d3722fa4aaf268cea3e77e0684a346c
2,325
cpp
C++
foedus_code/foedus-core/src/foedus/storage/sequential/sequential_partitioner_impl.cpp
sam1016yu/cicada-exp-sigmod2017
64e582370076b2923d37b279d1c32730babc15f8
[ "Apache-2.0" ]
null
null
null
foedus_code/foedus-core/src/foedus/storage/sequential/sequential_partitioner_impl.cpp
sam1016yu/cicada-exp-sigmod2017
64e582370076b2923d37b279d1c32730babc15f8
[ "Apache-2.0" ]
null
null
null
foedus_code/foedus-core/src/foedus/storage/sequential/sequential_partitioner_impl.cpp
sam1016yu/cicada-exp-sigmod2017
64e582370076b2923d37b279d1c32730babc15f8
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2014-2015, Hewlett-Packard Development Company, LP. * 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 versi...
33.695652
91
0.744946
sam1016yu
190387dff2ca8b91b790b2a534eec90c398aa606
3,683
hpp
C++
PhantomEngine/Common/Value.hpp
restary/Phantom
1d34afc3da9aa2bf58e68beefd4f4351ecc1a01c
[ "MIT" ]
null
null
null
PhantomEngine/Common/Value.hpp
restary/Phantom
1d34afc3da9aa2bf58e68beefd4f4351ecc1a01c
[ "MIT" ]
null
null
null
PhantomEngine/Common/Value.hpp
restary/Phantom
1d34afc3da9aa2bf58e68beefd4f4351ecc1a01c
[ "MIT" ]
null
null
null
#pragma once #include <iostream> #include <string> #include <Define.hpp> using namespace std; namespace PhantomEngine { namespace DataTypes { static const uint8_t UNDEFINED = 255; static const uint8_t INTEGER = 0; static const uint8_t FLOAT = 1; static const uint...
23.01875
80
0.472984
restary
1903fb7b9a2da957750f0a1fd043519c6fc9c0b3
8,239
cpp
C++
src/StockExchange/StockExchange.cpp
SABCEMM/SABCEMM
a87ea83b57a8a7d16591abe30e56db459e710a0e
[ "BSD-3-Clause" ]
17
2018-01-08T13:38:28.000Z
2022-01-21T05:39:26.000Z
src/StockExchange/StockExchange.cpp
SABCEMM/SABCEMM
a87ea83b57a8a7d16591abe30e56db459e710a0e
[ "BSD-3-Clause" ]
null
null
null
src/StockExchange/StockExchange.cpp
SABCEMM/SABCEMM
a87ea83b57a8a7d16591abe30e56db459e710a0e
[ "BSD-3-Clause" ]
1
2018-01-08T13:39:00.000Z
2018-01-08T13:39:00.000Z
/* Copyright 2017 - BSD-3-Clause * * Copyright Holder (alphabetical): * * Beikirch, Maximilian * Cramer, Simon * Frank, Martin * Otte, Philipp * Pabich, Emma * Trimborn, Torsten * * * Redistribution and use in source and binary forms, with or without modification, are permitted provided that the * followin...
28.908772
125
0.73237
SABCEMM
1905c4166233cc8b835b80f27c0aa834ce68fb80
933
cpp
C++
src/world/abilities/blink.cpp
louiz/batajelo
4d8edce8da9d3b17dbad68eb4881d7f6fee2f76e
[ "BSL-1.0", "BSD-2-Clause", "Zlib", "MIT" ]
7
2015-01-28T09:17:08.000Z
2020-04-21T13:51:16.000Z
src/world/abilities/blink.cpp
louiz/batajelo
4d8edce8da9d3b17dbad68eb4881d7f6fee2f76e
[ "BSL-1.0", "BSD-2-Clause", "Zlib", "MIT" ]
null
null
null
src/world/abilities/blink.cpp
louiz/batajelo
4d8edce8da9d3b17dbad68eb4881d7f6fee2f76e
[ "BSL-1.0", "BSD-2-Clause", "Zlib", "MIT" ]
1
2020-07-11T09:20:25.000Z
2020-07-11T09:20:25.000Z
#include <world/abilities/blink.hpp> #include <world/works/blink_work.hpp> #include <world/entity.hpp> #include <logging/logging.hpp> #include <memory> using namespace std::chrono_literals; template<> const std::string NamedAbility<Blink>::name = "Blink"; template<> const AbilityType NamedAbility<Blink>::ability_t...
25.916667
90
0.719185
louiz
19061669c719a818d8563f9c8f75664fb79d9bf7
1,004
hpp
C++
tests/messaging/sock/networkcommon.hpp
arntanguy/libqi
7f3e1394cb26126b26fa7ff54d2de1371a1c9f96
[ "BSD-3-Clause" ]
61
2015-01-08T08:05:28.000Z
2022-01-07T16:47:47.000Z
tests/messaging/sock/networkcommon.hpp
arntanguy/libqi
7f3e1394cb26126b26fa7ff54d2de1371a1c9f96
[ "BSD-3-Clause" ]
30
2015-04-06T21:41:18.000Z
2021-08-18T13:24:51.000Z
tests/messaging/sock/networkcommon.hpp
arntanguy/libqi
7f3e1394cb26126b26fa7ff54d2de1371a1c9f96
[ "BSD-3-Clause" ]
64
2015-02-23T20:01:11.000Z
2022-03-14T13:31:20.000Z
#pragma once #ifndef _QI_TESTS_MESSAGING_NETWORKCOMMON_HPP #define _QI_TESTS_MESSAGING_NETWORKCOMMON_HPP #include <algorithm> #include <random> #include <boost/lexical_cast.hpp> /// @file /// Contains functions and types used by socket tests. /// Precondition: With p = reinterpret_cast<unsigned char*>(t), /// writa...
26.421053
66
0.718127
arntanguy
1907555a950fd68d43b118706ee986f0fe711c7a
3,089
cpp
C++
worker/callback_runner_test.cpp
tkwong/parameter_server
ef8424f341f3b4c4e1088b72d88930fac8b78daf
[ "Apache-2.0" ]
null
null
null
worker/callback_runner_test.cpp
tkwong/parameter_server
ef8424f341f3b4c4e1088b72d88930fac8b78daf
[ "Apache-2.0" ]
null
null
null
worker/callback_runner_test.cpp
tkwong/parameter_server
ef8424f341f3b4c4e1088b72d88930fac8b78daf
[ "Apache-2.0" ]
null
null
null
#include "glog/logging.h" #include "gtest/gtest.h" #include "worker/callback_runner.cpp" namespace csci5570 { class TestCallbackRunner: public testing::Test { protected: void SetUp() {} void TearDown() {} }; // class TestCallbackRunner TEST_F(TestCallbackRunner, Init) { CallbackRunner runne...
27.336283
98
0.616381
tkwong
190ee3f87e869fae0d4deb4a480c1b36a6b936b3
3,141
cpp
C++
src/blackboard_entry.cpp
robotics-upo/BehaviorTree.CPP
320e61711f75604a23726fbf16fd2660e8c68efe
[ "MIT" ]
null
null
null
src/blackboard_entry.cpp
robotics-upo/BehaviorTree.CPP
320e61711f75604a23726fbf16fd2660e8c68efe
[ "MIT" ]
null
null
null
src/blackboard_entry.cpp
robotics-upo/BehaviorTree.CPP
320e61711f75604a23726fbf16fd2660e8c68efe
[ "MIT" ]
null
null
null
#include "behaviortree_cpp_v3/blackboard_entry.h" namespace BT { Entry::Entry(const Entry& _other_entry, const TypesConverter& _converter) : converter_ ( _converter ) { input_types_ = _other_entry.input_types_; output_types_ = _other_entry.output_types_; checkTypesCompatible(i...
30.201923
100
0.589621
robotics-upo
190f6fb15793fc116a783933ffddd3c33e11ddd0
502
cpp
C++
beta versions/Processor.cpp
tec-csf/tc2017-pf-primavera-2020-equipo-4-1
111f53acb1c7f3e0bebd112ed0bdda9ab0df5174
[ "MIT" ]
null
null
null
beta versions/Processor.cpp
tec-csf/tc2017-pf-primavera-2020-equipo-4-1
111f53acb1c7f3e0bebd112ed0bdda9ab0df5174
[ "MIT" ]
null
null
null
beta versions/Processor.cpp
tec-csf/tc2017-pf-primavera-2020-equipo-4-1
111f53acb1c7f3e0bebd112ed0bdda9ab0df5174
[ "MIT" ]
null
null
null
#include "Processor.hpp" using namespace std; void Processor::setEverything(int anID, int amountOfCores, float alpha, float beta, float delta, float gamma, float c){ id = anID; cores = amountOfCores; failureP = 1 / gamma; probRc = c; probRb = 1 - c; TRc = 1 / beta; TRb = 1 / alpha; ...
21.826087
72
0.605578
tec-csf
190fc0414b47b91ff40165dcabf6f578c9737971
18,167
cpp
C++
admin/cmdline/scheduledtasks/end.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
admin/cmdline/scheduledtasks/end.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
admin/cmdline/scheduledtasks/end.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
/****************************************************************************** Copyright(c) Microsoft Corporation Module Name: end.cpp Abstract: This module terminates the schedule task which is currently running in the system Author: Venu Gopal Choudary 12-...
32.499106
158
0.565641
npocmaka
1914208c93fcd9ad93a53e72ac939974f736e864
2,202
cc
C++
net/tools/transport_security_state_generator/spki_hash_unittest.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
net/tools/transport_security_state_generator/spki_hash_unittest.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
net/tools/transport_security_state_generator/spki_hash_unittest.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
5,941
2015-01-02T11:32:21.000Z
2022-03-31T16:35:46.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 "net/tools/transport_security_state_generator/spki_hash.h" #include "base/strings/string_number_conversions.h" #include "testing/gmock/include/gm...
33.876923
79
0.701635
zealoussnow
191a6c446228ac19142afb92a40c92586a351358
1,350
cpp
C++
src/plugins/blasq/plugins/rappor/rappor.cpp
Maledictus/leechcraft
79ec64824de11780b8e8bdfd5d8a2f3514158b12
[ "BSL-1.0" ]
120
2015-01-22T14:10:39.000Z
2021-11-25T12:57:16.000Z
src/plugins/blasq/plugins/rappor/rappor.cpp
Maledictus/leechcraft
79ec64824de11780b8e8bdfd5d8a2f3514158b12
[ "BSL-1.0" ]
8
2015-02-07T19:38:19.000Z
2017-11-30T20:18:28.000Z
src/plugins/blasq/plugins/rappor/rappor.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...
19.014085
83
0.622222
Maledictus
191a7076b71459404f6bfe86cc3f97fd5cd82611
4,088
cpp
C++
src/optimizer/ind_var.cpp
kylinsoft/test
2af1e8d0a05000119d4d7fdd4c5c9e8839442c52
[ "MIT" ]
null
null
null
src/optimizer/ind_var.cpp
kylinsoft/test
2af1e8d0a05000119d4d7fdd4c5c9e8839442c52
[ "MIT" ]
null
null
null
src/optimizer/ind_var.cpp
kylinsoft/test
2af1e8d0a05000119d4d7fdd4c5c9e8839442c52
[ "MIT" ]
null
null
null
#include "pass.hpp" void ind_var_discovery(NormalFunc *f) { // TODO: debug dbg << "## ind var discovery: " << f->name << "\n"; auto S = build_dom_tree(f); auto defs = build_defs(f); auto i2bb = build_in2bb(f); std::unordered_set<Reg> la; std::unordered_map<Reg, Reg> mp_reg; dom_tree_dfs(S, [&...
37.163636
80
0.429305
kylinsoft
191cddd5415bab0a4e1557200a8ec1ed88edf626
17,000
cpp
C++
libpvkernel/src/rush/PVFormatVersion.cpp
inendi-inspector/inspector
9b9a00222d8a73cb0817ca56790ee9155db61cc4
[ "MIT" ]
null
null
null
libpvkernel/src/rush/PVFormatVersion.cpp
inendi-inspector/inspector
9b9a00222d8a73cb0817ca56790ee9155db61cc4
[ "MIT" ]
null
null
null
libpvkernel/src/rush/PVFormatVersion.cpp
inendi-inspector/inspector
9b9a00222d8a73cb0817ca56790ee9155db61cc4
[ "MIT" ]
null
null
null
// // MIT License // // © ESI Group, 2015 // // 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, pu...
31.25
97
0.644059
inendi-inspector
191f35d1a71135b003818c6fa2e94660e7bac8ad
2,089
cpp
C++
lab4/code/main_mpi.cpp
ankurshaswat/COL380
5c54f629d3709214f9e082aa5cd9449d14848e1c
[ "MIT" ]
null
null
null
lab4/code/main_mpi.cpp
ankurshaswat/COL380
5c54f629d3709214f9e082aa5cd9449d14848e1c
[ "MIT" ]
null
null
null
lab4/code/main_mpi.cpp
ankurshaswat/COL380
5c54f629d3709214f9e082aa5cd9449d14848e1c
[ "MIT" ]
null
null
null
#include "lab4_io.h" #include "lab4_mpi.h" #include <stdlib.h> #include "mpi.h" /* Arguments: arg: input filename (consist text, pattern_set) */ int main(int argc, char *argv[]) { if (argc < 2) { printf("\nLess Arguments\n"); return 0; } if (argc > 2) { printf("\nTOO many Arguments\n"); return 0; }...
24.011494
99
0.594064
ankurshaswat
191fe62fb000c162bdae37ea3e70df3729d30c11
9,164
cpp
C++
src/essence.game/qpang/room/session/player/weapon/PlayerWeaponManager.cpp
hinnie123/qpang-essence-emulator-1
2b99f21bcbcbdcd5ff8104d4845ebc10ec0e6e1b
[ "MIT" ]
1
2021-11-23T00:31:46.000Z
2021-11-23T00:31:46.000Z
src/essence.game/qpang/room/session/player/weapon/PlayerWeaponManager.cpp
hinnie123/qpang-essence-emulator-1
2b99f21bcbcbdcd5ff8104d4845ebc10ec0e6e1b
[ "MIT" ]
null
null
null
src/essence.game/qpang/room/session/player/weapon/PlayerWeaponManager.cpp
hinnie123/qpang-essence-emulator-1
2b99f21bcbcbdcd5ff8104d4845ebc10ec0e6e1b
[ "MIT" ]
1
2021-12-18T12:50:46.000Z
2021-12-18T12:50:46.000Z
#include "PlayerWeaponManager.h" #include "qpang/Game.h" #include "qpang/room/session/RoomSession.h" #include "qpang/room/tnl/net_events/client/cg_weapon.hpp" #include "qpang/room/tnl/net_events/server/gc_weapon.hpp" #include "qpang/room/tnl/net_events/server/gc_respawn.hpp" #include "qpang/room/tnl/net_events/serve...
25.669468
164
0.748691
hinnie123
19202436500c1a6eb406fc35dc9d3f49f8601c6d
6,361
cpp
C++
TDEngine2/source/graphics/animation/CMeshAnimatorComponent.cpp
bnoazx005/TDEngine2
93ebfecf8af791ff5ecd4f57525a6935e34cd05c
[ "Apache-2.0" ]
1
2019-07-15T01:14:15.000Z
2019-07-15T01:14:15.000Z
TDEngine2/source/graphics/animation/CMeshAnimatorComponent.cpp
bnoazx005/TDEngine2
93ebfecf8af791ff5ecd4f57525a6935e34cd05c
[ "Apache-2.0" ]
76
2018-10-27T16:59:36.000Z
2022-03-30T17:40:39.000Z
TDEngine2/source/graphics/animation/CMeshAnimatorComponent.cpp
bnoazx005/TDEngine2
93ebfecf8af791ff5ecd4f57525a6935e34cd05c
[ "Apache-2.0" ]
1
2019-07-29T02:02:08.000Z
2019-07-29T02:02:08.000Z
#include "../../include/graphics/animation/CMeshAnimatorComponent.h" #include <tuple> namespace TDEngine2 { static const std::string ComponentTypeName = "mesh_animator"; const std::string CMeshAnimatorComponent::mPositionJointChannelPattern = "joint_{0}.position"; const std::string CMeshAnimatorComponent::mRotati...
23.047101
178
0.748782
bnoazx005
1921e6547eacf6dd5f124f74def4dd1d03fa4150
1,602
cpp
C++
19A.cpp
felikjunvianto/kfile-codeforces-submissions
1b53da27a294a12063b0912e12ad32efe24af678
[ "MIT" ]
null
null
null
19A.cpp
felikjunvianto/kfile-codeforces-submissions
1b53da27a294a12063b0912e12ad32efe24af678
[ "MIT" ]
null
null
null
19A.cpp
felikjunvianto/kfile-codeforces-submissions
1b53da27a294a12063b0912e12ad32efe24af678
[ "MIT" ]
null
null
null
#include <cstdio> #include <cmath> #include <iostream> #include <string> #include <cstring> #include <algorithm> #include <vector> #include <utility> #include <stack> #include <queue> #include <map> #define fi first #define se second #define pb push_back #define mp make_pair #define pi 2*acos(0.0) #de...
20.805195
87
0.615481
felikjunvianto
192792ac79a3b689427d4827807f3490eaf2a12b
1,443
cc
C++
raytracing/geometry.cc
jpanikulam/experiments
be36319a89f8baee54d7fa7618b885edb7025478
[ "MIT" ]
1
2019-04-14T11:40:28.000Z
2019-04-14T11:40:28.000Z
raytracing/geometry.cc
IJDykeman/experiments-1
22badf166b2ea441e953939463f751020b8c251b
[ "MIT" ]
5
2018-04-18T13:54:29.000Z
2019-08-22T20:04:17.000Z
raytracing/geometry.cc
IJDykeman/experiments-1
22badf166b2ea441e953939463f751020b8c251b
[ "MIT" ]
1
2018-12-24T03:45:47.000Z
2018-12-24T03:45:47.000Z
#include "geometry.hh" namespace raytrace { using Vec2 = Eigen::Vector2d; double cross2d(const Vec2 &a, const Vec2 &b) { return (a(0) * b(1)) - (a(1) * b(0)); } bool ray_line_intersection(const Ray &ray, const Line &line, Out<Vec2> intersection) { Eigen::Matrix2d A; A.col(0) = ray.direction; A.col(1) = -lin...
28.294118
104
0.668053
jpanikulam
192db529428201d58d905a62921de0c632fa449b
1,927
cc
C++
cpp/src/arrow/compute/exec/accumulation_queue.cc
AlvinJ15/arrow
095179f8a38f99e2eb10a59ad7e71252d8491e8f
[ "Apache-2.0" ]
1
2021-11-24T04:43:52.000Z
2021-11-24T04:43:52.000Z
cpp/src/arrow/compute/exec/accumulation_queue.cc
AlvinJ15/arrow
095179f8a38f99e2eb10a59ad7e71252d8491e8f
[ "Apache-2.0" ]
null
null
null
cpp/src/arrow/compute/exec/accumulation_queue.cc
AlvinJ15/arrow
095179f8a38f99e2eb10a59ad7e71252d8491e8f
[ "Apache-2.0" ]
null
null
null
// 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 under the Apache License, Version 2.0 (the // "License"); you may...
32.661017
75
0.737416
AlvinJ15
192ee663eb16a798a38f768cb86e6c158d838f2a
88
cpp
C++
problemsets/Codeforces/C++/C1360.cpp
juarezpaulino/coderemite
a4649d3f3a89d234457032d14a6646b3af339ac1
[ "Apache-2.0" ]
null
null
null
problemsets/Codeforces/C++/C1360.cpp
juarezpaulino/coderemite
a4649d3f3a89d234457032d14a6646b3af339ac1
[ "Apache-2.0" ]
null
null
null
problemsets/Codeforces/C++/C1360.cpp
juarezpaulino/coderemite
a4649d3f3a89d234457032d14a6646b3af339ac1
[ "Apache-2.0" ]
null
null
null
/** * * Author: Juarez Paulino(coderemite) * Email: juarez.paulino@gmail.com * */
12.571429
38
0.625
juarezpaulino
192fa1261098731268c3405b3a731b39d25d8a31
847
cpp
C++
clang/test/CXX/dcl.dcl/dcl.attr/dcl.attr.grammar/p2-1z.cpp
medismailben/llvm-project
e334a839032fe500c3bba22bf976ab7af13ce1c1
[ "Apache-2.0" ]
3,102
2015-01-04T02:28:35.000Z
2022-03-30T12:53:41.000Z
clang/test/CXX/dcl.dcl/dcl.attr/dcl.attr.grammar/p2-1z.cpp
medismailben/llvm-project
e334a839032fe500c3bba22bf976ab7af13ce1c1
[ "Apache-2.0" ]
3,740
2019-01-23T15:36:48.000Z
2022-03-31T22:01:13.000Z
clang/test/CXX/dcl.dcl/dcl.attr/dcl.attr.grammar/p2-1z.cpp
medismailben/llvm-project
e334a839032fe500c3bba22bf976ab7af13ce1c1
[ "Apache-2.0" ]
1,868
2015-01-03T04:27:11.000Z
2022-03-25T13:37:35.000Z
// RUN: %clang_cc1 -std=c++1z -verify %s [[disable_tail_calls, noduplicate]] void f() {} // expected-warning {{unknown attribute 'disable_tail_calls'}} expected-warning {{unknown attribute 'noduplicate'}} [[using clang: disable_tail_calls, noduplicate]] void g() {} // ok [[using]] extern int n; // expected-error {{e...
49.823529
163
0.707202
medismailben
1930b9cdd5fdfc4442f2e9abf0c26280cc8f2787
196
cpp
C++
10.10-span0/main.cpp
andreasfertig/programming-with-cpp20
7c70351f3a46aea295e964096be77eb159be6e9f
[ "MIT" ]
107
2021-04-13T12:43:06.000Z
2022-03-30T05:07:16.000Z
10.10-span0/main.cpp
jessesimpson/programming-with-cpp20
7c70351f3a46aea295e964096be77eb159be6e9f
[ "MIT" ]
1
2021-04-13T12:59:30.000Z
2021-04-13T13:02:55.000Z
10.10-span0/main.cpp
jessesimpson/programming-with-cpp20
7c70351f3a46aea295e964096be77eb159be6e9f
[ "MIT" ]
29
2021-04-13T18:07:03.000Z
2022-03-28T13:44:01.000Z
// Copyright (c) Andreas Fertig. // SPDX-License-Identifier: MIT #include <cstddef> template<typename T> class Span { T* mData; size_t mSize; public: // constructors }; int main() {}
13.066667
32
0.658163
andreasfertig
1931129329fd5b84da776098dce6603e6732fe41
20,685
cpp
C++
vtkdiff.cpp
ufz/vtkdiff
8b7bfce2f2302263c9fdc0201f765e375c8a8a36
[ "BSD-4-Clause" ]
1
2021-03-08T00:35:07.000Z
2021-03-08T00:35:07.000Z
vtkdiff.cpp
ufz/vtkdiff
8b7bfce2f2302263c9fdc0201f765e375c8a8a36
[ "BSD-4-Clause" ]
3
2015-06-05T13:09:05.000Z
2016-09-26T19:50:16.000Z
vtkdiff.cpp
ufz/vtkdiff
8b7bfce2f2302263c9fdc0201f765e375c8a8a36
[ "BSD-4-Clause" ]
5
2016-06-01T15:32:56.000Z
2022-03-20T04:22:30.000Z
/** * \copyright * Copyright (c) 2015-2020, OpenGeoSys Community (http://www.opengeosys.org) * Distributed under a Modified BSD License. * See accompanying file LICENSE.txt or * http://www.opengeosys.org/project/license */ #include <algorithm> #include <cmath> #include <cstdl...
33.096
80
0.562388
ufz
19312e28c17a1befa02f080f5fd4c09660436f0f
209
cpp
C++
src/algorithm_list.cpp
GoncaloFDS/Lift
e026f585127ba55bdb261cd3ac3ca97545b7cd8f
[ "BSD-3-Clause" ]
30
2019-07-24T09:58:22.000Z
2021-09-03T08:20:22.000Z
src/algorithm_list.cpp
GoncaloFDS/Lift
e026f585127ba55bdb261cd3ac3ca97545b7cd8f
[ "BSD-3-Clause" ]
15
2020-06-20T13:20:50.000Z
2021-04-26T16:05:33.000Z
src/algorithm_list.cpp
GoncaloFDS/Lift
e026f585127ba55bdb261cd3ac3ca97545b7cd8f
[ "BSD-3-Clause" ]
5
2020-06-17T08:38:34.000Z
2021-09-08T22:14:02.000Z
#include "algorithm_list.h" const std::vector<std::pair<std::string, Algorithm>> AlgorithmList::all_algorithms = { {"Path Tracing", Algorithm::PT}, {"Bidirectional Path Tracing", Algorithm::BDPT}, };
29.857143
86
0.703349
GoncaloFDS
193544cc9f9e2b529c13ba814c29132be07d032b
2,331
hpp
C++
src/cpu/rtweekend.hpp
DveloperY0115/ray-tracing-in-one-weekend-cpp
4a293f8db7eefd1d62e6be46a53d65ff348eaa52
[ "MIT" ]
1
2021-02-18T08:38:21.000Z
2021-02-18T08:38:21.000Z
src/cpu/rtweekend.hpp
DveloperY0115/ray-tracing-in-one-weekend-cpp
4a293f8db7eefd1d62e6be46a53d65ff348eaa52
[ "MIT" ]
1
2021-02-13T04:42:01.000Z
2021-02-13T04:42:01.000Z
src/cpu/rtweekend.hpp
DveloperY0115/ray-tracing-in-one-weekend-cpp
4a293f8db7eefd1d62e6be46a53d65ff348eaa52
[ "MIT" ]
null
null
null
// // Created by 유승우 on 2020/05/15. // #ifndef FIRSTRAYTRACER_RTWEEKEND_HPP #define FIRSTRAYTRACER_RTWEEKEND_HPP #include <cmath> #include <cstdlib> #include <limits> #include <memory> #include <random> #include <time.h> // using statements to make codes more simple using std::shared_ptr; using std::make_shared; us...
24.536842
86
0.703561
DveloperY0115
1937294b0fbbd690599e20cd5d73e9c10dce5c45
1,839
tpp
C++
include/Sirius/Math/Matrix/Matrix2.tpp
xam4lor/Sirius
f05a89538ab2bc79a8d46f482fbb060271adce0a
[ "MIT" ]
1
2021-07-12T11:53:06.000Z
2021-07-12T11:53:06.000Z
include/Sirius/Math/Matrix/Matrix2.tpp
xam4lor/Sirius
f05a89538ab2bc79a8d46f482fbb060271adce0a
[ "MIT" ]
null
null
null
include/Sirius/Math/Matrix/Matrix2.tpp
xam4lor/Sirius
f05a89538ab2bc79a8d46f482fbb060271adce0a
[ "MIT" ]
1
2021-07-12T11:51:53.000Z
2021-07-12T11:51:53.000Z
#include "Matrix2.hpp" namespace Sirius { template<typename T> constexpr Matrix<2, T> operator+(const Matrix<2, T>& mat1, const Matrix<2, T>& mat2) { return Matrix<2, T>(mat1[0] + mat2[0], mat1[1] + mat2[1]); } template<typename T> constexpr Matrix<2, T> operator-(const Matrix<2, T>& ...
29.66129
106
0.516041
xam4lor
193898f97013de96c717a848897f6a54e2d1b516
17,785
cpp
C++
co-op/CmdVector.cpp
BartoszMilewski/CodeCoop
7d29f53ccf65b0d29ea7d6781a74507b52c08d0d
[ "MIT" ]
67
2018-03-02T10:50:02.000Z
2022-03-23T18:20:29.000Z
co-op/CmdVector.cpp
BartoszMilewski/CodeCoop
7d29f53ccf65b0d29ea7d6781a74507b52c08d0d
[ "MIT" ]
null
null
null
co-op/CmdVector.cpp
BartoszMilewski/CodeCoop
7d29f53ccf65b0d29ea7d6781a74507b52c08d0d
[ "MIT" ]
9
2018-03-01T16:38:28.000Z
2021-03-02T16:17:09.000Z
//---------------------------------- // (c) Reliable Software 1997 - 2008 //---------------------------------- #include "precompiled.h" #include "CmdVector.h" #include "Commander.h" // Code Co-op Commands namespace Cmd { const Cmd::Item<Commander> Table [] = { { "Program_Update", &Commander::Program_Update, ...
94.100529
207
0.721001
BartoszMilewski
193b13954156d2292b272b4c13f84bb937a3810a
1,820
cpp
C++
Algorithms/0023.MergeKSortedLists/solution.cpp
stdstring/leetcode
84e6bade7d6fc1a737eb6796cb4e2565440db5e3
[ "MIT" ]
null
null
null
Algorithms/0023.MergeKSortedLists/solution.cpp
stdstring/leetcode
84e6bade7d6fc1a737eb6796cb4e2565440db5e3
[ "MIT" ]
null
null
null
Algorithms/0023.MergeKSortedLists/solution.cpp
stdstring/leetcode
84e6bade7d6fc1a737eb6796cb4e2565440db5e3
[ "MIT" ]
null
null
null
#include <queue> #include <vector> #include "ListNode.h" #include "ListNodeUtils.h" #include "gtest/gtest.h" using CommonLib::ListNode; namespace { class Solution { public: ListNode* mergeKLists(std::vector<ListNode*> const &lists) { auto comp = [](ListNode* left, ListNode* right){ return left->val...
25.633803
118
0.52967
stdstring
193b65c74c6443443efd2c4733991672729e7e86
1,433
hpp
C++
minimal_sdk/public/containers/utldict.hpp
vocweb/cso2-launcher
abc144acaa3dfb5b0c9acd61cd75970cac012617
[ "MIT" ]
55
2018-09-01T17:52:17.000Z
2019-09-23T10:30:49.000Z
minimal_sdk/public/containers/utldict.hpp
RedheatWei/cso2-launcher
4cebbb98d51d33bd24c9a86a1d3fc311686d5011
[ "MIT" ]
70
2018-08-22T05:53:34.000Z
2019-09-23T15:11:39.000Z
minimal_sdk/public/containers/utldict.hpp
RedheatWei/cso2-launcher
4cebbb98d51d33bd24c9a86a1d3fc311686d5011
[ "MIT" ]
39
2018-09-01T21:42:50.000Z
2019-09-23T18:38:07.000Z
#pragma once #include <cstring> #include "containers/utlmap.hpp" #ifdef _WIN32 #define stricmp _stricmp #else #define stricmp strcasecmp #endif inline bool CaselessStringLessThan( const char* const& lhs, const char* const& rhs ) { if ( !lhs ) return false; if ( !r...
22.046154
69
0.598046
vocweb
193baa28349a290947ae28e4780acc661b713584
709
cpp
C++
sycl/test/on-device/xocc/disabled/broken/name_collision.cpp
mgehre-xlx/sycl
2086745509ef4bc298d7bbec402a123dae68f25e
[ "Apache-2.0" ]
61
2019-04-12T18:49:57.000Z
2022-03-19T22:23:16.000Z
sycl/test/on-device/xocc/disabled/broken/name_collision.cpp
mgehre-xlx/sycl
2086745509ef4bc298d7bbec402a123dae68f25e
[ "Apache-2.0" ]
127
2019-04-09T00:55:50.000Z
2022-03-21T15:35:41.000Z
sycl/test/on-device/xocc/disabled/broken/name_collision.cpp
mgehre-xlx/sycl
2086745509ef4bc298d7bbec402a123dae68f25e
[ "Apache-2.0" ]
10
2019-04-02T18:25:40.000Z
2022-02-15T07:11:37.000Z
// REQUIRES: xocc // RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out // RUN: %ACC_RUN_PLACEHOLDER %t.out // TODO should be a Sema test #include <CL/sycl.hpp> #include "../utilities/device_selectors.hpp" using namespace cl::sycl; class add_2; int main() { selector_defines::CompiledForDeviceSelecto...
16.880952
64
0.57969
mgehre-xlx
193feff6c0408370500518f0e617c3b5ca13178c
1,929
cpp
C++
SDK/BP_WheelInterface_functions.cpp
alxalx14/Sea-Of-Thieves-SDK
f56a0340eb33726c98fc53eb0678fa2d59aa8294
[ "MIT" ]
3
2021-03-27T08:30:37.000Z
2021-04-18T19:32:53.000Z
SDK/BP_WheelInterface_functions.cpp
alxalx14/Sea-Of-Thieves-SDK
f56a0340eb33726c98fc53eb0678fa2d59aa8294
[ "MIT" ]
null
null
null
SDK/BP_WheelInterface_functions.cpp
alxalx14/Sea-Of-Thieves-SDK
f56a0340eb33726c98fc53eb0678fa2d59aa8294
[ "MIT" ]
1
2021-06-01T03:05:50.000Z
2021-06-01T03:05:50.000Z
// Name: SeaOfThieves, Version: 2.0.23 #include "../pch.h" /*!!DEFINE!!*/ /*!!HELPER_DEF!!*/ /*!!HELPER_INC!!*/ #ifdef _MSC_VER #pragma pack(push, 0x01) #endif namespace CG { //--------------------------------------------------------------------------- // Functions //--------------------------------------------...
29.676923
183
0.641265
alxalx14
1943e504d831c8eac0d1a9ed4fd33283c4ceb1ea
2,860
hpp
C++
bsengine/src/bstorm/logger.hpp
At-sushi/bstorm
156036afd698d98f0ed67f0efa6bc416115806f7
[ "MIT" ]
null
null
null
bsengine/src/bstorm/logger.hpp
At-sushi/bstorm
156036afd698d98f0ed67f0efa6bc416115806f7
[ "MIT" ]
null
null
null
bsengine/src/bstorm/logger.hpp
At-sushi/bstorm
156036afd698d98f0ed67f0efa6bc416115806f7
[ "MIT" ]
null
null
null
#pragma once #include <bstorm/source_map.hpp> #include <string> #include <memory> #include <vector> #include <mutex> namespace bstorm { class LogParam { public: enum class Tag { TEXT, TEXTURE, SOUND, MESH, PLAYER_SHOT_DATA, ENEMY_SHOT_DATA, ITEM_DATA, ...
26
84
0.654196
At-sushi
1944823fef65060394f79ec527543ef0dc6f84af
14,712
cpp
C++
examples/hxhim/cli.cpp
hpc/hxhim
1a2224a200cb5a9fae33da13720e68beb5bee746
[ "BSD-3-Clause" ]
2
2020-11-25T17:45:58.000Z
2021-12-21T02:01:16.000Z
examples/hxhim/cli.cpp
hpc/hxhim
1a2224a200cb5a9fae33da13720e68beb5bee746
[ "BSD-3-Clause" ]
null
null
null
examples/hxhim/cli.cpp
hpc/hxhim
1a2224a200cb5a9fae33da13720e68beb5bee746
[ "BSD-3-Clause" ]
1
2021-10-11T19:54:05.000Z
2021-10-11T19:54:05.000Z
#include <cstring> #include <ios> #include <iostream> #include <list> #include <map> #include <sstream> #include "hxhim/hxhim.hpp" #include "print_results.h" #include "utils/Blob.hpp" // private header #include "utils/memory.hpp" enum HXHIM_OP { PUT, GET, GETOP, DEL, BPUT, BGET, BGETOP, ...
32.548673
178
0.494562
hpc