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
4254f435c67fadda3e0fb2dc37d0c90eae6cd0f6
348
cc
C++
project/src/drone_factory.cc
WileyBui/Package-Delivery-System
dd7bb15366623ddeb86a305cc8dfa50ed94f0cad
[ "MIT" ]
null
null
null
project/src/drone_factory.cc
WileyBui/Package-Delivery-System
dd7bb15366623ddeb86a305cc8dfa50ed94f0cad
[ "MIT" ]
null
null
null
project/src/drone_factory.cc
WileyBui/Package-Delivery-System
dd7bb15366623ddeb86a305cc8dfa50ed94f0cad
[ "MIT" ]
null
null
null
#include "entity_base.h" #include "json_helper.h" #include "drone_factory.h" #include "drone.h" #include <iostream> namespace csci3081 { IEntity* DroneFactory::CreateEntity(const picojson::object& val){ if (JsonHelper::GetString(val, "type") == "drone") { return new Drone(val); } return NULL; } } ...
23.2
65
0.686782
[ "object" ]
425da28f30649f649085d63a2ddd0c3d6bc31a14
5,627
cc
C++
extensions/common/cast/cast_cert_validator_nss.cc
hefen1/chromium
52f0b6830e000ca7c5e9aa19488af85be792cc88
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
extensions/common/cast/cast_cert_validator_nss.cc
hefen1/chromium
52f0b6830e000ca7c5e9aa19488af85be792cc88
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
extensions/common/cast/cast_cert_validator_nss.cc
hefen1/chromium
52f0b6830e000ca7c5e9aa19488af85be792cc88
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2020-04-04T13:34:56.000Z
2020-11-04T07:17:52.000Z
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "extensions/common/cast/cast_cert_validator.h" #include <cert.h> #include <cryptohi.h> #include <pk11pub.h> #include <seccomon.h> #include "bas...
36.070513
80
0.693975
[ "object", "vector" ]
42621dbc881d4eb8e862bb3b0c514da7e0a86eef
3,473
cpp
C++
tc 160+/TheProgrammingContestDivTwo.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
3
2015-05-25T06:24:37.000Z
2016-09-10T07:58:00.000Z
tc 160+/TheProgrammingContestDivTwo.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
null
null
null
tc 160+/TheProgrammingContestDivTwo.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
5
2015-05-25T06:24:40.000Z
2021-08-19T19:22:29.000Z
#include <algorithm> #include <cassert> #include <cstdio> #include <cstdlib> #include <cstring> #include <iostream> #include <sstream> #include <string> #include <vector> using namespace std; class TheProgrammingContestDivTwo { public: vector <int> find(int T, vector <int> t) { sort(t.begin(), t...
53.430769
333
0.552836
[ "vector" ]
4262c93676f6059d90601731c59cf0a8198838f2
2,844
hpp
C++
src/profiling/SendCounterPacket.hpp
muthukumaravel7/armnn
879ec231203df5b0a94462c0b247dc7d8d8a7a44
[ "MIT" ]
null
null
null
src/profiling/SendCounterPacket.hpp
muthukumaravel7/armnn
879ec231203df5b0a94462c0b247dc7d8d8a7a44
[ "MIT" ]
null
null
null
src/profiling/SendCounterPacket.hpp
muthukumaravel7/armnn
879ec231203df5b0a94462c0b247dc7d8d8a7a44
[ "MIT" ]
null
null
null
// // Copyright © 2017 Arm Ltd. All rights reserved. // SPDX-License-Identifier: MIT // #pragma once #include "IBufferManager.hpp" #include "ICounterDirectory.hpp" #include "ISendCounterPacket.hpp" #include "ProfilingUtils.hpp" #include <type_traits> namespace armnn { namespace profiling { class SendCounterPacket...
31.252747
108
0.648734
[ "vector" ]
42641d870f3df9235d15fb53fea7cde8bb56f483
47,738
hpp
C++
libvast/vast/format/mrt.hpp
knapperzbusch/vast
9d2af995254519b47febe2062adbc55965055cbe
[ "BSD-3-Clause" ]
null
null
null
libvast/vast/format/mrt.hpp
knapperzbusch/vast
9d2af995254519b47febe2062adbc55965055cbe
[ "BSD-3-Clause" ]
1
2019-11-29T12:43:41.000Z
2019-11-29T12:43:41.000Z
libvast/vast/format/mrt.hpp
knapperzbusch/vast
9d2af995254519b47febe2062adbc55965055cbe
[ "BSD-3-Clause" ]
null
null
null
#pragma once #include "vast/address.hpp" #include "vast/concept/parseable/core.hpp" #include "vast/concept/parseable/numeric.hpp" #include "vast/concept/parseable/string.hpp" #include "vast/concept/parseable/vast/address.hpp" #include "vast/concept/parseable/vast/data.hpp" #include "vast/error.hpp" #include "vast/even...
37.412226
82
0.5221
[ "vector" ]
4264a2376af33a1e5ff69c3c2120b0c8e4b111da
57,702
cpp
C++
mpc_controller/ros_acado_bridge/ACADOtoolkit/acado/code_generation/integrators/irk_export.cpp
kurshakuz/graduation-project
352a94c2d3e24ce714460446342b612fbb6d1f52
[ "BSD-2-Clause" ]
2
2021-04-07T08:37:28.000Z
2021-09-30T09:38:22.000Z
mpc_controller/ros_acado_bridge/ACADOtoolkit/acado/code_generation/integrators/irk_export.cpp
kurshakuz/graduation-project
352a94c2d3e24ce714460446342b612fbb6d1f52
[ "BSD-2-Clause" ]
null
null
null
mpc_controller/ros_acado_bridge/ACADOtoolkit/acado/code_generation/integrators/irk_export.cpp
kurshakuz/graduation-project
352a94c2d3e24ce714460446342b612fbb6d1f52
[ "BSD-2-Clause" ]
2
2021-03-01T14:20:58.000Z
2021-06-21T12:34:33.000Z
/* * This file is part of ACADO Toolkit. * * ACADO Toolkit -- A Toolkit for Automatic Control and Dynamic Optimization. * Copyright (C) 2008-2014 by Boris Houska, Hans Joachim Ferreau, * Milan Vukov, Rien Quirynen, KU Leuven. * Developed within the Optimization in Engineering Center (OPTEC) * u...
34.572798
323
0.688936
[ "vector", "model" ]
426505016814b06f4ab4a5f94d4f689d1fcb2aca
3,711
cpp
C++
src/iislua/iislua_util.cpp
shibayan/iislua
b0fe6fb0c204748928b6dd3205d0fe42f899d20c
[ "Apache-2.0" ]
16
2015-10-09T08:03:24.000Z
2022-03-30T08:54:10.000Z
src/iislua/iislua_util.cpp
shibayan/iislua
b0fe6fb0c204748928b6dd3205d0fe42f899d20c
[ "Apache-2.0" ]
6
2015-09-18T08:12:42.000Z
2020-04-05T07:00:14.000Z
src/iislua/iislua_util.cpp
shibayan/iislua
b0fe6fb0c204748928b6dd3205d0fe42f899d20c
[ "Apache-2.0" ]
7
2017-09-12T09:53:20.000Z
2022-02-28T23:50:03.000Z
#include "stdafx.h" static PCSTR iislua_http_header_id_to_req_name[] = { "Cache-Control", "Connection", "Date", "Keep-Alive", "Pragma", "Trailer", "Transfer-Encoding", "Upgrade", "Via", "Warning", "Allow", "Content-Length", "Content-Type", "Content-Encoding", ...
19.328125
60
0.566963
[ "vector" ]
42663ae742f48b5926de3a963bdfc4daf9f924f7
5,855
cpp
C++
Source/DirectInputClassFactory.cpp
hamzahamidi/Xidi
d7585ecf23fd17dd5be4e69f63bae08aa0e96988
[ "BSD-3-Clause" ]
1
2021-06-05T00:22:08.000Z
2021-06-05T00:22:08.000Z
Source/DirectInputClassFactory.cpp
hamzahamidi/Xidi
d7585ecf23fd17dd5be4e69f63bae08aa0e96988
[ "BSD-3-Clause" ]
null
null
null
Source/DirectInputClassFactory.cpp
hamzahamidi/Xidi
d7585ecf23fd17dd5be4e69f63bae08aa0e96988
[ "BSD-3-Clause" ]
null
null
null
/***************************************************************************** * Xidi * DirectInput interface for XInput controllers. ***************************************************************************** * Authored by Samuel Grossman * Copyright (c) 2016-2021 ********************************************...
39.295302
282
0.606832
[ "object" ]
426b120ce49856d556ffccc1e53583d734005de3
2,897
cpp
C++
test/stl.cpp
ltalirz/util-programs
93c76cb8f52543b55afdd968f6d8374997031a27
[ "MIT" ]
null
null
null
test/stl.cpp
ltalirz/util-programs
93c76cb8f52543b55afdd968f6d8374997031a27
[ "MIT" ]
null
null
null
test/stl.cpp
ltalirz/util-programs
93c76cb8f52543b55afdd968f6d8374997031a27
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <iterator> #include <sstream> // Out of range iterator alone does not give segmentation fault. void testIterator(){ std::vector<int> v(2,10); std::vector<int>::iterator it = v.begin(); ++it;++it;++it;++it; } // I experienced problems passing stringstream...
21.301471
74
0.615464
[ "object", "vector" ]
f11b928b812a514c87536217a2a123bf0e1164ba
2,027
cpp
C++
src/FlatMesh.cpp
Syllvan/CDLOD
bc603ee4f5622b9f7c0a3006963ea707e77a37ac
[ "MIT" ]
17
2016-04-26T09:01:44.000Z
2022-01-16T13:33:38.000Z
src/FlatMesh.cpp
Syllvan/CDLOD
bc603ee4f5622b9f7c0a3006963ea707e77a37ac
[ "MIT" ]
null
null
null
src/FlatMesh.cpp
Syllvan/CDLOD
bc603ee4f5622b9f7c0a3006963ea707e77a37ac
[ "MIT" ]
7
2016-06-04T09:10:32.000Z
2021-07-26T06:24:55.000Z
#include "FlatMesh.h" #include <glm/glm.hpp> #include "utils/glError.hpp" #include <iostream> #include <vector> FlatMesh::FlatMesh(int width, int height) { glCheckError(__FILE__,__LINE__); //////////////////////////// // // creation of the mesh // //////////////////////////// std::vector<...
23.569767
104
0.559447
[ "mesh", "vector" ]
f122518def26b08cd203704ba6e150e2485b8fae
11,591
cpp
C++
saga/saga/adaptors/serialization.cpp
saga-project/saga-cpp
7376c0de0529e7d7b80cf08b94ec484c2e56d38e
[ "BSL-1.0" ]
5
2015-09-15T16:24:14.000Z
2021-08-12T11:05:55.000Z
saga/saga/adaptors/serialization.cpp
saga-project/saga-cpp
7376c0de0529e7d7b80cf08b94ec484c2e56d38e
[ "BSL-1.0" ]
null
null
null
saga/saga/adaptors/serialization.cpp
saga-project/saga-cpp
7376c0de0529e7d7b80cf08b94ec484c2e56d38e
[ "BSL-1.0" ]
3
2016-11-17T04:38:38.000Z
2021-04-10T17:23:52.000Z
// Copyright (c) 2005-2009 Hartmut Kaiser // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #include <boost/plugin/dll.hpp> #include <boost/archive/text_iarchive.hpp> #include <boost/archive/text_oarchive.hpp...
37.511327
91
0.536968
[ "object" ]
f122befd555861322c76d1a03c9902981cb9b03a
3,457
cpp
C++
union-find/hard/1032.StreamOfCharacters.cpp
XiaotaoGuo/Leetcode-Solution-In-Cpp
8e01e35c742a7afb0c8cdd228a6a5e564375434e
[ "Apache-2.0" ]
null
null
null
union-find/hard/1032.StreamOfCharacters.cpp
XiaotaoGuo/Leetcode-Solution-In-Cpp
8e01e35c742a7afb0c8cdd228a6a5e564375434e
[ "Apache-2.0" ]
null
null
null
union-find/hard/1032.StreamOfCharacters.cpp
XiaotaoGuo/Leetcode-Solution-In-Cpp
8e01e35c742a7afb0c8cdd228a6a5e564375434e
[ "Apache-2.0" ]
null
null
null
/* * @lc app=leetcode id=1032 lang=cpp * * [1032] Stream of Characters * * https://leetcode.com/problems/stream-of-characters/description/ * * algorithms * Hard (48.10%) * Likes: 534 * Dislikes: 82 * Total Accepted: 31.6K * Total Submissions: 65.7K * Testcase Example: '["StreamChecker","query","quer...
29.29661
230
0.572751
[ "object", "vector" ]
f1240ebeac2ed8e234b7261b2ee1178150e63d84
1,724
cpp
C++
core/src/ReadBarcode.cpp
nimashoghi/zxing-cpp-fork
4f0530502da7efa6d35dc49dad37bae77094751b
[ "Apache-2.0" ]
1
2019-11-11T17:29:16.000Z
2019-11-11T17:29:16.000Z
core/src/ReadBarcode.cpp
nimashoghi/zxing-cpp-fork
4f0530502da7efa6d35dc49dad37bae77094751b
[ "Apache-2.0" ]
null
null
null
core/src/ReadBarcode.cpp
nimashoghi/zxing-cpp-fork
4f0530502da7efa6d35dc49dad37bae77094751b
[ "Apache-2.0" ]
1
2021-06-10T08:37:14.000Z
2021-06-10T08:37:14.000Z
/* * Copyright 2019 Axel Waggershauser * * 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 i...
38.311111
133
0.765081
[ "vector" ]
f12b59c053f1614e57e716b379ae0db817a40709
1,824
hpp
C++
deps/Rack-SDK/include/widget/FramebufferWidget.hpp
pinting/GdRackBridge
346616f1bee0f7a4770c81277a625ae1e5421664
[ "MIT" ]
null
null
null
deps/Rack-SDK/include/widget/FramebufferWidget.hpp
pinting/GdRackBridge
346616f1bee0f7a4770c81277a625ae1e5421664
[ "MIT" ]
null
null
null
deps/Rack-SDK/include/widget/FramebufferWidget.hpp
pinting/GdRackBridge
346616f1bee0f7a4770c81277a625ae1e5421664
[ "MIT" ]
null
null
null
#pragma once #include <widget/Widget.hpp> namespace rack { namespace widget { /** Caches its children's draw() result to a framebuffer image. When dirty, its children will be re-rendered on the next call to step(). */ struct FramebufferWidget : Widget { struct Internal; Internal* internal; /** Set this to true ...
33.163636
138
0.743421
[ "render" ]
f12eb95698c32d663c61dad6899a4c15bdcab802
27,714
cpp
C++
scripts/da_loot.cpp
mpforums/RenSharp
5b3fb8bff2a1772a82a4148bcf3e1265a11aa097
[ "Apache-2.0" ]
1
2021-10-04T02:34:33.000Z
2021-10-04T02:34:33.000Z
scripts/da_loot.cpp
TheUnstoppable/RenSharp
2a123c6018c18f3fc73501737d600e291ac3afa7
[ "Apache-2.0" ]
9
2019-07-03T19:19:59.000Z
2020-03-02T22:00:21.000Z
scripts/da_loot.cpp
TheUnstoppable/RenSharp
2a123c6018c18f3fc73501737d600e291ac3afa7
[ "Apache-2.0" ]
2
2019-08-14T08:37:36.000Z
2020-09-29T06:44:26.000Z
/* Renegade Scripts.dll Dragonade Loot Game Feature Copyright 2017 Whitedragon, Tiberian Technologies This file is part of the Renegade scripts.dll The Renegade scripts.dll is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Sof...
35.713918
245
0.71675
[ "model" ]
f1304f9d1a493f433962c1237d115f5e587c9bad
10,634
cxx
C++
Modules/Loadable/Segmentations/Widgets/qMRMLSortFilterSegmentsProxyModel.cxx
forfullstack/slicersources-src
91bcecf037a27f3fad4c0ab57e8286fc258bb0f5
[ "Apache-2.0" ]
null
null
null
Modules/Loadable/Segmentations/Widgets/qMRMLSortFilterSegmentsProxyModel.cxx
forfullstack/slicersources-src
91bcecf037a27f3fad4c0ab57e8286fc258bb0f5
[ "Apache-2.0" ]
null
null
null
Modules/Loadable/Segmentations/Widgets/qMRMLSortFilterSegmentsProxyModel.cxx
forfullstack/slicersources-src
91bcecf037a27f3fad4c0ab57e8286fc258bb0f5
[ "Apache-2.0" ]
null
null
null
/*============================================================================== Copyright (c) Laboratory for Percutaneous Surgery (PerkLab) Queen's University, Kingston, ON, Canada. All Rights Reserved. See COPYRIGHT.txt or http://www.slicer.org/copyright/copyright.txt for details. Unless required by appl...
30.124646
109
0.598364
[ "model" ]
f1438f31b974ab79994937eeaba8c38e7f064d6f
1,887
cpp
C++
src/impedance.cpp
Mingg8/panda_simulation
465ae4bdd79937e43d14fe127f46cac5b3f00833
[ "MIT" ]
null
null
null
src/impedance.cpp
Mingg8/panda_simulation
465ae4bdd79937e43d14fe127f46cac5b3f00833
[ "MIT" ]
null
null
null
src/impedance.cpp
Mingg8/panda_simulation
465ae4bdd79937e43d14fe127f46cac5b3f00833
[ "MIT" ]
null
null
null
#include "panda_simulation/impedance.hpp" #include <std_msgs/Float64.h> // TODO: set error Impedance::Impedance(int _argc, char ** _argv) : argc(_argc), argv(_argv) {}; void Impedance::impedanceControl() { V7d error; error.setZero(); MatrixXd jacobian = model->getJacobian(q); M7d K_im, B_im; ...
25.5
77
0.588235
[ "model" ]
f149cc7d65d25ddcd97d6e9150682dee96a77ef7
1,192
cpp
C++
src/view/falcon/Joint.cpp
kouellet/nifalcon_mechanics
1c4fc7c00383ca1f6c23c951835ff5ca14c2be97
[ "BSD-3-Clause" ]
1
2016-05-08T18:41:22.000Z
2016-05-08T18:41:22.000Z
src/view/falcon/Joint.cpp
kouellet/nifalcon_mechanics
1c4fc7c00383ca1f6c23c951835ff5ca14c2be97
[ "BSD-3-Clause" ]
null
null
null
src/view/falcon/Joint.cpp
kouellet/nifalcon_mechanics
1c4fc7c00383ca1f6c23c951835ff5ca14c2be97
[ "BSD-3-Clause" ]
null
null
null
#include "Joint.h" namespace view { Joint::Joint() : Element() { float length = 11.25f; osg::Geometry* geometry = new osg::Geometry(); osg::Vec3Array* vertices = new osg::Vec3Array; vertices->push_back(osg::Vec3( 0, 0, 0) ); vertices->push_back(osg::Vec3( length, 0, 0) ); geometry->setVertexArray(vertic...
27.090909
90
0.67953
[ "geometry", "model", "transform" ]
f14c7878422a1a6f0d57d7416f738bfbc50e5129
4,019
cc
C++
common/dstage/dans_proxy.cc
PeterVondras/DAS
72dd5223280ec121f998b4932cc6bf7e83187d46
[ "MIT" ]
null
null
null
common/dstage/dans_proxy.cc
PeterVondras/DAS
72dd5223280ec121f998b4932cc6bf7e83187d46
[ "MIT" ]
null
null
null
common/dstage/dans_proxy.cc
PeterVondras/DAS
72dd5223280ec121f998b4932cc6bf7e83187d46
[ "MIT" ]
null
null
null
#include <chrono> #include <csignal> #include <functional> #include "common/dstage/executor.h" #include "common/dstage/linux_communication_handler.h" #include "common/dstage/proxy_dstage.h" #include "common/util/callback.h" #include "gflags/gflags.h" #include "glog/logging.h" DEFINE_uint64(primary_prio_port_in, 5010,...
40.19
80
0.675541
[ "vector" ]
f14ce78b79a157a2100f5fde4acbe36a2f733723
4,434
cpp
C++
tests/test_assembler.cpp
RISE-MO/cluon-nmea2000
38d38395df94e158f38cdb1e66f8aa316c060661
[ "Apache-2.0" ]
null
null
null
tests/test_assembler.cpp
RISE-MO/cluon-nmea2000
38d38395df94e158f38cdb1e66f8aa316c060661
[ "Apache-2.0" ]
null
null
null
tests/test_assembler.cpp
RISE-MO/cluon-nmea2000
38d38395df94e158f38cdb1e66f8aa316c060661
[ "Apache-2.0" ]
null
null
null
/// Copyright 2021 RISE Research Institute of Sweden - Maritime Operations /// /// 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 ...
31.671429
77
0.662382
[ "vector" ]
f14d5ec6770afaed0d8cb37353175aed884a716f
2,242
hpp
C++
include/Reflect.hpp
akalberer/sim-eeros
4cdeb983f9e712337370ead4241cf07e95083965
[ "Apache-2.0" ]
null
null
null
include/Reflect.hpp
akalberer/sim-eeros
4cdeb983f9e712337370ead4241cf07e95083965
[ "Apache-2.0" ]
null
null
null
include/Reflect.hpp
akalberer/sim-eeros
4cdeb983f9e712337370ead4241cf07e95083965
[ "Apache-2.0" ]
null
null
null
#ifndef SIM_EEROS_REFLECT_HPP_ #define SIM_EEROS_REFLECT_HPP_ #include <vector> #include <memory> #include "SimBehaviour.hpp" #include "SimChannel.hpp" #include <eeros/core/Fault.hpp> /** * usage: * simulate digital Output: * - connect digital output from eeros-application to subdevice 0 (REFLECT_OUT_DIGOUT) and...
28.74359
108
0.655219
[ "vector" ]
f152a2325c60ea8d244402e8e43a4a63d2167e47
29,334
cpp
C++
admin/dscmd/dsquery/querytable.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
admin/dscmd/dsquery/querytable.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
admin/dscmd/dsquery/querytable.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
//+------------------------------------------------------------------------- // // Microsoft Windows // Copyright (C) Microsoft Corporation, 1992 - 2000 // // File: querytable.cpp // // Contents: Defines Table For Parser. // // History: 24-Sep-2000 Hiteshr Created // // //-----...
17.554758
80
0.624224
[ "object" ]
f1672fe55795b073459e59cf060eebec736f075e
1,809
cpp
C++
Tests/dsatur_tests.cpp
Sagebati/graph-coloring
209c406b2525fa9fba75537557c9ffb76fe7da8b
[ "MIT" ]
23
2019-02-28T21:52:28.000Z
2022-03-16T11:21:55.000Z
Tests/dsatur_tests.cpp
Sagebati/graph-coloring
209c406b2525fa9fba75537557c9ffb76fe7da8b
[ "MIT" ]
7
2018-10-03T05:53:32.000Z
2020-10-04T07:34:06.000Z
Tests/dsatur_tests.cpp
Sagebati/graph-coloring
209c406b2525fa9fba75537557c9ffb76fe7da8b
[ "MIT" ]
7
2019-07-31T07:17:55.000Z
2022-02-04T15:54:56.000Z
#include <gtest/gtest.h> #include "../Header/dsatur.hpp" using GraphColoring::Dsatur; TEST(DsaturTests, DsaturK5ColorTest) { vector<string> node_k1 = { "k2", "k3", "k4", "k5" }; vector<string> node_k2 = { "k1", "k3", "k4", "k5" }; vector<string> node_k3 = { "k1", "k2", "k4", "k5" }; vector<string> n...
34.132075
136
0.609729
[ "vector" ]
f170a19c664cc37e6362deb43c93ae9d2c52bf17
1,279
cpp
C++
fish/mbed/LPCExpress/pressure_sensor_test/main.cpp
tarquasso/softroboticfish
b638d1af94919b9098aad11d7705fb0acd25a722
[ "MIT" ]
5
2019-06-24T20:19:30.000Z
2021-11-15T15:52:44.000Z
fish/mbed/LPCExpress/pressure_sensor_test/main.cpp
tarquasso/softroboticfish
b638d1af94919b9098aad11d7705fb0acd25a722
[ "MIT" ]
null
null
null
fish/mbed/LPCExpress/pressure_sensor_test/main.cpp
tarquasso/softroboticfish
b638d1af94919b9098aad11d7705fb0acd25a722
[ "MIT" ]
4
2016-03-22T07:57:59.000Z
2022-01-21T00:49:42.000Z
#include "mbed.h" #include "MS5837.h" //#include "MODSERIAL.h" #define PIN_IMU_SDA p28 #define PIN_IMU_SCL p27 #define TIMESTEP 0.3 Serial pcSerial(USBTX,USBRX); //serial device Timer t; MS5837 pressureSensor(PIN_IMU_SDA, PIN_IMU_SCL); DigitalOut TestLED(LED1); DigitalOut TestLED2(LED2); bool clk = true; int co...
17.283784
54
0.641126
[ "object" ]
f185749f756a8981c8e0f557c091d3ad34b8ceeb
4,928
cpp
C++
src/file/File.cpp
GrinPlusPlus/libmw-ltc
21e5b96024e09bb8a69c040704d5e4f2b8616813
[ "MIT" ]
4
2020-01-01T18:07:12.000Z
2020-10-01T01:06:17.000Z
src/file/File.cpp
mosadialiou/libmw
7c47bb5a75553bf1b6d3ae61998638481048ec93
[ "MIT" ]
1
2020-02-03T23:54:22.000Z
2020-02-04T04:35:54.000Z
src/file/File.cpp
mosadialiou/libmw
7c47bb5a75553bf1b6d3ae61998638481048ec93
[ "MIT" ]
2
2020-05-23T15:42:55.000Z
2021-04-02T13:34:39.000Z
#include <mw/file/File.h> #include <mw/common/Logger.h> #if defined(_WIN32) #include <Windows.h> #else #include <unistd.h> #endif void File::Create() { m_path.GetParent().CreateDirIfMissing(); std::ifstream inFile(m_path.m_path, std::ios::in | std::ifstream::ate | std::ifstream::binary); if (inFile.is_op...
24.039024
101
0.597808
[ "vector" ]
f18b0bb924ee890ef683659ecec31e18c30db423
5,840
cpp
C++
iotcloud/src/v20210408/model/ProductInfo.cpp
TencentCloud/tencentcloud-sdk-cpp-intl-en
752c031f5ad2c96868183c5931eae3a42dd5ae6c
[ "Apache-2.0" ]
1
2022-01-27T09:27:34.000Z
2022-01-27T09:27:34.000Z
iotcloud/src/v20210408/model/ProductInfo.cpp
TencentCloud/tencentcloud-sdk-cpp-intl-en
752c031f5ad2c96868183c5931eae3a42dd5ae6c
[ "Apache-2.0" ]
null
null
null
iotcloud/src/v20210408/model/ProductInfo.cpp
TencentCloud/tencentcloud-sdk-cpp-intl-en
752c031f5ad2c96868183c5931eae3a42dd5ae6c
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 ...
29.494949
141
0.698973
[ "object", "model" ]
1af465138b5ee49b3217f8b07f5ffa4d7919c19d
18,409
cpp
C++
stack/test/saptool/src/SessionSoc.cpp
shrewdlin/BPE
cf29647479b1b8ed53afadaf70557387f4c07e16
[ "BSD-3-Clause" ]
1
2016-07-12T06:00:37.000Z
2016-07-12T06:00:37.000Z
stack/test/saptool/src/SessionSoc.cpp
shrewdlin/BPE
cf29647479b1b8ed53afadaf70557387f4c07e16
[ "BSD-3-Clause" ]
null
null
null
stack/test/saptool/src/SessionSoc.cpp
shrewdlin/BPE
cf29647479b1b8ed53afadaf70557387f4c07e16
[ "BSD-3-Clause" ]
2
2016-09-06T07:59:09.000Z
2020-12-12T03:25:24.000Z
#include "SessionSoc.h" #include "SessionSocFsm.h" #include "SessionManager.h" #include "SapMessage.h" #include "SapCommon.h" #include "SapAgent.h" #include "TestLogHelper.h" #include "Cipher.h" #include <boost/bind.hpp> #include <time.h> #include <utility> using namespace sdo::sap; static int nSend=0; static int nResp...
34.345149
147
0.616655
[ "vector" ]
1af5b724395cdf1c9e434d85cf7eafbbdfb49127
1,624
cpp
C++
cpp/tests/test_compartmentsimulation.cpp
lelange/memilio
e90aa96a3494899c54cd6326a31687d37f5505c8
[ "Apache-2.0" ]
9
2021-08-24T11:01:41.000Z
2022-03-16T12:45:39.000Z
cpp/tests/test_compartmentsimulation.cpp
lelange/memilio
e90aa96a3494899c54cd6326a31687d37f5505c8
[ "Apache-2.0" ]
197
2021-08-16T15:38:44.000Z
2022-03-31T14:37:24.000Z
cpp/tests/test_compartmentsimulation.cpp
lelange/memilio
e90aa96a3494899c54cd6326a31687d37f5505c8
[ "Apache-2.0" ]
3
2021-09-28T08:29:02.000Z
2022-03-16T12:45:42.000Z
/* * Copyright (C) 2020-2021 German Aerospace Center (DLR-SC) * * Authors: Jan Kleinert, Daniel Abele * * Contact: Martin J. Kuehn <Martin.Kuehn@DLR.de> * * 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 ...
32.48
165
0.688424
[ "model" ]
1af61c70d946ff407672a3931eb45f437e5aafac
5,534
cpp
C++
Util/OSM2ODR/src/utils/common/StringTokenizer.cpp
adelbennaceur/carla
4d6fefe73d38f0ffaef8ffafccf71245699fc5db
[ "MIT" ]
5
2020-12-14T00:33:42.000Z
2021-12-22T07:41:49.000Z
Util/OSM2ODR/src/utils/common/StringTokenizer.cpp
adelbennaceur/carla
4d6fefe73d38f0ffaef8ffafccf71245699fc5db
[ "MIT" ]
2
2021-03-31T20:10:04.000Z
2021-12-13T20:48:30.000Z
Util/OSM2ODR/src/utils/common/StringTokenizer.cpp
adelbennaceur/carla
4d6fefe73d38f0ffaef8ffafccf71245699fc5db
[ "MIT" ]
4
2021-04-15T03:45:53.000Z
2021-12-24T13:13:39.000Z
/****************************************************************************/ // Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.org/sumo // Copyright (C) 2001-2020 German Aerospace Center (DLR) and others. // This program and the accompanying materials are made available under the // terms of the Ecli...
27.39604
107
0.534695
[ "vector" ]
211de865e66f320f7f62d5745b3f2023751f76ae
1,208
cc
C++
source/server/config/network/tcp_proxy.cc
qiwzhang/envoy
c1920c18c7419838eca3e5d1633ac309568535e0
[ "Apache-2.0" ]
null
null
null
source/server/config/network/tcp_proxy.cc
qiwzhang/envoy
c1920c18c7419838eca3e5d1633ac309568535e0
[ "Apache-2.0" ]
33
2020-12-04T15:48:38.000Z
2021-08-12T12:06:48.000Z
source/server/config/network/tcp_proxy.cc
qiwzhang/envoy
c1920c18c7419838eca3e5d1633ac309568535e0
[ "Apache-2.0" ]
null
null
null
#include "tcp_proxy.h" #include "envoy/network/connection.h" #include "envoy/server/instance.h" #include "common/filter/tcp_proxy.h" namespace Server { namespace Configuration { NetworkFilterFactoryCb TcpProxyConfigFactory::tryCreateFilterFactory(NetworkFilterType type, ...
35.529412
96
0.629967
[ "object" ]
211e1aa17f35534fce05932e95faaf8455091fa8
3,493
hpp
C++
libs/TwoDLib/Master.hpp
dekamps/miind
4b321c62c2bd27eb0d5d8336a16a9e840ba63856
[ "MIT" ]
13
2015-09-15T17:28:25.000Z
2022-03-22T20:26:47.000Z
libs/TwoDLib/Master.hpp
dekamps/miind
4b321c62c2bd27eb0d5d8336a16a9e840ba63856
[ "MIT" ]
41
2015-08-25T07:50:55.000Z
2022-03-21T16:20:37.000Z
libs/TwoDLib/Master.hpp
dekamps/miind
4b321c62c2bd27eb0d5d8336a16a9e840ba63856
[ "MIT" ]
9
2015-09-14T20:52:07.000Z
2022-03-08T12:18:18.000Z
// Copyright (c) 2005 - 2015 Marc de Kamps // 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 condition...
32.045872
162
0.721443
[ "vector" ]
21203ee45775ebd2a127b8d3d3265b185cf81721
4,784
cpp
C++
ext/libvot/src/examples/web_search.cpp
bitlw/EGSfM
d5b4260d38237c6bd814648cadcf1fcf2f8f5d31
[ "BSD-3-Clause" ]
90
2019-05-19T03:48:23.000Z
2022-02-02T15:20:49.000Z
ext/libvot/src/examples/web_search.cpp
bitlw/EGSfM
d5b4260d38237c6bd814648cadcf1fcf2f8f5d31
[ "BSD-3-Clause" ]
11
2019-05-22T07:45:46.000Z
2021-05-20T01:48:26.000Z
ext/libvot/src/examples/web_search.cpp
bitlw/EGSfM
d5b4260d38237c6bd814648cadcf1fcf2f8f5d31
[ "BSD-3-Clause" ]
18
2019-05-19T03:48:32.000Z
2021-05-29T18:19:16.000Z
/* Copyright (c) 2015 - 2016, Tianwei Shen 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 conditions and the foll...
35.701493
116
0.733696
[ "vector" ]
21229f0d6587fff8924630f297829291457897db
4,664
cpp
C++
src/EventHandler.cpp
rhyslee/Warcfaft-GameAI-160
634b99d6ae97c3ac29542a256f36c6a85b47a4ec
[ "MIT" ]
1
2019-06-02T06:14:19.000Z
2019-06-02T06:14:19.000Z
src/EventHandler.cpp
rhyslee/Warcfaft-GameAI-160
634b99d6ae97c3ac29542a256f36c6a85b47a4ec
[ "MIT" ]
null
null
null
src/EventHandler.cpp
rhyslee/Warcfaft-GameAI-160
634b99d6ae97c3ac29542a256f36c6a85b47a4ec
[ "MIT" ]
1
2018-06-16T04:52:47.000Z
2018-06-16T04:52:47.000Z
#include "EventHandler.h" #include "Debug.h" #include "BattleMode.h" #include "GameModel.h" extern "C" { #include "lua.h" #include "lauxlib.h" #include "lualib.h" } std::shared_ptr< CGameModel > CEventHandler::DGameModel; std::string CEventHandler::DEventScript; void CEventHandler::SetGameModelReference ...
28.790123
126
0.675815
[ "vector" ]
2122d12aff9dc7f3bb6c9f0a148f8c2de2f0f75f
584
hpp
C++
source/AsioExpress/Testing/DoNotDelete.hpp
suhao/asioexpress
2f3453465934afdcdf4a575a2d933d86929b23c7
[ "BSL-1.0" ]
null
null
null
source/AsioExpress/Testing/DoNotDelete.hpp
suhao/asioexpress
2f3453465934afdcdf4a575a2d933d86929b23c7
[ "BSL-1.0" ]
null
null
null
source/AsioExpress/Testing/DoNotDelete.hpp
suhao/asioexpress
2f3453465934afdcdf4a575a2d933d86929b23c7
[ "BSL-1.0" ]
null
null
null
// Copyright Ross MacGregor 2013 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #pragma once namespace AsioExpress { namespace Testing { /// /// Use this as a customized del...
26.545455
77
0.672945
[ "object" ]
212581a9428a53bb679785f4a143db4cdc53efa1
1,528
cc
C++
src/common.cc
RSkinderowicz/GPUBasedACS
f2c85cd5bf10321b1e1a19ca8d1ecb3bd0054fb1
[ "MIT" ]
1
2022-02-13T19:39:34.000Z
2022-02-13T19:39:34.000Z
src/common.cc
RSkinderowicz/GPUBasedACS
f2c85cd5bf10321b1e1a19ca8d1ecb3bd0054fb1
[ "MIT" ]
null
null
null
src/common.cc
RSkinderowicz/GPUBasedACS
f2c85cd5bf10321b1e1a19ca8d1ecb3bd0054fb1
[ "MIT" ]
3
2018-11-29T11:12:45.000Z
2021-08-30T18:41:34.000Z
#include "common.h" #include <ctime> #include <cstdio> std::map<std::string, pj> global_record; void record(std::string key, int64_t value) { global_record[key] = pj(value); } void record(std::string key, double value) { global_record[key] = pj(value); } void record(std::string key, const std::string valu...
22.80597
69
0.645288
[ "vector" ]
2129bc50800b103977847a6828eab652831fb004
613
cpp
C++
examples/multi/main.cpp
david-antiteum/drea
bf1b679b0640ecd7799d0edb0f647b9a0b2c2da5
[ "MIT" ]
null
null
null
examples/multi/main.cpp
david-antiteum/drea
bf1b679b0640ecd7799d0edb0f647b9a0b2c2da5
[ "MIT" ]
10
2020-04-13T09:45:24.000Z
2021-06-28T10:02:57.000Z
examples/multi/main.cpp
david-antiteum/drea
bf1b679b0640ecd7799d0edb0f647b9a0b2c2da5
[ "MIT" ]
1
2020-07-31T04:56:30.000Z
2020-07-31T04:56:30.000Z
#include <drea/core/Core> #include <algorithm> #include <boost/algorithm/string.hpp> #include "commands.yml.h" int main( int argc, char * argv[] ) { drea::core::App app( argc, argv ); app.parse( std::string( commands_yml, commands_yml + commands_yml_len ) ); app.commander().run( [ &app ]( std::string cmd ){ ...
25.541667
79
0.606852
[ "vector" ]
212f3fa3e4ddeefba58efc28a3309c4ff58b3c0b
3,339
cpp
C++
src/model_derivative/modelderivativeapi.cpp
apprentice3d/forge-api-qt-client
66392150158574a01e7b698c2faa097d2daeb4e8
[ "MIT" ]
1
2017-03-19T10:02:07.000Z
2017-03-19T10:02:07.000Z
src/model_derivative/modelderivativeapi.cpp
apprentice3d/forge-api-qt-client
66392150158574a01e7b698c2faa097d2daeb4e8
[ "MIT" ]
1
2017-04-10T13:23:27.000Z
2017-04-10T13:23:27.000Z
src/model_derivative/modelderivativeapi.cpp
apprentice3d/forge-api-qt-client
66392150158574a01e7b698c2faa097d2daeb4e8
[ "MIT" ]
null
null
null
#include "modelderivativeapi.h" using namespace Forge; ModelDerivativeApi::ModelDerivativeApi(QObject *parent) : BaseApi(parent) , m_token_manager(new TwoLeggedApi()) { m_endpoint = QString("/modelderivative/v2/designdata"); } ModelDerivativeApi::~ModelDerivativeApi() { if (m_token_manager != nullptr) { m_to...
26.291339
119
0.713387
[ "object" ]
2133094598d9e9115484a6f198ec73bb9bcaf490
7,415
cc
C++
service_apis/calendar/google/calendar_api/event.cc
jeramy-chen/google-api-cpp-client
27fee6855ab0e40e718cbba5738a259cee8c9bda
[ "Apache-2.0" ]
264
2015-01-20T12:08:14.000Z
2022-03-28T17:58:30.000Z
service_apis/calendar/google/calendar_api/event.cc
jeramy-chen/google-api-cpp-client
27fee6855ab0e40e718cbba5738a259cee8c9bda
[ "Apache-2.0" ]
52
2015-01-01T10:25:31.000Z
2019-06-26T21:40:40.000Z
service_apis/calendar/google/calendar_api/event.cc
jeramy-chen/google-api-cpp-client
27fee6855ab0e40e718cbba5738a259cee8c9bda
[ "Apache-2.0" ]
126
2015-01-03T05:39:20.000Z
2022-02-08T06:52:10.000Z
// Licensed under the Apache License, Version 2.0 (the "License"); you may not // use this file except in compliance with the License. You may obtain a copy of // the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed unde...
29.3083
100
0.75091
[ "object" ]
213761f92a2c3aa5a29c667e9fe5b54c67eddb4d
576
cpp
C++
aoj/Volume25/2508/solve.cpp
tobyapi/online-judge-solutions
4088adb97ea592e8e6582ae7d2ecde2f85e2ed9c
[ "MIT" ]
null
null
null
aoj/Volume25/2508/solve.cpp
tobyapi/online-judge-solutions
4088adb97ea592e8e6582ae7d2ecde2f85e2ed9c
[ "MIT" ]
null
null
null
aoj/Volume25/2508/solve.cpp
tobyapi/online-judge-solutions
4088adb97ea592e8e6582ae7d2ecde2f85e2ed9c
[ "MIT" ]
null
null
null
#include<iostream> #include<vector> #include<algorithm> #include<cstring> #include<string> #include<cctype> #include<cmath> using namespace std; string str="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"; char encode(char a,int k){ int b; if(isupper(a))b=a-'A'; else b=a-'a'+26; if(b-k>=0)return str[b-k]; ...
15.567568
66
0.621528
[ "vector" ]
2138176d9046aef0b5bb4f79ce47157f228c0d30
2,913
hpp
C++
app/src/main/cpp/vk_util/vk_helpers.hpp
ktzevani/native-camera-vulkan
b9c03c956f8e9c2bda05ae31060d09518fd5790b
[ "Apache-2.0" ]
10
2021-06-06T15:30:05.000Z
2022-03-20T09:48:18.000Z
app/src/main/cpp/vk_util/vk_helpers.hpp
ktzevani/native-camera-vulkan
b9c03c956f8e9c2bda05ae31060d09518fd5790b
[ "Apache-2.0" ]
1
2021-09-23T08:44:50.000Z
2021-09-23T08:44:50.000Z
app/src/main/cpp/vk_util/vk_helpers.hpp
ktzevani/native-camera-vulkan
b9c03c956f8e9c2bda05ae31060d09518fd5790b
[ "Apache-2.0" ]
2
2021-08-09T07:50:10.000Z
2021-12-31T13:51:53.000Z
/* * Copyright 2020 Konstantinos Tzevanidis * * 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 ...
31.322581
112
0.670786
[ "vector" ]
2139606218ccd2764a0536320568ae797060c5fd
773
hpp
C++
Engine/Core/Sources/Control/EventBinder.hpp
kaluginadaria/YetAnotherProject
abedd20b484f868ded83e72261970703a27e024d
[ "MIT" ]
1
2018-05-02T10:40:26.000Z
2018-05-02T10:40:26.000Z
Engine/Core/Sources/Control/EventBinder.hpp
kaluginadaria/YetAnotherProject
abedd20b484f868ded83e72261970703a27e024d
[ "MIT" ]
9
2018-03-26T10:22:07.000Z
2018-05-22T20:43:14.000Z
Engine/Core/Sources/Control/EventBinder.hpp
kaluginadaria/YetAnotherProject
abedd20b484f868ded83e72261970703a27e024d
[ "MIT" ]
6
2018-04-15T16:03:32.000Z
2018-05-21T22:02:49.000Z
#pragma once #include "ControlTypes.hpp" /** A class is being used to bind a player * input on a function in up controlled avatar */ class EventBinder { friend class EventManager; public: template<class _T, typename _Fn> void BindAction(const std::string& action, EKeyAction type, _T* target, _Fn function) { ...
21.472222
86
0.72445
[ "vector" ]
213cebe07f82e82422cc9bee8dc940d4fe69c645
1,278
hpp
C++
core/application/impl/configuration_storage_impl.hpp
lamafab/kagome
988bc6d93314ca58b320a9d83dcbc4cd3b87b7bb
[ "Apache-2.0" ]
null
null
null
core/application/impl/configuration_storage_impl.hpp
lamafab/kagome
988bc6d93314ca58b320a9d83dcbc4cd3b87b7bb
[ "Apache-2.0" ]
null
null
null
core/application/impl/configuration_storage_impl.hpp
lamafab/kagome
988bc6d93314ca58b320a9d83dcbc4cd3b87b7bb
[ "Apache-2.0" ]
null
null
null
/** * Copyright Soramitsu Co., Ltd. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ #ifndef KAGOME_CONFIGURATION_STORAGE_IMPL_HPP #define KAGOME_CONFIGURATION_STORAGE_IMPL_HPP #include "application/configuration_storage.hpp" #include <boost/property_tree/ptree.hpp> namespace kagome::application { ...
29.72093
79
0.751174
[ "vector" ]
21431281f2465fcae946e769335e07fb79d50c9d
717
cpp
C++
Quarter 2/Week 1/02KICKSTART.cpp
nwatx/CS3-Independent-Study
16b91d4e0503d10d825ae800c46ea9233cd5e066
[ "MIT" ]
1
2020-09-04T21:21:12.000Z
2020-09-04T21:21:12.000Z
Quarter 2/Week 1/02KICKSTART.cpp
nwatx/CS3-Independent-Study
16b91d4e0503d10d825ae800c46ea9233cd5e066
[ "MIT" ]
null
null
null
Quarter 2/Week 1/02KICKSTART.cpp
nwatx/CS3-Independent-Study
16b91d4e0503d10d825ae800c46ea9233cd5e066
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; #define ar array #define ll long long #define vt vector #define f first #define s second #define mp make_pair #define sz(x) (int)x.size() const int MAX_N = 1e5 + 1; const int MOD = 1e9 + 7; const int INF = 1e9; const ll LINF = 1e18; void setIn(string s) { freopen(s.c_s...
18.384615
58
0.599721
[ "vector" ]
214a54cd620f4d4f8621528b7f43e248e9813d5c
2,330
hpp
C++
src/convert/osm_storage.hpp
malasiot/maplite
1edeec673110cdd5fa904ff2ff88289b6c3ec324
[ "MIT" ]
12
2017-05-11T21:44:57.000Z
2021-12-30T08:35:56.000Z
src/convert/osm_storage.hpp
malasiot/mftools
1edeec673110cdd5fa904ff2ff88289b6c3ec324
[ "MIT" ]
8
2016-10-27T10:10:05.000Z
2019-12-07T21:27:02.000Z
src/convert/osm_storage.hpp
malasiot/mftools
1edeec673110cdd5fa904ff2ff88289b6c3ec324
[ "MIT" ]
5
2017-10-17T08:18:58.000Z
2021-11-12T11:44:23.000Z
#ifndef __OSM_STORAGE_HPP__ #define __OSM_STORAGE_HPP__ #include "dictionary.hpp" #include <unordered_map> #include <map> typedef int64_t osm_id_t ; enum osm_feature_t { osm_node_t = 0, osm_way_t = 1, osm_relation_t = 2} ; namespace OSM { struct Feature { Feature() {} osm_id_t id_ ; // feature id Dict...
25.604396
123
0.67382
[ "vector" ]
214ddd1f357e2753db091529653d80f532fcabee
1,091
cpp
C++
datasets/github_cpp_10/10/104.cpp
yijunyu/demo-fast
11c0c84081a3181494b9c469bda42a313c457ad2
[ "BSD-2-Clause" ]
1
2019-05-03T19:27:45.000Z
2019-05-03T19:27:45.000Z
datasets/github_cpp_10/10/104.cpp
yijunyu/demo-vscode-fast
11c0c84081a3181494b9c469bda42a313c457ad2
[ "BSD-2-Clause" ]
null
null
null
datasets/github_cpp_10/10/104.cpp
yijunyu/demo-vscode-fast
11c0c84081a3181494b9c469bda42a313c457ad2
[ "BSD-2-Clause" ]
null
null
null
#include<iostream> #include<algorithm> #include<vector> using namespace std; int min(int a,int b, int c) { return min(a,min(b,c)); } int EditDistance(string &A,string &B,vector<vector<int> > &matrix, int I,int J) { if(I==0)return J; if(J==0)return I; if( A[I-1] == B[J-1] ) matrix[I][J] = min( EditDistance(A,B,matri...
27.275
88
0.591201
[ "vector" ]
215a2d7ff52ce972e00c28402e059c14030ead19
22,317
cc
C++
backend/storageNode.cc
alexhby/PennCloud
8b898a3a6488fdbf1ae13c2ea10cfe155e8d4f9d
[ "MIT" ]
2
2017-11-04T20:05:23.000Z
2019-01-30T16:08:36.000Z
backend/storageNode.cc
alexhby/PennCloud
8b898a3a6488fdbf1ae13c2ea10cfe155e8d4f9d
[ "MIT" ]
null
null
null
backend/storageNode.cc
alexhby/PennCloud
8b898a3a6488fdbf1ae13c2ea10cfe155e8d4f9d
[ "MIT" ]
1
2021-12-03T08:38:49.000Z
2021-12-03T08:38:49.000Z
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <arpa/inet.h> #include <iostream> #include <signal.h> #include <map> #include <vector> #include <sstream> #include <fstream> #include <unordered_set> #include <unordered_map> #include <sys/stat.h> using namespace std; ...
29.325887
157
0.549178
[ "vector" ]
215abbaf3e7f88be9058e64bc7bacf5e07ca0fd2
2,765
cpp
C++
Linux/src/cherry.cpp
OVER-NULL/FLEAS
a43dd4159b1fc616592a2eef41547093eb921772
[ "Apache-2.0" ]
8
2019-08-13T02:46:08.000Z
2020-09-04T10:35:25.000Z
Linux/src/cherry.cpp
Fig-Man/FLEAS
a43dd4159b1fc616592a2eef41547093eb921772
[ "Apache-2.0" ]
2
2019-08-15T07:46:15.000Z
2019-08-17T07:50:09.000Z
Linux/src/cherry.cpp
Fig-Man/FLEAS
a43dd4159b1fc616592a2eef41547093eb921772
[ "Apache-2.0" ]
1
2020-09-10T11:00:57.000Z
2020-09-10T11:00:57.000Z
#include <chrono> #include <thread> #include <ncurses.h> #include "game_engine.hpp" #include "input.hpp" #include "chars_stats.hpp" #include "enemy_characters.hpp" #include "ally_characters.hpp" // Top libs for cpp functions // Bottom libs for personal functions // Version: 0.2b.8a // Producer: Qubit Games // Dat...
25.136364
104
0.54575
[ "render" ]
216a83eb046468f5371cfd35042c69b9c586e034
581
hpp
C++
input/raw/result.hpp
5cript/debugger-interface
61d6fd73275b2240f61f19a3978015d9bb0c1e3c
[ "MIT" ]
null
null
null
input/raw/result.hpp
5cript/debugger-interface
61d6fd73275b2240f61f19a3978015d9bb0c1e3c
[ "MIT" ]
null
null
null
input/raw/result.hpp
5cript/debugger-interface
61d6fd73275b2240f61f19a3978015d9bb0c1e3c
[ "MIT" ]
null
null
null
#pragma once #include "../../adapt.hpp" namespace DebuggerInterface::RawData { struct Result { std::string variable; // from the following, only one can be filled. This will later be post processed. std::string value; std::vector <Result> tupleValue; std::...
21.518519
90
0.614458
[ "vector" ]
216ac77cdeac4570cc05bd1579c889d42b53f276
1,789
cpp
C++
test/test_data_loggers.cpp
JeroenDM/acrolib_cpp
eb27de9df206f42dcd5a5dffecafce6dd4cab33e
[ "MIT" ]
null
null
null
test/test_data_loggers.cpp
JeroenDM/acrolib_cpp
eb27de9df206f42dcd5a5dffecafce6dd4cab33e
[ "MIT" ]
null
null
null
test/test_data_loggers.cpp
JeroenDM/acrolib_cpp
eb27de9df206f42dcd5a5dffecafce6dd4cab33e
[ "MIT" ]
null
null
null
#include <acrolib/data_loggers.h> #include <acrolib/extern/npy.h> #include <cassert> #include <iostream> #include <fstream> #include <Eigen/Dense> const std::string TEST_FILE = R"(one,two,three 1,2,3 4,5,6 hello,3,0 )"; using namespace acro; using namespace std; bool testFileLogger() { Logger log("test.csv"); ...
17.368932
82
0.637228
[ "shape", "vector" ]
216d0e1c7fd75bd26665369ae1bf236ac5b236cd
17,941
cpp
C++
implementations/ugene/src/corelibs/U2Gui/src/util/project/DocumentFolders.cpp
r-barnes/sw_comparison
1ac2c9cc10a32badd6b8fb1e96516c97f7800176
[ "BSD-Source-Code" ]
null
null
null
implementations/ugene/src/corelibs/U2Gui/src/util/project/DocumentFolders.cpp
r-barnes/sw_comparison
1ac2c9cc10a32badd6b8fb1e96516c97f7800176
[ "BSD-Source-Code" ]
null
null
null
implementations/ugene/src/corelibs/U2Gui/src/util/project/DocumentFolders.cpp
r-barnes/sw_comparison
1ac2c9cc10a32badd6b8fb1e96516c97f7800176
[ "BSD-Source-Code" ]
null
null
null
/** * UGENE - Integrated Bioinformatics Tools. * Copyright (C) 2008-2020 UniPro <ugene@unipro.ru> * http://ugene.net * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * ...
35.316929
132
0.68062
[ "object", "model" ]
2172cc2ca7f31ef97b9ea328230c40419148d7fa
1,684
cpp
C++
perfect-squares.cpp
cfriedt/leetcode
ad15031b407b895f12704897eb81042d7d56d07d
[ "MIT" ]
1
2021-01-20T16:04:54.000Z
2021-01-20T16:04:54.000Z
perfect-squares.cpp
cfriedt/leetcode
ad15031b407b895f12704897eb81042d7d56d07d
[ "MIT" ]
293
2018-11-29T14:54:29.000Z
2021-01-29T16:07:26.000Z
perfect-squares.cpp
cfriedt/leetcode
ad15031b407b895f12704897eb81042d7d56d07d
[ "MIT" ]
1
2020-11-10T10:49:12.000Z
2020-11-10T10:49:12.000Z
/* * Copyright (c) 2021, Christopher Friedt * * SPDX-License-Identifier: MIT */ // clang-format off // name: perfect-squares // url: https://leetcode.com/problems/perfect-squares // difficulty: 2 // clang-format on #include <climits> #include <vector> using namespace std; class Solution { public: int numSqu...
27.16129
75
0.41924
[ "vector" ]
2174e997a9eb5b74e3621f8ff0a1d47934168502
23,280
cpp
C++
cocos2d/cocos/cornell/CUPolynomial.cpp
Mshnik/Pineapple
378917353d22d8497769ed8e45d9a73b40d2717e
[ "MIT" ]
null
null
null
cocos2d/cocos/cornell/CUPolynomial.cpp
Mshnik/Pineapple
378917353d22d8497769ed8e45d9a73b40d2717e
[ "MIT" ]
null
null
null
cocos2d/cocos/cornell/CUPolynomial.cpp
Mshnik/Pineapple
378917353d22d8497769ed8e45d9a73b40d2717e
[ "MIT" ]
1
2019-12-25T02:32:13.000Z
2019-12-25T02:32:13.000Z
// // CUPolynomial.h // Cornell Extensions to Cocos2D // // This module provides a class that represents a polynomial. It has basic methods // for evaluation and root finding. The primary purpose of this class is to support // CubicBezier and other splines. However, we provide it publicly in case it is // useful...
27.582938
98
0.589003
[ "vector", "transform" ]
2175f527f0f72a4c7447ebc4476fbffab5b762c7
2,121
cpp
C++
The Legend of Valiant Emigration.cpp
linlinyeyu/C-C-Arithmetic
d6f65a1d2a7d5393539b6b074af1d28346a4041a
[ "MIT" ]
null
null
null
The Legend of Valiant Emigration.cpp
linlinyeyu/C-C-Arithmetic
d6f65a1d2a7d5393539b6b074af1d28346a4041a
[ "MIT" ]
null
null
null
The Legend of Valiant Emigration.cpp
linlinyeyu/C-C-Arithmetic
d6f65a1d2a7d5393539b6b074af1d28346a4041a
[ "MIT" ]
null
null
null
#include <iostream> #include <cstdio> #include <cstring> #include <string> #include <cmath> #include <algorithm> #include <vector> #include <queue> using namespace std; #define rep(i, n) for (int i = 0; i < (n); ++i) #define repf(i, a, b) for (int i = (a); i <= (b); ++i) #define repd(i, a, b) for (int i = (a); i >= (b...
20.2
77
0.422442
[ "vector" ]
2176f9a2de54ad03e285e8cf30b799d112042003
4,151
cpp
C++
src/Core/scene.cpp
lou000/Primor_Engine
a73d80b44d21667a293d77fee7be761b6b3e5832
[ "MIT" ]
null
null
null
src/Core/scene.cpp
lou000/Primor_Engine
a73d80b44d21667a293d77fee7be761b6b3e5832
[ "MIT" ]
null
null
null
src/Core/scene.cpp
lou000/Primor_Engine
a73d80b44d21667a293d77fee7be761b6b3e5832
[ "MIT" ]
null
null
null
#include "scene.h" #include "components.h" #include "../Core/application.h" #include "../Core/yamlserialization.h" #include "../Core/gui.h" #include "entity.h" #include <memory> #include <random> //TODO: serialize only when prompted on exit and make a button Scene::Scene(std::string name, bool deserialize) : m_na...
32.429688
116
0.688268
[ "model", "transform" ]
217a48aac975e225b217be47f95b61bfbac4ed2f
41,348
cpp
C++
runtime/generator-builtins.cpp
creativemindplus/skybison
d1740e08d8de85a0a56b650675717da67de171a0
[ "CNRI-Python-GPL-Compatible" ]
278
2021-08-31T00:46:51.000Z
2022-02-13T19:43:28.000Z
runtime/generator-builtins.cpp
creativemindplus/skybison
d1740e08d8de85a0a56b650675717da67de171a0
[ "CNRI-Python-GPL-Compatible" ]
9
2021-11-05T22:28:43.000Z
2021-11-23T08:39:04.000Z
runtime/generator-builtins.cpp
tekknolagi/skybison
bea8fc2af0a70e7203b4c19f36c14a745512a335
[ "CNRI-Python-GPL-Compatible" ]
12
2021-08-31T07:49:54.000Z
2021-10-08T01:09:01.000Z
// Copyright (c) Facebook, Inc. and its affiliates. (http://www.facebook.com) #include "generator-builtins.h" #include <string> #include "builtins.h" #include "exception-builtins.h" #include "frame.h" #include "modules.h" #include "objects.h" #include "type-builtins.h" namespace py { RawGeneratorBase generatorFromS...
40.497551
80
0.672608
[ "object" ]
21825c3dc6e07da65775eb21cf7e1ceb1f4da4be
10,717
hpp
C++
main/lib/UHD/include/uhd/utils/math.hpp
cityscapesc/specobs
ae2d978dc3cb5788f0f31adc72f20bc6f6b824b4
[ "Apache-2.0" ]
null
null
null
main/lib/UHD/include/uhd/utils/math.hpp
cityscapesc/specobs
ae2d978dc3cb5788f0f31adc72f20bc6f6b824b4
[ "Apache-2.0" ]
null
null
null
main/lib/UHD/include/uhd/utils/math.hpp
cityscapesc/specobs
ae2d978dc3cb5788f0f31adc72f20bc6f6b824b4
[ "Apache-2.0" ]
null
null
null
// // Copyright 2014 Ettus Research LLC // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // This program is dis...
43.388664
100
0.705888
[ "object" ]
218f6f6c3f9b027604814f3042e454d1ccaf317d
496
cpp
C++
src/game/entity/piece.cpp
asunan9sha/chess
8851b2d8b7f05e2e96eea67d8dc05cf31f8bd283
[ "MIT" ]
null
null
null
src/game/entity/piece.cpp
asunan9sha/chess
8851b2d8b7f05e2e96eea67d8dc05cf31f8bd283
[ "MIT" ]
null
null
null
src/game/entity/piece.cpp
asunan9sha/chess
8851b2d8b7f05e2e96eea67d8dc05cf31f8bd283
[ "MIT" ]
null
null
null
#include <resources/resourceholder.hpp> #include "piece.hpp" #include "renderers/masterrenderer.hpp" #include "board.hpp" Piece::Piece(PieceType type, const sf::IntRect &rect) : pieceType_(type), isMoved_(false), isOnTop_(false) { setSize({Board::CELL_SIZE, Board::CELL_SIZE}); setTexture(&ResourceHolder::getT...
24.8
58
0.727823
[ "render" ]
219cf3f465a4862978f997aa29e4cf0f3a92f058
36,912
cpp
C++
src/Parser.cpp
TechnikEmpire/GumboQuery
ba8621f34d5244b600297ac9792a6e8caca76054
[ "MIT" ]
28
2015-12-19T05:41:15.000Z
2021-11-02T13:21:07.000Z
src/Parser.cpp
TechnikEmpire/GumboQuery
ba8621f34d5244b600297ac9792a6e8caca76054
[ "MIT" ]
16
2015-12-08T08:43:41.000Z
2018-08-30T20:57:29.000Z
src/Parser.cpp
TechnikEmpire/GumboQuery
ba8621f34d5244b600297ac9792a6e8caca76054
[ "MIT" ]
14
2016-05-30T12:32:13.000Z
2021-07-06T09:32:06.000Z
/* * This is a heavily modified fork of gumbo-query by Hoping White aka LazyTiger. * The original software can be found at: https://github.com/lazytiger/gumbo-query * * gumbo-query is based on cascadia, written by Andy Balholm. * * Copyright (c) 2011 Andy Balholm. All rights reserved. * Copyright (c) 2015 Hoping White ...
28.415704
211
0.666721
[ "object" ]
426e7e5662c65fb6e696912db6046dc8dd4970ad
2,445
hh
C++
MC simulation/dosecalc/montecarlo/include/NestedParam.hh
qihuilyu/P2T
6b8a24a632354d70c8ba44df717291573a5e0bd2
[ "MIT" ]
null
null
null
MC simulation/dosecalc/montecarlo/include/NestedParam.hh
qihuilyu/P2T
6b8a24a632354d70c8ba44df717291573a5e0bd2
[ "MIT" ]
null
null
null
MC simulation/dosecalc/montecarlo/include/NestedParam.hh
qihuilyu/P2T
6b8a24a632354d70c8ba44df717291573a5e0bd2
[ "MIT" ]
null
null
null
#ifndef NestedParamETERISATION_HH #define NestedParamETERISATION_HH #include <vector> #include "G4Types.hh" #include "G4ThreeVector.hh" #include "G4VNestedParameterisation.hh" class G4VPhysicalVolume; class G4VTouchable; class G4VSolid; class G4Material; // CSG Entities which may be parameterised/replicated // clas...
30.5625
106
0.76319
[ "vector", "solid" ]
426edb7d4a9962f1d0c900da0c037ebb5d4be15e
1,005
hpp
C++
libs/renderer/include/sge/renderer/state/core/rasterizer/scoped.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
2
2016-01-27T13:18:14.000Z
2018-05-11T01:11:32.000Z
libs/renderer/include/sge/renderer/state/core/rasterizer/scoped.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
null
null
null
libs/renderer/include/sge/renderer/state/core/rasterizer/scoped.hpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
3
2018-05-11T01:11:34.000Z
2021-04-24T19:47:45.000Z
// Copyright Carl Philipp Reh 2006 - 2019. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #ifndef SGE_RENDERER_STATE_CORE_RASTERIZER_SCOPED_HPP_INCLUDED #define SGE_RENDERER_STATE_CORE_RAST...
25.769231
78
0.761194
[ "object" ]
42845ea016fab9f763c79e23daeb31d80295868e
74,678
cpp
C++
indra/newview/llviewerparcelmgr.cpp
humbletim/archived-casviewer
3b51b1baae7e7cebf1c7dca62d9c02751709ee57
[ "Unlicense" ]
null
null
null
indra/newview/llviewerparcelmgr.cpp
humbletim/archived-casviewer
3b51b1baae7e7cebf1c7dca62d9c02751709ee57
[ "Unlicense" ]
null
null
null
indra/newview/llviewerparcelmgr.cpp
humbletim/archived-casviewer
3b51b1baae7e7cebf1c7dca62d9c02751709ee57
[ "Unlicense" ]
null
null
null
/** * @file llviewerparcelmgr.cpp * @brief Viewer-side representation of owned land * * $LicenseInfo:firstyear=2002&license=viewerlgpl$ * Second Life Viewer Source Code * Copyright (C) 2010, Linden Research, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of...
28.689205
129
0.734259
[ "render", "vector" ]
428481ca6c6c9be21d2f2cffe0616d52ca1e8634
158,133
cpp
C++
Unity-Project/App-HL2/Il2CppOutputProject/Source/il2cppOutput/Il2CppCCWs48.cpp
JBrentJ/mslearn-mixed-reality-and-azure-digital-twins-in-unity
6e13b31a0b053443b9c93267d8f174f1554e79dd
[ "CC-BY-4.0", "MIT" ]
1
2021-06-01T19:33:53.000Z
2021-06-01T19:33:53.000Z
Unity-Project/App-HL2/Il2CppOutputProject/Source/il2cppOutput/Il2CppCCWs48.cpp
JBrentJ/mslearn-mixed-reality-and-azure-digital-twins-in-unity
6e13b31a0b053443b9c93267d8f174f1554e79dd
[ "CC-BY-4.0", "MIT" ]
null
null
null
Unity-Project/App-HL2/Il2CppOutputProject/Source/il2cppOutput/Il2CppCCWs48.cpp
JBrentJ/mslearn-mixed-reality-and-azure-digital-twins-in-unity
6e13b31a0b053443b9c93267d8f174f1554e79dd
[ "CC-BY-4.0", "MIT" ]
null
null
null
#include "pch-cpp.hpp" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <stdint.h> #include <limits> #include "vm/CachedCCWBase.h" #include "utils/New.h" // #=zfArgcJqS9Sn8SFlc3ZWqjwKZaNmQR0rmZw==<#=zqh_9BE4aMpGdzYJeTWBItokgD1qnd0lgL586278=<#=z9eRSSKDQXk2Gvsu1QsTRg3HPbnblAtjYJikb1...
45.518998
438
0.820506
[ "object" ]
4287ad566305e28c505686afdcef8ea946865f89
1,936
cpp
C++
ARK2D/src/ARK2D/Util/Callbacks.cpp
ashleygwinnell/ark2d
bbfbee742ace9c52841dad4fab74d0d120ffe662
[ "Unlicense" ]
6
2015-08-25T19:16:20.000Z
2021-04-19T16:47:58.000Z
ARK2D/src/ARK2D/Util/Callbacks.cpp
ashleygwinnell/ark2d
bbfbee742ace9c52841dad4fab74d0d120ffe662
[ "Unlicense" ]
1
2015-09-17T14:03:12.000Z
2015-09-17T14:03:12.000Z
ARK2D/src/ARK2D/Util/Callbacks.cpp
ashleygwinnell/ark2d
bbfbee742ace9c52841dad4fab74d0d120ffe662
[ "Unlicense" ]
1
2018-10-02T19:59:47.000Z
2018-10-02T19:59:47.000Z
/* * Callbacks.cpp * * Created on: 13 Feb 2013 * Author: Ashley */ #include "Callbacks.h" #include "../ARK2D.h" #include "Log.h" namespace ARK { namespace Util { string Callback::ARGS_NONE = ""; Callback::Callback(): m_id(0), m_functionPointer(NULL), m_functionArgs("") { } void Cal...
20.817204
83
0.584711
[ "vector" ]
4291936ea985bc412fc253f4ee19f020b91f0012
31,647
hpp
C++
framework/areg/component/ComponentLoader.hpp
Ali-Nasrolahi/areg-sdk
4fbc2f2644220196004a31672a697a864755f0b6
[ "Apache-2.0" ]
70
2021-07-20T11:26:16.000Z
2022-03-27T11:17:43.000Z
framework/areg/component/ComponentLoader.hpp
Ali-Nasrolahi/areg-sdk
4fbc2f2644220196004a31672a697a864755f0b6
[ "Apache-2.0" ]
32
2021-07-31T05:20:44.000Z
2022-03-20T10:11:52.000Z
framework/areg/component/ComponentLoader.hpp
Ali-Nasrolahi/areg-sdk
4fbc2f2644220196004a31672a697a864755f0b6
[ "Apache-2.0" ]
40
2021-11-02T09:45:38.000Z
2022-03-27T11:17:46.000Z
#pragma once /************************************************************************ * This file is part of the AREG SDK core engine. * AREG SDK is dual-licensed under Free open source (Apache version 2.0 * License) and Commercial (with various pricing models) licenses, depending * on the nature of the project (c...
50.6352
126
0.549152
[ "object", "model" ]
4292b4e065b4bded03ddfa136f7e96dc3e04b34c
1,353
cpp
C++
Concept/Prev/07_Graph_Traversal/Sample_Code/C++/1260.cpp
ycs1m1yk/Algorithm_Study
38ad6d6c88f02fbdba7ef5f3a3d234184d5951e5
[ "MIT" ]
null
null
null
Concept/Prev/07_Graph_Traversal/Sample_Code/C++/1260.cpp
ycs1m1yk/Algorithm_Study
38ad6d6c88f02fbdba7ef5f3a3d234184d5951e5
[ "MIT" ]
null
null
null
Concept/Prev/07_Graph_Traversal/Sample_Code/C++/1260.cpp
ycs1m1yk/Algorithm_Study
38ad6d6c88f02fbdba7ef5f3a3d234184d5951e5
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <queue> #include <algorithm> using namespace std; #define fastio ios::sync_with_stdio(0), cin.tie(0) const int MAX_VERTEX_SIZE = 1001; vector<vector<int> > adj(MAX_VERTEX_SIZE); vector<bool> visited; queue<int> q; int N, M, V; void dfs(int here) { visited[here] = tru...
19.897059
50
0.485588
[ "vector" ]
4299dbee3c6cdc8bf4891b4c060e4f55cdd0477a
894
hpp
C++
include/os/unique_lock.hpp
Malcolmnixon/xplatform
a3fa5fa30abc4152af0edf30e1076ab5176d6e33
[ "MIT" ]
null
null
null
include/os/unique_lock.hpp
Malcolmnixon/xplatform
a3fa5fa30abc4152af0edf30e1076ab5176d6e33
[ "MIT" ]
3
2020-07-27T13:12:55.000Z
2020-07-31T03:20:23.000Z
include/os/unique_lock.hpp
Malcolmnixon/xplatform
a3fa5fa30abc4152af0edf30e1076ab5176d6e33
[ "MIT" ]
null
null
null
#pragma once namespace xpf { /// @brief Unique lock class /// @tparam T Type of mutex-like object to lock template <typename T> class unique_lock { /// @brief Mutex-like object reference T& mutex_; public: /// @brief Constructs the unique l...
26.294118
73
0.530201
[ "object" ]
429c3cf1c2509fb1d868a97fa93fbcc8578dadd0
12,899
hpp
C++
include/nil/crypto3/zk/math/linear_combination.hpp
NilFoundation/zk
60c63ba8e719620e9fe68d68621c84afded2a809
[ "MIT" ]
null
null
null
include/nil/crypto3/zk/math/linear_combination.hpp
NilFoundation/zk
60c63ba8e719620e9fe68d68621c84afded2a809
[ "MIT" ]
null
null
null
include/nil/crypto3/zk/math/linear_combination.hpp
NilFoundation/zk
60c63ba8e719620e9fe68d68621c84afded2a809
[ "MIT" ]
null
null
null
//---------------------------------------------------------------------------// // Copyright (c) 2020-2021 Mikhail Komarov <nemo@nil.foundation> // Copyright (c) 2020-2021 Nikita Kaskov <nbering@nil.foundation> // // MIT License // // Permission is hereby granted, free of charge, to any person obtaining a copy // of th...
44.023891
111
0.487247
[ "vector" ]
42acec8cb7dc6e21e98e9a24681342ab085fa88f
13,363
cpp
C++
3rdparty/meshlab-master/src/plugins_experimental/edit_scan/edit_scan.cpp
HoEmpire/slambook2
96d360f32aa5d8b5c5dcbbf9ee7ba865e84409f4
[ "MIT" ]
4
2016-03-30T14:31:52.000Z
2019-02-02T05:01:32.000Z
graphics/meshlab/src/plugins_experimental/edit_scan/edit_scan.cpp
hlzz/dotfiles
0591f71230c919c827ba569099eb3b75897e163e
[ "BSD-3-Clause" ]
null
null
null
graphics/meshlab/src/plugins_experimental/edit_scan/edit_scan.cpp
hlzz/dotfiles
0591f71230c919c827ba569099eb3b75897e163e
[ "BSD-3-Clause" ]
null
null
null
#include "edit_scan.h" #include "wrap/gui/trackball.h" #include "wrap/qt/trackball.h" //QT2VCG trackball function #include "wrap/qt/to_string.h" //QT2VCG trackball function #include <wrap/gl/pick.h> #define EDITSCANHACK #ifdef EDITSCANHACK #include <stdio.h> class Sample{ public: Point3f p...
36.3125
115
0.570605
[ "mesh", "geometry", "render", "object", "vector", "model" ]
42ba01fec53dd20f1eebc7e23c3e2b329c713175
7,823
cpp
C++
dev/plugins/glFuncs/glDrawQuads.cpp
gnilk/yapt
1f1d7bad26fb477b545927774f323c367c0e1dad
[ "BSD-3-Clause" ]
null
null
null
dev/plugins/glFuncs/glDrawQuads.cpp
gnilk/yapt
1f1d7bad26fb477b545927774f323c367c0e1dad
[ "BSD-3-Clause" ]
null
null
null
dev/plugins/glFuncs/glDrawQuads.cpp
gnilk/yapt
1f1d7bad26fb477b545927774f323c367c0e1dad
[ "BSD-3-Clause" ]
null
null
null
#include "glShaderBase.h" #include "glDrawQuads.h" #include "yapt/ySystem.h" #include "yapt/logger.h" #include "vec.h" #include <math.h> #ifdef WIN32 #define WIN32_LEAN_AND_MEAN #include <Windows.h> #include <gl/GL.h> #include <gl/GLU.h> #else #include <OpenGl/glu.h> #endif using namespace yapt; #ifndef M_PI #de...
30.439689
112
0.692701
[ "render", "object", "vector" ]
42bc928c613a28c4fedb4ac219c8de43d2c5e918
15,861
cpp
C++
main/winaccessibility/source/UAccCOM/AccEditableText.cpp
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/winaccessibility/source/UAccCOM/AccEditableText.cpp
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/winaccessibility/source/UAccCOM/AccEditableText.cpp
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...
31.1611
115
0.537104
[ "object", "vector" ]
42bdcd7a5cfdc84a5c4274b6bdd410e3026944ee
80,081
cpp
C++
plugins/YukonOptimizerPlugin/src/base/solver/MinQP.cpp
saichikine/GMAT
80bde040e12946a61dae90d9fc3538f16df34190
[ "Apache-2.0" ]
null
null
null
plugins/YukonOptimizerPlugin/src/base/solver/MinQP.cpp
saichikine/GMAT
80bde040e12946a61dae90d9fc3538f16df34190
[ "Apache-2.0" ]
null
null
null
plugins/YukonOptimizerPlugin/src/base/solver/MinQP.cpp
saichikine/GMAT
80bde040e12946a61dae90d9fc3538f16df34190
[ "Apache-2.0" ]
1
2021-12-05T05:40:15.000Z
2021-12-05T05:40:15.000Z
//$Id$ //------------------------------------------------------------------------------ // MinQP //------------------------------------------------------------------------------ // GMAT: General Mission Analysis Tool // // MinQP finds a solution to the quadratic programming problem // d...
35.449757
106
0.514591
[ "vector" ]
42c69b074b450c5a066974b06188f25419240255
13,656
cxx
C++
src-plugins/tests/medSqlTests/medDatabaseImporterTest.cxx
ocommowi/medInria-public
9074e40c886881666e7a52c53309d8d28e35c0e6
[ "BSD-4-Clause" ]
null
null
null
src-plugins/tests/medSqlTests/medDatabaseImporterTest.cxx
ocommowi/medInria-public
9074e40c886881666e7a52c53309d8d28e35c0e6
[ "BSD-4-Clause" ]
null
null
null
src-plugins/tests/medSqlTests/medDatabaseImporterTest.cxx
ocommowi/medInria-public
9074e40c886881666e7a52c53309d8d28e35c0e6
[ "BSD-4-Clause" ]
null
null
null
/*========================================================================= medInria Copyright (c) INRIA 2013. All rights reserved. See LICENSE.txt for details. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ====...
36.126984
179
0.676699
[ "3d" ]
42cedbd4ae92b274afe1f8714be07e8bda74ebbf
4,253
cpp
C++
ros2_mod_ws/build/visualization_msgs/rosidl_typesupport_introspection_cpp/visualization_msgs/msg/marker_array__type_support.cpp
mintforpeople/robobo-ros2-ios-port
1a5650304bd41060925ebba41d6c861d5062bfae
[ "Apache-2.0" ]
1
2020-05-19T14:33:49.000Z
2020-05-19T14:33:49.000Z
ros2_mod_ws/build/visualization_msgs/rosidl_typesupport_introspection_cpp/visualization_msgs/msg/marker_array__type_support.cpp
mintforpeople/robobo-ros2-ios-port
1a5650304bd41060925ebba41d6c861d5062bfae
[ "Apache-2.0" ]
null
null
null
ros2_mod_ws/build/visualization_msgs/rosidl_typesupport_introspection_cpp/visualization_msgs/msg/marker_array__type_support.cpp
mintforpeople/robobo-ros2-ios-port
1a5650304bd41060925ebba41d6c861d5062bfae
[ "Apache-2.0" ]
null
null
null
// generated from rosidl_typesupport_introspection_cpp/resource/msg__type_support.cpp.em // generated code does not contain a copyright notice // providing offsetof() #include <cstddef> #include <vector> #include "rosidl_generator_c/message_type_support_struct.h" #include "rosidl_typesupport_cpp/message_type_support....
34.860656
138
0.80649
[ "vector" ]
42d521a8871d1220ebe43ff989e353123f7ca725
1,477
hpp
C++
src/headers/heightmap.hpp
crr0004/terrian_prototype
34b04239ee2fb01e48f1602ff6dd08e8bd26da63
[ "MIT" ]
2
2015-11-05T20:08:00.000Z
2016-07-07T04:17:07.000Z
src/headers/heightmap.hpp
crr0004/terrian_prototype
34b04239ee2fb01e48f1602ff6dd08e8bd26da63
[ "MIT" ]
3
2016-10-29T02:20:49.000Z
2017-04-01T11:09:53.000Z
src/headers/heightmap.hpp
crr0004/terrian_prototype
34b04239ee2fb01e48f1602ff6dd08e8bd26da63
[ "MIT" ]
null
null
null
#ifndef HEIGHTMAP_H #define HEIGHTMAP_H #include <glm/glm.hpp> #include "logiccontext.hpp" #include "polygon.hpp" struct HeightmapSettings{ int width; //how large is the map int depth; int widthDensity; //how many triangles are there //int depthDensity; //not using this at the moment. Assuming a square glm::...
27.867925
71
0.729181
[ "geometry" ]
42d63e2bceb6d20fcd9983eac350db1547e5843d
6,236
cpp
C++
RaiderEngine/mapLoader.cpp
rystills/RaiderEngine
5a5bce4b3eca2f2f8c166e3a6296b07309af0d8a
[ "MIT" ]
4
2019-07-20T08:41:04.000Z
2022-03-04T01:53:38.000Z
RaiderEngine/mapLoader.cpp
rystills/RaiderEngine
5a5bce4b3eca2f2f8c166e3a6296b07309af0d8a
[ "MIT" ]
null
null
null
RaiderEngine/mapLoader.cpp
rystills/RaiderEngine
5a5bce4b3eca2f2f8c166e3a6296b07309af0d8a
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "assimpFlags.hpp" #include "ObjectRegistryBase.hpp" #include "settings.hpp" #include "mapLoader.hpp" #include "terminalColors.hpp" std::string stripNodeName(std::string fullName) { std::size_t nameExtraStart = fullName.find("_$Assimp"); std::size_t underscorePos = fullName.find("_"); //...
45.518248
157
0.701892
[ "mesh", "object", "vector", "model", "transform", "solid" ]
42d7c16b4d92842f7d6f4c9d82f4e3f8e27ca445
1,411
hpp
C++
src/server/hooks/HookObjectRead.hpp
svalat/iocatcher
4845e20d938c816f6ca5ee8d3308aa9a0e0abaff
[ "Apache-2.0" ]
2
2022-01-28T16:03:14.000Z
2022-02-18T07:35:22.000Z
src/server/hooks/HookObjectRead.hpp
svalat/iocatcher
4845e20d938c816f6ca5ee8d3308aa9a0e0abaff
[ "Apache-2.0" ]
2
2022-02-10T10:22:02.000Z
2022-02-11T18:00:47.000Z
src/server/hooks/HookObjectRead.hpp
svalat/iocatcher
4845e20d938c816f6ca5ee8d3308aa9a0e0abaff
[ "Apache-2.0" ]
1
2022-01-31T21:09:15.000Z
2022-01-31T21:09:15.000Z
/***************************************************** * PROJECT : IO Catcher * * LICENSE : Apache 2.0 * * COPYRIGHT: 2020-2022 Bull SAS All rights reserved * *****************************************************/ #ifndef IOC_HOOK_OBJECT_READ_HPP #define IOC...
35.275
154
0.595322
[ "object" ]
42d96eecde88f17515293bcca60a75ca9b4b0603
1,522
hpp
C++
src/SpinModel.hpp
Sourin-chatterjee/SpinParser
23fa90c327b8a4543e5afac1b64d18df40975182
[ "MIT" ]
18
2021-06-03T16:03:02.000Z
2022-02-28T00:48:53.000Z
src/SpinModel.hpp
Sourin-chatterjee/SpinParser
23fa90c327b8a4543e5afac1b64d18df40975182
[ "MIT" ]
3
2021-10-08T15:51:51.000Z
2022-03-31T22:20:01.000Z
src/SpinModel.hpp
Sourin-chatterjee/SpinParser
23fa90c327b8a4543e5afac1b64d18df40975182
[ "MIT" ]
2
2022-02-10T17:15:05.000Z
2022-02-11T19:54:27.000Z
/** * @file SpinModel.hpp * @author Finn Lasse Buessen * @brief Representation of a spin model with two-spin interactions. * * @copyright Copyright (c) 2020 */ #pragma once #include <tuple> #include "Lattice.hpp" /** * @brief Spin model representation. * @details A spin model represents the set of two-spin...
38.05
257
0.729961
[ "object", "vector", "model" ]
42e3942eb3506bb6e62397f8a62d034349a05777
11,286
cpp
C++
core/jni/android_os_HwBinder.cpp
rio-31/android_frameworks_base-1
091a068a3288d27d77636708679dde58b7b7fd25
[ "Apache-2.0" ]
164
2015-01-05T16:49:11.000Z
2022-03-29T20:40:27.000Z
core/jni/android_os_HwBinder.cpp
rio-31/android_frameworks_base-1
091a068a3288d27d77636708679dde58b7b7fd25
[ "Apache-2.0" ]
127
2015-01-12T12:02:32.000Z
2021-11-28T08:46:25.000Z
core/jni/android_os_HwBinder.cpp
rio-31/android_frameworks_base-1
091a068a3288d27d77636708679dde58b7b7fd25
[ "Apache-2.0" ]
1,141
2015-01-01T22:54:40.000Z
2022-02-09T22:08:26.000Z
/* * Copyright (C) 2016 The Android 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
29.162791
106
0.646465
[ "object" ]
42ededa818f7029e178adbd1d24a09274d59d9b8
18,373
hpp
C++
src/libshell/MergePerFaceQuantities.hpp
mvlab/growth_SM2018
3ad411c4f7082e7bffc2ed3ea9bc96b9a51da73a
[ "BSD-3-Clause" ]
8
2019-09-05T16:05:59.000Z
2021-12-01T10:30:15.000Z
src/libshell/MergePerFaceQuantities.hpp
mvlab/growth_SM2018
3ad411c4f7082e7bffc2ed3ea9bc96b9a51da73a
[ "BSD-3-Clause" ]
1
2021-01-08T17:13:39.000Z
2021-01-15T17:11:53.000Z
src/libshell/MergePerFaceQuantities.hpp
mvlab/growth_SM2018
3ad411c4f7082e7bffc2ed3ea9bc96b9a51da73a
[ "BSD-3-Clause" ]
4
2020-04-13T13:01:04.000Z
2021-01-09T17:03:02.000Z
// // MergePerFaceQuantities.hpp // Elasticity // // Created by Wim van Rees on 26/03/16. // Copyright © 2016 Wim van Rees. All rights reserved. // #ifndef MergePerFaceQuantities_hpp #define MergePerFaceQuantities_hpp #include "common.hpp" #include "TopologyData.hpp" #include "BoundaryConditionsData.hpp" #include...
52.196023
522
0.608229
[ "vector" ]
0cd47a7879093e784106f4320b0f0588e768776a
1,545
cc
C++
test/test_assembly.cc
vslashg/nsasm
aaf20351f8c8121cb8b659c5e15d3fb8b6c4886f
[ "MIT" ]
8
2018-12-22T20:47:51.000Z
2019-07-28T19:26:40.000Z
test/test_assembly.cc
vslashg/nsasm
aaf20351f8c8121cb8b659c5e15d3fb8b6c4886f
[ "MIT" ]
1
2019-06-20T22:14:50.000Z
2019-06-24T19:33:39.000Z
test/test_assembly.cc
vslashg/nsasm
aaf20351f8c8121cb8b659c5e15d3fb8b6c4886f
[ "MIT" ]
4
2019-02-16T09:13:13.000Z
2021-03-19T20:44:17.000Z
#include "test/test_assembly.h" #include "absl/strings/match.h" #include "absl/strings/str_cat.h" #include "gtest/gtest.h" #include "nsasm/assembler.h" #include "nsasm/file.h" #include "test/test_sink.h" namespace nsasm { void ExpectAssembly(const std::vector<absl::string_view>& asm_contents, std...
28.611111
78
0.634304
[ "vector" ]
0cd7a3a4a16b7dc129cce7e9b70ba59e935993f9
1,079
hpp
C++
store.events/src/eventstream.hpp
once-ler/Store-cpp
27d65057b2984c61a4b8be9d96d8fa6d70de1fb7
[ "BSD-3-Clause" ]
3
2019-08-18T19:14:02.000Z
2019-09-20T05:38:58.000Z
store.events/src/eventstream.hpp
once-ler/Store-cpp
27d65057b2984c61a4b8be9d96d8fa6d70de1fb7
[ "BSD-3-Clause" ]
null
null
null
store.events/src/eventstream.hpp
once-ler/Store-cpp
27d65057b2984c61a4b8be9d96d8fa6d70de1fb7
[ "BSD-3-Clause" ]
1
2019-09-20T05:39:01.000Z
2019-09-20T05:39:01.000Z
#pragma once #include "json.hpp" #include "store.models/src/primitive.hpp" using namespace std; namespace Primitive = store::primitive; using json = nlohmann::json; namespace store::events { struct IEventStream { Primitive::uuid id; string type; int64_t version; int64_t timestamp;...
22.479167
57
0.578313
[ "model" ]
0cdd799878b418f67c3267e0f61d8fcb0148d0cf
5,235
cpp
C++
src/citiesofsigmar/DarkRiders.cpp
rweyrauch/AoSSimulator
d2bfbbe0fab904cc543f1a01e62e0b82cf67c27b
[ "MIT" ]
5
2019-02-01T01:41:19.000Z
2021-06-17T02:16:13.000Z
src/citiesofsigmar/DarkRiders.cpp
rweyrauch/AoSSimulator
d2bfbbe0fab904cc543f1a01e62e0b82cf67c27b
[ "MIT" ]
2
2020-01-14T16:57:42.000Z
2021-04-01T00:53:18.000Z
src/citiesofsigmar/DarkRiders.cpp
rweyrauch/AoSSimulator
d2bfbbe0fab904cc543f1a01e62e0b82cf67c27b
[ "MIT" ]
1
2019-03-02T20:03:51.000Z
2019-03-02T20:03:51.000Z
/* * Warhammer Age of Sigmar battle simulator. * * Copyright (C) 2019 by Rick Weyrauch - rpweyrauch@gmail.com * * This code is licensed under the MIT license (MIT) (http://opensource.org/licenses/MIT) */ #include <UnitFactory.h> #include "citiesofsigmar/DarkRiders.h" #include "CitiesOfSigmarPrivate.h" namespace...
37.934783
142
0.607641
[ "model" ]
0ce268b6450e35241e196feb33fdf7d8f6815202
1,321
hpp
C++
include/codegen/include/UnityEngine/Timeline/AnimationPlayableAsset_AnimationPlayableAssetUpgrade.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
1
2021-11-12T09:29:31.000Z
2021-11-12T09:29:31.000Z
include/codegen/include/UnityEngine/Timeline/AnimationPlayableAsset_AnimationPlayableAssetUpgrade.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
null
null
null
include/codegen/include/UnityEngine/Timeline/AnimationPlayableAsset_AnimationPlayableAssetUpgrade.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
2
2021-10-03T02:14:20.000Z
2021-11-12T09:29:36.000Z
// Autogenerated from CppHeaderCreator on 7/27/2020 3:10:24 PM // Created by Sc2ad // ========================================================================= #pragma once #pragma pack(push, 8) // Begin includes #include "utils/typedefs.h" // Including type: System.Object #include "System/Object.hpp" // Including type...
47.178571
182
0.769114
[ "object" ]
0ce3c0bace446503826fbd979697482440b2eb1c
1,871
cpp
C++
400-499/471B.cpp
cst0313/Codeforces-answers
c5d82b52a082ac3babc658063af0a4461a6eef22
[ "Apache-2.0" ]
1
2022-03-04T13:28:39.000Z
2022-03-04T13:28:39.000Z
400-499/471B.cpp
cst0313/CP
8bac7d34b3b2dcd75714ef84a72b1b501d53e825
[ "Apache-2.0" ]
null
null
null
400-499/471B.cpp
cst0313/CP
8bac7d34b3b2dcd75714ef84a72b1b501d53e825
[ "Apache-2.0" ]
null
null
null
//471B #include <bits/stdc++.h> #define fi first #define se second #define mp make_pair #define pb push_back using namespace std; typedef long long ll; typedef long double ld; ll templ,templ2,templ3; int main(){ int n; cin>>n; if(n<3){//can't have 3 configurations cout<<"NO"; return 0; } if(n==3)...
27.115942
217
0.554249
[ "vector" ]
0ce54d6aabf1d08a6dad5d2fd880395172650976
1,379
hpp
C++
src/shader.hpp
Trisslotten/hajgen
2e253bc9e8458946c418269143b20be580f67fde
[ "MIT" ]
2
2019-10-18T03:35:20.000Z
2021-04-09T20:56:40.000Z
src/shader.hpp
Trisslotten/hajgen
2e253bc9e8458946c418269143b20be580f67fde
[ "MIT" ]
2
2020-04-17T19:23:29.000Z
2021-02-27T01:33:29.000Z
src/shader.hpp
Trisslotten/hajgen
2e253bc9e8458946c418269143b20be580f67fde
[ "MIT" ]
null
null
null
#pragma once #include <unordered_map> #include <GL/glew.h> #include <string> #include <glm/glm.hpp> class ShaderProgram { std::unordered_map<GLenum, std::string> paths; std::unordered_map<GLenum, GLuint> ids; GLuint id; GLuint findUniformLocation(const std::string& name); std::unordered_map<std::string, GLui...
27.039216
81
0.725163
[ "vector" ]
0ce5e1c4b80d1ac73e5168151664c2ffa7732cc2
2,149
hpp
C++
src/tycommander/client_handler.hpp
KurtE/tytools
2d95684e4dd665010c67989224425fd550ad9a64
[ "Unlicense" ]
120
2017-02-07T19:16:16.000Z
2022-03-22T19:21:42.000Z
src/tycommander/client_handler.hpp
KurtE/tytools
2d95684e4dd665010c67989224425fd550ad9a64
[ "Unlicense" ]
82
2017-02-20T16:07:20.000Z
2022-03-10T06:23:01.000Z
src/tycommander/client_handler.hpp
KurtE/tytools
2d95684e4dd665010c67989224425fd550ad9a64
[ "Unlicense" ]
16
2017-05-07T16:37:31.000Z
2021-09-17T22:58:23.000Z
/* TyTools - public domain Niels Martignène <niels.martignene@protonmail.com> https://koromix.dev/tytools This software is in the public domain. Where that dedication is not recognized, you are granted a perpetual, irrevocable license to copy, distribute, and modify this file as you see fit. See the...
27.909091
88
0.732899
[ "vector" ]
0ced0bd1627b3d5bd3bd819b32ffc3288db30159
26,424
cpp
C++
Official Windows Driver Kit Sample/Windows Driver Kit (WDK) 8.1 Samples/[C++]-windows-driver-kit-81-cpp/WDK 8.1 C++ Samples/GPIO Sample Drivers/C++/simdeviceumdf/device.cpp
zzgchina888/msdn-code-gallery-microsoft
21cb9b6bc0da3b234c5854ecac449cb3bd261f29
[ "MIT" ]
3
2016-12-10T12:54:20.000Z
2018-06-09T13:28:33.000Z
gpio/samples/simdeviceumdf/device.cpp
gilson27/Windows-driver-samples
6e1115d6af3c22b693eccc472ebb0d53a1905cd9
[ "MS-PL" ]
1
2022-03-15T04:21:41.000Z
2022-03-15T04:21:41.000Z
gpio/samples/simdeviceumdf/device.cpp
gilson27/Windows-driver-samples
6e1115d6af3c22b693eccc472ebb0d53a1905cd9
[ "MS-PL" ]
5
2017-10-21T11:01:08.000Z
2021-06-06T19:27:56.000Z
/*++ Copyright (c) 1990-2010 Microsoft Corporation Module Name: Device.cpp Abstract: This is a simple UMDF device driver that consumes GPIO pins for I/O and interrupt. Environment: UMDF --*/ // // Inlcude the below set of headers to get the CM_RESOURCE_ definitions // #include "internal.h" DEF...
23.869919
106
0.59673
[ "object", "model" ]
4906e3bd217f38a1fa8c7d08f6121d10ab5e4297
590
cpp
C++
walmart/7.cpp
19yetnoob/-6Companies30days
93f8dc6370cae7a8907d02b3ac8de610b73b8d9f
[ "MIT" ]
null
null
null
walmart/7.cpp
19yetnoob/-6Companies30days
93f8dc6370cae7a8907d02b3ac8de610b73b8d9f
[ "MIT" ]
null
null
null
walmart/7.cpp
19yetnoob/-6Companies30days
93f8dc6370cae7a8907d02b3ac8de610b73b8d9f
[ "MIT" ]
null
null
null
class Solution{ public: vector<int> find3Numbers(vector<int> arr, int N) { int small[N+1] = {0}, large[N+1] = {0}; int mn = INT_MAX, mx = INT_MIN; for(int i=0; i<N-1; i++){ mn = std::min(mn, arr[i]); small[i+1] = mn; } for(int i=N-1; i>0; i--...
29.5
55
0.386441
[ "vector" ]
490855de880867c349beb9bd7eaafa0775345e24
8,267
cpp
C++
src/test/Editor/01_DX12App_ImGui/main.cpp
Ubpa/DustEngine
4fc32d4011ce21ab5ab2a8149e398d9baa3cbdc0
[ "MIT" ]
9
2020-08-03T02:11:07.000Z
2020-09-29T09:12:45.000Z
src/test/Editor/01_DX12App_ImGui/main.cpp
Ubpa/DustEngine
4fc32d4011ce21ab5ab2a8149e398d9baa3cbdc0
[ "MIT" ]
null
null
null
src/test/Editor/01_DX12App_ImGui/main.cpp
Ubpa/DustEngine
4fc32d4011ce21ab5ab2a8149e398d9baa3cbdc0
[ "MIT" ]
1
2020-08-10T03:34:52.000Z
2020-08-10T03:34:52.000Z
#include <Utopia/Editor/DX12App/DX12App.h> #include <imgui/imgui.h> #include <imgui/imgui_impl_dx12.h> #include <imgui/imgui_impl_win32.h> using namespace Ubpa::Utopia; // Forward declare message handler from imgui_impl_win32.cpp extern IMGUI_IMPL_API LRESULT ImGui_ImplWin32_WndProcHandler(HWND hWnd, UINT msg, WPARA...
45.674033
202
0.635902
[ "render" ]
491b10238d43c4e391fe5e219c7e2d63c9764d01
2,844
cpp
C++
src/connection.cpp
rafeememon/nodbc-old2
872283a4caf298611548b713b07a696c1965d1f8
[ "MIT" ]
null
null
null
src/connection.cpp
rafeememon/nodbc-old2
872283a4caf298611548b713b07a696c1965d1f8
[ "MIT" ]
1
2018-11-08T03:19:17.000Z
2018-12-05T01:45:16.000Z
src/connection.cpp
rafeememon/nodbc-old2
872283a4caf298611548b713b07a696c1965d1f8
[ "MIT" ]
null
null
null
#include <string.h> #include <v8.h> #include <node.h> #include <node_version.h> #include <time.h> #include <uv.h> #include "connection.h" #include "connection_async.h" namespace nodbc { static v8::Persistent<v8::FunctionTemplate> nodbc_constructor; NAN_METHOD(Connection::New) { NanScope(); ...
32.318182
95
0.683193
[ "object" ]
491ccbf0220cd9f463a00f9c2e0ef1737a75c37e
3,113
hpp
C++
include/eve/function/round.hpp
leha-bot/eve
30e7a7f6bcc5cf524a6c2cc624234148eee847be
[ "MIT" ]
340
2020-09-16T21:12:48.000Z
2022-03-28T15:40:33.000Z
include/eve/function/round.hpp
leha-bot/eve
30e7a7f6bcc5cf524a6c2cc624234148eee847be
[ "MIT" ]
383
2020-09-17T06:56:35.000Z
2022-03-13T15:58:53.000Z
include/eve/function/round.hpp
leha-bot/eve
30e7a7f6bcc5cf524a6c2cc624234148eee847be
[ "MIT" ]
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 */ //================================================================================================== #pr...
31.13
118
0.430774
[ "object", "vector" ]
492c80da5b1a17b7bce685b82e0e87308cfd4416
1,481
cpp
C++
bullet2/Demos/BasicDemo/main_opengl2.cpp
sonyomega/rbdl
b41344413c6be354f7febaf00eb7b120459223c4
[ "Zlib" ]
1
2021-02-23T09:09:39.000Z
2021-02-23T09:09:39.000Z
bullet2/Demos/BasicDemo/main_opengl2.cpp
sonyomega/rbdl
b41344413c6be354f7febaf00eb7b120459223c4
[ "Zlib" ]
null
null
null
bullet2/Demos/BasicDemo/main_opengl2.cpp
sonyomega/rbdl
b41344413c6be354f7febaf00eb7b120459223c4
[ "Zlib" ]
null
null
null
#include "BasicDemo.h" #ifdef __APPLE__ #include "../examples/rendertest/Apple/MacOpenGLWindow.h" #else #include "../examples/rendertest/Windows/Win32OpenGLWindow.h" #include "../examples/rendertest/GLPrimitiveRenderer.h" #endif #include "../../DemosCommon/OpenGL2Renderer.h" int g_OpenGLWidth=1024; int g...
17.843373
62
0.669142
[ "render" ]
492ddfa84587655b2aef6e3f80a7ea22b85ab5ff
1,348
cc
C++
frc971/analysis/in_process_plotter_demo.cc
AustinSchuh/971-Robot-Code
99abc66fd2d899c0bdab338dc6f57dc5def9be8d
[ "Apache-2.0" ]
39
2021-06-18T03:22:30.000Z
2022-03-21T15:23:43.000Z
frc971/analysis/in_process_plotter_demo.cc
AustinSchuh/971-Robot-Code
99abc66fd2d899c0bdab338dc6f57dc5def9be8d
[ "Apache-2.0" ]
10
2021-06-18T03:22:19.000Z
2022-03-18T22:14:15.000Z
frc971/analysis/in_process_plotter_demo.cc
AustinSchuh/971-Robot-Code
99abc66fd2d899c0bdab338dc6f57dc5def9be8d
[ "Apache-2.0" ]
4
2021-08-19T19:20:04.000Z
2022-03-08T07:33:18.000Z
#include "frc971/analysis/in_process_plotter.h" #include "aos/init.h" // To run this example, do: // bazel run -c opt //frc971/analysis:in_process_plotter_demo // And then open localhost:8080, select "C++ Plotter" from the drop-down, and // then select "TITLE!" or "Trig Functions" from the second drop-down to see // ...
31.348837
77
0.638724
[ "vector" ]
49347bf1de8f9e70f5da053228959387f0489528
2,896
cpp
C++
benchmarks/linear_algebra/blas/level2/syr2/syr2_wrapper.cpp
akmaru/tiramisu
8ca4173547b6d12cff10575ef0dc48cf93f7f414
[ "MIT" ]
23
2017-05-03T13:06:34.000Z
2018-06-07T07:12:43.000Z
benchmarks/linear_algebra/blas/level2/syr2/syr2_wrapper.cpp
akmaru/tiramisu
8ca4173547b6d12cff10575ef0dc48cf93f7f414
[ "MIT" ]
2
2017-04-25T08:59:09.000Z
2017-05-11T16:41:55.000Z
benchmarks/linear_algebra/blas/level2/syr2/syr2_wrapper.cpp
akmaru/tiramisu
8ca4173547b6d12cff10575ef0dc48cf93f7f414
[ "MIT" ]
5
2017-02-16T14:26:40.000Z
2018-05-30T16:49:27.000Z
#include <Halide.h> #include <tiramisu/tiramisu.h> #include <iostream> #include "generated_syr2.o.h" #include "benchmarks.h" #include <tiramisu/utils.h> int syr2_ref(int n, double alpha, Halide::Buffer<double> A, Halide::Buffer<double> x, Halide::Buffer<double> y) { for (int i = 0; i < n; ++i) for (int j ...
30.166667
112
0.485152
[ "vector" ]
4948025cf36da96c70e123cfa1f45f6df6da3521
2,944
cpp
C++
2016/Day19/MoleculeGenerator.cpp
marcuskrahl/AdventOfCode
0148d9a01a565aac1a6104a6001478fab3b6d4f8
[ "MIT" ]
null
null
null
2016/Day19/MoleculeGenerator.cpp
marcuskrahl/AdventOfCode
0148d9a01a565aac1a6104a6001478fab3b6d4f8
[ "MIT" ]
null
null
null
2016/Day19/MoleculeGenerator.cpp
marcuskrahl/AdventOfCode
0148d9a01a565aac1a6104a6001478fab3b6d4f8
[ "MIT" ]
null
null
null
#include "MoleculeGenerator.hpp" #include "Replacement.hpp" #include <algorithm> #include <random> #include <chrono> void MoleculeGenerator::add_replacement(Replacement replacement) { replacements.push_back(replacement); } unsigned int MoleculeGenerator::get_number_of_possible_results(const std::string& input_st...
40.328767
144
0.713995
[ "vector" ]
494966688e58d7d1897d3be9e0e030cb8005e5ad
26,327
cc
C++
src/vnsw/agent/controller/controller_init.cc
jsmith00/contrail-controller
95cda68a50f8f23d08c3ed08805f7af5781f7fdc
[ "Apache-2.0" ]
null
null
null
src/vnsw/agent/controller/controller_init.cc
jsmith00/contrail-controller
95cda68a50f8f23d08c3ed08805f7af5781f7fdc
[ "Apache-2.0" ]
null
null
null
src/vnsw/agent/controller/controller_init.cc
jsmith00/contrail-controller
95cda68a50f8f23d08c3ed08805f7af5781f7fdc
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2013 Juniper Networks, Inc. All rights reserved. */ #include "base/logging.h" #include "base/timer.h" #include "base/contrail_ports.h" #include "base/connection_info.h" #include <sandesh/sandesh.h> #include <sandesh/sandesh_types.h> #include <sandesh/sandesh_trace.h> #include "cmn/agent_cmn.h" #in...
38.265988
97
0.597372
[ "object", "vector" ]
494b28e17da78e312dfa53feb2556ed3437e0186
22,797
cpp
C++
dependencies/berkelium/src/Root.cpp
amvb/GUCEF
08fd423bbb5cdebbe4b70df24c0ae51716b65825
[ "Apache-2.0" ]
5
2016-04-18T23:12:51.000Z
2022-03-06T05:12:07.000Z
dependencies/berkelium/src/Root.cpp
amvb/GUCEF
08fd423bbb5cdebbe4b70df24c0ae51716b65825
[ "Apache-2.0" ]
2
2015-10-09T19:13:25.000Z
2018-12-25T17:16:54.000Z
dependencies/berkelium/src/Root.cpp
amvb/GUCEF
08fd423bbb5cdebbe4b70df24c0ae51716b65825
[ "Apache-2.0" ]
15
2015-02-23T16:35:28.000Z
2022-03-25T13:40:33.000Z
/* Berkelium Implementation * Root.cpp * * Copyright (c) 2009, Patrick Reiter Horn * 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...
36.4752
127
0.688731
[ "object", "vector" ]
495287a424372b8f4247b95267a303e4952f1eaf
13,329
hh
C++
packages/MC/geometry/RTK_Array.i.hh
GCZhang/Profugus
d4d8fe295a92a257b26b6082224226ca1edbff5d
[ "BSD-2-Clause" ]
19
2015-06-04T09:02:41.000Z
2021-04-27T19:32:55.000Z
packages/MC/geometry/RTK_Array.i.hh
GCZhang/Profugus
d4d8fe295a92a257b26b6082224226ca1edbff5d
[ "BSD-2-Clause" ]
null
null
null
packages/MC/geometry/RTK_Array.i.hh
GCZhang/Profugus
d4d8fe295a92a257b26b6082224226ca1edbff5d
[ "BSD-2-Clause" ]
5
2016-10-05T20:48:28.000Z
2021-06-21T12:00:54.000Z
//----------------------------------*-C++-*----------------------------------// /*! * \file MC/geometry/RTK_Array.i.hh * \author Thomas M. Evans * \date Tue Dec 21 12:46:26 2010 * \brief Member definitions of class RTK_Array. * \note Copyright (C) 2014 Oak Ridge National Laboratory, UT-Battelle, LLC. */ //...
34.353093
79
0.482707
[ "geometry", "object", "vector", "transform" ]
4961b2c390c754c24dcdd9a070e1b5c8037849fa
52,259
hpp
C++
Source/EbsdLib/OrientationMath/OrientationConverter.hpp
JDuffeyBQ/EbsdLib
7e168d2fe204a7493b4578e314a290a909d2b7dd
[ "BSD-3-Clause" ]
null
null
null
Source/EbsdLib/OrientationMath/OrientationConverter.hpp
JDuffeyBQ/EbsdLib
7e168d2fe204a7493b4578e314a290a909d2b7dd
[ "BSD-3-Clause" ]
null
null
null
Source/EbsdLib/OrientationMath/OrientationConverter.hpp
JDuffeyBQ/EbsdLib
7e168d2fe204a7493b4578e314a290a909d2b7dd
[ "BSD-3-Clause" ]
null
null
null
/* ============================================================================ * Copyright (c) 2009-2017 BlueQuartz Software, LLC * * 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...
32.661875
200
0.5436
[ "vector" ]
496781a5422fe6a4c063c9f95c2c4ca3857b7bc7
11,226
hxx
C++
include/itkMeshProcrustesAlignFilter.hxx
hjmjohnson/ITKShape
87faabfee47b17c6355baa2637616c7c7bacf217
[ "Apache-2.0" ]
3
2021-04-18T03:57:44.000Z
2022-03-28T19:47:06.000Z
include/itkMeshProcrustesAlignFilter.hxx
hjmjohnson/ITKShape
87faabfee47b17c6355baa2637616c7c7bacf217
[ "Apache-2.0" ]
11
2021-03-08T13:24:38.000Z
2021-03-19T20:20:34.000Z
include/itkMeshProcrustesAlignFilter.hxx
hjmjohnson/ITKShape
87faabfee47b17c6355baa2637616c7c7bacf217
[ "Apache-2.0" ]
1
2021-12-17T19:16:34.000Z
2021-12-17T19:16:34.000Z
/*========================================================================= * * Copyright NumFOCUS * * 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.or...
32.633721
110
0.655888
[ "mesh", "shape", "transform" ]