hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
109
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
1
48.5k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
1ef07f284291c1d3a93f5d07346049b8236e62f4
5,687
cpp
C++
lib/src/platform/gtk/dialog.cpp
perjonsson/DeskGap
5e74de37c057de3bac3ac16b3fabdb79b934d21e
[ "MIT" ]
1,910
2019-02-08T05:41:48.000Z
2022-03-24T23:41:33.000Z
lib/src/platform/gtk/dialog.cpp
perjonsson/DeskGap
5e74de37c057de3bac3ac16b3fabdb79b934d21e
[ "MIT" ]
73
2019-02-13T02:58:20.000Z
2022-03-02T05:49:34.000Z
lib/src/platform/gtk/dialog.cpp
ci010/DeskGap
b3346fea3dd3af7df9a0420131da7f4ac1518092
[ "MIT" ]
88
2019-02-13T12:41:00.000Z
2022-03-25T05:04:31.000Z
#include "./BrowserWindow_impl.h" #include "dialog.hpp" namespace DeskGap { namespace { inline const char* NullableCStr(const std::optional<std::string>& str, const char* fallback = nullptr) { return str.has_value() ? str->c_str() : fallback; } } struct Dialog::Impl { ...
37.913333
112
0.611043
perjonsson
1ef1fd4571a534f87a45240fe528c374e53a8d2c
10,706
cpp
C++
pwiz/data/misc/PeakDataTest.cpp
edyp-lab/pwiz-mzdb
d13ce17f4061596c7e3daf9cf5671167b5996831
[ "Apache-2.0" ]
11
2015-01-08T08:33:44.000Z
2019-07-12T06:14:54.000Z
pwiz/data/misc/PeakDataTest.cpp
shze/pwizard-deb
4822829196e915525029a808470f02d24b8b8043
[ "Apache-2.0" ]
61
2015-05-27T11:20:11.000Z
2019-12-20T15:06:21.000Z
pwiz/data/misc/PeakDataTest.cpp
shze/pwizard-deb
4822829196e915525029a808470f02d24b8b8043
[ "Apache-2.0" ]
4
2016-02-03T09:41:16.000Z
2021-08-01T18:42:36.000Z
// // $Id: PeakDataTest.cpp 4129 2012-11-20 00:05:37Z chambm $ // // // Original author: Darren Kessner <darren@proteowizard.org> // // Copyright 2007 Spielberg Family Center for Applied Proteomics // Cedars Sinai Medical Center, Los Angeles, California 90048 // // Licensed under the Apache License, Version 2.0 (the...
22.211618
180
0.6204
edyp-lab
1ef9dcfadf57af939eb6934da5e0edde6fc2abc0
901
cpp
C++
MultiComposite/MultiComposite/Compositor.cpp
DrPotatoNet/MultiComposite
d71e065661a55b22bfcec8b162859e4fbec18782
[ "MIT" ]
2
2020-09-06T08:14:15.000Z
2020-09-06T19:03:12.000Z
MultiComposite/MultiComposite/Compositor.cpp
Bluscream/MultiComposite
eac46d3fc7167629181b0652087cb6c2ab12747a
[ "MIT" ]
4
2020-09-07T09:50:31.000Z
2020-09-30T05:16:31.000Z
MultiComposite/MultiComposite/Compositor.cpp
Bluscream/MultiComposite
eac46d3fc7167629181b0652087cb6c2ab12747a
[ "MIT" ]
1
2020-09-29T20:57:15.000Z
2020-09-29T20:57:15.000Z
#include "Compositor.h" #include <cassert> #include "Logger.h" #include <string> ICompositor* ICompositor::pD11Compositor; D3D_FEATURE_LEVEL featureLevel; UINT flags = D3D11_CREATE_DEVICE_SINGLETHREADED; void D3D11Compositor::Init() { HRESULT hr = D3D11CreateDevice( NULL, D3D_DRIVER_TYPE_HARDWAR...
21.452381
93
0.674806
DrPotatoNet
1efa947bdb52c2df00c3e74faa120ae5d53fab46
7,679
cpp
C++
Microsoft.WindowsAzure.Storage/src/xml_wrapper.cpp
JasonDictos/azure-storage-cpp
8accecace59ad631cd7686f9e11fa7498fe717ac
[ "Apache-2.0" ]
null
null
null
Microsoft.WindowsAzure.Storage/src/xml_wrapper.cpp
JasonDictos/azure-storage-cpp
8accecace59ad631cd7686f9e11fa7498fe717ac
[ "Apache-2.0" ]
null
null
null
Microsoft.WindowsAzure.Storage/src/xml_wrapper.cpp
JasonDictos/azure-storage-cpp
8accecace59ad631cd7686f9e11fa7498fe717ac
[ "Apache-2.0" ]
2
2020-04-06T11:22:08.000Z
2020-11-14T19:16:58.000Z
/*** * ==++== * * Copyright (c) Microsoft Corporation. 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 a...
25.768456
149
0.63029
JasonDictos
1efd3eec8179fcabb009c7b871ffb59ca240e0f0
519
cpp
C++
HDUOJ/2107/implementation.cpp
codgician/ACM
391f3ce9b89b0a4bbbe3ff60eb2369fef57460d4
[ "MIT" ]
2
2018-02-14T01:59:31.000Z
2018-03-28T03:30:45.000Z
HDUOJ/2107/implementation.cpp
codgician/ACM
391f3ce9b89b0a4bbbe3ff60eb2369fef57460d4
[ "MIT" ]
null
null
null
HDUOJ/2107/implementation.cpp
codgician/ACM
391f3ce9b89b0a4bbbe3ff60eb2369fef57460d4
[ "MIT" ]
2
2017-12-30T02:46:35.000Z
2018-03-28T03:30:49.000Z
#include <iostream> #include <cstdio> #include <cmath> #include <algorithm> #include <cstring> #include <string> #include <climits> #include <iomanip> using namespace std; int main() { ios::sync_with_stdio(false); int num; while (cin >> num) { if (num == 0) break; int maxAC ...
17.3
37
0.493256
codgician
480045f02400a442128bc7f8dac3c4f556842671
845
cpp
C++
examples/convex_hull/example_small.cpp
digu-007/Boost_Geometry_Competency_Test_2020
53a75c82ddf29bc7f842e653e2a1664839113b53
[ "MIT" ]
null
null
null
examples/convex_hull/example_small.cpp
digu-007/Boost_Geometry_Competency_Test_2020
53a75c82ddf29bc7f842e653e2a1664839113b53
[ "MIT" ]
null
null
null
examples/convex_hull/example_small.cpp
digu-007/Boost_Geometry_Competency_Test_2020
53a75c82ddf29bc7f842e653e2a1664839113b53
[ "MIT" ]
null
null
null
/* Boost Competency Test - GSoC 2020 digu_J - Digvijay Janartha NIT Hamirpur - INDIA */ #include <algorithm> #include <iostream> #include <utility> #include "../../includes/convex_hull_gift_wrapping.hpp" #include <boost/geometry/geometry.hpp> namespace bg = boost::geometry; using bg::dsv; int main() { ...
22.236842
67
0.595266
digu-007
48051423bc5c493b50ebae69a545a1c307765da5
834
cpp
C++
google/2015/r1a/a/a.cpp
suhwanhwang/problem-solving
9421488fb97c4628bea831ac59ad5c5d9b8131d4
[ "MIT" ]
null
null
null
google/2015/r1a/a/a.cpp
suhwanhwang/problem-solving
9421488fb97c4628bea831ac59ad5c5d9b8131d4
[ "MIT" ]
null
null
null
google/2015/r1a/a/a.cpp
suhwanhwang/problem-solving
9421488fb97c4628bea831ac59ad5c5d9b8131d4
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; typedef long long ll; void printSolution(const vector<int>& m) { int m1 = 0; for (int i = 1; i < (int)m.size(); ++i) { if (m[i - 1] > m[i]) { m1 += m[i - 1] - m[i]; } } int max_d = 0; for (int i = 1; i < (int)m.size(); ++i)...
19.857143
49
0.383693
suhwanhwang
4808e862bfc0d52cf5df59d3ce7118508cf15f97
1,933
hpp
C++
include/hfsm2/detail/shared/macros_off.hpp
amessing/HFSM2
419c6847adcc644cabb6634757ec1b403bf2e192
[ "MIT" ]
null
null
null
include/hfsm2/detail/shared/macros_off.hpp
amessing/HFSM2
419c6847adcc644cabb6634757ec1b403bf2e192
[ "MIT" ]
null
null
null
include/hfsm2/detail/shared/macros_off.hpp
amessing/HFSM2
419c6847adcc644cabb6634757ec1b403bf2e192
[ "MIT" ]
null
null
null
//------------------------------------------------------------------------------ #if defined(__GNUC__) || defined(__GNUG__) #pragma GCC diagnostic pop #endif #ifdef __clang__ #pragma clang diagnostic pop #endif #if _MSC_VER == 1900 #pragma warning(pop) #endif /////////////////////////////////////////////////////...
21.965909
80
0.741852
amessing
480cc56e31a8c4c9948f2c76f1a697313526ba52
2,306
cpp
C++
implementations/divisors.cpp
LeoRiether/Competicao-Programativa
ad5bd4eba58792ad1ce7057fdf9fa6ef8970b17e
[ "MIT" ]
1
2019-12-15T22:23:20.000Z
2019-12-15T22:23:20.000Z
implementations/divisors.cpp
LeoRiether/Competicao-Programativa
ad5bd4eba58792ad1ce7057fdf9fa6ef8970b17e
[ "MIT" ]
null
null
null
implementations/divisors.cpp
LeoRiether/Competicao-Programativa
ad5bd4eba58792ad1ce7057fdf9fa6ef8970b17e
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <iterator> // Just so I can cout a vector template <class T> std::ostream& operator<<(std::ostream& os, const std::vector<T>& v) { int a{0}; for (const auto& e : v) { os << (a++ ? " " : "") << e; } return os; } // O(sqrt(n)) std::vector<int> ge...
23.773196
70
0.519081
LeoRiether
480dd44b55b36de2c87762ac429a259273a77a24
1,754
hpp
C++
ext/hdmi/native/FillView.hpp
rsperanza/BB10-WebWorks-Framework
4d68e97f07bba2eeca5b4299e6fafae042a4cbc2
[ "Apache-2.0" ]
1
2022-01-27T17:02:37.000Z
2022-01-27T17:02:37.000Z
ext/hdmi/native/FillView.hpp
rsperanza/BB10-WebWorks-Framework
4d68e97f07bba2eeca5b4299e6fafae042a4cbc2
[ "Apache-2.0" ]
null
null
null
ext/hdmi/native/FillView.hpp
rsperanza/BB10-WebWorks-Framework
4d68e97f07bba2eeca5b4299e6fafae042a4cbc2
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2011-2012 Research In Motion Limited. * * 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 b...
21.654321
91
0.701254
rsperanza
480e4057f810f381ed34a96ffd35ccec1dae750d
576
cpp
C++
tests/test_strcspn.cpp
sushisharkjl/aolc
6658f7954611de969b1fe1de017ad96bbfadf759
[ "BSD-3-Clause" ]
null
null
null
tests/test_strcspn.cpp
sushisharkjl/aolc
6658f7954611de969b1fe1de017ad96bbfadf759
[ "BSD-3-Clause" ]
null
null
null
tests/test_strcspn.cpp
sushisharkjl/aolc
6658f7954611de969b1fe1de017ad96bbfadf759
[ "BSD-3-Clause" ]
null
null
null
#include "aolc/_test_string.h" #include <string.h> #include "aolc/compare_buffer_functions.h" #include "gtest/gtest.h" TEST(strcspn, Basic) { char str[] = {'x', 'x', 'x', 'X', 'y', 'X', 'X', '\0'}; char x[] = "x"; char xX[] = "xX"; char X[] = "X"; char y[] = "y"; char xyX[] = "xyX"; ...
27.428571
59
0.564236
sushisharkjl
480eecc0a0c8d313706107d8572398af58326e8b
2,229
hpp
C++
src/assembler/Assembler.hpp
ldXiao/polyfem
d4103af16979ff67d461a9ebe46a14bbc4dc8c7c
[ "MIT" ]
null
null
null
src/assembler/Assembler.hpp
ldXiao/polyfem
d4103af16979ff67d461a9ebe46a14bbc4dc8c7c
[ "MIT" ]
null
null
null
src/assembler/Assembler.hpp
ldXiao/polyfem
d4103af16979ff67d461a9ebe46a14bbc4dc8c7c
[ "MIT" ]
null
null
null
#ifndef ASSEMBLER_HPP #define ASSEMBLER_HPP #include <polyfem/ElementAssemblyValues.hpp> #include <polyfem/Problem.hpp> #include <Eigen/Sparse> #include <vector> #include <iostream> #include <cmath> #include <memory> namespace polyfem { template<class LocalAssembler> class Assembler { public: void assemble( ...
23.967742
83
0.740691
ldXiao
481455ffabbc21e4d72ae04a61143c43ed73ea65
3,694
cpp
C++
irob_vision_support/src/camera_preprocessor.cpp
BenGab/irob-saf
3a0fee98239bd935aa99c9d9526eb9b4cfc8963c
[ "MIT" ]
11
2018-06-07T22:56:06.000Z
2021-11-04T14:56:36.000Z
irob_vision_support/src/camera_preprocessor.cpp
BenGab/irob-saf
3a0fee98239bd935aa99c9d9526eb9b4cfc8963c
[ "MIT" ]
2
2019-12-19T10:04:02.000Z
2021-04-19T13:45:25.000Z
irob_vision_support/src/camera_preprocessor.cpp
BenGab/irob-saf
3a0fee98239bd935aa99c9d9526eb9b4cfc8963c
[ "MIT" ]
8
2018-05-24T23:45:01.000Z
2021-05-07T23:33:43.000Z
/* * camera_preprocessor.cpp * * Author(s): Tamas D. Nagy * Created on: 2018-03-13 * */ #include <iostream> #include <sstream> #include <vector> #include <cmath> #include <ros/ros.h> #include <ros/package.h> #include <sensor_msgs/Image.h> #include <irob_vision_support/camera_preprocessor.hpp> namespace ...
18.107843
134
0.67163
BenGab
4818553a9e987f2d528ff7da296a7cdbac63890c
1,235
cpp
C++
BAC_2nd/ch6/UVa11853.cpp
Anyrainel/aoapc-code
e787a01380698fb9236d933462052f97b20e6132
[ "Apache-2.0" ]
3
2017-08-15T06:00:01.000Z
2018-12-10T09:05:53.000Z
BAC_2nd/ch6/UVa11853.cpp
Anyrainel/aoapc-related-code
e787a01380698fb9236d933462052f97b20e6132
[ "Apache-2.0" ]
null
null
null
BAC_2nd/ch6/UVa11853.cpp
Anyrainel/aoapc-related-code
e787a01380698fb9236d933462052f97b20e6132
[ "Apache-2.0" ]
2
2017-09-16T18:46:27.000Z
2018-05-22T05:42:03.000Z
// UVa11853 Paintball // Rujia Liu #include<cstdio> #include<cstdlib> #include<cmath> #include<cstring> #include<algorithm> using namespace std; const int maxn = 1000 + 5; const double W = 1000.0; int n, vis[maxn]; double x[maxn], y[maxn], r[maxn], left, right; bool ok; bool intersect(int c1, int c2) { return sq...
22.87037
89
0.527935
Anyrainel
4823be4f463910cd08208685aee8a37cc52df35c
1,433
cpp
C++
Highwaycam/program.cpp
42yeah/Highwaycam
02d06c3e30eef741e252b9f518ab24b3c7ac7e64
[ "MIT" ]
1
2020-06-16T10:29:25.000Z
2020-06-16T10:29:25.000Z
Highwaycam/program.cpp
42yeah/Highwaycam
02d06c3e30eef741e252b9f518ab24b3c7ac7e64
[ "MIT" ]
null
null
null
Highwaycam/program.cpp
42yeah/Highwaycam
02d06c3e30eef741e252b9f518ab24b3c7ac7e64
[ "MIT" ]
null
null
null
// // program.cpp // Highwaycam // // Created by Hao Zhou on 28/05/2020. // Copyright © 2020 John Boiles . All rights reserved. // #include "program.hpp" #include "app.hpp" #include <sstream> GLuint compile(App *app, GLuint type, std::string path) { std::string reason = "Failed to compile shader: " + path; ...
29.244898
69
0.611305
42yeah
48274f205b1f63788b25f6e88be3fad4cfc1e0af
128
cpp
C++
tensorflow-yolo-ios/dependencies/eigen/doc/snippets/SelfAdjointEigenSolver_operatorSqrt.cpp
initialz/tensorflow-yolo-face-ios
ba74cf39168d0128e91318e65a1b88ce4d65a167
[ "MIT" ]
27
2017-06-07T19:07:32.000Z
2020-10-15T10:09:12.000Z
tensorflow-yolo-ios/dependencies/eigen/doc/snippets/SelfAdjointEigenSolver_operatorSqrt.cpp
initialz/tensorflow-yolo-face-ios
ba74cf39168d0128e91318e65a1b88ce4d65a167
[ "MIT" ]
3
2017-08-25T17:39:46.000Z
2017-11-18T03:40:55.000Z
tensorflow-yolo-ios/dependencies/eigen/doc/snippets/SelfAdjointEigenSolver_operatorSqrt.cpp
initialz/tensorflow-yolo-face-ios
ba74cf39168d0128e91318e65a1b88ce4d65a167
[ "MIT" ]
10
2017-06-16T18:04:45.000Z
2018-07-05T17:33:01.000Z
version https://git-lfs.github.com/spec/v1 oid sha256:eb2d0741391080bf616202edba473e05dcf8d96886d2d80f3f78df48f9dbe6f9 size 363
32
75
0.882813
initialz
48287ef19fb1ed0ec68f9a36e5be0cc193faf01a
414
cpp
C++
src/core/subsystem/utility/SSStartupScript.cpp
Robograde/Robograde
2c9a7d0b8250ec240102d504127f5c54532cb2b0
[ "Zlib" ]
5
2015-10-11T10:22:39.000Z
2019-07-24T10:09:13.000Z
src/core/subsystem/utility/SSStartupScript.cpp
Robograde/Robograde
2c9a7d0b8250ec240102d504127f5c54532cb2b0
[ "Zlib" ]
null
null
null
src/core/subsystem/utility/SSStartupScript.cpp
Robograde/Robograde
2c9a7d0b8250ec240102d504127f5c54532cb2b0
[ "Zlib" ]
null
null
null
/************************************************** Copyright 2015 Ola Enberg ***************************************************/ #include "SSStartupScript.h" #include <script/ScriptEngine.h> SSStartupScript& SSStartupScript::GetInstance( ) { static SSStartupScript instance; return instance; } void SSStart...
23
69
0.548309
Robograde
482ec84b9153a0c8d412c008e2197b91e8194cff
15,556
hpp
C++
polympc/src/nmpc.hpp
alexandreguerradeoliveira/rocket_gnc
164e96daca01d9edbc45bfaac0f6b55fe7324f24
[ "MIT" ]
null
null
null
polympc/src/nmpc.hpp
alexandreguerradeoliveira/rocket_gnc
164e96daca01d9edbc45bfaac0f6b55fe7324f24
[ "MIT" ]
null
null
null
polympc/src/nmpc.hpp
alexandreguerradeoliveira/rocket_gnc
164e96daca01d9edbc45bfaac0f6b55fe7324f24
[ "MIT" ]
null
null
null
// This file is part of PolyMPC, a lightweight C++ template library // for real-time nonlinear optimization and optimal control. // // Copyright (C) 2020 Listov Petr <petr.listov@epfl.ch> // // 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 distribute...
34.800895
170
0.607547
alexandreguerradeoliveira
482f0c351449b350b65187e77b7a0bfc69803464
4,073
cpp
C++
mlir/lib/Dialect/ArmSVE/IR/ArmSVEDialect.cpp
jinge90/llvm
1f3f9b9b1181feb559e85970155678c18a436711
[ "Apache-2.0" ]
null
null
null
mlir/lib/Dialect/ArmSVE/IR/ArmSVEDialect.cpp
jinge90/llvm
1f3f9b9b1181feb559e85970155678c18a436711
[ "Apache-2.0" ]
null
null
null
mlir/lib/Dialect/ArmSVE/IR/ArmSVEDialect.cpp
jinge90/llvm
1f3f9b9b1181feb559e85970155678c18a436711
[ "Apache-2.0" ]
null
null
null
//===- ArmSVEDialect.cpp - MLIR ArmSVE dialect implementation -------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
38.065421
80
0.57206
jinge90
482fa342f6894b7348fd53358f2a5855d85cd4f5
74,542
cpp
C++
gazebo_lwr4_simulator/src/gazebo_kuka_lwr/src/kuka_lwr_plugin.cpp
mfigat/public_rshpn_tool
3555cb8f1eb35ef12441b9aef63dae8f578c2aa7
[ "BSD-3-Clause" ]
null
null
null
gazebo_lwr4_simulator/src/gazebo_kuka_lwr/src/kuka_lwr_plugin.cpp
mfigat/public_rshpn_tool
3555cb8f1eb35ef12441b9aef63dae8f578c2aa7
[ "BSD-3-Clause" ]
null
null
null
gazebo_lwr4_simulator/src/gazebo_kuka_lwr/src/kuka_lwr_plugin.cpp
mfigat/public_rshpn_tool
3555cb8f1eb35ef12441b9aef63dae8f578c2aa7
[ "BSD-3-Clause" ]
null
null
null
// ################################################################################################### /* Choose either GAZEBO_CALCULATIONS or EXTERNAL_CALCULATIONS */ //#define GAZEBO_CALCULATIONS /* calculation done in gazebo, no shared memory utilised */ #define EXTERNAL_CALCULATIONS /* calculation done in external ...
63.224767
2,711
0.599192
mfigat
483116ba7daa8eed90262193e27e4f97eb2872bc
9,344
cpp
C++
libs/vgc/ui/lineedit.cpp
PixelRick/vgc
154cc275449a51327a36cb6386a17bbcf1149686
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
libs/vgc/ui/lineedit.cpp
PixelRick/vgc
154cc275449a51327a36cb6386a17bbcf1149686
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
libs/vgc/ui/lineedit.cpp
PixelRick/vgc
154cc275449a51327a36cb6386a17bbcf1149686
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
// Copyright 2021 The VGC Developers // See the COPYRIGHT file at the top-level directory of this distribution // and at https://github.com/vgc/vgc/blob/master/COPYRIGHT // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may o...
28.487805
165
0.600171
PixelRick
4834cf71f04bd80152ab8157b8e743a86618080f
10,483
cpp
C++
AvxBlas/PixelShuffle3D/pixelshuffle3d_spacetochannel.cpp
tk-yoshimura/AvxBlas
37ae77f05e35aa3e97109785276afba3835585ec
[ "MIT" ]
null
null
null
AvxBlas/PixelShuffle3D/pixelshuffle3d_spacetochannel.cpp
tk-yoshimura/AvxBlas
37ae77f05e35aa3e97109785276afba3835585ec
[ "MIT" ]
null
null
null
AvxBlas/PixelShuffle3D/pixelshuffle3d_spacetochannel.cpp
tk-yoshimura/AvxBlas
37ae77f05e35aa3e97109785276afba3835585ec
[ "MIT" ]
null
null
null
#include "../avxblas.h" #include "../constants.h" #include "../utils.h" #include "../Inline/inline_copy_s.hpp" #pragma unmanaged int pixelshuffle3d_spacetochannel_aligned( const uint n, const uint ic, const uint oc, const uint iw, const uint ow, const uint ih, const uint oh, const uint id, const uint ...
28.958564
127
0.485643
tk-yoshimura
4835242860ac2aaf3c74f023f0f6d81329fd7e9e
933
hpp
C++
include/jln/mp/smp/algorithm/is_sorted.hpp
jonathanpoelen/jln.mp
e5f05fc4467f14ac0047e3bdc75a04076e689985
[ "MIT" ]
9
2020-07-04T16:46:13.000Z
2022-01-09T21:59:31.000Z
include/jln/mp/smp/algorithm/is_sorted.hpp
jonathanpoelen/jln.mp
e5f05fc4467f14ac0047e3bdc75a04076e689985
[ "MIT" ]
null
null
null
include/jln/mp/smp/algorithm/is_sorted.hpp
jonathanpoelen/jln.mp
e5f05fc4467f14ac0047e3bdc75a04076e689985
[ "MIT" ]
1
2021-05-23T13:37:40.000Z
2021-05-23T13:37:40.000Z
#pragma once #include <jln/mp/smp/functional/identity.hpp> #include <jln/mp/smp/utility/always.hpp> #include <jln/mp/smp/number/operators.hpp> #include <jln/mp/functional/tee.hpp> #include <jln/mp/functional/if.hpp> #include <jln/mp/list/size.hpp> #include <jln/mp/algorithm/is_sorted.hpp> namespace jln::mp::smp { t...
23.325
60
0.624866
jonathanpoelen
483acf982086365972c20530d88987b51d3e746a
20,901
hpp
C++
src/c4/dump.hpp
kasper93/c4core
170509d06aceefda8980c98a2785e838bb19e578
[ "BSL-1.0", "MIT" ]
null
null
null
src/c4/dump.hpp
kasper93/c4core
170509d06aceefda8980c98a2785e838bb19e578
[ "BSL-1.0", "MIT" ]
null
null
null
src/c4/dump.hpp
kasper93/c4core
170509d06aceefda8980c98a2785e838bb19e578
[ "BSL-1.0", "MIT" ]
null
null
null
#ifndef C4_DUMP_HPP_ #define C4_DUMP_HPP_ #include <c4/substr.hpp> namespace c4 { //----------------------------------------------------------------------------- //----------------------------------------------------------------------------- //------------------------------------------------------------------------...
36.036207
221
0.601933
kasper93
483ae437a02f74fadf782d2e3e83a8cec9d68bf9
326
cpp
C++
dialog/dialogsectorsetup.cpp
ignmiz/ATC_Console
549dd67a007cf54b976e33fed1581f30beb08b06
[ "Intel", "MIT" ]
5
2018-01-08T22:20:07.000Z
2021-06-19T17:42:29.000Z
dialog/dialogsectorsetup.cpp
ignmiz/ATC_Console
549dd67a007cf54b976e33fed1581f30beb08b06
[ "Intel", "MIT" ]
null
null
null
dialog/dialogsectorsetup.cpp
ignmiz/ATC_Console
549dd67a007cf54b976e33fed1581f30beb08b06
[ "Intel", "MIT" ]
2
2017-08-07T23:07:42.000Z
2021-05-09T13:02:39.000Z
#include "dialogsectorsetup.h" #include "ui_dialogsectorsetup.h" DialogSectorSetup::DialogSectorSetup(QWidget *parent) : ATCDialog(parent, "Sector Setup", 600, 800), uiInner(new Ui::DialogSectorSetup) { uiInner->setupUi(this); windowSetup(); } DialogSectorSetup::~DialogSectorSetup() { delete uiInn...
20.375
55
0.726994
ignmiz
c61c1689a56d922465da5c25fd6b6d9ad8e5aec0
5,971
cpp
C++
dblib/src/EDatabase.cpp
cxxjava/CxxDBC
01bee98aa407c9e762cf75f63a2c21942968cf0a
[ "Apache-2.0" ]
20
2017-09-01T08:56:25.000Z
2021-03-18T11:07:38.000Z
dblib/src/EDatabase.cpp
foolishantcat/CxxDBC
f0f9e95baad72318e7fe53231aeca2ffa4a8b574
[ "Apache-2.0" ]
null
null
null
dblib/src/EDatabase.cpp
foolishantcat/CxxDBC
f0f9e95baad72318e7fe53231aeca2ffa4a8b574
[ "Apache-2.0" ]
14
2017-09-01T12:23:36.000Z
2021-09-02T01:06:27.000Z
/* * EDatabase.cpp * * Created on: 2017-6-12 * Author: cxxjava@163.com */ #include "../inc/EDatabase.hh" #include "../../interface/EDBInterface.h" namespace efc { namespace edb { EDatabase::~EDatabase() { // } EDatabase::EDatabase(EDBProxyInf* proxy) : m_DBProxy(proxy), m_AutoCommit(true), m_Error...
21.555957
83
0.676269
cxxjava
c61cd1991f720bd75987be76adaf0f5cca6e7768
4,409
cc
C++
bigtable/client/table_admin.cc
cschuet/google-cloud-cpp
e6397ac48571202ee9a7adef298aad9c7c6facde
[ "Apache-2.0" ]
null
null
null
bigtable/client/table_admin.cc
cschuet/google-cloud-cpp
e6397ac48571202ee9a7adef298aad9c7c6facde
[ "Apache-2.0" ]
null
null
null
bigtable/client/table_admin.cc
cschuet/google-cloud-cpp
e6397ac48571202ee9a7adef298aad9c7c6facde
[ "Apache-2.0" ]
null
null
null
// Copyright 2017 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
32.902985
80
0.700386
cschuet
c62335a7a24ee968a1db12ff3eb2771af010d9c5
8,847
cpp
C++
source/Irrlicht/CGUIProfiler.cpp
vell001/Irrlicht-vell
23d4f03dbcd35dd93681dc0751f327f584516709
[ "IJG" ]
null
null
null
source/Irrlicht/CGUIProfiler.cpp
vell001/Irrlicht-vell
23d4f03dbcd35dd93681dc0751f327f584516709
[ "IJG" ]
null
null
null
source/Irrlicht/CGUIProfiler.cpp
vell001/Irrlicht-vell
23d4f03dbcd35dd93681dc0751f327f584516709
[ "IJG" ]
null
null
null
// This file is part of the "Irrlicht Engine". // For conditions of distribution and use, see copyright notice in irrlicht.h // Written by Michael Zeilfelder #include "CGUIProfiler.h" #ifdef _IRR_COMPILE_WITH_GUI_ #include "IGUITable.h" #include "IGUIScrollBar.h" #include "IGUIEnvironment.h" #include "CProfiler.h" n...
26.64759
145
0.703628
vell001
c623e28ad67a964099a008365d871a39ceb7eb6f
6,161
hpp
C++
foedus_code/foedus-core/include/foedus/log/log_type.hpp
sam1016yu/cicada-exp-sigmod2017
64e582370076b2923d37b279d1c32730babc15f8
[ "Apache-2.0" ]
null
null
null
foedus_code/foedus-core/include/foedus/log/log_type.hpp
sam1016yu/cicada-exp-sigmod2017
64e582370076b2923d37b279d1c32730babc15f8
[ "Apache-2.0" ]
null
null
null
foedus_code/foedus-core/include/foedus/log/log_type.hpp
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...
37.339394
100
0.735108
sam1016yu
c6266ab319663c6f8892dc11f413a75e87b5a237
1,021
hpp
C++
soccer/src/soccer/planning/planner/pivot_path_planner.hpp
xiaoqingyu0113/robocup-software
6127d25fc455051ef47610d0e421b2ca7330b4fa
[ "Apache-2.0" ]
200
2015-01-26T01:45:34.000Z
2022-03-19T13:05:31.000Z
soccer/src/soccer/planning/planner/pivot_path_planner.hpp
xiaoqingyu0113/robocup-software
6127d25fc455051ef47610d0e421b2ca7330b4fa
[ "Apache-2.0" ]
1,254
2015-01-03T01:57:35.000Z
2022-03-16T06:32:21.000Z
soccer/src/soccer/planning/planner/pivot_path_planner.hpp
xiaoqingyu0113/robocup-software
6127d25fc455051ef47610d0e421b2ca7330b4fa
[ "Apache-2.0" ]
206
2015-01-21T02:03:18.000Z
2022-02-01T17:57:46.000Z
#pragma once #include "planner.hpp" namespace planning { class PivotPathPlanner : public PlannerForCommandType<PivotCommand> { public: PivotPathPlanner() : PlannerForCommandType<PivotCommand>("PivotPathPlanner") {} ~PivotPathPlanner() override = default; PivotPathPlanner(PivotPathPlanner&&) noexc...
31.90625
88
0.728697
xiaoqingyu0113
c626a868fd2d71e50fd03c69ba5e5795e54b5462
626
cpp
C++
src/realsense_demo.cpp
ivision-ufba/depth-face-detection
f70441eb9e72fa3f509458ffc202648c2f3e27d1
[ "MIT" ]
15
2017-11-01T11:39:32.000Z
2021-04-02T02:42:59.000Z
src/realsense_demo.cpp
ivision-ufba/depth-face-detection
f70441eb9e72fa3f509458ffc202648c2f3e27d1
[ "MIT" ]
6
2017-07-26T17:55:27.000Z
2020-11-15T22:04:35.000Z
src/realsense_demo.cpp
ivision-ufba/depth-face-detection
f70441eb9e72fa3f509458ffc202648c2f3e27d1
[ "MIT" ]
5
2018-05-09T13:42:17.000Z
2020-01-17T06:22:59.000Z
#include <opencv2/highgui.hpp> #include "face_detector.hpp" #include "realsense.hpp" /* RealSense demonstration for faces in angles from 0 to 30 degrees in the * x-axis, -20 to 20 in the y-xis and no rotation in the z-axis */ int main() { RealSense rs; FaceDetector detector; while (true) { rs.get_images(...
25.04
78
0.635783
ivision-ufba
c628548dee59482174d11be3a487ed1748817b0d
5,817
cpp
C++
c86ctl/src/vis/vis_c86sub.cpp
honet/c86ctl
c1e454d4e0652c55dacb9435dfac218dfad89e7f
[ "BSD-3-Clause" ]
10
2015-04-04T17:05:04.000Z
2021-12-31T02:51:43.000Z
c86ctl/src/vis/vis_c86sub.cpp
honet/c86ctl
c1e454d4e0652c55dacb9435dfac218dfad89e7f
[ "BSD-3-Clause" ]
null
null
null
c86ctl/src/vis/vis_c86sub.cpp
honet/c86ctl
c1e454d4e0652c55dacb9435dfac218dfad89e7f
[ "BSD-3-Clause" ]
2
2015-04-09T14:16:29.000Z
2020-12-16T02:00:50.000Z
/*** c86ctl Copyright (c) 2009-2012, honet. All rights reserved. This software is licensed under the BSD license. honet.kk(at)gmail.com */ #include "stdafx.h" #include <stdlib.h> #include <stdio.h> #include <math.h> #include "resource.h" #include "vis_c86sub.h" #include "vis_c86skin.h" #ifdef ...
26.440909
90
0.517105
honet
c6318ce193499b2925946ca964effcaef39c3f7b
6,842
cpp
C++
dotnet/native/sealnet/galoiskeys_wrapper.cpp
MasterMann/SEAL
791ae130de895e6323d36a12515cf2d59071e414
[ "MIT" ]
5
2019-04-29T01:46:05.000Z
2021-10-10T10:28:02.000Z
dotnet/native/sealnet/galoiskeys_wrapper.cpp
MasterMann/SEAL
791ae130de895e6323d36a12515cf2d59071e414
[ "MIT" ]
null
null
null
dotnet/native/sealnet/galoiskeys_wrapper.cpp
MasterMann/SEAL
791ae130de895e6323d36a12515cf2d59071e414
[ "MIT" ]
4
2019-04-18T11:28:13.000Z
2020-11-01T14:25:35.000Z
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. // SEALNet #include "sealnet/stdafx.h" #include "sealnet/galoiskeys_wrapper.h" #include "sealnet/utilities.h" // SEAL #include "seal/galoiskeys.h" using namespace std; using namespace seal; using namespace sealnet; names...
26.315385
117
0.691026
MasterMann
c6326b407c937159bc6842753b2255d41c32e2b7
5,110
cpp
C++
tests/algo/test_bad_cmp.cpp
hthetran/stxxl
7f0223e52e9f10f28ed7d368cffecbbeeaa60ca7
[ "BSL-1.0" ]
null
null
null
tests/algo/test_bad_cmp.cpp
hthetran/stxxl
7f0223e52e9f10f28ed7d368cffecbbeeaa60ca7
[ "BSL-1.0" ]
null
null
null
tests/algo/test_bad_cmp.cpp
hthetran/stxxl
7f0223e52e9f10f28ed7d368cffecbbeeaa60ca7
[ "BSL-1.0" ]
null
null
null
/*************************************************************************** * tests/algo/test_bad_cmp.cpp * * Part of the STXXL. See http://stxxl.org * * Copyright (C) 2002 Roman Dementiev <dementiev@mpi-sb.mpg.de> * Copyright (C) 2011 Andreas Beckmann <beckmann@cs.uni-frankfurt.de> * * Distributed under ...
29.883041
142
0.567906
hthetran
c6384197ea85f1031d58c965a8cf21977a20dc72
1,499
cpp
C++
hash/hash.cpp
kozok-dev/samples
2a33da9ba458a26bc0be373320323a63641e3582
[ "CC0-1.0" ]
null
null
null
hash/hash.cpp
kozok-dev/samples
2a33da9ba458a26bc0be373320323a63641e3582
[ "CC0-1.0" ]
null
null
null
hash/hash.cpp
kozok-dev/samples
2a33da9ba458a26bc0be373320323a63641e3582
[ "CC0-1.0" ]
null
null
null
#include "hash.h" void Hash::Str(const void *pstr, void *pdata, UINT len, const void *pkey, UINT key_len) { if (pkey == NULL) Init(); else initHMAC((BYTE *)pkey, key_len > 0 ? key_len : strlen((char *)pkey)); Update((BYTE *)pstr, len > 0 ? len : strlen((char *)pstr)); if (pkey == NULL) Final(); else fi...
18.280488
90
0.559039
kozok-dev
c63a2b28c87818ae1402720a990319b4c7d06c53
2,381
cpp
C++
test/libp2p/peer/key_book/inmem_key_repository_test.cpp
Alexey-N-Chernyshov/cpp-libp2p
8b52253f9658560a4b1311b3ba327f02284a42a6
[ "Apache-2.0", "MIT" ]
135
2020-06-13T08:57:36.000Z
2022-03-27T05:26:11.000Z
test/libp2p/peer/key_book/inmem_key_repository_test.cpp
igor-egorov/cpp-libp2p
7c9d83bf0760a5f653d86ddbb00645414c61d4fc
[ "Apache-2.0", "MIT" ]
41
2020-06-12T15:45:05.000Z
2022-03-07T23:10:33.000Z
test/libp2p/peer/key_book/inmem_key_repository_test.cpp
igor-egorov/cpp-libp2p
7c9d83bf0760a5f653d86ddbb00645414c61d4fc
[ "Apache-2.0", "MIT" ]
43
2020-06-15T10:12:45.000Z
2022-03-21T03:04:50.000Z
/** * Copyright Soramitsu Co., Ltd. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ #include <exception> #include <gtest/gtest.h> #include <libp2p/crypto/key.hpp> #include <libp2p/peer/key_repository.hpp> #include <libp2p/peer/key_repository/inmem_key_repository.hpp> #include "testutil/outcome.hpp" ...
28.011765
79
0.685006
Alexey-N-Chernyshov
c63c2969392e17bbec61c48820aee3f2b18bc67f
12,025
cpp
C++
co-op/UI/ProjectPropsDlg.cpp
BartoszMilewski/CodeCoop
7d29f53ccf65b0d29ea7d6781a74507b52c08d0d
[ "MIT" ]
67
2018-03-02T10:50:02.000Z
2022-03-23T18:20:29.000Z
co-op/UI/ProjectPropsDlg.cpp
BartoszMilewski/CodeCoop
7d29f53ccf65b0d29ea7d6781a74507b52c08d0d
[ "MIT" ]
null
null
null
co-op/UI/ProjectPropsDlg.cpp
BartoszMilewski/CodeCoop
7d29f53ccf65b0d29ea7d6781a74507b52c08d0d
[ "MIT" ]
9
2018-03-01T16:38:28.000Z
2021-03-02T16:17:09.000Z
//------------------------------------ // (c) Reliable Software, 2000 - 2008 //------------------------------------ #include "precompiled.h" #include "ProjectPropsDlg.h" #include "ProjectOptionsEx.h" #include "ProjectDb.h" #include "OutputSink.h" #include "AppInfo.h" #include "DistributorInfo.h" #include "BrowseForFo...
26.141304
103
0.701289
BartoszMilewski
c645e3f9178c4968c207a235b93709d9a8e7bed8
2,944
cpp
C++
DPC++Compiler/simple-vector-inc/src/simple-vector-incr.cpp
jcarlosrm/BaseKit-code-samples
aef313f3846e6095e91ec27609fdd947056dc952
[ "MIT" ]
1
2020-02-21T06:58:51.000Z
2020-02-21T06:58:51.000Z
DPC++Compiler/simple-vector-inc/src/simple-vector-incr.cpp
jcarlosrm/BaseKit-code-samples
aef313f3846e6095e91ec27609fdd947056dc952
[ "MIT" ]
null
null
null
DPC++Compiler/simple-vector-inc/src/simple-vector-incr.cpp
jcarlosrm/BaseKit-code-samples
aef313f3846e6095e91ec27609fdd947056dc952
[ "MIT" ]
null
null
null
//============================================================== // Copyright © 2019 Intel Corporation // // SPDX-License-Identifier: MIT // ============================================================= #include <CL/sycl.hpp> #include <iostream> using namespace cl::sycl; static const size_t N = 2; // ################...
34.635294
79
0.56284
jcarlosrm
c6515a5a74e42f4587d05da3d5dab3833a584e14
8,397
cpp
C++
server/Enclave/enclave_csk.cpp
ndokmai/sgx-genome-variants-search
dd83fb53d0a82594b9ab2c253a246a80095ca12b
[ "MIT" ]
17
2019-01-07T14:32:31.000Z
2022-03-17T00:36:05.000Z
server/Enclave/enclave_csk.cpp
ndokmai/sgx-genome-variants-search
dd83fb53d0a82594b9ab2c253a246a80095ca12b
[ "MIT" ]
2
2020-04-20T19:05:30.000Z
2021-11-23T05:58:02.000Z
server/Enclave/enclave_csk.cpp
ndokmai/sgx-genome-variants-search
dd83fb53d0a82594b9ab2c253a246a80095ca12b
[ "MIT" ]
3
2019-05-30T20:33:29.000Z
2020-07-29T19:25:17.000Z
#include <stdlib.h> #include <string.h> #include <sgx_trts.h> #include "enclave_csk.h" #include "util.h" struct csk* m_csk = NULL; static inline uint32_t calc_hash(uint64_t x, uint64_t a, uint64_t b) { uint64_t result = a * x + b; result = (result & 0x7FFFFFFF) + (result >> 31); if(result >= 0x7FFFFFFF) { retu...
22.942623
111
0.605097
ndokmai
c65445b0564c02430e6e98c76662a90bc47cb8c0
654
hpp
C++
framework/include/GeometryNode.hpp
GottaGoGitHub/CGLab_Almert119915_Portwich119649
027babb2018ee1ae1eb03d37ceb5777db708941c
[ "MIT" ]
null
null
null
framework/include/GeometryNode.hpp
GottaGoGitHub/CGLab_Almert119915_Portwich119649
027babb2018ee1ae1eb03d37ceb5777db708941c
[ "MIT" ]
null
null
null
framework/include/GeometryNode.hpp
GottaGoGitHub/CGLab_Almert119915_Portwich119649
027babb2018ee1ae1eb03d37ceb5777db708941c
[ "MIT" ]
null
null
null
#ifndef OPENGL_FRAMEWORK_GEOMETRYNODE_H #define OPENGL_FRAMEWORK_GEOMETRYNODE_H # include "Node.hpp" #include "model.hpp" #include "structs.hpp" class GeometryNode : public Node { public: // constructor explicit GeometryNode(std::string name); GeometryNode(const std::shared_ptr<Node> &parent, std::strin...
19.235294
88
0.718654
GottaGoGitHub
c656b522b117929a0f5323359307667d0728e617
2,857
cpp
C++
Super Synthesis Engine/Source/Graphics/Texture2D.cpp
nstearns96/Super-Synthesis-Engine
64824c50557e64decc9710a5b2aa63cd93712122
[ "MIT" ]
null
null
null
Super Synthesis Engine/Source/Graphics/Texture2D.cpp
nstearns96/Super-Synthesis-Engine
64824c50557e64decc9710a5b2aa63cd93712122
[ "MIT" ]
null
null
null
Super Synthesis Engine/Source/Graphics/Texture2D.cpp
nstearns96/Super-Synthesis-Engine
64824c50557e64decc9710a5b2aa63cd93712122
[ "MIT" ]
null
null
null
#include "Graphics/Texture2D.h" #include "Logging/Logger.h" #include "Resources/Assets/TextureAssetUtils.h" #include "Vulkan/Devices/VulkanDeviceManager.h" #include "Vulkan/Memory/VulkanBuffer.h" namespace SSE { extern Logger gLogger; namespace Graphics { bool Texture2D::create(Bitmap& bitmap, VkImageTiling ...
29.760417
149
0.732587
nstearns96
c6588f3d9d41f0506b7ab80b6ad5cad2fff9c7f6
1,493
cpp
C++
owGameM2/M2_Part_Material.cpp
adan830/OpenWow
9b6e9c248bd185b1677fe616d2a3a81a35ca8894
[ "Apache-2.0" ]
null
null
null
owGameM2/M2_Part_Material.cpp
adan830/OpenWow
9b6e9c248bd185b1677fe616d2a3a81a35ca8894
[ "Apache-2.0" ]
null
null
null
owGameM2/M2_Part_Material.cpp
adan830/OpenWow
9b6e9c248bd185b1677fe616d2a3a81a35ca8894
[ "Apache-2.0" ]
1
2020-05-11T13:32:49.000Z
2020-05-11T13:32:49.000Z
#include "stdafx.h" // General #include "M2_Part_Material.h" // M2Blend converter struct { SM2_Material::BlendModes M2Blend; uint8 EGxBLend; } M2Blend_To_EGxBlend[SM2_Material::COUNT] = { { SM2_Material::M2BLEND_OPAQUE, 0 }, { SM2_Material::M2BLEND_ALPHA_KEY, 1 }, { SM2_Material::M2BLEND_ALPHA, 2 }, {...
31.104167
110
0.77294
adan830
c65be78a5202ef05fe8255c9f4c4ab3489a57fea
10,253
cpp
C++
OpenCP/libimq/ssim.cpp
norishigefukushima/OpenCP
63090131ec975e834f85b04e84ec29b2893845b2
[ "BSD-3-Clause" ]
137
2015-03-27T07:11:19.000Z
2022-03-30T05:58:22.000Z
OpenCP/libimq/ssim.cpp
Pandinosaurus/OpenCP
a5234ed531c610d7944fa14d42f7320442ea34a1
[ "BSD-3-Clause" ]
2
2016-05-18T06:33:16.000Z
2016-07-11T17:39:17.000Z
OpenCP/libimq/ssim.cpp
Pandinosaurus/OpenCP
a5234ed531c610d7944fa14d42f7320442ea34a1
[ "BSD-3-Clause" ]
43
2015-02-20T15:34:25.000Z
2022-01-27T14:59:37.000Z
#include <math.h> #include "imq.h" //MS_SSIMF(float *forig_img, float *fcomp_img, _INT32 PX, _INT32 PY, bool Wang, bool SSIM, _INT32 bits_per_pixel_1, bool fast, float a, float b, float g) const float aa = 0.05f; const float bb = 0.15f; const float gg = 0.10f; //------------------------------------------------------...
35.975439
153
0.424071
norishigefukushima
c65c030429c89ebdddaa12559bd3bf44cc74607a
10,761
cpp
C++
src/utils/vrad/disp_vrad.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
6
2022-01-23T09:40:33.000Z
2022-03-20T20:53:25.000Z
src/utils/vrad/disp_vrad.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
null
null
null
src/utils/vrad/disp_vrad.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
1
2022-02-06T21:05:23.000Z
2022-02-06T21:05:23.000Z
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: // // $NoKeywords: $ //=============================================================================// #include "disp_vrad.h" #include "utllinkedlist.h" #include "utlvector.h" #include "iscratchpad3d.h" #include "scratchpadut...
35.166667
160
0.552086
cstom4994
c65d53273ae435ccfd3c072836fa7c16ebd5c802
19,973
hpp
C++
include/xframe/xaxis_variant.hpp
jeandet/xframe
b4fa0759cab381418a3d23f0d61f74d0d400a5c0
[ "BSD-3-Clause" ]
null
null
null
include/xframe/xaxis_variant.hpp
jeandet/xframe
b4fa0759cab381418a3d23f0d61f74d0d400a5c0
[ "BSD-3-Clause" ]
null
null
null
include/xframe/xaxis_variant.hpp
jeandet/xframe
b4fa0759cab381418a3d23f0d61f74d0d400a5c0
[ "BSD-3-Clause" ]
null
null
null
/*************************************************************************** * Copyright (c) 2017, Johan Mabille, Sylvain Corlay and Wolf Vollprecht * * * * Distributed under the terms of the BSD 3-Clause License. * * ...
34.856894
139
0.588945
jeandet
c663069e51486f921da516fb37120d1ba02b2955
3,289
cpp
C++
src/controller.cpp
hrandib/pc_fancontrol
74fd5e38a7910144bfcf5fe690ad4b22c7356c91
[ "MIT" ]
null
null
null
src/controller.cpp
hrandib/pc_fancontrol
74fd5e38a7910144bfcf5fe690ad4b22c7356c91
[ "MIT" ]
4
2020-12-22T17:48:49.000Z
2021-02-20T21:48:24.000Z
src/controller.cpp
hrandib/pc_fancontrol
74fd5e38a7910144bfcf5fe690ad4b22c7356c91
[ "MIT" ]
null
null
null
/* * Copyright (c) 2020 Dmytro Shestakov * * 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...
42.166667
119
0.678322
hrandib
c6731fe6f4d0b69900a6e5b7bf5254eee44b1b09
10,697
cpp
C++
nv/g_dbscan.cpp
houwenbo87/DBSCAN
3452d32186f2b59f2f1e515cebdf0ce15cb3e2f7
[ "BSD-2-Clause-FreeBSD" ]
1
2020-09-18T22:40:39.000Z
2020-09-18T22:40:39.000Z
nv/g_dbscan.cpp
houwenbo87/DBSCAN
3452d32186f2b59f2f1e515cebdf0ce15cb3e2f7
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
nv/g_dbscan.cpp
houwenbo87/DBSCAN
3452d32186f2b59f2f1e515cebdf0ce15cb3e2f7
[ "BSD-2-Clause-FreeBSD" ]
1
2021-09-15T11:06:53.000Z
2021-09-15T11:06:53.000Z
#include "g_dbscan.h" #include <cuda.h> namespace { bool has_nonzero(std::vector<int>& v) { for (size_t i = 0; i < v.size(); ++i) { if (v[i] > 0) return true; } return false; } } namespace clustering { GDBSCAN::GDBSCAN(const Dataset::Ptr dset) : m_dset(dset) , d_data(0) , ...
31.09593
81
0.618304
houwenbo87
c6735e0f7e36f1d9c9effe211678d06a91179a9f
307
cpp
C++
Lesson 06/CallByVal2.cpp
noenemy/Book-Quick-Guide-C-
51ddffb6c5e4b1f4351ba878e543b179b744388b
[ "MIT" ]
null
null
null
Lesson 06/CallByVal2.cpp
noenemy/Book-Quick-Guide-C-
51ddffb6c5e4b1f4351ba878e543b179b744388b
[ "MIT" ]
null
null
null
Lesson 06/CallByVal2.cpp
noenemy/Book-Quick-Guide-C-
51ddffb6c5e4b1f4351ba878e543b179b744388b
[ "MIT" ]
null
null
null
#include <stdio.h> void AddAndPrint( int *pnParam ); int main() { int a = 10; AddAndPrint( &a ); printf("a = %d\n", a); return 0; } void AddAndPrint( int *pnParam ) { if ( pnParam == NULL ) return; *pnParam = *pnParam + 10; printf("*pnParam = %d\n", *pnParam); }
12.28
40
0.527687
noenemy
c678dfa624154fe38517d29e1e7f5058a3da162f
5,099
cpp
C++
samples/cortex/mx-gcc/4-debug-m3-stm32f2xx/src/main.cpp
diamondx131/scmrtos-sample-projects
3b34a485b6ca4b16705c250383ae5d30c81966f1
[ "MIT" ]
9
2015-10-07T15:27:27.000Z
2021-04-07T06:13:24.000Z
samples/cortex/mx-gcc/4-debug-m3-stm32f2xx/src/main.cpp
diamondx131/scmrtos-sample-projects
3b34a485b6ca4b16705c250383ae5d30c81966f1
[ "MIT" ]
4
2017-07-04T10:51:51.000Z
2019-09-25T11:20:24.000Z
samples/cortex/mx-gcc/4-debug-m3-stm32f2xx/src/main.cpp
diamondx131/scmrtos-sample-projects
3b34a485b6ca4b16705c250383ae5d30c81966f1
[ "MIT" ]
9
2015-12-04T15:34:32.000Z
2020-07-01T16:10:59.000Z
//****************************************************************************** //* //* FULLNAME: Single-Chip Microcontroller Real-Time Operating System //* //* NICKNAME: scmRTOS //* //* PROCESSOR: ARM Cortex-M3 //* //* TOOLKIT: ARM GCC //* //* PURPOSE: Port Test File //* //* Version: v5...
27.413978
80
0.521867
diamondx131
c6794313406de573af08d9f97f4b5f705f70a7a5
1,471
cpp
C++
oclint-rules/rules/basic/ForLoopShouldBeWhileLoopRule.cpp
BGU-AiDnD/oclint
484fed44ca0e34532745b3d4f04124cbf5bb42fa
[ "BSD-3-Clause" ]
3,128
2015-01-01T06:00:31.000Z
2022-03-29T23:43:20.000Z
oclint-rules/rules/basic/ForLoopShouldBeWhileLoopRule.cpp
BGU-AiDnD/oclint
484fed44ca0e34532745b3d4f04124cbf5bb42fa
[ "BSD-3-Clause" ]
432
2015-01-03T15:43:08.000Z
2022-03-29T02:32:48.000Z
oclint-rules/rules/basic/ForLoopShouldBeWhileLoopRule.cpp
BGU-AiDnD/oclint
484fed44ca0e34532745b3d4f04124cbf5bb42fa
[ "BSD-3-Clause" ]
454
2015-01-06T03:11:12.000Z
2022-03-22T05:49:38.000Z
#include "oclint/AbstractASTVisitorRule.h" #include "oclint/RuleSet.h" using namespace std; using namespace clang; using namespace oclint; class ForLoopShouldBeWhileLoopRule : public AbstractASTVisitorRule<ForLoopShouldBeWhileLoopRule> { public: virtual const string name() const override { return "for...
21.318841
96
0.600952
BGU-AiDnD
c681b7875e762a600648e5b7332ccc0ae0817de5
10,769
cpp
C++
Umbrella-Engine/Image/Image.cpp
jfla-fan/JFla-Engine
dcbdcdff815fd1729bed35ec556b850cc94f6553
[ "MIT" ]
null
null
null
Umbrella-Engine/Image/Image.cpp
jfla-fan/JFla-Engine
dcbdcdff815fd1729bed35ec556b850cc94f6553
[ "MIT" ]
null
null
null
Umbrella-Engine/Image/Image.cpp
jfla-fan/JFla-Engine
dcbdcdff815fd1729bed35ec556b850cc94f6553
[ "MIT" ]
null
null
null
#include "Image.h" #include <map> namespace J::Utils { using namespace J::Math; static uint8 _GetBytesPerChannel(ERawImageFormat InFormat) { switch (InFormat) { case ERawImageFormat::L8: case ERawImageFormat::LA8: case ERawImageFormat::R8: case ERawImageFormat::RGB8: case ERawImageFormat::RGBA8: ...
24.530752
103
0.679172
jfla-fan
c6834844a8fbe1aaac74578b70ab9dda587242ba
2,101
inl
C++
examples/volcano/command.inl
djohansson/slang
69227ad7d46b8741274c93a42a891d70458f2d45
[ "MIT" ]
2
2019-08-16T13:33:28.000Z
2020-08-12T21:48:24.000Z
examples/volcano/command.inl
djohansson/slang
69227ad7d46b8741274c93a42a891d70458f2d45
[ "MIT" ]
null
null
null
examples/volcano/command.inl
djohansson/slang
69227ad7d46b8741274c93a42a891d70458f2d45
[ "MIT" ]
null
null
null
template <GraphicsBackend B> CommandBufferAccessScope<B> CommandPoolContext<B>::commands(const CommandBufferAccessScopeDesc<B>& beginInfo) { if (myRecordingCommands[beginInfo.level] && myRecordingCommands[beginInfo.level].value().getDesc() == beginInfo) return internalCommands(beginInfo); else r...
30.449275
116
0.753927
djohansson
c68717e0c2888726e89bf12a28c2c90853b0bc01
2,132
cpp
C++
Week 2/7_last_digit_of_the_sum_of_fibonacci_numbers_again/fibonacci_partial_sum.cpp
osamamagdy/Algorithmic-Toolbox
c095e64ae89aa376eabf579dafc959975de78a4d
[ "MIT" ]
null
null
null
Week 2/7_last_digit_of_the_sum_of_fibonacci_numbers_again/fibonacci_partial_sum.cpp
osamamagdy/Algorithmic-Toolbox
c095e64ae89aa376eabf579dafc959975de78a4d
[ "MIT" ]
null
null
null
Week 2/7_last_digit_of_the_sum_of_fibonacci_numbers_again/fibonacci_partial_sum.cpp
osamamagdy/Algorithmic-Toolbox
c095e64ae89aa376eabf579dafc959975de78a4d
[ "MIT" ]
1
2021-01-29T21:57:48.000Z
2021-01-29T21:57:48.000Z
/* #include <iostream> #include <vector> using std::vector; long long get_fibonacci_partial_sum_naive(long long from, long long to) { long long sum = 0; long long current = 0; long long next = 1; for (long long i = 0; i <= to; ++i) { if (i >= from) { sum += current; } ...
19.207207
131
0.587711
osamamagdy
c68f2536aab3eb7207f1c8fb417e434ea0b30229
1,872
cpp
C++
c++/en/dropbox/representative_numbers/representative_numbers/representative_numbers.cpp
aimldl/coding
70ddbfaa454ab92fd072ee8dc614ecc330b34a70
[ "MIT" ]
null
null
null
c++/en/dropbox/representative_numbers/representative_numbers/representative_numbers.cpp
aimldl/coding
70ddbfaa454ab92fd072ee8dc614ecc330b34a70
[ "MIT" ]
null
null
null
c++/en/dropbox/representative_numbers/representative_numbers/representative_numbers.cpp
aimldl/coding
70ddbfaa454ab92fd072ee8dc614ecc330b34a70
[ "MIT" ]
null
null
null
// representative_numbers.cpp #include "pch.h" #include <iostream> #include <fstream> using namespace std; //#define DEBUG 1 #define DEBUG 0 void swap(int &a, int &b) { int t; t = a; a = b; b = t; } void bubble_sort(int* arr, int N) { int b = N; // bar for (int i = 0; i < N; i++) { ...
14.740157
71
0.470085
aimldl
578dc541119789c17a31f55d05729d25c98556df
6,307
cpp
C++
WebKit2-7606.2.104.1.1/WebKit2-7606.2.104.1.1/WebProcess/Storage/WebToStorageProcessConnection.cpp
mlcldh/appleWebKit2
39cc42a4710c9319c8da269621844493ab2ccdd6
[ "MIT" ]
1
2021-05-27T07:29:31.000Z
2021-05-27T07:29:31.000Z
WebKit2-7606.2.104.1.1/WebKit2-7606.2.104.1.1/WebProcess/Storage/WebToStorageProcessConnection.cpp
mlcldh/appleWebKit2
39cc42a4710c9319c8da269621844493ab2ccdd6
[ "MIT" ]
null
null
null
WebKit2-7606.2.104.1.1/WebKit2-7606.2.104.1.1/WebProcess/Storage/WebToStorageProcessConnection.cpp
mlcldh/appleWebKit2
39cc42a4710c9319c8da269621844493ab2ccdd6
[ "MIT" ]
null
null
null
/* * Copyright (C) 2013 Apple Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions a...
39.41875
154
0.767243
mlcldh
578e01324ff9a18f505abef35d050a68776d75d7
296
cpp
C++
engine/src/Graphics/TerrainInstance.cpp
aleksigron/graphics-toolkit
f8e60c57316a72dff9de07512e9771deb3799208
[ "MIT" ]
14
2017-10-17T16:20:20.000Z
2021-12-21T14:49:00.000Z
engine/src/Graphics/TerrainInstance.cpp
aleksigron/graphics-toolkit
f8e60c57316a72dff9de07512e9771deb3799208
[ "MIT" ]
null
null
null
engine/src/Graphics/TerrainInstance.cpp
aleksigron/graphics-toolkit
f8e60c57316a72dff9de07512e9771deb3799208
[ "MIT" ]
1
2019-05-12T13:50:23.000Z
2019-05-12T13:50:23.000Z
#include "Graphics/TerrainInstance.hpp" TerrainInstance::TerrainInstance() : meshId(MeshId::Null), terrainSize(128.0f), terrainResolution(128), textureScale(0.25f, 0.25f), minHeight(-0.25f), maxHeight(0.05f), heightData(nullptr), vertexArrayId(0), uniformBufferId(0), textureId(0) { }
18.5
39
0.736486
aleksigron
5790db543563f27ea8ff6c6c0e0ae7f4e464bdc0
845
cpp
C++
Library/Room/Mode.cpp
theater/ArduinoMega
6515e6b6fbe62f75bf67ea2470760757af457b92
[ "Apache-2.0" ]
null
null
null
Library/Room/Mode.cpp
theater/ArduinoMega
6515e6b6fbe62f75bf67ea2470760757af457b92
[ "Apache-2.0" ]
null
null
null
Library/Room/Mode.cpp
theater/ArduinoMega
6515e6b6fbe62f75bf67ea2470760757af457b92
[ "Apache-2.0" ]
null
null
null
/* * Mode.cpp * * Created on: Mar 15, 2018 * Author: theater */ #include <Mode.h> #include <MqttUtil.h> Mode::Mode(ModeType mode) : Mode(mode, NULL) { } Mode::Mode(ModeType mode, char * id ) { this->id = id; this->mode = mode; this->callbackTopic = createCallbackTopic(id); MqttUtil::s...
17.604167
74
0.577515
theater
579f25abdbd7a27642bfc7bf6bca97650fc0110b
1,260
cpp
C++
ke_mode/winnt/ntke_cpprtl/gstatic_test_suite/test_gstatic01.cpp
133a/project_ntke_cpprtl
f2d3fd36a2c44f968f7b10c344abe7e0b7aa2e4c
[ "MIT" ]
12
2016-08-02T19:22:26.000Z
2022-02-28T21:20:18.000Z
ke_mode/winnt/ntke_cpprtl/gstatic_test_suite/test_gstatic01.cpp
133a/project_ntke_cpprtl
f2d3fd36a2c44f968f7b10c344abe7e0b7aa2e4c
[ "MIT" ]
null
null
null
ke_mode/winnt/ntke_cpprtl/gstatic_test_suite/test_gstatic01.cpp
133a/project_ntke_cpprtl
f2d3fd36a2c44f968f7b10c344abe7e0b7aa2e4c
[ "MIT" ]
6
2018-04-15T16:51:40.000Z
2021-04-23T19:32:34.000Z
///////////////////////////////////////////////////////////////////////////// //// copyright (c) 2012-2017 project_ntke_cpprtl //// mailto:kt133a@seznam.cz //// license: the MIT license ///////////////////////////////////////////////////////////////////////////// #ifdef NT_KERNEL_MODE # include "ntddk.inclu...
15.75
77
0.543651
133a
57a666a259ae8493beef0554fc47706ad0ab4cec
1,603
hxx
C++
c++/src/laolx/parser/OperatorFunctionId.hxx
kpfalzer/laolx
66e5571a63c289294af69949b9ec56f752efc51b
[ "MIT" ]
null
null
null
c++/src/laolx/parser/OperatorFunctionId.hxx
kpfalzer/laolx
66e5571a63c289294af69949b9ec56f752efc51b
[ "MIT" ]
null
null
null
c++/src/laolx/parser/OperatorFunctionId.hxx
kpfalzer/laolx
66e5571a63c289294af69949b9ec56f752efc51b
[ "MIT" ]
null
null
null
// // OperatorFunctionId.hxx // // // Created by Karl W Pfalzer. // #ifndef laolx_parser_OperatorFunctionId_hxx #define laolx_parser_OperatorFunctionId_hxx #include "laolx/parser/laolx.hxx" namespace laolx { namespace parser { class OverloadableOperator : public _Acceptor { public: explicit OverloadableOper...
19.083333
74
0.679351
kpfalzer
57a71d2cfb1d136a1e75e095ade0219ba494b7fc
159
hh
C++
src/Zynga/Framework/Service/V2/Swagger.hh
chintan-j-patel/zynga-hacklang-framework
d9893b8873e3c8c7223772fd3c94d2531760172a
[ "MIT" ]
19
2018-04-23T09:30:48.000Z
2022-03-06T21:35:18.000Z
src/Zynga/Framework/Service/V2/Swagger.hh
chintan-j-patel/zynga-hacklang-framework
d9893b8873e3c8c7223772fd3c94d2531760172a
[ "MIT" ]
22
2017-11-27T23:39:25.000Z
2019-08-09T08:56:57.000Z
src/Zynga/Framework/Service/V2/Swagger.hh
chintan-j-patel/zynga-hacklang-framework
d9893b8873e3c8c7223772fd3c94d2531760172a
[ "MIT" ]
28
2017-11-16T20:53:56.000Z
2021-01-04T11:13:17.000Z
<?hh // strict namespace Zynga\Framework\Service\V2; use Zynga\Framework\Service\V2\Swagger\Base as SwaggerBase; final class Swagger extends SwaggerBase {}
19.875
59
0.786164
chintan-j-patel
57b1eb7fd98b09c64f7ee1df48067fc178d13085
1,575
cpp
C++
source/app/iosuhax.cpp
emiyl/dumpling
48d76f5a4c035585683e1b414df2b66d5bb12e15
[ "MIT" ]
53
2020-04-11T15:49:21.000Z
2022-03-20T03:47:33.000Z
source/app/iosuhax.cpp
emiyl/dumpling
48d76f5a4c035585683e1b414df2b66d5bb12e15
[ "MIT" ]
22
2020-08-14T19:45:13.000Z
2022-03-30T00:49:27.000Z
source/app/iosuhax.cpp
emiyl/dumpling
48d76f5a4c035585683e1b414df2b66d5bb12e15
[ "MIT" ]
11
2020-04-19T09:19:08.000Z
2022-03-21T20:16:54.000Z
#include "iosuhax.h" #include "gui.h" int32_t mcpHookHandle = -1; int32_t fsaHandle = -1; int32_t iosuhaxHandle = -1; OSEvent haxStartEvent = {}; void haxStartCallback(IOSError arg1, void *arg2) { } bool openIosuhax() { WHBLogPrint("Preparing iosuhax..."); WHBLogConsoleDraw(); // Open MCP to send t...
25.819672
91
0.660317
emiyl
57b23524ca7c81bb0b3701aa84c555431b8cda0c
3,826
cpp
C++
SerialPrograms/Source/PokemonSwSh/Programs/EggPrograms/PokemonSwSh_EggSuperCombined2.cpp
ercdndrs/Arduino-Source
c0490f0f06aaa38759aa8f11def9e1349e551679
[ "MIT" ]
null
null
null
SerialPrograms/Source/PokemonSwSh/Programs/EggPrograms/PokemonSwSh_EggSuperCombined2.cpp
ercdndrs/Arduino-Source
c0490f0f06aaa38759aa8f11def9e1349e551679
[ "MIT" ]
null
null
null
SerialPrograms/Source/PokemonSwSh/Programs/EggPrograms/PokemonSwSh_EggSuperCombined2.cpp
ercdndrs/Arduino-Source
c0490f0f06aaa38759aa8f11def9e1349e551679
[ "MIT" ]
null
null
null
/* Egg Super-Combined 2 * * From: https://github.com/PokemonAutomation/Arduino-Source * */ #include "Common/SwitchFramework/FrameworkSettings.h" #include "PokemonSwSh/Programs/ReleaseHelpers.h" #include "PokemonSwSh_EggHelpers.h" #include "PokemonSwSh_EggCombinedShared.h" #include "PokemonSwSh_EggSuper...
34.781818
151
0.670413
ercdndrs
57bc0a7501acae5ab7ed283ba9bdc7dd3d49b10a
1,952
hpp
C++
include/Log.hpp
savageking-io/evelengine
f4f31419077e3467db271e82b05164eafa521eb7
[ "Apache-2.0" ]
null
null
null
include/Log.hpp
savageking-io/evelengine
f4f31419077e3467db271e82b05164eafa521eb7
[ "Apache-2.0" ]
null
null
null
include/Log.hpp
savageking-io/evelengine
f4f31419077e3467db271e82b05164eafa521eb7
[ "Apache-2.0" ]
null
null
null
#ifndef __EVEL_ENGINE_LOG_HPP__ #define __EVEL_ENGINE_LOG_HPP__ #include "spdlog/spdlog.h" #include "spdlog/sinks/stdout_color_sinks.h" #include "spdlog/sinks/basic_file_sink.h" namespace EvelEngine { class Log { public: Log(); ~Log(); void initialize(); ...
30.030769
72
0.441598
savageking-io
57bd226413697bca6d490a522c7cc5a8a4f0b247
12,156
cpp
C++
src/OVAFTModel.cpp
kokarare1212/OpenVAFT
42dbec4ed1123a98f465e61833a69f25bc948cd2
[ "Apache-2.0" ]
1
2022-03-23T02:35:52.000Z
2022-03-23T02:35:52.000Z
src/OVAFTModel.cpp
kokarare1212/OpenVAFT
42dbec4ed1123a98f465e61833a69f25bc948cd2
[ "Apache-2.0" ]
null
null
null
src/OVAFTModel.cpp
kokarare1212/OpenVAFT
42dbec4ed1123a98f465e61833a69f25bc948cd2
[ "Apache-2.0" ]
null
null
null
#include "OVAFTModel.h" #include <CubismDefaultParameterId.hpp> #include <CubismModelSettingJson.hpp> #include <Motion/CubismMotion.hpp> #include <fstream> #include <Id/CubismIdManager.hpp> #include <Rendering/OpenGL/CubismRenderer_OpenGLES2.hpp> #include <Utils/CubismString.hpp> #include "OVAFTFaceTracker.h" #include...
35.964497
128
0.675716
kokarare1212
57c513e32a933ef4abb0e53b6e0bec1df76a9448
1,419
cpp
C++
data/dailyCodingProblem457.cpp
vidit1999/daily_coding_problem
b90319cb4ddce11149f54010ba36c4bd6fa0a787
[ "MIT" ]
2
2020-09-04T20:56:23.000Z
2021-06-11T07:42:26.000Z
data/dailyCodingProblem457.cpp
vidit1999/daily_coding_problem
b90319cb4ddce11149f54010ba36c4bd6fa0a787
[ "MIT" ]
null
null
null
data/dailyCodingProblem457.cpp
vidit1999/daily_coding_problem
b90319cb4ddce11149f54010ba36c4bd6fa0a787
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; /* Given a word W and a string S, find all starting indices in S which are anagrams of W. For example, given that W is "ab", and S is "abxaba", return 0, 3, and 4. */ // return true if umap2 contains all the keys of umap1 with respective values // and all other keys of um...
26.773585
114
0.676533
vidit1999
57dc91b93565abdfc2ee7dc1e690cd091ca2cbaf
2,302
cpp
C++
InfoBar.cpp
NamaChikara/Minesweeper_Cpp
1edfc0c886d21dc172c5c387978d5212cf81fa1f
[ "MIT" ]
null
null
null
InfoBar.cpp
NamaChikara/Minesweeper_Cpp
1edfc0c886d21dc172c5c387978d5212cf81fa1f
[ "MIT" ]
null
null
null
InfoBar.cpp
NamaChikara/Minesweeper_Cpp
1edfc0c886d21dc172c5c387978d5212cf81fa1f
[ "MIT" ]
null
null
null
#include "InfoBar.h" InfoBar::InfoBar(float swidth, float yloc, float height, std::string font_file) : screen_width{ swidth }, y_offset{ yloc }, info_height{ height } { if (!font.loadFromFile(font_file)) { std::cerr << "Could not load " << font_file << " font file." << std::endl; } // note: the string values...
30.289474
81
0.739357
NamaChikara
57e0c53b9df2aed101c81120bc0523b33ce3ccec
911
cpp
C++
devdc133.cpp
vidit1999/coding_problems
b6c9fa7fda37d9424cd11bcd54b385fd8cf1ee0a
[ "BSD-2-Clause" ]
1
2020-02-24T18:28:48.000Z
2020-02-24T18:28:48.000Z
devdc133.cpp
vidit1999/coding_problems
b6c9fa7fda37d9424cd11bcd54b385fd8cf1ee0a
[ "BSD-2-Clause" ]
null
null
null
devdc133.cpp
vidit1999/coding_problems
b6c9fa7fda37d9424cd11bcd54b385fd8cf1ee0a
[ "BSD-2-Clause" ]
null
null
null
#include <bits/stdc++.h> using namespace std; /* Mr. Square is going on holiday. He wants to bring 2 of his favorite squares with him, so he put them in his rectangle suitcase. Write a function that, given the size of the squares and the suitcase, return whether the squares can fit inside the suitcase. fit_in(a,b,m,...
20.704545
85
0.642151
vidit1999
57e3b19dad6d500cbd34c4778663bf4ed6443daf
130,234
cpp
C++
Unity-Project/App-HL2/Il2CppOutputProject/Source/il2cppOutput/Il2CppCCWs117.cpp
JBrentJ/mslearn-mixed-reality-and-azure-digital-twins-in-unity
6e13b31a0b053443b9c93267d8f174f1554e79dd
[ "CC-BY-4.0", "MIT" ]
1
2021-06-01T19:33:53.000Z
2021-06-01T19:33:53.000Z
Unity-Project/App-HL2/Il2CppOutputProject/Source/il2cppOutput/Il2CppCCWs117.cpp
JBrentJ/mslearn-mixed-reality-and-azure-digital-twins-in-unity
6e13b31a0b053443b9c93267d8f174f1554e79dd
[ "CC-BY-4.0", "MIT" ]
null
null
null
Unity-Project/App-HL2/Il2CppOutputProject/Source/il2cppOutput/Il2CppCCWs117.cpp
JBrentJ/mslearn-mixed-reality-and-azure-digital-twins-in-unity
6e13b31a0b053443b9c93267d8f174f1554e79dd
[ "CC-BY-4.0", "MIT" ]
null
null
null
#include "pch-cpp.hpp" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <stdint.h> #include <limits> #include "vm/CachedCCWBase.h" #include "utils/New.h" // UnityEngine.EventSystems.RaycastResult[] struct RaycastResultU5BU5D_t55B9DF597EFA3BE063604C0950E370D850283B9D; // System.Tex...
49.688668
528
0.849571
JBrentJ
57e4487c4befc46e5a1b9538a1355ee1c7cfe0a8
2,090
cc
C++
tests/test_minibus_web.cc
clambassador/minibus
7a9699a53461911b503840b55ac630c894a0bb78
[ "Apache-2.0" ]
1
2019-01-17T15:17:32.000Z
2019-01-17T15:17:32.000Z
tests/test_minibus_web.cc
clambassador/minibus
7a9699a53461911b503840b55ac630c894a0bb78
[ "Apache-2.0" ]
null
null
null
tests/test_minibus_web.cc
clambassador/minibus
7a9699a53461911b503840b55ac630c894a0bb78
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <functional> #include <ncurses.h> #include <sstream> #include <string> #include <vector> #include "minibus/driver/minibus_driver.h" #include "minibus/io/key.h" #include "minibus/web/minibus_web.h" #include "minibus/widgets/close_on_key.h" #include "minibus/widgets/list_select.h" #include "...
24.022989
62
0.664115
clambassador
57e534fb967978afcc9738fe78957e05f949a79e
3,406
cpp
C++
CSES/PrefixSumQueries.cpp
julianferres/Codeforces
ac80292a4d53b8078fc1a85e91db353c489555d9
[ "MIT" ]
4
2020-01-31T15:49:25.000Z
2020-07-07T11:44:03.000Z
CSES/prefix_sum_queries.cpp
julianferres/CodeForces
14e8369e82a2403094183d6f7824201f681c9f65
[ "MIT" ]
null
null
null
CSES/prefix_sum_queries.cpp
julianferres/CodeForces
14e8369e82a2403094183d6f7824201f681c9f65
[ "MIT" ]
null
null
null
/* AUTHOR: julianferres */ #include <bits/stdc++.h> using namespace std; // neal Debugger template<typename A, typename B> ostream& operator<<(ostream &os, const pair<A, B> &p) { return os << '(' << p.first << ", " << p.second << ')'; } template<typename T_container, typename T = typename enable_if<!is_same<T_cont...
33.067961
290
0.548444
julianferres
57e60b13c663fdb02c754af29c1957114ae8f8aa
233
cpp
C++
source/dynamic_value/value_not_found.cpp
diegoarjz/selector
976abd0d9e721639e6314e2599ef7e6f3dafdc4f
[ "MIT" ]
12
2019-04-16T17:35:53.000Z
2020-04-12T14:37:27.000Z
source/dynamic_value/value_not_found.cpp
diegoarjz/selector
976abd0d9e721639e6314e2599ef7e6f3dafdc4f
[ "MIT" ]
47
2019-05-27T15:24:43.000Z
2020-04-27T17:54:54.000Z
source/dynamic_value/value_not_found.cpp
diegoarjz/selector
976abd0d9e721639e6314e2599ef7e6f3dafdc4f
[ "MIT" ]
null
null
null
#include "value_not_found.h" namespace pagoda { ValueNotFoundException::ValueNotFoundException(const std::string &valueName) : Exception("Value with name '" + valueName + "' not found in value table") { } } // namespace pagoda
23.3
79
0.733906
diegoarjz
57eb44abdeb263cef210716a830cab9a64e07624
2,451
cpp
C++
framework/scene_graph/components/orthographic_camera.cpp
NoreChair/Vulkan-Samples
30e0ef953f9492726945d2042400a3808c8408f5
[ "Apache-2.0" ]
2,842
2016-02-16T14:01:31.000Z
2022-03-30T19:10:32.000Z
framework/scene_graph/components/orthographic_camera.cpp
ZandroFargnoli/Vulkan-Samples
04278ed5f0f9847ae6897509eb56d7b21b4e8cde
[ "Apache-2.0" ]
316
2016-02-16T20:41:29.000Z
2022-03-29T02:20:32.000Z
framework/scene_graph/components/orthographic_camera.cpp
ZandroFargnoli/Vulkan-Samples
04278ed5f0f9847ae6897509eb56d7b21b4e8cde
[ "Apache-2.0" ]
504
2016-02-16T16:43:37.000Z
2022-03-31T20:24:35.000Z
/* Copyright (c) 2020, Arm Limited and Contributors * * SPDX-License-Identifier: Apache-2.0 * * 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/license...
22.281818
151
0.712362
NoreChair
57eb7f4b019dcbe6bcb29f2f86ddb9ebd1d408d9
7,893
cpp
C++
auxiliary/generate-blas3-solve-align1.cpp
bollig/viennacl
6dac70e558ed42abe63d8c5bfd08465aafeda859
[ "MIT" ]
1
2020-09-21T08:33:10.000Z
2020-09-21T08:33:10.000Z
auxiliary/generate-blas3-solve-align1.cpp
bollig/viennacl
6dac70e558ed42abe63d8c5bfd08465aafeda859
[ "MIT" ]
null
null
null
auxiliary/generate-blas3-solve-align1.cpp
bollig/viennacl
6dac70e558ed42abe63d8c5bfd08465aafeda859
[ "MIT" ]
null
null
null
/* * Generates BLAS level 3 routines for direct solve */ #include <iostream> #include <fstream> #include <sstream> #include <string> #include <iostream> #include <stdlib.h> //generate code for inplace_solve(op1(A), op2(B), tag) where A and B can have different storage layouts and opX(D) = D or trans(D) void printMat...
41.109375
133
0.592044
bollig
57ecb6efbd0f4dc142a301c4fb47a828d7f09729
569
cpp
C++
dayOfYear.cpp
jlokhande46/LeetcodeProblems
2023902e392e651f67cf226be1760f43111a3b55
[ "MIT" ]
null
null
null
dayOfYear.cpp
jlokhande46/LeetcodeProblems
2023902e392e651f67cf226be1760f43111a3b55
[ "MIT" ]
null
null
null
dayOfYear.cpp
jlokhande46/LeetcodeProblems
2023902e392e651f67cf226be1760f43111a3b55
[ "MIT" ]
null
null
null
iclass Solution: def dayOfYear(self, date: str) -> int: year=int(date[0:4]) month=int(date[5:7]) day=int(date[8:10]) dayOfYear=day # print(year,day,month) for i in range(month-1): if(i==1): if((year%4==0 and year%100!=0) or (year%400==0)): ...
28.45
65
0.427065
jlokhande46
57f1b76dc005b240d929f240073585fe1410f9e5
822
cpp
C++
Problem 4/main4.cpp
NickKaparinos/Project-Euler-Solutions
6dbb884a79b01e8b8712ffbb623bcc4d809d3f53
[ "MIT" ]
null
null
null
Problem 4/main4.cpp
NickKaparinos/Project-Euler-Solutions
6dbb884a79b01e8b8712ffbb623bcc4d809d3f53
[ "MIT" ]
null
null
null
Problem 4/main4.cpp
NickKaparinos/Project-Euler-Solutions
6dbb884a79b01e8b8712ffbb623bcc4d809d3f53
[ "MIT" ]
null
null
null
/* Project Euler Problem 4 Nick Kaparinos 2021 */ #include <iostream> #include <string> using namespace std; bool is_palindrome(int number) { string str = to_string(number); int num_iterations = str.size() / 2; for (int i = 0; i <= num_iterations; i++) { if (str[i] != str[str.size() - 1 - i]) { ...
18.681818
48
0.454988
NickKaparinos
57f3abd46a69814ddfdfd384134f2e86e414f8d1
1,373
cpp
C++
ui-qt/LearningDialog/Learning.cpp
qianyongjun123/FPGA-Industrial-Smart-Camera
54b3e2c2661cf7f6774a7fb4d6ae637fa73cba32
[ "MIT" ]
1
2017-12-28T08:08:02.000Z
2017-12-28T08:08:02.000Z
ui-qt/LearningDialog/Learning.cpp
qianyongjun123/FPGA-Industrial-Smart-Camera
54b3e2c2661cf7f6774a7fb4d6ae637fa73cba32
[ "MIT" ]
null
null
null
ui-qt/LearningDialog/Learning.cpp
qianyongjun123/FPGA-Industrial-Smart-Camera
54b3e2c2661cf7f6774a7fb4d6ae637fa73cba32
[ "MIT" ]
3
2017-12-28T08:08:05.000Z
2021-11-12T07:59:13.000Z
#include "Learning.h" #include "ui_Learning.h" #include <QSettings> #include <QDebug> #if _MSC_VER >= 1600 #pragma execution_character_set("utf-8") #endif Learning::Learning(QWidget *parent) : QDialog(parent), ui(new Ui::Learning) { ui->setupUi(this); this->move(272,520); this->setWindowFlags(Qt::W...
19.898551
72
0.648216
qianyongjun123
57f876e6f245324c90ff20460666832b75390b2e
427
cpp
C++
timus/1880.cpp
y-wan/OJ
5dea140dbaaec98e440ad4b1c10fa5072f1ceea7
[ "MIT" ]
null
null
null
timus/1880.cpp
y-wan/OJ
5dea140dbaaec98e440ad4b1c10fa5072f1ceea7
[ "MIT" ]
null
null
null
timus/1880.cpp
y-wan/OJ
5dea140dbaaec98e440ad4b1c10fa5072f1ceea7
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <map> using namespace std; map<int, int> dict; int main() { int a, tmp, kase = 0, res = 0; while (cin >> a) { kase++; for (int i = 0; i < a; i++) { cin >> tmp; if (!dict.count(tmp)) dict[tmp] = 1; else dict[tmp]++; } } for (map<int, int>::iterator it =...
18.565217
72
0.540984
y-wan
520605250313984057f9925718623df850d46c51
311
cpp
C++
ch0105/ch0105_07.cpp
sun1218/openjudge
07e44235fc6ac68bf8e8125577dcd008b08d59ec
[ "MIT" ]
null
null
null
ch0105/ch0105_07.cpp
sun1218/openjudge
07e44235fc6ac68bf8e8125577dcd008b08d59ec
[ "MIT" ]
null
null
null
ch0105/ch0105_07.cpp
sun1218/openjudge
07e44235fc6ac68bf8e8125577dcd008b08d59ec
[ "MIT" ]
1
2021-05-16T13:36:06.000Z
2021-05-16T13:36:06.000Z
#include <iostream> #include <cstdio> using namespace std; int main(void){ int n,x=0,y=0,z=0,c=0; scanf("%d",&n); for(int i = 0;i<n;i++){ int temp1,temp2,temp3; scanf("%d%d%d",&temp1,&temp2,&temp3); x += temp1; y += temp2; z += temp3; } c += (x+y+z); printf("%d %d %d %d",x,y,z,c); return 0; }
17.277778
39
0.546624
sun1218
5206522abfa144bbf6f920469aa768667566b9bc
4,006
hpp
C++
modules/dnn/src/cuda/functors.hpp
artun3e/opencv
524a2fffe96195b906a95b548b0a185d3251eb7e
[ "BSD-3-Clause" ]
4
2020-06-29T20:14:08.000Z
2020-12-12T20:04:25.000Z
modules/dnn/src/cuda/functors.hpp
artun3e/opencv
524a2fffe96195b906a95b548b0a185d3251eb7e
[ "BSD-3-Clause" ]
null
null
null
modules/dnn/src/cuda/functors.hpp
artun3e/opencv
524a2fffe96195b906a95b548b0a185d3251eb7e
[ "BSD-3-Clause" ]
1
2022-01-19T15:08:40.000Z
2022-01-19T15:08:40.000Z
// This file is part of OpenCV project. // It is subject to the license terms in the LICENSE file found in the top-level directory // of this distribution and at http://opencv.org/license.html. #ifndef OPENCV_DNN_SRC_CUDA_FUNCTORS_HPP #define OPENCV_DNN_SRC_CUDA_FUNCTORS_HPP #include <cuda_runtime.h> #include "math....
24.278788
102
0.629056
artun3e
52093ff0013f1a3c41a541c5edcf5e3dfc562a3b
11,016
hpp
C++
Lib-Core/include/skipifzero_pool.hpp
PetorSFZ/sfz_tech
0d4027ad2c2bb444b83e78f009b649478cb97a73
[ "Zlib" ]
2
2020-09-04T16:52:47.000Z
2021-04-21T18:30:25.000Z
Lib-Core/include/skipifzero_pool.hpp
PetorSFZ/sfz_tech
0d4027ad2c2bb444b83e78f009b649478cb97a73
[ "Zlib" ]
null
null
null
Lib-Core/include/skipifzero_pool.hpp
PetorSFZ/sfz_tech
0d4027ad2c2bb444b83e78f009b649478cb97a73
[ "Zlib" ]
null
null
null
// Copyright (c) Peter Hillerström (skipifzero.com, peter@hstroem.se) // // This software is provided 'as-is', without any express or implied // warranty. In no event will the authors be held liable for any damages // arising from the use of this software. // // Permission is granted to anyone to use this software for ...
36.842809
112
0.662763
PetorSFZ
5209f798b0fdddaf2e99a1830c64686aeb7cab41
1,278
hpp
C++
android-31/android/widget/FrameLayout.hpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
12
2020-03-26T02:38:56.000Z
2022-03-14T08:17:26.000Z
android-31/android/widget/FrameLayout.hpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
1
2021-01-27T06:07:45.000Z
2021-11-13T19:19:43.000Z
android-29/android/widget/FrameLayout.hpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
3
2021-02-02T12:34:55.000Z
2022-03-08T07:45:57.000Z
#pragma once #include "../view/ViewGroup.hpp" namespace android::content { class Context; } namespace android::view { class ViewGroup_LayoutParams; } namespace android::widget { class FrameLayout_LayoutParams; } class JString; namespace android::widget { class FrameLayout : public android::view::ViewGroup { pu...
27.191489
169
0.758216
YJBeetle
520a20b05947e2ceb5ade199cb60f9b86fe1dd4a
277
hpp
C++
include/RED4ext/Scripting/Natives/Generated/quest/VisionModeType.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
42
2020-12-25T08:33:00.000Z
2022-03-22T14:47:07.000Z
include/RED4ext/Scripting/Natives/Generated/quest/VisionModeType.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
38
2020-12-28T22:36:06.000Z
2022-02-16T11:25:47.000Z
include/RED4ext/Scripting/Natives/Generated/quest/VisionModeType.hpp
jackhumbert/RED4ext.SDK
2c55eccb83beabbbe02abae7945af8efce638fca
[ "MIT" ]
20
2020-12-28T22:17:38.000Z
2022-03-22T17:19:01.000Z
#pragma once // This file is generated from the Game's Reflection data #include <cstdint> namespace RED4ext { namespace quest { enum class VisionModeType : uint32_t { Undefined = 0, FocusMode = 1, EnhancedMode = 2, }; } // namespace quest } // namespace RED4ext
16.294118
57
0.696751
jackhumbert
520a7d315c017eb83cd8c8537513b82b64f44da7
277
cpp
C++
Source/Client/Main.cpp
chahoseong/TinyHippo
7153849337944f0459dfd24551f28e417314e2de
[ "Unlicense" ]
1
2019-09-10T06:32:07.000Z
2019-09-10T06:32:07.000Z
Source/Client/Main.cpp
chahoseong/TinyHippo
7153849337944f0459dfd24551f28e417314e2de
[ "Unlicense" ]
null
null
null
Source/Client/Main.cpp
chahoseong/TinyHippo
7153849337944f0459dfd24551f28e417314e2de
[ "Unlicense" ]
null
null
null
#include "stdafx.h" #include "Engine/GameMain.h" int APIENTRY wWinMain(_In_ HINSTANCE hInstance, _In_opt_ HINSTANCE hPrevInstance, _In_ LPWSTR lpCmdLine, _In_ int nCmdShow) { return TinyHippo::GameMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow); }
27.7
75
0.732852
chahoseong
648c4345060f1628043a76e0230041d398586b45
1,388
cp
C++
validation/default/golomb4-salldiff-reverse.cp
kad15/SandBoxToulbar2
31430ec5e6c6cec1eabe6f5d04bfb8134777821c
[ "MIT" ]
33
2018-08-16T18:14:35.000Z
2022-03-14T10:26:18.000Z
validation/default/golomb4-salldiff-reverse.cp
kad15/SandBoxToulbar2
31430ec5e6c6cec1eabe6f5d04bfb8134777821c
[ "MIT" ]
13
2018-08-09T06:53:08.000Z
2022-03-28T10:26:24.000Z
validation/default/golomb4-salldiff-reverse.cp
kad15/SandBoxToulbar2
31430ec5e6c6cec1eabe6f5d04bfb8134777821c
[ "MIT" ]
12
2018-06-06T15:19:46.000Z
2022-02-11T17:09:27.000Z
# problem name and initial upper bound GOLOMB_4_ALLDIFF_REVERSE 9 # variables for marks g4 0 1 2 3 4 5 6 7 8 g3 0 1 2 3 4 5 6 7 8 g2 0 1 2 3 4 5 6 7 8 g1 0 1 2 3 4 5 6 7 8 # variables for mark differences d3_4 0 1 2 3 4 5 6 7 8 d2_4 0 1 2 3 4 5 6 7 8 d2_3 0 1 2 3 4 5 6 7 8 d1_4 0 1 2 3 4 5 6 7 8 d1_3 0 1 2 3 4 5 6 7 ...
22.754098
61
0.680115
kad15
648e5e816650f95b804c9b0220db80da664770ce
1,891
cc
C++
examples/pulse_compression.cc
ShaneFlandermeyer/plasma-dsp
50d969f3873052a582e2b17745c469a8d22f0fe1
[ "MIT" ]
null
null
null
examples/pulse_compression.cc
ShaneFlandermeyer/plasma-dsp
50d969f3873052a582e2b17745c469a8d22f0fe1
[ "MIT" ]
7
2022-01-12T19:04:37.000Z
2022-01-16T15:07:41.000Z
examples/pulse_compression.cc
ShaneFlandermeyer/plasma-dsp
50d969f3873052a582e2b17745c469a8d22f0fe1
[ "MIT" ]
null
null
null
#include "linear_fm_waveform.h" #include "pulse_doppler.h" #include <matplot/matplot.h> using namespace matplot; using namespace plasma; using namespace Eigen; int main() { // Waveform parameter double B = 50e6; double fs = 4 * B; double ts = 1 / fs; double Tp = 5e-6; double prf = 20e3; LinearFMWaveform...
30.5
79
0.659439
ShaneFlandermeyer
648ec7580476982f69f82de1f20af95c502a408a
2,694
cpp
C++
tests/Bootstrap.Tests/tests/TimerServiceTests.cpp
samcragg/Autocrat
179e0b42ddd3ecbf75467e479cd8f2f6c67c82ec
[ "MIT" ]
null
null
null
tests/Bootstrap.Tests/tests/TimerServiceTests.cpp
samcragg/Autocrat
179e0b42ddd3ecbf75467e479cd8f2f6c67c82ec
[ "MIT" ]
2
2020-09-30T07:09:46.000Z
2021-01-03T20:01:02.000Z
tests/Bootstrap.Tests/tests/TimerServiceTests.cpp
samcragg/Autocrat
179e0b42ddd3ecbf75467e479cd8f2f6c67c82ec
[ "MIT" ]
null
null
null
#include "timer_service.h" #include <chrono> #include <gtest/gtest.h> #include <cpp_mock.h> #include "TestMocks.h" #include "pal.h" #include "pal_mock.h" using namespace std::chrono_literals; class MockPalService : public pal_service { public: MockMethod(std::chrono::microseconds, current_time, ()) }; namespace...
24.490909
106
0.703786
samcragg
648fd358cf12d13190a4d20eef10d8f38195a472
3,976
cpp
C++
common/OrderListImpl.cpp
caozhiyi/Hudp
85108e675d90985666d1d2a8f364015a467ae72f
[ "BSD-3-Clause" ]
57
2019-07-26T06:26:47.000Z
2022-03-22T13:12:12.000Z
common/OrderListImpl.cpp
caozhiyi/Hudp
85108e675d90985666d1d2a8f364015a467ae72f
[ "BSD-3-Clause" ]
1
2019-12-09T11:16:06.000Z
2020-04-09T12:22:23.000Z
common/OrderListImpl.cpp
caozhiyi/Hudp
85108e675d90985666d1d2a8f364015a467ae72f
[ "BSD-3-Clause" ]
20
2019-08-21T08:26:14.000Z
2021-11-21T09:58:48.000Z
#include <cstring> //for memset #include "IMsg.h" #include "ISocket.h" #include "HudpImpl.h" #include "HudpConfig.h" #include "OrderListImpl.h" using namespace hudp; CRecvList::CRecvList() : _discard_msg_count(0){ } CRecvList::~CRecvList() { } uint16_t CRecvList::HashFunc(uint16_t id) { return id ...
24.243902
90
0.56841
caozhiyi
649889497cf1f508fe74922469d0424f7a6199c6
13,705
cpp
C++
src/elona/lua_env/lua_api/lua_api_map.cpp
XrosFade/ElonaFoobar
c33880080e0b475103ae3ea7d546335f9d4abd02
[ "MIT" ]
null
null
null
src/elona/lua_env/lua_api/lua_api_map.cpp
XrosFade/ElonaFoobar
c33880080e0b475103ae3ea7d546335f9d4abd02
[ "MIT" ]
null
null
null
src/elona/lua_env/lua_api/lua_api_map.cpp
XrosFade/ElonaFoobar
c33880080e0b475103ae3ea7d546335f9d4abd02
[ "MIT" ]
1
2020-02-24T18:52:19.000Z
2020-02-24T18:52:19.000Z
#include "lua_api_map.hpp" #include "../../area.hpp" #include "../../character.hpp" #include "../../data/types/type_map.hpp" #include "../../lua_env/enums/enums.hpp" #include "../../map.hpp" #include "../../map_cell.hpp" #include "../../mapgen.hpp" #include "../interface.hpp" namespace elona { namespace lua { /** * ...
23.507719
80
0.664137
XrosFade
6499afc7c0372b645f794f58c71b664d3f81e93c
1,022
cpp
C++
src/lug/System/Exception.cpp
Lugdunum3D/Lugdunum3D
b6d6907d034fdba1ffc278b96598eba1d860f0d4
[ "MIT" ]
275
2016-10-08T15:33:17.000Z
2022-03-30T06:11:56.000Z
src/lug/System/Exception.cpp
Lugdunum3D/Lugdunum3D
b6d6907d034fdba1ffc278b96598eba1d860f0d4
[ "MIT" ]
24
2016-09-29T20:51:20.000Z
2018-05-09T21:41:36.000Z
src/lug/System/Exception.cpp
Lugdunum3D/Lugdunum3D
b6d6907d034fdba1ffc278b96598eba1d860f0d4
[ "MIT" ]
37
2017-02-25T05:03:48.000Z
2021-05-10T19:06:29.000Z
#include <lug/System/Exception.hpp> #include <sstream> lug::System::Exception::Exception(const char* typeName, const std::string& description, const char* file, const char* function, uint32_t line) : _typeName{typeName}, _description{description}, _file{file}, _function{function}, _line{line} {} const std::string...
27.621622
142
0.67319
Lugdunum3D
649d5fb9befe93d9df8863af6f5f77568dc3baec
11,273
cpp
C++
src/vbk/test/unit/pop_service_tests.cpp
xagau/vbk-ri-btc
9907b6ec54894c01e1f6dcfd80764f08ac84743a
[ "MIT" ]
1
2020-04-20T15:20:23.000Z
2020-04-20T15:20:23.000Z
src/vbk/test/unit/pop_service_tests.cpp
xagau/vbk-ri-btc
9907b6ec54894c01e1f6dcfd80764f08ac84743a
[ "MIT" ]
null
null
null
src/vbk/test/unit/pop_service_tests.cpp
xagau/vbk-ri-btc
9907b6ec54894c01e1f6dcfd80764f08ac84743a
[ "MIT" ]
null
null
null
#include <boost/test/unit_test.hpp> #include <consensus/validation.h> #include <shutdown.h> #include <test/util/setup_common.h> #include <validation.h> #include <vbk/config.hpp> #include <vbk/init.hpp> #include <vbk/pop_service.hpp> #include <vbk/pop_service/pop_service_impl.hpp> #include <vbk/service_locator.hpp> #in...
41.142336
148
0.710104
xagau
64abd26a4d2f35082486a3c26843733f29e118d9
75,963
cpp
C++
lib/crunch/crnlib/crn_comp.cpp
Wizermil/unordered_map
4d60bf16384b7ea9db1d43d8b15313f8752490ee
[ "MIT" ]
null
null
null
lib/crunch/crnlib/crn_comp.cpp
Wizermil/unordered_map
4d60bf16384b7ea9db1d43d8b15313f8752490ee
[ "MIT" ]
null
null
null
lib/crunch/crnlib/crn_comp.cpp
Wizermil/unordered_map
4d60bf16384b7ea9db1d43d8b15313f8752490ee
[ "MIT" ]
null
null
null
// File: crn_comp.cpp // This software is in the public domain. Please see license.txt. #include "crn_core.h" #include "crn_console.h" #include "crn_comp.h" #include "crn_zeng.h" #include "crn_checksum.h" #define CRNLIB_CREATE_DEBUG_IMAGES 0 #define CRNLIB_ENABLE_DEBUG_MESSAGES 0 namespace crnlib { st...
34.861404
254
0.606874
Wizermil
64b9802d6088f22721eb36a90d0fc693e318718a
10,219
cpp
C++
code/wxWidgets/src/mac/carbon/dcclient.cpp
Bloodknight/NeuTorsion
a5890e9ca145a8c1b6bec7b70047a43d9b1c29ea
[ "MIT" ]
38
2016-02-20T02:46:28.000Z
2021-11-17T11:39:57.000Z
code/wxWidgets/src/mac/carbon/dcclient.cpp
Dwarf-King/TorsionEditor
e6887d1661ebaf4ccbf1d09f2690e2bf805fbb50
[ "MIT" ]
17
2016-02-20T02:19:55.000Z
2021-02-08T15:15:17.000Z
code/wxWidgets/src/mac/carbon/dcclient.cpp
Dwarf-King/TorsionEditor
e6887d1661ebaf4ccbf1d09f2690e2bf805fbb50
[ "MIT" ]
46
2016-02-20T02:47:33.000Z
2021-01-31T15:46:05.000Z
///////////////////////////////////////////////////////////////////////////// // Name: dcclient.cpp // Purpose: wxClientDC class // Author: Stefan Csomor // Modified by: // Created: 01/02/97 // RCS-ID: $Id: dcclient.cpp,v 1.38 2005/05/10 06:28:21 SC Exp $ // Copyright: (c) Stefan Csomor // Li...
32.236593
152
0.608279
Bloodknight
64ba2650b392bb85157bc79c84bdfc4d6271d775
924
cpp
C++
online_judges/ac/513B1.cpp
miaortizma/competitive-programming
ea5adfc07e49935acfc0697eeb0a12c7dc6cd8cc
[ "MIT" ]
2
2018-02-20T14:44:57.000Z
2018-02-20T14:45:03.000Z
online_judges/ac/513B1.cpp
miaortizma/competitive-programming
ea5adfc07e49935acfc0697eeb0a12c7dc6cd8cc
[ "MIT" ]
null
null
null
online_judges/ac/513B1.cpp
miaortizma/competitive-programming
ea5adfc07e49935acfc0697eeb0a12c7dc6cd8cc
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; #define ll long long #define pb push_back #ifdef PAPITAS #define DEBUG 1 #else #define DEBUG 0 #endif #define _DO_(x) if(DEBUG) x int check(vector<int> v, int tetra){ int n = v.size(); int ans = 0; for(int i = 0; i < n; i++){ int temp = v[i]; for(int j = i; j < n...
16.210526
43
0.514069
miaortizma
64ba8d65849c855dda320dd863706df83ed9ea3b
5,263
cpp
C++
test/test_no_self_trade.cpp
liutongwei/ft
c75c1ea6b4e53128248113f9810b997d2f7ff236
[ "MIT" ]
null
null
null
test/test_no_self_trade.cpp
liutongwei/ft
c75c1ea6b4e53128248113f9810b997d2f7ff236
[ "MIT" ]
null
null
null
test/test_no_self_trade.cpp
liutongwei/ft
c75c1ea6b4e53128248113f9810b997d2f7ff236
[ "MIT" ]
null
null
null
// Copyright [2020] <Copyright Kevin, kevin.lau.gd@gmail.com> #include <gtest/gtest.h> #include "trader/risk_management/common/no_self_trade.h" static uint64_t order_id = 1; void GenLO(ft::Order* order, ft::Direction direction, ft::Offset offset, double price) { order->req.direction = direction; order->req.offs...
38.137681
88
0.714801
liutongwei
64bf749522e131dda2ce01b960f8814b85de976f
2,798
cpp
C++
2DGame/terrainImpactSystem.cpp
Cimera42/2DGame
9135e3dbed8a909357d57e227ecaba885982e8dc
[ "MIT" ]
3
2015-08-18T12:59:29.000Z
2015-12-15T08:11:10.000Z
2DGame/terrainImpactSystem.cpp
Cimera42/2DGame
9135e3dbed8a909357d57e227ecaba885982e8dc
[ "MIT" ]
null
null
null
2DGame/terrainImpactSystem.cpp
Cimera42/2DGame
9135e3dbed8a909357d57e227ecaba885982e8dc
[ "MIT" ]
null
null
null
#include "terrainImpactSystem.h" #include "globals.h" #include "colliderComponent.h" #include "worldComponent.h" #include "physicsComponent.h" #include "terrainComponent.h" #include "logger.h" //Unique system ID SystemID TerrainImpactSystem::ID; TerrainImpactSystem::TerrainImpactSystem() { std::v...
46.633333
141
0.657255
Cimera42
64c2482c1c040909cefae9c1de19c0349f2e8f03
496
cpp
C++
01-operadores-aritmeticos/17_conversion_de_modeda.cpp
gemboedu/ejercicios-basicos-c-
648e2abe4c8e7f51bbfb1d21032eeeee3f5b9343
[ "MIT" ]
1
2021-12-03T03:37:04.000Z
2021-12-03T03:37:04.000Z
01-operadores-aritmeticos/17_conversion_de_modeda.cpp
gemboedu/ejercicios-basicos-c-
648e2abe4c8e7f51bbfb1d21032eeeee3f5b9343
[ "MIT" ]
null
null
null
01-operadores-aritmeticos/17_conversion_de_modeda.cpp
gemboedu/ejercicios-basicos-c-
648e2abe4c8e7f51bbfb1d21032eeeee3f5b9343
[ "MIT" ]
null
null
null
/* 17. Juana viajará a EEUU y luego a Europa, por tanto, requiere un programa que convierta x cantidad de Bs a dólares y a euros. $1 = Bs. 6.90 1 euro = Bs. 7.79 */ #include <iostream> using namespace std; int main() { float bolivianos, dolares, euros; cout << "Ingrese la moneda boliviana: "; cin >> bolivi...
26.105263
126
0.625
gemboedu
64c297186805285fdf248cc03771da2730d288f2
764
hpp
C++
Source/Console/ConsoleFrame.hpp
gunstarpl/Game-Engine-12-2013
bfc53f5c998311c17e97c1b4d65792d615c51d36
[ "MIT", "Unlicense" ]
6
2017-12-31T17:28:40.000Z
2021-12-04T06:11:34.000Z
Source/Console/ConsoleFrame.hpp
gunstarpl/Game-Engine-12-2013
bfc53f5c998311c17e97c1b4d65792d615c51d36
[ "MIT", "Unlicense" ]
null
null
null
Source/Console/ConsoleFrame.hpp
gunstarpl/Game-Engine-12-2013
bfc53f5c998311c17e97c1b4d65792d615c51d36
[ "MIT", "Unlicense" ]
null
null
null
#pragma once #include "Precompiled.hpp" #include "Graphics/Font.hpp" // // Console Frame // Displays and lets user interact with the console system. // class ConsoleFrame { public: ConsoleFrame(); ~ConsoleFrame(); bool Initialize(); void Cleanup(); void Open(); void Close(); bool Pro...
14.980392
64
0.636126
gunstarpl
64c444ea6f51e4df3c08916ff98b277fc179396f
1,489
hpp
C++
addons/CBRN_units/units/NATO/unarmed.hpp
ASO-TheM/ChemicalWarfare
51322934ef1da7ba0f3bb04c1d537767d8e48cc4
[ "MIT" ]
null
null
null
addons/CBRN_units/units/NATO/unarmed.hpp
ASO-TheM/ChemicalWarfare
51322934ef1da7ba0f3bb04c1d537767d8e48cc4
[ "MIT" ]
null
null
null
addons/CBRN_units/units/NATO/unarmed.hpp
ASO-TheM/ChemicalWarfare
51322934ef1da7ba0f3bb04c1d537767d8e48cc4
[ "MIT" ]
null
null
null
class B_Soldier_unarmed_F; class B_CBRN_Unarmed: B_Soldier_unarmed_F { scope = 1; editorSubcategory = "CBRN"; //editorPreview = "\bonusUnits_CSF\editorPreviews\O_CSF_Unarmed.jpg"; author = "Assaultboy"; hiddenSelections[] = {"camo"}; hiddenSelectionsTextures[] = {"\skn_nbc_units\data_m50\NBC_M50_Uniform_CO.pa...
22.560606
83
0.723976
ASO-TheM
64c47577cd6e7377f1e1989c5ee8c523428a64af
3,032
cpp
C++
EasyFramework3d/managed/al/SoundManager.cpp
sizilium/FlexChess
f12b94e800ddcb00535067eca3b560519c9122e0
[ "MIT" ]
null
null
null
EasyFramework3d/managed/al/SoundManager.cpp
sizilium/FlexChess
f12b94e800ddcb00535067eca3b560519c9122e0
[ "MIT" ]
null
null
null
EasyFramework3d/managed/al/SoundManager.cpp
sizilium/FlexChess
f12b94e800ddcb00535067eca3b560519c9122e0
[ "MIT" ]
null
null
null
#include <vs/managed/al/SoundManager.h> #include <vs/managed/al/AlException.h> #include <vs/base/interfaces/AbstractManaged.h> #include <vs/base/util/IOStream.h> namespace vs { namespace managed { namespace al { using namespace base::interfaces; using namespace base::util; SoundManager::SoundManager() { int error; ...
19.069182
75
0.66128
sizilium
64c4c68adb0be5c06237e11d15fecfbbccff5595
1,814
cpp
C++
CPP/OJ problems/Graph Without Long Directed Paths.cpp
kratikasinghal/OJ-problems
fc5365cb4db9da780779e9912aeb2a751fe4517c
[ "MIT" ]
null
null
null
CPP/OJ problems/Graph Without Long Directed Paths.cpp
kratikasinghal/OJ-problems
fc5365cb4db9da780779e9912aeb2a751fe4517c
[ "MIT" ]
null
null
null
CPP/OJ problems/Graph Without Long Directed Paths.cpp
kratikasinghal/OJ-problems
fc5365cb4db9da780779e9912aeb2a751fe4517c
[ "MIT" ]
null
null
null
// Problem: F. Graph Without Long Directed Paths // Contest: Codeforces - Codeforces Round #550 (Div. 3) // URL: https://codeforces.com/contest/1144/problem/F // Memory Limit: 256 MB // Time Limit: 2000 ms // Powered by CP Editor (https://github.com/cpeditor/cpeditor) #include <bits/stdc++.h> #define F first #define ...
17.960396
62
0.492282
kratikasinghal