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
577b64c18d493e33e4f0613c7e472ff95ab5d8e6
545
cpp
C++
src/main.cpp
FFreestyler/EnglishWords
b8666404fa5e72e7cf447d33d1a8cd5d9c2115cd
[ "MIT" ]
7
2020-05-17T06:00:37.000Z
2020-05-30T02:58:46.000Z
src/main.cpp
FFreestyler/EnglishWords
b8666404fa5e72e7cf447d33d1a8cd5d9c2115cd
[ "MIT" ]
7
2020-05-15T08:02:34.000Z
2020-05-27T15:49:57.000Z
src/main.cpp
FFreestyler/EnglishWords
b8666404fa5e72e7cf447d33d1a8cd5d9c2115cd
[ "MIT" ]
null
null
null
#include "Start.hpp" #include "menu.hpp" #include <SFML/Graphics.hpp> #include <functional> #include <vector> using namespace sf; int main() { const int height = 480; // Window height const int width = 720; // Window width RenderWindow window( VideoMode(width, height), "English Wo...
20.961538
65
0.60367
[ "vector" ]
577c8f46084e8aa78e70f8486270677313aec9bc
2,841
cpp
C++
07/07_stencil/03/boxblur.cpp
HuSharp/parallel101
882a35c254538a64d3594d112caa6d1bb5315903
[ "CC0-1.0" ]
1,276
2021-12-11T05:21:48.000Z
2022-03-31T15:30:45.000Z
07/07_stencil/03/boxblur.cpp
HuSharp/parallel101
882a35c254538a64d3594d112caa6d1bb5315903
[ "CC0-1.0" ]
7
2021-12-30T15:41:34.000Z
2022-03-02T07:13:51.000Z
07/07_stencil/03/boxblur.cpp
HuSharp/parallel101
882a35c254538a64d3594d112caa6d1bb5315903
[ "CC0-1.0" ]
196
2021-12-12T08:15:36.000Z
2022-03-31T07:15:23.000Z
#include "boxblur.h" #include <x86intrin.h> void xblur(Image &b, Image const &a, int nblur) { if (!nblur) { b = a; return; } int nx = a.shape(0); int ny = a.shape(1); int ncomp = a.shape(2); b.reshape((size_t)nx, (size_t)ny, (size_t)ncomp); __m128 factor = _mm_set1_ps(1.f / (2 * nblur + 1)); ...
32.284091
86
0.483985
[ "shape" ]
578185c940484ca931257d757483613f6cb079ab
7,990
cc
C++
apps/clicky/src/hvalues.cc
MacWR/Click-changed-for-ParaGraph
18285e5da578fbb7285d10380836146e738dee6e
[ "Apache-2.0" ]
129
2015-10-08T14:38:35.000Z
2022-03-06T14:54:44.000Z
apps/clicky/src/hvalues.cc
MacWR/Click-changed-for-ParaGraph
18285e5da578fbb7285d10380836146e738dee6e
[ "Apache-2.0" ]
241
2016-02-17T16:17:58.000Z
2022-03-15T09:08:33.000Z
apps/clicky/src/hvalues.cc
MacWR/Click-changed-for-ParaGraph
18285e5da578fbb7285d10380836146e738dee6e
[ "Apache-2.0" ]
61
2015-12-17T01:46:58.000Z
2022-02-07T22:25:19.000Z
#ifdef HAVE_CONFIG_H # include <config.h> #endif #include <click/config.h> #include "hvalues.hh" #include "cdriver.hh" #include <gdk/gdkkeysyms.h> #include <click/confparse.hh> extern "C" { #include "interface.h" #include "support.h" } namespace clicky { /***** * * handler_value, including autorefresh * */ const...
26.026059
114
0.634668
[ "vector" ]
c2364bd103ad3ed67f6ce58af0556f93717ffdf0
7,385
cpp
C++
code/MikoEngine/Renderer/Resource/Scene/SceneNode.cpp
warzes/MikoEngine
1199f59a71ab3dfcbea5d02238639db55eded0d4
[ "MIT" ]
5
2020-08-04T17:57:01.000Z
2021-02-07T12:19:02.000Z
code/MikoEngine/Renderer/Resource/Scene/SceneNode.cpp
warzes/MikoEngine
1199f59a71ab3dfcbea5d02238639db55eded0d4
[ "MIT" ]
null
null
null
code/MikoEngine/Renderer/Resource/Scene/SceneNode.cpp
warzes/MikoEngine
1199f59a71ab3dfcbea5d02238639db55eded0d4
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "Renderer/Resource/Scene/SceneNode.h" #include "Renderer/Resource/Scene/SceneResource.h" #include "Renderer/Resource/Scene/Item/ISceneItem.h" #include "Renderer/Resource/Scene/Item/Mesh/MeshSceneItem.h" #include "Renderer/Resource/Scene/Culling/SceneItemSet.h" #include "Renderer/Resource/Me...
39.704301
178
0.69587
[ "mesh", "object", "transform" ]
c23c044d60e2469fb2689a27643ace6668a23f44
2,665
cpp
C++
middleware/common/source/buffer/transport.cpp
casualcore/casual
047a4eaabbba52ad3ce63dc698a9325ad5fcec6d
[ "MIT" ]
null
null
null
middleware/common/source/buffer/transport.cpp
casualcore/casual
047a4eaabbba52ad3ce63dc698a9325ad5fcec6d
[ "MIT" ]
null
null
null
middleware/common/source/buffer/transport.cpp
casualcore/casual
047a4eaabbba52ad3ce63dc698a9325ad5fcec6d
[ "MIT" ]
1
2022-02-21T18:30:25.000Z
2022-02-21T18:30:25.000Z
//! //! Copyright (c) 2015, The casual project //! //! This software is licensed under the MIT license, https://opensource.org/licenses/MIT //! #include "common/buffer/transport.h" #include "common/buffer/pool.h" #include "common/algorithm.h" namespace casual { namespace common { namespace buffer ...
30.284091
150
0.521951
[ "vector" ]
c23d7e323fb55d1e0f79c49bb23956bb827c428f
3,385
hpp
C++
src/roerei/util/performance.hpp
Wassasin/roerei
78a6b91819cc37fd7ac25a209f18a3f97c5db2f5
[ "BSD-3-Clause" ]
1
2019-02-11T14:57:25.000Z
2019-02-11T14:57:25.000Z
src/roerei/util/performance.hpp
Wassasin/roerei
78a6b91819cc37fd7ac25a209f18a3f97c5db2f5
[ "BSD-3-Clause" ]
null
null
null
src/roerei/util/performance.hpp
Wassasin/roerei
78a6b91819cc37fd7ac25a209f18a3f97c5db2f5
[ "BSD-3-Clause" ]
null
null
null
#pragma once #include <roerei/util/timer.hpp> #include <roerei/util/guard.hpp> #include <boost/optional.hpp> #include <map> #include <vector> #include <stack> #include <memory> #include <chrono> #include <string> #include <functional> #include <iostream> namespace roerei { namespace test { class performance { pub...
21.15625
126
0.677991
[ "vector" ]
c240e9efda7cb23b02612137134ef58c2bb48003
1,357
cpp
C++
src/MergeSortP.cpp
AdrianBZG/Framework_Divide-and-Conquer
2dd3f19af7369b48f941fb562eaffd2f1cbf05ca
[ "Apache-2.0" ]
6
2016-03-10T21:33:40.000Z
2016-04-11T17:15:16.000Z
src/MergeSortP.cpp
AdrianBZG/Framework_Divide-and-Conquer
2dd3f19af7369b48f941fb562eaffd2f1cbf05ca
[ "Apache-2.0" ]
null
null
null
src/MergeSortP.cpp
AdrianBZG/Framework_Divide-and-Conquer
2dd3f19af7369b48f941fb562eaffd2f1cbf05ca
[ "Apache-2.0" ]
null
null
null
/* Author: Adrián Rodríguez Bazaga Contact: arodriba@ull.edu.es / alu0100826456@ull.edu.es Date: 05/03/2016 */ #include "headers/MergeSortP.hpp" MergeSortP::MergeSortP(vector<int> array) : Problem::Problem() { array_ = array; } MergeSortP::~MergeSortP() { } bool MergeSortP::isSimple() { return (array...
19.666667
64
0.633751
[ "vector" ]
c241935ab2c66125b3024551939ab655e3f3b2c3
1,911
cpp
C++
apps/openmw/mwclass/static.cpp
Bodillium/openmw
5fdd264d0704e33b44b1ccf17ab4fb721f362e34
[ "Unlicense" ]
null
null
null
apps/openmw/mwclass/static.cpp
Bodillium/openmw
5fdd264d0704e33b44b1ccf17ab4fb721f362e34
[ "Unlicense" ]
null
null
null
apps/openmw/mwclass/static.cpp
Bodillium/openmw
5fdd264d0704e33b44b1ccf17ab4fb721f362e34
[ "Unlicense" ]
null
null
null
#include "static.hpp" #include <components/esm/loadstat.hpp> #include "../mwworld/ptr.hpp" #include "../mwworld/physicssystem.hpp" #include "../mwworld/cellstore.hpp" #include "../mwrender/objects.hpp" #include "../mwrender/renderinginterface.hpp" namespace MWClass { std::string Static::getId (const MWWorld::P...
26.541667
120
0.599686
[ "model" ]
c2448de9a58fad845f2701cb70039790c1b263a9
6,749
cc
C++
apps/http-proxy/src/forwarder_interface.cc
srene/hicn
354f916b5ec7a2b7d63d29d9019fc3e7fa2d1b89
[ "Apache-2.0" ]
47
2019-02-18T13:54:34.000Z
2022-03-03T04:46:50.000Z
apps/http-proxy/src/forwarder_interface.cc
srene/hicn
354f916b5ec7a2b7d63d29d9019fc3e7fa2d1b89
[ "Apache-2.0" ]
1
2019-09-09T09:14:43.000Z
2019-09-09T09:14:43.000Z
apps/http-proxy/src/forwarder_interface.cc
srene/hicn
354f916b5ec7a2b7d63d29d9019fc3e7fa2d1b89
[ "Apache-2.0" ]
28
2019-02-22T17:40:03.000Z
2021-08-18T02:39:40.000Z
/* * Copyright (c) 2020 Cisco and/or its affiliates. * 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 applicabl...
25.564394
80
0.639798
[ "vector" ]
c247b1317056852b569ec04ae28b50eb09ec73b6
566
cc
C++
tddd38-cpp/play/pmf/ply.cc
AxelGard/university-projects
0c9a6e785f1918c6ed0fd365b2d419c9f52edb50
[ "MIT" ]
null
null
null
tddd38-cpp/play/pmf/ply.cc
AxelGard/university-projects
0c9a6e785f1918c6ed0fd365b2d419c9f52edb50
[ "MIT" ]
null
null
null
tddd38-cpp/play/pmf/ply.cc
AxelGard/university-projects
0c9a6e785f1918c6ed0fd365b2d419c9f52edb50
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> using namespace std; struct A { static int cnt; void print(ostream& os){ cnt++; os << cnt << endl;; } static void print_(ostream& os){ cnt++; os << cnt << endl;; } }; int A::cnt = 0; int main() { vector<A*> vecA { ...
13.47619
36
0.452297
[ "vector" ]
c24adc943e911e19a184dab344432d3184e3788b
1,124
cpp
C++
C++/incremental-memory-leak.cpp
Priyansh2/LeetCode-Solutions
d613da1881ec2416ccbe15f20b8000e36ddf1291
[ "MIT" ]
3,269
2018-10-12T01:29:40.000Z
2022-03-31T17:58:41.000Z
C++/incremental-memory-leak.cpp
Priyansh2/LeetCode-Solutions
d613da1881ec2416ccbe15f20b8000e36ddf1291
[ "MIT" ]
53
2018-12-16T22:54:20.000Z
2022-02-25T08:31:20.000Z
C++/incremental-memory-leak.cpp
Priyansh2/LeetCode-Solutions
d613da1881ec2416ccbe15f20b8000e36ddf1291
[ "MIT" ]
1,236
2018-10-12T02:51:40.000Z
2022-03-30T13:30:37.000Z
// Time: O(1) // Space: O(1) // Same problem from https://codingcompetitions.withgoogle.com/codejam/round/000000000019ffb9/00000000003384ea class Solution { public: vector<int> memLeak(int memory1, int memory2) { bool is_swapped = false; if (memory1 < memory2) { swap(memory1, memory2);...
27.414634
110
0.461744
[ "vector" ]
c24e4a027198b17529f348aec602a6c8b35577a4
3,672
cpp
C++
Hexeng2D/src/Renderer/Shader.cpp
Ily3s/Hexeng2D
9e81618fc27b45a347abadc6f60f896ab28cbe6b
[ "MIT" ]
null
null
null
Hexeng2D/src/Renderer/Shader.cpp
Ily3s/Hexeng2D
9e81618fc27b45a347abadc6f60f896ab28cbe6b
[ "MIT" ]
null
null
null
Hexeng2D/src/Renderer/Shader.cpp
Ily3s/Hexeng2D
9e81618fc27b45a347abadc6f60f896ab28cbe6b
[ "MIT" ]
null
null
null
#include "Shader.hpp" #include "../Macros.hpp" #include "Camera.hpp" #include "Renderer.hpp" #include "Uniform.hpp" namespace Hexeng::Renderer { unsigned int Shader::compile_shader(GLenum shader_type, const char* src) { HXG_GL(unsigned int id = glCreateShader(shader_type)); HXG_GL(glShaderSource(id, 1, &src, nu...
24.48
125
0.686547
[ "vector" ]
c24efc43bfc48f1ad6d917a56e06307d73edbdd2
1,311
cpp
C++
chapter_2/MergeSort.cpp
chistyakoviv/introduction-to-algorithms
ef3593082390d1ffbdcfc65721d4bd0244a8b901
[ "MIT" ]
null
null
null
chapter_2/MergeSort.cpp
chistyakoviv/introduction-to-algorithms
ef3593082390d1ffbdcfc65721d4bd0244a8b901
[ "MIT" ]
null
null
null
chapter_2/MergeSort.cpp
chistyakoviv/introduction-to-algorithms
ef3593082390d1ffbdcfc65721d4bd0244a8b901
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> void merge(std::vector<int32_t>& A, size_t p, size_t q, size_t r) { size_t n1 = q - p + 1; size_t n2 = r - q; // We won't be using sentinels, so we don't need extra space int32_t L[n1], R[n2]; for (size_t i = 0; i < n1; i++) L[i] = A[p + i]; for (...
19.279412
75
0.437071
[ "vector" ]
c250a226363698c8b407b66d13a397ed348a903a
2,941
cpp
C++
SPOJ/SPOJ - DYNACON1/Accepted (2).cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
1
2022-02-11T16:55:36.000Z
2022-02-11T16:55:36.000Z
SPOJ/SPOJ - DYNACON1/Accepted (2).cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
SPOJ/SPOJ - DYNACON1/Accepted (2).cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
/**************************************************************************************** * @author: kzvd4729 created: 2019-09-16 19:11:23 * solution_verdict: Accepted language: C++ * run...
26.736364
111
0.518871
[ "vector" ]
c2561d0ae46763485f1148c0c9761e3b65c4b691
1,886
cc
C++
cmake/tribits/examples/TribitsExampleProject/packages/mixed_lang/test/tstRay_Tracer.cc
jschueller/seacas
14c34ae08b757cba43a3a03ec0f129c8a168a9d3
[ "Python-2.0", "Zlib", "BSD-2-Clause", "MIT", "NetCDF", "BSL-1.0", "X11", "BSD-3-Clause" ]
82
2016-02-04T18:38:25.000Z
2022-03-29T03:01:49.000Z
cmake/tribits/examples/TribitsExampleProject/packages/mixed_lang/test/tstRay_Tracer.cc
jschueller/seacas
14c34ae08b757cba43a3a03ec0f129c8a168a9d3
[ "Python-2.0", "Zlib", "BSD-2-Clause", "MIT", "NetCDF", "BSL-1.0", "X11", "BSD-3-Clause" ]
206
2015-11-20T01:57:47.000Z
2022-03-31T21:12:04.000Z
cmake/tribits/examples/TribitsExampleProject/packages/mixed_lang/test/tstRay_Tracer.cc
jschueller/seacas
14c34ae08b757cba43a3a03ec0f129c8a168a9d3
[ "Python-2.0", "Zlib", "BSD-2-Clause", "MIT", "NetCDF", "BSL-1.0", "X11", "BSD-3-Clause" ]
68
2016-01-13T22:46:51.000Z
2022-03-31T06:25:05.000Z
//---------------------------------------------------------------------------// // tstRay_Tracer.cc //---------------------------------------------------------------------------// #include <cmath> #include <iostream> #include "Ray_Tracer.hh" using namespace std; typedef tribits_mixed::Ray_Tracer Tracer; typedef Trac...
23.575
79
0.407741
[ "mesh" ]
c25f4d1ee43fab9dbddae6acc277828473631997
2,173
cpp
C++
MumbleVoipModule/Participant.cpp
zemo/naali
a02ee7a0547c5233579eda85dedb934b61c546ab
[ "Apache-2.0" ]
1
2018-04-02T15:38:10.000Z
2018-04-02T15:38:10.000Z
MumbleVoipModule/Participant.cpp
mattire/naali
28c9cdc84c6a85e0151a222e55ae35c9403f0212
[ "Apache-2.0" ]
null
null
null
MumbleVoipModule/Participant.cpp
mattire/naali
28c9cdc84c6a85e0151a222e55ae35c9403f0212
[ "Apache-2.0" ]
1
2021-09-04T12:37:34.000Z
2021-09-04T12:37:34.000Z
#include "StableHeaders.h" #include "Participant.h" #include "User.h" namespace MumbleVoip { Participant::Participant(QString name, MumbleLib::User* user) : muted_(false), speaking_(false), position_known_(false), position_(0.0, 0.0, 0.0), user_(user), name_(name) ...
21.73
81
0.597791
[ "object" ]
c264db986572b7bbf27e19ed24024e2c53d43392
2,200
cpp
C++
lib/vector_reserve_test.cpp
CarloWood/noexcept_benchmark
273bf14050378f47978ffb3ba70c0c4d1a83ad8c
[ "Apache-2.0" ]
15
2019-02-11T18:58:23.000Z
2022-01-20T21:46:24.000Z
lib/vector_reserve_test.cpp
CarloWood/noexcept_benchmark
273bf14050378f47978ffb3ba70c0c4d1a83ad8c
[ "Apache-2.0" ]
2
2020-04-09T19:30:06.000Z
2021-08-11T13:05:06.000Z
lib/vector_reserve_test.cpp
CarloWood/noexcept_benchmark
273bf14050378f47978ffb3ba70c0c4d1a83ad8c
[ "Apache-2.0" ]
1
2019-07-26T14:34:02.000Z
2019-07-26T14:34:02.000Z
/* Copyright Niels Dekker, LKEB, Leiden University Medical Center 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.txt Unless required by applicable l...
22.44898
88
0.649091
[ "vector" ]
c26e6e48e4007f486d3f75fabd987e46dfc0094f
3,368
cc
C++
xpp_states/src/state.cc
innorobotics/xpp
5527b2820247c712dba622872a15f0242c2c60ed
[ "BSD-3-Clause" ]
243
2017-11-08T17:10:59.000Z
2022-03-29T12:56:51.000Z
xpp_states/src/state.cc
innorobotics/xpp
5527b2820247c712dba622872a15f0242c2c60ed
[ "BSD-3-Clause" ]
13
2017-12-22T13:13:53.000Z
2021-06-05T12:24:50.000Z
xpp_states/src/state.cc
innorobotics/xpp
5527b2820247c712dba622872a15f0242c2c60ed
[ "BSD-3-Clause" ]
91
2017-10-27T23:27:24.000Z
2022-02-02T07:38:09.000Z
/****************************************************************************** Copyright (c) 2017, Alexander W. Winkler. 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...
27.834711
95
0.686758
[ "vector" ]
c27b0ccffe221b53ff0f2a525140c9569e6366e7
10,306
cpp
C++
hackathon/gyy/call_plugin/test_call_plugin_plugin.cpp
zzhmark/vaa3d_tools
3ca418add85a59ac7e805d55a600b78330d7e53d
[ "MIT" ]
1
2021-12-27T19:14:03.000Z
2021-12-27T19:14:03.000Z
hackathon/gyy/call_plugin/test_call_plugin_plugin.cpp
zzhmark/vaa3d_tools
3ca418add85a59ac7e805d55a600b78330d7e53d
[ "MIT" ]
null
null
null
hackathon/gyy/call_plugin/test_call_plugin_plugin.cpp
zzhmark/vaa3d_tools
3ca418add85a59ac7e805d55a600b78330d7e53d
[ "MIT" ]
null
null
null
/* test_call_plugin_plugin.cpp * This is a test plugin, you can use it as a demo. * 2019-5-20 : by YourName */ #include "v3d_message.h" #include <vector> #include "test_call_plugin_plugin.h" #include <iostream> #include "vn_app2.h" #include "fastmarching_tree.h" #include "fastmarching_dt.h" #include "hierarchy_pru...
35.537931
159
0.650786
[ "vector" ]
c27c19a53ad2d32770c9509cade0ecce82cbe9ab
1,384
cpp
C++
Sources/Core/Utils/Serialization.cpp
utilForever/CubbyFlow-v1
d85c136d8eaa91ecce456c3356c7e578dda5d5bd
[ "MIT" ]
3
2020-04-15T13:41:16.000Z
2020-12-29T11:23:59.000Z
Sources/Core/Utils/Serialization.cpp
utilForever/CubbyFlow-v1
d85c136d8eaa91ecce456c3356c7e578dda5d5bd
[ "MIT" ]
null
null
null
Sources/Core/Utils/Serialization.cpp
utilForever/CubbyFlow-v1
d85c136d8eaa91ecce456c3356c7e578dda5d5bd
[ "MIT" ]
null
null
null
/************************************************************************* > File Name: Serialization.cpp > Project Name: CubbyFlow > Author: Chan-Ho Chris Ohk > Purpose: Abstract base class for any serializable class. > Created Time: 2017/05/27 > Copyright (c) 2018, Chan-Ho Chris Ohk **********************************...
28.833333
81
0.643786
[ "vector" ]
c27c51b8c81fbdcf51f1774a7710abd3224e6c1f
15,377
cpp
C++
src/rpc/donationwallets.cpp
blakeanator/Monkecoin
ad28b95ac06344c9775f4ba7e6728e8103040c8f
[ "MIT" ]
null
null
null
src/rpc/donationwallets.cpp
blakeanator/Monkecoin
ad28b95ac06344c9775f4ba7e6728e8103040c8f
[ "MIT" ]
null
null
null
src/rpc/donationwallets.cpp
blakeanator/Monkecoin
ad28b95ac06344c9775f4ba7e6728e8103040c8f
[ "MIT" ]
null
null
null
// Copyright (c) 2021 Blake Copeland // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <rpc/donationwallets.h> #include <chainparams.h> #include <donationwallets.h> #include <rpc/server.h> #include <rpc/util.h> #include ...
36.699284
311
0.550107
[ "vector" ]
c27e6cea8b8abfeea4ff13aba504a3e8950876aa
2,275
hpp
C++
llarp/util/meta/memfn.hpp
wratc/loki-network
0d6d0ec7b27f80c2836eb5d4c4f6e7b1974dd178
[ "Zlib" ]
3
2018-11-17T07:38:39.000Z
2021-04-29T23:39:47.000Z
llarp/util/meta/memfn.hpp
wratc/loki-network
0d6d0ec7b27f80c2836eb5d4c4f6e7b1974dd178
[ "Zlib" ]
1
2020-03-28T08:59:56.000Z
2020-03-28T08:59:56.000Z
llarp/util/meta/memfn.hpp
wratc/loki-network
0d6d0ec7b27f80c2836eb5d4c4f6e7b1974dd178
[ "Zlib" ]
2
2021-01-28T05:36:14.000Z
2021-01-28T05:47:53.000Z
#ifndef LLARP_UTIL_MEMFN #define LLARP_UTIL_MEMFN #include <type_traits> #include <utility> #include <memory> namespace llarp { namespace util { // Wraps a member function and instance into a callable object that invokes // the method (non-const overload). template < typename Return, typename ...
31.597222
79
0.595604
[ "object" ]
c288866499560755355c307e8c0be622d776bcc1
812
cpp
C++
GreedyScheduling/main.cpp
utsavm9/Stanford-Algorithms-Course
2200a792e3e607b98b4fbf33ce890d3899c06ece
[ "MIT" ]
null
null
null
GreedyScheduling/main.cpp
utsavm9/Stanford-Algorithms-Course
2200a792e3e607b98b4fbf33ce890d3899c06ece
[ "MIT" ]
null
null
null
GreedyScheduling/main.cpp
utsavm9/Stanford-Algorithms-Course
2200a792e3e607b98b4fbf33ce890d3899c06ece
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <cstdio> #include <utility> #include <algorithm> using namespace std; bool sortFunc(pair<int, int> a, pair<int, int> b) { float score1 = ((float) a.first) / a.second; float score2 = ((float) b.first) / b.second; return (score1 > score2); } int ...
20.3
52
0.51601
[ "vector" ]
c2899c483b485f1134db813815f706cddb0f090f
2,582
cc
C++
src/iplanner/dataset/dataset.cc
jsonpark/iplanner2
858aeb3d54b519283a0a9e71cc6878a9114d2ea8
[ "MIT" ]
null
null
null
src/iplanner/dataset/dataset.cc
jsonpark/iplanner2
858aeb3d54b519283a0a9e71cc6878a9114d2ea8
[ "MIT" ]
null
null
null
src/iplanner/dataset/dataset.cc
jsonpark/iplanner2
858aeb3d54b519283a0a9e71cc6878a9114d2ea8
[ "MIT" ]
null
null
null
#include "iplanner/dataset/dataset.h" #include <iostream> #include <fstream> namespace iplanner { Dataset::Dataset() = default; Dataset::~Dataset() = default; int Dataset::NumSequences() { return 1; } void Dataset::SelectSequence(int idx) { } void Dataset::SelectSequence(const std::string& name) { } void Datas...
15.648485
98
0.665376
[ "vector" ]
c28a9979fd355baea4d2443e930e9ec8661ccb46
191,134
cpp
C++
MonoNative/mscorlib/System/mscorlib_System_Convert.cpp
brunolauze/MonoNative
959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66
[ "BSD-2-Clause" ]
7
2015-03-10T03:36:16.000Z
2021-11-05T01:16:58.000Z
MonoNative/mscorlib/System/mscorlib_System_Convert.cpp
brunolauze/MonoNative
959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66
[ "BSD-2-Clause" ]
1
2020-06-23T10:02:33.000Z
2020-06-24T02:05:47.000Z
MonoNative/mscorlib/System/mscorlib_System_Convert.cpp
brunolauze/MonoNative
959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66
[ "BSD-2-Clause" ]
null
null
null
#include <mscorlib/System/mscorlib_System_Convert.h> #include <mscorlib/System/mscorlib_System_Type.h> #include <mscorlib/System/mscorlib_System_String.h> #include <mscorlib/System/mscorlib_System_Byte.h> #include <mscorlib/System/mscorlib_System_DateTime.h> #include <mscorlib/System/mscorlib_System_Decimal.h> #include...
50.914758
307
0.720552
[ "object", "vector" ]
c28b42696c36867e78e5cba3b4a1b8d5ee67f321
1,221
cpp
C++
code-examples/patterns/lab_k29_2021_03_02_iterator.cpp
kzhereb/knu-ips-ooop-2020-2021
777b4a847a537510048fd582eda0816ce05db4b5
[ "MIT" ]
null
null
null
code-examples/patterns/lab_k29_2021_03_02_iterator.cpp
kzhereb/knu-ips-ooop-2020-2021
777b4a847a537510048fd582eda0816ce05db4b5
[ "MIT" ]
34
2021-03-25T08:28:26.000Z
2021-05-20T13:12:48.000Z
code-examples/patterns/lab_k29_2021_03_02_iterator.cpp
kzhereb/knu-ips-ooop-2020-2021
777b4a847a537510048fd582eda0816ce05db4b5
[ "MIT" ]
1
2020-09-28T12:58:26.000Z
2020-09-28T12:58:26.000Z
/* * lab_k29_2021_03_02_iterator.cpp * * Created on: Mar 2, 2021 * Author: KZ */ #include "../list/list.h" #include "../doctest.h" #include <algorithm> #include <iterator> #include <vector> #include <sstream> TEST_CASE("std::copy using iterators") { std::vector<int> source {1, 3, 5, 7...
24.42
76
0.634726
[ "vector" ]
c293fdfd112287bf425bebfa4fbb490a7e2fc382
6,793
cpp
C++
src/mongo/db/matcher/schema/expression_internal_schema_allowed_properties.cpp
puppyofkosh/mongo
ed601dd01169b8c1fad9fb8d388da0523a1b48f5
[ "Apache-2.0" ]
null
null
null
src/mongo/db/matcher/schema/expression_internal_schema_allowed_properties.cpp
puppyofkosh/mongo
ed601dd01169b8c1fad9fb8d388da0523a1b48f5
[ "Apache-2.0" ]
null
null
null
src/mongo/db/matcher/schema/expression_internal_schema_allowed_properties.cpp
puppyofkosh/mongo
ed601dd01169b8c1fad9fb8d388da0523a1b48f5
[ "Apache-2.0" ]
null
null
null
/** * Copyright (C) 2017 MongoDB Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License, version 3, * as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITH...
40.921687
100
0.67599
[ "object", "vector" ]
c29488f886e52f46d4e5501b2eaec6ac16f413fc
38,852
cpp
C++
testing/test_aplicacion_almacenamiento.cpp
miglesias91/visualizador-de-contextos
ec1be5533ccef1b5881ce67b8f0d0ab0280b8d3a
[ "Apache-2.0" ]
null
null
null
testing/test_aplicacion_almacenamiento.cpp
miglesias91/visualizador-de-contextos
ec1be5533ccef1b5881ce67b8f0d0ab0280b8d3a
[ "Apache-2.0" ]
18
2018-02-15T19:02:14.000Z
2018-06-03T00:33:08.000Z
testing/test_aplicacion_almacenamiento.cpp
miglesias91/visualizador-de-contextos
ec1be5533ccef1b5881ce67b8f0d0ab0280b8d3a
[ "Apache-2.0" ]
null
null
null
// gtest #include <gtest/gtest.h> // aplicacion #include <aplicacion/include/IAdministradorAplicacion.h> #include <aplicacion/include/ConfiguracionAplicacion.h> #include <aplicacion/include/GestorEntidades.h> // modelo #include <modelo/include/Concepto.h> #include <modelo/include/Consulta.h> #include <mode...
53.662983
227
0.769716
[ "vector" ]
c2954ec3ce9aafbe52a58f951797a2cb0998165d
1,578
cpp
C++
Algorithms/1970.Last_Day_Where_You_Can_Still_Cross.cpp
metehkaya/LeetCode
52f4a1497758c6f996d515ced151e8783ae4d4d2
[ "MIT" ]
2
2020-07-20T06:40:22.000Z
2021-11-20T01:23:26.000Z
Problems/LeetCode/Problems/1970.Last_Day_Where_You_Can_Still_Cross.cpp
metehkaya/Algo-Archive
03b5fdcf06f84a03125c57762c36a4e03ca6e756
[ "MIT" ]
null
null
null
Problems/LeetCode/Problems/1970.Last_Day_Where_You_Can_Still_Cross.cpp
metehkaya/Algo-Archive
03b5fdcf06f84a03125c57762c36a4e03ca6e756
[ "MIT" ]
null
null
null
#define fi first #define se second typedef pair<int,int> pi; class Solution { public: int n,m; int day[20001]; int dir[4] = {0,1,0,-1}; int id(int r , int c) { return r*m+c; } bool check(int d) { queue<pi> q; bool mark[n][m]; memset(mark,false,sizeof(mark)); ...
25.868852
69
0.333967
[ "vector" ]
c2a0f061eb4b50e54bed45f809a9fd1d36ca453c
5,590
hpp
C++
src/rdb_protocol/wire_func.hpp
zadcha/rethinkdb
bb4f5cc28242dc1e29e9a46a8a931ec54420070c
[ "Apache-2.0" ]
21,684
2015-01-01T03:42:20.000Z
2022-03-30T13:32:44.000Z
src/rdb_protocol/wire_func.hpp
RethonkDB/rethonkdb
8c9c1ddc71b1b891fdb8aad7ca5891fc036b80ee
[ "Apache-2.0" ]
4,067
2015-01-01T00:04:51.000Z
2022-03-30T13:42:56.000Z
src/rdb_protocol/wire_func.hpp
RethonkDB/rethonkdb
8c9c1ddc71b1b891fdb8aad7ca5891fc036b80ee
[ "Apache-2.0" ]
1,901
2015-01-01T21:05:59.000Z
2022-03-21T08:14:25.000Z
// Copyright 2010-2015 RethinkDB, all rights reserved. #ifndef RDB_PROTOCOL_WIRE_FUNC_HPP_ #define RDB_PROTOCOL_WIRE_FUNC_HPP_ #include <vector> #include "containers/counted.hpp" #include "containers/optional.hpp" #include "rdb_protocol/sym.hpp" #include "rdb_protocol/error.hpp" #include "rpc/serialize_macros.hpp" #i...
30.546448
85
0.721646
[ "vector" ]
c2a113951cd2c4cf5931fbabcba31d47a9c5e5b8
6,359
hpp
C++
include/http_handler.hpp
RobertLeahy/MCPP
2b9223afa35ae215b9af7e5398ce8f7f6dd70377
[ "Unlicense" ]
19
2015-04-25T15:19:59.000Z
2022-02-28T03:00:42.000Z
include/http_handler.hpp
RobertLeahy/MCPP
2b9223afa35ae215b9af7e5398ce8f7f6dd70377
[ "Unlicense" ]
1
2016-01-28T08:50:02.000Z
2021-08-24T02:34:48.000Z
include/http_handler.hpp
RobertLeahy/MCPP
2b9223afa35ae215b9af7e5398ce8f7f6dd70377
[ "Unlicense" ]
7
2015-04-17T16:38:45.000Z
2021-06-25T03:39:39.000Z
/** * \file */ #pragma once #include <rleahylib/rleahylib.hpp> #include <promise.hpp> #include <socketpair.hpp> #include <curl/curl.h> #include <cstddef> #include <exception> #include <memory> #include <unordered_map> namespace MCPP { /** * A single HTTP request or response * header. */ class HTTPHea...
15.937343
83
0.569115
[ "vector" ]
c2a3e0aef67ef536b0681449cae64ac0ae46cbae
12,395
cpp
C++
Sources/Utilities/Execution/ExecutionThread.cpp
XessWaffle/3redNet
809b6fe22f5a14d531fe26360faab634be19f621
[ "MIT" ]
null
null
null
Sources/Utilities/Execution/ExecutionThread.cpp
XessWaffle/3redNet
809b6fe22f5a14d531fe26360faab634be19f621
[ "MIT" ]
null
null
null
Sources/Utilities/Execution/ExecutionThread.cpp
XessWaffle/3redNet
809b6fe22f5a14d531fe26360faab634be19f621
[ "MIT" ]
null
null
null
#include "ExecutionThread.h" #include "Error.cuh" #define MAX_VECTORS 10 ExecutionThread::ExecutionThread() { } ExecutionThread::ExecutionThread(std::string data_path, std::string network_path, NeuralNetwork to_manage, Dimension input) { this->to_manage = to_manage; this->input_space = input; this->manage_nnfm ...
22.784926
125
0.666317
[ "vector" ]
c2ad7db383504f764621344ac0b1dcd34f6e258f
6,334
cc
C++
be/src/runtime/sorted-run-merger.cc
AtScaleInc/Impala
1073a9108220faffe61c3bc9dff7a953adde12df
[ "Apache-2.0" ]
51
2015-01-02T04:10:26.000Z
2020-11-21T16:33:19.000Z
be/src/runtime/sorted-run-merger.cc
AtScaleInc/Impala
1073a9108220faffe61c3bc9dff7a953adde12df
[ "Apache-2.0" ]
58
2015-01-29T15:52:19.000Z
2016-04-19T08:19:02.000Z
be/src/runtime/sorted-run-merger.cc
AtScaleInc/Impala
1073a9108220faffe61c3bc9dff7a953adde12df
[ "Apache-2.0" ]
8
2015-03-16T11:03:41.000Z
2019-07-11T06:39:31.000Z
// Copyright 2012 Cloudera Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in wr...
33.513228
87
0.715346
[ "object", "vector" ]
c2af5f463ab5b086124ca62fcd03907c67325852
7,902
cpp
C++
src/CorpseSummoner.cpp
frederic-tingaud-sonarsource/xania
0cf7bcbd72a0fc4acb3a9d33ba8f325833aeacc9
[ "BSD-2-Clause" ]
null
null
null
src/CorpseSummoner.cpp
frederic-tingaud-sonarsource/xania
0cf7bcbd72a0fc4acb3a9d33ba8f325833aeacc9
[ "BSD-2-Clause" ]
null
null
null
src/CorpseSummoner.cpp
frederic-tingaud-sonarsource/xania
0cf7bcbd72a0fc4acb3a9d33ba8f325833aeacc9
[ "BSD-2-Clause" ]
null
null
null
/************************************************************************/ /* Xania (M)ulti(U)ser(D)ungeon server source code */ /* (C) 2020 Xania Development Team */ /* See the header to file: merc.h for original code copyrights */ /*******************...
38.735294
120
0.67793
[ "object" ]
c2af60f78f0ae12b18cd4ae9a43050c3a54855b2
19,768
cpp
C++
src/ngraph/runtime/intelgpu/visualize_tree.cpp
huningxin/ngraph
28622bdea4b4ad84405b8484b31673ae7d31cf76
[ "Apache-2.0" ]
null
null
null
src/ngraph/runtime/intelgpu/visualize_tree.cpp
huningxin/ngraph
28622bdea4b4ad84405b8484b31673ae7d31cf76
[ "Apache-2.0" ]
null
null
null
src/ngraph/runtime/intelgpu/visualize_tree.cpp
huningxin/ngraph
28622bdea4b4ad84405b8484b31673ae7d31cf76
[ "Apache-2.0" ]
null
null
null
//***************************************************************************** // Copyright 2017-2018 Intel Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://w...
38.913386
100
0.622875
[ "shape", "vector" ]
c2b2c4db17e61f29293acacaf1933f6e63487fb6
2,251
cpp
C++
lib/tNamed.cpp
B1Z0N/KPI-geometrylib
a83b4394f9c150c131f6533d8cd8c39886684886
[ "MIT" ]
2
2019-04-28T16:38:54.000Z
2019-12-27T20:09:43.000Z
lib/tNamed.cpp
B1Z0N/KPI-geometrylib
a83b4394f9c150c131f6533d8cd8c39886684886
[ "MIT" ]
null
null
null
lib/tNamed.cpp
B1Z0N/KPI-geometrylib
a83b4394f9c150c131f6533d8cd8c39886684886
[ "MIT" ]
null
null
null
#include "../include/geometry.hpp" void NormAngle(double &phi) { phi -= ceil(phi / (2 * Pi)) * 2 * Pi; } tNamed::tNamed(char const *NewName) { char const *N = NewName; fNameLength = 0; while (*N != '\0') { fNameLength++; N++; } fName = new char[fNameLength + 1]; for ...
21.854369
171
0.5251
[ "geometry" ]
c2b859e203f5d391d5d9b7224d54be87a9ddcc32
34,179
cpp
C++
third_party/WebKit/Source/core/css/resolver/AnimatedStyleBuilder.cpp
xzhan96/chromium.src
1bd0cf3997f947746c0fc5406a2466e7b5f6159e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2021-01-07T18:51:03.000Z
2021-01-07T18:51:03.000Z
third_party/WebKit/Source/core/css/resolver/AnimatedStyleBuilder.cpp
emilio/chromium.src
1bd0cf3997f947746c0fc5406a2466e7b5f6159e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
third_party/WebKit/Source/core/css/resolver/AnimatedStyleBuilder.cpp
emilio/chromium.src
1bd0cf3997f947746c0fc5406a2466e7b5f6159e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
/* * Copyright (C) 2013 Google Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditio...
40.592637
80
0.696861
[ "vector" ]
c2c49967a2dbe0a25346df94a89c4d51be8efcea
43,226
cpp
C++
gui/MainWindow.cpp
Heufneutje/MultiMC5
7d1dd2a32f95eacaaea7d808cd07faf99e425977
[ "Apache-2.0" ]
2
2016-03-29T07:43:32.000Z
2019-05-31T14:38:04.000Z
gui/MainWindow.cpp
Heufneutje/MultiMC5
7d1dd2a32f95eacaaea7d808cd07faf99e425977
[ "Apache-2.0" ]
null
null
null
gui/MainWindow.cpp
Heufneutje/MultiMC5
7d1dd2a32f95eacaaea7d808cd07faf99e425977
[ "Apache-2.0" ]
null
null
null
/* Copyright 2013-2014 MultiMC Contributors * * Authors: Andrew Okin * Peterix * Orochimarufan <orochimarufan.x3@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the Lice...
27.798071
95
0.717647
[ "geometry", "object", "model" ]
c2c77fe2f9aa4967811bc539eabf9a30b05012f3
2,547
cpp
C++
Engine/GUI/src/TextButton.cpp
xubury/FoggyEngine
1af5b814e9c3946da678be3acf93cd4d89f01c80
[ "BSD-3-Clause" ]
null
null
null
Engine/GUI/src/TextButton.cpp
xubury/FoggyEngine
1af5b814e9c3946da678be3acf93cd4d89f01c80
[ "BSD-3-Clause" ]
null
null
null
Engine/GUI/src/TextButton.cpp
xubury/FoggyEngine
1af5b814e9c3946da678be3acf93cd4d89f01c80
[ "BSD-3-Clause" ]
null
null
null
#include "GUI/TextButton.hpp" #include <SFML/Graphics/RenderTarget.hpp> #include "GUI/Configuration.hpp" namespace foggy { namespace gui { TextButton::TextButton(const std::string &text, const sf::Color &fill, const sf::Color &outline, float outline_thickness, const sf:...
31.060976
80
0.694935
[ "transform" ]
c2c7aa3e1de3cc1e2d997b8a8a81585aacafd4a8
12,080
cpp
C++
src/daemon-mgr.cpp
seafileltd/seadrive-gui
5593e60c92d79b9c8fa7ac0bca661afdb2de3799
[ "Apache-2.0" ]
null
null
null
src/daemon-mgr.cpp
seafileltd/seadrive-gui
5593e60c92d79b9c8fa7ac0bca661afdb2de3799
[ "Apache-2.0" ]
null
null
null
src/daemon-mgr.cpp
seafileltd/seadrive-gui
5593e60c92d79b9c8fa7ac0bca661afdb2de3799
[ "Apache-2.0" ]
null
null
null
#include <searpc-client.h> #include <searpc-named-pipe-transport.h> #if defined(_MSC_VER) #include <windows.h> #include <file-utils.h> #else #include <unistd.h> #endif #include <glib-object.h> #include <cstdio> #include <cstdlib> #include <QLibrary> #include <QTimer> #include <QStringList> #include <QString> #include ...
29.753695
107
0.658444
[ "object" ]
c2c853efda0993c0f08e39cf3b6c738cc39def7e
6,474
cpp
C++
branch/old_angsys/angsys_beta2/source/angsys/angsys.shared/source/streams/binary_buffer_output_stream.cpp
ChuyX3/angsys
89b2eaee866bcfd11e66efda49b38acc7468c780
[ "Apache-2.0" ]
null
null
null
branch/old_angsys/angsys_beta2/source/angsys/angsys.shared/source/streams/binary_buffer_output_stream.cpp
ChuyX3/angsys
89b2eaee866bcfd11e66efda49b38acc7468c780
[ "Apache-2.0" ]
null
null
null
branch/old_angsys/angsys_beta2/source/angsys/angsys.shared/source/streams/binary_buffer_output_stream.cpp
ChuyX3/angsys
89b2eaee866bcfd11e66efda49b38acc7468c780
[ "Apache-2.0" ]
null
null
null
/*********************************************************************************************************************/ /* File Name: binary_buffer_output_stream.cpp */ /* Author: Ing. Jesus Rocha <chuyangel.rm@gmail.com>, July 2016. ...
21.724832
119
0.644887
[ "object" ]
c2cbd032f406d69e9cd72628407fda7f411775f9
3,701
cc
C++
k2/python/host/csrc/fsa.cc
Jarvan-Wang/k2
7f164ecb804d15006fd30e8564d80e0fa212f011
[ "Apache-2.0" ]
491
2020-09-17T09:05:05.000Z
2022-03-31T13:38:18.000Z
k2/python/host/csrc/fsa.cc
Jarvan-Wang/k2
7f164ecb804d15006fd30e8564d80e0fa212f011
[ "Apache-2.0" ]
600
2020-09-17T13:55:06.000Z
2022-03-30T23:23:40.000Z
k2/python/host/csrc/fsa.cc
Jarvan-Wang/k2
7f164ecb804d15006fd30e8564d80e0fa212f011
[ "Apache-2.0" ]
121
2020-09-17T15:44:56.000Z
2022-03-23T13:22:52.000Z
// k2/python/host/csrc/fsa.cc // Copyright (c) 2020 Mobvoi Inc. (authors: Fangjun Kuang) // Xiaomi Corporation (authors: Haowen Qiu) // See ../../../LICENSE for clarification regarding multiple authors #include "k2/python/host/csrc/fsa.h" #include <memory> #include <sstream> #include ...
35.247619
78
0.619562
[ "shape" ]
c2cc220f651a628532bc5ea199bc83424ac5d182
2,050
cpp
C++
src/iniparse/IniValue.cpp
valmat/RocksServer
e00436ec9147641731c60da7d4643ecfb61217ac
[ "BSD-3-Clause" ]
24
2015-02-03T08:48:52.000Z
2021-10-03T23:57:13.000Z
src/iniparse/IniValue.cpp
valmat/RocksServer
e00436ec9147641731c60da7d4643ecfb61217ac
[ "BSD-3-Clause" ]
null
null
null
src/iniparse/IniValue.cpp
valmat/RocksServer
e00436ec9147641731c60da7d4643ecfb61217ac
[ "BSD-3-Clause" ]
5
2015-07-10T15:40:53.000Z
2019-12-06T11:57:35.000Z
/** * IniValue.cpp * * Class IniValue designed for extracting values from ini entries * * @author valmat <ufabiz@gmail.com> * @github https://github.com/valmat/rocksserver */ #include "RocksServer.h" namespace RocksServer { /** * Casting to integer types */ IniValue<std::string>::oper...
34.745763
116
0.611707
[ "transform" ]
c2cc6fc18127b718fd0225991839972a2e9f6b09
53,179
cpp
C++
3rdparty/webkit/Source/JavaScriptCore/jit/JITOpcodes.cpp
mchiasson/PhaserNative
f867454602c395484bf730a7c43b9c586c102ac2
[ "MIT" ]
null
null
null
3rdparty/webkit/Source/JavaScriptCore/jit/JITOpcodes.cpp
mchiasson/PhaserNative
f867454602c395484bf730a7c43b9c586c102ac2
[ "MIT" ]
null
null
null
3rdparty/webkit/Source/JavaScriptCore/jit/JITOpcodes.cpp
mchiasson/PhaserNative
f867454602c395484bf730a7c43b9c586c102ac2
[ "MIT" ]
1
2019-01-25T13:55:25.000Z
2019-01-25T13:55:25.000Z
/* * Copyright (C) 2009-2018 Apple Inc. All rights reserved. * Copyright (C) 2010 Patrick Gansterer <paroga@paroga.com> * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must r...
37.822902
176
0.748171
[ "object", "vector" ]
c2d0bd2af6e23b6a57a570602b1b465df687bca4
5,604
cpp
C++
src/opencl/device_cl.cpp
hermanw/dehash
ee837f0deb521e33207562dbc75abb3334ee7f25
[ "MIT" ]
null
null
null
src/opencl/device_cl.cpp
hermanw/dehash
ee837f0deb521e33207562dbc75abb3334ee7f25
[ "MIT" ]
null
null
null
src/opencl/device_cl.cpp
hermanw/dehash
ee837f0deb521e33207562dbc75abb3334ee7f25
[ "MIT" ]
null
null
null
#include <iostream> #include <sstream> #include <vector> #include <cstring> #include "device_cl.h" #include "compute_cl.h" void _CheckCLError(cl_int error, int line) { if (error != CL_SUCCESS) { std::cout << "OpenCL call failed with error " << error << " @" << line << std::endl; exit(1); } ...
36.38961
131
0.625446
[ "vector" ]
c2d330084a5e195139993596062ef0b1fc804df4
1,306
cpp
C++
AtCoderBeginnersSelection/ABC049C/main_.cpp
ryokohbato/AtCoder
1e5379dde57549f987ef8ab628230ad5fa1b60b8
[ "MIT" ]
null
null
null
AtCoderBeginnersSelection/ABC049C/main_.cpp
ryokohbato/AtCoder
1e5379dde57549f987ef8ab628230ad5fa1b60b8
[ "MIT" ]
null
null
null
AtCoderBeginnersSelection/ABC049C/main_.cpp
ryokohbato/AtCoder
1e5379dde57549f987ef8ab628230ad5fa1b60b8
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; bool isEraseLikeStrOK(string str) { if (str == "") return true; try { if (str.substr(0, 3) == "ere") { str = str.substr(2); } else if (str.substr(0, 3) != "era") { return false; } while(str.substr(0, 5) == "erase") { if (str.subs...
19.205882
128
0.525268
[ "vector" ]
12483fc0a6c9029883889254fab276f12ab02898
2,443
hpp
C++
libstark/src/common/Algebra/MultiVarPoly.hpp
ddsvetlov/libSTARK
38aeda615864346dc1ff4c290e0d0d12ea324dfb
[ "MIT" ]
399
2018-02-28T17:11:54.000Z
2022-03-24T07:41:39.000Z
libstark/src/common/Algebra/MultiVarPoly.hpp
ddsvetlov/libSTARK
38aeda615864346dc1ff4c290e0d0d12ea324dfb
[ "MIT" ]
18
2018-03-02T14:53:53.000Z
2022-02-14T21:30:03.000Z
libstark/src/common/Algebra/MultiVarPoly.hpp
ddsvetlov/libSTARK
38aeda615864346dc1ff4c290e0d0d12ea324dfb
[ "MIT" ]
90
2018-03-01T01:18:44.000Z
2022-02-23T00:28:50.000Z
/**MultiVarPoly.hpp - simple implementation of Multivariate Polynomial as a vector of monomials*/ #include <algebraLib/FieldElement.hpp> #include <algebraLib/PolynomialDegree.hpp> #include <algebraLib/PolynomialInterface.hpp> using namespace std; namespace Algebra{ struct MultiVarMonomial { FieldElement coeff; ve...
23.718447
129
0.688088
[ "vector" ]
124ec8c6581ad43b15756b462d0f1e3a8348d58e
2,041
cpp
C++
using_urdf/src/publisher.cpp
steinzwerink/rviz
5cbe5f72f7f2d846e41bfedcf4c8a70a32697300
[ "MIT" ]
null
null
null
using_urdf/src/publisher.cpp
steinzwerink/rviz
5cbe5f72f7f2d846e41bfedcf4c8a70a32697300
[ "MIT" ]
null
null
null
using_urdf/src/publisher.cpp
steinzwerink/rviz
5cbe5f72f7f2d846e41bfedcf4c8a70a32697300
[ "MIT" ]
null
null
null
#include "using_urdf/publisher.h" #include <std_msgs/String.h> publisher::Publisher::Publisher() { } publisher::Publisher::~Publisher() { } std::string publisher::Publisher::convertMessage(pose::pose p) { std::string l; l = p.pose_name; return l; } int main(int argc, char **argv) { publisher::Publi...
29.57971
116
0.568839
[ "vector" ]
124fae4e0ad5f21c7a216bae6a1ee3fbb9b3628f
2,480
hpp
C++
include/private/coherence/component/util/QueueProcessor.hpp
chpatel3/coherence-cpp-extend-client
4ea5267eae32064dff1e73339aa3fbc9347ef0f6
[ "UPL-1.0", "Apache-2.0" ]
6
2020-07-01T21:38:30.000Z
2021-11-03T01:35:11.000Z
include/private/coherence/component/util/QueueProcessor.hpp
chpatel3/coherence-cpp-extend-client
4ea5267eae32064dff1e73339aa3fbc9347ef0f6
[ "UPL-1.0", "Apache-2.0" ]
1
2020-07-24T17:29:22.000Z
2020-07-24T18:29:04.000Z
include/private/coherence/component/util/QueueProcessor.hpp
chpatel3/coherence-cpp-extend-client
4ea5267eae32064dff1e73339aa3fbc9347ef0f6
[ "UPL-1.0", "Apache-2.0" ]
6
2020-07-10T18:40:58.000Z
2022-02-18T01:23:40.000Z
/* * Copyright (c) 2000, 2020, Oracle and/or its affiliates. * * Licensed under the Universal Permissive License v 1.0 as shown at * http://oss.oracle.com/licenses/upl. */ #ifndef COH_QUEUE_PROCESSOR_HPP #define COH_QUEUE_PROCESSOR_HPP #include "coherence/lang.ns" #include "coherence/util/Queue.hpp" #include "p...
22.142857
77
0.5375
[ "object" ]
1258f0c4673d0e4f966fe2ddf2a31cc6bfe53bde
1,223
cpp
C++
src/process.cpp
Brendacg616/CppND-System-Monitor-Project-Updated
f7e8adda54718654518c83062777bd94de0af32b
[ "MIT" ]
null
null
null
src/process.cpp
Brendacg616/CppND-System-Monitor-Project-Updated
f7e8adda54718654518c83062777bd94de0af32b
[ "MIT" ]
null
null
null
src/process.cpp
Brendacg616/CppND-System-Monitor-Project-Updated
f7e8adda54718654518c83062777bd94de0af32b
[ "MIT" ]
null
null
null
#include <unistd.h> #include <cctype> #include <sstream> #include <string> #include <vector> #include "process.h" #include "linux_parser.h" using std::string; using std::to_string; using std::vector; Process::Process(int pid):pid_(pid) { user_ = LinuxParser::User(pid); command_ = LinuxParser::Command(pid); }...
24.959184
67
0.686836
[ "vector" ]
125ce951f0e14be885d29ccfea51ffa83b72c30e
2,187
cpp
C++
lib/MNISTFashion/MNISTLoader.cpp
connorosburn/MNIST-Fashion-Classifier
0438de8ce6a8351304cfbe187e25f13e1917784e
[ "MIT" ]
4
2020-04-04T22:42:13.000Z
2020-04-07T23:20:58.000Z
lib/MNISTFashion/MNISTLoader.cpp
connorosburn/MNIST-Fashion-Classifier
0438de8ce6a8351304cfbe187e25f13e1917784e
[ "MIT" ]
null
null
null
lib/MNISTFashion/MNISTLoader.cpp
connorosburn/MNIST-Fashion-Classifier
0438de8ce6a8351304cfbe187e25f13e1917784e
[ "MIT" ]
null
null
null
#include "MNISTLoader.hpp" #include <fstream> #include <iostream> const std::vector<DataPair>& MNISTLoader::trainingData() { if(training.empty()) { training = loadData("lib/MNISTFashion/train-images-idx3-ubyte", "lib/MNISTFashion/train-labels-idx1-ubyte"); } return training; } const std::vector<Da...
34.171875
116
0.643347
[ "vector" ]
125e59aa5f3618e12ec2f49de73b140448dda29b
10,535
cpp
C++
src/qt/qtbase/src/gui/kernel/qstylehints.cpp
chihlee/phantomjs
644e0b3a6c9c16bcc6f7ce2c24274bf7d764f53c
[ "BSD-3-Clause" ]
null
null
null
src/qt/qtbase/src/gui/kernel/qstylehints.cpp
chihlee/phantomjs
644e0b3a6c9c16bcc6f7ce2c24274bf7d764f53c
[ "BSD-3-Clause" ]
null
null
null
src/qt/qtbase/src/gui/kernel/qstylehints.cpp
chihlee/phantomjs
644e0b3a6c9c16bcc6f7ce2c24274bf7d764f53c
[ "BSD-3-Clause" ]
null
null
null
/**************************************************************************** ** ** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of the QtGui module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL21$ ** Commercial License Usage ** Licensee...
31.636637
125
0.723588
[ "object" ]
1260826465a216f976e99dc992caacaa924aa0c9
613
cpp
C++
vm/builtin/methodvisibility.cpp
marnen/rubinius
05b3f9789d01bada0604a7f09921c956bc9487e7
[ "BSD-3-Clause" ]
1
2016-05-08T16:58:14.000Z
2016-05-08T16:58:14.000Z
vm/builtin/methodvisibility.cpp
taf2/rubinius
493bfa2351fc509ca33d3bb03991c2e9c2b6dafa
[ "BSD-3-Clause" ]
null
null
null
vm/builtin/methodvisibility.cpp
taf2/rubinius
493bfa2351fc509ca33d3bb03991c2e9c2b6dafa
[ "BSD-3-Clause" ]
null
null
null
#include "vm/vm.hpp" #include "vm/object_utils.hpp" #include "builtin/methodvisibility.hpp" #include "builtin/symbol.hpp" namespace rubinius { MethodVisibility* MethodVisibility::create(STATE) { return (MethodVisibility*)state->new_object(G(cmethod_vis)); } void MethodVisibility::Info::show(STATE, Object*...
27.863636
82
0.711256
[ "object" ]
1260fa9e1e62464f2aac96aabd9641a7ca0d1d08
62,688
cpp
C++
src/spectrast/SpectraSTCreateParams.cpp
lkszmn/spectrast
f028aafcea5045e3cb5837c337f4fa90c90993f3
[ "Zlib", "MIT" ]
null
null
null
src/spectrast/SpectraSTCreateParams.cpp
lkszmn/spectrast
f028aafcea5045e3cb5837c337f4fa90c90993f3
[ "Zlib", "MIT" ]
null
null
null
src/spectrast/SpectraSTCreateParams.cpp
lkszmn/spectrast
f028aafcea5045e3cb5837c337f4fa90c90993f3
[ "Zlib", "MIT" ]
3
2019-10-30T13:08:05.000Z
2022-02-22T19:16:31.000Z
#include "SpectraSTCreateParams.hpp" #include "SpectraSTLog.hpp" #include "SpectraSTConstants.hpp" #include "FileUtils.hpp" #include <fstream> #include <iostream> #include <sstream> #include <stdlib.h> /* Program : Spectrast Author : Henry Lam <hlam@systemsbiology.org> ...
32.752351
196
0.57523
[ "cad", "vector" ]
1261bedcc5bf6c3d5e8c18f5005c4bed381f4a28
7,271
cpp
C++
projects/multitask/yolopcut/main.cpp
ChenKQ/detsrv
258a8d841bc03c4e0e8651ad19de543cf6475833
[ "Xnet", "X11" ]
null
null
null
projects/multitask/yolopcut/main.cpp
ChenKQ/detsrv
258a8d841bc03c4e0e8651ad19de543cf6475833
[ "Xnet", "X11" ]
null
null
null
projects/multitask/yolopcut/main.cpp
ChenKQ/detsrv
258a8d841bc03c4e0e8651ad19de543cf6475833
[ "Xnet", "X11" ]
null
null
null
#include "yolov5.hpp" #include "utils.h" #include <opencv2/opencv.hpp> #include <csignal> static volatile bool keep_running = true; void keyboard_handler(int sig) { // handle keyboard interrupt if (sig == SIGINT) keep_running = false; } void saveresult(cv::Mat& cvt_img, cv::Mat& seg_res, std::vector...
40.171271
158
0.599367
[ "vector" ]
1270a104db532324d8e9a80136302f8b3e37d92f
4,481
cpp
C++
third_party/katana/plugin/pxrUsdInShipped/mesh.cpp
1xinghuan/USD
a527e225224dd8634eb91ef749cf622cbf3d349d
[ "Unlicense" ]
3
2019-02-20T07:34:17.000Z
2019-08-13T08:17:04.000Z
third_party/katana/plugin/pxrUsdInShipped/mesh.cpp
1xinghuan/USD
a527e225224dd8634eb91ef749cf622cbf3d349d
[ "Unlicense" ]
null
null
null
third_party/katana/plugin/pxrUsdInShipped/mesh.cpp
1xinghuan/USD
a527e225224dd8634eb91ef749cf622cbf3d349d
[ "Unlicense" ]
null
null
null
// // Copyright 2016 Pixar // // Licensed under the Apache License, Version 2.0 (the "Apache License") // with the following modification; you may not use this file except in // compliance with the Apache License and the following modification to it: // Section 6. Trademarks. is deleted and replaced with: // // 6. Trad...
35.848
89
0.699397
[ "mesh", "geometry", "vector" ]
127800f2784b90a52103889f63f0618160eda211
59,471
cpp
C++
libmilk/src/linux/var.cpp
lyramilk/libmilk
153b8ca3f14ac1d2e5a017a0ba4ca3e6f35fd680
[ "Apache-2.0" ]
3
2017-09-06T12:45:34.000Z
2018-07-21T17:05:10.000Z
libmilk/src/linux/var.cpp
lyramilk/libmilk
153b8ca3f14ac1d2e5a017a0ba4ca3e6f35fd680
[ "Apache-2.0" ]
null
null
null
libmilk/src/linux/var.cpp
lyramilk/libmilk
153b8ca3f14ac1d2e5a017a0ba4ca3e6f35fd680
[ "Apache-2.0" ]
null
null
null
#include "var.h" #include "dict.h" #include "datawrapper.h" #include <vector> #include <sstream> #include <algorithm> #include <stdio.h> #include <memory.h> #ifndef null #define null nullptr #endif #ifdef Z_HAVE_JEMALLOC #include <jemalloc/jemalloc.h> #endif #ifdef _WIN32 #include <Windows.h> #elif defined __linu...
25.382416
194
0.642599
[ "vector", "transform" ]
127d891f7ce1b02032dc18dc37965766e2d21b90
3,665
cpp
C++
src/Physics/StringGL.cpp
william-taylor/interactive-physical-modelling
d03087bb2329b5c13fa54c042aebed148913e516
[ "Apache-2.0" ]
null
null
null
src/Physics/StringGL.cpp
william-taylor/interactive-physical-modelling
d03087bb2329b5c13fa54c042aebed148913e516
[ "Apache-2.0" ]
null
null
null
src/Physics/StringGL.cpp
william-taylor/interactive-physical-modelling
d03087bb2329b5c13fa54c042aebed148913e516
[ "Apache-2.0" ]
1
2018-04-09T01:30:12.000Z
2018-04-09T01:30:12.000Z
#include "StringGL.h" StringGL::StringGL(std::string fontname, std::string texture) : object(nullptr) { glGenVertexArrays(1, &vao); glBindVertexArray(vao); glGenBuffers(1, &vbo); glBindBuffer(GL_ARRAY_BUFFER, vbo); glBindVertexArray(0); setColour(0, 0, 0, 1); prepareFont(fontname, tex...
24.271523
114
0.59427
[ "object", "vector" ]
128486664173fd47c618ab39e9c985b28cc32416
4,495
cc
C++
src/common/chemistry/reactions/secondary_species.cc
ajkhattak/amanzi
fed8cae6af3f9dfa5984381d34b98401c3b47655
[ "RSA-MD" ]
1
2021-02-23T18:34:47.000Z
2021-02-23T18:34:47.000Z
src/common/chemistry/reactions/secondary_species.cc
ajkhattak/amanzi
fed8cae6af3f9dfa5984381d34b98401c3b47655
[ "RSA-MD" ]
null
null
null
src/common/chemistry/reactions/secondary_species.cc
ajkhattak/amanzi
fed8cae6af3f9dfa5984381d34b98401c3b47655
[ "RSA-MD" ]
null
null
null
/* Chemistry Copyright 2010-201x held jointly by LANS/LANL, LBNL, and PNNL. Amanzi is released under the three-clause BSD License. The terms of use and "as is" disclaimer for this license are provided in the top-level COPYRIGHT file. Base class for secondary species (aqueous equilibrium complexes, m...
30.787671
82
0.611791
[ "vector" ]
1284be4d40db9fba2391e9fcca18700b6f8dab83
1,693
hh
C++
include/tensor_serie.hh
freemeson/multinomial
9bf1913a0e6d24ac40f219d44f757393decd1ad6
[ "Apache-2.0" ]
null
null
null
include/tensor_serie.hh
freemeson/multinomial
9bf1913a0e6d24ac40f219d44f757393decd1ad6
[ "Apache-2.0" ]
null
null
null
include/tensor_serie.hh
freemeson/multinomial
9bf1913a0e6d24ac40f219d44f757393decd1ad6
[ "Apache-2.0" ]
null
null
null
#ifndef TENSOR_SERIE_HH #define TENSOR_SERIE_HH #include <vector> #include <string> #include "monopoly.h" template <class T> class tensor_serie{ friend class tensor_serie<T>; #ifdef USE_LAPACK #else typedef Eigen::LDLT< Eigen::Matrix<T, Eigen::Dynamic, Eigen::Dynamic > > decomposition; //typedef Eigen::FullPivL...
27.754098
96
0.727112
[ "vector" ]
1287285a98ab64ac675c215f1c37941e20d1e976
23,141
cc
C++
src_mex/mex_CircleArcMexWrapper.cc
DottorZini/Clothoids
5dc563ae56044edb3efee1f3ca37501afa184328
[ "BSD-2-Clause" ]
null
null
null
src_mex/mex_CircleArcMexWrapper.cc
DottorZini/Clothoids
5dc563ae56044edb3efee1f3ca37501afa184328
[ "BSD-2-Clause" ]
null
null
null
src_mex/mex_CircleArcMexWrapper.cc
DottorZini/Clothoids
5dc563ae56044edb3efee1f3ca37501afa184328
[ "BSD-2-Clause" ]
null
null
null
/****************************************************************************\ Copyright (c) Enrico Bertolazzi 2016 All Rights Reserved. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR P...
41.249554
119
0.516961
[ "object", "vector" ]
128d7b52157ca8a43b31a291e2bcef5f3922b9b0
4,321
cpp
C++
test/performance-regression/full-apps/qmcpack/src/QMCWaveFunctions/Jastrow/JastrowBasisBuilder.cpp
JKChenFZ/hclib
50970656ac133477c0fbe80bb674fe88a19d7177
[ "BSD-3-Clause" ]
55
2015-07-28T01:32:58.000Z
2022-02-27T16:27:46.000Z
test/performance-regression/full-apps/qmcpack/src/QMCWaveFunctions/Jastrow/JastrowBasisBuilder.cpp
JKChenFZ/hclib
50970656ac133477c0fbe80bb674fe88a19d7177
[ "BSD-3-Clause" ]
66
2015-06-15T20:38:19.000Z
2020-08-26T00:11:43.000Z
test/performance-regression/full-apps/qmcpack/src/QMCWaveFunctions/Jastrow/JastrowBasisBuilder.cpp
JKChenFZ/hclib
50970656ac133477c0fbe80bb674fe88a19d7177
[ "BSD-3-Clause" ]
26
2015-10-26T22:11:51.000Z
2021-03-02T22:09:15.000Z
////////////////////////////////////////////////////////////////// // (c) Copyright 2006- by Jeongnim Kim ////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////// // National Center for Supercomputing Applications & // Materials Computati...
32.007407
117
0.623004
[ "vector" ]
129b6ef240b0ab584a13467f226b70d370ac0489
8,214
cpp
C++
deform_control/external_libs/OpenSceneGraph-2.8.5/examples/osganimationtimeline/osganimationtimeline.cpp
UM-ARM-Lab/mab_ms
f199f05b88060182cfbb47706bd1ff3479032c43
[ "BSD-2-Clause" ]
3
2018-08-20T12:12:43.000Z
2021-06-06T09:43:27.000Z
deform_control/external_libs/OpenSceneGraph-2.8.5/examples/osganimationtimeline/osganimationtimeline.cpp
UM-ARM-Lab/mab_ms
f199f05b88060182cfbb47706bd1ff3479032c43
[ "BSD-2-Clause" ]
null
null
null
deform_control/external_libs/OpenSceneGraph-2.8.5/examples/osganimationtimeline/osganimationtimeline.cpp
UM-ARM-Lab/mab_ms
f199f05b88060182cfbb47706bd1ff3479032c43
[ "BSD-2-Clause" ]
1
2022-03-31T03:12:23.000Z
2022-03-31T03:12:23.000Z
/* -*-c++-*- * Copyright (C) 2008 Cedric Pinson <cedric.pinson@plopbyte.net> * * This library is open source and may be redistributed and/or modified under * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or * (at your option) any later version. The full license is in LICENSE file * inc...
36.834081
136
0.646457
[ "model" ]
129fe50ef4e68cddc9e618bf4b82259fbb2ad564
9,554
cpp
C++
puzzlemoppet/projects/Puzzle/EndLevelScreen.cpp
LibreGames/puzzlemoppet
d79b10e6968f9f1f27e930c4f13194700ff42126
[ "WTFPL" ]
null
null
null
puzzlemoppet/projects/Puzzle/EndLevelScreen.cpp
LibreGames/puzzlemoppet
d79b10e6968f9f1f27e930c4f13194700ff42126
[ "WTFPL" ]
null
null
null
puzzlemoppet/projects/Puzzle/EndLevelScreen.cpp
LibreGames/puzzlemoppet
d79b10e6968f9f1f27e930c4f13194700ff42126
[ "WTFPL" ]
null
null
null
#include "EndLevelScreen.h" #include "MainState.h" #include "Level.h" #include "GUIPane.h" const f32 timeBeforeShowing = 2.f; EndLevelScreen::EndLevelScreen(MainState *mainState, Level *level) : mainState(mainState), level(level) { engine = GetEngine(); renderSystem = engine->GetRenderSystem(); stats = level->G...
28.266272
116
0.683483
[ "vector" ]
12a388a9ccb9a77afc48262f67f3509e2e1182ab
309
hpp
C++
include/wee/core/aabb.hpp
emdavoca/wee
60344dd646a2e27d1cfdb1131dd679558d9cfa2b
[ "MIT" ]
1
2019-02-11T12:18:39.000Z
2019-02-11T12:18:39.000Z
include/wee/core/aabb.hpp
emdavoca/wee
60344dd646a2e27d1cfdb1131dd679558d9cfa2b
[ "MIT" ]
1
2021-11-11T07:27:58.000Z
2021-11-11T07:27:58.000Z
include/wee/core/aabb.hpp
emdavoca/wee
60344dd646a2e27d1cfdb1131dd679558d9cfa2b
[ "MIT" ]
1
2021-11-11T07:22:12.000Z
2021-11-11T07:22:12.000Z
#pragma once #include <core/vec3.hpp> #include <core/mat4.hpp> namespace wee { struct mat4; struct aabb { vec3f min = vec3f::zero(), max = vec3f::zero(); static aabb transform(const aabb&, const mat4&); aabb& add(const vec3f&); vec3 get_corner(int) const; }; }
18.176471
56
0.592233
[ "transform" ]
12a8a7439055caa63896154de553787efe9c167d
22,869
cpp
C++
dev/Code/Tools/AssetProcessor/native/resourcecompiler/rcjob.cpp
stickyparticles/lumberyard
dc523dd780f3cd1874251181b7cf6848b8db9959
[ "AML" ]
2
2019-11-29T09:04:54.000Z
2021-03-18T02:34:44.000Z
dev/Code/Tools/AssetProcessor/native/resourcecompiler/rcjob.cpp
JulianoCristian/Lumberyard-3
dc523dd780f3cd1874251181b7cf6848b8db9959
[ "AML" ]
null
null
null
dev/Code/Tools/AssetProcessor/native/resourcecompiler/rcjob.cpp
JulianoCristian/Lumberyard-3
dc523dd780f3cd1874251181b7cf6848b8db9959
[ "AML" ]
3
2019-05-13T09:41:33.000Z
2021-04-09T12:12:38.000Z
/* * All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or * its licensors. * * For complete copyright and license terms please see the LICENSE at the root of this * distribution (the "License"). All use of this software is governed by the License, * or, if provided, by the license below or t...
39.092308
227
0.641961
[ "vector" ]
12b317f208b5e03137b90a0a3c93efa930ebdcd3
13,569
cpp
C++
lab_control_center/src/TimeSeriesAggregator.cpp
Durrrr95/cpm_lab
e2e6f4ace4ebc01e8ddd87e2f4acf13e6ffdcc67
[ "MIT" ]
9
2020-06-24T11:22:15.000Z
2022-01-13T14:14:13.000Z
lab_control_center/src/TimeSeriesAggregator.cpp
Durrrr95/cpm_lab
e2e6f4ace4ebc01e8ddd87e2f4acf13e6ffdcc67
[ "MIT" ]
1
2021-05-10T13:48:04.000Z
2021-05-10T13:48:04.000Z
lab_control_center/src/TimeSeriesAggregator.cpp
Durrrr95/cpm_lab
e2e6f4ace4ebc01e8ddd87e2f4acf13e6ffdcc67
[ "MIT" ]
2
2021-11-08T11:59:29.000Z
2022-03-15T13:50:54.000Z
#include "TimeSeriesAggregator.hpp" #include "cpm/get_topic.hpp" #include "cpm/ParticipantSingleton.hpp" /** * \file TimeSeriesAggregator.cpp * \ingroup lcc */ TimeSeriesAggregator::TimeSeriesAggregator(uint8_t max_vehicle_id) { vehicle_state_reader = make_shared<cpm::AsyncReader<VehicleState>>( [this]...
43.351438
191
0.658707
[ "vector" ]
12b8752bcc2c95c595e8fab9088ccaf2ded64854
10,176
cpp
C++
Main.cpp
JasonDeras/P3Lab7_JasonDeras7
a22e7547d715ba2e8982b151663e120316907820
[ "MIT" ]
null
null
null
Main.cpp
JasonDeras/P3Lab7_JasonDeras7
a22e7547d715ba2e8982b151663e120316907820
[ "MIT" ]
null
null
null
Main.cpp
JasonDeras/P3Lab7_JasonDeras7
a22e7547d715ba2e8982b151663e120316907820
[ "MIT" ]
null
null
null
#include"Vector.cpp" #include"Racional.h" #include"Complejo.h" #include <iostream> #include <vector> using namespace std; //Vector de Racionales vector<Vector<Racional>> lista_Racional; //Vector de complejo vector <Vector<Complejo>> lista_Complejo; //Variables de control Racional r1,r2,r3; Complejo c1,c2,c3; int m...
26.362694
102
0.523585
[ "vector" ]
5210ba8ca7b46ec93b4b1d770eea749e02b1035d
2,556
cpp
C++
Bomberman_SDL/Game/CommandFactory.cpp
hovhannest/Bomberman_SDL
8c8680144987471beba47b79afca3980c01a11da
[ "MIT" ]
null
null
null
Bomberman_SDL/Game/CommandFactory.cpp
hovhannest/Bomberman_SDL
8c8680144987471beba47b79afca3980c01a11da
[ "MIT" ]
null
null
null
Bomberman_SDL/Game/CommandFactory.cpp
hovhannest/Bomberman_SDL
8c8680144987471beba47b79afca3980c01a11da
[ "MIT" ]
null
null
null
#include "CommandFactory.h" #include "../Core/Utils/Exception.h" #include "../Core/Utils/StringUtils.h" #include "../Core/LoopQuiter.h" #include "Constants.h" #include "Commands/QuitCommand.h" #include "Commands/GameOverCommand.h" #include "Commands/PlayerCommand.h" #include "../Core/Utils/Pointer.h" using namespace...
25.306931
109
0.695227
[ "vector" ]
521208181a48f7a160aae8ff5bbac591a1fa92f1
709
cpp
C++
AlgorithmsandDataStructures/3rdLab/B(LongestIncreasingSubsequence).cpp
ShuffleZZZ/ITMO
29db54d96afef0558550471c58f695c962e1f747
[ "MIT" ]
11
2020-04-23T15:48:18.000Z
2022-02-11T10:16:40.000Z
AlgorithmsandDataStructures/3rdLab/B(LongestIncreasingSubsequence).cpp
ShuffleZZZ/ITMO
29db54d96afef0558550471c58f695c962e1f747
[ "MIT" ]
13
2020-02-28T01:16:06.000Z
2020-07-20T19:05:34.000Z
AlgorithmsandDataStructures/3rdLab/B(LongestIncreasingSubsequence).cpp
ShuffleZZZ/ITMO
29db54d96afef0558550471c58f695c962e1f747
[ "MIT" ]
10
2018-12-02T15:03:03.000Z
2022-01-10T18:31:00.000Z
#include <iostream> #include <vector> using namespace std; int main () { int n,cur=0; vector <int> res; cin>>n; int d[n],prev[n],a[n]; for (int i=0;i<n;i++) { cin>>a[i]; } for (int i=0;i<n;i++) { d[i]=1; prev[i]=-1; for (int j=0;j<i;j++) { if ((a[j]<...
18.657895
48
0.356841
[ "vector" ]
5212fe9a6eba2b034883da93c9ea5d845a63c773
6,772
cc
C++
lite/api/android/jni/native/tensor_jni.cc
jameswu2014/Paddle-Lite
827e349ac8eb769a873fe9b3aa961af8b8b20a96
[ "Apache-2.0" ]
1
2020-03-09T03:51:31.000Z
2020-03-09T03:51:31.000Z
lite/api/android/jni/native/tensor_jni.cc
jameswu2014/Paddle-Lite
827e349ac8eb769a873fe9b3aa961af8b8b20a96
[ "Apache-2.0" ]
null
null
null
lite/api/android/jni/native/tensor_jni.cc
jameswu2014/Paddle-Lite
827e349ac8eb769a873fe9b3aa961af8b8b20a96
[ "Apache-2.0" ]
null
null
null
/* Copyright (c) 2019 PaddlePaddle Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or ...
34.030151
80
0.719728
[ "shape", "vector" ]
5219466be7cce045276b83ff1f81a635c65cb9b9
11,759
cc
C++
connectivity/apmanager/device.cc
Keneral/asystem
df12381b72ef3d629c8efc61100cc8c714195320
[ "Unlicense" ]
null
null
null
connectivity/apmanager/device.cc
Keneral/asystem
df12381b72ef3d629c8efc61100cc8c714195320
[ "Unlicense" ]
null
null
null
connectivity/apmanager/device.cc
Keneral/asystem
df12381b72ef3d629c8efc61100cc8c714195320
[ "Unlicense" ]
null
null
null
// // Copyright (C) 2014 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.92112
80
0.66936
[ "vector" ]
5223139cef3f4b7c4a09e23669befc31c0f42e9f
4,136
cc
C++
src/objects/module.cc
Cc618/Riddim
da79694b78f854a075632d36e1bd9fa70d744ef2
[ "MIT" ]
7
2021-06-20T13:40:28.000Z
2022-01-05T15:49:53.000Z
src/objects/module.cc
Cc618/Riddim
da79694b78f854a075632d36e1bd9fa70d744ef2
[ "MIT" ]
null
null
null
src/objects/module.cc
Cc618/Riddim
da79694b78f854a075632d36e1bd9fa70d744ef2
[ "MIT" ]
1
2021-06-27T12:53:20.000Z
2021-06-27T12:53:20.000Z
#include "module.hh" #include "doc.hh" #include "error.hh" #include "null.hh" #include "program.hh" using namespace std; void merge_frames(Frame *base, Frame *merged) { for (const auto &[h, kv] : merged->vars->data) { const auto &[name, value] = kv; if (name->type != Str::class_type) { ...
23.367232
80
0.523936
[ "object", "vector" ]
52244904ad0e6a5721478718968fc3c02e4499bb
1,906
cpp
C++
Backend/Machine Learning/Structure/layerinfo.cpp
Gattic/glades-ml
ee40a31e975456d8bdf101b60a38673403935a57
[ "MIT" ]
2
2020-02-12T23:02:14.000Z
2020-02-12T23:22:29.000Z
Backend/Machine Learning/Structure/layerinfo.cpp
MeeseeksLookAtMe/glades-ml
ee40a31e975456d8bdf101b60a38673403935a57
[ "MIT" ]
null
null
null
Backend/Machine Learning/Structure/layerinfo.cpp
MeeseeksLookAtMe/glades-ml
ee40a31e975456d8bdf101b60a38673403935a57
[ "MIT" ]
null
null
null
// Copyright 2020 Robert Carneiro, Derek Meer, Matthew Tabak, Eric Lujan // // Permission is hereby granted, free of charge, to any person obtaining a copy of this software and // associated documentation files (the "Software"), to deal in the Software without restriction, // including without limitation the rights to ...
32.305085
100
0.747639
[ "object" ]
5225fa314d8f88633e41f4ab774b91d6f7163fb8
6,012
cpp
C++
svntrunk/src/BlueMatter/probspectrans/src/probspectrans_to_MSD.cpp
Bhaskers-Blu-Org1/BlueMatter
1ab2c41af870c19e2e1b1095edd1d5c85eeb9b5e
[ "BSD-2-Clause" ]
7
2020-02-25T15:46:18.000Z
2022-02-25T07:04:47.000Z
svntrunk/src/BlueMatter/probspectrans/src/probspectrans_to_MSD.cpp
IBM/BlueMatter
5243c0ef119e599fc3e9b7c4213ecfe837de59f3
[ "BSD-2-Clause" ]
null
null
null
svntrunk/src/BlueMatter/probspectrans/src/probspectrans_to_MSD.cpp
IBM/BlueMatter
5243c0ef119e599fc3e9b7c4213ecfe837de59f3
[ "BSD-2-Clause" ]
5
2019-06-06T16:30:21.000Z
2020-11-16T19:43:01.000Z
/* Copyright 2001, 2019 IBM Corporation * * Redistribution and use in source and binary forms, with or without modification, are permitted provided that the * following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the * following d...
36.436364
124
0.547738
[ "transform" ]
522a2ab07b96b6886ad92b74e7955991480bed32
1,605
hpp
C++
lib/minpart/minpart-contexts/literals.hpp
sellamiy/GPiD-Framework
f6ed1abb2da6d51639f5ee410b1f9b143a200465
[ "BSD-3-Clause" ]
8
2018-07-13T07:07:08.000Z
2021-05-18T17:56:59.000Z
lib/minpart/minpart-contexts/literals.hpp
sellamiy/GPiD-Framework
f6ed1abb2da6d51639f5ee410b1f9b143a200465
[ "BSD-3-Clause" ]
null
null
null
lib/minpart/minpart-contexts/literals.hpp
sellamiy/GPiD-Framework
f6ed1abb2da6d51639f5ee410b1f9b143a200465
[ "BSD-3-Clause" ]
null
null
null
/** * \file minpart-contexts/literals.hpp * \brief Minimal partitioner literal example context * \author Yanis Sellami * \date 2019 */ #include <vector> #include <minpart/partitions.hpp> #ifndef LIB_MINPART_CONTEXT_LITERALS__HEADER #define LIB_MINPART_CONTEXT_LITERALS__HEADER namespace minpart { namespace litera...
24.692308
92
0.659813
[ "vector" ]
5234a421a7e68ae4ba18422f1960414c2344e852
4,444
cc
C++
cpp/src/arrow/compute/function_internal.cc
NinaPeng/arrow
91f261fa9a7841fd914c5ed1d8e747fb4e510a5b
[ "CC-BY-3.0", "Apache-2.0", "CC0-1.0", "MIT" ]
1
2021-07-12T23:54:47.000Z
2021-07-12T23:54:47.000Z
cpp/src/arrow/compute/function_internal.cc
NinaPeng/arrow
91f261fa9a7841fd914c5ed1d8e747fb4e510a5b
[ "CC-BY-3.0", "Apache-2.0", "CC0-1.0", "MIT" ]
8
2021-01-29T02:43:10.000Z
2022-03-04T01:50:45.000Z
cpp/src/arrow/compute/function_internal.cc
lidavidm/arrow
c9b9fa4e9964926061ff7c80b09ed22eb0ef77a1
[ "CC-BY-3.0", "Apache-2.0", "CC0-1.0", "MIT" ]
null
null
null
// Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may...
40.4
87
0.738749
[ "vector" ]
5235ed0b86731cbb7f46905f669dd5742ffe3d24
12,582
cpp
C++
applications/physbam/physbam-lib/Public_Library/PhysBAM_Rendering/PhysBAM_OpenGL/OpenGL_Components/OPENGL_COMPONENT_HEIGHTFIELD_1D.cpp
schinmayee/nimbus
170cd15e24a7a88243a6ea80aabadc0fc0e6e177
[ "BSD-3-Clause" ]
20
2017-07-03T19:09:09.000Z
2021-09-10T02:53:56.000Z
applications/physbam/physbam-lib/Public_Library/PhysBAM_Rendering/PhysBAM_OpenGL/OpenGL_Components/OPENGL_COMPONENT_HEIGHTFIELD_1D.cpp
schinmayee/nimbus
170cd15e24a7a88243a6ea80aabadc0fc0e6e177
[ "BSD-3-Clause" ]
null
null
null
applications/physbam/physbam-lib/Public_Library/PhysBAM_Rendering/PhysBAM_OpenGL/OpenGL_Components/OPENGL_COMPONENT_HEIGHTFIELD_1D.cpp
schinmayee/nimbus
170cd15e24a7a88243a6ea80aabadc0fc0e6e177
[ "BSD-3-Clause" ]
9
2017-09-17T02:05:06.000Z
2020-01-31T00:12:01.000Z
//##################################################################### // Copyright 2004, Eran Guendelman. // This file is part of PhysBAM whose distribution is governed by the license contained in the accompanying file PHYSBAM_COPYRIGHT.txt. //##################################################################### #inc...
36.051576
159
0.616436
[ "vector" ]
5236fe955e1268f4f5eb80cb8069194fb4df0d5e
2,825
hpp
C++
cpp/include/data_structure/set/disjoint_set.hpp
rohithv999/ProAlgos-Cpp
36dcb1706e464bdbabfb949ac194b4db12aead3d
[ "MIT" ]
222
2020-05-12T23:33:21.000Z
2022-03-31T16:57:43.000Z
cpp/include/data_structure/set/disjoint_set.hpp
rohithv999/ProAlgos-Cpp
36dcb1706e464bdbabfb949ac194b4db12aead3d
[ "MIT" ]
93
2020-05-07T21:08:41.000Z
2022-03-28T00:40:04.000Z
cpp/include/data_structure/set/disjoint_set.hpp
rohithv999/ProAlgos-Cpp
36dcb1706e464bdbabfb949ac194b4db12aead3d
[ "MIT" ]
95
2020-05-07T22:22:11.000Z
2022-02-01T08:39:25.000Z
/* Disjoint-set ------------ A disjoint-set data structure (also called a union–find data structure or merge–find set) keeps track of a set of elements partitioned into a number of disjoint (non-overlapping) subsets. */ #ifndef DISJOINT_SET_HPP #define DISJOINT_SET_HPP #include <cstddef> #include ...
22.070313
79
0.604956
[ "vector" ]
5237d09a33f72f813e38ba131ad364c57736c6dd
1,240
cpp
C++
codeforces/C - Obtain The String/Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
1
2022-02-11T16:55:36.000Z
2022-02-11T16:55:36.000Z
codeforces/C - Obtain The String/Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
codeforces/C - Obtain The String/Accepted.cpp
kzvd4729/Problem-Solving
13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab
[ "MIT" ]
null
null
null
/**************************************************************************************** * @author: kzvd4729 created: Jan/29/2020 21:02 * solution_verdict: Accepted language: GNU C++14 * run...
31.794872
111
0.381452
[ "vector" ]
523ab0c4037b6d8f81c8e75d422c1ad613a642e0
20,945
cpp
C++
Engine/Source/Runtime/Windows/AudioMixerXAudio2/Private/AudioMixerPlatformXAudio2.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
1
2022-01-29T18:36:12.000Z
2022-01-29T18:36:12.000Z
Engine/Source/Runtime/Windows/AudioMixerXAudio2/Private/AudioMixerPlatformXAudio2.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
Engine/Source/Runtime/Windows/AudioMixerXAudio2/Private/AudioMixerPlatformXAudio2.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved. /** Concrete implementation of FAudioDevice for XAudio2 See https://msdn.microsoft.com/en-us/library/windows/desktop/hh405049%28v=vs.85%29.aspx */ #include "AudioMixerPlatformXAudio2.h" #include "AudioMixer.h" #include "AudioMixerDevice.h" #include "HAL/...
31.02963
222
0.760659
[ "shape" ]
523b1f69f8b2e557c100ab0ca50f0415b3bc298a
536
hpp
C++
cpp_src/data_structure/DisjointSetUnion.hpp
satashun/algorithm
ac844a9d3bff9dfa2f755fe92a28e1972cd7bbf4
[ "MIT" ]
null
null
null
cpp_src/data_structure/DisjointSetUnion.hpp
satashun/algorithm
ac844a9d3bff9dfa2f755fe92a28e1972cd7bbf4
[ "MIT" ]
4
2020-04-07T16:11:30.000Z
2021-02-23T23:26:03.000Z
cpp_src/data_structure/DisjointSetUnion.hpp
satashun/algorithm
ac844a9d3bff9dfa2f755fe92a28e1972cd7bbf4
[ "MIT" ]
null
null
null
class unionfind { vector<int> par, rank; public: void init(int n) { par.resize(n); rank.resize(n); for (int i = 0; i < n; i++) { par[i] = i; rank[i] = 0; } } int find(int x) { if (par[x] == x) return x; else return par[x] = find(par[x]); } bool unite(int x, int y) { x = find(x); y = find...
15.764706
57
0.498134
[ "vector" ]
523ca8106596c03935d4e22338d7b1ce5bfe2f7d
96,320
cpp
C++
Engine/Source/ThirdParty/PhysX/PhysX-3.3/Source/PhysX/src/NpScene.cpp
PopCap/GameIdea
201e1df50b2bc99afc079ce326aa0a44b178a391
[ "BSD-2-Clause" ]
null
null
null
Engine/Source/ThirdParty/PhysX/PhysX-3.3/Source/PhysX/src/NpScene.cpp
PopCap/GameIdea
201e1df50b2bc99afc079ce326aa0a44b178a391
[ "BSD-2-Clause" ]
2
2015-06-21T17:38:11.000Z
2015-06-22T20:54:42.000Z
Engine/Source/ThirdParty/PhysX/PhysX-3.3/Source/PhysX/src/NpScene.cpp
PopCap/GameIdea
201e1df50b2bc99afc079ce326aa0a44b178a391
[ "BSD-2-Clause" ]
null
null
null
/* * Copyright (c) 2008-2015, NVIDIA CORPORATION. All rights reserved. * * NVIDIA CORPORATION and its licensors retain all intellectual property * and proprietary rights in and to this software, related documentation * and any modifications thereto. Any use, reproduction, disclosure or * distribution of this so...
30.452102
230
0.73615
[ "object", "shape" ]
524f6b1937b11fc3c8a03bf4578957c93aca6afb
8,830
cpp
C++
core/sql/optimizer/PartKeyDist.cpp
anoopsharma00/incubator-trafodion
b109e2cf5883f8e763af853ab6fad7ce7110d9e8
[ "Apache-2.0" ]
null
null
null
core/sql/optimizer/PartKeyDist.cpp
anoopsharma00/incubator-trafodion
b109e2cf5883f8e763af853ab6fad7ce7110d9e8
[ "Apache-2.0" ]
null
null
null
core/sql/optimizer/PartKeyDist.cpp
anoopsharma00/incubator-trafodion
b109e2cf5883f8e763af853ab6fad7ce7110d9e8
[ "Apache-2.0" ]
null
null
null
/********************************************************************** // @@@ START COPYRIGHT @@@ // // 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. ...
38.72807
91
0.647339
[ "transform" ]
525122afd39e68f905b81e5418937281a0e3c6ad
8,014
hpp
C++
framework/areg/base/private/posix/WaitableMutexIX.hpp
Ali-Nasrolahi/areg-sdk
4fbc2f2644220196004a31672a697a864755f0b6
[ "Apache-2.0" ]
70
2021-07-20T11:26:16.000Z
2022-03-27T11:17:43.000Z
framework/areg/base/private/posix/WaitableMutexIX.hpp
Ali-Nasrolahi/areg-sdk
4fbc2f2644220196004a31672a697a864755f0b6
[ "Apache-2.0" ]
32
2021-07-31T05:20:44.000Z
2022-03-20T10:11:52.000Z
framework/areg/base/private/posix/WaitableMutexIX.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...
48.865854
102
0.548041
[ "object" ]
5264cb771238a0061a5ad16c40f3a125dd0593e2
1,763
cpp
C++
Src/Entity/Enemy/Clyde.cpp
Pungyy/PacMan-Game
957f930f7f8cd85fcba96c95cad394e2f30b38e4
[ "MIT" ]
null
null
null
Src/Entity/Enemy/Clyde.cpp
Pungyy/PacMan-Game
957f930f7f8cd85fcba96c95cad394e2f30b38e4
[ "MIT" ]
null
null
null
Src/Entity/Enemy/Clyde.cpp
Pungyy/PacMan-Game
957f930f7f8cd85fcba96c95cad394e2f30b38e4
[ "MIT" ]
null
null
null
#include "Clyde.h" #include "../../Tile.h" #include "../Pacman/Pacman.h" #include "../../States/GameState/GameState.h" Clyde::Clyde(sf::Vector2i gridPos, GameState* gameState) : Enemy(gridPos, sf::Vector2i(230, 113), gameState, Entities::Clyde) { SetupAnimations(); } Clyde::~Clyde() { } sf::Vector2i Clyde::GetSc...
34.568627
79
0.711855
[ "vector" ]
52655fbdbfec8ecdb874a4ecfa14ae63465299e8
56,074
hpp
C++
canabis/include/bisimage_maths.hpp
amwink/bis
5d12c54b23be202d179fea9558d1aab09c35392e
[ "MIT" ]
null
null
null
canabis/include/bisimage_maths.hpp
amwink/bis
5d12c54b23be202d179fea9558d1aab09c35392e
[ "MIT" ]
null
null
null
canabis/include/bisimage_maths.hpp
amwink/bis
5d12c54b23be202d179fea9558d1aab09c35392e
[ "MIT" ]
null
null
null
#ifndef BISIMAGE_MATHS_HPP_INCLUDED #define BISIMAGE_MATHS_HPP_INCLUDED /* Much of the basic 2/3/4D matrix/vector maths * in this header is inspired by Linas Vepstas' * https://fossies.org/linux/gle/src/vvector.h * * These classes are a middle ground between the * speed of #define directives and the flexibility...
45.551584
148
0.443878
[ "object", "vector", "3d" ]
5272f4c99982abf70cde0b55635f733a6f880fed
2,624
cpp
C++
LeetCode/01/LeetCode145-BinaryTreePostorderTraversal.cpp
Ad147/LeetCode-Solutions
2ddbaef7387887f030825616cafde87db7d2022e
[ "MIT" ]
null
null
null
LeetCode/01/LeetCode145-BinaryTreePostorderTraversal.cpp
Ad147/LeetCode-Solutions
2ddbaef7387887f030825616cafde87db7d2022e
[ "MIT" ]
null
null
null
LeetCode/01/LeetCode145-BinaryTreePostorderTraversal.cpp
Ad147/LeetCode-Solutions
2ddbaef7387887f030825616cafde87db7d2022e
[ "MIT" ]
null
null
null
// LeetCode145-BinaryTreePostorderTraversal.cpp // Ad147 // Init: 19Mar01 /* ----------------------------------------------------------------------------- 145. Binary Tree Postorder Traversal Hard Stack, Tree Given a binary tree, return the postorder traversal of its nodes' values. Example: ------------------------...
23.63964
104
0.516387
[ "vector" ]
5280da86a920d118089f376b9236d3d814ee1a17
20,887
hpp
C++
third_party/CppAD/include/cppad/core/compare.hpp
eric-heiden/tds-merge
1e18447b0096efbb6df5d9ad7d69c8b0cc282747
[ "Apache-2.0" ]
null
null
null
third_party/CppAD/include/cppad/core/compare.hpp
eric-heiden/tds-merge
1e18447b0096efbb6df5d9ad7d69c8b0cc282747
[ "Apache-2.0" ]
null
null
null
third_party/CppAD/include/cppad/core/compare.hpp
eric-heiden/tds-merge
1e18447b0096efbb6df5d9ad7d69c8b0cc282747
[ "Apache-2.0" ]
null
null
null
# ifndef CPPAD_CORE_COMPARE_HPP # define CPPAD_CORE_COMPARE_HPP /* -------------------------------------------------------------------------- CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-19 Bradley M. Bell CppAD is distributed under the terms of the Eclipse Public License Version 2.0. This ...
32.841195
79
0.563125
[ "object" ]
52821f84d13b7b00ce64002b6b6e36a8cb30fc51
4,024
hh
C++
libs/vdt4/vdt_rwis_file_reader.hh
OSADP/Pikalert-Vehicle-Data-Translator-
295da604408f6f13af0301b55476a81311459386
[ "Apache-2.0" ]
2
2020-06-03T15:59:50.000Z
2020-12-21T11:11:57.000Z
libs/vdt4/vdt_rwis_file_reader.hh
OSADP/Pikalert-Vehicle-Data-Translator-
295da604408f6f13af0301b55476a81311459386
[ "Apache-2.0" ]
null
null
null
libs/vdt4/vdt_rwis_file_reader.hh
OSADP/Pikalert-Vehicle-Data-Translator-
295da604408f6f13af0301b55476a81311459386
[ "Apache-2.0" ]
2
2019-10-02T06:47:23.000Z
2020-02-02T18:32:23.000Z
//============================================================================== // // (c) Copyright, 2012 University Corporation for Atmospheric Research (UCAR). // All rights reserved. // // File: $RCSfile: vdt_rwis_file_reader.hh,v $ // Version: $Revision: 1.1 $ Dated: $Date: 2013-04-10 17:43:27...
26.649007
80
0.672714
[ "vector" ]
528235ea574d5f52b43ee1efdff665409cfe0f6d
879
hpp
C++
source/lightspace/public/model_parser.hpp
gitbetter/Lightspace
b00a29e2aac64cfac87ca30d2d053559d84289df
[ "MIT" ]
null
null
null
source/lightspace/public/model_parser.hpp
gitbetter/Lightspace
b00a29e2aac64cfac87ca30d2d053559d84289df
[ "MIT" ]
null
null
null
source/lightspace/public/model_parser.hpp
gitbetter/Lightspace
b00a29e2aac64cfac87ca30d2d053559d84289df
[ "MIT" ]
null
null
null
#pragma once #include "common.hpp" #include "tensor.hpp" #include <fstream> #include <vector> #include <map> namespace ls { enum class model_parse_status { SUCCESS, FAIL }; struct model_parse_data { unsigned int lines_ignored; std::vector<f_point> vertices; std::ma...
19.108696
62
0.623436
[ "vector" ]
528436389189bb5307c30c4de7915c806ed9d61f
682
cpp
C++
Sasuke_CodeWar#1/BaiG.cpp
trannguyenhan01092000/WorkspaceAlgorithm
6ad3f12d55c7675184a8c15c5388ee8422e15a16
[ "MIT" ]
8
2020-11-26T03:36:49.000Z
2020-11-28T14:33:07.000Z
Sasuke_CodeWar#1/BaiG.cpp
trannguyenhan/WorkspaceAlgorithm
6ad3f12d55c7675184a8c15c5388ee8422e15a16
[ "MIT" ]
null
null
null
Sasuke_CodeWar#1/BaiG.cpp
trannguyenhan/WorkspaceAlgorithm
6ad3f12d55c7675184a8c15c5388ee8422e15a16
[ "MIT" ]
null
null
null
#include <iostream> #include<vector> #include<algorithm> #include<fstream> #include<math.h> #include<sstream> using namespace std; bool possibleName(string name, string typed){ int lensName = name.length(); int lensTyped = typed.length(); vector<int> a; int i=0, j=0; while(j<lensTyped){ i...
16.634146
45
0.475073
[ "vector" ]
528c6122cb28265cc73a0575be347bde9ce7a292
377
cpp
C++
BaekJoon/KOI/KOI2019-1/Stick/Stick.cpp
radii-dev/ps_study
a638156430b8c2717a3d6694324a6bb3306d9016
[ "MIT" ]
null
null
null
BaekJoon/KOI/KOI2019-1/Stick/Stick.cpp
radii-dev/ps_study
a638156430b8c2717a3d6694324a6bb3306d9016
[ "MIT" ]
null
null
null
BaekJoon/KOI/KOI2019-1/Stick/Stick.cpp
radii-dev/ps_study
a638156430b8c2717a3d6694324a6bb3306d9016
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> using namespace std; int stick(int len) { vector<int> see; int tmp; for (int i = 0; i < len; i++) { cin >> tmp; if (!see.empty()) { int j = see.size() - 1; while (j >= 0 && see.at(j--) <= tmp) see.pop_back(); } see.push_back(tmp); } return see.size(); } in...
14.5
39
0.541114
[ "vector" ]
528c8c88d2f23373bec2e942e8316ce75979dd5a
6,364
cpp
C++
ShaderParser/DescriptorSetInstantiation.cpp
pocketgems/XLE2
82771e9ab1fc3b12927f1687bbe05d4f7dce8765
[ "MIT" ]
3
2018-05-17T08:39:39.000Z
2020-12-09T13:20:26.000Z
ShaderParser/DescriptorSetInstantiation.cpp
pocketgems/XLE2
82771e9ab1fc3b12927f1687bbe05d4f7dce8765
[ "MIT" ]
null
null
null
ShaderParser/DescriptorSetInstantiation.cpp
pocketgems/XLE2
82771e9ab1fc3b12927f1687bbe05d4f7dce8765
[ "MIT" ]
1
2021-11-14T08:50:15.000Z
2021-11-14T08:50:15.000Z
// Distributed under the MIT License (See // accompanying file "LICENSE" or the website // http://www.opensource.org/licenses/mit-license.php) #include "DescriptorSetInstantiation.h" #include "NodeGraphSignature.h" #include "../RenderCore/Assets/PredefinedCBLayout.h" #include "../RenderCore/ShaderLangUtil.h" #include ...
38.107784
165
0.682747
[ "vector" ]
528ffed0d37fe090697ea65c7ea7a1e9ff9207b7
4,142
cc
C++
performance/board_get_set/BoardGetSet.cc
starpentagon/realcore
64dd67d5b05f146f4cde3540d9be76303262e89c
[ "MIT" ]
null
null
null
performance/board_get_set/BoardGetSet.cc
starpentagon/realcore
64dd67d5b05f146f4cde3540d9be76303262e89c
[ "MIT" ]
10
2017-02-22T12:17:49.000Z
2017-03-10T00:15:31.000Z
performance/board_get_set/BoardGetSet.cc
starpentagon/realcore
64dd67d5b05f146f4cde3540d9be76303262e89c
[ "MIT" ]
null
null
null
#include <iostream> #include <cstdint> #include <random> #include <chrono> #include <array> #include <boost/program_options.hpp> #include "Move.h" #include "BitBoard.h" using namespace std; using namespace boost; using namespace boost::program_options; using namespace realcore; int main(int argc, char* argv[]) { ...
27.613333
132
0.632545
[ "object" ]
529358d956ad5cc5ccd472af07a7898fa801444f
22,324
cpp
C++
Asap-3.8.4/Basics/LennardJones.cpp
auag92/n2dm
03403ef8da303b79478580ae76466e374ec9da60
[ "MIT" ]
1
2021-10-19T11:35:34.000Z
2021-10-19T11:35:34.000Z
Asap-3.8.4/Basics/LennardJones.cpp
auag92/n2dm
03403ef8da303b79478580ae76466e374ec9da60
[ "MIT" ]
null
null
null
Asap-3.8.4/Basics/LennardJones.cpp
auag92/n2dm
03403ef8da303b79478580ae76466e374ec9da60
[ "MIT" ]
3
2016-07-18T19:22:48.000Z
2021-07-06T03:06:42.000Z
// Copyright (C) 2008-2011 Jakob Schiotz and Center for Individual // Nanoparticle Functionality, Department of Physics, Technical // University of Denmark. Email: schiotz@fysik.dtu.dk // // This file is part of Asap version 3. // // This program is free software: you can redistribute it and/or // modify it under the ...
33.722054
121
0.528669
[ "vector" ]
52939b0f9c7c42fbf0de6ea3eef989f5d4fcfb65
46,853
cpp
C++
frameworks/compile/mclinker/lib/Target/ARM/ARMRelocator.cpp
touxiong88/92_mediatek
5e96a7bb778fd9d9b335825584664e0c8b5ff2c7
[ "Apache-2.0" ]
1
2022-01-07T01:53:19.000Z
2022-01-07T01:53:19.000Z
frameworks/compile/mclinker/lib/Target/ARM/ARMRelocator.cpp
touxiong88/92_mediatek
5e96a7bb778fd9d9b335825584664e0c8b5ff2c7
[ "Apache-2.0" ]
null
null
null
frameworks/compile/mclinker/lib/Target/ARM/ARMRelocator.cpp
touxiong88/92_mediatek
5e96a7bb778fd9d9b335825584664e0c8b5ff2c7
[ "Apache-2.0" ]
1
2020-02-28T02:48:42.000Z
2020-02-28T02:48:42.000Z
//===- ARMRelocator.cpp ----------------------------------------===// // // The MCLinker Project // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===--------------------------------------------------------------------===// #i...
34.299414
89
0.639425
[ "object" ]
529a60911198114d2a6fc4ac6f85cf84b0999af8
6,878
cc
C++
tests/libtests/faults/data/CohesiveImpulsesDataHex8.cc
cehanagan/pylith
cf5c1c34040460a82f79b6eb54df894ed1b1ee93
[ "MIT" ]
93
2015-01-08T16:41:22.000Z
2022-02-25T13:40:02.000Z
tests/libtests/faults/data/CohesiveImpulsesDataHex8.cc
sloppyjuicy/pylith
ac2c1587f87e45c948638b19560813d4d5b6a9e3
[ "MIT" ]
277
2015-02-20T16:27:35.000Z
2022-03-30T21:13:09.000Z
tests/libtests/faults/data/CohesiveImpulsesDataHex8.cc
sloppyjuicy/pylith
ac2c1587f87e45c948638b19560813d4d5b6a9e3
[ "MIT" ]
71
2015-03-24T12:11:08.000Z
2022-03-03T04:26:02.000Z
// -*- C++ -*- // // ====================================================================== // // Brad T. Aagaard, U.S. Geological Survey // Charles A. Williams, GNS Science // Matthew G. Knepley, University at Buffalo // // This code was developed as part of the Computational Infrastructure // for Geodynamics (http://...
27.293651
79
0.577348
[ "mesh" ]
529ccbd5e664fd71894c982235817e98f0c35b3f
15,931
cpp
C++
src/collada-view/DefaultRenderer.cpp
veter-team/daeview
6eaff3cd4efe0c5548d8897267356db473b4b907
[ "MIT" ]
7
2016-01-08T20:38:51.000Z
2021-03-03T03:54:40.000Z
src/collada-view/DefaultRenderer.cpp
veter-team/daeview
6eaff3cd4efe0c5548d8897267356db473b4b907
[ "MIT" ]
null
null
null
src/collada-view/DefaultRenderer.cpp
veter-team/daeview
6eaff3cd4efe0c5548d8897267356db473b4b907
[ "MIT" ]
null
null
null
#include <stdexcept> #include <sstream> #include <boost/graph/depth_first_search.hpp> #include <list> #include "gltools.h" #include "DefaultRenderer.h" #include "NodePainter.h" #include "Shaders.h" class lwmatrix_update_visitor : public default_dfs_visitor { public: lwmatrix_update_visitor(SceneGraph *sg) : s...
33.328452
130
0.657962
[ "geometry", "render", "object", "transform" ]
52a593e9e635c408296d8193b7177c78a2674bbf
413
cpp
C++
src/main.cpp
asaladino/classy-json-schema
3086de9c4f19698267ca95c82d8a4aaa17f70c28
[ "MIT" ]
null
null
null
src/main.cpp
asaladino/classy-json-schema
3086de9c4f19698267ca95c82d8a4aaa17f70c28
[ "MIT" ]
null
null
null
src/main.cpp
asaladino/classy-json-schema
3086de9c4f19698267ca95c82d8a4aaa17f70c28
[ "MIT" ]
null
null
null
#include "Model/Setting.h" #include "Controller/CliController.h" #include "Controller/GuiController.h" int main(int argc, char *argv[]) { auto setting = Setting(argc, argv); if (setting.useCli) { auto cliController = CliController(setting); return cliController.run(); } else { auto ...
29.5
52
0.66586
[ "model" ]