hexsha
stringlengths
40
40
size
int64
19
11.4M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
3
270
max_stars_repo_name
stringlengths
5
110
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
float64
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
3
270
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
78
max_issues_repo_licenses
listlengths
1
9
max_issues_count
float64
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
3
270
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
78
max_forks_repo_licenses
listlengths
1
9
max_forks_count
float64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
19
11.4M
avg_line_length
float64
1.93
229k
max_line_length
int64
12
688k
alphanum_fraction
float64
0.07
0.99
matches
listlengths
1
10
950f68808ecf8ef9fd05ddc235d3bcc0d2066f74
85,223
cpp
C++
src/core/index/Trie.cpp
SRCH2/srch2-ngn
925f36971aa6a8b31cdc59f7992790169e97ee00
[ "BSD-3-Clause" ]
14
2016-01-15T20:26:54.000Z
2018-11-26T20:47:43.000Z
src/core/index/Trie.cpp
SRCH2/srch2-ngn
925f36971aa6a8b31cdc59f7992790169e97ee00
[ "BSD-3-Clause" ]
2
2016-04-26T05:29:01.000Z
2016-05-07T00:13:38.000Z
src/core/index/Trie.cpp
SRCH2/srch2-ngn
925f36971aa6a8b31cdc59f7992790169e97ee00
[ "BSD-3-Clause" ]
7
2016-02-27T11:35:59.000Z
2018-11-26T20:47:59.000Z
/* * Copyright (c) 2016, SRCH2 * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright * notice, this list of conditions ...
39.164982
156
0.686352
[ "object", "vector" ]
951ebc7714bf811d1dc47863772b9842bc328514
52,320
cpp
C++
Blizzlike/Trinity/Scripts/Commands/cs_lookup.cpp
499453466/Lua-Other
43fd2b72405faf3f2074fd2a2706ef115d16faa6
[ "Unlicense" ]
2
2015-06-23T16:26:32.000Z
2019-06-27T07:45:59.000Z
Blizzlike/Trinity/Scripts/Commands/cs_lookup.cpp
Eduardo-Silla/Lua-Other
db610f946dbcaf81b3de9801f758e11a7bf2753f
[ "Unlicense" ]
null
null
null
Blizzlike/Trinity/Scripts/Commands/cs_lookup.cpp
Eduardo-Silla/Lua-Other
db610f946dbcaf81b3de9801f758e11a7bf2753f
[ "Unlicense" ]
3
2015-01-10T18:22:59.000Z
2021-04-27T21:28:28.000Z
/* * Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/> * * 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 ve...
37.559225
171
0.493387
[ "object" ]
95210e5a0803083a05827a07a27964f608a467c5
314
hpp
C++
sample/win32/empty/include/test_scene.hpp
overworks/MhGameLib
87973e29633ed09a3fa51eb27ea7fc8af5e9d71b
[ "MIT" ]
null
null
null
sample/win32/empty/include/test_scene.hpp
overworks/MhGameLib
87973e29633ed09a3fa51eb27ea7fc8af5e9d71b
[ "MIT" ]
null
null
null
sample/win32/empty/include/test_scene.hpp
overworks/MhGameLib
87973e29633ed09a3fa51eb27ea7fc8af5e9d71b
[ "MIT" ]
null
null
null
#ifndef _MH_TEST_SCENE_HPP_ #define _MH_TEST_SCENE_HPP_ #include <mh/scene.hpp> namespace Mh { // 전방선언 class Renderer; class TestScene { public: TestScene(); ~TestScene(); void update(); void render(Renderer* renderer); private: Scene::Manager* m_manager; }; } #endif // _MH_TEST_SCENE_HPP_
12.56
34
0.703822
[ "render" ]
952ea3e5707860176b0854224208622047a27ca8
4,870
cpp
C++
Codeforces/GYM/2011_NWERC/D.cpp
Mindjolt2406/Competitive-Programming
d000d98bf7005ee4fb809bcea2f110e4c4793b80
[ "MIT" ]
2
2018-12-11T14:37:24.000Z
2022-01-23T18:11:54.000Z
Codeforces/GYM/2011_NWERC/D.cpp
Mindjolt2406/Competitive-Programming
d000d98bf7005ee4fb809bcea2f110e4c4793b80
[ "MIT" ]
null
null
null
Codeforces/GYM/2011_NWERC/D.cpp
Mindjolt2406/Competitive-Programming
d000d98bf7005ee4fb809bcea2f110e4c4793b80
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> // g++ -std=c++17 -Wl,-stack_size -Wl,0x10000000 main.cpp #define mt make_tuple #define mp make_pair #define pu push_back #define INF 1000000001 #define MOD 1000000007 #define EPS 1e-6 #define ll long long int #define ld long double #define fi first #define se second #define all(v) v.begin(),v.e...
33.356164
226
0.431006
[ "vector" ]
953759b0a783bce4cf2462094e36543ed6d2d737
6,225
hpp
C++
mango/include/mango/ui.hpp
pethipet/Mango
f89a93a11df365440ce7a8fb48f8336eac2c63f0
[ "Apache-2.0" ]
3
2020-05-12T09:30:41.000Z
2020-10-04T21:27:03.000Z
mango/include/mango/ui.hpp
pethipet/Mango
f89a93a11df365440ce7a8fb48f8336eac2c63f0
[ "Apache-2.0" ]
1
2020-03-21T20:34:10.000Z
2020-03-22T13:58:41.000Z
mango/include/mango/ui.hpp
pethipet/Mango
f89a93a11df365440ce7a8fb48f8336eac2c63f0
[ "Apache-2.0" ]
3
2020-06-24T16:32:44.000Z
2020-08-14T14:44:20.000Z
//! \file ui.hpp //! \author Paul Himmler //! \version 1.0 //! \date 2021 //! \copyright Apache License 2.0 #ifndef MANGO_UI_HPP #define MANGO_UI_HPP #include <mango/assert.hpp> namespace mango { //! \brief Prebuild widgets for the ui. enum ui_widget { render_view, /...
43.838028
147
0.635502
[ "render" ]
95384a546841453f88bddd3c5f64ef4f0dc69d32
6,091
cpp
C++
lib/djvViewApp/SettingsWidget.cpp
pafri/DJV
9db15673b6b03ad3743f57119118261b1fbe8810
[ "BSD-3-Clause" ]
456
2018-10-06T00:07:14.000Z
2022-03-31T06:14:22.000Z
lib/djvViewApp/SettingsWidget.cpp
pafri/DJV
9db15673b6b03ad3743f57119118261b1fbe8810
[ "BSD-3-Clause" ]
438
2018-10-31T15:05:51.000Z
2022-03-31T09:01:24.000Z
lib/djvViewApp/SettingsWidget.cpp
pafri/DJV
9db15673b6b03ad3743f57119118261b1fbe8810
[ "BSD-3-Clause" ]
54
2018-10-29T10:18:36.000Z
2022-03-23T06:56:11.000Z
// SPDX-License-Identifier: BSD-3-Clause // Copyright (c) 2020 Darby Johnston // All rights reserved. #include <djvViewApp/SettingsWidget.h> #include <djvViewApp/ApplicationSettings.h> #include <djvViewApp/IViewAppSystem.h> #include <djvUIComponents/SettingsIWidget.h> #include <djvUI/Bellows.h> #include <djvUI/Labe...
36.473054
113
0.49844
[ "vector" ]
953d22afd1bfd609ce12bba491d8510ffc0fcaa8
13,499
cpp
C++
YUV420P_Player.cpp
alexportnov/Video360OpenGL
57a08808695e9ab01760ddf1e934d8bad5a2095b
[ "MIT" ]
2
2019-06-22T05:42:05.000Z
2020-09-28T05:01:57.000Z
YUV420P_Player.cpp
alexportnov/Video360OpenGL
57a08808695e9ab01760ddf1e934d8bad5a2095b
[ "MIT" ]
null
null
null
YUV420P_Player.cpp
alexportnov/Video360OpenGL
57a08808695e9ab01760ddf1e934d8bad5a2095b
[ "MIT" ]
1
2022-03-23T20:28:45.000Z
2022-03-23T20:28:45.000Z
/* ** Copyright (c) 2016 AlexP ** ** Permission is hereby granted, free of charge, to any person obtaining a ** copy of this software and/or associated documentation files (the ** "Materials"), to deal in the Materials without restriction, including ** without limitation the rights to use, copy, modify, merge, publish,...
34.348601
128
0.648196
[ "render", "object" ]
953db6628ff6433f681f7cecdaa5c745f9bcb8e0
95
cpp
C++
LeetCode/416.cpp
jnvshubham7/CPP_Programming
a17c4a42209556495302ca305b7c3026df064041
[ "Apache-2.0" ]
1
2021-12-22T12:37:36.000Z
2021-12-22T12:37:36.000Z
LeetCode/416.cpp
jnvshubham7/CPP_Programming
a17c4a42209556495302ca305b7c3026df064041
[ "Apache-2.0" ]
null
null
null
LeetCode/416.cpp
jnvshubham7/CPP_Programming
a17c4a42209556495302ca305b7c3026df064041
[ "Apache-2.0" ]
null
null
null
class Solution { public: bool canPartition(vector<int>& nums) { } };
11.875
42
0.505263
[ "vector" ]
953f466737ff8dbebbc8560075eb82ef47e15be3
550
cpp
C++
codeforces/510_2/a.cpp
sidgairo18/Programming-Practice
348ad38452fa9fa7b7302161455d3b3f697734da
[ "MIT" ]
2
2018-06-26T09:52:14.000Z
2018-07-12T15:02:01.000Z
codeforces/510_2/a.cpp
sidgairo18/Programming-Practice
348ad38452fa9fa7b7302161455d3b3f697734da
[ "MIT" ]
null
null
null
codeforces/510_2/a.cpp
sidgairo18/Programming-Practice
348ad38452fa9fa7b7302161455d3b3f697734da
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main(){ int n,m; vector<int> v; int x; cin>>n>>m; for(int i = 0; i<n; i++){ cin>>x; v.push_back(x); } sort(v.begin(), v.end()); int max_k = v[n-1]+m; int min_k = 0; while(m){ v[0]++; ...
12.5
38
0.374545
[ "vector" ]
9549a265258b8c90cc5746793410c4953c40d935
3,610
hpp
C++
include/Buffer.hpp
CEBEP9HUH/Diploma
aa481646106ba2a71aad22ddd936104f08a843f4
[ "MIT" ]
null
null
null
include/Buffer.hpp
CEBEP9HUH/Diploma
aa481646106ba2a71aad22ddd936104f08a843f4
[ "MIT" ]
null
null
null
include/Buffer.hpp
CEBEP9HUH/Diploma
aa481646106ba2a71aad22ddd936104f08a843f4
[ "MIT" ]
null
null
null
#pragma once /* Buffer<buffer_t> is a shared memory place which can get values from producer and provides them to consumer. PriorityBuffer<buffer_t, comparator> is a shared memory place which can get values from producer and provides them to consumer. Return values by priority. Priority is sets ...
31.391304
100
0.58892
[ "vector" ]
9552819303047c330bde1b929f554a546ea7ebd3
498
cpp
C++
C++/228.cpp
TianChenjiang/LeetCode
a680c90bc968eba5aa76c3674af1f2d927986ec7
[ "MIT" ]
1
2021-08-31T08:53:47.000Z
2021-08-31T08:53:47.000Z
C++/228.cpp
TianChenjiang/LeetCode
a680c90bc968eba5aa76c3674af1f2d927986ec7
[ "MIT" ]
null
null
null
C++/228.cpp
TianChenjiang/LeetCode
a680c90bc968eba5aa76c3674af1f2d927986ec7
[ "MIT" ]
null
null
null
class Solution { public: vector<string> summaryRanges(vector<int>& nums) { vector<string> res; for (int i = 0; i < nums.size(); i++) { int start = i, end = i+1; while (end < nums.size() && nums[end] == nums[end-1]+1) end++; string tmp = to_string(nums[start]); ...
33.2
87
0.465863
[ "vector" ]
955ef4cd10e5b839892510bfdd07f61f0521924a
12,587
hpp
C++
EquiLand/source/widgets/TreeRangeEditor.hpp
Nightfallen/EquiLand
2db53f4800fb450a27ec85224c9d7f8a9a24409a
[ "MIT" ]
null
null
null
EquiLand/source/widgets/TreeRangeEditor.hpp
Nightfallen/EquiLand
2db53f4800fb450a27ec85224c9d7f8a9a24409a
[ "MIT" ]
23
2021-11-14T19:27:59.000Z
2021-11-29T20:58:06.000Z
EquiLand/source/widgets/TreeRangeEditor.hpp
Nightfallen/EquiLand
2db53f4800fb450a27ec85224c9d7f8a9a24409a
[ "MIT" ]
null
null
null
#ifndef SOURCE_WIDGETS_TREERANGEEDITOR_HPP #define SOURCE_WIDGETS_TREERANGEEDITOR_HPP #include <includes_pch.h> #include <source/widgets/BasicCustomWidgets.hpp> #include <fonts/DefinesFontAwesome.hpp> #include <source/structures.hpp> #include <source/AppSettings.hpp> namespace widgets::EquiLand { enum NodeContextMen...
28.54195
170
0.664892
[ "vector" ]
95628a2501aecac36ffca56de6d0dcccf4efa00f
4,215
hpp
C++
src/AmplInterface.hpp
ghackebeil/gjh_asl_json
867c5da3909ca8594eb0216f417deccd6792193a
[ "Unlicense" ]
2
2018-03-27T20:12:36.000Z
2019-10-29T13:50:08.000Z
src/AmplInterface.hpp
ghackebeil/gjh_asl_json
867c5da3909ca8594eb0216f417deccd6792193a
[ "Unlicense" ]
3
2016-04-03T06:25:09.000Z
2021-11-10T08:38:16.000Z
src/AmplInterface.hpp
ghackebeil/gjh_asl_json
867c5da3909ca8594eb0216f417deccd6792193a
[ "Unlicense" ]
1
2021-06-28T18:10:31.000Z
2021-06-28T18:10:31.000Z
/* *** NOTE: Although the output from WriteSummary() can be parsed using both JSON and YAML, currently the values -inf and inf are written in such a way that only JSON will correctly interpret them for Python. In summary: Current implementation - C (-inf, inf) -> JSON (-Infinity, Infinity)...
27.730263
80
0.695136
[ "vector" ]
95716999f6d495081be51bb59b99392728943596
15,396
cpp
C++
UnrealEngine-4.11.2-release/Engine/Source/Editor/AIGraph/Private/AIGraphTypes.cpp
armroyce/Unreal
ea1cdebe70407d59af4e8366d7111c52ce4606df
[ "MIT" ]
1
2016-10-01T21:35:52.000Z
2016-10-01T21:35:52.000Z
UnrealEngine-4.11.2-release/Engine/Source/Editor/AIGraph/Private/AIGraphTypes.cpp
armroyce/Unreal
ea1cdebe70407d59af4e8366d7111c52ce4606df
[ "MIT" ]
null
null
null
UnrealEngine-4.11.2-release/Engine/Source/Editor/AIGraph/Private/AIGraphTypes.cpp
armroyce/Unreal
ea1cdebe70407d59af4e8366d7111c52ce4606df
[ "MIT" ]
1
2021-04-27T08:48:33.000Z
2021-04-27T08:48:33.000Z
// Copyright 1998-2016 Epic Games, Inc. All Rights Reserved. #include "AIGraphPrivatePCH.h" #include "PackageTools.h" #include "MessageLog.h" #include "AssetRegistryModule.h" #include "HotReloadInterface.h" #define LOCTEXT_NAMESPACE "SClassViewer" FGraphNodeClassData::FGraphNodeClassData(UClass* InClass, const FStri...
29.159091
155
0.7563
[ "object" ]
9584cfa7b603b0cfad65ad788355b42ef8e6cf5f
8,112
cpp
C++
src/OpenSpaceToolkit/Mathematics/Geometry/2D/Objects/Point.cpp
open-space-collective/open-space-toolkit-mathematics
4b97f97f4aaa87bff848381a3519c6f764461378
[ "Apache-2.0" ]
5
2020-05-11T02:22:05.000Z
2022-02-02T15:26:35.000Z
src/OpenSpaceToolkit/Mathematics/Geometry/2D/Objects/Point.cpp
open-space-collective/open-space-toolkit-mathematics
4b97f97f4aaa87bff848381a3519c6f764461378
[ "Apache-2.0" ]
6
2020-01-05T20:18:18.000Z
2021-10-14T09:36:44.000Z
src/OpenSpaceToolkit/Mathematics/Geometry/2D/Objects/Point.cpp
open-space-collective/open-space-toolkit-mathematics
4b97f97f4aaa87bff848381a3519c6f764461378
[ "Apache-2.0" ]
2
2020-03-05T18:18:13.000Z
2020-04-07T17:42:24.000Z
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// /// @project Open Space Toolkit ▸ Mathematics /// @file OpenSpaceToolkit/Mathematics/Geometry/2D/Objects/Point.cpp /// @author Lucas ...
30.496241
167
0.360207
[ "geometry", "object", "vector" ]
958c78eb5c16d76a15d024270e6196fa199b3817
2,508
cpp
C++
PlatformIO/Peak-ESP32-fw/src/App/Pages/SystemInfos/SystemInfos.cpp
Xinyuan-LilyGO/T-Watch-2019-reissue-peak
9bc2b065e652ce78ef1bcff50a250d6bbea866e1
[ "MIT" ]
null
null
null
PlatformIO/Peak-ESP32-fw/src/App/Pages/SystemInfos/SystemInfos.cpp
Xinyuan-LilyGO/T-Watch-2019-reissue-peak
9bc2b065e652ce78ef1bcff50a250d6bbea866e1
[ "MIT" ]
null
null
null
PlatformIO/Peak-ESP32-fw/src/App/Pages/SystemInfos/SystemInfos.cpp
Xinyuan-LilyGO/T-Watch-2019-reissue-peak
9bc2b065e652ce78ef1bcff50a250d6bbea866e1
[ "MIT" ]
1
2021-12-22T08:32:14.000Z
2021-12-22T08:32:14.000Z
#include "SystemInfos.h" #include "App/Configs/Version.h" using namespace Page; SystemInfos::SystemInfos() { } SystemInfos::~SystemInfos() { } void SystemInfos::onCustomAttrConfig() { } void SystemInfos::onViewLoad() { Model.Init(); View.Create(root); AttachEvent(root); AttachEvent(View.ui.joints.icon); Att...
17.661972
72
0.725678
[ "model" ]
958ceb8019afdb4c4035eb587a2cf0307195157b
3,228
cpp
C++
opencv_contrib/src/+cv/private/WBDetector_.cpp
zsj0577/mexopencv
678ced73615f3581a0fe09823758446ff4ca3197
[ "BSD-3-Clause" ]
null
null
null
opencv_contrib/src/+cv/private/WBDetector_.cpp
zsj0577/mexopencv
678ced73615f3581a0fe09823758446ff4ca3197
[ "BSD-3-Clause" ]
null
null
null
opencv_contrib/src/+cv/private/WBDetector_.cpp
zsj0577/mexopencv
678ced73615f3581a0fe09823758446ff4ca3197
[ "BSD-3-Clause" ]
null
null
null
/** * @file WBDetector_.cpp * @brief mex interface for cv::xobjdetect::WBDetector * @ingroup xobjdetect * @author Amro * @date 2016 */ #include "mexopencv.hpp" #include "opencv2/xobjdetect.hpp" using namespace std; using namespace cv; using namespace cv::xobjdetect; // Persistent objects namespace { /// Last obj...
31.038462
76
0.57342
[ "object", "vector" ]
958efe02b3352d133307073d9565a795cdba8a5d
14,167
cxx
C++
MITK/Modules/OpenCV/Testing/mitkCameraCalibrationFacadeTest.cxx
NifTK/NifTK
2358b333c89ff1bba1c232eecbbcdc8003305dfe
[ "BSD-3-Clause" ]
13
2018-07-28T13:36:38.000Z
2021-11-01T19:17:39.000Z
MITK/Modules/OpenCV/Testing/mitkCameraCalibrationFacadeTest.cxx
NifTK/NifTK
2358b333c89ff1bba1c232eecbbcdc8003305dfe
[ "BSD-3-Clause" ]
null
null
null
MITK/Modules/OpenCV/Testing/mitkCameraCalibrationFacadeTest.cxx
NifTK/NifTK
2358b333c89ff1bba1c232eecbbcdc8003305dfe
[ "BSD-3-Clause" ]
10
2018-08-20T07:06:00.000Z
2021-07-07T07:55:27.000Z
/*============================================================================= NifTK: A software platform for medical image computing. Copyright (c) University College London (UCL). All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY o...
41.79056
171
0.71476
[ "vector" ]
d2e7e230ed99eb2a8763391d03600bb25aaf3bae
9,163
cpp
C++
OpenSim/Actuators/TorqueActuator.cpp
chrisdembia/opensim-debian
50c255ce850aab252f26ac73b67bd2b78dc65cfe
[ "Apache-2.0" ]
null
null
null
OpenSim/Actuators/TorqueActuator.cpp
chrisdembia/opensim-debian
50c255ce850aab252f26ac73b67bd2b78dc65cfe
[ "Apache-2.0" ]
null
null
null
OpenSim/Actuators/TorqueActuator.cpp
chrisdembia/opensim-debian
50c255ce850aab252f26ac73b67bd2b78dc65cfe
[ "Apache-2.0" ]
null
null
null
/* -------------------------------------------------------------------------- * * OpenSim: TorqueActuator.cpp * * -------------------------------------------------------------------------- * * The OpenSim API is a toolkit for musculoskeletal modeling and simulation. * ...
38.179167
115
0.562043
[ "object", "vector", "model", "transform" ]
d2eaaef09d3a36372ace0c1cf542de4bf97ac6d4
2,247
cpp
C++
DataStructures/森森旅游完成版.cpp
Yurzi/Jlu-C-OJ
1bbf0532ded06b31e6516f90270760f11ccb1b3c
[ "MIT" ]
7
2020-11-02T13:15:36.000Z
2021-07-06T05:09:55.000Z
DataStructures/森森旅游完成版.cpp
Yurzi/Jlu-C-OJ
1bbf0532ded06b31e6516f90270760f11ccb1b3c
[ "MIT" ]
null
null
null
DataStructures/森森旅游完成版.cpp
Yurzi/Jlu-C-OJ
1bbf0532ded06b31e6516f90270760f11ccb1b3c
[ "MIT" ]
null
null
null
#include<iostream> #include<algorithm> #include<cstring> #include<string> #include<cmath> #include<vector> #include<cstdio> #include<set> #include<map> #include<queue> #define lowbit(x) x&(-x) #define debug(a) cout<<"debug:"<<#a<<"\n" using namespace std; typedef long long LL; typedef pair<LL,LL>P;///first距离,second编号 ...
23.652632
51
0.512239
[ "vector" ]
d2f102efef111d5b9d69478077358a141ceecfb3
2,243
cpp
C++
maze.cpp
tlpierce/maze
86348875fed36adfd1b8f120dcfc77067bf1052b
[ "BSD-3-Clause" ]
63
2015-02-20T14:04:03.000Z
2022-01-26T06:02:17.000Z
maze.cpp
tlpierce/maze
86348875fed36adfd1b8f120dcfc77067bf1052b
[ "BSD-3-Clause" ]
5
2017-09-04T04:02:37.000Z
2020-08-31T01:33:14.000Z
maze.cpp
tlpierce/maze
86348875fed36adfd1b8f120dcfc77067bf1052b
[ "BSD-3-Clause" ]
22
2015-04-08T17:02:29.000Z
2022-01-24T04:28:42.000Z
// Maze generator in C++ // Joe Wingbermuehle 2013-11-15 #include <algorithm> #include <cmath> #include <iostream> #include <vector> class Maze { public: /** Constructor. */ Maze(unsigned width, unsigned height) : m_width(width), m_height(height) { m_maze.resize(m_width * m_height); } ...
23.123711
71
0.510477
[ "vector" ]
960581992e510b4df691bd0d84c47b3c20bd6024
8,635
cpp
C++
src/ivorium_systems/TimeSystem/TimeSystem.cpp
ivorne/ivorium
1d876b6dcabe29b3110d3058f997e59c40cd6a2b
[ "Apache-2.0" ]
3
2021-02-26T02:59:09.000Z
2022-02-08T16:44:21.000Z
src/ivorium_systems/TimeSystem/TimeSystem.cpp
ivorne/ivorium
1d876b6dcabe29b3110d3058f997e59c40cd6a2b
[ "Apache-2.0" ]
null
null
null
src/ivorium_systems/TimeSystem/TimeSystem.cpp
ivorne/ivorium
1d876b6dcabe29b3110d3058f997e59c40cd6a2b
[ "Apache-2.0" ]
null
null
null
#include "TimeSystem.hpp" #include "Watch.hpp" #include "FixedUpdateClient.hpp" #include <limits> namespace iv { TimeSystem::TimeSystem( SystemContainer * sc ) : System( sc ), frame_time_ms( 0 ), frame_length_ms( 0 ), frame_update_queued( false ), frame_clients_iterator( frame_clients.end() ) { ...
30.949821
148
0.610075
[ "vector" ]
96127161391bfd0b181ccc1db18cb8b1e00aeca2
6,015
cpp
C++
src/core/serialization/serialization.cpp
onqtam/game
08d9f2871bfd5c757d541064b77d38474123592a
[ "MIT" ]
41
2016-10-12T15:54:04.000Z
2022-01-12T04:17:20.000Z
src/core/serialization/serialization.cpp
onqtam/game
08d9f2871bfd5c757d541064b77d38474123592a
[ "MIT" ]
null
null
null
src/core/serialization/serialization.cpp
onqtam/game
08d9f2871bfd5c757d541064b77d38474123592a
[ "MIT" ]
10
2015-09-16T19:56:36.000Z
2021-12-27T21:12:11.000Z
#include "serialization_common.h" #include "serialization_2.h" #include "utils/base64/base64.h" #include <sstream> #include <iomanip> // taken from here: https://stackoverflow.com/a/33799784/3162383 static std::string escape_json(cstr s, size_t size) { std::ostringstream o; for(size_t i = 0; i < size; ++i) { ...
38.06962
100
0.609975
[ "vector", "transform" ]
962945f9c2c43054ca9e42f5a420e89e2bbd4adf
10,818
hpp
C++
include/SSD1306I2C.hpp
gengyuchao/oled_ssd1306
c61661af40e58a1067482dbce257bf4410ca27ad
[ "MIT" ]
8
2019-07-14T02:07:45.000Z
2021-06-26T10:06:50.000Z
include/SSD1306I2C.hpp
gengyuchao/oled_ssd1306
c61661af40e58a1067482dbce257bf4410ca27ad
[ "MIT" ]
1
2019-07-30T16:22:24.000Z
2019-08-14T12:59:49.000Z
include/SSD1306I2C.hpp
gengyuchao/oled_ssd1306
c61661af40e58a1067482dbce257bf4410ca27ad
[ "MIT" ]
3
2019-12-22T15:52:15.000Z
2021-06-26T10:06:51.000Z
/** * The MIT License (MIT) * * Copyright (c) 2019 by Helmut Tschemernjak - www.radioshuttle.de * Copyright (c) 2019 by gengyuchao - https://github.com/gengyuchao * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"...
23.880795
99
0.689037
[ "geometry" ]
9629750cb22b9daecbaae60353b3d2a4a2f3d68c
684
cpp
C++
DataStructures/Arrays/find-sum-of-hour-glass-2d-array.cpp
WajahatSiddiqui/workspace
7c6172a76d7cd178ea0c0cb9767ceaaed783545a
[ "Apache-2.0" ]
1
2021-03-19T10:57:21.000Z
2021-03-19T10:57:21.000Z
DataStructures/Arrays/find-sum-of-hour-glass-2d-array.cpp
WajahatSiddiqui/Datastructures-and-Algorithms
7c6172a76d7cd178ea0c0cb9767ceaaed783545a
[ "Apache-2.0" ]
1
2015-03-15T17:49:52.000Z
2015-03-15T17:51:38.000Z
DataStructures/Arrays/find-sum-of-hour-glass-2d-array.cpp
WajahatSiddiqui/Datastructures-and-Algorithms
7c6172a76d7cd178ea0c0cb9767ceaaed783545a
[ "Apache-2.0" ]
null
null
null
/** * Find sum of maximum hour glass in a 2D array */ #include <iostream> #include <vector> #include <limits.h> using namespace std; int findMaxSum(vector< vector<int> > A) { int sum = 0; int max = INT_MIN; int dx[] = {-1, -1, -1, 0, 1, 1, 1}; int dy[] = {-1, 0, 1, 0, -1, 0, 1}; for (int i = 1; i <=...
19.542857
47
0.472222
[ "vector" ]
9629b41317edc742d188eef3d1a6c2f6a830d563
1,392
cpp
C++
ch13/13.56.cpp
wangxiangbozju/Cpp-Primer-5th-Exercises
920f9ac41457db88de296d8409c12dedd5200c59
[ "Apache-2.0" ]
null
null
null
ch13/13.56.cpp
wangxiangbozju/Cpp-Primer-5th-Exercises
920f9ac41457db88de296d8409c12dedd5200c59
[ "Apache-2.0" ]
null
null
null
ch13/13.56.cpp
wangxiangbozju/Cpp-Primer-5th-Exercises
920f9ac41457db88de296d8409c12dedd5200c59
[ "Apache-2.0" ]
null
null
null
#include <vector> #include <algorithm> #include <iostream> class Foo { public: Foo() = default; Foo(std::initializer_list<int> il) : data(il) { } Foo sorted() &&; Foo sorted() const &; void print() const; private: std::vector<int> data; }; Foo Foo::sorted() && { std::cout << "Foo Foo::sorted() &&" <<...
21.090909
86
0.558908
[ "vector" ]
962ebf5dba7bbb455867d70acd887f7cfabace18
5,846
cp
C++
MacOS/Sources/Application/Windows/CTableViewWindow.cp
mulberry-mail/mulberry4-client
cdaae15c51dd759110b4fbdb2063d0e3d5202103
[ "ECL-2.0", "Apache-2.0" ]
12
2015-04-21T16:10:43.000Z
2021-11-05T13:41:46.000Z
MacOS/Sources/Application/Windows/CTableViewWindow.cp
mulberry-mail/mulberry4-client
cdaae15c51dd759110b4fbdb2063d0e3d5202103
[ "ECL-2.0", "Apache-2.0" ]
2
2015-11-02T13:32:11.000Z
2019-07-10T21:11:21.000Z
MacOS/Sources/Application/Windows/CTableViewWindow.cp
mulberry-mail/mulberry4-client
cdaae15c51dd759110b4fbdb2063d0e3d5202103
[ "ECL-2.0", "Apache-2.0" ]
6
2015-01-12T08:49:12.000Z
2021-03-27T09:11:10.000Z
/* Copyright (c) 2007 Cyrus Daboo. 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 re...
24.460251
104
0.727506
[ "object" ]
9635537a9efd2891bf650b6cbdea67f3bacda262
811
cc
C++
src/buffersize.cc
northpool1/node-jpeg-turbo
496c702729cd6f27581b233ef6e5b28ee07cfac9
[ "Apache-2.0" ]
4
2019-07-10T09:38:53.000Z
2021-07-09T22:48:49.000Z
src/buffersize.cc
northpool1/node-jpeg-turbo
496c702729cd6f27581b233ef6e5b28ee07cfac9
[ "Apache-2.0" ]
7
2019-06-02T21:27:52.000Z
2022-02-09T18:29:36.000Z
src/buffersize.cc
northpool1/node-jpeg-turbo
496c702729cd6f27581b233ef6e5b28ee07cfac9
[ "Apache-2.0" ]
9
2019-08-15T04:26:06.000Z
2022-01-24T11:32:52.000Z
#include "buffersize.h" Napi::Value BufferSize(const Napi::CallbackInfo &info) { Napi::Env env = info.Env(); if (info.Length() < 1) { Napi::TypeError::New(env, "Not enough arguments") .ThrowAsJavaScriptException(); return env.Null(); } if (!info[0].IsObject()) { Napi::TypeError::New(e...
24.575758
103
0.681874
[ "object" ]
9639513fc99c2c8568cfefc63a58b124be84e981
13,218
cpp
C++
src/C++/crypto++/crypto++-5.0/asn.cpp
GaloisInc/hacrypto
5c99d7ac73360e9b05452ac9380c1c7dc6784849
[ "BSD-3-Clause" ]
34
2015-02-04T18:03:14.000Z
2020-11-10T06:45:28.000Z
src/C++/crypto++/crypto++-5.0/asn.cpp
GaloisInc/hacrypto
5c99d7ac73360e9b05452ac9380c1c7dc6784849
[ "BSD-3-Clause" ]
5
2015-06-30T21:17:00.000Z
2016-06-14T22:31:51.000Z
src/C++/crypto++/crypto++-5.0/asn.cpp
GaloisInc/hacrypto
5c99d7ac73360e9b05452ac9380c1c7dc6784849
[ "BSD-3-Clause" ]
15
2015-10-29T14:21:58.000Z
2022-01-19T07:33:14.000Z
// asn.cpp - written and placed in the public domain by Wei Dai #include "pch.h" #include "asn.h" #include <iomanip> #include <time.h> NAMESPACE_BEGIN(CryptoPP) USING_NAMESPACE(std) /// DER Length unsigned int DERLengthEncode(BufferedTransformation &bt, unsigned int length) { unsigned int i=0; if (...
23.7307
167
0.681798
[ "object" ]
963f973ec1e6888bcf58c18dcb629bdc7138c085
6,690
cpp
C++
game_order.cpp
darkoppressor/hestia
ba9790040004965e766b5b356406f5f2062d64a7
[ "MIT" ]
null
null
null
game_order.cpp
darkoppressor/hestia
ba9790040004965e766b5b356406f5f2062d64a7
[ "MIT" ]
null
null
null
game_order.cpp
darkoppressor/hestia
ba9790040004965e766b5b356406f5f2062d64a7
[ "MIT" ]
null
null
null
/* Copyright (c) 2015 Cheese and Bacon Games, LLC */ /* This file is licensed under the MIT License. */ /* See the file docs/LICENSE.txt for the full license text. */ #include "game_order.h" #include "game.h" #include "game_constants.h" #include <render.h> #include <game_manager.h> #include <image_manager.h> #include...
35.210526
176
0.612108
[ "render" ]
9647ccfcd93cec3b0ca6de47e2b054fd77d28e52
363
cpp
C++
uppdev/BigSort/BigSort.cpp
dreamsxin/ultimatepp
41d295d999f9ff1339b34b43c99ce279b9b3991c
[ "BSD-2-Clause" ]
2
2016-04-07T07:54:26.000Z
2020-04-14T12:37:34.000Z
uppdev/BigSort/BigSort.cpp
dreamsxin/ultimatepp
41d295d999f9ff1339b34b43c99ce279b9b3991c
[ "BSD-2-Clause" ]
null
null
null
uppdev/BigSort/BigSort.cpp
dreamsxin/ultimatepp
41d295d999f9ff1339b34b43c99ce279b9b3991c
[ "BSD-2-Clause" ]
null
null
null
#include <Core/Core.h> using namespace Upp; CONSOLE_APP_MAIN { Vector<int> x; #if 1 FileIn in(GetDataFile("data.txt")); if(!in) return; while(!in.IsEof()) { x.Add(ScanInt(in.GetLine())); } #else for(int i = 0; i < 200; i++) x.Add(Random(25)); #endif // DDUMPC(x); Sort(x); LOG("--...
13.961538
37
0.512397
[ "vector" ]
964c08a64d0fdf4954eb4bae10107d1b95dcdf20
3,005
cpp
C++
test/vswhere.test/UtilitiesTests.cpp
FinSecSystems/vswhere
24f19ddd29bad441dba70a9ba081c8cdaf046c85
[ "MIT" ]
null
null
null
test/vswhere.test/UtilitiesTests.cpp
FinSecSystems/vswhere
24f19ddd29bad441dba70a9ba081c8cdaf046c85
[ "MIT" ]
null
null
null
test/vswhere.test/UtilitiesTests.cpp
FinSecSystems/vswhere
24f19ddd29bad441dba70a9ba081c8cdaf046c85
[ "MIT" ]
null
null
null
// <copyright file="UtilitiesTests.cpp" company="Microsoft Corporation"> // Copyright (C) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. See LICENSE.txt in the project root for license information. // </copyright> #include "stdafx.h" using namespace std; using namespace Microsoft::Visu...
28.349057
112
0.492512
[ "vector" ]
964cbc2ee467925dcfdb82b6398ec7113b1c2c62
2,995
cpp
C++
RobWork/src/rw/geometry/analytic/quadratics/QuadraticFace.cpp
ZLW07/RobWork
e713881f809d866b9a0749eeb15f6763e64044b3
[ "Apache-2.0" ]
1
2021-12-29T14:16:27.000Z
2021-12-29T14:16:27.000Z
RobWork/src/rw/geometry/analytic/quadratics/QuadraticFace.cpp
ZLW07/RobWork
e713881f809d866b9a0749eeb15f6763e64044b3
[ "Apache-2.0" ]
null
null
null
RobWork/src/rw/geometry/analytic/quadratics/QuadraticFace.cpp
ZLW07/RobWork
e713881f809d866b9a0749eeb15f6763e64044b3
[ "Apache-2.0" ]
null
null
null
/******************************************************************************** * Copyright 2018 The Robotics Group, The Maersk Mc-Kinney Moller Institute, * Faculty of Engineering, University of Southern Denmark * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file exce...
28.52381
82
0.626377
[ "geometry", "vector", "transform" ]
9668e2e064ffa6d1e8f25794778f9fa010fa3b30
17,098
cpp
C++
src/fs_cache.cpp
tomsksoft-llc/cis1-webui-native-srv-cpp
9ac8f7867977a2f9af5713f60942200d25582f7f
[ "MIT" ]
2
2019-04-26T07:48:26.000Z
2019-06-03T07:04:22.000Z
src/fs_cache.cpp
tomsksoft-llc/cis1-webui-native-srv-cpp
9ac8f7867977a2f9af5713f60942200d25582f7f
[ "MIT" ]
73
2019-04-25T07:41:34.000Z
2020-04-14T16:23:54.000Z
src/fs_cache.cpp
tomsksoft-llc/cis1-webui-native-srv-cpp
9ac8f7867977a2f9af5713f60942200d25582f7f
[ "MIT" ]
null
null
null
/* * TomskSoft CIS1 WebUI * * (c) 2019 TomskSoft LLC * (c) Mokin Innokentiy [mia@tomsksoft.com] * */ #include "fs_cache.h" #include <fstream> #include "error_code.h" fs_node::fs_node(std::chrono::nanoseconds invalidation_time, const std::filesystem::path& path, size_t caching_level) ...
24.286932
89
0.449058
[ "vector" ]
9669702a9895e57d4d35320bbd3e85ed3a10f20c
4,308
cpp
C++
src/ai/composite/engine.cpp
blackberry/Wesnoth
8b307689158db568ecc6cc3b537e8d382ccea449
[ "Unlicense" ]
12
2015-03-04T15:07:00.000Z
2019-09-13T16:31:06.000Z
src/ai/composite/engine.cpp
blackberry/Wesnoth
8b307689158db568ecc6cc3b537e8d382ccea449
[ "Unlicense" ]
null
null
null
src/ai/composite/engine.cpp
blackberry/Wesnoth
8b307689158db568ecc6cc3b537e8d382ccea449
[ "Unlicense" ]
5
2017-04-22T08:16:48.000Z
2020-07-12T03:35:16.000Z
/* $Id: engine.cpp 48153 2011-01-01 15:57:50Z mordante $ */ /* Copyright (C) 2009 - 2011 by Yurii Chernyi <terraninfo@terraninfo.net> Part of the Battle for Wesnoth Project http://www.wesnoth.org/ This program is free software; you can redistribute it and/or modify it under the terms of the GNU Gener...
30.338028
174
0.705432
[ "vector" ]
966d5bc604bbac9355c14495045990adb284d3c3
2,062
cpp
C++
code_library/articulation_points.cpp
zxc123qwe456asd789/algovault
0ba0b3eb0d2e31e78de05da188f13d8d7d0365ae
[ "MIT" ]
60
2020-05-29T15:07:51.000Z
2022-03-29T05:36:28.000Z
code_library/articulation_points.cpp
sgtlaugh/algorhythm
0ba0b3eb0d2e31e78de05da188f13d8d7d0365ae
[ "MIT" ]
2
2020-04-24T14:32:27.000Z
2021-05-23T22:22:45.000Z
code_library/articulation_points.cpp
sgtlaugh/algorhythm
0ba0b3eb0d2e31e78de05da188f13d8d7d0365ae
[ "MIT" ]
13
2020-05-16T09:10:32.000Z
2022-01-05T08:55:22.000Z
/*** * * Finds articulation points in simple graphs * * An articulation point or cut vertex is defined as a vertex which, when removed along with associated edges, makes the graph disconnected * More precisely, increases the number of connected components in the graph * * Nodes are numbered from 0 to N-1 * Comp...
22.911111
139
0.505335
[ "vector" ]
968626da4be16e7fa51cc64a1cb037588302c029
8,811
cpp
C++
register_types.cpp
Relintai/entity_spell_system
cfba9403cb150d0a1c802039a5b7a8822a4f4832
[ "MIT" ]
70
2019-12-25T18:11:08.000Z
2022-03-22T10:23:56.000Z
register_types.cpp
Relintai/entity_spell_system
cfba9403cb150d0a1c802039a5b7a8822a4f4832
[ "MIT" ]
1
2019-12-26T10:36:33.000Z
2020-04-09T14:21:48.000Z
register_types.cpp
Relintai/entity_spell_system
cfba9403cb150d0a1c802039a5b7a8822a4f4832
[ "MIT" ]
6
2020-01-07T19:04:26.000Z
2021-10-19T18:29:24.000Z
/* Copyright (c) 2019-2021 Péter Magyar Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribut...
29.969388
110
0.798207
[ "3d" ]
968e680daeda48ee50da7e50d650fe364d0f6935
13,355
cpp
C++
compiler/src/semantic/scopecheck.cpp
Excse/ArkoiL
d075ddd83b218f4e21df6141cca549bc75f46419
[ "Apache-2.0" ]
8
2020-04-15T19:57:29.000Z
2022-03-18T21:09:12.000Z
compiler/src/semantic/scopecheck.cpp
Excse/ArkoiL
d075ddd83b218f4e21df6141cca549bc75f46419
[ "Apache-2.0" ]
4
2020-06-28T22:20:45.000Z
2020-08-15T13:31:08.000Z
compiler/src/semantic/scopecheck.cpp
Excse/ArkoiL
d075ddd83b218f4e21df6141cca549bc75f46419
[ "Apache-2.0" ]
3
2020-04-15T19:40:11.000Z
2021-01-18T20:02:09.000Z
// // Created by timo on 8/10/20. // #include "../../include/semantic/scopecheck.h" #include <fmt/core.h> #include "../../include/parser/symboltable.h" #include "../../include/parser/astnodes.h" #include "../../include/compiler/error.h" #include "../../include/lexer/lexer.h" #include "../../include/lexer/token.h" #i...
39.865672
99
0.643504
[ "vector" ]
968f991affd1926e87290cfdca8d7df493c32293
19,177
cc
C++
lighter/renderer/vulkan/extension/text_util.cc
VulkanWorks/lighter-Earth-Map-Spline
b3a8ab4b3ab0ce3027f337d7991015db8758ded9
[ "Apache-2.0" ]
3
2019-07-30T18:59:46.000Z
2019-10-15T04:10:08.000Z
lighter/renderer/vulkan/extension/text_util.cc
lun0522/jessie-steamer
74379c9bd685bb9f1b3197a798df40cde5ed4fb2
[ "Apache-2.0" ]
null
null
null
lighter/renderer/vulkan/extension/text_util.cc
lun0522/jessie-steamer
74379c9bd685bb9f1b3197a798df40cde5ed4fb2
[ "Apache-2.0" ]
1
2021-09-04T08:38:03.000Z
2021-09-04T08:38:03.000Z
// // text_util.cc // // Created by Pujun Lun on 6/20/19. // Copyright © 2019 Pujun Lun. All rights reserved. // #include "lighter/renderer/vulkan/extension/text_util.h" #include <algorithm> #include "lighter/common/graphics_api.h" #include "lighter/common/image.h" #include "lighter/renderer/ir/image_usage.h" #in...
39.136735
80
0.674506
[ "render", "vector" ]
f7b3f8100c5e6148351922b9944e63f975d9a687
5,097
cpp
C++
wrappers/linuxWrapper/src/mqtt.cpp
HeimgardTechnologiesAS/homecontrol-mqtt
7cae98d37e9d58529f4360814d9b21d6b0d3e93f
[ "MIT" ]
3
2020-11-30T01:55:01.000Z
2021-06-15T18:10:38.000Z
wrappers/linuxWrapper/src/mqtt.cpp
HomeControlAS/homecontrol-mq
7cae98d37e9d58529f4360814d9b21d6b0d3e93f
[ "MIT" ]
5
2020-12-14T11:33:49.000Z
2021-02-24T15:40:30.000Z
wrappers/linuxWrapper/src/mqtt.cpp
HeimgardTechnologiesAS/homecontrol-mqtt
7cae98d37e9d58529f4360814d9b21d6b0d3e93f
[ "MIT" ]
1
2021-11-10T15:26:33.000Z
2021-11-10T15:26:33.000Z
#include "mqtt.hpp" #include "logger.hpp" namespace mqtt { const std::string CERT_PATH = "/tmp/mqtt.crt"; Mqtt::Mqtt(const char* client_id, const std::string& gw_ip, const std::string& username, const std::string& password, const bool is_secure) : mosquittopp(client_id...
25.232673
120
0.595841
[ "vector" ]
f7b93d6c71a422ffd56dc8ab1209f47e94a84ce9
11,119
cpp
C++
cpp-src/src/main.cpp
josnelihurt/algorithms
0c130d37b1dac225a62a36d6ec126a4f98a9faae
[ "Unlicense" ]
null
null
null
cpp-src/src/main.cpp
josnelihurt/algorithms
0c130d37b1dac225a62a36d6ec126a4f98a9faae
[ "Unlicense" ]
null
null
null
cpp-src/src/main.cpp
josnelihurt/algorithms
0c130d37b1dac225a62a36d6ec126a4f98a9faae
[ "Unlicense" ]
null
null
null
#include <iostream> #include <vector> #include <string> #include <sstream> #include <algorithm> #include <random> using std::vector; using std::string; using std::cout; namespace utils{ template <typename T> class BinTree { struct Node { T value; Node *left,*right; Node() : left(nullptr),ri...
35.983819
90
0.528825
[ "object", "vector" ]
f7ba132a5fe94dfcb9bed78bc7d25960c22b1f36
12,093
ipp
C++
include/clpp/context.ipp
Robbepop/clpp
7723bb68c55d861ac2135ccf84d3c5b92b2b2b50
[ "MIT" ]
5
2015-09-08T01:59:26.000Z
2018-11-26T10:19:29.000Z
include/clpp/context.ipp
Robbepop/clpp
7723bb68c55d861ac2135ccf84d3c5b92b2b2b50
[ "MIT" ]
6
2015-11-29T03:00:11.000Z
2015-11-29T03:11:52.000Z
include/clpp/context.ipp
Robbepop/clpp
7723bb68c55d861ac2135ccf84d3c5b92b2b2b50
[ "MIT" ]
null
null
null
#ifdef CLPP_CONTEXT_IPP #error "multiple inclusions of the same implementation file" #else #define CLPP_CONTEXT_IPP #ifndef CLPP_CONTEXT_HPP #error "header file has not been included; maybe it isn't required anymore?" #include "clpp/context.hpp" #endif #include "utility/to_underlying.hpp" //#include <iostream> #...
31.740157
93
0.631936
[ "object", "vector", "transform" ]
f7bd7e51133fa6fa6d38f77ad12876abfbbd991a
33,165
hxx
C++
generated/operation/include/mmx/operation/package.hxx
pestotoast/mmx-node
eb9e27aa077c111e814c62cc5b716c4957eac09e
[ "Apache-2.0" ]
2
2022-01-12T02:00:10.000Z
2022-02-05T03:59:43.000Z
generated/operation/include/mmx/operation/package.hxx
pestotoast/mmx-node
eb9e27aa077c111e814c62cc5b716c4957eac09e
[ "Apache-2.0" ]
null
null
null
generated/operation/include/mmx/operation/package.hxx
pestotoast/mmx-node
eb9e27aa077c111e814c62cc5b716c4957eac09e
[ "Apache-2.0" ]
null
null
null
// AUTO GENERATED by vnxcppcodegen #ifndef INCLUDE_mmx_operation_PACKAGE_HXX_ #define INCLUDE_mmx_operation_PACKAGE_HXX_ #include <vnx/Type.h> #include <mmx/package.hxx> #include <vnx/package.hxx> #ifdef MMX_OPERATION_EXPORT_ENABLE #include <mmx_operation_export.h> #else #ifndef MMX_OPERATION_EXPORT #define MMX_OP...
51.658879
147
0.733605
[ "vector" ]
f7be1b918f8f2e08a106ddeb39d2ecd877847440
2,242
cpp
C++
C++/LinkedList.cpp
NovusEdge/DataStructures
c751695f2e6fffe57dd73837bb06ae67ef8d4d6f
[ "MIT" ]
1
2020-11-28T13:03:52.000Z
2020-11-28T13:03:52.000Z
C++/LinkedList.cpp
NovusEdge/DataStructures
c751695f2e6fffe57dd73837bb06ae67ef8d4d6f
[ "MIT" ]
null
null
null
C++/LinkedList.cpp
NovusEdge/DataStructures
c751695f2e6fffe57dd73837bb06ae67ef8d4d6f
[ "MIT" ]
null
null
null
#include "iostream" #include "vector" template<class T> class Node; template<class T> class LinkedList; template<class T> class LinkedList{ public: Node<T>* head; Node<T>* tail; int len; LinkedList(Node<T>* head) { this->head = head; } ~LinkedList() {}; void Append(T); ...
18.683333
73
0.549955
[ "vector" ]
f7c03c740e08a51a1001a822da572cb543df89ec
365
cpp
C++
jp.atcoder/abc155/abc155_a/11412263.cpp
kagemeka/atcoder-submissions
91d8ad37411ea2ec582b10ba41b1e3cae01d4d6e
[ "MIT" ]
1
2022-02-09T03:06:25.000Z
2022-02-09T03:06:25.000Z
jp.atcoder/abc155/abc155_a/11412263.cpp
kagemeka/atcoder-submissions
91d8ad37411ea2ec582b10ba41b1e3cae01d4d6e
[ "MIT" ]
1
2022-02-05T22:53:18.000Z
2022-02-09T01:29:30.000Z
jp.atcoder/abc155/abc155_a/11412263.cpp
kagemeka/atcoder-submissions
91d8ad37411ea2ec582b10ba41b1e3cae01d4d6e
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(0); vector<int> a(3); for (int i = 0; i < 3; i++) { cin >> a[i]; } sort(a.begin(), a.end()); string ans; ans = ((a[0] == a[1] && a[1] != a[2]) || (a[0] != a[1] && a[1] == a[2])) ? "Yes" : "...
20.277778
91
0.443836
[ "vector" ]
f7c2cb48b8180b7ec11a64b3a1149e041a4e6007
7,019
cpp
C++
scene.cpp
formicant/WideOpenXOps
bb694d3d92215856b5e3c26194393da670d20569
[ "BSD-3-Clause" ]
null
null
null
scene.cpp
formicant/WideOpenXOps
bb694d3d92215856b5e3c26194393da670d20569
[ "BSD-3-Clause" ]
null
null
null
scene.cpp
formicant/WideOpenXOps
bb694d3d92215856b5e3c26194393da670d20569
[ "BSD-3-Clause" ]
null
null
null
//! @file scene.cpp //! @brief 各画面を管理するクラスの定義 //-------------------------------------------------------------------------------- // // OpenXOPS // Copyright (c) 2014-2018, OpenXOPS Project / [-_-;](mikan) All rights reserved. // // Redistribution and use in source and binary forms, with or without // modif...
26.486792
160
0.674882
[ "3d" ]
f7ca246c527a1f78776a5cd95c69388673f5e027
20,258
cpp
C++
Samples/ComputeOnDevice/AppMain.cpp
cpamparau0/HoloLensForCV
1f3cfb4502be8d6576a9446fb95e7cf33bee1e30
[ "MIT" ]
null
null
null
Samples/ComputeOnDevice/AppMain.cpp
cpamparau0/HoloLensForCV
1f3cfb4502be8d6576a9446fb95e7cf33bee1e30
[ "MIT" ]
null
null
null
Samples/ComputeOnDevice/AppMain.cpp
cpamparau0/HoloLensForCV
1f3cfb4502be8d6576a9446fb95e7cf33bee1e30
[ "MIT" ]
null
null
null
//********************************************************* // // Copyright (c) Microsoft. All rights reserved. // This code is licensed under the MIT License (MIT). // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY // IMPLIED WARRANTIES OF FITNESS FOR A PA...
31.022971
171
0.624297
[ "render", "vector" ]
f7e0554cdb717a342d10f208a197694ce30ee9c6
4,933
cpp
C++
Datenbank/gesamt_uebersicht_search.cpp
AkioUnity/VC-bank
d2ab46cb18e0069e2640cef0a8589c4a1ca416c3
[ "MIT" ]
null
null
null
Datenbank/gesamt_uebersicht_search.cpp
AkioUnity/VC-bank
d2ab46cb18e0069e2640cef0a8589c4a1ca416c3
[ "MIT" ]
null
null
null
Datenbank/gesamt_uebersicht_search.cpp
AkioUnity/VC-bank
d2ab46cb18e0069e2640cef0a8589c4a1ca416c3
[ "MIT" ]
null
null
null
#include "StdAfx.h" #include "gesamt_uebersicht_search.h" #include "MyRecordSet.h" #include "gesamt_uebersicht_result.h" using namespace Datenbank; using namespace System; using namespace System::IO; using namespace System::Text; using namespace System::Windows::Forms; // Loader void gesamt_uebersicht_search::gesam...
28.188571
147
0.713156
[ "object" ]
f7e110a328efe737232af09d4c897ba52c812b74
30,996
cpp
C++
src/geode/mesh/builder/solid_mesh_builder.cpp
Geode-solutions/OpenGeode
e47621989e6fc152f529d4e1e7e3b9ef9e7d6ccc
[ "MIT" ]
64
2019-08-02T14:31:01.000Z
2022-03-30T07:46:50.000Z
src/geode/mesh/builder/solid_mesh_builder.cpp
Geode-solutions/OpenGeode
e47621989e6fc152f529d4e1e7e3b9ef9e7d6ccc
[ "MIT" ]
395
2019-08-02T17:15:10.000Z
2022-03-31T15:10:27.000Z
src/geode/mesh/builder/solid_mesh_builder.cpp
Geode-solutions/OpenGeode
e47621989e6fc152f529d4e1e7e3b9ef9e7d6ccc
[ "MIT" ]
8
2019-08-19T21:32:15.000Z
2022-03-06T18:41:10.000Z
/* * Copyright (c) 2019 - 2021 Geode-solutions * * 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, mer...
38.552239
80
0.563331
[ "mesh", "geometry", "vector", "solid" ]
f7e55ef778377836821338b44b1ed7c5f114cde3
2,928
cc
C++
services/viz/public/cpp/hit_test/struct_traits_unittest.cc
zipated/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
services/viz/public/cpp/hit_test/struct_traits_unittest.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
services/viz/public/cpp/hit_test/struct_traits_unittest.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
// Copyright 2018 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/viz/common/hit_test/aggregated_hit_test_region.h" #include "components/viz/common/hit_test/hit_test_region_list.h" #include "mojo/pub...
45.046154
86
0.733265
[ "geometry", "transform" ]
f7e759cdcc10c6c2332054f3255353b26d54dbd8
1,796
cc
C++
ree/reeFluxCorrection.cc
Thomas-Ulrich/core
1c7bc7ff994c3570ab22b96d37be0c4c993e5940
[ "BSD-3-Clause" ]
138
2015-01-05T15:50:20.000Z
2022-02-25T01:09:58.000Z
ree/reeFluxCorrection.cc
Thomas-Ulrich/core
1c7bc7ff994c3570ab22b96d37be0c4c993e5940
[ "BSD-3-Clause" ]
337
2015-08-07T18:24:58.000Z
2022-03-31T14:39:03.000Z
ree/reeFluxCorrection.cc
Thomas-Ulrich/core
1c7bc7ff994c3570ab22b96d37be0c4c993e5940
[ "BSD-3-Clause" ]
70
2015-01-17T00:58:41.000Z
2022-02-13T04:58:20.000Z
/* * Copyright (C) 2011 Scientific Computation Research Center * * This work is open source software, licensed under the terms of the * BSD license as described in the LICENSE file in the top-level directory. */ #include "ree.h" namespace ree { struct QRDecomp { mth::Matrix<double> Q; mth::Matrix<double> R; ...
25.295775
75
0.639755
[ "mesh", "vector" ]
f7e91ad6ab721c9dc73338c1202db1c4fcbe069f
107,724
cpp
C++
src/rpc/branchchainrpc.cpp
MagnaChain/MagnaChain-dev-master
c83e7a8b9e8f9ae8684a0e3a11f1eeb42dfa1272
[ "MIT" ]
26
2018-11-30T09:01:34.000Z
2020-03-11T00:41:52.000Z
src/rpc/branchchainrpc.cpp
MagnaChain/MagnaChain-dev-master
c83e7a8b9e8f9ae8684a0e3a11f1eeb42dfa1272
[ "MIT" ]
3
2019-01-01T09:06:22.000Z
2019-04-01T10:06:01.000Z
src/rpc/branchchainrpc.cpp
MagnaChain/MagnaChain-dev-master
c83e7a8b9e8f9ae8684a0e3a11f1eeb42dfa1272
[ "MIT" ]
24
2018-11-30T03:32:53.000Z
2020-03-20T04:30:34.000Z
// Copyright (c) 2016-2019 The MagnaChain Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "rpc/branchchainrpc.h" #include "chain/branchchain.h" #include "misc/amount.h" #include "coding/base58.h" ...
45.262185
257
0.640052
[ "vector" ]
f7f075d1191b76080a30c72c0faacca8fa6be629
3,698
hpp
C++
include/active_record/attributes/attribute_common.hpp
akisute514/active_record_cpp
5ef6da213433d9ad83dd39a422d2a4397430efe1
[ "MIT" ]
3
2021-06-19T15:06:35.000Z
2022-02-25T07:24:21.000Z
include/active_record/attributes/attribute_common.hpp
akisute514/active_record_cpp
5ef6da213433d9ad83dd39a422d2a4397430efe1
[ "MIT" ]
null
null
null
include/active_record/attributes/attribute_common.hpp
akisute514/active_record_cpp
5ef6da213433d9ad83dd39a422d2a4397430efe1
[ "MIT" ]
1
2022-02-25T07:30:22.000Z
2022-02-25T07:30:22.000Z
#pragma once /* * Active Record C++: https://github.com/akisute514/active_record_cpp * Copyright (c) 2021 akisute514 * * Released under the MIT License. */ #include "../attribute.hpp" #include "../query_impl/query_condition.hpp" #include "attribute_aggregator.hpp" namespace active_record { template<typename ...
44.554217
126
0.663061
[ "model" ]
f7f2aa01dd47659ff2a5d8e8b4b4520546f41c30
974
cpp
C++
Problems/401_Dynamic_Programming_Part_1_Practical/11054_LBS/main.cpp
usernameSplash/BOJ
3b76674267aa49e7a604c3ce8df06dbe8869baa3
[ "MIT" ]
2
2020-12-06T15:29:21.000Z
2020-12-07T14:37:14.000Z
Problems/401_Dynamic_Programming_Part_1_Practical/11054_LBS/main.cpp
usernameSplash/BOJ
3b76674267aa49e7a604c3ce8df06dbe8869baa3
[ "MIT" ]
1
2020-12-22T14:25:22.000Z
2020-12-22T14:25:22.000Z
Problems/401_Dynamic_Programming_Part_1_Practical/11054_LBS/main.cpp
usernameSplash/BOJ
3b76674267aa49e7a604c3ce8df06dbe8869baa3
[ "MIT" ]
null
null
null
#include <iostream> #include <algorithm> #include <vector> using namespace std; void cppIOInitialize() { ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL); } vector<int> LIS(vector<int> data, int n) { vector<int> dp(n); dp[0] = 1; for(int i = 1; i < n; i++) { dp[i] ...
15.460317
46
0.443532
[ "vector" ]
f7f2be61d4554c3ae9520b6efab0ce1da945b976
1,080
cpp
C++
stlport/test/regression/uniqcpy2.cpp
masscry/dmc
c7638f7c524a65bc2af0876c76621d8a11da42bb
[ "BSL-1.0" ]
86
2018-05-24T12:03:44.000Z
2022-03-13T03:01:25.000Z
stlport/test/regression/uniqcpy2.cpp
masscry/dmc
c7638f7c524a65bc2af0876c76621d8a11da42bb
[ "BSL-1.0" ]
1
2019-05-30T01:38:40.000Z
2019-10-26T07:15:01.000Z
stlport/test/regression/uniqcpy2.cpp
masscry/dmc
c7638f7c524a65bc2af0876c76621d8a11da42bb
[ "BSL-1.0" ]
14
2018-07-16T08:29:12.000Z
2021-08-23T06:21:30.000Z
// STLport regression testsuite component. // To compile as a separate example, please #define MAIN. #include <iostream> #include <cstring> #include <vector> #include <algorithm> #include <iterator> #include <functional> #if !defined (STLPORT) || defined(__STL_USE_NAMESPACES) using namespace std; #endif #ifdef MAIN ...
25.714286
80
0.65
[ "vector" ]
f7fea26f7970ada642a07049bc11f3d2a13af14f
5,765
cpp
C++
eval_persist/parse/test.cpp
zzunny97/KVell
c6e3114ad9e4e86b4f154ec92bd0d569e4d4be93
[ "MIT" ]
null
null
null
eval_persist/parse/test.cpp
zzunny97/KVell
c6e3114ad9e4e86b4f154ec92bd0d569e4d4be93
[ "MIT" ]
null
null
null
eval_persist/parse/test.cpp
zzunny97/KVell
c6e3114ad9e4e86b4f154ec92bd0d569e4d4be93
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <fstream> #include <cstring> using namespace std; void print(vector<int>& v) { for(int a : v) cout << a << " "; cout << "\n"; } vector<string> split(string s, string divid) { vector<string> v; char* c = strtok((char*)s.c_str(), divid.c_str()); while (c) { v.push_b...
27.985437
75
0.61752
[ "vector" ]
7909672ce892465afa1a03906577cd178052e811
3,254
cpp
C++
Deprecated/Sorts/attic/InternalGroup.cpp
sleyzerzon/soar
74a6f32ba1be3a7b3ed4eac0b44b0f4b2e981f71
[ "Unlicense" ]
1
2016-04-01T04:02:28.000Z
2016-04-01T04:02:28.000Z
Deprecated/Sorts/attic/InternalGroup.cpp
sleyzerzon/soar
74a6f32ba1be3a7b3ed4eac0b44b0f4b2e981f71
[ "Unlicense" ]
null
null
null
Deprecated/Sorts/attic/InternalGroup.cpp
sleyzerzon/soar
74a6f32ba1be3a7b3ed4eac0b44b0f4b2e981f71
[ "Unlicense" ]
null
null
null
#include <assert.h> #include <vector> #include <iostream> // ORTS includes #include "Object.H" // our includes #include "InternalGroup.h" #include "general.h" #include "SoarGameObject.h" InternalGroup::InternalGroup ( SoarGameObject* unit) { members.insert(unit); unit->setInternalGroup(this); setHasStaleMemb...
20.21118
75
0.675169
[ "object", "vector" ]
790aa04dcc598e010610a3aa22e0100b3be61776
1,078
cpp
C++
Leetcode/L1872.cpp
yanjinbin/Foxconn
d8340d228deb35bd8ec244f6156374da8a1f0aa0
[ "CC0-1.0" ]
8
2021-02-14T01:48:09.000Z
2022-01-29T09:12:55.000Z
Leetcode/L1872.cpp
yanjinbin/Foxconn
d8340d228deb35bd8ec244f6156374da8a1f0aa0
[ "CC0-1.0" ]
null
null
null
Leetcode/L1872.cpp
yanjinbin/Foxconn
d8340d228deb35bd8ec244f6156374da8a1f0aa0
[ "CC0-1.0" ]
null
null
null
#include <algorithm> #include <climits> #include <cmath> #include <functional> #include <iostream> #include <map> #include <queue> #include <set> #include <stack> #include <unordered_map> #include <unordered_set> #include <vector> using namespace std; const int MAX_VALUE = 0x7FFFFFFF, MIN_VALUE = 0x80000000, INF = 0x3...
25.069767
91
0.654917
[ "vector" ]
791279a8cbfade3198e3f6417e2212043b3aa9b6
18,854
cc
C++
chrome/browser/google/google_update_win.cc
kjthegod/chromium
cf940f7f418436b77e15b1ea23e6fa100ca1c91a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/google/google_update_win.cc
kjthegod/chromium
cf940f7f418436b77e15b1ea23e6fa100ca1c91a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/google/google_update_win.cc
kjthegod/chromium
cf940f7f418436b77e15b1ea23e6fa100ca1c91a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2020-04-04T13:34:56.000Z
2020-11-04T07:17:52.000Z
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/google/google_update_win.h" #include <atlbase.h> #include <atlcom.h> #include "base/bind.h" #include "base/callback.h" #inc...
36.118774
80
0.718521
[ "object" ]
7913da2438da664cb71baf73784e0154e8bcfdc9
9,812
cpp
C++
src/WindowsControl.cpp
andrei-karpov/VanessaExt
de0e5312285df0112fae2c5a135f8280d0eff13a
[ "BSD-3-Clause" ]
null
null
null
src/WindowsControl.cpp
andrei-karpov/VanessaExt
de0e5312285df0112fae2c5a135f8280d0eff13a
[ "BSD-3-Clause" ]
null
null
null
src/WindowsControl.cpp
andrei-karpov/VanessaExt
de0e5312285df0112fae2c5a135f8280d0eff13a
[ "BSD-3-Clause" ]
null
null
null
#include "stdafx.h" #ifndef _WINDOWS #include <unistd.h> #include <stdlib.h> #include <signal.h> #include <errno.h> #include <iconv.h> #include <sys/time.h> #endif //_WINDOWS #include "WindowsControl.h" #include "ClickEffect.h" #include "ClipboardManager.h" #include "FileFinder.h" #include "ImageFinder.h" #include "...
39.405622
132
0.680493
[ "vector" ]
7915343d12e2235d08c20a47389192fa9b4d5a42
2,499
cpp
C++
Contrib-Intel/RSD-PSME-RMM/common/agent-framework/tests/command/storage/get_storage_services_info_test.cpp
opencomputeproject/Rack-Manager
e1a61d3eeeba0ff655fe9c1301e8b510d9b2122a
[ "MIT" ]
5
2019-11-11T07:57:26.000Z
2022-03-28T08:26:53.000Z
Contrib-Intel/RSD-PSME-RMM/common/agent-framework/tests/command/storage/get_storage_services_info_test.cpp
opencomputeproject/Rack-Manager
e1a61d3eeeba0ff655fe9c1301e8b510d9b2122a
[ "MIT" ]
3
2019-09-05T21:47:07.000Z
2019-09-17T18:10:45.000Z
Contrib-Intel/RSD-PSME-RMM/common/agent-framework/tests/command/storage/get_storage_services_info_test.cpp
opencomputeproject/Rack-Manager
e1a61d3eeeba0ff655fe9c1301e8b510d9b2122a
[ "MIT" ]
11
2019-07-20T00:16:32.000Z
2022-01-11T14:17:48.000Z
/*! * @section LICENSE * * @copyright * Copyright (c) 2015-2019 Intel Corporation * * @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 obtain a copy of the License at * * @copyright * http://www.apach...
31.632911
82
0.721889
[ "model" ]
7918b13b20c0f8f3df0f4918cf2d1c25e4398484
44,894
cpp
C++
dx11-templatelib-simpleobj/src/SimpleObj.cpp
yanagiragi/ForwardPlus
03d496dc523defcc44bf9859b2f9e3a8e2ae1a85
[ "MIT" ]
null
null
null
dx11-templatelib-simpleobj/src/SimpleObj.cpp
yanagiragi/ForwardPlus
03d496dc523defcc44bf9859b2f9e3a8e2ae1a85
[ "MIT" ]
null
null
null
dx11-templatelib-simpleobj/src/SimpleObj.cpp
yanagiragi/ForwardPlus
03d496dc523defcc44bf9859b2f9e3a8e2ae1a85
[ "MIT" ]
null
null
null
#include "SimpleObj.h" #include "Window.h" #include "Shader.h" #include "Common.h" using namespace Microsoft::WRL; using namespace DirectX; /// <summary> /// Wrapper to load shader resources /// </summary> void SimpleObj::LoadShaderResources() { HRESULT hr; // Note: // Since we will need to update the c...
40.263677
164
0.595002
[ "render", "object", "vector", "model" ]
791e25f85d988f88578780019dad6f254dd6e319
2,513
cpp
C++
codetop/Leetcode8.cpp
Aged-cat/interview_codehub
0d915934a8d89a10943ef3e0ba8e528948433578
[ "MIT" ]
2
2021-09-06T06:47:34.000Z
2022-02-21T04:43:23.000Z
codetop/Leetcode8.cpp
Aged-cat/interview_codehub
0d915934a8d89a10943ef3e0ba8e528948433578
[ "MIT" ]
null
null
null
codetop/Leetcode8.cpp
Aged-cat/interview_codehub
0d915934a8d89a10943ef3e0ba8e528948433578
[ "MIT" ]
null
null
null
#include<iostream> #include<String> #include<climits> #include<map> #include<unordered_map> #include<vector> using namespace std; // int myAtoi(string s) // { // int ans=0; // bool isMin=false; // int i=0; // while(i<s.size()&&s[i]==' ') // { // ++i; // } // int start=i; // for(...
21.29661
106
0.430959
[ "vector" ]
79234e500d9584680b52255f3a1e349f34b318b4
17,892
cpp
C++
examples/dot11decrypt.cpp
InceptAi/decrypt80211
0c655a4b4e38de417e9e5971ef2160af3067a191
[ "BSD-2-Clause" ]
null
null
null
examples/dot11decrypt.cpp
InceptAi/decrypt80211
0c655a4b4e38de417e9e5971ef2160af3067a191
[ "BSD-2-Clause" ]
null
null
null
examples/dot11decrypt.cpp
InceptAi/decrypt80211
0c655a4b4e38de417e9e5971ef2160af3067a191
[ "BSD-2-Clause" ]
null
null
null
/* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be us...
31.389474
227
0.642186
[ "vector" ]
a6ad2d11aefa6365eda14180138f31ce67ab1ec1
20,845
cc
C++
CosmicSafari/Source/ThirdParty/OpenVDB/src/openvdb/unittest/TestParticlesToLevelSet.cc
primezeta/obtuse-tanuki
e11ce523a130eb223aee4861c88373a9c7cd093f
[ "MIT" ]
1
2017-10-23T14:25:00.000Z
2017-10-23T14:25:00.000Z
CosmicSafari/Source/ThirdParty/OpenVDB/src/openvdb/unittest/TestParticlesToLevelSet.cc
primezeta/obtuse-tanuki
e11ce523a130eb223aee4861c88373a9c7cd093f
[ "MIT" ]
1
2017-10-24T03:41:40.000Z
2017-10-31T14:32:19.000Z
CosmicSafari/Source/ThirdParty/OpenVDB/src/openvdb/unittest/TestParticlesToLevelSet.cc
primezeta/obtuse-tanuki
e11ce523a130eb223aee4861c88373a9c7cd093f
[ "MIT" ]
null
null
null
/////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2012-2015 DreamWorks Animation LLC // // All rights reserved. This software is distributed under the // Mozilla Public License 2.0 ( http://www.mozilla.org/MPL/2.0/ ) // // Redistributions of source code must retain the abov...
45.5131
102
0.626049
[ "vector" ]
a6aea31864f03e495a58fc7995c9f5384a5ea91a
3,795
hpp
C++
include/argot/prov/access_union.hpp
mattcalabrese/argot
97349baaf27659c9dc4d67cf8963b2e871eaedae
[ "BSL-1.0" ]
49
2018-05-09T23:17:45.000Z
2021-07-21T10:05:19.000Z
include/argot/prov/access_union.hpp
mattcalabrese/argot
97349baaf27659c9dc4d67cf8963b2e871eaedae
[ "BSL-1.0" ]
null
null
null
include/argot/prov/access_union.hpp
mattcalabrese/argot
97349baaf27659c9dc4d67cf8963b2e871eaedae
[ "BSL-1.0" ]
2
2019-08-04T03:51:36.000Z
2020-12-28T06:53:29.000Z
/*============================================================================== Copyright (c) 2016, 2017, 2018, 2019 Matt Calabrese 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) =================================...
31.106557
82
0.659025
[ "object", "model" ]
a6b415ba0e62ca5812f635fae0dadff02c4bc7d1
4,933
cpp
C++
CONTRIB/_CPC_WPR.cpp
TeamX-Official/protonNT
d1ce7b986ec50a7f9078c365861d4115f7706271
[ "Apache-2.0" ]
null
null
null
CONTRIB/_CPC_WPR.cpp
TeamX-Official/protonNT
d1ce7b986ec50a7f9078c365861d4115f7706271
[ "Apache-2.0" ]
null
null
null
CONTRIB/_CPC_WPR.cpp
TeamX-Official/protonNT
d1ce7b986ec50a7f9078c365861d4115f7706271
[ "Apache-2.0" ]
null
null
null
/* ===== ========================== ===== ============= ******** Wrapper ********* ============= ================ Cpcdos OSx & CPinti Core ================ ============= ************************** ============= ===== ========================== ===== Auteur Sebastien FAVIER Con...
25.963158
111
0.584634
[ "3d" ]
a6b4f87ed573a74d9ac704aba48a94e81ff72b4f
1,283
cpp
C++
PiecewiseConstant/skorokhod_monitor.cpp
vinayak2020/Skorokhod-Metric
4e4696f8849fd3f936dc9d1259a4508dc88d98fc
[ "Apache-2.0" ]
1
2020-02-29T08:53:11.000Z
2020-02-29T08:53:11.000Z
PiecewiseConstant/skorokhod_monitor.cpp
vinayak2020/Skorokhod-Metric
4e4696f8849fd3f936dc9d1259a4508dc88d98fc
[ "Apache-2.0" ]
null
null
null
PiecewiseConstant/skorokhod_monitor.cpp
vinayak2020/Skorokhod-Metric
4e4696f8849fd3f936dc9d1259a4508dc88d98fc
[ "Apache-2.0" ]
null
null
null
/*** Author: Vinayak Prabhu ***/ //#include "free-space-boundary.h" #include "myprint.h" //#include "cell.h" #include "point.h" #include "monitor.h" #include "global_defs.h" #include "read_input_data.h" #include <vector> #include <iostream> #include <fstream> using namespace std; int main(){ cout<< "Monit...
19.439394
85
0.625877
[ "vector" ]
a6b558341b2335e94d3a0e54414743b2ad08010a
3,279
cpp
C++
src/video/uvc.cpp
janjachnik/Pangolin
fafe8c9f72f7c4d07d940e27975a53b7811ec9c4
[ "MIT" ]
null
null
null
src/video/uvc.cpp
janjachnik/Pangolin
fafe8c9f72f7c4d07d940e27975a53b7811ec9c4
[ "MIT" ]
3
2015-04-24T20:33:26.000Z
2015-05-05T17:22:07.000Z
src/video/uvc.cpp
janjachnik/Pangolin
fafe8c9f72f7c4d07d940e27975a53b7811ec9c4
[ "MIT" ]
4
2016-03-18T13:20:37.000Z
2019-10-08T22:36:20.000Z
#include <pangolin/video/uvc.h> namespace pangolin { UvcVideo::UvcVideo() : ctx_(NULL), dev_(NULL), devh_(NULL), frame_(NULL) { uvc_init(&ctx_, NULL); if(!ctx_) { throw VideoException("Unable to open UVC Context"); } InitDevice(0x03e7,0x1811,NULL, 640*2, 480, 45); ...
23.091549
91
0.595608
[ "vector" ]
a6bcd90810e89ca243490b7a1b7a85d2bdbd9f4f
21,364
cpp
C++
src/VAC/VectorAnimationComplex/Cell.cpp
Qt-Widgets/vpaint
6b1bf57e3c239194443f7284adfd5c5326cd1bf2
[ "ECL-2.0", "Apache-2.0" ]
697
2015-08-08T09:27:02.000Z
2022-03-25T04:38:29.000Z
src/VAC/VectorAnimationComplex/Cell.cpp
Qt-Widgets/vpaint
6b1bf57e3c239194443f7284adfd5c5326cd1bf2
[ "ECL-2.0", "Apache-2.0" ]
125
2015-08-09T08:45:42.000Z
2022-03-31T11:26:16.000Z
src/VAC/VectorAnimationComplex/Cell.cpp
Qt-Widgets/vpaint
6b1bf57e3c239194443f7284adfd5c5326cd1bf2
[ "ECL-2.0", "Apache-2.0" ]
64
2015-08-09T10:34:34.000Z
2022-01-03T18:01:57.000Z
// Copyright (C) 2012-2019 The VPaint Developers. // See the COPYRIGHT file at the top-level directory of this distribution // and at https://github.com/dalboris/vpaint/blob/master/COPYRIGHT // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the ...
24.443936
92
0.605832
[ "geometry", "transform", "3d" ]
a6c0fb45bf257bd6f2a0cf166de391b344618f0e
46,239
cpp
C++
test/src/ScitillaComponent/Buffer.cpp
theoremprover/cpp-parser
543cd50acc9e08aadf278b9c970d4db6c332887a
[ "BSD-3-Clause" ]
18
2018-05-10T18:50:06.000Z
2022-01-11T17:11:34.000Z
test/src/ScitillaComponent/Buffer.cpp
theoremprover/cpp-parser
543cd50acc9e08aadf278b9c970d4db6c332887a
[ "BSD-3-Clause" ]
24
2018-06-14T17:54:17.000Z
2022-03-11T23:21:29.000Z
test/src/ScitillaComponent/Buffer.cpp
theoremprover/cpp-parser
543cd50acc9e08aadf278b9c970d4db6c332887a
[ "BSD-3-Clause" ]
4
2019-04-02T16:04:34.000Z
2022-01-10T11:44:43.000Z
// This file is part of Notepad++ project // Copyright (C)2003 Don HO <don.h@free.fr> // // 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 ...
29.678434
189
0.6804
[ "object", "vector" ]
a6c3c7b011c93bfff92eb8a2f34ce91adeaf2eda
4,812
cpp
C++
src/3rdparty/sheets/Function.cpp
afarcat/QtSheetView
6d5ef3418238e9402c5a263a6f499557cc7215bf
[ "Apache-2.0" ]
null
null
null
src/3rdparty/sheets/Function.cpp
afarcat/QtSheetView
6d5ef3418238e9402c5a263a6f499557cc7215bf
[ "Apache-2.0" ]
null
null
null
src/3rdparty/sheets/Function.cpp
afarcat/QtSheetView
6d5ef3418238e9402c5a263a6f499557cc7215bf
[ "Apache-2.0" ]
null
null
null
/* This file is part of the KDE project Copyright (C) 2003,2004 Ariya Hidayat <ariya@kde.org> Copyright (C) 2005 Tomas Mecir <mecirt@gmail.com> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Softw...
27.186441
105
0.595594
[ "vector" ]
a6c52cea725071060e971fce1dda60558f2724f2
8,011
hpp
C++
include/polyvec/polygon-tracer/boundary-graph.hpp
ShnitzelKiller/polyfit
51ddc6365a794db1678459140658211cb78f65b1
[ "MIT" ]
27
2020-08-17T17:25:59.000Z
2022-03-01T05:49:12.000Z
include/polyvec/polygon-tracer/boundary-graph.hpp
ShnitzelKiller/polyfit
51ddc6365a794db1678459140658211cb78f65b1
[ "MIT" ]
4
2020-08-26T13:54:59.000Z
2020-09-21T07:19:22.000Z
include/polyvec/polygon-tracer/boundary-graph.hpp
ShnitzelKiller/polyfit
51ddc6365a794db1678459140658211cb78f65b1
[ "MIT" ]
5
2020-08-26T23:26:48.000Z
2021-01-04T09:06:07.000Z
#pragma once // Polyvec #include <polyvec/core/types.hpp> #include <polyvec/shortest-path/dijkstra.hpp> #include <polyvec/regularity/symmetry.hpp> // libc++ #include <unordered_map> NAMESPACE_BEGIN(polyfit) NAMESPACE_BEGIN(BoundaryGraph) struct Edge { Vertex v0 = -1; Vertex v1 = -1; double d_min = INFINITY; dou...
41.293814
165
0.719511
[ "vector" ]
a6cab0a8fc3fd3434e10fd43e0b380ba15ed7823
709
cpp
C++
CourseWorks/LightningPaint/Commands/DrawCommand.cpp
Vanya112/BSUIR_Labs
d63de54f1d07c5bd0eae598d507be051101f1165
[ "Apache-2.0" ]
24
2019-05-24T18:10:33.000Z
2022-02-09T14:33:34.000Z
CourseWorks/LightningPaint/Commands/DrawCommand.cpp
Vanya112/BSUIR_Labs
d63de54f1d07c5bd0eae598d507be051101f1165
[ "Apache-2.0" ]
null
null
null
CourseWorks/LightningPaint/Commands/DrawCommand.cpp
Vanya112/BSUIR_Labs
d63de54f1d07c5bd0eae598d507be051101f1165
[ "Apache-2.0" ]
16
2019-05-23T18:15:53.000Z
2022-01-17T15:25:58.000Z
#include "DrawCommand.h" namespace Draw { DrawCommand::DrawCommand(QWidget *drawingArea, QImage *image, Shape::ShapePointer shape) : _drawingArea(drawingArea), _image(image), _undoImage(image->copy(shape->rect())), _shape(shape) { } void DrawCommand::undo() { const QRec...
18.179487
61
0.651622
[ "shape" ]
a6cf40e1b07a7f1ee3f288075d23dfd86bbfb044
3,078
hpp
C++
inc/sprite.hpp
Notidman/christmas_tree_2022
4b3cf96d5c5be3a6893e64009565a4826708d4d5
[ "MIT" ]
null
null
null
inc/sprite.hpp
Notidman/christmas_tree_2022
4b3cf96d5c5be3a6893e64009565a4826708d4d5
[ "MIT" ]
null
null
null
inc/sprite.hpp
Notidman/christmas_tree_2022
4b3cf96d5c5be3a6893e64009565a4826708d4d5
[ "MIT" ]
null
null
null
#ifndef _SPRITE_HPP_ #define _SPRITE_HPP_ #include <iostream> #include <cmath> #include <ctime> #include <string> #include <vector> #include <random> #include <functional> #include <unordered_map> #include "lpct.hpp" namespace sprite { static std::vector<std::string> tree { " z ...
34.2
94
0.362573
[ "vector" ]
a6d15a349a9a2e6b98cf635d356895d4f8a11cb9
3,354
cpp
C++
src/test/GherkinRunnerTest.cpp
paulobrizolara/cppgherkin
47e1f3dd3619bb4bbacd2adde7a2f8bbc7c3ea42
[ "MIT" ]
null
null
null
src/test/GherkinRunnerTest.cpp
paulobrizolara/cppgherkin
47e1f3dd3619bb4bbacd2adde7a2f8bbc7c3ea42
[ "MIT" ]
null
null
null
src/test/GherkinRunnerTest.cpp
paulobrizolara/cppgherkin
47e1f3dd3619bb4bbacd2adde7a2f8bbc7c3ea42
[ "MIT" ]
null
null
null
#include "test.h" #include <functional> #include "cppgherkin/runner/runner.h" #include "cppgherkin/model/Feature.h" #include "cppgherkin/steps.h" #include <fakeit.hpp> using namespace cppgherkin; using namespace fakeit; #define FIXTURE RunnerTest #define TEST_TAG "[GherkinRunner]" template<typename Ret, typename ....
25.029851
110
0.678295
[ "model" ]
a6d73c605536c5a02e31e4b9c61ae181863e6d61
40,698
cxx
C++
main/sd/source/ui/annotations/annotationmanager.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/sd/source/ui/annotations/annotationmanager.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/sd/source/ui/annotations/annotationmanager.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
331
2015-01-06T11:40:55.000Z
2022-03-14T04:07:51.000Z
/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to y...
32.070922
194
0.588678
[ "geometry" ]
a6de7bdabe5887a3db97cc84b4a00ac3cc85bab0
1,483
cpp
C++
code/device-agent-plugins/DiagnosticLogsManagementPlugin/EventTracingConfig.cpp
KunYi/azure-client-tools
06cf0a392a0737d0c149dceee0f1e4596b86656d
[ "MIT" ]
42
2019-01-11T18:51:13.000Z
2022-03-04T22:04:15.000Z
code/device-agent-plugins/DiagnosticLogsManagementPlugin/EventTracingConfig.cpp
KunYi/azure-client-tools
06cf0a392a0737d0c149dceee0f1e4596b86656d
[ "MIT" ]
46
2019-01-25T12:52:57.000Z
2020-11-03T21:26:24.000Z
code/device-agent-plugins/DiagnosticLogsManagementPlugin/EventTracingConfig.cpp
KunYi/azure-client-tools
06cf0a392a0737d0c149dceee0f1e4596b86656d
[ "MIT" ]
42
2019-01-09T21:05:10.000Z
2021-11-28T14:40:12.000Z
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #include "stdafx.h" #include "EventTracingConfig.h" #include <iomanip> #include <Wincrypt.h> using namespace DMCommon; using namespace DMUtils; namespace Microsoft { namespace Azure { namespace DeviceManagement { namespac...
37.075
246
0.723533
[ "vector" ]
a6e0060a7b18e913c245feb04b5046dd598f7303
4,895
cpp
C++
src/engine/components/physics/physics_friction.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
6
2022-01-23T09:40:33.000Z
2022-03-20T20:53:25.000Z
src/engine/components/physics/physics_friction.cpp
cstom4994/SourceEngineRebuild
edfd7f8ce8af13e9d23586318350319a2e193c08
[ "MIT" ]
null
null
null
src/engine/components/physics/physics_friction.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: // //=============================================================================// #include "cbase.h" #include "physics_friction.h" #include "vphysics/friction.h" #include "ivp_mindist.hxx" #include "ivp_mindist_intern.hx...
26.748634
108
0.711338
[ "object", "vector" ]
a6e640d611af0e483b729682fb388813dbf6dfc4
2,366
cc
C++
lib/src/PythonImpl.cc
milliburn/llvmPy
d6fa3002e823fae00cf33d9b2ea480604681376c
[ "MIT" ]
1
2019-01-22T02:58:04.000Z
2019-01-22T02:58:04.000Z
lib/src/PythonImpl.cc
roberth-k/llvmPy
d6fa3002e823fae00cf33d9b2ea480604681376c
[ "MIT" ]
null
null
null
lib/src/PythonImpl.cc
roberth-k/llvmPy
d6fa3002e823fae00cf33d9b2ea480604681376c
[ "MIT" ]
null
null
null
#include "PythonImpl.h" #include <llvm/Support/raw_os_ostream.h> using namespace llvmPy; PythonImpl::PythonImpl() : _emitter(_compiler), _runtime(_compiler), _emitterPhase(_emitter), _runtimePhase(_runtime), _argv(), _implOptions(), _in(&std::cin), _out(&std::cout), ...
19.882353
69
0.603128
[ "vector" ]
a6ec4646b8c11d44830072b760091894bb83f339
10,393
cc
C++
src/metrics/metrics.cc
ngvozdiev/ctr-base
f730ea9b3d9be6dd8a1f8dbc96339bb1e5efcb9d
[ "MIT" ]
1
2020-11-11T15:26:46.000Z
2020-11-11T15:26:46.000Z
src/metrics/metrics.cc
ngvozdiev/ctr-base
f730ea9b3d9be6dd8a1f8dbc96339bb1e5efcb9d
[ "MIT" ]
null
null
null
src/metrics/metrics.cc
ngvozdiev/ctr-base
f730ea9b3d9be6dd8a1f8dbc96339bb1e5efcb9d
[ "MIT" ]
null
null
null
#include "metrics.h" #include <google/protobuf/repeated_field.h> #include <google/protobuf/io/coded_stream.h> #include <cstdint> #include <limits> #include <memory> #include <string> #include <type_traits> #include <vector> #include <sys/stat.h> #include <fcntl.h> #include <unistd.h> #include "gflags/gflags.h" #inclu...
28.552198
80
0.700856
[ "vector" ]
a6eeb65e1bf03f3243f1d5e94b45dc69310f58a9
2,877
cpp
C++
tests/test_base64.cpp
mtrempoltsev/serializationpp
b086ac9d4e8ae2678bd290a2d64b167680f45baa
[ "MIT" ]
25
2018-02-14T22:14:48.000Z
2022-02-16T19:40:25.000Z
tests/test_base64.cpp
mtrempoltsev/serializationpp
b086ac9d4e8ae2678bd290a2d64b167680f45baa
[ "MIT" ]
16
2018-01-26T06:35:35.000Z
2022-03-21T17:50:10.000Z
tests/test_base64.cpp
mtrempoltsev/serializationpp
b086ac9d4e8ae2678bd290a2d64b167680f45baa
[ "MIT" ]
2
2018-09-06T16:08:46.000Z
2021-08-20T11:16:51.000Z
#include <gtest/gtest.h> #include <array> #include <pods/details/base64.h> #include <chrono> #include <cstdint> #include <iostream> #include <memory> TEST(base64, common) { const std::vector<char> data1 = { '1' }; const std::vector<char> data2 = { '1', '2' }; const std::vector<char> data3 = { '1', '2',...
42.940299
108
0.691693
[ "vector" ]
a6f1f8d52026e666d848917700025ed70d182427
16,062
cpp
C++
random_walk.cpp
pulver22/mcdm_online_exploration_ros
ad98c9a4a897b6f700b9006f95e17b03e897e76e
[ "MIT" ]
1
2017-06-22T08:31:08.000Z
2017-06-22T08:31:08.000Z
random_walk.cpp
pulver22/mcdm_online_exploration_ros
ad98c9a4a897b6f700b9006f95e17b03e897e76e
[ "MIT" ]
2
2019-11-13T15:30:28.000Z
2020-04-24T10:58:24.000Z
random_walk.cpp
pulver22/mcdm
ad98c9a4a897b6f700b9006f95e17b03e897e76e
[ "MIT" ]
1
2017-06-22T08:31:10.000Z
2017-06-22T08:31:10.000Z
#include <algorithm> #include <iostream> #include <iterator> #include <random> #include "map.h" #include "newray.h" #include "mcdmfunction.h" #include "Criteria/traveldistancecriterion.h" # define PI 3.14159265358979323846 /* pi */ #include <unistd.h> #include <time.h> #include <ctime> #include "utils.h" // ...
47.661721
206
0.688084
[ "vector", "model" ]
a6f2be0d9926c7b41f288d99d7747364701d910b
6,723
cpp
C++
JanuaEngine/tgcviewer-cpp/TgcViewer/TgcSceneLoader/TgcParserUtils.cpp
gigc/Janua
cbcc8ad0e9501e1faef5b37a964769970aa3d236
[ "MIT", "Unlicense" ]
98
2015-01-13T16:23:23.000Z
2022-02-14T21:51:07.000Z
JanuaEngine/tgcviewer-cpp/TgcViewer/TgcSceneLoader/TgcParserUtils.cpp
gigc/Janua
cbcc8ad0e9501e1faef5b37a964769970aa3d236
[ "MIT", "Unlicense" ]
1
2016-06-30T22:07:54.000Z
2016-06-30T22:07:54.000Z
JanuaEngine/tgcviewer-cpp/TgcViewer/TgcSceneLoader/TgcParserUtils.cpp
gigc/Janua
cbcc8ad0e9501e1faef5b37a964769970aa3d236
[ "MIT", "Unlicense" ]
13
2015-08-26T11:19:08.000Z
2021-07-12T03:41:50.000Z
///////////////////////////////////////////////////////////////////////////////// // TgcViewer-cpp // // Author: Matias Leone // ///////////////////////////////////////////////////////////////////////////////// #include "TgcViewer/TgcSceneLoader/TgcParserUtils.h" #include "TgcViewer/TgcGeometry/TgcBoundingBox.h" //...
26.05814
128
0.666369
[ "vector", "transform" ]
a6f84a02baa1866d6ec140d69647cd8ff60c53b1
1,126
cpp
C++
VMultiplayer/Model.cpp
MedAnisBenSalah/VMultiplayer
98dec006afef3a738395934102c5c397ff5ca543
[ "Apache-2.0" ]
1
2018-12-21T13:14:35.000Z
2018-12-21T13:14:35.000Z
VMultiplayer/Model.cpp
MedAnisBenSalah/VMultiplayer
98dec006afef3a738395934102c5c397ff5ca543
[ "Apache-2.0" ]
null
null
null
VMultiplayer/Model.cpp
MedAnisBenSalah/VMultiplayer
98dec006afef3a738395934102c5c397ff5ca543
[ "Apache-2.0" ]
null
null
null
/* ========================================================= V:Multiplayer - http://www.vmultiplayer.com -- File: Model.cpp -- Project: Client -- Author(s): OrMisicL =============================================================*/ #include "Main.h" CModel::CModel(DWORD dwModelHash) { // Set the model hash m_dwMode...
19.413793
95
0.638544
[ "model" ]
a6fd1588fc9a2b99c5328d32dc36091311f120c1
3,733
cpp
C++
Snaky Snake/snake.cpp
E011011101001/Homeworks
7098b103118de53779523045045a238d88764fc9
[ "MIT" ]
6
2019-05-15T04:09:57.000Z
2019-11-13T16:26:21.000Z
Snaky Snake/snake.cpp
E011011101001/Homeworks
7098b103118de53779523045045a238d88764fc9
[ "MIT" ]
null
null
null
Snaky Snake/snake.cpp
E011011101001/Homeworks
7098b103118de53779523045045a238d88764fc9
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> #include <vector> #include <random> #include <ctime> #include <chrono> #include <thread> #include <algorithm> #include <cassert> #include "menu.hpp" #include "snake.hpp" #define milli_sleep(msec) std::this_thread::sleep_for(std::chrono::milliseconds(msec)) const size_t SnakySnak...
26.664286
114
0.554514
[ "vector" ]
4701e3fb704fadddc5321c6e0601913c9a2a6f76
6,802
cpp
C++
components/m8rscript/JSONProto.cpp
cmarrin/m8rscript
4e24800e1be2c2c5e2ec1b7b52aa6df787e6460c
[ "MIT" ]
1
2018-01-30T19:37:27.000Z
2018-01-30T19:37:27.000Z
components/m8rscript/JSONProto.cpp
cmarrin/m8rscript
4e24800e1be2c2c5e2ec1b7b52aa6df787e6460c
[ "MIT" ]
null
null
null
components/m8rscript/JSONProto.cpp
cmarrin/m8rscript
4e24800e1be2c2c5e2ec1b7b52aa6df787e6460c
[ "MIT" ]
3
2017-04-01T23:41:35.000Z
2019-12-14T23:26:24.000Z
/*------------------------------------------------------------------------- This source file is a part of m8rscript For the latest info, see http:www.marrin.org/ Copyright (c) 2018-2019, Chris Marrin All rights reserved. Use of this source code is governed by the MIT license that can be found in...
38.868571
133
0.553367
[ "object" ]
4708d5a8486aa18ccdfa0003df11dcfb05256496
290
cpp
C++
src/gl/textures/DepthBuffer.cpp
TommyTu/Firework
147a758d29f905a53ce1aff86b2bb622d135754d
[ "MIT" ]
null
null
null
src/gl/textures/DepthBuffer.cpp
TommyTu/Firework
147a758d29f905a53ce1aff86b2bb622d135754d
[ "MIT" ]
null
null
null
src/gl/textures/DepthBuffer.cpp
TommyTu/Firework
147a758d29f905a53ce1aff86b2bb622d135754d
[ "MIT" ]
null
null
null
#include "DepthBuffer.h" #include "GL/glew.h" using namespace CS123::GL; DepthBuffer::DepthBuffer(int width, int height) : m_width(width), m_height(height) { // TODO [Task 8] bind() the render buffer and call glRenderbufferStorageEXT // TODO Don't forget to unbind()! }
19.333333
79
0.689655
[ "render" ]
471141558e88878540d84a45daa7211f748b951a
154,987
cpp
C++
third_party/rsyn/src/tool/timing/Timer.cpp
wjx-1999/FastRoute4-lefdef
f9e0a28e42376cd673eae288fa19af60c1cd390e
[ "BSD-3-Clause" ]
1
2019-09-16T13:48:59.000Z
2019-09-16T13:48:59.000Z
third_party/rsyn/src/tool/timing/Timer.cpp
wjx-1999/FastRoute4-lefdef
f9e0a28e42376cd673eae288fa19af60c1cd390e
[ "BSD-3-Clause" ]
null
null
null
third_party/rsyn/src/tool/timing/Timer.cpp
wjx-1999/FastRoute4-lefdef
f9e0a28e42376cd673eae288fa19af60c1cd390e
[ "BSD-3-Clause" ]
null
null
null
/* Copyright 2014-2018 Rsyn * * 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 wr...
44.858755
111
0.38591
[ "vector" ]
471ca9a662a51c1fa1463f2737e2f27814134b2e
1,168
cpp
C++
1126.cpp
ispobock/PAT_code
1426a80ff4a8b0ddba97d9014e10b50a9cff16d6
[ "MIT" ]
1
2020-08-29T03:49:57.000Z
2020-08-29T03:49:57.000Z
1126.cpp
ispobock/PAT_code
1426a80ff4a8b0ddba97d9014e10b50a9cff16d6
[ "MIT" ]
null
null
null
1126.cpp
ispobock/PAT_code
1426a80ff4a8b0ddba97d9014e10b50a9cff16d6
[ "MIT" ]
null
null
null
#include <cstdio> #include <vector> using namespace std; const int maxv = 510; int n, m; vector<int> adj[maxv]; int st, ed; vector<int> temp; bool isE = false; bool vis[maxv] = {false}; void dfs(int s){ vis[s] = true; if(temp.size() == n - 1){ isE = true; return; } temp.push_back(s); for(int i = 0; i < adj[s...
14.974359
41
0.495719
[ "vector" ]
471e3377394c35d92ab549808a6c9da3940f3d55
11,045
cpp
C++
Sources/Folders/IslandCodes.cpp
MirayXS/Vapecord-ACNL-Plugin
247eb270dfe849eda325cc0c6adc5498d51de3ef
[ "MIT" ]
null
null
null
Sources/Folders/IslandCodes.cpp
MirayXS/Vapecord-ACNL-Plugin
247eb270dfe849eda325cc0c6adc5498d51de3ef
[ "MIT" ]
null
null
null
Sources/Folders/IslandCodes.cpp
MirayXS/Vapecord-ACNL-Plugin
247eb270dfe849eda325cc0c6adc5498d51de3ef
[ "MIT" ]
null
null
null
#include "cheats.hpp" #include "Helpers/Game.hpp" #include "Helpers/CROEditing.hpp" #include "RegionCodes.hpp" #include "Helpers/IDList.hpp" #include "Helpers/Wrapper.hpp" #include "Helpers/PlayerClass.hpp" #include "Helpers/ItemSequence.hpp" #include "Helpers/Dropper.hpp" #include "Helpers/Save.hpp" #include...
30.766017
171
0.634767
[ "vector" ]
4720ba436b03cd5d5b0cfc0bf04dfa3e582bf08b
1,200
cc
C++
chapter5/top_n_sum.cc
homuler/ppp-exercises
db83c8deb676c8d480e29d5d1ddaa155afe1b1b0
[ "Unlicense" ]
null
null
null
chapter5/top_n_sum.cc
homuler/ppp-exercises
db83c8deb676c8d480e29d5d1ddaa155afe1b1b0
[ "Unlicense" ]
null
null
null
chapter5/top_n_sum.cc
homuler/ppp-exercises
db83c8deb676c8d480e29d5d1ddaa155afe1b1b0
[ "Unlicense" ]
null
null
null
#include "external/ppp2code/file/std_lib_facilities.h" int add(int x, int y) { if ((x > 0 && y > numeric_limits<int>::max() - x) || (x < 0 && y < numeric_limits<int>::min() + x)) { throw overflow_error { "Overflow detected (x = " + to_string(x) + ", y = " + to_string(y) + ")" }; } return x + y; } int sum(...
20.338983
103
0.4975
[ "vector" ]
47433bf1fbcfbf59dc91a2cae23bf4c1e5aeb230
1,571
cpp
C++
CITM-GameJam/Game/Source/Scene_Logo.cpp
kramtron/CITM-GameJam
86c98cbb36c0c1dc4c673c7f083780d6771bf3c5
[ "MIT" ]
1
2022-02-02T16:15:49.000Z
2022-02-02T16:15:49.000Z
CITM-GameJam/Game/Source/Scene_Logo.cpp
kramtron/CITM-GameJam
86c98cbb36c0c1dc4c673c7f083780d6771bf3c5
[ "MIT" ]
null
null
null
CITM-GameJam/Game/Source/Scene_Logo.cpp
kramtron/CITM-GameJam
86c98cbb36c0c1dc4c673c7f083780d6771bf3c5
[ "MIT" ]
null
null
null
#include "App.h" #include "Input.h" #include "Textures.h" #include "Audio.h" #include "Render.h" #include "Window.h" #include "Scene_StartMenu.h" #include "Scene_Logo.h" #include "Scene_Lvl.h" #include "Scene.h" #include "Animation.h" #include "Defs.h" #include "Log.h" Scene_Logo::Scene_Logo() : Module() { name.Crea...
16.030612
74
0.680458
[ "render" ]
47445a99b1351af7aef705b26563c062874f8d5c
1,790
cc
C++
cloudwf/src/model/QueryRenewPriceRequest.cc
iamzken/aliyun-openapi-cpp-sdk
3c991c9ca949b6003c8f498ce7a672ea88162bf1
[ "Apache-2.0" ]
89
2018-02-02T03:54:39.000Z
2021-12-13T01:32:55.000Z
cloudwf/src/model/QueryRenewPriceRequest.cc
iamzken/aliyun-openapi-cpp-sdk
3c991c9ca949b6003c8f498ce7a672ea88162bf1
[ "Apache-2.0" ]
89
2018-03-14T07:44:54.000Z
2021-11-26T07:43:25.000Z
cloudwf/src/model/QueryRenewPriceRequest.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
69
2018-01-22T09:45:52.000Z
2022-03-28T07:58:38.000Z
/* * Copyright 2009-2017 Alibaba Cloud 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...
27.538462
79
0.745251
[ "vector", "model" ]
47479ac4acfea9dfb05072bd25f57998eaeb5dee
8,269
cpp
C++
AT-Task3-OpenGL/LevelExpanderRotation.cpp
gualtyphone/AT-Task3-OpenGL
b14461f71b1766882082cd1481d21bd00f49cdb5
[ "MIT" ]
1
2018-11-25T10:52:57.000Z
2018-11-25T10:52:57.000Z
AT-Task3-OpenGL/LevelExpanderRotation.cpp
gualtyphone/AT-Task3-OpenGL
b14461f71b1766882082cd1481d21bd00f49cdb5
[ "MIT" ]
null
null
null
AT-Task3-OpenGL/LevelExpanderRotation.cpp
gualtyphone/AT-Task3-OpenGL
b14461f71b1766882082cd1481d21bd00f49cdb5
[ "MIT" ]
null
null
null
#include "LevelExpanderRotation.h" #include "VoxelLevelLoader.h" LevelExpanderRotation::LevelExpanderRotation(unsigned char * _pixels, VoxelLevelLoader * _loader) :LevelExpander(_pixels, _loader) {} LevelExpanderRotation::~LevelExpanderRotation() {} void LevelExpanderRotation::BeginTransform() { //LevelExpander::B...
25.840625
123
0.599226
[ "vector", "3d" ]
4755986c4c2f742d4ccade60c54ce0455bad62f0
6,070
cpp
C++
Greedy/936. Stamping The Sequence.cpp
beckswu/Leetcode
480e8dc276b1f65961166d66efa5497d7ff0bdfd
[ "MIT" ]
138
2020-02-08T05:25:26.000Z
2021-11-04T11:59:28.000Z
Greedy/936. Stamping The Sequence.cpp
beckswu/Leetcode
480e8dc276b1f65961166d66efa5497d7ff0bdfd
[ "MIT" ]
null
null
null
Greedy/936. Stamping The Sequence.cpp
beckswu/Leetcode
480e8dc276b1f65961166d66efa5497d7ff0bdfd
[ "MIT" ]
24
2021-01-02T07:18:43.000Z
2022-03-20T08:17:54.000Z
/* Let's take an example to illustrate. Stamp = "abc", Target = "ababcbc` 1. Target = ab***bc 2. Target = ab***** 3. Target = ******* You can see in the step 1, we replace substring abc with ***. Then we keep doing the same thing. In the step 2, you will find we replace substring *bc to ***. * can match to any cha...
28.767773
109
0.440857
[ "vector" ]
47565decb5f4fccc56dcb6aa358542875914a924
9,823
cpp
C++
tests/mgtest.cpp
maexlich/opencurrent
a51c5a8105563d2f7e260ee7debf79bda2c2dcf0
[ "Apache-2.0" ]
4
2016-11-16T15:29:31.000Z
2018-03-27T03:29:14.000Z
tests/mgtest.cpp
laosunhust/FluidSolver
d0c7fa235853863efdf44b742c70cf6673c8cf9e
[ "Apache-2.0" ]
1
2020-01-26T12:29:00.000Z
2020-01-26T13:56:20.000Z
tests/mgtest.cpp
laosunhust/FluidSolver
d0c7fa235853863efdf44b742c70cf6673c8cf9e
[ "Apache-2.0" ]
1
2018-02-14T16:13:13.000Z
2018-02-14T16:13:13.000Z
/* * Copyright 2008-2009 NVIDIA Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
35.334532
159
0.626285
[ "vector" ]
e6dbbdde526c8cd8d8ff45a21a1f9858e8242e61
2,858
cpp
C++
demo/demo.cpp
davidrzs/Runge-Kutta-ODE-Solver
d6295007e78ae390ff95e2c25e4bcc906ce9624e
[ "MIT" ]
null
null
null
demo/demo.cpp
davidrzs/Runge-Kutta-ODE-Solver
d6295007e78ae390ff95e2c25e4bcc906ce9624e
[ "MIT" ]
null
null
null
demo/demo.cpp
davidrzs/Runge-Kutta-ODE-Solver
d6295007e78ae390ff95e2c25e4bcc906ce9624e
[ "MIT" ]
null
null
null
#include <iostream> #include "matplotlibcpp.h" #include <Eigen/Dense> #include "../src/rk_implementer.hpp" #include "../src/rk_solvers.hpp" namespace plt = matplotlibcpp; void lotkaVolterra(){ /** * Setting global variables, the time we are integrating over * and the number of integration steps we tak...
21.651515
110
0.602169
[ "vector" ]
e6e736b1dd0ea07f61db00644ddca41f7647f2d4
1,671
cpp
C++
deform_control/external_libs/OpenSceneGraph-2.8.5/src/osgFX/Technique.cpp
UM-ARM-Lab/mab_ms
f199f05b88060182cfbb47706bd1ff3479032c43
[ "BSD-2-Clause" ]
3
2018-08-20T12:12:43.000Z
2021-06-06T09:43:27.000Z
deform_control/external_libs/OpenSceneGraph-2.8.5/src/osgFX/Technique.cpp
UM-ARM-Lab/mab_ms
f199f05b88060182cfbb47706bd1ff3479032c43
[ "BSD-2-Clause" ]
null
null
null
deform_control/external_libs/OpenSceneGraph-2.8.5/src/osgFX/Technique.cpp
UM-ARM-Lab/mab_ms
f199f05b88060182cfbb47706bd1ff3479032c43
[ "BSD-2-Clause" ]
1
2022-03-31T03:12:23.000Z
2022-03-31T03:12:23.000Z
#include <osgFX/Technique> #include <osgFX/Effect> #include <osg/GLExtensions> #include <osgUtil/CullVisitor> using namespace osgFX; Technique::Technique() : osg::Referenced() { } void Technique::addPass(osg::StateSet* ss) { if (ss) { _passes.push_back(ss); ss->setRenderBinDetails(static_cas...
23.871429
88
0.614602
[ "vector" ]
e6ec51945a8d9723ebe78e203d7f356b5fe25347
9,936
cpp
C++
Tetris AI/src/Tetris.cpp
MrRobb/Artificial-Intelligence
20451bfed1f46690ac524d3b0d6825f45a61ee75
[ "MIT" ]
15
2018-01-13T14:39:39.000Z
2022-03-18T14:42:41.000Z
Tetris AI/src/Tetris.cpp
MrRobb/Artificial-Intelligence
20451bfed1f46690ac524d3b0d6825f45a61ee75
[ "MIT" ]
4
2018-01-25T15:28:39.000Z
2018-01-25T15:32:05.000Z
Tetris AI/src/Tetris.cpp
MrRobb/Artificial-Intelligence
20451bfed1f46690ac524d3b0d6825f45a61ee75
[ "MIT" ]
6
2018-01-16T10:15:40.000Z
2021-03-25T18:34:46.000Z
// // Tetris.cpp // Tetris AI // // Created by Roberto Ariosa Hernández on 06/01/2018. // Copyright © 2018 Mr.Robb. All rights reserved. // #include "Tetris.hpp" void Tetris::init_shapes() { shapes[I] = {{0,0,0,0}, {1,1,1,1}, {0,0,0,0}, {0,0,0,0}}; shapes[I+1] = {{0,0,1,0}, {0,0,1,0}, {0,0,1,0}, {0,0,1,0}}; sh...
24.352941
152
0.543277
[ "shape", "vector" ]