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
109
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
48.5k
⌀
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
6459434d03cc79dd51daa2308c4f869c8e76639e
2,382
cpp
C++
Source/Core/File/DirectoryUtilities.cpp
frobro98/Musa
6e7dcd5d828ca123ce8f43d531948a6486428a3d
[ "MIT" ]
null
null
null
Source/Core/File/DirectoryUtilities.cpp
frobro98/Musa
6e7dcd5d828ca123ce8f43d531948a6486428a3d
[ "MIT" ]
null
null
null
Source/Core/File/DirectoryUtilities.cpp
frobro98/Musa
6e7dcd5d828ca123ce8f43d531948a6486428a3d
[ "MIT" ]
null
null
null
// Copyright 2020, Nathan Blane #include "DirectoryUtilities.hpp" #include "Platform/Platform.hpp" u32 NumberOfFilesInDirectory(const char* directory) { HANDLE findHandle; WIN32_FIND_DATA data; u32 fileCount = 0; findHandle = FindFirstFile(directory, &data); if (findHandle != INVALID_HANDLE_VALUE) { do { ...
20.894737
118
0.744752
frobro98
64594e55613e5949047e0fe5b5fc6feb06c7aca5
459
cpp
C++
metaprogramming/factorial.cpp
queertypes/cplusplus-examples
c4f784cbc9e97220c0e25f7ea9f1121f63d194fe
[ "BSD-3-Clause" ]
null
null
null
metaprogramming/factorial.cpp
queertypes/cplusplus-examples
c4f784cbc9e97220c0e25f7ea9f1121f63d194fe
[ "BSD-3-Clause" ]
null
null
null
metaprogramming/factorial.cpp
queertypes/cplusplus-examples
c4f784cbc9e97220c0e25f7ea9f1121f63d194fe
[ "BSD-3-Clause" ]
null
null
null
#include <iostream> using namespace std; template <size_t N> struct Factorial { static const size_t val = N * Factorial<N-1>::val; }; template <> struct Factorial<0> { static const size_t val = 1; }; int main() { cout << "Factorial of 0: " << Factorial<0>::val << "\n" << "Factorial of 1: " << Factorial<1>::va...
19.956522
57
0.583878
queertypes
645b93dc3222ad1f5677547aa48e73af2b310d7c
1,693
hpp
C++
grid.hpp
Mikko-Finell/case
9e983a19769ef901118195f6480567a5fc4d07f6
[ "Unlicense" ]
null
null
null
grid.hpp
Mikko-Finell/case
9e983a19769ef901118195f6480567a5fc4d07f6
[ "Unlicense" ]
null
null
null
grid.hpp
Mikko-Finell/case
9e983a19769ef901118195f6480567a5fc4d07f6
[ "Unlicense" ]
null
null
null
/* Author: Mikko Finell * License: Public Domain */ #ifndef CASE_GRID #define CASE_GRID #include <cassert> #include "index.hpp" #include "agent_manager.hpp" namespace CASE { template<class Cell> class Grid { using Agent = typename Cell::Agent; int columns = 0; int rows = 0; inline Cell & get(con...
20.154762
79
0.505021
Mikko-Finell
64656df861549d2874178e8e4abda83634a1d3c3
1,563
cpp
C++
Samples/SpeechRecognitionAndSynthesis/cpp/SampleConfiguration.cpp
dujianxin/Windows-universal-samples
d4e95ff0ac408c5d4d980bb18d53fb2c6556a273
[ "MIT" ]
2,504
2019-05-07T06:56:42.000Z
2022-03-31T19:37:59.000Z
Samples/SpeechRecognitionAndSynthesis/cpp/SampleConfiguration.cpp
dujianxin/Windows-universal-samples
d4e95ff0ac408c5d4d980bb18d53fb2c6556a273
[ "MIT" ]
314
2019-05-08T16:56:30.000Z
2022-03-21T07:13:45.000Z
Samples/SpeechRecognitionAndSynthesis/cpp/SampleConfiguration.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...
48.84375
95
0.6865
dujianxin
6466cc5323e34ebbf3b2f97343e8aca3b40b6776
485
cpp
C++
Semestr_1/HomeWork_7/Number_1/Number_1/test.cpp
SaveliyLipaev/HomeWork
06994ce6ab6f12dd69507fffb6f2d3ba361f0069
[ "MIT" ]
null
null
null
Semestr_1/HomeWork_7/Number_1/Number_1/test.cpp
SaveliyLipaev/HomeWork
06994ce6ab6f12dd69507fffb6f2d3ba361f0069
[ "MIT" ]
1
2018-11-06T05:30:37.000Z
2018-11-06T05:30:37.000Z
Semestr_1/HomeWork_7/Number_1/Number_1/test.cpp
SaveliyLipaev/HomeWork
06994ce6ab6f12dd69507fffb6f2d3ba361f0069
[ "MIT" ]
null
null
null
#include "InteractiveWindow.h" bool test() { auto tree = createBST(); add(tree, 50); add(tree, 100); if (!find(tree, 50) || !find(tree, 100) || isEmpty(tree)) { deleteBST(tree); return false; } add(tree, 25); terriblyUglyDeleteNode(tree, 50); if (find(tree, 50)) { deleteBST(tree); return false; } ...
16.166667
58
0.653608
SaveliyLipaev
646960e7901f5504c4279bbd831a66b1c8c6252f
516
hpp
C++
common/private/CXMLParser.hpp
ymuv/CameraAlerts
7b2d794e38aff98bc2c5e7fafb9dec1a1bef3fe4
[ "BSD-3-Clause" ]
null
null
null
common/private/CXMLParser.hpp
ymuv/CameraAlerts
7b2d794e38aff98bc2c5e7fafb9dec1a1bef3fe4
[ "BSD-3-Clause" ]
null
null
null
common/private/CXMLParser.hpp
ymuv/CameraAlerts
7b2d794e38aff98bc2c5e7fafb9dec1a1bef3fe4
[ "BSD-3-Clause" ]
null
null
null
#pragma once #include <string> struct CConfig; struct CAlgoConfig; struct CArgumentConfig { bool mIsVisulize = false; bool mIsVisulizeAlgoImages = false; bool mIsDebug = false; std::string mFileName = ""; bool mIsUseProfiler; bool mNotNotUseSMTP; bool mNotUseThreads; }; class CXMLParser ...
17.793103
40
0.658915
ymuv
646bf03051dd62c359aa702ab5977cdc93584629
5,172
cc
C++
daemon/datalayer_checkpointer_thread.cc
derekchiang/HyperDex
8a1ca06bd387e6bd9d57bce6292d93f22d23c680
[ "BSD-3-Clause" ]
null
null
null
daemon/datalayer_checkpointer_thread.cc
derekchiang/HyperDex
8a1ca06bd387e6bd9d57bce6292d93f22d23c680
[ "BSD-3-Clause" ]
null
null
null
daemon/datalayer_checkpointer_thread.cc
derekchiang/HyperDex
8a1ca06bd387e6bd9d57bce6292d93f22d23c680
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2014, Cornell University // 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 ...
28.574586
104
0.671307
derekchiang
646d550e864b80f7faf6e513a88f02db2dc874a3
721
cpp
C++
jsondata.cpp
wzl17/WMonitor
020854b52af13fda2ea3da94ca24b080c20b6d1d
[ "MIT" ]
2
2021-01-12T11:21:56.000Z
2021-01-13T08:30:13.000Z
jsondata.cpp
wzl17/WMonitor
020854b52af13fda2ea3da94ca24b080c20b6d1d
[ "MIT" ]
null
null
null
jsondata.cpp
wzl17/WMonitor
020854b52af13fda2ea3da94ca24b080c20b6d1d
[ "MIT" ]
2
2021-01-12T12:26:14.000Z
2021-01-12T12:28:48.000Z
#include "jsondata.h" #include <QJsonDocument> JsonData::JsonData() : wm_pattern({}) { wm_pattern.reserve(pattern_x_max+1); } JsonData::~JsonData() { } void JsonData::loadWavemeterData(const QByteArray &data) { QJsonDocument doc = QJsonDocument::fromJson(data); QJsonArray tempArray = doc[pattern_ch...
24.862069
92
0.650485
wzl17
646f4c6b6fa43bee88e69e722d23e1e535bffd2d
22,520
cc
C++
arcane/src/arcane/std/Otf2MpiProfiling.cc
JeromeDuboisPro/framework
d88925495e3787fdaf640c29728dcac385160188
[ "Apache-2.0" ]
null
null
null
arcane/src/arcane/std/Otf2MpiProfiling.cc
JeromeDuboisPro/framework
d88925495e3787fdaf640c29728dcac385160188
[ "Apache-2.0" ]
null
null
null
arcane/src/arcane/std/Otf2MpiProfiling.cc
JeromeDuboisPro/framework
d88925495e3787fdaf640c29728dcac385160188
[ "Apache-2.0" ]
null
null
null
// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*- //----------------------------------------------------------------------------- // Copyright 2000-2021 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com) // See the top-level COPYRIGHT file for details. // SPDX-License-Identifier: Apache-2...
40.649819
118
0.540808
JeromeDuboisPro
64708b1dc1d36196a3b1e4474348fb9cd28d0b66
1,277
hpp
C++
include/boost/simd/function/interleave_first.hpp
yaeldarmon/boost.simd
561316cc54bdc6353ca78f3b6d7e9120acd11144
[ "BSL-1.0" ]
null
null
null
include/boost/simd/function/interleave_first.hpp
yaeldarmon/boost.simd
561316cc54bdc6353ca78f3b6d7e9120acd11144
[ "BSL-1.0" ]
null
null
null
include/boost/simd/function/interleave_first.hpp
yaeldarmon/boost.simd
561316cc54bdc6353ca78f3b6d7e9120acd11144
[ "BSL-1.0" ]
null
null
null
//================================================================================================== /*! @file @copyright 2016 NumScale SAS @copyright 2016 J.T. Lapreste Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) ...
25.039216
100
0.59906
yaeldarmon
64762a980f76f20bdeeea78ed6d5175f08190a0c
1,053
cpp
C++
Ouroboros/Source/oPlatform/Tests/TESTCore.cpp
jiangzhu1212/oooii
fc00ff81e74adaafd9c98ba7c055f55d95a36e3b
[ "MIT" ]
null
null
null
Ouroboros/Source/oPlatform/Tests/TESTCore.cpp
jiangzhu1212/oooii
fc00ff81e74adaafd9c98ba7c055f55d95a36e3b
[ "MIT" ]
null
null
null
Ouroboros/Source/oPlatform/Tests/TESTCore.cpp
jiangzhu1212/oooii
fc00ff81e74adaafd9c98ba7c055f55d95a36e3b
[ "MIT" ]
null
null
null
// Copyright (c) 2014 Antony Arciuolo. See License.txt regarding use. #include <oCore/tests/oCoreTests.h> #include "oTestIntegration.h" using namespace ouro::tests; #define oTEST_REGISTER_CORE_TEST0(_Name) oTEST_THROWS_REGISTER0(oCONCAT(oCore_, _Name), oCONCAT(TEST, _Name)) #define oTEST_REGISTER_CORE_TEST(_Na...
45.782609
124
0.824311
jiangzhu1212
6476beb2e18b0b32809fa0048492e47d2124b894
3,335
hpp
C++
include/armadillo_bits/spglue_merge_meat.hpp
Degiorgio/Armadillo
1dd184ec670e8daa3d106d8e82ac8e907722ac24
[ "Apache-2.0" ]
null
null
null
include/armadillo_bits/spglue_merge_meat.hpp
Degiorgio/Armadillo
1dd184ec670e8daa3d106d8e82ac8e907722ac24
[ "Apache-2.0" ]
null
null
null
include/armadillo_bits/spglue_merge_meat.hpp
Degiorgio/Armadillo
1dd184ec670e8daa3d106d8e82ac8e907722ac24
[ "Apache-2.0" ]
null
null
null
// Copyright 2008-2016 Conrad Sanderson (http://conradsanderson.id.au) // Copyright 2008-2016 National ICT Australia (NICTA) // // 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...
25.852713
118
0.624288
Degiorgio
6476da1a84902033b0cbac229c9e23dd85e53c02
27,824
cpp
C++
parser/options.cpp
dprevost/errorparser
57dfe56af4897e26626380077003ca1bcb89b77d
[ "MIT" ]
1
2016-05-08T11:56:33.000Z
2016-05-08T11:56:33.000Z
parser/options.cpp
dprevost/errorparser
57dfe56af4897e26626380077003ca1bcb89b77d
[ "MIT" ]
null
null
null
parser/options.cpp
dprevost/errorparser
57dfe56af4897e26626380077003ca1bcb89b77d
[ "MIT" ]
null
null
null
/* * Copyright (C) 2008-2010 Daniel Prevost <dprevost@users.sourceforge.net> * * This file may be distributed and/or modified under the terms of the * MIT License as described by the Open Source Initiative * (http://opensource.org/licenses/mit-license.php) and appearing in * the file COPYING included in the packa...
30.342421
115
0.52983
dprevost
6477f9133a617d74921876bec9c177b910442c2a
155
cpp
C++
Gems/Cesium/Code/Tests/GltfPBRMaterialBuilderTest.cpp
CesiumGS/o3de
39af04fd03b3b29f4fd9a0470a3cd60381ed88c2
[ "Apache-2.0", "MIT" ]
8
2021-08-31T02:14:19.000Z
2021-12-28T19:20:59.000Z
Gems/Cesium/Code/Tests/GltfPBRMaterialBuilderTest.cpp
CesiumGS/o3de
39af04fd03b3b29f4fd9a0470a3cd60381ed88c2
[ "Apache-2.0", "MIT" ]
8
2021-07-12T13:55:00.000Z
2021-10-04T14:53:21.000Z
Gems/Cesium/Code/Tests/GltfPBRMaterialBuilderTest.cpp
CesiumGS/o3de
39af04fd03b3b29f4fd9a0470a3cd60381ed88c2
[ "Apache-2.0", "MIT" ]
1
2021-09-16T05:06:18.000Z
2021-09-16T05:06:18.000Z
#include <GltfPBRMaterialBuilder.h> #include <AzCore/UnitTest/TestTypes.h> class GltfPBRMaterialBuilderTest : public UnitTest::AllocatorsTestFixture { };
22.142857
73
0.819355
CesiumGS
647963f91c11ba04944439bb26cc446ec59a181c
9,051
cpp
C++
src/core/actions/reset_matches_action.cpp
svendcsvendsen/judoassistant
453211bff86d940c2b2de6f9eea2aabcdab830fa
[ "MIT" ]
3
2019-04-26T17:48:24.000Z
2021-11-08T20:21:51.000Z
src/core/actions/reset_matches_action.cpp
svendcsvendsen/judoassistant
453211bff86d940c2b2de6f9eea2aabcdab830fa
[ "MIT" ]
90
2019-04-25T17:23:10.000Z
2022-02-12T19:49:55.000Z
src/core/actions/reset_matches_action.cpp
judoassistant/judoassistant
3b200d3e35d9aff16ba224e6071ee9d888a5a03c
[ "MIT" ]
null
null
null
#include "core/actions/reset_matches_action.hpp" #include "core/stores/tournament_store.hpp" #include "core/stores/category_store.hpp" #include "core/rulesets/ruleset.hpp" #include "core/draw_systems/draw_system.hpp" ResetMatchesAction::ResetMatchesAction(const std::vector<CategoryId> &categoryIds) : mCategoryIds(...
37.094262
121
0.649983
svendcsvendsen
647d79fc2af98ebbbfe215a490c7edc028c81075
3,313
cpp
C++
Source/notification-server/Application.cpp
chaos0x8/notification
542a549430d8ef1a26539ce6fd8ce23e7ba2ee5b
[ "MIT" ]
null
null
null
Source/notification-server/Application.cpp
chaos0x8/notification
542a549430d8ef1a26539ce6fd8ce23e7ba2ee5b
[ "MIT" ]
null
null
null
Source/notification-server/Application.cpp
chaos0x8/notification
542a549430d8ef1a26539ce6fd8ce23e7ba2ee5b
[ "MIT" ]
null
null
null
#include "Application.hpp" #include "Config.hpp" #include "Messages.hpp" #include "Notification.hpp" #include <chrono> #include <csignal> #include <gtk/gtk.h> #include <iostream> #include <memory> extern "C" void stopOther() { try { auto client = C8::Network::TcpIpClient("localhost", Config::PORT); auto mes...
25.290076
77
0.642922
chaos0x8
647e8b7d30e37d523fd6827fc3608c66691bdc5f
3,502
cpp
C++
Tests/classes/databaseselectquerytests.cpp
OwNet/qtownet
bcddc85401a279e850f269cdd14e2d08dff5e02e
[ "MIT" ]
2
2016-09-28T02:23:07.000Z
2019-07-13T15:53:47.000Z
Tests/classes/databaseselectquerytests.cpp
OwNet/qtownet
bcddc85401a279e850f269cdd14e2d08dff5e02e
[ "MIT" ]
null
null
null
Tests/classes/databaseselectquerytests.cpp
OwNet/qtownet
bcddc85401a279e850f269cdd14e2d08dff5e02e
[ "MIT" ]
null
null
null
#include "databaseselectquerytests.h" #include "stubdatabase.h" #include "databaseupdatequery.h" #include "databaseselectquery.h" #include "idatabaseselectquerywheregroup.h" #include <QTest> #include <QSqlQuery> DatabaseSelectQueryTests::DatabaseSelectQueryTests(QObject *parent) : QObject(parent) { } void Datab...
33.673077
200
0.668475
OwNet
6482d7138bc3a5ede92ee4133e8c86dcd8b33a40
4,253
cpp
C++
ProjectEuler+/euler-0110.cpp
sarvekash/HackerRank_Solutions
8f48e5b1a6e792a85a10d8c328cd1f5341fb16a8
[ "Apache-2.0" ]
null
null
null
ProjectEuler+/euler-0110.cpp
sarvekash/HackerRank_Solutions
8f48e5b1a6e792a85a10d8c328cd1f5341fb16a8
[ "Apache-2.0" ]
null
null
null
ProjectEuler+/euler-0110.cpp
sarvekash/HackerRank_Solutions
8f48e5b1a6e792a85a10d8c328cd1f5341fb16a8
[ "Apache-2.0" ]
1
2021-05-28T11:14:34.000Z
2021-05-28T11:14:34.000Z
// //////////////////////////////////////////////////////// // # Title // Diophantine reciprocals II // // # URL // https://projecteuler.net/problem=110 // http://euler.stephan-brumme.com/110/ // // # Problem // In the following equation `x`, `y`, and `n` are positive integers. // // `dfrac{1}{x} + dfrac{1}{y} = dfrac{...
36.042373
173
0.654362
sarvekash
648688ad79bb15e87477ca2c9cafae3ce09f050c
1,295
hpp
C++
include/neonGX/Core/Image/PNGImage.hpp
cynecx/neonGX
6bf90ba01dbb15320ccfdecb49db4d4093c6d394
[ "BSD-3-Clause" ]
null
null
null
include/neonGX/Core/Image/PNGImage.hpp
cynecx/neonGX
6bf90ba01dbb15320ccfdecb49db4d4093c6d394
[ "BSD-3-Clause" ]
null
null
null
include/neonGX/Core/Image/PNGImage.hpp
cynecx/neonGX
6bf90ba01dbb15320ccfdecb49db4d4093c6d394
[ "BSD-3-Clause" ]
null
null
null
/* * neonGX - PNGImage.hpp * * Copyright (c) 2016, cynecx * * This file is part of neonGX and is distributed under a modified * BSD 3-Clause License. See LICENSE.txt for details. * */ #ifndef NEONGX_PNGIMAGE_H #define NEONGX_PNGIMAGE_H #include <neonGX/Core/Math/Helpers.hpp> #define PNG_READ_16_TO_8_SUPPORTED...
22.327586
72
0.705019
cynecx
64881e5588992bcc1eb6e66d041bb2618b63f51d
13,808
hpp
C++
Source/AllProjects/CIDKernel/CIDKernel.hpp
eudora-jia/CIDLib
02795d283d95f8a5a4fafa401b6189851901b81b
[ "MIT" ]
1
2019-05-28T06:33:01.000Z
2019-05-28T06:33:01.000Z
Source/AllProjects/CIDKernel/CIDKernel.hpp
eudora-jia/CIDLib
02795d283d95f8a5a4fafa401b6189851901b81b
[ "MIT" ]
null
null
null
Source/AllProjects/CIDKernel/CIDKernel.hpp
eudora-jia/CIDLib
02795d283d95f8a5a4fafa401b6189851901b81b
[ "MIT" ]
null
null
null
// // FILE NAME: CIDKernel.hpp // // AUTHOR: Dean Roddey // // CREATED: 11/06/1992 // // COPYRIGHT: Charmed Quark Systems, Ltd @ 2019 // // This software is copyrighted by 'Charmed Quark Systems, Ltd' and // the author (Dean Roddey.) It is licensed under the MIT Open Source // license: // // https://opensource.org/...
34.780856
92
0.548233
eudora-jia
64881f24bd289a0b34330266986a4ee5ad2a75f2
191
cpp
C++
codebook/implementation/JosephusProblem.cpp
NTNU-import-magic/Codebook
0ea1abae817898e12e9ab5261590adcc66b8c899
[ "Unlicense" ]
null
null
null
codebook/implementation/JosephusProblem.cpp
NTNU-import-magic/Codebook
0ea1abae817898e12e9ab5261590adcc66b8c899
[ "Unlicense" ]
1
2020-12-27T17:49:02.000Z
2021-08-13T14:30:33.000Z
codebook/implementation/JosephusProblem.cpp
NTNU-import-magic/codebook
0ea1abae817898e12e9ab5261590adcc66b8c899
[ "Unlicense" ]
null
null
null
/// n 個人,查 m 個數 int JosephusProblem(int n, int m) { if(n<1 || m<1) return -1; vector<int> f(n+1, 0); for(unsigned i=2; i<=n; ++i) f[i] = (f[i-1]+m) % i; return f[n]; }
23.875
35
0.471204
NTNU-import-magic
648975df44948b5a50ea76e5745db577bfca44bc
715
hpp
C++
src/Engine/Drawables/Object/primitiveIncludes.hpp
DaftMat/Daft-Engine
e3d918b4b876d17abd889b9b6b13bd858a079538
[ "MIT" ]
1
2020-10-26T02:36:58.000Z
2020-10-26T02:36:58.000Z
src/Engine/Drawables/Object/primitiveIncludes.hpp
DaftMat/Daft-Engine
e3d918b4b876d17abd889b9b6b13bd858a079538
[ "MIT" ]
6
2020-02-14T21:45:52.000Z
2020-09-23T17:58:58.000Z
src/Engine/Drawables/Object/primitiveIncludes.hpp
DaftMat/Daft-Engine
e3d918b4b876d17abd889b9b6b13bd858a079538
[ "MIT" ]
null
null
null
// // Created by mathis on 03/10/2020. // #pragma once #include <Engine/Drawables/Light/DirLight.hpp> #include <Engine/Drawables/Light/PointLight.hpp> #include <Engine/Drawables/Light/QuadLight.hpp> #include <Engine/Drawables/Light/SpotLight.hpp> #include <Engine/Drawables/Object/BSpline.hpp> #include <Engine/Drawables...
39.722222
49
0.797203
DaftMat
52c0c2f49387a15c7a5212f63ccb949f00bf3916
1,351
cpp
C++
MavLinkMsgs/Source/MavLinkMsgs/Private/common/MavLinkMsg_gps_inject_data.cpp
Simbotic/UE4-MAVLink
947908c600eb18212c139dc6cc6fde2504f20059
[ "Unlicense" ]
1
2022-03-22T01:07:46.000Z
2022-03-22T01:07:46.000Z
MavLinkMsgs/Source/MavLinkMsgs/Private/common/MavLinkMsg_gps_inject_data.cpp
Simbotic/UE4-MAVLink
947908c600eb18212c139dc6cc6fde2504f20059
[ "Unlicense" ]
2
2019-11-25T17:56:41.000Z
2022-03-22T23:28:09.000Z
MavLinkMsgs/Source/MavLinkMsgs/Private/common/MavLinkMsg_gps_inject_data.cpp
Simbotic/UE4-MAVLink
947908c600eb18212c139dc6cc6fde2504f20059
[ "Unlicense" ]
2
2019-11-25T15:27:40.000Z
2021-07-27T20:54:22.000Z
#include "MavLinkMsg_gps_inject_data.h" #include "common/mavlink.h" void FMavlinkMsg_gps_inject_data::Serialize(uint8 systemId, uint8 componentId, __mavlink_message& msg, uint16& packSize) { packSize = mavlink_msg_gps_inject_data_pack(systemId, componentId, &msg, target_system, target_component, len, (uint8_t...
37.527778
134
0.761658
Simbotic
52c1a87612562d6030cab02a3733bbe14c1db9a4
7,494
cpp
C++
src/modules/SD3/scripts/eastern_kingdoms/blackrock_mountain/molten_core/boss_golemagg.cpp
buttlerkid/avalon
30edc18b9ecd7f4604249dac1056c6c935681cfe
[ "PostgreSQL", "Zlib", "OpenSSL" ]
null
null
null
src/modules/SD3/scripts/eastern_kingdoms/blackrock_mountain/molten_core/boss_golemagg.cpp
buttlerkid/avalon
30edc18b9ecd7f4604249dac1056c6c935681cfe
[ "PostgreSQL", "Zlib", "OpenSSL" ]
20
2017-04-10T18:41:58.000Z
2017-04-10T19:01:12.000Z
src/modules/SD3/scripts/eastern_kingdoms/blackrock_mountain/molten_core/boss_golemagg.cpp
buttlerkid/avalon
30edc18b9ecd7f4604249dac1056c6c935681cfe
[ "PostgreSQL", "Zlib", "OpenSSL" ]
null
null
null
/** * ScriptDev3 is an extension for mangos providing enhanced features for * area triggers, creatures, game objects, instances, items, and spells beyond * the default database scripting in mangos. * * Copyright (C) 2006-2013 ScriptDev2 <http://www.scriptdev2.com/> * Copyright (C) 2014-2017 MaNGOS <https://get...
28.934363
98
0.553776
buttlerkid
52cb6483351e497798d9a3a3fa5e61f02dc5bee4
8,923
cpp
C++
src/commlib/zcelib/zce_time_progress_timer.cpp
sailzeng/zcelib
88e14ab436f1b40e8071e15ef6d9fae396efc3b4
[ "Apache-2.0" ]
72
2015-01-08T05:01:48.000Z
2021-12-28T06:13:03.000Z
src/commlib/zcelib/zce_time_progress_timer.cpp
sailzeng/zcelib
88e14ab436f1b40e8071e15ef6d9fae396efc3b4
[ "Apache-2.0" ]
4
2016-01-18T12:24:59.000Z
2019-10-12T07:19:15.000Z
src/commlib/zcelib/zce_time_progress_timer.cpp
sailzeng/zcelib
88e14ab436f1b40e8071e15ef6d9fae396efc3b4
[ "Apache-2.0" ]
40
2015-01-26T06:49:18.000Z
2021-07-20T08:11:48.000Z
#include "zce_predefine.h" #include "zce_log_logging.h" #include "zce_os_adapt_sysinfo.h" #include "zce_os_adapt_error.h" #include "zce_os_adapt_time.h" #include "zce_time_progress_timer.h" /************************************************************************************************************ Class :...
25.064607
118
0.612686
sailzeng
52cbb97c17eb24e32f017cb2f9e1dfe218d08186
3,864
cpp
C++
project/src/backend/sdl/SDLMouse.cpp
matthewswallace/lime
43a6f0598cd3ba0998ce2d02441e3284999d1047
[ "MIT" ]
3
2018-05-04T18:06:07.000Z
2018-05-07T12:30:43.000Z
project/src/backend/sdl/SDLMouse.cpp
matthewswallace/lime
43a6f0598cd3ba0998ce2d02441e3284999d1047
[ "MIT" ]
5
2018-03-28T13:38:03.000Z
2019-05-13T15:33:26.000Z
project/src/backend/sdl/SDLMouse.cpp
matthewswallace/lime
43a6f0598cd3ba0998ce2d02441e3284999d1047
[ "MIT" ]
4
2016-09-18T03:58:34.000Z
2020-09-16T06:28:50.000Z
#include "SDLMouse.h" #include "SDLWindow.h" namespace lime { MouseCursor Mouse::currentCursor = DEFAULT; SDL_Cursor* SDLMouse::arrowCursor = 0; SDL_Cursor* SDLMouse::crosshairCursor = 0; SDL_Cursor* SDLMouse::moveCursor = 0; SDL_Cursor* SDLMouse::pointerCursor = 0; SDL_Cursor* SDLMouse::resizeNESWCursor ...
19.034483
87
0.613613
matthewswallace
52dfa8830a4c5af75160cfe4a3463cf359a60337
3,855
cc
C++
flare/net/cos/cos_client_test.cc
LiuYuHui/flare
f92cb6132e79ef2809fc0291a4923097ec84c248
[ "CC-BY-3.0", "BSD-2-Clause", "BSD-3-Clause" ]
2
2021-05-29T04:04:17.000Z
2022-02-04T05:33:17.000Z
flare/net/cos/cos_client_test.cc
LiuYuHui/flare
f92cb6132e79ef2809fc0291a4923097ec84c248
[ "CC-BY-3.0", "BSD-2-Clause", "BSD-3-Clause" ]
null
null
null
flare/net/cos/cos_client_test.cc
LiuYuHui/flare
f92cb6132e79ef2809fc0291a4923097ec84c248
[ "CC-BY-3.0", "BSD-2-Clause", "BSD-3-Clause" ]
1
2022-02-17T10:13:04.000Z
2022-02-17T10:13:04.000Z
// Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved. // // Licensed under the BSD 3-Clause License (the "License"); you may not use this // file except in compliance with the License. You may obtain a copy of the // License at // // https://opensource.org/licenses/BSD-3-Clause // // Unless req...
29.653846
80
0.688197
LiuYuHui
52e6253148fce01b213a8b28c8f183502011692f
1,409
hpp
C++
BLAXED/SkinChanger/SDK/Interfaces/IGameEventManager2.hpp
prismatical/BX-CSGO
24b2cadefdc40cb8d3fca0aab08ec54241518958
[ "MIT" ]
19
2018-03-04T08:04:29.000Z
2022-01-27T11:28:36.000Z
BLAXED/SkinChanger/SDK/Interfaces/IGameEventManager2.hpp
prismatical/BX-CSGO
24b2cadefdc40cb8d3fca0aab08ec54241518958
[ "MIT" ]
1
2019-12-27T15:43:41.000Z
2020-05-18T19:16:42.000Z
BLAXED/SkinChanger/SDK/Interfaces/IGameEventManager2.hpp
prismatical/BX-CSGO
24b2cadefdc40cb8d3fca0aab08ec54241518958
[ "MIT" ]
9
2019-03-30T22:39:25.000Z
2021-08-13T19:27:27.000Z
#pragma once #define INTERFACEVERSION_GAMEEVENTSMANAGER2 "GAMEEVENTSMANAGER002" struct bf_read; struct bf_write; class IGameEvent; class KeyValues; class IGameEventListener2 { public: virtual ~IGameEventListener2(void) {}; virtual void FireGameEvent(IGameEvent* event) = 0; virtual int GetEventDebugID(void) =...
38.081081
99
0.771469
prismatical
52ee01eea640ce9b4108f2d6ff9d893de2eb18da
2,243
hpp
C++
src/common/log/LogD.hpp
MicroTargetEngine/MTE-Core
36a801171f5dc8fae51abdf30b7e36407fc31687
[ "MIT" ]
null
null
null
src/common/log/LogD.hpp
MicroTargetEngine/MTE-Core
36a801171f5dc8fae51abdf30b7e36407fc31687
[ "MIT" ]
null
null
null
src/common/log/LogD.hpp
MicroTargetEngine/MTE-Core
36a801171f5dc8fae51abdf30b7e36407fc31687
[ "MIT" ]
null
null
null
/********************************************************************* File: LogD.hpp Description: LogD Header Part. Author: Doohoon Kim (Gabriel Kim, invi.dh.kim@gmail.com) Created: 2016/09/18 Copyright (c) 2016, Team "FireBase", Open Robot Marathon, IRC. Permission is hereby grante...
33.984848
86
0.71556
MicroTargetEngine
52f5da17dd6d4aae5591baf8c3a81c791bbefc4e
2,835
cpp
C++
source/test.cpp
neacsum/utpp
dbcb8aa3433bb537e6c97c51f15d1e0fd79896b6
[ "MIT" ]
6
2019-05-29T20:45:39.000Z
2022-02-01T02:40:54.000Z
source/test.cpp
neacsum/utpp
dbcb8aa3433bb537e6c97c51f15d1e0fd79896b6
[ "MIT" ]
null
null
null
source/test.cpp
neacsum/utpp
dbcb8aa3433bb537e6c97c51f15d1e0fd79896b6
[ "MIT" ]
1
2019-05-29T20:58:46.000Z
2019-05-29T20:58:46.000Z
/*! \file test.cpp \brief Implementation of UnitTest::Test class (c) Mircea Neacsu 2017 See README file for full copyright information. */ #include <utpp/utpp.h> #include <sstream> #include <string.h> #include <sys/stat.h> #ifndef _MSC_VER #define sprintf_s sprintf #endif namespace UnitTest { /// Construct...
20.25
86
0.62575
neacsum
52f6e722022b81d1344409c553513098eeb6743b
4,707
cpp
C++
Encryptions/CAST256.cpp
kuma42/Kripto
86c3eb1b765e14b52d00b98890e13091658258f6
[ "MIT" ]
113
2015-04-26T16:48:54.000Z
2022-03-25T23:15:21.000Z
thirdparty/Encryptions/Encryptions/CAST256.cpp
Muller-Castro/Minesweeper
e4c3fb48e7181aff9637dc77cb829d16d293afdb
[ "Zlib", "MIT" ]
5
2019-01-24T02:46:15.000Z
2021-05-09T14:06:25.000Z
thirdparty/Encryptions/Encryptions/CAST256.cpp
Muller-Castro/Minesweeper
e4c3fb48e7181aff9637dc77cb829d16d293afdb
[ "Zlib", "MIT" ]
44
2015-12-17T02:29:19.000Z
2022-03-31T21:39:13.000Z
#include "CAST256.h" uint32_t CAST256::F1(const uint32_t Data, const uint32_t Kmi, const uint8_t Kri){ uint32_t temp = ROL((Kmi + Data) & mod32, Kri, 32); uint8_t Ia = temp >> 24, Ib = (temp >> 16) & 255, Ic = (temp >> 8) & 255, Id = temp & 255; return ((CAST_S1[Ia] ^ CAST_S2[Ib]) - CAST_S3[Ic] + CAST_S4[I...
29.055556
116
0.520076
kuma42
52f7ffb4f629a6dfca690d32ed8290866d052025
6,837
cpp
C++
src/Heroes3GL/FpsCounter.cpp
Verokster/HeroesGL
54247460649176ac740a4b17ad94107f6b4ee9ab
[ "MIT" ]
45
2018-12-03T21:58:23.000Z
2022-02-20T00:45:23.000Z
src/HeroesGL/FpsCounter.cpp
Verokster/HeroesGL
54247460649176ac740a4b17ad94107f6b4ee9ab
[ "MIT" ]
3
2020-10-28T07:33:17.000Z
2020-12-02T19:42:50.000Z
src/HeroesGL/FpsCounter.cpp
Verokster/HeroesGL
54247460649176ac740a4b17ad94107f6b4ee9ab
[ "MIT" ]
7
2019-03-29T07:24:40.000Z
2021-09-12T11:11:42.000Z
/* MIT License Copyright (c) 2020 Oleksiy Ryabchun 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, copy, modify, merge, ...
15.574032
79
0.626444
Verokster
52f82f192a61d15b0be177b9320151581edd0aa8
3,468
cpp
C++
sources/src/ComponentLocator.cpp
roninest/context-project
ed0234e08fceafbdc13d82905f726fa87f40b37d
[ "MIT" ]
1
2021-11-20T20:36:07.000Z
2021-11-20T20:36:07.000Z
sources/src/ComponentLocator.cpp
roninest/context-project
ed0234e08fceafbdc13d82905f726fa87f40b37d
[ "MIT" ]
1
2020-09-18T15:52:22.000Z
2020-09-18T15:52:22.000Z
sources/src/ComponentLocator.cpp
roninest/context-project
ed0234e08fceafbdc13d82905f726fa87f40b37d
[ "MIT" ]
1
2020-06-08T01:08:49.000Z
2020-06-08T01:08:49.000Z
// MIT License // // Copyright (c) 2021 Andrey Vasiliev // // 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, copy, mod...
37.695652
120
0.474337
roninest
5e02dda7f3c4b308751e90c8f7247fef9d955efa
804
hpp
C++
libs/fnd/variant/include/bksge/fnd/variant/detail/raw_visit.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
4
2018-06-10T13:35:32.000Z
2021-06-03T14:27:41.000Z
libs/fnd/variant/include/bksge/fnd/variant/detail/raw_visit.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
566
2017-01-31T05:36:09.000Z
2022-02-09T05:04:37.000Z
libs/fnd/variant/include/bksge/fnd/variant/detail/raw_visit.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
1
2018-07-05T04:40:53.000Z
2018-07-05T04:40:53.000Z
/** * @file raw_visit.hpp * * @brief raw_visit の定義 * * @author myoukaku */ #ifndef BKSGE_FND_VARIANT_DETAIL_RAW_VISIT_HPP #define BKSGE_FND_VARIANT_DETAIL_RAW_VISIT_HPP #include <bksge/fnd/variant/detail/do_visit.hpp> #include <bksge/fnd/variant/detail/variant_cookie.hpp> #include <utility> nam...
21.72973
58
0.735075
myoukaku
5e07c68ff51b2ea1b78f73502a5c0812a04eba37
1,026
cpp
C++
exercises/4/seminar/14/SoftwareCompany/SoftwareCompany.cpp
triffon/oop-2019-20
db199631d59ddefdcc0c8eb3d689de0095618f92
[ "MIT" ]
19
2020-02-21T16:46:50.000Z
2022-01-26T19:59:49.000Z
exercises/4/seminar/14/SoftwareCompany/SoftwareCompany.cpp
triffon/oop-2019-20
db199631d59ddefdcc0c8eb3d689de0095618f92
[ "MIT" ]
1
2020-03-14T08:09:45.000Z
2020-03-14T08:09:45.000Z
exercises/4/seminar/14/SoftwareCompany/SoftwareCompany.cpp
triffon/oop-2019-20
db199631d59ddefdcc0c8eb3d689de0095618f92
[ "MIT" ]
11
2020-02-23T12:29:58.000Z
2021-04-11T08:30:12.000Z
// SoftwareCompany.cpp : This file contains the 'main' function. Program execution begins and ends there. // #include <iostream> #include "Person.h" #include "Client.h" #include "Employee.h" #include "Company.h" #include "HR.h" using namespace std; int main() { /*Person p1("georgi", "todorov", 42); cout <<...
21.829787
105
0.593567
triffon
5e0856eba3dcfe9536df572432ee5112b0ca9d1d
4,381
cpp
C++
Source/StomtPlugin/Private/StomtJsonValue.cpp
stomt/stomt-unreal-plugin
804051d511c93f424f8b5ea3ed24133109847917
[ "MIT" ]
25
2017-03-06T23:54:25.000Z
2021-12-02T15:15:56.000Z
Source/StomtPlugin/Private/StomtJsonValue.cpp
stomt/stomt-unreal-plugin
804051d511c93f424f8b5ea3ed24133109847917
[ "MIT" ]
9
2017-05-11T20:16:27.000Z
2021-01-27T23:36:52.000Z
Source/StomtPlugin/Private/StomtJsonValue.cpp
stomt/stomt-unreal-plugin
804051d511c93f424f8b5ea3ed24133109847917
[ "MIT" ]
11
2017-05-09T15:03:58.000Z
2021-10-02T19:47:40.000Z
// Copyright 2018 STOMT GmbH. All Rights Reserved. #pragma once #include "StomtJsonValue.h" #include "StomtPluginPrivatePCH.h" UStomtJsonValue* UStomtJsonValue::ConstructJsonValueNumber(UObject* WorldContextObject, float Number) { TSharedPtr<FJsonValue> NewVal = MakeShareable(new FJsonValueNumber(Number)); UStomtJ...
19.734234
127
0.708742
stomt
5e09d21b11af72990e3230214c35315d95e4f051
3,847
cpp
C++
test/make/signature_pass.cpp
jwakely/std-make
f09d052983ace70cf371bb8ddf78d4f00330bccd
[ "BSL-1.0" ]
105
2015-01-24T13:26:41.000Z
2022-02-18T15:36:53.000Z
test/make/signature_pass.cpp
jwakely/std-make
f09d052983ace70cf371bb8ddf78d4f00330bccd
[ "BSL-1.0" ]
37
2015-09-04T06:57:10.000Z
2021-09-09T18:01:44.000Z
test/make/signature_pass.cpp
jwakely/std-make
f09d052983ace70cf371bb8ddf78d4f00330bccd
[ "BSL-1.0" ]
23
2015-01-27T11:09:18.000Z
2021-10-04T02:23:30.000Z
// Copyright (C) 2014-2015 Vicente J. Botet Escriba // // 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) // <experimental/signature.hpp> #include <experimental/fundamental/v2/signature.hpp> #include <experimental...
20.247368
129
0.598908
jwakely
5e0ad9e050432cf0a01e78e5e98ecf0e8c576c82
569
cpp
C++
Source/VRArmIK/Private/VRArmIKData.cpp
getnamo/VRArmIK-ue4
3a997ade2186f2ee91b66eee5047b4173302d59c
[ "MIT" ]
11
2019-02-07T05:30:50.000Z
2021-06-16T16:59:15.000Z
Source/VRArmIK/Private/VRArmIKData.cpp
getnamo/VRArmIK-ue4
3a997ade2186f2ee91b66eee5047b4173302d59c
[ "MIT" ]
null
null
null
Source/VRArmIK/Private/VRArmIKData.cpp
getnamo/VRArmIK-ue4
3a997ade2186f2ee91b66eee5047b4173302d59c
[ "MIT" ]
3
2019-11-12T07:16:00.000Z
2021-09-04T02:18:42.000Z
// Copyright 2019-current Getnamo. All Rights Reserved. #include "VRArmIKData.h" //FArmIKArmData float FArmIKArmData::UpperArmLength() { return (Shoulder.GetLocation() - Elbow.GetLocation()).Size(); } float FArmIKArmData::LowerArmLength() { return (Elbow.GetLocation() - Hand.GetLocation()).Size(); } float FArmIKA...
21.884615
82
0.738137
getnamo
5e0afd32b94b6d6f6f39c9f242c97b15fa8cb1fa
18,659
cpp
C++
tests/table_functions_tests.cpp
ThomasWitte/MiniLua
033a357c602d2d2ebeca304d1a3660ad1e5d7298
[ "MIT" ]
2
2020-07-08T11:51:02.000Z
2021-02-22T23:28:37.000Z
tests/table_functions_tests.cpp
ThomasWitte/MiniLua
033a357c602d2d2ebeca304d1a3660ad1e5d7298
[ "MIT" ]
142
2020-08-31T13:21:17.000Z
2021-09-15T18:46:10.000Z
tests/table_functions_tests.cpp
ThomasWitte/MiniLua
033a357c602d2d2ebeca304d1a3660ad1e5d7298
[ "MIT" ]
3
2020-08-17T13:42:39.000Z
2020-08-31T11:38:05.000Z
#include <catch2/catch.hpp> #include <cmath> #include <cstdlib> #include <iostream> #include <list> #include <random> #include <string> #include <unordered_map> #include <vector> #include "MiniLua/environment.hpp" #include "MiniLua/source_change.hpp" #include "MiniLua/table_functions.hpp" #include "MiniLua/values.hpp"...
31.787053
100
0.487111
ThomasWitte
5e0d93688b8ec0bd301c5330ea49d9122384cb9e
1,711
cpp
C++
Userland/Libraries/LibGUI/Frame.cpp
TheCrott/serenity
925f21353efaa5304c5d486e6802c4e75e0c4d15
[ "BSD-2-Clause" ]
2
2022-01-15T00:53:43.000Z
2022-01-16T22:56:38.000Z
Userland/Libraries/LibGUI/Frame.cpp
TheCrott/serenity
925f21353efaa5304c5d486e6802c4e75e0c4d15
[ "BSD-2-Clause" ]
1
2020-06-21T23:22:11.000Z
2020-06-21T23:22:11.000Z
Userland/Libraries/LibGUI/Frame.cpp
TheCrott/serenity
925f21353efaa5304c5d486e6802c4e75e0c4d15
[ "BSD-2-Clause" ]
1
2022-02-09T08:28:12.000Z
2022-02-09T08:28:12.000Z
/* * Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org> * * SPDX-License-Identifier: BSD-2-Clause */ #include <LibGUI/Frame.h> #include <LibGUI/Painter.h> #include <LibGfx/Palette.h> #include <LibGfx/StylePainter.h> REGISTER_WIDGET(GUI, Frame) namespace GUI { Frame::Frame() { set_frame_thickness(...
26.734375
131
0.679719
TheCrott
5e126b6f83da1d6e00afd36c269cac9d3ec18944
11,520
cpp
C++
src/processor.cpp
rfotino/consolite-emu-cpp
caf9b6119c8f8eea9a22fefa129bb2d0557eb139
[ "MIT" ]
8
2015-08-31T19:16:53.000Z
2017-03-25T13:43:20.000Z
src/processor.cpp
rfotino/consolite-emu-cpp
caf9b6119c8f8eea9a22fefa129bb2d0557eb139
[ "MIT" ]
null
null
null
src/processor.cpp
rfotino/consolite-emu-cpp
caf9b6119c8f8eea9a22fefa129bb2d0557eb139
[ "MIT" ]
null
null
null
/** * Consolite Emulator * Copyright (c) 2015 Robert Fotino, All Rights Reserved */ #include <ctime> #include <iostream> #include <fstream> #include <string.h> #include "processor.h" EmuProcessor::EmuProcessor(EmuWindow *window, const std::string& infile_name) ...
27.105882
76
0.57283
rfotino
5e204dc7b87f4d7e2b877f8d2dc0eb2af024dd26
2,039
cc
C++
src/utils.cc
CS126SP20/sudoku-solver-kaahanmotwani
7e67b61a240dc612320f99f90f30638c947c9e39
[ "MIT" ]
null
null
null
src/utils.cc
CS126SP20/sudoku-solver-kaahanmotwani
7e67b61a240dc612320f99f90f30638c947c9e39
[ "MIT" ]
null
null
null
src/utils.cc
CS126SP20/sudoku-solver-kaahanmotwani
7e67b61a240dc612320f99f90f30638c947c9e39
[ "MIT" ]
1
2020-06-09T18:50:31.000Z
2020-06-09T18:50:31.000Z
// // Created by Kaahan Motwani on 3/24/20. // #include "sudoku/utils.h" #include <sudoku/Puzzle.h> namespace utils { bool ContainsValidCharacters(const string& puzzle_line) { // digits_string is a string of valid digits in a sudoku puzzle string digits_string = "123456789"; vector<char> digits; // ...
31.859375
75
0.643453
CS126SP20
5e205916998324b48e031acb6734b6a0d5d71ee0
440
cpp
C++
303.Range Sum Query - Immutable/test.cpp
ReZeroS/LeetCode
807ae800437e0b6224bd4672f28007388625437b
[ "MIT" ]
2
2018-10-24T03:34:44.000Z
2020-07-16T15:34:44.000Z
303.Range Sum Query - Immutable/test.cpp
ReZeroS/LeetCode
807ae800437e0b6224bd4672f28007388625437b
[ "MIT" ]
null
null
null
303.Range Sum Query - Immutable/test.cpp
ReZeroS/LeetCode
807ae800437e0b6224bd4672f28007388625437b
[ "MIT" ]
null
null
null
class NumArray { public: vector<int> memo = {0}; NumArray(vector<int> &nums) { int summ = 0; for (int n : nums) { summ += n; memo.push_back(summ); } } int sumRange(int i, int j) { return memo[j+1] - memo[i]; } }; /** * Your NumArray object w...
20
64
0.525
ReZeroS
5e2617dfebe78b400ac3007d3d071e9f3d210ee1
5,524
hpp
C++
crogine/include/crogine/graphics/SimpleText.hpp
fallahn/crogine
f6cf3ade1f4e5de610d52e562bf43e852344bca0
[ "FTL", "Zlib" ]
41
2017-08-29T12:14:36.000Z
2022-02-04T23:49:48.000Z
crogine/include/crogine/graphics/SimpleText.hpp
fallahn/crogine
f6cf3ade1f4e5de610d52e562bf43e852344bca0
[ "FTL", "Zlib" ]
11
2017-09-02T15:32:45.000Z
2021-12-27T13:34:56.000Z
crogine/include/crogine/graphics/SimpleText.hpp
fallahn/crogine
f6cf3ade1f4e5de610d52e562bf43e852344bca0
[ "FTL", "Zlib" ]
5
2020-01-25T17:51:45.000Z
2022-03-01T05:20:30.000Z
/*----------------------------------------------------------------------- Matt Marchant 2017 - 2021 http://trederia.blogspot.com crogine - Zlib license. This software is provided 'as-is', without any express or implied warranty.In no event will the authors be held liable for any damages arising from the use of this ...
29.382979
99
0.607531
fallahn
5e274a543496ec63d9b44176345be51b5f98e46e
4,180
hpp
C++
src/compressed-sensing/lib/include/Armadillo/armadillo_bits/fn_princomp.hpp
HerrFroehlich/ns3-CompressedSensing
f5e4e56aeea97794695ecef6183bdaa1b72fd1de
[ "MIT" ]
null
null
null
src/compressed-sensing/lib/include/Armadillo/armadillo_bits/fn_princomp.hpp
HerrFroehlich/ns3-CompressedSensing
f5e4e56aeea97794695ecef6183bdaa1b72fd1de
[ "MIT" ]
null
null
null
src/compressed-sensing/lib/include/Armadillo/armadillo_bits/fn_princomp.hpp
HerrFroehlich/ns3-CompressedSensing
f5e4e56aeea97794695ecef6183bdaa1b72fd1de
[ "MIT" ]
null
null
null
// Copyright (C) 2010-2012 NICTA (www.nicta.com.au) // Copyright (C) 2010-2012 Conrad Sanderson // Copyright (C) 2010 Dimitrios Bouzas // // This file is part of the Armadillo C++ library. // It is provided without any warranty of fitness // for any purpose. You can redistribute this file // and/or modify it under the...
23.75
102
0.675598
HerrFroehlich
5e27a43a4eaa40156f6bafdbe4a2ec4e0888802d
1,699
cpp
C++
Linked List/reverseList.cpp
YichuLi/Data-Structures-and-Algorithms
d552f3be4628721893686eaac09e7c4f7ef82563
[ "MIT" ]
null
null
null
Linked List/reverseList.cpp
YichuLi/Data-Structures-and-Algorithms
d552f3be4628721893686eaac09e7c4f7ef82563
[ "MIT" ]
null
null
null
Linked List/reverseList.cpp
YichuLi/Data-Structures-and-Algorithms
d552f3be4628721893686eaac09e7c4f7ef82563
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; struct ListNode{ int val; ListNode* next; ListNode(int x): val(x), next(NULL){} ListNode() : val(0), next(nullptr) {} }; class Solution{ public: ListNode* reverseList_1(ListNode* head){ ListNode* reverse = NULL; ListNode* next = NULL; ...
20.46988
78
0.4897
YichuLi
5e2a1f4868d22682ef2409cc062593b8d3185a1f
7,956
cpp
C++
modules/irc/Module.cpp
dracc/VCMP-SqMod
d3e6adea147f5b2cae5119ddd6028833aa625c09
[ "MIT" ]
null
null
null
modules/irc/Module.cpp
dracc/VCMP-SqMod
d3e6adea147f5b2cae5119ddd6028833aa625c09
[ "MIT" ]
null
null
null
modules/irc/Module.cpp
dracc/VCMP-SqMod
d3e6adea147f5b2cae5119ddd6028833aa625c09
[ "MIT" ]
null
null
null
// ------------------------------------------------------------------------------------------------ #include "Common.hpp" // ------------------------------------------------------------------------------------------------ #include <cstdio> #include <cstdlib> // --------------------------------------------------------...
32.606557
117
0.498115
dracc
5e30bf347bb13f856fbe4e53244bede195a5ae1c
23,326
cpp
C++
src/algorithms.cpp
diegopaiva1/darp
a8270610cc4ee80e64ecdeca0e04cd9ad7b54fbc
[ "MIT" ]
2
2021-08-13T13:12:01.000Z
2022-03-28T09:02:03.000Z
src/algorithms.cpp
diegopaiva1/darp
a8270610cc4ee80e64ecdeca0e04cd9ad7b54fbc
[ "MIT" ]
null
null
null
src/algorithms.cpp
diegopaiva1/darp
a8270610cc4ee80e64ecdeca0e04cd9ad7b54fbc
[ "MIT" ]
1
2021-11-19T13:47:19.000Z
2021-11-19T13:47:19.000Z
/** * @file algorithms.cpp * @author Diego Paiva * @date 26/09/2019 */ #include "algorithms.hpp" #include "instance.hpp" #include "gnuplot.hpp" #include <cfloat> // FLT_MAX #include <omp.h> // OpenMP namespace algorithms { using namespace details; Run grasp(int iterations, double random_param, int thre...
31.268097
138
0.497728
diegopaiva1
5e3287a31ae595ee553a14dcc4f33aa14dfa5249
10,219
cc
C++
squid/squid3-3.3.8.spaceify/src/DiskIO/DiskDaemon/diskd.cc
spaceify/spaceify
4296d6c93cad32bb735cefc9b8157570f18ffee4
[ "MIT" ]
4
2015-01-20T15:25:34.000Z
2017-12-20T06:47:42.000Z
squid/squid3-3.3.8.spaceify/src/DiskIO/DiskDaemon/diskd.cc
spaceify/spaceify
4296d6c93cad32bb735cefc9b8157570f18ffee4
[ "MIT" ]
4
2015-05-15T09:32:55.000Z
2016-02-18T13:43:31.000Z
squid/squid3-3.3.8.spaceify/src/DiskIO/DiskDaemon/diskd.cc
spaceify/spaceify
4296d6c93cad32bb735cefc9b8157570f18ffee4
[ "MIT" ]
null
null
null
/* * DEBUG: section -- External DISKD process implementation. * AUTHOR: Harvest Derived * * SQUID Web Proxy Cache http://www.squid-cache.org/ * ---------------------------------------------------------- * * Squid is the result of efforts by numerous individuals from * the Internet community; see t...
23.172336
107
0.508367
spaceify
5e3428e5431c9b07125b264ec6ca7da3b7298ac0
2,623
cpp
C++
FluorescenceV3/FL2/_Src/vfdco_hid.cpp
hey-frnk/thevfdcollective
ae6ff606041ba390740342aaa2da0d93d32f4277
[ "MIT" ]
16
2018-07-10T21:06:55.000Z
2022-03-03T08:06:21.000Z
FluorescenceV3/FL2/_Src/vfdco_hid.cpp
basharbme/thevfdcollective
ae6ff606041ba390740342aaa2da0d93d32f4277
[ "MIT" ]
1
2021-08-14T03:09:13.000Z
2021-09-02T16:42:28.000Z
FluorescenceV3/FL2/_Src/vfdco_hid.cpp
basharbme/thevfdcollective
ae6ff606041ba390740342aaa2da0d93d32f4277
[ "MIT" ]
2
2021-06-14T12:22:27.000Z
2022-01-31T22:27:49.000Z
#include <Arduino.h> #include <stdint.h> #include "vfdco_hid.h" #ifdef _HID_IMPLEMENTATION #error "An implementation of the HID driver already exists!" #endif #define _HID_IMPLEMENTATION #define B_F1_PIN 5 // ATMEGA: 11 F1 Button #define B_F2_PIN 6 // ATMEGA: 12 F2 Button #define B_F3_PIN ...
35.931507
104
0.612276
hey-frnk
5e388dd1d50876a0916eed4985d3d66695da1e00
2,923
cpp
C++
winprom/ListFrame.cpp
Frontline-Processing/winprom
621e1422333a9b4e84cd2f507a412e8bb0e68c46
[ "MIT" ]
17
2015-10-23T13:07:06.000Z
2021-08-25T07:06:13.000Z
winprom/ListFrame.cpp
Frontline-Processing/winprom
621e1422333a9b4e84cd2f507a412e8bb0e68c46
[ "MIT" ]
null
null
null
winprom/ListFrame.cpp
Frontline-Processing/winprom
621e1422333a9b4e84cd2f507a412e8bb0e68c46
[ "MIT" ]
3
2016-01-27T22:13:40.000Z
2018-05-09T12:56:02.000Z
// WinProm Copyright 2015 Edward Earl // All rights reserved. // // This software is distributed under a license that is described in // the LICENSE file that accompanies it. // // ListFrame.cpp : implementation file // #include "stdafx.h" #include "winprom.h" #include "ListFrame.h" #include "FeatureListView.h" #ifde...
24.771186
78
0.699282
Frontline-Processing
5e3d31bdfd7b8885f96e907a5ab6fc73ecd51827
5,099
cpp
C++
sample/train_binary_batch.cpp
chokkan/classias
06016d405b64295e581edae3f6dbfe96f9772ec3
[ "BSD-3-Clause" ]
8
2015-10-28T12:50:12.000Z
2020-01-27T14:22:15.000Z
sample/train_binary_batch.cpp
chokkan/classias
06016d405b64295e581edae3f6dbfe96f9772ec3
[ "BSD-3-Clause" ]
4
2019-10-09T08:25:11.000Z
2019-10-09T08:29:52.000Z
sample/train_binary_batch.cpp
chokkan/classias
06016d405b64295e581edae3f6dbfe96f9772ec3
[ "BSD-3-Clause" ]
3
2015-07-03T16:47:40.000Z
2016-10-31T20:07:29.000Z
/* * A sample program for training a binary classifier. * * Copyright (c) 2008,2009 Naoaki Okazaki * 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 m...
35.908451
78
0.653265
chokkan
1e11d63b78342b00b079962e63b9c9faa4ba9973
1,362
hpp
C++
experimental/k-means/k-means/headers/layout_policies.hpp
jiriklepl/cuda-kmeans
e17646e8c0a44c22a9d0d165d321af699aa1dd60
[ "MIT" ]
11
2020-06-18T06:56:20.000Z
2022-03-18T10:37:25.000Z
experimental/k-means/k-means/headers/layout_policies.hpp
jiriklepl/cuda-kmeans
e17646e8c0a44c22a9d0d165d321af699aa1dd60
[ "MIT" ]
1
2022-01-04T15:12:50.000Z
2022-01-04T17:58:09.000Z
experimental/k-means/k-means/headers/layout_policies.hpp
jiriklepl/cuda-kmeans
e17646e8c0a44c22a9d0d165d321af699aa1dd60
[ "MIT" ]
5
2020-11-14T17:38:53.000Z
2021-07-11T21:37:38.000Z
#ifndef K_MEANS_LAYOUT_POLICIES_HPP #define K_MEANS_LAYOUT_POLICIES_HPP #include <vector> #include <random> #include <limits> #ifdef __CUDACC__ #define CUDA_CALLABLE_MEMBER __host__ __device__ #else #define CUDA_CALLABLE_MEMBER #endif template<int ALIGN = 32> class SoALayoutPolicy { public: using precomputed_t = ...
20.953846
104
0.723935
jiriklepl
1e16df5e19b91003f3a3e9957f7f4f9bedf229ce
1,030
hpp
C++
src/app/joker/include/core/core.hpp
coenfuse/Joker
9b25e2e7cb72ad75a2233ded7b0495ef81c3c742
[ "MIT" ]
null
null
null
src/app/joker/include/core/core.hpp
coenfuse/Joker
9b25e2e7cb72ad75a2233ded7b0495ef81c3c742
[ "MIT" ]
11
2020-10-07T14:32:34.000Z
2020-12-19T12:26:01.000Z
src/app/joker/include/core/core.hpp
coenfuse/Joker
9b25e2e7cb72ad75a2233ded7b0495ef81c3c742
[ "MIT" ]
null
null
null
#pragma once // Standard Dependencies #include <atomic> #include <string> // External Dependencies // Internal Dependencies #include "config/config.hpp" #include "core/coretypes.hpp" #include "errorcodes/errorcodes.hpp" namespace coen { class Core { public: Core() = default; ~Core(); JEC initialize(c...
17.758621
99
0.724272
coenfuse
1e1b1065fa7220de1fd0e8f2ed701bfaaf349f4b
8,615
cc
C++
poppler-21.11.0/splash/SplashState.cc
stackoverflowed/multimodal
95668d0b34d297e96b5ef76521e587578ef2581f
[ "MIT" ]
null
null
null
poppler-21.11.0/splash/SplashState.cc
stackoverflowed/multimodal
95668d0b34d297e96b5ef76521e587578ef2581f
[ "MIT" ]
null
null
null
poppler-21.11.0/splash/SplashState.cc
stackoverflowed/multimodal
95668d0b34d297e96b5ef76521e587578ef2581f
[ "MIT" ]
null
null
null
//======================================================================== // // SplashState.cc // //======================================================================== //======================================================================== // // Modified under the Poppler project - http://poppler.freedesktop....
31.789668
113
0.624376
stackoverflowed
1e1c370746e4535d48421f14d018e2d79fcb7047
4,988
cpp
C++
core/util/VisualizationToolKit.cpp
srynobio/graphite
e37aa8803ea15f0473ab368b4bae3e3347451229
[ "MIT" ]
27
2015-09-17T08:35:51.000Z
2021-04-07T02:37:37.000Z
core/util/VisualizationToolKit.cpp
srynobio/graphite
e37aa8803ea15f0473ab368b4bae3e3347451229
[ "MIT" ]
6
2015-12-30T21:43:56.000Z
2018-12-13T22:52:29.000Z
core/util/VisualizationToolKit.cpp
srynobio/graphite
e37aa8803ea15f0473ab368b4bae3e3347451229
[ "MIT" ]
7
2015-12-30T21:33:49.000Z
2019-11-25T10:16:01.000Z
/* #include "core/alignment/BamAlignmentReader.h" #include "core/file/IFile.h" #include "VisualizationToolKit.h" namespace graphite { VisualizationToolKit::VisualizationToolKit(const std::string& outputPath, const std::vector< std::string >& bamPaths, int matchValue) : m_output_path(outputPath), m_match_value(matc...
40.225806
191
0.736969
srynobio
1e1c870fabe4e0329ac02b309fdb664c4ef68505
13,171
cpp
C++
src/framework/shared/support/um/fxtelemetryum.cpp
MartinDrab/Windows-Driver-Frameworks
b72d691fbfd505dcb3c23c4bfc37d5322dea4990
[ "MIT" ]
null
null
null
src/framework/shared/support/um/fxtelemetryum.cpp
MartinDrab/Windows-Driver-Frameworks
b72d691fbfd505dcb3c23c4bfc37d5322dea4990
[ "MIT" ]
null
null
null
src/framework/shared/support/um/fxtelemetryum.cpp
MartinDrab/Windows-Driver-Frameworks
b72d691fbfd505dcb3c23c4bfc37d5322dea4990
[ "MIT" ]
1
2018-07-11T13:52:50.000Z
2018-07-11T13:52:50.000Z
/*++ Copyright (c) Microsoft Corporation Module Name: FxTelemetryUm.cpp Abstract: This module implements a telemetry methods. Author: Environment: User mode only Revision History: Notes: --*/ #include "fxsupportpch.hpp" #include "DriverFrameworks-UserMode-UmEvents.h" #include "FxldrUm.h" #incl...
30.845433
133
0.637689
MartinDrab
1e1d7eb34b088e8dc84feac382ee5e6a39c9a445
381
cc
C++
correlations/example-correlation.cc
zentechnologygroup/pvt-cpp
84838c01a6c94dec972e4d614aaac772c9f98e1d
[ "MIT" ]
1
2018-08-08T23:31:47.000Z
2018-08-08T23:31:47.000Z
correlations/example-correlation.cc
zentechnologygroup/pvt-cpp
84838c01a6c94dec972e4d614aaac772c9f98e1d
[ "MIT" ]
null
null
null
correlations/example-correlation.cc
zentechnologygroup/pvt-cpp
84838c01a6c94dec972e4d614aaac772c9f98e1d
[ "MIT" ]
1
2019-11-13T14:28:08.000Z
2019-11-13T14:28:08.000Z
# include <iostream> # include <units/pvt-units.H> # include <correlations/pvt-correlations.H> int main() { Correlation::list().for_each([] (auto p) { cout << *p << endl; }); const PbAlMarhoun & c = PbAlMarhoun::get_instance(); // c.add_parameter("p1", "degF", 40, 90); // c.add_parameter("p2", "psia", 4, 10...
20.052632
68
0.595801
zentechnologygroup
1e1f381d61761669ab5ae04a887d4e99a0fe4242
2,092
cc
C++
flare/base/process_util.cc
flare-rpc/flare-cpp
c1630c7eb8bae0a0b0cee6ec3f13f1babeaef950
[ "Apache-2.0" ]
3
2022-01-23T17:55:24.000Z
2022-03-23T12:55:18.000Z
flare/base/process_util.cc
flare-rpc/flare-cpp
c1630c7eb8bae0a0b0cee6ec3f13f1babeaef950
[ "Apache-2.0" ]
null
null
null
flare/base/process_util.cc
flare-rpc/flare-cpp
c1630c7eb8bae0a0b0cee6ec3f13f1babeaef950
[ "Apache-2.0" ]
null
null
null
#include <fcntl.h> // open #include <stdio.h> // snprintf #include <sys/types.h> #include <sys/uio.h> #include <unistd.h> // read, gitpid #include <sstream> // std::ostringstream #include "flare/base/fd_guard.h" // flare::...
29.885714
79
0.512428
flare-rpc
1e289cdc12fb75937db59cd5ac24d61b0bfe29be
19,511
cc
C++
ns-allinone-2.35/satellite/sathandoff.cc
nitishk017/ns2project
f037b796ff10300ffe0422580be5855c37d0b140
[ "MIT" ]
1
2020-05-29T13:04:42.000Z
2020-05-29T13:04:42.000Z
ns-allinone-2.35/satellite/sathandoff.cc
nitishk017/ns2project
f037b796ff10300ffe0422580be5855c37d0b140
[ "MIT" ]
1
2019-01-20T17:35:23.000Z
2019-01-22T21:41:38.000Z
ns-allinone-2.35/satellite/sathandoff.cc
nitishk017/ns2project
f037b796ff10300ffe0422580be5855c37d0b140
[ "MIT" ]
1
2021-09-29T16:06:57.000Z
2021-09-29T16:06:57.000Z
/* -*- Mode:C++; c-basic-offset:8; tab-width:8; indent-tabs-mode:t -*- */ /* * Copyright (c) 1999 Regents of the University of California. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: ...
37.449136
129
0.671262
nitishk017
1e2d2979cdb3f33616f08727ee2756a997f42004
7,823
cpp
C++
Kamek/src/yoshiFly.cpp
N-I-N-0/NSMBWii-Mod
56e45eeb3696f7dfa75dca13fdc2a384c8baa5fe
[ "MIT" ]
null
null
null
Kamek/src/yoshiFly.cpp
N-I-N-0/NSMBWii-Mod
56e45eeb3696f7dfa75dca13fdc2a384c8baa5fe
[ "MIT" ]
null
null
null
Kamek/src/yoshiFly.cpp
N-I-N-0/NSMBWii-Mod
56e45eeb3696f7dfa75dca13fdc2a384c8baa5fe
[ "MIT" ]
null
null
null
// #include <common.h> // #include <game.h> // #include <g3dhax.h> // #include <daYoshi_c.h> // #include "yoshiFly.h" // extern int getNybbleValue(u32 settings, int fromNybble, int toNybble); // dYoshiWingsRenderer_c *dYoshiWingsRenderer_c::build() { // return new dYoshiWingsRenderer_c; // } // dYoshiWingsRenderer_...
29.632576
192
0.739742
N-I-N-0
1e2d8ae93a71f3b056475a0c8f3228ab32fecb8a
6,786
cc
C++
cc/google/fhir/fhir_path/utils_test.cc
loafoe/fhir
513af7448762fc277ae0a8d7b12d18fc073b41d1
[ "Apache-2.0" ]
null
null
null
cc/google/fhir/fhir_path/utils_test.cc
loafoe/fhir
513af7448762fc277ae0a8d7b12d18fc073b41d1
[ "Apache-2.0" ]
2
2020-07-24T14:20:45.000Z
2020-07-24T19:43:52.000Z
cc/google/fhir/fhir_path/utils_test.cc
loafoe/fhir
513af7448762fc277ae0a8d7b12d18fc073b41d1
[ "Apache-2.0" ]
1
2020-07-10T15:03:45.000Z
2020-07-10T15:03:45.000Z
// Copyright 2020 Google LLC // // 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 ...
34.979381
80
0.698792
loafoe
1e330d63c37c6d2a311854783e7b9b14fb0a4204
595
cpp
C++
Source/Number Theory/number of divisor in qube root.cpp
Nadim-Mahmud/Competitive-Programming
3f88ef395a334e2c8ca450f912f8ebbe1c3dd584
[ "MIT" ]
7
2019-11-09T09:08:41.000Z
2022-03-04T13:29:32.000Z
Source/Number Theory/number of divisor in qube root.cpp
Nadim-Mahmud/Competitive-Programming-Template
3f88ef395a334e2c8ca450f912f8ebbe1c3dd584
[ "MIT" ]
null
null
null
Source/Number Theory/number of divisor in qube root.cpp
Nadim-Mahmud/Competitive-Programming-Template
3f88ef395a334e2c8ca450f912f8ebbe1c3dd584
[ "MIT" ]
3
2019-12-30T13:56:06.000Z
2022-03-04T13:29:34.000Z
/// ***Number of divisors [Quberoot(n)] /** There can be only two prime after qube root * so we factorize upto quberoot by the trial divison then * handle ramainig <=2 prime * Miller Rabin needed */ ll NOD(ll n){ ll i,j,r,nod=1,cn; for(i=1;i<=in&&(pr[i]*pr[i]*pr[i])<=n;i++){ cn = 1; whi...
19.193548
59
0.485714
Nadim-Mahmud
1e37b8b689987fa93210b3fd0808c7938ae93938
1,779
hpp
C++
gears/string/literals.hpp
Rapptz/Gears
ce65bf135057939c19710286f772a874504efeb4
[ "MIT" ]
16
2015-01-18T13:40:22.000Z
2021-11-08T11:52:35.000Z
gears/string/literals.hpp
Rapptz/Gears
ce65bf135057939c19710286f772a874504efeb4
[ "MIT" ]
3
2015-01-17T01:23:26.000Z
2015-03-30T22:30:01.000Z
gears/string/literals.hpp
Rapptz/Gears
ce65bf135057939c19710286f772a874504efeb4
[ "MIT" ]
3
2017-10-21T05:42:58.000Z
2021-06-07T18:04:40.000Z
// The MIT License (MIT) // Copyright (c) 2012-2014 Danny Y., Rapptz // 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 // us...
34.882353
83
0.74199
Rapptz
1e3886355e730dbe27bfc30180990851c97f9306
3,587
cpp
C++
src/audio/Data.cpp
KeinR/Danzun
413beccb3e6d2fc1b7fa1c50e387057404e07d88
[ "MIT" ]
null
null
null
src/audio/Data.cpp
KeinR/Danzun
413beccb3e6d2fc1b7fa1c50e387057404e07d88
[ "MIT" ]
null
null
null
src/audio/Data.cpp
KeinR/Danzun
413beccb3e6d2fc1b7fa1c50e387057404e07d88
[ "MIT" ]
null
null
null
#include "Data.h" #include <cstring> #include <fstream> #include <stdexcept> #include <stb/stb_vorbis.h> #include <dr/dr_wav.h> static dan::audio::Data doLoadVorbis(stb_vorbis *handle); static dan::audio::Data doLoadWav(drwav *handle); dan::audio::Data::Data(): dataBytes(0), frequency(0), format(0) { } dan::audio::...
32.609091
115
0.690549
KeinR
1e39bd7ab95563c02744cdbbf5479c99c0a61015
1,784
hpp
C++
src/constants.hpp
Guenther1978/connect_four
367a71368e08bc7d73f6a48be90ad1955e1e7955
[ "MIT" ]
null
null
null
src/constants.hpp
Guenther1978/connect_four
367a71368e08bc7d73f6a48be90ad1955e1e7955
[ "MIT" ]
null
null
null
src/constants.hpp
Guenther1978/connect_four
367a71368e08bc7d73f6a48be90ad1955e1e7955
[ "MIT" ]
null
null
null
#ifndef _CONSTANTS_H_ #define _CONSTANTS_H_ /*----- Konstanten zum Zeichnen von Rechtecken und Linien -------------*/ #define LINKS_OBEN ACS_ULCORNER // Zeichen zum Malen der Linien und #define RECHTS_OBEN ACS_URCORNER // Rechtecke. Die Zeichen sind in #define HORIZ ACS_HLINE // der Headerdatei ...
34.307692
73
0.572309
Guenther1978
1e3c0974dc97b56020b54703d28aba5b5fe1ae7b
918
cpp
C++
Engine/Interface/UIListItem.cpp
openlastchaos/lastchaos-source-client
3d88594dba7347b1bb45378136605e31f73a8555
[ "Apache-2.0" ]
1
2022-02-14T15:46:44.000Z
2022-02-14T15:46:44.000Z
Engine/Interface/UIListItem.cpp
openlastchaos/lastchaos-source-client
3d88594dba7347b1bb45378136605e31f73a8555
[ "Apache-2.0" ]
null
null
null
Engine/Interface/UIListItem.cpp
openlastchaos/lastchaos-source-client
3d88594dba7347b1bb45378136605e31f73a8555
[ "Apache-2.0" ]
2
2022-01-10T22:17:06.000Z
2022-01-17T09:34:08.000Z
#include "StdH.h" #include "UIListItem.h" #include <Engine/Interface/UIManager.h> CUIListItem::CUIListItem() : m_nIdx(-1) , m_pCmdDrag(NULL) { setType(eUI_CONTROL_LIST_ITEM); } CUIListItem::~CUIListItem() { Destroy(); SAFE_DELETE(m_pCmdDrag); } CUIBase* CUIListItem::Clone() { CUIListItem* pItem = NULL; pIt...
16.392857
84
0.636166
openlastchaos
1e3d85f9ac91071765da457ec3637cd8de1d3a29
1,695
cpp
C++
VC2010Samples/MFC/general/mdidocvw/HelloFrm.cpp
alonmm/VCSamples
6aff0b4902f5027164d593540fcaa6601a0407c3
[ "MIT" ]
300
2019-05-09T05:32:33.000Z
2022-03-31T20:23:24.000Z
VC2010Samples/MFC/general/mdidocvw/HelloFrm.cpp
JaydenChou/VCSamples
9e1d4475555b76a17a3568369867f1d7b6cc6126
[ "MIT" ]
9
2016-09-19T18:44:26.000Z
2018-10-26T10:20:05.000Z
VC2010Samples/MFC/general/mdidocvw/HelloFrm.cpp
JaydenChou/VCSamples
9e1d4475555b76a17a3568369867f1d7b6cc6126
[ "MIT" ]
633
2019-05-08T07:34:12.000Z
2022-03-30T04:38:28.000Z
// HelloFrm.cpp : implementation of the CHelloFrame class // // This is a part of the Microsoft Foundation Classes C++ library. // Copyright (c) Microsoft Corporation. All rights reserved. // // This source code is only intended as a supplement to the // Microsoft Foundation Classes Reference and related // electroni...
24.214286
77
0.621239
alonmm
1e4402273202646f20d8eb27549e846cb53cdb3e
8,895
cc
C++
src/templates/json.cc
websurfer5/json-schema-enforcer
99211a602b1c8177d9f9e67cd7773015f74a4080
[ "Apache-2.0" ]
null
null
null
src/templates/json.cc
websurfer5/json-schema-enforcer
99211a602b1c8177d9f9e67cd7773015f74a4080
[ "Apache-2.0" ]
null
null
null
src/templates/json.cc
websurfer5/json-schema-enforcer
99211a602b1c8177d9f9e67cd7773015f74a4080
[ "Apache-2.0" ]
null
null
null
#include "json.hh" #include <algorithm> #include <stdexcept> namespace foo { static std::string item_type_str[6] = { "array", "boolean", "null", ...
22.017327
111
0.518718
websurfer5
1e456f619510de20d829080733aea8ddb70a85eb
2,098
cpp
C++
includes/mfbt/tests/TestBitSet.cpp
gregtatum/spec-cpp
ebd40fa119a302f82ab10a2b8ddd52671f92e2ef
[ "MIT" ]
5
2018-02-01T18:25:35.000Z
2018-02-12T14:09:22.000Z
includes/mfbt/tests/TestBitSet.cpp
gregtatum/spec-cpp
ebd40fa119a302f82ab10a2b8ddd52671f92e2ef
[ "MIT" ]
null
null
null
includes/mfbt/tests/TestBitSet.cpp
gregtatum/spec-cpp
ebd40fa119a302f82ab10a2b8ddd52671f92e2ef
[ "MIT" ]
1
2019-03-15T06:01:40.000Z
2019-03-15T06:01:40.000Z
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* vim: set ts=8 sts=2 et sw=2 tw=80: */ /* 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...
31.313433
79
0.660629
gregtatum
1e4a0632c88c266725d946293e760a22e1c8502b
20,714
cpp
C++
MSFallback/Common/Model.cpp
StarsX/MSFallback
bf44df4fd4c52d7ba5202ba007ade09afb8124fa
[ "MIT" ]
5
2020-11-11T17:59:56.000Z
2021-08-25T13:30:34.000Z
MSFallback/Common/Model.cpp
StarsX/MSFallback
bf44df4fd4c52d7ba5202ba007ade09afb8124fa
[ "MIT" ]
null
null
null
MSFallback/Common/Model.cpp
StarsX/MSFallback
bf44df4fd4c52d7ba5202ba007ade09afb8124fa
[ "MIT" ]
null
null
null
//********************************************************* // // 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 PARTICUL...
41.017822
194
0.654195
StarsX
1e4e91f2882717bc820da73728dd7c23fc5ee1c5
3,166
cpp
C++
src/Graphical/Gfx/Camera.cpp
Khsime-Marwane/indie_studio
75a84dd70f33a655a4f15ea7a9a3b8845bd39dfc
[ "MIT" ]
null
null
null
src/Graphical/Gfx/Camera.cpp
Khsime-Marwane/indie_studio
75a84dd70f33a655a4f15ea7a9a3b8845bd39dfc
[ "MIT" ]
null
null
null
src/Graphical/Gfx/Camera.cpp
Khsime-Marwane/indie_studio
75a84dd70f33a655a4f15ea7a9a3b8845bd39dfc
[ "MIT" ]
null
null
null
// // Author: Marwane Khsime // Date: 2017-06-10 01:57:56 // // Last Modified by: Marwane Khsime // Last Modified time: 2017-06-10 01:57:56 // #include "Graphical/Gfx.hpp" void indie::Gfx::set_camera_pov(const IMap &map) { if (map.getPOV() != this->_infos._camera_view_point) { this->_infos._c...
28.522523
111
0.410613
Khsime-Marwane
1e4f864d56afd868d8d933584aa22eb78d09fc03
19,691
cpp
C++
VST3 SDK/vstgui4/vstgui/tests/uidescription vst3/source/graphicstest.cpp
jagilley/MrsWatson
dd00b6a3740cce4bf7c10d3342d4742c7d1b4836
[ "BSD-2-Clause" ]
2
2019-06-14T10:20:30.000Z
2020-02-19T17:53:42.000Z
VST3 SDK/vstgui4/vstgui/tests/uidescription vst3/source/graphicstest.cpp
jagilley/MrsWatson
dd00b6a3740cce4bf7c10d3342d4742c7d1b4836
[ "BSD-2-Clause" ]
null
null
null
VST3 SDK/vstgui4/vstgui/tests/uidescription vst3/source/graphicstest.cpp
jagilley/MrsWatson
dd00b6a3740cce4bf7c10d3342d4742c7d1b4836
[ "BSD-2-Clause" ]
1
2021-03-16T13:02:17.000Z
2021-03-16T13:02:17.000Z
//----------------------------------------------------------------------------- // VST Plug-Ins SDK // VSTGUI: Graphical User Interface Framework for VST plugins // // Version 4.3 // //----------------------------------------------------------------------------- // VSTGUI LICENSE // (c) 2015, Steinberg Media Technologi...
34.424825
159
0.606572
jagilley
1e5596f42828c2b0fd79af7579963094f7da686a
2,620
cpp
C++
src/ngraph/runtime/plaidml/plaidml_backend.cpp
pawelpiotrowicz/ngraph
59af4147ef4b395d0da9cb20d13db0227a5c7c37
[ "Apache-2.0" ]
1
2021-10-04T21:55:19.000Z
2021-10-04T21:55:19.000Z
src/ngraph/runtime/plaidml/plaidml_backend.cpp
pawelpiotrowicz/ngraph
59af4147ef4b395d0da9cb20d13db0227a5c7c37
[ "Apache-2.0" ]
1
2019-02-20T20:56:47.000Z
2019-02-22T20:10:28.000Z
src/ngraph/runtime/plaidml/plaidml_backend.cpp
darchr/ngraph
7c540e5230f8143ecb6926685c7b49305f0f988a
[ "Apache-2.0" ]
null
null
null
//***************************************************************************** // Copyright 2017-2019 Intel Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://w...
37.428571
100
0.691985
pawelpiotrowicz
1e5746aa3d00b709786c56fad7136e3dcd04f3cb
7,739
hpp
C++
SimipleNetworkProtocol/src/HeaderBuffer.hpp
DrLk/MultiThreaded-Socket
54d0b4b7c99cf0eeed7c6182501778f1e4a35333
[ "Apache-2.0" ]
null
null
null
SimipleNetworkProtocol/src/HeaderBuffer.hpp
DrLk/MultiThreaded-Socket
54d0b4b7c99cf0eeed7c6182501778f1e4a35333
[ "Apache-2.0" ]
null
null
null
SimipleNetworkProtocol/src/HeaderBuffer.hpp
DrLk/MultiThreaded-Socket
54d0b4b7c99cf0eeed7c6182501778f1e4a35333
[ "Apache-2.0" ]
null
null
null
#pragma once #include <list> #include <memory> #include <span> #include <vector> #include "ConnectionAddr.hpp" namespace FastTransport::Protocol { using ConnectionID = unsigned short; using SeqNumberType = unsigned int; using MagicNumber = int; enum class PacketType : short { NONE = 0, SYN = 1, ACK = 2,...
39.085859
274
0.658354
DrLk
1e59c90f4787e7e044596e43b6f268cd73497987
5,584
cpp
C++
DissertationExperiment/DemographicModule.cpp
jasondevans/dissertation
e0b6d1a7ff7fc94613f87c183a8dfdbf2a6464c4
[ "MIT" ]
null
null
null
DissertationExperiment/DemographicModule.cpp
jasondevans/dissertation
e0b6d1a7ff7fc94613f87c183a8dfdbf2a6464c4
[ "MIT" ]
null
null
null
DissertationExperiment/DemographicModule.cpp
jasondevans/dissertation
e0b6d1a7ff7fc94613f87c183a8dfdbf2a6464c4
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "DemographicModule.h" #include "Util.h" #include "Graphics.h" #include "Color.h" using namespace std; // Constructor. DemographicModule::DemographicModule() { // Set allowable characters. ageAllowable = "0123456789"; genderAllowable = "abcdefghijklmnopqrstuvwxyz., '-0123456789"; rac...
30.681319
121
0.664219
jasondevans
1e5aab1da2f69a4245253cf527d2d540544b4494
11,712
cpp
C++
LargeBarrelAnalysis/SignalTransformer.cpp
kdulski/j-pet-framework-examples
ab2592a2c6cf8f901f5732f8878b750b9a7b6a49
[ "Apache-2.0" ]
2
2017-12-12T16:51:06.000Z
2021-11-04T08:01:34.000Z
LargeBarrelAnalysis/SignalTransformer.cpp
kdulski/j-pet-framework-examples
ab2592a2c6cf8f901f5732f8878b750b9a7b6a49
[ "Apache-2.0" ]
89
2016-07-23T22:12:09.000Z
2022-01-19T13:21:29.000Z
LargeBarrelAnalysis/SignalTransformer.cpp
kdulski/j-pet-framework-examples
ab2592a2c6cf8f901f5732f8878b750b9a7b6a49
[ "Apache-2.0" ]
34
2016-06-18T17:47:35.000Z
2021-04-27T12:18:00.000Z
/** * @copyright Copyright 2020 The J-PET Framework 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 find a copy of the License in the LICENCE file. * * Unless required by applicable law...
46.110236
128
0.675461
kdulski
1e5ab25fda06984fe0277721ade0269a1e444b12
216
cpp
C++
dbms/src/Functions/FunctionsGeo.cpp
rudneff/ClickHouse
3cb59b92bccbeb888d136f7c6e14b622382c0434
[ "Apache-2.0" ]
3
2016-12-30T14:19:47.000Z
2021-11-13T06:58:32.000Z
dbms/src/Functions/FunctionsGeo.cpp
rudneff/ClickHouse
3cb59b92bccbeb888d136f7c6e14b622382c0434
[ "Apache-2.0" ]
1
2017-01-13T21:29:36.000Z
2017-01-16T18:29:08.000Z
dbms/src/Functions/FunctionsGeo.cpp
jbfavre/clickhouse-debian
3806e3370decb40066f15627a3bca4063b992bfb
[ "Apache-2.0" ]
1
2021-02-07T16:00:54.000Z
2021-02-07T16:00:54.000Z
#include <DB/Functions/FunctionFactory.h> #include <DB/Functions/FunctionsGeo.h> namespace DB { void registerFunctionsGeo(FunctionFactory & factory) { factory.registerFunction<FunctionGreatCircleDistance>(); } }
16.615385
57
0.796296
rudneff
1e5b7d87ab59dc93028a4b64b21c359f78e447f0
4,440
hpp
C++
glfw3_app/ansur_app/ansur_tools.hpp
hirakuni45/glfw3_app
d9ceeef6d398229fda4849afe27f8b48d1597fcf
[ "BSD-3-Clause" ]
9
2015-09-22T21:36:57.000Z
2021-04-01T09:16:53.000Z
glfw3_app/ansur_app/ansur_tools.hpp
hirakuni45/glfw3_app
d9ceeef6d398229fda4849afe27f8b48d1597fcf
[ "BSD-3-Clause" ]
null
null
null
glfw3_app/ansur_app/ansur_tools.hpp
hirakuni45/glfw3_app
d9ceeef6d398229fda4849afe27f8b48d1597fcf
[ "BSD-3-Clause" ]
2
2019-02-21T04:22:13.000Z
2021-03-02T17:24:32.000Z
#pragma once //=====================================================================// /*! @file @brief Ansur ツール・クラス @author 平松邦仁 (hira@rvf-rc45.net) @copyright Copyright (C) 2018 Kunihito Hiramatsu @n Released under the MIT license @n https://github.com/hirakuni45/RX/blob/master/LICENSE */ //=======...
25.964912
146
0.551577
hirakuni45
1e651ee7f97c043b3ccbe26eb67244d06e32474f
4,233
cpp
C++
src/single_shooting_ocp.cpp
sotarokatayama/nmpcsolver
7ee1710d4c8d2f4bceea70d5a2560d12eec29c8f
[ "MIT" ]
65
2019-09-17T07:00:14.000Z
2022-03-30T07:09:14.000Z
src/single_shooting_ocp.cpp
sotarokatayama/nmpcsolver
7ee1710d4c8d2f4bceea70d5a2560d12eec29c8f
[ "MIT" ]
12
2018-12-19T19:20:43.000Z
2019-08-27T20:16:45.000Z
src/single_shooting_ocp.cpp
sotarokatayama/nmpcsolver
7ee1710d4c8d2f4bceea70d5a2560d12eec29c8f
[ "MIT" ]
15
2019-09-16T16:07:58.000Z
2022-03-13T10:39:41.000Z
#include "single_shooting_ocp.hpp" namespace cgmres { SingleShootingOCP::SingleShootingOCP(const double T_f, const double alpha, const int N) : OptimalControlProblem(), horizon_(T_f, alpha), dim_solution_(N*(model_.dim_control_input()+model_.dim_constraints())), N...
38.834862
81
0.635483
sotarokatayama
1e67f72a6031caed15bdb58211673f7445277f53
2,198
cpp
C++
if_constexpr/1/str_map.cpp
vis4rd/AGH_PAT_Modern-Cpp_2021
586dd2385b1a19fef13d1e697dc96b4cfda662a5
[ "MIT" ]
null
null
null
if_constexpr/1/str_map.cpp
vis4rd/AGH_PAT_Modern-Cpp_2021
586dd2385b1a19fef13d1e697dc96b4cfda662a5
[ "MIT" ]
null
null
null
if_constexpr/1/str_map.cpp
vis4rd/AGH_PAT_Modern-Cpp_2021
586dd2385b1a19fef13d1e697dc96b4cfda662a5
[ "MIT" ]
null
null
null
// Adapted from my C++ compiler draft at // https://github.com/FMC64/notec/blob/master/src/Pp.cpp #include <cstdint> template <typename T, size_t Size> struct carray { static constexpr size_t size = Size; T data[Size]; }; template <size_t op, auto str, auto ...rest> static inline consteval size_t computeStrTableSi...
25.55814
65
0.66879
vis4rd
1e69396a4e94c937f3346f07e1b8420774fa1ea4
1,213
hpp
C++
silkoroutine/common/util.hpp
torquem-ch/silkoroutine
012658cd3600e97b5e174db74ab2cf782f53a018
[ "Apache-2.0" ]
null
null
null
silkoroutine/common/util.hpp
torquem-ch/silkoroutine
012658cd3600e97b5e174db74ab2cf782f53a018
[ "Apache-2.0" ]
null
null
null
silkoroutine/common/util.hpp
torquem-ch/silkoroutine
012658cd3600e97b5e174db74ab2cf782f53a018
[ "Apache-2.0" ]
null
null
null
/* Copyright 2020 The Silkoroutine 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 agr...
28.209302
75
0.748557
torquem-ch
1e6a9410107d6b6c8b557ef1a8a7ebde277f0f99
2,222
cpp
C++
src/gdrive/comments/CommentsQuotedFileContent.cpp
Vadimatorik/googleQt
814ad6f695bb8e88d6a773e69fb8c188febaab00
[ "MIT" ]
24
2016-12-03T09:12:43.000Z
2022-03-29T19:51:48.000Z
src/gdrive/comments/CommentsQuotedFileContent.cpp
Vadimatorik/googleQt
814ad6f695bb8e88d6a773e69fb8c188febaab00
[ "MIT" ]
4
2016-12-03T09:14:42.000Z
2022-03-29T22:02:21.000Z
src/gdrive/comments/CommentsQuotedFileContent.cpp
Vadimatorik/googleQt
814ad6f695bb8e88d6a773e69fb8c188febaab00
[ "MIT" ]
7
2018-01-01T09:14:10.000Z
2022-03-29T21:50:11.000Z
/********************************************************** DO NOT EDIT This file was generated from stone specification "comments" Part of "Ardi - the organizer" project. osoft4ardi@gmail.com www.prokarpaty.net ***********************************************************/ #include "gdrive/comments/CommentsQuotedF...
28.126582
141
0.690819
Vadimatorik
1e6ff78eaf2b075a000d4720c5c5f8d19d3dfec1
3,870
cc
C++
src/packets/eap_packet.cc
Mike-Now/mock-radius-eapmd5
f6c92e466bc1670081d054d28aeaba14cbc39b91
[ "MIT" ]
1
2019-04-13T14:10:24.000Z
2019-04-13T14:10:24.000Z
src/packets/eap_packet.cc
Mike-Now/mock-radius-eapmd5
f6c92e466bc1670081d054d28aeaba14cbc39b91
[ "MIT" ]
null
null
null
src/packets/eap_packet.cc
Mike-Now/mock-radius-eapmd5
f6c92e466bc1670081d054d28aeaba14cbc39b91
[ "MIT" ]
null
null
null
#include "packets/eap_packet.h" #include <iostream> using std::vector; using std::string; using std::array; namespace radius { namespace packets { EapData *EapData::factoryFun(const std::vector<byte> &bytes) { if (bytes.size() < MIN_LENGTH) { throw InvalidPacket( "EapData::factoryFun. Invali...
28.455882
80
0.613178
Mike-Now
1e72e1da3038a4c3c442e8a495e28a0625270f91
940
cpp
C++
ASCII/projects/Ascii/source/Systems/Input/MouseManager.cpp
dodgelafnitz/ASCII
40e7b6274091acc79e0ac66701712cda8864e1a5
[ "MIT" ]
null
null
null
ASCII/projects/Ascii/source/Systems/Input/MouseManager.cpp
dodgelafnitz/ASCII
40e7b6274091acc79e0ac66701712cda8864e1a5
[ "MIT" ]
null
null
null
ASCII/projects/Ascii/source/Systems/Input/MouseManager.cpp
dodgelafnitz/ASCII
40e7b6274091acc79e0ac66701712cda8864e1a5
[ "MIT" ]
null
null
null
/* * Copywrite 2021 Dodge Lafnitzegger */ #include "Systems/Input/MouseManager.h" Delegate<ivec2> MouseManager::AddMousePositionEvent( DelegateFunc<ivec2> const & func ) { return m_mousePositionDelegator.AddDelegate(func); } Delegate<ivec2> MouseManager::AddMouseDeltaEvent( DelegateFunc<ivec2> const & func )...
22.926829
66
0.785106
dodgelafnitz
1e73bbbf35ae8f685d83599ac2b29db89e19c0a1
129
hpp
C++
Vendor/GLM/glm/gtx/matrix_factorisation.hpp
wdrDarx/DEngine3
27e2de3b56b6d4c8705e8a0e36f5911d8651caa2
[ "MIT" ]
2
2022-01-11T21:15:31.000Z
2022-02-22T21:14:33.000Z
Vendor/GLM/glm/gtx/matrix_factorisation.hpp
wdrDarx/DEngine3
27e2de3b56b6d4c8705e8a0e36f5911d8651caa2
[ "MIT" ]
null
null
null
Vendor/GLM/glm/gtx/matrix_factorisation.hpp
wdrDarx/DEngine3
27e2de3b56b6d4c8705e8a0e36f5911d8651caa2
[ "MIT" ]
null
null
null
version https://git-lfs.github.com/spec/v1 oid sha256:b5b58f9d2c37ffaa9621c21fbd8c3cc6ba40cdac8329efcbdd9c5894157f2aef size 2887
32.25
75
0.883721
wdrDarx
1e755d69ad72775727c4a506481dd62301c2acd4
115,081
cc
C++
v20210323/apps/13_zxspec/z80.cc
Alterfoxy/AVR
807d06c8ee5604158f1022503d8fe4725506ecaa
[ "MIT" ]
null
null
null
v20210323/apps/13_zxspec/z80.cc
Alterfoxy/AVR
807d06c8ee5604158f1022503d8fe4725506ecaa
[ "MIT" ]
null
null
null
v20210323/apps/13_zxspec/z80.cc
Alterfoxy/AVR
807d06c8ee5604158f1022503d8fe4725506ecaa
[ "MIT" ]
null
null
null
/////////////////////////////////////////////////////////////////////////////// /// @file z80.cc /// /// @brief Emulator for the Zilog Z80 microprocessor /// /// @author Molly Howell /// @editor Valery Foxtail /// /// @remarks /// This module is a simple, straightforward instruction interpreter. /// There is no fan...
32.100697
104
0.350909
Alterfoxy
1e79cc6fbf4638c4341b479f8e62897bcbb5809d
1,895
cpp
C++
UVa-problems/11507.cpp
LeKSuS-04/Competitive-Programming
fbc86a8c6febeef72587a8f94135e92197e1f99e
[ "WTFPL" ]
null
null
null
UVa-problems/11507.cpp
LeKSuS-04/Competitive-Programming
fbc86a8c6febeef72587a8f94135e92197e1f99e
[ "WTFPL" ]
null
null
null
UVa-problems/11507.cpp
LeKSuS-04/Competitive-Programming
fbc86a8c6febeef72587a8f94135e92197e1f99e
[ "WTFPL" ]
null
null
null
/* UVa 11507 - Bender B. Rodríguez Problem */ // https://onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=2502 // Date: 2021-02-05 14:36:41 // Run time: 0.030 // Verdict: AC #define _CRT_SECURE_NO_WARNINGS #include <iostream> #include <string> using namespace std; int main() { ...
32.118644
99
0.343008
LeKSuS-04
1e7ab2b2c5908f5092c82afb5ee73ef606df5018
2,511
hpp
C++
code/adobe.poly/adobe/implementation/xml_lex.hpp
andyprowl/virtual-concepts
ed3a5690c353b6998abcd3368a9b448f1bb2aa19
[ "Unlicense" ]
59
2015-04-01T12:55:36.000Z
2021-06-22T02:46:20.000Z
adobe/implementation/xml_lex.hpp
brycelelbach/asl
df0d271f6c67fbb944039a9455c4eb69ae6df141
[ "MIT" ]
1
2015-06-29T14:51:55.000Z
2015-06-29T16:40:26.000Z
adobe/implementation/xml_lex.hpp
brycelelbach/asl
df0d271f6c67fbb944039a9455c4eb69ae6df141
[ "MIT" ]
5
2016-04-19T09:21:11.000Z
2021-12-29T09:48:09.000Z
/* Copyright 2005-2007 Adobe Systems Incorporated Distributed under the MIT License (see accompanying file LICENSE_1_0_0.txt or a copy at http://stlab.adobe.com/licenses.html) */ /**************************************************************************************************/ #ifndef ADOBE_XML_LEX_HPP ...
31
100
0.505376
andyprowl
1e7ac5e7fe0c1c4313a684e5f7664b5c8f167974
629
cpp
C++
Strings/PalindromeInteger.cpp
ssokjin/Interview-Bit
8714d3d627eb5875f49d205af779b59ca33ab4a3
[ "MIT" ]
513
2016-08-16T12:52:14.000Z
2022-03-30T19:32:10.000Z
Strings/PalindromeInteger.cpp
CodeOctal/Interview-Bit
88c021685d6cdef17906d077411ce34723363a08
[ "MIT" ]
25
2018-02-14T15:25:48.000Z
2022-03-23T11:52:08.000Z
Strings/PalindromeInteger.cpp
CodeOctal/Interview-Bit
88c021685d6cdef17906d077411ce34723363a08
[ "MIT" ]
505
2016-09-02T15:04:20.000Z
2022-03-25T06:36:31.000Z
// https://www.interviewbit.com/problems/palindrome-integer/ bool Solution::isPalindrome(int A) { // Do not write main() function. // Do not read input, instead use the arguments to the function. // Do not print the output, instead return values as specified // Still have a doubt. Checkout www.intervie...
25.16
93
0.569157
ssokjin
1e7cf119aedbc9ff806d2f38e15cfb4b54d73af9
3,462
cxx
C++
exp/OneFilterTest.cxx
kb1vc/SoDaRadio
0a41fa3d795b1c93795ad62ad17bf2de5f60a752
[ "BSD-2-Clause" ]
14
2017-10-27T16:01:05.000Z
2021-03-16T08:12:42.000Z
exp/OneFilterTest.cxx
dd0vs/SoDaRadio
0a41fa3d795b1c93795ad62ad17bf2de5f60a752
[ "BSD-2-Clause" ]
11
2017-09-16T03:13:11.000Z
2020-12-11T09:11:35.000Z
exp/OneFilterTest.cxx
dd0vs/SoDaRadio
0a41fa3d795b1c93795ad62ad17bf2de5f60a752
[ "BSD-2-Clause" ]
6
2017-09-13T12:47:43.000Z
2020-12-02T20:54:25.000Z
/* Copyright (c) 2012, Matthew H. Reilly (kb1vc) All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions an...
33.941176
113
0.673599
kb1vc
1e85272c31cfede6c38502d26ffa465d601f67eb
22,275
cpp
C++
tutorials/simple_7_codec/simple_codec.cpp
VickyZengg/MediaSDK
924da6d0664e77cef46eeef7821694dad140b8df
[ "MIT" ]
782
2017-04-04T15:50:34.000Z
2022-03-31T05:15:00.000Z
tutorials/simple_7_codec/simple_codec.cpp
VickyZengg/MediaSDK
924da6d0664e77cef46eeef7821694dad140b8df
[ "MIT" ]
1,260
2017-04-04T18:48:37.000Z
2022-03-31T01:53:25.000Z
tutorials/simple_7_codec/simple_codec.cpp
VickyZengg/MediaSDK
924da6d0664e77cef46eeef7821694dad140b8df
[ "MIT" ]
538
2017-04-05T00:19:25.000Z
2022-03-31T09:43:35.000Z
// Copyright (c) 2019 Intel Corporation // // 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, copy, modify, merge, publ...
40.135135
118
0.690505
VickyZengg
1e896ddd8dc9f0226c1dd852d5424f0d1893e2f4
2,009
cpp
C++
w12/t2.cpp
Chalkydoge/FDU_DS
8d2dec307d8dd641fbe3bcfa633cede9e1a45252
[ "MIT" ]
1
2020-09-16T06:17:14.000Z
2020-09-16T06:17:14.000Z
w12/t2.cpp
Chalkydoge/FDU_DS
8d2dec307d8dd641fbe3bcfa633cede9e1a45252
[ "MIT" ]
null
null
null
w12/t2.cpp
Chalkydoge/FDU_DS
8d2dec307d8dd641fbe3bcfa633cede9e1a45252
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <vector> #include <cstdlib> using namespace std; vector<string> res; vector<string> in_ord; struct TreeNode{ char data; TreeNode* left, *right; TreeNode(char c) : data(c), left(NULL), right(NULL){} }; inline bool cmp(char a, char b){ int va = a - '0'; ...
19.504854
82
0.507715
Chalkydoge
1e8aa982bae7f86b29450427e4e8470ee85e5968
7,766
cpp
C++
HBE/platforms/vk/VK_PhysicalDevice.cpp
Goutch/HellbenderEngine
a10ad5bc09a49dbe10f2d6a9eb583716ed66a34d
[ "MIT" ]
2
2020-10-09T22:17:10.000Z
2020-11-01T22:44:14.000Z
HBE/platforms/vk/VK_PhysicalDevice.cpp
Goutch/HellbenderEngine
a10ad5bc09a49dbe10f2d6a9eb583716ed66a34d
[ "MIT" ]
12
2021-11-23T22:55:16.000Z
2022-03-31T12:40:51.000Z
HBE/platforms/vk/VK_PhysicalDevice.cpp
Goutch/HellbenderEngine
a10ad5bc09a49dbe10f2d6a9eb583716ed66a34d
[ "MIT" ]
null
null
null
#include <vector> #include "VK_PhysicalDevice.h" #include "core/utility/Log.h" #include "map" #include <cstring> namespace HBE { VK_PhysicalDevice::VK_PhysicalDevice(const VkInstance &vk_instance_handle, VkSurfaceKHR &surface_handle) { this->vk_instance_handle = &vk_instance_handle; this->surface...
41.308511
120
0.631471
Goutch
1e8e69e32df709c3a0f5ec274393d46546c1323d
1,543
hpp
C++
source/quantum-script-extension-shellfind-iteratorvalue.hpp
g-stefan/quantum-script-extension-shellfind
9d44bd9ab2a9c7754d5754c7b52b279effb6d2cd
[ "MIT", "Unlicense" ]
null
null
null
source/quantum-script-extension-shellfind-iteratorvalue.hpp
g-stefan/quantum-script-extension-shellfind
9d44bd9ab2a9c7754d5754c7b52b279effb6d2cd
[ "MIT", "Unlicense" ]
null
null
null
source/quantum-script-extension-shellfind-iteratorvalue.hpp
g-stefan/quantum-script-extension-shellfind
9d44bd9ab2a9c7754d5754c7b52b279effb6d2cd
[ "MIT", "Unlicense" ]
null
null
null
// // Quantum Script Extension ShellFind // // Copyright (c) 2020-2021 Grigore Stefan <g_stefan@yahoo.com> // Created by Grigore Stefan <g_stefan@yahoo.com> // // MIT License (MIT) <http://opensource.org/licenses/MIT> // #ifndef QUANTUM_SCRIPT_EXTENSION_SHELLFIND_ITERATORVALUE_HPP #define QUANTUM_SCRIPT_EXTE...
20.573333
86
0.69151
g-stefan
1e92baf27f0f995f510841361f9865bc3a02027d
7,057
hpp
C++
src/lepp3/visualization/Visualizer.hpp
am-lola/lepp3
7f92ce61bccad984e18ce86da0d8a1b9c48feb65
[ "MIT" ]
6
2017-01-16T10:41:56.000Z
2020-10-09T09:13:30.000Z
src/lepp3/visualization/Visualizer.hpp
am-lola/lepp3
7f92ce61bccad984e18ce86da0d8a1b9c48feb65
[ "MIT" ]
null
null
null
src/lepp3/visualization/Visualizer.hpp
am-lola/lepp3
7f92ce61bccad984e18ce86da0d8a1b9c48feb65
[ "MIT" ]
4
2015-08-07T13:07:32.000Z
2021-08-03T03:18:33.000Z
#ifndef LEPP3_VISUALIZATION_SURFOBST_VISUALIZER_H__ #define LEPP3_VISUALIZATION_SURFOBST_VISUALIZER_H__ #include <sstream> #include <vector> #include <pcl/visualization/cloud_viewer.h> #include <pcl/visualization/pcl_visualizer.h> #include <pcl/geometry/planar_polygon.h> #include <string> #include "lepp3/Typedefs.hp...
30.287554
83
0.697889
am-lola
1e97d6e2bdf5d04d0a4bcbee5f20f75bfa149a80
4,650
hpp
C++
libs/fnd/hash_functions/include/bksge/fnd/hash_functions/inl/perfect_hash_inl.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
4
2018-06-10T13:35:32.000Z
2021-06-03T14:27:41.000Z
libs/fnd/hash_functions/include/bksge/fnd/hash_functions/inl/perfect_hash_inl.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
566
2017-01-31T05:36:09.000Z
2022-02-09T05:04:37.000Z
libs/fnd/hash_functions/include/bksge/fnd/hash_functions/inl/perfect_hash_inl.hpp
myoukaku/bksge
0f8b60e475a3f1709723906e4796b5e60decf06e
[ "MIT" ]
1
2018-07-05T04:40:53.000Z
2018-07-05T04:40:53.000Z
/** * @file perfect_hash_inl.hpp * * @brief perfect_hashクラスの実装 * * @author myoukaku */ #ifndef BKSGE_FND_HASH_FUNCTIONS_INL_PERFECT_HASH_INL_HPP #define BKSGE_FND_HASH_FUNCTIONS_INL_PERFECT_HASH_INL_HPP #include <bksge/fnd/hash_functions/perfect_hash.hpp> #include <bksge/fnd/algorithm/max.hpp> #in...
19.620253
90
0.584731
myoukaku
1e9924bb101a4b910fb5fe6e4c57f5b54a457342
1,534
hpp
C++
modbus/core/messages/write_multiple_coils_request.hpp
cblauvelt/modbus
72d4d8d2e998aa62fdf7489df03585eabf01e53f
[ "MIT" ]
null
null
null
modbus/core/messages/write_multiple_coils_request.hpp
cblauvelt/modbus
72d4d8d2e998aa62fdf7489df03585eabf01e53f
[ "MIT" ]
4
2022-03-17T00:42:35.000Z
2022-03-29T21:36:33.000Z
modbus/core/messages/write_multiple_coils_request.hpp
cblauvelt/modbus
72d4d8d2e998aa62fdf7489df03585eabf01e53f
[ "MIT" ]
null
null
null
#pragma once #include "modbus/core/types.hpp" namespace modbus { /** * @brief The response is a Write Multiple Coils request as defined by the * MODBUS standard. */ struct write_multiple_coils_request { uint8_t unit_id; uint16_t start_address; uint16_t length; std::vector<uint8_t> values; wri...
30.078431
79
0.664928
cblauvelt
1e9aceff3323c35f21b27fdc73e11ec46954aaa6
3,031
cc
C++
art/Framework/Art/detail/event_start.cc
gaponenko/art
63bae591711903fdc611a8ecbd4bfa54347c711a
[ "BSD-3-Clause" ]
null
null
null
art/Framework/Art/detail/event_start.cc
gaponenko/art
63bae591711903fdc611a8ecbd4bfa54347c711a
[ "BSD-3-Clause" ]
16
2021-11-05T14:29:41.000Z
2022-03-24T15:43:39.000Z
art/Framework/Art/detail/event_start.cc
gaponenko/art
63bae591711903fdc611a8ecbd4bfa54347c711a
[ "BSD-3-Clause" ]
1
2022-01-19T20:13:53.000Z
2022-01-19T20:13:53.000Z
#include "art/Framework/Art/detail/event_start.h" #include "boost/algorithm/string.hpp" #include "canvas/Utilities/Exception.h" #include <cassert> #include <iostream> #include <regex> namespace { auto group(std::string const& spec) { return "(" + spec + ")"; } std::string const number{R"(\s*\d+\s*)"};...
30.616162
79
0.585285
gaponenko
1e9dcc7d8a162a0cbbb809245dd520f427773a4a
1,403
cpp
C++
kernel/vds_http/http_serializer.cpp
SuperOyuncuNW/vds
87a40059150fb2523f10da9ed1a63b75ac0d531c
[ "MIT" ]
2
2018-02-16T00:27:04.000Z
2018-06-16T02:53:47.000Z
kernel/vds_http/http_serializer.cpp
SuperOyuncuNW/vds
87a40059150fb2523f10da9ed1a63b75ac0d531c
[ "MIT" ]
1
2018-07-20T04:18:00.000Z
2018-07-21T12:04:57.000Z
kernel/vds_http/http_serializer.cpp
SuperOyuncuNW/vds
87a40059150fb2523f10da9ed1a63b75ac0d531c
[ "MIT" ]
12
2017-07-16T12:01:52.000Z
2022-03-16T20:36:57.000Z
/* Copyright (c) 2017, Vadim Malyshev, lboss75@gmail.com All rights reserved */ #include "stdafx.h" #include "http_serializer.h" vds::async_task<vds::expected<std::shared_ptr<vds::stream_output_async<unsigned char>>>> vds::http_async_serializer::start_message(std::list<std::string> headers) { vds_assert(!this->wri...
29.229167
124
0.687099
SuperOyuncuNW