hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
108
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
1
67k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
2dc0bd04a90e72289320c99f61c1bcc8e15e92a0
2,437
hh
C++
TrkBase/TrkPocaBase.hh
brownd1978/FastSim
05f590d72d8e7f71856fd833114a38b84fc7fd48
[ "Apache-2.0" ]
null
null
null
TrkBase/TrkPocaBase.hh
brownd1978/FastSim
05f590d72d8e7f71856fd833114a38b84fc7fd48
[ "Apache-2.0" ]
null
null
null
TrkBase/TrkPocaBase.hh
brownd1978/FastSim
05f590d72d8e7f71856fd833114a38b84fc7fd48
[ "Apache-2.0" ]
null
null
null
//-------------------------------------------------------------------------- // File and Version Information: // $Id: TrkPocaBase.hh,v 1.11 2006/03/25 15:15:56 brownd Exp $ // // Description: // Base class for various Poca classes; holds infrastructure, and one // common algorithm. Ctor and dtor protected, t...
29.719512
78
0.651621
brownd1978
2dc0e3dc4aa7f7f24b3b0264c14ab5ab99c17226
1,644
cpp
C++
Source/opennwa/construct/nwa_complement.cpp
jusito/WALi-OpenNWA
2bb4aca02c5a5d444fd038e8aa3eecd7d1ccbb99
[ "MIT" ]
15
2015-03-07T17:25:57.000Z
2022-02-04T20:17:00.000Z
src/wpds/Source/opennwa/construct/nwa_complement.cpp
ucd-plse/mpi-error-prop
4367df88bcdc4d82c9a65b181d0e639d04962503
[ "BSD-3-Clause" ]
1
2018-03-03T05:58:55.000Z
2018-03-03T12:26:10.000Z
src/wpds/Source/opennwa/construct/nwa_complement.cpp
ucd-plse/mpi-error-prop
4367df88bcdc4d82c9a65b181d0e639d04962503
[ "BSD-3-Clause" ]
15
2015-09-25T17:44:35.000Z
2021-07-18T18:25:38.000Z
#include "opennwa/Nwa.hpp" #include "opennwa/construct/complement.hpp" #include "opennwa/construct/determinize.hpp" namespace opennwa { namespace construct { NwaRefPtr complement( Nwa const & source ) { NwaRefPtr nwa( new Nwa()); complement(*nwa, source); return nwa; } /**...
25.292308
100
0.615572
jusito
2dc3f099fae04d5795f454d6b575dc9745d56adf
36
cpp
C++
edabit/Cpp/hello.cpp
nikku1234/Code-Practise
94eb6680ea36efd10856c377000219285f77e5a4
[ "Apache-2.0" ]
9
2020-07-02T06:06:17.000Z
2022-02-26T11:08:09.000Z
edabit/Cpp/hello.cpp
nikku1234/Code-Practise
94eb6680ea36efd10856c377000219285f77e5a4
[ "Apache-2.0" ]
1
2021-11-04T17:26:36.000Z
2021-11-04T17:26:36.000Z
edabit/Cpp/hello.cpp
nikku1234/Code-Practise
94eb6680ea36efd10856c377000219285f77e5a4
[ "Apache-2.0" ]
8
2021-01-31T10:31:12.000Z
2022-03-13T09:15:55.000Z
bool returnTrue() { return true; }
9
19
0.666667
nikku1234
2dc465643cc9382902e1629f2794fe969d7bcb0e
461
cpp
C++
Assignment/Assignment-1/2140_Herd_Sums.cpp
Hantao-Ye/CS97-SI
410dd79cc563d47f93d8d1c96e603e4de8dfcf70
[ "MIT" ]
null
null
null
Assignment/Assignment-1/2140_Herd_Sums.cpp
Hantao-Ye/CS97-SI
410dd79cc563d47f93d8d1c96e603e4de8dfcf70
[ "MIT" ]
null
null
null
Assignment/Assignment-1/2140_Herd_Sums.cpp
Hantao-Ye/CS97-SI
410dd79cc563d47f93d8d1c96e603e4de8dfcf70
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main() { int num = 0, output = 1; cin >> num; for (int i = 1; i <= (num / 2) + 1; i++) { int sum = 0; for (int j = i; j <= (num / 2) + 1; j++) { sum += j; if (sum == num) { output+...
17.074074
48
0.32538
Hantao-Ye
2dc49896be9f0606c4795f3c5288a2aebe6b3b88
38,017
hpp
C++
src/lib/common/plot.hpp
bitslow/fcpp
abdaed70ccedb1a377e24d3b7c78b2ec203e111f
[ "ECL-2.0", "Apache-2.0" ]
3
2020-05-03T15:53:22.000Z
2020-11-30T12:14:01.000Z
src/lib/common/plot.hpp
bitslow/fcpp
abdaed70ccedb1a377e24d3b7c78b2ec203e111f
[ "ECL-2.0", "Apache-2.0" ]
4
2021-05-17T16:46:22.000Z
2021-12-22T15:12:22.000Z
src/lib/common/plot.hpp
bitslow/fcpp
abdaed70ccedb1a377e24d3b7c78b2ec203e111f
[ "ECL-2.0", "Apache-2.0" ]
7
2020-05-08T11:47:57.000Z
2022-01-15T21:28:10.000Z
// Copyright © 2021 Giorgio Audrito. All Rights Reserved. /** * @file plot.hpp * @brief Plot building tools. */ #ifndef FCPP_COMMON_PLOT_H_ #define FCPP_COMMON_PLOT_H_ #include <cstdint> #include <ctime> #include <limits> #include <map> #include <ratio> #include <set> #include <sstream> #include <vector> #inclu...
35.13586
256
0.596759
bitslow
2dc4e4cb46a5dd1873cabba2295667b28bf3060d
833
cpp
C++
IGC/VectorCompiler/lib/Utils/GenX/Intrinsics.cpp
frantisekz/intel-graphics-compiler
77af69c509916dfaefb1d7fa4549492824ecf606
[ "Intel", "MIT" ]
3
2017-09-29T20:02:18.000Z
2017-11-01T17:33:57.000Z
IGC/VectorCompiler/lib/Utils/GenX/Intrinsics.cpp
intel/intelgraphicscompiler
f7a20c6e6bed56933cfbb910a01da77a1d6ae6e4
[ "Intel", "MIT" ]
null
null
null
IGC/VectorCompiler/lib/Utils/GenX/Intrinsics.cpp
intel/intelgraphicscompiler
f7a20c6e6bed56933cfbb910a01da77a1d6ae6e4
[ "Intel", "MIT" ]
null
null
null
/*========================== begin_copyright_notice ============================ Copyright (C) 2022 Intel Corporation SPDX-License-Identifier: MIT ============================= end_copyright_notice ===========================*/ #include "vc/Utils/GenX/Intrinsics.h" #include "vc/Utils/GenX/IntrinsicsWrapper.h" usin...
34.708333
80
0.530612
frantisekz
2dc6c98bf7f3f730f0d612f9c46454bd0ea6af8d
6,871
hh
C++
emu-ex-plus-alpha/imagine/src/gfx/Projector.hh
damoonvisuals/GBA4iOS
95bfce0aca270b68484535ecaf0d3b2366739c77
[ "MIT" ]
1
2018-11-14T23:40:35.000Z
2018-11-14T23:40:35.000Z
emu-ex-plus-alpha/imagine/src/gfx/Projector.hh
damoonvisuals/GBA4iOS
95bfce0aca270b68484535ecaf0d3b2366739c77
[ "MIT" ]
null
null
null
emu-ex-plus-alpha/imagine/src/gfx/Projector.hh
damoonvisuals/GBA4iOS
95bfce0aca270b68484535ecaf0d3b2366739c77
[ "MIT" ]
null
null
null
#pragma once #include "defs.hh" #include "viewport.hh" #include <util/Matrix4x4.hh> #include <util/rectangle2.h> namespace Gfx { struct Projector { Rect2<GC> rect; GC w = 0, h = 0, focal = 0, xToPixScale = 0, yToPixScale = 0, // screen -> projection space at focal z pixToXScale = 0, pixToYScale = 0, // projec...
23.940767
123
0.622471
damoonvisuals
2dc6d48ed411a33bed7e1d80ea61f53424157986
876
hpp
C++
pythran/pythonic/include/types/cfun.hpp
davidbrochart/pythran
24b6c8650fe99791a4091cbdc2c24686e86aa67c
[ "BSD-3-Clause" ]
1,647
2015-01-13T01:45:38.000Z
2022-03-28T01:23:41.000Z
pythran/pythonic/include/types/cfun.hpp
davidbrochart/pythran
24b6c8650fe99791a4091cbdc2c24686e86aa67c
[ "BSD-3-Clause" ]
1,116
2015-01-01T09:52:05.000Z
2022-03-18T21:06:40.000Z
pythran/pythonic/include/types/cfun.hpp
davidbrochart/pythran
24b6c8650fe99791a4091cbdc2c24686e86aa67c
[ "BSD-3-Clause" ]
180
2015-02-12T02:47:28.000Z
2022-03-14T10:28:18.000Z
#ifndef PYTHONIC_INCLUDE_TYPES_CFUN_HPP #define PYTHONIC_INCLUDE_TYPES_CFUN_HPP PYTHONIC_NS_BEGIN namespace types { template <class T> struct cfun; template <class ReturnType, class... ArgsType> struct cfun<ReturnType(ArgsType...)> { using callable = void; cfun(ReturnType (*fun)(ArgsType...)); ...
18.638298
61
0.708904
davidbrochart
2dc9d69e1e110f26c3e825995142eec7fcd7f432
4,232
cpp
C++
mechanics/src/core/NetVarManager.cpp
robindittmar/mechanics
ea62f750d3cd448cbd708dee972d5a5b9a1464a0
[ "MIT" ]
null
null
null
mechanics/src/core/NetVarManager.cpp
robindittmar/mechanics
ea62f750d3cd448cbd708dee972d5a5b9a1464a0
[ "MIT" ]
null
null
null
mechanics/src/core/NetVarManager.cpp
robindittmar/mechanics
ea62f750d3cd448cbd708dee972d5a5b9a1464a0
[ "MIT" ]
null
null
null
#include "NetVarManager.h" CNetVarManager::CNetVarManager() { m_bSummarizeOffsets = false; } CNetVarManager::~CNetVarManager() { CNetVar* pCurrent; for (std::map<uint32_t, CNetVar*>::iterator it = m_mapNetVars.begin(); it != m_mapNetVars.end(); it++) { pCurrent = it->second; if (pCurrent) delete pCurrent;...
20.543689
103
0.681947
robindittmar
2dcbcce595687f861aba1ee80bb0510da3f94348
866
cpp
C++
src/io/KegType.cpp
caseymcc/Vorb
a2782bbff662c226002fa69bae688a44770deaf4
[ "MIT" ]
1
2018-10-17T06:37:17.000Z
2018-10-17T06:37:17.000Z
src/io/KegType.cpp
caseymcc/Vorb
a2782bbff662c226002fa69bae688a44770deaf4
[ "MIT" ]
null
null
null
src/io/KegType.cpp
caseymcc/Vorb
a2782bbff662c226002fa69bae688a44770deaf4
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "io/KegType.h" #include "io/Keg.h" keg::Type::Type() : m_sizeInBytes(0), m_values() { // Empty } keg::Type::Type(const nString& name, Environment* env) { if (env) env->addType(name, this); keg::getGlobalEnvironment()->addType(name, this); } void keg::Type::addValue(co...
22.789474
67
0.642032
caseymcc
2dcdb536cc76486ed6b6a0e50b7edd0134ce6491
2,512
hpp
C++
engine/include/game_object.hpp
antonkanin/potatoengine
9c8cfe03381ddc2b266c2320bb9c87fabf9d11dd
[ "MIT" ]
null
null
null
engine/include/game_object.hpp
antonkanin/potatoengine
9c8cfe03381ddc2b266c2320bb9c87fabf9d11dd
[ "MIT" ]
null
null
null
engine/include/game_object.hpp
antonkanin/potatoengine
9c8cfe03381ddc2b266c2320bb9c87fabf9d11dd
[ "MIT" ]
1
2020-01-29T10:18:23.000Z
2020-01-29T10:18:23.000Z
#pragma once #include "mesh.hpp" #include "model.hpp" #include "ptm/vec3.hpp" #include "transformation.hpp" #include <BulletDynamics/Dynamics/btRigidBody.h> #include <engine.hpp> #include <memory> namespace pt { class component; class game_object { public: explicit game_object(std::string name); virtual ~g...
24.627451
78
0.636943
antonkanin
2dcdd25b4e25abf12c26b7141086a50240ac99fc
2,096
cpp
C++
Source Files/Application/Scripts/Managers/FadeManager.cpp
ZackaryCowled/C-Game-Engine
ea26370036f348058000f007fe3c9a8a792e8db4
[ "MIT" ]
null
null
null
Source Files/Application/Scripts/Managers/FadeManager.cpp
ZackaryCowled/C-Game-Engine
ea26370036f348058000f007fe3c9a8a792e8db4
[ "MIT" ]
null
null
null
Source Files/Application/Scripts/Managers/FadeManager.cpp
ZackaryCowled/C-Game-Engine
ea26370036f348058000f007fe3c9a8a792e8db4
[ "MIT" ]
null
null
null
//Internal includes #include "ApplicationHeaders.h" //Fades in all registered GUI objects //Function returns true when all registered GUI objects are fully faded in const bool FadeManager::FadeInGUIObjects(const float fadeSpeed) { //Flag representing whether all registered GUI objects are fully faded in bool fadeSta...
29.521127
100
0.761927
ZackaryCowled
2dd337a073373ec7ffd812049adc1d75e543a980
2,426
cpp
C++
src/Mahi/Com/MelShare.cpp
chip5441/mahi-com
fc7efcc5d7e9ff995303bbc162e694f25f47d6dd
[ "MIT" ]
1
2021-09-22T08:37:01.000Z
2021-09-22T08:37:01.000Z
src/Mahi/Com/MelShare.cpp
chip5441/mahi-com
fc7efcc5d7e9ff995303bbc162e694f25f47d6dd
[ "MIT" ]
1
2020-11-16T04:05:47.000Z
2020-11-16T04:05:47.000Z
src/Mahi/Com/MelShare.cpp
chip5441/mahi-com
fc7efcc5d7e9ff995303bbc162e694f25f47d6dd
[ "MIT" ]
2
2020-12-21T09:28:26.000Z
2021-09-17T03:08:19.000Z
#include <Mahi/Com/MelShare.hpp> #include <Mahi/Util/Types.hpp> #include <Mahi/Com/Packet.hpp> // #include <Mahi/Util.hpp> // #include <Mahi/Com.hpp> using namespace mahi::util; namespace mahi { namespace com { //============================================================================== // CLASS DEFINITIONS //==...
26.086022
83
0.589448
chip5441
2dd35e9c6291a88fe722124cd581c24456425036
1,642
cpp
C++
Atomic/AtObjId.cpp
denisbider/Atomic
8e8e979a6ef24d217a77f17fa81a4129f3506952
[ "MIT" ]
4
2019-11-10T21:56:40.000Z
2021-12-11T20:10:55.000Z
Atomic/AtObjId.cpp
denisbider/Atomic
8e8e979a6ef24d217a77f17fa81a4129f3506952
[ "MIT" ]
null
null
null
Atomic/AtObjId.cpp
denisbider/Atomic
8e8e979a6ef24d217a77f17fa81a4129f3506952
[ "MIT" ]
1
2019-11-11T08:38:59.000Z
2019-11-11T08:38:59.000Z
#include "AtIncludes.h" #include "AtObjId.h" namespace At { ObjId ObjId::None(0, 0); ObjId ObjId::Root(1, 0); byte* ObjId::EncodeBin_Ptr(byte* p) const { memcpy(p, &m_index, 8); p += 8; memcpy(p, &m_uniqueId, 8); p += 8; return p; } void ObjId::EncodeBin(Enc& enc) const { E...
16.42
94
0.517052
denisbider
2dd5f6e49c97439ac4a1deed6039f2b8b9ae39ad
675
hpp
C++
src/vulkan_helper/single_time_command.hpp
LesleyLai/Vulkan-Renderer
fd03a69fbc21bfaf3177e43811d21dba634a1949
[ "Apache-2.0" ]
4
2019-04-17T17:44:23.000Z
2020-09-14T04:24:37.000Z
src/vulkan_helper/single_time_command.hpp
LesleyLai/Vulkan-Renderer
fd03a69fbc21bfaf3177e43811d21dba634a1949
[ "Apache-2.0" ]
3
2020-06-10T00:43:44.000Z
2020-06-10T00:59:47.000Z
src/vulkan_helper/single_time_command.hpp
LesleyLai/Vulkan-Renderer
fd03a69fbc21bfaf3177e43811d21dba634a1949
[ "Apache-2.0" ]
null
null
null
#ifndef VULKAN_HELPER_SINGLE_TIME_COMMAND_HPP #define VULKAN_HELPER_SINGLE_TIME_COMMAND_HPP #include <beyond/utils/function_ref.hpp> #include "vulkan/vulkan_core.h" namespace vkh { /** * @brief Executes one-shot GPU command * @param device The Vulkan Device to execute the command on * @param command_pool The com...
28.125
63
0.783704
LesleyLai
2ddddc59443b5f0d3f200d2921df49848f187208
6,693
cpp
C++
src/xrGame/DynamicHeightMap.cpp
clayne/xray-16
32ebf81a252c7179e2824b2874f911a91e822ad1
[ "OML", "Linux-OpenIB" ]
2
2015-02-23T10:43:02.000Z
2015-06-11T14:45:08.000Z
src/xrGame/DynamicHeightMap.cpp
clayne/xray-16
32ebf81a252c7179e2824b2874f911a91e822ad1
[ "OML", "Linux-OpenIB" ]
17
2022-01-25T08:58:23.000Z
2022-03-28T17:18:28.000Z
src/xrGame/DynamicHeightMap.cpp
clayne/xray-16
32ebf81a252c7179e2824b2874f911a91e822ad1
[ "OML", "Linux-OpenIB" ]
1
2015-06-05T20:04:00.000Z
2015-06-05T20:04:00.000Z
// DynamicHeightMap.cpp: implementation of the CDynamicHeightMap class. // ////////////////////////////////////////////////////////////////////// #include "StdAfx.h" #include "DynamicHeightMap.h" #include "xrCDB/Intersect.hpp" const int tasksPerFrame = 1; const float limit_up = 100.f; const float limit_down = 20.f; ...
29.355263
108
0.412819
clayne
2dde8d70e8073f5f6f676d86915b244e62d384b3
13,999
cc
C++
example_cpp_smart_card_client_app/src/pp_module.cc
FabianHenneke/poc-smart-sign
14d598a60e007293633df129771e4ca44b798846
[ "Apache-2.0" ]
2
2021-03-29T20:39:42.000Z
2021-10-17T16:48:16.000Z
example_cpp_smart_card_client_app/src/pp_module.cc
ermuur/chromeos_smart_card_connector
3e1f6744f8e731a824320a5bca7066677de9c249
[ "Apache-2.0" ]
null
null
null
example_cpp_smart_card_client_app/src/pp_module.cc
ermuur/chromeos_smart_card_connector
3e1f6744f8e731a824320a5bca7066677de9c249
[ "Apache-2.0" ]
null
null
null
// Copyright 2016 Google Inc. 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 by applicable...
42.550152
121
0.739339
FabianHenneke
2ddec34b6d5e53a1b5d8610eecf21202dda772e0
224
cpp
C++
test_utreexo.cpp
kcalvinalvin/libutreexo
097504080e504b65946a7a98e918dbc1c843fd35
[ "MIT" ]
null
null
null
test_utreexo.cpp
kcalvinalvin/libutreexo
097504080e504b65946a7a98e918dbc1c843fd35
[ "MIT" ]
null
null
null
test_utreexo.cpp
kcalvinalvin/libutreexo
097504080e504b65946a7a98e918dbc1c843fd35
[ "MIT" ]
null
null
null
#include <crypto/sha256.h> #include <stdio.h> int main(int argc, char* argv[]) { (void)argc; (void)argv; std::string sha2_impl = SHA256AutoDetect(); printf("sha2 implementation: %s\n", sha2_impl.c_str()); }
20.363636
59
0.647321
kcalvinalvin
2de12807719cb1fc8175ec6342141f619f4a5179
15,121
cpp
C++
Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/accessibilityservice/AccessibilityService.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
7
2017-07-13T10:34:54.000Z
2021-04-16T05:40:35.000Z
Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/accessibilityservice/AccessibilityService.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
null
null
null
Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/accessibilityservice/AccessibilityService.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
9
2017-07-13T12:33:20.000Z
2021-06-19T02:46:48.000Z
//========================================================================= // Copyright (C) 2012 The Elastos Open Source Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // ...
33.527716
113
0.658753
jingcao80
2de1e63d7c6598ad8eabf00967b3dad0bce691bb
3,985
hpp
C++
src/storage/tree/Accounts.hpp
nopdotcom/opentxs
140428ba8f1bd4c09654ebf0a1c1725f396efa8b
[ "MIT" ]
null
null
null
src/storage/tree/Accounts.hpp
nopdotcom/opentxs
140428ba8f1bd4c09654ebf0a1c1725f396efa8b
[ "MIT" ]
null
null
null
src/storage/tree/Accounts.hpp
nopdotcom/opentxs
140428ba8f1bd4c09654ebf0a1c1725f396efa8b
[ "MIT" ]
null
null
null
// Copyright (c) 2018 The Open-Transactions developers // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. #pragma once #include "Internal.hpp" #include "opentxs/core/...
32.137097
79
0.667503
nopdotcom
2de7b3ef8326c522e40ae0b536ed385a76b4f9c9
810
cc
C++
solutions/tests/cache/CacheTest.cc
PysKa-Ratzinger/personal_project_euler_solutions
ff05c38f3c9cbcd4d6f09f81034bc299c7144476
[ "MIT" ]
1
2019-04-19T01:05:07.000Z
2019-04-19T01:05:07.000Z
solutions/tests/cache/CacheTest.cc
PysKa-Ratzinger/personal_project_euler_solutions
ff05c38f3c9cbcd4d6f09f81034bc299c7144476
[ "MIT" ]
null
null
null
solutions/tests/cache/CacheTest.cc
PysKa-Ratzinger/personal_project_euler_solutions
ff05c38f3c9cbcd4d6f09f81034bc299c7144476
[ "MIT" ]
null
null
null
#include "CacheTest.hpp" #include <unistd.h> Test* CacheTest::suite() { TestSuite* res = new TestSuite("UtilsTest"); res->addTest(new TestCaller<CacheTest>( "sample_test", &CacheTest::simpleTest)); return res; } void CacheTest::simpleTest() { LRUCache l(4, -1); std::vector<std::list<std::pair<int, int>...
11.571429
63
0.425926
PysKa-Ratzinger
2dea9af562d4923a538b4c47a971342b551f7837
885
hpp
C++
inference-engine/src/legacy_api/src/network_serializer_v7.hpp
Mobious96/openvino
cbdd50556bc350db36da53da2a2db9a2f54e201e
[ "Apache-2.0" ]
null
null
null
inference-engine/src/legacy_api/src/network_serializer_v7.hpp
Mobious96/openvino
cbdd50556bc350db36da53da2a2db9a2f54e201e
[ "Apache-2.0" ]
null
null
null
inference-engine/src/legacy_api/src/network_serializer_v7.hpp
Mobious96/openvino
cbdd50556bc350db36da53da2a2db9a2f54e201e
[ "Apache-2.0" ]
null
null
null
// Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #pragma once #include <ie_icnn_network.hpp> #include <legacy/ie_layers.h> #include <string> #include <vector> namespace InferenceEngine { namespace Serialization { /** * @brief Serialize execution network into IE IR-like XML...
27.65625
114
0.740113
Mobious96
2dedb6de915b725be3467a3766c58fba9de74ae4
569
cpp
C++
ProducerComsumer/buffer.cpp
Awybupt/OperatingSystem
9afddba501c779bad5ed653973ed410dd0389fe1
[ "MIT" ]
null
null
null
ProducerComsumer/buffer.cpp
Awybupt/OperatingSystem
9afddba501c779bad5ed653973ed410dd0389fe1
[ "MIT" ]
null
null
null
ProducerComsumer/buffer.cpp
Awybupt/OperatingSystem
9afddba501c779bad5ed653973ed410dd0389fe1
[ "MIT" ]
1
2019-01-13T14:32:02.000Z
2019-01-13T14:32:02.000Z
// // buffer.cpp // Producer&&Comsumer // // Created by 魏晓 on 10/29/17. // Copyright © 2017 魏晓. All rights reserved. // #include <stdio.h> #include "buffer.hpp" int insert_item(bufferQueue *queue,buffer_item x) { if((queue->tail+1)%BUFFER_SIZE==queue->tail) return -1; queue->data[queue->tail]=x; queue...
20.321429
59
0.646749
Awybupt
2dedbc6a592c217342c7df4a4e7a85d38d9564ee
5,087
cc
C++
ui/views/examples/flex_layout_example.cc
mghgroup/Glide-Browser
6a4c1eaa6632ec55014fee87781c6bbbb92a2af5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
ui/views/examples/flex_layout_example.cc
mghgroup/Glide-Browser
6a4c1eaa6632ec55014fee87781c6bbbb92a2af5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
ui/views/examples/flex_layout_example.cc
mghgroup/Glide-Browser
6a4c1eaa6632ec55014fee87781c6bbbb92a2af5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2021-01-05T23:43:46.000Z
2021-01-07T23:36:34.000Z
// Copyright 2018 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/views/examples/flex_layout_example.h" #include <memory> #include "base/strings/string16.h" #include "base/strings/string_number_conversions...
40.373016
80
0.712797
mghgroup
2dee881bc9c468e5c55a5dfcc49d00c728b46c34
1,388
cpp
C++
Codeforces/258C.cpp
Alipashaimani/Competitive-programming
5d55567b71ea61e69a6450cda7323c41956d3cb9
[ "MIT" ]
null
null
null
Codeforces/258C.cpp
Alipashaimani/Competitive-programming
5d55567b71ea61e69a6450cda7323c41956d3cb9
[ "MIT" ]
null
null
null
Codeforces/258C.cpp
Alipashaimani/Competitive-programming
5d55567b71ea61e69a6450cda7323c41956d3cb9
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; const int MAXN = 1e5 + 100 , MOD = 1e9 + 7 ; int dp[MAXN] , n , mx; long long ans , temp; vector <int> divv; long long power(long long x , long long y){ if (y == 0) return 1; long long t = power (x, y / 2); t = (t * t) % MOD; if (y % 2 == 1) ...
22.754098
100
0.423631
Alipashaimani
2df158dfc7812335c241a4b8113f9fa09fad53d9
4,129
hpp
C++
extlib/include/xyginext/audio/AudioScape.hpp
fallahn/speljongen
57cb5e09eec7db8c21ee7b3e7943fa0a76738c51
[ "Unlicense" ]
17
2018-06-23T14:40:56.000Z
2019-07-02T11:58:55.000Z
extlib/include/xyginext/audio/AudioScape.hpp
fallahn/speljongen
57cb5e09eec7db8c21ee7b3e7943fa0a76738c51
[ "Unlicense" ]
3
2018-06-23T12:35:12.000Z
2018-06-23T12:38:54.000Z
extlib/include/xyginext/audio/AudioScape.hpp
fallahn/speljongen
57cb5e09eec7db8c21ee7b3e7943fa0a76738c51
[ "Unlicense" ]
null
null
null
/********************************************************************* (c) Matt Marchant 2017 - 2019 http://trederia.blogspot.com xygineXT - Zlib license. This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of thi...
33.298387
90
0.644224
fallahn
2df39609f6624936adbb8612f353638b10a972cd
678
cpp
C++
examples/xtd.forms.examples/applications/application_restart/src/application_restart.cpp
ExternalRepositories/xtd
5889d69900ad22a00fcb640d7850a1d599cf593a
[ "MIT" ]
251
2019-04-20T02:02:24.000Z
2022-03-31T09:52:08.000Z
examples/xtd.forms.examples/applications/application_restart/src/application_restart.cpp
ExternalRepositories/xtd
5889d69900ad22a00fcb640d7850a1d599cf593a
[ "MIT" ]
29
2021-01-07T12:52:12.000Z
2022-03-29T08:42:14.000Z
examples/xtd.forms.examples/applications/application_restart/src/application_restart.cpp
ExternalRepositories/xtd
5889d69900ad22a00fcb640d7850a1d599cf593a
[ "MIT" ]
27
2019-11-21T02:37:44.000Z
2022-03-30T22:59:14.000Z
#include <xtd/xtd> using namespace std; using namespace xtd; using namespace xtd::forms; int main() { auto restart_count = 0; if (!environment::get_environment_variable("applicatioon_restart_count").empty()) restart_count = parse<int>(environment::get_environment_variable("applicatioon_restart_count")); au...
33.9
100
0.756637
ExternalRepositories
2df3c89c672af712777848ad167426fca2117a99
1,167
hpp
C++
Siv3D/src/Siv3D/Renderer2D/CurrentBatchStateChanges.hpp
emadurandal/OpenSiv3D
2c7a77526be7bb8669a223066210337d74bdc9c6
[ "MIT" ]
709
2016-03-19T07:55:58.000Z
2022-03-31T08:02:22.000Z
Siv3D/src/Siv3D/Renderer2D/CurrentBatchStateChanges.hpp
emadurandal/OpenSiv3D
2c7a77526be7bb8669a223066210337d74bdc9c6
[ "MIT" ]
415
2017-05-21T05:05:02.000Z
2022-03-29T16:08:27.000Z
Siv3D/src/Siv3D/Renderer2D/CurrentBatchStateChanges.hpp
emadurandal/OpenSiv3D
2c7a77526be7bb8669a223066210337d74bdc9c6
[ "MIT" ]
123
2016-03-19T12:47:08.000Z
2022-03-25T03:47:51.000Z
//----------------------------------------------- // // This file is part of the Siv3D Engine. // // Copyright (c) 2008-2021 Ryo Suzuki // Copyright (c) 2016-2021 OpenSiv3D Project // // Licensed under the MIT License. // //----------------------------------------------- # pragma once # include <Siv3D/Common.hpp> # i...
17.953846
91
0.59383
emadurandal
2df7102107f72e7e5c0f5d5a7caedad4300879e1
4,103
hpp
C++
linear_algebra.inl.hpp
matheuscscp/linear_algebra
2a8d5dee1ab1b6d62ba1e1987e2251b87febe74e
[ "MIT" ]
null
null
null
linear_algebra.inl.hpp
matheuscscp/linear_algebra
2a8d5dee1ab1b6d62ba1e1987e2251b87febe74e
[ "MIT" ]
null
null
null
linear_algebra.inl.hpp
matheuscscp/linear_algebra
2a8d5dee1ab1b6d62ba1e1987e2251b87febe74e
[ "MIT" ]
null
null
null
/* * linear_algebra.inl.hpp * * Created on: Feb 21, 2015 * Author: Pimenta */ #ifndef LINEAR_ALGEBRA_INL_HPP_ #define LINEAR_ALGEBRA_INL_HPP_ #include <cmath> namespace linear_algebra { template <typename T> struct Vector3 { T x, y, z; Vector3(T x = 0, T y = 0, T z = 0) : x(x), y(y), z(z) { ...
23.58046
79
0.571289
matheuscscp
2df739bf9bb4abb66a79b7b4cd8b4f70dfbf4e5a
114
hh
C++
P09_Analysis/source/include/Analysis.hh
koichi-murakami/g4tutorial2020
0162a94dc1407a39dd0651ac530d10913037c6f0
[ "BSD-2-Clause" ]
2
2020-11-05T06:31:43.000Z
2021-07-09T05:32:19.000Z
P09_Analysis/source/include/Analysis.hh
koichi-murakami/g4tutorial2020
0162a94dc1407a39dd0651ac530d10913037c6f0
[ "BSD-2-Clause" ]
null
null
null
P09_Analysis/source/include/Analysis.hh
koichi-murakami/g4tutorial2020
0162a94dc1407a39dd0651ac530d10913037c6f0
[ "BSD-2-Clause" ]
null
null
null
#ifndef Analysis_h #define Analysis_h 1 //#include "g4root.hh" #include "g4csv.hh" //#include "g4xml.hh" #endif
12.666667
22
0.710526
koichi-murakami
2df8e2bd2ca2f77a3b26a8885c3b5578f87b74cc
5,233
cxx
C++
Modules/IO/IOGDAL/test/otbGDALRPCTransformerTest2.cxx
liuxuvip/OTB
73ed482d62c2924aea158aac14d725dc9447083b
[ "Apache-2.0" ]
317
2015-01-19T08:40:58.000Z
2022-03-17T11:55:48.000Z
Modules/IO/IOGDAL/test/otbGDALRPCTransformerTest2.cxx
guandd/OTB
707ce4c6bb4c7186e3b102b2b00493a5050872cb
[ "Apache-2.0" ]
18
2015-07-29T14:13:45.000Z
2021-03-29T12:36:24.000Z
Modules/IO/IOGDAL/test/otbGDALRPCTransformerTest2.cxx
guandd/OTB
707ce4c6bb4c7186e3b102b2b00493a5050872cb
[ "Apache-2.0" ]
132
2015-02-21T23:57:25.000Z
2022-03-25T16:03:16.000Z
/* * Copyright (C) 2005-2020 Centre National d'Etudes Spatiales (CNES) * * This file is part of Orfeo Toolbox * * https://www.orfeo-toolbox.org/ * * 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 ...
37.378571
144
0.688324
liuxuvip
2dfd222fd08540f4e2673955c76bf3284e2db9b3
636
cpp
C++
Data Structure and Algorithms/Dynamic Programming/dp_fib.cpp
Sid200026/Misc-Programs
d50a1689a89d331d2567486a5dd22fb2311a0d87
[ "MIT" ]
3
2021-05-13T13:36:39.000Z
2021-09-01T05:33:48.000Z
Data Structure and Algorithms/Dynamic Programming/dp_fib.cpp
rosy2000/Misc-Programs
d50a1689a89d331d2567486a5dd22fb2311a0d87
[ "MIT" ]
4
2021-10-06T08:46:33.000Z
2022-02-26T21:19:42.000Z
Data Structure and Algorithms/Dynamic Programming/dp_fib.cpp
rosy2000/Misc-Programs
d50a1689a89d331d2567486a5dd22fb2311a0d87
[ "MIT" ]
2
2021-09-01T05:33:51.000Z
2021-09-06T14:39:15.000Z
#include<iostream> using namespace std; // int main() // { // int n; // cin>>n; // int dp[n]; // dp[0] = 0; // dp[1] = 1; // for(int i = 2; i<n; i++) // { // dp[i] = dp[i-1] + dp[i-2]; // } // cout<<dp[n-1]; // } int dp[100]; int fib(int n) { if(n==0) return 0; ...
14.790698
37
0.341195
Sid200026
93046434ae89d0310e0d9f6a5e72487c0425faf4
775
cpp
C++
packages/utility/system/src/Utility_CylindricalSpatialCoordinateConversionPolicy.cpp
bam241/FRENSIE
e1760cd792928699c84f2bdce70ff54228e88094
[ "BSD-3-Clause" ]
10
2019-11-14T19:58:30.000Z
2021-04-04T17:44:09.000Z
packages/utility/system/src/Utility_CylindricalSpatialCoordinateConversionPolicy.cpp
bam241/FRENSIE
e1760cd792928699c84f2bdce70ff54228e88094
[ "BSD-3-Clause" ]
43
2020-03-03T19:59:20.000Z
2021-09-08T03:36:08.000Z
packages/utility/system/src/Utility_CylindricalSpatialCoordinateConversionPolicy.cpp
bam241/FRENSIE
e1760cd792928699c84f2bdce70ff54228e88094
[ "BSD-3-Clause" ]
6
2020-02-12T17:37:07.000Z
2020-09-08T18:59:51.000Z
//---------------------------------------------------------------------------// //! //! \file Utility_CylindricalSpatialCoordinateConversionPolicy.cpp //! \author Alex Robinson //! \brief Cylindrical coordinate conversion policy template instantiations //! //----------------------------------------------------------...
43.055556
87
0.492903
bam241
9304e43be421663bdce11be46852fde98a892444
1,091
cpp
C++
perftest/testlocator.cpp
mashavorob/lfds
3890472a8a9996ce35d9a28f185df4c2f219a2bd
[ "0BSD" ]
null
null
null
perftest/testlocator.cpp
mashavorob/lfds
3890472a8a9996ce35d9a28f185df4c2f219a2bd
[ "0BSD" ]
null
null
null
perftest/testlocator.cpp
mashavorob/lfds
3890472a8a9996ce35d9a28f185df4c2f219a2bd
[ "0BSD" ]
null
null
null
/* * testlocator.cpp * * Created on: Mar 23, 2015 * Author: masha */ #include "testlocator.hpp" #include "performancetest.hpp" #include "testfactory.hpp" #include <xtomic/aux/cppbasics.hpp> #include <stdexcept> namespace xtomic { namespace perftest { PerfTestInfo* PerfTestLocator::m_link = nullptr; Per...
16.044118
77
0.64528
mashavorob
930763a3ca783d7a8ce194e6a11554f0f9f549f4
1,860
cc
C++
piksi_multi_cpp/src/receiver/receiver_ros.cc
fm-uulm/ethz_piksi_ros
a228dc3bfb29266897c2bb38bdfb098ac475ffa0
[ "BSD-3-Clause" ]
65
2018-01-03T21:58:56.000Z
2022-03-09T22:02:33.000Z
piksi_multi_cpp/src/receiver/receiver_ros.cc
fm-uulm/ethz_piksi_ros
a228dc3bfb29266897c2bb38bdfb098ac475ffa0
[ "BSD-3-Clause" ]
138
2017-11-30T15:46:26.000Z
2022-02-22T06:57:53.000Z
piksi_multi_cpp/src/receiver/receiver_ros.cc
fm-uulm/ethz_piksi_ros
a228dc3bfb29266897c2bb38bdfb098ac475ffa0
[ "BSD-3-Clause" ]
86
2017-12-06T19:32:55.000Z
2022-03-29T17:57:26.000Z
#include "piksi_multi_cpp/receiver/receiver_ros.h" #include <piksi_multi_cpp/sbp_callback_handler/sbp_callback_handler_factory.h> // SBP message definitions. #include <piksi_multi_cpp/observations/file_observation_logger.h> #include <boost/algorithm/string.hpp> #include <boost/algorithm/string/split.hpp> #include "pi...
37.959184
78
0.763978
fm-uulm
93076ebed2da5f10879ce444c000c80e472b2f75
4,918
cpp
C++
service/src/sys/autorun2.cpp
BOBBYWY/exodusdb
cfe8a3452480af90071dd10cefeed58299eed4e7
[ "MIT" ]
null
null
null
service/src/sys/autorun2.cpp
BOBBYWY/exodusdb
cfe8a3452480af90071dd10cefeed58299eed4e7
[ "MIT" ]
null
null
null
service/src/sys/autorun2.cpp
BOBBYWY/exodusdb
cfe8a3452480af90071dd10cefeed58299eed4e7
[ "MIT" ]
null
null
null
#include <exodus/library.h> libraryinit() #include <getsubs.h> #include <sys_common.h> var mode; var datax; var runasusercode; var targetusercodes; var title; var usern;//num function main(in mode0, in title0, in module, in request, in data0, in runasusercode0, in targetusercodes0, io document0, io docid, out msg) ...
22.874419
142
0.642741
BOBBYWY
930b523b2c973ced897591911c935e661ad4b128
1,155
cpp
C++
console/tetris/DrawBlock.cpp
piotrek-szczygiel/rpi-tetris
1120b0ac024ef36f48a4fe67087e3e2c78cf83f8
[ "MIT" ]
4
2019-10-17T20:26:09.000Z
2019-11-14T12:01:57.000Z
console/tetris/DrawBlock.cpp
piotrek-szczygiel/rpi-tetris
1120b0ac024ef36f48a4fe67087e3e2c78cf83f8
[ "MIT" ]
null
null
null
console/tetris/DrawBlock.cpp
piotrek-szczygiel/rpi-tetris
1120b0ac024ef36f48a4fe67087e3e2c78cf83f8
[ "MIT" ]
null
null
null
#include "DrawBlock.hpp" #include "Context.hpp" #include <cassert> #include <raylib.h> namespace Tetris { void DrawBlock(ShapeType type, int game_level, int x, int y, unsigned char alpha, bool small) { // Quick hack to clip drawing blocks above matrix if (y < 48) { return; } int tile_size_int...
22.647059
93
0.612987
piotrek-szczygiel
930ddd26645c88c32a69a90ef7a13aaba10c5e12
951
cpp
C++
src/client/main.cpp
korolr/DeskX
a0841828f0b37848887531c993c1355bac3a78d3
[ "Apache-2.0" ]
null
null
null
src/client/main.cpp
korolr/DeskX
a0841828f0b37848887531c993c1355bac3a78d3
[ "Apache-2.0" ]
null
null
null
src/client/main.cpp
korolr/DeskX
a0841828f0b37848887531c993c1355bac3a78d3
[ "Apache-2.0" ]
null
null
null
#include "../../include/Client.h" int processIsTranslated() { int ret = 0; size_t size = sizeof(ret); if (sysctlbyname("sysctl.proc_translated", &ret, &size, NULL, 0) == -1) { if (errno == ENOENT) return 0; return -1; } return ret; } int main(int argc, char *argv[]) { Global:...
17.611111
75
0.59306
korolr
930dfb0d9be75eaed422e27eff72f9cc840075e0
1,479
cc
C++
src/base/resolution.cc
miguelpinho/gem5-thesis
3a604b7a742dbfd40a1157749c461e8a71911c45
[ "BSD-3-Clause" ]
2
2021-02-20T21:41:39.000Z
2021-11-09T14:52:01.000Z
src/base/resolution.cc
miguelpinho/gem5-thesis
3a604b7a742dbfd40a1157749c461e8a71911c45
[ "BSD-3-Clause" ]
null
null
null
src/base/resolution.cc
miguelpinho/gem5-thesis
3a604b7a742dbfd40a1157749c461e8a71911c45
[ "BSD-3-Clause" ]
null
null
null
/// MPINHO 2-mar-2019 BEGIN /// #include "base/resolution.hh" #include "arch/utility.hh" int unsignedIntResolution(uint64_t val) { if (val == 0) return 0; int prc = 1; // in findMsbSet they don't have this if (val >> 32) { val += 32; val = val >> 32; } if (val >> 16) { prc += 16; val = val >> 16; } ...
23.109375
60
0.521298
miguelpinho
93101178a438876b9b6f3c3b691a0c2e3c26e612
3,101
cpp
C++
Aurora/Aurora/timer.cpp
manaskamal/aurora-xeneva
fe277f7ac155a40465c70f1db3c27046e4d0f7b5
[ "BSD-2-Clause" ]
8
2021-07-19T04:46:35.000Z
2022-03-12T17:56:00.000Z
Aurora/Aurora/timer.cpp
manaskamal/aurora-xeneva
fe277f7ac155a40465c70f1db3c27046e4d0f7b5
[ "BSD-2-Clause" ]
null
null
null
Aurora/Aurora/timer.cpp
manaskamal/aurora-xeneva
fe277f7ac155a40465c70f1db3c27046e4d0f7b5
[ "BSD-2-Clause" ]
null
null
null
/** * Copyright (C) Manas Kamal Choudhury 2021 * * timer.h -- The Global Timer used by usermode objects * * /PROJECT - Aurora's Xeneva v1.0 * /AUTHOR - Manas Kamal Choudhury * */ #include <timer.h> #include <_null.h> #include <pmmngr.h> #include <stdio.h> #include <arch\x86_64\cpu.h> #include <ipc\postbo...
19.26087
57
0.62238
manaskamal
9311892ac3c1fd2b8a3db6e74e57269792d352f0
4,279
cpp
C++
src/navmesh_parameters.cpp
TheFamousRat/GodotFlowField
0da627f73aff1149bd7838cab03b380fb7f34b86
[ "MIT" ]
3
2021-02-25T18:39:07.000Z
2022-01-28T16:11:08.000Z
src/navmesh_parameters.cpp
TheFamousRat/GodotFlowField
0da627f73aff1149bd7838cab03b380fb7f34b86
[ "MIT" ]
1
2021-04-05T15:42:18.000Z
2021-04-05T15:42:18.000Z
src/navmesh_parameters.cpp
TheFamousRat/GodotFlowField
0da627f73aff1149bd7838cab03b380fb7f34b86
[ "MIT" ]
null
null
null
#include "navmesh_parameters.h" static const int DEFAULT_TILE_SIZE = 64; static const float DEFAULT_CELL_SIZE = 0.3f; static const float DEFAULT_CELL_HEIGHT = 0.2f; static const float DEFAULT_AGENT_HEIGHT = 2.0f; static const float DEFAULT_AGENT_RADIUS = 0.6f; static const float DEFAULT_AGENT_MAX_CLIMB = 0.9f; static ...
52.82716
204
0.838046
TheFamousRat
93124e5242aaec99a07bd9cad0ba8d70d8e84fe9
4,808
cc
C++
tagging_tools/entity_binding.cc
nickroess/hope-policy-engine
3c8686b41dd933985c1eead593754c14d9a8728d
[ "MIT" ]
1
2021-05-02T07:09:40.000Z
2021-05-02T07:09:40.000Z
tagging_tools/entity_binding.cc
nickroess/hope-policy-engine
3c8686b41dd933985c1eead593754c14d9a8728d
[ "MIT" ]
13
2019-07-01T14:49:16.000Z
2020-08-04T15:24:05.000Z
tagging_tools/entity_binding.cc
nickroess/hope-policy-engine
3c8686b41dd933985c1eead593754c14d9a8728d
[ "MIT" ]
3
2019-06-18T17:09:12.000Z
2021-05-02T07:09:42.000Z
/* * Copyright © 2017-2018 Dover Microsystems, Inc. * All rights reserved. * * Use and disclosure subject to the following license. * * 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...
41.448276
106
0.691348
nickroess
931864a852a0a1633c69d6bcf21831da5265257a
1,308
cpp
C++
cmake-build-debug/test/unit/mechanisms/test0_kin_conserve_gpu.cpp
anstaf/arbsimd
c4ba87b02b26a47ef33d0a3eba78a4f330c88073
[ "BSD-3-Clause" ]
null
null
null
cmake-build-debug/test/unit/mechanisms/test0_kin_conserve_gpu.cpp
anstaf/arbsimd
c4ba87b02b26a47ef33d0a3eba78a4f330c88073
[ "BSD-3-Clause" ]
null
null
null
cmake-build-debug/test/unit/mechanisms/test0_kin_conserve_gpu.cpp
anstaf/arbsimd
c4ba87b02b26a47ef33d0a3eba78a4f330c88073
[ "BSD-3-Clause" ]
null
null
null
#include <arbor/mechanism_abi.h> #include <cmath> namespace testing { void mechanism_test0_kin_conserve_gpu_init_(arb_mechanism_ppack*); void mechanism_test0_kin_conserve_gpu_advance_state_(arb_mechanism_ppack*); void mechanism_test0_kin_conserve_gpu_compute_currents_(arb_mechanism_ppack*); void mechanism_test0_kin_co...
43.6
105
0.856269
anstaf
7933dc15b6801eb0fb6326bfd120ff6d021f9338
9,118
cpp
C++
Sources/Modules/Renderer/SM2/OcclusionMapGenerator.cpp
benkaraban/anima-games-engine
8aa7a5368933f1b82c90f24814f1447119346c3b
[ "BSD-3-Clause" ]
2
2015-04-16T01:05:53.000Z
2019-08-26T07:38:43.000Z
Sources/Modules/Renderer/SM2/OcclusionMapGenerator.cpp
benkaraban/anima-games-engine
8aa7a5368933f1b82c90f24814f1447119346c3b
[ "BSD-3-Clause" ]
null
null
null
Sources/Modules/Renderer/SM2/OcclusionMapGenerator.cpp
benkaraban/anima-games-engine
8aa7a5368933f1b82c90f24814f1447119346c3b
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2010, Anima Games, Benjamin Karaban, Laurent Schneider, * Jérémie Comarmond, Didier Colin. * 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 ...
42.212963
197
0.665826
benkaraban
793bc66b628a68a4da50a33889a08ba4127e8612
43
hpp
C++
tests/headers/only_bitfields.hpp
dustlang/rust-bindgen
62caa5eeba843b88eb4248d313d1fb90db878dae
[ "BSD-3-Clause" ]
1,848
2018-11-22T06:08:21.000Z
2022-03-31T10:54:10.000Z
tests/headers/only_bitfields.hpp
dustlang/rust-bindgen
62caa5eeba843b88eb4248d313d1fb90db878dae
[ "BSD-3-Clause" ]
845
2016-06-22T21:55:20.000Z
2018-10-31T15:50:10.000Z
tests/headers/only_bitfields.hpp
dustlang/rust-bindgen
62caa5eeba843b88eb4248d313d1fb90db878dae
[ "BSD-3-Clause" ]
274
2018-11-23T17:46:29.000Z
2022-03-27T04:52:37.000Z
class C { bool a: 1; bool b: 7; };
8.6
14
0.418605
dustlang
793e9d490330920025aca555b4bc7cc7bcf440a4
1,424
cpp
C++
Source/LogiLed/Private/LogiLedModule.cpp
ue4plugins/LogitechLed
6347c14d2b785b5a4d7636998ab0c99bc8a5b166
[ "BSD-3-Clause" ]
null
null
null
Source/LogiLed/Private/LogiLedModule.cpp
ue4plugins/LogitechLed
6347c14d2b785b5a4d7636998ab0c99bc8a5b166
[ "BSD-3-Clause" ]
null
null
null
Source/LogiLed/Private/LogiLedModule.cpp
ue4plugins/LogitechLed
6347c14d2b785b5a4d7636998ab0c99bc8a5b166
[ "BSD-3-Clause" ]
null
null
null
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved. #include "LogiLedPrivate.h" #include "Modules/ModuleInterface.h" #include "Modules/ModuleManager.h" #include "LogitechLEDLib.h" DEFINE_LOG_CATEGORY(LogLogiLed); #define LOCTEXT_NAMESPACE "FLogiLedModule" /** * Implements the LogiLed module. */ class...
16.55814
96
0.707865
ue4plugins
794349e6afc59dff7efd2a109daa192786bd1679
439
cpp
C++
raygame/SteeringBehaviour.cpp
lodisperkins/AI2021---Graph-Framework
84c5f5d733c27b1ea144b90ca66bce276586cd63
[ "MIT" ]
null
null
null
raygame/SteeringBehaviour.cpp
lodisperkins/AI2021---Graph-Framework
84c5f5d733c27b1ea144b90ca66bce276586cd63
[ "MIT" ]
null
null
null
raygame/SteeringBehaviour.cpp
lodisperkins/AI2021---Graph-Framework
84c5f5d733c27b1ea144b90ca66bce276586cd63
[ "MIT" ]
null
null
null
#include "SteeringBehaviour.h" SteeringBehaviour::SteeringBehaviour() { } SteeringBehaviour::SteeringBehaviour(SteeringForce * steeringForce) { steeringForceObject = steeringForce; } SteeringBehaviour::~SteeringBehaviour() { } void SteeringBehaviour::execute(Agent* agent) { force = steeringForceObject->GetForce(a...
16.884615
67
0.776765
lodisperkins
7945a84d9a2c62378e2471d1edfb16dfbf3fdc95
819
cpp
C++
cpp1st/week07/byongmin/01.constexpr.cpp
th4inquiry/PentaDevs
aa379d24494a485ad5e7fdcc385c6ccfb02cf307
[ "Apache-2.0" ]
2
2022-03-10T10:18:23.000Z
2022-03-16T15:37:22.000Z
cpp1st/week07/byongmin/01.constexpr.cpp
th4inquiry/PentaDevs
aa379d24494a485ad5e7fdcc385c6ccfb02cf307
[ "Apache-2.0" ]
8
2022-03-09T16:14:47.000Z
2022-03-28T15:35:17.000Z
cpp1st/week07/byongmin/01.constexpr.cpp
th4inquiry/PentaDevs
aa379d24494a485ad5e7fdcc385c6ccfb02cf307
[ "Apache-2.0" ]
4
2022-03-08T00:22:29.000Z
2022-03-12T13:22:43.000Z
#include <iostream> using namespace std; class RectConst { public: constexpr RectConst(size_t width, size_t height) : myWidth(width), myHeight(height) { } constexpr size_t getArea() const { return myWidth * myHeight; } private: int myWidth; int myHeight; }; class Rec...
15.75
93
0.600733
th4inquiry
794644b59e611b3ea604cb28a42867f1adedef12
1,393
cpp
C++
Source/modules/serviceworkers/ServiceWorkerClient.cpp
Fusion-Rom/android_external_chromium_org_third_party_WebKit
8865f83aaf400ef5f7c234a70da404d3fc5e1272
[ "BSD-3-Clause" ]
2
2016-05-19T10:37:25.000Z
2019-09-18T04:37:14.000Z
Source/modules/serviceworkers/ServiceWorkerClient.cpp
Fusion-Rom/android_external_chromium_org_third_party_WebKit
8865f83aaf400ef5f7c234a70da404d3fc5e1272
[ "BSD-3-Clause" ]
null
null
null
Source/modules/serviceworkers/ServiceWorkerClient.cpp
Fusion-Rom/android_external_chromium_org_third_party_WebKit
8865f83aaf400ef5f7c234a70da404d3fc5e1272
[ "BSD-3-Clause" ]
7
2015-09-23T09:56:29.000Z
2022-01-20T10:36:06.000Z
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "config.h" #include "modules/serviceworkers/ServiceWorkerClient.h" #include "bindings/core/v8/ExceptionState.h" #include "bindings/core/v8/Seria...
35.717949
170
0.788945
Fusion-Rom
794a1568ac8c9fa554b21ebbbf04ecf8e77adaec
25,708
cpp
C++
fhq-jury-ad/src/core/light_http_server.cpp
SibirCTF/2019-jury-system
bbd09c36b325ba1b616abfeca147ca1d113a2e97
[ "MIT" ]
null
null
null
fhq-jury-ad/src/core/light_http_server.cpp
SibirCTF/2019-jury-system
bbd09c36b325ba1b616abfeca147ca1d113a2e97
[ "MIT" ]
null
null
null
fhq-jury-ad/src/core/light_http_server.cpp
SibirCTF/2019-jury-system
bbd09c36b325ba1b616abfeca147ca1d113a2e97
[ "MIT" ]
null
null
null
#include "light_http_server.h" #include <utils_logger.h> #include <sstream> #include <iostream> #include <vector> #include <sys/stat.h> #include <sys/time.h> #include <fstream> #include <regex> // regex, sregex_token_iterator #include <stdio.h> #include <math.h> #include <thread> #include <algorithm> #include <f...
32.707379
137
0.512603
SibirCTF
794eabe2a177cfb60461b8cfdd4cc07673433e37
3,416
cpp
C++
c++/serial2com/v0.2/serial_write.cpp
BoKoIsMe/J1900_FreeBSD
19c4f7f01a37f4eda11a64040dad307a06563fb9
[ "BSD-2-Clause" ]
null
null
null
c++/serial2com/v0.2/serial_write.cpp
BoKoIsMe/J1900_FreeBSD
19c4f7f01a37f4eda11a64040dad307a06563fb9
[ "BSD-2-Clause" ]
null
null
null
c++/serial2com/v0.2/serial_write.cpp
BoKoIsMe/J1900_FreeBSD
19c4f7f01a37f4eda11a64040dad307a06563fb9
[ "BSD-2-Clause" ]
null
null
null
#include <iostream> #include <string> #include <sys/types.h> #include <errno.h> #include <sys/stat.h> #include <fcntl.h> #include <unistd.h> #include <termios.h> //#include <stdlib.h> int open_port(int fd,int comport); int set_opt(int fd,int nSpeed,int nBits,char nEvent,int nStop); int main(int argc,char * argv[]) { ...
19.745665
82
0.619145
BoKoIsMe
7951c2099d2a2305c69ec684eb3cd8f04736fdcd
3,107
cpp
C++
Legacy/PrintBotDevelopmentEnvironment/Dialog.cpp
reghrafa/PrintBot
fb6b8e5dcb5cbf2c1b80ae89635e09081fff1617
[ "MIT" ]
null
null
null
Legacy/PrintBotDevelopmentEnvironment/Dialog.cpp
reghrafa/PrintBot
fb6b8e5dcb5cbf2c1b80ae89635e09081fff1617
[ "MIT" ]
null
null
null
Legacy/PrintBotDevelopmentEnvironment/Dialog.cpp
reghrafa/PrintBot
fb6b8e5dcb5cbf2c1b80ae89635e09081fff1617
[ "MIT" ]
null
null
null
#include "Dialog.h" #include "ProgramBlock.h" Dialog::Dialog(ProgramBlock *newProgramBlock, QWidget *parent) : programBlock(newProgramBlock), QWidget(parent) { // qDebug() << "neuer Dialog, this: " << this; qGridGroupBox.setFixedSize(DIALOG_WIDTH,DIALOG_HEIGHT); if (programBlock) { // ...
25.260163
117
0.646283
reghrafa
7954e58a39ed71700f2083cb16de25dd062ff003
3,301
cpp
C++
Acrolinx.Sidebar.SDK/Dokument.cpp
acrolinx/sidebar-sdk-cpp
c2e640f9f512934162337704be062fc2e16e4ed9
[ "Apache-2.0" ]
null
null
null
Acrolinx.Sidebar.SDK/Dokument.cpp
acrolinx/sidebar-sdk-cpp
c2e640f9f512934162337704be062fc2e16e4ed9
[ "Apache-2.0" ]
null
null
null
Acrolinx.Sidebar.SDK/Dokument.cpp
acrolinx/sidebar-sdk-cpp
c2e640f9f512934162337704be062fc2e16e4ed9
[ "Apache-2.0" ]
null
null
null
/* Copyright Acrolinx GmbH */ // Dokument.cpp : Implementation of CDokument #include "stdafx.h" #include "Dokument.h" // CDokument STDMETHODIMP CDokument::GetContent(BSTR* content) { AFX_MANAGE_STATE(AfxGetStaticModuleState()); ACROASSERT(m_isInstanceCreated == TRUE, "Initialize Document object by calling...
26.408
137
0.705241
acrolinx
7957212bc67001ea48eaa90be28759fdb2c36026
760
hpp
C++
src/it/resources/expected/my_cpp_interface/cwrapper/cw__my_cpp_interface.hpp
mutagene/djinni-generator
09b420537183e0f941ae55afbf15d72c3f8b76a1
[ "Apache-2.0" ]
60
2020-10-17T18:05:37.000Z
2022-03-14T22:58:27.000Z
src/it/resources/expected/my_cpp_interface/cwrapper/cw__my_cpp_interface.hpp
mutagene/djinni-generator
09b420537183e0f941ae55afbf15d72c3f8b76a1
[ "Apache-2.0" ]
85
2020-10-13T21:58:40.000Z
2022-03-16T09:29:01.000Z
src/it/resources/expected/my_cpp_interface/cwrapper/cw__my_cpp_interface.hpp
mutagene/djinni-generator
09b420537183e0f941ae55afbf15d72c3f8b76a1
[ "Apache-2.0" ]
24
2020-10-16T21:22:31.000Z
2022-03-02T18:15:29.000Z
// AUTOGENERATED FILE - DO NOT MODIFY! // This file was generated by Djinni from my_cpp_interface.djinni #pragma once #include <atomic> #include <optional> #include "../cpp-headers/my_cpp_interface.hpp" #ifdef __cplusplus extern "C" { #endif #include "../cwrapper-headers/cw__my_cpp_interface.h" #ifdef __cplusplus }...
28.148148
99
0.761842
mutagene
7959fe8af057f9068966bdfb0e40465848e2d815
1,249
cpp
C++
src/common/ServiceThread.cpp
kangliqiang/rocketmq-client4cpp
ebea2464f769f24f60206e998411f65c53f87b01
[ "Apache-2.0" ]
12
2016-01-07T07:24:05.000Z
2021-02-03T08:03:20.000Z
src/common/ServiceThread.cpp
yaosiming/vesselmq-client4c
a7af22d83c2e8cd27346940cd7215c7fe2918961
[ "Apache-2.0" ]
1
2016-12-27T07:45:14.000Z
2018-03-21T05:09:51.000Z
src/common/ServiceThread.cpp
yaosiming/vesselmq-client4c
a7af22d83c2e8cd27346940cd7215c7fe2918961
[ "Apache-2.0" ]
4
2016-01-14T11:10:22.000Z
2018-01-16T02:16:59.000Z
/** * Copyright (C) 2013 kangliqiang ,kangliq@163.com * * 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 ...
18.101449
74
0.705364
kangliqiang
795e05bdae48dba3bcd68ee1e89e1ce7d1bde0b7
3,152
cc
C++
chrome/services/machine_learning/public/cpp/decision_tree_model_unittest.cc
mghgroup/Glide-Browser
6a4c1eaa6632ec55014fee87781c6bbbb92a2af5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/services/machine_learning/public/cpp/decision_tree_model_unittest.cc
mghgroup/Glide-Browser
6a4c1eaa6632ec55014fee87781c6bbbb92a2af5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/services/machine_learning/public/cpp/decision_tree_model_unittest.cc
mghgroup/Glide-Browser
6a4c1eaa6632ec55014fee87781c6bbbb92a2af5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2021-01-05T23:43:46.000Z
2021-01-07T23:36:34.000Z
// Copyright 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/services/machine_learning/public/cpp/decision_tree_model.h" #include <memory> #include <utility> #include "base/macros.h" #include "bas...
37.975904
97
0.798223
mghgroup
795fea6ba96d8763d47391bf425b2540472f1673
7,261
cxx
C++
inetsrv/query/cindex/indxact.cxx
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
inetsrv/query/cindex/indxact.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
inetsrv/query/cindex/indxact.cxx
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
//+------------------------------------------------------------------------- // // Microsoft Windows // Copyright (C) Microsoft Corporation, 1991 - 1992. // // File: INDXACT.CXX // // Contents: Index transactions // // Classes: CIndexTrans, CChangeTrans // // History: 15-Oct-91 BartoszM...
28.034749
79
0.460818
npocmaka
79615ded1c8922959d0457cdd465aa407b968bac
22,674
cc
C++
unicode/output_unicode_data.cc
RobertLWalton/min
763bb5cf7cc72218831da2da685e8e5aa6e1408f
[ "Unlicense" ]
null
null
null
unicode/output_unicode_data.cc
RobertLWalton/min
763bb5cf7cc72218831da2da685e8e5aa6e1408f
[ "Unlicense" ]
null
null
null
unicode/output_unicode_data.cc
RobertLWalton/min
763bb5cf7cc72218831da2da685e8e5aa6e1408f
[ "Unlicense" ]
null
null
null
// MIN Routines to Output UNICODE Data Tables // // File: output_unicode_data.cc // Author: Bob Walton (walton@acm.org) // Date: Thu Aug 20 14:06:37 EDT 2020 // // The authors have placed this program in the public // domain; they make no warranty and accept no liability // for this program. // This file contains rout...
24.485961
56
0.530475
RobertLWalton
79627c204104b1e470dac018c9aa33a0dc3dc6d0
11,414
hpp
C++
qmath/include/qmath/mat3.hpp
jeanleflambeur/silkopter
cdbc67ee2c85f5c95eb4f52e2e0ba24514962dd8
[ "BSD-3-Clause" ]
36
2015-03-09T16:47:14.000Z
2021-02-04T08:32:04.000Z
qmath/include/qmath/mat3.hpp
jeanlemotan/silkopter
cdbc67ee2c85f5c95eb4f52e2e0ba24514962dd8
[ "BSD-3-Clause" ]
42
2017-02-11T11:15:51.000Z
2019-12-28T16:00:44.000Z
qmath/include/qmath/mat3.hpp
jeanleflambeur/silkopter
cdbc67ee2c85f5c95eb4f52e2e0ba24514962dd8
[ "BSD-3-Clause" ]
5
2015-10-15T05:46:48.000Z
2020-05-11T17:40:36.000Z
namespace math { template<typename T> mat3<T> const mat3<T>::zero(0); \ template<typename T> mat3<T> const mat3<T>::one(1); \ template<typename T> mat3<T> const mat3<T>::identity; \ /////////////////////////////////////////////////////////////////////...
26.482599
137
0.545733
jeanleflambeur
7966b213fa4cf117f76763778ebf11d519786445
11,667
hpp
C++
falcon/algorithm/recursive_for_each.hpp
jonathanpoelen/falcon
5b60a39787eedf15b801d83384193a05efd41a89
[ "MIT" ]
2
2018-02-02T14:19:59.000Z
2018-05-13T02:48:24.000Z
falcon/algorithm/recursive_for_each.hpp
jonathanpoelen/falcon
5b60a39787eedf15b801d83384193a05efd41a89
[ "MIT" ]
null
null
null
falcon/algorithm/recursive_for_each.hpp
jonathanpoelen/falcon
5b60a39787eedf15b801d83384193a05efd41a89
[ "MIT" ]
null
null
null
#ifndef FALCON_ALGORITHM_RECURSIVE_FOR_EACH_HPP #define FALCON_ALGORITHM_RECURSIVE_FOR_EACH_HPP #include <falcon/c++/reference.hpp> #include <falcon/c++/conditional_cpp.hpp> #include <falcon/iterator/subrange_access_iterator.hpp> #include <falcon/type_traits/dimension.hpp> #include <falcon/type_traits/ignore.hpp> #inc...
29.240602
103
0.719294
jonathanpoelen
7967f4030b153b6da525d91f34be03b3ee49bf48
12,242
cpp
C++
platform/windows/Corona.Simulator/Rtt/Rtt_WinPlatformServices.cpp
sekodev/corona
b9a559d0cc68f5d9048444d710161fc5b778d981
[ "MIT" ]
null
null
null
platform/windows/Corona.Simulator/Rtt/Rtt_WinPlatformServices.cpp
sekodev/corona
b9a559d0cc68f5d9048444d710161fc5b778d981
[ "MIT" ]
null
null
null
platform/windows/Corona.Simulator/Rtt/Rtt_WinPlatformServices.cpp
sekodev/corona
b9a559d0cc68f5d9048444d710161fc5b778d981
[ "MIT" ]
null
null
null
////////////////////////////////////////////////////////////////////////////// // // This file is part of the Corona game engine. // For overview and more information on licensing please refer to README.md // Home page: https://github.com/coronalabs/corona // Contact: support@coronalabs.com // ////////////////////////...
25.772632
101
0.689103
sekodev
7969faa8338352043414df4fa2fec8467422614b
20,523
cc
C++
src/asn1/oidc.cc
1computerguy/mercury
193bf6432e4f53f1253965f5ca8634bd6ca69136
[ "BSD-2-Clause" ]
null
null
null
src/asn1/oidc.cc
1computerguy/mercury
193bf6432e4f53f1253965f5ca8634bd6ca69136
[ "BSD-2-Clause" ]
null
null
null
src/asn1/oidc.cc
1computerguy/mercury
193bf6432e4f53f1253965f5ca8634bd6ca69136
[ "BSD-2-Clause" ]
null
null
null
// // oidc.cc - ASN.1 Object IDentifier Compiler // #include <string> #include <vector> #include <list> #include <iostream> #include <sstream> #include <iterator> #include <regex> #include <unordered_map> #include <map> #include <set> #include <algorithm> void oid_print(std::vector<uint32_t> oid, const char *label) ...
28.036885
117
0.489694
1computerguy
796c39e81409a53f2ec85d3123a382684bb29c4b
907
cpp
C++
src/medTest/medTestApplication.cpp
papadop/medInria-public
fd8bec14c97bb95bf4d58a60741ef3b7c159f757
[ "BSD-4-Clause" ]
null
null
null
src/medTest/medTestApplication.cpp
papadop/medInria-public
fd8bec14c97bb95bf4d58a60741ef3b7c159f757
[ "BSD-4-Clause" ]
null
null
null
src/medTest/medTestApplication.cpp
papadop/medInria-public
fd8bec14c97bb95bf4d58a60741ef3b7c159f757
[ "BSD-4-Clause" ]
null
null
null
/*========================================================================= medInria Copyright (c) INRIA 2013. All rights reserved. See LICENSE.txt for details. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ====...
23.868421
118
0.585447
papadop
79711981a6ebb023671dcaad360a7ecd25dc4056
3,995
cpp
C++
speedcc/stage/SCBehaviorCocos.cpp
kevinwu1024/SpeedCC
7b32e3444236d8aebf8198ebc3fede8faf201dee
[ "MIT" ]
7
2018-03-10T02:01:49.000Z
2021-09-14T15:42:10.000Z
speedcc/stage/SCBehaviorCocos.cpp
kevinwu1024/SpeedCC
7b32e3444236d8aebf8198ebc3fede8faf201dee
[ "MIT" ]
null
null
null
speedcc/stage/SCBehaviorCocos.cpp
kevinwu1024/SpeedCC
7b32e3444236d8aebf8198ebc3fede8faf201dee
[ "MIT" ]
1
2018-03-10T02:01:58.000Z
2018-03-10T02:01:58.000Z
/**************************************************************************** Copyright (c) 2017-2020 Kevin Wu (Wu Feng) github: http://github.com/kevinwu1024 Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License a...
27.176871
108
0.690363
kevinwu1024
7971b7f0d66aee308f86c5e4f098c13ae18881ff
2,189
cpp
C++
examples/pangomm/measure-text-pixel-size-simple-example.cpp
zhanglin-wu/cairomm-pangomm-on-linux-docker
aaec738fdd35c4540173e40d8203c022d36155d2
[ "BSD-3-Clause" ]
null
null
null
examples/pangomm/measure-text-pixel-size-simple-example.cpp
zhanglin-wu/cairomm-pangomm-on-linux-docker
aaec738fdd35c4540173e40d8203c022d36155d2
[ "BSD-3-Clause" ]
null
null
null
examples/pangomm/measure-text-pixel-size-simple-example.cpp
zhanglin-wu/cairomm-pangomm-on-linux-docker
aaec738fdd35c4540173e40d8203c022d36155d2
[ "BSD-3-Clause" ]
null
null
null
// apt-get install libpangomm-1.4-dev -y // mkdir -p build && cd build // g++ -g -Wall -o measure-text-pixel-size-simple-example `pkg-config --cflags cairomm-1.0 pangomm-1.4` ../measure-text-pixel-size-simple-example.cpp `pkg-config --libs cairomm-1.0 pangomm-1.4` #include <sstream> #include <iostream> #include <gl...
32.671642
193
0.669255
zhanglin-wu
7974ef528620669111c7a8fd717287e38ccbdd65
51,002
hpp
C++
dsp/L1/include/aie/fir_interpolate_asym.hpp
dycz0fx/Vitis_Libraries
d3fc414b552493657101ddb5245f24528720823d
[ "Apache-2.0" ]
1
2021-09-11T01:05:01.000Z
2021-09-11T01:05:01.000Z
dsp/L1/include/aie/fir_interpolate_asym.hpp
maxpark/Vitis_Libraries
4bd100518d93a8842d1678046ad7457f94eb355c
[ "Apache-2.0" ]
null
null
null
dsp/L1/include/aie/fir_interpolate_asym.hpp
maxpark/Vitis_Libraries
4bd100518d93a8842d1678046ad7457f94eb355c
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2021 Xilinx, Inc. * 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...
48.619638
120
0.463707
dycz0fx
7976518cf1e1d347ad3a55b752376b017a912b9f
234
cpp
C++
RandomQuestions/001.cpp
harveyc95/ProgrammingProblems
d81dc58de0347fa155f5e25f27d3d426ce13cdc6
[ "MIT" ]
null
null
null
RandomQuestions/001.cpp
harveyc95/ProgrammingProblems
d81dc58de0347fa155f5e25f27d3d426ce13cdc6
[ "MIT" ]
null
null
null
RandomQuestions/001.cpp
harveyc95/ProgrammingProblems
d81dc58de0347fa155f5e25f27d3d426ce13cdc6
[ "MIT" ]
null
null
null
// 1. Round a number to the next largest multiple of 16 #include <iostream> int round_to_largest_16(int x) { return (x & 0xF) ? ((x >> 4 << 4) + 16) : x; } int main () { std::cout<<round_to_largest_16(30)<<std::endl; return 0; }
19.5
55
0.628205
harveyc95
797ac146c506afa27bc1836f6f6a83824b660c4b
1,340
cpp
C++
poj/p2983_fucking.cpp
huanghongxun/ACM
b7595bbe6c0d82ceb271e81fca3e787dc4060a55
[ "Unlicense" ]
3
2018-06-05T13:57:13.000Z
2020-08-05T14:19:02.000Z
poj/p2983_fucking.cpp
huanghongxun/ACM
b7595bbe6c0d82ceb271e81fca3e787dc4060a55
[ "Unlicense" ]
null
null
null
poj/p2983_fucking.cpp
huanghongxun/ACM
b7595bbe6c0d82ceb271e81fca3e787dc4060a55
[ "Unlicense" ]
null
null
null
#include <cstdio> #include <cstring> #define FOR(i,j,k) for(i=j;i<=k;i++) const int N=1001,M=201000,inf=10000000; int dis[N], vis[N], cnt[N]; int edge, n, m; int head[N], next[M], to[M], wei[M], q[M]; inline bool spfa() { int u,i,f=0,r=0; FOR(i,0,n) vis[i]=cnt[i]=0,dis[i]=inf; vis[0] = 1; dis[0] = 0; q[r++]...
25.769231
64
0.4
huanghongxun
797c72447f93a0bbddb17cc3907cd1059127dff0
2,420
cpp
C++
m07/Pr16-1a_catch_types.cpp
dvcchern/CS200
333df210e70757da7cec481314b1a1e734fd03ed
[ "MIT" ]
4
2020-02-14T23:54:05.000Z
2022-01-30T18:29:06.000Z
m07/Pr16-1a_catch_types.cpp
dvcchern/CS200
333df210e70757da7cec481314b1a1e734fd03ed
[ "MIT" ]
null
null
null
m07/Pr16-1a_catch_types.cpp
dvcchern/CS200
333df210e70757da7cec481314b1a1e734fd03ed
[ "MIT" ]
6
2020-02-24T07:06:47.000Z
2022-02-03T02:46:46.000Z
//__________________________________________ // throw primitive types ... #include <iostream> #include <stdexcept> // for runtime_error #include <string> using namespace std; int main() { string choice, word, text; // User input for choices and input auto menu = [] ( ) { cout << "_______ Throw Primiti...
31.025641
67
0.416116
dvcchern
797c73cc34365ed4dc4839424cc59b0cb06e4d07
2,213
cpp
C++
tests/test_data_loading.cpp
TobiasRp/mray
d59bb110c97c7f0a7263981ca0050132220f2688
[ "MIT" ]
null
null
null
tests/test_data_loading.cpp
TobiasRp/mray
d59bb110c97c7f0a7263981ca0050132220f2688
[ "MIT" ]
1
2021-11-29T14:03:20.000Z
2021-11-29T14:03:20.000Z
tests/test_data_loading.cpp
TobiasRp/mray
d59bb110c97c7f0a7263981ca0050132220f2688
[ "MIT" ]
null
null
null
// Copyright (c) 2020, Tobias Rapp // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // * Redistributions of source code must retain the above copyright // notice, this list of conditi...
46.104167
87
0.729327
TobiasRp
797d6cc72e76b9b5dfdfa7de28f480987c8a673d
206
cpp
C++
CppStrangeIoC/framework/context/icontext.cpp
AndreySkyFoxSidorov/CppStrangeIoC
cae0953ec4a1fce838d7c138153d4279d3fb2c4b
[ "Apache-2.0" ]
2
2018-06-06T11:26:48.000Z
2019-04-11T14:05:42.000Z
CppStrangeIoC/framework/context/icontext.cpp
AndreySkyFoxSidorov/CppStrangeIoC
cae0953ec4a1fce838d7c138153d4279d3fb2c4b
[ "Apache-2.0" ]
null
null
null
CppStrangeIoC/framework/context/icontext.cpp
AndreySkyFoxSidorov/CppStrangeIoC
cae0953ec4a1fce838d7c138153d4279d3fb2c4b
[ "Apache-2.0" ]
2
2018-06-06T11:26:49.000Z
2021-07-26T03:43:16.000Z
#include "IContext.h" using namespace strange::framework::api; using namespace strange::extensions::dispatcher::api; namespace strange { namespace extensions { namespace context { namespace api { } } } }
12.117647
53
0.757282
AndreySkyFoxSidorov
797f505532498773f395f24d9b664e3b2fd4cfbd
1,016
hpp
C++
Tools/STM32FW/STM32Cube_FW_F7_V1.16.2/Projects/STM32F769I_EVAL/Demonstrations/TouchGFX/Gui/gui/include/gui/common/Defines.hpp
ramkumarkoppu/NUCLEO-F767ZI-ESW
85e129d71ee8eccbd0b94b5e07e75b6b91679ee8
[ "MIT" ]
null
null
null
Tools/STM32FW/STM32Cube_FW_F7_V1.16.2/Projects/STM32F769I_EVAL/Demonstrations/TouchGFX/Gui/gui/include/gui/common/Defines.hpp
ramkumarkoppu/NUCLEO-F767ZI-ESW
85e129d71ee8eccbd0b94b5e07e75b6b91679ee8
[ "MIT" ]
null
null
null
Tools/STM32FW/STM32Cube_FW_F7_V1.16.2/Projects/STM32F769I_EVAL/Demonstrations/TouchGFX/Gui/gui/include/gui/common/Defines.hpp
ramkumarkoppu/NUCLEO-F767ZI-ESW
85e129d71ee8eccbd0b94b5e07e75b6b91679ee8
[ "MIT" ]
null
null
null
/** ****************************************************************************** * This file is part of the TouchGFX 4.10.0 distribution. * * @attention * * Copyright (c) 2018 STMicroelectronics. * All rights reserved. * * This software is licensed under terms that can be found in the LICENSE file ...
20.734694
80
0.526575
ramkumarkoppu
7982bc247455564c345cae3863b9ae57b12b7957
9,354
cpp
C++
OverlordEngine/DebugRenderer.cpp
Ruvah/Overlord-Editor
3193b4986b10edb0fa8fdbc493ee3b05fdea217d
[ "Apache-2.0" ]
1
2018-11-28T12:30:13.000Z
2018-11-28T12:30:13.000Z
OverlordEngine/DebugRenderer.cpp
Ruvah/Overlord-Editor
3193b4986b10edb0fa8fdbc493ee3b05fdea217d
[ "Apache-2.0" ]
null
null
null
OverlordEngine/DebugRenderer.cpp
Ruvah/Overlord-Editor
3193b4986b10edb0fa8fdbc493ee3b05fdea217d
[ "Apache-2.0" ]
2
2019-12-28T12:34:51.000Z
2021-03-08T08:37:33.000Z
#include "stdafx.h" #include "DebugRenderer.h" #include "Logger.h" #include "ContentManager.h" ID3DX11Effect* DebugRenderer::m_pEffect = nullptr; ID3DX11EffectTechnique* DebugRenderer::m_pTechnique = nullptr; unsigned int DebugRenderer::m_BufferSize = 100; ID3D11Buffer* DebugRenderer::m_pVertexBuffer = nullptr; physx:...
34.773234
183
0.770579
Ruvah
798316b442b839d46205c4851fa721d580d0d971
4,737
cpp
C++
cpdp/src/v20190820/model/QueryOpenBankDailyReceiptDownloadUrlResult.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
null
null
null
cpdp/src/v20190820/model/QueryOpenBankDailyReceiptDownloadUrlResult.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
null
null
null
cpdp/src/v20190820/model/QueryOpenBankDailyReceiptDownloadUrlResult.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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 ...
32.22449
174
0.735487
suluner
79852cac7b2c8ae6cf2d3c08f2c8e96e430b4b61
1,041
cpp
C++
osrf_testing_tools_cpp/src/memory_tools/memory_tools.cpp
eboasson/osrf_testing_tools_cpp
1869beaee97ccf2fc820950d05cc508a9a15590d
[ "MIT" ]
24
2018-05-16T09:36:23.000Z
2021-05-24T11:18:22.000Z
osrf_testing_tools_cpp/src/memory_tools/memory_tools.cpp
eboasson/osrf_testing_tools_cpp
1869beaee97ccf2fc820950d05cc508a9a15590d
[ "MIT" ]
59
2018-05-23T20:56:09.000Z
2022-02-06T11:03:59.000Z
osrf_testing_tools_cpp/src/memory_tools/memory_tools.cpp
eboasson/osrf_testing_tools_cpp
1869beaee97ccf2fc820950d05cc508a9a15590d
[ "MIT" ]
22
2018-06-12T16:10:26.000Z
2022-02-06T10:54:38.000Z
// Copyright 2015 Open Source Robotics Foundation, Inc. // // 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 appli...
30.617647
86
0.735831
eboasson
798556c70d2ecd19f9baafd5d61c3e305160d27f
2,469
cpp
C++
Compra-venda-produtos/Projeto Integrador/pessoafisica.cpp
CaioMS2000/Meus-projetos
190c987514503125a36d688302eaa738b5f346e4
[ "MIT" ]
null
null
null
Compra-venda-produtos/Projeto Integrador/pessoafisica.cpp
CaioMS2000/Meus-projetos
190c987514503125a36d688302eaa738b5f346e4
[ "MIT" ]
null
null
null
Compra-venda-produtos/Projeto Integrador/pessoafisica.cpp
CaioMS2000/Meus-projetos
190c987514503125a36d688302eaa738b5f346e4
[ "MIT" ]
null
null
null
#include "pessoafisica.h" namespace Caio{ PessoaFisica::PessoaFisica(): Cliente(), cpf(""), nome(""), celular("") { } PessoaFisica::PessoaFisica(QString &log, QString &s, QString &c, QString &e, QString &t, QString &em, QString &cpf, QString &nome, QString &celular): Cliente(log, s, c,...
28.709302
242
0.45565
CaioMS2000
79890f70142c21ba0a3fcc6d4cdeced2a9663ade
5,551
cpp
C++
OpenGL/text_ttf/freetype-wrap/wft2.cpp
bigov/daft-lib
7890fdba0aab800022ab9afb958946bd06779f33
[ "MIT" ]
1
2022-03-14T08:20:58.000Z
2022-03-14T08:20:58.000Z
OpenGL/text_ttf/freetype-wrap/wft2.cpp
bigov/daft-lib
7890fdba0aab800022ab9afb958946bd06779f33
[ "MIT" ]
null
null
null
OpenGL/text_ttf/freetype-wrap/wft2.cpp
bigov/daft-lib
7890fdba0aab800022ab9afb958946bd06779f33
[ "MIT" ]
1
2020-12-22T08:36:48.000Z
2020-12-22T08:36:48.000Z
#include "wft2.hpp" namespace tr { /// /// \brief string2unicode /// \param Text /// \return Unicode vector /// std::vector<uint32_t> string2unicode(const std::string& Text) { std::vector<uint32_t> Result {}; for(size_t i = 0; i < Text.size();) { unsigned int a=Text[i++]; //if((a&0x80)==0); if((a&0...
25.004505
117
0.62241
bigov
798b9477c4b0b8495021039105638641728d73fa
18,531
hpp
C++
include/pfs/io/unix_socket.hpp
semenovf/io-lib
6e008d0eac584194333f055c90d4810f0bbb74f6
[ "MIT" ]
null
null
null
include/pfs/io/unix_socket.hpp
semenovf/io-lib
6e008d0eac584194333f055c90d4810f0bbb74f6
[ "MIT" ]
null
null
null
include/pfs/io/unix_socket.hpp
semenovf/io-lib
6e008d0eac584194333f055c90d4810f0bbb74f6
[ "MIT" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////// // Copyright (c) 2019 Vladislav Trifochkin // // This file is part of [pfs-io](https://github.com/semenovf/pfs-io) library. // // Changelog: // 2019.10.16 Initial version ///////////////////////////////////////////////////////////////...
28.034796
90
0.480114
semenovf
7997a74616cde6309529b4e3e6819f16435f10c2
5,819
cpp
C++
src/caffe/layers/data/mtcnn_data_layer.cpp
fireae/caffe_latte
a28559481c2864c79d4b393e91869eb77c0a75fe
[ "Intel", "BSD-2-Clause" ]
7
2018-02-06T13:48:17.000Z
2019-04-08T13:56:22.000Z
src/caffe/layers/data/mtcnn_data_layer.cpp
fireae/caffe_latte
a28559481c2864c79d4b393e91869eb77c0a75fe
[ "Intel", "BSD-2-Clause" ]
null
null
null
src/caffe/layers/data/mtcnn_data_layer.cpp
fireae/caffe_latte
a28559481c2864c79d4b393e91869eb77c0a75fe
[ "Intel", "BSD-2-Clause" ]
null
null
null
#ifdef USE_OPENCV #include <opencv2/core/core.hpp> #endif // USE_OPENCV #include <stdint.h> #include <vector> #include "caffe/data_transformer.hpp" #include "caffe/layers/mtcnn_data_layer.hpp" #include "caffe/util/benchmark.hpp" #include "caffe/util/io.hpp" #include "opencv2/highgui.hpp" namespace caffe { template...
33.635838
79
0.639801
fireae
7998f624a2a44372107a1e2f6da492cdcc072ca5
29,661
cpp
C++
TestMac/cpp/network_service.cpp
tinyvpn/tvpn_mac
5bb67c8874a05561a05f87e5a9c3470471e5301b
[ "MIT" ]
null
null
null
TestMac/cpp/network_service.cpp
tinyvpn/tvpn_mac
5bb67c8874a05561a05f87e5a9c3470471e5301b
[ "MIT" ]
null
null
null
TestMac/cpp/network_service.cpp
tinyvpn/tvpn_mac
5bb67c8874a05561a05f87e5a9c3470471e5301b
[ "MIT" ]
null
null
null
#include "network_service.h" #include <stdio.h> #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <netinet/tcp.h> #include <sys/ioctl.h> #include <arpa/inet.h> #include <memory.h> #include <time.h> #include <sys/stat.h> #include <sys/time.h> #include <sys/types.h> #include <sys/socket.h> ...
34.73185
238
0.605677
tinyvpn
799affc25619cf70aca038f6e678b55d4664b2e7
1,194
cpp
C++
king/src/king/Utils/FileUtils.cpp
tobiasbu/king
7a6892a93d5d4c5f14e2618104f2955281f0bada
[ "MIT" ]
3
2017-03-10T13:57:25.000Z
2017-05-31T19:05:35.000Z
king/src/king/Utils/FileUtils.cpp
tobiasbu/king
7a6892a93d5d4c5f14e2618104f2955281f0bada
[ "MIT" ]
null
null
null
king/src/king/Utils/FileUtils.cpp
tobiasbu/king
7a6892a93d5d4c5f14e2618104f2955281f0bada
[ "MIT" ]
null
null
null
#include <king\Utils\FileUtils.hpp> namespace king { std::string FileUtils::getFileName(std::string path) { int i = path.find_last_of('\\'); if (i != std::string::npos) return path.substr(i + 1); // f contains the result :) else { i = path.find_last_of('/'); return path.substr(i + 1); } ...
16.135135
72
0.571189
tobiasbu
799b1829f213293f3f5ef9a602f1c5f05003bf8e
239
cpp
C++
model/variable.cpp
kalanzun/fire
5a7f6ca413efa2c64109d36be9db0ca050a076cd
[ "MIT" ]
null
null
null
model/variable.cpp
kalanzun/fire
5a7f6ca413efa2c64109d36be9db0ca050a076cd
[ "MIT" ]
null
null
null
model/variable.cpp
kalanzun/fire
5a7f6ca413efa2c64109d36be9db0ca050a076cd
[ "MIT" ]
null
null
null
#include "variable.h" Variable::Variable(QString label, int index, QObject *parent) : QObject(parent) , label(label) , index(index) { } QString Variable::getLabel() { return QString("<big><b>%1</b></big>").arg(label); }
15.933333
61
0.631799
kalanzun
799fae5dabdccb69e094ad56a358f312baf8dfe2
3,636
cpp
C++
active_3d_planning_core/src/module/trajectory_evaluator/next_selector/subsequent_best_complete.cpp
danielduberg/mav_active_3d_planning
0790e7d26175bf7d315975a4d91548b56f9ee877
[ "BSD-3-Clause" ]
1
2021-01-05T10:17:04.000Z
2021-01-05T10:17:04.000Z
active_3d_planning_core/src/module/trajectory_evaluator/next_selector/subsequent_best_complete.cpp
danielduberg/mav_active_3d_planning
0790e7d26175bf7d315975a4d91548b56f9ee877
[ "BSD-3-Clause" ]
null
null
null
active_3d_planning_core/src/module/trajectory_evaluator/next_selector/subsequent_best_complete.cpp
danielduberg/mav_active_3d_planning
0790e7d26175bf7d315975a4d91548b56f9ee877
[ "BSD-3-Clause" ]
null
null
null
#include "active_3d_planning_core/module/trajectory_evaluator/next_selector/subsequent_best_complete.h" #include <algorithm> #include <vector> namespace active_3d_planning { namespace next_selector { // SubsequentBestComplete ModuleFactoryRegistry::Registration<SubsequentBestComplete> ...
45.45
116
0.59516
danielduberg
79a2c818f616bfa0ca48bae2e45f77a8c0fe8d76
1,470
cpp
C++
CPP.Part_2/week_3/algorithms/count_permutations.cpp
DGolgovsky/Courses
01e2dedc06f677bcdb1cbfd02ccc08a89cc932a0
[ "Unlicense" ]
4
2017-11-17T12:02:21.000Z
2021-02-08T11:24:16.000Z
CPP.Part_2/week_3/algorithms/count_permutations.cpp
DGolgovsky/Courses
01e2dedc06f677bcdb1cbfd02ccc08a89cc932a0
[ "Unlicense" ]
null
null
null
CPP.Part_2/week_3/algorithms/count_permutations.cpp
DGolgovsky/Courses
01e2dedc06f677bcdb1cbfd02ccc08a89cc932a0
[ "Unlicense" ]
null
null
null
#include <deque> #include <array> #include <iostream> #include <algorithm> /* template<class Iterator> size_t count_permutations(Iterator p1, Iterator q1) { if (p1 == q1) return 1; auto p = *reinterpret_cast<Iterator*>(&p1); auto q = *reinterpret_cast<Iterator*>(&q1); size_t count = 0; std::sort(p,...
24.5
84
0.565306
DGolgovsky
79a4a0cf6e2b982d3814b0429367b6c799c0f0a9
1,164
cpp
C++
OOP_Noob/1/main4.cpp
Yuk1n0/Homework
74030c6ba1947866913a2a57ab92850f29aef2dc
[ "MIT" ]
3
2020-03-30T10:04:30.000Z
2020-03-30T10:04:37.000Z
OOP_Noob/1/main4.cpp
Yuk1n0/Homework
74030c6ba1947866913a2a57ab92850f29aef2dc
[ "MIT" ]
null
null
null
OOP_Noob/1/main4.cpp
Yuk1n0/Homework
74030c6ba1947866913a2a57ab92850f29aef2dc
[ "MIT" ]
null
null
null
#include <iostream> #include <cmath> using namespace std; class myPoint { public: myPoint(double x0 = 0.0, double y0 = 0.0) : x(x0), y(y0) { cout << "Start" << endl; } myPoint(myPoint &np) : x(np.x), y(np.y) {} double GetX() { return x; } double GetY() { return y; } void SetX(double x0) { x = x0; }...
21.555556
89
0.455326
Yuk1n0
79a55b4bd0d6ea16a645973861f67ad07fa16d93
7,345
cpp
C++
src/solvers/smt2/smt2_dec.cpp
tobireinhard/cbmc
fc165c119985adf8db9a13493f272a2def4e79fa
[ "BSD-4-Clause" ]
412
2016-04-02T01:14:27.000Z
2022-03-27T09:24:09.000Z
src/solvers/smt2/smt2_dec.cpp
tobireinhard/cbmc
fc165c119985adf8db9a13493f272a2def4e79fa
[ "BSD-4-Clause" ]
4,671
2016-02-25T13:52:16.000Z
2022-03-31T22:14:46.000Z
src/solvers/smt2/smt2_dec.cpp
tobireinhard/cbmc
fc165c119985adf8db9a13493f272a2def4e79fa
[ "BSD-4-Clause" ]
266
2016-02-23T12:48:00.000Z
2022-03-22T18:15:51.000Z
/*******************************************************************\ Module: Author: Daniel Kroening, kroening@kroening.com \*******************************************************************/ #include "smt2_dec.h" #include <util/invariant.h> #include <util/message.h> #include <util/run.h> #include <util/tempfil...
30.226337
79
0.607352
tobireinhard
79a9ff1cce485f56e1fbebcfe5df11990b15dfd1
11,661
hh
C++
include/click/flow/level/flow_level.hh
MassimoGirondi/fastclick
71b9a3392c2e847a22de3c354be1d9f61216cb5b
[ "BSD-3-Clause-Clear" ]
129
2015-10-08T14:38:35.000Z
2022-03-06T14:54:44.000Z
include/click/flow/level/flow_level.hh
nic-bench/fastclick
2812f0684050cec07e08f30d643ed121871cf25d
[ "BSD-3-Clause-Clear" ]
241
2016-02-17T16:17:58.000Z
2022-03-15T09:08:33.000Z
include/click/flow/level/flow_level.hh
nic-bench/fastclick
2812f0684050cec07e08f30d643ed121871cf25d
[ "BSD-3-Clause-Clear" ]
61
2015-12-17T01:46:58.000Z
2022-02-07T22:25:19.000Z
#ifndef CLICK_FLOWLEVEL_HH #define CLICK_FLOWLEVEL_HH 1 #include <click/packet.hh> #if HAVE_DPDK #include <rte_flow.h> #endif #include "../common.hh" #define FLOW_LEVEL_DEFINE(T,fnt) \ static FlowNodeData get_data_ptr(void* thunk, Packet* p) {\ return static_cast<T*>(thunk)->fnt(p);\ } cla...
23.462777
206
0.632364
MassimoGirondi
79ab026f56ed8d11e90f8f9e5beb32fb37518e9b
220
cpp
C++
Tests/test2Flow.cpp
ZakosDryiakk/SystemsModel
20906b4a32405fa7e6a90321a977142e471fc04f
[ "MIT" ]
null
null
null
Tests/test2Flow.cpp
ZakosDryiakk/SystemsModel
20906b4a32405fa7e6a90321a977142e471fc04f
[ "MIT" ]
3
2019-09-04T17:16:28.000Z
2019-09-04T17:18:23.000Z
Tests/test2Flow.cpp
ZakosDryiakk/SystemsModel
20906b4a32405fa7e6a90321a977142e471fc04f
[ "MIT" ]
null
null
null
#include "test2Flow.h" using namespace std; LogFlow::LogFlow() {} LogFlow::LogFlow(string name):Flow(name) {} LogFlow::~LogFlow() {} void LogFlow::execute() { change = 0.01*s2->getEnergy()*(1-s2->getEnergy()/70); }
15.714286
54
0.663636
ZakosDryiakk
79ac28ac1a8fe33b6f9f66a2726c9f49604b030b
33,869
cpp
C++
src/org/apache/poi/ss/format/CellNumberFormatter.cpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
src/org/apache/poi/ss/format/CellNumberFormatter.cpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
src/org/apache/poi/ss/format/CellNumberFormatter.cpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
// Generated from /POI/java/org/apache/poi/ss/format/CellNumberFormatter.java #include <org/apache/poi/ss/format/CellNumberFormatter.hpp> #include <java/lang/Appendable.hpp> #include <java/lang/ArrayStoreException.hpp> #include <java/lang/CharSequence.hpp> #include <java/lang/Character.hpp> #include <java/lang/Class.h...
41.557055
278
0.597685
pebble2015
79ade633f77a3915e418479db88f5a8d8db54a74
523
cpp
C++
7.06/7_06.cpp
dengxianglong/cplusplusprimerplusstudy
eefc5d7bf5ab31186c04171fadade3552838f4b2
[ "MIT" ]
null
null
null
7.06/7_06.cpp
dengxianglong/cplusplusprimerplusstudy
eefc5d7bf5ab31186c04171fadade3552838f4b2
[ "MIT" ]
null
null
null
7.06/7_06.cpp
dengxianglong/cplusplusprimerplusstudy
eefc5d7bf5ab31186c04171fadade3552838f4b2
[ "MIT" ]
1
2018-08-29T07:40:20.000Z
2018-08-29T07:40:20.000Z
#include<iostream> const int arsize=8; int sum_arr(int arr[],int n); int main() { using namespace std; int cookies[arsize]={1,2,4,8,13,32,64,128}; cout<<cookies<<endl; cout<<sizeof cookies<<endl; int sum=sum_arr(cookies,arsize); cout<<sum<<endl; sum=sum_arr(cookies,3); cout<<sum<<endl; sum=sum_arr(cookies+4,4)...
19.37037
44
0.67304
dengxianglong
79ae5370f0233194782d48bd327f2802cebb3302
1,120
cpp
C++
Chapter-5-Loops-and-Files/Review Questions and Exercises/Programming Challenges/003.cpp
jesushilarioh/C-Plus-Plus
bbff921460ac4267af48558f040c7d82ccf42d5e
[ "MIT" ]
3
2019-10-28T01:12:46.000Z
2021-10-16T09:16:31.000Z
Chapter-5-Loops-and-Files/Review Questions and Exercises/Programming Challenges/003.cpp
jesushilariohernandez/DelMarCSi.cpp
6dd7905daea510452691fd25b0e3b0d2da0b06aa
[ "MIT" ]
null
null
null
Chapter-5-Loops-and-Files/Review Questions and Exercises/Programming Challenges/003.cpp
jesushilariohernandez/DelMarCSi.cpp
6dd7905daea510452691fd25b0e3b0d2da0b06aa
[ "MIT" ]
4
2020-04-10T17:22:17.000Z
2021-11-04T14:34:00.000Z
/******************************************************************** * * 003. Ocean Levels * * Assuming the ocean’s level is currently rising at * about 1.5 millimeters per year, write a program that * displays a table showing the number of * millimeters that the ocean will ha...
28.717949
72
0.460714
jesushilarioh
79b1e0f70579f6379503877afa7a459c78651cb5
3,236
cpp
C++
studio/src/sequence/key_item.cpp
blagodarin/aulos
c78ec06fd812c889ec618ac2e9f0cab9ad9db756
[ "Apache-2.0" ]
null
null
null
studio/src/sequence/key_item.cpp
blagodarin/aulos
c78ec06fd812c889ec618ac2e9f0cab9ad9db756
[ "Apache-2.0" ]
null
null
null
studio/src/sequence/key_item.cpp
blagodarin/aulos
c78ec06fd812c889ec618ac2e9f0cab9ad9db756
[ "Apache-2.0" ]
null
null
null
// This file is part of the Aulos toolkit. // Copyright (C) Sergei Blagodarin. // SPDX-License-Identifier: Apache-2.0 #include "key_item.hpp" #include "../theme.hpp" #include <QPainter> namespace { enum class KeyStyle : size_t { White, Black, }; } struct KeyItem::StyleInfo { struct Colors { QColor _norm...
33.020408
202
0.680779
blagodarin
79b22f57db86656ee8df7a3a06f815cd61b8ff54
497
cc
C++
src/type/type.cc
Nakrez/RePy
057db55a99eac2c5cb3d622fa1f2e29f6083d8d6
[ "MIT" ]
1
2020-11-24T05:24:26.000Z
2020-11-24T05:24:26.000Z
src/type/type.cc
Nakrez/RePy
057db55a99eac2c5cb3d622fa1f2e29f6083d8d6
[ "MIT" ]
null
null
null
src/type/type.cc
Nakrez/RePy
057db55a99eac2c5cb3d622fa1f2e29f6083d8d6
[ "MIT" ]
null
null
null
#include <type/type.hh> #include <type/polymorphic.hh> namespace type { Type::Type() {} Type::~Type() {} bool Type::compatible_with(const Type& t) { if (&t == &Polymorphic::instance()) return true; return this == &t; } std::ostream& operator<<(std::ostrea...
15.53125
69
0.515091
Nakrez
79b36db545d6c2a2a4385ec454ad1e5e6867a9d2
1,070
cpp
C++
libglplayground/src/element_buffer_object.cpp
jbeda/libglplayground
d35b5660e305d186e9ea5c87ee5d23365868d0ce
[ "Apache-2.0" ]
2
2021-06-20T01:52:51.000Z
2021-07-06T07:26:35.000Z
libglplayground/src/element_buffer_object.cpp
jbeda/libglplayground
d35b5660e305d186e9ea5c87ee5d23365868d0ce
[ "Apache-2.0" ]
129
2021-06-23T10:19:01.000Z
2021-11-11T10:17:24.000Z
libglplayground/src/element_buffer_object.cpp
jbeda/libglplayground
d35b5660e305d186e9ea5c87ee5d23365868d0ce
[ "Apache-2.0" ]
1
2021-07-05T21:10:23.000Z
2021-07-05T21:10:23.000Z
#include "libglppch.h" #include "element_buffer_object.h" namespace libplayground { namespace gl { element_buffer_object::element_buffer_object(const std::vector<uint32_t>& data) { glGenBuffers(1, &this->m_id); glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, this->m_id); glBufferDa...
39.62963
122
0.628972
jbeda
79bbe8c0ca5fcfa0a553799eeb1b7d7702cd4a8d
305
cpp
C++
src/parser_brute_force.cpp
Auterion/mavlink-fuzz-testing
9de6a4aa78b27e3ccc18b313c3b79ccbe3a09cb1
[ "BSD-3-Clause" ]
9
2019-08-20T17:04:28.000Z
2021-06-29T11:28:29.000Z
src/parser_brute_force.cpp
Auterion/mavlink-fuzz-testing
9de6a4aa78b27e3ccc18b313c3b79ccbe3a09cb1
[ "BSD-3-Clause" ]
null
null
null
src/parser_brute_force.cpp
Auterion/mavlink-fuzz-testing
9de6a4aa78b27e3ccc18b313c3b79ccbe3a09cb1
[ "BSD-3-Clause" ]
2
2020-08-03T04:57:13.000Z
2022-03-25T02:51:04.000Z
#include <common/mavlink.h> extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) { for (size_t i = 0; i < Size; ++i) { mavlink_message_t message; mavlink_status_t status; mavlink_parse_char(MAVLINK_COMM_0, Data[i], &message, &status); } return 0; }
27.727273
73
0.652459
Auterion
79bd11fbcf5ef5a4d6a1c2aafb0bce8465b5b751
377
hpp
C++
srook/semaphore.hpp
falgon/srookCppLibraries
ebcfacafa56026f6558bcd1c584ec774cc751e57
[ "MIT" ]
1
2018-07-01T07:54:37.000Z
2018-07-01T07:54:37.000Z
srook/semaphore.hpp
falgon/srookCppLibraries
ebcfacafa56026f6558bcd1c584ec774cc751e57
[ "MIT" ]
null
null
null
srook/semaphore.hpp
falgon/srookCppLibraries
ebcfacafa56026f6558bcd1c584ec774cc751e57
[ "MIT" ]
null
null
null
// Copyright (C) 2011-2020 Roki. Distributed under the MIT License #ifndef INCLUDED_SROOK_SEMAPHORE_HPP #define INCLUDED_SROOK_SEMAPHORE_HPP #include <srook/semaphore/semaphore.hpp> #include <srook/semaphore/timed_semaphore.hpp> #include <srook/semaphore/binary_semaphore.hpp> #include <srook/semaphore/binary_timed_sema...
37.7
66
0.830239
falgon
79c106420a33dc215d662329fb09b207588d2d91
1,445
cpp
C++
src/utils/logger.cpp
hir12111/pvAccessCPP
50b1d01ba67d89a7b96cf614b38b43672086ff69
[ "MIT" ]
9
2015-02-09T08:58:38.000Z
2021-02-26T03:17:03.000Z
src/utils/logger.cpp
hir12111/pvAccessCPP
50b1d01ba67d89a7b96cf614b38b43672086ff69
[ "MIT" ]
165
2015-06-10T11:27:33.000Z
2022-02-23T00:25:46.000Z
src/utils/logger.cpp
hir12111/pvAccessCPP
50b1d01ba67d89a7b96cf614b38b43672086ff69
[ "MIT" ]
22
2015-04-29T19:00:49.000Z
2021-11-10T12:45:07.000Z
/** * Copyright - See the COPYRIGHT that is included with this distribution. * pvAccessCPP is distributed subject to a Software License Agreement found * in file LICENSE that is included with this distribution. */ #include <fstream> #include <iostream> #include <time.h> #include <cstring> #include <stdio.h> #incl...
20.352113
85
0.687889
hir12111
79c1204b5529a04cc26832618439aab55b99d7f6
13,071
cpp
C++
diamond-dpct/masking.dp.cpp
jchlanda/oneAPI-DirectProgramming
82a1be635f89b4b2a83e36965a60b19fd71e46b2
[ "BSD-3-Clause" ]
null
null
null
diamond-dpct/masking.dp.cpp
jchlanda/oneAPI-DirectProgramming
82a1be635f89b4b2a83e36965a60b19fd71e46b2
[ "BSD-3-Clause" ]
null
null
null
diamond-dpct/masking.dp.cpp
jchlanda/oneAPI-DirectProgramming
82a1be635f89b4b2a83e36965a60b19fd71e46b2
[ "BSD-3-Clause" ]
null
null
null
/**** DIAMOND protein aligner Copyright (C) 2013-2017 Benjamin Buchfink <buchfink@gmail.com> This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at...
29.439189
119
0.638742
jchlanda
79c4b094e8b2c96e913d2b959c1499addf6b865c
6,511
cc
C++
cpp/core/internal/wifi_lan_service_info_test.cc
jdapena/nearby-connections
ae277748ce068ef1730d5104002d4324fc4ed89e
[ "Apache-2.0" ]
null
null
null
cpp/core/internal/wifi_lan_service_info_test.cc
jdapena/nearby-connections
ae277748ce068ef1730d5104002d4324fc4ed89e
[ "Apache-2.0" ]
null
null
null
cpp/core/internal/wifi_lan_service_info_test.cc
jdapena/nearby-connections
ae277748ce068ef1730d5104002d4324fc4ed89e
[ "Apache-2.0" ]
null
null
null
// Copyright 2020 Google LLC // // 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
39.222892
78
0.762402
jdapena
79c8029e5cfc8810f496c4c017a5f35d9ef79287
2,051
hpp
C++
kernel/eir/arch/arm/eir-internal/arch/pl011.hpp
kITerE/managarm
e6d1229a0bed68cb672a9cad300345a9006d78c1
[ "MIT" ]
935
2018-05-23T14:56:18.000Z
2022-03-29T07:27:20.000Z
kernel/eir/arch/arm/eir-internal/arch/pl011.hpp
kITerE/managarm
e6d1229a0bed68cb672a9cad300345a9006d78c1
[ "MIT" ]
314
2018-05-04T15:58:06.000Z
2022-03-30T16:24:17.000Z
kernel/eir/arch/arm/eir-internal/arch/pl011.hpp
kITerE/managarm
e6d1229a0bed68cb672a9cad300345a9006d78c1
[ "MIT" ]
65
2019-04-21T14:26:51.000Z
2022-03-12T03:16:41.000Z
#pragma once #include <stdint.h> #include <arch/mem_space.hpp> #include <arch/register.hpp> namespace eir { namespace pl011_reg { static constexpr arch::scalar_register<uint32_t> data{0x00}; static constexpr arch::bit_register<uint32_t> status{0x18}; static constexpr arch::scalar_register<uint32_t> i_baud{0x24}; ...
26.636364
75
0.7255
kITerE