hexsha stringlengths 40 40 | size int64 7 1.05M | ext stringclasses 13
values | lang stringclasses 1
value | max_stars_repo_path stringlengths 4 269 | max_stars_repo_name stringlengths 5 109 | max_stars_repo_head_hexsha stringlengths 40 40 | max_stars_repo_licenses listlengths 1 9 | max_stars_count int64 1 191k ⌀ | max_stars_repo_stars_event_min_datetime stringlengths 24 24 ⌀ | max_stars_repo_stars_event_max_datetime stringlengths 24 24 ⌀ | max_issues_repo_path stringlengths 4 269 | max_issues_repo_name stringlengths 5 116 | max_issues_repo_head_hexsha stringlengths 40 40 | max_issues_repo_licenses listlengths 1 9 | max_issues_count int64 1 48.5k ⌀ | max_issues_repo_issues_event_min_datetime stringlengths 24 24 ⌀ | max_issues_repo_issues_event_max_datetime stringlengths 24 24 ⌀ | max_forks_repo_path stringlengths 4 269 | max_forks_repo_name stringlengths 5 116 | max_forks_repo_head_hexsha stringlengths 40 40 | max_forks_repo_licenses listlengths 1 9 | max_forks_count int64 1 105k ⌀ | max_forks_repo_forks_event_min_datetime stringlengths 24 24 ⌀ | max_forks_repo_forks_event_max_datetime stringlengths 24 24 ⌀ | content stringlengths 7 1.05M | avg_line_length float64 1.21 330k | max_line_length int64 6 990k | alphanum_fraction float64 0.01 0.99 | author_id stringlengths 2 40 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7e35e04e7066acddba00032e0e0d836f78a4b3bf | 150 | hpp | C++ | sdk/include/XWordLayerPage.hpp | qianxj/XExplorer | 00e326da03ffcaa21115a2345275452607c6bab5 | [
"MIT"
] | null | null | null | sdk/include/XWordLayerPage.hpp | qianxj/XExplorer | 00e326da03ffcaa21115a2345275452607c6bab5 | [
"MIT"
] | null | null | null | sdk/include/XWordLayerPage.hpp | qianxj/XExplorer | 00e326da03ffcaa21115a2345275452607c6bab5 | [
"MIT"
] | null | null | null | #pragma once
#include "xwordlayerbase.hpp"
class XWordLayerPage :
public XWordLayerBase
{
public:
XWordLayerPage(void);
~XWordLayerPage(void);
};
| 13.636364 | 29 | 0.766667 | qianxj |
7e3eb1c55aaf1ef9676ec529bcb9284f39af1ef6 | 3,846 | hpp | C++ | src/libArrhenius/Fitting/detail/EffectiveExposuresLinearRegression.hpp | CD3/libArrhenius | 2cf65c9935c1661c6150ddfd86a999cf2fff2691 | [
"MIT"
] | null | null | null | src/libArrhenius/Fitting/detail/EffectiveExposuresLinearRegression.hpp | CD3/libArrhenius | 2cf65c9935c1661c6150ddfd86a999cf2fff2691 | [
"MIT"
] | null | null | null | src/libArrhenius/Fitting/detail/EffectiveExposuresLinearRegression.hpp | CD3/libArrhenius | 2cf65c9935c1661c6150ddfd86a999cf2fff2691 | [
"MIT"
] | null | null | null | #ifndef Fitting_detail_EffectiveExposuresLinearRegression_hpp
#define Fitting_detail_EffectiveExposuresLinearRegression_hpp
/** @file EffectiveExposuresLinearRegression.hpp
* @brief
* @author C.D. Clark III
* @date 07/07/17
*/
#include <Eigen/Dense>
#include "../../Utils/LinearRegression.hpp"
namespace libA... | 30.52381 | 186 | 0.605564 | CD3 |
7e3eb3056e49f2e70b9e611a8112a220d9bc46ac | 1,261 | cpp | C++ | main.cpp | dynamic21/radixSort | 50a5e0a5099ad29b7dc73344c4098b76b4ff504f | [
"MIT"
] | null | null | null | main.cpp | dynamic21/radixSort | 50a5e0a5099ad29b7dc73344c4098b76b4ff504f | [
"MIT"
] | null | null | null | main.cpp | dynamic21/radixSort | 50a5e0a5099ad29b7dc73344c4098b76b4ff504f | [
"MIT"
] | null | null | null | #include <iostream>
#include <chrono>
#include <ratio>
#include <algorithm>
#include "RadixSort256.h"
using std::cout;
using std::endl;
using std::chrono::duration;
using std::chrono::duration_cast;
using std::chrono::steady_clock;
unsigned int state = 90354;
unsigned int xorshift32()
{
state ^= state << 13;
... | 25.22 | 78 | 0.564631 | dynamic21 |
7e495eb59fd165d6dd0dbde975d7646571686708 | 529 | hpp | C++ | include/Module/Controller/Controller_static/Controller_static.hpp | FredrikBlomgren/aff3ct | fa616bd923b2dcf03a4cf119cceca51cf810d483 | [
"MIT"
] | 315 | 2016-06-21T13:32:14.000Z | 2022-03-28T09:33:59.000Z | include/Module/Controller/Controller_static/Controller_static.hpp | a-panella/aff3ct | 61509eb756ae3725b8a67c2d26a5af5ba95186fb | [
"MIT"
] | 153 | 2017-01-17T03:51:06.000Z | 2022-03-24T15:39:26.000Z | include/Module/Controller/Controller_static/Controller_static.hpp | a-panella/aff3ct | 61509eb756ae3725b8a67c2d26a5af5ba95186fb | [
"MIT"
] | 119 | 2017-01-04T14:31:58.000Z | 2022-03-21T08:34:16.000Z | /*!
* \file
* \brief Class module::Controller_static.
*/
#ifndef CONTROLLER_STATIC_HPP_
#define CONTROLLER_STATIC_HPP_
#include <cstdint>
#include "Module/Controller/Controller.hpp"
namespace aff3ct
{
namespace module
{
class Controller_static : public Controller
{
public:
Controller_static(const size_t init_pa... | 17.064516 | 59 | 0.761815 | FredrikBlomgren |
7e4c5f877456ed5f0506b145b8adfc7c1d4cbbfb | 1,294 | cpp | C++ | src/cpp/114. Flatten Binary Tree to Linked List.cpp | yjjnls/D.S.A-Leet | be19c3ccc1f704e75590786fdfd4cd3ab4818d4f | [
"MIT"
] | 222 | 2018-09-25T08:46:31.000Z | 2022-02-07T12:33:42.000Z | src/cpp/114. Flatten Binary Tree to Linked List.cpp | yjjnls/D.S.A-Leet | be19c3ccc1f704e75590786fdfd4cd3ab4818d4f | [
"MIT"
] | 1 | 2017-11-23T04:39:48.000Z | 2017-11-23T04:39:48.000Z | src/cpp/114. Flatten Binary Tree to Linked List.cpp | yjjnls/D.S.A-Leet | be19c3ccc1f704e75590786fdfd4cd3ab4818d4f | [
"MIT"
] | 12 | 2018-10-05T03:16:05.000Z | 2020-12-19T04:25:33.000Z | /*
Given a binary tree, flatten it to a linked list in-place.
For example,
Given
1
/ \
2 5
/ \ \
3 4 6
The flattened tree should look like:
1
\
2
\
3
\
4
\
5
\
6
click to show hints.
Hin... | 18.225352 | 71 | 0.493818 | yjjnls |
7e5859f938508c753bef8d842abad7cf8e31e173 | 1,221 | cpp | C++ | codeforces/G - AI robots/Wrong answer on test 2.cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | 1 | 2022-02-11T16:55:36.000Z | 2022-02-11T16:55:36.000Z | codeforces/G - AI robots/Wrong answer on test 2.cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | null | null | null | codeforces/G - AI robots/Wrong answer on test 2.cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | null | null | null | /****************************************************************************************
* @author: kzvd4729 created: Dec/04/2019 14:26
* solution_verdict: Wrong answer on test 2 language: GNU C++14
* run... | 37 | 111 | 0.470106 | kzvd4729 |
7e58f3f558918fc4821fc27bd4312424e8b8a2f3 | 1,806 | cpp | C++ | vel_test.cpp | akalberer/robi_plugin | 6e8a2d4b0abc516be67156ab0809a58ad3b829dd | [
"Apache-2.0"
] | null | null | null | vel_test.cpp | akalberer/robi_plugin | 6e8a2d4b0abc516be67156ab0809a58ad3b829dd | [
"Apache-2.0"
] | null | null | null | vel_test.cpp | akalberer/robi_plugin | 6e8a2d4b0abc516be67156ab0809a58ad3b829dd | [
"Apache-2.0"
] | null | null | null | #include <gazebo/gazebo_config.h>
#include <gazebo/transport/transport.hh>
#include <gazebo/msgs/msgs.hh>
// Gazebo's API has changed between major releases. These changes are
// accounted for with #if..#endif blocks in this file.
#if GAZEBO_MAJOR_VERSION < 6
#include <gazebo/gazebo.hh>
#else
#include <gazebo/gazebo_c... | 30.610169 | 116 | 0.708195 | akalberer |
7e5b26742ad275052bd0c05a66455bdb2dad2ee9 | 2,778 | cpp | C++ | tengine/tools/leveleditor/createentitypanel.cpp | BSVino/Digitanks | 1bd1ed115493bce22001ae6684b70b8fcf135db0 | [
"BSD-4-Clause"
] | 5 | 2015-07-03T18:42:32.000Z | 2017-08-25T10:28:12.000Z | tengine/tools/leveleditor/createentitypanel.cpp | BSVino/Digitanks | 1bd1ed115493bce22001ae6684b70b8fcf135db0 | [
"BSD-4-Clause"
] | null | null | null | tengine/tools/leveleditor/createentitypanel.cpp | BSVino/Digitanks | 1bd1ed115493bce22001ae6684b70b8fcf135db0 | [
"BSD-4-Clause"
] | null | null | null | #include "createentitypanel.h"
#include <glgui/movablepanel.h>
#include <glgui/menu.h>
#include <glgui/textfield.h>
#include <game/entities/baseentity.h>
#include "entitypropertiespanel.h"
CCreateEntityPanel::CCreateEntityPanel()
: glgui::CMovablePanel("Create Entity Tool")
{
m_hClass = AddControl(new glgui::CMen... | 25.027027 | 77 | 0.75162 | BSVino |
7e5e163aa4872b048b703a43679b54e23657bc5e | 4,392 | hpp | C++ | inquiries/signal_inquiry.hpp | hmito/hmLib | 0f2515ba9c99c06d02e2fa633eeae73bcd793983 | [
"MIT"
] | null | null | null | inquiries/signal_inquiry.hpp | hmito/hmLib | 0f2515ba9c99c06d02e2fa633eeae73bcd793983 | [
"MIT"
] | null | null | null | inquiries/signal_inquiry.hpp | hmito/hmLib | 0f2515ba9c99c06d02e2fa633eeae73bcd793983 | [
"MIT"
] | 1 | 2015-09-22T03:32:11.000Z | 2015-09-22T03:32:11.000Z | #ifndef HMLIB_INQUIRIES_SIGNALINQUIRY_INC
#define HMLIB_INQUIRIES_SIGNALINQUIRY_INC 102
#
/*===inquiries::signal_inquiry===
operator()(void)で、取得した値を返さずに、Signalを発信するinquiry
inquiries::signal_inquiry v1_02/130421 hmIto
関数型に対応
exceptionsに対応
inquiries::signal_inquiry v1_01/130329 hmIto
inquiryで値取得した結果、前回の値と変わりない場合はsig... | 29.28 | 100 | 0.704918 | hmito |
7e625505690c6f2af92b66cca26db8f2c3b2b189 | 16,701 | hpp | C++ | include/strf/detail/format_functions.hpp | eyalroz/strf | 94cd5aef40530269da0727178017cb4a8992c5dc | [
"BSL-1.0"
] | null | null | null | include/strf/detail/format_functions.hpp | eyalroz/strf | 94cd5aef40530269da0727178017cb4a8992c5dc | [
"BSL-1.0"
] | 18 | 2019-12-13T15:52:26.000Z | 2020-01-17T14:51:33.000Z | include/strf/detail/format_functions.hpp | eyalroz/strf | 94cd5aef40530269da0727178017cb4a8992c5dc | [
"BSL-1.0"
] | 1 | 2021-12-23T05:53:22.000Z | 2021-12-23T05:53:22.000Z | #ifndef STRF_DETAIL_FORMAT_FUNCTIONS_HPP
#define STRF_DETAIL_FORMAT_FUNCTIONS_HPP
// 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 <strf/detail/common.hpp>
#include <cstring>
namespace strf {
name... | 27.514003 | 119 | 0.640081 | eyalroz |
7e62a15f12cd19eb3155c223f549a8e30a98c887 | 288 | cpp | C++ | node_modules/lzz-gyp/lzz-source/gram_CreateLineMacro.cpp | SuperDizor/dizornator | 9f57dbb3f6af80283b4d977612c95190a3d47900 | [
"ISC"
] | 3 | 2019-09-18T16:44:33.000Z | 2021-03-29T13:45:27.000Z | node_modules/lzz-gyp/lzz-source/gram_CreateLineMacro.cpp | SuperDizor/dizornator | 9f57dbb3f6af80283b4d977612c95190a3d47900 | [
"ISC"
] | null | null | null | node_modules/lzz-gyp/lzz-source/gram_CreateLineMacro.cpp | SuperDizor/dizornator | 9f57dbb3f6af80283b4d977612c95190a3d47900 | [
"ISC"
] | 2 | 2019-03-29T01:06:38.000Z | 2019-09-18T16:44:34.000Z | // gram_CreateLineMacro.cpp
//
#include "gram_CreateLineMacro.h"
// gram
#include "gram_LineMacro.h"
#define LZZ_INLINE inline
namespace gram
{
MacroPtr createLineMacro (util::Loc const & loc, util::Ident const & name)
{
return new LineMacro (loc, name);
}
}
#undef LZZ_INLINE
| 18 | 76 | 0.722222 | SuperDizor |
7e63ba68e85aaae572a32e55dcf1a421889e0d2d | 4,751 | cpp | C++ | QtWebApp/httpserver/httpsessionstore.cpp | cbcalves/crudQtTest | f10c83934abaca6d17f57e2b0aa0e6c8844bfdda | [
"MIT"
] | null | null | null | QtWebApp/httpserver/httpsessionstore.cpp | cbcalves/crudQtTest | f10c83934abaca6d17f57e2b0aa0e6c8844bfdda | [
"MIT"
] | null | null | null | QtWebApp/httpserver/httpsessionstore.cpp | cbcalves/crudQtTest | f10c83934abaca6d17f57e2b0aa0e6c8844bfdda | [
"MIT"
] | null | null | null | /**
@file
@author Stefan Frings
*/
#include "httpsessionstore.h"
#include <QDateTime>
#include <QUuid>
using namespace stefanfrings;
HttpSessionStore::HttpSessionStore( const QSettings* settings, QObject* parent ) :
QObject( parent ),
m_settings( settings ),
m_cookieName( settings->value( "cookieN... | 37.706349 | 114 | 0.651442 | cbcalves |
7e68539b774399938d58b8bfe3a5a14ca9165d05 | 831 | cc | C++ | gui/PiiGuiUtil.cc | topiolli/into | f0a47736f5c93dd32e89e7aad34152ae1afc5583 | [
"BSD-3-Clause"
] | 14 | 2015-01-19T22:14:18.000Z | 2020-04-13T23:27:20.000Z | gui/PiiGuiUtil.cc | topiolli/into | f0a47736f5c93dd32e89e7aad34152ae1afc5583 | [
"BSD-3-Clause"
] | null | null | null | gui/PiiGuiUtil.cc | topiolli/into | f0a47736f5c93dd32e89e7aad34152ae1afc5583 | [
"BSD-3-Clause"
] | 14 | 2015-01-16T05:43:15.000Z | 2019-01-29T07:57:11.000Z | /* This file is part of Into.
* Copyright (C) Intopii 2013.
* All rights reserved.
*
* Licensees holding a commercial Into license may use this file in
* accordance with the commercial license agreement. Please see
* LICENSE.commercial for commercial licensing terms.
*
* Alternatively, this file may be used und... | 28.655172 | 69 | 0.736462 | topiolli |
7e6a18bdebd08be0c3e756333d1f8c71687414f7 | 2,887 | cc | C++ | src/TBUI/TBUIWindow.cc | floooh/oryol-turbobadger | dd0afc300629efc6bd1c90e829895e3148916ad6 | [
"MIT"
] | 8 | 2016-12-18T21:42:42.000Z | 2019-01-11T02:36:25.000Z | src/TBUI/TBUIWindow.cc | floooh/oryol-turbobadger | dd0afc300629efc6bd1c90e829895e3148916ad6 | [
"MIT"
] | 1 | 2019-10-09T15:19:31.000Z | 2019-10-10T10:02:48.000Z | src/TBUI/TBUIWindow.cc | floooh/oryol-turbobadger | dd0afc300629efc6bd1c90e829895e3148916ad6 | [
"MIT"
] | 1 | 2019-01-11T02:36:27.000Z | 2019-01-11T02:36:27.000Z | //------------------------------------------------------------------------------
// TBUIWindow.cc
//------------------------------------------------------------------------------
#include "Pre.h"
#include "TBUI/TBUI.h"
#include "TBUIWindow.h"
#include "tb_skin.h"
#include "tb_node_tree.h"
#include "tb_widgets_reader.h... | 38.493333 | 113 | 0.567371 | floooh |
7e72627530f2f17c81b95e249cd7663751040b9e | 2,259 | cpp | C++ | apps/hls_examples/stereo_hls/run_cuda.cpp | akifoezkan/Halide-HLS | 1eee3f38f32722f3e725c29a5b7a084275062a7f | [
"MIT"
] | 71 | 2016-11-17T19:22:21.000Z | 2022-01-10T10:03:58.000Z | apps/hls_examples/stereo_hls/run_cuda.cpp | akifoezkan/Halide-HLS | 1eee3f38f32722f3e725c29a5b7a084275062a7f | [
"MIT"
] | 79 | 2019-02-22T03:27:45.000Z | 2022-02-24T23:03:28.000Z | apps/hls_examples/stereo_hls/run_cuda.cpp | akifoezkan/Halide-HLS | 1eee3f38f32722f3e725c29a5b7a084275062a7f | [
"MIT"
] | 22 | 2017-04-16T11:44:34.000Z | 2022-03-26T13:27:10.000Z | #include <cstdio>
#include <cstdlib>
#include <cassert>
#include <math.h>
#include "pipeline_cuda.h"
#include "pipeline_native.h"
#include "benchmark.h"
#include "halide_image.h"
#include "halide_image_io.h"
#include "opencv2/gpu/gpu.hpp"
#include "opencv2/highgui/highgui.hpp"
using namespace Halide::Tools;
using n... | 31.816901 | 87 | 0.658256 | akifoezkan |
7e78894fc5934b19935dcbf538dd14c855edbad9 | 84,567 | cpp | C++ | test/sentence_break_09.cpp | eightysquirrels/text | d935545648777786dc196a75346cde8906da846a | [
"BSL-1.0"
] | null | null | null | test/sentence_break_09.cpp | eightysquirrels/text | d935545648777786dc196a75346cde8906da846a | [
"BSL-1.0"
] | 1 | 2021-03-05T12:56:59.000Z | 2021-03-05T13:11:53.000Z | test/sentence_break_09.cpp | eightysquirrels/text | d935545648777786dc196a75346cde8906da846a | [
"BSL-1.0"
] | 3 | 2019-10-30T18:38:15.000Z | 2021-03-05T12:10:13.000Z | // Warning! This file is autogenerated.
#include <boost/text/sentence_break.hpp>
#include <gtest/gtest.h>
#include <algorithm>
TEST(sentence, breaks_9)
{
// ÷ 0300 × 0085 ÷
// ÷ [0.2] COMBINING GRAVE ACCENT (Extend_FE) × [998.0] <NEXT LINE (NEL)> (Sep) ÷ [0.3]
{
std::array<uint32_t, 2> cps = {{... | 84.567 | 762 | 0.610758 | eightysquirrels |
7e89a30c1193d3d680b666d757afb045e093e1f4 | 1,747 | cpp | C++ | test/strassen_multiplication.cpp | ArnabBir/scalable-matrix-computation | c636434643ffe2a8d7ec619793775922a946f18e | [
"MIT"
] | null | null | null | test/strassen_multiplication.cpp | ArnabBir/scalable-matrix-computation | c636434643ffe2a8d7ec619793775922a946f18e | [
"MIT"
] | null | null | null | test/strassen_multiplication.cpp | ArnabBir/scalable-matrix-computation | c636434643ffe2a8d7ec619793775922a946f18e | [
"MIT"
] | null | null | null | #include <stdlib.h>
#include <time.h>
#include <limits>
#include <iostream>
#include <stdio.h>
#include <math.h>
#include<unistd.h>
#include <sys/time.h>
#include <sys/resource.h>
#include "../src/matrix/matrix.cpp"
#include "../src/matmul/matmul.cpp"
using namespace std;
int main(){
Matrix m1(2048, 2048, ... | 31.196429 | 124 | 0.656554 | ArnabBir |
7e8bb395d97682a5f12c55de8e03aa24e60838d4 | 153 | hpp | C++ | src/Global.hpp | skytranlong/AxpFileManager | 3bc1643d528bf61440468e8a0b38791f35cf39c9 | [
"WTFPL"
] | null | null | null | src/Global.hpp | skytranlong/AxpFileManager | 3bc1643d528bf61440468e8a0b38791f35cf39c9 | [
"WTFPL"
] | null | null | null | src/Global.hpp | skytranlong/AxpFileManager | 3bc1643d528bf61440468e8a0b38791f35cf39c9 | [
"WTFPL"
] | 2 | 2021-11-10T07:18:29.000Z | 2022-01-06T07:45:54.000Z | #ifndef GLOBAL_HPP
#define GLOBAL_HPP
#include <QTemporaryDir>
namespace Global
{
QTemporaryDir& getTempDir();
};
#endif // GLOBAL_HPP
| 12.75 | 33 | 0.686275 | skytranlong |
7e8bb4728b5279bf4c5bbdc6c61b7b57604fe1ea | 3,697 | cpp | C++ | src/framework/wiced-43xxx/apps/E9000SPC/E9000SPC.cpp | OlafFilies/magnetic-angle-sensor | 87618e9df29ab278e2af5eea7d9120769e197f9f | [
"MIT"
] | 39 | 2019-01-08T23:35:11.000Z | 2022-03-13T23:43:04.000Z | src/framework/wiced-43xxx/apps/E9000SPC/E9000SPC.cpp | OlafFilies/magnetic-angle-sensor | 87618e9df29ab278e2af5eea7d9120769e197f9f | [
"MIT"
] | 16 | 2018-11-18T19:19:41.000Z | 2022-02-14T14:09:37.000Z | src/framework/wiced-43xxx/apps/E9000SPC/E9000SPC.cpp | OlafFilies/magnetic-angle-sensor | 87618e9df29ab278e2af5eea7d9120769e197f9f | [
"MIT"
] | 21 | 2019-01-18T01:32:47.000Z | 2022-02-19T15:51:08.000Z | /*!
* \name E9000SPC
* \author Infineon Technologies AG
* \copyright 2020 Infineon Technologies AG
* \version 3.0.1
* \brief This example shows how to handle the TLE5012B-E9000 variant with SPC interface
* \details
* The TLE5012B-E9000 with SPC interface does not start the DSP automatical... | 27.589552 | 100 | 0.659183 | OlafFilies |
7e8df99410c2223be2133985d5bc42efd7d35867 | 7,012 | cxx | C++ | LiverMarkups/VTKWidgets/vtkSlicerSlicingContourRepresentation3D.cxx | ALive-research/Slicer-Liver | 3d0b17c812a865f67a4867ff2c8c11de07b7fe3b | [
"BSD-3-Clause"
] | 3 | 2022-01-21T18:16:08.000Z | 2022-02-17T09:04:03.000Z | LiverMarkups/VTKWidgets/vtkSlicerSlicingContourRepresentation3D.cxx | SINTEFMedtek/Slicer-Liver | 3d0b17c812a865f67a4867ff2c8c11de07b7fe3b | [
"BSD-3-Clause"
] | 73 | 2022-01-15T21:30:50.000Z | 2022-03-31T09:54:10.000Z | LiverMarkups/VTKWidgets/vtkSlicerSlicingContourRepresentation3D.cxx | SINTEFMedtek/Slicer-Liver | 3d0b17c812a865f67a4867ff2c8c11de07b7fe3b | [
"BSD-3-Clause"
] | 2 | 2022-01-15T21:12:48.000Z | 2022-01-19T11:43:29.000Z | /*==============================================================================
Distributed under the OSI-approved BSD 3-Clause License.
Copyright (c) Oslo University Hospital. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that th... | 38.527473 | 131 | 0.703793 | ALive-research |
7e93730a5524af2733b0866ee0c6c679294c26a9 | 2,579 | cpp | C++ | main.cpp | ei14/qecvec | e097d0a205889ec65362992c4171ae535bc113a5 | [
"MIT"
] | null | null | null | main.cpp | ei14/qecvec | e097d0a205889ec65362992c4171ae535bc113a5 | [
"MIT"
] | null | null | null | main.cpp | ei14/qecvec | e097d0a205889ec65362992c4171ae535bc113a5 | [
"MIT"
] | null | null | null | #include "qecvec.hpp"
int main() {
printf("\n\n\nVec2f\n\n");
Vec2f a;
a = Vec2f::polar(1, 3.14159265);
printf("Magnitude 1, phase pi \t %s\n", a.string());
a = Vec2f::zero();
printf("Zero \t %s\n", a.string());
a = Vec2f::up();
printf("Up \t %s\n", a.string());
a = Vec2f::down();
printf("Down \t %s\n",... | 19.838462 | 67 | 0.519969 | ei14 |
7e9413d2b32c340d01139bd4040b580b3f05eeaf | 6,808 | cpp | C++ | lobster/src/tonative.cpp | RomanVolak/treesheets | 5b524a61ca14babd58dc18d941ca9a59a56416c4 | [
"Zlib"
] | 1,278 | 2015-01-08T18:17:39.000Z | 2022-03-31T22:11:11.000Z | lobster/src/tonative.cpp | RomanVolak/treesheets | 5b524a61ca14babd58dc18d941ca9a59a56416c4 | [
"Zlib"
] | 180 | 2015-01-02T12:23:18.000Z | 2022-03-31T01:52:02.000Z | lobster/src/tonative.cpp | RomanVolak/treesheets | 5b524a61ca14babd58dc18d941ca9a59a56416c4 | [
"Zlib"
] | 139 | 2015-03-16T09:17:52.000Z | 2022-03-30T06:15:04.000Z | // Copyright 2014 Wouter van Oortmerssen. 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 b... | 37.406593 | 104 | 0.522033 | RomanVolak |
7e9e25787e2697a9798f8b6e19ba25b9a42a05ca | 55,881 | cpp | C++ | Samples/Win7Samples/winbase/imapi/imapiv2/erasesample/erasesample/Utility.cpp | windows-development/Windows-classic-samples | 96f883e4c900948e39660ec14a200a5164a3c7b7 | [
"MIT"
] | 8 | 2017-04-30T17:38:27.000Z | 2021-11-29T00:59:03.000Z | Samples/Win7Samples/winbase/imapi/imapiv2/erasesample/erasesample/Utility.cpp | TomeSq/Windows-classic-samples | 96f883e4c900948e39660ec14a200a5164a3c7b7 | [
"MIT"
] | null | null | null | Samples/Win7Samples/winbase/imapi/imapiv2/erasesample/erasesample/Utility.cpp | TomeSq/Windows-classic-samples | 96f883e4c900948e39660ec14a200a5164a3c7b7 | [
"MIT"
] | 2 | 2020-08-11T13:21:49.000Z | 2021-09-01T10:41:51.000Z | /*--
Copyright (C) Microsoft Corporation, 2006
Utility functions
--*/
#include "stdafx.h"
SENSE_INFOMATION AllowedSenseForLongOperations[] = {
{SCSI_SENSE_NOT_READY, SCSI_ADSENSE_LUN_NOT_READY, 0xFF, 0}, // not ready
{SCSI_SENSE_ILLEGAL_REQUEST, 0xFF, 0xFF, 0},
{SCSI_SENSE_UNIT_ATTEN... | 36.2393 | 239 | 0.502425 | windows-development |
7e9f12e45047b8a5c8fdc530a1bc749f1ca4f919 | 2,598 | cc | C++ | squid/squid3-3.3.8.spaceify/test-suite/ESIExpressions.cc | spaceify/spaceify | 4296d6c93cad32bb735cefc9b8157570f18ffee4 | [
"MIT"
] | 4 | 2015-01-20T15:25:34.000Z | 2017-12-20T06:47:42.000Z | squid/squid3-3.3.8.spaceify/test-suite/ESIExpressions.cc | spaceify/spaceify | 4296d6c93cad32bb735cefc9b8157570f18ffee4 | [
"MIT"
] | 4 | 2015-05-15T09:32:55.000Z | 2016-02-18T13:43:31.000Z | squid/squid3-3.3.8.spaceify/test-suite/ESIExpressions.cc | spaceify/spaceify | 4296d6c93cad32bb735cefc9b8157570f18ffee4 | [
"MIT"
] | null | null | null |
/*
* DEBUG: section 86 ESI Expressions
* AUTHOR: Robert Collins
*
* SQUID Web Proxy Cache http://www.squid-cache.org/
* ----------------------------------------------------------
*
* Squid is the result of efforts by numerous individuals from
* the Internet community; see the CONTRIBUTORS file f... | 32.074074 | 74 | 0.537721 | spaceify |
7ea48d0735537d87e96423a1747f1611ed36ab01 | 3,822 | cpp | C++ | src/gazebo_ros_pkgs/gazebo_plugins/src/gazebo_ros_triggered_camera.cpp | snorman35/delivery_robot | a578628464aa4a04ab213d0002e393e868057dc7 | [
"MIT"
] | 7 | 2022-02-17T23:29:45.000Z | 2022-03-12T09:23:54.000Z | src/gazebo_ros_pkgs/gazebo_plugins/src/gazebo_ros_triggered_camera.cpp | snorman35/delivery_robot | a578628464aa4a04ab213d0002e393e868057dc7 | [
"MIT"
] | 1 | 2021-06-05T07:58:03.000Z | 2021-06-05T07:58:03.000Z | src/gazebo_ros_pkgs/gazebo_plugins/src/gazebo_ros_triggered_camera.cpp | snorman35/delivery_robot | a578628464aa4a04ab213d0002e393e868057dc7 | [
"MIT"
] | 1 | 2018-12-09T22:05:47.000Z | 2018-12-09T22:05:47.000Z | /*
* Copyright 2017 Open Source Robotics Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicab... | 28.522388 | 99 | 0.693878 | snorman35 |
7eaadfb2abbb299416c9ad24e80799db58cf0a78 | 2,412 | cpp | C++ | lib/malloy/core/http/generator.cpp | 0x00002a/malloy | 94ececf246ac2bc848235f7806439ef3be1eed73 | [
"MIT"
] | 22 | 2021-04-17T17:32:14.000Z | 2022-03-29T09:42:03.000Z | lib/malloy/core/http/generator.cpp | 0x00002a/malloy | 94ececf246ac2bc848235f7806439ef3be1eed73 | [
"MIT"
] | 98 | 2021-04-03T18:53:19.000Z | 2022-02-06T10:49:30.000Z | lib/malloy/core/http/generator.cpp | 0x00002a/malloy | 94ececf246ac2bc848235f7806439ef3be1eed73 | [
"MIT"
] | 3 | 2021-05-12T15:17:11.000Z | 2021-12-28T03:15:46.000Z | #include "generator.hpp"
#include "response.hpp"
#include "request.hpp"
#include <boost/beast/core/file_base.hpp>
using namespace malloy::http;
response<> generator::ok()
{
response resp { status::ok };
return resp;
}
response<> generator::redirect(const status code, const std::string_view location)
{
c... | 25.659574 | 112 | 0.652156 | 0x00002a |
7eab4f6bc1f0da703f921243a5ca48d8802549d6 | 316 | cpp | C++ | Chapter12/ex1/usecow.cpp | leonardoaraujodf/cpp_prog | d8d6bea8fa942faa162f0da8221a034e9173bddb | [
"MIT"
] | null | null | null | Chapter12/ex1/usecow.cpp | leonardoaraujodf/cpp_prog | d8d6bea8fa942faa162f0da8221a034e9173bddb | [
"MIT"
] | null | null | null | Chapter12/ex1/usecow.cpp | leonardoaraujodf/cpp_prog | d8d6bea8fa942faa162f0da8221a034e9173bddb | [
"MIT"
] | null | null | null | #include <iostream>
#include "cow.h"
int main()
{
Cow c1;
Cow c2("Booo", "Nma", 120.25);
Cow c3("Abab", "Asho", 150.45);
Cow c4(c3);
c1.ShowCow();
c2.ShowCow();
c3.ShowCow();
c4.ShowCow();
c1 = c2;
c1.ShowCow();
c1 = c3;
c1.ShowCow();
c4 = c2;
c2.ShowCow();
return 0;
}
| 14.363636 | 34 | 0.512658 | leonardoaraujodf |
7eac7de153c2c70d1e9e664c9441fa25524dee91 | 715 | hpp | C++ | include/RED4ext/Types/generated/CParticleModificatorTargetNode.hpp | Cyberpunk-Extended-Development-Team/RED4ext.SDK | 2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae | [
"MIT"
] | 1 | 2021-02-01T23:07:50.000Z | 2021-02-01T23:07:50.000Z | include/RED4ext/Types/generated/CParticleModificatorTargetNode.hpp | Cyberpunk-Extended-Development-Team/RED4ext.SDK | 2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae | [
"MIT"
] | null | null | null | include/RED4ext/Types/generated/CParticleModificatorTargetNode.hpp | Cyberpunk-Extended-Development-Team/RED4ext.SDK | 2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae | [
"MIT"
] | null | null | null | #pragma once
// This file is generated from the Game's Reflection data
#include <cstdint>
#include <RED4ext/Common.hpp>
#include <RED4ext/REDhash.hpp>
#include <RED4ext/Handle.hpp>
#include <RED4ext/Types/generated/IParticleModificator.hpp>
namespace RED4ext
{
struct IEvaluatorFloat;
struct CParticleModificatorTarg... | 26.481481 | 73 | 0.763636 | Cyberpunk-Extended-Development-Team |
9d19466492c2406631d239969204e5f19d8f843d | 2,140 | hpp | C++ | source/YoloMouse/Loader/Core/App.hpp | ttcctt/GAME | 982ad68a65f17f3926d713283f73ac858b6820e0 | [
"Unlicense"
] | 158 | 2015-02-16T20:32:09.000Z | 2022-03-24T04:11:07.000Z | source/YoloMouse/Loader/Core/App.hpp | Maqentaer/YoloMouse | 48415f1517591e0445b44e73d05f61d3e35b41f2 | [
"Unlicense"
] | 22 | 2015-03-03T23:40:54.000Z | 2021-11-14T06:28:25.000Z | source/YoloMouse/Loader/Core/App.hpp | Maqentaer/YoloMouse | 48415f1517591e0445b44e73d05f61d3e35b41f2 | [
"Unlicense"
] | 48 | 2015-06-12T17:50:39.000Z | 2022-03-21T20:59:29.000Z | #pragma once
#include <Core/Support/Settings.hpp>
#include <Core/Support/Singleton.hpp>
#include <Core/Windows/InputMonitor.hpp>
#include <Core/Windows/ShellUi.hpp>
#include <YoloMouse/Loader/Overlay/Cursor/OverlayCursorVault.hpp>
namespace Yolomouse
{
/**/
class App:
public Singleton<App>,
pub... | 25.783133 | 65 | 0.578037 | ttcctt |
9d24c9469c942ae510e107f391ee6166775ed4ee | 1,423 | cc | C++ | public/util/file/shared_writer.cc | room77/77up | 736806fbf52a5e722e8e57ef5c248823b067175d | [
"MIT"
] | 3 | 2015-05-18T14:52:47.000Z | 2018-11-12T07:51:00.000Z | public/util/file/shared_writer.cc | room77/77up | 736806fbf52a5e722e8e57ef5c248823b067175d | [
"MIT"
] | null | null | null | public/util/file/shared_writer.cc | room77/77up | 736806fbf52a5e722e8e57ef5c248823b067175d | [
"MIT"
] | 3 | 2015-08-04T05:58:18.000Z | 2018-11-12T07:51:01.000Z | // Copyright 2012 Room77, Inc.
// Author: Nicholas Edelman
#include "util/file/shared_writer.h"
FLAG_int(shared_writer_sleep_ms, 100,
"the number of milliseconds to sleep while waiting for the next results");
namespace util {
SharedWriter::SharedWriter(const string& fn) : fn_(fn) {
file_.open(fn, ios::o... | 23.716667 | 83 | 0.631764 | room77 |
9d24d3cdf5bc1eaeca3c6044d5f21005565b0339 | 319 | hpp | C++ | test/filesystem_mock.hpp | doylehuang/phosphor-hwmon | 04da055198fe03f119e53578ac80a6188461b748 | [
"Apache-2.0"
] | 14 | 2021-11-04T07:47:37.000Z | 2022-03-21T10:10:30.000Z | test/filesystem_mock.hpp | doylehuang/phosphor-hwmon | 04da055198fe03f119e53578ac80a6188461b748 | [
"Apache-2.0"
] | 17 | 2015-10-21T03:34:51.000Z | 2021-09-27T17:24:07.000Z | test/filesystem_mock.hpp | doylehuang/phosphor-hwmon | 04da055198fe03f119e53578ac80a6188461b748 | [
"Apache-2.0"
] | 22 | 2015-10-21T03:31:43.000Z | 2021-09-08T07:12:11.000Z | #pragma once
#include "hwmonio.hpp"
#include <string>
#include <gmock/gmock.h>
namespace hwmonio
{
class FileSystemMock : public FileSystemInterface
{
public:
MOCK_CONST_METHOD1(read, int64_t(const std::string&));
MOCK_CONST_METHOD2(write, void(const std::string&, uint32_t));
};
} // namespace hwmonio
| 15.95 | 66 | 0.727273 | doylehuang |
9d26fd296f0fb0327ed99a77b89985f737abae8b | 341 | hpp | C++ | PlanetaMatchMakerServer/source/message/message_handlers/keep_alive_notice_message_handler.hpp | InstytutXR/PlanetaMatchMaker | 4bf7503c031aea467c191c3a0d14c6dd58354f99 | [
"MIT"
] | 6 | 2019-08-15T09:48:55.000Z | 2021-07-25T14:40:59.000Z | PlanetaMatchMakerServer/source/message/message_handlers/keep_alive_notice_message_handler.hpp | InstytutXR/PlanetaMatchMaker | 4bf7503c031aea467c191c3a0d14c6dd58354f99 | [
"MIT"
] | 43 | 2019-12-25T14:54:52.000Z | 2022-02-24T17:22:48.000Z | PlanetaMatchMakerServer/source/message/message_handlers/keep_alive_notice_message_handler.hpp | InstytutXR/PlanetaMatchMaker | 4bf7503c031aea467c191c3a0d14c6dd58354f99 | [
"MIT"
] | 2 | 2020-05-06T20:14:44.000Z | 2020-06-02T21:21:10.000Z | #pragma once
#include "../messages.hpp"
#include "../message_handler.hpp"
namespace pgl {
class keep_alive_notice_message_handler
final : public message_handler_base<keep_alive_notice_message> {
public:
void handle_message(const keep_alive_notice_message& message,
std::shared_ptr<message_handle_parameter> pa... | 24.357143 | 66 | 0.791789 | InstytutXR |
9d27235a9cff4bee65f0abb1f9d91f008f277172 | 3,708 | cpp | C++ | MatchServer/TestCRCStage.cpp | WhyWolfie/Repack-Aren | 4839db138a502ca4cfac8c2a8c950f1b59064955 | [
"FSFAP"
] | null | null | null | MatchServer/TestCRCStage.cpp | WhyWolfie/Repack-Aren | 4839db138a502ca4cfac8c2a8c950f1b59064955 | [
"FSFAP"
] | null | null | null | MatchServer/TestCRCStage.cpp | WhyWolfie/Repack-Aren | 4839db138a502ca4cfac8c2a8c950f1b59064955 | [
"FSFAP"
] | null | null | null | #include "stdafx.h"
#include "TestCRCStage.h"
#include "TestCRC32Server.h"
#include "MMatchCRC32XORCache.h"
TestCRCStage::TestCRCStage( const MUID& uid )
{
_ASSERT( MUID(0, 0) != uid );
m_UID = uid;
};
TestCRCStage::~TestCRCStage()
{
}
const bool TestCRCStage::WasJoinedPlayer( const MUID uidPlayer )
{
TestC... | 23.922581 | 140 | 0.747843 | WhyWolfie |
9d2e916f888ab4fd08fe9ba53539152150329bab | 8,525 | cpp | C++ | source/windows/brwindowsversion.cpp | Olde-Skuul/burgerlib | 80848a4dfa17c5c05095ecea14a9bd87f86dfb9d | [
"Zlib"
] | 115 | 2015-01-18T17:29:30.000Z | 2022-01-30T04:31:48.000Z | source/windows/brwindowsversion.cpp | Olde-Skuul/burgerlib | 80848a4dfa17c5c05095ecea14a9bd87f86dfb9d | [
"Zlib"
] | 9 | 2015-01-22T04:53:38.000Z | 2015-01-31T13:52:40.000Z | source/windows/brwindowsversion.cpp | Olde-Skuul/burgerlib | 80848a4dfa17c5c05095ecea14a9bd87f86dfb9d | [
"Zlib"
] | 9 | 2015-01-23T20:06:46.000Z | 2020-05-20T16:06:00.000Z | /***************************************
Shims for version.dll
Copyright (c) 1995-2017 by Rebecca Ann Heineman <becky@burgerbecky.com>
It is released under an MIT Open Source license. Please see LICENSE for
license details. Yes, you can use it in a commercial title without paying
anything, just g... | 32.048872 | 79 | 0.730674 | Olde-Skuul |
9d35fa6d9337cc036ee6a7e820c19ad719495ecd | 1,393 | hpp | C++ | include/timer.hpp | FromAlaska/CornHub | d6280e1d66f15cd58fd0d8086c7beeb7b7db3e8b | [
"Unlicense"
] | 2 | 2018-09-24T21:58:50.000Z | 2019-04-18T21:32:04.000Z | include/timer.hpp | FromAlaska/CornHub | d6280e1d66f15cd58fd0d8086c7beeb7b7db3e8b | [
"Unlicense"
] | null | null | null | include/timer.hpp | FromAlaska/CornHub | d6280e1d66f15cd58fd0d8086c7beeb7b7db3e8b | [
"Unlicense"
] | null | null | null | // timer.hpp
// 26. April 2017
// Created by:
// Bryan Burkhardt (bmburkhardt@alaska.edu)
// Alexander Eckert (aeckert@alaska.edu)
// Jeremiah Jacobson (jjacobson2@alaska.edu)
// Jarye Murphy (jmurphy11@alaska.edu)
// Cameron Showalter (cjshowalter@alaska.edu)
//
// Source file for timer
#ifndef TIMER_HPP
#d... | 22.836066 | 47 | 0.750179 | FromAlaska |
9d37073ab9947fafb822784bb3856529b2ad1a23 | 230 | cc | C++ | Carbon/src/carbon/platform/directx11/dx11_shader.cc | jacks-github/Carbon | c6cc0f0c491d2980125556be731c7776976112ea | [
"MIT"
] | null | null | null | Carbon/src/carbon/platform/directx11/dx11_shader.cc | jacks-github/Carbon | c6cc0f0c491d2980125556be731c7776976112ea | [
"MIT"
] | null | null | null | Carbon/src/carbon/platform/directx11/dx11_shader.cc | jacks-github/Carbon | c6cc0f0c491d2980125556be731c7776976112ea | [
"MIT"
] | null | null | null | #include "carbon/platform/directx11/dx11_shader.h"
#include "carbon/core/core.h"
namespace CR {
DX11Shader::DX11Shader(const std::string& path) {
CR_LOG("[Warning] Creating Shader: DirectX11 not yet supported\n");
}
} // CR
| 19.166667 | 69 | 0.726087 | jacks-github |
9d405591145320f5b42ea7a556fbf420dee9daa1 | 2,450 | cc | C++ | rocks-sys/rocks/cache.cc | sezaru/rust-rocks | 06245eedaf91b8358688abefa67eba802b607142 | [
"Apache-2.0"
] | 40 | 2017-05-16T06:10:51.000Z | 2021-09-02T01:06:37.000Z | rocks-sys/rocks/cache.cc | sezaru/rust-rocks | 06245eedaf91b8358688abefa67eba802b607142 | [
"Apache-2.0"
] | 12 | 2017-06-11T09:42:02.000Z | 2020-10-11T23:46:31.000Z | rocks-sys/rocks/cache.cc | sezaru/rust-rocks | 06245eedaf91b8358688abefa67eba802b607142 | [
"Apache-2.0"
] | 8 | 2017-05-16T03:44:53.000Z | 2020-10-11T22:01:17.000Z | #include "rocksdb/cache.h"
#include "rocksdb/persistent_cache.h"
#include "rocks/ctypes.hpp"
using namespace ROCKSDB_NAMESPACE;
using std::shared_ptr;
extern "C" {
rocks_cache_t* rocks_cache_create_lru(size_t capacity, int num_shard_bits, char strict_capacity_limit,
double high... | 36.029412 | 114 | 0.726122 | sezaru |
9d498dd9d697224b2abb41cc0ecc1297008d2f75 | 167 | hh | C++ | sonder/src/math/math.hh | jpanikulam/sonder | ff3eece5f6a31d3bb2573d0e3e6dd5dafec7ffda | [
"MIT"
] | 1 | 2020-11-24T07:52:39.000Z | 2020-11-24T07:52:39.000Z | sonder/src/math/math.hh | jpanikulam/sonder | ff3eece5f6a31d3bb2573d0e3e6dd5dafec7ffda | [
"MIT"
] | null | null | null | sonder/src/math/math.hh | jpanikulam/sonder | ff3eece5f6a31d3bb2573d0e3e6dd5dafec7ffda | [
"MIT"
] | null | null | null | namespace sonder {
inline constexpr float int_pow(const float base, const unsigned exponent) {
return (exponent == 0) ? 1 : (base * int_pow(base, exponent - 1));
}
} | 33.4 | 75 | 0.700599 | jpanikulam |
9d49e17770420af49c76de15d2add53020c2cbf1 | 1,209 | hpp | C++ | cmdstan/stan/lib/stan_math/stan/math/prim/scal/prob/neg_binomial_2_log.hpp | yizhang-cae/torsten | dc82080ca032325040844cbabe81c9a2b5e046f9 | [
"BSD-3-Clause"
] | null | null | null | cmdstan/stan/lib/stan_math/stan/math/prim/scal/prob/neg_binomial_2_log.hpp | yizhang-cae/torsten | dc82080ca032325040844cbabe81c9a2b5e046f9 | [
"BSD-3-Clause"
] | null | null | null | cmdstan/stan/lib/stan_math/stan/math/prim/scal/prob/neg_binomial_2_log.hpp | yizhang-cae/torsten | dc82080ca032325040844cbabe81c9a2b5e046f9 | [
"BSD-3-Clause"
] | null | null | null | #ifndef STAN_MATH_PRIM_SCAL_PROB_NEG_BINOMIAL_2_LOG_HPP
#define STAN_MATH_PRIM_SCAL_PROB_NEG_BINOMIAL_2_LOG_HPP
#include <stan/math/prim/scal/meta/return_type.hpp>
#include <stan/math/prim/scal/prob/neg_binomial_2_lpmf.hpp>
namespace stan {
namespace math {
/**
* @deprecated use <code>neg_binomial_2_lpmf<... | 30.225 | 75 | 0.632754 | yizhang-cae |
9d4d6495efd75bcb65d5d61cd9de2d7c411265e1 | 520 | cpp | C++ | wchat/userinfoformedit.cpp | CLQM/Qt_IMClient | d7fcd3a19d56ef06cfd908f5206d7d44d94d2ca6 | [
"Apache-2.0"
] | null | null | null | wchat/userinfoformedit.cpp | CLQM/Qt_IMClient | d7fcd3a19d56ef06cfd908f5206d7d44d94d2ca6 | [
"Apache-2.0"
] | 1 | 2021-03-11T19:44:25.000Z | 2021-03-15T15:39:06.000Z | wchat/userinfoformedit.cpp | CLQM/Qt_IMClient | d7fcd3a19d56ef06cfd908f5206d7d44d94d2ca6 | [
"Apache-2.0"
] | null | null | null | #include "userinfoformedit.h"
#include "ui_userinfoformedit.h"
UserInfoFormEdit::UserInfoFormEdit(QWidget *parent) :
QWidget(parent),
ui(new Ui::UserInfoFormEdit)
{
ui->setupUi(this);
/*使显示内容可修改*/
ui->le_name->setReadOnly(true);
ui->le_sign->setReadOnly(true);
ui->le_birth->setReadOnly(true... | 20 | 53 | 0.688462 | CLQM |
9d511680d40986e68f8d504f93124f9453c1c11a | 1,785 | cpp | C++ | examples/opengl_extension_converter.cpp | Ellorion/SimpleLibrary | 183cbc9d53fe09e4968497727ce65fe050e9bc77 | [
"Unlicense"
] | 1 | 2019-03-23T01:06:31.000Z | 2019-03-23T01:06:31.000Z | examples/opengl_extension_converter.cpp | Ellorion/SimpleLibrary | 183cbc9d53fe09e4968497727ce65fe050e9bc77 | [
"Unlicense"
] | null | null | null | examples/opengl_extension_converter.cpp | Ellorion/SimpleLibrary | 183cbc9d53fe09e4968497727ce65fe050e9bc77 | [
"Unlicense"
] | null | null | null | #include "src/SLib.h"
int main() {
String s_ogl_ext = File_ReadAll(S("oglext.txt"));
File file_ogl_ext = File_Open(S("extensions.h"), "wb");
Array<String> as_extension = Array_Split(&s_ogl_ext, S("\r\n"), DELIMITER_IGNORE, false);
if (!as_extension.count) return 0;
File_Write(&file_ogl_ext, S("#pragma... | 27.890625 | 93 | 0.679552 | Ellorion |
9d5140a80b10dc2198956f88f4c34daaf3bdba25 | 238 | cpp | C++ | AtCoder/ABC161/A/abc161_a.cpp | object-oriented-human/competitive | 9e761020e887d8980a39a64eeaeaa39af0ecd777 | [
"MIT"
] | 1 | 2022-02-21T15:43:01.000Z | 2022-02-21T15:43:01.000Z | AtCoder/ABC161/A/abc161_a.cpp | foooop/competitive | 9e761020e887d8980a39a64eeaeaa39af0ecd777 | [
"MIT"
] | null | null | null | AtCoder/ABC161/A/abc161_a.cpp | foooop/competitive | 9e761020e887d8980a39a64eeaeaa39af0ecd777 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
#define int long long
signed main() {
ios::sync_with_stdio(false); cin.tie(0);
int x, y, z; cin >> x >> y >> z;
swap(x, y);
swap(x, z);
cout << x << ' ' << y << ' ' << z;
} | 23.8 | 44 | 0.508403 | object-oriented-human |
9d5843720f6482c81e49d316cc64e3906bfa0583 | 373 | hpp | C++ | src/parser/types/digit_type.hpp | dondieselkopf/tmp-parser | 50a9a6238bb67e6998404825572d5d7f915db841 | [
"MIT"
] | null | null | null | src/parser/types/digit_type.hpp | dondieselkopf/tmp-parser | 50a9a6238bb67e6998404825572d5d7f915db841 | [
"MIT"
] | null | null | null | src/parser/types/digit_type.hpp | dondieselkopf/tmp-parser | 50a9a6238bb67e6998404825572d5d7f915db841 | [
"MIT"
] | null | null | null | /*
* digit_type.hpp
*
* Created on: 08.11.2015
* Author: sohrmann
*/
#ifndef DIGIT_TYPE_HPP_
#define DIGIT_TYPE_HPP_
namespace parser {
/// next character should be a digit
struct digit_type {
template <typename ParserType>
static bool match(ParserType& parser) {
return parser.consume_digit();
}
};
... | 15.541667 | 40 | 0.699732 | dondieselkopf |
9d5adf3981739ec83a3a262e48a2bfe662e00b98 | 65,616 | cpp | C++ | Blizzlike/Trinity/Scripts/Dungeons/ulduar/ulduar/boss_flame_leviathan.cpp | 499453466/Lua-Other | 43fd2b72405faf3f2074fd2a2706ef115d16faa6 | [
"Unlicense"
] | 2 | 2015-06-23T16:26:32.000Z | 2019-06-27T07:45:59.000Z | Blizzlike/Trinity/Scripts/Dungeons/ulduar/ulduar/boss_flame_leviathan.cpp | Eduardo-Silla/Lua-Other | db610f946dbcaf81b3de9801f758e11a7bf2753f | [
"Unlicense"
] | null | null | null | Blizzlike/Trinity/Scripts/Dungeons/ulduar/ulduar/boss_flame_leviathan.cpp | Eduardo-Silla/Lua-Other | db610f946dbcaf81b3de9801f758e11a7bf2753f | [
"Unlicense"
] | 3 | 2015-01-10T18:22:59.000Z | 2021-04-27T21:28:28.000Z | /*
* Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later ve... | 35.934283 | 203 | 0.528972 | 499453466 |
9d5d89620bce4e93bc107119991bc9b3eef7a9e0 | 7,546 | hpp | C++ | include/codegen/include/UnityEngine/Networking/PlayerConnection/PlayerConnection.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 1 | 2021-11-12T09:29:31.000Z | 2021-11-12T09:29:31.000Z | include/codegen/include/UnityEngine/Networking/PlayerConnection/PlayerConnection.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | null | null | null | include/codegen/include/UnityEngine/Networking/PlayerConnection/PlayerConnection.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 2 | 2021-10-03T02:14:20.000Z | 2021-11-12T09:29:36.000Z | // Autogenerated from CppHeaderCreator on 7/27/2020 3:10:31 PM
// Created by Sc2ad
// =========================================================================
#pragma once
#pragma pack(push, 8)
// Begin includes
#include "utils/typedefs.h"
// Including type: UnityEngine.ScriptableObject
#include "UnityEngine/Scriptabl... | 53.9 | 160 | 0.771005 | Futuremappermydud |
9d6431cc10d616873a4d6c2d27c0df8ea78ccc82 | 2,729 | hpp | C++ | src/input/keyboard/keyboard_plugin.hpp | hexoctal/zenith | eeef065ed62f35723da87c8e73a6716e50d34060 | [
"MIT"
] | 2 | 2021-03-18T16:25:04.000Z | 2021-11-13T00:29:27.000Z | src/input/keyboard/keyboard_plugin.hpp | hexoctal/zenith | eeef065ed62f35723da87c8e73a6716e50d34060 | [
"MIT"
] | null | null | null | src/input/keyboard/keyboard_plugin.hpp | hexoctal/zenith | eeef065ed62f35723da87c8e73a6716e50d34060 | [
"MIT"
] | 1 | 2021-11-13T00:29:30.000Z | 2021-11-13T00:29:30.000Z | /**
* @file
* @author __AUTHOR_NAME__ <mail@host.com>
* @copyright 2021 __COMPANY_LTD__
* @license <a href="https://opensource.org/licenses/MIT">MIT License</a>
*/
#ifndef ZEN_INPUT_KEYBOARD_PLUGIN_HPP
#define ZEN_INPUT_KEYBOARD_PLUGIN_HPP
#include <SDL2/SDL_keycode.h>
#include "../../event/event_emitter.hpp"
... | 20.992308 | 86 | 0.70502 | hexoctal |
9d64641b396b97b97cdc059303cd70199e68217e | 1,351 | hpp | C++ | src/q_1301_1350/q1306_unittest.hpp | vNaonLu/daily-leetcode | 2830c2cd413d950abe7c6d9b833c771f784443b0 | [
"MIT"
] | 2 | 2021-09-28T18:41:03.000Z | 2021-09-28T18:42:57.000Z | src/q_1301_1350/q1306_unittest.hpp | vNaonLu/Daily_LeetCode | 30024b561611d390931cef1b22afd6a5060cf586 | [
"MIT"
] | 16 | 2021-09-26T11:44:20.000Z | 2021-11-28T06:44:02.000Z | src/q_1301_1350/q1306_unittest.hpp | vNaonLu/daily-leetcode | 2830c2cd413d950abe7c6d9b833c771f784443b0 | [
"MIT"
] | 1 | 2021-11-22T09:11:36.000Z | 2021-11-22T09:11:36.000Z |
#ifndef Q1306_UNITTEST_H__
#define Q1306_UNITTEST_H__
#include <gtest/gtest.h>
#include "q1306.hpp"
using namespace std;
/**
* This file is generated by leetcode_add.py
*
* 1306.
* Jump Game III
*
* ––––––––––––––––––––––––––––– Description –––––––––––––––––––––––––––––
*
* Given an array of non-nega... | 24.563636 | 74 | 0.572169 | vNaonLu |
9d6b2a591021f1b9d8cc970db08a7dfe0ac25735 | 820 | hpp | C++ | core/include/Score.hpp | Brukols/Epitech-Arcade | 5443d28169e9494f0c77abac23f4139e60b46365 | [
"MIT"
] | null | null | null | core/include/Score.hpp | Brukols/Epitech-Arcade | 5443d28169e9494f0c77abac23f4139e60b46365 | [
"MIT"
] | null | null | null | core/include/Score.hpp | Brukols/Epitech-Arcade | 5443d28169e9494f0c77abac23f4139e60b46365 | [
"MIT"
] | null | null | null | /*
** EPITECH PROJECT, 2020
** OOP_arcade_2019
** File description:
** Score
*/
#ifndef SCORE_HPP_
#define SCORE_HPP_
#include <string>
#include <vector>
using vector = std::vector<std::pair<std::string, std::string>>;
namespace arc
{
class Score {
public:
Score(const std::string &path);
... | 22.162162 | 87 | 0.609756 | Brukols |
9d6bbb0afadb0ec42d2868e197e62fe43032003f | 2,569 | cpp | C++ | src/use_brpc/server/use_brpc_server.cpp | unihykes/monk | d5ad969fea75912d4aad913adf945f78ec4df60e | [
"Apache-2.0"
] | 2 | 2018-03-27T02:46:03.000Z | 2018-05-24T02:49:17.000Z | src/use_brpc/server/use_brpc_server.cpp | six-th/monk | d5ad969fea75912d4aad913adf945f78ec4df60e | [
"Apache-2.0"
] | null | null | null | src/use_brpc/server/use_brpc_server.cpp | six-th/monk | d5ad969fea75912d4aad913adf945f78ec4df60e | [
"Apache-2.0"
] | null | null | null | /***************************************************************************************************
LICENSE:
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.apach... | 32.518987 | 102 | 0.568315 | unihykes |
9d6d911eeac10f5ec3ceb71f86b3da9ffd818e53 | 234 | cpp | C++ | QtGuitest1/QtGuitest1/main.cpp | lvzl20/QtTest1 | b5df4f93530763b3aeada3499b1b4695c49c0c04 | [
"MIT"
] | null | null | null | QtGuitest1/QtGuitest1/main.cpp | lvzl20/QtTest1 | b5df4f93530763b3aeada3499b1b4695c49c0c04 | [
"MIT"
] | null | null | null | QtGuitest1/QtGuitest1/main.cpp | lvzl20/QtTest1 | b5df4f93530763b3aeada3499b1b4695c49c0c04 | [
"MIT"
] | null | null | null | #include "QtGuitest1.h"
#include <QtWidgets/QApplication>
#include <QPushButton>
#include <QWidget>
#include "ParWidget.h"
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
ParWidget w;
w.show();
return a.exec();
}
| 15.6 | 33 | 0.700855 | lvzl20 |
9d7049e70dbe8edcdcb957dd318ef3a845677704 | 4,416 | hpp | C++ | Source/AllProjects/Drivers/GenProto/Server/GenProtoS_StoreOp.hpp | MarkStega/CQC | c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07 | [
"MIT"
] | 51 | 2020-12-26T18:17:16.000Z | 2022-03-15T04:29:35.000Z | Source/AllProjects/Drivers/GenProto/Server/GenProtoS_StoreOp.hpp | MarkStega/CQC | c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07 | [
"MIT"
] | null | null | null | Source/AllProjects/Drivers/GenProto/Server/GenProtoS_StoreOp.hpp | MarkStega/CQC | c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07 | [
"MIT"
] | 4 | 2020-12-28T07:24:39.000Z | 2021-12-29T12:09:37.000Z | //
// FILE NAME: GenProtoS_StoreOp.hpp
//
// AUTHOR: Dean Roddey
//
// CREATED: 11/24/2003
//
// COPYRIGHT: Charmed Quark Systems, Ltd @ 2020
//
// This software is copyrighted by 'Charmed Quark Systems, Ltd' and
// the author (Dean Roddey.) It is licensed under the MIT Open Source
// license:
//
// https://opens... | 30.246575 | 78 | 0.42663 | MarkStega |
9d7547a71c3123aaa2ce3ccf3cce099f2a764bf8 | 5,580 | cpp | C++ | src/world/actor.cpp | wilkie/apsis | 9e6a37ad9dfc8931b25b9429d7e4a770b4e760bf | [
"WTFPL"
] | 2 | 2015-11-05T03:47:29.000Z | 2020-01-24T18:48:09.000Z | src/world/actor.cpp | wilkie/apsis | 9e6a37ad9dfc8931b25b9429d7e4a770b4e760bf | [
"WTFPL"
] | null | null | null | src/world/actor.cpp | wilkie/apsis | 9e6a37ad9dfc8931b25b9429d7e4a770b4e760bf | [
"WTFPL"
] | null | null | null | #include "apsis/world/actor.h"
#include "apsis/world/collision_object.h"
#include "apsis/primitive/fragment_shader.h"
#include "apsis/primitive/vertex_shader.h"
#include "apsis/primitive/unlinked_program.h"
#include "apsis/primitive/program.h"
#include <fstream>
#include <string>
#include <json/json.h>
// glm::vec... | 29.0625 | 109 | 0.650179 | wilkie |
9d794579955ef61b727da98c14ff6807f5c18baf | 2,401 | cpp | C++ | src/solver/linear/conjugate_gradient_ocl.cpp | dbeurle/neon | 63cd2929a6eaaa0e1654c729cd35a9a52a706962 | [
"MIT"
] | 9 | 2018-07-12T17:06:33.000Z | 2021-11-20T23:13:26.000Z | src/solver/linear/conjugate_gradient_ocl.cpp | dbeurle/neon | 63cd2929a6eaaa0e1654c729cd35a9a52a706962 | [
"MIT"
] | 119 | 2016-06-22T07:36:04.000Z | 2019-03-10T19:38:12.000Z | src/solver/linear/conjugate_gradient_ocl.cpp | dbeurle/neon | 63cd2929a6eaaa0e1654c729cd35a9a52a706962 | [
"MIT"
] | 9 | 2017-10-08T16:51:38.000Z | 2021-03-15T08:08:04.000Z |
#include "conjugate_gradient_ocl.hpp"
#ifdef ENABLE_OPENCL
#include "exceptions.hpp"
#include "dmatrix_vector_product.hpp"
#include "numeric/float_compare.hpp"
#define VIENNACL_HAVE_EIGEN
#define VIENNACL_WITH_OPENCL
#include <viennacl/vector.hpp>
#include <viennacl/compressed_matrix.hpp>
#include <viennacl/linalg... | 30.0125 | 99 | 0.703457 | dbeurle |
9d7968f3b06aceca03617592f48437cd5d54ab86 | 46 | cpp | C++ | src/core/geometry.cpp | peng00bo00/PBRender | 393ef8d80877e26ef7fc405fac7e734637e64580 | [
"MIT"
] | null | null | null | src/core/geometry.cpp | peng00bo00/PBRender | 393ef8d80877e26ef7fc405fac7e734637e64580 | [
"MIT"
] | null | null | null | src/core/geometry.cpp | peng00bo00/PBRender | 393ef8d80877e26ef7fc405fac7e734637e64580 | [
"MIT"
] | null | null | null | #include "geometry.h"
namespace PBRender {
} | 9.2 | 21 | 0.717391 | peng00bo00 |
9d7bafe8c7ceb03037e6034ee45b2dee7665f2df | 4,157 | cpp | C++ | Common/SystemRemote/Document/xServerClient.cpp | testdrive-profiling-master/profiles | 6e3854874366530f4e7ae130000000812eda5ff7 | [
"BSD-3-Clause"
] | null | null | null | Common/SystemRemote/Document/xServerClient.cpp | testdrive-profiling-master/profiles | 6e3854874366530f4e7ae130000000812eda5ff7 | [
"BSD-3-Clause"
] | null | null | null | Common/SystemRemote/Document/xServerClient.cpp | testdrive-profiling-master/profiles | 6e3854874366530f4e7ae130000000812eda5ff7 | [
"BSD-3-Clause"
] | null | null | null | //================================================================================
// Copyright (c) 2013 ~ 2019. HyungKi Jeong(clonextop@gmail.com)
// All rights reserved.
//
// The 3-Clause BSD License (https://opensource.org/licenses/BSD-3-Clause)
//
// Redistribution and use in source and binary forms,
// with or ... | 32.224806 | 91 | 0.629541 | testdrive-profiling-master |
9d7d3bd11be5d3992f6721a21f5561c3a996c60a | 14,584 | cpp | C++ | src/io/readerwriter.cpp | cmdc0de/libwss | 58c1bd1ad79e345bbd5f7af155dbfe1d96c9b91d | [
"MIT"
] | null | null | null | src/io/readerwriter.cpp | cmdc0de/libwss | 58c1bd1ad79e345bbd5f7af155dbfe1d96c9b91d | [
"MIT"
] | null | null | null | src/io/readerwriter.cpp | cmdc0de/libwss | 58c1bd1ad79e345bbd5f7af155dbfe1d96c9b91d | [
"MIT"
] | null | null | null | #include "readerwriter.h"
#include <algorithm>
#include "../buffer/segmented_reader_writer_impl.h"
using namespace wss;
IReaderWriter * ReaderWriter::Create_Default_Interface()
{
return SegmentedReaderWriterImpl::Create();
}
ReaderWriter::ReaderWriter( IReaderWriter* stream_interface ) :
ReadCursor(... | 30.832981 | 97 | 0.489578 | cmdc0de |
9d8484afe946078a7759d756051f6734b3185b74 | 432 | hpp | C++ | Include/Utils/GBSpecs.hpp | ShannonHG/Modest-GB | f39851cd36bf0c752ce56c60783035e2bf2fd19c | [
"MIT"
] | 6 | 2022-01-25T06:55:00.000Z | 2022-01-25T18:39:25.000Z | Include/Utils/GBSpecs.hpp | ShannonHG/Modest-GB | f39851cd36bf0c752ce56c60783035e2bf2fd19c | [
"MIT"
] | null | null | null | Include/Utils/GBSpecs.hpp | ShannonHG/Modest-GB | f39851cd36bf0c752ce56c60783035e2bf2fd19c | [
"MIT"
] | 1 | 2022-01-25T08:09:54.000Z | 2022-01-25T08:09:54.000Z | #pragma once
#include <cstdint>
namespace ModestGB
{
const uint32_t GB_CLOCK_SPEED = 4194304;
const double GB_FRAMES_PER_SECOND = 59.7;
const double GB_SECONDS_PER_FRAME = 1 / GB_FRAMES_PER_SECOND;
const double GB_CYCLES_PER_FRAME = GB_CLOCK_SPEED / GB_FRAMES_PER_SECOND;
const uint8_t GB_SCREEN_WIDTH = 160;
cons... | 30.857143 | 74 | 0.803241 | ShannonHG |
9d877756a1088c1933f93f3ba432863274a26d90 | 7,298 | hxx | C++ | src/interfaces/python/opengm/inference/pyVisitor.hxx | jasjuang/opengm | 3c098e91244c98dbd3aafdc5e3a54dad67b7dfd9 | [
"MIT"
] | 318 | 2015-01-07T15:22:02.000Z | 2022-01-22T10:10:29.000Z | src/interfaces/python/opengm/inference/pyVisitor.hxx | jasjuang/opengm | 3c098e91244c98dbd3aafdc5e3a54dad67b7dfd9 | [
"MIT"
] | 89 | 2015-03-24T14:33:01.000Z | 2020-07-10T13:59:13.000Z | src/interfaces/python/opengm/inference/pyVisitor.hxx | jasjuang/opengm | 3c098e91244c98dbd3aafdc5e3a54dad67b7dfd9 | [
"MIT"
] | 119 | 2015-01-13T08:35:03.000Z | 2022-03-01T01:49:08.000Z | #ifndef OPENGM_PYTHON_VISITOR
#define OPENGM_PYTHON_VISITOR
#include <boost/python.hpp>
#include <boost/python/wrapper.hpp>
#include <vector>
#include <opengm/python/opengmpython.hxx>
#include <opengm/python/converter.hxx>
#include <opengm/python/numpyview.hxx>
#include <opengm/python/pythonfunction.hxx>
//#include ... | 41.942529 | 172 | 0.644423 | jasjuang |
9d91ab3556d97b93bf1666fe1c9d77c733a5dd19 | 1,777 | cpp | C++ | src/concentric_histogram.cpp | BetaRavener/ZPO-Histogram | 2ac39cf9a891190ea48f4413548426ade98c9ead | [
"MIT"
] | null | null | null | src/concentric_histogram.cpp | BetaRavener/ZPO-Histogram | 2ac39cf9a891190ea48f4413548426ade98c9ead | [
"MIT"
] | null | null | null | src/concentric_histogram.cpp | BetaRavener/ZPO-Histogram | 2ac39cf9a891190ea48f4413548426ade98c9ead | [
"MIT"
] | null | null | null | #include "concentric_histogram.h"
using namespace std;
ConcentricHistogram::ConcentricHistogram(int step) :
_step(step)
{
}
void ConcentricHistogram::compute(const GrayscaleImage& img, GrayscaleImage* mark_img)
{
clear_data();
int x1 = 0;
int y1 = 0;
int i;
int j;
int x2 = img.wi... | 25.385714 | 86 | 0.388295 | BetaRavener |
9d9247d61e0daa710c32723a13a01708d922fc33 | 1,494 | cpp | C++ | srcs/AModule.cpp | quentin-litzler/Hydrodynamic-Simulation | 9924b71108aca2a443f9e5852bd44b0cf7319731 | [
"MIT"
] | null | null | null | srcs/AModule.cpp | quentin-litzler/Hydrodynamic-Simulation | 9924b71108aca2a443f9e5852bd44b0cf7319731 | [
"MIT"
] | null | null | null | srcs/AModule.cpp | quentin-litzler/Hydrodynamic-Simulation | 9924b71108aca2a443f9e5852bd44b0cf7319731 | [
"MIT"
] | null | null | null | #include <Model.hpp>
#include <AModule.hpp>
/*******************************************
Constructors
*******************************************/
AModule::AModule(Model & model) : _model(model), _vertices(nullptr), _elements(nullptr)
{
return;
}
/*******************************************
Destructor
***********... | 16.6 | 87 | 0.596386 | quentin-litzler |
9d96a0b5931bfa23a8beec7081c3078cd50533d4 | 1,546 | cpp | C++ | src/unicode/tests/test_libaeon_unicode/test_encoding.cpp | aeon-engine/libaeon | e42b39e621dcd0a0fba05e1c166fc688288fb69b | [
"BSD-2-Clause"
] | 7 | 2017-02-19T16:22:16.000Z | 2021-03-02T05:47:39.000Z | src/unicode/tests/test_libaeon_unicode/test_encoding.cpp | aeon-engine/libaeon | e42b39e621dcd0a0fba05e1c166fc688288fb69b | [
"BSD-2-Clause"
] | 61 | 2017-05-29T06:11:17.000Z | 2021-03-28T21:51:44.000Z | src/unicode/tests/test_libaeon_unicode/test_encoding.cpp | aeon-engine/libaeon | e42b39e621dcd0a0fba05e1c166fc688288fb69b | [
"BSD-2-Clause"
] | 2 | 2017-05-28T17:17:40.000Z | 2017-07-14T21:45:16.000Z | // Distributed under the BSD 2-Clause License - Copyright 2012-2021 Robin Degen
#include <aeon/unicode/encoding.h>
#include <aeon/common/bom.h>
#include <gtest/gtest.h>
#include <array>
using namespace aeon;
TEST(test_encoding, test_encoding_convert)
{
const auto str = u8"I like Π, and らき☆すた, Raki☆Suta ";
c... | 30.313725 | 91 | 0.684994 | aeon-engine |
9da0b24cdf10f28da460f1632103c0a474e1ac33 | 5,324 | hpp | C++ | include/codegen/include/System/Reflection/MonoEvent.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 1 | 2021-11-12T09:29:31.000Z | 2021-11-12T09:29:31.000Z | include/codegen/include/System/Reflection/MonoEvent.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | null | null | null | include/codegen/include/System/Reflection/MonoEvent.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 2 | 2021-10-03T02:14:20.000Z | 2021-11-12T09:29:36.000Z | // Autogenerated from CppHeaderCreator on 7/27/2020 3:09:43 PM
// Created by Sc2ad
// =========================================================================
#pragma once
#pragma pack(push, 8)
// Begin includes
#include "utils/typedefs.h"
// Including type: System.Reflection.RuntimeEventInfo
#include "System/Reflecti... | 47.535714 | 131 | 0.737979 | Futuremappermydud |
9da3164473305d69ce932562dccda848c548127b | 2,257 | cpp | C++ | examples/timeclient/main.cpp | katreniak/cppwamp | b37d3a9e83bca9594d6acd29a3fb7db39bda6cc9 | [
"BSL-1.0"
] | 39 | 2015-04-04T00:29:47.000Z | 2021-06-27T11:25:38.000Z | examples/timeclient/main.cpp | katreniak/cppwamp | b37d3a9e83bca9594d6acd29a3fb7db39bda6cc9 | [
"BSL-1.0"
] | 115 | 2015-04-04T01:59:32.000Z | 2020-12-04T09:23:09.000Z | examples/timeclient/main.cpp | katreniak/cppwamp | b37d3a9e83bca9594d6acd29a3fb7db39bda6cc9 | [
"BSL-1.0"
] | 8 | 2015-05-04T06:24:55.000Z | 2020-11-11T12:38:46.000Z | /*------------------------------------------------------------------------------
Copyright Butterfly Energy Systems 2014-2015.
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or copy at
http://www.boost.org/LI... | 31.347222 | 80 | 0.464333 | katreniak |
9da6da40cf9dd8ffb28ba785db0f753a1044fe51 | 705 | hpp | C++ | android-28/android/hardware/Camera_Face.hpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 12 | 2020-03-26T02:38:56.000Z | 2022-03-14T08:17:26.000Z | android-28/android/hardware/Camera_Face.hpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 1 | 2021-01-27T06:07:45.000Z | 2021-11-13T19:19:43.000Z | android-30/android/hardware/Camera_Face.hpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 3 | 2021-02-02T12:34:55.000Z | 2022-03-08T07:45:57.000Z | #pragma once
#include "../../JObject.hpp"
namespace android::graphics
{
class Point;
}
namespace android::graphics
{
class Rect;
}
namespace android::hardware
{
class Camera_Face : public JObject
{
public:
// Fields
jint id();
android::graphics::Point leftEye();
android::graphics::Point mouth();
andro... | 18.552632 | 152 | 0.678014 | YJBeetle |
9da881ed814c4b32819b7c8327d3e2fefb82a7de | 1,426 | hh | C++ | Mu2eUtilities/inc/MedianCalculator.hh | bonventre/Offline | 77db9d6368f27ab9401c690c2c2a4257ade6c231 | [
"Apache-2.0"
] | 1 | 2021-06-25T00:00:12.000Z | 2021-06-25T00:00:12.000Z | Mu2eUtilities/inc/MedianCalculator.hh | bonventre/Offline | 77db9d6368f27ab9401c690c2c2a4257ade6c231 | [
"Apache-2.0"
] | 1 | 2019-11-22T14:45:51.000Z | 2019-11-22T14:50:03.000Z | Mu2eUtilities/inc/MedianCalculator.hh | bonventre/Offline | 77db9d6368f27ab9401c690c2c2a4257ade6c231 | [
"Apache-2.0"
] | 2 | 2019-10-14T17:46:58.000Z | 2020-03-30T21:05:15.000Z | #ifndef Mu2eUtilities_MedianCalculator_hh
#define Mu2eUtilities_MedianCalculator_hh
//
// Original author G. Pezzullo
//
// this class is intended to be used for evaluaitng the median
// from a set of elements that are stored internally in a vector
//
#include <vector>
//#include <utility>
#include <numeric>
#include... | 27.423077 | 93 | 0.624123 | bonventre |
9db6a56b0657dcd0b119e4a3432787a1841df0c1 | 714 | hpp | C++ | OfferReview/OfferReview/01_38/17_Print1ToMaxOfNDigits/Print1ToMaxOfNDigits_1.hpp | chm994483868/HMDailyLearningRecord | 95ff0a5347927ce4527bcdd70374e5be22bfc60d | [
"MIT"
] | 2 | 2021-06-26T08:07:04.000Z | 2021-08-03T06:05:40.000Z | OfferReview/OfferReview/01_38/17_Print1ToMaxOfNDigits/Print1ToMaxOfNDigits_1.hpp | chm994483868/HMDailyLearningRecord | 95ff0a5347927ce4527bcdd70374e5be22bfc60d | [
"MIT"
] | null | null | null | OfferReview/OfferReview/01_38/17_Print1ToMaxOfNDigits/Print1ToMaxOfNDigits_1.hpp | chm994483868/HMDailyLearningRecord | 95ff0a5347927ce4527bcdd70374e5be22bfc60d | [
"MIT"
] | null | null | null | //
// Print1ToMaxOfNDigits_1.hpp
// OfferReview
//
// Created by CHM on 2020/11/3.
// Copyright © 2020 CHM. All rights reserved.
//
#ifndef Print1ToMaxOfNDigits_1_hpp
#define Print1ToMaxOfNDigits_1_hpp
#include <stdio.h>
#include <memory>
#include <vector>
using namespace std;
namespace Print1ToMaxOfNDigits_1 {... | 18.307692 | 74 | 0.738095 | chm994483868 |
9db9d69a28ac2392dc1afce1133a0f1abd1270e7 | 5,834 | cpp | C++ | super-knowledge-platform/skpClient/skpClient/trunk/src/main/skp_mainwindow.cpp | yefy/skp | a9fafa09eacd6a0a802ea6550efd30ace79e4a4f | [
"MIT"
] | null | null | null | super-knowledge-platform/skpClient/skpClient/trunk/src/main/skp_mainwindow.cpp | yefy/skp | a9fafa09eacd6a0a802ea6550efd30ace79e4a4f | [
"MIT"
] | null | null | null | super-knowledge-platform/skpClient/skpClient/trunk/src/main/skp_mainwindow.cpp | yefy/skp | a9fafa09eacd6a0a802ea6550efd30ace79e4a4f | [
"MIT"
] | null | null | null | #include "skp_mainwindow.h"
#include "ui_skp_mainwindow.h"
#include "NcFramelessHelper.h"
#include "skp_socket_test_widget.h"
#include "skp_skin_themed_widget.h"
#include "skp_file_widget.h"
#include "MOption.h"
#ifdef Q_OS_WIN
#include <qwinfunctions.h>
#endif
#include <QSystemTrayIcon>
#include <QMenu... | 28.458537 | 109 | 0.671752 | yefy |
9dbb29a715b3eb20d80a66ea066c72623c884d7c | 41,912 | cc | C++ | test/src/test_hirescamera.cc | tim-schoenmackers/hippo | ce381551898b4eba7ca73fc64bf138b6ba93a66c | [
"MIT"
] | 5 | 2020-08-28T02:43:00.000Z | 2020-09-23T15:03:13.000Z | test/src/test_hirescamera.cc | tim-schoenmackers/hippo | ce381551898b4eba7ca73fc64bf138b6ba93a66c | [
"MIT"
] | 1 | 2021-07-16T01:08:56.000Z | 2021-09-17T17:41:33.000Z | test/src/test_hirescamera.cc | tim-schoenmackers/hippo | ce381551898b4eba7ca73fc64bf138b6ba93a66c | [
"MIT"
] | 5 | 2019-11-01T23:48:04.000Z | 2022-02-18T07:24:49.000Z |
// Copyright 2019 HP Development Company, L.P.
// SPDX-License-Identifier: MIT
#include <windows.h> // for Sleep()
#include <cstdio>
#include <cstring>
#include <cstdlib>
#include "include/hirescamera.h"
extern const char wsAddress[];
extern const uint32_t wsPort;
extern void print_error(uint64_t err);
extern ... | 36.540541 | 80 | 0.664511 | tim-schoenmackers |
9dbbac82cb859d9fb39899ec7224e1a4da3afc86 | 1,622 | cpp | C++ | Juez/FAL1/source.cpp | Yule1223/FAL | de7aef53ca3af5e01e65228290ada14512f46850 | [
"MIT"
] | null | null | null | Juez/FAL1/source.cpp | Yule1223/FAL | de7aef53ca3af5e01e65228290ada14512f46850 | [
"MIT"
] | null | null | null | Juez/FAL1/source.cpp | Yule1223/FAL | de7aef53ca3af5e01e65228290ada14512f46850 | [
"MIT"
] | null | null | null | // Yule Zhang
// E81
#include <iostream>
#include <iomanip>
#include <fstream>
#include <vector>
using namespace std;
//T(n) = C1 (Si n == 1);
//T(n) = 2T(n/2) + C2 (Si n > 1);
//Se obtiene un coste O(n) siendo n el numero de elementos del vector.
// Funcion que resuelve el problema
// v.size() es pote... | 24.575758 | 96 | 0.561652 | Yule1223 |
e38383648b3baf4d7477ebf6fedf3f9bf4b85aad | 1,994 | cc | C++ | Source/BladeDevice/source/graphics/Texture.cc | OscarGame/blade | 6987708cb011813eb38e5c262c7a83888635f002 | [
"MIT"
] | 146 | 2018-12-03T08:08:17.000Z | 2022-03-21T06:04:06.000Z | Source/BladeDevice/source/graphics/Texture.cc | huangx916/blade | 3fa398f4d32215bbc7e292d61e38bb92aad1ee1c | [
"MIT"
] | 1 | 2019-01-18T03:35:49.000Z | 2019-01-18T03:36:08.000Z | Source/BladeDevice/source/graphics/Texture.cc | huangx916/blade | 3fa398f4d32215bbc7e292d61e38bb92aad1ee1c | [
"MIT"
] | 31 | 2018-12-03T10:32:43.000Z | 2021-10-04T06:31:44.000Z | /********************************************************************
created: 2010/04/15
filename: Texture.cc
author: Crazii
purpose:
*********************************************************************/
#include <BladePCH.h>
#include <graphics/Texture.h>
namespace Blade
{
/////////////////////////////////... | 26.236842 | 108 | 0.557673 | OscarGame |
e3851ef7f234d9c884c54264a4b45b6b17187593 | 1,901 | cc | C++ | modules/planning/lattice/trajectory1d/piecewise_jerk_trajectory1d.cc | idaohang/apollo | 2f35a68bcd915f571afbd8ef2604aa3289a5a0cc | [
"Apache-2.0"
] | 1 | 2018-07-22T08:09:08.000Z | 2018-07-22T08:09:08.000Z | modules/planning/lattice/trajectory1d/piecewise_jerk_trajectory1d.cc | ouyangle8794/apollo | 2f35a68bcd915f571afbd8ef2604aa3289a5a0cc | [
"Apache-2.0"
] | null | null | null | modules/planning/lattice/trajectory1d/piecewise_jerk_trajectory1d.cc | ouyangle8794/apollo | 2f35a68bcd915f571afbd8ef2604aa3289a5a0cc | [
"Apache-2.0"
] | 1 | 2021-11-01T02:48:42.000Z | 2021-11-01T02:48:42.000Z | /******************************************************************************
* Copyright 2018 The Apollo Authors. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
... | 35.203704 | 79 | 0.687533 | idaohang |
e38543517438ea869409b2aa9d337d5b915dcfa2 | 1,307 | cpp | C++ | toolbox/sys/Time.cpp | Shivix/toolbox-cpp | 84f397a2503edd029a9dbf32f6500c00617aeb3a | [
"Apache-2.0"
] | null | null | null | toolbox/sys/Time.cpp | Shivix/toolbox-cpp | 84f397a2503edd029a9dbf32f6500c00617aeb3a | [
"Apache-2.0"
] | null | null | null | toolbox/sys/Time.cpp | Shivix/toolbox-cpp | 84f397a2503edd029a9dbf32f6500c00617aeb3a | [
"Apache-2.0"
] | null | null | null | // The Reactive C++ Toolbox.
// Copyright (C) 2013-2019 Swirly Cloud Limited
// Copyright (C) 2021 Reactive Markets Limited
//
// 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:... | 27.808511 | 75 | 0.729151 | Shivix |
e3891f10370ac55e47cf17c67c36f7249b2965bc | 8,797 | cpp | C++ | view.cpp | kaitokidi/WakomExercice | bf0135db68a4300382e41a947b7a327b145a3056 | [
"MIT"
] | null | null | null | view.cpp | kaitokidi/WakomExercice | bf0135db68a4300382e41a947b7a327b145a3056 | [
"MIT"
] | null | null | null | view.cpp | kaitokidi/WakomExercice | bf0135db68a4300382e41a947b7a327b145a3056 | [
"MIT"
] | null | null | null | #include <string>
#include <sstream>
#include <iostream>
#include <SFML/Window.hpp>
#include <SFML/Graphics.hpp>
int main(){
//VARIABLES CONSTANTS i ENUMERATIONS
int speed = 180;
float pantalla = 1;
float time_to_next_sprite = 0.09;
enum direction { down, left, right, up , none};
const ... | 40.16895 | 294 | 0.588837 | kaitokidi |
e38e4b9fa409eb06d4f5cc4ca6c915569d676adc | 381 | cpp | C++ | RealNumber.cpp | lwjpig/number | 562013f04fdd2e1af350e67c726f4ad87956602c | [
"MIT"
] | null | null | null | RealNumber.cpp | lwjpig/number | 562013f04fdd2e1af350e67c726f4ad87956602c | [
"MIT"
] | null | null | null | RealNumber.cpp | lwjpig/number | 562013f04fdd2e1af350e67c726f4ad87956602c | [
"MIT"
] | null | null | null | #include"Number.h"
#include"RealNumber.h"
#include<iostream>
using namespace std;
RealNumber::RealNumber(double a)
{
Rn=a;
}
RealNumber RealNumber::add(const RealNumber& other)
{
RealNumber B(Rn+other.Rn);
return B;
}
RealNumber RealNumber::mul(const RealNumber& other)
{
RealNumber B(Rn*other.Rn);
return B;
}
void... | 12.290323 | 51 | 0.716535 | lwjpig |
e391e59033ada28146926d0ed73db28b34d4c724 | 1,050 | hpp | C++ | arm/settings.hpp | fyhertz/epilepsia | 16adc539e26c0e5bea06f768caaf08172b405a00 | [
"Apache-2.0"
] | 16 | 2018-03-12T23:44:58.000Z | 2021-06-15T11:45:46.000Z | arm/settings.hpp | fyhertz/epilepsia | 16adc539e26c0e5bea06f768caaf08172b405a00 | [
"Apache-2.0"
] | null | null | null | arm/settings.hpp | fyhertz/epilepsia | 16adc539e26c0e5bea06f768caaf08172b405a00 | [
"Apache-2.0"
] | 1 | 2019-05-23T08:12:29.000Z | 2019-05-23T08:12:29.000Z | /*
* Copyright (C) 2018-2019 Simon Guigui
*
* 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 ... | 25 | 81 | 0.731429 | fyhertz |
e394a41912c016c6cafa87b744e9a26158953600 | 4,998 | cpp | C++ | xaiPatch.cpp | Coxxs/YsVIII-tools | 4da809c90693f492e67ccb31b3150fb9a3269559 | [
"Apache-2.0"
] | 15 | 2017-10-06T08:55:19.000Z | 2022-01-11T22:03:34.000Z | xaiPatch.cpp | Coxxs/YsVIII-tools | 4da809c90693f492e67ccb31b3150fb9a3269559 | [
"Apache-2.0"
] | 9 | 2017-09-25T12:21:31.000Z | 2018-08-03T04:29:55.000Z | xaiPatch.cpp | Coxxs/YsVIII-tools | 4da809c90693f492e67ccb31b3150fb9a3269559 | [
"Apache-2.0"
] | 7 | 2017-09-27T21:43:38.000Z | 2020-06-10T03:16:53.000Z | // XAST Patcher by yosh778
#include <string>
#include <iostream>
#include <algorithm>
#include <sstream>
#include <fstream>
#include <cinttypes>
#define RBUF_SIZE 0x1000000
uint32_t read32(std::fstream& input) {
uint32_t data;
input.read((char*)&data, (int)sizeof(data));
return data;
}
uint64_t read64(std::fstre... | 23.464789 | 121 | 0.622049 | Coxxs |
e3a23466dc97c4953ce2b2d0b44392757e18510b | 1,843 | cpp | C++ | 3Tree/987. Vertical Order Traversal of a Binary Tree.cpp | lingqtan/myLeetcode | 54cc538b640660c0d64420442466af4df2ed0225 | [
"Apache-2.0"
] | null | null | null | 3Tree/987. Vertical Order Traversal of a Binary Tree.cpp | lingqtan/myLeetcode | 54cc538b640660c0d64420442466af4df2ed0225 | [
"Apache-2.0"
] | null | null | null | 3Tree/987. Vertical Order Traversal of a Binary Tree.cpp | lingqtan/myLeetcode | 54cc538b640660c0d64420442466af4df2ed0225 | [
"Apache-2.0"
] | null | null | null | /**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
*/
class Solution {
vector<vector<int> > ans;
map<TreeNode*, pair<int, int> > m;
typedef pair<int, pair<int, int> >... | 27.102941 | 62 | 0.490505 | lingqtan |
e3a339bf9b2d7c390267649b7edbf4249b0f4c53 | 1,390 | cpp | C++ | src/prod/src/Hosting2/ConfigureSecurityPrincipalReply.cpp | AnthonyM/service-fabric | c396ea918714ea52eab9c94fd62e018cc2e09a68 | [
"MIT"
] | 2,542 | 2018-03-14T21:56:12.000Z | 2019-05-06T01:18:20.000Z | src/prod/src/Hosting2/ConfigureSecurityPrincipalReply.cpp | AnthonyM/service-fabric | c396ea918714ea52eab9c94fd62e018cc2e09a68 | [
"MIT"
] | 994 | 2019-05-07T02:39:30.000Z | 2022-03-31T13:23:04.000Z | src/prod/src/Hosting2/ConfigureSecurityPrincipalReply.cpp | AnthonyM/service-fabric | c396ea918714ea52eab9c94fd62e018cc2e09a68 | [
"MIT"
] | 300 | 2018-03-14T21:57:17.000Z | 2019-05-06T20:07:00.000Z | // ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
#include "stdafx.h"
using nam... | 30.217391 | 98 | 0.638849 | AnthonyM |
e3a67380e84d48f0cec7dcac3476d157f5bebfe8 | 1,404 | cpp | C++ | Visual Studio 2010/Projects/bjarneStroustrupC++PartII/bjarneStroustrupCFLTK/Chapter16Exercise1.cpp | Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup- | 6fd64801863e883508f15d16398744405f4f9e34 | [
"Unlicense"
] | 9 | 2018-10-24T15:16:47.000Z | 2021-12-14T13:53:50.000Z | Visual Studio 2010/Projects/bjarneStroustrupC++PartII/bjarneStroustrupCFLTK/Chapter16Exercise1.cpp | ChrisBKirov/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup- | 6fd64801863e883508f15d16398744405f4f9e34 | [
"Unlicense"
] | null | null | null | Visual Studio 2010/Projects/bjarneStroustrupC++PartII/bjarneStroustrupCFLTK/Chapter16Exercise1.cpp | ChrisBKirov/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup- | 6fd64801863e883508f15d16398744405f4f9e34 | [
"Unlicense"
] | 7 | 2018-10-29T15:30:37.000Z | 2021-01-18T15:15:09.000Z | /*
TITLE My window Chapter16Exercise1.cpp
"Bjarne Stroustrup "Programming Principles and Practices Using C++""
COMMENT
Objective: Define class based on Window with two buttons: quit, next.
Input: -
Output: -
Author: 18.10.2015
Date: Chris B. Kirov
*/
#include <iostream>
#include "GU... | 23.4 | 105 | 0.605413 | Ziezi |
e3a9321e16f9758527f3bbede21df8df6e501e7a | 3,525 | cpp | C++ | src/Mario.cpp | KenReneris/PacManClock | 39a304bce1514dbd9770d4048748a2e5eaed3c23 | [
"MIT"
] | null | null | null | src/Mario.cpp | KenReneris/PacManClock | 39a304bce1514dbd9770d4048748a2e5eaed3c23 | [
"MIT"
] | null | null | null | src/Mario.cpp | KenReneris/PacManClock | 39a304bce1514dbd9770d4048748a2e5eaed3c23 | [
"MIT"
] | null | null | null | /*
* Mario.cpp
* Mario animations
*
* Author: Ken Reneris <https://github.com/KenReneris>
* MIT License
* ----------------------------------------------------------
*/
#include "platform.h"
#include "Mario.h"
const uint8 PROGMEM k_mario0[] = {
2, 0,0,0, 3, 0, 15, 16,
0x00,0x00,0xff, 0xf1,0xd0,0xb1, 0... | 23.817568 | 109 | 0.49844 | KenReneris |
e3b214a435b68786aa2611250e56534788d20e26 | 6,114 | cpp | C++ | src/predict.cpp | seandobs/psvn-suite | aa6fbb5a6c0f062f10216efd7596018ef4b7c325 | [
"MIT"
] | 1 | 2020-06-16T17:49:02.000Z | 2020-06-16T17:49:02.000Z | src/predict.cpp | seandobs/psvn-suite | aa6fbb5a6c0f062f10216efd7596018ef4b7c325 | [
"MIT"
] | null | null | null | src/predict.cpp | seandobs/psvn-suite | aa6fbb5a6c0f062f10216efd7596018ef4b7c325 | [
"MIT"
] | null | null | null | // Performs SSDP to predict the number of problems
// that an A* search will expand.
#include <iostream>
#include <string>
#include <sstream>
#include <chrono>
#include <thread>
#include <random>
#include <functional>
#include "../include/probabilitypredictor.hpp"
#include "../include/ss.hpp"
#include "../include/sta... | 27.917808 | 153 | 0.63052 | seandobs |
e3b46a094909090f2a73cabbd6d5fe22d9fc8c7c | 1,743 | cpp | C++ | QEncryptionKit/src/qencryptionkit.cpp | daodaoliang/QDaodaoliang | bc404934fe6d694c5a3904112414a434ca86f953 | [
"MIT"
] | 2 | 2017-10-24T02:50:51.000Z | 2021-06-18T16:13:18.000Z | QEncryptionKit/src/qencryptionkit.cpp | daodaoliang/QDaodaoliang | bc404934fe6d694c5a3904112414a434ca86f953 | [
"MIT"
] | null | null | null | QEncryptionKit/src/qencryptionkit.cpp | daodaoliang/QDaodaoliang | bc404934fe6d694c5a3904112414a434ca86f953 | [
"MIT"
] | 4 | 2017-07-20T07:17:47.000Z | 2021-08-12T09:47:44.000Z | #include "qencryptionkit.h"
#include <QDebug>
QEncryptionKit::QEncryptionKit(QObject *parent):
QObject(parent)
{
}
QString QEncryptionKit::getMD5Harsh(const QString ¶m_data)
{
return QString(QCryptographicHash::hash(param_data.toLocal8Bit(),QCryptographicHash::Md5).toHex());
}
QString QEncryptionKit::ge... | 34.176471 | 104 | 0.650602 | daodaoliang |
e3b60a34d025a386385abb7aa61b853ed6dc6ec6 | 1,560 | ipp | C++ | ThirdParty/oglplus-develop/implement/oglplus/enums/program_pipeline_stage_names.ipp | vif/3D-STG | 721402e76a9b9b99b88ba3eb06beb6abb17a9254 | [
"MIT"
] | 24 | 2015-01-31T15:30:49.000Z | 2022-01-29T08:36:42.000Z | ThirdParty/oglplus-develop/implement/oglplus/enums/program_pipeline_stage_names.ipp | vif/3D-STG | 721402e76a9b9b99b88ba3eb06beb6abb17a9254 | [
"MIT"
] | 4 | 2015-08-21T02:29:15.000Z | 2020-05-02T13:50:36.000Z | ThirdParty/oglplus-develop/implement/oglplus/enums/program_pipeline_stage_names.ipp | vif/3D-STG | 721402e76a9b9b99b88ba3eb06beb6abb17a9254 | [
"MIT"
] | 9 | 2015-06-08T22:04:15.000Z | 2021-08-16T03:52:11.000Z | /*
* .file oglplus/enums/program_pipeline_stage_names.ipp
*
* Automatically generated header file. DO NOT modify manually,
* edit 'source/enums/oglplus/program_pipeline_stage.txt' instead.
*
* Copyright 2010-2013 Matus Chochlik. Distributed under the Boost
* Software License, Version 1.0. (See accompanying ... | 28.888889 | 81 | 0.808974 | vif |
e3b6c312f8af454ff35451af8df355258f1a1ed7 | 2,892 | cpp | C++ | LifeBrush/Source/LifeBrush/SurfaceMovementComponent.cpp | timdecode/LifeBrush | dbc65bcc0ec77f9168e08cf7b39539af94420725 | [
"MIT"
] | 33 | 2019-04-23T23:00:09.000Z | 2021-11-09T11:44:09.000Z | LifeBrush/Source/LifeBrush/SurfaceMovementComponent.cpp | MyelinsheathXD/LifeBrush | dbc65bcc0ec77f9168e08cf7b39539af94420725 | [
"MIT"
] | 1 | 2019-10-09T15:57:56.000Z | 2020-03-05T20:01:01.000Z | LifeBrush/Source/LifeBrush/SurfaceMovementComponent.cpp | MyelinsheathXD/LifeBrush | dbc65bcc0ec77f9168e08cf7b39539af94420725 | [
"MIT"
] | 6 | 2019-04-25T00:10:55.000Z | 2021-04-12T05:16:28.000Z | // Copyright 2015, Timothy Davison. All rights reserved.
#include "LifeBrush.h"
#include "tcodsMeshInterface.h"
#include "SurfaceMovementComponent.h"
// Sets default values for this component's properties
USurfaceMovementComponent::USurfaceMovementComponent()
{
// Set this component to be initialized when the gam... | 27.283019 | 132 | 0.677732 | timdecode |
e3be72f379864534f93ce93d1b9da6ad2886583d | 8,450 | cxx | C++ | src/mod/pub/tst/test-kube-sphere/icosphere.cxx | indigoabstract/appplex | 83c3b903db6c6ea83690ccffbd533ff6ab01d246 | [
"MIT"
] | 1 | 2017-12-26T14:29:37.000Z | 2017-12-26T14:29:37.000Z | src/mod/pub/tst/test-kube-sphere/icosphere.cxx | indigoabstract/appplex | 83c3b903db6c6ea83690ccffbd533ff6ab01d246 | [
"MIT"
] | null | null | null | src/mod/pub/tst/test-kube-sphere/icosphere.cxx | indigoabstract/appplex | 83c3b903db6c6ea83690ccffbd533ff6ab01d246 | [
"MIT"
] | null | null | null | #include "stdafx.hxx"
#include "mod-test-kube-sphere.hxx"
#include "icosphere.hxx"
#include "pfm.hxx"
#include "gfx-camera.hxx"
#include "rng/rng.hxx"
#include <unordered_map>
static uint64_t get_key(glm::vec3& pos)
{
float k1 = pos.x * 1.23f + pos.y * 4.56f + pos.z * 7.89f;
float k2 = pos.x * 9.87f + pos.y * 6.54... | 25.375375 | 146 | 0.653846 | indigoabstract |
e3c6d5bcb6f2f518f533ed7d75e634e36de180dc | 214 | cpp | C++ | source/Phase1/main.cpp | MoaazZaki/coolGameEngine | 2324c62c5c7ad6860b3a8b817cd24ca80b1b18ae | [
"MIT"
] | 2 | 2021-01-18T20:51:54.000Z | 2021-11-01T08:41:38.000Z | source/Phase1/main.cpp | MoaazZaki/coolGameEngine | 2324c62c5c7ad6860b3a8b817cd24ca80b1b18ae | [
"MIT"
] | null | null | null | source/Phase1/main.cpp | MoaazZaki/coolGameEngine | 2324c62c5c7ad6860b3a8b817cd24ca80b1b18ae | [
"MIT"
] | null | null | null | #include <game-state/GameStateManager.hpp>
#include <iostream>
int main(int argc, char** argv) {
famm::GameStateManager pleaseWork;
pleaseWork.onInitilaize();
pleaseWork.onDraw();
return 0;
} | 19.454545 | 42 | 0.686916 | MoaazZaki |
e3cfa36fb65536193e5e1e295e217584eada7e27 | 2,476 | hxx | C++ | tropical_convolution.hxx | pawelswoboda/tropical-convolution | e4de71fec95390ef8878d5b504a0b26eb11ead38 | [
"MIT"
] | null | null | null | tropical_convolution.hxx | pawelswoboda/tropical-convolution | e4de71fec95390ef8878d5b504a0b26eb11ead38 | [
"MIT"
] | null | null | null | tropical_convolution.hxx | pawelswoboda/tropical-convolution | e4de71fec95390ef8878d5b504a0b26eb11ead38 | [
"MIT"
] | null | null | null | #ifndef TROPICAL_CONVOLUTION_HXX
#define TROPICAL_CONVOLUTION_HXX
#include <tuple>
#include <cassert>
#include "tropical_convolution_naive.hxx"
#include "tropical_convolution_bussieck.hxx"
#include "min_sum.hxx"
// perform min convolution. Choose automatically betweeen the naive version which is fast on small inputs ... | 52.680851 | 177 | 0.756866 | pawelswoboda |
e3d4aba1556d3d66b8ea41e6050ddc66ee5178fa | 3,998 | cpp | C++ | tests/approval_tests/cdv/elem/swatch_legend.cpp | cpp-niel/cdv | 9aa310c6fe66dbc7f224ace3a3d4212ca6f0ed4a | [
"MIT"
] | 1 | 2020-08-09T01:05:30.000Z | 2020-08-09T01:05:30.000Z | tests/approval_tests/cdv/elem/swatch_legend.cpp | cpp-niel/cdv | 9aa310c6fe66dbc7f224ace3a3d4212ca6f0ed4a | [
"MIT"
] | null | null | null | tests/approval_tests/cdv/elem/swatch_legend.cpp | cpp-niel/cdv | 9aa310c6fe66dbc7f224ace3a3d4212ca6f0ed4a | [
"MIT"
] | null | null | null | #include <framework/approval_tests.hpp>
#include <cdv/core/color/categorical_schemes.hpp>
#include <cdv/elem/swatch_legend.hpp>
#include <cdv/fig/frame.hpp>
#include <cdv/fig/render_svg.hpp>
#include <cdv/stdx/date_io.hpp>
#include <array>
namespace cdv::elem
{
namespace
{
using namespace units_liter... | 51.25641 | 294 | 0.537269 | cpp-niel |
e3dd9824aa4d09efb272bffde134c9ee0b23fd63 | 770 | cpp | C++ | Lab_exercise/lab2/ex2/sizeof.cpp | Aries-Dawn/Cpp-Program-Design | 9d4fc9a902fff2f76e41314f5d6c52871d30a511 | [
"MIT"
] | null | null | null | Lab_exercise/lab2/ex2/sizeof.cpp | Aries-Dawn/Cpp-Program-Design | 9d4fc9a902fff2f76e41314f5d6c52871d30a511 | [
"MIT"
] | null | null | null | Lab_exercise/lab2/ex2/sizeof.cpp | Aries-Dawn/Cpp-Program-Design | 9d4fc9a902fff2f76e41314f5d6c52871d30a511 | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <stdbool.h>
int main()
{
printf("\nPrint size of the fundamental types:\n");
printf("-----------------------------------------\n");
printf("The sizeof(char) is:%ld bytes.\n", sizeof(char));
printf("The sizeof(short) is:%ld bytes.\n", sizeof(short));
printf("The sizeof(int... | 42.777778 | 74 | 0.601299 | Aries-Dawn |
e3df424b6433eb1f55bb5c615ce6326bb65c501a | 8,298 | cpp | C++ | sdk/physx/2.8.3/Samples/SampleParticleFluid/src/SamplePacketData.cpp | daher-alfawares/xr.desktop | 218a7cff7a9be5865cf786d7cad31da6072f7348 | [
"Apache-2.0"
] | 1 | 2018-09-20T10:01:30.000Z | 2018-09-20T10:01:30.000Z | sdk/physx/2.8.3/Samples/SampleParticleFluid/src/SamplePacketData.cpp | daher-alfawares/xr.desktop | 218a7cff7a9be5865cf786d7cad31da6072f7348 | [
"Apache-2.0"
] | null | null | null | sdk/physx/2.8.3/Samples/SampleParticleFluid/src/SamplePacketData.cpp | daher-alfawares/xr.desktop | 218a7cff7a9be5865cf786d7cad31da6072f7348 | [
"Apache-2.0"
] | null | null | null | #include "SampleParticleFluid.h"
#include "MyFluid.h"
#include "ParticleFactory.h"
extern NxActor *gGroundPlane;
extern bool gHardwareSimulation;
extern NxScene* gScene;
extern NxPhysicsSDK* gPhysicsSDK;
extern NxArray<MyFluid*> gMyFluids;
extern NxVec3 gCameraPos;
extern NxVec3 gCameraForward;
extern bool gWireframeM... | 33.325301 | 122 | 0.716558 | daher-alfawares |
e3e3e13df41a9f4f63e828f4b20ac05e94b6ded7 | 10,290 | cpp | C++ | tests/pingpair_test/pingpair_test.cpp | zzuummaa/Arduino_rf24 | f4c27f311b9756eba44feef7ed1bbe3940fd823a | [
"BSD-3-Clause"
] | null | null | null | tests/pingpair_test/pingpair_test.cpp | zzuummaa/Arduino_rf24 | f4c27f311b9756eba44feef7ed1bbe3940fd823a | [
"BSD-3-Clause"
] | null | null | null | tests/pingpair_test/pingpair_test.cpp | zzuummaa/Arduino_rf24 | f4c27f311b9756eba44feef7ed1bbe3940fd823a | [
"BSD-3-Clause"
] | null | null | null | /*
Copyright (C) 2011 James Coliz, Jr. <maniacbug@ymail.com>
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
version 2 as published by the Free Software Foundation.
*/
/**
* Full test on single RF pair
*
* This sketches uses as many RF2... | 23.493151 | 140 | 0.651312 | zzuummaa |
e3e5e7665694515653114ea1ca640e65ad799912 | 4,594 | cpp | C++ | src/TurtleBot.cpp | sukoonsarin/fetch-it | d05518aa922e58737daa9a03957ec90e8505587e | [
"BSD-3-Clause"
] | null | null | null | src/TurtleBot.cpp | sukoonsarin/fetch-it | d05518aa922e58737daa9a03957ec90e8505587e | [
"BSD-3-Clause"
] | null | null | null | src/TurtleBot.cpp | sukoonsarin/fetch-it | d05518aa922e58737daa9a03957ec90e8505587e | [
"BSD-3-Clause"
] | 10 | 2020-12-01T18:09:41.000Z | 2021-01-13T17:38:43.000Z | /**
* @file turtlebot.cpp
* @brief Source file to implement turtlebot class
* @date 12/07/2020
* @author Nidhi Bhojak
* @author Nalin Das
*
* @section LICENSE
*
* @copyright (c) 2020, Nalin Das, Sukoon Sarin, Nidhi Bhojak
* All rights reserved.
* Redistribution and use in source and binary forms, with or wi... | 31.465753 | 81 | 0.686983 | sukoonsarin |
e3ec91ade9b49171f86d12d9eb2d074982229da2 | 9,966 | cpp | C++ | lib/PhasarLLVM/Utils/DOTGraph.cpp | n-junge/phasar | baa80e78bf67b80f030db4d1eedfb97755d407fc | [
"MIT"
] | null | null | null | lib/PhasarLLVM/Utils/DOTGraph.cpp | n-junge/phasar | baa80e78bf67b80f030db4d1eedfb97755d407fc | [
"MIT"
] | null | null | null | lib/PhasarLLVM/Utils/DOTGraph.cpp | n-junge/phasar | baa80e78bf67b80f030db4d1eedfb97755d407fc | [
"MIT"
] | null | null | null | /******************************************************************************
* Copyright (c) 2017 Philipp Schubert.
* All rights reserved. This program and the accompanying materials are made
* available under the terms of LICENSE.txt.
*
* Contributors:
* Philipp Schubert and others
**********************... | 32.357143 | 79 | 0.564921 | n-junge |
e3ee99a8280f603efe5928321aec707c37d87bf7 | 7,243 | cpp | C++ | src/lepage/input/SourceLocationProvider.test.cpp | jaydee-io/lepage | 30ec14fa809e4e60de64ac7e5bf1f06ee71c93cf | [
"BSD-3-Clause"
] | null | null | null | src/lepage/input/SourceLocationProvider.test.cpp | jaydee-io/lepage | 30ec14fa809e4e60de64ac7e5bf1f06ee71c93cf | [
"BSD-3-Clause"
] | null | null | null | src/lepage/input/SourceLocationProvider.test.cpp | jaydee-io/lepage | 30ec14fa809e4e60de64ac7e5bf1f06ee71c93cf | [
"BSD-3-Clause"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////////
// lepage
//
// This file is distributed under the 3-clause Berkeley Software Distribution
// License. See LICENSE for details.
////////////////////////////////////////////////////////////////////////////... | 36.580808 | 92 | 0.734088 | jaydee-io |
e3f4342df9ba193f40933fd4f7369d8c82b2e34c | 2,555 | cpp | C++ | src/eos/general/eos_table.cpp | charge72002/Athena_Radiation-master | a192aeab0c3cd258853fe43468a4a1d8c2a9279d | [
"BSD-3-Clause"
] | null | null | null | src/eos/general/eos_table.cpp | charge72002/Athena_Radiation-master | a192aeab0c3cd258853fe43468a4a1d8c2a9279d | [
"BSD-3-Clause"
] | null | null | null | src/eos/general/eos_table.cpp | charge72002/Athena_Radiation-master | a192aeab0c3cd258853fe43468a4a1d8c2a9279d | [
"BSD-3-Clause"
] | 1 | 2021-07-15T19:06:10.000Z | 2021-07-15T19:06:10.000Z | //========================================================================================
// Athena++ astrophysical MHD code
// Copyright(C) 2014 James M. Stone <jmstone@princeton.edu> and other code contributors
// Licensed under the 3-clause BSD License, see LICENSE file for details
//===============================... | 41.885246 | 90 | 0.528376 | charge72002 |
e3f751e16023ed1b2a437a88cc8e4b8dec19175c | 4,722 | cpp | C++ | tests/automata_generator/test.cpp | Xazax-hun/CppQuery | e1b505351abbe1b770dc15b5173b2a9fa06f9866 | [
"BSD-2-Clause"
] | 7 | 2015-05-17T02:31:54.000Z | 2018-05-26T16:15:16.000Z | tests/automata_generator/test.cpp | Xazax-hun/CppQuery | e1b505351abbe1b770dc15b5173b2a9fa06f9866 | [
"BSD-2-Clause"
] | null | null | null | tests/automata_generator/test.cpp | Xazax-hun/CppQuery | e1b505351abbe1b770dc15b5173b2a9fa06f9866 | [
"BSD-2-Clause"
] | null | null | null | #include <string>
#include <set>
#include <gtest/gtest.h>
#include "automata_generator/matcher_traits.hpp"
#include "automata_generator/automata_generator.hpp"
namespace {
// --- Test interface ---
struct A {};
struct B : A {};
struct C {};
struct E : B {};
A *func1(A *) { return 0; }
B *func2(A *, B *) { return ... | 27.453488 | 78 | 0.656925 | Xazax-hun |
e3f958eba90da1ed7a0a49f1380373510fe3fc21 | 1,232 | cpp | C++ | util.cpp | artm/mirror | dbaedebcde84a5a4eb66ddb5c25c3b8f7ccf6283 | [
"MIT"
] | 1 | 2018-10-31T17:18:34.000Z | 2018-10-31T17:18:34.000Z | util.cpp | artm/mirror | dbaedebcde84a5a4eb66ddb5c25c3b8f7ccf6283 | [
"MIT"
] | null | null | null | util.cpp | artm/mirror | dbaedebcde84a5a4eb66ddb5c25c3b8f7ccf6283 | [
"MIT"
] | null | null | null | #include "util.h"
#include <QVector>
#include <QRgb>
#include <QtDebug>
#include <QCoreApplication>
namespace Mirror {
static bool s_greyTableInit = false;
static QVector<QRgb> s_greyTable;
QImage CvMat2QImage(const cv::Mat& cvmat)
{
int height = cvmat.rows;
int width = cvmat.cols;
if (cvmat.depth() ==... | 26.782609 | 102 | 0.602273 | artm |
e3f99d57e302f365c82ebebc32194eee192a896b | 5,952 | cpp | C++ | femm/ActiveFEMM.cpp | ResonanceGroup/FEMM | 227f1cb46fc18b298e2da48d732692c206d0539f | [
"MIT"
] | 1 | 2020-05-18T00:57:57.000Z | 2020-05-18T00:57:57.000Z | femm/ActiveFEMM.cpp | ResonanceGroup/FEMM | 227f1cb46fc18b298e2da48d732692c206d0539f | [
"MIT"
] | 1 | 2018-05-02T13:43:31.000Z | 2018-05-02T13:43:31.000Z | femm/ActiveFEMM.cpp | ResonanceGroup/FEMM | 227f1cb46fc18b298e2da48d732692c206d0539f | [
"MIT"
] | 3 | 2018-05-02T13:38:43.000Z | 2021-05-19T10:48:49.000Z | // ActiveFEMM.cpp : implementation file
//
#include "stdafx.h"
#include "femm.h"
#include "lua.h"
#include "luadebug.h"
#include "luaconsoledlg.h"
#include "ActiveFEMM.h"
#include "mainfrm.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
extern lua... | 26.690583 | 127 | 0.680444 | ResonanceGroup |
e3fa2704de46b83734eb4e216dbf546f0833f36e | 2,127 | cpp | C++ | Classes/SetupVolumeEx.cpp | lfeng1420/BrickGame | e4961a7454ae1adece6845c64a6ba8ac59856d68 | [
"MIT"
] | 39 | 2016-05-07T06:39:54.000Z | 2021-04-13T15:00:52.000Z | Classes/SetupVolumeEx.cpp | lfeng1420/BrickGame | e4961a7454ae1adece6845c64a6ba8ac59856d68 | [
"MIT"
] | 8 | 2016-07-17T06:39:54.000Z | 2021-07-06T15:14:19.000Z | Classes/SetupVolumeEx.cpp | lfeng1420/BrickGame | e4961a7454ae1adece6845c64a6ba8ac59856d68 | [
"MIT"
] | 13 | 2016-03-11T11:46:19.000Z | 2018-08-10T16:34:33.000Z | #include "stdafx.h"
#include "SetupVolumeEx.h"
#include "BarrierLayer.h"
void CSetupVolumeEx::InitUI()
{
Size visibleSize1 = GET_VISIBLESIZE();
Size visibleSize(visibleSize1.height, visibleSize1.width);
Size bgSprSize = GET_CONTENTSIZE(m_pBGSprite);
Size closeSize = GET_CONTENTSIZE(m_pCloseMenuItem);
Size bgmLab... | 45.255319 | 112 | 0.77433 | lfeng1420 |
e3fb10e7d28870ed12fce54b4ff47c76c39f928e | 281 | cpp | C++ | source/layout/style.cpp | zhiayang/sap | f8d1d48b02c6df075bc59b5228fbd339d3923a4d | [
"Apache-2.0"
] | 13 | 2021-08-06T20:20:05.000Z | 2022-03-29T10:46:00.000Z | source/layout/style.cpp | zhiayang/sap | f8d1d48b02c6df075bc59b5228fbd339d3923a4d | [
"Apache-2.0"
] | 1 | 2021-08-07T17:42:59.000Z | 2021-09-19T00:34:30.000Z | source/layout/style.cpp | zhiayang/sap | f8d1d48b02c6df075bc59b5228fbd339d3923a4d | [
"Apache-2.0"
] | null | null | null | // style.cpp
// Copyright (c) 2022, zhiayang
// SPDX-License-Identifier: Apache-2.0
#include "sap/style.h"
namespace sap
{
static Style g_defaultStyle {};
const Style& defaultStyle()
{
return g_defaultStyle;
}
void setDefaultStyle(Style s)
{
g_defaultStyle = s;
}
}
| 13.380952 | 38 | 0.690391 | zhiayang |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.