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
ad804696d11a39e7f0fd0cdd11b52065dd0542f5
918
hpp
C++
galaxy/src/galaxy/graphics/Renderables.hpp
DomRe/galaxy
dbffcbe3ff1ea0f1cb1f23a554b13be0eb681a57
[ "Apache-2.0" ]
19
2020-02-02T16:36:46.000Z
2021-12-25T07:02:28.000Z
galaxy/src/galaxy/graphics/Renderables.hpp
DomRe/galaxy
dbffcbe3ff1ea0f1cb1f23a554b13be0eb681a57
[ "Apache-2.0" ]
103
2020-10-13T09:03:42.000Z
2022-03-26T03:41:50.000Z
galaxy/src/galaxy/graphics/Renderables.hpp
DomRe/galaxy
dbffcbe3ff1ea0f1cb1f23a554b13be0eb681a57
[ "Apache-2.0" ]
5
2020-03-13T06:14:37.000Z
2021-12-12T02:13:46.000Z
/// /// Renderables.hpp /// galaxy /// /// Refer to LICENSE.txt for more details. /// #ifndef GALAXY_GRAPHICS_RENDERABLES_HPP_ #define GALAXY_GRAPHICS_RENDERABLES_HPP_ namespace galaxy { namespace graphics { /// /// Defines different types of renderable objects. /// enum class Renderables : short { ///...
15.827586
55
0.599129
DomRe
ad80c8dd948b481fa38d7524d47b5fa970376300
347
cpp
C++
src/host/host.cpp
elmerucr/E64-II
47115cba99630cd0890768e8657e1fabba6c2c3b
[ "MIT" ]
2
2021-02-02T19:28:02.000Z
2021-11-28T20:14:28.000Z
src/host/host.cpp
elmerucr/E64-II
47115cba99630cd0890768e8657e1fabba6c2c3b
[ "MIT" ]
null
null
null
src/host/host.cpp
elmerucr/E64-II
47115cba99630cd0890768e8657e1fabba6c2c3b
[ "MIT" ]
null
null
null
#include <cstdio> #include "host.hpp" #include "common.hpp" E64::host_t::host_t() { printf("[host] E64-II (C)%i by elmerucr - version %i.%i.%i\n", E64_II_YEAR, E64_II_MAJOR_VERSION, E64_II_MINOR_VERSION, E64_II_BUILD); video = new video_t(); } E64::host_t::~host_t() { printf("[host] closing E64-...
16.52381
64
0.642651
elmerucr
ad83fa5fc44040c955dc5d7e92d7c44a8dc44a4b
1,175
hpp
C++
src/boundarySolver/lodi/isothermalWall.hpp
kolosret/ablate
755089ab5e39388d9cda8dedac5a45ba1b016dd5
[ "BSD-3-Clause" ]
null
null
null
src/boundarySolver/lodi/isothermalWall.hpp
kolosret/ablate
755089ab5e39388d9cda8dedac5a45ba1b016dd5
[ "BSD-3-Clause" ]
null
null
null
src/boundarySolver/lodi/isothermalWall.hpp
kolosret/ablate
755089ab5e39388d9cda8dedac5a45ba1b016dd5
[ "BSD-3-Clause" ]
null
null
null
#ifndef ABLATELIBRARY_ISOTHERMALWALL_HPP #define ABLATELIBRARY_ISOTHERMALWALL_HPP #include "lodiBoundary.hpp" namespace ablate::boundarySolver::lodi { class IsothermalWall : public LODIBoundary { public: explicit IsothermalWall(std::shared_ptr<eos::EOS> eos, std::shared_ptr<finiteVolume::processes::PressureGra...
55.952381
194
0.705532
kolosret
ad859a836d9e4de938ad07715c8deca28b93067e
2,472
hpp
C++
openstudiocore/src/utilities/units/TemperatureUnit_Impl.hpp
BIMDataHub/OpenStudio-1
13ec115b00aa6a2af1426ceb26446f05014c8c8d
[ "blessing" ]
4
2015-05-02T21:04:15.000Z
2015-10-28T09:47:22.000Z
openstudiocore/src/utilities/units/TemperatureUnit_Impl.hpp
BIMDataHub/OpenStudio-1
13ec115b00aa6a2af1426ceb26446f05014c8c8d
[ "blessing" ]
null
null
null
openstudiocore/src/utilities/units/TemperatureUnit_Impl.hpp
BIMDataHub/OpenStudio-1
13ec115b00aa6a2af1426ceb26446f05014c8c8d
[ "blessing" ]
1
2020-11-12T21:52:36.000Z
2020-11-12T21:52:36.000Z
/********************************************************************** * Copyright (c) 2008-2015, Alliance for Sustainable Energy. * All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as publishe...
32.526316
98
0.609628
BIMDataHub
ad89485815437cd78b3aeb6a901f8f3a964a0665
1,326
cpp
C++
codeforces/p1553C.cpp
freedomDR/coding
310a68077de93ef445ccd2929e90ba9c22a9b8eb
[ "MIT" ]
null
null
null
codeforces/p1553C.cpp
freedomDR/coding
310a68077de93ef445ccd2929e90ba9c22a9b8eb
[ "MIT" ]
null
null
null
codeforces/p1553C.cpp
freedomDR/coding
310a68077de93ef445ccd2929e90ba9c22a9b8eb
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; int main() { int t; cin >> t; while(t--) { string s; cin >> s; int ans = 10; for(int i = 0; i < (1<<10); i++) { string ss; for(int j = 0, jj = i; j < 10; j++, jj /= 2) ss.push_back('0'+(jj%...
26.52
56
0.266214
freedomDR
ad8e44414a40555047f893d6c22b63140b1af2c6
12,759
cpp
C++
MonoNative/mscorlib/System/Collections/mscorlib_System_Collections_SortedList.cpp
brunolauze/MonoNative
959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66
[ "BSD-2-Clause" ]
7
2015-03-10T03:36:16.000Z
2021-11-05T01:16:58.000Z
MonoNative/mscorlib/System/Collections/mscorlib_System_Collections_SortedList.cpp
brunolauze/MonoNative
959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66
[ "BSD-2-Clause" ]
1
2020-06-23T10:02:33.000Z
2020-06-24T02:05:47.000Z
MonoNative/mscorlib/System/Collections/mscorlib_System_Collections_SortedList.cpp
brunolauze/MonoNative
959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66
[ "BSD-2-Clause" ]
null
null
null
#include <mscorlib/System/Collections/mscorlib_System_Collections_SortedList.h> #include <mscorlib/System/mscorlib_System_Array.h> #include <mscorlib/System/mscorlib_System_Type.h> #include <mscorlib/System/mscorlib_System_String.h> namespace mscorlib { namespace System { namespace Collections { //Public M...
45.244681
190
0.712438
brunolauze
74ec31feee14e3c5c9c06bdf9a55c1013cccbb68
15,755
cxx
C++
vtkm/rendering/raytracing/CylinderIntersector.cxx
rushah05/VTKm_FP16
487819a1dbdd8dc3f95cca2942e3f2706a2514b5
[ "BSD-3-Clause" ]
2
2021-07-07T22:53:19.000Z
2021-07-31T19:29:35.000Z
vtkm/rendering/raytracing/CylinderIntersector.cxx
rushah05/VTKm_FP16
487819a1dbdd8dc3f95cca2942e3f2706a2514b5
[ "BSD-3-Clause" ]
2
2020-11-18T16:50:34.000Z
2022-01-21T13:31:47.000Z
vtkm/rendering/raytracing/CylinderIntersector.cxx
rushah05/VTKm_FP16
487819a1dbdd8dc3f95cca2942e3f2706a2514b5
[ "BSD-3-Clause" ]
5
2020-10-02T10:14:35.000Z
2022-03-10T07:50:22.000Z
//============================================================================ // Copyright (c) Kitware, Inc. // All rights reserved. // See LICENSE.txt for details. // // This software is distributed WITHOUT ANY WARRANTY; without even // the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR // PURP...
30.009524
99
0.572771
rushah05
74ec50e6b0b30adff90c7f802196d334ef73930d
148
cpp
C++
learnBoost/learnBoost/c++/temp.cpp
zhenyiyi/LearnDiary
7e88ced2c4294b5cfb7dd60c046fbc9510aab489
[ "MIT" ]
1
2019-03-18T06:58:36.000Z
2019-03-18T06:58:36.000Z
learnBoost/learnBoost/c++/temp.cpp
zhenyiyi/LearnDiary
7e88ced2c4294b5cfb7dd60c046fbc9510aab489
[ "MIT" ]
null
null
null
learnBoost/learnBoost/c++/temp.cpp
zhenyiyi/LearnDiary
7e88ced2c4294b5cfb7dd60c046fbc9510aab489
[ "MIT" ]
null
null
null
// // temp.cpp // learnBoost // // Created by fenglin on 2017/11/20. // Copyright © 2017年 fenglin. All rights reserved. // #include "temp.hpp"
14.8
51
0.641892
zhenyiyi
74f0373c8da8766180cb7417434c00c45b0729c7
3,155
cpp
C++
ras/localdiscoveryservice.cpp
romixlab/trunk
4726ae5d8c6f88476034c1527c0064a25de06f80
[ "MIT" ]
1
2016-08-22T21:27:09.000Z
2016-08-22T21:27:09.000Z
ras/localdiscoveryservice.cpp
romixlab/trunk
4726ae5d8c6f88476034c1527c0064a25de06f80
[ "MIT" ]
null
null
null
ras/localdiscoveryservice.cpp
romixlab/trunk
4726ae5d8c6f88476034c1527c0064a25de06f80
[ "MIT" ]
null
null
null
#include "localdiscoveryservice.h" #include "automation_global.h" #include <qmsgpack/msgpack.h> #include <QUdpSocket> #include <QTimer> LocalDiscoveryService::LocalDiscoveryService(QObject *parent) : DiscoveryServiceBase(parent), m_udp(0), m_multicastGroup(QHostAddress(DEFAULT_MCAST_GROUP)), m_multicas...
28.681818
81
0.645008
romixlab
74f08b7ca8b1f1204e17a900aded73ff9f0357fa
1,649
hxx
C++
include/usb/platforms/tm4c123gh6pm/types.hxx
DX-MON/dragonUSB
e3b43d786f767577822ba5e777d01328cd92a80d
[ "BSD-3-Clause" ]
4
2021-06-20T02:20:03.000Z
2021-12-30T01:43:02.000Z
include/usb/platforms/tm4c123gh6pm/types.hxx
DX-MON/dragonUSB
e3b43d786f767577822ba5e777d01328cd92a80d
[ "BSD-3-Clause" ]
null
null
null
include/usb/platforms/tm4c123gh6pm/types.hxx
DX-MON/dragonUSB
e3b43d786f767577822ba5e777d01328cd92a80d
[ "BSD-3-Clause" ]
null
null
null
// SPDX-License-Identifier: BSD-3-Clause #ifndef USB_PLATFORMS_TM4C123GH6PM_TYPES___HXX #define USB_PLATFORMS_TM4C123GH6PM_TYPES___HXX #include "usb/descriptors.hxx" namespace usb::descriptors { struct usbMultiPartTable_t final { private: const usbMultiPartDesc_t *_begin{nullptr}; const usbMultiPartDesc_t *_en...
32.98
93
0.746513
DX-MON
74f365a240f0ac9676dc2e9f0066e67d0f177ef9
5,898
cpp
C++
tools/net/SocketContext.cpp
dbpotato/common
72d7dc1f5267a134c58b76d5af8591b746f064aa
[ "MIT" ]
null
null
null
tools/net/SocketContext.cpp
dbpotato/common
72d7dc1f5267a134c58b76d5af8591b746f064aa
[ "MIT" ]
null
null
null
tools/net/SocketContext.cpp
dbpotato/common
72d7dc1f5267a134c58b76d5af8591b746f064aa
[ "MIT" ]
null
null
null
/* Copyright (c) 2019 - 2020 Adam Kaniewski Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distr...
25.755459
110
0.673788
dbpotato
74f3a82cd0f1e91f7d23112dad73328d77efeabd
2,398
cpp
C++
src/process.cpp
Lee0326/CppND-System-Monitor-Project-Updated
90c987ef09ce36d6ce129f2e914782ca29aa9d4f
[ "MIT" ]
null
null
null
src/process.cpp
Lee0326/CppND-System-Monitor-Project-Updated
90c987ef09ce36d6ce129f2e914782ca29aa9d4f
[ "MIT" ]
null
null
null
src/process.cpp
Lee0326/CppND-System-Monitor-Project-Updated
90c987ef09ce36d6ce129f2e914782ca29aa9d4f
[ "MIT" ]
null
null
null
#include "process.h" #include <unistd.h> #include <cctype> #include <sstream> #include <string> #include <vector> using std::string; using std::to_string; using std::vector; Process::Process(int id) : id_(id) { address_cmd = "/proc/" + std::to_string(id) + "/cmdline"; address_cpu = "/proc/" + std::to_string(id)...
24.721649
73
0.6201
Lee0326
74f68c539558392b73ce017222e600eefa76ba90
6,153
hpp
C++
Code/Engine/Renderer/Shaders/ShaderProgram.hpp
ntaylorbishop/Copycat
c02f2881f0700a33a2630fd18bc409177d80b8cd
[ "MIT" ]
2
2017-10-02T03:18:55.000Z
2018-11-21T16:30:36.000Z
Code/Engine/Renderer/Shaders/ShaderProgram.hpp
ntaylorbishop/Copycat
c02f2881f0700a33a2630fd18bc409177d80b8cd
[ "MIT" ]
null
null
null
Code/Engine/Renderer/Shaders/ShaderProgram.hpp
ntaylorbishop/Copycat
c02f2881f0700a33a2630fd18bc409177d80b8cd
[ "MIT" ]
null
null
null
#pragma once #include <functional> #include "Engine/General/Core/TheMemoryManager.hpp" #include "Engine/Renderer/Shaders/Uniform.hpp" #include "Engine/Renderer/Shaders/Shader.hpp" #include "Engine/Renderer/Vertex/VertexDefinition.hpp" class SSBO; class ShaderProgram { public: //CREATION DELETION USE static Shader...
44.586957
146
0.593857
ntaylorbishop
74fe9503710d2b0ded3bdbfb0d7b04c11996b8d6
4,744
cpp
C++
tengine/network/commands.cpp
BSVino/Digitanks
1bd1ed115493bce22001ae6684b70b8fcf135db0
[ "BSD-4-Clause" ]
5
2015-07-03T18:42:32.000Z
2017-08-25T10:28:12.000Z
tengine/network/commands.cpp
BSVino/Digitanks
1bd1ed115493bce22001ae6684b70b8fcf135db0
[ "BSD-4-Clause" ]
null
null
null
tengine/network/commands.cpp
BSVino/Digitanks
1bd1ed115493bce22001ae6684b70b8fcf135db0
[ "BSD-4-Clause" ]
null
null
null
#include "commands.h" #include <common.h> #include <strutils.h> #include <tinker/application.h> #include <tinker/cvar.h> CVar net_debug("net_debug", "off"); void CNetworkCommand::RunCommand(const tstring& sParameters) { RunCommand(m_iConnection, sParameters, m_iMessageTarget); } void CNetworkCommand::RunCommand(i...
23.254902
108
0.704047
BSVino
74ff1cef7d5462f1da6a7114f7a6d127d3a3fb3c
2,548
cpp
C++
ui/CxDynObjs/CxDynObjs.cpp
johnzcdGitHub/SuperCxHMI
e897b7bdf30cfe3bfeb5b8738e10c7205ebcd665
[ "MIT" ]
118
2015-05-19T09:19:01.000Z
2022-02-24T15:18:51.000Z
ui/CxDynObjs/CxDynObjs.cpp
PythonYanshenguan/SuperCxHMI
19f681583fca56c528b51b5821fe842c80bcae24
[ "MIT" ]
1
2016-10-24T02:48:03.000Z
2020-04-20T01:53:31.000Z
ui/CxDynObjs/CxDynObjs.cpp
PythonYanshenguan/SuperCxHMI
19f681583fca56c528b51b5821fe842c80bcae24
[ "MIT" ]
98
2015-02-11T07:16:47.000Z
2022-02-24T02:15:27.000Z
// CxDynObjs.cpp : Implementation of DLL Exports. // Note: Proxy/Stub Information // To build a separate proxy/stub DLL, // run nmake -f CxDynObjsps.mk in the project directory. #include "stdafx.h" #include "resource.h" #include <initguid.h> #include "CxDynObjs.h" #include "CxHmiObj_i.c" #include "CxDynO...
28
79
0.644427
johnzcdGitHub
2d024d4d63c17959fdf249bc098e9f5add5886a8
3,811
cpp
C++
src/PatternEditor.cpp
cupcake99/prototracker
080755404e925d9a2ec43af1247bfc2579078da6
[ "MIT" ]
null
null
null
src/PatternEditor.cpp
cupcake99/prototracker
080755404e925d9a2ec43af1247bfc2579078da6
[ "MIT" ]
null
null
null
src/PatternEditor.cpp
cupcake99/prototracker
080755404e925d9a2ec43af1247bfc2579078da6
[ "MIT" ]
null
null
null
#include "PatternEditor.h" #include "PatternRow.h" #include "Sequence.h" #include "SequenceRow.h" #include "EditorState.h" #include "Song.h" #include "Pattern.h" #include "Renderer.h" #include "Color.h" #include "PlayerState.h" #include "IPlayer.h" #include "SDL.h" PatternEditor::PatternEditor(EditorState& editorState...
23.968553
127
0.748098
cupcake99
2d039635d52a157a86cd12bd7688926ffae5a481
123
hpp
C++
posix/subsystem/src/subsystem/drm.hpp
kITerE/managarm
e6d1229a0bed68cb672a9cad300345a9006d78c1
[ "MIT" ]
935
2018-05-23T14:56:18.000Z
2022-03-29T07:27:20.000Z
posix/subsystem/src/subsystem/drm.hpp
kITerE/managarm
e6d1229a0bed68cb672a9cad300345a9006d78c1
[ "MIT" ]
314
2018-05-04T15:58:06.000Z
2022-03-30T16:24:17.000Z
posix/subsystem/src/subsystem/drm.hpp
kITerE/managarm
e6d1229a0bed68cb672a9cad300345a9006d78c1
[ "MIT" ]
65
2019-04-21T14:26:51.000Z
2022-03-12T03:16:41.000Z
#pragma once #include <async/result.hpp> namespace drm_subsystem { async::detached run(); } // namespace drm_subsystem
12.3
28
0.739837
kITerE
2d11f9493e1c6639dba3eec8a0994bb2c0992d8a
3,889
cpp
C++
d912pxy/d912pxy_pool_memcat.cpp
dnblank123/d912pxy
a50a3f790d938424e0046c3c16ee8faae5b48d02
[ "MIT" ]
1,076
2019-01-11T02:04:35.000Z
2022-03-24T19:00:46.000Z
d912pxy/d912pxy_pool_memcat.cpp
dnblank123/d912pxy
a50a3f790d938424e0046c3c16ee8faae5b48d02
[ "MIT" ]
398
2019-01-16T07:58:30.000Z
2022-02-26T11:53:46.000Z
d912pxy/d912pxy_pool_memcat.cpp
ConnectionMaster/d912pxy
8bc386e1ae48df5a258620727738c0f3140f28f3
[ "MIT" ]
140
2019-01-25T09:58:31.000Z
2022-03-24T10:56:41.000Z
/* MIT License Copyright(c) 2018-2019 megai2 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files(the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, dist...
28.595588
121
0.768835
dnblank123
2d15f64ddeec4ccc46c2ad88dd477b13e7bcbbcc
10,692
cpp
C++
packages/monte_carlo/collision/native/test/tstElasticNeutronNuclearScatteringDistribution.cpp
lkersting/SCR-2123
06ae3d92998664a520dc6a271809a5aeffe18f72
[ "BSD-3-Clause" ]
null
null
null
packages/monte_carlo/collision/native/test/tstElasticNeutronNuclearScatteringDistribution.cpp
lkersting/SCR-2123
06ae3d92998664a520dc6a271809a5aeffe18f72
[ "BSD-3-Clause" ]
null
null
null
packages/monte_carlo/collision/native/test/tstElasticNeutronNuclearScatteringDistribution.cpp
lkersting/SCR-2123
06ae3d92998664a520dc6a271809a5aeffe18f72
[ "BSD-3-Clause" ]
null
null
null
//---------------------------------------------------------------------------// //! //! \file tstElasticNeutronNuclearScatteringDistribution.cpp //! \author Alex Robinson //! \brief Elastic neutron scattering distribution unit tests //! //---------------------------------------------------------------------------// ...
37.384615
128
0.680228
lkersting
2d1df151a56d40a879ea75540539f82510a48c0b
5,595
cpp
C++
CCraft/src/renderer/ButtonParser/ButtonParser.cpp
8infy/CCraft
a550ba0735aadd0544531147d7113807836d81f4
[ "Apache-2.0" ]
2
2019-10-11T20:30:42.000Z
2021-03-12T16:33:18.000Z
CCraft/src/renderer/ButtonParser/ButtonParser.cpp
8infy/CCraft
a550ba0735aadd0544531147d7113807836d81f4
[ "Apache-2.0" ]
null
null
null
CCraft/src/renderer/ButtonParser/ButtonParser.cpp
8infy/CCraft
a550ba0735aadd0544531147d7113807836d81f4
[ "Apache-2.0" ]
null
null
null
#include "ButtonParser.h" namespace CCraft { ButtonParser::ButtonParser() : logger("BUTTON_PARSER") { parse("res/buttons.txt"); } void ButtonParser::parse(const char* path) { std::ifstream stream(path); std::string line; bool parsingInProgress = false; bool parsingCoords = false; bool parsingTextu...
30.243243
136
0.591063
8infy
2d1e3b003ec43bfdcfb44037f73258dc36a65a0a
5,149
cpp
C++
helper/ui/WebView/HWebViewImplAndroid.cpp
kpkhxlgy0/cocos2dh-js
d84f76b505ad0f2fdb799721352a4f510795a096
[ "MIT" ]
2
2017-11-17T02:54:32.000Z
2018-11-26T08:17:23.000Z
helper/ui/WebView/HWebViewImplAndroid.cpp
kpkhxlgy0/cocos2dh-js
d84f76b505ad0f2fdb799721352a4f510795a096
[ "MIT" ]
null
null
null
helper/ui/WebView/HWebViewImplAndroid.cpp
kpkhxlgy0/cocos2dh-js
d84f76b505ad0f2fdb799721352a4f510795a096
[ "MIT" ]
null
null
null
#include "HWebViewImplAndroid.h" #if (CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID) #include "../../../cocos2dx/platform/android/jni/JniHelper.h" #include <jni.h> #define CLASS_NAME "org/cocos2dxh/lib/Cocos2dxhWebView" NS_CC_H_BEGIN extern "C" { // static void createWebViewWithSizeJNI(float INw, floa...
33.653595
167
0.66207
kpkhxlgy0
2d20ea0e2cd2f0d3d1b3fb45da01ce6666c8f4f8
9,435
hpp
C++
2021/httpRouter/http_router.hpp
maxcong001/innoHub
203707116939c6d08d6efb748b28c6826758a0d9
[ "Apache-2.0" ]
null
null
null
2021/httpRouter/http_router.hpp
maxcong001/innoHub
203707116939c6d08d6efb748b28c6826758a0d9
[ "Apache-2.0" ]
null
null
null
2021/httpRouter/http_router.hpp
maxcong001/innoHub
203707116939c6d08d6efb748b28c6826758a0d9
[ "Apache-2.0" ]
null
null
null
#pragma once #include <vector> #include <map> #include <unordered_map> #include <string> #include <string_view> #include "tree.h" #include "function_traits.hpp" using radixtree::HandleFunc; using radixtree::ParseResult; using radixtree::RadixTree; using radixtree::request; using radixtree::response; namespace cinatra...
29.857595
153
0.659141
maxcong001
2d24104e883feb379f79ddd75e1bc7109e929653
5,399
cc
C++
src/libtablefs/tablefs_api_test.cc
zhengqmark/tablefs
d34e312b9c026c6250446c8fbc8f103460990ef8
[ "Unlicense" ]
16
2018-12-31T01:18:29.000Z
2021-11-08T23:03:31.000Z
src/libtablefs/tablefs_api_test.cc
zhengqmark/tablefs
d34e312b9c026c6250446c8fbc8f103460990ef8
[ "Unlicense" ]
null
null
null
src/libtablefs/tablefs_api_test.cc
zhengqmark/tablefs
d34e312b9c026c6250446c8fbc8f103460990ef8
[ "Unlicense" ]
5
2019-08-14T05:31:17.000Z
2021-12-30T02:42:58.000Z
/* * Copyright (c) 2019 Carnegie Mellon University, * Copyright (c) 2019 Triad National Security, LLC, as operator of * Los Alamos National Laboratory. * All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files...
29.183784
80
0.664197
zhengqmark
2d2852c7c76bdb0cc4b504a3043b9ad09da1b854
524
hpp
C++
Raven.ANPR.Recognizer/persister/plate_record.hpp
myarichuk/Raven.ANPR
f6c79d7af6f43f69b04ccdc8ef1fc7bd821e9222
[ "MIT" ]
null
null
null
Raven.ANPR.Recognizer/persister/plate_record.hpp
myarichuk/Raven.ANPR
f6c79d7af6f43f69b04ccdc8ef1fc7bd821e9222
[ "MIT" ]
null
null
null
Raven.ANPR.Recognizer/persister/plate_record.hpp
myarichuk/Raven.ANPR
f6c79d7af6f43f69b04ccdc8ef1fc7bd821e9222
[ "MIT" ]
null
null
null
#ifndef PLATE_HPP #define PLATE_HPP #include <string> #include <ctime> #include <chrono> #include <nlohmann/json.hpp> using json = nlohmann::json; struct plate { std::string number; std::time_t when_taken; }; namespace ns { inline void to_json(json& j, const plate& p) { j = json{{"number", p.number}, {"wh...
17.466667
69
0.648855
myarichuk
2d29f23f5b686d43ffbfce86ac6761eb02785ef9
332
hpp
C++
graphics-library/include/particle/emitter.hpp
thetorine/opengl3-library
3904d857fd1085ba2c57c4289eb0e0d123f11a14
[ "MIT" ]
null
null
null
graphics-library/include/particle/emitter.hpp
thetorine/opengl3-library
3904d857fd1085ba2c57c4289eb0e0d123f11a14
[ "MIT" ]
null
null
null
graphics-library/include/particle/emitter.hpp
thetorine/opengl3-library
3904d857fd1085ba2c57c4289eb0e0d123f11a14
[ "MIT" ]
null
null
null
#pragma once // control how many particles per second // control the area from which the particles spawn from // control how the color of the particle changes // control the direction of the particles namespace gl::particle { class Emitter { public: Emitter(int spawnRate); void updateParticles...
23.714286
55
0.698795
thetorine
2d2c04a6a125ff7e50773092b66d708113d28f75
6,842
cpp
C++
mcast-iface-tool.cpp
dannyp11/mcastit
2cc42ca3c07bcb595db66b9a2bb352a70c13c2e6
[ "BSD-2-Clause" ]
1
2021-01-01T15:08:39.000Z
2021-01-01T15:08:39.000Z
mcast-iface-tool.cpp
dannyp11/mcastit
2cc42ca3c07bcb595db66b9a2bb352a70c13c2e6
[ "BSD-2-Clause" ]
null
null
null
mcast-iface-tool.cpp
dannyp11/mcastit
2cc42ca3c07bcb595db66b9a2bb352a70c13c2e6
[ "BSD-2-Clause" ]
1
2017-11-24T07:07:05.000Z
2017-11-24T07:07:05.000Z
#include "Common.h" #include "SenderModule.h" #include "ReceiverModule.h" #include "ServerModule.h" // Global vars #define DEFAULT_MCAST_ADDRESS_V4 "239.192.0.123" #define DEFAULT_MCAST_ADDRESS_V6 "FFFE::1:FF47:0" #define DEFAULT_MCAST_PORT (12321) #define DEFAULT_SERVER_INTERVAL (1) static vector<IfaceDat...
23.923077
109
0.587694
dannyp11
2d2f4659fafc1c1f91bb1762913ab8a329ea8be2
667
hpp
C++
pythran/pythonic/numpy/random/rand.hpp
xmar/pythran
dbf2e8b70ed1e4d4ac6b5f26ead4add940a72592
[ "BSD-3-Clause" ]
null
null
null
pythran/pythonic/numpy/random/rand.hpp
xmar/pythran
dbf2e8b70ed1e4d4ac6b5f26ead4add940a72592
[ "BSD-3-Clause" ]
null
null
null
pythran/pythonic/numpy/random/rand.hpp
xmar/pythran
dbf2e8b70ed1e4d4ac6b5f26ead4add940a72592
[ "BSD-3-Clause" ]
null
null
null
#ifndef PYTHONIC_NUMPY_RANDOM_RAND_HPP #define PYTHONIC_NUMPY_RANDOM_RAND_HPP #include "pythonic/include/numpy/random/rand.hpp" #include "pythonic/numpy/random/random.hpp" #include "pythonic/types/ndarray.hpp" #include "pythonic/types/tuple.hpp" #include "pythonic/utils/functor.hpp" namespace pythonic { namespace ...
19.057143
68
0.647676
xmar
2d3757ba8001637ec8b8830759e55951cd7fc485
40,181
cpp
C++
tools/opt/FaultInjector.cpp
HPCL-INHA/fault-injector
50785e5f2da70389fbf7a9c73946bf8ad0f934e1
[ "Apache-2.0" ]
null
null
null
tools/opt/FaultInjector.cpp
HPCL-INHA/fault-injector
50785e5f2da70389fbf7a9c73946bf8ad0f934e1
[ "Apache-2.0" ]
null
null
null
tools/opt/FaultInjector.cpp
HPCL-INHA/fault-injector
50785e5f2da70389fbf7a9c73946bf8ad0f934e1
[ "Apache-2.0" ]
null
null
null
//===----------------------------------------------------------------------===// // // LLVM Fault Injection Tool // //===----------------------------------------------------------------------===// // // Copyright (C) 2019. rollrat. All Rights Reserved. // //===-----------------------------------...
30.979954
109
0.600831
HPCL-INHA
2d38f5de9635833c63a5711cb0243ab47c434c05
23,357
cpp
C++
CppLib/src/chipdnastatus.cpp
wunderfeyd/chipdna-winlin-client-cpp
6db0060c88c364426b8faa9b34f6082c47b34eef
[ "MIT" ]
1
2019-09-07T07:06:24.000Z
2019-09-07T07:06:24.000Z
CppLib/src/chipdnastatus.cpp
wunderfeyd/chipdna-winlin-client-cpp
6db0060c88c364426b8faa9b34f6082c47b34eef
[ "MIT" ]
4
2020-01-30T06:09:09.000Z
2022-02-08T10:44:17.000Z
CppLib/src/chipdnastatus.cpp
wunderfeyd/chipdna-winlin-client-cpp
6db0060c88c364426b8faa9b34f6082c47b34eef
[ "MIT" ]
1
2021-12-22T10:22:40.000Z
2021-12-22T10:22:40.000Z
#include "chipdnastatus.h" #include <sstream> #include <cstdlib> #include <cstring> #include "pugixml.hpp" #include "parameterkeys.h" namespace ChipDnaClientLib { static bool StringToBool(std::string & str) { if (str.length() > 1) { if (str == "True") return true; if (str == "true") return true; } ...
35.229261
164
0.750011
wunderfeyd
2d3a8a1e314a48372a2a01311b0eb90e7aa766bd
14,006
cpp
C++
src/lul/Lucena-Utilities.cpp
bitweeder/Lucena-Utilities
e651cb55557cc785b7a75e0a12c4acb34d0dc5f4
[ "BSD-3-Clause", "MIT" ]
null
null
null
src/lul/Lucena-Utilities.cpp
bitweeder/Lucena-Utilities
e651cb55557cc785b7a75e0a12c4acb34d0dc5f4
[ "BSD-3-Clause", "MIT" ]
null
null
null
src/lul/Lucena-Utilities.cpp
bitweeder/Lucena-Utilities
e651cb55557cc785b7a75e0a12c4acb34d0dc5f4
[ "BSD-3-Clause", "MIT" ]
null
null
null
/*------------------------------------------------------------------------------ Lucena Utilities Library “Lucena-Utilities.cpp” Copyright © 2015-2018 Lucena All Rights Reserved This file is distributed under the University of Illinois Open Source License. See license/License.txt for details. SEEME This file ...
29.73673
104
0.789305
bitweeder
2d3cd2ed7d4bb60838ca74684e136b5df3c4f55e
722
hpp
C++
offline/include/cppjieba/limonp/Condition.hpp
stdbilly/mini-Search-Enigine
d64ec090934f82b96d000597124c6b5f4ed8db0c
[ "MIT" ]
14
2019-12-14T09:15:13.000Z
2021-11-18T08:53:28.000Z
offline/include/cppjieba/limonp/Condition.hpp
stdbilly/mini-Search-Enigine
d64ec090934f82b96d000597124c6b5f4ed8db0c
[ "MIT" ]
null
null
null
offline/include/cppjieba/limonp/Condition.hpp
stdbilly/mini-Search-Enigine
d64ec090934f82b96d000597124c6b5f4ed8db0c
[ "MIT" ]
4
2020-03-05T06:19:18.000Z
2021-11-04T15:46:59.000Z
#ifndef LIMONP_CONDITION_HPP #define LIMONP_CONDITION_HPP #include "MutexLock.hpp" namespace limonp { class Condition : NonCopyable { public: explicit Condition(MutexLock& mutex) : mutex_(mutex) { XCHECK(!pthread_cond_init(&pcond_, NULL)); } ~Condition() { XCHECK(!pthread_cond_dest...
18.512821
67
0.657895
stdbilly
2d4833fb59574b95dac8b2bc7a03fbf5fc24f306
3,149
cpp
C++
PC_TercerExamen_23-dic-21/P11_Fire/P11_Fire.cpp
MisaelVM/ProgComp2021B
6134ae425a4c1a4f087bc1e14615d1f06979beff
[ "BSD-3-Clause" ]
null
null
null
PC_TercerExamen_23-dic-21/P11_Fire/P11_Fire.cpp
MisaelVM/ProgComp2021B
6134ae425a4c1a4f087bc1e14615d1f06979beff
[ "BSD-3-Clause" ]
null
null
null
PC_TercerExamen_23-dic-21/P11_Fire/P11_Fire.cpp
MisaelVM/ProgComp2021B
6134ae425a4c1a4f087bc1e14615d1f06979beff
[ "BSD-3-Clause" ]
null
null
null
#include <bits/stdc++.h> bool managed_to_escape(int r, int c, int n, int m) { return (!r || !c || r == n - 1 || c == m - 1); } void propagate_fire(std::vector<std::vector<int>>& map, std::pair<int, int> fire_pos) { map[fire_pos.first][fire_pos.second] = 0; std::queue<std::pair<int, int>> search; search.push(fire_...
22.492857
90
0.500159
MisaelVM
2d49256d4c733fd88ba5ecfe7693d728ae5c5c55
5,869
hpp
C++
include/mfemopt/pdcoefficient.hpp
stefanozampini/petscopt
73e4f9d50b1d216ff21d9322b5f83e8ca247ec24
[ "BSD-2-Clause" ]
9
2019-02-06T14:25:32.000Z
2022-03-31T19:50:01.000Z
include/mfemopt/pdcoefficient.hpp
stefanozampini/petscopt
73e4f9d50b1d216ff21d9322b5f83e8ca247ec24
[ "BSD-2-Clause" ]
null
null
null
include/mfemopt/pdcoefficient.hpp
stefanozampini/petscopt
73e4f9d50b1d216ff21d9322b5f83e8ca247ec24
[ "BSD-2-Clause" ]
1
2021-10-19T04:26:48.000Z
2021-10-19T04:26:48.000Z
#if !defined(_MFEMOPT_PDCOEFFICIENT_HPP) #define _MFEMOPT_PDCOEFFICIENT_HPP #include <petscoptconf.h> #if defined(PETSCOPT_HAVE_MFEMOPT) #include <mfemoptconf.h> #include <mfem/linalg/petsc.hpp> #include <mfem/fem/coefficient.hpp> #include <mfem/fem/pgridfunc.hpp> #include <mfem/fem/pbilinearform.hpp> #include <mfem/...
35.786585
165
0.702505
stefanozampini
2d494a101282510f3c519cff3533fbc1551cc422
2,315
cpp
C++
femm/cd_CircProp.cpp
ResonanceGroup/FEMM
227f1cb46fc18b298e2da48d732692c206d0539f
[ "MIT" ]
1
2020-05-18T00:57:57.000Z
2020-05-18T00:57:57.000Z
femm/cd_CircProp.cpp
ResonanceGroup/FEMM
227f1cb46fc18b298e2da48d732692c206d0539f
[ "MIT" ]
1
2018-05-02T13:43:31.000Z
2018-05-02T13:43:31.000Z
femm/cd_CircProp.cpp
ResonanceGroup/FEMM
227f1cb46fc18b298e2da48d732692c206d0539f
[ "MIT" ]
3
2018-05-02T13:38:43.000Z
2021-05-19T10:48:49.000Z
// CircProp.cpp : implementation file // #include "stdafx.h" #include "femm.h" #include "cd_CircProp.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // cdCCircProp dialog ...
22.475728
108
0.642765
ResonanceGroup
2d4a82fcbb0a9a9b4bbb29fd839a34eddd0e5a74
596
cpp
C++
Codeforces/A. Petya and string.cpp
Sohelr360/my_codes
9bdd28f62d3850aad8f8af2a253ba66138a7057c
[ "MIT" ]
null
null
null
Codeforces/A. Petya and string.cpp
Sohelr360/my_codes
9bdd28f62d3850aad8f8af2a253ba66138a7057c
[ "MIT" ]
null
null
null
Codeforces/A. Petya and string.cpp
Sohelr360/my_codes
9bdd28f62d3850aad8f8af2a253ba66138a7057c
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main() { string s1,s2; cin>>s1>>s2; int i,j; for(i = 0; i < s1.size(); i++) { if(s1[i] >= 'A' && s1[i] <= 'Z' ) { s1[i] = tolower(s1[i]); } if(s2[i] >= 'A' && s2[i] <= 'Z') { ...
22.074074
49
0.377517
Sohelr360
2d4caef478be2163b4d2bde1a069bea7b9a8acae
4,296
cpp
C++
Code/Engine/Renderer/ReflectionProbes/StaticReflectionProbeManager.cpp
ntaylorbishop/Copycat
c02f2881f0700a33a2630fd18bc409177d80b8cd
[ "MIT" ]
2
2017-10-02T03:18:55.000Z
2018-11-21T16:30:36.000Z
Code/Engine/Renderer/ReflectionProbes/StaticReflectionProbeManager.cpp
ntaylorbishop/Copycat
c02f2881f0700a33a2630fd18bc409177d80b8cd
[ "MIT" ]
null
null
null
Code/Engine/Renderer/ReflectionProbes/StaticReflectionProbeManager.cpp
ntaylorbishop/Copycat
c02f2881f0700a33a2630fd18bc409177d80b8cd
[ "MIT" ]
null
null
null
#include "Engine/Renderer/ReflectionProbes/StaticReflectionProbeManager.hpp" #include "Engine/Renderer/ReflectionProbes/StaticReflectionProbe.hpp" #include "Engine/Renderer/Shaders/ShaderProgram.hpp" #include "Engine/General/Core/BeirusEngine.hpp" #include "Engine/Utils/FileUtils/FileUtils.hpp" #include "Engine/Scene/S...
38.702703
125
0.44297
ntaylorbishop
2d4d4940c504a6f1acaa3571443afb101356bd00
2,434
hpp
C++
newweb/browser/render_process/ipc_renderer.hpp
cauthu/shadow-browser-plugin
e1eb930b1bdf71cb3cdcbb1d70467e6e6203c298
[ "BSD-3-Clause" ]
null
null
null
newweb/browser/render_process/ipc_renderer.hpp
cauthu/shadow-browser-plugin
e1eb930b1bdf71cb3cdcbb1d70467e6e6203c298
[ "BSD-3-Clause" ]
null
null
null
newweb/browser/render_process/ipc_renderer.hpp
cauthu/shadow-browser-plugin
e1eb930b1bdf71cb3cdcbb1d70467e6e6203c298
[ "BSD-3-Clause" ]
null
null
null
#ifndef ipc_renderer_hpp #define ipc_renderer_hpp #include "../../utility/stream_channel.hpp" #include "../../utility/stream_server.hpp" #include "../../utility/generic_message_channel.hpp" #include "../../utility/ipc/generic_ipc_channel.hpp" #include "../../utility/object.hpp" #include "utility/ipc/renderer/gen/combi...
34.28169
101
0.679951
cauthu
2d536927a71269ebe26b4575635bdf81793a6aae
2,623
cpp
C++
leetcode/problems/medium/1823-find-the-winner-of-the-circular-game.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
18
2020-08-27T05:27:50.000Z
2022-03-08T02:56:48.000Z
leetcode/problems/medium/1823-find-the-winner-of-the-circular-game.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
null
null
null
leetcode/problems/medium/1823-find-the-winner-of-the-circular-game.cpp
wingkwong/competitive-programming
e8bf7aa32e87b3a020b63acac20e740728764649
[ "MIT" ]
1
2020-10-13T05:23:58.000Z
2020-10-13T05:23:58.000Z
/* Find the Winner of the Circular Game https://leetcode.com/problems/find-the-winner-of-the-circular-game/ There are n friends that are playing a game. The friends are sitting in a circle and are numbered from 1 to n in clockwise order. More formally, moving clockwise from the ith friend brings you to the (i+1)th fri...
33.628205
301
0.670987
wingkwong
2d53dc62570ed6e8a0e4b4b160e76b09631afb6a
1,759
hpp
C++
gearoenix/render/model/gx-rnd-mdl-manager.hpp
Hossein-Noroozpour/gearoenix
c8fa8b8946c03c013dad568d6d7a97d81097c051
[ "BSD-Source-Code" ]
35
2018-01-07T02:34:38.000Z
2022-02-09T05:19:03.000Z
gearoenix/render/model/gx-rnd-mdl-manager.hpp
Hossein-Noroozpour/gearoenix
c8fa8b8946c03c013dad568d6d7a97d81097c051
[ "BSD-Source-Code" ]
111
2017-09-20T09:12:36.000Z
2020-12-27T12:52:03.000Z
gearoenix/render/model/gx-rnd-mdl-manager.hpp
Hossein-Noroozpour/gearoenix
c8fa8b8946c03c013dad568d6d7a97d81097c051
[ "BSD-Source-Code" ]
5
2020-02-11T11:17:37.000Z
2021-01-08T17:55:43.000Z
#ifndef GEAROENIX_RENDER_MODEL_MANAGER_HPP #define GEAROENIX_RENDER_MODEL_MANAGER_HPP #include "../../core/asset/gx-cr-asset-manager.hpp" #include "../../core/cache/gx-cr-cache-file.hpp" #include "../../core/gx-cr-types.hpp" #include "../../core/sync/gx-cr-sync-end-caller.hpp" #include "gx-rnd-mdl-model.hpp" #include <...
37.425532
117
0.704946
Hossein-Noroozpour
2d5748be87ed18c0e7301ee1b46d6583f4fb77c2
16,278
cpp
C++
5raytex/main.cpp
jacmoe/retronew
0303272d800c1553464705a563eca28297f08d67
[ "BSD-2-Clause" ]
5
2021-03-05T08:42:19.000Z
2021-07-05T13:05:47.000Z
5raytex/main.cpp
jacmoe/retronew
0303272d800c1553464705a563eca28297f08d67
[ "BSD-2-Clause" ]
null
null
null
5raytex/main.cpp
jacmoe/retronew
0303272d800c1553464705a563eca28297f08d67
[ "BSD-2-Clause" ]
null
null
null
#define OLC_PGE_APPLICATION #include "olcPixelGameEngine.h" #include "utils.h" class TexturedRaycasterDemo: public olc::PixelGameEngine { private: const double PI = 3.141592654; const int IMAGE_WIDTH = 64; const int IMAGE_HEIGHT = 64; typedef char map_type[16][16]; const int WALL_HEIGHT = 64; ...
31.183908
145
0.483597
jacmoe
2d57652b97f74f678b023f140d3eb6b5be0ab42d
542
cpp
C++
AnnService/src/IVF/IndexBuild.cpp
RubyOcelot/SPTAG-1
17eaf0d39397074688b03260c1fb1aa2d8b01b63
[ "MIT" ]
null
null
null
AnnService/src/IVF/IndexBuild.cpp
RubyOcelot/SPTAG-1
17eaf0d39397074688b03260c1fb1aa2d8b01b63
[ "MIT" ]
null
null
null
AnnService/src/IVF/IndexBuild.cpp
RubyOcelot/SPTAG-1
17eaf0d39397074688b03260c1fb1aa2d8b01b63
[ "MIT" ]
null
null
null
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #include "inc/SSDServing/main.h" #include "inc/IVF/SPTAGSSDServingWrapper.h" using namespace SPTAG; //TODO vectortype float, type int main(int argc, char* argv[]) { if (argc < 2) { LOG(Helper::LogLevel:...
20.846154
69
0.642066
RubyOcelot
2d58f91ef32bf976325dce9b4d6b348baa751935
14,349
cc
C++
cvmfs/upload_s3.cc
egede/cvmfs
168cdbeeec9dabd1898d4ab7964cb3b9f63cfcd7
[ "BSD-3-Clause" ]
null
null
null
cvmfs/upload_s3.cc
egede/cvmfs
168cdbeeec9dabd1898d4ab7964cb3b9f63cfcd7
[ "BSD-3-Clause" ]
null
null
null
cvmfs/upload_s3.cc
egede/cvmfs
168cdbeeec9dabd1898d4ab7964cb3b9f63cfcd7
[ "BSD-3-Clause" ]
null
null
null
/** * This file is part of the CernVM File System. */ #include "upload_s3.h" #include <errno.h> #include <fcntl.h> #include <inttypes.h> #ifdef _POSIX_PRIORITY_SCHEDULING #include <sched.h> #endif #include <unistd.h> #include <string> #include <vector> #include "compression.h" #include "logging.h" #include "optio...
31.605727
80
0.63426
egede
2d5d9eb64acba43ea2acb42d420e1b28e0826903
5,411
cpp
C++
src/virtual_machine.cpp
kmacbeth/chip8vm
3ec7312767fcdbc83b51ed16e8f9e25d68f28b3a
[ "MIT" ]
null
null
null
src/virtual_machine.cpp
kmacbeth/chip8vm
3ec7312767fcdbc83b51ed16e8f9e25d68f28b3a
[ "MIT" ]
null
null
null
src/virtual_machine.cpp
kmacbeth/chip8vm
3ec7312767fcdbc83b51ed16e8f9e25d68f28b3a
[ "MIT" ]
null
null
null
/* * MIT License * * Copyright (c) 2020 Martin Lafreniere * * 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...
26.140097
81
0.643689
kmacbeth
2d5f7cf1a9b6588933ec068eabc4932962eb196a
2,050
hpp
C++
include/bugspray/utility/macros/macro_get_nth_arg.hpp
jan-moeller/bugspray
77777526f4445283b5f48b6f11ef82c84fdb167b
[ "MIT" ]
null
null
null
include/bugspray/utility/macros/macro_get_nth_arg.hpp
jan-moeller/bugspray
77777526f4445283b5f48b6f11ef82c84fdb167b
[ "MIT" ]
null
null
null
include/bugspray/utility/macros/macro_get_nth_arg.hpp
jan-moeller/bugspray
77777526f4445283b5f48b6f11ef82c84fdb167b
[ "MIT" ]
null
null
null
// // MIT License // // Copyright (c) 2022 Jan Möller // // 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, modif...
45.555556
81
0.781463
jan-moeller
2d638057cbf760ace584aa3b7c418232932027de
1,072
cpp
C++
ofxWindowApp-exampleMiniFeat/src/ofApp.cpp
moebiussurfing/ofxWindowApp
036c45c70995ddc74ac34fbc5e999b1ad28a6d0e
[ "MIT" ]
3
2020-02-22T16:32:32.000Z
2021-05-06T23:46:33.000Z
ofxWindowApp-exampleMiniFeat/src/ofApp.cpp
moebiussurfing/ofxWindowApp
036c45c70995ddc74ac34fbc5e999b1ad28a6d0e
[ "MIT" ]
null
null
null
ofxWindowApp-exampleMiniFeat/src/ofApp.cpp
moebiussurfing/ofxWindowApp
036c45c70995ddc74ac34fbc5e999b1ad28a6d0e
[ "MIT" ]
null
null
null
#include "ofApp.h" //-------------------------------------------------------------- void ofApp::setup() { #ifdef USE_ofxWindowApp //required when started for first time or no file settings present //windowApp.setFrameRate(60); //windowApp.setVerticalSync(true); //can get some addon settings if required if (wind...
26.146341
104
0.608209
moebiussurfing
2d651727ceecacf80f36810dd0d36d0ce21056f3
777
cpp
C++
git_C++/SET IV/Tema SET 4/5/main.cpp
sorinmiroiu97/old-CPP-stuff
d6f7b3573c1f81597795cea75c5f76fd95c4395b
[ "MIT" ]
1
2021-11-28T14:36:35.000Z
2021-11-28T14:36:35.000Z
git_C++/SET IV/Tema SET 4/5/main.cpp
sorinmiroiu97/old-CPP-stuff
d6f7b3573c1f81597795cea75c5f76fd95c4395b
[ "MIT" ]
null
null
null
git_C++/SET IV/Tema SET 4/5/main.cpp
sorinmiroiu97/old-CPP-stuff
d6f7b3573c1f81597795cea75c5f76fd95c4395b
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int n,m,i,j,o,v[100],p[100],imp[100]; int main() { cout <<"Introduceti numarul de elemente n="; cin>>n; cout<<"Introduceti elementele multimii"<<endl; for(i=1;i<=n;i++) { cout<<"v["<<i<<"]="; cin>>v[i]; } for(i=1;i<=n;i+...
18.5
54
0.377091
sorinmiroiu97
2d67a865203ff09a6baf2e59584a40431da2f149
293
cpp
C++
tests/RemoveDuplicateLettersTest.cpp
yanzhe-chen/LeetCode
d82f0b9721ea613ab216c78e7286671d0e9e4187
[ "MIT" ]
43
2015-10-10T12:59:52.000Z
2018-07-11T18:07:00.000Z
tests/RemoveDuplicateLettersTest.cpp
yanzhe-chen/LeetCode
d82f0b9721ea613ab216c78e7286671d0e9e4187
[ "MIT" ]
null
null
null
tests/RemoveDuplicateLettersTest.cpp
yanzhe-chen/LeetCode
d82f0b9721ea613ab216c78e7286671d0e9e4187
[ "MIT" ]
11
2015-10-10T14:41:11.000Z
2018-07-28T06:03:16.000Z
#include "catch.hpp" #include "RemoveDuplicateLetters.hpp" TEST_CASE("Remove Duplicate Letters") { RemoveDuplicateLetters s; SECTION("Sample test") { REQUIRE(s.removeDuplicateLetters("bcabc") == "abc"); REQUIRE(s.removeDuplicateLetters("cbacdcbc") == "acdb"); } }
26.636364
64
0.675768
yanzhe-chen
2d6808be1fc93ac37f8385f3d2f8163c3be3936a
4,035
cpp
C++
sources/libengine/gui/layouts/lineAndTable.cpp
ucpu/cage
c7abf329d84a81a40ff11f93c6ce88290bb898ac
[ "MIT" ]
23
2018-03-18T14:28:26.000Z
2022-03-25T20:32:29.000Z
sources/libengine/gui/layouts/lineAndTable.cpp
ucpu/cage
c7abf329d84a81a40ff11f93c6ce88290bb898ac
[ "MIT" ]
8
2018-08-12T20:14:34.000Z
2021-09-04T21:24:19.000Z
sources/libengine/gui/layouts/lineAndTable.cpp
ucpu/cage
c7abf329d84a81a40ff11f93c6ce88290bb898ac
[ "MIT" ]
2
2019-11-03T17:11:51.000Z
2021-03-31T02:05:33.000Z
#include <cage-core/enumerate.h> #include "../private.h" namespace cage { namespace { struct LayoutTableImpl : public LayoutItem { GuiLayoutTableComponent data; // may not be reference std::vector<Real> widths; std::vector<Real> heights; uint32 mws = 0, mhs = 0; LayoutTableImpl(HierarchyItem *hi...
25.21875
95
0.580917
ucpu
2d6960c030f556df628858d1ebbf9957e6f54054
1,979
hpp
C++
include/ternary_node.hpp
magicmoremagic/bengine-blt
fc2e07107dca0689d44ebd066b74d5bac7cacfa8
[ "MIT" ]
null
null
null
include/ternary_node.hpp
magicmoremagic/bengine-blt
fc2e07107dca0689d44ebd066b74d5bac7cacfa8
[ "MIT" ]
null
null
null
include/ternary_node.hpp
magicmoremagic/bengine-blt
fc2e07107dca0689d44ebd066b74d5bac7cacfa8
[ "MIT" ]
null
null
null
#pragma once #ifndef BE_BLT_TERNARY_NODE_HPP_ #define BE_BLT_TERNARY_NODE_HPP_ #include "node.hpp" #include "token_type.hpp" namespace be::blt { struct TernaryNode : Node { std::unique_ptr<Node> condition; std::unique_ptr<Node> true_expr; std::unique_ptr<Node> false_expr; TernaryNode(std::unique_ptr<Nod...
30.446154
153
0.627084
magicmoremagic
0627956a21568665c7d0edac7a34e270ba3baaaf
12,976
hpp
C++
include/cxx_plugins/polymorphic.hpp
Spaghetti-Software/cxx_plugins
e679ef19079d4b9e3fcf26d1422f690b1cf1ebcb
[ "MIT" ]
null
null
null
include/cxx_plugins/polymorphic.hpp
Spaghetti-Software/cxx_plugins
e679ef19079d4b9e3fcf26d1422f690b1cf1ebcb
[ "MIT" ]
null
null
null
include/cxx_plugins/polymorphic.hpp
Spaghetti-Software/cxx_plugins
e679ef19079d4b9e3fcf26d1422f690b1cf1ebcb
[ "MIT" ]
null
null
null
/************************************************************************************************* * Copyright (C) 2020 by Andrey Ponomarev and Timur Kazhimuratov * This file is part of CXX Plugins project. * License is available at * https://github.com/Spaghetti-Software/cxx_plugins/blob/master/LICENSE **********...
30.821853
101
0.64442
Spaghetti-Software
062888d12f3dc5a593b2188f98e39bc3d16f8ba6
17,990
hpp
C++
include/lockfree_wrapper.hpp
MatthiasKillat/universal_lockfree
6c39f478e6eb08933b42d5d4693f2c9c14c76b9e
[ "MIT" ]
null
null
null
include/lockfree_wrapper.hpp
MatthiasKillat/universal_lockfree
6c39f478e6eb08933b42d5d4693f2c9c14c76b9e
[ "MIT" ]
null
null
null
include/lockfree_wrapper.hpp
MatthiasKillat/universal_lockfree
6c39f478e6eb08933b42d5d4693f2c9c14c76b9e
[ "MIT" ]
null
null
null
#pragma once #include "allocator.hpp" #include <atomic> #include <functional> #include <set> #include <vector> #include <algorithm> #include <list> #include <string> #include <thread> #include <mutex> #include "assert.h" //potentially useful for read often, write seldom lockfree structures //or prototyping where pe...
31.616872
155
0.554475
MatthiasKillat
062cfa9c730317d4e9cfba7798785485692ed32e
4,691
hpp
C++
Variant/Variant.hpp
wuzhl2018/samples
57b974d45e9acfd4278d00adb24d3c5d07e531b2
[ "MIT" ]
80
2016-05-05T12:50:27.000Z
2020-02-09T07:58:04.000Z
Variant/Variant.hpp
wuzhl2018/samples
57b974d45e9acfd4278d00adb24d3c5d07e531b2
[ "MIT" ]
2
2017-07-11T06:46:30.000Z
2018-02-13T02:32:49.000Z
Variant/Variant.hpp
wuzhl2018/samples
57b974d45e9acfd4278d00adb24d3c5d07e531b2
[ "MIT" ]
42
2020-03-24T14:29:17.000Z
2022-03-07T05:54:50.000Z
#pragma once #include <typeindex> #include <iostream> /** 获取最大的整数 */ template <size_t arg, size_t... rest> struct IntegerMax; template <size_t arg> struct IntegerMax<arg> : std::integral_constant<size_t, arg> { }; template <size_t arg1, size_t arg2, size_t... rest> struct IntegerMax<arg1, arg2, rest...> : std::inte...
21.226244
120
0.652313
wuzhl2018
062d5cfd404918e2d5d4b487dde4d3575e69d645
958,725
cpp
C++
test/std/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/put_double.pass.cpp
ontio/libcxx-mirror
4b4f32ea383deb28911f5618126c6ea6c110b5e4
[ "Apache-2.0" ]
null
null
null
test/std/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/put_double.pass.cpp
ontio/libcxx-mirror
4b4f32ea383deb28911f5618126c6ea6c110b5e4
[ "Apache-2.0" ]
1
2019-04-21T16:53:33.000Z
2019-04-21T17:15:25.000Z
test/std/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/put_double.pass.cpp
ontio/libcxx-mirror
4b4f32ea383deb28911f5618126c6ea6c110b5e4
[ "Apache-2.0" ]
1
2020-09-09T07:40:32.000Z
2020-09-09T07:40:32.000Z
//===----------------------------------------------------------------------===// // // Part of the LLVM Project, 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 // //===---------------------------...
53.584004
120
0.230467
ontio
0634c063c7288fae469652b9ad6d684047f30c7f
4,060
hpp
C++
src/DSP/filters.hpp
cdstouter/Aether
d508569c72e7b438b67e8962bc6af347f76bb830
[ "MIT" ]
73
2021-04-04T00:22:05.000Z
2022-03-30T21:25:29.000Z
src/DSP/filters.hpp
cdstouter/Aether
d508569c72e7b438b67e8962bc6af347f76bb830
[ "MIT" ]
18
2021-04-16T21:59:30.000Z
2022-03-30T01:19:42.000Z
src/DSP/filters.hpp
cdstouter/Aether
d508569c72e7b438b67e8962bc6af347f76bb830
[ "MIT" ]
5
2022-01-10T09:53:18.000Z
2022-02-19T15:28:27.000Z
#ifndef FILTERS_HPP #define FILTERS_HPP #include <cmath> #include <tuple> #include "../common/constants.hpp" // First Order Filters /* RC Lowpass Filter f = cutoff frequency dt = 1 / samplerate a = 2pi*f*dt / (2pi*f*dt + 1) y[n] = a*x[n] + (1-a)*y[n-1] */ template <class FpType> class Lowpass6dB { public: ...
21.945946
84
0.651232
cdstouter
06352e727400ace4ad7a87bb61392515b7c074d9
20,258
cpp
C++
src/myapps.cpp
NuLL3rr0r/samsungdforum-ir
f293631bbb7b96f854e7b89b286251d56ea70690
[ "MIT", "Unlicense" ]
null
null
null
src/myapps.cpp
NuLL3rr0r/samsungdforum-ir
f293631bbb7b96f854e7b89b286251d56ea70690
[ "MIT", "Unlicense" ]
null
null
null
src/myapps.cpp
NuLL3rr0r/samsungdforum-ir
f293631bbb7b96f854e7b89b286251d56ea70690
[ "MIT", "Unlicense" ]
null
null
null
/********************************** * = Header File Inclusion = **********************************/ #include <boost/algorithm/string.hpp> #include <Wt/WAnchor> #include <Wt/WApplication> #include <Wt/WContainerWidget> #include <Wt/WDialog> #include <Wt/WFileResource> #include <Wt/WSignalMapper> #include <Wt/WTable>...
36.500901
120
0.607019
NuLL3rr0r
0637029304b2167c4e8d992c5412d6c7a7e46e56
13,285
cxx
C++
Rendering/RayTracing/vtkOSPRayVolumeMapperNode.cxx
gabrielventosa/vtk
723711d79b0a23de6f07421a27e89539f9d500da
[ "BSD-3-Clause" ]
null
null
null
Rendering/RayTracing/vtkOSPRayVolumeMapperNode.cxx
gabrielventosa/vtk
723711d79b0a23de6f07421a27e89539f9d500da
[ "BSD-3-Clause" ]
null
null
null
Rendering/RayTracing/vtkOSPRayVolumeMapperNode.cxx
gabrielventosa/vtk
723711d79b0a23de6f07421a27e89539f9d500da
[ "BSD-3-Clause" ]
null
null
null
/*========================================================================= Program: Visualization Toolkit Module: vtkOSPRayVolumeMapperNode.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. ...
33.718274
99
0.628378
gabrielventosa
063d9ab51ef253a05f53b4054f288a718d75b67e
606
cpp
C++
11727.cpp
JazzikPeng/UVa_Algorithm_CPP
5de29ebc44ae8dd94b767fd5815309e5eaa7c8bf
[ "MIT" ]
null
null
null
11727.cpp
JazzikPeng/UVa_Algorithm_CPP
5de29ebc44ae8dd94b767fd5815309e5eaa7c8bf
[ "MIT" ]
null
null
null
11727.cpp
JazzikPeng/UVa_Algorithm_CPP
5de29ebc44ae8dd94b767fd5815309e5eaa7c8bf
[ "MIT" ]
null
null
null
//Zhejian Peng #include <stdio.h> #include <iostream> using namespace std; int main() { int tc; int count=0; cin >> tc; while (tc--) { count++; int a, b, c; cin >> a >> b >> c; int result =a; if (a > b) { if (b > c) result = b; else if (c > b && c > a) result = a; ...
15.538462
54
0.415842
JazzikPeng
063e7970d96f71d8fb852e83fd45edb79e8d62cd
12,512
cpp
C++
src/MCIS_config.cpp
ericloewe/MCIS
2d740e715de55acfc57ba2048ebd5f0409ee7c5f
[ "BSD-3-Clause" ]
null
null
null
src/MCIS_config.cpp
ericloewe/MCIS
2d740e715de55acfc57ba2048ebd5f0409ee7c5f
[ "BSD-3-Clause" ]
null
null
null
src/MCIS_config.cpp
ericloewe/MCIS
2d740e715de55acfc57ba2048ebd5f0409ee7c5f
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 2018, Eric Loewenthal All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the ...
34.755556
100
0.652174
ericloewe
063e9c28c4c38faf9e771815be4c0bcff7f87592
5,466
cpp
C++
apps/206 LambdasAndFunctions/src/LambdasAndFunctionsApp.cpp
kkshmz/FlyingTokyo19
d002e5c350079ae8eb74b7fb86f9da65fb8aaf61
[ "BSD-3-Clause" ]
null
null
null
apps/206 LambdasAndFunctions/src/LambdasAndFunctionsApp.cpp
kkshmz/FlyingTokyo19
d002e5c350079ae8eb74b7fb86f9da65fb8aaf61
[ "BSD-3-Clause" ]
null
null
null
apps/206 LambdasAndFunctions/src/LambdasAndFunctionsApp.cpp
kkshmz/FlyingTokyo19
d002e5c350079ae8eb74b7fb86f9da65fb8aaf61
[ "BSD-3-Clause" ]
1
2020-07-12T14:12:42.000Z
2020-07-12T14:12:42.000Z
#include "cinder/app/App.h" #include "cinder/app/RendererGl.h" #include <functional> using namespace ci; using namespace ci::app; using namespace std; // simple free function void freeFunction() { console() << "I am a non-member function" << endl; } // simple free function with arguments string freeHello( const ...
30.881356
128
0.683498
kkshmz
063f847c51a3b10d012962f1c50951ca23b8bdf4
728
cpp
C++
luogu/P1042.cpp
Embracethemoon/hundreds_for_one
3807c1aab16d2a709faf4abe934af53ce9d58b7c
[ "MIT" ]
null
null
null
luogu/P1042.cpp
Embracethemoon/hundreds_for_one
3807c1aab16d2a709faf4abe934af53ce9d58b7c
[ "MIT" ]
null
null
null
luogu/P1042.cpp
Embracethemoon/hundreds_for_one
3807c1aab16d2a709faf4abe934af53ce9d58b7c
[ "MIT" ]
null
null
null
#include <cstdio> #include <iostream> #include <string> using namespace std; int main(){ string total = ""; string temp; while(cin >> temp) total += temp; int w = 0, l = 0; for(int i = 0; i < total.size(); i ++ ){ if(total[i] == 'E') break; if(total[i] == 'W') w ++ ; else l ++ ; if(abs(w - l) >= 2 &&...
13.735849
41
0.427198
Embracethemoon
063f8bef75b3e2518670cdefcf21de23f6bdb3ac
10,545
cpp
C++
ManagedScripts/MBuildingGameObjPtrDynamicVectorClass.cpp
mpforums/RenSharp
5b3fb8bff2a1772a82a4148bcf3e1265a11aa097
[ "Apache-2.0" ]
1
2021-10-04T02:36:30.000Z
2021-10-04T02:36:30.000Z
ManagedScripts/MBuildingGameObjPtrDynamicVectorClass.cpp
TheUnstoppable/RenSharp
2a123c6018c18f3fc73501737d600e291ac3afa7
[ "Apache-2.0" ]
9
2019-07-03T19:19:59.000Z
2020-03-02T22:00:21.000Z
ManagedScripts/MBuildingGameObjPtrDynamicVectorClass.cpp
TheUnstoppable/RenSharp
2a123c6018c18f3fc73501737d600e291ac3afa7
[ "Apache-2.0" ]
2
2019-08-14T08:37:36.000Z
2020-09-29T06:44:26.000Z
/* Copyright 2020 Neijwiert Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distr...
31.106195
157
0.791465
mpforums
06437846339feb9d571ce79aa66848347f469e0f
3,015
hpp
C++
header/p6_main_panel.hpp
Meta-chan/P6
2323f3f12894d2eb01a777643f69301a368f9c69
[ "MIT" ]
null
null
null
header/p6_main_panel.hpp
Meta-chan/P6
2323f3f12894d2eb01a777643f69301a368f9c69
[ "MIT" ]
null
null
null
header/p6_main_panel.hpp
Meta-chan/P6
2323f3f12894d2eb01a777643f69301a368f9c69
[ "MIT" ]
null
null
null
/* This software is distributed under MIT License, which means: - Do whatever you want - Please keep this notice and include the license file to your project - I provide no warranty Created by Kyrylo Sovailo (github.com/Meta-chan, k.sovailo@gmail.com) Reinventing bicycles since 2020 */ #ifndef P6_MAIN_PANEL ...
38.164557
133
0.709784
Meta-chan
064e70b67a08202e17cb39ac675ad9c29a963f32
6,577
cpp
C++
lib/bullet/src/examples/RoboticsLearning/R2D2GraspExample.cpp
mtesseracttech/CustomEngine
1a9ed564408ae29fe49681a810b851403d71f486
[ "Apache-2.0" ]
12
2017-08-24T05:58:53.000Z
2021-07-15T17:32:26.000Z
lib/bullet/src/examples/RoboticsLearning/R2D2GraspExample.cpp
mtesseracttech/CustomEngine
1a9ed564408ae29fe49681a810b851403d71f486
[ "Apache-2.0" ]
1
2017-06-05T13:38:29.000Z
2017-06-05T13:38:29.000Z
lib/bullet/src/examples/RoboticsLearning/R2D2GraspExample.cpp
mtesseracttech/CustomEngine
1a9ed564408ae29fe49681a810b851403d71f486
[ "Apache-2.0" ]
6
2017-06-04T22:43:37.000Z
2019-07-15T05:36:11.000Z
#include "R2D2GraspExample.h" #include "../CommonInterfaces/CommonGraphicsAppInterface.h" #include "Bullet3Common/b3Quaternion.h" #include "Bullet3Common/b3AlignedObjectArray.h" #include "../CommonInterfaces/CommonRenderInterface.h" #include "../CommonInterfaces/CommonExampleInterface.h" #include "../CommonInterfaces...
28.846491
105
0.658051
mtesseracttech
064fd21dda746ea98476dbeacb49f82553e0ea4b
14,238
cpp
C++
client/LonelyPlaneteer/LonelyPlaneteer/Game/Scene/LobbyScene.cpp
simonlthorp/LostMines
202f6616959b2dcc939655365447f817d5d8ba66
[ "Apache-2.0" ]
null
null
null
client/LonelyPlaneteer/LonelyPlaneteer/Game/Scene/LobbyScene.cpp
simonlthorp/LostMines
202f6616959b2dcc939655365447f817d5d8ba66
[ "Apache-2.0" ]
null
null
null
client/LonelyPlaneteer/LonelyPlaneteer/Game/Scene/LobbyScene.cpp
simonlthorp/LostMines
202f6616959b2dcc939655365447f817d5d8ba66
[ "Apache-2.0" ]
null
null
null
#include "LobbyScene.h" #include "../../Engine/Game.h" #include "../UI/TextUI.h" #include "../UI/DynamicUI.h" #include "../../Engine/Texture/TextureManager.h" #include "../../Game/Scene/GameScene.h" LobbyScene::LobbyScene() {} LobbyScene::~LobbyScene() {} bool LobbyScene::ready[4] = { false }; void LobbyScene::init(...
32.958333
128
0.592639
simonlthorp
0650496c8457488f8b53cfdd303cd8cf10c56863
2,485
hpp
C++
include/graphics/Event.hpp
icebreakersentertainment/ice_engine
52a8313bc266c053366bdf554b5dc27a54ddcb25
[ "MIT" ]
null
null
null
include/graphics/Event.hpp
icebreakersentertainment/ice_engine
52a8313bc266c053366bdf554b5dc27a54ddcb25
[ "MIT" ]
null
null
null
include/graphics/Event.hpp
icebreakersentertainment/ice_engine
52a8313bc266c053366bdf554b5dc27a54ddcb25
[ "MIT" ]
1
2019-06-11T03:41:48.000Z
2019-06-11T03:41:48.000Z
#ifndef EVENT_H_ #define EVENT_H_ #include "Types.hpp" #include "graphics/Video.hpp" #include "graphics/Keyboard.hpp" #include "graphics/Mouse.hpp" namespace ice_engine { namespace graphics { // Adapted from SDL2 - include/SDL_events.h // https://www.libsdl.org/ /* Simple DirectMedia Layer Copyright (C) 1997-20...
17.020548
76
0.744869
icebreakersentertainment
0651f046b8169536989ef875a8864c2e4b8dc8bf
6,192
hpp
C++
agency/detail/integer_sequence.hpp
nerikhman/agency
966ac59101f2fc3561a86b11874fbe8de361d0e4
[ "BSD-3-Clause" ]
129
2016-08-18T23:24:15.000Z
2022-03-25T12:06:05.000Z
agency/detail/integer_sequence.hpp
nerikhman/agency
966ac59101f2fc3561a86b11874fbe8de361d0e4
[ "BSD-3-Clause" ]
86
2016-08-19T03:43:33.000Z
2020-07-20T14:27:41.000Z
agency/detail/integer_sequence.hpp
nerikhman/agency
966ac59101f2fc3561a86b11874fbe8de361d0e4
[ "BSD-3-Clause" ]
23
2016-08-18T23:52:13.000Z
2022-02-28T16:28:20.000Z
#pragma once #include <type_traits> #include <stddef.h> // for size_t namespace agency { namespace detail { template<class _Tp, _Tp... _Ip> struct integer_sequence { typedef _Tp value_type; static_assert(std::is_integral<_Tp>::value, "std::integer_sequence can only be instantiated with an integ...
26.575107
132
0.751292
nerikhman
0655baabec068b6fcfdafabca984e6b4b3e42d00
1,880
cpp
C++
apps/tests/test_reduce.cpp
simonpp/SIRIUS
f4b5c4810af2a3ea1e67992d65750535227da84b
[ "BSD-2-Clause" ]
1
2019-05-10T08:48:55.000Z
2019-05-10T08:48:55.000Z
apps/tests/test_reduce.cpp
simonpintarelli/SIRIUS
f4b5c4810af2a3ea1e67992d65750535227da84b
[ "BSD-2-Clause" ]
null
null
null
apps/tests/test_reduce.cpp
simonpintarelli/SIRIUS
f4b5c4810af2a3ea1e67992d65750535227da84b
[ "BSD-2-Clause" ]
null
null
null
#include <sirius.hpp> using namespace sirius; int main(int argn, char** argv) { sirius::initialize(true); bool pr = (Communicator::world().rank() == 0); sddk::mdarray<double_complex, 2> tmp_d(100, 200); sddk::mdarray<double_complex, 2> tmp(100, 200); std::cout << Communicator::world().rank() <<...
31.864407
121
0.592021
simonpp
065b93894c4d272b3c2532bae7505f62e2b7213b
2,806
cpp
C++
src/model/nodeContainer.cpp
TheSonOfDeimos/network-routing-optimization
7030b5cf333f19ab68952b6841463f4cfd664895
[ "MIT" ]
null
null
null
src/model/nodeContainer.cpp
TheSonOfDeimos/network-routing-optimization
7030b5cf333f19ab68952b6841463f4cfd664895
[ "MIT" ]
null
null
null
src/model/nodeContainer.cpp
TheSonOfDeimos/network-routing-optimization
7030b5cf333f19ab68952b6841463f4cfd664895
[ "MIT" ]
null
null
null
#include "nodeContainer.hpp" #include "node.hpp" NodeContainer::NodeContainer() { std::srand(std::time(nullptr)); } status_t NodeContainer::add(Node* node, hostAddress_t addr, const std::vector<RoleType>& roles) { status_t status = ERROR_OK; std::lock_guard<std::mutex> lock(m_mtx); EXIT_IF(m_nodesB...
23
113
0.63685
TheSonOfDeimos
065ee8c51e9bbddf1fecca253baa0ed612c4204e
1,977
hpp
C++
src/qm_model.hpp
INAQS/inaqs
f85b39aef0cb67cda4b3cfa61017268fe410c362
[ "MIT" ]
2
2022-03-04T18:56:08.000Z
2022-03-22T16:49:22.000Z
src/qm_model.hpp
INAQS/inaqs
f85b39aef0cb67cda4b3cfa61017268fe410c362
[ "MIT" ]
null
null
null
src/qm_model.hpp
INAQS/inaqs
f85b39aef0cb67cda4b3cfa61017268fe410c362
[ "MIT" ]
null
null
null
#ifndef GIFS_QM_MODEL_HPP #define GIFS_QM_MODEL_HPP #include "properties.hpp" #include "qm_interface.hpp" #include "configreader.hpp" #include <armadillo> #include <memory> class HamiltonianDynamics{ public: HamiltonianDynamics(void) {} virtual ~HamiltonianDynamics() {}; virtual void update(double x) =0; voi...
21.258065
78
0.693981
INAQS
065f195bc10729a51e579ae7cc4ee12bd6f9464a
5,445
cpp
C++
src/engine/Matrices.cpp
Slynchy/Snow-Sakura-CPP
547af21a199d0ff1bf03fcb0dce60808d2cbc817
[ "MIT" ]
3
2016-04-20T15:01:37.000Z
2021-06-30T11:57:26.000Z
src/engine/Matrices.cpp
Slynchy/Snow-Sakura-CPP
547af21a199d0ff1bf03fcb0dce60808d2cbc817
[ "MIT" ]
null
null
null
src/engine/Matrices.cpp
Slynchy/Snow-Sakura-CPP
547af21a199d0ff1bf03fcb0dce60808d2cbc817
[ "MIT" ]
1
2022-01-15T01:38:10.000Z
2022-01-15T01:38:10.000Z
#include <engine/Matrices.h> Matrix Matrix::Sum ( Matrix* _mat1, Matrix* _mat2) { if(_mat1->matrix_.size() != _mat2->matrix_.size() || _mat1->matrix_[0].size() != _mat2->matrix_[0].size()) { // INCOMPATIBLE!!! throw; }; Matrix result_matrix(_mat1->matrix_.size(),_mat1->matrix_[0].size()); for ( size_t y = 0 ...
29.754098
161
0.616896
Slynchy
0661227713a9cd633db66526142d1313984763ee
2,459
hpp
C++
softlight/include/softlight/SL_ShaderProcessor.hpp
Kim-Du-Yeon/SoftLight
26c1c04be5a99167f2cda0c7a992cecdc8259968
[ "MIT" ]
27
2019-04-22T01:51:51.000Z
2022-02-11T06:12:17.000Z
softlight/include/softlight/SL_ShaderProcessor.hpp
Kim-Du-Yeon/SoftLight
26c1c04be5a99167f2cda0c7a992cecdc8259968
[ "MIT" ]
1
2021-11-12T05:19:52.000Z
2021-11-12T05:19:52.000Z
softlight/include/softlight/SL_ShaderProcessor.hpp
Kim-Du-Yeon/SoftLight
26c1c04be5a99167f2cda0c7a992cecdc8259968
[ "MIT" ]
2
2020-09-07T03:04:39.000Z
2021-11-09T06:08:37.000Z
#ifndef SL_SHADER_PROCESSOR_HPP #define SL_SHADER_PROCESSOR_HPP #include <cstdint> #include "softlight/SL_BlitProcesor.hpp" #include "softlight/SL_ClearProcesor.hpp" #include "softlight/SL_LineProcessor.hpp" #include "softlight/SL_PointProcessor.hpp" #include "softlight/SL_TriProcessor.hpp" enum SL_RenderMode : u...
23.419048
81
0.583571
Kim-Du-Yeon
0667448d13b05ddd3a3000371396b02f60a9f0ae
1,931
cpp
C++
ludumdare28/src/MissileWeaponEntity.cpp
davedissian/archive
a28072a70d7dc3bb88e9a268aea99667f656c100
[ "MIT" ]
null
null
null
ludumdare28/src/MissileWeaponEntity.cpp
davedissian/archive
a28072a70d7dc3bb88e9a268aea99667f656c100
[ "MIT" ]
null
null
null
ludumdare28/src/MissileWeaponEntity.cpp
davedissian/archive
a28072a70d7dc3bb88e9a268aea99667f656c100
[ "MIT" ]
null
null
null
#include "Common.h" #include "MissileWeaponEntity.h" MissileWeaponEntity::MissileWeaponEntity(const Vec2& startingPosition, weak_ptr<DamageableEntity> target) : SpecialWeaponEntity(startingPosition, target) { mTexture = ResourceCache::inst().getTexture("missile.png"); ...
30.171875
93
0.654065
davedissian
06681dcc306fdcd4d606ea3003f3ee6dc2c69ced
869
cpp
C++
streambox/LookAheadPipelineVisitor.cpp
chenzongxiong/streambox
76f95780d1bf6c02731e39d8ac73937cea352b95
[ "Unlicense" ]
3
2019-07-03T14:03:31.000Z
2021-12-19T10:18:49.000Z
streambox/LookAheadPipelineVisitor.cpp
chenzongxiong/streambox
76f95780d1bf6c02731e39d8ac73937cea352b95
[ "Unlicense" ]
6
2020-02-17T12:01:31.000Z
2021-12-09T22:02:36.000Z
streambox/LookAheadPipelineVisitor.cpp
chenzongxiong/streambox
76f95780d1bf6c02731e39d8ac73937cea352b95
[ "Unlicense" ]
2
2020-12-03T04:41:18.000Z
2021-01-11T21:44:42.000Z
#include "core/Transforms.h" #include "core/TransformTreeNode.h" #include "core/EvaluationBundleContext.h" #include "LookAheadPipelineVisitor.h" LookAheadPipelineVisitor::LookAheadPipelineVisitor(EvaluationBundleContext *ctx) : _ctx (ctx) { } // build up the pipeline topology. void LookAheadPipelineVisitor::visitPri...
22.282051
81
0.682394
chenzongxiong
066a1e8e1505c633d78ef9afb962fd512ec64b2a
96
hpp
C++
src/agl/common/tag/scoped.hpp
the-last-willy/abstractgl
d685bef25ac18773d3eea48ca52806c3a3485ddb
[ "MIT" ]
null
null
null
src/agl/common/tag/scoped.hpp
the-last-willy/abstractgl
d685bef25ac18773d3eea48ca52806c3a3485ddb
[ "MIT" ]
null
null
null
src/agl/common/tag/scoped.hpp
the-last-willy/abstractgl
d685bef25ac18773d3eea48ca52806c3a3485ddb
[ "MIT" ]
null
null
null
#pragma once namespace agl { struct ScopedTag {}; constexpr auto scoped_tag = ScopedTag(); }
10.666667
40
0.71875
the-last-willy
0676a474e1adc243f9d45ffe33cf524569cff574
1,235
hpp
C++
SDK/ARKSurvivalEvolved_CamoGasCloud_parameters.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
10
2020-02-17T19:08:46.000Z
2021-07-31T11:07:19.000Z
SDK/ARKSurvivalEvolved_CamoGasCloud_parameters.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
9
2020-02-17T18:15:41.000Z
2021-06-06T19:17:34.000Z
SDK/ARKSurvivalEvolved_CamoGasCloud_parameters.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
3
2020-07-22T17:42:07.000Z
2021-06-19T17:16:13.000Z
#pragma once // ARKSurvivalEvolved (329.9) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "ARKSurvivalEvolved_CamoGasCloud_classes.hpp" namespace sdk { //--------------------------------------------------------------------------- //Parameters //---------------------------------------------------------...
30.875
173
0.540081
2bite
06792909e3e50d72e9d1b0882c448c6d122f8778
3,508
hpp
C++
libraries/plugins/bobserver/include/futurepia/bobserver/bobserver_objects.hpp
futurepia/futurepia
31163047b18082223a86ec4f95a820748275ceaa
[ "MIT" ]
3
2019-12-24T13:49:22.000Z
2021-01-02T08:26:13.000Z
libraries/plugins/bobserver/include/futurepia/bobserver/bobserver_objects.hpp
futurepia/futurepia
31163047b18082223a86ec4f95a820748275ceaa
[ "MIT" ]
4
2020-01-01T20:41:39.000Z
2021-11-30T16:31:10.000Z
libraries/plugins/bobserver/include/futurepia/bobserver/bobserver_objects.hpp
futurepia/futurepia
31163047b18082223a86ec4f95a820748275ceaa
[ "MIT" ]
5
2019-03-30T12:53:31.000Z
2021-06-10T16:22:11.000Z
#pragma once #include <futurepia/app/plugin.hpp> #include <futurepia/chain/futurepia_object_types.hpp> #include <boost/multi_index/composite_key.hpp> namespace futurepia { namespace bobserver { using namespace std; using namespace futurepia::chain; enum bobserver_plugin_object_type { account_bandwidth_object_ty...
31.321429
121
0.715222
futurepia
0684a774eea295082b2be515138921a5d97648ea
4,706
hh
C++
tests/mmstests/faults/TestFaultKin.hh
Grant-Block/pylith
f6338261b17551eba879da998a5aaf2d91f5f658
[ "MIT" ]
null
null
null
tests/mmstests/faults/TestFaultKin.hh
Grant-Block/pylith
f6338261b17551eba879da998a5aaf2d91f5f658
[ "MIT" ]
null
null
null
tests/mmstests/faults/TestFaultKin.hh
Grant-Block/pylith
f6338261b17551eba879da998a5aaf2d91f5f658
[ "MIT" ]
null
null
null
// -*- C++ -*- // // ---------------------------------------------------------------------- // // Brad T. Aagaard, U.S. Geological Survey // Charles A. Williams, GNS Science // Matthew G. Knepley, University of Chicago // // This code was developed as part of the Computational Infrastructure // for Geodynamics (http://...
38.57377
120
0.606035
Grant-Block
068f07761c45104b9b12002ff181ab5087a868e0
1,186
cpp
C++
libff/algebra/curves/bw6_761/bw6_761_pp.cpp
clearmatics/libff
5f9a4bdd9bea61036b57cfe972354fc97c497457
[ "MIT" ]
1
2021-03-23T15:22:05.000Z
2021-03-23T15:22:05.000Z
libff/algebra/curves/bw6_761/bw6_761_pp.cpp
clearmatics/libff
5f9a4bdd9bea61036b57cfe972354fc97c497457
[ "MIT" ]
46
2019-08-22T07:48:22.000Z
2022-03-24T16:57:18.000Z
libff/algebra/curves/bw6_761/bw6_761_pp.cpp
clearmatics/libff
5f9a4bdd9bea61036b57cfe972354fc97c497457
[ "MIT" ]
1
2021-08-09T11:17:54.000Z
2021-08-09T11:17:54.000Z
#include <libff/algebra/curves/bw6_761/bw6_761_pp.hpp> namespace libff { void bw6_761_pp::init_public_params() { init_bw6_761_params(); } bw6_761_GT bw6_761_pp::final_exponentiation(const bw6_761_Fq6 &elt) { return bw6_761_final_exponentiation(elt); } bw6_761_G1_precomp bw6_761_pp::precompute_G1(const bw6_761_G...
23.72
74
0.77403
clearmatics
069541d123db0738b3e36d4f7e1f710e0d3a7517
42,561
cpp
C++
PluginRoutingInterfaceAsync/src/CAmRoutingSenderAsync.cpp
sathallasuresh/AudioManagerPlugins
72a88ac2b967ef3941dd12350397246d28c78e9d
[ "MIT" ]
8
2016-10-04T11:58:17.000Z
2021-08-12T07:11:26.000Z
PluginRoutingInterfaceAsync/src/CAmRoutingSenderAsync.cpp
daduki/AudioManagerPlugins
ed7e18d2da7cc951913a1dcba308b0af2385ad28
[ "MIT" ]
14
2016-11-27T02:56:44.000Z
2020-05-28T12:11:16.000Z
PluginRoutingInterfaceAsync/src/CAmRoutingSenderAsync.cpp
daduki/AudioManagerPlugins
ed7e18d2da7cc951913a1dcba308b0af2385ad28
[ "MIT" ]
15
2016-10-26T01:17:20.000Z
2021-08-12T07:11:27.000Z
/** * Copyright (c) 2012 BMW * * \author Christian Linke, christian.linke@bmw.de BMW 2011,2012 * * \copyright * 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, * in...
31.76194
322
0.690938
sathallasuresh
0696454304c00253b51dc078f80bc81d88d4351e
34,919
cpp
C++
src/handler.cpp
stefan-lindstrom/circpp
d0ac5d75126883b8273823753db1fb7bcb877433
[ "Info-ZIP", "Unlicense" ]
4
2016-06-23T02:37:11.000Z
2018-12-23T10:00:12.000Z
src/handler.cpp
stefan-lindstrom/circpp
d0ac5d75126883b8273823753db1fb7bcb877433
[ "Info-ZIP", "Unlicense" ]
null
null
null
src/handler.cpp
stefan-lindstrom/circpp
d0ac5d75126883b8273823753db1fb7bcb877433
[ "Info-ZIP", "Unlicense" ]
null
null
null
/* ************************************************************************ * File: handler.c Part of CircleMUD * * Usage: internal funcs: moving and finding chars/objs * * * * All rights re...
25.103523
137
0.616942
stefan-lindstrom
0697c6e180d659f576d4d9ae9156e34538f67c78
857
hpp
C++
source/backend/cpu/CPUBinary.hpp
JujuDel/MNN
8a82f5c5a7ae37192784c2dbd6dfc8ca8833565a
[ "Apache-2.0" ]
6,958
2019-05-06T02:38:02.000Z
2022-03-31T18:08:48.000Z
source/backend/cpu/CPUBinary.hpp
JujuDel/MNN
8a82f5c5a7ae37192784c2dbd6dfc8ca8833565a
[ "Apache-2.0" ]
1,775
2019-05-06T04:40:19.000Z
2022-03-30T15:39:24.000Z
source/backend/cpu/CPUBinary.hpp
JujuDel/MNN
8a82f5c5a7ae37192784c2dbd6dfc8ca8833565a
[ "Apache-2.0" ]
1,511
2019-05-06T02:38:05.000Z
2022-03-31T16:59:39.000Z
// // CPUBinary.hpp // MNN // // Created by MNN on 2018/08/02. // Copyright © 2018, Alibaba Group Holding Limited // #ifndef CPUBinary_hpp #define CPUBinary_hpp #include "core/Execution.hpp" #include "compute/CommonOptFunction.h" namespace MNN { class CPUBinary : public Execution { public: CPUBinary(Backend *...
26.78125
116
0.705951
JujuDel
069cc609acf8b59f46dea0d3e55204a96f6b443e
7,977
cc
C++
test/matrix2.cc
Perdigigio/micro.math
12d36eda15d240372b8824fe0d5c61783fca8940
[ "MIT" ]
null
null
null
test/matrix2.cc
Perdigigio/micro.math
12d36eda15d240372b8824fe0d5c61783fca8940
[ "MIT" ]
null
null
null
test/matrix2.cc
Perdigigio/micro.math
12d36eda15d240372b8824fe0d5c61783fca8940
[ "MIT" ]
null
null
null
#include <algorithm> #include <stdexcept> #include <iostream> #include <libmath/matrix.hh> #include <libmath/vector.hh> #ifdef WITH_SSE_INTRINSICS # include <libmath/simd/sse.hh> #endif #ifdef WITH_ARM_INTRINSICS # include <libmath/simd/arm.hh> #endif using namespace micro::math; using namespace mic...
26.240132
112
0.514479
Perdigigio
069e808a4330f3f0880b81a20a75bb0bcb9f2efb
89,203
cpp
C++
OpenNN/opennn/text_analytics.cpp
wagnrd/Pong
0c50b22e0805b2ae19ff07d25859a6358217b377
[ "MIT" ]
4
2019-03-06T16:53:27.000Z
2021-07-28T03:05:08.000Z
OpenNN/opennn/text_analytics.cpp
wagnrd/Pong
0c50b22e0805b2ae19ff07d25859a6358217b377
[ "MIT" ]
1
2021-02-11T17:10:29.000Z
2021-02-11T20:54:03.000Z
OpenNN/opennn/text_analytics.cpp
wagnrd/Pong
0c50b22e0805b2ae19ff07d25859a6358217b377
[ "MIT" ]
null
null
null
/****************************************************************************************************************/ /* */ /* OpenNN: Open Neural Networks Library ...
40.127305
183
0.522079
wagnrd
a6278500f03a87813d36740f52c71beecf4d5631
1,332
cpp
C++
aws-cpp-sdk-greengrassv2/source/model/DeploymentConfigurationValidationPolicy.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-02-10T08:06:54.000Z
2022-02-10T08:06:54.000Z
aws-cpp-sdk-greengrassv2/source/model/DeploymentConfigurationValidationPolicy.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-01-03T23:59:37.000Z
2022-01-03T23:59:37.000Z
aws-cpp-sdk-greengrassv2/source/model/DeploymentConfigurationValidationPolicy.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2021-11-09T11:58:03.000Z
2021-11-09T11:58:03.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/greengrassv2/model/DeploymentConfigurationValidationPolicy.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::...
21.483871
112
0.780781
perfectrecall
a62e0324afdd879daae024388fe47f6656c64463
6,844
cpp
C++
tests/rlEetTest/rlEetTest.cpp
Broekman/rl
285a7adab0bca3aa4ce4382bf5385f5b0626f10e
[ "BSD-2-Clause" ]
568
2015-01-23T03:38:45.000Z
2022-03-30T16:12:56.000Z
tests/rlEetTest/rlEetTest.cpp
Broekman/rl
285a7adab0bca3aa4ce4382bf5385f5b0626f10e
[ "BSD-2-Clause" ]
53
2016-03-23T13:16:47.000Z
2022-03-17T05:58:06.000Z
tests/rlEetTest/rlEetTest.cpp
Broekman/rl
285a7adab0bca3aa4ce4382bf5385f5b0626f10e
[ "BSD-2-Clause" ]
169
2015-01-26T12:59:41.000Z
2022-03-29T13:44:54.000Z
// // Copyright (c) 2009, Markus Rickert // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // * Redistributions of source code must retain the above copyright notice, // this list of condit...
31.685185
184
0.687902
Broekman
a63180e8229bee60b8666f900c938a498acc6d52
3,771
cpp
C++
Source/Linux/LooperSource_Linux.cpp
chinmaygarde/CoreLib
f697c2ee24aafc8a23a414c75f6b47b7942717ab
[ "MIT" ]
null
null
null
Source/Linux/LooperSource_Linux.cpp
chinmaygarde/CoreLib
f697c2ee24aafc8a23a414c75f6b47b7942717ab
[ "MIT" ]
null
null
null
Source/Linux/LooperSource_Linux.cpp
chinmaygarde/CoreLib
f697c2ee24aafc8a23a414c75f6b47b7942717ab
[ "MIT" ]
null
null
null
/* The MIT License (MIT) Copyright (c) 2015, Chinmay Garde 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, cop...
33.371681
80
0.62026
chinmaygarde
a639349d9534e5937f83bf59b9889ff63bbaed16
2,224
cpp
C++
src/Actors/WarpZone/warpManager.cpp
KURUJISU/Top_P
d218656e13cbe05b01926366e114b34b8d430035
[ "MIT" ]
null
null
null
src/Actors/WarpZone/warpManager.cpp
KURUJISU/Top_P
d218656e13cbe05b01926366e114b34b8d430035
[ "MIT" ]
null
null
null
src/Actors/WarpZone/warpManager.cpp
KURUJISU/Top_P
d218656e13cbe05b01926366e114b34b8d430035
[ "MIT" ]
null
null
null
 /** * @file warpManager.h * @brief ワープゾーンマネージャ− * * @author f.naoto * @date 2017.1.8 */ #include "precompiled.h" WarpManager::WarpManager() { name_ = "WarpManager"; tag_ = WARP_MANAGER; warpSize_ = ofVec2f(100, 100); spawnPos_ = ofVec2f(ofRandom(0, g_local->Width() - warpSize_.x), g_local->Height()); des...
