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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a33fbd9985bf71da442823cece44b752ce21b420 | 19,430 | cpp | C++ | src/vscp/daemon/win32/service/ntservEventLogSource.cpp | nanocortex/vscp | 0b1a51a35a886921179a8112c592547f84c9771a | [
"CC-BY-3.0"
] | null | null | null | src/vscp/daemon/win32/service/ntservEventLogSource.cpp | nanocortex/vscp | 0b1a51a35a886921179a8112c592547f84c9771a | [
"CC-BY-3.0"
] | null | null | null | src/vscp/daemon/win32/service/ntservEventLogSource.cpp | nanocortex/vscp | 0b1a51a35a886921179a8112c592547f84c9771a | [
"CC-BY-3.0"
] | null | null | null | /*
Module : NTSERVEVENTLOGSOURCE.CPP
Purpose: Implementation for the class CNTEventLogSource
Created: PJN / 14-07-1997
History: PJN / 23-07-2005 1. Provided an overriden version of Report which has 3 string parameters
2. GetStringArrayFromRegistry and SetStringArrayIntoRegistry methods
... | 39.331984 | 228 | 0.677818 | nanocortex |
a340e33e6ef0760031216727f7fe8f4e3bfc85f4 | 7,775 | cpp | C++ | src/utils.cpp | mightybruno/KShare | c1124354be9c8bb5c1931e37e19391f0b6c4389f | [
"MIT"
] | 16 | 2020-01-22T04:52:46.000Z | 2022-02-22T09:53:39.000Z | src/utils.cpp | mightybruno/KShare | c1124354be9c8bb5c1931e37e19391f0b6c4389f | [
"MIT"
] | 15 | 2020-02-16T01:12:42.000Z | 2021-05-03T21:51:26.000Z | src/utils.cpp | mightybruno/KShare | c1124354be9c8bb5c1931e37e19391f0b6c4389f | [
"MIT"
] | 3 | 2020-04-03T22:20:14.000Z | 2020-09-23T07:58:09.000Z | #include "utils.hpp"
#include <QApplication>
#include <QClipboard>
#include <QPainter>
#include <QPixmap>
#include <QProcess>
#include <QScreen>
#include <logger.hpp>
#include <platformbackend.hpp>
#include <settings.hpp>
QColor utils::invertColor(QColor color) {
return QColor(255 - color.red(), 255 - color.green... | 36.502347 | 132 | 0.580322 | mightybruno |
a340ffc53e4e4c2a4ddbb9622504e595703ae398 | 2,965 | cpp | C++ | examples/Direct3D9Widget/MainWindow.cpp | giladreich/QtDirect3D | 757568d4fc0c754ce445f145bb114ac1281f8b18 | [
"MIT"
] | 90 | 2019-01-16T21:40:27.000Z | 2022-03-31T08:22:51.000Z | examples/Direct3D9Widget/MainWindow.cpp | giladreich/QtDirect3D | 757568d4fc0c754ce445f145bb114ac1281f8b18 | [
"MIT"
] | 7 | 2021-08-20T00:06:12.000Z | 2021-09-28T21:06:12.000Z | examples/Direct3D9Widget/MainWindow.cpp | giladreich/QtDirect3D | 757568d4fc0c754ce445f145bb114ac1281f8b18 | [
"MIT"
] | 17 | 2019-01-16T21:40:32.000Z | 2022-01-17T19:19:07.000Z | /*
*
*/
#include "MainWindow.h"
#include <QStyle>
#include <QDebug>
#include <QTime>
#include <QScreen>
#include <QMessageBox>
#include <QCloseEvent>
#include <QDesktopWidget>
MainWindow::MainWindow(QWidget * parent)
: QMainWindow(parent)
, ui(new Ui::MainWindowClass)
, m_WindowSize(QSize(1280, 800))
... | 28.509615 | 95 | 0.668465 | giladreich |
a341ab073081693f8914f72a51430280b11d143b | 6,105 | cpp | C++ | tools/llvm-pdbdump/PdbYaml.cpp | tlatkdgus1/llvm-code_obfuscate | c4d0641f95704fb9909e2ac09500df1b6bc5d017 | [
"Unlicense"
] | 6 | 2016-07-18T01:52:11.000Z | 2020-11-18T14:07:07.000Z | tools/llvm-pdbdump/PdbYaml.cpp | tlatkdgus1/llvm-code_obfuscate | c4d0641f95704fb9909e2ac09500df1b6bc5d017 | [
"Unlicense"
] | null | null | null | tools/llvm-pdbdump/PdbYaml.cpp | tlatkdgus1/llvm-code_obfuscate | c4d0641f95704fb9909e2ac09500df1b6bc5d017 | [
"Unlicense"
] | null | null | null | //===- PdbYAML.cpp -------------------------------------------- *- C++ --*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | 38.639241 | 80 | 0.658804 | tlatkdgus1 |
a342e41acf884d8c4aadf922b9ad4d9d0bbd2e35 | 17,743 | cpp | C++ | catboost/libs/model/model_export/pmml_helpers.cpp | belya/catboost | 937e0165fdf07818bc611abd3a22a1d3d8145e64 | [
"Apache-2.0"
] | null | null | null | catboost/libs/model/model_export/pmml_helpers.cpp | belya/catboost | 937e0165fdf07818bc611abd3a22a1d3d8145e64 | [
"Apache-2.0"
] | null | null | null | catboost/libs/model/model_export/pmml_helpers.cpp | belya/catboost | 937e0165fdf07818bc611abd3a22a1d3d8145e64 | [
"Apache-2.0"
] | null | null | null | #include "pmml_helpers.h"
#include <catboost/libs/model/model.h>
#include <catboost/libs/helpers/exception.h>
#include <catboost/libs/helpers/xml_output.h>
#include <catboost/private/libs/options/enum_helpers.h>
#include <library/json/json_value.h>
#include <library/svnversion/svnversion.h>
#include <util/datetime/... | 34.996055 | 111 | 0.63456 | belya |
a3440031ed80644b873404c9762928ef4b9ac7ec | 29,153 | cpp | C++ | source/ablscript/ablxstd.cpp | mechasource/mechcommander2 | b2c7cecf001cec1f535aa8d29c31bdc30d9aa983 | [
"BSD-2-Clause"
] | 38 | 2015-04-10T13:31:03.000Z | 2021-09-03T22:34:05.000Z | source/ablscript/ablxstd.cpp | mechasource/mechcommander2 | b2c7cecf001cec1f535aa8d29c31bdc30d9aa983 | [
"BSD-2-Clause"
] | 1 | 2020-07-09T09:48:44.000Z | 2020-07-12T12:41:43.000Z | source/ablscript/ablxstd.cpp | mechasource/mechcommander2 | b2c7cecf001cec1f535aa8d29c31bdc30d9aa983 | [
"BSD-2-Clause"
] | 12 | 2015-06-29T08:06:57.000Z | 2021-10-13T13:11:41.000Z | //===========================================================================//
// Copyright (C) Microsoft Corporation. All rights reserved. //
//===========================================================================//
//***************************************************************************
//... | 27.92433 | 115 | 0.556135 | mechasource |
a3453eed730064b30cc16c9bceca3dcd94cb60ec | 8,770 | cpp | C++ | HaloExchangeTests/src/GnuplotLogger.cpp | pspoerri/HaloExchangeBenchmarks | 6e86202aa3e5bf073cbcb38afdbf6db78f4d8c58 | [
"BSD-3-Clause"
] | null | null | null | HaloExchangeTests/src/GnuplotLogger.cpp | pspoerri/HaloExchangeBenchmarks | 6e86202aa3e5bf073cbcb38afdbf6db78f4d8c58 | [
"BSD-3-Clause"
] | null | null | null | HaloExchangeTests/src/GnuplotLogger.cpp | pspoerri/HaloExchangeBenchmarks | 6e86202aa3e5bf073cbcb38afdbf6db78f4d8c58 | [
"BSD-3-Clause"
] | null | null | null | #include <cmath>
#include <climits>
#include <iostream>
#include <sstream>
#include <stdexcept>
#include <stdlib.h>
#include "GnuplotLogger.h"
void GnuplotLogger::Init(int saveDigits, int iSize, int jSize, int kSize, std::string filename, int kmin = 0, int kmax = 0, int numRowPlots = 2,
int numColumnPlots = ... | 29.233333 | 144 | 0.527024 | pspoerri |
a346dea702954c1e6212aa82e9730dd1df8b937d | 17,610 | cpp | C++ | src/VisVim/Commands.cpp | ystk/debian-vim | 98cdb14a39abb4c793ddfd7c8ff2e377e128ec9c | [
"Vim"
] | 9 | 2015-01-26T14:05:14.000Z | 2017-08-21T08:10:37.000Z | src/VisVim/Commands.cpp | codedreality/vim | 288de1c3bea233213263e0ef925ea3d8debcad5d | [
"Vim"
] | 1 | 2021-02-17T18:37:39.000Z | 2021-02-17T18:37:39.000Z | src/VisVim/Commands.cpp | codedreality/vim | 288de1c3bea233213263e0ef925ea3d8debcad5d | [
"Vim"
] | 4 | 2020-11-04T07:47:54.000Z | 2021-12-12T19:02:31.000Z | #include "stdafx.h"
#include <comdef.h> // For _bstr_t
#include "VisVim.h"
#include "Commands.h"
#include "OleAut.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
// Change directory before opening file?
#define CD_SOURCE 0 // Cd to source path
#define CD_SOURCE_PA... | 24.733146 | 91 | 0.710278 | ystk |
a34a146f83f66c0d05b5c8df86d3d44ef186f095 | 4,024 | cc | C++ | chrome/installer/gcapi/gcapi_omaha_experiment.cc | google-ar/chromium | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 777 | 2017-08-29T15:15:32.000Z | 2022-03-21T05:29:41.000Z | chrome/installer/gcapi/gcapi_omaha_experiment.cc | harrymarkovskiy/WebARonARCore | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 66 | 2017-08-30T18:31:18.000Z | 2021-08-02T10:59:35.000Z | chrome/installer/gcapi/gcapi_omaha_experiment.cc | harrymarkovskiy/WebARonARCore | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 123 | 2017-08-30T01:19:34.000Z | 2022-03-17T22:55:31.000Z | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/installer/gcapi/gcapi_omaha_experiment.h"
#include "base/strings/string_split.h"
#include "base/strings/string_util.h"
#include "bas... | 35.610619 | 80 | 0.675447 | google-ar |
a34af58cfb46131ea9c32cf303cc0786dcd034ed | 22,925 | cpp | C++ | Core/Contents/Source/PolyImage.cpp | MattDBell/Polycode | fc66547813a34a2388c9a45ec0b69919ce3253b2 | [
"MIT"
] | 1 | 2020-04-30T23:05:26.000Z | 2020-04-30T23:05:26.000Z | Core/Contents/Source/PolyImage.cpp | MattDBell/Polycode | fc66547813a34a2388c9a45ec0b69919ce3253b2 | [
"MIT"
] | null | null | null | Core/Contents/Source/PolyImage.cpp | MattDBell/Polycode | fc66547813a34a2388c9a45ec0b69919ce3253b2 | [
"MIT"
] | null | null | null | /*
Copyright (C) 2011 by Ivan Safrin
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distri... | 25.700673 | 122 | 0.595594 | MattDBell |
a34da34cb401f54ff6c660b2ca4956041ffa33fb | 571 | cc | C++ | tcpp/minion2/minion/system/minlib/tests/test_print.cc | Behrouz-Babaki/TCPP-chuffed | d832b44690914ef4b73d71bc7e565efb98e42937 | [
"MIT"
] | 1 | 2021-09-09T13:03:02.000Z | 2021-09-09T13:03:02.000Z | tcpp/minion2/minion/system/minlib/tests/test_print.cc | Behrouz-Babaki/TCPP-chuffed | d832b44690914ef4b73d71bc7e565efb98e42937 | [
"MIT"
] | null | null | null | tcpp/minion2/minion/system/minlib/tests/test_print.cc | Behrouz-Babaki/TCPP-chuffed | d832b44690914ef4b73d71bc7e565efb98e42937 | [
"MIT"
] | null | null | null | #include "minlib/minlib.hpp"
using namespace std;
int main(void) {
auto pa = make_pair(make_pair(1, 2), 3);
D_ASSERT("((1,2),3)" == tostring(pa));
auto con = make<vector>(1, 2, 3);
D_ASSERT("2" == tostring(2));
D_ASSERT("[1,2,3]" == tostring(con));
auto p = make_pair(con, 2);
D_ASSERT("([1,2,3],2)" == t... | 23.791667 | 42 | 0.579685 | Behrouz-Babaki |
a34e4268208d0f7cf4755ece49a1db1d642352ae | 3,942 | cpp | C++ | test/view/join.cpp | Bhaskers-Blu-Org2/Range-V3-VS2015 | 423bcae5cf18948591361329784d3b12ef41711b | [
"MIT"
] | 125 | 2016-08-23T03:43:08.000Z | 2019-04-27T22:50:04.000Z | test/view/join.cpp | Bhaskers-Blu-Org2/Range-V3-VS2015 | 423bcae5cf18948591361329784d3b12ef41711b | [
"MIT"
] | 28 | 2016-08-23T04:37:19.000Z | 2018-04-11T16:06:52.000Z | test/view/join.cpp | Microsoft/Range-V3-VS2015 | 423bcae5cf18948591361329784d3b12ef41711b | [
"MIT"
] | 19 | 2016-08-23T03:57:32.000Z | 2018-10-18T12:31:50.000Z | // Range v3 library
//
// Copyright Eric Niebler 2014
//
// Use, modification and distribution is 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)
//
// Project home: https://github.com/ericniebler/range-v3
#includ... | 35.513514 | 99 | 0.662354 | Bhaskers-Blu-Org2 |
a35317ee0b1e1530df5387c6c9ea85aafd3b3075 | 38,424 | cpp | C++ | compute/blas_enhance/src/cpu/x86/fp32/mvm_avx2_col.cpp | ishine/bolt | ea734231f7085898ba5ca10da6d02da38058a705 | [
"MIT"
] | 722 | 2019-12-02T13:07:19.000Z | 2022-03-24T08:55:38.000Z | compute/blas_enhance/src/cpu/x86/fp32/mvm_avx2_col.cpp | ishine/bolt | ea734231f7085898ba5ca10da6d02da38058a705 | [
"MIT"
] | 89 | 2019-12-04T13:46:25.000Z | 2022-03-28T02:52:27.000Z | compute/blas_enhance/src/cpu/x86/fp32/mvm_avx2_col.cpp | ishine/bolt | ea734231f7085898ba5ca10da6d02da38058a705 | [
"MIT"
] | 137 | 2019-12-03T08:41:58.000Z | 2022-03-18T19:54:59.000Z | // Copyright (C) 2019. Huawei Technologies Co., Ltd. All rights reserved.
// 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 u... | 68.370107 | 150 | 0.242218 | ishine |
a35433cfb9e84d5dda51a8fdbd1d001686d0fd0f | 5,664 | hpp | C++ | openstudiocore/src/model/RefrigerationGasCoolerAirCooled.hpp | zhouchong90/OpenStudio | f8570cb8297547b5e9cc80fde539240d8f7b9c24 | [
"BSL-1.0",
"blessing"
] | null | null | null | openstudiocore/src/model/RefrigerationGasCoolerAirCooled.hpp | zhouchong90/OpenStudio | f8570cb8297547b5e9cc80fde539240d8f7b9c24 | [
"BSL-1.0",
"blessing"
] | null | null | null | openstudiocore/src/model/RefrigerationGasCoolerAirCooled.hpp | zhouchong90/OpenStudio | f8570cb8297547b5e9cc80fde539240d8f7b9c24 | [
"BSL-1.0",
"blessing"
] | null | null | null | /**********************************************************************
* Copyright (c) 2008-2014, Alliance for Sustainable Energy.
* All rights reserved.
*
* 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 t... | 29.34715 | 133 | 0.783545 | zhouchong90 |
a3557e648c735a074e59ccd9d9cd2a1967821fca | 4,565 | cc | C++ | mindspore/ccsrc/plugin/device/ascend/optimizer/ir_fission/pack_fission.cc | AK391/mindspore | f5aeaa9172dcd647885774e7f657593c81b79fc6 | [
"Apache-2.0"
] | null | null | null | mindspore/ccsrc/plugin/device/ascend/optimizer/ir_fission/pack_fission.cc | AK391/mindspore | f5aeaa9172dcd647885774e7f657593c81b79fc6 | [
"Apache-2.0"
] | null | null | null | mindspore/ccsrc/plugin/device/ascend/optimizer/ir_fission/pack_fission.cc | AK391/mindspore | f5aeaa9172dcd647885774e7f657593c81b79fc6 | [
"Apache-2.0"
] | null | null | null | /**
* Copyright 2020-2021 Huawei Technologies Co., Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicabl... | 43.47619 | 119 | 0.739321 | AK391 |
a3563fb3618b9d5064c892e72d0354b40c6c7858 | 2,932 | hpp | C++ | S3DTiled/include/S3DTiled/Chunk.hpp | tyanmahou/S3DTiled | 4f90ea7e30eed8973ebc92a72a77edfc00ba0f10 | [
"MIT"
] | null | null | null | S3DTiled/include/S3DTiled/Chunk.hpp | tyanmahou/S3DTiled | 4f90ea7e30eed8973ebc92a72a77edfc00ba0f10 | [
"MIT"
] | 1 | 2020-03-22T05:15:36.000Z | 2020-04-03T13:40:59.000Z | S3DTiled/include/S3DTiled/Chunk.hpp | tyanmahou/S3DTiled | 4f90ea7e30eed8973ebc92a72a77edfc00ba0f10 | [
"MIT"
] | 1 | 2020-09-16T06:32:16.000Z | 2020-09-16T06:32:16.000Z | #pragma once
#include <Siv3D/Grid.hpp>
#include <Siv3D/HashTable.hpp>
namespace s3dTiled
{
template<class Type>
class Chunk
{
public:
Chunk() = default;
Chunk(s3d::int32 chunkSizeX, s3d::int32 chunkSizeY) :
Chunk(s3d::Size{ chunkSizeX, chunkSizeY })
{}
Chunk(... | 30.226804 | 106 | 0.501705 | tyanmahou |
a358ffbe7237a8ad21fb5d9a6cf608646731c6d1 | 3,258 | hpp | C++ | include/continuable/detail/operations/async.hpp | Naios/Continue.cpp | ed8310e345b3c930c0810bc27f3e979a479da9b6 | [
"MIT"
] | 2 | 2016-01-04T13:02:36.000Z | 2016-07-18T04:09:14.000Z | include/continuable/detail/operations/async.hpp | Naios/Continue.cpp | ed8310e345b3c930c0810bc27f3e979a479da9b6 | [
"MIT"
] | 1 | 2015-08-13T21:10:11.000Z | 2016-04-01T00:58:10.000Z | include/continuable/detail/operations/async.hpp | Naios/Continue.cpp | ed8310e345b3c930c0810bc27f3e979a479da9b6 | [
"MIT"
] | null | null | null |
/*
/~` _ _ _|_. _ _ |_ | _
\_,(_)| | | || ||_|(_||_)|(/_
https://github.com/Naios/continuable
v4.2.0
Copyright(c) 2015 - 2022 Denis Blank <denis.blank at outlook dot com>
Permission is hereby granted, fr... | 40.222222 | 79 | 0.65531 | Naios |
a3592cccb630dd0b28f0213d9f89e90cff4f66c9 | 2,809 | hh | C++ | Core/Gfx/GfxModule.hh | UberLambda/Ares | 3efb563b61190a2bdc66466b590670b888e11a9b | [
"MIT"
] | null | null | null | Core/Gfx/GfxModule.hh | UberLambda/Ares | 3efb563b61190a2bdc66466b590670b888e11a9b | [
"MIT"
] | null | null | null | Core/Gfx/GfxModule.hh | UberLambda/Ares | 3efb563b61190a2bdc66466b590670b888e11a9b | [
"MIT"
] | 1 | 2020-07-31T15:13:49.000Z | 2020-07-31T15:13:49.000Z | #pragma once
#include <Core/Api.h>
#include <Core/Base/Ref.hh>
#include <Core/Module/Module.hh>
#include <Core/Visual/Resolution.hh>
#include <Core/Gfx/GfxBackend.hh>
#include <Core/Gfx/GfxPipeline.hh>
namespace Ares
{
class Window; // (#include "../Visual/Window.hh")
class GfxRenderer; // (#include "Gfx/GfxRenderer... | 34.679012 | 86 | 0.680669 | UberLambda |
a35a32c16dbabdd0c15da1101cc427338224d3d8 | 23,703 | cpp | C++ | tests/Aql/ScatterExecutorTest.cpp | pranshu28/arangodb | 84242c6854379af6eac28141487688a2ae67dc01 | [
"Apache-2.0"
] | null | null | null | tests/Aql/ScatterExecutorTest.cpp | pranshu28/arangodb | 84242c6854379af6eac28141487688a2ae67dc01 | [
"Apache-2.0"
] | null | null | null | tests/Aql/ScatterExecutorTest.cpp | pranshu28/arangodb | 84242c6854379af6eac28141487688a2ae67dc01 | [
"Apache-2.0"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////////
/// DISCLAIMER
///
/// Copyright 2020 ArangoDB GmbH, Cologne, Germany
///
/// 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... | 39.703518 | 98 | 0.647597 | pranshu28 |
a35b00cfc541daa896435ccc388ddf9ec19f654c | 356 | cpp | C++ | acwing/base/790. 浮点二分.cpp | xmmmmmovo/MyAlgorithmSolutions | f5198d438f36f41cc4f72d53bb71d474365fa80d | [
"MIT"
] | 1 | 2020-03-26T13:40:52.000Z | 2020-03-26T13:40:52.000Z | acwing/base/790. 浮点二分.cpp | xmmmmmovo/MyAlgorithmSolutions | f5198d438f36f41cc4f72d53bb71d474365fa80d | [
"MIT"
] | null | null | null | acwing/base/790. 浮点二分.cpp | xmmmmmovo/MyAlgorithmSolutions | f5198d438f36f41cc4f72d53bb71d474365fa80d | [
"MIT"
] | null | null | null | //
// Created by xmmmmmovo on 2021/1/10.
//
#include <iostream>
using namespace std;
int main() {
double x;
scanf("%lf", &x);
double l = -10000, r = 10000;
while (r - l > 1e-8) {
double mid = (l + r) / 2;
if (mid * mid * mid >= x) r = mid;
else
l = mid;
}
... | 14.24 | 42 | 0.452247 | xmmmmmovo |
a35bdd86bf6897e9bd2661a3a5c79431b5e67605 | 3,429 | cc | C++ | base/test/test_switches.cc | nctl144/cy-gurl | fef56d043b1f4fca22e721addc331241a8c97e46 | [
"MIT"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | base/test/test_switches.cc | nctl144/cy-gurl | fef56d043b1f4fca22e721addc331241a8c97e46 | [
"MIT"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | base/test/test_switches.cc | nctl144/cy-gurl | fef56d043b1f4fca22e721addc331241a8c97e46 | [
"MIT"
] | 338 | 2020-04-18T08:03:10.000Z | 2022-03-29T12:33:22.000Z | // Copyright (c) 2012 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/test/test_switches.h"
// Maximum number of tests to run in a single batch.
const char switches::kTestLauncherBatchLimit[] = "test-laun... | 41.817073 | 80 | 0.763196 | nctl144 |
a35e49269c890582da8e04edcb640752836b1822 | 3,368 | cpp | C++ | 04_FindInPartiallySortedMatrix/FindInPartiallySortedMatrix.cpp | darkkiller123/-offer | a0859f469e5c8caef52d5ff145753ad46eda6aaa | [
"BSD-3-Clause"
] | null | null | null | 04_FindInPartiallySortedMatrix/FindInPartiallySortedMatrix.cpp | darkkiller123/-offer | a0859f469e5c8caef52d5ff145753ad46eda6aaa | [
"BSD-3-Clause"
] | null | null | null | 04_FindInPartiallySortedMatrix/FindInPartiallySortedMatrix.cpp | darkkiller123/-offer | a0859f469e5c8caef52d5ff145753ad46eda6aaa | [
"BSD-3-Clause"
] | null | null | null | /*******************************************************************
Copyright(c) 2016, Harry He
All rights reserved.
Distributed under the BSD license.
(See accompanying file LICENSE.txt at
https://github.com/zhedahht/CodingInterviewChinese2/blob/master/LICENSE.txt)
***************************************************... | 21.589744 | 88 | 0.437648 | darkkiller123 |
a35f846756d906fac1ec4514457e2d4ffd850374 | 4,089 | cpp | C++ | src/third_party/VisionWorks-1.6-Demos/nvxio/src/OVX/Render/RenderOVX.cpp | reveriel/cuda_scheduling_examiner_mirror | 16d2404c0dc8d72f7a13e4a167d3db4c86128a26 | [
"BSD-2-Clause-FreeBSD"
] | 39 | 2017-05-23T00:27:50.000Z | 2022-02-16T07:56:07.000Z | src/third_party/VisionWorks-1.6-Demos/nvxio/src/OVX/Render/RenderOVX.cpp | reveriel/cuda_scheduling_examiner_mirror | 16d2404c0dc8d72f7a13e4a167d3db4c86128a26 | [
"BSD-2-Clause-FreeBSD"
] | 2 | 2019-10-22T13:47:39.000Z | 2020-04-03T16:09:04.000Z | src/third_party/VisionWorks-1.6-Demos/nvxio/src/OVX/Render/RenderOVX.cpp | reveriel/cuda_scheduling_examiner_mirror | 16d2404c0dc8d72f7a13e4a167d3db4c86128a26 | [
"BSD-2-Clause-FreeBSD"
] | 14 | 2017-09-11T19:59:19.000Z | 2021-02-03T10:00:22.000Z | /*
# Copyright (c) 2014-2016, NVIDIA CORPORATION. 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 cond... | 38.575472 | 124 | 0.707997 | reveriel |
a36081a015d86c6d7c0416e0f89608f1b162d9dd | 1,058 | cpp | C++ | src/gm/functions/tests/testLongestAxis.cpp | moddyz/GraphicsMath | b15f9c52a090ffdb4028f7b2aa70d7ef3dfc14f2 | [
"MIT"
] | null | null | null | src/gm/functions/tests/testLongestAxis.cpp | moddyz/GraphicsMath | b15f9c52a090ffdb4028f7b2aa70d7ef3dfc14f2 | [
"MIT"
] | null | null | null | src/gm/functions/tests/testLongestAxis.cpp | moddyz/GraphicsMath | b15f9c52a090ffdb4028f7b2aa70d7ef3dfc14f2 | [
"MIT"
] | 1 | 2020-12-08T11:32:04.000Z | 2020-12-08T11:32:04.000Z | //
// This file is auto-generated, please do not modify directly!
//
#include <catch2/catch.hpp>
#include <gm/functions/longestAxis.h>
TEST_CASE( "LongestAxis_Vec2fRange" )
{
CHECK( gm::LongestAxis( gm::Vec2fRange( gm::Vec2f( 0.0f, 1.0f ), gm::Vec2f( 0.0f, 2.0f ) ) ) == 1 );
}
TEST_CASE( "LongestAxis_Vec3fRange... | 27.128205 | 116 | 0.592628 | moddyz |
a36250d980acdca5e0a3c8a9818433ed00cc5c0a | 759 | hpp | C++ | extlibs/lua/luapp/User.hpp | ToyAuthor/ToyBoxNote | accc792f5ab2fa8911dc1a70ffbfc6dfd02db9a6 | [
"Unlicense"
] | 9 | 2016-05-13T10:58:07.000Z | 2022-03-02T20:35:24.000Z | extlibs/lua/luapp/User.hpp | ToyAuthor/ToyBoxNote | accc792f5ab2fa8911dc1a70ffbfc6dfd02db9a6 | [
"Unlicense"
] | 2 | 2018-09-19T03:32:28.000Z | 2020-03-30T05:39:46.000Z | extlibs/lua/luapp/User.hpp | ToyAuthor/ToyBoxNote | accc792f5ab2fa8911dc1a70ffbfc6dfd02db9a6 | [
"Unlicense"
] | 7 | 2016-05-13T10:58:32.000Z | 2021-05-10T02:11:23.000Z |
#pragma once
#include "luapp/Handle.hpp"
#include "luapp/Register.hpp"
namespace lua{
class User
{
public:
User(){}
~User()
{
_item = NULL; // Just make sure it released before this->_lua.
}
void _set(lua::Handle h,lua::Register::Item i)
{
if ( _lua ) lua::Log<<"warning:why you set handle o... | 14.320755 | 83 | 0.602108 | ToyAuthor |
a363248f55efd0bbd443ac9ee880196450b501c8 | 1,456 | cpp | C++ | FGUI/widgets/image.cpp | Jacckii/fgui | 668d80b00c8c3e7908f5f67dd42260fe04ac01e4 | [
"MIT"
] | null | null | null | FGUI/widgets/image.cpp | Jacckii/fgui | 668d80b00c8c3e7908f5f67dd42260fe04ac01e4 | [
"MIT"
] | null | null | null | FGUI/widgets/image.cpp | Jacckii/fgui | 668d80b00c8c3e7908f5f67dd42260fe04ac01e4 | [
"MIT"
] | null | null | null | //
// FGUI - feature rich graphical user interface
//
// library includes
#include "image.hpp"
namespace FGUI
{
CImage::CImage()
{
m_strTitle = "Image";
m_dmSize = { 100, 100 };
m_ulFont = 0;
m_nType = static_cast<int>(WIDGET_TYPE::IMAGE);
m_nFlags = static_cast<int>(WIDGET_FLAG::DRAWABLE);
m_pImage = n... | 21.731343 | 165 | 0.701236 | Jacckii |
a363581d77b410b01cfb56d67ae10b8bdaf8d6b8 | 2,046 | cpp | C++ | libcxx/test/std/ranges/range.factories/range.iota.view/sentinel/minus.pass.cpp | lxbndr/llvm-project | 2b715b15f5f4c6dd60f05d1b62f9c404e8b56e34 | [
"Apache-2.0"
] | null | null | null | libcxx/test/std/ranges/range.factories/range.iota.view/sentinel/minus.pass.cpp | lxbndr/llvm-project | 2b715b15f5f4c6dd60f05d1b62f9c404e8b56e34 | [
"Apache-2.0"
] | null | null | null | libcxx/test/std/ranges/range.factories/range.iota.view/sentinel/minus.pass.cpp | lxbndr/llvm-project | 2b715b15f5f4c6dd60f05d1b62f9c404e8b56e34 | [
"Apache-2.0"
] | 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
//
//===---------------------------... | 31.476923 | 113 | 0.628055 | lxbndr |
a36387191b68063439acfdd8a7bc5aff1bd41d38 | 11,795 | cpp | C++ | examples/cpp98/SbeOtfDecoder.cpp | qbm/simple-binary-encoding | f85121528f57c6ffa189672eec6084a50189b072 | [
"Apache-2.0"
] | 1 | 2020-12-02T23:00:19.000Z | 2020-12-02T23:00:19.000Z | examples/cpp98/SbeOtfDecoder.cpp | qbm/simple-binary-encoding | f85121528f57c6ffa189672eec6084a50189b072 | [
"Apache-2.0"
] | null | null | null | examples/cpp98/SbeOtfDecoder.cpp | qbm/simple-binary-encoding | f85121528f57c6ffa189672eec6084a50189b072 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2013 Real Logic 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 or agreed to ... | 30.089286 | 145 | 0.496058 | qbm |
a3640bac0c6c370b3bb885160c8f381f66cb089a | 5,186 | cpp | C++ | tests/3rdparty/testngpp/src/Formatter.cpp | elsonLee/emock | abbf60971601c366e19a7ca64321a0b0602d51e8 | [
"Apache-2.0"
] | 72 | 2018-01-26T11:19:32.000Z | 2022-02-06T02:38:38.000Z | test/testngpp-1.1/src/Formatter.cpp | mswdwk/code_test_records | 6edda193c8c19607c2021e62b96b8ff0813c7208 | [
"MIT"
] | 18 | 2019-03-11T08:47:17.000Z | 2022-03-08T10:58:07.000Z | test/testngpp-1.1/src/Formatter.cpp | mswdwk/code_test_records | 6edda193c8c19607c2021e62b96b8ff0813c7208 | [
"MIT"
] | 27 | 2018-04-03T08:31:14.000Z | 2022-03-16T13:01:09.000Z | /**
TestNG++ is a practical, easy-to-use C/C++ xUnit framework.
Copyright (C) <2009> <Arthur Yuan: arthur.ii.yuan@gmail.com>
TestNG++ 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 ve... | 23.36036 | 72 | 0.492673 | elsonLee |
a36415c94db3d017aec4ae687661ffbc196edd39 | 1,777 | cpp | C++ | app/src/main/cpp/src/ConicalOverhang.cpp | CCH852573130/3DPrinting11 | dfe6e6c1a17c1a222d93c5c835c67e5b43999024 | [
"MIT"
] | null | null | null | app/src/main/cpp/src/ConicalOverhang.cpp | CCH852573130/3DPrinting11 | dfe6e6c1a17c1a222d93c5c835c67e5b43999024 | [
"MIT"
] | null | null | null | app/src/main/cpp/src/ConicalOverhang.cpp | CCH852573130/3DPrinting11 | dfe6e6c1a17c1a222d93c5c835c67e5b43999024 | [
"MIT"
] | 3 | 2020-04-12T01:53:41.000Z | 2020-07-06T08:07:49.000Z | //Copyright (c) 2016 Tim Kuipers
//Copyright (c) 2018 Ultimaker B.V.
//CuraEngine is released under the terms of the AGPLv3 or higher.
#include "ConicalOverhang.h"
#include "mesh.h"
#include "slicer.h"
#include "settings/types/AngleRadians.h" //To process the overhang angle.
namespace cura {
void ConicalOverhang::ap... | 42.309524 | 115 | 0.683737 | CCH852573130 |
a3644f90541ba6e72d5ab20e6897af175ea4207f | 8,064 | cpp | C++ | libcaf_core/src/actor_pool.cpp | samanbarghi/actor-framework | 9fb82f556760e1004e27fb4d303499b603a3fc19 | [
"BSL-1.0",
"BSD-3-Clause"
] | 2 | 2020-08-25T15:22:08.000Z | 2021-03-05T16:29:24.000Z | libcaf_core/src/actor_pool.cpp | wujsy/actor-framework | 9fb82f556760e1004e27fb4d303499b603a3fc19 | [
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | libcaf_core/src/actor_pool.cpp | wujsy/actor-framework | 9fb82f556760e1004e27fb4d303499b603a3fc19 | [
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | /******************************************************************************
* ____ _ _____ *
* / ___| / \ | ___| C++ *
* | | / _ \ | |_ Actor *
... | 35.06087 | 81 | 0.571925 | samanbarghi |
a3656125dcf178a22dd4ce0d5fc3e20946df24f0 | 396 | cpp | C++ | Interval Scheduling 2/main.cpp | raafatabualazm/Competitive-Programming-Solutions | 3c8c953e9597e64a77e804ba4d3881c8f0354c7a | [
"MIT"
] | null | null | null | Interval Scheduling 2/main.cpp | raafatabualazm/Competitive-Programming-Solutions | 3c8c953e9597e64a77e804ba4d3881c8f0354c7a | [
"MIT"
] | null | null | null | Interval Scheduling 2/main.cpp | raafatabualazm/Competitive-Programming-Solutions | 3c8c953e9597e64a77e804ba4d3881c8f0354c7a | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
int main()
{
multimap<int, int> mp;
int n;
cin >> n;
int a, b;
for (int i = 0; i < n; i++) {
cin >> a >> b;
mp.insert({b, a});
}
int curr = -1, ans =0;
for (auto i: mp) {
if (curr <= i.second) {
ans++;
... | 15.230769 | 33 | 0.396465 | raafatabualazm |
a3668fce94712cf949b5840e8517ec4e3cf428a9 | 15,673 | cpp | C++ | lib/Parse/ParseGeneric.cpp | xjc90s/swift | cafe5ccbd1b7aa9cc9c837c5be2cdf3d5acd8a49 | [
"Apache-2.0"
] | 1 | 2022-02-02T20:21:10.000Z | 2022-02-02T20:21:10.000Z | lib/Parse/ParseGeneric.cpp | xjc90s/swift | cafe5ccbd1b7aa9cc9c837c5be2cdf3d5acd8a49 | [
"Apache-2.0"
] | null | null | null | lib/Parse/ParseGeneric.cpp | xjc90s/swift | cafe5ccbd1b7aa9cc9c837c5be2cdf3d5acd8a49 | [
"Apache-2.0"
] | null | null | null | //===--- ParseGeneric.cpp - Swift Language Parser for Generics ------------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/L... | 36.196305 | 85 | 0.659159 | xjc90s |
a3685a3ea983e350dccc5d77b35a49b1ca9913fc | 258 | cpp | C++ | Hearts Of Greed/Project_HeartsOfGreed/UI_Image.cpp | x-mat-studio/HeartsOfGreed | 2582b807627a32d6d73e5940525a1dcd13054636 | [
"MIT"
] | 3 | 2020-03-05T10:58:02.000Z | 2020-05-15T16:16:17.000Z | Hearts Of Greed/Project_HeartsOfGreed/UI_Image.cpp | x-mat-studio/Project-2 | 2582b807627a32d6d73e5940525a1dcd13054636 | [
"MIT"
] | 1 | 2020-06-15T06:42:33.000Z | 2020-06-15T06:42:33.000Z | Hearts Of Greed/Project_HeartsOfGreed/UI_Image.cpp | x-mat-studio/Project-2 | 2582b807627a32d6d73e5940525a1dcd13054636 | [
"MIT"
] | 1 | 2020-05-29T16:06:27.000Z | 2020-05-29T16:06:27.000Z | #include "UI_Image.h"
UI_Image::UI_Image(float x, float y, UI* parent, SDL_Rect rect, SDL_Texture* texture, bool dragable, bool interactable) :
UI({ x, y }, parent, UI_TYPE::IMG, rect, interactable, dragable, texture)
{}
UI_Image::~UI_Image()
{}
| 23.454545 | 121 | 0.686047 | x-mat-studio |
a36903e6a4140a28a483bbb4ecbe1d6b8b1e1e4f | 3,156 | cxx | C++ | examples/testoled.cxx | rpineau/libSSD1306 | bc6da70b886d12936028e4007a21471182dd1dee | [
"MIT"
] | null | null | null | examples/testoled.cxx | rpineau/libSSD1306 | bc6da70b886d12936028e4007a21471182dd1dee | [
"MIT"
] | null | null | null | examples/testoled.cxx | rpineau/libSSD1306 | bc6da70b886d12936028e4007a21471182dd1dee | [
"MIT"
] | null | null | null | //-------------------------------------------------------------------------
//
// The MIT License (MIT)
//
// Copyright (c) 2017 Andrew Duncan
//
// 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 Sof... | 27.684211 | 76 | 0.503802 | rpineau |
a36c61ddf3eeb510653009ef9da7e84fb3323a79 | 3,022 | hpp | C++ | src/stan/lang/generator/write_begin_all_dims_row_maj_loop.hpp | drezap/stan | 9b319ed125e2a7d14d0c9c246d2f462dad668537 | [
"BSD-3-Clause"
] | null | null | null | src/stan/lang/generator/write_begin_all_dims_row_maj_loop.hpp | drezap/stan | 9b319ed125e2a7d14d0c9c246d2f462dad668537 | [
"BSD-3-Clause"
] | null | null | null | src/stan/lang/generator/write_begin_all_dims_row_maj_loop.hpp | drezap/stan | 9b319ed125e2a7d14d0c9c246d2f462dad668537 | [
"BSD-3-Clause"
] | 1 | 2020-07-14T11:36:09.000Z | 2020-07-14T11:36:09.000Z | #ifndef STAN_LANG_GENERATOR_WRITE_BEGIN_ALL_DIMS_ROW_MAJ_LOOP_HPP
#define STAN_LANG_GENERATOR_WRITE_BEGIN_ALL_DIMS_ROW_MAJ_LOOP_HPP
#include <stan/lang/ast.hpp>
#include <stan/lang/generator/constants.hpp>
#include <stan/lang/generator/generate_expression.hpp>
#include <stan/lang/generator/generate_indent.hpp>
#includ... | 34.340909 | 74 | 0.56221 | drezap |
a36c9bfbbd03c0b1c3eaf0a20341ee219235ae1a | 65,138 | cc | C++ | gae_runtime_module.cc | GoogleCloudPlatform/appengine-php-extension | b40aa29c9ab7b2378dc1cea5c69cfdfa71b1a9a7 | [
"Apache-2.0"
] | 17 | 2015-10-27T20:30:06.000Z | 2022-02-04T00:13:24.000Z | gae_runtime_module.cc | GoogleCloudPlatform/appengine-php-extension | b40aa29c9ab7b2378dc1cea5c69cfdfa71b1a9a7 | [
"Apache-2.0"
] | 7 | 2016-01-21T09:31:11.000Z | 2019-05-14T22:20:34.000Z | gae_runtime_module.cc | GoogleCloudPlatform/appengine-php-extension | b40aa29c9ab7b2378dc1cea5c69cfdfa71b1a9a7 | [
"Apache-2.0"
] | 10 | 2016-02-15T08:26:01.000Z | 2021-03-21T10:34:42.000Z | // Copyright 2012 Google 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 applicable... | 33.386981 | 80 | 0.659446 | GoogleCloudPlatform |
a36de87101135531ea505f8b958a45de015d86d6 | 33,501 | cpp | C++ | engine/source/Steel/Scripting/ScriptingCallsRegister.cpp | filscorporation/Engine | ff306f2c1129dbc7e3c4baed6bf99494747fa0cc | [
"MIT"
] | null | null | null | engine/source/Steel/Scripting/ScriptingCallsRegister.cpp | filscorporation/Engine | ff306f2c1129dbc7e3c4baed6bf99494747fa0cc | [
"MIT"
] | null | null | null | engine/source/Steel/Scripting/ScriptingCallsRegister.cpp | filscorporation/Engine | ff306f2c1129dbc7e3c4baed6bf99494747fa0cc | [
"MIT"
] | null | null | null | #include "ScriptingCallsRegister.h"
#include "ComponentsInternalCalls.h"
#include "EntityInternalCalls.h"
#include "CoreInternalCalls.h"
#include "UIInternalCalls.h"
void ScriptingCallsRegister::RegisterInternalCalls()
{
mono_add_internal_call("Steel.Application::Quit_Internal", (void*)CoreInternalCalls::Applicati... | 109.839344 | 169 | 0.836154 | filscorporation |
a36fe8ace89cd2a385f25eba18fe400c7f907b12 | 2,683 | cpp | C++ | src/vulnerability.cpp | ramongonze/qif | afb1b498bbee3323da160db43ff4d2e88f83ebc6 | [
"MIT"
] | 5 | 2019-01-11T16:50:59.000Z | 2020-06-21T01:38:32.000Z | src/vulnerability.cpp | ramongonze/qif | afb1b498bbee3323da160db43ff4d2e88f83ebc6 | [
"MIT"
] | null | null | null | src/vulnerability.cpp | ramongonze/qif | afb1b498bbee3323da160db43ff4d2e88f83ebc6 | [
"MIT"
] | null | null | null | #include "vulnerability.h"
long double bayesVulnerability(Distribution &prior){
return *std::max_element(prior.prob.begin(), prior.prob.end());
}
long double bayesVulnerability(Hyper &hyper){
long double vulnerability = 0;
for(int i = 0; i < hyper.num_post; i++){
long double MAX = hyper.inners[0][i];
for(int ... | 20.960938 | 89 | 0.619829 | ramongonze |
a3717c38574302f0900bcf8ac646379da5edd8d9 | 1,458 | inl | C++ | pencil/include/util/geometry/geometry_v_align.inl | awarnke/crystal-facet-uml | 89da1452379c53aef473b4dc28501a6b068d66a9 | [
"Apache-2.0"
] | 1 | 2021-06-06T05:57:21.000Z | 2021-06-06T05:57:21.000Z | pencil/include/util/geometry/geometry_v_align.inl | awarnke/crystal-facet-uml | 89da1452379c53aef473b4dc28501a6b068d66a9 | [
"Apache-2.0"
] | 1 | 2021-08-30T17:42:27.000Z | 2021-08-30T17:42:27.000Z | pencil/include/util/geometry/geometry_v_align.inl | awarnke/crystal-facet-uml | 89da1452379c53aef473b4dc28501a6b068d66a9 | [
"Apache-2.0"
] | null | null | null | /* File: geometry_v_align.inl; Copyright and License: see below */
#include "trace.h"
#include "tslog.h"
static inline double geometry_v_align_get_top ( const geometry_v_align_t *this_, double height, double reference_top, double reference_height )
{
double top;
switch ( *this_ )
{
case GEOMETRY_... | 25.137931 | 143 | 0.64952 | awarnke |
a37309f1979e7924aa427d69d3cb6ec2b1942ca1 | 1,716 | cpp | C++ | Practice/2018/2018.7.22/UVAlive7041.cpp | SYCstudio/OI | 6e9bfc17dbd4b43467af9b19aa2aed41e28972fa | [
"MIT"
] | 4 | 2017-10-31T14:25:18.000Z | 2018-06-10T16:10:17.000Z | Practice/2018/2018.7.22/UVAlive7041.cpp | SYCstudio/OI | 6e9bfc17dbd4b43467af9b19aa2aed41e28972fa | [
"MIT"
] | null | null | null | Practice/2018/2018.7.22/UVAlive7041.cpp | SYCstudio/OI | 6e9bfc17dbd4b43467af9b19aa2aed41e28972fa | [
"MIT"
] | null | null | null | #include<iostream>
#include<cstdio>
#include<cstdlib>
#include<cstring>
#include<algorithm>
using namespace std;
#define ll long long
#define mem(Arr,x) memset(Arr,x,sizeof(Arr))
const int maxN=201000;
const int maxAlpha=26;
const int inf=2147483647;
class Node
{
public:
int son[maxAlpha];
int fail,len,cnt;
void ... | 17.875 | 81 | 0.583333 | SYCstudio |
a374c006818b15b9d458f0220737dad3533a36b4 | 1,391 | cpp | C++ | simulator/mips/mips_driver.cpp | Grigonoid/mipt-mips | c5f0bc9780556e668e8aa6e80094e55ecdece192 | [
"MIT"
] | 1 | 2019-11-13T15:30:56.000Z | 2019-11-13T15:30:56.000Z | simulator/mips/mips_driver.cpp | Grigonoid/mipt-mips | c5f0bc9780556e668e8aa6e80094e55ecdece192 | [
"MIT"
] | 1 | 2019-11-13T15:26:28.000Z | 2019-11-13T15:26:28.000Z | simulator/mips/mips_driver.cpp | Grigonoid/mipt-mips | c5f0bc9780556e668e8aa6e80094e55ecdece192 | [
"MIT"
] | null | null | null | /**
* driver.cpp - exception handler
* @author Pavel Kryukov
* Copyright 2019 MIPT-MIPS
*/
#include "mips.h"
#include "mips_register/mips_register.h"
#include <func_sim/driver/driver.h>
#include <simulator.h>
class DriverMIPS32 : public Driver
{
public:
explicit DriverMIPS32( Simulator* sim) : cpu( sim) { }
... | 33.119048 | 107 | 0.654925 | Grigonoid |
a3755382599f1fb1cc591c95c23b3d9d87c15361 | 5,495 | cpp | C++ | test/test.cpp | Xwilarg/Colodex | 8407888d648f7f512f5402d1c25c1dc582ad48d8 | [
"MIT"
] | 3 | 2021-09-08T03:13:07.000Z | 2021-11-12T12:01:32.000Z | test/test.cpp | Xwilarg/Colodex | 8407888d648f7f512f5402d1c25c1dc582ad48d8 | [
"MIT"
] | null | null | null | test/test.cpp | Xwilarg/Colodex | 8407888d648f7f512f5402d1c25c1dc582ad48d8 | [
"MIT"
] | null | null | null | #define _ITERATOR_DEBUG_LEVEL 0
#include <gtest/gtest.h>
extern "C" {
#include "colodex/channel.h"
#include "colodex/video.h"
#include "colodex/client.h"
}
static char* getToken()
{
#ifdef _WIN32
char *token;
size_t len;
errno_t err = _dupenv_s(&token, &len, "HOLODEX_TOKEN");
if (err || t... | 28.471503 | 147 | 0.672429 | Xwilarg |
a3757aba00f8f15a870f90741b3b1997025187d6 | 223 | cpp | C++ | TouchGFX_Ported_To_ILI9341_STM32F407G/TouchGFX/gui/src/apk2_screen/Apk2Presenter.cpp | trteodor/TouchGFX_Test | cd1abdef7e5a6f161ad35754fd951ea5de076021 | [
"MIT"
] | 1 | 2022-02-25T07:20:23.000Z | 2022-02-25T07:20:23.000Z | TouchGFX_Ported_To_ILI9341_STM32F407G/TouchGFX/gui/src/apk2_screen/Apk2Presenter.cpp | trteodor/TouchGFX_Test | cd1abdef7e5a6f161ad35754fd951ea5de076021 | [
"MIT"
] | null | null | null | TouchGFX_Ported_To_ILI9341_STM32F407G/TouchGFX/gui/src/apk2_screen/Apk2Presenter.cpp | trteodor/TouchGFX_Test | cd1abdef7e5a6f161ad35754fd951ea5de076021 | [
"MIT"
] | 1 | 2021-12-26T22:11:21.000Z | 2021-12-26T22:11:21.000Z | #include <gui/apk2_screen/Apk2View.hpp>
#include <gui/apk2_screen/Apk2Presenter.hpp>
Apk2Presenter::Apk2Presenter(Apk2View& v)
: view(v)
{
}
void Apk2Presenter::activate()
{
}
void Apk2Presenter::deactivate()
{
}
| 11.736842 | 44 | 0.721973 | trteodor |
a375ef387d73f41f18ed6c2dea5c4d4a233b1626 | 10,040 | cpp | C++ | source/Irrlicht/IBurningShader.cpp | slater1/irrlicht | 2860e828879b6acf9e39604cb4bcce0873c8b2d9 | [
"IJG"
] | null | null | null | source/Irrlicht/IBurningShader.cpp | slater1/irrlicht | 2860e828879b6acf9e39604cb4bcce0873c8b2d9 | [
"IJG"
] | null | null | null | source/Irrlicht/IBurningShader.cpp | slater1/irrlicht | 2860e828879b6acf9e39604cb4bcce0873c8b2d9 | [
"IJG"
] | null | null | null | // Copyright (C) 2002-2012 Nikolaus Gebhardt / Thomas Alten
// This file is part of the "Irrlicht Engine".
// For conditions of distribution and use, see copyright notice in irrlicht.h
#include "IrrCompileConfig.h"
#ifdef _IRR_COMPILE_WITH_BURNINGSVIDEO_
#include "SoftwareDriver2_compile_config.h"
#include "I... | 24.975124 | 127 | 0.703486 | slater1 |
a376b668e2422287db012a5c6308aa8d6499bef4 | 56,231 | cpp | C++ | wms/Plugin.cpp | fmidev/smartmet-plugin-wms | 908027c3dbe604c2e220718fd4926aa03673a8d6 | [
"MIT"
] | null | null | null | wms/Plugin.cpp | fmidev/smartmet-plugin-wms | 908027c3dbe604c2e220718fd4926aa03673a8d6 | [
"MIT"
] | 6 | 2017-01-05T07:19:43.000Z | 2019-10-23T06:21:48.000Z | wms/Plugin.cpp | fmidev/smartmet-plugin-wms | 908027c3dbe604c2e220718fd4926aa03673a8d6 | [
"MIT"
] | 1 | 2016-12-30T11:10:58.000Z | 2016-12-30T11:10:58.000Z | // ======================================================================
/*!
* \brief SmartMet Dali plugin implementation
*/
// ======================================================================
#include "Plugin.h"
#include "CaseInsensitiveComparator.h"
#include "Hash.h"
#include "Mime.h"
#include "ParameterInf... | 31.484323 | 152 | 0.570877 | fmidev |
a37701c9a3d2feeffc0bc79c7ec7cbd7e419bcf0 | 157 | hpp | C++ | include/Intriman/Settings.hpp | rohankumardubey/Intriman | 15c326b62784dd30e67365790bf33d600055a773 | [
"MIT"
] | 26 | 2017-12-21T15:27:13.000Z | 2022-03-15T05:27:20.000Z | include/Intriman/Settings.hpp | rohankumardubey/Intriman | 15c326b62784dd30e67365790bf33d600055a773 | [
"MIT"
] | 1 | 2020-06-08T05:40:09.000Z | 2020-06-08T05:40:09.000Z | include/Intriman/Settings.hpp | dendisuhubdy/Intriman | 15c326b62784dd30e67365790bf33d600055a773 | [
"MIT"
] | 3 | 2020-06-08T05:39:28.000Z | 2022-02-10T15:24:30.000Z | #pragma once
#include <experimental/filesystem>
namespace Intriman
{
struct Settings
{
Settings();
std::experimental::filesystem::path OutputFolder;
};
}
| 13.083333 | 50 | 0.757962 | rohankumardubey |
a37847f0d48930ccdfc1c8fbaa269c76f924e12d | 13,641 | cpp | C++ | mlir/lib/TableGen/Predicate.cpp | Machiry/checkedc-clang | ab9360d8be0a737cb5e09051f3a0051adc4b3e47 | [
"BSD-Source-Code"
] | 250 | 2019-05-07T12:56:44.000Z | 2022-03-10T15:52:06.000Z | mlir/lib/TableGen/Predicate.cpp | procedural/checkedc_binaries_ubuntu_16_04_from_12_Oct_2021 | ad4e8b01121fbfb40d81ee798480add7dc93f0bf | [
"BSD-Source-Code"
] | 410 | 2019-06-06T20:52:32.000Z | 2022-01-18T14:21:48.000Z | mlir/lib/TableGen/Predicate.cpp | procedural/checkedc_binaries_ubuntu_16_04_from_12_Oct_2021 | ad4e8b01121fbfb40d81ee798480add7dc93f0bf | [
"BSD-Source-Code"
] | 50 | 2019-05-10T21:12:24.000Z | 2022-01-21T06:39:47.000Z | //===- Predicate.cpp - Predicate class ------------------------------------===//
//
// 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
//
//===---------------------------... | 36.867568 | 80 | 0.671505 | Machiry |
a37a7db6df4d8de83d88e7e8f4a7569a24e7e233 | 1,986 | hpp | C++ | agency/detail/uninitialized.hpp | nerikhman/agency | 966ac59101f2fc3561a86b11874fbe8de361d0e4 | [
"BSD-3-Clause"
] | 129 | 2016-08-18T23:24:15.000Z | 2022-03-25T12:06:05.000Z | agency/detail/uninitialized.hpp | nerikhman/agency | 966ac59101f2fc3561a86b11874fbe8de361d0e4 | [
"BSD-3-Clause"
] | 86 | 2016-08-19T03:43:33.000Z | 2020-07-20T14:27:41.000Z | agency/detail/uninitialized.hpp | nerikhman/agency | 966ac59101f2fc3561a86b11874fbe8de361d0e4 | [
"BSD-3-Clause"
] | 23 | 2016-08-18T23:52:13.000Z | 2022-02-28T16:28:20.000Z | /*
* Copyright 2008-2013 NVIDIA Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | 18.560748 | 76 | 0.618328 | nerikhman |
a37b3d26e9dde3fcba499410c6e73ceef66edbf7 | 4,985 | cpp | C++ | Code/Editor/CrtDebug.cpp | sandeel31/o3de | db88812d61eef77c6f4451b7f8c7605d6db07412 | [
"Apache-2.0",
"MIT"
] | 1 | 2022-03-12T14:13:45.000Z | 2022-03-12T14:13:45.000Z | Code/Editor/CrtDebug.cpp | sandeel31/o3de | db88812d61eef77c6f4451b7f8c7605d6db07412 | [
"Apache-2.0",
"MIT"
] | 2 | 2022-01-13T04:29:38.000Z | 2022-03-12T01:05:31.000Z | Code/Editor/CrtDebug.cpp | sandeel31/o3de | db88812d61eef77c6f4451b7f8c7605d6db07412 | [
"Apache-2.0",
"MIT"
] | null | null | null | /*
* Copyright (c) Contributors to the Open 3D Engine Project.
* For complete copyright and license terms please see the LICENSE at the root of this distribution.
*
* SPDX-License-Identifier: Apache-2.0 OR MIT
*
*/
#include "EditorDefs.h"
///////////////////////////////////////////////////////////////////////... | 29.152047 | 155 | 0.569107 | sandeel31 |
a37c76bf2ca17e41653a1407414dc929b8fec338 | 1,952 | cc | C++ | L1Trigger/Phase2L1ParticleFlow/src/ParametricResolution.cc | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | L1Trigger/Phase2L1ParticleFlow/src/ParametricResolution.cc | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | L1Trigger/Phase2L1ParticleFlow/src/ParametricResolution.cc | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | #include "L1Trigger/Phase2L1ParticleFlow/interface/ParametricResolution.h"
std::vector<float> l1tpf::ParametricResolution::getVFloat(const edm::ParameterSet &cpset, const std::string &name) {
std::vector<double> vd = cpset.getParameter<std::vector<double>>(name);
return std::vector<float>(vd.begin(), vd.end());
}
... | 39.836735 | 116 | 0.626537 | ckamtsikis |
a37c803efb9ef9cecbcf302ee0a509417a1b5b8e | 243 | hpp | C++ | include/core/Types.hpp | diego-gt/calvin-engine | 8823a4262d243c70331a9b07303878edf81b2528 | [
"MIT"
] | null | null | null | include/core/Types.hpp | diego-gt/calvin-engine | 8823a4262d243c70331a9b07303878edf81b2528 | [
"MIT"
] | null | null | null | include/core/Types.hpp | diego-gt/calvin-engine | 8823a4262d243c70331a9b07303878edf81b2528 | [
"MIT"
] | null | null | null | #pragma once
using u8 = unsigned char;
using u16 = unsigned short;
using u32 = unsigned int;
using u64 = unsigned long long;
using i8 = char;
using i16 = short;
using i32 = int;
using i64 = long long;
using f32 = float;
using f64 = double;
| 16.2 | 31 | 0.703704 | diego-gt |
a37cab742e514432948435512f8ed65ff2c55784 | 16,401 | cpp | C++ | examples/benchmark_matops.cpp | lwhZJU/raptor | cc8a68f1998c180dd696cb4c6b5fb18987fa60df | [
"BSD-2-Clause"
] | 1 | 2019-03-28T08:05:11.000Z | 2019-03-28T08:05:11.000Z | examples/benchmark_matops.cpp | lwhZJU/raptor | cc8a68f1998c180dd696cb4c6b5fb18987fa60df | [
"BSD-2-Clause"
] | null | null | null | examples/benchmark_matops.cpp | lwhZJU/raptor | cc8a68f1998c180dd696cb4c6b5fb18987fa60df | [
"BSD-2-Clause"
] | null | null | null | // Copyright (c) 2015-2017, RAPtor Developer Team
// License: Simplified BSD, http://opensource.org/licenses/BSD-2-Clause
#include <mpi.h>
#include <math.h>
#include <stdlib.h>
#include <iostream>
#include <assert.h>
#include "clear_cache.hpp"
#include "core/par_matrix.hpp"
#include "core/par_vector.hpp"
#include "co... | 34.097713 | 105 | 0.526065 | lwhZJU |
a37d2f34631e1b346c076431a67353941c0aba71 | 12,755 | cpp | C++ | external/vulkancts/modules/vulkan/draw/vktDrawSimpleTest.cpp | iabernikhin/VK-GL-CTS | a3338eb2ded98b5befda64f9325db0d219095a00 | [
"Apache-2.0"
] | 1 | 2020-06-18T05:11:24.000Z | 2020-06-18T05:11:24.000Z | external/vulkancts/modules/vulkan/draw/vktDrawSimpleTest.cpp | iabernikhin/VK-GL-CTS | a3338eb2ded98b5befda64f9325db0d219095a00 | [
"Apache-2.0"
] | null | null | null | external/vulkancts/modules/vulkan/draw/vktDrawSimpleTest.cpp | iabernikhin/VK-GL-CTS | a3338eb2ded98b5befda64f9325db0d219095a00 | [
"Apache-2.0"
] | null | null | null | /*------------------------------------------------------------------------
* Vulkan Conformance Tests
* ------------------------
*
* Copyright (c) 2015 The Khronos Group Inc.
* Copyright (c) 2015 Intel Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file ex... | 37.514706 | 182 | 0.736966 | iabernikhin |
a38102ff297a7c358fff783e686f4a1f1575a4f6 | 7,684 | cpp | C++ | experiments/ros packages/io_lib/src/file_io.cpp | Slifer64/novel-DMP-constraints | cad6727a12642130dc64fd93827099e4cb763ec8 | [
"MIT"
] | null | null | null | experiments/ros packages/io_lib/src/file_io.cpp | Slifer64/novel-DMP-constraints | cad6727a12642130dc64fd93827099e4cb763ec8 | [
"MIT"
] | null | null | null | experiments/ros packages/io_lib/src/file_io.cpp | Slifer64/novel-DMP-constraints | cad6727a12642130dc64fd93827099e4cb763ec8 | [
"MIT"
] | null | null | null | #include <io_lib/file_io.h>
namespace as64_
{
namespace io_
{
const char* FileIO::error_msg[] =
{
"EMPTY_HEADER",
"CORRUPTED_HEADER",
"ENTRY DOES NOT EXIST:",
"DUPLICATE_ENTRY",
"TYPE_MISMATCH",
"DIMENSIONS_MISMATCH",
"INVALID_OP_FOR_OPENMODE",
"UNKNOWN_TYPE"
};
const char *FileIO::TypeName[] =
{
... | 27.442857 | 178 | 0.617387 | Slifer64 |
a38256de0e4dc28a251220bb52df651662efe327 | 12,440 | cpp | C++ | spin/assimp_loader.cpp | bradgrantham/viz | 8f15e80f6834e931be75552f9b68df26be032785 | [
"Apache-2.0"
] | 1 | 2020-04-01T12:55:07.000Z | 2020-04-01T12:55:07.000Z | spin/assimp_loader.cpp | bradgrantham/viz | 8f15e80f6834e931be75552f9b68df26be032785 | [
"Apache-2.0"
] | null | null | null | spin/assimp_loader.cpp | bradgrantham/viz | 8f15e80f6834e931be75552f9b68df26be032785 | [
"Apache-2.0"
] | 1 | 2019-10-11T23:55:42.000Z | 2019-10-11T23:55:42.000Z | //
// Copyright 2013-2014, Bradley A. Grantham
//
// 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... | 29.975904 | 194 | 0.613585 | bradgrantham |
a3854c1ec11fddb8dc4a2ddaaf571662fd1c3eb5 | 217 | cpp | C++ | sample.create_lib/src/main.cpp | bigov/daft-lib | 7890fdba0aab800022ab9afb958946bd06779f33 | [
"MIT"
] | 1 | 2022-03-14T08:20:58.000Z | 2022-03-14T08:20:58.000Z | sample.create_lib/src/main.cpp | bigov/daft-lib | 7890fdba0aab800022ab9afb958946bd06779f33 | [
"MIT"
] | null | null | null | sample.create_lib/src/main.cpp | bigov/daft-lib | 7890fdba0aab800022ab9afb958946bd06779f33 | [
"MIT"
] | 1 | 2020-12-22T08:36:48.000Z | 2020-12-22T08:36:48.000Z | #include "main.hpp"
int main() {
const char text[] = "Testing compiling of libs\n";
tst::print_blank();
tst::print_line(78, '-');
tst::print_row(text);
tst::print_line(78, '-');
return 0;
}
| 16.692308 | 53 | 0.571429 | bigov |
a386f74a4909c814bb5bbc3149d768300080750d | 459 | cpp | C++ | pointer_stuff/playing_pointers.cpp | ramchandra94/datastructures_in_cpp | 28274ff4f0d9736cfe690ef002b90b9ebbfaf2f7 | [
"MIT"
] | null | null | null | pointer_stuff/playing_pointers.cpp | ramchandra94/datastructures_in_cpp | 28274ff4f0d9736cfe690ef002b90b9ebbfaf2f7 | [
"MIT"
] | null | null | null | pointer_stuff/playing_pointers.cpp | ramchandra94/datastructures_in_cpp | 28274ff4f0d9736cfe690ef002b90b9ebbfaf2f7 | [
"MIT"
] | null | null | null | #include<iostream>
using namespace std;
int main(){
int a = 5;
char ch = 'a';
char * p = &ch;
cout << "directly printing character " << ch << endl;
cout << "printing character through pointer " << *p << endl;
cout << "printing the pointer itself " << p << endl;
cout << "printing the 0th index of pointer ... | 17 | 95 | 0.614379 | ramchandra94 |
a388cef4bdc2719128dbdf12f46c083ccd4f4166 | 1,010 | cc | C++ | lib/generic/read_csv.test.cc | itko/scanbox | 9a00c11eafb4cc2faa69bfcc76bdf0d8e295dcf3 | [
"BSD-3-Clause"
] | 1 | 2020-01-09T09:30:23.000Z | 2020-01-09T09:30:23.000Z | lib/generic/read_csv.test.cc | itko/scanbox | 9a00c11eafb4cc2faa69bfcc76bdf0d8e295dcf3 | [
"BSD-3-Clause"
] | 23 | 2018-03-19T20:54:52.000Z | 2018-05-16T12:36:59.000Z | lib/generic/read_csv.test.cc | itko/scanbox | 9a00c11eafb4cc2faa69bfcc76bdf0d8e295dcf3 | [
"BSD-3-Clause"
] | 1 | 2018-03-14T20:00:43.000Z | 2018-03-14T20:00:43.000Z | /// \file
/// Maintainer: Felice Serena
///
///
#include "read_csv.h"
#include <boost/test/unit_test.hpp>
BOOST_AUTO_TEST_CASE( read_csv_all ) {
// Note: make sure to run ./lib/tests to pass this test (from the build directory which in turn is located in the project root)
const std::vector<std::vector<std:... | 33.666667 | 131 | 0.612871 | itko |
a388fe0b1c93d614172e7ac985a7a78e9ef1743d | 509 | cpp | C++ | partition-array-into-three-parts-with-equal-sum/partition-array-into-three-parts-with-equal-sum.cpp | sharmishtha2401/leetcode | 0c7389877afb64b3ff277f075ed9c87b24cb587b | [
"MIT"
] | 1 | 2022-02-14T07:57:07.000Z | 2022-02-14T07:57:07.000Z | partition-array-into-three-parts-with-equal-sum/partition-array-into-three-parts-with-equal-sum.cpp | sharmishtha2401/leetcode | 0c7389877afb64b3ff277f075ed9c87b24cb587b | [
"MIT"
] | null | null | null | partition-array-into-three-parts-with-equal-sum/partition-array-into-three-parts-with-equal-sum.cpp | sharmishtha2401/leetcode | 0c7389877afb64b3ff277f075ed9c87b24cb587b | [
"MIT"
] | null | null | null | class Solution {
public:
bool canThreePartsEqualSum(vector<int>& arr) {
int sum=0;
for(int i=0; i<arr.size(); i++)
{
sum+=arr[i];
}
cout<<sum<<endl;
if(sum%3!=0)
return false;
int s1=0;
int count=0;
for(int i=0; i<arr.si... | 20.36 | 50 | 0.357564 | sharmishtha2401 |
a389ac74a37930657c4914bad515945b2f480012 | 8,297 | hpp | C++ | src/ocl/ref_pooling.hpp | igor-byel/mkl-dnn | b03ea18e2c3a7576052c52e6c9aca7baa66d44af | [
"Apache-2.0"
] | null | null | null | src/ocl/ref_pooling.hpp | igor-byel/mkl-dnn | b03ea18e2c3a7576052c52e6c9aca7baa66d44af | [
"Apache-2.0"
] | null | null | null | src/ocl/ref_pooling.hpp | igor-byel/mkl-dnn | b03ea18e2c3a7576052c52e6c9aca7baa66d44af | [
"Apache-2.0"
] | null | null | null | /*******************************************************************************
* Copyright 2019 Intel Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.o... | 39.136792 | 80 | 0.562372 | igor-byel |
a38a0c80b5df96edacb2bd70ff5f78585ad7c214 | 5,845 | cpp | C++ | Code/src/bcg_ver5/Projection.cpp | amihashemi/cs294project | 7d0f67a40f72cd58a86fb7d7fcb3ed40f5ddc1ec | [
"MIT"
] | null | null | null | Code/src/bcg_ver5/Projection.cpp | amihashemi/cs294project | 7d0f67a40f72cd58a86fb7d7fcb3ed40f5ddc1ec | [
"MIT"
] | null | null | null | Code/src/bcg_ver5/Projection.cpp | amihashemi/cs294project | 7d0f67a40f72cd58a86fb7d7fcb3ed40f5ddc1ec | [
"MIT"
] | null | null | null | /*
* Author: Johnny Lee
* SVN Login: itzfx
*/
#include <cstdio>
#include <iostream>
#include <cassert>
#include <cmath>
#include <vector>
#include "DBox.H"
#include "RectMDArray.H"
#include "FFT1D.H"
#include "FFTMD.H"
#include "FieldData.H"
#include "DeltaVelocity.H"
#include "PoissonSolver.H"
#include "Projection... | 32.472222 | 101 | 0.614029 | amihashemi |
a38ac0ea2d00898d44aa05f8685547d3782d24e3 | 5,975 | cc | C++ | tile/math/math_test.cc | redoclag/plaidml | 46d9e8b3f1e1093aab2a0dfa40b2e15e3cc7d314 | [
"Apache-2.0"
] | 4,535 | 2017-10-20T05:03:57.000Z | 2022-03-30T15:42:33.000Z | tile/math/math_test.cc | HOZHENWAI/plaidml | 46d9e8b3f1e1093aab2a0dfa40b2e15e3cc7d314 | [
"Apache-2.0"
] | 984 | 2017-10-20T17:16:09.000Z | 2022-03-30T05:43:18.000Z | tile/math/math_test.cc | HOZHENWAI/plaidml | 46d9e8b3f1e1093aab2a0dfa40b2e15e3cc7d314 | [
"Apache-2.0"
] | 492 | 2017-10-20T18:22:32.000Z | 2022-03-30T09:00:05.000Z |
#include "base/util/catch.h"
#include "base/util/logging.h"
#include "tile/math/basis.h"
#include "tile/math/bignum.h"
#include "tile/math/matrix.h"
#include "tile/math/polynomial.h"
namespace vertexai {
namespace tile {
namespace math {
TEST_CASE("Ceil", "[lattice]") {
REQUIRE(Ceil(Rational(5, 3)) == 2);
REQUIR... | 31.447368 | 117 | 0.586611 | redoclag |
a38b8629de3fb0ea029cc84166fdcc90b47a0d60 | 5,237 | cpp | C++ | src/Level/MOBBehavior/MovingBehaviors/FlyingBehavior.cpp | tizian/Cendric2 | 5b0438c73a751bcc0d63c3af839af04ab0fb21a3 | [
"MIT"
] | 279 | 2015-05-06T19:04:07.000Z | 2022-03-21T21:33:38.000Z | src/Level/MOBBehavior/MovingBehaviors/FlyingBehavior.cpp | tizian/Cendric2 | 5b0438c73a751bcc0d63c3af839af04ab0fb21a3 | [
"MIT"
] | 222 | 2016-10-26T15:56:25.000Z | 2021-10-03T15:30:18.000Z | src/Level/MOBBehavior/MovingBehaviors/FlyingBehavior.cpp | tizian/Cendric2 | 5b0438c73a751bcc0d63c3af839af04ab0fb21a3 | [
"MIT"
] | 49 | 2015-10-01T21:23:03.000Z | 2022-03-19T20:11:31.000Z | #include "Level/MOBBehavior/MovingBehaviors/FlyingBehavior.h"
#include "Level/Level.h"
#include "Level/LevelMainCharacter.h"
FlyingBehavior::FlyingBehavior(Enemy* enemy) :
MovingBehavior(enemy),
EnemyMovingBehavior(enemy) {
m_dampingAirPerS = 0.1f;
m_dampingGroundPerS = 0.7f;
m_isWalkingBehavior = false;
};
vo... | 31.932927 | 102 | 0.729998 | tizian |
a38f9560bc5a3656d3677ec60eb6feabd15de94d | 1,347 | cpp | C++ | codeforces/1536B.cpp | sgrade/cpptest | 84ade6ec03ea394d4a4489c7559d12b4799c0b62 | [
"MIT"
] | null | null | null | codeforces/1536B.cpp | sgrade/cpptest | 84ade6ec03ea394d4a4489c7559d12b4799c0b62 | [
"MIT"
] | null | null | null | codeforces/1536B.cpp | sgrade/cpptest | 84ade6ec03ea394d4a4489c7559d12b4799c0b62 | [
"MIT"
] | null | null | null | // B. Prinzessin der Verurteilung
#include <iostream>
#include <string>
#include <algorithm>
#include <set>
using namespace std;
// With default comparator it will be a, aa, ..., b, ba, ... (size doesn't matter)
// In the below comparator size does matter: it will be a, b, ..., aa, ... ba, ..
struct sComp {
bool... | 21.380952 | 82 | 0.467706 | sgrade |
a3906eca250dd6f5b7a9aaedb0a2799bd4d5e6df | 1,735 | cxx | C++ | contrib/Netxx-0.3.2/tests/io/stream_client.cxx | dulton/reSipServer | ac4241df81c1e3eef2e678271ffef4dda1fc6747 | [
"Apache-2.0"
] | 1 | 2019-04-15T14:10:58.000Z | 2019-04-15T14:10:58.000Z | contrib/Netxx-0.3.2/tests/io/stream_client.cxx | dulton/reSipServer | ac4241df81c1e3eef2e678271ffef4dda1fc6747 | [
"Apache-2.0"
] | null | null | null | contrib/Netxx-0.3.2/tests/io/stream_client.cxx | dulton/reSipServer | ac4241df81c1e3eef2e678271ffef4dda1fc6747 | [
"Apache-2.0"
] | 2 | 2019-10-31T09:11:09.000Z | 2021-09-17T01:00:49.000Z | #include <Netxx/Stream.h>
#include <Netxx/Timeout.h>
#include <iostream>
#include <fstream>
#include <sstream>
#include <stdexcept>
#include <exception>
#include <cstring>
#include <cstdlib>
int main (int argc, char *argv[]) {
if (argc != 4) {
std::cerr << "Usage: " << argv[0] << " address file size\n";
return ... | 25.895522 | 85 | 0.651297 | dulton |
a391152d8435e9b991a4cc554ced8695f18568b3 | 10,698 | cpp | C++ | src/MIT_alice/AUIComboWidget.cpp | midasitdev/aliceui | 3693018021892bcccbc66f29b931d9736db6f9dc | [
"MIT"
] | 10 | 2019-02-21T13:07:06.000Z | 2019-09-21T02:56:37.000Z | src/MIT_alice/AUIComboWidget.cpp | midasitdev/aliceui | 3693018021892bcccbc66f29b931d9736db6f9dc | [
"MIT"
] | 5 | 2019-02-28T03:11:50.000Z | 2019-03-08T00:16:17.000Z | src/MIT_alice/AUIComboWidget.cpp | midasitdev/aliceui | 3693018021892bcccbc66f29b931d9736db6f9dc | [
"MIT"
] | 5 | 2019-02-25T00:53:08.000Z | 2019-07-05T01:50:34.000Z | #include "pch.h"
#include "AUIComboWidget.h"
#include "AUIComboPopupWidget.h"
#include "AUIComboDefaultValue.h"
#include "AUIWidgetManager.h"
#include "AUIComboAdapter.h"
#include "AUIStateDrawable.h"
#include "AUILayerDrawable.h"
#include "AUIShapeDrawable.h"
#include "AUIRectShape.h"
#include "AUITriangleShape.h"
#in... | 31.934328 | 114 | 0.670219 | midasitdev |
a391790aefbe5c1ee66ec31ca8f8e152c4a1c8ee | 51,179 | cc | C++ | Digit_Example/opt_two_step/gen/opt/J_d1y_time_RightStance.cc | prem-chand/Cassie_CFROST | da4bd51442f86e852cbb630cc91c9a380a10b66d | [
"BSD-3-Clause"
] | null | null | null | Digit_Example/opt_two_step/gen/opt/J_d1y_time_RightStance.cc | prem-chand/Cassie_CFROST | da4bd51442f86e852cbb630cc91c9a380a10b66d | [
"BSD-3-Clause"
] | null | null | null | Digit_Example/opt_two_step/gen/opt/J_d1y_time_RightStance.cc | prem-chand/Cassie_CFROST | da4bd51442f86e852cbb630cc91c9a380a10b66d | [
"BSD-3-Clause"
] | null | null | null | /*
* Automatically Generated from Mathematica.
* Fri 5 Nov 2021 16:18:14 GMT-04:00
*/
#ifdef MATLAB_MEX_FILE
#include <stdexcept>
#include <cmath>
#include<math.h>
/**
* Copied from Wolfram Mathematica C Definitions file mdefs.hpp
* Changed marcos to inline functions (Eric Cousineau)
*/
inline double Power(doubl... | 106.845511 | 783 | 0.668341 | prem-chand |
a391a1cc6233aeae94567c880af2bcdf7b321a4d | 4,346 | cpp | C++ | CLR/Libraries/CorLib/corlib_native_System_Text_UTF8Encoding.cpp | valoni/STM32F103 | 75f0cb8be593ca287a08f5992d1f5d3c3bb12bfc | [
"Apache-2.0"
] | 1 | 2020-06-09T02:16:43.000Z | 2020-06-09T02:16:43.000Z | CLR/Libraries/CorLib/corlib_native_System_Text_UTF8Encoding.cpp | valoni/STM32F103 | 75f0cb8be593ca287a08f5992d1f5d3c3bb12bfc | [
"Apache-2.0"
] | null | null | null | CLR/Libraries/CorLib/corlib_native_System_Text_UTF8Encoding.cpp | valoni/STM32F103 | 75f0cb8be593ca287a08f5992d1f5d3c3bb12bfc | [
"Apache-2.0"
] | 1 | 2019-12-03T05:37:43.000Z | 2019-12-03T05:37:43.000Z | ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Copyright (c) Microsoft Corporation. All rights reserved.
///////////////////////////////////////////////////////... | 37.791304 | 201 | 0.628394 | valoni |
a392920c46845882d70f33a553293adfb997e1bd | 1,161 | cpp | C++ | poprithms/tests/tests/schedule/shift/schedulable.cpp | graphcore/poprithms | 9975a6a343891e3c5f8968a9507261c1185029ed | [
"MIT"
] | 24 | 2020-07-06T17:11:30.000Z | 2022-01-01T07:39:12.000Z | poprithms/tests/tests/schedule/shift/schedulable.cpp | graphcore/poprithms | 9975a6a343891e3c5f8968a9507261c1185029ed | [
"MIT"
] | null | null | null | poprithms/tests/tests/schedule/shift/schedulable.cpp | graphcore/poprithms | 9975a6a343891e3c5f8968a9507261c1185029ed | [
"MIT"
] | 2 | 2020-07-15T12:33:22.000Z | 2021-07-27T06:07:16.000Z | // Copyright (c) 2021 Graphcore Ltd. All rights reserved.
#include <iostream>
#include <poprithms/error/error.hpp>
#include <poprithms/schedule/shift/scheduledgraph.hpp>
int main() {
using namespace poprithms::schedule::shift;
using namespace poprithms::schedule::vanilla;
Graph g;
auto op0 = g.insertOp("op0... | 27.642857 | 68 | 0.659776 | graphcore |
a3932c968b99d72b94324deb598927f322d51ef3 | 10,574 | cpp | C++ | plugin/normalizePlugin/normalizePlugin.cpp | kvzhao/TensorRT-5.1.5 | e47c3ca3247c8e63f0a236d547fc7b1327494e57 | [
"Apache-2.0"
] | 1 | 2019-09-09T01:59:51.000Z | 2019-09-09T01:59:51.000Z | plugin/normalizePlugin/normalizePlugin.cpp | kvzhao/TensorRT-5.1.5 | e47c3ca3247c8e63f0a236d547fc7b1327494e57 | [
"Apache-2.0"
] | 1 | 2019-08-12T06:46:14.000Z | 2019-08-12T06:46:14.000Z | plugin/normalizePlugin/normalizePlugin.cpp | kvzhao/TensorRT-5.1.5 | e47c3ca3247c8e63f0a236d547fc7b1327494e57 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requir... | 31.470238 | 120 | 0.693021 | kvzhao |
a397c78637b84a2f3b1fdb9a81c497854c8e6c9c | 5,640 | cpp | C++ | software/jtaguart_pty.cpp | CTSRD-CHERI/alterajtaguart | 38052aaac5520623a7b70bdcca9f1db831d4ecf6 | [
"MIT"
] | null | null | null | software/jtaguart_pty.cpp | CTSRD-CHERI/alterajtaguart | 38052aaac5520623a7b70bdcca9f1db831d4ecf6 | [
"MIT"
] | null | null | null | software/jtaguart_pty.cpp | CTSRD-CHERI/alterajtaguart | 38052aaac5520623a7b70bdcca9f1db831d4ecf6 | [
"MIT"
] | 1 | 2020-03-06T15:46:45.000Z | 2020-03-06T15:46:45.000Z | /*-
* SPDX-License-Identifier: BSD-2-Clause
*
* Copyright (c) 2020 A. Theodore Markettos
* All rights reserved.
*
* This software was developed by SRI International, the University of
* Cambridge Computer Laboratory (Department of Computer Science and
* Technology), and ARM Research under DARPA contract HR0011-... | 30.652174 | 120 | 0.622695 | CTSRD-CHERI |
a3994edea939d2ced79f5ffa2190ea7cbc6e0933 | 6,105 | cpp | C++ | rocsolver/library/src/auxiliary/rocauxiliary_larft.cpp | eidenyoshida/rocSOLVER | 1240759207b63f8aeba51db259873141c72f9735 | [
"BSD-2-Clause"
] | null | null | null | rocsolver/library/src/auxiliary/rocauxiliary_larft.cpp | eidenyoshida/rocSOLVER | 1240759207b63f8aeba51db259873141c72f9735 | [
"BSD-2-Clause"
] | null | null | null | rocsolver/library/src/auxiliary/rocauxiliary_larft.cpp | eidenyoshida/rocSOLVER | 1240759207b63f8aeba51db259873141c72f9735 | [
"BSD-2-Clause"
] | null | null | null | /* ************************************************************************
* Copyright 2019-2020 Advanced Micro Devices, Inc.
* ************************************************************************ */
#include "rocauxiliary_larft.hpp"
template <typename T>
rocblas_status rocsolver_larft_impl(rocblas_handle hand... | 44.562044 | 107 | 0.413923 | eidenyoshida |
a39971d571f4881019f41309634ee65cd09a7a1f | 4,050 | cpp | C++ | src/DEX/EnumToString.cpp | ahawad/LIEF | 88931ea405d9824faa5749731427533e0c27173e | [
"Apache-2.0"
] | null | null | null | src/DEX/EnumToString.cpp | ahawad/LIEF | 88931ea405d9824faa5749731427533e0c27173e | [
"Apache-2.0"
] | null | null | null | src/DEX/EnumToString.cpp | ahawad/LIEF | 88931ea405d9824faa5749731427533e0c27173e | [
"Apache-2.0"
] | null | null | null | /* Copyright 2017 - 2022 R. Thomas
* Copyright 2017 - 2022 Quarkslab
*
* 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 req... | 36.818182 | 75 | 0.661481 | ahawad |
a399fbdc7932b13a516b2268e4a76fe52b997c49 | 177,609 | cpp | C++ | src/alglib/alglibmisc.cpp | dc1394/Gauss_Legendre | 70c179a27e20ae8cf109035031a5c84ba12a7fc9 | [
"BSD-2-Clause"
] | null | null | null | src/alglib/alglibmisc.cpp | dc1394/Gauss_Legendre | 70c179a27e20ae8cf109035031a5c84ba12a7fc9 | [
"BSD-2-Clause"
] | null | null | null | src/alglib/alglibmisc.cpp | dc1394/Gauss_Legendre | 70c179a27e20ae8cf109035031a5c84ba12a7fc9 | [
"BSD-2-Clause"
] | null | null | null | /*************************************************************************
ALGLIB 3.9.0 (source code generated 2014-12-11)
Copyright (c) Sergey Bochkanov (ALGLIB project).
>>> SOURCE LICENSE >>>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as... | 31.806769 | 236 | 0.56192 | dc1394 |
a39a954a8bd28d296f62534844a7bd76f6b8b89a | 14,448 | cc | C++ | asylo/platform/primitives/sgx/trusted_sgx.cc | light1021/asylo | a3b09ebff6c0e3b10e25d40f14991e16bb75d883 | [
"Apache-2.0"
] | 890 | 2018-05-03T17:27:37.000Z | 2022-03-30T03:54:35.000Z | asylo/platform/primitives/sgx/trusted_sgx.cc | light1021/asylo | a3b09ebff6c0e3b10e25d40f14991e16bb75d883 | [
"Apache-2.0"
] | 71 | 2018-05-03T22:36:07.000Z | 2021-10-04T22:58:59.000Z | asylo/platform/primitives/sgx/trusted_sgx.cc | light1021/asylo | a3b09ebff6c0e3b10e25d40f14991e16bb75d883 | [
"Apache-2.0"
] | 127 | 2018-05-03T21:03:47.000Z | 2022-03-28T20:21:43.000Z | /*
*
* Copyright 2019 Asylo 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 agree... | 36.670051 | 80 | 0.69546 | light1021 |
a39ada6dee30f29061a7a3dc17682b47d08721b5 | 2,213 | cpp | C++ | chess_engine/Classes/Pieces/knight.cpp | jamadaha/chess_bot | c9a7859364bcc775d7562c529f91cd184386a59d | [
"MIT"
] | 1 | 2021-07-17T09:41:12.000Z | 2021-07-17T09:41:12.000Z | chess_engine/Classes/Pieces/knight.cpp | jamadaha/chess_bot | c9a7859364bcc775d7562c529f91cd184386a59d | [
"MIT"
] | 25 | 2020-11-07T20:52:51.000Z | 2022-02-27T16:03:34.000Z | chess_engine/Classes/Pieces/knight.cpp | jamadaha/chess_bot | c9a7859364bcc775d7562c529f91cd184386a59d | [
"MIT"
] | null | null | null | #include "Headers/knight.h"
Knight::Knight(Color color) : Piece(color) {
this->color = color;
}
PieceChar Knight::getPieceChar() {
if(this->color == WHITE)
return KNIGHTWHITE;
else
return KNIGHTBLACK;
}
std::vector<Move> Knight::getPossibleMoves(Board board) {
std::vector<Move> moves;
for(int i = 0; i < 2;... | 21.910891 | 113 | 0.570718 | jamadaha |
a39c287b0063e72596163718cbbbfed66a0e5331 | 5,399 | cpp | C++ | src/game/server/player_pickup.cpp | bluedogz162/tf_coop_extended_custom | 0212744ebef4f74c4e0047320d9da7d8571a8ee0 | [
"Unlicense"
] | 4 | 2020-04-24T22:20:34.000Z | 2022-01-10T23:16:53.000Z | src/game/server/player_pickup.cpp | bluedogz162/tf_coop_extended_custom | 0212744ebef4f74c4e0047320d9da7d8571a8ee0 | [
"Unlicense"
] | 1 | 2020-05-01T19:13:25.000Z | 2020-05-02T07:01:45.000Z | src/game/server/player_pickup.cpp | bluedogz162/tf_coop_extended_custom | 0212744ebef4f74c4e0047320d9da7d8571a8ee0 | [
"Unlicense"
] | 3 | 2020-04-24T22:20:36.000Z | 2022-02-21T21:48:05.000Z | //========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $NoKeywords: $
//
//=============================================================================//
#include "cbase.h"
#include "player_pickup.h"
// memdbgon must be the last include file in a .cpp file!!!
#include "tier... | 27.687179 | 140 | 0.724949 | bluedogz162 |
a39d62766849e91d7c9bf3c30f60acb1816208c7 | 11,133 | cpp | C++ | ProceduralTerrainGen/Plugins/RuntimeMeshComponent/Intermediate/Build/Win32/UE4/Inc/RuntimeMeshComponent/RuntimeMeshModifierNormals.gen.cpp | RFornalik/ProceduralTerrain | 017b8df6606eef242a399192518dcd9ebd3bbcc9 | [
"MIT"
] | null | null | null | ProceduralTerrainGen/Plugins/RuntimeMeshComponent/Intermediate/Build/Win32/UE4/Inc/RuntimeMeshComponent/RuntimeMeshModifierNormals.gen.cpp | RFornalik/ProceduralTerrain | 017b8df6606eef242a399192518dcd9ebd3bbcc9 | [
"MIT"
] | null | null | null | ProceduralTerrainGen/Plugins/RuntimeMeshComponent/Intermediate/Build/Win32/UE4/Inc/RuntimeMeshComponent/RuntimeMeshModifierNormals.gen.cpp | RFornalik/ProceduralTerrain | 017b8df6606eef242a399192518dcd9ebd3bbcc9 | [
"MIT"
] | null | null | null | // Copyright Epic Games, Inc. All Rights Reserved.
/*===========================================================================
Generated code exported from UnrealHeaderTool.
DO NOT modify this manually! Edit the corresponding .h files instead!
========================================================================... | 65.105263 | 870 | 0.849367 | RFornalik |
a39f01896c125e8c10a9d2f5aaffc757154920ba | 3,622 | cpp | C++ | extras/memory_replay/tests/PointersTest.cpp | Keneral/asystem | df12381b72ef3d629c8efc61100cc8c714195320 | [
"Unlicense"
] | null | null | null | extras/memory_replay/tests/PointersTest.cpp | Keneral/asystem | df12381b72ef3d629c8efc61100cc8c714195320 | [
"Unlicense"
] | null | null | null | extras/memory_replay/tests/PointersTest.cpp | Keneral/asystem | df12381b72ef3d629c8efc61100cc8c714195320 | [
"Unlicense"
] | null | null | null | /*
* Copyright (C) 2015 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 31.77193 | 75 | 0.743512 | Keneral |
a39f26c5ed1e14326b61041b8d49068eee003b7f | 3,394 | cpp | C++ | test/speed/MatMulSpeed.cpp | xhuan28/MNN | 81df3a48d79cbc0b75251d12934345948866f7be | [
"Apache-2.0"
] | null | null | null | test/speed/MatMulSpeed.cpp | xhuan28/MNN | 81df3a48d79cbc0b75251d12934345948866f7be | [
"Apache-2.0"
] | null | null | null | test/speed/MatMulSpeed.cpp | xhuan28/MNN | 81df3a48d79cbc0b75251d12934345948866f7be | [
"Apache-2.0"
] | null | null | null | //
// MatMulSpeed.cpp
// MNNTests
//
// Created by MNN on 2019/09/17.
// Copyright © 2018, Alibaba Group Holding Limited
//
#include <math.h>
#include <MNN/expr/Expr.hpp>
#include <MNN/expr/ExprCreator.hpp>
#include <MNN/expr/Optimizer.hpp>
#include "MNNTestSuite.h"
#include "MNN_generated.h"
#define MNN_OPEN_TIME... | 33.27451 | 104 | 0.4835 | xhuan28 |
a3a07102ec9623d69ab1c2e460f30f78d3156db4 | 2,919 | cpp | C++ | lonestar/experimental/meshsingularities/Productions/Point3D/main.cpp | lineagech/Galois | 5c7c0abaf7253cb354e35a3836147a960a37ad5b | [
"BSD-3-Clause"
] | null | null | null | lonestar/experimental/meshsingularities/Productions/Point3D/main.cpp | lineagech/Galois | 5c7c0abaf7253cb354e35a3836147a960a37ad5b | [
"BSD-3-Clause"
] | null | null | null | lonestar/experimental/meshsingularities/Productions/Point3D/main.cpp | lineagech/Galois | 5c7c0abaf7253cb354e35a3836147a960a37ad5b | [
"BSD-3-Clause"
] | null | null | null | /*
* This file belongs to the Galois project, a C++ library for exploiting
* parallelism. The code is being released under the terms of the 3-Clause BSD
* License (a copy is located in LICENSE.txt at the top-level directory).
*
* Copyright (C) 2018, The University of Texas at Austin. All rights reserved.
* UNIVER... | 33.170455 | 79 | 0.689277 | lineagech |
a3a208ca97557248d7a4b53eec435789d8d28700 | 537 | cc | C++ | base/init.cc | xiaoqiyu/CTPTrader | 7423b8cb012e31f16c39b5055792886b39b11251 | [
"Apache-2.0"
] | 142 | 2017-06-14T11:39:55.000Z | 2022-03-20T15:08:39.000Z | base/init.cc | xiaoqiyu/DERIQT | 57c20c40a692a4f877296a39ed91aeab8e4c6d66 | [
"Apache-2.0"
] | 17 | 2015-07-13T02:37:55.000Z | 2017-05-02T07:12:33.000Z | base/init.cc | xiaoqiyu/DERIQT | 57c20c40a692a4f877296a39ed91aeab8e4c6d66 | [
"Apache-2.0"
] | 54 | 2015-04-20T07:27:43.000Z | 2017-04-27T21:17:32.000Z | #include "base/init.h"
#include "absl/debugging/failure_signal_handler.h"
#include "absl/debugging/symbolize.h"
#include "absl/flags/parse.h"
#include "glog/logging.h"
namespace base {
void InitProgram(int argc, char *argv[]) {
// Initialize the symbolizer to get a human-readable stack trace
absl::InitializeSymbo... | 25.571429 | 66 | 0.743017 | xiaoqiyu |
a3a252e51737b84ad789f78ae4001110b4e2d5f6 | 7,781 | hpp | C++ | libraries/chain/include/eosio/chain/exceptions.hpp | camielvanramele/Graduation-Internship | ab0e9b8db65b775459ddb3cb813e8e51b55ad1d1 | [
"MIT"
] | 2 | 2021-08-19T03:03:45.000Z | 2021-08-19T03:04:46.000Z | libraries/chain/include/eosio/chain/exceptions.hpp | ElementhFoundation/blockchain | 5f63038c0e6fc90bc4bc0bc576410087785d8099 | [
"MIT"
] | null | null | null | libraries/chain/include/eosio/chain/exceptions.hpp | ElementhFoundation/blockchain | 5f63038c0e6fc90bc4bc0bc576410087785d8099 | [
"MIT"
] | null | null | null | /**
* @file
* @copyright defined in eos/LICENSE.txt
*/
#pragma once
#include <fc/exception/exception.hpp>
#include <eosio/chain/protocol.hpp>
#include <eosio/utilities/exception_macros.hpp>
namespace eosio { namespace chain {
FC_DECLARE_EXCEPTION( chain_exception, 3000000, "blockchain exception" )
FC_DECL... | 101.051948 | 202 | 0.7589 | camielvanramele |
a3a33a2451c52ae5201a96ca892788ed51dd0404 | 858 | cpp | C++ | Geeks4Geeks/G4G-Solutions/minimum_indexed_character_with_slight_variation.cpp | vijay-jaisankar/Competetive_programming | 860c165ce42337a7380112938b14772e6a553647 | [
"MIT"
] | null | null | null | Geeks4Geeks/G4G-Solutions/minimum_indexed_character_with_slight_variation.cpp | vijay-jaisankar/Competetive_programming | 860c165ce42337a7380112938b14772e6a553647 | [
"MIT"
] | null | null | null | Geeks4Geeks/G4G-Solutions/minimum_indexed_character_with_slight_variation.cpp | vijay-jaisankar/Competetive_programming | 860c165ce42337a7380112938b14772e6a553647 | [
"MIT"
] | null | null | null | // https://practice.geeksforgeeks.org/problems/minimum-indexed-character/1/
// C++ implementation to find the character in first
// string that is present at minimum index in second
// string
#include <bits/stdc++.h>
using namespace std;
// } Driver Code Ends
void printMinIndexChar(string str, string patt)
{
... | 17.16 | 75 | 0.561772 | vijay-jaisankar |
a3a35229030a371c52182e6ebf4198f8668e3a61 | 706 | hpp | C++ | thirdparty/boost_1_67_0/boost/chrono.hpp | cfsengineering/tigl | abfbb57b82dc6beac7cde212a4cd5e0aed866db8 | [
"Apache-2.0"
] | 12,278 | 2015-01-29T17:11:33.000Z | 2022-03-31T21:12:00.000Z | thirdparty/boost_1_67_0/boost/chrono.hpp | cfsengineering/tigl | abfbb57b82dc6beac7cde212a4cd5e0aed866db8 | [
"Apache-2.0"
] | 9,469 | 2015-01-30T05:33:07.000Z | 2022-03-31T16:17:21.000Z | thirdparty/boost_1_67_0/boost/chrono.hpp | cfsengineering/tigl | abfbb57b82dc6beac7cde212a4cd5e0aed866db8 | [
"Apache-2.0"
] | 1,343 | 2017-12-08T19:47:19.000Z | 2022-03-26T11:31:36.000Z | //////////////////////////////////////////////////////////////////////////////
//
// (C) Copyright Vicente J. Botet Escriba 2010.
// 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/... | 33.619048 | 79 | 0.405099 | cfsengineering |
a3a6177d48620242378197fa0f0e451a235b8cb0 | 1,572 | cpp | C++ | TAO/orbsvcs/orbsvcs/Naming/FaultTolerant/FT_Storable_Naming_Context_Factory.cpp | cflowe/ACE | 5ff60b41adbe1772372d1a43bcc1f2726ff8f810 | [
"DOC"
] | 36 | 2015-01-10T07:27:33.000Z | 2022-03-07T03:32:08.000Z | TAO/orbsvcs/orbsvcs/Naming/FaultTolerant/FT_Storable_Naming_Context_Factory.cpp | cflowe/ACE | 5ff60b41adbe1772372d1a43bcc1f2726ff8f810 | [
"DOC"
] | 2 | 2018-08-13T07:30:51.000Z | 2019-02-25T03:04:31.000Z | TAO/orbsvcs/orbsvcs/Naming/FaultTolerant/FT_Storable_Naming_Context_Factory.cpp | cflowe/ACE | 5ff60b41adbe1772372d1a43bcc1f2726ff8f810 | [
"DOC"
] | 38 | 2015-01-08T14:12:06.000Z | 2022-01-19T08:33:00.000Z | // $Id: FT_Storable_Naming_Context_Factory.cpp 97275 2013-08-10 17:11:33Z johnnyw $
#include "orbsvcs/Naming/FaultTolerant/FT_Storable_Naming_Context_Factory.h"
#include "orbsvcs/Naming/FaultTolerant/FT_Storable_Naming_Context.h"
TAO_BEGIN_VERSIONED_NAMESPACE_DECL
/// Constructor.
TAO_FT_Storable_Naming_Context_Fact... | 35.727273 | 86 | 0.656489 | cflowe |
a3a8b302709dcb5b523a845731f2a60ffaafbc7e | 3,769 | cpp | C++ | test/external_contribution/CopyPipelineHigh6/Pack8to1/Pack8to1_genx.cpp | dmitryryintel/cm-compiler | 1ef7651dc1c33d3e4853f8779d6a720e45e20e19 | [
"Intel",
"MIT"
] | 115 | 2018-02-01T18:56:44.000Z | 2022-03-21T13:23:00.000Z | test/external_contribution/CopyPipelineHigh6/Pack8to1/Pack8to1_genx.cpp | dmitryryintel/cm-compiler | 1ef7651dc1c33d3e4853f8779d6a720e45e20e19 | [
"Intel",
"MIT"
] | 27 | 2018-09-17T17:49:49.000Z | 2021-11-03T04:31:51.000Z | test/external_contribution/CopyPipelineHigh6/Pack8to1/Pack8to1_genx.cpp | dmitryryintel/cm-compiler | 1ef7651dc1c33d3e4853f8779d6a720e45e20e19 | [
"Intel",
"MIT"
] | 55 | 2018-02-01T07:11:49.000Z | 2022-03-04T01:20:23.000Z | /*
* Copyright (c) 2017, Intel Corporation
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, ... | 32.773913 | 78 | 0.639958 | dmitryryintel |
a3a965332973438d2859892694c0cc4cd7cecbd8 | 3,654 | cpp | C++ | installer/dev/console.cpp | G-arj/WindowsAppSDK | 4b9003aef5c22f4edbbb702bac6a5aa1a7d59ebc | [
"CC-BY-4.0",
"MIT"
] | null | null | null | installer/dev/console.cpp | G-arj/WindowsAppSDK | 4b9003aef5c22f4edbbb702bac6a5aa1a7d59ebc | [
"CC-BY-4.0",
"MIT"
] | null | null | null | installer/dev/console.cpp | G-arj/WindowsAppSDK | 4b9003aef5c22f4edbbb702bac6a5aa1a7d59ebc | [
"CC-BY-4.0",
"MIT"
] | null | null | null | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
#include "pch.h"
using namespace WindowsAppRuntimeInstaller::InstallActivity;
void WindowsAppRuntimeInstaller::Console::DisplayHeader()
{
std::wcout <... | 47.454545 | 141 | 0.666667 | G-arj |
a3aa9c1f95ce6f2ab2cc35d15be7bda7ee413957 | 27,578 | cpp | C++ | doc/cppnow-2016/example/mpl_at.cpp | GuiCodron/sml | 2dab1265f87f70a2941af9de8f3f157df9a6a53f | [
"BSL-1.0"
] | 320 | 2020-07-03T18:58:34.000Z | 2022-03-31T05:31:44.000Z | doc/cppnow-2016/example/mpl_at.cpp | GuiCodron/sml | 2dab1265f87f70a2941af9de8f3f157df9a6a53f | [
"BSL-1.0"
] | 106 | 2020-06-30T15:03:00.000Z | 2022-03-31T10:42:38.000Z | doc/cppnow-2016/example/mpl_at.cpp | GuiCodron/sml | 2dab1265f87f70a2941af9de8f3f157df9a6a53f | [
"BSL-1.0"
] | 55 | 2020-07-10T12:32:49.000Z | 2022-03-14T07:12:28.000Z | //
// Copyright (c) 2016-2019 Kris Jusiak (kris at jusiak dot net)
//
// 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)
//
#define BOOST_MPL_LIMIT_MAP_SIZE 128
#include <boost/preprocessor/iterate.hpp>
#include <bo... | 50.416819 | 80 | 0.44822 | GuiCodron |
a3aaba8be3a2eee78d1064444a1ec2498fec650b | 4,632 | cpp | C++ | samples/snippets/cpp/VS_Snippets_Remoting/Httpwebrequest_proxy/CPP/httpwebrequest_proxy.cpp | broken240/dotnet-api-docs | af0894cae0c60a12d53ad7fde36bd5e1203d0897 | [
"CC-BY-4.0",
"MIT"
] | 1 | 2020-07-05T20:15:35.000Z | 2020-07-05T20:15:35.000Z | samples/snippets/cpp/VS_Snippets_Remoting/Httpwebrequest_proxy/CPP/httpwebrequest_proxy.cpp | broken240/dotnet-api-docs | af0894cae0c60a12d53ad7fde36bd5e1203d0897 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | samples/snippets/cpp/VS_Snippets_Remoting/Httpwebrequest_proxy/CPP/httpwebrequest_proxy.cpp | broken240/dotnet-api-docs | af0894cae0c60a12d53ad7fde36bd5e1203d0897 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | /*System::Net::HttpWebRequest::Proxy
This program demonstrates the 'Proxy' property of the 'HttpWebRequest' class.
A 'HttpWebRequest' Object* and a 'Proxy' Object* is created.The Proxy Object is then assigned to
the 'Proxy' Property of the 'HttpWebRequest' Object* and printed onto the console(this is the default
... | 41.72973 | 113 | 0.568005 | broken240 |
a3ac328ddc2c1878ccf699cf4a7e49dcc6b1afa3 | 10,081 | cpp | C++ | PageCompiler/src/PageCompiler.cpp | ansi88/poco | 2e91f9666b4de5f50b9a0671870fab651f1a3566 | [
"BSL-1.0"
] | null | null | null | PageCompiler/src/PageCompiler.cpp | ansi88/poco | 2e91f9666b4de5f50b9a0671870fab651f1a3566 | [
"BSL-1.0"
] | null | null | null | PageCompiler/src/PageCompiler.cpp | ansi88/poco | 2e91f9666b4de5f50b9a0671870fab651f1a3566 | [
"BSL-1.0"
] | null | null | null | //
// PageCompiler.cpp
//
// $Id: //poco/1.4/PageCompiler/src/PageCompiler.cpp#4 $
//
// A compiler that compiler HTML pages containing JSP directives into C++ classes.
//
// Copyright (c) 2008, Applied Informatics Software Engineering GmbH.
// and Contributors.
//
// SPDX-License-Identifier: BSL-1.0
//
#include "Poc... | 26.954545 | 134 | 0.706676 | ansi88 |
a3b1e02b04f4a567d852ad370004c6b66ff29b77 | 12,335 | hpp | C++ | include/MasterServer/DedicatedServerPrepareForConnectionRequest.hpp | RedBrumbler/BeatSaber-Quest-Codegen | 73dda50b5a3e51f10d86b766dcaa24b0c6226e25 | [
"Unlicense"
] | null | null | null | include/MasterServer/DedicatedServerPrepareForConnectionRequest.hpp | RedBrumbler/BeatSaber-Quest-Codegen | 73dda50b5a3e51f10d86b766dcaa24b0c6226e25 | [
"Unlicense"
] | null | null | null | include/MasterServer/DedicatedServerPrepareForConnectionRequest.hpp | RedBrumbler/BeatSaber-Quest-Codegen | 73dda50b5a3e51f10d86b766dcaa24b0c6226e25 | [
"Unlicense"
] | null | null | null | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "beatsaber-hook/shared/utils/typedefs.h"
#include "beatsaber-hook/shared/utils/byref.hpp"
// Including type: BGNet.Core.Messages.BaseReli... | 58.183962 | 359 | 0.754439 | RedBrumbler |
a3b6bb5e964e1c1366f705ced2a9cf61c92a3ad8 | 3,402 | cpp | C++ | deps/boost_1_63_0/libs/qvm/test/rot_quat_test.cpp | newtondev/drachtio-server | cd18c6c0e1aa05501b068fc373682333bab5640c | [
"MIT"
] | null | null | null | deps/boost_1_63_0/libs/qvm/test/rot_quat_test.cpp | newtondev/drachtio-server | cd18c6c0e1aa05501b068fc373682333bab5640c | [
"MIT"
] | null | null | null | deps/boost_1_63_0/libs/qvm/test/rot_quat_test.cpp | newtondev/drachtio-server | cd18c6c0e1aa05501b068fc373682333bab5640c | [
"MIT"
] | null | null | null | //Copyright (c) 2008-2016 Emil Dotchevski and Reverge Studios, Inc.
//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 <boost/qvm/quat_operations.hpp>
#include <boost/qvm/mat_operations.hpp>
#inc... | 35.4375 | 85 | 0.516461 | newtondev |
a3b7899daa1dc5d90fb8b9ca2a869b93c8444be4 | 1,587 | cpp | C++ | Engine/Core/Utilities.cpp | Alex-Sindledecker/Mitochondrion_Engine | 4185f8633648473c64126e47a60adf02b68aaae5 | [
"MIT"
] | null | null | null | Engine/Core/Utilities.cpp | Alex-Sindledecker/Mitochondrion_Engine | 4185f8633648473c64126e47a60adf02b68aaae5 | [
"MIT"
] | null | null | null | Engine/Core/Utilities.cpp | Alex-Sindledecker/Mitochondrion_Engine | 4185f8633648473c64126e47a60adf02b68aaae5 | [
"MIT"
] | null | null | null | #include "mepch.h"
#include "Utilities.h"
namespace util
{
ThreadPool::ThreadPool(size_t size)
{
start(size);
}
ThreadPool::~ThreadPool()
{
if (!drain)
finish();
}
void ThreadPool::start(size_t size)
{
for (int i = 0; i < size; i++)
{
threads.emplace_back([=] {
//Thread loop
while (tru... | 18.892857 | 86 | 0.616887 | Alex-Sindledecker |
a3b812b57e66c055dba5a057b6ebcc9160a66483 | 155 | cpp | C++ | src/var/Vector.cpp | bander9289/StratifyAPI | 9b45091aa71a4e5718047438ea4044c1fdc814a3 | [
"MIT"
] | 2 | 2016-05-21T03:09:19.000Z | 2016-08-27T03:40:51.000Z | src/var/Vector.cpp | bander9289/StratifyAPI | 9b45091aa71a4e5718047438ea4044c1fdc814a3 | [
"MIT"
] | 75 | 2017-10-08T22:21:19.000Z | 2020-03-30T21:13:20.000Z | src/var/Vector.cpp | StratifyLabs/StratifyLib | 975a5c25a84296fd0dec64fe4dc579cf7027abe6 | [
"MIT"
] | 5 | 2018-03-27T16:44:09.000Z | 2020-07-08T16:45:55.000Z | /*! \file */ // Copyright 2011-2020 Tyler Gilbert and Stratify Labs, Inc; see LICENSE.md for rights.
#include "var/Vector.hpp"
u32 sapi_vector_unused;
| 19.375 | 100 | 0.722581 | bander9289 |
a3b837b9b81b20bedd2c1f3e2ff388f8285add2d | 24,187 | cpp | C++ | OpenSim/Tests/testIterators/testIterators.cpp | mcx/opensim-core | c109f8cec3a81c732f335cd39752da6ae573b604 | [
"Apache-2.0"
] | null | null | null | OpenSim/Tests/testIterators/testIterators.cpp | mcx/opensim-core | c109f8cec3a81c732f335cd39752da6ae573b604 | [
"Apache-2.0"
] | null | null | null | OpenSim/Tests/testIterators/testIterators.cpp | mcx/opensim-core | c109f8cec3a81c732f335cd39752da6ae573b604 | [
"Apache-2.0"
] | null | null | null | /* -------------------------------------------------------------------------- *
* OpenSim: testIterators.cpp *
* -------------------------------------------------------------------------- *
* The OpenSim API is a toolkit for musculoskeletal modeling and simulation. *
*... | 44.056466 | 129 | 0.64576 | mcx |
a3b91ec3778cd01fb408e37915d4fca1b05f7b26 | 21,783 | cpp | C++ | thirdparty/physx/APEXSDK/module/emitter/src/ImpactEmitterActor.cpp | johndpope/echo | e9ce2f4037e8a5d49b74cc7a9d9ee09f296e7fa7 | [
"MIT"
] | null | null | null | thirdparty/physx/APEXSDK/module/emitter/src/ImpactEmitterActor.cpp | johndpope/echo | e9ce2f4037e8a5d49b74cc7a9d9ee09f296e7fa7 | [
"MIT"
] | 2 | 2015-06-21T17:38:11.000Z | 2015-06-22T20:54:42.000Z | thirdparty/physx/APEXSDK/module/emitter/src/ImpactEmitterActor.cpp | johndpope/echo | e9ce2f4037e8a5d49b74cc7a9d9ee09f296e7fa7 | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2008-2015, NVIDIA CORPORATION. All rights reserved.
*
* NVIDIA CORPORATION and its licensors retain all intellectual property
* and proprietary rights in and to this software, related documentation
* and any modifications thereto. Any use, reproduction, disclosure or
* distribution of this so... | 27.678526 | 199 | 0.711656 | johndpope |
a3bb77e59bed24b2f8bf6375d25fa9ea9e2c8337 | 12,514 | cc | C++ | chrome/browser/local_discovery/service_discovery_client_impl.cc | pozdnyakov/chromium-crosswalk | 0fb25c7278bf1d93e53a3b0bcb75aa8b99d4b26e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/local_discovery/service_discovery_client_impl.cc | pozdnyakov/chromium-crosswalk | 0fb25c7278bf1d93e53a3b0bcb75aa8b99d4b26e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/local_discovery/service_discovery_client_impl.cc | pozdnyakov/chromium-crosswalk | 0fb25c7278bf1d93e53a3b0bcb75aa8b99d4b26e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <utility>
#include "base/logging.h"
#include "base/memory/singleton.h"
#include "base/message_loop/message_loop_proxy.h"
#include "base/stl_util... | 32.335917 | 80 | 0.726706 | pozdnyakov |
a3c054b6971510bd215b44c204118194f8d69d42 | 3,053 | cpp | C++ | src/nimbro/hardware/cm730/src/read_thread.cpp | hfarazi/humanoid_op_ros_kinetic | 84712bd541d0130b840ad1935d5bfe301814dbe6 | [
"BSD-3-Clause"
] | 45 | 2015-11-04T01:29:12.000Z | 2022-02-11T05:37:42.000Z | src/nimbro/hardware/cm730/src/read_thread.cpp | hfarazi/humanoid_op_ros_kinetic | 84712bd541d0130b840ad1935d5bfe301814dbe6 | [
"BSD-3-Clause"
] | 1 | 2018-11-22T08:34:34.000Z | 2018-11-22T08:34:34.000Z | src/nimbro/hardware/cm730/src/read_thread.cpp | hfarazi/humanoid_op_ros_kinetic | 84712bd541d0130b840ad1935d5bfe301814dbe6 | [
"BSD-3-Clause"
] | 20 | 2016-03-05T14:28:45.000Z | 2021-01-30T00:50:47.000Z | // Thread for reading data from the serial connection
// Author: Max Schwarz <max.schwarz@uni-bonn.de>
// Includes
#include "cm730/read_thread.h"
#include <stdlib.h>
#include <stdio.h>
#include <errno.h>
#include <termios.h>
#include <string.h>
// Defines
#define READ_THREAD_DEBUG 0 // Non-zero => Display incoming a... | 17.853801 | 79 | 0.663937 | hfarazi |