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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4f165ee0e0575b3f9551ca222649b17959275ae2 | 316 | hpp | C++ | src/libpanacea/entropy/entropy_terms/entropy_term_common.hpp | lanl/PANACEA | 9779bdb6dcc3be41ea7b286ae55a21bb269e0339 | [
"BSD-3-Clause"
] | null | null | null | src/libpanacea/entropy/entropy_terms/entropy_term_common.hpp | lanl/PANACEA | 9779bdb6dcc3be41ea7b286ae55a21bb269e0339 | [
"BSD-3-Clause"
] | null | null | null | src/libpanacea/entropy/entropy_terms/entropy_term_common.hpp | lanl/PANACEA | 9779bdb6dcc3be41ea7b286ae55a21bb269e0339 | [
"BSD-3-Clause"
] | null | null | null |
#ifndef PANACEA_PRIVATE_ENTROPYTERMCOMMON_H
#define PANACEA_PRIVATE_ENTROPYTERMCOMMON_H
#pragma once
namespace panacea {
/**
* Common functions used by entropy terms.
**/
bool is_neg_inf(const double val);
bool is_pos_inf(const double val);
} // namespace panacea
#endif // PANACEA_PRIVATE_ENTROPYTERMCOMMON_H
| 19.75 | 45 | 0.800633 | lanl |
4f16d39e7f1386337a63339050e2b5ad800d088c | 2,438 | cxx | C++ | Readers/FDEM/FDEMCrackJoint.cxx | ObjectivitySRC/PVGPlugins | 5e24150262af751159d719cc810620d1770f2872 | [
"BSD-2-Clause"
] | 4 | 2016-01-21T21:45:43.000Z | 2021-07-31T19:24:09.000Z | Readers/FDEM/FDEMCrackJoint.cxx | ObjectivitySRC/PVGPlugins | 5e24150262af751159d719cc810620d1770f2872 | [
"BSD-2-Clause"
] | null | null | null | Readers/FDEM/FDEMCrackJoint.cxx | ObjectivitySRC/PVGPlugins | 5e24150262af751159d719cc810620d1770f2872 | [
"BSD-2-Clause"
] | 6 | 2015-08-31T06:21:03.000Z | 2021-07-31T19:24:10.000Z |
#include "FDEMCrackJoint.h"
#include "vtkDoubleArray.h"
#include "vtkPoints.h"
#include "vtkCellArray.h"
#include "vtkCellData.h"
#include "vtkPolyData.h"
#define ZLEVEL 0.00001
#define MODE_CRACK 0
#define MODE_JOINT 1
// --------------------------------------
FDEMCrackJoint::FDEMCrackJoint( char* Name, int mo... | 24.38 | 104 | 0.535275 | ObjectivitySRC |
4f18301d62686a2f2440f28f518dccc5a53ae6d8 | 1,989 | inl | C++ | blast/include/html/components.inl | mycolab/ncbi-blast | e59746cec78044d2bf6d65de644717c42f80b098 | [
"Apache-2.0"
] | 31 | 2016-12-09T04:56:59.000Z | 2021-12-31T17:19:10.000Z | blast/include/html/components.inl | mycolab/ncbi-blast | e59746cec78044d2bf6d65de644717c42f80b098 | [
"Apache-2.0"
] | 6 | 2017-03-10T17:25:13.000Z | 2021-09-22T15:49:49.000Z | blast/include/html/components.inl | mycolab/ncbi-blast | e59746cec78044d2bf6d65de644717c42f80b098 | [
"Apache-2.0"
] | 20 | 2015-01-04T02:15:17.000Z | 2021-12-03T02:31:43.000Z | #if defined(HTML___COMPONENTS__HPP) && !defined(HTML___COMPONENTS__INL)
#define HTML___COMPONENTS__INL
/* $Id: components.inl 176066 2009-11-13 19:01:39Z ivanov $
* ===========================================================================
*
* PUBLIC DOMAIN NOTICE
* Nat... | 33.15 | 78 | 0.656109 | mycolab |
4f1a3b0a9da6e509f700595b59c4698cbb8f870c | 1,145 | cpp | C++ | src/gl/glshaderprogram.cpp | helloer/polybobin | 63b2cea40d3afcfc9d6f62f49acbfacf6a8783e1 | [
"MIT"
] | 8 | 2016-10-06T11:49:14.000Z | 2021-11-06T21:06:36.000Z | src/gl/glshaderprogram.cpp | helloer/polybobin | 63b2cea40d3afcfc9d6f62f49acbfacf6a8783e1 | [
"MIT"
] | 20 | 2017-04-25T14:23:02.000Z | 2018-12-04T22:46:04.000Z | src/gl/glshaderprogram.cpp | helloer/polybobin | 63b2cea40d3afcfc9d6f62f49acbfacf6a8783e1 | [
"MIT"
] | 4 | 2016-11-22T16:06:18.000Z | 2021-05-28T21:53:52.000Z | #include "glshaderprogram.hpp"
#include <system_error>
void GLShaderProgram::AddShader(GLenum type, const GLchar *code)
{
GLShader shader(type, code);
m_shaders.push_back(shader);
}
GLuint GLShaderProgram::GetUniformLocation(const GLchar *name)
{
return glGetUniformLocation(m_id, name);
}
void GLShaderPr... | 19.083333 | 120 | 0.639301 | helloer |
4f1c1d15af31499388f3c0bdcaddce6b925fcabf | 1,327 | cpp | C++ | src/rulah_navigation_goals.cpp | yorgosk/ugv_navigation_goals | 87bc8eaf926c53de8e9451748da11b2ddc2f04f5 | [
"MIT"
] | 2 | 2021-08-16T09:17:06.000Z | 2022-03-10T21:59:20.000Z | src/rulah_navigation_goals.cpp | yorgosk/ugv_navigation_goals | 87bc8eaf926c53de8e9451748da11b2ddc2f04f5 | [
"MIT"
] | null | null | null | src/rulah_navigation_goals.cpp | yorgosk/ugv_navigation_goals | 87bc8eaf926c53de8e9451748da11b2ddc2f04f5 | [
"MIT"
] | 3 | 2019-04-20T07:32:25.000Z | 2021-05-30T11:43:06.000Z | /* computer & execution parameters -- in this file and not header file for faster compilation */
// #define TEST_BEZIER
// #define TEST_CALCULATIONS
// #define EVOLUTIONARY_ALGORITHM_GENERATION
// #define N_BEST_GENERATION
// #define NAIVE_GENERATION
#include "header.hpp"
#ifdef TEST_BEZIER
/* Test Bezier curve's cor... | 22.491525 | 96 | 0.717408 | yorgosk |
b7b32fe5a300abac022f1640868e17edeed95bde | 3,658 | hpp | C++ | warpcoil/cpp/generate/generate_type.hpp | TyRoXx/warpcoil | e0454a7880fa644dfb6e77968a37f8547590c15f | [
"MIT"
] | 2 | 2018-06-04T06:44:00.000Z | 2018-09-14T09:45:12.000Z | warpcoil/cpp/generate/generate_type.hpp | TyRoXx/warpcoil | e0454a7880fa644dfb6e77968a37f8547590c15f | [
"MIT"
] | 40 | 2016-05-01T12:51:47.000Z | 2016-09-04T14:21:51.000Z | warpcoil/cpp/generate/generate_type.hpp | TyRoXx/warpcoil | e0454a7880fa644dfb6e77968a37f8547590c15f | [
"MIT"
] | 2 | 2018-06-04T06:44:06.000Z | 2018-09-14T09:45:19.000Z | #pragma once
#include <warpcoil/cpp/generate/shared_code_generator.hpp>
#include <warpcoil/comma_separator.hpp>
#include <warpcoil/cpp/generate/generate_name_for_structure.hpp>
#include <silicium/sink/ptr_sink.hpp>
namespace warpcoil
{
namespace cpp
{
inline Si::memory_range find_suitable_uint_cpp_typ... | 39.76087 | 96 | 0.45134 | TyRoXx |
b7b767f3dc8042bb09e74f3acd7217f1c93de2b6 | 12,939 | cc | C++ | projects/S0009D/code/object.cc | Syrdni/S0009D | b159b3c73cc975885a7ce204c3d60f6d776f8654 | [
"MIT"
] | null | null | null | projects/S0009D/code/object.cc | Syrdni/S0009D | b159b3c73cc975885a7ce204c3d60f6d776f8654 | [
"MIT"
] | null | null | null | projects/S0009D/code/object.cc | Syrdni/S0009D | b159b3c73cc975885a7ce204c3d60f6d776f8654 | [
"MIT"
] | null | null | null | #include "object.h"
Object::Object(){}
Object::Object(MeshResource* mr, ShaderObject* so, TextureResource* tr, LightingNode* ln, Vector4D& cameraPos, std::string texturePath, Vector4D scale, float mass, bool unmovable)
{
this->scale = scale;
setupGraphicsNode(mr, so, tr, ln, cameraPos, texturePath);
rb = ... | 41.471154 | 191 | 0.668831 | Syrdni |
b7b8a9c852a994ca9dcc143ca4e916c78569a5be | 7,859 | cpp | C++ | Source Code/AsTeRICS/ARE/components/sensor.eyetracker/src/main/c++/posit/posit.cpp | EliKabasele/openHAB_MyUI | f6c66a42cca24a484c2bd4013b20b05edaa88161 | [
"Apache-2.0"
] | 2 | 2016-06-30T14:32:51.000Z | 2017-09-12T18:09:18.000Z | Source Code/AsTeRICS/ARE/components/sensor.eyetracker/src/main/c++/posit/posit.cpp | EliKabasele/openHAB_MyUI | f6c66a42cca24a484c2bd4013b20b05edaa88161 | [
"Apache-2.0"
] | null | null | null | Source Code/AsTeRICS/ARE/components/sensor.eyetracker/src/main/c++/posit/posit.cpp | EliKabasele/openHAB_MyUI | f6c66a42cca24a484c2bd4013b20b05edaa88161 | [
"Apache-2.0"
] | null | null | null | /*
* AsTeRICS - Assistive Technology Rapid Integration and Construction Set
*
*
* d8888 88888888888 8888888b. 8888888 .d8888b. .d8888b.
* d88888 888 888 Y88b 888 d88P Y88b d88P Y88b
* d88P888 888 888 888 888 888 888 Y88b. ... | 27.868794 | 120 | 0.680239 | EliKabasele |
b7babcfe588e74cd23e0dc673d1100756a6ecaa4 | 20,579 | cpp | C++ | cpp/KineticGas.cpp | vegardjervell/Kineticgas | 5897dceb767802c4ec08b975fec216fe498aaf6e | [
"MIT"
] | 1 | 2022-01-28T16:14:06.000Z | 2022-01-28T16:14:06.000Z | cpp/KineticGas.cpp | vegardjervell/Kineticgas | 5897dceb767802c4ec08b975fec216fe498aaf6e | [
"MIT"
] | null | null | null | cpp/KineticGas.cpp | vegardjervell/Kineticgas | 5897dceb767802c4ec08b975fec216fe498aaf6e | [
"MIT"
] | null | null | null | /*
Author : Vegard Gjeldvik Jervell
Contains :
Major base-functions for KineticGas. These functions are required for all versions, regardless of what
potential model they use. Contains summational expressions for the bracket integrals, and iterfaces to
get the matrices and vectors required to eval... | 37.690476 | 191 | 0.501093 | vegardjervell |
b7bb33a392540db3d08fa93fb9aa4ae7bdf78059 | 1,772 | cpp | C++ | KEngine/Internal/KRenderDocCapture.cpp | King19931229/KApp | f7f855b209348f835de9e5f57844d4fb6491b0a1 | [
"MIT"
] | 13 | 2019-10-19T17:41:19.000Z | 2021-11-04T18:50:03.000Z | KEngine/Internal/KRenderDocCapture.cpp | King19931229/KApp | f7f855b209348f835de9e5f57844d4fb6491b0a1 | [
"MIT"
] | 3 | 2019-12-09T06:22:43.000Z | 2020-05-28T09:33:44.000Z | KEngine/Internal/KRenderDocCapture.cpp | King19931229/KApp | f7f855b209348f835de9e5f57844d4fb6491b0a1 | [
"MIT"
] | null | null | null | #include "KRenderDocCapture.h"
#include "KBase/Publish/KSystem.h"
#include "KBase/Publish/KFileTool.h"
#include "KBase/Interface/IKLog.h"
#include <assert.h>
#ifdef _WIN32
#include <Windows.h>
#endif
KRenderDocCapture::KRenderDocCapture()
: m_Module(nullptr),
m_rdoc_api(nullptr)
{
}
KRenderDocCapture::~KRenderDoc... | 25.681159 | 113 | 0.740971 | King19931229 |
b7bbf23d8de0122178f3f6bfb9419e4dafbddaea | 2,900 | cpp | C++ | GlNddiDisplay.cpp | dave-estes-UNC/nddi | 4b38e8155bd29201152f8fa8d356e97371c60d90 | [
"Apache-2.0"
] | null | null | null | GlNddiDisplay.cpp | dave-estes-UNC/nddi | 4b38e8155bd29201152f8fa8d356e97371c60d90 | [
"Apache-2.0"
] | null | null | null | GlNddiDisplay.cpp | dave-estes-UNC/nddi | 4b38e8155bd29201152f8fa8d356e97371c60d90 | [
"Apache-2.0"
] | null | null | null | #include <iostream>
#include <stdio.h>
#include <sys/time.h>
#include "Features.h"
#include "GlNddiDisplay.h"
// public
GlNddiDisplay::GlNddiDisplay(vector<unsigned int> &frameVolumeDimensionalSizes,
unsigned int numCoefficientPlanes, unsigned int inputVectorSize,
... | 39.189189 | 186 | 0.713793 | dave-estes-UNC |
b7bf6c77995df451e0600e946a9fafccab530e6f | 413 | hpp | C++ | include/lug/Graphics/Vulkan/Builder/Texture.hpp | Lugdunum3D/Lugdunum3D | b6d6907d034fdba1ffc278b96598eba1d860f0d4 | [
"MIT"
] | 275 | 2016-10-08T15:33:17.000Z | 2022-03-30T06:11:56.000Z | include/lug/Graphics/Vulkan/Builder/Texture.hpp | Lugdunum3D/Lugdunum3D | b6d6907d034fdba1ffc278b96598eba1d860f0d4 | [
"MIT"
] | 24 | 2016-09-29T20:51:20.000Z | 2018-05-09T21:41:36.000Z | include/lug/Graphics/Vulkan/Builder/Texture.hpp | Lugdunum3D/Lugdunum3D | b6d6907d034fdba1ffc278b96598eba1d860f0d4 | [
"MIT"
] | 37 | 2017-02-25T05:03:48.000Z | 2021-05-10T19:06:29.000Z | #pragma once
#include <lug/Graphics/Render/Texture.hpp>
#include <lug/Graphics/Resource.hpp>
namespace lug {
namespace Graphics {
namespace Builder {
class Texture;
} // Builder
namespace Vulkan {
namespace Builder {
namespace Texture {
Resource::SharedPtr<lug::Graphics::Render::Texture> build(const ::lug::Graphic... | 17.208333 | 108 | 0.72155 | Lugdunum3D |
b7c29be2afd91b746cc69d39d0e9fde9e25bf38c | 1,850 | cpp | C++ | lib/iri/test/iri_gen_test.cpp | zmij/wire | 9981eb9ea182fc49ef7243eed26b9d37be70a395 | [
"Artistic-2.0"
] | 5 | 2016-04-07T19:49:39.000Z | 2021-08-03T05:24:11.000Z | lib/iri/test/iri_gen_test.cpp | zmij/wire | 9981eb9ea182fc49ef7243eed26b9d37be70a395 | [
"Artistic-2.0"
] | null | null | null | lib/iri/test/iri_gen_test.cpp | zmij/wire | 9981eb9ea182fc49ef7243eed26b9d37be70a395 | [
"Artistic-2.0"
] | 1 | 2020-12-27T11:47:31.000Z | 2020-12-27T11:47:31.000Z | /*
* iri_gen_test.cpp
*
* Created on: Aug 19, 2015
* Author: zmij
*/
#include "grammar/grammar_gen_test.hpp"
#include <tip/iri/grammar/iri_generate.hpp>
namespace gen = tip::iri::grammar::gen;
GRAMMAR_GEN_TEST(gen::sub_delims_grammar, SubDelims, char,
::testing::Values(
GenerateSubDelims::make_test_dat... | 26.811594 | 71 | 0.681622 | zmij |
b7c3b9cdef4002b8b538298e2973aad88e6f5a94 | 3,790 | hpp | C++ | include/saci/tree/model/branch_impl.hpp | ricardocosme/saci | 2a6a134f63b6e69fde452e0fe9bb5acfd149a6e4 | [
"BSL-1.0"
] | 1 | 2020-07-29T20:42:58.000Z | 2020-07-29T20:42:58.000Z | include/saci/tree/model/branch_impl.hpp | ricardocosme/saci | 2a6a134f63b6e69fde452e0fe9bb5acfd149a6e4 | [
"BSL-1.0"
] | null | null | null | include/saci/tree/model/branch_impl.hpp | ricardocosme/saci | 2a6a134f63b6e69fde452e0fe9bb5acfd149a6e4 | [
"BSL-1.0"
] | null | null | null | #pragma once
#include "saci/tree/model/detail/apply_node_impl.hpp"
#include "saci/tree/model/detail/node_impl_fwd.hpp"
#include "saci/tree/model/detail/visibility.hpp"
#include "saci/tree/model/node_base.hpp"
#include <boost/fusion/include/as_vector.hpp>
#include <boost/fusion/include/for_each.hpp>
#include <boost/f... | 26.879433 | 90 | 0.656201 | ricardocosme |
b7c3c039334d9b923f1e737af3dd25ea9d5ff85a | 909 | ipp | C++ | implement/oalplus/context.ipp | Extrunder/oglplus | c7c8266a1571d0b4c8b02d9c8ca6a7b6a6f51791 | [
"BSL-1.0"
] | 459 | 2016-03-16T04:11:37.000Z | 2022-03-31T08:05:21.000Z | implement/oalplus/context.ipp | Extrunder/oglplus | c7c8266a1571d0b4c8b02d9c8ca6a7b6a6f51791 | [
"BSL-1.0"
] | 4 | 2015-08-21T02:29:15.000Z | 2020-05-02T13:50:36.000Z | implement/oalplus/context.ipp | Extrunder/oglplus | c7c8266a1571d0b4c8b02d9c8ca6a7b6a6f51791 | [
"BSL-1.0"
] | 47 | 2016-05-31T15:55:52.000Z | 2022-03-28T14:49:40.000Z | /**
* @file oalplus/context.ipp
* @brief Implementation of Context functions
*
* @author Matus Chochlik
*
* Copyright 2010-2014 Matus Chochlik. 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)
*/
namesp... | 21.642857 | 70 | 0.728273 | Extrunder |
b7c4cc1029ec3ce05380092ae644a9095ba94d95 | 95 | cpp | C++ | Society2.0/Society2.0/CityGroup.cpp | simsim314/Society2.0 | a95e42122e2541b7544dd641247681996f1e625a | [
"Unlicense"
] | 1 | 2019-07-11T13:10:43.000Z | 2019-07-11T13:10:43.000Z | Society2.0/Society2.0/CityGroup.cpp | mdheller/Society2.0 | a95e42122e2541b7544dd641247681996f1e625a | [
"Unlicense"
] | 1 | 2019-02-19T12:32:52.000Z | 2019-03-07T20:49:50.000Z | Society2.0/Society2.0/CityGroup.cpp | mdheller/Society2.0 | a95e42122e2541b7544dd641247681996f1e625a | [
"Unlicense"
] | 1 | 2020-01-10T12:37:30.000Z | 2020-01-10T12:37:30.000Z | #include "CityGroup.h"
CityGroup::CityGroup()
{
}
CityGroup::~CityGroup()
{
}
| 7.307692 | 24 | 0.557895 | simsim314 |
b7c763c2ff0d1fa284137d82f57e42af6a7ce245 | 75,437 | cpp | C++ | MultiPlane/lens_halos.cpp | glenco/SLsimLib | fb7a3c450d2487a823fa3f0ae8c8ecf7945c3ebb | [
"MIT"
] | 2 | 2017-03-22T13:18:32.000Z | 2021-05-01T01:54:31.000Z | MultiPlane/lens_halos.cpp | glenco/SLsimLib | fb7a3c450d2487a823fa3f0ae8c8ecf7945c3ebb | [
"MIT"
] | 49 | 2016-10-05T03:08:38.000Z | 2020-11-03T15:39:26.000Z | MultiPlane/lens_halos.cpp | glenco/SLsimLib | fb7a3c450d2487a823fa3f0ae8c8ecf7945c3ebb | [
"MIT"
] | 1 | 2017-07-10T08:52:53.000Z | 2017-07-10T08:52:53.000Z | /*
* lens_halos.cpp
*
* Created on: 06.05.2013
* Author: mpetkova
*/
#include "slsimlib.h"
using namespace std;
/// Shell constructor
LensHalo::LensHalo(){
rscale = 1.0;
mass = Rsize = Rmax = xmax = posHalo[0] = posHalo[1] = 0.0;
stars_implanted = false;
elliptical_flag = false;
Dist = -1;
sta... | 34.072719 | 548 | 0.610973 | glenco |
b7cc0d9b469bff0ae0c501c7300849fefcb3d237 | 122,267 | cpp | C++ | ios/Classes/Native/Bulk_System_2.cpp | ShearerAWS/mini-mafia-release | 1a97656538fe24c015efbfc7954a66065139c34a | [
"MIT"
] | 149 | 2017-06-25T04:03:31.000Z | 2022-02-24T19:31:06.000Z | ios/Classes/Native/Bulk_System_2.cpp | ShearerAWS/mini-mafia-release | 1a97656538fe24c015efbfc7954a66065139c34a | [
"MIT"
] | 9 | 2017-06-24T23:23:11.000Z | 2019-01-16T15:22:13.000Z | ios/Classes/Native/Bulk_System_2.cpp | ShearerAWS/mini-mafia-release | 1a97656538fe24c015efbfc7954a66065139c34a | [
"MIT"
] | 29 | 2017-06-28T17:57:06.000Z | 2021-06-27T12:26:44.000Z | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <cstring>
#include <string.h>
#include <stdio.h>
#include <cmath>
#include <limits>
#include <assert.h>
#include <stdint.h>
#include "il2cpp-class-internals.h"
#include "codegen/il2cpp-codegen.h"
#include "i... | 42.601742 | 276 | 0.813817 | ShearerAWS |
b7cdd8fee874cc7a0fa0bd6c3cfee1eeeee26a58 | 414 | hpp | C++ | include/RED4ext/Scripting/Natives/Generated/tools/JiraService.hpp | jackhumbert/RED4ext.SDK | 2c55eccb83beabbbe02abae7945af8efce638fca | [
"MIT"
] | 1 | 2022-03-18T17:22:09.000Z | 2022-03-18T17:22:09.000Z | include/RED4ext/Scripting/Natives/Generated/tools/JiraService.hpp | jackhumbert/RED4ext.SDK | 2c55eccb83beabbbe02abae7945af8efce638fca | [
"MIT"
] | null | null | null | include/RED4ext/Scripting/Natives/Generated/tools/JiraService.hpp | jackhumbert/RED4ext.SDK | 2c55eccb83beabbbe02abae7945af8efce638fca | [
"MIT"
] | 1 | 2022-02-13T01:44:55.000Z | 2022-02-13T01:44:55.000Z | #pragma once
// This file is generated from the Game's Reflection data
#include <cstdint>
#include <RED4ext/Common.hpp>
namespace RED4ext
{
namespace tools {
struct JiraService
{
static constexpr const char* NAME = "toolsJiraService";
static constexpr const char* ALIAS = NAME;
uint8_t unk00[0xE8 - 0x0]... | 19.714286 | 59 | 0.724638 | jackhumbert |
b7ce190ef178fda1e18a4ba7c521aa1f5c7484d6 | 7,947 | cpp | C++ | ModuleGOManager.cpp | N4bi/SahelanthropusEngine | e64c1e2a544b7f2c4e3bf50b027ef3914443ef55 | [
"MIT"
] | null | null | null | ModuleGOManager.cpp | N4bi/SahelanthropusEngine | e64c1e2a544b7f2c4e3bf50b027ef3914443ef55 | [
"MIT"
] | 1 | 2016-12-03T20:51:15.000Z | 2016-12-03T20:51:15.000Z | ModuleGOManager.cpp | N4bi/Sahelanthropus_Engine | e64c1e2a544b7f2c4e3bf50b027ef3914443ef55 | [
"MIT"
] | null | null | null | #include "Application.h"
#include "ModuleGOManager.h"
#include "GameObject.h"
#include "Component.h"
#include "ComponentTransform.h"
#include "Quadtree.h"
#include "Imgui\imgui.h"
#include <algorithm>
using namespace std;
ModuleGOManager::ModuleGOManager(Application * app, const char* name, bool start_enabled) : Mod... | 19.011962 | 124 | 0.677866 | N4bi |
b7d034b70bd04af5845d11e29335c958fb8b471f | 1,619 | cpp | C++ | app/src/main/cpp/lesson7/CubesWithVboWithStride.cpp | karaianas/AndroidOpenGLESLessonsCpp | 6a2f8c25ef8e36ebe9414e16ad9e1f6b5e95da3c | [
"Apache-2.0"
] | 3 | 2017-07-23T11:08:39.000Z | 2019-12-27T05:57:11.000Z | OpenGLLesson/app/src/main/cpp/lesson7/CubesWithVboWithStride.cpp | biezhihua/Android_OpenGL_Demo | aacecdc4665023fa8b7a685b42bfd33486a4099f | [
"Apache-2.0"
] | null | null | null | OpenGLLesson/app/src/main/cpp/lesson7/CubesWithVboWithStride.cpp | biezhihua/Android_OpenGL_Demo | aacecdc4665023fa8b7a685b42bfd33486a4099f | [
"Apache-2.0"
] | 2 | 2019-05-20T07:45:47.000Z | 2019-12-27T05:57:15.000Z | //
// Created by biezhihua on 2017/7/23.
//
#include "CubesWithVboWithStride.h"
void CubesWithVboWithStride::renderer() {
int stride = (POSITION_DATA_SIZE + NORMAL_DATA_SIZE + TEXTURE_COORDINATE_DATA_SIZE) *
BYTES_PER_FLOAT;
// Pass in the position information
glBindBuffer(GL_ARRAY_BUFFE... | 39.487805 | 98 | 0.703521 | karaianas |
b7d0f2b6c1f9e4ab5607d5a7cba3237bc92f4d23 | 39,461 | cpp | C++ | Source/AllProjects/CIDBuild/CIDBuild_ProjectInfo.cpp | eudora-jia/CIDLib | 02795d283d95f8a5a4fafa401b6189851901b81b | [
"MIT"
] | 1 | 2019-05-28T06:33:01.000Z | 2019-05-28T06:33:01.000Z | Source/AllProjects/CIDBuild/CIDBuild_ProjectInfo.cpp | eudora-jia/CIDLib | 02795d283d95f8a5a4fafa401b6189851901b81b | [
"MIT"
] | null | null | null | Source/AllProjects/CIDBuild/CIDBuild_ProjectInfo.cpp | eudora-jia/CIDLib | 02795d283d95f8a5a4fafa401b6189851901b81b | [
"MIT"
] | null | null | null | //
// FILE NAME: CIDBuild_ProjectInfo.Cpp
//
// AUTHOR: Dean Roddey
//
// CREATED: 08/21/1998
//
// COPYRIGHT: Charmed Quark Systems, Ltd @ 2019
//
// This software is copyrighted by 'Charmed Quark Systems, Ltd' and
// the author (Dean Roddey.) It is licensed under the MIT Open Source
// license:
//
// https://open... | 29.273739 | 93 | 0.563772 | eudora-jia |
b7d35659ef2060ce2c97f553eae81ce927254b82 | 729 | cpp | C++ | Source/USemLog/Private/ROSProlog/SLROSServiceClient.cpp | Leusmann/USemLog | 3492a4fd55a524433785802c77444982e57f2e0a | [
"BSD-3-Clause"
] | 7 | 2017-10-05T09:47:40.000Z | 2020-10-15T04:02:07.000Z | Source/USemLog/Private/ROSProlog/SLROSServiceClient.cpp | Leusmann/USemLog | 3492a4fd55a524433785802c77444982e57f2e0a | [
"BSD-3-Clause"
] | 11 | 2017-08-10T10:01:55.000Z | 2020-12-31T13:02:33.000Z | Source/USemLog/Private/ROSProlog/SLROSServiceClient.cpp | Leusmann/USemLog | 3492a4fd55a524433785802c77444982e57f2e0a | [
"BSD-3-Clause"
] | 19 | 2017-03-07T08:18:43.000Z | 2021-11-09T10:58:04.000Z | // Copyright 2020, Institute for Artificial Intelligence - University of Bremen
// Author: Jose Rojas
#include "ROSProlog/SLROSServiceClient.h"
#include "ROSProlog/SLPrologClient.h"
// Constructor
SLROSServiceClient::SLROSServiceClient()
{
}
// Destructor
SLROSServiceClient::~SLROSServiceClient()
{
}
#if SL_WITH_RO... | 22.090909 | 88 | 0.784636 | Leusmann |
b7d80910df3a3500ed9e6b8c74b25b38b73214ec | 2,465 | cpp | C++ | node_modules/pxt-common-packages/libs/core/spi.cpp | johnwing/music2 | a8940cd3e53061d7ca0461811f9ffb2440b586a1 | [
"MIT"
] | null | null | null | node_modules/pxt-common-packages/libs/core/spi.cpp | johnwing/music2 | a8940cd3e53061d7ca0461811f9ffb2440b586a1 | [
"MIT"
] | null | null | null | node_modules/pxt-common-packages/libs/core/spi.cpp | johnwing/music2 | a8940cd3e53061d7ca0461811f9ffb2440b586a1 | [
"MIT"
] | null | null | null | #include "pxt.h"
#include "ErrorNo.h"
namespace pins {
class CodalSPIProxy {
private:
DevicePin* mosi;
DevicePin* miso;
DevicePin* sck;
CODAL_SPI spi;
public:
CodalSPIProxy* next;
public:
CodalSPIProxy(DevicePin* _mosi, DevicePin* _miso, DevicePin* _sck)
: mosi(_mosi)
, miso... | 19.72 | 93 | 0.622718 | johnwing |
b7dad7284b176e251ba382227bed98e79260bec6 | 106 | hpp | C++ | fft/ft_grid_helpers.hpp | simonpp/2dRidgeletBTE | 5d08cbb5c57fc276c7a528f128615d23c37ef6a0 | [
"BSD-3-Clause"
] | 1 | 2019-11-08T03:15:56.000Z | 2019-11-08T03:15:56.000Z | fft/ft_grid_helpers.hpp | simonpp/2dRidgeletBTE | 5d08cbb5c57fc276c7a528f128615d23c37ef6a0 | [
"BSD-3-Clause"
] | null | null | null | fft/ft_grid_helpers.hpp | simonpp/2dRidgeletBTE | 5d08cbb5c57fc276c7a528f128615d23c37ef6a0 | [
"BSD-3-Clause"
] | 1 | 2019-11-08T03:15:56.000Z | 2019-11-08T03:15:56.000Z | #pragma once
#include "ft_grid_helpers_impl/fourier_modes.hpp"
#include "ft_grid_helpers_impl/ftcut.hpp"
| 21.2 | 49 | 0.830189 | simonpp |
b7dbb9aa536d7bfa9ccfb9251da195052703ef03 | 9,327 | cpp | C++ | src/bindings/cpp/tests/testcpp_iter_name.cpp | dev2718/libelektra | cd581101febbc8ee2617243d0d93f871ef2fae88 | [
"BSD-3-Clause"
] | 188 | 2015-01-07T20:34:26.000Z | 2022-03-16T09:55:09.000Z | src/bindings/cpp/tests/testcpp_iter_name.cpp | dev2718/libelektra | cd581101febbc8ee2617243d0d93f871ef2fae88 | [
"BSD-3-Clause"
] | 3,813 | 2015-01-02T14:00:08.000Z | 2022-03-31T14:19:11.000Z | src/bindings/cpp/tests/testcpp_iter_name.cpp | dev2718/libelektra | cd581101febbc8ee2617243d0d93f871ef2fae88 | [
"BSD-3-Clause"
] | 149 | 2015-01-10T02:07:50.000Z | 2022-03-16T09:50:24.000Z | /**
* @file
*
* @brief
*
* @copyright BSD License (see LICENSE.md or https://www.libelektra.org)
*/
#include <tests.hpp>
#include <algorithm>
#include <vector>
#include <gtest/gtest.h>
TEST (test_iter_name, forward)
{
Key k ("user:/user\\/key4\\/1/user\\/key4\\/2/user\\/key4\\/3", KEY_END);
Key::iterator i... | 25.908333 | 78 | 0.556878 | dev2718 |
b7e16b37994fa6d793355df9e7393c811592fbef | 7,274 | cpp | C++ | graphic/scenes/table/chicha.cpp | MihailJP/MiHaJong | b81168ab2696dd29af5c400b84c870a9b8a2f01e | [
"MIT"
] | 13 | 2016-01-20T02:10:52.000Z | 2022-03-08T15:51:36.000Z | graphic/scenes/table/chicha.cpp | MihailJP/MiHaJong | b81168ab2696dd29af5c400b84c870a9b8a2f01e | [
"MIT"
] | 13 | 2020-09-28T12:57:52.000Z | 2022-02-20T19:20:57.000Z | graphic/scenes/table/chicha.cpp | MihailJP/MiHaJong | b81168ab2696dd29af5c400b84c870a9b8a2f01e | [
"MIT"
] | 4 | 2016-09-19T13:44:10.000Z | 2022-02-18T08:13:37.000Z | #include "chicha.h"
#include "../../resource.h"
#include "../../sprite.h"
#include "../../gametbl.h"
#include "../../utils.h"
namespace mihajong_graphic {
using utils::playerRelative;
/* 起家マークを置く凹み */
void GameTableScreen::TrayReconst::ShowTray() {
constexpr RECT rect1 = {TrayHLeft, TrayHTop, TrayHRight, TrayHBott... | 52.710145 | 234 | 0.697965 | MihailJP |
b7e878d6e6a49c3035795f494392cce1e16853c1 | 1,128 | cpp | C++ | Build/src/src/Scene/Courier.cpp | maz8569/OpenGLPAG | 3c470a6824c0d3169fdc65691f697c2af39a6442 | [
"MIT"
] | null | null | null | Build/src/src/Scene/Courier.cpp | maz8569/OpenGLPAG | 3c470a6824c0d3169fdc65691f697c2af39a6442 | [
"MIT"
] | null | null | null | Build/src/src/Scene/Courier.cpp | maz8569/OpenGLPAG | 3c470a6824c0d3169fdc65691f697c2af39a6442 | [
"MIT"
] | null | null | null | #include "Scene/Courier.h"
GameEngine::Courier::Courier(Ref<MousePicker> mousePicker, Ref<Model> model, std::shared_ptr<Shader> shader, std::shared_ptr<Collision> colMan)
: Entity(model, shader, colMan), m_mousePicker(mousePicker)
{
m_inputManager = mousePicker->getInputManager();
Entity::Update();
}
void GameEng... | 24.521739 | 144 | 0.646277 | maz8569 |
b7eac2e350570f6a4631b596fd22d2f531d58abc | 3,280 | hpp | C++ | include/wiztk/gui/theme.hpp | wiztk/framework | 179baf8a24406b19d3f4ea28e8405358b21f8446 | [
"Apache-2.0"
] | 37 | 2017-11-22T14:15:33.000Z | 2021-11-25T20:39:39.000Z | include/wiztk/gui/theme.hpp | wiztk/framework | 179baf8a24406b19d3f4ea28e8405358b21f8446 | [
"Apache-2.0"
] | 3 | 2018-03-01T12:44:22.000Z | 2021-01-04T23:14:41.000Z | include/wiztk/gui/theme.hpp | wiztk/framework | 179baf8a24406b19d3f4ea28e8405358b21f8446 | [
"Apache-2.0"
] | 10 | 2017-11-25T19:09:11.000Z | 2020-12-02T02:05:47.000Z | /*
* Copyright 2017 - 2018 The WizTK 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 ... | 18.531073 | 75 | 0.68689 | wiztk |
b7ee91b261ce90ea20e87d53e1ddee4b85c6cebb | 911 | cpp | C++ | src/mxml/parsing/BackupHandler.cpp | dkun7944/mxml | 6450e7cab88eb6ee0ac469f437047072e1868ea4 | [
"MIT"
] | 18 | 2016-05-22T00:55:28.000Z | 2021-03-29T08:44:23.000Z | src/mxml/parsing/BackupHandler.cpp | dkun7944/mxml | 6450e7cab88eb6ee0ac469f437047072e1868ea4 | [
"MIT"
] | 6 | 2017-05-17T13:20:09.000Z | 2018-10-22T20:00:57.000Z | src/mxml/parsing/BackupHandler.cpp | dkun7944/mxml | 6450e7cab88eb6ee0ac469f437047072e1868ea4 | [
"MIT"
] | 14 | 2016-05-12T22:54:34.000Z | 2021-10-19T12:43:16.000Z | // Copyright © 2016 Venture Media Labs.
//
// This file is part of mxml. The full mxml copyright notice, including
// terms governing use, modification, and redistribution, is contained in the
// file LICENSE at the root of the source code distribution tree.
#include "BackupHandler.h"
namespace mxml {
using dom::Bac... | 28.46875 | 86 | 0.731065 | dkun7944 |
b7f0a85eea892c6ced2f518f928f02fd131e83ef | 1,306 | cpp | C++ | trick_source/sim_services/DataTypes/src/EnumDictionary.cpp | gilbertguoze/trick | f0537efb0fa3cb5c0c84e36b60f055c1d1c60d21 | [
"NASA-1.3"
] | 647 | 2015-05-07T16:08:16.000Z | 2022-03-30T02:33:21.000Z | trick_source/sim_services/DataTypes/src/EnumDictionary.cpp | gilbertguoze/trick | f0537efb0fa3cb5c0c84e36b60f055c1d1c60d21 | [
"NASA-1.3"
] | 995 | 2015-04-30T19:44:31.000Z | 2022-03-31T20:14:44.000Z | trick_source/sim_services/DataTypes/src/EnumDictionary.cpp | gilbertguoze/trick | f0537efb0fa3cb5c0c84e36b60f055c1d1c60d21 | [
"NASA-1.3"
] | 251 | 2015-05-15T09:24:34.000Z | 2022-03-22T20:39:05.000Z | #include <iostream>
#include <sstream>
#include "EnumDictionary.hh"
int EnumDictionary::getValue(std::string name ) {
enumDictionaryIterator = enumDictionary.find(name);
if (enumDictionaryIterator == enumDictionary.end()) {
std::stringstream error_stream ;
error_stream << "ERROR: Enumerator \... | 31.095238 | 101 | 0.649311 | gilbertguoze |
b7f2ffb1d9a3cc3fdacdf437c35be4d58c7a8216 | 14,165 | cpp | C++ | src/qt/qtbase/src/3rdparty/angle/src/libGLESv2/renderer/d3d9/renderer9_utils.cpp | viewdy/phantomjs | eddb0db1d253fd0c546060a4555554c8ee08c13c | [
"BSD-3-Clause"
] | 513 | 2015-09-27T15:16:57.000Z | 2022-03-08T09:26:35.000Z | src/qt/qtbase/src/3rdparty/angle/src/libGLESv2/renderer/d3d9/renderer9_utils.cpp | mrampersad/phantomjs | dca6f77a36699eb4e1c46f7600cca618f01b0ac3 | [
"BSD-3-Clause"
] | 133 | 2015-09-28T23:41:42.000Z | 2021-06-21T03:59:11.000Z | src/qt/qtbase/src/3rdparty/angle/src/libGLESv2/renderer/d3d9/renderer9_utils.cpp | mrampersad/phantomjs | dca6f77a36699eb4e1c46f7600cca618f01b0ac3 | [
"BSD-3-Clause"
] | 40 | 2016-01-18T16:56:36.000Z | 2022-02-27T13:03:51.000Z | #include "precompiled.h"
//
// Copyright (c) 2002-2012 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// renderer9_utils.cpp: Conversion functions and other utility routines
// specific to the D3D9 renderer.
#i... | 28.273453 | 132 | 0.641864 | viewdy |
b7f3356d2e71d6734f46b3d88fcccf7bcd40ff47 | 287 | cpp | C++ | framework/src/Core/Network/Tcp/TcpClient.cpp | gautier-lefebvre/cppframework | bc1c3405913343274d79240b17ab75ae3f2adf56 | [
"MIT"
] | null | null | null | framework/src/Core/Network/Tcp/TcpClient.cpp | gautier-lefebvre/cppframework | bc1c3405913343274d79240b17ab75ae3f2adf56 | [
"MIT"
] | 3 | 2015-12-21T09:04:49.000Z | 2015-12-21T19:22:47.000Z | framework/src/Core/Network/Tcp/TcpClient.cpp | gautier-lefebvre/cppframework | bc1c3405913343274d79240b17ab75ae3f2adf56 | [
"MIT"
] | null | null | null | #include "Core/Network/Tcp/TcpClient.hh"
using namespace fwk;
TcpClient::TcpClient(const std::string& hostname, uint16_t port, TcpSocketStream* socket):
Lockable(),
hostname(hostname),
port(port),
socket(socket),
active(false),
events()
{}
TcpClient::~TcpClient(void) {}
| 19.133333 | 90 | 0.714286 | gautier-lefebvre |
b7f4b488d5a57aa67fba4e99201a3bf0ded49aab | 1,650 | cpp | C++ | potrace/src/ossimPotraceToolFactory.cpp | dardok/ossim-plugins | 3406ffed9fcab88fe4175b845381611ac4122c81 | [
"MIT"
] | 12 | 2016-09-09T01:24:12.000Z | 2022-01-09T21:45:58.000Z | potrace/src/ossimPotraceToolFactory.cpp | dardok/ossim-plugins | 3406ffed9fcab88fe4175b845381611ac4122c81 | [
"MIT"
] | 5 | 2016-02-04T16:10:40.000Z | 2021-06-29T05:00:29.000Z | potrace/src/ossimPotraceToolFactory.cpp | dardok/ossim-plugins | 3406ffed9fcab88fe4175b845381611ac4122c81 | [
"MIT"
] | 20 | 2015-11-17T11:46:22.000Z | 2021-11-12T19:23:54.000Z | //**************************************************************************************************
//
// OSSIM Open Source Geospatial Data Processing Library
// See top level LICENSE.txt file for license information
//
//*****************************************************************************************... | 27.966102 | 101 | 0.666061 | dardok |
b7f5a6353f521eeca03324ef9ee2f41d8efe1c7a | 2,578 | cpp | C++ | Practice/2018/2018.12.6/Luogu3835.cpp | SYCstudio/OI | 6e9bfc17dbd4b43467af9b19aa2aed41e28972fa | [
"MIT"
] | 4 | 2017-10-31T14:25:18.000Z | 2018-06-10T16:10:17.000Z | Practice/2018/2018.12.6/Luogu3835.cpp | SYCstudio/OI | 6e9bfc17dbd4b43467af9b19aa2aed41e28972fa | [
"MIT"
] | null | null | null | Practice/2018/2018.12.6/Luogu3835.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=505000*50;
const int inf=2147483647;
class Treap
{
public:
int key,size,ch[2];
};
int nodecnt;
Treap T[maxN];
int root[ma... | 20.140625 | 63 | 0.579131 | SYCstudio |
b7f66fd8067cc2de00df33f7a1c7dc50d7ca966a | 5,096 | cpp | C++ | RX64M/rx64m_DA_sample/main.cpp | hirakuni45/RX | 3fb91bfc8d5282cde7aa00b8bd37f4aad32582d0 | [
"BSD-3-Clause"
] | 56 | 2015-06-04T14:15:38.000Z | 2022-03-01T22:58:49.000Z | RX64M/rx64m_DA_sample/main.cpp | hirakuni45/RX | 3fb91bfc8d5282cde7aa00b8bd37f4aad32582d0 | [
"BSD-3-Clause"
] | 30 | 2019-07-27T11:03:14.000Z | 2021-12-14T09:59:57.000Z | RX64M/rx64m_DA_sample/main.cpp | hirakuni45/RX | 3fb91bfc8d5282cde7aa00b8bd37f4aad32582d0 | [
"BSD-3-Clause"
] | 15 | 2017-06-24T11:33:39.000Z | 2021-12-07T07:26:58.000Z | //=====================================================================//
/*! @file
@brief RX64M D/A 出力サンプル @n
・P07(176) ピンに赤色LED(VF:1.9V)を吸い込みで接続する。@n
・DA0(P03)、DA1(P05) からアナログ出力する。@n
・サンプリング間隔は 48KHz @n
・コンソールから、周波数を入力すると、その周波数で sin/cos @n
を出力する。
@author 平松邦仁 (hira@rvf-rc45.net)
@copyright Co... | 20.465863 | 92 | 0.616366 | hirakuni45 |
b7fa247532e41f32d46e4fe210c23a69688f4f49 | 6,175 | cc | C++ | libmemcached/touch.cc | bureado/libmemcached | 3f27e2b935a0580ff3fa7c098040ce96083fa70f | [
"BSD-3-Clause"
] | null | null | null | libmemcached/touch.cc | bureado/libmemcached | 3f27e2b935a0580ff3fa7c098040ce96083fa70f | [
"BSD-3-Clause"
] | 1 | 2021-03-09T05:01:19.000Z | 2021-03-09T05:01:19.000Z | libmemcached/touch.cc | bureado/libmemcached | 3f27e2b935a0580ff3fa7c098040ce96083fa70f | [
"BSD-3-Clause"
] | 2 | 2015-02-03T02:37:59.000Z | 2020-10-20T09:12:02.000Z | /* vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
*
* Libmemcached library
*
* Copyright (C) 2011 Data Differential, http://datadifferential.com/
* Copyright (C) 2006-2009 Brian Aker All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted p... | 39.583333 | 161 | 0.717733 | bureado |
b7fb2c87216fb9c4de64639c62c267e25e91802c | 6,684 | hpp | C++ | CvGameCoreDLL/Boost-1.32.0/include/boost/regex/config/allocator.hpp | macaurther/DOCUSA | 40586727c351d1b1130c05c2d4648cca3a8bacf5 | [
"MIT"
] | 93 | 2015-11-20T04:13:36.000Z | 2022-03-24T00:03:08.000Z | CvGameCoreDLL/Boost-1.32.0/include/boost/regex/config/allocator.hpp | macaurther/DOCUSA | 40586727c351d1b1130c05c2d4648cca3a8bacf5 | [
"MIT"
] | 206 | 2015-11-09T00:27:15.000Z | 2021-12-04T19:05:18.000Z | CvGameCoreDLL/Boost-1.32.0/include/boost/regex/config/allocator.hpp | dguenms/Dawn-of-Civilization | 1c4f510af97a869637cddb4c0859759158cea5ce | [
"MIT"
] | 117 | 2015-11-08T02:43:46.000Z | 2022-02-12T06:29:00.000Z | /*
*
* Copyright (c) 2001
* Dr John Maddock
*
* Use, modification and distribution are subject to the
* Boost Software License, Version 1.0. (See accompanying file
* LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
*
*/
#ifndef BOOST_DETAIL_ALLOCATOR_HPP
#define BOOST_DETAIL_ALLO... | 23.702128 | 145 | 0.620586 | macaurther |
b7fb71f17b94d5234b88b3ada0117f1c78837393 | 8,036 | cpp | C++ | bindings/java/LSFJavaTest/jni/org_allseen_lsf_test_TransitionEffectManagerCallbackTest.cpp | alljoyn/lighting-apps | f423a252d64cbd41d575dcfe554a1cb5b49fa307 | [
"Apache-2.0"
] | null | null | null | bindings/java/LSFJavaTest/jni/org_allseen_lsf_test_TransitionEffectManagerCallbackTest.cpp | alljoyn/lighting-apps | f423a252d64cbd41d575dcfe554a1cb5b49fa307 | [
"Apache-2.0"
] | null | null | null | bindings/java/LSFJavaTest/jni/org_allseen_lsf_test_TransitionEffectManagerCallbackTest.cpp | alljoyn/lighting-apps | f423a252d64cbd41d575dcfe554a1cb5b49fa307 | [
"Apache-2.0"
] | null | null | null | /******************************************************************************
* Copyright (c) Open Connectivity Foundation (OCF), AllJoyn Open Source
* Project (AJOSP) Contributors and others.
*
* SPDX-License-Identifier: Apache-2.0
*
* All rights reserved. This program and the accompanying ... | 59.088235 | 284 | 0.833001 | alljoyn |
b7fbc13163bcf254debfd31d029e3753edf16856 | 1,161 | hpp | C++ | include/States/SaveState.hpp | thibautcornolti/IndieStudio | 1d0b76b1ca7b4e35b7c9d251fdb3f7ff96debfd7 | [
"MIT"
] | null | null | null | include/States/SaveState.hpp | thibautcornolti/IndieStudio | 1d0b76b1ca7b4e35b7c9d251fdb3f7ff96debfd7 | [
"MIT"
] | null | null | null | include/States/SaveState.hpp | thibautcornolti/IndieStudio | 1d0b76b1ca7b4e35b7c9d251fdb3f7ff96debfd7 | [
"MIT"
] | null | null | null | /*
** EPITECH PROJECT, 2018
** bomberman
** File description:
** SaveState.hpp
*/
#ifndef BOMBERMAN_SAVESTATE_HPP
#define BOMBERMAN_SAVESTATE_HPP
#include <time.h>
#include "../Abstracts/AState.hpp"
#include "../Abstracts/AMenuSound.hpp"
#define SAVE_BUTTON_NUMBER 2
class SaveState : public AState, public AMenuSoun... | 19.677966 | 69 | 0.723514 | thibautcornolti |
b7fcce7a23b53ad27b52bffb490cfaeac7acb822 | 1,400 | cpp | C++ | PAT_B/B1055|集体照|e.g.cpp | FunamiYui/PAT_Code_Akari | 52e06689b6bf8177c43ab9256719258c47e80b25 | [
"MIT"
] | null | null | null | PAT_B/B1055|集体照|e.g.cpp | FunamiYui/PAT_Code_Akari | 52e06689b6bf8177c43ab9256719258c47e80b25 | [
"MIT"
] | null | null | null | PAT_B/B1055|集体照|e.g.cpp | FunamiYui/PAT_Code_Akari | 52e06689b6bf8177c43ab9256719258c47e80b25 | [
"MIT"
] | null | null | null | //example
//对于某一排来说,每次都是左右交替进行人的放置,因此按此排内部的序号来说一定是一侧奇数一侧偶数
//最后从后排往前排一依次输出每排的人的姓名
//将所有人按身高从高到低排序,身高相同时按照姓名字典序从小到大排序
//定义变量num表示当前排的人数,初值为n - (k - 1) * (n / k),即最后一排人数
//再定义变量leftPos表示该排身高最高的人在数组中的编号,于是该排所有人在数组中的编号范围是[leftPos, leftPos + num - 1]
//当处理完一排后,将leftPos加上num即可得到前一排身高最高的人在数组中的编号
//本题必须在最后一行输出换行,否则会有若干组数据"格式错误... | 27.45098 | 77 | 0.637857 | FunamiYui |
4d001073e89c0ca5b69ecdd0dc73a9c6bba32baf | 1,318 | cpp | C++ | src/Core/Scripting/ScriptAssembly.cpp | lauriscx/DEngine | 2e64c91f64715dd730f21f27355c3efa7faff85f | [
"MIT"
] | null | null | null | src/Core/Scripting/ScriptAssembly.cpp | lauriscx/DEngine | 2e64c91f64715dd730f21f27355c3efa7faff85f | [
"MIT"
] | null | null | null | src/Core/Scripting/ScriptAssembly.cpp | lauriscx/DEngine | 2e64c91f64715dd730f21f27355c3efa7faff85f | [
"MIT"
] | null | null | null | #include "ScriptAssembly.h"
ScriptAssembly::ScriptAssembly(const std::string& Name, const std::string& AssemblyName) {
//Examples https://cpp.hotexamples.com/examples/-/-/mono_add_internal_call/cpp-mono_add_internal_call-function-examples.html
mono_set_dirs(".", ".");//Set where to search for assembly file.(Location... | 43.933333 | 150 | 0.773141 | lauriscx |
4d002074e04e0dc695f191346860b577a64b5373 | 964 | hpp | C++ | sdl2-sonic-drivers/src/drivers/midi/devices/ScummVM.hpp | Raffaello/sdl2-sonic-drivers | 20584f100ddd7c61f584deaee0b46c5228d8509d | [
"Apache-2.0"
] | 3 | 2021-10-31T14:24:00.000Z | 2022-03-16T08:15:31.000Z | sdl2-sonic-drivers/src/drivers/midi/devices/ScummVM.hpp | Raffaello/sdl2-sonic-drivers | 20584f100ddd7c61f584deaee0b46c5228d8509d | [
"Apache-2.0"
] | 48 | 2020-06-05T11:11:29.000Z | 2022-02-27T23:58:44.000Z | sdl2-sonic-drivers/src/drivers/midi/devices/ScummVM.hpp | Raffaello/sdl2-sonic-drivers | 20584f100ddd7c61f584deaee0b46c5228d8509d | [
"Apache-2.0"
] | null | null | null | #pragma once
#include <drivers/midi/Device.hpp>
#include <drivers/midi/scummvm/MidiDriver_ADLIB.hpp>
#include <memory>
#include <cstdint>
#include <hardware/opl/OPL.hpp>
namespace drivers
{
namespace midi
{
namespace devices
{
/**
* @brief Wrapper around ScummVM MidiD... | 26.777778 | 105 | 0.570539 | Raffaello |
4d013bb873fed2521820894736d56ec8300f55e1 | 5,608 | hpp | C++ | src/math/TEuler.hpp | Tonvey/ceramics | 9735b7579c7970155f4b72b9c8a55f920800f186 | [
"MIT"
] | null | null | null | src/math/TEuler.hpp | Tonvey/ceramics | 9735b7579c7970155f4b72b9c8a55f920800f186 | [
"MIT"
] | null | null | null | src/math/TEuler.hpp | Tonvey/ceramics | 9735b7579c7970155f4b72b9c8a55f920800f186 | [
"MIT"
] | null | null | null | #pragma once
#include <array>
#include <cassert>
#include <cmath>
#include <functional>
#include <initializer_list>
#include "../utils/TProperty.hpp"
#include "TMathUtils.hpp"
#include "../CeramicsPrerequisites.h"
#include "ERotationOrder.h"
CERAMICS_NAMESPACE_BEGIN
template <class T>
struct TEuler
{
typedef T valu... | 23.464435 | 79 | 0.460057 | Tonvey |
4d02be25c3782f4318044705938fbf4b6608e2b2 | 4,653 | hpp | C++ | deps/boost/include/boost/graph/adj_list_serialize.hpp | kindlychung/mediasoup-sfu-cpp | f69d2f48f7edbf4f0c57244280a47bea985f39cf | [
"Apache-2.0"
] | 80 | 2021-09-07T12:44:32.000Z | 2022-03-29T01:22:19.000Z | deps/boost/include/boost/graph/adj_list_serialize.hpp | kindlychung/mediasoup-sfu-cpp | f69d2f48f7edbf4f0c57244280a47bea985f39cf | [
"Apache-2.0"
] | 2 | 2021-12-23T02:49:42.000Z | 2022-02-15T05:28:24.000Z | deps/boost/include/boost/graph/adj_list_serialize.hpp | kindlychung/mediasoup-sfu-cpp | f69d2f48f7edbf4f0c57244280a47bea985f39cf | [
"Apache-2.0"
] | 25 | 2021-09-14T06:24:25.000Z | 2022-03-20T06:55:07.000Z | //=======================================================================
// Copyright 2005 Jeremy G. Siek
// Authors: Jeremy G. Siek
//
// 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)
//==================... | 35.519084 | 81 | 0.570815 | kindlychung |
4d034b5a6ae599a2d21dbd7aedc042bcbe70203c | 1,528 | cpp | C++ | source/Library.Shared/ModelManager.cpp | DakkyDaWolf/OpenGL | 628e9aed116022175cc0c59c88ace7688309628c | [
"MIT"
] | null | null | null | source/Library.Shared/ModelManager.cpp | DakkyDaWolf/OpenGL | 628e9aed116022175cc0c59c88ace7688309628c | [
"MIT"
] | null | null | null | source/Library.Shared/ModelManager.cpp | DakkyDaWolf/OpenGL | 628e9aed116022175cc0c59c88ace7688309628c | [
"MIT"
] | null | null | null | #include "pch.h"
#include "ModelManager.h"
using namespace std;
namespace Library
{
pair<Model, vector<MeshResource>>& ModelManager::LoadModel(const std::string& fileName)
{
Model loadedModel(fileName, true);
auto assembledEntry = make_pair(fileName, make_pair(move(loadedModel), vector<MeshRe... | 29.960784 | 104 | 0.679319 | DakkyDaWolf |
4d035b516778b0b5acf09a84fcac8ead7e785c2f | 4,552 | cpp | C++ | object_tests/src/array_tests.cpp | pierrebai/dak | 3da144aecfc941efe10abe0167b1d3a838a6a0d5 | [
"MIT"
] | null | null | null | object_tests/src/array_tests.cpp | pierrebai/dak | 3da144aecfc941efe10abe0167b1d3a838a6a0d5 | [
"MIT"
] | null | null | null | object_tests/src/array_tests.cpp | pierrebai/dak | 3da144aecfc941efe10abe0167b1d3a838a6a0d5 | [
"MIT"
] | null | null | null | #include <CppUnitTest.h>
#include <dak/object/array.h>
#include <dak/object/tests/helpers.h>
using namespace Microsoft::VisualStudio::CppUnitTestFramework;
namespace dak::object::tests
{
TEST_CLASS(array_tests)
{
public:
array_tests()
{
any_op::register_ops();
register_object_ops... | 27.095238 | 93 | 0.501318 | pierrebai |
4d07adfd12de072911c72e3c60f3882768d05cbd | 740 | hpp | C++ | src/public/GpuGeometry.hpp | linuxaged/gfx | 5ec841ddabca5ce589cd1ca095ce81ec52b438ee | [
"MIT"
] | null | null | null | src/public/GpuGeometry.hpp | linuxaged/gfx | 5ec841ddabca5ce589cd1ca095ce81ec52b438ee | [
"MIT"
] | null | null | null | src/public/GpuGeometry.hpp | linuxaged/gfx | 5ec841ddabca5ce589cd1ca095ce81ec52b438ee | [
"MIT"
] | null | null | null | #pragma once
#include "GpuBuffer.hpp"
#include "GpuVertexAttribute.hpp"
namespace lxd
{
class GpuGeometry
{
public:
GpuGeometry( GpuContext* context, const GpuVertexAttributeArrays* attribs,
const GpuTriangleIndexArray* indices, const bool dynamic = false );
~GpuGeometry();
public:
c... | 27.407407 | 84 | 0.564865 | linuxaged |
4d0b7b1b15d31050b49ce1c05cde7361f680d6d3 | 7,086 | hpp | C++ | boost/hash/block_cyphers/basic_shacal.hpp | dillonl/boost-cmake | 7204d4c68345a0b26e24f51fa46a04b1d2bda3e7 | [
"BSL-1.0"
] | null | null | null | boost/hash/block_cyphers/basic_shacal.hpp | dillonl/boost-cmake | 7204d4c68345a0b26e24f51fa46a04b1d2bda3e7 | [
"BSL-1.0"
] | null | null | null | boost/hash/block_cyphers/basic_shacal.hpp | dillonl/boost-cmake | 7204d4c68345a0b26e24f51fa46a04b1d2bda3e7 | [
"BSL-1.0"
] | null | null | null |
//
// Copyright 2010 Scott McMurray.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
#ifndef BOOST_HASH_BLOCK_CYPHERS_BASIC_SHACAL_HPP
#define BOOST_HASH_BLOCK_CYPHERS_BASIC_SHACAL_HPP
#include ... | 30.282051 | 73 | 0.52639 | dillonl |
4d0bda3f477f32cc21f869ba4521bb21ab99bed7 | 1,571 | cpp | C++ | Solitaire/game.cpp | LazyMechanic/Solitaire | 7e6e72cf32695267e7ec7fa5c8bd366b0553b439 | [
"Apache-2.0"
] | null | null | null | Solitaire/game.cpp | LazyMechanic/Solitaire | 7e6e72cf32695267e7ec7fa5c8bd366b0553b439 | [
"Apache-2.0"
] | null | null | null | Solitaire/game.cpp | LazyMechanic/Solitaire | 7e6e72cf32695267e7ec7fa5c8bd366b0553b439 | [
"Apache-2.0"
] | null | null | null | #include <iostream>
#include "game.h"
short Game::g_gameCondition = Condition::Nothing;
Game::~Game()
{
}
bool Game::Init()
{
// Check files
if (!m_cardsImage.loadFromFile("data/cards.png") || !m_backgroundImage.loadFromFile("data/background.png") || !m_windowIcon.loadFromFile("data/ico.png") || !Timer::SetTimerT... | 26.183333 | 238 | 0.694462 | LazyMechanic |
4d0c54073ae29c60b9b60f52a8663ff734531f3a | 1,150 | cpp | C++ | src/core/xt/xt/backend/pulse/Service.cpp | sjoerdvankreel/xt-audio | 960d6ed595c872c01af5c321b38b88a6ea07680a | [
"MIT"
] | 49 | 2017-04-01T00:41:14.000Z | 2022-03-23T09:03:28.000Z | src/core/xt/xt/backend/pulse/Service.cpp | sjoerdvankreel/xt-audio | 960d6ed595c872c01af5c321b38b88a6ea07680a | [
"MIT"
] | 18 | 2017-04-29T22:46:35.000Z | 2022-02-26T18:33:47.000Z | src/core/xt/xt/backend/pulse/Service.cpp | sjoerdvankreel/xt-audio | 960d6ed595c872c01af5c321b38b88a6ea07680a | [
"MIT"
] | 14 | 2017-05-01T12:33:20.000Z | 2021-10-01T07:16:26.000Z | #if XT_ENABLE_PULSE
#include <xt/backend/pulse/Shared.hpp>
#include <pulse/pulseaudio.h>
#include <cstring>
XtFault
PulseService::GetFormatFault() const
{ return XT_PA_ERR_FORMAT; }
XtServiceCaps
PulseService::GetCapabilities() const
{
auto result = XtServiceCapsAggregation | XtServiceCapsChannelMask;
return st... | 25 | 97 | 0.73913 | sjoerdvankreel |
4d0e5c059871ea1c87197a9b6fccca9448831639 | 4,075 | cpp | C++ | src/apps/vis/tasks/vis_create_dynamic_tree_edges.cpp | itm/shawn | 49cb715d0044a20a01a19bc4d7b62f9f209df83c | [
"BSD-3-Clause"
] | 15 | 2015-07-07T15:48:30.000Z | 2019-10-27T18:49:49.000Z | src/apps/vis/tasks/vis_create_dynamic_tree_edges.cpp | itm/shawn | 49cb715d0044a20a01a19bc4d7b62f9f209df83c | [
"BSD-3-Clause"
] | null | null | null | src/apps/vis/tasks/vis_create_dynamic_tree_edges.cpp | itm/shawn | 49cb715d0044a20a01a19bc4d7b62f9f209df83c | [
"BSD-3-Clause"
] | 4 | 2016-11-23T05:50:01.000Z | 2019-09-18T12:44:36.000Z | /************************************************************************
** This file is part of the network simulator Shawn. **
** Copyright (C) 2004,2005 by SwarmNet (www.swarmnet.de) **
** and SWARMS (www.swarms.de) **
** Shawn is free softwa... | 37.731481 | 114 | 0.551411 | itm |
4d0f7a46669052ac2cc8f620c783585a14292004 | 717 | cpp | C++ | test/test_is_used.cpp | KOLANICH/argparse | ccf3920ce205b02f09325c8f454e2fe9ce4edfb5 | [
"MIT"
] | 1,101 | 2019-04-02T13:59:40.000Z | 2022-03-31T23:14:00.000Z | test/test_is_used.cpp | KOLANICH/argparse | ccf3920ce205b02f09325c8f454e2fe9ce4edfb5 | [
"MIT"
] | 108 | 2019-04-08T23:46:13.000Z | 2022-03-31T15:13:58.000Z | test/test_is_used.cpp | KOLANICH/argparse | ccf3920ce205b02f09325c8f454e2fe9ce4edfb5 | [
"MIT"
] | 144 | 2019-04-09T22:06:47.000Z | 2022-03-31T13:09:43.000Z | #include <doctest.hpp>
#include <argparse/argparse.hpp>
using doctest::test_suite;
TEST_CASE("User-supplied argument" * test_suite("is_used")) {
argparse::ArgumentParser program("test");
program.add_argument("--dir")
.default_value(std::string("/"));
program.parse_args({ "test", "--dir", "/home/user" });
... | 31.173913 | 65 | 0.658298 | KOLANICH |
4d108ef626f44e7134ef6d8bf438b938a501a2cd | 693 | hpp | C++ | engine/actions/include/HelpAction.hpp | sidav/shadow-of-the-wyrm | 747afdeebed885b1a4f7ab42f04f9f756afd3e52 | [
"MIT"
] | 60 | 2019-08-21T04:08:41.000Z | 2022-03-10T13:48:04.000Z | engine/actions/include/HelpAction.hpp | cleancoindev/shadow-of-the-wyrm | 51b23e98285ecb8336324bfd41ebf00f67b30389 | [
"MIT"
] | 3 | 2021-03-18T15:11:14.000Z | 2021-10-20T12:13:07.000Z | engine/actions/include/HelpAction.hpp | cleancoindev/shadow-of-the-wyrm | 51b23e98285ecb8336324bfd41ebf00f67b30389 | [
"MIT"
] | 8 | 2019-11-16T06:29:05.000Z | 2022-01-23T17:33:43.000Z | #pragma once
#include "IActionManager.hpp"
class HelpAction : public IActionManager
{
public:
ActionCostValue help(CreaturePtr creature) const;
ActionCostValue keybindings() const;
ActionCostValue introduction_roguelikes() const;
ActionCostValue game_history() const;
ActionCostValue strategy_basi... | 30.130435 | 130 | 0.776335 | sidav |
4d1329f20b33722b882c6ff82f332fc2ecf66051 | 2,096 | cpp | C++ | Homework/GraphingCalculator/GraphingCalculator/src/Token.cpp | benjaminmao123/PCC_CS003A | 0339d83ebab7536952644517a99dc46702035b2b | [
"MIT"
] | null | null | null | Homework/GraphingCalculator/GraphingCalculator/src/Token.cpp | benjaminmao123/PCC_CS003A | 0339d83ebab7536952644517a99dc46702035b2b | [
"MIT"
] | null | null | null | Homework/GraphingCalculator/GraphingCalculator/src/Token.cpp | benjaminmao123/PCC_CS003A | 0339d83ebab7536952644517a99dc46702035b2b | [
"MIT"
] | null | null | null | /*
* Author: Benjamin Mao
* Project: RPN
* Purpose: Base class for all the tokens
* which include Operand and Operators.
*
* Notes: None.
*/
#include "Token.h"
Token::Token()
: tokenType(TokenType::NONE), baseTokenType(TokenType::NONE),
numArgs(0)
{
}
/*
@summary: Getter for tokenString.
*/
... | 16.903226 | 65 | 0.678912 | benjaminmao123 |
4d16b136a894f70a6cffc9c0fa53590f89c3be6f | 1,194 | cpp | C++ | ige/src/ecs/Entity.cpp | Arcahub/ige | b9f61209c924c7b683d2429a07e76251e6eb7b1b | [
"MIT"
] | 3 | 2021-06-05T00:36:50.000Z | 2022-02-27T10:23:53.000Z | ige/src/ecs/Entity.cpp | Arcahub/ige | b9f61209c924c7b683d2429a07e76251e6eb7b1b | [
"MIT"
] | 11 | 2021-05-08T22:00:24.000Z | 2021-11-11T22:33:43.000Z | ige/src/ecs/Entity.cpp | Arcahub/ige | b9f61209c924c7b683d2429a07e76251e6eb7b1b | [
"MIT"
] | 4 | 2021-05-20T12:41:23.000Z | 2021-11-09T14:19:18.000Z | #include "igepch.hpp"
#include "ige/ecs/Entity.hpp"
#include <cstddef>
#include <cstdint>
using ige::ecs::EntityId;
using ige::ecs::EntityPool;
EntityId::EntityId(std::size_t index, std::uint64_t gen)
: m_index(index)
, m_generation(gen)
{
}
std::size_t EntityId::index() const
{
return m_index;
}
std::... | 18.65625 | 56 | 0.649079 | Arcahub |
4d16d978af99044cd4ad2b4654a67b9e32983efc | 623 | cpp | C++ | usaco/CountingLiars2022Bronze.cpp | datpq/competitive-programming | ed5733cc55fa4167c4a2e828894b044ea600dcac | [
"MIT"
] | 1 | 2022-02-24T21:35:18.000Z | 2022-02-24T21:35:18.000Z | usaco/CountingLiars2022Bronze.cpp | datpq/competitive-programming | ed5733cc55fa4167c4a2e828894b044ea600dcac | [
"MIT"
] | null | null | null | usaco/CountingLiars2022Bronze.cpp | datpq/competitive-programming | ed5733cc55fa4167c4a2e828894b044ea600dcac | [
"MIT"
] | 1 | 2022-02-12T14:40:21.000Z | 2022-02-12T14:40:21.000Z | #include <iostream>
#include <vector>
#include <map>
using namespace std;
int main() {
int n; cin >> n;
map<int, pair<int, int>> m;
int G = 0, L = 0;
while (n--) {
char c; int p; cin >> c >> p;
if (!m.count(p)) m[p] = { 0, 0 };
if (c == 'G') {
m[p].second++; G++;
... | 20.096774 | 41 | 0.41573 | datpq |
4d1823f52370dde40a424e8d058afbf43dbf2341 | 1,672 | hpp | C++ | irohad/model/converters/pb_transaction_factory.hpp | truongnmt/iroha | e9b969df9a0eb6ce62eae3ab62c5c3f046a5e6e1 | [
"Apache-2.0"
] | null | null | null | irohad/model/converters/pb_transaction_factory.hpp | truongnmt/iroha | e9b969df9a0eb6ce62eae3ab62c5c3f046a5e6e1 | [
"Apache-2.0"
] | null | null | null | irohad/model/converters/pb_transaction_factory.hpp | truongnmt/iroha | e9b969df9a0eb6ce62eae3ab62c5c3f046a5e6e1 | [
"Apache-2.0"
] | null | null | null | /**
* Copyright Soramitsu Co., Ltd. 2017 All Rights Reserved.
* http://soramitsu.co.jp
*
* 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/LICENS... | 30.4 | 77 | 0.669258 | truongnmt |
4d1c9ed2f5b09a76c4ea8b8c399d060f47dbaf87 | 10,555 | cpp | C++ | src/apps/webpositive/support/FontSelectionView.cpp | axeld/haiku | e3becd53eef5c093ee8c8f32bab51d40b0f2b8d4 | [
"MIT"
] | 4 | 2016-03-29T21:45:21.000Z | 2016-12-20T00:50:38.000Z | src/apps/webpositive/support/FontSelectionView.cpp | axeld/haiku | e3becd53eef5c093ee8c8f32bab51d40b0f2b8d4 | [
"MIT"
] | null | null | null | src/apps/webpositive/support/FontSelectionView.cpp | axeld/haiku | e3becd53eef5c093ee8c8f32bab51d40b0f2b8d4 | [
"MIT"
] | 3 | 2018-12-17T13:07:38.000Z | 2021-09-08T13:07:31.000Z | /*
* Copyright 2001-2010, Haiku.
* Distributed under the terms of the MIT License.
*
* Authors:
* Mark Hogben
* DarkWyrm <bpmagic@columbus.rr.com>
* Axel Dörfler, axeld@pinc-software.de
* Philippe Saint-Pierre, stpere@gmail.com
* Stephan Aßmus <superstippi@gmx.de>
*/
#include "FontSelectionView.h"
#inc... | 20.028463 | 79 | 0.714543 | axeld |
4d2112cc143eb22dbf48e50678e77ceb984a7d5c | 3,255 | cpp | C++ | GUIWidgets/BasicStreamEditor/DDTable.cpp | gladk/Dyssol-open | 53eb7b589ad03eb477d743ee6a90ee10297a9366 | [
"BSD-3-Clause"
] | 1 | 2020-07-31T07:10:11.000Z | 2020-07-31T07:10:11.000Z | GUIWidgets/BasicStreamEditor/DDTable.cpp | gladk/Dyssol-open | 53eb7b589ad03eb477d743ee6a90ee10297a9366 | [
"BSD-3-Clause"
] | null | null | null | GUIWidgets/BasicStreamEditor/DDTable.cpp | gladk/Dyssol-open | 53eb7b589ad03eb477d743ee6a90ee10297a9366 | [
"BSD-3-Clause"
] | 1 | 2021-03-04T06:44:38.000Z | 2021-03-04T06:44:38.000Z | /* Copyright (c) 2020, Dyssol Development Team. All rights reserved. This file is part of Dyssol. See LICENSE file for license information. */
#include "DDTable.h"
#include <QHeaderView>
CDDTable::CDDTable( QWidget *parent, Qt::WindowFlags flags ) : QWidget(parent, flags)
{
m_pData = NULL;
m_bNormalize = false;
m... | 26.25 | 142 | 0.691859 | gladk |
4d24dba9103c6edaab819e7c275ffc14e2841f72 | 1,852 | hpp | C++ | include/enum_tools.hpp | upobir/Enum_Tools | 3b99d4853d4d4a23b9254bc9b7a6530b9d0e19e8 | [
"MIT"
] | null | null | null | include/enum_tools.hpp | upobir/Enum_Tools | 3b99d4853d4d4a23b9254bc9b7a6530b9d0e19e8 | [
"MIT"
] | null | null | null | include/enum_tools.hpp | upobir/Enum_Tools | 3b99d4853d4d4a23b9254bc9b7a6530b9d0e19e8 | [
"MIT"
] | null | null | null | #ifdef GENERATE_DECLARATION_FOR
#define __SIGNATURE GENERATE_DECLARATION_FOR
#define __IMPL_DECLARATION(name, ...) \
{ \
__VA_ARGS__ \
}; \
char const * enumString(name e); \
template<typename T> \
std::vector<T> const enumValues(); \
template<typename T> \
int enumCount();
#define ENUM_CLASS(name, ...) \
enum cl... | 17.980583 | 60 | 0.721382 | upobir |
4d2699f1db5c4f512e3eb5c6a710a8ff327426e5 | 742 | hpp | C++ | src/preprocess/mt-metis-0.7.2/wildriver/src/VectorReaderFactory.hpp | curiosityyy/SubgraphMatchGPU | 7089496084d94a72693dca230ed5165cb94ae4a4 | [
"MIT"
] | 2 | 2017-07-25T19:46:52.000Z | 2018-02-13T15:24:02.000Z | external/mt-metis-0.7.2/wildriver/src/VectorReaderFactory.hpp | yfg/GDSP | 56fe2242b32d3a1efd24733d0ab30242ee3df2ba | [
"MIT"
] | 25 | 2017-07-20T02:35:49.000Z | 2018-12-21T01:43:42.000Z | external/mt-metis-0.7.2/wildriver/src/VectorReaderFactory.hpp | yfg/GDSP | 56fe2242b32d3a1efd24733d0ab30242ee3df2ba | [
"MIT"
] | null | null | null | /**
* @file VectorReaderFactory.hpp
* @brief Class for instantiating vector readers.
* @author Dominique LaSalle <wildriver@domnet.org>
* Copyright 2015-2016
* @version 1
* @date 2015-02-07
*/
#ifndef WILDRIVER_VECTORREADERFACTORY_HPP
#define WILDRIVER_VECTORREADERFACTORY_HPP
#include <memory>
#include ... | 13.017544 | 70 | 0.672507 | curiosityyy |
4d2c203b5abe796346d389d430964b001bd6a2be | 4,672 | cpp | C++ | SharedCode/SMbbox3d.cpp | timskillman/raspberrypi | bf5ce1fe98f2b6571a05da2e92a7b783441ac692 | [
"MIT"
] | 17 | 2018-11-17T14:41:54.000Z | 2021-12-07T17:01:21.000Z | SharedCode/SMbbox3d.cpp | timskillman/raspberrypi | bf5ce1fe98f2b6571a05da2e92a7b783441ac692 | [
"MIT"
] | 4 | 2018-10-18T05:43:57.000Z | 2020-10-01T22:03:08.000Z | SharedCode/SMbbox3d.cpp | timskillman/raspberrypi | bf5ce1fe98f2b6571a05da2e92a7b783441ac692 | [
"MIT"
] | 4 | 2018-10-18T05:15:57.000Z | 2020-11-04T04:13:46.000Z | #include "SMbbox3d.h"
#ifdef __WINDOWS__
#include <cmath>
#endif
void SMbbox3d::init()
{
min = vec3f(1e8, 1e8, 1e8);
max = vec3f(-1e8, -1e8, -1e8);
radius = 0;
}
SMbbox3d::SMbbox3d(vec3f _min, vec3f _max)
{
init();
}
void SMbbox3d::update(vec3f point)
{
if (point.x < min.x) min.x = point.x;
if (point.x > ma... | 32.22069 | 136 | 0.648545 | timskillman |
4d2cd2c663b134e7f69151b525afbc5308ac77b0 | 571 | hpp | C++ | include/mgard-x/MDR/Writer/WriterInterface.hpp | JieyangChen7/MGARD | acec8facae1e2767a3adff2bb3c30f3477e69bdb | [
"Apache-2.0"
] | null | null | null | include/mgard-x/MDR/Writer/WriterInterface.hpp | JieyangChen7/MGARD | acec8facae1e2767a3adff2bb3c30f3477e69bdb | [
"Apache-2.0"
] | null | null | null | include/mgard-x/MDR/Writer/WriterInterface.hpp | JieyangChen7/MGARD | acec8facae1e2767a3adff2bb3c30f3477e69bdb | [
"Apache-2.0"
] | null | null | null | #ifndef _MDR_WRITER_INTERFACE_HPP
#define _MDR_WRITER_INTERFACE_HPP
namespace MDR {
namespace concepts {
// Refactored data writer
class WriterInterface {
public:
virtual ~WriterInterface() = default;
virtual std::vector<uint32_t> write_level_components(
const std::vector<std::vector<uint8_t *>> &level_com... | 24.826087 | 80 | 0.744308 | JieyangChen7 |
4d325d3af3083b0d8034d923dfb5f15049d5fb9b | 15,456 | cpp | C++ | messungen/normalize_17-Trace/normalize/main.cpp | tihmstar/gido_public | dcc523603b9a27b37752211715a10e30b51ce812 | [
"Unlicense"
] | 16 | 2021-04-10T16:28:00.000Z | 2021-12-12T10:15:23.000Z | messungen/normalize_17-Trace/normalize/main.cpp | tihmstar/gido_public | dcc523603b9a27b37752211715a10e30b51ce812 | [
"Unlicense"
] | null | null | null | messungen/normalize_17-Trace/normalize/main.cpp | tihmstar/gido_public | dcc523603b9a27b37752211715a10e30b51ce812 | [
"Unlicense"
] | 2 | 2021-04-10T16:32:36.000Z | 2021-04-11T14:13:45.000Z | //
// main.cpp
// normalize
//
// Created by tihmstar on 31.10.19.
// Copyright © 2019 tihmstar. All rights reserved.
//
#include <iostream>
#include "Traces.hpp"
#include <vector>
#include <future>
#include <sys/stat.h>
#include <string.h>
#include <limits.h>
#include <tuple>
#include <algorithm>
#include <archiv... | 32.06639 | 216 | 0.522386 | tihmstar |
4d32964fecfdc00c83931a8d29dc1b4f3875822b | 491 | cpp | C++ | src/main.cpp | electromaggot/HelloVulkanSDL | 9f63569f1b902ec761d855d6829beead01e8f72b | [
"Unlicense"
] | 3 | 2019-12-05T04:46:47.000Z | 2021-09-04T23:14:27.000Z | src/main.cpp | electromaggot/HelloVulkanSDL | 9f63569f1b902ec761d855d6829beead01e8f72b | [
"Unlicense"
] | 2 | 2022-02-18T10:40:12.000Z | 2022-02-20T16:29:37.000Z | src/main.cpp | electromaggot/HelloVulkanSDL | 9f63569f1b902ec761d855d6829beead01e8f72b | [
"Unlicense"
] | null | null | null | //
// main.cpp
//
// Created 1/27/19 by Tadd Jensen
// © 0000 (uncopyrighted; use at will)
//
#include "HelloTriangle.h"
#include "AppConstants.h"
#include "Logging.h"
int main(int argc, char* argv[])
{
AppConstants.setExePath(argv[0]);
LogStartup();
HelloApplication app;
try {
app.Init();
app.Run();
} ca... | 15.34375 | 38 | 0.653768 | electromaggot |
2ec179ff2601e6190d42b11645f386ca07d2a501 | 3,190 | cpp | C++ | backends/analysis/ub/ControlLattice.cpp | dragosdmtrsc/bf4 | 2e15e50acc4314737d99093b3d900fa44d795958 | [
"Apache-2.0"
] | 10 | 2020-08-05T12:52:37.000Z | 2021-05-20T02:15:04.000Z | backends/analysis/ub/ControlLattice.cpp | shellqiqi/bf4 | 6c99c8f5b0dc61cf2cb7602c9f13ada7b651703f | [
"Apache-2.0"
] | 4 | 2020-09-28T12:17:50.000Z | 2021-11-23T12:23:38.000Z | backends/analysis/ub/ControlLattice.cpp | shellqiqi/bf4 | 6c99c8f5b0dc61cf2cb7602c9f13ada7b651703f | [
"Apache-2.0"
] | 2 | 2020-10-13T07:59:42.000Z | 2021-12-08T21:35:05.000Z | //
// Created by dragos on 17.12.2019.
//
#include "ControlLattice.h"
#include "AnalysisContext.h"
namespace analysis {
ControlLattice::ControlLattice(ReferenceMap *refMap, TypeMap *typeMap,
const CFG *g, NodeToFunctionMap *funmap)
: refMap(refMap), typeMap(typeMap), cfg(g), funmap... | 32.886598 | 77 | 0.655799 | dragosdmtrsc |
2ec4fcdf2bcc951a27ba495a8edaa1a6c512fa79 | 905 | cpp | C++ | src/pwc.cpp | CardinalModules/TheXOR | 910b76622c9100d9755309adf76542237c6d3a77 | [
"CC0-1.0"
] | 1 | 2021-12-12T22:08:23.000Z | 2021-12-12T22:08:23.000Z | src/pwc.cpp | CardinalModules/TheXOR | 910b76622c9100d9755309adf76542237c6d3a77 | [
"CC0-1.0"
] | null | null | null | src/pwc.cpp | CardinalModules/TheXOR | 910b76622c9100d9755309adf76542237c6d3a77 | [
"CC0-1.0"
] | 1 | 2021-12-12T22:08:29.000Z | 2021-12-12T22:08:29.000Z | #include "../include/pwc.hpp"
void pwc::process(const ProcessArgs &args)
{
float vOut = 0;
if(trigger.process(inputs[IN].getVoltage()))
{
float v = (0.001f+params[PW].getValue()) * 0.01f; // valore in secondi
pulsed.trigger(v);
vOut = LVL_MAX;
} else
{
float deltaTime = 1.0 / args.sampleRate;
int pu... | 24.459459 | 109 | 0.666298 | CardinalModules |
2ec8bf18bba624a9745419c0f9f7a3e1b84c6f72 | 3,510 | cc | C++ | bazel/process-creation-times/createproc-win.cc | laszlocsomor/projects | fb0f8b62046c0c420dc409d2e44c10728028ea1a | [
"Apache-2.0"
] | 2 | 2018-02-21T13:51:38.000Z | 2019-09-10T19:35:15.000Z | bazel/process-creation-times/createproc-win.cc | laszlocsomor/projects | fb0f8b62046c0c420dc409d2e44c10728028ea1a | [
"Apache-2.0"
] | null | null | null | bazel/process-creation-times/createproc-win.cc | laszlocsomor/projects | fb0f8b62046c0c420dc409d2e44c10728028ea1a | [
"Apache-2.0"
] | 2 | 2018-08-14T11:31:21.000Z | 2020-01-10T15:47:49.000Z | #define _CRT_SECURE_NO_WARNINGS
#include <Windows.h>
#include <string.h>
#include <algorithm>
#include <array>
#include <iostream>
bool RunProc(char* cmdline, LARGE_INTEGER* create_time, LARGE_INTEGER* full_time) {
LARGE_INTEGER start;
QueryPerformanceCounter(&start);
PROCESS_INFORMATION processInfo;
STARTUPI... | 42.289157 | 118 | 0.623932 | laszlocsomor |
2eca4984678648b60563a603980246481717f2a0 | 11,470 | cc | C++ | src/argh/argh.cc | shrimpster00/argh | e9570ec712573156b04b0b29395877cf8d76da10 | [
"MIT"
] | 1 | 2021-09-25T03:31:58.000Z | 2021-09-25T03:31:58.000Z | src/argh/argh.cc | shrimpster00/argh | e9570ec712573156b04b0b29395877cf8d76da10 | [
"MIT"
] | null | null | null | src/argh/argh.cc | shrimpster00/argh | e9570ec712573156b04b0b29395877cf8d76da10 | [
"MIT"
] | null | null | null | // src/argh/argh.cc
// v0.3.2
//
// Author: Cayden Lund
// Date: 09/28/2021
//
// This file contains the argh implementation.
// Use this utility to parse command line arguments.
//
// Copyright (C) 2021 Cayden Lund <https://github.com/shrimpster00>
// License: MIT <opensource.org/licenses/MIT>
#include "argh.h"
#in... | 36.762821 | 117 | 0.498344 | shrimpster00 |
2eca7bea048f63ca5a67b6620d40a90d3213291b | 48,187 | cpp | C++ | src/common.cpp | vadimostanin2/sneeze-detector | 2bac0d08cb4960b7dc16492b8c69ff1459dd9334 | [
"MIT"
] | 11 | 2015-04-18T23:42:44.000Z | 2021-04-03T18:23:44.000Z | src/common.cpp | vadimostanin2/sneeze-detector | 2bac0d08cb4960b7dc16492b8c69ff1459dd9334 | [
"MIT"
] | null | null | null | src/common.cpp | vadimostanin2/sneeze-detector | 2bac0d08cb4960b7dc16492b8c69ff1459dd9334 | [
"MIT"
] | 3 | 2017-06-02T17:07:08.000Z | 2019-04-18T05:59:48.000Z | /*
* common.c
*
* Created on: Nov 12, 2014
* Author: vostanin
*/
#include "common.h"
#include <unistd.h>
#include <errno.h>
#include <iostream>
#include <stdlib.h>
#include <algorithm>
#include "Mfcc.h"
#include "dtw.h"
RangeDistance global_ranges[] = {
{RANGE_1_E, 1},
{RANGE_2_E, 2},
{RANGE_4_E, 4}... | 26.047027 | 320 | 0.672567 | vadimostanin2 |
2ed50e6d8f1948cd6a2c2bc343aefc8919fb1b75 | 1,419 | cpp | C++ | 8 Hashing/4 unordered map/main.cpp | AdityaVSM/algorithms | 0ab0147a1e3905cf3096576a89cbce13de2673ed | [
"MIT"
] | null | null | null | 8 Hashing/4 unordered map/main.cpp | AdityaVSM/algorithms | 0ab0147a1e3905cf3096576a89cbce13de2673ed | [
"MIT"
] | null | null | null | 8 Hashing/4 unordered map/main.cpp | AdityaVSM/algorithms | 0ab0147a1e3905cf3096576a89cbce13de2673ed | [
"MIT"
] | null | null | null | #include<bits/stdc++.h>
using namespace std;
/*
* used to store key-value pair
* unordered maps are implemented using hashing
* elements are arranged internally in any random order
* Repetitive elements can be stored
set.begin() -> O(1) in worst case
set.end() -> O(1) in worst case
set.size() -> O(1) in wo... | 24.465517 | 71 | 0.561663 | AdityaVSM |
2ee43c534273e25c33536761eec08a851552e0b2 | 1,093 | cpp | C++ | School/Clasa a XI-a/Septembrie 2016/sumtri1/main.cpp | AbeleMM/Algorithmic-Problems | 72a8014deeb20ba76189821b7428db06cd27a32e | [
"MIT"
] | 2 | 2019-11-26T13:52:39.000Z | 2022-03-09T16:52:39.000Z | School/Clasa a XI-a/Septembrie 2016/sumtri1/main.cpp | AbeleMM/Algorithmic-Problems | 72a8014deeb20ba76189821b7428db06cd27a32e | [
"MIT"
] | null | null | null | School/Clasa a XI-a/Septembrie 2016/sumtri1/main.cpp | AbeleMM/Algorithmic-Problems | 72a8014deeb20ba76189821b7428db06cd27a32e | [
"MIT"
] | null | null | null | #include <iostream>
#include <fstream>
using namespace std;
ifstream in("sumtri1.in");
ofstream out("sumtri1.out");
int v[102][102],n,mn,alt[102][102],jalt=1;
void fct(int i,int j){
if(i!=1 || j!=1){
if(j==1)
fct(i-1,j);
else if(j==i)
fct(i-1,j-1);
else if(v[i-1][j-1]... | 22.306122 | 42 | 0.37054 | AbeleMM |
2ee9dcc8b4f44d02e92dabb33a093d7861599580 | 2,989 | cc | C++ | scann/scann/oss_wrappers/scann_status_builder.cc | deepneuralmachine/google-research | d2ce2cf0f5c004f8d78bfeddf6e88e88f4840231 | [
"Apache-2.0"
] | 1 | 2021-01-08T03:21:19.000Z | 2021-01-08T03:21:19.000Z | scann/scann/oss_wrappers/scann_status_builder.cc | deepneuralmachine/google-research | d2ce2cf0f5c004f8d78bfeddf6e88e88f4840231 | [
"Apache-2.0"
] | null | null | null | scann/scann/oss_wrappers/scann_status_builder.cc | deepneuralmachine/google-research | d2ce2cf0f5c004f8d78bfeddf6e88e88f4840231 | [
"Apache-2.0"
] | null | null | null | // Copyright 2021 The Google Research 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... | 33.58427 | 80 | 0.748745 | deepneuralmachine |
2eeb73aac334c4959666b5084f63b760b01e46f7 | 791 | cpp | C++ | src/device_emulate.cpp | angainor/hwmalloc | 2cab9d95f90cef21d3cb7497c2e0fce73e8cc571 | [
"BSD-3-Clause"
] | null | null | null | src/device_emulate.cpp | angainor/hwmalloc | 2cab9d95f90cef21d3cb7497c2e0fce73e8cc571 | [
"BSD-3-Clause"
] | null | null | null | src/device_emulate.cpp | angainor/hwmalloc | 2cab9d95f90cef21d3cb7497c2e0fce73e8cc571 | [
"BSD-3-Clause"
] | null | null | null | /*
* ghex-org
*
* Copyright (c) 2014-2021, ETH Zurich
* All rights reserved.
*
* Please, refer to the LICENSE file in the root directory.
* SPDX-License-Identifier: BSD-3-Clause
*/
#include <hwmalloc/device.hpp>
#include <cstdlib>
#include <cstring>
namespace hwmalloc
{
int
get_num_devices()
{
return 1;
}
... | 13.637931 | 63 | 0.670038 | angainor |
2eeb80e260f7f969c492f7a386b7323d232ae4cd | 391 | hpp | C++ | Game/Game/src/Result.hpp | ikuramikan/get_the_cats | 58cebec03454a9fda246a20cdecb84ae41724ea4 | [
"MIT"
] | 1 | 2021-02-24T12:08:30.000Z | 2021-02-24T12:08:30.000Z | Game/Game/src/Result.hpp | ikuramikan/get_the_cats | 58cebec03454a9fda246a20cdecb84ae41724ea4 | [
"MIT"
] | null | null | null | Game/Game/src/Result.hpp | ikuramikan/get_the_cats | 58cebec03454a9fda246a20cdecb84ae41724ea4 | [
"MIT"
] | null | null | null | #pragma once
#include "Common.hpp"
#include "Cat_anime.hpp"
class Result : public MyApp::Scene
{
private:
const Font font{30};
RectF end_buttom{ Arg::center = Vec2{600, 470}, 200, 60 };
int32 game_score = getData().game_score;
Transition transition{ 0.4s, 0.2s };
Cat_anime cat_anime;
public:
Result(const InitD... | 17.772727 | 59 | 0.70844 | ikuramikan |
2eecf678bb3fb830e3786728008a85e6e3a5bd05 | 9,498 | cpp | C++ | src/afk/ui/Ui.cpp | christocs/ICT397 | 5ff6e4ed8757effad19b88fdb91f36504208f942 | [
"ISC"
] | null | null | null | src/afk/ui/Ui.cpp | christocs/ICT397 | 5ff6e4ed8757effad19b88fdb91f36504208f942 | [
"ISC"
] | null | null | null | src/afk/ui/Ui.cpp | christocs/ICT397 | 5ff6e4ed8757effad19b88fdb91f36504208f942 | [
"ISC"
] | null | null | null | #include "afk/ui/Ui.hpp"
#include <filesystem>
#include <vector>
#include <imgui/examples/imgui_impl_glfw.h>
#include <imgui/examples/imgui_impl_opengl3.h>
#include <imgui/imgui.h>
#include "afk/Afk.hpp"
#include "afk/debug/Assert.hpp"
#include "afk/io/Log.hpp"
#include "afk/io/Path.hpp"
#include "afk/renderer/Rende... | 30.056962 | 148 | 0.619604 | christocs |
2eef26d831511ea853beb50ca153acb93feecd97 | 1,738 | cpp | C++ | src/apps/haikudepot/util/RatingUtils.cpp | chamalwr/haiku | b2bf76c43decc3fc2de50c4750f830b16807ddef | [
"MIT"
] | 2 | 2020-02-02T06:48:30.000Z | 2020-04-05T13:58:32.000Z | src/apps/haikudepot/util/RatingUtils.cpp | honza1a/haiku | 3959883f5047e803205668d4eb7d083b2d81e2da | [
"MIT"
] | null | null | null | src/apps/haikudepot/util/RatingUtils.cpp | honza1a/haiku | 3959883f5047e803205668d4eb7d083b2d81e2da | [
"MIT"
] | null | null | null | /*
* Copyright 2020, Andrew Lindesay <apl@lindesay.co.nz>.
* All rights reserved. Distributed under the terms of the MIT License.
*/
#include <View.h>
#include "HaikuDepotConstants.h"
#include "RatingUtils.h"
BReference<SharedBitmap> RatingUtils::sStarBlueBitmap
= BReference<SharedBitmap>(new SharedBitmap(RSRC... | 22.868421 | 71 | 0.706559 | chamalwr |
2eef9c9d94e6311eb3d54f2b401e764e2273b930 | 538 | cpp | C++ | tests/src/good/StaticInternalVariableAddress_test.cpp | Ybalrid/jet-live | 14b909b00b98399d7e046cd8b7500a3fdfe0a0b1 | [
"MIT"
] | 325 | 2019-01-05T12:40:46.000Z | 2022-03-26T09:06:40.000Z | tests/src/good/StaticInternalVariableAddress_test.cpp | Ybalrid/jet-live | 14b909b00b98399d7e046cd8b7500a3fdfe0a0b1 | [
"MIT"
] | 23 | 2019-01-05T19:43:47.000Z | 2022-01-10T20:11:06.000Z | tests/src/good/StaticInternalVariableAddress_test.cpp | Ybalrid/jet-live | 14b909b00b98399d7e046cd8b7500a3fdfe0a0b1 | [
"MIT"
] | 29 | 2019-01-05T18:49:08.000Z | 2022-03-20T19:14:30.000Z |
#include <catch.hpp>
#include <iostream>
#include <thread>
#include "utility/StaticInternalVariableAddress.hpp"
#include "Globals.hpp"
#include "WaitForReload.hpp"
TEST_CASE("Relocation of static internal variable, comparing address", "[variable]")
{
auto oldVariableAddress = getStaticInternalVariableAddress();
... | 28.315789 | 84 | 0.758364 | Ybalrid |
2ef53b08ed9cdd1c32c0d9e916268f7bcc1488b5 | 2,638 | cpp | C++ | src/Scheduling/E_Task.cpp | martinc2907/KENS3-1 | f622c069da63b20102aee587209f288d0ff61292 | [
"MIT"
] | 1 | 2020-11-19T11:23:32.000Z | 2020-11-19T11:23:32.000Z | src/Scheduling/E_Task.cpp | martinc2907/KENS3-1 | f622c069da63b20102aee587209f288d0ff61292 | [
"MIT"
] | null | null | null | src/Scheduling/E_Task.cpp | martinc2907/KENS3-1 | f622c069da63b20102aee587209f288d0ff61292 | [
"MIT"
] | 1 | 2019-09-02T07:52:52.000Z | 2019-09-02T07:52:52.000Z | /*
* E_Task.cpp
*
* Created on: 2014. 12. 3.
* Author: Keunhong Lee
*/
#include <E/E_System.hpp>
#include <E/E_Module.hpp>
#include <E/Scheduling/E_Task.hpp>
#include <E/Scheduling/E_Computer.hpp>
#include <E/Scheduling/E_Job.hpp>
#include <E/Scheduling/E_Scheduler.hpp>
namespace E
{
PeriodicTask::Peri... | 19.984848 | 137 | 0.728961 | martinc2907 |
2ef6f08b927c25b94c1db02d189c595db8dd0221 | 11,899 | cpp | C++ | src/CacheManager.cpp | MyunginLee/tinc | d5d681d6fddca5fe9c194df0ba25902d785c895f | [
"BSD-3-Clause"
] | null | null | null | src/CacheManager.cpp | MyunginLee/tinc | d5d681d6fddca5fe9c194df0ba25902d785c895f | [
"BSD-3-Clause"
] | 2 | 2020-12-22T19:22:37.000Z | 2020-12-22T19:44:09.000Z | src/CacheManager.cpp | MyunginLee/tinc | d5d681d6fddca5fe9c194df0ba25902d785c895f | [
"BSD-3-Clause"
] | 3 | 2020-07-23T00:16:54.000Z | 2022-02-05T08:28:34.000Z | #include "tinc/CacheManager.hpp"
#include <iostream>
#include <fstream>
#include <sstream>
#include "al/io/al_File.hpp"
#define TINC_META_VERSION_MAJOR 1
#define TINC_META_VERSION_MINOR 0
using namespace tinc;
// To regenerate this file run update_schema_cpp.sh
#include "tinc_cache_schema.cpp"
CacheManager::Cache... | 36.612308 | 79 | 0.575763 | MyunginLee |
2ef799625cf3bb8252f8682ac6587aaab8cbb875 | 622 | cpp | C++ | third_party/WebKit/Source/bindings/templates/dictionary_impl.cpp | wenfeifei/miniblink49 | 2ed562ff70130485148d94b0e5f4c343da0c2ba4 | [
"Apache-2.0"
] | 5,964 | 2016-09-27T03:46:29.000Z | 2022-03-31T16:25:27.000Z | third_party/WebKit/Source/bindings/templates/dictionary_impl.cpp | w4454962/miniblink49 | b294b6eacb3333659bf7b94d670d96edeeba14c0 | [
"Apache-2.0"
] | 459 | 2016-09-29T00:51:38.000Z | 2022-03-07T14:37:46.000Z | third_party/WebKit/Source/bindings/templates/dictionary_impl.cpp | w4454962/miniblink49 | b294b6eacb3333659bf7b94d670d96edeeba14c0 | [
"Apache-2.0"
] | 1,006 | 2016-09-27T05:17:27.000Z | 2022-03-30T02:46:51.000Z | {% include 'copyright_block.txt' %}
#include "config.h"
#include "{{cpp_class}}.h"
{% for filename in cpp_includes %}
#include "{{filename}}"
{% endfor %}
namespace blink {
{# Constructor #}
{{cpp_class}}::{{cpp_class}}()
{
{% for member in members if member.cpp_default_value %}
{{member.setter_name}}({{memb... | 20.733333 | 59 | 0.630225 | wenfeifei |
2efa49e56c80c9ecd4a078791134a409ab19f01a | 360 | cpp | C++ | socket/tcp_socket.cpp | xqq/drawboard | 993f0f90c127c51ad5837656fc1383b2d9e7ddde | [
"MIT"
] | 10 | 2020-01-18T09:28:47.000Z | 2020-04-28T15:37:42.000Z | socket/tcp_socket.cpp | xqq/drawboard | 993f0f90c127c51ad5837656fc1383b2d9e7ddde | [
"MIT"
] | 1 | 2020-04-28T15:29:52.000Z | 2020-04-28T15:35:03.000Z | socket/tcp_socket.cpp | xqq/drawboard | 993f0f90c127c51ad5837656fc1383b2d9e7ddde | [
"MIT"
] | 2 | 2020-01-20T06:54:26.000Z | 2022-01-11T09:01:42.000Z | //
// @author magicxqq <xqq@xqq.im>
//
#include "tcp_socket.hpp"
#ifndef _WIN32
#include "tcp_socket_posix.hpp"
#else
#include "tcp_socket_winsock.hpp"
#endif
TcpSocket* TcpSocket::Create() {
TcpSocket* socket = nullptr;
#ifndef _WIN32
socket = new TcpSocketPosix();
#else
socket = new TcpSocket... | 14.4 | 37 | 0.677778 | xqq |
2efbe52d51c61fd110b20b361b1193a087607a7f | 940 | cpp | C++ | plugin/dllmain.cpp | matanki-saito/vic2dll | c5ecc1820ba6376ba83ab50cdf0087bb5eb20c41 | [
"MIT"
] | null | null | null | plugin/dllmain.cpp | matanki-saito/vic2dll | c5ecc1820ba6376ba83ab50cdf0087bb5eb20c41 | [
"MIT"
] | 15 | 2021-08-08T15:16:33.000Z | 2022-02-27T07:41:59.000Z | plugin/dllmain.cpp | matanki-saito/vic2dll | c5ecc1820ba6376ba83ab50cdf0087bb5eb20c41 | [
"MIT"
] | null | null | null | // dllmain.cpp : DLL アプリケーションのエントリ ポイントを定義します。
#include "pch.h"
#include "plugin.h"
#include "mod_download.h"
BOOL APIENTRY DllMain( HMODULE hModule,
DWORD ulReasonForCall,
LPVOID lpReserved
)
{
if (ulReasonForCall == DLL_PROCESS_ATTACH) {
BytePat... | 18.431373 | 50 | 0.626596 | matanki-saito |
2efcae515c322a32f0824a5328284a24682d69e4 | 1,846 | cpp | C++ | main.cpp | fhwedel-hoe/ueye_mjpeg_streamer | 3aec9638ffa764b22e798753a312ac5e8b61a468 | [
"MIT"
] | 2 | 2020-03-13T01:56:32.000Z | 2020-08-19T22:12:10.000Z | main.cpp | fhwedel-hoe/ueye_mjpeg_streamer | 3aec9638ffa764b22e798753a312ac5e8b61a468 | [
"MIT"
] | null | null | null | main.cpp | fhwedel-hoe/ueye_mjpeg_streamer | 3aec9638ffa764b22e798753a312ac5e8b61a468 | [
"MIT"
] | 1 | 2021-02-06T19:49:33.000Z | 2021-02-06T19:49:33.000Z | #include <iostream>
#include <cstring>
#include <cstdlib>
#include <vector>
#include <chrono>
#include <stdexcept>
#include <thread>
#include <memory>
#include <dlfcn.h>
#include "publisher.hpp"
#include "compress.hpp"
#include "serve.hpp"
#include "camera.hpp"
void capture(IPC_globals & ipc) {
for (;;) { // stre... | 33.563636 | 103 | 0.582882 | fhwedel-hoe |
2efd72ac39f7a136a4318c3720610d7cbf173798 | 3,459 | cpp | C++ | src/coremods/core_modules.cpp | BerilBBJ/beryldb | 6569b568796e4cea64fe7f42785b0319541a0284 | [
"BSD-3-Clause"
] | 206 | 2021-04-27T21:44:24.000Z | 2022-02-23T12:01:20.000Z | src/coremods/core_modules.cpp | BerilBBJ/beryldb | 6569b568796e4cea64fe7f42785b0319541a0284 | [
"BSD-3-Clause"
] | 10 | 2021-05-04T19:46:59.000Z | 2021-10-01T23:43:07.000Z | src/coremods/core_modules.cpp | berylcorp/beryl | 6569b568796e4cea64fe7f42785b0319541a0284 | [
"BSD-3-Clause"
] | 7 | 2021-04-28T16:17:56.000Z | 2021-12-10T01:14:42.000Z | /*
* BerylDB - A lightweight database.
* http://www.beryldb.com
*
* Copyright (C) 2021 - Carlos F. Ferry <cferry@beryldb.com>
*
* This file is part of BerylDB. BerylDB is free software: you can
* redistribute it and/or modify it under the terms of the BSD License
* version 3.
*
* More information about our l... | 24.707143 | 113 | 0.583117 | BerilBBJ |
2c00303aca9fea8f9a1ccc0474b81e684cafcf34 | 5,482 | hpp | C++ | include/mtao/types.hpp | mtao/core | 91f9bc6e852417989ed62675e2bb372e6afc7325 | [
"MIT"
] | null | null | null | include/mtao/types.hpp | mtao/core | 91f9bc6e852417989ed62675e2bb372e6afc7325 | [
"MIT"
] | 4 | 2020-04-18T16:16:05.000Z | 2020-04-18T16:17:36.000Z | include/mtao/types.hpp | mtao/core | 91f9bc6e852417989ed62675e2bb372e6afc7325 | [
"MIT"
] | null | null | null | #pragma once
// Verbose because clang/llvm pretend to have gnuc
#if defined(__GNUC__) && !defined(__llvm__) && !defined(__INTEL_COMPILER)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wint-in-bool-context"
#endif
#include <Eigen/Dense>
#if defined(__GNUC__) && !defined(__llvm__) && !defined(__INTEL_COMPI... | 29.315508 | 73 | 0.703393 | mtao |
2c03da1dd464fbc37bff173f8f70e58cea01bf5d | 562 | cpp | C++ | chapter01/1.4_Flow_of_Control/1.4.3_Reading_an_Unknown_Number_of_Inputs.cpp | NorthFacing/step-by-c | bc0e4f0c0fe45042ae367a28a87d03b5c3c787e3 | [
"MIT"
] | 9 | 2019-05-10T05:39:21.000Z | 2022-02-22T08:04:52.000Z | chapter01/1.4_Flow_of_Control/1.4.3_Reading_an_Unknown_Number_of_Inputs.cpp | NorthFacing/step-by-c | bc0e4f0c0fe45042ae367a28a87d03b5c3c787e3 | [
"MIT"
] | null | null | null | chapter01/1.4_Flow_of_Control/1.4.3_Reading_an_Unknown_Number_of_Inputs.cpp | NorthFacing/step-by-c | bc0e4f0c0fe45042ae367a28a87d03b5c3c787e3 | [
"MIT"
] | 6 | 2019-05-13T13:39:19.000Z | 2022-02-22T08:05:01.000Z | /**
* 1.4.3 读取数量不定的输入数据
* @Author Bob
* @Eamil 0haizhu0@gmail.com
* @Date 2017/6/26
*/
#include <iostream>
/**
* 读取数量不定的输入数据,
* 只有输入换行符(比如:\n)或者非法字符(非数字,但直接回车不会停止)的时候才会停止接收数据,输出运算结果
* @EOF EOF 是 end of file 的缩写,windows环境是:ctrl+Z,unix 环境是:ctrl+D,即可模拟(?)EOF
*/
int main(){
std::cout << "数量不定的输入数据:输入一系列整数(想... | 23.416667 | 79 | 0.635231 | NorthFacing |
2c03ebf0289ea27755cd98b27d0c4648d6331887 | 909 | hpp | C++ | libctrpf/include/CTRPluginFrameworkImpl/Menu/GatewayRAMDumper.hpp | MirayXS/Vapecord-ACNL-Plugin | 247eb270dfe849eda325cc0c6adc5498d51de3ef | [
"MIT"
] | null | null | null | libctrpf/include/CTRPluginFrameworkImpl/Menu/GatewayRAMDumper.hpp | MirayXS/Vapecord-ACNL-Plugin | 247eb270dfe849eda325cc0c6adc5498d51de3ef | [
"MIT"
] | null | null | null | libctrpf/include/CTRPluginFrameworkImpl/Menu/GatewayRAMDumper.hpp | MirayXS/Vapecord-ACNL-Plugin | 247eb270dfe849eda325cc0c6adc5498d51de3ef | [
"MIT"
] | null | null | null | #ifndef CTRPLUGINFRAMEWORKIMPL_GATEWAYRAMDUMPER_HPP
#define CTRPLUGINFRAMEWORKIMPL_GATEWAYRAMDUMPER_HPP
#include "types.h"
#include "CTRPluginFrameworkImpl/Search/Search.hpp"
namespace CTRPluginFramework
{
class GatewayRAMDumper
{
public:
GatewayRAMDumper(void);
~GatewayRAMDumper(void){}
... | 25.25 | 51 | 0.547855 | MirayXS |
2c089201d3bed722abb3d92e212d3fa43fe74a6e | 10,469 | cpp | C++ | engine/hid/src/hid.cpp | Epitaph128/defold | 554625a6438c38014b8f701c4a6e0ca684478618 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2020-11-13T09:03:39.000Z | 2020-11-13T09:03:45.000Z | engine/hid/src/hid.cpp | Epitaph128/defold | 554625a6438c38014b8f701c4a6e0ca684478618 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | engine/hid/src/hid.cpp | Epitaph128/defold | 554625a6438c38014b8f701c4a6e0ca684478618 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2020-07-06T08:54:02.000Z | 2020-07-06T08:54:02.000Z | // Copyright 2020 The Defold Foundation
// Licensed under the Defold License version 1.0 (the "License"); you may not use
// this file except in compliance with the License.
//
// You may obtain a copy of the License, together with FAQs at
// https://www.defold.com/license
//
// Unless required by applicable law or a... | 27.47769 | 135 | 0.560512 | Epitaph128 |
2c0a985f02c864619b7ede4d6f772be0853b8751 | 354 | cpp | C++ | ExpressionEvaluation/evaluation/operand/custom_function/custom_function.cpp | suiyili/Algorithms | d6ddc8262c5d681ecc78938b6140510793a29d91 | [
"MIT"
] | null | null | null | ExpressionEvaluation/evaluation/operand/custom_function/custom_function.cpp | suiyili/Algorithms | d6ddc8262c5d681ecc78938b6140510793a29d91 | [
"MIT"
] | null | null | null | ExpressionEvaluation/evaluation/operand/custom_function/custom_function.cpp | suiyili/Algorithms | d6ddc8262c5d681ecc78938b6140510793a29d91 | [
"MIT"
] | null | null | null | #include "custom_function.hpp"
namespace expression::evaluate {
custom_function::custom_function(evaluation_function user_function, const argument_compilers &compilers)
: operand(compilers),
user_function_(move(user_function)) {}
double custom_function::get_result(const std::valarray<double> &args) const {
... | 32.181818 | 104 | 0.788136 | suiyili |
2c0dcfcd6110029e98d6ac97cd541c2e43449ab1 | 2,484 | cpp | C++ | src/old_src/Pearson_test.cpp | doliinychenko/iSS | 9391b8830e385c0f5f1600a1cfd1ad355ea582c5 | [
"MIT"
] | 4 | 2018-11-29T14:34:55.000Z | 2020-11-25T14:44:32.000Z | src/old_src/Pearson_test.cpp | doliinychenko/iSS | 9391b8830e385c0f5f1600a1cfd1ad355ea582c5 | [
"MIT"
] | 1 | 2020-04-05T01:17:31.000Z | 2020-04-05T01:17:31.000Z | src/old_src/Pearson_test.cpp | doliinychenko/iSS | 9391b8830e385c0f5f1600a1cfd1ad355ea582c5 | [
"MIT"
] | 6 | 2018-04-06T17:08:35.000Z | 2020-10-19T19:10:38.000Z | // Ver 1.1
// Note that all calculations are done at a given particle rapidity y; and all
// "y_minus_y_minus_eta_s" appearences in the code are y-y_minus_eta_s.
#include<iostream>
#include<sstream>
#include<string>
#include<fstream>
#include<cmath>
#include<iomanip>
#include<vector>
#include<stdio.h>
#include<stdlib.... | 28.551724 | 114 | 0.53744 | doliinychenko |
2c0e69620b0dd8f94f782d65279b6e7313c63381 | 7,812 | cxx | C++ | src/filter/vtkPCLMovingLeastSquaresFilter.cxx | Kitware/ParaView-PCLPlugin | e3948034d6d105b22e3dffad20d8b8149e000d79 | [
"Apache-2.0"
] | 5 | 2019-10-11T14:09:10.000Z | 2021-07-31T20:01:53.000Z | src/filter/vtkPCLMovingLeastSquaresFilter.cxx | dys564843131/ParaView-PCLPlugin | a6c13164bfe46796647ea3a7b4433a28d61f0bbc | [
"Apache-2.0"
] | null | null | null | src/filter/vtkPCLMovingLeastSquaresFilter.cxx | dys564843131/ParaView-PCLPlugin | a6c13164bfe46796647ea3a7b4433a28d61f0bbc | [
"Apache-2.0"
] | 2 | 2019-12-09T01:53:24.000Z | 2021-07-31T20:01:54.000Z | //==============================================================================
//
// Copyright 2012-2019 Kitware, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://w... | 34.263158 | 123 | 0.647593 | Kitware |
2c0fab5d22ae16693a4679df1ace86e3d7ce5bb0 | 3,459 | cpp | C++ | Old/Source/SceneModule.cpp | TinoTano/Games_Factory_2D | 116ec94f05eb805654f3d30735134e81eb873c60 | [
"MIT"
] | 1 | 2020-02-07T04:50:57.000Z | 2020-02-07T04:50:57.000Z | Old/Source/SceneModule.cpp | TinoTano/Games_Factory_2D | 116ec94f05eb805654f3d30735134e81eb873c60 | [
"MIT"
] | null | null | null | Old/Source/SceneModule.cpp | TinoTano/Games_Factory_2D | 116ec94f05eb805654f3d30735134e81eb873c60 | [
"MIT"
] | 1 | 2020-02-07T04:51:00.000Z | 2020-02-07T04:51:00.000Z | #include "SceneModule.h"
#include "GameObject.h"
#include "Application.h"
#include "CameraModule.h"
#include "ComponentTransform.h"
#include "Scene.h"
#include "Data.h"
#include "Log.h"
#include "FileSystemModule.h"
SceneModule::SceneModule(const char* moduleName, bool gameModule) : Module(moduleName, gameModule)
{
... | 19.432584 | 98 | 0.689217 | TinoTano |
2c0fb45aa4ab3d4f4eee4b6179bd5d949e05e07d | 5,464 | cpp | C++ | editor/source/widget/debugger/pass/debugger_pass.cpp | skarab/coffee-master | 6c3ff71b7f15735e41c9859b6db981b94414c783 | [
"MIT"
] | null | null | null | editor/source/widget/debugger/pass/debugger_pass.cpp | skarab/coffee-master | 6c3ff71b7f15735e41c9859b6db981b94414c783 | [
"MIT"
] | null | null | null | editor/source/widget/debugger/pass/debugger_pass.cpp | skarab/coffee-master | 6c3ff71b7f15735e41c9859b6db981b94414c783 | [
"MIT"
] | null | null | null | #include "widget/debugger/pass/debugger_pass.h"
namespace coffee_editor
{
//-META---------------------------------------------------------------------------------------//
COFFEE_BeginType(widget::DebuggerPass);
COFFEE_Ancestor(graphics::FramePass);
COFFEE_EndType();
namespace widget
{
//-CONS... | 40.474074 | 126 | 0.551428 | skarab |
2c10dff7684bfd5c53d6b9c0e57ff82bc948d935 | 8,803 | cpp | C++ | app/src/main/cpp/src/wallOverlap.cpp | CCH852573130/3DPrinting11 | dfe6e6c1a17c1a222d93c5c835c67e5b43999024 | [
"MIT"
] | null | null | null | app/src/main/cpp/src/wallOverlap.cpp | CCH852573130/3DPrinting11 | dfe6e6c1a17c1a222d93c5c835c67e5b43999024 | [
"MIT"
] | null | null | null | app/src/main/cpp/src/wallOverlap.cpp | CCH852573130/3DPrinting11 | dfe6e6c1a17c1a222d93c5c835c67e5b43999024 | [
"MIT"
] | 3 | 2020-04-12T01:53:41.000Z | 2020-07-06T08:07:49.000Z | /** Copyright (C) 2016 Ultimaker - Released under terms of the AGPLv3 License */
#include "wallOverlap.h"
#include <cmath> // isfinite
#include <sstream>
#include "utils/AABB.h" // for debug output svg html
#include "utils/SVG.h"
namespace cura
{
WallOverlapComputation::WallOverlapComputation(Polygons& polygons, c... | 39.475336 | 201 | 0.607861 | CCH852573130 |
2c11fe91348d6a10133757e74e6d5e77d9ecf30b | 5,903 | cpp | C++ | src/layer/convolution1d.cpp | jonetomtom/ncnn | 6c2cee818668bc19ce3fbcd68e3964283050554b | [
"BSD-3-Clause"
] | 14 | 2021-07-30T11:03:47.000Z | 2021-08-24T08:08:23.000Z | src/layer/convolution1d.cpp | Timen/ncnn | 0d32389efd486358d58e18605c95c275f129e6fa | [
"BSD-3-Clause"
] | 72 | 2020-09-13T18:19:44.000Z | 2022-03-30T21:17:23.000Z | src/layer/convolution1d.cpp | Timen/ncnn | 0d32389efd486358d58e18605c95c275f129e6fa | [
"BSD-3-Clause"
] | 5 | 2021-09-12T03:26:28.000Z | 2021-10-09T07:39:15.000Z | // Tencent is pleased to support the open source community by making ncnn available.
//
// Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
//
// Licensed under the BSD 3-Clause License (the "License"); you may not use this file except
// in compliance with the License. You may obtain a copy ... | 29.368159 | 132 | 0.553786 | jonetomtom |
2c12a8ac7a3f1da1e55f6a1229ed3f71ad14d6da | 5,939 | cpp | C++ | src/array/service/io_locker/io_locker.cpp | poseidonos/poseidonos | 1d4a72c823739ef3eaf86e65c57d166ef8f18919 | [
"BSD-3-Clause"
] | 38 | 2021-04-06T03:20:55.000Z | 2022-03-02T09:33:28.000Z | src/array/service/io_locker/io_locker.cpp | poseidonos/poseidonos | 1d4a72c823739ef3eaf86e65c57d166ef8f18919 | [
"BSD-3-Clause"
] | 19 | 2021-04-08T02:27:44.000Z | 2022-03-23T00:59:04.000Z | src/array/service/io_locker/io_locker.cpp | poseidonos/poseidonos | 1d4a72c823739ef3eaf86e65c57d166ef8f18919 | [
"BSD-3-Clause"
] | 28 | 2021-04-08T04:39:18.000Z | 2022-03-24T05:56:00.000Z | /*
* BSD LICENSE
* Copyright (c) 2021 Samsung Electronics 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 th... | 29.112745 | 107 | 0.619465 | poseidonos |
2c16201d9f01279d05306ce5974b31a3ee0fc175 | 1,841 | cpp | C++ | ImportantExample/360/src/main/common/scorewidget.cpp | xiaohaijin/Qt | 54d961c6a8123d8e4daf405b7996aba4be9ab7ed | [
"MIT"
] | 3 | 2018-12-24T19:35:52.000Z | 2022-02-04T14:45:59.000Z | ImportantExample/360/src/main/common/scorewidget.cpp | xiaohaijin/Qt | 54d961c6a8123d8e4daf405b7996aba4be9ab7ed | [
"MIT"
] | null | null | null | ImportantExample/360/src/main/common/scorewidget.cpp | xiaohaijin/Qt | 54d961c6a8123d8e4daf405b7996aba4be9ab7ed | [
"MIT"
] | 1 | 2019-05-09T02:42:40.000Z | 2019-05-09T02:42:40.000Z | #include "scorewidget.h"
#include <QPainter>
#include "../../common/numbersanimwidget.h"
#include "../../common/common.h"
ScoreWidget::ScoreWidget(QWidget *parent)
: QWidget(parent)
{
this->setAttribute(Qt::WA_TranslucentBackground);
m_backgroundPix.load(":/main/examine_score");
this->setFixedSize(m_ba... | 28.323077 | 103 | 0.617056 | xiaohaijin |
2c17838f1d68291992228e8ab36c0665aec6ae8b | 690 | cpp | C++ | uva/11286.cpp | cosmicray001/Online_judge_Solutions- | 5dc6f90d3848eb192e6edea8e8c731f41a1761dd | [
"MIT"
] | 3 | 2018-01-08T02:52:51.000Z | 2021-03-03T01:08:44.000Z | uva/11286.cpp | cosmicray001/Online_judge_Solutions- | 5dc6f90d3848eb192e6edea8e8c731f41a1761dd | [
"MIT"
] | null | null | null | uva/11286.cpp | cosmicray001/Online_judge_Solutions- | 5dc6f90d3848eb192e6edea8e8c731f41a1761dd | [
"MIT"
] | 1 | 2020-08-13T18:07:35.000Z | 2020-08-13T18:07:35.000Z | #include <bits/stdc++.h>
using namespace std;
int main(){
freopen("input.txt", "r", stdin);
freopen("output.txt", "w", stdout);
int t, n[6];
char ch[20];
string s;
while(scanf("%d", &t) != EOF && t){
map<string, int> mp;
while(t--){
for(int i = 0; i < 5; scanf("%d", &n[i]), i++);
sort(n,... | 23 | 76 | 0.434783 | cosmicray001 |