hexsha
stringlengths
40
40
size
int64
19
11.4M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
3
270
max_stars_repo_name
stringlengths
5
110
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
float64
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
3
270
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
78
max_issues_repo_licenses
listlengths
1
9
max_issues_count
float64
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
3
270
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
78
max_forks_repo_licenses
listlengths
1
9
max_forks_count
float64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
19
11.4M
avg_line_length
float64
1.93
229k
max_line_length
int64
12
688k
alphanum_fraction
float64
0.07
0.99
matches
listlengths
1
10
3980ddb11912c717756203aedbd529e1a02bc41c
15,018
cpp
C++
test/v13/multipart/queue_stats_test.cpp
amedama41/bulb
2e9fd8a8c35cfc2be2ecf5f747f83cf36ffbbdbb
[ "BSL-1.0" ]
null
null
null
test/v13/multipart/queue_stats_test.cpp
amedama41/bulb
2e9fd8a8c35cfc2be2ecf5f747f83cf36ffbbdbb
[ "BSL-1.0" ]
8
2016-07-21T11:29:13.000Z
2016-12-03T05:16:42.000Z
test/v13/multipart/queue_stats_test.cpp
amedama41/bulb
2e9fd8a8c35cfc2be2ecf5f747f83cf36ffbbdbb
[ "BSL-1.0" ]
null
null
null
#define BOOST_TEST_DYN_LINK #include <canard/net/ofp/v13/message/multipart/queue_stats.hpp> #include <boost/test/unit_test.hpp> #include <cstdint> #include <vector> #include <canard/net/ofp/v13/io/openflow.hpp> #include "../../test_utility.hpp" namespace of = canard::net::ofp; namespace v13 = of::v13; namespace mult...
32.862144
79
0.666933
[ "vector" ]
398677fdd6c18e1905f9aadf7c4eaa86cb5098a3
38,544
cpp
C++
src/binaryServer/HaSession.cpp
peramic/OPC-UA.Server
ebfafb0f9a1943fc1f2d44f20a0497a59e5bfd97
[ "Apache-2.0" ]
null
null
null
src/binaryServer/HaSession.cpp
peramic/OPC-UA.Server
ebfafb0f9a1943fc1f2d44f20a0497a59e5bfd97
[ "Apache-2.0" ]
null
null
null
src/binaryServer/HaSession.cpp
peramic/OPC-UA.Server
ebfafb0f9a1943fc1f2d44f20a0497a59e5bfd97
[ "Apache-2.0" ]
null
null
null
#include "HaSession.h" #include "Event.h" #include "EventField.h" #include "HaSessionException.h" #include "HaSubscription.h" #include "HaSubscriptionException.h" #include "../provider/binary/common/TimeoutException.h" #include <common/Exception.h> #include <common/Mutex.h> #include <common/MutexLock.h> #include <commo...
36.259643
180
0.704156
[ "object", "vector" ]
39984ba92b3852854297cd8190666295c74313ab
1,716
cpp
C++
Samples/MapReduceActors/MapReduceActorRunner.cpp
renestein/Rstein.AsyncCpp
8f020ad271250479f600d7e2e862f701472c3a48
[ "MIT" ]
41
2020-05-04T05:58:24.000Z
2022-03-25T07:21:45.000Z
Samples/MapReduceActors/MapReduceActorRunner.cpp
renestein/Rstein.AsyncCpp
8f020ad271250479f600d7e2e862f701472c3a48
[ "MIT" ]
15
2021-02-03T16:05:19.000Z
2021-08-17T17:09:28.000Z
Samples/MapReduceActors/MapReduceActorRunner.cpp
renestein/Rstein.AsyncCpp
8f020ad271250479f600d7e2e862f701472c3a48
[ "MIT" ]
4
2020-05-04T15:41:37.000Z
2021-08-24T00:59:18.000Z
#include "MapReduceActorRunner.h" #include "LineParserActor.h" #include "MapWordsActor.h" #include "ReduceWordProcessorActor.h" #include "WriteTopWordsActor.h" #include "../../RStein.AsyncCpp/Actors/SimpleActor.h" #include "../Utils/TimeUtils.h" #include <vector> #include <memory> #include <iostream> using namesp...
31.2
153
0.699301
[ "vector", "transform" ]
399d8baf6885455639eb51c45791e16c385fa4b0
2,483
hpp
C++
System.Core/include/Switch/System/Collections/Generic/Comparer.hpp
kkptm/CppLikeCSharp
b2d8d9da9973c733205aa945c9ba734de0c734bc
[ "MIT" ]
4
2021-10-14T01:43:00.000Z
2022-03-13T02:16:08.000Z
System.Core/include/Switch/System/Collections/Generic/Comparer.hpp
kkptm/CppLikeCSharp
b2d8d9da9973c733205aa945c9ba734de0c734bc
[ "MIT" ]
null
null
null
System.Core/include/Switch/System/Collections/Generic/Comparer.hpp
kkptm/CppLikeCSharp
b2d8d9da9973c733205aa945c9ba734de0c734bc
[ "MIT" ]
2
2022-03-13T02:16:06.000Z
2022-03-14T14:32:57.000Z
/// @file /// @brief Contains Switch::System::Collections::Generic::Comparer <T> class. #pragma once #include "../../Object.hpp" #include "IComparer.hpp" /// @brief The Switch namespace contains all fundamental classes to access Hardware, Os, System, and more. namespace Switch { /// @brief The System namespace cont...
45.981481
272
0.65445
[ "object" ]
39a1dfa33e947c8494af37217eb80a356dc29a5a
9,337
cpp
C++
src/core/lib/core_data_model/reflection/reflected_object_item_new.cpp
wgsyd/wgtf
d8cacb43e2c5d40080d33c18a8c2f5bd27d21bed
[ "BSD-3-Clause" ]
28
2016-06-03T05:28:25.000Z
2019-02-14T12:04:31.000Z
src/core/lib/core_data_model/reflection/reflected_object_item_new.cpp
karajensen/wgtf
740397bcfdbc02bc574231579d57d7c9cd5cc26d
[ "BSD-3-Clause" ]
null
null
null
src/core/lib/core_data_model/reflection/reflected_object_item_new.cpp
karajensen/wgtf
740397bcfdbc02bc574231579d57d7c9cd5cc26d
[ "BSD-3-Clause" ]
14
2016-06-03T05:52:27.000Z
2019-03-21T09:56:03.000Z
#include "reflected_object_item_new.hpp" #include "reflected_group_item_new.hpp" #include "reflected_property_item_new.hpp" #include "core_common/assert.hpp" #include "core_data_model/i_item_role.hpp" #include "core_data_model/common_data_roles.hpp" #include "core_reflection/metadata/meta_impl.hpp" #include "core_ref...
23.226368
118
0.707508
[ "object", "vector", "model" ]
39a2be40f45831e4d6c65e974b9fe0f128ed01d9
4,559
cpp
C++
cetty-shiro/src/cetty/shiro/authz/Authorizer.cpp
frankee/cetty2
62ac0cd1438275097e47a9ba471e72efd2746ded
[ "BSL-1.0", "Apache-2.0", "BSD-3-Clause" ]
26
2015-11-08T10:58:21.000Z
2021-02-25T08:27:26.000Z
cetty-shiro/src/cetty/shiro/authz/Authorizer.cpp
frankee/cetty2
62ac0cd1438275097e47a9ba471e72efd2746ded
[ "BSL-1.0", "Apache-2.0", "BSD-3-Clause" ]
1
2019-02-18T08:46:17.000Z
2019-02-18T08:46:17.000Z
cetty-shiro/src/cetty/shiro/authz/Authorizer.cpp
frankee/cetty2
62ac0cd1438275097e47a9ba471e72efd2746ded
[ "BSL-1.0", "Apache-2.0", "BSD-3-Clause" ]
8
2016-02-27T02:37:10.000Z
2021-09-29T05:25:00.000Z
/* * Authorizer.cpp * * Created on: 2012-9-4 * Author: chenhl */ #include <cetty/shiro/authz/Authorizer.h> #include <cetty/logging/LoggerHelper.h> #include <cetty/config/ConfigCenter.h> #include <cetty/shiro/authz/PermissionResolver.h> #include <cetty/shiro/authz/AuthorizationInfoPtr.h> #include <cetty/shir...
35.069231
105
0.606712
[ "vector" ]
39a2e6252ecae098d251177f7b0e7849ab932d5a
6,059
hpp
C++
7drl-violation/collisions.hpp
maxphilippov/7drl-violation
cc43314ece4176e9b5b453b6169b27c0d41b4c58
[ "MIT" ]
null
null
null
7drl-violation/collisions.hpp
maxphilippov/7drl-violation
cc43314ece4176e9b5b453b6169b27c0d41b4c58
[ "MIT" ]
null
null
null
7drl-violation/collisions.hpp
maxphilippov/7drl-violation
cc43314ece4176e9b5b453b6169b27c0d41b4c58
[ "MIT" ]
null
null
null
// // collisions.hpp // 7drl-violation // // Copyright © 2016 Max Philippov // #ifndef collisions_h #define collisions_h #include <algorithm> #include <iterator> #include <vector> #include <unordered_map> #include <map> #include "basic_types.hpp" #include "map.hpp" #include "interaction_types.hpp" #include "posit...
29.129808
101
0.495956
[ "object", "vector" ]
39b7545ae7e6ee414005800b355b891db3c4a437
26,694
cc
C++
sling/myelin/rnn.cc
anysql/sling
d521b27f1537608ddf3d8b4281edd585ffd90545
[ "Apache-2.0" ]
97
2020-03-11T07:44:05.000Z
2022-03-27T14:24:15.000Z
sling/myelin/rnn.cc
anysql/sling
d521b27f1537608ddf3d8b4281edd585ffd90545
[ "Apache-2.0" ]
11
2020-10-23T09:26:26.000Z
2021-08-25T09:31:28.000Z
sling/myelin/rnn.cc
anysql/sling
d521b27f1537608ddf3d8b4281edd585ffd90545
[ "Apache-2.0" ]
8
2018-06-11T07:59:18.000Z
2021-06-09T09:19:05.000Z
// Copyright 2018 Google 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 ...
31.257611
78
0.589945
[ "shape", "vector", "transform" ]
39b86867fbe2f5417889df1c664df1f2cf37d481
5,362
cpp
C++
src/modules/adc_readout/SampleProcessing.cpp
geishm-ansto/event-formation-unit
bab9f211913ee9e633eae627ec2c2ed96ae380b4
[ "BSD-2-Clause" ]
8
2017-12-02T09:20:26.000Z
2022-03-28T08:17:40.000Z
src/modules/adc_readout/SampleProcessing.cpp
geishm-ansto/event-formation-unit
bab9f211913ee9e633eae627ec2c2ed96ae380b4
[ "BSD-2-Clause" ]
296
2017-10-24T09:06:10.000Z
2022-03-31T07:31:06.000Z
src/modules/adc_readout/SampleProcessing.cpp
geishm-ansto/event-formation-unit
bab9f211913ee9e633eae627ec2c2ed96ae380b4
[ "BSD-2-Clause" ]
8
2018-04-08T15:35:50.000Z
2021-04-12T05:06:15.000Z
/** Copyright (C) 2018 European Spallation Source ERIC */ /** @file * * \brief Sample processing of the ADC data. */ #include "SampleProcessing.h" #include "AdcReadoutConstants.h" #include "senv_data_generated.h" #include <algorithm> #include <cmath> std::uint64_t CalcSampleTimeStamp(const TimeStamp &Start, cons...
35.509934
80
0.731257
[ "vector", "transform" ]
39b992f8f633061e56aaab2373c47b5d5153c823
6,429
cpp
C++
Sources/Elastos/LibCore/src/org/apache/http/impl/conn/IdleConnectionHandler.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
7
2017-07-13T10:34:54.000Z
2021-04-16T05:40:35.000Z
Sources/Elastos/LibCore/src/org/apache/http/impl/conn/IdleConnectionHandler.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
null
null
null
Sources/Elastos/LibCore/src/org/apache/http/impl/conn/IdleConnectionHandler.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.310881
88
0.595271
[ "object" ]
39c38f5eeee806fa2f68e1531e017abf2394ba7e
9,979
cpp
C++
src/Tools/Popup.cpp
pgate1/QROQS
c4b09d00a2bcc751c7e8de11ca6a8601c390a95f
[ "MIT" ]
null
null
null
src/Tools/Popup.cpp
pgate1/QROQS
c4b09d00a2bcc751c7e8de11ca6a8601c390a95f
[ "MIT" ]
null
null
null
src/Tools/Popup.cpp
pgate1/QROQS
c4b09d00a2bcc751c7e8de11ca6a8601c390a95f
[ "MIT" ]
null
null
null
/////////////////////////////////////////////////////////////////////////////// // // Popup.cpp : implementation file // /////////////////////////////////////////////////////////////////////////////// #include "stdafx.h" #include <objbase.h> #include <initguid.h> #include "Popup.h" #include "Draw.h" #ifde...
29.523669
134
0.46207
[ "object" ]
39c6b1602ea021cd45892dfc61e7e35c2704b061
6,524
cpp
C++
test/unit/src/Path2dTest.cpp
nselikoff/Cinder
54590aabdc3d74b0b078d43590dfad89e50e9c94
[ "BSD-2-Clause" ]
12
2015-03-15T08:03:55.000Z
2022-01-06T02:30:18.000Z
test/unit/src/Path2dTest.cpp
nselikoff/Cinder
54590aabdc3d74b0b078d43590dfad89e50e9c94
[ "BSD-2-Clause" ]
8
2020-01-05T23:38:51.000Z
2020-02-23T22:18:18.000Z
test/unit/src/Path2dTest.cpp
nselikoff/Cinder
54590aabdc3d74b0b078d43590dfad89e50e9c94
[ "BSD-2-Clause" ]
3
2015-09-14T09:37:35.000Z
2017-05-23T06:10:16.000Z
#include "cinder/app/App.h" #include "cinder/Path2d.h" #include "cinder/Rand.h" #include "catch.hpp" using namespace ci; using namespace ci::app; using namespace std; bool subPathHelper( const Path2d &p, float start, float end ) { float targetLength = ( end - start ) * p.calcLength(); Path2d sub = p.getSubPath( p....
37.930233
159
0.607143
[ "shape", "vector" ]
39c92691fea70a272ecc268e8c477dca7c8fb065
1,994
cc
C++
airec/src/model/ListDashboardParametersResult.cc
iamzken/aliyun-openapi-cpp-sdk
3c991c9ca949b6003c8f498ce7a672ea88162bf1
[ "Apache-2.0" ]
null
null
null
airec/src/model/ListDashboardParametersResult.cc
iamzken/aliyun-openapi-cpp-sdk
3c991c9ca949b6003c8f498ce7a672ea88162bf1
[ "Apache-2.0" ]
null
null
null
airec/src/model/ListDashboardParametersResult.cc
iamzken/aliyun-openapi-cpp-sdk
3c991c9ca949b6003c8f498ce7a672ea88162bf1
[ "Apache-2.0" ]
1
2020-11-27T09:13:12.000Z
2020-11-27T09:13:12.000Z
/* * Copyright 2009-2017 Alibaba Cloud 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...
28.084507
90
0.755266
[ "model" ]
39d09de82ab05966421bde1dabde8a77234fee23
1,590
cpp
C++
src/Tracker/ShortPathCalculator.cpp
xzou999/Multitarget-tracker
94b22341d009c9585d08fcb64c25859283f86e7d
[ "Apache-2.0" ]
1,801
2015-01-19T16:28:03.000Z
2022-03-31T12:28:56.000Z
src/Tracker/ShortPathCalculator.cpp
xzou999/Multitarget-tracker
94b22341d009c9585d08fcb64c25859283f86e7d
[ "Apache-2.0" ]
168
2016-03-02T06:23:20.000Z
2022-03-25T12:29:37.000Z
src/Tracker/ShortPathCalculator.cpp
xzou999/Multitarget-tracker
94b22341d009c9585d08fcb64c25859283f86e7d
[ "Apache-2.0" ]
608
2015-01-19T16:27:51.000Z
2022-03-30T02:07:56.000Z
#include "ShortPathCalculator.h" #include <GTL/GTL.h> #include "mygraph.h" #include "mwbmatching.h" #include "tokenise.h" /// /// \brief SPBipart::Solve /// \param costMatrix /// \param N /// \param M /// \param assignment /// \param maxCost /// void SPBipart::Solve(const distMatrix_t& costMatrix, size_t N, size_t M,...
24.461538
116
0.506289
[ "vector" ]
39df1d5b7f0553729f751f9db161e9d3db178c24
160
cpp
C++
obi-problems/problem008/main.cpp
Davi-Argemiro/Algorithms-and-Data-Structures
4cbf083fbe00da793c1147c4b9e3493d96ac50a1
[ "MIT" ]
1
2022-03-01T15:47:08.000Z
2022-03-01T15:47:08.000Z
obi-problems/problem008/main.cpp
Davi-Argemiro/Algorithms-and-Data-Structures
4cbf083fbe00da793c1147c4b9e3493d96ac50a1
[ "MIT" ]
1
2022-03-21T20:01:08.000Z
2022-03-21T20:01:08.000Z
obi-problems/problem008/main.cpp
Davi-Argemiro/Algorithms-and-Data-Structures
4cbf083fbe00da793c1147c4b9e3493d96ac50a1
[ "MIT" ]
1
2022-03-21T17:53:34.000Z
2022-03-21T17:53:34.000Z
#include <iostream> #include <vector> using namespace std; int main() { int n, tot; cin >> n; tot = (n+2)*(n+1)/2; cout << tot << endl; return 0; }
8.888889
21
0.55625
[ "vector" ]
39e96b419fcc1047a1344a66938981252c1e627b
4,063
cxx
C++
src/main/algorithms/NonZeroCondition.cxx
cc4s/cc4s
bff205f8fc98f29d4b9ff8f8b6faffbda50a8555
[ "Apache-2.0" ]
null
null
null
src/main/algorithms/NonZeroCondition.cxx
cc4s/cc4s
bff205f8fc98f29d4b9ff8f8b6faffbda50a8555
[ "Apache-2.0" ]
null
null
null
src/main/algorithms/NonZeroCondition.cxx
cc4s/cc4s
bff205f8fc98f29d4b9ff8f8b6faffbda50a8555
[ "Apache-2.0" ]
null
null
null
/* Copyright 2021 cc4s.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 the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
31.742188
80
0.668472
[ "vector" ]
39f4cfd364a3c8f46ec434f4d0a6c5ebe256d699
2,998
cpp
C++
HAL/Camera/Drivers/HDMI/HDMIDriver.cpp
vhanded/HAL
56819df45a1d3edf118282b644449c9d1e395286
[ "Apache-2.0" ]
34
2015-07-19T06:34:09.000Z
2022-03-15T13:34:38.000Z
HAL/Camera/Drivers/HDMI/HDMIDriver.cpp
vhanded/HAL
56819df45a1d3edf118282b644449c9d1e395286
[ "Apache-2.0" ]
43
2015-02-08T17:06:28.000Z
2020-06-09T15:22:16.000Z
HAL/Camera/Drivers/HDMI/HDMIDriver.cpp
vhanded/HAL
56819df45a1d3edf118282b644449c9d1e395286
[ "Apache-2.0" ]
36
2015-04-18T15:41:49.000Z
2021-05-28T15:55:28.000Z
#include "HDMIDriver.h" #include "opencv/cv.h" // for Mat structure /////////////////////////////////////////////////////////////////////////////// HDMIDriver::HDMIDriver() { } /////////////////////////////////////////////////////////////////////////////// HDMIDriver::~HDMIDriver() { } /////////////////////////...
28.552381
94
0.613742
[ "vector" ]
39f60fc9af566f9963125ff6de0cb4f66aa55b2f
713
hpp
C++
src/scene_object.hpp
Ybalrid/gl_framework
4cf57b63306e0d95040ee7d7b5c710be0efb59de
[ "MIT", "Zlib", "BSD-3-Clause" ]
3
2019-09-16T01:42:10.000Z
2021-11-28T02:58:42.000Z
src/scene_object.hpp
Ybalrid/gl_framework
4cf57b63306e0d95040ee7d7b5c710be0efb59de
[ "MIT", "Zlib", "BSD-3-Clause" ]
null
null
null
src/scene_object.hpp
Ybalrid/gl_framework
4cf57b63306e0d95040ee7d7b5c710be0efb59de
[ "MIT", "Zlib", "BSD-3-Clause" ]
2
2020-01-28T23:33:00.000Z
2021-11-08T06:14:41.000Z
#pragma once #include "renderable.hpp" #include "camera.hpp" #include "transform.hpp" #include "mesh.hpp" ///Object that is part of the scene class scene_object { ///The mesh mesh mesh_ {}; public: ///The scene object scene_object(mesh m) : mesh_ { m } {} ///Get the oriented bounding box of the scene ...
23.766667
103
0.674614
[ "mesh", "object", "vector", "model", "transform" ]
2600883db371385c0e8f4ac4baf6398fbf5c59e7
1,641
cpp
C++
action/action_plugins/src/follow_route_action.cpp
cvasfi/scenario_runner.iv.universe
b8a6388faf502478fdc217ad7a30d8cab2dcae39
[ "Apache-2.0" ]
2
2020-09-25T08:53:18.000Z
2020-10-23T09:42:49.000Z
action/action_plugins/src/follow_route_action.cpp
cvasfi/scenario_runner.iv.universe
b8a6388faf502478fdc217ad7a30d8cab2dcae39
[ "Apache-2.0" ]
36
2020-10-23T07:40:37.000Z
2021-02-19T09:24:46.000Z
action/action_plugins/src/follow_route_action.cpp
cvasfi/scenario_runner.iv.universe
b8a6388faf502478fdc217ad7a30d8cab2dcae39
[ "Apache-2.0" ]
15
2020-09-30T16:37:57.000Z
2021-12-03T07:06:17.000Z
#include "action_plugins/follow_route_action.h" #include "scenario_utility/scenario_utility.h" #include <ros/ros.h> namespace action_plugins { FollowRouteAction::FollowRouteAction() : EntityActionBase {"FollowRoute"} {} void FollowRouteAction::configure( const YAML::Node& node, const std::vector<std::string> a...
24.132353
93
0.691042
[ "vector" ]
2609f1e24c275f4f6f106b85571388a3c871863f
11,008
cpp
C++
ComponentMesh.cpp
rogerta97/TryHard_Engine
6dc6725264a2a1d86530aa3d8f00f260f8509883
[ "MIT" ]
null
null
null
ComponentMesh.cpp
rogerta97/TryHard_Engine
6dc6725264a2a1d86530aa3d8f00f260f8509883
[ "MIT" ]
null
null
null
ComponentMesh.cpp
rogerta97/TryHard_Engine
6dc6725264a2a1d86530aa3d8f00f260f8509883
[ "MIT" ]
null
null
null
#include "ComponentMesh.h" #include "ComponentMaterial.h" #include "ComponentRectTransform.h" #include "ComponentCanvas.h" #include "ComponentTransform.h" #include "Application.h" #include "GameObject.h" #include "MeshImporter.h" #include "imgui.h" #include "OpenGL.h" #include "mmgr\mmgr.h" ComponentMesh::Compon...
23.724138
177
0.712664
[ "mesh", "object", "transform" ]
2615652cd9f99e57f8ca046c76881015858962a5
5,917
cpp
C++
test/brain/model_test.cpp
llvim/peloton
e738acb956306d6914a5a94e6773f410a3eae4a1
[ "Apache-2.0" ]
3
2018-01-08T01:06:17.000Z
2019-06-17T23:14:36.000Z
test/brain/model_test.cpp
llvim/peloton
e738acb956306d6914a5a94e6773f410a3eae4a1
[ "Apache-2.0" ]
1
2016-05-10T14:38:18.000Z
2016-05-10T18:49:08.000Z
test/brain/model_test.cpp
llvim/peloton
e738acb956306d6914a5a94e6773f410a3eae4a1
[ "Apache-2.0" ]
2
2017-03-23T18:59:38.000Z
2017-03-25T19:15:08.000Z
//===----------------------------------------------------------------------===// // // Peloton // // linear_models_test.cpp // // Identification: test/brain/linear_model_test.cpp // // Copyright (c) 2015-2018, Carnegie Mellon University Database Group // //===------------------------------------...
42.568345
82
0.64002
[ "model", "transform" ]
2620e5bdc1de7061eeb2a719f10b08f406300921
1,055
cpp
C++
src/coherence/dev/compiler/ErrorList.cpp
chpatel3/coherence-cpp-extend-client
4ea5267eae32064dff1e73339aa3fbc9347ef0f6
[ "UPL-1.0", "Apache-2.0" ]
6
2020-07-01T21:38:30.000Z
2021-11-03T01:35:11.000Z
src/coherence/dev/compiler/ErrorList.cpp
chpatel3/coherence-cpp-extend-client
4ea5267eae32064dff1e73339aa3fbc9347ef0f6
[ "UPL-1.0", "Apache-2.0" ]
1
2020-07-24T17:29:22.000Z
2020-07-24T18:29:04.000Z
src/coherence/dev/compiler/ErrorList.cpp
chpatel3/coherence-cpp-extend-client
4ea5267eae32064dff1e73339aa3fbc9347ef0f6
[ "UPL-1.0", "Apache-2.0" ]
6
2020-07-10T18:40:58.000Z
2022-02-18T01:23:40.000Z
/* * Copyright (c) 2000, 2020, Oracle and/or its affiliates. * * Licensed under the Universal Permissive License v 1.0 as shown at * http://oss.oracle.com/licenses/upl. */ #include "private/coherence/dev/compiler/ErrorList.hpp" #include "coherence/util/Iterator.hpp" COH_OPEN_NAMESPACE3(coherence,dev,compiler) u...
22.934783
86
0.520379
[ "object" ]
262210cdb0a596bdab8ace160e11e767de6a3182
4,862
cpp
C++
arangod/Utils/DocumentHelper.cpp
morsdatum/ArangoDB
9cfc6d5cd50b8f451ebdedd77e2c5257fa72a573
[ "Apache-2.0" ]
null
null
null
arangod/Utils/DocumentHelper.cpp
morsdatum/ArangoDB
9cfc6d5cd50b8f451ebdedd77e2c5257fa72a573
[ "Apache-2.0" ]
null
null
null
arangod/Utils/DocumentHelper.cpp
morsdatum/ArangoDB
9cfc6d5cd50b8f451ebdedd77e2c5257fa72a573
[ "Apache-2.0" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////// /// @brief document utility functions /// /// @file /// /// DISCLAIMER /// /// Copyright 2014 ArangoDB GmbH, Cologne, Germany /// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany /// /// Licensed under the Apache License, Version 2.0 (t...
35.231884
91
0.458865
[ "object" ]
262f5eaa5023407f7f8c268ba8fc5e9efad9312e
684
cpp
C++
test/unit/math/mix/fun/exp_test.cpp
LaudateCorpus1/math
990a66b3cccd27a5fd48626360bb91093a48278b
[ "BSD-3-Clause" ]
null
null
null
test/unit/math/mix/fun/exp_test.cpp
LaudateCorpus1/math
990a66b3cccd27a5fd48626360bb91093a48278b
[ "BSD-3-Clause" ]
null
null
null
test/unit/math/mix/fun/exp_test.cpp
LaudateCorpus1/math
990a66b3cccd27a5fd48626360bb91093a48278b
[ "BSD-3-Clause" ]
null
null
null
#include <test/unit/math/test_ad.hpp> TEST(mathMixMatFun, exp) { auto f = [](const auto& x) { using stan::math::exp; return exp(x); }; stan::test::expect_common_unary_vectorized<stan::test::PromoteToComplex::Yes>( f); stan::test::expect_unary_vectorized<stan::test::PromoteToComplex::Yes>( f...
34.2
80
0.668129
[ "vector" ]
1c7958ad5ad00e49d5b1df3425217908be6eb979
2,796
cpp
C++
main/src/vtr_path_tracker/src/robust_mpc/experience/experience_management_base.cpp
utiasASRL/vtr3
b4edca56a19484666d3cdb25a032c424bdc6f19d
[ "Apache-2.0" ]
32
2021-09-15T03:42:42.000Z
2022-03-26T10:40:01.000Z
main/src/vtr_path_tracker/src/robust_mpc/experience/experience_management_base.cpp
shimp-t/vtr3
bdcad784ffe26fabfa737d0e195bcb3bacb930c3
[ "Apache-2.0" ]
7
2021-09-18T19:18:15.000Z
2022-02-02T11:15:40.000Z
main/src/vtr_path_tracker/src/robust_mpc/experience/experience_management_base.cpp
shimp-t/vtr3
bdcad784ffe26fabfa737d0e195bcb3bacb930c3
[ "Apache-2.0" ]
7
2021-09-18T01:31:28.000Z
2022-03-14T05:09:37.000Z
// Copyright 2021, Autonomous Space Robotics Lab (ASRL) // // 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...
36.311688
80
0.775751
[ "transform" ]
1c7acb604f251677874c55c1797cd9aff2091306
821
cpp
C++
examples/example01.cpp
JordanCpp/LDL
39048ea4af28970e274a71e08fa57725b28d34c7
[ "BSL-1.0" ]
null
null
null
examples/example01.cpp
JordanCpp/LDL
39048ea4af28970e274a71e08fa57725b28d34c7
[ "BSL-1.0" ]
null
null
null
examples/example01.cpp
JordanCpp/LDL
39048ea4af28970e274a71e08fa57725b28d34c7
[ "BSL-1.0" ]
null
null
null
#include <LDL/Graphics/Window.h> #include <LDL/Graphics/Render.h> #include <LDL/Graphics/FpsCounter.h> #include <LDL/Graphics/FpsLimiter.h> int main(int argc, char** argv) { LDL::Graphics::Window window(LDL::Graphics::Point(0, 0), LDL::Graphics::Point(800, 600), "Example01"); LDL::Graphics::FpsLimiter<60> fpsLimite...
19.093023
103
0.652862
[ "render" ]
1c7e132e71067be3f84d0e2f4415c11708d19fde
7,945
cpp
C++
src/vedo/anne/Anne.cpp
IAries/VEDO
8268005d381268cafcf7024ff38fef91c6318ef4
[ "BSD-3-Clause" ]
null
null
null
src/vedo/anne/Anne.cpp
IAries/VEDO
8268005d381268cafcf7024ff38fef91c6318ef4
[ "BSD-3-Clause" ]
null
null
null
src/vedo/anne/Anne.cpp
IAries/VEDO
8268005d381268cafcf7024ff38fef91c6318ef4
[ "BSD-3-Clause" ]
null
null
null
#include <aries/utility/Constants.h> #include <aries/utility/BinaryIO.h> #include <vedo/framework/Assembler.h> #include <vedo/framework/Consultant.h> #include <vedo/framework/DataType.h> #include <vedo/framework/DOModel.h> #include <vedo/framework/DOWorld.h> #include <vedo/framework/GeometricShape.h> #include <vedo/fra...
35.950226
119
0.496035
[ "vector" ]
1c87fd24ba19c4184192655f93069042bc039500
1,879
cpp
C++
test/training_data/plag_original_codes/dp_i_7194931_636_plag.cpp
xryuseix/SA-Plag
167f7a2b2fa81ff00fd5263772a74c2c5c61941d
[ "MIT" ]
13
2021-01-20T19:53:16.000Z
2021-11-14T16:30:32.000Z
test/training_data/plag_original_codes/dp_i_7194931_636_plag.cpp
xryuseix/SA-Plag
167f7a2b2fa81ff00fd5263772a74c2c5c61941d
[ "MIT" ]
null
null
null
test/training_data/plag_original_codes/dp_i_7194931_636_plag.cpp
xryuseix/SA-Plag
167f7a2b2fa81ff00fd5263772a74c2c5c61941d
[ "MIT" ]
null
null
null
/* 引用元:https://atcoder.jp/contests/dp/tasks/dp_i I - CoinsEditorial // ソースコードの引用元 : https://atcoder.jp/contests/dp/submissions/7194931 // 提出ID : 7194931 // 問題ID : dp_i // コンテストID : dp // ユーザID : xryuseix // コード長 : 2127 // 実行時間 : 48 */ #include <algorithm> #include <bitset> #include <cctype> #include <cfloat> #includ...
22.105882
67
0.541245
[ "vector" ]
1c8aa8a7f063ca72c351885682477b0761b9d2eb
5,169
cpp
C++
ros/src/evaluation/evaluation/src/pcl2pcl2.cpp
uos/hatsdf_slam
f30f69c0f6b9286cd4fa51ca17f0e2d423ca4682
[ "BSD-3-Clause" ]
5
2021-05-21T07:52:50.000Z
2022-02-09T04:26:31.000Z
ros/src/evaluation/evaluation/src/pcl2pcl2.cpp
uos/hatsdf_slam
f30f69c0f6b9286cd4fa51ca17f0e2d423ca4682
[ "BSD-3-Clause" ]
null
null
null
ros/src/evaluation/evaluation/src/pcl2pcl2.cpp
uos/hatsdf_slam
f30f69c0f6b9286cd4fa51ca17f0e2d423ca4682
[ "BSD-3-Clause" ]
1
2022-02-09T04:26:33.000Z
2022-02-09T04:26:33.000Z
#include <string> #include <ros/ros.h> #include <sensor_msgs/PointCloud.h> #include <sensor_msgs/PointCloud2.h> #include <sensor_msgs/point_cloud2_iterator.h> #include <sensor_msgs/point_cloud_conversion.h> #include <geometry_msgs/Point32.h> constexpr auto TOTAL_RINGS = 16u; struct PCL2PCL2 { /** * @brief...
28.092391
128
0.550977
[ "object", "vector" ]
1c8dc659447763c0ddc6828f9e00cc1e80c65b3b
20,411
cc
C++
media/audio/audio_output_device_unittest.cc
zipated/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
media/audio/audio_output_device_unittest.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
media/audio/audio_output_device_unittest.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
// Copyright (c) 2012 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 "media/audio/audio_output_device.h" #include <stdint.h> #include <utility> #include <vector> #include "base/bind_helpers.h" #include "base...
36.976449
80
0.723825
[ "render", "object", "vector" ]
1c9a868c59726059ea03c0261205f8574b39f68b
806
cpp
C++
Interview Problems/TCS(maximum tip calculator-vector pair-greedy).cpp
kaiserkumars/Cplusplus
26ecfab62606fb5cda99f41f18f009b0e8eb38a7
[ "MIT" ]
null
null
null
Interview Problems/TCS(maximum tip calculator-vector pair-greedy).cpp
kaiserkumars/Cplusplus
26ecfab62606fb5cda99f41f18f009b0e8eb38a7
[ "MIT" ]
null
null
null
Interview Problems/TCS(maximum tip calculator-vector pair-greedy).cpp
kaiserkumars/Cplusplus
26ecfab62606fb5cda99f41f18f009b0e8eb38a7
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; //https://practice.geeksforgeeks.org/problems/maximum-tip-calculator/0 bool comp(pair<int,int> x, pair<int,int> y) { return (fabs(x.first-x.second)>fabs(y.first-y.second)); } int main() { int t; cin>>t; int n,x,y; while(t--) { cin>>n>>x>>y; vector<pair<int,in...
19.658537
70
0.468983
[ "vector" ]
1cb5a377af7848b572c06bb82a136c956ca8abbd
3,103
hpp
C++
include/SUAPI-CppWrapper/model/Group.hpp
kant/Sketchup-API-C-Wrapper
807f450fc80d4111ac3a4f057013f300bca07bff
[ "MIT" ]
20
2017-04-05T07:29:44.000Z
2022-01-10T18:41:42.000Z
include/SUAPI-CppWrapper/model/Group.hpp
kant/Sketchup-API-C-Wrapper
807f450fc80d4111ac3a4f057013f300bca07bff
[ "MIT" ]
42
2017-05-21T07:47:14.000Z
2019-10-31T16:19:00.000Z
include/SUAPI-CppWrapper/model/Group.hpp
kant/Sketchup-API-C-Wrapper
807f450fc80d4111ac3a4f057013f300bca07bff
[ "MIT" ]
9
2017-04-20T13:03:13.000Z
2022-02-08T23:53:36.000Z
// // Group.hpp // // Sketchup C++ Wrapper for C API // MIT License // // Copyright (c) 2017 Tom Kaneko // // 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 w...
24.824
143
0.705124
[ "object", "model", "transform" ]
1cc31668f75c94b4a87f8b3ddf5ec03e63093922
4,435
cpp
C++
src/Module/Monitor/BFER/Monitor_BFER.cpp
codechecker123/aff3ct
030af3e990027fa803fb2c68f974c9ec0ee79b5d
[ "MIT" ]
null
null
null
src/Module/Monitor/BFER/Monitor_BFER.cpp
codechecker123/aff3ct
030af3e990027fa803fb2c68f974c9ec0ee79b5d
[ "MIT" ]
null
null
null
src/Module/Monitor/BFER/Monitor_BFER.cpp
codechecker123/aff3ct
030af3e990027fa803fb2c68f974c9ec0ee79b5d
[ "MIT" ]
null
null
null
#include <string> #include <vector> #include <stdexcept> #include "Monitor_BFER.hpp" using namespace aff3ct::module; template <typename B> Monitor_BFER<B> ::Monitor_BFER(const int size, const unsigned max_fe, const int n_frames) : Monitor(size, n_frames), max_fe(max_fe), n_bit_errors(0), n_frame_errors(0), n...
23.342105
119
0.66133
[ "vector" ]
1cc4a70a5c1cf0c3e8219f21d99670a4e70f77a7
5,755
cpp
C++
app/InformedRRTStar.cpp
SrinidhiSreenath/ENPM808X-Midterm-InformedRRTStar
01e092b4795e3267cb6b0e37321cd103afdbc90b
[ "MIT" ]
4
2018-10-10T00:42:05.000Z
2020-07-09T07:46:38.000Z
app/InformedRRTStar.cpp
SrinidhiSreenath/ENPM808X-Midterm-InformedRRTStar
01e092b4795e3267cb6b0e37321cd103afdbc90b
[ "MIT" ]
8
2018-10-24T04:28:31.000Z
2018-11-06T21:07:27.000Z
app/InformedRRTStar.cpp
SrinidhiSreenath/ENPM808X-Midterm-InformedRRTStar
01e092b4795e3267cb6b0e37321cd103afdbc90b
[ "MIT" ]
1
2019-10-13T01:12:37.000Z
2019-10-13T01:12:37.000Z
/**************************************************************************** * MIT License * Copyright (c) 2018 Srinidhi Sreenath * * 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 with...
37.129032
80
0.66881
[ "vector" ]
1ccab4582ce12356229d86b94a7d23773ad03f09
21,498
cpp
C++
src/4-hierarchyz/renderer.cpp
AirGuanZ/EfficientShading
6f9c0a3aebcee0a2ad42fa3d6bc53d4b8f743cde
[ "MIT" ]
4
2021-02-08T10:50:01.000Z
2022-03-07T08:04:13.000Z
src/4-hierarchyz/renderer.cpp
AirGuanZ/EfficientShading
6f9c0a3aebcee0a2ad42fa3d6bc53d4b8f743cde
[ "MIT" ]
null
null
null
src/4-hierarchyz/renderer.cpp
AirGuanZ/EfficientShading
6f9c0a3aebcee0a2ad42fa3d6bc53d4b8f743cde
[ "MIT" ]
null
null
null
#include <agz-utils/file.h> #include "./renderer.h" Renderer::Renderer(D3D12Context &d3d) : d3d_(d3d) { } rg::Vertex *Renderer::addToRenderGraph( rg::Graph &graph, rg::Resource *renderTarget, rg::Resource *hierarchyZ, int cullThread, int cullQueue, int re...
35.358553
106
0.628617
[ "mesh", "render", "vector" ]
1ccda97281e626b30620b7214100fcd606f48205
2,014
cpp
C++
wwi-2019/jablonie--beta.cpp
Aleshkev/algoritmika
fc95b0c0f318d9eb4ef1fef4cc3c6e85d2417189
[ "MIT" ]
2
2019-05-04T09:37:09.000Z
2019-05-22T18:07:28.000Z
wwi-2019/jablonie--beta.cpp
Aleshkev/algoritmika
fc95b0c0f318d9eb4ef1fef4cc3c6e85d2417189
[ "MIT" ]
null
null
null
wwi-2019/jablonie--beta.cpp
Aleshkev/algoritmika
fc95b0c0f318d9eb4ef1fef4cc3c6e85d2417189
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; typedef int32_t I; const I inf = 2e9; // Drzewo przedziałowe (+, max), z operacją index(x). struct segment_tree { I n, w; vector<I> v, d; segment_tree(I n) : n(n) { for (w = 1; w < n;) w *= 2; v.resize(2 * w); d.resize(2 * w); } void push(I i) { ...
20.55102
73
0.412115
[ "vector" ]
1cd0c835fbb08c4a55a1fb9fe59b557993f84303
862
cc
C++
FZU/1901_Period II/1901.cc
pdszhh/ACM
956b3d03a5d3f070ef24c940b7459f5cccb11d6c
[ "MIT" ]
1
2019-05-05T03:51:20.000Z
2019-05-05T03:51:20.000Z
FZU/1901_Period II/1901.cc
pdszhh/ACM
956b3d03a5d3f070ef24c940b7459f5cccb11d6c
[ "MIT" ]
null
null
null
FZU/1901_Period II/1901.cc
pdszhh/ACM
956b3d03a5d3f070ef24c940b7459f5cccb11d6c
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <cstring> #include <iterator> #include <algorithm> using namespace std; const int MAXN = 1000010; int len; char s[MAXN]; int Next[MAXN]; void get_next() { int k = Next[0] = -1, j = 0; while (j != len) { if (k == -1 or s[j] == s[k]) Next[++j]...
19.155556
67
0.446636
[ "vector" ]
1cd593bc4cd841b9aa0ed9384afd8c728cdbfac2
1,206
cc
C++
src/parser.cc
ryangraham/cfg
3b8d951f5c251f3269501d5ab22388ca9a219f9f
[ "MIT" ]
null
null
null
src/parser.cc
ryangraham/cfg
3b8d951f5c251f3269501d5ab22388ca9a219f9f
[ "MIT" ]
null
null
null
src/parser.cc
ryangraham/cfg
3b8d951f5c251f3269501d5ab22388ca9a219f9f
[ "MIT" ]
null
null
null
#include "cfg/parser.h" #include <map> #include <range/v3/all.hpp> #include <string> #include <vector> #include "cfg/ctree.h" #include "cfg/token.h" using namespace ranges; namespace cfg { parser::parser(ctree& ctree) : ctree_(&ctree) {} void parser::parse(std::vector<token> tokens) { std::vector<token_type> co...
23.647059
80
0.635987
[ "vector", "transform" ]
1cd862564de96336f922cc313fee74633df0bc94
8,349
hpp
C++
agario/core/renderables.hpp
jondeaton/AgarLE
f3e956109a245f1297b152cb71d25f9446880f6e
[ "MIT" ]
6
2020-01-16T14:31:18.000Z
2022-03-08T15:22:32.000Z
agario/core/renderables.hpp
jondeaton/AgarLE
f3e956109a245f1297b152cb71d25f9446880f6e
[ "MIT" ]
null
null
null
agario/core/renderables.hpp
jondeaton/AgarLE
f3e956109a245f1297b152cb71d25f9446880f6e
[ "MIT" ]
2
2020-04-26T02:01:33.000Z
2021-12-14T11:51:34.000Z
#pragma once #define GL_SILENCE_DEPRECATION #include "agario/rendering/platform.hpp" #include "agario/core/color.hpp" #include <GLFW/glfw3.h> #include <glm/glm.hpp> #include <glm/gtc/matrix_transform.hpp> #include <agario/core/Ball.hpp> #include <agario/rendering/shader.hpp> #define COLOR_LEN 3 namespace agario ...
26.674121
88
0.599832
[ "object" ]
1cd95a64d11f8e69f144247ae5191630993d32fa
5,929
cpp
C++
src/Tile.cpp
jianwei-sun/minesweeper
5e3ee79ac1a62ac4acdbd4a9972a5beee9d4941d
[ "MIT" ]
null
null
null
src/Tile.cpp
jianwei-sun/minesweeper
5e3ee79ac1a62ac4acdbd4a9972a5beee9d4941d
[ "MIT" ]
null
null
null
src/Tile.cpp
jianwei-sun/minesweeper
5e3ee79ac1a62ac4acdbd4a9972a5beee9d4941d
[ "MIT" ]
null
null
null
//---------------------------------------------------------------------------------------------------- // File: Tile.cpp // Date: 08/22/2021 // Desc: Source file for the Tile class //---------------------------------------------------------------------------------------------------- #include "Tile.hpp" //-------------...
37.05625
167
0.512059
[ "object" ]
1cf5a311161f5967752ce667612c584970af70ac
1,109
cpp
C++
problemes/probleme1xx/probleme135.cpp
ZongoForSpeed/ProjectEuler
2e2d45f984d48a1da8275886c976f909a0de94ce
[ "MIT" ]
6
2015-10-13T17:07:21.000Z
2018-05-08T11:50:22.000Z
problemes/probleme1xx/probleme135.cpp
ZongoForSpeed/ProjectEuler
2e2d45f984d48a1da8275886c976f909a0de94ce
[ "MIT" ]
null
null
null
problemes/probleme1xx/probleme135.cpp
ZongoForSpeed/ProjectEuler
2e2d45f984d48a1da8275886c976f909a0de94ce
[ "MIT" ]
null
null
null
#include "problemes.h" #include "arithmetique.h" #include <fstream> typedef unsigned long long nombre; typedef std::vector<nombre> vecteur; ENREGISTRER_PROBLEME(135, "Same differences") { // Given the positive integers, x, y, and z, are consecutive terms of an arithmetic progression, the least value of // th...
33.606061
119
0.580703
[ "vector" ]
1cf5b41d326f381718328c03841122602e6902ae
1,003
cpp
C++
HackerRank/Dictionaries and Hashmaps/Count-Triplets.cpp
GokulVSD/ScratchPad
53dee2293a2039186b00c7a465c7ef28e2b8e291
[ "Unlicense" ]
null
null
null
HackerRank/Dictionaries and Hashmaps/Count-Triplets.cpp
GokulVSD/ScratchPad
53dee2293a2039186b00c7a465c7ef28e2b8e291
[ "Unlicense" ]
null
null
null
HackerRank/Dictionaries and Hashmaps/Count-Triplets.cpp
GokulVSD/ScratchPad
53dee2293a2039186b00c7a465c7ef28e2b8e291
[ "Unlicense" ]
null
null
null
// https://www.hackerrank.com/challenges/count-triplets-1/ // calculates nCr, may be very useful in the future. // long comb(long n, int r) // { // long res = 1; // if ( r > n - r ) // r = n - r; // for (int i = 0; i < r; ++i){ // res *= (n - i); // res /= ...
18.574074
59
0.451645
[ "vector" ]
1cf8bdccdc38ff5ffeb6aff0ecffa803b91dcc4c
13,681
cpp
C++
include/libtcod/console/rexpaint.cpp
EK47/WorldGeneration
3ed26e3ee7b63e37bd1154e18ba7048538affef8
[ "MIT" ]
1
2019-09-18T16:09:10.000Z
2019-09-18T16:09:10.000Z
include/libtcod/console/rexpaint.cpp
EK47/WorldGeneration
3ed26e3ee7b63e37bd1154e18ba7048538affef8
[ "MIT" ]
null
null
null
include/libtcod/console/rexpaint.cpp
EK47/WorldGeneration
3ed26e3ee7b63e37bd1154e18ba7048538affef8
[ "MIT" ]
null
null
null
/* BSD 3-Clause License * * Copyright © 2008-2019, Jice and the libtcod contributors. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the ...
37.792818
79
0.704115
[ "object" ]
7f2e68e9ee0c773583cb08e6054f06bf07ba1588
10,098
cpp
C++
src/game/game.cpp
ProjectElon/Crafty
626b5c2d355bfe369bc3047043f5d5948a6ac691
[ "MIT" ]
6
2022-02-04T17:50:17.000Z
2022-02-10T12:16:26.000Z
src/game/game.cpp
ProjectElon/Crafty
626b5c2d355bfe369bc3047043f5d5948a6ac691
[ "MIT" ]
null
null
null
src/game/game.cpp
ProjectElon/Crafty
626b5c2d355bfe369bc3047043f5d5948a6ac691
[ "MIT" ]
null
null
null
#include "game.h" #include "game/world.h" #include "game/job_system.h" #include "core/platform.h" #include "core/input.h" #include "core/event.h" #include "renderer/opengl_renderer.h" #include "renderer/opengl_2d_renderer.h" #include "renderer/opengl_debug_renderer.h" #include "renderer/font.h" #include "renderer/cam...
32.159236
95
0.582393
[ "render" ]
7f3a6380e518a59356aa138c719ae2b080adb986
3,678
cpp
C++
Server-Client/Client/Client.cpp
Dina-Nashaat/Server-Client
7bb2cce4dc2d37bbcdf49efc4ed817eb18fa1631
[ "MIT" ]
null
null
null
Server-Client/Client/Client.cpp
Dina-Nashaat/Server-Client
7bb2cce4dc2d37bbcdf49efc4ed817eb18fa1631
[ "MIT" ]
null
null
null
Server-Client/Client/Client.cpp
Dina-Nashaat/Server-Client
7bb2cce4dc2d37bbcdf49efc4ed817eb18fa1631
[ "MIT" ]
null
null
null
// Client.cpp : Defines the entry point for the console application. // #include "stdafx.h" #define _WINSOCK_DEPRECATED_NO_WARNINGS #define _CRT_SECURE_NO_WARNINGS #include <WinSock2.h> #include <iostream> #include <vector> #pragma comment(lib,"ws2_32.lib") #include "helper.h" #include "RequestsProvider.h" #define IPA...
31.169492
151
0.7031
[ "vector" ]
7f41db86bebeb0e0c15e71f4f715295a138c79c3
1,549
cpp
C++
tester/libtbag/math/EquationTest.cpp
osom8979/tbag
c31e2d884907d946df0836a70d8d5d69c4bf3c27
[ "MIT" ]
21
2016-04-05T06:08:41.000Z
2022-03-28T10:20:22.000Z
tester/libtbag/math/EquationTest.cpp
osom8979/tbag
c31e2d884907d946df0836a70d8d5d69c4bf3c27
[ "MIT" ]
null
null
null
tester/libtbag/math/EquationTest.cpp
osom8979/tbag
c31e2d884907d946df0836a70d8d5d69c4bf3c27
[ "MIT" ]
2
2019-07-16T00:37:21.000Z
2021-11-10T06:14:09.000Z
/** * @file EquationTest.cpp * @brief Equation tester. * @author zer0 * @date 2016-08-26 */ #include <gtest/gtest.h> #include <libtbag/math/Equation.hpp> using namespace libtbag; using namespace libtbag::math; // --------------- namespace __impl { // --------------- inline bool testIsCross(double p11x, do...
24.983871
127
0.652679
[ "geometry" ]
7f42015100a411c39324fe5cfa719dade951148d
1,216
cpp
C++
cpp/src/main/filters/AvailabilityFilter.cpp
fbobee/Alpenglow
5f956511017c1bee72390aaecd964c04d8ad4b45
[ "Apache-2.0" ]
null
null
null
cpp/src/main/filters/AvailabilityFilter.cpp
fbobee/Alpenglow
5f956511017c1bee72390aaecd964c04d8ad4b45
[ "Apache-2.0" ]
null
null
null
cpp/src/main/filters/AvailabilityFilter.cpp
fbobee/Alpenglow
5f956511017c1bee72390aaecd964c04d8ad4b45
[ "Apache-2.0" ]
null
null
null
#include "AvailabilityFilter.h" void AvailabilityFilter::run(RecDat* rec_dat){ double time = rec_dat->time; while(availability_ends_.size() != 0 && get<0>(availability_ends_.top()) <= time){ auto item = availability_ends_.top(); availability_ends_.pop(); pair<int, double> npair = make_pair(get<1>(item)...
36.848485
105
0.712993
[ "vector" ]
7f48281b71c05db78b299a3ec337571718d1a86a
2,932
cpp
C++
examples/demoFlow.cpp
YcheParallelStudio/easyLambda
e496a3e3070b806e8c48124d3454543c4cebc9b7
[ "BSL-1.0" ]
null
null
null
examples/demoFlow.cpp
YcheParallelStudio/easyLambda
e496a3e3070b806e8c48124d3454543c4cebc9b7
[ "BSL-1.0" ]
null
null
null
examples/demoFlow.cpp
YcheParallelStudio/easyLambda
e496a3e3070b806e8c48124d3454543c4cebc9b7
[ "BSL-1.0" ]
null
null
null
/*! * @file * demo for data-flow. * * Shows iterative data-flow pipeline, a diamond like pipeline with splitter * followed by a joiner and other expressions such as addFlow, flow<>()... * ![figures](../doc/dataflow.png) * * Results are dumped on stdout. * */ #include <iostream> #include <stdexcept> #include <...
29.616162
79
0.574352
[ "vector" ]
7f4f873aa6e78f6dacd45dcb50109005bc919d86
1,993
cpp
C++
test/testNet/testHttp/testHttpAcceptPatch/testAcceptPatchParse.cpp
wangsun1983/Obotcha
2464e53599305703f5150df72bf73579a39d8ef4
[ "MIT" ]
27
2019-04-27T00:51:22.000Z
2022-03-30T04:05:44.000Z
test/testNet/testHttp/testHttpAcceptPatch/testAcceptPatchParse.cpp
wangsun1983/Obotcha
2464e53599305703f5150df72bf73579a39d8ef4
[ "MIT" ]
9
2020-05-03T12:17:50.000Z
2021-10-15T02:18:47.000Z
test/testNet/testHttp/testHttpAcceptPatch/testAcceptPatchParse.cpp
wangsun1983/Obotcha
2464e53599305703f5150df72bf73579a39d8ef4
[ "MIT" ]
1
2019-04-16T01:45:36.000Z
2019-04-16T01:45:36.000Z
#include <stdio.h> #include <unistd.h> #include <sys/time.h> #include "Thread.hpp" #include "Object.hpp" #include "HttpMime.hpp" #include "HttpAcceptPatch.hpp" using namespace obotcha; void testPatchParse() { while(1) { HttpAcceptPatch encoding1 = createHttpAcceptPatch(); encoding1->import("a...
27.680556
75
0.587556
[ "object" ]
7f567d6acafd4985cfe1a517631696bc476f5da1
11,638
cpp
C++
Engine/Engine/bumpmodelclass.cpp
firatozbay/RasterTek_DirectX11_Series2
8596bde1cc2709eebc02d6b5845fd5ffa13ae209
[ "MIT" ]
1
2021-02-11T12:00:50.000Z
2021-02-11T12:00:50.000Z
Engine/Engine/bumpmodelclass.cpp
firatozbay/RasterTek-DirectX11-Tutorials-Series2
8596bde1cc2709eebc02d6b5845fd5ffa13ae209
[ "MIT" ]
null
null
null
Engine/Engine/bumpmodelclass.cpp
firatozbay/RasterTek-DirectX11-Tutorials-Series2
8596bde1cc2709eebc02d6b5845fd5ffa13ae209
[ "MIT" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////// // Filename: bumpmodelclass.cpp //////////////////////////////////////////////////////////////////////////////// #include "bumpmodelclass.h" BumpModelClass::BumpModelClass() { m_vertexBuffer = 0; m_indexBuffer = 0; m_model = 0; m_Col...
23.702648
160
0.697027
[ "render", "object", "model" ]
7f5ed5d6f0132333869c3336d4106ac4c631a01b
4,790
hxx
C++
main/svx/inc/svx/svdhlpln.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/svx/inc/svx/svdhlpln.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/svx/inc/svx/svdhlpln.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
331
2015-01-06T11:40:55.000Z
2022-03-14T04:07:51.000Z
/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to y...
46.057692
132
0.645094
[ "render" ]
7f6f06d7d7ffb3b10564a8821fd0bee3fbbd5354
2,570
cpp
C++
src/c99/3d.cpp
kochol/ari2
ca185191531acc1954cd4acfec2137e32fdb5c2d
[ "MIT" ]
81
2018-12-11T20:48:41.000Z
2022-03-18T22:24:11.000Z
src/c99/3d.cpp
kochol/ari2
ca185191531acc1954cd4acfec2137e32fdb5c2d
[ "MIT" ]
7
2020-04-19T11:50:39.000Z
2021-11-12T16:08:53.000Z
src/c99/3d.cpp
kochol/ari2
ca185191531acc1954cd4acfec2137e32fdb5c2d
[ "MIT" ]
4
2019-04-24T11:51:29.000Z
2021-03-10T05:26:33.000Z
#include "3d.h" #include "3d/Camera.hpp" #include "3d/BoxShape.hpp" #include "3d/RenderSystem.hpp" #include "3d/SceneSystem.hpp" // System functions void* CreateRenderSystem() { return ari::core::Memory::New<ari::en::RenderSystem>(); } void* CreateSceneSystem() { return ari::core::Memory::New<ari::en::SceneSy...
30.963855
120
0.66965
[ "3d" ]
7f7b010feba5188bcccbb70083f7c04f4e4007dc
4,202
cpp
C++
libs/gui/src/init.cpp
alex-tdrn/renderdeck
0f5d020b154d4a426f73e31d6e62901ee790550b
[ "MIT" ]
null
null
null
libs/gui/src/init.cpp
alex-tdrn/renderdeck
0f5d020b154d4a426f73e31d6e62901ee790550b
[ "MIT" ]
null
null
null
libs/gui/src/init.cpp
alex-tdrn/renderdeck
0f5d020b154d4a426f73e31d6e62901ee790550b
[ "MIT" ]
null
null
null
#include "clk/gui/init.hpp" #include "clk/base/graph.hpp" #include "clk/gui/panel.hpp" #include "clk/gui/widgets/graph_editor.hpp" #include "clk/gui/widgets/graph_viewer.hpp" #include "clk/gui/widgets/profiler_editor.hpp" #include "clk/gui/widgets/widget.hpp" #include "clk/gui/widgets/widget_factory.hpp" #include "clk/...
29.384615
113
0.716326
[ "vector" ]
7f7c6f42c2b803c7bb424010e8da216511ab8c37
857
cpp
C++
src/CJExecThrow.cpp
colinw7/CJavaScript
9ab75280421927d74ffbc1c1b82a2cd6a02942b7
[ "MIT" ]
2
2016-07-20T13:35:32.000Z
2021-12-23T02:21:19.000Z
src/CJExecThrow.cpp
colinw7/CJavaScript
9ab75280421927d74ffbc1c1b82a2cd6a02942b7
[ "MIT" ]
null
null
null
src/CJExecThrow.cpp
colinw7/CJavaScript
9ab75280421927d74ffbc1c1b82a2cd6a02942b7
[ "MIT" ]
2
2019-04-01T13:12:10.000Z
2019-04-01T13:47:44.000Z
#include <CJExecThrow.h> #include <CJExecExpression.h> #include <CJavaScript.h> #include <CJError.h> CJExecThrow:: CJExecThrow() : CJToken(CJToken::Type::Throw) { } CJValueP CJExecThrow:: exec(CJavaScript *js) { // evaluate expression CJValueP value; if (expr_) value = expr_->exec(js); // create error ...
14.525424
47
0.645274
[ "object" ]
7f85e2bc369c003eb2f66f9758c4c1757e36200b
971
cpp
C++
something-learned/Algorithms and Data-Structures/Competitive-programming-library/CP/codechef/June Challenge 17/SUMQ.cpp
gopala-kr/CR-101
dd27b767cdc0c667655ab8e32e020ed4248bd112
[ "MIT" ]
5
2018-05-09T04:02:04.000Z
2021-02-21T19:27:56.000Z
something-learned/Algorithms and Data-Structures/Competitive-programming-library/CP/codechef/June Challenge 17/SUMQ.cpp
gopala-kr/CR-101
dd27b767cdc0c667655ab8e32e020ed4248bd112
[ "MIT" ]
null
null
null
something-learned/Algorithms and Data-Structures/Competitive-programming-library/CP/codechef/June Challenge 17/SUMQ.cpp
gopala-kr/CR-101
dd27b767cdc0c667655ab8e32e020ed4248bd112
[ "MIT" ]
5
2018-02-23T22:08:28.000Z
2020-08-19T08:31:47.000Z
#include <bits/stdc++.h> using namespace std; int main() { int t; cin>>t; while(t--) { long p,q,r; cin>>p>>q>>r; vector<long long> a(p),b(q),c(r); for(long i=0;i<p;i++) scanf("%lld", &a[i]); for(long i=0;i<q;i++) scanf("%lld", &b[i]); for(long i=0;i<r;i++) scanf("%lld", &c[i]); sort(a.begin(),...
19.42
39
0.467559
[ "vector" ]
7f8832175e4f3b5deff7b51c40fd8f7371f01d35
5,748
cpp
C++
src/Hadoucan_IO_mgr.cpp
suburbanembedded/hadoucan_util
35295189d35bffbb661d7102c48c2cfeb80513c3
[ "BSD-3-Clause" ]
null
null
null
src/Hadoucan_IO_mgr.cpp
suburbanembedded/hadoucan_util
35295189d35bffbb661d7102c48c2cfeb80513c3
[ "BSD-3-Clause" ]
3
2020-07-02T03:35:36.000Z
2020-07-06T18:49:31.000Z
src/Hadoucan_IO_mgr.cpp
suburbanembedded/hadoucan_util
35295189d35bffbb661d7102c48c2cfeb80513c3
[ "BSD-3-Clause" ]
null
null
null
/** * @brief Hadoucan_IO_mgr * @author Nicholas Schloss <nicholas.schloss@suburbanmarine.io> * @copyright Copyright (c) 2020 Suburban Marine, Inc. All rights reserved. * @license Licensed under the 3-Clause BSD license. See LICENSE for details */ #include "hadoucan_util/Hadoucan_IO_mgr.hpp" #include "hadoucan_util...
20.239437
111
0.676409
[ "vector" ]
7f991a8bfd0c372b52a554f3e7964a53a84d8fc4
2,686
cpp
C++
code/steps/main_gprof.cpp
cuihantao/steps
60327bf42299cb7117ed5907a931583d7cdf590d
[ "MIT" ]
1
2021-01-21T13:10:40.000Z
2021-01-21T13:10:40.000Z
code/steps/main_gprof.cpp
cuihantao/steps
60327bf42299cb7117ed5907a931583d7cdf590d
[ "MIT" ]
null
null
null
code/steps/main_gprof.cpp
cuihantao/steps
60327bf42299cb7117ed5907a931583d7cdf590d
[ "MIT" ]
1
2020-10-01T03:48:38.000Z
2020-10-01T03:48:38.000Z
#include "header/basic/utility.h" #include "header/data_imexporter/psse_imexporter.h" #include "header/prepare_for_tests/prepare_models_for_test.h" #include "header/meter/meter_setter.h" #include "header/steps_namespace.h" #include "header/toolkit/powerflow_solver/powerflow_solver.h" #include "header/toolkit/dynamic_si...
32.361446
104
0.750931
[ "vector" ]
7fa33adba61e24c3a6ea19501942ddeec8e8d328
23,973
cpp
C++
vnpy/api/tora/vntora/generated_files/generated_functions_6.cpp
howyu88/vnpy2
c8ae445823dc1f71abda1a79fae7d4be3dd92dd4
[ "MIT" ]
323
2015-11-21T14:45:29.000Z
2022-03-16T08:54:37.000Z
vnpy/api/tora/vntora/generated_files/generated_functions_6.cpp
howyu88/vnpy2
c8ae445823dc1f71abda1a79fae7d4be3dd92dd4
[ "MIT" ]
9
2017-03-21T08:26:21.000Z
2021-08-23T06:41:17.000Z
vnpy/api/tora/vntora/generated_files/generated_functions_6.cpp
howyu88/vnpy2
c8ae445823dc1f71abda1a79fae7d4be3dd92dd4
[ "MIT" ]
148
2016-09-26T03:25:39.000Z
2022-02-06T14:43:48.000Z
#include "config.h" #include <iostream> #include <string> #include <pybind11/pybind11.h> #include <autocxxpy/autocxxpy.hpp> #include "module.hpp" #include "wrappers.hpp" #include "generated_functions.h" #include "TORATstpMdApi.h" #include "TORATstpTraderApi.h" #include "TORATstpUserApiDataType.h" #include "TORATstpU...
39.756219
101
0.69011
[ "object" ]
7fa4e9d4007c54432408d253d5bcf6bf85d450bb
1,424
cpp
C++
main.cpp
putara/pi-stat
b1f2005288145a641a5378742215bbd1ae4d7f4b
[ "WTFPL" ]
null
null
null
main.cpp
putara/pi-stat
b1f2005288145a641a5378742215bbd1ae4d7f4b
[ "WTFPL" ]
null
null
null
main.cpp
putara/pi-stat
b1f2005288145a641a5378742215bbd1ae4d7f4b
[ "WTFPL" ]
null
null
null
#include "ssd1306.hpp" #include "helpers.hpp" #include "render.hpp" #include "config.hpp" #include <signal.h> volatile sig_atomic_t done = 0; struct sigaction action; void sig_handler(int signo) noexcept { done = 1; // printf("signal: %d\n", signo); } int main() noexcept { printf("pid: %d\n", getpid()); mem...
23.344262
66
0.608848
[ "render" ]
7fab282554045afb5775200253f962ad784c3288
5,418
cc
C++
BParkingNano/plugins/TrgBitTableProducer.cc
alesauva/BParkingNANO
2ed4e5d245c443d5d8ed59626c2293693f8fb19c
[ "Apache-2.0" ]
2
2021-11-21T14:59:57.000Z
2021-12-14T21:04:02.000Z
BParkingNano/plugins/TrgBitTableProducer.cc
alesauva/BParkingNANO
2ed4e5d245c443d5d8ed59626c2293693f8fb19c
[ "Apache-2.0" ]
70
2019-07-25T17:55:32.000Z
2021-02-08T21:39:10.000Z
BParkingNano/plugins/TrgBitTableProducer.cc
alesauva/BParkingNANO
2ed4e5d245c443d5d8ed59626c2293693f8fb19c
[ "Apache-2.0" ]
39
2019-07-25T13:53:18.000Z
2021-11-07T16:35:44.000Z
//// table to produce hlt and l1 bits that we are going to use in the analysis, to avoid saving every bit in the menu // system include files #include <memory> #include "FWCore/ParameterSet/interface/ConfigurationDescriptions.h" #include "FWCore/ParameterSet/interface/ParameterSetDescription.h" #include "FWCore/Uti...
31.684211
133
0.699889
[ "vector" ]
7faec02760aabfd6fe5920f93d91024a9eb8081a
12,504
cpp
C++
src/kernel/os.cpp
anna328p/IncludeOS
b9858b8e6842d6c0cc227a34a015e7e8de9438ab
[ "Apache-2.0" ]
null
null
null
src/kernel/os.cpp
anna328p/IncludeOS
b9858b8e6842d6c0cc227a34a015e7e8de9438ab
[ "Apache-2.0" ]
null
null
null
src/kernel/os.cpp
anna328p/IncludeOS
b9858b8e6842d6c0cc227a34a015e7e8de9438ab
[ "Apache-2.0" ]
null
null
null
// This file is a part of the IncludeOS unikernel - www.includeos.org // // Copyright 2015 Oslo and Akershus University College of Applied Sciences // and Alfred Bratterud // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may...
30.950495
114
0.689379
[ "vector" ]
7fb01724c0553f40646f26ed1f6442670e13bb18
1,693
cpp
C++
src/main/c++/patterns/command/main.cpp
jeanpierrethach/Design-Patterns
1d0ed384b8d01421d41358feaa0383bb1896aa79
[ "MIT" ]
null
null
null
src/main/c++/patterns/command/main.cpp
jeanpierrethach/Design-Patterns
1d0ed384b8d01421d41358feaa0383bb1896aa79
[ "MIT" ]
null
null
null
src/main/c++/patterns/command/main.cpp
jeanpierrethach/Design-Patterns
1d0ed384b8d01421d41358feaa0383bb1896aa79
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <memory> class Command { public: virtual void execute() = 0; }; class Receiver { public: void turnOn() { std::cout<<"The light is on."<<std::endl; } void turnOff() { std::cout << "T...
18.604396
77
0.544005
[ "vector" ]
7fb1fe0bd01b65c816eed1a17e245015aa6ffe0a
1,354
cpp
C++
main.cpp
EldarKurbanov/circleContourServer
b000ac50260763bc39716f3422ac54144a25f4b9
[ "MIT" ]
null
null
null
main.cpp
EldarKurbanov/circleContourServer
b000ac50260763bc39716f3422ac54144a25f4b9
[ "MIT" ]
null
null
null
main.cpp
EldarKurbanov/circleContourServer
b000ac50260763bc39716f3422ac54144a25f4b9
[ "MIT" ]
null
null
null
#include <iostream> #include <opencv2/opencv.hpp> int main() { cv::Mat rgbImg = cv::imread("/Users/eldarkurbanov/CLionProjects/circleContourServer/img12.jpeg", cv::IMREAD_COLOR); cv::Mat hsvImg; cv::cvtColor(rgbImg, hsvImg, cv::COLOR_BGR2HSV); std::vector<cv::Mat> chans; cv::split(hsvImg, chans);...
34.717949
119
0.599705
[ "vector" ]
7fb2a26fa186a3d5ce30d2203e05db0fd36134ec
7,988
cpp
C++
galaga/GalagaMachine.cpp
lukka/CppOpenGLWebAssemblyCMake
1e2f161812f808d4467cec7cfd8c2e7181af0a75
[ "MIT" ]
59
2018-06-10T03:29:03.000Z
2022-01-19T18:01:05.000Z
galaga/GalagaMachine.cpp
lukka/CppOpenGLWebAssemblyCMake
1e2f161812f808d4467cec7cfd8c2e7181af0a75
[ "MIT" ]
3
2019-05-04T10:58:19.000Z
2020-05-15T03:08:20.000Z
galaga/GalagaMachine.cpp
lukka/CppOpenGLWebAssemblyCMake
1e2f161812f808d4467cec7cfd8c2e7181af0a75
[ "MIT" ]
7
2018-07-02T22:31:07.000Z
2021-05-10T12:07:26.000Z
#include "GalagaMachine.h" #include <algorithm> #include <cassert> #include <cmath> #include "Audio.h" #include "Cpu2.h" #include "Cpu3.h" #include "Frame.h" #include "GalagaInputPorts.h" #include "GalagaRoms.h" #include "MainCpu.h" #include "Namco06.h" #include "emulator/DeviceInput.h" #include "emulator/...
26.986486
81
0.588883
[ "vector" ]
7fb2a389d3219af29a9594ffb723adfa682eb4fb
2,608
cpp
C++
testing/unit_tests/governing_equations/cahn_hilliard_2d_fd_test.cpp
mlohry/maDGiCart-CH
36723e992449fce670d17279b606f54d4b5b5545
[ "MIT" ]
3
2022-01-25T19:31:17.000Z
2022-01-25T21:10:39.000Z
testing/unit_tests/governing_equations/cahn_hilliard_2d_fd_test.cpp
mlohry/maDGiCart-CH
36723e992449fce670d17279b606f54d4b5b5545
[ "MIT" ]
20
2021-12-17T14:58:00.000Z
2022-02-05T21:25:35.000Z
testing/unit_tests/governing_equations/cahn_hilliard_2d_fd_test.cpp
mlohry/maDGiCart-CH
36723e992449fce670d17279b606f54d4b5b5545
[ "MIT" ]
null
null
null
#include <gtest/gtest.h> #include "typedefs.hpp" #include "data_structures/exec_includes.hpp" #include "governing_equations/cahn_hilliard/cahn_hilliard_2d_fd.hpp" #include "spatial_discretization/discretization_2d_cart.hpp" #include "testing/utils/order_of_accuracy.hpp" #include "testing/utils/domain_generator.hpp" ...
32.6
110
0.654525
[ "vector" ]
7fb6b3c9a94366678b40babc3247944d28bc7f86
1,057
cpp
C++
H-HashMap/Multimap.cpp
SoumyoNathTripathy/LearnCPP
876119bdb2ab3a0fa601785c4bf1691aa8782b2d
[ "MIT" ]
272
2021-02-15T08:20:59.000Z
2022-03-31T19:28:01.000Z
H-HashMap/Multimap.cpp
SoumyoNathTripathy/LearnCPP
876119bdb2ab3a0fa601785c4bf1691aa8782b2d
[ "MIT" ]
778
2021-02-15T07:47:05.000Z
2022-03-31T20:55:29.000Z
H-HashMap/Multimap.cpp
SoumyoNathTripathy/LearnCPP
876119bdb2ab3a0fa601785c4bf1691aa8782b2d
[ "MIT" ]
472
2021-03-05T07:38:27.000Z
2022-03-31T21:02:14.000Z
#include<map> #include<iostream> using namespace std; int main(){ int n; char c; string s; multimap<char,string> m; /*Multimap can be used to store multiple values for the same key */ cin>>n; for(int i=0;i<n;i++){ cin>>c>>s; m.insert(make_pair(c,s)); } for (auto p:m) ...
14.887324
48
0.508042
[ "object" ]
7fbc70a87c9609c6aaf654ed8d85ab775d2a37a8
29,361
cpp
C++
src/parsing/parser.cpp
RobertLeahy/UnicodePP
7dadaf0bf64a53ab0ebc38d914159cce61ce539a
[ "BSD-2-Clause" ]
2
2016-01-20T16:48:52.000Z
2020-02-09T10:15:51.000Z
src/parsing/parser.cpp
RobertLeahy/UnicodePP
7dadaf0bf64a53ab0ebc38d914159cce61ce539a
[ "BSD-2-Clause" ]
null
null
null
src/parsing/parser.cpp
RobertLeahy/UnicodePP
7dadaf0bf64a53ab0ebc38d914159cce61ce539a
[ "BSD-2-Clause" ]
2
2018-10-25T04:09:31.000Z
2019-04-29T05:21:39.000Z
#include "enum.hpp" #include "parser.hpp" #include "path.hpp" #include "tointeger.hpp" #include <algorithm> #include <cstdlib> using namespace Unicode; static const std::pair<GeneralCategory,const char *> general_category []={ {GeneralCategory::Lu,"Lu"}, {GeneralCategory::Ll,"Ll"}, {GeneralCategory::Lt,"Lt"}, {...
18.713193
111
0.663193
[ "vector" ]
7fc69a4010b723d3168dc711a34c84ab25b01449
25,017
cpp
C++
qtdeclarative/src/qml/jsruntime/qv4sequenceobject.cpp
wgnet/wds_qt
8db722fd367d2d0744decf99ac7bafaba8b8a3d3
[ "Apache-2.0" ]
1
2020-04-30T15:47:35.000Z
2020-04-30T15:47:35.000Z
qtdeclarative/src/qml/jsruntime/qv4sequenceobject.cpp
wgnet/wds_qt
8db722fd367d2d0744decf99ac7bafaba8b8a3d3
[ "Apache-2.0" ]
null
null
null
qtdeclarative/src/qml/jsruntime/qv4sequenceobject.cpp
wgnet/wds_qt
8db722fd367d2d0744decf99ac7bafaba8b8a3d3
[ "Apache-2.0" ]
null
null
null
/**************************************************************************** ** ** Copyright (C) 2015 The Qt Company Ltd. ** Contact: http://www.qt.io/licensing/ ** ** This file is part of the QtQml module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL21$ ** Commercial License Usage ** Licensees holding valid commerc...
34.649584
145
0.657873
[ "object" ]
7fc9cc6a8c6ffe64ac543a2f5b632d84115a24d1
5,326
cpp
C++
kratos/tests/cpp_tests/containers/test_nodal_data.cpp
lkusch/Kratos
e8072d8e24ab6f312765185b19d439f01ab7b27b
[ "BSD-4-Clause" ]
778
2017-01-27T16:29:17.000Z
2022-03-30T03:01:51.000Z
kratos/tests/cpp_tests/containers/test_nodal_data.cpp
lkusch/Kratos
e8072d8e24ab6f312765185b19d439f01ab7b27b
[ "BSD-4-Clause" ]
6,634
2017-01-15T22:56:13.000Z
2022-03-31T15:03:36.000Z
kratos/tests/cpp_tests/containers/test_nodal_data.cpp
lkusch/Kratos
e8072d8e24ab6f312765185b19d439f01ab7b27b
[ "BSD-4-Clause" ]
224
2017-02-07T14:12:49.000Z
2022-03-06T23:09:34.000Z
// | / | // ' / __| _` | __| _ \ __| // . \ | ( | | ( |\__ ` // _|\_\_| \__,_|\__|\___/ ____/ // Multi-Physics // // License: BSD License // Kratos default license: //kratos/license.txt // // Main authors: Pooyan Dadvand // // // System includes #inclu...
36.479452
99
0.725498
[ "model" ]
7fcbdad4468667b666c8b60bc11456e4a14a2c81
1,599
cpp
C++
C++/twoSum.cpp
ayushyado/HACKTOBERFEST2021-2
b63d568fd7f33023ca0b0dbd91325444c70c4d10
[ "MIT" ]
125
2021-10-01T19:05:26.000Z
2021-10-03T13:32:42.000Z
C++/twoSum.cpp
ayushyado/HACKTOBERFEST2021-2
b63d568fd7f33023ca0b0dbd91325444c70c4d10
[ "MIT" ]
201
2021-10-30T20:40:01.000Z
2022-03-22T17:26:28.000Z
C++/twoSum.cpp
ayushyado/HACKTOBERFEST2021-2
b63d568fd7f33023ca0b0dbd91325444c70c4d10
[ "MIT" ]
294
2021-10-01T18:46:05.000Z
2021-10-03T14:25:07.000Z
/* Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target. You may assume that each input would have exactly one solution, and you may not use the same element twice. You can return the answer in any order. */ #include <iostream> #include <vector> #in...
22.521127
121
0.561601
[ "vector" ]
7fcc37a65648b84d252a1622ff459cfaa10d6723
3,042
cpp
C++
Lib/OgreBullet/Collisions/src/Shapes/OgreBulletCollisionsTriangleShape.cpp
liuloppan/KinectOgreGame
5a9c9ef5dd20d2195bd0167284206329ee13d9ab
[ "MIT" ]
2
2017-06-21T12:20:33.000Z
2018-12-13T15:48:05.000Z
Lib/OgreBullet/Collisions/src/Shapes/OgreBulletCollisionsTriangleShape.cpp
liuloppan/KinectOgreGame
5a9c9ef5dd20d2195bd0167284206329ee13d9ab
[ "MIT" ]
1
2019-03-07T13:11:40.000Z
2019-03-07T13:11:40.000Z
Lib/OgreBullet/Collisions/src/Shapes/OgreBulletCollisionsTriangleShape.cpp
liuloppan/KinectOgreGame
5a9c9ef5dd20d2195bd0167284206329ee13d9ab
[ "MIT" ]
2
2017-05-29T06:24:11.000Z
2019-03-07T06:42:09.000Z
/*************************************************************************** This source file is part of OGREBULLET (Object-oriented Graphics Rendering Engine Bullet Wrapper) For the latest info, see http://www.ogre3d.org/phpBB2addons/viewforum.php?f=10 Copyright (c) 2007 tuan.kuranes@gmail.com (Use it Freely, ...
42.25
111
0.595989
[ "object" ]
7fd50801187eb9589342f25d2f42a834add326cd
2,645
cpp
C++
Code/UnitTests/ToolsFoundationTest/Object/TestObjectManager.cpp
fereeh/ezEngine
14e46cb2a1492812888602796db7ddd66e2b7110
[ "MIT" ]
1
2021-06-23T14:44:02.000Z
2021-06-23T14:44:02.000Z
Code/UnitTests/ToolsFoundationTest/Object/TestObjectManager.cpp
fereeh/ezEngine
14e46cb2a1492812888602796db7ddd66e2b7110
[ "MIT" ]
null
null
null
Code/UnitTests/ToolsFoundationTest/Object/TestObjectManager.cpp
fereeh/ezEngine
14e46cb2a1492812888602796db7ddd66e2b7110
[ "MIT" ]
null
null
null
#include <ToolsFoundationTestPCH.h> #include <ToolsFoundationTest/Object/TestObjectManager.h> EZ_BEGIN_DYNAMIC_REFLECTED_TYPE(ezTestDocument, 1, ezRTTINoAllocator) EZ_END_DYNAMIC_REFLECTED_TYPE; ezTestDocumentObjectManager::ezTestDocumentObjectManager() {} ezTestDocumentObjectManager::~ezTestDocumentObjectManager(...
31.86747
127
0.79206
[ "object" ]
7fd758d53a0e40f272cd7a300b74d5e5239644fb
51,235
cp
C++
MacOS/Sources/Application/Letter/CFileTable.cp
mulberry-mail/mulberry4-client
cdaae15c51dd759110b4fbdb2063d0e3d5202103
[ "ECL-2.0", "Apache-2.0" ]
12
2015-04-21T16:10:43.000Z
2021-11-05T13:41:46.000Z
MacOS/Sources/Application/Letter/CFileTable.cp
mulberry-mail/mulberry4-client
cdaae15c51dd759110b4fbdb2063d0e3d5202103
[ "ECL-2.0", "Apache-2.0" ]
2
2015-11-02T13:32:11.000Z
2019-07-10T21:11:21.000Z
MacOS/Sources/Application/Letter/CFileTable.cp
mulberry-mail/mulberry4-client
cdaae15c51dd759110b4fbdb2063d0e3d5202103
[ "ECL-2.0", "Apache-2.0" ]
6
2015-01-12T08:49:12.000Z
2021-03-27T09:11:10.000Z
/* Copyright (c) 2007 Cyrus Daboo. 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 re...
24.907632
152
0.706939
[ "object" ]
7fd9d4fbc9fc8e710b809883a79c26a52c0aecb3
3,484
cpp
C++
DlgPrefReference.cpp
RDamman/SpeakerWorkshop
87a38d04197a07a9a7878b3f60d5e0706782163c
[ "OML" ]
12
2019-06-07T10:06:41.000Z
2021-03-22T22:13:59.000Z
DlgPrefReference.cpp
RDamman/SpeakerWorkshop
87a38d04197a07a9a7878b3f60d5e0706782163c
[ "OML" ]
1
2019-05-09T07:38:12.000Z
2019-07-10T04:20:55.000Z
DlgPrefReference.cpp
RDamman/SpeakerWorkshop
87a38d04197a07a9a7878b3f60d5e0706782163c
[ "OML" ]
3
2020-09-08T08:27:33.000Z
2021-05-13T09:25:43.000Z
// DlgPrefReference.cpp : implementation file // #include "stdafx.h" #include "audtest.h" #include "DlgPrefReference.h" #include "Folder.h" #include "DataSet.h" #include "DlgSelec.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////...
24.70922
85
0.720723
[ "object" ]
8f0b432bbb4b4853ab5f344ebd6f23080eef63c0
1,168
cpp
C++
src/chapter_03_strings_and_regular_expressions/problem_023_binary_to_string_conversion.cpp
rturrado/TheModernCppChallenge
648284fb417b6aaa43c21ea2b12a5a21c8cb9269
[ "MIT" ]
null
null
null
src/chapter_03_strings_and_regular_expressions/problem_023_binary_to_string_conversion.cpp
rturrado/TheModernCppChallenge
648284fb417b6aaa43c21ea2b12a5a21c8cb9269
[ "MIT" ]
null
null
null
src/chapter_03_strings_and_regular_expressions/problem_023_binary_to_string_conversion.cpp
rturrado/TheModernCppChallenge
648284fb417b6aaa43c21ea2b12a5a21c8cb9269
[ "MIT" ]
null
null
null
#include "chapter_03_strings_and_regular_expressions/problem_023_binary_to_string_conversion.h" #include <array> #include <fmt/ostream.h> #include <fmt/ranges.h> #include <iostream> // cout #include <numeric> // iota #include <ostream> #include <vector> // Binary to string conversion // // Write a function that, ...
34.352941
104
0.670377
[ "vector" ]
8f1a01ecde13481407f68be3a91eca34703e6e47
7,480
hh
C++
include/blazevg.hh
FlightBlaze/blazevg
be71ab522012ad0351e46df157ee8574a173b92b
[ "Unlicense" ]
null
null
null
include/blazevg.hh
FlightBlaze/blazevg
be71ab522012ad0351e46df157ee8574a173b92b
[ "Unlicense" ]
null
null
null
include/blazevg.hh
FlightBlaze/blazevg
be71ab522012ad0351e46df157ee8574a173b92b
[ "Unlicense" ]
null
null
null
#pragma once #include <glm/glm.hpp> #include <vector> #include <string> #include <cmath> #include <map> namespace bvg { enum class LineJoin { Bevel, Round, Miter }; enum class LineCap { Butt, Round, Square }; struct Color { Color(); Color(float r, float g, float b, float a = 1.0f); ...
26.245614
96
0.617647
[ "vector" ]
8f1bc7d86701e7b7115ad0fe3548e437b2c098c4
16,058
cpp
C++
apiidec/PnlIdecAd1Control.cpp
mpsitech/idec_public
a74cf1c7095e08ee61b237fddc1642f83dbb852d
[ "BSD-2-Clause" ]
null
null
null
apiidec/PnlIdecAd1Control.cpp
mpsitech/idec_public
a74cf1c7095e08ee61b237fddc1642f83dbb852d
[ "BSD-2-Clause" ]
null
null
null
apiidec/PnlIdecAd1Control.cpp
mpsitech/idec_public
a74cf1c7095e08ee61b237fddc1642f83dbb852d
[ "BSD-2-Clause" ]
null
null
null
/** * \file PnlIdecAd1Control.cpp * API code for job PnlIdecAd1Control (implementation) * \author Alexander Wirthmueller * \date created: 30 Dec 2017 * \date modified: 30 Dec 2017 */ #ifdef _WIN32 #include "stdafx.h" #endif #include "PnlIdecAd1Control.h" /************************************************...
28.933333
117
0.638685
[ "vector" ]
8f24e57dad521ffa2437ef9de9bd52f1ebdb113b
20,706
cpp
C++
PPN_ChemoR/aux/scripts/trimal/source/statisticsConservation.cpp
zamanianlab/Phylogenetics
cba8b13c6fca7563a94d8e254d345464c740afc9
[ "MIT" ]
2
2020-04-23T00:58:42.000Z
2020-08-17T22:16:50.000Z
bash/auxillary/trimal/source/statisticsConservation.cpp
zamanianlab/BrugiaChemo-ms
47bea22f598784d713eafcc08e7848a4a76c659e
[ "MIT" ]
null
null
null
bash/auxillary/trimal/source/statisticsConservation.cpp
zamanianlab/BrugiaChemo-ms
47bea22f598784d713eafcc08e7848a4a76c659e
[ "MIT" ]
null
null
null
/* ***** ***** ***** ***** ***** ***** ***** ***** ***** ***** ***** ***** ***** ***** ***** ***** ***** ***** ***** ***** ***** ***** ***** ***** ***** ***** trimAl v1.4: a tool for automated alignment trimming in large-scale phylogenetics analyses. 2009-2011 Capella-Gutierrez S. and Gaba...
48.72
120
0.39404
[ "object", "vector" ]
8f2d7132a01fd2920a21bed99cd7ca0fb73c0874
5,852
cpp
C++
src/vine_controller.cpp
vineyard2020/vine_controller
aab36529093ee51b2ca6c040c068761486b95e8b
[ "Apache-2.0" ]
2
2021-04-06T12:00:43.000Z
2021-04-06T12:14:44.000Z
src/vine_controller.cpp
CARV-ICS-FORTH/vine_controller
aab36529093ee51b2ca6c040c068761486b95e8b
[ "Apache-2.0" ]
null
null
null
src/vine_controller.cpp
CARV-ICS-FORTH/vine_controller
aab36529093ee51b2ca6c040c068761486b95e8b
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2018 Foundation for Research and Technology - Hellas * * 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 [1] [1] * * Unless...
28.970297
125
0.602529
[ "vector" ]
8f45a0547d490cd99b9fd768765392e5ccbdd44a
17,068
cc
C++
mindspore/ccsrc/common/graph_kernel/model/op_node.cc
httpsgithu/mindspore
c29d6bb764e233b427319cb89ba79e420f1e2c64
[ "Apache-2.0" ]
1
2022-02-23T09:13:43.000Z
2022-02-23T09:13:43.000Z
mindspore/ccsrc/common/graph_kernel/model/op_node.cc
949144093/mindspore
c29d6bb764e233b427319cb89ba79e420f1e2c64
[ "Apache-2.0" ]
null
null
null
mindspore/ccsrc/common/graph_kernel/model/op_node.cc
949144093/mindspore
c29d6bb764e233b427319cb89ba79e420f1e2c64
[ "Apache-2.0" ]
null
null
null
/** * Copyright 2021-2022 Huawei Technologies Co., Ltd * * 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 ...
40.16
121
0.621104
[ "shape", "vector", "model", "transform" ]
8f488974c767967ed8aa9f43427e5189744f2cfd
2,894
cpp
C++
source/index.cpp
YXTR/minisql
ac65652961a6681c595c6336e8a6d81340424edf
[ "MIT" ]
null
null
null
source/index.cpp
YXTR/minisql
ac65652961a6681c595c6336e8a6d81340424edf
[ "MIT" ]
1
2018-06-19T14:35:33.000Z
2018-06-19T14:35:33.000Z
source/index.cpp
YXTR/minisql
ac65652961a6681c595c6336e8a6d81340424edf
[ "MIT" ]
3
2018-05-30T11:32:52.000Z
2019-10-29T02:26:22.000Z
#include "index.h" #include "buffer.h" #include "OperationInput.h" #include "BPTree.h" #include <string> #include <vector> #include <map> IndexManager::IndexManager(const Table& table) { //catalogManager catalog; //if(catalog.isTableExist(Table.table_name)) //{ //vector<std::string> indexs = catalog.n...
21.437037
94
0.610228
[ "vector" ]
8f4ed3ee14fc316282c7691038b2c3c73c24ea13
3,394
cpp
C++
src/lava_lib/reader_bgeo/test/test_packed_disk.cpp
cinepost/Falcor
f70bd1d97c064d6f91a017d4409aa2037fd6903a
[ "BSD-3-Clause" ]
7
2018-09-25T23:45:52.000Z
2021-07-07T04:08:01.000Z
src/lava_lib/reader_bgeo/test/test_packed_disk.cpp
cinepost/Falcor
f70bd1d97c064d6f91a017d4409aa2037fd6903a
[ "BSD-3-Clause" ]
2
2021-03-02T10:16:06.000Z
2021-08-13T10:10:21.000Z
src/lava_lib/reader_bgeo/test/test_packed_disk.cpp
cinepost/Lava
f70bd1d97c064d6f91a017d4409aa2037fd6903a
[ "BSD-3-Clause" ]
3
2020-06-07T05:47:48.000Z
2020-10-03T12:34:54.000Z
/* * Copyright 2018 Laika, LLC. Authored by Peter Stuart * * Licensed under the Apache License, Version 2.0, <LICENSE-APACHE or * http://apache.org/licenses/LICENSE-2.0> or the MIT license <LICENSE-MIT or * http://opensource.org/licenses/MIT>, at your option. This file may not be * copied, modified, or distr...
24.955882
87
0.680318
[ "vector", "transform" ]
8f5d8516b2de4a63b1adc990f8789286a943c540
11,522
cpp
C++
core/tests/test_yaml_serialization.cpp
GameDevTecnico/cubos
51f89c9f3afc8afe502d167dadecab7dfe5b1c7b
[ "MIT" ]
2
2021-09-28T14:13:27.000Z
2022-03-26T11:36:48.000Z
core/tests/test_yaml_serialization.cpp
GameDevTecnico/cubos
51f89c9f3afc8afe502d167dadecab7dfe5b1c7b
[ "MIT" ]
72
2021-09-29T08:55:26.000Z
2022-03-29T21:21:00.000Z
core/tests/test_yaml_serialization.cpp
GameDevTecnico/cubos
51f89c9f3afc8afe502d167dadecab7dfe5b1c7b
[ "MIT" ]
null
null
null
#include <gtest/gtest.h> #include <cubos/core/memory/buffer_stream.hpp> #include <cubos/core/data/yaml_serializer.hpp> #include <cubos/core/data/serialization_map.hpp> using namespace cubos::core::memory; using namespace cubos::core::data; struct Human { std::string name; int age; double weight; bool ...
35.021277
117
0.373199
[ "vector" ]
8f6109277ae3e11a81dbfc7059a88fb8d17a27fa
11,537
cpp
C++
Source/SystemQOR/MSWindows/WinQAPI/src/User32/WinQMessages.cpp
mfaithfull/QOR
0fa51789344da482e8c2726309265d56e7271971
[ "BSL-1.0" ]
9
2016-05-27T01:00:39.000Z
2021-04-01T08:54:46.000Z
Source/SystemQOR/MSWindows/WinQAPI/src/User32/WinQMessages.cpp
mfaithfull/QOR
0fa51789344da482e8c2726309265d56e7271971
[ "BSL-1.0" ]
1
2016-03-03T22:54:08.000Z
2016-03-03T22:54:08.000Z
Source/SystemQOR/MSWindows/WinQAPI/src/User32/WinQMessages.cpp
mfaithfull/QOR
0fa51789344da482e8c2726309265d56e7271971
[ "BSL-1.0" ]
4
2016-05-27T01:00:43.000Z
2018-08-19T08:47:49.000Z
//WinQMessages.cpp // Copyright Querysoft Limited 2013 // // Permission is hereby granted, free of charge, to any person or organization // obtaining a copy of the software and accompanying documentation covered by // this license (the "Software") to use, reproduce, display, distribute, // execute, and transmit the So...
40.766784
148
0.587588
[ "object" ]
8f61264b2715893db08351f2bd16a5dded1326ba
1,359
hpp
C++
arbiter/util/json.hpp
mccarthyryanc/arbiter
b0c0ea03394604ac3e6854c80dc38ded6d988057
[ "MIT" ]
17
2015-12-18T19:16:08.000Z
2022-03-01T05:22:33.000Z
arbiter/util/json.hpp
mccarthyryanc/arbiter
b0c0ea03394604ac3e6854c80dc38ded6d988057
[ "MIT" ]
18
2016-09-04T14:17:47.000Z
2021-07-09T15:06:44.000Z
arbiter/util/json.hpp
mccarthyryanc/arbiter
b0c0ea03394604ac3e6854c80dc38ded6d988057
[ "MIT" ]
15
2015-12-21T17:10:43.000Z
2021-12-14T22:31:37.000Z
#pragma once #ifndef ARBITER_IS_AMALGAMATION #include <arbiter/third/json/json.hpp> #endif #ifdef ARBITER_CUSTOM_NAMESPACE namespace ARBITER_CUSTOM_NAMESPACE { #endif namespace arbiter { using json = nlohmann::json; // Work around: // https://github.com/nlohmann/json/issues/709 // https://github.com/google/googlet...
22.278689
73
0.554084
[ "object" ]
8f6a8684ea667c1fa7cd9cd42fb5a1233b586c73
28,159
cpp
C++
WebKit/Source/WebCore/rendering/RenderFlexibleBox.cpp
JavaScriptTesting/LJS
9818dbdb421036569fff93124ac2385d45d01c3a
[ "Apache-2.0" ]
1
2019-06-18T06:52:54.000Z
2019-06-18T06:52:54.000Z
WebKit/Source/WebCore/rendering/RenderFlexibleBox.cpp
JavaScriptTesting/LJS
9818dbdb421036569fff93124ac2385d45d01c3a
[ "Apache-2.0" ]
null
null
null
WebKit/Source/WebCore/rendering/RenderFlexibleBox.cpp
JavaScriptTesting/LJS
9818dbdb421036569fff93124ac2385d45d01c3a
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2011 Google Inc. 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 conditio...
38.786501
260
0.716503
[ "vector" ]
8f7826c94830368d5c14f8946d72ad121eddd6e7
1,910
cpp
C++
viewify/src/main/View/Image.cpp
ii887522/viewify
2bd8ef48a63abeaeca73f7f532992ffb6122c76e
[ "MIT" ]
1
2021-07-13T00:56:09.000Z
2021-07-13T00:56:09.000Z
viewify/src/main/View/Image.cpp
ii887522/viewify
2bd8ef48a63abeaeca73f7f532992ffb6122c76e
[ "MIT" ]
null
null
null
viewify/src/main/View/Image.cpp
ii887522/viewify
2bd8ef48a63abeaeca73f7f532992ffb6122c76e
[ "MIT" ]
null
null
null
// Copyright ii887522 #ifndef CONSOLE_TEST #include "Image.h" #include <SDL.h> #include <SDL_image.h> #include <stdexcept> #include "../Any/View.h" #include "../Model/ImageModel.h" #include "../Any/Enums.h" #include "../Struct/Size.h" #include "../Atlas/TextureAtlas.h" using std::runtime_error; namespace ii887522::...
32.931034
186
0.7
[ "render", "model" ]
8f83658444d38f68752395399137f6fcf4123b94
1,265
cpp
C++
Sockets/Sockets TCP/Client/main_client.cpp
Witiza/Xarxes_i_Jocs_Online
54f18b43f5153406534e8c8e93b37665f4f08d2c
[ "MIT" ]
null
null
null
Sockets/Sockets TCP/Client/main_client.cpp
Witiza/Xarxes_i_Jocs_Online
54f18b43f5153406534e8c8e93b37665f4f08d2c
[ "MIT" ]
null
null
null
Sockets/Sockets TCP/Client/main_client.cpp
Witiza/Xarxes_i_Jocs_Online
54f18b43f5153406534e8c8e93b37665f4f08d2c
[ "MIT" ]
null
null
null
#define WIN32_LEAN_AND_MEAN #define NOMINMAX #include "Windows.h" #include "WinSock2.h" #include "Ws2tcpip.h" #include <iostream> #include <cstdlib> #pragma comment(lib, "ws2_32.lib") #define SERVER_ADDRESS "127.0.0.1" #define SERVER_PORT 8888 #define PAUSE_AND_EXIT() system("pause"); exit(-1) void printWSErrorAn...
21.083333
108
0.704348
[ "object" ]
8f84f71e79e0fff119841d1aadf580b755397355
4,115
cpp
C++
src/radiusmessage.cpp
OpenIKEv2/libopenikev2_impl
3c620ca479b20814fe42325cffcfd1d18dbf041c
[ "Apache-2.0" ]
3
2017-03-03T17:05:37.000Z
2020-06-16T04:50:40.000Z
src/radiusmessage.cpp
OpenIKEv2/libopenikev2_impl
3c620ca479b20814fe42325cffcfd1d18dbf041c
[ "Apache-2.0" ]
11
2017-02-27T09:31:17.000Z
2020-03-20T16:31:05.000Z
src/radiusmessage.cpp
OpenIKEv2/libopenikev2_impl
3c620ca479b20814fe42325cffcfd1d18dbf041c
[ "Apache-2.0" ]
null
null
null
/*************************************************************************** * Copyright (C) 2005 by * * Alejandro Perez Mendez alex@um.es * * Pedro J. Fernandez Ruiz pedroj@um.es * * ...
36.096491
126
0.587363
[ "vector", "transform" ]
8f85d67b37fd9483c80bae14c3895cdcab41e3d7
18,733
cpp
C++
studyGlewApp/app/src/main/cpp/render/lineWrap.cpp
LightSun/study_harfbuzz
d35584123f0d559bf08be3a028fd9ef8e846163b
[ "Apache-2.0" ]
null
null
null
studyGlewApp/app/src/main/cpp/render/lineWrap.cpp
LightSun/study_harfbuzz
d35584123f0d559bf08be3a028fd9ef8e846163b
[ "Apache-2.0" ]
null
null
null
studyGlewApp/app/src/main/cpp/render/lineWrap.cpp
LightSun/study_harfbuzz
d35584123f0d559bf08be3a028fd9ef8e846163b
[ "Apache-2.0" ]
null
null
null
// // Port of the implementation by: // Bram Stein - http://www.bramstein.com/projects/typeset/ // Copyright 2009-2010, Bram Stein // // Preserve Knuth and Plass line breaking algorithm in C++ // // Licensed under the new BSD License. // // // Copyright 2015, Hannes Janetzek // #include "lineWrap.h" #include <glm/vec...
30.165862
88
0.496076
[ "vector" ]
8f9267a40c41737465e486739cabb513a42eeaa7
1,787
cpp
C++
android-31/android/view/FocusFinder.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
12
2020-03-26T02:38:56.000Z
2022-03-14T08:17:26.000Z
android-31/android/view/FocusFinder.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
1
2021-01-27T06:07:45.000Z
2021-11-13T19:19:43.000Z
android-29/android/view/FocusFinder.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
3
2021-02-02T12:34:55.000Z
2022-03-08T07:45:57.000Z
#include "../../JIntArray.hpp" #include "../graphics/Rect.hpp" #include "./View.hpp" #include "./ViewGroup.hpp" #include "./FocusFinder.hpp" namespace android::view { // Fields // QJniObject forward FocusFinder::FocusFinder(QJniObject obj) : JObject(obj) {} // Constructors // Methods android::view::FocusFi...
25.898551
140
0.707331
[ "object" ]
8f93a94db37c2b90ad26e1ce352c72d9bea754db
382
cpp
C++
ch03/ex3_42.cpp
regconfi/Cpp-Primer
6e59f24f4c7f3be4f679b7d29084d9d859a463d9
[ "CC0-1.0" ]
46
2015-07-07T11:13:12.000Z
2022-03-27T10:20:54.000Z
ch03/ex3_42.cpp
lafener/Cpp-Primer
8cf1568f2d27622bce2d41493158f58527e5072f
[ "CC0-1.0" ]
11
2015-03-10T12:52:06.000Z
2015-04-20T12:24:00.000Z
ch03/ex3_42.cpp
lafener/Cpp-Primer
8cf1568f2d27622bce2d41493158f58527e5072f
[ "CC0-1.0" ]
65
2015-07-01T14:15:48.000Z
2021-04-10T08:44:19.000Z
#include <iostream> #include <vector> using std::vector; using std::cout; using std::endl; using std::begin; using std::end; int main() { vector<int> ivec{0, 1, 2, 3, 4, 5, 6, 7, 8, 9}; int int_arr[10]; for (int* i = begin(int_arr); i != end(int_arr); ++i) *i = ivec[i-begin(int_arr)]; for (auto i ...
20.105263
86
0.565445
[ "vector" ]
8fa1ccb98e3ce1c3969c6bc39740db046f76c7d2
2,426
cc
C++
examples/save_and_restore/main.cc
Liuweiming/tensorflow_c
2bb512ba20bafc21e1d6a9940b93cde8f4080ab5
[ "MIT" ]
1
2021-03-02T06:29:23.000Z
2021-03-02T06:29:23.000Z
examples/save_and_restore/main.cc
Liuweiming/tensorflow_c
2bb512ba20bafc21e1d6a9940b93cde8f4080ab5
[ "MIT" ]
null
null
null
examples/save_and_restore/main.cc
Liuweiming/tensorflow_c
2bb512ba20bafc21e1d6a9940b93cde8f4080ab5
[ "MIT" ]
null
null
null
// // Created by sergio on 16/05/19. // #include <iomanip> #include <numeric> #include "model.h" #include "tensor.h" using namespace tf_cpp; void load_and_run(const std::string &path, bool restore, bool training, bool save) { Model model(path); // std::cout << "operations: ---...
28.541176
77
0.538747
[ "vector", "model" ]
8fa38e9cdd41a22642d44abc498e8f7a332011dd
3,061
cpp
C++
components/render/manager/sources/render_dynamic_texture_entity_storage.cpp
untgames/funner
c91614cda55fd00f5631d2bd11c4ab91f53573a3
[ "MIT" ]
7
2016-03-30T17:00:39.000Z
2017-03-27T16:04:04.000Z
components/render/manager/sources/render_dynamic_texture_entity_storage.cpp
untgames/Funner
c91614cda55fd00f5631d2bd11c4ab91f53573a3
[ "MIT" ]
4
2017-11-21T11:25:49.000Z
2018-09-20T17:59:27.000Z
components/render/manager/sources/render_dynamic_texture_entity_storage.cpp
untgames/Funner
c91614cda55fd00f5631d2bd11c4ab91f53573a3
[ "MIT" ]
4
2016-11-29T15:18:40.000Z
2017-03-27T16:04:08.000Z
#include "shared.h" using namespace render::manager; /* Описание реализации хранилища динамических текстур объекта */ typedef stl::hash_map<stl::hash_key<const char*>, DynamicTexturePtr> DynamicTextureMap; struct DynamicTextureEntityStorage::Impl { DynamicTextureMap dynamic_textures; //карта динам...
25.508333
129
0.644887
[ "render" ]
8fa59801c2d80ac9ad8d4411617982141f7d7930
4,706
cpp
C++
src/eventdispatcher_epoll_p.cpp
qkdreyer/qt_eventdispatcher_epoll
eb0352878acd60176478bcfb6b5a8abdca6239de
[ "MIT" ]
37
2015-06-21T07:16:39.000Z
2021-06-10T18:23:17.000Z
src/epoll/eventdispatcher_epoll_p.cpp
zx1239856/libserver
8a72b8467c703b023e0703f74697e2d47d22757c
[ "MIT" ]
3
2015-10-15T13:22:22.000Z
2016-11-29T18:51:29.000Z
src/epoll/eventdispatcher_epoll_p.cpp
zx1239856/libserver
8a72b8467c703b023e0703f74697e2d47d22757c
[ "MIT" ]
17
2015-12-18T05:12:52.000Z
2020-06-22T10:25:23.000Z
#include <QtCore/QCoreApplication> #include <unistd.h> #include <sys/epoll.h> #include <sys/eventfd.h> #include <stdlib.h> #include <errno.h> #include "eventdispatcher_epoll.h" #include "eventdispatcher_epoll_p.h" #include "qt4compat.h" EventDispatcherEPollPrivate::EventDispatcherEPollPrivate(EventDispatcherEPoll* con...
24.38342
90
0.659584
[ "object" ]
8fac0e15e26e1c51d468d2659fac6bb0f87c6370
10,178
cpp
C++
src/GameApp.cpp
PSP-Archive/POLYGUNSCROLLINGUARS
042e70116a10a313a0b3de07630fd1d2b9c363c4
[ "BSD-3-Clause" ]
null
null
null
src/GameApp.cpp
PSP-Archive/POLYGUNSCROLLINGUARS
042e70116a10a313a0b3de07630fd1d2b9c363c4
[ "BSD-3-Clause" ]
null
null
null
src/GameApp.cpp
PSP-Archive/POLYGUNSCROLLINGUARS
042e70116a10a313a0b3de07630fd1d2b9c363c4
[ "BSD-3-Clause" ]
null
null
null
//------------------------------------------------------------------------------------- // // JGE++ is a hardware accelerated 2D game SDK for PSP/Windows. // // Licensed under the BSD license, see LICENSE in JGE root for details. // // Copyright (c) 2007 James Hui (a.k.a. Dr.Watson) <jhkhui@gmail.com> // //----------...
37.145985
222
0.6236
[ "render" ]
8fb1aad443507aff7f61e10bdd8ab930a180150b
6,686
hpp
C++
Programming Guide/Headers/Siv3D/MultiPolygon.hpp
Reputeless/Siv3D-Reference
d58e92885241d11612007fb9187ce0289a7ee9cb
[ "MIT" ]
38
2016-01-14T13:51:13.000Z
2021-12-29T01:49:30.000Z
Programming Guide/Headers/Siv3D/MultiPolygon.hpp
Reputeless/Siv3D-Reference
d58e92885241d11612007fb9187ce0289a7ee9cb
[ "MIT" ]
null
null
null
Programming Guide/Headers/Siv3D/MultiPolygon.hpp
Reputeless/Siv3D-Reference
d58e92885241d11612007fb9187ce0289a7ee9cb
[ "MIT" ]
16
2016-01-15T11:07:51.000Z
2021-12-29T01:49:37.000Z
//----------------------------------------------- // // This file is part of the Siv3D Engine. // // Copyright (C) 2008-2016 Ryo Suzuki // // Licensed under the MIT License. // //----------------------------------------------- # pragma once # include "Polygon.hpp" namespace s3d { /// <summary> /// 多角形の集合 /// </su...
24.671587
118
0.676787
[ "shape" ]
8fb2072a4c8192f0b584dd691251fc30fb079a87
12,132
cpp
C++
src/optimize.cpp
vardigroup/FourierSATPlus
9a1b2461460cea32a900c8c36ac6ac8050479122
[ "MIT" ]
null
null
null
src/optimize.cpp
vardigroup/FourierSATPlus
9a1b2461460cea32a900c8c36ac6ac8050479122
[ "MIT" ]
1
2021-06-18T17:37:09.000Z
2021-06-18T17:37:09.000Z
src/optimize.cpp
vardigroup/FourierSATPlus
9a1b2461460cea32a900c8c36ac6ac8050479122
[ "MIT" ]
null
null
null
#include <dlib/optimization.h> #include <iostream> #include "../include/optimize.h" #include <random> #include <algorithm> #include <stdlib.h> #define CHANGE_WEIGHTS #include "omp.h" using namespace std; using namespace dlib; static double sum(std::vector<double> *v){ double s = 0; for (int i = 0; i < v->size(...
33.888268
115
0.527366
[ "vector" ]
8fb472d628ef8590ceb3a201505189cbb5f39735
13,508
hpp
C++
include/Core/Castor3D/Scene/Scene.hpp
DragonJoker/Castor3D
ee0b02eeda70cd235a224be306539850e32195f6
[ "MIT" ]
245
2015-10-29T14:31:45.000Z
2022-03-31T13:04:45.000Z
include/Core/Castor3D/Scene/Scene.hpp
DragonJoker/Castor3D
ee0b02eeda70cd235a224be306539850e32195f6
[ "MIT" ]
64
2016-03-11T19:45:05.000Z
2022-03-31T23:58:33.000Z
include/Core/Castor3D/Scene/Scene.hpp
DragonJoker/Castor3D
ee0b02eeda70cd235a224be306539850e32195f6
[ "MIT" ]
11
2018-05-24T09:07:43.000Z
2022-03-21T21:05:20.000Z
/* See LICENSE file in root folder */ #ifndef ___C3D_SCENE_H___ #define ___C3D_SCENE_H___ #include "Castor3D/Overlay/OverlayModule.hpp" #include "Castor3D/Render/GlobalIllumination/GlobalIlluminationModule.hpp" #include "Castor3D/Render/EnvironmentMap/EnvironmentMapModule.hpp" #include "Castor3D/Render/Node/RenderNode...
29.301518
139
0.722905
[ "mesh", "geometry", "render" ]
2632e253be12795a3b74ecbd0f41a0c68b597a2d
2,769
hpp
C++
src/crosshatching/brush_language.hpp
jwezorek/crosshatching
0811e239998cc68d5d6e900510974d6196638577
[ "MIT" ]
null
null
null
src/crosshatching/brush_language.hpp
jwezorek/crosshatching
0811e239998cc68d5d6e900510974d6196638577
[ "MIT" ]
null
null
null
src/crosshatching/brush_language.hpp
jwezorek/crosshatching
0811e239998cc68d5d6e900510974d6196638577
[ "MIT" ]
null
null
null
#pragma once #include "brush.hpp" #include <vector> #include <memory> #include <string> #include <optional> #include <variant> #include <iterator> namespace ch { enum class symbol { true_, false_, pipe, linear_brush, norm_rnd, lerp, ramp, rotate, ...
28.84375
99
0.627302
[ "vector" ]