hexsha stringlengths 40 40 | size int64 7 1.05M | ext stringclasses 13
values | lang stringclasses 1
value | max_stars_repo_path stringlengths 4 269 | max_stars_repo_name stringlengths 5 109 | max_stars_repo_head_hexsha stringlengths 40 40 | max_stars_repo_licenses listlengths 1 9 | max_stars_count int64 1 191k ⌀ | max_stars_repo_stars_event_min_datetime stringlengths 24 24 ⌀ | max_stars_repo_stars_event_max_datetime stringlengths 24 24 ⌀ | max_issues_repo_path stringlengths 4 269 | max_issues_repo_name stringlengths 5 116 | max_issues_repo_head_hexsha stringlengths 40 40 | max_issues_repo_licenses listlengths 1 9 | max_issues_count int64 1 48.5k ⌀ | max_issues_repo_issues_event_min_datetime stringlengths 24 24 ⌀ | max_issues_repo_issues_event_max_datetime stringlengths 24 24 ⌀ | max_forks_repo_path stringlengths 4 269 | max_forks_repo_name stringlengths 5 116 | max_forks_repo_head_hexsha stringlengths 40 40 | max_forks_repo_licenses listlengths 1 9 | max_forks_count int64 1 105k ⌀ | max_forks_repo_forks_event_min_datetime stringlengths 24 24 ⌀ | max_forks_repo_forks_event_max_datetime stringlengths 24 24 ⌀ | content stringlengths 7 1.05M | avg_line_length float64 1.21 330k | max_line_length int64 6 990k | alphanum_fraction float64 0.01 0.99 | author_id stringlengths 2 40 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0fa4206a393f83c155a404d6f224aca9813a3adb | 8,475 | cpp | C++ | Plugins/PLRendererD3D11/src/SurfaceWindow.cpp | ktotheoz/pixellight | 43a661e762034054b47766d7e38d94baf22d2038 | [
"MIT"
] | 83 | 2015-01-08T15:06:14.000Z | 2021-07-20T17:07:00.000Z | Plugins/PLRendererD3D11/src/SurfaceWindow.cpp | PixelLightFoundation/pixellight | 43a661e762034054b47766d7e38d94baf22d2038 | [
"MIT"
] | 27 | 2019-06-18T06:46:07.000Z | 2020-02-02T11:11:28.000Z | Plugins/PLRendererD3D11/src/SurfaceWindow.cpp | naetherm/PixelLight | d7666f5b49020334cbb5debbee11030f34cced56 | [
"MIT"
] | 40 | 2015-02-25T18:24:34.000Z | 2021-03-06T09:01:48.000Z | /*********************************************************\
* File: SurfaceWindow.cpp *
*
* Copyright (C) 2002-2013 The PixelLight Team (http://www.pixellight.org/)
*
* This file is part of PixelLight.
*
* Permission is hereby granted, free of charge, to any person obtaining a co... | 34.876543 | 143 | 0.640354 | ktotheoz |
0fa4963abaf6d5082c72c4deb859155f92552e12 | 596 | cpp | C++ | imageutils.cpp | tsymalla/qml-clipboard-manager | 58b4f0e8195eb913beffa0f9c732d6cf23c36ece | [
"MIT"
] | null | null | null | imageutils.cpp | tsymalla/qml-clipboard-manager | 58b4f0e8195eb913beffa0f9c732d6cf23c36ece | [
"MIT"
] | null | null | null | imageutils.cpp | tsymalla/qml-clipboard-manager | 58b4f0e8195eb913beffa0f9c732d6cf23c36ece | [
"MIT"
] | null | null | null | #include "imageutils.h"
#include <QString>
#include <QImage>
#include <QByteArray>
#include <QUrl>
#include <QMimeDatabase>
#include <QMimeType>
#include <QFile>
QString ImageUtils::toBase64(const QUrl& imageUrl)
{
QFile source(imageUrl.toLocalFile());
source.open(QIODevice::ReadOnly);
if (!source.isOpen(... | 18.625 | 66 | 0.67953 | tsymalla |
0fa5db12d5b6ea1813cf9530e158be8745349042 | 18,749 | cc | C++ | include/loc/_num_get.cc | Hower91/Apache-C-Standard-Library-4.2.x | 4d9011d60dbb38b3ff80dcfe54dccd3a4647d9d3 | [
"Apache-2.0"
] | null | null | null | include/loc/_num_get.cc | Hower91/Apache-C-Standard-Library-4.2.x | 4d9011d60dbb38b3ff80dcfe54dccd3a4647d9d3 | [
"Apache-2.0"
] | null | null | null | include/loc/_num_get.cc | Hower91/Apache-C-Standard-Library-4.2.x | 4d9011d60dbb38b3ff80dcfe54dccd3a4647d9d3 | [
"Apache-2.0"
] | null | null | null | /***************************************************************************
*
* _num_get.cc - definition of std::num_get members
*
* $Id: //stdlib/dev/include/loc/_num_get.cc#51 $
*
***************************************************************************
*
* Copyright (c) 1994-2005 Quovadx, Inc., acting th... | 34.151184 | 80 | 0.526321 | Hower91 |
0fa6a178f834a127f55edf24cc0f3b74f9215c77 | 6,661 | cpp | C++ | mainwindow.cpp | rusmanr/BuckBoostConverter | 13c500e1012cc402c08c53704ab5c33f0468c064 | [
"MIT"
] | null | null | null | mainwindow.cpp | rusmanr/BuckBoostConverter | 13c500e1012cc402c08c53704ab5c33f0468c064 | [
"MIT"
] | null | null | null | mainwindow.cpp | rusmanr/BuckBoostConverter | 13c500e1012cc402c08c53704ab5c33f0468c064 | [
"MIT"
] | null | null | null | #include "mainwindow.h"
#include "ui_mainwindow.h"
#include "math.h"
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow)
{
ui->setupUi(this);
ui->customPlot->setInteractions(QCP::iRangeDrag | QCP::iRangeZoom | QCP::iSelectAxes |
QCP... | 42.158228 | 147 | 0.692088 | rusmanr |
0fa8025c9f9531a76b1b1e266c6db8145b364132 | 2,673 | hpp | C++ | libtest/src/test_properties.hpp | rvt/bbq-controller | 6ff1591b238e180dc0431a5829a9f0f6eaa7c08d | [
"MIT"
] | 13 | 2019-02-26T20:14:32.000Z | 2022-01-12T23:54:00.000Z | libtest/src/test_properties.hpp | rvt/bbq-controller | 6ff1591b238e180dc0431a5829a9f0f6eaa7c08d | [
"MIT"
] | null | null | null | libtest/src/test_properties.hpp | rvt/bbq-controller | 6ff1591b238e180dc0431a5829a9f0f6eaa7c08d | [
"MIT"
] | 2 | 2021-09-21T22:44:06.000Z | 2022-03-11T01:08:50.000Z | #include <catch2/catch.hpp>
#include <memory>
#include <propertyutils.h>
#include <string>
#include <array>
using Catch::Matchers::Equals;
typedef PropertyValue PV ;
TEST_CASE("Scenario Properties", "[properties]") {
Properties properties;
SECTION("Should store const* char") {
properties.put("foo",... | 37.647887 | 87 | 0.611672 | rvt |
0fac7604b0d0d29c82dd26cb7f861311596fbe83 | 2,448 | cpp | C++ | src/qt/coinjoinconfig.cpp | DreamShokk/bagicoin | a7bd92106dcbf933c0aff4bc608e495a6ceba02f | [
"MIT"
] | null | null | null | src/qt/coinjoinconfig.cpp | DreamShokk/bagicoin | a7bd92106dcbf933c0aff4bc608e495a6ceba02f | [
"MIT"
] | null | null | null | src/qt/coinjoinconfig.cpp | DreamShokk/bagicoin | a7bd92106dcbf933c0aff4bc608e495a6ceba02f | [
"MIT"
] | null | null | null | #include <qt/coinjoinconfig.h>
#include <qt/forms/ui_coinjoinconfig.h>
#include <qt/bitcoinunits.h>
#include <qt/guiconstants.h>
#include <qt/optionsmodel.h>
#include <qt/walletmodel.h>
#include <QMessageBox>
#include <QPushButton>
#include <QKeyEvent>
#include <QSettings>
CoinJoinConfig::CoinJoinConfig(QWidget *par... | 27.2 | 150 | 0.690359 | DreamShokk |
0fad222babb704d0d613fcb286780c79d3c6276c | 739 | cpp | C++ | Chapitre 4/Exercices D'application (Cours)/Exercice 5/Ex5.cpp | BoussairiIkram/ProgrammingCpp_Tp_Pr.Khalifa-MANSOURI- | 1b14d47bf7c4f5b7bf4efb0eb4afd000b1750574 | [
"MIT"
] | null | null | null | Chapitre 4/Exercices D'application (Cours)/Exercice 5/Ex5.cpp | BoussairiIkram/ProgrammingCpp_Tp_Pr.Khalifa-MANSOURI- | 1b14d47bf7c4f5b7bf4efb0eb4afd000b1750574 | [
"MIT"
] | null | null | null | Chapitre 4/Exercices D'application (Cours)/Exercice 5/Ex5.cpp | BoussairiIkram/ProgrammingCpp_Tp_Pr.Khalifa-MANSOURI- | 1b14d47bf7c4f5b7bf4efb0eb4afd000b1750574 | [
"MIT"
] | null | null | null | #include<iostream>
using namespace std;
// Construction et destruction des objets dynamiques :
class Point{
private :
int x,y;
public :
Point(int, int);
~Point();
void Afficher();
};
Point :: Point(int abs, int ord ){
x= abs; y=ord;
}
Point :: ~Point(){
cout << "Destruction du point ("<< x << "," <<... | 13.196429 | 61 | 0.542625 | BoussairiIkram |
0fb25d089d1e4f27d6d2ff872a0e5c6edba2b7a4 | 786 | cpp | C++ | main.cpp | WillAchain/lvm | 1511459593df943be8a431ac968ff23083481da8 | [
"MIT"
] | null | null | null | main.cpp | WillAchain/lvm | 1511459593df943be8a431ac968ff23083481da8 | [
"MIT"
] | null | null | null | main.cpp | WillAchain/lvm | 1511459593df943be8a431ac968ff23083481da8 | [
"MIT"
] | null | null | null | #include <client/client.hpp>
#include <stub/stub.hpp>
#include <fc/log/logger_config.hpp>
#include <fstream>
#include <iomanip>
#include <iostream>
bool g_stub_test_enable = false;
int main(int argc, char** argv) {
if (g_stub_test_enable) {
StubPtr stub = std::make_shared<Stub>();
stub->start();... | 26.2 | 64 | 0.573791 | WillAchain |
0fb8ee100a1cc384f56b46a9f05da4a6c3d2b427 | 3,632 | cpp | C++ | framework/operators/slice.cpp | xklnono/test | af7d12fe0a6d2fc25835b8e5080e3b8e22e23a52 | [
"Apache-2.0"
] | 2 | 2019-12-27T01:16:00.000Z | 2021-05-14T08:12:14.000Z | framework/operators/slice.cpp | xklnono/test | af7d12fe0a6d2fc25835b8e5080e3b8e22e23a52 | [
"Apache-2.0"
] | null | null | null | framework/operators/slice.cpp | xklnono/test | af7d12fe0a6d2fc25835b8e5080e3b8e22e23a52 | [
"Apache-2.0"
] | 1 | 2021-02-13T07:51:41.000Z | 2021-02-13T07:51:41.000Z | #include "framework/operators/slice.h"
namespace anakin {
namespace ops {
#ifdef USE_CUDA
template<>
void Slice<NV, AK_FLOAT, Precision::FP32>::operator()(
OpContext<NV>& ctx,
const std::vector<Tensor4dPtr<NV, AK_FLOAT> >& ins,
std::vector<Tensor4dPtr<NV, AK_FLOAT> >& outs) {
auto* impl =
sta... | 32.141593 | 98 | 0.682819 | xklnono |
0fbc1d020ff379fb6dcef3610c780476c4f59209 | 2,856 | cpp | C++ | LE/lesectionheaderwidget.cpp | horsicq/FormatWidgets | a324654c23ddc6c38b22df30abe02131e48263ba | [
"MIT"
] | 2 | 2019-04-03T16:57:17.000Z | 2020-05-18T12:45:21.000Z | LE/lesectionheaderwidget.cpp | horsicq/FormatWidgets | a324654c23ddc6c38b22df30abe02131e48263ba | [
"MIT"
] | 3 | 2021-06-15T07:40:37.000Z | 2022-01-15T23:15:31.000Z | LE/lesectionheaderwidget.cpp | horsicq/FormatWidgets | a324654c23ddc6c38b22df30abe02131e48263ba | [
"MIT"
] | 3 | 2019-04-05T20:23:03.000Z | 2020-08-07T00:22:19.000Z | // copyright (c) 2019-2021 hors<horsicq@gmail.com>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, mod... | 29.443299 | 156 | 0.745798 | horsicq |
0fc2e6ec0865ffc8b97f6d0ff5eef37ef77de2d8 | 849 | cpp | C++ | apps/scout_monitor/src/nshapes.cpp | faulhornlabs/ugv_sdk | 1e1060641340a3449209954352635a5b26b427cc | [
"BSD-3-Clause"
] | 20 | 2020-09-27T12:43:35.000Z | 2022-03-23T10:35:43.000Z | apps/scout_monitor/src/nshapes.cpp | faulhornlabs/ugv_sdk | 1e1060641340a3449209954352635a5b26b427cc | [
"BSD-3-Clause"
] | 2 | 2021-02-03T16:29:00.000Z | 2021-08-31T13:36:53.000Z | apps/scout_monitor/src/nshapes.cpp | faulhornlabs/ugv_sdk | 1e1060641340a3449209954352635a5b26b427cc | [
"BSD-3-Clause"
] | 9 | 2021-02-03T16:01:40.000Z | 2021-11-26T07:02:55.000Z | /*
* nshapers.cpp
*
* Created on: Jun 20, 2019 06:21
* Description:
*
* Copyright (c) 2019 Ruixiang Du (rdu)
*/
#include "monitor/nshapes.hpp"
namespace westonrobot
{
void NShapes::DrawRectangle(int tl_y, int tl_x, int br_y, int br_x)
{
for (int i = tl_y; i <= br_y; ++i)
{
mvprintw(i, tl_x,... | 20.707317 | 81 | 0.514723 | faulhornlabs |
0fc5fdbe73a5b6438ba7806eb602408fc52242b7 | 1,727 | cpp | C++ | src/database/DatabaseRequestIterator.cpp | daladim/access-log-monitor | 497751cd8ca99b0520c565579c6a53f4cf561c02 | [
"MIT"
] | null | null | null | src/database/DatabaseRequestIterator.cpp | daladim/access-log-monitor | 497751cd8ca99b0520c565579c6a53f4cf561c02 | [
"MIT"
] | null | null | null | src/database/DatabaseRequestIterator.cpp | daladim/access-log-monitor | 497751cd8ca99b0520c565579c6a53f4cf561c02 | [
"MIT"
] | null | null | null | #include "DatabaseRequest.hpp"
using namespace std;
namespace LogSupervisor::Database{
Request::Iterator::Iterator(SQLite::Statement::Iterator sqlsi) :
sqlsi(sqlsi)
{}
std::shared_ptr<LogSupervisor::Authentication> Request::Iterator::currentAuth(){
int id = sqlsi->intValue(0);
Use... | 34.54 | 104 | 0.669948 | daladim |
0fc652180ed2dbdfe4f910b2e3024d2c32f5921e | 684 | cpp | C++ | src_test_folders/pipeline/ros_pipeline/Main.cpp | markgrts/suii_vision_3d | 00ff38f9cce4dce9426a3fdf595810d9b31360e7 | [
"BSD-3-Clause"
] | null | null | null | src_test_folders/pipeline/ros_pipeline/Main.cpp | markgrts/suii_vision_3d | 00ff38f9cce4dce9426a3fdf595810d9b31360e7 | [
"BSD-3-Clause"
] | null | null | null | src_test_folders/pipeline/ros_pipeline/Main.cpp | markgrts/suii_vision_3d | 00ff38f9cce4dce9426a3fdf595810d9b31360e7 | [
"BSD-3-Clause"
] | null | null | null | #include <iostream>
#include "getImages.h"
#include <opencv2/opencv.hpp>
#include <librealsense2/rs.hpp>
#include <pcl/visualization/pcl_visualizer.h>
using namespace cv;
using namespace std;
int main(){
GetImages getimage;
img_struct images = getimage.GetPic();
cv::Mat color = images.Image;
//show... | 24.428571 | 88 | 0.687135 | markgrts |
0fc8b49608834f9218c4fda2cd8295ff430b9839 | 3,247 | cpp | C++ | tests/regressions/actions/components/movable_objects.cpp | andreasbuhr/hpx | 4366a90aacbd3e95428a94ab24a1646a67459cc2 | [
"BSL-1.0"
] | null | null | null | tests/regressions/actions/components/movable_objects.cpp | andreasbuhr/hpx | 4366a90aacbd3e95428a94ab24a1646a67459cc2 | [
"BSL-1.0"
] | null | null | null | tests/regressions/actions/components/movable_objects.cpp | andreasbuhr/hpx | 4366a90aacbd3e95428a94ab24a1646a67459cc2 | [
"BSL-1.0"
] | null | null | null | // Copyright (c) 2007-2012 Hartmut Kaiser
//
// 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)
#include <hpx/hpx_fwd.hpp>
#include <hpx/include/serialization.hpp>
#include <tests/regressions/actions/components/mo... | 24.051852 | 80 | 0.62704 | andreasbuhr |
0fccd23754684dd1fbd516f2e05fdf8fb4241223 | 4,121 | cpp | C++ | assignment4/src/myserver/master.cpp | wy4515/418 | f9ad5b6d82a249b2fc6a489cc0b86ac7bd75bf7b | [
"MIT"
] | 1 | 2019-11-02T00:59:52.000Z | 2019-11-02T00:59:52.000Z | assignment4/src/myserver/master.cpp | wy4515/418 | f9ad5b6d82a249b2fc6a489cc0b86ac7bd75bf7b | [
"MIT"
] | null | null | null | assignment4/src/myserver/master.cpp | wy4515/418 | f9ad5b6d82a249b2fc6a489cc0b86ac7bd75bf7b | [
"MIT"
] | null | null | null | #include <glog/logging.h>
#include <stdio.h>
#include <stdlib.h>
#include "server/messages.h"
#include "server/master.h"
static struct Master_state {
// The mstate struct collects all the master node state into one
// place. You do not need to preserve any of the fields below, they
// exist only to implement... | 30.984962 | 130 | 0.727736 | wy4515 |
0fce56ad9bd99d7b33d5228692c2322f98931fe8 | 5,162 | cpp | C++ | engine/src/qlcinputchannel.cpp | hveld/qlcplus | 1dd61a5a3a2c93d7fe88cd2a90574c4849b64829 | [
"Apache-2.0"
] | null | null | null | engine/src/qlcinputchannel.cpp | hveld/qlcplus | 1dd61a5a3a2c93d7fe88cd2a90574c4849b64829 | [
"Apache-2.0"
] | null | null | null | engine/src/qlcinputchannel.cpp | hveld/qlcplus | 1dd61a5a3a2c93d7fe88cd2a90574c4849b64829 | [
"Apache-2.0"
] | null | null | null | /*
Q Light Controller
qlcinputchannel.cpp
Copyright (c) Heikki Junnila
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.txt
Unless re... | 25.303922 | 86 | 0.57594 | hveld |
0fd0ab6f62c16a67b221892ca06f74c3461e57df | 25,628 | cpp | C++ | test/ast/instructionTest.cpp | actly/SSVM | 6cf21250cb739721fb3bf09bbe0054c1b99dc406 | [
"Apache-2.0"
] | 1 | 2021-09-04T16:36:24.000Z | 2021-09-04T16:36:24.000Z | test/ast/instructionTest.cpp | actly/SSVM | 6cf21250cb739721fb3bf09bbe0054c1b99dc406 | [
"Apache-2.0"
] | null | null | null | test/ast/instructionTest.cpp | actly/SSVM | 6cf21250cb739721fb3bf09bbe0054c1b99dc406 | [
"Apache-2.0"
] | 1 | 2021-08-09T08:37:27.000Z | 2021-08-09T08:37:27.000Z | // SPDX-License-Identifier: Apache-2.0
//===-- wasmedge/test/ast/instructionTest.cpp - Instruction unit tests ----===//
//
// Part of the WasmEdge Project.
//
//===----------------------------------------------------------------------===//
///
/// \file
/// This file contents unit tests of Instruction nodes.
///
//===-... | 36.455192 | 80 | 0.623498 | actly |
0fd2ab0357f5bf1cf1c633c55528fb55568e94b5 | 54,723 | cpp | C++ | triangle.cpp | ltowarek/vulkanalia | de0c2d6ebf4be3a944b0b85b3f78ce5968ed4233 | [
"Apache-2.0"
] | null | null | null | triangle.cpp | ltowarek/vulkanalia | de0c2d6ebf4be3a944b0b85b3f78ce5968ed4233 | [
"Apache-2.0"
] | null | null | null | triangle.cpp | ltowarek/vulkanalia | de0c2d6ebf4be3a944b0b85b3f78ce5968ed4233 | [
"Apache-2.0"
] | null | null | null | /*
*Copyright 2017 Lukasz Towarek
*
*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 agre... | 42.06226 | 81 | 0.704329 | ltowarek |
0fd32c92f0aebb2273025813423f0c083c3babde | 6,653 | cpp | C++ | src/cpp3ds/Network/UdpSocket.cpp | cpp3ds/cpp3ds | 7813714776e2134bd75b9f3869ed142c1d4eeaaf | [
"MIT"
] | 98 | 2015-08-26T16:49:29.000Z | 2022-03-03T10:15:43.000Z | src/cpp3ds/Network/UdpSocket.cpp | Naxann/cpp3ds | 1932e798306ec6d910c6a5b9e85e9d8f02fb815f | [
"MIT"
] | 10 | 2016-02-26T21:30:51.000Z | 2020-07-12T20:48:09.000Z | src/cpp3ds/Network/UdpSocket.cpp | Naxann/cpp3ds | 1932e798306ec6d910c6a5b9e85e9d8f02fb815f | [
"MIT"
] | 15 | 2015-10-16T06:22:37.000Z | 2020-10-01T08:52:48.000Z | ////////////////////////////////////////////////////////////
//
// SFML - Simple and Fast Multimedia Library
// Copyright (C) 2007-2015 Laurent Gomila (laurent@sfml-dev.org)
//
// This software is provided 'as-is', without any express or implied warranty.
// In no event will the authors be held liable for any damages a... | 34.293814 | 151 | 0.611604 | cpp3ds |
0fd37693312894608004274df17567fbf2965f1f | 91 | hpp | C++ | cc_include/ccio.hpp | pit-ray/TxEditorCCTool | 903180082db5ddc80009608e46630f6cfc026eaf | [
"MIT"
] | null | null | null | cc_include/ccio.hpp | pit-ray/TxEditorCCTool | 903180082db5ddc80009608e46630f6cfc026eaf | [
"MIT"
] | null | null | null | cc_include/ccio.hpp | pit-ray/TxEditorCCTool | 903180082db5ddc80009608e46630f6cfc026eaf | [
"MIT"
] | null | null | null | #ifndef CC_IO_HPP
#define CC_IO_HPP
#include "TeraPad.hpp"
#include "Sakura.hpp"
#endif
| 11.375 | 22 | 0.747253 | pit-ray |
0fd7defdc3eae151a9285028d5c15ca0aa5f8a89 | 2,689 | cpp | C++ | examples/example-rosenbrock-comparison.cpp | mpayrits/LBFGSpp | b28f6969787b748cd32acfc8e6c684e6d00b5b9f | [
"MIT"
] | 335 | 2016-08-05T06:18:19.000Z | 2022-03-16T06:30:01.000Z | examples/example-rosenbrock-comparison.cpp | mpayrits/LBFGSpp | b28f6969787b748cd32acfc8e6c684e6d00b5b9f | [
"MIT"
] | 24 | 2017-06-24T18:51:15.000Z | 2022-03-29T04:42:49.000Z | examples/example-rosenbrock-comparison.cpp | mpayrits/LBFGSpp | b28f6969787b748cd32acfc8e6c684e6d00b5b9f | [
"MIT"
] | 82 | 2016-08-26T22:11:21.000Z | 2022-03-02T16:25:55.000Z | #include <Eigen/Core>
#include <iostream>
#include <LBFGS.h>
using Eigen::VectorXd;
using Eigen::MatrixXd;
using namespace LBFGSpp;
class Rosenbrock
{
private:
int n;
ptrdiff_t ncalls;
public:
Rosenbrock(int n_) : n(n_), ncalls(0) {}
double operator()(const VectorXd& x, VectorXd& grad)
{
// ... | 34.037975 | 176 | 0.54444 | mpayrits |
0fd8d23eef5fa45ec7f9ddb5eace0e89e80f7454 | 555 | hpp | C++ | plugins/database_api/include/graphene/plugins/database_api/state.hpp | VIZ-World/viz-core | 634825fcfff9e392a26789f8e23c4cfab2952b71 | [
"MIT"
] | 7 | 2018-03-21T12:56:32.000Z | 2018-04-02T16:06:24.000Z | plugins/database_api/include/graphene/plugins/database_api/state.hpp | VIZ-World/viz-core | 634825fcfff9e392a26789f8e23c4cfab2952b71 | [
"MIT"
] | 18 | 2018-03-21T13:29:46.000Z | 2018-05-18T10:56:43.000Z | plugins/database_api/include/graphene/plugins/database_api/state.hpp | VIZ-World/VIZ.Core | 634825fcfff9e392a26789f8e23c4cfab2952b71 | [
"MIT"
] | 9 | 2018-10-17T19:02:40.000Z | 2019-02-14T10:35:00.000Z | #pragma once
#include <graphene/chain/global_property_object.hpp>
#include <graphene/chain/account_object.hpp>
#include <graphene/chain/chain_objects.hpp>
#include <graphene/chain/chain_object_types.hpp>
#include "forward.hpp"
#include <graphene/api/account_api_object.hpp>
namespace graphene {
namespace... | 25.227273 | 53 | 0.661261 | VIZ-World |
0fdd2bd1c52f0998515137dba32ab131bfa86eb2 | 1,620 | hpp | C++ | RubetekIOS-CPP.framework/Versions/A/Headers/libnet/svl/detail/types.hpp | yklishevich/RubetekIOS-CPP-releases | 7dfbbb45b8de7dbb6fa995ff5dcbca4ec06c2bdb | [
"MIT"
] | null | null | null | RubetekIOS-CPP.framework/Versions/A/Headers/libnet/svl/detail/types.hpp | yklishevich/RubetekIOS-CPP-releases | 7dfbbb45b8de7dbb6fa995ff5dcbca4ec06c2bdb | [
"MIT"
] | null | null | null | RubetekIOS-CPP.framework/Versions/A/Headers/libnet/svl/detail/types.hpp | yklishevich/RubetekIOS-CPP-releases | 7dfbbb45b8de7dbb6fa995ff5dcbca4ec06c2bdb | [
"MIT"
] | null | null | null | #ifndef SVL_DETAIL_TYPES_HPP
#define SVL_DETAIL_TYPES_HPP
#include <svl/detail/config.hpp>
//////////////////////////////////////////////////////////////////////////
namespace svl
{
#if SVL_USE_BOOST_NONCOPYABLE
using boost::noncopyable;
#else
struct noncopyable
{
public:
noncopyable() {}
private:
noncopya... | 15.283019 | 74 | 0.661728 | yklishevich |
0fdd81f81d6738a56aac81402fd761f9080c2f81 | 643 | cpp | C++ | tests/utiltests.cpp | zethon/bbcpp | a035c4942ed9e5277833fe80e444406f959c3d88 | [
"MIT"
] | 7 | 2015-12-21T03:38:11.000Z | 2021-08-13T08:44:24.000Z | tests/utiltests.cpp | zethon/bbcpp | a035c4942ed9e5277833fe80e444406f959c3d88 | [
"MIT"
] | 3 | 2017-04-20T04:11:00.000Z | 2018-09-13T10:56:56.000Z | tests/utiltests.cpp | zethon/bbcpp | a035c4942ed9e5277833fe80e444406f959c3d88 | [
"MIT"
] | 1 | 2017-04-20T05:32:37.000Z | 2017-04-20T05:32:37.000Z | #include <sstream>
#include "gtest/gtest.h"
#include "../lib/BBDocument.h"
#include "../lib/bbcpputils.h"
using namespace bbcpp;
TEST(utiltests, paramstream)
{
ParameterMap map1;
map1.insert(std::make_pair("username", "bob"));
std::stringstream s1;
s1 << map1;
EXPECT_EQ(s1.str(), R"({ {username... | 22.172414 | 69 | 0.595645 | zethon |
0fdecc305ee98eb6099aca369b0aa8744ab42f2a | 9,537 | cc | C++ | deps/dyncall/test/suite2_x86win32fast/case.cc | unbornchikken/fastcall | 34695df041ee06798cd44da73f60ca075b0f0828 | [
"Apache-2.0"
] | 220 | 2016-10-25T01:42:09.000Z | 2022-03-16T13:21:51.000Z | deps/dyncall/test/suite2_x86win32fast/case.cc | unbornchikken/fastcall | 34695df041ee06798cd44da73f60ca075b0f0828 | [
"Apache-2.0"
] | 47 | 2016-11-17T14:33:52.000Z | 2021-11-15T08:38:59.000Z | deps/dyncall/test/suite2_x86win32fast/case.cc | unbornchikken/fastcall | 34695df041ee06798cd44da73f60ca075b0f0828 | [
"Apache-2.0"
] | 23 | 2016-12-12T14:39:07.000Z | 2021-11-11T12:14:01.000Z | /*
Package: dyncall
Library: test
File: test/suite2_x86win32fast/case.cc
Description:
License:
Copyright (c) 2007-2015 Daniel Adler <dadler@uni-goettingen.de>,
Tassilo Philipp <tphilipp@potion-studios.com>
Permission to use, copy, modify, and distribute this software for any
... | 69.108696 | 531 | 0.629863 | unbornchikken |
0fe1288a77060d0cc3626b8a2943a8d552b017a0 | 12,778 | cpp | C++ | src/CGEngine/cgengine.cpp | Tpimp/play-zone | a967baf72eb70614bf83198e9b2ea55082f17438 | [
"BSD-3-Clause"
] | null | null | null | src/CGEngine/cgengine.cpp | Tpimp/play-zone | a967baf72eb70614bf83198e9b2ea55082f17438 | [
"BSD-3-Clause"
] | null | null | null | src/CGEngine/cgengine.cpp | Tpimp/play-zone | a967baf72eb70614bf83198e9b2ea55082f17438 | [
"BSD-3-Clause"
] | null | null | null | #include "cgengine.h"
#include <QJsonDocument>
#include <QJsonValue>
#include <QDebug>
const char* const CGEngine::mNames[] = {"a8","b8", "c8", "d8", "e8", "f8", "g8", "h8",
"a7","b7", "c7", "d7", "e7", "f7", "g7", "h7",
"a6","b6", "c6", "d6"... | 26.184426 | 132 | 0.516278 | Tpimp |
0fe1d4fee23e51ce2116dd7b95e7d1b6ba0bdb85 | 4,315 | cpp | C++ | src/funcs_cpp/lib_integrals_main.cpp | Jussmith01/HFSCFCISProgram | 957d92229905c06fb97fba4ca3c2765ae8f700bb | [
"MIT"
] | null | null | null | src/funcs_cpp/lib_integrals_main.cpp | Jussmith01/HFSCFCISProgram | 957d92229905c06fb97fba4ca3c2765ae8f700bb | [
"MIT"
] | null | null | null | src/funcs_cpp/lib_integrals_main.cpp | Jussmith01/HFSCFCISProgram | 957d92229905c06fb97fba4ca3c2765ae8f700bb | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <stdlib.h>
#include <sstream>
#include <string.h>
#include <string>
#include <cmath>
#include <fstream>
#include <time.h>
#include <iostream>
#include <iomanip>
#include "../utils_cpp/lib_includes.h"
#include "../classes/classes.h"
#include "../scf_main/scf_classes.h"
#include "func_classes... | 43.585859 | 120 | 0.456083 | Jussmith01 |
0fe78499f04678ac0dcdcbd6df4b1389bc93c129 | 9,391 | cpp | C++ | MaterialSystem/src/TF2Vulkan/MaterialVar.cpp | melvyn2/TF2Vulkan | a8cd1c49ecfe9d4dc31af0a50ba7690c61c255c4 | [
"MIT"
] | 24 | 2019-10-11T00:52:49.000Z | 2022-01-29T03:33:21.000Z | MaterialSystem/src/TF2Vulkan/MaterialVar.cpp | melvyn2/TF2Vulkan | a8cd1c49ecfe9d4dc31af0a50ba7690c61c255c4 | [
"MIT"
] | 2 | 2020-09-28T23:35:32.000Z | 2021-02-23T09:52:10.000Z | MaterialSystem/src/TF2Vulkan/MaterialVar.cpp | melvyn2/TF2Vulkan | a8cd1c49ecfe9d4dc31af0a50ba7690c61c255c4 | [
"MIT"
] | 1 | 2020-10-12T21:40:45.000Z | 2020-10-12T21:40:45.000Z | #include "TF2Vulkan/Material.h"
#include "TF2Vulkan/MaterialVar.h"
#include <TF2Vulkan/Util/Macros.h>
#include <TF2Vulkan/Util/std_algorithm.h>
#include <TF2Vulkan/Util/std_charconv.h>
#include <materialsystem/imaterial.h>
#include <materialsystem/imaterialsystem.h>
#include <materialsystem/itexture.h>
using namespac... | 20.109208 | 110 | 0.731551 | melvyn2 |
0fe7bab7819c62711e5d49da8a9ee1a8d49a3de4 | 719 | cpp | C++ | config.cpp | daemonforge/DayzSA-ReduceCarDamage | 078994961e55d830db136a120a94d7a5758c1fcf | [
"Apache-2.0"
] | null | null | null | config.cpp | daemonforge/DayzSA-ReduceCarDamage | 078994961e55d830db136a120a94d7a5758c1fcf | [
"Apache-2.0"
] | null | null | null | config.cpp | daemonforge/DayzSA-ReduceCarDamage | 078994961e55d830db136a120a94d7a5758c1fcf | [
"Apache-2.0"
] | null | null | null | class CfgPatches
{
class ReduceCarDamage
{
units[]={};
weapons[]={};
requiredVersion=0.1;
requiredAddons[]={};
};
};
class CfgMods
{
class ReduceCarDamage
{
dir="ReduceCarDamage";
picture="";
action="";
hideName=1;
hidePicture=1;
name="ReduceCa... | 18.435897 | 63 | 0.464534 | daemonforge |
0fea5122cf4f0f76fdb72d20dd58750d69119cdd | 528 | cpp | C++ | 4. Construindo matrizes.cpp | RafelNunes/ifsc-programacao | 40622fb1a5496e09f4800220e293385468fef323 | [
"MIT"
] | null | null | null | 4. Construindo matrizes.cpp | RafelNunes/ifsc-programacao | 40622fb1a5496e09f4800220e293385468fef323 | [
"MIT"
] | null | null | null | 4. Construindo matrizes.cpp | RafelNunes/ifsc-programacao | 40622fb1a5496e09f4800220e293385468fef323 | [
"MIT"
] | null | null | null | #include<stdio.h>
int main(void){
int M, N;
printf("Digite valor das linhas de sua matriz: ");
scanf("%d", &M);
printf("Digite valor de colunas de sua matriz: ");
scanf("%d", &N);
int matriz[M][N];
for(int i = 0; i < M; i++){
printf("\n");
for(int j = 0; j < N; j++){
printf("Digite valor de ... | 18.857143 | 53 | 0.49053 | RafelNunes |
0feab35b053606b2e4d8a5a526eab6f23011e818 | 706 | hpp | C++ | include/pfs/jeyson/exports.hpp | semenovf/jeyson-lib | f276d15422c22538d91bece245bedbec42df53ea | [
"MIT"
] | null | null | null | include/pfs/jeyson/exports.hpp | semenovf/jeyson-lib | f276d15422c22538d91bece245bedbec42df53ea | [
"MIT"
] | 1 | 2016-06-08T16:09:29.000Z | 2016-06-08T16:09:29.000Z | include/pfs/jeyson/exports.hpp | semenovf/pfs-json | f276d15422c22538d91bece245bedbec42df53ea | [
"MIT"
] | 1 | 2022-02-10T05:49:39.000Z | 2022-02-10T05:49:39.000Z | ////////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2022 Vladislav Trifochkin
//
// This file is part of `jeyson-lib`.
//
// Changelog:
// 2022.02.07 Initial version.
////////////////////////////////////////////////////////////////////////////////
#pragma once
#ifndef... | 27.153846 | 80 | 0.477337 | semenovf |
0feb5ddde84f2ab13b01178842bf66385e4038fa | 29,307 | cc | C++ | test/PackUnPackTest.cc | cryptomilk/SVT-AV1 | 2936d5756ca061ee78edc8c87fd5414f93066809 | [
"BSD-2-Clause"
] | 399 | 2020-09-07T22:08:38.000Z | 2022-03-29T21:49:52.000Z | test/PackUnPackTest.cc | cryptomilk/SVT-AV1 | 2936d5756ca061ee78edc8c87fd5414f93066809 | [
"BSD-2-Clause"
] | 210 | 2020-09-07T19:06:23.000Z | 2022-03-26T00:35:26.000Z | test/PackUnPackTest.cc | EwoutH/SVT-AV1 | dd6620592b533c7242302e6149b32b0ab9116643 | [
"BSD-2-Clause"
] | 71 | 2020-09-09T01:15:29.000Z | 2022-03-28T22:09:56.000Z | /*
* Copyright(c) 2019 Netflix, Inc.
*
* This source code is subject to the terms of the BSD 2 Clause License and
* the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
* was not distributed with this source code in the LICENSE file, you can
* obtain it at https://www.aomedia.org/license/software... | 39.128171 | 89 | 0.517351 | cryptomilk |
0ff0de9793f41852c0f6251bc77d14f54caa41ad | 859 | cpp | C++ | Source/ModuleMaterialImporter.cpp | sergipa/The-Creator-3D | 69acf8a4ac169f96ef8ed15e6eb1a47c3a372bda | [
"MIT"
] | 6 | 2017-11-24T06:15:40.000Z | 2021-01-05T04:47:21.000Z | Source/ModuleMaterialImporter.cpp | sergipa/The-Creator-3D | 69acf8a4ac169f96ef8ed15e6eb1a47c3a372bda | [
"MIT"
] | null | null | null | Source/ModuleMaterialImporter.cpp | sergipa/The-Creator-3D | 69acf8a4ac169f96ef8ed15e6eb1a47c3a372bda | [
"MIT"
] | 3 | 2017-11-21T13:11:47.000Z | 2019-07-01T09:22:49.000Z | #include "ModuleMaterialImporter.h"
#include "Material.h"
#include "Texture.h"
#include "ModuleFileSystem.h"
#include "Application.h"
#include "Data.h"
ModuleMaterialImporter::ModuleMaterialImporter(Application* app, bool start_enabled, bool is_game) : Module(app, start_enabled, is_game)
{
name = "Material_Importer"... | 22.025641 | 136 | 0.766007 | sergipa |
0ff3a94f39a470c907330bdcec6fd8b1eec1db55 | 2,578 | hpp | C++ | sc15-graph/chunkedseq/include/segment.hpp | deepsea-inria/sc15-graph | aaf3e6dd5ee3c7c0845dfa416bc77d0a53b92107 | [
"MIT"
] | 80 | 2015-02-26T21:21:07.000Z | 2022-01-27T18:59:53.000Z | chunkedseq/include/segment.hpp | NoahC77/MathGarden | 75e7ce3c3a38c9c75dffa862c19b75e6e4c1716d | [
"Apache-2.0"
] | 2 | 2017-01-08T20:58:36.000Z | 2020-02-29T08:47:18.000Z | chunkedseq/include/segment.hpp | NoahC77/MathGarden | 75e7ce3c3a38c9c75dffa862c19b75e6e4c1716d | [
"Apache-2.0"
] | 22 | 2015-04-09T13:44:25.000Z | 2022-01-27T15:54:31.000Z | /*!
* \author Umut A. Acar
* \author Arthur Chargueraud
* \author Mike Rainey
* \date 2013-2018
* \copyright 2014 Umut A. Acar, Arthur Chargueraud, Mike Rainey
*
* \brief Memory segment
* \file segment.hpp
*
*/
#ifndef _PASL_DATA_SEGMENT_H_
#define _PASL_DATA_SEGMENT_H_
namespace pasl {
namespace data {
/*... | 25.27451 | 100 | 0.592708 | deepsea-inria |
0ff41e9a2ec44a70178659329adb8759cbc08fb1 | 1,022 | cpp | C++ | Loops/for-loop-accumulator-running-total-daily-sales.cpp | jesushilarioh/C-Plus-Plus | bbff921460ac4267af48558f040c7d82ccf42d5e | [
"MIT"
] | 3 | 2019-10-28T01:12:46.000Z | 2021-10-16T09:16:31.000Z | Loops/for-loop-accumulator-running-total-daily-sales.cpp | jesushilariohernandez/DelMarCSi.cpp | 6dd7905daea510452691fd25b0e3b0d2da0b06aa | [
"MIT"
] | null | null | null | Loops/for-loop-accumulator-running-total-daily-sales.cpp | jesushilariohernandez/DelMarCSi.cpp | 6dd7905daea510452691fd25b0e3b0d2da0b06aa | [
"MIT"
] | 4 | 2020-04-10T17:22:17.000Z | 2021-11-04T14:34:00.000Z | //********************************************************************
// This program takes daily sales figures over a period of time
// and calculates their total.
//
// JESUS HILARIO HERNANDEZ
// Last updated: October 7, 2016
//
//********************************************************************
#include <iostre... | 27.621622 | 70 | 0.513699 | jesushilarioh |
0ff593d629bedc9092a03e2cf5d2b7fbcd6fc27c | 339 | cpp | C++ | source/test.cpp | Sankhma/AutismoSimulator | ac0cd2c321929b92cadfed9eb6c96faa9e60e18e | [
"MIT"
] | null | null | null | source/test.cpp | Sankhma/AutismoSimulator | ac0cd2c321929b92cadfed9eb6c96faa9e60e18e | [
"MIT"
] | 38 | 2020-11-08T21:54:57.000Z | 2020-12-01T09:33:11.000Z | source/test.cpp | Sankhma/AutismoSimulator | ac0cd2c321929b92cadfed9eb6c96faa9e60e18e | [
"MIT"
] | 1 | 2020-11-04T22:17:11.000Z | 2020-11-04T22:17:11.000Z | #include <string>
#include <iostream>
void Output() {
std::cout<<std::endl;
}
template<typename First, typename ... Strings>
void Output(First arg, const Strings&... rest) {
std::cout<<arg<<" ";
Output(rest...);
}
int main() {
Output("I","am","a","sentence");
Output("Let's","try",1,"or",2,"digits... | 18.833333 | 48 | 0.581121 | Sankhma |
0ff6a083b2e19fe20066b300b883b94b5b0f4cd8 | 6,123 | cpp | C++ | src/web_connection_base.cpp | hueyjj/libtorrent | 7fdbd765a3bed5f55ad60b368b6c7ae56e5437f8 | [
"BSL-1.0",
"BSD-3-Clause"
] | 1 | 2022-01-23T13:15:47.000Z | 2022-01-23T13:15:47.000Z | src/web_connection_base.cpp | joriscarrier/libtorrent | 1d801ec1b28c4e3643186905a5d28c7c1edbf534 | [
"BSL-1.0",
"BSD-3-Clause"
] | 1 | 2017-09-19T08:52:30.000Z | 2017-09-19T08:52:30.000Z | src/web_connection_base.cpp | joriscarrier/libtorrent | 1d801ec1b28c4e3643186905a5d28c7c1edbf534 | [
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | /*
Copyright (c) 2003-2018, Arvid Norberg
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | 29.157143 | 85 | 0.721542 | hueyjj |
0ff7fb25806e528a35f060ad6c1bd88a67b1e432 | 4,849 | cpp | C++ | plugins-support/plugindiscovery.cpp | sqglobe/SecureDialogues | bde56c7a62fb72b1cdfba8cebc0a770157b5f751 | [
"MIT"
] | 3 | 2019-07-05T12:01:36.000Z | 2021-03-19T22:48:48.000Z | plugins-support/plugindiscovery.cpp | sqglobe/SecureDialogues | bde56c7a62fb72b1cdfba8cebc0a770157b5f751 | [
"MIT"
] | 41 | 2019-11-26T18:59:54.000Z | 2020-05-01T10:52:47.000Z | plugins-support/plugindiscovery.cpp | sqglobe/SecureDialogues | bde56c7a62fb72b1cdfba8cebc0a770157b5f751 | [
"MIT"
] | 3 | 2019-05-21T17:48:16.000Z | 2021-03-19T22:48:49.000Z | #include "plugindiscovery.h"
#include <boost/filesystem.hpp>
#include <dynalo/dynalo.hpp>
#include <fstream>
#include "pluginscontainer.h"
#include "export/pluginfacade.h"
#include "plugininterface.h"
#include <algorithm>
#include <nlohmann/json-schema.hpp>
#include "spdlog/spdlog.h"
#include "api-version.h"
stat... | 30.496855 | 80 | 0.610641 | sqglobe |
0ff8be3d20465f1501f3ed5279fd03054376c709 | 22,179 | cpp | C++ | AppState.cpp | Magtheridon96/Unfinished-RPG | f002a7e19684f31e6158ca78e24bdd514932d72c | [
"MIT"
] | 1 | 2015-09-14T13:19:16.000Z | 2015-09-14T13:19:16.000Z | AppState.cpp | Magtheridon96/Unfinished-RPG | f002a7e19684f31e6158ca78e24bdd514932d72c | [
"MIT"
] | null | null | null | AppState.cpp | Magtheridon96/Unfinished-RPG | f002a7e19684f31e6158ca78e24bdd514932d72c | [
"MIT"
] | null | null | null | #include "AppState.h"
#include "Context.h"
app_state::~app_state() {}
void app_state::handle_event(context& context) {}
void app_state::update(context& context) {}
void app_state::draw(context& context) {}
///////////////////////////////////////////////////////
///////////////////////////////////////////////////////
... | 37.97774 | 178 | 0.6939 | Magtheridon96 |
0ffe2363b2e97b00c0ceafc6858734d33d329a8b | 1,337 | cpp | C++ | src/jsoncpp_impl/JXXON/Accessor/GetProperty_shared_ptr_float.cpp | jxx-project/JXXON | 313bb4e5ab42385741a41fb4032585159c8721c6 | [
"BSL-1.0"
] | null | null | null | src/jsoncpp_impl/JXXON/Accessor/GetProperty_shared_ptr_float.cpp | jxx-project/JXXON | 313bb4e5ab42385741a41fb4032585159c8721c6 | [
"BSL-1.0"
] | null | null | null | src/jsoncpp_impl/JXXON/Accessor/GetProperty_shared_ptr_float.cpp | jxx-project/JXXON | 313bb4e5ab42385741a41fb4032585159c8721c6 | [
"BSL-1.0"
] | null | null | null | //
// Copyright (C) 2018 Dr. Michael Steffens
//
// SPDX-License-Identifier: BSL-1.0
//
#include "JXXON/Accessor/GetProperty_shared_ptr.tcc"
#include <cstdint>
namespace JXXON { namespace Accessor {
template<>
GetProperty<std::shared_ptr<float>>::GetProperty(const Json& json, const std::string& name) : json(json), ... | 31.833333 | 128 | 0.726253 | jxx-project |
ba0570a3e196291bc08795aded23140470dba895 | 1,080 | cpp | C++ | src_smartcontract/lang/sc_declare/ClassName.cpp | alinous-core/codable-cash | 32a86a152a146c592bcfd8cc712f4e8cb38ee1a0 | [
"MIT"
] | 6 | 2019-01-06T05:02:39.000Z | 2020-10-01T11:45:32.000Z | src_smartcontract/lang/sc_declare/ClassName.cpp | Codablecash/codablecash | 8816b69db69ff2f5da6cdb6af09b8fb21d3df1d9 | [
"MIT"
] | 209 | 2018-05-18T03:07:02.000Z | 2022-03-26T11:42:41.000Z | src_smartcontract/lang/sc_declare/ClassName.cpp | Codablecash/codablecash | 8816b69db69ff2f5da6cdb6af09b8fb21d3df1d9 | [
"MIT"
] | 3 | 2019-07-06T09:16:36.000Z | 2020-10-15T08:23:28.000Z | /*
* ClassName.cpp
*
* Created on: 2019/06/19
* Author: iizuka
*/
#include "lang/sc_declare/ClassName.h"
#include "base/UnicodeString.h"
namespace alinous {
ClassName::ClassName() : CodeElement(CodeElement::CLASS_NAME) {
this->fqn = nullptr;
}
ClassName::~ClassName() {
delete this->fqn;
}
void ClassN... | 17.704918 | 63 | 0.683333 | alinous-core |
61325660db691a5e87faf14d410bbfa9d6f79318 | 567 | hpp | C++ | cccc/src/include/expressions/assign.hpp | DasNaCl/old-university-projects | af1c82afec4805ea672e0c353369035b394cb69d | [
"Apache-2.0"
] | null | null | null | cccc/src/include/expressions/assign.hpp | DasNaCl/old-university-projects | af1c82afec4805ea672e0c353369035b394cb69d | [
"Apache-2.0"
] | null | null | null | cccc/src/include/expressions/assign.hpp | DasNaCl/old-university-projects | af1c82afec4805ea672e0c353369035b394cb69d | [
"Apache-2.0"
] | null | null | null | #pragma once
#include <ast/binary_printer.hpp>
#include <ir/IRScope.hpp>
namespace mhc4
{
namespace expressions
{
class assign : public ast::binary_printer
{
public:
explicit assign(token tok, expression::ptr left, expression::ptr right);
type::ptr _infer(semantics::scope& s) override;
llvm::Value* m... | 18.9 | 91 | 0.723104 | DasNaCl |
613358b0c438a38895a864c432f710b486bc72ee | 571 | cpp | C++ | Practice/2018/2018.12.27/UOJ48.cpp | SYCstudio/OI | 6e9bfc17dbd4b43467af9b19aa2aed41e28972fa | [
"MIT"
] | 4 | 2017-10-31T14:25:18.000Z | 2018-06-10T16:10:17.000Z | Practice/2018/2018.12.27/UOJ48.cpp | SYCstudio/OI | 6e9bfc17dbd4b43467af9b19aa2aed41e28972fa | [
"MIT"
] | null | null | null | Practice/2018/2018.12.27/UOJ48.cpp | SYCstudio/OI | 6e9bfc17dbd4b43467af9b19aa2aed41e28972fa | [
"MIT"
] | null | null | null | #include<iostream>
#include<cstdio>
#include<cstdlib>
#include<algorithm>
using namespace std;
#define ll long long
const int maxN=101000;
int n,pcnt;
ll A[maxN],P[maxN];
int main(){
scanf("%d",&n);
for (int i=1;i<=n;i++) scanf("%lld",&A[i]);
ll x=A[1];
for (int i=2;1ll*i*i<=x;i++)
if (x%i==0){
P[++pcnt]=i... | 15.861111 | 44 | 0.527145 | SYCstudio |
6133d925a6fd4cc42ab07a24054fe76b2a246858 | 6,368 | cpp | C++ | Take/LXML/LXMLTagAnalyser.cpp | vesan66/Nim | dcf6706d71f3e706d447d527c8cea51499e27679 | [
"MIT"
] | null | null | null | Take/LXML/LXMLTagAnalyser.cpp | vesan66/Nim | dcf6706d71f3e706d447d527c8cea51499e27679 | [
"MIT"
] | null | null | null | Take/LXML/LXMLTagAnalyser.cpp | vesan66/Nim | dcf6706d71f3e706d447d527c8cea51499e27679 | [
"MIT"
] | null | null | null | #include "LXMLTagAnalyser.h"
#include "LXMLElement.h"
namespace LXMLP { // => Light-XML-Parser
bool LXMLTagAnalyser::Parse(LXMLElement* element, TXMLStr& text_IN_OUT) {
if (element == nullptr) { return false; }
if (text_IN_OUT.empty() == true) { return true; }
bool innerResult = false;
bool result = false;
... | 24.305344 | 136 | 0.634265 | vesan66 |
613e9ec74b974589292388ea5fe96a588fc17f70 | 14,855 | cpp | C++ | groups/bdl/bdls/bdls_pathutil.cpp | hughesr/bde | d593e3213918b9292c25e08cfc5b6651bacdea0d | [
"Apache-2.0"
] | 1 | 2019-01-22T19:44:05.000Z | 2019-01-22T19:44:05.000Z | groups/bdl/bdls/bdls_pathutil.cpp | anuranrc/bde | d593e3213918b9292c25e08cfc5b6651bacdea0d | [
"Apache-2.0"
] | null | null | null | groups/bdl/bdls/bdls_pathutil.cpp | anuranrc/bde | d593e3213918b9292c25e08cfc5b6651bacdea0d | [
"Apache-2.0"
] | null | null | null | // bdls_pathutil.cpp -*-C++-*-
// ----------------------------------------------------------------------------
// NOTICE
//
// This component is not up to date with current BDE coding standards, and
// should not be used as an example f... | 33.307175 | 79 | 0.531134 | hughesr |
61430b61e34edc17b842900b5fafa95610771665 | 13,316 | hpp | C++ | external/boost_1_47_0/boost/asio/detail/config.hpp | zigaosolin/Raytracer | df17f77e814b2e4b90c4a194e18cc81fa84dcb27 | [
"MIT"
] | 47 | 2015-01-01T14:37:36.000Z | 2021-04-25T07:38:07.000Z | external/boost_1_47_0/boost/asio/detail/config.hpp | zigaosolin/Raytracer | df17f77e814b2e4b90c4a194e18cc81fa84dcb27 | [
"MIT"
] | 6 | 2016-01-11T05:20:05.000Z | 2021-02-06T11:37:24.000Z | external/boost_1_47_0/boost/asio/detail/config.hpp | zigaosolin/Raytracer | df17f77e814b2e4b90c4a194e18cc81fa84dcb27 | [
"MIT"
] | 17 | 2015-01-05T15:10:43.000Z | 2021-06-22T04:59:16.000Z | //
// detail/config.hpp
// ~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2011 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)
//
#ifndef BOOST_ASIO_DETAIL_CONFIG_... | 40.597561 | 80 | 0.745569 | zigaosolin |
61455e7d98e0affd722da01c33a60243448dcde9 | 64 | cpp | C++ | test/test_memory_stack.cpp | lingjf/h2un | 7735c2f07f58ea8b92a9e9608c9b45c98c94c670 | [
"Apache-2.0"
] | 5 | 2015-03-02T22:29:00.000Z | 2020-06-28T08:52:00.000Z | test/test_memory_stack.cpp | lingjf/h2un | 7735c2f07f58ea8b92a9e9608c9b45c98c94c670 | [
"Apache-2.0"
] | 5 | 2019-05-10T02:28:00.000Z | 2021-07-17T00:53:18.000Z | test/test_memory_stack.cpp | lingjf/h2un | 7735c2f07f58ea8b92a9e9608c9b45c98c94c670 | [
"Apache-2.0"
] | 5 | 2016-05-25T07:31:16.000Z | 2021-08-29T04:25:18.000Z | #include "../source/h2_unit.cpp"
SUITE(stack)
{
Case() {}
}
| 9.142857 | 32 | 0.578125 | lingjf |
614713f242880f8780c6eddc4d87ad1cd988b5a0 | 23,011 | cpp | C++ | system/jlib/jflz.cpp | rpastrana/HPCC-Platform | 489454bd326ed6a39228c81f5d837c276724c022 | [
"Apache-2.0"
] | null | null | null | system/jlib/jflz.cpp | rpastrana/HPCC-Platform | 489454bd326ed6a39228c81f5d837c276724c022 | [
"Apache-2.0"
] | 1 | 2016-04-06T16:41:58.000Z | 2016-04-06T16:41:58.000Z | system/jlib/jflz.cpp | cloLN/HPCC-Platform | 42ffb763a1cdcf611d3900831973d0a68e722bbe | [
"Apache-2.0"
] | null | null | null | /*##############################################################################
HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems®.
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... | 26.850642 | 135 | 0.591326 | rpastrana |
61488b3be9681d333720ae2f9b2fac2ee798d61b | 2,063 | cpp | C++ | gtsam/inference/HypoTree.cpp | ICRA-2019/MH-iSAM2_lib | cf92b2b94f5dcae39b780273c613ca945599e0c0 | [
"BSD-3-Clause"
] | 1 | 2022-03-10T02:24:39.000Z | 2022-03-10T02:24:39.000Z | gtsam/inference/HypoTree.cpp | ICRA-2019/MH-iSAM2_lib | cf92b2b94f5dcae39b780273c613ca945599e0c0 | [
"BSD-3-Clause"
] | null | null | null | gtsam/inference/HypoTree.cpp | ICRA-2019/MH-iSAM2_lib | cf92b2b94f5dcae39b780273c613ca945599e0c0 | [
"BSD-3-Clause"
] | null | null | null | #include <gtsam/inference/HypoTree.h>
namespace gtsam {
HypoLayer& HypoLayer::toPrevLayer() {
return belong_tree_ptr_->getLayer(layer_idx_ - 1);
}
HypoLayer& HypoLayer::toDiffLayer(const int& layer_diff) {
return belong_tree_ptr_->getLayer(layer_idx_ + layer_diff);
}
//[MH-C]: TEST
void HypoLaye... | 31.257576 | 112 | 0.637421 | ICRA-2019 |
614c0ae761b66693389524f9621822e44c4445a1 | 5,285 | cpp | C++ | src/MediaPlugin/AudioItem.cpp | future731/choreonoid | e65164dae8725c1ea7ba2aec51d7c7c9738a2fca | [
"MIT"
] | 1 | 2019-08-23T05:48:47.000Z | 2019-08-23T05:48:47.000Z | src/MediaPlugin/AudioItem.cpp | future731/choreonoid | e65164dae8725c1ea7ba2aec51d7c7c9738a2fca | [
"MIT"
] | 2 | 2018-09-05T05:01:23.000Z | 2019-08-19T21:03:15.000Z | src/MediaPlugin/AudioItem.cpp | future731/choreonoid | e65164dae8725c1ea7ba2aec51d7c7c9738a2fca | [
"MIT"
] | 3 | 2019-12-21T17:54:10.000Z | 2019-12-27T13:03:29.000Z | /**
@file
@author Shin'ichiro Nakaoka
*/
#include "AudioItem.h"
#include <cnoid/ItemManager>
#include <cnoid/Archive>
#include <fmt/format.h>
#ifdef CNOID_MEDIA_PLUGIN_USE_LIBSNDFILE
#include <sndfile.h>
#endif
#include "gettext.h"
using namespace std;
using namespace std::placeholders;
using namespace cnoid;... | 23.384956 | 102 | 0.630464 | future731 |
614c806aaf8ed548d884daeb5af196493ea834c8 | 2,167 | cpp | C++ | Source/LogText/LogTest.cpp | eefan000/MultiLog | bb13cb817c53a70fd9a7cfa3bc4b5ad1ba5e7f21 | [
"MIT"
] | 3 | 2019-12-12T08:20:24.000Z | 2021-11-11T07:07:06.000Z | Source/LogText/LogTest.cpp | eefan000/MultiLog | bb13cb817c53a70fd9a7cfa3bc4b5ad1ba5e7f21 | [
"MIT"
] | null | null | null | Source/LogText/LogTest.cpp | eefan000/MultiLog | bb13cb817c53a70fd9a7cfa3bc4b5ad1ba5e7f21 | [
"MIT"
] | null | null | null | #include "LogTest.h"
#include "MultiLogSubsystem.h"
// Sets default values
ALogTest::ALogTest()
{
// Set this actor to call Tick() every frame. You can turn this off to improve performance if you don't need it.
PrimaryActorTick.bCanEverTick = true;
}
// Called when the game starts or when spawned
void ALogTest:... | 37.362069 | 115 | 0.678357 | eefan000 |
61502693e1ae16d88fc346811995e405a830e302 | 6,296 | cpp | C++ | Sourcecode/mx/api/DocumentManager.cpp | diskzero/MusicXML-Class-Library | bd4d1357b8ab2d4df8f1c6077883bbf169f6f0db | [
"MIT"
] | null | null | null | Sourcecode/mx/api/DocumentManager.cpp | diskzero/MusicXML-Class-Library | bd4d1357b8ab2d4df8f1c6077883bbf169f6f0db | [
"MIT"
] | null | null | null | Sourcecode/mx/api/DocumentManager.cpp | diskzero/MusicXML-Class-Library | bd4d1357b8ab2d4df8f1c6077883bbf169f6f0db | [
"MIT"
] | null | null | null | // MusicXML Class Library
// Copyright (c) by Matthew James Briggs
// Distributed under the MIT License
#include "mx/api/DocumentManager.h"
#include "mx/impl/ScoreReader.h"
#include "mx/impl/ScoreWriter.h"
#include "mx/core/Document.h"
#include "mx/xml/XFactory.h"
#define LOCK_DOCUMENT_MANAGER std::lock_guard<std::mu... | 28.36036 | 94 | 0.484276 | diskzero |
615037713b5cb25bfebe72e0b3fbe82993e12319 | 11,980 | cpp | C++ | demos/text_detection_demo/cpp/src/text_detection.cpp | Ohtani-y/open_model_zoo | 280b59fc6c00455889a1949c795558252fdad96f | [
"Apache-2.0"
] | 2 | 2019-08-20T15:30:19.000Z | 2020-09-01T15:16:33.000Z | demos/text_detection_demo/cpp/src/text_detection.cpp | Pandinosaurus/open_model_zoo | 2543996541346418919c5cddfb71e33e2cdef080 | [
"Apache-2.0"
] | 4 | 2020-05-22T17:30:43.000Z | 2021-08-02T07:33:16.000Z | demos/text_detection_demo/cpp/src/text_detection.cpp | Pandinosaurus/open_model_zoo | 2543996541346418919c5cddfb71e33e2cdef080 | [
"Apache-2.0"
] | 2 | 2021-06-25T06:18:58.000Z | 2021-08-04T10:05:32.000Z | // Copyright (C) 2019 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#include "text_detection.hpp"
#include <algorithm>
#include <string>
#include <unordered_map>
#include <vector>
namespace {
void softmax(std::vector<float>* data) {
auto &rdata = *data;
const size_t last_dim = 2;
for (size_... | 41.453287 | 144 | 0.577546 | Ohtani-y |
6155a6b8429b4c1273d4436dfe624cf62f46f4b5 | 2,584 | cpp | C++ | Intro/program3/operations-Jason_Downing.cpp | JasonD94/HighSchool | e37bb56b8149acc87cdb5e37ea619ab6db58fc29 | [
"MIT"
] | null | null | null | Intro/program3/operations-Jason_Downing.cpp | JasonD94/HighSchool | e37bb56b8149acc87cdb5e37ea619ab6db58fc29 | [
"MIT"
] | null | null | null | Intro/program3/operations-Jason_Downing.cpp | JasonD94/HighSchool | e37bb56b8149acc87cdb5e37ea619ab6db58fc29 | [
"MIT"
] | null | null | null | #include <iostream.h> //makes use of the input/output header file to use the keyboard.
int main()
{
float num1, num2, num3, sum, diff, prod, quot, average; //declares the variables needed for the program.
cout<<"Hello. Welcome to the OPERATIONS program. \n"; //First prompt/... | 58.727273 | 144 | 0.552245 | JasonD94 |
61606bb6f5c8cfabc8649328a80d29107fda13f6 | 15,917 | cc | C++ | lib/jxl/encode.cc | lvandeve/libjxl | 5923efb353edc17a2729c3334c7825dec5206ae7 | [
"BSD-3-Clause"
] | 1 | 2021-11-07T13:54:16.000Z | 2021-11-07T13:54:16.000Z | lib/jxl/encode.cc | lvandeve/libjxl | 5923efb353edc17a2729c3334c7825dec5206ae7 | [
"BSD-3-Clause"
] | null | null | null | lib/jxl/encode.cc | lvandeve/libjxl | 5923efb353edc17a2729c3334c7825dec5206ae7 | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) the JPEG XL Project Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
#include "jxl/encode.h"
#include <algorithm>
#include <cstring>
#include "lib/jxl/aux_out.h"
#include "lib/jxl/base/span.h"
#include "lib/jxl/c... | 33.865957 | 80 | 0.644719 | lvandeve |
616101bd78a7d104f72b663e610d7fede7e4b421 | 2,702 | hpp | C++ | core/src/higanbana/core/profiling/profiling.hpp | jgavert/FazE | 7cf63655869c285a7e5ca8f5a48f296d9548bd6c | [
"MIT"
] | 15 | 2020-01-15T13:04:36.000Z | 2022-02-18T17:08:25.000Z | core/src/higanbana/core/profiling/profiling.hpp | jgavert/FazE | 7cf63655869c285a7e5ca8f5a48f296d9548bd6c | [
"MIT"
] | 3 | 2015-09-09T08:16:30.000Z | 2015-11-24T16:22:48.000Z | core/src/higanbana/core/profiling/profiling.hpp | jgavert/FazE | 7cf63655869c285a7e5ca8f5a48f296d9548bd6c | [
"MIT"
] | 1 | 2021-12-06T07:19:05.000Z | 2021-12-06T07:19:05.000Z | #pragma once
#include "higanbana/core/datastructures/vector.hpp"
#include "higanbana/core/system/HighResClock.hpp"
#include "higanbana/core/system/ringbuffer.hpp"
#include <atomic>
#include <string>
#include <memory>
namespace higanbana
{
class FileSystem;
namespace profiling
{
struct ProfileData
{
std::string ... | 30.022222 | 171 | 0.781273 | jgavert |
61617046f016cc87d0a5316f962c5190901e66dd | 3,221 | cpp | C++ | T97887.cpp | AndrewWayne/OI_Learning | 0fe8580066704c8d120a131f6186fd7985924dd4 | [
"MIT"
] | null | null | null | T97887.cpp | AndrewWayne/OI_Learning | 0fe8580066704c8d120a131f6186fd7985924dd4 | [
"MIT"
] | null | null | null | T97887.cpp | AndrewWayne/OI_Learning | 0fe8580066704c8d120a131f6186fd7985924dd4 | [
"MIT"
] | null | null | null | /*
* Author: xiaohei_AWM
* Date: 9.12
* Motto: Face to the weakness, expect for the strength.
*/
#include<cstdio>
#include<cstring>
#include<algorithm>
#include<iostream>
#include<cstdlib>
#include<ctime>
#include<utility>
#include<functional>
#include<cmath>
#include<vector>
#include<assert.h>
using namespace std;
... | 26.619835 | 70 | 0.433406 | AndrewWayne |
616568d94c7560d42c500be4e61920eb6f492b98 | 7,442 | cpp | C++ | Source/XLibrary/XIni.cpp | xylamic/lightrail-pubsub-integration-framework | a7abc543982dca46119c0135af1d31c6f182797c | [
"MIT"
] | 1 | 2019-08-25T13:47:18.000Z | 2019-08-25T13:47:18.000Z | Source/XLibrary/XIni.cpp | xylamic/lightrail-pubsub-integration-framework | a7abc543982dca46119c0135af1d31c6f182797c | [
"MIT"
] | null | null | null | Source/XLibrary/XIni.cpp | xylamic/lightrail-pubsub-integration-framework | a7abc543982dca46119c0135af1d31c6f182797c | [
"MIT"
] | null | null | null | /*!
@file XIni.cpp
@author Adam Jordan
This file is part of the Xylasoft Lightrail product.
Copyright (c) 2011 Adam Jordan, Xylasoft, All Rights Reserved
http://www.xylasoft.com
Licensed for use under the MIT License
See accompanying LICENSE file for more information
*/
#include "XIni.h"
#include "XException.h"
#in... | 23.040248 | 120 | 0.656947 | xylamic |
6165f2d927091d2b90101ebf9e58705662e61c48 | 1,676 | cc | C++ | source/common/common/hex.cc | htuch/envoy | f466a86e4bba81c18f5b59f0c56ea36aa663e174 | [
"Apache-2.0"
] | 2 | 2017-07-31T15:03:19.000Z | 2018-02-20T16:18:49.000Z | source/common/common/hex.cc | htuch/envoy | f466a86e4bba81c18f5b59f0c56ea36aa663e174 | [
"Apache-2.0"
] | null | null | null | source/common/common/hex.cc | htuch/envoy | f466a86e4bba81c18f5b59f0c56ea36aa663e174 | [
"Apache-2.0"
] | null | null | null | #include "common/common/hex.h"
#include <array>
#include <cstdint>
#include <string>
#include <vector>
#include "envoy/common/exception.h"
#include "common/common/utility.h"
#include "spdlog/spdlog.h"
namespace Envoy {
std::string Hex::encode(const uint8_t* data, size_t length) {
static const char* const digits ... | 25.784615 | 79 | 0.645585 | htuch |
61677f91d633a1fcfb1d128fdaf19db0beb7f765 | 149 | hpp | C++ | FNF_MissionTemplate.VR/description/cfgSounds.hpp | Mjolnir64/FNF_MissionTemplate.VR | b2148a1a3dbace183756f73a2736e878d610e815 | [
"BSD-3-Clause"
] | 1 | 2022-01-15T23:22:44.000Z | 2022-01-15T23:22:44.000Z | FNF_MissionTemplate.VR/description/cfgSounds.hpp | FridayNightFight/FNF | 21911cbd397978a499dc2d75c33077979ed65213 | [
"BSD-3-Clause"
] | 41 | 2021-08-29T20:22:33.000Z | 2022-03-18T21:31:22.000Z | FNF_MissionTemplate.VR/description/cfgSounds.hpp | Mjolnir64/FNF_MissionTemplate.VR | b2148a1a3dbace183756f73a2736e878d610e815 | [
"BSD-3-Clause"
] | 2 | 2022-01-16T00:06:19.000Z | 2022-02-10T23:43:43.000Z | class CfgSounds
{
class bomb_alarm
{
name = "bomb_alarm";
sound[] = {"description\sound\bomb_alarm.ogg", 2.5, 1};
titles[] = {1, ""};
};
};
| 14.9 | 57 | 0.583893 | Mjolnir64 |
616828cccdfe5f08e7c27239e9e378daf5d45356 | 1,809 | cxx | C++ | Modules/IO/Base/test/itkArchetypeSeriesFileNamesTest.cxx | itkvideo/ITK | 5882452373df23463c2e9410c50bc9882ca1e8de | [
"Apache-2.0"
] | 1 | 2015-10-12T00:14:09.000Z | 2015-10-12T00:14:09.000Z | Modules/IO/Base/test/itkArchetypeSeriesFileNamesTest.cxx | itkvideo/ITK | 5882452373df23463c2e9410c50bc9882ca1e8de | [
"Apache-2.0"
] | null | null | null | Modules/IO/Base/test/itkArchetypeSeriesFileNamesTest.cxx | itkvideo/ITK | 5882452373df23463c2e9410c50bc9882ca1e8de | [
"Apache-2.0"
] | null | null | null | /*=========================================================================
*
* Copyright Insight Software Consortium
*
* 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
*
* h... | 29.177419 | 86 | 0.576009 | itkvideo |
6168f1d5f09c0d0ad822fe9fc9208b8354eaf65e | 558 | cpp | C++ | lesson-9/signal/main.cpp | davitp/lessons-linuxdev | c814aefd6ce5be4edc6ede0c18d0a2dad0840154 | [
"Apache-2.0"
] | null | null | null | lesson-9/signal/main.cpp | davitp/lessons-linuxdev | c814aefd6ce5be4edc6ede0c18d0a2dad0840154 | [
"Apache-2.0"
] | null | null | null | lesson-9/signal/main.cpp | davitp/lessons-linuxdev | c814aefd6ce5be4edc6ede0c18d0a2dad0840154 | [
"Apache-2.0"
] | 2 | 2021-02-12T12:50:08.000Z | 2022-02-10T06:56:33.000Z | #include <iostream>
#include <signal.h>
#include <sys/types.h>
#include <unistd.h>
#include <cstdlib>
#include <cstring>
void handleAbort(int signum, siginfo_t* siginfo, void* context){
std::cout << "Abort signal is recived from " << siginfo->si_pid << std::endl;
// exit(0);
}
int main(){
struct sigaction new_si... | 18.6 | 78 | 0.684588 | davitp |
616d1361225fc1e8d64325acf2911d8c7f5a5212 | 6,895 | cpp | C++ | owl/Object.cpp | chellmuth/owl | 8bf105b6ac12fe786cded0b292e772d2a2edd14c | [
"Apache-2.0"
] | null | null | null | owl/Object.cpp | chellmuth/owl | 8bf105b6ac12fe786cded0b292e772d2a2edd14c | [
"Apache-2.0"
] | null | null | null | owl/Object.cpp | chellmuth/owl | 8bf105b6ac12fe786cded0b292e772d2a2edd14c | [
"Apache-2.0"
] | null | null | null | // ======================================================================== //
// Copyright 2019-2020 Ingo Wald //
// //
// Licensed under the Apache License, Version 2.0 (the "License"); //
// y... | 28.970588 | 91 | 0.515736 | chellmuth |
616f37e6ef812cf5d95a129b6ed787c28e03535c | 2,757 | cpp | C++ | YorozuyaGSLib/source/CMoveMapLimitInfo.cpp | lemkova/Yorozuya | f445d800078d9aba5de28f122cedfa03f26a38e4 | [
"MIT"
] | 29 | 2017-07-01T23:08:31.000Z | 2022-02-19T10:22:45.000Z | YorozuyaGSLib/source/CMoveMapLimitInfo.cpp | kotopes/Yorozuya | 605c97d3a627a8f6545cc09f2a1b0a8afdedd33a | [
"MIT"
] | 90 | 2017-10-18T21:24:51.000Z | 2019-06-06T02:30:33.000Z | YorozuyaGSLib/source/CMoveMapLimitInfo.cpp | kotopes/Yorozuya | 605c97d3a627a8f6545cc09f2a1b0a8afdedd33a | [
"MIT"
] | 44 | 2017-12-19T08:02:59.000Z | 2022-02-24T23:15:01.000Z | #include <CMoveMapLimitInfo.hpp>
START_ATF_NAMESPACE
CMoveMapLimitInfo::CMoveMapLimitInfo(unsigned int uiInx, int iType)
{
using org_ptr = void (WINAPIV*)(struct CMoveMapLimitInfo*, unsigned int, int);
(org_ptr(0x1403a3d00L))(this, uiInx, iType);
};
void CMoveMapLimitInfo::ctor_CMoveMa... | 41.149254 | 116 | 0.683351 | lemkova |
6173b4c2bb61d90ebcd64f2ec60f02360e01e17d | 411 | cpp | C++ | src/main.cpp | Xwilarg/PixelWizard | 5b1feb1e3e4ac57b1cebc2920faa2b703660af1e | [
"Apache-2.0"
] | null | null | null | src/main.cpp | Xwilarg/PixelWizard | 5b1feb1e3e4ac57b1cebc2920faa2b703660af1e | [
"Apache-2.0"
] | null | null | null | src/main.cpp | Xwilarg/PixelWizard | 5b1feb1e3e4ac57b1cebc2920faa2b703660af1e | [
"Apache-2.0"
] | null | null | null | #include "Window.hpp"
#include "Player.hpp"
int main()
{
constexpr unsigned int xWin = 1200, yWin = 500;
PixelWizard::Window window(xWin, yWin);
window.addObject<PixelWizard::Object>(sf::Vector2f(500.f, 200.f), sf::Vector2f(400.f, 20.f));
window.addObject<PixelWizard::Player>(sf::Vector2f(600.f, 50.f));
while (... | 22.833333 | 94 | 0.6691 | Xwilarg |
617582257ab91b82baa2b1d7805b0cf9d3bc43c1 | 625,042 | cpp | C++ | Players/Cocos2d-x_v3/EffekseerNative.cpp | darreney/EffekseerForCocos2d-x | de9222b28f6f376cfb96f98b7b4dd783a3d66055 | [
"MIT"
] | null | null | null | Players/Cocos2d-x_v3/EffekseerNative.cpp | darreney/EffekseerForCocos2d-x | de9222b28f6f376cfb96f98b7b4dd783a3d66055 | [
"MIT"
] | null | null | null | Players/Cocos2d-x_v3/EffekseerNative.cpp | darreney/EffekseerForCocos2d-x | de9222b28f6f376cfb96f98b7b4dd783a3d66055 | [
"MIT"
] | null | null | null | #define _WINSOCK_DEPRECATED_NO_WARNINGS
#define _WINSOCKAPI_
#define NOMINMAX
#include "EffekseerNative.h"
#include <math.h>
#include <float.h>
#include <assert.h>
#include <string>
#include <vector>
#include <map>
#include <list>
#include <set>
#include <queue>
#include <fstream>
#include <memory>
#inc... | 27.600548 | 219 | 0.547773 | darreney |
6175aef1929ec0082cdfd7209c390abb62c6bbbd | 3,882 | cpp | C++ | Tasks/Task-342B-PureVirtFn/main.cpp | ConnorD02/Embedded-Systems | 3e42b3da487fbe3bf7cfa897a6dd4cdb568d97e1 | [
"Apache-2.0"
] | 33 | 2020-08-05T12:58:51.000Z | 2022-03-28T12:00:20.000Z | Tasks/Task-342B-PureVirtFn/main.cpp | ConnorD02/Embedded-Systems | 3e42b3da487fbe3bf7cfa897a6dd4cdb568d97e1 | [
"Apache-2.0"
] | 37 | 2020-08-05T12:53:22.000Z | 2022-03-04T10:24:47.000Z | Tasks/Task-342B-PureVirtFn/main.cpp | ConnorD02/Embedded-Systems | 3e42b3da487fbe3bf7cfa897a6dd4cdb568d97e1 | [
"Apache-2.0"
] | 51 | 2020-10-06T11:04:40.000Z | 2022-03-28T12:00:11.000Z | #include "uop_msb.h"
#include "CanBeEnabled.hpp"
#include <chrono>
#include <cstdint>
#include <ratio>
using namespace uop_msb;
using namespace chrono;
// This class now inherits TWO parent classes
class Flashy : public DigitalOut, public CanBeEnabled {
private:
static uint32_t count;
protected:
/... | 22.310345 | 87 | 0.540185 | ConnorD02 |
61782e91cc3a90717f19fa5da681e41dee02bc0a | 9,288 | cpp | C++ | ProcessLib/HydroMechanics/CreateHydroMechanicsProcess.cpp | zj39kevin/OGS | b616bbfe4a161759990c1453fcbbb465c9910b93 | [
"BSD-4-Clause"
] | null | null | null | ProcessLib/HydroMechanics/CreateHydroMechanicsProcess.cpp | zj39kevin/OGS | b616bbfe4a161759990c1453fcbbb465c9910b93 | [
"BSD-4-Clause"
] | null | null | null | ProcessLib/HydroMechanics/CreateHydroMechanicsProcess.cpp | zj39kevin/OGS | b616bbfe4a161759990c1453fcbbb465c9910b93 | [
"BSD-4-Clause"
] | null | null | null | /**
* \copyright
* Copyright (c) 2012-2018, OpenGeoSys Community (http://www.opengeosys.org)
* Distributed under a Modified BSD License.
* See accompanying file LICENSE.txt or
* http://www.opengeosys.org/project/license
*
*/
#include "CreateHydroMechanicsProcess.h"
#include... | 37.910204 | 114 | 0.68497 | zj39kevin |
61790f81ac766746420226718ed1ea9ce278ac9f | 570 | hpp | C++ | PnC/FootStepPlanner.hpp | stevenjj/PnC | e1e417dbd507f174bb2661247cb4360b6ee0ada7 | [
"MIT"
] | 1 | 2020-05-04T22:36:54.000Z | 2020-05-04T22:36:54.000Z | PnC/FootStepPlanner.hpp | stevenjj/PnC | e1e417dbd507f174bb2661247cb4360b6ee0ada7 | [
"MIT"
] | null | null | null | PnC/FootStepPlanner.hpp | stevenjj/PnC | e1e417dbd507f174bb2661247cb4360b6ee0ada7 | [
"MIT"
] | null | null | null | #pragma once
#include <string>
#include <Utils/IO/IOUtilities.hpp>
class FootStepPlanner{
public:
FootStepPlanner(){}
virtual ~FootStepPlanner(){}
virtual void PlannerInitialization(const YAML::Node & node) = 0;
virtual void getNextFootLocation(const Eigen::Vector3d & com_pos,
... | 30 | 71 | 0.564912 | stevenjj |
617bd432dd2d6405a4d7eded319795de0a3918cc | 2,914 | cpp | C++ | lib/axis/Axis.cpp | dniklaus/servo-axis-controller-test | d2aeadb40b391582fe88f97aa9e42f318b836486 | [
"MIT"
] | null | null | null | lib/axis/Axis.cpp | dniklaus/servo-axis-controller-test | d2aeadb40b391582fe88f97aa9e42f318b836486 | [
"MIT"
] | null | null | null | lib/axis/Axis.cpp | dniklaus/servo-axis-controller-test | d2aeadb40b391582fe88f97aa9e42f318b836486 | [
"MIT"
] | null | null | null | /*
* Axis.cpp
*
* Created on: 17.01.2018
* Author: nid
*/
#include <string.h>
#include <SpinTimer.h>
#include <ITargetReachedNotifier.h>
#include <Axis.h>
class VelocityControlTimerAction : public SpinTimerAction
{
private:
Axis* m_axis;
public:
VelocityControlTimerAction(Axis* axis)
: m_axis(axis)
... | 19.557047 | 105 | 0.694578 | dniklaus |
617d5e7101c9fd7f78c0af4b72a6efb64ab928f0 | 8,073 | cpp | C++ | interface/src/ui/SnapshotShareDialog.cpp | judasshuffle/hifi | f6778588914f803f63bd0e965fae9dfcbd22fd6d | [
"Apache-2.0"
] | null | null | null | interface/src/ui/SnapshotShareDialog.cpp | judasshuffle/hifi | f6778588914f803f63bd0e965fae9dfcbd22fd6d | [
"Apache-2.0"
] | null | null | null | interface/src/ui/SnapshotShareDialog.cpp | judasshuffle/hifi | f6778588914f803f63bd0e965fae9dfcbd22fd6d | [
"Apache-2.0"
] | null | null | null | //
// SnapshotShareDialog.cpp
// interface/src/ui
//
// Created by Stojce Slavkovski on 2/16/14.
// Copyright 2014 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 "SnapshotShareDialog.... | 38.260664 | 144 | 0.701846 | judasshuffle |
617f05151baba61737b3453249ca35d0073580f0 | 16,941 | cc | C++ | libcef_dll/ctocpp/xml_reader_ctocpp.cc | JimberSoftware/cef | d9b764860aa0c1dfad58b123474bc133c4e43d39 | [
"BSD-3-Clause"
] | null | null | null | libcef_dll/ctocpp/xml_reader_ctocpp.cc | JimberSoftware/cef | d9b764860aa0c1dfad58b123474bc133c4e43d39 | [
"BSD-3-Clause"
] | null | null | null | libcef_dll/ctocpp/xml_reader_ctocpp.cc | JimberSoftware/cef | d9b764860aa0c1dfad58b123474bc133c4e43d39 | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights
// reserved. Use of this source code is governed by a BSD-style license that
// can be found in the LICENSE file.
//
// ---------------------------------------------------------------------------
//
// This file was generated by the CEF translato... | 27.772131 | 80 | 0.734313 | JimberSoftware |
6180a42ba929f01b952a3276587f2ea432fea47e | 206 | cpp | C++ | blink/main.cpp | RMF-Flight/led_binary_counter | d6d9b895bf693d84e6cabba7c50c7600e420d2da | [
"Apache-2.0"
] | null | null | null | blink/main.cpp | RMF-Flight/led_binary_counter | d6d9b895bf693d84e6cabba7c50c7600e420d2da | [
"Apache-2.0"
] | null | null | null | blink/main.cpp | RMF-Flight/led_binary_counter | d6d9b895bf693d84e6cabba7c50c7600e420d2da | [
"Apache-2.0"
] | 1 | 2021-09-03T12:32:14.000Z | 2021-09-03T12:32:14.000Z | //Lチカ
#include "mbed.h"
DigitalOut led1(D3);
int main()
{
while(1) {
led1 = 1; //led1ピンをHIGHの状態(3.3V)にする
wait(1.0);
led1 = 0; //ledピンをLOWの状態(0V)にする
wait(1.0);
}
}
| 12.875 | 43 | 0.5 | RMF-Flight |
6182e2e7e89cb62d5b7054569ebf33c6e74e0fbb | 1,789 | cpp | C++ | Exercises/Exercises/String.cpp | lluissr/MasterExercises | 221ef37d19a3cdd9eabbb2ee7a11896fe605169f | [
"MIT"
] | null | null | null | Exercises/Exercises/String.cpp | lluissr/MasterExercises | 221ef37d19a3cdd9eabbb2ee7a11896fe605169f | [
"MIT"
] | null | null | null | Exercises/Exercises/String.cpp | lluissr/MasterExercises | 221ef37d19a3cdd9eabbb2ee7a11896fe605169f | [
"MIT"
] | null | null | null | #include "pch.h"
#include "String.h"
int String::GetLenght(const char* text)
{
if (text == nullptr)
{
return 0;
}
int textSize = 0;
while (*text++)
{
textSize++;
}
return textSize;
}
String::String(const char* text)
{
mem_alloc = GetLenght(text);
stringStart = (char*)malloc(mem_alloc);
Copy(text);... | 14.908333 | 48 | 0.655674 | lluissr |
618627a51469b605cb33268e33be9a0b77dc3a7b | 2,686 | hpp | C++ | typed_python/BoundMethodType.hpp | braxtonmckee/nativepython | 5c64e91eb959fcd1c2c42655b40c7cceb3436f1d | [
"Apache-2.0"
] | 7 | 2018-08-07T15:41:54.000Z | 2019-02-19T12:47:57.000Z | typed_python/BoundMethodType.hpp | braxtonmckee/nativepython | 5c64e91eb959fcd1c2c42655b40c7cceb3436f1d | [
"Apache-2.0"
] | 38 | 2018-10-17T13:37:46.000Z | 2019-04-11T20:50:14.000Z | typed_python/BoundMethodType.hpp | braxtonmckee/nativepython | 5c64e91eb959fcd1c2c42655b40c7cceb3436f1d | [
"Apache-2.0"
] | 4 | 2019-02-11T17:44:55.000Z | 2019-03-20T07:38:18.000Z | #pragma once
#include "Type.hpp"
#include "ReprAccumulator.hpp"
class BoundMethod : public Type {
public:
BoundMethod(Type* inFirstArg, Function* inFunc) : Type(TypeCategory::catBoundMethod)
{
m_function = inFunc;
m_is_default_constructible = false;
m_first_arg = inFirstArg;
m_... | 23.561404 | 88 | 0.615786 | braxtonmckee |
6193c2cf9fd1be85335c7add5a1591278ccacb93 | 2,879 | cpp | C++ | src/tests/add-ons/kernel/file_systems/userlandfs/r5/src/test/ramfs/BlockReferenceManager.cpp | axeld/haiku | e3becd53eef5c093ee8c8f32bab51d40b0f2b8d4 | [
"MIT"
] | 4 | 2016-03-29T21:45:21.000Z | 2016-12-20T00:50:38.000Z | src/tests/add-ons/kernel/file_systems/userlandfs/r5/src/test/ramfs/BlockReferenceManager.cpp | axeld/haiku | e3becd53eef5c093ee8c8f32bab51d40b0f2b8d4 | [
"MIT"
] | null | null | null | src/tests/add-ons/kernel/file_systems/userlandfs/r5/src/test/ramfs/BlockReferenceManager.cpp | axeld/haiku | e3becd53eef5c093ee8c8f32bab51d40b0f2b8d4 | [
"MIT"
] | 3 | 2018-12-17T13:07:38.000Z | 2021-09-08T13:07:31.000Z | // BlockReferenceManager.cpp
#include <new>
#include "AllocationInfo.h"
#include "Block.h"
#include "BlockAllocator.h" // only for BA_PANIC
#include "BlockReferenceManager.h"
#include "Debug.h"
static const int kBlockReferenceTableSize = 128;
// constructor
BlockReferenceManager::BlockReferenceManager()
: fTables... | 21.646617 | 69 | 0.70719 | axeld |
61994f2f22af1ab93b94d9c1b046d9a9aedad936 | 228 | cpp | C++ | cpp/cpp_primer/chapter03/ex_3_14.cpp | KaiserLancelot/Cpp-Primer | a4791a6765f0b6c864e8881e6a5328e2a3d68974 | [
"MIT"
] | 2 | 2019-12-21T00:53:47.000Z | 2020-01-01T10:36:30.000Z | cpp/cpp_primer/chapter03/ex_3_14.cpp | KaiserLancelot/Cpp-Primer | a4791a6765f0b6c864e8881e6a5328e2a3d68974 | [
"MIT"
] | null | null | null | cpp/cpp_primer/chapter03/ex_3_14.cpp | KaiserLancelot/Cpp-Primer | a4791a6765f0b6c864e8881e6a5328e2a3d68974 | [
"MIT"
] | null | null | null | //
// Created by kaiser on 18-11-22.
//
#include <cstdint>
#include <iostream>
#include <vector>
int main() {
std::vector<std::int32_t> vi;
std::int32_t value;
while (std::cin >> value) {
vi.push_back(value);
}
}
| 13.411765 | 33 | 0.614035 | KaiserLancelot |
619baaf94f0b68a3bb8ff09d7ede9ced35d25948 | 686 | cpp | C++ | SingletonDependency.cpp | haxpor/cpp_st | 43d1492266c6e01e6e243c834fba26eedf1ab9f3 | [
"MIT"
] | 2 | 2021-06-10T22:05:01.000Z | 2021-09-17T08:21:20.000Z | SingletonDependency.cpp | haxpor/cpp_st | 43d1492266c6e01e6e243c834fba26eedf1ab9f3 | [
"MIT"
] | null | null | null | SingletonDependency.cpp | haxpor/cpp_st | 43d1492266c6e01e6e243c834fba26eedf1ab9f3 | [
"MIT"
] | 1 | 2020-02-25T04:26:52.000Z | 2020-02-25T04:26:52.000Z | /**
* The order of initialization is preserved within the same initialization.
* So dependency is there before MySingleton needs to use it.
*/
#include <iostream>
#include <memory>
struct Dependency {
int dummy;
};
Dependency dd { .dummy=1 };
class MySingleton {
public:
static MySingleton& instance() {
... | 20.787879 | 75 | 0.642857 | haxpor |
619ee004e14d4312be8fd490a9614d9e66107536 | 266 | cc | C++ | src/base/io/seekable.cc | mbits-libs/libarch | b1c903d6567e68a47166ad6a2cb647dd9dc83696 | [
"MIT"
] | null | null | null | src/base/io/seekable.cc | mbits-libs/libarch | b1c903d6567e68a47166ad6a2cb647dd9dc83696 | [
"MIT"
] | null | null | null | src/base/io/seekable.cc | mbits-libs/libarch | b1c903d6567e68a47166ad6a2cb647dd9dc83696 | [
"MIT"
] | null | null | null | // Copyright (c) 2020 midnightBITS
// This code is licensed under MIT license (see LICENSE for details)
#include "arch/base/io/seekable.hh"
namespace arch::base::io {
seekable::seekable() = default;
seekable::~seekable() = default;
} // namespace arch::base::io | 29.555556 | 68 | 0.714286 | mbits-libs |
61a478bd112cec350a2a6f2d0fb97b77133a1722 | 6,659 | hpp | C++ | src/mlpack/methods/cf/normalization/combined_normalization.hpp | tomjpsun/mlpack | 39b9a852c58b648ddb9b87a3d87aa3db2bacbf0a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2020-01-11T14:14:30.000Z | 2020-01-11T14:14:30.000Z | src/mlpack/methods/cf/normalization/combined_normalization.hpp | tomjpsun/mlpack | 39b9a852c58b648ddb9b87a3d87aa3db2bacbf0a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2020-04-10T17:39:50.000Z | 2020-04-11T14:56:25.000Z | src/mlpack/methods/cf/normalization/combined_normalization.hpp | tomjpsun/mlpack | 39b9a852c58b648ddb9b87a3d87aa3db2bacbf0a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | /**
* @file combined_normalization.hpp
* @author Wenhao Huang
*
* CombinedNormalization is a class template for performing a sequence of data
* normalization methods which are specified by template parameter.
*
* mlpack is free software; you may redistribute it and/or modify it under the
* terms of the 3-clause... | 31.709524 | 78 | 0.667217 | tomjpsun |
61a5eafbdd728faf158eabcd9b77c718a4422726 | 2,892 | cpp | C++ | MakeApp/MakeApp.prj/MakeApp.cpp | rrvt/MakeApp | e79c8d8e22fe0f060456aee888c73b974ecef1a7 | [
"MIT"
] | null | null | null | MakeApp/MakeApp.prj/MakeApp.cpp | rrvt/MakeApp | e79c8d8e22fe0f060456aee888c73b974ecef1a7 | [
"MIT"
] | null | null | null | MakeApp/MakeApp.prj/MakeApp.cpp | rrvt/MakeApp | e79c8d8e22fe0f060456aee888c73b974ecef1a7 | [
"MIT"
] | null | null | null | // MakeApp.cpp : Defines the class behaviors for the application.
#include "stdafx.h"
#include "MakeApp.h"
#include "AboutDlg.h"
#include "GetPathDlg.h"
#include "IniFile.h"
#include "MainFrame.h"
#include "MakeAppDoc.h"
#include "MakeAppView.h"
#include "NotePad.h"
#include "Options.h"
#include "Project.h"
#include ... | 26.054054 | 103 | 0.698479 | rrvt |
61ad26b1d6040497de2e0cf3e266ce4c32c3e9ee | 1,071 | cpp | C++ | week1/longest-subsequence-1.cpp | sanketg186/100DaysOfCode | d44c7d4ac7b3fcf0cb91ab027a4cca133e433209 | [
"MIT"
] | null | null | null | week1/longest-subsequence-1.cpp | sanketg186/100DaysOfCode | d44c7d4ac7b3fcf0cb91ab027a4cca133e433209 | [
"MIT"
] | null | null | null | week1/longest-subsequence-1.cpp | sanketg186/100DaysOfCode | d44c7d4ac7b3fcf0cb91ab027a4cca133e433209 | [
"MIT"
] | null | null | null | // Longest subsequence-1
// Given an array A[] of size N, find the longest subsequence such that difference between adjacent elements is one.
// Initial Template for C++
#include <bits/stdc++.h>
using namespace std;
// } Driver Code Ends
// User function Template for C++
class Solution{
public:
int longestSub... | 21 | 116 | 0.468721 | sanketg186 |
61adf7b03d22e3b35cd9505a98e25c8fa101c7e0 | 2,510 | cpp | C++ | src/parsers/main_s2_sortArticleAndCategories.cpp | bencabrera/wikiMainPath | a42e81a8fbe119e858548045653b2a22068a34f8 | [
"MIT"
] | null | null | null | src/parsers/main_s2_sortArticleAndCategories.cpp | bencabrera/wikiMainPath | a42e81a8fbe119e858548045653b2a22068a34f8 | [
"MIT"
] | null | null | null | src/parsers/main_s2_sortArticleAndCategories.cpp | bencabrera/wikiMainPath | a42e81a8fbe119e858548045653b2a22068a34f8 | [
"MIT"
] | null | null | null | #include <fstream>
#include <algorithm>
#include <numeric>
#include <boost/filesystem.hpp>
#include "../core/wikiDataCache.h"
#include "helpers/sortTitlesHelper.h"
// boost
#include <boost/filesystem.hpp>
#include <boost/program_options.hpp>
namespace po = boost::program_options;
namespace fs = boost::filesystem;
in... | 41.147541 | 153 | 0.774104 | bencabrera |
61ae58fbc390c3a8b9dc9173cbdf96e991f6242b | 61,923 | cpp | C++ | src/cpu/x64/gemm/s8x8s32/jit_sse41_kernel_r_gemm_s8u8s32_kern_autogen.cpp | pinzhenx/oneDNN | b7ccd2f900a92e888e5516c90f068c6471b058ab | [
"Apache-2.0"
] | null | null | null | src/cpu/x64/gemm/s8x8s32/jit_sse41_kernel_r_gemm_s8u8s32_kern_autogen.cpp | pinzhenx/oneDNN | b7ccd2f900a92e888e5516c90f068c6471b058ab | [
"Apache-2.0"
] | null | null | null | src/cpu/x64/gemm/s8x8s32/jit_sse41_kernel_r_gemm_s8u8s32_kern_autogen.cpp | pinzhenx/oneDNN | b7ccd2f900a92e888e5516c90f068c6471b058ab | [
"Apache-2.0"
] | null | null | null | /*******************************************************************************
* Copyright 2020 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.o... | 27.052425 | 80 | 0.494743 | pinzhenx |
61b0ec9742d2d913969b6fbf5addf95b58e0f8a4 | 19,633 | hpp | C++ | Rx/v2/src/rxcpp/schedulers/rx-test.hpp | guhwanbae/RxCpp | 7f97aa901701343593869acad1ee5a02292f39cf | [
"Apache-2.0"
] | 2 | 2022-02-09T19:01:00.000Z | 2022-03-11T03:36:29.000Z | Rx/v2/src/rxcpp/schedulers/rx-test.hpp | ivan-cukic/wip-fork-rxcpp | 483963939e4a2adf674450dcb829005d84be1d59 | [
"Apache-2.0"
] | null | null | null | Rx/v2/src/rxcpp/schedulers/rx-test.hpp | ivan-cukic/wip-fork-rxcpp | 483963939e4a2adf674450dcb829005d84be1d59 | [
"Apache-2.0"
] | 1 | 2022-02-09T12:00:05.000Z | 2022-02-09T12:00:05.000Z | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
#pragma once
#if !defined(RXCPP_RX_SCHEDULER_TEST_HPP)
#define RXCPP_RX_SCHEDULER_TEST_HPP
#include "../rx-includes.hpp"
namespace rxcpp {
namespace schedulers {
namespace detail {
... | 31.768608 | 154 | 0.614374 | guhwanbae |
61b125ed90745230c448df1e9b48169d41636124 | 1,479 | cpp | C++ | src/Logger.cpp | mjssw/crux-net | 6dd2e2b36e9e6211b959f21cb34e3c7fb4845788 | [
"BSD-3-Clause"
] | 1 | 2016-07-04T16:07:57.000Z | 2016-07-04T16:07:57.000Z | src/Logger.cpp | mjssw/crux-net | 6dd2e2b36e9e6211b959f21cb34e3c7fb4845788 | [
"BSD-3-Clause"
] | null | null | null | src/Logger.cpp | mjssw/crux-net | 6dd2e2b36e9e6211b959f21cb34e3c7fb4845788 | [
"BSD-3-Clause"
] | null | null | null | #include "Logger.h"
#include "MutexGuard.h"
#include <fstream>
#include <iostream>
Crux::Logger logger;
namespace Crux
{
Logger::Logger()
: m_OnlyToCout( true ), m_pMutex( new Mutex )
{
}
Logger::Logger( const std::string& fileName )
: m_OnlyToCout( false ), m_pMutex( new Mutex )
{
m_OutStream = new std::ofstream(... | 17.819277 | 73 | 0.601082 | mjssw |
ba06ed2b1a2f6ed3bd38ec3c470455c8d8ef67b2 | 1,115 | cpp | C++ | CodeForces/Practice/414B.cpp | coderanant/Competitive-Programming | 45076af7894251080ac616c9581fbf2dc49604af | [
"MIT"
] | 4 | 2019-06-04T11:03:38.000Z | 2020-06-19T23:37:32.000Z | CodeForces/Practice/414B.cpp | coderanant/Competitive-Programming | 45076af7894251080ac616c9581fbf2dc49604af | [
"MIT"
] | null | null | null | CodeForces/Practice/414B.cpp | coderanant/Competitive-Programming | 45076af7894251080ac616c9581fbf2dc49604af | [
"MIT"
] | null | null | null | /*coderanant*/
#include <bits/stdc++.h>
using namespace std;
#define int long long
#define ll long long
#define f1(i,a,b) for(int i=a;i<b;i++)
#define f2(i,a,b) for(int i=a;i>=b;i--)
#define endl '\n'
#define pb push_back
#define gp " "
#define ff first
#define ss second
#define mp make_pair
const int mod=1000000007;... | 17.698413 | 46 | 0.417937 | coderanant |
ba0a40c6084e75c6a8a6ea0762f37ded5ea24114 | 315 | hpp | C++ | NWNXLib/API/Mac/API/CResHelperTemplatedCResDWK2052u.hpp | acaos/nwnxee-unified | 0e4c318ede64028c1825319f39c012e168e0482c | [
"MIT"
] | 1 | 2019-06-04T04:30:24.000Z | 2019-06-04T04:30:24.000Z | NWNXLib/API/Mac/API/CResHelperTemplatedCResDWK2052u.hpp | presscad/nwnee | 0f36b281524e0b7e9796bcf30f924792bf9b8a38 | [
"MIT"
] | null | null | null | NWNXLib/API/Mac/API/CResHelperTemplatedCResDWK2052u.hpp | presscad/nwnee | 0f36b281524e0b7e9796bcf30f924792bf9b8a38 | [
"MIT"
] | 1 | 2019-10-20T07:54:45.000Z | 2019-10-20T07:54:45.000Z | #pragma once
#include <cstdint>
#include "CResRef.hpp"
namespace NWNXLib {
namespace API {
// Forward class declarations (defined in the source file)
struct CResDWK;
struct CResHelperTemplatedCResDWK2052u
{
void** m_vtable;
int32_t m_bAutoRequest;
CResDWK* m_pRes;
CResRef m_cResRef;
};
}
}
| 12.6 | 58 | 0.720635 | acaos |
ba0ac8d9d5bff8eace217f9c40257f8158e2cf75 | 3,439 | cpp | C++ | src/ngraph/runtime/gpu/gpu_kernel_args.cpp | tzerrell/ngraph | b02b0812745ca1cb5f73d426ae9e0ad729eb0bbd | [
"Apache-2.0"
] | 1 | 2021-10-04T21:55:19.000Z | 2021-10-04T21:55:19.000Z | src/ngraph/runtime/gpu/gpu_kernel_args.cpp | tzerrell/ngraph | b02b0812745ca1cb5f73d426ae9e0ad729eb0bbd | [
"Apache-2.0"
] | 1 | 2019-02-20T20:56:47.000Z | 2019-02-22T20:10:28.000Z | src/ngraph/runtime/gpu/gpu_kernel_args.cpp | darchr/ngraph | 7c540e5230f8143ecb6926685c7b49305f0f988a | [
"Apache-2.0"
] | null | null | null | //*****************************************************************************
// Copyright 2017-2019 Intel Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://w... | 31.263636 | 100 | 0.618203 | tzerrell |
ba17b473e308666f4c5f72b1ffb8b6103b7bd363 | 3,941 | cpp | C++ | codes/CF/CF_786B.cpp | chessbot108/solved-problems | 0945be829a8ea9f0d5896c89331460d70d076691 | [
"MIT"
] | null | null | null | codes/CF/CF_786B.cpp | chessbot108/solved-problems | 0945be829a8ea9f0d5896c89331460d70d076691 | [
"MIT"
] | null | null | null | codes/CF/CF_786B.cpp | chessbot108/solved-problems | 0945be829a8ea9f0d5896c89331460d70d076691 | [
"MIT"
] | null | null | null |
//misaka will carry me to cm
#include <iostream>
#include <cstdio>
#include <cstring>
#include <utility>
#include <cassert>
#include <algorithm>
#include <vector>
#include <array>
#include <tuple>
#include <set>
#include <map>
#include <queue>
#define ll long long
#define lb long double
#define sz(vec) ((int)(vec.siz... | 22.649425 | 135 | 0.519158 | chessbot108 |
ba1844f8ee91dec0831d9f0c9332742df52c3260 | 9,694 | cpp | C++ | src/coqhull.cpp | Cetus-K/corder | cd635c3bf49f578952d65393270a9a980841299e | [
"MIT"
] | null | null | null | src/coqhull.cpp | Cetus-K/corder | cd635c3bf49f578952d65393270a9a980841299e | [
"MIT"
] | null | null | null | src/coqhull.cpp | Cetus-K/corder | cd635c3bf49f578952d65393270a9a980841299e | [
"MIT"
] | null | null | null | #include "corder.h"
// destructor
coqhull::~coqhull() {
vector < vector < vec > > ().swap(nv);
vector < vector < vec > > ().swap(eg);
vector < vector < vec > > ().swap(vt);
vector < vector < vector < int > > > ().swap(vnv);
vector < vector < vector < int > > > ().swap(veg);
vector < vector < vector < vec > > > (... | 30.677215 | 80 | 0.61502 | Cetus-K |
ba1b92287bf391b8e5461ca35f2eb541038202aa | 1,708 | cpp | C++ | aws-cpp-sdk-amplifyuibuilder/source/model/ThemeValue.cpp | perfectrecall/aws-sdk-cpp | fb8cbebf2fd62720b65aeff841ad2950e73d8ebd | [
"Apache-2.0"
] | 1 | 2022-02-12T08:09:30.000Z | 2022-02-12T08:09:30.000Z | aws-cpp-sdk-amplifyuibuilder/source/model/ThemeValue.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-amplifyuibuilder/source/model/ThemeValue.cpp | ravindra-wagh/aws-sdk-cpp | 7d5ff01b3c3b872f31ca98fb4ce868cd01e97696 | [
"Apache-2.0"
] | 1 | 2021-12-30T04:25:33.000Z | 2021-12-30T04:25:33.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/amplifyuibuilder/model/ThemeValue.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
namespace Aws
{
n... | 20.578313 | 98 | 0.718384 | perfectrecall |
ba1c0df97c84d9b6930ff10723599fe8ccbd77dd | 1,921 | hpp | C++ | openscenario/openscenario_interpreter/include/openscenario_interpreter/syntax/acceleration_condition.hpp | WJaworskiRobotec/scenario_simulator_v2 | c23497ac8716dcefef20d4b5a4ff1185e01f48e6 | [
"Apache-2.0"
] | 45 | 2021-04-12T22:43:25.000Z | 2022-02-27T23:57:53.000Z | openscenario/openscenario_interpreter/include/openscenario_interpreter/syntax/acceleration_condition.hpp | WJaworskiRobotec/scenario_simulator_v2 | c23497ac8716dcefef20d4b5a4ff1185e01f48e6 | [
"Apache-2.0"
] | 140 | 2021-04-13T04:28:19.000Z | 2022-03-30T12:44:32.000Z | openscenario/openscenario_interpreter/include/openscenario_interpreter/syntax/acceleration_condition.hpp | WJaworskiRobotec/scenario_simulator_v2 | c23497ac8716dcefef20d4b5a4ff1185e01f48e6 | [
"Apache-2.0"
] | 13 | 2021-05-22T02:24:49.000Z | 2022-03-25T05:16:31.000Z | // Copyright 2015-2020 Tier IV, 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 app... | 34.303571 | 94 | 0.717855 | WJaworskiRobotec |
ba1ddbb462aa251e33f6e902e3f89535794fef82 | 5,419 | cxx | C++ | tests/standalone_driver.cxx | ajaypanyala/GauXC | 8642cddc684a12bf9b0c0126cb45eb3818bb77e2 | [
"BSD-3-Clause-LBNL"
] | 8 | 2020-09-22T13:58:43.000Z | 2022-01-13T02:11:07.000Z | tests/standalone_driver.cxx | ajaypanyala/GauXC | 8642cddc684a12bf9b0c0126cb45eb3818bb77e2 | [
"BSD-3-Clause-LBNL"
] | 25 | 2020-09-25T17:33:51.000Z | 2021-10-15T16:10:19.000Z | tests/standalone_driver.cxx | ajaypanyala/GauXC | 8642cddc684a12bf9b0c0126cb45eb3818bb77e2 | [
"BSD-3-Clause-LBNL"
] | 11 | 2020-09-25T17:41:42.000Z | 2022-02-21T12:02:23.000Z | #include "standards.hpp"
#include "basis/parse_basis.hpp"
#include <random>
#include <algorithm>
#include <fstream>
#include <gauxc/external/cereal.hpp>
#include <cereal/archives/binary.hpp>
#include "eigen3_matrix_serialization.hpp"
#include <gauxc/xc_integrator.hpp>
#include <gauxc/xc_integrator/impl.hpp>
using n... | 33.658385 | 98 | 0.575198 | ajaypanyala |
ba1fabe9d36c18de910835bef2130b76272c2fdc | 18,402 | hh | C++ | common/stream_impl.hh | dbeck/codesloop | 874f68593cf2939ee232f1ccc5b65cacb928f0af | [
"BSD-2-Clause"
] | 2 | 2016-05-09T15:29:34.000Z | 2016-07-19T11:40:37.000Z | common/stream_impl.hh | dbeck/codesloop | 874f68593cf2939ee232f1ccc5b65cacb928f0af | [
"BSD-2-Clause"
] | null | null | null | common/stream_impl.hh | dbeck/codesloop | 874f68593cf2939ee232f1ccc5b65cacb928f0af | [
"BSD-2-Clause"
] | null | null | null | /*
Copyright (c) 2008,2009,2010, CodeSLoop Team
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaim... | 31.510274 | 96 | 0.566732 | dbeck |
ba27ff6d27235ee9a09dab7400c5ab896e07de58 | 1,221 | cpp | C++ | src/astra_core/unix/astra_environment_unix.cpp | Delicode/astra | 2654b99102b999a15d3221b0e5a11bb5291f7689 | [
"Apache-2.0"
] | 170 | 2015-10-20T08:31:16.000Z | 2021-12-01T01:47:32.000Z | src/astra_core/unix/astra_environment_unix.cpp | Delicode/astra | 2654b99102b999a15d3221b0e5a11bb5291f7689 | [
"Apache-2.0"
] | 42 | 2015-10-20T23:20:17.000Z | 2022-03-18T05:47:08.000Z | src/astra_core/unix/astra_environment_unix.cpp | Delicode/astra | 2654b99102b999a15d3221b0e5a11bb5291f7689 | [
"Apache-2.0"
] | 83 | 2015-10-22T14:53:00.000Z | 2021-11-04T03:09:48.000Z | // This file is part of the Orbbec Astra SDK [https://orbbec3d.com]
// Copyright (c) 2015 Orbbec 3D
//
// 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/LI... | 30.525 | 115 | 0.692875 | Delicode |
ba2ccbb2b18f77261e24c08dcd753b437ce6d01d | 26,846 | cpp | C++ | src/caffe/test/test_split_layer.cpp | asadanwar100/caffe | b6f128f580372868cdca0412c9755da24eedd6b6 | [
"BSD-2-Clause"
] | 463 | 2017-09-06T12:07:08.000Z | 2022-03-29T14:39:38.000Z | src/caffe/test/test_split_layer.cpp | asadanwar100/caffe | b6f128f580372868cdca0412c9755da24eedd6b6 | [
"BSD-2-Clause"
] | 80 | 2018-09-26T18:55:56.000Z | 2022-02-10T02:03:26.000Z | src/caffe/test/test_split_layer.cpp | asadanwar100/caffe | b6f128f580372868cdca0412c9755da24eedd6b6 | [
"BSD-2-Clause"
] | 172 | 2015-06-16T07:12:44.000Z | 2022-03-06T16:57:40.000Z | #include <string>
#include <vector>
#include "google/protobuf/text_format.h"
#include "gtest/gtest.h"
#include "caffe/blob.hpp"
#include "caffe/common.hpp"
#include "caffe/filler.hpp"
#include "caffe/layers/split_layer.hpp"
#include "caffe/proto/caffe.pb.h"
#include "caffe/util/insert_splits.hpp"
#include "caffe/tes... | 25.689952 | 76 | 0.463458 | asadanwar100 |
ba2f85a70e34e0810c01d3cf544f8fefcbde35d3 | 48,793 | cpp | C++ | src/common/umlReflection/src_gen/umlReflectionExec/TransitionObject.cpp | MDE4CPP/MDE4CPP | 9db9352dd3b1ae26a5f640e614ed3925499b93f1 | [
"MIT"
] | 12 | 2017-02-17T10:33:51.000Z | 2022-03-01T02:48:10.000Z | src/common/umlReflection/src_gen/umlReflectionExec/TransitionObject.cpp | ndongmo/MDE4CPP | 9db9352dd3b1ae26a5f640e614ed3925499b93f1 | [
"MIT"
] | 28 | 2017-10-17T20:23:52.000Z | 2021-03-04T16:07:13.000Z | src/common/umlReflection/src_gen/umlReflectionExec/TransitionObject.cpp | ndongmo/MDE4CPP | 9db9352dd3b1ae26a5f640e614ed3925499b93f1 | [
"MIT"
] | 22 | 2017-03-24T19:03:58.000Z | 2022-03-31T12:10:07.000Z | #include "umlReflectionExec/TransitionObject.hpp"
//General Includes
#include "abstractDataTypes/SubsetUnion.hpp"
#include "uml/Transition.hpp"
#include "umlReflection/UMLPackage.hpp"
#include "fUML/Semantics/Loci/Locus.hpp"
#include "uml/Class.hpp"
//Includes From Composite Structures
/*Not done for metamodel object ... | 44.478578 | 215 | 0.751481 | MDE4CPP |
ba368de3e346d6f75fb7f6ce7fc0e93ba25e073e | 21,047 | cpp | C++ | src/mongo/db/storage/sorted_data_interface_test_cursor_position.cpp | Iotka/mongo | 00578e45d13fe73ff51c4ff482d53ce465552752 | [
"Apache-2.0"
] | 1 | 2015-11-06T05:55:10.000Z | 2015-11-06T05:55:10.000Z | src/mongo/db/storage/sorted_data_interface_test_cursor_position.cpp | wujf/mongo | f2f48b749ded0c5585c798c302f6162f19336670 | [
"Apache-2.0"
] | null | null | null | src/mongo/db/storage/sorted_data_interface_test_cursor_position.cpp | wujf/mongo | f2f48b749ded0c5585c798c302f6162f19336670 | [
"Apache-2.0"
] | null | null | null | // sorted_data_interface_test_cursor_position.cpp
/**
* Copyright (C) 2014 MongoDB Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
* as published by the Free Software Foundation.
*
* This prog... | 44.031381 | 100 | 0.601701 | Iotka |
ba3848b87b2ac843ef9f1e04e116943190113f69 | 2,111 | cpp | C++ | src/Player/ObEnginePlayer.cpp | mjopenglsdl/ObEngine | a56116c8cdf1ce30b7fadb749f8ca4df54e5ee36 | [
"MIT"
] | null | null | null | src/Player/ObEnginePlayer.cpp | mjopenglsdl/ObEngine | a56116c8cdf1ce30b7fadb749f8ca4df54e5ee36 | [
"MIT"
] | null | null | null | src/Player/ObEnginePlayer.cpp | mjopenglsdl/ObEngine | a56116c8cdf1ce30b7fadb749f8ca4df54e5ee36 | [
"MIT"
] | null | null | null | #include <fstream>
#include <iostream>
#include <vili/Vili.hpp>
#include <SFML/Window/VideoMode.hpp>
#include <Bindings/Bindings.hpp>
#include <Debug/Logger.hpp>
#include <Graphics/PositionTransformers.hpp>
#include <Graphics/ResourceManager.hpp>
#include <Input/InputButtonMonitor.hpp>
#include <Input/KeyList.hpp>
#i... | 32.476923 | 135 | 0.711985 | mjopenglsdl |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.