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
02fc95e3cea8a231e4a671dc436ae739305c3b60
20,264
cc
C++
hmm_forward_backward.cc
Thomas1205/RegAligner
2c410c124e844c60af9bd7019ef1a78199893f46
[ "IBM-pibs" ]
2
2016-02-29T07:31:13.000Z
2017-02-23T19:02:46.000Z
hmm_forward_backward.cc
Thomas1205/RegAligner
2c410c124e844c60af9bd7019ef1a78199893f46
[ "IBM-pibs" ]
null
null
null
hmm_forward_backward.cc
Thomas1205/RegAligner
2c410c124e844c60af9bd7019ef1a78199893f46
[ "IBM-pibs" ]
null
null
null
/*** written by Thomas Schoenemann as a private person, since March 2013 ****/ #include "hmm_forward_backward.hh" void calculate_scaled_hmm_forward(const Storage1D<uint>& source, const Storage1D<uint>& target, const SingleLookupTable& slookup, const SingleWordDictionary& dict, const ...
29.976331
159
0.590999
Thomas1205
02ff663b098321fc06355609c1069ba2de486854
1,125
cpp
C++
bin/eventloop/EventLoop.cpp
CharmsGraker/ReinforceTinyWebServer
6df770eb3e2b35c0f884ba20e04784d5eaea089b
[ "Apache-2.0" ]
1
2022-01-04T11:38:15.000Z
2022-01-04T11:38:15.000Z
bin/eventloop/EventLoop.cpp
CharmsGraker/ReinforceTinyWebServer
6df770eb3e2b35c0f884ba20e04784d5eaea089b
[ "Apache-2.0" ]
null
null
null
bin/eventloop/EventLoop.cpp
CharmsGraker/ReinforceTinyWebServer
6df770eb3e2b35c0f884ba20e04784d5eaea089b
[ "Apache-2.0" ]
null
null
null
#include "EventLoop.h" #include "../channel__/channel.h" #include "../poller/Poller.h" __thread EventLoop *t_loopInThisThread = 0; EventLoop::EventLoop() : looping_(false), threadId_(Thread::getCurrentThread()) { if (t_loopInThisThread) { std::cerr << "another EventLoop has bind o...
22.058824
97
0.625778
CharmsGraker
f301ca850abd47ec3a6a4c2383e951bf99e3a5e5
6,483
cpp
C++
aws-cpp-sdk-customer-profiles/source/model/MarketoConnectorOperator.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-02-12T08:09:30.000Z
2022-02-12T08:09:30.000Z
aws-cpp-sdk-customer-profiles/source/model/MarketoConnectorOperator.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-customer-profiles/source/model/MarketoConnectorOperator.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2021-12-30T04:25:33.000Z
2021-12-30T04:25:33.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/customer-profiles/model/MarketoConnectorOperator.h> #include <aws/core/utils/HashingUtils.h> #include <aws/core/Globals.h> #include <aws/core/utils/EnumParseOverflowContainer.h> using n...
38.360947
104
0.636434
perfectrecall
f3022244771c7d4dccf80f527bdbd98efef6dd7a
9,878
cpp
C++
AliceEngine/ALC/Rendering/UIBatch.cpp
ARAMODODRAGON/Project-Alice
49d3189ba065911c8495cfb04761a2050d3a0702
[ "MIT" ]
null
null
null
AliceEngine/ALC/Rendering/UIBatch.cpp
ARAMODODRAGON/Project-Alice
49d3189ba065911c8495cfb04761a2050d3a0702
[ "MIT" ]
null
null
null
AliceEngine/ALC/Rendering/UIBatch.cpp
ARAMODODRAGON/Project-Alice
49d3189ba065911c8495cfb04761a2050d3a0702
[ "MIT" ]
null
null
null
/* * MIT License * * Copyright (c) 2021 Domara Shlimon * * 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...
31.660256
165
0.678882
ARAMODODRAGON
f302a6aafea02d0089174288725e0b764bd11841
24,294
cpp
C++
Engine/lib/bullet/src/BulletCollision/Gimpact/btGImpactCollisionAlgorithm.cpp
7erj1/RPG_Starter
76d5fb11c261f3ef0f15bfa820fb0e2211bee54a
[ "MIT" ]
null
null
null
Engine/lib/bullet/src/BulletCollision/Gimpact/btGImpactCollisionAlgorithm.cpp
7erj1/RPG_Starter
76d5fb11c261f3ef0f15bfa820fb0e2211bee54a
[ "MIT" ]
1
2020-06-29T00:33:54.000Z
2020-06-29T00:33:54.000Z
Engine/lib/bullet/src/BulletCollision/Gimpact/btGImpactCollisionAlgorithm.cpp
7erj1/RPG_Starter
76d5fb11c261f3ef0f15bfa820fb0e2211bee54a
[ "MIT" ]
1
2022-03-26T10:03:41.000Z
2022-03-26T10:03:41.000Z
/* This source file is part of GIMPACT Library. For the latest info, see http://gimpact.sourceforge.net/ Copyright (c) 2007 Francisco Leon Najera. C.C. 80087371. email: projectileman@yahoo.com This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for...
26.038585
243
0.754343
7erj1
f308b80d4cbc6c72800aaa27490c06b72296ccfe
1,184
cpp
C++
HDSM_Server/HDSMSrv.cpp
BonreeGit/HDSM
b1906b23c6b50dd65f1134b75f6567678b78812a
[ "Apache-2.0" ]
5
2020-03-12T10:24:29.000Z
2020-07-05T09:49:16.000Z
HDSM_Server/HDSMSrv.cpp
BonreeGit/HDSM
b1906b23c6b50dd65f1134b75f6567678b78812a
[ "Apache-2.0" ]
null
null
null
HDSM_Server/HDSMSrv.cpp
BonreeGit/HDSM
b1906b23c6b50dd65f1134b75f6567678b78812a
[ "Apache-2.0" ]
2
2020-09-06T15:27:29.000Z
2020-11-01T03:58:54.000Z
#include "Utils.h" #include "BaseSocket.h" #include "./Server/TaskServer.h" #include "TestThread.h" #include "Global.h" #include "./Logger.h" #include "TypeDefine.h" #define _SWITCH_FOR_TEST_ 0 HINT32 main(HINT32 argc, HCHAR* argv[]) { #if _SWITCH_FOR_TEST_ HDSimpleMap *m_pHDSM = NULL; string data_pat...
27.534884
88
0.671453
BonreeGit
f3160740815820b87603a8eb7e71cb7625e9cbf6
609
cpp
C++
Cpp/fost-test/test-main.cpp
KayEss/fost-base
05ac1b6a1fb672c61ba6502efea86f9c5207e28f
[ "BSL-1.0" ]
2
2016-05-25T22:17:38.000Z
2019-04-02T08:34:17.000Z
Cpp/fost-test/test-main.cpp
KayEss/fost-base
05ac1b6a1fb672c61ba6502efea86f9c5207e28f
[ "BSL-1.0" ]
5
2018-07-13T10:43:05.000Z
2019-09-02T14:54:42.000Z
Cpp/fost-test/test-main.cpp
KayEss/fost-base
05ac1b6a1fb672c61ba6502efea86f9c5207e28f
[ "BSL-1.0" ]
1
2020-10-22T20:44:24.000Z
2020-10-22T20:44:24.000Z
/** Copyright 2005-2019 Red Anchor Trading Co. Ltd. Distributed under the Boost Software License, Version 1.0. See <http://www.boost.org/LICENSE_1_0.txt> */ #include <fost/main> #include <fost/test> namespace { fostlib::setting<bool> c_verbose( L"fost-test/test-main.cpp", L"Tests", L"D...
21.75
80
0.635468
KayEss
f3162e4c46d983613450c3114fed9f906587d85e
2,640
cpp
C++
test/concurrency/local_epoch_test.cpp
rntlqvnf/peloton
23bdfa6fa3c02c7bad0182b0aa7ddd8cc99ab872
[ "Apache-2.0" ]
7
2017-03-12T01:57:48.000Z
2022-03-16T12:44:07.000Z
test/concurrency/local_epoch_test.cpp
rntlqvnf/peloton
23bdfa6fa3c02c7bad0182b0aa7ddd8cc99ab872
[ "Apache-2.0" ]
null
null
null
test/concurrency/local_epoch_test.cpp
rntlqvnf/peloton
23bdfa6fa3c02c7bad0182b0aa7ddd8cc99ab872
[ "Apache-2.0" ]
2
2017-03-30T00:43:50.000Z
2021-07-21T06:27:44.000Z
//===----------------------------------------------------------------------===// // // Peloton // // decentralized_epoch_manager_test.cpp // // Identification: test/concurrency/local_epoch_test.cpp // // Copyright (c) 2015-16, Carnegie Mellon University Database Group // //===-------------------...
26.938776
80
0.631439
rntlqvnf
f31694f51de2525718884e5e084c32c0942d7ab5
4,762
cpp
C++
Game.cpp
Marbax/second_exam_cpp
2c812e1a33a717adb3b8393ea9412c5b6d31f519
[ "MIT" ]
null
null
null
Game.cpp
Marbax/second_exam_cpp
2c812e1a33a717adb3b8393ea9412c5b6d31f519
[ "MIT" ]
null
null
null
Game.cpp
Marbax/second_exam_cpp
2c812e1a33a717adb3b8393ea9412c5b6d31f519
[ "MIT" ]
null
null
null
#include "Game.h" //--------------------------------------------------------------------------------------------------- //---------------------------------Inits_for_Cstr---------------------------------------------------- //-----------------------------------------------------------------------------------------------...
27.211429
109
0.47942
Marbax
f31c3e00d76dd99f1faaded97846f530b873b415
8,224
cpp
C++
libs/nav/src/planners/PlannerRRT_common.cpp
wstnturner/mrpt
b0be3557a4cded6bafff03feb28f7fa1f75762a3
[ "BSD-3-Clause" ]
38
2015-01-04T05:24:26.000Z
2015-07-17T00:30:02.000Z
libs/nav/src/planners/PlannerRRT_common.cpp
wstnturner/mrpt
b0be3557a4cded6bafff03feb28f7fa1f75762a3
[ "BSD-3-Clause" ]
40
2015-01-03T22:43:00.000Z
2015-07-17T18:52:59.000Z
libs/nav/src/planners/PlannerRRT_common.cpp
wstnturner/mrpt
b0be3557a4cded6bafff03feb28f7fa1f75762a3
[ "BSD-3-Clause" ]
41
2015-01-06T12:32:19.000Z
2017-05-30T15:50:13.000Z
/* +------------------------------------------------------------------------+ | Mobile Robot Programming Toolkit (MRPT) | | https://www.mrpt.org/ | | | | Cop...
30.235294
80
0.631931
wstnturner
f31d65db9e91aa732973e8c6b398494519f767a7
449
cpp
C++
libiop/common/common.cpp
alexander-zw/libiop
a2ed2ec2f3e85f29b6035951553b02cb737c817a
[ "MIT" ]
null
null
null
libiop/common/common.cpp
alexander-zw/libiop
a2ed2ec2f3e85f29b6035951553b02cb737c817a
[ "MIT" ]
null
null
null
libiop/common/common.cpp
alexander-zw/libiop
a2ed2ec2f3e85f29b6035951553b02cb737c817a
[ "MIT" ]
null
null
null
#include <libiop/common/common.hpp> namespace libiop { using std::size_t; long double add_soundness_error_bits(const size_t bits1, const size_t bits2) { return add_soundness_error_bits((long double)bits1, (long double)bits2); } long double add_soundness_error_bits(const long double bits1, const long double bits...
23.631579
86
0.734967
alexander-zw
f3213e2bad4c92aa48177ace8afb40d6d34cacb0
30,226
cpp
C++
Code/Game/Test/Core/MemoryTests.cpp
NathanSaidas/LiteForgeMirror
84068b62bff6e443b53c46107a3946e2645e4447
[ "MIT" ]
null
null
null
Code/Game/Test/Core/MemoryTests.cpp
NathanSaidas/LiteForgeMirror
84068b62bff6e443b53c46107a3946e2645e4447
[ "MIT" ]
null
null
null
Code/Game/Test/Core/MemoryTests.cpp
NathanSaidas/LiteForgeMirror
84068b62bff6e443b53c46107a3946e2645e4447
[ "MIT" ]
null
null
null
// ******************************************************************** // Copyright (c) 2019 Nathan Hanlan // // 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, includ...
29.575342
146
0.629987
NathanSaidas
f3225733a984e5b5035d4360563ef3264bbb6273
6,521
cc
C++
lite/core/optimizer/mir/quantization_parameters_removal_pass.cc
newway/Paddle-Lite
5fc90d69eef2fb6bb29716309920499924a9897e
[ "Apache-2.0" ]
2
2021-08-05T07:47:41.000Z
2021-11-18T15:34:10.000Z
lite/core/optimizer/mir/quantization_parameters_removal_pass.cc
newway/Paddle-Lite
5fc90d69eef2fb6bb29716309920499924a9897e
[ "Apache-2.0" ]
null
null
null
lite/core/optimizer/mir/quantization_parameters_removal_pass.cc
newway/Paddle-Lite
5fc90d69eef2fb6bb29716309920499924a9897e
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required...
32.605
80
0.648367
newway
f3240e84b8bb70cca7031d9e5956bb501cee81b7
9,404
cpp
C++
gui/widgets/qlabelmousetracker.cpp
lkeegan/spatial-model-editor
5dcb06550607b0a734acddd8b719035b68e35307
[ "MIT" ]
4
2019-07-18T15:05:09.000Z
2020-03-14T09:50:07.000Z
gui/widgets/qlabelmousetracker.cpp
lkeegan/spatial-model-editor
5dcb06550607b0a734acddd8b719035b68e35307
[ "MIT" ]
328
2019-06-30T12:03:01.000Z
2020-10-05T15:56:35.000Z
gui/widgets/qlabelmousetracker.cpp
lkeegan/spatial-model-editor
5dcb06550607b0a734acddd8b719035b68e35307
[ "MIT" ]
1
2019-06-08T22:47:14.000Z
2019-06-08T22:47:14.000Z
#include "qlabelmousetracker.hpp" #include "sme/logger.hpp" #include <QPainter> QLabelMouseTracker::QLabelMouseTracker(QWidget *parent) : QLabel(parent) { setMouseTracking(true); setAlignment(Qt::AlignmentFlag::AlignTop | Qt::AlignmentFlag::AlignLeft); setMinimumSize(1, 1); setWordWrap(true); } void QLabelMou...
34.573529
80
0.641004
lkeegan
f3272515e5abbe554aa3a495718d7838a92356e7
4,833
cpp
C++
src/psd_parser.cpp
rodolforg/godot_psd_importer
72460d52b38ee7a6364e4bf0b5284898037a7a13
[ "MIT" ]
null
null
null
src/psd_parser.cpp
rodolforg/godot_psd_importer
72460d52b38ee7a6364e4bf0b5284898037a7a13
[ "MIT" ]
null
null
null
src/psd_parser.cpp
rodolforg/godot_psd_importer
72460d52b38ee7a6364e4bf0b5284898037a7a13
[ "MIT" ]
null
null
null
#include "psd_parser.h" #include "parser/PsdParser.h" #include "Layer.h" #include "LayerGroup.h" #include "register_types.h" #ifdef __cplusplus extern "C" { #endif struct psd_parser { PsdParser * parser; }; struct psd_document { Document * doc; }; struct psd_layer { Layer * layer; }; struct psd_layer_group { ...
20.742489
99
0.686737
rodolforg
f32acb33668fac4933a67569ad0105b843dfbf6d
1,580
cpp
C++
src/ClientLib/Systems/PostFrameCallbackSystem.cpp
ImperatorS79/BurgWar
5d8282513945e8f25e30d8491639eb297bfc0317
[ "MIT" ]
null
null
null
src/ClientLib/Systems/PostFrameCallbackSystem.cpp
ImperatorS79/BurgWar
5d8282513945e8f25e30d8491639eb297bfc0317
[ "MIT" ]
null
null
null
src/ClientLib/Systems/PostFrameCallbackSystem.cpp
ImperatorS79/BurgWar
5d8282513945e8f25e30d8491639eb297bfc0317
[ "MIT" ]
null
null
null
// Copyright (C) 2020 Jérôme Leclercq // This file is part of the "Burgwar" project // For conditions of distribution and use, see copyright notice in LICENSE #include <ClientLib/Systems/PostFrameCallbackSystem.hpp> #include <CoreLib/LogSystem/Logger.hpp> #include <CoreLib/Components/ScriptComponent.hpp> #include <Cli...
28.214286
90
0.751899
ImperatorS79
f336af3dad317950019ef61e41d5357fe3c36efb
2,853
hpp
C++
include/word2vec.hpp
JinseokNam/learn-vecreps
fe1a9b584081132026dd0ad46bc33837030a5338
[ "Apache-2.0" ]
null
null
null
include/word2vec.hpp
JinseokNam/learn-vecreps
fe1a9b584081132026dd0ad46bc33837030a5338
[ "Apache-2.0" ]
null
null
null
include/word2vec.hpp
JinseokNam/learn-vecreps
fe1a9b584081132026dd0ad46bc33837030a5338
[ "Apache-2.0" ]
null
null
null
#ifndef WORD2VEC_HPP_ #define WORD2VEC_HPP_ #include "common.hpp" #include "corpus.hpp" typedef float real; class Parameters { public: long long d; // dimensionality of word vectors long long V; // the number of words int wn; // window size real lr; // initial learning rate int sg; ...
25.247788
118
0.629863
JinseokNam
f3384b203ffdc19ab2a57ac6bae0950c45544b06
231
cpp
C++
addnumber.cpp
mishrajiharsh219/most-basic-c-programs
2be753ae6ac639d26e1a042e9ecf2da3a8c10be7
[ "MIT" ]
null
null
null
addnumber.cpp
mishrajiharsh219/most-basic-c-programs
2be753ae6ac639d26e1a042e9ecf2da3a8c10be7
[ "MIT" ]
null
null
null
addnumber.cpp
mishrajiharsh219/most-basic-c-programs
2be753ae6ac639d26e1a042e9ecf2da3a8c10be7
[ "MIT" ]
null
null
null
#include<iostream> using namespace std; int main() { int n,sum=0; cout<<"how many number you want to add"; cin>>n; for (int i = 0; i < n; i++) { int m; cin>>m; sum=sum+m; } cout<<"sum is"<<"\n"<<sum; }
13.588235
41
0.515152
mishrajiharsh219
f33986732e32ffe57bcb3ff90ccedcf850199504
1,098
cpp
C++
leetcode/114_med_flatten-binary-tree-to-linked-list.cpp
shoryaconsul/code_practice
f04eeff266beffbba6d9f22e6f8c5861f0dbf998
[ "MIT" ]
null
null
null
leetcode/114_med_flatten-binary-tree-to-linked-list.cpp
shoryaconsul/code_practice
f04eeff266beffbba6d9f22e6f8c5861f0dbf998
[ "MIT" ]
null
null
null
leetcode/114_med_flatten-binary-tree-to-linked-list.cpp
shoryaconsul/code_practice
f04eeff266beffbba6d9f22e6f8c5861f0dbf998
[ "MIT" ]
null
null
null
/** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode() : val(0), left(nullptr), right(nullptr) {} * TreeNode(int x) : val(x), left(nullptr), right(nullptr) {} * TreeNode(int x, TreeNode *left, TreeNode *right) : val(x), l...
28.894737
93
0.54918
shoryaconsul
f33f193971861f97abc5feec424da51a6a2d1d6c
2,460
cpp
C++
src/Audio/AudioClip.cpp
ValtoForks/pomdog
73798ae5f4a4c3b9b1e1e96239187c4b842c93b2
[ "MIT" ]
null
null
null
src/Audio/AudioClip.cpp
ValtoForks/pomdog
73798ae5f4a4c3b9b1e1e96239187c4b842c93b2
[ "MIT" ]
null
null
null
src/Audio/AudioClip.cpp
ValtoForks/pomdog
73798ae5f4a4c3b9b1e1e96239187c4b842c93b2
[ "MIT" ]
null
null
null
// Copyright (c) 2013-2018 mogemimi. Distributed under the MIT license. #include "Pomdog/Audio/AudioClip.hpp" #if defined(POMDOG_PLATFORM_MACOSX) || defined(POMDOG_PLATFORM_APPLE_IOS) #include "../SoundSystem.OpenAL/AudioClipAL.hpp" #elif defined(POMDOG_PLATFORM_LINUX) #include "../SoundSystem.OpenAL/AudioClipAL.hpp"...
26.73913
96
0.734959
ValtoForks
f3437a094bfaacf3e5968011f32669ed91956345
1,344
hpp
C++
dep/win/include/boost/beast/core/detail/is_invocable.hpp
Netis/packet-agent
70da3479051a07e3c235abe7516990f9fd21a18a
[ "BSD-3-Clause" ]
995
2018-06-22T10:39:18.000Z
2022-03-25T01:22:14.000Z
dep/win/include/boost/beast/core/detail/is_invocable.hpp
Netis/packet-agent
70da3479051a07e3c235abe7516990f9fd21a18a
[ "BSD-3-Clause" ]
32
2018-06-23T14:19:37.000Z
2022-03-29T10:20:37.000Z
dep/win/include/boost/beast/core/detail/is_invocable.hpp
Netis/packet-agent
70da3479051a07e3c235abe7516990f9fd21a18a
[ "BSD-3-Clause" ]
172
2018-06-22T11:12:00.000Z
2022-03-29T07:44:33.000Z
// // Copyright (c) 2016-2019 Vinnie Falco (vinnie dot falco at gmail dot com) // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // // Official repository: https://github.com/boostorg/beast // #ifndef BOO...
22.779661
80
0.619792
Netis
f3445791fba289c4b052e56447b033d2c5cf950c
3,532
hpp
C++
Runtime/MP1/World/CBouncyGrenade.hpp
Jcw87/urde
fb9ea9092ad00facfe957ece282a86c194e9cbda
[ "MIT" ]
null
null
null
Runtime/MP1/World/CBouncyGrenade.hpp
Jcw87/urde
fb9ea9092ad00facfe957ece282a86c194e9cbda
[ "MIT" ]
null
null
null
Runtime/MP1/World/CBouncyGrenade.hpp
Jcw87/urde
fb9ea9092ad00facfe957ece282a86c194e9cbda
[ "MIT" ]
null
null
null
#pragma once #include "Runtime/World/CPhysicsActor.hpp" #include "Runtime/World/CDamageInfo.hpp" #include "Runtime/Particle/CElementGen.hpp" #include "TCastTo.hpp" // Generated file, do not modify include path #include <zeus/CTransform.hpp> namespace metaforce::MP1 { struct SGrenadeVelocityInfo { private: float x...
38.391304
117
0.760759
Jcw87
f349a49335a6692c7172ab2163a054daf8bb30ac
2,670
cpp
C++
src-cryptography/transposition.cpp
honbey/my-hnu-codeset
2e5ea4a17499edde59fee768690aca71eb027bea
[ "MIT" ]
1
2021-04-17T06:47:34.000Z
2021-04-17T06:47:34.000Z
src-cryptography/transposition.cpp
honbey/my-hnu-codeset
2e5ea4a17499edde59fee768690aca71eb027bea
[ "MIT" ]
null
null
null
src-cryptography/transposition.cpp
honbey/my-hnu-codeset
2e5ea4a17499edde59fee768690aca71eb027bea
[ "MIT" ]
null
null
null
/****************************************************************************************** * Files Name: transposition.cpp * * Honbey, honbey@honbey.com * Created On 2019-10-11 * Copyright (c) 2019. All rights reserved. * * Date: 2019-10-11 * * Description: For experiment 3. * Simple Transposition encrypt...
31.785714
117
0.61161
honbey
f34c819b58fae19523cd7652873126515ff11d64
8,343
cpp
C++
lists/dllist.cpp
triffon/sdp-2017-18
cd4b97832517b7639da299cc088d22c3c12eb179
[ "MIT" ]
2
2017-10-18T14:24:38.000Z
2019-06-30T14:03:07.000Z
lists/dllist.cpp
tancheto/sdp-2017-18
cd4b97832517b7639da299cc088d22c3c12eb179
[ "MIT" ]
null
null
null
lists/dllist.cpp
tancheto/sdp-2017-18
cd4b97832517b7639da299cc088d22c3c12eb179
[ "MIT" ]
2
2017-11-29T09:12:38.000Z
2018-11-08T12:15:51.000Z
#ifndef __DLLIST_CPP #define __DLLIST_CPP #include <iostream> template <typename T> struct DoubleLinkedListElement { DoubleLinkedListElement(T const& _data, DoubleLinkedListElement* _next = nullptr, DoubleLinkedListElement* _prev = nullptr) : data(_data), nex...
21.726563
79
0.57725
triffon
f34d978f424e7d4742bf7b13087b2687d8dc3c02
2,416
cpp
C++
lib/partition/uncoarsening/refinement/kway_graph_refinement/kway_graph_refinement_commons.cpp
DanielSeemaier/mt-KaHIP
a3b338c946c486968f7273c92ec1afbbfa2739e7
[ "MIT" ]
5
2020-11-14T19:49:26.000Z
2021-03-23T14:57:39.000Z
lib/partition/uncoarsening/refinement/kway_graph_refinement/kway_graph_refinement_commons.cpp
DanielSeemaier/mt-KaHIP
a3b338c946c486968f7273c92ec1afbbfa2739e7
[ "MIT" ]
null
null
null
lib/partition/uncoarsening/refinement/kway_graph_refinement/kway_graph_refinement_commons.cpp
DanielSeemaier/mt-KaHIP
a3b338c946c486968f7273c92ec1afbbfa2739e7
[ "MIT" ]
2
2020-11-14T18:38:41.000Z
2020-12-03T11:43:30.000Z
/****************************************************************************** * kway_graph_refinement_commons.cpp * * Source of KaHIP -- Karlsruhe High Quality Partitioning. * *****************************************************************************/ #include <omp.h> #include "data_structure/parallel/spin...
30.2
166
0.571606
DanielSeemaier
f34fd3ca1f0f05f122b5a68fedfc86a5d0749ae1
3,323
cpp
C++
Orlik/biblioteka/test/BasicTest.cpp
KacperRybak2/Orlik
e772aaa36b199547a1de1e905ffef57c20a168da
[ "MIT" ]
null
null
null
Orlik/biblioteka/test/BasicTest.cpp
KacperRybak2/Orlik
e772aaa36b199547a1de1e905ffef57c20a168da
[ "MIT" ]
null
null
null
Orlik/biblioteka/test/BasicTest.cpp
KacperRybak2/Orlik
e772aaa36b199547a1de1e905ffef57c20a168da
[ "MIT" ]
null
null
null
#include <boost/test/unit_test.hpp> #include "Client.hpp" #include "Rents.hpp" #include "ClientType.hpp" #include "Ball.hpp" #include "Abibas.hpp" #include "Mike.hpp" #include "RegularClient.hpp" #include "NewClient.hpp" #include "NormalClient.hpp" #include "Respository.hpp" #include "ClientRespository.hpp" #include "...
31.647619
70
0.682215
KacperRybak2
f354b816d2a7bc32ea7452c10e45d2b5ef1a8ed3
800
cpp
C++
Timus/1002.cpp
s9v/toypuct
68e65e6da5922af340de72636a9a4f136454c70d
[ "MIT" ]
null
null
null
Timus/1002.cpp
s9v/toypuct
68e65e6da5922af340de72636a9a4f136454c70d
[ "MIT" ]
null
null
null
Timus/1002.cpp
s9v/toypuct
68e65e6da5922af340de72636a9a4f136454c70d
[ "MIT" ]
null
null
null
#include <iostream> #define forn(i, n) for (int i = 0; i < int(n); i++) #define forr(i, n) for (int i = int(n - 1); i >= 0; i--) #define fora(i, a, b) for (int i = int(a); i <= int(b); i++) #define forb(i, a, b) for (int i = int(a); i >= int(b); i--) using namespace std; // wtf[] = {'a', 'b', 'c', 'd', 'e', '...
23.529412
143
0.3825
s9v
f3554a5af6d77d5f6c7eae64d8896fcf3f152fb9
6,913
hpp
C++
example/any_iterator.hpp
ricejasonf/dyno
bc91a3ec09c6170f1dc3a667a76cd6b83788f59a
[ "BSL-1.0" ]
739
2017-03-17T15:02:08.000Z
2022-03-29T03:25:32.000Z
example/any_iterator.hpp
ricejasonf/dyno
bc91a3ec09c6170f1dc3a667a76cd6b83788f59a
[ "BSL-1.0" ]
41
2017-03-09T07:04:13.000Z
2021-05-27T20:05:24.000Z
example/any_iterator.hpp
ricejasonf/dyno
bc91a3ec09c6170f1dc3a667a76cd6b83788f59a
[ "BSL-1.0" ]
43
2017-04-08T07:23:33.000Z
2021-08-20T14:20:49.000Z
// Copyright Louis Dionne 2017 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) #ifndef ANY_ITERATOR_HPP #define ANY_ITERATOR_HPP #include <dyno.hpp> #include <cassert> #include <iterator> #include <type_traits> #include <...
33.721951
98
0.727036
ricejasonf
f35b06b0ffa9c5fadcf6e71424c76c624650e3b4
5,155
cpp
C++
src/kits/device/USBEndpoint.cpp
stasinek/BHAPI
5d9aa61665ae2cc5c6e34415957d49a769325b2b
[ "BSD-3-Clause", "MIT" ]
3
2018-05-21T15:32:32.000Z
2019-03-21T13:34:55.000Z
src/kits/device/USBEndpoint.cpp
stasinek/BHAPI
5d9aa61665ae2cc5c6e34415957d49a769325b2b
[ "BSD-3-Clause", "MIT" ]
null
null
null
src/kits/device/USBEndpoint.cpp
stasinek/BHAPI
5d9aa61665ae2cc5c6e34415957d49a769325b2b
[ "BSD-3-Clause", "MIT" ]
null
null
null
/* * Copyright 2007-2008, Haiku Inc. All rights reserved. * Distributed under the terms of the MIT License. * * Authors: * Michael Lotz <mmlr@mlotz.ch> */ #include <USBKit.h> #include <usb_raw.h> #include <unistd.h> #include <kits/support/String.h> BUSBEndpoint::BUSBEndpoint(BUSBInterface *interface, uint32 i...
22.510917
78
0.772648
stasinek
f35c745193f8a5d74faa40ad870196ccc43565ed
1,600
cpp
C++
external/noise/model/line.cpp
zjhlogo/blink
025da3506b34e3f0b02be524c97ae1f39c4c5854
[ "Apache-2.0" ]
null
null
null
external/noise/model/line.cpp
zjhlogo/blink
025da3506b34e3f0b02be524c97ae1f39c4c5854
[ "Apache-2.0" ]
null
null
null
external/noise/model/line.cpp
zjhlogo/blink
025da3506b34e3f0b02be524c97ae1f39c4c5854
[ "Apache-2.0" ]
null
null
null
// line.cpp // // Copyright (C) 2004 Keith Davies // // This library is free software; you can redistribute it and/or modify it // under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation; either version 2.1 of the License, or (at // your option) any later version. // // ...
23.880597
78
0.631875
zjhlogo
f35e6d08c6f510d2b60a5e196ec84b571c110f11
736,148
cpp
C++
src/GlobalMatrices.cpp
uphoffc/LinA
077bc0acbd440d2af63e7ec5a02cdc3c0b24a0bd
[ "MIT" ]
null
null
null
src/GlobalMatrices.cpp
uphoffc/LinA
077bc0acbd440d2af63e7ec5a02cdc3c0b24a0bd
[ "MIT" ]
null
null
null
src/GlobalMatrices.cpp
uphoffc/LinA
077bc0acbd440d2af63e7ec5a02cdc3c0b24a0bd
[ "MIT" ]
null
null
null
/** This file is generated. Do not edit. */ #include "GlobalMatrices.h" namespace GlobalMatrices { #if !defined(CONVERGENCE_ORDER) #error CONVERGENCE_ORDER must be set. #elif CONVERGENCE_ORDER == 2 double const Fxm0[] = { 1.,0.,-3.,0.,1.,0.,-1.,0.,3. }; double const Fxm1[] = { 1.,0.,3.,0.,1.,0.,1.,0.,3. }; double...
4,544.123457
18,882
0.338829
uphoffc
f35f76d9c3642be337974f3e68066b92648af95c
120
cpp
C++
src/shapes/straight_vertex.cpp
hermet/rive-cpp
d69378d97e7d987930c3764655153bf8ddc65966
[ "MIT" ]
null
null
null
src/shapes/straight_vertex.cpp
hermet/rive-cpp
d69378d97e7d987930c3764655153bf8ddc65966
[ "MIT" ]
null
null
null
src/shapes/straight_vertex.cpp
hermet/rive-cpp
d69378d97e7d987930c3764655153bf8ddc65966
[ "MIT" ]
null
null
null
#include "shapes/straight_vertex.hpp" using namespace rive; void StraightVertex::radiusChanged() { markPathDirty(); }
20
57
0.775
hermet
f3601128ca0c0f2036bbbe0bf9d9e79e893b96d1
17,788
cc
C++
src/__civiltime_test.cc
earlchew/crontime
15629c429406f4f04c83c25767d88a4fad85b811
[ "BSD-3-Clause" ]
null
null
null
src/__civiltime_test.cc
earlchew/crontime
15629c429406f4f04c83c25767d88a4fad85b811
[ "BSD-3-Clause" ]
null
null
null
src/__civiltime_test.cc
earlchew/crontime
15629c429406f4f04c83c25767d88a4fad85b811
[ "BSD-3-Clause" ]
null
null
null
/* -*- c-basic-offset:4; indent-tabs-mode:nil -*- vi: set sw=4 et: */ /* // Copyright (c) 2021, Earl Chew // 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 cod...
43.598039
80
0.695244
earlchew
f36546827c46711c4267fa17bdc2d7db930763ca
1,952
hpp
C++
include/visionSystem.hpp
patnolan33/Midterm_Perception
f383b5be0bc9dcf85e83578d69af1d43b6a7d97c
[ "MIT" ]
null
null
null
include/visionSystem.hpp
patnolan33/Midterm_Perception
f383b5be0bc9dcf85e83578d69af1d43b6a7d97c
[ "MIT" ]
null
null
null
include/visionSystem.hpp
patnolan33/Midterm_Perception
f383b5be0bc9dcf85e83578d69af1d43b6a7d97c
[ "MIT" ]
null
null
null
/** * @file visionSystem.gpp * @brief VisionSystem Class implementation * @details Definition of the VisionSystem class to determine suggested actions based on images and depth measurements * @author Patrick Nolan (patnolan33) * @copyright MIT License. */ #include <camera.hpp> #include <laserRangeFinder.hpp> #includ...
26.026667
117
0.733607
patnolan33
f3685a899c1560506f8efe945e01286e818cd6bd
603
cpp
C++
Difficulty 1/drunkvigenere.cpp
BrynjarGeir/Kattis
a151972cbae3db04a8e6764d5fa468d0146c862b
[ "MIT" ]
null
null
null
Difficulty 1/drunkvigenere.cpp
BrynjarGeir/Kattis
a151972cbae3db04a8e6764d5fa468d0146c862b
[ "MIT" ]
null
null
null
Difficulty 1/drunkvigenere.cpp
BrynjarGeir/Kattis
a151972cbae3db04a8e6764d5fa468d0146c862b
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main() { string encr, key, decry = ""; int shifted, pos; cin >> encr >> key; for(int i = 0; i < encr.size(); i++) { if(i % 2 == 1) { shifted = key.at(i) - 'A'; pos = encr.at(i) - 'A'; pos += shifted; p...
22.333333
42
0.378109
BrynjarGeir
f36d042664e253064c5d2d85e421cc5d4187b209
3,595
cpp
C++
silia/test/operations/norm_spec.cpp
cpanhuber/SimpleLinearAlgebra
8d6240f5fd24d1bea0ba548e7839bb4ab439da69
[ "Unlicense" ]
null
null
null
silia/test/operations/norm_spec.cpp
cpanhuber/SimpleLinearAlgebra
8d6240f5fd24d1bea0ba548e7839bb4ab439da69
[ "Unlicense" ]
null
null
null
silia/test/operations/norm_spec.cpp
cpanhuber/SimpleLinearAlgebra
8d6240f5fd24d1bea0ba548e7839bb4ab439da69
[ "Unlicense" ]
null
null
null
#include <silia/operations/operations.h> #include <silia/types/factories.h> #include <gmock/gmock.h> #include <gtest/gtest.h> #include <type_traits> namespace silia { namespace { using namespace testing; TEST(Norm, SquaredNorm_WhenVector) { auto v = MakeVector({2, 3, 1}); auto norm = SquaredNorm(v); s...
23.966667
89
0.665647
cpanhuber
f36dc4c57b84117cd6c422a3f3a18612bc23851f
9,043
cpp
C++
OrbitQt/orbittreeview.cpp
ehei1/orbit
f990a7f9abb7d330e93d0d20018a62869890f04e
[ "BSD-2-Clause" ]
null
null
null
OrbitQt/orbittreeview.cpp
ehei1/orbit
f990a7f9abb7d330e93d0d20018a62869890f04e
[ "BSD-2-Clause" ]
null
null
null
OrbitQt/orbittreeview.cpp
ehei1/orbit
f990a7f9abb7d330e93d0d20018a62869890f04e
[ "BSD-2-Clause" ]
null
null
null
//----------------------------------- // Copyright Pierric Gimmig 2013-2017 //----------------------------------- #include "orbittreeview.h" #include "orbitglwidget.h" #include <QHeaderView> #include <QMenu> #include <QSignalMapper> #include <QPainter> #include <QScrollBar> #include <QFontDatabase> #include <set> #in...
31.075601
115
0.499281
ehei1
f371e48ae7802f66f8635991f4eec08057b787cf
37,996
cpp
C++
Bonepick/test/engine/TestUtility.cpp
dodgelafnitz/Bonepick
1a12193e5d0cf5d4061d0d3cbd1529a206ed38f4
[ "MIT" ]
3
2018-10-09T02:08:57.000Z
2020-08-12T20:26:29.000Z
Bonepick/test/engine/TestUtility.cpp
dodgelafnitz/Bonepick
1a12193e5d0cf5d4061d0d3cbd1529a206ed38f4
[ "MIT" ]
1
2018-09-30T02:42:39.000Z
2018-09-30T02:42:39.000Z
Bonepick/test/engine/TestUtility.cpp
dodgelafnitz/Bonepick
1a12193e5d0cf5d4061d0d3cbd1529a206ed38f4
[ "MIT" ]
null
null
null
#include "test/engine/TestUtility.h" #include <cstring> #include <type_traits> #include "engine/utility/Bitset.h" #include "engine/utility/Blob.h" #include "engine/utility/containers/DumbVariant.h" #include "engine/utility/containers/External.h" #include "engine/utility/containers/Optional.h" #include "engine/utility...
25.330667
80
0.508554
dodgelafnitz
f3722e8bd205bafaa94cb34ad31b6b36400a8601
5,984
cc
C++
src/HSL/ma57_wrapper.cc
ceccocats/LapackWrapper
fea6aa41849ffe5440fa3195c36f74e45e36b414
[ "BSD-4-Clause" ]
3
2021-05-19T14:33:59.000Z
2022-03-14T02:12:47.000Z
src/HSL/ma57_wrapper.cc
ceccocats/LapackWrapper
fea6aa41849ffe5440fa3195c36f74e45e36b414
[ "BSD-4-Clause" ]
null
null
null
src/HSL/ma57_wrapper.cc
ceccocats/LapackWrapper
fea6aa41849ffe5440fa3195c36f74e45e36b414
[ "BSD-4-Clause" ]
1
2020-01-24T15:10:34.000Z
2020-01-24T15:10:34.000Z
/** * \file ma57_wrapper.cc * Implementation of the class CPPMA57. * * \author A. Huber and E.Bertolazzi * \since 13.11.2018 */ #include "ma57_wrapper.hh" #include <iostream> namespace lapack_wrapper { /*\ :|: ___ _ _ _ __ __ _ :|: | _ \_ _| |__| (_)__ | \/ |___ _ __ | |__ ...
28.908213
186
0.540608
ceccocats
f372c31709f18de4f38166523cad5c4a642d0615
4,133
hpp
C++
engine/src/EventProcessor.hpp
skryabiin/core
13bcdd0c9f3ebcc4954b9ee05ea95db0f77e16f7
[ "MIT" ]
null
null
null
engine/src/EventProcessor.hpp
skryabiin/core
13bcdd0c9f3ebcc4954b9ee05ea95db0f77e16f7
[ "MIT" ]
null
null
null
engine/src/EventProcessor.hpp
skryabiin/core
13bcdd0c9f3ebcc4954b9ee05ea95db0f77e16f7
[ "MIT" ]
null
null
null
#ifndef CORE_EVENT_PROCESSOR_HPP #define CORE_EVENT_PROCESSOR_HPP #include "lua.hpp" #include "Templates.hpp" #include "LuaEventFilter.hpp" namespace core { class LuaListener { }; struct EventTopicBase : public equal_comparable<EventTopicBase> { std::type_index eventType = typeid(this); }; template<ty...
20.160976
120
0.720784
skryabiin
f3762b848cdc6c63861b7a21ebd11b47a33f4130
8,346
cpp
C++
audio/tests/PinResourceHelpers/TestResource.cpp
hassnaaHamdi/Windows-driver-samples
325b87cf839b1b5c0ff46bb8c201612cfaedc561
[ "MS-PL" ]
2
2020-11-06T09:35:06.000Z
2021-12-10T05:14:17.000Z
audio/tests/PinResourceHelpers/TestResource.cpp
hassnaaHamdi/Windows-driver-samples
325b87cf839b1b5c0ff46bb8c201612cfaedc561
[ "MS-PL" ]
null
null
null
audio/tests/PinResourceHelpers/TestResource.cpp
hassnaaHamdi/Windows-driver-samples
325b87cf839b1b5c0ff46bb8c201612cfaedc561
[ "MS-PL" ]
1
2021-04-20T06:54:42.000Z
2021-04-20T06:54:42.000Z
// ------------------------------------------------------------------------------ // // Copyright (C) Microsoft. All rights reserved. // // File Name: // // TestResource.cpp // // Abstract: // // TAEF Test Resource implementation // // ----------------------------------------------------------------------...
25.138554
95
0.620537
hassnaaHamdi
f37849979daa8238ee34d5fc3862ac0b3906c7dd
280
cpp
C++
leetcode/367. Valid Perfect Square/s1.cpp
zhuohuwu0603/leetcode_cpp_lzl124631x
6a579328810ef4651de00fde0505934d3028d9c7
[ "Fair" ]
787
2017-05-12T05:19:57.000Z
2022-03-30T12:19:52.000Z
leetcode/367. Valid Perfect Square/s1.cpp
aerlokesh494/LeetCode
0f2cbb28d5a9825b51a8d3b3a0ae0c30d7ff155f
[ "Fair" ]
8
2020-03-16T05:55:38.000Z
2022-03-09T17:19:17.000Z
leetcode/367. Valid Perfect Square/s1.cpp
aerlokesh494/LeetCode
0f2cbb28d5a9825b51a8d3b3a0ae0c30d7ff155f
[ "Fair" ]
247
2017-04-30T15:07:50.000Z
2022-03-30T09:58:57.000Z
// OJ: https://leetcode.com/problems/valid-perfect-square/ // Author: github.com/lzl124631x // Time: O(sqrt(num)) // Space: O(1) class Solution { public: bool isPerfectSquare(int num) { long i = 0; while (i * i < num) ++i; return i * i == num; } };
23.333333
58
0.571429
zhuohuwu0603
f37ac839aee385d4f2e3754e137309141560277c
7,637
cpp
C++
SampleFramework12/v1.02/Window.cpp
BalazsJako/DXRPathTracer
948693d73c7f9474d98482e99e85416750b29286
[ "MIT" ]
456
2018-10-29T03:51:23.000Z
2022-03-21T02:26:20.000Z
SampleFramework12/v1.02/Window.cpp
BalazsJako/DXRPathTracer
948693d73c7f9474d98482e99e85416750b29286
[ "MIT" ]
11
2016-03-29T17:03:24.000Z
2021-04-30T03:53:07.000Z
SampleFramework12/v1.02/Window.cpp
BalazsJako/DXRPathTracer
948693d73c7f9474d98482e99e85416750b29286
[ "MIT" ]
48
2018-10-29T05:36:41.000Z
2022-02-10T23:42:25.000Z
//================================================================================================= // // MJP's DX11 Sample Framework // http://mynameismjp.wordpress.com/ // // All code licensed under the MIT license // //================================================================================================...
22.265306
132
0.672384
BalazsJako
3ce4d94a542431f5fa4961944b45cca7d81c76a3
3,283
cpp
C++
libs/iostreams/test/bzip2_test.cpp
zyiacas/boost-doc-zh
689e5a3a0a4dbead1a960f7b039e3decda54aa2c
[ "BSL-1.0" ]
198
2015-01-13T05:47:18.000Z
2022-03-09T04:46:46.000Z
libs/iostreams/test/bzip2_test.cpp
sdfict/boost-doc-zh
689e5a3a0a4dbead1a960f7b039e3decda54aa2c
[ "BSL-1.0" ]
9
2015-01-28T16:33:19.000Z
2020-04-12T23:03:28.000Z
libs/iostreams/test/bzip2_test.cpp
sdfict/boost-doc-zh
689e5a3a0a4dbead1a960f7b039e3decda54aa2c
[ "BSL-1.0" ]
139
2015-01-15T20:09:31.000Z
2022-01-31T15:21:16.000Z
// (C) Copyright 2008 CodeRage, LLC (turkanis at coderage dot com) // (C) Copyright 2004-2007 Jonathan Turkanis // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt.) // See http://www.boost.org/libs/iostreams for d...
33.845361
87
0.626561
zyiacas
3cec06f4f7a8cb1c5f8d6b2aaa9e5a91e34277da
3,851
cpp
C++
test/InverseDynamics/test_invdyn_bullet.cpp
jeffw387/bullet3
1382053f00f81ae8830efd2503d5571e660882c5
[ "Zlib" ]
1
2018-10-24T12:09:29.000Z
2018-10-24T12:09:29.000Z
test/InverseDynamics/test_invdyn_bullet.cpp
jeffw387/bullet3
1382053f00f81ae8830efd2503d5571e660882c5
[ "Zlib" ]
null
null
null
test/InverseDynamics/test_invdyn_bullet.cpp
jeffw387/bullet3
1382053f00f81ae8830efd2503d5571e660882c5
[ "Zlib" ]
null
null
null
/// create a bullet btMultiBody model of a tree structured multibody system, /// convert that model to a MultiBodyTree model. /// Then - run inverse dynamics on random input data (q, u, dot_u) to get forces /// - run forward dynamics on (q,u, forces) to get accelerations /// - compare input accelerations to i...
31.826446
96
0.747079
jeffw387
3cedb927f38746597e488c7362b5bfe0ccf3a0eb
507
cpp
C++
NKZX_NOI_OJ/P1320.cpp
Rose2073/RoseCppSource
bdaf5de04049b07bbe0e1ef976d1fbe72520fa03
[ "Apache-2.0" ]
1
2021-04-05T16:26:00.000Z
2021-04-05T16:26:00.000Z
NKZX_NOI_OJ/P1320.cpp
Rose2073/RoseCppSource
bdaf5de04049b07bbe0e1ef976d1fbe72520fa03
[ "Apache-2.0" ]
null
null
null
NKZX_NOI_OJ/P1320.cpp
Rose2073/RoseCppSource
bdaf5de04049b07bbe0e1ef976d1fbe72520fa03
[ "Apache-2.0" ]
null
null
null
#include<cstdio> int main(){ char str[1025]; gets(str); int i = 0,lower = 0,upper = 0,num = 0,other = 0; for(;;i++){ char c = str[i]; if(c == '\0'){ break; } if(c >= 'a' && c <= 'z'){ lower++; }else if(c >= 'A' && c <= 'Z'){ upp...
21.125
53
0.33925
Rose2073
3cf4a61497f902ee85ec8ba28db0a5a759ed509b
320
hpp
C++
src/widgets/settingspages/keyboardsettingspage.hpp
alexandera3/chatterino2
41fbcc738b34a19f66eef3cca8d5dea0b89e07a3
[ "MIT" ]
1
2018-03-24T18:40:00.000Z
2018-03-24T18:40:00.000Z
src/widgets/settingspages/keyboardsettingspage.hpp
alexandera3/chatterino2
41fbcc738b34a19f66eef3cca8d5dea0b89e07a3
[ "MIT" ]
null
null
null
src/widgets/settingspages/keyboardsettingspage.hpp
alexandera3/chatterino2
41fbcc738b34a19f66eef3cca8d5dea0b89e07a3
[ "MIT" ]
null
null
null
#pragma once #include "widgets/settingspages/settingspage.hpp" namespace chatterino { namespace widgets { namespace settingspages { class KeyboardSettingsPage : public SettingsPage { public: KeyboardSettingsPage(); }; } // namespace settingspages } // namespace widgets } // namespace chatterino
20
50
0.734375
alexandera3
3cf73401216a1b3ff3acbf59ee74ed293b5eb617
4,480
hpp
C++
library/ATF/GUILD_BATTLE__CGuildBattleSchedulePoolInfo.hpp
lemkova/Yorozuya
f445d800078d9aba5de28f122cedfa03f26a38e4
[ "MIT" ]
29
2017-07-01T23:08:31.000Z
2022-02-19T10:22:45.000Z
library/ATF/GUILD_BATTLE__CGuildBattleSchedulePoolInfo.hpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
90
2017-10-18T21:24:51.000Z
2019-06-06T02:30:33.000Z
library/ATF/GUILD_BATTLE__CGuildBattleSchedulePoolInfo.hpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
44
2017-12-19T08:02:59.000Z
2022-02-24T23:15:01.000Z
// This file auto generated by plugin for ida pro. Generated code only for x64. Please, dont change manually #pragma once #include <common/common.h> #include <GUILD_BATTLE__CGuildBattleSchedulePool.hpp> START_ATF_NAMESPACE namespace GUILD_BATTLE { namespace Info { usi...
112
248
0.814063
lemkova
3cf83ac1eb945058bbf9d8e508f78b4ae00c6861
2,522
cpp
C++
Switch.cpp
yiyaowen/QuaintElements
117dece11b22c050690484f38f72b1c47de91ea0
[ "MIT" ]
null
null
null
Switch.cpp
yiyaowen/QuaintElements
117dece11b22c050690484f38f72b1c47de91ea0
[ "MIT" ]
null
null
null
Switch.cpp
yiyaowen/QuaintElements
117dece11b22c050690484f38f72b1c47de91ea0
[ "MIT" ]
null
null
null
/* * "Q t" * <Quaint Elements> * * Start using fantastic UI elements in your project with one header file. * * yiyaowen (c) 2021 All rights reserved * Supports @ https://github.com/yiyaowen/QuaintElements */ #include <QMouseEvent> #include <QPainter> #include <QtMath> #include "Switch.h" using namespace Qua...
27.413043
93
0.622918
yiyaowen
3cfb700d7623ff6cb8b7e702fb2d07cf3dd8bba9
665
hpp
C++
libctrpf/include/CTRPluginFrameworkImpl/Menu/HotkeysModifier.hpp
MirayXS/Vapecord-ACNL-Plugin
247eb270dfe849eda325cc0c6adc5498d51de3ef
[ "MIT" ]
null
null
null
libctrpf/include/CTRPluginFrameworkImpl/Menu/HotkeysModifier.hpp
MirayXS/Vapecord-ACNL-Plugin
247eb270dfe849eda325cc0c6adc5498d51de3ef
[ "MIT" ]
null
null
null
libctrpf/include/CTRPluginFrameworkImpl/Menu/HotkeysModifier.hpp
MirayXS/Vapecord-ACNL-Plugin
247eb270dfe849eda325cc0c6adc5498d51de3ef
[ "MIT" ]
null
null
null
#ifndef CTRPLUGINFRAMEWORKIMPL_PLUGINMENUHOTKEYS_HPP #define CTRPLUGINFRAMEWORKIMPL_PLUGINMENUHOTKEYS_HPP #include "CTRPluginFrameworkImpl/Graphics/Button.hpp" #include <vector> #include <string> namespace CTRPluginFramework { class HotkeysModifier { public: HotkeysModifier(u32 &keys, const std::s...
20.78125
63
0.639098
MirayXS
3cfe5d1806fcf46d1861c5c24104854898a28790
1,254
cpp
C++
src/win/pxSharedContextNative.cpp
johnrobinsn/pxCore2
ce9f48a281e03a2e6a0fa6fdacd15a59c6aa720f
[ "Apache-2.0" ]
9
2015-04-04T15:45:12.000Z
2017-05-04T11:23:58.000Z
src/win/pxSharedContextNative.cpp
johnrobinsn/pxCore2
ce9f48a281e03a2e6a0fa6fdacd15a59c6aa720f
[ "Apache-2.0" ]
217
2015-01-27T09:59:21.000Z
2017-06-20T14:43:44.000Z
src/win/pxSharedContextNative.cpp
johnrobinsn/pxCore2
ce9f48a281e03a2e6a0fa6fdacd15a59c6aa720f
[ "Apache-2.0" ]
216
2015-06-02T23:56:26.000Z
2019-05-22T19:38:13.000Z
/* pxCore Copyright 2005-2021 John Robinson 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, s...
26.125
72
0.778309
johnrobinsn
a70703e7f6ebfb7be91068e0b5b3fbb71e4f323f
10,730
cpp
C++
proton-c/bindings/cpp/src/messaging_adapter.cpp
aikchar/qpid-proton
10df4133e8877ee535e24b494738356369dcd24c
[ "Apache-2.0" ]
null
null
null
proton-c/bindings/cpp/src/messaging_adapter.cpp
aikchar/qpid-proton
10df4133e8877ee535e24b494738356369dcd24c
[ "Apache-2.0" ]
null
null
null
proton-c/bindings/cpp/src/messaging_adapter.cpp
aikchar/qpid-proton
10df4133e8877ee535e24b494738356369dcd24c
[ "Apache-2.0" ]
1
2020-12-17T15:47:50.000Z
2020-12-17T15:47:50.000Z
/* * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); y...
33.015385
105
0.637279
aikchar
a707ff65ea24a63cf63f601401a0abb0caf5a246
12,618
cc
C++
crawl-ref/source/stringutil.cc
ludamad/bcrawl-hacks
0c82f6181d8c2ffcb58f374a58887694cdd407ae
[ "CC0-1.0" ]
58
2018-12-10T05:09:50.000Z
2022-01-17T02:22:49.000Z
crawl-ref/source/stringutil.cc
ludamad/bcrawl-hacks
0c82f6181d8c2ffcb58f374a58887694cdd407ae
[ "CC0-1.0" ]
7
2020-04-26T03:18:55.000Z
2021-05-29T21:19:05.000Z
crawl-ref/source/stringutil.cc
ludamad/bcrawl-hacks
0c82f6181d8c2ffcb58f374a58887694cdd407ae
[ "CC0-1.0" ]
11
2019-01-05T20:14:48.000Z
2022-01-06T21:25:53.000Z
/** * @file * @brief String manipulation functions that don't fit elsewhere. **/ #include "AppHdr.h" #include "stringutil.h" #include <cwctype> #include <sstream> #include "libutil.h" #include "random.h" #include "unicode.h" #ifndef CRAWL_HAVE_STRLCPY size_t strlcpy(char *dst, const char *src, size_t n) { i...
24.887574
103
0.548264
ludamad
a7098e59e13c4c6755f7f977f598fbd17f47f812
7,630
cpp
C++
serial_mux/SerialMuxOptions.cpp
dustcloud/serialmux
4ae93d923a942242a897635105cc4251dbd01528
[ "MIT" ]
1
2018-02-02T09:04:29.000Z
2018-02-02T09:04:29.000Z
serial_mux/SerialMuxOptions.cpp
dustcloud/serialmux
4ae93d923a942242a897635105cc4251dbd01528
[ "MIT" ]
null
null
null
serial_mux/SerialMuxOptions.cpp
dustcloud/serialmux
4ae93d923a942242a897635105cc4251dbd01528
[ "MIT" ]
4
2016-08-25T00:13:52.000Z
2021-01-14T23:42:08.000Z
/* * Copyright (c) 2010, Dust Networks, Inc. */ #include "SerialMuxOptions.h" #include <iostream> #include <fstream> #include <sstream> #include <boost/program_options.hpp> using namespace boost::program_options; #include <boost/filesystem.hpp> #include "Version.h" // for command line version outpu...
33.464912
97
0.549148
dustcloud
a70cce366844fd0cbe7d860f9368159c69996896
6,040
hpp
C++
include/obvi/util/affine3.hpp
stephen-sorley/obvi
ead96e23dfd9ffba35590b3a035556eeb093d9a8
[ "MIT" ]
null
null
null
include/obvi/util/affine3.hpp
stephen-sorley/obvi
ead96e23dfd9ffba35590b3a035556eeb093d9a8
[ "MIT" ]
null
null
null
include/obvi/util/affine3.hpp
stephen-sorley/obvi
ead96e23dfd9ffba35590b3a035556eeb093d9a8
[ "MIT" ]
null
null
null
/* Header-only class that implements an affine transformation in 3D space. * * This class only supports affine transformations that represent some combination of * rotations, translations, and uniform scaling (i.e., scaling that's the same on every * axis). Shear and non-uniform scaling are not supported for tw...
35.116279
97
0.623344
stephen-sorley
a712cdf50f149e8abaa2e35121eccb31d3e20099
399
cpp
C++
test/matrixScalarMult.cpp
mkschreder/px4-matrix
f0684a655ca433436b884575d998430f4a1dac3d
[ "BSD-3-Clause-Clear" ]
null
null
null
test/matrixScalarMult.cpp
mkschreder/px4-matrix
f0684a655ca433436b884575d998430f4a1dac3d
[ "BSD-3-Clause-Clear" ]
null
null
null
test/matrixScalarMult.cpp
mkschreder/px4-matrix
f0684a655ca433436b884575d998430f4a1dac3d
[ "BSD-3-Clause-Clear" ]
null
null
null
#include <stdio.h> #include "../matrix/math.hpp" #include "test_macros.hpp" using namespace matrix; int main() { float data[9] = {1, 2, 3, 4, 5, 6, 7, 8, 9}; Matrix3f A(data); A = A * 2; float data_check[9] = {2, 4, 6, 8, 10, 12, 14, 16, 18}; Matrix3f A_check(data_check); TEST(isEqual(A, A_ch...
19.95
59
0.573935
mkschreder
a7141048634c3efbae9221deb5ceb1c5d5e58c98
1,104
cc
C++
cvd_src/cvd_timer.cc
rolandmas/libcvd
34d8e26dbc7d0923dce084b873aa2f2e9eb600d4
[ "BSD-2-Clause" ]
187
2015-01-23T16:56:21.000Z
2022-01-22T19:39:34.000Z
cvd_src/cvd_timer.cc
rolandmas/libcvd
34d8e26dbc7d0923dce084b873aa2f2e9eb600d4
[ "BSD-2-Clause" ]
44
2015-06-03T09:54:44.000Z
2021-10-04T02:41:48.000Z
cvd_src/cvd_timer.cc
rolandmas/libcvd
34d8e26dbc7d0923dce084b873aa2f2e9eb600d4
[ "BSD-2-Clause" ]
76
2015-02-19T18:44:38.000Z
2022-01-05T12:22:13.000Z
/////////////////////////////////////////////////////// // // A timer class designed for dealing with timestamps // CK Nov 2002 // /////////////////////////////////////////////////////// #include "cvd/timer.h" #include <chrono> #include <iostream> using namespace std; using namespace std::chrono; namespace CVD { lo...
18.711864
91
0.65308
rolandmas
a715b4dabcdfbdbed6e0c1aed44f96057ae9891d
79
hpp
C++
vm/segments.hpp
seckar/factor
9683b081e3d93a996d00c91a139b533139dfb945
[ "BSD-2-Clause" ]
1
2016-05-08T19:43:03.000Z
2016-05-08T19:43:03.000Z
vm/segments.hpp
seckar/factor
9683b081e3d93a996d00c91a139b533139dfb945
[ "BSD-2-Clause" ]
null
null
null
vm/segments.hpp
seckar/factor
9683b081e3d93a996d00c91a139b533139dfb945
[ "BSD-2-Clause" ]
null
null
null
namespace factor { struct segment { cell start; cell size; cell end; }; }
7.181818
16
0.658228
seckar
a7168501500555253944387a710e82bb9d7c4b66
5,700
cc
C++
src/views/reductions.cc
sduvuru/couchstore
0ddb502b5b32aaa728e3323bd5d447f467f77966
[ "Apache-2.0" ]
16
2015-04-14T20:46:30.000Z
2021-07-07T10:51:20.000Z
src/views/reductions.cc
sduvuru/couchstore
0ddb502b5b32aaa728e3323bd5d447f467f77966
[ "Apache-2.0" ]
5
2016-03-18T09:25:20.000Z
2021-09-20T05:21:46.000Z
src/views/reductions.cc
sduvuru/couchstore
0ddb502b5b32aaa728e3323bd5d447f467f77966
[ "Apache-2.0" ]
5
2015-10-13T06:33:23.000Z
2021-06-15T16:42:53.000Z
/* -*- Mode: C; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */ #include "reductions.h" #include "../bitfield.h" #include "../couch_btree.h" #include <platform/cb_malloc.h> #include <stdlib.h> #include <string.h> #include <platform/cbassert.h> #define BITMASK_BYTE_SIZE (1024 / CHAR_BIT) #define ...
22.8
93
0.571053
sduvuru
a7204d47b019ed806524a1370d518928f855183e
2,592
cc
C++
src/compressed-sensing/model/transform-matrix.cc
HerrFroehlich/ns3-CompressedSensing
f5e4e56aeea97794695ecef6183bdaa1b72fd1de
[ "MIT" ]
null
null
null
src/compressed-sensing/model/transform-matrix.cc
HerrFroehlich/ns3-CompressedSensing
f5e4e56aeea97794695ecef6183bdaa1b72fd1de
[ "MIT" ]
null
null
null
src/compressed-sensing/model/transform-matrix.cc
HerrFroehlich/ns3-CompressedSensing
f5e4e56aeea97794695ecef6183bdaa1b72fd1de
[ "MIT" ]
null
null
null
/** * \file transform-matrix.cc * * \author Tobias Waurick * \date 23.06.17 * */ #include "transform-matrix.h" #include "ns3/template-registration.h" /*-------- TransMatrix --------*/ TransMatrix::TransMatrix() : TOperator<double>() { } TransMatrix::TransMatrix(uint32_t n) : TOperator<double>(n) { } void Trans...
19.2
121
0.707176
HerrFroehlich
a720b330f3413d7caf56ef15e17ab17f73fa9545
51,288
cpp
C++
ms3d/ms3d.cpp
dream-overflow/o3dsamples
623403c9e62711eea4fe46ead2c1b446c13b7239
[ "FSFAP" ]
null
null
null
ms3d/ms3d.cpp
dream-overflow/o3dsamples
623403c9e62711eea4fe46ead2c1b446c13b7239
[ "FSFAP" ]
null
null
null
ms3d/ms3d.cpp
dream-overflow/o3dsamples
623403c9e62711eea4fe46ead2c1b446c13b7239
[ "FSFAP" ]
null
null
null
/** * @file ms3d.cpp * @brief * @author Frederic SCHERMA (frederic.scherma@dreamoverflow.org) * @date 2004-01-01 * @copyright Copyright (c) 2001-2017 Dream Overflow. All rights reserved. * @details */ #include <o3d/core/memorymanager.h> #include <o3d/core/keyboard.h> #include <o3d/core/appwindow.h> #include ...
39.788984
135
0.614861
dream-overflow
a7223634c11f9e5b46f5e121187550d638a0092a
420
cpp
C++
csf_workspace/css/src/core/module/device/connect/url/csf_url.cpp
Kitty-Kitty/csf_library
011e56fb8b687818d20b9998a0cdb72332375534
[ "BSD-2-Clause" ]
2
2019-12-17T13:16:48.000Z
2019-12-17T13:16:51.000Z
csf_workspace/css/src/core/module/device/connect/url/csf_url.cpp
Kitty-Kitty/csf_library
011e56fb8b687818d20b9998a0cdb72332375534
[ "BSD-2-Clause" ]
null
null
null
csf_workspace/css/src/core/module/device/connect/url/csf_url.cpp
Kitty-Kitty/csf_library
011e56fb8b687818d20b9998a0cdb72332375534
[ "BSD-2-Clause" ]
null
null
null
/******************************************************************************* * *Copyright: armuxinxian@aliyun.com * *File name: csf_url.hpp * *Author: f * *Version: 1.0 * *Date: 11-7月-2018 22:10:25 * *Description: Class(csf_url) url地址信息的基础类信息 * *Others: * *History: *************************************************...
17.5
81
0.42381
Kitty-Kitty
a72498a88255d058050931d0665e3eda17ad368e
3,772
cc
C++
tests/wampcc/test_tcp_socket.cc
vai-hhn/wampcc
ac206f60028406ea8af4c295e11cbc7de67cf2ad
[ "MIT" ]
70
2017-03-09T12:45:30.000Z
2021-12-31T20:34:40.000Z
tests/wampcc/test_tcp_socket.cc
vai-hhn/wampcc
ac206f60028406ea8af4c295e11cbc7de67cf2ad
[ "MIT" ]
54
2017-04-15T23:02:08.000Z
2021-04-13T08:44:25.000Z
tests/wampcc/test_tcp_socket.cc
vai-hhn/wampcc
ac206f60028406ea8af4c295e11cbc7de67cf2ad
[ "MIT" ]
30
2017-06-02T14:12:28.000Z
2021-12-06T07:28:48.000Z
/* * Copyright (c) 2017 Darren Smith * * wampcc is free software; you can redistribute it and/or modify * it under the terms of the MIT license. See LICENSE for details. */ #include "test_common.h" #include "mini_test.h" using namespace wampcc; using namespace std; int global_port; int global_loops = 50; void...
23.428571
79
0.69088
vai-hhn
a7253f4c01eb531796813c04db2b2afbdf85b554
4,050
cpp
C++
examples/xml2cpp/calculator/calculator_client.cpp
tvladax/dbus-cxx
396041a2130985acd72bb801b7137ec06e04b161
[ "BSD-3-Clause" ]
null
null
null
examples/xml2cpp/calculator/calculator_client.cpp
tvladax/dbus-cxx
396041a2130985acd72bb801b7137ec06e04b161
[ "BSD-3-Clause" ]
null
null
null
examples/xml2cpp/calculator/calculator_client.cpp
tvladax/dbus-cxx
396041a2130985acd72bb801b7137ec06e04b161
[ "BSD-3-Clause" ]
null
null
null
/*************************************************************************** * Copyright (C) 2009,2010 by Rick L. Vinyard, Jr. * * rvinyard@cs.nmsu.edu * * * * This fi...
51.923077
169
0.501975
tvladax
a72634b63a6d9c2159c6e08bed72b1bbd975a713
18,132
cpp
C++
Support/Plugins/MultiBundle/multibundle1.cpp
devernay/openfx
d5db5d0483faab6a85c104b436f7460897a90aa8
[ "BSD-3-Clause" ]
20
2015-01-25T22:29:49.000Z
2017-10-05T11:44:11.000Z
Support/Plugins/MultiBundle/multibundle1.cpp
devernay/openfx
d5db5d0483faab6a85c104b436f7460897a90aa8
[ "BSD-3-Clause" ]
5
2015-07-01T17:10:00.000Z
2018-01-04T08:55:36.000Z
Support/Plugins/MultiBundle/multibundle1.cpp
devernay/openfx
d5db5d0483faab6a85c104b436f7460897a90aa8
[ "BSD-3-Clause" ]
13
2015-01-10T15:44:43.000Z
2018-01-10T10:29:15.000Z
/* OFX Gamma Example plugin, a plugin that illustrates the use of the OFX Support library. Copyright (C) 2004-2005 The Open Effects Association Ltd Author Bruno Nicoletti bruno@thefoundry.co.uk Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following c...
31.58885
130
0.688507
devernay
a729180c02649dd2338b54e1aaed297b34bb0ba8
1,901
cpp
C++
netsvcs/clients/Naming/Client/main.cpp
BeiJiaan/ace
2845970c894bb350d12d6a32e867d7ddf2487f25
[ "DOC" ]
16
2015-05-11T04:33:44.000Z
2022-02-15T04:28:39.000Z
netsvcs/clients/Naming/Client/main.cpp
BeiJiaan/ace
2845970c894bb350d12d6a32e867d7ddf2487f25
[ "DOC" ]
null
null
null
netsvcs/clients/Naming/Client/main.cpp
BeiJiaan/ace
2845970c894bb350d12d6a32e867d7ddf2487f25
[ "DOC" ]
7
2015-01-08T16:11:34.000Z
2021-07-04T16:04:40.000Z
// $Id$ // Test the client-side of the ACE Name Server... #include "ace/Service_Config.h" #include "ace/Naming_Context.h" #include "ace/ARGV.h" #include "ace/Log_Msg.h" #include "ace/Reactor.h" #include "Client_Test.h" int ACE_TMAIN (int, ACE_TCHAR *argv[]) { ACE_Service_Config daemon; ACE_ARGV new_args; // ...
26.041096
75
0.540242
BeiJiaan
a72d02da1058ef130aee441bc9e6adace35f6030
456
cpp
C++
官方代码/CPPV4例题_Windows/Chapter6/6_3/Point.cpp
LearnAndRecord-Ang/cpp-re-learn
67f28abc9f4dd2b7a53d0138e689778d1d70aeb2
[ "MIT" ]
1
2021-01-22T14:15:06.000Z
2021-01-22T14:15:06.000Z
官方代码/CPPV4例题_Windows/Chapter6/6_3/Point.cpp
LearnAndRecord-Ang/cpp-re-learn
67f28abc9f4dd2b7a53d0138e689778d1d70aeb2
[ "MIT" ]
null
null
null
官方代码/CPPV4例题_Windows/Chapter6/6_3/Point.cpp
LearnAndRecord-Ang/cpp-re-learn
67f28abc9f4dd2b7a53d0138e689778d1d70aeb2
[ "MIT" ]
null
null
null
//Point.cpp #include <iostream> #include "Point.h" using namespace std; Point::Point() { x = y = 0; cout << "Default Constructor called." << endl; } Point::Point(int x, int y) : x(x), y(y) { cout << "Constructor called." << endl; } Point::~Point() { cout << "Destructor called." << endl; } void...
19
73
0.54386
LearnAndRecord-Ang
a72dcf3a265ee3e05d6084b7e814a855cb58a316
2,048
cpp
C++
sources/hooks/engine/enginevgui.cpp
vocweb/cso2-launcher
abc144acaa3dfb5b0c9acd61cd75970cac012617
[ "MIT" ]
55
2018-09-01T17:52:17.000Z
2019-09-23T10:30:49.000Z
sources/hooks/engine/enginevgui.cpp
RedheatWei/cso2-launcher
4cebbb98d51d33bd24c9a86a1d3fc311686d5011
[ "MIT" ]
70
2018-08-22T05:53:34.000Z
2019-09-23T15:11:39.000Z
sources/hooks/engine/enginevgui.cpp
RedheatWei/cso2-launcher
4cebbb98d51d33bd24c9a86a1d3fc311686d5011
[ "MIT" ]
39
2018-09-01T21:42:50.000Z
2019-09-23T18:38:07.000Z
#include "hooks.hpp" #include "platform.hpp" #include "source/tierlibs.hpp" #include "utilities.hpp" #include "utilities/log.hpp" #include <gameui/igameconsole.hpp> #include <ienginevgui.hpp> #include <tier1/convar.hpp> extern uintptr_t g_dwEngineBase; void SetStaticGameConsole( void* newConsole ) { void** addr ...
22.26087
76
0.670898
vocweb
a72f2b8545a1bc7978f6c070bf53492799acda79
8,804
hpp
C++
nall/http/response.hpp
13824125580/higan
fbdd3f980b65412c362096579869ae76730e4118
[ "Intel", "ISC" ]
38
2018-04-05T05:00:05.000Z
2022-02-06T00:02:02.000Z
nall/http/response.hpp
13824125580/higan
fbdd3f980b65412c362096579869ae76730e4118
[ "Intel", "ISC" ]
1
2018-04-29T19:45:14.000Z
2018-04-29T19:45:14.000Z
nall/http/response.hpp
13824125580/higan
fbdd3f980b65412c362096579869ae76730e4118
[ "Intel", "ISC" ]
8
2018-04-16T22:37:46.000Z
2021-02-10T07:37:03.000Z
#pragma once #include <nall/http/message.hpp> namespace nall { namespace HTTP { struct Response : Message { using type = Response; Response() = default; Response(const Request& request) { setRequest(request); } explicit operator bool() const { return responseType() != 0; } auto operator()(uint responseTy...
34.124031
107
0.637097
13824125580
a7306721799f55e518e845b5162682e58e654467
13,180
hpp
C++
include/VROSC/CloudSessionsDataController.hpp
RedBrumbler/virtuoso-codegen
e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3
[ "Unlicense" ]
null
null
null
include/VROSC/CloudSessionsDataController.hpp
RedBrumbler/virtuoso-codegen
e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3
[ "Unlicense" ]
null
null
null
include/VROSC/CloudSessionsDataController.hpp
RedBrumbler/virtuoso-codegen
e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "beatsaber-hook/shared/utils/typedefs.h" #include "beatsaber-hook/shared/utils/byref.hpp" // Including type: VROSC.SessionsDataController #inclu...
61.302326
254
0.754932
RedBrumbler
a73fda15f19e9d1263342501b6c2820aab56159f
3,978
hpp
C++
mapproxy/src/mapproxy/support/introspection.hpp
melowntech/vts-mapproxy
241ba43c1f7dcc226ec0f2089d47e11c699c2587
[ "BSD-2-Clause" ]
13
2019-05-03T06:09:47.000Z
2022-01-10T05:05:45.000Z
mapproxy/src/mapproxy/support/introspection.hpp
melowntech/vts-mapproxy
241ba43c1f7dcc226ec0f2089d47e11c699c2587
[ "BSD-2-Clause" ]
10
2019-04-16T12:43:30.000Z
2022-02-08T02:44:09.000Z
mapproxy/src/mapproxy/support/introspection.hpp
melowntech/vts-mapproxy
241ba43c1f7dcc226ec0f2089d47e11c699c2587
[ "BSD-2-Clause" ]
4
2019-09-25T04:57:57.000Z
2022-01-10T05:05:46.000Z
/** * Copyright (c) 2017 Melown Technologies SE * * 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 f...
34.894737
78
0.695827
melowntech
a7481677b23c1ebd8de64c4458abdfadf511d94c
979
cpp
C++
src/abstract_charset_detector.cpp
fougue/cassolette
0aa8449f5a675f7ce3c897318c4872ed104e2835
[ "CECILL-B" ]
null
null
null
src/abstract_charset_detector.cpp
fougue/cassolette
0aa8449f5a675f7ce3c897318c4872ed104e2835
[ "CECILL-B" ]
null
null
null
src/abstract_charset_detector.cpp
fougue/cassolette
0aa8449f5a675f7ce3c897318c4872ed104e2835
[ "CECILL-B" ]
1
2019-04-01T03:56:41.000Z
2019-04-01T03:56:41.000Z
/**************************************************************************** ** Cassolette ** Copyright Fougue Ltd. (15 Apr. 2014) ** contact@fougue.pro ** ** This software is a computer program whose purpose is to analyse and convert ** the encoding of text files. ** ** This software is governed by the CeCILL-B licen...
30.59375
78
0.62002
fougue
a74f297de30a8fe10ec7dccbc7d96fa9b730d225
926
cpp
C++
HDUOJ/5724.cpp
LzyRapx/Competitive-Programming
6b0eea727f9a6444700a6966209397ac7011226f
[ "Apache-2.0" ]
81
2018-06-03T04:27:45.000Z
2020-09-13T09:04:12.000Z
HDUOJ/5725.cpp
Walkerlzy/Competitive-algorithm
6b0eea727f9a6444700a6966209397ac7011226f
[ "Apache-2.0" ]
null
null
null
HDUOJ/5725.cpp
Walkerlzy/Competitive-algorithm
6b0eea727f9a6444700a6966209397ac7011226f
[ "Apache-2.0" ]
21
2018-07-11T04:02:38.000Z
2020-07-18T20:31:14.000Z
#include<bits/stdc++.h> #pragma comment(linker, "/STACK:102400000,102400000") using namespace std; int d[25],f[1050000]; int get(int x) { int i,bo=0,w; for (i=1;i<=20;i++) if ((1<<i)-1==x) return 0; memset(d,0,sizeof(d)); for (i=0;i<20;i++) if ((1<<i)>x) break ; else if (((1<<i)&x...
24.368421
54
0.390929
LzyRapx
a7506fec30c0c89941d85e775b8127bd98ca25df
10,066
cpp
C++
src/Frameworks/Gleam/Gleam_ProgramBase.cpp
Connway/Shibboleth
23dda9a066db8dfaf8c8d56cb1e3d9929b6ced35
[ "MIT" ]
1
2020-04-06T17:35:47.000Z
2020-04-06T17:35:47.000Z
src/Frameworks/Gleam/Gleam_ProgramBase.cpp
Connway/Shibboleth
23dda9a066db8dfaf8c8d56cb1e3d9929b6ced35
[ "MIT" ]
null
null
null
src/Frameworks/Gleam/Gleam_ProgramBase.cpp
Connway/Shibboleth
23dda9a066db8dfaf8c8d56cb1e3d9929b6ced35
[ "MIT" ]
null
null
null
/************************************************************************************ Copyright (C) 2021 by Nicholas LaCroix 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...
41.941667
179
0.739519
Connway
a750ee35f89fdefba3041485e948fe46ae269a2a
28,707
cpp
C++
c-src/Fl_Menu_C.cpp
ericu/fltkhs
3ca521ca30d51a84f8ec87938932f2ce5af8a7c0
[ "MIT" ]
222
2015-01-11T19:01:16.000Z
2022-03-25T14:47:26.000Z
c-src/Fl_Menu_C.cpp
ericu/fltkhs
3ca521ca30d51a84f8ec87938932f2ce5af8a7c0
[ "MIT" ]
143
2015-01-13T19:08:33.000Z
2021-10-10T20:43:46.000Z
c-src/Fl_Menu_C.cpp
ericu/fltkhs
3ca521ca30d51a84f8ec87938932f2ce5af8a7c0
[ "MIT" ]
36
2015-01-14T15:30:18.000Z
2021-08-11T13:04:28.000Z
#include "Fl_Menu_C.h" #include "UtilsC.h" #ifdef __cplusplus Fl_DerivedMenu_::Fl_DerivedMenu_(int X, int Y, int W, int H, const char *l, fl_Menu__Virtual_Funcs* funcs) : Fl_Menu_(X,Y,W,H,l){ overriddenFuncs = funcs; other_data = 0; } Fl_DerivedMenu_::Fl_DerivedMenu_(int X, int Y, int W, int H, fl_Menu__Virtua...
44.576087
150
0.74299
ericu
a7513829348d02b5fad46484b1a70469cfd58c70
1,384
cpp
C++
skse64/skse64/PapyrusFlora.cpp
michaeljdietz/NpcVoiceActivation
df62efc5e6ed9510e4f9423561071d7119a3a44b
[ "MIT" ]
1
2020-02-11T12:25:39.000Z
2020-02-11T12:25:39.000Z
skse64/skse64/PapyrusFlora.cpp
michaeljdietz/NpcVoiceActivation
df62efc5e6ed9510e4f9423561071d7119a3a44b
[ "MIT" ]
null
null
null
skse64/skse64/PapyrusFlora.cpp
michaeljdietz/NpcVoiceActivation
df62efc5e6ed9510e4f9423561071d7119a3a44b
[ "MIT" ]
null
null
null
#include "PapyrusFlora.h" #include "GameObjects.h" namespace papyrusFlora { TESForm * GetIngredient(TESFlora* thisFlora) { return (thisFlora) ? thisFlora->produce.produce : NULL; } void SetIngredient(TESFlora* thisFlora, TESForm* ingredient) { if (thisFlora) { thisFlora->produce.produce = ing...
28.833333
134
0.736272
michaeljdietz
a752e0e386e57861dca915d0cd8b218b905852ce
5,484
cc
C++
code/application/graphicsfeature/animpath/streampathanimationloader.cc
gscept/nebula-trifid
e7c0a0acb05eedad9ed37a72c1bdf2d658511b42
[ "BSD-2-Clause" ]
67
2015-03-30T19:56:16.000Z
2022-03-11T13:52:17.000Z
code/application/graphicsfeature/animpath/streampathanimationloader.cc
gscept/nebula-trifid
e7c0a0acb05eedad9ed37a72c1bdf2d658511b42
[ "BSD-2-Clause" ]
5
2015-04-15T17:17:33.000Z
2016-02-11T00:40:17.000Z
code/application/graphicsfeature/animpath/streampathanimationloader.cc
gscept/nebula-trifid
e7c0a0acb05eedad9ed37a72c1bdf2d658511b42
[ "BSD-2-Clause" ]
34
2015-03-30T15:08:00.000Z
2021-09-23T05:55:10.000Z
//------------------------------------------------------------------------------ // animpathstreamloader.cc // (C) 2015-2016 Individual contributors, see AUTHORS file //------------------------------------------------------------------------------ #include "stdneb.h" #include "streampathanimationloader.h" #include "i...
28.5625
102
0.603027
gscept
a75486953f24f09666c664abe821dd12f3f31c10
3,689
cpp
C++
library/base/win/windows_version.cpp
topillar/PuTTY-ng
1f5bf26de0f42e03ef4f100fa879b16216d61abf
[ "MIT" ]
39
2019-06-22T12:25:54.000Z
2022-03-14T05:42:44.000Z
library/base/win/windows_version.cpp
topillar/PuTTY-ng
1f5bf26de0f42e03ef4f100fa879b16216d61abf
[ "MIT" ]
5
2019-06-29T10:58:43.000Z
2020-09-04T08:44:09.000Z
library/base/win/windows_version.cpp
topillar/PuTTY-ng
1f5bf26de0f42e03ef4f100fa879b16216d61abf
[ "MIT" ]
10
2019-08-07T06:08:23.000Z
2022-03-14T05:42:47.000Z
#include "windows_version.h" #include <windows.h> namespace base { namespace win { // static OSInfo* OSInfo::GetInstance() { // Note: we don't use the Singleton class because it depends on AtExitManager, // and it's convenient for other modules t...
36.524752
91
0.542423
topillar
a756362a94c54762e781f067c9cb8724879a8ccb
5,798
cpp
C++
Lib/v3d/instr/Encode.cpp
Freddan-67/V3DLib
dcefc24a9a399ee1f5d1aa5529f44d9fd2486929
[ "MIT" ]
44
2021-01-16T14:17:15.000Z
2022-03-11T19:53:59.000Z
Lib/v3d/instr/Encode.cpp
RcCreeperTech/V3DLib
38eb8d55b8276de5cf703d8e13fb9b5f220c49f0
[ "MIT" ]
8
2021-01-16T17:52:02.000Z
2021-12-18T22:38:00.000Z
Lib/v3d/instr/Encode.cpp
RcCreeperTech/V3DLib
38eb8d55b8276de5cf703d8e13fb9b5f220c49f0
[ "MIT" ]
7
2021-01-16T14:25:47.000Z
2022-02-03T16:34:45.000Z
#include "Encode.h" #include "Support/Exception.h" #include "Mnemonics.h" namespace V3DLib { namespace v3d { namespace instr { namespace { uint8_t const NOP_ADDR = 39; uint8_t const REGB_OFFSET = 32; uint8_t const NUM_REGS_RF = 64; // Number of available registers in the register file std::unique_ptr<Location> ...
25.318777
129
0.608141
Freddan-67
a757f14f341f6fdbfe63b1cec146d71a50260039
28,925
cpp
C++
Meteor/Source/Graphics/D3D12/D3D12Renderer.cpp
96aman96/Meteor
17e7fdc91244cf952b2db40de97f7b05f12f22e0
[ "MIT" ]
null
null
null
Meteor/Source/Graphics/D3D12/D3D12Renderer.cpp
96aman96/Meteor
17e7fdc91244cf952b2db40de97f7b05f12f22e0
[ "MIT" ]
null
null
null
Meteor/Source/Graphics/D3D12/D3D12Renderer.cpp
96aman96/Meteor
17e7fdc91244cf952b2db40de97f7b05f12f22e0
[ "MIT" ]
null
null
null
#include "acpch.h" #if defined(AC_D3D12) && defined(PLATFORM_WINDOWS) #include "D3D12Renderer.h" #include <Engine/Core/EngineContext.h> #include <Engine/Object/Entity/Entity.h> #include <Extern/Graphics/D3D12/D3DX12/d3dx12.h> #include <Framework/AppContext.h> #include <Framework/Math/MathHelper.h> #include <Graphic...
45.266041
325
0.699464
96aman96
a75aba3a5f911bd9b1f8f7022558086553f74d6f
4,067
hpp
C++
bitlinuxosnetworkclass/lesson35/httpServer.hpp
DanteIoVeYou/Linux_Study
701a54caad3d65c511716111430ca08ada78f088
[ "MIT" ]
null
null
null
bitlinuxosnetworkclass/lesson35/httpServer.hpp
DanteIoVeYou/Linux_Study
701a54caad3d65c511716111430ca08ada78f088
[ "MIT" ]
null
null
null
bitlinuxosnetworkclass/lesson35/httpServer.hpp
DanteIoVeYou/Linux_Study
701a54caad3d65c511716111430ca08ada78f088
[ "MIT" ]
null
null
null
#include <iostream> #include <pthread.h> #include <unistd.h> #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> #include <string> #include <fstream> #include <cstring> #define SRC_PATH "wwwroot/index.html" #define NOTFOUND "wwwroot/13-404-rolling-box.html" namespace srv { ...
30.578947
97
0.405704
DanteIoVeYou
a75e194f8986210cb18fba773c0624c5d0e6922f
13,685
cpp
C++
HiveCore/src/Buffer/BufferSparseVolumeData.cpp
digirea/HIVE
8896b0cc858c1ad0683888b925f71c0f0d71bf9d
[ "MIT" ]
null
null
null
HiveCore/src/Buffer/BufferSparseVolumeData.cpp
digirea/HIVE
8896b0cc858c1ad0683888b925f71c0f0d71bf9d
[ "MIT" ]
null
null
null
HiveCore/src/Buffer/BufferSparseVolumeData.cpp
digirea/HIVE
8896b0cc858c1ad0683888b925f71c0f0d71bf9d
[ "MIT" ]
null
null
null
/** * @file BufferSparseVolumeData.cpp * BufferSparseVolumeDataクラス */ #include "BufferSparseVolumeData.h" #include "Buffer.h" #include "BufferVolumeData.h" // Use SparseVolume feature from SURFACE to provide Sample() function #include "render_bvh_tree.h" #include <limits> #include <cstring> /** * BufferSparseVol...
26.886051
156
0.581878
digirea
a767b771c1dfaa7ef81974eddf888d40ad2cfef3
24,179
cc
C++
src/elf/elf-file.cc
yanz08/rv8-wezh
bdf11993dfaff208bc4b3d451c534231037ac80e
[ "MIT" ]
463
2017-05-11T05:18:51.000Z
2021-01-29T05:18:41.000Z
src/elf/elf-file.cc
michaeljclark/riscv-mc
834259098a5c182874aac97d82a164d144244e1a
[ "MIT" ]
25
2017-05-11T07:57:48.000Z
2020-07-01T04:04:36.000Z
src/elf/elf-file.cc
michaeljclark/riscv-mc
834259098a5c182874aac97d82a164d144244e1a
[ "MIT" ]
62
2017-06-02T01:07:33.000Z
2020-11-12T18:58:07.000Z
// // elf-file.cc // #include <cstdio> #include <cstdint> #include <cstring> #include <cerrno> #include <cassert> #include <string> #include <vector> #include <map> #include <functional> #include <sys/stat.h> #include "elf.h" #include "elf-file.h" #include "elf-format.h" #include "util.h" elf_file::elf_file() {} ...
29.740467
99
0.664502
yanz08
a76950589756e169160819221565bf4946249c67
640
cpp
C++
gym/102302/F.cpp
albexl/codeforces-gym-submissions
2a51905c50fcf5d7f417af81c4c49ca5217d0753
[ "MIT" ]
1
2021-07-16T19:59:39.000Z
2021-07-16T19:59:39.000Z
gym/102302/F.cpp
albexl/codeforces-gym-submissions
2a51905c50fcf5d7f417af81c4c49ca5217d0753
[ "MIT" ]
null
null
null
gym/102302/F.cpp
albexl/codeforces-gym-submissions
2a51905c50fcf5d7f417af81c4c49ca5217d0753
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; #ifdef DGC #include "debug.h" #else #define debug(...) #endif typedef long long ll; typedef long double ld; typedef complex<ld> point; #define F first #define S second int main() { #ifdef DGC //freopen("a.txt", "r", stdin); //freopen("b.txt", "w", stdout); #endif...
14.883721
42
0.579688
albexl
a76978088c3210a9ac82d152ff020d12f0e9ff87
1,484
cpp
C++
src/qqrl.cpp
mganger/quantum-multiple-q-learning
08d6c010cd9082b58f79bdc2da45a1cd6d1f512f
[ "MIT" ]
1
2019-12-27T20:59:00.000Z
2019-12-27T20:59:00.000Z
src/qqrl.cpp
mganger/quantum-multiple-q-learning
08d6c010cd9082b58f79bdc2da45a1cd6d1f512f
[ "MIT" ]
null
null
null
src/qqrl.cpp
mganger/quantum-multiple-q-learning
08d6c010cd9082b58f79bdc2da45a1cd6d1f512f
[ "MIT" ]
null
null
null
#include "algorithm.h" #include "linalg.h" #include <ostream> struct qqrl : public algorithm { matrix Q, p; qqrl(Environment env, Parameters par_) : algorithm{env,par_}, Q{make_matrix(env.Ns,env.Na,0.0)}, p{make_matrix(env.Ns, env.Na, 1.0/sqrt(env.Na))} {} void episode() override { for(state_t s = 0; s <...
26.035088
92
0.580189
mganger
a769ad09d2c7dd0f39d088e174189c89f8557f12
1,163
hpp
C++
include/tao/config/internal/array.hpp
Bjoe/config
3ad1c27d9994ac6910ffc52ac0dc95f91c55e87c
[ "MIT" ]
122
2018-10-29T17:56:12.000Z
2022-03-30T20:43:30.000Z
include/tao/config/internal/array.hpp
Bjoe/config
3ad1c27d9994ac6910ffc52ac0dc95f91c55e87c
[ "MIT" ]
5
2020-03-10T13:13:57.000Z
2022-03-10T11:50:03.000Z
include/tao/config/internal/array.hpp
Bjoe/config
3ad1c27d9994ac6910ffc52ac0dc95f91c55e87c
[ "MIT" ]
14
2019-02-11T17:18:00.000Z
2022-02-02T00:47:38.000Z
// Copyright (c) 2019-2021 Dr. Colin Hirsch and Daniel Frey // Please see LICENSE for license or visit https://github.com/taocpp/config/ #ifndef TAO_CONFIG_INTERNAL_ARRAY_HPP #define TAO_CONFIG_INTERNAL_ARRAY_HPP #include <iterator> #include <list> #include "forward.hpp" #include "pegtl.hpp" namespace tao::config::...
22.803922
76
0.631986
Bjoe
a76c9feecdfd5601400fe16ba24ff05be6f1c0cf
1,097
cpp
C++
unit_tests/test_board.cpp
julienlopez/Aronda
8fb6625bc037736dc2926f97f46a59441d7dc221
[ "MIT" ]
null
null
null
unit_tests/test_board.cpp
julienlopez/Aronda
8fb6625bc037736dc2926f97f46a59441d7dc221
[ "MIT" ]
4
2018-02-21T15:38:56.000Z
2019-04-03T07:57:22.000Z
unit_tests/test_board.cpp
julienlopez/Aronda
8fb6625bc037736dc2926f97f46a59441d7dc221
[ "MIT" ]
null
null
null
#include <catch.hpp> #include "board.hpp" #include <numeric_range.hpp> #include <boost/optional/optional_io.hpp> using Aronda::Board; TEST_CASE("Testing basic board properties", "[board]") { SECTION("Clean Board Properties") { Board g; for(const auto square_index : range(Aronda::c_number_of...
28.128205
92
0.546035
julienlopez
a76d55a57944e2871167728373832d16b1615219
2,940
cc
C++
py_envoy_mobile/wrapper/py_envoy_engine.cc
crockeo/py-envoy-mobile
38a716e145544269eabb4feded05566f928da973
[ "Apache-2.0" ]
2
2020-11-10T01:44:08.000Z
2020-12-10T23:59:47.000Z
py_envoy_mobile/wrapper/py_envoy_engine.cc
crockeo/py-envoy-mobile
38a716e145544269eabb4feded05566f928da973
[ "Apache-2.0" ]
null
null
null
py_envoy_mobile/wrapper/py_envoy_engine.cc
crockeo/py-envoy-mobile
38a716e145544269eabb4feded05566f928da973
[ "Apache-2.0" ]
null
null
null
#include "py_envoy_engine.h" #include <chrono> #include <iostream> #include <optional> #include <thread> #include "library/common/main_interface.h" static void py_dispatch_on_engine_running(void *context) { EngineCallbacks *callbacks = static_cast<EngineCallbacks *>(context); callbacks->executor.execute([=]() {...
28.543689
109
0.721429
crockeo
a76ecb6588d61d562b53f2b3fcb36cdcdee973e6
914
cpp
C++
LeetCode Problem-Set/10. Regular Expression Matching (Hard)/Solution2.cpp
ankuralld5999/LeetCode-Problems
2f9a767a0effbb2a50672e102925fbbb65034083
[ "FSFAP" ]
2
2021-01-06T20:43:59.000Z
2021-01-11T15:42:59.000Z
LeetCode Problem-Set/10. Regular Expression Matching (Hard)/Solution2.cpp
ankuralld5999/LeetCode-Problems
2f9a767a0effbb2a50672e102925fbbb65034083
[ "FSFAP" ]
null
null
null
LeetCode Problem-Set/10. Regular Expression Matching (Hard)/Solution2.cpp
ankuralld5999/LeetCode-Problems
2f9a767a0effbb2a50672e102925fbbb65034083
[ "FSFAP" ]
null
null
null
// Problem: https://leetcode.com/problems/regular-expression-matching/ // Author: github.com/ankuralld5999 // Time: O(MN) // Space: O(N) class Solution { int M, N; bool dfs(string &s, string &p, int i, int j) { while (i < M && j < N) { if (j + 1 < N && p[j + 1] == '*') { if (...
28.5625
70
0.365427
ankuralld5999
a7739168fe0c2c7bdc487edfe689c396f21ec10b
7,649
hpp
C++
src/lib/include/black/logic/lex.hpp
lucageatti/BLACK
58fe4b99e8f8eda955807760f3515e3ca0478d39
[ "MIT" ]
null
null
null
src/lib/include/black/logic/lex.hpp
lucageatti/BLACK
58fe4b99e8f8eda955807760f3515e3ca0478d39
[ "MIT" ]
1
2019-06-11T16:57:49.000Z
2019-06-11T17:10:41.000Z
src/lib/include/black/logic/lex.hpp
lucageatti/BLACK
58fe4b99e8f8eda955807760f3515e3ca0478d39
[ "MIT" ]
null
null
null
// // BLACK - Bounded Ltl sAtisfiability ChecKer // // (C) 2019 Nicola Gigante // // 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 righ...
28.541045
80
0.581906
lucageatti
a774919efb844f9aab87039c734c1e702e1d388b
13,517
cpp
C++
Official Windows Platform Sample/Windows 8.1 Store app samples/[C++]-Windows 8.1 Store app samples/USB CDC Control sample/C++/Scenario1_Initialize.xaml.cpp
zzgchina888/msdn-code-gallery-microsoft
21cb9b6bc0da3b234c5854ecac449cb3bd261f29
[ "MIT" ]
2
2022-01-21T01:40:58.000Z
2022-01-21T01:41:10.000Z
Official Windows Platform Sample/Windows 8.1 Store app samples/[C++]-Windows 8.1 Store app samples/USB CDC Control sample/C++/Scenario1_Initialize.xaml.cpp
zzgchina888/msdn-code-gallery-microsoft
21cb9b6bc0da3b234c5854ecac449cb3bd261f29
[ "MIT" ]
1
2022-03-15T04:21:41.000Z
2022-03-15T04:21:41.000Z
Official Windows Platform Sample/Windows 8.1 Store app samples/[C++]-Windows 8.1 Store app samples/USB CDC Control sample/C++/Scenario1_Initialize.xaml.cpp
zzgchina888/msdn-code-gallery-microsoft
21cb9b6bc0da3b234c5854ecac449cb3bd261f29
[ "MIT" ]
null
null
null
//********************************************************* // // Copyright (c) Microsoft. All rights reserved. // //********************************************************* // // Scenario1_Initialize.xaml.cpp // Implementation of the CdcAcmInitialize class. // #include "pch.h" #include "Scenario1_Initialize.xaml.h...
39.408163
170
0.60472
zzgchina888
a775ecdd13b97746e7f49d2facf09ca4773d1524
912
hpp
C++
vendor/m2sdk/include/classes/CPlayerRadio.hpp
m2ncrp/m2o-reborn
4af7edfec2e450112943f69926f4a394d5868ea6
[ "Apache-2.0" ]
34
2018-10-08T08:56:24.000Z
2021-06-13T14:45:59.000Z
vendor/m2sdk/include/classes/CPlayerRadio.hpp
m2ncrp/m2o-reborn
4af7edfec2e450112943f69926f4a394d5868ea6
[ "Apache-2.0" ]
4
2018-10-14T08:03:22.000Z
2020-12-18T14:03:55.000Z
vendor/m2sdk/include/classes/CPlayerRadio.hpp
m2ncrp/m2o-reborn
4af7edfec2e450112943f69926f4a394d5868ea6
[ "Apache-2.0" ]
15
2018-10-08T08:56:28.000Z
2021-07-30T04:48:27.000Z
/** @file CPlayerRadio.cpp * @brief Game's radio wrapper * * * @author Tyldar (darreugne@gmail.com) */ #pragma once namespace M2 { class ICPlayerRadio { public: }; class C_PlayerRadio : public GameClassWrapper<C_PlayerRadio, ICPlayerRadio, 0x1AB5A54> { public: void Activate(const void *unk) { Mem::I...
17.538462
87
0.677632
m2ncrp
a7766335670c14e24e0df17074ab53e53ed6f851
620
cpp
C++
5704.cpp
jaemin2682/BAEKJOON_ONLINE_JUDGE
0d5c6907baee61e1fabdbcd96ea473079a9475ed
[ "MIT" ]
null
null
null
5704.cpp
jaemin2682/BAEKJOON_ONLINE_JUDGE
0d5c6907baee61e1fabdbcd96ea473079a9475ed
[ "MIT" ]
null
null
null
5704.cpp
jaemin2682/BAEKJOON_ONLINE_JUDGE
0d5c6907baee61e1fabdbcd96ea473079a9475ed
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <memory.h> using namespace std; int main() { while(1) { string str; getline(cin, str); if(str=="*") return 0; bool alpha[26]; memset(alpha, false, sizeof(alpha)); for(int i=0;i<str.size();i++) { //사용한 알파벳 표시 ...
21.37931
52
0.424194
jaemin2682
a777929ba0b8e16e13a1528f429b22f9f8fc8970
435
cpp
C++
estudo de POO com C/Pessoa.cpp
W8jonas/estudos
b8f07bfd1890d94ff74c77adba1e033b4f0edd54
[ "MIT" ]
11
2021-01-26T03:13:16.000Z
2021-08-14T01:28:07.000Z
estudo de POO com C/Pessoa.cpp
W8jonas/estudos
b8f07bfd1890d94ff74c77adba1e033b4f0edd54
[ "MIT" ]
4
2021-01-26T07:27:37.000Z
2021-01-26T07:31:18.000Z
estudo de POO com C/Pessoa.cpp
W8jonas/estudos
b8f07bfd1890d94ff74c77adba1e033b4f0edd54
[ "MIT" ]
null
null
null
#include "Pessoa.h" #include <iostream> using namespace std; Pessoa::Pessoa() { cout << "Pessoa criada\n"; } Pessoa::Pessoa(int idade, float peso, float altura) { this->idade = idade; this->peso = peso; this->altura = altura; cout << "Pessoa criada com: \n"; cout << "idade: " << idade << "\n"; cout << "peso:...
18.125
53
0.583908
W8jonas
a77c4af45fc9ae5c882f3441fbf4dae72123db28
280
cpp
C++
C++ Programs/StrongNeighbour6.cpp
manish-ai/hacktoberfest-2021
07bbcb7890e0a48ef19f04daab466ef47b08a30f
[ "MIT" ]
21
2021-10-01T01:52:56.000Z
2021-11-08T13:01:26.000Z
C++ Programs/StrongNeighbour6.cpp
manish-ai/hacktoberfest-2021
07bbcb7890e0a48ef19f04daab466ef47b08a30f
[ "MIT" ]
30
2021-09-30T18:28:07.000Z
2021-10-03T05:23:45.000Z
C++ Programs/StrongNeighbour6.cpp
manish-ai/hacktoberfest-2021
07bbcb7890e0a48ef19f04daab466ef47b08a30f
[ "MIT" ]
71
2021-09-30T17:32:43.000Z
2021-10-21T05:26:51.000Z
#include<iostream> #include<bits/stdc++.h> using namespace std; int main(){ int i,j; int arr[] ={1,2,2,3,4,5}; int n = sizeof(arr)/sizeof(arr[0]); for(i = 0 ; i <n-1 ; i++){ cout << max(arr[i], arr[i+1]) << " "; } return 0; }
20
54
0.453571
manish-ai
a7828fceb51ab95bf02fbec19ecb6aa9b8faeff6
7,186
cpp
C++
ui/MainWindow.cpp
seldon1000/fairwindplusplus
26cf18e0ecf49c642e24cc504d56722eaddd1399
[ "Apache-2.0" ]
null
null
null
ui/MainWindow.cpp
seldon1000/fairwindplusplus
26cf18e0ecf49c642e24cc504d56722eaddd1399
[ "Apache-2.0" ]
null
null
null
ui/MainWindow.cpp
seldon1000/fairwindplusplus
26cf18e0ecf49c642e24cc504d56722eaddd1399
[ "Apache-2.0" ]
null
null
null
// // Created by Raffaele Montella on 21/03/21. // #include <QTimer> #include <QToolButton> #include <FairWindSdk/FairWind.hpp> #include <FairWindSdk/FairWindApp.hpp> #include <FairWindSdk/IFairWindLauncher.hpp> #include "MainWindow.hpp" #include "ui/topbar/TopBar.hpp" #include "ui/bottombar/BottomBar.hpp" #include...
28.975806
113
0.674506
seldon1000
a782e1f274447aed35cbcbdfa7473def11d5d248
7,715
cpp
C++
src/holosuite-lib/holocodec/HoloCodecOpus.cpp
itsermo/holosuite
16659efec910a4050ddd6548b1310e3ed09636e0
[ "BSD-3-Clause" ]
null
null
null
src/holosuite-lib/holocodec/HoloCodecOpus.cpp
itsermo/holosuite
16659efec910a4050ddd6548b1310e3ed09636e0
[ "BSD-3-Clause" ]
null
null
null
src/holosuite-lib/holocodec/HoloCodecOpus.cpp
itsermo/holosuite
16659efec910a4050ddd6548b1310e3ed09636e0
[ "BSD-3-Clause" ]
null
null
null
#ifdef ENABLE_HOLO_AUDIO #include "HoloCodecOpus.hpp" using namespace holo; using namespace holo::codec; HoloCodecOpus::HoloCodecOpus() : IHoloCodec<std::vector<unsigned char>>(), isInit_(false), audioFormat_(), bitRate_(HOLO_AUDIO_DEFAULT_ENCODE_BITRATE), audioEncoder_(nullptr), audioDecoder_(nullptr) { logger...
35.552995
145
0.744135
itsermo
a78b3abce412a01314346100334571834128818b
1,610
cpp
C++
LeetCode/ThousandOne/0446-arithmetic_subseq.cpp
Ginkgo-Biloba/Cpp-Repo1-VS
231c68a055e6bf69a3f7c224e7c0182b67ce5b67
[ "Apache-2.0" ]
null
null
null
LeetCode/ThousandOne/0446-arithmetic_subseq.cpp
Ginkgo-Biloba/Cpp-Repo1-VS
231c68a055e6bf69a3f7c224e7c0182b67ce5b67
[ "Apache-2.0" ]
null
null
null
LeetCode/ThousandOne/0446-arithmetic_subseq.cpp
Ginkgo-Biloba/Cpp-Repo1-VS
231c68a055e6bf69a3f7c224e7c0182b67ce5b67
[ "Apache-2.0" ]
null
null
null
#include "leetcode.hpp" /* 446. 等差数列划分 II - 子序列 如果一个数列至少有三个元素,并且任意两个相邻元素之差相同,则称该数列为等差数列。 例如,以下数列为等差数列: 1, 3, 5, 7, 9 7, 7, 7, 7 3, -1, -5, -9 以下数列不是等差数列。 1, 1, 2, 5, 7 数组 A 包含 N 个数,且索引从 0 开始。该数组子序列将划分为整数序列 (P0, P1, ..., Pk),P 与 Q 是整数且满足 0 ≤ P0 < P1 < ... < Pk < N。 如果序列 A[P0],A[P1],...,A[Pk-1],A[Pk] 是等差的,那么数组 A 的子序...
26.393443
412
0.565839
Ginkgo-Biloba
a78b66e2e56304f68181930aa23944e5c880640a
1,381
cpp
C++
lc/LC135.cpp
4llenchan/dsa
314991a32a24578dbf48e82ddded95804c95aa10
[ "MIT" ]
null
null
null
lc/LC135.cpp
4llenchan/dsa
314991a32a24578dbf48e82ddded95804c95aa10
[ "MIT" ]
null
null
null
lc/LC135.cpp
4llenchan/dsa
314991a32a24578dbf48e82ddded95804c95aa10
[ "MIT" ]
null
null
null
#include <gtest/gtest.h> #include <algorithm> #include <numeric> #include <unordered_map> #include <vector> #include "Common.h" using namespace std; /* * https://leetcode-cn.com/problems/candy/ * 两次遍历的贪心算法 */ class Solution { public: int candy(vector<int> &ratings) { int size = ratings.size(); ...
22.274194
58
0.527154
4llenchan
a78c512809b5dadc82b175bc1c92c21066af863b
1,690
hh
C++
track/detail/UnitTrackingStorage.i.hh
celeritas-project/orange-port
9aa2d36984a24a02ed6d14688a889d4266f7b1af
[ "Apache-2.0", "MIT" ]
null
null
null
track/detail/UnitTrackingStorage.i.hh
celeritas-project/orange-port
9aa2d36984a24a02ed6d14688a889d4266f7b1af
[ "Apache-2.0", "MIT" ]
null
null
null
track/detail/UnitTrackingStorage.i.hh
celeritas-project/orange-port
9aa2d36984a24a02ed6d14688a889d4266f7b1af
[ "Apache-2.0", "MIT" ]
null
null
null
//---------------------------------*-C++-*-----------------------------------// /*! * \file track/detail/UnitTrackingStorage.i.hh * \brief UnitTrackingStorage inline method definitions * \note Copyright (c) 2020 Oak Ridge National Laboratory, UT-Battelle, LLC. */ //------------------------------------------------...
28.166667
79
0.464497
celeritas-project