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
f8215a31523eaf03264f86f6bdc5e823aed8957f
549
cpp
C++
cpp/overloadingOStreamOperator.cpp
AnselmC/HackerRank
07f0fccbbbcf54b876d63ec638c7f0be5139c30d
[ "MIT" ]
null
null
null
cpp/overloadingOStreamOperator.cpp
AnselmC/HackerRank
07f0fccbbbcf54b876d63ec638c7f0be5139c30d
[ "MIT" ]
null
null
null
cpp/overloadingOStreamOperator.cpp
AnselmC/HackerRank
07f0fccbbbcf54b876d63ec638c7f0be5139c30d
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; class Person { public: Person(const string& first_name, const string& last_name) : first_name_(first_name), last_name_(last_name) {} const string& get_first_name() const { return first_name_; } const string& get_last_name() const { return last_name_...
24.954545
113
0.688525
AnselmC
f822cc23d1110dd42cfe7b8abd07c163df0373c2
13,007
cpp
C++
src/caffe/net_json_quan.cpp
luolongqiang/caffe-luolongqiang
5ee132e4451a538d97b62039a62a59a69dc43bb9
[ "BSD-2-Clause" ]
2
2017-03-23T04:19:31.000Z
2019-07-05T02:31:04.000Z
src/caffe/net_json_quan.cpp
luolongqiang/caffe-luolongqiang
5ee132e4451a538d97b62039a62a59a69dc43bb9
[ "BSD-2-Clause" ]
null
null
null
src/caffe/net_json_quan.cpp
luolongqiang/caffe-luolongqiang
5ee132e4451a538d97b62039a62a59a69dc43bb9
[ "BSD-2-Clause" ]
1
2018-10-11T06:07:19.000Z
2018-10-11T06:07:19.000Z
#include <algorithm> #include <map> #include <set> #include <string> #include <utility> #include <vector> #include <fstream> #include <iomanip> #include <iostream> #include "hdf5.h" #include "caffe/common.hpp" #include "caffe/layer.hpp" #include "caffe/net.hpp" #include "caffe/parallel.hpp" #include "caffe/proto/...
32.763224
136
0.645114
luolongqiang
f8239046c6ba7f5e3067732fb701ee28adb71900
8,992
cpp
C++
connectors/dds4ccm/tests/MultiTopic/Sender/MultiTopic_Sender_exec.cpp
qinwang13/CIAO
e69add1b5da8e9602bcc85d581ecbf1bd41c49a3
[ "DOC" ]
10
2016-07-20T00:55:50.000Z
2020-10-04T19:07:10.000Z
connectors/dds4ccm/tests/MultiTopic/Sender/MultiTopic_Sender_exec.cpp
qinwang13/CIAO
e69add1b5da8e9602bcc85d581ecbf1bd41c49a3
[ "DOC" ]
13
2016-09-27T14:08:27.000Z
2020-11-11T10:45:56.000Z
connectors/dds4ccm/tests/MultiTopic/Sender/MultiTopic_Sender_exec.cpp
qinwang13/CIAO
e69add1b5da8e9602bcc85d581ecbf1bd41c49a3
[ "DOC" ]
12
2016-04-20T09:57:02.000Z
2021-12-24T17:23:45.000Z
// -*- C++ -*- /** * Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.2 * TAO and the TAO IDL Compiler have been developed by: * Center for Distributed Object Computing * Washington University * St. Louis, MO * USA * http://www.cs.wustl.edu/~schmidt/doc-center.html * and ...
25.618234
89
0.549044
qinwang13
f82afa717e750a04359c2dd998bcfe0bbc0d8288
862
hpp
C++
src/path/gene.hpp
degarashi/genetic
7703c4dfdab0b826e928fca128307699f60b7193
[ "MIT" ]
null
null
null
src/path/gene.hpp
degarashi/genetic
7703c4dfdab0b826e928fca128307699f60b7193
[ "MIT" ]
null
null
null
src/path/gene.hpp
degarashi/genetic
7703c4dfdab0b826e928fca128307699f60b7193
[ "MIT" ]
null
null
null
#pragma once #include "../gene.hpp" #include "../ptrlen.hpp" namespace gene { namespace path { // パス表現 template <class T> struct VariableGene : ::gene::VariableGene<T> { using base_t = ::gene::VariableGene<T>; using base_t::base_t; using value_t = typename base_t::value_t; // 同じ番号が重複していないか、順列になっている...
23.944444
63
0.62065
degarashi
f8310a7047cbcc01088358e8a9ed771cec763544
67,605
cpp
C++
WRK-V1.2/clr/src/vm/assemblynative.cpp
intj-t/openvmsft
0d17fbce8607ab2b880be976c2e86d8cfc3e83bb
[ "Intel" ]
null
null
null
WRK-V1.2/clr/src/vm/assemblynative.cpp
intj-t/openvmsft
0d17fbce8607ab2b880be976c2e86d8cfc3e83bb
[ "Intel" ]
null
null
null
WRK-V1.2/clr/src/vm/assemblynative.cpp
intj-t/openvmsft
0d17fbce8607ab2b880be976c2e86d8cfc3e83bb
[ "Intel" ]
null
null
null
// ==++== // // // Copyright (c) 2006 Microsoft Corporation. All rights reserved. // // The use and distribution terms for this software are contained in the file // named license.txt, which can be found in the root of this distribution. // By using this software in any fashion, you are agreeing to ...
32.11639
201
0.636906
intj-t
f83267c66e583d18d30a59ba9a3c5877ce0b65da
560
cpp
C++
src/Source Code/Main.cpp
MayKoder/Advanced-GL-Shader
3a73c5c112f9cc245b6353734eed572b96f95af2
[ "MIT" ]
null
null
null
src/Source Code/Main.cpp
MayKoder/Advanced-GL-Shader
3a73c5c112f9cc245b6353734eed572b96f95af2
[ "MIT" ]
null
null
null
src/Source Code/Main.cpp
MayKoder/Advanced-GL-Shader
3a73c5c112f9cc245b6353734eed572b96f95af2
[ "MIT" ]
null
null
null
#include <iostream> #include "MainGame.h" #include<ShObjIdl_core.h> #include "SDL/include/SDL.h" #pragma comment( lib, "SDL/libx86/SDL2.lib" ) #pragma comment( lib, "SDL/libx86/SDL2main.lib" ) #ifdef _DEBUG //#define TEST_MEMORY_MANAGER #include "mmgr/mmgr.h" #endif #include"Globals.h" int main(int argc, char** ar...
20
70
0.707143
MayKoder
f83b10e4dbfcaa1ad58e1ad0f1d43ae51f1967d1
321
hpp
C++
src/behavior/singleagent/auxiliary/performance/trial_mode.hpp
MarkieMark/fastrl
e4f0b9b60a7ecb6f13bbb79936ea82acb8adae0e
[ "Apache-2.0" ]
4
2019-04-19T00:11:36.000Z
2020-04-08T09:50:37.000Z
src/behavior/singleagent/auxiliary/performance/trial_mode.hpp
MarkieMark/fastrl
e4f0b9b60a7ecb6f13bbb79936ea82acb8adae0e
[ "Apache-2.0" ]
null
null
null
src/behavior/singleagent/auxiliary/performance/trial_mode.hpp
MarkieMark/fastrl
e4f0b9b60a7ecb6f13bbb79936ea82acb8adae0e
[ "Apache-2.0" ]
null
null
null
/* * Mark Benjamin 6th March 2019 * Copyright (c) 2019 Mark Benjamin */ #ifndef FASTRL_BEHAVIOR_SINGLEAGENT_AUXILIARY_PERFORMANCE_TRIAL_MODE_HPP #define FASTRL_BEHAVIOR_SINGLEAGENT_AUXILIARY_PERFORMANCE_TRIAL_MODE_HPP class TrialMode { }; #endif //FASTRL_BEHAVIOR_SINGLEAGENT_AUXILIARY_PERFORMANCE_TRIAL_MODE_HPP...
21.4
73
0.850467
MarkieMark
f83caf5726911784b6cd906f95d786793981b167
1,378
hpp
C++
ZeroLibraries/Serialization/DataTreeParser.hpp
jodavis42/ZeroPhysicsTestbed
e84a3f6faf16b7a4242dc049121b5338e80039f8
[ "MIT" ]
52
2018-09-11T17:18:35.000Z
2022-03-13T15:28:21.000Z
ZeroLibraries/Serialization/DataTreeParser.hpp
jodavis42/ZeroPhysicsTestbed
e84a3f6faf16b7a4242dc049121b5338e80039f8
[ "MIT" ]
1,409
2018-09-19T18:03:43.000Z
2021-06-09T08:33:33.000Z
ZeroLibraries/Serialization/DataTreeParser.hpp
jodavis42/ZeroPhysicsTestbed
e84a3f6faf16b7a4242dc049121b5338e80039f8
[ "MIT" ]
26
2018-09-11T17:16:32.000Z
2021-11-22T06:21:19.000Z
//////////////////////////////////////////////////////////////////////////////////////////////////// /// /// Authors: Joshua Claeys /// Copyright 2016, DigiPen Institute of Technology /// //////////////////////////////////////////////////////////////////////////////////////////////////// #pragma once namespace...
27.019608
101
0.568215
jodavis42
f83f46e8f0333d4b7579d9768544bccddd779880
1,949
hpp
C++
DoremiEngine/Graphic/Include/Internal/Manager/SkeletalAnimationManagerImpl.hpp
meraz/doremi
452d08ebd10db50d9563c1cf97699571889ab18f
[ "MIT" ]
1
2020-03-23T15:42:05.000Z
2020-03-23T15:42:05.000Z
DoremiEngine/Graphic/Include/Internal/Manager/SkeletalAnimationManagerImpl.hpp
Meraz/ssp15
452d08ebd10db50d9563c1cf97699571889ab18f
[ "MIT" ]
null
null
null
DoremiEngine/Graphic/Include/Internal/Manager/SkeletalAnimationManagerImpl.hpp
Meraz/ssp15
452d08ebd10db50d9563c1cf97699571889ab18f
[ "MIT" ]
1
2020-03-23T15:42:06.000Z
2020-03-23T15:42:06.000Z
#pragma once #include <Interface/Manager/SkeletalAnimationManager.hpp> #include <d3d11_1.h> namespace Doremi { namespace Core { struct AnimationTransitionInfo; } } namespace DoremiEngine { namespace Graphic { class SkeletalInformationImpl; struct GraphicModuleContext; ...
41.468085
151
0.645972
meraz
f84337e691a3b35cb8f42a64e555fc670787743d
15,224
cpp
C++
lib/MPU.cpp
justinwiel/IPASS
bf2969393401b2baf3c323fe781d172e596e49a3
[ "BSL-1.0" ]
2
2021-06-24T08:45:23.000Z
2022-01-22T20:53:16.000Z
lib/MPU.cpp
justinwiel/IPASS
bf2969393401b2baf3c323fe781d172e596e49a3
[ "BSL-1.0" ]
null
null
null
lib/MPU.cpp
justinwiel/IPASS
bf2969393401b2baf3c323fe781d172e596e49a3
[ "BSL-1.0" ]
null
null
null
// Boost Software License - Version 1.0 - August 17th, 2003 // Permission is hereby granted, free of charge, to any person or organization // obtaining a copy of the software and accompanying documentation covered by // this license (the "Software") to use, reproduce, display, distribute, // execute, and transmit the ...
36.684337
220
0.594719
justinwiel
f844a215fb82e6f23c65ec45827152b68a1f356c
1,668
cpp
C++
state/x_ShowSeed.cpp
velezladonna/mwc-qt-wallet
bd241b91d28350e17e52a10208e663fcb992d7cc
[ "Apache-2.0" ]
1
2020-03-19T10:02:16.000Z
2020-03-19T10:02:16.000Z
state/x_ShowSeed.cpp
velezladonna/mwc-qt-wallet
bd241b91d28350e17e52a10208e663fcb992d7cc
[ "Apache-2.0" ]
null
null
null
state/x_ShowSeed.cpp
velezladonna/mwc-qt-wallet
bd241b91d28350e17e52a10208e663fcb992d7cc
[ "Apache-2.0" ]
null
null
null
// Copyright 2019 The MWC Developers // // 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...
33.36
117
0.691247
velezladonna
f8479d03db4de61e5cee1ef7634705e58486c42e
753
cpp
C++
src/Graphics/Camera/Camera.cpp
maciejjaskiewicz/Xenon
665bdd69b9aa8a90ce3e90221d7ba9ded467d5d3
[ "MIT" ]
null
null
null
src/Graphics/Camera/Camera.cpp
maciejjaskiewicz/Xenon
665bdd69b9aa8a90ce3e90221d7ba9ded467d5d3
[ "MIT" ]
null
null
null
src/Graphics/Camera/Camera.cpp
maciejjaskiewicz/Xenon
665bdd69b9aa8a90ce3e90221d7ba9ded467d5d3
[ "MIT" ]
null
null
null
#include <Xenon/Graphics/Camera/Camera.hpp> namespace Xenon { Camera::Camera(const glm::mat4& projectionMatrix) : mProjectionMatrix(projectionMatrix), mViewProjectionMatrix(mProjectionMatrix * mViewMatrix) { } void Camera::setPosition(const glm::vec3& position) { mPosition = ...
20.916667
64
0.632138
maciejjaskiewicz
f8501fe8763b2d9a488d6324e5b1bf7487ec0339
5,449
cpp
C++
src/Npfs/UnitTesting/AdmUsers-Test.cpp
joluxer/NpfsCpp
f19d422b9ab4fa67e35c1e0c29dfa2abc8b0d78f
[ "Zlib" ]
null
null
null
src/Npfs/UnitTesting/AdmUsers-Test.cpp
joluxer/NpfsCpp
f19d422b9ab4fa67e35c1e0c29dfa2abc8b0d78f
[ "Zlib" ]
null
null
null
src/Npfs/UnitTesting/AdmUsers-Test.cpp
joluxer/NpfsCpp
f19d422b9ab4fa67e35c1e0c29dfa2abc8b0d78f
[ "Zlib" ]
null
null
null
/* * Connection-Test.cpp * * Created on: 19.07.2012 * Author: jlode */ #include "tut/tut.h" #include "../Resources/AdmUsersFile.h" #include "../NpfsConstants.h" #include "../Resources/Directory.h" #include "HeapMemory.h" extern "C" uint32_t getCurrentTime() { return 0; } namespace tut { struct AdmUsers...
28.984043
247
0.669481
joluxer
f85108c53ba606065472c274e57ef6d021a438e6
3,856
cpp
C++
3dEngine/src/api/render/shader/builder/ShaderBuilder.cpp
petitg1987/UrchinEngine
32d4b62b1ab7e2aa781c99de11331e3738078b0c
[ "MIT" ]
24
2015-10-05T00:13:57.000Z
2020-05-06T20:14:06.000Z
3dEngine/src/api/render/shader/builder/ShaderBuilder.cpp
petitg1987/UrchinEngine
32d4b62b1ab7e2aa781c99de11331e3738078b0c
[ "MIT" ]
1
2019-11-01T08:00:55.000Z
2019-11-01T08:00:55.000Z
3dEngine/src/api/render/shader/builder/ShaderBuilder.cpp
petitg1987/UrchinEngine
32d4b62b1ab7e2aa781c99de11331e3738078b0c
[ "MIT" ]
10
2015-11-25T07:33:13.000Z
2020-03-02T08:21:10.000Z
#include <stdexcept> #include <fstream> #include <cstring> #include <api/render/shader/builder/ShaderBuilder.h> #include <api/render/shader/config/ShaderConfig.h> namespace urchin { std::unique_ptr<Shader> ShaderBuilder::createShader(const std::string& vertexShaderFilename, const std::string& geometryShaderFilen...
48.810127
150
0.66805
petitg1987
f85199046efa240814f6037735d3e1024143888e
2,495
cpp
C++
source/lennaplugins/rename/widget.cpp
FalseCAM/lenna
5a649627a90b459ab369f1ac602f1c37b1db9c92
[ "MIT" ]
2
2021-09-21T18:38:36.000Z
2021-09-23T23:12:28.000Z
source/lennaplugins/rename/widget.cpp
FalseCAM/lenna
5a649627a90b459ab369f1ac602f1c37b1db9c92
[ "MIT" ]
null
null
null
source/lennaplugins/rename/widget.cpp
FalseCAM/lenna
5a649627a90b459ab369f1ac602f1c37b1db9c92
[ "MIT" ]
2
2016-07-04T18:27:31.000Z
2017-05-09T02:10:35.000Z
/** This file is part of program Lenna Copyright (C) 2013 FalseCAM This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version. ...
33.266667
77
0.708216
FalseCAM
f85216d8af46bd481cee79ea349239d2e52dae8b
398
cpp
C++
src/model/sphericalVoronoi.cpp
DanielMSussman/curvedSpaceVertexModel
b26a8fcd9218953225d5be578c0f72658c52764e
[ "BSL-1.0" ]
null
null
null
src/model/sphericalVoronoi.cpp
DanielMSussman/curvedSpaceVertexModel
b26a8fcd9218953225d5be578c0f72658c52764e
[ "BSL-1.0" ]
null
null
null
src/model/sphericalVoronoi.cpp
DanielMSussman/curvedSpaceVertexModel
b26a8fcd9218953225d5be578c0f72658c52764e
[ "BSL-1.0" ]
null
null
null
#include "sphericalVoronoi.h" /*! \file sphericalVoronoi.cpp" */ sphericalVoronoi::sphericalVoronoi(int n, noiseSource &_noise, bool _useGPU, bool _neverGPU) : sphericalModel(n,_noise,_useGPU,_neverGPU) { }; void sphericalVoronoi::convexHull() { ArrayHandle<dVec> pos(positions); convexHuller.spher...
28.428571
137
0.743719
DanielMSussman
f8526072b06f876990a79408652a11c8a66d9219
2,904
cpp
C++
ArraySorting/src/SortingAlgo/SortingAlgo.cpp
CJeauc/Array-Sorting
d8cb71adf5b9c25c4c2112e522e1c3db903c8ead
[ "MIT" ]
null
null
null
ArraySorting/src/SortingAlgo/SortingAlgo.cpp
CJeauc/Array-Sorting
d8cb71adf5b9c25c4c2112e522e1c3db903c8ead
[ "MIT" ]
null
null
null
ArraySorting/src/SortingAlgo/SortingAlgo.cpp
CJeauc/Array-Sorting
d8cb71adf5b9c25c4c2112e522e1c3db903c8ead
[ "MIT" ]
null
null
null
#include <algorithm> #include <SortingAlgo/SortingAlgo.h> int* SortingAlgo::BubbleSort(int* p_array, unsigned p_size) { unsigned newSize = 0; while (p_size) { newSize = 0; for (unsigned i = 1; i < p_size; ++i) { if (p_array[i] < p_array[i - 1]) { std::swap(p_array[i], p...
21.671642
70
0.574725
CJeauc
f854a76be3e051cb75f1a7f1f6860cc797ce1f7b
11,203
cpp
C++
roller_eye/src/nodes/speaker_node.cpp
lorenzo-bianchi/Scout-open-source
ca20d3112388f47a36a245de5de1a35673afd260
[ "MIT" ]
35
2022-03-12T01:36:17.000Z
2022-03-28T14:56:13.000Z
roller_eye/src/nodes/speaker_node.cpp
lorenzo-bianchi/Scout-open-source
ca20d3112388f47a36a245de5de1a35673afd260
[ "MIT" ]
null
null
null
roller_eye/src/nodes/speaker_node.cpp
lorenzo-bianchi/Scout-open-source
ca20d3112388f47a36a245de5de1a35673afd260
[ "MIT" ]
9
2022-03-12T01:39:43.000Z
2022-03-31T20:54:19.000Z
#define ALSA_PCM_NEW_HW_PARAMS_API #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <unistd.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/wait.h> #include <alsa/asoundlib.h> #include <sys/ioctl.h> #include <sys/syscall.h> #include <sys/prctl.h> #include "roller_ey...
23.098969
113
0.640721
lorenzo-bianchi
f85a185642d2f500edec649c33a28c891108441a
1,196
cpp
C++
ewk/unittest/utc_blink_ewk_settings_text_selection_enabled_set_func.cpp
Jabawack/chromium-efl
6d3a3accc8afba0aa0eff6461eb5c83138172e6e
[ "BSD-3-Clause" ]
9
2015-04-09T20:22:08.000Z
2021-03-17T08:34:56.000Z
ewk/unittest/utc_blink_ewk_settings_text_selection_enabled_set_func.cpp
Jabawack/chromium-efl
6d3a3accc8afba0aa0eff6461eb5c83138172e6e
[ "BSD-3-Clause" ]
2
2015-02-04T13:41:12.000Z
2015-05-25T14:00:40.000Z
ewk/unittest/utc_blink_ewk_settings_text_selection_enabled_set_func.cpp
isabella232/chromium-efl
db2d09aba6498fb09bbea1f8440d071c4b0fde78
[ "BSD-3-Clause" ]
14
2015-02-12T16:20:47.000Z
2022-01-20T10:36:26.000Z
// Copyright 2014 Samsung Electronics. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "utc_blink_ewk_base.h" class utc_blink_ewk_settings_text_selection_enabled_set : public utc_blink_ewk_base { }; /** * @brief Tests if returns T...
34.171429
85
0.802676
Jabawack
f85bc6f7eea78c258ab75f10483153844978463e
11,591
cpp
C++
sprites/main.cpp
amecky/ds_sandbox
f31e69f72a76c40aeb0fa3e3fbe9b651660df770
[ "MIT" ]
1
2017-09-28T19:41:04.000Z
2017-09-28T19:41:04.000Z
sprites/main.cpp
amecky/ds_sandbox
f31e69f72a76c40aeb0fa3e3fbe9b651660df770
[ "MIT" ]
null
null
null
sprites/main.cpp
amecky/ds_sandbox
f31e69f72a76c40aeb0fa3e3fbe9b651660df770
[ "MIT" ]
null
null
null
#define DS_IMPLEMENTATION #include <diesel.h> #define SPRITE_IMPLEMENTATION #include <ds_sprites.h> #define STB_IMAGE_IMPLEMENTATION #include <stb_image.h> #define DS_IMGUI_IMPLEMENTATION #include <ds_imgui.h> #include "Boids.h" #include "Obstacles.h" #include "math.h" #include "player.h" #include "sprite_editor.h" #in...
25.30786
106
0.662669
amecky
f85d0b730ffe7bc2f4b90bb828a7429dc965b3f6
1,664
cpp
C++
TOPCODER/603/1000.cpp
henviso/contests
aa8a5ce9ed4524e6c3130ee73af7640e5a86954c
[ "Apache-2.0" ]
null
null
null
TOPCODER/603/1000.cpp
henviso/contests
aa8a5ce9ed4524e6c3130ee73af7640e5a86954c
[ "Apache-2.0" ]
null
null
null
TOPCODER/603/1000.cpp
henviso/contests
aa8a5ce9ed4524e6c3130ee73af7640e5a86954c
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <string> #include <algorithm> #include <vector> #include <bitset> #include <cstring> #define ALL(x) (x).begin(),x.end() #define CLEAR(v, x) memset(v, x, sizeof(v)) #define CLEAR0(v) memset(v, 0, sizeof(v)) #define REP(i,n) for(int i = 0; i<n; i++) #define REPP(i,a,n) for(int i = a; i<n; i+...
29.192982
98
0.553486
henviso
f85f6d14be4351c67a80f8bd11616687f21bc4e4
44,461
hpp
C++
ket/include/ket/mpi/gate/exponential_swap.hpp
naoki-yoshioka/bracket
6eff40e6ee5768744974e9d79bf6ff892bd67390
[ "MIT" ]
null
null
null
ket/include/ket/mpi/gate/exponential_swap.hpp
naoki-yoshioka/bracket
6eff40e6ee5768744974e9d79bf6ff892bd67390
[ "MIT" ]
29
2017-11-14T02:25:15.000Z
2018-05-30T08:08:17.000Z
ket/include/ket/mpi/gate/exponential_swap.hpp
naoki-yoshioka/bracket
6eff40e6ee5768744974e9d79bf6ff892bd67390
[ "MIT" ]
null
null
null
#ifndef KET_MPI_GATE_EXPONENTIAL_SWAP_HPP # define KET_MPI_GATE_EXPONENTIAL_SWAP_HPP # include <boost/config.hpp> # include <complex> # include <vector> # include <array> # include <boost/range/value_type.hpp> # include <yampi/environment.hpp> # include <yampi/datatype_base.hpp> # include <yampi/communicator.hpp> ...
52.929762
199
0.692472
naoki-yoshioka
f8613a96cdfb2ffb73f4c0d946fca2e51fe5594f
6,100
hpp
C++
Core/fft_mt_r2iq_impl.hpp
ji3gab/ExtIO_sddc
ff82dddc75ee9a1af3d5ca0d882a81b5ee78410d
[ "MIT" ]
null
null
null
Core/fft_mt_r2iq_impl.hpp
ji3gab/ExtIO_sddc
ff82dddc75ee9a1af3d5ca0d882a81b5ee78410d
[ "MIT" ]
null
null
null
Core/fft_mt_r2iq_impl.hpp
ji3gab/ExtIO_sddc
ff82dddc75ee9a1af3d5ca0d882a81b5ee78410d
[ "MIT" ]
null
null
null
{ const int decimate = this->mdecimation; const int mfft = this->mfftdim[decimate]; // = halfFft / 2^mdecimation const int mratio = this->getRatio(); const fftwf_complex* filter = filterHw[decimate]; const bool lsb = this->getSideband(); plan_f2t_c2c = &plans_f2t_c2c[decimate]; while (r2iqOn) { const int16_t...
34.857143
96
0.634098
ji3gab
f8622e39e041dca618e8b4b890f50ff4b1c16428
1,041
hpp
C++
Include/Common/NameRegistry.hpp
amitukind/WebGL-Game-Engine
c78973803938c1cfba703d9bb437ec46a4c48045
[ "Unlicense" ]
null
null
null
Include/Common/NameRegistry.hpp
amitukind/WebGL-Game-Engine
c78973803938c1cfba703d9bb437ec46a4c48045
[ "Unlicense" ]
null
null
null
Include/Common/NameRegistry.hpp
amitukind/WebGL-Game-Engine
c78973803938c1cfba703d9bb437ec46a4c48045
[ "Unlicense" ]
null
null
null
/* Copyright (c) 2018-2021 Piotr Doan. All rights reserved. Software distributed under the permissive MIT License. */ #pragma once #include <unordered_map> #include "Common/NonCopyable.hpp" #ifndef NDEBUG #define NAME_REGISTRY_ENABLED #endif /* Name Registry Registry of names for looking them u...
20.411765
65
0.673391
amitukind
f8631bf5bccacd7276406d71c1876bc7c3898877
25,552
hpp
C++
src/XYZ/XYZVertexTwoParticle.hpp
Sourin-chatterjee/SpinParser
23fa90c327b8a4543e5afac1b64d18df40975182
[ "MIT" ]
null
null
null
src/XYZ/XYZVertexTwoParticle.hpp
Sourin-chatterjee/SpinParser
23fa90c327b8a4543e5afac1b64d18df40975182
[ "MIT" ]
null
null
null
src/XYZ/XYZVertexTwoParticle.hpp
Sourin-chatterjee/SpinParser
23fa90c327b8a4543e5afac1b64d18df40975182
[ "MIT" ]
null
null
null
/** * @file XYZVertexTwoParticle.hpp * @author Finn Lasse Buessen * @brief Two-particle vertex implementation for models with diagonal interactions. * * @copyright Copyright (c) 2020 */ #pragma once #include <istream> #include "lib/ValueBundle.hpp" #include "lib/Assert.hpp" #include "FrgCommon.hpp" /** * @bri...
38.366366
211
0.696462
Sourin-chatterjee
f86436fe482b4143296720068cbd3b57a023ed59
201
cpp
C++
20190928_ABC142/a.cpp
miyalab/AtCoder
a57c8a6195463a9a8edd1c3ddd36cc56f145c60d
[ "MIT" ]
null
null
null
20190928_ABC142/a.cpp
miyalab/AtCoder
a57c8a6195463a9a8edd1c3ddd36cc56f145c60d
[ "MIT" ]
null
null
null
20190928_ABC142/a.cpp
miyalab/AtCoder
a57c8a6195463a9a8edd1c3ddd36cc56f145c60d
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main() { int n; cin >> n; cout << fixed << setprecision(20); int a=n/2; a+=n%2; cout << (long double)a/n << endl; }
13.4
38
0.497512
miyalab
d37e914e71a505ace5edd1228761410d57b02143
6,871
cpp
C++
IrrealEngine/Application.cpp
albertmas/GameEngines
1b14749d4ede8b58cfa2e2ae60aa8e1af3d7bac5
[ "MIT" ]
null
null
null
IrrealEngine/Application.cpp
albertmas/GameEngines
1b14749d4ede8b58cfa2e2ae60aa8e1af3d7bac5
[ "MIT" ]
null
null
null
IrrealEngine/Application.cpp
albertmas/GameEngines
1b14749d4ede8b58cfa2e2ae60aa8e1af3d7bac5
[ "MIT" ]
null
null
null
#include "Application.h" #include "Module.h" #include "ModuleWindow.h" #include "ModuleInput.h" #include "ModuleRenderer3D.h" #include "ModuleCamera3D.h" #include "ModulePhysics3D.h" #include "ModuleAudio.h" #include "ModuleImGui.h" #include "ModuleSceneLoader.h" #include "ModuleMeshLoader.h" #include "ModuleTextureLoa...
22.381107
109
0.661476
albertmas
d382317b25a4d22dfbbfecc7de18eebd5291dd5b
3,369
cpp
C++
ToyBox/Sphere.cpp
RIPmr/MoonEngine
b6d8464cdf87c2045b5d4ecce348dc76815b7ff1
[ "MIT" ]
13
2020-04-04T15:34:14.000Z
2022-03-28T01:45:27.000Z
ToyBox/Sphere.cpp
RIPmr/MoonEngine
b6d8464cdf87c2045b5d4ecce348dc76815b7ff1
[ "MIT" ]
null
null
null
ToyBox/Sphere.cpp
RIPmr/MoonEngine
b6d8464cdf87c2045b5d4ecce348dc76815b7ff1
[ "MIT" ]
2
2020-09-21T07:26:20.000Z
2021-07-05T08:07:31.000Z
#include "Gizmo.h" #include "Sphere.h" #include "SceneMgr.h" #include "HotkeyMgr.h" #include "UIController.h" #include <iostream> namespace MOON { void Sphere::InteractiveCreate(void* arg) { HotKeyManager::state = CREATE; Sphere* sp = (Sphere*)arg; bool pickFlag = true; while (pickFlag && HotKeyManager::sta...
28.794872
114
0.614722
RIPmr
d386d029e33873d5a9daf45f01490e2eb2eb3ff2
2,116
cpp
C++
Kattis/spiderman.cpp
YourName0729/competitive-programming
437ef18a46074f520e0bfa0bdd718bb6b1c92800
[ "MIT" ]
3
2021-02-19T17:01:11.000Z
2021-03-11T16:50:19.000Z
Kattis/spiderman.cpp
YourName0729/competitive-programming
437ef18a46074f520e0bfa0bdd718bb6b1c92800
[ "MIT" ]
null
null
null
Kattis/spiderman.cpp
YourName0729/competitive-programming
437ef18a46074f520e0bfa0bdd718bb6b1c92800
[ "MIT" ]
null
null
null
// dp // https://open.kattis.com/problems/spiderman #include <bits/stdc++.h> #include <ext/pb_ds/tree_policy.hpp> #include <ext/pb_ds/assoc_container.hpp> #define For(i, n) for (int i = 0; i < n; ++i) #define Forcase int __t = 0; cin >> __t; while (__t--) #define pb push_back #define ll long long #define ull unsigned...
22.041667
117
0.428639
YourName0729
d38a0edd5b736851df5ecb306235d5dc4c134830
406
cpp
C++
AtCoder/ABC60/c.cpp
Takumi1122/data-structure-algorithm
6b9f26e4dbba981f034518a972ecfc698b86d837
[ "MIT" ]
null
null
null
AtCoder/ABC60/c.cpp
Takumi1122/data-structure-algorithm
6b9f26e4dbba981f034518a972ecfc698b86d837
[ "MIT" ]
null
null
null
AtCoder/ABC60/c.cpp
Takumi1122/data-structure-algorithm
6b9f26e4dbba981f034518a972ecfc698b86d837
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define rep(i, n) for (int i = 0; i < (n); ++i) using namespace std; using ll = long long; using P = pair<int, int>; using Graph = vector<vector<int>>; int main() { ll n, T; cin >> n >> T; vector<ll> t(n); rep(i, n) cin >> t[i]; ll ans = 0; ll pre = 0; rep(i, n) { ans += min...
17.652174
47
0.495074
Takumi1122
d38f0ea8d79dcb6cedecfeac04cfb386beb5d94d
1,313
cpp
C++
Fondamenti di Programmazione/Test020_AlberoDiNatale/main.cpp
NamaWho/University
5723e113e8ef082d50201c545ea901cc0eb87613
[ "MIT" ]
1
2021-01-10T10:03:58.000Z
2021-01-10T10:03:58.000Z
Fondamenti di Programmazione/Test020_AlberoDiNatale/main.cpp
NamaWho/University
5723e113e8ef082d50201c545ea901cc0eb87613
[ "MIT" ]
null
null
null
Fondamenti di Programmazione/Test020_AlberoDiNatale/main.cpp
NamaWho/University
5723e113e8ef082d50201c545ea901cc0eb87613
[ "MIT" ]
null
null
null
// main.cpp #include "compito.h" using namespace std; int main() { cout << "--- PRIMA PARTE ---" << endl; cout << "Test del costruttore:" << endl; AlberoDiNatale a(4); cout << a << endl; cout << "Test della aggiungiPallina:" << endl; a.aggiungiPallina('V', 1, 2); a.aggiungiPallina('R', 3, ...
27.93617
50
0.53313
NamaWho
d390e786ec20ebe0314660244f999d3a92220304
7,853
cpp
C++
Code/lib/AspenSIM800/src/atcmds/calls.cpp
johannes51/Telefon
751ff691b184f5fc456e5b978ebe39aecb1d3961
[ "MIT" ]
null
null
null
Code/lib/AspenSIM800/src/atcmds/calls.cpp
johannes51/Telefon
751ff691b184f5fc456e5b978ebe39aecb1d3961
[ "MIT" ]
null
null
null
Code/lib/AspenSIM800/src/atcmds/calls.cpp
johannes51/Telefon
751ff691b184f5fc456e5b978ebe39aecb1d3961
[ "MIT" ]
null
null
null
// "Aspen SIM800" is a comprehensive SIM800 library for simplified and in-depth chip access. // Copyright (C) 2016 Mattias Aabmets (https://github.com/aspenforest) // // This API library is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as p...
29.522556
94
0.426971
johannes51
d3921897e0bc7ded68025d845bf2025ef0dea4a7
836
hpp
C++
Soldier.hpp
amit1021/wargame-b
3b10fd404f7af5acfe1cfcc2c791f18afa36ab66
[ "MIT" ]
null
null
null
Soldier.hpp
amit1021/wargame-b
3b10fd404f7af5acfe1cfcc2c791f18afa36ab66
[ "MIT" ]
null
null
null
Soldier.hpp
amit1021/wargame-b
3b10fd404f7af5acfe1cfcc2c791f18afa36ab66
[ "MIT" ]
null
null
null
#pragma once #include <iostream> #include <bits/stdc++.h> class Soldier { public: int pointHealth; int pointDamage; int player; int maxHelth; virtual void f() {} Soldier(int pointHealth, int pointDamage, int player) { this->player = player; this->pointHealth = pointHealth; ...
22
67
0.486842
amit1021
d39467aff7519396695c246e7735f9581c935784
1,800
cpp
C++
10-8Data/实验3/main.cpp
Muxxs/DataHomework
3d8a9db72e36e6411624431c3cb8fa1197900e0a
[ "MIT" ]
1
2020-10-15T04:18:28.000Z
2020-10-15T04:18:28.000Z
10-8Data/实验3/main.cpp
Muxxs/DataHomework
3d8a9db72e36e6411624431c3cb8fa1197900e0a
[ "MIT" ]
null
null
null
10-8Data/实验3/main.cpp
Muxxs/DataHomework
3d8a9db72e36e6411624431c3cb8fa1197900e0a
[ "MIT" ]
null
null
null
// // Created by Muxxs on 2020/10/8. // #include <iostream> #include <cstdlib> #define STACK_INIT_SIZE 100 #define STACKINCREMENT 10 using namespace std; typedef void status; typedef struct { int data; } SElementType; typedef struct { SElementType *top; SElementType *base; int StackSize; } SqStack; st...
16.666667
104
0.562222
Muxxs
d398da5b286c657320b1055f8206377004fbd546
354
cpp
C++
All_code/120.cpp
jnvshubham7/cpp-programming
7d00f4a3b97b9308e337c5d3547fd3edd47c5e0b
[ "Apache-2.0" ]
1
2021-12-22T12:37:36.000Z
2021-12-22T12:37:36.000Z
All_code/120.cpp
jnvshubham7/CPP_Programming
a17c4a42209556495302ca305b7c3026df064041
[ "Apache-2.0" ]
null
null
null
All_code/120.cpp
jnvshubham7/CPP_Programming
a17c4a42209556495302ca305b7c3026df064041
[ "Apache-2.0" ]
null
null
null
#include<bits/stdc++.h> using namespace std; #define fileio freopen("input.txt", "r", stdin);freopen("output.txt", "w", stdout) int main(){ fileio; int t; cin>>t; while(t--){ int a; cin>>a; if(a%3==0){ // cout<<endl; } else{ cout<<a<<endl...
15.391304
82
0.443503
jnvshubham7
d3990e0b53befcb71214477c497d304bf0718100
1,870
cpp
C++
src/node/GlueCalculation.cpp
robin33n/formulae-cxx
4b691e515b30508fb5e29c68426bad51d9629e72
[ "MIT" ]
1
2019-11-25T04:00:03.000Z
2019-11-25T04:00:03.000Z
src/node/GlueCalculation.cpp
robin33n/formulae-cxx
4b691e515b30508fb5e29c68426bad51d9629e72
[ "MIT" ]
1
2019-09-25T11:10:39.000Z
2019-09-26T11:32:00.000Z
src/node/GlueCalculation.cpp
robin33n/formulae-cxx
4b691e515b30508fb5e29c68426bad51d9629e72
[ "MIT" ]
null
null
null
/** * Last modified: Tue Aug 30 20:26:14 CST 2016 * @author: Lie Yan * @email: robin.lie.yan@outlook.com * */ #include "GlueCalculation.h" namespace formulae{ namespace node { list_t<glueSpec_t::subSpec_t> extractGlue(std::function<glueSpec_t::subSpec_t(glueSpec_t)> access, const list_t<NodeRef> &li...
28.769231
80
0.605882
robin33n
d39946588d781f7fb966ea76a06bb14f781d5b84
14,670
hpp
C++
src/verify/bentley_ottmann_any_intersection.hpp
jacketsj/cgshop2022-gitastrophe
89410fbdbb97511881ee4830d28604fcffa0c314
[ "MIT" ]
null
null
null
src/verify/bentley_ottmann_any_intersection.hpp
jacketsj/cgshop2022-gitastrophe
89410fbdbb97511881ee4830d28604fcffa0c314
[ "MIT" ]
null
null
null
src/verify/bentley_ottmann_any_intersection.hpp
jacketsj/cgshop2022-gitastrophe
89410fbdbb97511881ee4830d28604fcffa0c314
[ "MIT" ]
null
null
null
#pragma once #include "geom.hpp" #include <algorithm> #include <cassert> #include <exception> #include <limits> #include <map> #include <memory> #include <optional> #include <queue> #include <random> #include <stdexcept> #include <tuple> #include <unordered_map> #include <utility> #include <vector> namespace boi { /**...
27.016575
79
0.658214
jacketsj
d39a8b9d86349370b8ab35222ddffa8f20bff88e
20,816
cpp
C++
examples/myWebProject/src/user.cpp
CoryNull/gold
b990ec6f874434b6e46f838213b5f4936aa86792
[ "Apache-2.0" ]
null
null
null
examples/myWebProject/src/user.cpp
CoryNull/gold
b990ec6f874434b6e46f838213b5f4936aa86792
[ "Apache-2.0" ]
null
null
null
examples/myWebProject/src/user.cpp
CoryNull/gold
b990ec6f874434b6e46f838213b5f4936aa86792
[ "Apache-2.0" ]
null
null
null
#include "user.hpp" #include <cstddef> #include <iostream> #include <locale> #include <random> #include <regex> #include "bootstrap.hpp" #include "error.hpp" #include "file.hpp" #include "session.hpp" #include "template.hpp" #include "user.hpp" #include "utility.hpp" namespace gg { using div = gold::HTML::div; o...
26.653009
62
0.588922
CoryNull
d39d4ed56ce06161017a15024f5340d42ad2dcf1
312
cpp
C++
Contest 1003/A.cpp
PC-DOS/SEUCPP-OJ-KEYS
073f97fb29a659abd25554330382f0a7149c2511
[ "MIT" ]
null
null
null
Contest 1003/A.cpp
PC-DOS/SEUCPP-OJ-KEYS
073f97fb29a659abd25554330382f0a7149c2511
[ "MIT" ]
null
null
null
Contest 1003/A.cpp
PC-DOS/SEUCPP-OJ-KEYS
073f97fb29a659abd25554330382f0a7149c2511
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main(){ int sd, sh, sm, ad, ah, am; long s, a,t; cin >> sd >> sh >> sm >> ad >> ah >> am; s = sd * 24 * 60 + sh * 60 + sm; a = ad * 24 * 60 + ah * 60 + am; t = (a - s) / 60; cout << t << ' ' << (a - s) - 60 *t; //system("pause>nul"); }
26
44
0.419872
PC-DOS
d39f021833d763b5b7ba1371bb8f9c8d187a3974
283
cpp
C++
src/homework/01_variables/variables.cpp
acc-cosc-1337-fall-2020/acc-cosc-1337-fall-2020-julieei206
e1fb506dbe4b068c01db307cd7626fd88b456a20
[ "MIT" ]
null
null
null
src/homework/01_variables/variables.cpp
acc-cosc-1337-fall-2020/acc-cosc-1337-fall-2020-julieei206
e1fb506dbe4b068c01db307cd7626fd88b456a20
[ "MIT" ]
1
2020-10-30T23:36:49.000Z
2020-11-06T19:33:56.000Z
src/homework/01_variables/variables.cpp
acc-cosc-1337-fall-2020/acc-cosc-1337-fall-2020-julieei206
e1fb506dbe4b068c01db307cd7626fd88b456a20
[ "MIT" ]
null
null
null
#include <iostream> #include "variables.h" using namespace std; const double tax_rate =6.75; double get_sales_tax_amount(double meal_amount) { return meal_amount*(tax_rate/100); } double get_tip_amount(double meal_amount,double tip_rate) { return meal_amount*(tip_rate/100); }
14.894737
57
0.780919
acc-cosc-1337-fall-2020
d3a118756b08136c2f3670d74349ea5a4b3de70d
2,036
cpp
C++
bia/thread/thread.cpp
bialang/bia
b54fff096b4fe91ddb0b1d509ea828daa11cee7e
[ "BSD-3-Clause" ]
2
2017-09-09T17:03:18.000Z
2018-03-02T20:02:02.000Z
bia/thread/thread.cpp
terrakuh/Bia
412b7e8aeb259f4925c3b588f6025760a43cd0b7
[ "BSD-3-Clause" ]
7
2018-10-11T18:14:19.000Z
2018-12-26T15:31:04.000Z
bia/thread/thread.cpp
terrakuh/Bia
412b7e8aeb259f4925c3b588f6025760a43cd0b7
[ "BSD-3-Clause" ]
null
null
null
#include "thread.hpp" #include <bia/log/log.hpp> #include <bia/util/gsl.hpp> #include <exception> #if BIA_THREAD_BACKEND_STD # include <thread> #elif BIA_THREAD_BACKEND_NONE # if defined(BIA_THREAD_SLEEP_INCLUDE) # include BIA_THREAD_SLEEP_INCLUDE # endif #endif namespace bia { namespace thread { struct Thread::Im...
17.254237
86
0.713654
bialang
d3a3edc4e7d7218175eb0738de2e12b6f4dd637e
923
hpp
C++
src/Types/Conversions/ros/nav_msgs/Path.hpp
Rauldg/robot_remote_control
d62cd95f419099437525a225800d6c13b9005784
[ "BSD-3-Clause" ]
8
2021-04-10T12:23:55.000Z
2022-01-27T07:36:52.000Z
src/Types/Conversions/ros/nav_msgs/Path.hpp
Rauldg/robot_remote_control
d62cd95f419099437525a225800d6c13b9005784
[ "BSD-3-Clause" ]
7
2020-02-25T17:14:21.000Z
2022-03-22T12:39:46.000Z
src/Types/Conversions/ros/nav_msgs/Path.hpp
Rauldg/robot_remote_control
d62cd95f419099437525a225800d6c13b9005784
[ "BSD-3-Clause" ]
5
2019-12-02T08:54:37.000Z
2022-02-08T15:07:01.000Z
#pragma once #include <robot_remote_control/Types/RobotRemoteControl.pb.h> #include "../Header.hpp" #include "../geometry_msgs/Pose.hpp" #include <nav_msgs/Path.h> namespace robot_remote_control { namespace RosConversion { static void convert(const nav_msgs::Path &from, robot_remote_control::Poses* to) { ...
27.147059
86
0.622969
Rauldg
d3a6614b779bf6fe97755774b011cddb3380995a
2,616
cpp
C++
src/generator/Generator.cpp
Krupv/procedural-terrain
09bd8ba1305631ca7595ab5ce8f04eb8c015fa1b
[ "MIT" ]
null
null
null
src/generator/Generator.cpp
Krupv/procedural-terrain
09bd8ba1305631ca7595ab5ce8f04eb8c015fa1b
[ "MIT" ]
null
null
null
src/generator/Generator.cpp
Krupv/procedural-terrain
09bd8ba1305631ca7595ab5ce8f04eb8c015fa1b
[ "MIT" ]
null
null
null
// #include "Generator.hpp" // // #include <glm/glm.hpp> // //#include <cstdlib> // #include <math.h> //fmod // // //////////////////////////////////////////////////////////////////////////////// // // CONSTRUCTOR // //////////////////////////////////////////////////////////////////////////////// // Generator::Generato...
27.829787
125
0.380734
Krupv
d3a95aaa7db8a459195a86695204f8cafad0e159
4,085
cpp
C++
test/unit/list/iterable_dhp.cpp
gidabite/libcds
f10fef7ff8c9d1abb4af1cfbf9ae5c60f9911014
[ "BSD-2-Clause" ]
2,118
2015-01-01T00:30:42.000Z
2022-03-30T12:47:38.000Z
test/unit/list/iterable_dhp.cpp
liangwens/libcds
b4d11539824bb91ae4604f47aa1416fdd7cc1ff1
[ "BSL-1.0" ]
113
2015-01-03T15:29:40.000Z
2022-03-05T21:30:11.000Z
test/unit/list/iterable_dhp.cpp
liangwens/libcds
b4d11539824bb91ae4604f47aa1416fdd7cc1ff1
[ "BSL-1.0" ]
385
2015-01-01T21:51:48.000Z
2022-03-25T12:51:30.000Z
// Copyright (c) 2006-2018 Maxim Khizhinsky // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE or copy at http://www.boost.org/LICENSE_1_0.txt) #include "test_iterable_list_hp.h" #include <cds/container/iterable_list_dhp.h> namespace { namespace cc = cds::container;...
28.172414
79
0.569155
gidabite
d3adc8b3df2e73e34948f5e8f2273af3ab6238d7
550
hpp
C++
rtos/RISCV/GD32VF/interrupthandlers.hpp
snorkysnark/CortexLib
0db035332ebdfbebf21ca36e5e04b78a5a908a49
[ "MIT" ]
22
2019-09-07T22:38:01.000Z
2022-01-31T21:35:55.000Z
rtos/RISCV/GD32VF/interrupthandlers.hpp
snorkysnark/CortexLib
0db035332ebdfbebf21ca36e5e04b78a5a908a49
[ "MIT" ]
null
null
null
rtos/RISCV/GD32VF/interrupthandlers.hpp
snorkysnark/CortexLib
0db035332ebdfbebf21ca36e5e04b78a5a908a49
[ "MIT" ]
9
2019-09-22T11:26:24.000Z
2022-03-21T10:53:15.000Z
// Filename: InterruptHandlers.hpp // Created by by Sergey Kolody on 12.07.2020. #pragma once #include <cstdint> extern void Scheduler(); using tInterruptFunction = void (*)(); extern tInterruptFunction gd_vector_base[]; struct InterruptHandlers { public: __interrupt static void TrapEntry(); __interrupt static ...
16.176471
46
0.710909
snorkysnark
d3ae2aef052a406b21fb0cb5b6341daba6d809f1
2,364
cpp
C++
a2oj/Graphs/game_show_math.cpp
onexmaster/cp
b78b0f1e586d6977d86c97b32f48fed33f1469af
[ "Apache-2.0", "MIT" ]
null
null
null
a2oj/Graphs/game_show_math.cpp
onexmaster/cp
b78b0f1e586d6977d86c97b32f48fed33f1469af
[ "Apache-2.0", "MIT" ]
null
null
null
a2oj/Graphs/game_show_math.cpp
onexmaster/cp
b78b0f1e586d6977d86c97b32f48fed33f1469af
[ "Apache-2.0", "MIT" ]
null
null
null
// Created by Tanuj Jain #include<bits/stdc++.h> #include<ext/pb_ds/assoc_container.hpp> #include<ext/pb_ds/tree_policy.hpp> using namespace std; using namespace __gnu_pbds; #define pb push_back #define mp make_pair typedef long long ll; typedef pair<int,int> pii; template<class T> using oset=tree<T, null_typ...
18.325581
106
0.543993
onexmaster
d3b58081d395cc1f8d4a073a8be38b7ffba88b73
1,172
cpp
C++
Source/Graphics/Camera.cpp
aiekick/VulkanRTSEngine
b02c0d0fa1530dc920fde2a9928bd540cfdd31e6
[ "Apache-2.0" ]
1
2021-05-11T07:52:05.000Z
2021-05-11T07:52:05.000Z
Source/Graphics/Camera.cpp
aiekick/VulkanRTSEngine
b02c0d0fa1530dc920fde2a9928bd540cfdd31e6
[ "Apache-2.0" ]
null
null
null
Source/Graphics/Camera.cpp
aiekick/VulkanRTSEngine
b02c0d0fa1530dc920fde2a9928bd540cfdd31e6
[ "Apache-2.0" ]
null
null
null
#include "Precomp.h" #include "Camera.h" Camera::Camera(float aWidth, float aHeight, bool anOrthoMode /* =false */) : myOrthoMode(anOrthoMode) , myTransform() { //setting up the matrix for UI rendering //call Recalculate to get proper perspective matrix if (myOrthoMode) { SetProjOrtho(0, aWidth, 0, aHeight); ...
24.93617
86
0.728669
aiekick
d3b85fad46846113e09ff5a06d6ce8478c81c2a9
1,036
cpp
C++
src/cl_dll/tri.cpp
SolarisBravo/Half-Life-VR
f21db516a3fad10688307259eee2e8370b6c0b71
[ "Unlicense" ]
1
2021-04-03T16:52:33.000Z
2021-04-03T16:52:33.000Z
src/cl_dll/tri.cpp
SolarisBravo/Half-Life-VR
f21db516a3fad10688307259eee2e8370b6c0b71
[ "Unlicense" ]
null
null
null
src/cl_dll/tri.cpp
SolarisBravo/Half-Life-VR
f21db516a3fad10688307259eee2e8370b6c0b71
[ "Unlicense" ]
null
null
null
//========= Copyright � 1996-2002, Valve LLC, All rights reserved. ============ // // Purpose: // // $NoKeywords: $ //============================================================================= // Triangle rendering, if any #include "hud.h" #include "cl_util.h" // Triangle rendering apis are in gEngfuncs.pTriAPI ...
19.185185
79
0.635135
SolarisBravo
d3bea4cf49a07b0cdf0d850b365d45b1d591bd3f
5,474
cpp
C++
Robocup/BehaviorTree/BehaviorTarget.cpp
MaximV88/RoboCup
7066f3f1370145cf0a7bad06a7774716cb0b4573
[ "MIT" ]
null
null
null
Robocup/BehaviorTree/BehaviorTarget.cpp
MaximV88/RoboCup
7066f3f1370145cf0a7bad06a7774716cb0b4573
[ "MIT" ]
null
null
null
Robocup/BehaviorTree/BehaviorTarget.cpp
MaximV88/RoboCup
7066f3f1370145cf0a7bad06a7774716cb0b4573
[ "MIT" ]
null
null
null
/************************************************************ * Student Name: TreeBots * * Exercise Name: Ex6 * * File description: Implementation of BehaviorTarget Class * ***********************************************************/ #include ...
23.8
108
0.648155
MaximV88
d3c32184c6c29c4c1e4c9436e598c83caa772b1b
31,887
cc
C++
FastEMRIWaveforms/src/SWSH.cc
basuparth/ICERM_Workshop
ebabce680fc87e90ff1de30246dcda9beb384bb4
[ "MIT" ]
null
null
null
FastEMRIWaveforms/src/SWSH.cc
basuparth/ICERM_Workshop
ebabce680fc87e90ff1de30246dcda9beb384bb4
[ "MIT" ]
null
null
null
FastEMRIWaveforms/src/SWSH.cc
basuparth/ICERM_Workshop
ebabce680fc87e90ff1de30246dcda9beb384bb4
[ "MIT" ]
null
null
null
// Code to compute spin-weighted spherical harmonics with s=-2 // Copyright (C) 2020 Michael L. Katz, Alvin J.K. Chua, Niels Warburton, Scott A. Hughes // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software...
182.211429
522
0.565873
basuparth
d3c7b9d5f7796dfb9c6eff30eaf7a50199f93a6d
7,244
cpp
C++
hextile-demo/shaderutils.cpp
mmikk/hextile-demo
f42f7b557035bdf5f230eb3007166d459e57d42e
[ "MIT" ]
null
null
null
hextile-demo/shaderutils.cpp
mmikk/hextile-demo
f42f7b557035bdf5f230eb3007166d459e57d42e
[ "MIT" ]
null
null
null
hextile-demo/shaderutils.cpp
mmikk/hextile-demo
f42f7b557035bdf5f230eb3007166d459e57d42e
[ "MIT" ]
null
null
null
#include "shaderutils.h" #include "DXUT.h" #include <d3d11_2.h> static ID3D11SamplerState * g_pSamplerStateWrapAniso = NULL; static ID3D11SamplerState * g_pSamplerStateWrap = NULL; static ID3D11SamplerState * g_pSamplerStateClamp = NULL; static ID3D11SamplerState * m_pSamplerShadowPCF = NULL; static ID3D11Rasteriz...
30.309623
97
0.802733
mmikk
d3cdc93db823f229698cb82c415c4be8d8a9d313
633
hpp
C++
experimental/Pomdog.Experimental/Gameplay2D/Behavior.hpp
bis83/pomdog
133a9262958d539ae6d93664e6cb2207b5b6c7ff
[ "MIT" ]
null
null
null
experimental/Pomdog.Experimental/Gameplay2D/Behavior.hpp
bis83/pomdog
133a9262958d539ae6d93664e6cb2207b5b6c7ff
[ "MIT" ]
null
null
null
experimental/Pomdog.Experimental/Gameplay2D/Behavior.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_BEHAVIOR_00BB3FAF_HPP #define POMDOG_BEHAVIOR_00BB3FAF_HPP #include "Pomdog.Experimental/Gameplay/Component.hpp" #include "Pomdog/Application/Duration.hpp" #include <memory> namespace Pomdog { ...
23.444444
84
0.766193
bis83
d3cf65c7257feb59538d8b3c5f2e1f24082b8d0b
318
cpp
C++
oop/7/object.cpp
Sasha-hk/saceit-practice
1c6ebfb3881ad1100b5849afa5bb9e306c0aeb51
[ "MIT" ]
1
2022-03-22T07:10:37.000Z
2022-03-22T07:10:37.000Z
oop/7/object.cpp
Sasha-hk/saceit-practice
1c6ebfb3881ad1100b5849afa5bb9e306c0aeb51
[ "MIT" ]
null
null
null
oop/7/object.cpp
Sasha-hk/saceit-practice
1c6ebfb3881ad1100b5849afa5bb9e306c0aeb51
[ "MIT" ]
null
null
null
#pragma once #include <iostream> #include <cmath> using namespace std; class Formula { private: protected: float x = 0; float a = 1.67; float R = 2.31; float L = 0.89; public: Formula() { x = (sqrt(M_PI)) / (a * R * L) + sin(a * 2); } float getX() { return x; } };
13.826087
50
0.509434
Sasha-hk
d3d1951d38b2add971bc3a8d3efcc005ef9bb0d6
12,855
cpp
C++
src/louischessx/game_controller_precomputation.cpp
louishobson/louischessx
cc97e4ef4b716bfa9d83435f1f0cb8512bd1c4f4
[ "MIT" ]
null
null
null
src/louischessx/game_controller_precomputation.cpp
louishobson/louischessx
cc97e4ef4b716bfa9d83435f1f0cb8512bd1c4f4
[ "MIT" ]
null
null
null
src/louischessx/game_controller_precomputation.cpp
louishobson/louischessx
cc97e4ef4b716bfa9d83435f1f0cb8512bd1c4f4
[ "MIT" ]
null
null
null
/* * Copyright (C) 2020 Louis Hobson <louis-hobson@hotmail.co.uk>. All Rights Reserved. * * Distributed under MIT licence as a part of the Chess C++ library. * For details, see: https://github.com/louishobson/Chess/blob/master/LICENSE * * src/chess/game_controller_precomputation.cpp * * Implementation of pre...
42.993311
275
0.672812
louishobson
d3d7c558b6bd8b4670448d6c89107667ed35174b
652
cpp
C++
level1/p05_allPrimes/p05.cpp
justcyl/c2021-1
1b623630c5639a7051c6070d03e60faa2febf97f
[ "MIT" ]
null
null
null
level1/p05_allPrimes/p05.cpp
justcyl/c2021-1
1b623630c5639a7051c6070d03e60faa2febf97f
[ "MIT" ]
null
null
null
level1/p05_allPrimes/p05.cpp
justcyl/c2021-1
1b623630c5639a7051c6070d03e60faa2febf97f
[ "MIT" ]
null
null
null
#include <cstdio> #include <cstring> #include <ctime> using namespace std; const int MAXN = 2021; int pri[MAXN], cnt = 0; bool is_p[MAXN]; void makepri(){ memset(is_p, true, sizeof(is_p)); for (int i = 2; i < MAXN; i++){ if (is_p[i]) pri[++cnt] = i; for (int j = 1; j <= cnt; j++){ if (i * pri[j] >= ...
17.157895
71
0.555215
justcyl
d3d8f2e68c3d3752ca4997862bb58fc4b764b410
687
cpp
C++
Plugins/AlembicImporter/Source/AlembicLibrary/Private/AbcImportSettings.cpp
greenrainstudios/AlembicUtilities
3970988065aef6861898a5185495e784a0c43ecb
[ "MIT" ]
null
null
null
Plugins/AlembicImporter/Source/AlembicLibrary/Private/AbcImportSettings.cpp
greenrainstudios/AlembicUtilities
3970988065aef6861898a5185495e784a0c43ecb
[ "MIT" ]
null
null
null
Plugins/AlembicImporter/Source/AlembicLibrary/Private/AbcImportSettings.cpp
greenrainstudios/AlembicUtilities
3970988065aef6861898a5185495e784a0c43ecb
[ "MIT" ]
1
2021-01-22T09:11:51.000Z
2021-01-22T09:11:51.000Z
// Copyright Epic Games, Inc. All Rights Reserved. #include "AbcImportSettings.h" #include "UObject/Class.h" #include "UObject/Package.h" UAbcImportSettings::UAbcImportSettings(const FObjectInitializer& ObjectInitializer) : Super(ObjectInitializer) { ImportType = EAlembicImportType::StaticMesh; bReimport ...
26.423077
101
0.754003
greenrainstudios
d3db3873ccc5f9c5b6e80198aa2312a3cb4b70b0
521
hpp
C++
include/NP-Engine/Concurrency/ConcurrencyConstants.hpp
naphipps/NP-Engine
0cac8b2d5e76c839b96f2061bf57434bdc37915e
[ "MIT" ]
null
null
null
include/NP-Engine/Concurrency/ConcurrencyConstants.hpp
naphipps/NP-Engine
0cac8b2d5e76c839b96f2061bf57434bdc37915e
[ "MIT" ]
null
null
null
include/NP-Engine/Concurrency/ConcurrencyConstants.hpp
naphipps/NP-Engine
0cac8b2d5e76c839b96f2061bf57434bdc37915e
[ "MIT" ]
null
null
null
// // concurrency_constants.hpp // Project Space // // Created by Nathan Phipps on 9/6/20. // Copyright © 2020 Nathan Phipps. All rights reserved. // #ifndef NP_ENGINE_CONCURRENCY_CONSTANTS_HPP #define NP_ENGINE_CONCURRENCY_CONSTANTS_HPP #include "NP-Engine/Primitive/Primitive.hpp" namespace np { namespace conc...
21.708333
56
0.765835
naphipps
d3e4961c7656b38357e73e35b27650773246409a
904
cpp
C++
past_archive/swexpert/6900(lottery).cpp
DongHyunByun/algorithm_practice
c726c69d35306d23467f4af6e10f2db6fdc68234
[ "MIT" ]
null
null
null
past_archive/swexpert/6900(lottery).cpp
DongHyunByun/algorithm_practice
c726c69d35306d23467f4af6e10f2db6fdc68234
[ "MIT" ]
null
null
null
past_archive/swexpert/6900(lottery).cpp
DongHyunByun/algorithm_practice
c726c69d35306d23467f4af6e10f2db6fdc68234
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <string> using namespace std; bool isCorrect(string ans, string myNum) { for (int i = 0; i < 8; i++) { if (ans[i] == '*' or ans[i]==myNum[i]) { continue; } else { return false; } } return true; } int main() { int t; int N, M; string ans; int money...
15.586207
50
0.511062
DongHyunByun
d3eaae52a5c84f924213acc364e994d9583cd006
11,915
cpp
C++
source/exhumed/src/snake.cpp
madame-rachelle/Raze
67c8187d620e6cf9e99543cab5c5746dd31007af
[ "RSA-MD" ]
null
null
null
source/exhumed/src/snake.cpp
madame-rachelle/Raze
67c8187d620e6cf9e99543cab5c5746dd31007af
[ "RSA-MD" ]
null
null
null
source/exhumed/src/snake.cpp
madame-rachelle/Raze
67c8187d620e6cf9e99543cab5c5746dd31007af
[ "RSA-MD" ]
null
null
null
//------------------------------------------------------------------------- /* Copyright (C) 2010-2019 EDuke32 developers and contributors Copyright (C) 2019 sirlemonhead, Nuke.YKT This file is part of PCExhumed. PCExhumed is free software; you can redistribute it and/or modify it under the terms of the GNU General Pub...
27.327982
122
0.538901
madame-rachelle
d3ed385779a9b6e7ba54002225542c56ca05dd8a
2,633
cpp
C++
Sticky/native/qcd/stickyqcd.cpp
ljw1004/blog
0621ca9ec47af2ace639176e2932bdd073b84173
[ "MIT" ]
57
2015-06-05T14:52:58.000Z
2019-12-10T22:33:55.000Z
Sticky/native/qcd/stickyqcd.cpp
ljw1004/blog
0621ca9ec47af2ace639176e2932bdd073b84173
[ "MIT" ]
9
2015-09-28T15:23:03.000Z
2019-01-03T23:20:16.000Z
Sticky/native/qcd/stickyqcd.cpp
ljw1004/blog
0621ca9ec47af2ace639176e2932bdd073b84173
[ "MIT" ]
19
2015-08-16T23:02:10.000Z
2022-03-31T03:54:06.000Z
#include <windows.h> #include <commdlg.h> #include <commctrl.h> #include <shellapi.h> #pragma warning( push ) #pragma warning( disable: 4201 ) #include <mmsystem.h> #pragma warning( pop ) #include <string> #include <list> #include <vector> using namespace std; #include <math.h> #include <stdlib.h> #include <stdio.h> #i...
25.317308
116
0.657045
ljw1004
d3eea5d3fb48f47a7286e80f28cb255a7ac8ea6b
5,421
cpp
C++
firmware-usbhost/common/ecp/EcpServerPacketLayer.cpp
Zzzzipper/cppprojects
e9c9b62ca1e411320c24a3d168cab259fa2590d3
[ "MIT" ]
null
null
null
firmware-usbhost/common/ecp/EcpServerPacketLayer.cpp
Zzzzipper/cppprojects
e9c9b62ca1e411320c24a3d168cab259fa2590d3
[ "MIT" ]
1
2021-09-03T13:03:20.000Z
2021-09-03T13:03:20.000Z
firmware-usbhost/common/ecp/EcpServerPacketLayer.cpp
Zzzzipper/cppprojects
e9c9b62ca1e411320c24a3d168cab259fa2590d3
[ "MIT" ]
null
null
null
#include "EcpServerPacketLayer.h" #include "EcpProtocol.h" #include "logger/include/Logger.h" namespace Ecp { ServerPacketLayer::ServerPacketLayer(TimerEngine *timers, AbstractUart *uart) : uart(uart), timers(timers), observer(NULL), state(State_Idle) { this->recvBuf = new Buffer(ECP_PACKET_MAX_SIZE); this->tim...
24.866972
95
0.717395
Zzzzipper
d3f04abf6e075bda1183b897120bcb6338a119ba
2,217
cpp
C++
apps/vdcwizard/vdcwizard.cpp
yyr/vapor
cdebac81212ffa3f811064bbd7625ffa9089782e
[ "BSD-3-Clause" ]
null
null
null
apps/vdcwizard/vdcwizard.cpp
yyr/vapor
cdebac81212ffa3f811064bbd7625ffa9089782e
[ "BSD-3-Clause" ]
null
null
null
apps/vdcwizard/vdcwizard.cpp
yyr/vapor
cdebac81212ffa3f811064bbd7625ffa9089782e
[ "BSD-3-Clause" ]
null
null
null
//************************************************************************ // * // Copyright (C) 2013 ...
39.589286
145
0.467749
yyr
d3f07b32eeeb0ee045f8868698d683931b694951
1,256
hpp
C++
Advanced C++ Course/Benjamin Rutan HW 1 Submission/1.4/1.4/C.hpp
BRutan/Cpp
8acbc6c341f49d6d83168ccd5ba49bd6824214f9
[ "MIT" ]
null
null
null
Advanced C++ Course/Benjamin Rutan HW 1 Submission/1.4/1.4/C.hpp
BRutan/Cpp
8acbc6c341f49d6d83168ccd5ba49bd6824214f9
[ "MIT" ]
null
null
null
Advanced C++ Course/Benjamin Rutan HW 1 Submission/1.4/1.4/C.hpp
BRutan/Cpp
8acbc6c341f49d6d83168ccd5ba49bd6824214f9
[ "MIT" ]
null
null
null
/* C.hpp (exercise 1.4.3) Description: * Solution to exercise 1.4.3. State Variables/Objects: *double _data: stored double. Member Functions: // Constructors/Destructor: *C(const double & data): overloaded constructor, sets stored _data. // Misc. Methods: *double translate(const double &factor) const: return copy...
26.723404
108
0.713376
BRutan
d3f32da4646900e2a3c562b9f7664e21ce021a90
5,121
cpp
C++
Source/NXL2019_luciano/RuntimeMeshes/RTCube.cpp
TheTarrasque/UnrealEngine-Paintball
e289bbc109c0b6f33af47f65b59f300eba8b02d9
[ "MIT" ]
null
null
null
Source/NXL2019_luciano/RuntimeMeshes/RTCube.cpp
TheTarrasque/UnrealEngine-Paintball
e289bbc109c0b6f33af47f65b59f300eba8b02d9
[ "MIT" ]
null
null
null
Source/NXL2019_luciano/RuntimeMeshes/RTCube.cpp
TheTarrasque/UnrealEngine-Paintball
e289bbc109c0b6f33af47f65b59f300eba8b02d9
[ "MIT" ]
null
null
null
// Fill out your copyright notice in the Description page of Project Settings. #include "RTCube.h" #include "Engine.h" // Sets default values ARTCube::ARTCube() { ThisScene = CreateDefaultSubobject<USceneComponent>(TEXT("Root")); RootComponent = ThisScene; ThisMesh = CreateDefaultSubobject<URuntimeMeshComponent>(...
32.411392
148
0.746729
TheTarrasque
d3f32ef2c62b10302707d86dca7f78ed263acce9
3,201
hpp
C++
Programming Guide/Headers/Siv3D/Step.hpp
Reputeless/Siv3D-Reference
d58e92885241d11612007fb9187ce0289a7ee9cb
[ "MIT" ]
38
2016-01-14T13:51:13.000Z
2021-12-29T01:49:30.000Z
Programming Guide/Headers/Siv3D/Step.hpp
Reputeless/Siv3D-Reference
d58e92885241d11612007fb9187ce0289a7ee9cb
[ "MIT" ]
null
null
null
Programming Guide/Headers/Siv3D/Step.hpp
Reputeless/Siv3D-Reference
d58e92885241d11612007fb9187ce0289a7ee9cb
[ "MIT" ]
16
2016-01-15T11:07:51.000Z
2021-12-29T01:49:37.000Z
//----------------------------------------------- // // This file is part of the Siv3D Engine. // // Copyright (C) 2008-2016 Ryo Suzuki // // Licensed under the MIT License. // //----------------------------------------------- # pragma once # include "PointVector.hpp" # ifndef S3D_LOOP_DEFINED # define S3D_LOOP_DEFI...
19.167665
80
0.605748
Reputeless
108cafad0805ebbae7bec546dbfa858f01f63e99
1,755
cpp
C++
testing/Textgame MVP/World/Path.cpp
195623/cpp_practice
94a778fd6de4bb92f6d4030b300c37d530290db1
[ "MIT" ]
null
null
null
testing/Textgame MVP/World/Path.cpp
195623/cpp_practice
94a778fd6de4bb92f6d4030b300c37d530290db1
[ "MIT" ]
null
null
null
testing/Textgame MVP/World/Path.cpp
195623/cpp_practice
94a778fd6de4bb92f6d4030b300c37d530290db1
[ "MIT" ]
null
null
null
#include "../headers.h" using namespace std ; Path::Path( string name, string description, string useDescription, string directionName, string targetDirectory, Location* location ) : Object(name,description,useDescription,false) { this->direct...
19.943182
138
0.607977
195623
108e6a58559b99afb3bb7e207881ce8e356c8281
7,282
cc
C++
main/tmc.cc
tmcombi/tmcombi
976d3f333c01104e5efcabd8834854ad7677ea73
[ "MIT" ]
null
null
null
main/tmc.cc
tmcombi/tmcombi
976d3f333c01104e5efcabd8834854ad7677ea73
[ "MIT" ]
null
null
null
main/tmc.cc
tmcombi/tmcombi
976d3f333c01104e5efcabd8834854ad7677ea73
[ "MIT" ]
3
2019-03-31T19:04:20.000Z
2020-01-13T22:32:09.000Z
#include <iostream> #include <boost/program_options.hpp> #include <boost/property_tree/json_parser.hpp> #include "../lib/evaluator.h" #include "../lib/classifier_creator_fs_graph.h" #include "../lib/classifier_creator_fs_n_fold.h" #include "../lib/classifier_creator_train_tmc.h" int main(int ac, char* av[]) { ...
47.285714
161
0.592145
tmcombi
10905d2508854f0fd4f2a9284764658896e75918
2,869
hpp
C++
scene3d.hpp
g-raffy/scefig
47d1b1594d22d93f0fa0e6d8d2f1d235248a6ce5
[ "MIT" ]
null
null
null
scene3d.hpp
g-raffy/scefig
47d1b1594d22d93f0fa0e6d8d2f1d235248a6ce5
[ "MIT" ]
null
null
null
scene3d.hpp
g-raffy/scefig
47d1b1594d22d93f0fa0e6d8d2f1d235248a6ce5
[ "MIT" ]
null
null
null
/* * scene3d.hpp * * Created on: Feb 23, 2018 * Author: graffy */ #ifndef SCENE3D_HPP_ #define SCENE3D_HPP_ #include <string> #include <vector> #include "types.hpp" #include "polyline.hpp" #include "plane.hpp" #include "transform.hpp" namespace scefig { typedef std::string LabelType; class Scene3D { ...
22.24031
94
0.706867
g-raffy
1092ca4ca5dce08aa73773b59478c01347b3dfdf
9,404
cpp
C++
src/graphics/TextureCache.cpp
ChillstepCoder/Vorb
f74c0cfa3abde4fed0e9ec9d936b23c5210ba2ba
[ "MIT" ]
65
2018-06-03T23:09:46.000Z
2021-07-22T22:03:34.000Z
src/graphics/TextureCache.cpp
ChillstepCoder/Vorb
f74c0cfa3abde4fed0e9ec9d936b23c5210ba2ba
[ "MIT" ]
8
2018-06-20T17:21:30.000Z
2020-06-30T01:06:26.000Z
src/graphics/TextureCache.cpp
ChillstepCoder/Vorb
f74c0cfa3abde4fed0e9ec9d936b23c5210ba2ba
[ "MIT" ]
34
2018-06-04T03:40:52.000Z
2022-02-15T07:02:05.000Z
#include "Vorb/stdafx.h" #include "Vorb/graphics/TextureCache.h" #include "Vorb/io/IOManager.h" #include "Vorb/graphics/GpuMemory.h" vg::TextureCache::TextureCache() : m_ownsIOManager(false), m_ioManager(nullptr) { // Empty } vg::TextureCache::~TextureCache() { dispose(); } void vg::TextureCache::in...
38.859504
129
0.54211
ChillstepCoder
109840b8621fffb50139bc88ea119bc238be03c9
1,104
cpp
C++
Pairs.cpp
michaelarakel/hackerrank-solutions
77ba66a5d81c53b32c59d7547eba67a12349a2f0
[ "Unlicense" ]
null
null
null
Pairs.cpp
michaelarakel/hackerrank-solutions
77ba66a5d81c53b32c59d7547eba67a12349a2f0
[ "Unlicense" ]
null
null
null
Pairs.cpp
michaelarakel/hackerrank-solutions
77ba66a5d81c53b32c59d7547eba67a12349a2f0
[ "Unlicense" ]
1
2020-11-24T19:22:02.000Z
2020-11-24T19:22:02.000Z
// // Pairs.cpp // Hackerrank // // Created by Mikael Arakelian on 6/11/17. // Copyright © 2017 Mikael Arakelian. All rights reserved. // #include <map> #include <set> #include <list> #include <cmath> #include <ctime> #include <deque> #include <queue> #include <stack> #include <bitset> #include <cstdio> #include <...
17.52381
67
0.572464
michaelarakel
109fde72188f430cda60d7ecf8bbf4563c264e65
1,163
cpp
C++
src/Sprite/GameObject.cpp
VisualGMQ/Chaos_Dungeon
95f9b23934ee16573bf9289b9171958f750ffc93
[ "MIT" ]
2
2020-05-05T13:31:55.000Z
2022-01-16T15:38:00.000Z
src/Sprite/GameObject.cpp
VisualGMQ/Chaos_Dungeon
95f9b23934ee16573bf9289b9171958f750ffc93
[ "MIT" ]
null
null
null
src/Sprite/GameObject.cpp
VisualGMQ/Chaos_Dungeon
95f9b23934ee16573bf9289b9171958f750ffc93
[ "MIT" ]
1
2021-11-27T02:32:24.000Z
2021-11-27T02:32:24.000Z
#include "Sprite/GameObject.hpp" list<unsigned int> GameObject::_willdel_list; list<GameObject*> GameObject::_objects; IDType GameObject::cur_id = 0; bool GameObject::_delete_all = false; void GameObject::ClearAllObject(){ _delete_all = true; } void GameObject::DeleteObject(IDType del_id){ for(IDType& id : _...
17.358209
70
0.657782
VisualGMQ
10a46ea5fe5a5e22abff8a3171c49314c20a416e
849
cpp
C++
try1.cpp
swami-raj/RunestoneServer
5621b0270c42806fb42686e506008328d4992d3a
[ "MIT" ]
1
2021-10-01T07:42:09.000Z
2021-10-01T07:42:09.000Z
try1.cpp
swami-raj/RunestoneServer
5621b0270c42806fb42686e506008328d4992d3a
[ "MIT" ]
null
null
null
try1.cpp
swami-raj/RunestoneServer
5621b0270c42806fb42686e506008328d4992d3a
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main() { int t; cin >> t; while (t--) { string s; cin >> s; int count0 = 0, count1 = 0; for (int i = 0; i < s.length(); i++) { if (s[i] == '0') { count0++; } ...
18.866667
52
0.281508
swami-raj
10ad843b8bd399f9756fd0a22731c8cb111db466
761
cpp
C++
tests/player/Test_BrotliStream.cpp
azhirnov/vkTraceConverter
a7049d0005989b434c2a74598eb9a9fc76f4351c
[ "BSD-2-Clause" ]
6
2019-01-24T12:13:13.000Z
2020-06-01T13:59:04.000Z
tests/player/Test_BrotliStream.cpp
azhirnov/vkTraceConverter
a7049d0005989b434c2a74598eb9a9fc76f4351c
[ "BSD-2-Clause" ]
null
null
null
tests/player/Test_BrotliStream.cpp
azhirnov/vkTraceConverter
a7049d0005989b434c2a74598eb9a9fc76f4351c
[ "BSD-2-Clause" ]
null
null
null
// Copyright (c) 2018-2019, Zhirnov Andrey. For more information see 'LICENSE' #include "Common.h" #include "stl/Stream/FileStream.h" #include "../utils/Stream/BrotliStream.h" using namespace VTC; extern void Test_BrotliStream () { const String str1 = "12i12ienmqpwom12euj1029podmksjhjbjcnalsmoiiwujkcmsalsc,posaa...
21.138889
96
0.700394
azhirnov
10b61c3f2ac7c4c25795158ae23551845eda6be7
225
cpp
C++
src/GameBoyCore/Source/Serial.cpp
michaelxmroz/GameBoy
517e95ded80d8d9b0f2570064064c8aaf3724f7d
[ "MIT" ]
1
2022-02-04T00:14:19.000Z
2022-02-04T00:14:19.000Z
src/GameBoyCore/Source/Serial.cpp
michaelxmroz/GameBoy
517e95ded80d8d9b0f2570064064c8aaf3724f7d
[ "MIT" ]
null
null
null
src/GameBoyCore/Source/Serial.cpp
michaelxmroz/GameBoy
517e95ded80d8d9b0f2570064064c8aaf3724f7d
[ "MIT" ]
null
null
null
#include "Serial.h" #include "Helpers.h" #define SB_REGISTER 0xFF01 #define SC_REGISTER 0xFF02 Serial::Serial() { } void Serial::Init(Memory& memory) { memory.Write(SB_REGISTER, 0x00); memory.Write(SB_REGISTER, 0x7E); }
14.0625
33
0.733333
michaelxmroz
10b9dfac2693b27a45fa8dd03774811cb49682b2
1,953
hpp
C++
thirdparty/boost/boost/type_traits/has_nothrow_copy.hpp
MANICX100/peerblock
2be5c6da1b7b531e1d273b4c359bcceca788eb6e
[ "Zlib" ]
460
2016-01-13T12:49:34.000Z
2022-02-20T04:10:40.000Z
thirdparty/boost/boost/type_traits/has_nothrow_copy.hpp
efi789/peerblock
88087e34d3268169970fc417c062e91a7e4016f4
[ "Zlib" ]
197
2017-07-06T16:53:59.000Z
2019-05-31T17:57:51.000Z
thirdparty/boost/boost/type_traits/has_nothrow_copy.hpp
efi789/peerblock
88087e34d3268169970fc417c062e91a7e4016f4
[ "Zlib" ]
148
2016-01-17T03:16:43.000Z
2022-03-17T12:20:36.000Z
// (C) Copyright Steve Cleary, Beman Dawes, Howard Hinnant & John Maddock 2000. // Use, modification and distribution are subject to 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). // // See http://www.boost.org/libs/typ...
36.166667
109
0.814132
MANICX100
10ba667e740dfedae36cf3f0adcd405e8e704094
30,236
cxx
C++
_skbuild/linux-x86_64-3.8/cmake-build/projects/biogears/biogears/schema/cdm/EnvironmentActions.cxx
vybhavramachandran/mophy
7271c12b85a324a4f1494e0ce15942dc25bc4931
[ "Apache-2.0" ]
null
null
null
_skbuild/linux-x86_64-3.8/cmake-build/projects/biogears/biogears/schema/cdm/EnvironmentActions.cxx
vybhavramachandran/mophy
7271c12b85a324a4f1494e0ce15942dc25bc4931
[ "Apache-2.0" ]
5
2020-12-23T00:19:32.000Z
2020-12-29T20:53:58.000Z
_skbuild/linux-x86_64-3.8/cmake-build/projects/biogears/biogears/schema/cdm/EnvironmentActions.cxx
vybhavramachandran/biogears-vybhav
7271c12b85a324a4f1494e0ce15942dc25bc4931
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2005-2014 Code Synthesis Tools CC // // This program was generated by CodeSynthesis XSD, an XML Schema to // C++ data binding compiler. // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License version 2 as // published by the Fre...
30.479839
107
0.519745
vybhavramachandran
10bd4e773b25739a45f76f2746cb4a9a0e7bb145
3,243
cpp
C++
code/utils/xrAI/compiler_light.cpp
Rikoshet-234/xray-oxygen
eaac3fa4780639152684f3251b8b4452abb8e439
[ "Apache-2.0" ]
7
2018-03-27T12:36:07.000Z
2020-06-26T11:31:52.000Z
code/utils/xrAI/compiler_light.cpp
Rikoshet-234/xray-oxygen
eaac3fa4780639152684f3251b8b4452abb8e439
[ "Apache-2.0" ]
2
2018-05-26T23:17:14.000Z
2019-04-14T18:33:27.000Z
code/utils/xrAI/compiler_light.cpp
Rikoshet-234/xray-oxygen
eaac3fa4780639152684f3251b8b4452abb8e439
[ "Apache-2.0" ]
3
2020-10-12T18:04:42.000Z
2020-10-12T18:04:59.000Z
#include "stdafx.h" #include "compiler.h" #include "cl_intersect.h" #include <mmsystem.h> const int LIGHT_Count =2; const int LIGHT_Total =(2*LIGHT_Count+1)*(2*LIGHT_Count+1); typedef svector<R_Light*,1024> LSelection; IC bool RayPick(CDB::COLLIDER& DB, Fvector& P, Fvector& D, float r, R_Light& L) { // 1. Check...
22.678322
89
0.598212
Rikoshet-234
10bf812e98c6cf17a4f9b666102e306f9ff20c85
3,494
cpp
C++
solved-lightOj/1339.cpp
Maruf-Tuhin/Online_Judge
cf9b2a522e8b1a9623d3996a632caad7fd67f751
[ "MIT" ]
1
2019-03-31T05:47:30.000Z
2019-03-31T05:47:30.000Z
solved-lightOj/1339.cpp
the-redback/competitive-programming
cf9b2a522e8b1a9623d3996a632caad7fd67f751
[ "MIT" ]
null
null
null
solved-lightOj/1339.cpp
the-redback/competitive-programming
cf9b2a522e8b1a9623d3996a632caad7fd67f751
[ "MIT" ]
null
null
null
/** * @author : Maruf Tuhin * @College : CUET CSE 11 * @Topcoder : the_redback * @CodeForces : the_redback * @UVA : the_redback * @link : http://www.fb.com/maruf.2hin */ #include <bits/stdc++.h> using namespace std; typedef long long ll; typedef unsigned long l...
21.304878
74
0.48111
Maruf-Tuhin
10c8f63c7ff09720aec2a7f16f2ccee376c049ce
23,491
cpp
C++
src/entities/Entity.cpp
pmjoniak/dime
07aa5f12b009604dd820c561832e4fcc35984c59
[ "BSD-3-Clause" ]
1
2022-03-01T09:03:40.000Z
2022-03-01T09:03:40.000Z
src/entities/Entity.cpp
pmjoniak/dime
07aa5f12b009604dd820c561832e4fcc35984c59
[ "BSD-3-Clause" ]
null
null
null
src/entities/Entity.cpp
pmjoniak/dime
07aa5f12b009604dd820c561832e4fcc35984c59
[ "BSD-3-Clause" ]
1
2022-03-01T09:03:42.000Z
2022-03-01T09:03:42.000Z
/**************************************************************************\ * Copyright (c) Kongsberg Oil & Gas Technologies AS * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * Red...
28.132934
84
0.686731
pmjoniak
10cd18d66a3372202628fc3c32335ecdfd8a06bf
1,189
cpp
C++
AED2/lista3.cpp
Iigorsf/AED-2
7ce26f349301f4bdee88039291c62d7798f3612d
[ "MIT" ]
null
null
null
AED2/lista3.cpp
Iigorsf/AED-2
7ce26f349301f4bdee88039291c62d7798f3612d
[ "MIT" ]
null
null
null
AED2/lista3.cpp
Iigorsf/AED-2
7ce26f349301f4bdee88039291c62d7798f3612d
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; class noh { friend class lista; private: int pessoas; int avanco; noh *proximo; public: noh (int dado = 0); }; noh::noh(int dado){ dado = dado; proximo = NULL; } class lista{ private: noh *primeiro; noh *ultimo; int tamanho; public: lista(); ~lista(); void fa...
14.325301
45
0.605551
Iigorsf
10d35b8d3efb166a16cc953ba890ef036c30ce4b
358
hpp
C++
src/stationchat/RegistrarNode.hpp
seefo/swg-stationapi
ae46b8a6177ea800b0dde00630051a19876cffae
[ "MIT" ]
null
null
null
src/stationchat/RegistrarNode.hpp
seefo/swg-stationapi
ae46b8a6177ea800b0dde00630051a19876cffae
[ "MIT" ]
null
null
null
src/stationchat/RegistrarNode.hpp
seefo/swg-stationapi
ae46b8a6177ea800b0dde00630051a19876cffae
[ "MIT" ]
1
2022-03-09T23:57:59.000Z
2022-03-09T23:57:59.000Z
#pragma once #include "Node.hpp" #include "RegistrarClient.hpp" struct StationChatConfig; class RegistrarNode : public Node<RegistrarNode, RegistrarClient> { public: explicit RegistrarNode(StationChatConfig& config); ~RegistrarNode(); StationChatConfig& GetConfig(); private: void OnTick() override...
17.047619
67
0.743017
seefo
10d3941d4c065912fff247c48534d361c7bfcbb2
21,001
hpp
C++
src/sys_procs.hpp
cjungmann/SchemaServer
2a15250b8d128ac3815ac3327889e0545422f73b
[ "MIT" ]
null
null
null
src/sys_procs.hpp
cjungmann/SchemaServer
2a15250b8d128ac3815ac3327889e0545422f73b
[ "MIT" ]
null
null
null
src/sys_procs.hpp
cjungmann/SchemaServer
2a15250b8d128ac3815ac3327889e0545422f73b
[ "MIT" ]
null
null
null
/** * @file * @brief Documents the contents sys_procs.sql. * * This file exists only to provide Doxygen with code that * allows generation of documentation of the MySQL code. It is * not included in the Schema build. If it was included, it * would fail to compile due to the undefined MySQL datatypes. */ /** ...
37.301954
109
0.740774
cjungmann
10e7e0600432a8d15894044f64292b0d7b11921e
1,531
hpp
C++
apps/count_min/cm_item.hpp
huangqundl/af_stream
178d98feaf403b6947fb0fae3c2bbaedd91f9ab8
[ "Apache-2.0" ]
15
2017-03-28T13:15:53.000Z
2022-03-01T08:16:48.000Z
apps/count_min/cm_item.hpp
huangqundl/af_stream
178d98feaf403b6947fb0fae3c2bbaedd91f9ab8
[ "Apache-2.0" ]
null
null
null
apps/count_min/cm_item.hpp
huangqundl/af_stream
178d98feaf403b6947fb0fae3c2bbaedd91f9ab8
[ "Apache-2.0" ]
6
2017-10-17T14:10:23.000Z
2022-03-01T08:16:29.000Z
#include <stdint.h> #include <utility> //#include "util.hpp" #define SK_SIZE 8000 #define MAX_HH 100 struct __attribute__ ((__packed__)) CMItem { uint32_t num_counter, num_hh; unsigned char raw[SK_SIZE*(sizeof(uint32_t)+sizeof(long long))+MAX_HH*sizeof(unsigned long long int)]; unsigned char* start; ...
34.022222
142
0.640105
huangqundl
10f481c1d5038985266b4f5d01de4c795dcea2f5
9,867
cpp
C++
src/interface_simulator.cpp
ASLeonard/polyomino_interfaces
b281e4c50d0935b7145fc0d01b51d8ac83fad712
[ "MIT" ]
null
null
null
src/interface_simulator.cpp
ASLeonard/polyomino_interfaces
b281e4c50d0935b7145fc0d01b51d8ac83fad712
[ "MIT" ]
null
null
null
src/interface_simulator.cpp
ASLeonard/polyomino_interfaces
b281e4c50d0935b7145fc0d01b51d8ac83fad712
[ "MIT" ]
1
2019-04-13T12:42:11.000Z
2019-04-13T12:42:11.000Z
#include "interface_simulator.hpp" #include <iostream> //internal flag to limit fatal mutations to less fit phenotypes bool KILL_BACK_MUTATIONS=false; //set the file path to be where the (large) files will be written, by default the location where the const std::string file_base_path=""; //wrapper to run many (para...
42.714286
345
0.710652
ASLeonard
10fd88d690c54f2f12c86493a15ef2b60817664c
599
cpp
C++
src/hokee.cpp
StephanSchedler/hokee
6949c647913838f68423612a359e837858cd5c27
[ "MIT" ]
null
null
null
src/hokee.cpp
StephanSchedler/hokee
6949c647913838f68423612a359e837858cd5c27
[ "MIT" ]
1
2021-11-22T19:17:44.000Z
2021-11-22T19:17:44.000Z
src/hokee.cpp
StephanSchedler/hokee
6949c647913838f68423612a359e837858cd5c27
[ "MIT" ]
null
null
null
#include "Application.h" #include "InternalException.h" #include "Utils.h" #include <exception> #include <iostream> using namespace hokee; int main(int argc, const char* argv[]) { std::set_terminate(Utils::TerminationHandler); try { Application app(argc, argv); app.Run(); Utils:...
16.638889
50
0.587646
StephanSchedler
10fe6b61567d53f4a2c9ba427e9be42587fca093
1,981
hpp
C++
engine/include/UI/Label.hpp
BigETI/NoLifeNoCry
70ac2498b5e740b2b348771ef9617dea1eed7f9c
[ "MIT" ]
5
2020-11-07T23:38:48.000Z
2021-12-07T11:03:22.000Z
engine/include/UI/Label.hpp
BigETI/NoLifeNoCry
70ac2498b5e740b2b348771ef9617dea1eed7f9c
[ "MIT" ]
null
null
null
engine/include/UI/Label.hpp
BigETI/NoLifeNoCry
70ac2498b5e740b2b348771ef9617dea1eed7f9c
[ "MIT" ]
null
null
null
#pragma once #include <string> #include <glm/vec2.hpp> #include <String.hpp> #include <UI/Control.hpp> #include <UI/ETextAlignment.hpp> #include <Graphic/Font.hpp> #include <Graphic/Text.hpp> namespace DirtMachine::UI { class Label : public DirtMachine::UI::Control { public: Label(const glm::ivec2& position, fl...
29.132353
282
0.785967
BigETI
10ff6adaff9f56a82fec52e73f89a76a3ca82976
510
hpp
C++
CustomEngine/CustomEngine/Logic/States/State_Paused.hpp
kaimelis/LuaGame
7a6220a90c00c539b515f36b563d1542b49c1d1b
[ "MIT" ]
null
null
null
CustomEngine/CustomEngine/Logic/States/State_Paused.hpp
kaimelis/LuaGame
7a6220a90c00c539b515f36b563d1542b49c1d1b
[ "MIT" ]
null
null
null
CustomEngine/CustomEngine/Logic/States/State_Paused.hpp
kaimelis/LuaGame
7a6220a90c00c539b515f36b563d1542b49c1d1b
[ "MIT" ]
1
2020-06-29T07:13:57.000Z
2020-06-29T07:13:57.000Z
#ifndef STATEPAUSED_HPP #define STATEPAUSED_HPP #include "../../Core/StateSystem/BaseState.hpp" #include "../../Core/EventSystem/EventManager.hpp" class State_Paused : public BaseState { public: State_Paused(StateManager* pStateManager); ~State_Paused(); void OnCreate(); void OnDestroy(); void Activate(); voi...
16.451613
50
0.727451
kaimelis
800321fc2eabd2c89ef169c4d9b3ecdeed832a40
933
cpp
C++
poj/1988.cpp
swwind/code
25c4c5ca2f8578ba792b44cbdf44286d39dfb7e0
[ "WTFPL" ]
3
2017-09-17T09:12:50.000Z
2018-04-06T01:18:17.000Z
poj/1988.cpp
swwind/code
25c4c5ca2f8578ba792b44cbdf44286d39dfb7e0
[ "WTFPL" ]
null
null
null
poj/1988.cpp
swwind/code
25c4c5ca2f8578ba792b44cbdf44286d39dfb7e0
[ "WTFPL" ]
null
null
null
#include <cstdio> #define N 100020 #define ll long long using namespace std; inline int read(){ int x=0,f=1;char ch=getchar(); while(ch>'9'||ch<'0')ch=='-'&&(f=0)||(ch=getchar()); while(ch<='9'&&ch>='0')x=(x<<3)+(x<<1)+ch-'0',ch=getchar(); return f?x:-x; } int fa[N], w[N], sz[N]; int find(int x) { if (x == fa...
21.697674
61
0.480171
swwind
8003529281f27bd5d13c8b9f31bf3856cca48719
5,605
cpp
C++
src/Autopilot.cpp
DavidLBruce/planar3dof
5f4a33297972813be41be85080481940bde2a85f
[ "BSD-3-Clause" ]
3
2019-04-25T09:58:59.000Z
2020-12-15T08:26:15.000Z
src/Autopilot.cpp
DavidLBruce/sim3dof
df66b8d281a90e4cba863b95a129165367fbc9f5
[ "BSD-3-Clause" ]
null
null
null
src/Autopilot.cpp
DavidLBruce/sim3dof
df66b8d281a90e4cba863b95a129165367fbc9f5
[ "BSD-3-Clause" ]
null
null
null
//############################################################################// // UNCLASSIFIED // //############################################################################// /* Autopilot.cpp Overview: Missile Autopilot model. 3rd order transfe...
24.475983
80
0.370562
DavidLBruce
80068110a74f98c105c42991e8a8c16c317f110e
2,267
cpp
C++
1. Array/7_Kadanes_algo(sum_of_maximum_subarray).cpp
manishhedau/Data-Structure-Algorithm
d45de87aa44d3af18d58fd59491993cf98dbe6fc
[ "MIT" ]
3
2021-02-01T07:56:21.000Z
2021-02-01T11:56:50.000Z
1. Array/7_Kadanes_algo(sum_of_maximum_subarray).cpp
manishhedau/Data-Structure-Algorithm
d45de87aa44d3af18d58fd59491993cf98dbe6fc
[ "MIT" ]
null
null
null
1. Array/7_Kadanes_algo(sum_of_maximum_subarray).cpp
manishhedau/Data-Structure-Algorithm
d45de87aa44d3af18d58fd59491993cf98dbe6fc
[ "MIT" ]
null
null
null
// Maximum sub array sum // Fastest Approach is using Kadane's algorithm /* Input :- 4 -2 1 -3 4 Output :- 4 */ #include<iostream> using namespace std; // 1 Approach Time - 0(N^3), space - 0(1) int Maximum_subarray_sum_1(int arr[], int n) { int Max_sum = 0; for(int i = 0; i<n; i++) { for(int j...
16.309353
82
0.459197
manishhedau
8009ab1acfaaf3e562d1bd4c47684f893f0c785a
7,994
hpp
C++
wovo/hwlib/library/core/hwlib-servo.hpp
Patatje19/IPASS
3a4c8ecc74d043f9d7e3284209bb1760adf56e3e
[ "BSL-1.0" ]
46
2017-02-15T14:24:14.000Z
2021-10-01T14:25:57.000Z
wovo/hwlib/library/core/hwlib-servo.hpp
Patatje19/IPASS
3a4c8ecc74d043f9d7e3284209bb1760adf56e3e
[ "BSL-1.0" ]
27
2017-02-15T15:13:42.000Z
2021-08-28T15:29:01.000Z
wovo/hwlib/library/core/hwlib-servo.hpp
Patatje19/IPASS
3a4c8ecc74d043f9d7e3284209bb1760adf56e3e
[ "BSL-1.0" ]
39
2017-05-18T11:51:03.000Z
2021-09-14T09:07:01.000Z
// ========================================================================== // // File : hwlib-servo.hpp // Part of : C++ hwlib library for close-to-the-hardware OO programming // Copyright : wouter@voti.nl 2017-2019 // // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LIC...
24.297872
81
0.523267
Patatje19
800a417befce80e5b188adaf845484cfcfc4759a
1,498
hpp
C++
source/problem/Green-Naghdi/discretization_EHDG/boundary_conditions/ehdg_gn_bc_land.hpp
elenabac/dgswemv2
ecc776811de304cbae7bfa696b3d22c513e7d4de
[ "MIT" ]
null
null
null
source/problem/Green-Naghdi/discretization_EHDG/boundary_conditions/ehdg_gn_bc_land.hpp
elenabac/dgswemv2
ecc776811de304cbae7bfa696b3d22c513e7d4de
[ "MIT" ]
null
null
null
source/problem/Green-Naghdi/discretization_EHDG/boundary_conditions/ehdg_gn_bc_land.hpp
elenabac/dgswemv2
ecc776811de304cbae7bfa696b3d22c513e7d4de
[ "MIT" ]
null
null
null
#ifndef EHDG_GN_BC_LAND_HPP #define EHDG_GN_BC_LAND_HPP namespace GN { namespace EHDG { namespace BC { class Land : public SWE_SIM::BC::Land { public: template <typename StepperType, typename EdgeBoundaryType> void ComputeGlobalKernelsDC(const StepperType& stepper, EdgeBoundaryType& edge_bound); }; template...
38.410256
107
0.728972
elenabac
800da3ef35720cbc65db04a806d0d74df20cdb58
589
cpp
C++
chapters/9/ex9_14.cpp
yG620/cpp_primer_5th_solutions
68fdb2e5167228a3d31ac31c221c1055c2500b91
[ "Apache-2.0" ]
null
null
null
chapters/9/ex9_14.cpp
yG620/cpp_primer_5th_solutions
68fdb2e5167228a3d31ac31c221c1055c2500b91
[ "Apache-2.0" ]
null
null
null
chapters/9/ex9_14.cpp
yG620/cpp_primer_5th_solutions
68fdb2e5167228a3d31ac31c221c1055c2500b91
[ "Apache-2.0" ]
null
null
null
// // ex9_14.cpp // Exercise 9.14 // // Created by yG620 on 20/8/25 // // @Brief 编写程序,将一个`list`中的`char // *`指针元素赋值给一个`vector`中的`string`。 // @KeyPoint 1. find_val 函数然后返回迭代器,如何处理未找到值的情况 // 2. 如何确定元素下标 #include <fstream> #include <iostream> #include <list> #include <string> #include <vector> us...
19
54
0.604414
yG620
80110a500c517237aed026b854523fd59e556f05
6,810
cc
C++
src/Core/Algorithms/Legacy/Fields/StreamLines/StreamLineIntegrators.cc
benjaminlarson/SCIRunGUIPrototype
ed34ee11cda114e3761bd222a71a9f397517914d
[ "Unlicense" ]
null
null
null
src/Core/Algorithms/Legacy/Fields/StreamLines/StreamLineIntegrators.cc
benjaminlarson/SCIRunGUIPrototype
ed34ee11cda114e3761bd222a71a9f397517914d
[ "Unlicense" ]
null
null
null
src/Core/Algorithms/Legacy/Fields/StreamLines/StreamLineIntegrators.cc
benjaminlarson/SCIRunGUIPrototype
ed34ee11cda114e3761bd222a71a9f397517914d
[ "Unlicense" ]
null
null
null
/* For more information, please see: http://software.sci.utah.edu The MIT License Copyright (c) 2009 Scientific Computing and Imaging Institute, University of Utah. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (...
22.7
78
0.600734
benjaminlarson
80158a295f7657cff141fbff06e5a839fcb611e9
10,482
cpp
C++
src/IMUKedr.cpp
bari-ivan/IMUKedr
6686c826862f6550d2a1f3a192c4d6792c303df3
[ "BSD-2-Clause" ]
null
null
null
src/IMUKedr.cpp
bari-ivan/IMUKedr
6686c826862f6550d2a1f3a192c4d6792c303df3
[ "BSD-2-Clause" ]
null
null
null
src/IMUKedr.cpp
bari-ivan/IMUKedr
6686c826862f6550d2a1f3a192c4d6792c303df3
[ "BSD-2-Clause" ]
null
null
null
#include "IMUKedr.h" /** * Конструктор класса * * Инициализирует экземпляр основного класса для управления * инерциально-измерительным модулем */ IMUKedr::IMUKedr(uint8_t CS1, uint8_t CS2, uint8_t CS3, uint8_t CS4) { SPI.begin(); _biassgx = 0.0; _biassgy = 0.0; _biassgz = 0.0; _activeAHRS = 0; _activeI...
25.076555
103
0.721523
bari-ivan
8016bf9d7ffb8652824c1da42fde32e411b2c9d1
1,306
cpp
C++
source/plc/src/document/NON_NEG_INTEGER.cpp
dlin172/Plange
4b36a1225b2263bc8d38a6d1cc9b50c3d4b58e04
[ "BSD-3-Clause" ]
null
null
null
source/plc/src/document/NON_NEG_INTEGER.cpp
dlin172/Plange
4b36a1225b2263bc8d38a6d1cc9b50c3d4b58e04
[ "BSD-3-Clause" ]
null
null
null
source/plc/src/document/NON_NEG_INTEGER.cpp
dlin172/Plange
4b36a1225b2263bc8d38a6d1cc9b50c3d4b58e04
[ "BSD-3-Clause" ]
null
null
null
// This file was generated using Parlex's cpp_generator #include "NON_NEG_INTEGER.hpp" #include "plange_grammar.hpp" #include "parlex/detail/document.hpp" #include "NON_ZERO_DECIMAL_DIGIT.hpp" #include "NON_NEG_INTEGER.hpp" namespace plc { NON_NEG_INTEGER NON_NEG_INTEGER::build(parlex::detail::ast_node const & n...
39.575758
160
0.748851
dlin172
801803b03bad7deadc46166e388c940866adf964
3,480
cc
C++
config/tests/cxx14.cc
henkdemarie/dicom-dimse-native
a2a5042de8c5de04831baf3de7182ea2eb7b78f8
[ "MIT" ]
29
2020-02-13T17:40:16.000Z
2022-03-12T14:58:22.000Z
config/tests/cxx14.cc
henkdemarie/dicom-dimse-native
a2a5042de8c5de04831baf3de7182ea2eb7b78f8
[ "MIT" ]
20
2020-03-20T18:06:31.000Z
2022-02-25T08:38:08.000Z
config/tests/cxx14.cc
henkdemarie/dicom-dimse-native
a2a5042de8c5de04831baf3de7182ea2eb7b78f8
[ "MIT" ]
9
2020-03-20T17:29:55.000Z
2022-02-14T10:15:33.000Z
/* * Copyright (C) 2019, OFFIS e.V. * All rights reserved. See COPYRIGHT file for details. * * This software and supporting documentation were developed by * * OFFIS e.V. * R&D Division Health * Escherweg 2 * D-26121 Oldenburg, Germany * * * Module: config * * Author: Jan Schlamelcher ...
23.673469
93
0.619828
henkdemarie
8018365a9b7f4824465af92d781441002cab15b4
4,492
cpp
C++
Userland/Utilities/ddate.cpp
andrigamerita/serenity
cf44bbdd0d5f1aaa58fd8c8f40de57addc65e858
[ "BSD-2-Clause" ]
2
2021-11-26T08:23:43.000Z
2021-12-28T20:20:53.000Z
Userland/Utilities/ddate.cpp
andrigamerita/serenity
cf44bbdd0d5f1aaa58fd8c8f40de57addc65e858
[ "BSD-2-Clause" ]
null
null
null
Userland/Utilities/ddate.cpp
andrigamerita/serenity
cf44bbdd0d5f1aaa58fd8c8f40de57addc65e858
[ "BSD-2-Clause" ]
null
null
null
/* * Copyright (c) 2021, the SerenityOS developers. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, this * ...
33.522388
110
0.645147
andrigamerita
801f2fa7268ae46c2c7997905ebaf67629d44dbe
4,195
cpp
C++
toonz/sources/stdfx/targetspotfx.cpp
rozhuk-im/opentoonz
ad5b632512746b97fd526aa79660fbaedf934fad
[ "BSD-3-Clause" ]
3,710
2016-03-26T00:40:48.000Z
2022-03-31T21:35:12.000Z
toonz/sources/stdfx/targetspotfx.cpp
rozhuk-im/opentoonz
ad5b632512746b97fd526aa79660fbaedf934fad
[ "BSD-3-Clause" ]
4,246
2016-03-26T01:21:45.000Z
2022-03-31T23:10:47.000Z
toonz/sources/stdfx/targetspotfx.cpp
rozhuk-im/opentoonz
ad5b632512746b97fd526aa79660fbaedf934fad
[ "BSD-3-Clause" ]
633
2016-03-26T00:42:25.000Z
2022-03-17T02:55:13.000Z
#include "stdfx.h" #include "tfxparam.h" //#include "trop.h" #include "tpixelutils.h" #include "trasterfx.h" #include "tparamset.h" //================================================================== class TargetSpotFx final : public TStandardZeraryFx { FX_PLUGIN_DECLARATION(TargetSpotFx) TDoubleParamP m_z; ...
31.780303
80
0.573302
rozhuk-im
802136459ac7929205f84330f928376ead28da33
3,720
hpp
C++
library/Java/Net/URL/URL.hpp
foodtiny/native
9025d337c50951b2d31eb243d0b5414496171ea5
[ "Zlib" ]
19
2017-06-10T11:32:06.000Z
2018-07-07T13:38:50.000Z
library/Java/Net/URL/URL.hpp
tinylife-io/native
9025d337c50951b2d31eb243d0b5414496171ea5
[ "Zlib" ]
188
2017-06-10T19:45:18.000Z
2018-07-27T16:52:21.000Z
library/Java/Net/URL/URL.hpp
foodtiny/native
9025d337c50951b2d31eb243d0b5414496171ea5
[ "Zlib" ]
8
2017-06-23T06:59:16.000Z
2018-07-19T11:38:24.000Z
/** * Copyright 2017-2020 Tiny Express Project. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright * notice, this list o...
33.214286
81
0.669624
foodtiny