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
b98b0138392907109c65543a5c323805c537ccbd
12,731
cpp
C++
src/base/attitude/NadirPointing.cpp
supalogix/GMAT
eea9987ef0978b3e6702e70b587a098b2cbce14e
[ "Apache-2.0" ]
2
2020-01-01T13:14:57.000Z
2020-12-09T07:05:07.000Z
src/base/attitude/NadirPointing.cpp
supalogix/GMAT
eea9987ef0978b3e6702e70b587a098b2cbce14e
[ "Apache-2.0" ]
1
2018-03-15T08:58:37.000Z
2018-03-20T20:11:26.000Z
src/base/attitude/NadirPointing.cpp
supalogix/GMAT
eea9987ef0978b3e6702e70b587a098b2cbce14e
[ "Apache-2.0" ]
3
2019-10-13T10:26:49.000Z
2020-12-09T07:06:55.000Z
//$Id$ //------------------------------------------------------------------------------ // Nadir Pointing //------------------------------------------------------------------------------ // GMAT: General Mission Analysis Tool. // // From Wendy @ 2013.07.16 // Author: Yeerang Lim/KAIST // Crea...
34.040107
105
0.510643
[ "object", "vector", "model" ]
b98b4bd90a9ed1f1a176017c69d662b8de2d56ca
4,472
cc
C++
yundun-ds/src/model/DescribePrivilegesResult.cc
iamzken/aliyun-openapi-cpp-sdk
3c991c9ca949b6003c8f498ce7a672ea88162bf1
[ "Apache-2.0" ]
89
2018-02-02T03:54:39.000Z
2021-12-13T01:32:55.000Z
yundun-ds/src/model/DescribePrivilegesResult.cc
iamzken/aliyun-openapi-cpp-sdk
3c991c9ca949b6003c8f498ce7a672ea88162bf1
[ "Apache-2.0" ]
89
2018-03-14T07:44:54.000Z
2021-11-26T07:43:25.000Z
yundun-ds/src/model/DescribePrivilegesResult.cc
aliyun/aliyun-openapi-cpp-sdk
0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36
[ "Apache-2.0" ]
69
2018-01-22T09:45:52.000Z
2022-03-28T07:58:38.000Z
/* * Copyright 2009-2017 Alibaba Cloud All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required...
38.886957
92
0.761181
[ "vector", "model" ]
b98bb4be3a1c2f51973b9349f58f1210d80cf2a9
38,734
cpp
C++
td4.cpp
sijnstra/VDK-80-Linux
d5e42f798d8288abf4f4e907d857389bcb3bfc87
[ "RSA-MD" ]
2
2020-06-30T08:47:35.000Z
2022-01-05T23:50:37.000Z
td4.cpp
sijnstra/VDK-80-Linux
d5e42f798d8288abf4f4e907d857389bcb3bfc87
[ "RSA-MD" ]
1
2021-05-30T12:01:07.000Z
2021-07-04T04:56:06.000Z
td4.cpp
sijnstra/VDK-80-Linux
d5e42f798d8288abf4f4e907d857389bcb3bfc87
[ "RSA-MD" ]
2
2022-01-06T02:44:32.000Z
2022-02-08T15:47:31.000Z
/** @file td4.cpp @brief based on TRS-80 Virtual Disk Kit v1.7 for Windows by Miguel Dutra Linux port VDK-80-Linux done by Mike Gore, 2016 @par Tools to Read and Write files inside common TRS-80 emulator images @par Copyright © 2016 Miguel Dutra, GPL License @par You are free to use this code under the te...
31.237097
163
0.534104
[ "geometry", "model" ]
b98e9a4df1142641b8a092a266666197585e9590
783
hpp
C++
Outputs/CRT/Internals/Rectangle.hpp
reidrac/CLK
a38974ef2e706d87f8ce7320b91c76c13dcede09
[ "MIT" ]
1
2019-07-05T18:09:34.000Z
2019-07-05T18:09:34.000Z
Outputs/CRT/Internals/Rectangle.hpp
reidrac/CLK
a38974ef2e706d87f8ce7320b91c76c13dcede09
[ "MIT" ]
null
null
null
Outputs/CRT/Internals/Rectangle.hpp
reidrac/CLK
a38974ef2e706d87f8ce7320b91c76c13dcede09
[ "MIT" ]
null
null
null
// // Rectangle.hpp // Clock Signal // // Created by Thomas Harte on 11/07/2018. // Copyright © 2018 Thomas Harte. All rights reserved. // #ifndef Rectangle_hpp #define Rectangle_hpp #include "OpenGL.hpp" #include "Shaders/Shader.hpp" #include <memory> namespace OpenGL { /*! Provides a wrapper for drawing a so...
18.642857
67
0.708812
[ "solid" ]
b98f2e6e17f81e31d426f2442b72758c20cd5908
75,125
hpp
C++
src/gnuplot-iostream.hpp
Hyper5phere/sphere-decoder
f84cbcb47314547150639bbed017e8e540d32ced
[ "Unlicense" ]
null
null
null
src/gnuplot-iostream.hpp
Hyper5phere/sphere-decoder
f84cbcb47314547150639bbed017e8e540d32ced
[ "Unlicense" ]
null
null
null
src/gnuplot-iostream.hpp
Hyper5phere/sphere-decoder
f84cbcb47314547150639bbed017e8e540d32ced
[ "Unlicense" ]
null
null
null
// vim:foldmethod=marker /* Copyright (c) 2013 Daniel Stahlke (dan@stahlke.org) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use...
33.537946
197
0.715927
[ "object", "shape", "vector", "3d" ]
b9939d423ce492a7ae87f832614aceb47aa0b36b
1,050
cc
C++
components/arc/intent_helper/local_activity_resolver.cc
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
components/arc/intent_helper/local_activity_resolver.cc
emilio/chromium.src
1bd0cf3997f947746c0fc5406a2466e7b5f6159e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
components/arc/intent_helper/local_activity_resolver.cc
emilio/chromium.src
1bd0cf3997f947746c0fc5406a2466e7b5f6159e
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/arc/intent_helper/local_activity_resolver.h" #include "url/gurl.h" namespace arc { LocalActivityResolver::LocalActivityResolver() ...
27.631579
73
0.749524
[ "vector" ]
b993d93958923cec84ae415680ca458d16fbeb62
2,997
cpp
C++
development/core/src/SOSrv/SOSrvTraceEx.cpp
Movares/OPC-Classic-SDK
65e022dd4ccf20bbdacdfc49cac23bd99d773b98
[ "MIT" ]
19
2021-05-19T11:03:57.000Z
2022-03-18T06:53:48.000Z
development/core/src/SOSrv/SOSrvTraceEx.cpp
Movares/OPC-Classic-SDK
65e022dd4ccf20bbdacdfc49cac23bd99d773b98
[ "MIT" ]
8
2021-04-26T10:47:20.000Z
2022-03-15T11:25:07.000Z
development/core/src/SOSrv/SOSrvTraceEx.cpp
Movares/OPC-Classic-SDK
65e022dd4ccf20bbdacdfc49cac23bd99d773b98
[ "MIT" ]
11
2021-05-28T06:35:20.000Z
2022-03-31T14:07:25.000Z
//----------------------------------------------------------------------------- // | // Softing Industrial Automation GmbH | // Richard-Reitzner-Allee 6 | ...
34.848837
82
0.326326
[ "object" ]
b99502bc9ee4b76f2d49e7b1166239dc887de371
10,556
cc
C++
chromeos/dbus/nfc_client_helpers.cc
iplo/Chain
8bc8943d66285d5258fffc41bed7c840516c4422
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
231
2015-01-08T09:04:44.000Z
2021-12-30T03:03:10.000Z
chromeos/dbus/nfc_client_helpers.cc
JasonEric/chromium
c7361d39be8abd1574e6ce8957c8dbddd4c6ccf7
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2017-02-14T21:55:58.000Z
2017-02-14T21:55:58.000Z
chromeos/dbus/nfc_client_helpers.cc
JasonEric/chromium
c7361d39be8abd1574e6ce8957c8dbddd4c6ccf7
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
268
2015-01-21T05:53:28.000Z
2022-03-25T22:09:01.000Z
// Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chromeos/dbus/nfc_client_helpers.h" #include "base/stl_util.h" #include "dbus/values_util.h" namespace chromeos { namespace nfc_client_helpers...
34.838284
79
0.697992
[ "object", "vector" ]
b9a063f3cd3697c949e786b26e0c243ab1dc546b
3,026
cpp
C++
crystal/operator/generic/ConvertToRecordArray.cpp
crystal-dataop/crystal
128e1dcde1ef68cabadab9b16d45f5199f0afe5c
[ "Apache-2.0" ]
2
2020-10-02T03:31:50.000Z
2020-12-31T09:41:48.000Z
crystal/operator/generic/ConvertToRecordArray.cpp
crystal-dataop/crystal
128e1dcde1ef68cabadab9b16d45f5199f0afe5c
[ "Apache-2.0" ]
null
null
null
crystal/operator/generic/ConvertToRecordArray.cpp
crystal-dataop/crystal
128e1dcde1ef68cabadab9b16d45f5199f0afe5c
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2017-present Yeolar * * 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...
29.096154
75
0.583609
[ "object", "vector" ]
b9a53d0c772f6fda02908cb0f81ae2099b6013b4
1,941
cpp
C++
unitTests/PerformanceLab.cpp
andersc/efp
57b50b58b29d35b4fc8451a912d985001cff4060
[ "MIT" ]
17
2020-05-12T14:38:55.000Z
2021-11-18T08:13:24.000Z
efp/unitTests/PerformanceLab.cpp
Unit-X/srt_tango_2
9443457f807ad151c9b543f892c969404e74e3a7
[ "MIT" ]
2
2020-09-15T15:22:39.000Z
2020-09-28T08:59:22.000Z
efp/unitTests/PerformanceLab.cpp
Unit-X/srt_tango_2
9443457f807ad151c9b543f892c969404e74e3a7
[ "MIT" ]
1
2021-09-28T13:22:59.000Z
2021-09-28T13:22:59.000Z
// // Created by Anders Cedronius on 2019-12-05. // //PerformanceLab just send packets / recieve and profile the code #include "PerformanceLab.h" void PerformanceLab::sendData(const std::vector<uint8_t> &subPacket) { ElasticFrameMessages info = myEFPReciever->receiveFragment(subPacket, 0); if (info != Elasti...
37.326923
155
0.655848
[ "vector" ]
b9a7e50facdafaa6943a02fbf11cef3ee17c52ee
11,722
cpp
C++
packages/monte_carlo/collision/photon/test/tstEfficientCoherentScatteringDistribution.cpp
bam241/FRENSIE
e1760cd792928699c84f2bdce70ff54228e88094
[ "BSD-3-Clause" ]
10
2019-11-14T19:58:30.000Z
2021-04-04T17:44:09.000Z
packages/monte_carlo/collision/photon/test/tstEfficientCoherentScatteringDistribution.cpp
bam241/FRENSIE
e1760cd792928699c84f2bdce70ff54228e88094
[ "BSD-3-Clause" ]
43
2020-03-03T19:59:20.000Z
2021-09-08T03:36:08.000Z
packages/monte_carlo/collision/photon/test/tstEfficientCoherentScatteringDistribution.cpp
bam241/FRENSIE
e1760cd792928699c84f2bdce70ff54228e88094
[ "BSD-3-Clause" ]
6
2020-02-12T17:37:07.000Z
2020-09-08T18:59:51.000Z
//---------------------------------------------------------------------------// //! //! \file tstEfficientCoherentScatteringDistribution.cpp //! \author Alex Robinson //! \brief Efficient coherent scattering distribution unit tests //! //---------------------------------------------------------------------------// ...
36.63125
113
0.643917
[ "vector" ]
b9a8d0c213a240add8523a0b30d42e53a44e7302
96,571
cpp
C++
IUI/Control/ControlCore/RichTextBox/RichEditSrc/select.cpp
jiaojian8063868/portsip-softphone-windows
df1b6391ff5d074cbc98cb559e52b181ef8e1b17
[ "BSD-2-Clause" ]
null
null
null
IUI/Control/ControlCore/RichTextBox/RichEditSrc/select.cpp
jiaojian8063868/portsip-softphone-windows
df1b6391ff5d074cbc98cb559e52b181ef8e1b17
[ "BSD-2-Clause" ]
null
null
null
IUI/Control/ControlCore/RichTextBox/RichEditSrc/select.cpp
jiaojian8063868/portsip-softphone-windows
df1b6391ff5d074cbc98cb559e52b181ef8e1b17
[ "BSD-2-Clause" ]
2
2021-12-31T03:42:48.000Z
2022-02-20T08:37:41.000Z
/* * @doc INTERNAL * * @module SELECT.C -- Implement the CTxtSelection class | * * This module implements the internal CTxtSelection methods. * See select2.c and range2.c for the ITextSelection methods * * Authors: <nl> * Original RichEdit code: David R. Fulmer <nl> * Christian Fortini <nl> * ...
25.227534
115
0.630086
[ "render", "object" ]
b9a90d00ae1d7b3741ce707303fbc55eddc33d02
4,867
cpp
C++
handout/Game/Source/Scene.cpp
mrmile/Audio_And_Music_Manager
330454d47cad50711c95235657962536ba679679
[ "MIT" ]
null
null
null
handout/Game/Source/Scene.cpp
mrmile/Audio_And_Music_Manager
330454d47cad50711c95235657962536ba679679
[ "MIT" ]
null
null
null
handout/Game/Source/Scene.cpp
mrmile/Audio_And_Music_Manager
330454d47cad50711c95235657962536ba679679
[ "MIT" ]
null
null
null
#include "App.h" #include "Input.h" #include "Textures.h" #include "Audio.h" #include "Render.h" #include "Window.h" #include "Scene.h" #include "ModulePlayer.h" #include "Defs.h" #include "Log.h" #include <SDL_mixer/include/SDL_mixer.h> Scene::Scene() : Module() { name.Create("scene"); } // Destructor Scene::~Scen...
29.49697
119
0.718101
[ "render" ]
b9ae8a7f6fcfb6ec4dbbd7e5c77016f25f5bb3c4
1,055
cpp
C++
C++/remove-boxes.cpp
black-shadows/LeetCode-Solutions
b1692583f7b710943ffb19b392b8bf64845b5d7a
[ "Fair", "Unlicense" ]
1
2020-04-16T08:38:14.000Z
2020-04-16T08:38:14.000Z
remove-boxes.cpp
Jeevan-kumar-Raj/LeetCode-Solutions-Topicwise
f1111b4edd401a3fc47111993bd7250cf4dc76da
[ "MIT" ]
null
null
null
remove-boxes.cpp
Jeevan-kumar-Raj/LeetCode-Solutions-Topicwise
f1111b4edd401a3fc47111993bd7250cf4dc76da
[ "MIT" ]
1
2021-12-25T14:48:56.000Z
2021-12-25T14:48:56.000Z
// Time: O(n^3) ~ O(n^4) // Space: O(n^3) class Solution { public: int removeBoxes(vector<int>& boxes) { int lookup[100][100][100] = {0}; return removeBoxesHelper(boxes, 0, boxes.size() - 1, 0, lookup); } private: int removeBoxesHelper(const vector<int>& boxes, int l, int r...
30.142857
102
0.420853
[ "vector" ]
b9c17a65f25ee7d3e2d8b3241fc490f2f93f8708
4,192
cpp
C++
Drill4dotNet/Drill4dotNet-Tests/CProfilerCallbackTest.cpp
Drill4J/agent-dotnet
75b8b95c86173afee4b7072c8d02ea8cb341fad7
[ "Apache-2.0" ]
7
2019-12-26T05:38:25.000Z
2021-06-23T07:04:59.000Z
Drill4dotNet/Drill4dotNet-Tests/CProfilerCallbackTest.cpp
Drill4J/agent-dotnet
75b8b95c86173afee4b7072c8d02ea8cb341fad7
[ "Apache-2.0" ]
11
2020-01-13T22:31:34.000Z
2020-04-10T17:59:33.000Z
Drill4dotNet/Drill4dotNet-Tests/CProfilerCallbackTest.cpp
Drill4J/agent-dotnet
75b8b95c86173afee4b7072c8d02ea8cb341fad7
[ "Apache-2.0" ]
4
2020-02-10T18:19:24.000Z
2021-06-23T06:58:41.000Z
#include "pch.h" #include "ComWrapperBase.h" #include "CoreInteractMock.h" #include "MetaDataAssemblyImportMock.h" #include "MetaDataDispenserMock.h" #include "ConnectorMock.h" #include "ProClient.h" #include <CProfilerCallback.h> using namespace Drill4dotNet; using namespace testing; class CProfilerCallbackTest : pu...
44.595745
186
0.753817
[ "vector" ]
b9c5627cf8f73cfdb83f1b40fffbe55cef8bbde2
5,354
cpp
C++
app/sources/Config.cpp
ptensschi/CppUMockGen
d11f12297688f99863238b263f241b6e3ac66dfd
[ "BSD-3-Clause" ]
null
null
null
app/sources/Config.cpp
ptensschi/CppUMockGen
d11f12297688f99863238b263f241b6e3ac66dfd
[ "BSD-3-Clause" ]
null
null
null
app/sources/Config.cpp
ptensschi/CppUMockGen
d11f12297688f99863238b263f241b6e3ac66dfd
[ "BSD-3-Clause" ]
1
2019-01-10T20:36:24.000Z
2019-01-10T20:36:24.000Z
#include "Config.hpp" #include <stdexcept> #include <set> #include <vector> Config::Config( bool useUnderlyingTypedefType, const std::vector<std::string> &paramOverrideOptions, const std::vector<std::string> &typeOverrideOptions ) : m_useUnderlyingTypedefType( useUnderlyingTypedefType ), m_paramOverri...
32.05988
138
0.607583
[ "vector" ]
b9c850945f6fe28fcd217316e24c8fabd48357a1
5,276
cpp
C++
homework/Muravyev/05/prog.cpp
mtrempoltsev/msu_cpp_autumn_2017
0e87491dc117670b99d2ca2f7e1c5efbc425ae1c
[ "MIT" ]
10
2017-09-21T15:17:33.000Z
2021-01-11T13:11:55.000Z
homework/Muravyev/05/prog.cpp
mtrempoltsev/msu_cpp_autumn_2017
0e87491dc117670b99d2ca2f7e1c5efbc425ae1c
[ "MIT" ]
null
null
null
homework/Muravyev/05/prog.cpp
mtrempoltsev/msu_cpp_autumn_2017
0e87491dc117670b99d2ca2f7e1c5efbc425ae1c
[ "MIT" ]
22
2017-09-21T15:45:08.000Z
2019-02-21T19:15:25.000Z
#include <iostream> #include <vector> #include <cassert> using namespace std; template <class T> class Row{ // Вспомогательный класс "строка" public: Row(int l = 0, T *v = nullptr){ len = l; vector = v; } ~Row(){} const T& operator[](int i) const{ if (i >= len) assert(!"index out of range"); ret...
20.936508
68
0.521418
[ "vector" ]
8454e4a16391840eb70accb199474e0e2a188343
10,976
inl
C++
ork.lev2/src/gfx/meshutil/assimp_util.inl
tweakoz/orkid
e3f78dfb3375853fd512a9d0828b009075a18345
[ "BSL-1.0" ]
25
2015-02-21T04:21:21.000Z
2022-01-20T05:19:27.000Z
ork.lev2/src/gfx/meshutil/assimp_util.inl
tweakoz/orkid
e3f78dfb3375853fd512a9d0828b009075a18345
[ "BSL-1.0" ]
113
2019-08-23T04:52:14.000Z
2021-09-13T04:04:11.000Z
ork.lev2/src/gfx/meshutil/assimp_util.inl
tweakoz/orkid
e3f78dfb3375853fd512a9d0828b009075a18345
[ "BSL-1.0" ]
4
2017-02-20T18:17:55.000Z
2020-06-28T03:47:55.000Z
/////////////////////////////////////////////////////////////////////////////// // Orkid // Copyright 1996-2020, Michael T. Mayers /////////////////////////////////////////////////////////////////////////////// #include <ork/pch.h> #include <ork/file/cas.inl> #include <ork/application/application.h> #include <ork/math...
35.292605
124
0.503553
[ "mesh", "object" ]
8458ea32ca4e21e75de808ed12e6cb6b4e7998f6
13,396
cc
C++
model/addons/PhysiBoSS/MaBoSS-env-2.0/engine/src/FinalStateSimulationEngine.cc
bsc-life/spheroid-tnf-v2-emews
04a6ae2d6620df7700271f113a45379f39f88c41
[ "BSD-3-Clause" ]
6
2020-11-11T08:45:12.000Z
2021-09-15T14:31:07.000Z
data/PhysiBoSSv2/addons/PhysiBoSS/MaBoSS-env-2.0/engine/src/FinalStateSimulationEngine.cc
VasilisStavr/spheroid-tnf-v2-emews
74a28becd075f9596104345b4775f9b1ddfe9ec0
[ "BSD-3-Clause" ]
null
null
null
data/PhysiBoSSv2/addons/PhysiBoSS/MaBoSS-env-2.0/engine/src/FinalStateSimulationEngine.cc
VasilisStavr/spheroid-tnf-v2-emews
74a28becd075f9596104345b4775f9b1ddfe9ec0
[ "BSD-3-Clause" ]
2
2021-05-30T14:33:46.000Z
2021-07-16T09:30:19.000Z
/* MaBoSS (Markov Boolean Stochastic Simulator) Copyright (C) 2011-2018 Institut Curie, 26 rue d'Ulm, Paris, France MaBoSS is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either versi...
32.279518
266
0.688414
[ "vector" ]
845c958b7360e97229fd28321db719abfc1f138d
2,631
cpp
C++
Co-Simulation/Sumo/sumo-1.7.0/src/microsim/cfmodels/MSCFModel_KraussPS.cpp
uruzahe/carla
940c2ab23cce1eda1ef66de35f66b42d40865fb1
[ "MIT" ]
null
null
null
Co-Simulation/Sumo/sumo-1.7.0/src/microsim/cfmodels/MSCFModel_KraussPS.cpp
uruzahe/carla
940c2ab23cce1eda1ef66de35f66b42d40865fb1
[ "MIT" ]
null
null
null
Co-Simulation/Sumo/sumo-1.7.0/src/microsim/cfmodels/MSCFModel_KraussPS.cpp
uruzahe/carla
940c2ab23cce1eda1ef66de35f66b42d40865fb1
[ "MIT" ]
null
null
null
/****************************************************************************/ // Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.org/sumo // Copyright (C) 2001-2020 German Aerospace Center (DLR) and others. // This program and the accompanying materials are made available under the // terms of the Ecli...
39.863636
101
0.571646
[ "model" ]
8463f92068ed4a19b2df023b177b0cc1f8d951ad
929
cpp
C++
solution107.cpp
white-shark/leetcode-cpp
ba1389d3083ee2a2bb0a232672ee316afc125b58
[ "MIT" ]
31
2016-08-18T16:30:59.000Z
2022-02-15T11:21:39.000Z
solution107.cpp
runguanner/Leetcode
ba1389d3083ee2a2bb0a232672ee316afc125b58
[ "MIT" ]
null
null
null
solution107.cpp
runguanner/Leetcode
ba1389d3083ee2a2bb0a232672ee316afc125b58
[ "MIT" ]
22
2017-07-17T07:30:00.000Z
2022-01-24T08:37:15.000Z
/** * Binary Tree Level Order Traversal II * * cpselvis(cpselvis@gmail.com) * September 4th, 2016 */ class Solution { public: vector<vector<int>> levelOrderBottom(TreeNode* root) { vector<vector<int>> ret; vector<TreeNode*> nodes; if (root != NULL) { nodes.push_back(root); dfs(nodes...
18.959184
62
0.55436
[ "vector" ]
84648ee1aa9839784bc6202fd4a399eda36953fe
56,216
cpp
C++
Source/source/load.cpp
Neocraftz1553/Pikifen
e10e1f9f28d4e5229db64c291a8b2ccbb013b7e2
[ "MIT" ]
null
null
null
Source/source/load.cpp
Neocraftz1553/Pikifen
e10e1f9f28d4e5229db64c291a8b2ccbb013b7e2
[ "MIT" ]
null
null
null
Source/source/load.cpp
Neocraftz1553/Pikifen
e10e1f9f28d4e5229db64c291a8b2ccbb013b7e2
[ "MIT" ]
null
null
null
/* * Copyright (c) Andre 'Espyo' Silva 2013. * The following source file belongs to the open-source project Pikifen. * Please read the included README and LICENSE files for more information. * Pikmin is copyright (c) Nintendo. * * === FILE DESCRIPTION === * Data loading and unloading functions. */ #include <al...
34.049667
80
0.561317
[ "geometry", "object", "vector" ]
8464c6d6ee1a7cf797f8ebc3f26eab18801ed58a
14,964
cpp
C++
hmmwv_turning/FWD_hmmwv_turning.cpp
Luke-M15/ME751_FinalProject
0516b0a206d77c5ea309791871cb1cbc5618df82
[ "MIT" ]
null
null
null
hmmwv_turning/FWD_hmmwv_turning.cpp
Luke-M15/ME751_FinalProject
0516b0a206d77c5ea309791871cb1cbc5618df82
[ "MIT" ]
null
null
null
hmmwv_turning/FWD_hmmwv_turning.cpp
Luke-M15/ME751_FinalProject
0516b0a206d77c5ea309791871cb1cbc5618df82
[ "MIT" ]
null
null
null
//=================================================================== //Author: Luke Mottley //ME 751 Final Project // Full Vehicle model on deformable terrain, significantly based on the HMMWV // deformable soil demo //==================================================================== #include <cstdio> #include <cm...
34.009091
118
0.655774
[ "mesh", "geometry", "render", "vector", "model", "3d" ]
84676a5645d1fa679cf8d5556bc2be064db58163
20,166
cpp
C++
com/netfx/src/clr/tools/strike/eeheap.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
com/netfx/src/clr/tools/strike/eeheap.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
com/netfx/src/clr/tools/strike/eeheap.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== #include "strike.h" #include "util.h" void* operator new(size_t, void* p) { return p; } /**********************************************************************\ * Routine Description: ...
31.072419
98
0.444362
[ "object" ]
8467ac43a00f33e91593540576f68b07a20868f1
3,532
cpp
C++
src/Sphere.cpp
tapeguy/heekscad
e5037d15d642551de756f352e4e14505c39ad7cf
[ "BSD-3-Clause" ]
null
null
null
src/Sphere.cpp
tapeguy/heekscad
e5037d15d642551de756f352e4e14505c39ad7cf
[ "BSD-3-Clause" ]
null
null
null
src/Sphere.cpp
tapeguy/heekscad
e5037d15d642551de756f352e4e14505c39ad7cf
[ "BSD-3-Clause" ]
null
null
null
// Sphere.cpp // Copyright (c) 2009, Dan Heeks // This program is released under the BSD license. See the file COPYING for details. #include "stdafx.h" #include "Sphere.h" #include "Gripper.h" #include "MarkedList.h" CSphere::CSphere(const gp_Pnt& pos, double radius, const wxChar* title, const HeeksColor& col, float ...
24.191781
111
0.688845
[ "shape", "transform", "solid" ]
8468b5be15e639a116b2a0fd9c5d767b32654b1d
12,486
cpp
C++
dev/Gems/RoadsAndRivers/Code/Tests/RoadsAndRiversTest.cpp
jeikabu/lumberyard
07228c605ce16cbf5aaa209a94a3cb9d6c1a4115
[ "AML" ]
2
2020-12-22T01:02:01.000Z
2020-12-22T01:02:05.000Z
dev/Gems/RoadsAndRivers/Code/Tests/RoadsAndRiversTest.cpp
jeikabu/lumberyard
07228c605ce16cbf5aaa209a94a3cb9d6c1a4115
[ "AML" ]
null
null
null
dev/Gems/RoadsAndRivers/Code/Tests/RoadsAndRiversTest.cpp
jeikabu/lumberyard
07228c605ce16cbf5aaa209a94a3cb9d6c1a4115
[ "AML" ]
null
null
null
/* * All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates, or * a third party where indicated. * * 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 th...
37.836364
184
0.635832
[ "shape", "vector" ]
846bcf725ef9710b1c16284b0447383635b86d04
2,248
hpp
C++
__unit_tests/gv_framework_unit_test/unit_test_render_simple_2d.hpp
dragonsn/gv_game_engine
dca6c1fb1f8d96e9a244f157a63f8a69da084b0f
[ "MIT" ]
2
2018-12-03T13:17:31.000Z
2020-04-08T07:00:02.000Z
__unit_tests/gv_framework_unit_test/unit_test_render_simple_2d.hpp
dragonsn/gv_game_engine
dca6c1fb1f8d96e9a244f157a63f8a69da084b0f
[ "MIT" ]
null
null
null
__unit_tests/gv_framework_unit_test/unit_test_render_simple_2d.hpp
dragonsn/gv_game_engine
dca6c1fb1f8d96e9a244f157a63f8a69da084b0f
[ "MIT" ]
null
null
null
namespace unit_test_render_simple_2d { int tick_count = 0; class gv_unit_test_render_simple : public gv_unit_test_with_renderer { public: virtual gv_string name() { return "unit_test_render_simple_2d"; } virtual void render() { gv_string_tmp s = "just a simple test of text draw ====>>"; s << "tick_count:" <<...
43.230769
183
0.662367
[ "render" ]
846feebfbe33297797112999030e31c1140afb76
7,412
cpp
C++
src/psm/src/pdnsim.cpp
mooredan/OpenROAD
ab235a982f49c6ce063b36d750fb4132d0046c8b
[ "BSD-3-Clause-Clear" ]
null
null
null
src/psm/src/pdnsim.cpp
mooredan/OpenROAD
ab235a982f49c6ce063b36d750fb4132d0046c8b
[ "BSD-3-Clause-Clear" ]
null
null
null
src/psm/src/pdnsim.cpp
mooredan/OpenROAD
ab235a982f49c6ce063b36d750fb4132d0046c8b
[ "BSD-3-Clause-Clear" ]
null
null
null
/* BSD 3-Clause License Copyright (c) 2020, The Regents of the University of Minnesota 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 ...
30.883333
80
0.565434
[ "vector" ]
84764041332f645df8780d38b0851790ef2bbd83
70,444
cpp
C++
libnd4j/include/helpers/impl/shape.cpp
steljord2/deeplearning4j
4653c97a713cc59e41d4313ddbafc5ff527f8714
[ "Apache-2.0" ]
2,206
2019-06-12T18:57:14.000Z
2022-03-29T08:14:27.000Z
libnd4j/include/helpers/impl/shape.cpp
steljord2/deeplearning4j
4653c97a713cc59e41d4313ddbafc5ff527f8714
[ "Apache-2.0" ]
1,685
2019-06-12T17:41:33.000Z
2022-03-29T21:45:15.000Z
libnd4j/include/helpers/impl/shape.cpp
steljord2/deeplearning4j
4653c97a713cc59e41d4313ddbafc5ff527f8714
[ "Apache-2.0" ]
572
2019-06-12T22:13:57.000Z
2022-03-31T16:46:46.000Z
/* ****************************************************************************** * * * This program and the accompanying materials are made available under the * terms of the Apache License, Version 2.0 which is available at * https://www.apache.org/licenses/LICENSE-2.0. * * See the NOTICE file distribu...
33.512845
176
0.577083
[ "object", "shape", "vector", "transform" ]
847d4e03892fb3648c11e1c7b04a2a6bbd452f1c
16,746
cpp
C++
common/SoapyRPCSocket.cpp
antonblanchard/SoapyRemote
6d9bd820da470cfe7b27b2e6946af93cfece448f
[ "BSL-1.0" ]
null
null
null
common/SoapyRPCSocket.cpp
antonblanchard/SoapyRemote
6d9bd820da470cfe7b27b2e6946af93cfece448f
[ "BSL-1.0" ]
null
null
null
common/SoapyRPCSocket.cpp
antonblanchard/SoapyRemote
6d9bd820da470cfe7b27b2e6946af93cfece448f
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2015-2019 Josh Blum // SPDX-License-Identifier: BSL-1.0 #include "SoapySocketDefs.hpp" #include "SoapyRPCSocket.hpp" #include "SoapyURLUtils.hpp" #include <SoapySDR/Logger.hpp> #include <cstring> //strerror #include <cerrno> //errno #include <algorithm> //max #include <mutex> static std::mutex sessio...
28.674658
167
0.611728
[ "vector" ]
847dfbd96047241dc054e1e5f88ee4cddbe51696
3,967
cpp
C++
first_year/mp/sesion5/src/SecuenciaEnteros.cpp
chelunike/trust_me_i_am_an_engineer
40261dd8a6699910ef7d6bb7f63e2b961d6ae027
[ "Apache-2.0" ]
null
null
null
first_year/mp/sesion5/src/SecuenciaEnteros.cpp
chelunike/trust_me_i_am_an_engineer
40261dd8a6699910ef7d6bb7f63e2b961d6ae027
[ "Apache-2.0" ]
null
null
null
first_year/mp/sesion5/src/SecuenciaEnteros.cpp
chelunike/trust_me_i_am_an_engineer
40261dd8a6699910ef7d6bb7f63e2b961d6ae027
[ "Apache-2.0" ]
null
null
null
/***************************************************************************/ // FUNDAMENTOS DE PROGRAMACIÓN // // (C) FRANCISCO JOSÉ CORTIJO BON // DEPARTAMENTO DE CIENCIAS DE LA COMPUTACIÓN E INTELIGENCIA ARTIFICIAL // // Clase "SecuenciaEnteros" // Versión mínima operativa. // // Fichero: SecuenciaEnteros.cpp // /...
28.539568
77
0.50542
[ "vector" ]
847f6f2084779c713eed615024a18401c4ea5ccd
2,052
cc
C++
cpp_src/core/selectfunc/functions/highlight.cc
AlexSnet/reindexer
6de57939bbd5968954427ef0b3ca58ef9134caaa
[ "Apache-2.0" ]
695
2017-07-07T16:54:23.000Z
2022-03-19T09:48:30.000Z
cpp_src/core/selectfunc/functions/highlight.cc
AlexSnet/reindexer
6de57939bbd5968954427ef0b3ca58ef9134caaa
[ "Apache-2.0" ]
63
2018-01-18T02:57:48.000Z
2022-03-04T10:28:05.000Z
cpp_src/core/selectfunc/functions/highlight.cc
AlexSnet/reindexer
6de57939bbd5968954427ef0b3ca58ef9134caaa
[ "Apache-2.0" ]
72
2017-07-12T21:12:59.000Z
2021-11-28T14:35:06.000Z
#include "highlight.h" #include "core/keyvalue/key_string.h" #include "core/keyvalue/p_string.h" #include "core/payload/payloadiface.h" #include "core/selectfunc/ctx/ftctx.h" namespace reindexer { bool Highlight::process(ItemRef &res, PayloadType &pl_type, const SelectFuncStruct &func, std::vector<key_string> &strings...
31.090909
131
0.699318
[ "vector" ]
84843f531e98729cfc1bb9201e6ddd52eb49c38d
3,590
cpp
C++
TinyRaster/TinyRaster/TestApplication.cpp
Andrewcjp/tinyraster
5e55325dcc7d0b7c9642727ea72ec64af81b3b49
[ "MIT" ]
null
null
null
TinyRaster/TinyRaster/TestApplication.cpp
Andrewcjp/tinyraster
5e55325dcc7d0b7c9642727ea72ec64af81b3b49
[ "MIT" ]
null
null
null
TinyRaster/TinyRaster/TestApplication.cpp
Andrewcjp/tinyraster
5e55325dcc7d0b7c9642727ea72ec64af81b3b49
[ "MIT" ]
null
null
null
/*--------------------------------------------------------------------- * * Copyright © 2015 Minsi Chen * E-mail: m.chen@derby.ac.uk * * The source is written for the Graphics I and II modules. You are free * to use and extend the functionality. The code provided here is functional * however the author does not guaran...
21.626506
95
0.679944
[ "render" ]
8486be7b6275d4780225732ccb32a71f668ab42b
931
hpp
C++
src/WinGiant/RPC/Service.hpp
kasicass/wingiant
9b45179bff6fada230c610ddb55b7dfd343de9a9
[ "MIT" ]
1
2020-08-20T12:55:41.000Z
2020-08-20T12:55:41.000Z
src/WinGiant/RPC/Service.hpp
kasicass/wingiant
9b45179bff6fada230c610ddb55b7dfd343de9a9
[ "MIT" ]
null
null
null
src/WinGiant/RPC/Service.hpp
kasicass/wingiant
9b45179bff6fada230c610ddb55b7dfd343de9a9
[ "MIT" ]
1
2019-12-18T10:14:36.000Z
2019-12-18T10:14:36.000Z
// struct MyData; // MyData d; // // void addService(msgpack::object obj); // // RPC::Service svc("MyService"); // svc.registerCall("add", addService); // if (svc.start()) // { // while (1) // { // if (!svc.runOnce()) // ::Sleep(100); // } // } #pragma once #pragma warning(disable: 4244) // conversio...
19.395833
93
0.66058
[ "object" ]
84870939ae0e112f24b82ef3bd3d7cf0587df010
1,250
cpp
C++
ABC/ABC245/D/abc245-d.cpp
keitaronaruse/AtCoderTraining
9fb8f0d492be678a788080c96b06c33992cb6db2
[ "MIT" ]
null
null
null
ABC/ABC245/D/abc245-d.cpp
keitaronaruse/AtCoderTraining
9fb8f0d492be678a788080c96b06c33992cb6db2
[ "MIT" ]
null
null
null
ABC/ABC245/D/abc245-d.cpp
keitaronaruse/AtCoderTraining
9fb8f0d492be678a788080c96b06c33992cb6db2
[ "MIT" ]
null
null
null
/** * @file abc245-d.cpp * @brief ABC245 Problem D - Polynomial division * @author Keitaro Naruse * @date 2022-03-26, 2022-03-27 * @copyright MIT License * @details https://atcoder.jp/contests/abc245/tasks/abc245_d */ // # Solution #include <iostream> #include <vector> template< class T > std::ostream& operator<<( s...
21.929825
71
0.4232
[ "vector" ]
848980f33403eb4c8b63ae2d9b0d6bf5d3c48109
1,152
cpp
C++
unwrap.cpp
PatxiofromAlphensign/SparseTensor
61d8dbc0a48a3d431a0ad43649729ddf8e5bb9ad
[ "BSD-2-Clause" ]
null
null
null
unwrap.cpp
PatxiofromAlphensign/SparseTensor
61d8dbc0a48a3d431a0ad43649729ddf8e5bb9ad
[ "BSD-2-Clause" ]
null
null
null
unwrap.cpp
PatxiofromAlphensign/SparseTensor
61d8dbc0a48a3d431a0ad43649729ddf8e5bb9ad
[ "BSD-2-Clause" ]
null
null
null
#include <util.h> #include <vector> #include <iostream> namespace M { Value a; SparseTensor::SparseMatrixEntry sparse(2,5,a ); template<typename T> concept floating = std::floating_point<T>; template<floating T> void f(std::vector<T> vec) { } struct stuff { std::ostream& os; ...
21.333333
74
0.569444
[ "vector" ]
84929e28a2647573e656738b48ad8832e86ee536
4,884
cc
C++
modules/perception/onboard/subnode.cc
BaiduXLab/apollo
2764e934b6d0da1342be781447348288ac84c5e9
[ "Apache-2.0" ]
22
2018-10-10T14:46:32.000Z
2022-02-28T12:43:43.000Z
modules/perception/onboard/subnode.cc
BaiduXLab/apollo
2764e934b6d0da1342be781447348288ac84c5e9
[ "Apache-2.0" ]
5
2020-06-13T00:36:33.000Z
2022-02-10T17:50:43.000Z
modules/perception/onboard/subnode.cc
BaiduXLab/apollo
2764e934b6d0da1342be781447348288ac84c5e9
[ "Apache-2.0" ]
12
2018-12-24T02:17:19.000Z
2021-12-06T01:54:09.000Z
/****************************************************************************** * Copyright 2018 The Apollo Authors. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at ...
31.714286
80
0.613432
[ "vector" ]
8498683af60f666c17902c17685d8616630bf083
6,668
cpp
C++
cadmium/example/main-count-fives.cpp
SimulationEverywhere/NEP_DAM
bc8cdf661c4a4e050abae12fb756f41ec6240e6b
[ "BSD-2-Clause" ]
null
null
null
cadmium/example/main-count-fives.cpp
SimulationEverywhere/NEP_DAM
bc8cdf661c4a4e050abae12fb756f41ec6240e6b
[ "BSD-2-Clause" ]
null
null
null
cadmium/example/main-count-fives.cpp
SimulationEverywhere/NEP_DAM
bc8cdf661c4a4e050abae12fb756f41ec6240e6b
[ "BSD-2-Clause" ]
null
null
null
/** * Copyright (c) 2017, Damian Vicino * Carleton University, Universite de Nice-Sophia Antipolis * 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 r...
49.761194
231
0.804889
[ "model" ]
849e72712244fb777ea82af9a0336576864f0f7f
21,097
cpp
C++
Source/moja.flint/src/writesystemconfig.cpp
moja-global/flint
2c65c5808d908247ce8ee4d9f87f11c7dd57794e
[ "BSL-1.0" ]
null
null
null
Source/moja.flint/src/writesystemconfig.cpp
moja-global/flint
2c65c5808d908247ce8ee4d9f87f11c7dd57794e
[ "BSL-1.0" ]
1
2020-07-12T11:30:00.000Z
2020-07-18T14:50:16.000Z
Source/moja.flint/src/writesystemconfig.cpp
moja-global/flint
2c65c5808d908247ce8ee4d9f87f11c7dd57794e
[ "BSL-1.0" ]
null
null
null
#include "moja/flint/ilandunitdatawrapper.h" #include "moja/flint/ipool.h" #include "moja/flint/itiming.h" #include "moja/flint/spatiallocationinfo.h" #include "moja/flint/externalvariable.h" #include "moja/flint/flintdatavariable.h" #include "moja/flint/variable.h" #include "moja/flint/writesystemconfig.h" ...
43.231557
129
0.550979
[ "object", "vector" ]
84a0040ba1336df15325870c58c33ea6a906e66d
3,483
cpp
C++
src/ros/hardware_interface.cpp
uob-erl/ur_modern_driver
9634a082cdec79af7dc13f6062d048cf4083cc65
[ "Apache-2.0" ]
7
2022-02-17T23:29:45.000Z
2022-03-12T09:23:54.000Z
src/ros/hardware_interface.cpp
uob-erl/ur_modern_driver
9634a082cdec79af7dc13f6062d048cf4083cc65
[ "Apache-2.0" ]
null
null
null
src/ros/hardware_interface.cpp
uob-erl/ur_modern_driver
9634a082cdec79af7dc13f6062d048cf4083cc65
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2017, 2018 Simon Rasmussen (refactor) * * Copyright 2015, 2016 Thomas Timm Andersen (original version) * * 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...
31.954128
120
0.718346
[ "vector" ]
84a28f390665a823139333663e7d342036b616e7
6,114
cpp
C++
src/tests/end2end/ReduceMeanTests.cpp
lisa0314/webnn-native-1
941b9c87615a9504715a3425e194aad0c2495d06
[ "Apache-2.0" ]
null
null
null
src/tests/end2end/ReduceMeanTests.cpp
lisa0314/webnn-native-1
941b9c87615a9504715a3425e194aad0c2495d06
[ "Apache-2.0" ]
null
null
null
src/tests/end2end/ReduceMeanTests.cpp
lisa0314/webnn-native-1
941b9c87615a9504715a3425e194aad0c2495d06
[ "Apache-2.0" ]
null
null
null
// Copyright 2021 The WebNN-native 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 law or ...
49.707317
95
0.638044
[ "vector" ]
84a81542b03cd28742511f9860e6fac6f3f33eb5
5,533
cpp
C++
coursework2/src/mapgenrator/noise.cpp
foundnet/UOE_PS_coursework
eb719fee024806ec03fbec528e9eb42d444f6289
[ "Apache-2.0" ]
null
null
null
coursework2/src/mapgenrator/noise.cpp
foundnet/UOE_PS_coursework
eb719fee024806ec03fbec528e9eb42d444f6289
[ "Apache-2.0" ]
null
null
null
coursework2/src/mapgenrator/noise.cpp
foundnet/UOE_PS_coursework
eb719fee024806ec03fbec528e9eb42d444f6289
[ "Apache-2.0" ]
null
null
null
// Copyright [2017] <Mengxuan Zhu> #include "../../include/noise.h" double noise::cubic_func(double x, const double param0, const double param1, const double param2, const double param3) { return param0+param1*x+param2*x*x+param3*x*x*x; } std::vector<double> noise::discrete_random_series(unsigned i...
34.798742
91
0.622086
[ "vector" ]
84a855565b3b8b53c9fe9b5e190f9b406514e8ce
2,186
cc
C++
gcc-gcc-7_3_0-release/libstdc++-v3/testsuite/23_containers/forward_list/debug/swap.cc
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
7
2020-05-02T17:34:05.000Z
2021-10-17T10:15:18.000Z
gcc-gcc-7_3_0-release/libstdc++-v3/testsuite/23_containers/forward_list/debug/swap.cc
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
null
null
null
gcc-gcc-7_3_0-release/libstdc++-v3/testsuite/23_containers/forward_list/debug/swap.cc
best08618/asylo
5a520a9f5c461ede0f32acc284017b737a43898c
[ "Apache-2.0" ]
2
2020-07-27T00:22:36.000Z
2021-04-01T09:41:02.000Z
// { dg-do run { target c++11 } } // Copyright (C) 2010-2017 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library 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 Foundatio...
27.670886
74
0.663769
[ "vector" ]
84aa6124d08958b505b60137c31f224a2f9b3b98
7,477
cc
C++
projects/node-pylon/src/genicam/portimpl.cc
bjoernrennfanz/node-pylon
8c20349d112de2674817a07b3ddbe2e5c481a676
[ "MIT" ]
null
null
null
projects/node-pylon/src/genicam/portimpl.cc
bjoernrennfanz/node-pylon
8c20349d112de2674817a07b3ddbe2e5c481a676
[ "MIT" ]
null
null
null
projects/node-pylon/src/genicam/portimpl.cc
bjoernrennfanz/node-pylon
8c20349d112de2674817a07b3ddbe2e5c481a676
[ "MIT" ]
null
null
null
// MIT License // // Copyright (c) 2017 - 2018 Björn Rennfanz <bjoern@fam-rennfanz.de> // // 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 limitatio...
34.141553
167
0.659489
[ "object" ]
84ab30aad4e5340bcd315e546775e4b30669f2a7
5,739
cpp
C++
Project/Source/Modules/ModuleAudio.cpp
TBD-org/RealBugEngine
0131fde0abc2d86137500acd6f63ed8f0fc2835f
[ "MIT" ]
7
2021-04-26T21:32:12.000Z
2022-02-14T13:48:53.000Z
Project/Source/Modules/ModuleAudio.cpp
TBD-org/RealBugEngine
0131fde0abc2d86137500acd6f63ed8f0fc2835f
[ "MIT" ]
66
2021-04-24T10:08:07.000Z
2021-10-05T16:52:56.000Z
Project/Source/Modules/ModuleAudio.cpp
TBD-org/Tesseract
0131fde0abc2d86137500acd6f63ed8f0fc2835f
[ "MIT" ]
1
2021-07-13T21:26:13.000Z
2021-07-13T21:26:13.000Z
#include "ModuleAudio.h" #include "Globals.h" #include "Application.h" #include "Modules/ModuleScene.h" #include "Utils/alErrors.h" #include "Utils/alcErrors.h" #include "Scene.h" #include "AL/al.h" #include "Utils/Leaks.h" bool ModuleAudio::Init() { return OpenSoundDevice(); } UpdateStatus Modul...
27.328571
123
0.708834
[ "vector" ]
84ad17e1cb0045dc344ec4791235881d63b0da64
6,742
cpp
C++
searchlib/src/vespa/searchlib/features/nativefieldmatchfeature.cpp
atveit/vespa
545898728f29a9ed7fcae223bfb0c85f24227af8
[ "Apache-2.0" ]
1
2018-12-30T05:42:18.000Z
2018-12-30T05:42:18.000Z
searchlib/src/vespa/searchlib/features/nativefieldmatchfeature.cpp
atveit/vespa
545898728f29a9ed7fcae223bfb0c85f24227af8
[ "Apache-2.0" ]
1
2021-01-21T01:37:37.000Z
2021-01-21T01:37:37.000Z
searchlib/src/vespa/searchlib/features/nativefieldmatchfeature.cpp
atveit/vespa
545898728f29a9ed7fcae223bfb0c85f24227af8
[ "Apache-2.0" ]
1
2020-02-01T07:21:28.000Z
2020-02-01T07:21:28.000Z
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include "nativefieldmatchfeature.h" #include "valuefeature.h" #include "utils.h" #include <vespa/searchlib/fef/fieldinfo.h> #include <vespa/searchlib/fef/indexproperties.h> #include <vespa/searchlib/...
36.053476
131
0.617621
[ "vector" ]
84ad62759e4a78ea687183651aeba3dbc339e04e
5,543
hpp
C++
apps/opencs/view/settings/view.hpp
Bodillium/openmw
5fdd264d0704e33b44b1ccf17ab4fb721f362e34
[ "Unlicense" ]
null
null
null
apps/opencs/view/settings/view.hpp
Bodillium/openmw
5fdd264d0704e33b44b1ccf17ab4fb721f362e34
[ "Unlicense" ]
null
null
null
apps/opencs/view/settings/view.hpp
Bodillium/openmw
5fdd264d0704e33b44b1ccf17ab4fb721f362e34
[ "Unlicense" ]
null
null
null
#ifndef CSVSETTINGS_VIEW_HPP #define CSVSETTINGS_VIEW_HPP #include <QWidget> #include <QList> #include "frame.hpp" #include "../../model/settings/support.hpp" class QGroupBox; class QStringList; class QStandardItem; class QItemSelection; class QAbstractItemModel; class QItemSelectionModel; namespace CSMSettings { c...
34.428571
79
0.639185
[ "model" ]
84af15cfd3bbfac9a5791ecd6ed14d8b958ac9db
11,211
cpp
C++
Reverb/Windows/Reverb/Source/PluginProcessor.cpp
landonviator/Reverb
ac37ea100e595dd246de571ec47c9a9271562fbb
[ "MIT" ]
null
null
null
Reverb/Windows/Reverb/Source/PluginProcessor.cpp
landonviator/Reverb
ac37ea100e595dd246de571ec47c9a9271562fbb
[ "MIT" ]
null
null
null
Reverb/Windows/Reverb/Source/PluginProcessor.cpp
landonviator/Reverb
ac37ea100e595dd246de571ec47c9a9271562fbb
[ "MIT" ]
null
null
null
/* ============================================================================== This file contains the basic framework code for a JUCE plugin processor. ============================================================================== */ #include "PluginProcessor.h" #include "PluginEditor.h" //==============...
37.245847
119
0.678173
[ "vector" ]
84af18b2993cfc597370649c73d334dbfdebb227
14,135
hpp
C++
vendor/mapbox-gl-native/vendor/mapbox-base/mapbox/supercluster.hpp/include/supercluster.hpp
aic-develop/vietmaps-gl-native-ios-source
c73c28c4f1ea60ecd4c83c8b49f6947ee06f24f2
[ "BSL-1.0", "Apache-2.0" ]
null
null
null
vendor/mapbox-gl-native/vendor/mapbox-base/mapbox/supercluster.hpp/include/supercluster.hpp
aic-develop/vietmaps-gl-native-ios-source
c73c28c4f1ea60ecd4c83c8b49f6947ee06f24f2
[ "BSL-1.0", "Apache-2.0" ]
null
null
null
vendor/mapbox-gl-native/vendor/mapbox-base/mapbox/supercluster.hpp/include/supercluster.hpp
aic-develop/vietmaps-gl-native-ios-source
c73c28c4f1ea60ecd4c83c8b49f6947ee06f24f2
[ "BSL-1.0", "Apache-2.0" ]
null
null
null
#pragma once #include <kdbush.hpp> #include <mapbox/feature.hpp> #include <mapbox/geometry/point_arithmetic.hpp> #include <algorithm> #include <cmath> #include <cstdint> #include <functional> #include <iomanip> #include <memory> #include <sstream> #include <vector> #ifdef DEBUG_TIMER #include <chrono> #include <iost...
33.654762
99
0.549982
[ "geometry", "object", "vector" ]
84b073d9f949a8807ebd04073015b71a68f840e9
1,171
cpp
C++
src/string-compression.cpp
Liuchang0812/leetcode
d71f87b0035e661d0009f4382b39c4787c355f89
[ "MIT" ]
9
2015-09-09T20:28:31.000Z
2019-05-15T09:13:07.000Z
src/string-compression.cpp
liuchang0812/leetcode
d71f87b0035e661d0009f4382b39c4787c355f89
[ "MIT" ]
1
2015-02-25T13:10:09.000Z
2015-02-25T13:10:09.000Z
src/string-compression.cpp
liuchang0812/leetcode
d71f87b0035e661d0009f4382b39c4787c355f89
[ "MIT" ]
1
2016-08-31T19:14:52.000Z
2016-08-31T19:14:52.000Z
#include <iostream> #include <vector> using namespace std; class Solution { public: string int2str(int x) { string ans; while (x != 0) { ans = char(x%10 + '0') + ans; x /= 10; } return ans; } int compress(vector<char>& chars) { vector<char> ansc; vector<int> ansi; ...
22.09434
119
0.502989
[ "vector" ]
84b2b6dfb401e961e77eb9c23ea8eb90251d53f3
35,862
cpp
C++
src/bkMath/fft/fft.cpp
BenKoehler/bk
53d9ce99cf54fe01dbb3b22ff2418cd102e20ee3
[ "MIT" ]
4
2018-12-08T15:35:38.000Z
2021-08-06T03:23:06.000Z
src/bkMath/fft/fft.cpp
BenKoehler/bk
53d9ce99cf54fe01dbb3b22ff2418cd102e20ee3
[ "MIT" ]
null
null
null
src/bkMath/fft/fft.cpp
BenKoehler/bk
53d9ce99cf54fe01dbb3b22ff2418cd102e20ee3
[ "MIT" ]
null
null
null
/* * This FFT implementation is based on the one by Paul Bourke, which was * published in 1993 and can be freely used. * * http://paulbourke.net/miscellaneous/dft/ * http://paulbourke.net/miscellaneous/ * * "The contents of this web site are © Copyright Paul Bourke or a third party * contributor where indicated...
35.933868
148
0.410908
[ "vector", "transform", "3d" ]
84b33e41e23b05c32d47da2893d2d92e9972b460
43,367
cpp
C++
src/drivers/Aura4/Aura4.cpp
jarilq/aura-core
7880ed265396bf8c89b783835853328e6d7d1589
[ "MIT", "BSD-2-Clause-FreeBSD" ]
1
2020-04-04T23:49:36.000Z
2020-04-04T23:49:36.000Z
src/drivers/Aura4/Aura4.cpp
jarilq/aura-core
7880ed265396bf8c89b783835853328e6d7d1589
[ "MIT", "BSD-2-Clause-FreeBSD" ]
null
null
null
src/drivers/Aura4/Aura4.cpp
jarilq/aura-core
7880ed265396bf8c89b783835853328e6d7d1589
[ "MIT", "BSD-2-Clause-FreeBSD" ]
null
null
null
// // FILE: Aura4.cpp // DESCRIPTION: interact with Aura4 FMU // // TODO: // - (for now ok) straighten out what I'm doing with imu timestamp dance // - (for now ok) straighten out what I'm doing with skipped frames // - (for now ok) gps age? // - (ok) send ekf config // - (ok) figure out how to deal with accel/mag ca...
36.260033
98
0.606936
[ "vector" ]
84bb468b8ff2a1124e49a41d7cd5f33c085da54a
10,048
cpp
C++
iris/shader/Shader.cpp
pixelsquare/iris-engine-opengl
5b542333f3c3aed9a66f388a6703dc0daa06b3fb
[ "MIT" ]
null
null
null
iris/shader/Shader.cpp
pixelsquare/iris-engine-opengl
5b542333f3c3aed9a66f388a6703dc0daa06b3fb
[ "MIT" ]
null
null
null
iris/shader/Shader.cpp
pixelsquare/iris-engine-opengl
5b542333f3c3aed9a66f388a6703dc0daa06b3fb
[ "MIT" ]
null
null
null
#include "Shader.h" #include "iris/Iris.h" #include "iris/IrisGL.h" #include "iris/IrisScene.h" #include "iris/IrisLogger.h" #include "mesh/Mesh.h" #include "matrix4x4/Matrix4x4.h" #include "transform/Transform.h" #include "texture2d/Texture2D.h" #include "renderer/Renderer.h" #include "gameobject/GameObject....
26.723404
103
0.715267
[ "mesh", "model", "transform" ]
84bc4e23bec850c9e8ac5a5d9dd4a02eb8d20257
7,929
cpp
C++
be/test/util/tdigest_test.cpp
kaiker19/incubator-doris
f4c5c6ccc650012a0db7ddda8a38f4c65cc5c9be
[ "Apache-2.0" ]
3,562
2018-08-30T05:26:10.000Z
2022-03-31T10:01:56.000Z
be/test/util/tdigest_test.cpp
kaiker19/incubator-doris
f4c5c6ccc650012a0db7ddda8a38f4c65cc5c9be
[ "Apache-2.0" ]
5,199
2018-09-11T07:57:21.000Z
2022-03-31T16:17:50.000Z
be/test/util/tdigest_test.cpp
kaiker19/incubator-doris
f4c5c6ccc650012a0db7ddda8a38f4c65cc5c9be
[ "Apache-2.0" ]
1,234
2018-08-31T09:34:54.000Z
2022-03-31T06:01:02.000Z
// Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may...
31.094118
86
0.608778
[ "vector" ]
84bd4b37b9edb2c082a32ad07b5392ad77487efe
5,497
hpp
C++
src/world/entity.hpp
louiz/batajelo
4d8edce8da9d3b17dbad68eb4881d7f6fee2f76e
[ "BSL-1.0", "BSD-2-Clause", "Zlib", "MIT" ]
7
2015-01-28T09:17:08.000Z
2020-04-21T13:51:16.000Z
src/world/entity.hpp
louiz/batajelo
4d8edce8da9d3b17dbad68eb4881d7f6fee2f76e
[ "BSL-1.0", "BSD-2-Clause", "Zlib", "MIT" ]
null
null
null
src/world/entity.hpp
louiz/batajelo
4d8edce8da9d3b17dbad68eb4881d7f6fee2f76e
[ "BSL-1.0", "BSD-2-Clause", "Zlib", "MIT" ]
1
2020-07-11T09:20:25.000Z
2020-07-11T09:20:25.000Z
#ifndef __ENTITY_HPP__ # define __ENTITY_HPP__ #include <world/components.hpp> #include <world/status.hpp> #include <world/brain.hpp> #include <world/work.hpp> #include <cassert> #include <cstdint> #include <memory> #include <list> using EntityId = uint16_t; using EntityType = uint16_t; class Camera; class World; c...
28.931579
88
0.668546
[ "vector" ]
84c2ca245fc70af598e01f4720d82b7e2ed7b238
450
cpp
C++
src/materials/lambertian.cpp
Zielon/PBRenderer
66171bb741bccf14ae6d3e2120a03ab44289263b
[ "BSD-2-Clause" ]
7
2020-11-06T21:06:36.000Z
2022-02-12T01:00:16.000Z
src/materials/lambertian.cpp
Zielon/PBRenderer
66171bb741bccf14ae6d3e2120a03ab44289263b
[ "BSD-2-Clause" ]
null
null
null
src/materials/lambertian.cpp
Zielon/PBRenderer
66171bb741bccf14ae6d3e2120a03ab44289263b
[ "BSD-2-Clause" ]
null
null
null
#include "lambertian.h" #include "../geometry/triangle.h" #include "../bxdfs/lambertian_reflection.h" void pbr::LambertianMaterial::compute_BxDF(Intersection& intersection, TransportMode mode) const{ Triangle* triangle = const_cast<Triangle*>(intersection.triangle); intersection.bsdf = std::make_shared<BSDF>(inte...
34.615385
97
0.786667
[ "geometry" ]
84c785fa5673cbdec058001693e3d723ced6e1d0
3,105
cpp
C++
src/polygon.cpp
simonsobs/lyrebird
027ca633876860c492270983c3880a7d4b87f14b
[ "BSD-2-Clause" ]
null
null
null
src/polygon.cpp
simonsobs/lyrebird
027ca633876860c492270983c3880a7d4b87f14b
[ "BSD-2-Clause" ]
1
2021-02-04T03:16:43.000Z
2021-02-04T16:43:09.000Z
src/polygon.cpp
simonsobs/lyrebird
027ca633876860c492270983c3880a7d4b87f14b
[ "BSD-2-Clause" ]
1
2019-03-19T01:27:11.000Z
2019-03-19T01:27:11.000Z
#include "polygon.h" #include "geometryutils.h" #include "genericutils.h" using namespace glm; using namespace std; Polygon::Polygon(std::vector<glm::vec2> points){ vector<vec2> tri_points; triangulate_polygon(points,tri_points); for (size_t i=0; i < tri_points.size(); i+=3){ tris.push_back( Triangle(tri_poi...
26.767241
80
0.588728
[ "vector" ]
84c7d290f91bebdd07aa4994defa99fde666d96b
665
hpp
C++
include/mh/scene/spatial.hpp
overworks/MhGameLib
87973e29633ed09a3fa51eb27ea7fc8af5e9d71b
[ "MIT" ]
null
null
null
include/mh/scene/spatial.hpp
overworks/MhGameLib
87973e29633ed09a3fa51eb27ea7fc8af5e9d71b
[ "MIT" ]
null
null
null
include/mh/scene/spatial.hpp
overworks/MhGameLib
87973e29633ed09a3fa51eb27ea7fc8af5e9d71b
[ "MIT" ]
null
null
null
#ifndef _MH_SCENE_SPATIAL_HPP_ #define _MH_SCENE_SPATIAL_HPP_ #include <mh/prerequisite.h> #include <mh/math.hpp> namespace Mh { class Renderer; namespace Scene { class Spatial { public: Spatial(); virtual ~Spatial() = 0; virtual void update() = 0; virtual void render(Renderer* renderer) const ...
16.219512
53
0.711278
[ "render" ]
84cbb3045bc3d8beadf7ef46ab850ffda5e78724
1,359
hpp
C++
ironforge/src/scene/input.hpp
m1nuz/ironforge
b6e1875a2442e48e8982cb3d622b5a1ef2af5663
[ "MIT" ]
null
null
null
ironforge/src/scene/input.hpp
m1nuz/ironforge
b6e1875a2442e48e8982cb3d622b5a1ef2af5663
[ "MIT" ]
null
null
null
ironforge/src/scene/input.hpp
m1nuz/ironforge
b6e1875a2442e48e8982cb3d622b5a1ef2af5663
[ "MIT" ]
null
null
null
#pragma once #include <cstdint> #include <string> #include <vector> #include <memory> #include <optional> #include <functional> #include <core/json.hpp> #include <SDL2/SDL_events.h> namespace scene { struct instance_type; typedef instance_type instance_t; struct input_action { std::string ...
28.914894
185
0.623252
[ "vector" ]
84cfd90c5017f9fb0d1cd2317bd6ab29867aca5f
9,961
cc
C++
src/ui/a11y/lib/semantics/tests/semantic_tree_service_unittest.cc
fabio-d/fuchsia-stardock
e57f5d1cf015fe2294fc2a5aea704842294318d2
[ "BSD-2-Clause" ]
5
2022-01-10T20:22:17.000Z
2022-01-21T20:14:17.000Z
src/ui/a11y/lib/semantics/tests/semantic_tree_service_unittest.cc
fabio-d/fuchsia-stardock
e57f5d1cf015fe2294fc2a5aea704842294318d2
[ "BSD-2-Clause" ]
null
null
null
src/ui/a11y/lib/semantics/tests/semantic_tree_service_unittest.cc
fabio-d/fuchsia-stardock
e57f5d1cf015fe2294fc2a5aea704842294318d2
[ "BSD-2-Clause" ]
null
null
null
// Copyright 2019 The Fuchsia Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "src/ui/a11y/lib/semantics/semantic_tree_service.h" #include <fuchsia/accessibility/cpp/fidl.h> #include <fuchsia/sys/cpp/fidl.h> #include <lib/a...
36.221818
100
0.726333
[ "vector", "transform" ]
84d72c14993a809229831806640bdc7b3cdb6fdf
19,319
cpp
C++
src/realm/query_engine.cpp
Jahan87/realm-core
97c8e13da5b8a791a461932047a2771f5e88a7d8
[ "Apache-2.0" ]
null
null
null
src/realm/query_engine.cpp
Jahan87/realm-core
97c8e13da5b8a791a461932047a2771f5e88a7d8
[ "Apache-2.0" ]
null
null
null
src/realm/query_engine.cpp
Jahan87/realm-core
97c8e13da5b8a791a461932047a2771f5e88a7d8
[ "Apache-2.0" ]
null
null
null
/************************************************************************* * * Copyright 2016 Realm 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/lice...
33.023932
117
0.623635
[ "vector" ]
84db811f4ecd85290163ef47866a165722f954f8
8,289
cpp
C++
extensions/arduino/sensor/tcs3200/lib/MD_TCS230/src/MD_TCS230.cpp
Suku1989/external-resources
5d2b8fba60556d325cd31d29caa02508885910be
[ "MIT" ]
1
2019-12-27T09:41:37.000Z
2019-12-27T09:41:37.000Z
extensions/arduino/sensor/tcs3200/lib/MD_TCS230/src/MD_TCS230.cpp
Suku1989/external-resources
5d2b8fba60556d325cd31d29caa02508885910be
[ "MIT" ]
6
2022-03-08T04:11:48.000Z
2022-03-11T05:46:05.000Z
extensions/arduino/sensor/tcs3200/lib/MD_TCS230/src/MD_TCS230.cpp
Suku1989/external-resources
5d2b8fba60556d325cd31d29caa02508885910be
[ "MIT" ]
8
2022-01-19T18:15:39.000Z
2022-03-26T06:07:17.000Z
/* MD_TCS230.h - Arduino library for TCS230 Colour Sensor. Copyright (C) 2013 Marco Colli All rights reserved. See main header file for complete comments */ #include <MD_TCS230.h> /** * \file * \brief Main class definition file for the MD_TCS230 library */ #define DEBUG_TCS230 0 ///< Debug flag. Set to 1 to e...
23.025
96
0.617083
[ "object" ]
84de1e8884620ee993206a140831be428a7ca44d
8,616
cpp
C++
compiler/locop/src/FormattedGraph.cpp
wateret/ONE_private
9789c52633e665d2e10273d88d6f7970faa8aee9
[ "Apache-2.0" ]
null
null
null
compiler/locop/src/FormattedGraph.cpp
wateret/ONE_private
9789c52633e665d2e10273d88d6f7970faa8aee9
[ "Apache-2.0" ]
null
null
null
compiler/locop/src/FormattedGraph.cpp
wateret/ONE_private
9789c52633e665d2e10273d88d6f7970faa8aee9
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2019 Samsung Electronics Co., Ltd. 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...
22.035806
100
0.603296
[ "shape", "vector" ]
84df57d297dc431d66e407914e098fa558d7e45d
4,717
cpp
C++
modules/text/samples/text_recognition_cnn.cpp
Nondzu/opencv_contrib
0b0616a25d4239ee81fda965818b49b721620f56
[ "BSD-3-Clause" ]
7,158
2016-07-04T22:19:27.000Z
2022-03-31T07:54:32.000Z
modules/text/samples/text_recognition_cnn.cpp
Nondzu/opencv_contrib
0b0616a25d4239ee81fda965818b49b721620f56
[ "BSD-3-Clause" ]
2,184
2016-07-05T12:04:14.000Z
2022-03-30T19:10:12.000Z
modules/text/samples/text_recognition_cnn.cpp
Nondzu/opencv_contrib
0b0616a25d4239ee81fda965818b49b721620f56
[ "BSD-3-Clause" ]
5,535
2016-07-06T12:01:10.000Z
2022-03-31T03:13:24.000Z
#include <opencv2/text.hpp> #include <opencv2/highgui.hpp> #include <opencv2/imgproc.hpp> #include <opencv2/dnn.hpp> #include <iostream> #include <fstream> using namespace cv; using namespace std; namespace { void printHelpStr(const string& progFname) { cout << " Demo of text recognition CNN for text detecti...
38.349593
136
0.636845
[ "vector", "model" ]
84eca8a4dd9c8a00cbc43f890e96afad882d827b
18,899
cpp
C++
Tut 14 Textures Are Not Pictures/Material Texture.cpp
bluesrv/LM3DGP-Tutorial
5ae98629cf4e6ed62a81a8f48f6948551ba49d20
[ "MIT" ]
null
null
null
Tut 14 Textures Are Not Pictures/Material Texture.cpp
bluesrv/LM3DGP-Tutorial
5ae98629cf4e6ed62a81a8f48f6948551ba49d20
[ "MIT" ]
null
null
null
Tut 14 Textures Are Not Pictures/Material Texture.cpp
bluesrv/LM3DGP-Tutorial
5ae98629cf4e6ed62a81a8f48f6948551ba49d20
[ "MIT" ]
null
null
null
//Copyright (C) 2010-2012 by Jason L. McKesson //This file is licensed under the MIT License. #include <string> #include <vector> #include <stack> #include <memory> #include <math.h> #include <stdio.h> #include <glload/gl_3_3.h> #include <glimg/glimg.h> #include <glutil/glutil.h> #include <glimg/ImageCre...
29.120185
146
0.725224
[ "mesh", "render", "object", "vector" ]
84ede4bb66b52395dff4a4b1b05d25b69cfea8de
2,487
hpp
C++
Calculator.hpp
Florinacho/PocketCalculator
1bd8e93e9f69bb21825c0b0d0e6ba03129f49e24
[ "MIT" ]
null
null
null
Calculator.hpp
Florinacho/PocketCalculator
1bd8e93e9f69bb21825c0b0d0e6ba03129f49e24
[ "MIT" ]
null
null
null
Calculator.hpp
Florinacho/PocketCalculator
1bd8e93e9f69bb21825c0b0d0e6ba03129f49e24
[ "MIT" ]
null
null
null
#ifndef __CALCULATOR_HPP__ #define __CALCULATOR_HPP__ #include <string> #include <vector> struct Token { enum TokenType { END_OF_STREAM, UNKNOWN, LEFT_PARENTHESIS, RIGHT_PARENTHESIS, NUMBER, IDENTIFIER, OPERATOR_COMMA, OPERATOR_ASSIGN, OPERATOR_EQUAL, OPERATOR_LEQ, OPERATOR_LTN, OPERATOR_...
18.699248
128
0.721753
[ "vector" ]
84ee3e8966736d2c1b5723e510719cc7e576358e
344
cpp
C++
Online-Judge-Solution/HackerRank Solutions/C++/Functions.cpp
arifparvez14/Basic-and-competetive-programming
4cb9ee7fbed3c70307d0f63499fcede86ed3c732
[ "MIT" ]
null
null
null
Online-Judge-Solution/HackerRank Solutions/C++/Functions.cpp
arifparvez14/Basic-and-competetive-programming
4cb9ee7fbed3c70307d0f63499fcede86ed3c732
[ "MIT" ]
null
null
null
Online-Judge-Solution/HackerRank Solutions/C++/Functions.cpp
arifparvez14/Basic-and-competetive-programming
4cb9ee7fbed3c70307d0f63499fcede86ed3c732
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; int maxFunction(int a,int b,int c,int d) { vector<int>v; v.push_back(a); v.push_back(b); v.push_back(c); v.push_back(d); sort(v.begin(),v.end()); return v[3]; } int main() { int a,b,c,d,e; cin>>a>>b>>c>>d; e=maxFunction(a,b,c,d); c...
16.380952
40
0.549419
[ "vector" ]
84ef45c546af05411ea9144e6d6582c3afa6a302
946
hpp
C++
lib/packager/BondSplicer.hpp
lulululululu/cpp_client_telemetry
211acc586225d3f030fbf8bee016c4ab48e1c96a
[ "Apache-2.0" ]
1
2021-07-06T14:05:20.000Z
2021-07-06T14:05:20.000Z
lib/packager/BondSplicer.hpp
lulululululu/cpp_client_telemetry
211acc586225d3f030fbf8bee016c4ab48e1c96a
[ "Apache-2.0" ]
1
2021-03-03T11:37:10.000Z
2021-03-03T11:37:10.000Z
lib/packager/BondSplicer.hpp
isabella232/cpp_client_telemetry
46a7d65089799c216207ae4758980158affced47
[ "Apache-2.0" ]
null
null
null
// // Copyright (c) 2015-2020 Microsoft Corporation and Contributors. // SPDX-License-Identifier: Apache-2.0 // #ifndef BONDSPLICER_HPP #define BONDSPLICER_HPP #include "pal/PAL.hpp" #include "DataPackage.hpp" #include "ISplicer.hpp" #include <list> #include <vector> namespace MAT_NS_BEGIN { class BondSplicer : pu...
22
93
0.713531
[ "vector" ]
84f4c17579eac374da407fa19c742ac3fa74bd28
15,564
hpp
C++
contracts/eosio.system/eosio.system.hpp
ElementhFoundation/blockchain
5f63038c0e6fc90bc4bc0bc576410087785d8099
[ "MIT" ]
1
2018-05-16T07:04:50.000Z
2018-05-16T07:04:50.000Z
contracts/eosio.system/eosio.system.hpp
ElementhFoundation/blockchain
5f63038c0e6fc90bc4bc0bc576410087785d8099
[ "MIT" ]
null
null
null
contracts/eosio.system/eosio.system.hpp
ElementhFoundation/blockchain
5f63038c0e6fc90bc4bc0bc576410087785d8099
[ "MIT" ]
null
null
null
/** * @file * @copyright defined in eos/LICENSE.txt */ #include <eosiolib/eosio.hpp> #include <eosiolib/token.hpp> #include <eosiolib/db.hpp> #include <eosiolib/reflect.hpp> #include <eosiolib/print.hpp> #include <eosiolib/generic_currency.hpp> #include <eosiolib/datastream.hpp> #include <eosiolib/serialize.hpp> ...
38.620347
145
0.575238
[ "object", "vector" ]
84f63298ac985d440c7ced2ada39dd4ecbed8f89
18,072
cpp
C++
TTVS/HeadMovement.cpp
thuhcsi/Crystal.TTVS
9e6c86566bfacf4fc571ad7b1308bcb7382bb213
[ "Apache-2.0" ]
75
2020-08-18T03:27:13.000Z
2022-01-05T13:17:50.000Z
TTVS/HeadMovement.cpp
thuhcsi/Crystal.TTVS
9e6c86566bfacf4fc571ad7b1308bcb7382bb213
[ "Apache-2.0" ]
1
2020-11-11T09:31:06.000Z
2020-11-19T14:44:41.000Z
TTVS/HeadMovement.cpp
thuhcsi/Crystal.TTVS
9e6c86566bfacf4fc571ad7b1308bcb7382bb213
[ "Apache-2.0" ]
10
2020-08-18T04:35:29.000Z
2021-09-09T01:41:23.000Z
// Natural Head movement synthesis for Talking Avatar // Author: ShenZHANG // Date: 2007/10/09 // input1: PAD stream(for each Prosodic Word) // input2: Tone stream (for each syllable 0,1,2,3,4) // input3: Stress stream (for each syllable 0,1) // (input4): Syllable stream (pinyin,just used for viseme generation) //...
36.657201
162
0.442784
[ "vector" ]
ebc98891e19d8266e3d41dc2f7e080eeb9526fcb
17,398
ipp
C++
implement/eglplus/enums/config_attrib_class.ipp
jnbrq/oglplus
2e072e91292643e0871565ae5147584403846290
[ "BSL-1.0" ]
null
null
null
implement/eglplus/enums/config_attrib_class.ipp
jnbrq/oglplus
2e072e91292643e0871565ae5147584403846290
[ "BSL-1.0" ]
null
null
null
implement/eglplus/enums/config_attrib_class.ipp
jnbrq/oglplus
2e072e91292643e0871565ae5147584403846290
[ "BSL-1.0" ]
null
null
null
// File implement/eglplus/enums/config_attrib_class.ipp // // Automatically generated file, DO NOT modify manually. // Edit the source 'source/enums/eglplus/config_attrib.txt' // or the 'source/enums/make_enum.py' script instead. // // Copyright 2010-2017 Matus Chochlik. // Distributed under the Boost Software Li...
25.967164
70
0.778653
[ "transform" ]
ebcd0a91698f73e82058c7b8d7504d76c8349fc6
20,171
cpp
C++
tests/Unit/Evolution/Systems/Cce/Test_InitializeCce.cpp
kidder/spectre
97ae95f72320f9f67895d3303824e64de6fd9077
[ "MIT" ]
117
2017-04-08T22:52:48.000Z
2022-03-25T07:23:36.000Z
tests/Unit/Evolution/Systems/Cce/Test_InitializeCce.cpp
GitHimanshuc/spectre
4de4033ba36547113293fe4dbdd77591485a4aee
[ "MIT" ]
3,177
2017-04-07T21:10:18.000Z
2022-03-31T23:55:59.000Z
tests/Unit/Evolution/Systems/Cce/Test_InitializeCce.cpp
geoffrey4444/spectre
9350d61830b360e2d5b273fdd176dcc841dbefb0
[ "MIT" ]
85
2017-04-07T19:36:13.000Z
2022-03-01T10:21:00.000Z
// Distributed under the MIT License. // See LICENSE.txt for details. #include "Framework/TestingFramework.hpp" #include <cstddef> #include <limits> #include "DataStructures/DataBox/DataBox.hpp" #include "DataStructures/SpinWeighted.hpp" #include "DataStructures/Variables.hpp" #include "Evolution/Systems/Cce/GaugeTr...
46.909302
80
0.70993
[ "mesh" ]
ebd3363fc58c83e3118969e140db3850845205b2
3,018
hpp
C++
src/hotspot/share/opto/replacednodes.hpp
siweilxy/openjdkstudy
8597674ec1d6809faf55cbee1f45f4e9149d670d
[ "Apache-2.0" ]
1
2020-12-26T04:52:15.000Z
2020-12-26T04:52:15.000Z
src/hotspot/share/opto/replacednodes.hpp
siweilxy/openjdkstudy
8597674ec1d6809faf55cbee1f45f4e9149d670d
[ "Apache-2.0" ]
1
2020-12-26T04:57:19.000Z
2020-12-26T04:57:19.000Z
src/hotspot/share/opto/replacednodes.hpp
siweilxy/openjdkstudy
8597674ec1d6809faf55cbee1f45f4e9149d670d
[ "Apache-2.0" ]
1
2021-12-06T01:13:18.000Z
2021-12-06T01:13:18.000Z
/* * Copyright (c) 2014, 2019, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
36.804878
91
0.734924
[ "object" ]
ebd7cd0ee9d4279143ec844a40911a93d8f6a3fa
58,804
cpp
C++
src/nc/core/ir/cgen/DefinitionGenerator.cpp
treadstoneproject/tracethreat_nrml
bcf666b01c20f7da4234fed018dad3b2cf4d3d28
[ "Apache-2.0" ]
6
2016-09-06T02:10:08.000Z
2021-01-19T09:02:04.000Z
src/nc/core/ir/cgen/DefinitionGenerator.cpp
treadstoneproject/tracethreat_nrml
bcf666b01c20f7da4234fed018dad3b2cf4d3d28
[ "Apache-2.0" ]
null
null
null
src/nc/core/ir/cgen/DefinitionGenerator.cpp
treadstoneproject/tracethreat_nrml
bcf666b01c20f7da4234fed018dad3b2cf4d3d28
[ "Apache-2.0" ]
6
2015-10-02T14:11:45.000Z
2021-01-19T09:02:07.000Z
/* The file is part of Snowman decompiler. */ /* See doc/licenses.asciidoc for the licensing information. */ // // SmartDec decompiler - SmartDec is a native code to C/C++ decompiler // Copyright (C) 2015 Alexander Chernov, Katerina Troshina, Yegor Derevenets, // Alexander Fokin, Sergey Levin, Leonid Tsvetkov // // Th...
43.143067
217
0.572988
[ "vector" ]
ebd9e2b172955d04b8f93c8ac81e324a91eac6aa
7,789
cpp
C++
vsearch/metadata_set.cpp
xjdr/VectorSearch
ab2c14c8f49d840a69ee1c93ec2c334704f59153
[ "MIT" ]
null
null
null
vsearch/metadata_set.cpp
xjdr/VectorSearch
ab2c14c8f49d840a69ee1c93ec2c334704f59153
[ "MIT" ]
null
null
null
vsearch/metadata_set.cpp
xjdr/VectorSearch
ab2c14c8f49d840a69ee1c93ec2c334704f59153
[ "MIT" ]
null
null
null
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #include "metadata_set.h" #include <fstream> #include <iostream> using namespace vsearch; ErrorCode MetadataSet::RefineMetadata(std::vector<int>& indices, const std::string& p_folder...
34.464602
79
0.637951
[ "vector" ]
ebda786b578740f421ec99e2c3a1ab0449b3274d
5,914
hh
C++
src/sim/voltage_domain.hh
fei-shan/gem5-experiment
70781db30d42b1fe50e495bd04f7755a4b0e0e59
[ "BSD-3-Clause" ]
2
2021-01-15T17:32:18.000Z
2021-12-21T02:53:58.000Z
src/sim/voltage_domain.hh
fei-shan/gem5-experiment
70781db30d42b1fe50e495bd04f7755a4b0e0e59
[ "BSD-3-Clause" ]
3
2021-03-26T20:33:59.000Z
2022-01-24T22:54:03.000Z
src/sim/voltage_domain.hh
fei-shan/gem5-experiment
70781db30d42b1fe50e495bd04f7755a4b0e0e59
[ "BSD-3-Clause" ]
3
2021-03-27T16:36:19.000Z
2022-03-28T18:32:57.000Z
/* * Copyright (c) 2012, 2019 ARM Limited * All rights reserved * * The license below extends only to copyright in the software and shall * not be construed as granting a license to any other intellectual * property including but not limited to intellectual property relating * to a hardware implementation of the...
36.9625
79
0.713054
[ "vector" ]
ebe344da194acbdf913443a4748afaa186ea89ac
5,443
hpp
C++
include/System/Runtime/Remoting/TypeInfo.hpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
null
null
null
include/System/Runtime/Remoting/TypeInfo.hpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
null
null
null
include/System/Runtime/Remoting/TypeInfo.hpp
v0idp/virtuoso-codegen
6f560f04822c67f092d438a3f484249072c1d21d
[ "Unlicense" ]
1
2022-03-30T21:07:35.000Z
2022-03-30T21:07:35.000Z
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "beatsaber-hook/shared/utils/typedefs.h" #include "beatsaber-hook/shared/utils/byref.hpp" // Including type: System.Runtime.Remoting.IRemotingTy...
49.036036
201
0.721661
[ "object", "vector" ]
ebe78631b1f29b4be6738772989325c98f48eb6e
1,051
hpp
C++
include/bulk/util/meta_helpers.hpp
SdeBerg/Bulk
31fec4c80271d4cf600483e428a4c780fb129a37
[ "MIT" ]
null
null
null
include/bulk/util/meta_helpers.hpp
SdeBerg/Bulk
31fec4c80271d4cf600483e428a4c780fb129a37
[ "MIT" ]
null
null
null
include/bulk/util/meta_helpers.hpp
SdeBerg/Bulk
31fec4c80271d4cf600483e428a4c780fb129a37
[ "MIT" ]
null
null
null
#pragma once #include <type_traits> #include <utility> #include <vector> namespace bulk::meta { template <typename T> struct representation { static_assert(std::is_trivially_copyable<T>::value, "Only trivially copyable types are supported as `T` for " "distributed variables an...
22.847826
76
0.680304
[ "vector" ]
ebe9c137e86f7f7732fd8cb9e176da9d0bb8cd5c
9,127
cxx
C++
Filters/Core/vtkCellCenters.cxx
LongerVisionUSA/VTK
1170774b6611c71b95c28bb821d51c2c18ff091f
[ "BSD-3-Clause" ]
null
null
null
Filters/Core/vtkCellCenters.cxx
LongerVisionUSA/VTK
1170774b6611c71b95c28bb821d51c2c18ff091f
[ "BSD-3-Clause" ]
null
null
null
Filters/Core/vtkCellCenters.cxx
LongerVisionUSA/VTK
1170774b6611c71b95c28bb821d51c2c18ff091f
[ "BSD-3-Clause" ]
null
null
null
/*========================================================================= Program: Visualization Toolkit Module: vtkCellCenters.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This software i...
28.34472
95
0.638326
[ "vector" ]
ebea041a55278ff735e391ed7baeb0538ee8f81d
14,765
cpp
C++
cpp/plugins/cucim.kit.cumed/src/cumed/cumed.cpp
aasthajh/cucim
a95cc5c4ab25beffeac42d642dea8cb1bbf21408
[ "Apache-2.0" ]
131
2021-04-09T19:02:10.000Z
2022-03-25T08:49:11.000Z
cpp/plugins/cucim.kit.cumed/src/cumed/cumed.cpp
aasthajh/cucim
a95cc5c4ab25beffeac42d642dea8cb1bbf21408
[ "Apache-2.0" ]
222
2021-04-12T07:15:14.000Z
2022-03-31T20:01:01.000Z
cpp/plugins/cucim.kit.cumed/src/cumed/cumed.cpp
aasthajh/cucim
a95cc5c4ab25beffeac42d642dea8cb1bbf21408
[ "Apache-2.0" ]
34
2021-04-09T18:54:13.000Z
2022-03-29T12:59:26.000Z
/* * Copyright (c) 2021, NVIDIA 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://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
35.154762
118
0.660549
[ "object", "shape", "vector", "3d" ]
ebeb264c3720fd97c395cf909832434b8d318049
25,319
cc
C++
components/autofill_assistant/browser/user_data_util.cc
Yannic/chromium
ab32e8aacb08c9fce0dc4bf09eec456ba46e3710
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
components/autofill_assistant/browser/user_data_util.cc
Yannic/chromium
ab32e8aacb08c9fce0dc4bf09eec456ba46e3710
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2019-03-13T10:32:53.000Z
2019-03-13T11:05:30.000Z
components/autofill_assistant/browser/user_data_util.cc
Yannic/chromium
ab32e8aacb08c9fce0dc4bf09eec456ba46e3710
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2019 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 "components/autofill_assistant/browser/user_data_util.h" #include <map> #include <numeric> #include "base/callback.h" #include "base/i18n/case_...
39.254264
85
0.70295
[ "vector", "model" ]
ebf6323e4e43d16b20818f32b1b440f7a365dc5d
18,010
cpp
C++
MoravaEngine/src/Scene/Scene.cpp
dtrajko/MoravaEngine
dab8a9e84bde6bdb5e979596c29cabccb566b9d4
[ "Apache-2.0" ]
168
2020-07-18T04:20:27.000Z
2022-03-31T23:39:38.000Z
MoravaEngine/src/Scene/Scene.cpp
dtrajko/MoravaEngine
dab8a9e84bde6bdb5e979596c29cabccb566b9d4
[ "Apache-2.0" ]
5
2020-11-23T12:33:06.000Z
2022-01-05T15:15:30.000Z
MoravaEngine/src/Scene/Scene.cpp
dtrajko/MoravaEngine
dab8a9e84bde6bdb5e979596c29cabccb566b9d4
[ "Apache-2.0" ]
8
2020-09-07T03:04:18.000Z
2022-03-25T13:47:16.000Z
#define _CRT_SECURE_NO_WARNINGS #include "Scene/Scene.h" #include "Hazel/Events/ApplicationEvent.h" #include "Hazel/Scene/Components.h" #include "Core/Application.h" #include "Mesh/MeshData.h" #include "Mesh/Tile2D.h" #include "Texture/TextureLoader.h" #include "Core/Timer.h" #include "Core/Input.h" #include "Core/M...
38.15678
347
0.728984
[ "mesh", "render", "model" ]
ebfa5ddb1bf6b803f7057ce0e6743bf656646ee7
15,489
cpp
C++
src/nosuch/NosuchUtil.cpp
nosuchtim/MMTT1
83f93c2aa333a7ec3d57c1da7d6c5372718eabe2
[ "MIT" ]
null
null
null
src/nosuch/NosuchUtil.cpp
nosuchtim/MMTT1
83f93c2aa333a7ec3d57c1da7d6c5372718eabe2
[ "MIT" ]
null
null
null
src/nosuch/NosuchUtil.cpp
nosuchtim/MMTT1
83f93c2aa333a7ec3d57c1da7d6c5372718eabe2
[ "MIT" ]
null
null
null
/* Space Manifold - a variety of tools for Kinect and FreeFrame Copyright (c) 2011-2012 Tim Thompson <me@timthompson.com> 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,...
28.951402
124
0.58138
[ "vector" ]
230947407d1f0c34b610eac641e32ee1019d26da
11,155
cc
C++
src/PluginLoader.cc
vatanaksoytezer/ign-common
d73921557ce8e0747daa878e42070a43344557ec
[ "ECL-2.0", "Apache-2.0" ]
10
2020-04-15T16:58:39.000Z
2021-09-13T01:50:07.000Z
src/PluginLoader.cc
vatanaksoytezer/ign-common
d73921557ce8e0747daa878e42070a43344557ec
[ "ECL-2.0", "Apache-2.0" ]
255
2020-04-17T22:25:00.000Z
2022-03-31T23:58:50.000Z
src/PluginLoader.cc
vatanaksoytezer/ign-common
d73921557ce8e0747daa878e42070a43344557ec
[ "ECL-2.0", "Apache-2.0" ]
19
2020-05-21T09:01:59.000Z
2021-11-29T20:24:04.000Z
/* * Copyright (C) 2017 Open Source Robotics Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
35.078616
80
0.571582
[ "vector" ]
230ee0fe3ccdc8738fb08d54c31dcfa6ddcfa853
8,062
hpp
C++
include/teresa_wsbs/common.hpp
robotics-upo/teresa-wsbs
6cafdc508bfbd1f2984753408b466d46aded4473
[ "BSD-3-Clause" ]
1
2020-04-16T01:20:10.000Z
2020-04-16T01:20:10.000Z
include/teresa_wsbs/common.hpp
robotics-upo/teresa-wsbs
6cafdc508bfbd1f2984753408b466d46aded4473
[ "BSD-3-Clause" ]
2
2020-04-16T01:20:02.000Z
2021-03-18T15:08:14.000Z
include/teresa_wsbs/common.hpp
robotics-upo/teresa-wsbs
6cafdc508bfbd1f2984753408b466d46aded4473
[ "BSD-3-Clause" ]
2
2019-11-21T13:30:12.000Z
2021-02-15T10:21:58.000Z
#ifndef _COMMON_HPP_ #define _COMMON_HPP_ #include <tinyxml.h> #include <tf/transform_listener.h> #include <lightsfm/vector2d.hpp> #include <lightsfm/astar.hpp> #include <lightsfm/sfm.hpp> namespace wsbs { class TfListener { public: TfListener(TfListener const&) = delete; void operator=(TfListener const&) = delete...
24.806154
193
0.7064
[ "vector" ]
2317a5f46e59b3d33226d7fb7559567a1ab9e5fc
1,040
cpp
C++
AtCoder/ABC/ABC-087/SolveD.cpp
MonadicDavidHuang/CompetitiveProgramming
b5b6f39a1be05d257f8ea8e504dd910cc624b153
[ "MIT" ]
null
null
null
AtCoder/ABC/ABC-087/SolveD.cpp
MonadicDavidHuang/CompetitiveProgramming
b5b6f39a1be05d257f8ea8e504dd910cc624b153
[ "MIT" ]
null
null
null
AtCoder/ABC/ABC-087/SolveD.cpp
MonadicDavidHuang/CompetitiveProgramming
b5b6f39a1be05d257f8ea8e504dd910cc624b153
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; using ll = long long int; const int MAX = (int)(1e5 + 5); const ll INF = (ll)(1e10 + 5); const int MAX_N = (int)(1e5 + 5); int n, m; vector<vector<pair<int, ll>>> graph(MAX_N); ll pos[MAX_N]; bool visited[MAX_N]; bool check(int node, ll suppose) { if (visited[node])...
16.774194
49
0.523077
[ "vector" ]
231f60dcac0b3821e074377ef5f6731269c0e170
348
cpp
C++
test/Geometric_is_convex.test.cpp
yuruhi/library
fecbd92ec6c6997d50bf954c472ac4bfeff74de5
[ "Apache-2.0" ]
null
null
null
test/Geometric_is_convex.test.cpp
yuruhi/library
fecbd92ec6c6997d50bf954c472ac4bfeff74de5
[ "Apache-2.0" ]
6
2021-01-05T07:39:05.000Z
2021-01-05T07:44:31.000Z
test/Geometric_is_convex.test.cpp
yuruhi/library
fecbd92ec6c6997d50bf954c472ac4bfeff74de5
[ "Apache-2.0" ]
null
null
null
#define PROBLEM "https://onlinejudge.u-aizu.ac.jp/courses/library/4/CGL/all/CGL_3_B" #include "./../Geometry/Polygon.hpp" #include "./../Geometry/Geometric.cpp" #include <iostream> using namespace std; int main() { int n; cin >> n; vector<Geometric::Vec2> p(n); for (auto& i : p) cin >> i; cout << Geometric::Polyg...
26.769231
84
0.66954
[ "geometry", "vector" ]
23245a5aa436bb4fbeb3d5f0847007635a18bf3e
2,854
cpp
C++
src/mpi/interface/c/matrix/vector_comm.cpp
jgurhem/TBSLA
ef4e14fe033f179e1accdea09813962322431b88
[ "MIT" ]
null
null
null
src/mpi/interface/c/matrix/vector_comm.cpp
jgurhem/TBSLA
ef4e14fe033f179e1accdea09813962322431b88
[ "MIT" ]
null
null
null
src/mpi/interface/c/matrix/vector_comm.cpp
jgurhem/TBSLA
ef4e14fe033f179e1accdea09813962322431b88
[ "MIT" ]
null
null
null
#include <tbsla/cpp/Vector.h> #include <tbsla/cpp/utils/range.hpp> #include <tbsla/mpi/vector_comm.h> #include <vector> #include <iostream> C_CPP_Vector_t *C_MPI_allgatherv(MPI_Comm comm, C_CPP_Vector_t *v, int bn_row, int lgr) { std::cout << "bnrow: " << bn_row << "; lgr: " << lgr << std::endl; C_CPP_Vector_t *r ...
32.431818
131
0.652418
[ "vector" ]
2324d5b47df90cc568694679087a731d7df68c26
29,679
cpp
C++
src/gui/p4api/P4Command.cpp
jtilander/niftyp4win
457e2973e3b5c109d76138c5032c486f18276910
[ "BSD-2-Clause" ]
3
2016-09-09T01:57:01.000Z
2021-05-14T22:38:32.000Z
src/gui/p4api/P4Command.cpp
jtilander/niftyp4win
457e2973e3b5c109d76138c5032c486f18276910
[ "BSD-2-Clause" ]
null
null
null
src/gui/p4api/P4Command.cpp
jtilander/niftyp4win
457e2973e3b5c109d76138c5032c486f18276910
[ "BSD-2-Clause" ]
null
null
null
// // Copyright 1997 Nicholas J. Irias. All rights reserved. // // // Class CP4Command - an async wrapper for P4 commands #include "stdafx.h" #define TRACE_HERE #include "P4Win.h" #include "p4command.h" #include "getpwddlg.h" #include "mainfrm.h" #include "GuiClientUser.h" #include "Cmd_Login.h" #incl...
28.620058
118
0.62337
[ "object" ]
2325736aa5eebe68909b692674d45a903d3cdb56
649
cpp
C++
DP/palindrome_partition.cpp
aneesh001/InterviewBit
fcbac096fd8e9554a52db10dc9e5a88cb8a83ef3
[ "MIT" ]
null
null
null
DP/palindrome_partition.cpp
aneesh001/InterviewBit
fcbac096fd8e9554a52db10dc9e5a88cb8a83ef3
[ "MIT" ]
null
null
null
DP/palindrome_partition.cpp
aneesh001/InterviewBit
fcbac096fd8e9554a52db10dc9e5a88cb8a83ef3
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; bool is_pal(const string &s, int i, int j) { int low = i; int high = j; while(low < high) { if(s[low] != s[high]) { return false; } low++; high--; } return true; } int minCut(string A) { int n = A.size(); vector<int> dp(n + 1, INT_MAX); dp[0] = 0; f...
14.108696
44
0.485362
[ "vector" ]
23267859f4d7bec6fdaa761a95b9852ced6ea134
7,998
cc
C++
src/yb/encryption/encryption_util.cc
polarweasel/yugabyte-db
9064eca9dc35769cf6b034e537ee42efed03c47d
[ "Apache-2.0", "CC0-1.0" ]
4
2019-07-19T12:55:40.000Z
2021-03-25T15:59:09.000Z
src/yb/encryption/encryption_util.cc
00mjk/yugabyte-db
968b5229a736acc0c30bfabaf9f535fa60c3e878
[ "Apache-2.0", "CC0-1.0" ]
null
null
null
src/yb/encryption/encryption_util.cc
00mjk/yugabyte-db
968b5229a736acc0c30bfabaf9f535fa60c3e878
[ "Apache-2.0", "CC0-1.0" ]
1
2021-08-23T10:06:40.000Z
2021-08-23T10:06:40.000Z
// Copyright (c) YugaByte, 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 writ...
37.549296
100
0.729932
[ "vector" ]
232a3d1224a858c36131ae7bebc54cccc93c94e3
1,301
cpp
C++
InsertDeleteGetRandomO(1).cpp
yplusplus/LeetCode
122bd31b291af1e97ee4e9349a8e65bba6e04c96
[ "MIT" ]
3
2017-11-27T03:01:50.000Z
2021-03-13T08:14:00.000Z
InsertDeleteGetRandomO(1).cpp
yplusplus/LeetCode
122bd31b291af1e97ee4e9349a8e65bba6e04c96
[ "MIT" ]
null
null
null
InsertDeleteGetRandomO(1).cpp
yplusplus/LeetCode
122bd31b291af1e97ee4e9349a8e65bba6e04c96
[ "MIT" ]
null
null
null
class RandomizedSet { public: /** Initialize your data structure here. */ RandomizedSet() { } /** Inserts a value to the set. Returns true if the set did not already contain the specified element. */ bool insert(int val) { if (hash_table_.count(val)) return false; hash_...
28.911111
109
0.588778
[ "object", "vector" ]
232f3ad8accd39ef9360e3d9d4541454986171d8
1,908
cpp
C++
Failed/failed-1251A.cpp
fahimfarhan/legendary-coding-odyssey
55289e05aa04f866201c607bed00c505cd9c4df9
[ "MIT" ]
3
2019-07-20T07:26:31.000Z
2020-08-06T09:31:09.000Z
Failed/failed-1251A.cpp
fahimfarhan/legendary-coding-odyssey
55289e05aa04f866201c607bed00c505cd9c4df9
[ "MIT" ]
null
null
null
Failed/failed-1251A.cpp
fahimfarhan/legendary-coding-odyssey
55289e05aa04f866201c607bed00c505cd9c4df9
[ "MIT" ]
4
2019-06-20T18:43:32.000Z
2020-10-07T16:45:23.000Z
/* Author : Qazi Fahim Farhan (@fahimfarhan) */ /* May the CodeForces be with you! */ #include <bits/stdc++.h> using namespace std; #define PI 2*acos(0) //typedef long long int ll; #define ll long long int // other popular ones=> int64_t, uint64_t => use for 10^18 ll MODULO = 1e9+7; bool myAssert(bool b); void te...
22.714286
89
0.509434
[ "vector" ]
2334a1b57f29ec20f49b919d2149d1b7e8001f00
4,711
cpp
C++
Source/JavaScriptCore/API/glib/JSAPIWrapperObjectGLib.cpp
jacadcaps/webkitty
9aebd2081349f9a7b5d168673c6f676a1450a66d
[ "BSD-2-Clause" ]
6
2021-07-05T16:09:39.000Z
2022-03-06T22:44:42.000Z
Source/JavaScriptCore/API/glib/JSAPIWrapperObjectGLib.cpp
jacadcaps/webkitty
9aebd2081349f9a7b5d168673c6f676a1450a66d
[ "BSD-2-Clause" ]
7
2022-03-15T13:25:39.000Z
2022-03-15T13:25:44.000Z
Source/JavaScriptCore/API/glib/JSAPIWrapperObjectGLib.cpp
jacadcaps/webkitty
9aebd2081349f9a7b5d168673c6f676a1450a66d
[ "BSD-2-Clause" ]
null
null
null
/* * Copyright (C) 2018 Igalia S.L. * Copyright (C) 2013-2018 Apple 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: * 1. Redistributions of source code must retain the above copyright ...
40.612069
172
0.762259
[ "object" ]
233d71a19068769286ee9790eb29e2adb3236bd2
1,713
hpp
C++
include/statement.hpp
wyk9787/G-compiler
dcdd3f7a5f80cd7dc1e28c74bbe3a84ace1dd7ab
[ "MIT" ]
null
null
null
include/statement.hpp
wyk9787/G-compiler
dcdd3f7a5f80cd7dc1e28c74bbe3a84ace1dd7ab
[ "MIT" ]
null
null
null
include/statement.hpp
wyk9787/G-compiler
dcdd3f7a5f80cd7dc1e28c74bbe3a84ace1dd7ab
[ "MIT" ]
null
null
null
#ifndef STATEMENT_HPP #define STATEMENT_HPP #include <string> #include <vector> #include "c_expression.hpp" #include "c_type.hpp" class Stmt { public: virtual std::string string_of_stmt() = 0; }; class SDecl : public Stmt { private: std::string name; ctyp::Shared_Typ t; cexp::Shared_Exp e; public: SDec...
17.659794
69
0.692936
[ "vector" ]
233f85b1423e880b582197947c128217e886ea05
7,556
cpp
C++
dbbrain/src/v20191016/model/DescribeDBDiagReportTasksRequest.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
43
2019-08-14T08:14:12.000Z
2022-03-30T12:35:09.000Z
dbbrain/src/v20191016/model/DescribeDBDiagReportTasksRequest.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
12
2019-07-15T10:44:59.000Z
2021-11-02T12:35:00.000Z
dbbrain/src/v20191016/model/DescribeDBDiagReportTasksRequest.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
28
2019-07-12T09:06:22.000Z
2022-03-30T08:04:18.000Z
/* * Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 ...
26.985714
104
0.721281
[ "vector", "model" ]
23427eeb822b6811329b5db0f46e35dcdda4b3b4
19,273
cc
C++
components/omnibox/common/omnibox_features.cc
mghgroup/Glide-Browser
6a4c1eaa6632ec55014fee87781c6bbbb92a2af5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
components/omnibox/common/omnibox_features.cc
mghgroup/Glide-Browser
6a4c1eaa6632ec55014fee87781c6bbbb92a2af5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
components/omnibox/common/omnibox_features.cc
mghgroup/Glide-Browser
6a4c1eaa6632ec55014fee87781c6bbbb92a2af5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2021-01-05T23:43:46.000Z
2021-01-07T23:36:34.000Z
// Copyright 2019 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 "components/omnibox/common/omnibox_features.h" #include "build/build_config.h" namespace omnibox { const auto enabled_by_default_desktop_only ...
46.892944
80
0.775074
[ "render", "model" ]
2343f887a683d812e4989b96b056d37b1cfccf45
1,867
cpp
C++
main/maximal-square/maximal-square.cpp
EliahKagan/old-practice-snapshot
1b53897eac6902f8d867c8f154ce2a489abb8133
[ "0BSD" ]
null
null
null
main/maximal-square/maximal-square.cpp
EliahKagan/old-practice-snapshot
1b53897eac6902f8d867c8f154ce2a489abb8133
[ "0BSD" ]
null
null
null
main/maximal-square/maximal-square.cpp
EliahKagan/old-practice-snapshot
1b53897eac6902f8d867c8f154ce2a489abb8133
[ "0BSD" ]
null
null
null
class Solution { public: static int maximalSquare(const vector<vector<char>>& matrix); }; namespace { vector<vector<int>> make_grid(const int height, const int width) { return vector<vector<int>>(height, vector<int>(width)); } } int Solution::maximalSquare(const vector<vector<char>>& matrix) {...
29.634921
68
0.476165
[ "vector" ]
234554d697507aeabb1473dbbfb7f0599dcf0f65
8,271
cpp
C++
ev_apps/tls_client/tls_client.cpp
shpal2000/tlspack
37fa976f55df452745ee4e2dfcdba86facdb2529
[ "MIT" ]
null
null
null
ev_apps/tls_client/tls_client.cpp
shpal2000/tlspack
37fa976f55df452745ee4e2dfcdba86facdb2529
[ "MIT" ]
null
null
null
ev_apps/tls_client/tls_client.cpp
shpal2000/tlspack
37fa976f55df452745ee4e2dfcdba86facdb2529
[ "MIT" ]
null
null
null
#include "tls_client.hpp" tls_client_app::tls_client_app(json app_json , tls_client_stats* zone_app_stats , ev_sockstats* zone_sock_stats) { client_config_init (app_json); m_app_stats = new tls_client_stats(); auto cs_grp_list = app_json["cs_grp_list"]; m_cs_gr...
31.329545
99
0.571636
[ "vector" ]
2345bc6d1610ba6523c368a723a49d87bc0d2fbb
12,386
cpp
C++
src/script/standard.cpp
commerceblock/elements
7c11ad9caf541e94e6100a9daae100efe1fbc85c
[ "MIT" ]
11
2018-05-04T17:29:53.000Z
2020-08-08T22:03:59.000Z
src/script/standard.cpp
commerceblock/elements
7c11ad9caf541e94e6100a9daae100efe1fbc85c
[ "MIT" ]
160
2018-04-20T16:45:33.000Z
2021-02-20T15:17:10.000Z
src/script/standard.cpp
commerceblock/elements
7c11ad9caf541e94e6100a9daae100efe1fbc85c
[ "MIT" ]
3
2019-03-28T06:44:24.000Z
2020-01-22T20:27:04.000Z
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2016 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "script/standard.h" #include "pubkey.h" #include "script/script.h" #inc...
32.339426
160
0.650896
[ "vector" ]