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
2e316d36c9bdfa918af5139c6244a4777d72c9ac
378
cc
C++
Fireworks/Geometry/src/DisplayGeomRecord.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
3
2018-08-24T19:10:26.000Z
2019-02-19T11:45:32.000Z
Fireworks/Geometry/src/DisplayGeomRecord.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
3
2018-08-23T13:40:24.000Z
2019-12-05T21:16:03.000Z
Fireworks/Geometry/src/DisplayGeomRecord.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
5
2018-08-21T16:37:52.000Z
2020-01-09T13:33:17.000Z
// -*- C++ -*- // // Package: Geometry // Class : DisplayGeomRecord // // Implementation: // [Notes on implementation] // // Author: // Created: Thu Mar 18 16:19:57 CDT 2010 #include "Fireworks/Geometry/interface/DisplayGeomRecord.h" #include "FWCore/Framework/interface/eventsetuprecord_registr...
23.625
75
0.695767
[ "geometry" ]
2e371b0d9252c3ff7afc6cd01cbd198348e420bb
40,804
cpp
C++
Plugins/PointSprite/ParaViewPlugin/Qvis/ColorControlPointList.cpp
cjh1/ParaView
b0eba067c87078d5fe56ec3cb21447f149e1f31a
[ "BSD-3-Clause" ]
17
2015-02-17T00:30:26.000Z
2022-03-17T06:13:02.000Z
Plugins/PointSprite/ParaViewPlugin/Qvis/ColorControlPointList.cpp
cjh1/ParaView
b0eba067c87078d5fe56ec3cb21447f149e1f31a
[ "BSD-3-Clause" ]
null
null
null
Plugins/PointSprite/ParaViewPlugin/Qvis/ColorControlPointList.cpp
cjh1/ParaView
b0eba067c87078d5fe56ec3cb21447f149e1f31a
[ "BSD-3-Clause" ]
10
2015-08-31T18:20:17.000Z
2022-02-02T15:16:21.000Z
/***************************************************************************** * * Copyright (c) 2000 - 2007, The Regents of the University of California * Produced at the Lawrence Livermore National Laboratory * All rights reserved. * * This file is part of VisIt. For details, see http://www.llnl.gov/visit/. The * ful...
30.002941
107
0.525831
[ "object", "vector" ]
aa3133bfa3967a486e241bea7f9f8d3ce6b8ccbc
7,426
cpp
C++
module-audio/board/linux/LinuxAudioDevice.cpp
buk7456/MuditaOS
06ef1e131b27b0f397cc615c96d51bede7050423
[ "BSL-1.0" ]
null
null
null
module-audio/board/linux/LinuxAudioDevice.cpp
buk7456/MuditaOS
06ef1e131b27b0f397cc615c96d51bede7050423
[ "BSL-1.0" ]
null
null
null
module-audio/board/linux/LinuxAudioDevice.cpp
buk7456/MuditaOS
06ef1e131b27b0f397cc615c96d51bede7050423
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2017-2022, Mudita Sp. z.o.o. All rights reserved. // For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md #include "LinuxAudioDevice.hpp" #include <Audio/Stream.hpp> #include <log/log.hpp> #include <cmath> namespace audio { namespace { class PortAudio { p...
34.221198
116
0.559655
[ "vector" ]
aa343d9bf97ad8fa009bfafa7de7cb4cbee13f6e
9,741
cpp
C++
Engine/Source/Editor/GraphEditor/Private/KismetPins/SGraphPinVector.cpp
PopCap/GameIdea
201e1df50b2bc99afc079ce326aa0a44b178a391
[ "BSD-2-Clause" ]
null
null
null
Engine/Source/Editor/GraphEditor/Private/KismetPins/SGraphPinVector.cpp
PopCap/GameIdea
201e1df50b2bc99afc079ce326aa0a44b178a391
[ "BSD-2-Clause" ]
2
2015-06-21T17:38:11.000Z
2015-06-22T20:54:42.000Z
Engine/Source/Editor/GraphEditor/Private/KismetPins/SGraphPinVector.cpp
PopCap/GameIdea
201e1df50b2bc99afc079ce326aa0a44b178a391
[ "BSD-2-Clause" ]
null
null
null
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved. #include "GraphEditorCommon.h" #include "SGraphPinVector.h" #include "SNumericEntryBox.h" #include "Editor/UnrealEd/Public/ScopedTransaction.h" #define LOCTEXT_NAMESPACE "VectorTextBox" //Class implementation to create 3 editable text boxes to represent ...
33.589655
160
0.7143
[ "vector" ]
aa3c31abbd9ffd9994750b2c7b332f46a8ca3264
1,551
cpp
C++
SimulationCore/Model_1D_ME_MPM_BSpline_s.cpp
MingAtUWA/SimpleMPM
46a0e48028b7d6258f452f9cbee6195bb7f6aa41
[ "MIT" ]
null
null
null
SimulationCore/Model_1D_ME_MPM_BSpline_s.cpp
MingAtUWA/SimpleMPM
46a0e48028b7d6258f452f9cbee6195bb7f6aa41
[ "MIT" ]
null
null
null
SimulationCore/Model_1D_ME_MPM_BSpline_s.cpp
MingAtUWA/SimpleMPM
46a0e48028b7d6258f452f9cbee6195bb7f6aa41
[ "MIT" ]
null
null
null
#include "SimulationCore_pcp.h" #include "Model_1D_ME_MPM_BSpline_s.h" Model_1D_ME_MPM_BSpline_s:: Model_1D_ME_MPM_BSpline_s() : nodes(nullptr), node_num(0), elems(nullptr), elem_num(0), pcls(nullptr), pcl_num(0), bfs(nullptr), bf_num(0), tbcs(nullptr), tbc_num(0), abcs(nullptr), abc_num(0), vbcs(nullptr), vb...
19.3875
43
0.677627
[ "mesh" ]
aa3ce09cc5ff70570b80d3146bee0fa16eaf4e6e
4,255
cpp
C++
ngraph/test/type_prop/gather_tree.cpp
uikilin100/openvino
afc5191b8c75b1de4adc8cb07c6269b52882ddfe
[ "Apache-2.0" ]
1
2021-03-16T17:40:26.000Z
2021-03-16T17:40:26.000Z
ngraph/test/type_prop/gather_tree.cpp
uikilin100/openvino
afc5191b8c75b1de4adc8cb07c6269b52882ddfe
[ "Apache-2.0" ]
42
2020-11-23T08:09:57.000Z
2022-02-21T13:03:34.000Z
ngraph/test/type_prop/gather_tree.cpp
tsocha/openvino
3081fac7581933568b496a3c4e744d1cee481619
[ "Apache-2.0" ]
4
2021-04-02T08:48:38.000Z
2021-07-01T06:59:02.000Z
// Copyright (C) 2018-2021 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include "gtest/gtest.h" #include "ngraph/ngraph.hpp" #include "util/type_prop.hpp" using namespace std; using namespace ngraph; TEST(type_prop, gather_tree_output_shape) { auto step_ids = make_shared<op::Parameter>(element::i...
48.908046
120
0.682726
[ "shape" ]
aa4a39e0717c3a26f9569b2228addc17b1b6f8b5
1,927
cpp
C++
CLRS/String/LongestCommonPrefix.cpp
ComputerProgrammerStorager/DataStructureAlgorithm
508f7e37898c907ea7ea6ec40749621a2349e93f
[ "MIT" ]
null
null
null
CLRS/String/LongestCommonPrefix.cpp
ComputerProgrammerStorager/DataStructureAlgorithm
508f7e37898c907ea7ea6ec40749621a2349e93f
[ "MIT" ]
null
null
null
CLRS/String/LongestCommonPrefix.cpp
ComputerProgrammerStorager/DataStructureAlgorithm
508f7e37898c907ea7ea6ec40749621a2349e93f
[ "MIT" ]
null
null
null
/* Write a function to find the longest common prefix string amongst an array of strings. If there is no common prefix, return an empty string "". Example 1: Input: strs = ["flower","flow","flight"] Output: "fl" Example 2: Input: strs = ["dog","racecar","car"] Output: "" Explanation: There is no common prefix am...
22.940476
86
0.500259
[ "vector" ]
aa4bc1e3796c5b55abdc8fd30c81da784e10de2a
1,009
tpp
C++
src/software/ai/navigator/obstacle/obstacle.tpp
EvanMorcom/Software
586fb3cf8dc2d93de194d9815af5de63caa7e318
[ "MIT" ]
null
null
null
src/software/ai/navigator/obstacle/obstacle.tpp
EvanMorcom/Software
586fb3cf8dc2d93de194d9815af5de63caa7e318
[ "MIT" ]
null
null
null
src/software/ai/navigator/obstacle/obstacle.tpp
EvanMorcom/Software
586fb3cf8dc2d93de194d9815af5de63caa7e318
[ "MIT" ]
null
null
null
#pragma once #include "software/ai/navigator/obstacle/obstacle.h" template <typename GEOM_TYPE> GeomObstacle<GEOM_TYPE>::GeomObstacle(const GEOM_TYPE& geom) : geom_(geom) { } template <typename GEOM_TYPE> bool GeomObstacle<GEOM_TYPE>::contains(const Point& p) const { return geom_.contains(p); } template <typena...
21.468085
74
0.744301
[ "shape" ]
aa4eeb9511a0a4126936e058c1d340de0d31e0c7
1,442
cpp
C++
src/KPeakDecomposition.cpp
acalio/Decompositions
bdb8ca8c5207e28f91634bae49bfe46108ec43e8
[ "MIT" ]
null
null
null
src/KPeakDecomposition.cpp
acalio/Decompositions
bdb8ca8c5207e28f91634bae49bfe46108ec43e8
[ "MIT" ]
null
null
null
src/KPeakDecomposition.cpp
acalio/Decompositions
bdb8ca8c5207e28f91634bae49bfe46108ec43e8
[ "MIT" ]
null
null
null
#include "../include/decompositions/KPeakDecomposition.hpp" #include <networkit/centrality/CoreDecomposition.hpp> #include <memory> #include <iostream> namespace NetworKit { KPeakDecomposition::KPeakDecomposition(const Graph &G): Centrality(G){} void KPeakDecomposition::run(){ //copy the grap into another varia...
27.730769
92
0.612344
[ "object", "vector" ]
aa4f967a65f5785a40250e469fd447c78b1879b8
9,869
cc
C++
src/Validation/insert-sizes.cc
sagrudd/amos
47643a1d238bff83421892cb74daaf6fff8d9548
[ "Artistic-1.0" ]
10
2015-03-20T18:25:56.000Z
2020-06-02T22:00:08.000Z
src/Validation/insert-sizes.cc
sagrudd/amos
47643a1d238bff83421892cb74daaf6fff8d9548
[ "Artistic-1.0" ]
5
2015-05-14T17:51:20.000Z
2020-07-19T04:17:47.000Z
src/Validation/insert-sizes.cc
sagrudd/amos
47643a1d238bff83421892cb74daaf6fff8d9548
[ "Artistic-1.0" ]
10
2015-05-17T16:01:23.000Z
2020-05-20T08:13:43.000Z
#include "foundation_AMOS.hh" #include <iostream> #include <cassert> #include <unistd.h> #include <map> #include <set> #include <cmath> #include "amp.hh" #include "DataStore.hh" #include "Insert.hh" #include "InsertStats.hh" using namespace std; using namespace AMOS; string OPT_BankName; bool OPT_BankSpy = false;...
26.317333
96
0.539062
[ "vector" ]
aa67f0276f553ca611ffb80759c23fe8e45fd164
2,296
cpp
C++
src/ui/uielement.cpp
LinkDoyle/YuKi
22c7ac495e48985e0f21574b327ee687563a88e5
[ "Apache-2.0" ]
null
null
null
src/ui/uielement.cpp
LinkDoyle/YuKi
22c7ac495e48985e0f21574b327ee687563a88e5
[ "Apache-2.0" ]
null
null
null
src/ui/uielement.cpp
LinkDoyle/YuKi
22c7ac495e48985e0f21574b327ee687563a88e5
[ "Apache-2.0" ]
null
null
null
#include "ui/uielement.h" #include <algorithm> namespace yuki { namespace ui { using namespace graphic; /****************************************************************************** * class UIElement ******************************************************************************/ void UIElement::onRender(Context2D*...
30.210526
80
0.591463
[ "shape" ]
aa6a8874049ddefd80412a14d151bf7a5ff9cff2
3,686
cpp
C++
lib_cvgutils/src/source/xmlfilereader.cpp
MorS25/cvg_quadrotor_swarm
da75d02049163cf65fd7305bc46a16359a851c7c
[ "BSD-3-Clause" ]
null
null
null
lib_cvgutils/src/source/xmlfilereader.cpp
MorS25/cvg_quadrotor_swarm
da75d02049163cf65fd7305bc46a16359a851c7c
[ "BSD-3-Clause" ]
null
null
null
lib_cvgutils/src/source/xmlfilereader.cpp
MorS25/cvg_quadrotor_swarm
da75d02049163cf65fd7305bc46a16359a851c7c
[ "BSD-3-Clause" ]
null
null
null
#include "xmlfilereader.h" XMLFileReader::XMLFileReader(std::string xml_file_str_in) { // throw(cvg_XMLFileReader_exception) { std::cout<< "XMLFileReader, opening file: " << xml_file_str << std::endl; xml_file_str = xml_file_str_in; std::ifstream xml_fstream(xml_file_str); pugi::xml_parse_result resul...
47.87013
198
0.692349
[ "vector" ]
aa70409758d5dd6d2f7be349a2ea3512b5f62e51
8,555
cpp
C++
src/axom/quest/examples/point_in_cell_benchmark.cpp
panda-z/axom
4a6086a3a761abd23e60caf9819bc244469b3f60
[ "BSD-3-Clause" ]
null
null
null
src/axom/quest/examples/point_in_cell_benchmark.cpp
panda-z/axom
4a6086a3a761abd23e60caf9819bc244469b3f60
[ "BSD-3-Clause" ]
null
null
null
src/axom/quest/examples/point_in_cell_benchmark.cpp
panda-z/axom
4a6086a3a761abd23e60caf9819bc244469b3f60
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2017-2021, Lawrence Livermore National Security, LLC and // other Axom Project Developers. See the top-level LICENSE file for details. // // SPDX-License-Identifier: (BSD-3-Clause) #include "axom/config.hpp" #include "axom/core/utilities/Timer.hpp" #include "axom/quest/PointInCell.hpp" #include "axom...
28.516667
81
0.608533
[ "mesh", "object", "vector", "transform" ]
aa7514a1f7d872d247241a2a302c649dc5345024
1,656
cpp
C++
test/unittest/step_text_test.cpp
albin-johansson/step
f3e71ebd2d54ebbb7fcfa40002b1e4fde3779aab
[ "MIT" ]
4
2020-06-05T11:56:11.000Z
2020-11-13T14:49:06.000Z
test/unittest/step_text_test.cpp
albin-johansson/step
f3e71ebd2d54ebbb7fcfa40002b1e4fde3779aab
[ "MIT" ]
8
2020-05-23T09:35:03.000Z
2020-06-20T22:15:02.000Z
test/unittest/step_text_test.cpp
albin-johansson/step
f3e71ebd2d54ebbb7fcfa40002b1e4fde3779aab
[ "MIT" ]
null
null
null
#include "step_text.hpp" #include <doctest.h> #include "step_exception.hpp" #include "step_utils.hpp" using namespace step; TEST_SUITE("text") { TEST_CASE("Text object with all keys") { const text text{detail::parse_json("resource/text/text_all_keys.json")}; CHECK(text.get_text() == "Elrond"); CHEC...
25.875
77
0.631643
[ "object" ]
aa75775e865471766644680366338ce450853122
4,574
cpp
C++
ExLemmings/Lemmings/02-Lemming/Menu.cpp
ralucado/VJ
40f49deeb63b45ffbcccd71f12cb1400a86c8129
[ "MIT" ]
1
2020-01-01T09:04:49.000Z
2020-01-01T09:04:49.000Z
ExLemmings/Lemmings/02-Lemming/Menu.cpp
ralucado/VJ
40f49deeb63b45ffbcccd71f12cb1400a86c8129
[ "MIT" ]
null
null
null
ExLemmings/Lemmings/02-Lemming/Menu.cpp
ralucado/VJ
40f49deeb63b45ffbcccd71f12cb1400a86c8129
[ "MIT" ]
null
null
null
#include "Menu.h" #include <glm/gtc/matrix_transform.hpp> void Menu::init(string background, glm::vec2 geom[2], string buttonSprites[], glm::vec2 buttonPositions[], int num_buttons) { glm::vec2 texCoords[2] = { glm::vec2(0.f, 0.f), glm::vec2(1.f, 1.f) }; initShaders(); backgroundQuad = MaskedTexturedQuad::crea...
26.905882
123
0.684958
[ "render" ]
aa7647f306a01e8616ce3dbb452b7c34fba75f2c
423
hpp
C++
ch03/include/types.hpp
arpaka/deep-learning-from-scratch-cpp
4629a6d4d5068939ac99ea489e14894988368a47
[ "MIT" ]
8
2018-09-03T14:04:14.000Z
2021-01-10T12:02:15.000Z
ch03/include/types.hpp
arpaka/deep-learning-from-scratch-cpp
4629a6d4d5068939ac99ea489e14894988368a47
[ "MIT" ]
1
2017-07-21T15:54:55.000Z
2017-07-21T15:54:55.000Z
ch03/include/types.hpp
arpaka/deep-learning-from-scratch-cpp
4629a6d4d5068939ac99ea489e14894988368a47
[ "MIT" ]
3
2017-07-20T16:40:51.000Z
2018-09-03T14:04:19.000Z
#ifndef TYPES_HPP #define TYPES_HPP #include "xtensor/xarray.hpp" #include <map> #include <string> #include <vector> template <typename T> using array_t = xt::xarray<T>; template <typename T> using network_t = std::map<std::string, xt::xarray<T>>; template <typename T> std::vector<T> arr_to_vec(array_t<T> arr) { ...
17.625
55
0.673759
[ "vector" ]
aa7a41caa0ea82c28fc3c00038ef91cf6f26039b
47,519
cpp
C++
EntitiesMP/Effector.cpp
openlastchaos/lastchaos-source-client
3d88594dba7347b1bb45378136605e31f73a8555
[ "Apache-2.0" ]
1
2022-02-14T15:46:44.000Z
2022-02-14T15:46:44.000Z
EntitiesMP/Effector.cpp
openlastchaos/lastchaos-source-client
3d88594dba7347b1bb45378136605e31f73a8555
[ "Apache-2.0" ]
null
null
null
EntitiesMP/Effector.cpp
openlastchaos/lastchaos-source-client
3d88594dba7347b1bb45378136605e31f73a8555
[ "Apache-2.0" ]
2
2022-01-10T22:17:06.000Z
2022-01-17T09:34:08.000Z
/* * This file is generated by Entity Class Compiler, (c) CroTeam 1997-98 */ #line 2 "C:/Users/pwesty/Desktop/SD-Source/nov-source/Reco_Csrc/EntitiesMP/Effector.es" #include "StdH.h" #include "EntitiesMP/Effector.h" #include <EntitiesMP/BloodSpray.h> #include <Effector.h> #include <Effector_tables.h> CEntityEvent ...
56.637664
244
0.770092
[ "model" ]
aa7ab7706acbdac76c171fc2591a5d1ddfb43b5a
1,276
cpp
C++
test/algorithms/search/test_find_single_item.cpp
iamantony/CppNotes
2707db6560ad80b0e5e286a04b2d46e5c0280b3f
[ "MIT" ]
2
2020-07-31T14:13:56.000Z
2021-02-03T09:51:43.000Z
test/algorithms/search/test_find_single_item.cpp
iamantony/CppNotes
2707db6560ad80b0e5e286a04b2d46e5c0280b3f
[ "MIT" ]
28
2015-09-22T07:38:21.000Z
2018-10-02T11:00:58.000Z
test/algorithms/search/test_find_single_item.cpp
iamantony/CppNotes
2707db6560ad80b0e5e286a04b2d46e5c0280b3f
[ "MIT" ]
2
2018-10-11T14:10:50.000Z
2021-02-27T08:53:50.000Z
#include <boost/test/unit_test.hpp> #include "algorithms/search/find_single_item.hpp" BOOST_AUTO_TEST_SUITE(TestFindSingleItem) BOOST_AUTO_TEST_CASE(vector_empty) { FindSingleItem::Solution solution; BOOST_CHECK(-1 == solution.singleNumberHash(std::vector<int>())); BOOST_CHECK(0 == solution.singleNumberMa...
32.717949
82
0.724138
[ "vector" ]
aa821163e6a20eef764a0268ca7c0f8aef5ef59a
5,629
cc
C++
fast_discrete_arctangent_test.cc
vchigrin/fast_discrete_arctangent
d8745c8c8f6b9602eeed9b374ca9a6a39fc381a5
[ "MIT" ]
1
2021-01-18T06:22:34.000Z
2021-01-18T06:22:34.000Z
fast_discrete_arctangent_test.cc
vchigrin/fast_discrete_arctangent
d8745c8c8f6b9602eeed9b374ca9a6a39fc381a5
[ "MIT" ]
null
null
null
fast_discrete_arctangent_test.cc
vchigrin/fast_discrete_arctangent
d8745c8c8f6b9602eeed9b374ca9a6a39fc381a5
[ "MIT" ]
null
null
null
#include <gtest/gtest.h> #include <iostream> #include <chrono> #include <random> #include "fast_discrete_arctangent.h" namespace { int get_sector_diff(int a, int b, int sector_count) { int diff = std::abs(a - b); return std::min(diff, sector_count - diff); } } // namespace TEST(FastDiscreteArctangentTest, Test...
36.79085
79
0.686623
[ "vector" ]
aa828239c9e5b5beeb90c3e4adb0ae1910861641
708
hpp
C++
include/Hirsch3D/core/DepthBuffer.hpp
hackfleisch1337/Hirsch3D_Release_v1.0
757d6bd3f161f875402a6c402f2ea7d6c0a2c841
[ "Unlicense" ]
1
2021-02-06T13:36:09.000Z
2021-02-06T13:36:09.000Z
include/Hirsch3D/core/DepthBuffer.hpp
hackfleisch1337/Hirsch3D_Release_v1.0
757d6bd3f161f875402a6c402f2ea7d6c0a2c841
[ "Unlicense" ]
null
null
null
include/Hirsch3D/core/DepthBuffer.hpp
hackfleisch1337/Hirsch3D_Release_v1.0
757d6bd3f161f875402a6c402f2ea7d6c0a2c841
[ "Unlicense" ]
null
null
null
#ifndef HIRSCH3D_DEPTH_BUFFER_HPP #define HIRSCH3D_DEPTH_BUFFER_HPP #include <GL/glew.h> #include "glm/glm/glm.hpp" #include "glm/glm/ext/matrix_transform.hpp" #include "glm/glm/gtc/matrix_transform.hpp" #include "Object.hpp" #define YELLOW "\033[93m" #define RED "\033[91m" #define GREEN "\033[92m" #define RESET_CLR "\...
19.666667
59
0.649718
[ "object" ]
aa8d457838e56877be8ac95135398de9517c9e7e
5,303
cpp
C++
examples/tutorial.cpp
remz1337/discreture
f15227a3e5c4faf04621bc9b2adad937aee06898
[ "MIT" ]
53
2016-08-25T07:40:33.000Z
2022-01-26T09:27:31.000Z
examples/tutorial.cpp
remz1337/discreture
f15227a3e5c4faf04621bc9b2adad937aee06898
[ "MIT" ]
13
2018-01-08T20:43:18.000Z
2021-07-29T19:11:39.000Z
examples/tutorial.cpp
remz1337/discreture
f15227a3e5c4faf04621bc9b2adad937aee06898
[ "MIT" ]
12
2018-03-12T05:42:56.000Z
2022-03-13T23:18:32.000Z
/** *Welcome to discreture. This is a short tutorial on some of the functions *provided by discreture. Remember that discreture is a header-only library, *which means there is no need to install anything: You can simply copy the *folder "include" to your project and start using it right away. * *It's assumed you ...
33.77707
80
0.607769
[ "vector" ]
aa8d731544092b5782f9ca7932a110480d2a3a99
19,869
cpp
C++
bin/Il2CppOutputProject/Source/il2cppOutput/Bulk_UnityEngine.TerrainModule_0.cpp
TautvydasZilys/unity-uwp-il2cpp-with-csharp-project-example
559aa73ecb155bb0eb9d687d5d3f1f75dcb28b57
[ "MIT" ]
16
2018-10-13T12:29:06.000Z
2022-02-25T14:56:47.000Z
bin/Il2CppOutputProject/Source/il2cppOutput/Bulk_UnityEngine.TerrainModule_0.cpp
TautvydasZilys/unity-uwp-il2cpp-with-csharp-project-example
559aa73ecb155bb0eb9d687d5d3f1f75dcb28b57
[ "MIT" ]
3
2018-12-27T22:46:43.000Z
2019-03-19T12:28:37.000Z
bin/Il2CppOutputProject/Source/il2cppOutput/Bulk_UnityEngine.TerrainModule_0.cpp
TautvydasZilys/unity-uwp-il2cpp-with-csharp-project-example
559aa73ecb155bb0eb9d687d5d3f1f75dcb28b57
[ "MIT" ]
4
2019-05-02T02:13:54.000Z
2021-12-16T16:03:26.000Z
#include "il2cpp-config.h" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <cstring> #include <string.h> #include <stdio.h> #include <cmath> #include <limits> #include <assert.h> #include <stdint.h> #include "il2cpp-class-internals.h" #include "codegen/il2cpp-codegen.h" #include "i...
35.671454
194
0.830238
[ "object" ]
aa8d839b21304a7f95ababd1988b5de5629d29ac
4,586
hpp
C++
Examples/AffineRelations/AffineRels.hpp
jusito/WALi-OpenNWA
2bb4aca02c5a5d444fd038e8aa3eecd7d1ccbb99
[ "MIT" ]
15
2015-03-07T17:25:57.000Z
2022-02-04T20:17:00.000Z
src/wpds/Examples/AffineRelations/AffineRels.hpp
ucd-plse/mpi-error-prop
4367df88bcdc4d82c9a65b181d0e639d04962503
[ "BSD-3-Clause" ]
1
2018-03-03T05:58:55.000Z
2018-03-03T12:26:10.000Z
src/wpds/Examples/AffineRelations/AffineRels.hpp
ucd-plse/mpi-error-prop
4367df88bcdc4d82c9a65b181d0e639d04962503
[ "BSD-3-Clause" ]
15
2015-09-25T17:44:35.000Z
2021-07-18T18:25:38.000Z
////////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2002-2005, Gogul Balakrishnan, // University of Wisconsin, Madison. // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the follow...
34.742424
88
0.624509
[ "vector" ]
aa8ec78b0dbf0729ee4cceef10f657caccc4a5aa
1,432
cc
C++
codejam/2016/quailifiers/D.cc
metaflow/contests
5e9ffcb72c3e7da54b5e0818b1afa59f5778ffa2
[ "MIT" ]
1
2019-05-12T23:41:00.000Z
2019-05-12T23:41:00.000Z
codejam/2016/quailifiers/D.cc
metaflow/contests
5e9ffcb72c3e7da54b5e0818b1afa59f5778ffa2
[ "MIT" ]
null
null
null
codejam/2016/quailifiers/D.cc
metaflow/contests
5e9ffcb72c3e7da54b5e0818b1afa59f5778ffa2
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; using vi = vector<int>; using vvi = vector<vi>; using ii = pair<int,int>; using vii = vector<ii>; using l = long long; using vl = vector<l>; using vvl = vector<vl>; using ll = pair<l,l>; using vll = vector<ll>; using vvll = vector<vll>; using lu = unsigned long long; using ...
26.518519
71
0.518855
[ "vector" ]
aa954f563d931e7c9820693e6e12f61cf89b2e21
1,006
cpp
C++
finals_training/singapore/krypto/main.cpp
wdjpng/soi
dd565587ae30985676f7f374093ec0687436b881
[ "MIT" ]
null
null
null
finals_training/singapore/krypto/main.cpp
wdjpng/soi
dd565587ae30985676f7f374093ec0687436b881
[ "MIT" ]
null
null
null
finals_training/singapore/krypto/main.cpp
wdjpng/soi
dd565587ae30985676f7f374093ec0687436b881
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define int long long using namespace std; signed main(){ // The following line disables syncing between cin/scanf and cout/printf. // It makes input faster, but you must not use functions from <cstdio> (e.g. scanf/printf) directly. // This line must be executed before any use of c...
23.952381
104
0.506958
[ "vector" ]
aa997f99abf1dbb3bfdff2295538d2c8ff15be75
1,477
hpp
C++
src/Person/PersonDatabase.hpp
pokorj54/Command-line-calendar
de2c8a89917bd4cb69547427a6ec1bced218c5ad
[ "MIT" ]
null
null
null
src/Person/PersonDatabase.hpp
pokorj54/Command-line-calendar
de2c8a89917bd4cb69547427a6ec1bced218c5ad
[ "MIT" ]
null
null
null
src/Person/PersonDatabase.hpp
pokorj54/Command-line-calendar
de2c8a89917bd4cb69547427a6ec1bced218c5ad
[ "MIT" ]
null
null
null
#ifndef PersonDatabase_4a309fbd1acf40f2ade6687b50fb707c #define PersonDatabase_4a309fbd1acf40f2ade6687b50fb707c #include "Person.hpp" #include <unordered_map> #include <memory> #include <iostream> /** * @brief Represnts container for Person objects * */ class PersonDatabase { private: std::unordered_...
31.425532
90
0.643196
[ "object" ]
aa9ac86f68d39db6585a0e8b6eb32875ae50a8e3
6,593
cpp
C++
opcua.cpp
foglamp/foglamp-north-opcua
0cfbd2ed26d4f7518a4e5e6fd7acc1486d08e08d
[ "Apache-2.0" ]
null
null
null
opcua.cpp
foglamp/foglamp-north-opcua
0cfbd2ed26d4f7518a4e5e6fd7acc1486d08e08d
[ "Apache-2.0" ]
4
2019-07-08T13:31:14.000Z
2019-09-13T13:32:52.000Z
opcua.cpp
foglamp/foglamp-north-opcua
0cfbd2ed26d4f7518a4e5e6fd7acc1486d08e08d
[ "Apache-2.0" ]
null
null
null
/* * FogLAMP OPC UA north plugin. * * Copyright (c) 2019 Dianomic Systems * * Released under the Apache 2.0 Licence * * Author: Mark Riddoch */ #include <opcua.h> #include <stdbool.h> #include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> #include <unistd.h> using name...
26.059289
109
0.671621
[ "object", "vector" ]
aa9d4ac20706ad677bc943c0c5a40e5cf024f205
19,455
cc
C++
media/base/hybridvideoengine_unittest.cc
quanganh2627/bytm-x64-L-w05-2015_external_chromium_org_third_party_libjingle_source_talk
a77a80167b9acf91dfcd6c13fb76c0be2718030a
[ "BSL-1.0", "BSD-3-Clause" ]
null
null
null
media/base/hybridvideoengine_unittest.cc
quanganh2627/bytm-x64-L-w05-2015_external_chromium_org_third_party_libjingle_source_talk
a77a80167b9acf91dfcd6c13fb76c0be2718030a
[ "BSL-1.0", "BSD-3-Clause" ]
null
null
null
media/base/hybridvideoengine_unittest.cc
quanganh2627/bytm-x64-L-w05-2015_external_chromium_org_third_party_libjingle_source_talk
a77a80167b9acf91dfcd6c13fb76c0be2718030a
[ "BSL-1.0", "BSD-3-Clause" ]
null
null
null
/* * libjingle * Copyright 2004 Google Inc. * * 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 fo...
39.948665
80
0.743254
[ "object", "vector" ]
aa9e964f5e40686485cb613f327f373df97a40de
38,172
cpp
C++
copasi/UI/DataModelGUI.cpp
SzVarga/COPASI
00451b1a67eeec8272c73791ca861da754a7c4c4
[ "Artistic-2.0" ]
null
null
null
copasi/UI/DataModelGUI.cpp
SzVarga/COPASI
00451b1a67eeec8272c73791ca861da754a7c4c4
[ "Artistic-2.0" ]
null
null
null
copasi/UI/DataModelGUI.cpp
SzVarga/COPASI
00451b1a67eeec8272c73791ca861da754a7c4c4
[ "Artistic-2.0" ]
null
null
null
// Copyright (C) 2019 - 2020 by Pedro Mendes, Rector and Visitors of the // University of Virginia, University of Heidelberg, and University // of Connecticut School of Medicine. // All rights reserved. // Copyright (C) 2017 - 2018 by Pedro Mendes, Virginia Tech Intellectual // Properties, Inc., University of Heidelbe...
28.171218
270
0.636199
[ "render", "object", "model" ]
aaa0e3dd021775a252eee98278a1819ab36335c3
3,005
cpp
C++
cpp/sorting/BubbleSort/bubble_sort_benchmark.cpp
philipplenk/datastructures
27e3cca4cab61544b369592557f010940a5187e6
[ "MIT" ]
2
2018-03-12T10:00:34.000Z
2021-03-01T00:35:54.000Z
cpp/sorting/BubbleSort/bubble_sort_benchmark.cpp
philipplenk/datastructures
27e3cca4cab61544b369592557f010940a5187e6
[ "MIT" ]
null
null
null
cpp/sorting/BubbleSort/bubble_sort_benchmark.cpp
philipplenk/datastructures
27e3cca4cab61544b369592557f010940a5187e6
[ "MIT" ]
3
2021-02-28T02:46:15.000Z
2021-03-29T12:52:17.000Z
#include <matplotlibcpp.h> #include <chrono> #include <iostream> #include <numeric> #include <random> #include <vector> void bubble_sort(std::vector<int>& data) { for(std::size_t i=0;i<data.size();++i) { for(std::size_t j=0;j<data.size()-1;++j) { if(data[j]>data[j+1]) std::swap(data[j],data[j+1]); } }...
25.683761
117
0.680865
[ "vector" ]
aaaae696428e013f15cc4c3cf84306d5ed1ef884
5,560
cpp
C++
UvA/CJ2017_1B_B.cpp
fvannee/competitive-coding
92bc383c482b55f3e48a583cddc50d92474eb488
[ "MIT" ]
null
null
null
UvA/CJ2017_1B_B.cpp
fvannee/competitive-coding
92bc383c482b55f3e48a583cddc50d92474eb488
[ "MIT" ]
null
null
null
UvA/CJ2017_1B_B.cpp
fvannee/competitive-coding
92bc383c482b55f3e48a583cddc50d92474eb488
[ "MIT" ]
null
null
null
#include <vector> #include <list> #include <map> #include <set> #include <queue> #include <deque> #include <stack> #include <bitset> #include <algorithm> #include <functional> #include <numeric> #include <utility> #include <sstream> #include <iostream> #include <fstream> #include <iomanip> #include <cstdio> #include <...
23.459916
133
0.417806
[ "vector" ]
aaadcdb88a5c184aeea9b5ffd24055500e48522e
4,321
cpp
C++
src/ClrProfiler/config_loader.cpp
caozhiyuan/ClrProfiler.Trace
031d05d191f64f79b13b45bf845eea2a6693d898
[ "MIT" ]
51
2019-02-06T15:37:37.000Z
2022-03-18T12:59:00.000Z
src/ClrProfiler/config_loader.cpp
caozhiyuan/clr-samples
031d05d191f64f79b13b45bf845eea2a6693d898
[ "MIT" ]
6
2019-11-12T11:45:06.000Z
2022-03-14T08:57:06.000Z
src/ClrProfiler/config_loader.cpp
caozhiyuan/ClrProfiler.Trace
031d05d191f64f79b13b45bf845eea2a6693d898
[ "MIT" ]
17
2019-04-01T21:54:24.000Z
2022-03-23T06:01:41.000Z
#include "config_loader.h" #include "util.h" #include "json.hpp" #include "logging.h" #include <fstream> namespace trace { using json = nlohmann::json; std::pair<TraceAssembly, bool> TraceAssemblyFromJson(const json::value_type& src) { if (!src.is_object()) { return std::make_pair<TraceAss...
35.418033
100
0.564684
[ "vector" ]
aab1b3332e914267889f54f4b886b87db4907dd6
3,852
hpp
C++
libraries/chain/include/graphene/chain/protocol/alliance_ops.hpp
InsurChain/insur-core
c1743f1ced41b82cd7632016639230dfd1669704
[ "MIT" ]
8
2018-03-30T02:05:03.000Z
2021-01-07T10:55:16.000Z
libraries/chain/include/graphene/chain/protocol/alliance_ops.hpp
InsurChain/insur-core
c1743f1ced41b82cd7632016639230dfd1669704
[ "MIT" ]
1
2021-05-10T02:48:10.000Z
2021-05-10T02:48:10.000Z
libraries/chain/include/graphene/chain/protocol/alliance_ops.hpp
InsurChain/insur-core
c1743f1ced41b82cd7632016639230dfd1669704
[ "MIT" ]
3
2018-03-30T03:45:57.000Z
2019-05-23T17:05:08.000Z
#pragma once #include <graphene/chain/protocol/base.hpp> #include <graphene/chain/protocol/types.hpp> #include <graphene/chain/alliance_object.hpp> namespace graphene { namespace chain { struct alliance_create_operation : public base_operation { struct fee_parameters_type { uint64_t fee = ...
37.038462
91
0.516096
[ "vector" ]
82b52cc75b79eb02c2abac927750ebc88d9c3f6a
1,407
hpp
C++
src/constitutive/mechanics/plane/isotropic_linear_elasticity.hpp
dbeurle/neon
63cd2929a6eaaa0e1654c729cd35a9a52a706962
[ "MIT" ]
9
2018-07-12T17:06:33.000Z
2021-11-20T23:13:26.000Z
src/constitutive/mechanics/plane/isotropic_linear_elasticity.hpp
dbeurle/neon
63cd2929a6eaaa0e1654c729cd35a9a52a706962
[ "MIT" ]
119
2016-06-22T07:36:04.000Z
2019-03-10T19:38:12.000Z
src/constitutive/mechanics/plane/isotropic_linear_elasticity.hpp
dbeurle/neon
63cd2929a6eaaa0e1654c729cd35a9a52a706962
[ "MIT" ]
9
2017-10-08T16:51:38.000Z
2021-03-15T08:08:04.000Z
#pragma once /// @file #include "constitutive/constitutive_model.hpp" #include "numeric/dense_matrix.hpp" #include "material/isotropic_elastic_property.hpp" namespace neon::mechanics::plane { class isotropic_linear_elasticity : public constitutive_model { public: enum class plane { stress, strain }; public: ...
28.714286
98
0.702914
[ "model" ]
82bf2bbf5237639caceb3ef780347740031487f1
18,307
cpp
C++
src/lib/octree.cpp
21Ansh/cpu_tsdf
4fba28911b5f5d4015f304aa24b84b7245174a21
[ "BSD-3-Clause" ]
null
null
null
src/lib/octree.cpp
21Ansh/cpu_tsdf
4fba28911b5f5d4015f304aa24b84b7245174a21
[ "BSD-3-Clause" ]
null
null
null
src/lib/octree.cpp
21Ansh/cpu_tsdf
4fba28911b5f5d4015f304aa24b84b7245174a21
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2013-, Stephen Miller * All rights reserved. * * Redistribution and use in source and binary forms, * with or without modification, are permitted provided * that the following conditions are met: * * 1. Redistributions of source code must retain the * above copyright notice, this list o...
26.922059
126
0.638062
[ "vector" ]
82c4e3319ed5e33a0cd39e4608e67164dc25e3aa
3,268
hpp
C++
include/lely/co/sync.hpp
JoachimDuquesne/lely
cc6bad10ba57e380386622211e603006eeee0fff
[ "Apache-2.0" ]
null
null
null
include/lely/co/sync.hpp
JoachimDuquesne/lely
cc6bad10ba57e380386622211e603006eeee0fff
[ "Apache-2.0" ]
null
null
null
include/lely/co/sync.hpp
JoachimDuquesne/lely
cc6bad10ba57e380386622211e603006eeee0fff
[ "Apache-2.0" ]
null
null
null
/**@file * This header file is part of the CANopen library; it contains the C++ * interface of the synchronization (SYNC) object. See lely/co/sync.h for the C * interface. * * @copyright 2017-2020 Lely Industries N.V. * * @author J. S. Seldenthuis <jseldenthuis@lely.com> * * Licensed under the Apache License, ...
24.571429
79
0.695226
[ "object" ]
82c93c3700d7cd29a1265428689a708beab8d9a4
833
cc
C++
puzzle_04_1.cc
mody/Advent-of-Code-2017
446300f2562ad56c3da14644111d06ea4d0303f8
[ "Apache-2.0" ]
null
null
null
puzzle_04_1.cc
mody/Advent-of-Code-2017
446300f2562ad56c3da14644111d06ea4d0303f8
[ "Apache-2.0" ]
null
null
null
puzzle_04_1.cc
mody/Advent-of-Code-2017
446300f2562ad56c3da14644111d06ea4d0303f8
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <sstream> #include <boost/algorithm/string/split.hpp> #include <boost/algorithm/string/classification.hpp> #include <iterator> #include <vector> #include <unordered_set> int main() { std::string line; size_t correct = 0; while(std::getline(std::cin, line)) { if (line.e...
26.870968
105
0.587035
[ "vector" ]
82d34e1e03d4d5c9857a2adff3c6e5faea9271d7
5,604
cpp
C++
tests/OpenVDS/RequestVolumeError.cpp
wadesalazar/open-vds2
71b6a49f39f79c913b1a560be1869c8bd391de19
[ "Apache-2.0" ]
null
null
null
tests/OpenVDS/RequestVolumeError.cpp
wadesalazar/open-vds2
71b6a49f39f79c913b1a560be1869c8bd391de19
[ "Apache-2.0" ]
null
null
null
tests/OpenVDS/RequestVolumeError.cpp
wadesalazar/open-vds2
71b6a49f39f79c913b1a560be1869c8bd391de19
[ "Apache-2.0" ]
null
null
null
/**************************************************************************** ** Copyright 2020 The Open Group ** Copyright 2020 Bluware, 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...
36.627451
252
0.675946
[ "object", "vector" ]
82e0827b1a21926bd13140736066b12eabf9da9a
1,540
cpp
C++
benchmark/morton2d_benchmark.cpp
shohirose/morton
a859567731054518e6f6b6a3a1169c6d876ed2ae
[ "MIT" ]
null
null
null
benchmark/morton2d_benchmark.cpp
shohirose/morton
a859567731054518e6f6b6a3a1169c6d876ed2ae
[ "MIT" ]
null
null
null
benchmark/morton2d_benchmark.cpp
shohirose/morton
a859567731054518e6f6b6a3a1169c6d876ed2ae
[ "MIT" ]
null
null
null
#include <benchmark/benchmark.h> #include <random> #include <vector> #include "morton/morton2d.hpp" using namespace morton2d; template <typename T, typename Tag> void BM_Morton2dEncoding(benchmark::State& state) { std::random_device seed_gen; std::mt19937 engine(seed_gen()); std::uniform_int_dist...
31.428571
80
0.686364
[ "vector" ]
82e0b487d596c63566e5bb9236dd9203292a8a8a
4,137
cpp
C++
codes/CF/CF_1184E3.cpp
chessbot108/solved-problems
0945be829a8ea9f0d5896c89331460d70d076691
[ "MIT" ]
2
2021-03-07T03:34:02.000Z
2021-03-09T01:22:21.000Z
codes/CF/CF_1184E3.cpp
chessbot108/solved-problems
0945be829a8ea9f0d5896c89331460d70d076691
[ "MIT" ]
1
2021-03-27T15:01:23.000Z
2021-03-27T15:55:34.000Z
codes/CF/CF_1184E3.cpp
chessbot108/solved-problems
0945be829a8ea9f0d5896c89331460d70d076691
[ "MIT" ]
1
2021-03-27T05:02:33.000Z
2021-03-27T05:02:33.000Z
//gyrating cat enthusiast #include <iostream> #include <cstdio> #include <cstring> #include <cstdlib> #include <string> #include <utility> #include <cassert> #include <algorithm> #include <vector> #include <random> #include <chrono> #include <queue> #include <set> #define ll long long #define lb long double #define p...
24.192982
91
0.555475
[ "vector" ]
82e2f90da1c5d7e60487e33e30bf66532f40da1d
5,115
hpp
C++
src/image_management/lib/mesh/mesh_basic.hpp
Neckrome/vectorFieldSurface
91afebadf9815e6a2dc658cdce82691fddd603ee
[ "MIT" ]
null
null
null
src/image_management/lib/mesh/mesh_basic.hpp
Neckrome/vectorFieldSurface
91afebadf9815e6a2dc658cdce82691fddd603ee
[ "MIT" ]
null
null
null
src/image_management/lib/mesh/mesh_basic.hpp
Neckrome/vectorFieldSurface
91afebadf9815e6a2dc658cdce82691fddd603ee
[ "MIT" ]
null
null
null
/* ** TP CPE Lyon ** Copyright (C) 2015 Damien Rohmer ** ** This program is free software: you can redistribute it and/or modify ** it under the terms of the GNU General Public License as published by ** the Free Software Foundation, either version 3 of the License, or ** (at your option) any later ve...
30.628743
97
0.628935
[ "mesh", "vector", "3d" ]
82e9990530fb269fc047fcb0bebbc709cc461838
3,692
cpp
C++
modules/objdetect/test/test_qrcode.cpp
mostlyuseful/opencv
84445ab2af7954ddcab47a4c6d2dbe9c1720e278
[ "BSD-3-Clause" ]
1
2021-03-29T03:02:39.000Z
2021-03-29T03:02:39.000Z
modules/objdetect/test/test_qrcode.cpp
mostlyuseful/opencv
84445ab2af7954ddcab47a4c6d2dbe9c1720e278
[ "BSD-3-Clause" ]
null
null
null
modules/objdetect/test/test_qrcode.cpp
mostlyuseful/opencv
84445ab2af7954ddcab47a4c6d2dbe9c1720e278
[ "BSD-3-Clause" ]
null
null
null
// This file is part of OpenCV project. // It is subject to the license terms in the LICENSE file found in the top-level directory // of this distribution and at http://opencv.org/license.html. #include "test_precomp.hpp" namespace opencv_test { String qrcode_images_name[] = { "20110817_030.jpg", "20110817_...
31.827586
94
0.611322
[ "vector", "transform" ]
82f1c76a418838bfca0aa5bb0026062fcf56470a
3,941
cc
C++
src/ipm/ipx/src/normal_matrix.cc
chrhansk/HiGHS
311aa8571925ed23c952687569dbe7207e542e0a
[ "MIT" ]
241
2018-03-27T15:04:14.000Z
2022-03-31T14:44:18.000Z
src/ipm/ipx/src/normal_matrix.cc
chrhansk/HiGHS
311aa8571925ed23c952687569dbe7207e542e0a
[ "MIT" ]
384
2018-03-28T10:34:36.000Z
2022-03-31T20:19:37.000Z
src/ipm/ipx/src/normal_matrix.cc
chrhansk/HiGHS
311aa8571925ed23c952687569dbe7207e542e0a
[ "MIT" ]
54
2018-04-28T22:43:19.000Z
2022-03-31T14:44:22.000Z
#include "normal_matrix.h" #include <cassert> #include "timer.h" #include "utils.h" namespace ipx { // Method for computing matrix-vector products: // 1 one pass over A // 2 two passes over A, first by cols, second by rows // 3 two passes over A, first by cols, second by cols // Method 2 and 3 are implemented only...
31.031496
79
0.488962
[ "vector", "model" ]
82f844de404a442ec1591364b85f5b9d33972efc
458
hpp
C++
include/minion.hpp
Ikaguia/idj-pinguim
fd07be94b440057ab2ec9bf80931bc3f2b588cd3
[ "MIT" ]
1
2017-04-03T14:37:36.000Z
2017-04-03T14:37:36.000Z
include/minion.hpp
Ikaguia/idj-pinguim
fd07be94b440057ab2ec9bf80931bc3f2b588cd3
[ "MIT" ]
null
null
null
include/minion.hpp
Ikaguia/idj-pinguim
fd07be94b440057ab2ec9bf80931bc3f2b588cd3
[ "MIT" ]
null
null
null
#ifndef MINIONHPP #define MINIONHPP #include <common.hpp> #include <gameObject.hpp> #include <geometry.hpp> #include <sprite.hpp> class Minion : public GameObject{ GameObject* center; Sprite sp; float arc; public: Minion(GameObject* c,float arcOffset=0); ~Minion(); void Update(float time); void Render(); boo...
17.615385
49
0.733624
[ "geometry", "render" ]
82f86b6dd842f427317fb67061c1c19dd022a680
6,918
cpp
C++
transport/service_entry_point_impl.cpp
RedBeard0531/mongo_utils
402c2023df7d67609ce9da8e405bf13cdd270e20
[ "Apache-2.0" ]
1
2018-03-14T21:48:43.000Z
2018-03-14T21:48:43.000Z
transport/service_entry_point_impl.cpp
RedBeard0531/mongo_utils
402c2023df7d67609ce9da8e405bf13cdd270e20
[ "Apache-2.0" ]
null
null
null
transport/service_entry_point_impl.cpp
RedBeard0531/mongo_utils
402c2023df7d67609ce9da8e405bf13cdd270e20
[ "Apache-2.0" ]
null
null
null
/** * Copyright (C) 2017 MongoDB 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 applicabl...
37.193548
100
0.66869
[ "vector" ]
82f925a7dedc61c7d25a38d9ad26dab5ffc79992
1,314
cpp
C++
vox.geometry/animation.cpp
yangfengzzz/DigitalVox3
c3277007d7cae90cf3f55930bf86119c93662493
[ "MIT" ]
28
2021-11-23T11:52:55.000Z
2022-03-04T01:48:52.000Z
vox.geometry/animation.cpp
yangfengzzz/DigitalVox3
c3277007d7cae90cf3f55930bf86119c93662493
[ "MIT" ]
null
null
null
vox.geometry/animation.cpp
yangfengzzz/DigitalVox3
c3277007d7cae90cf3f55930bf86119c93662493
[ "MIT" ]
3
2022-01-02T12:23:04.000Z
2022-01-07T04:21:26.000Z
// Copyright (c) 2018 Doyub Kim // // I am making my contributions/submissions to this project solely in my // personal capacity and am not conveying any rights to any intellectual // property of any third parties. #include "animation.h" #include "common.h" #include "timer.h" #include "private_helpers.h" using names...
26.816327
120
0.635464
[ "geometry" ]
82fee56eb279aa9281e1229aec29aa67492c8328
11,811
cpp
C++
ssaa11/src/SampleLayoutControl.cpp
famiiz/SSAA11
47d63c0962a12945d236463ca0c9a64d220cce60
[ "MIT" ]
42
2016-01-26T18:21:17.000Z
2021-07-16T02:14:52.000Z
ssaa11/src/SampleLayoutControl.cpp
famiiz/SSAA11
47d63c0962a12945d236463ca0c9a64d220cce60
[ "MIT" ]
1
2021-04-03T09:49:29.000Z
2021-04-03T09:49:29.000Z
ssaa11/src/SampleLayoutControl.cpp
famiiz/SSAA11
47d63c0962a12945d236463ca0c9a64d220cce60
[ "MIT" ]
10
2016-01-27T13:37:28.000Z
2021-04-03T09:49:14.000Z
// // Copyright (c) 2016 Advanced Micro Devices, Inc. All rights reserved. // // 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 rig...
33.270423
179
0.635086
[ "render" ]
82ffe40370e4f302f7e66ced38eba95394fe9130
18,939
inl
C++
ttk/core/base/scalarFieldCriticalPoints/ScalarFieldCriticalPoints.inl
julesvidal/wasserstein-pd-barycenter
1f62a5e1c40700030357b2bfb9a2f86fe4736861
[ "BSD-Source-Code" ]
1
2019-09-10T12:36:52.000Z
2019-09-10T12:36:52.000Z
ttk/core/base/scalarFieldCriticalPoints/ScalarFieldCriticalPoints.inl
julesvidal/wasserstein-pd-barycenter
1f62a5e1c40700030357b2bfb9a2f86fe4736861
[ "BSD-Source-Code" ]
null
null
null
ttk/core/base/scalarFieldCriticalPoints/ScalarFieldCriticalPoints.inl
julesvidal/wasserstein-pd-barycenter
1f62a5e1c40700030357b2bfb9a2f86fe4736861
[ "BSD-Source-Code" ]
1
2021-04-28T12:36:58.000Z
2021-04-28T12:36:58.000Z
#ifndef SCALARFIELDCRITICALPOINTS_INL #define SCALARFIELDCRITICALPOINTS_INL #include <ScalarFieldCriticalPoints.h> template <class dataType> ttk::ScalarFieldCriticalPoints<dataType>::ScalarFieldCriticalPoints(){ dimension_ = 0; vertexNumber_ = 0; scalarValues_ = NULL; vertexLinkEdgeLis...
32.319113
89
0.609641
[ "vector", "3d" ]
d2005a01c83336f1a4ab8778d33a9cad68f4b87d
2,316
cpp
C++
demo/qt/gvfs-collection/favorites-vfs-file-enumerator.cpp
dingjingmaster/clib
97f0be4141cf5bdab0d63e7952c65fc71f13f426
[ "MIT" ]
4
2020-10-30T12:40:10.000Z
2021-09-02T03:07:22.000Z
demo/qt/gvfs-collection/favorites-vfs-file-enumerator.cpp
dingjingmaster/clib
97f0be4141cf5bdab0d63e7952c65fc71f13f426
[ "MIT" ]
null
null
null
demo/qt/gvfs-collection/favorites-vfs-file-enumerator.cpp
dingjingmaster/clib
97f0be4141cf5bdab0d63e7952c65fc71f13f426
[ "MIT" ]
3
2020-08-08T12:01:46.000Z
2021-08-09T12:38:29.000Z
#include "favorites-vfs-file-enumerator.h" G_DEFINE_TYPE_WITH_PRIVATE(FavoritesVFSFileEnumerator, vfs_favorites_file_enumerator, G_TYPE_FILE_ENUMERATOR); void vfs_favorites_file_enumerator_dispose(GObject *object); static gboolean enumerator_close (GFileEnumerator *enumerator, GCancellable *cancellable, GError **err...
32.619718
140
0.75
[ "object" ]
d202d654d4b283fe57212814f56493ee07782068
6,123
cpp
C++
platforms/android/service/engine/jni/JNIWrapper/JavaBasedPackageManager.cpp
gunnjo/opencv
a05ce00a654268f214fcf43e815891a01f7987b5
[ "BSD-3-Clause" ]
144
2015-01-15T03:38:44.000Z
2022-02-17T09:07:52.000Z
platforms/android/service/engine/jni/JNIWrapper/JavaBasedPackageManager.cpp
gunnjo/opencv
a05ce00a654268f214fcf43e815891a01f7987b5
[ "BSD-3-Clause" ]
9
2015-09-09T06:51:46.000Z
2020-06-17T14:10:10.000Z
platforms/android/service/engine/jni/JNIWrapper/JavaBasedPackageManager.cpp
gunnjo/opencv
a05ce00a654268f214fcf43e815891a01f7987b5
[ "BSD-3-Clause" ]
58
2015-01-14T23:43:49.000Z
2021-11-15T05:19:08.000Z
#include "JavaBasedPackageManager.h" #include <utils/Log.h> #include <assert.h> #undef LOG_TAG #define LOG_TAG "JavaBasedPackageManager" using namespace std; JavaBasedPackageManager::JavaBasedPackageManager(JavaVM* JavaMashine, jobject MarketConnector): JavaContext(JavaMashine), JavaPackageManager(MarketConnector) {...
30.162562
122
0.689531
[ "vector" ]
d2035a8e81e9eb5fd91f9b3e6bda9b8d71b88d8a
934
cpp
C++
niuke_HW/ds_zuo/11_0_manacher.cpp
drt4243566/leetcode_learn
ef51f215079556895eec2252d84965cd1c3a7bf4
[ "MIT" ]
null
null
null
niuke_HW/ds_zuo/11_0_manacher.cpp
drt4243566/leetcode_learn
ef51f215079556895eec2252d84965cd1c3a7bf4
[ "MIT" ]
null
null
null
niuke_HW/ds_zuo/11_0_manacher.cpp
drt4243566/leetcode_learn
ef51f215079556895eec2252d84965cd1c3a7bf4
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <vector> using namespace std; string manacherString(string str){ string temp; for(int i=0;i<str.size();i++){ temp.push_back('#'); temp.push_back(str[i]); } temp.push_back('#'); return temp; } int maxLcpsLength(string s){ if(s.size()<...
23.35
53
0.491435
[ "vector" ]
d204262a62db470d77d8d8484048c6ef881338b2
1,000
cpp
C++
Project/OLD/Graphic/RenderViewDefiner.cpp
Conny14156/asian-viking
3b8a0acfb4d98ee80be16c7ef646a157f9045650
[ "Zlib", "BSD-3-Clause" ]
1
2015-03-13T22:57:35.000Z
2015-03-13T22:57:35.000Z
Project/OLD/Graphic/RenderViewDefiner.cpp
Conny14156/asian-viking
3b8a0acfb4d98ee80be16c7ef646a157f9045650
[ "Zlib", "BSD-3-Clause" ]
null
null
null
Project/OLD/Graphic/RenderViewDefiner.cpp
Conny14156/asian-viking
3b8a0acfb4d98ee80be16c7ef646a157f9045650
[ "Zlib", "BSD-3-Clause" ]
2
2018-10-11T17:49:26.000Z
2018-10-24T06:06:49.000Z
#include "RenderView.hpp" #include <SFML\Graphics\Image.hpp> #include <Core\IEngineResource\EngineResourceManager.hpp> #include <Core\EngineSettings.hpp> //LRESULT CALLBACK WndProcGameView(HWND hWnd,UINT msg,WPARAM wParam,LPARAM lParam); RenderView::RenderView() : size(Engine::Get<Settings::EngineSettings>().res.width,...
31.25
145
0.741
[ "render" ]
d2047091d5d42a77cb23cc2fd82470b1cbbf9236
22,064
cc
C++
wrspice/devlib/hisim-1.2.0/hsm1set.cc
wrcad/xictools
f46ba6d42801426739cc8b2940a809b74f1641e2
[ "Apache-2.0" ]
73
2017-10-26T12:40:24.000Z
2022-03-02T16:59:43.000Z
wrspice/devlib/hisim-1.2.0/hsm1set.cc
chris-ayala/xictools
4ea72c118679caed700dab3d49a8d36445acaec3
[ "Apache-2.0" ]
12
2017-11-01T10:18:22.000Z
2022-03-20T19:35:36.000Z
wrspice/devlib/hisim-1.2.0/hsm1set.cc
chris-ayala/xictools
4ea72c118679caed700dab3d49a8d36445acaec3
[ "Apache-2.0" ]
34
2017-10-06T17:04:21.000Z
2022-02-18T16:22:03.000Z
/*========================================================================* * * * Distributed by Whiteley Research Inc., Sunnyvale, California, USA * * http://wrcad.com * * Copyright (...
43.604743
96
0.593818
[ "vector", "model" ]
d204c9afc507456e3f8e8d9cc675670b0b32d4ad
851
hpp
C++
src/window_manager.hpp
jlburgos/simple-game
5e1e7cf24bad3d6c8303924f68ff74aed7096317
[ "Zlib" ]
null
null
null
src/window_manager.hpp
jlburgos/simple-game
5e1e7cf24bad3d6c8303924f68ff74aed7096317
[ "Zlib" ]
1
2021-12-02T01:41:30.000Z
2021-12-02T01:41:30.000Z
src/window_manager.hpp
jlburgos/simple-game
5e1e7cf24bad3d6c8303924f68ff74aed7096317
[ "Zlib" ]
null
null
null
#ifndef _MY_WINDOW_MANAGER_HPP #define _MY_WINDOW_MANAGER_HPP #include <string> #include <memory> #include "headers.hpp" #include "custom_sdl_wrapper.hpp" #include "entity.hpp" #include "asset_manager.hpp" #include "layer.hpp" class WindowManager { private: const char* DEFAULT_SCREEN_TITLE = "Game Window"; c...
20.756098
60
0.710928
[ "vector" ]
d20bb553696abdcf8a1d4ae8f076abf51a61c63d
1,325
hpp
C++
CXX/include/euler/utils/recurrence.hpp
troberson/exercises-euler
03ffafb1016d252ca297f2ab6f02552df1377496
[ "BSD-3-Clause" ]
1
2020-02-12T20:40:39.000Z
2020-02-12T20:40:39.000Z
CXX/include/euler/utils/recurrence.hpp
troberson/exercises-euler
03ffafb1016d252ca297f2ab6f02552df1377496
[ "BSD-3-Clause" ]
null
null
null
CXX/include/euler/utils/recurrence.hpp
troberson/exercises-euler
03ffafb1016d252ca297f2ab6f02552df1377496
[ "BSD-3-Clause" ]
null
null
null
/* * Project Euler - Utils - recurrence * Tamara Roberson <tamara.roberson@gmail.com> * Copyright (c) 2019 Tamara Roberson * * Functions for recurrence relations, such as Fibonacci numbers. */ #pragma once #include <functional> #include <vector> namespace euler::utils { /** * Generate a vector from a recurr...
26.5
91
0.716226
[ "vector" ]
d20bbfeaa7528ea6f45fc50971f8e6b4d262ea21
54,904
cpp
C++
src/yocto_api/yocto_messagebox.cpp
fjperezgrau/yoctolib_ros
48fa2e8452bd2e56757ed4c6b06fe493df2f2245
[ "BSD-3-Clause" ]
null
null
null
src/yocto_api/yocto_messagebox.cpp
fjperezgrau/yoctolib_ros
48fa2e8452bd2e56757ed4c6b06fe493df2f2245
[ "BSD-3-Clause" ]
null
null
null
src/yocto_api/yocto_messagebox.cpp
fjperezgrau/yoctolib_ros
48fa2e8452bd2e56757ed4c6b06fe493df2f2245
[ "BSD-3-Clause" ]
null
null
null
/********************************************************************* * * $Id: yocto_messagebox.cpp 25275 2016-08-24 13:42:24Z mvuilleu $ * * Implements yFindMessageBox(), the high-level API for MessageBox functions * * - - - - - - - - - License information: - - - - - - - - - * * Copyright (C) 2011 and beyond...
25.788633
113
0.486467
[ "object", "vector" ]
d20bde923d3c8d577ce758459ecaa8278b3dea6c
355
cpp
C++
Online Judges/LeetCode/1394.cpp
moni-roy/COPC
f5918304815413c18574ef4af2e23a604bd9f704
[ "MIT" ]
4
2017-02-20T17:41:14.000Z
2019-07-15T14:15:34.000Z
Online Judges/LeetCode/1394.cpp
moni-roy/COPC
f5918304815413c18574ef4af2e23a604bd9f704
[ "MIT" ]
null
null
null
Online Judges/LeetCode/1394.cpp
moni-roy/COPC
f5918304815413c18574ef4af2e23a604bd9f704
[ "MIT" ]
null
null
null
class Solution { public: int ar[557]; int findLucky(vector<int> &arr) { for (int i = 1; i < 555; i++) ar[i] = 0; for (auto x : arr) { ar[x]++; } for (int i = 501; i >= 1; i--) { if (ar[i] == i) return i; ...
16.136364
38
0.323944
[ "vector" ]
d213afe6755b3dd0c9835d5d01077e8cab16e516
4,282
cpp
C++
test/vpfixobjecttest.cpp
prodigeinfo/libvapor
eb23abd8c211f4a5b04dcee757ea323451011924
[ "BSD-3-Clause" ]
null
null
null
test/vpfixobjecttest.cpp
prodigeinfo/libvapor
eb23abd8c211f4a5b04dcee757ea323451011924
[ "BSD-3-Clause" ]
null
null
null
test/vpfixobjecttest.cpp
prodigeinfo/libvapor
eb23abd8c211f4a5b04dcee757ea323451011924
[ "BSD-3-Clause" ]
null
null
null
#define BOOST_TEST_DYN_LINK #include <boost/test/unit_test.hpp> #include <vapor/vpfixobject.hpp> using namespace std; using namespace vapor; VPFO_NAME_DEF(CF_NAME, "name"); VPFO_NAME_DEF(CF_AGE, "age"); static constexpr const vpfixobject::propdef_t CLIENT_FILE_PROPERTIES[] = { { CF_NAME, vpstring::TYPE...
32.938462
145
0.722326
[ "object" ]
d220205effd7314b24bbbe9452d612dca9aa3c9a
2,152
cpp
C++
Triangle/Src/TriangleRender.cpp
wentaojia2014/HelloDirectX
6fe4123b1abed0c1e6ba8e9323288245f4c7fc28
[ "MIT" ]
2
2019-04-04T05:44:06.000Z
2019-05-06T01:14:43.000Z
Triangle/Src/TriangleRender.cpp
wentaojia2014/HelloDirectX
6fe4123b1abed0c1e6ba8e9323288245f4c7fc28
[ "MIT" ]
null
null
null
Triangle/Src/TriangleRender.cpp
wentaojia2014/HelloDirectX
6fe4123b1abed0c1e6ba8e9323288245f4c7fc28
[ "MIT" ]
1
2022-02-09T02:04:12.000Z
2022-02-09T02:04:12.000Z
#include "TriangleRender.h" #include "Application.h" #include "Common.h" #include <DirectXColors.h> #include <DirectXTK/DirectXHelpers.h> #include <algorithm> namespace Tao3D { TriangleRender::TriangleRender() { } TriangleRender::~TriangleRender() { } void TriangleRender::init(int width, int height) { m_states =...
35.866667
150
0.712361
[ "render" ]
d22341a3ea7e1aa0449f23cef6dcd8a6ea36a3d3
605
cpp
C++
src/CppUtil/oldRTX/Hitable/TriMesh.cpp
ishigami33/RenderLab
86c9ab48815adcbdc6afb39883337088fb019bc0
[ "MIT" ]
1
2019-05-27T03:46:10.000Z
2019-05-27T03:46:10.000Z
src/CppUtil/oldRTX/Hitable/TriMesh.cpp
ishigami33/RenderLab
86c9ab48815adcbdc6afb39883337088fb019bc0
[ "MIT" ]
null
null
null
src/CppUtil/oldRTX/Hitable/TriMesh.cpp
ishigami33/RenderLab
86c9ab48815adcbdc6afb39883337088fb019bc0
[ "MIT" ]
null
null
null
#include <CppUtil/RTX/TriMesh.h> #include <CppUtil/RTX/Triangle.h> using namespace RTX; using namespace CppUtil::Basic; using namespace glm; using namespace std; TriMesh::TriMesh(const vector<Vertex> & vertexs, CppUtil::Basic::CPtr<Material> material) : BVH_Node(material){ if (vertexs.size() % 3 != 0) { isValid ...
23.269231
89
0.694215
[ "vector" ]
d22946749f1456f10c6ae8f2cec25efc4b86b56e
5,571
cpp
C++
Sharpish/BoundingBox.cpp
ETLang/Sharpish
9e221f66dfb4d6a4b4486b0368dd08a0b955492d
[ "Unlicense", "MIT" ]
1
2020-11-16T08:26:43.000Z
2020-11-16T08:26:43.000Z
Sharpish/BoundingBox.cpp
ETLang/Sharpish
9e221f66dfb4d6a4b4486b0368dd08a0b955492d
[ "Unlicense", "MIT" ]
null
null
null
Sharpish/BoundingBox.cpp
ETLang/Sharpish
9e221f66dfb4d6a4b4486b0368dd08a0b955492d
[ "Unlicense", "MIT" ]
null
null
null
#include "Sharpish.h" // ::PUBLICLIB:: #define MIN(x,y) (((x) < (y)) ? (x) : (y)) #define MAX(x,y) (((x) > (y)) ? (x) : (y)) #undef min #undef max #define MinFloat numeric_limits<float>::min() #define MaxFloat numeric_limits<float>::max() using namespace CS; using namespace std; Float3 BoundingBox::MaxVector(MaxF...
22.373494
97
0.662
[ "transform" ]
d229c85810e634dd07f0f24d2d753ac7e4b8ac7b
73,265
cpp
C++
Libraries/Zilch/VirtualMachine.cpp
jodavis42/WelderEngineRevamp
1b8776c53857e66b2c933321e965bbe12f0df61e
[ "MIT" ]
3
2022-02-11T10:34:33.000Z
2022-02-24T17:44:17.000Z
Code/Foundation/Zilch/VirtualMachine.cpp
WelderUpdates/WelderEngineRevamp
1c665239566e9c7156926852f7952948d9286d7d
[ "MIT" ]
null
null
null
Code/Foundation/Zilch/VirtualMachine.cpp
WelderUpdates/WelderEngineRevamp
1c665239566e9c7156926852f7952948d9286d7d
[ "MIT" ]
null
null
null
// MIT Licensed (see LICENSE.md). #include "Precompiled.hpp" namespace Zilch { template <> void VirtualMachine::GenericPow<Byte>(Byte& out, const Byte& base, const Byte& exponent) { out = (Byte)IntegralPower(base, exponent); } template <> void VirtualMachine::GenericPow<Integer>(Integer& out, const Integer& base,...
42.03385
120
0.605446
[ "object", "vector" ]
d22a65aa3d5ce84cbb1e0cfa587769f2764cd37b
628
hpp
C++
include/libtransistor/cpp/ipc/sm.hpp
misson20000/libtransistor
830cf24a4605141d24aabc6c31171f51603d394e
[ "0BSD" ]
2
2019-03-05T20:25:53.000Z
2019-08-27T18:03:49.000Z
include/libtransistor/cpp/ipc/sm.hpp
misson20000/libtransistor
830cf24a4605141d24aabc6c31171f51603d394e
[ "0BSD" ]
null
null
null
include/libtransistor/cpp/ipc/sm.hpp
misson20000/libtransistor
830cf24a4605141d24aabc6c31171f51603d394e
[ "0BSD" ]
1
2019-08-25T00:02:07.000Z
2019-08-25T00:02:07.000Z
/** * @file libtransistor/cpp/ipc/sm.hpp * @brief Service Manager IPC bindings (C++ header) */ #pragma once #include<libtransistor/cpp/types.hpp> #include<libtransistor/cpp/ipc.hpp> #include<libtransistor/cpp/ipcclient.hpp> #include<expected.hpp> namespace trn { namespace service { class SM { public: static Re...
19.030303
72
0.718153
[ "object" ]
d22ce94afd295a9a0ac3ecf14740ec8c3151a877
36,727
cc
C++
src/Core/Algorithms/Field/RefineTetMeshLocallyAlgorithm.cc
Haydelj/SCIRun
f7ee04d85349b946224dbff183438663e54b9413
[ "MIT" ]
null
null
null
src/Core/Algorithms/Field/RefineTetMeshLocallyAlgorithm.cc
Haydelj/SCIRun
f7ee04d85349b946224dbff183438663e54b9413
[ "MIT" ]
null
null
null
src/Core/Algorithms/Field/RefineTetMeshLocallyAlgorithm.cc
Haydelj/SCIRun
f7ee04d85349b946224dbff183438663e54b9413
[ "MIT" ]
null
null
null
/* For more information, please see: http://software.sci.utah.edu The MIT License Copyright (c) 2020 Scientific Computing and Imaging Institute, University of Utah. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the ...
34.944814
292
0.601574
[ "mesh", "geometry", "vector" ]
d22f67207e4ccb4b04c20a24d6e30e82bc807de3
3,824
cpp
C++
src/prod/src/data/txnreplicator/logrecordlib/PhysicalLogReader.cpp
vishnuk007/service-fabric
d0afdea185ae932cc3c9eacf179692e6fddbc630
[ "MIT" ]
2,542
2018-03-14T21:56:12.000Z
2019-05-06T01:18:20.000Z
src/prod/src/data/txnreplicator/logrecordlib/PhysicalLogReader.cpp
vishnuk007/service-fabric
d0afdea185ae932cc3c9eacf179692e6fddbc630
[ "MIT" ]
994
2019-05-07T02:39:30.000Z
2022-03-31T13:23:04.000Z
src/prod/src/data/txnreplicator/logrecordlib/PhysicalLogReader.cpp
vishnuk007/service-fabric
d0afdea185ae932cc3c9eacf179692e6fddbc630
[ "MIT" ]
300
2018-03-14T21:57:17.000Z
2019-05-06T20:07:00.000Z
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ #include "stdafx.h" using nam...
29.643411
101
0.679916
[ "object" ]
d235165186a970aadd7683b965a962efb25b05ba
4,948
cc
C++
chrome/browser/ssl/ssl_policy_backend.cc
rwatson/chromium-capsicum
b03da8e897f897c6ad2cda03ceda217b760fd528
[ "BSD-3-Clause" ]
11
2015-03-20T04:08:08.000Z
2021-11-15T15:51:36.000Z
chrome/browser/ssl/ssl_policy_backend.cc
rwatson/chromium-capsicum
b03da8e897f897c6ad2cda03ceda217b760fd528
[ "BSD-3-Clause" ]
null
null
null
chrome/browser/ssl/ssl_policy_backend.cc
rwatson/chromium-capsicum
b03da8e897f897c6ad2cda03ceda217b760fd528
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2009 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/browser/ssl/ssl_policy_backend.h" #include "app/resource_bundle.h" #include "chrome/browser/profile.h" #include "chrome/browser/ssl/...
32.552632
80
0.694826
[ "vector" ]
d235691a1df0b18d832cfbccd30f8b39f82ceeac
15,307
cc
C++
src/shadertrap/src/main.cc
sliu-UIUC/shadertrap
2e0bb3e049b7105ca73bf7aba0e3fa739f76e0f8
[ "Apache-2.0" ]
6
2021-02-20T12:54:02.000Z
2022-03-31T15:02:22.000Z
src/shadertrap/src/main.cc
sliu-UIUC/shadertrap
2e0bb3e049b7105ca73bf7aba0e3fa739f76e0f8
[ "Apache-2.0" ]
32
2021-02-05T00:36:45.000Z
2021-07-21T10:42:14.000Z
src/shadertrap/src/main.cc
sliu-UIUC/shadertrap
2e0bb3e049b7105ca73bf7aba0e3fa739f76e0f8
[ "Apache-2.0" ]
11
2021-02-14T19:20:01.000Z
2021-10-11T22:49:39.000Z
// Copyright 2020 The ShaderTrap Project Authors // // 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 l...
35.847775
80
0.617038
[ "vector" ]
d2386c40b41851d4fd036a6ef1c166cadb83395d
2,336
hpp
C++
HPCLibrary/inc/AOS.hpp
JohnSell620/HPC-Library
534f6f0686556e11463b2adc561a9c3e79c7b7cb
[ "MIT" ]
2
2020-05-06T12:41:52.000Z
2020-05-07T04:21:47.000Z
HPCLibrary/inc/AOS.hpp
JohnSell620/HPC-Library
534f6f0686556e11463b2adc561a9c3e79c7b7cb
[ "MIT" ]
null
null
null
HPCLibrary/inc/AOS.hpp
JohnSell620/HPC-Library
534f6f0686556e11463b2adc561a9c3e79c7b7cb
[ "MIT" ]
null
null
null
/* * AOS.hpp * Description: Implements the COO Matrix as array of structs. * @author Johnny Sellers * @version 0.1 05/30/2017 */ #ifndef __AOS_HPP #define __AOS_HPP #include <cassert> #include <tuple> #include <vector> #include <iostream> #include <fstream> #include "Vector.hpp" class AOSMatrix { private: typede...
26.247191
101
0.601884
[ "vector" ]
d2406c4c84d0d3138415236f7adad4e8f8f3e852
3,113
hpp
C++
src/ast/statement.hpp
JoshuaMasci/ToyC
26acecfcb2e9bfe556347c202194dd9bcead1551
[ "MIT" ]
1
2022-02-08T10:32:43.000Z
2022-02-08T10:32:43.000Z
src/ast/statement.hpp
JoshuaMasci/ToyC
26acecfcb2e9bfe556347c202194dd9bcead1551
[ "MIT" ]
null
null
null
src/ast/statement.hpp
JoshuaMasci/ToyC
26acecfcb2e9bfe556347c202194dd9bcead1551
[ "MIT" ]
null
null
null
#pragma once #include "containers.hpp" #include "ast/expression.hpp" enum class StatementType { Declaration, Assignment, Block, FunctionCall, If, While, Return, }; struct Statement { Statement(StatementType type) : statement_type(type){}; const StatementType statement_type; }; st...
23.583333
89
0.665275
[ "vector" ]
d2414d2f17869a0cd2e3a5b4ac00196a62bb39f2
1,517
cxx
C++
testResponse/src/loadIrfs.cxx
fermi-lat/irfs
cebe27fc6a974ac4448f15d7944b21e419c585e9
[ "BSD-3-Clause" ]
null
null
null
testResponse/src/loadIrfs.cxx
fermi-lat/irfs
cebe27fc6a974ac4448f15d7944b21e419c585e9
[ "BSD-3-Clause" ]
4
2020-02-21T20:16:38.000Z
2022-03-22T17:39:03.000Z
testResponse/src/loadIrfs.cxx
fermi-lat/irfs
cebe27fc6a974ac4448f15d7944b21e419c585e9
[ "BSD-3-Clause" ]
1
2020-07-07T18:30:05.000Z
2020-07-07T18:30:05.000Z
/** * @file loadIrfs.cxx * @brief Function to load the test response functions into the * IrfsFactory instance. * @author J. Chiang * * $Header$ */ #include <stdexcept> #include <string> #include <vector> #include "irfInterface/IrfsFactory.h" #include "Aeff.h" #include "Psf.h" #include "Edisp.h" namespace te...
27.089286
70
0.593935
[ "vector" ]
d2421944752024560171621c869896d7d153c011
4,531
cpp
C++
plab_odometry/src/position_serial_device.cpp
inomuh/agvpc_ros
e7ad0b3dd7f63f5aea5ecc3137815f12c3c8f201
[ "Apache-2.0" ]
1
2020-01-27T14:08:14.000Z
2020-01-27T14:08:14.000Z
plab_odometry/src/position_serial_device.cpp
inomuh/agvpc_ros
e7ad0b3dd7f63f5aea5ecc3137815f12c3c8f201
[ "Apache-2.0" ]
null
null
null
plab_odometry/src/position_serial_device.cpp
inomuh/agvpc_ros
e7ad0b3dd7f63f5aea5ecc3137815f12c3c8f201
[ "Apache-2.0" ]
null
null
null
#include <termios.h> #include <fcntl.h> #include <unistd.h> #include <iostream> #include <stdio.h> #include <sstream> #include "jsoncpp/json/json.h" #include <string.h> #include <stdlib.h> #include <list> #include <libusb-1.0/libusb.h> #include <sys/ioctl.h> #include <cassert> #include <cstdio> #include <ros/ros.h> #in...
23.476684
106
0.69168
[ "object" ]
d24f2071324a7538242f8cb9bbc9827174ad4184
335
cpp
C++
LeetCode/Random Problems/Binary Tree/Binary Tree Preorder Traversal - Stack.cpp
nikku1234/Code-Practise
94eb6680ea36efd10856c377000219285f77e5a4
[ "Apache-2.0" ]
9
2020-07-02T06:06:17.000Z
2022-02-26T11:08:09.000Z
LeetCode/Random Problems/Binary Tree/Binary Tree Preorder Traversal - Stack.cpp
nikku1234/Code-Practise
94eb6680ea36efd10856c377000219285f77e5a4
[ "Apache-2.0" ]
1
2021-11-04T17:26:36.000Z
2021-11-04T17:26:36.000Z
LeetCode/Random Problems/Binary Tree/Binary Tree Preorder Traversal - Stack.cpp
nikku1234/Code-Practise
94eb6680ea36efd10856c377000219285f77e5a4
[ "Apache-2.0" ]
8
2021-01-31T10:31:12.000Z
2022-03-13T09:15:55.000Z
vector<int> preorderTraversal(TreeNode* root) { vector<int> v; if(!root) return v; TreeNode* temp = root; stack<TreeNode*> s; s.push(root); while(!s.empty()){ temp = s.top(); s.pop(); v.push_back(temp->val); if(temp->right) s.push(temp->right); if(temp->left) s.push(temp->left);...
16.75
47
0.58209
[ "vector" ]
d92e3e7cc1270eb59aa2cfc3799fbf6506f69634
550
cpp
C++
Desktop/colorcontrastwidget.cpp
edgecrusher8074/QtColorContrast
5e1626283b7769fcd0d4786ea758edb406842273
[ "WTFPL" ]
null
null
null
Desktop/colorcontrastwidget.cpp
edgecrusher8074/QtColorContrast
5e1626283b7769fcd0d4786ea758edb406842273
[ "WTFPL" ]
null
null
null
Desktop/colorcontrastwidget.cpp
edgecrusher8074/QtColorContrast
5e1626283b7769fcd0d4786ea758edb406842273
[ "WTFPL" ]
null
null
null
#include "colorcontrastwidget.h" #include "colorcontrastpresenter.h" #include "colorcontrastmodel.h" #include "colorcontrastview.h" ColorContrastWidget::ColorContrastWidget(QWidget *parent) : QWidget(parent) , _presenter(nullptr) { } ColorContrastWidget::~ColorContrastWidget() = default; void ColorContrastW...
25
79
0.765455
[ "model" ]
d9413f547beaf778143940cd188dfbbadee191fa
18,992
cpp
C++
libraries/chain/credit_offer_evaluator.cpp
blockops-de/bitshares-core
ac1cfc058633de8cfd0355fad207e5fa6e9d65f3
[ "MIT" ]
147
2015-10-13T02:46:23.000Z
2017-01-12T14:42:32.000Z
libraries/chain/credit_offer_evaluator.cpp
blockops-de/bitshares-core
ac1cfc058633de8cfd0355fad207e5fa6e9d65f3
[ "MIT" ]
35
2015-11-02T15:50:00.000Z
2017-01-17T22:11:01.000Z
libraries/chain/credit_offer_evaluator.cpp
blockchainprojects/bitshares-core
ac1cfc058633de8cfd0355fad207e5fa6e9d65f3
[ "MIT" ]
67
2015-10-14T21:26:18.000Z
2017-01-16T14:20:45.000Z
/* * Copyright (c) 2021 Abit More, and contributors. * * The MIT License * * 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 ...
40.843011
118
0.693187
[ "vector" ]
d94a03114266855901109f49a8ba4c908b6aabe2
5,293
cpp
C++
src/hdf5/MultiTagHDF5.cpp
balint42/nix
50f1de33b946b7b194c82fb0efd9b0cecba9ed54
[ "BSD-4-Clause", "BSD-3-Clause" ]
null
null
null
src/hdf5/MultiTagHDF5.cpp
balint42/nix
50f1de33b946b7b194c82fb0efd9b0cecba9ed54
[ "BSD-4-Clause", "BSD-3-Clause" ]
null
null
null
src/hdf5/MultiTagHDF5.cpp
balint42/nix
50f1de33b946b7b194c82fb0efd9b0cecba9ed54
[ "BSD-4-Clause", "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2013, German Neuroinformatics Node (G-Node) // // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted under the terms of the BSD License. See // LICENSE file in the root of the Project. #include <nix/hdf5/MultiTagHDF5.hpp> #incl...
29.405556
137
0.668052
[ "vector" ]
d94bc526993d8a0dfde2db1c8f20dc11a03f2d9d
1,427
cpp
C++
ACM-ICPC/1671.cpp
KimBoWoon/ACM-ICPC
146c36999488af9234d73f7b4b0c10d78486604f
[ "MIT" ]
null
null
null
ACM-ICPC/1671.cpp
KimBoWoon/ACM-ICPC
146c36999488af9234d73f7b4b0c10d78486604f
[ "MIT" ]
null
null
null
ACM-ICPC/1671.cpp
KimBoWoon/ACM-ICPC
146c36999488af9234d73f7b4b0c10d78486604f
[ "MIT" ]
null
null
null
#include <cstdio> #include <vector> using namespace std; #define MAX_SIZE 51 typedef struct Shark { int size, speed, intel; } shark; shark sharks[MAX_SIZE]; int visit[MAX_SIZE], b[MAX_SIZE], n, cnt; vector<int> v[MAX_SIZE]; int dfs(int k) { if (visit[k]) { return 0; } vis...
21.621212
135
0.421864
[ "vector" ]
d94c5afbeda1e456784747d3e8fd0c4d33b7b48c
4,067
cpp
C++
src/plugins/netstoremanager/plugins/dropbox/uploadmanager.cpp
MellonQ/leechcraft
71cbb238d2dade56b3865278a6a8e6a58c217fc5
[ "BSL-1.0" ]
1
2017-01-12T07:05:45.000Z
2017-01-12T07:05:45.000Z
src/plugins/netstoremanager/plugins/dropbox/uploadmanager.cpp
MellonQ/leechcraft
71cbb238d2dade56b3865278a6a8e6a58c217fc5
[ "BSL-1.0" ]
null
null
null
src/plugins/netstoremanager/plugins/dropbox/uploadmanager.cpp
MellonQ/leechcraft
71cbb238d2dade56b3865278a6a8e6a58c217fc5
[ "BSL-1.0" ]
null
null
null
/********************************************************************** * LeechCraft - modular cross-platform feature rich internet client. * Copyright (C) 2010-2013 Oleg Linkin <MaledictusDeMagog@gmail.com> * * Boost Software License - Version 1.0 - August 17th, 2003 * * Permission is hereby granted, free of ch...
31.773438
80
0.703713
[ "object" ]
d956be88fde4fd0a87ebc34c8aeb09db03e53e74
599
cpp
C++
sorting/insertion/main.cpp
shrutishree2204/algos
961690037ad4db430d1a81aa4f5fd6d441e837b5
[ "MIT" ]
null
null
null
sorting/insertion/main.cpp
shrutishree2204/algos
961690037ad4db430d1a81aa4f5fd6d441e837b5
[ "MIT" ]
null
null
null
sorting/insertion/main.cpp
shrutishree2204/algos
961690037ad4db430d1a81aa4f5fd6d441e837b5
[ "MIT" ]
null
null
null
#include <iostream> #include <stdlib.h> #include <time.h> #include "InsertionSorter.h" using namespace std; vector<int> *buildVector(); int main(int argc, char** argv) { InsertionSorter *sorter = new InsertionSorter(); vector<int> *unsrtd = buildVector(); vector<int> *srtd = sorter->insertionSort(unsrt...
17.617647
54
0.619366
[ "vector" ]
d95995c2ccb4e8ae441a49d8f25c339c3e9e3499
20,659
cpp
C++
src/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/c1035pf.cpp
dAck2cC2/m3e
475b89b59d5022a94e00b636438b25e27e4eaab2
[ "Apache-2.0" ]
10
2020-04-17T04:02:36.000Z
2021-11-23T11:38:42.000Z
src/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/c1035pf.cpp
dAck2cC2/m3e
475b89b59d5022a94e00b636438b25e27e4eaab2
[ "Apache-2.0" ]
3
2020-02-19T16:53:25.000Z
2021-04-29T07:28:40.000Z
src/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/c1035pf.cpp
dAck2cC2/m3e
475b89b59d5022a94e00b636438b25e27e4eaab2
[ "Apache-2.0" ]
5
2019-12-25T04:05:02.000Z
2022-01-14T16:57:55.000Z
/* ------------------------------------------------------------------ * Copyright (C) 1998-2009 PacketVideo * * 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.o...
30.51551
89
0.433225
[ "vector" ]
d95de46446a4c84408cb22bd8bbe6557be4d8ac4
3,794
cpp
C++
3rdparty/meshlab-master/src/sampleplugins/sampleio/sampleio.cpp
HoEmpire/slambook2
96d360f32aa5d8b5c5dcbbf9ee7ba865e84409f4
[ "MIT" ]
4
2016-03-30T14:31:52.000Z
2019-02-02T05:01:32.000Z
graphics/meshlab/src/sampleplugins/sampleio/sampleio.cpp
hlzz/dotfiles
0591f71230c919c827ba569099eb3b75897e163e
[ "BSD-3-Clause" ]
null
null
null
graphics/meshlab/src/sampleplugins/sampleio/sampleio.cpp
hlzz/dotfiles
0591f71230c919c827ba569099eb3b75897e163e
[ "BSD-3-Clause" ]
null
null
null
/**************************************************************************** * MeshLab o o * * An extendible mesh processor o o * * _ O _ * * Copyri...
40.361702
172
0.516869
[ "mesh", "model" ]
d95e9a2c448c1193bc6a498897b8aaa940e77f23
25,797
cpp
C++
ibtk/src/boundary/HierarchyGhostCellInterpolation.cpp
syam-s/IBAMR
b6502f2f818835961d103fd2a2827d9336e68640
[ "BSD-3-Clause" ]
2
2020-03-03T12:29:36.000Z
2021-02-15T06:54:20.000Z
ibtk/src/boundary/HierarchyGhostCellInterpolation.cpp
syam-s/IBAMR
b6502f2f818835961d103fd2a2827d9336e68640
[ "BSD-3-Clause" ]
null
null
null
ibtk/src/boundary/HierarchyGhostCellInterpolation.cpp
syam-s/IBAMR
b6502f2f818835961d103fd2a2827d9336e68640
[ "BSD-3-Clause" ]
null
null
null
// --------------------------------------------------------------------- // // Copyright (c) 2014 - 2019 by the IBAMR developers // All rights reserved. // // This file is part of IBAMR. // // IBAMR is free software and is distributed under the 3-clause BSD // license. The full text of the license can be found in the f...
39.26484
120
0.656045
[ "geometry", "object", "vector" ]
d95eae2c6f18fde1021ef062032cb8b31a19ed7a
6,711
cpp
C++
libs/sge_engine/src/sge_engine/PlantingTool.cpp
ongamex/SGEEngine
de17c10bd880e8175ea01588eeefeb70abfbc3d0
[ "MIT" ]
34
2021-06-15T10:24:49.000Z
2022-03-22T19:20:23.000Z
libs/sge_engine/src/sge_engine/PlantingTool.cpp
ongamex/SGEEngine
de17c10bd880e8175ea01588eeefeb70abfbc3d0
[ "MIT" ]
9
2021-03-04T21:34:03.000Z
2021-05-04T18:33:47.000Z
libs/sge_engine/src/sge_engine/PlantingTool.cpp
ongamex/SGEEngine
de17c10bd880e8175ea01588eeefeb70abfbc3d0
[ "MIT" ]
2
2021-12-29T01:15:22.000Z
2022-02-01T10:53:15.000Z
#include "PlantingTool.h" #include "GameInspector.h" #include "Physics.h" #include "sge_core/AssetLibrary/AssetLibrary.h" #include "sge_core/ICore.h" #include "sge_core/application/input.h" #include "sge_engine/GameDrawer/GameDrawer.h" #include "sge_engine/PhysicsHelpers.h" #include "sge_engine/traits/TraitCamera.h" n...
35.136126
123
0.667561
[ "object", "transform" ]
d95f3fdd00abab0533533ae771b431691e66e23f
3,839
cpp
C++
src/video/video_output.cpp
Yoyochen0106/Pangolin
e55463bd2bdd758e46ded7d95332e31f9cdc4f71
[ "MIT" ]
1,623
2015-01-22T23:47:54.000Z
2022-03-30T07:19:48.000Z
src/video/video_output.cpp
Yoyochen0106/Pangolin
e55463bd2bdd758e46ded7d95332e31f9cdc4f71
[ "MIT" ]
613
2015-01-14T13:12:32.000Z
2022-03-24T10:46:53.000Z
src/video/video_output.cpp
Yoyochen0106/Pangolin
e55463bd2bdd758e46ded7d95332e31f9cdc4f71
[ "MIT" ]
807
2015-02-17T12:23:04.000Z
2022-03-27T08:12:54.000Z
/* This file is part of the Pangolin Project. * http://github.com/stevenlovegrove/Pangolin * * Copyright (c) 2011-2013 Steven Lovegrove * * 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 Softwar...
27.818841
104
0.676999
[ "vector" ]
d95fd3e5b961f2184e526807466e34d24e4f03de
7,126
cpp
C++
src/geometry/FileOBJ.cpp
mgradysaunders/Precept
0677c70ac4ed9e0a8c5aad7b049daad22998de9e
[ "BSD-2-Clause" ]
null
null
null
src/geometry/FileOBJ.cpp
mgradysaunders/Precept
0677c70ac4ed9e0a8c5aad7b049daad22998de9e
[ "BSD-2-Clause" ]
null
null
null
src/geometry/FileOBJ.cpp
mgradysaunders/Precept
0677c70ac4ed9e0a8c5aad7b049daad22998de9e
[ "BSD-2-Clause" ]
null
null
null
#include <fstream> #include <sstream> #include <pre/geometry/FileOBJ> #include <pre/string> namespace pre { void FileOBJ::read(const std::string& filename) { std::ifstream ifs(filename); if (not ifs.is_open()) throw make_exception("Can't open "s + show(filename)); read(ifs); } void FileOBJ::read(...
34.425121
77
0.490457
[ "geometry", "vector" ]
d9600c95df0ed2a794c5125428d401535cea6006
12,868
cpp
C++
tonic-suite/nlp/src/SENNA_SRL.cpp
csb1024/djinn_csb
de50d6b6bc9c137e9f4b881de9048eba9e83142d
[ "BSD-3-Clause" ]
59
2015-07-01T21:41:47.000Z
2021-07-28T07:07:42.000Z
tonic-suite/nlp/src/SENNA_SRL.cpp
csb1024/djinn_csb
de50d6b6bc9c137e9f4b881de9048eba9e83142d
[ "BSD-3-Clause" ]
4
2016-01-24T13:25:03.000Z
2021-07-06T09:10:23.000Z
tonic-suite/nlp/src/SENNA_SRL.cpp
csb1024/djinn_csb
de50d6b6bc9c137e9f4b881de9048eba9e83142d
[ "BSD-3-Clause" ]
54
2015-06-13T15:31:20.000Z
2021-07-28T07:07:43.000Z
#include <sys/time.h> #include "SENNA_SRL.h" #include "SENNA_utils.h" #include "SENNA_nn.h" #include "socket.h" int **SENNA_SRL_forward(SENNA_SRL *srl, const int *sentence_words, const int *sentence_caps, const int *sentence_chkl, const int *sentence_isvb, int sentence_s...
42.609272
80
0.638794
[ "vector" ]
d969a98c2a4110667ba0e478b9944c7bb16307b4
985
cpp
C++
0389-Valid Sudoku/0389-Valid Sudoku.cpp
nmdis1999/LintCode-1
316fa395c9a6de9bfac1d9c9cf58acb5ffb384a6
[ "MIT" ]
77
2017-12-30T13:33:37.000Z
2022-01-16T23:47:08.000Z
0301-0400/0389-Valid Sudoku/0389-Valid Sudoku.cpp
jxhangithub/LintCode-1
a8aecc65c47a944e9debad1971a7bc6b8776e48b
[ "MIT" ]
1
2018-05-14T14:15:40.000Z
2018-05-14T14:15:40.000Z
0301-0400/0389-Valid Sudoku/0389-Valid Sudoku.cpp
jxhangithub/LintCode-1
a8aecc65c47a944e9debad1971a7bc6b8776e48b
[ "MIT" ]
39
2017-12-07T14:36:25.000Z
2022-03-10T23:05:37.000Z
class Solution { public: /** * @param board: the board * @return: wether the Sudoku is valid */ bool isValidSudoku(const vector<vector<char>>& board) { vector<vector<bool>> usedRows(9, vector<bool>(9)); vector<vector<bool>> usedCols(9, vector<bool>(9)); vector<vector<bo...
33.965517
103
0.427411
[ "vector" ]
d9858b29bb51de883836db3beb986c51d452139c
1,444
cc
C++
tests/task_03_sort.cc
andreasspindler/Libpreempt
7dcb1d36d3b2aa35f87a299cc2cb786b26246c31
[ "Unlicense" ]
null
null
null
tests/task_03_sort.cc
andreasspindler/Libpreempt
7dcb1d36d3b2aa35f87a299cc2cb786b26246c31
[ "Unlicense" ]
null
null
null
tests/task_03_sort.cc
andreasspindler/Libpreempt
7dcb1d36d3b2aa35f87a299cc2cb786b26246c31
[ "Unlicense" ]
null
null
null
/* -*- coding: raw-text-unix; -*- * * Find out execution time of realtime threads. * * In each thread generate and sort a random integer vector within a * given number of milliseconds or fail. */ #include <array> #include <chrono> #include <iostream> #include <base/algorithm.h> #include <base/verify.h> #include ...
23.672131
79
0.621191
[ "vector" ]
d987b14637b4280cc4035db29a75cca3884b4458
1,652
hpp
C++
include/boo/inputdev/DeviceSignature.hpp
henriquegemignani/boo
403291c191452139ca292f1d6c6067b893b8d8b0
[ "MIT" ]
7
2016-04-16T04:37:59.000Z
2022-02-01T12:39:04.000Z
include/boo/inputdev/DeviceSignature.hpp
henriquegemignani/boo
403291c191452139ca292f1d6c6067b893b8d8b0
[ "MIT" ]
8
2016-07-13T03:20:04.000Z
2021-06-30T05:07:10.000Z
include/boo/inputdev/DeviceSignature.hpp
henriquegemignani/boo
403291c191452139ca292f1d6c6067b893b8d8b0
[ "MIT" ]
11
2016-04-16T04:40:46.000Z
2022-02-06T04:23:17.000Z
#pragma once #include <cstdint> #include <functional> #include <memory> #include <string> #include <typeindex> #include <vector> namespace boo { enum class DeviceType { None = 0, USB = 1, Bluetooth = 2, HID = 3, XInput = 4 }; class DeviceToken; class DeviceBase; #define dev_typeid(type) std::hash<std::string>()(#t...
36.711111
120
0.659201
[ "vector" ]
d990129945d4c468bb9575bd11e6466fc994db87
26,162
cc
C++
src/relax/ir/block_builder.cc
Hzfengsy/relax
7ddb4e2c0313814407e9856124b84a456fca8b76
[ "Apache-2.0" ]
null
null
null
src/relax/ir/block_builder.cc
Hzfengsy/relax
7ddb4e2c0313814407e9856124b84a456fca8b76
[ "Apache-2.0" ]
6
2022-03-23T14:15:51.000Z
2022-03-31T14:35:57.000Z
src/relax/ir/block_builder.cc
Hzfengsy/relax
7ddb4e2c0313814407e9856124b84a456fca8b76
[ "Apache-2.0" ]
null
null
null
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
34.109518
100
0.663214
[ "shape" ]
d996479911c7ee24cf9b3896cdf150898c7b1704
37,969
cpp
C++
third_party_builtin/tuvok/tuvok/Renderer/GPUMemMan/GPUMemMan.cpp
ahota/visit_ospray
d80b2e18ff5654d04bfb56ae4d6f42e45f87c9b9
[ "BSD-3-Clause" ]
null
null
null
third_party_builtin/tuvok/tuvok/Renderer/GPUMemMan/GPUMemMan.cpp
ahota/visit_ospray
d80b2e18ff5654d04bfb56ae4d6f42e45f87c9b9
[ "BSD-3-Clause" ]
null
null
null
third_party_builtin/tuvok/tuvok/Renderer/GPUMemMan/GPUMemMan.cpp
ahota/visit_ospray
d80b2e18ff5654d04bfb56ae4d6f42e45f87c9b9
[ "BSD-3-Clause" ]
null
null
null
/* For more information, please see: http://software.sci.utah.edu The MIT License Copyright (c) 2008 Scientific Computing and Imaging Institute, University of Utah. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the...
38.04509
181
0.633833
[ "render", "vector", "3d" ]
d99842fab81c408d17b2ecac55140eba93462db9
21,843
cc
C++
src/fx/gpu_particle.cc
tcoppex/barbu
02be5b3179a460560191818d9ee1c3ba4ee858c9
[ "MIT" ]
2
2021-04-15T04:58:01.000Z
2021-10-11T05:17:34.000Z
src/fx/gpu_particle.cc
tcoppex/barbu
02be5b3179a460560191818d9ee1c3ba4ee858c9
[ "MIT" ]
null
null
null
src/fx/gpu_particle.cc
tcoppex/barbu
02be5b3179a460560191818d9ee1c3ba4ee858c9
[ "MIT" ]
null
null
null
#include "fx/gpu_particle.h" #include "glm/glm.hpp" #include "glm/gtc/type_ptr.hpp" #include "ui/views/fx/SparkleView.h" #include "shaders/particle/interop.h" #include "core/logger.h" #include "memory/assets/assets.h" // ---------------------------------------------------------------------------- uint32...
35.985173
147
0.682873
[ "render", "model" ]
d9988ea1bf3dd089ce90aa29d2ff5abd1d7ddc5e
2,584
cpp
C++
lib/hpke/test/certificate.cpp
TobiasWen/mlspp
871629a2420a391ed09b9d7ea46cf219b97c5722
[ "BSD-2-Clause" ]
null
null
null
lib/hpke/test/certificate.cpp
TobiasWen/mlspp
871629a2420a391ed09b9d7ea46cf219b97c5722
[ "BSD-2-Clause" ]
null
null
null
lib/hpke/test/certificate.cpp
TobiasWen/mlspp
871629a2420a391ed09b9d7ea46cf219b97c5722
[ "BSD-2-Clause" ]
null
null
null
#include <doctest/doctest.h> #include <hpke/certificate.h> #include "common.h" #include <fstream> #include <iostream> #include <vector> TEST_CASE("Certificate Known-Answer depth 2") { // TODO(suhas) Do this for each supported signature algorithm // ... maybe including a case where parent and child have diff...
43.066667
80
0.80805
[ "vector" ]
d9a1a3b5fb811ee42675a3211d109e6352d49698
1,222
cpp
C++
code chef problems/DSA/binary_search/college.cpp
Anshnrag02/aglo-and-problem-solving
c9a0fd90540dcc7ab093f020e6b24d4ed243cae4
[ "MIT" ]
2
2021-01-05T18:14:24.000Z
2021-02-04T21:01:16.000Z
code chef problems/DSA/binary_search/college.cpp
Anshnrag02/aglo-and-problem-solving
c9a0fd90540dcc7ab093f020e6b24d4ed243cae4
[ "MIT" ]
null
null
null
code chef problems/DSA/binary_search/college.cpp
Anshnrag02/aglo-and-problem-solving
c9a0fd90540dcc7ab093f020e6b24d4ed243cae4
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> #define FILE_NAME "Laptop.dat" using namespace std; class laptop { private : int modelNo; char name[100] ; int ram,hdd; public : void readlaptop(){ cout<<"laptop DETAILS"<<endl; cout<<"ENTER laptop model no : " ; cin>>modelNo; cout<<"ENTER NAME OF THE laptop...
16.293333
47
0.590835
[ "model" ]
d2645938dd56249edf394d26a1f22c5cb6cad6fc
2,677
cpp
C++
P4393.cpp
AndrewWayne/OI_Learning
0fe8580066704c8d120a131f6186fd7985924dd4
[ "MIT" ]
null
null
null
P4393.cpp
AndrewWayne/OI_Learning
0fe8580066704c8d120a131f6186fd7985924dd4
[ "MIT" ]
null
null
null
P4393.cpp
AndrewWayne/OI_Learning
0fe8580066704c8d120a131f6186fd7985924dd4
[ "MIT" ]
null
null
null
/* * Author: xiaohei_AWM * Date: 7.14 * Mutto: Face to the weakness, expect for the strength. */ #include<cstdio> #include<cstring> #include<algorithm> #include<iostream> #include<cstdlib> #include<ctime> #include<queue> #include<utility> #include<functional> #include<cmath> #include<vector> #include<assert.h> using...
24.787037
67
0.520359
[ "vector" ]
d2646d7a8b6a3aea6c1ec94e66e58238c4191f2e
25,506
cpp
C++
Windows-DLL/dio64_32/Dlltest.cpp
AndiT0815/FPGA-SoC-experiment-control
226b6ad182d1f9c94d5b2445cbf88274e9eb380f
[ "MIT" ]
2
2021-06-07T12:45:49.000Z
2021-12-23T15:28:55.000Z
Windows-DLL/dio64_32/Dlltest.cpp
INO-quantum/FPGA-SoC-experiment-control
226b6ad182d1f9c94d5b2445cbf88274e9eb380f
[ "MIT" ]
null
null
null
Windows-DLL/dio64_32/Dlltest.cpp
INO-quantum/FPGA-SoC-experiment-control
226b6ad182d1f9c94d5b2445cbf88274e9eb380f
[ "MIT" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////////////// // Dlltest.cpp // Win32/64 test of DLL // created 27/11/2019 by Andi //////////////////////////////////////////////////////////////////////////////////////// #include "Dio24.h" // header #include <stdio.h> // printf...
37.564065
141
0.566181
[ "3d" ]
d26a67a79b67fd15441d7d01a4024822f4492cbb
11,706
hpp
C++
geometry/rotation.hpp
erplsf/Principia
1f2a1fc53f8a73c1bc67f12213169e6969c8488f
[ "MIT" ]
565
2015-01-04T21:47:18.000Z
2022-03-22T12:04:58.000Z
geometry/rotation.hpp
erplsf/Principia
1f2a1fc53f8a73c1bc67f12213169e6969c8488f
[ "MIT" ]
1,019
2015-01-03T11:42:27.000Z
2022-03-29T21:02:15.000Z
geometry/rotation.hpp
erplsf/Principia
1f2a1fc53f8a73c1bc67f12213169e6969c8488f
[ "MIT" ]
92
2015-02-11T23:08:58.000Z
2022-03-21T03:35:37.000Z
 #pragma once #include "base/macros.hpp" #include "base/mappable.hpp" #include "geometry/grassmann.hpp" #include "geometry/linear_map.hpp" #include "geometry/quaternion.hpp" #include "geometry/r3_element.hpp" #include "geometry/r3x3_matrix.hpp" #include "geometry/sign.hpp" #include "serialization/geometry.pb.h" name...
37.76129
80
0.664018
[ "geometry", "vector" ]
d26a6fbb9a6410027e264f18284f9d94eb4c6030
4,489
cpp
C++
qtxmlpatterns/src/xmlpatterns/utils/qxpathhelper.cpp
wgnet/wds_qt
8db722fd367d2d0744decf99ac7bafaba8b8a3d3
[ "Apache-2.0" ]
1
2020-04-30T15:47:35.000Z
2020-04-30T15:47:35.000Z
qtxmlpatterns/src/xmlpatterns/utils/qxpathhelper.cpp
wgnet/wds_qt
8db722fd367d2d0744decf99ac7bafaba8b8a3d3
[ "Apache-2.0" ]
null
null
null
qtxmlpatterns/src/xmlpatterns/utils/qxpathhelper.cpp
wgnet/wds_qt
8db722fd367d2d0744decf99ac7bafaba8b8a3d3
[ "Apache-2.0" ]
null
null
null
/**************************************************************************** ** ** Copyright (C) 2015 The Qt Company Ltd. ** Contact: http://www.qt.io/licensing/ ** ** This file is part of the QtXmlPatterns module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL21$ ** Commercial License Usage ** Licensees holding valid...
33.75188
98
0.652707
[ "model" ]
d26d85770afbecc29f9151b6534820346c534b9e
4,342
cc
C++
Dragon/src/operators/vision/cudnn_depthwise_conv2d_op.cc
awesome-archive/Dragon
b35f9320909d07d138c2f6b345a4c24911f7c521
[ "BSD-2-Clause" ]
null
null
null
Dragon/src/operators/vision/cudnn_depthwise_conv2d_op.cc
awesome-archive/Dragon
b35f9320909d07d138c2f6b345a4c24911f7c521
[ "BSD-2-Clause" ]
null
null
null
Dragon/src/operators/vision/cudnn_depthwise_conv2d_op.cc
awesome-archive/Dragon
b35f9320909d07d138c2f6b345a4c24911f7c521
[ "BSD-2-Clause" ]
null
null
null
#ifdef WITH_CUDNN #include "core/workspace.h" #include "utils/filler.h" #include "utils/op_kernel.h" #include "operators/vision/depthwise_conv_op.h" namespace dragon { template <class Context> template <typename T> void CuDNNDepthwiseConv2dOp<Context>::RunWithType() { TENSOR_FILL(Input(1), weight_shape); if ...
37.431034
84
0.593736
[ "vector" ]
d277ce4ea7cd76fa87cc67bbac67b3f4e8a2e221
41,683
cpp
C++
Optimus/ThirdParty/VulkanSDK/Vulkan1/shaderc/third_party/spirv-tools/test/opt/unify_const_test.cpp
Sparksidy/Optimus
4ff26a2c21d61759b192f1b0afeff4f2c17aad9a
[ "Apache-2.0" ]
1
2019-02-13T04:38:26.000Z
2019-02-13T04:38:26.000Z
third_party/spirv-tools/test/opt/unify_const_test.cpp
ajweeks/filament
2c85725d9e9c407e9bb4cd8a2ba9e6b44af3fd44
[ "Apache-2.0" ]
null
null
null
third_party/spirv-tools/test/opt/unify_const_test.cpp
ajweeks/filament
2c85725d9e9c407e9bb4cd8a2ba9e6b44af3fd44
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2016 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to...
42.232016
133
0.597006
[ "vector" ]
d285009dba4455fe24dfda51ed386f17541826ab
53,709
cpp
C++
openr/decision/Decision.cpp
tejashri29/openrPublicFork
bb895c0fec367ee50529b5be4f5a73ee14285114
[ "MIT" ]
1
2020-12-04T04:07:34.000Z
2020-12-04T04:07:34.000Z
openr/decision/Decision.cpp
tejashri29/openrPublicFork
bb895c0fec367ee50529b5be4f5a73ee14285114
[ "MIT" ]
null
null
null
openr/decision/Decision.cpp
tejashri29/openrPublicFork
bb895c0fec367ee50529b5be4f5a73ee14285114
[ "MIT" ]
null
null
null
/** * Copyright (c) 2014-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "Decision.h" #include <chrono> #include <string> #include <boost/functional/hash.hpp> #include <boost/graph/adjacency_list.hp...
34.100952
84
0.675269
[ "vector" ]