hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
109
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
1
48.5k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
ef384d7d2e17f773b4f8f060f126eaabe31fd7a1
6,958
cpp
C++
kinematics/Calculator.cpp
WPIMascotMQP/version0.1
5e74211aa035b6ebbd42347b9945ca03ce177499
[ "MIT" ]
null
null
null
kinematics/Calculator.cpp
WPIMascotMQP/version0.1
5e74211aa035b6ebbd42347b9945ca03ce177499
[ "MIT" ]
null
null
null
kinematics/Calculator.cpp
WPIMascotMQP/version0.1
5e74211aa035b6ebbd42347b9945ca03ce177499
[ "MIT" ]
null
null
null
#include "Calculator.h" #include "../behaviourtree/Node.h" namespace cal { Calculator calculator(0); } /** CONSTRUCTOR */ Calculator::Calculator(int start_int) { } /** DECONSTRUCTOR */ Calculator::~Calculator() { } std::shared_ptr<Position> Calculator::getPosition(double yaw, double pitch) { std::shared_ptr...
40.929412
130
0.739149
WPIMascotMQP
ef448712a6009eaeda60347ffa1dec1217fa131a
30,143
cpp
C++
src/Actor.cpp
turion64guy/PSPMania
ce837dca954c76fa7188552ade88becf243899bc
[ "Info-ZIP" ]
9
2015-06-10T21:46:09.000Z
2021-04-22T20:47:31.000Z
src/Actor.cpp
turion64guy/PSPMania
ce837dca954c76fa7188552ade88becf243899bc
[ "Info-ZIP" ]
null
null
null
src/Actor.cpp
turion64guy/PSPMania
ce837dca954c76fa7188552ade88becf243899bc
[ "Info-ZIP" ]
5
2016-06-24T12:06:12.000Z
2021-08-14T17:33:28.000Z
#include "global.h" #include "Actor.h" #include "RageDisplay.h" #include "PrefsManager.h" #include "RageUtil.h" #include "RageMath.h" #include "GameConstantsAndTypes.h" #include "RageLog.h" #include "arch/Dialog/Dialog.h" static float g_fCurrentBGMTime = 0; /* This is Reset instead of Init since many derived classes ...
31.563351
139
0.697343
turion64guy
ef456325cd3e009913b04333c4eadb67e2a2c7c5
2,099
hpp
C++
etl/maths/kalman_filter/kalmanfilter.hpp
julienlopez/ETL
51c6e2c425d1bec29507a4f9a89c6211c9d7488f
[ "MIT" ]
null
null
null
etl/maths/kalman_filter/kalmanfilter.hpp
julienlopez/ETL
51c6e2c425d1bec29507a4f9a89c6211c9d7488f
[ "MIT" ]
1
2015-03-25T09:42:10.000Z
2015-03-25T09:42:10.000Z
etl/maths/kalman_filter/kalmanfilter.hpp
julienlopez/ETL
51c6e2c425d1bec29507a4f9a89c6211c9d7488f
[ "MIT" ]
null
null
null
#ifndef KALMANFILTER_HPP #define KALMANFILTER_HPP #include <etl/maths/matrixhelper.hpp> namespace etl { namespace maths { namespace kalman_filter { template<std::size_t S, std::size_t C, std::size_t M> class KalmanFilter { public: void predict(const Matrix<C, 1>& control){ m_state = m_transitionModel*m...
26.2375
148
0.670319
julienlopez
ef4576a8c4b127bcf4fa7c477f8711138b1d6db1
51,703
hpp
C++
INCLUDE/Vcl/qcontrols.hpp
earthsiege2/borland-cpp-ide
09bcecc811841444338e81b9c9930c0e686f9530
[ "Unlicense", "FSFAP", "Apache-1.1" ]
1
2022-01-13T01:03:55.000Z
2022-01-13T01:03:55.000Z
INCLUDE/Vcl/qcontrols.hpp
earthsiege2/borland-cpp-ide
09bcecc811841444338e81b9c9930c0e686f9530
[ "Unlicense", "FSFAP", "Apache-1.1" ]
null
null
null
INCLUDE/Vcl/qcontrols.hpp
earthsiege2/borland-cpp-ide
09bcecc811841444338e81b9c9930c0e686f9530
[ "Unlicense", "FSFAP", "Apache-1.1" ]
null
null
null
// Borland C++ Builder // Copyright (c) 1995, 2002 by Borland Software Corporation // All rights reserved // (DO NOT EDIT: machine generated header) 'QControls.pas' rev: 6.00 #ifndef QControlsHPP #define QControlsHPP #pragma delphiheader begin #pragma option push -w- #pragma option push -Vx #include <QIm...
44.115188
284
0.775603
earthsiege2
ef4a33d01a1200dac939858364aa625ebd2f8a0f
1,974
cpp
C++
game/source/src/Main_menu_creator.cpp
mateusgondim/Demos
6aa5da3a6c0e960d10811c9e71e9a0a746e8d6ab
[ "MIT" ]
5
2019-02-12T07:23:55.000Z
2020-06-22T15:03:36.000Z
game/source/src/Main_menu_creator.cpp
mateusgondim/Demos
6aa5da3a6c0e960d10811c9e71e9a0a746e8d6ab
[ "MIT" ]
null
null
null
game/source/src/Main_menu_creator.cpp
mateusgondim/Demos
6aa5da3a6c0e960d10811c9e71e9a0a746e8d6ab
[ "MIT" ]
2
2019-06-17T05:04:21.000Z
2020-04-22T09:05:57.000Z
#include "Main_menu_creator.hpp" #include "Resource.hpp" #include "Sprite_atlas.hpp" #include "vec2.hpp" #include "Rect.hpp" #include "Camera_2d.hpp" #include "Text.hpp" #include "Main_menu_canvas.hpp" #include "UI_manager.hpp" #include "Game_object.hpp" #include "Game_object_manager.hpp" #include "runtime_memory_all...
35.890909
119
0.675279
mateusgondim
ef4d42d1b7bb6bafcc602516562f245b21a24243
5,133
cpp
C++
TrabalhoPOO/World.cpp
mbcrocci/TrabalhoPOO
30378382b412e3ed875dbb2bfb897061dafc73ef
[ "MIT" ]
null
null
null
TrabalhoPOO/World.cpp
mbcrocci/TrabalhoPOO
30378382b412e3ed875dbb2bfb897061dafc73ef
[ "MIT" ]
null
null
null
TrabalhoPOO/World.cpp
mbcrocci/TrabalhoPOO
30378382b412e3ed875dbb2bfb897061dafc73ef
[ "MIT" ]
null
null
null
#include "World.h" #include "Castle.h" #include "consola.h" World::World ( int ww, int wh, int nc, std::map < std::string, std::pair<int, int>> c_map, std::vector<std::shared_ptr<Profile>> profiles ) : view_x_ ( 0 ), view_y_ ( 0 ), view_width_ ( MIN_WIDTH ), view_height_ ( MIN_HEIGHT ), colonies_map_ ( c_map ), ...
21.476987
104
0.632574
mbcrocci
ef4d61642e831d3705465f613ff7187102ad0db6
7,133
cpp
C++
TitanHide_x64dbg/pluginmain.cpp
cnsheds/TitanHide
7651c6da28604f56597f6605c76a26ec190a6752
[ "MIT" ]
null
null
null
TitanHide_x64dbg/pluginmain.cpp
cnsheds/TitanHide
7651c6da28604f56597f6605c76a26ec190a6752
[ "MIT" ]
null
null
null
TitanHide_x64dbg/pluginmain.cpp
cnsheds/TitanHide
7651c6da28604f56597f6605c76a26ec190a6752
[ "MIT" ]
null
null
null
#include "pluginmain.h" #include "plugin.h" #include "../TitanHide/TitanHide.h" #include <CommCtrl.h> #include "resource.h" int pluginHandle; HWND hwndDlg; int hMenu; int hMenuDisasm; int hMenuDump; int hMenuStack; HINSTANCE hInst; enum PluginMenuItems : int { MENU_OPTIONS = 0, MENU_ABOUT, ...
30.878788
111
0.644329
cnsheds
ef511fef43105de37e2858338626fd6a9a2592b7
1,069
cpp
C++
Dainsleif/Save/TabStateToml.cpp
l1m0n3/Dainsleif
9ab6f52ace6e3719595e1004aa4faba88f11c29a
[ "MIT" ]
193
2020-08-02T02:11:04.000Z
2022-03-30T14:54:43.000Z
Dainsleif/Save/TabStateToml.cpp
l1m0n3/Dainsleif
9ab6f52ace6e3719595e1004aa4faba88f11c29a
[ "MIT" ]
38
2020-08-04T07:50:11.000Z
2022-02-15T08:48:50.000Z
Dainsleif/Save/TabStateToml.cpp
l1m0n3/Dainsleif
9ab6f52ace6e3719595e1004aa4faba88f11c29a
[ "MIT" ]
23
2020-08-04T19:50:46.000Z
2022-03-11T14:36:07.000Z
#include "TabStateToml.h" //When you add new tab, modify visibleHacks in GraphicHook.cpp void TabStateToml::Save(std::string& filename) { const toml::value data = visibleHacks; std::ofstream file; file.open(filename, std::ios::out); file << data; file.close(); } void TabStateTo...
42.76
81
0.688494
l1m0n3
ef51a4333c7b4138a4db1081514d7132100c853a
358
cpp
C++
InterviewBit/Dynamic Programming/unique-binary-search-trees-ii.cpp
richidubey/AwesomeDataStructuresAndAlgorithms
356a43272c5898a4aa7b87bab8a02aa08cb81cd4
[ "MIT" ]
3
2018-11-15T07:59:13.000Z
2021-07-20T02:06:28.000Z
InterviewBit/Dynamic Programming/unique-binary-search-trees-ii.cpp
richidubey/AwesomeDataStructuresAndAlgorithms
356a43272c5898a4aa7b87bab8a02aa08cb81cd4
[ "MIT" ]
null
null
null
InterviewBit/Dynamic Programming/unique-binary-search-trees-ii.cpp
richidubey/AwesomeDataStructuresAndAlgorithms
356a43272c5898a4aa7b87bab8a02aa08cb81cd4
[ "MIT" ]
3
2018-11-15T06:39:53.000Z
2021-07-20T02:09:18.000Z
//Que at :https://www.interviewbit.com/problems/unique-binary-search-trees-ii/ int Solution::numTrees(int A) { vector<int>a(A+1,0); a[0]=1; a[1]=1; a[2]=2; a[3]=5; for(int i=4;i<=A;i++) { for(int j=1;j<=i;j++) { a[i]+=a[i-j]*a[j-1]; ...
13.769231
79
0.410615
richidubey
ef54e6ff01ec0ad4d481249b93c42d7409fbedc1
1,211
cpp
C++
tests/PopulationTestSuite.cpp
KordianD/Genetic-Algorithm-TSP
8c42fb80e6c677e102b9dbb261488082dd3cb9b8
[ "MIT" ]
1
2018-07-29T18:22:30.000Z
2018-07-29T18:22:30.000Z
tests/PopulationTestSuite.cpp
KordianD/Genetic-Algorithm-TSP
8c42fb80e6c677e102b9dbb261488082dd3cb9b8
[ "MIT" ]
null
null
null
tests/PopulationTestSuite.cpp
KordianD/Genetic-Algorithm-TSP
8c42fb80e6c677e102b9dbb261488082dd3cb9b8
[ "MIT" ]
null
null
null
#include <gtest/gtest.h> #include "Population.hpp" #include "PointInitializerMock.hpp" namespace { constexpr int NUMBER_OF_POINTS{100}; constexpr int ZERO_SIZE_OF_POPULATION{0}; constexpr int NUMBER_OF_INTERATIONS{1000}; constexpr double MUTATION_RATE{0.05}; constexpr double PERCENTAGE_OF_CHILDREN...
36.69697
113
0.728324
KordianD
ef5966153cbe5b4849d41d8c7633b6a4ad77aef4
1,048
cpp
C++
chap4/main.cpp
hironics/cpp_learning
c1dc92d978780a5f0d7e206d56e7c76753d937ee
[ "Apache-2.0" ]
null
null
null
chap4/main.cpp
hironics/cpp_learning
c1dc92d978780a5f0d7e206d56e7c76753d937ee
[ "Apache-2.0" ]
null
null
null
chap4/main.cpp
hironics/cpp_learning
c1dc92d978780a5f0d7e206d56e7c76753d937ee
[ "Apache-2.0" ]
null
null
null
#include <algorithm> #include <algorithm> #include <iomanip> #include <ios> #include <iostream> #include <stdexcept> #include <string> #include <vector> #include "grade.h" #include "student_info.h" using std::cin; using std::setprecision; using std::cout; using std::sort; using std::domain_error; using std::streamsi...
21.387755
62
0.653626
hironics
ef59e3aec2457640e4f81a90c88c97d4b6a5bb16
630
cc
C++
src/alloy/tracing/channel.cc
shuffle2/xenia
9a2d99d6521b63f524dcafec61a13833e79ea227
[ "BSD-3-Clause" ]
2
2016-11-18T23:12:36.000Z
2019-02-08T14:43:40.000Z
src/alloy/tracing/channel.cc
aniruddh22/xenia
99c333afb1c09c8bd30a02b82f30c5b32779b2a1
[ "BSD-3-Clause" ]
null
null
null
src/alloy/tracing/channel.cc
aniruddh22/xenia
99c333afb1c09c8bd30a02b82f30c5b32779b2a1
[ "BSD-3-Clause" ]
null
null
null
/** ****************************************************************************** * Xenia : Xbox 360 Emulator Research Project * ****************************************************************************** * Copyright 2013 Ben Vanik. All rights reserved. ...
30
79
0.368254
shuffle2
ef5a83a02164f9ba23f0429c9cb87cd06903ac52
11,243
cpp
C++
code/client/build-Client-Desktop_Qt_5_11_1_GCC_64bit-Release/moc_manager.cpp
LLFKirito/FengFeng-Mail-System
9ff6f0fe0190c720b637b92793dda306337b0c13
[ "MIT" ]
3
2019-03-08T14:34:54.000Z
2020-09-14T06:48:19.000Z
code/client/build-Client-Desktop_Qt_5_11_1_GCC_64bit-Release/moc_manager.cpp
LLFKirito/FengFeng-Mail-System
9ff6f0fe0190c720b637b92793dda306337b0c13
[ "MIT" ]
null
null
null
code/client/build-Client-Desktop_Qt_5_11_1_GCC_64bit-Release/moc_manager.cpp
LLFKirito/FengFeng-Mail-System
9ff6f0fe0190c720b637b92793dda306337b0c13
[ "MIT" ]
null
null
null
/**************************************************************************** ** Meta object code from reading C++ file 'manager.h' ** ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.11.1) ** ** WARNING! All changes made in this file will be lost! ************************************************************...
35.134375
96
0.589878
LLFKirito
ef5b148435faafdb3c806bce733f325964e9ce62
3,692
cpp
C++
LDYOM_ASI/LDYOM_ASI/VMTHooker/vmt.cpp
MGeymer/LDYOM
059b2e6295889c584cf1622f6829841e3de4d1c1
[ "MIT" ]
2
2021-11-11T07:11:53.000Z
2022-03-14T01:28:27.000Z
LDYOM_ASI/LDYOM_ASI/VMTHooker/vmt.cpp
MGeymer/LDYOM
059b2e6295889c584cf1622f6829841e3de4d1c1
[ "MIT" ]
2
2021-11-13T16:01:16.000Z
2021-11-17T10:37:05.000Z
LDYOM_ASI/LDYOM_ASI/VMTHooker/vmt.cpp
MGeymer/LDYOM
059b2e6295889c584cf1622f6829841e3de4d1c1
[ "MIT" ]
null
null
null
#include "vmt.h" VMTHookManager::VMTHookManager( void** vTable ) : m_vTable( vTable ) { m_numberFuncs = GetNumberOfFunctions( ); //getting the number of virtual functions m_originalFuncs = new void* [ m_numberFuncs ]; // allocating memory so we can save here the addresses of the original functions for( unsigned sho...
33.87156
188
0.707205
MGeymer
ef5bddf809ecb6bc0a56912f980cfc75a96bdb36
6,397
cpp
C++
collection/hld.cpp
jamesjaya/mylib
ec6e0e886e67e05bde531e41027be0e734cca9e9
[ "MIT" ]
2
2017-06-20T11:47:55.000Z
2017-10-16T09:53:15.000Z
collection/hld.cpp
jamesjaya/mylib
ec6e0e886e67e05bde531e41027be0e734cca9e9
[ "MIT" ]
1
2017-10-24T06:50:54.000Z
2017-10-24T06:50:54.000Z
collection/hld.cpp
jamesjaya/mylib
ec6e0e886e67e05bde531e41027be0e734cca9e9
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef pair<int, int> ii; template <class T> struct SegmentTree { inline int m(int left, int right) { return (left + right) >> 1; } inline int l(int current) { return 2 * current + 1; } inline int r(int current) { return 2 * current + 2; } Seg...
25.185039
128
0.56761
jamesjaya
ef5f6bd49984f2971e0e55d9aaaa387fd229a9a3
2,932
cpp
C++
main.cpp
hurkanugur/Command-Based-Text-Editor
cd7946c29f1d3fc5c4d4c5c45b0e3f112ea6e917
[ "MIT" ]
null
null
null
main.cpp
hurkanugur/Command-Based-Text-Editor
cd7946c29f1d3fc5c4d4c5c45b0e3f112ea6e917
[ "MIT" ]
null
null
null
main.cpp
hurkanugur/Command-Based-Text-Editor
cd7946c29f1d3fc5c4d4c5c45b0e3f112ea6e917
[ "MIT" ]
null
null
null
#include "Hurkan_Project.h" string Hurkan_Command(string Command, int& index, bool readToEnd) { string Text; if(readToEnd == false) { for(index; Command[index] != ' ' && Command[index] != '\0'; index++) { Text += Command[index]; } if(Command[index] != '\0') ...
29.918367
153
0.473397
hurkanugur
ef640922a5177fa82291132a040b63781364ad6b
4,180
cpp
C++
Source/ModuleCamera.cpp
Kibium/MateusEngine
9cafdc4a025ffa87c1b23cd7929d75b15100c77d
[ "MIT" ]
null
null
null
Source/ModuleCamera.cpp
Kibium/MateusEngine
9cafdc4a025ffa87c1b23cd7929d75b15100c77d
[ "MIT" ]
null
null
null
Source/ModuleCamera.cpp
Kibium/MateusEngine
9cafdc4a025ffa87c1b23cd7929d75b15100c77d
[ "MIT" ]
null
null
null
#include "ModuleCamera.h" #include "ModuleWindow.h" #include "ModuleProgram.h" #include "ModuleUI.h" #include "GL/glew.h" ModuleCamera::ModuleCamera() {} ModuleCamera::~ModuleCamera() {} void ModuleCamera::LookAt(float3& eye, float3& target, float3& up) { float3 cameraDirection = eye - target; cameraDirection.N...
22.116402
106
0.684928
Kibium
ef658be6c221ef92ea71de4e9da04a952c401ce7
2,137
cpp
C++
FarLight/src/Platform/Renderer/OpenGL/VertexArray/OpenGLVertexArray.cpp
NewBediver/FarLight
1ffaf127f51bb88ea3f5eb8d05c04458532d5389
[ "Apache-2.0" ]
null
null
null
FarLight/src/Platform/Renderer/OpenGL/VertexArray/OpenGLVertexArray.cpp
NewBediver/FarLight
1ffaf127f51bb88ea3f5eb8d05c04458532d5389
[ "Apache-2.0" ]
null
null
null
FarLight/src/Platform/Renderer/OpenGL/VertexArray/OpenGLVertexArray.cpp
NewBediver/FarLight
1ffaf127f51bb88ea3f5eb8d05c04458532d5389
[ "Apache-2.0" ]
null
null
null
// This is an open source non-commercial project. Dear PVS-Studio, please check it. // PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com #include "flpch.h" #include "Platform/Renderer/OpenGL/VertexArray/OpenGLVertexArray.h" #include <glad\glad.h> namespace FarLight { FarLight::OpenGLVerte...
27.753247
97
0.645765
NewBediver
ef6ec18789b7e069f6831208b6a111ccde945d16
3,628
hpp
C++
include/pipe/kpipe.hpp
cageq/knet
e7d2cdf9b28cb679e6a07493c994f1cbb2258c15
[ "Apache-2.0" ]
36
2020-08-26T03:32:47.000Z
2022-01-26T03:32:42.000Z
include/pipe/kpipe.hpp
FL1188/knet
0946bdef4ac660160d60756debdc97390d39c72e
[ "Apache-2.0" ]
2
2020-11-17T17:55:06.000Z
2021-09-18T02:57:13.000Z
include/pipe/kpipe.hpp
FL1188/knet
0946bdef4ac660160d60756debdc97390d39c72e
[ "Apache-2.0" ]
6
2020-08-26T15:32:27.000Z
2021-05-06T13:02:59.000Z
#pragma once #include <unordered_map> #include <memory> #include "knet.hpp" #include "pipe_connection.hpp" #include "pipe_session.hpp" #include "pipe_factory.hpp" using namespace knet::tcp; namespace knet { namespace pipe{ template <class Worker = knet::KNetWorker> class KPipe : public KNetFactory<PipeConnecti...
27.907692
105
0.604741
cageq
ef74760ae24700472a76524b65954822afd37ae9
6,897
hpp
C++
include/dca/phys/dca_step/symmetrization/symmetrize.hpp
frobnitzem/DCA
9f5d16cbfe1a4c4df1d4c8353654dd2882671dca
[ "BSD-3-Clause" ]
27
2018-08-02T04:28:23.000Z
2021-07-08T02:14:20.000Z
include/dca/phys/dca_step/symmetrization/symmetrize.hpp
frobnitzem/DCA
9f5d16cbfe1a4c4df1d4c8353654dd2882671dca
[ "BSD-3-Clause" ]
200
2018-08-02T18:19:03.000Z
2022-03-16T21:28:41.000Z
include/dca/phys/dca_step/symmetrization/symmetrize.hpp
PDoakORNL/DCA-2
5a373f6af5a7d4b5be69199f60ec75a16e58c626
[ "BSD-3-Clause" ]
22
2018-08-15T15:50:00.000Z
2021-09-30T13:41:46.000Z
// Copyright (C) 2018 ETH Zurich // Copyright (C) 2018 UT-Battelle, LLC // All rights reserved. // // See LICENSE for terms of usage. // See CITATION.md for citation guidelines, if DCA++ is used for scientific publications. // // Author: Peter Staar (taa@zurich.ibm.com) // // This class symmetrizes Greens functions acc...
46.288591
107
0.708134
frobnitzem
ef7aad44856cae6e5189125ba8afa726f82ce3c3
11,460
cc
C++
tests/ceftests/extensions/chrome_alarms_unittest.cc
amirbn7/cef
732a307c751c2670a35fd9e0e4a491cdfc6bcc6b
[ "BSD-3-Clause" ]
170
2019-12-11T18:22:27.000Z
2022-02-09T08:32:35.000Z
tests/ceftests/extensions/chrome_alarms_unittest.cc
amirbn7/cef
732a307c751c2670a35fd9e0e4a491cdfc6bcc6b
[ "BSD-3-Clause" ]
113
2019-12-14T04:28:04.000Z
2021-09-26T18:40:27.000Z
tests/ceftests/extensions/chrome_alarms_unittest.cc
amirbn7/cef
732a307c751c2670a35fd9e0e4a491cdfc6bcc6b
[ "BSD-3-Clause" ]
24
2020-01-03T07:49:21.000Z
2021-10-31T14:43:13.000Z
// Copyright (c) 2017 The Chromium Embedded Framework 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 "tests/ceftests/extensions/extension_test_handler.h" #include "tests/ceftests/test_util.h" #include "tests/shared/browser/...
33.607038
80
0.718237
amirbn7
ef7c3c76995ca374d6fdb0a23fb1f0d70db7f34e
3,926
cpp
C++
specific_tests/scene_tree_depth_test/main.cpp
JC3/ModelSplit
cb74dd9b62101e0de9eb11812abd5efb504ab781
[ "MIT" ]
null
null
null
specific_tests/scene_tree_depth_test/main.cpp
JC3/ModelSplit
cb74dd9b62101e0de9eb11812abd5efb504ab781
[ "MIT" ]
10
2021-04-18T15:25:51.000Z
2021-04-24T22:59:53.000Z
specific_tests/scene_tree_depth_test/main.cpp
JC3/ModelSplit
cb74dd9b62101e0de9eb11812abd5efb504ab781
[ "MIT" ]
null
null
null
#include <cstdio> #include <assimp/scene.h> #include <assimp/mesh.h> #include <assimp/Exporter.hpp> #include <assimp/Importer.hpp> #include <assimp/postprocess.h> static void setFace (aiFace &face, unsigned a, unsigned b, unsigned c) { delete[] face.mIndices; face.mNumIndices = 3; face.mIndices = new uns...
27.263889
112
0.614366
JC3
ef7d1d26ce07983676e9146bc2576425024def2f
4,397
cpp
C++
aws-cpp-sdk-lookoutmetrics/source/model/AlertSummary.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-02-10T08:06:54.000Z
2022-02-10T08:06:54.000Z
aws-cpp-sdk-lookoutmetrics/source/model/AlertSummary.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-01-03T23:59:37.000Z
2022-01-03T23:59:37.000Z
aws-cpp-sdk-lookoutmetrics/source/model/AlertSummary.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2021-12-30T04:25:33.000Z
2021-12-30T04:25:33.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/lookoutmetrics/model/AlertSummary.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; namespace Aws { n...
23.142105
97
0.741642
perfectrecall
ef82cbb897e48e3713631ed9e17d56d0ce01b814
8,184
cpp
C++
tools/paint/filehandler.cpp
stranddw/drishti
63973422fd0272e55f755aa51378ee1da0f4ef8a
[ "MIT" ]
118
2016-11-01T06:01:44.000Z
2022-03-30T05:20:19.000Z
tools/paint/filehandler.cpp
stranddw/drishti
63973422fd0272e55f755aa51378ee1da0f4ef8a
[ "MIT" ]
56
2016-09-30T09:29:36.000Z
2022-03-31T17:15:32.000Z
tools/paint/filehandler.cpp
stranddw/drishti
63973422fd0272e55f755aa51378ee1da0f4ef8a
[ "MIT" ]
28
2016-07-31T23:48:51.000Z
2021-05-25T05:32:47.000Z
#include "filehandler.h" #include "blosc.h" #include "global.h" #include <QMainWindow> #include <QMessageBox> FileHandler::FileHandler() { reset(); } FileHandler::~FileHandler() { reset(); } void FileHandler::reset() { m_filename.clear(); m_baseFilename.clear(); m_filenames.clear()...
22.178862
111
0.57588
stranddw
ef890d451321b1dd5d324615f239a5711420ba25
864
cpp
C++
sources/desktop/storagelistner.cpp
Qmlio/Qmlio-Firebase-Plugin
1683c61699c67d9bc001160edbc3d45720a78532
[ "MIT" ]
null
null
null
sources/desktop/storagelistner.cpp
Qmlio/Qmlio-Firebase-Plugin
1683c61699c67d9bc001160edbc3d45720a78532
[ "MIT" ]
1
2020-09-27T21:43:33.000Z
2020-09-29T12:18:54.000Z
sources/desktop/storagelistner.cpp
Qmlio/Qmlio-Firebase-Plugin
1683c61699c67d9bc001160edbc3d45720a78532
[ "MIT" ]
null
null
null
#include "storagelistner.h" #include <QDebug> using namespace qmlio::googleFirebase; StorageListner::~StorageListner() {} StorageListner::StorageListner(const StorageListner &other) { this->m_query = other.m_query; } StorageListner &StorageListner::operator=(const StorageListner &other) { Q_UNUSED(other) return...
27.870968
73
0.719907
Qmlio
ef9097547874fa27d923560c85c43d89ffb43724
206
hpp
C++
source/headers/Protocol/ClientType.hpp
IshaySela/PubSub
d25a90458c4fb178dc3c8eb8a0f204d0c4347043
[ "MIT" ]
null
null
null
source/headers/Protocol/ClientType.hpp
IshaySela/PubSub
d25a90458c4fb178dc3c8eb8a0f204d0c4347043
[ "MIT" ]
null
null
null
source/headers/Protocol/ClientType.hpp
IshaySela/PubSub
d25a90458c4fb178dc3c8eb8a0f204d0c4347043
[ "MIT" ]
null
null
null
namespace PubSub { namespace Protocol { enum class ClientType { Publisher = 0, Subscriber = 1 }; using ClientType = enum ClientType; } }
14.714286
43
0.490291
IshaySela
ef976547434c27c9904e4036691d20f13b4c6661
7,084
hpp
C++
include/tkn/audio3D.hpp
nyorain/tokonoma
b3a4264ef4f9f40487c2f3280812bf7513b914bb
[ "MIT" ]
23
2019-07-11T14:47:39.000Z
2021-12-24T09:56:24.000Z
include/tkn/audio3D.hpp
nyorain/tokonoma
b3a4264ef4f9f40487c2f3280812bf7513b914bb
[ "MIT" ]
null
null
null
include/tkn/audio3D.hpp
nyorain/tokonoma
b3a4264ef4f9f40487c2f3280812bf7513b914bb
[ "MIT" ]
4
2021-04-06T18:20:43.000Z
2022-01-15T09:20:45.000Z
#pragma once #include <tkn/audio.hpp> #include <tkn/lockfree.hpp> #include <nytl/stringParam.hpp> #include <nytl/vec.hpp> #include <dlg/dlg.hpp> #include <phonon.h> // TODO: make it possible to change radius and 'useHRTF' per // audio source. Add mechanism that automatically switches from // HRTF to panning when audi...
27.457364
76
0.704969
nyorain
aab6a9c18977d90ce204eb74cc3d42dc0ad6918c
1,548
cpp
C++
5.cpp
Nihalbabu16/Data-Structure-Lab-Assignments
6e5e236fdac1417335fa6f9eb6cf2ed7d53d875f
[ "MIT" ]
null
null
null
5.cpp
Nihalbabu16/Data-Structure-Lab-Assignments
6e5e236fdac1417335fa6f9eb6cf2ed7d53d875f
[ "MIT" ]
null
null
null
5.cpp
Nihalbabu16/Data-Structure-Lab-Assignments
6e5e236fdac1417335fa6f9eb6cf2ed7d53d875f
[ "MIT" ]
null
null
null
#include<iostream> using namespace std; class Matrix{ int mat[10][10]; int row,col; int enter(int); int sad(int,int); public: Matrix(); void saddle(); }; int Matrix::enter(int k){ do{ int t; cin>>t; if (t>0&&t<k){ return t; } cout<<"\nTry Again\n"; }while(1); } Matrix::Matrix(){ cout<<"\nEnte...
16.294737
64
0.416021
Nihalbabu16
aaba15ee59027c070fd17879b16c19f0b9e2c880
2,185
cpp
C++
c_cpp/src/demo/tc1.cpp
maywzh/data-structure
300a2dd0d6f5035feaeb27c577331ba73b6c8f9d
[ "MIT" ]
null
null
null
c_cpp/src/demo/tc1.cpp
maywzh/data-structure
300a2dd0d6f5035feaeb27c577331ba73b6c8f9d
[ "MIT" ]
null
null
null
c_cpp/src/demo/tc1.cpp
maywzh/data-structure
300a2dd0d6f5035feaeb27c577331ba73b6c8f9d
[ "MIT" ]
null
null
null
#include <iostream> #include <cstdio> #include <string> using namespace std; #include <stdlib.h> static const int MAXSIZE = 100; //链队 typedef struct QNode { int data; struct QNode *next; } QNode; typedef struct LiQueue { int size; QNode *front; QNode *rear; } LiQueue; bool isQueueEmpty(LiQueue *lqu) { ret...
16.807692
64
0.513959
maywzh
aabd363657e70e0f8eaa22da9ee718b03bb8fb75
771
cpp
C++
leetcode/src/ReplaceSpaceInString.cpp
sdbzzhaotq/leetcode
60161bf464affac78f609b4e5c72583661226f5c
[ "MIT" ]
null
null
null
leetcode/src/ReplaceSpaceInString.cpp
sdbzzhaotq/leetcode
60161bf464affac78f609b4e5c72583661226f5c
[ "MIT" ]
null
null
null
leetcode/src/ReplaceSpaceInString.cpp
sdbzzhaotq/leetcode
60161bf464affac78f609b4e5c72583661226f5c
[ "MIT" ]
null
null
null
#include "Solution.h" std::string Solution_Replace_Space_String::replaceSpace(std::string s) { std::string ret; int len = s.length(); for(char c:s){ if(c != ' ') { ret.push_back(c); } else { ret.append("%20"); } } return ret; } std::string Solutio...
17.522727
74
0.42153
sdbzzhaotq
aac1e116f1f4ca650c9b55602eabe0a3a80b2b83
717
cpp
C++
CPP1/recursiveSort.cpp
mrnettek/CPP
25127ae2dea8c4841787ae94669c56a716ee2bea
[ "MIT" ]
null
null
null
CPP1/recursiveSort.cpp
mrnettek/CPP
25127ae2dea8c4841787ae94669c56a716ee2bea
[ "MIT" ]
null
null
null
CPP1/recursiveSort.cpp
mrnettek/CPP
25127ae2dea8c4841787ae94669c56a716ee2bea
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; // place item into a partially sorted array void insert(int x[], int sorted, int item) { if (sorted == 0 || item >= x[sorted - 1]) x[sorted] = item; else { x[sorted] = x[sorted - 1]; insert(x, sorted - 1, item); } } void sort(int x[], int n) { if (n == 1...
21.088235
62
0.523013
mrnettek
aac5e6b653bee657d2ef9f6b885bd530cb9f0763
1,217
cpp
C++
2in1stack.cpp
sushithreddy75/DATA-STRUCTURES
ec948dbaadd0c675596ba1b6fd7c71ef14c9d656
[ "MIT" ]
1
2021-07-22T04:19:46.000Z
2021-07-22T04:19:46.000Z
2in1stack.cpp
sushithreddy75/DATA-STRUCTURES
ec948dbaadd0c675596ba1b6fd7c71ef14c9d656
[ "MIT" ]
null
null
null
2in1stack.cpp
sushithreddy75/DATA-STRUCTURES
ec948dbaadd0c675596ba1b6fd7c71ef14c9d656
[ "MIT" ]
null
null
null
#include<iostream> using namespace std; struct stack { int t,t1; int a[100]; int top(); void push(int); void pop(); int top1(); void push1(int); void pop1(); }; int main() { stack s; s.t=-1; s.t1=100; int x; do { cout<<"enter stack to perform operation || 0 to stop "; cin>>x; if(x==1) { cout<<"...
12.546392
57
0.51931
sushithreddy75
aac9cb9dddd6448e598757908927f3953ca41d84
5,998
cpp
C++
source/ExtKitBuzzer.cpp
softgraph/microbit-dal-ext-kit
c88c8aa9ac341503792b7aaad1e8b46e6d739ff9
[ "MIT" ]
1
2020-12-19T19:20:38.000Z
2020-12-19T19:20:38.000Z
source/ExtKitBuzzer.cpp
softgraph/microbit-dal-ext-kit
c88c8aa9ac341503792b7aaad1e8b46e6d739ff9
[ "MIT" ]
null
null
null
source/ExtKitBuzzer.cpp
softgraph/microbit-dal-ext-kit
c88c8aa9ac341503792b7aaad1e8b46e6d739ff9
[ "MIT" ]
null
null
null
/// The set of components and utilities for C++ applications using `microbit-dal` (also known as micro:bit runtime) /** @package microbit_dal_ext_kit */ /// Buzzer component /** @file @author Copyright (c) 2019 Tomoyuki Nakashima.<br> This code is licensed under MIT license. See `LICENSE` in the project root for m...
48.370968
140
0.666889
softgraph
aaca877bdfaeef871cf4234370a023cb5c93bf1f
7,399
cpp
C++
ObjectARX 2016/samples/editor/mfcsamps/modeless/modeless.cpp
huanjka/AutoCADPlugin-HeatSource
ab0865402b41fe45d3b509c01c6f114d128522a8
[ "MIT" ]
1
2020-02-06T14:08:24.000Z
2020-02-06T14:08:24.000Z
ObjectARX 2016/samples/editor/mfcsamps/modeless/modeless.cpp
huanjka/AutoCADPlugin-HeatSource
ab0865402b41fe45d3b509c01c6f114d128522a8
[ "MIT" ]
null
null
null
ObjectARX 2016/samples/editor/mfcsamps/modeless/modeless.cpp
huanjka/AutoCADPlugin-HeatSource
ab0865402b41fe45d3b509c01c6f114d128522a8
[ "MIT" ]
2
2020-02-21T00:52:24.000Z
2022-02-10T06:05:35.000Z
// ////////////////////////////////////////////////////////////////////////////// // // Copyright 2015 Autodesk, Inc. All rights reserved. // // Use of this software is subject to the terms of the Autodesk license // agreement provided at the time of installation or download, or which // otherwise accompanies th...
26.237589
89
0.603595
huanjka
aad7188518e0eb471ba24d8d7ba75aa47c4b4755
7,789
cxx
C++
src/SigmaCalc.cxx
sjdkay/DEMPgen
36279b9890e53d9e803e5c2757a220a86ebb605d
[ "MIT" ]
1
2020-03-04T19:48:54.000Z
2020-03-04T19:48:54.000Z
src/SigmaCalc.cxx
sjdkay/DEMPgen
36279b9890e53d9e803e5c2757a220a86ebb605d
[ "MIT" ]
1
2022-03-07T21:30:26.000Z
2022-03-07T21:30:26.000Z
src/SigmaCalc.cxx
sjdkay/DEMPgen
36279b9890e53d9e803e5c2757a220a86ebb605d
[ "MIT" ]
3
2022-03-07T21:19:40.000Z
2022-03-10T15:37:25.000Z
#include <vector> #include "json/json.h" #include "TMath.h" #include "DEMPEvent.hxx" #include "Asymmetry.hxx" #include "SigmaL.hxx" #include "SigmaT.hxx" #include "SigmaLT.hxx" #include "SigmaTT.hxx" #include "Constants.hxx" #include "correction.h" #include "SigmaCalc.hxx" using namespace std; using namespace con...
26.858621
106
0.55527
sjdkay
aad7eaf1abf755249e2165619d0fb2d16057ef23
5,032
cpp
C++
TripSum/Top_100.cpp
kravitz/transims4
ea0848bf3dc71440d54724bb3ecba3947b982215
[ "NASA-1.3" ]
2
2018-04-27T11:07:02.000Z
2020-04-24T06:53:21.000Z
TripSum/Top_100.cpp
idkravitz/transims4
ea0848bf3dc71440d54724bb3ecba3947b982215
[ "NASA-1.3" ]
null
null
null
TripSum/Top_100.cpp
idkravitz/transims4
ea0848bf3dc71440d54724bb3ecba3947b982215
[ "NASA-1.3" ]
null
null
null
//********************************************************* // Top_100.cpp - Create a Top 100 Link/Lane/VC Report //********************************************************* #include "TripSum.hpp" //--------------------------------------------------------- // Top_100_Report //-----------------------------------------...
24.309179
103
0.515103
kravitz
aad8321db244945e8b54337127fe9c41a3f34e43
74,471
cc
C++
tool/solverify/src/gtree.cc
jamjpan/libezrs
0c5e92f2ab3bc9acf9c8e62d76f77b8122ded850
[ "MIT" ]
27
2018-03-28T07:53:58.000Z
2021-05-23T11:55:42.000Z
tool/solverify/src/gtree.cc
jamjpan/libezrs
0c5e92f2ab3bc9acf9c8e62d76f77b8122ded850
[ "MIT" ]
25
2018-04-03T13:33:50.000Z
2019-09-30T05:40:01.000Z
tool/solverify/src/gtree.cc
jamjpan/libezrs
0c5e92f2ab3bc9acf9c8e62d76f77b8122ded850
[ "MIT" ]
8
2019-07-31T07:45:55.000Z
2021-04-19T12:56:53.000Z
#include <iostream> #include <cstring> #include <algorithm> #include "../include/gtree.h" namespace GTree { long long Additional_Memory; long long ts, te; static int rootp = 0; std::vector<coor> coordinate; Wide_KNN_ Wide_KNN; G_Tree tree; Graph G; ...
31.01666
149
0.459629
jamjpan
aad8cf449aad584c2a8bcc311db5333e36e430ee
537
cpp
C++
src/snddump.cpp
mcernak/tracter
56b30159099cda6000b9d2977925883cada7f0b1
[ "BSD-3-Clause" ]
null
null
null
src/snddump.cpp
mcernak/tracter
56b30159099cda6000b9d2977925883cada7f0b1
[ "BSD-3-Clause" ]
null
null
null
src/snddump.cpp
mcernak/tracter
56b30159099cda6000b9d2977925883cada7f0b1
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright 2008 by IDIAP Research Institute * http://www.idiap.ch * * See the file COPYING for the licence associated with this software. */ #include <cstdio> #include "SndFileSource.h" #include "ScreenSink.h" using namespace Tracter; int main(int argc, char** argv) { if (argc != 2) ...
17.322581
70
0.60149
mcernak
aae3c2822a2b977cd414727aae7c48f5258aeed3
1,156
cpp
C++
code05/mobi-bzoj2820.cpp
Feynman1999/Number-Theory-in-Programming-Competition
a7d48c80acb3ff916eca708e82ee7321f98a2d12
[ "MIT" ]
12
2019-09-02T06:18:23.000Z
2022-03-11T14:30:24.000Z
code05/mobi-bzoj2820.cpp
Feynman1999/Number-Theory-in-Programming-Competition
a7d48c80acb3ff916eca708e82ee7321f98a2d12
[ "MIT" ]
2
2019-09-03T06:50:53.000Z
2020-07-03T08:38:56.000Z
code05/mobi-bzoj2820.cpp
Feynman1999/Number-Theory-in-Programming-Competition
a7d48c80acb3ff916eca708e82ee7321f98a2d12
[ "MIT" ]
1
2020-07-19T11:24:44.000Z
2020-07-19T11:24:44.000Z
//O(1e7+T*\sqrt{n}) typedef long long ll; const int maxn=1e7+10; int ans[maxn/10]; int mu[maxn]; ll sum[maxn]; bool valid[maxn]; int g[maxn];//sum_{p|n} mu(n/p) int tot; void get_prime(int n) { tot=0; mu[1]=1; g[1]=0; memset(valid,true,sizeof(valid)); for(int i=2;i<=n;++i){ if(valid[i]){ ...
20.280702
63
0.423875
Feynman1999
aae6a15fa404a3e406ae5f749b3b9d73e8609f45
1,068
cpp
C++
Source/pic/Private/GetPatrolPointTaskNode.cpp
LEMONATREE/TencentGameCollegeOpenClassDemo
85588013cef0e2facbb8a641365bf2f44d126bb4
[ "MIT" ]
null
null
null
Source/pic/Private/GetPatrolPointTaskNode.cpp
LEMONATREE/TencentGameCollegeOpenClassDemo
85588013cef0e2facbb8a641365bf2f44d126bb4
[ "MIT" ]
null
null
null
Source/pic/Private/GetPatrolPointTaskNode.cpp
LEMONATREE/TencentGameCollegeOpenClassDemo
85588013cef0e2facbb8a641365bf2f44d126bb4
[ "MIT" ]
null
null
null
// Fill out your copyright notice in the Description page of Project Settings. #include "GetPatrolPointTaskNode.h" #include "EnermyAIController.h" #include "EnermyCharacter.h" #include "NavigationSystem.h" //Get reachable patrol location for AI EBTNodeResult::Type UGetPatrolPointTaskNode::ExecuteTask(UBehaviorTreeCom...
36.827586
110
0.780899
LEMONATREE
aaf05d3682394662c84debc796931b10d09aa624
887
cpp
C++
HackerEarth/Dec/Circuits/ChristmasGifts.cpp
seeva92/Competitive-Programming
69061c5409bb806148616fe7d86543e94bf76edd
[ "Apache-2.0" ]
null
null
null
HackerEarth/Dec/Circuits/ChristmasGifts.cpp
seeva92/Competitive-Programming
69061c5409bb806148616fe7d86543e94bf76edd
[ "Apache-2.0" ]
null
null
null
HackerEarth/Dec/Circuits/ChristmasGifts.cpp
seeva92/Competitive-Programming
69061c5409bb806148616fe7d86543e94bf76edd
[ "Apache-2.0" ]
null
null
null
#include <bits/stdc++.h> typedef long long ll; const int mod = 1e9 + 7; const int MAX = 1e5 + 7; using namespace std; typedef vector<int> vi; vector<int> g[MAX]; int color[MAX]; int n, m, u, v; queue<int> l; void pwhite(int i) { color[i] = 1; for (auto j : g[i]) { if (color[j] == -1 ) { color[j] = 0; l.push(j...
19.711111
65
0.553551
seeva92
aaf371c280de3af84362d0c3b48ba07511ee4786
1,910
cpp
C++
logdevice/common/configuration/SecurityConfig.cpp
mickvav/LogDevice
24a8b6abe4576418eceb72974083aa22d7844705
[ "BSD-3-Clause" ]
1
2021-05-19T23:01:58.000Z
2021-05-19T23:01:58.000Z
logdevice/common/configuration/SecurityConfig.cpp
mickvav/LogDevice
24a8b6abe4576418eceb72974083aa22d7844705
[ "BSD-3-Clause" ]
null
null
null
logdevice/common/configuration/SecurityConfig.cpp
mickvav/LogDevice
24a8b6abe4576418eceb72974083aa22d7844705
[ "BSD-3-Clause" ]
null
null
null
/** * Copyright (c) 2017-present, Facebook, Inc. and its affiliates. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ #include "SecurityConfig.h" #include <folly/dynamic.h> #include <folly/json.h> namesp...
33.508772
76
0.737696
mickvav
aaf5f764be23258a3c111451d6e04dcf98422ece
3,088
cpp
C++
src/glib/concurrent/thread.cpp
klemenkenda/qminer
9db0a72297905cd0d8621107b5a50d6548845f49
[ "BSD-2-Clause-FreeBSD" ]
2
2016-05-19T09:47:05.000Z
2021-06-16T20:03:19.000Z
src/glib/concurrent/thread.cpp
klemenkenda/qminer
9db0a72297905cd0d8621107b5a50d6548845f49
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
src/glib/concurrent/thread.cpp
klemenkenda/qminer
9db0a72297905cd0d8621107b5a50d6548845f49
[ "BSD-2-Clause-FreeBSD" ]
1
2016-03-18T07:20:11.000Z
2016-03-18T07:20:11.000Z
/** * Copyright (c) 2015, Jozef Stefan Institute, Quintelligence d.o.o. and contributors * All rights reserved. * * This source code is licensed under the FreeBSD license found in the * LICENSE file in the root directory of this source tree. */ #include <base.h> #include "thread.h" #if defined(GLib_...
22.540146
106
0.653821
klemenkenda
aaf7af25f7c9f076e2b386719d8987f7577cdb78
42,342
cpp
C++
src/checkpoints/checkpoints.cpp
88plug/morelo
9cbced9044c6ad91b185f4149659b5bc4e42d8cd
[ "BSD-3-Clause" ]
null
null
null
src/checkpoints/checkpoints.cpp
88plug/morelo
9cbced9044c6ad91b185f4149659b5bc4e42d8cd
[ "BSD-3-Clause" ]
null
null
null
src/checkpoints/checkpoints.cpp
88plug/morelo
9cbced9044c6ad91b185f4149659b5bc4e42d8cd
[ "BSD-3-Clause" ]
1
2022-03-15T03:11:06.000Z
2022-03-15T03:11:06.000Z
// Copyright (c) 2018-2019, The Arqma Network // Copyright (c) 2014-2018, The Monero Project // // All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, are // permitted provided that the following conditions are met: // // 1. Redistributions of source code must ret...
66.366771
161
0.854116
88plug
c900819e1530c90fa1622d0e304d9a0ab13d5b6f
448
cpp
C++
Fedoraware/TeamFortress2/TeamFortress2/Hooks/Detours/ClientModeShared_ShouldDrawViewModel.cpp
hyperventilation/Fedoraware
4cd6bea1711a31a797adf855f6ee979138558d3c
[ "WTFPL" ]
28
2022-02-02T04:36:09.000Z
2022-03-31T19:05:10.000Z
Fedoraware/TeamFortress2/TeamFortress2/Hooks/Detours/ClientModeShared_ShouldDrawViewModel.cpp
hyperventilation/Fedoraware
4cd6bea1711a31a797adf855f6ee979138558d3c
[ "WTFPL" ]
103
2022-02-03T11:52:24.000Z
2022-03-31T18:33:55.000Z
Fedoraware/TeamFortress2/TeamFortress2/Hooks/Detours/ClientModeShared_ShouldDrawViewModel.cpp
hyperventilation/Fedoraware
4cd6bea1711a31a797adf855f6ee979138558d3c
[ "WTFPL" ]
39
2022-02-02T23:34:15.000Z
2022-03-27T21:36:05.000Z
#include "../Hooks.h" #include "../../Features/Visuals/Visuals.h" MAKE_HOOK(ClientModeShared_OverrideView, Utils::GetVFuncPtr(I::ClientMode, 24), bool, __fastcall, void* ecx, void* edx) { if (const auto& pLocal = g_EntityCache.GetLocal()) { if (pLocal->IsScoped() && Vars::Visuals::RemoveScope.Value && Vars::Visua...
26.352941
119
0.678571
hyperventilation
c903e255a2b87718dc6a3fd6c4ba5933a840f9f9
21,384
cc
C++
packages/SPn/spn/test/tstMoment_Coefficients.cc
GCZhang/Profugus
d4d8fe295a92a257b26b6082224226ca1edbff5d
[ "BSD-2-Clause" ]
19
2015-06-04T09:02:41.000Z
2021-04-27T19:32:55.000Z
packages/SPn/spn/test/tstMoment_Coefficients.cc
GCZhang/Profugus
d4d8fe295a92a257b26b6082224226ca1edbff5d
[ "BSD-2-Clause" ]
null
null
null
packages/SPn/spn/test/tstMoment_Coefficients.cc
GCZhang/Profugus
d4d8fe295a92a257b26b6082224226ca1edbff5d
[ "BSD-2-Clause" ]
5
2016-10-05T20:48:28.000Z
2021-06-21T12:00:54.000Z
//----------------------------------*-C++-*----------------------------------// /*! * \file SPn/spn/test/tstMoment_Coefficients.cc * \author Thomas M. Evans * \date Mon Feb 10 14:45:24 2014 * \brief Test of Moment_Coefficients class. * \note Copyright (C) 2014 Oak Ridge National Laboratory, UT-Battelle, LLC...
24.327645
80
0.455387
GCZhang
c90546d2bde2ef0d59650815101b09164781e98a
2,457
cpp
C++
raygame/Ghost.cpp
JCoshua/AIforGamesAssessment
c3694fee6506303a0673f174efc33a5d871da72c
[ "MIT" ]
null
null
null
raygame/Ghost.cpp
JCoshua/AIforGamesAssessment
c3694fee6506303a0673f174efc33a5d871da72c
[ "MIT" ]
null
null
null
raygame/Ghost.cpp
JCoshua/AIforGamesAssessment
c3694fee6506303a0673f174efc33a5d871da72c
[ "MIT" ]
null
null
null
#include "Ghost.h" #include "MazeScene.h" #include "Wall.h" #include "raylib.h" #include "Transform2D.h" #include "PathfindComponent.h" #include "MoveComponent.h" #include "SpriteComponent.h" #include "StateMachineComponent.h" #include "WanderComponent.h" #include "AABBCollider.h" Ghost::Ghost(float x, float y, float ...
27.3
111
0.736671
JCoshua
c9055ae7d3075aff02d9198345b2652abf9814e8
8,836
cpp
C++
source/tests/reflectionzeug-test/propertyInstanciationTests/PropertyInstanciationUint16_TArray_test.cpp
kateyy/libzeug
ffb697721cd8ef7d6e685fd5e2c655d711565634
[ "MIT" ]
null
null
null
source/tests/reflectionzeug-test/propertyInstanciationTests/PropertyInstanciationUint16_TArray_test.cpp
kateyy/libzeug
ffb697721cd8ef7d6e685fd5e2c655d711565634
[ "MIT" ]
null
null
null
source/tests/reflectionzeug-test/propertyInstanciationTests/PropertyInstanciationUint16_TArray_test.cpp
kateyy/libzeug
ffb697721cd8ef7d6e685fd5e2c655d711565634
[ "MIT" ]
null
null
null
#include <gmock/gmock.h> #include <reflectionzeug/property/Property.h> #include "../MyObject.h" using namespace reflectionzeug; using std::string; class PropertyInstanceUint16_TArray_test : public testing::Test { public: PropertyInstanceUint16_TArray_test() { } protected: }; namespace { uint16_t s...
29.355482
155
0.744568
kateyy
c90726f1dec7bed6a85d57a792eb90c7f62e7117
645
cpp
C++
pq.cpp
xiaji/noip-csp
7551478e848f3c3d2a4cc2d780d0efeedab67e6e
[ "MIT" ]
1
2021-02-22T03:40:59.000Z
2021-02-22T03:40:59.000Z
pq.cpp
xiaji/noip-csp
7551478e848f3c3d2a4cc2d780d0efeedab67e6e
[ "MIT" ]
null
null
null
pq.cpp
xiaji/noip-csp
7551478e848f3c3d2a4cc2d780d0efeedab67e6e
[ "MIT" ]
null
null
null
//#include <priority_queue> #include <queue> #include <cstdio> #include <iostream> #include <vector> using namespace std; template<typename T> inline void print_queue(T& q) { while (!q.empty()) { cout << q.front() << " "; q.pop(); } cout << endl; } inline bool cmp (int x, int y) { return (x ^ 1) > (y...
15.731707
53
0.586047
xiaji
c90c7c48b37b19c4882ecdfbcf8164624a97f831
14,812
cpp
C++
src/wmtk/TriangleInsertionConn.cpp
wildmeshing/wildmeshing-toolkit
7f4c60e5a6d366d9c3850b720b42b610e10600c2
[ "MIT" ]
8
2021-12-10T08:26:45.000Z
2022-03-24T00:19:41.000Z
src/wmtk/TriangleInsertionConn.cpp
wildmeshing/wildmeshing-toolkit
7f4c60e5a6d366d9c3850b720b42b610e10600c2
[ "MIT" ]
86
2021-12-03T01:46:30.000Z
2022-03-23T19:33:17.000Z
src/wmtk/TriangleInsertionConn.cpp
wildmeshing/wildmeshing-toolkit
7f4c60e5a6d366d9c3850b720b42b610e10600c2
[ "MIT" ]
2
2021-11-26T08:29:38.000Z
2022-01-03T22:10:42.000Z
#include <wmtk/TetMesh.h> #include <wmtk/auto_table.hpp> #include <wmtk/utils/TupleUtils.hpp> #include <bitset> void wmtk::TetMesh::triangle_insertion( const std::vector<Tuple>& intersected_tets, const std::vector<Tuple>& intersected_edges, std::vector<size_t>& new_vids, std::vector<size_t>& new_cen...
36.482759
100
0.547462
wildmeshing
c90e211de1403fc90a336e3c09dfdcffdb3fb580
9,598
cpp
C++
kernel/devices/Ps2Keyboard.cpp
dreamos82/northport
2be1521b66164caeffe82948151b3cfe9c2b3c59
[ "MIT" ]
2
2022-03-25T20:44:01.000Z
2022-03-28T20:43:54.000Z
kernel/devices/Ps2Keyboard.cpp
dreamos82/northport
2be1521b66164caeffe82948151b3cfe9c2b3c59
[ "MIT" ]
null
null
null
kernel/devices/Ps2Keyboard.cpp
dreamos82/northport
2be1521b66164caeffe82948151b3cfe9c2b3c59
[ "MIT" ]
null
null
null
#include <devices/Ps2Controller.h> #include <devices/Keyboard.h> #include <devices/IoApic.h> #include <Log.h> #define BEGIN_BREAK_PACKET 0xF0 #define BEGIN_EXTENDED_PACKET 0xE0 namespace Kernel::Devices { void Ps2Keyboard::Init(bool usePort2) { useSecondaryPort = usePort2; available = true; ...
41.017094
149
0.566368
dreamos82
c913b3b681755309da7ac21eff1d715d5020a860
274
cpp
C++
201/rangeBitwiseAnd.cpp
Lixu518/leetcode
f8e868ef6963da92237e6dc6888d7dda0b9bdd19
[ "MIT" ]
1
2018-06-24T13:58:07.000Z
2018-06-24T13:58:07.000Z
201/rangeBitwiseAnd.cpp
Lixu518/leetcode
f8e868ef6963da92237e6dc6888d7dda0b9bdd19
[ "MIT" ]
null
null
null
201/rangeBitwiseAnd.cpp
Lixu518/leetcode
f8e868ef6963da92237e6dc6888d7dda0b9bdd19
[ "MIT" ]
null
null
null
#include<iostream> using namespace std; int rangeBitwiseAnd(int m, int n){ int i = 0; while(m != n){ m >>= 1; n >>= 1; i++; } return m << i; } int main(){ int m = 5, n = 7; cout<<rangeBitwiseAnd(m, n)<<endl; return 0; }
14.421053
38
0.470803
Lixu518
c915868caa25da17c28da4725f8bb173949b47d0
2,522
cpp
C++
src/core/MemoryAddressRegister.cpp
blurpy/8-bit-computer-emulator
cc5fbdaccbe36c7be42b636d91837726f4e5b97c
[ "MIT" ]
12
2021-03-28T13:31:18.000Z
2022-03-23T04:17:32.000Z
src/core/MemoryAddressRegister.cpp
blurpy/8-bit-computer-emulator
cc5fbdaccbe36c7be42b636d91837726f4e5b97c
[ "MIT" ]
1
2021-05-22T17:35:16.000Z
2021-05-22T17:35:16.000Z
src/core/MemoryAddressRegister.cpp
blurpy/8-bit-computer-emulator
cc5fbdaccbe36c7be42b636d91837726f4e5b97c
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include "Utils.h" #include "MemoryAddressRegister.h" Core::MemoryAddressRegister::MemoryAddressRegister(const std::shared_ptr<RegisterListener> &registerListener, const std::shared_ptr<Bus> &bus) { if (Utils::debugL2()) { ...
26.547368
110
0.641158
blurpy
c91fde91138e45ac4a6317ea0104e1dba0f8338b
591
cpp
C++
cpp/find_frequency .cpp
sandesh31122000/Hactoberfest-2022
bb1c1a7b88f75794d56ebe2cbe234ea5dd08a7df
[ "MIT" ]
1
2021-10-09T05:50:05.000Z
2021-10-09T05:50:05.000Z
cpp/find_frequency .cpp
sandesh31122000/Hactoberfest-2022
bb1c1a7b88f75794d56ebe2cbe234ea5dd08a7df
[ "MIT" ]
2
2021-10-11T03:54:26.000Z
2021-10-12T15:08:08.000Z
cpp/find_frequency .cpp
sandesh31122000/Hactoberfest-2022
bb1c1a7b88f75794d56ebe2cbe234ea5dd08a7df
[ "MIT" ]
24
2021-10-03T12:38:25.000Z
2021-10-10T12:17:37.000Z
#include<bits/stdc++.h> using namespace std; int find_frequency(vector<int> arr,int num) { int count=0; for(auto x: arr) { if(x==num) { count++; } } return count; } int main() { int size,value,num; cout<<"please enter array size:-"; cin>>size; vect...
18.46875
66
0.541455
sandesh31122000
c9204f68274f1f6abb8b6353bc6dedaa4779d868
380
cpp
C++
COJ/HarryPotterAndThePoints.cpp
MartinAparicioPons/Competitive-Programming
58151df0ed08a5e4e605abefdd69fef1ecc10fa0
[ "Apache-2.0" ]
1
2019-09-29T03:58:35.000Z
2019-09-29T03:58:35.000Z
COJ/HarryPotterAndThePoints.cpp
MartinAparicioPons/Competitive-Programming
58151df0ed08a5e4e605abefdd69fef1ecc10fa0
[ "Apache-2.0" ]
null
null
null
COJ/HarryPotterAndThePoints.cpp
MartinAparicioPons/Competitive-Programming
58151df0ed08a5e4e605abefdd69fef1ecc10fa0
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <cstdio> #include <cmath> using namespace std; int main(){ int m; unsigned long long i,j,ac; cin >> m; while (m--){ cin >> i; if (i == 1) { printf("1\n"); continue; } if (i == 2) { printf("5\n"); continue; } ac = 0; for (j = 1; j < i; j++...
13.571429
32
0.447368
MartinAparicioPons
c920528bd4b3d4d6c7d2883608f8070174ce2e19
3,762
cpp
C++
src/Relation.cpp
SpencerTuft/relational-database-cs236-byu
3e6cfee03a19f1e2cc5c8250c2f1de30e4eceb93
[ "Apache-2.0" ]
null
null
null
src/Relation.cpp
SpencerTuft/relational-database-cs236-byu
3e6cfee03a19f1e2cc5c8250c2f1de30e4eceb93
[ "Apache-2.0" ]
null
null
null
src/Relation.cpp
SpencerTuft/relational-database-cs236-byu
3e6cfee03a19f1e2cc5c8250c2f1de30e4eceb93
[ "Apache-2.0" ]
null
null
null
// // Created by Spencer Tuft on 10/27/18. // #include <algorithm> #include <sstream> #include "Relation.h" Relation::Relation() = default; Relation::Relation(std::string relation_name) { n = std::move(relation_name); }; Relation::Relation(std::string relation_name, List header) { n = std::move(relation_name); ...
24.913907
81
0.636364
SpencerTuft
c921e39d4fb29464a1cf6698efe20a52e3406e2f
16,338
cpp
C++
postgres/src/v20170312/model/NormalQueryItem.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
43
2019-08-14T08:14:12.000Z
2022-03-30T12:35:09.000Z
postgres/src/v20170312/model/NormalQueryItem.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
12
2019-07-15T10:44:59.000Z
2021-11-02T12:35:00.000Z
postgres/src/v20170312/model/NormalQueryItem.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
28
2019-07-12T09:06:22.000Z
2022-03-30T08:04:18.000Z
/* * Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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 ...
28.413913
153
0.683499
suluner
c924c1ff61a678ffcafdaedb371f84d16a87a083
170
cpp
C++
Packets/User.cpp
r4yan2/OpenPGP
0299d96ee3b60d1d29b2d59f43610603a1135a5e
[ "MIT" ]
null
null
null
Packets/User.cpp
r4yan2/OpenPGP
0299d96ee3b60d1d29b2d59f43610603a1135a5e
[ "MIT" ]
null
null
null
Packets/User.cpp
r4yan2/OpenPGP
0299d96ee3b60d1d29b2d59f43610603a1135a5e
[ "MIT" ]
1
2018-09-27T12:45:55.000Z
2018-09-27T12:45:55.000Z
#include "User.h" namespace OpenPGP { namespace Packet { User::~User(){} User & User::operator=(const User & copy) { Tag::operator=(copy); return *this; } } }
11.333333
41
0.617647
r4yan2
c92d1d63991e92e4c764b315ac36f1afe81aa380
314
cpp
C++
src/trafficsim/Rando.cpp
lutrarutra/trafsim
05e87b263b48e39d63f699dcaa456f10ca61e9a4
[ "Apache-2.0" ]
12
2019-12-28T21:45:23.000Z
2022-03-28T12:40:44.000Z
src/trafficsim/Rando.cpp
lutrarutra/trafsim
05e87b263b48e39d63f699dcaa456f10ca61e9a4
[ "Apache-2.0" ]
null
null
null
src/trafficsim/Rando.cpp
lutrarutra/trafsim
05e87b263b48e39d63f699dcaa456f10ca61e9a4
[ "Apache-2.0" ]
1
2021-05-31T10:22:41.000Z
2021-05-31T10:22:41.000Z
#pragma once #include "Rando.hpp" #include <iostream> #include <algorithm> #include <random> namespace ts{ } //for test purpose /* int main() { ts::Rando firstRand(7); std::cout << firstRand.roll() << '\n'; ts::Rando secondRand(100); std::cout << secondRand.uniroll() << '\n'; return 0; } */
15.7
46
0.60828
lutrarutra
c92f914e0cf7543cd7ed6fbf7c88f8b5237c5c24
562
cpp
C++
alignment/algorithms/sorting/DifferenceCovers.cpp
ggraham/blasr_libcpp
4abef36585bbb677ebc4acb9d4e44e82331d59f7
[ "RSA-MD" ]
4
2015-07-03T11:59:54.000Z
2018-05-17T00:03:22.000Z
alignment/algorithms/sorting/DifferenceCovers.cpp
ggraham/blasr_libcpp
4abef36585bbb677ebc4acb9d4e44e82331d59f7
[ "RSA-MD" ]
79
2015-06-29T18:07:21.000Z
2018-09-19T13:38:39.000Z
alignment/algorithms/sorting/DifferenceCovers.cpp
ggraham/blasr_libcpp
4abef36585bbb677ebc4acb9d4e44e82331d59f7
[ "RSA-MD" ]
19
2015-06-23T08:43:29.000Z
2021-04-28T18:37:47.000Z
#include <alignment/algorithms/sorting/DifferenceCovers.hpp> #include <pbdata/utils.hpp> #include <cstring> int InitializeDifferenceCover(UInt diffCoverSize, UInt &diffCoverLength, UInt *&diffCover) { for (int index = 0; index < N_COVERS; index++) { if (diffCovers[index][0] == diffCoverSize) { ...
31.222222
90
0.651246
ggraham
c9313cf0dccdbf8fb710aae8acad74ac184ea118
889
cpp
C++
290-word-pattern.cpp
nave7693/leetcode
8ff388cb17e87aa9053eaed3b84e7dc2be3e2e49
[ "MIT" ]
null
null
null
290-word-pattern.cpp
nave7693/leetcode
8ff388cb17e87aa9053eaed3b84e7dc2be3e2e49
[ "MIT" ]
null
null
null
290-word-pattern.cpp
nave7693/leetcode
8ff388cb17e87aa9053eaed3b84e7dc2be3e2e49
[ "MIT" ]
null
null
null
// https://leetcode.com/problems/word-pattern/ // The key is to know of the existance of istringstream that makes splitting the match target string much easier class Solution { public: bool wordPattern(string pattern, string str) { map<char, bool> seen; map<string, int> strings; i...
29.633333
113
0.496063
nave7693
c9316af9ae1fc0a1b6c01c60a854ca594624e552
1,787
hpp
C++
pomdog/experimental/gui/horizontal_layout.hpp
mogemimi/pomdog
6dc6244d018f70d42e61c6118535cf94a9ee0618
[ "MIT" ]
163
2015-03-16T08:42:32.000Z
2022-01-11T21:40:22.000Z
pomdog/experimental/gui/horizontal_layout.hpp
mogemimi/pomdog
6dc6244d018f70d42e61c6118535cf94a9ee0618
[ "MIT" ]
17
2015-04-12T20:57:50.000Z
2020-10-10T10:51:45.000Z
pomdog/experimental/gui/horizontal_layout.hpp
mogemimi/pomdog
6dc6244d018f70d42e61c6118535cf94a9ee0618
[ "MIT" ]
21
2015-04-12T20:45:11.000Z
2022-01-14T20:50:16.000Z
// Copyright mogemimi. Distributed under the MIT license. #pragma once #include "pomdog/basic/conditional_compilation.hpp" #include "pomdog/experimental/gui/thickness.hpp" #include "pomdog/experimental/gui/widget.hpp" #include "pomdog/signals/scoped_connection.hpp" POMDOG_SUPPRESS_WARNINGS_GENERATED_BY_STD_HEADERS_B...
24.479452
78
0.742585
mogemimi
c933405d269053fa1b77c0276f4e89328a2229d1
723
hpp
C++
src/rendering/VoxelRendering.hpp
am-lola/ARVisualizer
b262a0ee5ffb9de1a4ccac16eb5c6b8deacba16d
[ "MIT" ]
1
2018-05-29T07:55:52.000Z
2018-05-29T07:55:52.000Z
src/rendering/VoxelRendering.hpp
am-lola/ARVisualizer
b262a0ee5ffb9de1a4ccac16eb5c6b8deacba16d
[ "MIT" ]
null
null
null
src/rendering/VoxelRendering.hpp
am-lola/ARVisualizer
b262a0ee5ffb9de1a4ccac16eb5c6b8deacba16d
[ "MIT" ]
null
null
null
#ifndef _ARVOXEL_RENDERING_HPP #define _ARVOXEL_RENDERING_HPP #include "RenderingCommon.hpp" #include "InstancedVertexBuffer.hpp" #include "mesh/Vertex.hpp" #include "geometry/Voxel.hpp" namespace ar { class VoxelRenderer : public RenderComponent { public: VoxelRenderer(); virtual void Init() override; virtu...
19.540541
72
0.780083
am-lola
c9373b979120929d2a604eb99d2d5686625f531e
33
hpp
C++
src/boost_mpl_has_xxx.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_mpl_has_xxx.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_mpl_has_xxx.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/mpl/has_xxx.hpp>
16.5
32
0.757576
miathedev
c93aa32ff350c97153c9b301e8bf712d978dcf56
14,520
cpp
C++
src/fan_driver/main.cpp
k-Knight/ArduinoFanController
c0a022b0341b7da3ce37d88c834d48b361709954
[ "MIT" ]
null
null
null
src/fan_driver/main.cpp
k-Knight/ArduinoFanController
c0a022b0341b7da3ce37d88c834d48b361709954
[ "MIT" ]
null
null
null
src/fan_driver/main.cpp
k-Knight/ArduinoFanController
c0a022b0341b7da3ce37d88c834d48b361709954
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <vector> #include <filesystem> #include <chrono> #include <thread> #include <condition_variable> #include <cerrno> #include <csignal> #include <climits> #include <unistd.h> #include <fcntl.h> #include <termios.h> #include <sys/poll.h> #include <sys/ioctl.h> #include <sys...
26.256781
123
0.523003
k-Knight
c93aadf02612884d299553da8f98d796e82317c5
1,741
cpp
C++
Projects/Editor/Source/Editor/Components/MeshRenderer/CRenderMeshEditor.cpp
tsukoyumi/skylicht-engine
3b88d9718e87e552152633ef60e3f889869b71de
[ "MIT" ]
null
null
null
Projects/Editor/Source/Editor/Components/MeshRenderer/CRenderMeshEditor.cpp
tsukoyumi/skylicht-engine
3b88d9718e87e552152633ef60e3f889869b71de
[ "MIT" ]
null
null
null
Projects/Editor/Source/Editor/Components/MeshRenderer/CRenderMeshEditor.cpp
tsukoyumi/skylicht-engine
3b88d9718e87e552152633ef60e3f889869b71de
[ "MIT" ]
null
null
null
/* !@ MIT License Copyright (c) 2021 Skylicht Technology CO., LTD Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the Rights to use, copy, modify...
30.54386
141
0.774268
tsukoyumi
c93bd3e1d10aa15afb28a75bd2ca0ec87840fee0
246
cpp
C++
UVA-11388.cpp
qgatn/UVa
6b6badc5d988a3828184141ed026970df28b4cd1
[ "MIT" ]
null
null
null
UVA-11388.cpp
qgatn/UVa
6b6badc5d988a3828184141ed026970df28b4cd1
[ "MIT" ]
null
null
null
UVA-11388.cpp
qgatn/UVa
6b6badc5d988a3828184141ed026970df28b4cd1
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main() { int t, l, g; cin >> t; while (t--) { cin >> g >> l; if (l % g == 0) { cout << g << " " << l << endl; } else { cout << -1 << endl; } } return 0; }
11.714286
34
0.386179
qgatn
c93e5b1558d1966f471aa7c5c2b5984a654da976
4,845
cpp
C++
Source/ModuleCamera.cpp
AlbertVVila/Engine
adbd5e7b7afc28f230006d1b61f00aa85fa559c4
[ "MIT" ]
4
2019-02-08T23:08:36.000Z
2019-11-09T21:25:15.000Z
Source/ModuleCamera.cpp
AlbertVVila/Engine
adbd5e7b7afc28f230006d1b61f00aa85fa559c4
[ "MIT" ]
2
2019-02-05T13:49:47.000Z
2019-05-27T16:25:46.000Z
Source/ModuleCamera.cpp
AlbertVVila/Engine
adbd5e7b7afc28f230006d1b61f00aa85fa559c4
[ "MIT" ]
2
2019-01-16T21:21:20.000Z
2019-01-27T22:54:33.000Z
#include "Application.h" #include "ModuleCamera.h" #include "ModuleInput.h" #include "ModuleWindow.h" #include "ModuleEditor.h" #include "ModuleRender.h" #include "ComponentCamera.h" #include "JSON.h" #include "imgui.h" #include "Math/MathFunc.h" #include "Geometry/Frustum.h" #include "Brofiler.h" ModuleCamera::Mod...
25.634921
114
0.718266
AlbertVVila
c93ef8584012ebcc2ee6cb979b32053ecef76d71
2,419
hpp
C++
include/dynamic_robot_localization/curvature_estimators/impl/curvature_estimator.hpp
srini-ry/dynamic_robot_localization
8420021b9c0fa6cd1f687486f51e11d339ee925b
[ "BSD-3-Clause" ]
3
2017-06-13T07:02:17.000Z
2019-05-04T12:37:24.000Z
include/dynamic_robot_localization/curvature_estimators/impl/curvature_estimator.hpp
srv/dynamic_robot_localization
0eff0c97cd9d9e9de4ac1ad5c0d4d4442f982d51
[ "BSD-3-Clause" ]
null
null
null
include/dynamic_robot_localization/curvature_estimators/impl/curvature_estimator.hpp
srv/dynamic_robot_localization
0eff0c97cd9d9e9de4ac1ad5c0d4d4442f982d51
[ "BSD-3-Clause" ]
1
2018-10-20T04:07:35.000Z
2018-10-20T04:07:35.000Z
/**\file curvature_estimator.hpp * \brief Description... * * @version 1.0 * @author Carlos Miguel Correia da Costa */ // >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> <includes> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< #include <dynamic_r...
83.413793
176
0.170318
srini-ry
c93f915ec993a44e18699e8be5d2892804a44c4c
7,252
cpp
C++
gframe/deck_manager.cpp
Smile-DK/ygopro-build-test
486a8a58f833a89dcea98857d592473ffc62a8d5
[ "Apache-2.0" ]
null
null
null
gframe/deck_manager.cpp
Smile-DK/ygopro-build-test
486a8a58f833a89dcea98857d592473ffc62a8d5
[ "Apache-2.0" ]
null
null
null
gframe/deck_manager.cpp
Smile-DK/ygopro-build-test
486a8a58f833a89dcea98857d592473ffc62a8d5
[ "Apache-2.0" ]
null
null
null
#include "deck_manager.h" #include "data_manager.h" #include "game.h" #include <algorithm> namespace ygo { DeckManager deckManager; void DeckManager::LoadLFList() { LFList* cur = NULL; FILE* fp = fopen("lflist.conf", "r"); char linebuf[256]; wchar_t strBuffer[256]; if(fp) { while(fgets(linebuf, 256, fp)) { ...
30.216667
108
0.610728
Smile-DK
c94237313a0d984e2432f8937ff3aeebd57c247e
4,142
hh
C++
kernel/boot/apboot-common/boot/DeployHWThread.hh
hertrste/mythos
ea186cf4c1feec91cbcc15435c0364877fa96964
[ "MIT" ]
null
null
null
kernel/boot/apboot-common/boot/DeployHWThread.hh
hertrste/mythos
ea186cf4c1feec91cbcc15435c0364877fa96964
[ "MIT" ]
null
null
null
kernel/boot/apboot-common/boot/DeployHWThread.hh
hertrste/mythos
ea186cf4c1feec91cbcc15435c0364877fa96964
[ "MIT" ]
null
null
null
/* -*- mode:C++; indent-tabs-mode:nil; -*- */ /* MyThOS: The Many-Threads Operating System * * 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 limi...
36.333333
110
0.725736
hertrste
c943efb58b2c216831dcec1a0926d21fffd34b14
329
cpp
C++
TrainingGround/src/grammar/template_function_test.cpp
elloop/algorithm
5485be0aedbc18968f775cff9533a2d444dbdcb5
[ "MIT" ]
15
2015-11-04T12:53:23.000Z
2021-08-10T09:53:12.000Z
TrainingGround/src/grammar/template_function_test.cpp
elloop/algorithm
5485be0aedbc18968f775cff9533a2d444dbdcb5
[ "MIT" ]
null
null
null
TrainingGround/src/grammar/template_function_test.cpp
elloop/algorithm
5485be0aedbc18968f775cff9533a2d444dbdcb5
[ "MIT" ]
6
2015-11-13T10:17:01.000Z
2020-05-14T07:25:48.000Z
//#pragma once warning: #pragma once in main file [-Wpragma-once-outside-header] #include "grammar/template_function_test.h" NS_BEGIN(elloop); NS_BEGIN(template_test); BEGIN_TEST(GrammarTest, TemplateFunctionTest, @@); returnT(1); returnT(1.1); A a; returnT<A>(a); END_TEST; NS_END(template_test); NS_END(...
17.315789
89
0.732523
elloop
c94f331e2048bf0219634e63709fc06a3870413c
9,087
cpp
C++
Main/src/NetworkingServices.cpp
Starz0r/unnamed-sdvx-clone
059179b20bf7c32c39d5912f63716b9447e16d92
[ "MIT" ]
null
null
null
Main/src/NetworkingServices.cpp
Starz0r/unnamed-sdvx-clone
059179b20bf7c32c39d5912f63716b9447e16d92
[ "MIT" ]
null
null
null
Main/src/NetworkingServices.cpp
Starz0r/unnamed-sdvx-clone
059179b20bf7c32c39d5912f63716b9447e16d92
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "NetworkingServices.hpp" #include "GameConfig.hpp" #include <json.hpp> #include <cpr\cpr.h> #include <chrono> #include <thread> #include "cryptopp/cryptlib.h" #include "cryptopp/hex.h" #include "cryptopp/sha3.h" #include <cryptopp/filters.h> #include <cryptopp/files.h> #include "Game.hpp" #...
26.263006
117
0.684714
Starz0r
c95ba9b6e6c64709aebc287e9c247fbe1fca6a7d
9,741
hpp
C++
Peridigm/Code/Anisotropic_Material/materials/Peridigm_CorrespondenceMaterial.hpp
oldninja/PeriDoX
f31bccc7b8ea60cd814d00732aebdbbe876a2ac7
[ "BSD-3-Clause" ]
null
null
null
Peridigm/Code/Anisotropic_Material/materials/Peridigm_CorrespondenceMaterial.hpp
oldninja/PeriDoX
f31bccc7b8ea60cd814d00732aebdbbe876a2ac7
[ "BSD-3-Clause" ]
null
null
null
Peridigm/Code/Anisotropic_Material/materials/Peridigm_CorrespondenceMaterial.hpp
oldninja/PeriDoX
f31bccc7b8ea60cd814d00732aebdbbe876a2ac7
[ "BSD-3-Clause" ]
null
null
null
//! \file Peridigm_CorrespondenceMaterial.hpp //@HEADER // ************************************************************************ // // Peridigm // Copyright (2011) Sandia Corporation // // Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, // the U.S. ...
45.948113
135
0.662047
oldninja
c95d91f4fc1a7f62755f0c9e831612b68359f745
6,644
cpp
C++
examples/14_pubtraffic/generated/src/private/SimpleTrafficSwitchEvents.cpp
Ali-Nasrolahi/areg-sdk
4fbc2f2644220196004a31672a697a864755f0b6
[ "Apache-2.0" ]
70
2021-07-20T11:26:16.000Z
2022-03-27T11:17:43.000Z
examples/14_pubtraffic/generated/src/private/SimpleTrafficSwitchEvents.cpp
Ali-Nasrolahi/areg-sdk
4fbc2f2644220196004a31672a697a864755f0b6
[ "Apache-2.0" ]
32
2021-07-31T05:20:44.000Z
2022-03-20T10:11:52.000Z
examples/14_pubtraffic/generated/src/private/SimpleTrafficSwitchEvents.cpp
Ali-Nasrolahi/areg-sdk
4fbc2f2644220196004a31672a697a864755f0b6
[ "Apache-2.0" ]
40
2021-11-02T09:45:38.000Z
2022-03-27T11:17:46.000Z
////////////////////////////////////////////////////////////////////////// // Begin generate generated/src/private/SimpleTrafficSwitchEvents.cpp file ////////////////////////////////////////////////////////////////////////// /************************************************************************ * (c) copyright ...
51.107692
250
0.501656
Ali-Nasrolahi
c95fc3db2ab8ce2860f2587a74db97fe61e1f390
6,513
cpp
C++
Source/src/components/ComponentImage.cpp
AkitaInteractive/Hachiko-Engine
9d682ed7e00e1f6b889e6e73afa36f290cfb2222
[ "MIT" ]
4
2022-02-17T11:44:39.000Z
2022-03-10T02:20:05.000Z
Source/src/components/ComponentImage.cpp
AkitaInteractive/Hachiko-Engine
9d682ed7e00e1f6b889e6e73afa36f290cfb2222
[ "MIT" ]
26
2022-02-17T20:02:51.000Z
2022-03-31T22:52:14.000Z
Source/src/components/ComponentImage.cpp
AkitaInteractive/Hachiko-Engine
9d682ed7e00e1f6b889e6e73afa36f290cfb2222
[ "MIT" ]
null
null
null
#include "core/hepch.h" #include "ComponentImage.h" #include "ComponentTransform2D.h" #include "ComponentButton.h" #include "modules/ModuleProgram.h" #include "Application.h" #include "modules/ModuleUserInterface.h" #include "modules/ModuleResources.h" #include "modules/ModuleTexture.h" #include "resources/ResourceTex...
37.866279
182
0.593429
AkitaInteractive
c960af8f000d4c27ed0a1e3ce730f26d9887b1f9
1,927
hpp
C++
raftinc/vlalloc.hpp
BamboWu/RaftLib
478ab7bc763d0576dc2706885e90140efdc15a86
[ "Apache-2.0" ]
1
2021-04-21T16:44:27.000Z
2021-04-21T16:44:27.000Z
raftinc/vlalloc.hpp
BamboWu/RaftLib
478ab7bc763d0576dc2706885e90140efdc15a86
[ "Apache-2.0" ]
null
null
null
raftinc/vlalloc.hpp
BamboWu/RaftLib
478ab7bc763d0576dc2706885e90140efdc15a86
[ "Apache-2.0" ]
null
null
null
/** * vlalloc.hpp - simple allocation, just initializes the FIFO with a * fixed size buffer (512 items) with an alignment of 16-bytes. This * can easily be changed by changing the constants below. * @author: Ashen Ekanayake * @version: Sat Sep 20 19:56:49 2014 * * Copyright 2014 Jonathan Beard * * Licen...
32.116667
81
0.696938
BamboWu
e920f39bcd53c20d04ba910e1fec76686760f8fb
9,679
cpp
C++
libMXF++/examples/OPAtomReader/FixedSizeEssenceParser.cpp
brimestoned/bmx
129eb75d87ae713cbf9b8b07f74d223b392f0868
[ "BSD-3-Clause" ]
4
2015-06-09T22:02:39.000Z
2021-04-13T20:48:53.000Z
libMXF++/examples/OPAtomReader/FixedSizeEssenceParser.cpp
brimestoned/bmx
129eb75d87ae713cbf9b8b07f74d223b392f0868
[ "BSD-3-Clause" ]
null
null
null
libMXF++/examples/OPAtomReader/FixedSizeEssenceParser.cpp
brimestoned/bmx
129eb75d87ae713cbf9b8b07f74d223b392f0868
[ "BSD-3-Clause" ]
1
2021-07-09T19:53:27.000Z
2021-07-09T19:53:27.000Z
/* * Parse raw essence data with fixed frame size * * Copyright (C) 2009, 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: * *...
32.921769
129
0.640045
brimestoned
e9254abbef826d3121b43bb4880da253735a78f4
894
hpp
C++
src/app_log.hpp
nyamadan/shader_editor
477aa7165a6f6d721466a4d2fe4d326cf8c9b5df
[ "MIT" ]
4
2019-01-29T07:31:00.000Z
2020-02-18T16:19:08.000Z
src/app_log.hpp
nyamadan/shader_editor
477aa7165a6f6d721466a4d2fe4d326cf8c9b5df
[ "MIT" ]
8
2019-02-03T14:15:15.000Z
2020-07-06T02:46:32.000Z
src/app_log.hpp
nyamadan/shader_editor
477aa7165a6f6d721466a4d2fe4d326cf8c9b5df
[ "MIT" ]
null
null
null
#pragma once #include <imgui.h> typedef enum { Detail, Debug, Info, Error, } AppLogLevel; class AppLog { private: AppLogLevel logLevel = Info; ImGuiTextBuffer buf; ImGuiTextFilter filter; ImVector<int> lineOffsets; // Index to lines offset. We maintain this with AddLog() ...
19.021277
78
0.619687
nyamadan
e927194ed7e92675bff0c422e9fee3fba06698f4
14,899
cpp
C++
src/redirect.cpp
APE-EDX/APECore
e22f5e55e6b8e2a6194e6d3d48731cde3af0e9cf
[ "MIT" ]
5
2016-07-27T17:25:57.000Z
2021-02-21T15:01:51.000Z
src/redirect.cpp
APE-EDX/APECore
e22f5e55e6b8e2a6194e6d3d48731cde3af0e9cf
[ "MIT" ]
null
null
null
src/redirect.cpp
APE-EDX/APECore
e22f5e55e6b8e2a6194e6d3d48731cde3af0e9cf
[ "MIT" ]
null
null
null
#include "redirect.hpp" #include "helpers.hpp" #include "asm.hpp" #include <capstone.h> #include <mutex> Allocator* allocator = nullptr; MemoryFunction* redirectDetour = nullptr; MemoryFunction* redirectCallorigin = nullptr; std::recursive_mutex ctxMutex; extern csh capstoneHandle; // Mutex oper...
21.499278
106
0.637425
APE-EDX
e92741de9bace77c9d348fb738b6a4540af3c65e
985
cpp
C++
Section Assignment 7/Mob Template Class/mob_template_class.cpp
daniel22373/cs106b
aa11e5346011a9ae5a3d07dda8d3974afb16e279
[ "MIT" ]
1
2021-05-19T03:28:58.000Z
2021-05-19T03:28:58.000Z
Section Assignment 7/Mob Template Class/mob_template_class.cpp
daedaldan/cs106b
aa11e5346011a9ae5a3d07dda8d3974afb16e279
[ "MIT" ]
null
null
null
Section Assignment 7/Mob Template Class/mob_template_class.cpp
daedaldan/cs106b
aa11e5346011a9ae5a3d07dda8d3974afb16e279
[ "MIT" ]
null
null
null
// CS106B: Programming Abstractions Assignment 7 Problem 2 #include <iostream> #include <vector> // original class class Mob { public: Mob(); void enqueue(int newElem); int dequeue(); int size(); private: Vector<int> elems; }; void Mob::enqueue(int newElem) { elem...
18.240741
58
0.617259
daniel22373
e9279cb3084ab7715b8df76298a3b79cc86bddd9
4,603
cpp
C++
libstabilizer/PointStabilizer.cpp
LMescheder/Video-Stabilizer
5e129e4a699d6c5d5aa401597d7329298439323f
[ "MIT" ]
10
2017-03-16T09:01:03.000Z
2021-03-06T21:33:14.000Z
libstabilizer/PointStabilizer.cpp
LMescheder/Video-Stabilizer
5e129e4a699d6c5d5aa401597d7329298439323f
[ "MIT" ]
null
null
null
libstabilizer/PointStabilizer.cpp
LMescheder/Video-Stabilizer
5e129e4a699d6c5d5aa401597d7329298439323f
[ "MIT" ]
5
2016-02-24T04:15:18.000Z
2017-10-17T06:51:37.000Z
//======================================================================= // Copyright Lars Mescheder 2015. // Distributed under the MIT License. // (See accompanying file LICENSE or copy at // http://opensource.org/licenses/MIT) //======================================================================= #include "Poin...
38.041322
133
0.621117
LMescheder
e92e66df6f2c18afe0ae0a7cc63d18348e8133aa
1,015
cpp
C++
cannon/graphics/geometry/screen_quad.test.cpp
cannontwo/cannon
4be79f3a6200d1a3cd26c28c8f2250dbdf08f267
[ "MIT" ]
null
null
null
cannon/graphics/geometry/screen_quad.test.cpp
cannontwo/cannon
4be79f3a6200d1a3cd26c28c8f2250dbdf08f267
[ "MIT" ]
46
2021-01-12T23:03:52.000Z
2021-10-01T17:29:01.000Z
cannon/graphics/geometry/screen_quad.test.cpp
cannontwo/cannon
4be79f3a6200d1a3cd26c28c8f2250dbdf08f267
[ "MIT" ]
null
null
null
#ifdef CANNON_BUILD_GRAPHICS #include <catch2/catch.hpp> #include <cannon/graphics/geometry/screen_quad.hpp> #include <cannon/graphics/window.hpp> #include <cannon/graphics/opengl_state.hpp> #include <cannon/graphics/texture.hpp> #include <cannon/graphics/shader_program.hpp> using namespace cannon::graphics; TEST_CA...
20.3
60
0.691626
cannontwo
e9303ac0b7f19c86698be7573bec2f6cd999e580
9,639
cpp
C++
renderboi/window/glfw3/glfw3_window_factory.cpp
deqyra/GLSandbox
40d641ebbf6af694e8640a584d283876d128748c
[ "MIT" ]
null
null
null
renderboi/window/glfw3/glfw3_window_factory.cpp
deqyra/GLSandbox
40d641ebbf6af694e8640a584d283876d128748c
[ "MIT" ]
null
null
null
renderboi/window/glfw3/glfw3_window_factory.cpp
deqyra/GLSandbox
40d641ebbf6af694e8640a584d283876d128748c
[ "MIT" ]
null
null
null
#include "glfw3_window_factory.hpp" #include <cstdlib> #include <cstdarg> #include <cstring> #include <fstream> #include <iostream> #include <string> #include <glad/gl.h> #define GLFW_INCLUDE_NONE #include <GLFW/glfw3.h> #undef GLFW_INCLUDE_NONE #include <cpptools/utility/string_tools.hpp> #include <renderboi/utili...
36.65019
119
0.701836
deqyra
e9313a784382c4ba93cdca0746bdc4c36d1d0994
4,761
hpp
C++
src/GL3Engine/Graphics/Light.hpp
Mati365/Potato3D-Engine
bf683a7213716d17d61d0e53edb32469af5166eb
[ "Unlicense", "MIT" ]
null
null
null
src/GL3Engine/Graphics/Light.hpp
Mati365/Potato3D-Engine
bf683a7213716d17d61d0e53edb32469af5166eb
[ "Unlicense", "MIT" ]
null
null
null
src/GL3Engine/Graphics/Light.hpp
Mati365/Potato3D-Engine
bf683a7213716d17d61d0e53edb32469af5166eb
[ "Unlicense", "MIT" ]
null
null
null
#ifndef LIGHT_HPP_ #define LIGHT_HPP_ #include "Scene.hpp" #include "RenderTarget.hpp" namespace GL3Engine { namespace CoreLighting { // GLSL: // #define MAX_LIGHTS 10 // struct Light { // vec3 pos; // 16B // vec4 specular_col; ...
31.74
89
0.454946
Mati365
e932f9838aadb3d5c2ded2603188bb75125878c4
6,681
cpp
C++
SimAnnealing.cpp
maniezzo/MatheuristicsGAP
80cd27b02776b7751cdbb762fda8e5c58b7833ae
[ "MIT" ]
6
2020-02-26T14:06:12.000Z
2021-10-06T06:47:20.000Z
SimAnnealing.cpp
maniezzo/MatheuristicsGAP
80cd27b02776b7751cdbb762fda8e5c58b7833ae
[ "MIT" ]
null
null
null
SimAnnealing.cpp
maniezzo/MatheuristicsGAP
80cd27b02776b7751cdbb762fda8e5c58b7833ae
[ "MIT" ]
7
2019-02-16T15:43:43.000Z
2021-12-22T07:12:41.000Z
#include "SimAnnealing.h" SimAnnealing::SimAnnealing(GeneralizedAssignemnt* GAPinstance, int & zz) : zub(zz) { //ctor GAP = GAPinstance; m = GAP->m; n = GAP->n; sol = GAP->sol; solbest = GAP->solbest; req = GAP->req; } SimAnnealing::~SimAnnealing() { //dtor } /* 1. Generate an initial feasib...
26.831325
137
0.462655
maniezzo
e9436daf463a1a93488d93a143395038b27c22e1
492
cpp
C++
tenka1-pbc2019/b/main.cpp
kamiyaowl/atcoder
30521be1684e72e75c7ba21312c5f96ae81bf25a
[ "MIT" ]
null
null
null
tenka1-pbc2019/b/main.cpp
kamiyaowl/atcoder
30521be1684e72e75c7ba21312c5f96ae81bf25a
[ "MIT" ]
1
2019-04-20T11:51:59.000Z
2019-04-20T11:51:59.000Z
tenka1-pbc2019/b/main.cpp
kamiyaowl/atcoder
30521be1684e72e75c7ba21312c5f96ae81bf25a
[ "MIT" ]
null
null
null
#include <iostream> #include <algorithm> #include <cmath> #include <vector> #include <map> #include <set> #include <tuple> #include <stdbool.h> #include <bitset> #include <string> #include <boost/multiprecision/cpp_int.hpp> namespace mp = boost::multiprecision; using namespace std; int main(void) { int n,k; ...
17.571429
43
0.599593
kamiyaowl
e948701dd72631193daeecb7280dea7b2aca63db
5,304
cpp
C++
d912pxy/d912pxy_vstream.cpp
Throne3d/d912pxy
0fe44067baf6f7f01a17496e8eda640a4375c63b
[ "MIT" ]
null
null
null
d912pxy/d912pxy_vstream.cpp
Throne3d/d912pxy
0fe44067baf6f7f01a17496e8eda640a4375c63b
[ "MIT" ]
null
null
null
d912pxy/d912pxy_vstream.cpp
Throne3d/d912pxy
0fe44067baf6f7f01a17496e8eda640a4375c63b
[ "MIT" ]
null
null
null
/* MIT License Copyright(c) 2018-2019 megai2 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, dist...
23.573333
193
0.739065
Throne3d
e94b8982780d16b55e98bf51aeaa268507469600
1,776
hpp
C++
include/tmm/region.hpp
umbreensabirmain/readex-rrl
0cb73b3a3c6948a8dbdce96c240b24d8e992c2fe
[ "BSD-3-Clause" ]
1
2019-10-09T09:15:47.000Z
2019-10-09T09:15:47.000Z
include/tmm/region.hpp
umbreensabirmain/readex-rrl
0cb73b3a3c6948a8dbdce96c240b24d8e992c2fe
[ "BSD-3-Clause" ]
null
null
null
include/tmm/region.hpp
umbreensabirmain/readex-rrl
0cb73b3a3c6948a8dbdce96c240b24d8e992c2fe
[ "BSD-3-Clause" ]
1
2021-03-15T20:31:07.000Z
2021-03-15T20:31:07.000Z
#ifndef INCLUDE_RRL_REGION_HPP_ #define INCLUDE_RRL_REGION_HPP_ #include <util/common.hpp> namespace rrl { namespace tmm { /** Holds the information about a region. * * This class holds the information that identify a region. * A region is identified by it's function name, * the file and the line number. * */ ...
21.658537
93
0.61036
umbreensabirmain
e94ccec6858ca7ac4bf0b4cea286145451858ff0
3,859
hpp
C++
ndn-cxx/security/v2/validation-policy-config.hpp
gtorresz/ndn-cxx-PEC
0b97a060a5eb67ee82c639f7120bc8147c8e1f52
[ "OpenSSL" ]
null
null
null
ndn-cxx/security/v2/validation-policy-config.hpp
gtorresz/ndn-cxx-PEC
0b97a060a5eb67ee82c639f7120bc8147c8e1f52
[ "OpenSSL" ]
null
null
null
ndn-cxx/security/v2/validation-policy-config.hpp
gtorresz/ndn-cxx-PEC
0b97a060a5eb67ee82c639f7120bc8147c8e1f52
[ "OpenSSL" ]
1
2022-03-29T08:17:27.000Z
2022-03-29T08:17:27.000Z
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2013-2019 Regents of the University of California. * * This file is part of ndn-cxx library (NDN C++ library with eXperimental eXtensions). * * ndn-cxx library is free software: you can redistribute it and/or modify it under the ...
34.150442
96
0.741384
gtorresz
e9509e7587ccbec5793b4ffdefcf7082cacccfd5
2,406
hpp
C++
include/PipelineExecutableInfo.hpp
fuchstraumer/Petrichor
fbbbdb8ec5d54554c0a44f4b0603a624c5f96c0b
[ "MIT" ]
null
null
null
include/PipelineExecutableInfo.hpp
fuchstraumer/Petrichor
fbbbdb8ec5d54554c0a44f4b0603a624c5f96c0b
[ "MIT" ]
null
null
null
include/PipelineExecutableInfo.hpp
fuchstraumer/Petrichor
fbbbdb8ec5d54554c0a44f4b0603a624c5f96c0b
[ "MIT" ]
null
null
null
#pragma once #ifndef PETRICHOR_PIPELINE_EXECUTABLE_INFO_HPP #define PETRICHOR_PIPELINE_EXECUTABLE_INFO_HPP #include <cstdint> #include "vulkan/vulkan_core.h" namespace petrichor { struct PipelineExecutableInfo; struct ShaderExecutableInfo { ~ShaderExecutableInfo(); ShaderExecutableInfo(ShaderExecutableInfo&...
32.513514
124
0.75852
fuchstraumer
e950f695ebaf6f3ee25b7a31aff84a346e008725
4,356
cpp
C++
7ze-src/CPP/7zip/UI/Far/OverwriteDialogFar.cpp
StephanBusch/7-Zip
35c215fbc3efc16951182f6127885d22d11a018e
[ "Apache-2.0" ]
14
2016-08-17T09:45:30.000Z
2021-12-01T23:06:20.000Z
7zip_15-14/CPP/7zip/UI/Far/OverwriteDialogFar.cpp
LuboO/7Zip-Javacard-security_PV204_Eteam
18f1c12861853d1bd7e15e4f38dd375c9552e727
[ "MIT" ]
2
2018-06-03T07:17:39.000Z
2021-12-14T22:30:10.000Z
7zip_15-14/CPP/7zip/UI/Far/OverwriteDialogFar.cpp
LuboO/7Zip-Javacard-security_PV204_Eteam
18f1c12861853d1bd7e15e4f38dd375c9552e727
[ "MIT" ]
5
2016-07-21T05:08:55.000Z
2021-11-16T02:18:45.000Z
// OverwriteDialogFar.cpp #include "StdAfx.h" #include <stdio.h> #include "../../../Common/StringConvert.h" #include "../../../Common/IntToString.h" #include "../../../Windows/FileName.h" #include "../../../Windows/PropVariantConv.h" #include "FarUtils.h" #include "Messages.h" #include "OverwriteDialogFar.h" usi...
35.414634
124
0.695592
StephanBusch
e95415a4880fac5e615340f33572ff61e664373d
3,070
hpp
C++
stochepi/src/state.hpp
eeg-lanl/sarscov2-selection
c2087cbaf55de9930736aa6677a57008a2397583
[ "BSD-3-Clause" ]
null
null
null
stochepi/src/state.hpp
eeg-lanl/sarscov2-selection
c2087cbaf55de9930736aa6677a57008a2397583
[ "BSD-3-Clause" ]
null
null
null
stochepi/src/state.hpp
eeg-lanl/sarscov2-selection
c2087cbaf55de9930736aa6677a57008a2397583
[ "BSD-3-Clause" ]
null
null
null
#ifndef STATE_HPP_ #define STATE_HPP_ #include <vector> #include <string> #include "aux.hpp" #include "variable.hpp" /** @todo named variables (pass a list of strings at construction) * overload operator[] to get access to variables using their names */ class State : public Printable { public: State() : _t(0.0) ...
36.987952
83
0.696417
eeg-lanl
e958e3f8e116c8a6d234f727c8e940b447a4e2c1
1,564
cpp
C++
src/network/tcp_connection.cpp
zlecky/gamecell
309c4e094ed214f79183429e2d2ae9a1464f9b45
[ "MIT" ]
null
null
null
src/network/tcp_connection.cpp
zlecky/gamecell
309c4e094ed214f79183429e2d2ae9a1464f9b45
[ "MIT" ]
null
null
null
src/network/tcp_connection.cpp
zlecky/gamecell
309c4e094ed214f79183429e2d2ae9a1464f9b45
[ "MIT" ]
null
null
null
#include "tcp_connection.h" #include "buffer.h" #include "codec.h" #include "channel.h" #include "event_poller.h" namespace TinyNet { TcpConn::TcpConn() { } TcpConn::~TcpConn() { } void TcpConn::attach(EventContextPtr ct, EndpointPtr ep) { context_ = ct; endpoint_ = ep; ...
23.343284
78
0.52046
zlecky
e960ac09504ac39893c8a7cbd2b9bbfa129c5bd3
6,169
cpp
C++
counting/counting.cpp
markpal/npdpbennch
148229e0b180987b98d9c17bcaf660b27094bd57
[ "MIT" ]
null
null
null
counting/counting.cpp
markpal/npdpbennch
148229e0b180987b98d9c17bcaf660b27094bd57
[ "MIT" ]
null
null
null
counting/counting.cpp
markpal/npdpbennch
148229e0b180987b98d9c17bcaf660b27094bd57
[ "MIT" ]
null
null
null
// set check to 0 to measure time, set to 1 to check validity #include <stdio.h> #include <stdlib.h> #include <limits.h> #include <omp.h> #include <math.h> #define min(a,b) (((a)<(b))?(a):(b)) #define MIN(a,b) (((a)<(b))?(a):(b)) #define max(a,b) (((a)>(b))?(a):(b)) #define MAX(a,b) (((a)>(b))?(a):(b)) #define floor...
28.428571
142
0.431675
markpal
e964d504f2a3fc35d94182928398fe672a27827d
6,304
cpp
C++
Editor/LevelEditor/Edit/frustum.cpp
ixray-team/xray-vss-archive
b245c8601dcefb505b4b51f58142da6769d4dc92
[ "Linux-OpenIB" ]
1
2022-03-26T17:00:19.000Z
2022-03-26T17:00:19.000Z
Editor/ActorEditor/Editor/frustum.cpp
ixray-team/xray-vss-archive
b245c8601dcefb505b4b51f58142da6769d4dc92
[ "Linux-OpenIB" ]
null
null
null
Editor/ActorEditor/Editor/frustum.cpp
ixray-team/xray-vss-archive
b245c8601dcefb505b4b51f58142da6769d4dc92
[ "Linux-OpenIB" ]
1
2022-03-26T17:00:21.000Z
2022-03-26T17:00:21.000Z
//--------------------------------------------------------------------------- #include "stdafx.h" #pragma hdrstop #include "Frustum.h" #include "UI_Main.h" ////////////////////////////////////////////////////////////////////// // Construction/Destruction ////////////////////////////////////////////////////...
25.730612
93
0.49191
ixray-team
e9692b5c9cc5d7b9d74edd81549981137c325c82
1,020
cpp
C++
ABC/ABC192/C.cpp
rajyan/AtCoder
2c1187994016d4c19b95489d2f2d2c0eab43dd8e
[ "MIT" ]
1
2021-06-01T17:13:44.000Z
2021-06-01T17:13:44.000Z
ABC/ABC192/C.cpp
rajyan/AtCoder
2c1187994016d4c19b95489d2f2d2c0eab43dd8e
[ "MIT" ]
null
null
null
ABC/ABC192/C.cpp
rajyan/AtCoder
2c1187994016d4c19b95489d2f2d2c0eab43dd8e
[ "MIT" ]
null
null
null
#ifdef _DEBUG #include "../../../library/src/debug_template.hpp" #define DMP(...) dump(#__VA_ARGS__, __VA_ARGS__) #else #define DMP(...) ((void)0) #endif #include <cassert> #include <cstdio> #include <cmath> #include <iostream> #include <iomanip> #include <string> #include <vector> #include <set> #include <map> #inclu...
18.545455
50
0.577451
rajyan
e96d37534e12f6a7883d1072baa213a7a868cbc3
3,579
cpp
C++
plot_param1.cpp
jlprieur/pisco-papers
5896b20622fb934ebc6e72562b0737c049950226
[ "MIT" ]
null
null
null
plot_param1.cpp
jlprieur/pisco-papers
5896b20622fb934ebc6e72562b0737c049950226
[ "MIT" ]
null
null
null
plot_param1.cpp
jlprieur/pisco-papers
5896b20622fb934ebc6e72562b0737c049950226
[ "MIT" ]
null
null
null
/************************************************************************ * "plot_param1.c" * * To plot with a parameter file, for plain files and latex tables * * JLP * Version 31/03/2020 *************************************************************************/ //#include "jlp_catalog_utils.h" #include "jl...
31.955357
76
0.58955
jlprieur
e973c0a353dfa1b493a115bc6b2e53b171f74d6d
8,590
cpp
C++
src/org/apache/poi/ss/usermodel/FormulaError.cpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
src/org/apache/poi/ss/usermodel/FormulaError.cpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
src/org/apache/poi/ss/usermodel/FormulaError.cpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
// Generated from /POI/java/org/apache/poi/ss/usermodel/FormulaError.java #include <org/apache/poi/ss/usermodel/FormulaError.hpp> #include <java/io/Serializable.hpp> #include <java/lang/ArrayStoreException.hpp> #include <java/lang/Byte.hpp> #include <java/lang/ClassCastException.hpp> #include <java/lang/Comparable.hpp...
33.686275
215
0.659022
pebble2015
e975d7bb5258161f2fce51b32ab763aafae5ab8d
12,472
cpp
C++
main/source/mod/AvHScriptClient.cpp
fmoraw/NS
6c3ae93ca7f929f24da4b8f2d14ea0602184cf08
[ "Unlicense" ]
27
2015-01-05T19:25:14.000Z
2022-03-20T00:34:34.000Z
main/source/mod/AvHScriptClient.cpp
fmoraw/NS
6c3ae93ca7f929f24da4b8f2d14ea0602184cf08
[ "Unlicense" ]
9
2015-01-14T06:51:46.000Z
2021-03-19T12:07:18.000Z
main/source/mod/AvHScriptClient.cpp
fmoraw/NS
6c3ae93ca7f929f24da4b8f2d14ea0602184cf08
[ "Unlicense" ]
5
2015-01-11T10:31:24.000Z
2021-01-06T01:32:58.000Z
//======== (C) Copyright 2002 Charles G. Cleveland All rights reserved. ========= // // The copyright to the contents herein is the property of Charles G. Cleveland. // The contents may be used and/or copied only with the written permission of // Charles G. Cleveland, or in accordance with the terms and conditions ...
25.983333
358
0.682409
fmoraw