hexsha stringlengths 40 40 | size int64 7 1.05M | ext stringclasses 13
values | lang stringclasses 1
value | max_stars_repo_path stringlengths 4 269 | max_stars_repo_name stringlengths 5 109 | max_stars_repo_head_hexsha stringlengths 40 40 | max_stars_repo_licenses listlengths 1 9 | max_stars_count int64 1 191k ⌀ | max_stars_repo_stars_event_min_datetime stringlengths 24 24 ⌀ | max_stars_repo_stars_event_max_datetime stringlengths 24 24 ⌀ | max_issues_repo_path stringlengths 4 269 | max_issues_repo_name stringlengths 5 116 | max_issues_repo_head_hexsha stringlengths 40 40 | max_issues_repo_licenses listlengths 1 9 | max_issues_count int64 1 48.5k ⌀ | max_issues_repo_issues_event_min_datetime stringlengths 24 24 ⌀ | max_issues_repo_issues_event_max_datetime stringlengths 24 24 ⌀ | max_forks_repo_path stringlengths 4 269 | max_forks_repo_name stringlengths 5 116 | max_forks_repo_head_hexsha stringlengths 40 40 | max_forks_repo_licenses listlengths 1 9 | max_forks_count int64 1 105k ⌀ | max_forks_repo_forks_event_min_datetime stringlengths 24 24 ⌀ | max_forks_repo_forks_event_max_datetime stringlengths 24 24 ⌀ | content stringlengths 7 1.05M | avg_line_length float64 1.21 330k | max_line_length int64 6 990k | alphanum_fraction float64 0.01 0.99 | author_id stringlengths 2 40 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6bf00f21b29da372813999f749ed9f1d003a9e53 | 87 | cpp | C++ | src/examples/02_module/01_expressions/main.cpp | acc-cosc-1337-summer-2020-classroom/acc-cosc-1337-summer-2020-Mr-Bari-99 | e5bf2e8f1fa37dbc5daf07ad3548c8c077d9973f | [
"MIT"
] | null | null | null | src/examples/02_module/01_expressions/main.cpp | acc-cosc-1337-summer-2020-classroom/acc-cosc-1337-summer-2020-Mr-Bari-99 | e5bf2e8f1fa37dbc5daf07ad3548c8c077d9973f | [
"MIT"
] | null | null | null | src/examples/02_module/01_expressions/main.cpp | acc-cosc-1337-summer-2020-classroom/acc-cosc-1337-summer-2020-Mr-Bari-99 | e5bf2e8f1fa37dbc5daf07ad3548c8c077d9973f | [
"MIT"
] | null | null | null | #include "expressions.h"
int main()
{
operator_precedence_1(1,2,3);
return 0;
} | 14.5 | 33 | 0.655172 | acc-cosc-1337-summer-2020-classroom |
6bf0f4257b2c07c119d272c776b49eb3081fd52b | 1,097 | cpp | C++ | NcCode/nccodecolor.cpp | xubenhao/VisualAlgorithm | 5fc45d9a4fc58569953fe3d880517adcd2fb0881 | [
"Apache-2.0"
] | 1 | 2021-01-29T02:12:53.000Z | 2021-01-29T02:12:53.000Z | NcCode/nccodecolor.cpp | xubenhao/VisualAlgorithm | 5fc45d9a4fc58569953fe3d880517adcd2fb0881 | [
"Apache-2.0"
] | null | null | null | NcCode/nccodecolor.cpp | xubenhao/VisualAlgorithm | 5fc45d9a4fc58569953fe3d880517adcd2fb0881 | [
"Apache-2.0"
] | null | null | null | // Author : XuBenHao
// Version : 1.0.0
// Mail : xbh370970843@163.com
// Copyright : XuBenHao 2020 - 2030
#include "nccodecolor.h"
namespace NNcCode
{
NcCodeColor::NcCodeColor(QObject *parent)
: NcCode(parent)
{
m_nCurTimes = 0;
}
NcCode* NcCodeColor::DeepCopy(... | 21.096154 | 70 | 0.50866 | xubenhao |
6bf148aca33c8c1be92fe6fc6b825df1fe27b435 | 971 | hpp | C++ | lumino/Graphics/src/RHIs/DirectX12/DX12RenderPass.hpp | GameDevery/Lumino | abce2ddca4b7678b04dbfd0ae5348e196c3c9379 | [
"MIT"
] | 113 | 2020-03-05T01:27:59.000Z | 2022-03-28T13:20:51.000Z | lumino/Graphics/src/RHIs/DirectX12/DX12RenderPass.hpp | GameDevery/Lumino | abce2ddca4b7678b04dbfd0ae5348e196c3c9379 | [
"MIT"
] | 35 | 2016-04-18T06:14:08.000Z | 2020-02-09T15:51:58.000Z | lumino/Graphics/src/RHIs/DirectX12/DX12RenderPass.hpp | GameDevery/Lumino | abce2ddca4b7678b04dbfd0ae5348e196c3c9379 | [
"MIT"
] | 12 | 2020-12-21T12:03:59.000Z | 2021-12-15T02:07:49.000Z |
#pragma once
#include "DX12Helper.hpp"
#include "DX12Textures.hpp"
namespace ln {
namespace detail {
class DX12RenderPass
: public IRenderPass
{
public:
DX12RenderPass();
bool init(DX12Device* device, const DeviceFramebufferState& buffers, ClearFlags clearFlags, const Color& clearColor, float clearDepth, uin... | 27.742857 | 158 | 0.773429 | GameDevery |
6bf684a25a692c6ba51b9ac62df79b4e77286bbf | 1,073 | cpp | C++ | codeforces/A - Competitive Programmer/Wrong answer on pretest 2.cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | 1 | 2022-02-11T16:55:36.000Z | 2022-02-11T16:55:36.000Z | codeforces/A - Competitive Programmer/Wrong answer on pretest 2.cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | null | null | null | codeforces/A - Competitive Programmer/Wrong answer on pretest 2.cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | null | null | null | /****************************************************************************************
* @author: kzvd4729 created: Dec/17/2019 21:21
* solution_verdict: Wrong answer on pretest 2 language: GNU C++14
* run... | 33.53125 | 111 | 0.375582 | kzvd4729 |
6bfb22789b1fafbea7101c9d2809d20de952c86d | 2,056 | cpp | C++ | android-30/java/util/zip/DeflaterInputStream.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 12 | 2020-03-26T02:38:56.000Z | 2022-03-14T08:17:26.000Z | android-31/java/util/zip/DeflaterInputStream.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 1 | 2021-01-27T06:07:45.000Z | 2021-11-13T19:19:43.000Z | android-29/java/util/zip/DeflaterInputStream.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 3 | 2021-02-02T12:34:55.000Z | 2022-03-08T07:45:57.000Z | #include "../../../JByteArray.hpp"
#include "../../io/InputStream.hpp"
#include "./Deflater.hpp"
#include "./DeflaterInputStream.hpp"
namespace java::util::zip
{
// Fields
// QJniObject forward
DeflaterInputStream::DeflaterInputStream(QJniObject obj) : java::io::FilterInputStream(obj) {}
// Constructors
Defla... | 20.56 | 112 | 0.660992 | YJBeetle |
6bfe841af6cc4744626c7c927dfce149928e74cd | 18,878 | cpp | C++ | src/utility.reader.ply/PlyReader.cpp | toeb/sine | 96bcde571218f89a2b0b3cc51c19ad2b7be89c13 | [
"MIT"
] | null | null | null | src/utility.reader.ply/PlyReader.cpp | toeb/sine | 96bcde571218f89a2b0b3cc51c19ad2b7be89c13 | [
"MIT"
] | null | null | null | src/utility.reader.ply/PlyReader.cpp | toeb/sine | 96bcde571218f89a2b0b3cc51c19ad2b7be89c13 | [
"MIT"
] | null | null | null | #include "PlyReader.h"
#include <utility.reader.h>
using namespace nspace;
using namespace std;
struct PlyProperty{
std::string name;
std::string type;
std::string indexType;
std::string itemType;
};
struct PlyElement{
std::vector<PlyProperty*> properties;
std::... | 22.028005 | 162 | 0.690698 | toeb |
6bfeee2bbfc3ee314c8227f793bc6f4771abb2df | 9,237 | cpp | C++ | SDK/ARKSurvivalEvolved_Buff_TekPistol_Stun_functions.cpp | 2bite/ARK-SDK | c38ca9925309516b2093ad8c3a70ed9489e1d573 | [
"MIT"
] | 10 | 2020-02-17T19:08:46.000Z | 2021-07-31T11:07:19.000Z | SDK/ARKSurvivalEvolved_Buff_TekPistol_Stun_functions.cpp | 2bite/ARK-SDK | c38ca9925309516b2093ad8c3a70ed9489e1d573 | [
"MIT"
] | 9 | 2020-02-17T18:15:41.000Z | 2021-06-06T19:17:34.000Z | SDK/ARKSurvivalEvolved_Buff_TekPistol_Stun_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_Buff_TekPistol_Stun_parameters.hpp"
namespace sdk
{
//---------------------------------------------------------------------------
//Functions
//--------------------------------------------------------------... | 31.418367 | 186 | 0.737577 | 2bite |
d4004056fbfc2c8ac442eb62cb79ca25cdf549b3 | 7,721 | cpp | C++ | src/data-sys/db_startup.cpp | BadOPCode/Oblivion2-XRM | d65d9aa4b8021fc3b50b2c09edd0b19eb7baa1b9 | [
"Zlib"
] | 78 | 2015-10-08T07:14:37.000Z | 2022-02-10T04:51:21.000Z | src/data-sys/db_startup.cpp | BadOPCode/Oblivion2-XRM | d65d9aa4b8021fc3b50b2c09edd0b19eb7baa1b9 | [
"Zlib"
] | 117 | 2015-12-14T16:51:42.000Z | 2020-02-16T07:00:36.000Z | src/data-sys/db_startup.cpp | BadOPCode/Oblivion2-XRM | d65d9aa4b8021fc3b50b2c09edd0b19eb7baa1b9 | [
"Zlib"
] | 10 | 2015-12-10T16:54:24.000Z | 2022-02-10T04:51:29.000Z | #include "db_startup.hpp"
#include "../model-sys/structures.hpp"
#include "../model-sys/protocol.hpp"
#include "../model-sys/access_level.hpp"
#include "../model-app/oneliners.hpp"
#include "base_dao.hpp"
#include "protocol_dao.hpp"
#include "access_level_dao.hpp"
#include "../data-app/oneliners_dao.hpp"
#include "..... | 31.643443 | 112 | 0.577904 | BadOPCode |
d4029a93797357080d403fee36cd9e3d1a4a8e8a | 7,818 | cc | C++ | src/translate/script_to_xml/util/string_tree.cc | roflcopter4/x4c-cxx | a2bbe33788b6e2188b5132f11af3f598bf809d71 | [
"CC0-1.0"
] | null | null | null | src/translate/script_to_xml/util/string_tree.cc | roflcopter4/x4c-cxx | a2bbe33788b6e2188b5132f11af3f598bf809d71 | [
"CC0-1.0"
] | null | null | null | src/translate/script_to_xml/util/string_tree.cc | roflcopter4/x4c-cxx | a2bbe33788b6e2188b5132f11af3f598bf809d71 | [
"CC0-1.0"
] | null | null | null | #include "Common.hh"
#include "translate/script_to_xml/util/util.hh"
namespace x4c::translate::script::util {
using namespace antlr4;
using namespace tree;
using std::string, std::vector, std::stack, std::endl;
static string get_node_text(ParseTree *t, vector<string> const &rule_names);
static string get_node_text(P... | 29.063197 | 98 | 0.489767 | roflcopter4 |
d4070eb5266bde45cf9aef243e87ea5765a904eb | 7,571 | hpp | C++ | libs/dsi/dti_process.hpp | cbutakoff/DSI-Studio | d77dffa4526d66da421fa84f7187e85bca6bce7c | [
"BSD-3-Clause"
] | null | null | null | libs/dsi/dti_process.hpp | cbutakoff/DSI-Studio | d77dffa4526d66da421fa84f7187e85bca6bce7c | [
"BSD-3-Clause"
] | null | null | null | libs/dsi/dti_process.hpp | cbutakoff/DSI-Studio | d77dffa4526d66da421fa84f7187e85bca6bce7c | [
"BSD-3-Clause"
] | null | null | null | #ifndef DTI_PROCESS_HPP
#define DTI_PROCESS_HPP
#include <cmath>
#include "basic_voxel.hpp"
#include "image/image.hpp"
class Dwi2Tensor : public BaseProcess
{
std::vector<float> d0,d1,d2,d3,md,txx,txy,txz,tyy,tyz,tzz;
float get_fa(float l1,float l2,float l3)
{
float ll = (l1+l2+l3)/3.0;
flo... | 37.295567 | 113 | 0.480914 | cbutakoff |
d4115759b959436aad9cec6b1ad256874002207e | 10,734 | cc | C++ | src/conv_common.cc | TUD-UCB-Boda/tud_boda | aa52c85aa0af1110f6f1f5a50c71bb37994b332a | [
"BSD-2-Clause"
] | 62 | 2015-03-19T09:55:50.000Z | 2022-02-27T19:06:52.000Z | src/conv_common.cc | moskewcz/boda | 27ec86e03ad004ad8beac7f7d74a5b0ef7676ef6 | [
"BSD-2-Clause"
] | 31 | 2015-12-02T23:36:06.000Z | 2019-04-17T20:11:28.000Z | src/conv_common.cc | TUD-UCB-Boda/tud_boda | aa52c85aa0af1110f6f1f5a50c71bb37994b332a | [
"BSD-2-Clause"
] | 24 | 2015-05-20T14:33:15.000Z | 2021-04-25T01:08:36.000Z | // Copyright (c) 2013-2014, Matthew W. Moskewicz <moskewcz@alumni.princeton.edu>; part of Boda framework; see LICENSE
#include"boda_tu_base.H"
#include"conv_common.H"
#include"str_util.H"
namespace boda
{
// conversion functions for image<-->feature space
// handle scales / placements
// valid: any returned output... | 67.0875 | 117 | 0.709707 | TUD-UCB-Boda |
d412967a39060b190d0b363a901545085cfc91e9 | 249 | cpp | C++ | 1300_ladder/200B.cpp | saivarshith2000/A20J | 2faa77eb10ce93cb1822fffba278ef6a24b86cee | [
"MIT"
] | null | null | null | 1300_ladder/200B.cpp | saivarshith2000/A20J | 2faa77eb10ce93cb1822fffba278ef6a24b86cee | [
"MIT"
] | null | null | null | 1300_ladder/200B.cpp | saivarshith2000/A20J | 2faa77eb10ce93cb1822fffba278ef6a24b86cee | [
"MIT"
] | null | null | null | // http://codeforces.com/problemset/problem/200/B
#include <bits/stdc++.h>
using namespace std;
int main(){
int n;
cin >> n;
int sum = 0, temp;
for(int i = 0; i < n; i++){cin >> temp; sum += temp;}
cout << 100 * (1.0 * sum)/(100*n) << endl;
}
| 20.75 | 54 | 0.570281 | saivarshith2000 |
d414a37b44fc5a394d724f2102e4a34a48fbf375 | 503 | cpp | C++ | 996A - Hit the Lottery.cpp | lionrocker/codeforces-solutions | 02703ff02dab98d30ef01e52b5a1acc1d8596862 | [
"MIT"
] | null | null | null | 996A - Hit the Lottery.cpp | lionrocker/codeforces-solutions | 02703ff02dab98d30ef01e52b5a1acc1d8596862 | [
"MIT"
] | null | null | null | 996A - Hit the Lottery.cpp | lionrocker/codeforces-solutions | 02703ff02dab98d30ef01e52b5a1acc1d8596862 | [
"MIT"
] | null | null | null |
#include <iostream>
#include <vector>
#include <algorithm>
#include <string>
#include <cmath>
using namespace std;
int main()
{
int n;
cin >> n;
int ans = 0;
int cash[5] = {1, 5, 10, 20, 100};
while (n != 0) {
for (int i = 4; i >= 0; i--) {
if (n >= cash[i])... | 15.242424 | 47 | 0.389662 | lionrocker |
d41aab2cbc11d0e4d0e5d1c2cddc0821cd4fe769 | 960 | cpp | C++ | src/CircleComponent.cpp | romz-pl/asteroids-game | 49aece301367cf123f0ceb43a71201db0de5268a | [
"MIT"
] | 2 | 2021-02-09T11:29:38.000Z | 2021-08-06T10:37:17.000Z | cpp/samples/Sample05/CircleComponent.cpp | SergiiSharpov/tcpp | b5d3840b6b5bedc736b617a22fe779ceba90ac6f | [
"MIT"
] | null | null | null | cpp/samples/Sample05/CircleComponent.cpp | SergiiSharpov/tcpp | b5d3840b6b5bedc736b617a22fe779ceba90ac6f | [
"MIT"
] | null | null | null | // ----------------------------------------------------------------
// From Game Programming in C++ by Sanjay Madhav
// Copyright (C) 2017 Sanjay Madhav. All rights reserved.
//
// Released under the BSD License
// See LICENSE in root directory for full details.
// -----------------------------------------------------... | 23.414634 | 67 | 0.622917 | romz-pl |
d41debbb9af854d2b630d23885af8f4129d06bd0 | 4,571 | cc | C++ | playground/vulkan/main.cc | ans-hub/gdm_framework | 4218bb658d542df2c0568c4d3aac813cd1f18e1b | [
"MIT"
] | 1 | 2020-12-30T23:50:01.000Z | 2020-12-30T23:50:01.000Z | playground/vulkan/main.cc | ans-hub/gdm_framework | 4218bb658d542df2c0568c4d3aac813cd1f18e1b | [
"MIT"
] | null | null | null | playground/vulkan/main.cc | ans-hub/gdm_framework | 4218bb658d542df2c0568c4d3aac813cd1f18e1b | [
"MIT"
] | null | null | null | // *************************************************************
// File: main.cc
// Author: Novoselov Anton @ 2020
// URL: https://github.com/ans-hub/gdm_framework
// *************************************************************
#ifndef GFX_VK_API
#define GFX_VK_API
#endif
#include "render/defines.h"
#includ... | 27.536145 | 131 | 0.682345 | ans-hub |
d421eb3a08d90065e6eb50e16db15e48d2c4d4fe | 7,080 | cpp | C++ | tf2_src/dmserializers/importsfmv3.cpp | IamIndeedGamingAsHardAsICan03489/TeamFortress2 | 1b81dded673d49adebf4d0958e52236ecc28a956 | [
"MIT"
] | 4 | 2021-10-03T05:16:55.000Z | 2021-12-28T16:49:27.000Z | tf2_src/dmserializers/importsfmv3.cpp | Counter2828/TeamFortress2 | 1b81dded673d49adebf4d0958e52236ecc28a956 | [
"MIT"
] | null | null | null | tf2_src/dmserializers/importsfmv3.cpp | Counter2828/TeamFortress2 | 1b81dded673d49adebf4d0958e52236ecc28a956 | [
"MIT"
] | 3 | 2022-02-02T18:09:58.000Z | 2022-03-06T18:54:39.000Z | //========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
//=============================================================================
#include "dmserializers.h"
#include "dmebaseimporter.h"
#include "datamodel/idatamodel.h"
#include "datamodel/dmelement.h"
#include "tier1/KeyV... | 31.052632 | 175 | 0.633192 | IamIndeedGamingAsHardAsICan03489 |
d42d20bf71a2a796d094d65ec9fb390333ca9c90 | 526 | cc | C++ | tb/riscv-isa-sim/build/amomaxu_w.cc | ljhsiun2/hackdac | f62399ddf9e9c79b22fbec07d59aa907a78a537e | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2021-08-13T03:12:15.000Z | 2021-08-13T03:12:15.000Z | tb/riscv-isa-sim/build/amomaxu_w.cc | ljhsiun2/hackdac | f62399ddf9e9c79b22fbec07d59aa907a78a537e | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | tb/riscv-isa-sim/build/amomaxu_w.cc | ljhsiun2/hackdac | f62399ddf9e9c79b22fbec07d59aa907a78a537e | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | // See LICENSE for license details.
#include "insn_template.h"
reg_t rv32_amomaxu_w(processor_t* p, insn_t insn, reg_t pc)
{
int xlen = 32;
reg_t npc = sext_xlen(pc + insn_length( MATCH_AMOMAXU_W));
#include "insns/amomaxu_w.h"
trace_opcode(p, MATCH_AMOMAXU_W, insn);
return npc;
}
reg_t rv64_amomaxu_w(pro... | 23.909091 | 60 | 0.718631 | ljhsiun2 |
2d6aae406b504be0ad5b3f9f6d8f727e49c660d4 | 3,209 | cpp | C++ | Solutions-library/problem-solving-paradigms-solutions/12210-UVa.cpp | basmaashouur/competitive-programming | d5580659b1d739338b92d5ffeb98f2d8cc888735 | [
"CC-BY-4.0"
] | 12 | 2018-10-04T20:09:25.000Z | 2021-06-30T03:09:52.000Z | Solutions-library/problem-solving-paradigms-solutions/12210-UVa.cpp | basmaashouur/competitive-programming | d5580659b1d739338b92d5ffeb98f2d8cc888735 | [
"CC-BY-4.0"
] | 1 | 2018-10-09T07:40:48.000Z | 2018-10-09T07:40:48.000Z | Solutions-library/problem-solving-paradigms-solutions/12210-UVa.cpp | basmaashouur/competitive-programming | d5580659b1d739338b92d5ffeb98f2d8cc888735 | [
"CC-BY-4.0"
] | null | null | null | /*
Name: 12210 - A Match Making Problem
Online Judge: UVa
Tags: Greedy, Sorting, Binary search, List, Vector
Complexity: O(n log n)
Tutorial: We will take the max bach and find the girl to marry him, search for her using binary search
in a list and find the best match, then delete her from the list and delete him from ... | 37.313953 | 102 | 0.295731 | basmaashouur |
2d6cf3ca1e3e02a4cec1bf65211bf46c43dba08b | 7,748 | cpp | C++ | code/editors/xrRenderCommons/HWCaps.cpp | Rikoshet-234/xray-oxygen | eaac3fa4780639152684f3251b8b4452abb8e439 | [
"Apache-2.0"
] | 7 | 2018-03-27T12:36:07.000Z | 2020-06-26T11:31:52.000Z | code/editors/xrRenderCommons/HWCaps.cpp | Rikoshet-234/xray-oxygen | eaac3fa4780639152684f3251b8b4452abb8e439 | [
"Apache-2.0"
] | 2 | 2018-05-26T23:17:14.000Z | 2019-04-14T18:33:27.000Z | code/editors/xrRenderCommons/HWCaps.cpp | Rikoshet-234/xray-oxygen | eaac3fa4780639152684f3251b8b4452abb8e439 | [
"Apache-2.0"
] | 5 | 2020-10-18T11:55:26.000Z | 2022-03-28T07:21:35.000Z | #include "stdafx.h"
#pragma hdrstop
#include "hwcaps.h"
#include "hw.h"
#include <NVAPI/nvapi.h>
#include <amd/amd_ags.h>
#pragma comment(lib, "amd_ags.lib")
namespace
{
u32 GetNVGpuNum()
{
NvLogicalGpuHandle logicalGPUs[NVAPI_MAX_LOGICAL_GPUS];
NvU32 logicalGPUCount;
NvPhysicalGpuHandle phys... | 26.62543 | 180 | 0.685467 | Rikoshet-234 |
2d6de3953bd4e0b63ece20c839d540098189a94e | 3,461 | cc | C++ | src/flutter/shell/platform/linux_embedded/plugins/platform_plugin.cc | cloudwebrtc/flutter-embedded-linux | d8b1f9618529bf4ba2691918c0d6b72d60296706 | [
"BSD-3-Clause"
] | 1 | 2021-08-21T00:08:02.000Z | 2021-08-21T00:08:02.000Z | src/flutter/shell/platform/linux_embedded/plugins/platform_plugin.cc | cloudwebrtc/flutter-embedded-linux | d8b1f9618529bf4ba2691918c0d6b72d60296706 | [
"BSD-3-Clause"
] | null | null | null | src/flutter/shell/platform/linux_embedded/plugins/platform_plugin.cc | cloudwebrtc/flutter-embedded-linux | d8b1f9618529bf4ba2691918c0d6b72d60296706 | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2013 The Flutter 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 "flutter/shell/platform/linux_embedded/plugins/platform_plugin.h"
#include "flutter/shell/platform/common/json_method_codec.h"
// Avoids the fol... | 37.619565 | 79 | 0.665992 | cloudwebrtc |
2d6f450d94625bc8312076a99d76bf232e396eb1 | 1,097 | cpp | C++ | aws-cpp-sdk-greengrassv2/source/model/UpdateConnectivityInfoRequest.cpp | perfectrecall/aws-sdk-cpp | fb8cbebf2fd62720b65aeff841ad2950e73d8ebd | [
"Apache-2.0"
] | 1 | 2022-01-05T18:20:03.000Z | 2022-01-05T18:20:03.000Z | aws-cpp-sdk-greengrassv2/source/model/UpdateConnectivityInfoRequest.cpp | perfectrecall/aws-sdk-cpp | fb8cbebf2fd62720b65aeff841ad2950e73d8ebd | [
"Apache-2.0"
] | 1 | 2021-10-14T16:57:00.000Z | 2021-10-18T10:47:24.000Z | aws-cpp-sdk-greengrassv2/source/model/UpdateConnectivityInfoRequest.cpp | perfectrecall/aws-sdk-cpp | fb8cbebf2fd62720b65aeff841ad2950e73d8ebd | [
"Apache-2.0"
] | 1 | 2021-11-09T11:58:03.000Z | 2021-11-09T11:58:03.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/greengrassv2/model/UpdateConnectivityInfoRequest.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::GreengrassV2::Model;
using namespace Aws::Ut... | 26.119048 | 129 | 0.779398 | perfectrecall |
2d6fd99c1d02d0cc4a55f5cec052a3874491fe15 | 15,617 | c++ | C++ | third_party/capnproto/c++/src/capnp/schema-parser.c++ | ATphobia22/mcm | 8c6045063504c29ca2c352c5b5da40af13b04124 | [
"Apache-2.0"
] | 80 | 2017-01-28T03:24:45.000Z | 2021-04-08T04:52:00.000Z | third_party/capnproto/c++/src/capnp/schema-parser.c++ | ATphobia22/mcm | 8c6045063504c29ca2c352c5b5da40af13b04124 | [
"Apache-2.0"
] | 32 | 2016-12-16T03:35:06.000Z | 2018-10-22T13:35:04.000Z | third_party/capnproto/c++/src/capnp/schema-parser.c++ | ATphobia22/mcm | 8c6045063504c29ca2c352c5b5da40af13b04124 | [
"Apache-2.0"
] | 10 | 2017-05-21T10:27:39.000Z | 2020-02-23T13:18:39.000Z | // Copyright (c) 2013-2014 Sandstorm Development Group, Inc. and contributors
// Licensed under the MIT License:
//
// 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, inc... | 31.677485 | 99 | 0.64449 | ATphobia22 |
2d729a4fb672f316362382bcff4e0c7a4bd62513 | 837 | cpp | C++ | cpp/A0560/main.cpp | Modnars/LeetCode | 1c91fe9598418e6ed72233260f9cd8d5737fe216 | [
"Apache-2.0"
] | 2 | 2021-11-26T14:06:13.000Z | 2021-11-26T14:34:34.000Z | cpp/A0560/main.cpp | Modnars/LeetCode | 1c91fe9598418e6ed72233260f9cd8d5737fe216 | [
"Apache-2.0"
] | 2 | 2021-11-26T14:06:49.000Z | 2021-11-28T11:28:49.000Z | cpp/A0560/main.cpp | Modnars/LeetCode | 1c91fe9598418e6ed72233260f9cd8d5737fe216 | [
"Apache-2.0"
] | null | null | null | // URL : https://leetcode-cn.com/problems/subarray-sum-equals-k/
// Author : Modnar
// Date : 2020/05/15
#include <bits/stdc++.h>
/* ************************* */
// Thanks: LeetCode(@leetcode.cn)
// Solution: https://leetcode-cn.com/problems/subarray-sum-equals-k/solution/he-wei-kde-zi-shu-zu-by-leetcode-soluti... | 25.363636 | 119 | 0.51135 | Modnars |
2d7514d5a6efec453c8ac895f7cf322bd9c90eda | 1,535 | cpp | C++ | src/ram/transform/ReorderFilterBreak.cpp | langston-barrett/souffle | ff495925363f920b63e51aeb580aa03952005ba9 | [
"UPL-1.0"
] | 570 | 2016-03-15T15:17:18.000Z | 2022-03-27T09:47:45.000Z | src/ram/transform/ReorderFilterBreak.cpp | langston-barrett/souffle | ff495925363f920b63e51aeb580aa03952005ba9 | [
"UPL-1.0"
] | 1,744 | 2016-03-16T19:19:19.000Z | 2022-03-31T21:28:28.000Z | src/ram/transform/ReorderFilterBreak.cpp | langston-barrett/souffle | ff495925363f920b63e51aeb580aa03952005ba9 | [
"UPL-1.0"
] | 183 | 2016-03-12T17:51:20.000Z | 2022-03-24T12:03:47.000Z | /*
* Souffle - A Datalog Compiler
* Copyright (c) 2018, The Souffle Developers. All rights reserved
* Licensed under the Universal Permissive License v 1.0 as shown at:
* - https://opensource.org/licenses/UPL
* - <souffle root>/licenses/SOUFFLE-UPL.txt
*/
/********************************************************... | 30.7 | 94 | 0.57785 | langston-barrett |
2d77afa9f7c08f6c83081c9feff1bc2bd9b1f43e | 897 | cpp | C++ | src/xjson.cpp | SylvainCorlay/xeus-wren | 1185ed8e18aacfe856969ff484b134e238369fa0 | [
"BSD-3-Clause"
] | 3 | 2021-09-28T09:39:50.000Z | 2021-09-28T16:34:45.000Z | src/xjson.cpp | SylvainCorlay/xeus-wren | 1185ed8e18aacfe856969ff484b134e238369fa0 | [
"BSD-3-Clause"
] | null | null | null | src/xjson.cpp | SylvainCorlay/xeus-wren | 1185ed8e18aacfe856969ff484b134e238369fa0 | [
"BSD-3-Clause"
] | 1 | 2022-03-16T23:29:23.000Z | 2022-03-16T23:29:23.000Z | /***************************************************************************
* Copyright (c) 2021,
*
* Distributed under the terms of the BSD 3-Clause License.
* ... | 30.931034 | 77 | 0.383501 | SylvainCorlay |
2d7a71f70de58525bf6a2c9b156efb866714c25a | 1,699 | cpp | C++ | src/tdme/gui/nodes/GUIPanelNode.cpp | mahula/tdme2 | 0f74d35ae5d2cd33b1a410c09f0d45f250ca7a64 | [
"BSD-3-Clause"
] | null | null | null | src/tdme/gui/nodes/GUIPanelNode.cpp | mahula/tdme2 | 0f74d35ae5d2cd33b1a410c09f0d45f250ca7a64 | [
"BSD-3-Clause"
] | null | null | null | src/tdme/gui/nodes/GUIPanelNode.cpp | mahula/tdme2 | 0f74d35ae5d2cd33b1a410c09f0d45f250ca7a64 | [
"BSD-3-Clause"
] | null | null | null | #include <tdme/gui/nodes/GUIPanelNode.h>
#include <string>
#include <set>
#include <tdme/gui/events/GUIMouseEvent.h>
using std::set;
using std::string;
using tdme::gui::nodes::GUIPanelNode;
using tdme::gui::events::GUIMouseEvent;
GUIPanelNode::GUIPanelNode(
GUIScreenNode* screenNode,
GUIParentNode* parentNode,
... | 30.339286 | 271 | 0.814008 | mahula |
2d7d1abe0c6a7e5747ccc9abcdb23184d8b1306d | 1,164 | cpp | C++ | engine/source/System/Timer.cpp | MaxSigma/SGEngine | 68a01012911b8d91c9ff6d960a0f7d1163940e09 | [
"MIT"
] | 11 | 2020-10-21T15:03:41.000Z | 2020-11-03T09:15:28.000Z | engine/source/System/Timer.cpp | MaxSigma/SGEngine | 68a01012911b8d91c9ff6d960a0f7d1163940e09 | [
"MIT"
] | null | null | null | engine/source/System/Timer.cpp | MaxSigma/SGEngine | 68a01012911b8d91c9ff6d960a0f7d1163940e09 | [
"MIT"
] | 1 | 2020-10-27T00:13:41.000Z | 2020-10-27T00:13:41.000Z | /////////////////////////////////////////////////////
// 2016 © Max Gittel //
/////////////////////////////////////////////////////
// SGEngine
#include "Timer.h"
namespace sge {
Timer::Timer(){
_lastTime=0;
_time=0;
_running=false;
_history.resize(30);
_historyPos=0;
}
... | 15.315789 | 62 | 0.508591 | MaxSigma |
2d7ed1b55a4649fe43a0a2e1787099efd31eec6a | 9,606 | hpp | C++ | src/hashutils.hpp | zhaoxiaofei/binhash | 78e0d465757b93f02cd2d6545717be9e78f93f95 | [
"Apache-2.0"
] | 35 | 2018-07-24T13:59:24.000Z | 2022-03-15T15:06:40.000Z | src/hashutils.hpp | zhaoxiaofei/binhash | 78e0d465757b93f02cd2d6545717be9e78f93f95 | [
"Apache-2.0"
] | 6 | 2018-11-09T20:15:28.000Z | 2021-03-04T14:38:01.000Z | src/hashutils.hpp | zhaoxiaofei/binhash | 78e0d465757b93f02cd2d6545717be9e78f93f95 | [
"Apache-2.0"
] | 6 | 2018-07-24T15:08:33.000Z | 2019-07-05T11:52:05.000Z | /*
* Copyright [2018] [XiaoFei Zhao]
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... | 32.452703 | 135 | 0.670414 | zhaoxiaofei |
2d7fc843aac4c1094218d5a7efbedf67eacc9dba | 2,456 | cpp | C++ | drivers/libblockfs/src/gpt.cpp | robertlipe/managarm | 5e6173abb2f2b1c365e6774074380255bcccf3a5 | [
"MIT"
] | null | null | null | drivers/libblockfs/src/gpt.cpp | robertlipe/managarm | 5e6173abb2f2b1c365e6774074380255bcccf3a5 | [
"MIT"
] | null | null | null | drivers/libblockfs/src/gpt.cpp | robertlipe/managarm | 5e6173abb2f2b1c365e6774074380255bcccf3a5 | [
"MIT"
] | null | null | null |
#include <stdlib.h>
#include <iostream>
#include "gpt.hpp"
namespace blockfs {
namespace gpt {
// --------------------------------------------------------
// Table
// --------------------------------------------------------
Table::Table(BlockDevice *device)
: device(device) { }
async::result<void> Table::parse() ... | 26.408602 | 96 | 0.650651 | robertlipe |
2d81630fad240fdd7ef05c8fb965a14a9d8d50c8 | 3,619 | cpp | C++ | src/fastdtw_cpp/projection.cpp | doge-of-the-day/FastDTW_CPP- | 731d65bc26db218d1e6352683ee17a43474101d5 | [
"BSD-3-Clause"
] | 3 | 2017-11-09T21:49:18.000Z | 2018-12-24T12:55:53.000Z | src/fastdtw_cpp/projection.cpp | doge-of-the-day/FastDTW_CPP | 731d65bc26db218d1e6352683ee17a43474101d5 | [
"BSD-3-Clause"
] | null | null | null | src/fastdtw_cpp/projection.cpp | doge-of-the-day/FastDTW_CPP | 731d65bc26db218d1e6352683ee17a43474101d5 | [
"BSD-3-Clause"
] | null | null | null | #include <fastdtw_cpp/projection.h>
#include <fastdtw_cpp/projection.hpp>
#include <assert.h>
using namespace fastdtw_cpp;
using namespace projection;
Projection::Projection(const unsigned int _height,
const unsigned int _width,
const unsigned int _scale,
... | 28.054264 | 74 | 0.585797 | doge-of-the-day |
2d8b0a3d50eb7edb607b1b45a13c9a1576b3941c | 13,417 | cpp | C++ | src/systems/graphics/graphics_task.cpp | vi3itor/Blunted2 | 318af452e51174a3a4634f3fe19b314385838992 | [
"Unlicense"
] | 56 | 2020-07-22T22:11:06.000Z | 2022-03-09T08:11:43.000Z | GameplayFootball/src/systems/graphics/graphics_task.cpp | ElsevierSoftwareX/SOFTX-D-20-00016 | 48c28adb72aa167a251636bc92111b3c43c0be67 | [
"MIT"
] | 9 | 2021-04-22T07:06:25.000Z | 2022-01-22T12:54:52.000Z | GameplayFootball/src/systems/graphics/graphics_task.cpp | ElsevierSoftwareX/SOFTX-D-20-00016 | 48c28adb72aa167a251636bc92111b3c43c0be67 | [
"MIT"
] | 20 | 2017-11-07T16:52:32.000Z | 2022-01-25T02:42:48.000Z | // written by bastiaan konings schuiling 2008 - 2014
// this work is public domain. the code is undocumented, scruffy, untested, and should generally not be used for anything important.
// i do not offer support, so don't ask. to be used for inspiration :)
#include "graphics_task.hpp"
#include "base/log.hpp"
#include... | 38.334286 | 163 | 0.686219 | vi3itor |
2d8df709d9fd8c74d2c080e2c163b045f499ea95 | 632 | cpp | C++ | atcoder(abc)/abc100a.cpp | NafiAsib/competitive-programming | 3255b2fe3329543baf9e720e1ccaf08466d77303 | [
"MIT"
] | null | null | null | atcoder(abc)/abc100a.cpp | NafiAsib/competitive-programming | 3255b2fe3329543baf9e720e1ccaf08466d77303 | [
"MIT"
] | null | null | null | atcoder(abc)/abc100a.cpp | NafiAsib/competitive-programming | 3255b2fe3329543baf9e720e1ccaf08466d77303 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
#define sf scanf
#define pf printf
#define endl "\n"
#define off ios_base::sync_with_stdio(false);cin.tie(0);cout.tie(0)
#define fr freopen("in.txt", "r", stdin)
#define fw freopen("out.txt", "w", stdout)
#define pb push_back
#define eb emplace_back
#define PII ... | 23.407407 | 68 | 0.620253 | NafiAsib |
2d9239553c55e197ae911e706fb50de4737b2eb5 | 3,109 | cpp | C++ | libs/regex/src/regex.cpp | m4tsa/ext-boost | db66d0f0ef8ab9678582a3e5bde16ac77c0b8a56 | [
"BSL-1.0"
] | 2,728 | 2015-01-01T10:06:45.000Z | 2022-03-30T18:12:58.000Z | libs/regex/src/regex.cpp | m4tsa/ext-boost | db66d0f0ef8ab9678582a3e5bde16ac77c0b8a56 | [
"BSL-1.0"
] | 1,192 | 2015-01-01T06:03:19.000Z | 2022-03-31T09:14:36.000Z | Libs/boost_1_76_0/libs/regex/src/regex.cpp | Antd23rus/S2DE | 47cc7151c2934cd8f0399a9856c1e54894571553 | [
"MIT"
] | 334 | 2015-01-08T20:47:03.000Z | 2022-02-18T07:07:01.000Z | /*
*
* Copyright (c) 1998-2004
* 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)
*
*/
/*
* LOCATION: see http://www.boost.org for most recent versio... | 25.694215 | 104 | 0.698939 | m4tsa |
2d92e33ca33199caa01e3fbcc35610a162687187 | 477 | hxx | C++ | reference/Remove.hxx | blake-sheridan/include-b | 16c1712e38f5bc423565e97de6b07eeca6a9223d | [
"MIT"
] | null | null | null | reference/Remove.hxx | blake-sheridan/include-b | 16c1712e38f5bc423565e97de6b07eeca6a9223d | [
"MIT"
] | null | null | null | reference/Remove.hxx | blake-sheridan/include-b | 16c1712e38f5bc423565e97de6b07eeca6a9223d | [
"MIT"
] | null | null | null | #ifndef b_reference_Remove_hxx_
#define b_reference_Remove_hxx_
namespace b {
namespace reference {
template <typename T> struct __Remove { using Result = T; };
template <typename T> struct __Remove<T&> { using Result = T; };
template <typename T> struct __Remove<T&&> { using Result = T; };
/*
* An implementa... | 22.714286 | 65 | 0.712788 | blake-sheridan |
2d976bca0d8e8a425dbd26454ad3ce73f572f899 | 451 | hpp | C++ | Json.hpp | Marinoland/marinoland_json | 2549fb75f08d43c8300e6c43ec525a19bd163bba | [
"Apache-2.0"
] | null | null | null | Json.hpp | Marinoland/marinoland_json | 2549fb75f08d43c8300e6c43ec525a19bd163bba | [
"Apache-2.0"
] | null | null | null | Json.hpp | Marinoland/marinoland_json | 2549fb75f08d43c8300e6c43ec525a19bd163bba | [
"Apache-2.0"
] | 1 | 2021-11-16T05:37:35.000Z | 2021-11-16T05:37:35.000Z | #ifndef __JSON_HPP__
#define __JSON_HPP__
#include <string>
#include <memory>
#include <functional>
#include "JsonNullNode.hpp"
#include "JsonIntNode.hpp"
#include "JsonFloatNode.hpp"
#include "JsonBooleanNode.hpp"
#include "JsonStringNode.hpp"
#include "JsonArrayNode.hpp"
#include "JsonObjectNode.hpp"
... | 23.736842 | 101 | 0.727273 | Marinoland |
2d9bcf263ca8f01ac7498b87e904b62e34727c66 | 675 | cpp | C++ | Shared/src/psr.cpp | usagirei/PSO2_SymbolArt_ThumbnailHandler | 9293bbb8e531639abd42a05fb1c478766120bed8 | [
"MIT"
] | 15 | 2020-06-17T05:54:34.000Z | 2022-02-11T10:38:05.000Z | Shared/src/psr.cpp | usagirei/PSO2_SymbolArt_ThumbnailHandler | 9293bbb8e531639abd42a05fb1c478766120bed8 | [
"MIT"
] | 5 | 2020-06-18T11:16:20.000Z | 2021-07-13T02:52:21.000Z | Shared/src/psr.cpp | usagirei/PSO2_SymbolArt_ThumbnailHandler | 9293bbb8e531639abd42a05fb1c478766120bed8 | [
"MIT"
] | null | null | null | #include "psr.h"
void psr_decompress(MemoryStream& dst, MemoryStream& src) {
while (true) {
while (src.readBit())
dst.write(src.read<uint8_t>());
int offset = 0;
int size = 0;
if (src.readBit()) {
int v = src.read<uint16_t>();
if (v == 0)
break; // EOF
offset = (v >> 3) - 8192;
size = ... | 14.673913 | 59 | 0.491852 | usagirei |
2da3c83135241d42c7b5e599557a22f6899969a8 | 3,733 | cpp | C++ | sources/mergecards.cpp | bob-weber/cardGame-500 | 007ad6e1ad30f6e24ba3c5c29cfc16d42c0a9a51 | [
"Beerware"
] | null | null | null | sources/mergecards.cpp | bob-weber/cardGame-500 | 007ad6e1ad30f6e24ba3c5c29cfc16d42c0a9a51 | [
"Beerware"
] | null | null | null | sources/mergecards.cpp | bob-weber/cardGame-500 | 007ad6e1ad30f6e24ba3c5c29cfc16d42c0a9a51 | [
"Beerware"
] | null | null | null | #include <QObject>
#include <QMessageBox>
#include "game_500_settings.h"
#include "card.h"
#include "player.h"
#include "mergeDialog.h"
#include "mergecards.h"
MergeCards::MergeCards(QObject *parent)
{
Q_UNUSED(parent);
}
void MergeCards::StartMerge(Player* player, Player* kitty)
{
m_player = player;
m_kitty = k... | 31.905983 | 116 | 0.721939 | bob-weber |
2da7806b5e3fb1868daf5b4f8e26bbcaf89596f1 | 4,482 | cpp | C++ | src/client/gl/gl_errors.cpp | caseymcc/open-builder | 644356e2704ad9f3b9cb3d197504cae9a0cfadc5 | [
"MIT"
] | null | null | null | src/client/gl/gl_errors.cpp | caseymcc/open-builder | 644356e2704ad9f3b9cb3d197504cae9a0cfadc5 | [
"MIT"
] | null | null | null | src/client/gl/gl_errors.cpp | caseymcc/open-builder | 644356e2704ad9f3b9cb3d197504cae9a0cfadc5 | [
"MIT"
] | null | null | null | #include "gl_errors.h"
#include <glad/glad.h>
#include <iostream>
void GLAPIENTRY glDebugCallback(GLenum source, GLenum type, GLuint, GLenum severity,
GLsizei, const char* message, const void*)
{
const char* severity_str = "?";
switch (severity) {
case GL_DEBUG_SEVERITY... | 30.69863 | 89 | 0.531013 | caseymcc |
2db4e7989caaa053a728c2688f9d6c18cc2f6cd2 | 6,772 | cc | C++ | engine/source/gui/buttons/guiCheckBoxCtrl.cc | Sednari/twitch-tutorial-flappy-birds | 9aaed1cea2ef24ef6a5212c3350db17a017142fe | [
"MIT"
] | 1,309 | 2015-01-01T02:46:14.000Z | 2022-03-14T04:56:02.000Z | engine/source/gui/buttons/guiCheckBoxCtrl.cc | Sednari/twitch-tutorial-flappy-birds | 9aaed1cea2ef24ef6a5212c3350db17a017142fe | [
"MIT"
] | 155 | 2015-01-11T19:26:32.000Z | 2021-11-22T04:08:55.000Z | engine/source/gui/buttons/guiCheckBoxCtrl.cc | Sednari/twitch-tutorial-flappy-birds | 9aaed1cea2ef24ef6a5212c3350db17a017142fe | [
"MIT"
] | 1,595 | 2015-01-01T23:19:48.000Z | 2022-02-17T07:00:52.000Z | //-----------------------------------------------------------------------------
// Copyright (c) 2013 GarageGames, LLC
//
// 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 restr... | 30.367713 | 132 | 0.587123 | Sednari |
2db60ee414ab28f8f3e1973297080e5c63f7c9d3 | 4,164 | cpp | C++ | Skima/Classes/UILayer.cpp | dlakwwkd/CommitAgain | 3fdad38f7951b1a58ae244bd5d68f5a92e97f633 | [
"MIT"
] | 1 | 2015-04-07T06:08:11.000Z | 2015-04-07T06:08:11.000Z | Skima/Classes/UILayer.cpp | dlakwwkd/CommitAgain | 3fdad38f7951b1a58ae244bd5d68f5a92e97f633 | [
"MIT"
] | 1 | 2015-01-01T11:14:29.000Z | 2015-01-01T12:19:04.000Z | Skima/Classes/UILayer.cpp | dlakwwkd/CommitAgain | 3fdad38f7951b1a58ae244bd5d68f5a92e97f633 | [
"MIT"
] | null | null | null | #include "pch.h"
#include "UILayer.h"
#include "TcpClient.h"
#include "PacketType.h"
#include <crtdbg.h>
bool UILayer::init()
{
if (!Layer::init())
return false;
auto winSize = Director::getInstance()->getWinSize();
auto menuItem = MenuItemImage::create(
"Images/Interface/Exit.png",
... | 33.047619 | 164 | 0.664986 | dlakwwkd |
2db6eeac8c29c8b1c1695cfd52e1a1b63ac703f2 | 184 | cpp | C++ | src/src/global_data.cpp | wanderingThroughSpaceAndTime/HaxBall | fc6a3e490a7c043cdbc9ec9018a8c7da23d14574 | [
"MIT"
] | null | null | null | src/src/global_data.cpp | wanderingThroughSpaceAndTime/HaxBall | fc6a3e490a7c043cdbc9ec9018a8c7da23d14574 | [
"MIT"
] | null | null | null | src/src/global_data.cpp | wanderingThroughSpaceAndTime/HaxBall | fc6a3e490a7c043cdbc9ec9018a8c7da23d14574 | [
"MIT"
] | null | null | null | #include "peerdata.h"
#include <vector>
int num_players=1;
int connecthash[100];
int packethash[100];
bool sendmydata=false;
bool game_mode=false;
vector<peerdata> gamers;
int my_num; | 18.4 | 24 | 0.777174 | wanderingThroughSpaceAndTime |
2dbb241a7725998acd1fa5407d592045c311228b | 228 | hpp | C++ | lib/TimeFunctions/TimeFunctions.hpp | kvoit/FloorHeatingController_SW | d28083a9422b6bd8b873236feb895797358a0286 | [
"Apache-2.0"
] | 2 | 2020-07-30T01:03:30.000Z | 2020-09-03T12:43:46.000Z | lib/TimeFunctions/TimeFunctions.hpp | kvoit/FloorHeatingController_SW | d28083a9422b6bd8b873236feb895797358a0286 | [
"Apache-2.0"
] | null | null | null | lib/TimeFunctions/TimeFunctions.hpp | kvoit/FloorHeatingController_SW | d28083a9422b6bd8b873236feb895797358a0286 | [
"Apache-2.0"
] | null | null | null | #pragma once
#ifndef TIMEFUNCTONS_HPP
#define TIMEFUNCTONS_HPP
#include <WiFi.h>
#include <globalTimeinfo.h>
void updateNTP(uint32_t gmtOffset_sec, uint32_t dlsOffset_sec, const char* ntpserver);
void printLocalTime();
#endif | 20.727273 | 86 | 0.807018 | kvoit |
2dbdcf36c1a5d771f5bc45738679273f2e238a36 | 21,236 | cpp | C++ | Data Logger.cpp | BerkmanLord/BME280-GAPPS-SD-LOGGER | d935a49040eb449b97fe8c4bfc5c8219af33bbd1 | [
"MIT"
] | null | null | null | Data Logger.cpp | BerkmanLord/BME280-GAPPS-SD-LOGGER | d935a49040eb449b97fe8c4bfc5c8219af33bbd1 | [
"MIT"
] | null | null | null | Data Logger.cpp | BerkmanLord/BME280-GAPPS-SD-LOGGER | d935a49040eb449b97fe8c4bfc5c8219af33bbd1 | [
"MIT"
] | null | null | null | /*Temparature, Humidity & Pressure Logger - Berkman Lord Gülenç
This script will log the data from BME280 sensor to Google Sheets and to an SD Card that is connected through SPI to ESP32.
In addition, it will display the stats on Adafruit_SSD1306 OLED display.
Please make sure to add all the libraries, HTTPSRedire... | 34.086677 | 222 | 0.560793 | BerkmanLord |
2dbddafdc685f93d5ee515d8a4d46b4ea0bce00f | 1,313 | hpp | C++ | include/tweedledee/quil/token_kinds.hpp | meamy/tweedledee | 8eeea0534f5a5e7a8d9332c9c1380603d95e337d | [
"MIT"
] | null | null | null | include/tweedledee/quil/token_kinds.hpp | meamy/tweedledee | 8eeea0534f5a5e7a8d9332c9c1380603d95e337d | [
"MIT"
] | null | null | null | include/tweedledee/quil/token_kinds.hpp | meamy/tweedledee | 8eeea0534f5a5e7a8d9332c9c1380603d95e337d | [
"MIT"
] | null | null | null | /*-------------------------------------------------------------------------------------------------
| This file is distributed under the MIT License.
| See accompanying file /LICENSE for details.
| Author(s): Bruno Schmitt
*------------------------------------------------------------------------------------------------... | 27.354167 | 99 | 0.604722 | meamy |
2dc5d6de28cf963b6c835fda8eac9a055642a6cf | 33,948 | cpp | C++ | cccc/JParser.cpp | nachose/my_cccc | 249a6c03ce632e8c98ce522a3fb11a3e3d40b245 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | cccc/JParser.cpp | nachose/my_cccc | 249a6c03ce632e8c98ce522a3fb11a3e3d40b245 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | cccc/JParser.cpp | nachose/my_cccc | 249a6c03ce632e8c98ce522a3fb11a3e3d40b245 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | /*
* JParser: P a r s e r S u p p o r t
*
* Generated from: java.g
*
* Terence Parr, Russell Quong, Will Cohen, and Hank Dietz: 1989-1999
* Parr Research Corporation
* with Purdue University Electrical Engineering
* with AHPCRC, University of Minnesota
* ANTLR Version 1.33MR20
*/
#define ANTLR_VERSION 13320... | 35.622246 | 89 | 0.682603 | nachose |
2dc65bb0599a190d5a5f2269cb8455bcd8aa7220 | 1,346 | hpp | C++ | examples/cifar100_cifarnet/include/CifarNet_float.hpp | hpc-ulisboa/posit-neuralnet | 64718d7642b11cc6a255f0de68b6435f0f803145 | [
"MIT"
] | 6 | 2020-10-05T07:52:00.000Z | 2021-12-08T06:31:42.000Z | examples/cifar100_cifarnet/include/CifarNet_float.hpp | hpc-ulisboa/posit-neuralnet | 64718d7642b11cc6a255f0de68b6435f0f803145 | [
"MIT"
] | null | null | null | examples/cifar100_cifarnet/include/CifarNet_float.hpp | hpc-ulisboa/posit-neuralnet | 64718d7642b11cc6a255f0de68b6435f0f803145 | [
"MIT"
] | 2 | 2020-09-30T13:52:20.000Z | 2022-03-30T04:12:30.000Z | #ifndef CIFARNET_FLOAT_HPP
#define CIFARNET_FLOAT_HPP
// General headers
#include <torch/torch.h>
struct CifarNet_floatImpl : torch::nn::Module {
CifarNet_floatImpl(size_t num_classes=100) :
conv1(torch::nn::Conv2dOptions(3, 8, /*kernel_size=*/5).padding(2)),
conv2(torch::nn::Conv2dOptions(8, 16, /*kernel_size=*... | 26.92 | 89 | 0.653789 | hpc-ulisboa |
2dce6b5e1cd54b42a0d9bd9819960f0cbaec858d | 457 | hpp | C++ | example/sim4ana/source/CutReadoutThreshold.hpp | goroyabu/anlpy | 2d5d65b898d31d69f990e973cbfdbabd8cb0a15c | [
"MIT"
] | null | null | null | example/sim4ana/source/CutReadoutThreshold.hpp | goroyabu/anlpy | 2d5d65b898d31d69f990e973cbfdbabd8cb0a15c | [
"MIT"
] | null | null | null | example/sim4ana/source/CutReadoutThreshold.hpp | goroyabu/anlpy | 2d5d65b898d31d69f990e973cbfdbabd8cb0a15c | [
"MIT"
] | null | null | null | /**
@file CutReadoutThreshold.hpp
@date 2020/08/24
@author
@detail Automatically generated by make_anlpy_project.sh 1.0.0
**/
#ifndef CutReadoutThreshold_hpp
#define CutReadoutThreshold_hpp
#include <VANL_Module.hpp>
class CutReadoutThreshold : public anl::VANL_Module
{
public:
CutReadoutThresho... | 17.576923 | 65 | 0.719912 | goroyabu |
2dd0cff803e7a7cbef04e907d91ea7900e943583 | 28,685 | hpp | C++ | src/Utilities/Gsl.hpp | tomwlodarczyk/spectre | 086aaee002f2f07eb812cf17b8e1ba54052feb71 | [
"MIT"
] | null | null | null | src/Utilities/Gsl.hpp | tomwlodarczyk/spectre | 086aaee002f2f07eb812cf17b8e1ba54052feb71 | [
"MIT"
] | null | null | null | src/Utilities/Gsl.hpp | tomwlodarczyk/spectre | 086aaee002f2f07eb812cf17b8e1ba54052feb71 | [
"MIT"
] | null | null | null |
/// \file
/// Defines functions and classes from the GSL
#pragma once
#pragma GCC system_header
// The code in this file is adapted from Microsoft's GSL that can be found at
// https://github.com/Microsoft/GSL
// The original license and copyright are:
///////////////////////////////////////////////////////////////... | 32.485844 | 80 | 0.660624 | tomwlodarczyk |
2dd7ab79068ef35aacafe34e952cbbb8c940a75e | 135 | hpp | C++ | src/c++/xml_output_global.hpp | arvestad/FastPhylo | 565ff08ca37f1a749b7837453b9ac6de1d15b643 | [
"MIT"
] | 1 | 2018-09-07T07:48:21.000Z | 2018-09-07T07:48:21.000Z | src/c++/xml_output_global.hpp | arvestad/FastPhylo | 565ff08ca37f1a749b7837453b9ac6de1d15b643 | [
"MIT"
] | 1 | 2018-09-03T09:39:32.000Z | 2019-02-19T09:59:34.000Z | src/c++/xml_output_global.hpp | arvestad/FastPhylo | 565ff08ca37f1a749b7837453b9ac6de1d15b643 | [
"MIT"
] | 3 | 2018-09-17T08:09:30.000Z | 2020-12-11T00:50:08.000Z | #ifndef XML_OUTPUT_GLOBAL_HPP
#define XML_OUTPUT_GLOBAL_HPP
#include <string>
extern bool xmlPrint;
#endif // XML_OUTPUT_GLOBAL_HPP
| 15 | 31 | 0.822222 | arvestad |
2ddc3926f56ca430a6010b06aa281010c24f4d89 | 19,328 | cpp | C++ | minetest-ego/src/noise.cpp | medialab-prado/Interactivos-15-Ego | 4c7e184b9495d07fc1008573ef1b752d20ebc1ab | [
"MIT"
] | null | null | null | minetest-ego/src/noise.cpp | medialab-prado/Interactivos-15-Ego | 4c7e184b9495d07fc1008573ef1b752d20ebc1ab | [
"MIT"
] | null | null | null | minetest-ego/src/noise.cpp | medialab-prado/Interactivos-15-Ego | 4c7e184b9495d07fc1008573ef1b752d20ebc1ab | [
"MIT"
] | null | null | null | /*
* Minetest
* Copyright (C) 2010-2014 celeron55, Perttu Ahola <celeron55@gmail.com>
* Copyright (C) 2010-2014 kwolekr, Ryan Kwolek <kwolekr@minetest.net>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are
* permitted provided that the following condi... | 24.16 | 96 | 0.623086 | medialab-prado |
2dde6859a8f643dfe2f5c8ef09ed68fb7603f2b8 | 2,089 | cpp | C++ | Data-Structures/Cpp/Queue/QueuesUsingArrays.cpp | M-Usman-Tahir/Data-Structures-and-Algorithms | 08331182f0bbfd85fcdba50477dcf408b09a37cd | [
"Apache-2.0"
] | 2 | 2021-12-13T10:09:47.000Z | 2022-01-05T11:04:31.000Z | Data-Structures/Cpp/Queue/QueuesUsingArrays.cpp | M-Usman-Tahir/Data-Structures-and-Algorithms | 08331182f0bbfd85fcdba50477dcf408b09a37cd | [
"Apache-2.0"
] | 1 | 2021-10-15T17:55:47.000Z | 2021-10-17T20:43:15.000Z | Data-Structures/Cpp/Queue/QueuesUsingArrays.cpp | M-Usman-Tahir/Data-Structures-and-Algorithms | 08331182f0bbfd85fcdba50477dcf408b09a37cd | [
"Apache-2.0"
] | 4 | 2021-10-12T13:05:10.000Z | 2021-10-16T19:31:46.000Z | #include <iostream>
using namespace std;
#define n 5 // Queue's Capacity
class Queue {
int* arr;
int front;
int back;
public:
Queue() {
arr = new int[n];
front = -1;
back = -1;
}
void enqueue (int dataValue){
if (front==-1)
{
front+... | 15.589552 | 54 | 0.391575 | M-Usman-Tahir |
2de0edd115cde649dff49ed13d327e8d6a88999e | 1,185 | hpp | C++ | Zadatak 6.4/lek.hpp | pikacxe/Cpp_Projects | 4c1defc292a284b359a7583fa48ef51f2fec484b | [
"MIT"
] | null | null | null | Zadatak 6.4/lek.hpp | pikacxe/Cpp_Projects | 4c1defc292a284b359a7583fa48ef51f2fec484b | [
"MIT"
] | null | null | null | Zadatak 6.4/lek.hpp | pikacxe/Cpp_Projects | 4c1defc292a284b359a7583fa48ef51f2fec484b | [
"MIT"
] | null | null | null | #ifndef DEF_LEK
#define DEF_LEK
#include "../dinstring.hpp"
#include "artikal.hpp"
#include <iostream>
class Lek : public Artikal{
private:
long jkl;
DinString naziv;
double jedinicnaCena;
int kolicina;
public:
Lek(): jkl(0), naziv(""), jedinicnaCena(0), kolicina(0) {}
... | 35.909091 | 162 | 0.623629 | pikacxe |
2de342a88f50ddf3606434fbe80ff1ac2bc0666a | 332 | hpp | C++ | src/GUI/WindowProperties.hpp | dlasalle/matrixinspector | 7fc1b0065c2ea2cd01de58a96c2ffa99a9c2659e | [
"MIT"
] | 2 | 2018-02-04T21:10:14.000Z | 2018-02-13T15:24:28.000Z | src/GUI/WindowProperties.hpp | dlasalle/matrixinspector | 7fc1b0065c2ea2cd01de58a96c2ffa99a9c2659e | [
"MIT"
] | 15 | 2017-09-05T20:55:04.000Z | 2018-12-21T09:12:21.000Z | src/GUI/WindowProperties.hpp | dlasalle/matrixinspector | 7fc1b0065c2ea2cd01de58a96c2ffa99a9c2659e | [
"MIT"
] | null | null | null | /**
* @file WindowProperties.hpp
* @brief Constants for windows.
* @author Dominique LaSalle <dominique@solidlake.com>
* Copyright 2017
* @version 1
*/
#ifndef MATRIXINSPECTOR_GUI_WINDOWPROPERTIES_HPP
#define MATRIXINSPECTOR_GUI_WINDOWPROPERTIES_HPP
namespace MatrixInspector
{
int const BORDER = 15;
}... | 10.709677 | 54 | 0.746988 | dlasalle |
2de78f2942ef24e8460785911d4a74dc473ec2a4 | 1,732 | cpp | C++ | code/source/Common/Registry.cpp | TheodorusWare/Archivarius | c7bc89a2faaadc37bb65c24fc2e978c915edd582 | [
"Apache-2.0"
] | null | null | null | code/source/Common/Registry.cpp | TheodorusWare/Archivarius | c7bc89a2faaadc37bb65c24fc2e978c915edd582 | [
"Apache-2.0"
] | null | null | null | code/source/Common/Registry.cpp | TheodorusWare/Archivarius | c7bc89a2faaadc37bb65c24fc2e978c915edd582 | [
"Apache-2.0"
] | null | null | null | /*
Copyright (C) 2018-2020 Theodorus Software
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,... | 21.382716 | 102 | 0.714781 | TheodorusWare |
2dec8914325739d0aff3a89bcece7fc8b0debc65 | 1,996 | cpp | C++ | lib/sensors/src/sensors.cpp | mauriciobarroso/dit-es | e4b6b63eaae34d0f141554ce0f727ed86b919279 | [
"MIT"
] | null | null | null | lib/sensors/src/sensors.cpp | mauriciobarroso/dit-es | e4b6b63eaae34d0f141554ce0f727ed86b919279 | [
"MIT"
] | null | null | null | lib/sensors/src/sensors.cpp | mauriciobarroso/dit-es | e4b6b63eaae34d0f141554ce0f727ed86b919279 | [
"MIT"
] | null | null | null | /*
* mcp401x.c
*
* Created on: Jan 13, 2021
* Author: Mauricio Barroso Benavides
*/
/* inclusions ----------------------------------------------------------------*/
#include "sensors.h"
/* macros --------------------------------------------------------------------*/
/* typedef ---------------------------------... | 25.265823 | 80 | 0.470942 | mauriciobarroso |
2dedc6054aca73d64a87b1cc8bcd27a7cf0b62f8 | 6,549 | hpp | C++ | qir/qat/TestTools/IrManipulationTestHelper.hpp | troelsfr/qat | 55ba460b6be307fc2ac7e8143bf14d7e117da161 | [
"MIT"
] | null | null | null | qir/qat/TestTools/IrManipulationTestHelper.hpp | troelsfr/qat | 55ba460b6be307fc2ac7e8143bf14d7e117da161 | [
"MIT"
] | null | null | null | qir/qat/TestTools/IrManipulationTestHelper.hpp | troelsfr/qat | 55ba460b6be307fc2ac7e8143bf14d7e117da161 | [
"MIT"
] | null | null | null | #pragma once
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#include "Generators/ProfileGenerator.hpp"
#include "Llvm/Llvm.hpp"
#include <unordered_set>
#include <vector>
namespace microsoft
{
namespace quantum
{
class IrManipulationTestHelper
{
public:
using Strin... | 37.210227 | 120 | 0.624828 | troelsfr |
2def78d95b6e2a90d919af713ac1d37da9a0ca2f | 2,000 | cpp | C++ | world/tiles/features/source/BasicFeature.cpp | sidav/shadow-of-the-wyrm | 747afdeebed885b1a4f7ab42f04f9f756afd3e52 | [
"MIT"
] | null | null | null | world/tiles/features/source/BasicFeature.cpp | sidav/shadow-of-the-wyrm | 747afdeebed885b1a4f7ab42f04f9f756afd3e52 | [
"MIT"
] | null | null | null | world/tiles/features/source/BasicFeature.cpp | sidav/shadow-of-the-wyrm | 747afdeebed885b1a4f7ab42f04f9f756afd3e52 | [
"MIT"
] | null | null | null | #include "BasicFeature.hpp"
#include "Serialize.hpp"
using namespace std;
BasicFeature::BasicFeature()
: Feature(MaterialType::MATERIAL_TYPE_UNKNOWN, AlignmentRange::ALIGNMENT_RANGE_NEUTRAL), symbol('?'), colour(Colour::COLOUR_WHITE)
{
}
BasicFeature::BasicFeature(const MaterialType mat, const uchar new_symbol, cons... | 21.276596 | 130 | 0.7585 | sidav |
2defb711e5cc59d2181a33c5448c40a804240138 | 55,580 | cpp | C++ | src/graphx_dx9.cpp | juce/taksi | 154ce405d5c51429d66c5e160891afa60dd23044 | [
"BSD-3-Clause"
] | 2 | 2020-10-23T02:42:18.000Z | 2021-12-08T14:01:46.000Z | src/graphx_dx9.cpp | juce/taksi | 154ce405d5c51429d66c5e160891afa60dd23044 | [
"BSD-3-Clause"
] | null | null | null | src/graphx_dx9.cpp | juce/taksi | 154ce405d5c51429d66c5e160891afa60dd23044 | [
"BSD-3-Clause"
] | null | null | null | #include <windows.h>
#include "d3d9types.h"
#include "d3d9.h"
#define _COMPILING_MYDLL
#include "mydll.h"
#include "config.h"
#include "log.h"
#include "dinp.h"
#include "shared.h"
#include "util.h"
#include "heap.h"
#include "graphx_dx9.h"
extern HINSTANCE hInst;
HMODULE hD3D9 = NULL;
extern HMODUL... | 31.277434 | 111 | 0.617722 | juce |
2df7ecd26ef5a13d1e496de4b565c08489dcc0bd | 415 | cpp | C++ | Employe.cpp | ttRmz/projet_heritage_POO | 713d84177ac9f0025ef1af502d373732e5328b63 | [
"Apache-2.0"
] | null | null | null | Employe.cpp | ttRmz/projet_heritage_POO | 713d84177ac9f0025ef1af502d373732e5328b63 | [
"Apache-2.0"
] | null | null | null | Employe.cpp | ttRmz/projet_heritage_POO | 713d84177ac9f0025ef1af502d373732e5328b63 | [
"Apache-2.0"
] | null | null | null | #include "Employe.h"
using namespace std;
void Employe::setlastName (std::string lastname)
{
m_lastname = lastname;
}
std::string Employe::getlastname()
{
return m_lastname;
}
void Employe::setfirstname (std::string firstname)
{
m_firstname = firstname;
}
std::string Employe::getfirstname()
{
return m_firstname;... | 12.96875 | 50 | 0.713253 | ttRmz |
2df94974ccc1167397930d222bc57e40d122c91d | 15,544 | cpp | C++ | recipes-cbc/cbc/cbc/examples/sudoku.cpp | Justin790126/meta-coinor | 0180187c583b3a6fd0a8dac7c85ac1bd89bf8cc9 | [
"MIT"
] | null | null | null | recipes-cbc/cbc/cbc/examples/sudoku.cpp | Justin790126/meta-coinor | 0180187c583b3a6fd0a8dac7c85ac1bd89bf8cc9 | [
"MIT"
] | null | null | null | recipes-cbc/cbc/cbc/examples/sudoku.cpp | Justin790126/meta-coinor | 0180187c583b3a6fd0a8dac7c85ac1bd89bf8cc9 | [
"MIT"
] | null | null | null | // Copyright (C) 2005, International Business Machines
// Corporation and others. All Rights Reserved.
// This code is licensed under the terms of the Eclipse Public License (EPL).
#include <cassert>
#include <iomanip>
#include "CoinPragma.hpp"
// For Branch and bound
#include "OsiSolverInterface.hpp"
#include "CbcM... | 32.862579 | 108 | 0.511387 | Justin790126 |
2dfb675e10148e4574355f5cf6f0e5cfa52148cc | 595 | cpp | C++ | excercise04/main_for_test.cpp | kdzlvaids/algorithm_and_practice-pknu-2016 | 3a03d3445aa91423e4aa899ebc16043359d8d504 | [
"MIT"
] | null | null | null | excercise04/main_for_test.cpp | kdzlvaids/algorithm_and_practice-pknu-2016 | 3a03d3445aa91423e4aa899ebc16043359d8d504 | [
"MIT"
] | null | null | null | excercise04/main_for_test.cpp | kdzlvaids/algorithm_and_practice-pknu-2016 | 3a03d3445aa91423e4aa899ebc16043359d8d504 | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <stdlib.h>
#include "make_random_data/make_random_data.hpp"
#include "sort/heapsort.hpp"
#include "sort/quicksort.hpp"
#include "sort/merge_sort.hpp"
#include "sort/selection_sort.hpp"
#include "sort/insertion_sort.hpp"
#include "sort/bubble_sort.hpp"
#define SORT heapsort
#define SIZE ... | 20.517241 | 58 | 0.655462 | kdzlvaids |
2dff3388c4a0b537bc2b43c379ebfb4190366657 | 6,255 | cpp | C++ | Visual Mercutio/zWinUtil32/PSS_CreateFolderWizard.cpp | Jeanmilost/Visual-Mercutio | f079730005b6ce93d5e184bb7c0893ccced3e3ab | [
"MIT"
] | 1 | 2022-01-31T06:24:24.000Z | 2022-01-31T06:24:24.000Z | Visual Mercutio/zWinUtil32/PSS_CreateFolderWizard.cpp | Jeanmilost/Visual-Mercutio | f079730005b6ce93d5e184bb7c0893ccced3e3ab | [
"MIT"
] | 2 | 2021-04-11T15:50:42.000Z | 2021-06-05T08:23:04.000Z | Visual Mercutio/zWinUtil32/PSS_CreateFolderWizard.cpp | Jeanmilost/Visual-Mercutio | f079730005b6ce93d5e184bb7c0893ccced3e3ab | [
"MIT"
] | 2 | 2021-01-08T00:55:18.000Z | 2022-01-31T06:24:18.000Z | /****************************************************************************
* ==> PSS_CreateFolderWizard ----------------------------------------------*
****************************************************************************
* Description : Provides a create folder Wizard *
* Devel... | 40.882353 | 103 | 0.466347 | Jeanmilost |
9300c0ab5e23905ce9b55353d0e6532a71b87e00 | 1,909 | cpp | C++ | source/grafica/scene_graph.cpp | hporro/grafica_cpp | 1427bb6e8926b44be474b906e9f52cca77b3df9d | [
"MIT"
] | 2 | 2022-03-05T03:04:25.000Z | 2022-03-05T03:04:50.000Z | source/grafica/scene_graph.cpp | hporro/grafica_cpp | 1427bb6e8926b44be474b906e9f52cca77b3df9d | [
"MIT"
] | null | null | null | source/grafica/scene_graph.cpp | hporro/grafica_cpp | 1427bb6e8926b44be474b906e9f52cca77b3df9d | [
"MIT"
] | 4 | 2021-09-06T20:44:47.000Z | 2021-10-04T22:05:12.000Z | /**
* @file scene_graph.cpp
* @brief Convenience struct SceneGraphNode to store a hierarchy of transformations and shapes meant to be drawn with OpenGL.
*
* @author Daniel Calderón
* @license MIT
*/
#include "scene_graph.h"
namespace Grafica
{
void SceneGraphNode::clear()
{
for (auto& childPtr : childs)
... | 24.792208 | 125 | 0.668937 | hporro |
930506c7a043e2f59f6658ac07ac12c81908590f | 2,276 | hpp | C++ | src/api/signal-definitions.hpp | SirCmpwn/wayfire | 007452f6ccc07ceca51879187bba142431832382 | [
"MIT"
] | 3 | 2019-01-16T14:43:24.000Z | 2019-10-09T10:07:33.000Z | src/api/signal-definitions.hpp | SirCmpwn/wayfire | 007452f6ccc07ceca51879187bba142431832382 | [
"MIT"
] | null | null | null | src/api/signal-definitions.hpp | SirCmpwn/wayfire | 007452f6ccc07ceca51879187bba142431832382 | [
"MIT"
] | 1 | 2019-05-07T09:46:58.000Z | 2019-05-07T09:46:58.000Z | #ifndef SIGNAL_DEFINITIONS_HPP
#define SIGNAL_DEFINITIONS_HPP
#include "output.hpp"
#include "../../proto/wayfire-shell-server.h"
struct create_view_signal : public signal_data
{
wayfire_view created_view;
create_view_signal(wayfire_view view) {
created_view = view;
}
};
struct destroy_view_sign... | 25.288889 | 110 | 0.758787 | SirCmpwn |
930663f53b1523e6a1a29506cde96644bffe5597 | 2,479 | cpp | C++ | PE/ch07/7.10.cpp | DustOfStars/CppPrimerPlus6 | 391e3ad76eaa99f331981cee72139d83115fc93d | [
"MIT"
] | null | null | null | PE/ch07/7.10.cpp | DustOfStars/CppPrimerPlus6 | 391e3ad76eaa99f331981cee72139d83115fc93d | [
"MIT"
] | null | null | null | PE/ch07/7.10.cpp | DustOfStars/CppPrimerPlus6 | 391e3ad76eaa99f331981cee72139d83115fc93d | [
"MIT"
] | null | null | null | /*
* Design a function calculation() that takes two type double values and a
* pointer to a function that takes two double arguments and returns a
* double. The calculate() function should also be type double, and it
* should return the value that the pointed-to function calculates, using
* the double arguments to... | 33.5 | 76 | 0.656716 | DustOfStars |
9306a261bd2ae589d339d9e1613bc749a16d26a5 | 12,756 | cpp | C++ | test/gtest/src/TestUtils.cpp | msingh31/JP4Agent-1 | e1a30a0c7438006270cdea5e91cfb18613c25ac0 | [
"Apache-2.0"
] | null | null | null | test/gtest/src/TestUtils.cpp | msingh31/JP4Agent-1 | e1a30a0c7438006270cdea5e91cfb18613c25ac0 | [
"Apache-2.0"
] | null | null | null | test/gtest/src/TestUtils.cpp | msingh31/JP4Agent-1 | e1a30a0c7438006270cdea5e91cfb18613c25ac0 | [
"Apache-2.0"
] | null | null | null | //
// TestUtils.cpp
//
// Test Utils
//
// Created by Sandesh Kumar Sodhi, January 2017
// Copyright (c) [2017] Juniper Networks, Inc. All rights reserved.
//
// All rights reserved.
//
// Notice and Disclaimer: This code is licensed to you under the Apache
// License 2.0 (the "License"). You may not use this code exce... | 31.264706 | 80 | 0.596582 | msingh31 |
930adc59e4dc125c17e152e774cb944390a53b41 | 8,219 | cpp | C++ | libs/fnd/type_traits/test/src/unit_test_fnd_type_traits_is_nothrow_assignable.cpp | myoukaku/bksge | 0f8b60e475a3f1709723906e4796b5e60decf06e | [
"MIT"
] | 4 | 2018-06-10T13:35:32.000Z | 2021-06-03T14:27:41.000Z | libs/fnd/type_traits/test/src/unit_test_fnd_type_traits_is_nothrow_assignable.cpp | myoukaku/bksge | 0f8b60e475a3f1709723906e4796b5e60decf06e | [
"MIT"
] | 566 | 2017-01-31T05:36:09.000Z | 2022-02-09T05:04:37.000Z | libs/fnd/type_traits/test/src/unit_test_fnd_type_traits_is_nothrow_assignable.cpp | myoukaku/bksge | 0f8b60e475a3f1709723906e4796b5e60decf06e | [
"MIT"
] | 1 | 2018-07-05T04:40:53.000Z | 2018-07-05T04:40:53.000Z | /**
* @file unit_test_fnd_type_traits_is_nothrow_assignable.cpp
*
* @brief is_nothrow_assignable のテスト
*
* @author myoukaku
*/
#include <bksge/fnd/type_traits/is_nothrow_assignable.hpp>
#include <bksge/fnd/config.hpp>
#include <gtest/gtest.h>
#include <string>
#include "type_traits_test_utility.hpp"
... | 54.793333 | 98 | 0.766273 | myoukaku |
930ba665f56b841724464d5d49a39e4bd5670f2c | 13,284 | hpp | C++ | include/nndescent.hpp | TatsuyaShirakawa/nndescent | 20cbac72f068b033ca1b5cb34c96ec8afaa539af | [
"MIT"
] | 17 | 2017-03-09T02:29:42.000Z | 2021-05-28T06:34:11.000Z | include/nndescent.hpp | TatsuyaShirakawa/nndescent | 20cbac72f068b033ca1b5cb34c96ec8afaa539af | [
"MIT"
] | 1 | 2019-07-18T00:03:41.000Z | 2019-07-18T00:03:41.000Z | include/nndescent.hpp | TatsuyaShirakawa/nndescent | 20cbac72f068b033ca1b5cb34c96ec8afaa539af | [
"MIT"
] | 3 | 2017-10-04T13:39:55.000Z | 2021-02-13T12:03:57.000Z | // -*- coding:utf-8 -*-
//
// C++11 implementation of Efficient K-NN Graph Construction Algorithm NN-Descent:
// Wei Dong et al., "Efficient K-Nearest Neighbor Graph Construction for Generic Similarity Measures", WWW11
// ( http://www.cs.princeton.edu/cass/papers/www11.pdf )
//
// Author: Tatsuya Shirakawa
//
// ... | 29.851685 | 123 | 0.545544 | TatsuyaShirakawa |
930d1bd691f81c224db8b61d677e12772b08f4f6 | 8,154 | hpp | C++ | srcs/boxpp/boxpp/base/tpls/containers/Comparator.hpp | whoamiho1006/boxpp | 5de2c5f9b2303ac6f539192f6407e9acf9144f8b | [
"MIT"
] | 2 | 2019-11-13T13:57:37.000Z | 2019-11-25T09:55:17.000Z | srcs/boxpp/boxpp/base/tpls/containers/Comparator.hpp | whoamiho1006/boxpp | 5de2c5f9b2303ac6f539192f6407e9acf9144f8b | [
"MIT"
] | null | null | null | srcs/boxpp/boxpp/base/tpls/containers/Comparator.hpp | whoamiho1006/boxpp | 5de2c5f9b2303ac6f539192f6407e9acf9144f8b | [
"MIT"
] | null | null | null | #pragma once
#include <boxpp/base/BaseMacros.hpp>
#include <boxpp/base/BaseTypes.hpp>
#include <boxpp/base/tpls/traits/PickType.hpp>
#include <boxpp/base/tpls/traits/IsCallableType.hpp>
#include <boxpp/base/tpls/traits/AbstractedOperators.hpp>
#include <string.h>
namespace boxpp
{
namespace _ {
/* Equal operation... | 32.357143 | 104 | 0.690704 | whoamiho1006 |
930d99717eba79ab455c24b220fb446ba82cc61f | 188 | cpp | C++ | lab_04/src/main.cpp | orion2101/ssw_lab_5sem | 5b11569ee93c7e4cc6777846089fd82f7486539e | [
"MIT"
] | null | null | null | lab_04/src/main.cpp | orion2101/ssw_lab_5sem | 5b11569ee93c7e4cc6777846089fd82f7486539e | [
"MIT"
] | 10 | 2020-11-24T10:04:05.000Z | 2021-01-08T14:47:02.000Z | lab_04/src/main.cpp | orion2101/ssw_lab_5sem | 5b11569ee93c7e4cc6777846089fd82f7486539e | [
"MIT"
] | 9 | 2020-09-21T10:43:48.000Z | 2020-11-17T15:28:14.000Z | #include <iostream>
#include <string>
#include "lab_04.h"
int main() {
std::cout << "Hello, World!" << std::endl;
std::string path = "test.p";
Parse4(path);
return 0;
}
| 14.461538 | 46 | 0.574468 | orion2101 |
931078a11d8bc0bc5cea2bd6c6e4cdd2f8d2a9f7 | 1,372 | cpp | C++ | test/src/data/ini.cpp | chensoft/libchen | 03ae1da49a39595cd8afcb6089122b9a5caa7891 | [
"MIT"
] | 4 | 2016-05-30T02:10:42.000Z | 2020-12-01T03:11:31.000Z | test/src/data/ini.cpp | chensoft/libchen | 03ae1da49a39595cd8afcb6089122b9a5caa7891 | [
"MIT"
] | null | null | null | test/src/data/ini.cpp | chensoft/libchen | 03ae1da49a39595cd8afcb6089122b9a5caa7891 | [
"MIT"
] | null | null | null | /**
* Created by Jian Chen
* @since 2016.06.17
* @author Jian Chen <admin@chensoft.com>
* @link http://chensoft.com
*/
#include "chen/data/ini.hpp"
#include "chen/base/str.hpp"
#include "chen/sys/fs.hpp"
#include "catch.hpp"
TEST_CASE("DataIniTest")
{
using chen::ini;
using chen::str;
using chen::f... | 23.254237 | 94 | 0.560496 | chensoft |
9311ed6136dc00b4f24f5a810db819ebd208ede7 | 962 | cpp | C++ | src/wme_console/wme_console/wme_console.cpp | segafan/wme1_jankavan_tlc_edition-repo | 72163931f348d5a2132577930362d297cc375a26 | [
"MIT"
] | 3 | 2021-03-28T00:11:48.000Z | 2022-01-12T13:10:52.000Z | src/wme_console/wme_console/wme_console.cpp | segafan/wme1_jankavan_tlc_edition-repo | 72163931f348d5a2132577930362d297cc375a26 | [
"MIT"
] | null | null | null | src/wme_console/wme_console/wme_console.cpp | segafan/wme1_jankavan_tlc_edition-repo | 72163931f348d5a2132577930362d297cc375a26 | [
"MIT"
] | null | null | null | // This file is part of Wintermute Engine
// For conditions of distribution and use, see copyright notice in license.txt
// http://dead-code.org/redir.php?target=wme
#include "stdafx.h"
#include "wme_console.h"
using namespace wme_console;
#pragma unmanaged
///////////////////////////////////////////... | 23.463415 | 84 | 0.549896 | segafan |
93133d22213d954f00e3830121275471c6f57f86 | 3,140 | cpp | C++ | bitmatrix/bitmatrix_main.cpp | xixicat/argmat-clpb | eb76cb42ff7e9e2fd8d82a40778d1ac6343cea58 | [
"MIT"
] | 3 | 2016-01-09T21:48:21.000Z | 2018-12-28T05:52:14.000Z | bitmatrix/bitmatrix_main.cpp | xixicat/argmat-clpb | eb76cb42ff7e9e2fd8d82a40778d1ac6343cea58 | [
"MIT"
] | null | null | null | bitmatrix/bitmatrix_main.cpp | xixicat/argmat-clpb | eb76cb42ff7e9e2fd8d82a40778d1ac6343cea58 | [
"MIT"
] | null | null | null | #include <cstdio>
#include <iostream>
#include <fstream>
#include <string.h>
//#include <boost/dynamic_bitset/dynamic_bitset.hpp>
#include "bitmatrix.hpp"
using namespace std;
using namespace argumatrix;
int main(int argc, char* argv[])
{
bitvector bv("00001001010");
cout << bv << endl;
//// Static bit matrix
//... | 22.919708 | 82 | 0.508917 | xixicat |
9315d76117507061070290ab90481c3822073b13 | 1,547 | hpp | C++ | tests/tests/WindowsHTest.hpp | LU15W1R7H/lwirth-lib | f51cfb56b801790c200cea64d226730449d68f53 | [
"MIT"
] | 2 | 2018-04-04T17:26:32.000Z | 2020-06-26T09:22:49.000Z | tests/tests/WindowsHTest.hpp | LU15W1R7H/lwirth-lib | f51cfb56b801790c200cea64d226730449d68f53 | [
"MIT"
] | 1 | 2018-08-27T14:35:45.000Z | 2018-08-27T19:00:12.000Z | tests/tests/WindowsHTest.hpp | LU15W1R7H/lwirth-lib | f51cfb56b801790c200cea64d226730449d68f53 | [
"MIT"
] | null | null | null | //
// Created by Luis on 07-Oct-18.
//
#ifndef LWIRTH_WINDOWSHTEST_HPP
#define LWIRTH_WINDOWSHTEST_HPP
LRESULT CALLBACK WindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
{
switch(uMsg)
{
case WM_CLOSE:
PostQuitMessage(0);
break;
case WM_CHAR:
if(wParam == VK_ESCAPE)
{
SendMessage(hwnd, WM_CLOSE, 0, 0);
... | 20.626667 | 155 | 0.757595 | LU15W1R7H |
93189405408b304f29a37f8604cc98d0d14a8cff | 23,363 | cpp | C++ | SurfaceMeshProcessing/surfacemeshprocessing.cpp | ChunyangYe/MEBP_VLSM | 5e59f98bf34f10e5472ed13e6e19c3eb547f15c8 | [
"MIT"
] | 3 | 2020-12-24T02:33:48.000Z | 2021-11-30T10:38:26.000Z | SurfaceMeshProcessing/surfacemeshprocessing.cpp | ChunyangYe/MEBP_VLSM | 5e59f98bf34f10e5472ed13e6e19c3eb547f15c8 | [
"MIT"
] | null | null | null | SurfaceMeshProcessing/surfacemeshprocessing.cpp | ChunyangYe/MEBP_VLSM | 5e59f98bf34f10e5472ed13e6e19c3eb547f15c8 | [
"MIT"
] | 3 | 2020-10-09T07:16:33.000Z | 2021-07-28T03:39:33.000Z | #include "surfacemeshprocessing.h"
#include "MeshViewer/MainViewerWidget.h"
#include "MeshViewer/Aux_Transform_Mesh_Dialog.h"
SurfaceMeshProcessing::SurfaceMeshProcessing(QWidget *parent)
: QMainWindow(parent)
{
viewer = new MainViewerWidget(this);
setCentralWidget(viewer);
initWindow();
createActions();
createM... | 34.509601 | 114 | 0.782049 | ChunyangYe |
931aaf3e567b6cc7c4c1d7e8e83e1229cd56c27a | 35,092 | cpp | C++ | src/ranger.cpp | Celissa/Legacy-Base | 027553da16342c4e31cebf5eaad6925fbaa5d5a5 | [
"CC-BY-3.0"
] | 1 | 2018-09-16T03:17:50.000Z | 2018-09-16T03:17:50.000Z | src/ranger.cpp | Celissa/Legacy-Base | 027553da16342c4e31cebf5eaad6925fbaa5d5a5 | [
"CC-BY-3.0"
] | null | null | null | src/ranger.cpp | Celissa/Legacy-Base | 027553da16342c4e31cebf5eaad6925fbaa5d5a5 | [
"CC-BY-3.0"
] | null | null | null | #include "system.h"
int current_condition ( char_data* );
// We need a global variable to communicate between scan_room and the
// virtual function Char_Data::Seen().
bool tfh_assume_lit = FALSE;
/*
* SKIN FUNCTION
*/
// returns true if it extracted the corpse
bool skin_corpse( char_data *ch, obj_data *corp... | 28.669935 | 152 | 0.606378 | Celissa |
7940f66ce0a804fafc855aae5d422cee8aa54c38 | 5,604 | cpp | C++ | Work/Source/Sparrow.DirectX/DirectX/DXGI/DXGIOutput.cpp | vinothsparrow/SparrowToolkit | 32b38281e47db5ab86bedaa801e6736722b244be | [
"MS-PL"
] | 1 | 2020-02-18T11:11:56.000Z | 2020-02-18T11:11:56.000Z | Work/Source/Sparrow.DirectX/DirectX/DXGI/DXGIOutput.cpp | vinothsparrow/SparrowToolkit | 32b38281e47db5ab86bedaa801e6736722b244be | [
"MS-PL"
] | null | null | null | Work/Source/Sparrow.DirectX/DirectX/DXGI/DXGIOutput.cpp | vinothsparrow/SparrowToolkit | 32b38281e47db5ab86bedaa801e6736722b244be | [
"MS-PL"
] | null | null | null | // Copyright (c) Microsoft Corporation. All rights reserved.
#include "stdafx.h"
#include <vector>
#include "DXGIOutput.h"
#include "DXGISurface.h"
#include "DXGIDevice.h"
#include "Direct3D11/D3D11Device.h"
#include "Direct3D10/D3D10Device.h"
using namespace std;
using namespace System::Collections::Ge... | 33.159763 | 157 | 0.73162 | vinothsparrow |
79410943d79264a1c6fedf421638384c1c8e76e8 | 1,740 | cpp | C++ | UVa-problems/12047.cpp | LeKSuS-04/Competitive-Programming | fbc86a8c6febeef72587a8f94135e92197e1f99e | [
"WTFPL"
] | null | null | null | UVa-problems/12047.cpp | LeKSuS-04/Competitive-Programming | fbc86a8c6febeef72587a8f94135e92197e1f99e | [
"WTFPL"
] | null | null | null | UVa-problems/12047.cpp | LeKSuS-04/Competitive-Programming | fbc86a8c6febeef72587a8f94135e92197e1f99e | [
"WTFPL"
] | null | null | null | /* UVa 12047 - Highest Paid Toll */
// https://onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=679&page=show_problem&problem=3198
// Date: 2021-08-31 06:19:11
// Runtime: 0.150
// Verdict: AC
#include <iostream>
#include <queue>
#include <utility>
#include <vector>
using namespace std;
typedef pair... | 26.769231 | 112 | 0.479885 | LeKSuS-04 |
79439ddb791da184364e5d9287bf0ae30f276059 | 9,496 | cpp | C++ | src/backup.cpp | keshavbhatt/olivia | e66086d5866ca4059e5382221b017c9af0714df7 | [
"MIT"
] | 327 | 2019-03-11T03:20:53.000Z | 2022-03-27T04:25:58.000Z | backup.cpp | donPabloNow/olivia-music | 64c196f15ce7acbbf5593f74f382d735386582b4 | [
"MIT"
] | 111 | 2019-03-10T23:47:43.000Z | 2022-01-22T19:01:46.000Z | backup.cpp | donPabloNow/olivia-music | 64c196f15ce7acbbf5593f74f382d735386582b4 | [
"MIT"
] | 28 | 2019-03-21T12:49:33.000Z | 2022-01-08T00:49:41.000Z | #include "backup.h"
#include "ui_backup.h"
#include <QProcess>
#include <QDir>
#include <QMessageBox>
#include <QDateTime>
#include <QFileDialog>
#include <QDebug>
#include <QStandardPaths>
QString debugger_name = "BACKUP_RESTORE:";
Backup::Backup(QWidget *parent, QString settings_path, QSettings *settingsObj) :
... | 35.699248 | 223 | 0.638058 | keshavbhatt |
7943d1f29a79fd246583fb25792c4fa640f9f051 | 227 | cpp | C++ | practica_4/src/O3DS.cpp | AlbitaMoreno/IG | 5cb330f711c6fa8044e359af5555a90378e32e55 | [
"MIT"
] | null | null | null | practica_4/src/O3DS.cpp | AlbitaMoreno/IG | 5cb330f711c6fa8044e359af5555a90378e32e55 | [
"MIT"
] | null | null | null | practica_4/src/O3DS.cpp | AlbitaMoreno/IG | 5cb330f711c6fa8044e359af5555a90378e32e55 | [
"MIT"
] | null | null | null | #include "O3DS.h"
void O3DS::dibuja_puntos(){
glBegin(GL_POINTS);
glColor3f(0,1,0); // Puntos en verde
for(int i = 0; i < Vertices.size(); i++){
glVertex3f(Vertices[i].x, Vertices[i].y, Vertices[i].z);
}
glEnd();
}
| 17.461538 | 58 | 0.621145 | AlbitaMoreno |
79486508bea3ba894958ab76b6de745270cc997c | 2,478 | cpp | C++ | gui/processes/AnisotropicDiffusionProcess.cpp | frooms/stira | 60b419f3e478397a8ab43ce9315a259567d94a26 | [
"MIT"
] | 8 | 2016-03-23T08:12:33.000Z | 2022-01-25T14:07:03.000Z | gui/processes/AnisotropicDiffusionProcess.cpp | frooms/stira | 60b419f3e478397a8ab43ce9315a259567d94a26 | [
"MIT"
] | null | null | null | gui/processes/AnisotropicDiffusionProcess.cpp | frooms/stira | 60b419f3e478397a8ab43ce9315a259567d94a26 | [
"MIT"
] | 8 | 2015-06-29T12:00:06.000Z | 2019-09-03T12:40:47.000Z |
/***********************************************************************************
* Copyright (C) 2008 by Filip Rooms *
* *
* Terms and conditions for using this software in any form are... | 33.945205 | 103 | 0.44996 | frooms |
7949741bfaff2ffe6c12301396400a4866a2b81d | 1,900 | cc | C++ | src/test/timerqueue_test.cc | swaroop0707/TinyWeb | 79d20f2bb858581cc5a0ea229bba3a54e5d1bd3e | [
"MIT"
] | 352 | 2018-02-07T08:24:43.000Z | 2022-03-31T12:35:17.000Z | src/test/timerqueue_test.cc | zhouq3405/TinyWeb | 79d20f2bb858581cc5a0ea229bba3a54e5d1bd3e | [
"MIT"
] | 6 | 2018-02-08T11:52:12.000Z | 2022-01-20T03:37:41.000Z | src/test/timerqueue_test.cc | zhouq3405/TinyWeb | 79d20f2bb858581cc5a0ea229bba3a54e5d1bd3e | [
"MIT"
] | 75 | 2018-02-07T08:24:42.000Z | 2021-10-03T08:20:24.000Z | /*
*Author:GeneralSandman
*Code:https://github.com/GeneralSandman/TinyWeb
*E-mail:generalsandman@163.com
*Web:www.generalsandman.cn
*/
/*---XXX---
*
****************************************
*
*/
#include <tiny_core/timerqueue.h>
#include <tiny_core/timerid.h>
#include <tiny_core/eventloop.h>
#include <iostream>
#inc... | 20.212766 | 63 | 0.593684 | swaroop0707 |
794b02d764af6312b08c6e28bfef403a925c2391 | 804 | hpp | C++ | android-31/java/util/concurrent/atomic/LongAccumulator.hpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 12 | 2020-03-26T02:38:56.000Z | 2022-03-14T08:17:26.000Z | android-31/java/util/concurrent/atomic/LongAccumulator.hpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 1 | 2021-01-27T06:07:45.000Z | 2021-11-13T19:19:43.000Z | android-29/java/util/concurrent/atomic/LongAccumulator.hpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 3 | 2021-02-02T12:34:55.000Z | 2022-03-08T07:45:57.000Z | #pragma once
namespace java::io
{
class ObjectInputStream;
}
class JObject;
class JString;
namespace java::util::concurrent::atomic
{
class LongAccumulator : public JObject
{
public:
// Fields
// QJniObject forward
template<typename ...Ts> explicit LongAccumulator(const char *className, const char *sig,... | 21.157895 | 156 | 0.706468 | YJBeetle |
794cf43a9bd8a9fc9fb0e3c10e7891435a274c12 | 9,437 | cpp | C++ | src/glfw-cxx/EventCallbacks.cpp | Mischa-Alff/glfw-cxx | bd335a7c5ac959da0ea1ac009a66b75ada21efb6 | [
"MIT"
] | 12 | 2015-07-05T15:07:26.000Z | 2020-07-10T03:15:56.000Z | src/glfw-cxx/EventCallbacks.cpp | TheRealJoe24/glfw-cxx | bd335a7c5ac959da0ea1ac009a66b75ada21efb6 | [
"MIT"
] | 1 | 2016-08-10T16:49:13.000Z | 2016-08-19T18:23:04.000Z | src/glfw-cxx/EventCallbacks.cpp | TheRealJoe24/glfw-cxx | bd335a7c5ac959da0ea1ac009a66b75ada21efb6 | [
"MIT"
] | 3 | 2017-04-24T14:33:46.000Z | 2019-06-15T22:15:22.000Z | #include <glfw-cxx/Window.hpp>
#include <iostream>
namespace glfw
{
//Mouse Button
void Window::LambdaMouseButtonFunctionWrapper(Window window, MouseButton button, KeyAction action, Modifier modifier)
{
window.CurrentMouseButtonFunction(window, button, action, modifier);
}
void Window::MouseButtonFunction... | 31.456667 | 119 | 0.782346 | Mischa-Alff |
795503a5934be4b4888d9677a3bdbf04e705bbba | 494 | cpp | C++ | game_project_template-master/Game/Source/Player.cpp | AlCh440/YES | 00c2aa28b12af16e7c67b3419e6758d1ff78b9a0 | [
"MIT"
] | null | null | null | game_project_template-master/Game/Source/Player.cpp | AlCh440/YES | 00c2aa28b12af16e7c67b3419e6758d1ff78b9a0 | [
"MIT"
] | null | null | null | game_project_template-master/Game/Source/Player.cpp | AlCh440/YES | 00c2aa28b12af16e7c67b3419e6758d1ff78b9a0 | [
"MIT"
] | null | null | null | #include "Player.h"
#include "App.h"
#include "Textures.h"
#include "Render.h"
bool Player::Awake(pugi::xml_node&)
{
return true;
}
bool Player::Start()
{
sprite_sheet = app->tex->Load("Assets/Texture/sprite_sheet.png");
return true;
}
bool Player::PreUpdate()
{
return true;
}
bool Player::Update(... | 13 | 69 | 0.647773 | AlCh440 |
7964044b896da9b03d1fc0e6bcdbbfe1e610a476 | 2,365 | cpp | C++ | experimental/Pomdog.Experimental/Skeletal2D/detail/AnimationLerpNode.cpp | bis83/pomdog | 133a9262958d539ae6d93664e6cb2207b5b6c7ff | [
"MIT"
] | null | null | null | experimental/Pomdog.Experimental/Skeletal2D/detail/AnimationLerpNode.cpp | bis83/pomdog | 133a9262958d539ae6d93664e6cb2207b5b6c7ff | [
"MIT"
] | null | null | null | experimental/Pomdog.Experimental/Skeletal2D/detail/AnimationLerpNode.cpp | bis83/pomdog | 133a9262958d539ae6d93664e6cb2207b5b6c7ff | [
"MIT"
] | null | null | null | // Copyright (c) 2013-2015 mogemimi.
// Distributed under the MIT license. See LICENSE.md file for details.
#include "AnimationLerpNode.hpp"
#include "Pomdog.Experimental/Skeletal2D/detail/AnimationGraphWeightCollection.hpp"
#include "Pomdog.Experimental/Skeletal2D/detail/WeightBlendingHelper.hpp"
#include "Pomdog.Exp... | 36.953125 | 112 | 0.645243 | bis83 |
7967bb27674dc5bfd0a9f10d447fbf1d19db9f57 | 2,493 | cpp | C++ | tools/tracer/loggers/log_console.cpp | VickyZengg/MediaSDK | 924da6d0664e77cef46eeef7821694dad140b8df | [
"MIT"
] | 782 | 2017-04-04T15:50:34.000Z | 2022-03-31T05:15:00.000Z | tools/tracer/loggers/log_console.cpp | VickyZengg/MediaSDK | 924da6d0664e77cef46eeef7821694dad140b8df | [
"MIT"
] | 1,260 | 2017-04-04T18:48:37.000Z | 2022-03-31T01:53:25.000Z | tools/tracer/loggers/log_console.cpp | VickyZengg/MediaSDK | 924da6d0664e77cef46eeef7821694dad140b8df | [
"MIT"
] | 538 | 2017-04-05T00:19:25.000Z | 2022-03-31T09:43:35.000Z | /* ****************************************************************************** *\
Copyright (C) 2020 Intel 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 co... | 38.953125 | 145 | 0.655836 | VickyZengg |
79687450c371764d4bbb1ca916535601e801da6c | 5,055 | cpp | C++ | src/strategy/actions/SendMailAction.cpp | htc16/mod-playerbots | 2307e3f980035a244bfb4fedefda5bc55903d470 | [
"MIT"
] | 12 | 2022-03-23T05:14:53.000Z | 2022-03-30T12:12:58.000Z | src/strategy/actions/SendMailAction.cpp | htc16/mod-playerbots | 2307e3f980035a244bfb4fedefda5bc55903d470 | [
"MIT"
] | 24 | 2022-03-23T13:56:37.000Z | 2022-03-31T18:23:32.000Z | src/strategy/actions/SendMailAction.cpp | htc16/mod-playerbots | 2307e3f980035a244bfb4fedefda5bc55903d470 | [
"MIT"
] | 3 | 2022-03-24T21:47:10.000Z | 2022-03-31T06:21:46.000Z | /*
* Copyright (C) 2016+ AzerothCore <www.azerothcore.org>, released under GNU GPL v2 license, you may redistribute it and/or modify it under version 2 of the License, or (at your option), any later version.
*/
#include "SendMailAction.h"
#include "Mail.h"
#include "Event.h"
#include "ItemVisitors.h"
#include "ChatH... | 29.735294 | 205 | 0.548566 | htc16 |
796bf9b8bd9e411981b89632607e150eedca5efa | 7,071 | cpp | C++ | Drivers/MercuryMPITests/LiquidMigrationMPI2Test.cpp | gustavo-castillo-bautista/Mercury | eeb402ccec8e487652229d4595c46ec84f6aefbb | [
"BSD-3-Clause"
] | null | null | null | Drivers/MercuryMPITests/LiquidMigrationMPI2Test.cpp | gustavo-castillo-bautista/Mercury | eeb402ccec8e487652229d4595c46ec84f6aefbb | [
"BSD-3-Clause"
] | null | null | null | Drivers/MercuryMPITests/LiquidMigrationMPI2Test.cpp | gustavo-castillo-bautista/Mercury | eeb402ccec8e487652229d4595c46ec84f6aefbb | [
"BSD-3-Clause"
] | null | null | null | //Copyright (c) 2013-2020, The MercuryDPM Developers Team. All rights reserved.
//For the list of developers, see <http://www.MercuryDPM.org/Team>.
//
//Redistribution and use in source and binary forms, with or without
//modification, are permitted provided that the following conditions are met:
// * Redistributions ... | 43.115854 | 125 | 0.642908 | gustavo-castillo-bautista |
796cb3de64be08f527ee0d52fe789458acc897e5 | 5,331 | cpp | C++ | src/WebServer.cpp | Hemofektik/Druckwelle | d956ed0502d13db5b566e353ce5fa279e6136635 | [
"Unlicense"
] | 11 | 2016-02-26T23:00:34.000Z | 2020-11-12T03:09:45.000Z | src/WebServer.cpp | Hemofektik/Druckwelle | d956ed0502d13db5b566e353ce5fa279e6136635 | [
"Unlicense"
] | null | null | null | src/WebServer.cpp | Hemofektik/Druckwelle | d956ed0502d13db5b566e353ce5fa279e6136635 | [
"Unlicense"
] | 1 | 2018-07-10T19:24:28.000Z | 2018-07-10T19:24:28.000Z |
#include <vector>
#include <iostream>
#include <iomanip>
#include <chrono>
#include <locale>
#include <cpprest/json.h>
#include <cpprest/http_listener.h>
#include <cpprest/uri.h>
#include <cpprest/asyncrt_utils.h>
#pragma warning(push)
#pragma warning(disable : 4275)
#include <libconfig_chained.h>
#pragma warning(po... | 22.2125 | 124 | 0.679047 | Hemofektik |
796e3461c272fa0abc9e038490294678c0ce87f5 | 11,679 | hpp | C++ | externals/browser/externals/browser/externals/vts-libs/vts-libs/vts/encoder.hpp | HanochZhu/vts-browser-unity-plugin | 32a22d41e21b95fb015326f95e401d87756d0374 | [
"BSD-2-Clause"
] | 1 | 2021-09-02T08:42:59.000Z | 2021-09-02T08:42:59.000Z | externals/browser/externals/browser/externals/vts-libs/vts-libs/vts/encoder.hpp | HanochZhu/vts-browser-unity-plugin | 32a22d41e21b95fb015326f95e401d87756d0374 | [
"BSD-2-Clause"
] | null | null | null | externals/browser/externals/browser/externals/vts-libs/vts-libs/vts/encoder.hpp | HanochZhu/vts-browser-unity-plugin | 32a22d41e21b95fb015326f95e401d87756d0374 | [
"BSD-2-Clause"
] | null | null | null | /**
* Copyright (c) 2017 Melown Technologies SE
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright notice,
* this list of conditions and the f... | 28.347087 | 79 | 0.634986 | HanochZhu |
796f2ef9037581a3cb233ac058101a783e780645 | 4,833 | cpp | C++ | lib/IRremoteESP8266/test/ir_Xmp_test.cpp | Eliauk-Forever/JARVIS | 69569e530f0bc66c90bc2ba2a266edb65006bd6f | [
"MulanPSL-1.0"
] | 14 | 2019-07-09T09:38:59.000Z | 2022-02-11T13:57:18.000Z | lib/IRremoteESP8266/test/ir_Xmp_test.cpp | Eliauk-Forever/JARVIS | 69569e530f0bc66c90bc2ba2a266edb65006bd6f | [
"MulanPSL-1.0"
] | null | null | null | lib/IRremoteESP8266/test/ir_Xmp_test.cpp | Eliauk-Forever/JARVIS | 69569e530f0bc66c90bc2ba2a266edb65006bd6f | [
"MulanPSL-1.0"
] | 1 | 2021-06-26T22:26:58.000Z | 2021-06-26T22:26:58.000Z | // Copyright 2021 David Conran
#include "IRac.h"
#include "IRrecv.h"
#include "IRrecv_test.h"
#include "IRsend.h"
#include "IRsend_test.h"
#include "gtest/gtest.h"
// Tests for sendXmp().
// Test sending typical data only.
TEST(TestSendXmp, SendDataOnly) {
IRsendTest irsend(kGpioUnused);
irsend.begin();
irsend... | 34.521429 | 92 | 0.750466 | Eliauk-Forever |
797209f6f88ab99c182107d347f5cbc6c63648af | 1,387 | hpp | C++ | src/SDK/IGameEventManager2.hpp | Massimoni/skinchanger | f2638f9cea2fe72340a62cc05d2d3c42cacc59ab | [
"MIT"
] | null | null | null | src/SDK/IGameEventManager2.hpp | Massimoni/skinchanger | f2638f9cea2fe72340a62cc05d2d3c42cacc59ab | [
"MIT"
] | null | null | null | src/SDK/IGameEventManager2.hpp | Massimoni/skinchanger | f2638f9cea2fe72340a62cc05d2d3c42cacc59ab | [
"MIT"
] | 1 | 2019-05-23T11:09:42.000Z | 2019-05-23T11:09:42.000Z | #pragma once
struct bf_read;
struct bf_write;
class IGameEvent;
class KeyValues;
class IGameEventListener2
{
public:
virtual ~IGameEventListener2() {};
virtual void FireGameEvent(IGameEvent* event) = 0;
virtual int GetEventDebugID() = 0;
};
class IGameEventManager2
{
public:
virtual ~IGameEventManager2() {};
v... | 35.564103 | 98 | 0.782264 | Massimoni |
79783d6b96e02fe8f1aacf8e4922f61ce00508b2 | 1,642 | hpp | C++ | include/warmane/armory/site/parser/token.hpp | Ostoic/warmane-api | a6354b81fe8d8923ced2795404fc7a0599cb8c44 | [
"MIT"
] | null | null | null | include/warmane/armory/site/parser/token.hpp | Ostoic/warmane-api | a6354b81fe8d8923ced2795404fc7a0599cb8c44 | [
"MIT"
] | null | null | null | include/warmane/armory/site/parser/token.hpp | Ostoic/warmane-api | a6354b81fe8d8923ced2795404fc7a0599cb8c44 | [
"MIT"
] | null | null | null | #pragma once
#include <boost/regex.hpp>
#include "symbol.hpp"
namespace warmane::armory::site::parser
{
class token
{
public:
token(token&& other) noexcept;
token(const token& other) noexcept;
token& operator=(const token& other) noexcept;
token& operator=(token&& other) noexcept;
explicit token(const... | 20.78481 | 69 | 0.692448 | Ostoic |
7978c489d5fb90d23b04d22f3f83c43d353500a3 | 1,151 | cpp | C++ | src/xml/UISettings.cpp | tianpi/thekla | 3cee9fc26752f712f003745785abd67236ba8102 | [
"MIT"
] | null | null | null | src/xml/UISettings.cpp | tianpi/thekla | 3cee9fc26752f712f003745785abd67236ba8102 | [
"MIT"
] | null | null | null | src/xml/UISettings.cpp | tianpi/thekla | 3cee9fc26752f712f003745785abd67236ba8102 | [
"MIT"
] | null | null | null |
#include "UISettings.h"
#include "XmlDatabaseDocument.h"
//--------------------------------------------------------------------------------
UISettings::UISettings()
: XmlElement(false)
{
xmlData_->setConfigFlag(XmlElementData::USE_THEKLA, false);
xmlData_->setConfigFlag(XmlElementData::GENERATE_QTAPP_CODE... | 33.852941 | 86 | 0.584709 | tianpi |
797dd9fb2071d3e7a0cbf0a25b57b60a07878b34 | 1,601 | cpp | C++ | core/device/istreamnode.cpp | ivandzen/RMCS | a695725212f1e32845bc04c1d9197535c2aa3732 | [
"Apache-2.0"
] | null | null | null | core/device/istreamnode.cpp | ivandzen/RMCS | a695725212f1e32845bc04c1d9197535c2aa3732 | [
"Apache-2.0"
] | null | null | null | core/device/istreamnode.cpp | ivandzen/RMCS | a695725212f1e32845bc04c1d9197535c2aa3732 | [
"Apache-2.0"
] | null | null | null | #include "istreamnode.h"
#include "nodes.h"
#include "istreamchannel.h"
IStreamNode::IStreamNode(const char * name,
NodeType_t type,
Length_t num_packets,
Device * dev,
uint16_t maxPacketSize) :
Node(type, name, dev),
_enabled(fa... | 23.895522 | 78 | 0.620862 | ivandzen |
798e9b31fcc6ca24ca371a8cbaa4f1bde9cd8eed | 1,083 | cpp | C++ | Reflection/src/Main.cpp | perezite/sandbox-2 | cfe3be85170f8d305bd0766ee6b3ef6420a23915 | [
"MIT"
] | null | null | null | Reflection/src/Main.cpp | perezite/sandbox-2 | cfe3be85170f8d305bd0766ee6b3ef6420a23915 | [
"MIT"
] | null | null | null | Reflection/src/Main.cpp | perezite/sandbox-2 | cfe3be85170f8d305bd0766ee6b3ef6420a23915 | [
"MIT"
] | null | null | null | #include "Demo1.h"
#include "Demo2.h"
#include "Demo3.h"
#include "Demo4.h"
#include "Demo5.h"
#include "Demo6.h"
#include "Demo7.h"
#include "Demo8.h"
#include "Demo9.h"
#include "Demo10.h"
#include "Logger.h"
#include <string>
static void version() {
#ifdef _DEBUG
std::string configuration = "Debug... | 23.042553 | 94 | 0.632502 | perezite |
799553a7fde837a632f67a2c041225bd519ae72d | 14,773 | hpp | C++ | include/cellar/output.hpp | calumgrant/fei-parser | 175a197164fdb317a8d8cc23687d06237cb7bc06 | [
"MIT"
] | null | null | null | include/cellar/output.hpp | calumgrant/fei-parser | 175a197164fdb317a8d8cc23687d06237cb7bc06 | [
"MIT"
] | null | null | null | include/cellar/output.hpp | calumgrant/fei-parser | 175a197164fdb317a8d8cc23687d06237cb7bc06 | [
"MIT"
] | null | null | null | #pragma once
#include "cellar.hpp"
#include <iostream>
#include <cctype>
namespace cellar
{
template<typename T>
struct output;
template<typename T> std::ostream & write(std::ostream &os)
{
output<T>::write(os);
return os;
}
template<typename... Items>
struct list {};
... | 25.647569 | 118 | 0.485683 | calumgrant |
7995809b70b9fac0ebaa8813dadfb322d356b5d3 | 1,058 | cpp | C++ | aquarium/aquarium.cpp | Tragen47/Aquarium | e071f1ded5b7a2da8fab15665c0a5cfe618c876f | [
"MIT"
] | null | null | null | aquarium/aquarium.cpp | Tragen47/Aquarium | e071f1ded5b7a2da8fab15665c0a5cfe618c876f | [
"MIT"
] | null | null | null | aquarium/aquarium.cpp | Tragen47/Aquarium | e071f1ded5b7a2da8fab15665c0a5cfe618c876f | [
"MIT"
] | null | null | null | #include "aquarium.h"
#include "renderer.h"
Aquarium::Aquarium(const SDL_Rect& aquarium_rectangle) : aquarium_rectangle(aquarium_rectangle)
{
// load textures for aquarium
background_texture = load_picture("../textures/aquarium/background.png", main_renderer);
// load fish textures
fish_textures.emplace_back(load... | 27.842105 | 95 | 0.775047 | Tragen47 |
7995c3b527d2d9b4ae3bcf12c2cb4adf32a705ca | 644 | hpp | C++ | worker/streaming/id.hpp | 5cript/minide2 | 3464d84da3d6029450518de43ab15cecc9de75c7 | [
"MIT"
] | null | null | null | worker/streaming/id.hpp | 5cript/minide2 | 3464d84da3d6029450518de43ab15cecc9de75c7 | [
"MIT"
] | null | null | null | worker/streaming/id.hpp | 5cript/minide2 | 3464d84da3d6029450518de43ab15cecc9de75c7 | [
"MIT"
] | 1 | 2020-08-27T17:00:54.000Z | 2020-08-27T17:00:54.000Z | #pragma once
#include <set>
#include <mutex>
namespace Streaming
{
/**
* The class efficiency relies on id_type staying low and not much ids are generated per time.
* Which is the case for this program.
*/
class IdProvider
{
public:
using id_type = unsigned int;
... | 22.206897 | 100 | 0.583851 | 5cript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.