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
2eca8e68d67c0ff7a35d70c4ff559b6050eed058
38,853
cpp
C++
WebLayoutCore/Source/WebCore/platform/graphics/cairo/CairoOperations.cpp
gubaojian/trylearn
74dd5c6c977f8d867d6aa360b84bc98cb82f480c
[ "MIT" ]
1
2020-05-25T16:06:49.000Z
2020-05-25T16:06:49.000Z
WebLayoutCore/Source/WebCore/platform/graphics/cairo/CairoOperations.cpp
gubaojian/trylearn
74dd5c6c977f8d867d6aa360b84bc98cb82f480c
[ "MIT" ]
null
null
null
WebLayoutCore/Source/WebCore/platform/graphics/cairo/CairoOperations.cpp
gubaojian/trylearn
74dd5c6c977f8d867d6aa360b84bc98cb82f480c
[ "MIT" ]
1
2018-07-10T10:53:18.000Z
2018-07-10T10:53:18.000Z
/* * Copyright (C) 2006 Apple Inc. All rights reserved. * Copyright (C) 2007 Alp Toker <alp@atoker.com> * Copyright (C) 2008, 2009 Dirk Schulze <krit@webkit.org> * Copyright (C) 2008 Nuanti Ltd. * Copyright (C) 2009 Brent Fulgham <bfulgham@webkit.org> * Copyright (C) 2010, 2011 Igalia S.L. * Copyright (C) Resea...
38.166012
280
0.725581
[ "object", "vector", "transform", "solid" ]
2ed0e589c0cffe45bfc4a1e5e5c01eb36cf385bd
9,502
hpp
C++
src/ibeo_8l_sdk/src/ibeosdk/datablocks/snippets/ObjectScala.hpp
tomcamp0228/ibeo_ros2
ff56c88d6e82440ae3ce4de08f2745707c354604
[ "MIT" ]
1
2020-06-19T11:01:49.000Z
2020-06-19T11:01:49.000Z
src/ibeo_8l_sdk/src/ibeosdk/datablocks/snippets/ObjectScala.hpp
tomcamp0228/ibeo_ros2
ff56c88d6e82440ae3ce4de08f2745707c354604
[ "MIT" ]
null
null
null
src/ibeo_8l_sdk/src/ibeosdk/datablocks/snippets/ObjectScala.hpp
tomcamp0228/ibeo_ros2
ff56c88d6e82440ae3ce4de08f2745707c354604
[ "MIT" ]
2
2020-06-19T11:01:48.000Z
2020-10-29T03:07:14.000Z
//====================================================================== /*! \file ObjectScala.hpp * * \copydoc Copyright * \author Jan Christian Dittmer (jcd) * \date Jan 17, 2014 *///------------------------------------------------------------------- #ifndef IBEOSDK_OBJECTSCALA_HPP_SEEN #define IBEOSDK_OBJECTSCA...
39.757322
123
0.722269
[ "object", "vector", "model" ]
2ee27daf9eb8b71a26adc94d885f5580e806134c
9,571
cxx
C++
Source/vtkboneApplyBendingTest.cxx
Numerics88/vtkbone
5a6ab2870679e9e7ea51926c34911607b9d85235
[ "MIT" ]
3
2017-04-04T04:59:22.000Z
2022-03-13T11:22:40.000Z
Source/vtkboneApplyBendingTest.cxx
Numerics88/vtkbone
5a6ab2870679e9e7ea51926c34911607b9d85235
[ "MIT" ]
5
2017-04-06T19:46:39.000Z
2019-12-11T23:41:41.000Z
Source/vtkboneApplyBendingTest.cxx
Numerics88/vtkbone
5a6ab2870679e9e7ea51926c34911607b9d85235
[ "MIT" ]
2
2017-04-29T20:54:57.000Z
2017-04-29T22:28:10.000Z
#include "vtkboneApplyBendingTest.h" #include "vtkboneSolverParameters.h" #include "vtkboneConstraintCollection.h" #include "vtkboneNodeSetsByGeometry.h" #include "vtkboneVersion.h" #include "vtkObjectFactory.h" #include "vtkCharArray.h" #include "vtkDoubleArray.h" #include "vtkInformationVector.h" #include "vtkInforma...
38.748988
106
0.62167
[ "object", "vector", "model" ]
2ee49c2cf38b121f93fdc30e4f9ed86015a78447
4,971
cpp
C++
src/common/utilmatlib.cpp
vxsd/refraction
bb6def1feb6c2e5c94b2604ad55607ed380a2d7e
[ "MIT" ]
14
2021-02-16T14:13:50.000Z
2022-03-17T18:29:19.000Z
src/common/utilmatlib.cpp
undbsd/refraction
bb6def1feb6c2e5c94b2604ad55607ed380a2d7e
[ "MIT" ]
7
2021-08-06T18:40:37.000Z
2022-03-09T18:05:08.000Z
src/common/utilmatlib.cpp
undbsd/refraction
bb6def1feb6c2e5c94b2604ad55607ed380a2d7e
[ "MIT" ]
2
2021-08-05T16:03:03.000Z
2021-11-26T00:11:27.000Z
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: // // $Workfile: $ // $Date: $ // $NoKeywords: $ //=============================================================================// // C callable material system interface for the utils. // und: fuck ton of winapi? o...
29.414201
106
0.675719
[ "vector" ]
2ee4f2ef6b43496b260b2281d6377d365a7f527a
4,728
hpp
C++
checkers/engine/src/fuel/fuel.hpp
amreo/ructfe-2019
19064842acc57243f16143a85c06a5613378ebec
[ "MIT" ]
23
2019-11-23T19:53:10.000Z
2021-02-19T06:13:28.000Z
checkers/engine/src/fuel/fuel.hpp
amreo/ructfe-2019
19064842acc57243f16143a85c06a5613378ebec
[ "MIT" ]
1
2019-11-30T16:10:52.000Z
2019-12-01T15:23:39.000Z
checkers/engine/src/fuel/fuel.hpp
amreo/ructfe-2019
19064842acc57243f16143a85c06a5613378ebec
[ "MIT" ]
3
2019-11-24T09:35:43.000Z
2021-02-19T06:13:29.000Z
#ifndef HPP_FUEL #define HPP_FUEL #include <boost/serialization/access.hpp> #include <queue> #include <vector> #include <memory> #include <algorithm> #include "piece.hpp" #include "state.hpp" #include "settings.hpp" #include "piece_tree.hpp" class fuel { private: state* d_root; settings d_setting...
26.413408
103
0.550761
[ "vector" ]
2ee8bd0a12c098898958ef852f525639fdb4ff7a
1,302
cpp
C++
ABC/ABC104/C.cpp
rajyan/AtCoder
2c1187994016d4c19b95489d2f2d2c0eab43dd8e
[ "MIT" ]
1
2021-06-01T17:13:44.000Z
2021-06-01T17:13:44.000Z
ABC/ABC104/C.cpp
rajyan/AtCoder
2c1187994016d4c19b95489d2f2d2c0eab43dd8e
[ "MIT" ]
null
null
null
ABC/ABC104/C.cpp
rajyan/AtCoder
2c1187994016d4c19b95489d2f2d2c0eab43dd8e
[ "MIT" ]
null
null
null
//#include <cstdio> //#include <cmath> //#include <iostream> //#include <sstream> //#include <string> //#include <vector> //#include <map> //#include <queue> //#include <algorithm> // //#ifdef _DEBUG //#define DMP(x) cerr << #x << ": " << x << "\n" //#else //#define DMP(x) ((void)0) //#endif // //const int MOD = 100000...
18.083333
49
0.440092
[ "vector" ]
2eeb298b761f0773116cf1a4cc0b5a0ff1dda0e9
14,450
hpp
C++
include/typecode.hpp
ferhatgec/typecode
069566d367f41544d3017c0abeaa4c5d3653d732
[ "MIT" ]
2
2021-08-19T00:02:12.000Z
2021-08-19T00:08:06.000Z
include/typecode.hpp
ferhatgec/typecode
069566d367f41544d3017c0abeaa4c5d3653d732
[ "MIT" ]
null
null
null
include/typecode.hpp
ferhatgec/typecode
069566d367f41544d3017c0abeaa4c5d3653d732
[ "MIT" ]
null
null
null
// MIT License // // Copyright (c) 2021 Ferhat Geçdoğan All Rights Reserved. // Distributed under the terms of the MIT License. // // TypeCode - An interpreter that introduces you. // // An example code: // $%///*++;%////*++;///++++;///*++;///*+++;-%////*;$@/*+;+++;///;@ // // Output: // Languages: // FlaScript ...
25.086806
101
0.340069
[ "object", "vector" ]
2eeb3747671f6f17aafa5f353e05cd50ce6b0638
6,698
cpp
C++
examples/Robotics/HuMAns_Bip/RobotFrot.cpp
bremond/siconos
8deea56ff6779379f4f69e0376d24a81562a42d4
[ "Apache-2.0" ]
6
2017-01-12T23:09:28.000Z
2021-03-20T17:03:58.000Z
examples/Robotics/HuMAns_Bip/RobotFrot.cpp
bremond/siconos
8deea56ff6779379f4f69e0376d24a81562a42d4
[ "Apache-2.0" ]
3
2019-01-14T13:44:51.000Z
2021-05-17T13:57:27.000Z
examples/Robotics/HuMAns_Bip/RobotFrot.cpp
bremond/siconos
8deea56ff6779379f4f69e0376d24a81562a42d4
[ "Apache-2.0" ]
2
2019-10-22T13:30:39.000Z
2020-10-06T10:19:57.000Z
// =============================== Robot sample (Bip) =============================== // // Keywords: LagrangianDS, LagrangianLinear relation, MoreauJeanOSI TimeStepping, LCP. // // ============================================================================================= #include "SiconosKernel.hpp" using namesp...
28.623932
99
0.508361
[ "model" ]
2ef77c3a818302b04357f5a8b60b7517fc65e917
4,512
cpp
C++
apps/wasp2raw/wasp2raw.cpp
RemiLacroix-IDRIS/VAPOR
33c787b6089ad845f6f989176d839e117fcdb03f
[ "BSD-3-Clause" ]
null
null
null
apps/wasp2raw/wasp2raw.cpp
RemiLacroix-IDRIS/VAPOR
33c787b6089ad845f6f989176d839e117fcdb03f
[ "BSD-3-Clause" ]
null
null
null
apps/wasp2raw/wasp2raw.cpp
RemiLacroix-IDRIS/VAPOR
33c787b6089ad845f6f989176d839e117fcdb03f
[ "BSD-3-Clause" ]
1
2021-12-04T15:35:46.000Z
2021-12-04T15:35:46.000Z
#include <iostream> #include <string> #include <vector> #include <sstream> #include <cerrno> #include <stdio.h> #include <vapor/CFuncs.h> #include <vapor/OptionParser.h> #include <vapor/WASP.h> #include <vapor/FileUtils.h> using namespace Wasp; using namespace VAPoR; // // Command line argument stuff // struct opt_t...
23.5
77
0.634973
[ "vector" ]
2efff115fa2603f1132e26d31271bbf8b9607e82
3,839
cpp
C++
hackerrank/w34/recurrentontree.cpp
metaflow/contests
5e9ffcb72c3e7da54b5e0818b1afa59f5778ffa2
[ "MIT" ]
1
2019-05-12T23:41:00.000Z
2019-05-12T23:41:00.000Z
hackerrank/w34/recurrentontree.cpp
metaflow/contests
5e9ffcb72c3e7da54b5e0818b1afa59f5778ffa2
[ "MIT" ]
null
null
null
hackerrank/w34/recurrentontree.cpp
metaflow/contests
5e9ffcb72c3e7da54b5e0818b1afa59f5778ffa2
[ "MIT" ]
null
null
null
#if defined(LOCAL) #define PROBLEM_NAME "recurrentontree" const double _max_double_error = 1e-9; #include "testutils.h" #define L(x...) debug(x) #else #define L(x, ...) (x) #include <bits/stdc++.h> #endif using namespace std; using vi = vector<int>; using vvi = vector<vi>; using ii = pair<int,int>; using vii = vector<...
22.450292
73
0.515759
[ "vector" ]
2c024119f3ce86d9a691eb7efa6950b0a23acba8
1,009
hpp
C++
gauss.hpp
gonzavesc/convection_final
39732bd55b2412bddd65844a8fb1b1dd92acfc1f
[ "MIT" ]
null
null
null
gauss.hpp
gonzavesc/convection_final
39732bd55b2412bddd65844a8fb1b1dd92acfc1f
[ "MIT" ]
null
null
null
gauss.hpp
gonzavesc/convection_final
39732bd55b2412bddd65844a8fb1b1dd92acfc1f
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> #include <vector> #include <string> #include <cmath> //std::pow abs #include <new> #include <algorithm> //std::max #include "read.hpp" #include "initialize.hpp" #include "export.hpp" #include "method.hpp" #include "boundary.hpp" #ifndef INCLUDE_GSS ...
28.828571
326
0.650149
[ "vector" ]
2c0339d29f000754d79f9e8fed1845dae2de1c34
3,099
cpp
C++
puzzle.cpp
AjayKrP/Project
3efd2f2fbe4400c5674e18688daefb5a845b5cbe
[ "MIT" ]
null
null
null
puzzle.cpp
AjayKrP/Project
3efd2f2fbe4400c5674e18688daefb5a845b5cbe
[ "MIT" ]
null
null
null
puzzle.cpp
AjayKrP/Project
3efd2f2fbe4400c5674e18688daefb5a845b5cbe
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #include <functional> using namespace std; map<vector<vector<int> > , bool> visited; map<vector<vector<int> > , vector<vector<int> > > parent; vector<vector<int> > goal(3,vector<int> (3)); bool visit(vector<vector<int> > a) { if(visited[a]==true) return true; else return false; } int m...
15.191176
78
0.528235
[ "vector" ]
2c0a71b9d41713d2ff01255e37eeea2db6737830
5,075
hpp
C++
include/zgraph/graph/zadjancency_list_ugraph.hpp
DerThorsten/zgraph
a981f7bc0fef9581626779663a3c54fb8922c72a
[ "MIT" ]
null
null
null
include/zgraph/graph/zadjancency_list_ugraph.hpp
DerThorsten/zgraph
a981f7bc0fef9581626779663a3c54fb8922c72a
[ "MIT" ]
null
null
null
include/zgraph/graph/zadjancency_list_ugraph.hpp
DerThorsten/zgraph
a981f7bc0fef9581626779663a3c54fb8922c72a
[ "MIT" ]
null
null
null
#pragma once #ifndef ZGRAPH_GRAPH_ZADJACENCY_LIST_UGRAPH_HPP #define ZGRAPH_GRAPH_ZADJACENCY_LIST_UGRAPH_HPP #include <cstdint> #include <iostream> #include <map> #include <set> #include <array> #include "zgraph/graph/detail/zgraph_items.hpp" #include "zgraph/graph/detail/zgraph_maps.hpp" #include "zgraph/detail/zra...
28.672316
111
0.616158
[ "transform" ]
2c0ae723bc0d25adf92641733d03517894510dcd
2,304
cpp
C++
Teaching/testParser.cpp
ryhanai/teachingplugin
a495885899eaa36ea00ba8ab89057cd4d3f36350
[ "MIT" ]
2
2020-07-21T06:08:42.000Z
2020-07-21T06:08:44.000Z
Teaching/testParser.cpp
ryhanai/teachingplugin
a495885899eaa36ea00ba8ab89057cd4d3f36350
[ "MIT" ]
null
null
null
Teaching/testParser.cpp
ryhanai/teachingplugin
a495885899eaa36ea00ba8ab89057cd4d3f36350
[ "MIT" ]
null
null
null
// // Linux // g++ -o testParser testParser.cpp -std=c++11 // #include "Parser.h" namespace teaching { class tostr_visitor : public boost::static_visitor<std::string> { public: std::string operator()(ValueNodeSp const& node) const { return boost::lexical_cast<std::string>(node->v_); } std...
29.164557
88
0.572917
[ "vector" ]
2c0b4d6a65c0636d86d0af7931f0bb7db9d098c6
7,701
cpp
C++
oldsrc/projectBw.cpp
ron2015schmitt/coildes
2583bc1beb6b5809ed75367970e4f32ba242894a
[ "MIT" ]
null
null
null
oldsrc/projectBw.cpp
ron2015schmitt/coildes
2583bc1beb6b5809ed75367970e4f32ba242894a
[ "MIT" ]
null
null
null
oldsrc/projectBw.cpp
ron2015schmitt/coildes
2583bc1beb6b5809ed75367970e4f32ba242894a
[ "MIT" ]
null
null
null
// Standard C libraries #include <cstdio> #include <cstring> #include <cstdlib> #include <cmath> // Standard C++ libraries #include <iostream> #include <complex> using namespace std; // coil libraries #include "coils.hpp" #include "coilio.hpp" #include "coils_cmdline.hpp" #include "surface.hpp" #include "induct...
22.386628
99
0.656668
[ "vector", "transform" ]
2c0ee4550f86c3827947b6068f7d2425cace8421
5,169
cc
C++
examples/samples/elle/serialization.cc
infinitio/elle
d9bec976a1217137436db53db39cda99e7024ce4
[ "Apache-2.0" ]
521
2016-02-14T00:39:01.000Z
2022-03-01T22:39:25.000Z
examples/samples/elle/serialization.cc
infinitio/elle
d9bec976a1217137436db53db39cda99e7024ce4
[ "Apache-2.0" ]
8
2017-02-21T11:47:33.000Z
2018-11-01T09:37:14.000Z
examples/samples/elle/serialization.cc
infinitio/elle
d9bec976a1217137436db53db39cda99e7024ce4
[ "Apache-2.0" ]
48
2017-02-21T10:18:13.000Z
2022-03-25T02:35:20.000Z
#include <string> #include <vector> #include <boost/date_time/posix_time/posix_time.hpp> #include <elle/UUID.hh> #include <elle/Version.hh> #include <elle/assert.hh> #include <elle/serialization.hh> #include <elle/serialization/json.hh> #include <elle/serialization/binary.hh> static const auto unknown_date = boost::...
33.564935
80
0.643645
[ "object", "vector" ]
2c0f08f456456a45785358268b1265ea28e0c5a0
1,331
cc
C++
out/longest_increasing_subsequence.cc
FardaleM/metalang
171557c540f3e2c051ec39ea150afb740c1f615f
[ "BSD-2-Clause" ]
22
2017-04-24T10:00:45.000Z
2021-04-01T10:11:05.000Z
out/longest_increasing_subsequence.cc
FardaleM/metalang
171557c540f3e2c051ec39ea150afb740c1f615f
[ "BSD-2-Clause" ]
12
2017-03-26T18:34:21.000Z
2019-03-21T19:13:03.000Z
out/longest_increasing_subsequence.cc
FardaleM/metalang
171557c540f3e2c051ec39ea150afb740c1f615f
[ "BSD-2-Clause" ]
7
2017-10-14T13:33:33.000Z
2021-03-18T15:18:50.000Z
#include <iostream> #include <vector> int dichofind(int len, std::vector<int> * tab, int tofind, int a, int b) { if (a >= b - 1) return a; else { int c = (a + b) / 2; if (tab->at(c) < tofind) return dichofind(len, tab, tofind, c, b); else return dicho...
23.350877
74
0.410218
[ "vector" ]
2c0f10bcfc5ecad6d967673cfea6e335f43d195c
1,593
cpp
C++
ecs/src/v2/model/AddServerGroupMemberRequestBody.cpp
yangzhaofeng/huaweicloud-sdk-cpp-v3
4f3caac5ba9a9b75b4e5fd61683d1c4d57ec1c23
[ "Apache-2.0" ]
5
2021-03-03T08:23:43.000Z
2022-02-16T02:16:39.000Z
ecs/src/v2/model/AddServerGroupMemberRequestBody.cpp
yangzhaofeng/huaweicloud-sdk-cpp-v3
4f3caac5ba9a9b75b4e5fd61683d1c4d57ec1c23
[ "Apache-2.0" ]
null
null
null
ecs/src/v2/model/AddServerGroupMemberRequestBody.cpp
yangzhaofeng/huaweicloud-sdk-cpp-v3
4f3caac5ba9a9b75b4e5fd61683d1c4d57ec1c23
[ "Apache-2.0" ]
7
2021-02-26T13:53:35.000Z
2022-03-18T02:36:43.000Z
#include "huaweicloud/ecs/v2/model/AddServerGroupMemberRequestBody.h" namespace HuaweiCloud { namespace Sdk { namespace Ecs { namespace V2 { namespace Model { AddServerGroupMemberRequestBody::AddServerGroupMemberRequestBody() { addMemberIsSet_ = false; } AddServerGroupMemberRequestBody::~AddServerGroupMembe...
19.666667
101
0.71312
[ "object", "model" ]
2c10acf40ca89f9fa691b4477bd11170e3b40eb6
4,002
hpp
C++
core/src/builders/terrain/RegionTypes.hpp
hexrain/utymap
39cb7684bf014ecc770ed1c46d953f13e103f3f5
[ "Apache-2.0" ]
946
2016-03-13T23:00:37.000Z
2022-03-29T08:35:30.000Z
core/src/builders/terrain/RegionTypes.hpp
hexrain/utymap
39cb7684bf014ecc770ed1c46d953f13e103f3f5
[ "Apache-2.0" ]
136
2016-03-30T11:54:45.000Z
2020-10-31T13:05:27.000Z
core/src/builders/terrain/RegionTypes.hpp
hexrain/utymap
39cb7684bf014ecc770ed1c46d953f13e103f3f5
[ "Apache-2.0" ]
168
2016-05-02T15:04:53.000Z
2022-03-28T17:23:26.000Z
#ifndef BUILDERS_TERRAIN_REGIONTYPES_HPP_DEFINED #define BUILDERS_TERRAIN_REGIONTYPES_HPP_DEFINED #include "builders/MeshBuilder.hpp" #include "mapcss/Style.hpp" #include "mapcss/StyleConsts.hpp" #include "math/PolyClip.hpp" #include <memory> namespace utymap { namespace builders { /// Region context encapsulates i...
31.511811
108
0.691654
[ "geometry", "vector" ]
2c12ecdbcc5d99f3e46f207680f6c961c0edb68e
9,084
cpp
C++
ThirdParty/poco/Foundation/testsuite/src/CoreTest.cpp
gregmedlock/roadrunnerwork
11f18f78ef3e381bc59c546a8d5e3ed46d8ab596
[ "Apache-2.0" ]
null
null
null
ThirdParty/poco/Foundation/testsuite/src/CoreTest.cpp
gregmedlock/roadrunnerwork
11f18f78ef3e381bc59c546a8d5e3ed46d8ab596
[ "Apache-2.0" ]
null
null
null
ThirdParty/poco/Foundation/testsuite/src/CoreTest.cpp
gregmedlock/roadrunnerwork
11f18f78ef3e381bc59c546a8d5e3ed46d8ab596
[ "Apache-2.0" ]
null
null
null
// // CoreTest.cpp // // $Id: //poco/1.4/Foundation/testsuite/src/CoreTest.cpp#2 $ // // Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH. // and Contributors. // // Permission is hereby granted, free of charge, to any person or organization // obtaining a copy of the software and accompa...
23.594805
81
0.625165
[ "object", "vector" ]
2c2493b117e54b4f916af13b36c3440cada16123
1,375
cpp
C++
bistro/nodes/test/test_nodes.cpp
pradeepvaka/bistro
e34bc17c06967a94e7897cd29019e1da2b421704
[ "MIT" ]
null
null
null
bistro/nodes/test/test_nodes.cpp
pradeepvaka/bistro
e34bc17c06967a94e7897cd29019e1da2b421704
[ "MIT" ]
null
null
null
bistro/nodes/test/test_nodes.cpp
pradeepvaka/bistro
e34bc17c06967a94e7897cd29019e1da2b421704
[ "MIT" ]
null
null
null
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include <gtest/gtest.h> #include "bistro/bistro/nodes/Nodes.h" #include "bistro/bistro/utils/hostname.h" #include "bistro/bistr...
29.255319
76
0.676364
[ "vector" ]
2c2495d4f1748b901795084419e16d33a960e65e
2,339
cpp
C++
11418.cpp
felikjunvianto/kfile-uvaoj-submissions
5bd8b3b413ca8523abe412b0a0545f766f70ce63
[ "MIT" ]
null
null
null
11418.cpp
felikjunvianto/kfile-uvaoj-submissions
5bd8b3b413ca8523abe412b0a0545f766f70ce63
[ "MIT" ]
null
null
null
11418.cpp
felikjunvianto/kfile-uvaoj-submissions
5bd8b3b413ca8523abe412b0a0545f766f70ce63
[ "MIT" ]
null
null
null
#include <cstdio> #include <cmath> #include <iostream> #include <string> #include <cstring> #include <algorithm> #include <vector> #include <utility> #include <stack> #include <queue> #include <map> #define fi first #define se second #define pb push_back #define mp make_pair #define pi 2*acos(0.0) #de...
17.198529
76
0.48525
[ "vector" ]
2c259592ae7414817a0af4f39ef1702f3a2c2355
968
cpp
C++
src/main.cpp
kodo-pp/ccom
77e6668b0243e4b37d8eca8f63d50b7e8034d4d2
[ "Unlicense" ]
null
null
null
src/main.cpp
kodo-pp/ccom
77e6668b0243e4b37d8eca8f63d50b7e8034d4d2
[ "Unlicense" ]
null
null
null
src/main.cpp
kodo-pp/ccom
77e6668b0243e4b37d8eca8f63d50b7e8034d4d2
[ "Unlicense" ]
null
null
null
#include <ccom/util.hpp> #include <ccom/rasterizer.hpp> #include <ccom/compositor.hpp> #include <ccom/geometry.hpp> #include <ccom/objects/triangle.hpp> #include <ccom/objects/rectangle.hpp> #include <iostream> #include <iomanip> #include <cmath> #include <unistd.h> int main() { std::cout.sync_with_stdio(false); ...
23.609756
72
0.605372
[ "geometry" ]
2c25dca180060028cf279c291b97e68937be4407
7,368
cpp
C++
src/main.cpp
yangchunluo/udacity-self-driving-p10-mpc
d6dbd2e4d033c999e73dd48492d08b63f70f2c1d
[ "MIT" ]
null
null
null
src/main.cpp
yangchunluo/udacity-self-driving-p10-mpc
d6dbd2e4d033c999e73dd48492d08b63f70f2c1d
[ "MIT" ]
null
null
null
src/main.cpp
yangchunluo/udacity-self-driving-p10-mpc
d6dbd2e4d033c999e73dd48492d08b63f70f2c1d
[ "MIT" ]
null
null
null
#include <math.h> #include <uWS/uWS.h> #include <chrono> #include <iostream> #include <thread> #include <vector> #include "MPC.h" #include "json.hpp" #include "polyutils.h" #include <cassert> // for convenience using json = nlohmann::json; // For converting back and forth between radians and degrees. constexpr double ...
32.746667
86
0.610885
[ "object", "vector", "model" ]
2c283749d7526d410d51440bc5859e76532304b4
1,751
cpp
C++
1322_b.cpp
onexmaster/cp
b78b0f1e586d6977d86c97b32f48fed33f1469af
[ "Apache-2.0", "MIT" ]
null
null
null
1322_b.cpp
onexmaster/cp
b78b0f1e586d6977d86c97b32f48fed33f1469af
[ "Apache-2.0", "MIT" ]
null
null
null
1322_b.cpp
onexmaster/cp
b78b0f1e586d6977d86c97b32f48fed33f1469af
[ "Apache-2.0", "MIT" ]
null
null
null
// Created by Tanuj Jain #include<bits/stdc++.h> #include<ext/pb_ds/assoc_container.hpp> #include<ext/pb_ds/tree_policy.hpp> using namespace std; using namespace __gnu_pbds; #define pb push_back #define mp make_pair typedef long long ll; typedef pair<int,int> pii; template<class T> using oset=tree<T, null_typ...
19.897727
106
0.533409
[ "vector" ]
2c3020f3922f90a227adc9d31c6bb41ae24234c1
6,975
cc
C++
tensorflow/compiler/plugin/poplar/tests/debug_info_test.cc
chenzhengda/tensorflow
8debb698097670458b5f21d728bc6f734a7b5a53
[ "Apache-2.0" ]
74
2020-07-06T17:11:39.000Z
2022-01-28T06:31:28.000Z
tensorflow/compiler/plugin/poplar/tests/debug_info_test.cc
chenzhengda/tensorflow
8debb698097670458b5f21d728bc6f734a7b5a53
[ "Apache-2.0" ]
9
2020-10-13T23:25:29.000Z
2022-02-10T06:54:48.000Z
tensorflow/compiler/plugin/poplar/tests/debug_info_test.cc
chenzhengda/tensorflow
8debb698097670458b5f21d728bc6f734a7b5a53
[ "Apache-2.0" ]
12
2020-07-08T07:27:17.000Z
2021-12-27T08:54:27.000Z
/* Copyright 2021 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
34.875
80
0.678996
[ "shape" ]
2c36a514877579df52c066a3e728bab07b65f0a7
4,096
cpp
C++
OPHD/UI/FactoryListBox.cpp
belgianguy/OPHD
d59009d63b6f10fc9a95c36c392d72509e52a21c
[ "BSD-3-Clause" ]
null
null
null
OPHD/UI/FactoryListBox.cpp
belgianguy/OPHD
d59009d63b6f10fc9a95c36c392d72509e52a21c
[ "BSD-3-Clause" ]
null
null
null
OPHD/UI/FactoryListBox.cpp
belgianguy/OPHD
d59009d63b6f10fc9a95c36c392d72509e52a21c
[ "BSD-3-Clause" ]
null
null
null
#include "FactoryListBox.h" #include "../Things/Structures/Factory.h" #include "../Cache.h" #include "../Constants.h" #include <NAS2D/Utility.h> #include <NAS2D/Renderer/Renderer.h> using namespace NAS2D; const int LIST_ITEM_HEIGHT = 58; const Image* STRUCTURE_ICONS = nullptr; static const Font* MAIN_FONT = nul...
30.567164
168
0.703125
[ "object" ]
2c3f701dc0dcd0f5ba7b9e92edd1fb6b13c4f7f1
6,156
cc
C++
bam/src/hst_svc_mapping.cc
sdelafond/centreon-broker
21178d98ed8a061ca71317d23c2026dbc4edaca2
[ "Apache-2.0" ]
null
null
null
bam/src/hst_svc_mapping.cc
sdelafond/centreon-broker
21178d98ed8a061ca71317d23c2026dbc4edaca2
[ "Apache-2.0" ]
null
null
null
bam/src/hst_svc_mapping.cc
sdelafond/centreon-broker
21178d98ed8a061ca71317d23c2026dbc4edaca2
[ "Apache-2.0" ]
null
null
null
/* ** Copyright 2014 Centreon ** ** 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 ...
29.883495
88
0.61436
[ "object" ]
2c47b0de398e9de34dbbfbb2ac71c65227d51efe
1,961
cpp
C++
test/TestOpAlgoLoopsPassingData.cpp
cnheider/vulkan-kompute
267f92763ee7743549a4d5299fee61054bbb4689
[ "Apache-2.0" ]
5
2020-11-09T06:49:55.000Z
2022-01-22T15:43:32.000Z
test/TestOpAlgoLoopsPassingData.cpp
cnheider/vulkan-kompute
267f92763ee7743549a4d5299fee61054bbb4689
[ "Apache-2.0" ]
null
null
null
test/TestOpAlgoLoopsPassingData.cpp
cnheider/vulkan-kompute
267f92763ee7743549a4d5299fee61054bbb4689
[ "Apache-2.0" ]
1
2021-02-13T08:12:29.000Z
2021-02-13T08:12:29.000Z
#include "gtest/gtest.h" #include "kompute/Kompute.hpp" TEST(TestProcessingIterations, IterateThroughMultipleSumAndCopies) { kp::Manager mgr; float TOTAL_ITER = 10; std::vector<float> testExpectedOutVec = { TOTAL_ITER, TOTAL_ITER, ...
24.822785
71
0.539521
[ "vector" ]
2c4824bc51727043951e4a927d8c6c845d947489
6,439
cpp
C++
src/qpid/broker/amqp/ManagedConnection.cpp
irinabov/debian-qpid-cpp-1.35.0
98b0597071c0a5f0cc407a35d5a4690d9189065e
[ "Apache-2.0" ]
1
2017-11-29T09:19:02.000Z
2017-11-29T09:19:02.000Z
src/qpid/broker/amqp/ManagedConnection.cpp
irinabov/debian-qpid-cpp-1.35.0
98b0597071c0a5f0cc407a35d5a4690d9189065e
[ "Apache-2.0" ]
null
null
null
src/qpid/broker/amqp/ManagedConnection.cpp
irinabov/debian-qpid-cpp-1.35.0
98b0597071c0a5f0cc407a35d5a4690d9189065e
[ "Apache-2.0" ]
null
null
null
/* * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); y...
29.948837
138
0.69809
[ "model" ]
2c4987716a367eca93f4fe53919322b2d35b5dde
62,536
hpp
C++
Pods/OpenVPNAdapter/Sources/OpenVPN3/openvpn/openssl/ssl/sslctx.hpp
TiagoPedroByterev/openvpnclient-ios
a9dafb2a481cc72a3e408535fb7f0aba9f5cfa76
[ "MIT" ]
10
2021-03-29T13:52:06.000Z
2022-03-10T02:24:25.000Z
Pods/OpenVPNAdapter/Sources/OpenVPN3/openvpn/openssl/ssl/sslctx.hpp
TiagoPedroByterev/openvpnclient-ios
a9dafb2a481cc72a3e408535fb7f0aba9f5cfa76
[ "MIT" ]
null
null
null
Pods/OpenVPNAdapter/Sources/OpenVPN3/openvpn/openssl/ssl/sslctx.hpp
TiagoPedroByterev/openvpnclient-ios
a9dafb2a481cc72a3e408535fb7f0aba9f5cfa76
[ "MIT" ]
6
2021-07-03T07:56:56.000Z
2022-02-14T15:28:23.000Z
// OpenVPN -- An application to securely tunnel IP networks // over a single port, with support for SSL/TLS-based // session authentication and key exchange, // packet encryption, packet authentication, and // packet compression. // // Copyright (C) 2012-201...
29.140727
165
0.661859
[ "object", "vector" ]
2c4baca7dbb25c696e1d4b5019d11b976ebb564f
852
cpp
C++
6.Searching/2.indexofLastoccur.cpp
abhishekmishra25/leetcode
855d64fa5da737ba099c4c2f9c84b6af4bb2239d
[ "MIT" ]
null
null
null
6.Searching/2.indexofLastoccur.cpp
abhishekmishra25/leetcode
855d64fa5da737ba099c4c2f9c84b6af4bb2239d
[ "MIT" ]
null
null
null
6.Searching/2.indexofLastoccur.cpp
abhishekmishra25/leetcode
855d64fa5da737ba099c4c2f9c84b6af4bb2239d
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; // creating a calss soluction class soluction { public: int Lastindex(vector<int> &arr, int target) { int low = 0, high = arr.size() - 1; while (low <= high) { int mid = low + (high - low) / 2; if (arr[mid] > target) ...
22.421053
70
0.428404
[ "vector" ]
2c5256e8e63eead9e6a2b8209c1a3ef430653b28
1,772
cpp
C++
examples/dbv2.cpp
struct/mathilda
2edbdcc6fedc9165b916050dc3f97ffe8322c225
[ "BSD-3-Clause" ]
33
2015-07-31T16:32:47.000Z
2020-02-12T18:17:49.000Z
examples/dbv2.cpp
struct/mathilda
2edbdcc6fedc9165b916050dc3f97ffe8322c225
[ "BSD-3-Clause" ]
2
2015-07-31T18:37:49.000Z
2016-08-12T13:56:28.000Z
examples/dbv2.cpp
struct/mathilda
2edbdcc6fedc9165b916050dc3f97ffe8322c225
[ "BSD-3-Clause" ]
10
2015-07-31T16:34:05.000Z
2019-12-10T12:44:16.000Z
// Copyright 2015/2016 Yahoo Inc. // Licensed under the BSD license, see LICENSE file for terms. // Written by Chris Rohlf // An example Dirbuster tool that uses Mathilda // g++ -o dbv2 dbv2.cpp mathilda.cpp mathilda_utils.cpp mathilda_fork.cpp dirbuster.cpp -std=c++11 -ggdb -lcurl -luv #include "mathilda.h" #include ...
25.314286
116
0.589165
[ "vector" ]
2c58dfcb0df88f281cf1d94fc892c39f92be1075
89,239
cpp
C++
src/HumidAirProp.cpp
CaioMSPinheiro/git-clone-https-github.com-CoolProp-CoolProp---recursive
936939b8ab8a2040eb81ee5f2b23890c630731bd
[ "MIT" ]
1
2021-07-07T16:37:52.000Z
2021-07-07T16:37:52.000Z
src/HumidAirProp.cpp
CaioMSPinheiro/git-clone-https-github.com-CoolProp-CoolProp---recursive
936939b8ab8a2040eb81ee5f2b23890c630731bd
[ "MIT" ]
1
2021-07-12T19:35:24.000Z
2021-07-13T04:18:23.000Z
src/HumidAirProp.cpp
CaioMSPinheiro/git-clone-https-github.com-CoolProp-CoolProp---recursive
936939b8ab8a2040eb81ee5f2b23890c630731bd
[ "MIT" ]
1
2021-07-07T16:38:23.000Z
2021-07-07T16:38:23.000Z
#if defined(_MSC_VER) #ifndef _CRT_SECURE_NO_WARNINGS #define _CRT_SECURE_NO_WARNINGS #endif #endif #include <memory> #include "HumidAirProp.h" #include "Backends/Helmholtz/HelmholtzEOSBackend.h" #include "Solvers.h" #include "CoolPropTools.h" #include "Ice.h" #include "CoolProp.h" #include "crossplatform_shared_ptr....
36.829963
412
0.588554
[ "vector" ]
2c595201860a8e0e77f08d60e821dc83913b92c7
12,431
cpp
C++
blast/src/connect/services/remote_app.cpp
mycolab/ncbi-blast
e59746cec78044d2bf6d65de644717c42f80b098
[ "Apache-2.0" ]
null
null
null
blast/src/connect/services/remote_app.cpp
mycolab/ncbi-blast
e59746cec78044d2bf6d65de644717c42f80b098
[ "Apache-2.0" ]
null
null
null
blast/src/connect/services/remote_app.cpp
mycolab/ncbi-blast
e59746cec78044d2bf6d65de644717c42f80b098
[ "Apache-2.0" ]
null
null
null
/* $Id: remote_app.cpp 584886 2019-04-18 16:59:46Z sadyrovr $ * =========================================================================== * * PUBLIC DOMAIN NOTICE * National Center for Biotechnology Information * * This software/database is a "United States Government ...
28.842227
101
0.570187
[ "vector" ]
2c5af74ab93f1a2e4d9bf6998b5c1376d98e4dda
30,226
cpp
C++
pytorch/torch/csrc/jit/script/init.cpp
raghavnauhria/whatmt
c20483a437c82936cb0fb8080925e37b9c4bba87
[ "MIT" ]
null
null
null
pytorch/torch/csrc/jit/script/init.cpp
raghavnauhria/whatmt
c20483a437c82936cb0fb8080925e37b9c4bba87
[ "MIT" ]
1
2019-07-22T09:48:46.000Z
2019-07-22T09:48:46.000Z
pytorch/torch/csrc/jit/script/init.cpp
raghavnauhria/whatmt
c20483a437c82936cb0fb8080925e37b9c4bba87
[ "MIT" ]
null
null
null
#include <torch/csrc/jit/script/init.h> #include <torch/csrc/Device.h> #include <torch/csrc/jit/import.h> #include <torch/csrc/jit/script/compiler.h> #include <torch/csrc/jit/script/module.h> #include <torch/csrc/jit/script/module_python.h> #include <torch/csrc/jit/script/python_sugared_value.h> #include <torch/csrc/j...
34.903002
115
0.592106
[ "object", "vector" ]
2c5bed22ac89aa529a388baa456c1f3988833e3f
43,640
cc
C++
interface/java.cc
stganser/isl
c3d4d80529bd2ed087c13688234f362a0150eae1
[ "MIT" ]
null
null
null
interface/java.cc
stganser/isl
c3d4d80529bd2ed087c13688234f362a0150eae1
[ "MIT" ]
null
null
null
interface/java.cc
stganser/isl
c3d4d80529bd2ed087c13688234f362a0150eae1
[ "MIT" ]
null
null
null
#include "isl_config.h" #include <cctype> #include <cstdio> #include <sstream> #include "generator.h" #include "java.h" static const string packagePath = "isl/"; static const string jniSrc = "isl_jni.c"; static const string commonHeader = "package isl;\n" "import isl.*;\n" "import java.lang.ref.Reference...
33.338426
114
0.571059
[ "object" ]
2c67f2429f984c7ec356e2ae7a2e2504e85f455f
4,458
cpp
C++
modelConvert/source/ModelChecker.cpp
sormo/simpleSDL
79a830a013f911c4670c86ccf68bd068a887670d
[ "MIT" ]
null
null
null
modelConvert/source/ModelChecker.cpp
sormo/simpleSDL
79a830a013f911c4670c86ccf68bd068a887670d
[ "MIT" ]
null
null
null
modelConvert/source/ModelChecker.cpp
sormo/simpleSDL
79a830a013f911c4670c86ccf68bd068a887670d
[ "MIT" ]
null
null
null
#include "ModelChecker.h" #include <iostream> #include "TangentSpace.h" #include "VboIndexer.h" void ValidateWindingOrders(glm::vec3 * positions, glm::vec3 * normals, std::vector<uint16_t> & indices) { for (size_t i = 0; i < indices.size(); i += 3) { uint16_t a = indices[i]; uint16_t b = indice...
30.326531
130
0.602064
[ "mesh", "vector", "model" ]
2c69a4da8739b5ecb55f348937e58b9c5d801200
4,725
hpp
C++
generator/osm_source.hpp
vmihaylenko/omim
00087f340e723fc611cbc82e0ae898b9053b620a
[ "Apache-2.0" ]
null
null
null
generator/osm_source.hpp
vmihaylenko/omim
00087f340e723fc611cbc82e0ae898b9053b620a
[ "Apache-2.0" ]
1
2019-05-14T15:26:55.000Z
2019-05-16T11:00:33.000Z
generator/osm_source.hpp
vmihaylenko/omim
00087f340e723fc611cbc82e0ae898b9053b620a
[ "Apache-2.0" ]
null
null
null
#pragma once #include "generator/emitter_interface.hpp" #include "generator/generate_info.hpp" #include "generator/intermediate_data.hpp" #include "generator/translator_interface.hpp" #include <functional> #include <iostream> #include <memory> #include <sstream> #include <string> #include <vector> struct OsmElement;...
38.414634
110
0.776085
[ "object", "vector", "transform" ]
ef18b25416206c1fff74d5f0f0ee91af3f559df0
2,716
hpp
C++
ray_tracing__advance/offscreen.hpp
wangxihao/vk_raytracing_tutorial_KHR
b3e6d848074291399be3c5e41456ac92924f8657
[ "Apache-2.0" ]
1
2021-08-10T07:24:16.000Z
2021-08-10T07:24:16.000Z
ray_tracing__advance/offscreen.hpp
wangxihao/vk_raytracing_tutorial_KHR
b3e6d848074291399be3c5e41456ac92924f8657
[ "Apache-2.0" ]
null
null
null
ray_tracing__advance/offscreen.hpp
wangxihao/vk_raytracing_tutorial_KHR
b3e6d848074291399be3c5e41456ac92924f8657
[ "Apache-2.0" ]
1
2021-08-10T07:24:06.000Z
2021-08-10T07:24:06.000Z
/* * Copyright (c) 2014-2021, NVIDIA CORPORATION. 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 ...
37.205479
100
0.685199
[ "render" ]
ef23a49ea36189fd923297dab72f0b472d7b2e58
10,266
hpp
C++
include/etl/expr/batch_softmax_expr.hpp
BeatWolf/etl
32e8153b38e0029176ca4fe2395b7fa6babe3189
[ "MIT" ]
1
2020-02-19T13:13:10.000Z
2020-02-19T13:13:10.000Z
include/etl/expr/batch_softmax_expr.hpp
BeatWolf/etl
32e8153b38e0029176ca4fe2395b7fa6babe3189
[ "MIT" ]
null
null
null
include/etl/expr/batch_softmax_expr.hpp
BeatWolf/etl
32e8153b38e0029176ca4fe2395b7fa6babe3189
[ "MIT" ]
null
null
null
//======================================================================= // Copyright (c) 2014-2018 Baptiste Wicht // Distributed under the terms of the MIT License. // (See accompanying file LICENSE or copy at // http://opensource.org/licenses/MIT) //==================================================================...
36.147887
139
0.584161
[ "vector" ]
ef2677567b443193994ecc25d791e9c7c5c6fd4d
25,771
hpp
C++
HotSpot1.7-JVM-Linux-x86/src/share/vm/oops/cpCacheOop.hpp
codefollower/Open-Source-Research
b9f2aed9d0f060b80be45f713c3d48fe91f247b2
[ "Apache-2.0" ]
184
2015-01-04T03:38:20.000Z
2022-03-30T05:47:21.000Z
HotSpot1.7/src/share/vm/oops/cpCacheOop.hpp
doczyw/Open-Source-Research
b9f2aed9d0f060b80be45f713c3d48fe91f247b2
[ "Apache-2.0" ]
1
2016-01-17T09:18:17.000Z
2016-01-17T09:18:17.000Z
HotSpot1.7/src/share/vm/oops/cpCacheOop.hpp
doczyw/Open-Source-Research
b9f2aed9d0f060b80be45f713c3d48fe91f247b2
[ "Apache-2.0" ]
101
2015-01-16T23:46:31.000Z
2022-03-30T05:47:06.000Z
/* * Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
51.439122
181
0.642738
[ "object" ]
ef36494e8ea8dae3050b4e6478c18315f37511a3
3,028
hpp
C++
source/Structure/custom_plugins/plugins/HIL_server/serial_asio.hpp
Guiraffo/ProVANT_Simulator
ef2260204b13f39a9f83ad2ab88a9552a0699bff
[ "MIT" ]
null
null
null
source/Structure/custom_plugins/plugins/HIL_server/serial_asio.hpp
Guiraffo/ProVANT_Simulator
ef2260204b13f39a9f83ad2ab88a9552a0699bff
[ "MIT" ]
null
null
null
source/Structure/custom_plugins/plugins/HIL_server/serial_asio.hpp
Guiraffo/ProVANT_Simulator
ef2260204b13f39a9f83ad2ab88a9552a0699bff
[ "MIT" ]
null
null
null
#include <boost/asio.hpp> #include <boost/thread.hpp> class SerialClass { public: // Class constructor SerialClass() : port(io), quitFlag(false) { } // Class destructor ~SerialClass() { { // Stop the I/O services io.stop(); // Wait for the thread to finish runner.join(); }...
25.661017
113
0.620542
[ "vector" ]
ef3bd1b31d3b381c310f4db102965382649765ae
5,884
cc
C++
src/optimizer.cc
jvanstraten/openql-ci-test
a8ff9c8c30991ff4ac81551a698a7e1c40471910
[ "Apache-2.0" ]
null
null
null
src/optimizer.cc
jvanstraten/openql-ci-test
a8ff9c8c30991ff4ac81551a698a7e1c40471910
[ "Apache-2.0" ]
null
null
null
src/optimizer.cc
jvanstraten/openql-ci-test
a8ff9c8c30991ff4ac81551a698a7e1c40471910
[ "Apache-2.0" ]
null
null
null
/** * @file optimizer.h * @date 11/2016 * @author Nader Khammassi * @brief optimizer interface and its implementation * @todo implementations should be in separate files for better readability */ #include "utils.h" #include "circuit.h" #include "kernel.h" #include "optimizer.h" namespace ql { /** * opti...
26.745455
117
0.466689
[ "vector" ]
ef42ca572144339ebd0154814d3a4b5dd268529b
2,542
hpp
C++
include/eve/function/minimum.hpp
the-moisrex/eve
80b52663eefee11460abb0aedf4158a5067cf7dc
[ "MIT" ]
340
2020-09-16T21:12:48.000Z
2022-03-28T15:40:33.000Z
third-party/eve/function/minimum.hpp
aguinet/ecsimd
cba9e7fe76601b98cbaeea317b6c4e671272e70b
[ "Apache-2.0" ]
383
2020-09-17T06:56:35.000Z
2022-03-13T15:58:53.000Z
third-party/eve/function/minimum.hpp
aguinet/ecsimd
cba9e7fe76601b98cbaeea317b6c4e671272e70b
[ "Apache-2.0" ]
28
2021-02-27T23:11:23.000Z
2022-03-25T12:31:29.000Z
/* EVE - Expressive Vector Engine Copyright : EVE Contributors & Maintainers SPDX-License-Identifier: MIT */ //================================================================================================== #pragma once #include <eve/detail/overload.hpp> namespace eve { //==================================...
30.261905
126
0.45358
[ "object", "vector" ]
ef45d51165f446c06e84e2134ecec4670331ea33
5,355
cpp
C++
OpenSees/SRC/reliability/FEsensitivity/SensitivityAlgorithm.cpp
kuanshi/ductile-fracture
ccb350564df54f5c5ec3a079100effe261b46650
[ "MIT" ]
8
2019-03-05T16:25:10.000Z
2020-04-17T14:12:03.000Z
SRC/reliability/FEsensitivity/SensitivityAlgorithm.cpp
steva44/OpenSees
417c3be117992a108c6bbbcf5c9b63806b9362ab
[ "TCL" ]
null
null
null
SRC/reliability/FEsensitivity/SensitivityAlgorithm.cpp
steva44/OpenSees
417c3be117992a108c6bbbcf5c9b63806b9362ab
[ "TCL" ]
3
2019-09-21T03:11:11.000Z
2020-01-19T07:29:37.000Z
/* ****************************************************************** ** ** OpenSees - Open System for Earthquake Engineering Simulation ** ** Pacific Earthquake Engineering Research Center ** ** ** ** ...
33.892405
106
0.586928
[ "vector" ]
ef53c23496f0a17ac674b5c0f07174c9e8811427
412
cc
C++
fechas/src/fecha.cc
ULL-ESIT-IB-2020-2021/ib-practica12-oop-gtests-exercism-RamiroDifonti
9608f1ae675847ed08850a2e6bb10e88d2976abb
[ "MIT" ]
null
null
null
fechas/src/fecha.cc
ULL-ESIT-IB-2020-2021/ib-practica12-oop-gtests-exercism-RamiroDifonti
9608f1ae675847ed08850a2e6bb10e88d2976abb
[ "MIT" ]
null
null
null
fechas/src/fecha.cc
ULL-ESIT-IB-2020-2021/ib-practica12-oop-gtests-exercism-RamiroDifonti
9608f1ae675847ed08850a2e6bb10e88d2976abb
[ "MIT" ]
null
null
null
#include <iostream> #include "fecha.h" #include <string> #include <fstream> int main(int argc, char* argv[]){ Usage(argc, argv); Foreword(argv); std::vector<int> dias= Archivos_dias(argv); std::vector<int> meses= Archivos_meses(argv); std::vector<int> anios= Archivos_anios(argv); std::vector<int> fechas_or...
29.428571
74
0.728155
[ "vector" ]
ef590b9a5dac76d8b7cc19416b63ef4a7968bc1a
1,486
hpp
C++
src/bitmap_image.hpp
YzolaPhilo/bitmap4Cpp
0f5d3af2af6f48b67e1ad24bdeab280e49cdd5c2
[ "MIT" ]
null
null
null
src/bitmap_image.hpp
YzolaPhilo/bitmap4Cpp
0f5d3af2af6f48b67e1ad24bdeab280e49cdd5c2
[ "MIT" ]
null
null
null
src/bitmap_image.hpp
YzolaPhilo/bitmap4Cpp
0f5d3af2af6f48b67e1ad24bdeab280e49cdd5c2
[ "MIT" ]
null
null
null
#pragma once #include <algorithm> #include <cmath> #include <cstdlib> #include <cstring> #include <fstream> #include <iostream> #include <iterator> #include <limits> #include <string> #include <vector> class bitmap_image { private: std::string _file_name_; unsigned int _width_; unsigned int _height_; unsigned in...
18.345679
94
0.705249
[ "vector" ]
ef599a220dc7521c047710cf761e2c142f2da052
1,156
cpp
C++
10. Base Class Pointer Derived Class Object/02. base_class_ptr_derived_class_object.cpp
ManthanUgemuge/Deep-Dive-in-CPP-Abdul-Bari
36aacdca116628264724cc2624d64fcb1e0c1148
[ "MIT" ]
1
2022-02-15T21:11:42.000Z
2022-02-15T21:11:42.000Z
10. Base Class Pointer Derived Class Object/02. base_class_ptr_derived_class_object.cpp
ManthanUgemuge/Deep-Dive-in-CPP-Abdul-Bari
36aacdca116628264724cc2624d64fcb1e0c1148
[ "MIT" ]
null
null
null
10. Base Class Pointer Derived Class Object/02. base_class_ptr_derived_class_object.cpp
ManthanUgemuge/Deep-Dive-in-CPP-Abdul-Bari
36aacdca116628264724cc2624d64fcb1e0c1148
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; class Base { public: void fun1() { cout << "Fun1 of base." << endl; } }; class Child : public Base { public: void fun2() { cout << "Fun2 of child." << endl; } }; int main() { /* Child c; // Creating an object of child class and calling both fun1 and fun2. c....
31.243243
126
0.597751
[ "object" ]
ef63be075852768624633d47bc0c03238ba1479b
13,622
cpp
C++
Meduza/Source/Core/Scripting/LuaFunctions.cpp
NWagter/Meduza
d1df99061381fa1c7665d09e275ddc0060a6ac8d
[ "MIT" ]
6
2020-10-17T10:50:13.000Z
2022-02-25T20:14:23.000Z
Meduza/Source/Core/Scripting/LuaFunctions.cpp
NWagter/Meduza
d1df99061381fa1c7665d09e275ddc0060a6ac8d
[ "MIT" ]
null
null
null
Meduza/Source/Core/Scripting/LuaFunctions.cpp
NWagter/Meduza
d1df99061381fa1c7665d09e275ddc0060a6ac8d
[ "MIT" ]
1
2020-05-06T12:02:47.000Z
2020-05-06T12:02:47.000Z
#include "MePCH.h" #include "Core/Scripting/LuaFunctions.h" #include "MeduzaIncluder.h" #include "Physics/Components/ColliderComponent.h" #include "Core/Scripting/ScriptComponent.h" #include "Platform/General/FileSystem/FileSystem.h" #include "Platform/General/TextureLibrary.h" #include "Platform/General/Resources/T...
28.982979
98
0.670019
[ "vector", "transform" ]
ef6404275de5279a4985566379ebc91b590fee09
3,495
cpp
C++
src/besiq_glm.cpp
hoehleatsu/besiq
94959e2819251805e19311ce377919e6bccb7bf9
[ "BSD-3-Clause" ]
1
2015-10-21T14:22:12.000Z
2015-10-21T14:22:12.000Z
src/besiq_glm.cpp
hoehleatsu/besiq
94959e2819251805e19311ce377919e6bccb7bf9
[ "BSD-3-Clause" ]
2
2019-05-26T20:52:31.000Z
2019-05-28T16:19:49.000Z
src/besiq_glm.cpp
hoehleatsu/besiq
94959e2819251805e19311ce377919e6bccb7bf9
[ "BSD-3-Clause" ]
2
2016-11-06T14:58:37.000Z
2019-05-26T14:03:13.000Z
#include <iostream> #include <armadillo> #include <glm/models/binomial.hpp> #include <glm/models/normal.hpp> #include <cpp-argparse/OptionParser.h> #include <besiq/method/glm_method.hpp> #include <besiq/method/method.hpp> #include "common_options.hpp" using namespace arma; using namespace optparse; const std::str...
44.240506
449
0.656652
[ "model" ]
ef64661405677603263999ffa949cf5ccc2f9e1f
18,983
cc
C++
hyperion/cfcompute/cfcompute.cc
mpokorny/legms
8ea5d1899ac5e2658ebe481b706430474685bb2d
[ "Apache-2.0" ]
2
2021-02-03T00:40:55.000Z
2021-02-03T13:30:31.000Z
hyperion/cfcompute/cfcompute.cc
mpokorny/legms
8ea5d1899ac5e2658ebe481b706430474685bb2d
[ "Apache-2.0" ]
null
null
null
hyperion/cfcompute/cfcompute.cc
mpokorny/legms
8ea5d1899ac5e2658ebe481b706430474685bb2d
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2020 Associated Universities, Inc. Washington DC, USA. * * 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...
38.740816
90
0.624137
[ "vector" ]
ef673b0250dfa98a64342a235aeb80c5d46ff632
512
cpp
C++
sites/leetcode/852_peak_index_in_a_mountain_array/1.cpp
NoelBird/chocochip
7ab9477b9e4153927805c9473ee44a15d809b549
[ "MIT" ]
null
null
null
sites/leetcode/852_peak_index_in_a_mountain_array/1.cpp
NoelBird/chocochip
7ab9477b9e4153927805c9473ee44a15d809b549
[ "MIT" ]
null
null
null
sites/leetcode/852_peak_index_in_a_mountain_array/1.cpp
NoelBird/chocochip
7ab9477b9e4153927805c9473ee44a15d809b549
[ "MIT" ]
null
null
null
class Solution { public: int peakIndexInMountainArray(vector<int>& arr) { int left = 0; int right = arr.size()-1; while(left <= right) { int mid = left + (right-left)/2; if(arr[mid-1] < arr[mid] && arr[mid] > arr[mid+1]) { ...
23.272727
62
0.396484
[ "vector" ]
ef6a451197ce41a1e8299c8bf09f77fc3cfbd134
5,842
cpp
C++
src/LuminoEngine/src/UI/Controls/UIDialog.cpp
infinnie/Lumino
921caabdbcb91528a2aac290e31d650628bc3bed
[ "MIT" ]
null
null
null
src/LuminoEngine/src/UI/Controls/UIDialog.cpp
infinnie/Lumino
921caabdbcb91528a2aac290e31d650628bc3bed
[ "MIT" ]
null
null
null
src/LuminoEngine/src/UI/Controls/UIDialog.cpp
infinnie/Lumino
921caabdbcb91528a2aac290e31d650628bc3bed
[ "MIT" ]
null
null
null
 #include "Internal.hpp" #include <LuminoEngine/UI/UIRenderView.hpp> #include <LuminoEngine/UI/Controls/UIButton.hpp> #include <LuminoEngine/UI/Layout/UILayoutPanel.hpp> #include <LuminoEngine/UI/UIAdorner.hpp> #include <LuminoEngine/UI/Controls/UIDialog.hpp> namespace ln { //====================================...
26.197309
100
0.709346
[ "render" ]
ef6bf9d79db3aed1d26b236357169e15e0a687ed
3,493
cpp
C++
src/geode/mesh/builder/solid_facets_builder.cpp
Geode-solutions/OpenGeode
e47621989e6fc152f529d4e1e7e3b9ef9e7d6ccc
[ "MIT" ]
64
2019-08-02T14:31:01.000Z
2022-03-30T07:46:50.000Z
src/geode/mesh/builder/solid_facets_builder.cpp
Geode-solutions/OpenGeode
e47621989e6fc152f529d4e1e7e3b9ef9e7d6ccc
[ "MIT" ]
395
2019-08-02T17:15:10.000Z
2022-03-31T15:10:27.000Z
src/geode/mesh/builder/solid_facets_builder.cpp
Geode-solutions/OpenGeode
e47621989e6fc152f529d4e1e7e3b9ef9e7d6ccc
[ "MIT" ]
8
2019-08-19T21:32:15.000Z
2022-03-06T18:41:10.000Z
/* * Copyright (c) 2019 - 2021 Geode-solutions * * 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, mer...
35.282828
80
0.695677
[ "mesh", "vector" ]
ef7e7c1b6023296dc8fca100be95eba8f7494bcb
1,105
hpp
C++
converter/src/log/logger.hpp
redthing1/Tiled2GBA
2272309292c6a2a0dee2a4e7cc81c2e97fab6157
[ "MIT" ]
14
2018-06-25T09:22:21.000Z
2021-12-11T20:06:25.000Z
converter/src/log/logger.hpp
redthing1/Tiled2GBA
2272309292c6a2a0dee2a4e7cc81c2e97fab6157
[ "MIT" ]
20
2018-06-23T21:36:35.000Z
2021-05-25T16:21:14.000Z
converter/src/log/logger.hpp
redthing1/Tiled2GBA
2272309292c6a2a0dee2a4e7cc81c2e97fab6157
[ "MIT" ]
2
2020-02-26T13:51:31.000Z
2021-09-30T07:02:33.000Z
#ifndef LOGGER_H #define LOGGER_H #include <ostream> #include <string> using namespace std; typedef enum LogLevel { INFO = 0, WARN = 1, ERROR = 2 } LogLevel; /** * Simple logger. */ class Logger { public: /** * Return a singleton instance of the logger. * @return The singleton instance ...
20.462963
68
0.636199
[ "object" ]
ef87abbeed2e2d030a9969d684468e093619a26c
4,947
cc
C++
dali/operators/util/axis_args.cc
L-Net-1992/DALI
982224d8b53e1156ae092f73f5a7d600982a1eb9
[ "ECL-2.0", "Apache-2.0" ]
2
2022-02-17T19:54:05.000Z
2022-02-17T19:54:08.000Z
dali/operators/util/axis_args.cc
L-Net-1992/DALI
982224d8b53e1156ae092f73f5a7d600982a1eb9
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
dali/operators/util/axis_args.cc
L-Net-1992/DALI
982224d8b53e1156ae092f73f5a7d600982a1eb9
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
// Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. 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 // // Unl...
34.354167
100
0.637154
[ "shape", "vector" ]
ef8acf6cb24a6e985565a607285dccee4dd1c568
27,078
cxx
C++
main/framework/source/dispatch/closedispatcher.cxx
jimjag/openoffice
74746a22d8cc22b031b00fcd106f4496bf936c77
[ "Apache-2.0" ]
1
2019-12-27T19:25:34.000Z
2019-12-27T19:25:34.000Z
main/framework/source/dispatch/closedispatcher.cxx
ackza/openoffice
d49dfe9c625750e261c7ed8d6ccac8d361bf3418
[ "Apache-2.0" ]
1
2019-11-25T04:29:25.000Z
2019-11-25T04:29:25.000Z
main/framework/source/dispatch/closedispatcher.cxx
ackza/openoffice
d49dfe9c625750e261c7ed8d6ccac8d361bf3418
[ "Apache-2.0" ]
6
2019-11-19T00:28:25.000Z
2019-11-22T06:48:49.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...
41.658462
203
0.577886
[ "object" ]
ef8ebe6eece18cccf8b1994587a34b12762bd918
8,651
cc
C++
src/developer/debug/zxdb/client/step_into_thread_controller_unittest.cc
allansrc/fuchsia
a2c235b33fc4305044d496354a08775f30cdcf37
[ "BSD-2-Clause" ]
210
2019-02-05T12:45:09.000Z
2022-03-28T07:59:06.000Z
src/developer/debug/zxdb/client/step_into_thread_controller_unittest.cc
PlugFox/fuchsia
39afe5230d41628b3c736a6e384393df954968c8
[ "BSD-2-Clause" ]
56
2021-06-03T03:16:25.000Z
2022-03-20T01:07:44.000Z
src/developer/debug/zxdb/client/step_into_thread_controller_unittest.cc
PlugFox/fuchsia
39afe5230d41628b3c736a6e384393df954968c8
[ "BSD-2-Clause" ]
73
2019-03-06T18:55:23.000Z
2022-03-26T12:04:51.000Z
// Copyright 2019 The Fuchsia 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 "src/developer/debug/zxdb/client/step_into_thread_controller.h" #include "src/developer/debug/zxdb/client/inline_thread_controller_test.h" #inclu...
43.691919
100
0.724887
[ "vector" ]
ef9051d14511d28cf1783dc8c0f8ebf593d44c6a
51,984
cpp
C++
wrap/tests/expected/geometry_wrapper.cpp
alexhagiopol/GTSAM
c397fac199d0202c7abb1cd8e6005731658f56e8
[ "BSD-3-Clause" ]
105
2017-12-02T14:39:49.000Z
2022-02-19T18:20:25.000Z
trunk/wrap/tests/expected/geometry_wrapper.cpp
shaolinbit/PPP-BayesTree
6f469775277a1a33447bf4c19603c796c2c63c75
[ "MIT" ]
5
2018-09-04T15:15:59.000Z
2020-09-08T08:51:02.000Z
trunk/wrap/tests/expected/geometry_wrapper.cpp
shaolinbit/PPP-BayesTree
6f469775277a1a33447bf4c19603c796c2c63c75
[ "MIT" ]
31
2018-01-10T03:21:28.000Z
2021-08-06T06:18:35.000Z
#include <wrap/matlab.h> #include <map> #include <boost/serialization/export.hpp> #include <boost/archive/text_iarchive.hpp> #include <boost/archive/text_oarchive.hpp> #include <folder/path/to/Test.h> typedef MyTemplate<gtsam::Point2> MyTemplatePoint2; typedef MyTemplate<Matrix> MyTemplateMatrix; typedef MyVector<3>...
38.852018
137
0.721741
[ "vector" ]
ef9316503aa5ba277888d50c7d13e02e5e3ff8cb
474
cpp
C++
Contests/USACO Solutions/2016-17/Feb 2017/Bronze/17 Feb B3.cpp
nocrizwang/USACO
8a922f8d4b3bc905da97f53f9a447debe97d5e81
[ "CC0-1.0" ]
1,760
2017-05-21T21:07:06.000Z
2022-03-29T13:15:08.000Z
Contests/USACO Solutions/2016-17/Feb 2017/Bronze/17 Feb B3.cpp
nocrizwang/USACO
8a922f8d4b3bc905da97f53f9a447debe97d5e81
[ "CC0-1.0" ]
12
2018-01-24T02:41:53.000Z
2022-03-17T13:09:26.000Z
Contests/USACO Solutions/2016-17/Feb 2017/Bronze/17 Feb B3.cpp
nocrizwang/USACO
8a922f8d4b3bc905da97f53f9a447debe97d5e81
[ "CC0-1.0" ]
473
2017-07-06T04:53:41.000Z
2022-03-28T13:03:28.000Z
#include <bits/stdc++.h> using namespace std; typedef pair<int, int> pi; #define FOR(i, a, b) for (int i=a; i<b; i++) #define F0R(i, a) for (int i=0; i<a; i++) #define f first #define s second int main() { ios_base::sync_with_stdio(0);cin.tie(0); int n, ans = 0; cin >> n; vector<pi> cow(n); F0R(i,n) cin >> cow...
18.96
44
0.567511
[ "vector" ]
ef9616983d868499b9128747ad1e974b7b4d1753
1,852
cpp
C++
COCI/coci08c6p4.cpp
crackersamdjam/DMOJ-Solutions
97992566595e2c7bf41b5da9217d8ef61bdd1d71
[ "MIT" ]
null
null
null
COCI/coci08c6p4.cpp
crackersamdjam/DMOJ-Solutions
97992566595e2c7bf41b5da9217d8ef61bdd1d71
[ "MIT" ]
null
null
null
COCI/coci08c6p4.cpp
crackersamdjam/DMOJ-Solutions
97992566595e2c7bf41b5da9217d8ef61bdd1d71
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define gc getchar_unlocked() #define pc(x) putchar_unlocked(x) template<typename T> void scan(T &x){x = 0;register bool _=0;register T c=gc;_=c==45;c=_?gc:c;while(c<48||c>57)c=gc;for(;c<48||c>57;c=gc);for(;c>47&&c<58;c=gc)x=(x<<3)+(x<<1)+(c&15);x=_?-x:x;} template<typename T> void printn(T...
26.84058
193
0.456803
[ "vector" ]
aab39c30b0631532d76fdbd6061dd22d506a5667
1,629
cpp
C++
compiler/parser/ast_generate_impl/asign_generate.cpp
cosocaf/Pick
e21a3ff204e8cf60a40985ebda73d90f087205a9
[ "MIT" ]
6
2021-05-17T14:03:18.000Z
2021-08-06T11:43:12.000Z
compiler/parser/ast_generate_impl/asign_generate.cpp
cosocaf/Pick
e21a3ff204e8cf60a40985ebda73d90f087205a9
[ "MIT" ]
null
null
null
compiler/parser/ast_generate_impl/asign_generate.cpp
cosocaf/Pick
e21a3ff204e8cf60a40985ebda73d90f087205a9
[ "MIT" ]
null
null
null
#include "ast.h" #include "utils/vector_utils.h" namespace pickc::parser { Result<ExpressionNode*, std::vector<std::string>> ASTGenerator::asignGenerate() { auto begin = currentTokenIter(); auto left = compGenerate(); if(!left) return error(left.err()); auto op = nextToken(); if(!op || !includ...
30.166667
168
0.595457
[ "vector" ]
aab4324eff8a3397429c31a4a86653f4cac3ea58
16,928
cpp
C++
src/Test/TestData.cpp
rm-jooho/Simd-rm
c08628e47a8901903781bd0e3e8e875ae0ac8042
[ "MIT" ]
1
2018-12-14T06:19:36.000Z
2018-12-14T06:19:36.000Z
src/Test/TestData.cpp
rm-jooho/Simd-rm
c08628e47a8901903781bd0e3e8e875ae0ac8042
[ "MIT" ]
1
2019-04-25T23:24:56.000Z
2019-04-25T23:24:56.000Z
src/Test/TestData.cpp
rm-jooho/Simd-rm
c08628e47a8901903781bd0e3e8e875ae0ac8042
[ "MIT" ]
1
2020-01-31T03:16:34.000Z
2020-01-31T03:16:34.000Z
/* * Tests for Simd Library (http://ermig1979.github.io/Simd). * * Copyright (c) 2011-2017 Yermalayeu Ihar. * * 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, inclu...
30.778182
124
0.474421
[ "vector" ]
aabaf89c61121fa00d7350b8345c2f7602f5ba7a
5,733
cpp
C++
src/data/ReTextureCreator.cpp
danielbui78/reality
7ecd01b71f28e581becfe5093fab3ddcd6d9b2c1
[ "BSD-3-Clause" ]
2
2021-12-25T17:24:03.000Z
2022-03-14T05:07:51.000Z
src/data/ReTextureCreator.cpp
danielbui78/reality
7ecd01b71f28e581becfe5093fab3ddcd6d9b2c1
[ "BSD-3-Clause" ]
null
null
null
src/data/ReTextureCreator.cpp
danielbui78/reality
7ecd01b71f28e581becfe5093fab3ddcd6d9b2c1
[ "BSD-3-Clause" ]
2
2021-12-10T05:33:04.000Z
2021-12-10T16:38:54.000Z
/* Reality plug-in Copyright (c) Pret-a-3D/Paolo Ciccone 2012. All rights reserved. */ #include "ReTextureCreator.h" #include "textures/ReMix.h" #include "textures/ReGrayscale.h" #include "textures/ReImageMap.h" #include "textures/ReMath.h" #include "textures/ReColorMath.h" #include "textures/ReFresnelColor.h"...
24.60515
88
0.587127
[ "3d" ]
aabb2a8145ec37352913db218edda7ea0c1530ad
4,275
cpp
C++
src/LLP/permissions.cpp
beuschl/LLL-TAO
639b9a3e010db3938095b015da35d3fd845d2666
[ "MIT" ]
null
null
null
src/LLP/permissions.cpp
beuschl/LLL-TAO
639b9a3e010db3938095b015da35d3fd845d2666
[ "MIT" ]
null
null
null
src/LLP/permissions.cpp
beuschl/LLL-TAO
639b9a3e010db3938095b015da35d3fd845d2666
[ "MIT" ]
null
null
null
/*__________________________________________________________________________________________ (c) Hash(BEGIN(Satoshi[2010]), END(Sunny[2012])) == Videlicet[2014] ++ (c) Copyright The Nexus Developers 2014 - 2019 Distributed under the MIT software license, see the accompanying ...
46.467391
158
0.645146
[ "vector" ]
aacd8a3ed3d1a25658b8d9f8f8be34fd8148754d
7,059
hpp
C++
include/glowl/Texture.hpp
moritz-h/glowl
8f8a366a1ab3a68f8d3c1410a09eb0185d9ac75c
[ "MIT" ]
null
null
null
include/glowl/Texture.hpp
moritz-h/glowl
8f8a366a1ab3a68f8d3c1410a09eb0185d9ac75c
[ "MIT" ]
null
null
null
include/glowl/Texture.hpp
moritz-h/glowl
8f8a366a1ab3a68f8d3c1410a09eb0185d9ac75c
[ "MIT" ]
null
null
null
/* * Texture.hpp * * MIT License * Copyright (c) 2019 Michael Becher */ #ifndef GLOWL_TEXTURE_HPP #define GLOWL_TEXTURE_HPP #include <string> #include <vector> #include "glinclude.h" namespace glowl { struct TextureLayout { TextureLayout() : internal_format(0), width(0), height(0), depth(0), f...
35.119403
117
0.518204
[ "vector", "3d" ]
aad16e6f35ad038f7e0363f783e6368b8c4d6ec8
295
cpp
C++
base/source/spec/SynapseAlias.cpp
Kobrs/ncs
0ae53ad7bf378675161e23a25e09468d6b383ab0
[ "BSD-2-Clause" ]
9
2015-06-20T16:22:23.000Z
2021-04-13T10:12:48.000Z
base/source/spec/SynapseAlias.cpp
Kobrs/ncs
0ae53ad7bf378675161e23a25e09468d6b383ab0
[ "BSD-2-Clause" ]
null
null
null
base/source/spec/SynapseAlias.cpp
Kobrs/ncs
0ae53ad7bf378675161e23a25e09468d6b383ab0
[ "BSD-2-Clause" ]
6
2015-07-26T00:20:07.000Z
2021-03-12T06:43:56.000Z
#include <ncs/spec/SynapseAlias.h> namespace ncs { namespace spec { SynapseAlias::SynapseAlias(const std::vector<SynapseGroup*>& groups) : groups_(groups) { } const std::vector<SynapseGroup*>& SynapseAlias::getGroups() const { return groups_; } } // namespace spec } // namespace ncs
15.526316
68
0.715254
[ "vector" ]
aad467efb3ed69152540317a63fde2ce67c394bd
56,500
cpp
C++
parser/east.cpp
PowerAngelXD/EytionPlusPlus
36fc7caf67d2ef6a35fb0d0cdaddbefc8a24af90
[ "MIT" ]
13
2022-01-15T00:41:33.000Z
2022-03-17T13:02:58.000Z
parser/east.cpp
PowerAngelXD/EytionPlusPlus
36fc7caf67d2ef6a35fb0d0cdaddbefc8a24af90
[ "MIT" ]
null
null
null
parser/east.cpp
PowerAngelXD/EytionPlusPlus
36fc7caf67d2ef6a35fb0d0cdaddbefc8a24af90
[ "MIT" ]
null
null
null
#include "east.h" //astParser east::astParser::astParser(std::vector<epplex::Token> tg_) : tg(tg_) {} epplex::Token* east::astParser::peek(int pos_){ return new epplex::Token(this->tg[this->pos + pos_]); } epplex::Token* east::astParser::token(){ return new epplex::Token(this->tg[this->pos++]); } east::Whol...
44.770206
267
0.601274
[ "vector" ]
aaee16de2240b17f97192f2289eb9ff800105280
33,815
cc
C++
content/browser/loader/redirect_to_file_resource_handler_unittest.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2021-05-24T13:52:28.000Z
2021-05-24T13:53:10.000Z
content/browser/loader/redirect_to_file_resource_handler_unittest.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
content/browser/loader/redirect_to_file_resource_handler_unittest.cc
metux/chromium-deb
3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
3
2018-03-12T07:58:10.000Z
2019-08-31T04:53:58.000Z
// Copyright 2017 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 "content/browser/loader/redirect_to_file_resource_handler.h" #include <algorithm> #include <limits> #include <memory> #include <string> #include...
40.352029
80
0.731776
[ "vector" ]
aaf7373df97ffe7f96d71e9c258178e44e872392
4,107
hpp
C++
src/lib/cli_cpp/cli/A_CLI_Manager_Configuration.hpp
marvins/cli-cpp
4f98a09d5cfeffe0d5c330cda3272ae207c511d1
[ "MIT" ]
4
2020-10-08T03:09:10.000Z
2022-03-13T09:22:51.000Z
src/lib/cli_cpp/cli/A_CLI_Manager_Configuration.hpp
marvins/cli-cpp
4f98a09d5cfeffe0d5c330cda3272ae207c511d1
[ "MIT" ]
4
2015-05-30T17:40:46.000Z
2015-07-01T01:10:16.000Z
src/lib/cli_cpp/cli/A_CLI_Manager_Configuration.hpp
marvins/cli-cpp
4f98a09d5cfeffe0d5c330cda3272ae207c511d1
[ "MIT" ]
2
2015-06-02T20:07:39.000Z
2020-12-16T09:25:38.000Z
/** * @file A_CLI_Manager_Configuration.hpp * @author Marvin Smith * @date 5/18/2015 */ #ifndef CLI_A_CLI_MANAGER_CONFIGURATION_HPP #define CLI_A_CLI_MANAGER_CONFIGURATION_HPP // C++ Standard Libraries #include <map> #include <string> #include <vector> // CLI Libraries #include "A_Connection_Manager_Base.h...
28.130137
117
0.601169
[ "render", "object", "vector" ]
aafebd8363a309930c7ba6332105304d54919c16
973
hpp
C++
src/json2cpp.hpp
jmarrec/json2cpp
253111ce7d1154cb1d1d9ea022e304c5b21cfbc3
[ "BSD-3-Clause" ]
null
null
null
src/json2cpp.hpp
jmarrec/json2cpp
253111ce7d1154cb1d1d9ea022e304c5b21cfbc3
[ "BSD-3-Clause" ]
null
null
null
src/json2cpp.hpp
jmarrec/json2cpp
253111ce7d1154cb1d1d9ea022e304c5b21cfbc3
[ "BSD-3-Clause" ]
null
null
null
#ifndef JSON2CPP_HPP #define JSON2CPP_HPP #include <filesystem> #include <nlohmann/json.hpp> #include <spdlog/spdlog.h> #include <string> #include <vector> struct compile_results { std::vector<std::string> hpp; std::vector<std::string> impl; }; std::string compile(const nlohmann::json &value, std::size_t &obj_c...
24.325
106
0.765673
[ "vector" ]
c903536f5decdb7b53504847fe2c27963b36c743
1,096
cpp
C++
TrainingWithBook/GRAPH/How to initialise graph.cpp
andzh1/Competitive-programming
babb9494e03fe0feb2130e50887996d0ffc92c4e
[ "MIT" ]
null
null
null
TrainingWithBook/GRAPH/How to initialise graph.cpp
andzh1/Competitive-programming
babb9494e03fe0feb2130e50887996d0ffc92c4e
[ "MIT" ]
null
null
null
TrainingWithBook/GRAPH/How to initialise graph.cpp
andzh1/Competitive-programming
babb9494e03fe0feb2130e50887996d0ffc92c4e
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main(){ int n = 777; vector <int> adj1[n]; //array of "adjacencies" - edges of our graph adj1[1].push_back(2); adj1[2].push_back(3); adj1[2].push_back(4); /*Ориентированный граф - то же самое, но надо определить, какая вершина - начало ребра, а...
39.142857
158
0.632299
[ "vector" ]
c90645b186aa88e97e330f435ab62e0a01a313ea
572
cpp
C++
LeetCode/Problems/Algorithms/#1696_JumpGameVI_sol3_dp_and_multiset_O(NlogK)_time_O(N)_extra_space_340ms_135.4MB.cpp
Tudor67/Competitive-Programming
ae4dc6ed8bf76451775bf4f740c16394913f3ff1
[ "MIT" ]
1
2022-01-26T14:50:07.000Z
2022-01-26T14:50:07.000Z
LeetCode/Problems/Algorithms/#1696_JumpGameVI_sol3_dp_and_multiset_O(NlogK)_time_O(N)_extra_space_340ms_135.4MB.cpp
Tudor67/Competitive-Programming
ae4dc6ed8bf76451775bf4f740c16394913f3ff1
[ "MIT" ]
null
null
null
LeetCode/Problems/Algorithms/#1696_JumpGameVI_sol3_dp_and_multiset_O(NlogK)_time_O(N)_extra_space_340ms_135.4MB.cpp
Tudor67/Competitive-Programming
ae4dc6ed8bf76451775bf4f740c16394913f3ff1
[ "MIT" ]
null
null
null
class Solution { public: int maxResult(vector<int>& nums, int k) { const int N = nums.size(); const int INF = 1e9; vector<int> maxScore(N); maxScore[0] = nums[0]; multiset<int> scores; scores.insert(maxScore[0]); for(int i = 1; i < N; ++i){ ...
30.105263
60
0.466783
[ "vector" ]
c9110aa187e2898a8a6590a7207a52adbf834ee2
1,240
hpp
C++
include/astar.hpp
Dai-z/Robot2019
7e76fb5b72e725a15f02006b000665ec4393d761
[ "MIT" ]
null
null
null
include/astar.hpp
Dai-z/Robot2019
7e76fb5b72e725a15f02006b000665ec4393d761
[ "MIT" ]
null
null
null
include/astar.hpp
Dai-z/Robot2019
7e76fb5b72e725a15f02006b000665ec4393d761
[ "MIT" ]
1
2021-01-05T06:18:42.000Z
2021-01-05T06:18:42.000Z
#include <geometry_msgs/Vector3.h> #include <ros/ros.h> #include <vector> #include "imb/MCLInfo.h" #include "imb/AStarInfo.h" #include "imb/MarkInfo.h" const int BOUND_X = 450; const int BOUND_Y = 300; struct DIR { DIR(int dx, int dy, int dz, int cost = 1) : dx(dx), dy(dy), dz(dz), cost(cost) {} int dx, dy,...
21.37931
73
0.650806
[ "vector" ]
c91db48804876a1c83d9b8cb325345f77448908a
2,111
cc
C++
main_console.cc
GaryRay/mallie
8588a98efff2d9c143cc361dedb1303e4452453c
[ "Zlib" ]
null
null
null
main_console.cc
GaryRay/mallie
8588a98efff2d9c143cc361dedb1303e4452453c
[ "Zlib" ]
null
null
null
main_console.cc
GaryRay/mallie
8588a98efff2d9c143cc361dedb1303e4452453c
[ "Zlib" ]
null
null
null
// // Copyright 2013 Light Transport Entertainment Inc. // #ifdef _OPENMP #include <omp.h> #endif #include <cstdio> #include <cstdlib> #include <cassert> #include <fstream> #include <vector> #include "camera.h" #include "timerutil.h" #include "render.h" #include "jpge.h" #include "lodepng.h" namespace mallie { nam...
23.197802
85
0.622928
[ "render", "vector" ]
c9243b02971dd8d923633918e23ae5310a74a625
19,737
cxx
C++
fregl/fregl_coarse2fine_register.cxx
tostathaina/farsight
7e9d6d15688735f34f7ca272e4e715acd11473ff
[ "Apache-2.0" ]
8
2016-07-22T11:24:19.000Z
2021-04-10T04:22:31.000Z
fregl/fregl_coarse2fine_register.cxx
YanXuHappygela/Farsight
1711b2a1458c7e035edd21fe0019a1f7d23fcafa
[ "Apache-2.0" ]
null
null
null
fregl/fregl_coarse2fine_register.cxx
YanXuHappygela/Farsight
1711b2a1458c7e035edd21fe0019a1f7d23fcafa
[ "Apache-2.0" ]
7
2016-07-21T07:39:17.000Z
2020-01-29T02:03:27.000Z
/*========================================================================= Copyright 2009 Rensselaer Polytechnic Institute 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/lice...
42.083156
117
0.651923
[ "object", "model" ]
c92aa04e316e2d31eac0fb5cf1ed465aaa5f4221
10,641
hh
C++
src/bbdep_sm.hh
poluyan/PepDockOpt
4769a493080a28ed255b4c3d7b6c18fa44761a01
[ "Apache-2.0" ]
null
null
null
src/bbdep_sm.hh
poluyan/PepDockOpt
4769a493080a28ed255b4c3d7b6c18fa44761a01
[ "Apache-2.0" ]
null
null
null
src/bbdep_sm.hh
poluyan/PepDockOpt
4769a493080a28ed255b4c3d7b6c18fa44761a01
[ "Apache-2.0" ]
null
null
null
/************************************************************************** Copyright © 2019 Sergey Poluyan <svpoluyan@gmail.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at ...
55.134715
228
0.732544
[ "vector" ]
c92d83f7ed3869b24f3cf543253a488b318feddf
2,959
cpp
C++
private/shell/ext/mydocs/src/command.cpp
King0987654/windows2000
01f9c2e62c4289194e33244aade34b7d19e7c9b8
[ "MIT" ]
11
2017-09-02T11:27:08.000Z
2022-01-02T15:25:24.000Z
private/shell/ext/mydocs/src/command.cpp
King0987654/windows2000
01f9c2e62c4289194e33244aade34b7d19e7c9b8
[ "MIT" ]
null
null
null
private/shell/ext/mydocs/src/command.cpp
King0987654/windows2000
01f9c2e62c4289194e33244aade34b7d19e7c9b8
[ "MIT" ]
14
2019-01-16T01:01:23.000Z
2022-02-20T15:54:27.000Z
/*---------------------------------------------------------------------------- / Title; / command.cpp / / Authors; / Rick Turner (ricktu) / / Notes; / Implements IOleCommandTarget for My Documents code. /----------------------------------------------------------------------------*/ #include "precomp.hxx...
26.419643
80
0.456573
[ "object" ]
c92ec9cefe05dc063223aec7ecf549323c9834d4
1,713
cpp
C++
lintcode/rehashing.cpp
WIZARD-CXY/pl
22b7f5d81804f4e333d3cff6433364ba1a0ac7ef
[ "Apache-2.0" ]
1
2016-01-20T08:26:34.000Z
2016-01-20T08:26:34.000Z
lintcode/rehashing.cpp
WIZARD-CXY/pl
22b7f5d81804f4e333d3cff6433364ba1a0ac7ef
[ "Apache-2.0" ]
1
2015-10-21T05:38:17.000Z
2015-11-02T07:42:55.000Z
lintcode/rehashing.cpp
WIZARD-CXY/pl
22b7f5d81804f4e333d3cff6433364ba1a0ac7ef
[ "Apache-2.0" ]
null
null
null
/** * Definition of ListNode * class ListNode { * public: * int val; * ListNode *next; * ListNode(int val) { * this->val = val; * this->next = NULL; * } * } */ class Solution { public: /** * @param hashTable: A list of The first node of linked list * @return: A l...
27.190476
77
0.350263
[ "vector" ]
c93042ebf43aa6773c25df81fd20121a8fd5a319
405
hpp
C++
source/kantan/System/System.hpp
Qu3tzal/sakura-no-hana
7b3a5d4a5816a2a4bd82c30ef2328cbe7fe85b9d
[ "MIT" ]
null
null
null
source/kantan/System/System.hpp
Qu3tzal/sakura-no-hana
7b3a5d4a5816a2a4bd82c30ef2328cbe7fe85b9d
[ "MIT" ]
null
null
null
source/kantan/System/System.hpp
Qu3tzal/sakura-no-hana
7b3a5d4a5816a2a4bd82c30ef2328cbe7fe85b9d
[ "MIT" ]
null
null
null
#ifndef KANTAN_SYSTEM #define KANTAN_SYSTEM #include <SFML/System.hpp> #include <vector> #include <queue> namespace kantan { class Entity; class Event; /** System class. **/ class System { public: // Ctor. System(); virtual void update(sf::Time elapsed, std::vector<Entity*>& entities, std::...
14.464286
109
0.659259
[ "vector" ]
c93b4ef11c7e264aac56d7f1ff8a520da55e7a00
22,663
cpp
C++
hackathon/LXF/soma_remove/svds.cpp
zzhmark/vaa3d_tools
3ca418add85a59ac7e805d55a600b78330d7e53d
[ "MIT" ]
1
2021-12-27T19:14:03.000Z
2021-12-27T19:14:03.000Z
hackathon/LXF/soma_remove/svds.cpp
zzhmark/vaa3d_tools
3ca418add85a59ac7e805d55a600b78330d7e53d
[ "MIT" ]
null
null
null
hackathon/LXF/soma_remove/svds.cpp
zzhmark/vaa3d_tools
3ca418add85a59ac7e805d55a600b78330d7e53d
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> #include <vector> #include <string> #include <cmath> #include <climits> #include <cstdlib> #include <algorithm> #include <iomanip> #include "fun.h" #include <algorithm> #include "svds.h" using namespace std; const double EPS=1e-15; void printt(vector<vector<double> > &X){ cou...
28.542821
123
0.427437
[ "vector" ]
c948ae2dedeb02078008ef944230e107685150fe
424
hpp
C++
shared/sdk/regenny/re7/via/render/OutputTargetStateDX11.hpp
fengjixuchui/REFramework
131b25ef58064b1c36cdd15072c30f5fbd9a7ad8
[ "MIT" ]
583
2021-06-05T06:56:54.000Z
2022-03-31T19:16:09.000Z
src/sdk/regenny/re7/via/render/OutputTargetStateDX11.hpp
drowhunter/REFramework
49ef476d13439110cc0ae565cc323cd615d9b327
[ "MIT" ]
198
2021-07-13T02:54:19.000Z
2022-03-29T20:28:53.000Z
src/sdk/regenny/re7/via/render/OutputTargetStateDX11.hpp
drowhunter/REFramework
49ef476d13439110cc0ae565cc323cd615d9b327
[ "MIT" ]
73
2021-07-12T18:52:12.000Z
2022-03-31T17:12:56.000Z
#pragma once #include ".\TargetDescriptorDX11.hpp" #include ".\OutputTargetState.hpp" namespace regenny::via::render { #pragma pack(push, 1) struct OutputTargetStateDX11 : public OutputTargetState { char pad_10[0x8]; regenny::via::render::TargetDescriptorDX11 desc; // 0x18 uint32_t hash; // 0x40 char pa...
26.5
60
0.698113
[ "render" ]
c949344873ccca3ba4a4cbd03008b49830dbb643
2,094
hpp
C++
third_party/CppADCodeGen/test/cppad/cg/patterns/pattern_test_model.hpp
eric-heiden/tds-merge
1e18447b0096efbb6df5d9ad7d69c8b0cc282747
[ "Apache-2.0" ]
null
null
null
third_party/CppADCodeGen/test/cppad/cg/patterns/pattern_test_model.hpp
eric-heiden/tds-merge
1e18447b0096efbb6df5d9ad7d69c8b0cc282747
[ "Apache-2.0" ]
null
null
null
third_party/CppADCodeGen/test/cppad/cg/patterns/pattern_test_model.hpp
eric-heiden/tds-merge
1e18447b0096efbb6df5d9ad7d69c8b0cc282747
[ "Apache-2.0" ]
null
null
null
#ifndef CPPAD_CG_TEST_PATTERN_TEST_MODEL_INCLUDED #define CPPAD_CG_TEST_PATTERN_TEST_MODEL_INCLUDED /* -------------------------------------------------------------------------- * CppADCodeGen: C++ Algorithmic Differentiation with Source Code Generation: * Copyright (C) 2013 Ciengis * * CppADCodeGen is distrib...
32.71875
141
0.624642
[ "vector", "model" ]
c94b6bb25ffa2d1aee1a3e8bcd3b63493d44f87d
16,245
cpp
C++
Server/src/Services/Resource/ResourceOperationFactory.cpp
achilex/MgDev
f7baf680a88d37659af32ee72b9a2046910b00d8
[ "PHP-3.0" ]
2
2017-04-19T01:38:30.000Z
2020-07-31T03:05:32.000Z
Server/src/Services/Resource/ResourceOperationFactory.cpp
achilex/MgDev
f7baf680a88d37659af32ee72b9a2046910b00d8
[ "PHP-3.0" ]
null
null
null
Server/src/Services/Resource/ResourceOperationFactory.cpp
achilex/MgDev
f7baf680a88d37659af32ee72b9a2046910b00d8
[ "PHP-3.0" ]
1
2021-12-29T10:46:12.000Z
2021-12-29T10:46:12.000Z
// // Copyright (C) 2004-2011 by Autodesk, Inc. // // This library is free software; you can redistribute it and/or // modify it under the terms of version 2.1 of the GNU Lesser // General Public License as published by the Free Software Foundation. // // This library is distributed in the hope that it will be use...
35.238612
98
0.638966
[ "object" ]
c955acfa09914e419a8a3799c74c17224efe4a68
10,057
cc
C++
samples/cpu/convolution/convolution.cc
ncic-sugon/blitz
ea9a06dc78ef15d772e36d5d47ffac8d3f46034d
[ "BSD-2-Clause" ]
149
2020-07-14T08:59:59.000Z
2021-12-16T03:06:41.000Z
samples/cpu/convolution/convolution.cc
ten1123love/blitz
ea9a06dc78ef15d772e36d5d47ffac8d3f46034d
[ "BSD-2-Clause" ]
null
null
null
samples/cpu/convolution/convolution.cc
ten1123love/blitz
ea9a06dc78ef15d772e36d5d47ffac8d3f46034d
[ "BSD-2-Clause" ]
130
2020-07-14T09:00:21.000Z
2021-12-16T03:06:42.000Z
#include <omp.h> #include <blitz.h> using namespace blitz; // N C H W Shape input_shape(4); Shape input_shape_algorithm(4); // K C R S Shape filter_shape(4); Shape filter_shape_algorithm(4); // N K P Q Shape output_shape(4); Shape output_shape_algorithm(4); void compare(float* algo1, float* algo2, size_t size, float...
35.790036
97
0.700706
[ "shape" ]
c95d8ecc0563d11d923e5570d930ed47e96ba881
17,461
cpp
C++
odevice/app/src/main/jni/br_edu_ufsj_dcomp_ocr_Controller_copy.cpp
rcarvs/android-ocr
f8760afd378607ced0beca0b2c1beda14ea4ab49
[ "MIT" ]
null
null
null
odevice/app/src/main/jni/br_edu_ufsj_dcomp_ocr_Controller_copy.cpp
rcarvs/android-ocr
f8760afd378607ced0beca0b2c1beda14ea4ab49
[ "MIT" ]
null
null
null
odevice/app/src/main/jni/br_edu_ufsj_dcomp_ocr_Controller_copy.cpp
rcarvs/android-ocr
f8760afd378607ced0beca0b2c1beda14ea4ab49
[ "MIT" ]
null
null
null
#include <jni.h> #include <android/log.h> #include <parallelme/ParallelME.hpp> #include <parallelocr/ParallelOCR.hpp> #include <stdio.h> #include <android/bitmap.h> #include <cstring> #include <unistd.h> #include <vector> #include "br_edu_ufsj_dcomp_ocr_Controller.h" using namespace parallelme; using namespace paralle...
37.631466
157
0.478781
[ "vector" ]
c95fa2185a79f42bea3d7a5dd1608254b824c6ba
1,230
cpp
C++
134. Gas Station/Solution.cpp
Ainevsia/Leetcode-Rust
c4f16d72f3c0d0524478b6bb90fefae9607d88be
[ "BSD-2-Clause" ]
15
2020-02-07T13:04:05.000Z
2022-03-02T14:33:21.000Z
134. Gas Station/Solution.cpp
Ainevsia/Leetcode-Rust
c4f16d72f3c0d0524478b6bb90fefae9607d88be
[ "BSD-2-Clause" ]
null
null
null
134. Gas Station/Solution.cpp
Ainevsia/Leetcode-Rust
c4f16d72f3c0d0524478b6bb90fefae9607d88be
[ "BSD-2-Clause" ]
3
2020-04-02T15:36:57.000Z
2021-09-14T14:13:44.000Z
#include <string> #include <vector> #include <iostream> #include <sstream> #include <algorithm> #include <tuple> #include <deque> #include <unordered_map> #include <cmath> #include <queue> using namespace std; class Solution { public: int n; int next(int i) { return i + 1 == n ? 0 : i + 1; } ...
23.653846
136
0.476423
[ "vector" ]
c96022afbcf2a5bfedf7317c3ace60daaa5a7298
10,368
cc
C++
tests/unit/Geometry/TestGeometry.cc
jmikeowen/Spheral
3e1082a7aefd6b328bd3ae24ca1a477108cfc3c4
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
22
2018-07-31T21:38:22.000Z
2020-06-29T08:58:33.000Z
src/Geometry/tests/TestGeometry.cc
markguozhiming/spheral
bbb982102e61edb8a1d00cf780bfa571835e1b61
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
41
2020-09-28T23:14:27.000Z
2022-03-28T17:01:33.000Z
src/Geometry/tests/TestGeometry.cc
markguozhiming/spheral
bbb982102e61edb8a1d00cf780bfa571835e1b61
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
7
2019-12-01T07:00:06.000Z
2020-09-15T21:12:39.000Z
#include <iostream> #include "GeomVector.hh" #include "GeomTensor.hh" void main () { // Test the GeomVector functions cerr << "############################## Vector ##############################" << endl; cerr << "GeomVector<3>(): " << GeomVector<3>() << endl; cerr << "GeomVector<3>(1.0): " << GeomVector<3>(...
34.675585
89
0.410301
[ "vector", "3d" ]
e923fc1cf275d07c6f7dd402594f2d4c725e7b9d
1,596
cpp
C++
cpp/maxprofit3.cpp
fizzoo/kod
79a4b415729e7cadbe9466fbdea9fe73a44485d8
[ "MIT" ]
null
null
null
cpp/maxprofit3.cpp
fizzoo/kod
79a4b415729e7cadbe9466fbdea9fe73a44485d8
[ "MIT" ]
null
null
null
cpp/maxprofit3.cpp
fizzoo/kod
79a4b415729e7cadbe9466fbdea9fe73a44485d8
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <algorithm> using namespace std; typedef vector<int> V; void print_v(const V &v){ for (int i = 0; i < v.size(); ++i) { cout << v[i] << " "; } cout << endl; } int maxprofit(V prices){ if (prices.size() < 2){ return 0; } auto res = V(prices.size(), 0);...
22.478873
78
0.56391
[ "vector" ]
e927097f3a50c2fd90b22731816ff4aba51e208e
8,562
cpp
C++
src/ngraph/op/fused/batch_to_space.cpp
nmostafa/ngraph
1dbef5d30d58d9055ed9b843cf24b33553cbbc98
[ "Apache-2.0" ]
null
null
null
src/ngraph/op/fused/batch_to_space.cpp
nmostafa/ngraph
1dbef5d30d58d9055ed9b843cf24b33553cbbc98
[ "Apache-2.0" ]
null
null
null
src/ngraph/op/fused/batch_to_space.cpp
nmostafa/ngraph
1dbef5d30d58d9055ed9b843cf24b33553cbbc98
[ "Apache-2.0" ]
null
null
null
//***************************************************************************** // Copyright 2017-2020 Intel Corporation // // 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://w...
41.970588
100
0.614926
[ "shape", "vector" ]
e92ade284ca0ae2b03718fe065fa6c15c0bb8f91
14,619
cpp
C++
dawn/src/dawn/CodeGen/Cuda-ico/ASTStencilBody.cpp
MeteoSwiss-APN/dawn
92981ebce587eb71baa92e69a793f61572945f46
[ "MIT" ]
20
2017-09-28T14:23:54.000Z
2021-08-23T09:58:26.000Z
dawn/src/dawn/CodeGen/Cuda-ico/ASTStencilBody.cpp
MeteoSwiss-APN/dawn
92981ebce587eb71baa92e69a793f61572945f46
[ "MIT" ]
1,018
2017-10-09T13:55:47.000Z
2022-03-14T13:16:38.000Z
dawn/src/dawn/CodeGen/Cuda-ico/ASTStencilBody.cpp
MeteoSwiss-APN/dawn
92981ebce587eb71baa92e69a793f61572945f46
[ "MIT" ]
20
2017-09-21T10:35:24.000Z
2021-01-18T09:24:58.000Z
//===--------------------------------------------------------------------------------*- C++ -*-===// // _ // | | // __| | __ ___ ___ ___ // / _` |/ _` \ \ /\ / / '_ | // | (_| | (_| |\ V V /| | | | // ...
35.918919
103
0.635201
[ "vector", "3d" ]
e92d187a3cef215fbaecd2b64d6a0681f71534f8
3,895
cxx
C++
ZDC/ZDCbase/AliZDCEnCalib.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
null
null
null
ZDC/ZDCbase/AliZDCEnCalib.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
2
2016-11-25T08:40:56.000Z
2019-10-11T12:29:29.000Z
ZDC/ZDCbase/AliZDCEnCalib.cxx
AllaMaevskaya/AliRoot
c53712645bf1c7d5f565b0d3228e3a6b9b09011a
[ "BSD-3-Clause" ]
1
2019-12-27T08:43:06.000Z
2019-12-27T08:43:06.000Z
/************************************************************************** * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * * Contributors ...
35.409091
88
0.56611
[ "object" ]
e92d1d1c82e5e4e9a898a0ba443393243f5ad005
73
hpp
C++
src/boost_geometry_strategies_cartesian_point_in_poly_winding.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_geometry_strategies_cartesian_point_in_poly_winding.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_geometry_strategies_cartesian_point_in_poly_winding.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/geometry/strategies/cartesian/point_in_poly_winding.hpp>
36.5
72
0.863014
[ "geometry" ]
e93736fc13c85ffe4687782e5598fa8c4917c123
4,830
hpp
C++
include/silver_bullets/task_engine/ParallelTaskScheduler.hpp
kairzhanable/silver_bullets
3c45732088b9640c3fd575ba0f081d3cff95ed58
[ "MIT" ]
null
null
null
include/silver_bullets/task_engine/ParallelTaskScheduler.hpp
kairzhanable/silver_bullets
3c45732088b9640c3fd575ba0f081d3cff95ed58
[ "MIT" ]
3
2020-05-02T07:17:04.000Z
2021-11-19T13:18:30.000Z
include/silver_bullets/task_engine/ParallelTaskScheduler.hpp
kairzhanable/silver_bullets
3c45732088b9640c3fd575ba0f081d3cff95ed58
[ "MIT" ]
3
2020-11-13T17:10:48.000Z
2021-11-19T11:23:18.000Z
#pragma once #include "TaskExecutor.hpp" #include "silver_bullets/sync/ThreadNotifier.hpp" #include <memory> #include <vector> #include <deque> namespace silver_bullets { namespace task_engine { template<class TaskFunc> class ParallelTaskScheduler { public: template<class ... Args> explicit ParallelTaskSch...
31.363636
110
0.579089
[ "vector" ]
e93bd7d228468b2f8592d22b3fe9f4288d0e179d
3,301
cpp
C++
tests/Unit/Time/Triggers/Test_Times.cpp
nilsvu/spectre
1455b9a8d7e92db8ad600c66f54795c29c3052ee
[ "MIT" ]
117
2017-04-08T22:52:48.000Z
2022-03-25T07:23:36.000Z
tests/Unit/Time/Triggers/Test_Times.cpp
GitHimanshuc/spectre
4de4033ba36547113293fe4dbdd77591485a4aee
[ "MIT" ]
3,177
2017-04-07T21:10:18.000Z
2022-03-31T23:55:59.000Z
tests/Unit/Time/Triggers/Test_Times.cpp
geoffrey4444/spectre
9350d61830b360e2d5b273fdd176dcc841dbefb0
[ "MIT" ]
85
2017-04-07T19:36:13.000Z
2022-03-01T10:21:00.000Z
// Distributed under the MIT License. // See LICENSE.txt for details. #include "Framework/TestingFramework.hpp" #include <cmath> #include <initializer_list> #include <limits> #include <memory> #include <pup.h> #include <pup_stl.h> #include <vector> #include "DataStructures/DataBox/DataBox.hpp" #include "Framework/Te...
35.880435
79
0.669494
[ "vector" ]
e9496f02ba2d65444b43814cbac7a35674dafe57
231
hh
C++
test/ruby/cxx_import_tests/nested_type.hh
maltewi/tools-typelib
c0a28415b6cea4d5500a00d6e7003554d684748e
[ "CECILL-B" ]
7
2015-05-29T09:59:27.000Z
2020-05-15T13:41:18.000Z
test/ruby/cxx_import_tests/nested_type.hh
jmachowinski/typelib
9f04e8d842dd489f95c35e63568ef30b29d5df5a
[ "CECILL-B" ]
68
2015-01-06T17:02:27.000Z
2021-01-27T23:54:05.000Z
test/ruby/cxx_import_tests/nested_type.hh
rock-core/tools-typelib
b15a6c8500db4add544a8ffd6d1d795c65c5283b
[ "CECILL-B" ]
18
2015-03-20T10:57:52.000Z
2021-01-27T18:53:14.000Z
#include <vector> namespace nested_types { struct Outside { struct Inside { int a; }; int b; }; struct User { std::vector<Outside::Inside> vector; }; }
12.157895
44
0.454545
[ "vector" ]
e94c47e8faefba50d92c86781111fbe89e3e1ad1
30,720
cc
C++
services/ui/ws/test_utils.cc
zipated/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
services/ui/ws/test_utils.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
services/ui/ws/test_utils.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
// Copyright 2016 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 "services/ui/ws/test_utils.h" #include <utility> #include "base/memory/ptr_util.h" #include "base/message_loop/message_loop_current.h" #include...
35.88785
80
0.693815
[ "geometry", "vector", "transform" ]
e950aad62b28f33cd8b214f75412932d6bf62419
5,964
cc
C++
src/fuzzers/rw/t2t.cc
stnfc/android-system-nfc
ee659f69beed15b31bc08a7283fb9a403430c1a9
[ "Apache-2.0" ]
null
null
null
src/fuzzers/rw/t2t.cc
stnfc/android-system-nfc
ee659f69beed15b31bc08a7283fb9a403430c1a9
[ "Apache-2.0" ]
null
null
null
src/fuzzers/rw/t2t.cc
stnfc/android-system-nfc
ee659f69beed15b31bc08a7283fb9a403430c1a9
[ "Apache-2.0" ]
null
null
null
#include "fuzz.h" #define MODULE_NAME "Type2 Read/Write" enum { SUB_TYPE_PRESENCE_CHECK, SUB_TYPE_READ, SUB_TYPE_WRITE, SUB_TYPE_SECTOR_SELECT, SUB_TYPE_SET_TAG_READONLY, SUB_TYPE_WRITE_NDEF, SUB_TYPE_READ_NDEF, SUB_TYPE_DETECT_NDEF, SUB_TYPE_LOCATE_TLV, SUB_TYPE_FORMAT_NDEF, SUB_...
28.4
78
0.622066
[ "vector" ]
e950e2c25140347a4a73d7f4d0001aa0ecf50fb5
29,113
cpp
C++
master/autotools-book-files/autotools/book/flaim-ch8-10/flaim/src/fssearch.cpp
AlexRogalskiy/DevArtifacts
931aabb8cbf27656151c54856eb2ea7d1153203a
[ "MIT" ]
4
2018-09-07T15:35:24.000Z
2019-03-27T09:48:12.000Z
master/autotools-book-files/autotools/book/flaim-ch8-10/flaim/src/fssearch.cpp
AlexRogalskiy/DevArtifacts
931aabb8cbf27656151c54856eb2ea7d1153203a
[ "MIT" ]
371
2020-03-04T21:51:56.000Z
2022-03-31T20:59:11.000Z
master/autotools-book-files/autotools/book/flaim-ch8-10/flaim/src/fssearch.cpp
AlexRogalskiy/DevArtifacts
931aabb8cbf27656151c54856eb2ea7d1153203a
[ "MIT" ]
3
2019-06-18T19:57:17.000Z
2020-11-06T03:55:08.000Z
//------------------------------------------------------------------------- // Desc: B-tree searching. // Tabs: 3 // // Copyright (c) 1990-2007 Novell, Inc. All Rights Reserved. // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License a...
23.2904
80
0.607289
[ "model" ]