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
2a04f476927a2787f725f277f6e2177e7981b46d
772
hpp
C++
include/networking/Event.hpp
icebreakersentertainment/ice_engine
52a8313bc266c053366bdf554b5dc27a54ddcb25
[ "MIT" ]
null
null
null
include/networking/Event.hpp
icebreakersentertainment/ice_engine
52a8313bc266c053366bdf554b5dc27a54ddcb25
[ "MIT" ]
null
null
null
include/networking/Event.hpp
icebreakersentertainment/ice_engine
52a8313bc266c053366bdf554b5dc27a54ddcb25
[ "MIT" ]
1
2019-06-11T03:41:48.000Z
2019-06-11T03:41:48.000Z
#ifndef NETWORK_EVENT_H_ #define NETWORK_EVENT_H_ #include <vector> #include "Types.hpp" #include "ClientHandle.hpp" #include "ServerHandle.hpp" #include "RemoteConnectionHandle.hpp" namespace ice_engine { namespace networking { enum EventType { UNKNOWN = 0, SERVERDISCONNECT, CLIENTDISCONNECT, SERVERCONNEC...
13.310345
47
0.774611
icebreakersentertainment
2a05993080fc16187d08ec6cef2e7ff66e2d0ac3
4,031
cpp
C++
test/test_client.cpp
lichuan/fly
7927f819f74997314fb526c5d8ab4d88ea593b91
[ "Apache-2.0" ]
60
2015-06-23T12:36:33.000Z
2022-03-09T01:27:14.000Z
test/test_client.cpp
lichuan/fly
7927f819f74997314fb526c5d8ab4d88ea593b91
[ "Apache-2.0" ]
1
2021-12-21T11:23:04.000Z
2021-12-21T11:23:04.000Z
test/test_client.cpp
lichuan/fly
7927f819f74997314fb526c5d8ab4d88ea593b91
[ "Apache-2.0" ]
30
2015-08-03T07:22:04.000Z
2022-01-13T08:49:48.000Z
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * _______ _ * * ( ____ \ ( \ |\ /| * * | ( \/ | ( ( \ / ) * * | (__ ...
41.556701
132
0.354999
lichuan
2a0e0b31f8896732621146f8c97e7bdbbad7ea87
5,637
hpp
C++
nvidia_flex/common/helpers.hpp
bluekyu/rpcpp_samples
dab4d21229e9793434d727b2ed8e4c5088c17218
[ "MIT" ]
4
2018-09-15T20:30:38.000Z
2022-02-13T19:41:00.000Z
nvidia_flex/common/helpers.hpp
bluekyu/rpcpp_samples
dab4d21229e9793434d727b2ed8e4c5088c17218
[ "MIT" ]
4
2017-09-05T15:18:40.000Z
2018-08-27T01:15:46.000Z
nvidia_flex/common/helpers.hpp
bluekyu/rpcpp_samples
dab4d21229e9793434d727b2ed8e4c5088c17218
[ "MIT" ]
null
null
null
// This code contains NVIDIA Confidential Information and is disclosed to you // under a form of NVIDIA software license agreement provided separately to you. // // Notice // NVIDIA Corporation and its licensors retain all intellectual property and // proprietary rights in and to this software and related documentation...
35.904459
120
0.659038
bluekyu
2a0f6d0725d97dc1332a8ce9872eb32a43402f73
33,384
cpp
C++
lipton-tarjan.cpp
jeffythedragonslayer/lipton-tarjan
d6f43395ca9d5a459c61cd55ccac6ed6295bc1dd
[ "BSL-1.0" ]
8
2017-05-20T11:20:39.000Z
2020-11-10T15:50:33.000Z
lipton-tarjan.cpp
jeffythedragonslayer/lipton-tarjan
d6f43395ca9d5a459c61cd55ccac6ed6295bc1dd
[ "BSL-1.0" ]
14
2017-12-02T06:35:48.000Z
2020-04-12T19:58:56.000Z
lipton-tarjan.cpp
jeffythedragonslayer/lipton-tarjan
d6f43395ca9d5a459c61cd55ccac6ed6295bc1dd
[ "BSL-1.0" ]
3
2017-04-19T16:37:32.000Z
2022-03-19T04:29:33.000Z
//======================================================================= // Copyright 2015 - 2020 Jeff Linahan // // Distributed under the Boost Software License, Version 1.0. (See // accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) //===============================================...
49.311669
224
0.603672
jeffythedragonslayer
2a11bad50ddeed1c4d00966be02e838f549793ce
9,417
cpp
C++
Meteorites.Tests/GoldSolverTests.cpp
m-krivov/MeteoriteSimulator
a60cdef30ffff0bfab11ee8db799b41b3cdee452
[ "MIT" ]
null
null
null
Meteorites.Tests/GoldSolverTests.cpp
m-krivov/MeteoriteSimulator
a60cdef30ffff0bfab11ee8db799b41b3cdee452
[ "MIT" ]
null
null
null
Meteorites.Tests/GoldSolverTests.cpp
m-krivov/MeteoriteSimulator
a60cdef30ffff0bfab11ee8db799b41b3cdee452
[ "MIT" ]
null
null
null
#include "TestDefs.h" #include "Meteorites.CpuSolvers/GoldSolver.h" TEST_CLASS(GoldSolverTests) { public: TEST_METHOD(Vacuum_VerticalSpeed) { GoldSolver solver(GoldSolver::ONE_STEP_ADAMS); solver.Configure(dt_sim, 3600.0f); Case problem(1.0f, 0.0f, 2000.0f, 0.0f, 0.0f, 1....
35.007435
92
0.520442
m-krivov
2a135182bcd849349aba93fed5d88b57833f0d87
21,399
cpp
C++
src/core/graph/internal/GraphInternal.cpp
alexbatashev/athena
eafbb1e16ed0b273a63a20128ebd4882829aa2db
[ "MIT" ]
2
2020-07-16T06:42:27.000Z
2020-07-16T06:42:28.000Z
src/core/graph/internal/GraphInternal.cpp
PolarAI/polarai-framework
c5fd886732afe787a06ebf6fb05fc38069257457
[ "MIT" ]
null
null
null
src/core/graph/internal/GraphInternal.cpp
PolarAI/polarai-framework
c5fd886732afe787a06ebf6fb05fc38069257457
[ "MIT" ]
null
null
null
//===----------------------------------------------------------------------===// // Copyright (c) 2020 PolarAI. All rights reserved. // // Licensed under MIT license. // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, WITHOUT //...
44.030864
196
0.672415
alexbatashev
2a1618ac5fa12b27203eae430a3b0626a1072042
14,232
cpp
C++
data/frameProcessor/src/HexitecThresholdPlugin.cpp
stfc-aeg/hexitec-detector
c535cd212b39a809990fbec91bf503723f6ad787
[ "Apache-2.0" ]
1
2020-10-22T07:50:41.000Z
2020-10-22T07:50:41.000Z
data/frameProcessor/src/HexitecThresholdPlugin.cpp
stfc-aeg/hexitec-detector
c535cd212b39a809990fbec91bf503723f6ad787
[ "Apache-2.0" ]
68
2020-10-19T08:16:02.000Z
2022-03-12T00:55:16.000Z
data/frameProcessor/src/HexitecThresholdPlugin.cpp
stfc-aeg/hexitec-detector
c535cd212b39a809990fbec91bf503723f6ad787
[ "Apache-2.0" ]
null
null
null
/* * HexitecThresholdPlugin.cpp * * Created on: 11 Jul 2018 * Author: Christian Angelsen */ #include <HexitecThresholdPlugin.h> #include "version.h" namespace FrameProcessor { const std::string HexitecThresholdPlugin::CONFIG_THRESHOLD_MODE = "threshold_mode"; const std::string HexitecThr...
32.944444
105
0.649592
stfc-aeg
2a1a7e7a18142c1ee49b0eebc9c9a2ee771762d3
490
cpp
C++
src/1663/1663-Smallest-String-With-A-Given-Numeric-Value-UnitTest.cpp
coldnew/leetcode-solutions
3bc7943f8341397840ecd34aefc5af6e52b09b4e
[ "Unlicense" ]
2
2022-03-10T17:06:18.000Z
2022-03-11T08:52:00.000Z
src/1663/1663-Smallest-String-With-A-Given-Numeric-Value-UnitTest.cpp
coldnew/leetcode-solutions
3bc7943f8341397840ecd34aefc5af6e52b09b4e
[ "Unlicense" ]
null
null
null
src/1663/1663-Smallest-String-With-A-Given-Numeric-Value-UnitTest.cpp
coldnew/leetcode-solutions
3bc7943f8341397840ecd34aefc5af6e52b09b4e
[ "Unlicense" ]
null
null
null
#include <gtest/gtest.h> #include "1663-Smallest-String-With-A-Given-Numeric-Value.cpp" #define LEETCODE_TEST(SolutionX) \ TEST(SmallestStringWithAGivenNumericValueTest, SolutionX) { \ SolutionX s; \ EXPECT_EQ("aay", s.getSmallestStri...
32.666667
63
0.597959
coldnew
2a1af715d88b1579c055abb7b170f46cd05b265d
893
cpp
C++
src/WebSocketProto/WebSocketProto.cpp
yottaawesome/bits-test
3ce1d08b0f86161b11d50e50f04170c624c27bcd
[ "MIT" ]
1
2020-11-29T19:06:20.000Z
2020-11-29T19:06:20.000Z
src/WebSocketProto/WebSocketProto.cpp
yottaawesome/bits-test
3ce1d08b0f86161b11d50e50f04170c624c27bcd
[ "MIT" ]
1
2020-12-12T21:35:45.000Z
2020-12-12T21:35:45.000Z
src/WebSocketProto/WebSocketProto.cpp
yottaawesome/bits-test
3ce1d08b0f86161b11d50e50f04170c624c27bcd
[ "MIT" ]
null
null
null
#define _SILENCE_ALL_CXX20_DEPRECATION_WARNINGS 1 #include <vector> #include <Windows.h> #include "WinHttp.hpp" #include "testmessage.pb.h" #pragma comment(lib, "winhttp.lib") int main(int argc, char** args) { TestMessage ts; ts.set_sometext("poop"); WinHttp::WinHttpWebSocket ws(L"https://127.0.0.1", 51...
24.135135
68
0.655095
yottaawesome
2a1d93449690fe46cc10bdc1c70c04897ee65cd5
351
hpp
C++
include/Client/Vector.hpp
semper24/R-Type
b91184d656ffcec39b0a43e7a42c1a1ecd236c9b
[ "MIT" ]
null
null
null
include/Client/Vector.hpp
semper24/R-Type
b91184d656ffcec39b0a43e7a42c1a1ecd236c9b
[ "MIT" ]
null
null
null
include/Client/Vector.hpp
semper24/R-Type
b91184d656ffcec39b0a43e7a42c1a1ecd236c9b
[ "MIT" ]
null
null
null
/* ** EPITECH PROJECT, 2019 ** OOP_arcade_2019 ** File description: ** Vector.hpp */ #ifndef _VECTOR_HPP_ # define _VECTOR_HPP_ struct posVector { posVector() = default; posVector(const posVector& other) = default; posVector& operator=(const posVector& other) = default; ~posVector() = default; fl...
15.954545
59
0.669516
semper24
2a204353dfa4eebda8b2d6a97be2c9cffc287f6f
1,331
cpp
C++
linux/Chess/Player.cpp
bricsi0000000000000/Chess
f1d93153bc7d2f25a117cdc81c69ac23b6407f87
[ "MIT" ]
null
null
null
linux/Chess/Player.cpp
bricsi0000000000000/Chess
f1d93153bc7d2f25a117cdc81c69ac23b6407f87
[ "MIT" ]
null
null
null
linux/Chess/Player.cpp
bricsi0000000000000/Chess
f1d93153bc7d2f25a117cdc81c69ac23b6407f87
[ "MIT" ]
null
null
null
#include "Player.h" Player::Player(std::string name, Color color, bool is_bot) : name(name), points(0), color(color), is_bot(is_bot) {} std::string Player::GetName() { return name; } int Player::GetPoints() { return points; } void Player::AddPoints(int point) { points += point; } Color Player::GetColor() { ...
19.573529
131
0.676935
bricsi0000000000000
2a20c70f99f9eb70be02ee9758619655be7e7d70
14,820
cpp
C++
sources/Engine/Modules/Graphics/OpenGL/GLGraphicsContext.cpp
n-paukov/swengine
ca7441f238e8834efff5d2b61b079627824bf3e4
[ "MIT" ]
22
2017-07-26T17:42:56.000Z
2022-03-21T22:12:52.000Z
sources/Engine/Modules/Graphics/OpenGL/GLGraphicsContext.cpp
n-paukov/swengine
ca7441f238e8834efff5d2b61b079627824bf3e4
[ "MIT" ]
50
2017-08-02T19:37:48.000Z
2020-07-24T21:10:38.000Z
sources/Engine/Modules/Graphics/OpenGL/GLGraphicsContext.cpp
n-paukov/swengine
ca7441f238e8834efff5d2b61b079627824bf3e4
[ "MIT" ]
4
2018-08-20T08:12:48.000Z
2020-07-19T14:10:05.000Z
#include "precompiled.h" #pragma hdrstop #include "GLGraphicsContext.h" #include <spdlog/spdlog.h> #include "Modules/Graphics/GraphicsSystem/FrameStats.h" #include "Exceptions/exceptions.h" #include "options.h" GLGraphicsContext::GLGraphicsContext(SDL_Window* window) : m_window(window) { spdlog::info("Creating...
28.33652
120
0.741768
n-paukov
2a24a509d120560b682941d047a102f04ba1a6af
3,705
cxx
C++
CPP/cgal3d.cxx
amit112amit/learning-cgal
a00b2a559cc9bd38fd041873353423f13406cb01
[ "MIT" ]
2
2019-06-01T06:55:57.000Z
2019-12-18T15:54:13.000Z
CPP/cgal3d.cxx
amit112amit/learning-cgal
a00b2a559cc9bd38fd041873353423f13406cb01
[ "MIT" ]
null
null
null
CPP/cgal3d.cxx
amit112amit/learning-cgal
a00b2a559cc9bd38fd041873353423f13406cb01
[ "MIT" ]
null
null
null
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h> #include <CGAL/Delaunay_triangulation_3.h> #include <CGAL/Triangulation_vertex_base_with_info_3.h> #include <Eigen/Dense> #include <vtkPolyDataReader.h> #include <vtkPolyDataWriter.h> #include <vtkPolyData.h> #include <vtkCellArray.h> #include <vtkDoubleA...
36.323529
91
0.588394
amit112amit
2a264dbac30dca8a07343598e64714d01853f644
2,516
cpp
C++
Sources/Core/cpp/NdxDataStorage/IndexStorage_test.cpp
elzin/SentimentAnalysisService
41fba2ef49746473535196e89a5e49250439fd83
[ "MIT" ]
2
2021-07-07T19:39:11.000Z
2021-12-02T15:54:15.000Z
Sources/Core/cpp/NdxDataStorage/IndexStorage_test.cpp
elzin/SentimentAnalysisService
41fba2ef49746473535196e89a5e49250439fd83
[ "MIT" ]
null
null
null
Sources/Core/cpp/NdxDataStorage/IndexStorage_test.cpp
elzin/SentimentAnalysisService
41fba2ef49746473535196e89a5e49250439fd83
[ "MIT" ]
1
2021-12-01T17:48:20.000Z
2021-12-01T17:48:20.000Z
#include "StdAfx.h" #ifdef _SS_UNITTESTS #include ".\indexstorage_test.h" #include ".\test_const.h" #include ".\console.h" #include ".\index_storage.h" #include ".\data_storages_factory.h" CPPUNIT_TEST_SUITE_REGISTRATION(SS::UnitTests::NdxSE::NdxDataStorage::CIndexStorage_test); typedef HRESULT (*CREATE_INSTANCE)(c...
23.514019
99
0.736089
elzin
2a26cb3bbb819a3fe4e2ef314cb4739c7b0cc715
9,142
cpp
C++
Source/AccelByteUe4Sdk/Private/Api/AccelByteItemApi.cpp
leowind/accelbyte-unreal-sdk-plugin
73a7bf289abbba8141767eb16005aaf8293f8a63
[ "MIT" ]
null
null
null
Source/AccelByteUe4Sdk/Private/Api/AccelByteItemApi.cpp
leowind/accelbyte-unreal-sdk-plugin
73a7bf289abbba8141767eb16005aaf8293f8a63
[ "MIT" ]
null
null
null
Source/AccelByteUe4Sdk/Private/Api/AccelByteItemApi.cpp
leowind/accelbyte-unreal-sdk-plugin
73a7bf289abbba8141767eb16005aaf8293f8a63
[ "MIT" ]
null
null
null
// Copyright (c) 2018 - 2019 AccelByte Inc. All Rights Reserved. // This is licensed software from AccelByte Inc, for limitations // and restrictions contact your company contract manager. #include "Api/AccelByteItemApi.h" #include "Core/AccelByteError.h" #include "JsonUtilities.h" #include "Core/AccelByteRegistry.h" ...
32.077193
231
0.692299
leowind
2a2830f9a0a3381e9c4086c616eda4a5038e5e74
27,285
cpp
C++
moos-ivp/ivp/src/uFldNodeComms/FldNodeComms.cpp
EasternEdgeRobotics/2018
24df2fe56fa6d172ba3c34c1a97f249dbd796787
[ "MIT" ]
null
null
null
moos-ivp/ivp/src/uFldNodeComms/FldNodeComms.cpp
EasternEdgeRobotics/2018
24df2fe56fa6d172ba3c34c1a97f249dbd796787
[ "MIT" ]
null
null
null
moos-ivp/ivp/src/uFldNodeComms/FldNodeComms.cpp
EasternEdgeRobotics/2018
24df2fe56fa6d172ba3c34c1a97f249dbd796787
[ "MIT" ]
null
null
null
/*****************************************************************/ /* NAME: Michael Benjamin */ /* ORGN: Dept of Mechanical Eng / CSAIL, MIT Cambridge MA */ /* FILE: FldNodeComms.cpp */ /* DATE: Dec 4th 2011 ...
32.024648
82
0.613597
EasternEdgeRobotics
2a291633e0c1a8ff7405ad7c78b4b4df634f1948
3,738
cpp
C++
qtserver/components/transforms.cpp
jimfinnis/stumpy2
4011e42b7082f847396816b1b5aee46d7ce93b2b
[ "MIT" ]
null
null
null
qtserver/components/transforms.cpp
jimfinnis/stumpy2
4011e42b7082f847396816b1b5aee46d7ce93b2b
[ "MIT" ]
1
2016-05-18T12:03:16.000Z
2016-10-01T19:05:26.000Z
qtserver/components/transforms.cpp
jimfinnis/stumpy2
4011e42b7082f847396816b1b5aee46d7ce93b2b
[ "MIT" ]
null
null
null
/** * @file * Simple transform components. * * */ #include "engine/engine.h" #include "serverbase/model.h" /// base class for all transforms which sets up common parameters class SimpleTransformComponentType : public ComponentType { public: SimpleTransformComponentType(const char *name) : ComponentType(nam...
29.433071
88
0.52702
jimfinnis
2a29441c759c4e99f4f66784107318ede2d083dd
4,005
cpp
C++
GTraining/Map_v_UnorderedMap.cpp
tzaffi/cpp
43d99e70d8fa712f90ea0f6147774e4e0f2b11da
[ "MIT" ]
null
null
null
GTraining/Map_v_UnorderedMap.cpp
tzaffi/cpp
43d99e70d8fa712f90ea0f6147774e4e0f2b11da
[ "MIT" ]
null
null
null
GTraining/Map_v_UnorderedMap.cpp
tzaffi/cpp
43d99e70d8fa712f90ea0f6147774e4e0f2b11da
[ "MIT" ]
null
null
null
// // Created by zeph on 11/25/16. // /* * In the interview prep at coogle, Sam Greenfiled pointed out that * o map's basic operations run in O(log n) since it's backed by a BST * while * o unordered_map's is a true hash table with O(1) operations * * Let's test this theory out. */ #include <iostream> #i...
36.743119
149
0.653433
tzaffi
2a2aee399852bfcadf84621b8ed8c3ba630b1f54
153
hh
C++
CppPool/cpp_d07m/ex04/Destination.hh
667MARTIN/Epitech
81095d8e7d54e9abd95541ee3dfcc3bc85d5cf0e
[ "MIT" ]
40
2018-01-28T14:23:27.000Z
2022-03-05T15:57:47.000Z
CppPool/cpp_d07m/ex04/Destination.hh
667MARTIN/Epitech
81095d8e7d54e9abd95541ee3dfcc3bc85d5cf0e
[ "MIT" ]
1
2021-10-05T09:03:51.000Z
2021-10-05T09:03:51.000Z
CppPool/cpp_d07m/ex04/Destination.hh
667MARTIN/Epitech
81095d8e7d54e9abd95541ee3dfcc3bc85d5cf0e
[ "MIT" ]
73
2019-01-07T18:47:00.000Z
2022-03-31T08:48:38.000Z
#ifndef _DESTINATION_ #define _DESTINATION_ enum Destination { EARTH, VULCAN, ROMULUS, REMUS, UNICOMPLEX, JUPITER, BABEL }; #endif
10.2
22
0.673203
667MARTIN
2a313450a43c796fc2aaa13024b20d247cc1f511
228,084
cpp
C++
src/3rdparty/pythonqt/generated_cpp_50/com_trolltech_qt_webkit/com_trolltech_qt_webkit0.cpp
aliakseis/FVD
8d549834fcf9e8fdd5ebecdcaf9410074876b2ed
[ "MIT" ]
null
null
null
src/3rdparty/pythonqt/generated_cpp_50/com_trolltech_qt_webkit/com_trolltech_qt_webkit0.cpp
aliakseis/FVD
8d549834fcf9e8fdd5ebecdcaf9410074876b2ed
[ "MIT" ]
null
null
null
src/3rdparty/pythonqt/generated_cpp_50/com_trolltech_qt_webkit/com_trolltech_qt_webkit0.cpp
aliakseis/FVD
8d549834fcf9e8fdd5ebecdcaf9410074876b2ed
[ "MIT" ]
null
null
null
#include "com_trolltech_qt_webkit0.h" #include <PythonQtConversion.h> #include <PythonQtMethodInfo.h> #include <PythonQtSignalReceiver.h> #include <QGraphicsScene> #include <QVariant> #include <qaction.h> #include <qbackingstore.h> #include <qbitmap.h> #include <qbytearray.h> #include <qcoreevent.h> #include <qcursor.h...
37.305201
224
0.728346
aliakseis
2a31ebfddbe4dcd9bedd2ece45c27c9f8017a430
9,013
cpp
C++
SRTI_Source/v2_C++_Sim_Wrapper_Source/simulations/Array/string_sim.cpp
ICoR-code/SRTI
1261f24e5fee6df587e926b107173cacd2cf3126
[ "Apache-2.0" ]
4
2020-10-09T20:19:53.000Z
2022-01-29T06:24:31.000Z
SRTI_Source/v2_C++_Sim_Wrapper_Source/simulations/Array/string_sim.cpp
hlynka-a/SRTI
1261f24e5fee6df587e926b107173cacd2cf3126
[ "Apache-2.0" ]
4
2020-07-07T20:42:24.000Z
2022-03-25T18:52:23.000Z
SRTI_Source/v2_C++_Sim_Wrapper_Source/simulations/Array/string_sim.cpp
ICoR-code/SRTI
1261f24e5fee6df587e926b107173cacd2cf3126
[ "Apache-2.0" ]
2
2020-10-09T20:17:02.000Z
2021-03-24T06:40:57.000Z
#include <vector> #include <iostream> #include <type_traits> #include "string_sim.hpp" using namespace std; namespace rj = rapidjson; StringSim::StringSim() { input.insert(pair <string, rj::Value> ("Double", rj::Value())); output.insert(pair <string, rj::Value> ("String", rj::Value(rj::kObjectType))); ou...
26.508824
167
0.582159
ICoR-code
2a31ff4194392d7dcf31835486fdf10f91d81e13
15,956
cpp
C++
tests/MetadataEngine/tst_metadataenginetest.cpp
DatabasesWorks/passiflora-symphytum-configurable-fields
6128d0391fe33438250efad4398d65c5982b005b
[ "BSD-2-Clause" ]
374
2015-01-03T17:25:16.000Z
2022-03-04T07:58:07.000Z
tests/MetadataEngine/tst_metadataenginetest.cpp
DatabasesWorks/symphytum-configurable-fields
187b72e9ff758bd207a415cb3fc9e2d97889996c
[ "BSD-2-Clause" ]
133
2015-01-03T17:28:29.000Z
2020-09-22T11:44:14.000Z
tests/MetadataEngine/tst_metadataenginetest.cpp
DatabasesWorks/symphytum-configurable-fields
187b72e9ff758bd207a415cb3fc9e2d97889996c
[ "BSD-2-Clause" ]
78
2015-01-19T13:26:07.000Z
2022-03-21T00:02:55.000Z
#include <QString> #include <QtTest> #include <QSqlQuery> #include "../../components/metadataengine.h" #include "../../components/databasemanager.h" class MetadataEngineTest : public QObject { Q_OBJECT public: MetadataEngineTest(); ~MetadataEngineTest(); private Q_SLOTS: void testCollectionI...
34.686957
85
0.635435
DatabasesWorks
2a340eedb70e93dbac2193f8b0125757e80a0feb
4,051
cpp
C++
sdk/core/azure-core/test/ut/http.cpp
JasonYang-MSFT/azure-sdk-for-cpp
c0faea5f90c0d78f088f8c049353a2ee66ba3930
[ "MIT" ]
null
null
null
sdk/core/azure-core/test/ut/http.cpp
JasonYang-MSFT/azure-sdk-for-cpp
c0faea5f90c0d78f088f8c049353a2ee66ba3930
[ "MIT" ]
1
2021-02-23T00:43:57.000Z
2021-02-23T00:49:17.000Z
sdk/core/azure-core/test/ut/http.cpp
JasonYang-MSFT/azure-sdk-for-cpp
c0faea5f90c0d78f088f8c049353a2ee66ba3930
[ "MIT" ]
null
null
null
// Copyright (c) Microsoft Corporation. All rights reserved. // SPDX-License-Identifier: MIT #include "gtest/gtest.h" #include <http/http.hpp> #include <string> #include <vector> using namespace Azure::Core; TEST(Http_Request, getters) { Http::HttpMethod httpMethod = Http::HttpMethod::Get; std::string url = "htt...
34.042017
99
0.662552
JasonYang-MSFT
2a35ba2c64c78650b483bb976d85e5603b77018b
258
cpp
C++
Cpp_primer_5th/code_part9/prog9_34.cpp
Links789/Cpp_primer_5th
18a60b75c358a79fdf006f8cb978c9be6e6aedd5
[ "MIT" ]
null
null
null
Cpp_primer_5th/code_part9/prog9_34.cpp
Links789/Cpp_primer_5th
18a60b75c358a79fdf006f8cb978c9be6e6aedd5
[ "MIT" ]
null
null
null
Cpp_primer_5th/code_part9/prog9_34.cpp
Links789/Cpp_primer_5th
18a60b75c358a79fdf006f8cb978c9be6e6aedd5
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> using namespace std; int main(){ vector<int> vi{1,2,3,4,5}; auto iter = vi.begin(); while(iter != vi.end() ){ //endless loo iter = vi.insert(iter, *iter); cout << *iter << endl; } ++iter; return 0; }
14.333333
40
0.581395
Links789
2a3664d0d70d55544f209d77704c0f9a57ddff24
1,116
cpp
C++
mp/src/old/cl_dll/vgui_consolepanel.cpp
MaartenS11/Team-Fortress-Invasion
f36b96d27f834d94e0db2d2a9470b05b42e9b460
[ "Unlicense" ]
1
2021-03-20T14:27:45.000Z
2021-03-20T14:27:45.000Z
mp/src/old/cl_dll/vgui_consolepanel.cpp
MaartenS11/Team-Fortress-Invasion
f36b96d27f834d94e0db2d2a9470b05b42e9b460
[ "Unlicense" ]
null
null
null
mp/src/old/cl_dll/vgui_consolepanel.cpp
MaartenS11/Team-Fortress-Invasion
f36b96d27f834d94e0db2d2a9470b05b42e9b460
[ "Unlicense" ]
null
null
null
//======== (C) Copyright 1999, 2000 Valve, L.L.C. All rights reserved. ======== // // The copyright to the contents herein is the property of Valve, L.L.C. // The contents may be used and/or copied only with the written permission of // Valve, L.L.C., or in accordance with the terms and conditions stipulated in // the ...
20.666667
79
0.543011
MaartenS11
2a3b854022134ea7d90ee72dcb8b39a2cad1e4a5
11,860
cpp
C++
src/native_extensions/process_manager_win.cpp
devcxx/zephyros
3ba2c63c5d11bfab66b896e8e09287e222f645a2
[ "Unlicense", "MIT" ]
null
null
null
src/native_extensions/process_manager_win.cpp
devcxx/zephyros
3ba2c63c5d11bfab66b896e8e09287e222f645a2
[ "Unlicense", "MIT" ]
null
null
null
src/native_extensions/process_manager_win.cpp
devcxx/zephyros
3ba2c63c5d11bfab66b896e8e09287e222f645a2
[ "Unlicense", "MIT" ]
null
null
null
/******************************************************************************* * Copyright (c) 2015-2017 Vanamco AG, http://www.vanamco.com * * The MIT License (MIT) * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software...
30.101523
128
0.626391
devcxx
2a3cc5850d3a481d73bb75f09bc6c57020260f4a
614
hpp
C++
AdenitaCoreSE/include/SEDSDNACreatorEditorDescriptor.hpp
edellano/Adenita-SAMSON-Edition-Win-
6df8d21572ef40fe3fc49165dfaa1d4318352a69
[ "BSD-3-Clause" ]
2
2020-09-07T20:48:43.000Z
2021-09-03T05:49:59.000Z
AdenitaCoreSE/include/SEDSDNACreatorEditorDescriptor.hpp
edellano/Adenita-SAMSON-Edition-Linux
a7e267e5dd37e0073f4d1e3e603c5fb1c69a350a
[ "BSD-3-Clause" ]
6
2020-04-05T18:39:28.000Z
2022-01-11T14:28:55.000Z
AdenitaCoreSE/include/SEDSDNACreatorEditorDescriptor.hpp
edellano/Adenita-SAMSON-Edition-Linux
a7e267e5dd37e0073f4d1e3e603c5fb1c69a350a
[ "BSD-3-Clause" ]
2
2021-07-13T12:58:13.000Z
2022-01-11T13:52:00.000Z
/// \headerfile SBProxy.hpp "SBProxy.hpp" #include "SBProxy.hpp" /// \headerfile SEDSDNACreatorEditor.hpp "SEDSDNACreatorEditor.hpp" #include "SEDSDNACreatorEditor.hpp" // Class descriptor // SAMSON Element generator pro tip: complete this descriptor to expose this class to SAMSON and other SAMSON Elements SB_CLAS...
21.172414
118
0.788274
edellano
2a3f1d0fb7dadf387ed900ab643d6f0132c964ad
4,771
cpp
C++
src/Prop.cpp
fauresystems/ArduinoProps
b6b94208f5d31e600ed5f4c6ccd45f8bedc46a52
[ "MIT" ]
null
null
null
src/Prop.cpp
fauresystems/ArduinoProps
b6b94208f5d31e600ed5f4c6ccd45f8bedc46a52
[ "MIT" ]
null
null
null
src/Prop.cpp
fauresystems/ArduinoProps
b6b94208f5d31e600ed5f4c6ccd45f8bedc46a52
[ "MIT" ]
null
null
null
/* Name: Prop.cpp Author: Faure Systems <dev at faure dot systems> Editor: https://github.com/fauresystems License: MIT License (c) Faure Systems <dev at faure dot systems> Base class to make prop sketch for Escape Room 2.0 (connected). */ #include "Prop.h" #if defined(__AVR__) #include <avr/wdt.h> #en...
23.502463
110
0.656466
fauresystems
2a3f479e43bd5d826b012ae081234b5767e0c106
881
cpp
C++
src/c_handshake.cpp
DreamHacks/dd3d
4665cc6e55b415c48385c6b6279bb3fd5f8e4bc9
[ "MIT" ]
null
null
null
src/c_handshake.cpp
DreamHacks/dd3d
4665cc6e55b415c48385c6b6279bb3fd5f8e4bc9
[ "MIT" ]
null
null
null
src/c_handshake.cpp
DreamHacks/dd3d
4665cc6e55b415c48385c6b6279bb3fd5f8e4bc9
[ "MIT" ]
5
2017-07-09T12:03:19.000Z
2022-02-09T09:37:36.000Z
#include "dd3d.h" #include "connection.h" #include "crypt.h" #include "m_user.h" #include "log.h" #include "c_handshake.h" bool c_handshake_handler(void* message, uint32_t message_size) { bool rv = false; if (message_size == 4 + RSA_SIZE) { uint8_t key[RSA_SIZE]; int key_size = crypt_rsa_private_decrypt(utils_p...
28.419355
100
0.687855
DreamHacks
2a41e6153124ff7b2dd9a1452eb623b5b2378c4c
5,715
cpp
C++
applications/physbam/physbam-lib/Public_Library/PhysBAM_Solids/PhysBAM_Deformables/Collisions_And_Interactions/TRIANGLE_COLLISIONS_POINT_FACE_VISITOR.cpp
schinmayee/nimbus
170cd15e24a7a88243a6ea80aabadc0fc0e6e177
[ "BSD-3-Clause" ]
20
2017-07-03T19:09:09.000Z
2021-09-10T02:53:56.000Z
applications/physbam/physbam-lib/Public_Library/PhysBAM_Solids/PhysBAM_Deformables/Collisions_And_Interactions/TRIANGLE_COLLISIONS_POINT_FACE_VISITOR.cpp
schinmayee/nimbus
170cd15e24a7a88243a6ea80aabadc0fc0e6e177
[ "BSD-3-Clause" ]
null
null
null
applications/physbam/physbam-lib/Public_Library/PhysBAM_Solids/PhysBAM_Deformables/Collisions_And_Interactions/TRIANGLE_COLLISIONS_POINT_FACE_VISITOR.cpp
schinmayee/nimbus
170cd15e24a7a88243a6ea80aabadc0fc0e6e177
[ "BSD-3-Clause" ]
9
2017-09-17T02:05:06.000Z
2020-01-31T00:12:01.000Z
//##################################################################### // Copyright 2002-2007, Robert Bridson, Ronald Fedkiw, Eran Guendelman, Geoffrey Irving, Nipun Kwatra, Neil Molino, Andrew Selle, Jonathan Su, Joseph Teran. // This file is part of PhysBAM whose distribution is governed by the license contained in ...
73.269231
178
0.712511
schinmayee
2a45f8f0806cb2aa41ad4988c5b187d4881018d1
1,300
hpp
C++
libs/core/include/fcppt/math/matrix/has_dim.hpp
pmiddend/fcppt
9f437acbb10258e6df6982a550213a05815eb2be
[ "BSL-1.0" ]
null
null
null
libs/core/include/fcppt/math/matrix/has_dim.hpp
pmiddend/fcppt
9f437acbb10258e6df6982a550213a05815eb2be
[ "BSL-1.0" ]
null
null
null
libs/core/include/fcppt/math/matrix/has_dim.hpp
pmiddend/fcppt
9f437acbb10258e6df6982a550213a05815eb2be
[ "BSL-1.0" ]
null
null
null
// Copyright Carl Philipp Reh 2009 - 2018. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #ifndef FCPPT_MATH_MATRIX_HAS_DIM_HPP_INCLUDED #define FCPPT_MATH_MATRIX_HAS_DIM_HPP_INCLUDED #in...
16.25
76
0.719231
pmiddend
2a4634de99fe9c2e51c1b7786e27d524d5bf7fe6
6,482
cpp
C++
test/stream.cpp
jspaaks/cuda-wrapper
66262b819d55814d35cdb88a7eb9ab3b67fadaf0
[ "BSD-3-Clause" ]
null
null
null
test/stream.cpp
jspaaks/cuda-wrapper
66262b819d55814d35cdb88a7eb9ab3b67fadaf0
[ "BSD-3-Clause" ]
null
null
null
test/stream.cpp
jspaaks/cuda-wrapper
66262b819d55814d35cdb88a7eb9ab3b67fadaf0
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (C) 2020 Jaslo Ziska * * This file is part of cuda-wrapper. * * This software may be modified and distributed under the terms of the * 3-clause BSD license. See accompanying file LICENSE for details. */ #define BOOST_TEST_MODULE stream #include <boost/test/unit_test.hpp> #include <algorithm> #i...
30.28972
93
0.655199
jspaaks
2a46e9dac0560f9dbb529cb6ed9db8b91bb34790
44,789
cpp
C++
src/AM/CatalogInstance.cpp
fsaintjacques/cstore
3300a81c359c4a48e13ad397e3eb09384f57ccd7
[ "BSD-2-Clause" ]
14
2016-07-11T04:08:09.000Z
2022-03-11T05:56:59.000Z
src/AM/CatalogInstance.cpp
ibrarahmad/cstore
3300a81c359c4a48e13ad397e3eb09384f57ccd7
[ "BSD-2-Clause" ]
null
null
null
src/AM/CatalogInstance.cpp
ibrarahmad/cstore
3300a81c359c4a48e13ad397e3eb09384f57ccd7
[ "BSD-2-Clause" ]
13
2016-06-01T10:41:15.000Z
2022-01-06T09:01:15.000Z
/* Copyright (c) 2005, Regents of Massachusetts Institute of Technology, * Brandeis University, Brown University, and University of Massachusetts * Boston. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following condit...
33.549813
330
0.666458
fsaintjacques
2a513e5ab77fc89931a095b7e07b743e045f68ce
2,807
hpp
C++
src/sprite.hpp
gulrak/lostcolonies
ba47bbb3b642fbde9c87670666d02f288cfe7984
[ "MIT" ]
1
2022-02-03T20:42:24.000Z
2022-02-03T20:42:24.000Z
src/sprite.hpp
gulrak/lostcolonies
ba47bbb3b642fbde9c87670666d02f288cfe7984
[ "MIT" ]
null
null
null
src/sprite.hpp
gulrak/lostcolonies
ba47bbb3b642fbde9c87670666d02f288cfe7984
[ "MIT" ]
null
null
null
#pragma once #include <raylib.h> #include <algorithm> #include <vector> #include "raymath.hpp" struct Sprite { enum Type { Unused, Alien, Player, ColonyShip, AlienShot, AlienBomb, PlayerShot, DotParticle }; Type _type{Unused}; Vector2 _pos{}; Vector2 _velocity{}; Rectangle _sprite{}; Rectangle...
32.639535
156
0.576772
gulrak
2a55eca06e121661d59d4d4095424ee625cddfb3
6,514
cpp
C++
source/console/Console.cpp
mkapusnik/duel6r
1e5ed50035b1c2878622c9129ee8255a5abf9227
[ "BSD-3-Clause" ]
12
2015-06-21T14:57:53.000Z
2021-11-30T23:32:27.000Z
source/console/Console.cpp
mkapusnik/duel6r
1e5ed50035b1c2878622c9129ee8255a5abf9227
[ "BSD-3-Clause" ]
37
2015-01-04T18:21:13.000Z
2020-11-02T15:50:38.000Z
source/console/Console.cpp
mkapusnik/duel6r
1e5ed50035b1c2878622c9129ee8255a5abf9227
[ "BSD-3-Clause" ]
10
2015-03-12T23:31:31.000Z
2020-02-25T23:19:44.000Z
/* * Copyright (c) 2006, Ondrej Danek (www.ondrej-danek.net) * All rights reserved. * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright * notice, ...
32.08867
119
0.558336
mkapusnik
3985f0535f179aaf2cb072470e1acdf442469f85
8,868
cc
C++
ftr/label.cc
louis-tru/Ngui
c1f25d8b6c42e873d5969fb588af22f428c58d4c
[ "BSD-3-Clause-Clear" ]
86
2017-11-21T01:05:30.000Z
2020-05-21T12:30:31.000Z
ftr/label.cc
louis-tru/Ngui
c1f25d8b6c42e873d5969fb588af22f428c58d4c
[ "BSD-3-Clause-Clear" ]
14
2020-10-16T11:30:57.000Z
2021-04-16T06:10:06.000Z
ftr/label.cc
louis-tru/Ngui
c1f25d8b6c42e873d5969fb588af22f428c58d4c
[ "BSD-3-Clause-Clear" ]
13
2017-11-21T10:18:53.000Z
2019-10-18T09:15:55.000Z
/* ***** BEGIN LICENSE BLOCK ***** * Distributed under the BSD license: * * Copyright (c) 2015, xuewen.chu * 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 sourc...
27.286154
92
0.671967
louis-tru
3987183d1e817ce5ac116084fdd44af061869c3d
4,342
cpp
C++
DTLiving/core/effect/video_two_pass_effect.cpp
danjiang/DTLiving
c0008b7b7f94a392a514b112c0b97564d7d8f12a
[ "MIT" ]
21
2020-04-04T13:41:45.000Z
2022-02-19T23:38:36.000Z
DTLiving/core/effect/video_two_pass_effect.cpp
danjiang/DTLiving
c0008b7b7f94a392a514b112c0b97564d7d8f12a
[ "MIT" ]
9
2020-02-02T10:42:05.000Z
2022-02-28T18:50:48.000Z
DTLiving/core/effect/video_two_pass_effect.cpp
danjiang/DTLiving
c0008b7b7f94a392a514b112c0b97564d7d8f12a
[ "MIT" ]
3
2020-10-19T08:28:38.000Z
2021-11-29T09:24:42.000Z
// // video_two_pass_effect.cpp // DTLiving // // Created by Dan Jiang on 2020/4/15. // Copyright © 2020 Dan Thought Studio. All rights reserved. // #include "video_two_pass_effect.h" #include "video_texture_cache.h" namespace dtliving { namespace effect { VideoTwoPassEffect::VideoTwoPassEffect(std::string name...
34.460317
156
0.647167
danjiang
3987220c58035f6fabb2b13fb7b7bb47751ddbf7
3,962
cpp
C++
src/ffmpeg_io/avio_reading.cpp
zzu-andrew/ffmpeg_doc
dd9c3333b2aa00cf57e55fe2bd0d29503f16ab55
[ "Apache-2.0" ]
null
null
null
src/ffmpeg_io/avio_reading.cpp
zzu-andrew/ffmpeg_doc
dd9c3333b2aa00cf57e55fe2bd0d29503f16ab55
[ "Apache-2.0" ]
null
null
null
src/ffmpeg_io/avio_reading.cpp
zzu-andrew/ffmpeg_doc
dd9c3333b2aa00cf57e55fe2bd0d29503f16ab55
[ "Apache-2.0" ]
null
null
null
// // Created by andrew on 2020/12/13. // #include <iostream> extern "C" { #include <libavformat/avformat.h> #include <libavutil/log.h> #include <libavcodec/avcodec.h> #include <libavformat/avio.h> #include <libavutil/file.h> #include <cstdio> } using namespace std; // 为mmap buffer定义一个结构体指针用户管理数据 struct buffer_data...
31.444444
199
0.636295
zzu-andrew
39873ae8de1ba67e9cd7c929aa0bbd5fd8502ba5
13,585
hpp
C++
include/poplar/compact_bonsai_trie.hpp
MatsuTaku/dynpdt_Correction
10605c1dc8ae6196741bee0e991935e8877b930a
[ "MIT" ]
47
2018-02-24T09:56:24.000Z
2022-02-13T12:10:00.000Z
include/poplar/compact_bonsai_trie.hpp
MatsuTaku/dynpdt_Correction
10605c1dc8ae6196741bee0e991935e8877b930a
[ "MIT" ]
4
2018-03-08T03:28:05.000Z
2021-09-29T06:38:25.000Z
include/poplar/compact_bonsai_trie.hpp
MatsuTaku/dynpdt_Correction
10605c1dc8ae6196741bee0e991935e8877b930a
[ "MIT" ]
5
2018-03-07T06:34:43.000Z
2022-02-12T19:54:18.000Z
/** * MIT License * * Copyright (c) 2018–2019 Shunsuke Kanda * * 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, c...
31.666667
113
0.583585
MatsuTaku
39892cdc51302fced93a48a78ea60f237a0e6159
926
cpp
C++
C++/1663.SmallestStringWithAGivenNumericValue.cpp
SSKale1/LeetCode-Solutions
dd6ff16f6af1e96acd036b6e9c2a5cc11f0e330b
[ "MIT" ]
null
null
null
C++/1663.SmallestStringWithAGivenNumericValue.cpp
SSKale1/LeetCode-Solutions
dd6ff16f6af1e96acd036b6e9c2a5cc11f0e330b
[ "MIT" ]
null
null
null
C++/1663.SmallestStringWithAGivenNumericValue.cpp
SSKale1/LeetCode-Solutions
dd6ff16f6af1e96acd036b6e9c2a5cc11f0e330b
[ "MIT" ]
null
null
null
class Solution { public: string getSmallestString(int n, int k) { //initialising a string of length n and filling it with 'a' string result(n, 'a'); //numeric value of 'a' = 1, the numeric value of the resulting string will become k-n as we have //filled all with 'a', so k = k - (1...
29.870968
130
0.587473
SSKale1
399484533e6c99bd21e5f923282e780ad8129dac
4,076
hpp
C++
code/dtslam/ReprojectionError3DImpl.hpp
luoyongheng/dtslam
d3c2230d45db14c811eff6fd43e119ac39af1352
[ "BSD-3-Clause" ]
144
2015-01-15T03:38:44.000Z
2022-02-17T09:07:52.000Z
code/dtslam/ReprojectionError3DImpl.hpp
luoyongheng/dtslam
d3c2230d45db14c811eff6fd43e119ac39af1352
[ "BSD-3-Clause" ]
9
2015-09-09T06:51:46.000Z
2020-06-17T14:10:10.000Z
code/dtslam/ReprojectionError3DImpl.hpp
luoyongheng/dtslam
d3c2230d45db14c811eff6fd43e119ac39af1352
[ "BSD-3-Clause" ]
58
2015-01-14T23:43:49.000Z
2021-11-15T05:19:08.000Z
/* * ReprojectionError3DImpl.hpp * * Copyright(C) 2014, University of Oulu, all rights reserved. * Copyright(C) 2014, NVIDIA Corporation, all rights reserved. * Third party copyrights are property of their respective owners. * Contact: Daniel Herrera C. (dherrera@ee.oulu.fi), * Kihwan Kim(kihwank@nvidia...
25.31677
146
0.717125
luoyongheng
399546e00444a45becd8ba3afbcbee2cdfc78038
1,935
cpp
C++
Engine/Plugins/GameWorks/Blast/Source/BlastEditor/Private/BlastActorFactory.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
1
2022-01-29T18:36:12.000Z
2022-01-29T18:36:12.000Z
Engine/Plugins/GameWorks/Blast/Source/BlastEditor/Private/BlastActorFactory.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
Engine/Plugins/GameWorks/Blast/Source/BlastEditor/Private/BlastActorFactory.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
#include "BlastActorFactory.h" #include "BlastMesh.h" #include "BlastMeshActor.h" #include "BlastMeshComponent.h" #define LOCTEXT_NAMESPACE "Blast" /*----------------------------------------------------------------------------- UActorFactoryBlastMesh -------------------------------------------------------------------...
30.234375
100
0.715245
windystrife
399670d626858db8cc6a3719e993b1bbe73c3d4d
10,258
cpp
C++
src/common/BitBuffer.cpp
AllMethodGrind/bmxlib
9480bdec14c082f9b121b7a6102461b05bdea547
[ "BSD-3-Clause" ]
4
2015-02-24T23:55:07.000Z
2021-04-13T20:48:45.000Z
src/common/BitBuffer.cpp
AllMethodGrind/bmxlib
9480bdec14c082f9b121b7a6102461b05bdea547
[ "BSD-3-Clause" ]
null
null
null
src/common/BitBuffer.cpp
AllMethodGrind/bmxlib
9480bdec14c082f9b121b7a6102461b05bdea547
[ "BSD-3-Clause" ]
3
2019-03-20T18:34:45.000Z
2020-10-04T20:37:52.000Z
/* * Copyright (C) 2013, British Broadcasting Corporation * All Rights Reserved. * * Author: Philip de Nier * * 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 t...
25.26601
111
0.649834
AllMethodGrind
39983831b290107356747722b8b8a138dd6d427d
799
hpp
C++
bs_bos_core/src/explicit_model.hpp
bs-eagle/bs-eagle
b1017a4f6ac2dcafba2deafec84052ddde792671
[ "BSD-3-Clause" ]
7
2015-07-16T22:30:36.000Z
2020-02-06T10:16:42.000Z
bs_bos_core/src/explicit_model.hpp
bs-eagle/bs-eagle
b1017a4f6ac2dcafba2deafec84052ddde792671
[ "BSD-3-Clause" ]
null
null
null
bs_bos_core/src/explicit_model.hpp
bs-eagle/bs-eagle
b1017a4f6ac2dcafba2deafec84052ddde792671
[ "BSD-3-Clause" ]
3
2017-01-05T20:06:28.000Z
2021-12-20T16:19:10.000Z
#ifndef EXPLICIT_MODEL_HPP_b3428474_754b_11e0_a55e_8fd394202658 #define EXPLICIT_MODEL_HPP_b3428474_754b_11e0_a55e_8fd394202658 /** * \file explicit_model.hpp * \brief EXPLICIT Initialization model * \author Sergey Miryanov (sergey-miryanov), sergey.miryanov@gmail.com * \date 03.05.2011 * ...
24.212121
84
0.71965
bs-eagle
399a60eb69b17fbcb51cc18fee6538f34f8feef9
28,716
cpp
C++
mtp/ffs/mtp_MtpDatabase.cpp
imranpopz/android_bootable_recovery-1
ec4512ad1e20f640b3dcd6faf8c04cae711e4f30
[ "Apache-2.0" ]
95
2018-10-31T12:12:01.000Z
2022-03-20T21:30:48.000Z
mtp/ffs/mtp_MtpDatabase.cpp
imranpopz/android_bootable_recovery-1
ec4512ad1e20f640b3dcd6faf8c04cae711e4f30
[ "Apache-2.0" ]
34
2018-10-22T11:01:15.000Z
2021-11-21T14:10:26.000Z
mtp/ffs/mtp_MtpDatabase.cpp
imranpopz/android_bootable_recovery-1
ec4512ad1e20f640b3dcd6faf8c04cae711e4f30
[ "Apache-2.0" ]
81
2018-10-23T08:37:20.000Z
2022-03-20T00:27:08.000Z
/* * Copyright (C) 2010 The Android Open Source Project * * 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 applic...
33.743831
98
0.746309
imranpopz
399b5fe9995c29421efdc58b92713c79652f4502
292
cc
C++
storage/sharding/sharding.cc
hjinlin/toft
ebf3ebb3d37e9a59e27b197cefe8fdc3e8810441
[ "BSD-3-Clause" ]
264
2015-01-03T11:50:17.000Z
2022-03-17T02:38:34.000Z
storage/sharding/sharding.cc
hjinlin/toft
ebf3ebb3d37e9a59e27b197cefe8fdc3e8810441
[ "BSD-3-Clause" ]
12
2015-04-27T15:17:34.000Z
2021-05-01T04:31:18.000Z
storage/sharding/sharding.cc
hjinlin/toft
ebf3ebb3d37e9a59e27b197cefe8fdc3e8810441
[ "BSD-3-Clause" ]
128
2015-02-07T18:13:10.000Z
2022-02-21T14:24:14.000Z
// Copyright (c) 2013, The Toft Authors. // All rights reserved. // // Author: Ye Shunping <yeshunping@gmail.com> #include "toft/storage/sharding/sharding.h" namespace toft { ShardingPolicy::ShardingPolicy() : shard_num_(1) { } ShardingPolicy::~ShardingPolicy() { } } // namespace util
17.176471
50
0.708904
hjinlin
399b7ec3c214faa112b544b4bb526a1dde110857
387
cpp
C++
recursion/6.cpp
ChiragLohani/Dsa-placement
be68273528283c41f7598169425b1e731d0eacb9
[ "Apache-2.0" ]
null
null
null
recursion/6.cpp
ChiragLohani/Dsa-placement
be68273528283c41f7598169425b1e731d0eacb9
[ "Apache-2.0" ]
null
null
null
recursion/6.cpp
ChiragLohani/Dsa-placement
be68273528283c41f7598169425b1e731d0eacb9
[ "Apache-2.0" ]
null
null
null
#include <iostream> using namespace std; double sum_recursive(int n) { if (n <= 0) { return 0.0; } else { cout << "1/" << n << (n!=1 ? " + " : " = "); // just for debugging return (1.0 / double(n)) + sum_recursive(n-1); } } int main() { int x; cin>>x; cout...
18.428571
75
0.459948
ChiragLohani
399f3ab199b29023dc728aec59c3b2639f73c2b5
392
cpp
C++
demo/main.cpp
IonkinaM/lab2
aa06f0430b589b8720bdf883925b4538de395045
[ "MIT" ]
null
null
null
demo/main.cpp
IonkinaM/lab2
aa06f0430b589b8720bdf883925b4538de395045
[ "MIT" ]
null
null
null
demo/main.cpp
IonkinaM/lab2
aa06f0430b589b8720bdf883925b4538de395045
[ "MIT" ]
null
null
null
#include <header.hpp> int main() { const int L1 = 128; const int L2 = 12288; int *values = new int(9); int k = 16; filling_arr(values, count(L1, L2), k); values[8] = pow(2, 20)*3; print(values, count(L1, L2), std::cout); delete(values); // apple silicon 2 уровня кэша, первый = 128кб, второй = 8мб ...
23.058824
70
0.589286
IonkinaM
39a30b122ce0e19281d620512e0297bd264d747e
161
cpp
C++
LuoguCodes/AT3918.cpp
Anguei/OI-Codes
0ef271e9af0619d4c236e314cd6d8708d356536a
[ "MIT" ]
null
null
null
LuoguCodes/AT3918.cpp
Anguei/OI-Codes
0ef271e9af0619d4c236e314cd6d8708d356536a
[ "MIT" ]
null
null
null
LuoguCodes/AT3918.cpp
Anguei/OI-Codes
0ef271e9af0619d4c236e314cd6d8708d356536a
[ "MIT" ]
null
null
null
//【AT3918】Infinite Coins - 洛谷 - Wa #include <iostream> int main() { int n, m; std::cin >> n >> m; std::cout << (n % 500 <= m ? "Yes" : "No") << std::endl; }
20.125
57
0.509317
Anguei
39a32f5be200a05c51505a5fcb4cc8b85c8aa370
7,389
cpp
C++
src/irt/translator/expr.cpp
martinogden/mer
33b4b39b1604ce0708b0d3d1c809b95683a2f4cb
[ "Unlicense" ]
2
2019-11-17T22:54:16.000Z
2020-08-07T20:53:25.000Z
src/irt/translator/expr.cpp
martinogden/mer
33b4b39b1604ce0708b0d3d1c809b95683a2f4cb
[ "Unlicense" ]
null
null
null
src/irt/translator/expr.cpp
martinogden/mer
33b4b39b1604ce0708b0d3d1c809b95683a2f4cb
[ "Unlicense" ]
null
null
null
#include "type/comparison.hpp" #include "irt/size-analyser.hpp" #include "irt/translator/utils.hpp" #include "irt/translator/expr.hpp" #include "irt/translator/bool-expr.hpp" #include "irt/translator/lvalue.hpp" ExprTranslator::ExprTranslator(Generator& gen, Map<IRTStruct>& structs) : gen(gen), structs(structs), r...
25.926316
107
0.68223
martinogden
39aca69969eed09551e2ce784791eeac654e9393
135
cpp
C++
unix/reverse.cpp
kybr/MAT240B-2019
d3a875f90e12df195a172b4f4f485153d4251086
[ "MIT" ]
null
null
null
unix/reverse.cpp
kybr/MAT240B-2019
d3a875f90e12df195a172b4f4f485153d4251086
[ "MIT" ]
null
null
null
unix/reverse.cpp
kybr/MAT240B-2019
d3a875f90e12df195a172b4f4f485153d4251086
[ "MIT" ]
null
null
null
#include "everything.h" using namespace diy; int main(int argc, char* argv[]) { // // reverse the stream of numbers coming in.. }
16.875
46
0.666667
kybr
39b2fc3009e1ef4d429390a9b45e43976ae93d52
1,002
cpp
C++
private/LoadedSQLData.cpp
Izowiuz/iz-sql-utilities
307a5c791f4e83b13e9a54dfec60fcd4c24b2ca3
[ "MIT" ]
1
2019-07-11T07:05:03.000Z
2019-07-11T07:05:03.000Z
private/LoadedSQLData.cpp
Izowiuz/iz-sql-utilities
307a5c791f4e83b13e9a54dfec60fcd4c24b2ca3
[ "MIT" ]
null
null
null
private/LoadedSQLData.cpp
Izowiuz/iz-sql-utilities
307a5c791f4e83b13e9a54dfec60fcd4c24b2ca3
[ "MIT" ]
null
null
null
#include "LoadedSQLData.h" QMap<int, QString> IzSQLUtilities::LoadedSQLData::indexColumnMap() const { return m_indexColumnMap; } void IzSQLUtilities::LoadedSQLData::setIndexColumnMap(const QMap<int, QString>& indexColumnMap) { m_indexColumnMap = indexColumnMap; } void IzSQLUtilities::LoadedSQLData::addRow(s...
23.857143
96
0.769461
Izowiuz
39b490bf22346d620848c16c8a008b0d0fb681d5
409
cpp
C++
PAT/PAT Basic/1010.cpp
Accelerator404/Algorithm-Demonstration
e40a499c23a56d363c743c76ac967d9c4247a4be
[ "Apache-2.0" ]
1
2019-09-18T23:45:27.000Z
2019-09-18T23:45:27.000Z
PAT/PAT Basic/1010.cpp
Accelerator404/Algorithm-Demonstration
e40a499c23a56d363c743c76ac967d9c4247a4be
[ "Apache-2.0" ]
null
null
null
PAT/PAT Basic/1010.cpp
Accelerator404/Algorithm-Demonstration
e40a499c23a56d363c743c76ac967d9c4247a4be
[ "Apache-2.0" ]
1
2019-09-18T23:45:28.000Z
2019-09-18T23:45:28.000Z
#include <iostream> using namespace std; //PAT Advanced No.1010 “一元多项式求导” int main() { int c, i; bool flag = false; //利用输入动作触发输入循环 while (cin >> c >> i) { if (c != 0 && i != 0) { if (flag) cout << ' '; else flag = true; cout << c * i << ' ' << i - 1; } //注意题设中的指数递降,也就是如果第一次就输入指数为0即触发零多项式判断 ...
15.730769
39
0.511002
Accelerator404
39b5f2f5cbf139a32e7665d06b9ee3684286d10a
1,683
cc
C++
components/component_updater/configurator_impl_unittest.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
components/component_updater/configurator_impl_unittest.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
components/component_updater/configurator_impl_unittest.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <memory> #include "base/command_line.h" #include "base/macros.h" #include "components/component_updater/configurator_impl.h" #include "testi...
32.365385
77
0.762923
metux
39b6c205b7d40c3ebf4c554e262517b6b9a75b52
2,353
hpp
C++
Lib/Chip/Unknown/Toshiba/M061/PG.hpp
cjsmeele/Kvasir
c8d2acd8313ae52d78259ee2d409b963925f77d7
[ "Apache-2.0" ]
376
2015-07-17T01:41:20.000Z
2022-03-26T04:02:49.000Z
Lib/Chip/Unknown/Toshiba/M061/PG.hpp
cjsmeele/Kvasir
c8d2acd8313ae52d78259ee2d409b963925f77d7
[ "Apache-2.0" ]
59
2015-07-03T21:30:13.000Z
2021-03-05T11:30:08.000Z
Lib/Chip/Unknown/Toshiba/M061/PG.hpp
cjsmeele/Kvasir
c8d2acd8313ae52d78259ee2d409b963925f77d7
[ "Apache-2.0" ]
53
2015-07-14T12:17:06.000Z
2021-06-04T07:28:40.000Z
#pragma once #include <Register/Utility.hpp> namespace Kvasir { //General Purpose Input_Output Port (PG) namespace PgData{ ///<PG Data Register using Addr = Register::Address<0x400c0600,0xfffffffe,0x00000000,unsigned>; ///PG0 constexpr Register::FieldLocation<Addr,Register::maskFromRange...
51.152174
121
0.695708
cjsmeele
39b77990f6b48c3cd3807cdf1c80cb9066de238f
317
cpp
C++
sonar_control/src/SonarControl.cpp
g4idrijs/underwater_map_construction
04c4ebbc094449994f53e280b85db604b468019b
[ "MIT" ]
null
null
null
sonar_control/src/SonarControl.cpp
g4idrijs/underwater_map_construction
04c4ebbc094449994f53e280b85db604b468019b
[ "MIT" ]
null
null
null
sonar_control/src/SonarControl.cpp
g4idrijs/underwater_map_construction
04c4ebbc094449994f53e280b85db604b468019b
[ "MIT" ]
1
2020-06-28T09:45:26.000Z
2020-06-28T09:45:26.000Z
#include "SonarControl.h" SonarControl::SonarControl(ros::NodeHandle* n){ ros::NodeHandle nh("~"); nh.param("cloudSubscribeTopic_", cloudSubscribeTopic_, string("/Sonar/Scan/SonarCloud")); nh.param("cloudPublishTopic_", cloudPublishTopic_, string("/SonarControl/Cloud")); } int main (int argc, char** argv){ }
24.384615
90
0.735016
g4idrijs
39b8ae6a3265c4a39077cb71a6ff1392672ebffd
3,780
cpp
C++
DEM/Low/src/UI/CEGUI/DEMRenderTarget.cpp
niello/deusexmachina
2f698054fe82d8b40a0a0e58b86d64ffed0de06c
[ "MIT" ]
15
2019-05-07T11:26:13.000Z
2022-01-12T18:26:45.000Z
DEM/Low/src/UI/CEGUI/DEMRenderTarget.cpp
niello/deusexmachina
2f698054fe82d8b40a0a0e58b86d64ffed0de06c
[ "MIT" ]
16
2021-10-04T17:15:31.000Z
2022-03-20T09:34:29.000Z
DEM/Low/src/UI/CEGUI/DEMRenderTarget.cpp
niello/deusexmachina
2f698054fe82d8b40a0a0e58b86d64ffed0de06c
[ "MIT" ]
2
2019-04-28T23:27:48.000Z
2019-05-07T11:26:18.000Z
#if defined(_MSC_VER) # pragma warning(push) # pragma warning(disable : 4530) // C++ exception handler used, but unwind semantics not enabled #endif #include "DEMRenderTarget.h" #include <Render/GPUDriver.h> #include <UI/CEGUI/DEMGeometryBuffer.h> #include <glm/gtc/matrix_transform.hpp> namespace CEGUI { CDEMRen...
33.75
112
0.682804
niello
39bd410749a02210b06bcdb9f71d74595f086d29
4,367
cpp
C++
read_rope_shared_library/test/test.cpp
adct-the-experimenter/read-rope
0f8603cf8d6c197266bcaa447cd3ed92714a5b9d
[ "BSD-3-Clause" ]
2
2019-12-27T19:41:27.000Z
2019-12-27T19:41:38.000Z
read_rope_shared_library/test/test.cpp
adct-the-experimenter/read-rope
0f8603cf8d6c197266bcaa447cd3ed92714a5b9d
[ "BSD-3-Clause" ]
null
null
null
read_rope_shared_library/test/test.cpp
adct-the-experimenter/read-rope
0f8603cf8d6c197266bcaa447cd3ed92714a5b9d
[ "BSD-3-Clause" ]
null
null
null
#include "readrope.h" int main(int argc, char** argv) { /* ************************************************************ Initialize read rope system ************************************************************* */ //initialize read rope system ReadRope::InitReadRopeSystem(); /* ****************...
29.113333
127
0.531257
adct-the-experimenter
39bdbcd3e405ba6af33138c133145baba97163b9
6,940
hpp
C++
ThirdParty-mod/java2cpp/android/text/InputFilter.hpp
kakashidinho/HQEngine
8125b290afa7c62db6cc6eac14e964d8138c7fd0
[ "MIT" ]
1
2019-04-03T01:53:28.000Z
2019-04-03T01:53:28.000Z
ThirdParty-mod/java2cpp/android/text/InputFilter.hpp
kakashidinho/HQEngine
8125b290afa7c62db6cc6eac14e964d8138c7fd0
[ "MIT" ]
null
null
null
ThirdParty-mod/java2cpp/android/text/InputFilter.hpp
kakashidinho/HQEngine
8125b290afa7c62db6cc6eac14e964d8138c7fd0
[ "MIT" ]
null
null
null
/*================================================================================ code generated by: java2cpp author: Zoran Angelov, mailto://baldzar@gmail.com class: android.text.InputFilter ================================================================================*/ #ifndef J2CPP_INCLUDE_IMPLEME...
30.982143
220
0.708646
kakashidinho
39be02b7823513716ee378ab7a6d34dde73493c8
1,372
cpp
C++
UTEngine/Native/NStatLogFile.cpp
neuromancer/UTEngine
630398eabbaa173c933234e4c44ff2d62f0347e8
[ "Apache-2.0", "CC0-1.0" ]
50
2020-12-02T17:41:17.000Z
2022-03-18T05:08:21.000Z
UTEngine/Native/NStatLogFile.cpp
neuromancer/UTEngine
630398eabbaa173c933234e4c44ff2d62f0347e8
[ "Apache-2.0", "CC0-1.0" ]
11
2021-07-14T13:41:12.000Z
2021-09-30T10:32:58.000Z
UTEngine/Native/NStatLogFile.cpp
neuromancer/UTEngine
630398eabbaa173c933234e4c44ff2d62f0347e8
[ "Apache-2.0", "CC0-1.0" ]
4
2021-07-20T20:22:36.000Z
2022-01-06T15:30:26.000Z
#include "Precomp.h" #include "NStatLogFile.h" #include "VM/NativeFunc.h" #include "Engine.h" void NStatLogFile::RegisterFunctions() { RegisterVMNativeFunc_0("StatLogFile", "CloseLog", &NStatLogFile::CloseLog, 0); RegisterVMNativeFunc_0("StatLogFile", "FileFlush", &NStatLogFile::FileFlush, 0); RegisterVMNativeFunc...
29.191489
85
0.764577
neuromancer
39c2a18b03880bec4bc9ebb178344add4c9e5a57
2,269
cpp
C++
test/input_cases/tcs_trough_physical_input.cpp
mfwatki2/ssc
289a6df2e0563bbad588da947e2a9fcc3f9dda55
[ "MIT" ]
null
null
null
test/input_cases/tcs_trough_physical_input.cpp
mfwatki2/ssc
289a6df2e0563bbad588da947e2a9fcc3f9dda55
[ "MIT" ]
null
null
null
test/input_cases/tcs_trough_physical_input.cpp
mfwatki2/ssc
289a6df2e0563bbad588da947e2a9fcc3f9dda55
[ "MIT" ]
null
null
null
#include <string.h> #include "sscapi.h" #include "vartab.h" #include "core.h" #include "tcs_trough_physical_input.h" using namespace std; /** * Custom Testing Handler that does nothing */ void var(var_table* vt, string name, string value){ var_data* vd = new var_data(value); vt->assign(name, *vd); } void var(v...
26.08046
68
0.668576
mfwatki2
39c39a66067ff8660dbe12126e281a7095d38236
63
hpp
C++
src/boost_mpl_aux__preprocessed_dmc_advance_forward.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_mpl_aux__preprocessed_dmc_advance_forward.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_mpl_aux__preprocessed_dmc_advance_forward.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/mpl/aux_/preprocessed/dmc/advance_forward.hpp>
31.5
62
0.825397
miathedev
39c4d50c3a1d672bdb831a11cd5943a75d11d61d
884
cpp
C++
functions.cpp
swsvindland/MullersMethod
75a4c5cc47e2f4491626ba5499c36df623663f83
[ "MIT" ]
null
null
null
functions.cpp
swsvindland/MullersMethod
75a4c5cc47e2f4491626ba5499c36df623663f83
[ "MIT" ]
null
null
null
functions.cpp
swsvindland/MullersMethod
75a4c5cc47e2f4491626ba5499c36df623663f83
[ "MIT" ]
null
null
null
#include <iostream> #include "functions.h" /** * * https://en.wikipedia.org/wiki/Divided_differences */ double dividedDifference(double (*f)(double), double *x, int n) { double sum = 0.0; for(int j = 0; j < n; ++j) { double product = 1.0; for(int k = 0; k < n; ++k) { if(k != j) ...
18.416667
84
0.4819
swsvindland
39c5efe15eace3756e6fe49cc4a8d3ae0e994e1f
1,348
cpp
C++
LeetCode/C++/147. Insertion Sort List.cpp
shreejitverma/GeeksforGeeks
d7bcb166369fffa9a031a258e925b6aff8d44e6c
[ "MIT" ]
3
2020-12-30T00:29:59.000Z
2021-01-24T22:43:04.000Z
LeetCode/C++/147. Insertion Sort List.cpp
shivaniverma1/Competitive-Programming-1
d7bcb166369fffa9a031a258e925b6aff8d44e6c
[ "MIT" ]
6
2022-01-13T04:31:04.000Z
2022-03-12T01:06:16.000Z
LeetCode/C++/147. Insertion Sort List.cpp
shivaniverma1/Competitive-Programming-1
d7bcb166369fffa9a031a258e925b6aff8d44e6c
[ "MIT" ]
2
2022-02-14T19:53:53.000Z
2022-02-18T05:14:30.000Z
//Runtime: 132 ms, faster than 5.57% of C++ online submissions for Insertion Sort List. //Memory Usage: 8.6 MB, less than 100.00% of C++ online submissions for Insertion Sort List. /** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode(int x) : val(x), next...
25.923077
92
0.511869
shreejitverma
39c899021bc217a26f65a5a907d6aba381dcfb57
75
cpp
C++
dev/premake/premake/samples/project/CppConsoleApp/CppConsoleApp.cpp
gdewald/Spacefrog
eae9bd5c91670f7d13442740b5d801286ba41e5e
[ "BSD-2-Clause" ]
94
2015-04-02T05:41:21.000Z
2021-11-14T18:30:12.000Z
dev/premake/premake/samples/project/CppConsoleApp/CppConsoleApp.cpp
gdewald/Spacefrog
eae9bd5c91670f7d13442740b5d801286ba41e5e
[ "BSD-2-Clause" ]
18
2015-06-16T16:57:14.000Z
2021-04-06T18:35:40.000Z
dev/premake/premake/samples/project/CppConsoleApp/CppConsoleApp.cpp
gdewald/Spacefrog
eae9bd5c91670f7d13442740b5d801286ba41e5e
[ "BSD-2-Clause" ]
33
2015-04-07T05:43:54.000Z
2021-08-21T22:13:03.000Z
#include "stdafx.h" int main() { printf("CppConsoleApp\n"); return 0; }
9.375
27
0.64
gdewald
39ceba325ee4ff5066f63d189511d29caafabce4
351
cpp
C++
Userland/Libraries/LibWeb/DOM/DOMEventListener.cpp
densogiaichned/serenity
99c0b895fed02949b528437d6b450d85befde7a5
[ "BSD-2-Clause" ]
2
2022-02-16T02:12:38.000Z
2022-02-20T18:40:41.000Z
Userland/Libraries/LibWeb/DOM/DOMEventListener.cpp
densogiaichned/serenity
99c0b895fed02949b528437d6b450d85befde7a5
[ "BSD-2-Clause" ]
null
null
null
Userland/Libraries/LibWeb/DOM/DOMEventListener.cpp
densogiaichned/serenity
99c0b895fed02949b528437d6b450d85befde7a5
[ "BSD-2-Clause" ]
null
null
null
/* * Copyright (c) 2022, Andreas Kling <kling@serenityos.org> * * SPDX-License-Identifier: BSD-2-Clause */ #include <LibWeb/DOM/AbortSignal.h> #include <LibWeb/DOM/DOMEventListener.h> #include <LibWeb/DOM/IDLEventListener.h> namespace Web::DOM { DOMEventListener::DOMEventListener() = default; DOMEventListener::~D...
23.4
59
0.746439
densogiaichned
39cf381804f87c2540f96d09de47f01591f1f485
3,195
hpp
C++
include/metrics/m_psnr.hpp
ecarpita93/HPC_projet_1
a2c00e056c03227711c43cf2ad23d75c6afbe698
[ "Xnet", "X11" ]
null
null
null
include/metrics/m_psnr.hpp
ecarpita93/HPC_projet_1
a2c00e056c03227711c43cf2ad23d75c6afbe698
[ "Xnet", "X11" ]
null
null
null
include/metrics/m_psnr.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 ...
24.767442
109
0.57903
ecarpita93
39cf9236712bfa5b82bcf8db2a7f5e9f71783921
2,155
cc
C++
AbsEnv/AbsDetEnv.cc
brownd1978/FastSim
05f590d72d8e7f71856fd833114a38b84fc7fd48
[ "Apache-2.0" ]
null
null
null
AbsEnv/AbsDetEnv.cc
brownd1978/FastSim
05f590d72d8e7f71856fd833114a38b84fc7fd48
[ "Apache-2.0" ]
null
null
null
AbsEnv/AbsDetEnv.cc
brownd1978/FastSim
05f590d72d8e7f71856fd833114a38b84fc7fd48
[ "Apache-2.0" ]
null
null
null
//-------------------------------------------------------------------------- // File and Version Information: // $Id: AbsDetEnv.cc 483 2010-01-13 14:03:08Z stroili $ // // Description: // Class AbsDetEnv // // Abstract class for detector envirnoments. Individual // detectors' environment classes will inheri...
22.925532
76
0.488631
brownd1978
39d2feb01906c3ba9ce50d4527fd3a718f70cf2f
2,256
cpp
C++
src/OpenGL/entrypoints/GL3.0/gl_uniform_2ui.cpp
kbiElude/VKGL
fffabf412723a3612ba1c5bfeafe1da38062bd18
[ "MIT" ]
114
2018-08-05T16:26:53.000Z
2021-12-30T07:28:35.000Z
src/OpenGL/entrypoints/GL3.0/gl_uniform_2ui.cpp
kbiElude/VKGL
fffabf412723a3612ba1c5bfeafe1da38062bd18
[ "MIT" ]
5
2018-08-18T21:16:58.000Z
2018-11-22T21:50:48.000Z
src/OpenGL/entrypoints/GL3.0/gl_uniform_2ui.cpp
kbiElude/VKGL
fffabf412723a3612ba1c5bfeafe1da38062bd18
[ "MIT" ]
6
2018-08-05T22:32:28.000Z
2021-10-04T15:39:53.000Z
/* VKGL (c) 2018 Dominik Witczak * * This code is licensed under MIT license (see LICENSE.txt for details) */ #include "OpenGL/entrypoints/GL3.0/gl_uniform_2ui.h" #include "OpenGL/context.h" #include "OpenGL/globals.h" static bool validate(OpenGL::Context* in_context_ptr, const GLint& in_lo...
30.90411
76
0.449025
kbiElude
39d72a4f6b8217868560200043da064b13b4df0c
430
cpp
C++
day19/main.cpp
wuggy-ianw/AoC2017
138c66bdd407e76f6ad71c9d68df50e0afa2251a
[ "Unlicense" ]
null
null
null
day19/main.cpp
wuggy-ianw/AoC2017
138c66bdd407e76f6ad71c9d68df50e0afa2251a
[ "Unlicense" ]
null
null
null
day19/main.cpp
wuggy-ianw/AoC2017
138c66bdd407e76f6ad71c9d68df50e0afa2251a
[ "Unlicense" ]
null
null
null
#include "day19.h" #include "../utils/aocutils.h" #include <iostream> #include <fstream> int main(void) { std::ifstream ifs("input.txt"); std::vector<std::string> path = AOCUtils::parseByLines<std::string>(ifs, [](const std::string& s) -> std::string {return s;}); std::pair<std::string, int> result = Day19::so...
25.294118
128
0.646512
wuggy-ianw
39d7cbb0fba3bbfe79ad50d547f17fe04df866c2
286
cpp
C++
22.09.2021-Homework/Task8/Task8.cpp
Enigma1123/programming-c-2021-autumn-1course
b7c5400298bd9a3e346940e14c4025c954db90aa
[ "Apache-2.0" ]
null
null
null
22.09.2021-Homework/Task8/Task8.cpp
Enigma1123/programming-c-2021-autumn-1course
b7c5400298bd9a3e346940e14c4025c954db90aa
[ "Apache-2.0" ]
null
null
null
22.09.2021-Homework/Task8/Task8.cpp
Enigma1123/programming-c-2021-autumn-1course
b7c5400298bd9a3e346940e14c4025c954db90aa
[ "Apache-2.0" ]
null
null
null
#include <iostream> using namespace std; int main() { int h1 = 0; int m1 = 0; int s1 = 0; int h2 = 0; int m2 = 0; int s2 = 0; int a = 0; cin >> h1 >> m1 >> s1 >> h2 >> m2 >> s2; a = abs((h1 * 3600 + m1 * 60 + s1) - (h2 * 3600 + m2 * 60 + s2)); cout << a; }
16.823529
67
0.447552
Enigma1123
39d7ccd9b2ba51737016e43eb3e9b9671da3994c
29,668
cpp
C++
src/treecore/File.cpp
jiandingzhe/treecore
0a2a23dce68dbb55174569ec9cff64faeaac4a31
[ "MIT" ]
2
2017-10-14T23:13:37.000Z
2019-11-18T16:23:49.000Z
src/treecore/File.cpp
jiandingzhe/treecore
0a2a23dce68dbb55174569ec9cff64faeaac4a31
[ "MIT" ]
null
null
null
src/treecore/File.cpp
jiandingzhe/treecore
0a2a23dce68dbb55174569ec9cff64faeaac4a31
[ "MIT" ]
null
null
null
/* ============================================================================== This file is part of the juce_core module of the JUCE library. Copyright (c) 2013 - Raw Material Software Ltd. Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is...
32.424044
133
0.555413
jiandingzhe
39d7e4e4a6f500f70e2a326e71d80d0c802871ea
751
cpp
C++
src/StringUtils.cpp
madmaxoft/LunaPaak
795fbc57bb592f2b33835b19f5fd75ceef23d95d
[ "Unlicense" ]
null
null
null
src/StringUtils.cpp
madmaxoft/LunaPaak
795fbc57bb592f2b33835b19f5fd75ceef23d95d
[ "Unlicense" ]
null
null
null
src/StringUtils.cpp
madmaxoft/LunaPaak
795fbc57bb592f2b33835b19f5fd75ceef23d95d
[ "Unlicense" ]
1
2022-03-10T05:46:36.000Z
2022-03-10T05:46:36.000Z
#include "StringUtils.h" #include <Windows.h> std::string toUtf8(const std::wstring & aSrcWide) { auto srcLength = static_cast<int>(aSrcWide.length()) + 1; auto len = WideCharToMultiByte(CP_UTF8, 0, aSrcWide.c_str(), srcLength, nullptr, 0, 0, nullptr); std::string res(len, '\0'); WideCharToMultiB...
25.896552
101
0.667111
madmaxoft
39db3e42db98fa485f60ffb204a13dbd0786931b
258
cpp
C++
c++/Project/project6-3/main.cpp
roostaa/cpp_archive
41e58a8c1e9cb7b4400fa4f5e5aa05df923fd872
[ "MIT" ]
null
null
null
c++/Project/project6-3/main.cpp
roostaa/cpp_archive
41e58a8c1e9cb7b4400fa4f5e5aa05df923fd872
[ "MIT" ]
null
null
null
c++/Project/project6-3/main.cpp
roostaa/cpp_archive
41e58a8c1e9cb7b4400fa4f5e5aa05df923fd872
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main() { int x; for (x = 1; x <=20; x++) { if (x == 3 || x == 11 || x == 16) { continue; } cout << x << endl; } return 0; }
12.285714
42
0.333333
roostaa
39dff968cb27b359b4c831bedb91c94bbe28945b
4,241
hpp
C++
Crowdflower Search Results Relevance/rgf1.2/src/tet/AzTET_Eval_Dflt.hpp
Tuanlase02874/Machine-Learning-Kaggle
c31651acd8f2407d8b60774e843a2527ce19b013
[ "MIT" ]
1
2018-07-11T16:20:43.000Z
2018-07-11T16:20:43.000Z
Crowdflower Search Results Relevance/rgf1.2/src/tet/AzTET_Eval_Dflt.hpp
Tuanlase02874/Machine-Learning-Kaggle
c31651acd8f2407d8b60774e843a2527ce19b013
[ "MIT" ]
null
null
null
Crowdflower Search Results Relevance/rgf1.2/src/tet/AzTET_Eval_Dflt.hpp
Tuanlase02874/Machine-Learning-Kaggle
c31651acd8f2407d8b60774e843a2527ce19b013
[ "MIT" ]
null
null
null
/* * * * * * AzTET_Eval_Dflt.hpp * Copyright (C) 2011, 2012 Rie Johnson * * 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 3 of the License, or * (at your option) any...
26.50625
77
0.603867
Tuanlase02874
39e055bceb1e414cb1b1f47a2fef97e2844cf7f0
8,559
cpp
C++
export/release/windows/obj/src/openfl/ui/Keyboard.cpp
bobisdabbing/Vs-The-United-Lands-stable
0807e58b6d8ad1440bdd350bf006b37a1b7ca9b5
[ "MIT" ]
null
null
null
export/release/windows/obj/src/openfl/ui/Keyboard.cpp
bobisdabbing/Vs-The-United-Lands-stable
0807e58b6d8ad1440bdd350bf006b37a1b7ca9b5
[ "MIT" ]
null
null
null
export/release/windows/obj/src/openfl/ui/Keyboard.cpp
bobisdabbing/Vs-The-United-Lands-stable
0807e58b6d8ad1440bdd350bf006b37a1b7ca9b5
[ "MIT" ]
null
null
null
// Generated by Haxe 4.1.5 #include <hxcpp.h> #ifndef INCLUDED_openfl_ui_Keyboard #include <openfl/ui/Keyboard.h> #endif HX_LOCAL_STACK_FRAME(_hx_pos_410ccb691917537a_815___getCharCode,"openfl.ui.Keyboard","__getCharCode",0x5c5ae14e,"openfl.ui.Keyboard.__getCharCode","openfl/ui/Keyboard.hx",815,0x5fb867bb) namespace ...
26.830721
186
0.468746
bobisdabbing
39e063360296154fe53e3414e2779cf32e99311c
939
cpp
C++
LeetCode/Problems/Algorithms/#203_RemoveLinkedListElements_sol2_O(N)_time_O(1)_extra_space.cpp
Tudor67/Competitive-Programming
ae4dc6ed8bf76451775bf4f740c16394913f3ff1
[ "MIT" ]
1
2022-01-26T14:50:07.000Z
2022-01-26T14:50:07.000Z
LeetCode/Problems/Algorithms/#203_RemoveLinkedListElements_sol2_O(N)_time_O(1)_extra_space.cpp
Tudor67/Competitive-Programming
ae4dc6ed8bf76451775bf4f740c16394913f3ff1
[ "MIT" ]
null
null
null
LeetCode/Problems/Algorithms/#203_RemoveLinkedListElements_sol2_O(N)_time_O(1)_extra_space.cpp
Tudor67/Competitive-Programming
ae4dc6ed8bf76451775bf4f740c16394913f3ff1
[ "MIT" ]
null
null
null
/** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode() : val(0), next(nullptr) {} * ListNode(int x) : val(x), next(nullptr) {} * ListNode(int x, ListNode *next) : val(x), next(next) {} * }; */ class Solution { public: ListNode*...
26.828571
63
0.467519
Tudor67
39e275300249bd12116dcbe24635ecc564ef59b2
644
cpp
C++
benchmark/sum_array.cilk.cpp
mikerainey/taskparts
27d4bdda15a5c370c25df6ce8be1233362107cc8
[ "MIT" ]
null
null
null
benchmark/sum_array.cilk.cpp
mikerainey/taskparts
27d4bdda15a5c370c25df6ce8be1233362107cc8
[ "MIT" ]
null
null
null
benchmark/sum_array.cilk.cpp
mikerainey/taskparts
27d4bdda15a5c370c25df6ce8be1233362107cc8
[ "MIT" ]
null
null
null
#include "cilk.hpp" double sum_array_cilk(double* __restrict__ a, uint64_t lo, uint64_t hi) { cilk::reducer_opadd<double> sum(0); cilk_for (uint64_t i = 0; i != hi; i++) { *sum += a[i]; } return sum.get_value(); } int main() { size_t nb_items = taskparts::cmdline::parse_or_default_long("n", 100 * 1000 *...
23
86
0.579193
mikerainey
39e2c8de74e7882f16e38daa31a1cf9845f5ea05
5,158
cpp
C++
test/util/testMath.cpp
KUDB/MSDB
19e89d1d9c09c57b242737f0634ac30b4c8ecfd7
[ "MIT" ]
2
2021-08-31T12:43:16.000Z
2021-12-13T13:49:19.000Z
test/util/testMath.cpp
KUDB/MSDB
19e89d1d9c09c57b242737f0634ac30b4c8ecfd7
[ "MIT" ]
3
2021-09-09T17:23:31.000Z
2021-09-09T19:14:50.000Z
test/util/testMath.cpp
KUDB/MSDB
19e89d1d9c09c57b242737f0634ac30b4c8ecfd7
[ "MIT" ]
null
null
null
#include <pch_test.h> #include <util/math.h> using namespace msdb::core; TEST(util_math, msb_char) { // 0111 1000 EXPECT_EQ(msb<char>(120, 1), 7); EXPECT_EQ(msb<char>(120, 2), 6); EXPECT_EQ(msb<char>(120, 3), 5); EXPECT_EQ(msb<char>(120, 4), 4); EXPECT_EQ(msb<char>(120, 5), 0); // 0101 0101 EXPECT_EQ(msb<cha...
29.988372
56
0.642691
KUDB
39e31ff5d9cf5478fc0183ec4f1664a9ad4218e9
31,717
inl
C++
engine/xboxsystem.xsessioncallstack.inl
DannyParker0001/Kisak-Strike
99ed85927336fe3aff2efd9b9382b2b32eb1d05d
[ "Unlicense" ]
252
2020-12-16T15:34:43.000Z
2022-03-31T23:21:37.000Z
cstrike15_src/engine/xboxsystem.xsessioncallstack.inl
bahadiraraz/Counter-Strike-Global-Offensive
9a0534100cb98ffa1cf0c32e138f0e7971e910d3
[ "MIT" ]
23
2020-12-20T18:02:54.000Z
2022-03-28T16:58:32.000Z
cstrike15_src/engine/xboxsystem.xsessioncallstack.inl
bahadiraraz/Counter-Strike-Global-Offensive
9a0534100cb98ffa1cf0c32e138f0e7971e910d3
[ "MIT" ]
42
2020-12-19T04:32:33.000Z
2022-03-30T06:00:28.000Z
#define HELPER_OVERLAPPED_SESSION_CALL_C_0( ) #define HELPER_OVERLAPPED_SESSION_CALL_A_0( ) #define HELPER_OVERLAPPED_SESSION_CALL_P_0( ) #define HELPER_OVERLAPPED_SESSION_CALL_I_0( ) #define HELPER_OVERLAPPED_SESSION_CALL_M_0( ) #define DECLARE_OVERLAPPED_SESSION_CALL_0( XCallNameFN_T ) \ struct XCallNameFN...
90.361823
459
0.784437
DannyParker0001
39e32bb345f24ec8e744b243f14681b715305457
7,905
cpp
C++
Source/AllProjects/Tests/TestCIDLib/TestCIDLib_PerThreadData.cpp
eudora-jia/CIDLib
02795d283d95f8a5a4fafa401b6189851901b81b
[ "MIT" ]
1
2019-05-28T06:33:01.000Z
2019-05-28T06:33:01.000Z
Source/AllProjects/Tests/TestCIDLib/TestCIDLib_PerThreadData.cpp
eudora-jia/CIDLib
02795d283d95f8a5a4fafa401b6189851901b81b
[ "MIT" ]
null
null
null
Source/AllProjects/Tests/TestCIDLib/TestCIDLib_PerThreadData.cpp
eudora-jia/CIDLib
02795d283d95f8a5a4fafa401b6189851901b81b
[ "MIT" ]
null
null
null
// // FILE NAME: TestCIDLib_PerThreadData.cpp // // AUTHOR: Dean Roddey // // CREATED: 01/29/1998 // // COPYRIGHT: Charmed Quark Systems, Ltd @ 2019 // // This file is part of a demonstration program of the CIDLib C++ // Frameworks. Its contents are distributed 'as is', to provide guidance on // the use of the CIDLi...
31.494024
95
0.588362
eudora-jia
39e48bf081d40ec8db3df48831bb390e76566619
6,256
cpp
C++
UnitTest/AlgorismTest/vertex_delaunay_test.cpp
rocketman123456/RocketEngine
ede1670d70c4689a5dc8543ca5351e8f23fcb840
[ "Apache-2.0" ]
null
null
null
UnitTest/AlgorismTest/vertex_delaunay_test.cpp
rocketman123456/RocketEngine
ede1670d70c4689a5dc8543ca5351e8f23fcb840
[ "Apache-2.0" ]
null
null
null
UnitTest/AlgorismTest/vertex_delaunay_test.cpp
rocketman123456/RocketEngine
ede1670d70c4689a5dc8543ca5351e8f23fcb840
[ "Apache-2.0" ]
null
null
null
#include "Log/Log.h" #include "Window/DesktopWindow.h" #include "Render/SoftRasterizer.h" #include "Render/SoftTriangle.h" #include "Geometry/Vertex.h" #include "Geometry/Triangle.h" #include "Geometry/Sphere.h" #include "Geometry/Tetrahedra.h" #include "Geometry/MeshOperation/Delaunay3D.h" using namespace Rocket; #...
34
126
0.556426
rocketman123456
39e8a1fa6ba2d3f047d0316b7bd2a087c6c90956
15,548
cpp
C++
example/UIToolkitTest/mainwindow.cpp
fast01/chaosframework
28194bcca5f976fd5cf61448ca84ce545e94d822
[ "Apache-2.0" ]
2
2020-04-16T13:20:57.000Z
2021-06-24T02:05:25.000Z
example/UIToolkitTest/mainwindow.cpp
fast01/chaosframework
28194bcca5f976fd5cf61448ca84ce545e94d822
[ "Apache-2.0" ]
null
null
null
example/UIToolkitTest/mainwindow.cpp
fast01/chaosframework
28194bcca5f976fd5cf61448ca84ce545e94d822
[ "Apache-2.0" ]
null
null
null
/* * MainWindow.cpp * !CHOAS * Created by Bisegni Claudio. * * Copyright 2012 INFN, National Institute of Nuclear Physics * * 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...
31.346774
112
0.665166
fast01
39ee791e1476915f2238a14bb8473981b6f899bc
7,082
cpp
C++
image_common/image_transport/src/image_transport.cpp
zhj-buffer/ROS2-driver-for-Realsense
936cf27be4e7dc3d699ff99499e72ea8638cc622
[ "Apache-2.0" ]
null
null
null
image_common/image_transport/src/image_transport.cpp
zhj-buffer/ROS2-driver-for-Realsense
936cf27be4e7dc3d699ff99499e72ea8638cc622
[ "Apache-2.0" ]
null
null
null
image_common/image_transport/src/image_transport.cpp
zhj-buffer/ROS2-driver-for-Realsense
936cf27be4e7dc3d699ff99499e72ea8638cc622
[ "Apache-2.0" ]
null
null
null
/********************************************************************* * Software License Agreement (BSD License) * * Copyright (c) 2009, Willow Garage, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following condit...
33.093458
129
0.741175
zhj-buffer
39ef41a0e19e73f03e71ce04e9ff3a329f3330b0
104,341
cpp
C++
core/jni/android_opengl_GLES11.cpp
rio-31/android_frameworks_base-1
091a068a3288d27d77636708679dde58b7b7fd25
[ "Apache-2.0" ]
164
2015-01-05T16:49:11.000Z
2022-03-29T20:40:27.000Z
core/jni/android_opengl_GLES11.cpp
rio-31/android_frameworks_base-1
091a068a3288d27d77636708679dde58b7b7fd25
[ "Apache-2.0" ]
127
2015-01-12T12:02:32.000Z
2021-11-28T08:46:25.000Z
core/jni/android_opengl_GLES11.cpp
rio-31/android_frameworks_base-1
091a068a3288d27d77636708679dde58b7b7fd25
[ "Apache-2.0" ]
1,141
2015-01-01T22:54:40.000Z
2022-02-09T22:08:26.000Z
/* ** ** Copyright 2009, The Android Open Source Project ** ** 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 appl...
31.685697
129
0.644617
rio-31
39f29b35292f353d7248f2c14e87aa69ce48235a
2,824
cpp
C++
salmap_rv/src/salmap_rv_interface.cpp
flyingfalling/salmap_rv
61827a42f456afcd9c930646de33bc3f9533e3e2
[ "MIT" ]
1
2022-02-17T03:05:40.000Z
2022-02-17T03:05:40.000Z
salmap_rv/src/salmap_rv_interface.cpp
flyingfalling/salmap_rv
61827a42f456afcd9c930646de33bc3f9533e3e2
[ "MIT" ]
null
null
null
salmap_rv/src/salmap_rv_interface.cpp
flyingfalling/salmap_rv
61827a42f456afcd9c930646de33bc3f9533e3e2
[ "MIT" ]
null
null
null
#include <salmap_rv/include/salmap_rv_interface.hpp> #include <salmap_rv/include/salmap.hpp> #include <salmap_rv/include/itti_salmap.hpp> #include <salmap_rv/include/param_set.hpp> #include <salmap_rv/include/util_functs.hpp> using namespace salmap_rv; int salmap_vers( ) { return salmap_rv::SalMap::VERSION; } vo...
25.214286
199
0.661827
flyingfalling
39f2e3009dc60767bc21fd301b10c4e591572eea
1,139
cpp
C++
src/leetcode/q0101_0200/q0102.cpp
jielyu/leetcode
ce5327f5e5ceaa867ea2ddd58a93bfb02b427810
[ "MIT" ]
9
2020-04-09T12:37:50.000Z
2021-04-01T14:01:14.000Z
src/leetcode/q0101_0200/q0102.cpp
jielyu/leetcode
ce5327f5e5ceaa867ea2ddd58a93bfb02b427810
[ "MIT" ]
3
2020-05-05T02:43:54.000Z
2020-05-20T11:12:16.000Z
src/leetcode/q0101_0200/q0102.cpp
jielyu/leetcode
ce5327f5e5ceaa867ea2ddd58a93bfb02b427810
[ "MIT" ]
5
2020-04-17T02:32:10.000Z
2020-05-20T10:12:26.000Z
/* #面试刷题# 第0113期 #Leetcode# Q0102 按层次顺序遍历二叉树 难度:中 给定一个二叉树,返回其节点值的级别顺序遍历。即,从左到右,逐级递进)。 示例: Input: [3,9,20,null,null,15,7] Output: [[3],[9,20],[15,7]] */ #include "leetcode.h" namespace q0102 { template<typename T> bool run_testcases() { T slt; } // Runtime: 4 ms, faster than 94.38% // Memory Usage: 12.5 MB, less...
23.729167
58
0.535558
jielyu
39f474ef79a775e7cae39e502c4f1fcf981e7cf3
1,528
cpp
C++
dev_esp/lib/GasValue/GasValue.cpp
Granyy/SensAir
f56458322975a67793c6be92944e370cbd0117b2
[ "MIT" ]
2
2021-08-12T14:37:43.000Z
2021-08-17T13:59:35.000Z
dev_esp/lib/GasValue/GasValue.cpp
Granyy/SensAir
f56458322975a67793c6be92944e370cbd0117b2
[ "MIT" ]
null
null
null
dev_esp/lib/GasValue/GasValue.cpp
Granyy/SensAir
f56458322975a67793c6be92944e370cbd0117b2
[ "MIT" ]
2
2021-08-17T13:59:36.000Z
2021-11-05T03:46:12.000Z
/******************************************************************************/ /* @TITLE : GasValue.cpp */ /* @VERSION : 1.0 */ /* @CREATION : dec 27, 2017 ...
29.960784
80
0.524869
Granyy
39f491a0815135ec3d8aff68d39ff960d16fa93f
25,050
cpp
C++
c-transactions-extractor/code/main.cpp
rodrigo-brito/co-change-analysis
298bb5437371ab29fb94a9e2f9012d3a5cf033f7
[ "MIT" ]
1
2019-04-15T22:27:52.000Z
2019-04-15T22:27:52.000Z
c-transactions-extractor/code/main.cpp
rodrigo-brito/co-change-analysis
298bb5437371ab29fb94a9e2f9012d3a5cf033f7
[ "MIT" ]
1
2019-05-09T01:55:12.000Z
2019-05-09T02:14:41.000Z
c-transactions-extractor/code/main.cpp
rodrigo-brito/co-change-analysis
298bb5437371ab29fb94a9e2f9012d3a5cf033f7
[ "MIT" ]
2
2019-05-09T01:41:29.000Z
2019-06-12T18:59:45.000Z
#include <stdlib.h> #include <stdio.h> #include <stdarg.h> #include <string.h> #define assert(x) #define STB_LEAKCHECK_IMPLEMENTATION #include "stb_leakcheck.h" #include "dd_array.cpp" #define min(a, b) (a < b ? a:b) #define max(a, b) (a > b ? a:b) #include "Memory.h" #include "Array.cpp" #include "...
35.582386
160
0.506028
rodrigo-brito
39f821f32de24e02de68f7ffda67b4a5d03b2338
3,062
cpp
C++
svntrunk/src/untabbed/BlueMatter/analysis/src/bootstrap.cpp
Bhaskers-Blu-Org1/BlueMatter
1ab2c41af870c19e2e1b1095edd1d5c85eeb9b5e
[ "BSD-2-Clause" ]
7
2020-02-25T15:46:18.000Z
2022-02-25T07:04:47.000Z
svntrunk/src/untabbed/BlueMatter/analysis/src/bootstrap.cpp
IBM/BlueMatter
5243c0ef119e599fc3e9b7c4213ecfe837de59f3
[ "BSD-2-Clause" ]
null
null
null
svntrunk/src/untabbed/BlueMatter/analysis/src/bootstrap.cpp
IBM/BlueMatter
5243c0ef119e599fc3e9b7c4213ecfe837de59f3
[ "BSD-2-Clause" ]
5
2019-06-06T16:30:21.000Z
2020-11-16T19:43:01.000Z
/* Copyright 2001, 2019 IBM Corporation * * 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 and the * following d...
39.25641
118
0.6855
Bhaskers-Blu-Org1
39f94e132ec565178e4dd922c8930ca532840825
1,854
cc
C++
chrome/browser/ash/power/auto_screen_brightness/model_config.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
chrome/browser/ash/power/auto_screen_brightness/model_config.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
86
2015-10-21T13:02:42.000Z
2022-03-14T07:50:50.000Z
chrome/browser/ash/power/auto_screen_brightness/model_config.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 2019 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 <cmath> #include "chrome/browser/ash/power/auto_screen_brightness/model_config.h" namespace ash { namespace power { namespace auto_screen_brigh...
25.054054
79
0.696332
zealoussnow
39f9a1535130f5c46084c4e29bf8877c8ddc2cdd
12,330
cpp
C++
small-and-simple-programs-in-qt/computer-assembly-qt/computer-assembly/mainwindow.cpp
gusenov/examples-qt
083a51feedf6cefe82b6de79d701da23d1da2a2f
[ "MIT" ]
2
2020-09-01T18:37:30.000Z
2021-11-28T16:25:04.000Z
small-and-simple-programs-in-qt/computer-assembly-qt/computer-assembly/mainwindow.cpp
gusenov/examples-qt
083a51feedf6cefe82b6de79d701da23d1da2a2f
[ "MIT" ]
null
null
null
small-and-simple-programs-in-qt/computer-assembly-qt/computer-assembly/mainwindow.cpp
gusenov/examples-qt
083a51feedf6cefe82b6de79d701da23d1da2a2f
[ "MIT" ]
null
null
null
#include "mainwindow.h" #include "ui_mainwindow.h" #include <QDebug> #include <QDesktopServices> #include <QUrl> #include <QDir> #include <QMessageBox> // Конструктор: MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), // вызов родительского конструктора. ui(new Ui::MainWindow) { ...
32.88
110
0.66253
gusenov
39f9e16fdc0f4ff2f6f202000875bfcb3f0960f3
15,736
cpp
C++
oblibtest/testclot.cpp
uesp/tes4lib
7b426c9209ff7996d3d763e6d4e217abfefae406
[ "MIT" ]
1
2021-02-07T07:32:14.000Z
2021-02-07T07:32:14.000Z
oblibtest/testclot.cpp
uesp/tes4lib
7b426c9209ff7996d3d763e6d4e217abfefae406
[ "MIT" ]
null
null
null
oblibtest/testclot.cpp
uesp/tes4lib
7b426c9209ff7996d3d763e6d4e217abfefae406
[ "MIT" ]
null
null
null
/*=========================================================================== * * File: TestClot.CPP * Author: Dave Humphrey (uesp@sympatico.ca) * Created On: April 17, 2006 * * Description * *=========================================================================*/ /* Include Files */ #include "...
36.766355
129
0.626843
uesp
39fa8414a7efdd1a3993b0b3a31cad00cf0e31c9
10,880
hpp
C++
include/ripple/utility/memory.hpp
robclu/ripple
734dfa77e100a86b3c60589d41ca627e41d4a783
[ "MIT" ]
4
2021-04-25T16:38:12.000Z
2021-12-23T08:32:15.000Z
include/ripple/utility/memory.hpp
robclu/ripple
734dfa77e100a86b3c60589d41ca627e41d4a783
[ "MIT" ]
null
null
null
include/ripple/utility/memory.hpp
robclu/ripple
734dfa77e100a86b3c60589d41ca627e41d4a783
[ "MIT" ]
null
null
null
/**=--- ripple/utility/memory.hpp -------------------------- -*- C++ -*- ---==** * * Ripple * * Copyright (c) 2019 - 2021 Rob Clucas. * * This file is distributed under the MIT License. See LICENSE for details. * *==-----------------------------------------...
34.983923
80
0.688879
robclu
39fcd126f2f7b60511a4fffe5052e76a511f9731
7,477
cpp
C++
trunk/win/Source/BT_ThreadableUnit.cpp
dyzmapl/BumpTop
1329ea41411c7368516b942d19add694af3d602f
[ "Apache-2.0" ]
460
2016-01-13T12:49:34.000Z
2022-02-20T04:10:40.000Z
trunk/win/Source/BT_ThreadableUnit.cpp
dyzmapl/BumpTop
1329ea41411c7368516b942d19add694af3d602f
[ "Apache-2.0" ]
24
2016-11-07T04:59:49.000Z
2022-03-14T06:34:12.000Z
trunk/win/Source/BT_ThreadableUnit.cpp
dyzmapl/BumpTop
1329ea41411c7368516b942d19add694af3d602f
[ "Apache-2.0" ]
148
2016-01-17T03:16:43.000Z
2022-03-17T12:20:36.000Z
// Copyright 2012 Google Inc. 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 ap...
24.923333
153
0.671927
dyzmapl
2603f24fa10bb207b89b226b36885e6a30549682
5,911
hpp
C++
include/graphics.hpp
a276me/MilSim
b3ba8ef8cc46b6ae9cc7befece6cd00b016038ea
[ "MIT" ]
null
null
null
include/graphics.hpp
a276me/MilSim
b3ba8ef8cc46b6ae9cc7befece6cd00b016038ea
[ "MIT" ]
null
null
null
include/graphics.hpp
a276me/MilSim
b3ba8ef8cc46b6ae9cc7befece6cd00b016038ea
[ "MIT" ]
null
null
null
#pragma once #include "raylib.h" #include "main.hpp" #include "Division.hpp" const int SCREEN_WIDTH = 1280*1.5; const int SCREEN_HEIGHT = 960*1.2; Texture2D natoTest; Texture2D natoInf; Texture2D natoArmor; Texture2D natoMechInf; Texture2D hostileInf; Texture2D hostileArmor; Texture2D hostileMechInf; void initRL()...
34.366279
246
0.630012
a276me
26060c9cd453f6eb01ded7d869aafb8e9c4fb67d
997
hpp
C++
RayTracer/core/source/RTweekend.hpp
ZFhuang/AmbiRenderer
d223e1c4d947872c9011c1cba6a8f498ebbaf3b7
[ "Apache-2.0" ]
null
null
null
RayTracer/core/source/RTweekend.hpp
ZFhuang/AmbiRenderer
d223e1c4d947872c9011c1cba6a8f498ebbaf3b7
[ "Apache-2.0" ]
null
null
null
RayTracer/core/source/RTweekend.hpp
ZFhuang/AmbiRenderer
d223e1c4d947872c9011c1cba6a8f498ebbaf3b7
[ "Apache-2.0" ]
null
null
null
#pragma once #include <cmath> #include <limits> #include <memory> #include <random> // 保存Ray Tracing in One Weekend项目所需的基本常量和函数 using std::shared_ptr; using std::make_shared; using std::sqrt; const double infinity = std::numeric_limits<double>::infinity(); const double pi = 3.1415926535897932385; // 角度转弧度 inline ...
20.346939
70
0.706118
ZFhuang
2609c25feca6969e8f9c31b3be4f6301848dc8dc
3,645
cpp
C++
2017-09-10-practice/E.cpp
tangjz/Three-Investigators
46dc9b2f0fbb4fe89b075a81feaacc33feeb1b52
[ "MIT" ]
3
2018-04-02T06:00:51.000Z
2018-05-29T04:46:29.000Z
2017-09-10-practice/E.cpp
tangjz/Three-Investigators
46dc9b2f0fbb4fe89b075a81feaacc33feeb1b52
[ "MIT" ]
2
2018-03-31T17:54:30.000Z
2018-05-02T11:31:06.000Z
2017-09-10-practice/E.cpp
tangjz/Three-Investigators
46dc9b2f0fbb4fe89b075a81feaacc33feeb1b52
[ "MIT" ]
2
2018-10-07T00:08:06.000Z
2021-06-28T11:02:59.000Z
#include <bits/stdc++.h> using namespace std; typedef long long LL; typedef long double DB; const int maxn = 500001, INF = 0x3f3f3f3f; int rad, n, totL, totR; struct Query { int typ, x, y; } que[maxn]; struct Fraction { LL x, y; Fraction() {} Fraction(LL _x, LL _y) { // _y > 0 LL r = __gcd(abs(_x), _y); x = _x ...
28.476563
101
0.494925
tangjz
260e864a1f93c48554bc7ee15e6a536d28c1bc43
5,340
hpp
C++
include/GTGE/Editor/ParticleEditor/ParticleEditor.hpp
mackron/GTGameEngine
380d1e01774fe6bc2940979e4e5983deef0bf082
[ "BSD-3-Clause" ]
31
2015-03-19T08:44:48.000Z
2021-12-15T20:52:31.000Z
include/GTGE/Editor/ParticleEditor/ParticleEditor.hpp
mackron/GTGameEngine
380d1e01774fe6bc2940979e4e5983deef0bf082
[ "BSD-3-Clause" ]
19
2015-07-09T09:02:44.000Z
2016-06-09T03:51:03.000Z
include/GTGE/Editor/ParticleEditor/ParticleEditor.hpp
mackron/GTGameEngine
380d1e01774fe6bc2940979e4e5983deef0bf082
[ "BSD-3-Clause" ]
3
2017-10-04T23:38:18.000Z
2022-03-07T08:27:13.000Z
// Copyright (C) 2011 - 2014 David Reid. See included LICENCE. #ifndef GT_ParticleEditor #define GT_ParticleEditor #include "../SubEditor.hpp" #include "../Editor3DViewportEventHandler.hpp" #include "../EditorGrid.hpp" #include "../EditorAxisArrows.hpp" #include "../../ParticleSystem.hpp" #include "../../Scene.hpp" ...
27.525773
145
0.603933
mackron
260fbcac89d9c171b877e48c878a90c4994a737c
1,586
hpp
C++
legacy/galaxy/meta/UniqueId.hpp
reworks/rework
90508252c9a4c77e45a38e7ce63cfd99f533f42b
[ "Apache-2.0" ]
6
2018-07-21T20:37:01.000Z
2018-10-31T01:49:35.000Z
legacy/galaxy/meta/UniqueId.hpp
reworks/rework
90508252c9a4c77e45a38e7ce63cfd99f533f42b
[ "Apache-2.0" ]
null
null
null
legacy/galaxy/meta/UniqueId.hpp
reworks/rework
90508252c9a4c77e45a38e7ce63cfd99f533f42b
[ "Apache-2.0" ]
null
null
null
/// /// UniqueId.hpp /// galaxy /// /// Refer to LICENSE.txt for more details. /// #ifndef GALAXY_META_UNIQUEID_HPP_ #define GALAXY_META_UNIQUEID_HPP_ #include "galaxy/meta/Concepts.hpp" namespace galaxy { namespace meta { /// /// Generates a unique id for a type for each type of specialization. /// And the ...
19.341463
75
0.628625
reworks