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
801ae3dc4d110c6d73aa4b8d3d89937e51cb3cec
2,757
cpp
C++
development/Common/Utility/source/Dispatcher.cpp
eglowacki/zloty
9c864ae0beb1ac64137a096795261768b7fc6710
[ "MIT" ]
null
null
null
development/Common/Utility/source/Dispatcher.cpp
eglowacki/zloty
9c864ae0beb1ac64137a096795261768b7fc6710
[ "MIT" ]
44
2018-06-28T03:01:44.000Z
2022-03-20T19:53:00.000Z
development/Common/Utility/source/Dispatcher.cpp
eglowacki/zloty
9c864ae0beb1ac64137a096795261768b7fc6710
[ "MIT" ]
null
null
null
#include "MessageInterface.h" #include "Logger/Log.h" #include "Message/Dispatcher.h" #include <boost/bind.hpp> namespace eg { Dispatcher::Dispatcher() : mChannelList(new ChannelList_t) { log_trace(tr_util) << "Dispatcher object created."; } Dispatcher::~Dispatcher() { log_trace(tr_util) << "Dispatcher obj...
25.527778
135
0.626768
[ "object", "vector" ]
801bb98f16a3db1f791fa6a55fc04ac9e75126e7
2,415
cpp
C++
src/RepoFetcher.cpp
francescmm/JenkinsPlugin
a080cacf8d2710aa07ff9bba6f8bbdc205491175
[ "MIT" ]
null
null
null
src/RepoFetcher.cpp
francescmm/JenkinsPlugin
a080cacf8d2710aa07ff9bba6f8bbdc205491175
[ "MIT" ]
null
null
null
src/RepoFetcher.cpp
francescmm/JenkinsPlugin
a080cacf8d2710aa07ff9bba6f8bbdc205491175
[ "MIT" ]
null
null
null
#include "RepoFetcher.h" #include <QJsonArray> #include <QJsonDocument> #include <QJsonObject> #include <QNetworkAccessManager> #include <QNetworkReply> #include <QLogger.h> using namespace QLogger; namespace Jenkins { RepoFetcher::RepoFetcher(const IFetcher::Config &config, const QString &url, QObject *parent) ...
24.642857
99
0.626087
[ "object" ]
801cba10085cb8cb45db9327d317150d1b02ddb2
232
cpp
C++
Singleton/main.cpp
kwoolytech/DesignPattern-Example
dddf59d8620ce93247abd99525daf0a9e4f542c5
[ "MIT" ]
null
null
null
Singleton/main.cpp
kwoolytech/DesignPattern-Example
dddf59d8620ce93247abd99525daf0a9e4f542c5
[ "MIT" ]
null
null
null
Singleton/main.cpp
kwoolytech/DesignPattern-Example
dddf59d8620ce93247abd99525daf0a9e4f542c5
[ "MIT" ]
null
null
null
#include "Logger.h" int main(void) { cout << endl << "Singleton Example." << endl; // auto logger = Logger::Get(); Logger::Get().WriteLog("Singleton object is bit tricky to be unit tested."); cout << endl; return 0; }
16.571429
78
0.62069
[ "object" ]
80250229e9e307e4affcf6b4b6eb5a77ae3aa973
381
cpp
C++
leetcode/problemset-algorithms/check-if-all-1s-are-at-least-length-k-places-away.cpp
riteshkumar99/coding-for-placement
b45f90f662808bf4bf038ff98a016d49b9d71f71
[ "MIT" ]
null
null
null
leetcode/problemset-algorithms/check-if-all-1s-are-at-least-length-k-places-away.cpp
riteshkumar99/coding-for-placement
b45f90f662808bf4bf038ff98a016d49b9d71f71
[ "MIT" ]
null
null
null
leetcode/problemset-algorithms/check-if-all-1s-are-at-least-length-k-places-away.cpp
riteshkumar99/coding-for-placement
b45f90f662808bf4bf038ff98a016d49b9d71f71
[ "MIT" ]
null
null
null
class Solution { public: bool kLengthApart(vector<int>& nums, int k) { int dist = k; for(int i = 0; i<nums.size(); i++) { if(nums[i] == 0) { dist++; } else { if(dist < k) { return false; } dis...
21.166667
49
0.333333
[ "vector" ]
80260786ed84972846569ab0b79cde24e3222c53
6,411
cpp
C++
Sources/Elastos/Packages/Apps/Settings/src/elastos/droid/settings/CMediaFormat.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
7
2017-07-13T10:34:54.000Z
2021-04-16T05:40:35.000Z
Sources/Elastos/Packages/Apps/Settings/src/elastos/droid/settings/CMediaFormat.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
null
null
null
Sources/Elastos/Packages/Apps/Settings/src/elastos/droid/settings/CMediaFormat.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
9
2017-07-13T12:33:20.000Z
2021-06-19T02:46:48.000Z
//========================================================================= // Copyright (C) 2012 The Elastos Open Source Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // ...
33.046392
109
0.630167
[ "object" ]
8033eb687d51a9bed7861d5f8cdcc985b063a771
7,034
hpp
C++
lpc2378/src/include/mw_smart_ptr.hpp
bbk012/walle
2c6a9e5d46eab08d121f87aec99c508d1e182a89
[ "MIT" ]
null
null
null
lpc2378/src/include/mw_smart_ptr.hpp
bbk012/walle
2c6a9e5d46eab08d121f87aec99c508d1e182a89
[ "MIT" ]
null
null
null
lpc2378/src/include/mw_smart_ptr.hpp
bbk012/walle
2c6a9e5d46eab08d121f87aec99c508d1e182a89
[ "MIT" ]
null
null
null
/* ********************************************************************************************************* * LPC 2378 * * (c) Copyright 2008, Bogdan Kowalczyk, POLAND * All Rights Reserved * * * File: ...
57.186992
162
0.622548
[ "object" ]
803b4e063f9c173c3f958cf77cb8007451b55686
841
cpp
C++
source/3.cpp
narikbi/LeetCode
835215c21d1bd6820b20c253026bcb6f889ed3fc
[ "MIT" ]
2
2017-02-28T11:39:13.000Z
2019-12-07T17:23:20.000Z
source/3.cpp
narikbi/LeetCode
835215c21d1bd6820b20c253026bcb6f889ed3fc
[ "MIT" ]
null
null
null
source/3.cpp
narikbi/LeetCode
835215c21d1bd6820b20c253026bcb6f889ed3fc
[ "MIT" ]
null
null
null
// // 3.cpp // LeetCode // // Created by Narikbi on 24.04.17. // Copyright © 2017 app.leetcode.kz. All rights reserved. // #include <stdio.h> #include <iostream> #include <vector> #include <string> #include <algorithm> #include <deque> #include <queue> #include <set> #include <map> #include <stack> #include <cmath...
17.893617
59
0.561237
[ "vector" ]
803bc9a7380e86fa47c6a1cd977ca2d0ef13bbca
2,654
cpp
C++
src/utils/JsonData.cpp
onqtam/game
08d9f2871bfd5c757d541064b77d38474123592a
[ "MIT" ]
41
2016-10-12T15:54:04.000Z
2022-01-12T04:17:20.000Z
src/utils/JsonData.cpp
onqtam/game
08d9f2871bfd5c757d541064b77d38474123592a
[ "MIT" ]
null
null
null
src/utils/JsonData.cpp
onqtam/game
08d9f2871bfd5c757d541064b77d38474123592a
[ "MIT" ]
10
2015-09-16T19:56:36.000Z
2021-12-27T21:12:11.000Z
#include "JsonData.h" void JsonData::prettify() { std::vector<char> formatted; int tabs = 0; bool in_string = false; bool newline_after_char = false; bool add_space_after_char = false; auto newline = [&]() { ...
28.234043
88
0.418613
[ "object", "vector" ]
d9ab19ec796307987e4f579861cf11a7a3bb9cc1
10,751
cpp
C++
src/interface/uiNode.cpp
santaclose/noose
e963138b81f380ca0f46369941cf65c4349bd4fb
[ "Apache-2.0" ]
8
2021-01-31T11:30:05.000Z
2021-09-01T07:48:34.000Z
src/interface/uiNode.cpp
santaclose/noose
e963138b81f380ca0f46369941cf65c4349bd4fb
[ "Apache-2.0" ]
4
2021-09-01T08:17:18.000Z
2021-09-24T22:32:24.000Z
src/interface/uiNode.cpp
santaclose/noose
e963138b81f380ca0f46369941cf65c4349bd4fb
[ "Apache-2.0" ]
1
2021-09-01T07:49:58.000Z
2021-09-01T07:49:58.000Z
#include "uiNode.h" #include "../math/nooseMath.h" #include "../interface/uiData.h" #include "uiConnections.h" #include <iostream> #include <math.h> #include "../nodeData.h" #include "../types.h" #include "../type2color.h" #define TEXT_COLOR 0xf0f0f0ff #define BAR_COLOR 0x424242bb #define SELECTED_BAR_COLOR 0x6a6a6...
30.542614
176
0.71491
[ "vector" ]
d9ad2c7c00981c25d5f18aeb4d700417e3cafdfa
3,959
cpp
C++
SPOJ/BVAAN - Balika Vadhu and Alok Nath.cpp
ravirathee/Competitive-Programming
20a0bfda9f04ed186e2f475644e44f14f934b533
[ "Unlicense" ]
6
2018-11-26T02:38:07.000Z
2021-07-28T00:16:41.000Z
SPOJ/BVAAN - Balika Vadhu and Alok Nath.cpp
ravirathee/Competitive-Programming
20a0bfda9f04ed186e2f475644e44f14f934b533
[ "Unlicense" ]
1
2021-05-30T09:25:53.000Z
2021-06-05T08:33:56.000Z
SPOJ/BVAAN - Balika Vadhu and Alok Nath.cpp
ravirathee/Competitive-Programming
20a0bfda9f04ed186e2f475644e44f14f934b533
[ "Unlicense" ]
4
2020-04-16T07:15:01.000Z
2020-12-04T06:26:07.000Z
/*BVAAN - Balika Vadhu and Alok Nath #dynamic-programming Anandi and Jagya were getting married again when they have achieved proper age. Dadi Sa invited Alok Nath to do the kanyadaan and give blessings. Alok Nath has 2 blessings. Each bessing is in the form of a string consisting of lowercase charaters(a-z) only. But...
32.719008
515
0.570851
[ "vector" ]
d9b00c70156658f6fdd7b9eb42b892b4e653f169
7,075
cpp
C++
src/test_sphere_detector.cpp
ravijo/multiple_kinect_baxter_calibration
c7f4fb18ef9d7a88b15a9a7398b1ce524a7c7565
[ "MIT" ]
5
2019-02-07T23:55:55.000Z
2020-10-19T10:07:50.000Z
src/test_sphere_detector.cpp
ravijo/multiple_kinect_baxter_calibration
c7f4fb18ef9d7a88b15a9a7398b1ce524a7c7565
[ "MIT" ]
null
null
null
src/test_sphere_detector.cpp
ravijo/multiple_kinect_baxter_calibration
c7f4fb18ef9d7a88b15a9a7398b1ce524a7c7565
[ "MIT" ]
1
2020-01-09T07:51:17.000Z
2020-01-09T07:51:17.000Z
/** * sphere_detector_test.cpp: test file for sphere_detector * Author: Ravi Joshi * Date: 2018/02/20 */ // ros headers #include <ros/ros.h> #include <ros/package.h> // utility header #include <utility.h> // sphere detector header #include <sphere_detector.h> // vtk header #include <vtkCamera.h> /* // small ye...
28.3
115
0.660777
[ "vector" ]
d9ba2b9d95d7f91ff72b81918c5c1e6b057c81ec
9,426
hxx
C++
src/Module/CRC/CRC.hxx
WilliamMajor/aff3ct
4e71ab99f33a040ec06336d3e1d50bd2c0d6a579
[ "MIT" ]
1
2022-02-17T08:47:47.000Z
2022-02-17T08:47:47.000Z
src/Module/CRC/CRC.hxx
WilliamMajor/aff3ct
4e71ab99f33a040ec06336d3e1d50bd2c0d6a579
[ "MIT" ]
null
null
null
src/Module/CRC/CRC.hxx
WilliamMajor/aff3ct
4e71ab99f33a040ec06336d3e1d50bd2c0d6a579
[ "MIT" ]
1
2022-02-15T23:32:39.000Z
2022-02-15T23:32:39.000Z
#include <string> #include <sstream> #include "Tools/Exception/exception.hpp" #include "Module/CRC/CRC.hpp" namespace aff3ct { namespace module { template <typename B> CRC<B> ::CRC(const int K, const int size, const int n_frames) : Module(n_frames), K(K), size(size) { const std::string name = "CRC"; this->set_name...
31.737374
107
0.613198
[ "vector" ]
d9c5d3882f4dda26ea637749aa0dfed8c7a235e9
2,024
cpp
C++
1123 - Trail Maintenance.cpp
forkkr/Lightoj
d2c5a215fc3474a91d8baed72713bbf9f9e98947
[ "MIT" ]
1
2018-08-03T10:06:19.000Z
2018-08-03T10:06:19.000Z
1123 - Trail Maintenance.cpp
forkkr/Lightoj
d2c5a215fc3474a91d8baed72713bbf9f9e98947
[ "MIT" ]
null
null
null
1123 - Trail Maintenance.cpp
forkkr/Lightoj
d2c5a215fc3474a91d8baed72713bbf9f9e98947
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; struct Edge { int u , v, w; } e; vector< Edge > E , tmp; typedef pair< int , int > PII; int N , W , cost = 0; int parent[202]; int find_parent( int x) { if(parent[x]==x) return parent[x]; return parent[x] = find_parent(parent[x]); } bool...
20.444444
57
0.342885
[ "vector" ]
d9cdbfb8f7526a3dfa29cea3b9ca0f6b72e381f4
26,380
cc
C++
test/integration/physics_link.cc
otamachan/ros-indigo-gazebo7-deb
abc6b40247cdce14d9912096a0ad5135d420ce04
[ "ECL-2.0", "Apache-2.0" ]
5
2017-07-14T19:36:51.000Z
2020-04-01T06:47:59.000Z
test/integration/physics_link.cc
otamachan/ros-indigo-gazebo7-deb
abc6b40247cdce14d9912096a0ad5135d420ce04
[ "ECL-2.0", "Apache-2.0" ]
20
2017-07-20T21:04:49.000Z
2017-10-19T19:32:38.000Z
test/integration/physics_link.cc
otamachan/ros-indigo-gazebo7-deb
abc6b40247cdce14d9912096a0ad5135d420ce04
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2014-2016 Open Source Robotics Foundation * * 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...
34.082687
80
0.648143
[ "vector", "model" ]
d9cdd502f4febf1396cd4fdf95b341e0e96aef96
2,272
cpp
C++
src/kriti/bullet/PhysicalObject.cpp
etherealvisage/kriti
6397c4d20331d9f5ce07460df08bbac9653ffa8b
[ "BSD-3-Clause" ]
2
2015-10-05T19:33:19.000Z
2015-12-08T08:39:17.000Z
src/kriti/bullet/PhysicalObject.cpp
etherealvisage/kriti
6397c4d20331d9f5ce07460df08bbac9653ffa8b
[ "BSD-3-Clause" ]
1
2017-04-30T16:26:08.000Z
2017-05-01T03:00:42.000Z
src/kriti/bullet/PhysicalObject.cpp
etherealvisage/kriti
6397c4d20331d9f5ce07460df08bbac9653ffa8b
[ "BSD-3-Clause" ]
null
null
null
#include <btBulletDynamicsCommon.h> #include "PhysicalObject.h" #include "ObjectFeedback.h" #include "ObjectMotionState.h" #include "Util.h" #include "../MessageSystem.h" namespace Kriti { namespace Bullet { PhysicalObject::PhysicalObject(btRigidBody *body) : m_body(body) { if(body == NULL) { Message3(B...
28.759494
78
0.741197
[ "vector" ]
d9d933ae8742c09671b944dafa836735c5c62d28
1,603
hpp
C++
world_manager.hpp
zaimoni/Iskandria
b056d2ba359b814db02aab42eba8d5f7f5ca7a1a
[ "BSL-1.0" ]
2
2019-11-23T12:35:49.000Z
2022-02-10T08:27:54.000Z
world_manager.hpp
zaimoni/Iskandria
b056d2ba359b814db02aab42eba8d5f7f5ca7a1a
[ "BSL-1.0" ]
8
2019-11-15T08:13:48.000Z
2020-04-29T00:35:42.000Z
world_manager.hpp
zaimoni/Iskandria
b056d2ba359b814db02aab42eba8d5f7f5ca7a1a
[ "BSL-1.0" ]
null
null
null
// world_manager.hpp #ifndef WORLD_MANAGER_HPP #define WORLD_MANAGER_HPP 1 #include <stdio.h> #include <vector> #include <memory> #include "world_view.hpp" #include "singleton.on.hpp" namespace isk { // Cf. http://dragonfly.wpi.edu/book/ // in general, for each type of game object of interest // * ...
27.169492
113
0.713662
[ "object", "vector" ]
d9dd9875c84ca2605478a5739ee98671a9c239c5
400
hh
C++
src/debug_render.hh
zacklukem/cppgame
5817b87538fcce8fedaa935f457e05895f5dba8b
[ "MIT" ]
null
null
null
src/debug_render.hh
zacklukem/cppgame
5817b87538fcce8fedaa935f457e05895f5dba8b
[ "MIT" ]
null
null
null
src/debug_render.hh
zacklukem/cppgame
5817b87538fcce8fedaa935f457e05895f5dba8b
[ "MIT" ]
null
null
null
#pragma once #include "renderer.hh" class DebugRenderer : public RenderPass { public: DebugRenderer(); void init(Window& window) override; void render(Window& window) override; ~DebugRenderer() override = default; private: Shader simple_shader; GLint s_model, s_view, s_projection, s_color;...
22.222222
49
0.71
[ "render" ]
d9e6c1cfaea4c437cfe1a165e74a25ea78d25a87
3,160
hpp
C++
src/desktop.d3d11.hpp
srg91/YellowRectangleCyanCircle
67d0b2185e26aa48bee5394f273698a311c2b0e3
[ "MIT" ]
3
2020-09-19T08:04:50.000Z
2020-11-12T13:16:00.000Z
src/desktop.d3d11.hpp
srg91/YellowRectangleCyanCircle
67d0b2185e26aa48bee5394f273698a311c2b0e3
[ "MIT" ]
null
null
null
src/desktop.d3d11.hpp
srg91/YellowRectangleCyanCircle
67d0b2185e26aa48bee5394f273698a311c2b0e3
[ "MIT" ]
1
2020-12-21T17:28:43.000Z
2020-12-21T17:28:43.000Z
#pragma once #include "direct.hpp" #include "interface.hpp" #include "logging.hpp" #include "winapi.hpp" #include "types.hpp" #include <chrono> #include <thread> #include <vector> namespace YellowRectangleCyanCircle { namespace DesktopDuplication { const D3D_DRIVER_TYPE DriverTypes[] = { ...
31.919192
107
0.657278
[ "vector" ]
d9eac6e7534bc61b2b23b20964d811d6c5a2aa76
1,289
cpp
C++
uva/11857.cpp
cosmicray001/Online_judge_Solutions-
5dc6f90d3848eb192e6edea8e8c731f41a1761dd
[ "MIT" ]
3
2018-01-08T02:52:51.000Z
2021-03-03T01:08:44.000Z
uva/11857.cpp
cosmicray001/Online_judge_Solutions-
5dc6f90d3848eb192e6edea8e8c731f41a1761dd
[ "MIT" ]
null
null
null
uva/11857.cpp
cosmicray001/Online_judge_Solutions-
5dc6f90d3848eb192e6edea8e8c731f41a1761dd
[ "MIT" ]
1
2020-08-13T18:07:35.000Z
2020-08-13T18:07:35.000Z
#include <bits/stdc++.h> #define le 1000006 using namespace std; int p[le], ans; bool ck[le], vis[le]; struct edge{ int x, y, w; }; bool comp(edge a, edge b){ return a.w < b.w; } vector<edge> v; int fnc(int a){ if(p[a] == a) return a; return p[a] = fnc(p[a]); } void mst(int n){ sort(v.begin(), v.end(), comp);...
19.530303
51
0.432118
[ "vector" ]
d9ec9108ac875f6c5e6da9f3808a62ecbcfcdb7f
6,070
cpp
C++
Database.cpp
zhongluqiang/evernote-sdk-cpp-quickstart
63bb6008306a0ee4db2a3823436b8ffbd3542569
[ "Apache-2.0" ]
null
null
null
Database.cpp
zhongluqiang/evernote-sdk-cpp-quickstart
63bb6008306a0ee4db2a3823436b8ffbd3542569
[ "Apache-2.0" ]
null
null
null
Database.cpp
zhongluqiang/evernote-sdk-cpp-quickstart
63bb6008306a0ee4db2a3823436b8ffbd3542569
[ "Apache-2.0" ]
null
null
null
#include "Database.h" #include "filesystem.h" #include "xmlUtil.h" #include <fstream> #include <iostream> #include <thrift/protocol/TBinaryProtocol.h> #include <thrift/transport/TSimpleFileTransport.h> using namespace apache::thrift; using namespace apache::thrift::protocol; using namespace apache::thrift::transport; ...
23.618677
68
0.593081
[ "vector" ]
d9ef94badc9d005440a99e897be0c0840c4fec48
13,022
hpp
C++
source/framework/python/include/lue/py/framework/core/partitioned_array.hpp
computationalgeography/lue
71993169bae67a9863d7bd7646d207405dc6f767
[ "MIT" ]
2
2021-02-26T22:45:56.000Z
2021-05-02T10:28:48.000Z
source/framework/python/include/lue/py/framework/core/partitioned_array.hpp
pcraster/lue
e64c18f78a8b6d8a602b7578a2572e9740969202
[ "MIT" ]
262
2016-08-11T10:12:02.000Z
2020-10-13T18:09:16.000Z
source/framework/python/include/lue/py/framework/core/partitioned_array.hpp
computationalgeography/lue
71993169bae67a9863d7bd7646d207405dc6f767
[ "MIT" ]
1
2020-03-11T09:49:41.000Z
2020-03-11T09:49:41.000Z
#include "lue/py/framework/algorithm/add.hpp" #include "lue/py/framework/algorithm/divide.hpp" #include "lue/py/framework/algorithm/equal_to.hpp" #include "lue/py/framework/algorithm/greater_than.hpp" #include "lue/py/framework/algorithm/greater_than_equal_to.hpp" #include "lue/py/framework/algorithm/less_than.hpp" #in...
46.341637
110
0.565505
[ "shape" ]
d9f00304dd1a7eff7c8c2fd68b2ca8b260529a91
744
cpp
C++
LeetCode/Heap/5731. Seat Reservation Manager.cpp
Sowmik23/All-Codes
212ef0d940fa84624bb2972a257768a830a709a3
[ "MIT" ]
5
2021-02-14T17:48:21.000Z
2022-01-24T14:29:44.000Z
LeetCode/Heap/5731. Seat Reservation Manager.cpp
Sowmik23/All-Codes
212ef0d940fa84624bb2972a257768a830a709a3
[ "MIT" ]
null
null
null
LeetCode/Heap/5731. Seat Reservation Manager.cpp
Sowmik23/All-Codes
212ef0d940fa84624bb2972a257768a830a709a3
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; class SeatManager { public: priority_queue<int, vector<int>, greater<int>> pq; SeatManager(int n) { for(int i=1;i<=n;i++){ pq.push(i); } } int reserve() { int top = pq.top(); pq.pop(); return top; } void unr...
14.588235
54
0.532258
[ "vector" ]
d9f50d338beff91a2f13191a2a3f5e2c0e8e09a3
1,056
hpp
C++
include/module_loader/shared_library_factory.hpp
RobertLeahy/Module-Loader
50c9aa4d00b5c827d31c83fd3ff3294c3d4e7c3b
[ "Unlicense" ]
2
2017-02-15T05:28:34.000Z
2017-11-06T15:25:00.000Z
include/module_loader/shared_library_factory.hpp
RobertLeahy/Module-Loader
50c9aa4d00b5c827d31c83fd3ff3294c3d4e7c3b
[ "Unlicense" ]
null
null
null
include/module_loader/shared_library_factory.hpp
RobertLeahy/Module-Loader
50c9aa4d00b5c827d31c83fd3ff3294c3d4e7c3b
[ "Unlicense" ]
null
null
null
/** * \file */ #pragma once #include <boost/dll/shared_library.hpp> namespace module_loader { /** * Provides an interface through which a number of * boost::dll::shared_library object may be acequired. */ class shared_library_factory { public: shared_library_factory () = default; shared_library_factory (cons...
25.756098
79
0.71875
[ "object" ]
d9fb9f3d75ff2053dc37cd8438623db76bb261fb
1,312
cpp
C++
algoritimo c++/hello.cpp
Lucas-MSF/Cpp
8eaac18aaef5edf6127a7b3da6af9cc6de7748d4
[ "MIT" ]
null
null
null
algoritimo c++/hello.cpp
Lucas-MSF/Cpp
8eaac18aaef5edf6127a7b3da6af9cc6de7748d4
[ "MIT" ]
null
null
null
algoritimo c++/hello.cpp
Lucas-MSF/Cpp
8eaac18aaef5edf6127a7b3da6af9cc6de7748d4
[ "MIT" ]
null
null
null
#include <iostream> #include <stdlib.h> #include <vector> using namespace std; int main(){ int contador= 1; float nota1, nota2, media; vector<string>armazenaaluno; vector<float>armazenamedia; string nome; bool booleano = true; char maisaluno; cout << " ------------------------\n "...
22.237288
81
0.44436
[ "vector" ]
d9fba5d77293c19a820f6eeadfacbd7508771de8
2,388
cpp
C++
src/port_manager.cpp
ddiakopoulos/modern-midi
67944e958483af32d5c39eabf6c59d4d5ec81866
[ "BSD-2-Clause", "BSD-3-Clause" ]
40
2018-09-20T12:50:47.000Z
2022-03-30T19:31:37.000Z
src/port_manager.cpp
ddiakopoulos/modern-midi
67944e958483af32d5c39eabf6c59d4d5ec81866
[ "BSD-2-Clause", "BSD-3-Clause" ]
5
2015-12-20T16:38:37.000Z
2018-07-28T11:30:50.000Z
src/port_manager.cpp
ddiakopoulos/ModernMIDI
67944e958483af32d5c39eabf6c59d4d5ec81866
[ "BSD-2-Clause", "BSD-3-Clause" ]
8
2015-12-20T05:48:49.000Z
2017-04-16T21:49:38.000Z
/* Copyright (c) 2015, Dimitri Diakopoulos 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...
40.474576
86
0.775963
[ "vector" ]
d9fc4ae35874a7be1d7a22768466187990df5f90
2,583
cpp
C++
shadow/operators/kernels/batch_norm.cpp
junluan/shadow
067d1c51d7c38bc1c985008a2e2e1599bbf11a8c
[ "Apache-2.0" ]
20
2017-07-04T11:22:47.000Z
2022-01-16T03:58:32.000Z
shadow/operators/kernels/batch_norm.cpp
junluan/shadow
067d1c51d7c38bc1c985008a2e2e1599bbf11a8c
[ "Apache-2.0" ]
2
2017-12-03T13:07:39.000Z
2021-01-13T11:11:52.000Z
shadow/operators/kernels/batch_norm.cpp
junluan/shadow
067d1c51d7c38bc1c985008a2e2e1599bbf11a8c
[ "Apache-2.0" ]
10
2017-09-30T05:06:30.000Z
2020-11-13T05:43:44.000Z
#include "batch_norm.hpp" #include "core/blas.hpp" #include <cmath> namespace Shadow { namespace Vision { template <> void BatchNorm<DeviceType::kCPU, float>(const float* in_data, int count, const float* mean_data, const float* varianc...
32.696203
80
0.616725
[ "shape" ]
d9ff2164d402935d7eddba14033501b577030800
885
hpp
C++
include/functional/concatenate.hpp
bzcheeseman/pytorch-inference
7935ececba60b06e26acfb32c7a0a2305a901419
[ "MIT" ]
53
2017-05-20T18:45:05.000Z
2021-07-09T00:51:59.000Z
include/functional/concatenate.hpp
bzcheeseman/pytorch-inference
7935ececba60b06e26acfb32c7a0a2305a901419
[ "MIT" ]
1
2019-02-28T02:31:56.000Z
2019-02-28T02:31:56.000Z
include/functional/concatenate.hpp
bzcheeseman/pytorch-inference
7935ececba60b06e26acfb32c7a0a2305a901419
[ "MIT" ]
4
2017-05-25T03:19:47.000Z
2019-04-12T11:32:34.000Z
// // Created by Aman LaChapelle on 5/25/17. // // pytorch_inference // Copyright (c) 2017 Aman LaChapelle // Full license at pytorch_inference/LICENSE.txt // #ifndef PYTORCH_INFERENCE_CONCATENATE_IMPL_HPP #define PYTORCH_INFERENCE_CONCATENATE_IMPL_HPP // STL #include <algorithm> #include <numeric> // ArrayFire #inc...
22.125
91
0.631638
[ "vector" ]
8a01c6511f5592fe9448e25aa9ca8517825a437d
1,405
hpp
C++
include/fcppt/optional/deref.hpp
vinzenz/fcppt
3f8cc5babdee178a9bbd06ca3ce7ad405d19aa6a
[ "BSL-1.0" ]
null
null
null
include/fcppt/optional/deref.hpp
vinzenz/fcppt
3f8cc5babdee178a9bbd06ca3ce7ad405d19aa6a
[ "BSL-1.0" ]
null
null
null
include/fcppt/optional/deref.hpp
vinzenz/fcppt
3f8cc5babdee178a9bbd06ca3ce7ad405d19aa6a
[ "BSL-1.0" ]
null
null
null
// Copyright Carl Philipp Reh 2009 - 2016. // 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 FCPPT_OPTIONAL_DEREF_HPP_INCLUDED #define FCPPT_OPTIONAL_DEREF_HPP_INCLUDED #include <fcp...
17.134146
77
0.664057
[ "object" ]
8a18bca23de5cf6047714bbe41b35ae44000f7a4
9,263
hpp
C++
include/entity/component/sparse_pool.hpp
cdglove/entity
07a29770f7941b7c659d004b65d80f22296f6fc0
[ "BSL-1.0" ]
7
2015-03-18T06:10:01.000Z
2018-01-30T14:40:55.000Z
include/entity/component/sparse_pool.hpp
cdglove/entity
07a29770f7941b7c659d004b65d80f22296f6fc0
[ "BSL-1.0" ]
1
2015-01-19T18:42:22.000Z
2015-02-16T20:25:43.000Z
include/entity/component/sparse_pool.hpp
cdglove/entity
07a29770f7941b7c659d004b65d80f22296f6fc0
[ "BSL-1.0" ]
null
null
null
// **************************************************************************** // entity/component/sparse_pool.h // // Represents a component pool where the number of components // is significantly less than the number of entities with those components. // Uses less space and will be faster to iterate under these cond...
22.871605
80
0.653784
[ "vector", "transform" ]
8a2c63c0694c96d8d3a7f3ef0a71033bd12f7aa7
2,161
cpp
C++
template_sam.cpp
usamoi/algorithm-templates
f5d4784a246552a9d5cb9e21254d320c0015bf64
[ "CC0-1.0" ]
5
2021-05-04T12:56:07.000Z
2021-07-02T14:42:05.000Z
template_sam.cpp
usamoi/algorithm-templates
f5d4784a246552a9d5cb9e21254d320c0015bf64
[ "CC0-1.0" ]
null
null
null
template_sam.cpp
usamoi/algorithm-templates
f5d4784a246552a9d5cb9e21254d320c0015bf64
[ "CC0-1.0" ]
null
null
null
#include <algorithm> #include <array> #include <iostream> #include <string> #include <vector> struct SAM { static const int SIGMA = 26; static int encode(char c) { return c - 'a'; } struct State { int len; int eps; State *link; std::array<State *, ...
28.064935
117
0.447478
[ "vector" ]
8a2e20b9565d66778ce61fe9e275e533210faa8a
6,807
cpp
C++
src/coreclr/src/md/compiler/regmeta_compilersupport.cpp
abock/runtime
b3346807be96f6089fc1538946b3611f607389e2
[ "MIT" ]
6
2020-01-04T14:02:35.000Z
2020-01-05T15:28:09.000Z
src/coreclr/src/md/compiler/regmeta_compilersupport.cpp
abock/runtime
b3346807be96f6089fc1538946b3611f607389e2
[ "MIT" ]
15
2017-01-27T20:18:50.000Z
2019-11-14T00:52:58.000Z
src/coreclr/src/md/compiler/regmeta_compilersupport.cpp
abock/runtime
b3346807be96f6089fc1538946b3611f607389e2
[ "MIT" ]
3
2021-02-10T16:20:05.000Z
2021-03-12T07:55:36.000Z
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. //***************************************************************************** // RegMeta.cpp // // // Implementati...
29.214592
108
0.549875
[ "object" ]
8a3bde3ea296542d9dab3b78d273c4926c0098f7
35,983
cpp
C++
src/C/Security-57031.40.6/SecurityTests/clxutils/anchorTest/anchorTest.cpp
GaloisInc/hacrypto
5c99d7ac73360e9b05452ac9380c1c7dc6784849
[ "BSD-3-Clause" ]
34
2015-02-04T18:03:14.000Z
2020-11-10T06:45:28.000Z
src/C/Security-57031.40.6/SecurityTests/clxutils/anchorTest/anchorTest.cpp
GaloisInc/hacrypto
5c99d7ac73360e9b05452ac9380c1c7dc6784849
[ "BSD-3-Clause" ]
5
2015-06-30T21:17:00.000Z
2016-06-14T22:31:51.000Z
src/C/Security-57031.40.6/SecurityTests/clxutils/anchorTest/anchorTest.cpp
GaloisInc/hacrypto
5c99d7ac73360e9b05452ac9380c1c7dc6784849
[ "BSD-3-Clause" ]
15
2015-10-29T14:21:58.000Z
2022-01-19T07:33:14.000Z
/* * anchorTest.cpp - test cert encode/decode using known good system * anchors */ #include <stdio.h> #include <string.h> #include <Security/cssm.h> #include <Security/x509defs.h> #include <Security/oidsattr.h> #include <Security/oidscert.h> #include <Security/certextensions.h> #include <Security/Se...
31.956483
123
0.6475
[ "object" ]
8a3cea7c8af8481c0ff3e29a35c34bea6cdf1d00
4,439
cpp
C++
Hacks/bhop.cpp
manigamer22/Killersupdate
add145ffe5ed8121e6dffcecae2bd9e0885f4a2e
[ "Unlicense" ]
2
2020-05-15T16:05:03.000Z
2021-09-17T04:07:54.000Z
Hacks/bhop.cpp
manigamer22/MacTap
9a48bffe5faec86d0edc4a79e620d27b674c510c
[ "Unlicense" ]
3
2020-11-09T14:05:01.000Z
2021-09-01T05:37:56.000Z
Hacks/bhop.cpp
manigamer22/MacTap
9a48bffe5faec86d0edc4a79e620d27b674c510c
[ "Unlicense" ]
1
2021-09-17T04:07:19.000Z
2021-09-17T04:07:19.000Z
#include "bhop.h" void DoBhop(CUserCmd* cmd, C_BaseEntity* local) { static bool bLastJumped = false; static bool bShouldFake = false; C_BasePlayer* localplayer = (C_BasePlayer*) pEntList->GetClientEntity(pEngine->GetLocalPlayer()); if (!localplayer) return; if (!vars.misc.bho...
24.125
131
0.549223
[ "vector" ]
8a43d9e24e6719cc2c77e6b8dec776dbd1da3ab0
5,815
cpp
C++
iyan3d/trunk/Iyan3D-Android/app/src/main/jni/SGEngine2/Core/Nodes/ParticleManager.cpp
RCGamer21/appanimar
4161f1c2dc319256b5e489cdbb439757e03bcd07
[ "MIT" ]
1
2019-12-21T08:15:08.000Z
2019-12-21T08:15:08.000Z
iyan3d/trunk/Iyan3D-Android/app/src/main/jni/SGEngine2/Core/Nodes/ParticleManager.cpp
lanping100/Iyan3d
c21bb191cec06039a3f6e9b2f19381cbd7537757
[ "MIT" ]
null
null
null
iyan3d/trunk/Iyan3D-Android/app/src/main/jni/SGEngine2/Core/Nodes/ParticleManager.cpp
lanping100/Iyan3d
c21bb191cec06039a3f6e9b2f19381cbd7537757
[ "MIT" ]
null
null
null
// // ParticleManager.cpp // Iyan3D // // Created by Karthik on 01/02/16. // Copyright © 2016 Smackall Games. All rights reserved. // #include "ParticleManager.h" ParticleManager::ParticleManager() { type = NODE_TYPE_PARTICLES; startColor = Vector4(1.0,1.0,1.0,1.0); midColor = Vector4(1.0, 1.0, 0.0, 1...
27.822967
271
0.617885
[ "mesh", "vector" ]
8a43f910df57cf81c26c109d7c5dad9922843973
5,403
hxx
C++
Modules/Segmentation/Conversion/include/otbPersistentImageToOGRDataFilter.hxx
qingswu/otb
ed903b6a5e51a27a3d04786e4ad1637cf6b2772e
[ "Apache-2.0" ]
null
null
null
Modules/Segmentation/Conversion/include/otbPersistentImageToOGRDataFilter.hxx
qingswu/otb
ed903b6a5e51a27a3d04786e4ad1637cf6b2772e
[ "Apache-2.0" ]
null
null
null
Modules/Segmentation/Conversion/include/otbPersistentImageToOGRDataFilter.hxx
qingswu/otb
ed903b6a5e51a27a3d04786e4ad1637cf6b2772e
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 1999-2011 Insight Software Consortium * Copyright (C) 2005-2019 Centre National d'Etudes Spatiales (CNES) * * This file is part of Orfeo Toolbox * * https://www.orfeo-toolbox.org/ * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in co...
30.874286
130
0.740885
[ "vector" ]
a4372b5dfd17b6d1cb1c3e67008d1cdc7fcb2b0d
13,574
cpp
C++
Merced/Src/Watt.cpp
brown170/fudge
4f818b0e0b0de52bc127dd77285b20ce3568c97a
[ "BSD-3-Clause" ]
14
2019-08-29T23:46:24.000Z
2022-03-21T10:16:25.000Z
Merced/Src/Watt.cpp
brown170/fudge
4f818b0e0b0de52bc127dd77285b20ce3568c97a
[ "BSD-3-Clause" ]
1
2020-08-04T16:14:45.000Z
2021-12-01T01:54:34.000Z
Merced/Src/Watt.cpp
brown170/fudge
4f818b0e0b0de52bc127dd77285b20ce3568c97a
[ "BSD-3-Clause" ]
2
2022-03-03T22:41:41.000Z
2022-03-03T22:54:43.000Z
/* * ******** merced: calculate the transfer matrix ********* * $Revision: 1 $ * $Date: 2006-02-01 19:06:56 -0800 (Wed, 01 Feb 2006) $ * $Author: hedstrom $ * $Id: Watt.cpp 1 2006-02-02 03:06:56Z hedstrom $ * ******** merced: calculate the transfer matrix ********* * * # <<BEGIN-copyright>> * # <<END-copyrigh...
33.59901
101
0.632164
[ "vector" ]
a439664eb36fa4e44747abe7d268fee607b09f14
13,186
cc
C++
chrome/test/chromedriver/web_view_impl.cc
GnorTech/chromium
e1c7731d5bd099ca5544fcf8eda3867d4ce5bab5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2018-03-10T13:08:49.000Z
2018-03-10T13:08:49.000Z
chrome/test/chromedriver/web_view_impl.cc
GnorTech/chromium
e1c7731d5bd099ca5544fcf8eda3867d4ce5bab5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/test/chromedriver/web_view_impl.cc
GnorTech/chromium
e1c7731d5bd099ca5544fcf8eda3867d4ce5bab5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2020-11-04T07:19:31.000Z
2020-11-04T07:19:31.000Z
// Copyright (c) 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/test/chromedriver/web_view_impl.h" #include "base/bind.h" #include "base/json/json_writer.h" #include "base/logging.h" #include "bas...
33.552163
80
0.65433
[ "object" ]
a44287cdab8fce29337fa07e7ace9e0bfb664f34
495
hpp
C++
src/graph/Graph.hpp
JoseLuisC99/GraphDB
63735389e0637746333b404583ae8e54ea309497
[ "MIT" ]
null
null
null
src/graph/Graph.hpp
JoseLuisC99/GraphDB
63735389e0637746333b404583ae8e54ea309497
[ "MIT" ]
null
null
null
src/graph/Graph.hpp
JoseLuisC99/GraphDB
63735389e0637746333b404583ae8e54ea309497
[ "MIT" ]
null
null
null
#ifndef GRAPHDB_GRAPH_HPP #define GRAPHDB_GRAPH_HPP #include <vector> #include <map> #include "Vertex.hpp" #include "Edge.hpp" class Graph { std::vector<Vertex*> V; std::vector<Edge*> E; std::map<uint64_t, Vertex*> vertexIndex; std::map<uint64_t, Edge*> edgeIndex; public: uint64_t addVertex(Verte...
19.8
44
0.690909
[ "vector" ]
a44609e055f65b115d3c564e943a6db0e9809b18
7,952
cpp
C++
Source/Core/FontDatabase.cpp
tryba/libRocket
c4384c71f63dc6d1ee3c9726daa637c158b0c3e0
[ "MIT", "Unlicense" ]
715
2015-01-04T02:39:04.000Z
2022-03-24T07:16:25.000Z
Source/Core/FontDatabase.cpp
tryba/libRocket
c4384c71f63dc6d1ee3c9726daa637c158b0c3e0
[ "MIT", "Unlicense" ]
60
2015-01-03T15:07:25.000Z
2022-01-16T23:24:37.000Z
Source/Core/FontDatabase.cpp
tryba/libRocket
c4384c71f63dc6d1ee3c9726daa637c158b0c3e0
[ "MIT", "Unlicense" ]
221
2015-01-03T13:05:58.000Z
2022-03-30T23:27:03.000Z
/* * This source file is part of libRocket, the HTML/CSS Interface Middleware * * For the latest information, see http://www.librocket.com * * Copyright (c) 2008-2010 CodePoint Ltd, Shift Technology Ltd * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and assoc...
30.121212
165
0.70913
[ "render" ]
a4497fe991a08b7d70c022fc09ab07f4baced23c
711
cpp
C++
JOI/JOI2018-pre/Q2.cpp
taiki-okano/Competitive-Programming
7df76273740ae743ff04e9ed1ae8ffd6562d288d
[ "MIT" ]
1
2016-01-23T13:33:05.000Z
2016-01-23T13:33:05.000Z
JOI/JOI2018-pre/Q2.cpp
taiki-okano/algorithm
7df76273740ae743ff04e9ed1ae8ffd6562d288d
[ "MIT" ]
null
null
null
JOI/JOI2018-pre/Q2.cpp
taiki-okano/algorithm
7df76273740ae743ff04e9ed1ae8ffd6562d288d
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <vector> #include <algorithm> #include <numeric> #include <limits> #include <cmath> #include <cstring> #include <cstdlib> constexpr int INF = std::numeric_limits<int>::max(); constexpr int LL_INF = std::numeric_limits<long long>::max(); constexpr int MAX = 2019; using P...
14.510204
61
0.565401
[ "vector" ]
a461b31b8fc61d1eaf8d492cf12a7a46ca994287
20,803
cpp
C++
fast_sampler/fast_sampler.cpp
MITIBMxGraph/SALIENT_artifact
d89c185b2dd4f5389086b434d36c42aab096560e
[ "Apache-2.0" ]
6
2022-02-15T16:27:43.000Z
2022-03-31T18:51:22.000Z
fast_sampler/fast_sampler.cpp
MITIBMxGraph/SALIENT_artifact
d89c185b2dd4f5389086b434d36c42aab096560e
[ "Apache-2.0" ]
null
null
null
fast_sampler/fast_sampler.cpp
MITIBMxGraph/SALIENT_artifact
d89c185b2dd4f5389086b434d36c42aab096560e
[ "Apache-2.0" ]
null
null
null
#include <pybind11/chrono.h> #include <semaphore.h> #include <torch/extension.h> #include <torch/script.h> #include <torch/torch.h> #include <algorithm> #include <atomic> #include <cassert> #include <chrono> #include <condition_variable> #include <functional> #include <iostream> #include <iterator> #include <limits> #...
33.71637
80
0.627842
[ "vector" ]
a464a819db9ba7c06df43a081328420269bf54c8
19,582
cpp
C++
sources/thelib/src/mediaformats/readers/ts/tsparser.cpp
rdkcmf/rdkc-rms
65ab1efcee9e3de46a888c125f591cd48b815601
[ "Apache-2.0" ]
3
2020-07-30T19:41:00.000Z
2020-10-28T12:52:37.000Z
sources/thelib/src/mediaformats/readers/ts/tsparser.cpp
rdkcmf/rdkc-rms
65ab1efcee9e3de46a888c125f591cd48b815601
[ "Apache-2.0" ]
null
null
null
sources/thelib/src/mediaformats/readers/ts/tsparser.cpp
rdkcmf/rdkc-rms
65ab1efcee9e3de46a888c125f591cd48b815601
[ "Apache-2.0" ]
2
2020-05-11T03:19:00.000Z
2021-07-07T17:40:47.000Z
/** ########################################################################## # If not stated otherwise in this file or this component's LICENSE # file the following copyright and licenses apply: # # Copyright 2019 RDK Management # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use thi...
29.58006
121
0.676438
[ "vector" ]
a475d4010c836f296230575368bfabb9caebd6c8
4,270
cpp
C++
src/archive/cobweb/OptionSelector.cpp
pourpluie/Pockets-team
cbae274cdabf2896ab7ecf113bccfbd005916ea7
[ "BSD-2-Clause" ]
null
null
null
src/archive/cobweb/OptionSelector.cpp
pourpluie/Pockets-team
cbae274cdabf2896ab7ecf113bccfbd005916ea7
[ "BSD-2-Clause" ]
null
null
null
src/archive/cobweb/OptionSelector.cpp
pourpluie/Pockets-team
cbae274cdabf2896ab7ecf113bccfbd005916ea7
[ "BSD-2-Clause" ]
null
null
null
// // OptionSelector.cpp // WordShift // // Created by David Wicks on 3/22/13. // Copyright (c) 2013 __MyCompanyName__. All rights reserved. // #include "OptionSelector.h" #include "cinder/ip/Fill.h" using namespace pockets; using namespace cinder; using namespace std; OptionSelector::OptionSelector( const pk::S...
25.878788
139
0.640047
[ "render", "vector" ]
a47f3a9639858bd68ab31908faefd1f15cd5d048
3,438
cpp
C++
collection/cp/bcw_codebook-master/Contest/WF2014/pF.cpp
daemonslayer/Notebook
a9880be9bd86955afd6b8f7352822bc18673eda3
[ "Apache-2.0" ]
1
2019-03-24T13:12:01.000Z
2019-03-24T13:12:01.000Z
collection/cp/bcw_codebook-master/Contest/WF2014/pF.cpp
daemonslayer/Notebook
a9880be9bd86955afd6b8f7352822bc18673eda3
[ "Apache-2.0" ]
null
null
null
collection/cp/bcw_codebook-master/Contest/WF2014/pF.cpp
daemonslayer/Notebook
a9880be9bd86955afd6b8f7352822bc18673eda3
[ "Apache-2.0" ]
null
null
null
#include<bits/stdc++.h> #include<unistd.h> using namespace std; #define FZ(n) memset((n),0,sizeof(n)) #define FMO(n) memset((n),-1,sizeof(n)) #define F first #define S second #define PB push_back #define ALL(x) begin(x),end(x) #define SZ(x) ((int)(x).size()) #define IOS ios_base::sync_with_stdio(0); cin.tie(0) template...
19.314607
59
0.465096
[ "vector" ]
a4857bd7552d320855364ba4440b69b7ff3d71ab
5,218
cpp
C++
mariadb/src/v20170312/model/DescribePriceRequest.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
43
2019-08-14T08:14:12.000Z
2022-03-30T12:35:09.000Z
mariadb/src/v20170312/model/DescribePriceRequest.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
12
2019-07-15T10:44:59.000Z
2021-11-02T12:35:00.000Z
mariadb/src/v20170312/model/DescribePriceRequest.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
28
2019-07-12T09:06:22.000Z
2022-03-30T08:04:18.000Z
/* * Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 ...
23.718182
92
0.707551
[ "model" ]
a485cc2a83cc53b9eeb2a6279cd5fd714e9ab2f5
25,559
cc
C++
tuplex/core/src/HistoryServerConnector.cc
rahulyesantharao/tuplex
03733a57ccb5a3770eecaf1c3adcfb520ed82138
[ "Apache-2.0" ]
null
null
null
tuplex/core/src/HistoryServerConnector.cc
rahulyesantharao/tuplex
03733a57ccb5a3770eecaf1c3adcfb520ed82138
[ "Apache-2.0" ]
null
null
null
tuplex/core/src/HistoryServerConnector.cc
rahulyesantharao/tuplex
03733a57ccb5a3770eecaf1c3adcfb520ed82138
[ "Apache-2.0" ]
null
null
null
//--------------------------------------------------------------------------------------------------------------------// // // // Tuplex: Blazing Fast Python Data Scien...
41.491883
206
0.522517
[ "object", "vector" ]
a48b9e7582046d20ff4b439318675dbe8463957c
1,590
hpp
C++
modules/sdk-core/include/Tanker/Users/LocalUserStore.hpp
TankerHQ/sdk-native
5d9eb7c2048fdefae230590a3110e583f08c2c49
[ "Apache-2.0" ]
19
2018-12-05T12:18:02.000Z
2021-07-13T07:33:22.000Z
modules/sdk-core/include/Tanker/Users/LocalUserStore.hpp
TankerHQ/sdk-native
5d9eb7c2048fdefae230590a3110e583f08c2c49
[ "Apache-2.0" ]
3
2020-03-16T15:52:06.000Z
2020-08-01T11:14:30.000Z
modules/sdk-core/include/Tanker/Users/LocalUserStore.hpp
TankerHQ/sdk-native
5d9eb7c2048fdefae230590a3110e583f08c2c49
[ "Apache-2.0" ]
3
2020-01-07T09:55:32.000Z
2020-08-01T01:29:28.000Z
#pragma once #include <Tanker/Crypto/EncryptionKeyPair.hpp> #include <Tanker/Crypto/PublicSignatureKey.hpp> #include <Tanker/DeviceKeys.hpp> #include <Tanker/Trustchain/DeviceId.hpp> #include <Tanker/Trustchain/UserId.hpp> #include <Tanker/Users/LocalUser.hpp> #include <gsl/gsl-lite.hpp> #include <tconcurrent/corouti...
26.949153
77
0.742767
[ "vector" ]
a49620dca133238aa8fccf6a819b18b72e2716cb
2,774
cc
C++
libs/trimesh/include/libsrc/TriMesh_connectivity.cc
yixin26/Mesh-Segmentation
4c0a775d73970710ff5108aa47b1be8455231285
[ "MIT" ]
23
2017-11-21T13:55:46.000Z
2022-02-23T07:57:28.000Z
trimesh2/TriMesh_connectivity.cc
skair39/structured
0cb4635af7602f2a243a9b739e5ed757424ab2a7
[ "Apache-2.0" ]
3
2015-03-02T22:36:51.000Z
2021-12-14T10:43:38.000Z
trimesh2/TriMesh_connectivity.cc
skair39/structured
0cb4635af7602f2a243a9b739e5ed757424ab2a7
[ "Apache-2.0" ]
14
2015-07-21T04:47:52.000Z
2020-03-12T12:31:25.000Z
/* Szymon Rusinkiewicz Princeton University TriMesh_connectivity.cc Manipulate data structures that describe connectivity between faces and verts. */ #include <stdio.h> #include "TriMesh.h" #include <algorithm> using std::find; // Find the direct neighbors of each vertex void TriMesh::need_neighbors() { if (!neig...
22.192
78
0.602019
[ "vector" ]
a499942a81bf1e05af5ff95af8bd63ff30398a97
2,932
cpp
C++
datastruct20181016/traverse.cpp
lugt/cprogram-oj
6d2de77846a19270da83354486629ed6cba16e9d
[ "Apache-2.0" ]
1
2018-10-10T13:39:22.000Z
2018-10-10T13:39:22.000Z
datastruct20181016/traverse.cpp
lugt/cprogram-oj
6d2de77846a19270da83354486629ed6cba16e9d
[ "Apache-2.0" ]
null
null
null
datastruct20181016/traverse.cpp
lugt/cprogram-oj
6d2de77846a19270da83354486629ed6cba16e9d
[ "Apache-2.0" ]
null
null
null
// // Created by xc5 on 23/9/2018. // #include <iostream> #include <sstream> #include <stack> #include <vector> #include <stdio.h> #include <stdlib.h> #include <memory.h> #include <queue> #include <map> #define OK 0 #define FAIL 1 #define MAX_SIZE ...
22.381679
51
0.458049
[ "vector" ]
a49e97482ebd99ab500ad0e0607baf3646f6cc3a
6,291
hpp
C++
include/ibeosdk/database/basedatamodel/Session.hpp
chouer19/enjoyDriving
e4a29e6cad7d3b0061d59f584cce7cdea2a55351
[ "MIT" ]
1
2020-07-04T15:23:05.000Z
2020-07-04T15:23:05.000Z
include/ibeosdk/database/basedatamodel/Session.hpp
chouer19/enjoyDriving
e4a29e6cad7d3b0061d59f584cce7cdea2a55351
[ "MIT" ]
null
null
null
include/ibeosdk/database/basedatamodel/Session.hpp
chouer19/enjoyDriving
e4a29e6cad7d3b0061d59f584cce7cdea2a55351
[ "MIT" ]
null
null
null
//====================================================================== /*! \file Session.hpp * * \copydoc Copyright * \author Kristian Bischoff (kb) * \date Mar 9, 2016 *///------------------------------------------------------------------- //======================================================================...
34.95
81
0.41456
[ "object", "vector" ]
a4a6199c06c584cbee889ff6e4aaa9eb8151d28c
3,036
cpp
C++
demo/svg_canvas.cpp
danpla/dp_rect_pack
7c2112fe79a65ae7ed6d048e0e978b6dd840c117
[ "Zlib" ]
5
2019-10-30T15:36:22.000Z
2021-12-24T18:15:48.000Z
demo/svg_canvas.cpp
danpla/dp_rect_pack
7c2112fe79a65ae7ed6d048e0e978b6dd840c117
[ "Zlib" ]
null
null
null
demo/svg_canvas.cpp
danpla/dp_rect_pack
7c2112fe79a65ae7ed6d048e0e978b6dd840c117
[ "Zlib" ]
null
null
null
#include "svg_canvas.h" #include <cassert> #include "palette.h" SvgCanvas::SvgCanvas(int w, int h) : w(w) , h(h) , rects() { assert(w > 0); assert(h > 0); } void SvgCanvas::drawRect(const Rect& rect, int rectIdx) { assert(rect.x >= 0); assert(rect.x + rect.w <= w); assert(rect.y >...
25.090909
73
0.480567
[ "shape" ]
a4b4d79ba0088881dd90f6f45f3cd7772bcbc45c
4,043
cpp
C++
VR Engine/src/CompanionWindow.cpp
jeroennelis/VR_engine
80a8cfd26181b8060c6a36f107beaa160c370a23
[ "Apache-2.0" ]
null
null
null
VR Engine/src/CompanionWindow.cpp
jeroennelis/VR_engine
80a8cfd26181b8060c6a36f107beaa160c370a23
[ "Apache-2.0" ]
null
null
null
VR Engine/src/CompanionWindow.cpp
jeroennelis/VR_engine
80a8cfd26181b8060c6a36f107beaa160c370a23
[ "Apache-2.0" ]
null
null
null
#include "CompanionWindow.h" CompanionWindow::CompanionWindow(vr::IVRSystem &VRSettings) { SetupStereoRenderTargets(VRSettings); SetupCompanionWindow(); } CompanionWindow::~CompanionWindow() { } bool CompanionWindow::SetupStereoRenderTargets(vr::IVRSystem &VRSettings) { //TDDO Unhandled exception thrown : rea...
37.435185
128
0.79718
[ "vector" ]
8a55df7ea31d2721acc2cab3a7f55219eebe41b4
8,862
cpp
C++
AmoebotSim/core/localparticle.cpp
pritiahya/Coarse-Models
7bb60cbb5ae90eda951c91036cd4773284f5fa35
[ "MIT" ]
null
null
null
AmoebotSim/core/localparticle.cpp
pritiahya/Coarse-Models
7bb60cbb5ae90eda951c91036cd4773284f5fa35
[ "MIT" ]
null
null
null
AmoebotSim/core/localparticle.cpp
pritiahya/Coarse-Models
7bb60cbb5ae90eda951c91036cd4773284f5fa35
[ "MIT" ]
null
null
null
/* Copyright (C) 2020 Joshua J. Daymude, Robert Gmyr, and Kristian Hinnenthal. * The full GNU GPLv3 can be found in the LICENSE file, and the full copyright * notice can be found at the top of main/main.cpp. */ #include "core/localparticle.h" const std::vector<int> LocalParticle::sixLabels = { {0, 1, 2, 3, 4, 5} ...
25.686957
80
0.659332
[ "vector" ]
8a575962be880809cd72d1a33f3170ca6ad779f1
2,212
cpp
C++
libscg3/src/Transformation.cpp
mmaenz/scg3
59d4ff510a1338dba6fe310e130a9e1629457c3c
[ "Apache-2.0" ]
null
null
null
libscg3/src/Transformation.cpp
mmaenz/scg3
59d4ff510a1338dba6fe310e130a9e1629457c3c
[ "Apache-2.0" ]
2
2019-11-16T12:33:39.000Z
2019-11-16T12:36:02.000Z
libscg3/src/Transformation.cpp
mmaenz/scg3
59d4ff510a1338dba6fe310e130a9e1629457c3c
[ "Apache-2.0" ]
null
null
null
/** * \file Transformation.cpp * * \author Volker Ahlers\n * volker.ahlers@hs-hannover.de */ /* * Copyright 2014-2019 Volker Ahlers * * 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 cop...
22.804124
78
0.700723
[ "render" ]
8a627b52f9039168dc903411622962416c0c7420
1,503
cpp
C++
CPlist/CPlist.cpp
embix/WindowsInternals
a96df1435733da1efcefbc3166e97fb4abfd9956
[ "MIT" ]
1,576
2016-11-16T05:56:28.000Z
2022-03-30T17:14:51.000Z
CPlist/CPlist.cpp
embix/WindowsInternals
a96df1435733da1efcefbc3166e97fb4abfd9956
[ "MIT" ]
15
2017-03-28T00:49:34.000Z
2021-12-22T22:20:33.000Z
CPlist/CPlist.cpp
embix/WindowsInternals
a96df1435733da1efcefbc3166e97fb4abfd9956
[ "MIT" ]
395
2016-12-07T23:13:05.000Z
2022-03-24T00:20:24.000Z
// CPlist.cpp : Defines the entry point for the console application. // #include "stdafx.h" using namespace std; vector<CLSID> EnumerateProviders() { vector<CLSID> guids; HKEY hKey; auto error = ::RegOpenKeyEx(HKEY_LOCAL_MACHINE, L"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Authentication\\Credential Provider...
27.327273
135
0.689953
[ "vector" ]
8a632d7b409b2a882fe0904d6c78d19744e384dc
10,481
cpp
C++
cpp/pybind/t/geometry/lineset.cpp
BlenderGamer/Open3D
8c6a7e74582fe09f3a2295933794bfc16026c21f
[ "MIT" ]
3,673
2019-04-06T05:35:43.000Z
2021-07-27T14:53:14.000Z
cpp/pybind/t/geometry/lineset.cpp
BlenderGamer/Open3D
8c6a7e74582fe09f3a2295933794bfc16026c21f
[ "MIT" ]
2,904
2019-04-06T06:51:22.000Z
2021-07-27T13:49:54.000Z
cpp/pybind/t/geometry/lineset.cpp
BlenderGamer/Open3D
8c6a7e74582fe09f3a2295933794bfc16026c21f
[ "MIT" ]
1,127
2019-04-06T09:39:17.000Z
2021-07-27T03:06:49.000Z
// ---------------------------------------------------------------------------- // - Open3D: www.open3d.org - // ---------------------------------------------------------------------------- // The MIT License (MIT) // // Copyright (c) 2018-2021 www.open3d.org // // Perm...
47
88
0.573705
[ "geometry", "shape", "transform" ]
8a6a58a83a9be26b32f22ace1abe4028828db839
525
cpp
C++
atcoder/abc166/b.cpp
yuik46/competition_programming_code
0c47db99ce7fb9bcf6e3b0dbfb8c84d9cfa165fd
[ "MIT" ]
null
null
null
atcoder/abc166/b.cpp
yuik46/competition_programming_code
0c47db99ce7fb9bcf6e3b0dbfb8c84d9cfa165fd
[ "MIT" ]
null
null
null
atcoder/abc166/b.cpp
yuik46/competition_programming_code
0c47db99ce7fb9bcf6e3b0dbfb8c84d9cfa165fd
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <algorithm> using namespace std; int main(){ int n; int k; cin >> n >> k; vector<int> d(k); vector<int> a(d); vector<int> num(n); for(int i = 0; i < k; i++){ cin >> d[i]; for(int j = 0; j < d[i]; j++){ cin >> a[i]; ...
18.103448
38
0.401905
[ "vector" ]
8a6e4a8c483247346299a06858b39d7af4a68840
747
cpp
C++
1st/majority_element.cpp
buptlxb/leetcode
b641419de040801c4f54618d7ee26edcf10ee53c
[ "BSD-3-Clause" ]
null
null
null
1st/majority_element.cpp
buptlxb/leetcode
b641419de040801c4f54618d7ee26edcf10ee53c
[ "BSD-3-Clause" ]
null
null
null
1st/majority_element.cpp
buptlxb/leetcode
b641419de040801c4f54618d7ee26edcf10ee53c
[ "BSD-3-Clause" ]
null
null
null
#include <iostream> #include <vector> using namespace std; class Solution { public: int majorityElement(vector<int> &num) { int me = num.front(); int count = 1; for (vector<int>::iterator iter = ++num.begin(); iter != num.end(); iter++) { if (me == *ite...
21.970588
89
0.42838
[ "vector" ]
8a72bd6dd5cd6f7789908585e7aa1cb8c244e19d
544
cpp
C++
Codeforces/RandomProblems/796A.cpp
lxdlam/ACM
cde519ef9732ff9e4e9e3f53c00fb30d07bdb306
[ "MIT" ]
1
2017-10-25T13:33:27.000Z
2017-10-25T13:33:27.000Z
Codeforces/RandomProblems/796A.cpp
lxdlam/ACM
cde519ef9732ff9e4e9e3f53c00fb30d07bdb306
[ "MIT" ]
null
null
null
Codeforces/RandomProblems/796A.cpp
lxdlam/ACM
cde519ef9732ff9e4e9e3f53c00fb30d07bdb306
[ "MIT" ]
1
2018-01-22T08:06:11.000Z
2018-01-22T08:06:11.000Z
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef pair<int, int> pii; typedef vector<int> vi; typedef vector<ll> vll; typedef set<int> si; int main() { ios::sync_with_stdio(false); cin.tie(0); cout.tie(0); int n, m, k; cin >> n >> m >> k; vi v(n + 1); v.emplace_back(0); int...
18.758621
69
0.520221
[ "vector" ]
8a72e7bc83e0ca0d3c1dd99dff4c21bd5dc004bb
33,005
cpp
C++
Products/DMS_Web/dms_webworksimpl.cpp
TrevorDArcyEvans/DivingMagpieSoftware
7ffcfef653b110e514d5db735d11be0aae9953ec
[ "MIT" ]
1
2021-05-27T10:27:25.000Z
2021-05-27T10:27:25.000Z
Products/DMS_Web/dms_webworksimpl.cpp
TrevorDArcyEvans/Diving-Magpie-Software
7ffcfef653b110e514d5db735d11be0aae9953ec
[ "MIT" ]
null
null
null
Products/DMS_Web/dms_webworksimpl.cpp
TrevorDArcyEvans/Diving-Magpie-Software
7ffcfef653b110e514d5db735d11be0aae9953ec
[ "MIT" ]
null
null
null
// DMS_WEBWORKSIMPL : Implementation of TDMS_WebWorksImpl (CoClass: DMS_WebWorks, Interface: IDMS_WebWorks) #include <vcl.h> #pragma hdrstop #include "DMS_WEBWORKSIMPL.H" #include "configure.h" #include <assert.h> #include <math.h> #include "BmpToJpg.hpp" /////////////////////////////////////////////////////////////...
37.763158
153
0.541645
[ "model" ]
8a75dfe32e55af84380958da9c90835cc0ec111c
10,534
hh
C++
lib/spot-2.8.1/spot/twaalgos/postproc.hh
AlessandroCaste/SynkrisisJupyter
a9c2b21ec1ae7ac0c05ef5deebc63a369274650f
[ "Unlicense" ]
null
null
null
lib/spot-2.8.1/spot/twaalgos/postproc.hh
AlessandroCaste/SynkrisisJupyter
a9c2b21ec1ae7ac0c05ef5deebc63a369274650f
[ "Unlicense" ]
null
null
null
lib/spot-2.8.1/spot/twaalgos/postproc.hh
AlessandroCaste/SynkrisisJupyter
a9c2b21ec1ae7ac0c05ef5deebc63a369274650f
[ "Unlicense" ]
null
null
null
// -*- coding: utf-8 -*- // Copyright (C) 2012-2019 Laboratoire de Recherche et Développement // de l'Epita (LRDE). // // This file is part of Spot, a model checking library. // // Spot is free software; you can redistribute it and/or modify it // under the terms of the GNU General Public License as published by // the...
40.671815
79
0.658534
[ "model" ]
8a81f7782d14f00b3257b52676b61b287706ac8c
5,111
cpp
C++
WickedEngine/wiLensFlare.cpp
Zedidle/WickedEngine
1d4318985e0dc8f222f3213cfbc38b6c4fedd46f
[ "Zlib", "MIT" ]
null
null
null
WickedEngine/wiLensFlare.cpp
Zedidle/WickedEngine
1d4318985e0dc8f222f3213cfbc38b6c4fedd46f
[ "Zlib", "MIT" ]
null
null
null
WickedEngine/wiLensFlare.cpp
Zedidle/WickedEngine
1d4318985e0dc8f222f3213cfbc38b6c4fedd46f
[ "Zlib", "MIT" ]
null
null
null
#include "wiLensFlare.h" #include "wiRenderer.h" #include "wiResourceManager.h" #include "ResourceMapping.h" #include "ShaderInterop_Renderer.h" #include "wiBackLog.h" using namespace wiGraphics; namespace wiLensFlare { static GPUBuffer constantBuffer; static const PixelShader *pixelShader = nullptr; static const ...
29.715116
158
0.747995
[ "vector" ]
8a8f592959e9aaf9a0e2fa4aa3201b9758cc6a2f
11,638
cpp
C++
Forsyth.cpp
korzen/DeformableArmadillo
4fe2d8787f0538c75d158f5d5dc14027c8160be0
[ "MIT" ]
6
2015-04-26T01:44:03.000Z
2021-02-05T05:59:51.000Z
Forsyth.cpp
matejd/DeformableArmadillo
4fe2d8787f0538c75d158f5d5dc14027c8160be0
[ "MIT" ]
null
null
null
Forsyth.cpp
matejd/DeformableArmadillo
4fe2d8787f0538c75d158f5d5dc14027c8160be0
[ "MIT" ]
2
2015-04-02T15:18:48.000Z
2015-04-02T18:40:00.000Z
/* Copyright (C) 2008 Martin Storsjo This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, including commercial ap...
35.590214
153
0.620296
[ "mesh" ]
8a90bf823efe1cb69e669713af44a93764cf0dff
3,433
cpp
C++
libiop/tests/snark/test_serialization.cpp
alexander-zw/libiop
a2ed2ec2f3e85f29b6035951553b02cb737c817a
[ "MIT" ]
null
null
null
libiop/tests/snark/test_serialization.cpp
alexander-zw/libiop
a2ed2ec2f3e85f29b6035951553b02cb737c817a
[ "MIT" ]
null
null
null
libiop/tests/snark/test_serialization.cpp
alexander-zw/libiop
a2ed2ec2f3e85f29b6035951553b02cb737c817a
[ "MIT" ]
null
null
null
#include <cstdint> #include <type_traits> #include <sstream> #include <gtest/gtest.h> #include <libff/algebra/fields/binary/gf64.hpp> #include <libff/algebra/curves/alt_bn128/alt_bn128_pp.hpp> #include "libiop/algebra/polynomials/polynomial.hpp" #include "libiop/iop/iop.hpp" #include "libiop/tests/bcs/dummy_bcs_prot...
35.030612
115
0.688319
[ "vector" ]
8a96d4ef94fabc15d1bdfa7a2abe0ac0290c461b
2,865
cpp
C++
src/pascalvocimporter.cpp
skn123/deeplabel
02dc59ccb368fbbae5f1a02b589f8f370a8dc17f
[ "MIT" ]
164
2018-04-19T00:41:39.000Z
2022-02-22T12:52:53.000Z
src/pascalvocimporter.cpp
skn123/deeplabel
02dc59ccb368fbbae5f1a02b589f8f370a8dc17f
[ "MIT" ]
32
2019-04-20T00:19:48.000Z
2021-10-03T18:38:12.000Z
src/pascalvocimporter.cpp
skn123/deeplabel
02dc59ccb368fbbae5f1a02b589f8f370a8dc17f
[ "MIT" ]
27
2018-07-23T04:49:59.000Z
2022-02-21T00:42:53.000Z
#include "pascalvocimporter.h" void PascalVOCImporter::import(QString image_folder, QString annotation_folder){ QDir image_dir(image_folder); QDir annotation_dir(annotation_folder); QList<QList<BoundingBox>> label_list; QList<QString> image_list; auto annotations = QDir(annotation_folder).entryL...
30.157895
98
0.64712
[ "object" ]
8a9817b7e0841c657d961565f3ad5202bdb40099
8,598
cc
C++
src/fortracking.cc
zhearing/Apollo-seg
076a9de2da41322399e06dfb3fc8be5f34d60c9c
[ "Apache-2.0" ]
15
2018-11-16T07:32:36.000Z
2022-03-24T07:55:08.000Z
src/fortracking.cc
zhearing/Apollo-seg
076a9de2da41322399e06dfb3fc8be5f34d60c9c
[ "Apache-2.0" ]
3
2019-02-28T07:42:48.000Z
2019-09-27T06:29:02.000Z
src/fortracking.cc
zhearing/Apollo-seg
076a9de2da41322399e06dfb3fc8be5f34d60c9c
[ "Apache-2.0" ]
7
2019-01-29T05:06:05.000Z
2020-09-07T08:16:16.000Z
/****************************************************************************** * Copyright 2017 The Apollo 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 ...
36.432203
134
0.565946
[ "vector" ]
8a9e3f8160a924db1c40fb555130615dc4c17ec8
5,117
cpp
C++
C++/Algorithms and data structures/lr3/qt-material-widgets/radix-sort/radixSort.cpp
po4yka/elementary-education-projects
f525a41eef2dee98e2a2ff8a7d063fac747d0d4b
[ "MIT" ]
1
2020-09-01T20:22:30.000Z
2020-09-01T20:22:30.000Z
C++/Algorithms and data structures/lr3/qt-material-widgets/radix-sort/radixSort.cpp
po4yka/EducationProjects
f525a41eef2dee98e2a2ff8a7d063fac747d0d4b
[ "MIT" ]
null
null
null
C++/Algorithms and data structures/lr3/qt-material-widgets/radix-sort/radixSort.cpp
po4yka/EducationProjects
f525a41eef2dee98e2a2ff8a7d063fac747d0d4b
[ "MIT" ]
null
null
null
#include "basicheaders.h" #include "radixSort.h" #include "console.h" #include "partitioncustom.h" radixSort::radixSort(bool sortFlag, bool stepFlag, bool consoleMode) { this->stepFlag = stepFlag; this->sortFlag = sortFlag; this->consoleMode = consoleMode; this->printResFlag = false; lsb = 0; ...
27.961749
102
0.583936
[ "object", "vector" ]
8aa16e58b96d57b773bf2daf87b6410b719260af
13,931
cpp
C++
third_party/virtualbox/src/libs/xpcom18a4/xpcom/base/nsMemoryImpl.cpp
Fimbure/icebox-1
0b81992a53e1b410955ca89bdb6f8169d6f2da86
[ "MIT" ]
521
2019-03-29T15:44:08.000Z
2022-03-22T09:46:19.000Z
third_party/virtualbox/src/libs/xpcom18a4/xpcom/base/nsMemoryImpl.cpp
Fimbure/icebox-1
0b81992a53e1b410955ca89bdb6f8169d6f2da86
[ "MIT" ]
30
2019-06-04T17:00:49.000Z
2021-09-08T20:44:19.000Z
third_party/virtualbox/src/libs/xpcom18a4/xpcom/base/nsMemoryImpl.cpp
Fimbure/icebox-1
0b81992a53e1b410955ca89bdb6f8169d6f2da86
[ "MIT" ]
99
2019-03-29T16:04:13.000Z
2022-03-28T16:59:34.000Z
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the Lic...
25.375228
97
0.635705
[ "object" ]
8aa4ada8eeada324a70898ded8f0a415ee7d1640
3,633
cpp
C++
version/C++/histogram.cpp
lxd551326/ee
6fd6b07da07fab05301d2955d83052e33a09706b
[ "MIT" ]
40
2018-04-30T03:15:20.000Z
2019-05-14T18:04:42.000Z
version/C++/histogram.cpp
lxd551326/ee
6fd6b07da07fab05301d2955d83052e33a09706b
[ "MIT" ]
6
2018-05-24T04:11:47.000Z
2018-12-06T12:15:09.000Z
version/C++/histogram.cpp
lxd551326/ee
6fd6b07da07fab05301d2955d83052e33a09706b
[ "MIT" ]
14
2018-05-06T10:07:19.000Z
2019-05-28T10:26:38.000Z
#include "dependency\lbp\histogram.hpp" #include <vector> template <typename _Tp> void lbp::histogram_(const Mat& src, Mat& hist, int numPatterns) { hist = Mat::zeros(1, numPatterns, CV_32SC1); for (int i = 0; i < src.rows; i++) { for (int j = 0; j < src.cols; j++) { int bin = src.at<_Tp>(i, j); hist.at<int>...
36.33
107
0.696669
[ "vector" ]
8aa87690bdbf5d6c2cf3d1e437be803ae8f65e07
1,371
hpp
C++
utils.hpp
blockchainhelp/backend-for-miner-platform
c7718b67be6e53ae5a5d13c64a4ca9af29a4ac76
[ "Apache-2.0" ]
null
null
null
utils.hpp
blockchainhelp/backend-for-miner-platform
c7718b67be6e53ae5a5d13c64a4ca9af29a4ac76
[ "Apache-2.0" ]
null
null
null
utils.hpp
blockchainhelp/backend-for-miner-platform
c7718b67be6e53ae5a5d13c64a4ca9af29a4ac76
[ "Apache-2.0" ]
null
null
null
#include <types.hpp> namespace utils { using std::string; asset get_supply(const name &token_contract_account, const symbol_code &sym_code) { stats statstable(token_contract_account, sym_code.raw()); std::string err_msg = "invalid token contract: "; err_msg.append(token_contract_account.to_string()); const...
27.979592
101
0.664478
[ "vector" ]
8aa9a15e91fa0934b37010e35118e7dcfaf37ce3
9,585
cpp
C++
Source/BootDebug/IDE.cpp
FoxCutter/BootDebug
d40afa3a19d8a840788cbdb091cc121b01b36f7f
[ "BSD-2-Clause" ]
null
null
null
Source/BootDebug/IDE.cpp
FoxCutter/BootDebug
d40afa3a19d8a840788cbdb091cc121b01b36f7f
[ "BSD-2-Clause" ]
1
2020-02-15T03:11:11.000Z
2020-02-15T03:11:11.000Z
Source/BootDebug/IDE.cpp
FoxCutter/BootDebug
d40afa3a19d8a840788cbdb091cc121b01b36f7f
[ "BSD-2-Clause" ]
null
null
null
#include "IDE.h" #include "DriverBase.h" static uint32_t IDEFactorFunction(Driver::DriverObject *DriverObject) { return 0xFFFFFFFF; } #pragma data_seg(".DRIVER$IDE") static Driver::PCIDriverCatalog IDEDriverCatalog = { { sizeof(Driver::PCIDriverCatalog), // Size Driver::eDriverTypePCI, // Driv...
25.357143
114
0.664058
[ "model" ]
8aaf63c710f656226df36cef46a5ec78f8fe939b
15,281
cpp
C++
opencamlib-read-only/src/cutsim/volume.cpp
play113/swer
78764c67885dfacb1fa24e494a20681265f5254c
[ "MIT" ]
null
null
null
opencamlib-read-only/src/cutsim/volume.cpp
play113/swer
78764c67885dfacb1fa24e494a20681265f5254c
[ "MIT" ]
null
null
null
opencamlib-read-only/src/cutsim/volume.cpp
play113/swer
78764c67885dfacb1fa24e494a20681265f5254c
[ "MIT" ]
1
2020-07-04T13:58:00.000Z
2020-07-04T13:58:00.000Z
/* $Id: volume.cpp 777 2011-06-29 13:30:31Z anders.e.e.wallin $ * * Copyright 2010 Anders Wallin (anders.e.e.wallin "at" gmail.com) * * This file is part of OpenCAMlib. * * OpenCAMlib is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as publish...
25.682353
97
0.541784
[ "vector" ]
8aaf7e3a3dfd724a1d3cf8b84a40d770377b50bb
2,703
cpp
C++
motoman_motomini_control/src/motomini_movegroup_control.cpp
RobinCPC/motoman_motomini
440954109a6dc0d4b657d66a71c858464c8eb631
[ "BSD-3-Clause" ]
null
null
null
motoman_motomini_control/src/motomini_movegroup_control.cpp
RobinCPC/motoman_motomini
440954109a6dc0d4b657d66a71c858464c8eb631
[ "BSD-3-Clause" ]
null
null
null
motoman_motomini_control/src/motomini_movegroup_control.cpp
RobinCPC/motoman_motomini
440954109a6dc0d4b657d66a71c858464c8eb631
[ "BSD-3-Clause" ]
null
null
null
// ----------------------------------------------------------------------------- // Copyright 2019 NexCOBOT Inc. // Author: Robin Chen // Contact: robinchen@nexcobot.com // // ----------------------------------------------------------------------------- //#include <motoman_motomini_control/motomini_movegroup_control.h>...
32.178571
105
0.686275
[ "vector" ]
8ab062840740cc0f31159f7f69449b34bbaa95db
1,237
cc
C++
trademark/src/model/FilterUnavailableCodesRequest.cc
iamzken/aliyun-openapi-cpp-sdk
3c991c9ca949b6003c8f498ce7a672ea88162bf1
[ "Apache-2.0" ]
89
2018-02-02T03:54:39.000Z
2021-12-13T01:32:55.000Z
trademark/src/model/FilterUnavailableCodesRequest.cc
iamzken/aliyun-openapi-cpp-sdk
3c991c9ca949b6003c8f498ce7a672ea88162bf1
[ "Apache-2.0" ]
89
2018-03-14T07:44:54.000Z
2021-11-26T07:43:25.000Z
trademark/src/model/FilterUnavailableCodesRequest.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
69
2018-01-22T09:45:52.000Z
2022-03-28T07:58:38.000Z
/* * Copyright 2009-2017 Alibaba Cloud All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required...
30.170732
75
0.762328
[ "model" ]
8ab1dc45b9eec4de6775bcff0071b735071580f3
3,120
cpp
C++
StyleTransfer.cpp
Pandinosaurus/tflite-win-c
585cb93969b8ccdab52b10bb0a84a999ba764f54
[ "MIT" ]
16
2020-06-23T10:52:24.000Z
2022-03-03T08:33:21.000Z
StyleTransfer.cpp
Pandinosaurus/tflite-win-c
585cb93969b8ccdab52b10bb0a84a999ba764f54
[ "MIT" ]
null
null
null
StyleTransfer.cpp
Pandinosaurus/tflite-win-c
585cb93969b8ccdab52b10bb0a84a999ba764f54
[ "MIT" ]
7
2020-06-23T10:54:18.000Z
2022-02-28T06:03:33.000Z
#include "Utils.h" #include "StyleTransfer.h" StyleTransfer::StyleTransfer(const char* modelPath) { initModel(modelPath); } StyleTransfer::~StyleTransfer() { if (m_model != nullptr) TfLiteModelDelete(m_model); } void StyleTransfer::initModel(const char* modelPath) { m_model = TfLiteModelCreateFrom...
29.433962
180
0.702244
[ "vector", "model" ]
8abf9f11da5add5ecca9ffc4a998f115b4920b74
11,968
cc
C++
log/src/QueryOptions.cc
srmainwaring/ign-transport
f3c8f8b043c4cf2203ad0dd621181b882cae5667
[ "ECL-2.0", "Apache-2.0" ]
21
2020-04-15T16:58:42.000Z
2022-03-07T00:27:15.000Z
log/src/QueryOptions.cc
srmainwaring/ign-transport
f3c8f8b043c4cf2203ad0dd621181b882cae5667
[ "ECL-2.0", "Apache-2.0" ]
164
2020-04-29T23:29:49.000Z
2022-03-25T22:30:10.000Z
log/src/QueryOptions.cc
srmainwaring/ign-transport
f3c8f8b043c4cf2203ad0dd621181b882cae5667
[ "ECL-2.0", "Apache-2.0" ]
23
2020-05-15T18:34:59.000Z
2022-02-01T16:46:52.000Z
/* * Copyright (C) 2018 Open Source Robotics Foundation * * 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 appl...
26.774049
80
0.587567
[ "vector" ]
8ac553680f7f46ba9972cfcc7dd1aadc65a86ced
7,623
cpp
C++
eval/src/tests/eval/simple_value/simple_value_test.cpp
amahussein/vespa
29d266ae1e5c95e25002b97822953fdd02b1451e
[ "Apache-2.0" ]
null
null
null
eval/src/tests/eval/simple_value/simple_value_test.cpp
amahussein/vespa
29d266ae1e5c95e25002b97822953fdd02b1451e
[ "Apache-2.0" ]
null
null
null
eval/src/tests/eval/simple_value/simple_value_test.cpp
amahussein/vespa
29d266ae1e5c95e25002b97822953fdd02b1451e
[ "Apache-2.0" ]
null
null
null
// Copyright Verizon Media. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include <vespa/eval/eval/simple_value.h> #include <vespa/eval/eval/test/tensor_model.hpp> #include <vespa/vespalib/util/stringfmt.h> #include <vespa/vespalib/gtest/gtest.h> using namespace vespalib; using...
45.375
114
0.52722
[ "vector" ]
8ac7e10d1dc31ecac66dbd850e59ce0d89dfa671
3,409
cpp
C++
isis/src/base/objs/PolynomialUnivariate/PolynomialUnivariate.cpp
kdl222/ISIS3
aab0e63088046690e6c031881825596c1c2cc380
[ "CC0-1.0" ]
134
2018-01-18T00:16:24.000Z
2022-03-24T03:53:33.000Z
isis/src/base/objs/PolynomialUnivariate/PolynomialUnivariate.cpp
kdl222/ISIS3
aab0e63088046690e6c031881825596c1c2cc380
[ "CC0-1.0" ]
3,825
2017-12-11T21:27:34.000Z
2022-03-31T21:45:20.000Z
isis/src/base/objs/PolynomialUnivariate/PolynomialUnivariate.cpp
jlaura/isis3
2c40e08caed09968ea01d5a767a676172ad20080
[ "CC0-1.0" ]
164
2017-11-30T21:15:44.000Z
2022-03-23T10:22:29.000Z
/** This is free and unencumbered software released into the public domain. The authors of ISIS do not claim copyright on the contents of this file. For more details about the LICENSE terms and the AUTHORS, you will find files of those names at the top level of this repository. **/ /* SPDX-License-Identifier: CC0-1.0 ...
30.4375
99
0.654444
[ "object", "vector" ]
8ac9ffea431672a5367f01af2ebccba1bbab5a72
54,744
cpp
C++
fennel/calctest/SqlStringTestAscii.cpp
alexavila150/luciddb
e3125564eb18238677e6efb384b630cab17bb472
[ "Apache-2.0" ]
14
2015-07-21T06:31:22.000Z
2020-05-13T14:18:33.000Z
fennel/calctest/SqlStringTestAscii.cpp
alexavila150/luciddb
e3125564eb18238677e6efb384b630cab17bb472
[ "Apache-2.0" ]
1
2020-05-04T23:08:51.000Z
2020-05-04T23:08:51.000Z
fennel/calctest/SqlStringTestAscii.cpp
alexavila150/luciddb
e3125564eb18238677e6efb384b630cab17bb472
[ "Apache-2.0" ]
22
2015-01-03T14:27:36.000Z
2021-09-14T02:09:13.000Z
/* // Licensed to DynamoBI Corporation (DynamoBI) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. DynamoBI licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may ...
36.593583
80
0.426586
[ "vector" ]
8acb895c6deb23887be4511e26b061f9a15e1f24
1,571
cpp
C++
standard/min-heap.cpp
priyanksingh02/ds-algo
d024f5e6313a1b7bf3fcbc9ad775cb7bdd986916
[ "CC0-1.0" ]
1
2021-06-21T18:09:31.000Z
2021-06-21T18:09:31.000Z
standard/min-heap.cpp
priyanksingh02/ds-algo
d024f5e6313a1b7bf3fcbc9ad775cb7bdd986916
[ "CC0-1.0" ]
null
null
null
standard/min-heap.cpp
priyanksingh02/ds-algo
d024f5e6313a1b7bf3fcbc9ad775cb7bdd986916
[ "CC0-1.0" ]
1
2021-03-12T11:35:37.000Z
2021-03-12T11:35:37.000Z
#include <iostream> #include <algorithm> #include <vector> using namespace std; struct min_heap { vector<int> d; min_heap() {} min_heap(const vector<int> & arr) { d = arr; for(int i = parent((int)arr.size()-1); i>= 0; --i) { heapify(i); } } inline int parent(int a) { return (a-1)>>1;} inl...
20.402597
56
0.516868
[ "vector" ]
8acec2b319790ab23916ee662e03accec17a0f79
1,234
cpp
C++
tools/converter/source/tflite/BatchMatMulTflite.cpp
Napoleon-Jm/MNN
67f8bc94ef8227baca2ed8acb155693917cd57e8
[ "Apache-2.0" ]
6,958
2019-05-06T02:38:02.000Z
2022-03-31T18:08:48.000Z
tools/converter/source/tflite/BatchMatMulTflite.cpp
Napoleon-Jm/MNN
67f8bc94ef8227baca2ed8acb155693917cd57e8
[ "Apache-2.0" ]
1,775
2019-05-06T04:40:19.000Z
2022-03-30T15:39:24.000Z
tools/converter/source/tflite/BatchMatMulTflite.cpp
Napoleon-Jm/MNN
67f8bc94ef8227baca2ed8acb155693917cd57e8
[ "Apache-2.0" ]
1,511
2019-05-06T02:38:05.000Z
2022-03-31T16:59:39.000Z
// // BatchMatMulTflite.cpp // MNNConverter // // Created by MNN on 2021/09/17. // Copyright © 2018, Alibaba Group Holding Limited // #include <stdio.h> #include "liteOpConverter.hpp" DECLARE_OP_COVERTER(BatchMatMulTflite); MNN::OpType BatchMatMulTflite::opType(bool quantizedModel) { return MNN::OpType_BatchM...
34.277778
118
0.700162
[ "vector" ]
8acf6ae96e12a971d684bf020df00d6d81af80a3
399
cpp
C++
bidao-wallet-qt/currency.cpp
officialBidao/bidnode
0e52e9f025c404cd450df64d698dfe879e035813
[ "MIT" ]
3
2020-02-14T13:55:49.000Z
2021-05-11T11:33:23.000Z
bidao-wallet-qt/currency.cpp
officialBidao/bidnode
0e52e9f025c404cd450df64d698dfe879e035813
[ "MIT" ]
null
null
null
bidao-wallet-qt/currency.cpp
officialBidao/bidnode
0e52e9f025c404cd450df64d698dfe879e035813
[ "MIT" ]
null
null
null
#include "currency.h" currency::currency() { coin *c1 = new coin(); c1->set_name("Bidao"); c1->set_name("BID"); coin *c2 = new coin(); c2->set_name("Bidao Stable"); c2->set_name("BAI"); this->available_currency.push_back(c1); this->available_currency.push_back(c2); } std::vector<coi...
19
54
0.64411
[ "vector" ]
8ad42ba07dac37a0b64185f7ee1506be41474391
141,930
cpp
C++
EOSAI/EOSAIThoughtDatabase.cpp
BritClousing/EOSAI
c147500d223c361dce2e32d6547aaa234c07d472
[ "MIT" ]
1
2019-05-22T12:41:38.000Z
2019-05-22T12:41:38.000Z
EOSAI/EOSAIThoughtDatabase.cpp
BritClousing/EOSAI
c147500d223c361dce2e32d6547aaa234c07d472
[ "MIT" ]
null
null
null
EOSAI/EOSAIThoughtDatabase.cpp
BritClousing/EOSAI
c147500d223c361dce2e32d6547aaa234c07d472
[ "MIT" ]
null
null
null
#include <stdafx.h> #include "EOSAIThoughtDatabase.h" //#include "AIThought_WhatCityHuntersCanIBuild.h" #include "EOSAIBrain.h" //#include "WorldDesc.h" //#include "WorldDescPlayer.h" #include "AIPlayer.h" #include "EOSAIGamePlayer.h" #include "EOSAIBuildOption.h" #include "EOSAIUnitTemplate.h" //#include "AIThought.h...
34.625518
175
0.740217
[ "object", "3d" ]
e9e3b7dc4ffea7bea757955d3653ebcc731106f4
3,954
cc
C++
ns3/ns-3.26/src/aodv/model/aodv-rqueue.cc
Aedemon/clusim
7f09cdb79b5f02cf0fed1bd44842981941f29f32
[ "Apache-2.0" ]
7
2017-08-11T06:06:47.000Z
2022-02-27T07:34:33.000Z
ns3/ns-3.26/src/aodv/model/aodv-rqueue.cc
Aedemon/clusim
7f09cdb79b5f02cf0fed1bd44842981941f29f32
[ "Apache-2.0" ]
3
2017-08-11T03:04:59.000Z
2017-09-11T14:01:14.000Z
ns3/ns-3.26/src/aodv/model/aodv-rqueue.cc
Aedemon/clusim
7f09cdb79b5f02cf0fed1bd44842981941f29f32
[ "Apache-2.0" ]
3
2017-08-08T13:36:30.000Z
2018-07-04T09:49:41.000Z
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation; * * This program is distribu...
26.013158
108
0.617097
[ "vector", "model" ]
e9e9f5e2ea29c6c107b8d2d0ea69253f50ad1083
6,872
cc
C++
lib/parsing/Parser.cc
fabriquer/fabrique
d141ef698ddbeddb5b800f7f906d93751a06f809
[ "BSD-2-Clause" ]
2
2018-11-12T22:51:37.000Z
2019-03-13T12:46:03.000Z
lib/parsing/Parser.cc
fabriquer/fabrique
d141ef698ddbeddb5b800f7f906d93751a06f809
[ "BSD-2-Clause" ]
23
2015-03-06T16:14:49.000Z
2019-04-04T18:08:52.000Z
lib/parsing/Parser.cc
fabriquer/fabrique
d141ef698ddbeddb5b800f7f906d93751a06f809
[ "BSD-2-Clause" ]
null
null
null
//! @file parsing/Parser.cc Definition of @ref fabrique::parsing::Parser /* * Copyright (c) 2013-2014, 2018-2019 Jonathan Anderson * All rights reserved. * * This software was developed by SRI International and the University of * Cambridge Computer Laboratory under DARPA/AFRL contract (FA8750-10-C-0237) * ("C...
26.129278
86
0.693102
[ "vector" ]
e9eca7630b020fed8267b90b5c3819ff78728d47
2,538
cpp
C++
src/wasgo_runtime.cpp
MMMaellon/WasGo
17e4c5c8a7bc9d266dbc73882471796a36e9b3ff
[ "MIT" ]
null
null
null
src/wasgo_runtime.cpp
MMMaellon/WasGo
17e4c5c8a7bc9d266dbc73882471796a36e9b3ff
[ "MIT" ]
null
null
null
src/wasgo_runtime.cpp
MMMaellon/WasGo
17e4c5c8a7bc9d266dbc73882471796a36e9b3ff
[ "MIT" ]
1
2020-12-31T00:26:24.000Z
2020-12-31T00:26:24.000Z
#include "wasgo_runtime.h" #include "wasgo_function_table.h" char WasGoRuntime::global_heap_buf[512 * 1024 * 100]; WasGoRuntime *WasGoRuntime::singleton = NULL; RuntimeInitArgs WasGoRuntime::init_args; WasGoRuntime *WasGoRuntime::get_singleton() { return singleton; } //wasm_module_t WasGoRuntime::load_module(Strin...
30.578313
108
0.716706
[ "vector" ]
e9f2d6a1c562c03900bf0ea514deafc838f79aaa
3,594
cpp
C++
MetaCPP/src/MetaCPP/Type.cpp
LotfiAghel/MetaCPP
6476ffce12099fa35db2816ddd02f2468cc1a336
[ "Apache-2.0" ]
null
null
null
MetaCPP/src/MetaCPP/Type.cpp
LotfiAghel/MetaCPP
6476ffce12099fa35db2816ddd02f2468cc1a336
[ "Apache-2.0" ]
null
null
null
MetaCPP/src/MetaCPP/Type.cpp
LotfiAghel/MetaCPP
6476ffce12099fa35db2816ddd02f2468cc1a336
[ "Apache-2.0" ]
null
null
null
#include "MetaCPP/Type.hpp" #include "MetaCPP/Storage.hpp" #include "MetaCPP/QualifiedType.hpp" namespace metacpp { Type::Type(const TypeID id, const QualifiedName& qName) : m_ID(id), m_QualifiedName(qName), m_SizeInBytes(-1), m_Kind(TypeKind::PRIMITIVE), m_Access(AccessSpecifier::PUBLIC), m_Polymorphic(...
18.336735
108
0.696995
[ "vector" ]
e9f69064a56dfdf22815c5c64259684e2ee13d26
10,308
hpp
C++
include/rosinterface_handler/smart_subscriber.hpp
lucascoelhof/rosinterface_handler
5c2e8968fecbe821ef7ed2f36e398fe897828ceb
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
include/rosinterface_handler/smart_subscriber.hpp
lucascoelhof/rosinterface_handler
5c2e8968fecbe821ef7ed2f36e398fe897828ceb
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
include/rosinterface_handler/smart_subscriber.hpp
lucascoelhof/rosinterface_handler
5c2e8968fecbe821ef7ed2f36e398fe897828ceb
[ "BSD-2-Clause-FreeBSD" ]
1
2020-08-19T02:44:35.000Z
2020-08-19T02:44:35.000Z
#pragma once #include <cstdlib> #include <mutex> #include <thread> #include <message_filters/subscriber.h> #include <message_filters/synchronizer.h> #include <ros/callback_queue.h> #include <ros/publication.h> #include <ros/publisher.h> #include <ros/topic_manager.h> namespace rosinterface_handler { namespace detail {...
35.544828
120
0.638824
[ "vector" ]
1808100c3021f41a5c8a6935b5216e94eaac0b04
2,531
hpp
C++
include/modprop/utils/MatrixUtils.hpp
Humhu/modprop
0cff8240d5e1522f620de8004c22a74491a0c9fb
[ "AFL-3.0" ]
1
2017-11-10T00:54:53.000Z
2017-11-10T00:54:53.000Z
include/modprop/utils/MatrixUtils.hpp
Humhu/modprop
0cff8240d5e1522f620de8004c22a74491a0c9fb
[ "AFL-3.0" ]
null
null
null
include/modprop/utils/MatrixUtils.hpp
Humhu/modprop
0cff8240d5e1522f620de8004c22a74491a0c9fb
[ "AFL-3.0" ]
null
null
null
#pragma once #include <Eigen/Dense> #include <stdexcept> #include <boost/foreach.hpp> namespace argus { VectorType flatten_matrices( const std::vector<MatrixType>& mats ) { unsigned int n = 0; BOOST_FOREACH( const MatrixType& mat, mats ) { n += mat.size(); } VectorType out(n); unsigned int ind = 0; BOOST_FO...
20.745902
71
0.582774
[ "vector" ]
180c0b4086cb5dd0466c42b4085a0b6e14df7e83
14,418
cpp
C++
src/robotnik_trajectory_pad_node.cpp
asoriano1/robotnik_trajectory_pad
ba1aed48fd9f52d93984b2d0c64b8ff514dd56f5
[ "Apache-2.0" ]
null
null
null
src/robotnik_trajectory_pad_node.cpp
asoriano1/robotnik_trajectory_pad
ba1aed48fd9f52d93984b2d0c64b8ff514dd56f5
[ "Apache-2.0" ]
null
null
null
src/robotnik_trajectory_pad_node.cpp
asoriano1/robotnik_trajectory_pad
ba1aed48fd9f52d93984b2d0c64b8ff514dd56f5
[ "Apache-2.0" ]
null
null
null
/* * robotnik_trajectory_pad * Copyright (c) 2013, Robotnik Automation, SLL * 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 c...
35.425061
179
0.71709
[ "vector" ]
1812fd279f4fd86261a0bc2357b6810bddcfa48d
1,190
cpp
C++
Neural Network/SetErrors.cpp
Omar-Belghaouti/Neural-Network
faac2ce06b45871ff8c33130638f821c1d352814
[ "MIT" ]
4
2019-07-17T10:27:05.000Z
2021-01-20T20:03:30.000Z
Neural Network/SetErrors.cpp
Omar-Belghaouti/Neural-Network
faac2ce06b45871ff8c33130638f821c1d352814
[ "MIT" ]
null
null
null
Neural Network/SetErrors.cpp
Omar-Belghaouti/Neural-Network
faac2ce06b45871ff8c33130638f821c1d352814
[ "MIT" ]
null
null
null
#include "pch.h" #include "NeuralNetwork.h" // Setters void NeuralNetwork::set_errors() { if (this->target.size() == 0) { cerr << "No target for this neural network" << endl; assert(false); } if (this->target.size() != this->layers.at(this->layers.size() - 1)->get_neurons().size()) { cerr << "Target size (" ...
29.02439
170
0.611765
[ "vector" ]
18135740db406dd066e466db1a474baffa9c4cde
5,304
cpp
C++
3party/jansson/myjansson.cpp
marceldallagnol/omim
774de15a3b8c369acbf412f15a1db61717358262
[ "Apache-2.0" ]
null
null
null
3party/jansson/myjansson.cpp
marceldallagnol/omim
774de15a3b8c369acbf412f15a1db61717358262
[ "Apache-2.0" ]
null
null
null
3party/jansson/myjansson.cpp
marceldallagnol/omim
774de15a3b8c369acbf412f15a1db61717358262
[ "Apache-2.0" ]
null
null
null
#include "3party/jansson/myjansson.hpp" #include <type_traits> using namespace std; namespace { template <typename T> void ReadIntegral(json_t * root, string const & field, T & result) { static_assert(is_integral<T>::value, "T must be an integral type"); auto * val = my::GetJSONObligatoryField(root, field); i...
27.2
94
0.69325
[ "object" ]
18193f8064e1cc3c58908cc710dd9cca75957732
20,647
cc
C++
itensor/itdata/qdense.cc
alexwie/ITensor
867dcc6bb0de152b5e5d19969cb09dd8ed1d53fc
[ "Apache-2.0" ]
4
2019-12-27T06:24:28.000Z
2021-07-18T11:56:19.000Z
itensor/itdata/qdense.cc
alexwie/ITensor
867dcc6bb0de152b5e5d19969cb09dd8ed1d53fc
[ "Apache-2.0" ]
null
null
null
itensor/itdata/qdense.cc
alexwie/ITensor
867dcc6bb0de152b5e5d19969cb09dd8ed1d53fc
[ "Apache-2.0" ]
null
null
null
// // Copyright 2018 The Simons Foundation, Inc. - All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless re...
28.283562
92
0.551702
[ "object", "vector", "transform" ]
18250592cdb37275f223536c9b6b5e69554b1eae
3,306
cpp
C++
lmev/src/lmev_gazebo/src/gazebo_ros_right_wheel_motor.cpp
imstevenpm/lmev
1861cd220a6162c48e067193c17950acbbf0ecf7
[ "MIT" ]
null
null
null
lmev/src/lmev_gazebo/src/gazebo_ros_right_wheel_motor.cpp
imstevenpm/lmev
1861cd220a6162c48e067193c17950acbbf0ecf7
[ "MIT" ]
null
null
null
lmev/src/lmev_gazebo/src/gazebo_ros_right_wheel_motor.cpp
imstevenpm/lmev
1861cd220a6162c48e067193c17950acbbf0ecf7
[ "MIT" ]
null
null
null
/* Modifications and adaptations for use * in the Lego Mindstorms EV3 simulation: * \author Steven Palma Morera * \date 22th of Nov 2017 */ #ifndef _MOTOR_PLUGIN_HH_ #define _MOTOR_PLUGIN_HH_ #include <gazebo/gazebo.hh> #include <gazebo/physics/physics.hh> #include <gazebo/transport/transport.hh> #include <gaze...
26.448
190
0.666062
[ "model" ]
182a88acf0bf00aa7ebb96c4b1548dfe151674c4
4,063
cpp
C++
blades/xbmc/xbmc/cores/DllLoader/dll_tracker.cpp
krattai/AEBL
a7b12c97479e1236d5370166b15ca9f29d7d4265
[ "BSD-2-Clause" ]
4
2016-04-26T03:43:54.000Z
2016-11-17T08:09:04.000Z
blades/xbmc/xbmc/cores/DllLoader/dll_tracker.cpp
krattai/AEBL
a7b12c97479e1236d5370166b15ca9f29d7d4265
[ "BSD-2-Clause" ]
17
2015-01-05T21:06:22.000Z
2015-12-07T20:45:44.000Z
blades/xbmc/xbmc/cores/DllLoader/dll_tracker.cpp
krattai/AEBL
a7b12c97479e1236d5370166b15ca9f29d7d4265
[ "BSD-2-Clause" ]
3
2016-04-26T03:43:55.000Z
2020-11-06T11:02:08.000Z
/* * Copyright (C) 2005-2013 Team XBMC * http://xbmc.org * * 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, or (at your option) * any later version. * * ...
26.044872
96
0.654196
[ "vector" ]
1836e109bdc3c757e46d05f86c3859fd42b3e331
14,959
cc
C++
content/browser/service_worker/service_worker_internals_ui.cc
shaochangbin/chromium-crosswalk
634d34e4cf82b4f7400357c53ec12efaffe94add
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2019-01-16T03:57:28.000Z
2021-01-23T15:29:45.000Z
content/browser/service_worker/service_worker_internals_ui.cc
shaochangbin/chromium-crosswalk
634d34e4cf82b4f7400357c53ec12efaffe94add
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
content/browser/service_worker/service_worker_internals_ui.cc
shaochangbin/chromium-crosswalk
634d34e4cf82b4f7400357c53ec12efaffe94add
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2015-04-17T13:19:09.000Z
2021-10-21T12:55:15.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 "content/browser/service_worker/service_worker_internals_ui.h" #include <string> #include <vector> #include "base/bind.h" #include "base/values...
35.447867
80
0.72057
[ "render", "vector" ]
1837d31eb965d4c72ae276093e30cfc7ae4e0380
5,460
cxx
C++
ccdb/UploadTool.cxx
adriansev/AO2Dproto
bf4f9009c2e16560ecfda9e4907321163281b7de
[ "BSD-3-Clause" ]
null
null
null
ccdb/UploadTool.cxx
adriansev/AO2Dproto
bf4f9009c2e16560ecfda9e4907321163281b7de
[ "BSD-3-Clause" ]
null
null
null
ccdb/UploadTool.cxx
adriansev/AO2Dproto
bf4f9009c2e16560ecfda9e4907321163281b7de
[ "BSD-3-Clause" ]
1
2022-01-23T15:15:53.000Z
2022-01-23T15:15:53.000Z
// Copyright 2019-2020 CERN and copyright holders of ALICE O2. // See https://alice-o2.web.cern.ch/copyright for details of the copyright holders. // All rights not expressly granted are reserved. // // This software is distributed under the terms of the GNU General Public // License v3 (GPL Version 3), copied verbatim...
32.117647
128
0.650366
[ "object", "vector" ]
1838eccb9cd5427838b220c1fbf36c0a81a80354
3,356
hxx
C++
main/xmloff/source/chart/SchXMLSeriesHelper.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/xmloff/source/chart/SchXMLSeriesHelper.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/xmloff/source/chart/SchXMLSeriesHelper.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
331
2015-01-06T11:40:55.000Z
2022-03-14T04:07:51.000Z
/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to y...
43.584416
101
0.591478
[ "vector" ]
183d1bb2078483cf1f9d039281ec08d332fe867c
841
hpp
C++
src/detail/reverse.hpp
mocabe/nurbs
e9f038fb61e5f7260d1b42416243fe63f193032c
[ "MIT" ]
null
null
null
src/detail/reverse.hpp
mocabe/nurbs
e9f038fb61e5f7260d1b42416243fe63f193032c
[ "MIT" ]
null
null
null
src/detail/reverse.hpp
mocabe/nurbs
e9f038fb61e5f7260d1b42416243fe63f193032c
[ "MIT" ]
1
2021-11-11T11:09:05.000Z
2021-11-11T11:09:05.000Z
#pragma once #include "NURBS.hpp" #include <utility> namespace nurbs { /** * @fun * @brief reverse NURBS segment. */ template <class T, class K> NURBS<T, K>& NURBS<T, K>::reverse() { /* 1. Init new knot vector which has same size to current knots. 2. Set a base knot. 3. diff(i) = knots[i] - knots[i-1...
23.361111
72
0.612366
[ "vector" ]
183d61a09f56ae5722a9d6fe17950150f8cc9219
2,003
cpp
C++
LeetCode/ThousandTwo/1388-pizza_with_3n_slices.cpp
Ginkgo-Biloba/Cpp-Repo1-VS
231c68a055e6bf69a3f7c224e7c0182b67ce5b67
[ "Apache-2.0" ]
null
null
null
LeetCode/ThousandTwo/1388-pizza_with_3n_slices.cpp
Ginkgo-Biloba/Cpp-Repo1-VS
231c68a055e6bf69a3f7c224e7c0182b67ce5b67
[ "Apache-2.0" ]
null
null
null
LeetCode/ThousandTwo/1388-pizza_with_3n_slices.cpp
Ginkgo-Biloba/Cpp-Repo1-VS
231c68a055e6bf69a3f7c224e7c0182b67ce5b67
[ "Apache-2.0" ]
null
null
null
#include "leetcode.hpp" /* 1388. 3n 块披萨 给你一个披萨,它由 3n 块不同大小的部分组成,现在你和你的朋友们需要按照如下规则来分披萨: 你挑选 任意 一块披萨。 Alice 将会挑选你所选择的披萨逆时针方向的下一块披萨。 Bob 将会挑选你所选择的披萨顺时针方向的下一块披萨。 重复上述过程直到没有披萨剩下。 每一块披萨的大小按顺时针方向由循环数组 slices 表示。 请你返回你可以获得的披萨大小总和的最大值。 示例 1: https://assets.leetcode-cn.com/aliyun-lc-upload/uploads/2020/03/21/sample_3_1...
21.084211
118
0.604094
[ "vector" ]