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
215910b672deb5fd314958592ff7d14ad68d0d36
3,770
cpp
C++
engine/source/component/behaviors/behaviorInstance.cpp
Sednari/twitch-tutorial-flappy-birds
9aaed1cea2ef24ef6a5212c3350db17a017142fe
[ "MIT" ]
1,309
2015-01-01T02:46:14.000Z
2022-03-14T04:56:02.000Z
engine/source/component/behaviors/behaviorInstance.cpp
Sednari/twitch-tutorial-flappy-birds
9aaed1cea2ef24ef6a5212c3350db17a017142fe
[ "MIT" ]
155
2015-01-11T19:26:32.000Z
2021-11-22T04:08:55.000Z
engine/source/component/behaviors/behaviorInstance.cpp
Sednari/twitch-tutorial-flappy-birds
9aaed1cea2ef24ef6a5212c3350db17a017142fe
[ "MIT" ]
1,595
2015-01-01T23:19:48.000Z
2022-02-17T07:00:52.000Z
//----------------------------------------------------------------------------- // Copyright (c) 2013 GarageGames, LLC // // 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 restr...
36.25
160
0.574271
Sednari
215955a3532cb8d5bc4afef8b65931fe7552bed7
1,368
hpp
C++
include/sprout/algorithm/fit/results.hpp
thinkoid/Sprout
a5a5944bb1779d3bb685087c58c20a4e18df2f39
[ "BSL-1.0" ]
4
2021-12-29T22:17:40.000Z
2022-03-23T11:53:44.000Z
dsp/lib/sprout/sprout/algorithm/fit/results.hpp
TheSlowGrowth/TapeLooper
ee8d8dccc27e39a6f6f6f435847e4d5e1b97c264
[ "MIT" ]
16
2021-10-31T21:41:09.000Z
2022-01-22T10:51:34.000Z
include/sprout/algorithm/fit/results.hpp
thinkoid/Sprout
a5a5944bb1779d3bb685087c58c20a4e18df2f39
[ "BSL-1.0" ]
null
null
null
/*============================================================================= Copyright (c) 2011-2019 Bolero MURAKAMI https://github.com/bolero-MURAKAMI/Sprout Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) ==...
30.4
79
0.652047
thinkoid
215d3d1e4bb9ee62f05c5266e44c2a6d0fd1c418
1,272
cpp
C++
interpreter-for-cpp/src/Runtime/Executer.cpp
Jenocn/PeakScript
444ba5f9d0062989d8beca0d76415961f1ae2922
[ "MIT" ]
1
2020-05-21T09:02:19.000Z
2020-05-21T09:02:19.000Z
interpreter-for-cpp/src/Runtime/Executer.cpp
Jenocn/PeakScript
444ba5f9d0062989d8beca0d76415961f1ae2922
[ "MIT" ]
8
2020-05-29T14:12:00.000Z
2022-01-22T09:08:47.000Z
interpreter-for-cpp/src/Runtime/Executer.cpp
Jenocn/PeakScript
444ba5f9d0062989d8beca0d76415961f1ae2922
[ "MIT" ]
null
null
null
#include "Executer.h" #include "../Grammar/ParseTool.h" #include "Sentence/Sentence.h" #include "Space.h" using namespace peak::interpreter; std::shared_ptr<Executer> Executer::Create(const std::string& src) { if (src.empty()) { return nullptr; } auto parseData = ParseTool::Load(src); if (!parseData...
24.941176
82
0.693396
Jenocn
2166639b89d5e8b22d1e0af575d4381c2ecc93c9
7,774
cpp
C++
Encodings/src/Windows1255Encoding.cpp
astlin/poco
b878152e9034b89c923bc3c97e16ae1b92c09bf4
[ "BSL-1.0" ]
5,766
2015-01-01T01:27:15.000Z
2022-03-31T09:27:29.000Z
Encodings/src/Windows1255Encoding.cpp
astlin/poco
b878152e9034b89c923bc3c97e16ae1b92c09bf4
[ "BSL-1.0" ]
2,345
2015-01-01T20:43:10.000Z
2022-03-31T19:45:02.000Z
Encodings/src/Windows1255Encoding.cpp
astlin/poco
b878152e9034b89c923bc3c97e16ae1b92c09bf4
[ "BSL-1.0" ]
1,963
2015-01-01T01:29:44.000Z
2022-03-31T06:41:54.000Z
// // Windows1255Encoding.cpp // // Library: Encodings // Package: Encodings // Module: Windows1255Encoding // // Copyright (c) 2018, Applied Informatics Software Engineering GmbH. // and Contributors. // // SPDX-License-Identifier: BSL-1.0 // #include "Poco/Windows1255Encoding.h" namespace Poco { const char* Wi...
75.475728
161
0.635709
astlin
21752185978bfe99310a7581b4c2c2cf6c0a85cf
11,749
cpp
C++
Source/Catastrophe_VS/Characters/PlayerCharacter/PlayerCharacter.cpp
Enderderder/Catastrophe_VerticalSlice
679a04e86db363c3bca642512b86f5b2a8cca1be
[ "MIT" ]
null
null
null
Source/Catastrophe_VS/Characters/PlayerCharacter/PlayerCharacter.cpp
Enderderder/Catastrophe_VerticalSlice
679a04e86db363c3bca642512b86f5b2a8cca1be
[ "MIT" ]
null
null
null
Source/Catastrophe_VS/Characters/PlayerCharacter/PlayerCharacter.cpp
Enderderder/Catastrophe_VerticalSlice
679a04e86db363c3bca642512b86f5b2a8cca1be
[ "MIT" ]
null
null
null
// Fill out your copyright notice in the Description page of Project Settings. #include "PlayerCharacter.h" #include "Camera/CameraComponent.h" #include "Camera/CameraActor.h" #include "Components/CapsuleComponent.h" #include "Components/InputComponent.h" #include "Components/StaticMeshComponent.h" #include "Component...
32.366391
180
0.779471
Enderderder
21780b5deb5965454673038016d281c8618c23e2
924
cpp
C++
cli/gflag/src/module.cpp
ArcticNature/extentions
386b6cc88fd9b05ca1c94190e882a0a18f55a898
[ "BSD-3-Clause" ]
null
null
null
cli/gflag/src/module.cpp
ArcticNature/extentions
386b6cc88fd9b05ca1c94190e882a0a18f55a898
[ "BSD-3-Clause" ]
null
null
null
cli/gflag/src/module.cpp
ArcticNature/extentions
386b6cc88fd9b05ca1c94190e882a0a18f55a898
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2015 Stefano Pogliani <stefano@spogliani.net> #include <string> #include "core/interface/lifecycle.h" #include "core/lifecycle/process.h" #include "core/registry/cli-parser.h" #include "ext/cli/gflags.h" using sf::core::interface::BaseLifecycleArg; using sf::core::interface::BaseLifecycleHandler; using s...
26.4
58
0.756494
ArcticNature
2178de00e32fa4fe8f39f55dd10e6fcd455becfd
4,154
cpp
C++
engine/graphics/Private/PipelineDesc.cpp
azhirnov/AE
31a42b9bf3bdd86304d565d66e4710e7d89d7392
[ "MIT" ]
2
2019-11-14T17:55:26.000Z
2022-01-12T09:38:29.000Z
engine/graphics/Private/PipelineDesc.cpp
azhirnov/AE
31a42b9bf3bdd86304d565d66e4710e7d89d7392
[ "MIT" ]
null
null
null
engine/graphics/Private/PipelineDesc.cpp
azhirnov/AE
31a42b9bf3bdd86304d565d66e4710e7d89d7392
[ "MIT" ]
1
2020-04-11T16:04:31.000Z
2020-04-11T16:04:31.000Z
// Copyright (c) 2018-2020, Zhirnov Andrey. For more information see 'LICENSE' #include "graphics/Public/PipelineDesc.h" namespace AE::Graphics { /* ================================================= GraphicsPipelineDesc::operator == ================================================= */ bool GraphicsPipelineDesc:...
29.671429
84
0.508907
azhirnov
2180b81131c7b38844182fdd9fd43f8577c701bc
9,818
cxx
C++
src/tools/log-common/log-desc.cxx
ManticoreProject/manticore
74b07c02ebc6c69764c1256ff0c02a921dcaefbb
[ "MIT" ]
60
2017-12-13T20:07:32.000Z
2022-01-21T09:15:40.000Z
src/tools/log-common/log-desc.cxx
ManticoreProject/pmlc
74b07c02ebc6c69764c1256ff0c02a921dcaefbb
[ "MIT" ]
21
2016-02-12T21:30:13.000Z
2020-03-25T02:22:44.000Z
src/tools/log-common/log-desc.cxx
ManticoreProject/manticore
74b07c02ebc6c69764c1256ff0c02a921dcaefbb
[ "MIT" ]
8
2016-01-21T20:47:53.000Z
2020-04-30T14:31:42.000Z
/*! \file log-desc.cxx * * \author John Reppy */ /* * COPYRIGHT (c) 2009 The Manticore Project (http://manticore.cs.uchicago.edu) * All rights reserved. */ #include "event-desc.hxx" #include "log-desc.hxx" #include <string.h> #include <stdio.h> /* FIXME: replace error message in AddTransition with something els...
23.714976
100
0.63404
ManticoreProject
218ce951f0ae7d750efd02621147e6ce750ee59a
626
cpp
C++
tests/SelectionTests.cpp
lw983165/Ops
b91808bbf9a011c439476dbdf227aa455b53bf72
[ "Apache-2.0" ]
null
null
null
tests/SelectionTests.cpp
lw983165/Ops
b91808bbf9a011c439476dbdf227aa455b53bf72
[ "Apache-2.0" ]
null
null
null
tests/SelectionTests.cpp
lw983165/Ops
b91808bbf9a011c439476dbdf227aa455b53bf72
[ "Apache-2.0" ]
null
null
null
#include "catch.hpp" #include "Selection.hpp" #include "Circle.hpp" TEST_CASE("copy constructor and equals operator") { Selection *sel = new Selection(); Circle *c1 = new Circle(); Circle *c2 = new Circle(); sel->add(c1); sel->add(c2); REQUIRE(sel->getSize() == 2); Selection *sel2 = new...
20.193548
51
0.578275
lw983165
218f56e777c20d947629b2cefe9c15c8a2186f8d
5,540
cpp
C++
nucleo32_f303k8/Drivers/MiYALAB_STM32F303K8/USART/Uart.cpp
miyalab/DefaultProjectForSTM32
5e054974fe6e33c08638b2b239db35fc7275f908
[ "MIT" ]
null
null
null
nucleo32_f303k8/Drivers/MiYALAB_STM32F303K8/USART/Uart.cpp
miyalab/DefaultProjectForSTM32
5e054974fe6e33c08638b2b239db35fc7275f908
[ "MIT" ]
null
null
null
nucleo32_f303k8/Drivers/MiYALAB_STM32F303K8/USART/Uart.cpp
miyalab/DefaultProjectForSTM32
5e054974fe6e33c08638b2b239db35fc7275f908
[ "MIT" ]
null
null
null
/* * MIT License * * Copyright (c) 2020 MiYA LAB(K.Miyauchi) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, c...
34.197531
122
0.537906
miyalab
219cf28f6a7af2774c2958e28a9ec9390b6e5dd0
181
cpp
C++
AtCoder/ABC049/B/abc049_b.cpp
object-oriented-human/competitive
9e761020e887d8980a39a64eeaeaa39af0ecd777
[ "MIT" ]
2
2021-07-27T10:46:47.000Z
2021-07-27T10:47:57.000Z
AtCoder/ABC049/B/abc049_b.cpp
foooop/competitive
9e761020e887d8980a39a64eeaeaa39af0ecd777
[ "MIT" ]
null
null
null
AtCoder/ABC049/B/abc049_b.cpp
foooop/competitive
9e761020e887d8980a39a64eeaeaa39af0ecd777
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main() { int h, w; cin >> h >> w; while (h--) { string s; cin >> s; cout << s << '\n' << s << '\n'; } }
20.111111
39
0.414365
object-oriented-human
219d7018bab8dc6adc95ad85bcfaaa23f793bb02
2,381
hpp
C++
src/port/esp_mesh/impl/function_impl.hpp
rnascunha/coap-te
eaff16162b1a524ad06e18dbdc79ca4c8658b3a8
[ "MIT" ]
null
null
null
src/port/esp_mesh/impl/function_impl.hpp
rnascunha/coap-te
eaff16162b1a524ad06e18dbdc79ca4c8658b3a8
[ "MIT" ]
null
null
null
src/port/esp_mesh/impl/function_impl.hpp
rnascunha/coap-te
eaff16162b1a524ad06e18dbdc79ca4c8658b3a8
[ "MIT" ]
null
null
null
#ifndef COAP_TE_PORT_ESP_MESH_FUNCTION_IMPL_HPP__ #define COAP_TE_PORT_ESP_MESH_FUNCTION_IMPL_HPP__ #include "../function.hpp" #include "message/types.hpp" #include "message/parser.hpp" #include "debug/print_message.hpp" #include "esp_log.h" namespace CoAP{ namespace Port{ namespace ESP_Mesh{ #if COAP_TE_PORT_POSI...
22.252336
93
0.654347
rnascunha
219ebc0196dc1ef078367ea6ff6a81312c7defbb
6,904
cc
C++
utils/dx12test/dx12test.cc
gyakoo/simutils
9e3b35ad30f3022b755b0f13d5f1a2c9fdf79715
[ "MIT" ]
4
2015-10-19T13:53:41.000Z
2020-05-14T19:48:44.000Z
utils/dx12test/dx12test.cc
gyakoo/simutils
9e3b35ad30f3022b755b0f13d5f1a2c9fdf79715
[ "MIT" ]
6
2015-09-30T14:00:32.000Z
2015-09-30T14:06:55.000Z
utils/dx12test/dx12test.cc
gyakoo/simutils
9e3b35ad30f3022b755b0f13d5f1a2c9fdf79715
[ "MIT" ]
null
null
null
#pragma warning(disable:4100 4005 4297) #if defined(_DEBUG) && !defined(_WIN64) #include <vld.h> #endif #include <stdio.h> #include <stdint.h> #include <stdlib.h> #include <Windows.h> #undef VIS_DX11 #undef VIS_GL #ifndef VIS_DX12 #define VIS_DX12 #endif #define VIS_IMPLEMENTATION #include <vis.h> struct app_assets...
32.720379
131
0.699594
gyakoo
21a2475c6692579f019d51bd6b520ef889dfc13c
2,710
cpp
C++
UxGL/sources/UxError.cpp
Emmanuel-DUPUIS/heightmapterrain
9c1f41afe8d314607c20ad6341648920debbebbf
[ "MIT" ]
null
null
null
UxGL/sources/UxError.cpp
Emmanuel-DUPUIS/heightmapterrain
9c1f41afe8d314607c20ad6341648920debbebbf
[ "MIT" ]
null
null
null
UxGL/sources/UxError.cpp
Emmanuel-DUPUIS/heightmapterrain
9c1f41afe8d314607c20ad6341648920debbebbf
[ "MIT" ]
null
null
null
//======================================================================== // Height Map Terrain Model // MIT License // Copyright (c) 2017 Emmanuel DUPUIS, emmanuel.dupuis@undecentum.com //======================================================================== #include "UxError.h" #include <direct.h> #i...
25.092593
332
0.536162
Emmanuel-DUPUIS
426f5f4a526887d473249cd23c7470fc7310754d
1,270
cpp
C++
Sources/Inputs/Buttons/ButtonJoystick.cpp
dreadris/Acid
1af276edce8e6481c44d475633bf69266e16ed87
[ "MIT" ]
null
null
null
Sources/Inputs/Buttons/ButtonJoystick.cpp
dreadris/Acid
1af276edce8e6481c44d475633bf69266e16ed87
[ "MIT" ]
null
null
null
Sources/Inputs/Buttons/ButtonJoystick.cpp
dreadris/Acid
1af276edce8e6481c44d475633bf69266e16ed87
[ "MIT" ]
null
null
null
#include "ButtonJoystick.hpp" namespace acid { bool ButtonJoystick::registered = Register("buttonJoystick"); ButtonJoystick::ButtonJoystick(JoystickPort port, JoystickButton button) : m_port(port), m_button(button) { Joysticks::Get()->OnButton().Add([this](JoystickPort port, JoystickButton button, InputAction acti...
30.238095
104
0.725197
dreadris
426fdade61db3462cc7471d4961ef0c8df9f6b78
1,249
cpp
C++
stack3.cpp
jeremyphilemon/datastructures-and-algorithms
8abbdb9048d308426f4a83b815ceb90cf92d8732
[ "MIT" ]
4
2020-04-01T14:00:11.000Z
2021-04-26T20:17:05.000Z
stack3.cpp
jeremyphilemon/DSA
8abbdb9048d308426f4a83b815ceb90cf92d8732
[ "MIT" ]
null
null
null
stack3.cpp
jeremyphilemon/DSA
8abbdb9048d308426f4a83b815ceb90cf92d8732
[ "MIT" ]
4
2020-04-10T08:12:45.000Z
2020-09-23T22:29:43.000Z
/* Write a C program that tests the application function reverse(stack); which reverse the items on the stack passed to it. This function should use two local stacks to do its job. */ #include <stdio.h> #include <stdlib.h> void push(int arr[], int size, int *top, int item) { if(*top==size) printf("\nStack is...
18.641791
73
0.618094
jeremyphilemon
4274e746b54323302c3b83077aab5f6d46c8efac
16,179
cc
C++
durbatuluk.cc
joelodom/durbatuluk
c612f0fdbea6875f4cb0f95b24ffec4eafa6adb1
[ "BSD-3-Clause" ]
null
null
null
durbatuluk.cc
joelodom/durbatuluk
c612f0fdbea6875f4cb0f95b24ffec4eafa6adb1
[ "BSD-3-Clause" ]
null
null
null
durbatuluk.cc
joelodom/durbatuluk
c612f0fdbea6875f4cb0f95b24ffec4eafa6adb1
[ "BSD-3-Clause" ]
null
null
null
// // Durbatuluk is Copyright (c) 2012 Joel Odom // // 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, me...
29.098921
80
0.686878
joelodom
427ae138dfab9411734f96b149a07a5b15d849e5
297
cpp
C++
Ch 06/6.21.cpp
Felon03/CppPrimer
7dc2daf59f0ae7ec5670def15cb5fab174fe9780
[ "Apache-2.0" ]
null
null
null
Ch 06/6.21.cpp
Felon03/CppPrimer
7dc2daf59f0ae7ec5670def15cb5fab174fe9780
[ "Apache-2.0" ]
null
null
null
Ch 06/6.21.cpp
Felon03/CppPrimer
7dc2daf59f0ae7ec5670def15cb5fab174fe9780
[ "Apache-2.0" ]
null
null
null
/*编写一个函数,令其接受两个参数:一个是int型整数,另一个是int指针。 函数比较int的值和指针所指的值,返回较大的那个 */ #include<iostream> using namespace std; // 比较函数 int compare_int(const int &a, const int *b) { return a > *b ? a : *b; } int main() { int x = 100; int y = 200; int *z = &y; cout << compare_int(x, z) << endl; return 0; }
12.913043
43
0.62963
Felon03
427b1170c333ab65d47be9827db6c46499529998
3,844
cpp
C++
src/WorldGenerator/Grid.cpp
Smerom/WorldBuilder
997a6f2e5a7b1d090cde3ec566845d3c537535e4
[ "MIT" ]
6
2017-03-15T18:27:06.000Z
2022-01-08T04:22:35.000Z
src/WorldGenerator/Grid.cpp
Smerom/WorldBuilder
997a6f2e5a7b1d090cde3ec566845d3c537535e4
[ "MIT" ]
null
null
null
src/WorldGenerator/Grid.cpp
Smerom/WorldBuilder
997a6f2e5a7b1d090cde3ec566845d3c537535e4
[ "MIT" ]
null
null
null
// -- // Grid.cpp // WorldGenerator // #include "Grid.hpp" namespace WorldBuilder { Grid::Grid(const api::Grid *theGrid) : verts(theGrid->vertices_size()){ // copy our verts over uint_fast32_t count = theGrid->vertices_size(); for (uint_fast32_t index = 0; index < count; index++) { ...
42.241758
120
0.581426
Smerom
42829b75df9b0c44a5b7297042b3374ad883df26
1,921
cpp
C++
src/CodingSkill/CPPCoding/TestQuiz2.cpp
SungwooNam/ProgrammingStudy
3c2fe6096fea29547f05ff29bbde14a48c4afa9b
[ "MIT" ]
1
2019-07-22T04:58:15.000Z
2019-07-22T04:58:15.000Z
src/CodingSkill/CPPCoding/TestQuiz2.cpp
SungwooNam/ProgrammingStudy
3c2fe6096fea29547f05ff29bbde14a48c4afa9b
[ "MIT" ]
1
2017-02-21T16:02:41.000Z
2017-02-21T16:02:41.000Z
src/CodingSkill/CPPCoding/TestQuiz2.cpp
SungwooNam/ProgrammingStudy
3c2fe6096fea29547f05ff29bbde14a48c4afa9b
[ "MIT" ]
null
null
null
/* #include <boost/test/unit_test.hpp> #include <vector> #include <numeric> #include <limits> #include <list> #include <set> #include <map> #include <stack> #include <math.h> #include <stdio.h> class Host { private: int m_HostID; int m_InstanceType; std::list<bool> m_Slots; public: Host( int id, int type ); voi...
17
77
0.587194
SungwooNam
4285b2d22cb421b450bbd4555e1fd61bef747fcf
1,525
cpp
C++
src/example_pcl_load_ply_file.cpp
dringakn/ROSExamples
f4f19d21fab3630c112148e198f117f0466032c4
[ "MIT" ]
2
2020-07-14T19:37:43.000Z
2020-07-15T04:38:09.000Z
src/example_pcl_load_ply_file.cpp
dringakn/ROSExamples
f4f19d21fab3630c112148e198f117f0466032c4
[ "MIT" ]
null
null
null
src/example_pcl_load_ply_file.cpp
dringakn/ROSExamples
f4f19d21fab3630c112148e198f117f0466032c4
[ "MIT" ]
null
null
null
/** * Author: Dr. Ing. Ahmad Kamal Nasir * Email: dringakn@gmail.com * Description: * Notes: Add pcl_ros library in CMakeLists * For testing * roscore * rosrun ros_examples example_pcl_load_ply_file _map_file_name:=/home/ahmad/catkin_ws/src/ROSExamples/map/sample.ply * rviz (Ad...
30.5
123
0.66623
dringakn
428b473dc18059f23d96c990007a0299ce57c2e9
4,594
hpp
C++
include/NP-Engine/Window/Window.hpp
naphipps/NP-Engine
0cac8b2d5e76c839b96f2061bf57434bdc37915e
[ "MIT" ]
null
null
null
include/NP-Engine/Window/Window.hpp
naphipps/NP-Engine
0cac8b2d5e76c839b96f2061bf57434bdc37915e
[ "MIT" ]
null
null
null
include/NP-Engine/Window/Window.hpp
naphipps/NP-Engine
0cac8b2d5e76c839b96f2061bf57434bdc37915e
[ "MIT" ]
null
null
null
//##===----------------------------------------------------------------------===##// // // Author: Nathan Phipps 2/10/21 // //##===----------------------------------------------------------------------===##// #ifndef NP_ENGINE_WINDOW_HPP #define NP_ENGINE_WINDOW_HPP #include <utility> #include "NP-Engine/Primitive/...
22.742574
105
0.690466
naphipps
428b4963aed50144157ca038d0f9e06aee49382a
3,198
cpp
C++
src/abnf/ParserException.cpp
medooze/sdp-
4bf23de4cf6ade65fedb68a8c8a5baf4bd6a3e6d
[ "MIT" ]
32
2018-01-01T17:01:19.000Z
2022-02-25T10:30:47.000Z
src/abnf/ParserException.cpp
medooze/sdp-
4bf23de4cf6ade65fedb68a8c8a5baf4bd6a3e6d
[ "MIT" ]
4
2018-01-08T16:13:05.000Z
2021-01-25T11:47:44.000Z
src/abnf/ParserException.cpp
medooze/sdp-
4bf23de4cf6ade65fedb68a8c8a5baf4bd6a3e6d
[ "MIT" ]
13
2018-09-30T05:59:24.000Z
2022-02-24T08:58:36.000Z
/* ----------------------------------------------------------------------------- * ParserException.cpp * ----------------------------------------------------------------------------- * * Producer : com.parse2.aparse.Parser 2.5 * Produced : Mon Jan 08 13:30:55 CET 2018 * * ---------------------------------...
22.680851
81
0.550031
medooze
428f71f151729d9a102cbb0749f6f5cdd4ab6648
275
hpp
C++
bezGameEngine/src/bez/EntryPoint.hpp
Gustvo/bezGameEngine
8d0ac4613d1a1aac65cab51d337b9a77d56f29ec
[ "MIT" ]
null
null
null
bezGameEngine/src/bez/EntryPoint.hpp
Gustvo/bezGameEngine
8d0ac4613d1a1aac65cab51d337b9a77d56f29ec
[ "MIT" ]
null
null
null
bezGameEngine/src/bez/EntryPoint.hpp
Gustvo/bezGameEngine
8d0ac4613d1a1aac65cab51d337b9a77d56f29ec
[ "MIT" ]
null
null
null
#ifndef ENTRYPOINT_H_INCLUDED #define ENTRYPOINT_H_INCLUDED extern bez::Application *bez::CreateApplication(); int main(int argc, char **argv) { bez::Application *App = bez::CreateApplication(); App->run(); delete App; return 0; } #endif // ENTRYPOINT_H_INCLUDED
18.333333
51
0.730909
Gustvo
429130d2016227a08b4a6362490ca46598c27e8a
1,013
cpp
C++
src/sequences/track.cpp
aalin/synthz0r
ecf35b3fec39020e46732a15874b66f07a3e48e9
[ "MIT" ]
1
2021-12-23T21:14:37.000Z
2021-12-23T21:14:37.000Z
src/sequences/track.cpp
aalin/synthz0r
ecf35b3fec39020e46732a15874b66f07a3e48e9
[ "MIT" ]
null
null
null
src/sequences/track.cpp
aalin/synthz0r
ecf35b3fec39020e46732a15874b66f07a3e48e9
[ "MIT" ]
null
null
null
#include "track.hpp" #include <algorithm> namespace Sequences { SequencePtr Track::insertSequence(uint32_t start, uint32_t length) { const auto it = std::find_if( _sequences.begin(), _sequences.end(), [&](const SequencePtr sequence) -> bool { return sequence->start() >= start; } ); const Sequen...
21.104167
81
0.672261
aalin
42918ec543d89e2a9c7ece5312556a11432124a9
487,114
cpp
C++
MRTK/h/Il2CppOutputProject/Source/il2cppOutput/Il2CppCCWs28.cpp
DreVinciCode/TEAM-08
4f148953a9f492c0fc0db7ee85803212caa1a579
[ "MIT" ]
null
null
null
MRTK/h/Il2CppOutputProject/Source/il2cppOutput/Il2CppCCWs28.cpp
DreVinciCode/TEAM-08
4f148953a9f492c0fc0db7ee85803212caa1a579
[ "MIT" ]
null
null
null
MRTK/h/Il2CppOutputProject/Source/il2cppOutput/Il2CppCCWs28.cpp
DreVinciCode/TEAM-08
4f148953a9f492c0fc0db7ee85803212caa1a579
[ "MIT" ]
null
null
null
#include "pch-cpp.hpp" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <stdint.h> #include <limits> #include "vm/CachedCCWBase.h" #include "utils/New.h" // System.Collections.Generic.Dictionary`2<UnityEngine.Mesh,Microsoft.MixedReality.Toolkit.Utilities.MeshSmoother/MeshReference...
44.25895
479
0.825897
DreVinciCode
42937a8586472399642f3d771bef9c5eef8fca73
4,124
cpp
C++
Engine/Test/Core/Molten/System/UserInputTest.cpp
jimmiebergmann/MoltenEngine
d39e1dc8f2e92bcac7936a5e283faa66f65118ab
[ "MIT" ]
1
2020-10-05T05:24:47.000Z
2020-10-05T05:24:47.000Z
Engine/Test/Core/Molten/System/UserInputTest.cpp
jimmiebergmann/MoltenEngine
d39e1dc8f2e92bcac7936a5e283faa66f65118ab
[ "MIT" ]
null
null
null
Engine/Test/Core/Molten/System/UserInputTest.cpp
jimmiebergmann/MoltenEngine
d39e1dc8f2e92bcac7936a5e283faa66f65118ab
[ "MIT" ]
null
null
null
/* * MIT License * * Copyright (c) 2019 Jimmie Bergmann * * 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, m...
38.542056
88
0.629243
jimmiebergmann
42a874139c83963dcdf592be1b2162e2482cc6ad
549
hpp
C++
src/InputSystem.DirectInput/PrerequisitesDirectInput.hpp
bis83/pomdog
133a9262958d539ae6d93664e6cb2207b5b6c7ff
[ "MIT" ]
null
null
null
src/InputSystem.DirectInput/PrerequisitesDirectInput.hpp
bis83/pomdog
133a9262958d539ae6d93664e6cb2207b5b6c7ff
[ "MIT" ]
null
null
null
src/InputSystem.DirectInput/PrerequisitesDirectInput.hpp
bis83/pomdog
133a9262958d539ae6d93664e6cb2207b5b6c7ff
[ "MIT" ]
null
null
null
// Copyright (c) 2013-2015 mogemimi. // Distributed under the MIT license. See LICENSE.md file for details. #ifndef POMDOG_PREREQUISITESDIRECTINPUT_98459263_HPP #define POMDOG_PREREQUISITESDIRECTINPUT_98459263_HPP #include "Pomdog/Platform/Win32/PrerequisitesWin32.hpp" #ifndef DIRECTINPUT_VERSION # ifdef DIRECTIN...
28.894737
70
0.806922
bis83
42b528f5b0237210b934945b21c372a93b872d34
3,544
hpp
C++
graph/dfs.hpp
linqingwudiv1/cxx14-graph
11aaa360738f9b40c1994dfede831485f16b9de1
[ "MIT" ]
37
2016-10-06T12:54:20.000Z
2022-03-04T08:26:30.000Z
graph/dfs.hpp
crysisfarcry222/cxx14-graph
5f1866883cb4c048f57c858a25a4ead88b90cb90
[ "MIT" ]
null
null
null
graph/dfs.hpp
crysisfarcry222/cxx14-graph
5f1866883cb4c048f57c858a25a4ead88b90cb90
[ "MIT" ]
7
2017-02-20T16:23:55.000Z
2022-02-14T07:26:38.000Z
// Copyright (c) 2016 Andrew Sutton // All rights reserved #ifndef GRAPH_DFS_HPP #define GRAPH_DFS_HPP #include "common.hpp" namespace origin { // A basic DFS implementation for directed graphs. template<typename G> struct directed_dfs { directed_dfs(G& g) : graph(g), colors(graph.num_vertices(), 0), ...
22.573248
71
0.593115
linqingwudiv1
42b88474883c49269c9e32a5acef06297f4b5bf7
3,676
cpp
C++
src/sound.cpp
bsegovia/cube
3442b7f62feeda67a66648d2aca8644f39b9ff03
[ "Cube", "Zlib" ]
18
2015-12-01T23:52:21.000Z
2021-11-27T18:15:28.000Z
src/sound.cpp
bsegovia/cube
3442b7f62feeda67a66648d2aca8644f39b9ff03
[ "Cube", "Zlib" ]
null
null
null
src/sound.cpp
bsegovia/cube
3442b7f62feeda67a66648d2aca8644f39b9ff03
[ "Cube", "Zlib" ]
6
2015-09-22T13:26:47.000Z
2021-11-04T12:44:43.000Z
#include "cube.h" #include "SDL/SDL_mixer.h" #define MAXCHAN 32 #define SOUNDFREQ 22050 #define MAXVOL MIX_MAX_VOLUME namespace sound { VARP(soundvol, 0, 255, 255); VARP(musicvol, 0, 128, 255); VAR(soundbufferlen, 128, 1024, 4096); VAR(stereo, 0, 1, 1); static bool nosound = false; static Mix_Music *mod ...
24.837838
90
0.602285
bsegovia
42be4f01f8d6a8048f7a8ffd8482e4c637d69de2
11,234
cpp
C++
sources/UEAA/Core/Enrollee/Enrollee.cpp
KonstantinTomashevich/university-enrollee-apllication-algorithm
75f3da7d84d931401d8ce6ab79344018417ae03e
[ "MIT" ]
null
null
null
sources/UEAA/Core/Enrollee/Enrollee.cpp
KonstantinTomashevich/university-enrollee-apllication-algorithm
75f3da7d84d931401d8ce6ab79344018417ae03e
[ "MIT" ]
null
null
null
sources/UEAA/Core/Enrollee/Enrollee.cpp
KonstantinTomashevich/university-enrollee-apllication-algorithm
75f3da7d84d931401d8ce6ab79344018417ae03e
[ "MIT" ]
null
null
null
#include <UEAA/BuildConfiguration.hpp> #include "Enrollee.hpp" #include <algorithm> #include <cmath> #include <UEAA/Core/Enrollee/EnrolleeHelpers.hpp> #include <UEAA/Utils/CStringToHash.hpp> namespace UEAA { Enrollee::Enrollee (unsigned id) : XMLSerializable (), id_ (id), examsResults_ (), currentCho...
28.440506
120
0.674203
KonstantinTomashevich
42c47a6bdc233c1aec6d6c079f162658a30e50d9
900
cpp
C++
Chapter08/type_traits.cpp
markusbuchholz/Cpp-High-Performance-Second-Edition
9d8ce97fae15a5f893a780fb3f8b187d11961a43
[ "MIT" ]
57
2020-07-09T22:54:31.000Z
2022-03-31T14:18:41.000Z
Chapter08/type_traits.cpp
markusbuchholz/Cpp-High-Performance-Second-Edition
9d8ce97fae15a5f893a780fb3f8b187d11961a43
[ "MIT" ]
5
2021-04-02T17:25:31.000Z
2021-07-30T09:38:42.000Z
Chapter08/type_traits.cpp
PacktPublishing/Cpp-High-Performance-Second-Edition
9d8ce97fae15a5f893a780fb3f8b187d11961a43
[ "MIT" ]
36
2019-12-25T19:30:47.000Z
2022-03-16T16:41:02.000Z
#include <gtest/gtest.h> #include <cstdint> #include <type_traits> TEST(TypeTraits, Categories) { [[maybe_unused]] auto same_type = std::is_same_v<uint8_t, unsigned char>; const auto is_float_or_double = std::is_floating_point_v<decltype(3.f)>; static_assert(is_float_or_double); } TEST(TypeTraits, UserDefined...
20.930233
75
0.675556
markusbuchholz
42c4e47992a1a973e9c225d979265980374d7035
27,577
cpp
C++
src/map.cpp
mokoi/luxengine
965532784c4e6112141313997d040beda4b56d07
[ "MIT" ]
null
null
null
src/map.cpp
mokoi/luxengine
965532784c4e6112141313997d040beda4b56d07
[ "MIT" ]
null
null
null
src/map.cpp
mokoi/luxengine
965532784c4e6112141313997d040beda4b56d07
[ "MIT" ]
null
null
null
/**************************** Copyright © 2006-2015 Luke Salisbury This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, includi...
26.016038
243
0.671175
mokoi
42d1d227a1da8c56599d64f181074e00aefff000
3,489
cpp
C++
Source/GUI/Submenus/Miscellaneous.cpp
HatchesPls/GrandTheftAutoV-Cheat
f06011362a0a8297439b260a670f5091118ef5de
[ "curl", "MIT" ]
31
2021-07-13T21:24:58.000Z
2022-03-31T13:04:38.000Z
Source/GUI/Submenus/Miscellaneous.cpp
HatchesPls/GrandTheftAutoV-Cheat
f06011362a0a8297439b260a670f5091118ef5de
[ "curl", "MIT" ]
12
2021-07-28T16:53:58.000Z
2022-03-31T22:51:03.000Z
Source/GUI/Submenus/Miscellaneous.cpp
HowYouDoinMate/GrandTheftAutoV-Cheat
1a345749fc676b7bf2c5cd4df63ed6c9b80ff377
[ "curl", "MIT" ]
12
2020-08-16T15:57:52.000Z
2021-06-23T13:08:53.000Z
#include "../Header/Cheat Functions/FiberMain.h" using namespace Cheat; int FakeWantedLevelInteger = 0; void GUI::Submenus::Miscellaneous() { GUI::Title("Miscellaneous"); GUI::MenuOption("Report Statistics", Submenus::ReportStatistics); GUI::MenuOption("Radio", Submenus::Radio); GUI::MenuOption("Extra-sensory Perc...
59.135593
203
0.753224
HatchesPls
42d280720e9c73dd149d2943ec20bca78a661570
3,034
hpp
C++
src/fenestra/Loop.hpp
cout/fenestra
b3424b427a1c8820a5586b09641e1589271fb567
[ "BSD-3-Clause" ]
2
2021-09-27T03:28:17.000Z
2022-01-06T13:38:24.000Z
src/fenestra/Loop.hpp
cout/fenestra
b3424b427a1c8820a5586b09641e1589271fb567
[ "BSD-3-Clause" ]
null
null
null
src/fenestra/Loop.hpp
cout/fenestra
b3424b427a1c8820a5586b09641e1589271fb567
[ "BSD-3-Clause" ]
null
null
null
#pragma once #include "Frontend.hpp" #include "Clock.hpp" #include "Context.hpp" #include "Probe.hpp" #include <utility> #include <map> namespace fenestra { class Loop { public: Loop(Frontend & frontend, Context & ctx) : frontend_(frontend) , ctx_(ctx) { } template <typename Fn> void step(Probe &...
33.711111
100
0.625577
cout
42d28464895e250b9b7be6bae0fb8ee1e48889fc
4,897
cpp
C++
src/BasicParser.cpp
cyh2020/stone_compiler_cplus
3b367628095cb3ea9d1a58ad74af87b6c853c3c0
[ "MIT" ]
null
null
null
src/BasicParser.cpp
cyh2020/stone_compiler_cplus
3b367628095cb3ea9d1a58ad74af87b6c853c3c0
[ "MIT" ]
null
null
null
src/BasicParser.cpp
cyh2020/stone_compiler_cplus
3b367628095cb3ea9d1a58ad74af87b6c853c3c0
[ "MIT" ]
null
null
null
#include "BasicParser.h" #include "Token.h" #include "Parser.h" #include "ParserDerived.h" #include <set> #include <string> #include "PrimaryExpr.h" #include "NumberLiteral.h" #include "Name.h" #include "StringLiteral.h" #include "NegativeExpr.h" #include "BinaryExpr.h" #include "BlockStmnt.h" #include "IfStmnt.h" #inc...
24.984694
76
0.608127
cyh2020
42d6c99ca88c7ff4c132ba052c98803db2c71ed7
2,005
hpp
C++
fma65816/include/binary/PluginAdapter.hpp
BenjaminSchulte/fma
df2aa5b0644c75dd34a92defeff9beaa4a32ffea
[ "MIT" ]
14
2018-01-25T10:31:05.000Z
2022-02-19T13:08:11.000Z
fma65816/include/binary/PluginAdapter.hpp
BenjaminSchulte/fma
df2aa5b0644c75dd34a92defeff9beaa4a32ffea
[ "MIT" ]
1
2020-12-24T10:10:28.000Z
2020-12-24T10:10:28.000Z
fma65816/include/binary/PluginAdapter.hpp
BenjaminSchulte/fma
df2aa5b0644c75dd34a92defeff9beaa4a32ffea
[ "MIT" ]
null
null
null
#ifndef __FMA65816_BINARY_PLUGINADAPTER_H__ #define __FMA65816_BINARY_PLUGINADAPTER_H__ #include <map> #include <fma/plugin/Plugin.hpp> #include <fma/plugin/BinaryGeneratorPluginAdapter.hpp> namespace FMA65816 { namespace binary { struct ByteCodeGenerator; typedef std::function<bool(const ByteCodeGenerator &generato...
33.416667
166
0.761097
BenjaminSchulte
42d78a381e6c0d931325e039c92a8dfeaab012d9
19,007
cpp
C++
Classes/GameScene.cpp
1994/AvoidTuitle
6d9a37e2bf799efb299ae415afd2b22f6f9280be
[ "MIT" ]
null
null
null
Classes/GameScene.cpp
1994/AvoidTuitle
6d9a37e2bf799efb299ae415afd2b22f6f9280be
[ "MIT" ]
null
null
null
Classes/GameScene.cpp
1994/AvoidTuitle
6d9a37e2bf799efb299ae415afd2b22f6f9280be
[ "MIT" ]
null
null
null
// // GameScene.cpp // seven // // Created by rimi on 15/6/10. // // #include "GameScene.h" #include "Star.h" #include "Bubble.h" #include "Shell.hpp" #include "iostream" #include "WangBa.hpp" #include "Util.h" #include "ui/CocosGUI.h" #include "Dici.hpp" #include "Music.hpp" #include "Boom.hpp" #include "EndLayer....
30.026856
152
0.578261
1994
42d843cca864ec3b534cc47e255e848d26f09106
1,917
cpp
C++
src/AstIOTypeAnalysis.cpp
iamsiddhant1005/souffle-new-adt
36aae85854b60d121bb7c7cd206f9caf2889bd7f
[ "UPL-1.0" ]
null
null
null
src/AstIOTypeAnalysis.cpp
iamsiddhant1005/souffle-new-adt
36aae85854b60d121bb7c7cd206f9caf2889bd7f
[ "UPL-1.0" ]
null
null
null
src/AstIOTypeAnalysis.cpp
iamsiddhant1005/souffle-new-adt
36aae85854b60d121bb7c7cd206f9caf2889bd7f
[ "UPL-1.0" ]
null
null
null
/* * Souffle - A Datalog Compiler * Copyright (c) 2019, The Souffle Developers. All rights reserved. * Licensed under the Universal Permissive License v 1.0 as shown at: * - https://opensource.org/licenses/UPL * - <souffle root>/licenses/SOUFFLE-UPL.txt */ /*******************************************************...
34.232143
97
0.615023
iamsiddhant1005
42df4dffc224f67c79a6465148f1fa16d71eeba0
569
hpp
C++
src/parser_nodes/poetic_decimal_digits_parser_node_pre.hpp
lowlander/nederrock
aa23f79de3adf0510419208938bf4dcdbe786c9f
[ "MIT" ]
null
null
null
src/parser_nodes/poetic_decimal_digits_parser_node_pre.hpp
lowlander/nederrock
aa23f79de3adf0510419208938bf4dcdbe786c9f
[ "MIT" ]
null
null
null
src/parser_nodes/poetic_decimal_digits_parser_node_pre.hpp
lowlander/nederrock
aa23f79de3adf0510419208938bf4dcdbe786c9f
[ "MIT" ]
null
null
null
// // Copyright (c) 2020 Erwin Rol <erwin@erwinrol.com> // // SPDX-License-Identifier: MIT // #ifndef NEDERROCK_SRC_POETIC_DECIMAL_DIGITS_PARSER_NODE_PRE_HPP #define NEDERROCK_SRC_POETIC_DECIMAL_DIGITS_PARSER_NODE_PRE_HPP #include <memory> #include <vector> class Poetic_Decimal_Digits_Parser_Node; using Poetic_Deci...
29.947368
100
0.855888
lowlander
42e181aaa93c132286fbe57d22e471672e0ddea2
1,196
cc
C++
tests/test_1.cc
z8432k/feodorov-oop-lw-3
8ec4c2ae2439aa86f3562cd52117189ac2b29dc5
[ "MIT" ]
null
null
null
tests/test_1.cc
z8432k/feodorov-oop-lw-3
8ec4c2ae2439aa86f3562cd52117189ac2b29dc5
[ "MIT" ]
null
null
null
tests/test_1.cc
z8432k/feodorov-oop-lw-3
8ec4c2ae2439aa86f3562cd52117189ac2b29dc5
[ "MIT" ]
1
2021-01-23T14:16:23.000Z
2021-01-23T14:16:23.000Z
#include <iostream> #include <string> #include <ComplexNum.h> #include <complex> #include <cassert> using namespace std; int main(int argc, char** argv) { ComplexNum cn(3, 7); complex<double> cn_t {3., 7.}; ComplexNum cn2(10, 2); complex<double> cn2_t {10., 2.}; cout << endl; cout << "First...
22.566038
62
0.550167
z8432k
42e2bd604d2d4f5d551dc55fdd83b6b2fb7faad6
927
cpp
C++
tests/android/app/src/main/cpp/log_buffer.cpp
ondesly/audio_engine
37e68f9e5be3f36b77aac6574e90d2150aef0f6d
[ "BSD-2-Clause" ]
null
null
null
tests/android/app/src/main/cpp/log_buffer.cpp
ondesly/audio_engine
37e68f9e5be3f36b77aac6574e90d2150aef0f6d
[ "BSD-2-Clause" ]
null
null
null
tests/android/app/src/main/cpp/log_buffer.cpp
ondesly/audio_engine
37e68f9e5be3f36b77aac6574e90d2150aef0f6d
[ "BSD-2-Clause" ]
null
null
null
// // log_buffer.cpp // audio_engine // // Created by Dmitrii Torkhov <dmitriitorkhov@gmail.com> on 19.03.2021. // Copyright © 2021 Dmitrii Torkhov. All rights reserved. // #include <streambuf> #include <android/log.h> #include "log_buffer.h" namespace { const char *c_tag = "maw"; } oo::log_buffer::log_b...
22.071429
76
0.607335
ondesly
42ebbf10bf88d3102bf9258a91c1492eec12df0a
746
cpp
C++
src/problems/101-150/145/problem145.cpp
abeccaro/project-euler
c3b124bb973dc3a1cf29e8c96c3e70c8816d5fa3
[ "MIT" ]
1
2019-12-25T10:17:15.000Z
2019-12-25T10:17:15.000Z
src/problems/101-150/145/problem145.cpp
abeccaro/project-euler
c3b124bb973dc3a1cf29e8c96c3e70c8816d5fa3
[ "MIT" ]
null
null
null
src/problems/101-150/145/problem145.cpp
abeccaro/project-euler
c3b124bb973dc3a1cf29e8c96c3e70c8816d5fa3
[ "MIT" ]
null
null
null
// // Created by Alex Beccaro on 16/01/2020. // #include "problem145.hpp" #include <generics.hpp> using generics::int_pow; namespace problems { uint32_t problem145::solve(uint32_t ub_exp) { uint32_t res = 0; for (uint32_t e = 2; e <= ub_exp; e++) { uint32_t mod = e % 4; ...
20.162162
77
0.395442
abeccaro
42ecaf0e56bd5b02ae8771a1b000bff0ff932233
1,067
hpp
C++
Tut11/Pickable.hpp
vrum/rlTut
0907b357c51a0b983ff8812f5c4887ecb185c9fa
[ "MIT" ]
null
null
null
Tut11/Pickable.hpp
vrum/rlTut
0907b357c51a0b983ff8812f5c4887ecb185c9fa
[ "MIT" ]
null
null
null
Tut11/Pickable.hpp
vrum/rlTut
0907b357c51a0b983ff8812f5c4887ecb185c9fa
[ "MIT" ]
null
null
null
class Pickable : public Persistent { public : bool pick(Actor *owner, Actor *wearer); void drop(Actor *owner, Actor *wearer); virtual bool use(Actor *owner, Actor *wearer); static Pickable *create (TCODZip &zip); protected : enum PickableType { HEALER,LIGHTNING_BOLT,CONFUSER,FIREBALL }; }; class Healer : publi...
21.77551
47
0.713215
vrum
42edb46d60dbb5d26f9f9236512ea5f7bea6385c
21
cpp
C++
Solve/Tree/AvlTree.cpp
nolmegamelab/Learn
29146fc1ba2b3fddb8c85e256362e112b43173fe
[ "MIT" ]
null
null
null
Solve/Tree/AvlTree.cpp
nolmegamelab/Learn
29146fc1ba2b3fddb8c85e256362e112b43173fe
[ "MIT" ]
null
null
null
Solve/Tree/AvlTree.cpp
nolmegamelab/Learn
29146fc1ba2b3fddb8c85e256362e112b43173fe
[ "MIT" ]
null
null
null
#include <functional>
21
21
0.809524
nolmegamelab
0cd493232f23e85f201b21cd253bbad0beaa80e9
1,107
cpp
C++
go_fish.cpp
bolym/C-GoFish
88bc0301d7915c039757528a288f33e4c4d1bb97
[ "MIT" ]
1
2021-03-10T01:10:01.000Z
2021-03-10T01:10:01.000Z
go_fish.cpp
bolym/C-GoFish
88bc0301d7915c039757528a288f33e4c4d1bb97
[ "MIT" ]
null
null
null
go_fish.cpp
bolym/C-GoFish
88bc0301d7915c039757528a288f33e4c4d1bb97
[ "MIT" ]
null
null
null
/****************************************************************** * Program: go_fish.cpp * Author: Michael Boly * Date: 1/30/2019 * Description: Plays Go Fish by the rules * Input: The user chooses an index of the cards in their hand to request from the computer * Output: A wholesome game of Go...
35.709677
75
0.474255
bolym
0cd904b424d3abd62eb663746fbcd2abdbf9d888
6,237
cpp
C++
src/D3D9EXWrapper/ID3D9EXWrapper.cpp
GrimFlash/BBCF-Improvement-Mod-GGPO
9482ead2edd70714f427d3a5683d17b19ab8ac2e
[ "MIT" ]
48
2020-06-09T22:53:52.000Z
2022-01-02T12:44:33.000Z
src/D3D9EXWrapper/ID3D9EXWrapper.cpp
GrimFlash/BBCF-Improvement-Mod-GGPO
9482ead2edd70714f427d3a5683d17b19ab8ac2e
[ "MIT" ]
2
2020-05-27T21:25:49.000Z
2020-05-27T23:56:56.000Z
src/D3D9EXWrapper/ID3D9EXWrapper.cpp
GrimFlash/BBCF-Improvement-Mod-GGPO
9482ead2edd70714f427d3a5683d17b19ab8ac2e
[ "MIT" ]
12
2020-06-17T20:44:17.000Z
2022-01-04T18:15:27.000Z
#include "ID3D9EXWrapper.h" #include "ID3D9EXWrapper_Device.h" #include "Core/logger.h" Direct3D9ExWrapper::Direct3D9ExWrapper(IDirect3D9Ex **ppIDirect3D9Ex) { LOG(1, "cDirect3D9ExWrapper\n"); Direct3D9Ex = *ppIDirect3D9Ex; *ppIDirect3D9Ex = this; } Direct3D9ExWrapper::~Direct3D9ExWrapper() {} HRESULT APIENTRY...
35.4375
266
0.802629
GrimFlash
0cda6397186e9a29a43c80c5790be10a0d1d03aa
3,480
cpp
C++
Practice/2018/2018.4.4/BZOJ1558.cpp
SYCstudio/OI
6e9bfc17dbd4b43467af9b19aa2aed41e28972fa
[ "MIT" ]
4
2017-10-31T14:25:18.000Z
2018-06-10T16:10:17.000Z
Practice/2018/2018.4.4/BZOJ1558.cpp
SYCstudio/OI
6e9bfc17dbd4b43467af9b19aa2aed41e28972fa
[ "MIT" ]
null
null
null
Practice/2018/2018.4.4/BZOJ1558.cpp
SYCstudio/OI
6e9bfc17dbd4b43467af9b19aa2aed41e28972fa
[ "MIT" ]
null
null
null
#include<iostream> #include<cstdio> #include<cstdlib> #include<cstring> #include<algorithm> using namespace std; #define ll long long #define mem(Arr,x) memset(Arr,x,sizeof(Arr)) #define lson (now<<1) #define rson (lson|1) #define MIN(a,b,c) min(a,min(b,c)) const int maxN=101000; const int inf=2147483647; class Data...
22.597403
133
0.57931
SYCstudio
0cdaad5be54819fa61817b5a794187c35d790328
2,910
hpp
C++
tests/unit/coherence/util/filter/LikeFilterTest.hpp
chpatel3/coherence-cpp-extend-client
4ea5267eae32064dff1e73339aa3fbc9347ef0f6
[ "UPL-1.0", "Apache-2.0" ]
6
2020-07-01T21:38:30.000Z
2021-11-03T01:35:11.000Z
tests/unit/coherence/util/filter/LikeFilterTest.hpp
chpatel3/coherence-cpp-extend-client
4ea5267eae32064dff1e73339aa3fbc9347ef0f6
[ "UPL-1.0", "Apache-2.0" ]
1
2020-07-24T17:29:22.000Z
2020-07-24T18:29:04.000Z
tests/unit/coherence/util/filter/LikeFilterTest.hpp
chpatel3/coherence-cpp-extend-client
4ea5267eae32064dff1e73339aa3fbc9347ef0f6
[ "UPL-1.0", "Apache-2.0" ]
6
2020-07-10T18:40:58.000Z
2022-02-18T01:23:40.000Z
/* * Copyright (c) 2000, 2020, Oracle and/or its affiliates. * * Licensed under the Universal Permissive License v 1.0 as shown at * http://oss.oracle.com/licenses/upl. */ #include "cxxtest/TestSuite.h" #include "coherence/lang.ns" #include "coherence/util/extractor/IdentityExtractor.hpp" #include "coherence/util...
37.307692
140
0.558076
chpatel3
0cdc26208bc53b78b98ca4d69d5bd75dfab87216
424
hpp
C++
src/net.hpp
harry830622/fiduccia-mattheyses-partitioning
0d4960f95f10cd83bd36504fd57ceeab43b0eed0
[ "MIT" ]
null
null
null
src/net.hpp
harry830622/fiduccia-mattheyses-partitioning
0d4960f95f10cd83bd36504fd57ceeab43b0eed0
[ "MIT" ]
null
null
null
src/net.hpp
harry830622/fiduccia-mattheyses-partitioning
0d4960f95f10cd83bd36504fd57ceeab43b0eed0
[ "MIT" ]
null
null
null
#ifndef NET_HPP #define NET_HPP #include <iostream> #include <string> #include <vector> class Net { public: Net(const std::string& name); void Print(std::ostream& os = std::cout, int num_spaces = 0) const; const std::string& Name() const; int NumCells() const; const std::vector<int>& CellIds() const; ...
16.307692
69
0.681604
harry830622
0cdc682910ad6c68c751223b1cfae141a6d31cfa
2,998
cpp
C++
mp/src/game/server/Mod/SF194_Disposer.cpp
hekar/luminousforts-2013
09f07df4def93fa0d774721375a6c7c9da26d71f
[ "Unlicense" ]
7
2019-02-04T01:17:26.000Z
2022-02-26T21:36:34.000Z
mp/src/game/server/Mod/SF194_Disposer.cpp
hekar/luminousforts-2013
09f07df4def93fa0d774721375a6c7c9da26d71f
[ "Unlicense" ]
11
2016-05-06T22:44:46.000Z
2016-05-06T22:45:03.000Z
mp/src/game/server/Mod/SF194_Disposer.cpp
hekar/luminousforts-2013
09f07df4def93fa0d774721375a6c7c9da26d71f
[ "Unlicense" ]
2
2016-06-28T11:34:53.000Z
2017-04-01T18:08:46.000Z
/* ***** BEGIN LICENSE BLOCK ***** Version: MPL 1.1/LGPL 2.1/GPL 2.0 The contents of this file are subject to the Mozilla Public License Version 1.1 (the "License"); you may not use this file except in compliance with ... for the specific language governing rights and limitations under the License. The Original Code...
23.061538
76
0.715477
hekar
0ce4328248d36a2d78fba3618cc5940317da0c10
16,729
cpp
C++
handlers/videohandler.cpp
Feqzz/qZoom-Client
ac68be4a10a1db66dcf276ee881d5fa093e5f718
[ "MIT" ]
3
2020-08-24T09:03:35.000Z
2020-11-18T17:28:24.000Z
handlers/videohandler.cpp
Stykk-Gruppen/qZoom-Client
ac68be4a10a1db66dcf276ee881d5fa093e5f718
[ "MIT" ]
1
2020-08-24T13:59:24.000Z
2020-08-24T13:59:24.000Z
handlers/videohandler.cpp
Feqzz/qZoom-Client
ac68be4a10a1db66dcf276ee881d5fa093e5f718
[ "MIT" ]
1
2021-09-27T15:33:25.000Z
2021-09-27T15:33:25.000Z
#include "videohandler.h" #define STREAM_PIX_FMT AV_PIX_FMT_YUV420P /* default pix_fmt */ /** * @brief VideoHandler::VideoHandler * @param cDeviceName * @param _writeLock * @param _time * @param imageHandler * @param _socketHandler * @param bufferSize * @param tcpSocketHandler * @param screenShare * @par...
32.295367
204
0.612768
Feqzz
0ce54717bb74591c682d27c6cb4398cac241e933
5,748
cpp
C++
src/c1001.cpp
lua511/hello-acm
a337d7c8c3c8384745ec8e2cf41e5cecb268c7be
[ "MIT" ]
null
null
null
src/c1001.cpp
lua511/hello-acm
a337d7c8c3c8384745ec8e2cf41e5cecb268c7be
[ "MIT" ]
null
null
null
src/c1001.cpp
lua511/hello-acm
a337d7c8c3c8384745ec8e2cf41e5cecb268c7be
[ "MIT" ]
null
null
null
#include <string> #include <iostream> #include <vector> using namespace std; typedef vector<int> int_vector; string tostring(int_vector iv) { string val; for(int_vector::const_iterator iter = iv.begin(); iter != iv.end(); ++iter) { val.push_back((char)(*iter + '0')); } ret...
19.096346
88
0.388135
lua511
0ceb21ac1adc5fe533e60dca8836e5c5e7d08a4b
9,580
cpp
C++
src/prod/src/Reliability/Failover/fm/ServiceFactory.cpp
AnthonyM/service-fabric
c396ea918714ea52eab9c94fd62e018cc2e09a68
[ "MIT" ]
1
2018-03-15T02:09:21.000Z
2018-03-15T02:09:21.000Z
src/prod/src/Reliability/Failover/fm/ServiceFactory.cpp
AnthonyM/service-fabric
c396ea918714ea52eab9c94fd62e018cc2e09a68
[ "MIT" ]
null
null
null
src/prod/src/Reliability/Failover/fm/ServiceFactory.cpp
AnthonyM/service-fabric
c396ea918714ea52eab9c94fd62e018cc2e09a68
[ "MIT" ]
null
null
null
// ------------------------------------------------------------ // 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" using nam...
33.034483
175
0.679645
AnthonyM
0cec2b95a7f8a839f3908729413a15dff8e8e029
611
cpp
C++
sources/Adapters/W32/Midi/W32MidiService.cpp
haiko21/LittleGPTracker
0f137aa67dfd86379b830cc51ba900b9423127ce
[ "BSD-3-Clause" ]
66
2015-01-29T09:12:51.000Z
2022-03-23T19:20:49.000Z
sources/Adapters/W32/Midi/W32MidiService.cpp
haiko21/LittleGPTracker
0f137aa67dfd86379b830cc51ba900b9423127ce
[ "BSD-3-Clause" ]
18
2015-08-19T19:50:31.000Z
2021-10-12T02:33:09.000Z
sources/Adapters/W32/Midi/W32MidiService.cpp
haiko21/LittleGPTracker
0f137aa67dfd86379b830cc51ba900b9423127ce
[ "BSD-3-Clause" ]
20
2015-08-19T00:46:57.000Z
2022-03-14T13:44:49.000Z
#include "W32MidiService.h" #include "W32MidiDEvice.h" #include "System/io/Trace.h" W32MidiService::W32MidiService() { } ; W32MidiService::~W32MidiService() { } ; void W32MidiService::buildDriverList() {// Here we just loop over existing Midi out and create a midi device for each of them. for (unsigned int i=0;i<...
23.5
126
0.698854
haiko21
0cf128ec565d8b6a7480772b9264c76e4c2be9ed
8,654
cpp
C++
dbms/src/DataStreams/RemoteBlockInputStream.cpp
rudneff/ClickHouse
3cb59b92bccbeb888d136f7c6e14b622382c0434
[ "Apache-2.0" ]
1
2017-01-17T17:29:05.000Z
2017-01-17T17:29:05.000Z
dbms/src/DataStreams/RemoteBlockInputStream.cpp
rudneff/ClickHouse
3cb59b92bccbeb888d136f7c6e14b622382c0434
[ "Apache-2.0" ]
1
2017-01-13T21:29:36.000Z
2017-01-16T18:29:08.000Z
dbms/src/DataStreams/RemoteBlockInputStream.cpp
jbfavre/clickhouse-debian
3806e3370decb40066f15627a3bca4063b992bfb
[ "Apache-2.0" ]
null
null
null
#include <DB/DataStreams/RemoteBlockInputStream.h> #include <DB/DataStreams/OneBlockInputStream.h> #include <DB/Common/VirtualColumnUtils.h> #include <DB/Common/NetException.h> namespace DB { namespace ErrorCodes { extern const int UNKNOWN_PACKET_FROM_SERVER; extern const int LOGICAL_ERROR; } RemoteBlockInputStre...
28.943144
126
0.747053
rudneff
0cf6b74fca7c1adb038d24ab8b39b50f94811e0c
4,183
cpp
C++
lib/Widgets/widget.cpp
tomfleet/M5PaperUI
cad8ccbbdf2273865eb9cbec70f41f87eca3fadd
[ "Apache-2.0" ]
24
2021-02-25T21:17:22.000Z
2022-03-01T19:01:13.000Z
lib/Widgets/widget.cpp
sthagen/M5PaperUI
05025433054d4e59ce8ec01eecbe44ac074b08ec
[ "Apache-2.0" ]
null
null
null
lib/Widgets/widget.cpp
sthagen/M5PaperUI
05025433054d4e59ce8ec01eecbe44ac074b08ec
[ "Apache-2.0" ]
10
2021-02-27T21:26:46.000Z
2022-03-13T12:59:40.000Z
#include "widget.hpp" void Widget::Init() { // Create a new canvas for this on screen component. canvas_->createCanvas(width_, height_); log_d("Initialize widget %s", name_.c_str()); // Initialize the view to be dirty to draw it the first time. view_dirty_ = true; int16_t x = has_own_canvas_ ? 0 : x_; in...
38.376147
80
0.572795
tomfleet
0cf8b8fe6861034f7a97eeb78fcb465b7f53e2b4
4,075
hpp
C++
src/Utils/Logger/ILogger.hpp
Sebajuste/Omeglond3D
28a3910b47490ec837a29e40e132369f957aedc7
[ "MIT" ]
1
2019-06-14T08:24:17.000Z
2019-06-14T08:24:17.000Z
src/Utils/Logger/ILogger.hpp
Sebajuste/Omeglond3D
28a3910b47490ec837a29e40e132369f957aedc7
[ "MIT" ]
null
null
null
src/Utils/Logger/ILogger.hpp
Sebajuste/Omeglond3D
28a3910b47490ec837a29e40e132369f957aedc7
[ "MIT" ]
null
null
null
#ifndef _DEF_OMEGLOND3D_ILOGGER_HPP #define _DEF_OMEGLOND3D_ILOGGER_HPP #include "../Ptr/SmartPtr.hpp" #include <string> #include <sstream> #include <map> #include <iostream> namespace OMGL3D { namespace UTILS { enum LoggerType { OMGL_LOGGER_DEBUG, OMGL_LOGGER_STANDART, ...
32.34127
94
0.340859
Sebajuste
0cf8c9eadf4765bbe91ecff6c28a559fa567608d
370
cpp
C++
45-jump-game-ii/45-jump-game-ii.cpp
Ananyaas/LeetCodeDaily
e134e20ac02f26dc40881c376656d3294be0df2c
[ "MIT" ]
2
2022-01-02T19:15:00.000Z
2022-01-05T21:12:24.000Z
45-jump-game-ii/45-jump-game-ii.cpp
Ananyaas/LeetCodeDaily
e134e20ac02f26dc40881c376656d3294be0df2c
[ "MIT" ]
null
null
null
45-jump-game-ii/45-jump-game-ii.cpp
Ananyaas/LeetCodeDaily
e134e20ac02f26dc40881c376656d3294be0df2c
[ "MIT" ]
1
2022-03-11T17:11:07.000Z
2022-03-11T17:11:07.000Z
class Solution { public: int jump(vector<int>& nums) { int curreach=0; int jumps=0; int maxreach=0; for(int i=0;i<nums.size()-1;i++){ maxreach=max(maxreach, i+nums[i]); if(i==curreach){ jumps++; curreach=maxreach; ...
20.555556
46
0.42973
Ananyaas
0cf9ea794f569df958c7d886479c773b7535927f
16,404
cpp
C++
src/engine/eXl_Main.cpp
eXl-Nic/eXl
a5a0f77f47db3179365c107a184bb38b80280279
[ "MIT" ]
null
null
null
src/engine/eXl_Main.cpp
eXl-Nic/eXl
a5a0f77f47db3179365c107a184bb38b80280279
[ "MIT" ]
null
null
null
src/engine/eXl_Main.cpp
eXl-Nic/eXl
a5a0f77f47db3179365c107a184bb38b80280279
[ "MIT" ]
null
null
null
#include <engine/eXl_Main.hpp> #include <core/corelib.hpp> #include <core/log.hpp> #include <core/plugin.hpp> #include <core/random.hpp> #include <core/clock.hpp> #include <core/coretest.hpp> #include <core/image/imagestreamer.hpp> #include <core/resource/resourcemanager.hpp> #include <core/utils/filetextreader.hpp>...
24.704819
135
0.65167
eXl-Nic
0cfaee9c4a007ed95be1bb9b8ba542046757d2fb
6,738
cpp
C++
common/MemoryRegion.cpp
zukisoft/vm
8da577329a295449ed1517bbf27cb489531b18ac
[ "MIT" ]
2
2017-02-02T13:32:14.000Z
2017-08-20T07:58:49.000Z
common/MemoryRegion.cpp
zukisoft/vm
8da577329a295449ed1517bbf27cb489531b18ac
[ "MIT" ]
null
null
null
common/MemoryRegion.cpp
zukisoft/vm
8da577329a295449ed1517bbf27cb489531b18ac
[ "MIT" ]
2
2017-03-09T02:41:25.000Z
2019-07-10T03:22:23.000Z
//----------------------------------------------------------------------------- // Copyright (c) 2016 Michael G. Brehm // // 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 restricti...
40.836364
131
0.676462
zukisoft
49057be46b80676e30a87b97e09854c9ceccbb53
2,881
cpp
C++
stdlib/test/TestUtility.cpp
LetsPlaySomeUbuntu/XitongOS-test-1
792d0c76f9aa4bb2b579d47c2c728394a3acf9f9
[ "MIT" ]
null
null
null
stdlib/test/TestUtility.cpp
LetsPlaySomeUbuntu/XitongOS-test-1
792d0c76f9aa4bb2b579d47c2c728394a3acf9f9
[ "MIT" ]
null
null
null
stdlib/test/TestUtility.cpp
LetsPlaySomeUbuntu/XitongOS-test-1
792d0c76f9aa4bb2b579d47c2c728394a3acf9f9
[ "MIT" ]
null
null
null
#include "Common.hpp" #include "TrackableObject.hpp" #include <FunnyOS/Stdlib/Functional.hpp> #include <gtest/gtest.h> using namespace FunnyOS::Stdlib; TEST(TestUtility, TestStorageEmpty) { TrackableObject::ResetAll(); Storage<TrackableObject> test{}; ASSERT_EQ(TrackableObject::GetCopyConstructionCount...
38.413333
102
0.68865
LetsPlaySomeUbuntu
490d678fb4287ec39eed40b88f2ec0d28fb4ab11
5,853
cpp
C++
Eudora71/PlaylistClient/plgen/plgen.cpp
dusong7/eudora-win
850a6619e6b0d5abc770bca8eb5f3b9001b7ccd2
[ "BSD-3-Clause-Clear" ]
10
2018-05-23T10:43:48.000Z
2021-12-02T17:59:48.000Z
Windows/Eudora71/PlaylistClient/plgen/plgen.cpp
officialrafsan/EUDORA
bf43221f5663ec2338aaf90710a89d1490b92ed2
[ "MIT" ]
1
2019-03-19T03:56:36.000Z
2021-05-26T18:36:03.000Z
Windows/Eudora71/PlaylistClient/plgen/plgen.cpp
officialrafsan/EUDORA
bf43221f5663ec2338aaf90710a89d1490b92ed2
[ "MIT" ]
11
2018-05-23T10:43:53.000Z
2021-12-27T15:42:58.000Z
// plgen.cpp -- generate a skelleton playlist from a collection of image files #include "stdlib.h" #include "stdio.h" #include "string.h" #include "assert.h" #include "sys/types.h" #include "sys/stat.h" #include "fcntl.h" #include "io.h" #include "direct.h" ///////////////////////////////////////////////////////////...
21.839552
80
0.577311
dusong7
491082493c7d0dd575b79f3c56de54fa622f773e
628
cpp
C++
virtual_functions_sau.cpp
saurabhkakade21/Cpp-Practice-Code
ac5e77f1a53bb164f7b265e9291b3ca63a2a2f60
[ "MIT" ]
null
null
null
virtual_functions_sau.cpp
saurabhkakade21/Cpp-Practice-Code
ac5e77f1a53bb164f7b265e9291b3ca63a2a2f60
[ "MIT" ]
null
null
null
virtual_functions_sau.cpp
saurabhkakade21/Cpp-Practice-Code
ac5e77f1a53bb164f7b265e9291b3ca63a2a2f60
[ "MIT" ]
null
null
null
#include <iostream> #include "virtual_functions.h" using namespace std; void Account::withdraw(double amount) const { std::cout << "In Account class: Withdraw: " << std::endl; } void Checking::withdraw(double amount) const { std::cout << "In Checking class: Withdraw: " << std::endl; } Account :: ~Account(...
16.526316
63
0.606688
saurabhkakade21
4922604475aeddcd66aa72150aa7787262ad45eb
4,909
cpp
C++
cpp-projects/exvr-designer/widgets/components/config_parameters/image_resource_pw.cpp
FlorianLance/exvr
4d210780737479e9576c90e9c80391c958787f44
[ "MIT" ]
null
null
null
cpp-projects/exvr-designer/widgets/components/config_parameters/image_resource_pw.cpp
FlorianLance/exvr
4d210780737479e9576c90e9c80391c958787f44
[ "MIT" ]
null
null
null
cpp-projects/exvr-designer/widgets/components/config_parameters/image_resource_pw.cpp
FlorianLance/exvr
4d210780737479e9576c90e9c80391c958787f44
[ "MIT" ]
null
null
null
/*********************************************************************************** ** exvr-designer ** ** MIT License ** ** Copyright (c) [2018] [Florian Lance][EPFL-LNCO] ...
46.311321
188
0.6209
FlorianLance
49264aa1408b8a207f6b72118b7c3808be7ad7f9
4,650
cc
C++
src/GUI_language.cc
edrosten/gvars
62f5a78025dd616483487c9069f6b7f16c57922f
[ "BSD-2-Clause" ]
15
2015-01-27T10:49:32.000Z
2019-02-17T20:41:06.000Z
src/GUI_language.cc
edrosten/gvars
62f5a78025dd616483487c9069f6b7f16c57922f
[ "BSD-2-Clause" ]
2
2016-07-13T01:13:32.000Z
2020-08-18T07:48:26.000Z
src/GUI_language.cc
edrosten/gvars
62f5a78025dd616483487c9069f6b7f16c57922f
[ "BSD-2-Clause" ]
15
2015-02-25T03:28:45.000Z
2022-01-05T12:25:51.000Z
/* This file is part of the GVars3 Library. Copyright (C) 2005 The Authors This library is free software, see LICENSE file for details */ #include "gvars3/instances.h" #include "gvars3/GStringUtil.h" #include <vector> #include <iostream> #include <set> #include <pthread.h> using namespace s...
19.294606
85
0.603226
edrosten
49277029a1c42eca60530c5336de2404ab50bdf4
956
hpp
C++
addons/niarms/caliber/556/m4.hpp
Theseus-Aegis/GTRecoilSystem
308f260af7a2a8839d1f7a0b43d77d49c062ff6c
[ "MIT" ]
null
null
null
addons/niarms/caliber/556/m4.hpp
Theseus-Aegis/GTRecoilSystem
308f260af7a2a8839d1f7a0b43d77d49c062ff6c
[ "MIT" ]
null
null
null
addons/niarms/caliber/556/m4.hpp
Theseus-Aegis/GTRecoilSystem
308f260af7a2a8839d1f7a0b43d77d49c062ff6c
[ "MIT" ]
null
null
null
// M4 Variants Inherits (Some are broken with no barrel length at all.) // AR15 Sanitised Carbine - Short Barrel class hlc_rifle_RU556: hlc_ar15_base { recoil = QCLASS(556_ShortBarrel); }; // BCM 'Jack' Carbine - Medium Barrel class hlc_rifle_bcmjack: hlc_ar15_base { recoil = QCLASS(556_MediumBarrel); }; // ...
23.9
71
0.733264
Theseus-Aegis
492b6a5354667eb85291c9137703773c80e1b941
649
cpp
C++
include/hydro/parser/__ast/VarDecl.cpp
hydraate/hydro
42037a8278dcfdca68fb5cceaf6988da861f0eff
[ "Apache-2.0" ]
null
null
null
include/hydro/parser/__ast/VarDecl.cpp
hydraate/hydro
42037a8278dcfdca68fb5cceaf6988da861f0eff
[ "Apache-2.0" ]
null
null
null
include/hydro/parser/__ast/VarDecl.cpp
hydraate/hydro
42037a8278dcfdca68fb5cceaf6988da861f0eff
[ "Apache-2.0" ]
null
null
null
// // __ __ __ // / / / /__ __ ____/ /_____ ____ // / /_/ // / / // __ // ___// __ \ // / __ // /_/ // /_/ // / / /_/ / // /_/ /_/ \__, / \__,_//_/ \____/ // /____/ // // ...
29.5
196
0.448382
hydraate
4934662d731fa57f4a638f3f7a1abf1216a2a8d7
4,267
cpp
C++
tools/apf_tools/FieldConverter.cpp
schuetzepaul/allpix-squared
737eba52fe13f56134c4e88a7928d1a5103dd40a
[ "MIT" ]
3
2019-03-04T22:31:32.000Z
2021-04-20T11:19:17.000Z
tools/apf_tools/FieldConverter.cpp
schuetzepaul/allpix-squared
737eba52fe13f56134c4e88a7928d1a5103dd40a
[ "MIT" ]
27
2019-04-01T12:25:46.000Z
2021-09-03T12:20:19.000Z
tools/apf_tools/FieldConverter.cpp
schuetzepaul/allpix-squared
737eba52fe13f56134c4e88a7928d1a5103dd40a
[ "MIT" ]
15
2017-08-08T14:57:51.000Z
2021-06-26T17:16:21.000Z
/** * @file * @brief Small converter for field data INIT <-> APF */ #include <algorithm> #include <fstream> #include <string> #include "core/utils/log.h" #include "tools/field_parser.h" #include "tools/units.h" using namespace allpix; /** * @brief Main function running the application */ int main(int argc, con...
40.638095
118
0.525428
schuetzepaul
4937b18a69ca34d4cdd487b596ac767fe7e0e319
5,308
cpp
C++
example/net/pingpong/main.cpp
zizzzw/fflib
ba9b465347b650d86c34876fbfae48bc31194d97
[ "MIT" ]
1
2022-02-08T07:28:07.000Z
2022-02-08T07:28:07.000Z
example/net/pingpong/main.cpp
zizzzw/fflib
ba9b465347b650d86c34876fbfae48bc31194d97
[ "MIT" ]
null
null
null
example/net/pingpong/main.cpp
zizzzw/fflib
ba9b465347b650d86c34876fbfae48bc31194d97
[ "MIT" ]
2
2022-01-06T02:16:09.000Z
2022-01-19T12:49:54.000Z
/*********************************************** The MIT License (MIT) Copyright (c) 2012 Athrun Arthur <athrunarthur@gmail.com> 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 ...
33.808917
79
0.625283
zizzzw
4937e32fa2051008dd83b908374d158619aa19b4
463
cpp
C++
Class 11/44.cpp
AniMysore74/Computer-Class
4764603b51cebfd99ac3c7a4968c9672e7b27526
[ "Apache-2.0" ]
null
null
null
Class 11/44.cpp
AniMysore74/Computer-Class
4764603b51cebfd99ac3c7a4968c9672e7b27526
[ "Apache-2.0" ]
null
null
null
Class 11/44.cpp
AniMysore74/Computer-Class
4764603b51cebfd99ac3c7a4968c9672e7b27526
[ "Apache-2.0" ]
null
null
null
//Read two strings and copy the shorter string into the bigger string #include<iostream.h> #include<conio.h> #include<string.h> int main() { char str1[30],str2[30]; cout<<"Enter string 1 : "; cin>>str1; cout<<"Enter string 2 : "; cin>>str2; if(strlen(str1)>strlen(str2)) strcpy(str2,str1); else ...
23.15
97
0.62203
AniMysore74
493cba69db4dd39e04d0e0ecda6753a61bd40570
20,992
cpp
C++
src/read.cpp
johelegp/tmxpp
efbd52e575fb8cd8fcfebd274b379f11fc036637
[ "Unlicense" ]
null
null
null
src/read.cpp
johelegp/tmxpp
efbd52e575fb8cd8fcfebd274b379f11fc036637
[ "Unlicense" ]
null
null
null
src/read.cpp
johelegp/tmxpp
efbd52e575fb8cd8fcfebd274b379f11fc036637
[ "Unlicense" ]
1
2018-03-12T02:32:46.000Z
2018-03-12T02:32:46.000Z
#include <optional> #include <string> #include <utility> #include <tmxpp.hpp> #include <tmxpp/Constrained.hpp> #include <tmxpp/exceptions.hpp> #include <tmxpp/impl/Xml.hpp> #include <tmxpp/impl/exceptions.hpp> #include <tmxpp/impl/read_utility.hpp> #include <tmxpp/impl/tmx_info.hpp> #include <tmxpp/impl/to_color.hpp> #...
26.878361
80
0.696361
johelegp
493e58662abd643a58435769c9eeb6a94210dd76
1,825
hpp
C++
sprig/checksum_hasher.hpp
bolero-MURAKAMI/Sprig
51ce4db4f4d093dee659a136f47249e4fe91fc7a
[ "BSL-1.0" ]
2
2017-10-24T13:56:24.000Z
2018-09-28T13:21:22.000Z
sprig/checksum_hasher.hpp
bolero-MURAKAMI/Sprig
51ce4db4f4d093dee659a136f47249e4fe91fc7a
[ "BSL-1.0" ]
null
null
null
sprig/checksum_hasher.hpp
bolero-MURAKAMI/Sprig
51ce4db4f4d093dee659a136f47249e4fe91fc7a
[ "BSL-1.0" ]
2
2016-04-12T03:26:06.000Z
2018-09-28T13:21:22.000Z
/*============================================================================= Copyright (c) 2010-2016 Bolero MURAKAMI https://github.com/bolero-MURAKAMI/Sprig Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) ===...
28.968254
79
0.691507
bolero-MURAKAMI
494a570c53b95b59524070539d9382776ee25c9e
33,440
cpp
C++
src/modules/SD2/scripts/kalimdor/silithus.cpp
muscnx/Mangos021SD2
695bb6a4822bb9173ab8e9077cb6259869ca2f32
[ "PostgreSQL", "Zlib", "OpenSSL" ]
null
null
null
src/modules/SD2/scripts/kalimdor/silithus.cpp
muscnx/Mangos021SD2
695bb6a4822bb9173ab8e9077cb6259869ca2f32
[ "PostgreSQL", "Zlib", "OpenSSL" ]
null
null
null
src/modules/SD2/scripts/kalimdor/silithus.cpp
muscnx/Mangos021SD2
695bb6a4822bb9173ab8e9077cb6259869ca2f32
[ "PostgreSQL", "Zlib", "OpenSSL" ]
null
null
null
/** * ScriptDev2 is an extension for mangos providing enhanced features for * area triggers, creatures, game objects, instances, items, and spells beyond * the default database scripting in mangos. * * Copyright (C) 2006-2013 ScriptDev2 <http://www.scriptdev2.com/> * * This program is free software; you can red...
44.946237
209
0.56866
muscnx
495c81ed964a4da5bb18a389a89de9808d24104c
16,536
cpp
C++
src/main/DLSFile.cpp
ElSaico/vgmtrans
8fa6f4adf6437e47c2bddf0e8a96bef7cd13ff88
[ "Zlib" ]
null
null
null
src/main/DLSFile.cpp
ElSaico/vgmtrans
8fa6f4adf6437e47c2bddf0e8a96bef7cd13ff88
[ "Zlib" ]
null
null
null
src/main/DLSFile.cpp
ElSaico/vgmtrans
8fa6f4adf6437e47c2bddf0e8a96bef7cd13ff88
[ "Zlib" ]
null
null
null
/** * VGMTrans (c) - 2002-2021 * Licensed under the zlib license * See the included LICENSE for more information */ #include "pch.h" #include <algorithm> #include <memory> #include <numeric> #include "DLSFile.h" #include "VGMInstrSet.h" #include "VGMSamp.h" #include "Root.h" using namespace std; // ******* // ...
37.496599
104
0.630261
ElSaico
4962490e27a68a782d18e4e218cb6f682fc56ea0
27,433
cc
C++
tests/value_test.cc
tegtmeye/cmd_options
03f2644e57413b38074545867ca539019201349e
[ "BSD-3-Clause" ]
null
null
null
tests/value_test.cc
tegtmeye/cmd_options
03f2644e57413b38074545867ca539019201349e
[ "BSD-3-Clause" ]
null
null
null
tests/value_test.cc
tegtmeye/cmd_options
03f2644e57413b38074545867ca539019201349e
[ "BSD-3-Clause" ]
null
null
null
#include "cmd_options.h" #include "test_detail.h" #include <boost/test/unit_test.hpp> /** Check for fundmental and STL value handling */ namespace co = cmd_options; typedef std::basic_string<detail::check_char_t> string_type; typedef co::basic_option_pack<detail::check_char_t> option_pack_type; typedef co::basi...
28.546306
152
0.654103
tegtmeye
4968673bfa0f63dcef4200d781306c8c9558e714
997
cpp
C++
8PRO128-TP3/Cube.cpp
Hexzhe/8PRO128-TP3
24dc226465c7e216752ded07592a013e88e7e3e2
[ "MIT" ]
null
null
null
8PRO128-TP3/Cube.cpp
Hexzhe/8PRO128-TP3
24dc226465c7e216752ded07592a013e88e7e3e2
[ "MIT" ]
null
null
null
8PRO128-TP3/Cube.cpp
Hexzhe/8PRO128-TP3
24dc226465c7e216752ded07592a013e88e7e3e2
[ "MIT" ]
null
null
null
#include "Cube.h" Cube::Cube() : Carre() { } Cube::Cube(double c) : Carre(c) { } double Cube::aire() const { return 6 * Carre::aire(); } double Cube::face() const { return Carre::aire(); } double Cube::volume() const { return pow(Carre::largeur, 3); } void Cube::afficher(std::ostream& os) const { os << "Cube:...
18.811321
89
0.584754
Hexzhe
496e7a5477cb415b4d3b490873c1fd81bdcb341c
1,394
hpp
C++
src/visual-scripting/processors/math/trigonometric/TrigonometricProcessors.hpp
inexorgame/entity-system
230a6f116fb02caeace79bc9b32f17fe08687c36
[ "MIT" ]
19
2018-10-11T09:19:48.000Z
2020-04-19T16:36:58.000Z
src/visual-scripting/processors/math/trigonometric/TrigonometricProcessors.hpp
inexorgame-obsolete/entity-system-inactive
230a6f116fb02caeace79bc9b32f17fe08687c36
[ "MIT" ]
132
2018-07-28T12:30:54.000Z
2020-04-25T23:05:33.000Z
src/visual-scripting/processors/math/trigonometric/TrigonometricProcessors.hpp
inexorgame-obsolete/entity-system-inactive
230a6f116fb02caeace79bc9b32f17fe08687c36
[ "MIT" ]
3
2019-03-02T16:19:23.000Z
2020-02-18T05:15:29.000Z
#pragma once #include "visual-scripting/processors/math/trigonometric/CosProcessor.hpp" #include "visual-scripting/processors/math/trigonometric/SinProcessor.hpp" #include "visual-scripting/processors/math/trigonometric/TanProcessor.hpp" namespace inexor::visual_scripting { using SinProcessorPtr = std::shared_ptr<Si...
32.418605
121
0.763271
inexorgame
4974fd6e1e94bf2869e15e129f5e0999fed1378b
1,711
cpp
C++
client/main.cpp
name1e5s/Trace-It
bb42ed21dc16b3fb5bfed3cb5592c9232c43ace2
[ "WTFPL" ]
null
null
null
client/main.cpp
name1e5s/Trace-It
bb42ed21dc16b3fb5bfed3cb5592c9232c43ace2
[ "WTFPL" ]
null
null
null
client/main.cpp
name1e5s/Trace-It
bb42ed21dc16b3fb5bfed3cb5592c9232c43ace2
[ "WTFPL" ]
null
null
null
#include <QGuiApplication> #include <QQmlApplicationEngine> #include <QQmlContext> #include <QQmlEngine> #include <QQuickStyle> #include <client.h> #include <table_model_user.h> #include <table_model_word.h> int main(int argc, char *argv[]) { QGuiApplication app(argc, argv); if (Client::Instance().SocketClient::co...
38.886364
80
0.660432
name1e5s
497550b899bbf298f8b45c9805b7c9bfccd81308
4,094
cpp
C++
Engine/source/gui/editor/guiSeparatorCtrl.cpp
fr1tz/alux3d
249a3b51751ce3184d52879b481f83eabe89e7e3
[ "MIT" ]
46
2015-01-05T17:34:43.000Z
2022-01-04T04:03:09.000Z
Engine/source/gui/editor/guiSeparatorCtrl.cpp
fr1tz/alux3d
249a3b51751ce3184d52879b481f83eabe89e7e3
[ "MIT" ]
10
2015-01-20T23:14:46.000Z
2019-04-05T22:04:15.000Z
Engine/source/gui/editor/guiSeparatorCtrl.cpp
fr1tz/terminal-overload
85f0689a40022e5eb7e54dcb6ddfb5ddd82a0a60
[ "CC-BY-4.0" ]
9
2015-08-08T18:46:06.000Z
2021-02-01T13:53:20.000Z
// Copyright information can be found in the file named COPYING // located in the root directory of this distribution. #include "platform/platform.h" #include "gui/editor/guiSeparatorCtrl.h" #include "gfx/gfxDevice.h" #include "gfx/gfxDrawUtil.h" #include "console/console.h" #include "console/consoleTypes.h" #include...
33.016129
134
0.616268
fr1tz
4977978f702f2eed6831ad916e1378d2eeff5c35
1,043
hpp
C++
include/usb_asio/asio.hpp
MiSo1289/usb-asio
cd6aac7b9bfad1c617aa0e6d1eefeea8b00cfcdf
[ "MIT" ]
47
2020-08-24T17:53:04.000Z
2022-03-11T16:03:22.000Z
include/usb_asio/asio.hpp
MiSo1289/usb-asio
cd6aac7b9bfad1c617aa0e6d1eefeea8b00cfcdf
[ "MIT" ]
null
null
null
include/usb_asio/asio.hpp
MiSo1289/usb-asio
cd6aac7b9bfad1c617aa0e6d1eefeea8b00cfcdf
[ "MIT" ]
null
null
null
#pragma once #ifdef USB_ASIO_USE_STANDALONE_ASIO #include <system_error> #include <asio/any_io_executor.hpp> #include <asio/async_result.hpp> #include <asio/buffer.hpp> #include <asio/execution_context.hpp> #include <asio/io_context.hpp> #include <asio/post.hpp> #else #include <boost/asio/any_io_executor.hpp> #inc...
24.255814
57
0.759348
MiSo1289
4977abe2470f73cf156380faef231cc60f016cdb
618
cpp
C++
Junior_Core/Src/Source/GameSystem.cpp
DeltaGoldenFlag/JuniorEngine
9581f863d5bd412a4ab48b7ea893151798829856
[ "BSD-3-Clause" ]
1
2019-06-13T00:14:02.000Z
2019-06-13T00:14:02.000Z
Junior_Core/Src/Source/GameSystem.cpp
DeltaGoldenFlag/JuniorEngine
9581f863d5bd412a4ab48b7ea893151798829856
[ "BSD-3-Clause" ]
null
null
null
Junior_Core/Src/Source/GameSystem.cpp
DeltaGoldenFlag/JuniorEngine
9581f863d5bd412a4ab48b7ea893151798829856
[ "BSD-3-Clause" ]
null
null
null
/* * Author: David Wong * Email: david.wongcascante@digipen.edu * File name: GameSystem.cpp * Description: Defines a general manner to organize all the systems * Created: 18-Dec-2018 * Last Modified: 18-Dec-2018 */ // Includes #include "GameSystem.h" #include <iostream> // Output stream // Public Member Functions ...
18.176471
67
0.687702
DeltaGoldenFlag
4978a415b1118ac8fe42ba3a6e56d732ae933c64
459
hpp
C++
src/algorithms/euler/problem9.hpp
iamantony/CppNotes
2707db6560ad80b0e5e286a04b2d46e5c0280b3f
[ "MIT" ]
2
2020-07-31T14:13:56.000Z
2021-02-03T09:51:43.000Z
src/algorithms/euler/problem9.hpp
iamantony/CppNotes
2707db6560ad80b0e5e286a04b2d46e5c0280b3f
[ "MIT" ]
28
2015-09-22T07:38:21.000Z
2018-10-02T11:00:58.000Z
src/algorithms/euler/problem9.hpp
iamantony/CppNotes
2707db6560ad80b0e5e286a04b2d46e5c0280b3f
[ "MIT" ]
2
2018-10-11T14:10:50.000Z
2021-02-27T08:53:50.000Z
#ifndef PROBLEM9_H_ #define PROBLEM9_H_ #include "problem.hpp" // Problem 9: // A Pythagorean triplet is a set of three natural numbers, a < b < c, // for which a^2 + b^2 = c^2 // For example, 3^2 + 4^2 = 9 + 16 = 25 = 5^2. // There exists exactly one Pythagorean triplet for which a + b + c = 1000. // Find the produ...
20.863636
75
0.64488
iamantony
4979ee93a9e60b56119769aeaf61c4f545e3f578
6,761
hpp
C++
src/lib/nas/ie1.hpp
aligungr/ue-ran-sim
564f9d228723f03adfa2b02df2ea019bdf305085
[ "MIT" ]
16
2020-04-16T02:07:37.000Z
2020-07-23T10:48:27.000Z
src/lib/nas/ie1.hpp
aligungr/ue-ran-sim
564f9d228723f03adfa2b02df2ea019bdf305085
[ "MIT" ]
8
2020-07-13T17:11:35.000Z
2020-08-03T16:46:31.000Z
src/lib/nas/ie1.hpp
aligungr/ue-ran-sim
564f9d228723f03adfa2b02df2ea019bdf305085
[ "MIT" ]
9
2020-03-04T15:05:08.000Z
2020-07-30T06:18:18.000Z
// // This file is a part of UERANSIM open source project. // Copyright (c) 2021 ALİ GÜNGÖR. // // The software and all associated files are licensed under GPL-3.0 // and subject to the terms and conditions defined in LICENSE file. // #pragma once #include "base.hpp" #include "enums.hpp" #include <utils/octet_string...
28.053942
110
0.764976
aligungr
21a5c6417add5f5d863eb9c0712ad1dcdeeb3127
348
cpp
C++
common/source/string.cpp
xrEngine512/interop
c80711fbbe08f350ad5d8058163770f57ed20b0c
[ "MIT" ]
null
null
null
common/source/string.cpp
xrEngine512/interop
c80711fbbe08f350ad5d8058163770f57ed20b0c
[ "MIT" ]
4
2017-05-31T12:34:10.000Z
2018-10-13T18:53:03.000Z
common/source/string.cpp
xrEngine512/MosaicFramework
c80711fbbe08f350ad5d8058163770f57ed20b0c
[ "MIT" ]
1
2020-04-23T14:09:11.000Z
2020-04-23T14:09:11.000Z
#include "utils/string.h" #include <boost/algorithm/string/regex.hpp> using namespace std; namespace interop { namespace utils { vector<string> split_rx(const string & str, const string & del) { vector<string> res; boost::algorithm::split_regex(res, str, boost::regex(del)); return res; } } // namespace u...
20.470588
63
0.70977
xrEngine512
21a7643c6dea6f0ff48c691aec2051bcd2d40c32
6,681
cpp
C++
src/binding.cpp
oprypin/crystal-imgui-sfml
0e9662bf5e2b4373d32048b07df0daf53180274e
[ "MIT" ]
11
2020-10-02T15:36:21.000Z
2021-11-16T03:17:40.000Z
src/binding.cpp
oprypin/crystal-imgui-sfml
0e9662bf5e2b4373d32048b07df0daf53180274e
[ "MIT" ]
2
2021-02-12T15:04:38.000Z
2021-02-22T22:59:06.000Z
src/binding.cpp
oprypin/crystal-imgui-sfml
0e9662bf5e2b4373d32048b07df0daf53180274e
[ "MIT" ]
1
2021-03-20T19:59:02.000Z
2021-03-20T19:59:02.000Z
#include <imgui-SFML.h> #include <SFML/Graphics/Color.hpp> #include <SFML/Graphics/Rect.hpp> #include <SFML/Graphics/RenderTexture.hpp> #include <SFML/Graphics/RenderWindow.hpp> #include <SFML/Graphics/Sprite.hpp> #include <SFML/Graphics/Texture.hpp> #include <SFML/System/Time.hpp> #include <SFML/System/Vector2.hpp> #i...
46.395833
171
0.695405
oprypin
21aa1147898f0a2c1be931be70ca0be7a351365b
6,299
inl
C++
arrays/Deque.Iterator.inl
FinIsOro/array
23489b305b3e728281f0eec99c7cb5fe941e1953
[ "MIT" ]
null
null
null
arrays/Deque.Iterator.inl
FinIsOro/array
23489b305b3e728281f0eec99c7cb5fe941e1953
[ "MIT" ]
null
null
null
arrays/Deque.Iterator.inl
FinIsOro/array
23489b305b3e728281f0eec99c7cb5fe941e1953
[ "MIT" ]
null
null
null
namespace arrays { template<class T, size_t block> Deque<T, block>::Iterator::Iterator(Deque::Block *start, Deque::Offset offset, size_t index) : index(index), current(start), offset(offset) { } template<class T, size_t block> Deque<T, block>::Iterator::Iterator(...
24.897233
98
0.493888
FinIsOro
21ad3b2e82a27c5dcf1b0cac668b977673e8c5c0
950
cpp
C++
Source/RTS/Plugins/RTSPlugin/Source/RTSPlugin/Private/RTSCharacter.cpp
ajbetteridge/ue4-rts
d7923fa694f6b6a04d8301a65019f85512fcb359
[ "MIT" ]
3
2020-08-24T03:36:07.000Z
2021-12-28T03:40:02.000Z
Source/RTS/Plugins/RTSPlugin/Source/RTSPlugin/Private/RTSCharacter.cpp
ajbetteridge/ue4-rts
d7923fa694f6b6a04d8301a65019f85512fcb359
[ "MIT" ]
null
null
null
Source/RTS/Plugins/RTSPlugin/Source/RTSPlugin/Private/RTSCharacter.cpp
ajbetteridge/ue4-rts
d7923fa694f6b6a04d8301a65019f85512fcb359
[ "MIT" ]
1
2021-12-28T03:40:04.000Z
2021-12-28T03:40:04.000Z
#include "RTSPluginPCH.h" #include "RTSCharacter.h" #include "WorldCollision.h" #include "Components/CapsuleComponent.h" #include "Components/DecalComponent.h" #include "GameFramework/Controller.h" #include "Kismet/GameplayStatics.h" #include "Net/UnrealNetwork.h" #include "RTSAttackData.h" #include "RTSGameMode.h" #...
26.388889
137
0.790526
ajbetteridge
21b4b5f0afb26ecdff69b6d9588a1460c0eca3ca
7,550
hpp
C++
source/modules/solver/sampler/HMC/helpers/hamiltonian_riemannian_const_diag.hpp
JonathanLehner/korali
90f97d8e2fed2311f988f39cfe014f23ba7dd6cf
[ "MIT" ]
43
2018-07-26T07:20:42.000Z
2022-03-02T10:23:12.000Z
source/modules/solver/sampler/HMC/helpers/hamiltonian_riemannian_const_diag.hpp
JonathanLehner/korali
90f97d8e2fed2311f988f39cfe014f23ba7dd6cf
[ "MIT" ]
212
2018-09-21T10:44:07.000Z
2022-03-22T14:33:05.000Z
source/modules/solver/sampler/HMC/helpers/hamiltonian_riemannian_const_diag.hpp
JonathanLehner/korali
90f97d8e2fed2311f988f39cfe014f23ba7dd6cf
[ "MIT" ]
16
2018-07-25T15:00:36.000Z
2022-03-22T14:19:46.000Z
#ifndef HAMILTONIAN_RIEMANNIAN_CONST_DIAG_H #define HAMILTONIAN_RIEMANNIAN_CONST_DIAG_H #include "hamiltonian_riemannian_base.hpp" #include "modules/distribution/univariate/normal/normal.hpp" namespace korali { namespace solver { namespace sampler { /** * \class HamiltonianRiemannianConstDiag * @brief Used for diagon...
30.2
248
0.701987
JonathanLehner
21bb10cec2eaa928a93fe9ccd8d06abb83be7939
339
hpp
C++
core/include/system/EntityGenerator.hpp
Floriantoine/MyHunter_Sfml
8744e1b03d9d5fb621f9cba7619d9d5dd943e428
[ "MIT" ]
null
null
null
core/include/system/EntityGenerator.hpp
Floriantoine/MyHunter_Sfml
8744e1b03d9d5fb621f9cba7619d9d5dd943e428
[ "MIT" ]
null
null
null
core/include/system/EntityGenerator.hpp
Floriantoine/MyHunter_Sfml
8744e1b03d9d5fb621f9cba7619d9d5dd943e428
[ "MIT" ]
null
null
null
#pragma once #include "ASystem.hpp" #include "observer/Observer.hpp" namespace systems { class EntityGenerator : public fa::ASystem { public: Observer _observer; std::vector<std::string> _pathList; EntityGenerator(); ~EntityGenerator() = default; void update(long elapsedTime) override; }; } /...
18.833333
44
0.707965
Floriantoine
21bcd831908283b1e66a92530c319a107047d919
37
cpp
C++
examples/tvm/boo.cpp
Costallat/hunter
dc0d79cb37b30cad6d6472d7143fe27be67e26d5
[ "BSD-2-Clause" ]
2,146
2015-01-10T07:26:58.000Z
2022-03-21T02:28:01.000Z
examples/tvm/boo.cpp
koinos/hunter
fc17bc391210bf139c55df7f947670c5dff59c57
[ "BSD-2-Clause" ]
1,778
2015-01-03T11:50:30.000Z
2019-12-26T05:31:20.000Z
examples/tvm/boo.cpp
koinos/hunter
fc17bc391210bf139c55df7f947670c5dff59c57
[ "BSD-2-Clause" ]
734
2015-03-05T19:52:34.000Z
2022-02-22T23:18:54.000Z
#include <nnvm/op.h> int main() { }
7.4
20
0.567568
Costallat
21c66edf4ac622df28ca3145f6157a4b490e160d
16,198
hpp
C++
Public/Ava/Private/Containers/HashTable.hpp
vasama/Ava
c1e6fb87a493dc46ce870220c632069f00875d2c
[ "MIT" ]
null
null
null
Public/Ava/Private/Containers/HashTable.hpp
vasama/Ava
c1e6fb87a493dc46ce870220c632069f00875d2c
[ "MIT" ]
null
null
null
Public/Ava/Private/Containers/HashTable.hpp
vasama/Ava
c1e6fb87a493dc46ce870220c632069f00875d2c
[ "MIT" ]
null
null
null
#pragma once #include "Ava/Containers/StoragePolicy.hpp" #include "Ava/Math/Math.hpp" #include "Ava/Memory/NoInit.hpp" #include "Ava/Memory/Storage.hpp" #include "Ava/Meta/Constant.hpp" #include "Ava/Meta/Identity.hpp" #include "Ava/Meta/TypeTraits.hpp" #include "Ava/Misc.hpp" #include "Ava/Private/Ebo.hpp" #include "...
21.830189
85
0.664959
vasama
21c70d5698e2a0dcbf53601fa17bed3bd947ae1c
3,435
hpp
C++
include/memoria/containers/multimap/multimap_output_values.hpp
victor-smirnov/memoria
c36a957c63532176b042b411b1646c536e71a658
[ "BSL-1.0", "Apache-2.0", "OLDAP-2.8", "BSD-3-Clause" ]
2
2021-07-30T16:54:24.000Z
2021-09-08T15:48:17.000Z
include/memoria/containers/multimap/multimap_output_values.hpp
victor-smirnov/memoria
c36a957c63532176b042b411b1646c536e71a658
[ "BSL-1.0", "Apache-2.0", "OLDAP-2.8", "BSD-3-Clause" ]
null
null
null
include/memoria/containers/multimap/multimap_output_values.hpp
victor-smirnov/memoria
c36a957c63532176b042b411b1646c536e71a658
[ "BSL-1.0", "Apache-2.0", "OLDAP-2.8", "BSD-3-Clause" ]
2
2020-03-14T15:15:25.000Z
2020-06-15T11:26:56.000Z
// Copyright 2019 Victor Smirnov // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to...
24.190141
113
0.613683
victor-smirnov
21d11bbb1ae9b200f36d80d6009a02652e6c6246
4,636
cc
C++
src/communication/msg.cc
ooibc88/incubator-singa
50deedd496182daa0c178dd2581af43d173b6506
[ "Apache-2.0" ]
3
2016-10-29T09:40:46.000Z
2021-11-17T11:03:31.000Z
src/communication/msg.cc
ooibc88/incubator-singa
50deedd496182daa0c178dd2581af43d173b6506
[ "Apache-2.0" ]
null
null
null
src/communication/msg.cc
ooibc88/incubator-singa
50deedd496182daa0c178dd2581af43d173b6506
[ "Apache-2.0" ]
null
null
null
#include "communication/msg.h" #include <glog/logging.h> namespace singa { #ifdef USE_ZMQ Msg::~Msg() { if (msg_ != nullptr) zmsg_destroy(&msg_); frame_ = nullptr; } Msg::Msg() { msg_ = zmsg_new(); } Msg::Msg(const Msg& msg) { src_ = msg.src_; dst_ = msg.dst_; type_ = msg.type_; trgt_val_ = msg.t...
23.774359
62
0.556946
ooibc88
21d375bb3860ad5f87eaf3a8222e0cd6c6f1b91b
2,854
hh
C++
src/DataBase/CompositeFieldListPolicy.hh
jmikeowen/Spheral
3e1082a7aefd6b328bd3ae24ca1a477108cfc3c4
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
22
2018-07-31T21:38:22.000Z
2020-06-29T08:58:33.000Z
src/DataBase/CompositeFieldListPolicy.hh
markguozhiming/spheral
bbb982102e61edb8a1d00cf780bfa571835e1b61
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
41
2020-09-28T23:14:27.000Z
2022-03-28T17:01:33.000Z
src/DataBase/CompositeFieldListPolicy.hh
markguozhiming/spheral
bbb982102e61edb8a1d00cf780bfa571835e1b61
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
7
2019-12-01T07:00:06.000Z
2020-09-15T21:12:39.000Z
//---------------------------------Spheral++----------------------------------// // CompositeFieldListPolicy -- An implementation of UpdatePolicyBase which // consists of a collection of individual Field policies that should match // the Fields in a FieldList. // // Created by JMO, Sun Nov 3 14:11:32 PST 2013 //------...
37.552632
94
0.640505
jmikeowen
21d83db77fc892ded98fa45d60f659e3ca1f2cbb
959
hpp
C++
player/playerlib/Render.hpp
zhenfei2016/FFL-v2
376c79a0611af580d4767a4bbb05822f1a4fd454
[ "MIT" ]
null
null
null
player/playerlib/Render.hpp
zhenfei2016/FFL-v2
376c79a0611af580d4767a4bbb05822f1a4fd454
[ "MIT" ]
null
null
null
player/playerlib/Render.hpp
zhenfei2016/FFL-v2
376c79a0611af580d4767a4bbb05822f1a4fd454
[ "MIT" ]
null
null
null
/* * This file is part of FFL project. * * The MIT License (MIT) * Copyright (C) 2017-2018 zhufeifei All rights reserved. * * Render.hpp * Created by zhufeifei(34008081@qq.com) on 2018/03/10 * * 渲染基类 * */ #pragma once #include "NodeBase.hpp" namespace player { class Render : public NodeBase{ public: Render(...
17.759259
91
0.661105
zhenfei2016
21d8d4ff95b58be3a09e674ebc76fdc2a317ec8c
498
cpp
C++
Engine/UI/Private/UIWindow.cpp
heretique/Atlas
0981e7941b570ecfda1febf71b4669338ab81921
[ "MIT" ]
6
2016-11-09T08:40:10.000Z
2021-10-06T09:47:05.000Z
Engine/UI/Private/UIWindow.cpp
heretique/Atlas
0981e7941b570ecfda1febf71b4669338ab81921
[ "MIT" ]
null
null
null
Engine/UI/Private/UIWindow.cpp
heretique/Atlas
0981e7941b570ecfda1febf71b4669338ab81921
[ "MIT" ]
3
2016-11-09T08:38:59.000Z
2021-12-24T16:03:59.000Z
#include "UI/UIWindow.h" namespace atlas { UIWindow::UIWindow(const std::string& name, ImGuiWindowFlags flags) : _name(name) , _flags(flags) , _hash(hq::StringHash(_name)) { } UIWindow::~UIWindow() { } hq::StringHash UIWindow::windowId() const { return _hash; } bool UIWindow::update(float deltaTime)...
16.064516
67
0.63253
heretique
21d9a9071e647d2bc72ab433d13467a0fdf45614
114
hpp
C++
book/cpp_templates/tmplbook/variant/variantstorageastuple.hpp
houruixiang/day_day_learning
208f70a4f0a85dd99191087835903d279452fd54
[ "MIT" ]
null
null
null
book/cpp_templates/tmplbook/variant/variantstorageastuple.hpp
houruixiang/day_day_learning
208f70a4f0a85dd99191087835903d279452fd54
[ "MIT" ]
null
null
null
book/cpp_templates/tmplbook/variant/variantstorageastuple.hpp
houruixiang/day_day_learning
208f70a4f0a85dd99191087835903d279452fd54
[ "MIT" ]
null
null
null
template<typename... Types> class Variant { public: Tuple<Types...> storage; unsigned char discriminator; };
16.285714
30
0.710526
houruixiang
21ddf3f0edc24981eb74dc9bee215d459bdd3370
1,116
cc
C++
lib/tests/fixtures/dmi_fixtures.cc
GabrielNagy/libwhereami
8061b056b38ad2508b735465eae4bd9817091183
[ "Apache-2.0" ]
16
2017-07-12T05:58:59.000Z
2022-03-11T01:07:10.000Z
lib/tests/fixtures/dmi_fixtures.cc
GabrielNagy/libwhereami
8061b056b38ad2508b735465eae4bd9817091183
[ "Apache-2.0" ]
41
2017-07-07T16:44:57.000Z
2019-08-27T13:05:38.000Z
lib/tests/fixtures/dmi_fixtures.cc
GabrielNagy/libwhereami
8061b056b38ad2508b735465eae4bd9817091183
[ "Apache-2.0" ]
16
2017-07-05T15:23:40.000Z
2022-03-17T21:11:20.000Z
#include "./dmi_fixtures.hpp" using namespace whereami::testing; using namespace whereami::sources; using namespace std; namespace whereami { namespace testing { namespace dmi { std::string dmi_fixture::sys_path(std::string const& filename) const { return fixture_root + sys_fixture_path_ + filename; ...
24.8
72
0.598566
GabrielNagy
21e6b97aa501c5410b492e0dffac55243f72a19f
2,761
cpp
C++
MC/MC/mcTransportRectangleTrap.cpp
x2v0/MC
2c5667cf3f12de573f969e371bbe0af30fa52023
[ "MIT" ]
null
null
null
MC/MC/mcTransportRectangleTrap.cpp
x2v0/MC
2c5667cf3f12de573f969e371bbe0af30fa52023
[ "MIT" ]
null
null
null
MC/MC/mcTransportRectangleTrap.cpp
x2v0/MC
2c5667cf3f12de573f969e371bbe0af30fa52023
[ "MIT" ]
null
null
null
#include "mcTransportRectangleTrap.h" mcTransportRectangleTrap::mcTransportRectangleTrap(const geomVector3D& orgn, const geomVector3D& z, const geomVector3D& x) : mcTransport(orgn, z, x), fsx1_(0), fsx2_(0), ...
33.670732
120
0.456356
x2v0