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
3b39ec966018abd8937d95312d2772062756bd3a
962
cpp
C++
spoki/libspoki/src/probe/method.cpp
inetrg/spoki
599a19366e4cea70e2391471de6f6b745935cddf
[ "MIT" ]
1
2022-02-03T15:35:16.000Z
2022-02-03T15:35:16.000Z
spoki/libspoki/src/probe/method.cpp
inetrg/spoki
599a19366e4cea70e2391471de6f6b745935cddf
[ "MIT" ]
null
null
null
spoki/libspoki/src/probe/method.cpp
inetrg/spoki
599a19366e4cea70e2391471de6f6b745935cddf
[ "MIT" ]
null
null
null
/* * This file is part of the CAF spoki driver. * * Copyright (C) 2018-2021 * Authors: Raphael Hiesgen * * All rights reserved. * * Report any bugs, questions or comments to raphael.hiesgen@haw-hamburg.de * */ #include "spoki/probe/method.hpp" namespace spoki::probe { std::string probe_name(method m) { s...
21.377778
83
0.623701
inetrg
3b3bd388264924a4824eaec61a0264cdd33e66b6
7,262
cpp
C++
src/implot_widgets.cpp
scanberg/viamd
2e5330fad35f7c2116e15b4a538d5c4a5a18ca59
[ "MIT" ]
11
2018-06-04T14:51:32.000Z
2021-12-21T13:35:08.000Z
src/implot_widgets.cpp
scanberg/viamd
2e5330fad35f7c2116e15b4a538d5c4a5a18ca59
[ "MIT" ]
19
2019-03-03T14:42:03.000Z
2022-03-01T19:09:49.000Z
src/implot_widgets.cpp
scanberg/viamd
2e5330fad35f7c2116e15b4a538d5c4a5a18ca59
[ "MIT" ]
1
2020-06-08T15:56:57.000Z
2020-06-08T15:56:57.000Z
#include "implot_widgets.h" #include <implot_internal.h> namespace ImPlot { IMPLOT_API bool DragRangeX(const char* id, double* x_range_min, double* x_range_max, double min_value, double max_value, ImPlotDragRangeFlags flags, const ImPlotDragRangeStyle& style) { ImPlotContext& gp = *GImPlot; IM_ASSERT_USER_ERR...
41.261364
185
0.585789
scanberg
3b3c3079f8e1be1a362e5ff736728448b9e51ce3
9,457
inl
C++
include/mathos/floatmath.inl
napina/mathos
c29bf3d2b9e191d4b3644b49f1d014cbaa787706
[ "MIT" ]
1
2021-03-31T13:14:54.000Z
2021-03-31T13:14:54.000Z
include/mathos/floatmath.inl
napina/mathos
c29bf3d2b9e191d4b3644b49f1d014cbaa787706
[ "MIT" ]
null
null
null
include/mathos/floatmath.inl
napina/mathos
c29bf3d2b9e191d4b3644b49f1d014cbaa787706
[ "MIT" ]
null
null
null
/*============================================================================= Copyright (c) 2007 Ville Ruusutie 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 wi...
22.147541
94
0.652533
napina
3b3f327d1123bc754ab3f987cca834eb4fa2f31a
6,802
cpp
C++
src/ublox_GNSS.cpp
ldab/u-blox_GNSS
8ce660b4c40312b3b3ec33e7f8ef45d8da074cbe
[ "MIT" ]
11
2019-03-15T15:21:05.000Z
2021-06-02T10:25:30.000Z
src/ublox_GNSS.cpp
ldab/u-blox_GNSS
8ce660b4c40312b3b3ec33e7f8ef45d8da074cbe
[ "MIT" ]
2
2019-08-09T17:41:55.000Z
2021-07-22T06:56:42.000Z
src/ublox_GNSS.cpp
ldab/u-blox_GNSS
8ce660b4c40312b3b3ec33e7f8ef45d8da074cbe
[ "MIT" ]
4
2019-06-01T03:47:49.000Z
2020-08-19T16:16:51.000Z
/****************************************************************************** u-blox_GNSS.h u-blox GNSS Arduino Leonardo Bispo Mar 03, 2019 https://github.com/ldab/u-blox_GNSS Distributed as-is; no warranty is given. ******************************************************************************/ #include "ublox_GNS...
22.902357
123
0.559247
ldab
3b43a545ce972a408e36595d82bfd4b799a1a7a8
15,267
cc
C++
src/ast.cc
atharvapotdar/PerceMon
633212190dae1ce502b96410af83c8b796b678e6
[ "BSD-3-Clause" ]
1
2021-11-08T08:11:21.000Z
2021-11-08T08:11:21.000Z
src/ast.cc
atharvapotdar/PerceMon
633212190dae1ce502b96410af83c8b796b678e6
[ "BSD-3-Clause" ]
null
null
null
src/ast.cc
atharvapotdar/PerceMon
633212190dae1ce502b96410af83c8b796b678e6
[ "BSD-3-Clause" ]
2
2022-03-21T17:40:29.000Z
2022-03-21T17:42:08.000Z
#include "percemon/ast.hpp" #include "percemon/utils.hpp" #include <algorithm> #include <iterator> #include <memory> #include <numeric> namespace percemon { namespace ast { namespace functions { TimeBound operator-(const Var_x& lhs, C_TIME) { return TimeBound{lhs}; } FrameBound operator-(const Var_f& lhs, C_FRAME) ...
34.619048
88
0.696535
atharvapotdar
8dcb4ff2ae5ba98d57000cdc7f1ae54353e07a5d
432
cpp
C++
Homework/groupHwB/BJmetro.cpp
zyzkevin/Introduction-to-Computing
0838126dda56ee20834dcfe472f9ab9effd8d8b3
[ "MIT" ]
null
null
null
Homework/groupHwB/BJmetro.cpp
zyzkevin/Introduction-to-Computing
0838126dda56ee20834dcfe472f9ab9effd8d8b3
[ "MIT" ]
null
null
null
Homework/groupHwB/BJmetro.cpp
zyzkevin/Introduction-to-Computing
0838126dda56ee20834dcfe472f9ab9effd8d8b3
[ "MIT" ]
null
null
null
#include <iostream> #include <iomanip> using namespace std; int main() { int n, m; double sum; cin >> n >> m; if (m <= 6) sum = 3; else if (m <= 12) sum = 4; else if (m <= 22) sum = 5; else if (m <= 32) sum = 6; else if (m > 32) sum = (m + 20 - 1 - 32) / 20 + 6; if (n >= 100 && n ...
20.571429
54
0.460648
zyzkevin
8dd44c33e8767d61783fcc2e33121012f39df0bc
445
cpp
C++
Level-2/22. HashMap and Heap/Brick Wall.cpp
anubhvshrma18/PepCoding
1d5ebd43e768ad923bf007c8dd584e217df1f017
[ "Apache-2.0" ]
22
2021-06-02T04:25:55.000Z
2022-01-30T06:25:07.000Z
Level-2/22. HashMap and Heap/Brick Wall.cpp
amitdubey6261/PepCoding
1d5ebd43e768ad923bf007c8dd584e217df1f017
[ "Apache-2.0" ]
2
2021-10-17T19:26:10.000Z
2022-01-14T18:18:12.000Z
Level-2/22. HashMap and Heap/Brick Wall.cpp
amitdubey6261/PepCoding
1d5ebd43e768ad923bf007c8dd584e217df1f017
[ "Apache-2.0" ]
8
2021-07-21T09:55:15.000Z
2022-01-31T10:32:51.000Z
class Solution { public: int leastBricks(vector<vector<int>>& wall) { unordered_map<int,int> map; for(auto m:wall){ int ps=0; for(int i=0;i<m.size()-1;i++){ ps+=m[i]; map[ps]++; } } int mx=0; for(auto m:map){...
22.25
48
0.382022
anubhvshrma18
8de1ffcdb13aa7eacf1ddd39a4947ce02f503b06
1,787
cpp
C++
2018_SemanaiCompetitiveProgramming/D1.Prob8.cpp
luispc111/Competitive-Programming-2019
d03b01da5dbcc5ac3201e8096f66a134b462e90a
[ "MIT" ]
null
null
null
2018_SemanaiCompetitiveProgramming/D1.Prob8.cpp
luispc111/Competitive-Programming-2019
d03b01da5dbcc5ac3201e8096f66a134b462e90a
[ "MIT" ]
null
null
null
2018_SemanaiCompetitiveProgramming/D1.Prob8.cpp
luispc111/Competitive-Programming-2019
d03b01da5dbcc5ac3201e8096f66a134b462e90a
[ "MIT" ]
null
null
null
//#include <iostream> // //using namespace std; // //int arr[1000000]; // //int check(int arr[], int iCant){ // // int i = 0; // while (arr[i + 1] > arr[i] && i <= iCant){ // ++i; // } // // while (arr[i + 1] == arr[i] && i <= iCant){ // ++i; // } // // ...
14.18254
63
0.359261
luispc111
8de98bef3aceac0dd53648922bd0b7d3281910aa
3,086
cpp
C++
libs/Delphi/src/Syntax/Trivia/DelphiIfNDefDirectiveTriviaSyntax.cpp
henrikfroehling/interlinck
d9d947b890d9286c6596c687fcfcf016ef820d6b
[ "MIT" ]
null
null
null
libs/Delphi/src/Syntax/Trivia/DelphiIfNDefDirectiveTriviaSyntax.cpp
henrikfroehling/interlinck
d9d947b890d9286c6596c687fcfcf016ef820d6b
[ "MIT" ]
19
2021-12-01T20:37:23.000Z
2022-02-14T21:05:43.000Z
libs/Delphi/src/Syntax/Trivia/DelphiIfNDefDirectiveTriviaSyntax.cpp
henrikfroehling/interlinck
d9d947b890d9286c6596c687fcfcf016ef820d6b
[ "MIT" ]
null
null
null
#include "Syntax/Trivia/DelphiIfNDefDirectiveTriviaSyntax.hpp" #include <cassert> #include <fmt/core.h> #include <fmt/xchar.h> #include <argos-Core/Basic/Macros.hpp> #include <argos-Core/Syntax/ISyntaxTriviaToken.hpp> namespace argos::Delphi::Syntax { using Core::AST::ISyntaxTree; using Core::Syntax::ISyntaxToken;...
35.883721
120
0.622489
henrikfroehling
8dee3786bafd2f9102de8e34995ffd6bf035c81a
1,516
cpp
C++
ShutterEngine/Renderer/Extensions.cpp
patrickpichler/Shutter
8928e3aafb6fddb2a02cd4de31a99f4b36beed83
[ "MIT" ]
null
null
null
ShutterEngine/Renderer/Extensions.cpp
patrickpichler/Shutter
8928e3aafb6fddb2a02cd4de31a99f4b36beed83
[ "MIT" ]
null
null
null
ShutterEngine/Renderer/Extensions.cpp
patrickpichler/Shutter
8928e3aafb6fddb2a02cd4de31a99f4b36beed83
[ "MIT" ]
null
null
null
#include "Extensions.h" #include <vulkan/vulkan.h> #include <algorithm> void Extension::Init(const ExtensionRequestInfo& info) { uint32_t extensionCount = 0; vkEnumerateInstanceExtensionProperties(nullptr, &extensionCount, nullptr); AvailableExtensions.resize(extensionCount); vkEnumerateInstanceExtensionProperties...
29.153846
101
0.775066
patrickpichler
8deffab369a2e5d256a7d186f672173c387b885d
1,968
cpp
C++
Physics Engine/Dynamics/pworld.cpp
DarrenSweeney/3D-Physics-Engine
31dee682cdd285fcd1aa8a6951b7506348d8dc5a
[ "MIT" ]
53
2015-09-22T22:29:03.000Z
2021-12-18T05:05:51.000Z
Physics Engine/Dynamics/pworld.cpp
DarrenSweeney/3D-Physics-Engine
31dee682cdd285fcd1aa8a6951b7506348d8dc5a
[ "MIT" ]
3
2016-04-28T08:51:21.000Z
2020-05-20T16:40:27.000Z
Physics Engine/Dynamics/pworld.cpp
DarrenSweeney/3D-Physics-Engine
31dee682cdd285fcd1aa8a6951b7506348d8dc5a
[ "MIT" ]
9
2016-10-24T13:56:59.000Z
2021-02-25T01:18:42.000Z
#include "pworld.h" using namespace Physics_Engine; ParticleWorld::ParticleWorld(unsigned maxContacts, unsigned iterations) : resolver(iterations), maxContacts(maxContacts) { contacts = new ParticleContact[maxContacts]; b_calculateIterations = (iterations == 0); } ParticleWorld::~ParticleWorld() { delete[] contac...
21.16129
75
0.730691
DarrenSweeney
8df3370450e0273447051f6f1afe0eebc440f2b6
2,280
cc
C++
gtkmm/derived/main.cc
dcirne/study_group
5df90af908b63a058a0767c459498245d84f36f0
[ "Apache-2.0" ]
3
2018-10-26T16:05:41.000Z
2019-12-18T17:11:03.000Z
gtkmm/derived/main.cc
dcirne/study_group
5df90af908b63a058a0767c459498245d84f36f0
[ "Apache-2.0" ]
8
2019-01-03T16:49:55.000Z
2019-04-19T01:52:34.000Z
gtkmm/derived/main.cc
dcirne/study_group
5df90af908b63a058a0767c459498245d84f36f0
[ "Apache-2.0" ]
null
null
null
/* libglademm example Copyright (C) 2003 libglademm development team * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 * as published by the Free Software Foundation. * * This program is distributed in the hope that it will be...
27.46988
78
0.658333
dcirne
8df40a4b955597d3b528d52583d78c4b9996f468
403
cpp
C++
source/cards/sources/card.cpp
mexus/medici2
8ffadc0f72459e5b59f12460575925e5a578a389
[ "MIT" ]
null
null
null
source/cards/sources/card.cpp
mexus/medici2
8ffadc0f72459e5b59f12460575925e5a578a389
[ "MIT" ]
null
null
null
source/cards/sources/card.cpp
mexus/medici2
8ffadc0f72459e5b59f12460575925e5a578a389
[ "MIT" ]
null
null
null
#include <cards/card.h> namespace cards { bool operator<(const Card& lhs, const Card& rhs) { if (lhs.suit == rhs.suit) return lhs.rank < rhs.rank; else return lhs.suit < rhs.suit; } bool operator==(const Card& lhs, const Card& rhs) { return lhs.rank == rhs.rank && lhs.suit == rhs.suit; } ...
20.15
56
0.60794
mexus
8dfadd63868d6e444eb4bbae765ac325534db508
410
cpp
C++
SVFEngine/SVFEngine/exceptions.cpp
safiar/SVFEngine
5038143a0f369e88dd4fab364a0c22f7729217b3
[ "Apache-2.0" ]
1
2018-04-26T14:27:35.000Z
2018-04-26T14:27:35.000Z
SVFEngine/SVFEngine/exceptions.cpp
safiar/SVFEngine
5038143a0f369e88dd4fab364a0c22f7729217b3
[ "Apache-2.0" ]
1
2018-04-29T14:45:47.000Z
2018-04-29T14:45:47.000Z
SVFEngine/SVFEngine/exceptions.cpp
safiar/SVFEngine
5038143a0f369e88dd4fab364a0c22f7729217b3
[ "Apache-2.0" ]
null
null
null
// ----------------------------------------------------------------------- // // // MODULE : exceptions.cpp // // PURPOSE : Обработка исключений // // CREATED : SavF. ⚡ Savenkov Filipp A. (2019) // // ----------------------------------------------------------------------- // #include "exceptions.h" name...
25.625
79
0.414634
safiar
8dfcbda11ca1dd52bb96358a5138719153b625b5
1,671
cpp
C++
codeforces/gym/UFPE Starters Final Try-Outs 2018/j.cpp
tysm/cpsols
262212646203e516d1706edf962290de93762611
[ "MIT" ]
4
2020-10-05T19:24:10.000Z
2021-07-15T00:45:43.000Z
codeforces/gym/UFPE Starters Final Try-Outs 2018/j.cpp
tysm/cpsols
262212646203e516d1706edf962290de93762611
[ "MIT" ]
null
null
null
codeforces/gym/UFPE Starters Final Try-Outs 2018/j.cpp
tysm/cpsols
262212646203e516d1706edf962290de93762611
[ "MIT" ]
null
null
null
#include <cpplib/stdinc.hpp> #include <cpplib/data-structure/tree/heap.hpp> vii prop; bool cmp_max(ii &i, ii &j){ int bi = prop[i.ss].ff, bj = prop[j.ss].ff; if(bi < bj) return true; else if(bi == bj) return i.ff >= j.ff; else return false; } bool cmp_min(ii &i, ii &j){ re...
19.430233
64
0.431478
tysm
5c0f54a87897b6f5197085bbbb2c7b57898aa7a9
9,590
cpp
C++
pxr/usd/usd/testenv/TestUsdResolverChangedResolver.cpp
benmalartre/USD
2d4ce8029cb9a8c15c59071ac6b7ff011dd0cb88
[ "Apache-2.0" ]
38
2019-03-05T18:34:28.000Z
2022-03-26T11:30:28.000Z
pxr/usd/usd/testenv/TestUsdResolverChangedResolver.cpp
benmalartre/USD
2d4ce8029cb9a8c15c59071ac6b7ff011dd0cb88
[ "Apache-2.0" ]
5
2021-12-16T03:19:10.000Z
2022-03-31T23:14:02.000Z
pxr/usd/usd/testenv/TestUsdResolverChangedResolver.cpp
benmalartre/USD
2d4ce8029cb9a8c15c59071ac6b7ff011dd0cb88
[ "Apache-2.0" ]
9
2019-08-10T02:40:50.000Z
2022-03-31T08:30:10.000Z
// // Copyright 2021 Pixar // // Licensed under the Apache License, Version 2.0 (the "Apache License") // with the following modification; you may not use this file except in // compliance with the Apache License and the following modification to it: // Section 6. Trademarks. is deleted and replaced with: // // 6. Trad...
32.730375
80
0.674244
benmalartre
5c0f6ea8269fd5dfaf9350f3f736ac93a98bb92e
54
hpp
C++
src/boost_numeric_odeint_util_n_ary_helper.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_numeric_odeint_util_n_ary_helper.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_numeric_odeint_util_n_ary_helper.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/numeric/odeint/util/n_ary_helper.hpp>
27
53
0.814815
miathedev
5c1a5094a31da75974f60b24d0c82eb9ecff91e4
6,589
cpp
C++
Othuum/AezeselFileIOLib/ImageIO.cpp
Liech/Yathsou
95b6dda3c053bc25789cce416088e22f54a743b4
[ "MIT" ]
5
2021-04-20T17:00:41.000Z
2022-01-18T20:16:03.000Z
Othuum/AezeselFileIOLib/ImageIO.cpp
Liech/Yathsou
95b6dda3c053bc25789cce416088e22f54a743b4
[ "MIT" ]
7
2021-08-22T21:30:50.000Z
2022-01-14T16:56:34.000Z
Othuum/AezeselFileIOLib/ImageIO.cpp
Liech/Yathsou
95b6dda3c053bc25789cce416088e22f54a743b4
[ "MIT" ]
null
null
null
#include "ImageIO.h" #include <stdexcept> #include "IyathuumCoreLib/BaseTypes/Color.h" #include "lib/lodepng/lodepng.h" #include "lib/gli/load_dds.hpp" #include "lib/gli/texture2d.hpp" #include "lib/gli/texture_cube.hpp" #include "lib/gli/sampler2d.hpp" #include <fstream> namespace Aezesel { ImageIO::ImageIO() {...
38.988166
167
0.649112
Liech
5c1c820e849627f0b6669355fb4cc457f8c884ee
37,446
cpp
C++
libmupen64plus/D3D8Interceptor/Direct3DDevice8Functions.cpp
Moliman/BizHawk
7d961d85bdf588072f344f220266002dee8ebc5a
[ "MIT" ]
1,414
2015-06-28T09:57:51.000Z
2021-10-14T03:51:10.000Z
libmupen64plus/D3D8Interceptor/Direct3DDevice8Functions.cpp
Moliman/BizHawk
7d961d85bdf588072f344f220266002dee8ebc5a
[ "MIT" ]
2,369
2015-06-25T01:45:44.000Z
2021-10-16T08:44:18.000Z
libmupen64plus/D3D8Interceptor/Direct3DDevice8Functions.cpp
Moliman/BizHawk
7d961d85bdf588072f344f220266002dee8ebc5a
[ "MIT" ]
430
2015-06-29T04:28:58.000Z
2021-10-05T18:24:17.000Z
#include "d3d8Wrapper.h" extern "C" { namespace D3D8Wrapper { ThreadSafePointerSet IDirect3DDevice8::m_List; D3D8Wrapper::IDirect3DDevice8::IDirect3DDevice8(D3D8Base::IDirect3DDevice8* realDevice) : IDirect3DUnknown((IUnknown*) realDevice) { LOG("IDirect3DDevice8::IDirect3DDevice8( " << realDevic...
42.026936
303
0.670619
Moliman
5c1d4711265c133adf09039f7ff96f59de370f4b
2,666
cpp
C++
zen/quix/utility/quix_utility_daemon.cpp
shauncroton/sg14
3e4932375ac0bcec3b38b8a7686589c888722830
[ "Apache-2.0" ]
1
2016-12-10T07:21:17.000Z
2016-12-10T07:21:17.000Z
zen/quix/utility/quix_utility_daemon.cpp
shauncroton/sg14
3e4932375ac0bcec3b38b8a7686589c888722830
[ "Apache-2.0" ]
null
null
null
zen/quix/utility/quix_utility_daemon.cpp
shauncroton/sg14
3e4932375ac0bcec3b38b8a7686589c888722830
[ "Apache-2.0" ]
null
null
null
/// /////////////////////////////////////////////////////////////////////////////////////////////////// /// #include <zen/quix/utility/quix_utility_daemon.hpp> //#include <zen/quix/node/quix_node.hpp> #include <string> #include <unordered_map> #include <utility> #include <stdexcept> #include <sstream> #include <sys/typ...
24.458716
99
0.373968
shauncroton
5c22a4caa0b81bc360bfb9ea8c2358129a8bfd47
1,390
hpp
C++
main/include/physicalmodel/physicalmodel.hpp
Dr-Danimal/robotsquiggles
0cfa379e2397df197c4c576aff67db1746b9656e
[ "MIT" ]
5
2020-12-01T22:07:12.000Z
2022-03-15T02:49:09.000Z
main/include/physicalmodel/physicalmodel.hpp
Dr-Danimal/robotsquiggles
0cfa379e2397df197c4c576aff67db1746b9656e
[ "MIT" ]
34
2020-10-15T23:05:50.000Z
2021-04-11T16:35:44.000Z
main/include/physicalmodel/physicalmodel.hpp
Dr-Danimal/robotsquiggles
0cfa379e2397df197c4c576aff67db1746b9656e
[ "MIT" ]
1
2021-01-17T01:23:54.000Z
2021-01-17T01:23:54.000Z
/** * Copyright 2020 Jonathan Bayless * * Use of this source code is governed by an MIT-style license that can be found * in the LICENSE file or at https://opensource.org/licenses/MIT. */ #ifndef _PHYSICAL_MODEL_PHYSICAL_MODEL_HPP_ #define _PHYSICAL_MODEL_PHYSICAL_MODEL_HPP_ #include "constraints.hpp" #include "g...
31.590909
80
0.688489
Dr-Danimal
5c239d679dc199f5e267a44d1884d131ebb50e16
1,004
hpp
C++
src/moser2/monitoringserver.hpp
pefoo/MoSer2
f593126112637c9fa3a7e6a66e34e80f515b796b
[ "MIT" ]
1
2019-06-01T11:39:53.000Z
2019-06-01T11:39:53.000Z
src/moser2/monitoringserver.hpp
pefoo/MoSer2
f593126112637c9fa3a7e6a66e34e80f515b796b
[ "MIT" ]
null
null
null
src/moser2/monitoringserver.hpp
pefoo/MoSer2
f593126112637c9fa3a7e6a66e34e80f515b796b
[ "MIT" ]
null
null
null
#ifndef MONITORINGSERVER_H #define MONITORINGSERVER_H #include <memory> #include "settingsprovider/isettingsprovider.hpp" namespace moser2 { namespace plugin { class PluginController; } // namespace plugin /// /// \brief The monitoring server entry point. /// class MonitoringServer { public: /// /// \brief Mon...
19.307692
69
0.693227
pefoo
5c244a5ed1798922346ab617c19739c53be511bf
4,188
cpp
C++
DT3Core/Scripting/ScriptingComponentsToVector2.cpp
9heart/DT3
4ba8fd2af3aebb5c0d77036ac3941e83cd4d1c7e
[ "MIT" ]
3
2018-10-05T15:03:27.000Z
2019-03-19T11:01:56.000Z
DT3Core/Scripting/ScriptingComponentsToVector2.cpp
pakoito/DT3
4ba8fd2af3aebb5c0d77036ac3941e83cd4d1c7e
[ "MIT" ]
1
2016-01-28T14:39:49.000Z
2016-01-28T22:12:07.000Z
DT3Core/Scripting/ScriptingComponentsToVector2.cpp
adderly/DT3
e2605be091ec903d3582e182313837cbaf790857
[ "MIT" ]
3
2016-01-25T16:44:51.000Z
2021-01-29T19:59:45.000Z
//============================================================================== /// /// File: ScriptingComponentsToVector2.cpp /// /// Copyright (C) 2000-2014 by Smells Like Donkey Software Inc. All rights reserved. /// /// This file is subject to the terms and conditions defined in /// file 'LICENSE.txt', which is ...
30.129496
113
0.477077
9heart
5c279bf6c80eb628a530ad02a18f8abd2e31cf82
637
cpp
C++
src/OSAL/Linux/Time.cpp
vestom/TinyFramework
8e528fdbd0656d8b5543d94dbadd3f52d2d77466
[ "MIT" ]
null
null
null
src/OSAL/Linux/Time.cpp
vestom/TinyFramework
8e528fdbd0656d8b5543d94dbadd3f52d2d77466
[ "MIT" ]
null
null
null
src/OSAL/Linux/Time.cpp
vestom/TinyFramework
8e528fdbd0656d8b5543d94dbadd3f52d2d77466
[ "MIT" ]
1
2020-04-28T14:13:47.000Z
2020-04-28T14:13:47.000Z
/* * Time.cpp * * Created on: Oct 19, 2016 * Author: tov */ #include "TF/TF.h" #ifdef _TF_OS_LINUX_ #include "TF/Time.h" #include "TF/Log.h" namespace TF { #include <time.h> TimeStamp Time::get_ms(void) { struct timespec ts; int ret = clock_gettime(CLOCK_MONOTONIC, &ts); if (ret) { Log::erro...
17.694444
57
0.613815
vestom
5c2f1d2ffe7f6a10eee5af7a12d4fd3bec2d4242
822
cpp
C++
3rdparty/mml/mml/src/mml/window/touch.cpp
ValtoForks/EtherealEngine
ab769803dcd71a61c2805afd259959b62fcdc1ff
[ "BSD-2-Clause" ]
791
2016-11-04T14:13:41.000Z
2022-03-20T20:47:31.000Z
3rdparty/mml/mml/src/mml/window/touch.cpp
volcoma/ospp
48de0844b66acf515ac17dc5e673435b33876b35
[ "MIT" ]
28
2016-12-01T05:59:30.000Z
2021-03-20T09:49:26.000Z
3rdparty/mml/mml/src/mml/window/touch.cpp
volcoma/ospp
48de0844b66acf515ac17dc5e673435b33876b35
[ "MIT" ]
151
2016-12-21T09:44:43.000Z
2022-03-31T13:42:18.000Z
//////////////////////////////////////////////////////////// // Headers //////////////////////////////////////////////////////////// #include <mml/window/touch.hpp> #include <mml/window/input_impl.hpp> namespace mml { //////////////////////////////////////////////////////////// bool touch::is_down(unsigned int finger...
26.516129
94
0.463504
ValtoForks
5c3be48175c67a14e53187f60e922659e88c7c7c
804
hpp
C++
src/mappers/ir_label_analyser.hpp
Wassasin/splicpp
b88bf8ec18985bc6ee5a8ccb952f413f23d74c5a
[ "Beerware" ]
2
2019-04-09T01:04:36.000Z
2019-05-12T06:17:03.000Z
src/mappers/ir_label_analyser.hpp
Wassasin/splicpp
b88bf8ec18985bc6ee5a8ccb952f413f23d74c5a
[ "Beerware" ]
null
null
null
src/mappers/ir_label_analyser.hpp
Wassasin/splicpp
b88bf8ec18985bc6ee5a8ccb952f413f23d74c5a
[ "Beerware" ]
null
null
null
#ifndef IR_LABEL_ANALYSER_H #define IR_LABEL_ANALYSER_H #include <map> #include <vector> #include "../common/typedefs.hpp" #include "generic/ir_stmt_mapper.hpp" namespace splicpp { class ir_stmt; class ir_label_analyser : public ir_stmt_mapper { size_t i; std::map<ir_label, size_t> index; ir_label_ana...
21.72973
92
0.7301
Wassasin
5c3cd1fd7a789d9d9926e820b21c86d27a288307
636
cpp
C++
algo-0007.cpp
jasson15/leetcode-cpp
f20efb521d7cc8405e83c95faf4d45fba2f6d93c
[ "MIT" ]
null
null
null
algo-0007.cpp
jasson15/leetcode-cpp
f20efb521d7cc8405e83c95faf4d45fba2f6d93c
[ "MIT" ]
null
null
null
algo-0007.cpp
jasson15/leetcode-cpp
f20efb521d7cc8405e83c95faf4d45fba2f6d93c
[ "MIT" ]
null
null
null
class Solution { public: int reverse(int x) { bool negative = x < 0 ? true : false; if (negative && x < -(pow(2, 31) - 1)) return 0; long abs_x = negative ? -x : x; long ret = 0; long MAX = negative ? pow(2, 31) : pow(2, 31) - 1; do { long r = abs_x % 10; ...
26.5
58
0.407233
jasson15
5c476596e409a2bdb19f5734b907638a9ffcc932
1,394
cc
C++
core/loader.cc
1282127821/No.js
7cc8b8ce44957e30c59ddebae59ed3aadfd2d84a
[ "MIT" ]
42
2021-06-09T02:25:35.000Z
2022-02-16T06:12:44.000Z
core/loader.cc
tangkepeng/No.js
5569dec2d416118cc33b1209c9d4569e51094921
[ "MIT" ]
null
null
null
core/loader.cc
tangkepeng/No.js
5569dec2d416118cc33b1209c9d4569e51094921
[ "MIT" ]
2
2021-09-19T02:24:21.000Z
2021-10-07T13:28:42.000Z
#include "loader.h" void No::Loader::Compile(V8_ARGS) { V8_ISOLATE V8_CONTEXT String::Utf8Value filename(isolate, args[0].As<String>()); int fd = open(*filename, 0 , O_RDONLY); std::string content; char buffer[4096]; while (1) { memset(buffer, 0, 4096); int ret = read...
31.681818
112
0.642037
1282127821
5c4adbf89fb1d907cd24a915501e1f89a18b3898
895
cpp
C++
chase_lobby/keyEventHandler.cpp
chaseYLC/chase_lobby
f359a635d00b9338ae6a490ae23c250e3904a443
[ "MIT" ]
1
2019-11-19T00:11:35.000Z
2019-11-19T00:11:35.000Z
chase_lobby/keyEventHandler.cpp
chaseYLC/chase_lobby
f359a635d00b9338ae6a490ae23c250e3904a443
[ "MIT" ]
null
null
null
chase_lobby/keyEventHandler.cpp
chaseYLC/chase_lobby
f359a635d00b9338ae6a490ae23c250e3904a443
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "keyEventHandler.h" #include <Winuser.h> #include <thread> #include <conio.h> #include <net/test_interface.h> #include <net/logger.h> #pragma warning( disable:4996) void keyEventHandler::processKey(const unsigned int vKey) { switch (vKey) { case VK_ESCAPE: { ...
17.211538
83
0.579888
chaseYLC
5c53577bcc1d9d55b87c9d3c9711b9810b693713
636
cxx
C++
Legolas/BlockMatrix/tst/SparseBlockMatrixTest/MySparseBlockMatrix.cxx
LaurentPlagne/Legolas
fdf533528baf7ab5fcb1db15d95d2387b3e3723c
[ "MIT" ]
null
null
null
Legolas/BlockMatrix/tst/SparseBlockMatrixTest/MySparseBlockMatrix.cxx
LaurentPlagne/Legolas
fdf533528baf7ab5fcb1db15d95d2387b3e3723c
[ "MIT" ]
null
null
null
Legolas/BlockMatrix/tst/SparseBlockMatrixTest/MySparseBlockMatrix.cxx
LaurentPlagne/Legolas
fdf533528baf7ab5fcb1db15d95d2387b3e3723c
[ "MIT" ]
1
2021-02-11T14:43:25.000Z
2021-02-11T14:43:25.000Z
#include "MySparseBlockMatrix.hxx" #include "MyDiagonalMatrix.hxx" MySparseBlockMatrix::MySparseBlockMatrix(const Legolas::MatrixShape<2> ms):SparseBlockMatrix(ms){ this->name()="MySparseBlockMatrix"; for (int i=0 ; i<this->nrows() ; i++){ for (int j=0 ; j<this->ncols() ; j++){ if (i==j) this->setSparseE...
39.75
112
0.685535
LaurentPlagne
5c5405c83900029fc49b43baaefe8da79c7b4d18
315
cpp
C++
source/fps_counter.cpp
baillyjamy/Nano-Swarm
1c8afb2d7da8b91b98036e17e048bd23f23935fe
[ "MIT" ]
8
2017-01-21T03:45:33.000Z
2017-01-26T13:54:27.000Z
source/fps_counter.cpp
baillyjamy/Nano-Swarm
1c8afb2d7da8b91b98036e17e048bd23f23935fe
[ "MIT" ]
null
null
null
source/fps_counter.cpp
baillyjamy/Nano-Swarm
1c8afb2d7da8b91b98036e17e048bd23f23935fe
[ "MIT" ]
null
null
null
#include <ctime> #include <iostream> #include "fps_counter.hpp" FPSCounter::FPSCounter() : last(time(nullptr)), frames(0) { } void FPSCounter::tick() { frames++; if (time(nullptr) - last >= 1) { std::cout << "FPS:" << frames << std::endl; frames = 0; last = time(nullptr); } }
15
49
0.561905
baillyjamy
5c55257bc9d9b3d4723d0490ee8dfdf2595d4339
2,065
cpp
C++
src/file_view_unix.cpp
lhamowski/kl
52f4a4dda7b6444e1f1432f62372d0949ccab6f6
[ "MIT" ]
3
2016-08-20T23:59:28.000Z
2020-03-04T17:49:46.000Z
src/file_view_unix.cpp
lhamowski/kl
52f4a4dda7b6444e1f1432f62372d0949ccab6f6
[ "MIT" ]
5
2020-02-17T12:57:01.000Z
2020-11-02T19:35:48.000Z
src/file_view_unix.cpp
lhamowski/kl
52f4a4dda7b6444e1f1432f62372d0949ccab6f6
[ "MIT" ]
2
2020-02-04T14:04:28.000Z
2020-03-04T17:50:10.000Z
#include "kl/file_view.hpp" #include <sys/stat.h> #include <unistd.h> #include <fcntl.h> #include <sys/mman.h> #include <system_error> #include <cassert> #include <cstddef> #include <utility> #include <errno.h> namespace kl { namespace { class file_descriptor { public: explicit file_descriptor(int fd = -1) noex...
21.510417
77
0.609685
lhamowski
5c563c93c37fee61daa5ff5d629624a05b3f014c
103,016
cpp
C++
roo_material_icons/filled/36/hardware.cpp
dejwk/roo_material_icons
f559ce25b6ee2fdf67ed4f8b0bedfce2aaefb885
[ "MIT" ]
null
null
null
roo_material_icons/filled/36/hardware.cpp
dejwk/roo_material_icons
f559ce25b6ee2fdf67ed4f8b0bedfce2aaefb885
[ "MIT" ]
null
null
null
roo_material_icons/filled/36/hardware.cpp
dejwk/roo_material_icons
f559ce25b6ee2fdf67ed4f8b0bedfce2aaefb885
[ "MIT" ]
null
null
null
#include "hardware.h" using namespace roo_display; // Image file ic_filled_36_hardware_browser_not_supported 36x36, 4-bit Alpha, RLE, 240 bytes. static const uint8_t ic_filled_36_hardware_browser_not_supported_data[] PROGMEM = { 0x80, 0xAE, 0x40, 0x0A, 0x05, 0x77, 0x77, 0x50, 0xAA, 0x05, 0x30, 0xBF, 0xFC, 0x0B, 0x...
73.320996
98
0.692349
dejwk
5c5ab7b27bfafcf316094ec58228166c1d3507b3
79
cpp
C++
sampleprj/scripts_and_conf/test/Main.cpp
astyl/AcrobatomaticBuildSystem
a8a4858d723a0673eeeb6f039af05dc86be638a9
[ "BSD-2-Clause-FreeBSD" ]
10
2019-01-07T20:17:05.000Z
2022-03-07T20:46:58.000Z
sampleprj/scripts_and_conf/test/Main.cpp
astyl/AcrobatomaticBuildSystem
a8a4858d723a0673eeeb6f039af05dc86be638a9
[ "BSD-2-Clause-FreeBSD" ]
1
2019-09-04T11:27:10.000Z
2019-09-04T15:02:36.000Z
sampleprj/scripts_and_conf/test/Main.cpp
astyl/AcrobatomaticBuildSystem
a8a4858d723a0673eeeb6f039af05dc86be638a9
[ "BSD-2-Clause-FreeBSD" ]
3
2019-08-30T10:01:55.000Z
2022-01-27T21:06:39.000Z
#include <cppunit/plugin/TestPlugIn.h> #undef main CPPUNIT_PLUGIN_IMPLEMENT();
19.75
38
0.810127
astyl
5c62fc560539cc51bd77000174f2edc914ce613f
771
cpp
C++
example/main.cpp
llHoYall/Cpp_Playground
3f50237c7530e31be571e67ad2a627d1f33bbf51
[ "MIT" ]
null
null
null
example/main.cpp
llHoYall/Cpp_Playground
3f50237c7530e31be571e67ad2a627d1f33bbf51
[ "MIT" ]
null
null
null
example/main.cpp
llHoYall/Cpp_Playground
3f50237c7530e31be571e67ad2a627d1f33bbf51
[ "MIT" ]
null
null
null
/******************************************************************************* * @brief Calculator example * @author llHoYall <hoya128@gmail.com> * @version v1.0 * @history * 2018.10.08 Created. ******************************************************************************/ /* Include Headers --------------...
30.84
80
0.360571
llHoYall
5c63f02897f14bfb819ec8d2af271075eb62e62a
11,993
cpp
C++
vendor/libbitcoin/test/message/address.cpp
X9Developers/xsn-wallet
7b5aaf6de15928c8cf5b86a844e56710c301df1f
[ "MIT" ]
1
2018-08-20T11:15:45.000Z
2018-08-20T11:15:45.000Z
vendor/libbitcoin/test/message/address.cpp
X9Developers/xsn-wallet
7b5aaf6de15928c8cf5b86a844e56710c301df1f
[ "MIT" ]
null
null
null
vendor/libbitcoin/test/message/address.cpp
X9Developers/xsn-wallet
7b5aaf6de15928c8cf5b86a844e56710c301df1f
[ "MIT" ]
3
2018-08-30T08:35:43.000Z
2019-03-29T15:36:26.000Z
/** * Copyright (c) 2011-2017 libbitcoin developers (see AUTHORS) * * This file is part of libbitcoin. * * 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 Lic...
28.021028
92
0.640624
X9Developers
5c640867112fefd43cba4072730fb07de03f7936
8,401
cpp
C++
Source/EngineIDE/Core/UI/Picker/ResourcePicker.cpp
vivienneanthony/MyForkEditor
273e15ca3610b3d3b68fdf2efbac2ba1b3659e7f
[ "Apache-2.0" ]
2
2015-12-30T00:32:09.000Z
2016-02-27T14:50:06.000Z
Source/EngineIDE/Core/UI/Picker/ResourcePicker.cpp
vivienneanthony/MyForkEditor
273e15ca3610b3d3b68fdf2efbac2ba1b3659e7f
[ "Apache-2.0" ]
null
null
null
Source/EngineIDE/Core/UI/Picker/ResourcePicker.cpp
vivienneanthony/MyForkEditor
273e15ca3610b3d3b68fdf2efbac2ba1b3659e7f
[ "Apache-2.0" ]
null
null
null
// // Copyright (c) 2008-2015 the Urho3D project. // // 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...
35.004167
132
0.710987
vivienneanthony
5c6a76ad9243816d0c5bae0a6fea2ecdcad0c00b
3,108
cpp
C++
src/CapitalHolder.cpp
tjakway/pyramid-scheme-simulator
4de02ac120b39185342f433999c2d360a7ccbf7e
[ "MIT" ]
null
null
null
src/CapitalHolder.cpp
tjakway/pyramid-scheme-simulator
4de02ac120b39185342f433999c2d360a7ccbf7e
[ "MIT" ]
null
null
null
src/CapitalHolder.cpp
tjakway/pyramid-scheme-simulator
4de02ac120b39185342f433999c2d360a7ccbf7e
[ "MIT" ]
null
null
null
#include "CapitalHolder.hpp" #include <string> #include <sstream> #include <exception> #include <mutex> namespace pyramid_scheme_simulator { void CapitalHolder::atomicallyDoSaleSideEffects( Money price, Distributor* seller, Consumer* buyer) { //use std::lock to lock 2 mutexes at the same...
22.042553
89
0.65251
tjakway
5c729c2e404ff431b134681d4a2511635c5ef730
4,600
hpp
C++
include/softrend/math.hpp
mushrom/softrend
eef6e8ef8cc32c04ea4371b4f59da4b68c4a754f
[ "MIT" ]
null
null
null
include/softrend/math.hpp
mushrom/softrend
eef6e8ef8cc32c04ea4371b4f59da4b68c4a754f
[ "MIT" ]
null
null
null
include/softrend/math.hpp
mushrom/softrend
eef6e8ef8cc32c04ea4371b4f59da4b68c4a754f
[ "MIT" ]
null
null
null
#pragma once #include <stdint.h> #include <math.h> namespace softrend { typedef float v2sf __attribute__((vector_size (8))); typedef float v4sf __attribute__((vector_size (16))); typedef v4sf v3sf; typedef float v8sf __attribute__((vector_size (32))); typedef float v16sf __attribute__((vector_size (64))); // TODO: do...
19.91342
81
0.600217
mushrom
5c72f6fc9c55fbb41097299aefce44e19c896e51
7,608
cpp
C++
src/BayesFilters/src/EstimatesExtraction.cpp
claudiofantacci/bayes-filters-lib
06a7f88c028a709e8a5288432d057d41d705603b
[ "BSD-3-Clause" ]
null
null
null
src/BayesFilters/src/EstimatesExtraction.cpp
claudiofantacci/bayes-filters-lib
06a7f88c028a709e8a5288432d057d41d705603b
[ "BSD-3-Clause" ]
null
null
null
src/BayesFilters/src/EstimatesExtraction.cpp
claudiofantacci/bayes-filters-lib
06a7f88c028a709e8a5288432d057d41d705603b
[ "BSD-3-Clause" ]
null
null
null
#include "BayesFilters/EstimatesExtraction.h" using namespace bfl; using namespace Eigen; EstimatesExtraction::EstimatesExtraction(EstimatesExtraction&& estimate_extraction) noexcept : extraction_method_(estimate_extraction.extraction_method_), hist_buffer_(std::move(estimate_extraction.hist_buffer_)), s...
33.222707
128
0.647476
claudiofantacci
5c7388f2d9f9f478c67c44cc871e99420cff6ecc
5,256
cpp
C++
BasicDemo/BasicDemo.cpp
0xAA55/GamePhysics
895cbf93273044c5bb3fe5259081cd1bdc22ef7b
[ "MIT" ]
null
null
null
BasicDemo/BasicDemo.cpp
0xAA55/GamePhysics
895cbf93273044c5bb3fe5259081cd1bdc22ef7b
[ "MIT" ]
null
null
null
BasicDemo/BasicDemo.cpp
0xAA55/GamePhysics
895cbf93273044c5bb3fe5259081cd1bdc22ef7b
[ "MIT" ]
null
null
null
#include<AppFrame.hpp> #include<GLRenderer.hpp> #include<GamePhysics.hpp> #include<iostream> #ifdef _WIN32 #include<Windows.h> #include<stdlib.h> int main(int argc, char **argv); int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, PSTR szCmdLine, int nShow) { return main(__argc, __argv); } int APIENTRY...
27.809524
122
0.645928
0xAA55
5c7607917e15a4500008482c99a82e3c9f1fb9ea
2,550
hpp
C++
include/tcb/utf_ranges/convert.hpp
tcbrindle/utf_ranges
ff5a0b1a4e7a9a2f6c4ec661989a52080f9396ab
[ "BSL-1.0" ]
28
2016-09-02T19:11:56.000Z
2022-01-23T12:54:26.000Z
include/tcb/utf_ranges/convert.hpp
tcbrindle/ranges-utf-utils
ff5a0b1a4e7a9a2f6c4ec661989a52080f9396ab
[ "BSL-1.0" ]
null
null
null
include/tcb/utf_ranges/convert.hpp
tcbrindle/ranges-utf-utils
ff5a0b1a4e7a9a2f6c4ec661989a52080f9396ab
[ "BSL-1.0" ]
2
2017-12-22T09:52:46.000Z
2021-07-28T00:30:52.000Z
// Copyright (c) 2016 Tristan Brindle (tcbrindle 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) #ifndef TCB_UTF_RANGES_CONVERT_HPP_INCLUDED #define TCB_UTF_RANGES_CONVERT_HPP_INCLUDED #include ...
27.717391
82
0.70549
tcbrindle
f07511911e494b72504525b9a508943838974249
3,784
cpp
C++
test/unowned_ptr.cpp
coryshrmn/cgs
6efbef7bbafbdae1269f56acd748041f3f00dcc1
[ "Apache-2.0" ]
3
2019-06-28T00:22:21.000Z
2020-06-09T09:09:36.000Z
test/unowned_ptr.cpp
coryshrmn/cgs
6efbef7bbafbdae1269f56acd748041f3f00dcc1
[ "Apache-2.0" ]
1
2017-10-20T05:01:25.000Z
2017-10-20T06:09:48.000Z
test/unowned_ptr.cpp
coryshrmn/cgs
6efbef7bbafbdae1269f56acd748041f3f00dcc1
[ "Apache-2.0" ]
null
null
null
/* Copyright 2017 Cory Sherman 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 wr...
21.5
105
0.631871
coryshrmn
f0775d6ceda873188566f273f12f9d9c21bf290d
30,478
cpp
C++
zookeeper/server/DataTree.cpp
cxxjava/CxxZookeeper
149677c785627aff839b2102ab265c745882fa52
[ "Apache-2.0" ]
16
2018-03-05T02:42:00.000Z
2020-11-30T12:57:19.000Z
zookeeper/server/DataTree.cpp
cxxjava/CxxZookeeper
149677c785627aff839b2102ab265c745882fa52
[ "Apache-2.0" ]
1
2021-06-04T03:25:59.000Z
2021-08-06T13:54:28.000Z
zookeeper/server/DataTree.cpp
cxxjava/CxxZookeeper
149677c785627aff839b2102ab265c745882fa52
[ "Apache-2.0" ]
10
2018-03-18T14:33:09.000Z
2021-05-24T05:56:28.000Z
/* * DataTree.cpp * * Created on: 2017-11-22 * Author: cxxjava@163.com */ #include "./DataTree.hh" namespace efc { namespace ezk { sp<ELogger> DataTree::LOG = ELoggerManager::getLogger("DataTree"); DataTree::DataTree() { root = new DataNode(null, new EA<byte>(0), -1L, new StatPersisted()); procDataNode...
29.968535
109
0.663987
cxxjava
f07a972c5b75e58d5da5797c4c03511301fd4dc9
3,809
cpp
C++
src/runtime_src/core/pcie/tools/xbmgmt/cmd_hotplug.cpp
houlz0507/XRT-1
1b66ba8a5031ac1f694b0686774218c0d7286c52
[ "Apache-2.0" ]
null
null
null
src/runtime_src/core/pcie/tools/xbmgmt/cmd_hotplug.cpp
houlz0507/XRT-1
1b66ba8a5031ac1f694b0686774218c0d7286c52
[ "Apache-2.0" ]
null
null
null
src/runtime_src/core/pcie/tools/xbmgmt/cmd_hotplug.cpp
houlz0507/XRT-1
1b66ba8a5031ac1f694b0686774218c0d7286c52
[ "Apache-2.0" ]
null
null
null
/** * Copyright (C) 2019 Xilinx, Inc * * Licensed under the Apache License, Version 2.0 (the "License"). You may * not use this file except in compliance with the License. A copy of the * License is located at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
23.658385
93
0.551063
houlz0507
f07bdee2b375560bda88804f30b33b0f30035c3c
462
cpp
C++
src/core/type_id.cpp
epicodic/diligent-graph
64325a17498fa6b913bffadfc1a43108c81dd7b0
[ "Apache-2.0" ]
3
2020-08-25T07:54:43.000Z
2021-01-14T20:05:06.000Z
src/core/type_id.cpp
epicodic/diligent-graph
64325a17498fa6b913bffadfc1a43108c81dd7b0
[ "Apache-2.0" ]
null
null
null
src/core/type_id.cpp
epicodic/diligent-graph
64325a17498fa6b913bffadfc1a43108c81dd7b0
[ "Apache-2.0" ]
null
null
null
#include <dg/core/type_id.hpp> #include <map> #include <string> namespace dg { namespace detail { TypeId TypeIdHelperBase::nextId(const std::type_info& type) { static TypeId next_id = 0; static std::map<std::string, TypeId> known_ids; std::string type_str = type.name(); auto it = known_ids.find(typ...
16.5
59
0.655844
epicodic
f07dcf52cb224e042ee913d5d27f4d552a1a43ee
2,751
cpp
C++
lib/cpp/Semaphore.cpp
kubasejdak/osal
6e43ba761572444b2f56b529e501f40c00d4e718
[ "BSD-2-Clause" ]
1
2021-09-12T21:05:45.000Z
2021-09-12T21:05:45.000Z
lib/cpp/Semaphore.cpp
kubasejdak/osal
6e43ba761572444b2f56b529e501f40c00d4e718
[ "BSD-2-Clause" ]
2
2020-01-24T18:00:15.000Z
2020-02-03T21:15:54.000Z
lib/cpp/Semaphore.cpp
kubasejdak/osal
6e43ba761572444b2f56b529e501f40c00d4e718
[ "BSD-2-Clause" ]
2
2020-06-15T16:27:58.000Z
2021-09-12T21:05:49.000Z
///////////////////////////////////////////////////////////////////////////////////// /// /// @file /// @author Kuba Sejdak /// @copyright BSD 2-Clause License /// /// Copyright (c) 2020-2021, Kuba Sejdak <kuba.sejdak@gmail.com> /// All rights reserved. /// /// Redistribution and use in source and binary forms, with or...
31.62069
112
0.698292
kubasejdak
f085eb4780b16c013e8378dd88ffd577ab695cc7
241
hpp
C++
arbor/util/file.hpp
kanzl/arbor
86b1eb065ac252bf0026de7cf7cbc6748a528254
[ "BSD-3-Clause" ]
53
2018-10-18T12:08:21.000Z
2022-03-26T22:03:51.000Z
arbor/util/file.hpp
kanzl/arbor
86b1eb065ac252bf0026de7cf7cbc6748a528254
[ "BSD-3-Clause" ]
864
2018-10-01T08:06:00.000Z
2022-03-31T08:06:48.000Z
arbor/util/file.hpp
kanzl/arbor
86b1eb065ac252bf0026de7cf7cbc6748a528254
[ "BSD-3-Clause" ]
37
2019-03-03T16:18:49.000Z
2022-03-24T10:39:51.000Z
#pragma once #include <string> #include <fstream> namespace arb { namespace util { inline bool file_exists(const std::string& file_path) { std::ifstream fid(file_path); return fid.good(); } } // namespace util } // namespace arb
15.0625
55
0.692946
kanzl
f08906ced6514239442bf77047da85c0b55d9598
5,741
hpp
C++
lpc2378/src/include/mng_monitor.hpp
bbk012/walle
2c6a9e5d46eab08d121f87aec99c508d1e182a89
[ "MIT" ]
null
null
null
lpc2378/src/include/mng_monitor.hpp
bbk012/walle
2c6a9e5d46eab08d121f87aec99c508d1e182a89
[ "MIT" ]
null
null
null
lpc2378/src/include/mng_monitor.hpp
bbk012/walle
2c6a9e5d46eab08d121f87aec99c508d1e182a89
[ "MIT" ]
null
null
null
/* ********************************************************************************************************* * LPC 2378 * * (c) Copyright 2013, Bogdan Kowalczyk, POLAND * All Rights Reserved * * * File: ...
49.068376
165
0.738896
bbk012
f0890b38fae8852784977c9597120a04187e2700
1,925
hpp
C++
gnnt/gnnt/training/metrics.hpp
iulian-rusu/genetic-nn-trainer
a4840fe3bbab18d4d2bf50dbcc886e9dbffc9e55
[ "MIT" ]
1
2022-01-16T16:08:31.000Z
2022-01-16T16:08:31.000Z
gnnt/gnnt/training/metrics.hpp
iulian-rusu/genetic-nn-trainer
a4840fe3bbab18d4d2bf50dbcc886e9dbffc9e55
[ "MIT" ]
null
null
null
gnnt/gnnt/training/metrics.hpp
iulian-rusu/genetic-nn-trainer
a4840fe3bbab18d4d2bf50dbcc886e9dbffc9e55
[ "MIT" ]
null
null
null
#ifndef GENETIC_NN_TRAINER_METRICS_HPP #define GENETIC_NN_TRAINER_METRICS_HPP #include <numeric> namespace gnnt { /** * Calculates the Categorical Cross-Entropy loss assuming mutually-exclusive categories. */ template<typename Model, typename DataIter, typename LabelIter> auto categorical_crosse...
35
103
0.595325
iulian-rusu
f0920ffeafcf1910ef68119ce2c7d2dd2b7aec3a
1,101
cpp
C++
test/pass/new_delete/08_inv_double_array_delete.cpp
alexanderlinne/TypeART
a83c63b3c82d1e4801c1c4651c9351b311ef1fa6
[ "BSD-3-Clause" ]
null
null
null
test/pass/new_delete/08_inv_double_array_delete.cpp
alexanderlinne/TypeART
a83c63b3c82d1e4801c1c4651c9351b311ef1fa6
[ "BSD-3-Clause" ]
null
null
null
test/pass/new_delete/08_inv_double_array_delete.cpp
alexanderlinne/TypeART
a83c63b3c82d1e4801c1c4651c9351b311ef1fa6
[ "BSD-3-Clause" ]
null
null
null
// clang-format off // RUN: %cpp-to-llvm %s | %apply-typeart -S 2>&1 | %filecheck %s // clang-format on #include <new> // CHECK: invoke{{.*}} i8* @_Znam(i64 16) // CHECK: call void @__typeart_alloc(i8* [[POINTER:%[0-9a-z]+]], i32 6, i64 2) // CHECK-NEXT: bitcast i8* {{.*}}[[POINTER]] to double* // CHECK: call void @_Z...
26.853659
78
0.544959
alexanderlinne
f09258718d93c15ea9dc7ff16d47d0a8200980bb
12,837
cc
C++
cinnrt/host_context/mlir_to_runtime_translate.cc
T8T9/CINN
3d5641c4dea370c6666255bc517c56b826a62773
[ "Apache-2.0" ]
null
null
null
cinnrt/host_context/mlir_to_runtime_translate.cc
T8T9/CINN
3d5641c4dea370c6666255bc517c56b826a62773
[ "Apache-2.0" ]
null
null
null
cinnrt/host_context/mlir_to_runtime_translate.cc
T8T9/CINN
3d5641c4dea370c6666255bc517c56b826a62773
[ "Apache-2.0" ]
null
null
null
#include "cinnrt/host_context/mlir_to_runtime_translate.h" #include <llvm/Support/SourceMgr.h> #include <mlir/Dialect/StandardOps/IR/Ops.h> #include <mlir/IR/Diagnostics.h> #include <mlir/IR/Function.h> #include <mlir/IR/OperationSupport.h> #include <mlir/Parser.h> #include <iostream> #include <memory> #include <stri...
36.677143
120
0.622731
T8T9
f094d8efa6a84b134e4e7037017a243d6837dd4b
6,626
cpp
C++
GATE_Engine/ModuleInput.cpp
DocDonkeys/3D_Engine
bb2868884c6eec0ef619a45b7e21f5cf3857fe1b
[ "MIT" ]
1
2019-12-28T18:28:27.000Z
2019-12-28T18:28:27.000Z
GATE_Engine/ModuleInput.cpp
DocDonkeys/3D_Engine
bb2868884c6eec0ef619a45b7e21f5cf3857fe1b
[ "MIT" ]
null
null
null
GATE_Engine/ModuleInput.cpp
DocDonkeys/3D_Engine
bb2868884c6eec0ef619a45b7e21f5cf3857fe1b
[ "MIT" ]
3
2020-02-13T22:52:44.000Z
2020-10-21T06:55:45.000Z
#include "ModuleWindow.h" #include "Globals.h" #include "Application.h" #include "ModuleInput.h" #include "ModuleEditor.h" #include "ModuleSceneIntro.h" #include "ModuleResources.h" #include "ModuleRenderer3D.h" #include "GeometryLoader.h" #include "libs/imgui/imgui_impl_sdl.h" #include <Windows.h> // Brofiler #inclu...
24.007246
132
0.672804
DocDonkeys
f099791315d8480388d4565b7bae7a71936f138c
4,707
cpp
C++
Intermediate/Build/Win64/UE4Editor/Inc/UnrealCPP/CreateStaticMesh.gen.cpp
Harrison1/unrealcpp-full-project
a0a84d124b3023a87cbcbf12cf8ee0a833dd4302
[ "MIT" ]
6
2018-04-22T15:27:39.000Z
2021-11-02T17:33:58.000Z
Intermediate/Build/Win64/UE4Editor/Inc/UnrealCPP/CreateStaticMesh.gen.cpp
Harrison1/unrealcpp-full-project
a0a84d124b3023a87cbcbf12cf8ee0a833dd4302
[ "MIT" ]
null
null
null
Intermediate/Build/Win64/UE4Editor/Inc/UnrealCPP/CreateStaticMesh.gen.cpp
Harrison1/unrealcpp-full-project
a0a84d124b3023a87cbcbf12cf8ee0a833dd4302
[ "MIT" ]
4
2018-07-26T15:39:46.000Z
2020-12-28T08:10:35.000Z
// Copyright 1998-2018 Epic Games, Inc. All Rights Reserved. /*=========================================================================== Generated code exported from UnrealHeaderTool. DO NOT modify this manually! Edit the corresponding .h files instead! ==============================================================...
50.074468
538
0.810283
Harrison1
f0a83403e8b681a66c1f5cf51bf2ccbe48166cc8
1,427
hpp
C++
packages/monte_carlo/collision/native/src/MonteCarlo_NuclideACEFactory.hpp
lkersting/SCR-2123
06ae3d92998664a520dc6a271809a5aeffe18f72
[ "BSD-3-Clause" ]
null
null
null
packages/monte_carlo/collision/native/src/MonteCarlo_NuclideACEFactory.hpp
lkersting/SCR-2123
06ae3d92998664a520dc6a271809a5aeffe18f72
[ "BSD-3-Clause" ]
null
null
null
packages/monte_carlo/collision/native/src/MonteCarlo_NuclideACEFactory.hpp
lkersting/SCR-2123
06ae3d92998664a520dc6a271809a5aeffe18f72
[ "BSD-3-Clause" ]
null
null
null
//---------------------------------------------------------------------------// //! //! \file MonteCarlo_NuclideACEFactory.hpp //! \author Alex Robinson //! \brief The nuclide ace factory class declaration //! //---------------------------------------------------------------------------// #ifndef MONTE_CARLO_NUCLID...
26.924528
79
0.59986
lkersting
f0aa6348d5dcd02a5f8c940ec41c3986987cadc3
1,194
hpp
C++
include/codegen/include/System/Reflection/AssemblyInformationalVersionAttribute.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
1
2021-11-12T09:29:31.000Z
2021-11-12T09:29:31.000Z
include/codegen/include/System/Reflection/AssemblyInformationalVersionAttribute.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
null
null
null
include/codegen/include/System/Reflection/AssemblyInformationalVersionAttribute.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
2
2021-10-03T02:14:20.000Z
2021-11-12T09:29:36.000Z
// Autogenerated from CppHeaderCreator on 7/27/2020 3:09:42 PM // Created by Sc2ad // ========================================================================= #pragma once #pragma pack(push, 8) // Begin includes #include "utils/typedefs.h" // Including type: System.Attribute #include "System/Attribute.hpp" #include "u...
41.172414
145
0.740369
Futuremappermydud
f0b8b35e64b4cf3b2bd373c12bfda48e889f0881
68,593
cpp
C++
WRK-V1.2/clr/src/vm/securityconfig.cpp
intj-t/openvmsft
0d17fbce8607ab2b880be976c2e86d8cfc3e83bb
[ "Intel" ]
null
null
null
WRK-V1.2/clr/src/vm/securityconfig.cpp
intj-t/openvmsft
0d17fbce8607ab2b880be976c2e86d8cfc3e83bb
[ "Intel" ]
null
null
null
WRK-V1.2/clr/src/vm/securityconfig.cpp
intj-t/openvmsft
0d17fbce8607ab2b880be976c2e86d8cfc3e83bb
[ "Intel" ]
null
null
null
// ==++== // // // Copyright (c) 2006 Microsoft Corporation. All rights reserved. // // The use and distribution terms for this software are contained in the file // named license.txt, which can be found in the root of this distribution. // By using this software in any fashion, you are agreeing to ...
27.393371
171
0.577464
intj-t
f0bfb655927c467f9c96acbe9c7103bfc8b8a699
1,159
cpp
C++
branchingLogic/nestedIF-formatedNumbersToOutput-v1.cpp
kilarionov/cppTopics
94461d25832b53e6c40c374fb2ff1695b3dfe3c7
[ "MIT" ]
null
null
null
branchingLogic/nestedIF-formatedNumbersToOutput-v1.cpp
kilarionov/cppTopics
94461d25832b53e6c40c374fb2ff1695b3dfe3c7
[ "MIT" ]
null
null
null
branchingLogic/nestedIF-formatedNumbersToOutput-v1.cpp
kilarionov/cppTopics
94461d25832b53e6c40c374fb2ff1695b3dfe3c7
[ "MIT" ]
1
2019-05-24T03:44:06.000Z
2019-05-24T03:44:06.000Z
/* You're given an array of integers. Can you find what fraction of the elements are positive numbers, negative numbers and zeroes? Print the value of the fractions in decimal form with 3 decimal places. Input Format: The first line contains N: the size of the array. The next line contains N space-separated integers....
26.953488
58
0.672131
kilarionov
f0c082f174a8af533242ad7d4963b5cd90edfb56
24,128
cpp
C++
ecdn/src/v20191012/model/DomainDetailInfo.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
43
2019-08-14T08:14:12.000Z
2022-03-30T12:35:09.000Z
ecdn/src/v20191012/model/DomainDetailInfo.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
12
2019-07-15T10:44:59.000Z
2021-11-02T12:35:00.000Z
ecdn/src/v20191012/model/DomainDetailInfo.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
28
2019-07-12T09:06:22.000Z
2022-03-30T08:04:18.000Z
/* * 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 ...
27.861432
145
0.66027
suluner
f0cae09146837a201e207ff07dda09c0fd9b1824
95
cpp
C++
Radiolocation/Source/WaveformInterface.cpp
bgin/MissileSimulation
90adcbf1c049daafb939f3fe9f9dfe792f26d5df
[ "MIT" ]
23
2016-08-28T23:20:12.000Z
2021-12-15T14:43:58.000Z
Radiolocation/Source/WaveformInterface.cpp
bgin/MissileSimulation
90adcbf1c049daafb939f3fe9f9dfe792f26d5df
[ "MIT" ]
1
2018-06-02T21:29:51.000Z
2018-06-05T05:59:31.000Z
Radiolocation/Source/WaveformInterface.cpp
bgin/MissileSimulation
90adcbf1c049daafb939f3fe9f9dfe792f26d5df
[ "MIT" ]
1
2019-07-04T22:38:22.000Z
2019-07-04T22:38:22.000Z
#include "WaveformInterface.h" // Virtual Destructor radiolocation::Waveform::~Waveform() { }
13.571429
36
0.747368
bgin
f0cc842ce89d267355c3292b0b39f6f4a8728100
1,478
cpp
C++
code/LiliEngine/RendererSystem.cpp
deltafran/Tiny3DRPG
59aab39bd844b3f242d14a739622d481e7e83283
[ "MIT" ]
1
2020-12-28T15:33:53.000Z
2020-12-28T15:33:53.000Z
code/LiliEngine/RendererSystem.cpp
deltafran/Tiny3DRPG
59aab39bd844b3f242d14a739622d481e7e83283
[ "MIT" ]
null
null
null
code/LiliEngine/RendererSystem.cpp
deltafran/Tiny3DRPG
59aab39bd844b3f242d14a739622d481e7e83283
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "RendererSystem.h" //----------------------------------------------------------------------------- // Indicates to hybrid graphics systems to prefer the discrete part by default //extern "C" //{ // __declspec(dllexport) DWORD NvOptimusEnablement = 0x00000001; // __declspec(dllexport) int Am...
34.372093
107
0.486468
deltafran
f0d81c65e4ccbf102cabfa09d9f43f19ae78e6cc
777
cpp
C++
plugin_III/game_III/C2deffectsModelInfo.cpp
Aleksandr-Belousov/plugin-sdk
5ca5f7d5575ae4138a4f165410a1acf0ae922260
[ "Zlib" ]
3
2020-01-25T18:54:05.000Z
2022-03-23T09:27:09.000Z
plugin_III/game_III/C2deffectsModelInfo.cpp
Aleksandr-Belousov/plugin-sdk
5ca5f7d5575ae4138a4f165410a1acf0ae922260
[ "Zlib" ]
null
null
null
plugin_III/game_III/C2deffectsModelInfo.cpp
Aleksandr-Belousov/plugin-sdk
5ca5f7d5575ae4138a4f165410a1acf0ae922260
[ "Zlib" ]
3
2020-10-03T21:34:05.000Z
2020-12-19T01:52:38.000Z
/* Plugin-SDK (Grand Theft Auto 3) source file Authors: GTA Community. See more here https://github.com/DK22Pac/plugin-sdk Do not delete this comment block. Respect others' work! */ #include "C2deffectsModelInfo.h" // Converted from thiscall void C2deffectsModelInfo::C2deffectsModelInfo(void) 0x50BE60 C2deffectsModel...
33.782609
88
0.772201
Aleksandr-Belousov
f0e05fb9a5b949a6339d168972e5b52088a83f16
431
cpp
C++
tests/rawtype.spec.cpp
timcogames/sway.module_core
c0710f1a98382274cafb006391dd7395c8cb4c22
[ "MIT" ]
null
null
null
tests/rawtype.spec.cpp
timcogames/sway.module_core
c0710f1a98382274cafb006391dd7395c8cb4c22
[ "MIT" ]
null
null
null
tests/rawtype.spec.cpp
timcogames/sway.module_core
c0710f1a98382274cafb006391dd7395c8cb4c22
[ "MIT" ]
null
null
null
#include <boost/test/unit_test.hpp> #include <sway/core.h> using namespace sway; template<typename T, typename U> struct DecayEquiv : std::is_same<core::detail::unwrap_t<T>, U>::type { // Empty }; BOOST_AUTO_TEST_SUITE(RawType_TestSuite_Unwrap) BOOST_AUTO_TEST_CASE(RawType_TestCase) { BOOST_CHECK((DecayEquiv<s32_...
22.684211
70
0.765661
timcogames
f0e770994828fb583a02f3cf328905d4876f4167
402
cpp
C++
C++/uri1117.cpp
AugustoDipNiloy/Uri-Solution
7f455395bbbe55edce8d12afd80fa5ebd03d17a1
[ "MIT" ]
1
2020-11-09T17:06:43.000Z
2020-11-09T17:06:43.000Z
C++/uri1117.cpp
AugustoDipNiloy/Uri-Solution
7f455395bbbe55edce8d12afd80fa5ebd03d17a1
[ "MIT" ]
null
null
null
C++/uri1117.cpp
AugustoDipNiloy/Uri-Solution
7f455395bbbe55edce8d12afd80fa5ebd03d17a1
[ "MIT" ]
2
2020-07-29T09:33:29.000Z
2020-08-02T08:44:36.000Z
#include <bits/stdc++.h> using namespace std; int main(void) { double a, sum = 0.0; int con = 0; for(int i = 0; con < 2; i++){ cin >> a; if(a >= 0.0 and a <= 10.0){ sum += a; con++; } else cout << "nota invalida" << endl; } cout...
16.75
72
0.412935
AugustoDipNiloy
f0e8259ef9ebf837cf07cd9be1d5869dfbc03031
14,227
cc
C++
mysqlx_table.cc
DusanZokic/pecl-database-mysql_xdevapi-trunk
e49aef311ba04ea3e70190c026d0c9ee8d1d3947
[ "PHP-3.01" ]
14
2017-11-16T03:13:31.000Z
2022-03-10T14:59:53.000Z
mysqlx_table.cc
DusanZokic/pecl-database-mysql_xdevapi-trunk
e49aef311ba04ea3e70190c026d0c9ee8d1d3947
[ "PHP-3.01" ]
8
2018-03-02T06:08:27.000Z
2022-01-18T10:34:43.000Z
mysqlx_table.cc
DusanZokic/pecl-database-mysql_xdevapi-trunk
e49aef311ba04ea3e70190c026d0c9ee8d1d3947
[ "PHP-3.01" ]
18
2018-03-01T13:45:16.000Z
2022-03-10T06:30:02.000Z
/* +----------------------------------------------------------------------+ | PHP Version 7 | +----------------------------------------------------------------------+ | Copyright (c) The PHP Group | +--------------...
27.465251
100
0.711816
DusanZokic
f0e8fcd9986932f21e4bce0f086e49e3bd1797c8
885
cpp
C++
TowerUp/TowerUp/DeadZone.cpp
PereViader/TowerUp
f80942d184eb0f8ebc921a17d821740000957255
[ "MIT" ]
null
null
null
TowerUp/TowerUp/DeadZone.cpp
PereViader/TowerUp
f80942d184eb0f8ebc921a17d821740000957255
[ "MIT" ]
null
null
null
TowerUp/TowerUp/DeadZone.cpp
PereViader/TowerUp
f80942d184eb0f8ebc921a17d821740000957255
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "DeadZone.h" #include "Globals.h" #include "Game.h" DeadZone::DeadZone() : _collidable(*this, sf::Vector2f((float)WINDOW_WIDTH, 300.f)), Entity("DeadZone", EntityType::World) { } DeadZone::~DeadZone() { } void DeadZone::Init() { game->Collision().AddCollidable(_collidable); } void De...
19.23913
90
0.735593
PereViader
f0e98de8885fb87510e1950d5a6400e228235d8c
2,264
inl
C++
Ruken/Source/Src/Threading/ThreadSafeLockQueue.inl
Renondedju/Daemon
8cdfcbc62d7e9dc6c6121ec1484555a23a20b8b6
[ "MIT" ]
4
2020-06-11T00:35:03.000Z
2020-06-23T11:57:52.000Z
Ruken/Source/Src/Threading/ThreadSafeLockQueue.inl
Renondedju/Daemon
8cdfcbc62d7e9dc6c6121ec1484555a23a20b8b6
[ "MIT" ]
1
2020-03-17T13:34:16.000Z
2020-03-17T13:34:16.000Z
Ruken/Source/Src/Threading/ThreadSafeLockQueue.inl
Renondedju/Daemon
8cdfcbc62d7e9dc6c6121ec1484555a23a20b8b6
[ "MIT" ]
2
2020-03-19T12:20:17.000Z
2020-09-03T07:49:06.000Z
template<typename TType> ThreadSafeLockQueue<TType>::ThreadSafeLockQueue(): m_empty_notification {}, m_push_notification {}, m_unlock_all {false}, m_empty_mutex {}, m_queue {} {} template<typename TType> ThreadSafeLockQueue<TType>::~ThreadSafeLockQueue() { R...
23.340206
109
0.674028
Renondedju
f0f2c7982c677b8d249cb7887b64a7ea130338f5
54,998
hh
C++
EnergyPlus/SetPointManager.hh
yurigabrich/EnergyPlusShadow
396ca83aa82b842e6b177ba35c91b3f481dfbbf9
[ "BSD-3-Clause" ]
null
null
null
EnergyPlus/SetPointManager.hh
yurigabrich/EnergyPlusShadow
396ca83aa82b842e6b177ba35c91b3f481dfbbf9
[ "BSD-3-Clause" ]
1
2020-07-08T13:32:09.000Z
2020-07-08T13:32:09.000Z
EnergyPlus/SetPointManager.hh
yurigabrich/EnergyPlusShadow
396ca83aa82b842e6b177ba35c91b3f481dfbbf9
[ "BSD-3-Clause" ]
null
null
null
// EnergyPlus, Copyright (c) 1996-2018, The Board of Trustees of the University of Illinois, // The Regents of the University of California, through Lawrence Berkeley National Laboratory // (subject to receipt of any required approvals from the U.S. Dept. of Energy), Oak Ridge // National Laboratory, managed by UT-Batt...
51.208566
150
0.663679
yurigabrich
e7c63c0ac0a8db0a29d3b610b43f13f318c9a6c2
1,359
hpp
C++
include/rabbitxx/trace/base.hpp
blastmaster/rabbitxx
c2f3d7852b10c1284d3621fbeba7b10507abdd74
[ "MIT" ]
null
null
null
include/rabbitxx/trace/base.hpp
blastmaster/rabbitxx
c2f3d7852b10c1284d3621fbeba7b10507abdd74
[ "MIT" ]
null
null
null
include/rabbitxx/trace/base.hpp
blastmaster/rabbitxx
c2f3d7852b10c1284d3621fbeba7b10507abdd74
[ "MIT" ]
null
null
null
#ifndef __RABBITXX_TRACE_BASE_HPP__ #define __RABBITXX_TRACE_BASE_HPP__ #include <otf2xx/definition/definitions.hpp> #include <otf2xx/event/events.hpp> #include <otf2xx/reader/callback.hpp> #include <boost/mpi.hpp> namespace rabbitxx { namespace trace { class base : public otf2::reader::callback { p...
23.842105
79
0.559971
blastmaster
e7c6d579349f818f9c7b3c928f923db481cfab6d
1,198
cpp
C++
CSE 225L Data Structures and Algorithms/Resources/Codes Previous/Spring-2019-CSE225 1/HW3_10(Stack Linked List)/main(10).cpp
diptu/Teaching
20655bb2c688ae29566b0a914df4a3e5936a2f61
[ "MIT" ]
null
null
null
CSE 225L Data Structures and Algorithms/Resources/Codes Previous/Spring-2019-CSE225 1/HW3_10(Stack Linked List)/main(10).cpp
diptu/Teaching
20655bb2c688ae29566b0a914df4a3e5936a2f61
[ "MIT" ]
null
null
null
CSE 225L Data Structures and Algorithms/Resources/Codes Previous/Spring-2019-CSE225 1/HW3_10(Stack Linked List)/main(10).cpp
diptu/Teaching
20655bb2c688ae29566b0a914df4a3e5936a2f61
[ "MIT" ]
null
null
null
#include <iostream> #include "postfix.h" #include "postfix.cpp" using namespace std; int main() { char in[100]; char po[100]; PostFix<char> P1; PostFix<int>P2; int i=0,j=0,res; int m,n; char ch; cout<<"Enter the infix expression:"; cin>>in; for(i=0;in[i]!=NULL;i++) { ...
17.114286
69
0.33222
diptu
e7c8645eba8ddd76e32d866ba0ba2246c5fdcbbd
14,555
cpp
C++
src/Broadcaster2006/Manager/Manager.cpp
pedroroque/DigitalBroadcaster
279e65b348421dcd8db53ebb588154b85dc169e9
[ "MIT" ]
null
null
null
src/Broadcaster2006/Manager/Manager.cpp
pedroroque/DigitalBroadcaster
279e65b348421dcd8db53ebb588154b85dc169e9
[ "MIT" ]
null
null
null
src/Broadcaster2006/Manager/Manager.cpp
pedroroque/DigitalBroadcaster
279e65b348421dcd8db53ebb588154b85dc169e9
[ "MIT" ]
null
null
null
// Manager.cpp : Defines the class behaviors for the application. // #include "stdafx.h" #include "Manager.h" #include "MainFrm.h" #include "OnAirUserFrame.h" #include "ManagerDoc.h" #include "OnAirUserView.h" #include "HDFrame.h" #include "HDView.h" #include "TimeFrame.h" #include "TimeView.h" #include "LogFrame.h" ...
26.131059
133
0.696049
pedroroque
e7cfe60b5809c00e43d871c3e26fc852cd3dd907
693
cpp
C++
usaco/january-2018/bronze/problem-1/problem-1.cpp
Yash-Singh1/competitive-programming
3b9d278ed8138ab614e2a3d748627db8f4a2cdbd
[ "MIT" ]
null
null
null
usaco/january-2018/bronze/problem-1/problem-1.cpp
Yash-Singh1/competitive-programming
3b9d278ed8138ab614e2a3d748627db8f4a2cdbd
[ "MIT" ]
null
null
null
usaco/january-2018/bronze/problem-1/problem-1.cpp
Yash-Singh1/competitive-programming
3b9d278ed8138ab614e2a3d748627db8f4a2cdbd
[ "MIT" ]
null
null
null
#include <iostream> #include <ios> using std::cin; int main() { std::ios_base::sync_with_stdio(false); cin.tie(nullptr); int b1x1{0}, b1y1{0}, b1x2{0}, b1y2{0}, b2x1{0}, b2y1{0}, b2x2{0}, b2y2{0}; cin >> b1x1 >> b1y1 >> b1x2 >> b1y2 >> b2x1 >> b2y1 >> b2x2 >> b2y2; int tarpX1{b1x1}, tarpY1{b1y1}, tarpX2{b1x...
27.72
77
0.58153
Yash-Singh1
e7d1c116fb54d09066e4ee04d62fd4e3cfdd4348
2,021
cpp
C++
isis/src/base/objs/PhotoModelFactory/PhotoModelFactory.cpp
kdl222/ISIS3
aab0e63088046690e6c031881825596c1c2cc380
[ "CC0-1.0" ]
134
2018-01-18T00:16:24.000Z
2022-03-24T03:53:33.000Z
isis/src/base/objs/PhotoModelFactory/PhotoModelFactory.cpp
kdl222/ISIS3
aab0e63088046690e6c031881825596c1c2cc380
[ "CC0-1.0" ]
3,825
2017-12-11T21:27:34.000Z
2022-03-31T21:45:20.000Z
isis/src/base/objs/PhotoModelFactory/PhotoModelFactory.cpp
jlaura/isis3
2c40e08caed09968ea01d5a767a676172ad20080
[ "CC0-1.0" ]
164
2017-11-30T21:15:44.000Z
2022-03-23T10:22:29.000Z
/** This is free and unencumbered software released into the public domain. The authors of ISIS do not claim copyright on the contents of this file. For more details about the LICENSE terms and the AUTHORS, you will find files of those names at the top level of this repository. **/ /* SPDX-License-Identifier: CC0-1.0 ...
29.289855
75
0.639287
kdl222
e7d27a6596bc065efd82d3d48cbb0282b16aba31
199
hpp
C++
rice/detail/env.hpp
MatteoRagni/rice
a1e8792c0bb45ead5f2a54228af40e65e74bfd83
[ "BSD-2-Clause" ]
null
null
null
rice/detail/env.hpp
MatteoRagni/rice
a1e8792c0bb45ead5f2a54228af40e65e74bfd83
[ "BSD-2-Clause" ]
null
null
null
rice/detail/env.hpp
MatteoRagni/rice
a1e8792c0bb45ead5f2a54228af40e65e74bfd83
[ "BSD-2-Clause" ]
null
null
null
#ifndef Rice__detail__env__hpp_ #define Rice__detail__env__hpp_ /** * Helper header for the env.h ruby include file, which does * not have extern "C" */ #include "ruby_version_code.hpp" #endif
16.583333
60
0.753769
MatteoRagni
e7db45e83f7c04e7331b4c2f6cbdc0de33bb5afc
807
cpp
C++
src/dumps.cpp
marcdraco/HotstuffChrono
c90187a3f72b465680efead86a8ec803a75c47d9
[ "BSD-2-Clause" ]
null
null
null
src/dumps.cpp
marcdraco/HotstuffChrono
c90187a3f72b465680efead86a8ec803a75c47d9
[ "BSD-2-Clause" ]
null
null
null
src/dumps.cpp
marcdraco/HotstuffChrono
c90187a3f72b465680efead86a8ec803a75c47d9
[ "BSD-2-Clause" ]
null
null
null
/* void dump(const void * mem, int count) { for (int i = 0; i < count; i++) { char buff[80]; if (i % 8 == 0) { sprintf(buff, "\n%08p: ", (void *) mem); Serial.print(buff); } int byte = pgm_read_byte(mem); sprintf(buff, " %03d", byte); ...
19.682927
50
0.417596
marcdraco
e7dd0ed699d1510843292b0c54de92be60ec1538
519
cpp
C++
2021.09.26 Lesson 2/Project8/Source.cpp
whitehet-sex-lman/The-first-course-2021.Cplpl
2bd2ad443d9c055fcd0694970d0a2f245b37f962
[ "Apache-2.0" ]
null
null
null
2021.09.26 Lesson 2/Project8/Source.cpp
whitehet-sex-lman/The-first-course-2021.Cplpl
2bd2ad443d9c055fcd0694970d0a2f245b37f962
[ "Apache-2.0" ]
null
null
null
2021.09.26 Lesson 2/Project8/Source.cpp
whitehet-sex-lman/The-first-course-2021.Cplpl
2bd2ad443d9c055fcd0694970d0a2f245b37f962
[ "Apache-2.0" ]
null
null
null
#include <iostream> using namespace std; int main(int argc, char* argv[]) { int a = 0; int b = 0; int c = 0; cin >> a >> b >> c; int x = 0; int y = 0; x = max(c, b); y = min(c, b); c = x; b = y; x = max(c, a); y = min(c, a); c = x; a = y; if (c < a + b) { if (c * c == a * a + b *...
14.416667
36
0.404624
whitehet-sex-lman
e7e0732f1a19838aa2603d45c6ae020401b8a4b1
3,737
cpp
C++
Example/Matrix/Vector4/main.cpp
X1aoyueyue/KVS
ad47d62bef4fdd9ddd3412a26ee6557b63f0543b
[ "BSD-3-Clause" ]
42
2015-07-24T23:05:07.000Z
2022-03-16T01:31:04.000Z
Example/Matrix/Vector4/main.cpp
X1aoyueyue/KVS
ad47d62bef4fdd9ddd3412a26ee6557b63f0543b
[ "BSD-3-Clause" ]
4
2015-03-17T05:42:49.000Z
2020-08-09T15:21:45.000Z
Example/Matrix/Vector4/main.cpp
X1aoyueyue/KVS
ad47d62bef4fdd9ddd3412a26ee6557b63f0543b
[ "BSD-3-Clause" ]
29
2015-01-03T05:56:32.000Z
2021-10-05T15:28:33.000Z
#include <iostream> #include <kvs/Vector4> int main() { std::cout << "Definition" << std::endl; kvs::Vector4<float> a( 1.0f, 2.0f, 3.0f, 4.0f ); std::cout << "a = [" << a[0] << " " << a[1] << " " << a[2] << " " << a[3] << "]" << std::endl; kvs::Vector4<float> b; b[0] = 5.0f; b[1] = 6.0f; ...
42.954023
115
0.464811
X1aoyueyue
e7e32f9c816494ae7e1befaf467fc4ced8dc79e7
5,156
cpp
C++
src/containers_test.cpp
c0d1f1ed/marl
ea671dced2ab456ec1a13655ace043389e2d9718
[ "Apache-2.0" ]
1
2019-09-11T06:15:56.000Z
2019-09-11T06:15:56.000Z
src/containers_test.cpp
c0d1f1ed/marl
ea671dced2ab456ec1a13655ace043389e2d9718
[ "Apache-2.0" ]
null
null
null
src/containers_test.cpp
c0d1f1ed/marl
ea671dced2ab456ec1a13655ace043389e2d9718
[ "Apache-2.0" ]
1
2021-04-07T08:47:54.000Z
2021-04-07T08:47:54.000Z
// Copyright 2019 The Marl Authors. // // 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...
26.57732
75
0.65768
c0d1f1ed
e7e8cac72be3a9dcc5d56a477a1d427766130cc3
419
cpp
C++
CommonLibF4/src/RE/Scaleform/GFx/GFx_Player.cpp
blipvert/CommonLibF4
d8681e20ed560fe14c45b02d6717f3444ed5ec9d
[ "MIT" ]
24
2019-07-01T06:48:42.000Z
2022-03-06T02:20:30.000Z
CommonLibF4/src/RE/Scaleform/GFx/GFx_Player.cpp
blipvert/CommonLibF4
d8681e20ed560fe14c45b02d6717f3444ed5ec9d
[ "MIT" ]
4
2021-04-25T03:58:17.000Z
2022-01-28T06:52:35.000Z
CommonLibF4/src/RE/Scaleform/GFx/GFx_Player.cpp
blipvert/CommonLibF4
d8681e20ed560fe14c45b02d6717f3444ed5ec9d
[ "MIT" ]
11
2019-07-01T19:56:11.000Z
2022-02-27T19:46:07.000Z
#include "RE/Scaleform/GFx/GFx_Player.h" #include "RE/Scaleform/GFx/GFx_ASMovieRootBase.h" namespace RE::Scaleform::GFx { void Movie::CreateFunction(Value* a_value, FunctionHandler* a_function, void* a_userData) { asMovieRoot->CreateFunction(a_value, a_function, a_userData); } bool Movie::GetVariable(Value* a_...
24.647059
90
0.76611
blipvert
e7ed3e37daa3ede5925473e8ae81b6919813f5f4
6,164
hpp
C++
libs/boost_1_72_0/boost/test/utils/runtime/errors.hpp
henrywarhurst/matrix
317a2a7c35c1c7e3730986668ad2270dc19809ef
[ "BSD-3-Clause" ]
null
null
null
libs/boost_1_72_0/boost/test/utils/runtime/errors.hpp
henrywarhurst/matrix
317a2a7c35c1c7e3730986668ad2270dc19809ef
[ "BSD-3-Clause" ]
null
null
null
libs/boost_1_72_0/boost/test/utils/runtime/errors.hpp
henrywarhurst/matrix
317a2a7c35c1c7e3730986668ad2270dc19809ef
[ "BSD-3-Clause" ]
null
null
null
// (C) Copyright Gennadiy Rozental 2001. // 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/test for the library home page. // // File : $RCSfile$ // // Version : ...
33.139785
82
0.686405
henrywarhurst
e7ef769837e04e7670e269d59b0fa77f79b3078e
132
cpp
C++
BuildForiOS/Classes/Native/Bulk_Generics_3.cpp
EmmaPham/Meow
b16e7729622b7d29a94c28c052c27fc654809187
[ "MIT" ]
null
null
null
BuildForiOS/Classes/Native/Bulk_Generics_3.cpp
EmmaPham/Meow
b16e7729622b7d29a94c28c052c27fc654809187
[ "MIT" ]
null
null
null
BuildForiOS/Classes/Native/Bulk_Generics_3.cpp
EmmaPham/Meow
b16e7729622b7d29a94c28c052c27fc654809187
[ "MIT" ]
null
null
null
version https://git-lfs.github.com/spec/v1 oid sha256:1b58a95ecc3639df7d047ebe59acc7b69cab6f5f0932e6b4aac935cc6ae5624d size 1355480
33
75
0.886364
EmmaPham
e7ef7aac461a08cc7feb4c4d97673db63333b665
1,803
cpp
C++
Source/Project/FPSHUD.cpp
Puca21/ProjectYr4
de1d11be138685c5c68a9b7881b396847109d551
[ "MIT" ]
null
null
null
Source/Project/FPSHUD.cpp
Puca21/ProjectYr4
de1d11be138685c5c68a9b7881b396847109d551
[ "MIT" ]
null
null
null
Source/Project/FPSHUD.cpp
Puca21/ProjectYr4
de1d11be138685c5c68a9b7881b396847109d551
[ "MIT" ]
null
null
null
// Fill out your copyright notice in the Description page of Project Settings. #include "Project.h" #include "FPSHUD.h" AFPSHUD::AFPSHUD(const FObjectInitializer& ObjectInitializer) :Super(ObjectInitializer) { //Set the crosshair texture static ConstructorHelpers::FObjectFinder<UTexture2D> CrosshairTexObj(TEXT("T...
32.196429
116
0.721021
Puca21
e7f36e6a1c2d969d8305ea6e760b3cac59a96d11
1,198
hpp
C++
mdal/mdal_logger.hpp
jmkerloch/MDAL
e3d9dc666fe84e0f71384c9e6c1cbabd9115fffc
[ "MIT" ]
112
2018-04-10T09:15:35.000Z
2022-03-23T17:03:23.000Z
mdal/mdal_logger.hpp
jmkerloch/MDAL
e3d9dc666fe84e0f71384c9e6c1cbabd9115fffc
[ "MIT" ]
277
2018-04-10T11:40:53.000Z
2022-03-13T06:23:15.000Z
mdal/mdal_logger.hpp
jmkerloch/MDAL
e3d9dc666fe84e0f71384c9e6c1cbabd9115fffc
[ "MIT" ]
43
2018-04-26T00:03:22.000Z
2022-03-25T06:36:17.000Z
/* MDAL - Mesh Data Abstraction Library (MIT License) Copyright (C) 2020 Tomas Mizera (tomas.mizera2 at gmail dot com) */ #ifndef MDAL_LOGGER_H #define MDAL_LOGGER_H #include <string> #include "mdal_utils.hpp" namespace MDAL { /** * Namespace including functions responsible for handling logs. * * Use i...
28.52381
81
0.707846
jmkerloch
e7f53d93670de3af3e19ad7807a24f958a6b3fa6
262
cpp
C++
src/examples/006Chapter/6-2-4-array-param/main.cpp
artgonzalez/cpp-primer
0317e11b5821860d38a236f24c6f7d76638386f3
[ "MIT" ]
null
null
null
src/examples/006Chapter/6-2-4-array-param/main.cpp
artgonzalez/cpp-primer
0317e11b5821860d38a236f24c6f7d76638386f3
[ "MIT" ]
null
null
null
src/examples/006Chapter/6-2-4-array-param/main.cpp
artgonzalez/cpp-primer
0317e11b5821860d38a236f24c6f7d76638386f3
[ "MIT" ]
null
null
null
#include <iostream> #include "array_params.h" using std::cout; int main() { int nums[] = {5,1,4,10,8,7}; display_array(nums, 6); std::cout<<"\n"; display_array_1(nums, 6); std::cout<<"\n"; display_array_2(nums, 6); return 0; }
12.47619
32
0.568702
artgonzalez
e7fa44871afa3697b52de4a2d73885127885b8bd
750
hpp
C++
include/rote/tests/BCastRedist.hpp
mdschatz/rote
111e965c6365c605f9872ee8302b1170565a3002
[ "BSD-3-Clause" ]
null
null
null
include/rote/tests/BCastRedist.hpp
mdschatz/rote
111e965c6365c605f9872ee8302b1170565a3002
[ "BSD-3-Clause" ]
null
null
null
include/rote/tests/BCastRedist.hpp
mdschatz/rote
111e965c6365c605f9872ee8302b1170565a3002
[ "BSD-3-Clause" ]
2
2018-07-21T15:39:45.000Z
2021-02-09T20:34:50.000Z
#pragma once #ifndef ROTE_TESTS_BCASTREDIST_HPP #define ROTE_TESTS_BCASTREDIST_HPP using namespace rote; std::vector<RedistTest > CreateBCastTests(const TensorDistribution& distA){ Unsigned i; std::vector<RedistTest > ret; const Unsigned order = distA.size() - 1; for(i = 0; i <= distA[order].size(); ...
27.777778
87
0.693333
mdschatz
f002ef0faf8b473b9fa08bcb72b2167aa6f97152
1,268
cpp
C++
src/LightBuffer.cpp
Shimmen/Prospect
2f4abe1903cfaae1d62b981e6656f480a519f8e2
[ "MIT" ]
4
2018-12-19T08:36:43.000Z
2022-01-11T00:37:57.000Z
src/LightBuffer.cpp
Shimmen/Prospect
2f4abe1903cfaae1d62b981e6656f480a519f8e2
[ "MIT" ]
null
null
null
src/LightBuffer.cpp
Shimmen/Prospect
2f4abe1903cfaae1d62b981e6656f480a519f8e2
[ "MIT" ]
null
null
null
#include "LightBuffer.h" #include "Logging.h" #include "TextureSystem.h" #include "shader_locations.h" void LightBuffer::RecreateGpuResources(int width, int height, const GBuffer& gBuffer) { this->width = width; this->height = height; // Docs: "glDeleteTextures silently ignores 0's and names that do not correspo...
30.926829
111
0.768927
Shimmen
f0035655a3e9e4ef54ffb170eb54da4003dd3d66
1,071
cpp
C++
c++/boost/Foreach/example.cpp
chenmingqiang/codesnippet
6f355113fe4299d5cd0ddce6d8794a2fece0e891
[ "MIT" ]
null
null
null
c++/boost/Foreach/example.cpp
chenmingqiang/codesnippet
6f355113fe4299d5cd0ddce6d8794a2fece0e891
[ "MIT" ]
null
null
null
c++/boost/Foreach/example.cpp
chenmingqiang/codesnippet
6f355113fe4299d5cd0ddce6d8794a2fece0e891
[ "MIT" ]
null
null
null
#include <string> #include <vector> #include <deque> #include <list> #include <iostream> #include <boost/foreach.hpp> using namespace std; int main() { string hello( "Hello, world!" ); BOOST_FOREACH( char ch, hello ) { cout << ch; } cout << endl; list<int> list_int; list_int.push_back(1); list_...
16.734375
42
0.581699
chenmingqiang
f007a3a9159773681dfad252f7c64c2371cb573d
10,806
cc
C++
cext/src/octree.cu.cc
isunchy/cuboid_abstraction
afda6ca8516c2f5e5e7292b3b22a059a4f6c84ec
[ "MIT" ]
43
2019-09-20T07:45:08.000Z
2022-03-23T04:07:21.000Z
cext/src/octree.cu.cc
SilenKZYoung/cuboid_abstraction
afda6ca8516c2f5e5e7292b3b22a059a4f6c84ec
[ "MIT" ]
4
2019-11-25T00:57:10.000Z
2021-09-02T10:59:05.000Z
cext/src/octree.cu.cc
SilenKZYoung/cuboid_abstraction
afda6ca8516c2f5e5e7292b3b22a059a4f6c84ec
[ "MIT" ]
10
2019-09-10T02:19:47.000Z
2021-06-16T05:23:43.000Z
#define EIGEN_USE_THREADS #include "octree.h" #include "cuda.h" #include "device_launch_parameters.h" #include "tensorflow/core/util/cuda_kernel_helper.h" #include "tensorflow/core/platform/stream_executor.h" namespace tensorflow { typedef Eigen::GpuDevice GPUDevice; namespace { perftools::gputools::DeviceMemory<f...
33.663551
79
0.616509
isunchy
f00bb417325524fa727b90474ad288d0ca0b3adf
1,796
cc
C++
test/benchmark.cc
wz30/lightning
92b79c9390a0c5e0a7f52a9eb6650e67128b6741
[ "MIT" ]
13
2022-01-22T21:41:27.000Z
2022-03-29T06:45:31.000Z
test/benchmark.cc
wz30/lightning
92b79c9390a0c5e0a7f52a9eb6650e67128b6741
[ "MIT" ]
1
2022-03-12T07:48:43.000Z
2022-03-18T02:12:42.000Z
test/benchmark.cc
wz30/lightning
92b79c9390a0c5e0a7f52a9eb6650e67128b6741
[ "MIT" ]
3
2022-01-28T09:18:12.000Z
2022-02-21T20:35:01.000Z
#include <chrono> #include <cstring> #include <fcntl.h> #include <iostream> #include <stdlib.h> #include <sys/mman.h> #include <sys/shm.h> #include <sys/stat.h> #include <sys/types.h> #include <unistd.h> #include "client.h" void test(LightningClient &client, int object_size) { char *a = new char[object_size]; for...
21.380952
57
0.614143
wz30
f00cc4310aa9b53177b43655b6d1b1ec561143f4
2,702
cpp
C++
RLSimion/Lib/worlds/templatedConfigFile.cpp
utercero/SimionZoo
1fa570ae88f5d7e88e13a67ec27cda2de820ffee
[ "Zlib" ]
30
2019-02-20T19:33:15.000Z
2020-03-26T13:46:51.000Z
RLSimion/Lib/worlds/templatedConfigFile.cpp
utercero/SimionZoo
1fa570ae88f5d7e88e13a67ec27cda2de820ffee
[ "Zlib" ]
52
2018-02-28T17:16:37.000Z
2019-02-15T18:26:21.000Z
RLSimion/Lib/worlds/templatedConfigFile.cpp
borjafdezgauna/SimionZoo
42dd3106d60077bea7e6b64b9f25c3268adc3be8
[ "Zlib" ]
25
2019-02-20T19:30:52.000Z
2022-01-01T03:15:21.000Z
/* SimionZoo: A framework for online model-free Reinforcement Learning on continuous control problems Copyright (c) 2016 SimionSoft. https://github.com/simionsoft Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to ...
35.090909
135
0.784604
utercero
f00dedc69b12b664192473dc9175aad0996c0d81
649
cpp
C++
02_Shaders/ScreenVAO.cpp
Csabix/SDF-Rendering-Engine
26f0621734d318b10ebb8414c6806f8d5cffcf4b
[ "MIT" ]
4
2019-04-17T06:29:24.000Z
2022-02-27T17:26:44.000Z
02_Shaders/ScreenVAO.cpp
Csabix/SDF-Rendering-Engine
26f0621734d318b10ebb8414c6806f8d5cffcf4b
[ "MIT" ]
null
null
null
02_Shaders/ScreenVAO.cpp
Csabix/SDF-Rendering-Engine
26f0621734d318b10ebb8414c6806f8d5cffcf4b
[ "MIT" ]
2
2019-08-05T15:51:42.000Z
2020-10-15T07:52:39.000Z
#include "ScreenVAO.h" #include <glm/glm.hpp> ScreenVAO::ScreenVAO() { glm::vec2 vert[] = { glm::vec2(-1, -1), glm::vec2(+1, -1), glm::vec2(-1, +1), glm::vec2(+1, +1), }; glGenVertexArrays(1, &vao); glBindVertexArray(vao); glGenBuffers(1, &vbo); glBindBuffer(GL_ARRAY_BUFFER, vbo); glBufferData(GL_ARRA...
19.666667
79
0.68567
Csabix
f00e89eb2ebb7ba6ee5ce0ea624086bff5b488e0
784
cpp
C++
stlport/test/regression/deque1.cpp
masscry/dmc
c7638f7c524a65bc2af0876c76621d8a11da42bb
[ "BSL-1.0" ]
86
2018-05-24T12:03:44.000Z
2022-03-13T03:01:25.000Z
stlport/test/regression/deque1.cpp
masscry/dmc
c7638f7c524a65bc2af0876c76621d8a11da42bb
[ "BSL-1.0" ]
1
2019-05-30T01:38:40.000Z
2019-10-26T07:15:01.000Z
stlport/test/regression/deque1.cpp
masscry/dmc
c7638f7c524a65bc2af0876c76621d8a11da42bb
[ "BSL-1.0" ]
14
2018-07-16T08:29:12.000Z
2021-08-23T06:21:30.000Z
// STLport regression testsuite component. // To compile as a separate example, please #define MAIN. #include <deque> #include <algorithm> #include <iostream> #ifdef MAIN #define deque1_test main #endif #if !defined (STLPORT) || defined(__STL_USE_NAMESPACES) using namespace std; #endif int deque1_test(int, char**...
18.666667
57
0.598214
masscry
f015839f4fd9f025ae41c5d3afa8f704f187b9e1
582
hpp
C++
plugins/x11input/include/sge/x11input/keyboard/device_unique_ptr.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
2
2016-01-27T13:18:14.000Z
2018-05-11T01:11:32.000Z
plugins/x11input/include/sge/x11input/keyboard/device_unique_ptr.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
null
null
null
plugins/x11input/include/sge/x11input/keyboard/device_unique_ptr.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
3
2018-05-11T01:11:34.000Z
2021-04-24T19:47:45.000Z
// Copyright Carl Philipp Reh 2006 - 2019. // 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) #ifndef SGE_X11INPUT_KEYBOARD_DEVICE_UNIQUE_PTR_HPP_INCLUDED #define SGE_X11INPUT_KEYBOARD_DEVICE_U...
22.384615
77
0.771478
cpreh
f01c030bd20fa813bb540857fde212ab8880117b
1,556
cpp
C++
Test/Algorithms/algo/test_rndshf.cpp
zsmj2017/SGI-STL-Sources-in-C-11-
867d02b5d45178ac649fffef1f4024224903987a
[ "MIT" ]
null
null
null
Test/Algorithms/algo/test_rndshf.cpp
zsmj2017/SGI-STL-Sources-in-C-11-
867d02b5d45178ac649fffef1f4024224903987a
[ "MIT" ]
null
null
null
Test/Algorithms/algo/test_rndshf.cpp
zsmj2017/SGI-STL-Sources-in-C-11-
867d02b5d45178ac649fffef1f4024224903987a
[ "MIT" ]
null
null
null
#include "Algorithms/algo/stl_algo.h" #include "SequenceContainers/Vector/stl_vector.h" #include <gtest/gtest.h> using namespace ::MiniSTL; class RndShuffleTest : public testing::Test { protected: void SetUp() override { } class MyRandomGenerator { public: unsigned long operator()(unsigned long n) { ...
29.923077
53
0.602185
zsmj2017
f01fda7cd220704aa5f4d357db5fcd0c405acf8a
19,082
cpp
C++
Samples/Browser/Symbian/src/OgreSamplesBrowserContainer.cpp
rjdgtn/OgreCPPBuilder
1d3fa5874e54da9c19f4fe9fd128fcda19285b5e
[ "MIT" ]
108
2015-01-23T01:43:56.000Z
2021-12-23T07:00:48.000Z
Samples/Browser/Symbian/src/OgreSamplesBrowserContainer.cpp
venscn/ogre
069a43c4c4fcb5264c995fca65a28acd3154b230
[ "MIT" ]
2
2016-03-05T14:40:20.000Z
2017-02-20T11:33:51.000Z
Samples/Browser/Symbian/src/OgreSamplesBrowserContainer.cpp
venscn/ogre
069a43c4c4fcb5264c995fca65a28acd3154b230
[ "MIT" ]
92
2015-01-13T08:57:11.000Z
2021-09-19T05:20:55.000Z
/* ----------------------------------------------------------------------------- This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info, see http://www.ogre3d.org/ Copyright (c) 2000-2011 Torus Knot Software Ltd Permission is hereby granted, free of charge, to any person ...
38.705882
113
0.623782
rjdgtn
f020b0a5bdcacd92ed3cd822e7031c97e57a1348
1,426
cpp
C++
main.cpp
robertjonesdev/CS162-OOP-Console-RPG
c41016b21e2c75ed39426906c79481c3066ee128
[ "MIT" ]
1
2020-11-22T10:27:05.000Z
2020-11-22T10:27:05.000Z
main.cpp
robertjonesdev/OOP-Console-RPG
c41016b21e2c75ed39426906c79481c3066ee128
[ "MIT" ]
null
null
null
main.cpp
robertjonesdev/OOP-Console-RPG
c41016b21e2c75ed39426906c79481c3066ee128
[ "MIT" ]
1
2021-08-21T21:42:05.000Z
2021-08-21T21:42:05.000Z
/******************************************************************************* ** Program name: OOP Console RPG - Myrddin Emrys Realm ** Author: Robert Jones ** Date: March 19, 2019 ** Description: “Myrddin Emry’s Realm” is a one-player, text-based fantasy game using object-oriented programming concep...
31.688889
82
0.561711
robertjonesdev
f020fa6604e69f794394b1477f9a466f90725482
2,853
cpp
C++
libsafs/unit-test/file_mapper_unit_test.cpp
kjhyun824/uncertain-graph-engine
17aa1b8b5d03b03200583797ab0cfb4a42ff8845
[ "Apache-2.0" ]
140
2015-01-02T21:28:55.000Z
2015-12-22T01:25:03.000Z
libsafs/unit-test/file_mapper_unit_test.cpp
kjhyun824/uncertain-graph-engine
17aa1b8b5d03b03200583797ab0cfb4a42ff8845
[ "Apache-2.0" ]
160
2016-11-07T18:37:33.000Z
2020-03-10T22:57:07.000Z
libsafs/unit-test/file_mapper_unit_test.cpp
kjhyun824/uncertain-graph-engine
17aa1b8b5d03b03200583797ab0cfb4a42ff8845
[ "Apache-2.0" ]
25
2016-11-14T04:31:29.000Z
2020-07-28T04:58:44.000Z
#include <stdlib.h> #include <time.h> #include <assert.h> #include <memory> #include <vector> #include "file_mapper.h" using namespace safs; struct extended_block_identifier { struct block_identifier bid; off_t orig_off; }; typedef std::vector<struct extended_block_identifier> id_vec; void test_get_file_sizes(c...
28.247525
105
0.664564
kjhyun824
f022c37a62068c97650e04400c605be22afd48de
368
cpp
C++
src_blockchain/flash_store/FlashChainStore.cpp
alinous-core/codablecash
04ca04c9bc179aa81d4277ed34320b4340628bd1
[ "MIT" ]
6
2019-01-06T05:02:39.000Z
2020-10-01T11:45:32.000Z
src_blockchain/flash_store/FlashChainStore.cpp
alinous-core/codablecash
04ca04c9bc179aa81d4277ed34320b4340628bd1
[ "MIT" ]
209
2018-05-18T03:07:02.000Z
2022-03-26T11:42:41.000Z
src_blockchain/flash_store/FlashChainStore.cpp
alinous-core/codablecash
04ca04c9bc179aa81d4277ed34320b4340628bd1
[ "MIT" ]
3
2019-07-06T09:16:36.000Z
2020-10-15T08:23:28.000Z
/* * FlashChainStore.cpp * * Created on: 2019/01/23 * Author: iizuka */ #include "flash_store/FlashChainStore.h" #include "base_io/File.h" namespace codablecash { FlashChainStore::FlashChainStore(const File* baseDir) { this->baseDir = new File(*baseDir); } FlashChainStore::~FlashChainStore() { delete ...
16
55
0.701087
alinous-core
f023e5946a57e78893801968d374677518495faa
7,404
cpp
C++
renderer/d3d9.cpp
amizu03/csgo_sdk
3c229bd592f4463b4a098eb02ee9a1d83cf36f77
[ "MIT" ]
null
null
null
renderer/d3d9.cpp
amizu03/csgo_sdk
3c229bd592f4463b4a098eb02ee9a1d83cf36f77
[ "MIT" ]
null
null
null
renderer/d3d9.cpp
amizu03/csgo_sdk
3c229bd592f4463b4a098eb02ee9a1d83cf36f77
[ "MIT" ]
1
2020-03-31T07:06:08.000Z
2020-03-31T07:06:08.000Z
#include "d3d9.hpp" #include "../sdk/sdk.hpp" struct vtx_t { float x, y, z, rhw; std::uint32_t color; }; struct custom_vtx_t { float x, y, z, rhw; std::uint32_t color; float tu, tv; }; void render::create_font( void** font, const std::wstring_view& family, int size, bool bold ) { ID3DXFont* d3d_font = nullptr;...
36.653465
175
0.644246
amizu03
f03016d6c1937ee742c780868b1263df1ab20b07
3,836
cpp
C++
subpixie.cpp
TaraHoleInIt/Subpixie
63f468239cebbe1d9d213c08dc2a29e166185ab9
[ "MIT" ]
2
2021-03-10T01:32:44.000Z
2021-05-17T20:40:19.000Z
subpixie.cpp
TaraHoleInIt/Subpixie
63f468239cebbe1d9d213c08dc2a29e166185ab9
[ "MIT" ]
null
null
null
subpixie.cpp
TaraHoleInIt/Subpixie
63f468239cebbe1d9d213c08dc2a29e166185ab9
[ "MIT" ]
1
2021-03-10T01:33:41.000Z
2021-03-10T01:33:41.000Z
// Copyright (c) 2020 Tara Keeling // // This software is released under the MIT License. // https://opensource.org/licenses/MIT #include <Arduino.h> #include "subpixie.h" Subpixie::Subpixie( int DisplayWidth, int DisplayHeight, const Subpixie_Fontdef* Font, bool Wide, SetAddressWindowProc SetAddressWindow, WritePixe...
26.455172
168
0.554484
TaraHoleInIt