25.563218
85
0.67446
KURUJISU
a63bfcc7e065f3603e9858716f679fcfe12de722
4,651
cpp
C++
core/src/view/SwitchRenderer3D.cpp
reinago/megamol
0438e26e5134a0050a00c6d8d747175a08f85fd9
[ "BSD-3-Clause" ]
null
null
null
core/src/view/SwitchRenderer3D.cpp
reinago/megamol
0438e26e5134a0050a00c6d8d747175a08f85fd9
[ "BSD-3-Clause" ]
null
null
null
core/src/view/SwitchRenderer3D.cpp
reinago/megamol
0438e26e5134a0050a00c6d8d747175a08f85fd9
[ "BSD-3-Clause" ]
null
null
null
/* * Renderer3DModule.cpp * * Copyright (C) 2009 by VISUS (Universitaet Stuttgart) * Alle Rechte vorbehalten. */ #include "stdafx.h" #include "mmcore/view/SwitchRenderer3D.h" #include "mmcore/view/CallRender3D.h" #include "mmcore/param/EnumParam.h" #include "mmcore/param/ButtonParam.h" #include "mmcore/utility/lo...
28.187879
109
0.639002
reinago
a63e950d1946db258323cc0cef23e260017acb0b
4,415
cpp
C++
Engine/Code/Engine/Renderer/BitmapFont.cpp
sam830917/TenNenDemon
a5f60007b73cccc6af8675c7f3dec597008dfdb4
[ "MIT" ]
null
null
null
Engine/Code/Engine/Renderer/BitmapFont.cpp
sam830917/TenNenDemon
a5f60007b73cccc6af8675c7f3dec597008dfdb4
[ "MIT" ]
null
null
null
Engine/Code/Engine/Renderer/BitmapFont.cpp
sam830917/TenNenDemon
a5f60007b73cccc6af8675c7f3dec597008dfdb4
[ "MIT" ]
null
null
null
#include "BitmapFont.hpp" #include "RenderContext.hpp" #include "Engine/Core/EngineCommon.hpp" BitmapFont::BitmapFont( const char* fontName, const Texture* fontTexture ) :m_fontName(fontName), m_glyphSpriteSheet( SpriteSheet( *fontTexture, IntVec2( 16, 16 ) ) ) { } BitmapFont::BitmapFont( const char* fontName, cons...
40.87963
176
0.711212
sam830917
a641a608aac379e539932ee29c7094838dbe128d
2,613
cc
C++
src/training.cc
yrakcaz/neuralnet-works
7f122fa2a3d2a45eb0cec8c23dd48bbfab64c1c0
[ "MIT" ]
null
null
null
src/training.cc
yrakcaz/neuralnet-works
7f122fa2a3d2a45eb0cec8c23dd48bbfab64c1c0
[ "MIT" ]
null
null
null
src/training.cc
yrakcaz/neuralnet-works
7f122fa2a3d2a45eb0cec8c23dd48bbfab64c1c0
[ "MIT" ]
null
null
null
#include <fstream> #include <json/json.h> #include <neuron.hh> #include <training.hh> Lesson::Lesson() { } Lesson::Lesson(std::vector<double> inputs, double output) : inputs_(inputs) , output_(output) { } std::vector<double> Lesson::inputs_get() const { return inputs_; } void Lesson::inputs_set(std::vec...
21.595041
73
0.571757
yrakcaz
a644e7cb53c2e3c0d66e4df4b41d7cd9b2532ea9
3,364
cpp
C++
examples/adjacencylist/main.cpp
kevalvora/omr
a09089a3fe9dbb6f3e2a48d9c6062972e67d6f7d
[ "MIT" ]
null
null
null
examples/adjacencylist/main.cpp
kevalvora/omr
a09089a3fe9dbb6f3e2a48d9c6062972e67d6f7d
[ "MIT" ]
null
null
null
examples/adjacencylist/main.cpp
kevalvora/omr
a09089a3fe9dbb6f3e2a48d9c6062972e67d6f7d
[ "MIT" ]
null
null
null
/* MIT License Copyright (c) 2018 Keval Vora <keval@cs.sfu.ca> 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...
32.660194
114
0.70541
kevalvora
a64cf71f7b7152295b400ba1ee98226af26974ec
6,596
cpp
C++
Engine/source/T3D/physics/physicsForce.cpp
Pecon/Torque3D-1
81777348c8ab2fa49cbc534315294c3bee7ae3aa
[ "MIT" ]
417
2020-06-01T15:55:15.000Z
2022-03-31T12:50:51.000Z
Engine/source/T3D/physics/physicsForce.cpp
Ashry00/Torque3D
33e3e41c8b7eb41c743a589558bc21302207ef97
[ "MIT" ]
186
2020-06-02T19:12:39.000Z
2022-02-15T02:22:27.000Z
Engine/source/T3D/physics/physicsForce.cpp
Ashry00/Torque3D
33e3e41c8b7eb41c743a589558bc21302207ef97
[ "MIT" ]
84
2020-06-01T15:54:44.000Z
2022-03-24T13:52:59.000Z
//----------------------------------------------------------------------------- // Copyright (c) 2012 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 restrictio...
29.578475
107
0.669497
Pecon
a64eca511fcf85212d19a5bccccae7d8d5df9368
2,333
cpp
C++
ForYou.CodingInterviews/CPlus/ReadBook/ForYou.CodingInterviews.CPlusPlus.PrimerPlus007/005.cpp
Gun-Killer/CodingInterviews
0f06d9f7a79898fbce8a12726bd42077cf7ee071
[ "MIT" ]
null
null
null
ForYou.CodingInterviews/CPlus/ReadBook/ForYou.CodingInterviews.CPlusPlus.PrimerPlus007/005.cpp
Gun-Killer/CodingInterviews
0f06d9f7a79898fbce8a12726bd42077cf7ee071
[ "MIT" ]
null
null
null
ForYou.CodingInterviews/CPlus/ReadBook/ForYou.CodingInterviews.CPlusPlus.PrimerPlus007/005.cpp
Gun-Killer/CodingInterviews
0f06d9f7a79898fbce8a12726bd42077cf7ee071
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; void learn07_04(int* start, int* end, int num); double learn07_05(const double arr[], int size); int learn07_08(char* str, char c1, char c2); void learn07_09(); int learn07_11(int (*pt)(const char*)); struct applicant { char name[30]; int credit_ratings[3]; }; void...
18.515873
64
0.494642
Gun-Killer
a650022a4972d86ea945fb7fda262c825fe67fa6
15,789
cpp
C++
common/SimVtkExt/vtkExtSimInteractorStyleAutoCAM.cpp
Mason-Wmx/ViewFramework
d8117adc646c369ad29d64477788514c7a75a797
[ "Apache-2.0" ]
1
2021-10-03T16:47:04.000Z
2021-10-03T16:47:04.000Z
common/SimVtkExt/vtkExtSimInteractorStyleAutoCAM.cpp
Mason-Wmx/ViewFramework
d8117adc646c369ad29d64477788514c7a75a797
[ "Apache-2.0" ]
null
null
null
common/SimVtkExt/vtkExtSimInteractorStyleAutoCAM.cpp
Mason-Wmx/ViewFramework
d8117adc646c369ad29d64477788514c7a75a797
[ "Apache-2.0" ]
null
null
null
#include "stdafx.h" #include "vtkExtSimInteractorStyleAutoCAM.h" #include "vtkAreaPicker.h" #include "vtkPolyDataMapper2D.h" #include "vtkActor2D.h" #include "vtkProperty2D.h" using namespace SIM; #define VTKISRBP_ORIENT 0 #define VTKISRBP_SELECT 1 vtkExtSimInteractorStyleAutoCAM* vtkExtSimInteractorStyleAutoCAM::N...
22.113445
119
0.684021
Mason-Wmx
a653a9ea89c69b0b4b1b09b8262e24a3a9ad7f88
979
cpp
C++
p464/p464.cpp
suzyz/leetcode_practice
e22dc5a81e065dc962e5561b14ac84b9a2302e8a
[ "MIT" ]
1
2019-10-07T05:00:21.000Z
2019-10-07T05:00:21.000Z
p464/p464.cpp
suzyz/leetcode_practice
e22dc5a81e065dc962e5561b14ac84b9a2302e8a
[ "MIT" ]
null
null
null
p464/p464.cpp
suzyz/leetcode_practice
e22dc5a81e065dc962e5561b14ac84b9a2302e8a
[ "MIT" ]
null
null
null
class Solution { public: int n = 0; vector<bool> used; unordered_map<int,bool> m; bool canIWin(int maxChoosableInteger, int desiredTotal) { if (maxChoosableInteger*(maxChoosableInteger+1)/2 < desiredTotal) return false; if (desiredTotal <= 0) return true; n = maxChoosableInteger; ...
17.175439
70
0.503575
suzyz
a6540181f6505bdb853624dd0e093b2230fc27f0
8,379
hpp
C++
src/quad_tree.hpp
jeffw387/vkaEngine
69bc21d4c10229ab823a887147cb45888d9afbaf
[ "MIT" ]
1
2019-01-12T22:11:32.000Z
2019-01-12T22:11:32.000Z
src/quad_tree.hpp
jeffw387/vkaEngine
69bc21d4c10229ab823a887147cb45888d9afbaf
[ "MIT" ]
1
2019-01-15T23:10:50.000Z
2019-01-16T20:52:19.000Z
src/quad_tree.hpp
jeffw387/vkaEngine
69bc21d4c10229ab823a887147cb45888d9afbaf
[ "MIT" ]
null
null
null
#pragma once #include <algorithm> #include <array> #include <memory> #include <vector> #include "intrusive_list.hpp" namespace QT { struct Rect { Rect() noexcept = default; Rect(Rect&&) noexcept = default; Rect& operator=(Rect&&) noexcept = default; Rect(const Rect&) noexcept = default; Rect& operator=(const...
27.472131
60
0.594104
jeffw387
a654b20df4d7294c749a5d8310046a1b2c278125
12,763
cpp
C++
blingfirecompile.library/src/FADictSplit.cpp
ameyac-msft/BlingFire
02d2218344a3b67d50f84b19e92103d79a99ae5b
[ "MIT" ]
null
null
null
blingfirecompile.library/src/FADictSplit.cpp
ameyac-msft/BlingFire
02d2218344a3b67d50f84b19e92103d79a99ae5b
[ "MIT" ]
null
null
null
blingfirecompile.library/src/FADictSplit.cpp
ameyac-msft/BlingFire
02d2218344a3b67d50f84b19e92103d79a99ae5b
[ "MIT" ]
null
null
null
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ #include "blingfire-compile_src_pch.h" #include "FAConfig.h" #include "FADictSplit.h" #include "FAFsmConst.h" #include "FAUtils.h" #include "FAException.h" #include <algorithm> #include <iomanip> ...
23.290146
79
0.553161
ameyac-msft
a65b6d13fa92fdfde22e5a0776330ad46d1aa235
14,834
hpp
C++
libraries/chain/include/scorum/chain/database/database.hpp
scorum/scorum
1da00651f2fa14bcf8292da34e1cbee06250ae78
[ "MIT" ]
53
2017-10-28T22:10:35.000Z
2022-02-18T02:20:48.000Z
libraries/chain/include/scorum/chain/database/database.hpp
Scorum/Scorum
fb4aa0b0960119b97828865d7a5b4d0409af7876
[ "MIT" ]
38
2017-11-25T09:06:51.000Z
2018-10-31T09:17:22.000Z
libraries/chain/include/scorum/chain/database/database.hpp
Scorum/Scorum
fb4aa0b0960119b97828865d7a5b4d0409af7876
[ "MIT" ]
27
2018-01-08T19:43:35.000Z
2022-01-14T10:50:42.000Z
/* * Copyright (c) 2015 Cryptonomex, Inc., and contributors. */ #pragma once #include <scorum/chain/schema/dynamic_global_property_object.hpp> #include <scorum/chain/hardfork.hpp> #include <scorum/chain/node_property_object.hpp> #include <scorum/chain/database/fork_database.hpp> #include <scorum/chain/block_log.hpp>...
35.917676
119
0.704058
scorum
a65bc2de0b4504ff6bf8ca1eae108541f158de85
4,567
cpp
C++
reactvsqml/websockettransport.cpp
Fabrice-Lainard-Programming/QmlOrReact
ae0bd2108cd114582c61560e708bee8a7fd2c77b
[ "MIT" ]
1
2020-01-20T07:21:34.000Z
2020-01-20T07:21:34.000Z
reactvsqml/websockettransport.cpp
Fabrice-Lainard-Programming/QmlOrReact
ae0bd2108cd114582c61560e708bee8a7fd2c77b
[ "MIT" ]
null
null
null
reactvsqml/websockettransport.cpp
Fabrice-Lainard-Programming/QmlOrReact
ae0bd2108cd114582c61560e708bee8a7fd2c77b
[ "MIT" ]
null
null
null
/**************************************************************************** ** ** Copyright (C) 2016 Klarälvdalens Datakonsult AB, a KDAB Group company, info@kdab.com, author Milian Wolff <milian.wolff@kdab.com> ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the QtWebChannel module of the Qt Tool...
38.058333
132
0.716663
Fabrice-Lainard-Programming
a6613406a39495b66230dccc3ad52b7130457e11
2,054
cpp
C++
[Lib]__NetClient/Sources/minUuid.cpp
yexiuph/RanOnline
7f7be07ef740c8e4cc9c7bef1790b8d099034114
[ "Apache-2.0" ]
null
null
null
[Lib]__NetClient/Sources/minUuid.cpp
yexiuph/RanOnline
7f7be07ef740c8e4cc9c7bef1790b8d099034114
[ "Apache-2.0" ]
null
null
null
[Lib]__NetClient/Sources/minUuid.cpp
yexiuph/RanOnline
7f7be07ef740c8e4cc9c7bef1790b8d099034114
[ "Apache-2.0" ]
null
null
null
#include "pch.h" #include <strsafe.h> #include "minUuid.h" namespace SERVER_UTIL { int getUUID(TCHAR* pszUUID, size_t cchUUID) { if (pszUUID == NULL) return UUID_ERROR; UUID id; if (RPC_S_OK == ::UuidCreate(&id)) { TCHAR* tmpid = NULL; #ifdef UNICODE RPC_STATUS rpcResult = ::UuidToString(&id, reinterpret_ca...
23.340909
91
0.713729
yexiuph