hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
108
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
1
67k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
9742aa30c98975ef40db7c44d5d0b00497c8a943
753
cpp
C++
functions/fibonnaci.cpp
neerajsingh869/data-structures-and-algorithms
96087e68fdce743f90f75228af1c7d111f6b92b7
[ "MIT" ]
null
null
null
functions/fibonnaci.cpp
neerajsingh869/data-structures-and-algorithms
96087e68fdce743f90f75228af1c7d111f6b92b7
[ "MIT" ]
null
null
null
functions/fibonnaci.cpp
neerajsingh869/data-structures-and-algorithms
96087e68fdce743f90f75228af1c7d111f6b92b7
[ "MIT" ]
null
null
null
#include<iostream> using namespace std; void fib(int num){ if(num==1){ cout<<"0 "; } else if(num==2){ cout<<"1 "; } else{ int first_num = 0; int second_num = 1; cout<<first_num<<" "<<second_num<<" "; int new_second; for(int i=3; i<=num; i++){ ...
22.147059
80
0.5166
neerajsingh869
97462a44b917207be0aea1dad73accc1c6a2a186
5,532
cpp
C++
src/Renderer_init_rpi.cpp
dem1980/EmulationStation
019e78d0486178520e0ee36322a212b9c9451052
[ "MIT" ]
null
null
null
src/Renderer_init_rpi.cpp
dem1980/EmulationStation
019e78d0486178520e0ee36322a212b9c9451052
[ "MIT" ]
null
null
null
src/Renderer_init_rpi.cpp
dem1980/EmulationStation
019e78d0486178520e0ee36322a212b9c9451052
[ "MIT" ]
1
2021-02-24T23:00:44.000Z
2021-02-24T23:00:44.000Z
#include "Renderer.h" #include <iostream> #include "platform.h" #include <GLES/gl.h> #include <EGL/egl.h> #include <EGL/eglext.h> #include "Font.h" #include <SDL/SDL.h> #include "InputManager.h" #include "Log.h" #ifdef _RPI_ #include <bcm_host.h> #endif namespace Renderer { SDL_Surface* sdlScreen; EGLDisplay d...
23.540426
223
0.685466
dem1980
9747f6de59bbbf91fbcb31e2931c8830241ad624
9,557
cpp
C++
src/host/optimsocgui/src/executionchart.cpp
koenenwmn/optimsoc
2cbb92af68c17484b0b65c5e837e71e51eaafebc
[ "MIT" ]
48
2017-06-30T15:28:08.000Z
2022-03-07T06:47:31.000Z
src/host/optimsocgui/src/executionchart.cpp
koenenwmn/optimsoc
2cbb92af68c17484b0b65c5e837e71e51eaafebc
[ "MIT" ]
96
2017-06-20T19:51:03.000Z
2022-03-16T20:22:36.000Z
src/host/optimsocgui/src/executionchart.cpp
nanvix/optimsoc
aaf9de0bdddec921bde8c31b273d829000c5e5b9
[ "MIT" ]
20
2017-08-17T18:34:51.000Z
2021-09-05T08:36:25.000Z
/* Copyright (c) 2013 by the author(s) * * 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, publi...
37.042636
161
0.68306
koenenwmn
97599792c4c62fb301288faa1a481411b209e273
10,861
cpp
C++
Official Windows Platform Sample/Windows 8.1 Store app samples/[C++]-Windows 8.1 Store app samples/Direct2Dapp printing sample/C++/D2DPageRenderer.cpp
zzgchina888/msdn-code-gallery-microsoft
21cb9b6bc0da3b234c5854ecac449cb3bd261f29
[ "MIT" ]
2
2022-01-21T01:40:58.000Z
2022-01-21T01:41:10.000Z
Official Windows Platform Sample/Windows 8.1 Store app samples/[C++]-Windows 8.1 Store app samples/Direct2Dapp printing sample/C++/D2DPageRenderer.cpp
zzgchina888/msdn-code-gallery-microsoft
21cb9b6bc0da3b234c5854ecac449cb3bd261f29
[ "MIT" ]
1
2022-03-15T04:21:41.000Z
2022-03-15T04:21:41.000Z
Official Windows Platform Sample/Windows 8.1 Store app samples/[C++]-Windows 8.1 Store app samples/Direct2Dapp printing sample/C++/D2DPageRenderer.cpp
zzgchina888/msdn-code-gallery-microsoft
21cb9b6bc0da3b234c5854ecac449cb3bd261f29
[ "MIT" ]
null
null
null
//// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF //// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO //// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A //// PARTICULAR PURPOSE. //// //// Copyright (c) Microsoft Corporation. All rights reserved #include "pch....
30.855114
102
0.652518
zzgchina888
975a772cab49b5a436594142e8021addb6541323
2,081
cpp
C++
sym.cpp
beru/imagefilter
5e1ded9fb050f377b040d2f0b51231d44f14de41
[ "MIT" ]
null
null
null
sym.cpp
beru/imagefilter
5e1ded9fb050f377b040d2f0b51231d44f14de41
[ "MIT" ]
null
null
null
sym.cpp
beru/imagefilter
5e1ded9fb050f377b040d2f0b51231d44f14de41
[ "MIT" ]
null
null
null
#include "sym.h" #include <windows.h> #include <Dbghelp.h> #pragma comment(lib, "Dbghelp.lib") /* #pragma comment(lib, "msvcrtd.lib") // msvcmrtd.lib extern "C" { extern char* __unDName(char *,const char*,int,int,int,unsigned short int); extern char* __unDNameEx(char *,const char*,int,int,int,void *,unsign...
20.81
102
0.588179
beru
975de2855a9caa68cbffe7f2d7feb8b4b78bac01
18,449
cpp
C++
climate-change/src/VS-Project/obj.cpp
jerry871002/CSE201-project
c42cc0e51d0c8367e4d06fc33756ab2ec4118ff4
[ "MIT" ]
5
2021-05-27T21:50:33.000Z
2022-01-28T11:54:32.000Z
climate-change/src/VS-Project/obj.cpp
jerry871002/CSE201-project
c42cc0e51d0c8367e4d06fc33756ab2ec4118ff4
[ "MIT" ]
null
null
null
climate-change/src/VS-Project/obj.cpp
jerry871002/CSE201-project
c42cc0e51d0c8367e4d06fc33756ab2ec4118ff4
[ "MIT" ]
1
2021-01-04T21:12:05.000Z
2021-01-04T21:12:05.000Z
#include <iostream> #include "obj.h" #include <GodotGlobal.hpp> #include <Viewport.hpp> #include <StaticBody2D.hpp> #include <SceneTree.hpp> #include <Rect2.hpp> #include <Label.hpp> #include <String.hpp> #include <wchar.h> #include <string> #include <stdlib.h> #include "City.h" #include "Player.h" #inclu...
37.497967
312
0.633313
jerry871002
975e0fbf7db66fa0dabd475718691bce9561d8e8
2,306
cpp
C++
src/or_ros_plugin_initializer.cpp
UM-ARM-Lab/or_ros_plugin_initializer
eaa0f06cb53277d60cfc940fa1db541276572087
[ "BSD-2-Clause" ]
null
null
null
src/or_ros_plugin_initializer.cpp
UM-ARM-Lab/or_ros_plugin_initializer
eaa0f06cb53277d60cfc940fa1db541276572087
[ "BSD-2-Clause" ]
3
2017-09-08T01:31:00.000Z
2018-02-25T22:03:03.000Z
src/or_ros_plugin_initializer.cpp
UM-ARM-Lab/or_ros_plugin_initializer
eaa0f06cb53277d60cfc940fa1db541276572087
[ "BSD-2-Clause" ]
null
null
null
#include <openrave/plugin.h> #include <boost/bind.hpp> #include <ros/ros.h> using namespace OpenRAVE; namespace armlab_or_plugins { class ORROSPluginInitializer : public ModuleBase { public: ORROSPluginInitializer(EnvironmentBasePtr penv) : ModuleBase(penv) { __...
31.162162
186
0.579358
UM-ARM-Lab
976068e04faa5cf81f933fc171fcd31c10055d30
298
cpp
C++
BOJ/code/002562_max_with_index.cpp
sml0399/implementation_of_algorithms
ea0b4e00f836875baea5946cca186ad80d7f5473
[ "RSA-MD" ]
null
null
null
BOJ/code/002562_max_with_index.cpp
sml0399/implementation_of_algorithms
ea0b4e00f836875baea5946cca186ad80d7f5473
[ "RSA-MD" ]
1
2021-01-12T05:42:07.000Z
2021-01-12T05:42:07.000Z
BOJ/code/002562_max_with_index.cpp
sml0399/implementation_of_algorithms
ea0b4e00f836875baea5946cca186ad80d7f5473
[ "RSA-MD" ]
null
null
null
#include <iostream> using namespace std; int main(void){ int init_index=1; int max_val=-1; int new_num=1; for(int i=0;i<9;i++){ cin>>new_num; if(new_num>max_val){ init_index=i+1; max_val=new_num; } } cout<<max_val<<"\n"; cout<<init_index<<"\n"; return 0; }
16.555556
25
0.590604
sml0399
9761c5dea3e304a7ca0027a0edd3606915b8c986
32,263
cpp
C++
MoravaEngine/src/Renderer/RendererVoxelTerrain.cpp
imgui-works/MoravaEngine_opengl_vulkan_2d_3d_game_engine
b8e6ee3c3c890e9b8cf5de7bcb564b32f6767b6b
[ "Apache-2.0" ]
null
null
null
MoravaEngine/src/Renderer/RendererVoxelTerrain.cpp
imgui-works/MoravaEngine_opengl_vulkan_2d_3d_game_engine
b8e6ee3c3c890e9b8cf5de7bcb564b32f6767b6b
[ "Apache-2.0" ]
null
null
null
MoravaEngine/src/Renderer/RendererVoxelTerrain.cpp
imgui-works/MoravaEngine_opengl_vulkan_2d_3d_game_engine
b8e6ee3c3c890e9b8cf5de7bcb564b32f6767b6b
[ "Apache-2.0" ]
1
2022-01-05T03:51:02.000Z
2022-01-05T03:51:02.000Z
#include "Renderer/RendererVoxelTerrain.h" #include "Core/Profiler.h" #include "Core/ResourceManager.h" #include "Shader/ShaderMain.h" RendererVoxelTerrain::RendererVoxelTerrain() { SetUniforms(); SetShaders(); } RendererVoxelTerrain::~RendererVoxelTerrain() { } void RendererVoxelTerrain::Init(Scene* scene) { } ...
54.962521
169
0.756005
imgui-works
97620c5fdaef9b7a0055691c209fd36f7947ad52
6,329
cpp
C++
lte/gateway/c/core/oai/test/s1ap_task/test_s1ap_mme_handlers_with_injected_state.cpp
nstng/magma
dec2691450f4bdd9e25d1e2eb0a38dc893dfeb7f
[ "BSD-3-Clause" ]
539
2019-02-25T05:03:10.000Z
2020-07-24T11:13:15.000Z
lte/gateway/c/core/oai/test/s1ap_task/test_s1ap_mme_handlers_with_injected_state.cpp
nstng/magma
dec2691450f4bdd9e25d1e2eb0a38dc893dfeb7f
[ "BSD-3-Clause" ]
1,729
2019-02-25T16:02:33.000Z
2020-07-24T23:40:07.000Z
lte/gateway/c/core/oai/test/s1ap_task/test_s1ap_mme_handlers_with_injected_state.cpp
nstng/magma
dec2691450f4bdd9e25d1e2eb0a38dc893dfeb7f
[ "BSD-3-Clause" ]
210
2019-02-25T13:34:53.000Z
2020-07-23T20:16:18.000Z
/** * Copyright 2021 The Magma Authors. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, ...
35.55618
80
0.746089
nstng
9762821f1e884562a60ec9eaee98342ec2c480f1
937
cpp
C++
data/test/cpp/9762821f1e884562a60ec9eaee98342ec2c480f1servicelocator.cpp
harshp8l/deep-learning-lang-detection
2a54293181c1c2b1a2b840ddee4d4d80177efb33
[ "MIT" ]
84
2017-10-25T15:49:21.000Z
2021-11-28T21:25:54.000Z
data/test/cpp/9762821f1e884562a60ec9eaee98342ec2c480f1servicelocator.cpp
vassalos/deep-learning-lang-detection
cbb00b3e81bed3a64553f9c6aa6138b2511e544e
[ "MIT" ]
5
2018-03-29T11:50:46.000Z
2021-04-26T13:33:18.000Z
data/test/cpp/9762821f1e884562a60ec9eaee98342ec2c480f1servicelocator.cpp
vassalos/deep-learning-lang-detection
cbb00b3e81bed3a64553f9c6aa6138b2511e544e
[ "MIT" ]
24
2017-11-22T08:31:00.000Z
2022-03-27T01:22:31.000Z
#include "includes/servicelocator.h" void LogLocator::initialize() { std::shared_ptr<LogEngine> null_service(new NullLogEngine); service_ = null_service; } std::shared_ptr<LogEngine> LogLocator::GetLogEngine() { return service_; } void LogLocator::provide(std::shared_ptr<LogEngine> service) { if (!se...
16.732143
79
0.584845
harshp8l
9765c8a50f00e6b08d045ca6e3a456fb5457b036
7,725
cpp
C++
src/main.cpp
hixfield/HixIRBlaster
c3a6954fb1eed82e8ad7cbe9f8f3904e4f9734c6
[ "MIT" ]
null
null
null
src/main.cpp
hixfield/HixIRBlaster
c3a6954fb1eed82e8ad7cbe9f8f3904e4f9734c6
[ "MIT" ]
null
null
null
src/main.cpp
hixfield/HixIRBlaster
c3a6954fb1eed82e8ad7cbe9f8f3904e4f9734c6
[ "MIT" ]
null
null
null
#include "HixConfig.h" #include "HixMQTT.h" #include "HixWebServer.h" #include "secret.h" #include <Arduino.h> #include <ArduinoOTA.h> #include <IRac.h> #include <IRrecv.h> #include <IRremoteESP8266.h> #include <IRtext.h> #include <IRutils.h> #include <ir_Samsung.h> // runtime global variables HixConfig g_config; H...
31.024096
103
0.590421
hixfield
9766e69a3f35868c1e6305d430e86f975943c091
451
cpp
C++
src/prod/src/Transport/Trace.cpp
vishnuk007/service-fabric
d0afdea185ae932cc3c9eacf179692e6fddbc630
[ "MIT" ]
2,542
2018-03-14T21:56:12.000Z
2019-05-06T01:18:20.000Z
src/prod/src/Transport/Trace.cpp
vishnuk007/service-fabric
d0afdea185ae932cc3c9eacf179692e6fddbc630
[ "MIT" ]
994
2019-05-07T02:39:30.000Z
2022-03-31T13:23:04.000Z
src/prod/src/Transport/Trace.cpp
vishnuk007/service-fabric
d0afdea185ae932cc3c9eacf179692e6fddbc630
[ "MIT" ]
300
2018-03-14T21:57:17.000Z
2019-05-06T20:07:00.000Z
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ #include "stdafx.h" namespace...
32.214286
98
0.547672
vishnuk007
9767dfb1a725fa9ae232f2c9e57b067c1937a06b
1,482
cpp
C++
src/test/core/ParserTest.cpp
hypro/hypro
52ae4ffe0a8427977fce8d7979fffb82a1bc28f6
[ "MIT" ]
22
2016-10-05T12:19:01.000Z
2022-01-23T09:14:41.000Z
src/test/core/ParserTest.cpp
hypro/hypro
52ae4ffe0a8427977fce8d7979fffb82a1bc28f6
[ "MIT" ]
23
2017-05-08T15:02:39.000Z
2021-11-03T16:43:39.000Z
src/test/core/ParserTest.cpp
hypro/hypro
52ae4ffe0a8427977fce8d7979fffb82a1bc28f6
[ "MIT" ]
12
2017-06-07T23:51:09.000Z
2022-01-04T13:06:21.000Z
#include "gtest/gtest.h" #include <fstream> #include <hypro/datastructures/HybridAutomaton/HybridAutomaton.h> #include <hypro/datastructures/reachability/Settings.h> #include <hypro/parser/antlr4-flowstar/ParserWrapper.h> TEST( ParserTest, ParseAutomaton ) { using namespace hypro; // create model-file. std::ofstr...
28.5
116
0.751687
hypro
976c4149789956fee078a3de90d99e6043886fad
416
cpp
C++
oj/sp/CRDS.cpp
shivanib01/codes
f0761472a4b4bea3667c0c13b1c9bcfe5b2597a3
[ "MIT" ]
null
null
null
oj/sp/CRDS.cpp
shivanib01/codes
f0761472a4b4bea3667c0c13b1c9bcfe5b2597a3
[ "MIT" ]
null
null
null
oj/sp/CRDS.cpp
shivanib01/codes
f0761472a4b4bea3667c0c13b1c9bcfe5b2597a3
[ "MIT" ]
null
null
null
/* * Created by * Shivani Bhardwaj <shivanib134@gmail.com> */ #include<iostream> #define MOD 1000007 using namespace std; int main() { int T; uint64_t N,r,s; cin>>T; while(T--) { cin>>N; r=N*(N+1); r%=MOD; s=N*(N-1); s/=...
14.857143
44
0.377404
shivanib01
9774dcb1f5bcf2b97467e4ec34013ab6e8306940
7,165
cpp
C++
Samples/NodeEditor/Font/FontGen.cpp
gamekit-developers/gamekit
74c896af5826ebe8fb72f2911015738f38ab7bb2
[ "Zlib", "MIT" ]
241
2015-01-04T00:36:58.000Z
2022-01-06T19:19:23.000Z
Samples/NodeEditor/Font/FontGen.cpp
slagusev/gamekit
a6e97fcf2a9c3b9b9799bc12c3643818503ffc7d
[ "MIT" ]
10
2015-07-10T18:27:17.000Z
2019-06-26T20:59:59.000Z
Samples/NodeEditor/Font/FontGen.cpp
slagusev/gamekit
a6e97fcf2a9c3b9b9799bc12c3643818503ffc7d
[ "MIT" ]
82
2015-01-25T18:02:35.000Z
2022-03-05T12:28:17.000Z
/* ------------------------------------------------------------------------------- This file is part of OgreKit. http://gamekit.googlecode.com/ Copyright (c) 2006-2010 Charlie C. Contributor(s): none yet. ------------------------------------------------------------------------------- This software i...
18.61039
119
0.619958
gamekit-developers
9777594691a8ea3733d7cb02e2b1ca29e91db8e3
22,146
cpp
C++
SDK/ARKSurvivalEvolved_Chalico_Character_BP_functions.cpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
10
2020-02-17T19:08:46.000Z
2021-07-31T11:07:19.000Z
SDK/ARKSurvivalEvolved_Chalico_Character_BP_functions.cpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
9
2020-02-17T18:15:41.000Z
2021-06-06T19:17:34.000Z
SDK/ARKSurvivalEvolved_Chalico_Character_BP_functions.cpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
3
2020-07-22T17:42:07.000Z
2021-06-19T17:16:13.000Z
// ARKSurvivalEvolved (329.9) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "ARKSurvivalEvolved_Chalico_Character_BP_parameters.hpp" namespace sdk { //--------------------------------------------------------------------------- //Functions //-------------------------------------------------------------...
30.336986
249
0.745372
2bite
977be7eb035c04b9fbf91842863d924427b0d299
3,681
hpp
C++
net/simulation/request.hpp
ORNL-QCI/armish-fireplace
69a270a3f468a9d44f65b6abd77d3dcdd4ca6f91
[ "BSD-3-Clause" ]
1
2020-06-18T23:09:10.000Z
2020-06-18T23:09:10.000Z
net/simulation/request.hpp
ORNL-QCI/armish-fireplace
69a270a3f468a9d44f65b6abd77d3dcdd4ca6f91
[ "BSD-3-Clause" ]
null
null
null
net/simulation/request.hpp
ORNL-QCI/armish-fireplace
69a270a3f468a9d44f65b6abd77d3dcdd4ca6f91
[ "BSD-3-Clause" ]
1
2020-06-18T23:10:30.000Z
2020-06-18T23:10:30.000Z
#ifndef _NET_SIMULATION_REQUEST_HPP #define _NET_SIMULATION_REQUEST_HPP #include <common.hpp> #include <functional> #include <rapidjson/document.h> #include <rapidjson/stringbuffer.h> #include <rapidjson/writer.h> /** * \brief The JSON object name that holds the method string value. */ #define NET_MIDDLEWARE_SIMULA...
26.482014
81
0.645477
ORNL-QCI
97807f636c765e316cc56cf2d2e3b4a9bb38ee1c
303
cpp
C++
test/Test_Massey.cpp
NickG-Math/Mackey
0bd1e5b8aca16f3422c4ab9c5656990e1b501e54
[ "MIT" ]
null
null
null
test/Test_Massey.cpp
NickG-Math/Mackey
0bd1e5b8aca16f3422c4ab9c5656990e1b501e54
[ "MIT" ]
null
null
null
test/Test_Massey.cpp
NickG-Math/Mackey
0bd1e5b8aca16f3422c4ab9c5656990e1b501e54
[ "MIT" ]
null
null
null
#ifdef _MSC_VER #define _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS //Eigen won't work otherwise. #endif #define MACKEY_USE_OPEN_MP #include "Groups/C4.hpp" #include "impl/Test_Massey.ipp" int main() { mackey::test::test_Massey<C4<Eigen::Matrix<short, 1, -1>, Eigen::SparseMatrix<short>>>(); return 0; }
23.307692
90
0.755776
NickG-Math
9780d5976b9a2177d795eac9c3e514991b7d4434
48
cpp
C++
src/Variable.cpp
jonahisadev/jaylang
d4895defbd4439c17337151099bcca906ad59cb0
[ "MIT" ]
null
null
null
src/Variable.cpp
jonahisadev/jaylang
d4895defbd4439c17337151099bcca906ad59cb0
[ "MIT" ]
null
null
null
src/Variable.cpp
jonahisadev/jaylang
d4895defbd4439c17337151099bcca906ad59cb0
[ "MIT" ]
null
null
null
#include <Jay/Variable.h> namespace Jay { }
6.857143
25
0.645833
jonahisadev
97845eee4bcfc72dfc283f98c4fb2bb1682db878
1,942
cc
C++
control/test_stand/thrust_stand_control_test_bq.cc
sentree/hover-jet
7c0f03e57ecfd07a7a167b3ae509700fb48b8764
[ "MIT" ]
10
2018-12-26T23:08:40.000Z
2021-02-04T23:22:01.000Z
control/test_stand/thrust_stand_control_test_bq.cc
sentree/hover-jet
7c0f03e57ecfd07a7a167b3ae509700fb48b8764
[ "MIT" ]
40
2018-12-15T21:10:04.000Z
2021-07-29T06:21:22.000Z
control/test_stand/thrust_stand_control_test_bq.cc
sentree/hover-jet
7c0f03e57ecfd07a7a167b3ae509700fb48b8764
[ "MIT" ]
6
2018-12-15T20:46:19.000Z
2020-11-27T09:39:34.000Z
// %bin(thrust_stand_control_test_balsaq_main) #include "control/test_stand/thrust_stand_control_test_bq.hh" #include "infrastructure/balsa_queue/bq_main_macro.hh" // %deps(yaml-cpp) #include <cassert> namespace jet { namespace control { namespace { // Generate a servo command from the pre-ordained yaml format Quad...
25.552632
79
0.730175
sentree
97859008afd24608dfd20917bd641260522e2be5
6,191
cc
C++
chaps/chapsd.cc
doitmovin/chromiumos-platform2
6462aaf43072307b5a40eb045a89e473381b5fda
[ "BSD-3-Clause" ]
null
null
null
chaps/chapsd.cc
doitmovin/chromiumos-platform2
6462aaf43072307b5a40eb045a89e473381b5fda
[ "BSD-3-Clause" ]
null
null
null
chaps/chapsd.cc
doitmovin/chromiumos-platform2
6462aaf43072307b5a40eb045a89e473381b5fda
[ "BSD-3-Clause" ]
2
2021-01-26T12:37:19.000Z
2021-05-18T13:37:57.000Z
// Copyright (c) 2011 The Chromium OS Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // This is the Chaps daemon. It handles calls from multiple processes via D-Bus. // #include <signal.h> #include <memory> #include <string> #inc...
34.016484
80
0.678889
doitmovin
9785ea135e1f2a8eeccbc91b825cc1c1f3b2a028
868
cc
C++
src/accepted/12468.cc
cbarnson/UVa
0dd73fae656613e28b5aaf5880c5dad529316270
[ "Unlicense", "MIT" ]
2
2019-09-07T17:00:26.000Z
2020-08-05T02:08:35.000Z
src/accepted/12468.cc
cbarnson/UVa
0dd73fae656613e28b5aaf5880c5dad529316270
[ "Unlicense", "MIT" ]
null
null
null
src/accepted/12468.cc
cbarnson/UVa
0dd73fae656613e28b5aaf5880c5dad529316270
[ "Unlicense", "MIT" ]
null
null
null
// Problem # : 12468 // Created on : 2018-06-14 01:21:51 #include <assert.h> #include <math.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> #include <algorithm> #include <bitset> #include <deque> #include <functional> #include <iomanip> #include <iostream> #include <iterator> #incl...
15.781818
37
0.634793
cbarnson
9787da1e44fe4e2ac444c1fcae16a13f17576eaf
20,998
cpp
C++
src/libcore/src/libcore/icu/LocaleData.cpp
sparkoss/ccm
9ed67a7cbdc9c69f4182e72be8e8b6b23d7c3c8d
[ "Apache-2.0" ]
6
2018-05-08T10:08:21.000Z
2021-11-13T13:22:58.000Z
src/libcore/src/libcore/icu/LocaleData.cpp
sparkoss/ccm
9ed67a7cbdc9c69f4182e72be8e8b6b23d7c3c8d
[ "Apache-2.0" ]
1
2018-05-08T10:20:17.000Z
2018-07-23T05:19:19.000Z
src/libcore/src/libcore/icu/LocaleData.cpp
sparkoss/ccm
9ed67a7cbdc9c69f4182e72be8e8b6b23d7c3c8d
[ "Apache-2.0" ]
4
2018-03-13T06:21:11.000Z
2021-06-19T02:48:07.000Z
//========================================================================= // Copyright (C) 2018 The C++ Component Model(CCM) Open Source Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the Lic...
27.88579
115
0.635632
sparkoss
978ad894f348097280073ead77b046ee1ec80368
2,704
cpp
C++
try_basic.cpp
Fisher-Wang/GraphPackaging
6dd42f65a7d41cc1c5b679e4b41b0a3385e2c7fd
[ "MIT" ]
1
2022-03-21T05:28:49.000Z
2022-03-21T05:28:49.000Z
try_basic.cpp
Fisher-Wang/GraphPackaging
6dd42f65a7d41cc1c5b679e4b41b0a3385e2c7fd
[ "MIT" ]
null
null
null
try_basic.cpp
Fisher-Wang/GraphPackaging
6dd42f65a7d41cc1c5b679e4b41b0a3385e2c7fd
[ "MIT" ]
null
null
null
#include <cstdio> #include <cstring> #include <vector> #include <algorithm> #include <queue> #include <cmath> #include "graph.h" using namespace std; const double loss_prob = 0.2; vector<int> edges[NODE_NUM_MAX]; int weight[NODE_NUM_MAX]; int TW; int n; // tot node number int in_deg[NODE_NUM_MAX]; double value[NODE_...
26.509804
113
0.534763
Fisher-Wang
978b0745cdbb9a7290a6b84e53810831e21dadd7
822
hpp
C++
include/gridtools/storage/common/state_machine.hpp
jdahm/gridtools
5961932cd2ccf336d3d73b4bc967243828e55cc5
[ "BSD-3-Clause" ]
null
null
null
include/gridtools/storage/common/state_machine.hpp
jdahm/gridtools
5961932cd2ccf336d3d73b4bc967243828e55cc5
[ "BSD-3-Clause" ]
null
null
null
include/gridtools/storage/common/state_machine.hpp
jdahm/gridtools
5961932cd2ccf336d3d73b4bc967243828e55cc5
[ "BSD-3-Clause" ]
1
2019-06-14T10:35:50.000Z
2019-06-14T10:35:50.000Z
/* * GridTools * * Copyright (c) 2014-2019, ETH Zurich * All rights reserved. * * Please, refer to the LICENSE file in the root directory. * SPDX-License-Identifier: BSD-3-Clause */ #pragma once namespace gridtools { /** \ingroup storage * @{ */ /** * @brief A class that represents th...
25.6875
107
0.63382
jdahm
978e020e66f0cc4e3c67b9b86e74a1afac53c2e5
8,739
cc
C++
src/shared/network/TcpServerBase.cc
codeplayer2org/GameServer
e6fa07e7d2917f1926095fa556f96e088eebb876
[ "MIT" ]
1
2016-02-25T12:48:59.000Z
2016-02-25T12:48:59.000Z
src/shared/network/TcpServerBase.cc
codeplayer2org/GameServer
e6fa07e7d2917f1926095fa556f96e088eebb876
[ "MIT" ]
null
null
null
src/shared/network/TcpServerBase.cc
codeplayer2org/GameServer
e6fa07e7d2917f1926095fa556f96e088eebb876
[ "MIT" ]
2
2016-02-25T12:49:14.000Z
2017-07-06T14:00:54.000Z
/* * ===================================================================================== * * Filename: TcpServerBase.cc * * Description: TcpServerBase * * Version: 1.0 * Created: 2015年04月08日 21时00分30秒 * Revision: none * Compiler: gcc * * Author: Petrus (),...
34.405512
130
0.662433
codeplayer2org
979167cef397012f7958c445b77caeeff49d4dcf
3,241
cpp
C++
src/app/qgsdiscoverrelationsdlg.cpp
dyna-mis/Hilabeling
cb7d5d4be29624a20c8a367162dbc6fd779b2b52
[ "MIT" ]
null
null
null
src/app/qgsdiscoverrelationsdlg.cpp
dyna-mis/Hilabeling
cb7d5d4be29624a20c8a367162dbc6fd779b2b52
[ "MIT" ]
null
null
null
src/app/qgsdiscoverrelationsdlg.cpp
dyna-mis/Hilabeling
cb7d5d4be29624a20c8a367162dbc6fd779b2b52
[ "MIT" ]
1
2021-12-25T08:40:30.000Z
2021-12-25T08:40:30.000Z
/*************************************************************************** qgsdiscoverrelationsdlg.cpp --------------------- begin : September 2016 copyright : (C) 2016 by Patrick Valsecchi email : patrick dot valsecchi at camptocamp dot com **************...
44.39726
151
0.62635
dyna-mis
9792904fa9b0d2d6dd78e2e6415ed2f7c3b9b867
3,942
cpp
C++
Shoot/src/CacheFile.cpp
franticsoftware/vlad-heavy-strike
a4da4df617e9ccd6ebd9819ad166d892924638ce
[ "MIT" ]
3
2019-10-04T19:44:44.000Z
2021-07-27T15:59:39.000Z
Shoot/src/CacheFile.cpp
franticsoftware/vlad-heavy-strike
a4da4df617e9ccd6ebd9819ad166d892924638ce
[ "MIT" ]
1
2019-07-20T05:36:31.000Z
2019-07-20T22:22:49.000Z
Shoot/src/CacheFile.cpp
aminere/vlad-heavy-strike
a4da4df617e9ccd6ebd9819ad166d892924638ce
[ "MIT" ]
null
null
null
/* Amine Rehioui Created: May 31st 2013 */ #include "Shoot.h" #include "CacheFile.h" namespace shoot { //! statics std::map<std::string, CacheFile::Info> CacheFile::m_sCache; //! clears the cache void CacheFile::Clear() { for(std::map<std::string, CacheFile::Info>::iterator it = m_sCache.begin(); it ...
19.809045
115
0.625824
franticsoftware
97930b3d0c3748085ae805bf5c5aa90a79a32826
1,103
cpp
C++
src/engineprocess.cpp
shogimaru/shogimaru
90e9ea4048f5c5bef05147694be20a1c5a03cc79
[ "MIT" ]
8
2022-01-16T02:56:56.000Z
2022-03-31T02:09:53.000Z
src/engineprocess.cpp
shogimaru/shogimaru
90e9ea4048f5c5bef05147694be20a1c5a03cc79
[ "MIT" ]
null
null
null
src/engineprocess.cpp
shogimaru/shogimaru
90e9ea4048f5c5bef05147694be20a1c5a03cc79
[ "MIT" ]
null
null
null
#include "engineprocess.h" #include <QDebug> #include <QDir> #include <QFileInfo> EngineProcess::EngineProcess(const QString &program, QObject *parent) : QProcess(parent) { setProgram(program); setWorkingDirectory(QFileInfo(program).dir().absolutePath()); } void EngineProcess::start() { // auto data...
20.425926
71
0.599275
shogimaru
9794dd433874f8d290e4c2a90d8d222ae4ab394c
200,676
inl
C++
2d_samples/pmj02_23.inl
st-ario/rayme
315c57c23f4aa4934a8a80e84e3243acd3400808
[ "MIT" ]
1
2021-12-10T23:35:04.000Z
2021-12-10T23:35:04.000Z
2d_samples/pmj02_23.inl
st-ario/rayme
315c57c23f4aa4934a8a80e84e3243acd3400808
[ "MIT" ]
null
null
null
2d_samples/pmj02_23.inl
st-ario/rayme
315c57c23f4aa4934a8a80e84e3243acd3400808
[ "MIT" ]
null
null
null
{std::array<float,2>{0.294868559f, 0.486702561f}, std::array<float,2>{0.655109107f, 0.635469735f}, std::array<float,2>{0.930609345f, 0.155407801f}, std::array<float,2>{0.0130536128f, 0.92444694f}, std::array<float,2>{0.229893953f, 0.0536426306f}, std::array<float,2>{0.753561437f, 0.823331594f}, std::array<float,2>{0.51...
48.993164
52
0.734652
st-ario
9797e8eab2d328bbdc9a06999f723d6130f106ec
3,533
cc
C++
examples/mic.cc
CPqD/asr-sdk-cpp
ca1d0a81a250f54c272b6bc39d2a1c5a1c9f58a1
[ "Apache-2.0" ]
4
2017-10-12T20:09:31.000Z
2021-05-24T13:46:26.000Z
examples/mic.cc
CPqD/asr-sdk-cpp
ca1d0a81a250f54c272b6bc39d2a1c5a1c9f58a1
[ "Apache-2.0" ]
null
null
null
examples/mic.cc
CPqD/asr-sdk-cpp
ca1d0a81a250f54c272b6bc39d2a1c5a1c9f58a1
[ "Apache-2.0" ]
4
2017-10-04T14:30:11.000Z
2022-02-25T10:13:06.000Z
/***************************************************************************** * Copyright 2017 CPqD. 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:...
33.971154
156
0.596377
CPqD
97a09d67d5ae31843d0eb5f235fb669bd50d413a
1,076
cpp
C++
SEM-III-NM/02 Secant Method/02 Secant Method.cpp
AnkitApurv/BCA
9a7715e098de7029813fd06d3ee7e40a0d31f6c4
[ "MIT" ]
null
null
null
SEM-III-NM/02 Secant Method/02 Secant Method.cpp
AnkitApurv/BCA
9a7715e098de7029813fd06d3ee7e40a0d31f6c4
[ "MIT" ]
null
null
null
SEM-III-NM/02 Secant Method/02 Secant Method.cpp
AnkitApurv/BCA
9a7715e098de7029813fd06d3ee7e40a0d31f6c4
[ "MIT" ]
null
null
null
//to find roots of equation usimg Secant's Method #include<iostream> #include<cmath> #include<process.h> using namespace std; float secant(float x) { return((x*x) - 25); } int main(void) { float x0, x1, x; int inter = 0; float f0, f1, fx, epsilon; cin.ignore(); cout << endl << "Secant Method" << endl; cout <<...
21.959184
130
0.482342
AnkitApurv
97a2afd505a844aa2fcd8175fddc03dda559acf6
420
cpp
C++
test_package/example.cpp
abbyssoul/libkasofs
a7e12e5495c85cb65fa913d086152abc559fb3e6
[ "Apache-2.0" ]
1
2021-09-10T00:49:21.000Z
2021-09-10T00:49:21.000Z
test_package/example.cpp
abbyssoul/libkasofs
a7e12e5495c85cb65fa913d086152abc559fb3e6
[ "Apache-2.0" ]
null
null
null
test_package/example.cpp
abbyssoul/libkasofs
a7e12e5495c85cb65fa913d086152abc559fb3e6
[ "Apache-2.0" ]
null
null
null
#include "kasofs/kasofs.hpp" #include <cstdlib> // EXIT_SUCCESS/EXIT_FAILURE int main() { auto owner = kasofs::User{0, 0}; auto vfs = kasofs::Vfs{owner, kasofs::FilePermissions{0707}}; auto maybeRoot = vfs.nodeById(vfs.rootId()); if (!maybeRoot) return EXIT_FAILURE; return (*maybeRoot)....
24.705882
66
0.640476
abbyssoul
97a30db1852441ffd5dca54c1338088dbe2784a9
2,669
cpp
C++
tests/parsers_test.cpp
simonraschke/vesicle
3b9b5529c3f36bdeff84596bc59509781b103ead
[ "Apache-2.0" ]
1
2019-03-15T17:24:52.000Z
2019-03-15T17:24:52.000Z
tests/parsers_test.cpp
simonraschke/vesicle
3b9b5529c3f36bdeff84596bc59509781b103ead
[ "Apache-2.0" ]
null
null
null
tests/parsers_test.cpp
simonraschke/vesicle
3b9b5529c3f36bdeff84596bc59509781b103ead
[ "Apache-2.0" ]
null
null
null
// #define BOOST_TEST_MODULE parsers // #include <boost/test/included/unit_test.hpp> // #include "systems/system.hpp" // // #include "parsers/potential_energy.hpp" // #include "parsers/cluster_parser.hpp" // BOOST_AUTO_TEST_SUITE(parsers) // BOOST_AUTO_TEST_CASE(surface_reconstruction_test) // { // const char*...
48.527273
218
0.666542
simonraschke
97a87e267247141171fd05173a28642a5e57f6e6
268
cpp
C++
GOF_FactoryMethod/GOF_FactoryMethod/concrete_creator.cpp
vigilantmaster/CST276SRS03
4af930e690eb69e35f70ec49d2a5b447805a2bd3
[ "MIT" ]
null
null
null
GOF_FactoryMethod/GOF_FactoryMethod/concrete_creator.cpp
vigilantmaster/CST276SRS03
4af930e690eb69e35f70ec49d2a5b447805a2bd3
[ "MIT" ]
null
null
null
GOF_FactoryMethod/GOF_FactoryMethod/concrete_creator.cpp
vigilantmaster/CST276SRS03
4af930e690eb69e35f70ec49d2a5b447805a2bd3
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "concrete_creator.h" #include "concrete_product.h" concrete_creator::concrete_creator(): creator() { } concrete_creator::~concrete_creator() = default; i_product * concrete_creator::create_product() { return new concrete_product; }
14.888889
47
0.761194
vigilantmaster
97a96a3b9a3119b9e2727a404fbda6c7ccb0d45d
9,878
cpp
C++
iree/compiler/Dialect/Util/Analysis/Attributes/Range.cpp
smit-hinsu/iree
a385d311b701cdc06cb825000ddb34c8a11c6eef
[ "Apache-2.0" ]
1
2022-02-13T15:27:08.000Z
2022-02-13T15:27:08.000Z
iree/compiler/Dialect/Util/Analysis/Attributes/Range.cpp
iree-github-actions-bot/iree
9982f10090527a1a86cd280b4beff9a579b96b38
[ "Apache-2.0" ]
1
2022-01-27T18:10:51.000Z
2022-01-27T18:10:51.000Z
iree/compiler/Dialect/Util/Analysis/Attributes/Range.cpp
iree-github-actions-bot/iree
9982f10090527a1a86cd280b4beff9a579b96b38
[ "Apache-2.0" ]
null
null
null
// Copyright 2021 The IREE Authors // // Licensed under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include "iree/compiler/Dialect/Util/Analysis/Attributes/Range.h" #include "iree/compiler/Dialec...
38.585938
80
0.601539
smit-hinsu
97b6bfeee73bce76ec634b36cb5a73eaadaccd83
274
cpp
C++
Acun3D/DirectionalLight.cpp
Catchouli-old/Acun3D
1a34791d30528a442d9734de31b0bcac86cb32d5
[ "MIT" ]
1
2018-11-15T18:53:44.000Z
2018-11-15T18:53:44.000Z
Acun3D/DirectionalLight.cpp
Catchouli-old/Acun3D
1a34791d30528a442d9734de31b0bcac86cb32d5
[ "MIT" ]
null
null
null
Acun3D/DirectionalLight.cpp
Catchouli-old/Acun3D
1a34791d30528a442d9734de31b0bcac86cb32d5
[ "MIT" ]
null
null
null
#include "DirectionalLight.h" namespace a3d { DirectionalLight::DirectionalLight(Vector direction, Colour colour) : Light(LightTypes::DIRECTIONAL, colour), _direction(direction) { } const Vector& DirectionalLight::getDirection() const { return _direction; } }
18.266667
68
0.751825
Catchouli-old
b6323b4945ccbe85e4773b134f7618dc504394a6
1,892
cpp
C++
SongPlays.cpp
sivanyo/DS-WET1
69476f30ec519cd36534113ee9b7fc1af37d13ff
[ "MIT" ]
1
2020-06-23T06:30:59.000Z
2020-06-23T06:30:59.000Z
SongPlays.cpp
sivanyo/DS-WET1
69476f30ec519cd36534113ee9b7fc1af37d13ff
[ "MIT" ]
null
null
null
SongPlays.cpp
sivanyo/DS-WET1
69476f30ec519cd36534113ee9b7fc1af37d13ff
[ "MIT" ]
null
null
null
// // Created by Mor on 30/04/2020. // #include "SongPlays.h" SongPlays::SongPlays(int songId, int artistId, MostPlayedListNode *ptrToListNode) : songId(songId), artistId(artistId), ptrToListNode(ptrToListNode), ptrToSong(nullptr) {} int SongPlays::getSongId() const { return songId; } int SongPlays::get...
25.917808
128
0.678118
sivanyo
b632f568d5015ffa645885cda063fc7f4d3a5521
2,986
cpp
C++
RLFPS/Source/RLFPS/Private/SpawningActor.cpp
Verb-Noun-Studios/Symbiotic
d037b3bbe4925f2d4c97d4c44e45ec0abe88c237
[ "MIT" ]
3
2022-01-11T03:29:03.000Z
2022-02-03T03:46:44.000Z
RLFPS/Source/RLFPS/Private/SpawningActor.cpp
Verb-Noun-Studios/Symbiotic
d037b3bbe4925f2d4c97d4c44e45ec0abe88c237
[ "MIT" ]
27
2022-02-02T04:54:29.000Z
2022-03-27T18:58:15.000Z
RLFPS/Source/RLFPS/Private/SpawningActor.cpp
Verb-Noun-Studios/Symbiotic
d037b3bbe4925f2d4c97d4c44e45ec0abe88c237
[ "MIT" ]
null
null
null
// Fill out your copyright notice in the Description page of Project Settings. #include "SpawningActor.h" #include "GruntCharacter.h" #include "CustomGameMode.h" #include "Kismet/GameplayStatics.h" #include "GameFramework/GameModeBase.h" #include "DrawDebugHelpers.h" #include "EngineUtils.h" #include "SymbioticGameMo...
20.736111
123
0.713999
Verb-Noun-Studios
b634f024a053d4ac9cfdab50eb072f9324e5a902
11,999
cxx
C++
inetsrv/query/cindex/pmcomp.cxx
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
inetsrv/query/cindex/pmcomp.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
inetsrv/query/cindex/pmcomp.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
//+--------------------------------------------------------------------------- // // Microsoft Windows // Copyright (C) Microsoft Corporation, 1991 - 1997. // // File: PMComp.cxx // // Contents: Persistent index decompressor using during master merge // // Classes: CMPersDeComp // // History...
33.991501
89
0.470373
npocmaka
b63afe8194090ac5b4c1ab136c4bc586106ba9d8
416
hpp
C++
round_down_to_power_of_2/round_down_to_power_of_2.hpp
mstankus/my-common-cpp
8b3e282e6fd987bf53886a262a96daf9bd9e8a6e
[ "MIT" ]
null
null
null
round_down_to_power_of_2/round_down_to_power_of_2.hpp
mstankus/my-common-cpp
8b3e282e6fd987bf53886a262a96daf9bd9e8a6e
[ "MIT" ]
null
null
null
round_down_to_power_of_2/round_down_to_power_of_2.hpp
mstankus/my-common-cpp
8b3e282e6fd987bf53886a262a96daf9bd9e8a6e
[ "MIT" ]
null
null
null
// From https://www.geeksforgeeks.org/find-significant-set-bit-number/ #ifndef INCLUDED_ROUND_DOWN_TO_POWER_OF_2_HPP #define INCLUDED_ROUND_DOWN_TO_POWER_OF_2_HPP #include <cstddef> inline constexpr std::size_t round_down_to_power_of_2(std::size_t n) { if (n == 0) return 0; int msb = 0; n = n ...
18.086957
70
0.629808
mstankus
b63fc4e65fd426699d624b3f0fd5e009206123af
25,052
cpp
C++
Stars45/CampaignSaveGame.cpp
RogerioY/starshatter-open
3a507e08b1d4e5970b27401a7e6517570d529400
[ "BSD-3-Clause" ]
null
null
null
Stars45/CampaignSaveGame.cpp
RogerioY/starshatter-open
3a507e08b1d4e5970b27401a7e6517570d529400
[ "BSD-3-Clause" ]
4
2019-09-05T22:22:57.000Z
2021-03-28T02:09:24.000Z
Stars45/CampaignSaveGame.cpp
RogerioY/starshatter-open
3a507e08b1d4e5970b27401a7e6517570d529400
[ "BSD-3-Clause" ]
null
null
null
/* Starshatter OpenSource Distribution Copyright (c) 1997-2004, Destroyer Studios LLC. 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 t...
32.963158
115
0.433059
RogerioY
b642a8d35135ae8eb5183376dff83b920344d05b
5,828
cpp
C++
JustnEngine/src/Components/Collider.cpp
JustenG/ComputerGraphics
81a1859206aaeb6498cbbb1607b04ba6d0d2e978
[ "Unlicense" ]
null
null
null
JustnEngine/src/Components/Collider.cpp
JustenG/ComputerGraphics
81a1859206aaeb6498cbbb1607b04ba6d0d2e978
[ "Unlicense" ]
null
null
null
JustnEngine/src/Components/Collider.cpp
JustenG/ComputerGraphics
81a1859206aaeb6498cbbb1607b04ba6d0d2e978
[ "Unlicense" ]
null
null
null
#include "Components\Collider.h" #include "Components\Transform.h" #include "Components\Terrain.h" #include "Components\RigidBody.h" #include "Components\PlayerController.h" #include "Entitys\GameObject.h" #include "Physics\PhysXManager.h" #include "all_includes.h" #include <algorithm> Collider::Collider() { m_phy...
23.595142
187
0.721174
JustenG
b644836c49bc9986a821ec808e76884c645956e2
4,930
cpp
C++
src/Chapter002/main.cpp
paulkokos/GLFW3_Tutorials
8935656cd5f3c9a6083196c0b04ed4d7e42451e5
[ "BSD-3-Clause" ]
3
2020-12-23T14:11:15.000Z
2021-02-07T07:48:04.000Z
src/Chapter002/main.cpp
paulkokos/GLFW3_Tutorials
8935656cd5f3c9a6083196c0b04ed4d7e42451e5
[ "BSD-3-Clause" ]
null
null
null
src/Chapter002/main.cpp
paulkokos/GLFW3_Tutorials
8935656cd5f3c9a6083196c0b04ed4d7e42451e5
[ "BSD-3-Clause" ]
null
null
null
#include <GL/glew.h> #include <GLFW/glfw3.h> #include <thread> #include <string> #include <fstream> #include <iostream> #include <sstream> // Global Variables const char* APP_TITLE = "Introduction to Modern OpenGL - Hello Window 1"; const int gWindowWidth = 800; const int gWindowHeight = 600; void glfw_onKey(GLFWwind...
33.087248
220
0.571805
paulkokos
b648b9e0e35ea1d4de14c16bf368c93d4bc9aeae
13,213
cpp
C++
cam-occ/trunk/src/qocc/qoccinputoutput.cpp
play113/swer
78764c67885dfacb1fa24e494a20681265f5254c
[ "MIT" ]
null
null
null
cam-occ/trunk/src/qocc/qoccinputoutput.cpp
play113/swer
78764c67885dfacb1fa24e494a20681265f5254c
[ "MIT" ]
null
null
null
cam-occ/trunk/src/qocc/qoccinputoutput.cpp
play113/swer
78764c67885dfacb1fa24e494a20681265f5254c
[ "MIT" ]
1
2020-07-04T13:58:00.000Z
2020-07-04T13:58:00.000Z
/**************************************************************************** ** ** This file is part of the QtOpenCascade Toolkit. ** ** This file may be used under the terms of the GNU General Public ** License version 2.0 as published by the Free Software Foundation ** and appearing in the file COPYING included in t...
29.232301
129
0.637478
play113
b64aeb0117324a235807b4adb8415b0e30d3cb13
1,416
cpp
C++
DDCC/a.cpp
yuik46/competition_programming_code
0c47db99ce7fb9bcf6e3b0dbfb8c84d9cfa165fd
[ "MIT" ]
null
null
null
DDCC/a.cpp
yuik46/competition_programming_code
0c47db99ce7fb9bcf6e3b0dbfb8c84d9cfa165fd
[ "MIT" ]
null
null
null
DDCC/a.cpp
yuik46/competition_programming_code
0c47db99ce7fb9bcf6e3b0dbfb8c84d9cfa165fd
[ "MIT" ]
null
null
null
//DISCO presents ディスカバリーチャンネル コードコンテスト2020 予選 #include <iostream> using namespace std; int main(){ int X; int Y; cin >> X >> Y; if(X == 1 && Y == 1){ cout << 1000000 << endl; } else if(X == 2 && Y == 2){ cout << 400000<< endl; } else if(X == 3 && Y == 3){ cout ...
20.521739
45
0.372881
yuik46
b65080f9dc3bcca437ff3f6bb7fa762a27078faa
561
cpp
C++
Codeforces/Gym101350A.cpp
HeRaNO/OI-ICPC-Codes
4a4639cd3e347b472520065ca6ab8caadde6906d
[ "MIT" ]
18
2019-01-01T13:16:59.000Z
2022-02-28T04:51:50.000Z
Codeforces/Gym101350A.cpp
HeRaNO/OI-ICPC-Codes
4a4639cd3e347b472520065ca6ab8caadde6906d
[ "MIT" ]
null
null
null
Codeforces/Gym101350A.cpp
HeRaNO/OI-ICPC-Codes
4a4639cd3e347b472520065ca6ab8caadde6906d
[ "MIT" ]
5
2019-09-13T08:48:17.000Z
2022-02-19T06:59:03.000Z
#include <bits/stdc++.h> #define MAXN 200010 using namespace std; int T,n,cnt[MAXN],s[MAXN]; char a[MAXN]; int main() { scanf("%d",&T); while (T--) { memset(cnt,0,sizeof cnt);memset(s,0,sizeof s); scanf("%d",&n);scanf("%s",a+1);int p=1; for (int i=1;i<=n;i++) { if (a[i]-'0'){cnt[++cnt[0]]=p;p=1;} els...
20.035714
52
0.527629
HeRaNO
b652cac6890f2b0a6b0635531a8a1e3f243f4b43
1,807
cc
C++
src/proto/test_helper.cc
cuisonghui/tera
99a3f16de13dd454a64d64e938fcfeb030674d5f
[ "Apache-2.0", "BSD-3-Clause" ]
2,003
2015-07-13T08:36:45.000Z
2022-03-26T02:10:07.000Z
src/proto/test_helper.cc
a1e2w3/tera
dbcd28af792d879d961bf9fc7eb60de81b437646
[ "Apache-2.0", "BSD-3-Clause" ]
981
2015-07-14T00:03:24.000Z
2021-05-10T09:50:01.000Z
src/proto/test_helper.cc
a1e2w3/tera
dbcd28af792d879d961bf9fc7eb60de81b437646
[ "Apache-2.0", "BSD-3-Clause" ]
461
2015-07-14T02:53:35.000Z
2022-03-10T10:31:49.000Z
// Copyright (c) 2015, Baidu.com, Inc. All Rights Reserved // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "proto/test_helper.h" #include "common/base/string_number.h" #include "proto/table_schema.pb.h" namespace tera { TableSchema DefaultTableSchema...
24.753425
79
0.731599
cuisonghui
b6578e72e8dc79fb8c89b0c68d441905d7e96261
927
cpp
C++
src/modules/ModuleInput.cpp
solidajenjo/FluidSimulation
051bb986b48fa521dbb0ac0a7a7f802a1b79892d
[ "MIT" ]
null
null
null
src/modules/ModuleInput.cpp
solidajenjo/FluidSimulation
051bb986b48fa521dbb0ac0a7a7f802a1b79892d
[ "MIT" ]
null
null
null
src/modules/ModuleInput.cpp
solidajenjo/FluidSimulation
051bb986b48fa521dbb0ac0a7a7f802a1b79892d
[ "MIT" ]
null
null
null
#include "ModuleInput.h" #include "Application.h" #include "ModuleRender.h" #include <iostream> //TODO: Create log systemS #include "GLFW/glfw3.h" bool ModuleInput::PreUpdate() { glfwPollEvents(); if(glfwGetKey(App->m_Render->m_window, GLFW_KEY_ESCAPE) == GLFW_PRESS) glfwSetWindowShouldClose(App->m_Ren...
25.054054
74
0.704423
solidajenjo
b657f26d3d6f34b77e0449a66e73d171a044ee63
1,527
cpp
C++
cpp/src/msg_server/HttpParserWrapper.cpp
KevinHM/TTServer
c3a8dcb7e0d2dd0d3fc88ff919019ca5f0a81306
[ "Apache-2.0" ]
22
2015-05-02T11:21:32.000Z
2022-03-04T09:58:19.000Z
cpp/src/msg_server/HttpParserWrapper.cpp
luyongfugx/TTServer
c3a8dcb7e0d2dd0d3fc88ff919019ca5f0a81306
[ "Apache-2.0" ]
null
null
null
cpp/src/msg_server/HttpParserWrapper.cpp
luyongfugx/TTServer
c3a8dcb7e0d2dd0d3fc88ff919019ca5f0a81306
[ "Apache-2.0" ]
21
2015-01-02T01:21:04.000Z
2021-05-12T09:52:54.000Z
// // HttpPdu.cpp // http_msg_server // // Created by jianqing.du on 13-9-29. // Copyright (c) 2013年 ziteng. All rights reserved. // #include "HttpParserWrapper.h" #include "http_parser.h" CHttpParserWrapper* CHttpParserWrapper::m_instance = NULL; CHttpParserWrapper::CHttpParserWrapper() { } CHttpParserWrapper...
22.455882
83
0.72888
KevinHM
b6580db2284ebba5387c2475713446ccbb7d1b37
688
hpp
C++
src/fem/mesh_Generated_multi_faults.hpp
XiaoMaResearch/hybrid_tpv14
074a0f079120af818eaab7e23acf35c6c068a876
[ "MIT" ]
6
2019-04-12T19:51:23.000Z
2021-09-16T07:12:57.000Z
src/fem/mesh_Generated_multi_faults.hpp
XiaoMaResearch/hybrid_tpv14
074a0f079120af818eaab7e23acf35c6c068a876
[ "MIT" ]
null
null
null
src/fem/mesh_Generated_multi_faults.hpp
XiaoMaResearch/hybrid_tpv14
074a0f079120af818eaab7e23acf35c6c068a876
[ "MIT" ]
1
2019-07-07T07:23:58.000Z
2019-07-07T07:23:58.000Z
// // mesh_Generated_multi_faults.hpp // hybrid_fem_bie // // Created by Max on 2/13/18. // // #ifndef mesh_Generated_multi_faults_hpp #define mesh_Generated_multi_faults_hpp #include <stdio.h> #include <iostream> #include <Eigen/Eigen> #include "Meshrectangular.hpp" #include "update_mesh_topology.hpp" #include "s...
27.52
278
0.774709
XiaoMaResearch
b658d103f5800e6e089c5d0c1154f3950591cc32
16,801
inl
C++
include/bit/stl/utilities/detail/optional.inl
bitwizeshift/bit-stl
cec555fbda2ea1b6e126fa719637dde8d3f2ddd3
[ "MIT" ]
6
2017-03-29T07:20:30.000Z
2021-12-28T20:17:33.000Z
include/bit/stl/utilities/detail/optional.inl
bitwizeshift/bit-stl
cec555fbda2ea1b6e126fa719637dde8d3f2ddd3
[ "MIT" ]
6
2017-10-11T02:26:07.000Z
2018-04-16T03:09:48.000Z
include/bit/stl/utilities/detail/optional.inl
bitwizeshift/bit-stl
cec555fbda2ea1b6e126fa719637dde8d3f2ddd3
[ "MIT" ]
1
2018-08-27T15:03:47.000Z
2018-08-27T15:03:47.000Z
#ifndef BIT_STL_UTILITIES_DETAIL_OPTIONAL_INL #define BIT_STL_UTILITIES_DETAIL_OPTIONAL_INL //---------------------------------------------------------------------------- // Constructor / Destructor //---------------------------------------------------------------------------- template<typename T> inline constexpr bi...
24.671072
106
0.56205
bitwizeshift
b65e92954048b8e7386489defc4ff1a542622328
1,021
cpp
C++
8/main.cpp
two-six/Advent-of-Code-2015
29f8e51971b3a9571a17b84241c1d06926cb2ee2
[ "MIT" ]
null
null
null
8/main.cpp
two-six/Advent-of-Code-2015
29f8e51971b3a9571a17b84241c1d06926cb2ee2
[ "MIT" ]
1
2022-01-21T16:26:39.000Z
2022-01-21T16:55:33.000Z
8/main.cpp
two-six/Advent-of-Code-2015
29f8e51971b3a9571a17b84241c1d06926cb2ee2
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> unsigned n_of_chars_in_memory(std::string const &s) { unsigned sum(0); for(auto i = 1; i < s.size()-1; ++i) { sum++; if(s.at(i) == '\\') { if(s.at(i+1) == 'x') i+=3; else i++; } } re...
23.204545
59
0.468168
two-six
b6652c988d8e8bf637ac1dae29be30633f47d704
1,083
cpp
C++
src/UtilsForDomination.cpp
georgedeath/TAsK
14c4abb3b3f9918accd59e9987e9403bd8a0470c
[ "MIT" ]
28
2015-03-05T04:12:58.000Z
2021-12-16T22:24:41.000Z
src/UtilsForDomination.cpp
joshchea/TAsK
d66d0c7561e30b45308aabcf08f584326779f4ae
[ "MIT" ]
2
2017-02-07T15:37:37.000Z
2020-06-26T14:06:00.000Z
src/UtilsForDomination.cpp
joshchea/TAsK
d66d0c7561e30b45308aabcf08f584326779f4ae
[ "MIT" ]
15
2015-07-09T11:53:16.000Z
2022-02-22T04:01:19.000Z
#include "UtilsForDomination.h" #include "BiObjLabelContainer.h" const FPType UtilsForDomination::tolerance_ = 1e-15; bool UtilsForDomination::isDominated(BiObjLabel* first, BiObjLabel* second) { return (second->getTime() < first->getTime() + tolerance_ && second->getToll() <= first->getToll()); }; bool UtilsF...
31.852941
97
0.720222
georgedeath
b66bffd5dc6cb2a385a268134e621c49072d6353
778
cpp
C++
src/VecOps.cpp
GuMiner/TemperFine
434afd574a342433756cac2fa0f5073d22f2ff54
[ "MIT" ]
null
null
null
src/VecOps.cpp
GuMiner/TemperFine
434afd574a342433756cac2fa0f5073d22f2ff54
[ "MIT" ]
null
null
null
src/VecOps.cpp
GuMiner/TemperFine
434afd574a342433756cac2fa0f5073d22f2ff54
[ "MIT" ]
null
null
null
#include <cmath> #include "VecOps.h" vec::vec3 VecOps::Cross(const vec::vec3& first, const vec::vec3& second) { return vec::vec3( first.y * second.z - second.y * first.z, first.z * second.x - second.z * first.x, first.x * second.y - second.x * first.y); } float VecOps::Dot(const...
26.827586
73
0.631105
GuMiner
b66fbd2a5f4a1bd9d166b98296b4a14729fbcdc2
5,521
hpp
C++
src/PluginVis3D/Grid3D.hpp
voxie-viewer/voxie
d2b5e6760519782e9ef2e51f5322a3baa0cb1198
[ "MIT" ]
4
2016-06-03T18:41:43.000Z
2020-04-17T20:28:58.000Z
src/PluginVis3D/Grid3D.hpp
voxie-viewer/voxie
d2b5e6760519782e9ef2e51f5322a3baa0cb1198
[ "MIT" ]
null
null
null
src/PluginVis3D/Grid3D.hpp
voxie-viewer/voxie
d2b5e6760519782e9ef2e51f5322a3baa0cb1198
[ "MIT" ]
null
null
null
/* * Copyright (c) 2014-2022 The Voxie Authors * * 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...
26.671498
80
0.690636
voxie-viewer
b6748794deda6ba4854cdfba72fc1109900a4a6c
3,214
cpp
C++
src/gpu/effects/GrSimpleTextureEffect.cpp
coltorchen/android-skia
91bb0c6f4224715ab78e3f64ba471a42d5d5a307
[ "BSD-3-Clause" ]
2
2017-05-19T08:53:12.000Z
2017-08-28T11:59:26.000Z
src/gpu/effects/GrSimpleTextureEffect.cpp
coltorchen/android-skia
91bb0c6f4224715ab78e3f64ba471a42d5d5a307
[ "BSD-3-Clause" ]
2
2017-07-25T09:37:22.000Z
2017-08-04T07:18:56.000Z
src/gpu/effects/GrSimpleTextureEffect.cpp
coltorchen/android-skia
91bb0c6f4224715ab78e3f64ba471a42d5d5a307
[ "BSD-3-Clause" ]
2
2017-08-09T09:03:23.000Z
2020-05-26T09:14:49.000Z
/* * Copyright 2012 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "GrSimpleTextureEffect.h" #include "gl/GrGLEffect.h" #include "gl/GrGLEffectMatrix.h" #include "gl/GrGLSL.h" #include "gl/GrGLTexture.h" #include "GrTBackendEffectFac...
41.205128
100
0.589919
coltorchen
b67505036df98c899510c61ab158cff7395792ad
2,409
hpp
C++
application/include/application_solar.hpp
Mielein/CGLabErickson121588_Trojan121067
fb8248755ab687dbe4f37fad429783cf0b83eede
[ "MIT" ]
null
null
null
application/include/application_solar.hpp
Mielein/CGLabErickson121588_Trojan121067
fb8248755ab687dbe4f37fad429783cf0b83eede
[ "MIT" ]
null
null
null
application/include/application_solar.hpp
Mielein/CGLabErickson121588_Trojan121067
fb8248755ab687dbe4f37fad429783cf0b83eede
[ "MIT" ]
null
null
null
#ifndef APPLICATION_SOLAR_HPP #define APPLICATION_SOLAR_HPP #include "application.hpp" #include "model.hpp" #include "structs.hpp" #include "pixel_data.hpp" #include "texture_loader.hpp" #include <scene_graph.hpp> // gpu representation of model class ApplicationSolar : public Application { public: // allocate and ...
26.184783
77
0.7555
Mielein
b6759b1c1cb1200bb2efa0ade160b07c458788f0
2,714
cpp
C++
Flux++/poc1/main.cpp
Glinrens-corner/Fluxpp
ea64b56d2922a0ab2a946c6a75ceb5633c5ec943
[ "MIT" ]
2
2021-03-25T05:50:17.000Z
2021-04-06T12:53:18.000Z
Flux++/poc1/main.cpp
Glinrens-corner/Fluxpp
ea64b56d2922a0ab2a946c6a75ceb5633c5ec943
[ "MIT" ]
1
2021-03-09T00:03:56.000Z
2021-03-09T00:03:56.000Z
Flux++/poc1/main.cpp
Glinrens-corner/Fluxpp
ea64b56d2922a0ab2a946c6a75ceb5633c5ec943
[ "MIT" ]
1
2021-04-05T13:10:55.000Z
2021-04-05T13:10:55.000Z
#include <mem_comparable_closure.hpp> #include "widget.hpp" #include "gui_event.hpp" #include "ui.hpp" #include "backend/xcb_backend.hpp" using fluxpp::Ui; using fluxpp::backend::XCBBackend; using namespace mem_comparable_closure; using namespace fluxpp::widgets::screen; using namespace fluxpp::widgets::application;...
31.55814
95
0.707811
Glinrens-corner
b676317b1ede9e2d204abef35f2b4bd07839b3c2
1,957
cpp
C++
modules/boost/dispatch/unit/meta/is_scalar.cpp
pbrunet/nt2
2aeca0f6a315725b335efd5d9dc95d72e10a7fb7
[ "BSL-1.0" ]
34
2017-05-19T18:10:17.000Z
2022-01-04T02:18:13.000Z
modules/boost/dispatch/unit/meta/is_scalar.cpp
pbrunet/nt2
2aeca0f6a315725b335efd5d9dc95d72e10a7fb7
[ "BSL-1.0" ]
null
null
null
modules/boost/dispatch/unit/meta/is_scalar.cpp
pbrunet/nt2
2aeca0f6a315725b335efd5d9dc95d72e10a7fb7
[ "BSL-1.0" ]
7
2017-12-02T12:59:17.000Z
2021-07-31T12:46:14.000Z
//============================================================================== // Copyright 2003 - 2012 LASMEA UMR 6602 CNRS/Univ. Clermont II // Copyright 2009 - 2012 LRI UMR 8623 CNRS/Univ Paris Sud XI // // Distributed under the Boost Software License, Version 1.0. // ...
42.543478
80
0.509964
pbrunet
b677bc2892b5acf998fecfd548d31cc6f3e96c29
153
inl
C++
ace/Shared_Object.inl
azerothcore/lib-ace
c1fedd5f2033951eee9ecf898f6f2b75584aaefc
[ "DOC" ]
null
null
null
ace/Shared_Object.inl
azerothcore/lib-ace
c1fedd5f2033951eee9ecf898f6f2b75584aaefc
[ "DOC" ]
null
null
null
ace/Shared_Object.inl
azerothcore/lib-ace
c1fedd5f2033951eee9ecf898f6f2b75584aaefc
[ "DOC" ]
1
2020-04-26T03:07:12.000Z
2020-04-26T03:07:12.000Z
// -*- C++ -*- ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_INLINE ACE_Shared_Object::ACE_Shared_Object (void) { } ACE_END_VERSIONED_NAMESPACE_DECL
15.3
44
0.751634
azerothcore
b67969dbe4ec3014f810168b0c7477123a4aaa25
2,347
cpp
C++
labs/lab05/simd-normal.cpp
taylorc1009/set10108
b22479b3f6e7018ff175a98197950a6934f16df6
[ "MIT" ]
3
2018-09-17T14:32:01.000Z
2021-01-15T15:30:53.000Z
labs/lab05/simd-normal.cpp
taylorc1009/set10108
b22479b3f6e7018ff175a98197950a6934f16df6
[ "MIT" ]
1
2018-10-08T13:42:12.000Z
2018-10-08T19:53:59.000Z
labs/lab05/simd-normal.cpp
taylorc1009/set10108
b22479b3f6e7018ff175a98197950a6934f16df6
[ "MIT" ]
12
2018-09-16T20:09:14.000Z
2020-06-23T17:01:38.000Z
#include <iostream> #include <random> #include <chrono> #include <immintrin.h> using namespace std; using namespace std::chrono; union v4 { __m128 v; // SSE 4 x float vector float a[4]; // scalar array of 4 floats }; // Randomly generate vector values void generate_data(v4 *data, size_t n) { // Creat...
29.708861
78
0.586706
taylorc1009
b67adaee3804aaafbb3f8f8a7b5b2af2f26b0466
1,601
cpp
C++
problems/kickstart/2018/C/fairies-witches/code.cpp
brunodccarvalho/competitive
4177c439174fbe749293b9da3445ce7303bd23c2
[ "MIT" ]
7
2020-10-15T22:37:10.000Z
2022-02-26T17:23:49.000Z
problems/kickstart/2018/C/fairies-witches/code.cpp
brunodccarvalho/competitive
4177c439174fbe749293b9da3445ce7303bd23c2
[ "MIT" ]
null
null
null
problems/kickstart/2018/C/fairies-witches/code.cpp
brunodccarvalho/competitive
4177c439174fbe749293b9da3445ce7303bd23c2
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; // ***** #define MAXN 15 int N; int M[MAXN][MAXN]; struct edge_t { int i, j; }; bool operator<(edge_t lhs, edge_t rhs) noexcept { return M[lhs.i][lhs.j] < M[rhs.i][rhs.j]; } bool connected(edge_t lhs, edge_t rhs) { return lhs.i == rhs.i || lhs.j == rhs.i ...
20.792208
80
0.490319
brunodccarvalho
b67d23d70ddb63d1283152d45294363517bb11cc
541
cpp
C++
src/Avokii/Graphics/Resources/Material.cpp
Katipo007/avokii
3a3d1ff244b078b1f1014726b554ce021c0ce488
[ "MIT" ]
1
2021-06-28T11:24:42.000Z
2021-06-28T11:24:42.000Z
src/Avokii/Graphics/Resources/Material.cpp
Katipo007/avokii
3a3d1ff244b078b1f1014726b554ce021c0ce488
[ "MIT" ]
null
null
null
src/Avokii/Graphics/Resources/Material.cpp
Katipo007/avokii
3a3d1ff244b078b1f1014726b554ce021c0ce488
[ "MIT" ]
null
null
null
#include "Material.hpp" namespace Avokii::Graphics { Material::Material() { } Material::Material( ResourceLoader& r_loader ) { (void)r_loader; AV_NOT_IMPLEMENTED; } std::shared_ptr<Material> Material::LoadResource( ResourceLoader& r_loader ) { (void)r_loader; AV_NOT_IMPLEMENTED; return {}; } voi...
16.90625
87
0.713494
Katipo007
b67d834a6f32483df43be623bdaa74c5c1a28802
6,379
cpp
C++
src/io/al_CSVReader.cpp
AlloSphere-Research-Group/al_lib
94d23fe71b79d3464a658f16ca34c2040e6d7334
[ "BSD-3-Clause" ]
26
2018-11-05T23:29:43.000Z
2022-03-17T18:16:49.000Z
src/io/al_CSVReader.cpp
yangevelyn/allolib
1654be795b6515c058eb8243751b903a2aa6efdc
[ "BSD-3-Clause" ]
41
2018-01-19T18:34:41.000Z
2022-01-27T23:52:01.000Z
src/io/al_CSVReader.cpp
yangevelyn/allolib
1654be795b6515c058eb8243751b903a2aa6efdc
[ "BSD-3-Clause" ]
11
2018-01-05T16:42:19.000Z
2022-01-27T22:08:01.000Z
#include "al/io/al_CSVReader.hpp" #include <cassert> #include <cctype> using namespace al; CSVReader::~CSVReader() { for (auto row : mData) { delete[] row; } mData.clear(); } bool CSVReader::readFile(std::string fileName, bool hasColumnNames) { if (mBasePath.size() > 0) { if (mBasePath.back() == '/'...
27.855895
80
0.509014
AlloSphere-Research-Group
b6806e0c06ff588a1b23005c46c7051582f24587
5,331
cpp
C++
gcsa/rlcsa_test.cpp
mmuggli/doppelganger
c0f2662188edbaad39da80f58072d5a888f4b1d1
[ "MIT" ]
2
2018-08-16T18:49:12.000Z
2020-11-11T13:57:38.000Z
gcsa/rlcsa_test.cpp
mmuggli/doppelganger
c0f2662188edbaad39da80f58072d5a888f4b1d1
[ "MIT" ]
1
2020-11-01T00:40:12.000Z
2020-11-01T00:40:12.000Z
gcsa/rlcsa_test.cpp
mmuggli/doppelganger
c0f2662188edbaad39da80f58072d5a888f4b1d1
[ "MIT" ]
null
null
null
#include <cstdlib> #include <ctime> #include <iostream> #include <vector> #include <rlcsa.h> #include "bwasearch.h" #include "parameter_handler.h" #include "pattern_classifier.h" //using namespace CSA; typedef CSA::usint usint; typedef CSA::pair_type pair_type; const pair_type EMPTY_PAIR = CSA::EMPTY_PAIR ; int mai...
32.506098
117
0.59351
mmuggli
b680f864e5316eac3e79dc00d1d7a1a6e6331774
1,282
hpp
C++
engine/source/system/input/mouse/input_mouse_button_windows.hpp
skarab/coffee-master
6c3ff71b7f15735e41c9859b6db981b94414c783
[ "MIT" ]
null
null
null
engine/source/system/input/mouse/input_mouse_button_windows.hpp
skarab/coffee-master
6c3ff71b7f15735e41c9859b6db981b94414c783
[ "MIT" ]
null
null
null
engine/source/system/input/mouse/input_mouse_button_windows.hpp
skarab/coffee-master
6c3ff71b7f15735e41c9859b6db981b94414c783
[ "MIT" ]
null
null
null
#ifdef COFFEE_OS_WINDOWS #include "system/input/mouse/input_mouse.h" #include "wide/application/application.h" namespace coffee { namespace input { //-OPERATIONS---------------------------------------------------------------------------------// void MouseButton::Update(const basic::Time& time_step) { ...
25.137255
100
0.457878
skarab
b6813ddc36cbf25afa1760a597443c2d9f772a74
1,776
cpp
C++
Code/EditorPlugins/Kraut/EditorPluginKraut/KrautTreeAsset/KrautTreeAssetObjects.cpp
alinoctavian/ezEngine
0312c8d777c05ac58911f3fa879e4fd7efcfcb66
[ "MIT" ]
1
2021-06-23T14:44:02.000Z
2021-06-23T14:44:02.000Z
Code/EditorPlugins/Kraut/EditorPluginKraut/KrautTreeAsset/KrautTreeAssetObjects.cpp
alinoctavian/ezEngine
0312c8d777c05ac58911f3fa879e4fd7efcfcb66
[ "MIT" ]
null
null
null
Code/EditorPlugins/Kraut/EditorPluginKraut/KrautTreeAsset/KrautTreeAssetObjects.cpp
alinoctavian/ezEngine
0312c8d777c05ac58911f3fa879e4fd7efcfcb66
[ "MIT" ]
null
null
null
#include <EditorPluginKrautPCH.h> #include <EditorFramework/EditorApp/EditorApp.moc.h> #include <EditorPluginKraut/KrautTreeAsset/KrautTreeAssetObjects.h> // clang-format off EZ_BEGIN_STATIC_REFLECTED_TYPE(ezKrautAssetMaterial, ezNoBase, 1, ezRTTIDefaultAllocator<ezKrautAssetMaterial>) { EZ_BEGIN_PROPERTIES { ...
48
162
0.817005
alinoctavian
b681445beca2d805c50439def8635b8c4066945e
3,640
cc
C++
src/solver/libsolver.cc
nerdling/SBSAT
6328c6aa105b75693d06bf0dae4a3b5ca220318b
[ "Unlicense" ]
4
2015-03-08T07:56:29.000Z
2017-10-12T04:19:27.000Z
src/solver/libsolver.cc
nerdling/SBSAT
6328c6aa105b75693d06bf0dae4a3b5ca220318b
[ "Unlicense" ]
null
null
null
src/solver/libsolver.cc
nerdling/SBSAT
6328c6aa105b75693d06bf0dae4a3b5ca220318b
[ "Unlicense" ]
null
null
null
/* =========FOR INTERNAL USE ONLY. NO DISTRIBUTION PLEASE ========== */ /********************************************************************* Copyright 1999-2007, University of Cincinnati. All rights reserved. By using this software the USER indicates that he or she has read, understood and will comply with the f...
30.847458
76
0.740385
nerdling
b681d88a54998d29575d60c45f96efc581cb8aa1
13,914
hpp
C++
moondb/src/ciconv.hpp
zzccttu/moondb
1f5b919917c4ba98d62b0a85ef5e07f0588ee324
[ "MIT" ]
null
null
null
moondb/src/ciconv.hpp
zzccttu/moondb
1f5b919917c4ba98d62b0a85ef5e07f0588ee324
[ "MIT" ]
null
null
null
moondb/src/ciconv.hpp
zzccttu/moondb
1f5b919917c4ba98d62b0a85ef5e07f0588ee324
[ "MIT" ]
null
null
null
#pragma once #include <string> #include <vector> #include <set> #include <algorithm> #include <boost/algorithm/string/case_conv.hpp> #define BOOST_LOCALE_ENABLE_CHAR16_T 1 #define BOOST_LOCALE_ENABLE_CHAR32_T 1 #include <boost/locale.hpp> #include "crunningerror.hpp" namespace MoonDb { class CIconv { public: /** ...
22.050713
146
0.617004
zzccttu
b68d417fffaab37cc64634972a1a8c89b0820cc5
850
hpp
C++
src/engine/data/data-container.hpp
DavidPeicho/3DEngine
e27cd4ac72b4bf72cc0213061c5d386f5f670749
[ "MIT" ]
2
2018-04-17T07:33:48.000Z
2018-09-12T13:03:23.000Z
src/engine/data/data-container.hpp
DavidPeicho/3DEngine
e27cd4ac72b4bf72cc0213061c5d386f5f670749
[ "MIT" ]
2
2018-04-30T03:54:51.000Z
2021-03-09T22:36:13.000Z
src/engine/data/data-container.hpp
DavidPeicho/3DEngine
e27cd4ac72b4bf72cc0213061c5d386f5f670749
[ "MIT" ]
null
null
null
#pragma once #include <memory> #include <vector> #include <boost/variant.hpp> #include <components/material/material.hpp> #include <components/light/light.hpp> #include <components/light/pointlight.hpp> #include "data-container.hpp" #include "singleton.hpp" namespace Engine { namespace Data { template <type...
21.25
78
0.656471
DavidPeicho
b6925aa9428f366a426078f537d113393c154362
65,944
cc
C++
src/debug.cc
martine/v8c
222c7cd957ea7be31701172e8f66e4c31d0aa3f4
[ "BSD-3-Clause-Clear" ]
3
2015-01-01T16:04:49.000Z
2016-05-08T13:54:15.000Z
src/debug.cc
martine/v8c
222c7cd957ea7be31701172e8f66e4c31d0aa3f4
[ "BSD-3-Clause-Clear" ]
null
null
null
src/debug.cc
martine/v8c
222c7cd957ea7be31701172e8f66e4c31d0aa3f4
[ "BSD-3-Clause-Clear" ]
null
null
null
// Copyright 2006-2008 the V8 project authors. 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 lis...
33.389367
80
0.681715
martine
b6958eef89a7093d2879e57ef381231442a0232b
10,318
cpp
C++
Sources/SolarTears/Rendering/D3D12/D3D12DescriptorCreator.cpp
Sixshaman/SolarTears
97d07730f876508fce8bf93c9dc90f051c230580
[ "BSD-3-Clause" ]
4
2021-06-30T16:00:20.000Z
2021-10-13T06:17:56.000Z
Sources/SolarTears/Rendering/D3D12/D3D12DescriptorCreator.cpp
Sixshaman/SolarTears
97d07730f876508fce8bf93c9dc90f051c230580
[ "BSD-3-Clause" ]
null
null
null
Sources/SolarTears/Rendering/D3D12/D3D12DescriptorCreator.cpp
Sixshaman/SolarTears
97d07730f876508fce8bf93c9dc90f051c230580
[ "BSD-3-Clause" ]
null
null
null
#include "D3D12DescriptorCreator.hpp" #include "D3D12SrvDescriptorManager.hpp" D3D12::DescriptorCreator::DescriptorCreator(FrameGraph* frameGraph, RenderableScene* renderableScene): mFrameGraphToCreateDescriptors(frameGraph), mSceneToMakeDescriptors(renderableScene) { mTextureTableRequestState = DescriptorReques...
38.356877
208
0.804323
Sixshaman
b69b33d50d34e906eede8e7ca0ce1a8a7780839b
697
hpp
C++
include/dev/cga_out.hpp
RoseLeBlood/CsOS-i386
e1b8db4111349c8dfa51aaaa543075f220af50d4
[ "MIT" ]
2
2017-05-02T13:18:59.000Z
2020-12-23T03:03:26.000Z
include/dev/cga_out.hpp
RoseLeBlood/CsOS-i386
e1b8db4111349c8dfa51aaaa543075f220af50d4
[ "MIT" ]
null
null
null
include/dev/cga_out.hpp
RoseLeBlood/CsOS-i386
e1b8db4111349c8dfa51aaaa543075f220af50d4
[ "MIT" ]
null
null
null
#ifndef __DEV_CGA_VIDEO_HPP__ #define __DEV_CGA_VIDEO_HPP__ #include <dev/Driver.hpp> namespace dev { class StdCgaVideo : public Driver { public: StdCgaVideo(); ~StdCgaVideo(); virtual bool Probe(); virtual void WriteChar(char c); virtual void Write(const char* c); virtual void GotoXY(unsigned shor...
20.5
72
0.728838
RoseLeBlood
b6a36e02385f9315db970bbe5c8d09847232dc6e
1,744
cpp
C++
tothemoon.cpp
AlieZ22/DailyRemoval
d7e7713ab462cf4ffc700bc2aec8a8a06645d9de
[ "MIT" ]
2
2021-04-20T03:24:28.000Z
2021-12-02T04:35:34.000Z
tothemoon.cpp
AlieZ22/DailyRemoval
d7e7713ab462cf4ffc700bc2aec8a8a06645d9de
[ "MIT" ]
null
null
null
tothemoon.cpp
AlieZ22/DailyRemoval
d7e7713ab462cf4ffc700bc2aec8a8a06645d9de
[ "MIT" ]
null
null
null
#define WIDTH_MAP 10 #define HEIGTH_MAP 10 #include<tothemoon.h> #include<qpainter.h> #include <QPixmap> #include<QDebug> #include<QDialog> #include "block.h" #include"map.h" extern Map m; void tothemoon::show(QPainter &paint)//显示 { QPixmap pix; pix.load(":/images/res/xuekuai.png"); //pix=splitpixmap(pix...
16.609524
81
0.494839
AlieZ22
b6a54b14e7ca7e67b05b5990701a80e12f9dd7eb
780
hpp
C++
modules/core/src/parallel/parallel.hpp
xipingyan/opencv
39c3334147ec02761b117f180c9c4518be18d1fa
[ "Apache-2.0" ]
56,632
2016-07-04T16:36:08.000Z
2022-03-31T18:38:14.000Z
modules/core/src/parallel/parallel.hpp
yusufm423/opencv
6a2077cbd8a8a0d8cbd3e0e8c3ca239f17e6c067
[ "Apache-2.0" ]
13,593
2016-07-04T13:59:03.000Z
2022-03-31T21:04:51.000Z
modules/core/src/parallel/parallel.hpp
yusufm423/opencv
6a2077cbd8a8a0d8cbd3e0e8c3ca239f17e6c067
[ "Apache-2.0" ]
54,986
2016-07-04T14:24:38.000Z
2022-03-31T22:51:18.000Z
// This file is part of OpenCV project. // It is subject to the license terms in the LICENSE file found in the top-level directory // of this distribution and at http://opencv.org/license.html. #ifndef OPENCV_CORE_SRC_PARALLEL_PARALLEL_HPP #define OPENCV_CORE_SRC_PARALLEL_PARALLEL_HPP #include "opencv2/core/parallel/p...
26
90
0.802564
xipingyan
b6a698eed4dba9d867227a3281b42e4c1cd27f13
5,215
hpp
C++
se_core/include/se/io/octomap_io_impl.hpp
hexagon-geo-surv/supereight-public
29a978956d2b169a3f34eed9bc374e325551c10b
[ "MIT" ]
null
null
null
se_core/include/se/io/octomap_io_impl.hpp
hexagon-geo-surv/supereight-public
29a978956d2b169a3f34eed9bc374e325551c10b
[ "MIT" ]
null
null
null
se_core/include/se/io/octomap_io_impl.hpp
hexagon-geo-surv/supereight-public
29a978956d2b169a3f34eed9bc374e325551c10b
[ "MIT" ]
null
null
null
// SPDX-FileCopyrightText: 2018-2020 Smart Robotics Lab, Imperial College London // SPDX-FileCopyrightText: 2018 Nils Funk, ETH Zürich // SPDX-FileCopyrightText: 2019-2020 Sotiris Papatheodorou, Imperial College London // SPDX-License-Identifier: BSD-3-Clause #ifndef __OCTOMAP_IO_IMPL_HPP #define __OCTOMAP_IO_IMPL_HPP...
33.429487
83
0.632215
hexagon-geo-surv
b6a82b1e560222979105dfc6b80da5fc28f01b97
9,480
cpp
C++
Settings.cpp
meowniverse/TetroRythm
eafc18d4ce623438ccd400e276fed0e5b0515bd0
[ "MIT" ]
null
null
null
Settings.cpp
meowniverse/TetroRythm
eafc18d4ce623438ccd400e276fed0e5b0515bd0
[ "MIT" ]
null
null
null
Settings.cpp
meowniverse/TetroRythm
eafc18d4ce623438ccd400e276fed0e5b0515bd0
[ "MIT" ]
null
null
null
#include "Settings.h" Settings::Settings(Controls_Settings& settings) : settings(settings) { font.loadFromFile("Dense-Regular.otf"); text.setFont(font); text.setFillColor(Color::White); } Settings::~Settings() { } void Settings::keyEvent(State& state, Keyboard::Key key) { if (isChanging) { changeKey(key); r...
18.772277
141
0.623734
meowniverse
b6ade1fce511f2d5fe22f475af1429c32d270503
4,524
cpp
C++
src/gui.cpp
luihabl/mandelbrot
2db900e5504576226aae819facfce798a5f28fd3
[ "MIT" ]
2
2021-09-10T09:48:10.000Z
2021-09-10T20:34:57.000Z
src/gui.cpp
luihabl/mandelbrot
2db900e5504576226aae819facfce798a5f28fd3
[ "MIT" ]
null
null
null
src/gui.cpp
luihabl/mandelbrot
2db900e5504576226aae819facfce798a5f28fd3
[ "MIT" ]
null
null
null
#include "gui.h" #include <tinysdl.h> #include "imgui.h" #include "imgui_impl_sdl.h" #include "imgui_impl_opengl3.h" using namespace MB; using namespace TinySDL; GUI::GUI(SDL_Window* _window, SDL_GLContext* context) : window(_window) { IMGUI_CHECKVERSION(); ImGui::CreateContext(); ImGui_ImplSDL2_InitF...
42.280374
80
0.683687
luihabl
b6b02ffcdb4148e2691f6de3a10e42fb34e5751b
1,255
cpp
C++
modules/DGM/GraphPairwiseExt.cpp
Pandinosaurus/DGM
33a2e9bdaf446378ec63c10b3a07b257e32aa1ef
[ "BSD-3-Clause" ]
188
2016-04-10T20:33:46.000Z
2022-01-03T10:40:44.000Z
modules/DGM/GraphPairwiseExt.cpp
Pandinosaurus/DGM
33a2e9bdaf446378ec63c10b3a07b257e32aa1ef
[ "BSD-3-Clause" ]
25
2016-04-06T17:18:22.000Z
2021-12-15T13:23:31.000Z
modules/DGM/GraphPairwiseExt.cpp
Pandinosaurus/DGM
33a2e9bdaf446378ec63c10b3a07b257e32aa1ef
[ "BSD-3-Clause" ]
55
2016-08-21T01:21:55.000Z
2021-12-02T11:09:58.000Z
#include "GraphPairwiseExt.h" #include "IGraphPairwise.h" #include "TrainEdge.h" #include "TrainEdgePottsCS.h" #include "macroses.h" namespace DirectGraphicalModels { void CGraphPairwiseExt::addDefaultEdgesModel(float val, float weight) { if (weight != 1.0f) val = powf(val, weight); const byte nStates = m...
39.21875
106
0.733068
Pandinosaurus
b6b143763857f7f4243a3c1d6d3c9754f10218ca
9,121
cc
C++
src/ila/var_container.cc
Anonymous-Stranger/ILAng
b39e8fca4a8be1fd2b7283510781ddd1f0035832
[ "MIT" ]
1
2021-01-14T15:44:24.000Z
2021-01-14T15:44:24.000Z
src/ila/var_container.cc
Anonymous-Stranger/ILAng
b39e8fca4a8be1fd2b7283510781ddd1f0035832
[ "MIT" ]
null
null
null
src/ila/var_container.cc
Anonymous-Stranger/ILAng
b39e8fca4a8be1fd2b7283510781ddd1f0035832
[ "MIT" ]
null
null
null
/// \file /// Source code for the class VarContainer and its derived classes. #include <ilang/ila/var_container.h> #include <ilang/ila/ast_hub.h> namespace ilang { VarContainerPtr VarContainer::Make(const std::string& name, const SortPtr& t) { std::string prefix = name + "_"; // also makes name a bit more private...
30.302326
106
0.658042
Anonymous-Stranger
b6bd6a4be6c79ade41ecdba14303f789e1120662
4,176
hpp
C++
include/J3D/J3DMaterialData.hpp
Sage-of-Mirrors/J3DUltra
bc823846a6a547e74beb4ed9acad38b3ccd63ad3
[ "MIT" ]
1
2022-01-31T14:45:12.000Z
2022-01-31T14:45:12.000Z
include/J3D/J3DMaterialData.hpp
Sage-of-Mirrors/J3DUltra
bc823846a6a547e74beb4ed9acad38b3ccd63ad3
[ "MIT" ]
null
null
null
include/J3D/J3DMaterialData.hpp
Sage-of-Mirrors/J3DUltra
bc823846a6a547e74beb4ed9acad38b3ccd63ad3
[ "MIT" ]
null
null
null
#pragma once #include "GX/GXEnum.hpp" #include "J3D/J3DTransform.hpp" #include <cstdint> #include <glm/vec3.hpp> #include <glm/vec4.hpp> #include <glm/mat4x4.hpp> namespace bStream { class CStream; } enum class EPixelEngineMode : uint8_t { Opaque = 1, AlphaTest = 2, Translucent = 4 }; struct J3DMaterialComponen...
26.264151
90
0.780172
Sage-of-Mirrors
b6c4a2b499ea346fb7350164c4f270152a1e349d
2,936
hpp
C++
libcaf_core/caf/detail/token_based_credit_controller.hpp
jsiwek/actor-framework
06cd2836f4671725cb7eaa22b3cc115687520fc1
[ "BSL-1.0", "BSD-3-Clause" ]
4
2019-05-03T05:38:15.000Z
2020-08-25T15:23:19.000Z
libcaf_core/caf/detail/token_based_credit_controller.hpp
jsiwek/actor-framework
06cd2836f4671725cb7eaa22b3cc115687520fc1
[ "BSL-1.0", "BSD-3-Clause" ]
null
null
null
libcaf_core/caf/detail/token_based_credit_controller.hpp
jsiwek/actor-framework
06cd2836f4671725cb7eaa22b3cc115687520fc1
[ "BSL-1.0", "BSD-3-Clause" ]
null
null
null
/****************************************************************************** * ____ _ _____ * * / ___| / \ | ___| C++ * * | | / _ \ | |_ Actor * ...
41.352113
80
0.471049
jsiwek
b6c4faa5d72a3120437a5ceb01de317ab111752d
16,540
cpp
C++
src/MultiLayerOptics/tst/units/MultiPaneScattered_102_NonStandardSolar.unit.cpp
LBNL-ETA/Windows-CalcEngine
c81528f25ffb79989fcb15b03f00b7c18da138c4
[ "BSD-3-Clause-LBNL" ]
15
2018-04-20T19:16:50.000Z
2022-02-11T04:11:41.000Z
src/MultiLayerOptics/tst/units/MultiPaneScattered_102_NonStandardSolar.unit.cpp
LBNL-ETA/Windows-CalcEngine
c81528f25ffb79989fcb15b03f00b7c18da138c4
[ "BSD-3-Clause-LBNL" ]
31
2016-04-05T20:56:28.000Z
2022-03-31T22:02:46.000Z
src/MultiLayerOptics/tst/units/MultiPaneScattered_102_NonStandardSolar.unit.cpp
LBNL-ETA/Windows-CalcEngine
c81528f25ffb79989fcb15b03f00b7c18da138c4
[ "BSD-3-Clause-LBNL" ]
6
2018-04-20T19:38:58.000Z
2020-04-06T00:30:47.000Z
#include <memory> #include <gtest/gtest.h> #include "WCESpectralAveraging.hpp" #include "WCEMultiLayerOptics.hpp" #include "WCESingleLayerOptics.hpp" #include "WCECommon.hpp" using namespace SingleLayerOptics; using namespace FenestrationCommon; using namespace SpectralAveraging; using namespace MultiLayerOptics; /...
46.591549
98
0.645647
LBNL-ETA
b6c6375a0fa098946132ec8224cc762121989ac7
14,131
hpp
C++
core/src/main/cpp/3rdparty/glm/gtc/type_aligned.hpp
caolongcl/OpenImage
d29e0309bc35ff1766e0c81bfba82b185a7aabb6
[ "BSD-3-Clause" ]
2
2021-09-16T15:14:39.000Z
2021-09-17T14:39:52.000Z
core/src/main/cpp/3rdparty/glm/gtc/type_aligned.hpp
caolongcl/OpenImage
d29e0309bc35ff1766e0c81bfba82b185a7aabb6
[ "BSD-3-Clause" ]
null
null
null
core/src/main/cpp/3rdparty/glm/gtc/type_aligned.hpp
caolongcl/OpenImage
d29e0309bc35ff1766e0c81bfba82b185a7aabb6
[ "BSD-3-Clause" ]
null
null
null
/// @ref gtc_type_aligned /// @file glm/gtc/type_aligned.hpp /// /// @see core (dependence) /// /// @defgroup gtc_type_aligned GLM_GTC_type_aligned /// @ingroup gtc /// /// @brief Aligned types. /// <glm/gtc/type_aligned.hpp> need to be included to use these features. #pragma once #if !GLM_HAS_ALIGNED_TYPE # error "G...
39.035912
74
0.813884
caolongcl
b6c78f8217e5d68b46050dd74cec7336034f4b35
2,478
cpp
C++
problemsets/Codejam/2011/ROUND 1A/PD/PD.cpp
juarezpaulino/coderemite
a4649d3f3a89d234457032d14a6646b3af339ac1
[ "Apache-2.0" ]
null
null
null
problemsets/Codejam/2011/ROUND 1A/PD/PD.cpp
juarezpaulino/coderemite
a4649d3f3a89d234457032d14a6646b3af339ac1
[ "Apache-2.0" ]
null
null
null
problemsets/Codejam/2011/ROUND 1A/PD/PD.cpp
juarezpaulino/coderemite
a4649d3f3a89d234457032d14a6646b3af339ac1
[ "Apache-2.0" ]
null
null
null
/** * * Author: Juarez Paulino(coderemite) * Email: juarez.paulino@gmail.com * */ #include <cstdio> #include <cstdlib> #include <cstring> #include <cctype> #include <cmath> #include <climits> #include <string> #include <algorithm> #include <sstream> #include <map> #include <set> #include <queue> #include <numeric...
25.546392
87
0.536723
juarezpaulino
b6d1ccd1a0ccd57e72bd16a71d645bcb3c3c5134
118
cpp
C++
project762/src/component315/cpp/lib3.cpp
gradle/perf-native-large
af00fd258fbe9c7d274f386e46847fe12062cc71
[ "Apache-2.0" ]
2
2016-11-23T17:25:24.000Z
2016-11-23T17:25:27.000Z
project762/src/component315/cpp/lib3.cpp
gradle/perf-native-large
af00fd258fbe9c7d274f386e46847fe12062cc71
[ "Apache-2.0" ]
15
2016-09-15T03:19:32.000Z
2016-09-17T09:15:32.000Z
project762/src/component315/cpp/lib3.cpp
gradle/perf-native-large
af00fd258fbe9c7d274f386e46847fe12062cc71
[ "Apache-2.0" ]
2
2019-11-09T16:26:55.000Z
2021-01-13T10:51:09.000Z
#include <stdio.h> #include <component315/lib1.h> int component315_3 () { printf("Hello world!\n"); return 0; }
13.111111
30
0.661017
gradle
b6d2f0b95dd1f4736c1502bcb8a27d87bd826a0f
1,531
cpp
C++
test/TestTypeList.cpp
peterlauro/type_list
945695a5d45362f2a676945d49675b0e78dbee3f
[ "Apache-2.0" ]
null
null
null
test/TestTypeList.cpp
peterlauro/type_list
945695a5d45362f2a676945d49675b0e78dbee3f
[ "Apache-2.0" ]
null
null
null
test/TestTypeList.cpp
peterlauro/type_list
945695a5d45362f2a676945d49675b0e78dbee3f
[ "Apache-2.0" ]
null
null
null
#include <type_list.h> #include <gtest/gtest.h> namespace stdx::test { struct literal { constexpr literal() = default; }; TEST(TypeList, class_template_argument_deduction) { { using my_type_list = stdx::type_list<int, double, literal>; stdx::type_list tl(int{}, double{}, literal{}); ...
23.553846
65
0.568256
peterlauro
b6d3feda37fa4e0f6bec953600d6261b6a710baf
2,357
cpp
C++
src/core/header_chain.cpp
mbroemme/bamboo
07e8a42fa90d9ddd4ea6cfc55f000277b65e5d1b
[ "MIT" ]
null
null
null
src/core/header_chain.cpp
mbroemme/bamboo
07e8a42fa90d9ddd4ea6cfc55f000277b65e5d1b
[ "MIT" ]
null
null
null
src/core/header_chain.cpp
mbroemme/bamboo
07e8a42fa90d9ddd4ea6cfc55f000277b65e5d1b
[ "MIT" ]
null
null
null
#include "header_chain.hpp" #include "api.hpp" #include "block.hpp" #include "logger.hpp" #include <iostream> using namespace std; HeaderChain::HeaderChain(string host) { this->host = host; this->failed = false; this->totalWork = 0; this->chainLength = 0; } bool HeaderChain::valid() { return !this...
27.406977
88
0.536699
mbroemme
b6d4cc78319054635e348aded64612294078730c
563
cpp
C++
July LeetCode Challenge/Day_19.cpp
mishrraG/100DaysOfCode
3358af290d4f05889917808d68b95f37bd76e698
[ "MIT" ]
13
2020-08-10T14:06:37.000Z
2020-09-24T14:21:33.000Z
July LeetCode Challenge/Day_19.cpp
mishrraG/DaysOfCP
3358af290d4f05889917808d68b95f37bd76e698
[ "MIT" ]
null
null
null
July LeetCode Challenge/Day_19.cpp
mishrraG/DaysOfCP
3358af290d4f05889917808d68b95f37bd76e698
[ "MIT" ]
1
2020-05-31T21:09:14.000Z
2020-05-31T21:09:14.000Z
class Solution { public: string addBinary(string a, string b) { int n1 = a.size() - 1; int n2 = b.size() - 1; int carry = 0; int sum = 0; string s; while (n1 >= 0 || n2 >= 0) { int c1 = n1 >= 0 ? a[n1] - '0' : 0; int c2 = n2 >= 0 ? b[n2] - '0' : 0; sum = c1 + c2 + carry; carry = 0; if (sum =...
17.060606
39
0.436945
mishrraG
b6d8fcc2ea0b4a861850a233402fef00db4b63d6
643
cpp
C++
ares/ws/cpu/dma.cpp
CasualPokePlayer/ares
58690cd5fc7bb6566c22935c5b80504a158cca29
[ "BSD-3-Clause" ]
153
2020-07-25T17:55:29.000Z
2021-10-01T23:45:01.000Z
ares/ws/cpu/dma.cpp
CasualPokePlayer/ares
58690cd5fc7bb6566c22935c5b80504a158cca29
[ "BSD-3-Clause" ]
245
2021-10-08T09:14:46.000Z
2022-03-31T08:53:13.000Z
ares/ws/cpu/dma.cpp
CasualPokePlayer/ares
58690cd5fc7bb6566c22935c5b80504a158cca29
[ "BSD-3-Clause" ]
44
2020-07-25T08:51:55.000Z
2021-09-25T16:09:01.000Z
auto CPU::DMA::transfer() -> void { //length of 0 or SRAM source address cause immediate termination if(length == 0 || source.byte(2) == 1) { enable = 0; return; } self.step(5); while(length) { self.step(2); u16 data = 0; //once DMA is started; SRAM reads still incur time penalty, but do ...
25.72
83
0.547434
CasualPokePlayer
b6ddb1a6f3165d14c46d927f42011fc2a07b03aa
10,912
cpp
C++
Src/Common/prefix.cpp
vinjn/glintercept
f82166d3a774bfb02459f6b3ae2a03d4c9eaf64f
[ "MIT" ]
468
2015-04-13T19:03:57.000Z
2022-03-23T00:11:24.000Z
Src/Common/prefix.cpp
vinjn/glintercept
f82166d3a774bfb02459f6b3ae2a03d4c9eaf64f
[ "MIT" ]
12
2015-05-25T11:15:21.000Z
2020-10-26T02:46:50.000Z
Src/Common/prefix.cpp
vinjn/glintercept
f82166d3a774bfb02459f6b3ae2a03d4c9eaf64f
[ "MIT" ]
67
2015-04-22T13:22:48.000Z
2022-03-05T01:11:02.000Z
/* * BinReloc - a library for creating relocatable executables * Written by: Mike Hearn <mike@theoretic.com> * Hongli Lai <h.lai@chello.nl> * http://autopackage.org/ * * This source code is public domain. You can relicense this code * under whatever license you want. * * NOTE: if you're using C++ ...
22.592133
156
0.666331
vinjn
b6e37bea2bb13f26e877d500567604e4946de8cb
745
cpp
C++
main/big-sorting/big-sorting.cpp
EliahKagan/old-practice-snapshot
1b53897eac6902f8d867c8f154ce2a489abb8133
[ "0BSD" ]
null
null
null
main/big-sorting/big-sorting.cpp
EliahKagan/old-practice-snapshot
1b53897eac6902f8d867c8f154ce2a489abb8133
[ "0BSD" ]
null
null
null
main/big-sorting/big-sorting.cpp
EliahKagan/old-practice-snapshot
1b53897eac6902f8d867c8f154ce2a489abb8133
[ "0BSD" ]
null
null
null
#include <algorithm> #include <iostream> #include <iterator> #include <string> #include <utility> #include <vector> namespace { std::vector<std::string> get_strings() { std::vector<std::string>::size_type n {}; std::cin >> n; std::vector<std::string> a; a.reserve(n); f...
20.135135
76
0.504698
EliahKagan
b6e503221d683591490f46a242856e349da208ab
402
hpp
C++
wrbb-v2lib-firm/firmware/gr_common/lib/ArduinoJson/ArduinoJson/Numbers/Integer.hpp
h7ga40/gr_citrus
07d450b9cc857997c97519e962572b92501282d6
[ "MIT" ]
1
2018-12-04T02:38:37.000Z
2018-12-04T02:38:37.000Z
wrbb-v2lib-firm/firmware/gr_common/lib/ArduinoJson/ArduinoJson/Numbers/Integer.hpp
h7ga40/gr_citrus
07d450b9cc857997c97519e962572b92501282d6
[ "MIT" ]
3
2019-08-15T06:59:48.000Z
2019-10-16T10:02:09.000Z
wrbb-v2lib-firm/firmware/gr_common/lib/ArduinoJson/ArduinoJson/Numbers/Integer.hpp
h7ga40/gr_citrus
07d450b9cc857997c97519e962572b92501282d6
[ "MIT" ]
1
2019-02-22T08:27:15.000Z
2019-02-22T08:27:15.000Z
// ArduinoJson - arduinojson.org // Copyright Benoit Blanchon 2014-2019 // MIT License #pragma once #include "../Configuration.hpp" #include <stdint.h> // int64_t namespace ARDUINOJSON_NAMESPACE { #if ARDUINOJSON_USE_LONG_LONG typedef int64_t Integer; typedef uint64_t UInt; #else typedef long Inte...
19.142857
39
0.738806
h7ga40
b6e5fddc9312308e7f4772b027e76a4161050cde
2,416
hh
C++
include/dsfs.hh
hspabla/DFS-FUSE
a47e30616f31a78fba23b2b1b0ddb25c97c7beea
[ "Apache-2.0" ]
3
2020-04-08T10:32:44.000Z
2022-02-17T07:04:07.000Z
include/dsfs.hh
hspabla/DFS-FUSE
a47e30616f31a78fba23b2b1b0ddb25c97c7beea
[ "Apache-2.0" ]
1
2019-10-25T12:24:20.000Z
2019-10-25T12:24:20.000Z
include/dsfs.hh
hspabla/DFS-FUSE
a47e30616f31a78fba23b2b1b0ddb25c97c7beea
[ "Apache-2.0" ]
null
null
null
#ifndef dsfs_hh #define dsfs_hh #include <ctype.h> #include <dirent.h> #include <errno.h> #include <fcntl.h> #include <fuse.h> #include <limits.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/types.h> #include <sys/xattr.h> #include <unistd.h> #include <vector> #include <unordered_map> #in...
33.555556
120
0.682119
hspabla
b6e7e930580d7745467e975c038790b896bc10e2
1,167
cpp
C++
develop/patch.cpp
chriku/cserial
70fb65373d73757ef58c92195d5b4de0a7f3ba87
[ "BSD-3-Clause" ]
null
null
null
develop/patch.cpp
chriku/cserial
70fb65373d73757ef58c92195d5b4de0a7f3ba87
[ "BSD-3-Clause" ]
null
null
null
develop/patch.cpp
chriku/cserial
70fb65373d73757ef58c92195d5b4de0a7f3ba87
[ "BSD-3-Clause" ]
null
null
null
#include "cserial/patch.hpp" #include "cserial/serialize.hpp" #include <iostream> using namespace std::literals; struct file_content3 { bool a = false; }; template <> struct cserial::serial<file_content3> : serializer<"file_content3", // field<&file_content3::a, "a...
30.710526
113
0.610968
chriku
b6ea3fb5ca44876eec9baa809f3cd0b2b23ab2cc
3,806
hpp
C++
ModSource/breakingpoint_ui/config/unused/CfgCommunicationMenu.hpp
nrailuj/breakingpointmod
e102e106b849ca78deb3cb299f3ae18c91c3bfe9
[ "Naumen", "Condor-1.1", "MS-PL" ]
70
2017-06-23T21:25:05.000Z
2022-03-27T02:39:33.000Z
ModSource/breakingpoint_ui/config/unused/CfgCommunicationMenu.hpp
nrailuj/breakingpointmod
e102e106b849ca78deb3cb299f3ae18c91c3bfe9
[ "Naumen", "Condor-1.1", "MS-PL" ]
84
2017-08-26T22:06:28.000Z
2021-09-09T15:32:56.000Z
ModSource/breakingpoint_ui/config/unused/CfgCommunicationMenu.hpp
nrailuj/breakingpointmod
e102e106b849ca78deb3cb299f3ae18c91c3bfe9
[ "Naumen", "Condor-1.1", "MS-PL" ]
71
2017-06-24T01:10:42.000Z
2022-03-18T23:02:00.000Z
// Generated by unRap v1.06 by Kegetys class CfgCommunicationMenu { class Default { text = ""; submenu = ""; expression = ""; icon = "\a3\Ui_f\data\GUI\Cfg\CommunicationMenu\call_ca.paa"; iconText = ""; cursor = ""; enable = ""; }; class A { text = $STR_A3_RADIO_A; iconText = "A"; expression =...
17.62037
69
0.609827
nrailuj
b6eb570c9b2ac7a802c69f5765f523e67005bf39
1,565
cpp
C++
uploads/test/Disaster.cpp
l3lackclevil/ARIN-grader
fdfc1ff13402ae5cf327be32733a4cc1fdecf811
[ "Apache-2.0" ]
null
null
null
uploads/test/Disaster.cpp
l3lackclevil/ARIN-grader
fdfc1ff13402ae5cf327be32733a4cc1fdecf811
[ "Apache-2.0" ]
null
null
null
uploads/test/Disaster.cpp
l3lackclevil/ARIN-grader
fdfc1ff13402ae5cf327be32733a4cc1fdecf811
[ "Apache-2.0" ]
null
null
null
#include<cstdio> #include<iostream> #include<vector> using namespace std; int countt[1000]={0},check[400]={0},c=0,n,sth=0,vc[400][400]={0}; char path[400][2],ans[400],bf; vector<int>v[1000]; void walk(int p) { if(c==n+1) { if(sth==0) { for(int i=0;i<c;i++) { ...
17.197802
66
0.292013
l3lackclevil
b6ed298b2b87dd2507cd67a323eb786ade9d90e3
14,732
cpp
C++
src/trace/D3DStadistics/StatsManager.cpp
attila-sim/attila-sim
a64b57240b4e10dc4df7f21eff0232b28df09532
[ "BSD-3-Clause" ]
23
2016-01-14T04:47:13.000Z
2022-01-13T14:02:08.000Z
src/trace/D3DStadistics/StatsManager.cpp
attila-sim/attila-sim
a64b57240b4e10dc4df7f21eff0232b28df09532
[ "BSD-3-Clause" ]
2
2018-03-25T14:39:20.000Z
2022-03-18T05:11:21.000Z
src/trace/D3DStadistics/StatsManager.cpp
attila-sim/attila-sim
a64b57240b4e10dc4df7f21eff0232b28df09532
[ "BSD-3-Clause" ]
17
2016-02-13T05:35:35.000Z
2022-03-24T16:05:40.000Z
#ifdef WORKLOAD_STATS #include "UserStats.h" #include "StatsManager.h" #include <fstream> #include <iostream> #include "support.h" #include "Log.h" using namespace std; using namespace workloadStats; /* Create singleton */ StatsManager& StatsManager::instance() { /** * @fix * * Previous code caused a memory...
22.664615
125
0.523283
attila-sim