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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4351ec0a92db20f701a9f47d4212807f2f44f2c9 | 4,112 | cpp | C++ | igl/copyleft/cgal/submesh_aabb_tree.cpp | aviadtzemah/animation2 | 9a3f980fbe27672fe71f8f61f73b5713f2af5089 | [
"Apache-2.0"
] | 2,392 | 2016-12-17T14:14:12.000Z | 2022-03-30T19:40:40.000Z | igl/copyleft/cgal/submesh_aabb_tree.cpp | aviadtzemah/animation2 | 9a3f980fbe27672fe71f8f61f73b5713f2af5089 | [
"Apache-2.0"
] | 106 | 2018-04-19T17:47:31.000Z | 2022-03-01T19:44:11.000Z | igl/copyleft/cgal/submesh_aabb_tree.cpp | aviadtzemah/animation2 | 9a3f980fbe27672fe71f8f61f73b5713f2af5089 | [
"Apache-2.0"
] | 184 | 2017-11-15T09:55:37.000Z | 2022-02-21T16:30:46.000Z | // This file is part of libigl, a simple c++ geometry processing library.
//
// Copyright (C) 2016 Alec Jacobson
//
// 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/.... | 69.694915 | 785 | 0.675584 | aviadtzemah |
4354364c4d8a792d07b3e22c6ea3d16bdb2c909b | 1,020 | cpp | C++ | src/main.cpp | arbitrary-dev/home-slave | f3f3deefc2d743f7d0aff2ac591079f430ba9662 | [
"WTFPL"
] | 2 | 2017-09-04T19:32:25.000Z | 2017-09-04T19:32:34.000Z | src/main.cpp | arbitrary-dev/home-slave | f3f3deefc2d743f7d0aff2ac591079f430ba9662 | [
"WTFPL"
] | null | null | null | src/main.cpp | arbitrary-dev/home-slave | f3f3deefc2d743f7d0aff2ac591079f430ba9662 | [
"WTFPL"
] | null | null | null | #include "mainwindow.h"
#include <QApplication>
#include <QtSql>
#include <QDebug>
void initDb();
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
initDb();
MainWindow w;
w.show();
return a.exec();
}
void initDb()
{
// TODO !! check for DB existence, initialize tables otherwi... | 20 | 75 | 0.54902 | arbitrary-dev |
4356f340f496462a0aa2f15e8e2fe7ad79267eb0 | 990 | hpp | C++ | include/RadonFramework/Memory/PointerID.hpp | tak2004/RadonFramework | e916627a54a80fac93778d5010c50c09b112259b | [
"Apache-2.0"
] | 3 | 2015-09-15T06:57:50.000Z | 2021-03-16T19:05:02.000Z | include/RadonFramework/Memory/PointerID.hpp | tak2004/RadonFramework | e916627a54a80fac93778d5010c50c09b112259b | [
"Apache-2.0"
] | 2 | 2015-09-26T12:41:10.000Z | 2015-12-08T08:41:37.000Z | include/RadonFramework/Memory/PointerID.hpp | tak2004/RadonFramework | e916627a54a80fac93778d5010c50c09b112259b | [
"Apache-2.0"
] | 1 | 2015-07-09T02:56:34.000Z | 2015-07-09T02:56:34.000Z | #ifndef RF_POINTERID_HPP
#define RF_POINTERID_HPP
#if _MSC_VER > 1000
#pragma once
#endif
#include <RadonFramework/Core/Types/UInt32.hpp>
#include <RadonFramework/Core/Types/UInt64.hpp>
namespace RadonFramework::Memory
{
using PtrID = RF_Type::UInt64;
using PointerIDHolder = union {
PtrID ID;
void* Ptr;
struct... | 18.333333 | 50 | 0.741414 | tak2004 |
435864893630beac63bda28a6f3a2ea320a5b4b5 | 3,280 | cpp | C++ | vbox/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsPortForwardingDlg.cpp | Nurzamal/rest_api_docker | a9cc01dfc235467d490d9663755b33ef6990bdd8 | [
"MIT"
] | null | null | null | vbox/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsPortForwardingDlg.cpp | Nurzamal/rest_api_docker | a9cc01dfc235467d490d9663755b33ef6990bdd8 | [
"MIT"
] | null | null | null | vbox/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsPortForwardingDlg.cpp | Nurzamal/rest_api_docker | a9cc01dfc235467d490d9663755b33ef6990bdd8 | [
"MIT"
] | null | null | null | /* $Id: UIMachineSettingsPortForwardingDlg.cpp 71027 2018-02-15 14:33:48Z vboxsync $ */
/** @file
* VBox Qt GUI - UIMachineSettingsPortForwardingDlg class implementation.
*/
/*
* Copyright (C) 2010-2017 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://w... | 32.156863 | 110 | 0.669817 | Nurzamal |
4358ad8fccc94ca4af08bc092d0c0a0f2863e14e | 2,664 | cpp | C++ | level_zero/tools/source/metrics/linux/os_metric_enumeration_imp_linux.cpp | troels/compute-runtime | 3269e719a3ee7bcd97c50ec2cfe78fc8674adec0 | [
"Intel",
"MIT"
] | null | null | null | level_zero/tools/source/metrics/linux/os_metric_enumeration_imp_linux.cpp | troels/compute-runtime | 3269e719a3ee7bcd97c50ec2cfe78fc8674adec0 | [
"Intel",
"MIT"
] | null | null | null | level_zero/tools/source/metrics/linux/os_metric_enumeration_imp_linux.cpp | troels/compute-runtime | 3269e719a3ee7bcd97c50ec2cfe78fc8674adec0 | [
"Intel",
"MIT"
] | null | null | null | /*
* Copyright (C) 2020-2021 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "shared/source/os_interface/linux/drm_neo.h"
#include "shared/source/os_interface/linux/sys_calls.h"
#include "shared/source/os_interface/os_interface.h"
#include "level_zero/tools/source/metrics/metric_enumeration_imp.... | 33.3 | 116 | 0.700826 | troels |
43596185d0e8201a0f441a7b9fa9d1628810a503 | 10,751 | cpp | C++ | src/MessageManager.cpp | wilseypa/warped | 8842cf88b11213b6b69e53de5e969c4e3c2c8bd5 | [
"MIT"
] | 12 | 2015-03-13T09:58:25.000Z | 2021-09-23T11:48:42.000Z | src/MessageManager.cpp | wilseypa/warped | 8842cf88b11213b6b69e53de5e969c4e3c2c8bd5 | [
"MIT"
] | 1 | 2015-12-09T05:21:44.000Z | 2015-12-17T19:37:12.000Z | src/MessageManager.cpp | wilseypa/warped | 8842cf88b11213b6b69e53de5e969c4e3c2c8bd5 | [
"MIT"
] | null | null | null |
#include <stddef.h> // for NULL
#include <iostream> // for operator<<, ostream, cerr, etc
#include <string> // for operator==, basic_string, etc
#include "CommunicationManager.h" // for CommunicationManager
#include "KernelMessage.h" // ... | 24.489749 | 88 | 0.642266 | wilseypa |
4359e751c877cdede09f85372d15542aa294890f | 17,573 | hh | C++ | src/c++/include/alignment/Cigar.hh | Illumina/Isaac4 | 0924fba8b467868da92e1c48323b15d7cbca17dd | [
"BSD-3-Clause"
] | 13 | 2018-02-09T22:59:39.000Z | 2021-11-29T06:33:22.000Z | src/c++/include/alignment/Cigar.hh | Illumina/Isaac4 | 0924fba8b467868da92e1c48323b15d7cbca17dd | [
"BSD-3-Clause"
] | 17 | 2018-01-26T11:36:07.000Z | 2022-02-03T18:48:43.000Z | src/c++/include/alignment/Cigar.hh | Illumina/Isaac4 | 0924fba8b467868da92e1c48323b15d7cbca17dd | [
"BSD-3-Clause"
] | 4 | 2018-10-19T20:00:00.000Z | 2020-10-29T14:44:06.000Z | /**
** Isaac Genome Alignment Software
** Copyright (c) 2010-2017 Illumina, Inc.
** All rights reserved.
**
** This software is provided under the terms and conditions of the
** GNU GENERAL PUBLIC LICENSE Version 3
**
** You should have received a copy of the GNU GENERAL PUBLIC LICENSE Version 3
** along with ... | 33.729367 | 172 | 0.5958 | Illumina |
435a3fbfef3478542363abfb13e93de86e7595c2 | 24,853 | cpp | C++ | test/tools/almath_test.cpp | UCCS-Social-Robotics/libalmath | 608475eced68452eb19ef09c46e1916ac597ed88 | [
"BSD-3-Clause"
] | 4 | 2016-03-14T20:34:05.000Z | 2021-02-14T05:53:00.000Z | test/tools/almath_test.cpp | UCCS-Social-Robotics/libalmath | 608475eced68452eb19ef09c46e1916ac597ed88 | [
"BSD-3-Clause"
] | 1 | 2021-02-14T05:52:04.000Z | 2022-03-16T11:18:20.000Z | test/tools/almath_test.cpp | UCCS-Social-Robotics/libalmath | 608475eced68452eb19ef09c46e1916ac597ed88 | [
"BSD-3-Clause"
] | 9 | 2017-07-11T16:01:27.000Z | 2022-02-13T20:41:05.000Z | /*
* Copyright (c) 2012 Aldebaran Robotics. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the COPYING file.
*/
#include <almath/tools/almath.h>
#include <almath/tools/altrigonometry.h>
#include <almath/tools/almathio.h>
#include <almath/tools/altransformhe... | 33.315013 | 98 | 0.660041 | UCCS-Social-Robotics |
435c602d991cf6408bff6ea148b1a47b1bfbccee | 60 | cpp | C++ | build/sharedLib/mainLoad.cpp | NoCodeProgram/ModernCPP | ac7b05a4d720678e68878d70c0a7a69f56885d00 | [
"MIT"
] | 5 | 2020-08-17T12:14:44.000Z | 2022-01-21T06:57:56.000Z | build/sharedLib/mainLoad.cpp | NoCodeProgram/ModernCPP | ac7b05a4d720678e68878d70c0a7a69f56885d00 | [
"MIT"
] | null | null | null | build/sharedLib/mainLoad.cpp | NoCodeProgram/ModernCPP | ac7b05a4d720678e68878d70c0a7a69f56885d00 | [
"MIT"
] | 2 | 2022-01-18T03:20:51.000Z | 2022-02-11T14:50:19.000Z | void foo(); //declaration
int main()
{
foo();
return 0;
} | 8.571429 | 25 | 0.583333 | NoCodeProgram |
435c9eea4d91c7ffabdc068bd936e5411a1446a0 | 1,077 | cc | C++ | onnxruntime/core/providers/tensorrt/tensorrt_provider_factory.cc | dahburj/onnxruntime | cd5f74be6250a5a672decc1fd234e200dac36878 | [
"MIT"
] | 2 | 2019-07-30T10:37:33.000Z | 2021-01-05T21:12:29.000Z | onnxruntime/core/providers/tensorrt/tensorrt_provider_factory.cc | dahburj/onnxruntime | cd5f74be6250a5a672decc1fd234e200dac36878 | [
"MIT"
] | 8 | 2019-10-08T14:20:49.000Z | 2021-04-19T16:56:52.000Z | onnxruntime/core/providers/tensorrt/tensorrt_provider_factory.cc | dahburj/onnxruntime | cd5f74be6250a5a672decc1fd234e200dac36878 | [
"MIT"
] | 3 | 2019-10-03T16:23:35.000Z | 2021-04-13T12:00:20.000Z | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#include "core/providers/tensorrt/tensorrt_provider_factory.h"
#include <atomic>
#include "tensorrt_execution_provider.h"
#include "core/session/abi_session_options_impl.h"
using namespace onnxruntime;
namespace onnxrunti... | 31.676471 | 105 | 0.818013 | dahburj |
435d48631cdc82fb11740cdf32032fddf60b1e4a | 238 | cpp | C++ | day-12-7-1.cpp | duasong111/c_lang_learn | 4a939204a9d12a1fd0a6ca4ff36ed3bfdfb97482 | [
"BSD-2-Clause"
] | null | null | null | day-12-7-1.cpp | duasong111/c_lang_learn | 4a939204a9d12a1fd0a6ca4ff36ed3bfdfb97482 | [
"BSD-2-Clause"
] | null | null | null | day-12-7-1.cpp | duasong111/c_lang_learn | 4a939204a9d12a1fd0a6ca4ff36ed3bfdfb97482 | [
"BSD-2-Clause"
] | null | null | null | //对于printf,其实还有更牛逼的用法,拿那个输出举例
#include<stdio.h>
int main(void)
{
int i;
int x;
printf("你想有几行呢?");
scanf_s("%d", &x);
for (i = 1; i <= x; i++)
printf("%*d\n", i, i % 10);
//超级喜欢这个%*d,i,i%10; 直接省略了我两行代码
return 0;
} | 18.307692 | 35 | 0.529412 | duasong111 |
435e053da63bd810319a98e028d85bface397ba7 | 3,473 | cpp | C++ | test/obfuscation-e2e/ProguardObfuscationTest.cpp | jimmycFB/redex | 6d04128c055f957eebcd1fb999f4160d7606c1a4 | [
"MIT"
] | 6,059 | 2016-04-12T21:07:05.000Z | 2022-03-31T16:31:48.000Z | test/obfuscation-e2e/ProguardObfuscationTest.cpp | jimmycFB/redex | 6d04128c055f957eebcd1fb999f4160d7606c1a4 | [
"MIT"
] | 638 | 2016-04-12T22:45:48.000Z | 2022-03-29T21:50:09.000Z | test/obfuscation-e2e/ProguardObfuscationTest.cpp | jimmycFB/redex | 6d04128c055f957eebcd1fb999f4160d7606c1a4 | [
"MIT"
] | 704 | 2016-04-12T23:47:01.000Z | 2022-03-30T09:44:56.000Z | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "ProguardObfuscationTest.h"
#include "Show.h"
#include "Walkers.h"
ProguardObfuscationTest::ProguardObfuscationTest(const... | 35.804124 | 79 | 0.671466 | jimmycFB |
cb1aa081594a50306820c3fb1a09db895c8cc877 | 2,034 | cc | C++ | Read Only/gdb-7.12.1/gdb/testsuite/gdb.cp/non-trivial-retval.cc | samyvic/OS-Project | 1622bc1641876584964effd91d65ef02e92728e1 | [
"Apache-2.0"
] | null | null | null | Read Only/gdb-7.12.1/gdb/testsuite/gdb.cp/non-trivial-retval.cc | samyvic/OS-Project | 1622bc1641876584964effd91d65ef02e92728e1 | [
"Apache-2.0"
] | null | null | null | Read Only/gdb-7.12.1/gdb/testsuite/gdb.cp/non-trivial-retval.cc | samyvic/OS-Project | 1622bc1641876584964effd91d65ef02e92728e1 | [
"Apache-2.0"
] | null | null | null | /* This testcase is part of GDB, the GNU debugger.
Copyright 2014-2017 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
... | 13.294118 | 76 | 0.613569 | samyvic |
cb1f7a7c44a2ea331c78925fa71f73d8e19b1989 | 16,874 | cpp | C++ | tesseract_ros_examples/src/car_seat_example.cpp | cbw36/tesseract_ros | a430b59ef95220232628e4e2266f0a31e82134de | [
"Apache-2.0",
"BSD-2-Clause"
] | 1 | 2020-04-02T22:15:06.000Z | 2020-04-02T22:15:06.000Z | tesseract_ros_examples/src/car_seat_example.cpp | cbw36/tesseract_ros | a430b59ef95220232628e4e2266f0a31e82134de | [
"Apache-2.0",
"BSD-2-Clause"
] | null | null | null | tesseract_ros_examples/src/car_seat_example.cpp | cbw36/tesseract_ros | a430b59ef95220232628e4e2266f0a31e82134de | [
"Apache-2.0",
"BSD-2-Clause"
] | null | null | null | /**
* @file car_seat_example.cpp
* @brief Car seat example implementation
*
* @author Levi Armstrong
* @date July 22, 2019
* @version TODO
* @bug No known bugs
*
* @copyright Copyright (c) 2017, Southwest Research Institute
*
* @par License
* Software License Agreement (Apache License)
* @par
* Licensed u... | 40.17619 | 119 | 0.697523 | cbw36 |
cb233dcaf44452982b7c4027090c202c6013b585 | 16,107 | cpp | C++ | src/Magnum/GL/Test/AbstractTextureGLTest.cpp | pinojojo/magnum | aef0ee4bfba8dd0e6b23bee4e170faf66c3e0e96 | [
"MIT"
] | 1 | 2022-02-18T06:19:35.000Z | 2022-02-18T06:19:35.000Z | src/Magnum/GL/Test/AbstractTextureGLTest.cpp | pinojojo/magnum | aef0ee4bfba8dd0e6b23bee4e170faf66c3e0e96 | [
"MIT"
] | null | null | null | src/Magnum/GL/Test/AbstractTextureGLTest.cpp | pinojojo/magnum | aef0ee4bfba8dd0e6b23bee4e170faf66c3e0e96 | [
"MIT"
] | null | null | null | /*
This file is part of Magnum.
Copyright © 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019,
2020, 2021, 2022 Vladimír Vondruš <mosra@centrum.cz>
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files ... | 38.533493 | 194 | 0.729124 | pinojojo |
cb23c86660a5e07a0590c6395424b3346265745b | 9,404 | cpp | C++ | src/ssa/ssa_dereference.cpp | KentrilDespair/2ls | 29b5de1abe0abee3ea07109deb9430c45756831d | [
"BSD-4-Clause"
] | null | null | null | src/ssa/ssa_dereference.cpp | KentrilDespair/2ls | 29b5de1abe0abee3ea07109deb9430c45756831d | [
"BSD-4-Clause"
] | null | null | null | src/ssa/ssa_dereference.cpp | KentrilDespair/2ls | 29b5de1abe0abee3ea07109deb9430c45756831d | [
"BSD-4-Clause"
] | null | null | null | /*******************************************************************\
Module: Aliasing Decision
Author: Daniel Kroening, kroening@kroening.com
\*******************************************************************/
/// \file
/// Aliasing Decision
// #define DEBUG
#ifdef DEBUG
#include <iostream>
#include <langapi/l... | 24.747368 | 79 | 0.630264 | KentrilDespair |
cb2457a04ff22828416c82770410e168de6c61ba | 477 | cpp | C++ | artifact/storm/src/storm-dft/storage/dft/elements/BEConst.cpp | glatteis/tacas21-artifact | 30b4f522bd3bdb4bebccbfae93f19851084a3db5 | [
"MIT"
] | null | null | null | artifact/storm/src/storm-dft/storage/dft/elements/BEConst.cpp | glatteis/tacas21-artifact | 30b4f522bd3bdb4bebccbfae93f19851084a3db5 | [
"MIT"
] | null | null | null | artifact/storm/src/storm-dft/storage/dft/elements/BEConst.cpp | glatteis/tacas21-artifact | 30b4f522bd3bdb4bebccbfae93f19851084a3db5 | [
"MIT"
] | 1 | 2022-02-05T12:39:53.000Z | 2022-02-05T12:39:53.000Z | #include "BEConst.h"
namespace storm {
namespace storage {
template <typename ValueType>
ValueType BEConst<ValueType>::getUnreliability(ValueType time) const {
return failed() ? storm::utility::one<ValueType>() : storm::utility::zero<ValueType>();
}
// Explicitly insta... | 28.058824 | 99 | 0.651992 | glatteis |
cb24890ee7eeea3fa935678ae2c809cc47e72f42 | 7,259 | cpp | C++ | TimeSync/TimeSync.cpp | rjpdasilva/ThunderNanoServices | 23a5bf2fdab09135a7da080c1a5195f4257e5b98 | [
"BSD-2-Clause"
] | null | null | null | TimeSync/TimeSync.cpp | rjpdasilva/ThunderNanoServices | 23a5bf2fdab09135a7da080c1a5195f4257e5b98 | [
"BSD-2-Clause"
] | null | null | null | TimeSync/TimeSync.cpp | rjpdasilva/ThunderNanoServices | 23a5bf2fdab09135a7da080c1a5195f4257e5b98 | [
"BSD-2-Clause"
] | null | null | null | /*
* If not stated otherwise in this file or this component's LICENSE file the
* following copyright and licenses apply:
*
* Copyright 2020 RDK Management
*
* 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 cop... | 34.402844 | 114 | 0.571429 | rjpdasilva |
cb276b14a7363da0a429669b43f547ba839a74b9 | 3,269 | cpp | C++ | AssortedWidgets/MenuBar.cpp | Bot-Labs/AssortedWidgets | 298567b8f069580205e309979bc35ec063d09f51 | [
"MIT"
] | 107 | 2016-03-13T23:45:48.000Z | 2022-02-13T21:17:44.000Z | AssortedWidgets/MenuBar.cpp | Bot-Labs/AssortedWidgets | 298567b8f069580205e309979bc35ec063d09f51 | [
"MIT"
] | 2 | 2019-10-12T12:19:21.000Z | 2022-01-04T10:42:18.000Z | AssortedWidgets/MenuBar.cpp | Bot-Labs/AssortedWidgets | 298567b8f069580205e309979bc35ec063d09f51 | [
"MIT"
] | 29 | 2017-06-04T15:04:30.000Z | 2021-11-25T14:36:48.000Z | #include "MenuBar.h"
#include "Menu.h"
#include "ThemeEngine.h"
namespace AssortedWidgets
{
namespace Widgets
{
MenuBar::~MenuBar(void)
{
}
void MenuBar::setExpand(Menu *_expandMenu)
{
if(m_expandMenu)
{
m_expandMenu->shrink();
}
m_expandMenu=_expandMenu;
... | 23.35 | 92 | 0.552463 | Bot-Labs |
cb298a36def0ca58d98aa95464ed05bc393f1953 | 6,883 | cpp | C++ | audio_source/audio_source.cpp | OpenHarmony-mirror/multimedia_frameworks_audio_lite | 056eeab53a83bb5cda14e11798dfe21de1b70161 | [
"Apache-2.0"
] | null | null | null | audio_source/audio_source.cpp | OpenHarmony-mirror/multimedia_frameworks_audio_lite | 056eeab53a83bb5cda14e11798dfe21de1b70161 | [
"Apache-2.0"
] | null | null | null | audio_source/audio_source.cpp | OpenHarmony-mirror/multimedia_frameworks_audio_lite | 056eeab53a83bb5cda14e11798dfe21de1b70161 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2020 Huawei Device 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 applicable law ... | 32.163551 | 115 | 0.642743 | OpenHarmony-mirror |
cb2a7726700111d0e24f206a1e624a9f65bd780f | 2,537 | cpp | C++ | source/Structure/custom_plugins/plugins/pertubation/pertubation.cpp | Guiraffo/ProVANT-Simulator | 568c6f1688525fa64ac0193a6734563a5b95c997 | [
"MIT"
] | 7 | 2020-05-17T21:49:00.000Z | 2022-03-25T12:32:24.000Z | source/Structure/custom_plugins/plugins/pertubation/pertubation.cpp | Guiraffo/ProVANT-Simulator | 568c6f1688525fa64ac0193a6734563a5b95c997 | [
"MIT"
] | null | null | null | source/Structure/custom_plugins/plugins/pertubation/pertubation.cpp | Guiraffo/ProVANT-Simulator | 568c6f1688525fa64ac0193a6734563a5b95c997 | [
"MIT"
] | 2 | 2020-12-20T02:10:37.000Z | 2021-01-24T10:11:49.000Z | /*
* File: pertubation.cpp
* Author: Arthur Viana Lara
* Project: ProVANT
* Company: Federal University of Minas Gerais
* Version: 1.0
* Date: 29/01/18
* Description: This library is responsable to implement a plugin to simulate a force pertubation.
*/
#include <pertubation.h>
namespace gazebo
{
// constructor
pe... | 20.296 | 102 | 0.642885 | Guiraffo |
cb2ae40322d5bd895b23a3e8780fe1ad9bb1094a | 402 | cpp | C++ | Jerboa/src/Jerboa/Core/EventObserver.cpp | GilbertNordhammar/Newt | 5e3c04cc8e11dfc64b43458d060d037c2ecff062 | [
"Apache-2.0"
] | null | null | null | Jerboa/src/Jerboa/Core/EventObserver.cpp | GilbertNordhammar/Newt | 5e3c04cc8e11dfc64b43458d060d037c2ecff062 | [
"Apache-2.0"
] | null | null | null | Jerboa/src/Jerboa/Core/EventObserver.cpp | GilbertNordhammar/Newt | 5e3c04cc8e11dfc64b43458d060d037c2ecff062 | [
"Apache-2.0"
] | null | null | null | #include "jerboa-pch.h"
#include "EventObserver.h"
namespace Jerboa {
EventObserver::EventObserver(EventBus* eventBus, EventCallback callback, std::type_index eventIndex)
: EventObserverBase(eventBus), mCallback(callback), mEventIndex(eventIndex) {
Subscribe(mCallback, mEventIndex);
}
Even... | 30.923077 | 104 | 0.716418 | GilbertNordhammar |
cb2b2e1fb776bdcb2f9af7661fd4cd7e4bc4e35e | 4,460 | cpp | C++ | aws-cpp-sdk-s3-crt/source/model/RestoreRequest.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-s3-crt/source/model/RestoreRequest.cpp | perfectrecall/aws-sdk-cpp | fb8cbebf2fd62720b65aeff841ad2950e73d8ebd | [
"Apache-2.0"
] | 1 | 2022-01-03T23:59:37.000Z | 2022-01-03T23:59:37.000Z | aws-cpp-sdk-s3-crt/source/model/RestoreRequest.cpp | ravindra-wagh/aws-sdk-cpp | 7d5ff01b3c3b872f31ca98fb4ce868cd01e97696 | [
"Apache-2.0"
] | 1 | 2021-11-09T12:02:58.000Z | 2021-11-09T12:02:58.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/s3-crt/model/RestoreRequest.h>
#include <aws/core/utils/xml/XmlSerializer.h>
#include <aws/core/utils/StringUtils.h>
#include <aws/core/utils/memory/stl/AWSStringStream.h>
#include <uti... | 28.407643 | 164 | 0.731839 | perfectrecall |
cb2beabf9807ca913cb6a763e4d5909633b469b3 | 21,418 | cpp | C++ | src/msa_prm.cpp | filipecosta90/im2model | ed43ed236c5a62b3af095fb949c517f680986ac5 | [
"Apache-2.0"
] | 7 | 2017-05-30T12:30:07.000Z | 2017-09-07T08:35:26.000Z | src/msa_prm.cpp | filipecosta90/im2model_app | ed43ed236c5a62b3af095fb949c517f680986ac5 | [
"Apache-2.0"
] | null | null | null | src/msa_prm.cpp | filipecosta90/im2model_app | ed43ed236c5a62b3af095fb949c517f680986ac5 | [
"Apache-2.0"
] | null | null | null | /*
* This file is subject to the terms and conditions defined in
* file 'LICENSE', which is part of this source code package.
*
* Partialy financiated as part of the protocol between UTAustin I Portugal - UTA-P.
* [2017] - [2018] University of Minho, Filipe Costa Oliveira
* All Rights Reserved.
*/
#include "ms... | 39.299083 | 193 | 0.676487 | filipecosta90 |
cb2c0501cef23216487726082b85ef75957f41d3 | 1,364 | hpp | C++ | libs/move/example/copymovable.hpp | ballisticwhisper/boost | f72119ab640b564c4b983bd457457046b52af9ee | [
"BSL-1.0"
] | 11 | 2016-04-12T16:29:29.000Z | 2021-06-28T11:01:57.000Z | libs/move/example/copymovable.hpp | ballisticwhisper/boost | f72119ab640b564c4b983bd457457046b52af9ee | [
"BSL-1.0"
] | 3 | 2018-10-31T19:35:14.000Z | 2019-06-04T17:11:27.000Z | libs/move/example/copymovable.hpp | ballisticwhisper/boost | f72119ab640b564c4b983bd457457046b52af9ee | [
"BSL-1.0"
] | 9 | 2015-09-09T02:38:32.000Z | 2021-01-30T00:24:24.000Z | //////////////////////////////////////////////////////////////////////////////
//
// (C) Copyright Ion Gaztanaga 2009.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
// See http://www.boost.org/libs/move for ... | 26.745098 | 78 | 0.629032 | ballisticwhisper |
cb2ce7e35ca7ee49824f57678bfdfd445579e578 | 1,217 | cpp | C++ | src/vendor/mariadb-10.6.7/storage/mroonga/lib/mrn_debug_column_access.cpp | zettadb/zettalib | 3d5f96dc9e3e4aa255f4e6105489758944d37cc4 | [
"Apache-2.0"
] | null | null | null | src/vendor/mariadb-10.6.7/storage/mroonga/lib/mrn_debug_column_access.cpp | zettadb/zettalib | 3d5f96dc9e3e4aa255f4e6105489758944d37cc4 | [
"Apache-2.0"
] | null | null | null | src/vendor/mariadb-10.6.7/storage/mroonga/lib/mrn_debug_column_access.cpp | zettadb/zettalib | 3d5f96dc9e3e4aa255f4e6105489758944d37cc4 | [
"Apache-2.0"
] | 2 | 2022-02-27T14:00:01.000Z | 2022-03-31T06:24:22.000Z | /* -*- c-basic-offset: 2 -*- */
/*
Copyright(C) 2012 Kouhei Sutou <kou@clear-code.com>
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 ... | 32.891892 | 80 | 0.749384 | zettadb |
cb2fe6fcb75350618eef157089e49f7ddabea2ff | 1,835 | cpp | C++ | src/solutions/490.cpp | bshankar/euler | c866a661a94d15d3744c74d85149534efac2ca23 | [
"MIT"
] | null | null | null | src/solutions/490.cpp | bshankar/euler | c866a661a94d15d3744c74d85149534efac2ca23 | [
"MIT"
] | null | null | null | src/solutions/490.cpp | bshankar/euler | c866a661a94d15d3744c74d85149534efac2ca23 | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
#include <cstdlib>
using namespace std;
template <class T>
class F {
public:
F(T n, T r) {
// initialize some values
v.resize(n);
perm.resize(n);
v[0] = true;
perm[0] = 1;
v[n-1] = true;
perm[n-1] = n;
count1 = c... | 22.654321 | 64 | 0.346049 | bshankar |
cb31012ac2fe8d0796f522ac41df7a6dd5d6a6ef | 3,307 | cpp | C++ | folly/futures/Barrier.cpp | foreverhy/folly | 8d141fc119bbb2f703d145c1a7cb70e7f6ce282f | [
"Apache-2.0"
] | 2 | 2021-06-29T13:42:22.000Z | 2021-09-06T10:57:34.000Z | folly/futures/Barrier.cpp | foreverhy/folly | 8d141fc119bbb2f703d145c1a7cb70e7f6ce282f | [
"Apache-2.0"
] | null | null | null | folly/futures/Barrier.cpp | foreverhy/folly | 8d141fc119bbb2f703d145c1a7cb70e7f6ce282f | [
"Apache-2.0"
] | 5 | 2021-06-29T13:42:26.000Z | 2022-02-08T02:41:34.000Z | /*
* Copyright 2015-present Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... | 29.792793 | 80 | 0.658905 | foreverhy |
cb314041526d007c3c2287374bdb1cc815b2485a | 210 | cpp | C++ | depuracion/source/IDepurable.cpp | miglesias91/scraping | 4ac5a81ff5172afce3915db7a49dd4cc7845ac2a | [
"Apache-2.0"
] | null | null | null | depuracion/source/IDepurable.cpp | miglesias91/scraping | 4ac5a81ff5172afce3915db7a49dd4cc7845ac2a | [
"Apache-2.0"
] | 18 | 2018-02-12T01:11:17.000Z | 2018-05-10T17:15:02.000Z | depuracion/source/IDepurable.cpp | miglesias91/scraping | 4ac5a81ff5172afce3915db7a49dd4cc7845ac2a | [
"Apache-2.0"
] | null | null | null | #include <depuracion/include/IDepurable.h>
using namespace scraping::depuracion;
IDepurable::IDepurable()
{
}
IDepurable::~IDepurable()
{
}
// GETTERS
// SETTERS
// METODOS
// CONSULTAS | 11.052632 | 43 | 0.652381 | miglesias91 |
cb31f4d1d3c9e6ce1a3f5c52005e5aaa927486fe | 9,779 | cc | C++ | src/tint/writer/hlsl/generator_impl_sanitizer_test.cc | hexops/dawn | 36cc72ad1c7b0c0a92be4754b95b1441850533b0 | [
"Apache-2.0"
] | 9 | 2021-11-05T11:08:14.000Z | 2022-03-18T05:14:34.000Z | src/tint/writer/hlsl/generator_impl_sanitizer_test.cc | hexops/dawn | 36cc72ad1c7b0c0a92be4754b95b1441850533b0 | [
"Apache-2.0"
] | 2 | 2021-12-01T05:08:59.000Z | 2022-02-18T08:14:30.000Z | src/tint/writer/hlsl/generator_impl_sanitizer_test.cc | hexops/dawn | 36cc72ad1c7b0c0a92be4754b95b1441850533b0 | [
"Apache-2.0"
] | 1 | 2022-02-11T17:39:44.000Z | 2022-02-11T17:39:44.000Z | // Copyright 2021 The Tint 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 ... | 29.104167 | 79 | 0.591267 | hexops |
cb333c4a48624a6dad7e058694f1bac7931df0f7 | 183 | cpp | C++ | third_party/WebKit/Source/config.cpp | wenfeifei/miniblink49 | 2ed562ff70130485148d94b0e5f4c343da0c2ba4 | [
"Apache-2.0"
] | 5,964 | 2016-09-27T03:46:29.000Z | 2022-03-31T16:25:27.000Z | third_party/WebKit/Source/config.cpp | w4454962/miniblink49 | b294b6eacb3333659bf7b94d670d96edeeba14c0 | [
"Apache-2.0"
] | 459 | 2016-09-29T00:51:38.000Z | 2022-03-07T14:37:46.000Z | third_party/WebKit/Source/config.cpp | w4454962/miniblink49 | b294b6eacb3333659bf7b94d670d96edeeba14c0 | [
"Apache-2.0"
] | 1,006 | 2016-09-27T05:17:27.000Z | 2022-03-30T02:46:51.000Z |
#include "config.h"
#if !(((defined ENABLE_WKE) && (ENABLE_WKE == 1)) || ((defined ENABLE_CEF) && (ENABLE_CEF == 1)))
#error "Please select an interface 请选择接口"
#endif
| 22.875 | 98 | 0.601093 | wenfeifei |
cb33e206a632fb56eb0d84f2b843f0e0cb97ca34 | 1,208 | cpp | C++ | riscv/llvm/3.5/cfe-3.5.0.src/test/CXX/drs/dr412.cpp | tangyibin/goblin-core | 1940db6e95908c81687b2b22ddd9afbc8db9cdfe | [
"BSD-3-Clause"
] | null | null | null | riscv/llvm/3.5/cfe-3.5.0.src/test/CXX/drs/dr412.cpp | tangyibin/goblin-core | 1940db6e95908c81687b2b22ddd9afbc8db9cdfe | [
"BSD-3-Clause"
] | null | null | null | riscv/llvm/3.5/cfe-3.5.0.src/test/CXX/drs/dr412.cpp | tangyibin/goblin-core | 1940db6e95908c81687b2b22ddd9afbc8db9cdfe | [
"BSD-3-Clause"
] | 1 | 2021-03-24T06:40:32.000Z | 2021-03-24T06:40:32.000Z | // RUN: %clang_cc1 -std=c++98 %s -verify -fexceptions -fcxx-exceptions -pedantic-errors -DNOEXCEPT="throw()" -DBAD_ALLOC="throw(std::bad_alloc)"
// RUN: %clang_cc1 -std=c++11 %s -verify -fexceptions -fcxx-exceptions -pedantic-errors -DNOEXCEPT=noexcept -DBAD_ALLOC=
// RUN: %clang_cc1 -std=c++1y %s -verify -fexceptions ... | 57.52381 | 144 | 0.737583 | tangyibin |
cb343dea6aa1b1219c04bb3e2e34f96cf46be367 | 6,094 | cpp | C++ | SerialPrograms/Source/CommonFramework/Widgets/SerialSelector.cpp | nmousouros/Arduino-Source | f8dce62af0b619016b4c18dc0371c59568da3e9a | [
"MIT"
] | null | null | null | SerialPrograms/Source/CommonFramework/Widgets/SerialSelector.cpp | nmousouros/Arduino-Source | f8dce62af0b619016b4c18dc0371c59568da3e9a | [
"MIT"
] | null | null | null | SerialPrograms/Source/CommonFramework/Widgets/SerialSelector.cpp | nmousouros/Arduino-Source | f8dce62af0b619016b4c18dc0371c59568da3e9a | [
"MIT"
] | null | null | null | /* Serial Connection Selector
*
* From: https://github.com/PokemonAutomation/Arduino-Source
*
*/
#include <QJsonObject>
#include <QHBoxLayout>
#include "Common/Qt/QtJsonTools.h"
#include "Common/Qt/NoWheelComboBox.h"
#include "SerialSelector.h"
#include <iostream>
using std::cout;
using std::endl;... | 28.082949 | 103 | 0.596981 | nmousouros |
cb35719183bc076a014d5c090379c3a3756b21be | 4,304 | cc | C++ | tensorflow/stream_executor/cuda/cudart_stub.cc | khodges42/tensorflow | cb011e1dd8d79757fea01be39e19cb1155681e7e | [
"Apache-2.0"
] | 3 | 2019-02-04T10:10:19.000Z | 2019-12-29T08:09:37.000Z | tensorflow/stream_executor/cuda/cudart_stub.cc | khodges42/tensorflow | cb011e1dd8d79757fea01be39e19cb1155681e7e | [
"Apache-2.0"
] | null | null | null | tensorflow/stream_executor/cuda/cudart_stub.cc | khodges42/tensorflow | cb011e1dd8d79757fea01be39e19cb1155681e7e | [
"Apache-2.0"
] | 6 | 2018-11-29T20:52:00.000Z | 2021-02-19T22:43:32.000Z | /* Copyright 2015 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.426087 | 80 | 0.70632 | khodges42 |
cb3792620caa21018f8ece94216e509532d9161b | 3,283 | cpp | C++ | src/cpp-ethereum/libethereum/TransactionReceipt.cpp | nccproject/ncc | 068ccc82a73d28136546095261ad8ccef7e541a3 | [
"MIT"
] | 42 | 2021-01-04T01:59:21.000Z | 2021-05-14T14:35:04.000Z | src/cpp-ethereum/libethereum/TransactionReceipt.cpp | estxcoin/estcore | 4398b1d944373fe25668469966fa2660da454279 | [
"MIT"
] | 2 | 2021-01-04T02:08:47.000Z | 2021-01-04T02:36:08.000Z | src/cpp-ethereum/libethereum/TransactionReceipt.cpp | estxcoin/estcore | 4398b1d944373fe25668469966fa2660da454279 | [
"MIT"
] | 15 | 2021-01-04T02:00:21.000Z | 2021-01-06T02:06:43.000Z | /*
This file is part of cpp-ethereum.
cpp-ethereum is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
cpp-ethereum is distributed in the... | 27.358333 | 104 | 0.709717 | nccproject |
cb3876ee76b164483281367d1bb0beb667e46323 | 11,494 | cpp | C++ | planner_cspace/src/grid_astar_model_3dof.cpp | at-wat/neonavigation | 4fabc3d100f5e211db09fb3f8e68650fa46a0d50 | [
"BSD-3-Clause"
] | 195 | 2017-02-16T08:19:29.000Z | 2022-03-03T06:00:28.000Z | planner_cspace/src/grid_astar_model_3dof.cpp | at-wat/neonavigation | 4fabc3d100f5e211db09fb3f8e68650fa46a0d50 | [
"BSD-3-Clause"
] | 584 | 2016-11-10T04:48:04.000Z | 2021-12-19T23:53:12.000Z | planner_cspace/src/grid_astar_model_3dof.cpp | at-wat/neonavigation | 4fabc3d100f5e211db09fb3f8e68650fa46a0d50 | [
"BSD-3-Clause"
] | 74 | 2016-10-15T13:54:29.000Z | 2022-02-02T00:26:22.000Z | /*
* Copyright (c) 2019-2020, the neonavigation authors
* 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
* not... | 32.377465 | 118 | 0.666 | at-wat |
cb3adced9e2f053dc575e6c761d0535ab59180fa | 4,220 | hpp | C++ | graph/graph.hpp | ytuza/proyecto | 3ebd08518c80180063262810ed9515cb94a2b735 | [
"MIT"
] | null | null | null | graph/graph.hpp | ytuza/proyecto | 3ebd08518c80180063262810ed9515cb94a2b735 | [
"MIT"
] | null | null | null | graph/graph.hpp | ytuza/proyecto | 3ebd08518c80180063262810ed9515cb94a2b735 | [
"MIT"
] | null | null | null | #pragma once
#include "edge.hpp"
#include "node.hpp"
#include <algorithm>
#include <deque>
#include <utility>
template <typename N, typename E> class Graph {
public:
using SelfType = Graph<N, E>;
using NodeValueType = N;
using EdgeValueType = E;
using NodeType = Node<SelfType>;
using EdgeType = Edge<SelfTyp... | 28.513514 | 86 | 0.579147 | ytuza |
cb3c47a7c4b5b99a1700bdf4d0fff2baa2bb6ac3 | 6,106 | cpp | C++ | 2006/samples/database/clonreac_dg/clonreac.cpp | kevinzhwl/ObjectARXMod | ef4c87db803a451c16213a7197470a3e9b40b1c6 | [
"MIT"
] | 1 | 2021-06-25T02:58:47.000Z | 2021-06-25T02:58:47.000Z | 2004/samples/database/clonreac_dg/clonreac.cpp | kevinzhwl/ObjectARXMod | ef4c87db803a451c16213a7197470a3e9b40b1c6 | [
"MIT"
] | null | null | null | 2004/samples/database/clonreac_dg/clonreac.cpp | kevinzhwl/ObjectARXMod | ef4c87db803a451c16213a7197470a3e9b40b1c6 | [
"MIT"
] | 3 | 2020-05-23T02:47:44.000Z | 2020-10-27T01:26:53.000Z | // (C) Copyright 1996,1998 by Autodesk, Inc.
//
// Permission to use, copy, modify, and distribute this software in
// object code form for any purpose and without fee is hereby granted,
// provided that the above copyright notice appears in all copies and
// that both that copyright notice and the limited warr... | 28.138249 | 73 | 0.583361 | kevinzhwl |
cb467a2eb68adef076637f5224505c959a950816 | 88 | cpp | C++ | coding/helo.cpp | tusharkumar2005/developer | b371cedcd77b7926db7b6b7c7d6a144f48eed07b | [
"CC0-1.0"
] | 1 | 2021-09-21T11:49:50.000Z | 2021-09-21T11:49:50.000Z | coding/helo.cpp | tusharkumar2005/developer | b371cedcd77b7926db7b6b7c7d6a144f48eed07b | [
"CC0-1.0"
] | null | null | null | coding/helo.cpp | tusharkumar2005/developer | b371cedcd77b7926db7b6b7c7d6a144f48eed07b | [
"CC0-1.0"
] | null | null | null | using namespace std;
#include<iostream>
int main(){
cout<<"hello";
}
| 9.777778 | 21 | 0.545455 | tusharkumar2005 |
cb470c5c84bcf3568620b3adf27f0a0163fa1471 | 40,109 | cc | C++ | proxy/mgmt2/tools/ConfigAPI.cc | pquerna/trafficserver | 43b94d9926bf11573b178f46c01db6e235f1345e | [
"Apache-2.0"
] | 1 | 2017-10-26T12:04:44.000Z | 2017-10-26T12:04:44.000Z | proxy/mgmt2/tools/ConfigAPI.cc | pquerna/trafficserver | 43b94d9926bf11573b178f46c01db6e235f1345e | [
"Apache-2.0"
] | null | null | null | proxy/mgmt2/tools/ConfigAPI.cc | pquerna/trafficserver | 43b94d9926bf11573b178f46c01db6e235f1345e | [
"Apache-2.0"
] | null | null | null | /** @file
A brief file description
@section license License
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you und... | 28.285614 | 127 | 0.666359 | pquerna |
cb48500de4798dd97f46ba7790a7910efee7110d | 12,749 | cpp | C++ | tests/core/data_test.cpp | DCC-UFJF/UFJF-MLTK | bb0696a5ec41e8a2b89be2a2d4e35b39fdcb85f2 | [
"MIT"
] | null | null | null | tests/core/data_test.cpp | DCC-UFJF/UFJF-MLTK | bb0696a5ec41e8a2b89be2a2d4e35b39fdcb85f2 | [
"MIT"
] | null | null | null | tests/core/data_test.cpp | DCC-UFJF/UFJF-MLTK | bb0696a5ec41e8a2b89be2a2d4e35b39fdcb85f2 | [
"MIT"
] | null | null | null | //
// Created by mateus on 12/04/2021.
//
#include <iostream>
#include <gtest/gtest.h>
#include "ufjfmltk/core/Data.hpp"
#include "ufjfmltk/core/Datasets.hpp"
#include "ufjfmltk/core/Kernel.hpp"
#include "ufjfmltk/valid/Validation.hpp"
class DataTest: public ::testing::Test
{
protected:
void SetUp() override{
... | 33.374346 | 94 | 0.609695 | DCC-UFJF |
cb48bd399b04a33bf49054d0bcf397b0e1edc63b | 1,898 | cpp | C++ | test/launcher/verify_bintree.cpp | baziotis/rv | e0e9373bed333cf19370d811ecfd1146d605118a | [
"Apache-2.0"
] | 71 | 2017-03-03T01:36:28.000Z | 2022-02-25T19:57:12.000Z | test/launcher/verify_bintree.cpp | baziotis/rv | e0e9373bed333cf19370d811ecfd1146d605118a | [
"Apache-2.0"
] | 48 | 2017-04-05T16:41:47.000Z | 2021-06-09T09:52:36.000Z | test/launcher/verify_bintree.cpp | baziotis/rv | e0e9373bed333cf19370d811ecfd1146d605118a | [
"Apache-2.0"
] | 21 | 2017-03-01T16:04:35.000Z | 2021-09-15T13:38:24.000Z | #include<iostream>
#include <cassert>
#include "launcherTools.h"
struct Node {
float data;
int left;
int right;
Node()
: left(-1)
, right(-1)
, data(0.0f)
{}
};
extern "C" {
int foo(Node * nodes, float elem);
int8 foo_SIMD(Node * nodes, float8 elem);
}
void insert(Node * nodes, int i, float ele... | 21.088889 | 124 | 0.536881 | baziotis |
cb4b073bad58f8f50607fbae531841b8474d360d | 416 | hpp | C++ | inc/Ball.hpp | Swaift/rpg | b4e9ecb68b85c6859a3984aa1234f377c56633fa | [
"MIT"
] | 2 | 2017-03-02T01:00:37.000Z | 2017-03-02T01:00:47.000Z | inc/Ball.hpp | Swaift/pong | b4e9ecb68b85c6859a3984aa1234f377c56633fa | [
"MIT"
] | null | null | null | inc/Ball.hpp | Swaift/pong | b4e9ecb68b85c6859a3984aa1234f377c56633fa | [
"MIT"
] | null | null | null | #ifndef BALL_HPP
#define BALL_HPP
#include <SFML/Graphics.hpp>
namespace sf {
class Ball: public CircleShape {
public:
Ball(float radius);
void reset();
float getDx();
float getDy();
void setDx(float dx);
void setDy(float dy);
... | 18.909091 | 36 | 0.509615 | Swaift |
cb4b245cdb211d459089ddc588a297e00406ebff | 3,660 | cpp | C++ | applications/SwimmingDEMApplication/custom_elements/calculate_laplacian_simplex_element.cpp | jsoditt/Kratos | c4a6e0ffb155f5aefa4c564eb1bf4d191aacfb3d | [
"BSD-4-Clause"
] | null | null | null | applications/SwimmingDEMApplication/custom_elements/calculate_laplacian_simplex_element.cpp | jsoditt/Kratos | c4a6e0ffb155f5aefa4c564eb1bf4d191aacfb3d | [
"BSD-4-Clause"
] | null | null | null | applications/SwimmingDEMApplication/custom_elements/calculate_laplacian_simplex_element.cpp | jsoditt/Kratos | c4a6e0ffb155f5aefa4c564eb1bf4d191aacfb3d | [
"BSD-4-Clause"
] | null | null | null | #include "swimming_DEM_application.h"
#include "calculate_laplacian_simplex_element.h"
namespace Kratos
{
template <unsigned int TDim, unsigned int TNumNodes>
void ComputeLaplacianSimplex<TDim, TNumNodes>::EquationIdVector(EquationIdVectorType& rResult,
ProcessInfo& rCurrentProcessInfo)
{... | 36.969697 | 123 | 0.664208 | jsoditt |
cb4d7af798a271e1d7cce11e5ced263db8aa9735 | 19,465 | hpp | C++ | pennylane_lightning/src/gates/OpToMemberFuncPtr.hpp | AmintorDusko/pennylane-lightning | 9554a95842de9d7759ce96bfa75857e0c9ca756b | [
"Apache-2.0"
] | null | null | null | pennylane_lightning/src/gates/OpToMemberFuncPtr.hpp | AmintorDusko/pennylane-lightning | 9554a95842de9d7759ce96bfa75857e0c9ca756b | [
"Apache-2.0"
] | null | null | null | pennylane_lightning/src/gates/OpToMemberFuncPtr.hpp | AmintorDusko/pennylane-lightning | 9554a95842de9d7759ce96bfa75857e0c9ca756b | [
"Apache-2.0"
] | null | null | null | // Copyright 2022 Xanadu Quantum Technologies Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law o... | 42.407407 | 80 | 0.694631 | AmintorDusko |
cb4e20da2cdd41de90bbd915cb72bf33165d1b4f | 516 | cpp | C++ | examples/SysTick/Main.cpp | marangisto/stm32 | a3972918adb734597ecd122e2546670dad3cd990 | [
"MIT"
] | null | null | null | examples/SysTick/Main.cpp | marangisto/stm32 | a3972918adb734597ecd122e2546670dad3cd990 | [
"MIT"
] | 1 | 2019-08-31T20:54:29.000Z | 2019-09-01T07:11:43.000Z | examples/SysTick/Main.cpp | marangisto/stm32f0 | a3972918adb734597ecd122e2546670dad3cd990 | [
"MIT"
] | null | null | null | #include <gpio.h>
using namespace stm32f0;
using namespace gpio;
typedef output_t<PC8> led_a;
typedef output_t<PC9> led_b;
int main()
{
led_a::setup();
led_b::setup();
for (;;)
{
static uint32_t next_a = 0, next_b = 0;
uint32_t now = sys_tick::count();
if (now >= next_a)
... | 15.636364 | 47 | 0.478682 | marangisto |
cb4f44cc4f4f1627f63f867b8052d51a768fcf7a | 2,170 | hpp | C++ | include/signals/detail/connection_impl.hpp | a-n-t-h-o-n-y/signals | 2db5f083a814b970dfd0f797873d9a894d80bf42 | [
"MIT"
] | 2 | 2018-09-03T03:51:41.000Z | 2020-05-29T06:27:49.000Z | include/signals/detail/connection_impl.hpp | a-n-t-h-o-n-y/signals | 2db5f083a814b970dfd0f797873d9a894d80bf42 | [
"MIT"
] | null | null | null | include/signals/detail/connection_impl.hpp | a-n-t-h-o-n-y/signals | 2db5f083a814b970dfd0f797873d9a894d80bf42 | [
"MIT"
] | 1 | 2020-11-03T05:37:27.000Z | 2020-11-03T05:37:27.000Z | #ifndef SIGNALS_DETAIL_CONNECTION_IMPL_HPP
#define SIGNALS_DETAIL_CONNECTION_IMPL_HPP
#include <memory>
#include <mutex>
#include <utility>
#include "../connection.hpp"
#include "../slot.hpp"
#include "connection_impl_base.hpp"
namespace sig {
class Connection;
template <typename Signature>
class Connection_impl;
/... | 28.933333 | 78 | 0.659908 | a-n-t-h-o-n-y |
cb515a09d530892959c286c3dfae78725f9f373b | 6,009 | cc | C++ | components/payments/content/android_payment_app_unittest.cc | mghgroup/Glide-Browser | 6a4c1eaa6632ec55014fee87781c6bbbb92a2af5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | components/payments/content/android_payment_app_unittest.cc | mghgroup/Glide-Browser | 6a4c1eaa6632ec55014fee87781c6bbbb92a2af5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | components/payments/content/android_payment_app_unittest.cc | mghgroup/Glide-Browser | 6a4c1eaa6632ec55014fee87781c6bbbb92a2af5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2021-01-05T23:43:46.000Z | 2021-01-07T23:36:34.000Z | // Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/payments/content/android_payment_app.h"
#include <map>
#include <memory>
#include <set>
#include <string>
#include <utility>
#includ... | 36.418182 | 80 | 0.748544 | mghgroup |
cb51732e37da34ce00e221369c665c9eb1756753 | 141,447 | cpp | C++ | libraries/value/src/CachingStrategies.cpp | n-gineer/ELL | 2e5b93fe13993073a9486fc8720359ae4a49f737 | [
"MIT"
] | 2,094 | 2016-09-28T05:55:24.000Z | 2019-05-04T19:06:36.000Z | libraries/value/src/CachingStrategies.cpp | n-gineer/ELL | 2e5b93fe13993073a9486fc8720359ae4a49f737 | [
"MIT"
] | 213 | 2017-06-30T12:53:40.000Z | 2019-05-03T06:35:38.000Z | libraries/value/src/CachingStrategies.cpp | n-gineer/ELL | 2e5b93fe13993073a9486fc8720359ae4a49f737 | [
"MIT"
] | 301 | 2017-03-24T08:40:00.000Z | 2019-05-02T21:22:28.000Z | ////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Project: Embedded Learning Library (ELL)
// File: CachingStrategies.cpp (value)
// Authors: Kern Handa, Mason Remy
//
//////////////////////////////////////////////////////////////////////////////////////... | 72.760802 | 390 | 0.45516 | n-gineer |
cb51b86338f4c2de18524d860ed65f32f486832f | 336 | cpp | C++ | cpp1/cppio.cpp | CGCC-CS/csc240spring18 | 824026556610976b26ad0c0fa2f51ef244524180 | [
"MIT"
] | null | null | null | cpp1/cppio.cpp | CGCC-CS/csc240spring18 | 824026556610976b26ad0c0fa2f51ef244524180 | [
"MIT"
] | null | null | null | cpp1/cppio.cpp | CGCC-CS/csc240spring18 | 824026556610976b26ad0c0fa2f51ef244524180 | [
"MIT"
] | null | null | null | #include<iostream>
#include<string>
using namespace std;
int main() {
int count;
string str;
cout << "Enter a number: ";
cin >> count;
cout << "Enter a string: ";
cin >> str; // Only gets characters until the next whitespace!
for(int ii=0;ii<count;ii++) {
cout << ii << " : " << str << endl;
}... | 15.272727 | 66 | 0.574405 | CGCC-CS |
cb51e05bc4c8e47ec95036904c36a9941b662a27 | 20,886 | cc | C++ | chromeos/services/secure_channel/ble_scanner_impl_unittest.cc | Ron423c/chromium | 2edf7b980065b648f8b2a6e52193d83832fe36b7 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 575 | 2015-06-18T23:58:20.000Z | 2022-03-23T09:32:39.000Z | chromeos/services/secure_channel/ble_scanner_impl_unittest.cc | Ron423c/chromium | 2edf7b980065b648f8b2a6e52193d83832fe36b7 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 113 | 2015-05-04T09:58:14.000Z | 2022-01-31T19:35:03.000Z | chromeos/services/secure_channel/ble_scanner_impl_unittest.cc | iridium-browser/iridium-browser | 907e31cf5ce5ad14d832796e3a7c11e496828959 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 52 | 2015-07-14T10:40:50.000Z | 2022-03-15T01:11:49.000Z | // 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 "chromeos/services/secure_channel/ble_scanner_impl.h"
#include <algorithm>
#include <iterator>
#include <memory>
#include <utility>
#include "b... | 40.398453 | 80 | 0.699416 | Ron423c |
cb53701ed2e1277cb78cb5d4d4ca555d234581b8 | 3,463 | cpp | C++ | source/SexyAppFramework/DSoundInstance.cpp | alula/CircleShootApp | 6a15f2de91f0bbe3d030d8ec971e9c961275f5eb | [
"MIT"
] | 8 | 2022-03-17T22:15:59.000Z | 2022-03-23T20:59:38.000Z | source/SexyAppFramework/DSoundInstance.cpp | alula/CircleShootApp | 6a15f2de91f0bbe3d030d8ec971e9c961275f5eb | [
"MIT"
] | null | null | null | source/SexyAppFramework/DSoundInstance.cpp | alula/CircleShootApp | 6a15f2de91f0bbe3d030d8ec971e9c961275f5eb | [
"MIT"
] | null | null | null | #include "DSoundInstance.h"
#include "DSoundManager.h"
#include <math.h>
using namespace Sexy;
DSoundInstance::DSoundInstance(DSoundManager* theSoundManager, LPDIRECTSOUNDBUFFER theSourceSound)
{
mSoundManagerP = theSoundManager;
mReleased = false;
mAutoRelease = false;
mHasPlayed = false;
mSourceSoundBuffer = t... | 19.346369 | 109 | 0.719319 | alula |
cb53dddaef738560b4b1d9e22349e2fc8c4844c6 | 10,773 | cpp | C++ | tests/external/libcxx/map/map.ops/upper_bound.pass.cpp | avdosev/libpmemobj-cpp | 45998ede20c0fa8cb5d3c4735e95abdff9d94706 | [
"BSD-3-Clause"
] | null | null | null | tests/external/libcxx/map/map.ops/upper_bound.pass.cpp | avdosev/libpmemobj-cpp | 45998ede20c0fa8cb5d3c4735e95abdff9d94706 | [
"BSD-3-Clause"
] | null | null | null | tests/external/libcxx/map/map.ops/upper_bound.pass.cpp | avdosev/libpmemobj-cpp | 45998ede20c0fa8cb5d3c4735e95abdff9d94706 | [
"BSD-3-Clause"
] | null | null | null | //===----------------------------------------------------------------------===//
//
// 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
//
//===---------------------------... | 29.274457 | 80 | 0.560104 | avdosev |
cb53e73c54c9762e43096e774582efa54477a5a5 | 10,245 | cpp | C++ | src/catalog/catalog_util.cpp | xinzhang1234/peloton | 9b11d92dd5a2a0b32d5c39a9ba0b1aa45fe0b654 | [
"Apache-2.0"
] | 7 | 2017-03-12T01:57:48.000Z | 2022-03-16T12:44:07.000Z | src/catalog/catalog_util.cpp | xinzhang1234/peloton | 9b11d92dd5a2a0b32d5c39a9ba0b1aa45fe0b654 | [
"Apache-2.0"
] | null | null | null | src/catalog/catalog_util.cpp | xinzhang1234/peloton | 9b11d92dd5a2a0b32d5c39a9ba0b1aa45fe0b654 | [
"Apache-2.0"
] | 2 | 2017-03-30T00:43:50.000Z | 2021-07-21T06:27:44.000Z | //===----------------------------------------------------------------------===//
//
// Peloton
//
// catalog_util.cpp
//
// Identification: src/catalog/catalog_util.cpp
//
// Copyright (c) 2015-16, Carnegie Mellon University Database Group
//
//===------------------------------------------------... | 37.665441 | 85 | 0.711957 | xinzhang1234 |
cb542d0f22ea7889ff4352b9ca32f68bf29b8e23 | 43,520 | cc | C++ | be/src/service/client-request-state.cc | reetahan/Impala | 1748a8098fe7ed998f3cbdf3bc1812952eabf467 | [
"Apache-2.0"
] | null | null | null | be/src/service/client-request-state.cc | reetahan/Impala | 1748a8098fe7ed998f3cbdf3bc1812952eabf467 | [
"Apache-2.0"
] | null | null | null | be/src/service/client-request-state.cc | reetahan/Impala | 1748a8098fe7ed998f3cbdf3bc1812952eabf467 | [
"Apache-2.0"
] | null | null | null | // Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may... | 40.073665 | 91 | 0.713258 | reetahan |
cb54519037742793b0c149c87545388006a38b6a | 2,343 | cpp | C++ | tf2_bot_detector_updater/Update_MSIX.cpp | Magicrafter13/tf2_bot_detector | 4cb43ae7e90fc5a084bef7d572af5bee1b10f389 | [
"MIT"
] | 1 | 2021-01-06T17:57:33.000Z | 2021-01-06T17:57:33.000Z | tf2_bot_detector_updater/Update_MSIX.cpp | cyrusParvereshi/tf2_bot_detector | 4cb43ae7e90fc5a084bef7d572af5bee1b10f389 | [
"MIT"
] | null | null | null | tf2_bot_detector_updater/Update_MSIX.cpp | cyrusParvereshi/tf2_bot_detector | 4cb43ae7e90fc5a084bef7d572af5bee1b10f389 | [
"MIT"
] | null | null | null | #include "Update_MSIX.h"
#include "Common.h"
#include <mh/source_location.hpp>
#include <mh/text/codecvt.hpp>
#include <mh/text/format.hpp>
#include <iostream>
#include <Windows.h>
#undef max
#undef min
#include <winrt/Windows.ApplicationModel.h>
#include <winrt/Windows.Management.Deployment.h>
#include <winrt/Wind... | 28.228916 | 101 | 0.706359 | Magicrafter13 |
cb54869797df94699ba268bbf56f585d276f56a4 | 7,876 | cpp | C++ | test/test_string_stream_u16.cpp | mhx/etl | 9931339605511ab4641fcd7bf47293a17bd551fa | [
"MIT"
] | 1,159 | 2015-01-05T13:18:58.000Z | 2022-03-31T16:43:48.000Z | test/test_string_stream_u16.cpp | mhx/etl | 9931339605511ab4641fcd7bf47293a17bd551fa | [
"MIT"
] | 383 | 2015-04-26T08:04:40.000Z | 2022-03-31T09:25:56.000Z | test/test_string_stream_u16.cpp | mhx/etl | 9931339605511ab4641fcd7bf47293a17bd551fa | [
"MIT"
] | 248 | 2015-01-13T07:50:30.000Z | 2022-03-31T21:55:37.000Z | /******************************************************************************
The MIT License(MIT)
Embedded Template Library.
https://github.com/ETLCPP/etl
https://www.etlcpp.com
Copyright(c) 2020 jwellbelove
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associat... | 26.972603 | 117 | 0.492636 | mhx |
cb5a0a9a974ae4aeb000aa80e05e907b6181355b | 5,043 | cpp | C++ | compiler/enco/core/src/Transforms/GlobalDataGeneration.cpp | juitem/ONE | 8c6a4b7738074573b6ac5c82dcf1f6697520d1ed | [
"Apache-2.0"
] | 255 | 2020-05-22T07:45:29.000Z | 2022-03-29T23:58:22.000Z | compiler/enco/core/src/Transforms/GlobalDataGeneration.cpp | juitem/ONE | 8c6a4b7738074573b6ac5c82dcf1f6697520d1ed | [
"Apache-2.0"
] | 5,102 | 2020-05-22T07:48:33.000Z | 2022-03-31T23:43:39.000Z | compiler/enco/core/src/Transforms/GlobalDataGeneration.cpp | juitem/ONE | 8c6a4b7738074573b6ac5c82dcf1f6697520d1ed | [
"Apache-2.0"
] | 120 | 2020-05-22T07:51:08.000Z | 2022-02-16T19:08:05.000Z | /*
* Copyright (c) 2018 Samsung Electronics Co., Ltd. All Rights Reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless... | 27.861878 | 97 | 0.675987 | juitem |
cb5a5ca587bd579fbe52257d6cb4da8eda15682c | 4,552 | cpp | C++ | leetcode/docu/468.cpp | sczzq/symmetrical-spoon | aa0c27bb40a482789c7c6a7088307320a007b49b | [
"Unlicense"
] | null | null | null | leetcode/docu/468.cpp | sczzq/symmetrical-spoon | aa0c27bb40a482789c7c6a7088307320a007b49b | [
"Unlicense"
] | null | null | null | leetcode/docu/468.cpp | sczzq/symmetrical-spoon | aa0c27bb40a482789c7c6a7088307320a007b49b | [
"Unlicense"
] | null | null | null | #include "cpp_header.h"
class Solution {
public:
string validIPAddress(string IP)
{
int dot_nums = count(IP.begin(), IP.end(), '.');
if(dot_nums == 3)
if(consider_v4(IP))
return "IPv4";
int colon_nums = count(IP.begin(), IP.end(), ':');
if(colon_nums == 7)
if(consider_v6(IP))
return "IPv6";
... | 16.199288 | 56 | 0.517355 | sczzq |
cb5e295f4d074243ce2d069626fcbbe325c1e3c2 | 52 | cpp | C++ | c++/CMakeProject1/query/boost_timer_demo.cpp | Minyi1750/test | 08409df49fb576114c8b70677face827023d9cb5 | [
"Apache-2.0"
] | 1 | 2018-03-03T21:04:45.000Z | 2018-03-03T21:04:45.000Z | c++/CMakeProject1/query/boost_timer_demo.cpp | Minyi1750/test | 08409df49fb576114c8b70677face827023d9cb5 | [
"Apache-2.0"
] | null | null | null | c++/CMakeProject1/query/boost_timer_demo.cpp | Minyi1750/test | 08409df49fb576114c8b70677face827023d9cb5 | [
"Apache-2.0"
] | null | null | null | #include<boost/timer.cpp>
int main() {
return 0;
} | 10.4 | 25 | 0.653846 | Minyi1750 |
cb5f70dffdc91db4f3bdbbddc69e65d58993fd22 | 361 | cpp | C++ | server/gen-cpp/hlserver_constants.cpp | amrith92/hlstreamer | 483349270b27b16cf0fa300567464eadc43f287c | [
"MIT"
] | 8 | 2015-03-05T09:39:31.000Z | 2019-05-14T01:35:02.000Z | server/gen-cpp/hlserver_constants.cpp | amrith92/hlstreamer | 483349270b27b16cf0fa300567464eadc43f287c | [
"MIT"
] | null | null | null | server/gen-cpp/hlserver_constants.cpp | amrith92/hlstreamer | 483349270b27b16cf0fa300567464eadc43f287c | [
"MIT"
] | 5 | 2015-07-06T08:57:28.000Z | 2019-05-04T04:08:12.000Z | /**
* Autogenerated by Thrift Compiler (1.0.0-dev)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
#include "hlserver_constants.h"
namespace hlserver {
const hlserverConstants g_hlserver_constants;
hlserverConstants::hlserverConstants() {
SERVER_PORT = 9822;
BASE_PATH ... | 16.409091 | 67 | 0.720222 | amrith92 |
cb604a28b2331678b1d9b6b717c05e5850a550c1 | 28,027 | cc | C++ | components/viz/service/display/display_resource_provider_skia_unittest.cc | Ron423c/chromium | 2edf7b980065b648f8b2a6e52193d83832fe36b7 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | components/viz/service/display/display_resource_provider_skia_unittest.cc | Ron423c/chromium | 2edf7b980065b648f8b2a6e52193d83832fe36b7 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | components/viz/service/display/display_resource_provider_skia_unittest.cc | Ron423c/chromium | 2edf7b980065b648f8b2a6e52193d83832fe36b7 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2021-03-07T14:20:02.000Z | 2021-03-07T14:20:02.000Z | // Copyright 2021 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/viz/service/display/display_resource_provider_skia.h"
#include <stddef.h>
#include <stdint.h>
#include <memory>
#include <set>
#inc... | 40.915328 | 80 | 0.748671 | Ron423c |
cb60a10002b9c824dc57dac9b2d1cace04e21eb2 | 1,767 | cc | C++ | mediasoup-client/deps/webrtc/src/base/sampling_heap_profiler/module_cache_unittest.cc | skgwazap/mediasoup-client-android | 474cffd75eeb3d25d515e7aca626a7e09180e99f | [
"MIT"
] | 128 | 2019-10-07T14:03:15.000Z | 2022-02-25T10:25:57.000Z | mediasoup-client/deps/webrtc/src/base/sampling_heap_profiler/module_cache_unittest.cc | qq88797833/mediasoup-client-android | 474cffd75eeb3d25d515e7aca626a7e09180e99f | [
"MIT"
] | 51 | 2019-10-19T04:58:30.000Z | 2022-01-03T07:16:46.000Z | mediasoup-client/deps/webrtc/src/base/sampling_heap_profiler/module_cache_unittest.cc | qq88797833/mediasoup-client-android | 474cffd75eeb3d25d515e7aca626a7e09180e99f | [
"MIT"
] | 90 | 2019-10-16T06:13:14.000Z | 2022-03-02T10:29:19.000Z | // 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 "base/sampling_heap_profiler/module_cache.h"
#include "build/build_config.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace base {
nam... | 31.553571 | 73 | 0.767968 | skgwazap |
cb61f413d2e0b9ffcb2493c2cd9e64a8f003c30d | 6,781 | cpp | C++ | symengine/visitor.cpp | stjordanis/symengine | 8be879dd6b4586ea2be94712d8e9edf37c0f2c0a | [
"MIT"
] | 808 | 2015-10-24T14:47:34.000Z | 2022-03-31T02:59:22.000Z | symengine/visitor.cpp | stjordanis/symengine | 8be879dd6b4586ea2be94712d8e9edf37c0f2c0a | [
"MIT"
] | 1,226 | 2015-10-12T19:28:02.000Z | 2022-03-30T06:22:58.000Z | symengine/visitor.cpp | stjordanis/symengine | 8be879dd6b4586ea2be94712d8e9edf37c0f2c0a | [
"MIT"
] | 253 | 2015-10-24T14:49:40.000Z | 2022-03-13T06:44:29.000Z | #include <symengine/visitor.h>
#include <symengine/polys/basic_conversions.h>
#include <symengine/sets.h>
#define ACCEPT(CLASS) \
void CLASS::accept(Visitor &v) const \
{ ... | 22.016234 | 80 | 0.552131 | stjordanis |
cb61fcd77c4c80c87c3085044ffefcc4e036db75 | 8,298 | cpp | C++ | libs/nav/src/reactive/CMultiObjectiveMotionOptimizerBase.cpp | yhexie/mrpt | 0bece2883aa51ad3dc88cb8bb84df571034ed261 | [
"OLDAP-2.3"
] | null | null | null | libs/nav/src/reactive/CMultiObjectiveMotionOptimizerBase.cpp | yhexie/mrpt | 0bece2883aa51ad3dc88cb8bb84df571034ed261 | [
"OLDAP-2.3"
] | null | null | null | libs/nav/src/reactive/CMultiObjectiveMotionOptimizerBase.cpp | yhexie/mrpt | 0bece2883aa51ad3dc88cb8bb84df571034ed261 | [
"OLDAP-2.3"
] | 1 | 2021-08-16T11:50:47.000Z | 2021-08-16T11:50:47.000Z | /* +---------------------------------------------------------------------------+
| Mobile Robot Programming Toolkit (MRPT) |
| http://www.mrpt.org/ |
| ... | 29.956679 | 159 | 0.650398 | yhexie |
cb63e51ad8fbd81ebe284c3f7dd86cb81de18814 | 793 | cpp | C++ | Yogesh Gaur/implelement_in_cpp/algorithms/Sorting/bubble_sort.cpp | sanskriti2023/Hacktoberfest-KIIT-2020 | fcb670b3bd7a8351af1b3bbbbef7a1f3e8d037c4 | [
"MIT"
] | 8 | 2019-10-05T18:40:46.000Z | 2019-10-25T16:26:41.000Z | Yogesh Gaur/implelement_in_cpp/algorithms/Sorting/bubble_sort.cpp | sanskriti2023/Hacktoberfest-KIIT-2020 | fcb670b3bd7a8351af1b3bbbbef7a1f3e8d037c4 | [
"MIT"
] | 13 | 2020-09-30T19:27:29.000Z | 2021-09-08T02:31:48.000Z | Yogesh Gaur/implelement_in_cpp/algorithms/Sorting/bubble_sort.cpp | sanskriti2023/Hacktoberfest-KIIT-2020 | fcb670b3bd7a8351af1b3bbbbef7a1f3e8d037c4 | [
"MIT"
] | 84 | 2020-09-30T19:00:05.000Z | 2021-09-30T04:17:34.000Z | #include <iostream>
using namespace std;
void bubbleSort(int arr[], int n)
{
int i, j;
for (i = 0; i < n - 1; i++)
{
for (j = 0; j < n - i - 1; j++)
{
if (arr[j] > arr[j + 1])
{
arr[j] = arr[j] + arr[j + 1];
arr[j + 1] = arr[j] - arr[j... | 19.825 | 49 | 0.364439 | sanskriti2023 |
cb63ee8f1e1cefcede8e1b6533fbc6251167ca9e | 3,775 | cpp | C++ | Demo.cpp | michal-z/SimplePbr | 629a0addae04b03630e0aaed6890da8f044dedb1 | [
"MIT"
] | 1 | 2021-11-07T07:21:52.000Z | 2021-11-07T07:21:52.000Z | Demo.cpp | michal-z/SimplePbr | 629a0addae04b03630e0aaed6890da8f044dedb1 | [
"MIT"
] | null | null | null | Demo.cpp | michal-z/SimplePbr | 629a0addae04b03630e0aaed6890da8f044dedb1 | [
"MIT"
] | null | null | null | #include "External.h"
#include "Common.h"
void *operator new[](size_t Size, const char* /*Name*/, int /*Flags*/,
unsigned /*DebugFlags*/, const char* /*File*/, int /*Line*/)
{
return malloc(Size);
}
void *operator new[](size_t Size, size_t Alignment, size_t AlignmentOffset, const char* /*Na... | 27.962963 | 122 | 0.630199 | michal-z |
cb6458f14ff79611341fee167144accaff58912f | 3,684 | cpp | C++ | matCUDA tests/src/UnitTest14.cpp | leomiquelutti/matCUDA | 95bd7917289288b0137ce23a952d4ccfd43e0d1d | [
"MIT"
] | null | null | null | matCUDA tests/src/UnitTest14.cpp | leomiquelutti/matCUDA | 95bd7917289288b0137ce23a952d4ccfd43e0d1d | [
"MIT"
] | null | null | null | matCUDA tests/src/UnitTest14.cpp | leomiquelutti/matCUDA | 95bd7917289288b0137ce23a952d4ccfd43e0d1d | [
"MIT"
] | null | null | null | #include "unitTests.h"
void test_LS_float_1()
{
Array<float> A( 5, 3 );
Array<float> B( 5, 2 );
Array<float> control(3,2);
A(0,0) = 1; A(0,1) = 1; A(0,2) = 1;
A(1,0) = 2; A(1,1) = 3; A(1,2) = 4;
A(2,0) = 3; A(2,1) = 5; A(2,2) = 2;
A(3,0) = 4; A(3,1) = 2; A(3,2) = 5;
A(4,0) = 5; A(4,1) = 4; A(4,2) = 3;
B(0,0... | 29.709677 | 119 | 0.60152 | leomiquelutti |
cb648166f7bb6279b559ed8ea745ce07943624dd | 12,572 | cc | C++ | src/relay/op/nn/convolution.cc | qqsun8819/tvm | 53ac89ede7cddd1649b01b2ff10cc67a963757ce | [
"Apache-2.0"
] | null | null | null | src/relay/op/nn/convolution.cc | qqsun8819/tvm | 53ac89ede7cddd1649b01b2ff10cc67a963757ce | [
"Apache-2.0"
] | null | null | null | src/relay/op/nn/convolution.cc | qqsun8819/tvm | 53ac89ede7cddd1649b01b2ff10cc67a963757ce | [
"Apache-2.0"
] | null | null | null | /*!
* Copyright (c) 2018 by Contributors
* \file convolution.cc
* \brief Convolution operators
*/
#include <tvm/relay/op.h>
#include <tvm/relay/attrs/nn.h>
#include <vector>
#include "../layout.h"
namespace tvm {
namespace relay {
TVM_REGISTER_NODE_TYPE(Conv2DAttrs);
bool Conv2DRel(const Array<Type>& types,
... | 40.038217 | 97 | 0.650255 | qqsun8819 |
cb65760ade206a9a00afdc8ac77f46abff891cf3 | 8,882 | hpp | C++ | include/Thoth/Attribute.hpp | DerekCresswell/Thoth | e2ce891a45dffdf7c767ab7ddca13076f51ae567 | [
"MIT"
] | null | null | null | include/Thoth/Attribute.hpp | DerekCresswell/Thoth | e2ce891a45dffdf7c767ab7ddca13076f51ae567 | [
"MIT"
] | null | null | null | include/Thoth/Attribute.hpp | DerekCresswell/Thoth | e2ce891a45dffdf7c767ab7ddca13076f51ae567 | [
"MIT"
] | null | null | null |
#pragma once
#include <algorithm>
#include <string>
#include <sstream>
#include <vector>
/*
*
* @TODO
* Figure out defining attributes at run time
* Implement other common attributes
* Expand adding / deleting values to include more convience
* Add optional safety for overwriting
* Clearing values
*... | 26.99696 | 95 | 0.633641 | DerekCresswell |
cb6762f2e42a636b2598c8716be291e7a0eeb2d8 | 6,528 | hpp | C++ | libs/math/test/compile_test/test_compile_result.hpp | Talustus/boost_src | ffe074de008f6e8c46ae1f431399cf932164287f | [
"BSL-1.0"
] | null | null | null | libs/math/test/compile_test/test_compile_result.hpp | Talustus/boost_src | ffe074de008f6e8c46ae1f431399cf932164287f | [
"BSL-1.0"
] | null | null | null | libs/math/test/compile_test/test_compile_result.hpp | Talustus/boost_src | ffe074de008f6e8c46ae1f431399cf932164287f | [
"BSL-1.0"
] | null | null | null | // Copyright John Maddock 2007.
// Use, modification and distribution are subject to the
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
// Note this header must NOT include any other headers, for its
// use to be meaningf... | 35.478261 | 106 | 0.67739 | Talustus |
cb6ad77ede7b31cd92ebbf284a7deb83c271b5a8 | 8,764 | cxx | C++ | PWGPP/MUON/lite/AliTrigChEffOutput.cxx | maroozm/AliPhysics | 22ec256928cfdf8f800e05bfc1a6e124d90b6eaf | [
"BSD-3-Clause"
] | 114 | 2017-03-03T09:12:23.000Z | 2022-03-03T20:29:42.000Z | PWGPP/MUON/lite/AliTrigChEffOutput.cxx | maroozm/AliPhysics | 22ec256928cfdf8f800e05bfc1a6e124d90b6eaf | [
"BSD-3-Clause"
] | 19,637 | 2017-01-16T12:34:41.000Z | 2022-03-31T22:02:40.000Z | PWGPP/MUON/lite/AliTrigChEffOutput.cxx | maroozm/AliPhysics | 22ec256928cfdf8f800e05bfc1a6e124d90b6eaf | [
"BSD-3-Clause"
] | 1,021 | 2016-07-14T22:41:16.000Z | 2022-03-31T05:15:51.000Z | /**************************************************************************
* Copyright(c) 1998-2007, ALICE Experiment at CERN, All rights reserved. *
* *
* Author: The ALICE Off-line Project. *
* Contributors ... | 37.939394 | 152 | 0.664309 | maroozm |
cb6b046099cff431135f96e7c489c4700de1c176 | 3,174 | cpp | C++ | Day1/main.cpp | baldwinmatt/AoC-2021 | 4a7f18f6364715f6e61127aba175db6fec6e6b13 | [
"Apache-2.0"
] | 4 | 2021-12-06T17:14:00.000Z | 2021-12-10T06:29:35.000Z | Day1/main.cpp | baldwinmatt/AoC-2021 | 4a7f18f6364715f6e61127aba175db6fec6e6b13 | [
"Apache-2.0"
] | null | null | null | Day1/main.cpp | baldwinmatt/AoC-2021 | 4a7f18f6364715f6e61127aba175db6fec6e6b13 | [
"Apache-2.0"
] | null | null | null | #include "aoc21/helpers.h"
/*
--- Day 1: Sonar Sweep ---
You're minding your own business on a ship at sea when the overboard alarm goes off! You rush to see if you can help. Apparently, one of the Elves tripped and accidentally sent the sleigh keys flying into the ocean!
Before you know it, you're inside a submarine... | 35.266667 | 374 | 0.744802 | baldwinmatt |
cb6be6db8face42eec6aeb6687376a39e9bfc890 | 113 | cpp | C++ | Coocoo3DGraphics/RayTracingShaderTable.cpp | sselecirPyM/Coocoo3D | edefdc5a65c2784a3be2bdcb5cd575c149ecaaa9 | [
"BSD-3-Clause"
] | 50 | 2020-07-14T06:51:26.000Z | 2022-03-27T12:51:15.000Z | Coocoo3DGraphics/RayTracingShaderTable.cpp | sselecirPyM/Coocoo3D | edefdc5a65c2784a3be2bdcb5cd575c149ecaaa9 | [
"BSD-3-Clause"
] | 1 | 2021-08-05T06:30:15.000Z | 2021-11-23T04:41:08.000Z | Coocoo3DGraphics/RayTracingShaderTable.cpp | sselecirPyM/Coocoo3D | edefdc5a65c2784a3be2bdcb5cd575c149ecaaa9 | [
"BSD-3-Clause"
] | 8 | 2020-11-30T02:48:37.000Z | 2022-03-14T13:23:07.000Z | #include "pch.h"
#include "RayTracingShaderTable.h"
#include "DirectXHelper.h"
using namespace Coocoo3DGraphics;
| 22.6 | 34 | 0.80531 | sselecirPyM |
cb6c66c75ee21994c0f7cc1e3c511325fd25dfba | 1,180 | cpp | C++ | reverse.cpp | nainwalsanju/codechef | 6baaab3e6b76ec60054fe427274be31d6de60c12 | [
"MIT"
] | 1 | 2021-12-17T14:43:15.000Z | 2021-12-17T14:43:15.000Z | reverse.cpp | nainwalsanju/codechef | 6baaab3e6b76ec60054fe427274be31d6de60c12 | [
"MIT"
] | null | null | null | reverse.cpp | nainwalsanju/codechef | 6baaab3e6b76ec60054fe427274be31d6de60c12 | [
"MIT"
] | null | null | null | #include<bits/stdc++.h>
using namespace std;
string reverse_words(string s)
{
reverse(s.begin(), s.end());
string tmp;
string res;
for(int i=0;i<s.size();i++)
{
if (s[i]==' ')
{
reverse(tmp.begin(), tmp.end());
res+=tmp;
... | 18.4375 | 99 | 0.360169 | nainwalsanju |
cb6c9f26ba07036cea9a288824b6b3a8c30f2190 | 4,868 | cpp | C++ | inference-engine/src/mkldnn_plugin/nodes/mkldnn_convert_node.cpp | Andruxin52rus/openvino | d824e371fe7dffb90e6d3d58e4e34adecfce4606 | [
"Apache-2.0"
] | null | null | null | inference-engine/src/mkldnn_plugin/nodes/mkldnn_convert_node.cpp | Andruxin52rus/openvino | d824e371fe7dffb90e6d3d58e4e34adecfce4606 | [
"Apache-2.0"
] | 21 | 2021-02-16T13:02:05.000Z | 2022-02-21T13:05:06.000Z | inference-engine/src/mkldnn_plugin/nodes/mkldnn_convert_node.cpp | mmakridi/openvino | 769bb7709597c14debdaa356dd60c5a78bdfa97e | [
"Apache-2.0"
] | 1 | 2021-07-28T17:30:46.000Z | 2021-07-28T17:30:46.000Z | // Copyright (C) 2020 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#include <mkldnn_extension_utils.h>
#include "mkldnn_convert_node.h"
#include "common/cpu_convert.h"
#include "common/tensor_desc_creator.h"
#define THROW_ERROR THROW_IE_EXCEPTION << getTypeStr() << " layer with name '" << getName() <<"... | 43.855856 | 153 | 0.693303 | Andruxin52rus |
cb70d942079db8e007bb4ced2da93314b75064db | 634 | cpp | C++ | incoming/BitBucket-INDI1/trunk186/INDI2/oldEIRlibs/eirGUI/GalleryParameters.cpp | eirTony/INDI1 | 42642d8c632da53f60f2610b056547137793021b | [
"MIT"
] | null | null | null | incoming/BitBucket-INDI1/trunk186/INDI2/oldEIRlibs/eirGUI/GalleryParameters.cpp | eirTony/INDI1 | 42642d8c632da53f60f2610b056547137793021b | [
"MIT"
] | 14 | 2016-11-24T10:46:39.000Z | 2016-12-10T07:24:15.000Z | incoming/BitBucket-INDI1/trunk186/If1main/EIRlibs/eirGUI/GalleryParameters.cpp | eirTony/INDI1 | 42642d8c632da53f60f2610b056547137793021b | [
"MIT"
] | null | null | null | #include "GalleryParameters.h"
#include <QtCore/QPointF>
#include "../eirCore/eirCore.h"
GalleryParameters::GalleryParameters(const QString & section) :
VariableGroup(section)
{
DEFINE_GROUPVARIABLES_CTORS(GALLERYPARAMETERS_GROUPVARIABLES);
}
QPointF GalleryParameters::position(const int index,
... | 28.818182 | 67 | 0.611987 | eirTony |
cb720051d7c5234102e0b3869ba96ffcfe5c9942 | 99 | cc | C++ | drake/tests/base/runner/main.cc | wk8/elle | a66d3c0aeca86bcd13ec14d3797edc660b2496fc | [
"Apache-2.0"
] | 521 | 2016-02-14T00:39:01.000Z | 2022-03-01T22:39:25.000Z | drake/tests/base/runner/main.cc | mefyl/elle | a8154593c42743f45b9df09daf62b44630c24a02 | [
"Apache-2.0"
] | 8 | 2017-02-21T11:47:33.000Z | 2018-11-01T09:37:14.000Z | drake/tests/base/runner/main.cc | mefyl/elle | a8154593c42743f45b9df09daf62b44630c24a02 | [
"Apache-2.0"
] | 48 | 2017-02-21T10:18:13.000Z | 2022-03-25T02:35:20.000Z | #include <iostream>
int answer();
int main()
{
std::cout << "out " << answer() << std::endl;
}
| 11 | 47 | 0.545455 | wk8 |
cb7401366ea1a35e697ca49934aed1a26c6cfb95 | 3,949 | cpp | C++ | Master/cores/esp8266/core_esp8266_main.cpp | morlantechnologies/Arduino-Libraries | 128313d34f746bee660c0234050bae1af99745df | [
"MIT"
] | null | null | null | Master/cores/esp8266/core_esp8266_main.cpp | morlantechnologies/Arduino-Libraries | 128313d34f746bee660c0234050bae1af99745df | [
"MIT"
] | null | null | null | Master/cores/esp8266/core_esp8266_main.cpp | morlantechnologies/Arduino-Libraries | 128313d34f746bee660c0234050bae1af99745df | [
"MIT"
] | null | null | null | /*
main.cpp - platform initialization and context switching
emulation
Copyright (c) 2014 Ivan Grokhotkov. All rights reserved.
This file is part of the esp8266 core for Arduino environment.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
... | 23.646707 | 101 | 0.697392 | morlantechnologies |
cb750f70da33c061891301c1853b358dceefa369 | 1,349 | hpp | C++ | src/base/PlannerConfigurator.hpp | pkicki/bench-mr | db22f75062aff47cf0800c8a2189db1f674a93cc | [
"Apache-2.0",
"MIT"
] | 41 | 2021-02-10T08:40:34.000Z | 2022-03-20T18:33:20.000Z | src/base/PlannerConfigurator.hpp | pkicki/bench-mr | db22f75062aff47cf0800c8a2189db1f674a93cc | [
"Apache-2.0",
"MIT"
] | 5 | 2021-06-15T14:27:53.000Z | 2022-02-20T08:16:55.000Z | src/base/PlannerConfigurator.hpp | pkicki/bench-mr | db22f75062aff47cf0800c8a2189db1f674a93cc | [
"Apache-2.0",
"MIT"
] | 23 | 2021-04-07T08:09:49.000Z | 2022-03-20T18:33:53.000Z | #pragma once
#include <ompl/geometric/planners/rrt/RRTstar.h>
#include "PlannerSettings.h"
#include "planners/OMPLControlPlanner.hpp"
#include "planners/OMPLPlanner.hpp"
namespace ob = ompl::base;
namespace og = ompl::geometric;
class PlannerConfigurator {
public:
PlannerConfigurator() = delete;
template <typ... | 28.702128 | 80 | 0.662713 | pkicki |
cb75886e88f17263a61db65197759a158a653fd0 | 3,583 | cc | C++ | src/net/TcpServer.cc | GGGGITFKBJG/wethands | 169b2c4e8758657de10fa5850d1749014338a31d | [
"MIT"
] | 3 | 2020-12-03T13:18:17.000Z | 2021-11-12T12:15:36.000Z | src/net/TcpServer.cc | GGGGITFKBJG/wethands | 169b2c4e8758657de10fa5850d1749014338a31d | [
"MIT"
] | null | null | null | src/net/TcpServer.cc | GGGGITFKBJG/wethands | 169b2c4e8758657de10fa5850d1749014338a31d | [
"MIT"
] | null | null | null | // Copyright (c) 2020 GGGGITFKBJG
//
// Date: 2020-06-04 10:09:40
// Description:
#include "src/net/TcpServer.h"
#include <cassert>
#include <utility>
#include "src/logger/Logger.h"
namespace wethands {
namespace details {
void DefaultConnectionCallback(const TcpConnectionPtr& conn) {
LOG_TRACE << "DefaultConnecti... | 32.87156 | 78 | 0.657829 | GGGGITFKBJG |
cb78078a2e040a3fada0567c1872975d87bdddf7 | 143,715 | cpp | C++ | solarpilot/SolarField.cpp | sacorbet97/ssc | 6887d1e011de4f9ead8b283276c8c49f0f1dba2e | [
"MIT"
] | 3 | 2017-09-04T12:19:13.000Z | 2017-09-12T15:44:38.000Z | solarpilot/SolarField.cpp | sacorbet97/ssc | 6887d1e011de4f9ead8b283276c8c49f0f1dba2e | [
"MIT"
] | 1 | 2018-03-26T06:50:20.000Z | 2018-03-26T06:50:20.000Z | solarpilot/SolarField.cpp | sacorbet97/ssc | 6887d1e011de4f9ead8b283276c8c49f0f1dba2e | [
"MIT"
] | 2 | 2018-02-12T22:23:55.000Z | 2018-08-23T07:32:54.000Z | /*******************************************************************************************************
* Copyright 2017 Alliance for Sustainable Energy, LLC
*
* NOTICE: This software was developed at least in part by Alliance for Sustainable Energy, LLC
* (“Alliance”) under Contract No. DE-AC36-08GO28308 with the ... | 34.671894 | 207 | 0.655861 | sacorbet97 |
cb7a0be7b13f047a0c6b3a1b4880db2971c97730 | 1,711 | cpp | C++ | Lab2/TCP_NODELAY.cpp | mohitreddy1996/Distributed-Computing-Lab | a819a3245c14c2faa81cda89db45cdc368813828 | [
"MIT"
] | null | null | null | Lab2/TCP_NODELAY.cpp | mohitreddy1996/Distributed-Computing-Lab | a819a3245c14c2faa81cda89db45cdc368813828 | [
"MIT"
] | null | null | null | Lab2/TCP_NODELAY.cpp | mohitreddy1996/Distributed-Computing-Lab | a819a3245c14c2faa81cda89db45cdc368813828 | [
"MIT"
] | null | null | null | /*
* Nagle's algorithm: Means to improve efficiency of TCP/IP networks by reducing
* the number of packets that need to be sent over the network.
* Application repeatedly emits data in small chunks causing huge overhead.
* Nagle's algorithm works by combining a number of small outgoing messages
* and sending th... | 29.5 | 93 | 0.670953 | mohitreddy1996 |
cb7b75f78252d6ef3d9aee01e29b0c2ab68d9c0c | 40,533 | cpp | C++ | test/test_util_network_ssl.cpp | Subv/realm-core | 377a85d2a385a31ec91be7e5fe8c09d22365df97 | [
"Apache-2.0"
] | null | null | null | test/test_util_network_ssl.cpp | Subv/realm-core | 377a85d2a385a31ec91be7e5fe8c09d22365df97 | [
"Apache-2.0"
] | null | null | null | test/test_util_network_ssl.cpp | Subv/realm-core | 377a85d2a385a31ec91be7e5fe8c09d22365df97 | [
"Apache-2.0"
] | null | null | null | #include <thread>
#include <realm/util/network_ssl.hpp>
#include "test.hpp"
#include "util/semaphore.hpp"
using namespace realm::util;
using namespace realm::test_util;
// Test independence and thread-safety
// -----------------------------------
//
// All tests must be thread safe and independent of each other. T... | 36.814714 | 118 | 0.67202 | Subv |
cb7be63bf7169f5964fc0dd146f4277e61f370cb | 329 | cpp | C++ | src/modules/utils/socketUtils.cpp | securesonic/safekiddo-backend | c94db1ee35eebfd2a7faef072802d1bddc789d0f | [
"BSD-2-Clause"
] | null | null | null | src/modules/utils/socketUtils.cpp | securesonic/safekiddo-backend | c94db1ee35eebfd2a7faef072802d1bddc789d0f | [
"BSD-2-Clause"
] | null | null | null | src/modules/utils/socketUtils.cpp | securesonic/safekiddo-backend | c94db1ee35eebfd2a7faef072802d1bddc789d0f | [
"BSD-2-Clause"
] | null | null | null | #include "utils/socketUtils.h"
#include "utils/alerts.h"
#include <errno.h>
void safeSetsockopt(int sockfd, int level, int optname, const void *optval, socklen_t optlen)
{
if (::setsockopt(sockfd, level, optname, optval, optlen))
{
int const err = errno;
ALERT("safeSetsockopt failed", err, sockfd, level, optnam... | 23.5 | 93 | 0.714286 | securesonic |
cb7c3da181caad79259ce9744c76fef4680acfb0 | 9,305 | cpp | C++ | editor/widgets/SceneImporter.cpp | ValtoGameEngines/Yave-Engine | aa8850c1e46ba2017db799eca43cee835db3d3b8 | [
"MIT"
] | 2 | 2020-07-20T19:05:26.000Z | 2021-01-09T14:42:22.000Z | editor/widgets/SceneImporter.cpp | ValtoGameEngines/Yave-Engine | aa8850c1e46ba2017db799eca43cee835db3d3b8 | [
"MIT"
] | null | null | null | editor/widgets/SceneImporter.cpp | ValtoGameEngines/Yave-Engine | aa8850c1e46ba2017db799eca43cee835db3d3b8 | [
"MIT"
] | 1 | 2020-06-29T08:05:53.000Z | 2020-06-29T08:05:53.000Z | /*******************************
Copyright (c) 2016-2020 Grégoire Angerand
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... | 33.471223 | 119 | 0.685438 | ValtoGameEngines |
cb7d4e99553e4a901cf6db8a0468e242dc6b703f | 2,058 | hpp | C++ | src/engine/processing/GaussianBlur.hpp | kosua20/Rendu | 6b8e730f16658738572bc2f49e08fc4a2c59df07 | [
"MIT"
] | 399 | 2019-05-25T16:05:59.000Z | 2022-03-31T23:38:04.000Z | src/engine/processing/GaussianBlur.hpp | kosua20/Rendu | 6b8e730f16658738572bc2f49e08fc4a2c59df07 | [
"MIT"
] | 3 | 2019-07-23T21:03:33.000Z | 2020-12-14T12:47:51.000Z | src/engine/processing/GaussianBlur.hpp | kosua20/Rendu | 6b8e730f16658738572bc2f49e08fc4a2c59df07 | [
"MIT"
] | 20 | 2019-06-08T17:15:01.000Z | 2022-03-21T11:20:14.000Z | #pragma once
#include "graphics/Framebuffer.hpp"
#include "graphics/Program.hpp"
#include "Common.hpp"
/**
\brief Applies an approximate gaussian blur using a dual filtering approach.
\details Use a downscaled pyramid approach to approximate a gaussian blur with a large radius.
The input texture is downscaled a n... | 39.576923 | 170 | 0.747328 | kosua20 |
cb8022c42f590596e9bcb97757165fac8ef476f5 | 1,850 | cpp | C++ | thirdparty/fluid/modules/gapi/samples/dynamic_graph.cpp | pazamelin/openvino | b7e8ef910d7ed8e52326d14dc6fd53b71d16ed48 | [
"Apache-2.0"
] | 56,632 | 2016-07-04T16:36:08.000Z | 2022-03-31T18:38:14.000Z | modules/gapi/samples/dynamic_graph.cpp | yusufm423/opencv | 6a2077cbd8a8a0d8cbd3e0e8c3ca239f17e6c067 | [
"Apache-2.0"
] | 13,593 | 2016-07-04T13:59:03.000Z | 2022-03-31T21:04:51.000Z | modules/gapi/samples/dynamic_graph.cpp | yusufm423/opencv | 6a2077cbd8a8a0d8cbd3e0e8c3ca239f17e6c067 | [
"Apache-2.0"
] | 54,986 | 2016-07-04T14:24:38.000Z | 2022-03-31T22:51:18.000Z | #include <opencv2/gapi.hpp>
#include <opencv2/gapi/core.hpp>
#include <opencv2/gapi/cpu/core.hpp>
int main(int argc, char *argv[])
{
(void) argc;
(void) argv;
bool need_first_conversion = true;
bool need_second_conversion = false;
cv::Size szOut(4, 4);
cv::GComputation cc([&](){
// ! [GIOPro... | 26.811594 | 88 | 0.590811 | pazamelin |
cb80b31eabe2f186879f72c627146ef22579f727 | 1,803 | cpp | C++ | src/medPacs/medAbstractPacsMoveScu.cpp | ocommowi/medInria-public | 9074e40c886881666e7a52c53309d8d28e35c0e6 | [
"BSD-4-Clause"
] | null | null | null | src/medPacs/medAbstractPacsMoveScu.cpp | ocommowi/medInria-public | 9074e40c886881666e7a52c53309d8d28e35c0e6 | [
"BSD-4-Clause"
] | null | null | null | src/medPacs/medAbstractPacsMoveScu.cpp | ocommowi/medInria-public | 9074e40c886881666e7a52c53309d8d28e35c0e6 | [
"BSD-4-Clause"
] | null | null | null | /*=========================================================================
medInria
Copyright (c) INRIA 2013. All rights reserved.
See LICENSE.txt for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
====... | 21.987805 | 174 | 0.695507 | ocommowi |
cb80e817794d89f60a9a68f2a6fb6135e2762dc1 | 5,612 | cpp | C++ | src/Material.cpp | JoshNoel/Raytracer | 2ff3aaecb5d9048a9b6a5f0a1a05560449dacd0e | [
"MIT"
] | null | null | null | src/Material.cpp | JoshNoel/Raytracer | 2ff3aaecb5d9048a9b6a5f0a1a05560449dacd0e | [
"MIT"
] | null | null | null | src/Material.cpp | JoshNoel/Raytracer | 2ff3aaecb5d9048a9b6a5f0a1a05560449dacd0e | [
"MIT"
] | null | null | null | #include "Material.h"
#include "Ray.h"
#include "Triangle.h"
#include "MathHelper.h"
#include <array>
#include <fstream>
#include "helper/array.h"
Material::Material(glm::vec3 col, float dc, glm::vec3 specCol, float sc, float shine, float ref, float ior)
: color(col), diffuseCoef(dc), indexOfRefrac(ior), specCoef(sc)... | 27.509804 | 110 | 0.651639 | JoshNoel |
cb8162399af43d9a5efaedb073af7a4f2961586c | 4,388 | hpp | C++ | src/vsutl/ObjRefSPtr.hpp | inflation/fmtconv | bf03a8a1a4103c0bdf4b4c23da5b79933876ca4a | [
"WTFPL"
] | null | null | null | src/vsutl/ObjRefSPtr.hpp | inflation/fmtconv | bf03a8a1a4103c0bdf4b4c23da5b79933876ca4a | [
"WTFPL"
] | null | null | null | src/vsutl/ObjRefSPtr.hpp | inflation/fmtconv | bf03a8a1a4103c0bdf4b4c23da5b79933876ca4a | [
"WTFPL"
] | null | null | null | /*****************************************************************************
ObjRefSPtr.hpp
Author: Laurent de Soras, 2012
--- Legal stuff ---
This program is free software. It comes without any warranty, to
the extent permitted by applicable law. You can redistribute it
and/or modify it under the ... | 23.718919 | 143 | 0.584549 | inflation |
cb82b95e796f59f5085527c2cedd5e626493675a | 530 | cc | C++ | yt/cpp-template/src/lib/cpplib.cc | e-dnx/courses | d21742a51447496f541dc8ec32b0df79d709dbff | [
"MIT"
] | null | null | null | yt/cpp-template/src/lib/cpplib.cc | e-dnx/courses | d21742a51447496f541dc8ec32b0df79d709dbff | [
"MIT"
] | null | null | null | yt/cpp-template/src/lib/cpplib.cc | e-dnx/courses | d21742a51447496f541dc8ec32b0df79d709dbff | [
"MIT"
] | null | null | null | #include "cpplib.h"
#include "limits"
std::string CPPLib::PrintHelloWorld() { return "**** Hello World ****"; }
// Calculates the Nth Fibonacci number
int CPPLib::fib(int N) {
if (N == 0) {
return 0;
}
if (N == 1) {
return 1;
}
return fib(N - 1) + fib(N - 2);
}
int CPPLib::FindMax(const std::vect... | 16.5625 | 73 | 0.549057 | e-dnx |
cb84e9107629a707a960099bcb2136de5f346805 | 3,756 | cpp | C++ | UDPSocket.cpp | chrisoldwood/NCL | d57e50ffecddee5c422b6d4cbbadeeb6c65411e9 | [
"MIT"
] | 8 | 2015-02-12T00:41:19.000Z | 2020-09-11T13:14:05.000Z | UDPSocket.cpp | chrisoldwood/NCL | d57e50ffecddee5c422b6d4cbbadeeb6c65411e9 | [
"MIT"
] | null | null | null | UDPSocket.cpp | chrisoldwood/NCL | d57e50ffecddee5c422b6d4cbbadeeb6c65411e9 | [
"MIT"
] | 4 | 2017-04-27T14:25:06.000Z | 2020-07-23T10:54:29.000Z | /******************************************************************************
** (C) Chris Oldwood
**
** MODULE: UDPSOCKET.CPP
** COMPONENT: Network & Comms Library
** DESCRIPTION: CUDPSocket class definition.
**
*******************************************************************************
*/
#include "Common.hpp... | 24.874172 | 98 | 0.509052 | chrisoldwood |
cb859f981d2cb602a89537d25e7d52ce9e9033ec | 20 | cpp | C++ | DRMS/src/drmsafx.cpp | DhirajWishal/DRMS | 51171a0f94ce4b2b2c52886b50e818a351715c2d | [
"MIT"
] | 3 | 2020-01-17T10:22:40.000Z | 2020-02-05T04:47:31.000Z | DRMS/src/drmsafx.cpp | DhirajWishal/DRMS | 51171a0f94ce4b2b2c52886b50e818a351715c2d | [
"MIT"
] | null | null | null | DRMS/src/drmsafx.cpp | DhirajWishal/DRMS | 51171a0f94ce4b2b2c52886b50e818a351715c2d | [
"MIT"
] | null | null | null | #include "drmsafx.h" | 20 | 20 | 0.75 | DhirajWishal |
cb86812e16aa82bdaa9856ed5fd0b65b4f0e007a | 5,154 | cpp | C++ | src/ui/Badge.cpp | luzpaz/gitahead | 201bb1af436e0fe316700c6da59dc1fb87b00714 | [
"MIT"
] | 2 | 2021-05-22T17:22:25.000Z | 2022-03-27T08:43:35.000Z | src/ui/Badge.cpp | Efreets/GitAhead | 51590c19e5b576352b28764970a8414b57e54d32 | [
"MIT"
] | null | null | null | src/ui/Badge.cpp | Efreets/GitAhead | 51590c19e5b576352b28764970a8414b57e54d32 | [
"MIT"
] | null | null | null | //
// Copyright (c) 2016, Scientific Toolworks, Inc.
//
// This software is licensed under the MIT License. The LICENSE.md file
// describes the conditions under which this software may be distributed.
//
// Author: Jason Haslam
//
#include "Badge.h"
#include "app/Application.h"
#include <QPainter>
#include <... | 25.77 | 79 | 0.643384 | luzpaz |
cb86d020926f4bdd1a6b0390b31c46990939a1fa | 3,986 | cpp | C++ | libs/asio/test/buffer.cpp | zyiacas/boost-doc-zh | 689e5a3a0a4dbead1a960f7b039e3decda54aa2c | [
"BSL-1.0"
] | 11 | 2015-07-12T13:04:52.000Z | 2021-05-30T23:23:46.000Z | libs/asio/test/buffer.cpp | sdfict/boost-doc-zh | 689e5a3a0a4dbead1a960f7b039e3decda54aa2c | [
"BSL-1.0"
] | null | null | null | libs/asio/test/buffer.cpp | sdfict/boost-doc-zh | 689e5a3a0a4dbead1a960f7b039e3decda54aa2c | [
"BSL-1.0"
] | 3 | 2015-12-23T01:51:57.000Z | 2019-08-25T04:58:32.000Z | //
// buffer.cpp
// ~~~~~~~~~~
//
// Copyright (c) 2003-2010 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
// Disable autolinking for unit tests... | 26.751678 | 81 | 0.623432 | zyiacas |
cb87696c4881154da3875a239a73a08433467bd7 | 2,012 | cpp | C++ | core/src/view/light/PointLight.cpp | masrice/megamol | d48fc4889f500528609053a5445202a9c0f6e5fb | [
"BSD-3-Clause"
] | 49 | 2017-08-23T13:24:24.000Z | 2022-03-16T09:10:58.000Z | core/src/view/light/PointLight.cpp | masrice/megamol | d48fc4889f500528609053a5445202a9c0f6e5fb | [
"BSD-3-Clause"
] | 200 | 2018-07-20T15:18:26.000Z | 2022-03-31T11:01:44.000Z | core/src/view/light/PointLight.cpp | masrice/megamol | d48fc4889f500528609053a5445202a9c0f6e5fb | [
"BSD-3-Clause"
] | 31 | 2017-07-31T16:19:29.000Z | 2022-02-14T23:41:03.000Z | /*
* PointLight.cpp
* Copyright (C) 2009-2017 by MegaMol Team
* Alle Rechte vorbehalten.
*/
#include "mmcore/view/light/PointLight.h"
#include "mmcore/param/ColorParam.h"
#include "mmcore/param/FloatParam.h"
#include "mmcore/param/Vector3fParam.h"
#include "stdafx.h"
using namespace megamol::core::view::light;
v... | 30.484848 | 103 | 0.683897 | masrice |
cb895cc74f5f07e2f545cb7b68fcf34a149eefe9 | 7,975 | cpp | C++ | interface/src/VisionSqueeze.cpp | Darlingnotin/Antisocial_VR | f1debafb784ed5a63a40fe9b80790fbaccfedfce | [
"Apache-2.0"
] | 272 | 2021-01-07T03:06:08.000Z | 2022-03-25T03:54:07.000Z | interface/src/VisionSqueeze.cpp | Darlingnotin/Antisocial_VR | f1debafb784ed5a63a40fe9b80790fbaccfedfce | [
"Apache-2.0"
] | 1,021 | 2020-12-12T02:33:32.000Z | 2022-03-31T23:36:37.000Z | interface/src/VisionSqueeze.cpp | Darlingnotin/Antisocial_VR | f1debafb784ed5a63a40fe9b80790fbaccfedfce | [
"Apache-2.0"
] | 77 | 2020-12-15T06:59:34.000Z | 2022-03-23T22:18:04.000Z | //
// VisionSqueeze.cpp
// interface/src
//
// Created by Seth Alves on 2019-3-13.
// Copyright 2019 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
//
#include "VisionSqueeze.h"
#include <glm/gt... | 37.266355 | 106 | 0.685141 | Darlingnotin |
cb8964efc3e0de162559226feb6de3d668afb4ad | 6,851 | hpp | C++ | tuttex/adjacency_list.hpp | DavePearce/TuttePoly | 0a97f50d0c7bede42c39e19e7f5145b06aaad45d | [
"BSD-3-Clause"
] | null | null | null | tuttex/adjacency_list.hpp | DavePearce/TuttePoly | 0a97f50d0c7bede42c39e19e7f5145b06aaad45d | [
"BSD-3-Clause"
] | 1 | 2021-01-27T23:04:31.000Z | 2021-01-27T23:04:31.000Z | tuttex/adjacency_list.hpp | DavePearce/TuttePoly | 0a97f50d0c7bede42c39e19e7f5145b06aaad45d | [
"BSD-3-Clause"
] | null | null | null | // (C) Copyright David James Pearce and Gary Haggard, 2007.
// Permission to copy, use, modify, sell and distribute this software
// is granted provided this copyright notice appears in all copies.
// This software is provided "as is" without express or implied
// warranty, and with no claim as to its suitability f... | 29.153191 | 89 | 0.62531 | DavePearce |
cb8965a817a3343072699b5849d6c0b181368995 | 2,034 | cpp | C++ | aws-cpp-sdk-servicediscovery/source/model/RegisterInstanceRequest.cpp | curiousjgeorge/aws-sdk-cpp | 09b65deba03cfbef9a1e5d5986aa4de71bc03cd8 | [
"Apache-2.0"
] | 2 | 2019-03-11T15:50:55.000Z | 2020-02-27T11:40:27.000Z | aws-cpp-sdk-servicediscovery/source/model/RegisterInstanceRequest.cpp | curiousjgeorge/aws-sdk-cpp | 09b65deba03cfbef9a1e5d5986aa4de71bc03cd8 | [
"Apache-2.0"
] | null | null | null | aws-cpp-sdk-servicediscovery/source/model/RegisterInstanceRequest.cpp | curiousjgeorge/aws-sdk-cpp | 09b65deba03cfbef9a1e5d5986aa4de71bc03cd8 | [
"Apache-2.0"
] | 1 | 2019-01-18T13:03:55.000Z | 2019-01-18T13:03:55.000Z | /*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | 25.111111 | 109 | 0.757129 | curiousjgeorge |