hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
108
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
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
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
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
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
44695e046a9f88c516e457a8f7684087f889ddb6
12,464
hpp
C++
include/behemoth/enumerator.hpp
gian21391/behemoth
923bf18a686603022bbab7ce8674dec4c59cdcde
[ "MIT" ]
null
null
null
include/behemoth/enumerator.hpp
gian21391/behemoth
923bf18a686603022bbab7ce8674dec4c59cdcde
[ "MIT" ]
null
null
null
include/behemoth/enumerator.hpp
gian21391/behemoth
923bf18a686603022bbab7ce8674dec4c59cdcde
[ "MIT" ]
null
null
null
/* behemoth: A syntax-guided synthesis library * Copyright (C) 2018 EPFL * * 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 right...
24.391389
137
0.638639
gian21391
446ba9ba528732bbf9937cb572cec46831c742a7
18,187
cpp
C++
DBow/HVocabulary.cpp
jjzhang166/DBow
275d4504c8a008100f9a038abfe745a0c067e913
[ "BSD-3-Clause" ]
33
2015-08-26T06:35:20.000Z
2021-08-04T05:23:10.000Z
DBow/HVocabulary.cpp
jjzhang166/DBow
275d4504c8a008100f9a038abfe745a0c067e913
[ "BSD-3-Clause" ]
null
null
null
DBow/HVocabulary.cpp
jjzhang166/DBow
275d4504c8a008100f9a038abfe745a0c067e913
[ "BSD-3-Clause" ]
13
2016-03-10T13:19:25.000Z
2021-04-14T10:00:26.000Z
/** * File: HVocabulary.cpp * Date: April 2010 * Author: Dorian Galvez * Description: hierarchical vocabulary implementing (Nister, 2006) */ #include "HVocabulary.h" #include "HVocParams.h" #include "DUtils.h" #include <cassert> #include <algorithm> #include <numeric> #include <vector> #include ...
25.400838
90
0.625392
jjzhang166
446d7d7cecaa283e60f7725f15bfbfea6e57a0af
5,096
cpp
C++
depends/work/build/i686-w64-mingw32/qt/5.9.7-f2560c1efa6/qttools/src/assistant/qhelpconverter/qhpwriter.cpp
GrinCash/Grinc-core
1377979453ba84082f70f9c128be38e57b65a909
[ "MIT" ]
null
null
null
depends/work/build/i686-w64-mingw32/qt/5.9.7-f2560c1efa6/qttools/src/assistant/qhelpconverter/qhpwriter.cpp
GrinCash/Grinc-core
1377979453ba84082f70f9c128be38e57b65a909
[ "MIT" ]
null
null
null
depends/work/build/i686-w64-mingw32/qt/5.9.7-f2560c1efa6/qttools/src/assistant/qhelpconverter/qhpwriter.cpp
GrinCash/Grinc-core
1377979453ba84082f70f9c128be38e57b65a909
[ "MIT" ]
null
null
null
/**************************************************************************** ** ** Copyright (C) 2016 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the Qt Assistant of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:GPL-EXCEPT$ ** Commercial License Usage ** Licensees holding valid co...
29.627907
87
0.660911
GrinCash
446fe89cefa2483f6898bf6ff5c1d9a4eeecfa20
4,379
cpp
C++
rviz_default_plugins/src/rviz_default_plugins/tools/focus/focus_tool.cpp
romi2002/rviz
8b2fcc1838e079d0e365894abd7cfd7b255b8d8b
[ "BSD-3-Clause-Clear" ]
null
null
null
rviz_default_plugins/src/rviz_default_plugins/tools/focus/focus_tool.cpp
romi2002/rviz
8b2fcc1838e079d0e365894abd7cfd7b255b8d8b
[ "BSD-3-Clause-Clear" ]
null
null
null
rviz_default_plugins/src/rviz_default_plugins/tools/focus/focus_tool.cpp
romi2002/rviz
8b2fcc1838e079d0e365894abd7cfd7b255b8d8b
[ "BSD-3-Clause-Clear" ]
1
2020-04-29T07:08:07.000Z
2020-04-29T07:08:07.000Z
/* * Copyright (c) 2013, Willow Garage, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright * notice, this l...
31.278571
96
0.738982
romi2002
4471948114cf73b9e901df5d96ea11fae039b912
1,899
cxx
C++
Remoting/Core/vtkPVOptionsXMLParser.cxx
xj361685640/ParaView
0a27eef5abc5a0c0472ab0bc806c4db881156e64
[ "Apache-2.0", "BSD-3-Clause" ]
815
2015-01-03T02:14:04.000Z
2022-03-26T07:48:07.000Z
Remoting/Core/vtkPVOptionsXMLParser.cxx
xj361685640/ParaView
0a27eef5abc5a0c0472ab0bc806c4db881156e64
[ "Apache-2.0", "BSD-3-Clause" ]
9
2015-04-28T20:10:37.000Z
2021-08-20T18:19:01.000Z
Remoting/Core/vtkPVOptionsXMLParser.cxx
xj361685640/ParaView
0a27eef5abc5a0c0472ab0bc806c4db881156e64
[ "Apache-2.0", "BSD-3-Clause" ]
328
2015-01-22T23:11:46.000Z
2022-03-14T06:07:52.000Z
/*========================================================================= Module: vtkPVOptionsXMLParser.cxx Copyright (c) Kitware, Inc. All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This software is distributed WITHOUT ANY WARRANTY; without even th...
27.521739
78
0.557662
xj361685640
4472ac1711ff3cc4ab2f07de2143fcfab8d06bb9
11,047
cpp
C++
src/energyplus/Test/GeneratorMicroTurbine_GTest.cpp
mehrdad-shokri/OpenStudio
1773b54ce1cb660818ac0114dd7eefae6639ca36
[ "blessing" ]
null
null
null
src/energyplus/Test/GeneratorMicroTurbine_GTest.cpp
mehrdad-shokri/OpenStudio
1773b54ce1cb660818ac0114dd7eefae6639ca36
[ "blessing" ]
null
null
null
src/energyplus/Test/GeneratorMicroTurbine_GTest.cpp
mehrdad-shokri/OpenStudio
1773b54ce1cb660818ac0114dd7eefae6639ca36
[ "blessing" ]
null
null
null
/*********************************************************************************************************************** * OpenStudio(R), Copyright (c) 2008-2020, Alliance for Sustainable Energy, LLC, and other contributors. All rights reserved. * * Redistribution and use in source and binary forms, with or without m...
46.029167
146
0.76437
mehrdad-shokri
447336c8bdeda9ca261722539acddb9480c4cf48
9,889
cc
C++
init/file_attrs_cleaner_test.cc
strassek/chromiumos-platform2
12c953f41f48b8a6b0bd1c181d09bdb1de38325c
[ "BSD-3-Clause" ]
4
2020-07-24T06:54:16.000Z
2021-06-16T17:13:53.000Z
init/file_attrs_cleaner_test.cc
strassek/chromiumos-platform2
12c953f41f48b8a6b0bd1c181d09bdb1de38325c
[ "BSD-3-Clause" ]
1
2021-04-02T17:35:07.000Z
2021-04-02T17:35:07.000Z
init/file_attrs_cleaner_test.cc
strassek/chromiumos-platform2
12c953f41f48b8a6b0bd1c181d09bdb1de38325c
[ "BSD-3-Clause" ]
1
2020-11-04T22:31:45.000Z
2020-11-04T22:31:45.000Z
// Copyright 2018 The Chromium OS 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 "init/file_attrs_cleaner.h" #include <errno.h> #include <fcntl.h> #include <sys/ioctl.h> #include <sys/types.h> #include <sys/xattr.h> #incl...
31.294304
80
0.707857
strassek
4475715a4c17dea905da48f2ef8f4c8919066a38
5,129
cpp
C++
lib/src/textures.cpp
konstructs/client
2616d2c37dd97b6e799e933fe0b932fd2e7c27d4
[ "MIT" ]
48
2015-05-15T19:51:40.000Z
2021-06-08T14:55:48.000Z
lib/src/textures.cpp
konstructs/client
2616d2c37dd97b6e799e933fe0b932fd2e7c27d4
[ "MIT" ]
180
2015-05-09T16:28:28.000Z
2020-12-20T19:53:54.000Z
lib/src/textures.cpp
konstructs/client
2616d2c37dd97b6e799e933fe0b932fd2e7c27d4
[ "MIT" ]
14
2015-07-17T20:32:13.000Z
2021-03-12T07:52:33.000Z
#include <fstream> #include <streambuf> #include <gl_includes.h> #include <iostream> #include <cstdlib> #include "textures.h" #include "util.h" #define KONSTRUCTS_PATH_SIZE 256 namespace konstructs { void shtxt_path(const char *name, const char *type, char *path, size_t max_len) { snprintf(path, max_len, "...
36.899281
92
0.666797
konstructs
4476251d4084b04d1d79b25f1d4cb70694b07750
14,334
ipp
C++
boost/test/impl/framework.ipp
jonstewart/boost-svn
7f6dc0c0cb807b28072c7bdd3d77bb01ab290c59
[ "BSL-1.0" ]
1
2017-04-08T10:44:28.000Z
2017-04-08T10:44:28.000Z
boost/test/impl/framework.ipp
jonstewart/boost-svn
7f6dc0c0cb807b28072c7bdd3d77bb01ab290c59
[ "BSL-1.0" ]
null
null
null
boost/test/impl/framework.ipp
jonstewart/boost-svn
7f6dc0c0cb807b28072c7bdd3d77bb01ab290c59
[ "BSL-1.0" ]
null
null
null
// (C) Copyright Gennadiy Rozental 2005-2008. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // See http://www.boost.org/libs/test for the library home page. // // File : $RCSfile$ // // Version ...
28.440476
132
0.66876
jonstewart
447794b296f1ca47c7dc73cb484dced1c00fa0e4
1,043
cpp
C++
editor/src/editorcommands/addspatialentitycommand.cpp
gameraccoon/HideAndSeek
bc1e9c8dd725968ad4bc204877d8ddca2132ace7
[ "MIT" ]
null
null
null
editor/src/editorcommands/addspatialentitycommand.cpp
gameraccoon/HideAndSeek
bc1e9c8dd725968ad4bc204877d8ddca2132ace7
[ "MIT" ]
null
null
null
editor/src/editorcommands/addspatialentitycommand.cpp
gameraccoon/HideAndSeek
bc1e9c8dd725968ad4bc204877d8ddca2132ace7
[ "MIT" ]
null
null
null
#include "addspatialentitycommand.h" #include <QtWidgets/qcombobox.h> #include "GameData/Components/TransformComponent.generated.h" #include "GameData/World.h" AddSpatialEntityCommand::AddSpatialEntityCommand(const SpatialEntity& entity, const Vector2D& location) : EditorCommand(EffectBitset(EffectType::Entities)) ...
32.59375
112
0.802493
gameraccoon
4477bee1e72e9cab5d423d1d989799ea66e26d96
5,195
cpp
C++
code/szen/src/System/Window.cpp
Sonaza/scyori
a894a9c7bd45a68ea1b6ff14877cdbe47ddd39cf
[ "BSD-3-Clause" ]
null
null
null
code/szen/src/System/Window.cpp
Sonaza/scyori
a894a9c7bd45a68ea1b6ff14877cdbe47ddd39cf
[ "BSD-3-Clause" ]
null
null
null
code/szen/src/System/Window.cpp
Sonaza/scyori
a894a9c7bd45a68ea1b6ff14877cdbe47ddd39cf
[ "BSD-3-Clause" ]
null
null
null
#include <szen/System/Window.hpp> #include <szen/Game/Camera.hpp> #include <sstream> #ifdef SFML_SYSTEM_WINDOWS #include <Windows.h> #endif using namespace sz; namespace { sf::RenderWindow* m_window = NULL; float m_aspectRatio; sf::Uint32 m_virtualWidth = 1920; sf::View m_view; std::string m_title; sf:...
23.506787
86
0.596535
Sonaza
4478f21af676c7a08c1b77f5ec68f64e89aed5b3
1,814
cpp
C++
src/lib/CatenaBase_NetSave.cpp
dhineshkumarmcci/Catena-Arduino-Platform
478ad23318a7646f2e03170e9294b0ea69885da4
[ "MIT" ]
1
2021-11-27T22:56:25.000Z
2021-11-27T22:56:25.000Z
src/lib/CatenaBase_NetSave.cpp
dhineshkumarmcci/Catena-Arduino-Platform
478ad23318a7646f2e03170e9294b0ea69885da4
[ "MIT" ]
null
null
null
src/lib/CatenaBase_NetSave.cpp
dhineshkumarmcci/Catena-Arduino-Platform
478ad23318a7646f2e03170e9294b0ea69885da4
[ "MIT" ]
1
2021-04-03T09:56:13.000Z
2021-04-03T09:56:13.000Z
/* CatenaBase_NetSave.cpp Mon Dec 03 2018 13:21:28 chwon */ /* Module: CatenaBase_NetSave.cpp Function: Interface from LoRaWAN to FRAM. Version: V0.12.0 Mon Dec 03 2018 13:21:28 chwon Edit level 1 Copyright notice: This file copyright (C) 2018 by MCCI Corporation 3520 Krums Corners Road Ithaca, NY 1485...
19.717391
66
0.723264
dhineshkumarmcci
447aa6c8ff6b0ec4345b7687a3fc26f3c5f4d156
42,601
cc
C++
src/components/transport_manager/src/transport_adapter/transport_adapter_impl.cc
Sohei-Suzuki-Nexty/sdl_core
68f082169e0a40fccd9eb0db3c83911c28870f07
[ "BSD-3-Clause" ]
249
2015-01-15T16:50:53.000Z
2022-03-24T13:23:34.000Z
src/components/transport_manager/src/transport_adapter/transport_adapter_impl.cc
Sohei-Suzuki-Nexty/sdl_core
68f082169e0a40fccd9eb0db3c83911c28870f07
[ "BSD-3-Clause" ]
2,917
2015-01-12T16:17:49.000Z
2022-03-31T11:57:47.000Z
src/components/transport_manager/src/transport_adapter/transport_adapter_impl.cc
Sohei-Suzuki-Nexty/sdl_core
68f082169e0a40fccd9eb0db3c83911c28870f07
[ "BSD-3-Clause" ]
306
2015-01-12T09:23:20.000Z
2022-01-28T18:06:30.000Z
/* * Copyright (c) 2017, Ford Motor Company * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright notice, this * list of condit...
33.517703
80
0.682284
Sohei-Suzuki-Nexty
447c19bf23455320cec4b0192584ed77e70ebf73
2,593
cpp
C++
AnnService/src/Core/Common/InstructionUtils.cpp
tornado12345/SPTAG
067e5d267e73eb26cb6e4195db4f2b174284fd6b
[ "MIT" ]
4,351
2019-05-07T06:04:41.000Z
2022-03-30T12:46:19.000Z
AnnService/src/Core/Common/InstructionUtils.cpp
tornado12345/SPTAG
067e5d267e73eb26cb6e4195db4f2b174284fd6b
[ "MIT" ]
140
2019-05-13T08:55:27.000Z
2022-03-29T16:56:16.000Z
AnnService/src/Core/Common/InstructionUtils.cpp
tornado12345/SPTAG
067e5d267e73eb26cb6e4195db4f2b174284fd6b
[ "MIT" ]
552
2019-05-15T16:27:52.000Z
2022-03-18T15:12:44.000Z
#include "inc/Core/Common/InstructionUtils.h" #include "inc/Core/Common.h" #ifndef _MSC_VER void cpuid(int info[4], int InfoType) { __cpuid_count(InfoType, 0, info[0], info[1], info[2], info[3]); } #endif namespace SPTAG { namespace COMMON { const InstructionSet::InstructionSet_Internal InstructionSet...
38.132353
79
0.538758
tornado12345
4484654fc9ccf6f86d73476a16d233513532cfec
2,099
cc
C++
leet_code/Multiply_Strings/solve.cc
ldy121/algorithm
7939cb4c15e2bc655219c934f00c2bb74ddb4eec
[ "Apache-2.0" ]
1
2020-04-11T22:04:23.000Z
2020-04-11T22:04:23.000Z
leet_code/Multiply_Strings/solve.cc
ldy121/algorithm
7939cb4c15e2bc655219c934f00c2bb74ddb4eec
[ "Apache-2.0" ]
null
null
null
leet_code/Multiply_Strings/solve.cc
ldy121/algorithm
7939cb4c15e2bc655219c934f00c2bb74ddb4eec
[ "Apache-2.0" ]
null
null
null
class Solution { public: string multiply(string num1, string num2) { vector<string> partial_result; string digit = ""; for_each(num2.rbegin(), num2.rend(), [&num1, &digit, &partial_result](const auto ch2) { const auto op2 = ch2 - '0'; auto carry = 0; stri...
31.80303
95
0.370176
ldy121
4486109a504e520bbc6c9c4b99cb015568d3c5c5
6,771
cpp
C++
src/p3d/legacy/internal/NL_GameManager.cpp
AlexandrSachkov/Prototype3D
1cf705973a8d9137014935686b7fcb034ab95123
[ "MIT" ]
7
2018-09-10T04:57:48.000Z
2020-12-16T12:29:52.000Z
src/p3d/legacy/internal/NL_GameManager.cpp
AlexandrSachkov/Prototype3D
1cf705973a8d9137014935686b7fcb034ab95123
[ "MIT" ]
null
null
null
src/p3d/legacy/internal/NL_GameManager.cpp
AlexandrSachkov/Prototype3D
1cf705973a8d9137014935686b7fcb034ab95123
[ "MIT" ]
4
2015-11-25T07:41:10.000Z
2019-06-12T22:30:54.000Z
#include "NL_GameManager.h" #include "NL_RenderingEngine.h" #include "NL_ScriptingEngine.h" #include "NL_ThreadLocal.h" #include "NL_GameObject.h" #include "NL_EngineServices.h" #include "NL_SharedData.h" #include "NL_IWindowManager.h" #include <fstream> namespace NLE { namespace GAME { GameManager::GameManager(...
27.084
113
0.678925
AlexandrSachkov
4487e6e1d63b56eea3df6c0d8310d4397d6f3f37
7,445
cpp
C++
Map/MapDriver.cpp
rmanaem/risk-warzone
2d9929543dec0787dbb7d82717e970ead8c2cdb6
[ "MIT" ]
null
null
null
Map/MapDriver.cpp
rmanaem/risk-warzone
2d9929543dec0787dbb7d82717e970ead8c2cdb6
[ "MIT" ]
null
null
null
Map/MapDriver.cpp
rmanaem/risk-warzone
2d9929543dec0787dbb7d82717e970ead8c2cdb6
[ "MIT" ]
null
null
null
#include <iostream> #include "Map.h" #include <vector> #include <stack> using namespace std; /* Quick instruction: If you want to see the third illustation being validated, the second one should be fixed. To do so, just remove the comment from line 88 (i.e. establish the brazil --> north africa connection). */ int ma...
53.561151
131
0.658831
rmanaem
44880f86d0d5604e40a1f2a807b1b29becbc23f0
5,080
hpp
C++
src/multimap.hpp
nfagan/categorical
4a309a07debd654d4e69cb80b58fd9c31cf888cc
[ "MIT" ]
null
null
null
src/multimap.hpp
nfagan/categorical
4a309a07debd654d4e69cb80b58fd9c31cf888cc
[ "MIT" ]
null
null
null
src/multimap.hpp
nfagan/categorical
4a309a07debd654d4e69cb80b58fd9c31cf888cc
[ "MIT" ]
null
null
null
// // multimap.hpp // bit_array-test // // Created by Nick Fagan on 3/12/18. // #pragma once #include <unordered_map> #include <stdexcept> #include <vector> #include <cstdint> namespace util { template<typename K, typename V> class multimap; } template<typename K, typename V> class util::multimap { publi...
18.608059
90
0.58878
nfagan
44893b29c83a6e917f4d6f2b35baf0c92b912a41
6,472
cpp
C++
external/rapidcheck/test/state/IntegrationTests.cpp
XzoRit/cpp_rapidcheck
292c9943569e52e29fbd11abd31a965efc699a8e
[ "BSL-1.0" ]
876
2015-01-29T00:48:46.000Z
2022-03-23T00:24:34.000Z
test/state/IntegrationTests.cpp
wuerges/rapidcheck
d2e0481b28b77fcd0c7ead9af1e8227ee9982739
[ "BSD-2-Clause" ]
199
2015-05-18T07:04:40.000Z
2022-03-23T02:37:15.000Z
test/state/IntegrationTests.cpp
wuerges/rapidcheck
d2e0481b28b77fcd0c7ead9af1e8227ee9982739
[ "BSD-2-Clause" ]
162
2015-03-12T20:19:31.000Z
2022-03-14T08:42:52.000Z
#include <catch2/catch.hpp> #include <rapidcheck/catch.h> #include <rapidcheck/state.h> #include "util/GenUtils.h" using namespace rc; using namespace rc::test; namespace { struct Bag { std::vector<int> items; bool open = false; }; using BagCommand = state::Command<Bag, Bag>; struct Open : public BagCommand {...
29.285068
79
0.599197
XzoRit
448974faa03164e424ded9451b92a2d0f1423ab7
10,608
hpp
C++
source/Leaderboard.hpp
acodcha/catan-stratification
12c45cbf0f97727cc1c8d8c243ce5d0f2468843b
[ "MIT" ]
1
2020-10-07T01:03:32.000Z
2020-10-07T01:03:32.000Z
source/Leaderboard.hpp
acodcha/catan-stratification
12c45cbf0f97727cc1c8d8c243ce5d0f2468843b
[ "MIT" ]
null
null
null
source/Leaderboard.hpp
acodcha/catan-stratification
12c45cbf0f97727cc1c8d8c243ce5d0f2468843b
[ "MIT" ]
1
2021-09-22T03:02:41.000Z
2021-09-22T03:02:41.000Z
#pragma once #include "DataFileWriter.hpp" #include "GlobalAveragePointsGnuplotFileWriter.hpp" #include "GlobalEloRatingGnuplotFileWriter.hpp" #include "GlobalPlacePercentageGnuplotFileWriter.hpp" #include "IndividualAveragePointsGnuplotFileWriter.hpp" #include "IndividualEloRatingGnuplotFileWriter.hpp" #include "Indi...
51.495146
321
0.737651
acodcha
44899f636f113100199f92c07fd982e9ff82d266
2,160
cpp
C++
src/energy/soft_volume_constraint.cpp
Conrekatsu/repulsive-surfaces
74d6a16e6ca55c8296fa5a49757c2318bea62a84
[ "MIT" ]
35
2021-12-13T09:58:08.000Z
2022-03-30T11:03:01.000Z
src/energy/soft_volume_constraint.cpp
Conrekatsu/repulsive-surfaces
74d6a16e6ca55c8296fa5a49757c2318bea62a84
[ "MIT" ]
null
null
null
src/energy/soft_volume_constraint.cpp
Conrekatsu/repulsive-surfaces
74d6a16e6ca55c8296fa5a49757c2318bea62a84
[ "MIT" ]
3
2022-02-25T06:46:34.000Z
2022-03-16T05:46:53.000Z
#include "energy/soft_volume_constraint.h" #include "matrix_utils.h" #include "surface_derivatives.h" namespace rsurfaces { SoftVolumeConstraint::SoftVolumeConstraint(MeshPtr mesh_, GeomPtr geom_, double weight_) { mesh = mesh_; geom = geom_; weight = weight_; initialVolume = to...
32.238806
92
0.647222
Conrekatsu
448bc7db01bcfd3c2d5c1a5c6fcb052917d460a5
5,934
cpp
C++
src/planner/Query.cpp
yixinglu/nebula-graph
faf9cd44d818b953da98b5c922999560c89867bd
[ "Apache-2.0" ]
1
2021-08-23T05:55:55.000Z
2021-08-23T05:55:55.000Z
src/planner/Query.cpp
yixinglu/nebula-graph
faf9cd44d818b953da98b5c922999560c89867bd
[ "Apache-2.0" ]
null
null
null
src/planner/Query.cpp
yixinglu/nebula-graph
faf9cd44d818b953da98b5c922999560c89867bd
[ "Apache-2.0" ]
null
null
null
/* Copyright (c) 2020 vesoft inc. All rights reserved. * * This source code is licensed under Apache 2.0 License, * attached with Common Clause Condition 1.0, found in the LICENSES directory. */ #include "planner/Query.h" #include <folly/String.h> #include "common/interface/gen-cpp2/graph_types.h" #include "util...
39.825503
99
0.663128
yixinglu
448f176819f901ec6ed652d795b5faf80dd21c2f
1,312
cpp
C++
MMOCoreORB/src/server/zone/objects/creature/ai/variables/CreatureTemplateReference.cpp
V-Fib/FlurryClone
40e0ca7245ec31b3815eb6459329fd9e70f88936
[ "Zlib", "OpenSSL" ]
18
2017-02-09T15:36:05.000Z
2021-12-21T04:22:15.000Z
MMOCoreORB/src/server/zone/objects/creature/ai/variables/CreatureTemplateReference.cpp
V-Fib/FlurryClone
40e0ca7245ec31b3815eb6459329fd9e70f88936
[ "Zlib", "OpenSSL" ]
61
2016-12-30T21:51:10.000Z
2021-12-10T20:25:56.000Z
MMOCoreORB/src/server/zone/objects/creature/ai/variables/CreatureTemplateReference.cpp
V-Fib/FlurryClone
40e0ca7245ec31b3815eb6459329fd9e70f88936
[ "Zlib", "OpenSSL" ]
71
2017-01-01T05:34:38.000Z
2022-03-29T01:04:00.000Z
/* * CreatureTemplateReference.cpp * * Created on: 29/04/2012 * Author: victor */ #include "CreatureTemplateReference.h" #include "server/zone/managers/creature/CreatureTemplateManager.h" bool CreatureTemplateReference::toBinaryStream(ObjectOutputStream* stream) { #ifdef ODB_SERIALIZATION templateString.t...
19.58209
88
0.749238
V-Fib
4494ba2054004393acc4da4168c1d9dbaa900028
8,034
cpp
C++
test/test_split.cpp
ShotaAk/rcutils
308663f1582c4e3a9b170d9ed413f76f368ed1c1
[ "Apache-2.0" ]
null
null
null
test/test_split.cpp
ShotaAk/rcutils
308663f1582c4e3a9b170d9ed413f76f368ed1c1
[ "Apache-2.0" ]
2
2020-04-08T08:42:06.000Z
2020-04-08T09:36:52.000Z
test/test_split.cpp
ShotaAk/rcutils
308663f1582c4e3a9b170d9ed413f76f368ed1c1
[ "Apache-2.0" ]
null
null
null
// Copyright 2017 Open Source Robotics Foundation, 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 appli...
37.023041
95
0.726413
ShotaAk
449594da108811f393c3c76f017cb3d93176f619
4,594
cpp
C++
isis/src/kaguya/objs/KaguyaMiCamera/KaguyaMiCamera.cpp
ihumphrey-usgs/ISIS3_old
284cc442b773f8369d44379ee29a9b46961d8108
[ "Unlicense" ]
1
2019-10-13T15:31:33.000Z
2019-10-13T15:31:33.000Z
isis/src/kaguya/objs/KaguyaMiCamera/KaguyaMiCamera.cpp
ihumphrey-usgs/ISIS3_old
284cc442b773f8369d44379ee29a9b46961d8108
[ "Unlicense" ]
null
null
null
isis/src/kaguya/objs/KaguyaMiCamera/KaguyaMiCamera.cpp
ihumphrey-usgs/ISIS3_old
284cc442b773f8369d44379ee29a9b46961d8108
[ "Unlicense" ]
1
2021-07-12T06:05:03.000Z
2021-07-12T06:05:03.000Z
/** * @file * * Unless noted otherwise, the portions of Isis written by the USGS are public * domain. See individual third-party library and package descriptions for * intellectual property information,user agreements, and related information. * * Although Isis has been used by the USGS, no warranty, ex...
32.58156
100
0.702003
ihumphrey-usgs
4496bfac111c43a836b8eff2037fcb70f625be3a
2,743
cpp
C++
thread/appl_thread_descriptor.cpp
fboucher9/appl
bb90398cf9985d4cc0a2a079c4d49d891108e6d1
[ "MIT" ]
null
null
null
thread/appl_thread_descriptor.cpp
fboucher9/appl
bb90398cf9985d4cc0a2a079c4d49d891108e6d1
[ "MIT" ]
null
null
null
thread/appl_thread_descriptor.cpp
fboucher9/appl
bb90398cf9985d4cc0a2a079c4d49d891108e6d1
[ "MIT" ]
null
null
null
/* See LICENSE for license details */ /* */ #include <appl_status.h> #include <appl_types.h> #include <thread/appl_thread_descriptor.h> #include <object/appl_object.h> #include <buf/appl_buf.h> #include <thread/appl_thread_descriptor_impl.h> #include <heap/appl_heap_handle.h> // // // enum appl_status app...
17.471338
51
0.61502
fboucher9
44970b07e76cabf703195cc926a81dceb9e636af
806
hpp
C++
higan/gba/cartridge/cartridge.hpp
13824125580/higan
fbdd3f980b65412c362096579869ae76730e4118
[ "Intel", "ISC" ]
10
2019-12-19T01:19:41.000Z
2021-02-18T16:30:29.000Z
higan/gba/cartridge/cartridge.hpp
13824125580/higan
fbdd3f980b65412c362096579869ae76730e4118
[ "Intel", "ISC" ]
null
null
null
higan/gba/cartridge/cartridge.hpp
13824125580/higan
fbdd3f980b65412c362096579869ae76730e4118
[ "Intel", "ISC" ]
null
null
null
struct Cartridge { #include "memory.hpp" auto pathID() const -> uint { return information.pathID; } auto hash() const -> string { return information.sha256; } auto manifest() const -> string { return information.manifest; } auto title() const -> string { return information.title; } struct Information { ...
22.388889
66
0.66005
13824125580
449a467a172e2e329612297dd5855788d6efc379
7,518
cc
C++
third_party/webrtc/src/webrtc/modules/audio_coding/main/acm2/codec_owner.cc
bopopescu/webrtc-streaming-node
727a441204344ff596401b0253caac372b714d91
[ "MIT" ]
8
2016-02-08T11:59:31.000Z
2020-05-31T15:19:54.000Z
third_party/webrtc/src/webrtc/modules/audio_coding/main/acm2/codec_owner.cc
bopopescu/webrtc-streaming-node
727a441204344ff596401b0253caac372b714d91
[ "MIT" ]
1
2021-05-05T11:11:31.000Z
2021-05-05T11:11:31.000Z
third_party/webrtc/src/webrtc/modules/audio_coding/main/acm2/codec_owner.cc
bopopescu/webrtc-streaming-node
727a441204344ff596401b0253caac372b714d91
[ "MIT" ]
7
2016-02-09T09:28:14.000Z
2020-07-25T19:03:36.000Z
/* * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
35.130841
88
0.727188
bopopescu
449a6d2d1ed94330435edd5a25ba9ac3845b028c
2,019
cc
C++
l95/src/lorenz95/ObservationL95.cc
andreapiacentini/oops
48c923c210a75773e2457eea8b1a8eee29837bb5
[ "Apache-2.0" ]
null
null
null
l95/src/lorenz95/ObservationL95.cc
andreapiacentini/oops
48c923c210a75773e2457eea8b1a8eee29837bb5
[ "Apache-2.0" ]
null
null
null
l95/src/lorenz95/ObservationL95.cc
andreapiacentini/oops
48c923c210a75773e2457eea8b1a8eee29837bb5
[ "Apache-2.0" ]
null
null
null
/* * (C) Copyright 2009-2016 ECMWF. * * This software is licensed under the terms of the Apache Licence Version 2.0 * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. * In applying this licence, ECMWF does not waive the privileges and immunities * granted to it by virtue of its status as an...
33.098361
83
0.505201
andreapiacentini
449b75bc73a0098cc1f0cccc849e41486eabfcba
853
cpp
C++
sdk/test_hls_polling.cpp
zhiyb/SVM_hls
e1223c8528eccd8d48e52c4614c8596db4c253da
[ "MIT" ]
3
2020-11-11T13:04:52.000Z
2021-03-03T06:30:18.000Z
sdk/test_hls_polling.cpp
zhiyb/SVM_hls
e1223c8528eccd8d48e52c4614c8596db4c253da
[ "MIT" ]
null
null
null
sdk/test_hls_polling.cpp
zhiyb/SVM_hls
e1223c8528eccd8d48e52c4614c8596db4c253da
[ "MIT" ]
1
2019-04-11T03:05:59.000Z
2019-04-11T03:05:59.000Z
#include <stdio.h> #include <xtime_l.h> #include "test.h" void test_cls_hls_polling_pre() { // Disable interrupt interrupt_enable(false); } unsigned int test_cls_hls_polling() { XTime tick[4], perf[3] = {0, 0, 0}; unsigned int err = 0; int *label = &testDataLabel[0]; int16_t *x = &testDataI[0][0]; for (size_t ...
25.088235
80
0.635404
zhiyb
44a4de86e7ff78b545ac8453af5ad0882b5fb51a
61,160
cpp
C++
src/sksl/SkSLLexer.cpp
wan-nyan-wan/skia
bf2a6ff1b570821a906f11a2046215789b51d41a
[ "BSD-3-Clause" ]
null
null
null
src/sksl/SkSLLexer.cpp
wan-nyan-wan/skia
bf2a6ff1b570821a906f11a2046215789b51d41a
[ "BSD-3-Clause" ]
null
null
null
src/sksl/SkSLLexer.cpp
wan-nyan-wan/skia
bf2a6ff1b570821a906f11a2046215789b51d41a
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright 2017 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ /***************************************************************************************** ******************** This file was generated by sksllex. Do not edit. **************...
29.617433
99
0.303123
wan-nyan-wan
44a5d961d22e97232f26109ab917d3badb1fa340
885
hpp
C++
externals/boost/boost/beast/http/file_body.hpp
YuukiTsuchida/v8_embeded
c6e18f4e91fcc50607f8e3edc745a3afa30b2871
[ "MIT" ]
32
2019-02-27T06:57:07.000Z
2021-08-29T10:56:19.000Z
jeff/common/include/boost/beast/http/file_body.hpp
jeffphi/advent-of-code-2018
8e54bd23ebfe42fcbede315f0ab85db903551532
[ "MIT" ]
1
2018-04-18T16:33:00.000Z
2018-04-18T16:33:00.000Z
jeff/common/include/boost/beast/http/file_body.hpp
jeffphi/advent-of-code-2018
8e54bd23ebfe42fcbede315f0ab85db903551532
[ "MIT" ]
5
2019-08-20T13:45:04.000Z
2022-03-01T18:23:49.000Z
// // Copyright (c) 2016-2017 Vinnie Falco (vinnie dot falco at gmail dot com) // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // // Official repository: https://github.com/boostorg/beast // #ifndef BOO...
24.583333
80
0.723164
YuukiTsuchida
44a67743169ec9c8eb4adb03d18cd5374f2ac3e9
2,797
cpp
C++
llvm/lib/DebugInfo/CodeView/CVSymbolVisitor.cpp
NoamDev/TON-Compiler
f76aa2084c7f09a228afef4a6e073c37b350c8f3
[ "Apache-2.0" ]
171
2018-09-17T13:15:12.000Z
2022-03-18T03:47:04.000Z
llvm/lib/DebugInfo/CodeView/CVSymbolVisitor.cpp
NoamDev/TON-Compiler
f76aa2084c7f09a228afef4a6e073c37b350c8f3
[ "Apache-2.0" ]
51
2019-10-23T11:55:08.000Z
2021-12-21T06:32:11.000Z
llvm/lib/DebugInfo/CodeView/CVSymbolVisitor.cpp
NoamDev/TON-Compiler
f76aa2084c7f09a228afef4a6e073c37b350c8f3
[ "Apache-2.0" ]
55
2018-02-01T07:11:49.000Z
2022-03-04T01:20:23.000Z
//===- CVSymbolVisitor.cpp --------------------------------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
33.297619
80
0.602789
NoamDev
44a7e0dfb470e479320807c8e67c9895122e1cf4
1,198
cpp
C++
libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/dtor.pass.cpp
mkinsner/llvm
589d48844edb12cd357b3024248b93d64b6760bf
[ "Apache-2.0" ]
2,338
2018-06-19T17:34:51.000Z
2022-03-31T11:00:37.000Z
libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/dtor.pass.cpp
mkinsner/llvm
589d48844edb12cd357b3024248b93d64b6760bf
[ "Apache-2.0" ]
3,740
2019-01-23T15:36:48.000Z
2022-03-31T22:01:13.000Z
libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/dtor.pass.cpp
mkinsner/llvm
589d48844edb12cd357b3024248b93d64b6760bf
[ "Apache-2.0" ]
500
2019-01-23T07:49:22.000Z
2022-03-30T02:59:37.000Z
//===----------------------------------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
27.860465
80
0.583472
mkinsner
44a924d90f8efaa1a45f8184676a3ef0cf65cd88
5,538
cpp
C++
Samples/SpatialSound/cpp/Scenario2_CardioidSound.xaml.cpp
dujianxin/Windows-universal-samples
d4e95ff0ac408c5d4d980bb18d53fb2c6556a273
[ "MIT" ]
2,504
2019-05-07T06:56:42.000Z
2022-03-31T19:37:59.000Z
Samples/SpatialSound/cpp/Scenario2_CardioidSound.xaml.cpp
dujianxin/Windows-universal-samples
d4e95ff0ac408c5d4d980bb18d53fb2c6556a273
[ "MIT" ]
314
2019-05-08T16:56:30.000Z
2022-03-21T07:13:45.000Z
Samples/SpatialSound/cpp/Scenario2_CardioidSound.xaml.cpp
dujianxin/Windows-universal-samples
d4e95ff0ac408c5d4d980bb18d53fb2c6556a273
[ "MIT" ]
2,219
2019-05-07T00:47:26.000Z
2022-03-30T21:12:31.000Z
//********************************************************* // // Copyright (c) Microsoft. All rights reserved. // This code is licensed under the MIT License (MIT). // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY // IMPLIED WARRANTIES OF FITNESS FOR A PA...
35.5
198
0.693933
dujianxin
44a97b9b35f7fe7e27b06f96d1ec813a685a9b18
14,906
cpp
C++
deps/src/boost_1_65_1/libs/utility/test/call_traits_test.cpp
shreyasvj25/turicreate
32e84ca16aef8d04aff3d49ae9984bd49326bffd
[ "BSD-3-Clause" ]
11,356
2017-12-08T19:42:32.000Z
2022-03-31T16:55:25.000Z
deps/src/boost_1_65_1/libs/utility/test/call_traits_test.cpp
shreyasvj25/turicreate
32e84ca16aef8d04aff3d49ae9984bd49326bffd
[ "BSD-3-Clause" ]
2,402
2017-12-08T22:31:01.000Z
2022-03-28T19:25:52.000Z
deps/src/boost_1_65_1/libs/utility/test/call_traits_test.cpp
shreyasvj25/turicreate
32e84ca16aef8d04aff3d49ae9984bd49326bffd
[ "BSD-3-Clause" ]
1,343
2017-12-08T19:47:19.000Z
2022-03-26T11:31:36.000Z
// boost::compressed_pair test program // (C) Copyright John Maddock 2000. // Use, modification and distribution are subject to the Boost Software License, // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt). // standalone test program for <boost/call_trait...
35.660287
135
0.69254
shreyasvj25
44aa3fbd0c080d40d8dbf27fabe522e18fa6f5f3
4,499
cpp
C++
tools/map_maker/test_helper/src/StringTestHelper.cpp
seowwj/map
2afacd50e1b732395c64b1884ccfaeeca0040ee7
[ "MIT" ]
61
2019-12-19T20:57:24.000Z
2022-03-29T15:20:51.000Z
tools/map_maker/test_helper/src/StringTestHelper.cpp
seowwj/map
2afacd50e1b732395c64b1884ccfaeeca0040ee7
[ "MIT" ]
54
2020-04-05T05:32:47.000Z
2022-03-15T18:42:33.000Z
tools/map_maker/test_helper/src/StringTestHelper.cpp
seowwj/map
2afacd50e1b732395c64b1884ccfaeeca0040ee7
[ "MIT" ]
31
2019-12-20T07:37:39.000Z
2022-03-16T13:06:16.000Z
// ----------------- BEGIN LICENSE BLOCK --------------------------------- // // Copyright (C) 2017-2020 Intel Corporation // // SPDX-License-Identifier: MIT // // ----------------- END LICENSE BLOCK ----------------------------------- #include "ad/map/maker/test_helper/StringTestHelper.hpp" #include <stdio.h> namesp...
22.053922
107
0.58613
seowwj
44aa9cf1340691f42635075713e82bcfdb942e00
1,003
hpp
C++
Engine/Graphics/FontHandler.hpp
artur-kink/nhns
bc1ccef4e4a9cba9047051d73202ee2b1482066f
[ "Apache-2.0" ]
null
null
null
Engine/Graphics/FontHandler.hpp
artur-kink/nhns
bc1ccef4e4a9cba9047051d73202ee2b1482066f
[ "Apache-2.0" ]
null
null
null
Engine/Graphics/FontHandler.hpp
artur-kink/nhns
bc1ccef4e4a9cba9047051d73202ee2b1482066f
[ "Apache-2.0" ]
null
null
null
#ifndef _FONTHANDLER_ #define _FONTHANDLER_ #include <cstring> #include "Types.hpp" #include "Color.hpp" #include "BaseRenderTarget.hpp" #include "Utilities/FileHandler.hpp" #ifdef _PC_ #include <SFML/Graphics.hpp> #endif /** * Class used to draw fonts. * The FontHandler is designed to use only one font, * if mo...
18.924528
79
0.678963
artur-kink
44ad1bf3102a5861df1af96ac4881741c9f3b3ea
1,753
hpp
C++
src/optimization/models/NNLS/ADMM.hpp
justusc/Elemental
145ccb28411f3f0c65ca30ecea776df33297e4ff
[ "BSD-3-Clause" ]
null
null
null
src/optimization/models/NNLS/ADMM.hpp
justusc/Elemental
145ccb28411f3f0c65ca30ecea776df33297e4ff
[ "BSD-3-Clause" ]
null
null
null
src/optimization/models/NNLS/ADMM.hpp
justusc/Elemental
145ccb28411f3f0c65ca30ecea776df33297e4ff
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 2009-2015, Jack Poulson All rights reserved. This file is part of Elemental and is under the BSD 2-Clause License, which can be found in the LICENSE file in the root directory, or at http://opensource.org/licenses/BSD-2-Clause */ #include "El.hpp" namespace El { namespace nnls { // ...
26.164179
75
0.617228
justusc
44ade3c2f3c34f4e78555be6d489cf5c3df1bf46
866
hpp
C++
libs/boost_1_72_0/boost/type_erasure/config.hpp
henrywarhurst/matrix
317a2a7c35c1c7e3730986668ad2270dc19809ef
[ "BSD-3-Clause" ]
null
null
null
libs/boost_1_72_0/boost/type_erasure/config.hpp
henrywarhurst/matrix
317a2a7c35c1c7e3730986668ad2270dc19809ef
[ "BSD-3-Clause" ]
null
null
null
libs/boost_1_72_0/boost/type_erasure/config.hpp
henrywarhurst/matrix
317a2a7c35c1c7e3730986668ad2270dc19809ef
[ "BSD-3-Clause" ]
null
null
null
// Boost.TypeErasure library // // Copyright 2011 Steven Watanabe // // Distributed under the Boost Software License Version 1.0. (See // accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // // $Id$ #ifndef BOOST_TYPE_ERASURE_CONFIG_HPP_INCLUDED #define BOOST_TYPE_ERASURE_CONFIG_HPP...
28.866667
80
0.794457
henrywarhurst
44ae27d2b61165557a78299577983cafe1c8bf5b
2,339
cpp
C++
server/src/session.cpp
silverthreadk/Mafia2
275f7e9fb63a98bcb5781c4d388a63da16a63213
[ "BSL-1.0" ]
null
null
null
server/src/session.cpp
silverthreadk/Mafia2
275f7e9fb63a98bcb5781c4d388a63da16a63213
[ "BSL-1.0" ]
null
null
null
server/src/session.cpp
silverthreadk/Mafia2
275f7e9fb63a98bcb5781c4d388a63da16a63213
[ "BSL-1.0" ]
null
null
null
#include "session.h" #include <memory> #include <boost/lexical_cast.hpp> #include "room.h" #include "player.h" #include "request_handler.h" Session::Session(boost::asio::ip::tcp::socket socket, const Room& room) : socket_(std::move(socket)), room_(const_cast<Room&>(room)), player_(std::make_shared<Player...
28.52439
114
0.567336
silverthreadk
44af582b4fe1df8f558f26ca56c19b8527c8a82f
9,382
cpp
C++
fourr_kazerounian_controller/src/fourr_kazerounian_controller.cpp
unisa-acg/moveit_dp_redundancy_resolution
37f2f7bd3d786bc7d5ce0dde9d69772cd65b041e
[ "BSD-3-Clause" ]
3
2020-12-31T02:46:15.000Z
2021-05-31T12:05:58.000Z
fourr_kazerounian_controller/src/fourr_kazerounian_controller.cpp
unisa-acg/moveit_dp_redundancy_resolution
37f2f7bd3d786bc7d5ce0dde9d69772cd65b041e
[ "BSD-3-Clause" ]
null
null
null
fourr_kazerounian_controller/src/fourr_kazerounian_controller.cpp
unisa-acg/moveit_dp_redundancy_resolution
37f2f7bd3d786bc7d5ce0dde9d69772cd65b041e
[ "BSD-3-Clause" ]
2
2020-11-14T11:33:13.000Z
2021-08-12T05:36:53.000Z
/********************************************************************************* * Copyright (c) 2018, Università degli Studi di Salerno, ALTEC S.p.A. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions...
42.071749
155
0.734492
unisa-acg
44b1e1418cbd084a974188fe6e79ef46286dee77
5,639
cpp
C++
src/wrapper/store/storehelper.cpp
microshine/trusted-crypto
22a6496bd390ebe2ed516a15636d911fae4c6407
[ "Apache-2.0" ]
null
null
null
src/wrapper/store/storehelper.cpp
microshine/trusted-crypto
22a6496bd390ebe2ed516a15636d911fae4c6407
[ "Apache-2.0" ]
null
null
null
src/wrapper/store/storehelper.cpp
microshine/trusted-crypto
22a6496bd390ebe2ed516a15636d911fae4c6407
[ "Apache-2.0" ]
1
2020-07-01T16:32:57.000Z
2020-07-01T16:32:57.000Z
#include "../stdafx.h" #include "storehelper.h" Handle<PkiItemCollection> Provider::getProviderItemCollection(){ LOGGER_FN(); return this->providerItemCollection; } ProviderCollection::ProviderCollection(){ LOGGER_FN(); _items = std::vector<Handle<Provider> >(); } ProviderCollection::~ProviderCollection(){ L...
19.311644
78
0.720695
microshine
44b3354599055ce7c9ea0b5e90a4a44deaa259cc
187
hpp
C++
cegui/src/ScriptModules/Python/bindings/output/CEGUI/Image.pypp.hpp
OpenTechEngine-Libraries/CEGUI
6f00952d31f318f9482766d1ad2206cb540a78b9
[ "MIT" ]
257
2020-01-03T10:13:29.000Z
2022-03-26T14:55:12.000Z
cegui/src/ScriptModules/Python/bindings/output/CEGUI/Image.pypp.hpp
OpenTechEngine-Libraries/CEGUI
6f00952d31f318f9482766d1ad2206cb540a78b9
[ "MIT" ]
116
2020-01-09T18:13:13.000Z
2022-03-15T18:32:02.000Z
cegui/src/ScriptModules/Python/bindings/output/CEGUI/Image.pypp.hpp
OpenTechEngine-Libraries/CEGUI
6f00952d31f318f9482766d1ad2206cb540a78b9
[ "MIT" ]
58
2020-01-09T03:07:02.000Z
2022-03-22T17:21:36.000Z
// This file has been generated by Py++. #ifndef Image_hpp__pyplusplus_wrapper #define Image_hpp__pyplusplus_wrapper void register_Image_class(); #endif//Image_hpp__pyplusplus_wrapper
20.777778
40
0.834225
OpenTechEngine-Libraries
44b4580632d37867ab5ba5420a10c8d9e90df25b
851
cpp
C++
src/main.cpp
niko-niko-ni/eme
5c3718731464f67a3a03efe7d6012375701c4538
[ "MIT" ]
3
2020-08-11T01:27:29.000Z
2021-02-10T04:31:13.000Z
src/main.cpp
niko-niko-ni/eme
5c3718731464f67a3a03efe7d6012375701c4538
[ "MIT" ]
null
null
null
src/main.cpp
niko-niko-ni/eme
5c3718731464f67a3a03efe7d6012375701c4538
[ "MIT" ]
null
null
null
#include <vector> #include <iostream> #include "types.h" #include "symbol.h" #include "token.h" #include "lexer.h" #include "statement_parser.h" #include "ast.h" #include "ast_parser.h" int main() { try { printf("main block started. moving on to lexing...\n"); Token_Linked_List tokens = lex_file((char*)"./ex...
27.451613
81
0.692127
niko-niko-ni
44b5dc9f4394158bd5620d96ac75b751757d0878
16,107
cpp
C++
src/interaction/navigationhandler.cpp
PhysicsTeacher13/OpenSpace
dd007461be4248b71fc465eaede4808a6c905df5
[ "MIT" ]
null
null
null
src/interaction/navigationhandler.cpp
PhysicsTeacher13/OpenSpace
dd007461be4248b71fc465eaede4808a6c905df5
[ "MIT" ]
null
null
null
src/interaction/navigationhandler.cpp
PhysicsTeacher13/OpenSpace
dd007461be4248b71fc465eaede4808a6c905df5
[ "MIT" ]
null
null
null
/***************************************************************************************** * * * OpenSpace * * ...
36.773973
90
0.592351
PhysicsTeacher13
44b659fdfcf335ad97f6a58480929bfab09662e5
1,802
cpp
C++
Data Structure/BinarySearchTree/lowest common ancestor.cpp
ShreyaDayma-cse/Contribute-to-HacktoberFest2021
6847aeb1c14c67f78b79f926af45e9ea1bdfda35
[ "MIT" ]
2
2021-10-06T10:00:26.000Z
2021-10-06T10:00:30.000Z
Data Structure/BinarySearchTree/lowest common ancestor.cpp
ShreyaDayma-cse/Contribute-to-HacktoberFest2021
6847aeb1c14c67f78b79f926af45e9ea1bdfda35
[ "MIT" ]
null
null
null
Data Structure/BinarySearchTree/lowest common ancestor.cpp
ShreyaDayma-cse/Contribute-to-HacktoberFest2021
6847aeb1c14c67f78b79f926af45e9ea1bdfda35
[ "MIT" ]
null
null
null
// A recursive CPP program to find // LCA of two nodes n1 and n2. #include <bits/stdc++.h> using namespace std; class node { public: int data; node* left, *right; }; /* Function to find LCA of n1 and n2. The function assumes that both n1 and n2 are present in BST */ struct node *lca...
25.027778
76
0.506104
ShreyaDayma-cse
44b8d9bba31dbe8f2adaf3072186237fb7d61f51
5,433
cpp
C++
includes/lib_encrypt-me/sources/Controller.cpp
Marsevil/encrypt-me
94bd9aa7b8fcb61192f21b9a99f593d9ff01ee01
[ "MIT" ]
3
2020-11-21T23:20:01.000Z
2021-12-25T22:26:51.000Z
includes/lib_encrypt-me/sources/Controller.cpp
Marsevil/encrypt-me
94bd9aa7b8fcb61192f21b9a99f593d9ff01ee01
[ "MIT" ]
6
2020-11-22T01:25:40.000Z
2021-05-11T13:04:21.000Z
includes/lib_encrypt-me/sources/Controller.cpp
Marsevil/encrypt-me
94bd9aa7b8fcb61192f21b9a99f593d9ff01ee01
[ "MIT" ]
1
2021-05-16T15:19:42.000Z
2021-05-16T15:19:42.000Z
// // Created by marsevil on 10/01/2021. // #include "Controller.hpp" Controller::Controller(View* _view, sf::path const& _source, sf::path const& _destination, std::string const& _password) : view(_view), source(_source), destination(_destination), password(_password) { // Nothing to do here. } Controller::~Con...
36.709459
143
0.638874
Marsevil
44ba5c3704b1f06ffe7f86a14c0b9b0231eb7ae2
4,690
cc
C++
dacbench/envs/rl-plan/fast-downward/src/search/merge_and_shrink/merge_scoring_function_dfp.cc
ndangtt/LeadingOnesDAC
953747d8702f179851d7973c65779a1f830e03a1
[ "Apache-2.0" ]
1
2022-02-23T15:26:11.000Z
2022-02-23T15:26:11.000Z
dacbench/envs/rl-plan/fast-downward/src/search/merge_and_shrink/merge_scoring_function_dfp.cc
ndangtt/LeadingOnesDAC
953747d8702f179851d7973c65779a1f830e03a1
[ "Apache-2.0" ]
null
null
null
dacbench/envs/rl-plan/fast-downward/src/search/merge_and_shrink/merge_scoring_function_dfp.cc
ndangtt/LeadingOnesDAC
953747d8702f179851d7973c65779a1f830e03a1
[ "Apache-2.0" ]
null
null
null
#include "merge_scoring_function_dfp.h" #include "distances.h" #include "factored_transition_system.h" #include "label_equivalence_relation.h" #include "labels.h" #include "transition_system.h" #include "../options/option_parser.h" #include "../options/plugin.h" #include "../utils/markup.h" #include <cassert> usin...
36.076923
82
0.632196
ndangtt
44bafafe79871d1e0479f4063007537e36544ed8
3,732
cpp
C++
drake/systems/plants/constraint/testMultipleTimeLinearPostureConstraintmex.cpp
ericmanzi/double_pendulum_lqr
76bba3091295abb7d412c4a3156258918f280c96
[ "BSD-3-Clause" ]
4
2018-04-16T09:54:52.000Z
2021-03-29T21:59:27.000Z
drake/systems/plants/constraint/testMultipleTimeLinearPostureConstraintmex.cpp
ericmanzi/double_pendulum_lqr
76bba3091295abb7d412c4a3156258918f280c96
[ "BSD-3-Clause" ]
null
null
null
drake/systems/plants/constraint/testMultipleTimeLinearPostureConstraintmex.cpp
ericmanzi/double_pendulum_lqr
76bba3091295abb7d412c4a3156258918f280c96
[ "BSD-3-Clause" ]
1
2017-08-24T20:32:03.000Z
2017-08-24T20:32:03.000Z
#include "mex.h" #include "RigidBodyConstraint.h" #include "drakeMexUtil.h" #include "../RigidBodyManipulator.h" #include <cstring> /* * [num_constraint,constraint_val,iAfun,jAvar,A ,constraint_name,lower_bound,upper_bound] = testMultipleTimeLinearPostureConstraintmex(kinCnst_ptr,q,t) * @param kinCnst_ptr ...
46.65
201
0.716506
ericmanzi
44bd081ae118bde5c09ba8998956997d39e06cdd
544
cpp
C++
archives/problemset/codeforces.com/137C.cpp
BoleynSu/CP-CompetitiveProgramming
cc256bf402360fe0f689fdcdc4e898473a9594dd
[ "MIT" ]
6
2019-03-23T21:06:25.000Z
2021-06-27T05:22:41.000Z
archives/problemset/codeforces.com/137C.cpp
BoleynSu/CP-CompetitiveProgramming
cc256bf402360fe0f689fdcdc4e898473a9594dd
[ "MIT" ]
1
2020-10-11T08:14:00.000Z
2020-10-11T08:14:00.000Z
archives/problemset/codeforces.com/137C.cpp
BoleynSu/CP-CompetitiveProgramming
cc256bf402360fe0f689fdcdc4e898473a9594dd
[ "MIT" ]
3
2019-03-23T21:06:31.000Z
2021-10-24T01:44:01.000Z
#include <string> #include <iostream> #include <vector> #include <utility> #include <algorithm> using namespace std; typedef pair<int,int> PII; typedef vector<PII> VPII; #define a second #define b first int main() { int n; cin>>n; VPII v(n); for (int i=0;i<n;i++) cin>>v[i]....
17
42
0.516544
BoleynSu
44bdf92af8f76917c2ef37bba53a3803c61dddf6
22,099
cc
C++
src/lib/process/tests/d_cfg_mgr_unittests.cc
gumingpo/kea-latest
ca64954cd71dd544e7c92a0aa366dfc0f79d4ce1
[ "Apache-2.0" ]
1
2017-08-24T19:55:21.000Z
2017-08-24T19:55:21.000Z
src/lib/process/tests/d_cfg_mgr_unittests.cc
Acidburn0zzz/kea
3036e88d4ff730919cd7d2fb50a961a5d33bf390
[ "Apache-2.0" ]
null
null
null
src/lib/process/tests/d_cfg_mgr_unittests.cc
Acidburn0zzz/kea
3036e88d4ff730919cd7d2fb50a961a5d33bf390
[ "Apache-2.0" ]
null
null
null
// Copyright (C) 2013-2017 Internet Systems Consortium, Inc. ("ISC") // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. #include <config.h> #include <cc/command_int...
37.90566
79
0.675234
gumingpo
44c01e02d26812b47858cb315b1b9d92fcbc95a6
6,254
cpp
C++
opencv-2.4.11/modules/imgproc/src/matchcontours.cpp
durai-chellamuthu/node-opencv
a9c18c77b2fe0f62f2f8376854bdf33de71f5dc3
[ "MIT" ]
264
2015-01-04T10:58:41.000Z
2022-03-30T21:26:07.000Z
opencv-2.4.11/modules/imgproc/src/matchcontours.cpp
durai-chellamuthu/node-opencv
a9c18c77b2fe0f62f2f8376854bdf33de71f5dc3
[ "MIT" ]
30
2015-02-16T21:06:34.000Z
2019-07-18T10:22:57.000Z
opencv-2.4.11/modules/imgproc/src/matchcontours.cpp
durai-chellamuthu/node-opencv
a9c18c77b2fe0f62f2f8376854bdf33de71f5dc3
[ "MIT" ]
57
2015-02-20T16:38:48.000Z
2020-12-27T08:57:10.000Z
/*M/////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not download, instal...
31.427136
90
0.48369
durai-chellamuthu
44c036da3c5ac682a871fce79885115f340c6b1b
1,816
cpp
C++
src/BejeweledIO.cpp
AlexBarnes86/Jewels
0a4ec5ced01309e3a8a77f7377d84a12306b1688
[ "MIT" ]
null
null
null
src/BejeweledIO.cpp
AlexBarnes86/Jewels
0a4ec5ced01309e3a8a77f7377d84a12306b1688
[ "MIT" ]
null
null
null
src/BejeweledIO.cpp
AlexBarnes86/Jewels
0a4ec5ced01309e3a8a77f7377d84a12306b1688
[ "MIT" ]
null
null
null
#include "BejeweledIO.h" #include <stdlib.h> ScoreIO::ScoreIO() : scoreFile("HighScores.txt") { readScores(); } vector<PlayerScore> ScoreIO::readScores() { string HighScores = "HighScores.txt"; ifstream ist(HighScores.c_str()); if(!ist) cout << "High Score File Not Found!" << endl; string t...
22.146341
117
0.585903
AlexBarnes86
44c1f507a48534a5fa1674dce8129005d09e86b4
11,528
cpp
C++
llc/gpk_encoding.cpp
asm128/gpk
cbd81e2de8024176eb6401746bbbfcd0b69c3e9f
[ "Apache-2.0" ]
null
null
null
llc/gpk_encoding.cpp
asm128/gpk
cbd81e2de8024176eb6401746bbbfcd0b69c3e9f
[ "Apache-2.0" ]
1
2018-06-22T00:58:58.000Z
2018-06-22T00:58:58.000Z
llc/gpk_encoding.cpp
asm128/gpk
cbd81e2de8024176eb6401746bbbfcd0b69c3e9f
[ "Apache-2.0" ]
1
2018-07-16T20:18:03.000Z
2018-07-16T20:18:03.000Z
#include "gpk_encoding.h" #include "gpk_view_bit.h" #include "gpk_noise.h" #include "gpk_chrono.h" #include "gpk_parse.h" #include <ctime> #include <random> ::gpk::error_t gpk::saltDataSalt (const ::gpk::view_const_byte& binary, ::gpk::array_pod<byte_t> & salted) { gpk_necall(salted.resize(bi...
45.385827
201
0.523942
asm128
44c27f857b84d3171d72122c13641b9b0f5aeba5
1,400
cpp
C++
amr-wind/equation_systems/icns/source_terms/BodyForce.cpp
gdeskos/amr-wind
002a2bbb1538a25a06126504d507245b623413f6
[ "BSD-3-Clause" ]
2
2022-02-16T18:00:27.000Z
2022-03-21T18:57:14.000Z
amr-wind/equation_systems/icns/source_terms/BodyForce.cpp
gdeskos/amr-wind
002a2bbb1538a25a06126504d507245b623413f6
[ "BSD-3-Clause" ]
1
2022-02-16T21:09:49.000Z
2022-02-16T21:09:49.000Z
amr-wind/equation_systems/icns/source_terms/BodyForce.cpp
gdeskos/amr-wind
002a2bbb1538a25a06126504d507245b623413f6
[ "BSD-3-Clause" ]
1
2022-01-04T18:15:30.000Z
2022-01-04T18:15:30.000Z
#include "amr-wind/equation_systems/icns/source_terms/BodyForce.H" #include "amr-wind/CFDSim.H" #include "amr-wind/utilities/trig_ops.H" #include "AMReX_ParmParse.H" #include "AMReX_Gpu.H" namespace amr_wind { namespace pde { namespace icns { /** Body Force */ BodyForce::BodyForce(const CFDSim& sim) : m_time(sim.ti...
26.923077
79
0.649286
gdeskos
44c360e7a8e3f52a0b6390f8f47612c47ed43f14
339
cpp
C++
src/StringId.cpp
microsoft/gqlmapi
953f8c0a1c4d069c34716dfe97ede4d3ff1ddcaa
[ "MIT" ]
3
2021-02-11T15:38:51.000Z
2021-12-29T15:00:13.000Z
src/StringId.cpp
microsoft/gqlmapi
953f8c0a1c4d069c34716dfe97ede4d3ff1ddcaa
[ "MIT" ]
null
null
null
src/StringId.cpp
microsoft/gqlmapi
953f8c0a1c4d069c34716dfe97ede4d3ff1ddcaa
[ "MIT" ]
3
2021-02-14T13:50:36.000Z
2021-02-14T13:50:49.000Z
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #include "Types.h" #include "Unicode.h" namespace graphql::mapi { StringId::StringId(PCWSTR name) : m_name { convert::utf8::to_utf8(name) } { } const std::string& StringId::getName() const { return m_name; } } // name...
17.842105
60
0.710914
microsoft
44c4101369212356265ec2af1c92d6847e37499b
24,967
cc
C++
art/compiler/optimizing/graph_checker.cc
lihuibng/marshmallow
950cf8de3b4d63af9fc9699374e4ec45ad09b3a7
[ "Apache-2.0" ]
5
2022-02-27T08:38:13.000Z
2022-03-21T03:03:49.000Z
art/compiler/optimizing/graph_checker.cc
lihuibng/marshmallow
950cf8de3b4d63af9fc9699374e4ec45ad09b3a7
[ "Apache-2.0" ]
1
2022-03-08T08:20:47.000Z
2022-03-08T08:20:47.000Z
art/compiler/optimizing/graph_checker.cc
lihuibng/marshmallow
950cf8de3b4d63af9fc9699374e4ec45ad09b3a7
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2014 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
40.269355
96
0.597669
lihuibng
44c476f120a0f728f5d117f3ae8b0b0a1bc487dd
21,386
cpp
C++
BonDriver_Proxy.cpp
epgdatacapbon/BonDriverProxy_Linux
3d778b07354820a8f60b50b07fffbc334cec15a0
[ "MIT" ]
30
2015-01-27T15:34:50.000Z
2021-01-24T12:50:04.000Z
BonDriver_Proxy.cpp
epgdatacapbon/BonDriverProxy_Linux
3d778b07354820a8f60b50b07fffbc334cec15a0
[ "MIT" ]
1
2017-01-31T06:52:10.000Z
2017-01-31T06:52:10.000Z
BonDriver_Proxy.cpp
epgdatacapbon/BonDriverProxy_Linux
3d778b07354820a8f60b50b07fffbc334cec15a0
[ "MIT" ]
16
2015-04-11T02:06:11.000Z
2022-01-28T04:02:31.000Z
#include "BonDriver_Proxy.h" namespace BonDriver_Proxy { static BOOL IsTagMatch(const char *line, const char *tag, char **value) { const int taglen = ::strlen(tag); const char *p; if (::strncmp(line, tag, taglen) != 0) return FALSE; p = line + taglen; while (*p == ' ' || *p == '\t') p++; if (value == NULL ...
20.742968
136
0.634901
epgdatacapbon
44c560a2a5700361e8de3ae5bb21827a9af88b54
999
cc
C++
tests/test0009.cc
michaeljclark/glyb
5b302ded6061eea2098bc8e963adb09e5f1dab4e
[ "MIT" ]
7
2021-07-28T19:03:08.000Z
2022-02-02T23:17:11.000Z
tests/test0009.cc
michaeljclark/glyb
5b302ded6061eea2098bc8e963adb09e5f1dab4e
[ "MIT" ]
2
2021-06-15T22:34:44.000Z
2021-11-10T04:27:21.000Z
tests/test0009.cc
michaeljclark/glyb
5b302ded6061eea2098bc8e963adb09e5f1dab4e
[ "MIT" ]
null
null
null
#include <cstdio> #include <cstdlib> #include <cerrno> #include <cstring> #define FLOAT32 "%.9g" struct atlas_ent { int bin_id, font_id, glyph; short x, y, ox, oy, w, h; }; int main(int argc, char **argv) { FILE *in = nullptr; if (argc != 2) { fprintf(stderr, "usage: %s <filename>\n", argv[0...
22.704545
76
0.491491
michaeljclark
44c5c0645aeb629366c56177ce4382dd3b73e9f4
123
cpp
C++
Trixs/UIManager.cpp
RuurddeRonde/Trixs-raytracer
382d4e95a54274ef7fbc4f4fba7575fe6f286298
[ "MIT" ]
2
2020-08-25T00:31:17.000Z
2021-12-11T22:14:02.000Z
Trixs/UIManager.cpp
RuurddeRonde/Trixs-raytracer
382d4e95a54274ef7fbc4f4fba7575fe6f286298
[ "MIT" ]
null
null
null
Trixs/UIManager.cpp
RuurddeRonde/Trixs-raytracer
382d4e95a54274ef7fbc4f4fba7575fe6f286298
[ "MIT" ]
null
null
null
#include "UIManager.h" namespace Trixs { UIManager::UIManager(Window* window) { } UIManager::~UIManager() { } }
7.6875
37
0.642276
RuurddeRonde
44c6dedd44ad4509a3f5a9c13fc04d6f1ffbdc64
6,995
cc
C++
lite/kernels/arm/concat_compute_test.cc
xw-github/Paddle-Lite
3cbd1d375d89c4deb379d44cdbcdc32ee74634c5
[ "Apache-2.0" ]
null
null
null
lite/kernels/arm/concat_compute_test.cc
xw-github/Paddle-Lite
3cbd1d375d89c4deb379d44cdbcdc32ee74634c5
[ "Apache-2.0" ]
null
null
null
lite/kernels/arm/concat_compute_test.cc
xw-github/Paddle-Lite
3cbd1d375d89c4deb379d44cdbcdc32ee74634c5
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2019 PaddlePaddle Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required...
29.639831
79
0.599714
xw-github
44c72f463289e7db5e76fe0aa208aa0af4889fea
799
cpp
C++
CCC/Stage1/08-Done/ccc08j3.cpp
zzh8829/CompetitiveProgramming
36f36b10269b4648ca8be0b08c2c49e96abede25
[ "MIT" ]
1
2017-10-01T00:51:39.000Z
2017-10-01T00:51:39.000Z
CCC/Stage1/08-Done/ccc08j3.cpp
zzh8829/CompetitiveProgramming
36f36b10269b4648ca8be0b08c2c49e96abede25
[ "MIT" ]
null
null
null
CCC/Stage1/08-Done/ccc08j3.cpp
zzh8829/CompetitiveProgramming
36f36b10269b4648ca8be0b08c2c49e96abede25
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <cctype> #include <cmath> using namespace std; int x = 1,y=1; int h[31]= { 1,1,1,1,1,1, 2,2,2,2,2,2, 3,3,3,3,3,3, 4,4,4,4,4,4, 5,5,5,5,5,5}; int v[31]= { 1,2,3,4,5,6, 1,2,3,4,5,6, 1,2,3,4,5,6, 1,2,3,4,5,6, 1,2,3,4,5,6}; int getPos(char c) { ...
14.527273
33
0.48811
zzh8829
44c7aaf19786548ecfced6f53e79a496434a9a8c
789
cpp
C++
945.minimum_increment_to_make_array_unique_by_sort.cpp
liangwt/leetcode
8f279343e975666a63ee531228c6836f20f199ca
[ "Apache-2.0" ]
5
2019-09-12T05:23:44.000Z
2021-11-15T11:19:39.000Z
945.minimum_increment_to_make_array_unique_by_sort.cpp
liangwt/leetcode
8f279343e975666a63ee531228c6836f20f199ca
[ "Apache-2.0" ]
18
2019-09-23T13:11:06.000Z
2019-11-09T11:20:17.000Z
945.minimum_increment_to_make_array_unique_by_sort.cpp
liangwt/leetcode
8f279343e975666a63ee531228c6836f20f199ca
[ "Apache-2.0" ]
null
null
null
#include <assert.h> #include <vector> using namespace std; class Solution { public: // 先排序,再依次遍历数组元素,若当前元素小于等于它前一个元素,则将其变为前一个数+1。 int minIncrementForUnique(vector<int> &A) { int ans = 0; int len = A.size(); sort(A.begin(), A.end()); for (int i = 1; i < len; ++i) { ...
18.348837
49
0.460076
liangwt
44c93b13d5c73e5cfdb0d23e0856f038232d5924
3,292
hpp
C++
ql/termstructures/volatility/swaption/swaptionvolcube2.hpp
haozhangphd/QuantLib-noBoost
ddded069868161099843c04840454f00816113ad
[ "BSD-3-Clause" ]
76
2017-06-28T21:24:38.000Z
2021-12-19T18:07:37.000Z
ql/termstructures/volatility/swaption/swaptionvolcube2.hpp
haozhangphd/QuantLib-noBoost
ddded069868161099843c04840454f00816113ad
[ "BSD-3-Clause" ]
2
2017-07-05T09:20:13.000Z
2019-10-31T12:06:51.000Z
ql/termstructures/volatility/swaption/swaptionvolcube2.hpp
haozhangphd/QuantLib-noBoost
ddded069868161099843c04840454f00816113ad
[ "BSD-3-Clause" ]
34
2017-07-02T14:49:21.000Z
2021-11-26T15:32:04.000Z
/* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Copyright (C) 2006 Ferdinando Ametrano This file is part of QuantLib, a free-software/open-source library for financial quantitative analysts and developers - http://quantlib.org/ QuantLib is free software: you can redistribute it...
42.753247
79
0.655832
haozhangphd
44c9bc060a5ca54beee9f52f28b243a07395959e
183,030
hpp
C++
lib/bill/bill/sat/solver/ghack.hpp
osamamowafy/mockturtle
840ff314e9f5301686790a517c383240f1403588
[ "MIT" ]
98
2018-06-15T09:28:11.000Z
2022-03-31T15:42:48.000Z
lib/bill/bill/sat/solver/ghack.hpp
osamamowafy/mockturtle
840ff314e9f5301686790a517c383240f1403588
[ "MIT" ]
257
2018-05-09T12:14:28.000Z
2022-03-30T16:12:14.000Z
lib/bill/bill/sat/solver/ghack.hpp
osamamowafy/mockturtle
840ff314e9f5301686790a517c383240f1403588
[ "MIT" ]
75
2020-11-26T13:05:15.000Z
2021-12-24T00:28:18.000Z
/**************************************************************************************[IntTypes.h] Copyright (c) 2009-2010, Niklas Sorensson 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 withou...
35.979949
243
0.556745
osamamowafy
44cbb1b0cfc3179102cd0bb74edd30370d79a44c
383
cpp
C++
Introductory-Problems/repetitions.cpp
LazyCoder-1506/CSES-Solutions
23430cf2bed7197130a022b7b44a90ee8e13237c
[ "MIT" ]
null
null
null
Introductory-Problems/repetitions.cpp
LazyCoder-1506/CSES-Solutions
23430cf2bed7197130a022b7b44a90ee8e13237c
[ "MIT" ]
null
null
null
Introductory-Problems/repetitions.cpp
LazyCoder-1506/CSES-Solutions
23430cf2bed7197130a022b7b44a90ee8e13237c
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; #define int long long int void solve() { string s; cin >> s; int n = s.length(); int rep = 0; int cnt = 1; for (int i = 1; i < n ; i++) { if (s[i] == s[i - 1]) { cnt++; } else { rep = max(rep, cnt); cnt = 1; } } cout << max...
14.730769
32
0.456919
LazyCoder-1506
44cc781daca41bf2f50fe61cfe53117d575f1a82
5,069
hpp
C++
falcon/literal/utility.hpp
jonathanpoelen/falcon
5b60a39787eedf15b801d83384193a05efd41a89
[ "MIT" ]
2
2018-02-02T14:19:59.000Z
2018-05-13T02:48:24.000Z
falcon/literal/utility.hpp
jonathanpoelen/falcon
5b60a39787eedf15b801d83384193a05efd41a89
[ "MIT" ]
null
null
null
falcon/literal/utility.hpp
jonathanpoelen/falcon
5b60a39787eedf15b801d83384193a05efd41a89
[ "MIT" ]
null
null
null
#ifndef FALCON_LITERAL_UTILITY_HPP #define FALCON_LITERAL_UTILITY_HPP #include <falcon/literal/detail/literal_support.hpp> #include <type_traits> #include <limits> #include <falcon/type_traits/eval_if.hpp> #include <falcon/type_traits/use.hpp> namespace falcon { namespace literal { template<typename _CharT, _CharT ...
27.4
139
0.744526
jonathanpoelen
44cd4518f0eff893fb417a964553c796d59ce102
7,783
cpp
C++
Cores/Mednafen/mednafen-1.21/src/drivers/Joystick_XInput.cpp
werminghoff/Provenance
de61b4a64a3eb8e2774e0a8ed53488c6c7aa6cb2
[ "BSD-3-Clause" ]
2
2021-02-04T22:41:57.000Z
2021-03-27T07:28:02.000Z
Cores/Mednafen/mednafen-1.21/src/drivers/Joystick_XInput.cpp
werminghoff/Provenance
de61b4a64a3eb8e2774e0a8ed53488c6c7aa6cb2
[ "BSD-3-Clause" ]
null
null
null
Cores/Mednafen/mednafen-1.21/src/drivers/Joystick_XInput.cpp
werminghoff/Provenance
de61b4a64a3eb8e2774e0a8ed53488c6c7aa6cb2
[ "BSD-3-Clause" ]
3
2019-02-19T12:55:12.000Z
2019-05-30T08:33:23.000Z
/******************************************************************************/ /* Mednafen - Multi-system Emulator */ /******************************************************************************/ /* Joystick_XInput.cpp: ** Copyright (C) 2012-2018 Mednafen Team ** ** This ...
27.996403
213
0.714891
werminghoff
44cddaff027d71c261189ccf4f9a372801ca72b3
107,053
cpp
C++
src/aligner.cpp
lnceballosz/vg
82d8ba2f38299525c0b0a6b19dcb785d2c439cfa
[ "MIT" ]
null
null
null
src/aligner.cpp
lnceballosz/vg
82d8ba2f38299525c0b0a6b19dcb785d2c439cfa
[ "MIT" ]
null
null
null
src/aligner.cpp
lnceballosz/vg
82d8ba2f38299525c0b0a6b19dcb785d2c439cfa
[ "MIT" ]
null
null
null
// SPDX-FileCopyrightText: 2014 Erik Garrison // // SPDX-License-Identifier: MIT #include "aligner.hpp" #include "hash_map.hpp" //#define debug_print_score_matrices using namespace vg; using namespace std; using namespace vg::io; static const double quality_scale_factor = 10.0 / log(10.0); static const double exp_...
44.62401
261
0.545571
lnceballosz
44d0d8d84f9c14123b958c0932770f98c8761f30
8,573
cc
C++
L1Trigger/Phase2L1GMT/plugins/Phase2L1TGMTStubProducer.cc
PKUfudawei/cmssw
8fbb5ce74398269c8a32956d7c7943766770c093
[ "Apache-2.0" ]
1
2021-11-30T16:24:46.000Z
2021-11-30T16:24:46.000Z
L1Trigger/Phase2L1GMT/plugins/Phase2L1TGMTStubProducer.cc
PKUfudawei/cmssw
8fbb5ce74398269c8a32956d7c7943766770c093
[ "Apache-2.0" ]
4
2021-11-29T13:57:56.000Z
2022-03-29T06:28:36.000Z
L1Trigger/Phase2L1GMT/plugins/Phase2L1TGMTStubProducer.cc
PKUfudawei/cmssw
8fbb5ce74398269c8a32956d7c7943766770c093
[ "Apache-2.0" ]
1
2021-11-30T16:16:05.000Z
2021-11-30T16:16:05.000Z
#include <memory> #include "FWCore/Framework/interface/Frameworkfwd.h" #include "FWCore/Framework/interface/stream/EDProducer.h" #include "FWCore/Framework/interface/Event.h" #include "FWCore/Framework/interface/MakerMacros.h" #include "FWCore/ParameterSet/interface/ParameterSet.h" #include "FWCore/Utilities/interfac...
36.172996
119
0.596991
PKUfudawei
44d11aca04ecf5e58e8615f2f9c3fd92559abda6
5,703
cpp
C++
tsf/src/v20180326/model/CreateLaneRuleRequest.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
null
null
null
tsf/src/v20180326/model/CreateLaneRuleRequest.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
null
null
null
tsf/src/v20180326/model/CreateLaneRuleRequest.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 ...
27.550725
104
0.713835
suluner
44d30c8845789e7c1a30a6f8f4b3b60bc6640599
258
cpp
C++
Kernel/Memory/GenericPagingTable.cpp
UltraOS/Ultra
287035fea303767285e48e5c7867d147790ff55b
[ "Apache-2.0" ]
44
2020-07-09T07:31:43.000Z
2022-03-29T20:55:01.000Z
Kernel/Memory/GenericPagingTable.cpp
8infy/UltraOS
2ed2879c96a7095b5077df5ba5db5b30a6565417
[ "Apache-2.0" ]
3
2021-04-24T13:53:53.000Z
2021-09-27T05:50:28.000Z
Kernel/Memory/GenericPagingTable.cpp
8infy/UltraOS
2ed2879c96a7095b5077df5ba5db5b30a6565417
[ "Apache-2.0" ]
3
2021-03-01T09:29:12.000Z
2021-06-25T17:06:27.000Z
#include "GenericPagingTable.h" #include "MemoryManager.h" namespace kernel { #ifdef ULTRA_64 Address GenericPagingTable::accessible_address_of(size_t index) { return MemoryManager::physical_memory_base + entry_at(index).physical_address(); } #endif }
19.846154
84
0.794574
UltraOS
44d3365f13f73e2600d5b70a15dedde1615a9b46
9,280
cc
C++
third_party/abseil-cpp/absl/strings/internal/cord_rep_btree_reader_test.cc
Antidote/dawn-cmake
b8c6d669fa3c0087aa86653a4078386ffb42f199
[ "BSD-3-Clause" ]
1
2021-12-25T05:54:09.000Z
2021-12-25T05:54:09.000Z
third_party/abseil-cpp/absl/strings/internal/cord_rep_btree_reader_test.cc
Antidote/dawn-cmake
b8c6d669fa3c0087aa86653a4078386ffb42f199
[ "BSD-3-Clause" ]
null
null
null
third_party/abseil-cpp/absl/strings/internal/cord_rep_btree_reader_test.cc
Antidote/dawn-cmake
b8c6d669fa3c0087aa86653a4078386ffb42f199
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2021 The Abseil 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
32.447552
79
0.671013
Antidote
44d41cf17e0a436311f4dc84aac84ff2a88353bb
4,020
cpp
C++
third_party/libigl/include/igl/vertex_components.cpp
chefmramos85/monster-mash
239a41f6f178ca83c4be638331e32f23606b0381
[ "Apache-2.0" ]
1,125
2021-02-01T09:51:56.000Z
2022-03-31T01:50:40.000Z
third_party/libigl/include/igl/vertex_components.cpp
ryan-cranfill/monster-mash
c1b906d996885f8a4011bdf7558e62e968e1e914
[ "Apache-2.0" ]
19
2021-02-01T12:36:30.000Z
2022-03-19T14:02:50.000Z
third_party/libigl/include/igl/vertex_components.cpp
ryan-cranfill/monster-mash
c1b906d996885f8a4011bdf7558e62e968e1e914
[ "Apache-2.0" ]
148
2021-02-13T10:54:31.000Z
2022-03-28T11:55:20.000Z
// This file is part of libigl, a simple c++ geometry processing library. // // Copyright (C) 2013 Alec Jacobson <alecjacobson@gmail.com> // // This Source Code Form is subject to the terms of the Mozilla Public License // v. 2.0. If a copy of the MPL was not distributed with this file, You can // obtain one at http://...
40.606061
356
0.650498
chefmramos85
44d539162d25a56d73e0a8e5b839698853ae1d18
52,948
cc
C++
ui/gl/gl_bindings_autogen_glx.cc
zipated/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
ui/gl/gl_bindings_autogen_glx.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
ui/gl/gl_bindings_autogen_glx.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
// 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. // // This file is auto-generated from // ui/gl/generate_bindings.py // It's formatted by clang-format using chromium coding style: // clang-format -i -...
41.56044
80
0.585348
zipated
44d7e572a4e13add39ef307b60d9323142d301ad
5,868
cpp
C++
tf2_src/utils/vmpi/vmpi_job_watch/GraphControl.cpp
IamIndeedGamingAsHardAsICan03489/TeamFortress2
1b81dded673d49adebf4d0958e52236ecc28a956
[ "MIT" ]
4
2021-10-03T05:16:55.000Z
2021-12-28T16:49:27.000Z
src/utils/vmpi/vmpi_job_watch/GraphControl.cpp
cafeed28/what
08e51d077f0eae50afe3b592543ffa07538126f5
[ "Unlicense" ]
null
null
null
src/utils/vmpi/vmpi_job_watch/GraphControl.cpp
cafeed28/what
08e51d077f0eae50afe3b592543ffa07538126f5
[ "Unlicense" ]
3
2022-02-02T18:09:58.000Z
2022-03-06T18:54:39.000Z
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: // // $NoKeywords: $ // //=============================================================================// // GraphControl.cpp : implementation file // #include "stdafx.h" #include "vmpi_browser_job_watch.h" #include "GraphCont...
23.757085
113
0.632243
IamIndeedGamingAsHardAsICan03489
44d9ff95f08b9f006f7274635d2bcf74670b6911
2,125
cpp
C++
map/map_tests/transliteration_test.cpp
ToshUxanoff/omim
a8acb5821c72bd78847d1c49968b14d15b1e06ee
[ "Apache-2.0" ]
null
null
null
map/map_tests/transliteration_test.cpp
ToshUxanoff/omim
a8acb5821c72bd78847d1c49968b14d15b1e06ee
[ "Apache-2.0" ]
null
null
null
map/map_tests/transliteration_test.cpp
ToshUxanoff/omim
a8acb5821c72bd78847d1c49968b14d15b1e06ee
[ "Apache-2.0" ]
null
null
null
#include "testing/testing.hpp" #include "coding/string_utf8_multilang.hpp" #include "coding/transliteration.hpp" #include "platform/platform.hpp" namespace { void TestTransliteration(Transliteration const & translit, std::string const & locale, std::string const & original, std::string const...
44.270833
102
0.715294
ToshUxanoff
44da75c56fd1a30a62e86c302030115c51ae01f3
2,851
cc
C++
paddle/fluid/memory/allocation/thread_local_allocator.cc
suytingwan/Paddle
d4560871878eaec4f1f682af56fb364a5f596b18
[ "Apache-2.0" ]
1
2020-05-12T04:00:14.000Z
2020-05-12T04:00:14.000Z
paddle/fluid/memory/allocation/thread_local_allocator.cc
MaJun-cn/Paddle
0ec3a42e9740a5f5066053bb49a923d538eba24a
[ "Apache-2.0" ]
null
null
null
paddle/fluid/memory/allocation/thread_local_allocator.cc
MaJun-cn/Paddle
0ec3a42e9740a5f5066053bb49a923d538eba24a
[ "Apache-2.0" ]
4
2020-07-27T13:24:03.000Z
2020-08-06T08:20:32.000Z
// Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required...
37.025974
80
0.722203
suytingwan
44dd43a158a99088eda748363433770d5e6d17ff
3,248
cpp
C++
Phoenix3D/PX2Core/PX2Event.cpp
PheonixFoundation/Phoenix3D
bfb2e3757bf61ac461aeeda9216bf8c8fdf76d99
[ "BSL-1.0" ]
36
2016-04-24T01:40:38.000Z
2022-01-18T07:32:26.000Z
Phoenix3D/PX2Core/PX2Event.cpp
PheonixFoundation/Phoenix3D
bfb2e3757bf61ac461aeeda9216bf8c8fdf76d99
[ "BSL-1.0" ]
null
null
null
Phoenix3D/PX2Core/PX2Event.cpp
PheonixFoundation/Phoenix3D
bfb2e3757bf61ac461aeeda9216bf8c8fdf76d99
[ "BSL-1.0" ]
16
2016-06-13T08:43:51.000Z
2020-09-15T13:25:58.000Z
// PX2Event.cpp #include "PX2Event.hpp" #include "PX2Assert.hpp" using namespace PX2; Event::Event () : mEventType(0), mSender(0), mReceiver(0), mDelayTime(0.0f), mDelayTiming(0.0f), mIsDoDelay(false) { mEventChannel.FillUserChannel(); } //---------------------------------------------------------------------------- ...
25.178295
78
0.40117
PheonixFoundation
44dde9125f17488902a192c50863c28b054d7e7c
8,506
hpp
C++
lib/lorina/lorina/genlib.hpp
fmozafari/mockturtle
ebf32a5643bf818a3720809b867a0401a4bc6eed
[ "MIT" ]
null
null
null
lib/lorina/lorina/genlib.hpp
fmozafari/mockturtle
ebf32a5643bf818a3720809b867a0401a4bc6eed
[ "MIT" ]
null
null
null
lib/lorina/lorina/genlib.hpp
fmozafari/mockturtle
ebf32a5643bf818a3720809b867a0401a4bc6eed
[ "MIT" ]
1
2021-12-20T20:42:30.000Z
2021-12-20T20:42:30.000Z
/* lorina: C++ parsing library * Copyright (C) 2018-2021 EPFL * * 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, ...
25.932927
153
0.618152
fmozafari
44ded4ccb5a4e2954add318cdc7c412c190c51b9
1,635
cpp
C++
o12e1ska/skar.cpp
czers/oi-tasks
b862cd33bd2230c7cea135333056954388ba9502
[ "Unlicense" ]
null
null
null
o12e1ska/skar.cpp
czers/oi-tasks
b862cd33bd2230c7cea135333056954388ba9502
[ "Unlicense" ]
null
null
null
o12e1ska/skar.cpp
czers/oi-tasks
b862cd33bd2230c7cea135333056954388ba9502
[ "Unlicense" ]
null
null
null
#include <cstdio> class FindUnion { private: int rank; FindUnion *parent; public: static void MakeSet(FindUnion &x) { x.parent = &x; x.rank = 0; } static void Union(FindUnion &x, FindUnion &y) { FindUnion *xRoot = FindU...
24.044118
58
0.428746
czers
44e1baffbba192d7088b5f642560792da83e0db0
447
hpp
C++
SDK/Examples/FilamentViewer/FilamentViewer/Debugging/LogLights.hpp
h-haris/Quesa
a438ab824291ce6936a88dfae4fd0482dcba1247
[ "BSD-3-Clause" ]
24
2019-10-28T07:01:48.000Z
2022-03-04T16:10:39.000Z
SDK/Examples/FilamentViewer/FilamentViewer/Debugging/LogLights.hpp
h-haris/Quesa
a438ab824291ce6936a88dfae4fd0482dcba1247
[ "BSD-3-Clause" ]
8
2020-04-22T19:42:45.000Z
2021-04-30T16:28:32.000Z
SDK/Examples/FilamentViewer/FilamentViewer/Debugging/LogLights.hpp
h-haris/Quesa
a438ab824291ce6936a88dfae4fd0482dcba1247
[ "BSD-3-Clause" ]
6
2019-09-22T14:44:15.000Z
2021-04-01T20:04:29.000Z
// // LogLights.hpp // FilamentViewer // // Created by James Walker on 5/27/21. // #ifndef LogLights_hpp #define LogLights_hpp namespace filament { class Engine; class Scene; }; /*! @function LogLights @abstract Log various information about lights in a Scene to std::cout. @param inEngine An engine. @p...
15.964286
72
0.704698
h-haris
44e311176e7266c61c291f5a3a20165d39ebaa92
1,204
cpp
C++
16_SWAPING_VARIABLES_POINTERS/Swapping Variables Pointers.cpp
CrispenGari/cool-cpp
bcbf9e0df7af07f8b12aa554fd15d977ecb47f60
[ "MIT" ]
null
null
null
16_SWAPING_VARIABLES_POINTERS/Swapping Variables Pointers.cpp
CrispenGari/cool-cpp
bcbf9e0df7af07f8b12aa554fd15d977ecb47f60
[ "MIT" ]
null
null
null
16_SWAPING_VARIABLES_POINTERS/Swapping Variables Pointers.cpp
CrispenGari/cool-cpp
bcbf9e0df7af07f8b12aa554fd15d977ecb47f60
[ "MIT" ]
null
null
null
#include <algorithm> #include <cmath> #include <cstdlib> #include <ctime> #include <afxres.h> #include <fstream> #include <sstream> #include <vector> using namespace std; #include <map> #include <vector> #include <string> //#include <Crispen.h> // #include <sqlite3.h/sqlite3> #include <utility> #define TRUE "true" #def...
18.242424
67
0.616279
CrispenGari
44e5a903b3287a21da7c1b1ffa5bd1197bb25453
599
cpp
C++
Difficulty 2/fluortanten.cpp
BrynjarGeir/Kattis
a151972cbae3db04a8e6764d5fa468d0146c862b
[ "MIT" ]
null
null
null
Difficulty 2/fluortanten.cpp
BrynjarGeir/Kattis
a151972cbae3db04a8e6764d5fa468d0146c862b
[ "MIT" ]
null
null
null
Difficulty 2/fluortanten.cpp
BrynjarGeir/Kattis
a151972cbae3db04a8e6764d5fa468d0146c862b
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> using namespace std; int calc_sum(vector<int> numbers) { int ans = 0; for(int i = 1; i <= numbers.size(); i++) ans += i * numbers.at(i-1); return ans; } int main() { int n, number, pos; cin >> n; vector<pair<int, int>> numbers; for(int i = 0; i < n; ...
21.392857
99
0.557596
BrynjarGeir
44e5dfa02242f7d12230a06294f51d7fe06a5a06
1,451
hxx
C++
Legolas/Vector/VirtualVector.hxx
LaurentPlagne/Legolas
fdf533528baf7ab5fcb1db15d95d2387b3e3723c
[ "MIT" ]
null
null
null
Legolas/Vector/VirtualVector.hxx
LaurentPlagne/Legolas
fdf533528baf7ab5fcb1db15d95d2387b3e3723c
[ "MIT" ]
null
null
null
Legolas/Vector/VirtualVector.hxx
LaurentPlagne/Legolas
fdf533528baf7ab5fcb1db15d95d2387b3e3723c
[ "MIT" ]
1
2021-02-11T14:43:25.000Z
2021-02-11T14:43:25.000Z
#pragma once #include <cstdlib> namespace Legolas{ class VirtualVector { public: // virtual int getSize( void ) const = 0 ; typedef std::size_t SizeType; virtual SizeType size( void ) const = 0 ; virtual const VirtualVector & getElement( SizeType i ) const = 0 ; virtual VirtualVector & g...
30.87234
104
0.673329
LaurentPlagne
44ea1cd2cb3edc3ee3cfe10d4fbfcfd4ae550453
3,363
cpp
C++
src/cli/main.cpp
brio1009/ElTrazadoDeRayos
8c65eb9c7724812ab9f8103fd00a28324753e4b6
[ "BSL-1.0", "MIT" ]
null
null
null
src/cli/main.cpp
brio1009/ElTrazadoDeRayos
8c65eb9c7724812ab9f8103fd00a28324753e4b6
[ "BSL-1.0", "MIT" ]
null
null
null
src/cli/main.cpp
brio1009/ElTrazadoDeRayos
8c65eb9c7724812ab9f8103fd00a28324753e4b6
[ "BSL-1.0", "MIT" ]
null
null
null
/* The MIT License (MIT) Copyright (c) 2014 CantTouchDis <bauschp@informatik.uni-freiburg.de> Copyright (c) 2014 brio1009 <christoph1009@gmail.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...
30.853211
78
0.704728
brio1009
44ec4114d7fa6efb661cd63cc83691347994eec8
364
cpp
C++
PrimeNumber.cpp
tusharxsharma/BasicPrograms
8aa30da7c1f63d5c7762bb252e65acb76f1b0edd
[ "Unlicense" ]
1
2020-03-18T18:40:48.000Z
2020-03-18T18:40:48.000Z
PrimeNumber.cpp
tusharxsharma/BasicPrograms
8aa30da7c1f63d5c7762bb252e65acb76f1b0edd
[ "Unlicense" ]
null
null
null
PrimeNumber.cpp
tusharxsharma/BasicPrograms
8aa30da7c1f63d5c7762bb252e65acb76f1b0edd
[ "Unlicense" ]
null
null
null
#include<iostream> using namespace std; int main() { int n , x; cout <<"Enter the number : \n"; cin>>n; if(n<2) cout<<"Number is lesser than 2 and not applicable"; else { for(x=2;x<n;x++) { if(n%x==0) { cout<<"Not Prime Number"; exit(0); } else { cout<<"Prime...
13.481481
54
0.478022
tusharxsharma
44ed03145058d315d8572e1838db40ebe2c60e56
5,207
cpp
C++
ext/native/java/lang/reflect/Array_-native.cpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
ext/native/java/lang/reflect/Array_-native.cpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
ext/native/java/lang/reflect/Array_-native.cpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
// Generated from /Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/rt.jar #include <java/lang/reflect/Array_.hpp> extern void unimplemented_(const char16_t* name); java::lang::Object* java::lang::reflect::Array_::get(::java::lang::Object* array, int32_t index) { /* native */ clinit(); ...
39.44697
142
0.677165
pebble2015
44ed72cc0cc7f5374eb6eef7af91e09a046b67b8
415
cpp
C++
Source/Python/Concat.cpp
andrei-sa/aspen
6644663fc19a83fba0603dc4bbd6dbe71cfd55aa
[ "Apache-2.0" ]
2
2020-10-16T19:41:19.000Z
2021-02-01T04:55:51.000Z
Source/Python/Concat.cpp
andrei-sa/aspen
6644663fc19a83fba0603dc4bbd6dbe71cfd55aa
[ "Apache-2.0" ]
1
2020-04-24T18:17:39.000Z
2020-04-24T18:37:01.000Z
Source/Python/Concat.cpp
andrei-sa/aspen
6644663fc19a83fba0603dc4bbd6dbe71cfd55aa
[ "Apache-2.0" ]
2
2020-04-17T13:24:29.000Z
2020-04-24T18:12:29.000Z
#include "Aspen/Python/Concat.hpp" #include "Aspen/Python/Box.hpp" using namespace Aspen; using namespace pybind11; void Aspen::export_concat(pybind11::module& module) { export_box<SharedBox<object>>(module, "Box"); export_concat<SharedBox<SharedBox<object>>>(module, ""); module.def("concat", [] (SharedBox<...
27.666667
58
0.710843
andrei-sa
44ed970a155b89b6b66713b2058e473d5fd16ba2
628
hh
C++
src/Zynga/Framework/Lockable/Cache/V1/Config/Mock/PgData/DevTest.hh
zynga/zynga-hacklang-framework
2730f354adb684085fff6dca3c1cac1b31502c6b
[ "MIT" ]
19
2018-04-23T09:30:48.000Z
2022-03-06T21:35:18.000Z
src/Zynga/Framework/Lockable/Cache/V1/Config/Mock/PgData/DevTest.hh
zynga/zynga-hacklang-framework
2730f354adb684085fff6dca3c1cac1b31502c6b
[ "MIT" ]
22
2017-11-27T23:39:25.000Z
2019-08-09T08:56:57.000Z
src/Zynga/Framework/Lockable/Cache/V1/Config/Mock/PgData/DevTest.hh
zynga/zynga-hacklang-framework
2730f354adb684085fff6dca3c1cac1b31502c6b
[ "MIT" ]
28
2017-11-16T20:53:56.000Z
2021-01-04T11:13:17.000Z
<?hh // strict namespace Zynga\Framework\Lockable\Cache\V1\Config\Mock\PgData; use Zynga\Framework\Testing\TestCase\V2\Base as TestCase; use Zynga\Framework\Lockable\Cache\V1\Config\Mock\PgData\Dev as ConfigUnderTest ; use Zynga\Framework\Cache\V2\Interfaces\DriverInterface as CacheDriverInterface ; class DevT...
22.428571
77
0.745223
zynga
44ee14f5a59b8bfde4cd42497b82448f1e5a706b
1,055
cpp
C++
Source/FactorySkyline/UI/FSKeyMappingWidget.cpp
RozeDoyanawa/FactorySkyline
381d983d8c8fcac7fa9ce3c386d52bd68d2248b6
[ "MIT" ]
3
2021-07-09T06:20:11.000Z
2022-01-23T09:29:21.000Z
Source/FactorySkyline/UI/FSKeyMappingWidget.cpp
Nuwisam/FactorySkyline
4e4987d2e7f0a67d992d600fc7f280593cee4f94
[ "MIT" ]
null
null
null
Source/FactorySkyline/UI/FSKeyMappingWidget.cpp
Nuwisam/FactorySkyline
4e4987d2e7f0a67d992d600fc7f280593cee4f94
[ "MIT" ]
6
2021-07-11T15:10:12.000Z
2022-02-27T02:16:15.000Z
// ILikeBanas #include "FactorySkyline/UI/FSKeyMappingWidget.h" #include "Components/Image.h" #include "Components/HorizontalBox.h" #include "Components/TextBlock.h" #include "Components/CanvasPanel.h" #include "Components/CanvasPanelSlot.h" #include "Components/HorizontalBoxSlot.h" UFSKeyMappingWidget:...
23.444444
86
0.756398
RozeDoyanawa
6021b37b4b61016702c87a1c89be28a7029a45bc
1,781
cpp
C++
modules/burdukov_mikhail_horse_min_range/test/test_burdukov_mikhail_horse_min_range.cpp
BalovaElena/devtools-course-practice
f8d5774dbb78ec50200c45fd17665ed40fc8c4c5
[ "CC-BY-4.0" ]
null
null
null
modules/burdukov_mikhail_horse_min_range/test/test_burdukov_mikhail_horse_min_range.cpp
BalovaElena/devtools-course-practice
f8d5774dbb78ec50200c45fd17665ed40fc8c4c5
[ "CC-BY-4.0" ]
null
null
null
modules/burdukov_mikhail_horse_min_range/test/test_burdukov_mikhail_horse_min_range.cpp
BalovaElena/devtools-course-practice
f8d5774dbb78ec50200c45fd17665ed40fc8c4c5
[ "CC-BY-4.0" ]
null
null
null
// Copyright 2022 Burdukov Mikhail #include <gtest/gtest.h> #include "include/horse_min_range.h" TEST(minHorseRange, Create) { ASSERT_NO_THROW(minHorseRange hourse); } TEST(minHorseRange, Range_without_barriers) { chess_position_t st('a', 1); chess_position_t fin('b', 3); minHorseRange a(st, fin); ...
23.434211
46
0.663672
BalovaElena
6022c8e3220a876440b9cd873111d480e4c8f781
1,860
cc
C++
src/BGL/BGLAffine.cc
revarbat/Mandoline
1aafd7e6702ef740bcac6ab8c8c43282a104c60a
[ "BSD-2-Clause-FreeBSD" ]
17
2015-01-07T10:32:06.000Z
2021-07-06T11:00:38.000Z
src/BGL/BGLAffine.cc
revarbat/Mandoline
1aafd7e6702ef740bcac6ab8c8c43282a104c60a
[ "BSD-2-Clause-FreeBSD" ]
2
2017-08-17T17:44:42.000Z
2018-06-14T23:39:04.000Z
src/BGL/BGLAffine.cc
revarbat/Mandoline
1aafd7e6702ef740bcac6ab8c8c43282a104c60a
[ "BSD-2-Clause-FreeBSD" ]
3
2015-01-07T10:32:06.000Z
2019-03-22T16:56:51.000Z
// // BGLAffine.cc // Part of the Belfry Geometry Library // // Created by GM on 10/13/10. // Copyright 2010 Belfry Software. All rights reserved. // #include "config.h" #include "BGLAffine.hh" namespace BGL { Affine Affine::translationAffine(double dx, double dy) { return Affine(1.0, 0.0, 0.0, 1.0, dx, dy)...
17.383178
74
0.609677
revarbat
6023f4fffb82ea29d1b3546e9969f026ef7d982e
244
cpp
C++
1-Iniciante/12/2879.cpp
pedrospaulo/01-C-
d513a2fd87a82d90780aa69782d1a1b73b53d6c1
[ "MIT" ]
null
null
null
1-Iniciante/12/2879.cpp
pedrospaulo/01-C-
d513a2fd87a82d90780aa69782d1a1b73b53d6c1
[ "MIT" ]
null
null
null
1-Iniciante/12/2879.cpp
pedrospaulo/01-C-
d513a2fd87a82d90780aa69782d1a1b73b53d6c1
[ "MIT" ]
null
null
null
#include <stdio.h> int main(){ int n, t ; int cont = 0; scanf("%d", &n); for(int i = 0; i < n; i++){ scanf("%d", &t); if(t != 1){ cont++; } } printf("%d\n", cont); return 0; }
12.842105
31
0.348361
pedrospaulo
602cac59487adecd87d9608d2df3641c307f5c89
6,426
hpp
C++
include/codegen/include/UnityEngine/RemoteConfigSettingsHelper_Tag.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
1
2021-11-12T09:29:31.000Z
2021-11-12T09:29:31.000Z
include/codegen/include/UnityEngine/RemoteConfigSettingsHelper_Tag.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
null
null
null
include/codegen/include/UnityEngine/RemoteConfigSettingsHelper_Tag.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
2
2021-10-03T02:14:20.000Z
2021-11-12T09:29:36.000Z
// Autogenerated from CppHeaderCreator on 7/27/2020 3:10:39 PM // Created by Sc2ad // ========================================================================= #pragma once #pragma pack(push, 8) // Begin includes // Including type: System.Enum #include "System/Enum.hpp" // Including type: UnityEngine.RemoteConfigSettin...
67.642105
118
0.791161
Futuremappermydud
602e5783df692bdeec4e840456c43ba5b1171211
5,585
cpp
C++
openbabel-2.4.1/src/ops/opconfab.cpp
sxhexe/reaction-route-search
f7694c84ca1def4a133ade3e1e2e09705cd28312
[ "MIT" ]
1
2017-09-16T07:36:29.000Z
2017-09-16T07:36:29.000Z
openbabel-2.4.1/src/ops/opconfab.cpp
sxhexe/reaction-route-search
f7694c84ca1def4a133ade3e1e2e09705cd28312
[ "MIT" ]
null
null
null
openbabel-2.4.1/src/ops/opconfab.cpp
sxhexe/reaction-route-search
f7694c84ca1def4a133ade3e1e2e09705cd28312
[ "MIT" ]
null
null
null
/********************************************************************** opconfab.cpp - Confab, the conformer generator described in Journal of Cheminformatics, 3, 1, 8 http://www.jcheminf.com/content/3/1/8 Copyright (C) 2013 by Noel O'Boyle This file is part of the Open Babel project. Fo...
30.519126
95
0.563474
sxhexe
602e62a0db31d1a5f427d0dd51730f3182861d4b
1,763
cpp
C++
tests/test-lru.cpp
lcapaldo/c-server-sdk
87edbe872b5f5fa6e797a6e26e89faf941958679
[ "Apache-2.0" ]
5
2019-10-08T05:05:40.000Z
2022-03-23T10:46:27.000Z
tests/test-lru.cpp
lcapaldo/c-server-sdk
87edbe872b5f5fa6e797a6e26e89faf941958679
[ "Apache-2.0" ]
8
2020-01-18T02:16:27.000Z
2022-02-23T21:28:07.000Z
tests/test-lru.cpp
lcapaldo/c-server-sdk
87edbe872b5f5fa6e797a6e26e89faf941958679
[ "Apache-2.0" ]
6
2019-12-13T21:00:11.000Z
2021-06-09T09:55:13.000Z
#include "gtest/gtest.h" #include "commonfixture.h" extern "C" { #include <launchdarkly/api.h> #include "lru.h" #include "utility.h" } // Inherit from the CommonFixture to give a reasonable name for the test output. // Any custom setup and teardown would happen in this derived class. class LRUFixture : public Common...
26.313433
80
0.708452
lcapaldo
602ea5aff6011c0240d47a0ca748cb490bbd778c
2,016
cpp
C++
lab9/cpp/task-2/main.cpp
mihaimusat/PA-labs-2019
113e833dc7fbe2bd5455e2552dde1d8b20931db9
[ "MIT" ]
null
null
null
lab9/cpp/task-2/main.cpp
mihaimusat/PA-labs-2019
113e833dc7fbe2bd5455e2552dde1d8b20931db9
[ "MIT" ]
null
null
null
lab9/cpp/task-2/main.cpp
mihaimusat/PA-labs-2019
113e833dc7fbe2bd5455e2552dde1d8b20931db9
[ "MIT" ]
null
null
null
#include <fstream> #include <vector> #include <algorithm> #include <queue> #include <cassert> using namespace std; const int kNmax = 50005; const int inf = 999999; class Task { public: void solve() { read_input(); print_output(get_result()); } private: int n; int m; int source; vector<pair<int, int> > ad...
19.572816
77
0.564484
mihaimusat
603035979813b2c6fa11457dbafc6893d44c09fc
13,092
cpp
C++
src/muz/transforms/dl_mk_quantifier_abstraction.cpp
akreuzer/z3
e8917a1a9f97db86bdc38c569ddbde7f79b76ce7
[ "MIT" ]
3
2020-07-15T19:50:12.000Z
2020-12-13T17:28:16.000Z
src/muz/transforms/dl_mk_quantifier_abstraction.cpp
akreuzer/z3
e8917a1a9f97db86bdc38c569ddbde7f79b76ce7
[ "MIT" ]
null
null
null
src/muz/transforms/dl_mk_quantifier_abstraction.cpp
akreuzer/z3
e8917a1a9f97db86bdc38c569ddbde7f79b76ce7
[ "MIT" ]
3
2020-04-12T11:00:44.000Z
2021-10-20T22:08:44.000Z
/*++ Copyright (c) 2013 Microsoft Corporation Module Name: dl_mk_quantifier_abstraction.cpp Abstract: Create quantified Horn clauses from benchmarks with arrays. Author: Ken McMillan Andrey Rybalchenko Nikolaj Bjorner (nbjorner) 2013-04-02 Revision History: --*/ #include "muz/transforms/dl_...
35.383784
129
0.498396
akreuzer