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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
da7bbb45fd53c4163ebf9ea57ec06f95a34e6713 | 147 | cpp | C++ | Project1/Src/Object.cpp | yokamonian/Onepiece_Shooting_Game | a21605342e1cf79910b7a7d7c43af3fb18fde723 | [
"Unlicense"
] | null | null | null | Project1/Src/Object.cpp | yokamonian/Onepiece_Shooting_Game | a21605342e1cf79910b7a7d7c43af3fb18fde723 | [
"Unlicense"
] | null | null | null | Project1/Src/Object.cpp | yokamonian/Onepiece_Shooting_Game | a21605342e1cf79910b7a7d7c43af3fb18fde723 | [
"Unlicense"
] | null | null | null | #include "Object.h"
HRESULT Object::Init()
{
return S_OK;
}
void Object::Update()
{
}
void Object::Release()
{
}
void Object::Render()
{
}
| 6.681818 | 22 | 0.612245 | yokamonian |
da7f038633fb8fb72a8d6cca286d58b5e189ddf1 | 3,646 | cc | C++ | IO/TCPInputHandler.cc | jwillemsen/sidecar | 941d9f3b84d05ca405df1444d4d9fd0bde03887f | [
"MIT"
] | null | null | null | IO/TCPInputHandler.cc | jwillemsen/sidecar | 941d9f3b84d05ca405df1444d4d9fd0bde03887f | [
"MIT"
] | null | null | null | IO/TCPInputHandler.cc | jwillemsen/sidecar | 941d9f3b84d05ca405df1444d4d9fd0bde03887f | [
"MIT"
] | null | null | null | #include "IO/MessageManager.h"
#include "Logger/Log.h"
#include "Utils/Format.h"
#include "IOTask.h"
#include "TCPConnector.h"
#include "TCPInputHandler.h"
using namespace SideCar::IO;
Logger::Log&
TCPInputHandler::Log()
{
static Logger::Log& log_ = Logger::Log::Find("SideCar.IO.TCPInputHandler");
return log... | 29.168 | 112 | 0.639057 | jwillemsen |
da80f34b45079aa6187fb8433d36568e8b4a0af7 | 6,636 | cpp | C++ | LibSharpPhysX/Generated/PxFiltering.cpp | Alan-FGR/SharpPhysX | 9b6b49d34c94e2fd165ff50795ae36b32149751b | [
"MIT"
] | 23 | 2019-03-17T17:35:06.000Z | 2022-01-12T01:54:43.000Z | LibSharpPhysX/Generated/PxFiltering.cpp | Alan-FGR/SharpPhysX | 9b6b49d34c94e2fd165ff50795ae36b32149751b | [
"MIT"
] | 1 | 2019-05-10T22:14:33.000Z | 2019-05-10T22:48:29.000Z | LibSharpPhysX/Generated/PxFiltering.cpp | Alan-FGR/SharpPhysX | 9b6b49d34c94e2fd165ff50795ae36b32149751b | [
"MIT"
] | 5 | 2019-03-17T17:36:03.000Z | 2021-08-06T06:42:58.000Z | // Generated by minBND 5.1.94.90 - © github.com/Alan-FGR
ES PxPairFlagsPtr PxPairFlagsPtr_operator_Ptr_Pipe_PxPairFlag_PxPairFlag_(physx::PxPairFlag::Enum wrp_a, physx::PxPairFlag::Enum wrp_b){
auto ret = ::physx::operator|(wrp_a, wrp_b);
auto heap = new char[sizeof PxPairFlags];
std::memcpy(heap, &ret, si... | 50.272727 | 501 | 0.795961 | Alan-FGR |
da83b57ffb357dcd487208fe49a4d5b95b04ec01 | 7,808 | cpp | C++ | app/rec/rec_server_cli/src/command_executor.cpp | SirArep/ecal | 9860efeb4ce0ef168630136d33947da02ecf0490 | [
"Apache-2.0"
] | 493 | 2019-06-03T13:30:46.000Z | 2022-03-26T16:18:57.000Z | app/rec/rec_server_cli/src/command_executor.cpp | SirArep/ecal | 9860efeb4ce0ef168630136d33947da02ecf0490 | [
"Apache-2.0"
] | 249 | 2019-06-04T09:01:24.000Z | 2022-03-31T23:37:39.000Z | app/rec/rec_server_cli/src/command_executor.cpp | SirArep/ecal | 9860efeb4ce0ef168630136d33947da02ecf0490 | [
"Apache-2.0"
] | 114 | 2019-06-05T00:04:25.000Z | 2022-03-22T10:22:04.000Z | /* ========================= eCAL LICENSE =================================
*
* Copyright (C) 2016 - 2020 Continental Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* ... | 38.845771 | 271 | 0.597592 | SirArep |
da85f4026964f9d9d947e89e3a3db18e2007d68d | 1,443 | hpp | C++ | Network_Library_Windows/Header_Files/CNetworkLib.hpp | SebastienKeroack/MyEA | 5130056735199595c28c274cf67e7addb280aabc | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | Network_Library_Windows/Header_Files/CNetworkLib.hpp | SebastienKeroack/MyEA | 5130056735199595c28c274cf67e7addb280aabc | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | Network_Library_Windows/Header_Files/CNetworkLib.hpp | SebastienKeroack/MyEA | 5130056735199595c28c274cf67e7addb280aabc | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | /* Copyright 2020 Sébastien Kéroack. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed... | 40.083333 | 100 | 0.593902 | SebastienKeroack |
da8ced8c0b50f921522d08b1e017c00b2229741b | 10,917 | cpp | C++ | src/core/pointers.cpp | vanreeslab/murphy | 01c9c56171fcee33cb3c1c93c25617ccf7b8ff83 | [
"BSD-3-Clause"
] | 1 | 2021-12-01T22:12:56.000Z | 2021-12-01T22:12:56.000Z | src/core/pointers.cpp | vanreeslab/murphy | 01c9c56171fcee33cb3c1c93c25617ccf7b8ff83 | [
"BSD-3-Clause"
] | null | null | null | src/core/pointers.cpp | vanreeslab/murphy | 01c9c56171fcee33cb3c1c93c25617ccf7b8ff83 | [
"BSD-3-Clause"
] | null | null | null | // #include "pointers.hpp"
// //=============================================================================
// /**
// * @brief return a write access to the data
// *
// * @param i0 the index in dimension 0 = X
// * @param i1 the index in dimension 1 = Y
// * @param i2 the index in dimension 2 = Z
// * @param ... | 45.869748 | 173 | 0.48026 | vanreeslab |
da8dbf942ca4924ae4e1b66e3f8ee9801f97f1d5 | 54 | cxx | C++ | Software/CPU/myscrypt/build/cmake-3.12.3/Tests/SimpleInstallS2/lib3.cxx | duonglvtnaist/Multi-ROMix-Scrypt-Accelerator | 9cb9d96c72c3e912fb7cfd5a786e50e4844a1ee8 | [
"MIT"
] | 64 | 2015-03-06T00:30:56.000Z | 2022-03-24T13:26:53.000Z | Software/CPU/myscrypt/build/cmake-3.12.3/Tests/SimpleInstallS2/lib3.cxx | duonglvtnaist/Multi-ROMix-Scrypt-Accelerator | 9cb9d96c72c3e912fb7cfd5a786e50e4844a1ee8 | [
"MIT"
] | 12 | 2020-12-15T08:30:19.000Z | 2022-03-13T03:54:24.000Z | Software/CPU/myscrypt/build/cmake-3.12.3/Tests/SimpleInstallS2/lib3.cxx | duonglvtnaist/Multi-ROMix-Scrypt-Accelerator | 9cb9d96c72c3e912fb7cfd5a786e50e4844a1ee8 | [
"MIT"
] | 40 | 2015-02-26T15:31:16.000Z | 2022-03-03T23:23:37.000Z | #include "lib3.h"
float Lib3Func()
{
return 2.0;
}
| 7.714286 | 17 | 0.611111 | duonglvtnaist |
da967a87b0babaad96b1757ec934c50ed0e28c80 | 1,378 | cpp | C++ | src/shape_detector/src/reconfigure_parameter_manager.cpp | harrycomeon/ros_object_recognition | 064d3cbac1ffc31cba48461ee08961f9da540a28 | [
"MIT"
] | 68 | 2018-09-25T13:46:29.000Z | 2022-03-16T15:43:48.000Z | src/shape_detector/src/reconfigure_parameter_manager.cpp | harrycomeon/ros_object_recognition | 064d3cbac1ffc31cba48461ee08961f9da540a28 | [
"MIT"
] | 1 | 2019-02-05T05:18:24.000Z | 2020-02-16T15:36:33.000Z | src/shape_detector/src/reconfigure_parameter_manager.cpp | harrycomeon/ros_object_recognition | 064d3cbac1ffc31cba48461ee08961f9da540a28 | [
"MIT"
] | 27 | 2018-11-02T06:31:43.000Z | 2022-03-22T08:11:00.000Z | /** \file
* \brief Implementation of the ReconfigureParameterManager class.
*/
// std.
#include <functional> // bind(), placeholders
#include <algorithm> // max()
// Headers of this package.
#include <shape_detector/reconfigure_parameter_manager.h>
#include <shape_detector/shape_enum.h>
namespace shape_detector ... | 31.318182 | 86 | 0.75254 | harrycomeon |
da97c10aa8bcef4f262db68f43fe2a1dc466268d | 956 | cpp | C++ | source/stdiooutputstream.cpp | bondadmin/bond | 3fb698f0c8c4d92de088f87d17be2f41f1088c42 | [
"MIT"
] | null | null | null | source/stdiooutputstream.cpp | bondadmin/bond | 3fb698f0c8c4d92de088f87d17be2f41f1088c42 | [
"MIT"
] | null | null | null | source/stdiooutputstream.cpp | bondadmin/bond | 3fb698f0c8c4d92de088f87d17be2f41f1088c42 | [
"MIT"
] | null | null | null | #include "bond/io/stdiooutputstream.h"
#include "bond/systems/assert.h"
namespace Bond
{
StdioOutputStream::StdioOutputStream(const char *fileName):
mHandle(fileName, "wb"),
mFile(mHandle.GetFile())
{
if (!IsBound())
{
BOND_FAIL_FORMAT(("Failed to open file '%s' for writing.", fileName));
}
}
void StdioOu... | 18.384615 | 101 | 0.692469 | bondadmin |
da9c00b139ef348c5395b9317fa4db7cd6a79e72 | 347 | hpp | C++ | 020-hardcoded_dependencies/include/Encoder.hpp | platisd/refactoring-for-testablity-cpp | 126ee079c73c169bae8a31a2f2ccdc873e819cca | [
"MIT"
] | 33 | 2020-04-18T22:43:57.000Z | 2022-02-01T23:48:34.000Z | 020-hardcoded_dependencies/include/Encoder.hpp | platisd/refactoring-for-testablity-cpp | 126ee079c73c169bae8a31a2f2ccdc873e819cca | [
"MIT"
] | null | null | null | 020-hardcoded_dependencies/include/Encoder.hpp | platisd/refactoring-for-testablity-cpp | 126ee079c73c169bae8a31a2f2ccdc873e819cca | [
"MIT"
] | 7 | 2020-04-23T00:39:09.000Z | 2021-11-10T15:05:33.000Z | #ifndef CPP_REFACTORING_FOR_TESTABILITY_ENCODER_HPP
#define CPP_REFACTORING_FOR_TESTABILITY_ENCODER_HPP
struct Encoder
{
virtual ~Encoder() = default;
virtual void incrementPulses() = 0;
virtual void decrementPulses() = 0;
virtual double getDistance() const = 0;
};
#endif // CPP_REFACTORING_F... | 24.785714 | 53 | 0.760807 | platisd |
da9d2da2646decffb7492d4e40f4fad84c113804 | 20 | cpp | C++ | Morpheus-Core/Source/Morppch.cpp | Red-Scarlet/Morpheus-Engine | f9ddc2ab4bac5f6f8b2f7334358c47dcc558eec4 | [
"Apache-2.0"
] | 2 | 2020-11-07T12:38:16.000Z | 2020-11-21T01:36:49.000Z | Morpheus-Core/Source/Morppch.cpp | LegendaryDelta/Morpheus-Engine | f9ddc2ab4bac5f6f8b2f7334358c47dcc558eec4 | [
"Apache-2.0"
] | null | null | null | Morpheus-Core/Source/Morppch.cpp | LegendaryDelta/Morpheus-Engine | f9ddc2ab4bac5f6f8b2f7334358c47dcc558eec4 | [
"Apache-2.0"
] | null | null | null | #include "Morppch.h" | 20 | 20 | 0.75 | Red-Scarlet |
daa67dfa3d039f3f201985d5fa8ac0a4ea7474a1 | 6,523 | cpp | C++ | src/optimization/Dominators.cpp | LuciferDarkStar/USTC_2020_Compiler_Lab_cminus-f | 4ad49dac1b0c58c31ddbd0258e5674d91fc55ec5 | [
"MIT"
] | 2 | 2021-09-23T12:39:27.000Z | 2021-11-23T11:31:12.000Z | labs/cplab/src/optimization/Dominators.cpp | ltzheng/compiler-ustc | 4856701207876e73480a5c431c03d19b7dcce7a3 | [
"MIT"
] | null | null | null | labs/cplab/src/optimization/Dominators.cpp | ltzheng/compiler-ustc | 4856701207876e73480a5c431c03d19b7dcce7a3 | [
"MIT"
] | 1 | 2021-12-09T16:28:39.000Z | 2021-12-09T16:28:39.000Z | #include "Dominators.h"
#include <algorithm>
#include <string>
void Dominators::run()
{
for (auto f : m_->get_functions()) {
if (f->get_basic_blocks().size() == 0)
continue;
for (auto bb : f->get_basic_blocks() )
{
doms_.insert({bb ,{}});
idom_.insert({bb... | 28.36087 | 82 | 0.495631 | LuciferDarkStar |
daa69166317e2506f7ddf8f656c4c0ca3d2eaf66 | 2,401 | cpp | C++ | src/System/Utils.cpp | maddinat0r/cpp-gamemode-samp | ee36f3f322502f6faa997647d562bf25863e7791 | [
"MIT"
] | 1 | 2021-05-31T11:10:12.000Z | 2021-05-31T11:10:12.000Z | src/System/Utils.cpp | maddinat0r/cpp-gamemode-samp | ee36f3f322502f6faa997647d562bf25863e7791 | [
"MIT"
] | null | null | null | src/System/Utils.cpp | maddinat0r/cpp-gamemode-samp | ee36f3f322502f6faa997647d562bf25863e7791 | [
"MIT"
] | 1 | 2020-10-17T18:27:00.000Z | 2020-10-17T18:27:00.000Z | #pragma warning (disable: 4244 4018) //coversion from `long` to `float`, possible loss of data
#include <boost/spirit/include/qi.hpp>
#include <boost/spirit/include/karma.hpp>
#include <boost/thread/thread_pool.hpp>
#include <type_traits>
using namespace boost::spirit;
#include <System/Utils.h>
boost::basic_threa... | 31.181818 | 94 | 0.750104 | maddinat0r |
daa789341385cdb9d6f358f81fd7859ae271308e | 2,069 | cpp | C++ | vulkan-tools/tst/test-poc.cpp | m4c0/m4c0-stl | 5e47439528faee466270706534143c87b4af8cbb | [
"MIT"
] | null | null | null | vulkan-tools/tst/test-poc.cpp | m4c0/m4c0-stl | 5e47439528faee466270706534143c87b4af8cbb | [
"MIT"
] | null | null | null | vulkan-tools/tst/test-poc.cpp | m4c0/m4c0-stl | 5e47439528faee466270706534143c87b4af8cbb | [
"MIT"
] | null | null | null | #include "m4c0/assets/stb_image.hpp"
#include "m4c0/vulkan/buffer.hpp"
#include "m4c0/vulkan/buffer_memory_bind.hpp"
#include "m4c0/vulkan/command_buffer_list.hpp"
#include "m4c0/vulkan/device_memory.hpp"
#include "m4c0/vulkan/host_staged_image_buffer.hpp"
#include "m4c0/vulkan/image.hpp"
#include "m4c0/vulkan/image_me... | 38.314815 | 118 | 0.721605 | m4c0 |
daaab4c501b84b99a5cf7f0033e585cdb2fb0a72 | 3,540 | cc | C++ | master/kismet-2018-08-BETA1/kismet-2018-08-BETA1/dot11_parsers/dot11_ie_55_fastbss.cc | AlexRogalskiy/DevArtifacts | 931aabb8cbf27656151c54856eb2ea7d1153203a | [
"MIT"
] | 4 | 2018-09-07T15:35:24.000Z | 2019-03-27T09:48:12.000Z | master/kismet-2018-08-BETA1/kismet-2018-08-BETA1/dot11_parsers/dot11_ie_55_fastbss.cc | AlexRogalskiy/DevArtifacts | 931aabb8cbf27656151c54856eb2ea7d1153203a | [
"MIT"
] | 371 | 2020-03-04T21:51:56.000Z | 2022-03-31T20:59:11.000Z | master/kismet-2018-08-BETA1/kismet-2018-08-BETA1/dot11_parsers/dot11_ie_55_fastbss.cc | AlexRogalskiy/DevArtifacts | 931aabb8cbf27656151c54856eb2ea7d1153203a | [
"MIT"
] | 3 | 2019-06-18T19:57:17.000Z | 2020-11-06T03:55:08.000Z | /*
This file is part of Kismet
Kismet 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 version.
Kismet is distributed in the ... | 39.333333 | 141 | 0.721751 | AlexRogalskiy |
daac04226e5e33f6a7eebd64cea5e49d186d287b | 301 | hpp | C++ | lumino/Graphics/include/LuminoGraphics.hpp | lriki/Lumino | 1a80430f4a83dbdfbe965b3d5b16064991b3edb0 | [
"MIT"
] | 30 | 2016-01-24T05:35:45.000Z | 2020-03-03T09:54:27.000Z | lumino/Graphics/include/LuminoGraphics.hpp | lriki/Lumino | 1a80430f4a83dbdfbe965b3d5b16064991b3edb0 | [
"MIT"
] | 35 | 2016-04-18T06:14:08.000Z | 2020-02-09T15:51:58.000Z | lumino/Graphics/include/LuminoGraphics.hpp | lriki/Lumino | 1a80430f4a83dbdfbe965b3d5b16064991b3edb0 | [
"MIT"
] | 5 | 2016-04-03T02:52:05.000Z | 2018-01-02T16:53:06.000Z | #pragma once
#include <LuminoGraphics/RHI/Shader.hpp>
#include <LuminoGraphics/RHI/ShaderDescriptor.hpp>
#include <LuminoGraphics/RHI/VertexLayout.hpp>
#include <LuminoGraphics/RHI/VertexBuffer.hpp>
#include <LuminoGraphics/RHI/SwapChain.hpp>
#include <LuminoGraphics/RHI/GraphicsCommandBuffer.hpp>
| 33.444444 | 55 | 0.82392 | lriki |
daaf843c10a95d09460b96401cd665176b476ff6 | 9,430 | tpp | C++ | cml/mathlib/matrix/projection.tpp | egorodet/CML | e3fd8ccbe9775ff6e0e41fd6a274b557a80c9d1f | [
"BSL-1.0"
] | 125 | 2015-07-22T11:39:51.000Z | 2022-03-06T13:41:44.000Z | cml/mathlib/matrix/projection.tpp | egorodet/CML | e3fd8ccbe9775ff6e0e41fd6a274b557a80c9d1f | [
"BSL-1.0"
] | 45 | 2015-06-03T15:50:08.000Z | 2021-05-26T01:35:01.000Z | cml/mathlib/matrix/projection.tpp | egorodet/CML | e3fd8ccbe9775ff6e0e41fd6a274b557a80c9d1f | [
"BSL-1.0"
] | 28 | 2015-06-03T09:26:26.000Z | 2022-03-06T13:42:06.000Z | /* -*- C++ -*- ------------------------------------------------------------
@@COPYRIGHT@@
*-----------------------------------------------------------------------*/
/** @file
*/
#ifndef __CML_MATHLIB_MATRIX_PROJECTION_TPP
#error "mathlib/matrix/projection.tpp not included correctly"
#endif
#include <cml/common/mpl... | 27.175793 | 79 | 0.651432 | egorodet |
dab0b773ff931f5cb9db379528722734a5e3a1e6 | 2,488 | hh | C++ | include/finalfusion-cxx/Embeddings.hh | finalfusion/finalfusion-cxx | 46b48fdf0bf5ffddf5b005fc0755475c06ee41a3 | [
"BlueOak-1.0.0"
] | 1 | 2019-09-05T20:56:32.000Z | 2019-09-05T20:56:32.000Z | include/finalfusion-cxx/Embeddings.hh | finalfusion/finalfusion-cxx | 46b48fdf0bf5ffddf5b005fc0755475c06ee41a3 | [
"BlueOak-1.0.0"
] | 5 | 2019-08-31T16:47:51.000Z | 2019-09-28T07:22:00.000Z | include/finalfusion-cxx/Embeddings.hh | finalfusion/finalfusion-cxx | 46b48fdf0bf5ffddf5b005fc0755475c06ee41a3 | [
"BlueOak-1.0.0"
] | null | null | null | #ifndef FINALFUSION_CXX_EMBEDDINGS_HH
#define FINALFUSION_CXX_EMBEDDINGS_HH
#include <string>
#include <vector>
#include "finalfusion.h"
class EmbeddingsImpl;
/**
* Embeddings.
*/
class Embeddings {
public:
/**
* Embeddings Constructor.
*
* @param filename path to embeddings.
* @param mmap memmap em... | 26.468085 | 78 | 0.704984 | finalfusion |
dabaaeda0c63f05510a274c79837bf3404c87e9b | 208 | cpp | C++ | KakaotalkAdConcealer.Native/Rect.cpp | Sharp0802/KakaotalkAdConcealer | 8a590803cc8d9ba430ec1c8843d1ec0953ff849a | [
"MIT"
] | 2 | 2021-07-24T12:13:17.000Z | 2021-09-09T23:20:44.000Z | KakaotalkAdConcealer.Native/Rect.cpp | Sharp0802/KakaotalkAdConcealer | 8a590803cc8d9ba430ec1c8843d1ec0953ff849a | [
"MIT"
] | null | null | null | KakaotalkAdConcealer.Native/Rect.cpp | Sharp0802/KakaotalkAdConcealer | 8a590803cc8d9ba430ec1c8843d1ec0953ff849a | [
"MIT"
] | null | null | null | #include "Rect.h"
using namespace KakaotalkAdConcealer::Native;
Rect::Rect(const long top, const long left, const long bottom, const long right)
: _top(top), _left(left), _bottom(bottom), _right(right)
{
} | 26 | 80 | 0.740385 | Sharp0802 |
dac021af8016fb035cbc96fc99a31a4b6c4122c7 | 638 | cpp | C++ | UVA/uva 12646.cpp | dipta007/Competitive-Programming | 998d47f08984703c5b415b98365ddbc84ad289c4 | [
"MIT"
] | 6 | 2018-10-15T18:45:05.000Z | 2022-03-29T04:30:10.000Z | UVA/uva 12646.cpp | dipta007/Competitive-Programming | 998d47f08984703c5b415b98365ddbc84ad289c4 | [
"MIT"
] | null | null | null | UVA/uva 12646.cpp | dipta007/Competitive-Programming | 998d47f08984703c5b415b98365ddbc84ad289c4 | [
"MIT"
] | 4 | 2018-01-07T06:20:07.000Z | 2019-08-21T15:45:59.000Z | #include<cstdio>
#include<sstream>
#include<cstdlib>
#include<cctype>
#include<cmath>
#include<algorithm>
#include<set>
#include<queue>
#include<stack>
#include<list>
#include<iostream>
#include<fstream>
#include<numeric>
#include<string>
#include<vector>
#include<cstring>
#include<map>
#include<iterator>
using namespa... | 17.243243 | 42 | 0.550157 | dipta007 |
dac2a4cb380b26d30d35488f8c96f7c52e7af6c9 | 5,691 | cpp | C++ | tests/test_jsonobject.cpp | AkashMelethil/json | 3f66d5f16ce44dfbba520bc8b3359c501a48408e | [
"MIT"
] | null | null | null | tests/test_jsonobject.cpp | AkashMelethil/json | 3f66d5f16ce44dfbba520bc8b3359c501a48408e | [
"MIT"
] | 3 | 2022-03-10T19:01:19.000Z | 2022-03-11T02:38:43.000Z | tests/test_jsonobject.cpp | justkash/json | 3f66d5f16ce44dfbba520bc8b3359c501a48408e | [
"MIT"
] | null | null | null | #include <iostream>
#include <catch2/catch.hpp>
#include <json/jsonobject.hpp>
using namespace json;
SCENARIO("JSON object can be created successfully", "[object]") {
WHEN("a json object is created using the string constructor") {
JsonObject obj("{\"key\":\"value\"}");
THEN("the key value pair c... | 30.762162 | 88 | 0.519065 | AkashMelethil |
dacb05a57d5c88936318f3dc7444d918efcbf67e | 17,069 | cpp | C++ | src/learn_vk/vulkan_api.cpp | ref2401/cg | 4654377f94fe54945c33156911ca25e807c96236 | [
"MIT"
] | 2 | 2019-04-02T14:19:01.000Z | 2021-05-27T13:42:20.000Z | src/learn_vk/vulkan_api.cpp | ref2401/cg | 4654377f94fe54945c33156911ca25e807c96236 | [
"MIT"
] | 4 | 2016-11-05T14:17:14.000Z | 2017-03-30T15:03:37.000Z | src/learn_vk/vulkan_api.cpp | ref2401/cg | 4654377f94fe54945c33156911ca25e807c96236 | [
"MIT"
] | null | null | null | #include "learn_vk/vulkan_api.h"
#include <cassert>
#include <iostream>
#include <vector>
#include <windows.h>
#include "cg/base/base.h"
PFN_vkGetInstanceProcAddr vkGetInstanceProcAddr;
PFN_vkCreateInstance vkCreateInstance;
PFN_vkEnumerateInstanceExtensionProperties vkEnumerateInstanceExtensionProperties;
... | 58.858621 | 171 | 0.761849 | ref2401 |
dad0cc8ef1367aa12421376f718f794ad6fdf299 | 52,413 | cpp | C++ | codemp/botlib/be_ai_goal.cpp | xScooper/Makermod | ccf9e10f441503d7b12094168c542a3696ceb314 | [
"MIT"
] | 11 | 2015-09-27T22:53:26.000Z | 2021-12-25T05:04:12.000Z | codemp/botlib/be_ai_goal.cpp | xScooper/Makermod | ccf9e10f441503d7b12094168c542a3696ceb314 | [
"MIT"
] | 1 | 2016-02-14T14:28:39.000Z | 2017-01-11T13:03:39.000Z | codemp/botlib/be_ai_goal.cpp | xScooper/Makermod | ccf9e10f441503d7b12094168c542a3696ceb314 | [
"MIT"
] | 11 | 2015-10-19T15:37:24.000Z | 2022-02-07T05:00:20.000Z |
/*****************************************************************************
* name: be_ai_goal.c
*
* desc: goal AI
*
* $Archive: /MissionPack/code/botlib/be_ai_goal.c $
* $Author: Ttimo $
* $Revision: 14 $
* $Modtime: 4/13/01 4:45p $
* $Date: 4/13/01 4:45p $
*
*****************************************... | 29.021595 | 123 | 0.58268 | xScooper |
dad31bf2b48eedd765c0a51aa9259912a2894b1b | 973 | cpp | C++ | tests/machine/test_fetch.cpp | beebus/CPUfactory3 | 3331e63f2996542a6bc34d455e3b8d17d733d520 | [
"BSD-3-Clause"
] | null | null | null | tests/machine/test_fetch.cpp | beebus/CPUfactory3 | 3331e63f2996542a6bc34d455e3b8d17d733d520 | [
"BSD-3-Clause"
] | null | null | null | tests/machine/test_fetch.cpp | beebus/CPUfactory3 | 3331e63f2996542a6bc34d455e3b8d17d733d520 | [
"BSD-3-Clause"
] | 3 | 2019-04-16T00:18:39.000Z | 2019-08-30T18:20:46.000Z | // Copyright 2018 Roie R. Black
#include <catch.hpp>
#include "Fetch.h"
#include "Pin.h"
const std::string fname = "fetch";
TEST_CASE("test Fetch constructor", "[machine]"){
Fetch fetch(fname);
REQUIRE(fetch.get_name() == fname);
}
TEST_CASE("test fetch pin attachment", "machine") {
const std::string pcne... | 31.387097 | 54 | 0.661871 | beebus |
dad50216154f752e4a380839952b4e180a0ae33f | 6,390 | cpp | C++ | TriangleSection/Util/FileUtil.cpp | WalterWhiteCSU/triangleDomain | ca497d86df3317ddc3453677a023b1fa7a581991 | [
"MIT"
] | null | null | null | TriangleSection/Util/FileUtil.cpp | WalterWhiteCSU/triangleDomain | ca497d86df3317ddc3453677a023b1fa7a581991 | [
"MIT"
] | null | null | null | TriangleSection/Util/FileUtil.cpp | WalterWhiteCSU/triangleDomain | ca497d86df3317ddc3453677a023b1fa7a581991 | [
"MIT"
] | null | null | null | //
// Created by WalterWhite on 2021/6/7.
//
#include "FileUtil.h"
#include <iostream>
#include <string>
#include <sstream>
#include <fstream>
// rapidjson
#include <rapidjson/document.h>
#include <rapidjson/writer.h>
#include <rapidjson/stringbuffer.h>
#include <rapidjson/filewritestream.h>
#include <rapidjson/pret... | 35.5 | 111 | 0.561189 | WalterWhiteCSU |
dadc497c4bf6f4080f6444032e11c05081e89834 | 731 | cpp | C++ | introduction/insertionSort.cpp | eduardorasgado/AlgorithmsX | a14394fa6056a1f5474c7d10a19879896978f732 | [
"MIT"
] | null | null | null | introduction/insertionSort.cpp | eduardorasgado/AlgorithmsX | a14394fa6056a1f5474c7d10a19879896978f732 | [
"MIT"
] | null | null | null | introduction/insertionSort.cpp | eduardorasgado/AlgorithmsX | a14394fa6056a1f5474c7d10a19879896978f732 | [
"MIT"
] | null | null | null | #include <iostream>
void insertionSort(int*, int);
void print(int*, int);
int main(){
// insertion sort
int A[] = {6,3,8,2,1,9,8,0,7};
int *p_A = A;
int size = sizeof(A)/sizeof(*A);
print(p_A, size);
insertionSort(p_A, size);
std::cout << "Sorting ascending: " << "\n";
print(p_A, ... | 19.756757 | 47 | 0.440492 | eduardorasgado |
dae1c26ca7187f6647bfe627c8a49527d1ababba | 4,849 | cpp | C++ | assignment3/read_pcap.cpp | joycenerd/NP_2019 | aff8ec0bbefcb8ab41fb0cec0aa878103a975119 | [
"MIT"
] | null | null | null | assignment3/read_pcap.cpp | joycenerd/NP_2019 | aff8ec0bbefcb8ab41fb0cec0aa878103a975119 | [
"MIT"
] | null | null | null | assignment3/read_pcap.cpp | joycenerd/NP_2019 | aff8ec0bbefcb8ab41fb0cec0aa878103a975119 | [
"MIT"
] | null | null | null | #include <iostream>
#include <cstdio>
#include <cstring>
#include <netinet/in.h>
#include <netinet/ip.h>
#include <net/if.h>
#include <netinet/if_ether.h>
#include <pcap/pcap.h>
#include <netinet/tcp.h>
#include <net/ethernet.h>
#include <arpa/inet.h>
#include <time.h>
#include <cstdio>
#include "include/CSVWriter.h"
#... | 26.790055 | 152 | 0.599093 | joycenerd |
dae30cb754a4aff9b9578191483fd1a1f0fa4501 | 416 | hpp | C++ | src/serca_higg.hpp | anupgp/astron | 5ef1b113b5025f5e0477a1fb2b5202fadbc5335c | [
"MIT"
] | null | null | null | src/serca_higg.hpp | anupgp/astron | 5ef1b113b5025f5e0477a1fb2b5202fadbc5335c | [
"MIT"
] | null | null | null | src/serca_higg.hpp | anupgp/astron | 5ef1b113b5025f5e0477a1fb2b5202fadbc5335c | [
"MIT"
] | null | null | null | // Time-stamp: <2019-01-04 13:50:34 macbookair>
// Units: all SI units - seconds, Volts, Ampere, Meters, Simenes, Farads
// Ref: higgins2006; bartol2015
#ifndef SERCA_HIGG_HPP_INCLUDED
#define SERCA_HIGG_HPP_INCLUDED
#include "data_types.hpp"
#include "include/new_insilico.hpp"
class serca_higg
{
public:
static vo... | 23.111111 | 95 | 0.762019 | anupgp |
dae41734f4bf849448ab4a61ed2ef7c2b9b10de6 | 315 | cpp | C++ | bit_manipulation/first.cpp | sahilduhan/Learn-C-plus-plus | 80dba2ee08b36985deb297293a0318da5d6ace94 | [
"RSA-MD"
] | null | null | null | bit_manipulation/first.cpp | sahilduhan/Learn-C-plus-plus | 80dba2ee08b36985deb297293a0318da5d6ace94 | [
"RSA-MD"
] | null | null | null | bit_manipulation/first.cpp | sahilduhan/Learn-C-plus-plus | 80dba2ee08b36985deb297293a0318da5d6ace94 | [
"RSA-MD"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
int bit_test(int n, int pos)
{
return ((n & (1 << pos)) != 0);
}
int set_bit(int n, int pos)
{
return ((n | (1 << pos)));
}
int clear_bit(int n, int pos)
{
return ;
}
int main()
{
cout << bit_test(5, 2) << " ";
cout << set_bit(5, 1);
return 0;
} | 15.75 | 35 | 0.526984 | sahilduhan |
dae6ef874d85d5fc3be49d0b07e13fb2d06de4fc | 417 | cpp | C++ | src/Cargo.cpp | mrdepth/libdgmpp | 2721f7f905a2c015383868db5043c382fe682ab0 | [
"MIT"
] | 13 | 2016-04-30T17:14:59.000Z | 2021-08-19T01:52:38.000Z | src/Cargo.cpp | mrdepth/eufe | 2721f7f905a2c015383868db5043c382fe682ab0 | [
"MIT"
] | 7 | 2017-12-19T23:13:35.000Z | 2018-08-02T14:14:15.000Z | src/Cargo.cpp | mrdepth/eufe | 2721f7f905a2c015383868db5043c382fe682ab0 | [
"MIT"
] | 8 | 2016-01-26T16:52:37.000Z | 2021-10-15T08:29:48.000Z | //
// Cargo.cpp
// dgmpp
//
// Created by Artem Shimanski on 4/16/20.
//
#include "Cargo.hpp"
#include "SDE.hpp"
namespace dgmpp {
Cargo::Cargo (TypeID typeID): Type(typeID) {
}
Cargo::Cargo (const Cargo& other): Type(other), quantity_(other.quantity_) {
}
CubicMeter Cargo::volume() {
... | 18.954545 | 91 | 0.613909 | mrdepth |
dae86be255d3fafd6ebda06fc5a253f3b08af849 | 2,006 | cpp | C++ | src/heap.cpp | luxuia/img2sky | affd6d8a237f92a777aafc60cada1eae62a3b608 | [
"Unlicense"
] | 43 | 2015-03-25T18:09:43.000Z | 2017-12-03T21:35:17.000Z | src/heap.cpp | AGeorgy/img2sky | affd6d8a237f92a777aafc60cada1eae62a3b608 | [
"Unlicense"
] | 2 | 2021-04-10T08:14:06.000Z | 2022-03-26T13:14:05.000Z | src/heap.cpp | AGeorgy/img2sky | affd6d8a237f92a777aafc60cada1eae62a3b608 | [
"Unlicense"
] | 8 | 2018-03-05T12:13:34.000Z | 2021-07-19T02:12:57.000Z | #include <assert.h>
#include <iostream>
#include "Heap.h"
void Heap::swap(int i,int j)
{
heap_node tmp = ref(i);
ref(i) = ref(j);
ref(j) = tmp;
ref(i).obj->token = i;
ref(j).obj->token = j;
}
void Heap::upheap(int i)
{
if( i==0 ) return;
if( ref(i).import > ref(parent(i)).import ) {
... | 16.442623 | 79 | 0.530409 | luxuia |
daead5746a200b0abff2aa59ef5a0795bd404be7 | 37 | cpp | C++ | src/mqqrl_6.cpp | mganger/quantum-multiple-q-learning | 08d6c010cd9082b58f79bdc2da45a1cd6d1f512f | [
"MIT"
] | 1 | 2019-12-27T20:59:00.000Z | 2019-12-27T20:59:00.000Z | src/mqqrl_6.cpp | mganger/quantum-multiple-q-learning | 08d6c010cd9082b58f79bdc2da45a1cd6d1f512f | [
"MIT"
] | null | null | null | src/mqqrl_6.cpp | mganger/quantum-multiple-q-learning | 08d6c010cd9082b58f79bdc2da45a1cd6d1f512f | [
"MIT"
] | null | null | null | #include "mqqrl.h"
MAIN(mqqrl< 6 >)
| 12.333333 | 19 | 0.621622 | mganger |
daebd619f89f16e31af2ba1cc08b787262e69632 | 11,247 | cpp | C++ | opencv_src/modules/features2d/src/img_align/Settings.cpp | 10dimensions/imgalign | 99f18a15a06855dc5ba764679a1d75bfd0d2e782 | [
"MIT"
] | 163 | 2019-06-04T02:00:58.000Z | 2022-03-26T14:23:10.000Z | opencv_src/modules/features2d/src/img_align/Settings.cpp | shadowzhougit/imgalign | 99f18a15a06855dc5ba764679a1d75bfd0d2e782 | [
"MIT"
] | 8 | 2019-11-03T10:16:58.000Z | 2022-03-16T17:00:14.000Z | opencv_src/modules/features2d/src/img_align/Settings.cpp | shadowzhougit/imgalign | 99f18a15a06855dc5ba764679a1d75bfd0d2e782 | [
"MIT"
] | 29 | 2019-01-08T05:43:58.000Z | 2022-03-24T00:07:03.000Z |
#include "Settings.h"
#include <numeric>
#include "EnumTypes.h"
#include "LogUtils.h"
namespace imgalign
{
Settings::Settings()
{
init();
}
void Settings::init() {
paramValuesExt = {
{ eImageCap, { 300000.0f, "imageCap" } },
{ eImageCapInput, { 350000.0f, "imageCapInput" } },
{ eO... | 39.882979 | 115 | 0.676358 | 10dimensions |
daebd8b31412c47e1cd43a7a3d6a807c4ff1d6e2 | 2,332 | cc | C++ | packages/Utils/cxx11/tstLambda.cc | GCZhang/Profugus | d4d8fe295a92a257b26b6082224226ca1edbff5d | [
"BSD-2-Clause"
] | 19 | 2015-06-04T09:02:41.000Z | 2021-04-27T19:32:55.000Z | packages/Utils/cxx11/tstLambda.cc | GCZhang/Profugus | d4d8fe295a92a257b26b6082224226ca1edbff5d | [
"BSD-2-Clause"
] | null | null | null | packages/Utils/cxx11/tstLambda.cc | GCZhang/Profugus | d4d8fe295a92a257b26b6082224226ca1edbff5d | [
"BSD-2-Clause"
] | 5 | 2016-10-05T20:48:28.000Z | 2021-06-21T12:00:54.000Z | //----------------------------------*-C++-*----------------------------------//
/*!
* \file Utils/cxx11/tstLambda.cc
* \author Thomas M. Evans
* \date Wed May 14 10:58:36 2014
* \brief Lambda testing.
* \note Copyright (C) 2014 Oak Ridge National Laboratory, UT-Battelle, LLC.
*/
//-------------------------... | 27.435294 | 79 | 0.337907 | GCZhang |
daedf6b624780fc9e57d9e86cff2778ec1b877e6 | 276 | cpp | C++ | adder/half_adder.cpp | michaelbarrett/systemc | 8eacbd98321c19f868818ed2e72dc30d25a20bba | [
"Unlicense"
] | null | null | null | adder/half_adder.cpp | michaelbarrett/systemc | 8eacbd98321c19f868818ed2e72dc30d25a20bba | [
"Unlicense"
] | null | null | null | adder/half_adder.cpp | michaelbarrett/systemc | 8eacbd98321c19f868818ed2e72dc30d25a20bba | [
"Unlicense"
] | null | null | null | //=================================
// Function: Half Adder
// File Name: half_adder.cpp
//=================================
#include "half_adder.h"
//concurrent method prc_half_adder of the half adder
void half_adder :: prc_half_adder() {
sum = a ^ b;
carry = a & b;
}
| 23 | 52 | 0.507246 | michaelbarrett |
daeef00d83c7adc3031fa0a200470cd39c76d037 | 1,079 | cpp | C++ | Tools/InspectorPlugin/Log.cpp | Manuzor/ezEngine | 876ad33ef21c6b986bb9bb333b2a3cbfed2be5ef | [
"CC-BY-3.0"
] | null | null | null | Tools/InspectorPlugin/Log.cpp | Manuzor/ezEngine | 876ad33ef21c6b986bb9bb333b2a3cbfed2be5ef | [
"CC-BY-3.0"
] | null | null | null | Tools/InspectorPlugin/Log.cpp | Manuzor/ezEngine | 876ad33ef21c6b986bb9bb333b2a3cbfed2be5ef | [
"CC-BY-3.0"
] | 1 | 2020-03-08T04:55:16.000Z | 2020-03-08T04:55:16.000Z | #include <PCH.h>
#include <Foundation/Communication/Telemetry.h>
#include <Foundation/Logging/Log.h>
namespace ezLogWriter
{
/// \brief This log-writer will broadcast all messages through ezTelemetry, such that external applications can display the log messages.
class Telemetry
{
public:
/// \brief Registe... | 26.317073 | 139 | 0.733086 | Manuzor |
daf61643fa28a1da594f5e4a4023e362362f8029 | 412 | cc | C++ | main.cc | vycezhong/bandwidth-benchmark | 67e51b673b7cb463e2703e70f090387c90404ee3 | [
"MIT"
] | 1 | 2021-06-09T08:33:52.000Z | 2021-06-09T08:33:52.000Z | main.cc | vycezhong/bandwidth-benchmark | 67e51b673b7cb463e2703e70f090387c90404ee3 | [
"MIT"
] | null | null | null | main.cc | vycezhong/bandwidth-benchmark | 67e51b673b7cb463e2703e70f090387c90404ee3 | [
"MIT"
] | null | null | null | #include <cstdio>
#include <cstring>
#include <string>
extern void GPUBandwidthBenchmark(std::size_t);
extern void CPUBandwidthBenchmark(std::size_t);
int main(int argc, char* argv[]) {
std::size_t size = 100;
if (argc == 2) {
size = std::stol(argv[1]); // MB
}
printf("Transfer Size = %lu MB\n", size);
... | 19.619048 | 47 | 0.665049 | vycezhong |
daf720de260ca77bb6072c92fb8f50e68607ee15 | 16,538 | cpp | C++ | src/core/plugins/plg_curve_editor/models/curve.cpp | wgsyd/wgtf | d8cacb43e2c5d40080d33c18a8c2f5bd27d21bed | [
"BSD-3-Clause"
] | 28 | 2016-06-03T05:28:25.000Z | 2019-02-14T12:04:31.000Z | src/core/plugins/plg_curve_editor/models/curve.cpp | karajensen/wgtf | 740397bcfdbc02bc574231579d57d7c9cd5cc26d | [
"BSD-3-Clause"
] | null | null | null | src/core/plugins/plg_curve_editor/models/curve.cpp | karajensen/wgtf | 740397bcfdbc02bc574231579d57d7c9cd5cc26d | [
"BSD-3-Clause"
] | 14 | 2016-06-03T05:52:27.000Z | 2019-03-21T09:56:03.000Z | //-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
//
// curve.cpp
//
//------------------------------------------------------------------------------------------------------------------------... | 31.32197 | 177 | 0.585742 | wgsyd |
daf81c14e3bf977f09d0a12c2d3100fb3b80bf04 | 1,507 | cpp | C++ | c++/0354-russian-doll-envelopes.cpp | aafulei/leetcode | e3a0ef9c912abf99a1d6e56eff8802ba44b0057d | [
"MIT"
] | 2 | 2019-04-13T09:55:04.000Z | 2019-05-16T12:47:40.000Z | c++/0354-russian-doll-envelopes.cpp | aafulei/leetcode | e3a0ef9c912abf99a1d6e56eff8802ba44b0057d | [
"MIT"
] | null | null | null | c++/0354-russian-doll-envelopes.cpp | aafulei/leetcode | e3a0ef9c912abf99a1d6e56eff8802ba44b0057d | [
"MIT"
] | null | null | null | // 22/05/25 = Wed
// 354. Russian Doll Envelopes [Hard]
// You are given a 2D array of integers envelopes where envelopes[i] = [wi, hi]
// represents the width and the height of an envelope.
// One envelope can fit into another if and only if both the width and height of
// one envelope are greater than the other en... | 27.907407 | 80 | 0.583278 | aafulei |
dafaffb77c2aaec065ac75127617015800d67767 | 462 | cpp | C++ | nmslib/nms.cpp | psvvsp/NonMaximumSuppression | 35e151042320952909a53086d368fdae0fceda7d | [
"MIT"
] | null | null | null | nmslib/nms.cpp | psvvsp/NonMaximumSuppression | 35e151042320952909a53086d368fdae0fceda7d | [
"MIT"
] | null | null | null | nmslib/nms.cpp | psvvsp/NonMaximumSuppression | 35e151042320952909a53086d368fdae0fceda7d | [
"MIT"
] | null | null | null | #include "nms.h"
#include "nms_impl.h"
NMS::NMS()
{
m_impl = new NMS_impl();
}
NMS::~NMS()
{
delete m_impl;
}
bool NMS::doIt(
const std::vector<Box>& boxesIn,
const std::vector<real>& scoresIn,
real threshold,
std::vector<Box>& boxesOut,
std::vector<real>& scoresOut)
{
return m_impl-... | 16.5 | 75 | 0.649351 | psvvsp |
970421c4ffcb44e6f201e630996b8ef22cfbfb8d | 1,080 | cpp | C++ | src/satform.cpp | AssortedFantasy/SATSolver | 9cfce772938a8835970e59391346def1859cffc8 | [
"MIT"
] | 2 | 2019-04-30T17:36:10.000Z | 2022-03-14T01:34:58.000Z | src/satform.cpp | AssortedFantasy/SATSolver | 9cfce772938a8835970e59391346def1859cffc8 | [
"MIT"
] | null | null | null | src/satform.cpp | AssortedFantasy/SATSolver | 9cfce772938a8835970e59391346def1859cffc8 | [
"MIT"
] | null | null | null | #include "satform.h"
void reduce_associative(expression* a) {
// Reduce the associative Components of this
mathCore::recursive_combine_and(a);
mathCore::recursive_combine_or(a);
mathCore::recursive_combine_xor(a);
mathCore::recursive_combine_equiv(a);
}
/*
Everything is AND, OR and Negated Variables
*/
void st... | 19.636364 | 45 | 0.738889 | AssortedFantasy |
97052cba4cb032700231373a3cd0303f21dd0b26 | 4,643 | hxx | C++ | admin/netui/common/h/fmx.hxx | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | admin/netui/common/h/fmx.hxx | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | admin/netui/common/h/fmx.hxx | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | /**********************************************************************/
/** Microsoft LAN Manager **/
/** Copyright(c) Microsoft Corp., 1991 **/
/**********************************************************************/
/*
fmx.hxx
H... | 32.02069 | 80 | 0.474693 | npocmaka |
9705a8519202bf9964c508cbf20a41f94f9f4646 | 2,062 | cpp | C++ | src/txt.cpp | nfsu/pkm_iv | df661cbbd1f7b3d5c25b853aefa01f58b2150a51 | [
"MIT"
] | null | null | null | src/txt.cpp | nfsu/pkm_iv | df661cbbd1f7b3d5c25b853aefa01f58b2150a51 | [
"MIT"
] | null | null | null | src/txt.cpp | nfsu/pkm_iv | df661cbbd1f7b3d5c25b853aefa01f58b2150a51 | [
"MIT"
] | null | null | null | #include "txt.hpp"
#include <algorithm>
namespace pkm_iv {
//Shout outs to PPRE once again
Txt Txt::parse(Buffer b) {
Buffer beg = b.clone();
FINALLY(beg.dealloc(););
auto head = b.consume<TxtHeader>();
u16 key = u16(head.seed * 0x2FD);
List<TxtEntry> stArr;
for (usz i = 0; i < head.num; ++i) {
... | 18.247788 | 79 | 0.575655 | nfsu |
8cc8caae9d103143e70fe2313a7753e363f4d9cf | 2,159 | hpp | C++ | src/mlpack/methods/ann/loss_functions/empty_loss.hpp | oblanchet/mlpack | e02ab3be544694294d2f73bd12a98d0d162ef3af | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 4,216 | 2015-01-01T02:06:12.000Z | 2022-03-31T19:12:06.000Z | src/mlpack/methods/ann/loss_functions/empty_loss.hpp | oblanchet/mlpack | e02ab3be544694294d2f73bd12a98d0d162ef3af | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2,621 | 2015-01-01T01:41:47.000Z | 2022-03-31T19:01:26.000Z | src/mlpack/methods/ann/loss_functions/empty_loss.hpp | oblanchet/mlpack | e02ab3be544694294d2f73bd12a98d0d162ef3af | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1,972 | 2015-01-01T23:37:13.000Z | 2022-03-28T06:03:41.000Z | /**
* @file methods/ann/loss_functions/empty_loss.hpp
* @author Xiaohong Ji
*
* Definition of empty loss function. Sometimes, the user may want to calculate
* the loss outside of the model, so we have created an empty loss that does
* nothing.
*
* mlpack is free software; you may redistribute it and/or modify i... | 29.175676 | 79 | 0.708661 | oblanchet |
8ccbbbf9cb1b558605c90df0b5a825efddd03ce4 | 1,788 | cpp | C++ | uva/uva11925/save1.cpp | oklen/my-soluation | 56d6c32f0a328332b090f9d633365b75605f4616 | [
"MIT"
] | null | null | null | uva/uva11925/save1.cpp | oklen/my-soluation | 56d6c32f0a328332b090f9d633365b75605f4616 | [
"MIT"
] | null | null | null | uva/uva11925/save1.cpp | oklen/my-soluation | 56d6c32f0a328332b090f9d633365b75605f4616 | [
"MIT"
] | null | null | null | //#include <iostream>
//#include <deque>
//#include <queue>
//using namespace std;
//int main()
//{
// int n;
// while(scanf("%d",&n)&&n){
// deque<int> nd;int nn,mx = -1,cnt=0,mi = 0xfffffff;
// for(int i = 0;i<n;++i){
// scanf("%d",&nn);
// mx = max(mx,nn);
// mi ... | 30.305085 | 63 | 0.32047 | oklen |
8ccbeb104dcdc8d88ab844e90055f1c60e25daa7 | 1,139 | cpp | C++ | src/MainWindow.cpp | oneminute/Penmanship | f1f7d8606954aa872f0e26b6d090a4fafa16c4f4 | [
"MIT"
] | null | null | null | src/MainWindow.cpp | oneminute/Penmanship | f1f7d8606954aa872f0e26b6d090a4fafa16c4f4 | [
"MIT"
] | null | null | null | src/MainWindow.cpp | oneminute/Penmanship | f1f7d8606954aa872f0e26b6d090a4fafa16c4f4 | [
"MIT"
] | null | null | null | #include "MainWindow.h"
#include <ui/ui_MainWindow.h>
#include "EditGraphicsViewer.h"
#include "EditGraphicsScene.h"
#include "CellItem.h"
MainWindow::MainWindow(QWidget* parent)
: QMainWindow(parent)
, m_ui(new Ui::MainWindow)
{
m_ui->setupUi(this);
m_viewer = new EditGraphicsViewer(this);
m_scen... | 25.311111 | 92 | 0.730465 | oneminute |
8cce7e10bab58a703f3b81e93900e17fa39e9a2b | 1,072 | cpp | C++ | tests/test_function.cpp | te9yie/cpp-t9 | 40edf781aef2a3bcf0c46b3c37735d909253c8e4 | [
"MIT"
] | null | null | null | tests/test_function.cpp | te9yie/cpp-t9 | 40edf781aef2a3bcf0c46b3c37735d909253c8e4 | [
"MIT"
] | null | null | null | tests/test_function.cpp | te9yie/cpp-t9 | 40edf781aef2a3bcf0c46b3c37735d909253c8e4 | [
"MIT"
] | null | null | null | #include <gtest/gtest.h>
#include <t9/function.h>
namespace {
class Counter {
private:
int count_ = 0;
public:
int tick() { return ++count_; }
int tick(int n) {
count_ += n;
return count_;
}
int get() const { return count_; }
};
inline int twice(int x) { return x * x; }
} // namespace
TEST(Fu... | 19.142857 | 59 | 0.630597 | te9yie |
8cd2beb5b8f15541e768f24ccb3fa0153a145374 | 467 | cpp | C++ | Baekjoon/3986.cpp | Twinparadox/AlgorithmProblem | 0190d17555306600cfd439ad5d02a77e663c9a4e | [
"MIT"
] | null | null | null | Baekjoon/3986.cpp | Twinparadox/AlgorithmProblem | 0190d17555306600cfd439ad5d02a77e663c9a4e | [
"MIT"
] | null | null | null | Baekjoon/3986.cpp | Twinparadox/AlgorithmProblem | 0190d17555306600cfd439ad5d02a77e663c9a4e | [
"MIT"
] | null | null | null | #include <iostream>
#include <stack>
#include <string>
using namespace std;
int main(void)
{
int N, ans = 0;
cin >> N;
while (N--)
{
string str;
stack<char> st;
cin >> str;
int len = str.length();
for (int i = 0; i < len; i++)
{
char c = str[i];
if (st.size() > (len - i))
break;
if (st.si... | 13.735294 | 31 | 0.490364 | Twinparadox |
8cdc05eaf11f515ee06c6fe7f51b5188bd9a997f | 1,499 | cpp | C++ | leetcode/problems/medium/62-unique-paths.cpp | wingkwong/competitive-programming | e8bf7aa32e87b3a020b63acac20e740728764649 | [
"MIT"
] | 18 | 2020-08-27T05:27:50.000Z | 2022-03-08T02:56:48.000Z | leetcode/problems/medium/62-unique-paths.cpp | wingkwong/competitive-programming | e8bf7aa32e87b3a020b63acac20e740728764649 | [
"MIT"
] | null | null | null | leetcode/problems/medium/62-unique-paths.cpp | wingkwong/competitive-programming | e8bf7aa32e87b3a020b63acac20e740728764649 | [
"MIT"
] | 1 | 2020-10-13T05:23:58.000Z | 2020-10-13T05:23:58.000Z | /*
Unique Paths
A robot is located at the top-left corner of a m x n grid (marked 'Start' in the diagram below).
The robot can only move either down or right at any point in time. The robot is trying to reach the bottom-right corner of the grid (marked 'Finish' in the diagram below).
How many possible unique paths ar... | 28.283019 | 171 | 0.592395 | wingkwong |
8cdd6df1ceba4ac36a4b12121036f8d7ad680216 | 21,430 | cpp | C++ | source/test/test.cpp | xiaobodu/breeze | e74f0cd680274fd431118104d1fdb45926da6328 | [
"Apache-2.0"
] | 1 | 2020-08-13T08:10:15.000Z | 2020-08-13T08:10:15.000Z | source/test/test.cpp | xiaobodu/breeze | e74f0cd680274fd431118104d1fdb45926da6328 | [
"Apache-2.0"
] | null | null | null | source/test/test.cpp | xiaobodu/breeze | e74f0cd680274fd431118104d1fdb45926da6328 | [
"Apache-2.0"
] | 1 | 2017-04-30T14:25:25.000Z | 2017-04-30T14:25:25.000Z | /*
* breeze License
* Copyright (C) 2014-2016 YaweiZhang <yawei.zhang@foxmail.com>.
*
* 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 ... | 25.152582 | 237 | 0.480681 | xiaobodu |
8ce07dfcb8bc3b858dd7feea86e801fe5c042ecd | 2,726 | cpp | C++ | alvr/server/cpp/tools/drmdevice.cpp | N00byKing/ALVR | 230199e1efa6acb9fa37fa5ae53206052e9ac48f | [
"BSD-3-Clause"
] | null | null | null | alvr/server/cpp/tools/drmdevice.cpp | N00byKing/ALVR | 230199e1efa6acb9fa37fa5ae53206052e9ac48f | [
"BSD-3-Clause"
] | null | null | null | alvr/server/cpp/tools/drmdevice.cpp | N00byKing/ALVR | 230199e1efa6acb9fa37fa5ae53206052e9ac48f | [
"BSD-3-Clause"
] | null | null | null | #include "drmdevice.h"
#include "drm.h"
#include <cstdint>
#include <string.h>
#include <errno.h>
#include <xf86drm.h>
#include <xf86drmMode.h>
#include <fcntl.h>
#include <functional>
#include <stdio.h>
#include <unistd.h>
#include <stdexcept>
#include <poll.h>
class Defer
{
public:
Defer(std::function<void()> fn):... | 22.716667 | 120 | 0.625459 | N00byKing |
8ce3206e2e8e7aeaf7b6e873d328005ef01e10b0 | 4,198 | hpp | C++ | src/vm/handles/span.hpp | mbeckem/tiro | b3d729fce46243f25119767c412c6db234c2d938 | [
"MIT"
] | 10 | 2020-01-23T20:41:19.000Z | 2021-12-28T20:24:44.000Z | src/vm/handles/span.hpp | mbeckem/tiro | b3d729fce46243f25119767c412c6db234c2d938 | [
"MIT"
] | 22 | 2021-03-25T16:22:08.000Z | 2022-03-17T12:50:38.000Z | src/vm/handles/span.hpp | mbeckem/tiro | b3d729fce46243f25119767c412c6db234c2d938 | [
"MIT"
] | null | null | null | #ifndef TIRO_VM_HANDLES_SPAN_HPP
#define TIRO_VM_HANDLES_SPAN_HPP
#include "common/adt/span.hpp"
#include "vm/handles/fwd.hpp"
#include "vm/handles/handle.hpp"
namespace tiro::vm {
namespace detail {
// Iterates over slots and maps the slot pointer to a handle instance.
template<typename Handle>
class HandleSpanIte... | 31.096296 | 104 | 0.695569 | mbeckem |
8ce616dcec0f547993450a1415d483571286ecad | 765 | cpp | C++ | wxfred2/editors/dlgReinforcementsPicker.cpp | trgswe/fs2open.github.com | a159eba0cebca911ad14a118412fddfe5be8e9f8 | [
"Unlicense"
] | 307 | 2015-04-10T13:27:32.000Z | 2022-03-21T03:30:38.000Z | wxfred2/editors/dlgReinforcementsPicker.cpp | trgswe/fs2open.github.com | a159eba0cebca911ad14a118412fddfe5be8e9f8 | [
"Unlicense"
] | 2,231 | 2015-04-27T10:47:35.000Z | 2022-03-31T19:22:37.000Z | wxfred2/editors/dlgReinforcementsPicker.cpp | trgswe/fs2open.github.com | a159eba0cebca911ad14a118412fddfe5be8e9f8 | [
"Unlicense"
] | 282 | 2015-01-05T12:16:57.000Z | 2022-03-28T04:45:11.000Z | /*
* Created by Ian "Goober5000" Warfield and "z64555" for the FreeSpace2 Source
* Code Project.
*
* You may not sell or otherwise commercially exploit the source or things you
* create based on the source.
*/
#include "editors/dlgReinforcementsPicker.h"
#include "base/wxFRED_base.h"
#include <wx/wx.h>
// Pub... | 20.131579 | 79 | 0.750327 | trgswe |
8ce67ffd5e196fa8a155fb0f235fd8cf36e0cd78 | 348 | hpp | C++ | nek/type_traits/void_t.hpp | nekko1119/nek | be43faf5c541fa067ab1e1bcb7a43ebcfefe34e7 | [
"BSD-3-Clause"
] | null | null | null | nek/type_traits/void_t.hpp | nekko1119/nek | be43faf5c541fa067ab1e1bcb7a43ebcfefe34e7 | [
"BSD-3-Clause"
] | null | null | null | nek/type_traits/void_t.hpp | nekko1119/nek | be43faf5c541fa067ab1e1bcb7a43ebcfefe34e7 | [
"BSD-3-Clause"
] | null | null | null | #ifndef NEK_TYPE_TRAITS_VOID_T_HPP
#define NEK_TYPE_TRAITS_VOID_T_HPP
namespace nek
{
// workaround http://cpplover.blogspot.jp/2014/03/2014-02-post-issaquah-n3910-n3919.html
template <class...>
struct voider
{
using type = void;
};
template <class ...T>
using void_t = typename vo... | 19.333333 | 92 | 0.66954 | nekko1119 |
8ce81839dfc090465b5b7c738af79a9237e45a44 | 5,732 | cpp | C++ | src/hssh/global_topological/global_path_segment.cpp | anuranbaka/Vulcan | 56339f77f6cf64b5fda876445a33e72cd15ce028 | [
"MIT"
] | 3 | 2020-03-05T23:56:14.000Z | 2021-02-17T19:06:50.000Z | src/hssh/global_topological/global_path_segment.cpp | anuranbaka/Vulcan | 56339f77f6cf64b5fda876445a33e72cd15ce028 | [
"MIT"
] | 1 | 2021-03-07T01:23:47.000Z | 2021-03-07T01:23:47.000Z | src/hssh/global_topological/global_path_segment.cpp | anuranbaka/Vulcan | 56339f77f6cf64b5fda876445a33e72cd15ce028 | [
"MIT"
] | 1 | 2021-03-03T07:54:16.000Z | 2021-03-03T07:54:16.000Z | /* Copyright (C) 2010-2019, The Regents of The University of Michigan.
All rights reserved.
This software was developed as part of the The Vulcan project in the Intelligent Robotics Lab
under the direction of Benjamin Kuipers, kuipers@umich.edu. Use of this code is governed by an
MIT-style License that can be foun... | 32.384181 | 119 | 0.611479 | anuranbaka |
8ce8577b9ec0fa4064daadf501ab173f30170e14 | 8,079 | cc | C++ | src/amberscript/parser_debug_test.cc | gnl21/amber | dabae26164714abf951c6815a2b4513260f7c6a4 | [
"Apache-2.0"
] | 161 | 2018-11-14T12:04:08.000Z | 2022-03-31T01:08:21.000Z | src/amberscript/parser_debug_test.cc | gnl21/amber | dabae26164714abf951c6815a2b4513260f7c6a4 | [
"Apache-2.0"
] | 545 | 2018-11-14T03:52:30.000Z | 2022-03-30T11:23:12.000Z | src/amberscript/parser_debug_test.cc | gnl21/amber | dabae26164714abf951c6815a2b4513260f7c6a4 | [
"Apache-2.0"
] | 59 | 2018-11-13T22:09:02.000Z | 2022-01-26T22:25:29.000Z | // Copyright 2020 The Amber Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed... | 27.20202 | 80 | 0.674588 | gnl21 |
8cf0bd8a0ba7d60fda190434473e0ccb70ed8844 | 12,874 | cpp | C++ | Game/Source/Mesh/Mesh.cpp | Crewbee/Pokemon-Clone-DX12 | 188bdde03d5078899a1532305a87d15c611c6c13 | [
"CC0-1.0"
] | null | null | null | Game/Source/Mesh/Mesh.cpp | Crewbee/Pokemon-Clone-DX12 | 188bdde03d5078899a1532305a87d15c611c6c13 | [
"CC0-1.0"
] | null | null | null | Game/Source/Mesh/Mesh.cpp | Crewbee/Pokemon-Clone-DX12 | 188bdde03d5078899a1532305a87d15c611c6c13 | [
"CC0-1.0"
] | null | null | null | #include "GamePCH.h"
#include "Mesh/Mesh.h"
#include "Mesh.h"
Mesh::Mesh()
{
m_VBO = 0;
m_pShader = 0;
m_DebugShader = 0;
m_MyTexture = 0;
m_PrimitiveType = -1;
m_NumVerts = 0;
IsDebug = false;
}
Mesh::~Mesh()
{
glDeleteBuffers(1, &m_VBO);
delete m_CanvasVerts;
m_CanvasVerts = nullptr;
}
void SetUnif... | 28.608889 | 154 | 0.706385 | Crewbee |
8cfb4bcbe814c5d99179d03013264c2e30941531 | 1,236 | cpp | C++ | coding/codeforces/1352_F.cpp | aguilarpgc/coding-preparation | 00547d499adda5a6cdbe90acae8a0e88a2d8d69e | [
"MIT"
] | 4 | 2021-04-11T23:55:54.000Z | 2022-03-07T20:06:33.000Z | coding/codeforces/1352_F.cpp | aguilarpgc/coding-preparation | 00547d499adda5a6cdbe90acae8a0e88a2d8d69e | [
"MIT"
] | null | null | null | coding/codeforces/1352_F.cpp | aguilarpgc/coding-preparation | 00547d499adda5a6cdbe90acae8a0e88a2d8d69e | [
"MIT"
] | null | null | null | //#include <bits/stdc++.h>
#include <iostream>
using namespace std;
int main() {
ios::sync_with_stdio(0);
cin.tie(0);
int t,n0,n1,n2;
cin >> t;
while(t--) {
cin >> n0 >> n1 >> n2;
if(n1 != 0 && n1 % 2 == 0) {
for (int i=0; i<n0; i++) {
... | 20.6 | 48 | 0.233819 | aguilarpgc |
8cfccde61a7ae78891597b2c8c90d4dfc9599cc0 | 571 | cpp | C++ | src/main.cpp | vg132/dreamcast-tetris-2 | 1390da9766a835c3ee62aabba770acee9f2e68fa | [
"BSD-3-Clause"
] | 2 | 2019-08-09T18:36:47.000Z | 2020-04-14T21:03:26.000Z | src/main.cpp | vg132/dreamcast-tetris-2 | 1390da9766a835c3ee62aabba770acee9f2e68fa | [
"BSD-3-Clause"
] | null | null | null | src/main.cpp | vg132/dreamcast-tetris-2 | 1390da9766a835c3ee62aabba770acee9f2e68fa | [
"BSD-3-Clause"
] | 1 | 2022-01-02T07:51:21.000Z | 2022-01-02T07:51:21.000Z | #include <kos.h>
#include "tetris.hpp"
pvr_init_params_t params = {
/* Enable opaque and translucent polygons with size 16 */
{PVR_BINSIZE_16, PVR_BINSIZE_0, PVR_BINSIZE_16, PVR_BINSIZE_0,
PVR_BINSIZE_0},
/* Vertex buffer size 512K */
512 * 1024
};
#ifdef _TETRIS_DEBUG_
extern uint8 romdisk[];
KOS_I... | 17.84375 | 64 | 0.677758 | vg132 |
ea0276c4de4cc9b70c457a5d6f539e323ecab696 | 2,342 | cc | C++ | cc/debug/rendering_stats_unittest.cc | aranajhonny/chromium | caf5bcb822f79b8997720e589334266551a50a13 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2019-01-16T03:57:39.000Z | 2019-01-16T03:57:39.000Z | cc/debug/rendering_stats_unittest.cc | aranajhonny/chromium | caf5bcb822f79b8997720e589334266551a50a13 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2018-02-10T21:00:08.000Z | 2018-03-20T05:09:50.000Z | cc/debug/rendering_stats_unittest.cc | aranajhonny/chromium | caf5bcb822f79b8997720e589334266551a50a13 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/time/time.h"
#include "base/values.h"
#include "cc/debug/rendering_stats.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace cc {
... | 34.441176 | 73 | 0.752775 | aranajhonny |
ea02cd3a5ee1fc31f4d035fd5cff043d29eabd37 | 2,152 | cpp | C++ | cmds/statsd/tests/condition/ConditionTimer_test.cpp | rio-31/android_frameworks_base-1 | 091a068a3288d27d77636708679dde58b7b7fd25 | [
"Apache-2.0"
] | 164 | 2015-01-05T16:49:11.000Z | 2022-03-29T20:40:27.000Z | cmds/statsd/tests/condition/ConditionTimer_test.cpp | rio-31/android_frameworks_base-1 | 091a068a3288d27d77636708679dde58b7b7fd25 | [
"Apache-2.0"
] | 127 | 2015-01-12T12:02:32.000Z | 2021-11-28T08:46:25.000Z | cmds/statsd/tests/condition/ConditionTimer_test.cpp | rio-31/android_frameworks_base-1 | 091a068a3288d27d77636708679dde58b7b7fd25 | [
"Apache-2.0"
] | 1,141 | 2015-01-01T22:54:40.000Z | 2022-02-09T22:08:26.000Z | // Copyright (C) 2019 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applic... | 31.188406 | 78 | 0.743494 | rio-31 |
ea059a78e1bc4f222f5353e8db0f257b2af12240 | 9,119 | cpp | C++ | src/PSFFile.cpp | loveemu/psfpoint | 450a19b5379195930c7bef3c5bdb218dd0d47291 | [
"Unlicense"
] | 4 | 2017-03-17T15:57:20.000Z | 2021-12-29T00:19:27.000Z | src/PSFFile.cpp | loveemu/rom2gsf | 08cc2465e43579fc0f84ed58fe0ae57b492fdd39 | [
"MIT"
] | 2 | 2020-06-09T07:59:48.000Z | 2021-06-01T05:55:40.000Z | src/PSFFile.cpp | loveemu/rom2gsf | 08cc2465e43579fc0f84ed58fe0ae57b492fdd39 | [
"MIT"
] | 2 | 2017-03-17T15:57:24.000Z | 2020-06-09T07:59:38.000Z |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <memory.h>
#include <stdint.h>
#include <iostream>
#include <sstream>
#include <string>
#include <vector>
#include <map>
#include <iterator>
#include "PSFFile.h"
#include "ZlibReader.h"
#include "ZlibWriter.h"
#include "cpath.h"
PSFFile::PSFFile()
... | 23.685714 | 217 | 0.663889 | loveemu |
ea08b451a1625fab887ceaec8b378f583727a602 | 325 | cpp | C++ | WPFTencentQQ/CipherLib/Md5.cpp | alex2ching/QQConnector | e688274e466b91acdbc724a1458b3aeedb04079d | [
"MIT"
] | 10 | 2020-09-07T14:18:33.000Z | 2022-01-15T16:39:25.000Z | WPFTencentQQ/CipherLib/Md5.cpp | alex2ching/QQConnector | e688274e466b91acdbc724a1458b3aeedb04079d | [
"MIT"
] | null | null | null | WPFTencentQQ/CipherLib/Md5.cpp | alex2ching/QQConnector | e688274e466b91acdbc724a1458b3aeedb04079d | [
"MIT"
] | 5 | 2021-04-19T02:15:58.000Z | 2022-02-05T14:55:57.000Z | #include "StdAfx.h"
#include "Md5.h"
#include <openssl\md5.h>
CMd5::CMd5(void)
{
}
CMd5::~CMd5(void)
{
}
void CMd5::GetMd5(unsigned char *szMd5,size_t len,unsigned char *szData,size_t size)
{
if(len<0x10) return;
MD5_CTX c;
MD5_Init(&c);
MD5_Update(&c, szData, size);
MD5_Final(szMd5,&c);... | 14.130435 | 85 | 0.624615 | alex2ching |
ea0a28a9d2716606d254382be5446bf8880bb40e | 1,860 | cpp | C++ | Code/Libraries/Workbench/src/PEs/wbpestatmod.cpp | kas1e/Eldritch | 032b4ac52f7508c89efa407d6fe60f40c6281fd9 | [
"Zlib"
] | null | null | null | Code/Libraries/Workbench/src/PEs/wbpestatmod.cpp | kas1e/Eldritch | 032b4ac52f7508c89efa407d6fe60f40c6281fd9 | [
"Zlib"
] | null | null | null | Code/Libraries/Workbench/src/PEs/wbpestatmod.cpp | kas1e/Eldritch | 032b4ac52f7508c89efa407d6fe60f40c6281fd9 | [
"Zlib"
] | null | null | null | #include "core.h"
#include "wbpestatmod.h"
#include "configmanager.h"
#include "Components/wbcompstatmod.h"
#include "wbparamevaluatorfactory.h"
WBPEStatMod::WBPEStatMod() : m_StatName(), m_EntityPE(nullptr) {}
WBPEStatMod::~WBPEStatMod() { SafeDelete(m_EntityPE); }
/*virtual*/ void WBPEStatMod::InitializeFromDefini... | 34.444444 | 77 | 0.702151 | kas1e |
ea13339369200b571db7b83733b805f444e99dd5 | 1,880 | cpp | C++ | plugins/community/repos/Bidoo/src/MS.cpp | guillaume-plantevin/VeeSeeVSTRack | 76fafc8e721613669d6f5ae82a0f58ce923a91e1 | [
"Zlib",
"BSD-3-Clause"
] | 233 | 2018-07-02T16:49:36.000Z | 2022-02-27T21:45:39.000Z | plugins/community/repos/Bidoo/src/MS.cpp | guillaume-plantevin/VeeSeeVSTRack | 76fafc8e721613669d6f5ae82a0f58ce923a91e1 | [
"Zlib",
"BSD-3-Clause"
] | 24 | 2018-07-09T11:32:15.000Z | 2022-01-07T01:45:43.000Z | plugins/community/repos/Bidoo/src/MS.cpp | guillaume-plantevin/VeeSeeVSTRack | 76fafc8e721613669d6f5ae82a0f58ce923a91e1 | [
"Zlib",
"BSD-3-Clause"
] | 24 | 2018-07-14T21:55:30.000Z | 2021-05-04T04:20:34.000Z | #include "Bidoo.hpp"
#include "BidooComponents.hpp"
using namespace std;
namespace rack_plugin_Bidoo {
struct MS : Module {
enum ParamIds {
NUM_PARAMS
};
enum InputIds {
L_INPUT,
R_INPUT,
M_INPUT,
S_INPUT,
NUM_INPUTS
};
enum OutputIds {
L_OUTPUT,
R_OUTPUT,
M_OUTPUT,
S_OUTPUT,
NUM_OUTPUTS
... | 28.484848 | 118 | 0.704255 | guillaume-plantevin |
ea14fe683331d3c2bdcecc864dc2cc00c0fb2871 | 27,318 | hpp | C++ | src/tissot_bg_writer.hpp | barendgehrels/tissot | b0d983a57bcd4d283c0f4ef8d23abea2e2893c3f | [
"BSL-1.0"
] | 1 | 2015-05-17T11:15:43.000Z | 2015-05-17T11:15:43.000Z | src/tissot_bg_writer.hpp | barendgehrels/tissot | b0d983a57bcd4d283c0f4ef8d23abea2e2893c3f | [
"BSL-1.0"
] | null | null | null | src/tissot_bg_writer.hpp | barendgehrels/tissot | b0d983a57bcd4d283c0f4ef8d23abea2e2893c3f | [
"BSL-1.0"
] | null | null | null | #ifndef TISSOT_WRITER_HPP
#define TISSOT_WRITER_HPP
// Tissot, converts projecton source code (Proj4) to Boost.Geometry
// (or potentially other source code)
//
// Copyright (c) 2015 Barend Gehrels, Amsterdam, the Netherlands.
//
// Use, modification and distribution is subject to the Boost Software License,
// Versio... | 38.694051 | 152 | 0.416795 | barendgehrels |
ea15a1bc7e01f25fe00addcaaba6ed2af8655c4f | 799 | cpp | C++ | OpenKattis/trik.cpp | MFathirIrhas/ProgrammingChallenges | 8c67bd71212a1941e5bcc0463095285859afa04d | [
"MIT"
] | 3 | 2020-10-19T10:03:20.000Z | 2021-12-18T20:39:31.000Z | OpenKattis/trik.cpp | MFathirIrhas/ProgrammingChallenges | 8c67bd71212a1941e5bcc0463095285859afa04d | [
"MIT"
] | null | null | null | OpenKattis/trik.cpp | MFathirIrhas/ProgrammingChallenges | 8c67bd71212a1941e5bcc0463095285859afa04d | [
"MIT"
] | null | null | null | /*
* Author: Muhammad Fathir Irhas
*/
#include <iostream>
#include <stdio.h>
#include <string.h>
using namespace std;
int Process(char *input){
int pos = 1;
for(int i=0;i<strlen(input);i++){
if(pos == 1){
if(*(input+i) == 'A'){
pos = 2;
}else if(*(input+i) == 'B'){
pos = 1;
}else if(*(input+i) ... | 15.98 | 34 | 0.460576 | MFathirIrhas |
ea1b459975a9df68a5ffcc52fa24e46b64997406 | 1,655 | cpp | C++ | src/gui/randomWidget.cpp | nicovanbentum/Raekor | 131e68490aa119213467ef295d3bfb94e5dd7046 | [
"MIT"
] | 6 | 2019-07-16T05:39:18.000Z | 2022-02-17T10:10:18.000Z | src/gui/randomWidget.cpp | nicovanbentum/Raekor | 131e68490aa119213467ef295d3bfb94e5dd7046 | [
"MIT"
] | null | null | null | src/gui/randomWidget.cpp | nicovanbentum/Raekor | 131e68490aa119213467ef295d3bfb94e5dd7046 | [
"MIT"
] | null | null | null | #include "pch.h"
#include "randomWidget.h"
#include "editor.h"
#include "renderer.h"
namespace Raekor {
RandomWidget::RandomWidget(Editor* editor) :
IWidget(editor, "Random")
{}
void RandomWidget::draw() {
auto& renderer = IWidget::renderer();
ImGui::Begin(title.c_str());
ImGui::SetItemDefaultFocus(... | 30.090909 | 133 | 0.649547 | nicovanbentum |
ea1ee7c4dc92928e43264b07a14828110f39fd1d | 3,478 | cpp | C++ | release/src-rt-6.x.4708/router/mysql/storage/ndb/src/kernel/SimBlockList.cpp | afeng11/tomato-arm | 1ca18a88480b34fd495e683d849f46c2d47bb572 | [
"FSFAP"
] | 278 | 2015-11-03T03:01:20.000Z | 2022-01-20T18:21:05.000Z | release/src-rt-6.x.4708/router/mysql/storage/ndb/src/kernel/SimBlockList.cpp | afeng11/tomato-arm | 1ca18a88480b34fd495e683d849f46c2d47bb572 | [
"FSFAP"
] | 374 | 2015-11-03T12:37:22.000Z | 2021-12-17T14:18:08.000Z | release/src-rt-6.x.4708/router/mysql/storage/ndb/src/kernel/SimBlockList.cpp | afeng11/tomato-arm | 1ca18a88480b34fd495e683d849f46c2d47bb572 | [
"FSFAP"
] | 96 | 2015-11-22T07:47:26.000Z | 2022-01-20T19:52:19.000Z | /* Copyright (c) 2003-2006 MySQL AB
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; version 2 of the License.
This program is distributed in the hope that it will be useful,
but WITHO... | 25.573529 | 84 | 0.666475 | afeng11 |
ea220e4fd57daddc0ff15f4d1361aec64c42e4ac | 349 | cpp | C++ | UVa/568 - Just the Facts.cpp | geniustanley/problem-solving | 2b83c5c8197fa8fe2277367027b392a2911d4a28 | [
"Apache-2.0"
] | 1 | 2018-11-21T07:36:16.000Z | 2018-11-21T07:36:16.000Z | UVa/568 - Just the Facts.cpp | geniustanley/problem-solving | 2b83c5c8197fa8fe2277367027b392a2911d4a28 | [
"Apache-2.0"
] | null | null | null | UVa/568 - Just the Facts.cpp | geniustanley/problem-solving | 2b83c5c8197fa8fe2277367027b392a2911d4a28 | [
"Apache-2.0"
] | null | null | null | #include <stdio.h>
int digit[10005];
int main(void)
{
digit[1] = 1;
for(int i = 2; i <= 10000; i++) {
digit[i] = digit[i-1]*i;
//printf("%d %d\n", i, digit[i]);
while(!(digit[i]%10))
digit[i] /= 10;
digit[i] %= 100000;
}
int n;
while(EOF != scanf("%d", &n))
printf("%5d -> %d\n", n, di... | 18.368421 | 41 | 0.47851 | geniustanley |
ea254dd86a29851d53bb3886ff8427b0edaac36e | 438 | cpp | C++ | m04/m04-01.cpp | dvcchern/CS200 | 333df210e70757da7cec481314b1a1e734fd03ed | [
"MIT"
] | 4 | 2020-02-14T23:54:05.000Z | 2022-01-30T18:29:06.000Z | m04/m04-01.cpp | dvcchern/CS200 | 333df210e70757da7cec481314b1a1e734fd03ed | [
"MIT"
] | null | null | null | m04/m04-01.cpp | dvcchern/CS200 | 333df210e70757da7cec481314b1a1e734fd03ed | [
"MIT"
] | 6 | 2020-02-24T07:06:47.000Z | 2022-02-03T02:46:46.000Z | #include<iostream>
using namespace std;
class Base {
int x;
public:
Base() { cout << "Base Default" << endl; }
Base(int x) : x(x) { cout << "Base Parameterize" << endl; }
};
class Derived : public Base{
int y;
public:
Derived() : Base() { cout << "Derived Default" << endl; }
Derived(int y, int... | 20.857143 | 85 | 0.56621 | dvcchern |
ea2688f6feb74a08375c13c2bfa014c77d81cb3f | 2,815 | hpp | C++ | src/clustering/query_routing/primary_query_server.hpp | zadcha/rethinkdb | bb4f5cc28242dc1e29e9a46a8a931ec54420070c | [
"Apache-2.0"
] | 21,684 | 2015-01-01T03:42:20.000Z | 2022-03-30T13:32:44.000Z | src/clustering/query_routing/primary_query_server.hpp | RethonkDB/rethonkdb | 8c9c1ddc71b1b891fdb8aad7ca5891fc036b80ee | [
"Apache-2.0"
] | 4,067 | 2015-01-01T00:04:51.000Z | 2022-03-30T13:42:56.000Z | src/clustering/query_routing/primary_query_server.hpp | RethonkDB/rethonkdb | 8c9c1ddc71b1b891fdb8aad7ca5891fc036b80ee | [
"Apache-2.0"
] | 1,901 | 2015-01-01T21:05:59.000Z | 2022-03-21T08:14:25.000Z | // Copyright 2010-2015 RethinkDB, all rights reserved.
#ifndef CLUSTERING_QUERY_ROUTING_PRIMARY_QUERY_SERVER_HPP_
#define CLUSTERING_QUERY_ROUTING_PRIMARY_QUERY_SERVER_HPP_
#include <map>
#include <set>
#include <string>
#include <utility>
#include "clustering/generic/multi_client_server.hpp"
#include "clustering/que... | 33.915663 | 88 | 0.71119 | zadcha |
ea298259be253e50590f3b38b32d8b53afce353e | 545 | cpp | C++ | etc/config/src/INSTANTIATE_DEFAULT_ARGS.cpp | Hower91/Apache-C-Standard-Library-4.2.x | 4d9011d60dbb38b3ff80dcfe54dccd3a4647d9d3 | [
"Apache-2.0"
] | null | null | null | etc/config/src/INSTANTIATE_DEFAULT_ARGS.cpp | Hower91/Apache-C-Standard-Library-4.2.x | 4d9011d60dbb38b3ff80dcfe54dccd3a4647d9d3 | [
"Apache-2.0"
] | null | null | null | etc/config/src/INSTANTIATE_DEFAULT_ARGS.cpp | Hower91/Apache-C-Standard-Library-4.2.x | 4d9011d60dbb38b3ff80dcfe54dccd3a4647d9d3 | [
"Apache-2.0"
] | null | null | null | // checking if default args are instantiated
#if defined (_RWSTD_USE_CONFIG)
# include "config.h"
#endif // _RWSTD_USE_CONFIG
template <class T>
struct A
{
void foo (const T& = T ()) { }
};
struct B
{
private:
B () { }
};
#ifndef _RWSTD_NO_EXPLICIT_INSTANTIATION
// 14.7.2, p9 - an explicit instantiation... | 16.515152 | 61 | 0.669725 | Hower91 |
ea30547d2c980101cc477fb52974e3f17109657b | 1,277 | hpp | C++ | source/component/transform.hpp | sebastianolmos/JourneyEngine | 8dded145ebb8615c94774ad78abe789d48221bb7 | [
"MIT"
] | null | null | null | source/component/transform.hpp | sebastianolmos/JourneyEngine | 8dded145ebb8615c94774ad78abe789d48221bb7 | [
"MIT"
] | null | null | null | source/component/transform.hpp | sebastianolmos/JourneyEngine | 8dded145ebb8615c94774ad78abe789d48221bb7 | [
"MIT"
] | null | null | null | #pragma once
#include <glm/glm.hpp>
#include <glm/gtx/quaternion.hpp>
namespace Journey {
class Transform {
public:
Transform(const glm::vec3& translation = glm::vec3(0.0f),
const glm::fquat& rotation = glm::fquat(1.0f, 0.0f, 0.0f, 0.0f),
const glm::vec... | 33.605263 | 102 | 0.573218 | sebastianolmos |
ea32b13065b063741a229013f19b8b47b185be07 | 1,708 | cpp | C++ | leetcode/2020/july/practice/uniquePaths-2.cpp | pol-alok/Solvify | c0f3913420a4a3a3faa34848038a3cc942628b08 | [
"MIT"
] | null | null | null | leetcode/2020/july/practice/uniquePaths-2.cpp | pol-alok/Solvify | c0f3913420a4a3a3faa34848038a3cc942628b08 | [
"MIT"
] | null | null | null | leetcode/2020/july/practice/uniquePaths-2.cpp | pol-alok/Solvify | c0f3913420a4a3a3faa34848038a3cc942628b08 | [
"MIT"
] | 2 | 2021-02-23T06:54:22.000Z | 2021-02-28T15:37:23.000Z | #include <iostream>
#include <vector>
using namespace std;
class Solution {
public:
int uniquePathsWithObstacles(vector<vector<int>>& obstacleGrid) {
ios_base::sync_with_stdio(false);
cin.tie(nullptr);
int r = obstacleGrid.size(), c = obstacleGrid[0].size();
vector<vector<int>> dp(... | 28.949153 | 74 | 0.446721 | pol-alok |
ea3322586fab2a8f02f73c09ce6eefae2d890088 | 222 | cpp | C++ | tmp/UI/weChat-master/WeChat/ui/rightmsgbox.cpp | WenbinLiworks/desktopInstantMessagingTools | 85d85b9bde027c1cc88d38a3b1ceab8a411a5e40 | [
"MIT"
] | 26 | 2017-03-27T06:33:26.000Z | 2021-09-25T08:35:05.000Z | tmp/UI/weChat-master/WeChat/ui/rightmsgbox.cpp | WenbinLiworks/desktopInstantMessagingTools | 85d85b9bde027c1cc88d38a3b1ceab8a411a5e40 | [
"MIT"
] | null | null | null | tmp/UI/weChat-master/WeChat/ui/rightmsgbox.cpp | WenbinLiworks/desktopInstantMessagingTools | 85d85b9bde027c1cc88d38a3b1ceab8a411a5e40 | [
"MIT"
] | 15 | 2017-04-26T02:22:38.000Z | 2021-05-15T10:38:55.000Z | #include "rightmsgbox.h"
#include "ui_rightmsgbox.h"
RightMsgBox::RightMsgBox(QWidget *parent) :
QWidget(parent),
ui(new Ui::RightMsgBox)
{
ui->setupUi(this);
}
RightMsgBox::~RightMsgBox()
{
delete ui;
}
| 14.8 | 43 | 0.675676 | WenbinLiworks |
ea35c9d09d863bc1fb392ff97a4380ca52dbbb6e | 5,757 | cpp | C++ | Engine/Source/World/VisualWorld.cpp | jasonoscar88/Photon-v2 | 90649196c436261d28cc2300511b78ac88236448 | [
"MIT"
] | 88 | 2017-01-21T18:20:16.000Z | 2021-12-21T02:32:04.000Z | Engine/Source/World/VisualWorld.cpp | jasonoscar88/Photon-v2 | 90649196c436261d28cc2300511b78ac88236448 | [
"MIT"
] | 72 | 2017-07-28T10:00:35.000Z | 2021-11-09T18:36:23.000Z | Engine/Source/World/VisualWorld.cpp | jasonoscar88/Photon-v2 | 90649196c436261d28cc2300511b78ac88236448 | [
"MIT"
] | 8 | 2017-03-19T12:19:10.000Z | 2020-05-19T15:15:05.000Z | #include "World/VisualWorld.h"
#include "Common/primitive_type.h"
#include "Core/Ray.h"
#include "Actor/Actor.h"
#include "Actor/CookedUnit.h"
#include "Actor/CookingContext.h"
#include "Core/Intersectable/BruteForceIntersector.h"
#include "Core/Intersectable/Kdtree/KdtreeIntersector.h"
#include "Core/Emitter/Sampler/E... | 25.473451 | 107 | 0.739969 | jasonoscar88 |
ea3623119be47018fd1c2da976a97a5559c8a125 | 1,031 | cpp | C++ | test/lseek.cpp | range3/GekkoFS | 5be5f63aea4678a918fe93c6cbc6e82c9fb5cfd2 | [
"MIT"
] | 31 | 2019-11-25T02:04:13.000Z | 2022-01-23T11:39:06.000Z | test/lseek.cpp | range3/GekkoFS | 5be5f63aea4678a918fe93c6cbc6e82c9fb5cfd2 | [
"MIT"
] | 5 | 2020-11-20T03:40:33.000Z | 2022-01-23T16:38:47.000Z | test/lseek.cpp | range3/GekkoFS | 5be5f63aea4678a918fe93c6cbc6e82c9fb5cfd2 | [
"MIT"
] | 6 | 2020-04-30T14:53:01.000Z | 2022-01-17T06:23:44.000Z | #include <iostream>
#include <fcntl.h>
#include <unistd.h>
#include <cstring>
#include <limits>
using namespace std;
int main(int argc, char* argv[]) {
string mountdir = "/tmp/mountdir";
string f = mountdir + "/file";
int fd;
fd = open(f.c_str(), O_WRONLY | O_CREAT, 0777);
if(fd < 0){
ce... | 22.911111 | 83 | 0.535403 | range3 |
ea3a48cfabee0d2bc7ea51032b89a727c091c39b | 7,584 | cpp | C++ | SDK/ARKSurvivalEvolved_DroppedItemGeneric_HoneyLure_functions.cpp | 2bite/ARK-SDK | c38ca9925309516b2093ad8c3a70ed9489e1d573 | [
"MIT"
] | 10 | 2020-02-17T19:08:46.000Z | 2021-07-31T11:07:19.000Z | SDK/ARKSurvivalEvolved_DroppedItemGeneric_HoneyLure_functions.cpp | 2bite/ARK-SDK | c38ca9925309516b2093ad8c3a70ed9489e1d573 | [
"MIT"
] | 9 | 2020-02-17T18:15:41.000Z | 2021-06-06T19:17:34.000Z | SDK/ARKSurvivalEvolved_DroppedItemGeneric_HoneyLure_functions.cpp | 2bite/ARK-SDK | c38ca9925309516b2093ad8c3a70ed9489e1d573 | [
"MIT"
] | 3 | 2020-07-22T17:42:07.000Z | 2021-06-19T17:16:13.000Z | // ARKSurvivalEvolved (329.9) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ARKSurvivalEvolved_DroppedItemGeneric_HoneyLure_parameters.hpp"
namespace sdk
{
//---------------------------------------------------------------------------
//Functions
//-----------------------------------------------------... | 30.704453 | 167 | 0.779008 | 2bite |
ea3ce9c43a06acf7ddb82ee31aacca506a517ec8 | 4,892 | cpp | C++ | FaceCept3D/HeadPoseEstimationFramework/Provider/RawDataProvider.cpp | Ajithsj96/FaceCept3d | f13c791af154a289442ee9d1349c86ba07e24855 | [
"MIT"
] | 192 | 2015-08-14T13:44:13.000Z | 2022-03-08T05:36:43.000Z | FaceCept3D/HeadPoseEstimationFramework/Provider/RawDataProvider.cpp | Ajithsj96/FaceCept3d | f13c791af154a289442ee9d1349c86ba07e24855 | [
"MIT"
] | 11 | 2016-02-26T15:11:59.000Z | 2018-04-01T09:42:55.000Z | FaceCept3D/HeadPoseEstimationFramework/Provider/RawDataProvider.cpp | Ajithsj96/FaceCept3d | f13c791af154a289442ee9d1349c86ba07e24855 | [
"MIT"
] | 82 | 2015-10-08T03:29:41.000Z | 2021-07-14T08:22:07.000Z | #include "RawDataProvider.h"
#include <Provider/CvMatRawSerializer.h>
#include <Converter/KinectDataConverter.h>
#include <boost/filesystem.hpp>
#include <pcl/io/pcd_io.h>
namespace fs = boost::filesystem;
namespace hpe
{
RawDataProvider::RawDataProvider()
: m_initialized(false)
{
}
cv::Mat ... | 29.293413 | 100 | 0.534342 | Ajithsj96 |
ea3cf557bf7313ecd87b916856fa935505d334e5 | 797 | hpp | C++ | core/graphics/impl/2D/Point.hpp | UnknownBugs/TUGUI | 1daece0c753aa255eca88c16ab87996aefbe8523 | [
"MIT"
] | 7 | 2021-11-25T01:34:36.000Z | 2022-01-12T17:07:21.000Z | core/graphics/impl/2D/Point.hpp | UnknownBugs/TUGUI | 1daece0c753aa255eca88c16ab87996aefbe8523 | [
"MIT"
] | 23 | 2021-11-25T07:10:18.000Z | 2022-03-03T15:28:36.000Z | core/graphics/impl/2D/Point.hpp | UnknownBugs/TUGUI | 1daece0c753aa255eca88c16ab87996aefbe8523 | [
"MIT"
] | 13 | 2021-11-25T01:34:41.000Z | 2021-12-27T09:36:43.000Z | #ifndef __POINT__HPP__TUGUI
#define __POINT__HPP__TUGUI
#include <libs/TMATH/tmath.hpp>
#include <libs/std/initializer_list.hpp>
#include <core/painter/PaintInterface.hpp>
#include <core/painter/impl/colors/color.hpp>
namespace TUGUI {
class Point : public PaintInterface, public TMATH::HomoCoordinates<2 + 1> {
publ... | 26.566667 | 78 | 0.633626 | UnknownBugs |
ea3d3e703a48f6ce932d12ed06a1471f539f58e2 | 18,308 | cpp | C++ | src/register.cpp | jizhuoran/ROCdbgapi_with_wave_-manipulate | 4373a5a1e2c3a1e4beff80ee7572841a368bd704 | [
"MIT"
] | null | null | null | src/register.cpp | jizhuoran/ROCdbgapi_with_wave_-manipulate | 4373a5a1e2c3a1e4beff80ee7572841a368bd704 | [
"MIT"
] | null | null | null | src/register.cpp | jizhuoran/ROCdbgapi_with_wave_-manipulate | 4373a5a1e2c3a1e4beff80ee7572841a368bd704 | [
"MIT"
] | null | null | null | /* Copyright (c) 2019-2020 Advanced Micro Devices, Inc.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge... | 30.361526 | 79 | 0.724711 | jizhuoran |
ea3d71a39dca9cfee7bf04af221521b3bced1e76 | 438 | cpp | C++ | framework/platform/bpl/linux/bpl_dhcp.cpp | ydx-coder/prplMesh | 6401b15c31c563f9e00ce6ff1b5513df3d39f157 | [
"BSD-2-Clause-Patent"
] | null | null | null | framework/platform/bpl/linux/bpl_dhcp.cpp | ydx-coder/prplMesh | 6401b15c31c563f9e00ce6ff1b5513df3d39f157 | [
"BSD-2-Clause-Patent"
] | null | null | null | framework/platform/bpl/linux/bpl_dhcp.cpp | ydx-coder/prplMesh | 6401b15c31c563f9e00ce6ff1b5513df3d39f157 | [
"BSD-2-Clause-Patent"
] | 1 | 2022-02-01T20:52:12.000Z | 2022-02-01T20:52:12.000Z | /* SPDX-License-Identifier: BSD-2-Clause-Patent
*
* Copyright (c) 2019 Intel Corporation
*
* This code is subject to the terms of the BSD+Patent license.
* See LICENSE file for more details.
*/
#include <bpl/bpl_dhcp.h>
namespace beerocks {
namespace bpl {
int dhcp_mon_start(dhcp_mon_cb cb) { return -2; }
int... | 19.909091 | 63 | 0.710046 | ydx-coder |
ea405edfdb443c7241ae1718fe5d1de8652a8f96 | 1,126 | cpp | C++ | leetcode.com/0514 Freedom Trail/main.cpp | sky-bro/AC | 29bfa3f13994612887e18065fa6e854b9a29633d | [
"MIT"
] | 1 | 2020-08-20T11:02:49.000Z | 2020-08-20T11:02:49.000Z | leetcode.com/0514 Freedom Trail/main.cpp | sky-bro/AC | 29bfa3f13994612887e18065fa6e854b9a29633d | [
"MIT"
] | null | null | null | leetcode.com/0514 Freedom Trail/main.cpp | sky-bro/AC | 29bfa3f13994612887e18065fa6e854b9a29633d | [
"MIT"
] | 1 | 2022-01-01T23:23:13.000Z | 2022-01-01T23:23:13.000Z | #include <algorithm>
#include <iostream>
#include <queue>
#include <set>
#include <vector>
using namespace std;
class Solution {
public:
int findRotateSteps(string ring, string key) {
vector<int> m[26];
int len_r = ring.length(), len_k = key.length();
for (int i = 0; i < len_r; ++i) m[ring[i] - 'a'].pu... | 28.15 | 75 | 0.539076 | sky-bro |
ea439d19f42183e9ab38f434cb55e8ffcc1e5399 | 658 | cpp | C++ | games/ball_attack/src/bonuses/rocket.cpp | net3ton/epod | 9b387c690ffc378d5834e912da88d42522670fe3 | [
"MIT"
] | null | null | null | games/ball_attack/src/bonuses/rocket.cpp | net3ton/epod | 9b387c690ffc378d5834e912da88d42522670fe3 | [
"MIT"
] | null | null | null | games/ball_attack/src/bonuses/rocket.cpp | net3ton/epod | 9b387c690ffc378d5834e912da88d42522670fe3 | [
"MIT"
] | null | null | null | #include "rocket.h"
#include "../levels.h"
#include "../levelBase.h"
void BonusRocketBig::start()
{
if (ba::level()->endBonus(BONUS_ROCKETSMALL))
return;
ba::level()->getRocket().setSize(Rocket::SIZE_BIG);
IBonus::start();
}
void BonusRocketBig::end()
{
ba::level()->getRocket().setSize(R... | 18.277778 | 57 | 0.62462 | net3ton |
ea43e3060238b79aa21b122027e26e7022f35a6c | 105 | cpp | C++ | Codeforces/rockethon14/test.cpp | s9v/toypuct | 68e65e6da5922af340de72636a9a4f136454c70d | [
"MIT"
] | null | null | null | Codeforces/rockethon14/test.cpp | s9v/toypuct | 68e65e6da5922af340de72636a9a4f136454c70d | [
"MIT"
] | null | null | null | Codeforces/rockethon14/test.cpp | s9v/toypuct | 68e65e6da5922af340de72636a9a4f136454c70d | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
int main()
{
int b;
cin >> b;
cout << *&b;
return 0;
}
| 8.076923 | 20 | 0.561905 | s9v |
ea4517cfd8e92db16e6e84a0aeaa765dc687a9ef | 2,489 | hpp | C++ | admin/admt/common/include/ealen.hpp | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | admin/admt/common/include/ealen.hpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | admin/admt/common/include/ealen.hpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | //#pragma title( "EaLen.hpp - EA defined length fields" )
/*
Copyright (c) 1995-1998, Mission Critical Software, Inc. All rights reserved.
===============================================================================
Module - EaLen.hpp
System - EnterpriseAdministrator
Author - Rich Denham
Cre... | 38.292308 | 85 | 0.546002 | npocmaka |
ea46276ef4b16d45d58e20e6b1cfdd3ec5e0bf1c | 662 | cc | C++ | PTA/PAT_B/Cpp11/B1004_1_AC.cc | StrayDragon/OJ-Solutions | b31b11c01507544aded2302923da080b39cf2ba8 | [
"MIT"
] | 1 | 2019-05-13T10:09:55.000Z | 2019-05-13T10:09:55.000Z | PTA/PAT_B/Cpp11/B1004_1_AC.cc | StrayDragon/OJ-Solutions | b31b11c01507544aded2302923da080b39cf2ba8 | [
"MIT"
] | null | null | null | PTA/PAT_B/Cpp11/B1004_1_AC.cc | StrayDragon/OJ-Solutions | b31b11c01507544aded2302923da080b39cf2ba8 | [
"MIT"
] | null | null | null | #include <algorithm>
#include <cstdio>
#include <iostream>
#include <string>
#include <vector>
using namespace std;
struct Student {
string name;
string number;
int score;
};
int main() {
int n;
cin >> n;
vector<Student> students;
for (int i = 0; i < n; ++i) {
Student s;
cin >> s.name >> s.numbe... | 21.354839 | 67 | 0.584592 | StrayDragon |
ea4722ee50a01c82618ca6ed33323169efb7d58b | 571 | cpp | C++ | 2022/CodeFoces/900/Game With Sticks.cpp | Yashdew/Data-structure | ae9cd759f4f62b8b524061c47dd59e30c1b69f5f | [
"MIT"
] | 1 | 2020-09-16T03:57:40.000Z | 2020-09-16T03:57:40.000Z | 2022/CodeFoces/900/Game With Sticks.cpp | Yashdew/Data-structure | ae9cd759f4f62b8b524061c47dd59e30c1b69f5f | [
"MIT"
] | null | null | null | 2022/CodeFoces/900/Game With Sticks.cpp | Yashdew/Data-structure | ae9cd759f4f62b8b524061c47dd59e30c1b69f5f | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
void solve()
{
int n,m;
cin>>n>>m;
int intersection = n*m;
int flag = 1; //Akshat
while(n!=0 && m!=0)
{
intersection--;
n--;
m--;
intersection = n*m;
if(flag==1)
flag=0;
else
f... | 15.026316 | 37 | 0.443082 | Yashdew |
ea48e1f32ba6f556950adee96067a436d3dca920 | 7,644 | cpp | C++ | third_party/ComputeLibrary/src/core/NEON/kernels/NEWinogradLayerKernel.cpp | gautamkmr/caffe2 | cde7f21d1e34ec714bc08dbfab945a1ad30e92ff | [
"MIT"
] | null | null | null | third_party/ComputeLibrary/src/core/NEON/kernels/NEWinogradLayerKernel.cpp | gautamkmr/caffe2 | cde7f21d1e34ec714bc08dbfab945a1ad30e92ff | [
"MIT"
] | null | null | null | third_party/ComputeLibrary/src/core/NEON/kernels/NEWinogradLayerKernel.cpp | gautamkmr/caffe2 | cde7f21d1e34ec714bc08dbfab945a1ad30e92ff | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2017-2018 ARM Limited.
*
* SPDX-License-Identifier: MIT
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
* deal in the Software without restriction, including without limitation the
* ri... | 50.96 | 196 | 0.705913 | gautamkmr |
ea492f0aded594fccc9ab24304073ed6ff3d23f8 | 3,944 | cpp | C++ | WorldEditor/ViewTexture.cpp | openlastchaos/lastchaos-source-client | 3d88594dba7347b1bb45378136605e31f73a8555 | [
"Apache-2.0"
] | 1 | 2022-02-14T15:46:44.000Z | 2022-02-14T15:46:44.000Z | WorldEditor/ViewTexture.cpp | openlastchaos/lastchaos-source-client | 3d88594dba7347b1bb45378136605e31f73a8555 | [
"Apache-2.0"
] | null | null | null | WorldEditor/ViewTexture.cpp | openlastchaos/lastchaos-source-client | 3d88594dba7347b1bb45378136605e31f73a8555 | [
"Apache-2.0"
] | 2 | 2022-01-10T22:17:06.000Z | 2022-01-17T09:34:08.000Z | // ViewTexture.cpp : implementation file
//
#include "stdafx.h"
#include "WorldEditor.h"
#include "ViewTexture.h"
#ifdef _DEBUG
#undef new
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CViewTexture
C... | 21.911111 | 86 | 0.648327 | openlastchaos |
356b0b3a7b7fea634bb7c9269687068df22e30c7 | 910 | cpp | C++ | ardupilot/libraries/AP_ADC_AnalogSource/AP_ADC_AnalogSource.cpp | quadrotor-IITKgp/emulate_GPS | 3c888d5b27b81fb17e74d995370f64bdb110fb65 | [
"MIT"
] | 1 | 2021-07-17T11:37:16.000Z | 2021-07-17T11:37:16.000Z | ardupilot/libraries/AP_ADC_AnalogSource/AP_ADC_AnalogSource.cpp | arl-kgp/emulate_GPS | 3c888d5b27b81fb17e74d995370f64bdb110fb65 | [
"MIT"
] | null | null | null | ardupilot/libraries/AP_ADC_AnalogSource/AP_ADC_AnalogSource.cpp | arl-kgp/emulate_GPS | 3c888d5b27b81fb17e74d995370f64bdb110fb65 | [
"MIT"
] | null | null | null |
#include "AP_ADC_AnalogSource.h"
/* Unfortunately we don't have a valid implementaton for read_latest - we
* only have access to the average from the ADC driver. Not really a big deal
* in our application currently. */
extern const AP_HAL::HAL& hal;
float AP_ADC_AnalogSource::read_latest() {
return read_avera... | 26 | 77 | 0.704396 | quadrotor-IITKgp |
356fc9c7fd61031262f117fcf812ef17b49ede1a | 21,721 | cpp | C++ | hplip-3.20.3/prnt/hpijs/dj9xx.cpp | Deril-Pana/wikiBlackcoinNL | 9633307f0b485c27feae5da242944adf450e8963 | [
"MIT"
] | null | null | null | hplip-3.20.3/prnt/hpijs/dj9xx.cpp | Deril-Pana/wikiBlackcoinNL | 9633307f0b485c27feae5da242944adf450e8963 | [
"MIT"
] | 1 | 2021-11-20T16:33:39.000Z | 2021-11-20T16:33:39.000Z | hplip-3.20.3/prnt/hpijs/dj9xx.cpp | Deril-Pana/wikiBlackcoinNL | 9633307f0b485c27feae5da242944adf450e8963 | [
"MIT"
] | null | null | null | /*****************************************************************************\
dj9xx.cpp : Implimentation for the DJ9xx class
Copyright (c) 1996 - 2015, HP Co.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following con... | 25.227642 | 89 | 0.61581 | Deril-Pana |
35736f5c08a45b924638c49126661933b4062428 | 4,165 | cpp | C++ | Classes/BeeSpawner.cpp | JLouhela/jumpy-demo | 8ccb6c98b42e38284eb9d1d884460ccb3c7b1629 | [
"MIT"
] | null | null | null | Classes/BeeSpawner.cpp | JLouhela/jumpy-demo | 8ccb6c98b42e38284eb9d1d884460ccb3c7b1629 | [
"MIT"
] | null | null | null | Classes/BeeSpawner.cpp | JLouhela/jumpy-demo | 8ccb6c98b42e38284eb9d1d884460ccb3c7b1629 | [
"MIT"
] | null | null | null | /// Copyright (c) 2019 Joni Louhela
///
/// Permission is hereby granted, free of charge, to any person obtaining a copy
/// of this software and associated documentation files (the "Software"), to
/// deal in the Software without restriction, including without limitation the
/// rights to use, copy, modify, merge, pub... | 34.708333 | 91 | 0.67539 | JLouhela |
3576800f2efd1d54080a8c32bf9531c3dd50f848 | 1,131 | hpp | C++ | TZK_Objects/HPP/CfgMaterials_HighContrast.hpp | Darker1990/Project-TZK-Since2.12 | 3f1162b51f1f24f41b1000e97102be537d162b76 | [
"MIT"
] | null | null | null | TZK_Objects/HPP/CfgMaterials_HighContrast.hpp | Darker1990/Project-TZK-Since2.12 | 3f1162b51f1f24f41b1000e97102be537d162b76 | [
"MIT"
] | null | null | null | TZK_Objects/HPP/CfgMaterials_HighContrast.hpp | Darker1990/Project-TZK-Since2.12 | 3f1162b51f1f24f41b1000e97102be537d162b76 | [
"MIT"
] | null | null | null | #define SHADOWLVL 0.5
class CfgMaterials {
// *** DEFAULT DEFINITIONS OVERRIDE ***
class Water {
ambient[] = {SHADOWLVL,SHADOWLVL,SHADOWLVL,1};
diffuse[] = {0.13,0.15,0.065,1.0};
forcedDiffuse[] = {0.0264,0.03,0.013,0};
specular[] = {0.5,0.5,0.5,0};
specularPower = 4;
emmisive[] = {0,0,0,0};
};
class T... | 24.586957 | 48 | 0.57206 | Darker1990 |
3576934dc358e9d5f7ee3e905a1d114e9da8e887 | 1,333 | cpp | C++ | elite-dangerous.cpp | fredemmott/cpp-remapper-profiles | 8162747ecb1a35ba76b33abb6e5635c31433ea3f | [
"MIT"
] | null | null | null | elite-dangerous.cpp | fredemmott/cpp-remapper-profiles | 8162747ecb1a35ba76b33abb6e5635c31433ea3f | [
"MIT"
] | null | null | null | elite-dangerous.cpp | fredemmott/cpp-remapper-profiles | 8162747ecb1a35ba76b33abb6e5635c31433ea3f | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2020-present, Fred Emmott <fred@fredemmott.com>
* All rights reserved.
*
* This source code is licensed under the ISC license found in the LICENSE file
* in the root directory of this source tree.
*/
#include "easymode.h"
/** Mapping for Elite Dangerous.
*
* - add tiny deadzones to XY axis: ... | 28.978261 | 79 | 0.648162 | fredemmott |
3577e7aecad6bafb6b3056b3ac3745344717eece | 145 | cpp | C++ | jee.cpp | razat2199/IOSD-MAIT-HacktoberFest-Meetup-2019 | d534b2d648e0345129f778f23609059feeeff673 | [
"Apache-2.0"
] | 9 | 2021-09-15T09:48:49.000Z | 2021-12-28T09:52:18.000Z | jee.cpp | razat2199/IOSD-MAIT-HacktoberFest-Meetup-2019 | d534b2d648e0345129f778f23609059feeeff673 | [
"Apache-2.0"
] | 3 | 2019-10-07T04:35:44.000Z | 2020-12-07T23:18:41.000Z | jee.cpp | razat2199/IOSD-MAIT-HacktoberFest-Meetup-2019 | d534b2d648e0345129f778f23609059feeeff673 | [
"Apache-2.0"
] | 54 | 2019-10-04T10:45:52.000Z | 2021-06-09T09:57:52.000Z | cout<<"jee is not tough but a different exam which all can't crack.watch super 30 recommended";
cout<<"hello this is just for learning purpose."; | 72.5 | 95 | 0.765517 | razat2199 |
357c5d9daa4505757ceeb7eef94217fbd8cc2175 | 9,840 | cpp | C++ | src/sax_parser.cpp | webosce/notificationmgr | 2416eede0a3d3b49da19eac2c0a9d44cefd49e88 | [
"Apache-2.0"
] | 6 | 2018-03-17T12:36:07.000Z | 2019-05-06T05:22:29.000Z | src/sax_parser.cpp | webosce/notificationmgr | 2416eede0a3d3b49da19eac2c0a9d44cefd49e88 | [
"Apache-2.0"
] | 2 | 2019-02-03T11:11:45.000Z | 2019-02-03T11:12:22.000Z | src/sax_parser.cpp | webosce/notificationmgr | 2416eede0a3d3b49da19eac2c0a9d44cefd49e88 | [
"Apache-2.0"
] | 4 | 2018-03-22T18:58:15.000Z | 2022-02-26T16:03:45.000Z | // Copyright (c) 2014-2018 LG Electronics, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or... | 26.885246 | 120 | 0.594004 | webosce |
357ed0082155ff9b6c85f2172921c87940dea30e | 3,478 | cpp | C++ | export/release/windows/obj/src/lime/text/harfbuzz/_HBLanguage/HBLanguage_Impl_.cpp | bobisdabbing/Vs-The-United-Lands-stable | 0807e58b6d8ad1440bdd350bf006b37a1b7ca9b5 | [
"MIT"
] | null | null | null | export/release/windows/obj/src/lime/text/harfbuzz/_HBLanguage/HBLanguage_Impl_.cpp | bobisdabbing/Vs-The-United-Lands-stable | 0807e58b6d8ad1440bdd350bf006b37a1b7ca9b5 | [
"MIT"
] | null | null | null | export/release/windows/obj/src/lime/text/harfbuzz/_HBLanguage/HBLanguage_Impl_.cpp | bobisdabbing/Vs-The-United-Lands-stable | 0807e58b6d8ad1440bdd350bf006b37a1b7ca9b5 | [
"MIT"
] | null | null | null | // Generated by Haxe 4.1.5
#include <hxcpp.h>
#ifndef INCLUDED_lime__internal_backend_native_NativeCFFI
#include <lime/_internal/backend/native/NativeCFFI.h>
#endif
#ifndef INCLUDED_lime_text_harfbuzz__HBLanguage_HBLanguage_Impl_
#include <lime/text/harfbuzz/_HBLanguage/HBLanguage_Impl_.h>
#endif
HX_LOCAL_STACK_FRAME... | 34.098039 | 226 | 0.762507 | bobisdabbing |
35844f5d1d8acd338e2e62d1691f199ac69cf0bf | 20,033 | cxx | C++ | main/sc/source/ui/view/tabview5.cxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 679 | 2015-01-06T06:34:58.000Z | 2022-03-30T01:06:03.000Z | main/sc/source/ui/view/tabview5.cxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 102 | 2017-11-07T08:51:31.000Z | 2022-03-17T12:13:49.000Z | main/sc/source/ui/view/tabview5.cxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 331 | 2015-01-06T11:40:55.000Z | 2022-03-14T04:07:51.000Z | /**************************************************************
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to y... | 27.746537 | 106 | 0.683023 | Grosskopf |