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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
66ea9eba5315d728d1d4c4516081819217f8089d | 181,043 | cpp | C++ | Sources/Rosetta/PlayMode/CardSets/DalaranCardsGen.cpp | Hearthstonepp/Hearthstonepp | ee17ae6de1ee0078dab29d75c0fbe727a14e850e | [
"MIT"
] | 62 | 2017-08-21T14:11:00.000Z | 2018-04-23T16:09:02.000Z | Sources/Rosetta/PlayMode/CardSets/DalaranCardsGen.cpp | Hearthstonepp/Hearthstonepp | ee17ae6de1ee0078dab29d75c0fbe727a14e850e | [
"MIT"
] | 37 | 2017-08-21T11:13:07.000Z | 2018-04-30T08:58:41.000Z | Sources/Rosetta/PlayMode/CardSets/DalaranCardsGen.cpp | Hearthstonepp/Hearthstonepp | ee17ae6de1ee0078dab29d75c0fbe727a14e850e | [
"MIT"
] | 10 | 2017-08-21T03:44:12.000Z | 2018-01-10T22:29:10.000Z | // This code is based on Sabberstone project.
// Copyright (c) 2017-2021 SabberStone Team, darkfriend77 & rnilva
// RosettaStone is hearthstone simulator using C++ with reinforcement learning.
// Copyright (c) 2017-2021 Chris Ohk
#include <Rosetta/PlayMode/Actions/CastSpell.hpp>
#include <Rosetta/PlayMode/Actions/Choo... | 44.329824 | 80 | 0.453202 | Hearthstonepp |
66eb4fdb23fcee252f2c081236d710f9cc8f901f | 9,021 | cxx | C++ | test/integration/file/file_system_path_itest.cxx | ANSAKsoftware/ansak-lib | 93eff12a50464f3071b27c8eb16336f93d0d04c6 | [
"BSD-2-Clause"
] | null | null | null | test/integration/file/file_system_path_itest.cxx | ANSAKsoftware/ansak-lib | 93eff12a50464f3071b27c8eb16336f93d0d04c6 | [
"BSD-2-Clause"
] | null | null | null | test/integration/file/file_system_path_itest.cxx | ANSAKsoftware/ansak-lib | 93eff12a50464f3071b27c8eb16336f93d0d04c6 | [
"BSD-2-Clause"
] | null | null | null | ///////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2015, Arthur N. Klassen
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// 1. Redistributions... | 34.431298 | 152 | 0.677419 | ANSAKsoftware |
66eba512c0ab5e256302c89973cc39facd55f297 | 4,264 | cpp | C++ | src/ast/ast.cpp | strandfield/libscript | 5d413762ad8ce88ff887642f6947032017dd284c | [
"MIT"
] | 3 | 2020-12-28T01:40:45.000Z | 2021-05-18T01:47:07.000Z | src/ast/ast.cpp | strandfield/libscript | 5d413762ad8ce88ff887642f6947032017dd284c | [
"MIT"
] | 4 | 2019-06-29T12:23:11.000Z | 2020-07-25T15:38:46.000Z | src/ast/ast.cpp | strandfield/libscript | 5d413762ad8ce88ff887642f6947032017dd284c | [
"MIT"
] | 1 | 2021-11-17T01:49:42.000Z | 2021-11-17T01:49:42.000Z | // Copyright (C) 2018-2020 Vincent Chambrin
// This file is part of the libscript library
// For conditions of distribution and use, see copyright notice in LICENSE
#include "script/ast.h"
#include "script/ast/ast_p.h"
#include "script/script.h"
#include "script/parser/parser.h"
namespace script
{
namespace ast
{
... | 20.401914 | 98 | 0.680582 | strandfield |
66ecedb542778696ac08c948f03f710a17989572 | 1,303 | hpp | C++ | sprout/operation/fixed/pop_front.hpp | jwakely/Sprout | a64938fad0a64608f22d39485bc55a1e0dc07246 | [
"BSL-1.0"
] | 1 | 2018-09-21T23:50:44.000Z | 2018-09-21T23:50:44.000Z | sprout/operation/fixed/pop_front.hpp | jwakely/Sprout | a64938fad0a64608f22d39485bc55a1e0dc07246 | [
"BSL-1.0"
] | null | null | null | sprout/operation/fixed/pop_front.hpp | jwakely/Sprout | a64938fad0a64608f22d39485bc55a1e0dc07246 | [
"BSL-1.0"
] | null | null | null | #ifndef SPROUT_OPERATION_FIXED_POP_FRONT_HPP
#define SPROUT_OPERATION_FIXED_POP_FRONT_HPP
#include <cstddef>
#include <sprout/config.hpp>
#include <sprout/index_tuple.hpp>
#include <sprout/container/traits.hpp>
#include <sprout/container/functions.hpp>
#include <sprout/operation/fixed/erase.hpp>
namespace s... | 27.723404 | 138 | 0.712203 | jwakely |
66ee68a916106a5fd0ecab1051c1ca982521941e | 7,460 | cc | C++ | tensorflow/core/lib/io/zlib_buffers_test.cc | AlexChrisF/udacity | b7f85a74058fc63ccb7601c418450ab934ef5953 | [
"Apache-2.0"
] | 850 | 2018-01-18T05:56:02.000Z | 2022-03-31T08:17:34.000Z | tensorflow/core/lib/io/zlib_buffers_test.cc | AlexChrisF/udacity | b7f85a74058fc63ccb7601c418450ab934ef5953 | [
"Apache-2.0"
] | 15 | 2017-03-01T20:18:43.000Z | 2020-05-07T10:33:51.000Z | tensorflow/core/lib/io/zlib_buffers_test.cc | AlexChrisF/udacity | b7f85a74058fc63ccb7601c418450ab934ef5953 | [
"Apache-2.0"
] | 364 | 2018-01-22T02:11:16.000Z | 2022-03-27T12:58:47.000Z | /* Copyright 2016 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | 37.86802 | 80 | 0.708981 | AlexChrisF |
66f280f9b1e2b8eb1baa1f423e6ca7cad0f381c1 | 14,166 | cpp | C++ | src/sksl/SkSLConstantFolder.cpp | kita-ui/skia | c09761f57605f408e473a73fbfe25a2636676bfa | [
"BSD-3-Clause"
] | null | null | null | src/sksl/SkSLConstantFolder.cpp | kita-ui/skia | c09761f57605f408e473a73fbfe25a2636676bfa | [
"BSD-3-Clause"
] | null | null | null | src/sksl/SkSLConstantFolder.cpp | kita-ui/skia | c09761f57605f408e473a73fbfe25a2636676bfa | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright 2020 Google LLC
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "src/sksl/SkSLConstantFolder.h"
#include <limits>
#include "src/sksl/SkSLContext.h"
#include "src/sksl/SkSLErrorReporter.h"
#include "src/sksl/ir/SkSLBinaryExpressio... | 42.413174 | 100 | 0.552802 | kita-ui |
66f30c19da26ffb6d74ff45e6c04811822c99d30 | 1,584 | cc | C++ | src/ui/gotoaddressdialog.cc | wapiflapi/veles | 8337899d1307cabdb3b374932a286226222ec1c2 | [
"Apache-2.0"
] | 241 | 2017-01-11T00:00:50.000Z | 2022-03-03T13:02:01.000Z | src/ui/gotoaddressdialog.cc | josiahseaman/veles | 8337899d1307cabdb3b374932a286226222ec1c2 | [
"Apache-2.0"
] | 3 | 2017-04-20T06:47:21.000Z | 2019-01-25T17:31:14.000Z | src/ui/gotoaddressdialog.cc | josiahseaman/veles | 8337899d1307cabdb3b374932a286226222ec1c2 | [
"Apache-2.0"
] | 27 | 2017-01-23T17:55:04.000Z | 2022-02-25T08:28:42.000Z | /*
* Copyright 2016 CodiLime
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writ... | 27.789474 | 101 | 0.724747 | wapiflapi |
66f42f856cb55124d2a314eceebc2e44ed2aca14 | 8,319 | cxx | C++ | Filters/General/vtkShrinkPolyData.cxx | jasper-yeh/VtkDotNet | 84b56f781cb511694e4380cebfb245bbefe2560b | [
"BSD-3-Clause"
] | 3 | 2020-06-20T23:31:06.000Z | 2021-01-11T02:17:16.000Z | Filters/General/vtkShrinkPolyData.cxx | jasper-yeh/VtkDotNet | 84b56f781cb511694e4380cebfb245bbefe2560b | [
"BSD-3-Clause"
] | 1 | 2020-12-01T23:21:02.000Z | 2020-12-02T23:44:43.000Z | Filters/General/vtkShrinkPolyData.cxx | jasper-yeh/VtkDotNet | 84b56f781cb511694e4380cebfb245bbefe2560b | [
"BSD-3-Clause"
] | 5 | 2015-10-09T04:12:29.000Z | 2021-12-15T16:57:11.000Z | /*=========================================================================
Program: Visualization Toolkit
Module: vtkShrinkPolyData.cxx
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This softwar... | 26.325949 | 78 | 0.582402 | jasper-yeh |
66f87bd07f2a3f2ac283c3fa24534763080fc38a | 8,252 | cc | C++ | icing/index/iterator/doc-hit-info-iterator-and.cc | PixelPlusUI-SnowCone/external_icing | 206a7d6b4ab83c6acdb8b14565e2431751c9e4cf | [
"Apache-2.0"
] | null | null | null | icing/index/iterator/doc-hit-info-iterator-and.cc | PixelPlusUI-SnowCone/external_icing | 206a7d6b4ab83c6acdb8b14565e2431751c9e4cf | [
"Apache-2.0"
] | null | null | null | icing/index/iterator/doc-hit-info-iterator-and.cc | PixelPlusUI-SnowCone/external_icing | 206a7d6b4ab83c6acdb8b14565e2431751c9e4cf | [
"Apache-2.0"
] | null | null | null | // Copyright (C) 2019 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... | 36.034934 | 80 | 0.706495 | PixelPlusUI-SnowCone |
66f8980e288fe8229f9248abb9dfbc35af92925e | 3,207 | hpp | C++ | code/RePlAce/src/parallel.hpp | gessfred/Parallel-RePlAce | e2fdc6a585976daee21991b4fbec96a04cc62d5a | [
"BSD-3-Clause"
] | null | null | null | code/RePlAce/src/parallel.hpp | gessfred/Parallel-RePlAce | e2fdc6a585976daee21991b4fbec96a04cc62d5a | [
"BSD-3-Clause"
] | null | null | null | code/RePlAce/src/parallel.hpp | gessfred/Parallel-RePlAce | e2fdc6a585976daee21991b4fbec96a04cc62d5a | [
"BSD-3-Clause"
] | null | null | null | ///////////////////////////////////////////////////////////////////////////////
// Author: Frederic Gessler
// (supervisor: Dr. Mirjana Stojilovic),
// based on Dr. Jingwei Lu with ePlace and ePlace-MS
// and code by Ilgweon Kang and Lutong Wang
//
// Many subsequent improvements wer... | 42.76 | 107 | 0.690053 | gessfred |
66fb216945d2d35d943a291016e55be934f780ce | 9,711 | cpp | C++ | src/pruebaBar.cpp | JorgeDC01/Proyect-of-Caceres | 0918bd76e9faa6aad8cb7e05191013eed211a9a0 | [
"MIT"
] | null | null | null | src/pruebaBar.cpp | JorgeDC01/Proyect-of-Caceres | 0918bd76e9faa6aad8cb7e05191013eed211a9a0 | [
"MIT"
] | null | null | null | src/pruebaBar.cpp | JorgeDC01/Proyect-of-Caceres | 0918bd76e9faa6aad8cb7e05191013eed211a9a0 | [
"MIT"
] | null | null | null |
/*
* pruebaBar.cpp
*
* Created on: 15 Mar 2020
* Author: raul
*/
#include "pruebaBar.h"
void pruebaConstructorDBar () {
cout << "Inicio del módulo de pruebas del constructor por defecto de la clase 'Bar' (supervisada)." << endl;
Bar *b = new Bar ();
b -> mostrarBar ();
delete b;
cout << "Fin del módu... | 28.561765 | 111 | 0.636289 | JorgeDC01 |
66fcb557238f93bf8b0d6ede242aae116bf46c82 | 697 | cc | C++ | chrome/browser/metrics/variations/eula_accepted_notifier.cc | codenote/chromium-test | 0637af0080f7e80bf7d20b29ce94c5edc817f390 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/metrics/variations/eula_accepted_notifier.cc | codenote/chromium-test | 0637af0080f7e80bf7d20b29ce94c5edc817f390 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/metrics/variations/eula_accepted_notifier.cc | codenote/chromium-test | 0637af0080f7e80bf7d20b29ce94c5edc817f390 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2020-11-04T07:25:45.000Z | 2020-11-04T07:25:45.000Z | // Copyright (c) 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/metrics/variations/eula_accepted_notifier.h"
#include "base/logging.h"
EulaAcceptedNotifier::EulaAcceptedNotifier() : obser... | 23.233333 | 73 | 0.760402 | codenote |
66fee8b5e9f5569d76a12d5e7f1d0df15d687bf4 | 2,749 | cpp | C++ | Contrib-Intel/RSD-PSME-RMM/common/agent-framework/src/module/requests/common/add_endpoint.cpp | opencomputeproject/Rack-Manager | e1a61d3eeeba0ff655fe9c1301e8b510d9b2122a | [
"MIT"
] | 5 | 2019-11-11T07:57:26.000Z | 2022-03-28T08:26:53.000Z | Contrib-Intel/RSD-PSME-RMM/common/agent-framework/src/module/requests/common/add_endpoint.cpp | opencomputeproject/Rack-Manager | e1a61d3eeeba0ff655fe9c1301e8b510d9b2122a | [
"MIT"
] | 3 | 2019-09-05T21:47:07.000Z | 2019-09-17T18:10:45.000Z | Contrib-Intel/RSD-PSME-RMM/common/agent-framework/src/module/requests/common/add_endpoint.cpp | opencomputeproject/Rack-Manager | e1a61d3eeeba0ff655fe9c1301e8b510d9b2122a | [
"MIT"
] | 11 | 2019-07-20T00:16:32.000Z | 2022-01-11T14:17:48.000Z | /*!
* @brief Implementation of AddEndpoint class.
*
* @copyright Copyright (c) 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://www.apache.org/license... | 42.953125 | 85 | 0.696253 | opencomputeproject |
66ffa553a2045ff61be5aec3fe0b565895d4571a | 9,579 | c++ | C++ | pic/boundaries/piston.c++ | Krissmedt/imprunko | 94171d0d47171cc4b199cd52f5f29385cbff903e | [
"MIT"
] | null | null | null | pic/boundaries/piston.c++ | Krissmedt/imprunko | 94171d0d47171cc4b199cd52f5f29385cbff903e | [
"MIT"
] | null | null | null | pic/boundaries/piston.c++ | Krissmedt/imprunko | 94171d0d47171cc4b199cd52f5f29385cbff903e | [
"MIT"
] | null | null | null | #include "piston.h"
#include "../../tools/signum.h"
#include <cmath>
#include <cassert>
#include <algorithm>
using std::min;
using std::max;
//TODO: FIXME direct copy from depositer/zigzag.c++
// use friending of the class or inherit this?
template<size_t D>
void pic::Piston<D>::zigzag(
pic::Tile<D>& tile,
... | 31.303922 | 107 | 0.533772 | Krissmedt |
0f007ab125e34219206e41bd0566f58baa5e1ede | 12,890 | hpp | C++ | externals/stlsoft-1.9.118/include/winstl/performance/threadtimes_counter.hpp | betasheet/diffingo | 285d21b16c118155e5c149b20fcb20a20276f3d7 | [
"MIT"
] | 17 | 2015-03-26T14:10:25.000Z | 2022-02-09T20:55:04.000Z | externals/stlsoft-1.9.118/include/winstl/performance/threadtimes_counter.hpp | betasheet/diffingo | 285d21b16c118155e5c149b20fcb20a20276f3d7 | [
"MIT"
] | null | null | null | externals/stlsoft-1.9.118/include/winstl/performance/threadtimes_counter.hpp | betasheet/diffingo | 285d21b16c118155e5c149b20fcb20a20276f3d7 | [
"MIT"
] | 3 | 2019-05-05T22:10:56.000Z | 2019-08-22T22:24:23.000Z | /* /////////////////////////////////////////////////////////////////////////
* File: winstl/performance/threadtimes_counter.hpp
*
* Purpose: WinSTL thread-time performance counter class.
*
* Created: 22nd March 2002
* Updated: 6th May 2010
*
* Home: http://stlsoft.org/
*
* ... | 35.027174 | 119 | 0.675795 | betasheet |
0f0163418e986baae0109e0fc5fe9b675895bd69 | 6,055 | cpp | C++ | level_zero/tools/source/sysman/pci/linux/os_pci_imp.cpp | kcencele/compute-runtime | bec8cdd6f1392bf0549e3b9340b4926b6e84f89a | [
"Intel",
"MIT"
] | null | null | null | level_zero/tools/source/sysman/pci/linux/os_pci_imp.cpp | kcencele/compute-runtime | bec8cdd6f1392bf0549e3b9340b4926b6e84f89a | [
"Intel",
"MIT"
] | null | null | null | level_zero/tools/source/sysman/pci/linux/os_pci_imp.cpp | kcencele/compute-runtime | bec8cdd6f1392bf0549e3b9340b4926b6e84f89a | [
"Intel",
"MIT"
] | null | null | null | /*
* Copyright (C) 2020-2021 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "level_zero/tools/source/sysman/pci/linux/os_pci_imp.h"
#include "level_zero/tools/source/sysman/linux/fs_access.h"
#include "level_zero/tools/source/sysman/sysman_const.h"
#include "sysman/pci/pci_imp.h"
namespace L0... | 34.016854 | 124 | 0.653014 | kcencele |
0f016646f07582e9224ef4ba3d786e57bd6392df | 948 | hpp | C++ | server/homeserver/scripting/Scriptable.hpp | williamkoehler/home-server | ce99af73ea2e53fea3939fe0c4442433e65ac670 | [
"MIT"
] | 1 | 2021-07-05T21:11:59.000Z | 2021-07-05T21:11:59.000Z | server/homeserver/scripting/Scriptable.hpp | williamkoehler/home-server | ce99af73ea2e53fea3939fe0c4442433e65ac670 | [
"MIT"
] | null | null | null | server/homeserver/scripting/Scriptable.hpp | williamkoehler/home-server | ce99af73ea2e53fea3939fe0c4442433e65ac670 | [
"MIT"
] | null | null | null | #pragma once
#include "../common.hpp"
#include <utils/Property.hpp>
#include <utils/Timer.hpp>
#include <utils/Event.hpp>
namespace server
{
class Scriptable
{
public:
virtual bool AddAttribute(const std::string& id, const char* json) = 0;
virtual bool RemoveAttribute(const std::string& id) = 0;
... | 33.857143 | 94 | 0.67827 | williamkoehler |
0f02842b81f70087aee1e30f8076ec66927bf50b | 945 | cpp | C++ | Engine/source/shaderGen/shaderDependency.cpp | fr1tz/alux3d | 249a3b51751ce3184d52879b481f83eabe89e7e3 | [
"MIT"
] | 46 | 2015-01-05T17:34:43.000Z | 2022-01-04T04:03:09.000Z | Engine/source/shaderGen/shaderDependency.cpp | fr1tz/alux3d | 249a3b51751ce3184d52879b481f83eabe89e7e3 | [
"MIT"
] | 10 | 2015-01-20T23:14:46.000Z | 2019-04-05T22:04:15.000Z | Engine/source/shaderGen/shaderDependency.cpp | fr1tz/terminal-overload | 85f0689a40022e5eb7e54dcb6ddfb5ddd82a0a60 | [
"CC-BY-4.0"
] | 9 | 2015-08-08T18:46:06.000Z | 2021-02-01T13:53:20.000Z | // Copyright information can be found in the file named COPYING
// located in the root directory of this distribution.
#include "platform/platform.h"
#include "shaderGen/shaderDependency.h"
#include "core/stream/fileStream.h"
#include "core/frameAllocator.h"
ShaderIncludeDependency::ShaderIncludeDependency( const T... | 32.586207 | 101 | 0.71746 | fr1tz |
0f0379fdd245f1c644b6ebb2840b8a94439b31b0 | 4,103 | cpp | C++ | work dialog/jliu/register.cpp | SecretMG/Flower-Mail | 8f9104b11e2a6380355010ebe7e085a6383dd094 | [
"MIT"
] | 2 | 2020-09-20T14:48:58.000Z | 2020-10-21T15:55:41.000Z | work dialog/jliu/register.cpp | SecretMG/Flower-Mail | 8f9104b11e2a6380355010ebe7e085a6383dd094 | [
"MIT"
] | null | null | null | work dialog/jliu/register.cpp | SecretMG/Flower-Mail | 8f9104b11e2a6380355010ebe7e085a6383dd094 | [
"MIT"
] | 3 | 2020-09-10T00:18:41.000Z | 2020-09-10T02:44:18.000Z | #include "register.h"
#include "ui_register.h"
#include "loginwindow.h"
#include "mysql.h"
#include <QDebug>
#include <QMessageBox>
#include <QToolTip>
#include <QKeyEvent>
#include <QRegExpValidator>
extern QPalette userColor;
extern QFont fontType;
Register::Register(QWidget *parent) :
QWidget(parent),
ui(... | 25.171779 | 113 | 0.539849 | SecretMG |
0f045eb3ae7e51c8eee5033f23351532814e124e | 1,241 | cpp | C++ | src/test/json/big_list_of_naughty_strings.cpp | ClausKlein/json | eeabe4bdef13ccba985b4423ce558438fd2f5497 | [
"BSD-3-Clause",
"Apache-2.0",
"MIT"
] | null | null | null | src/test/json/big_list_of_naughty_strings.cpp | ClausKlein/json | eeabe4bdef13ccba985b4423ce558438fd2f5497 | [
"BSD-3-Clause",
"Apache-2.0",
"MIT"
] | null | null | null | src/test/json/big_list_of_naughty_strings.cpp | ClausKlein/json | eeabe4bdef13ccba985b4423ce558438fd2f5497 | [
"BSD-3-Clause",
"Apache-2.0",
"MIT"
] | null | null | null | // Copyright (c) 2017-2020 Dr. Colin Hirsch and Daniel Frey
// Please see LICENSE for license or visit https://github.com/taocpp/json/
#include "test.hpp"
#include <tao/json/from_file.hpp>
#include <tao/json/from_string.hpp>
#include <tao/json/to_string.hpp>
#include <tao/json/value.hpp>
#include <fstream>
#include ... | 26.978261 | 77 | 0.625302 | ClausKlein |
0f04e0963aff37facc42118069ac952c380e3b4c | 453 | cpp | C++ | test/targetapp/targetapp.cpp | bin601/pkyd | 2b60c0ebd81e9e3e29f88ea60691d5c403df2160 | [
"MIT"
] | 1 | 2020-05-31T20:11:03.000Z | 2020-05-31T20:11:03.000Z | test/targetapp/targetapp.cpp | bin601/pykd | 2b60c0ebd81e9e3e29f88ea60691d5c403df2160 | [
"MIT"
] | null | null | null | test/targetapp/targetapp.cpp | bin601/pykd | 2b60c0ebd81e9e3e29f88ea60691d5c403df2160 | [
"MIT"
] | 1 | 2020-11-13T11:12:47.000Z | 2020-11-13T11:12:47.000Z | #include "stdafx.h"
#include <intrin.h>
#include <iostream>
#include "utils.h"
int _tmain(int argc, _TCHAR* argv[])
{
try
{
// Let test scripts to execute
__debugbreak();
}
catch(std::exception & ex)
{
std::cout << ex.what() << std::endl;
return ... | 15.62069 | 51 | 0.465784 | bin601 |
0f04f3ba85fcafa312424f8f2474a72fa0493f82 | 722 | cc | C++ | benchmarks/0000.10m_size_t/unit/iobuf_file_lcv_C.cc | EwoutH/fast_io | 1393ef01b82dffa87f3008ec0898431865870a1f | [
"MIT"
] | 2 | 2020-07-20T06:07:20.000Z | 2020-10-21T08:53:49.000Z | benchmarks/0000.10m_size_t/unit/iobuf_file_lcv_C.cc | EwoutH/fast_io | 1393ef01b82dffa87f3008ec0898431865870a1f | [
"MIT"
] | null | null | null | benchmarks/0000.10m_size_t/unit/iobuf_file_lcv_C.cc | EwoutH/fast_io | 1393ef01b82dffa87f3008ec0898431865870a1f | [
"MIT"
] | null | null | null | #include"../../timer.h"
#include"../../../include/fast_io.h"
#include"../../../include/fast_io_device.h"
#include"../../../include/fast_io_legacy.h"
#include"../../../include/fast_io_locale.h"
int main()
{
constexpr std::size_t N(10000000);
fast_io::c_locale loc(fast_io::c_locale_category::all,"C");
{
fast_io::c_l... | 27.769231 | 60 | 0.666205 | EwoutH |
0f0691bada8b570f7902e6bda627484f343b120b | 749 | cpp | C++ | src/util/noise.cpp | ArneDJ/terranova | 533e9e5687d464153418f73a1d811f57e7c572b9 | [
"CC0-1.0"
] | null | null | null | src/util/noise.cpp | ArneDJ/terranova | 533e9e5687d464153418f73a1d811f57e7c572b9 | [
"CC0-1.0"
] | null | null | null | src/util/noise.cpp | ArneDJ/terranova | 533e9e5687d464153418f73a1d811f57e7c572b9 | [
"CC0-1.0"
] | null | null | null | #include "../extern/fastnoise/FastNoise.h"
#include "image.h"
#include "noise.h"
namespace util {
void noise_image(Image<float> &image, FastNoise *fastnoise, const glm::vec2 &sample_freq, uint8_t channel)
{
const int nsteps = 32;
const int stepsize = image.width() / nsteps;
#pragma omp parallel for
for (int ste... | 24.966667 | 106 | 0.623498 | ArneDJ |
0f07ec79e97c75b954de15d912455bf2c3850df7 | 586 | cpp | C++ | client/include/game/CTaskComplexLeaveCar.cpp | MayconFelipeA/sampvoiceatt | 3fae8a2cf37dfad2e3925d56aebfbbcd4162b0ff | [
"MIT"
] | 368 | 2015-01-01T21:42:00.000Z | 2022-03-29T06:22:22.000Z | client/include/game/CTaskComplexLeaveCar.cpp | MayconFelipeA/sampvoiceatt | 3fae8a2cf37dfad2e3925d56aebfbbcd4162b0ff | [
"MIT"
] | 92 | 2019-01-23T23:02:31.000Z | 2022-03-23T19:59:40.000Z | client/include/game/CTaskComplexLeaveCar.cpp | MayconFelipeA/sampvoiceatt | 3fae8a2cf37dfad2e3925d56aebfbbcd4162b0ff | [
"MIT"
] | 179 | 2015-02-03T23:41:17.000Z | 2022-03-26T08:27:16.000Z | /*
Plugin-SDK (Grand Theft Auto San Andreas) source file
Authors: GTA Community. See more here
https://github.com/DK22Pac/plugin-sdk
Do not delete this comment block. Respect others' work!
*/
#include "CTaskComplexLeaveCar.h"
CTaskComplexLeaveCar::CTaskComplexLeaveCar(CVehicle* pTargetVehicle, int nTargetDoor, int nD... | 39.066667 | 174 | 0.78157 | MayconFelipeA |
0f07ece6c25b8971749e7ff530cbff8d0922e049 | 11,127 | cpp | C++ | src/DenseSLAM/InfiniTamDriver.cpp | Hansry/DenseSLAM-Global-Consistency-h | 8ed653eaae9821dd262b90218e5e8fa60ec6b814 | [
"BSD-3-Clause"
] | 5 | 2019-11-14T03:18:38.000Z | 2022-02-21T07:43:47.000Z | src/DenseSLAM/InfiniTamDriver.cpp | Hansry/DenseSLAM-Global-Consistency-h | 8ed653eaae9821dd262b90218e5e8fa60ec6b814 | [
"BSD-3-Clause"
] | 4 | 2019-11-09T05:20:52.000Z | 2021-02-02T22:18:11.000Z | src/DenseSLAM/InfiniTamDriver.cpp | Hansry/DenseSLAM-Global-Consistency-h | 8ed653eaae9821dd262b90218e5e8fa60ec6b814 | [
"BSD-3-Clause"
] | null | null | null |
#include "InfiniTamDriver.h"
// TODO(andrei): Why not move to DynSLAM.cpp?
DEFINE_bool(enable_evaluation, true, "Whether to enable evaluation mode for DynSLAM. This means "
"the system will load in LIDAR ground truth and compare its maps with it, dumping the results "
"in CSV format.");
namespace SparsetoDe... | 38.106164 | 136 | 0.680237 | Hansry |
0f086ce835dd7970e87f1f449fbd29dbf5880d17 | 4,351 | cpp | C++ | fallout_dat/src/cpp_stl_98/fallout_dat.cpp | kaitai-io/formats-kaitai-io.github.io | 2700514a2a8f67c5351fe93962c70abea02fd3d3 | [
"0BSD"
] | 4 | 2018-12-10T09:21:19.000Z | 2021-11-03T16:43:22.000Z | fallout_dat/src/cpp_stl_98/fallout_dat.cpp | kaitai-io/formats-kaitai-io.github.io | 2700514a2a8f67c5351fe93962c70abea02fd3d3 | [
"0BSD"
] | null | null | null | fallout_dat/src/cpp_stl_98/fallout_dat.cpp | kaitai-io/formats-kaitai-io.github.io | 2700514a2a8f67c5351fe93962c70abea02fd3d3 | [
"0BSD"
] | 3 | 2019-04-08T08:22:22.000Z | 2021-10-10T19:11:51.000Z | // This is a generated file! Please edit source .ksy file and use kaitai-struct-compiler to rebuild
#include "fallout_dat.h"
fallout_dat_t::fallout_dat_t(kaitai::kstream* p__io, kaitai::kstruct* p__parent, fallout_dat_t* p__root) : kaitai::kstruct(p__io) {
m__parent = p__parent;
m__root = this;
m_folder_n... | 26.369697 | 140 | 0.612043 | kaitai-io |
0f08c5ae6fe4323ed96133a0fb109da4445346a3 | 8,701 | cpp | C++ | Source/OceanCS/CSFFT/fft_512x512_c2c.cpp | ytt747536970/ocean | 1bd27aae62294229c8b8b07058a94b7d60723b1b | [
"MIT"
] | null | null | null | Source/OceanCS/CSFFT/fft_512x512_c2c.cpp | ytt747536970/ocean | 1bd27aae62294229c8b8b07058a94b7d60723b1b | [
"MIT"
] | null | null | null | Source/OceanCS/CSFFT/fft_512x512_c2c.cpp | ytt747536970/ocean | 1bd27aae62294229c8b8b07058a94b7d60723b1b | [
"MIT"
] | null | null | null | // Copyright (c) 2011 NVIDIA Corporation. All rights reserved.
//
// TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, THIS SOFTWARE IS PROVIDED
// *AS IS* AND NVIDIA AND ITS SUPPLIERS DISCLAIM ALL WARRANTIES, EITHER EXPRESS
// OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, NONINFRINGEMENT,IMPLIED WARRANTIES OF... | 32.958333 | 122 | 0.748765 | ytt747536970 |
0f0cbbacc6522724d921f7ac2982bf39918e8c85 | 504 | hpp | C++ | Server/participant.hpp | Whiskarek/UDPChat | c7b5b34a1028a39c3b66a6154285688e05b2a3a9 | [
"Apache-2.0"
] | 1 | 2021-04-15T11:31:39.000Z | 2021-04-15T11:31:39.000Z | Server/participant.hpp | AndrewShkrob/UDPChat | c7b5b34a1028a39c3b66a6154285688e05b2a3a9 | [
"Apache-2.0"
] | null | null | null | Server/participant.hpp | AndrewShkrob/UDPChat | c7b5b34a1028a39c3b66a6154285688e05b2a3a9 | [
"Apache-2.0"
] | null | null | null | #ifndef SERVER_PARTICIPANT_HPP
#define SERVER_PARTICIPANT_HPP
#include <memory>
#include "chat_message.hpp"
class Participant {
public:
Participant(std::string username) : _username(std::move(username)) {}
virtual ~Participant() {}
virtual void deliver(const ChatMessage &msg) = 0;
std::string get_u... | 19.384615 | 73 | 0.724206 | Whiskarek |
0f1114891df4246096544ed101e3dee4a012dc0f | 1,862 | cc | C++ | src/connector/native/window.cc | andyshand/bitwig-enhancement-suite | 914bf362444becac6a471faa431c3be735122e36 | [
"MIT"
] | 12 | 2020-10-20T13:37:33.000Z | 2021-02-17T21:06:08.000Z | src/connector/native/window.cc | andyshand/modwig | 914bf362444becac6a471faa431c3be735122e36 | [
"MIT"
] | 28 | 2020-10-06T19:04:03.000Z | 2022-03-25T19:12:14.000Z | src/connector/native/window.cc | andyshand/bitwig-enhancement-suite | 914bf362444becac6a471faa431c3be735122e36 | [
"MIT"
] | null | null | null | #include "point.h"
#include "window.h"
#include "rect.h"
#include <CoreGraphics/CoreGraphics.h>
#include <napi.h>
#include <iostream>
#include <string>
#include "string.h"
Napi::Value GetMainScreen(const Napi::CallbackInfo &info) {
Napi::Env env = info.Env();
auto mainDisplayId = CGMainDisplayID();
CGFlo... | 38 | 138 | 0.691729 | andyshand |
0f12aeeb61c100b731a89caba2295b7d73be1daa | 3,280 | cpp | C++ | src/libtsduck/dtv/codec/tsHEVCAccessUnitDelimiter.cpp | ethouris/tsduck | a1963c55c22086a9227a7530718fc5b3e8a69873 | [
"BSD-2-Clause"
] | 1 | 2019-04-23T21:16:00.000Z | 2019-04-23T21:16:00.000Z | src/libtsduck/dtv/codec/tsHEVCAccessUnitDelimiter.cpp | ethouris/tsduck | a1963c55c22086a9227a7530718fc5b3e8a69873 | [
"BSD-2-Clause"
] | null | null | null | src/libtsduck/dtv/codec/tsHEVCAccessUnitDelimiter.cpp | ethouris/tsduck | a1963c55c22086a9227a7530718fc5b3e8a69873 | [
"BSD-2-Clause"
] | null | null | null | //----------------------------------------------------------------------------
//
// TSDuck - The MPEG Transport Stream Toolkit
// Copyright (c) 2005-2021, Thierry Lelegard
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the f... | 36.853933 | 98 | 0.557317 | ethouris |
0f137a3dd45a8d4196586c4b2039b8a74d55408d | 2,402 | hpp | C++ | nexxT/src/Services.hpp | pfrydlewicz/nexxT | 33616dbeee448c59201aa3009d637fe6b8d2b39c | [
"Apache-2.0"
] | 5 | 2020-05-03T10:52:14.000Z | 2022-03-02T10:32:33.000Z | nexxT/src/Services.hpp | pfrydlewicz/nexxT | 33616dbeee448c59201aa3009d637fe6b8d2b39c | [
"Apache-2.0"
] | 32 | 2020-05-18T15:49:00.000Z | 2022-02-22T20:10:56.000Z | nexxT/src/Services.hpp | pfrydlewicz/nexxT | 33616dbeee448c59201aa3009d637fe6b8d2b39c | [
"Apache-2.0"
] | 2 | 2020-03-21T15:04:46.000Z | 2021-03-01T15:42:49.000Z | /*
* SPDX-License-Identifier: Apache-2.0
* Copyright (C) 2020 ifm electronic gmbh
*
* THE PROGRAM IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND.
*/
/**
\file Services.hpp
The interface corresponding to \verbatim embed:rst :py:mod:`nexxT.interface.Services \endverbatim
*/
#ifndef NEXXT_SERVICES_HPP
#d... | 30.025 | 119 | 0.652373 | pfrydlewicz |
0f13b114fd82b0beeaf22eb9f40f0eedf2883e0b | 9,857 | cxx | C++ | deps/src/cmake-3.9.3/Source/cmArchiveWrite.cxx | shreyasvj25/turicreate | 32e84ca16aef8d04aff3d49ae9984bd49326bffd | [
"BSD-3-Clause"
] | 1 | 2018-12-15T20:03:51.000Z | 2018-12-15T20:03:51.000Z | deps/src/cmake-3.9.3/Source/cmArchiveWrite.cxx | shreyasvj25/turicreate | 32e84ca16aef8d04aff3d49ae9984bd49326bffd | [
"BSD-3-Clause"
] | 3 | 2021-09-08T02:18:00.000Z | 2022-03-12T00:39:44.000Z | deps/src/cmake-3.9.3/Source/cmArchiveWrite.cxx | shreyasvj25/turicreate | 32e84ca16aef8d04aff3d49ae9984bd49326bffd | [
"BSD-3-Clause"
] | 1 | 2019-06-01T18:49:28.000Z | 2019-06-01T18:49:28.000Z | /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
file Copyright.txt or https://cmake.org/licensing for details. */
#include "cmArchiveWrite.h"
#include "cmLocale.h"
#include "cmSystemTools.h"
#include "cm_get_date.h"
#include "cm_libarchive.h"
#include "cmsys/Directory.hxx"
#include "c... | 29.33631 | 79 | 0.641169 | shreyasvj25 |
0f159463ad01cfd4420b9df75be7f521f7be5b73 | 4,008 | hpp | C++ | src/split_strand_graph.hpp | lnceballosz/vg | 82d8ba2f38299525c0b0a6b19dcb785d2c439cfa | [
"MIT"
] | null | null | null | src/split_strand_graph.hpp | lnceballosz/vg | 82d8ba2f38299525c0b0a6b19dcb785d2c439cfa | [
"MIT"
] | null | null | null | src/split_strand_graph.hpp | lnceballosz/vg | 82d8ba2f38299525c0b0a6b19dcb785d2c439cfa | [
"MIT"
] | null | null | null | // SPDX-FileCopyrightText: 2014 Erik Garrison
//
// SPDX-License-Identifier: MIT
#ifndef VG_SPLIT_STRAND_GRAPH_HPP_INCLUDED
#define VG_SPLIT_STRAND_GRAPH_HPP_INCLUDED
/** \file
* split_strand_graph.hpp: defines a handle graph overlay that duplicates nodes
* and edges so that both the forward and reverse strand of t... | 37.811321 | 94 | 0.609032 | lnceballosz |
0f15d2decb8d3148129fcd200d0dbe58c916ada8 | 5,625 | cpp | C++ | tutorial/test_async_memory_layout.cpp | tearshark/librf | 4299e2ff264aac9bcd9e4788e528de80044252c8 | [
"Apache-2.0"
] | 434 | 2017-09-24T06:41:06.000Z | 2022-03-29T10:24:14.000Z | tutorial/test_async_memory_layout.cpp | tearshark/librf | 4299e2ff264aac9bcd9e4788e528de80044252c8 | [
"Apache-2.0"
] | 7 | 2017-12-06T13:08:33.000Z | 2021-12-01T07:46:12.000Z | tutorial/test_async_memory_layout.cpp | tearshark/librf | 4299e2ff264aac9bcd9e4788e528de80044252c8 | [
"Apache-2.0"
] | 95 | 2017-09-24T06:14:04.000Z | 2022-03-22T06:23:14.000Z | #include <chrono>
#include <iostream>
#include <string>
#include <thread>
#include "librf.h"
using namespace resumef;
#ifndef __GNUC__ //GCC: 没有提供__builtin_coro_frame这样的内置函数
template<class _Ctype>
static void callback_get_long(int64_t a, int64_t b, _Ctype&& cb)
{
std::cout << std::endl << __FUNCTION__ << " - begi... | 37.751678 | 111 | 0.619911 | tearshark |
0f17d10a59bb17880ee6879713a1ef0cefe9f7fd | 2,132 | cpp | C++ | src/shared/data/settings.cpp | snowmeltarcade/projectbirdracing | 55cd479c81979de535b0cf496e91dd8d48b99fa8 | [
"MIT"
] | null | null | null | src/shared/data/settings.cpp | snowmeltarcade/projectbirdracing | 55cd479c81979de535b0cf496e91dd8d48b99fa8 | [
"MIT"
] | 3 | 2021-11-13T02:18:59.000Z | 2021-12-04T18:16:01.000Z | src/shared/data/settings.cpp | snowmeltarcade/projectbirdracing | 55cd479c81979de535b0cf496e91dd8d48b99fa8 | [
"MIT"
] | null | null | null | #include "settings.h"
#include "shared/utils/strings.h"
namespace pbr::shared::data {
std::optional<std::string> settings::get(const std::string& key) noexcept {
auto it = this->_map.find(key);
if (it == this->_map.end()) {
return {};
}
return this->_map[key];
}
... | 25.380952 | 107 | 0.515009 | snowmeltarcade |
0f1e07e1f1601881011c03e5da4c7c024b97f363 | 4,351 | cpp | C++ | src/qt/src/corelib/animation/qpauseanimation.cpp | martende/phantomjs | 5cecd7dde7b8fd04ad2c036d16f09a8d2a139854 | [
"BSD-3-Clause"
] | 1 | 2015-03-16T20:49:09.000Z | 2015-03-16T20:49:09.000Z | src/qt/src/corelib/animation/qpauseanimation.cpp | firedfox/phantomjs | afb0707c9db7b5e693ad1b216a50081565c08ebb | [
"BSD-3-Clause"
] | null | null | null | src/qt/src/corelib/animation/qpauseanimation.cpp | firedfox/phantomjs | afb0707c9db7b5e693ad1b216a50081565c08ebb | [
"BSD-3-Clause"
] | null | null | null | /****************************************************************************
**
** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the QtCore module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
**... | 27.891026 | 118 | 0.709262 | martende |
0f1e3a8f1d6239e268fb47abc05c9e9f03d82c0d | 9,689 | cpp | C++ | misc/complextest/test_complex_mpfr2.cpp | Ndersam/mplapack | f2ef54d7ce95e4028d3f101a901c75d18d3f1327 | [
"BSD-3-Clause-Open-MPI"
] | 26 | 2019-03-20T04:06:03.000Z | 2022-03-02T10:21:01.000Z | misc/complextest/test_complex_mpfr2.cpp | Ndersam/mplapack | f2ef54d7ce95e4028d3f101a901c75d18d3f1327 | [
"BSD-3-Clause-Open-MPI"
] | 5 | 2019-03-04T03:32:41.000Z | 2021-12-01T07:47:25.000Z | misc/complextest/test_complex_mpfr2.cpp | Ndersam/mplapack | f2ef54d7ce95e4028d3f101a901c75d18d3f1327 | [
"BSD-3-Clause-Open-MPI"
] | 5 | 2019-03-09T17:50:26.000Z | 2022-03-10T19:46:20.000Z | #include <stdio.h>
#include <mpcomplex.h>
#include <complex>
#include <iostream>
using namespace mpfr;
using namespace std;
void test_multiplication1()
{
cout << "testing multiplication\n";
mpcomplex a(1.0, 2.0);
mpcomplex b(3.0, 4.0);
a *= b;
cout << a.real() << "\n";
cout << a.imag() << "\n";
cout << ... | 18.525813 | 69 | 0.513882 | Ndersam |
0f1f0460beb53978edc7a32feda7567bfbbf1e9f | 1,955 | cpp | C++ | aws-cpp-sdk-wellarchitected/source/model/ListLensReviewImprovementsResult.cpp | perfectrecall/aws-sdk-cpp | fb8cbebf2fd62720b65aeff841ad2950e73d8ebd | [
"Apache-2.0"
] | 1 | 2022-02-10T08:06:54.000Z | 2022-02-10T08:06:54.000Z | aws-cpp-sdk-wellarchitected/source/model/ListLensReviewImprovementsResult.cpp | perfectrecall/aws-sdk-cpp | fb8cbebf2fd62720b65aeff841ad2950e73d8ebd | [
"Apache-2.0"
] | 1 | 2021-10-14T16:57:00.000Z | 2021-10-18T10:47:24.000Z | aws-cpp-sdk-wellarchitected/source/model/ListLensReviewImprovementsResult.cpp | ravindra-wagh/aws-sdk-cpp | 7d5ff01b3c3b872f31ca98fb4ce868cd01e97696 | [
"Apache-2.0"
] | 1 | 2021-11-09T11:58:03.000Z | 2021-11-09T11:58:03.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/wellarchitected/model/ListLensReviewImprovementsResult.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <aws/core/AmazonWebServiceResult.h>
#include <aws/core/utils/StringUtil... | 25.723684 | 146 | 0.759079 | perfectrecall |
0f1f3f75ea02c1daa2f765b06c2e26545b533f58 | 5,604 | cpp | C++ | src/tests/DispatcherTest/DispatcherTest.cpp | ADDubovik/StateReportable | 07132939e5ce5b38037e611c6dc5231566294b79 | [
"MIT"
] | 1 | 2022-02-13T11:42:50.000Z | 2022-02-13T11:42:50.000Z | src/tests/DispatcherTest/DispatcherTest.cpp | ADDubovik/StateReportable | 07132939e5ce5b38037e611c6dc5231566294b79 | [
"MIT"
] | null | null | null | src/tests/DispatcherTest/DispatcherTest.cpp | ADDubovik/StateReportable | 07132939e5ce5b38037e611c6dc5231566294b79 | [
"MIT"
] | null | null | null | #include <gtest/gtest.h>
#include "core/Dispatcher.h"
#include "core/ReportLine.h"
#include "core/DispatcherImplementation.h"
#include "core/VectorHelpers.h"
#include <vector>
#include <algorithm>
#include <array>
using namespace StateReportable;
struct TestDestination
{
using Data = core::ReportLine;
using S... | 25.017857 | 107 | 0.680585 | ADDubovik |
0f1f86bc14907e305c772afcc328455974073934 | 8,325 | cpp | C++ | Game/Client/CEGUI/CEGUI/WidgetSets/Falagard/src/FalEditbox.cpp | hackerlank/SourceCode | b702c9e0a9ca5d86933f3c827abb02a18ffc9a59 | [
"MIT"
] | 4 | 2021-07-31T13:56:01.000Z | 2021-11-13T02:55:10.000Z | Game/Client/CEGUI/CEGUI/WidgetSets/Falagard/src/FalEditbox.cpp | shacojx/SourceCodeGameTLBB | e3cea615b06761c2098a05427a5f41c236b71bf7 | [
"MIT"
] | null | null | null | Game/Client/CEGUI/CEGUI/WidgetSets/Falagard/src/FalEditbox.cpp | shacojx/SourceCodeGameTLBB | e3cea615b06761c2098a05427a5f41c236b71bf7 | [
"MIT"
] | 7 | 2021-08-31T14:34:23.000Z | 2022-01-19T08:25:58.000Z | /************************************************************************
filename: FalEditbox.cpp
created: Sat Jun 25 2005
author: Paul D Turner <paul@cegui.org.uk>
*************************************************************************/
/*********************************************************... | 35.729614 | 118 | 0.578979 | hackerlank |
0f2129d3c5cf137aa56d9fda33d3e43d490ab804 | 7,603 | cpp | C++ | part2/main.cpp | enjalot/adventures_in_opencl | c222d15c076ee3f5f81b529eb47e87c8d8057096 | [
"MIT"
] | 152 | 2015-01-04T00:58:08.000Z | 2022-02-02T00:11:58.000Z | part2/main.cpp | ahmadm-atallah/adventures_in_opencl | c222d15c076ee3f5f81b529eb47e87c8d8057096 | [
"MIT"
] | 1 | 2017-09-21T13:36:15.000Z | 2017-09-21T13:36:15.000Z | part2/main.cpp | ahmadm-atallah/adventures_in_opencl | c222d15c076ee3f5f81b529eb47e87c8d8057096 | [
"MIT"
] | 71 | 2015-02-11T17:12:09.000Z | 2021-12-06T14:05:28.000Z | /*
* Adventures in OpenCL tutorial series
* Part 2
*
* author: Ian Johnson
* htt://enja.org
* code based on advisor Gordon Erlebacher's work
* NVIDIA's examples
* as well as various blogs and resources on the internet
*/
#include <stdio.h>
#include <stdlib.h>
#include <sstream>
#include <iomanip>
#include <mat... | 27.250896 | 89 | 0.592661 | enjalot |
0f225de35f273e6db5774e0e24ece82455e242cd | 926 | cpp | C++ | Game/Scorpio/src/PhysicsSimulation/PS_MovableCollider.cpp | hackerlank/SourceCode | b702c9e0a9ca5d86933f3c827abb02a18ffc9a59 | [
"MIT"
] | 4 | 2021-07-31T13:56:01.000Z | 2021-11-13T02:55:10.000Z | Game/Scorpio/src/PhysicsSimulation/PS_MovableCollider.cpp | shacojx/SourceCodeGameTLBB | e3cea615b06761c2098a05427a5f41c236b71bf7 | [
"MIT"
] | null | null | null | Game/Scorpio/src/PhysicsSimulation/PS_MovableCollider.cpp | shacojx/SourceCodeGameTLBB | e3cea615b06761c2098a05427a5f41c236b71bf7 | [
"MIT"
] | 7 | 2021-08-31T14:34:23.000Z | 2022-01-19T08:25:58.000Z | #include "PS_MovableCollider.h"
//------------------------------------------------------------------------------
void PS_MovableCollider::setPosition(PS_Scalar x, PS_Scalar y, PS_Scalar z)
{
setPosition(PS_Vector3(x, y, z));
}
//------------------------------------------------------------------------------
void PS... | 33.071429 | 80 | 0.430886 | hackerlank |
0f22d1d4a84242d0f1652994198fd0fe6981c9ec | 1,252 | hpp | C++ | silkrpc/types/log.hpp | enriavil1/silkrpc | 1fa2109658d4c89b6cfdd5190d919bd1324f367e | [
"Apache-2.0"
] | 9 | 2021-03-08T13:26:46.000Z | 2022-02-25T23:23:16.000Z | silkrpc/types/log.hpp | enriavil1/silkrpc | 1fa2109658d4c89b6cfdd5190d919bd1324f367e | [
"Apache-2.0"
] | 151 | 2020-11-22T15:42:58.000Z | 2022-03-31T20:12:18.000Z | silkrpc/types/log.hpp | enriavil1/silkrpc | 1fa2109658d4c89b6cfdd5190d919bd1324f367e | [
"Apache-2.0"
] | 5 | 2021-03-15T11:01:34.000Z | 2022-03-12T15:45:00.000Z | /*
Copyright 2020 The Silkrpc 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 agreed t... | 24.54902 | 75 | 0.718051 | enriavil1 |
0f24cfb6e46e468609fabc0ebc9f89efadaf80fd | 611 | hpp | C++ | source/clock.hpp | blauerpullover/programmiersprachen-aufgabenblatt-3 | 6a9fdcbc88b348cbd52a99f45ec01d17f9b56872 | [
"MIT"
] | null | null | null | source/clock.hpp | blauerpullover/programmiersprachen-aufgabenblatt-3 | 6a9fdcbc88b348cbd52a99f45ec01d17f9b56872 | [
"MIT"
] | null | null | null | source/clock.hpp | blauerpullover/programmiersprachen-aufgabenblatt-3 | 6a9fdcbc88b348cbd52a99f45ec01d17f9b56872 | [
"MIT"
] | null | null | null | #ifndef CLOCK_HPP
#define CLOCK_HPP
#include "window.hpp"
#include "circle.hpp"
#include "color.hpp"
class Clock{
public:
Clock(Vec2 const& ctr, float r, Color const& clr);
void center (Vec2 const& ctr);
Vec2 center() const;
void radius (float r); //setter
float radius() co... | 21.068966 | 60 | 0.582651 | blauerpullover |
0f274c4904dea2542446d2abdfe933619aa2da34 | 5,570 | cpp | C++ | source/d3d9/d3d9_impl_swapchain.cpp | resistancelion/reshade | 5d2436eb8af1b7a17cae58e48a7dc4b7bce8243f | [
"BSD-3-Clause"
] | null | null | null | source/d3d9/d3d9_impl_swapchain.cpp | resistancelion/reshade | 5d2436eb8af1b7a17cae58e48a7dc4b7bce8243f | [
"BSD-3-Clause"
] | 11 | 2021-09-25T12:31:44.000Z | 2022-02-04T22:56:35.000Z | source/d3d9/d3d9_impl_swapchain.cpp | resistancelion/reshade | 5d2436eb8af1b7a17cae58e48a7dc4b7bce8243f | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (C) 2014 Patrick Mours. All rights reserved.
* License: https://github.com/crosire/reshade#license
*/
#include "d3d9_impl_device.hpp"
#include "d3d9_impl_swapchain.hpp"
#include "d3d9_impl_type_convert.hpp"
#include "dll_log.hpp" // Include late to get HRESULT log overloads
reshade::d3d9::swapchain_... | 33.963415 | 193 | 0.767864 | resistancelion |
0f27818c40ee39f4625874291c0e14c686400d87 | 1,802 | hpp | C++ | ccsrc/cxx_experimental/include/decompositions/rules/h2rx.hpp | Takishima/mindquantum | e90dfe474b759023d7ae18281b9a87cb8d223d04 | [
"Apache-2.0"
] | null | null | null | ccsrc/cxx_experimental/include/decompositions/rules/h2rx.hpp | Takishima/mindquantum | e90dfe474b759023d7ae18281b9a87cb8d223d04 | [
"Apache-2.0"
] | null | null | null | ccsrc/cxx_experimental/include/decompositions/rules/h2rx.hpp | Takishima/mindquantum | e90dfe474b759023d7ae18281b9a87cb8d223d04 | [
"Apache-2.0"
] | null | null | null | // Copyright 2022 <Huawei Technologies Co., Ltd>
//
// 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 ... | 37.541667 | 101 | 0.688124 | Takishima |
0f282de197bb6cc18fee106ad360723323cc87cb | 808 | hpp | C++ | ui/src/core/model/graph/SequenceModel.hpp | thebigG/trackerboy | c6a818954b2a57bb1d883ad1d52764c6bd29de6d | [
"MIT"
] | null | null | null | ui/src/core/model/graph/SequenceModel.hpp | thebigG/trackerboy | c6a818954b2a57bb1d883ad1d52764c6bd29de6d | [
"MIT"
] | null | null | null | ui/src/core/model/graph/SequenceModel.hpp | thebigG/trackerboy | c6a818954b2a57bb1d883ad1d52764c6bd29de6d | [
"MIT"
] | null | null | null |
#pragma once
#include "core/model/graph/GraphModel.hpp"
#include "trackerboy/data/Sequence.hpp"
class SequenceModel : public GraphModel {
Q_OBJECT
public:
explicit SequenceModel(Module &mod, QObject *parent = nullptr);
virtual int count() override;
virtual DataType dataAt(int index) override;
... | 19.238095 | 77 | 0.69802 | thebigG |
0f2a0e28aa7a187dcde06ca5959f83b4b677d9da | 373 | hpp | C++ | include/awl/backends/sdl/system/event/timer_type_fwd.hpp | freundlich/libawl | 0d51f388a6b662373058cb51a24ef25ed826fa0f | [
"BSL-1.0"
] | null | null | null | include/awl/backends/sdl/system/event/timer_type_fwd.hpp | freundlich/libawl | 0d51f388a6b662373058cb51a24ef25ed826fa0f | [
"BSL-1.0"
] | null | null | null | include/awl/backends/sdl/system/event/timer_type_fwd.hpp | freundlich/libawl | 0d51f388a6b662373058cb51a24ef25ed826fa0f | [
"BSL-1.0"
] | null | null | null | #ifndef AWL_BACKENDS_SDL_SYSTEM_EVENT_TIMER_TYPE_FWD_HPP_INCLUDED
#define AWL_BACKENDS_SDL_SYSTEM_EVENT_TIMER_TYPE_FWD_HPP_INCLUDED
#include <awl/backends/sdl/system/event/type_fwd.hpp>
#include <fcppt/declare_strong_typedef.hpp>
namespace awl::backends::sdl::system::event
{
FCPPT_DECLARE_STRONG_TYPEDEF(awl::backend... | 24.866667 | 82 | 0.836461 | freundlich |
0f2d0a16b717abb046fa9393b75ca5422f527995 | 11,091 | cpp | C++ | OpenFrameworks/EqualizerApp/src/I0/UdpManager.cpp | ImanolGo/Equalizer | f7672f0f8a66591375491eededff5060e82e8d27 | [
"MIT",
"Unlicense"
] | null | null | null | OpenFrameworks/EqualizerApp/src/I0/UdpManager.cpp | ImanolGo/Equalizer | f7672f0f8a66591375491eededff5060e82e8d27 | [
"MIT",
"Unlicense"
] | null | null | null | OpenFrameworks/EqualizerApp/src/I0/UdpManager.cpp | ImanolGo/Equalizer | f7672f0f8a66591375491eededff5060e82e8d27 | [
"MIT",
"Unlicense"
] | null | null | null | /*
* UdpManager.cpp
* Equalizer App
*
* Created by Imanol Gomez on 22/08/17.
*
*/
#include "UdpManager.h"
#include "AppManager.h"
#ifndef TARGET_WIN32
#include "ofxMyIP.h"
#endif
const int UdpManager::UDP_MESSAGE_LENGHT = 10000;
const char UdpManager::START_COMMAND = 'd';
const char UdpManager::END_COMM... | 24.923596 | 153 | 0.615724 | ImanolGo |
0f2d9d06364c7ffad253c80beaee054f06872230 | 170 | hxx | C++ | src/Primitives.hxx | LittleGreyCells/escheme-oops | 61adf2416e1ffe91f205e074d68d72d4ffbf49b9 | [
"MIT"
] | null | null | null | src/Primitives.hxx | LittleGreyCells/escheme-oops | 61adf2416e1ffe91f205e074d68d72d4ffbf49b9 | [
"MIT"
] | null | null | null | src/Primitives.hxx | LittleGreyCells/escheme-oops | 61adf2416e1ffe91f205e074d68d72d4ffbf49b9 | [
"MIT"
] | null | null | null | #ifndef SCHEME_PRIMITIVES_HXX
#define SCHEME_PRIMITIVES_HXX
#include "Node.hxx"
namespace scheme
{
namespace Primitives
{
void initialize();
}
}
#endif
| 11.333333 | 29 | 0.711765 | LittleGreyCells |
0f2f4ab7de03a1ac2785559cb47c5de6f0704e2f | 2,656 | cpp | C++ | esp_duck/duckscript.cpp | CrackerCat/WiFiDuck | 301277a4222e7202e0dc9b53ef7dabc792ae8b34 | [
"MIT"
] | 1 | 2019-10-09T04:44:45.000Z | 2019-10-09T04:44:45.000Z | esp_duck/duckscript.cpp | CrackerCat/WiFiDuck | 301277a4222e7202e0dc9b53ef7dabc792ae8b34 | [
"MIT"
] | null | null | null | esp_duck/duckscript.cpp | CrackerCat/WiFiDuck | 301277a4222e7202e0dc9b53ef7dabc792ae8b34 | [
"MIT"
] | null | null | null | /*
Copyright (c) 2019 Stefan Kremser
This software is licensed under the MIT License. See the license file for details.
Source: github.com/spacehuhn/WiFiDuck
*/
#include "duckscript.h"
#include "config.h"
#include "debug.h"
#include "i2c.h"
#include "spiffs.h"
#define RESPONSE_OK 0x00
#define RESPONSE_PRO... | 23.714286 | 109 | 0.490587 | CrackerCat |
0f303c3b2ff5ab4d2f97e9b75799788db65ebb6e | 900 | hpp | C++ | p3a_functional.hpp | sandialabs/p3a | 7d8913c73fc7b3a903a354f53051e6be2fefb758 | [
"MIT"
] | 3 | 2021-10-05T17:56:05.000Z | 2022-02-14T05:55:56.000Z | p3a_functional.hpp | sandialabs/p3a | 7d8913c73fc7b3a903a354f53051e6be2fefb758 | [
"MIT"
] | 7 | 2021-09-15T14:39:33.000Z | 2022-02-24T15:41:41.000Z | p3a_functional.hpp | sandialabs/p3a | 7d8913c73fc7b3a903a354f53051e6be2fefb758 | [
"MIT"
] | 1 | 2022-02-14T05:56:02.000Z | 2022-02-14T05:56:02.000Z | #pragma once
#include "p3a_macros.hpp"
namespace p3a {
template <class T>
class minimizer {
public:
P3A_HOST_DEVICE P3A_ALWAYS_INLINE constexpr
T operator()(T const& a, T const& b) const {
return min(a, b);
}
};
template <class T> inline constexpr minimizer<T> minimizes = {};
template <class T>
class max... | 19.148936 | 64 | 0.687778 | sandialabs |
0f321520bac6a5826c58bccdacb60ab7281a61c5 | 9,120 | cc | C++ | src/logic/lib/factpp/expression.cc | amartya00/libowlcpp | cea67243502d007d1b97ee2bd5d5bc66553df0ad | [
"BSL-1.0"
] | null | null | null | src/logic/lib/factpp/expression.cc | amartya00/libowlcpp | cea67243502d007d1b97ee2bd5d5bc66553df0ad | [
"BSL-1.0"
] | null | null | null | src/logic/lib/factpp/expression.cc | amartya00/libowlcpp | cea67243502d007d1b97ee2bd5d5bc66553df0ad | [
"BSL-1.0"
] | null | null | null | /** @file "/owlcpp/lib/logic/factpp/expression.cpp"
part of owlcpp project.
@n @n Distributed under the Boost Software License, Version 1.0; see doc/license.txt.
@n Copyright Mikhail K Levin 2012
*******************************************************************************/
#include "expression.hpp"
#include "obj_t... | 34.029851 | 86 | 0.600329 | amartya00 |
0f32e31089aceed81f96806bf39127d54112c481 | 1,853 | cc | C++ | release/src/router/aria2-1.18.1/test/SegmentTest.cc | ghsecuritylab/bcwifi | 4cd7a6989921930f39816583014728b9f07a09a3 | [
"FSFAP"
] | 18 | 2015-12-08T17:31:49.000Z | 2022-03-21T19:02:11.000Z | release/src/router/aria2-1.18.1/test/SegmentTest.cc | ghsecuritylab/bcwifi | 4cd7a6989921930f39816583014728b9f07a09a3 | [
"FSFAP"
] | null | null | null | release/src/router/aria2-1.18.1/test/SegmentTest.cc | ghsecuritylab/bcwifi | 4cd7a6989921930f39816583014728b9f07a09a3 | [
"FSFAP"
] | 8 | 2015-07-12T14:37:46.000Z | 2019-03-05T10:07:33.000Z | #include "PiecedSegment.h"
#include <cppunit/extensions/HelperMacros.h>
#include "Piece.h"
namespace aria2 {
class SegmentTest : public CppUnit::TestFixture {
CPPUNIT_TEST_SUITE(SegmentTest);
CPPUNIT_TEST(testUpdateWrittenLength);
CPPUNIT_TEST(testUpdateWrittenLength_lastPiece);
CPPUNIT_TEST(testUpdateWrit... | 24.381579 | 63 | 0.751214 | ghsecuritylab |
0f346ffac72d219292813661ed692ddc25c6d47a | 2,832 | cc | C++ | content/browser/background_fetch/background_fetch_metrics.cc | DamieFC/chromium | 54ce2d3c77723697efd22cfdb02aea38f9dfa25c | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2020-10-18T02:33:40.000Z | 2020-10-18T02:33:40.000Z | content/browser/background_fetch/background_fetch_metrics.cc | DamieFC/chromium | 54ce2d3c77723697efd22cfdb02aea38f9dfa25c | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 3 | 2021-05-17T16:28:52.000Z | 2021-05-21T22:42:22.000Z | content/browser/background_fetch/background_fetch_metrics.cc | DamieFC/chromium | 54ce2d3c77723697efd22cfdb02aea38f9dfa25c | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/browser/background_fetch/background_fetch_metrics.h"
#include "base/metrics/histogram_macros.h"
#include "content/browser/web_contents/... | 40.457143 | 77 | 0.741525 | DamieFC |
0f3663fc3d6a8895897b7c20af75d7b6731506fd | 3,099 | cc | C++ | gltracesim/src/generator/pipeline/analysis_queue.cc | JRPan/gltracesim | 79708f503047922538ca2983392c0e9f99a4345a | [
"BSD-3-Clause"
] | 11 | 2018-06-12T01:38:52.000Z | 2021-05-21T19:53:27.000Z | gltracesim/src/generator/pipeline/analysis_queue.cc | JRPan/gltracesim | 79708f503047922538ca2983392c0e9f99a4345a | [
"BSD-3-Clause"
] | null | null | null | gltracesim/src/generator/pipeline/analysis_queue.cc | JRPan/gltracesim | 79708f503047922538ca2983392c0e9f99a4345a | [
"BSD-3-Clause"
] | 3 | 2019-03-31T15:00:50.000Z | 2021-12-07T22:05:03.000Z | #include "generator/pipeline/analysis_queue.hh"
namespace gltracesim {
namespace pipeline {
AnalysisQueue::AnalysisQueue() :
fout_buffer(&_data0), analysis_buffer(&_data1)
{
}
AnalysisQueue::~AnalysisQueue()
{
}
//
void
AnalysisQueue::add_work_thread(int tid)
{
//
work_threads.push_back(work_thread_t(... | 15.974227 | 67 | 0.547273 | JRPan |
0f385f5f656485c4368b0edd4c6ce56fe46836a9 | 18,422 | cpp | C++ | third_party/unrar/src/file.cpp | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | third_party/unrar/src/file.cpp | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | third_party/unrar/src/file.cpp | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2021-01-05T23:43:46.000Z | 2021-01-07T23:36:34.000Z | #include "rar.hpp"
File::File()
{
hFile=FILE_BAD_HANDLE;
*FileName=0;
NewFile=false;
LastWrite=false;
HandleType=FILE_HANDLENORMAL;
SkipClose=false;
IgnoreReadErrors=false;
ErrorType=FILE_SUCCESS;
OpenShared=false;
AllowDelete=true;
AllowExceptions=true;
#ifdef _WIN_ALL
NoSequentialRead=false;
... | 24.27141 | 95 | 0.684128 | sarang-apps |
0f3a1fdbf8a8affc85768b879a621344e82feeb1 | 2,577 | hpp | C++ | src/emu6502/common.hpp | macsimbodnar/emu | 017bac23e38269065f2229dae89d92e788aeee73 | [
"MIT"
] | 3 | 2019-10-01T12:20:10.000Z | 2021-03-02T15:31:46.000Z | src/emu6502/common.hpp | macsimbodnar/emu | 017bac23e38269065f2229dae89d92e788aeee73 | [
"MIT"
] | null | null | null | src/emu6502/common.hpp | macsimbodnar/emu | 017bac23e38269065f2229dae89d92e788aeee73 | [
"MIT"
] | null | null | null | #pragma once
#include <stdint.h>
#include <string>
enum class access_mode_t { // Access mode type
READ = 0, // Read from memory
WRITE, // Write to memory
READ_ONLY
};
/**
* Callback used by the MOS6502 Class to read / write memory
*
* usr_data User data will be passed her... | 37.347826 | 80 | 0.648428 | macsimbodnar |
0f3a597799a7eaa8093311e54cb6677504541707 | 1,169 | hpp | C++ | include/PageContainer.hpp | FORTYSS0/lab-refactoring-12 | 898d5011a74fdfff3c9c077c9cfa45c9aa3f9f6f | [
"MIT"
] | null | null | null | include/PageContainer.hpp | FORTYSS0/lab-refactoring-12 | 898d5011a74fdfff3c9c077c9cfa45c9aa3f9f6f | [
"MIT"
] | null | null | null | include/PageContainer.hpp | FORTYSS0/lab-refactoring-12 | 898d5011a74fdfff3c9c077c9cfa45c9aa3f9f6f | [
"MIT"
] | null | null | null | // Copyright 2021 by FORTYSS
#ifndef INCLUDE_PAGECONTAINER_HPP_
#define INCLUDE_PAGECONTAINER_HPP_
#include <algorithm>
#include <set>
#include <sstream>
#include <string>
#include <vector>
#include <iostream>
#include "Histogram.hpp"
#include "Loger.hpp"
#include "Statistic.hpp"
#include "UsedMemory.hpp"
constexpr ... | 23.38 | 78 | 0.727973 | FORTYSS0 |
0f3e553415fd79a5674ae86830770da5e4a8354c | 248 | cpp | C++ | C++/04_structor_example/04_structor_example.cpp | alientek-openedv/Embedded-Qt-Tutorial | 3c75142235b4d39c22e1ad56a5bd92d08c1a0d42 | [
"MIT"
] | 1 | 2022-02-21T03:19:36.000Z | 2022-02-21T03:19:36.000Z | C++/04_structor_example/04_structor_example.cpp | alientek-openedv/Embedded-Qt-Tutorial | 3c75142235b4d39c22e1ad56a5bd92d08c1a0d42 | [
"MIT"
] | null | null | null | C++/04_structor_example/04_structor_example.cpp | alientek-openedv/Embedded-Qt-Tutorial | 3c75142235b4d39c22e1ad56a5bd92d08c1a0d42 | [
"MIT"
] | 1 | 2021-10-19T04:03:56.000Z | 2021-10-19T04:03:56.000Z | #include <iostream>
#include <string>
using namespace std;
class Dog
{
public:
Dog();
~Dog();
};
int main()
{
Dog dog;
cout<<"构造与析构函数示例"<<endl;
return 0;
}
Dog::Dog()
{
cout<<"构造函数执行!"<<endl;
}
Dog::~Dog()
{
cout<<"析构函数执行!"<<endl;
}
| 8.551724 | 25 | 0.572581 | alientek-openedv |
0f41b9ac002d4da81682bc3b538f03c8bf37be7e | 41,442 | cpp | C++ | test/test_schema_manager.cpp | duzhanyuan/BaikalDB | 7f0a9ddef2c737831f8f9fff2b0ea134823433d8 | [
"Apache-2.0"
] | 984 | 2018-08-03T16:22:49.000Z | 2022-03-22T07:54:48.000Z | test/test_schema_manager.cpp | duzhanyuan/BaikalDB | 7f0a9ddef2c737831f8f9fff2b0ea134823433d8 | [
"Apache-2.0"
] | 100 | 2018-08-07T11:33:18.000Z | 2021-12-22T19:22:43.000Z | test/test_schema_manager.cpp | duzhanyuan/BaikalDB | 7f0a9ddef2c737831f8f9fff2b0ea134823433d8 | [
"Apache-2.0"
] | 157 | 2018-08-04T05:32:34.000Z | 2022-03-10T03:16:47.000Z | // Copyright (c) 2018 Baidu, Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applic... | 54.528947 | 103 | 0.710004 | duzhanyuan |
0f43c0b90bd56351ccf107153b23eb75c5e60b44 | 4,487 | cc | C++ | src/kiwi/http/server.cc | hugopeixoto/kiwi-http | 7149939dcbb59a793e87b27ae4df771123356467 | [
"MIT"
] | null | null | null | src/kiwi/http/server.cc | hugopeixoto/kiwi-http | 7149939dcbb59a793e87b27ae4df771123356467 | [
"MIT"
] | null | null | null | src/kiwi/http/server.cc | hugopeixoto/kiwi-http | 7149939dcbb59a793e87b27ae4df771123356467 | [
"MIT"
] | null | null | null | /**
* @file response.h
* kiwi/http
*
* Copyright (c) 2013 Hugo Peixoto.
* Distributed under the MIT License.
*/
#include "kiwi/http/server.h"
#include "kiwi/http/response.h"
#include "kiwi/http/parser.h"
#include <unistd.h>
#include <stdlib.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/select.h... | 19.76652 | 89 | 0.611767 | hugopeixoto |
0f501e7c5a048e69a94151a8e8917331d1eda48d | 46,803 | cpp | C++ | modules/SofaVolumetricData/DistanceGrid.cpp | sofa-framework/issofa | 94855f488465bc3ed41223cbde987581dfca5389 | [
"OML"
] | null | null | null | modules/SofaVolumetricData/DistanceGrid.cpp | sofa-framework/issofa | 94855f488465bc3ed41223cbde987581dfca5389 | [
"OML"
] | null | null | null | modules/SofaVolumetricData/DistanceGrid.cpp | sofa-framework/issofa | 94855f488465bc3ed41223cbde987581dfca5389 | [
"OML"
] | null | null | null | /******************************************************************************
* SOFA, Simulation Open-Framework Architecture, development version *
* (c) 2006-2017 INRIA, USTL, UJF, CNRS, MGH *
* *
... | 37.4424 | 204 | 0.411298 | sofa-framework |
0f52bd6c460a4d4d554a73873f24392c9fa6a45d | 6,689 | cpp | C++ | libs/gui/src/CAboutBox_wx.cpp | amitsingh19975/mrpt | 451480f9815cc029ae427ed8067732606bcfbb43 | [
"BSD-3-Clause"
] | null | null | null | libs/gui/src/CAboutBox_wx.cpp | amitsingh19975/mrpt | 451480f9815cc029ae427ed8067732606bcfbb43 | [
"BSD-3-Clause"
] | null | null | null | libs/gui/src/CAboutBox_wx.cpp | amitsingh19975/mrpt | 451480f9815cc029ae427ed8067732606bcfbb43 | [
"BSD-3-Clause"
] | null | null | null | /* +------------------------------------------------------------------------+
| Mobile Robot Programming Toolkit (MRPT) |
| http://www.mrpt.org/ |
| |
| Cop... | 34.302564 | 80 | 0.703842 | amitsingh19975 |
0f574392a4810bec21ea7f18cc3411d1b382d42e | 38,669 | cc | C++ | system-test/maxtest/src/mariadb_nodes.cc | mariadb-corporation/MaxScale | e18ccc287d7714165479992f5214aacc7486048d | [
"BSD-3-Clause"
] | 1,157 | 2015-01-06T15:44:47.000Z | 2022-03-28T02:52:37.000Z | system-test/maxtest/src/mariadb_nodes.cc | mariadb-corporation/MaxScale | e18ccc287d7714165479992f5214aacc7486048d | [
"BSD-3-Clause"
] | 80 | 2015-02-13T11:49:05.000Z | 2022-01-17T09:00:11.000Z | system-test/maxtest/src/mariadb_nodes.cc | mariadb-corporation/MaxScale | e18ccc287d7714165479992f5214aacc7486048d | [
"BSD-3-Clause"
] | 361 | 2015-01-14T03:01:00.000Z | 2022-03-28T00:14:04.000Z | /**
* @file mariadb_nodes.cpp - backend nodes routines
*
* @verbatim
* Revision History
*
* Date Who Description
* 17/11/14 Timofey Turenko Initial implementation
*
* @endverbatim
*/
#include <maxtest/mariadb_nodes.hh>
#include <algorithm>
#include <cassert>
#include <future>
#include <functional>
#i... | 28.122909 | 131 | 0.552768 | mariadb-corporation |
0f575cf31a3359216fa9d2bf5cb7f76b6fb94d0d | 10,721 | cpp | C++ | scripting/v8_utils.cpp | somia/mongo | 37621de3d09953e4f65a29c774d6d999619194f1 | [
"Apache-2.0"
] | 2 | 2017-03-01T01:16:55.000Z | 2020-02-13T20:53:31.000Z | scripting/v8_utils.cpp | somia/mongo | 37621de3d09953e4f65a29c774d6d999619194f1 | [
"Apache-2.0"
] | null | null | null | scripting/v8_utils.cpp | somia/mongo | 37621de3d09953e4f65a29c774d6d999619194f1 | [
"Apache-2.0"
] | null | null | null | // v8_utils.cpp
/* Copyright 2009 10gen 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 a... | 36.715753 | 145 | 0.559649 | somia |
0f576940fad4537a92bde833800536844b2229db | 1,619 | hpp | C++ | psrdada_cpp/effelsberg/edd/test/SpectralKurtosis.hpp | MPIfR-BDG/psrdada_cpp | aa9436e59eeb6ee597173caeba8a9e15db8d7d46 | [
"MIT"
] | null | null | null | psrdada_cpp/effelsberg/edd/test/SpectralKurtosis.hpp | MPIfR-BDG/psrdada_cpp | aa9436e59eeb6ee597173caeba8a9e15db8d7d46 | [
"MIT"
] | 3 | 2020-02-15T12:57:36.000Z | 2020-04-08T14:48:57.000Z | psrdada_cpp/effelsberg/edd/test/SpectralKurtosis.hpp | MPIfR-BDG/psrdada_cpp | aa9436e59eeb6ee597173caeba8a9e15db8d7d46 | [
"MIT"
] | 5 | 2020-01-09T14:34:54.000Z | 2022-03-14T07:15:39.000Z | #ifndef PSRDADA_CPP_EFFELSBERG_EDD_SPECTRALKURTOSIS_HPP
#define PSRDADA_CPP_EFFELSBERG_EDD_SPECTRALKURTOSIS_HPP
#include "psrdada_cpp/common.hpp"
#include <complex>
#include <vector>
#include <numeric>
namespace psrdada_cpp {
namespace effelsberg {
namespace edd {
struct RFIStatistics{
std::vector<int> rfi_stat... | 26.983333 | 95 | 0.644842 | MPIfR-BDG |
0f5841fc32172e85d8fa75e488d362da119c53b5 | 9,528 | cpp | C++ | docs/template_plugin/tests/functional/op_reference/experimental_detectron_detection_output.cpp | ryanloney/openvino-1 | 4e0a740eb3ee31062ba0df88fcf438564f67edb7 | [
"Apache-2.0"
] | 2 | 2021-12-14T15:27:46.000Z | 2021-12-14T15:34:16.000Z | docs/template_plugin/tests/functional/op_reference/experimental_detectron_detection_output.cpp | ryanloney/openvino-1 | 4e0a740eb3ee31062ba0df88fcf438564f67edb7 | [
"Apache-2.0"
] | 33 | 2021-09-23T04:14:30.000Z | 2022-01-24T13:21:32.000Z | docs/template_plugin/tests/functional/op_reference/experimental_detectron_detection_output.cpp | ryanloney/openvino-1 | 4e0a740eb3ee31062ba0df88fcf438564f67edb7 | [
"Apache-2.0"
] | 11 | 2021-11-09T00:51:40.000Z | 2021-11-10T12:04:16.000Z | // Copyright (C) 2018-2022 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#include <gtest/gtest.h>
#include "openvino/op/experimental_detectron_detection_output.hpp"
#include "base_reference_test.hpp"
using namespace reference_tests;
using namespace ov;
using Attrs = op::v6::ExperimentalDetectronDetect... | 53.830508 | 149 | 0.50042 | ryanloney |
0f5866e40250bcd794a374b9e0bd22db67eceb0f | 33,597 | hh | C++ | include/maxscale/buffer.hh | crspecter/MaxScale | 471fa20a09ebc954fc3304500037b6b55dbbf9f1 | [
"BSD-3-Clause"
] | 1 | 2021-02-07T01:57:32.000Z | 2021-02-07T01:57:32.000Z | include/maxscale/buffer.hh | crspecter/MaxScale | 471fa20a09ebc954fc3304500037b6b55dbbf9f1 | [
"BSD-3-Clause"
] | null | null | null | include/maxscale/buffer.hh | crspecter/MaxScale | 471fa20a09ebc954fc3304500037b6b55dbbf9f1 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
*
* Change Date: 2025-01-25
*
* On the date above, in accordance with the Business Source License, use
* of this software will be g... | 25.337104 | 106 | 0.589547 | crspecter |
0f5974c018f76d79140baea5a192be4cb146ed94 | 701 | cpp | C++ | libc/test/src/math/ldexp_test.cpp | dongkyunahn-intel/llvm | a3bbc1105cf41809e6ea546ee1c541e8522db6d6 | [
"Apache-2.0"
] | null | null | null | libc/test/src/math/ldexp_test.cpp | dongkyunahn-intel/llvm | a3bbc1105cf41809e6ea546ee1c541e8522db6d6 | [
"Apache-2.0"
] | null | null | null | libc/test/src/math/ldexp_test.cpp | dongkyunahn-intel/llvm | a3bbc1105cf41809e6ea546ee1c541e8522db6d6 | [
"Apache-2.0"
] | 1 | 2021-11-23T17:16:34.000Z | 2021-11-23T17:16:34.000Z | //===-- Unittests for ldexp -----------------------------------------------===//
//
// 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
//
//===---------------------------... | 31.863636 | 80 | 0.606277 | dongkyunahn-intel |
0f5ae69f1efba23d170638182fc096508665ec27 | 3,105 | cpp | C++ | sources/libcore/geometry/linesDistances.cpp | ucpu/cage | c7abf329d84a81a40ff11f93c6ce88290bb898ac | [
"MIT"
] | 23 | 2018-03-18T14:28:26.000Z | 2022-03-25T20:32:29.000Z | sources/libcore/geometry/linesDistances.cpp | ucpu/cage | c7abf329d84a81a40ff11f93c6ce88290bb898ac | [
"MIT"
] | 8 | 2018-08-12T20:14:34.000Z | 2021-09-04T21:24:19.000Z | sources/libcore/geometry/linesDistances.cpp | ucpu/cage | c7abf329d84a81a40ff11f93c6ce88290bb898ac | [
"MIT"
] | 2 | 2019-11-03T17:11:51.000Z | 2021-03-31T02:05:33.000Z | #include <cage-core/geometry.h>
namespace cage
{
namespace
{
Real distanceLines(const Vec3 a1, const Vec3 &a2, const Vec3 &b1, const Vec3 &b2)
{
// algorithm taken from http://geomalgorithms.com/a07-_distance.html and modified
// Copyright 2001 softSurfer, 2012 Dan Sunday
// This code may be freely use... | 23.522727 | 92 | 0.530757 | ucpu |
0f5b86061dbdebde08badca7f984f4a2c8d7bc79 | 1,691 | cc | C++ | paddle/framework/scope_test.cc | boru-roylu/Paddle | b15c675530db541440ddb5b7e774d522ecaf1533 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2019-03-14T05:20:07.000Z | 2019-03-14T05:20:07.000Z | paddle/framework/scope_test.cc | boru-roylu/Paddle | b15c675530db541440ddb5b7e774d522ecaf1533 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | paddle/framework/scope_test.cc | boru-roylu/Paddle | b15c675530db541440ddb5b7e774d522ecaf1533 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | /* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
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 ... | 23.486111 | 72 | 0.677114 | boru-roylu |
0f5b88720be614925babe717f4aa09ee3937960c | 450 | cpp | C++ | jp.atcoder/abc027/abc027_b/11437293.cpp | kagemeka/atcoder-submissions | 91d8ad37411ea2ec582b10ba41b1e3cae01d4d6e | [
"MIT"
] | 1 | 2022-02-09T03:06:25.000Z | 2022-02-09T03:06:25.000Z | jp.atcoder/abc027/abc027_b/11437293.cpp | kagemeka/atcoder-submissions | 91d8ad37411ea2ec582b10ba41b1e3cae01d4d6e | [
"MIT"
] | 1 | 2022-02-05T22:53:18.000Z | 2022-02-09T01:29:30.000Z | jp.atcoder/abc027/abc027_b/11437293.cpp | kagemeka/atcoder-submissions | 91d8ad37411ea2ec582b10ba41b1e3cae01d4d6e | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
int main() {
int n;
cin >> n;
vector<int> a(n+1);
for (int i = 0; i < n; i++) {cin >> a[i+1]; a[i+1] += a[i];}
if (a[n] % n) {cout << -1 << '\n'; return 0;}
int tot = 0;
int q = a[n] / n;
int l = 1;
for (int r = 1; r < n + 1; r++) {
if ... | 19.565217 | 63 | 0.366667 | kagemeka |
0f5bc4bd74f1a5257688201b6eca2d2321c01b21 | 10,722 | cc | C++ | src/analytics/redis_processor_vizd.cc | sysbot/contrail-controller | 893de3e41aa7b8e40092fba4a5da34284f5ee00f | [
"Apache-2.0"
] | 1 | 2015-11-08T07:28:10.000Z | 2015-11-08T07:28:10.000Z | src/analytics/redis_processor_vizd.cc | sysbot/contrail-controller | 893de3e41aa7b8e40092fba4a5da34284f5ee00f | [
"Apache-2.0"
] | null | null | null | src/analytics/redis_processor_vizd.cc | sysbot/contrail-controller | 893de3e41aa7b8e40092fba4a5da34284f5ee00f | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2013 Juniper Networks, Inc. All rights reserved.
*/
#include "base/logging.h"
#include "redis_processor_vizd.h"
#include "redis_connection.h"
#include <boost/assign/list_of.hpp>
#include "hiredis/hiredis.h"
#include "hiredis/boostasio.hpp"
#include "seqnum_lua.cpp"
#include "delrequest_lua.cpp"
#... | 33.092593 | 124 | 0.570696 | sysbot |
0f5c1b7adcd5c7ce4d970351270ca99ae36791a9 | 4,527 | cpp | C++ | live555/liveMedia/H264or5VideoStreamDiscreteFramer.cpp | jack139/HF | 4810f4ee2faf9ab51c867e105addc139da2adfd1 | [
"BSD-3-Clause"
] | 10 | 2019-04-07T20:13:23.000Z | 2021-12-07T06:23:52.000Z | live555/liveMedia/H264or5VideoStreamDiscreteFramer.cpp | jack139/HF | 4810f4ee2faf9ab51c867e105addc139da2adfd1 | [
"BSD-3-Clause"
] | 1 | 2020-05-29T16:11:22.000Z | 2020-05-29T16:11:22.000Z | live555/liveMedia/H264or5VideoStreamDiscreteFramer.cpp | jack139/HF | 4810f4ee2faf9ab51c867e105addc139da2adfd1 | [
"BSD-3-Clause"
] | 6 | 2017-10-20T10:53:33.000Z | 2020-04-24T06:34:18.000Z | /**********
This library is free software; you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License as published by the
Free Software Foundation; either version 2.1 of the License, or (at your
option) any later version. (See <http://www.gnu.org/copyleft/lesser.html>.)
This libr... | 47.652632 | 102 | 0.721891 | jack139 |
0f5d8c5fa66dd891ed707137bd40ded78638a874 | 4,429 | cpp | C++ | Testing/nbsimBasicTest.cpp | NottingDuck/PHAS0100Assignment2 | d1b191f3133fe084c856ea15cefe1f1e536de50c | [
"BSD-3-Clause"
] | null | null | null | Testing/nbsimBasicTest.cpp | NottingDuck/PHAS0100Assignment2 | d1b191f3133fe084c856ea15cefe1f1e536de50c | [
"BSD-3-Clause"
] | null | null | null | Testing/nbsimBasicTest.cpp | NottingDuck/PHAS0100Assignment2 | d1b191f3133fe084c856ea15cefe1f1e536de50c | [
"BSD-3-Clause"
] | null | null | null | /*=============================================================================
PHAS0100ASSIGNMENT2: PHAS0100 Assignment 2 Gravitational N-body Simulation
Copyright (c) University College London (UCL). All rights reserved.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty o... | 27.855346 | 100 | 0.688191 | NottingDuck |
0f5e824b4206373e208449a040f3c019d3bcc63a | 14,882 | tpp | C++ | src/biomolecules/sprelay/core/command_queue.tpp | lumik/sprelay | aaae1167038fc5477fc5dc9ee026d08c1d1b88bc | [
"BSD-3-Clause"
] | null | null | null | src/biomolecules/sprelay/core/command_queue.tpp | lumik/sprelay | aaae1167038fc5477fc5dc9ee026d08c1d1b88bc | [
"BSD-3-Clause"
] | 65 | 2017-04-11T14:40:39.000Z | 2022-01-28T18:24:39.000Z | src/biomolecules/sprelay/core/command_queue.tpp | lumik/sprelay | aaae1167038fc5477fc5dc9ee026d08c1d1b88bc | [
"BSD-3-Clause"
] | null | null | null | // -*-c++-*-
/***************************************************************************
** **
** Controlling interface for K8090 8-Channel Relay Card from Velleman **
** through usb using virtual serial port in Qt. *... | 38.654545 | 118 | 0.662814 | lumik |
0f5ea2257c8c3c544207eb8cae0566ef5668c387 | 1,289 | cpp | C++ | Modules/DICOMTesting/DumpDICOMMitkImage.cpp | danielknorr/MITK | b1b9780b2a6671d8118313c5ef71e9aa128362be | [
"BSD-3-Clause"
] | 5 | 2015-02-05T10:58:41.000Z | 2019-04-17T15:04:07.000Z | Modules/DICOMTesting/DumpDICOMMitkImage.cpp | danielknorr/MITK | b1b9780b2a6671d8118313c5ef71e9aa128362be | [
"BSD-3-Clause"
] | 141 | 2015-03-03T06:52:01.000Z | 2020-12-10T07:28:14.000Z | Modules/DICOMTesting/DumpDICOMMitkImage.cpp | danielknorr/MITK | b1b9780b2a6671d8118313c5ef71e9aa128362be | [
"BSD-3-Clause"
] | 4 | 2015-02-19T06:48:13.000Z | 2020-06-19T16:20:25.000Z | /*===================================================================
The Medical Imaging Interaction Toolkit (MITK)
Copyright (c) German Cancer Research Center,
Division of Medical and Biological Informatics.
All rights reserved.
This software is distributed WITHOUT ANY WARRANTY; without
even the implied warranty o... | 31.439024 | 95 | 0.643134 | danielknorr |
0f5ee5e711b35806f48ab3cd7c1f23426c6e469c | 808 | cpp | C++ | xtd.forms/src/xtd/forms/button_base.cpp | lineCode/xtd.forms | 53b126a41513b4009870498b9f8e522dfc94c8de | [
"MIT"
] | 1 | 2022-02-04T08:15:31.000Z | 2022-02-04T08:15:31.000Z | xtd.forms/src/xtd/forms/button_base.cpp | lineCode/xtd.forms | 53b126a41513b4009870498b9f8e522dfc94c8de | [
"MIT"
] | null | null | null | xtd.forms/src/xtd/forms/button_base.cpp | lineCode/xtd.forms | 53b126a41513b4009870498b9f8e522dfc94c8de | [
"MIT"
] | null | null | null | #include "../../../include/xtd/forms/button_base.hpp"
#include <xtd/forms/native/window_button.hpp>
using namespace xtd;
using namespace xtd::forms;
button_base::button_base() {
this->make_control(*this);
this->control::data_->auto_size_mode_ = forms::auto_size_mode::grow_only;
this->control::data_->size_ = thi... | 26.064516 | 75 | 0.72896 | lineCode |
0f60ef3f6b37b1f32a7ceaa0b1683fcc73d0ad03 | 5,753 | hpp | C++ | src/core/linear-algebra/Tines_Gemv.hpp | mschmidt271/Tines | 2e754c930dcb0bfb52f0c8d06064076bc5f68230 | [
"BSD-2-Clause"
] | null | null | null | src/core/linear-algebra/Tines_Gemv.hpp | mschmidt271/Tines | 2e754c930dcb0bfb52f0c8d06064076bc5f68230 | [
"BSD-2-Clause"
] | null | null | null | src/core/linear-algebra/Tines_Gemv.hpp | mschmidt271/Tines | 2e754c930dcb0bfb52f0c8d06064076bc5f68230 | [
"BSD-2-Clause"
] | null | null | null | /*----------------------------------------------------------------------------------
Tines - Time Integrator, Newton and Eigen Solver - version 1.0
Copyright (2021) NTESS
https://github.com/sandialabs/Tines
Copyright 2021 National Technology & Engineering Solutions of Sandia, LLC (NTESS).
Under the terms of Contract... | 41.688406 | 84 | 0.61255 | mschmidt271 |
0f637e5d6c69c8f24c304ff2b2620b98ed627980 | 335 | cpp | C++ | linepass/main.cpp | yalehwy/linepw | 8e22ffaa49fa49dca44a6a8d6e38a16a64a41aa0 | [
"Apache-2.0"
] | null | null | null | linepass/main.cpp | yalehwy/linepw | 8e22ffaa49fa49dca44a6a8d6e38a16a64a41aa0 | [
"Apache-2.0"
] | null | null | null | linepass/main.cpp | yalehwy/linepw | 8e22ffaa49fa49dca44a6a8d6e38a16a64a41aa0 | [
"Apache-2.0"
] | null | null | null | //
// main.cpp
// linepasswordindex
//
// Created by Saber on 2018/4/27.
// Copyright © 2018年 Saber. All rights reserved.
//
//
#include <iostream>
#include "comprogram.hpp"
int main(int argc,char* argv[]) {
ComProgram *cp = new ComProgram();
int retVal = cp->main(argc, argv);
delete cp;
cp = nullptr;
re... | 17.631579 | 49 | 0.647761 | yalehwy |
0f6394170c9da3c9a0f5c15521fbdad8ab951741 | 204 | cpp | C++ | engine/modules/ui/event/gesture/gesture_recognizer.cpp | Houkime/echo | d115ca55faf3a140bea04feffeb2efdedb0e7f82 | [
"MIT"
] | 675 | 2019-02-07T01:23:19.000Z | 2022-03-28T05:45:10.000Z | engine/modules/ui/event/gesture/gesture_recognizer.cpp | Houkime/echo | d115ca55faf3a140bea04feffeb2efdedb0e7f82 | [
"MIT"
] | 843 | 2019-01-25T01:06:46.000Z | 2022-03-16T11:15:53.000Z | engine/modules/ui/event/gesture/gesture_recognizer.cpp | Houkime/echo | d115ca55faf3a140bea04feffeb2efdedb0e7f82 | [
"MIT"
] | 83 | 2019-02-20T06:18:46.000Z | 2022-03-20T09:36:09.000Z | #include "gesture_recognizer.h"
namespace Echo
{
UiGestureRecognizer::UiGestureRecognizer()
{
}
UiGestureRecognizer::~UiGestureRecognizer()
{
}
void UiGestureRecognizer::bindMethods()
{
}
} | 10.736842 | 44 | 0.730392 | Houkime |
0f63a4cf72ddde00946293cac4b29206657fed51 | 2,103 | cpp | C++ | dbms/src/Processors/Formats/Impl/JSONCompactRowOutputFormat.cpp | enriqueChen/ClickHouse | aef0e2c0a387e26645fca340e6ec7fc332562149 | [
"Apache-2.0"
] | null | null | null | dbms/src/Processors/Formats/Impl/JSONCompactRowOutputFormat.cpp | enriqueChen/ClickHouse | aef0e2c0a387e26645fca340e6ec7fc332562149 | [
"Apache-2.0"
] | null | null | null | dbms/src/Processors/Formats/Impl/JSONCompactRowOutputFormat.cpp | enriqueChen/ClickHouse | aef0e2c0a387e26645fca340e6ec7fc332562149 | [
"Apache-2.0"
] | 1 | 2020-05-22T18:44:44.000Z | 2020-05-22T18:44:44.000Z | #include <Processors/Formats/Impl/JSONCompactRowOutputFormat.h>
#include <Formats/FormatFactory.h>
#include <IO/WriteHelpers.h>
namespace DB
{
JSONCompactRowOutputFormat::JSONCompactRowOutputFormat(
WriteBuffer & out_, const Block & header, const FormatSettings & settings_)
: JSONRowOutputFormat(out_, heade... | 22.612903 | 114 | 0.68331 | enriqueChen |
0f64e59238e8d80274655ed85402db31b5650c55 | 1,644 | cpp | C++ | .upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_move_assignable.pass.cpp | clayne/libcudacxx | b6908c62833db1f0bb5ae06944f6613f23d814b3 | [
"Apache-2.0"
] | null | null | null | .upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_move_assignable.pass.cpp | clayne/libcudacxx | b6908c62833db1f0bb5ae06944f6613f23d814b3 | [
"Apache-2.0"
] | null | null | null | .upstream-tests/test/std/utilities/meta/meta.unary/meta.unary.prop/is_nothrow_move_assignable.pass.cpp | clayne/libcudacxx | b6908c62833db1f0bb5ae06944f6613f23d814b3 | [
"Apache-2.0"
] | 1 | 2021-11-12T21:19:28.000Z | 2021-11-12T21:19:28.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
//
//===---------------------------... | 21.631579 | 80 | 0.644161 | clayne |
0f667b33e2789e0e1a3a6dd1b277d670174a7d22 | 3,947 | cpp | C++ | Volt/Assets/FontAsset.cpp | aquach/volt | 3010e1803a22d3a6200f7c59b9234afc59d52985 | [
"MIT"
] | 1 | 2017-08-03T04:38:43.000Z | 2017-08-03T04:38:43.000Z | Volt/Assets/FontAsset.cpp | aquach/volt | 3010e1803a22d3a6200f7c59b9234afc59d52985 | [
"MIT"
] | null | null | null | Volt/Assets/FontAsset.cpp | aquach/volt | 3010e1803a22d3a6200f7c59b9234afc59d52985 | [
"MIT"
] | null | null | null | #include "Volt/Assets/FontAsset.h"
#include "Volt/Assets/AssetManager.h"
#include "Volt/Assets/DataSource.h"
#include "Volt/Graphics/Graphics.h"
#include "Volt/Graphics/OpenGL.h"
#define STB_TRUETYPE_IMPLEMENTATION
#if COMPILER_GCC
#pragma GCC diagnostic ignored "-Wwrite-strings"
#endif
#include <stb/stb_truetype.... | 27.409722 | 79 | 0.555865 | aquach |
0f669ac9d16d778b005e4cd1976f62eb1be86389 | 3,639 | cpp | C++ | src/airmap/mavlink/channel.cpp | YUNEEC/platform-sdk | 5670c5096087e836ecdbde38ae401cbfa7fa5fc7 | [
"Apache-2.0"
] | 13 | 2018-09-05T14:35:01.000Z | 2021-03-04T07:17:40.000Z | src/airmap/mavlink/channel.cpp | YUNEEC/platform-sdk | 5670c5096087e836ecdbde38ae401cbfa7fa5fc7 | [
"Apache-2.0"
] | 31 | 2018-09-06T13:04:03.000Z | 2021-11-15T22:46:50.000Z | src/airmap/mavlink/channel.cpp | YUNEEC/platform-sdk | 5670c5096087e836ecdbde38ae401cbfa7fa5fc7 | [
"Apache-2.0"
] | 12 | 2018-11-09T10:09:21.000Z | 2021-10-08T05:28:12.000Z | // AirMap Platform SDK
// Copyright © 2018 AirMap, Inc. 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 requir... | 32.491071 | 114 | 0.673262 | YUNEEC |
0f6761a49555015a14415d6fe47b3a79e5af7542 | 3,592 | cpp | C++ | tagpool.cpp | theme/MangaLib | 76af5a4f73c19cb52e00188bf8f01a5bb2e80e49 | [
"BSD-3-Clause"
] | 1 | 2017-09-23T14:32:48.000Z | 2017-09-23T14:32:48.000Z | tagpool.cpp | theme/MangaLib | 76af5a4f73c19cb52e00188bf8f01a5bb2e80e49 | [
"BSD-3-Clause"
] | null | null | null | tagpool.cpp | theme/MangaLib | 76af5a4f73c19cb52e00188bf8f01a5bb2e80e49 | [
"BSD-3-Clause"
] | null | null | null | #include "tagpool.h"
TagPool::TagPool(SQLiteDB *db, QObject *parent) :
QObject(parent),db_(db)
{
connect(db_, SIGNAL(sigOpened()), this, SLOT(loadDBtags()));
connect(db_, SIGNAL(sigClosed()), this, SLOT(clearCache()));
}
QString TagPool::tagType(QString tag)
{
if (tagcache_.contains(tag)){
ret... | 23.788079 | 89 | 0.521993 | theme |
0f6839e4435289ca259207c7437b4d92c7447a6b | 632 | cpp | C++ | CPP/language/interface.cpp | lemming-life/Snippets | 796d34f3d33cb0e38d38197938bc36397ce8a27b | [
"Unlicense"
] | null | null | null | CPP/language/interface.cpp | lemming-life/Snippets | 796d34f3d33cb0e38d38197938bc36397ce8a27b | [
"Unlicense"
] | null | null | null | CPP/language/interface.cpp | lemming-life/Snippets | 796d34f3d33cb0e38d38197938bc36397ce8a27b | [
"Unlicense"
] | null | null | null | // Author: http://lemming.life
// Language: C++
// Description: Shows how to implement an interface in C++
/* At terminal do:
g++ interface.cpp
./a.out
*/
#include <iostream>
using namespace std;
// An interface
// - A promise that function(s) must be implemented.
class Interface {
public:
virtual int ge... | 21.066667 | 81 | 0.643987 | lemming-life |
0f683d69652c37a156c1ff7e7d990c8bfb17f3cd | 40,969 | cpp | C++ | examples/renderer/device_ispc/api/ispc_device.cpp | mbdriscoll/embree | 77bb760c005fb7097335da2defe4b4711c15cdd3 | [
"Intel",
"Apache-2.0"
] | 1 | 2016-03-20T23:59:42.000Z | 2016-03-20T23:59:42.000Z | examples/renderer/device_ispc/api/ispc_device.cpp | mbdriscoll/embree | 77bb760c005fb7097335da2defe4b4711c15cdd3 | [
"Intel",
"Apache-2.0"
] | null | null | null | examples/renderer/device_ispc/api/ispc_device.cpp | mbdriscoll/embree | 77bb760c005fb7097335da2defe4b4711c15cdd3 | [
"Intel",
"Apache-2.0"
] | null | null | null | // ======================================================================== //
// Copyright 2009-2013 Intel Corporation //
// //
// Licensed under the Apache License, Version 2.0 (the "License"); //
// y... | 45.070407 | 185 | 0.641802 | mbdriscoll |
0f69e5708189f5495a4218bb1e77140215dbecbc | 1,439 | hpp | C++ | cpp/godot-cpp/include/gen/DampedSpringJoint2D.hpp | GDNative-Gradle/proof-of-concept | 162f467430760cf959f68f1638adc663fd05c5fd | [
"MIT"
] | 1 | 2021-03-16T09:51:00.000Z | 2021-03-16T09:51:00.000Z | cpp/godot-cpp/include/gen/DampedSpringJoint2D.hpp | GDNative-Gradle/proof-of-concept | 162f467430760cf959f68f1638adc663fd05c5fd | [
"MIT"
] | null | null | null | cpp/godot-cpp/include/gen/DampedSpringJoint2D.hpp | GDNative-Gradle/proof-of-concept | 162f467430760cf959f68f1638adc663fd05c5fd | [
"MIT"
] | null | null | null | #ifndef GODOT_CPP_DAMPEDSPRINGJOINT2D_HPP
#define GODOT_CPP_DAMPEDSPRINGJOINT2D_HPP
#include <gdnative_api_struct.gen.h>
#include <stdint.h>
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include "Joint2D.hpp"
namespace godot {
class DampedSpringJoint2D : public Joint2D {
struct ___method_bindings {
go... | 26.163636 | 245 | 0.789437 | GDNative-Gradle |
0f6a22b643f4ad1210e6ebd33e8ff0b62d56941d | 1,479 | cpp | C++ | src/scomp/ast/expression.cpp | agatan/scomp | 24965bf78193a45cea6050e9f7db400c640012b9 | [
"MIT"
] | 1 | 2017-10-11T06:22:01.000Z | 2017-10-11T06:22:01.000Z | src/scomp/ast/expression.cpp | agatan/scomp | 24965bf78193a45cea6050e9f7db400c640012b9 | [
"MIT"
] | null | null | null | src/scomp/ast/expression.cpp | agatan/scomp | 24965bf78193a45cea6050e9f7db400c640012b9 | [
"MIT"
] | null | null | null | #include <scomp/ast/expression.hpp>
#include <boost/format.hpp>
#include <boost/algorithm/string/join.hpp>
#include <boost/range/adaptor/transformed.hpp>
#include <scomp/ast/statement.hpp>
namespace scomp {
namespace ast {
namespace node {
std::string literal_expr::to_string() const {
struct vis... | 29 | 88 | 0.505747 | agatan |
0f6aa6fb5f9ff4af7b3eef098b2a446dad17793f | 2,631 | cpp | C++ | src/py/wrapper/wrapper_37d2da7ae2985fcc8caca8de36d30ce7.cpp | StatisKit/Core | 79d8ec07c203eb7973a6cf482852ddb2e8e1e93e | [
"Apache-2.0"
] | null | null | null | src/py/wrapper/wrapper_37d2da7ae2985fcc8caca8de36d30ce7.cpp | StatisKit/Core | 79d8ec07c203eb7973a6cf482852ddb2e8e1e93e | [
"Apache-2.0"
] | 7 | 2018-03-20T14:23:16.000Z | 2019-04-09T11:57:57.000Z | src/py/wrapper/wrapper_37d2da7ae2985fcc8caca8de36d30ce7.cpp | StatisKit/Core | 79d8ec07c203eb7973a6cf482852ddb2e8e1e93e | [
"Apache-2.0"
] | 7 | 2017-04-28T07:41:01.000Z | 2021-03-15T18:17:20.000Z | #include "_core.h"
double const & (::statiskit::CauchyDistribution::*method_pointer_2c5a042cd22d5c6aa327cda326887f5d)()const= &::statiskit::CauchyDistribution::get_mu;
void (::statiskit::CauchyDistribution::*method_pointer_0b8482697b5d50769ad737ee5e62922f)(double const &)= &::statiskit::CauchyDistribution::set_mu;
do... | 114.391304 | 631 | 0.792474 | StatisKit |
0f6b243297e2dccdb90e39622fe1c93511270781 | 4,454 | cpp | C++ | Luna/app/postEffect/screenCaptureTask.cpp | MetroGirl/Src_LUNA | f59befa48bd79ab3a8bf71e3c5b975c8e76e6b79 | [
"Artistic-2.0"
] | 3 | 2015-04-09T10:09:38.000Z | 2018-08-10T13:15:48.000Z | Luna/app/postEffect/screenCaptureTask.cpp | MetroGirl/Src_LUNA | f59befa48bd79ab3a8bf71e3c5b975c8e76e6b79 | [
"Artistic-2.0"
] | null | null | null | Luna/app/postEffect/screenCaptureTask.cpp | MetroGirl/Src_LUNA | f59befa48bd79ab3a8bf71e3c5b975c8e76e6b79 | [
"Artistic-2.0"
] | null | null | null | #include "stdafx.h"
#include "screenCaptureTask.h"
#include "app/renderer.h"
#include "app/renderPass/postEffectPass.h"
namespace luna{
LUNA_IMPLEMENT_CONCRETE(luna::ScreenCaptureTask);
ScreenCaptureTask::ScreenCaptureTask()
: mResourcePtr(nullptr)
{
}
ScreenCaptureTask::~ScreenCaptureTask()
{
}
bool Scr... | 26.35503 | 156 | 0.69533 | MetroGirl |
0f6bf355518a3d58829f8c1df8efbf1745480abd | 40 | cpp | C++ | Engine/Code/Engine/Core/EngineCommon.cpp | cugone/Abrams2022 | 54efe5fdd7d2d9697f005ee45a171ecea68d0df8 | [
"MIT"
] | 1 | 2020-07-14T06:58:50.000Z | 2020-07-14T06:58:50.000Z | Engine/Code/Engine/Core/EngineCommon.cpp | cugone/Abrams2022 | 54efe5fdd7d2d9697f005ee45a171ecea68d0df8 | [
"MIT"
] | 20 | 2021-11-29T14:09:33.000Z | 2022-03-26T20:12:44.000Z | Engine/Code/Engine/Core/EngineCommon.cpp | cugone/Abrams2022 | 54efe5fdd7d2d9697f005ee45a171ecea68d0df8 | [
"MIT"
] | 2 | 2019-05-01T21:49:33.000Z | 2021-04-01T08:22:21.000Z | #include "Engine/Core/EngineCommon.hpp"
| 20 | 39 | 0.8 | cugone |
0f6d34595c5014f2cf63ea5fc18e9d10e5902e98 | 12,053 | cpp | C++ | lib/var.cpp | scottshotgg/express | b4a2644154a731fc7486f77757deac035b18a8f3 | [
"Apache-2.0"
] | 3 | 2018-08-10T19:41:53.000Z | 2020-02-10T18:18:25.000Z | lib/var.cpp | scottshotgg/express | b4a2644154a731fc7486f77757deac035b18a8f3 | [
"Apache-2.0"
] | null | null | null | lib/var.cpp | scottshotgg/express | b4a2644154a731fc7486f77757deac035b18a8f3 | [
"Apache-2.0"
] | null | null | null | #include <iostream>
#include <list>
#include <map>
#include <string>
using namespace std;
enum varType {
pointerType,
intType,
boolType,
charType,
floatType,
stringType,
structType,
objectType,
arrayType
};
class var {
private:
varType type;
void* data;
public:
void deallocate() {
switch... | 26.374179 | 82 | 0.541608 | scottshotgg |
0f6e1d2ca7e2d3f7cbab6ab2a290237839e9182b | 3,112 | cpp | C++ | Game/Xerces/src/xercesc/dom/impl/DOMNodeVector.cpp | hackerlank/SourceCode | b702c9e0a9ca5d86933f3c827abb02a18ffc9a59 | [
"MIT"
] | 4 | 2021-07-31T13:56:01.000Z | 2021-11-13T02:55:10.000Z | Game/Xerces/src/xercesc/dom/impl/DOMNodeVector.cpp | shacojx/SourceCodeGameTLBB | e3cea615b06761c2098a05427a5f41c236b71bf7 | [
"MIT"
] | null | null | null | Game/Xerces/src/xercesc/dom/impl/DOMNodeVector.cpp | shacojx/SourceCodeGameTLBB | e3cea615b06761c2098a05427a5f41c236b71bf7 | [
"MIT"
] | 7 | 2021-08-31T14:34:23.000Z | 2022-01-19T08:25:58.000Z | /*
* Copyright 2001-2002,2004 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requir... | 24.503937 | 112 | 0.67063 | hackerlank |
0f6e546f36dc8c0ca1221eb76e3f814a8d3a9091 | 1,403 | cpp | C++ | tests/test_serialize_file.cpp | xaxousis/toml11 | d82814fc86c4afd8ad013239322f83c4788e469f | [
"MIT"
] | null | null | null | tests/test_serialize_file.cpp | xaxousis/toml11 | d82814fc86c4afd8ad013239322f83c4788e469f | [
"MIT"
] | null | null | null | tests/test_serialize_file.cpp | xaxousis/toml11 | d82814fc86c4afd8ad013239322f83c4788e469f | [
"MIT"
] | null | null | null | #define BOOST_TEST_MODULE "test_serialize_file"
#ifdef UNITTEST_FRAMEWORK_LIBRARY_EXIST
#include <boost/test/unit_test.hpp>
#else
#define BOOST_TEST_NO_LIB
#include <boost/test/included/unit_test.hpp>
#endif
#include <toml.hpp>
#include <iostream>
#include <fstream>
BOOST_AUTO_TEST_CASE(test_example)
{
const auto... | 25.509091 | 69 | 0.617249 | xaxousis |
0f6e7a342d4daa7b6da186ebc6910708efdbc484 | 1,034 | cpp | C++ | Mother Vertex - GFG/mother-vertex.cpp | champmaniac/LeetCode | 65810e0123e0ceaefb76d0a223436d1525dac0d4 | [
"MIT"
] | 1 | 2022-02-27T09:01:07.000Z | 2022-02-27T09:01:07.000Z | Mother Vertex - GFG/mother-vertex.cpp | champmaniac/LeetCode | 65810e0123e0ceaefb76d0a223436d1525dac0d4 | [
"MIT"
] | null | null | null | Mother Vertex - GFG/mother-vertex.cpp | champmaniac/LeetCode | 65810e0123e0ceaefb76d0a223436d1525dac0d4 | [
"MIT"
] | null | null | null | // { Driver Code Starts
#include<bits/stdc++.h>
using namespace std;
// } Driver Code Ends
class Solution
{
public:
//Function to find a Mother Vertex in the Graph.
void dfs(int s, vector<int>adj[], bool visit[], int &count){
visit[s] = true;
count++;
for(int v : adj[s]){
... | 18.464286 | 64 | 0.502901 | champmaniac |
0f6e8036d5b28b84f20123b4952bc7f807d7966d | 320 | cpp | C++ | abc_172/tempCodeRunnerFile.cpp | dashimaki360/atcoder | 1462150d59d50f270145703df579dba8c306376c | [
"MIT"
] | null | null | null | abc_172/tempCodeRunnerFile.cpp | dashimaki360/atcoder | 1462150d59d50f270145703df579dba8c306376c | [
"MIT"
] | null | null | null | abc_172/tempCodeRunnerFile.cpp | dashimaki360/atcoder | 1462150d59d50f270145703df579dba8c306376c | [
"MIT"
] | null | null | null | int main() {
// int n, m;
// cin >> n >> m;
// mint sum = 0;
// rep(k,n+1){
// mint tmp = comb(m,k);
// tmp *= comb.p(m-k, n-k);
// if(k&1) sum -= tmp;
// else sum += tmp;
// // cout << "tmp " << tmp.val() << endl;
// }
// sum *= comb.p(m,n);
// cout << sum << endl;
// return 0;
// } | 21.333333 | 46 | 0.378125 | dashimaki360 |
0f6f5108498ccb0b3000d9e64093d7c2f7e5623c | 7,783 | cpp | C++ | org/ortc/RTCSrtpSdesTransport.cpp | ortclib/ortclib-uwp | 7bf18f5a780a05ac6df7de5c30306699f634829b | [
"BSD-2-Clause"
] | 3 | 2017-03-02T00:56:18.000Z | 2019-07-24T09:30:13.000Z | org/ortc/RTCSrtpSdesTransport.cpp | ortclib/ortclib-uwp | 7bf18f5a780a05ac6df7de5c30306699f634829b | [
"BSD-2-Clause"
] | 3 | 2018-08-07T12:58:13.000Z | 2019-02-08T21:33:12.000Z | org/ortc/RTCSrtpSdesTransport.cpp | ortclib/ortclib-uwp | 7bf18f5a780a05ac6df7de5c30306699f634829b | [
"BSD-2-Clause"
] | 7 | 2016-10-13T16:14:39.000Z | 2018-10-19T02:30:30.000Z | #include "pch.h"
#include <org/ortc/RTCSrtpSdesTransport.h>
#include <org/ortc/RTCIceTransport.h>
#include <org/ortc/helpers.h>
#include <org/ortc/Error.h>
#include <ortc/services/IHelper.h>
#include <zsLib/SafeInt.h>
using Platform::Collections::Vector;
using Platform::Array;
using Platform::Object;
using namespa... | 33.403433 | 173 | 0.663369 | ortclib |