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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
753d41de299f72c849f912ea5ebee821f3ac6529 | 785 | cpp | C++ | src/LedDisplay.cpp | JorgeMaker/GRBLPedant | 3f61c9ed0098293fec473ac6fae1aaff9d018df6 | [
"MIT"
] | 2 | 2021-05-04T02:27:44.000Z | 2021-05-05T02:35:14.000Z | src/LedDisplay.cpp | JorgeMaker/GRBLPedant | 3f61c9ed0098293fec473ac6fae1aaff9d018df6 | [
"MIT"
] | 1 | 2022-03-09T07:51:36.000Z | 2022-03-09T07:51:36.000Z | src/LedDisplay.cpp | JorgeMaker/GRBLPedant | 3f61c9ed0098293fec473ac6fae1aaff9d018df6 | [
"MIT"
] | 2 | 2021-05-05T02:35:17.000Z | 2021-08-09T02:00:33.000Z | #include "Definitions.h"
#include <Arduino.h>
/***************************
* Led Display
* *************************/
LedDisplay::LedDisplay(uint8_t xPIN, uint8_t yPIN, uint8_t zPIN) {
ledXPIN = xPIN;
ledYPIN = yPIN;
ledZPIN = zPIN;
pinMode(ledXPIN, OUTPUT);
pinMode(ledYPIN, OUTPUT);
pinMode(... | 22.428571 | 66 | 0.620382 | JorgeMaker |
7541490b64a6cf68377a93f033b9d87b0eca4f84 | 3,617 | cpp | C++ | minecraft/minecraft/src/window/window.cpp | llGuy/gamedev | 16aa203934fd767926c58558e021630288556399 | [
"MIT"
] | null | null | null | minecraft/minecraft/src/window/window.cpp | llGuy/gamedev | 16aa203934fd767926c58558e021630288556399 | [
"MIT"
] | 4 | 2018-12-24T11:16:53.000Z | 2018-12-24T11:20:29.000Z | minecraft/minecraft/src/window/window.cpp | llGuy/gamedev | 16aa203934fd767926c58558e021630288556399 | [
"MIT"
] | null | null | null | #include <GL/glew.h>
#include <GLFW/glfw3.h>
#include <chrono>
#include <thread>
#include "callbacks/callbacks.h"
#include "window.h"
#include "../log.h"
Window::Window(uint32_t width, uint32_t height, const char* title)
: m_width(width), m_height(height), m_title(title), m_engine()
{
// all initializat... | 28.936 | 112 | 0.72104 | llGuy |
75496c98f4152f5d98503b0bece1d4cd2217c2aa | 699 | hpp | C++ | neovm_cpp/include/vmimpl/crypto.hpp | zoowii/neo-vm-cpp | 8debcc334e5b3c6afceef0bfb0ff300e0989d0a7 | [
"MIT"
] | null | null | null | neovm_cpp/include/vmimpl/crypto.hpp | zoowii/neo-vm-cpp | 8debcc334e5b3c6afceef0bfb0ff300e0989d0a7 | [
"MIT"
] | null | null | null | neovm_cpp/include/vmimpl/crypto.hpp | zoowii/neo-vm-cpp | 8debcc334e5b3c6afceef0bfb0ff300e0989d0a7 | [
"MIT"
] | null | null | null | #ifndef NEOVM_CRYPTO_HPP
#define NEOVM_CRYPTO_HPP
#include "neovm/icrypto.hpp"
namespace neo
{
namespace vm
{
namespace impl
{
class DemoCrypto : public ICrypto
{
public:
virtual std::vector<char> Hash160(std::vector<char> message)
{
std::vector<char> data(10);
memcpy(data.data(), "has... | 18.394737 | 114 | 0.629471 | zoowii |
754af97f2f81ebb524750f1395e4090d3e228534 | 1,246 | cpp | C++ | 3-Stacks-And-Queues/StackMin.cpp | sonugiri1043/Cracking-The-Coding-Interview | 102cdbc3199d04ab89f5d6894f0489fde352b0d7 | [
"MIT"
] | 8 | 2020-05-17T13:48:19.000Z | 2022-02-20T06:42:38.000Z | 3-Stacks-And-Queues/StackMin.cpp | sonugiri1043/Cracking-The-Coding-Interview | 102cdbc3199d04ab89f5d6894f0489fde352b0d7 | [
"MIT"
] | null | null | null | 3-Stacks-And-Queues/StackMin.cpp | sonugiri1043/Cracking-The-Coding-Interview | 102cdbc3199d04ab89f5d6894f0489fde352b0d7 | [
"MIT"
] | 6 | 2021-04-09T21:34:15.000Z | 2021-12-13T05:40:42.000Z |
/*
How would you design a stack which, in addition to push and pop, has a function min
which returns the minimum element? Push, pop and min should all operate in 0(1) time.
*/
#include <iostream>
#include <stack>
using namespace std;
class Node{
private:
int data_;
int min_;
public:
Node( int _data ) : d... | 19.777778 | 87 | 0.535313 | sonugiri1043 |
754bc528e22224f92c2c6cd6536fbc7f5ea56c6d | 948 | cpp | C++ | core/src/misc/QRCodeDataCall.cpp | azuki-monster/megamol | f5d75ae5630f9a71a7fbf81624bfd4f6b253c655 | [
"BSD-3-Clause"
] | 2 | 2020-10-16T10:15:37.000Z | 2021-01-21T13:06:00.000Z | core/src/misc/QRCodeDataCall.cpp | azuki-monster/megamol | f5d75ae5630f9a71a7fbf81624bfd4f6b253c655 | [
"BSD-3-Clause"
] | null | null | null | core/src/misc/QRCodeDataCall.cpp | azuki-monster/megamol | f5d75ae5630f9a71a7fbf81624bfd4f6b253c655 | [
"BSD-3-Clause"
] | 1 | 2021-01-28T01:19:54.000Z | 2021-01-28T01:19:54.000Z | #include "stdafx.h"
#include "mmcore/misc/QRCodeDataCall.h"
using namespace megamol::core;
/*
* QRCodeDataCall::CallForGetText
*/
const unsigned int misc::QRCodeDataCall::CallForGetText = 0;
/*
* QRCodeDataCall::CallForSetText
*/
const unsigned int misc::QRCodeDataCall::CallForSetText = 1;
/*
* QRCodeDataCall... | 19.346939 | 88 | 0.75 | azuki-monster |
754bc6dceb78fe15bab3cb3861497f90e422ef04 | 1,907 | cpp | C++ | EmyRenderingEngine/src/Asset/AssetManager.cpp | TheJemy191/EmyGameEngine | cbefe9bc8e59533e4de96623a5916835846af8cd | [
"MIT"
] | null | null | null | EmyRenderingEngine/src/Asset/AssetManager.cpp | TheJemy191/EmyGameEngine | cbefe9bc8e59533e4de96623a5916835846af8cd | [
"MIT"
] | null | null | null | EmyRenderingEngine/src/Asset/AssetManager.cpp | TheJemy191/EmyGameEngine | cbefe9bc8e59533e4de96623a5916835846af8cd | [
"MIT"
] | 1 | 2019-09-03T16:49:50.000Z | 2019-09-03T16:49:50.000Z | #include "AssetManager.h"
#include "Helper/Log.h"
#include "Rendering/UI/ImguiBase.h"
#include "Asset/MeshAsset.h"
#include <filesystem>
#include "Game/Setting.h"
uint64_t AssetManager::IDCounter = 0;
std::unordered_map<uint64_t, std::shared_ptr<Asset>> AssetManager::assetList;
bool AssetManager::assetManagerWindowO... | 20.728261 | 113 | 0.668589 | TheJemy191 |
755097ac4b94cf9e900d33b0ea431a14bfa3c2f2 | 5,575 | cpp | C++ | main.cpp | baskeboler/restdbxx | 2723c61e154f732e7a0ec114a9654561ee22d467 | [
"MIT"
] | 6 | 2017-12-16T14:02:51.000Z | 2020-02-24T22:09:42.000Z | main.cpp | baskeboler/restdbxx | 2723c61e154f732e7a0ec114a9654561ee22d467 | [
"MIT"
] | null | null | null | main.cpp | baskeboler/restdbxx | 2723c61e154f732e7a0ec114a9654561ee22d467 | [
"MIT"
] | 5 | 2018-05-18T18:57:48.000Z | 2022-03-01T16:49:28.000Z | #include <unistd.h>
#include <string>
#include <iostream>
#include <folly/init/Init.h>
#include <gflags/gflags.h>
#include <glog/logging.h>
#include <folly/io/async/EventBaseManager.h>
#include <proxygen/httpserver/HTTPServer.h>
#include <folly/executors/GlobalExecutor.h>
#include <folly/executors/CPUThreadPoolExecuto... | 36.677632 | 114 | 0.717848 | baskeboler |
7556dee6ce519bb584b351a187fb2a86872ec83d | 1,765 | cpp | C++ | src/perf/dataperf.cpp | arntanguy/libqi | 7f3e1394cb26126b26fa7ff54d2de1371a1c9f96 | [
"BSD-3-Clause"
] | 61 | 2015-01-08T08:05:28.000Z | 2022-01-07T16:47:47.000Z | src/perf/dataperf.cpp | arntanguy/libqi | 7f3e1394cb26126b26fa7ff54d2de1371a1c9f96 | [
"BSD-3-Clause"
] | 30 | 2015-04-06T21:41:18.000Z | 2021-08-18T13:24:51.000Z | src/perf/dataperf.cpp | arntanguy/libqi | 7f3e1394cb26126b26fa7ff54d2de1371a1c9f96 | [
"BSD-3-Clause"
] | 64 | 2015-02-23T20:01:11.000Z | 2022-03-14T13:31:20.000Z | /*
** Author(s):
** - Nicolas Cornu <ncornu@aldebaran-robotics.com>
**
** Copyright (C) 2012-2013 Aldebaran Robotics
*/
#include "dataperf_p.hpp"
namespace qi
{
DataPerfPrivate::DataPerfPrivate()
: benchmarkName(""), wallClockElapsed(0), cpuElapsed(0), fLoopCount(0), fMsgSize(0), variable("")
{ }
DataPerf:... | 22.341772 | 133 | 0.646459 | arntanguy |
755b1fc43f7190141b409820bdf18cbf6ec8904d | 3,488 | hpp | C++ | CF++/include/CF++/CFPP-Error.hpp | macmade/CFPP | e924ca7d33103ab2cf86de292141bdd9d2aa1e4c | [
"MIT"
] | 49 | 2015-02-16T23:04:38.000Z | 2022-03-24T13:08:54.000Z | CF++/include/CF++/CFPP-Error.hpp | DigiDNA/CFPP | e093a7ff8e8f1402aac81f2c5f7dde2a529c2805 | [
"MIT"
] | 34 | 2015-04-16T18:52:39.000Z | 2021-09-08T13:56:51.000Z | CF++/include/CF++/CFPP-Error.hpp | macmade/CFPP | e924ca7d33103ab2cf86de292141bdd9d2aa1e4c | [
"MIT"
] | 13 | 2015-04-15T07:13:13.000Z | 2022-03-24T13:08:58.000Z | /*******************************************************************************
* The MIT License (MIT)
*
* Copyright (c) 2014 Jean-David Gadina - www.xs-labs.com / www.digidna.net
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation f... | 42.024096 | 93 | 0.59117 | macmade |
755cc05208f8724488df609b01c234a137674592 | 10,191 | cpp | C++ | 3rdParty/oculus/Samples/OculusRoomTiny/Win32_RoomTiny_Main.cpp | Internet-of-People/ApertusVR | 3bb954ef02beb8a5a54ac7c062a55b7a0cf402bf | [
"MIT"
] | null | null | null | 3rdParty/oculus/Samples/OculusRoomTiny/Win32_RoomTiny_Main.cpp | Internet-of-People/ApertusVR | 3bb954ef02beb8a5a54ac7c062a55b7a0cf402bf | [
"MIT"
] | null | null | null | 3rdParty/oculus/Samples/OculusRoomTiny/Win32_RoomTiny_Main.cpp | Internet-of-People/ApertusVR | 3bb954ef02beb8a5a54ac7c062a55b7a0cf402bf | [
"MIT"
] | null | null | null | /************************************************************************************
Filename : Win32_RoomTiny_Main.cpp
Content : First-person view test application for Oculus Rift
Created : October 4, 2012
Authors : Tom Heath, Michael Antonov, Andrew Reisse, Volga Aksoy
Copyright : Copyrigh... | 48.070755 | 114 | 0.619272 | Internet-of-People |
756bd42b2b6d39ce41f140c7984188e52775bf54 | 12,120 | cpp | C++ | modules/skottie/src/effects/LevelsEffect.cpp | muhleder/skia | a368ea077550d7b3c5607d616ff5fdfbd67eca0e | [
"BSD-3-Clause"
] | 19 | 2018-05-28T15:21:28.000Z | 2022-03-13T09:00:08.000Z | modules/skottie/src/effects/LevelsEffect.cpp | muhleder/skia | a368ea077550d7b3c5607d616ff5fdfbd67eca0e | [
"BSD-3-Clause"
] | 3 | 2017-04-28T13:58:09.000Z | 2020-09-03T09:23:39.000Z | modules/skottie/src/effects/LevelsEffect.cpp | muhleder/skia | a368ea077550d7b3c5607d616ff5fdfbd67eca0e | [
"BSD-3-Clause"
] | 10 | 2017-08-04T08:46:49.000Z | 2021-12-27T03:41:41.000Z | /*
* Copyright 2019 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "modules/skottie/src/effects/Effects.h"
#include "include/effects/SkTableColorFilter.h"
#include "modules/skottie/src/Adapter.h"
#include "modules/skottie/src/Skotti... | 38.971061 | 100 | 0.525 | muhleder |
756ee85ac8d78795348431f6872c6a274845749f | 5,643 | hxx | C++ | code/LibUtilsQt/ProjectionParameters.hxx | mareikethies/EpipolarConsistency | 63d7ca2fd705911a6c93ca4247486fc66a9d31c7 | [
"Apache-2.0"
] | 2 | 2020-03-21T16:33:51.000Z | 2021-09-12T03:03:00.000Z | code/LibUtilsQt/ProjectionParameters.hxx | mareikethies/EpipolarConsistency | 63d7ca2fd705911a6c93ca4247486fc66a9d31c7 | [
"Apache-2.0"
] | 1 | 2018-06-14T07:48:55.000Z | 2018-06-14T07:48:55.000Z | code/LibUtilsQt/ProjectionParameters.hxx | mareikethies/EpipolarConsistency | 63d7ca2fd705911a6c93ca4247486fc66a9d31c7 | [
"Apache-2.0"
] | 6 | 2018-05-15T21:38:35.000Z | 2022-01-06T07:20:47.000Z | #ifndef __projection_parameters_hxx
#define __projection_parameters_hxx
#include <GetSet/GetSetObjects.h>
#include <LibProjectiveGeometry/CameraOpenGL.hxx>
namespace UtilsQt {
/// A user-defined ProjectionMatrix, which can be changed by mouse interaction
struct ProjectionParameters : public GetSetGui::Configurable... | 41.8 | 190 | 0.658692 | mareikethies |
75782cad9f69f7ad7013bcf69dde118dbab6d0be | 3,493 | cc | C++ | resonance_audio/utils/lockless_task_queue.cc | seba10000/resonance-audio | e1923fe6fe733ae4d3c8460ff883c87e2ad05d6b | [
"Apache-2.0"
] | 8 | 2020-10-04T22:32:40.000Z | 2021-11-15T05:17:00.000Z | resonance_audio/utils/lockless_task_queue.cc | seba10000/resonance-audio | e1923fe6fe733ae4d3c8460ff883c87e2ad05d6b | [
"Apache-2.0"
] | null | null | null | resonance_audio/utils/lockless_task_queue.cc | seba10000/resonance-audio | e1923fe6fe733ae4d3c8460ff883c87e2ad05d6b | [
"Apache-2.0"
] | 1 | 2022-02-11T20:00:58.000Z | 2022-02-11T20:00:58.000Z | /*
Copyright 2018 Google Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in ... | 29.352941 | 79 | 0.708846 | seba10000 |
757936eedd2c555cb8a8476e20c56f829d58cbd3 | 2,731 | hpp | C++ | ProjectMajestic/App.Impl.hpp | Edgaru089/ProjectMajestic | 16cda6f86fd5ad02baedc9481609d6140cdda62a | [
"MIT"
] | 1 | 2018-08-29T06:36:23.000Z | 2018-08-29T06:36:23.000Z | ProjectMajestic/App.Impl.hpp | Edgaru089/ProjectMajestic | 16cda6f86fd5ad02baedc9481609d6140cdda62a | [
"MIT"
] | null | null | null | ProjectMajestic/App.Impl.hpp | Edgaru089/ProjectMajestic | 16cda6f86fd5ad02baedc9481609d6140cdda62a | [
"MIT"
] | null | null | null |
#include "App.hpp"
#include "LogSystem.hpp"
#include "Scene.hpp"
#include "GameScene.hpp"
#include "TestScene.hpp"
#include "IO.hpp"
#include "TextSystem.hpp"
////////////////////////////////////////
void App::initalaizePreWindow() {
Uuid::seed(random_device()());
sceneMapper["GameScene"] = new GameScene();
... | 21.335938 | 77 | 0.565361 | Edgaru089 |
7579af03644f352a181da3c58d3d992736bccbdc | 7,922 | cpp | C++ | test/combine/pubsub_2d_test.cpp | llamerada-jp/colonio | 8594d3131249eda59980faa281c353988469481a | [
"Apache-2.0"
] | 5 | 2021-12-12T23:35:21.000Z | 2022-01-09T22:01:53.000Z | test/combine/pubsub_2d_test.cpp | llamerada-jp/colonio | 8594d3131249eda59980faa281c353988469481a | [
"Apache-2.0"
] | null | null | null | test/combine/pubsub_2d_test.cpp | llamerada-jp/colonio | 8594d3131249eda59980faa281c353988469481a | [
"Apache-2.0"
] | 1 | 2020-07-07T13:17:19.000Z | 2020-07-07T13:17:19.000Z | /*
* Copyright 2017 Yuji Ito <llamerada.jp@gmail.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 required by applic... | 29.670412 | 92 | 0.611083 | llamerada-jp |
757bb370aff8cec66cf79dcffe9589f88ec313c1 | 9,950 | cc | C++ | src/lib/remote_rom/backend/nic_ip/server.cc | cproc/genode-world | c3b9d920027b6edbd873e4ff8f58005f2456a9ed | [
"MIT"
] | 43 | 2015-12-16T15:29:25.000Z | 2022-02-06T12:40:35.000Z | src/lib/remote_rom/backend/nic_ip/server.cc | cproc/genode-world | c3b9d920027b6edbd873e4ff8f58005f2456a9ed | [
"MIT"
] | 267 | 2015-12-17T15:09:32.000Z | 2022-03-30T11:36:27.000Z | src/lib/remote_rom/backend/nic_ip/server.cc | cproc/genode-world | c3b9d920027b6edbd873e4ff8f58005f2456a9ed | [
"MIT"
] | 37 | 2015-12-16T15:40:08.000Z | 2021-04-27T14:08:50.000Z | /*
* \brief Server implementation
* \author Johannes Schlatow
* \author Edgard Schmidt
* \date 2018-11-06
*/
#include <base.h>
#include <backend_base.h>
namespace Remote_rom {
using Genode::Cstring;
using Genode::Microseconds;
class Content_sender;
class Backend_server;
};
class Remote_rom::Content_sen... | 24.507389 | 75 | 0.642312 | cproc |
757c485b28a10b331ba2b5458a3c07cac5d7d9b5 | 2,829 | cpp | C++ | toonz/sources/common/tcolor/tcolorfunctions.cpp | rozhuk-im/opentoonz | ad5b632512746b97fd526aa79660fbaedf934fad | [
"BSD-3-Clause"
] | 3,710 | 2016-03-26T00:40:48.000Z | 2022-03-31T21:35:12.000Z | toonz/sources/common/tcolor/tcolorfunctions.cpp | rozhuk-im/opentoonz | ad5b632512746b97fd526aa79660fbaedf934fad | [
"BSD-3-Clause"
] | 4,246 | 2016-03-26T01:21:45.000Z | 2022-03-31T23:10:47.000Z | toonz/sources/common/tcolor/tcolorfunctions.cpp | rozhuk-im/opentoonz | ad5b632512746b97fd526aa79660fbaedf934fad | [
"BSD-3-Clause"
] | 633 | 2016-03-26T00:42:25.000Z | 2022-03-17T02:55:13.000Z |
#include <cstring>
#include "tcolorfunctions.h"
#include "tpixelutils.h"
TPixel32 TColorFader::operator()(const TPixel32 &color) const {
TPixel32 ret = blend(color, m_color, m_fade);
return ret;
}
bool TColorFader::getParameters(Parameters &p) const {
p.m_mR = p.m_mG = p.m_mB = p.m_mM = (1 - m_fade);
p.m_cR ... | 30.75 | 78 | 0.521386 | rozhuk-im |
757caad7267e37f6c9b4817c2b9d7e4fa4bbe42a | 4,707 | cpp | C++ | editor/terrain/voxel_terrain_editor_plugin.cpp | PhilipWee/godot_voxel | 117802c80766d040ae4d549319d90636512e3d8e | [
"MIT"
] | 1 | 2020-11-28T06:44:32.000Z | 2020-11-28T06:44:32.000Z | editor/terrain/voxel_terrain_editor_plugin.cpp | PhilipWee/godot_voxel | 117802c80766d040ae4d549319d90636512e3d8e | [
"MIT"
] | null | null | null | editor/terrain/voxel_terrain_editor_plugin.cpp | PhilipWee/godot_voxel | 117802c80766d040ae4d549319d90636512e3d8e | [
"MIT"
] | null | null | null | #include "voxel_terrain_editor_plugin.h"
#include "../../generators/voxel_generator.h"
#include "../../terrain/voxel_lod_terrain.h"
#include "../../terrain/voxel_terrain.h"
#include "../graph/voxel_graph_node_inspector_wrapper.h"
VoxelTerrainEditorPlugin::VoxelTerrainEditorPlugin(EditorNode *p_node) {
_restart_stream... | 34.610294 | 113 | 0.756533 | PhilipWee |
757cace84ded8c41e9ff450a96b4cfb16ab7e6d4 | 172 | cpp | C++ | DaedalicTestAutomationPlugin/Source/DaedalicTestAutomationPlugin/Private/DaeTestPerformanceBudgetResultData.cpp | DeadMonkeyEntertaiment/ue4-test-automation | d5ba1e22c52bdabdd331766f9272dfc1d4b20962 | [
"MIT"
] | 128 | 2020-04-22T12:51:08.000Z | 2022-03-30T07:21:27.000Z | DaedalicTestAutomationPlugin/Source/DaedalicTestAutomationPlugin/Private/DaeTestPerformanceBudgetResultData.cpp | DeadMonkeyEntertaiment/ue4-test-automation | d5ba1e22c52bdabdd331766f9272dfc1d4b20962 | [
"MIT"
] | 23 | 2020-05-13T11:15:33.000Z | 2022-03-30T19:24:26.000Z | DaedalicTestAutomationPlugin/Source/DaedalicTestAutomationPlugin/Private/DaeTestPerformanceBudgetResultData.cpp | DeadMonkeyEntertaiment/ue4-test-automation | d5ba1e22c52bdabdd331766f9272dfc1d4b20962 | [
"MIT"
] | 46 | 2020-04-23T14:33:29.000Z | 2022-03-24T08:44:56.000Z | #include "DaeTestPerformanceBudgetResultData.h"
FName FDaeTestPerformanceBudgetResultData::GetDataType() const
{
return TEXT("FDaeTestPerformanceBudgetResultData");
}
| 24.571429 | 62 | 0.831395 | DeadMonkeyEntertaiment |
758082f5c8f5ed3f6386881eeb2d77cd54d18561 | 2,374 | cpp | C++ | Sources/Rosetta/Battlegrounds/Triggers/Trigger.cpp | Hearthstonepp/Hearthstonepp | ee17ae6de1ee0078dab29d75c0fbe727a14e850e | [
"MIT"
] | 62 | 2017-08-21T14:11:00.000Z | 2018-04-23T16:09:02.000Z | Sources/Rosetta/Battlegrounds/Triggers/Trigger.cpp | Hearthstonepp/Hearthstonepp | ee17ae6de1ee0078dab29d75c0fbe727a14e850e | [
"MIT"
] | 37 | 2017-08-21T11:13:07.000Z | 2018-04-30T08:58:41.000Z | Sources/Rosetta/Battlegrounds/Triggers/Trigger.cpp | Hearthstonepp/Hearthstonepp | ee17ae6de1ee0078dab29d75c0fbe727a14e850e | [
"MIT"
] | 10 | 2017-08-21T03:44:12.000Z | 2018-01-10T22:29:10.000Z | // This code is based on Sabberstone project.
// Copyright (c) 2017-2021 SabberStone Team, darkfriend77 & rnilva
// RosettaStone is hearthstone simulator using C++ with reinforcement learning.
// Copyright (c) 2017-2021 Chris Ohk
#include <Rosetta/Battlegrounds/Models/Minion.hpp>
#include <Rosetta/Battlegrounds/Models... | 21.581818 | 79 | 0.596883 | Hearthstonepp |
7583028bb868e9a44275687f2db8718c678511da | 805 | cc | C++ | test/main.cc | blsim/residue-cpp | 2f052a6fab6798fc700a55ea29febf3189236226 | [
"Apache-2.0"
] | 2 | 2018-12-11T05:11:08.000Z | 2019-05-24T06:02:35.000Z | test/main.cc | blsim/residue-cpp | 2f052a6fab6798fc700a55ea29febf3189236226 | [
"Apache-2.0"
] | null | null | null | test/main.cc | blsim/residue-cpp | 2f052a6fab6798fc700a55ea29febf3189236226 | [
"Apache-2.0"
] | 2 | 2018-12-11T05:11:11.000Z | 2019-05-24T06:02:35.000Z | //
// Residue.h
//
// Official C++ client library for Residue logging server
//
// Copyright (C) 2017-present Amrayn Web Services
// Copyright (C) 2017-present @abumusamq
//
// https://muflihun.com/
// https://amrayn.com
// https://github.com/amrayn/residue-cpp/
//
// See https://github.com/amrayn/residue-cpp/b... | 25.15625 | 76 | 0.67205 | blsim |
7585d7bbefd3316fdaa8be8e2910cab34bf65f3a | 25,493 | cpp | C++ | tools/pb2frigg/src/main.cpp | kITerE/managarm | e6d1229a0bed68cb672a9cad300345a9006d78c1 | [
"MIT"
] | 935 | 2018-05-23T14:56:18.000Z | 2022-03-29T07:27:20.000Z | tools/pb2frigg/src/main.cpp | kITerE/managarm | e6d1229a0bed68cb672a9cad300345a9006d78c1 | [
"MIT"
] | 314 | 2018-05-04T15:58:06.000Z | 2022-03-30T16:24:17.000Z | tools/pb2frigg/src/main.cpp | kITerE/managarm | e6d1229a0bed68cb672a9cad300345a9006d78c1 | [
"MIT"
] | 65 | 2019-04-21T14:26:51.000Z | 2022-03-12T03:16:41.000Z | #include <cassert>
#include <iostream>
#include <sstream>
#include <google/protobuf/descriptor.h>
#include <google/protobuf/compiler/plugin.h>
#include <google/protobuf/compiler/code_generator.h>
#include <google/protobuf/io/zero_copy_stream.h>
#include <google/protobuf/io/printer.h>
namespace pb = google::protobuf;
... | 33.19401 | 91 | 0.653709 | kITerE |
7587d125dfbda3caf4c566764e312314f1c3a834 | 559 | cpp | C++ | libraries/LinearHallSensor/LinearHallSensor.cpp | llebron/arduino | 0350e8ad50aaf41a743a09ae437dc687f58337c8 | [
"BSD-2-Clause"
] | null | null | null | libraries/LinearHallSensor/LinearHallSensor.cpp | llebron/arduino | 0350e8ad50aaf41a743a09ae437dc687f58337c8 | [
"BSD-2-Clause"
] | null | null | null | libraries/LinearHallSensor/LinearHallSensor.cpp | llebron/arduino | 0350e8ad50aaf41a743a09ae437dc687f58337c8 | [
"BSD-2-Clause"
] | null | null | null | #include "LinearHallSensor.h"
LinearHallSensor::LinearHallSensor(int sensorPin) {
pin = sensorPin;
north = false;
south = false;
}
bool LinearHallSensor::atNorth() {
return north;
}
bool LinearHallSensor::atSouth() {
return south;
}
void LinearHallSensor::update() {
//read the sensor, and set north or south ... | 17.46875 | 80 | 0.67263 | llebron |
75886f65f1a2f8180d1ae2f72f1a60b07bd446bc | 2,279 | cxx | C++ | src/path_guiding_tree.cxx | DaWelter/NaiveTrace | a904785a0e13c394b2c221bc918cddb41bc8b175 | [
"FSFAP"
] | 16 | 2018-04-25T08:14:14.000Z | 2022-01-29T06:19:16.000Z | src/path_guiding_tree.cxx | DaWelter/NaiveTrace | a904785a0e13c394b2c221bc918cddb41bc8b175 | [
"FSFAP"
] | null | null | null | src/path_guiding_tree.cxx | DaWelter/NaiveTrace | a904785a0e13c394b2c221bc918cddb41bc8b175 | [
"FSFAP"
] | null | null | null | #include "path_guiding_tree.hxx"
#ifdef HAVE_JSON
#include "json.hxx"
#include "rapidjson/document.h"
#endif
namespace guiding
{
namespace kdtree
{
void LeafIterator::DecentToNextLeaf() noexcept
{
const Double3 o = ray.org;
const Double3 d = ray.dir;
while (true)
{
auto [node, tnear, tfar] = stack.... | 19.313559 | 89 | 0.593681 | DaWelter |
7589cd35603a100a94f29140d3802f21a8962293 | 2,516 | hpp | C++ | include/gridtools/stencil_composition/icosahedral_grids/accessor.hpp | jdahm/gridtools | 5961932cd2ccf336d3d73b4bc967243828e55cc5 | [
"BSD-3-Clause"
] | null | null | null | include/gridtools/stencil_composition/icosahedral_grids/accessor.hpp | jdahm/gridtools | 5961932cd2ccf336d3d73b4bc967243828e55cc5 | [
"BSD-3-Clause"
] | null | null | null | include/gridtools/stencil_composition/icosahedral_grids/accessor.hpp | jdahm/gridtools | 5961932cd2ccf336d3d73b4bc967243828e55cc5 | [
"BSD-3-Clause"
] | null | null | null | /*
* GridTools
*
* Copyright (c) 2014-2019, ETH Zurich
* All rights reserved.
*
* Please, refer to the LICENSE file in the root directory.
* SPDX-License-Identifier: BSD-3-Clause
*/
#pragma once
#include <type_traits>
#include "../../common/defs.hpp"
#include "../../common/host_device.hpp"
#include "../../met... | 40.580645 | 112 | 0.713434 | jdahm |
758cefa6b5f61b54a3267a25604dcaefaaba1d79 | 865 | cpp | C++ | hackerRank/interview prep kit/basic/countingValleys.cpp | mateuslatrova/competitive-programming | 96f24df172e14d2c52c4682aeaad132710a09dc7 | [
"MIT"
] | null | null | null | hackerRank/interview prep kit/basic/countingValleys.cpp | mateuslatrova/competitive-programming | 96f24df172e14d2c52c4682aeaad132710a09dc7 | [
"MIT"
] | null | null | null | hackerRank/interview prep kit/basic/countingValleys.cpp | mateuslatrova/competitive-programming | 96f24df172e14d2c52c4682aeaad132710a09dc7 | [
"MIT"
] | null | null | null | // Problem: https://www.hackerrank.com/challenges/counting-valleys/problem?h_l=interview&playlist_slugs%5B%5D=interview-preparation-kit&playlist_slugs%5B%5D=warmup&h_r=next-challenge&h_v=zen
#include <bits/stdc++.h>
using namespace std;
/*
* Complete the 'countingValleys' function below.
*
* The function is expec... | 23.378378 | 190 | 0.601156 | mateuslatrova |
759187034ad95b99b6743f8ee2d0989b34a124ed | 487 | hpp | C++ | src/mseq/some.hpp | lisqlql/constregex | 77087bf07d1f402898c848216491c583962089e3 | [
"MIT"
] | 1 | 2017-10-06T12:24:25.000Z | 2017-10-06T12:24:25.000Z | src/mseq/some.hpp | lisqlql/constregex | 77087bf07d1f402898c848216491c583962089e3 | [
"MIT"
] | null | null | null | src/mseq/some.hpp | lisqlql/constregex | 77087bf07d1f402898c848216491c583962089e3 | [
"MIT"
] | null | null | null | #ifndef MSEQ_SOME_HPP__
#define MSEQ_SOME_HPP__
#include "seq.hpp"
namespace mseq {
template <typename Tseq, template <typename> class Tfunctor>
struct some {
enum {
value =
Tfunctor<typename Tseq::hd>::value
|| some<typename Tseq::tl, Tfunctor>::value
... | 18.037037 | 64 | 0.554415 | lisqlql |
7595f432b6f8cadd555870b9015fa1c6eee04da7 | 1,297 | cpp | C++ | Game/Player.cpp | maxPrakken/Intake | 42f861292887a14bd1bb8c5aa8b5fdd5deee8e9e | [
"MIT"
] | null | null | null | Game/Player.cpp | maxPrakken/Intake | 42f861292887a14bd1bb8c5aa8b5fdd5deee8e9e | [
"MIT"
] | null | null | null | Game/Player.cpp | maxPrakken/Intake | 42f861292887a14bd1bb8c5aa8b5fdd5deee8e9e | [
"MIT"
] | null | null | null | #include "Player.h"
Player::Player()
{
texturePath = "assets/Player.png";
size = Vector2(50, 50);
health = 5;
maxHealth = health;
speed = 200;
bulletSpeed = -10;
hasShot = false;
velocity = Vector2(0, 0);
defaultRPM = 250;
RPM = defaultRPM;
RPMTimer = 0;
}
Player::~Player()
{
}
void Player::update(do... | 17.065789 | 79 | 0.629915 | maxPrakken |
75a4da904dd26a809aae83e5382ceaca830d496f | 2,264 | cpp | C++ | chtho/net/http/HTTPContext.cpp | WineChord/chtho | f43c56a1c2faf83e5f48361ca1b06366ce061aab | [
"MIT"
] | null | null | null | chtho/net/http/HTTPContext.cpp | WineChord/chtho | f43c56a1c2faf83e5f48361ca1b06366ce061aab | [
"MIT"
] | null | null | null | chtho/net/http/HTTPContext.cpp | WineChord/chtho | f43c56a1c2faf83e5f48361ca1b06366ce061aab | [
"MIT"
] | null | null | null | // Copyright (c) 2021 Qizhou Guo
//
// This software is released under the MIT License.
// https://opensource.org/licenses/MIT
#include "HTTPContext.h"
#include "net/Buffer.h"
namespace chtho
{
namespace net
{
/* request structure
GET /hello.txt HTTP/1.1
User-Agent: curl/7.16.3 libcurl/7.16.3 OpenSSL/0.9.7l zlib/1.2... | 24.879121 | 71 | 0.590548 | WineChord |
b5add455d862a552f5c022684076c0f78dd05a50 | 415 | cpp | C++ | Tut 29 Constructor/Constructor.cpp | anuragpathak0/C-Plus-Plus | 5e79e3c354b3544f385c77dfbc3fb0a9cef04f64 | [
"MIT"
] | null | null | null | Tut 29 Constructor/Constructor.cpp | anuragpathak0/C-Plus-Plus | 5e79e3c354b3544f385c77dfbc3fb0a9cef04f64 | [
"MIT"
] | null | null | null | Tut 29 Constructor/Constructor.cpp | anuragpathak0/C-Plus-Plus | 5e79e3c354b3544f385c77dfbc3fb0a9cef04f64 | [
"MIT"
] | null | null | null | #include <iostream>
#include <cmath>
using namespace std;
class crdin
{
int x, y;
friend float dist(crdin a, crdin b);
public:
crdin()
{
cin >> x >> y;
}
};
float dist(crdin a, crdin b)
{
return sqrt((a.x - b.x) * (a.x - b.x) + (a.y - b.y) * (a.y - b.y));
}
int main()
{
crdin a, ... | 15.37037 | 76 | 0.520482 | anuragpathak0 |
b5b1b182a1bee91af559ed0bc29cd27428e0c834 | 1,829 | cpp | C++ | 1-Array-And-String/OneAway.cpp | sonugiri1043/Cracking-The-Coding-Interview | 102cdbc3199d04ab89f5d6894f0489fde352b0d7 | [
"MIT"
] | 8 | 2020-05-17T13:48:19.000Z | 2022-02-20T06:42:38.000Z | 1-Array-And-String/OneAway.cpp | sonugiri1043/Cracking-The-Coding-Interview | 102cdbc3199d04ab89f5d6894f0489fde352b0d7 | [
"MIT"
] | null | null | null | 1-Array-And-String/OneAway.cpp | sonugiri1043/Cracking-The-Coding-Interview | 102cdbc3199d04ab89f5d6894f0489fde352b0d7 | [
"MIT"
] | 6 | 2021-04-09T21:34:15.000Z | 2021-12-13T05:40:42.000Z | /*
There are three types of edits that can be performed on strings: insert a character,
remove a character, or replace a character. Given two strings, write a function to
check if they are one edit (or zero edits) away.
EXAMPLE
pale, ple -> true
pales, pale -> true
pale, bale -> true
pale, bake -> f... | 23.448718 | 86 | 0.593767 | sonugiri1043 |
b5b3ef1c717a5b2b3eb67fb3024aeba7bc276175 | 3,446 | cpp | C++ | project/OFEC_sc2/instance/algorithm/realworld/DVRP/LKH/SolveKCenterSubproblems.cpp | BaiChunhui-9803/bch_sc2_OFEC | d50211b27df5a51a953a2475b6c292d00cbfeff6 | [
"MIT"
] | null | null | null | project/OFEC_sc2/instance/algorithm/realworld/DVRP/LKH/SolveKCenterSubproblems.cpp | BaiChunhui-9803/bch_sc2_OFEC | d50211b27df5a51a953a2475b6c292d00cbfeff6 | [
"MIT"
] | null | null | null | project/OFEC_sc2/instance/algorithm/realworld/DVRP/LKH/SolveKCenterSubproblems.cpp | BaiChunhui-9803/bch_sc2_OFEC | d50211b27df5a51a953a2475b6c292d00cbfeff6 | [
"MIT"
] | null | null | null | #include "./INCLUDE/LKH.h"
/*
* The SolveKCenterSubproblems function attempts to improve a given tour
* by means of a partitioning scheme based on approximate K-center clustering.
*
* The overall region containing the nodes is subdivided into K clusters,
* where K = ceil(Dimension/SubproblemSize). Each cluster t... | 32.509434 | 79 | 0.657864 | BaiChunhui-9803 |
b5b78a0899df08805f07dd001d8cb02d05bee6a3 | 4,950 | cpp | C++ | sxaccelerate/src/io/SxParser.cpp | ashtonmv/sphinx_vdw | 5896fee0d92c06e883b72725cb859d732b8b801f | [
"Apache-2.0"
] | 1 | 2020-02-29T03:26:32.000Z | 2020-02-29T03:26:32.000Z | sxaccelerate/src/io/SxParser.cpp | ashtonmv/sphinx_vdw | 5896fee0d92c06e883b72725cb859d732b8b801f | [
"Apache-2.0"
] | null | null | null | sxaccelerate/src/io/SxParser.cpp | ashtonmv/sphinx_vdw | 5896fee0d92c06e883b72725cb859d732b8b801f | [
"Apache-2.0"
] | null | null | null | // ---------------------------------------------------------------------------
//
// The general purpose cross platform C/C++ framework
//
// S x A c c e l e r a t e
//
// Home: https://www.sxlib.de
// License: Apache 2
// Authors: see src/AUTHOR... | 24.50495 | 81 | 0.565859 | ashtonmv |
b5bf40b9a49616c5a17bd2692bbb89d2f27793f0 | 1,562 | cpp | C++ | .LHP/.Lop11/.HSG/.T.Van/QG09/MAZE/MAZE/MAZE.cpp | sxweetlollipop2912/MaCode | 661d77a2096e4d772fda2b6a7f80c84113b2cde9 | [
"MIT"
] | null | null | null | .LHP/.Lop11/.HSG/.T.Van/QG09/MAZE/MAZE/MAZE.cpp | sxweetlollipop2912/MaCode | 661d77a2096e4d772fda2b6a7f80c84113b2cde9 | [
"MIT"
] | null | null | null | .LHP/.Lop11/.HSG/.T.Van/QG09/MAZE/MAZE/MAZE.cpp | sxweetlollipop2912/MaCode | 661d77a2096e4d772fda2b6a7f80c84113b2cde9 | [
"MIT"
] | null | null | null | #include <iostream>
#include <algorithm>
#include <cstdio>
#include <queue>
#define maxN 2501
#define maxH 51
#define row(x) ((x) / n)
#define col(x) ((x) % n)
#define idx(x, y) ((x) * m + (y))
#define floor first
#define pos second
typedef int maxn;
typedef std::pair <maxn, maxn> co_t;
maxn H, m, n, step[maxH][max... | 20.826667 | 89 | 0.520487 | sxweetlollipop2912 |
b5c1e556e8aec70f620ee4bda4281bdfc04d8efe | 185 | cpp | C++ | code/nCr.cpp | wewark/ACM-Library | e4cf72d0d11086d284fe0be3b1d322a5f6df3a6e | [
"MIT"
] | 1 | 2019-10-29T22:17:40.000Z | 2019-10-29T22:17:40.000Z | code/nCr.cpp | Keyboard2018/ACM-Library | 2ab2bf6424345c79a83f0de642bacf4de3e0d676 | [
"MIT"
] | null | null | null | code/nCr.cpp | Keyboard2018/ACM-Library | 2ab2bf6424345c79a83f0de642bacf4de3e0d676 | [
"MIT"
] | 1 | 2019-01-20T14:58:54.000Z | 2019-01-20T14:58:54.000Z | ll C[2705][2705];
void initC() {
for (int i = 1; i < 2705; i++) {
C[i][0] = C[i][i] = 1;
for (int j = 1; j < i; j++) {
C[i][j] = (C[i - 1][j] + C[i - 1][j - 1]) % MOD;
}
}
} | 18.5 | 51 | 0.362162 | wewark |
b5c79c3c6f8e2ade54e21aaa3370a25c3d4f8fd4 | 234 | cpp | C++ | A. Vasya and Socks.cpp | Samim-Arefin/Codeforce-Problem-Solution | 7219ee6173faaa9e06231d4cd3e9ba292ae27ce3 | [
"MIT"
] | null | null | null | A. Vasya and Socks.cpp | Samim-Arefin/Codeforce-Problem-Solution | 7219ee6173faaa9e06231d4cd3e9ba292ae27ce3 | [
"MIT"
] | null | null | null | A. Vasya and Socks.cpp | Samim-Arefin/Codeforce-Problem-Solution | 7219ee6173faaa9e06231d4cd3e9ba292ae27ce3 | [
"MIT"
] | null | null | null | #include<bits/stdc++.h>
using namespace std;
int main()
{
int n, m;
while (cin >> n >> m)
{
int sum = 0;
for (int i = 1; i <= n; i++)
{
sum += 1;
if (sum % m == 0)
{
sum += 1;
}
}
cout << sum << '\n';
}
} | 12.315789 | 30 | 0.410256 | Samim-Arefin |
b5da2ecd1db3090c21511430835c7356410fa16f | 10,038 | cpp | C++ | Options.cpp | sergrt/FileProtect | ee255fb850cedb8cdd4774a469124f4ad8ca62f0 | [
"Apache-2.0"
] | null | null | null | Options.cpp | sergrt/FileProtect | ee255fb850cedb8cdd4774a469124f4ad8ca62f0 | [
"Apache-2.0"
] | null | null | null | Options.cpp | sergrt/FileProtect | ee255fb850cedb8cdd4774a469124f4ad8ca62f0 | [
"Apache-2.0"
] | null | null | null | #include "Options.h"
#include <QSettings>
#include "../cryptopp/aes.h"
#include "../cryptopp/modes.h"
#include "../cryptopp/filters.h"
#include "CryptoppUtils.h"
// Key and IV for options encryption
// keyStr should be 64 symbols (to be converted to 32 bytes) and ivStr should be 32 symbols
const std::string keyStr = ... | 32.803922 | 113 | 0.662483 | sergrt |
b5dc3e3a769ea079bb7ef79422c3bf309f899cf9 | 2,917 | cpp | C++ | private/tst/avb_streamhandler/src/IasTestAvbPacket.cpp | tnishiok/AVBStreamHandler | 7621daf8c9238361e030fe35188b921ee8ea2466 | [
"BSL-1.0",
"BSD-3-Clause"
] | 13 | 2018-09-26T13:32:35.000Z | 2021-05-20T10:01:12.000Z | private/tst/avb_streamhandler/src/IasTestAvbPacket.cpp | keerockl/AVBStreamHandler | c0c9aa92656ae0acd0f57492d4f325eee2f7d13b | [
"BSD-3-Clause"
] | 23 | 2018-10-03T22:45:21.000Z | 2020-03-05T23:40:12.000Z | private/tst/avb_streamhandler/src/IasTestAvbPacket.cpp | keerockl/AVBStreamHandler | c0c9aa92656ae0acd0f57492d4f325eee2f7d13b | [
"BSD-3-Clause"
] | 22 | 2018-09-14T03:55:34.000Z | 2021-12-07T01:13:27.000Z | /*
* Copyright (C) 2018 Intel Corporation. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
/**
* @file IasTestAvbPacket.cpp
* @date 2018
*/
#include "gtest/gtest.h"
#define private public
#define protected public
#include "avb_streamhandler/IasAvbPacket.hpp"
#include "avb_streamhandler/IasAvb... | 20.985612 | 67 | 0.716147 | tnishiok |
b5dd0218897ef7f655251362975027c41ae5710d | 787 | cpp | C++ | 11401.cpp | gcjjyy/acmicpc | 763e7a3ec5aabdab6935b9e9970561baafb07729 | [
"MIT"
] | null | null | null | 11401.cpp | gcjjyy/acmicpc | 763e7a3ec5aabdab6935b9e9970561baafb07729 | [
"MIT"
] | null | null | null | 11401.cpp | gcjjyy/acmicpc | 763e7a3ec5aabdab6935b9e9970561baafb07729 | [
"MIT"
] | null | null | null | #include <stdio.h>
#define MOD 1000000007
typedef unsigned long long ull;
ull factorial(ull n) {
ull ret = 1;
while(n) {
ret = (ret * n) % MOD;
n--;
}
return ret;
}
ull pow(ull m, ull n) {
if(n == 0) return 1;
if(n == 1) return m;
if(n&1 == 1) {
return ((pow(m... | 18.302326 | 73 | 0.457433 | gcjjyy |
b5f770f98e2a7b87145cf6999b76432afce9762b | 2,286 | cpp | C++ | Source/src/Components/ComponentPointLight.cpp | Erick9Thor/Engine3D | 32d78f79723fb7c319f79d5e26cdc26481d5cb35 | [
"MIT"
] | 1 | 2021-11-17T19:20:07.000Z | 2021-11-17T19:20:07.000Z | Source/src/Components/ComponentPointLight.cpp | Erick9Thor/Engine3D | 32d78f79723fb7c319f79d5e26cdc26481d5cb35 | [
"MIT"
] | null | null | null | Source/src/Components/ComponentPointLight.cpp | Erick9Thor/Engine3D | 32d78f79723fb7c319f79d5e26cdc26481d5cb35 | [
"MIT"
] | null | null | null | #include "ComponentPointLight.h"
#include "../UI/ImGuiUtils.h"
#include "ComponentTransform.h"
#include "../Scene.h"
#include "debugdraw.h"
#include <IconsFontAwesome5.h>
#include "imgui.h"
#include <algorithm>
ComponentPointLight::ComponentPointLight(GameObject* conatiner)
: Component(Component::Type::POINTLIGH... | 25.120879 | 82 | 0.731409 | Erick9Thor |
b5f7b5594697847aa2c9981af2f8f17b8c9c768e | 3,649 | cpp | C++ | BitSet128.cpp | RPG-18/highloadcup2018 | b7816d861581d8d8ffc64b66f9e46e2f8341702d | [
"MIT"
] | null | null | null | BitSet128.cpp | RPG-18/highloadcup2018 | b7816d861581d8d8ffc64b66f9e46e2f8341702d | [
"MIT"
] | 1 | 2019-07-22T08:57:03.000Z | 2019-07-22T08:57:03.000Z | BitSet128.cpp | RPG-18/highloadcup2018 | b7816d861581d8d8ffc64b66f9e46e2f8341702d | [
"MIT"
] | null | null | null | #define RAPIDJSON_PARSE_DEFAULT_FLAGS kParseNoFlags
#include "Logger.h"
#include "BitSet128.h"
#include "rapidjson/reader.h"
#include "rapidjson/writer.h"
extern "C" {
#include <fmgr.h>
#include <utils/array.h>
PG_FUNCTION_INFO_V1(bit128_in);
Datum bit128_in(PG_FUNCTION_ARGS);
PG_FUNCTION_INFO_V1(bit128_out);
Datum... | 18.906736 | 80 | 0.636613 | RPG-18 |
b5f97458198659b3fec48be1e48a0a29ae49515d | 1,851 | cc | C++ | engine/interior/lightUpdateGrouper.cc | ClayHanson/B4v21-Public-Repo | c812aa7bf2ecb267e02969c85f0c9c2a29be0d28 | [
"MIT"
] | 1 | 2020-08-18T19:45:34.000Z | 2020-08-18T19:45:34.000Z | engine/interior/lightUpdateGrouper.cc | ClayHanson/B4v21-Launcher-Public-Repo | c812aa7bf2ecb267e02969c85f0c9c2a29be0d28 | [
"MIT"
] | null | null | null | engine/interior/lightUpdateGrouper.cc | ClayHanson/B4v21-Launcher-Public-Repo | c812aa7bf2ecb267e02969c85f0c9c2a29be0d28 | [
"MIT"
] | null | null | null | //-----------------------------------------------------------------------------
// Torque Game Engine
// Copyright (C) GarageGames.com, Inc.
//-----------------------------------------------------------------------------
#include "interior/lightUpdateGrouper.h"
LightUpdateGrouper::LightUpdateGrouper(const U32 bitStar... | 24.355263 | 84 | 0.596434 | ClayHanson |
b5fbb209691fb0173786a0380ec989f5586636d0 | 2,635 | cpp | C++ | Plugins/ObjectDeliverer/Source/ObjectDeliverer/Private/Tests/ProtocolLogWriterReaderTest.cpp | ayumax/CommNet | 02846b9b7533e548e61a81cd76780456362cc069 | [
"MIT"
] | 110 | 2019-02-19T18:50:23.000Z | 2022-03-26T10:45:36.000Z | Plugins/ObjectDeliverer/Source/ObjectDeliverer/Private/Tests/ProtocolLogWriterReaderTest.cpp | dlvrydryvr/ObjectDeliverer | e52a88412d4f5c363c612d0a3ac172d4bc8cd74a | [
"MIT"
] | 36 | 2019-01-22T15:08:36.000Z | 2021-12-13T13:43:08.000Z | Plugins/ObjectDeliverer/Source/ObjectDeliverer/Private/Tests/ProtocolLogWriterReaderTest.cpp | ayumax/CommNet | 02846b9b7533e548e61a81cd76780456362cc069 | [
"MIT"
] | 25 | 2019-02-19T15:42:07.000Z | 2022-03-17T09:41:50.000Z | // Copyright 2019 ayumax. All Rights Reserved.
#include "CoreMinimal.h"
#include "Misc/AutomationTest.h"
#include "Tests/AutomationCommon.h"
#include "Protocol/ProtocolLogReader.h"
#include "Protocol/ProtocolLogWriter.h"
#include "PacketRule/PacketRuleSizeBody.h"
#include "PacketRule/PacketRuleFactory.h"
#include "Prot... | 34.220779 | 195 | 0.795446 | ayumax |
b5fbdcbede07c27b1513b3d035ae92bbce9251ae | 1,193 | cpp | C++ | zadania-tj/TJ13.cpp | Xeoth/projekty-liceum | b2547d2b6aa7de89b5a13a8e34b724a56779762f | [
"MIT"
] | null | null | null | zadania-tj/TJ13.cpp | Xeoth/projekty-liceum | b2547d2b6aa7de89b5a13a8e34b724a56779762f | [
"MIT"
] | null | null | null | zadania-tj/TJ13.cpp | Xeoth/projekty-liceum | b2547d2b6aa7de89b5a13a8e34b724a56779762f | [
"MIT"
] | null | null | null | // Działa od C++11!
#include <iostream>
#include <random> // Zamiast cstdlib i ctime użyję tu random
using namespace std;
int main() {
// Seed do generatora
random_device rd; // random_device podobno zwraca prawdziwie losowe liczby, nie pseudolosowe
mt19937 eng(rd()); // tu dokładnie wrzucamy seed do gene... | 27.113636 | 96 | 0.590947 | Xeoth |
bd01cbec4b807337be636b609778a876208bfc3a | 1,968 | cpp | C++ | src/system/component/operating_system/operating_system_monitor.cpp | Kinupo/c_cpp_htop | e3fd8c66a299fae800c91ff770876703ba25404a | [
"MIT"
] | null | null | null | src/system/component/operating_system/operating_system_monitor.cpp | Kinupo/c_cpp_htop | e3fd8c66a299fae800c91ff770876703ba25404a | [
"MIT"
] | null | null | null | src/system/component/operating_system/operating_system_monitor.cpp | Kinupo/c_cpp_htop | e3fd8c66a299fae800c91ff770876703ba25404a | [
"MIT"
] | null | null | null | #include "system/component/operating_system/operating_system_monitor.h"
OperatingSystemMonitor::OperatingSystemMonitor(){}
std::shared_ptr<ComponentStatus> OperatingSystemMonitor::Status(){
return Status(nullptr);
}
std::string OperatingSystemMonitor::FindVersion(){
std::string version;
auto unparsed_ver... | 35.781818 | 89 | 0.704268 | Kinupo |
bd01eed443e0fe35655db2bf97e8447b3a8beaff | 78 | cpp | C++ | Source/BroForce/Private/CustomUtils.cpp | solidajenjo/BroForceLikeGame | 37666bbab04f0a6a8cf8a364197f10389271b67f | [
"MIT"
] | null | null | null | Source/BroForce/Private/CustomUtils.cpp | solidajenjo/BroForceLikeGame | 37666bbab04f0a6a8cf8a364197f10389271b67f | [
"MIT"
] | null | null | null | Source/BroForce/Private/CustomUtils.cpp | solidajenjo/BroForceLikeGame | 37666bbab04f0a6a8cf8a364197f10389271b67f | [
"MIT"
] | null | null | null | #include "CustomUtils.h"
namespace CustomUtils
{
} // namespace CustomUtils | 11.142857 | 26 | 0.75641 | solidajenjo |
bd02dbc4a3ec0749daa7aca2b397f805b47f6eae | 1,359 | hpp | C++ | src/workspaces.hpp | StardustXR/magnetar | 65a08f3878710d3c70c9e93edf416d1dd2eaf0de | [
"MIT"
] | null | null | null | src/workspaces.hpp | StardustXR/magnetar | 65a08f3878710d3c70c9e93edf416d1dd2eaf0de | [
"MIT"
] | null | null | null | src/workspaces.hpp | StardustXR/magnetar | 65a08f3878710d3c70c9e93edf416d1dd2eaf0de | [
"MIT"
] | null | null | null | #pragma once
#include <memory>
#include <vector>
#include <stardustxr/fusion/values/glm.hpp>
#include <stardustxr/fusion/types/drawable/model.hpp>
#include <stardustxr/fusion/types/fields/cylinderfield.hpp>
#include <stardustxr/fusion/types/input/datamap.hpp>
#include <stardustxr/fusion/types/input/types/handinput.h... | 32.357143 | 125 | 0.802796 | StardustXR |
bd055633d7aa16c3771299981191ca376d0c68fe | 2,173 | hpp | C++ | cpp/dynlb.hpp | parmes/solfec-2.0 | 3329d3e1e4d58fefaf976c04bab19284aef45bc2 | [
"MIT"
] | 1 | 2020-06-21T23:52:25.000Z | 2020-06-21T23:52:25.000Z | cpp/dynlb.hpp | parmes/solfec-2.0 | 3329d3e1e4d58fefaf976c04bab19284aef45bc2 | [
"MIT"
] | 1 | 2020-05-01T14:44:01.000Z | 2020-05-01T23:50:36.000Z | cpp/dynlb.hpp | parmes/solfec-2.0 | 3329d3e1e4d58fefaf976c04bab19284aef45bc2 | [
"MIT"
] | 2 | 2020-06-21T23:59:21.000Z | 2021-12-09T09:49:50.000Z | /*
The MIT License (MIT)
Copyright (c) 2016 EDF Energy
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, pu... | 36.830508 | 103 | 0.741832 | parmes |
bd05e1c0b1a52dfb1a4b306e1df6fcc7e12179e9 | 383 | cpp | C++ | src/Logger.cpp | advpl/advpl-language-server-cxx | 7c654c92934ed3e705c6823cbff9687dd8304d06 | [
"MIT"
] | 4 | 2018-01-19T07:11:18.000Z | 2020-05-15T19:45:53.000Z | src/Logger.cpp | ragssoftwares/advpl-language-server-cxx | 7c654c92934ed3e705c6823cbff9687dd8304d06 | [
"MIT"
] | 3 | 2018-01-19T22:17:19.000Z | 2018-01-25T13:57:31.000Z | src/Logger.cpp | ragssoftwares/advpl-language-server-cxx | 7c654c92934ed3e705c6823cbff9687dd8304d06 | [
"MIT"
] | 2 | 2018-01-19T07:11:19.000Z | 2018-08-21T18:42:07.000Z | #include "Logger.hpp"
using namespace advpl_ls;
EmptyLogger &EmptyLogger::getInstance() {
static EmptyLogger Logger;
return Logger;
}
void EmptyLogger::log(const std::string Message) {}
FileLogger &FileLogger::getInstance() {
static FileLogger Logger;
return Logger;
}
void FileLogger:... | 21.277778 | 53 | 0.686684 | advpl |
bd077fa76cb30e3b1b2859db95cf20445f70df64 | 2,177 | cpp | C++ | Nanoforge/rfg/xtbl/nodes/SelectionXtblNode.cpp | Moneyl/RF-Viewer | fd5a53c0d7ed94d9c5c9264e3ed11f2037c2f49a | [
"MIT"
] | 3 | 2020-08-26T17:53:47.000Z | 2020-09-13T07:48:40.000Z | Nanoforge/rfg/xtbl/nodes/SelectionXtblNode.cpp | Moneyl/RF-Viewer | fd5a53c0d7ed94d9c5c9264e3ed11f2037c2f49a | [
"MIT"
] | 2 | 2020-09-01T06:08:28.000Z | 2020-11-14T02:14:41.000Z | Nanoforge/rfg/xtbl/nodes/SelectionXtblNode.cpp | Moneyl/RF-Viewer | fd5a53c0d7ed94d9c5c9264e3ed11f2037c2f49a | [
"MIT"
] | null | null | null | #include "XtblNodes.h"
#include "rfg/xtbl/XtblDescription.h"
#include "render/imgui/imgui_ext.h"
#include "common/string/String.h"
#include <tinyxml2/tinyxml2.h>
#include <imgui.h>
#pragma warning(disable:4100) //Disable warning about unused argument. Can't remove the arg since some implementations of this function us... | 31.550725 | 143 | 0.658245 | Moneyl |
bd099af05deb56ef3f6e798eae176ba79c3b4dae | 3,024 | cpp | C++ | raven/io/FileSystem.cpp | nielsuiterwijk/vulkan | b2d5c7d23f7a16d9fdb9ba2796051da4d9e66e05 | [
"MIT"
] | 2 | 2019-11-28T12:42:44.000Z | 2021-07-02T12:50:20.000Z | raven/io/FileSystem.cpp | nielsuiterwijk/vulkan | b2d5c7d23f7a16d9fdb9ba2796051da4d9e66e05 | [
"MIT"
] | null | null | null | raven/io/FileSystem.cpp | nielsuiterwijk/vulkan | b2d5c7d23f7a16d9fdb9ba2796051da4d9e66e05 | [
"MIT"
] | null | null | null | #include "FileSystem.h"
#include "threading/ThreadPool.h"
bool FileSystem::stop = false;
bool FileSystem::threadStarted = false;
std::thread FileSystem::fileLoadingThread;
std::queue<FileSystem::AsyncFileLoad> FileSystem::tasks;
Mutex FileSystem::queue_mutex;
std::condition_variable_any FileSystem::condition;
Threa... | 23.44186 | 120 | 0.676257 | nielsuiterwijk |
bd0d2e1174542899a4840006d3306ee3fe497936 | 4,114 | hpp | C++ | include/otf2xx/event/marker.hpp | dhinf/otf2xx | 78d3c0eb0b201010b7436bbb235ebdbdabec17d2 | [
"BSD-3-Clause"
] | 8 | 2016-11-11T09:33:59.000Z | 2022-03-11T12:34:01.000Z | include/otf2xx/event/marker.hpp | dhinf/otf2xx | 78d3c0eb0b201010b7436bbb235ebdbdabec17d2 | [
"BSD-3-Clause"
] | 38 | 2016-12-12T09:21:07.000Z | 2022-03-11T12:18:36.000Z | include/otf2xx/event/marker.hpp | dhinf/otf2xx | 78d3c0eb0b201010b7436bbb235ebdbdabec17d2 | [
"BSD-3-Clause"
] | 5 | 2017-06-01T12:01:03.000Z | 2022-03-11T11:00:00.000Z | /*
* This file is part of otf2xx (https://github.com/tud-zih-energy/otf2xx)
* otf2xx - A wrapper for the Open Trace Format 2 library
*
* Copyright (c) 2013-2016, Technische Universität Dresden, Germany
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, ... | 35.465517 | 96 | 0.679387 | dhinf |
bd0fd8caf24d1c1e5754117a22ff1a0bb32e73a9 | 21,692 | hpp | C++ | src/core/Strings.hpp | ShamylZakariya/KesslerSyndrome | dce00108304fe2c1b528515dafc29c15011d4679 | [
"MIT"
] | null | null | null | src/core/Strings.hpp | ShamylZakariya/KesslerSyndrome | dce00108304fe2c1b528515dafc29c15011d4679 | [
"MIT"
] | null | null | null | src/core/Strings.hpp | ShamylZakariya/KesslerSyndrome | dce00108304fe2c1b528515dafc29c15011d4679 | [
"MIT"
] | null | null | null | //
// StringUtils.h
// Milestone6
//
// Created by Shamyl Zakariya on 2/11/17.
//
//
#ifndef Strings_h
#define Strings_h
#include <ctype.h>
#include <fstream>
#include <set>
#include <sstream>
#include <stdarg.h>
#include <string>
#include <vector>
#include "core/MathHelpers.hpp"
/**
@file strings.h
Basic stri... | 28.02584 | 113 | 0.480361 | ShamylZakariya |
bd16d949e77a55ae0d8569c0c43a82664de9e1ed | 1,071 | hpp | C++ | include/models/mesh.hpp | h4k1m0u/video | 4739f8b1b6c837c41fdb53fc7dea97a47b285d0b | [
"MIT"
] | 5 | 2021-11-11T23:59:38.000Z | 2022-03-24T02:10:40.000Z | include/models/mesh.hpp | h4k1m0u/video | 4739f8b1b6c837c41fdb53fc7dea97a47b285d0b | [
"MIT"
] | null | null | null | include/models/mesh.hpp | h4k1m0u/video | 4739f8b1b6c837c41fdb53fc7dea97a47b285d0b | [
"MIT"
] | 1 | 2022-01-15T13:31:10.000Z | 2022-01-15T13:31:10.000Z | #ifndef MESH_HPP
#define MESH_HPP
#include <vector>
#include <glm/glm.hpp>
#include <assimp/mesh.h>
#include "texture_2d.hpp"
/**
* Wrapper around Assimp::aiMesh used to get vertexes & faces for given mesh
* Used by `models::Model` to parse meshes within current scene
* Accessed publicly from `renderer::ModelRend... | 24.340909 | 97 | 0.701214 | h4k1m0u |
bd1d52a503533cac7676b4f148ee7d7aa3e701cf | 1,766 | hpp | C++ | openscenario/openscenario_interpreter/include/openscenario_interpreter/utility/circular_check.hpp | autocore-ai/scenario_simulator_v2 | bb9569043e20649f0e4390e9225b6bb7b4de10b6 | [
"Apache-2.0"
] | 45 | 2021-04-12T22:43:25.000Z | 2022-02-27T23:57:53.000Z | openscenario/openscenario_interpreter/include/openscenario_interpreter/utility/circular_check.hpp | autocore-ai/scenario_simulator_v2 | bb9569043e20649f0e4390e9225b6bb7b4de10b6 | [
"Apache-2.0"
] | 140 | 2021-04-13T04:28:19.000Z | 2022-03-30T12:44:32.000Z | openscenario/openscenario_interpreter/include/openscenario_interpreter/utility/circular_check.hpp | autocore-ai/scenario_simulator_v2 | bb9569043e20649f0e4390e9225b6bb7b4de10b6 | [
"Apache-2.0"
] | 13 | 2021-05-22T02:24:49.000Z | 2022-03-25T05:16:31.000Z |
// Copyright 2015-2020 Tier IV, Inc. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by ap... | 29.932203 | 99 | 0.754247 | autocore-ai |
bd2038e6b72ff5d764263e8a301f076f803e5352 | 1,008 | hpp | C++ | src/providers/twitch/pubsubmessages/ChatModeratorAction.hpp | 1xelerate/chatterino2 | 57783c7478a955f5224e5025653c0f8549df12fc | [
"MIT"
] | 200 | 2017-01-24T11:23:03.000Z | 2019-05-15T19:31:18.000Z | src/providers/twitch/pubsubmessages/ChatModeratorAction.hpp | 1xelerate/chatterino2 | 57783c7478a955f5224e5025653c0f8549df12fc | [
"MIT"
] | 878 | 2017-02-06T13:25:24.000Z | 2019-05-18T16:15:21.000Z | src/providers/twitch/pubsubmessages/ChatModeratorAction.hpp | 1xelerate/chatterino2 | 57783c7478a955f5224e5025653c0f8549df12fc | [
"MIT"
] | 138 | 2017-02-07T18:01:49.000Z | 2019-05-18T19:00:03.000Z | #pragma once
#include <QJsonObject>
#include <QString>
#include <magic_enum.hpp>
namespace chatterino {
struct PubSubChatModeratorActionMessage {
enum class Type {
ModerationAction,
ChannelTermsAction,
INVALID,
};
QString typeString;
Type type = Type::INVALID;
QJsonObj... | 21.446809 | 78 | 0.6875 | 1xelerate |
bd222b9ee234b224c567238d94f4b6edd1fa24e9 | 405 | cpp | C++ | src/duke/image/ImageUtils.cpp | hradec/duke | efacf7139cd1d7c2cd2f5127079721bd263dda50 | [
"MIT"
] | 51 | 2015-01-07T18:36:39.000Z | 2021-11-30T15:24:44.000Z | src/duke/image/ImageUtils.cpp | virneo/duke | efacf7139cd1d7c2cd2f5127079721bd263dda50 | [
"MIT"
] | 1 | 2015-01-08T10:48:43.000Z | 2015-02-11T19:32:14.000Z | src/duke/image/ImageUtils.cpp | virneo/duke | efacf7139cd1d7c2cd2f5127079721bd263dda50 | [
"MIT"
] | 18 | 2015-05-11T12:43:37.000Z | 2019-11-29T11:15:41.000Z | #include "duke/image/ImageUtils.hpp"
#include "duke/base/Check.hpp"
size_t getChannelsByteSize(const Channels& channels) {
size_t bits = 0;
for (const auto& channel : channels) bits += channel.bits;
CHECK(bits % 8 == 0);
return bits / 8;
}
size_t getImageSize(const ImageDescription& description) {
return d... | 27 | 92 | 0.740741 | hradec |
bd225d165bbba76e11d2b1a29d6ea7b1efc0110b | 18,892 | cpp | C++ | CodeForces-Solution/1621I.cpp | Tech-Intellegent/CodeForces-Solution | 2f291a38b80b8ff2a2595b2e526716468ff26bf8 | [
"MIT"
] | 1 | 2022-01-23T07:18:07.000Z | 2022-01-23T07:18:07.000Z | CodeForces-Solution/1621I.cpp | Tech-Intellegent/CodeForces-Solution | 2f291a38b80b8ff2a2595b2e526716468ff26bf8 | [
"MIT"
] | null | null | null | CodeForces-Solution/1621I.cpp | Tech-Intellegent/CodeForces-Solution | 2f291a38b80b8ff2a2595b2e526716468ff26bf8 | [
"MIT"
] | 1 | 2022-02-05T11:53:04.000Z | 2022-02-05T11:53:04.000Z | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using db = long double; // or double, if TL is tight
using str = string; // yay python!
// pairs
using pi = pair<int,int>;
using pl = pair<ll,ll>;
using pd = pair<db,db>;
#define mp make_pair
#define f first
#define s second
#define tcT template<c... | 29.611285 | 95 | 0.578287 | Tech-Intellegent |
bd2342dfae1f5018f3a324c18c4b02b82c78d6fc | 1,891 | cpp | C++ | src/features/DebugOverlayPass.cpp | bferan/lucent | b19163df12739ffc513110d927e92f98c0b54321 | [
"MIT"
] | 1 | 2021-11-12T08:42:43.000Z | 2021-11-12T08:42:43.000Z | src/features/DebugOverlayPass.cpp | bferan/lucent | b19163df12739ffc513110d927e92f98c0b54321 | [
"MIT"
] | null | null | null | src/features/DebugOverlayPass.cpp | bferan/lucent | b19163df12739ffc513110d927e92f98c0b54321 | [
"MIT"
] | null | null | null | #include "DebugOverlayPass.hpp"
#include "rendering/Engine.hpp"
namespace lucent
{
void AddDebugOverlayPass(Renderer& renderer, DebugConsole* console, Texture* output)
{
auto& settings = renderer.GetSettings();
console->SetScreenSize(settings.viewportWidth, settings.viewportHeight);
auto overlayFramebuff... | 30.5 | 84 | 0.651507 | bferan |
bd24ea138e40e37ba1c17fae2842dca3ce54d21e | 310 | hpp | C++ | Test/CalculatorPluginAPI/src/AddIntent.hpp | PiotrMoscicki/PolyPlugin-1 | 32fd9baf63541f1c240d7435a48c56ad6bce62ee | [
"MIT"
] | null | null | null | Test/CalculatorPluginAPI/src/AddIntent.hpp | PiotrMoscicki/PolyPlugin-1 | 32fd9baf63541f1c240d7435a48c56ad6bce62ee | [
"MIT"
] | 9 | 2020-04-01T14:45:10.000Z | 2020-05-11T07:29:26.000Z | Test/CalculatorPluginAPI/src/AddIntent.hpp | PiotrMoscicki/PolyPlugin-1 | 32fd9baf63541f1c240d7435a48c56ad6bce62ee | [
"MIT"
] | 2 | 2020-04-01T17:58:13.000Z | 2020-05-07T15:21:20.000Z | #pragma once
#include <pp/Info.hpp>
//------------------------------------------------------------------------------------------------------------------------------------------
class AddIntent
{
public:
using Result = int;
static inline pp::IntentInfo Info = { "AddIntent", 3 };
int a = 0;
int b = 0;
}; | 22.142857 | 140 | 0.348387 | PiotrMoscicki |
bd2ae0f3fbc874deedff2707882158011aad415b | 2,625 | cc | C++ | simlib/src/object.cc | MichalCab/IMS | d45dd8e7c0f794b4ee7f2ce1ccbc45edeaaa106e | [
"MIT"
] | null | null | null | simlib/src/object.cc | MichalCab/IMS | d45dd8e7c0f794b4ee7f2ce1ccbc45edeaaa106e | [
"MIT"
] | null | null | null | simlib/src/object.cc | MichalCab/IMS | d45dd8e7c0f794b4ee7f2ce1ccbc45edeaaa106e | [
"MIT"
] | null | null | null | /////////////////////////////////////////////////////////////////////////////
//! \file object.cc Root of SIMLIB/C++ class hierarchy
//
// Copyright (c) 1991-2004 Petr Peringer
//
// This library is licensed under GNU Library GPL. See the file COPYING.
//
//
// this module contains implementation of base class Sim... | 25.735294 | 77 | 0.459048 | MichalCab |
bd2e8c3a24a4cfd373e86cb1064b39a0e1db56e3 | 1,916 | cpp | C++ | EterPack API/EterPack API/src/EterUtils.cpp | christian-roggia/metin2-eternexus | 99d239e33733ae777822e0ea86ab5b437e010b64 | [
"MIT"
] | 13 | 2017-01-23T01:55:12.000Z | 2020-09-10T12:13:59.000Z | EterPack API/EterPack API/src/EterUtils.cpp | Christian-Roggia/metin2-eternexus | 99d239e33733ae777822e0ea86ab5b437e010b64 | [
"MIT"
] | 1 | 2020-09-13T19:42:31.000Z | 2020-09-17T21:22:02.000Z | EterPack API/EterPack API/src/EterUtils.cpp | Christian-Roggia/metin2-eternexus | 99d239e33733ae777822e0ea86ab5b437e010b64 | [
"MIT"
] | 28 | 2017-02-25T18:50:58.000Z | 2022-02-17T12:19:38.000Z | #include "EterUtils.h"
void XTEA_DECRYPT(UINT32 *v, UINT32 *k)
{
UINT32 sum = 0xC6EF3720, delta = 0x61C88647;
UINT32 v0 = v[0], v1 = v[1];
for (int i = 0; i < 32; i++)
{
v1 -= (v0 + (16 * v0 ^ (v0 >> 5))) ^ (sum + k[(sum >> 11) & 3]);
sum += delta;
v0 -= (v1 + (16 * v1 ^ (v1 >>... | 26.985915 | 104 | 0.556367 | christian-roggia |
bd2ed96624bd9e1588fe04eb9c7b602a9ccd0eb4 | 1,260 | hpp | C++ | Source/TitaniumKit/examples/NativeTiExample.hpp | garymathews/titanium_mobile_windows | ff2a02d096984c6cad08f498e1227adf496f84df | [
"Apache-2.0"
] | 20 | 2015-04-02T06:55:30.000Z | 2022-03-29T04:27:30.000Z | Source/TitaniumKit/examples/NativeTiExample.hpp | garymathews/titanium_mobile_windows | ff2a02d096984c6cad08f498e1227adf496f84df | [
"Apache-2.0"
] | 692 | 2015-04-01T21:05:49.000Z | 2020-03-10T10:11:57.000Z | Source/TitaniumKit/examples/NativeTiExample.hpp | garymathews/titanium_mobile_windows | ff2a02d096984c6cad08f498e1227adf496f84df | [
"Apache-2.0"
] | 22 | 2015-04-01T20:57:51.000Z | 2022-01-18T17:33:15.000Z | /**
* Copyright (c) 2014 by Appcelerator, Inc. All Rights Reserved.
* Licensed under the terms of the Apache Public License.
* Please see the LICENSE included with this distribution for details.
*/
#ifndef _TITANIUM_EXAMPLES_NATIVETIEXAMPLE_HPP_
#define _TITANIUM_EXAMPLES_NATIVETIEXAMPLE_HPP_
#include "Titanium/T... | 30.731707 | 89 | 0.799206 | garymathews |
bd2f44c27af90404e4437989e2dba1e31e11aea0 | 495 | cpp | C++ | fms_sequence_equal.t.cpp | keithalewis/fms_sequence | f2afc2c302e7f9619bbdd22634428dcad92cb65b | [
"MIT"
] | null | null | null | fms_sequence_equal.t.cpp | keithalewis/fms_sequence | f2afc2c302e7f9619bbdd22634428dcad92cb65b | [
"MIT"
] | null | null | null | fms_sequence_equal.t.cpp | keithalewis/fms_sequence | f2afc2c302e7f9619bbdd22634428dcad92cb65b | [
"MIT"
] | null | null | null | // fms_sequence_equal.t.cpp - Test equality of sequences
#include <cassert>
#include "fms_sequence_equal.h"
#include "fms_sequence_iota.h"
#include "fms_sequence_pointer.h"
#include "fms_sequence_take.h"
using namespace fms::sequence;
int test_sequence_equal()
{
{
int s[] = { 1, 2, 3 };
pointer sp... | 22.5 | 56 | 0.656566 | keithalewis |
bd33fe5aef4c7952f6cb109cb1bc7f5f0bf52751 | 513 | hpp | C++ | include/glCompact/AttributeLayout_.hpp | PixelOfDeath/glCompact | 68334cc9c3aa20255e8986ad1ee5fa8e23df354d | [
"MIT"
] | null | null | null | include/glCompact/AttributeLayout_.hpp | PixelOfDeath/glCompact | 68334cc9c3aa20255e8986ad1ee5fa8e23df354d | [
"MIT"
] | null | null | null | include/glCompact/AttributeLayout_.hpp | PixelOfDeath/glCompact | 68334cc9c3aa20255e8986ad1ee5fa8e23df354d | [
"MIT"
] | null | null | null | #pragma once
#include <glCompact/AttributeLayout.hpp>
namespace glCompact {
class AttributeLayout_ : public AttributeLayout {
friend class PipelineRasterization;
enum class GpuType : uint8_t {
unused,
f32,
i32, //used for all integers and bool
f64
... | 25.65 | 59 | 0.614035 | PixelOfDeath |
bd35db98bb3868f5009ce9bd3770d7d994178824 | 3,383 | cxx | C++ | vigranumpy/src/core/eccentricity.cxx | ThomasWalter/vigra | e92c892aae38c3977dc3f6400f46377b0cb61799 | [
"MIT"
] | null | null | null | vigranumpy/src/core/eccentricity.cxx | ThomasWalter/vigra | e92c892aae38c3977dc3f6400f46377b0cb61799 | [
"MIT"
] | null | null | null | vigranumpy/src/core/eccentricity.cxx | ThomasWalter/vigra | e92c892aae38c3977dc3f6400f46377b0cb61799 | [
"MIT"
] | null | null | null | #define PY_ARRAY_UNIQUE_SYMBOL vigranumpygraphs_PyArray_API
#define NO_IMPORT_ARRAY
/*boost python before anything else*/
#include <boost/python.hpp>
#include <vigra/numpy_array.hxx>
#include <vigra/numpy_array_converters.hxx>
#include <vigra/eccentricitytransform.hxx>
namespace python = boost::python;
/*
BROKEN! R... | 32.219048 | 126 | 0.571682 | ThomasWalter |
bd36889f2b15e64b3c62da7129b2cbdddbc88e03 | 3,268 | cpp | C++ | lib/util/src/Extension_Argv.cpp | ta0kira/zeolite | a81fdcd92c489fccbb3dd7b1c4dae50c00af6b96 | [
"Apache-2.0"
] | 15 | 2019-04-10T13:06:10.000Z | 2021-11-12T14:11:30.000Z | lib/util/src/Extension_Argv.cpp | ta0kira/zeolite | a81fdcd92c489fccbb3dd7b1c4dae50c00af6b96 | [
"Apache-2.0"
] | 196 | 2020-01-24T14:09:31.000Z | 2022-02-25T21:43:44.000Z | lib/util/src/Extension_Argv.cpp | ta0kira/zeolite | a81fdcd92c489fccbb3dd7b1c4dae50c00af6b96 | [
"Apache-2.0"
] | null | null | null | /* -----------------------------------------------------------------------------
Copyright 2020-2021 Kevin P. Barry
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/license... | 34.041667 | 118 | 0.692166 | ta0kira |
bd3ed83cc5a0b41bc6924504580b0c69b076fabb | 4,329 | hpp | C++ | Source/AllProjects/SecureUtils/CIDCrypto/CIDCrypto_SHA256.hpp | MarkStega/CIDLib | 82014e064eef51cad998bf2c694ed9c1c8cceac6 | [
"MIT"
] | 216 | 2019-03-09T06:41:28.000Z | 2022-02-25T16:27:19.000Z | Source/AllProjects/SecureUtils/CIDCrypto/CIDCrypto_SHA256.hpp | MarkStega/CIDLib | 82014e064eef51cad998bf2c694ed9c1c8cceac6 | [
"MIT"
] | 9 | 2020-09-27T08:00:52.000Z | 2021-07-02T14:27:31.000Z | Source/AllProjects/SecureUtils/CIDCrypto/CIDCrypto_SHA256.hpp | MarkStega/CIDLib | 82014e064eef51cad998bf2c694ed9c1c8cceac6 | [
"MIT"
] | 29 | 2019-03-09T10:12:24.000Z | 2021-03-03T22:25:29.000Z | //
// FILE NAME: CIDCrypto_SHA256.hpp
//
// AUTHOR: Dean Roddey
//
// CREATED: 12/19/2009
//
// COPYRIGHT: Charmed Quark Systems, Ltd @ 2019
//
// This software is copyrighted by 'Charmed Quark Systems, Ltd' and
// the author (Dean Roddey.) It is licensed under the MIT Open Source
// license:
//
// https://opensour... | 32.30597 | 87 | 0.419496 | MarkStega |
bd427a1a90fc124044d6c35efec7a6d5416a4e20 | 805 | cpp | C++ | leetcode/roman-to-integer/main.cpp | Yash-Singh1/competitive-programming | 3b9d278ed8138ab614e2a3d748627db8f4a2cdbd | [
"MIT"
] | null | null | null | leetcode/roman-to-integer/main.cpp | Yash-Singh1/competitive-programming | 3b9d278ed8138ab614e2a3d748627db8f4a2cdbd | [
"MIT"
] | null | null | null | leetcode/roman-to-integer/main.cpp | Yash-Singh1/competitive-programming | 3b9d278ed8138ab614e2a3d748627db8f4a2cdbd | [
"MIT"
] | null | null | null | class Solution {
public:
int romanToInt(string s) {
int place{1};
reverse(s.begin(), s.end());
int val {0};
for (int i{0}; i < s.size(); ++i) {
int shownPlace{1};
if (s[i] == 'M') {
shownPlace = 1000;
} else if (s[i] == 'D') {
sho... | 25.15625 | 43 | 0.368944 | Yash-Singh1 |
bd446ae6e5ee5210e9894da8821f10a8106bbb9b | 423 | cpp | C++ | week6/w6d2/removeString.cpp | ash20012003/IPMPRepo | 3d288e8ab1c1a25113c45e983da7f7e780ff66d4 | [
"MIT"
] | 2 | 2021-11-13T05:41:49.000Z | 2022-02-06T16:12:56.000Z | week6/w6d2/removeString.cpp | ash20012003/IPMPRepo | 3d288e8ab1c1a25113c45e983da7f7e780ff66d4 | [
"MIT"
] | null | null | null | week6/w6d2/removeString.cpp | ash20012003/IPMPRepo | 3d288e8ab1c1a25113c45e983da7f7e780ff66d4 | [
"MIT"
] | null | null | null | class Solution {
public:
string removeChars(string string1, string string2) {
// code here
int flag = 0;
string string3;
for(int i=0;i<string1.size();i++){
flag = 0;
for(int j=0;j<string2.size();j++){
if(string1[i] == string2[j]) flag = 1; ... | 24.882353 | 57 | 0.463357 | ash20012003 |
bd47963431bdd10645f75ad56ef875d27e928666 | 1,000 | cpp | C++ | solver/src/solver/interface/Model.cpp | ferdinand-wood/kino_dynamic_opt | ba6bef170819c55d1d26e40af835a744d1ae663f | [
"BSD-3-Clause"
] | 26 | 2019-11-18T17:39:43.000Z | 2021-12-18T00:38:22.000Z | solver/src/solver/interface/Model.cpp | ferdinand-wood/kino_dynamic_opt | ba6bef170819c55d1d26e40af835a744d1ae663f | [
"BSD-3-Clause"
] | 25 | 2019-11-11T19:54:51.000Z | 2021-04-07T13:41:47.000Z | solver/src/solver/interface/Model.cpp | ferdinand-wood/kino_dynamic_opt | ba6bef170819c55d1d26e40af835a744d1ae663f | [
"BSD-3-Clause"
] | 10 | 2019-12-15T14:36:51.000Z | 2021-09-29T10:42:19.000Z | /**
* @file Model.cpp
* @author Brahayam Ponton (brahayam.ponton@tuebingen.mpg.de)
* @license License BSD-3-Clause
* @copyright Copyright (c) 2019, New York University and Max Planck Gesellschaft.
* @date 2019-10-06
*/
#include <iomanip>
#include <iostream>
#include <solver/interface/Model.hpp>
namespace solver... | 30.30303 | 142 | 0.677 | ferdinand-wood |
bd494540a54743e4b703bfba2f0ce9b138a16f79 | 202 | cpp | C++ | src/core/i_listen_child_death_component.cpp | MrPepperoni/Reaping2-1 | 4ffef3cca1145ddc06ca87d2968c7b0ffd3ba3fd | [
"MIT"
] | 3 | 2015-02-22T20:34:28.000Z | 2020-03-04T08:55:25.000Z | src/core/i_listen_child_death_component.cpp | MrPepperoni/Reaping2-1 | 4ffef3cca1145ddc06ca87d2968c7b0ffd3ba3fd | [
"MIT"
] | 22 | 2015-12-13T16:29:40.000Z | 2017-03-04T15:45:44.000Z | src/core/i_listen_child_death_component.cpp | Reaping2/Reaping2 | 0d4c988c99413e50cc474f6206cf64176eeec95d | [
"MIT"
] | 14 | 2015-11-23T21:25:09.000Z | 2020-07-17T17:03:23.000Z | #include "i_listen_child_death_component.h"
#include <portable_iarchive.hpp>
#include <portable_oarchive.hpp>
REAPING2_CLASS_EXPORT_IMPLEMENT( IListenChildDeathComponent, IListenChildDeathComponent );
| 33.666667 | 90 | 0.866337 | MrPepperoni |
bd4c1fbe51a52d6f20a15fd402f70515471d6aa1 | 534 | cpp | C++ | src/main_cpu.cpp | aamatevosyan/ispras_cpp_cpu | 6a7c828a355d3ab479bafcb5a60c955cb4250209 | [
"MIT"
] | null | null | null | src/main_cpu.cpp | aamatevosyan/ispras_cpp_cpu | 6a7c828a355d3ab479bafcb5a60c955cb4250209 | [
"MIT"
] | null | null | null | src/main_cpu.cpp | aamatevosyan/ispras_cpp_cpu | 6a7c828a355d3ab479bafcb5a60c955cb4250209 | [
"MIT"
] | null | null | null | //
// Created by armen on 1/26/21.
//
#include <iostream>
#include "lib/cpu.h"
static void showHelpMessage() {
std::cout << "Usage: cpu [input]\n"
"Runs binary code\n"
"\n"
"Example:\n"
"\tcpu code.dasm\n";
}
int main(int argc, char *argv[]) {
if (argc != 2) {
... | 17.225806 | 56 | 0.526217 | aamatevosyan |
bd53069a214545a71da0cca83d827ba16a3f03a6 | 917 | cpp | C++ | eigen_interface/eigen_lbl_driver.cpp | BenChung/nasoq | dcd38830f839941eec2688bdc8a35967d177c627 | [
"MIT"
] | null | null | null | eigen_interface/eigen_lbl_driver.cpp | BenChung/nasoq | dcd38830f839941eec2688bdc8a35967d177c627 | [
"MIT"
] | null | null | null | eigen_interface/eigen_lbl_driver.cpp | BenChung/nasoq | dcd38830f839941eec2688bdc8a35967d177c627 | [
"MIT"
] | null | null | null | //
// Created by kazem on 2020-05-18.
//
#include <unsupported/Eigen/SparseExtra>
#include <Util.h>
#include "lbl_eigen.h"
using namespace nasoq;
int main(int argc, const char *argv[]){
std::map<std::string,std::string> qp_args;
parse_args(argc, argv, qp_args);
/// Reading input matrices.
Eigen::SparseMatrix<d... | 26.970588 | 88 | 0.671756 | BenChung |
32e3c13c9c138af34e6857e801a739ec5482476e | 399 | cpp | C++ | BrickEngine/src/BrickEngine/Renderer/Material.cpp | HomelikeBrick42/GameEngineTest1 | 3771c65fcd910d360e19b3820b5f4d758cb83997 | [
"Apache-2.0"
] | null | null | null | BrickEngine/src/BrickEngine/Renderer/Material.cpp | HomelikeBrick42/GameEngineTest1 | 3771c65fcd910d360e19b3820b5f4d758cb83997 | [
"Apache-2.0"
] | null | null | null | BrickEngine/src/BrickEngine/Renderer/Material.cpp | HomelikeBrick42/GameEngineTest1 | 3771c65fcd910d360e19b3820b5f4d758cb83997 | [
"Apache-2.0"
] | null | null | null | #include "brickpch.hpp"
#include "BrickEngine/Renderer/Material.hpp"
namespace BrickEngine {
void Material::Bind(uint32_t slot)
{
m_Shader->Bind();
m_Shader->SetFloat4("u_Color", m_Color);
if (m_Texture)
{
m_Texture->Bind(slot);
m_Shader->SetInt("u_Texture", slot);
}
}
void Material::UnBind()
{
... | 16.625 | 50 | 0.669173 | HomelikeBrick42 |
32e6533de5b346bd81e03b49cd9b3eb218db796c | 75,592 | cpp | C++ | Javelin/Tools/jasm/arm64/Encoder.cpp | jthlim/JavelinPattern | 8add264f88ac620de109ddf797f7431779bbd9ea | [
"BSD-3-Clause"
] | 10 | 2016-04-06T01:24:00.000Z | 2021-11-16T10:16:51.000Z | Javelin/Tools/jasm/arm64/Encoder.cpp | jthlim/JavelinPattern | 8add264f88ac620de109ddf797f7431779bbd9ea | [
"BSD-3-Clause"
] | 1 | 2016-05-06T05:38:58.000Z | 2016-05-09T16:42:43.000Z | Javelin/Tools/jasm/arm64/Encoder.cpp | jthlim/JavelinPattern | 8add264f88ac620de109ddf797f7431779bbd9ea | [
"BSD-3-Clause"
] | null | null | null | //============================================================================
#include "Javelin/Tools/jasm/arm64/Encoder.h"
#include "Javelin/Assembler/arm64/ActionType.h"
#include "Javelin/Assembler/BitUtility.h"
#include "Javelin/Tools/jasm/arm64/Action.h"
#include "Javelin/Tools/jasm/arm64/Assembler.h"
#include "... | 33.746429 | 161 | 0.653574 | jthlim |
32ea483ee5cc63a7130af76c05a3432674468358 | 348 | cc | C++ | util/time_point.cc | jpanikulam/experiments | be36319a89f8baee54d7fa7618b885edb7025478 | [
"MIT"
] | 1 | 2019-04-14T11:40:28.000Z | 2019-04-14T11:40:28.000Z | util/time_point.cc | jpanikulam/experiments | be36319a89f8baee54d7fa7618b885edb7025478 | [
"MIT"
] | 5 | 2018-04-18T13:54:29.000Z | 2019-08-22T20:04:17.000Z | util/time_point.cc | jpanikulam/experiments | be36319a89f8baee54d7fa7618b885edb7025478 | [
"MIT"
] | 1 | 2018-12-24T03:45:47.000Z | 2018-12-24T03:45:47.000Z | #include "util/time_point.hh"
std::ostream& operator<<(std::ostream& os, const jcc::TimePoint& t) {
os << std::chrono::duration_cast<std::chrono::microseconds>(t.time_since_epoch())
.count();
return os;
}
std::ostream& operator<<(std::ostream& os, const jcc::TimeDuration& dt) {
os << jcc::to_seconds... | 26.769231 | 83 | 0.643678 | jpanikulam |
32f72d43c549a54747deab36fa9995af8861e5d1 | 10,461 | cpp | C++ | tests/Engine/Shader/ShaderUtils.cpp | jayrulez/NazaraEngine | e0310cd141f3cc11dbe8abfd5bfedf6b61de1a99 | [
"BSD-3-Clause-Clear",
"Apache-2.0",
"MIT"
] | null | null | null | tests/Engine/Shader/ShaderUtils.cpp | jayrulez/NazaraEngine | e0310cd141f3cc11dbe8abfd5bfedf6b61de1a99 | [
"BSD-3-Clause-Clear",
"Apache-2.0",
"MIT"
] | null | null | null | tests/Engine/Shader/ShaderUtils.cpp | jayrulez/NazaraEngine | e0310cd141f3cc11dbe8abfd5bfedf6b61de1a99 | [
"BSD-3-Clause-Clear",
"Apache-2.0",
"MIT"
] | null | null | null | #include <Engine/Shader/ShaderUtils.hpp>
#include <Nazara/Core/StringExt.hpp>
#include <Nazara/Shader/GlslWriter.hpp>
#include <Nazara/Shader/LangWriter.hpp>
#include <Nazara/Shader/ShaderLangParser.hpp>
#include <Nazara/Shader/SpirvPrinter.hpp>
#include <Nazara/Shader/SpirvWriter.hpp>
#include <Nazara/Shader/Ast/AstRe... | 34.524752 | 247 | 0.710735 | jayrulez |
32f838592e804be4485b0ae416168a3d980f31ce | 398 | cpp | C++ | test/snippet/alphabet/aminoacid/aa27_construction.cpp | marehr/nomchop | a88bfb6f5d4a291a71b6b3192eeac81fdc450d43 | [
"CC-BY-4.0",
"CC0-1.0"
] | 1 | 2021-03-01T11:12:56.000Z | 2021-03-01T11:12:56.000Z | test/snippet/alphabet/aminoacid/aa27_construction.cpp | simonsasse/seqan3 | 0ff2e117952743f081735df9956be4c512f4ccba | [
"CC0-1.0",
"CC-BY-4.0"
] | 2 | 2017-05-17T07:16:19.000Z | 2020-02-13T16:10:10.000Z | test/snippet/alphabet/aminoacid/aa27_construction.cpp | simonsasse/seqan3 | 0ff2e117952743f081735df9956be4c512f4ccba | [
"CC0-1.0",
"CC-BY-4.0"
] | null | null | null | #include <seqan3/alphabet/aminoacid/aa27.hpp>
#include <seqan3/core/debug_stream.hpp>
int main()
{
using seqan3::operator""_aa27;
seqan3::aa27 my_letter{'A'_aa27};
my_letter.assign_char('C');
my_letter.assign_char('?'); // all unknown characters are converted to 'X'_aa27 implicitly
if (my_le... | 24.875 | 94 | 0.658291 | marehr |
32fbbdfc86159f46f80658a55926618bca353a72 | 7,591 | cpp | C++ | Hydro-Engine/PanelConfig.cpp | PerezEnric/Hydro-Engine | 16b99dc6092889cf2b15cf33aaa9567242eaf6fd | [
"MIT"
] | 4 | 2019-10-15T19:58:57.000Z | 2020-12-02T20:15:13.000Z | Hydro-Engine/PanelConfig.cpp | PerezEnric/Hydro-Engine | 16b99dc6092889cf2b15cf33aaa9567242eaf6fd | [
"MIT"
] | null | null | null | Hydro-Engine/PanelConfig.cpp | PerezEnric/Hydro-Engine | 16b99dc6092889cf2b15cf33aaa9567242eaf6fd | [
"MIT"
] | null | null | null | #include "PanelConfig.h"
#include "Application.h"
#include "ModuleWindow.h"
#include "ModuleRenderer3D.h"
#include "ImGui/imconfig.h"
#include "ImGui/imgui.h"
#include "ImGui/imgui_impl_sdl.h"
#include "ImGui/imgui_impl_opengl3.h"
#include "Glew/include/glew.h"
#include "SDL/include/SDL.h"
#include "SDL/include/SDL_... | 27.305755 | 146 | 0.697932 | PerezEnric |
32fc1e6782acb2bac7b3b46e36f6e3b84bff48ee | 84 | cpp | C++ | EglCpp/Sources/SceneSystem/GameObject.cpp | Egliss/EglCppBase | 94d24b6e5e91da880833237a879138760ae9c669 | [
"MIT"
] | null | null | null | EglCpp/Sources/SceneSystem/GameObject.cpp | Egliss/EglCppBase | 94d24b6e5e91da880833237a879138760ae9c669 | [
"MIT"
] | 2 | 2020-08-04T18:14:51.000Z | 2020-08-06T19:19:11.000Z | EglCpp/Sources/SceneSystem/GameObject.cpp | Egliss/EglCppBase | 94d24b6e5e91da880833237a879138760ae9c669 | [
"MIT"
] | null | null | null | #include "pch.h"
#include "GameObject.hpp"
void Egliss::GameObject::Update()
{
}
| 10.5 | 33 | 0.678571 | Egliss |
32fce4fc22ef67c72a91ff6d7e5b8fde23521314 | 9,852 | cpp | C++ | source/perm_group_disjoint_decomp.cpp | goens/TUD_computational_group_theory | 3f4703cae1ac049089db23eafc321e8daca2d99d | [
"MIT"
] | 2 | 2018-09-10T09:31:17.000Z | 2018-10-14T15:19:20.000Z | source/perm_group_disjoint_decomp.cpp | goens/TUD_computational_group_theory | 3f4703cae1ac049089db23eafc321e8daca2d99d | [
"MIT"
] | 7 | 2020-06-11T07:25:08.000Z | 2020-12-19T09:07:50.000Z | source/perm_group_disjoint_decomp.cpp | goens/TUD_computational_group_theory | 3f4703cae1ac049089db23eafc321e8daca2d99d | [
"MIT"
] | 2 | 2020-09-10T19:31:57.000Z | 2020-12-09T13:17:50.000Z | #include <algorithm>
#include <cassert>
#include <iterator>
#include <memory>
#include <unordered_set>
#include <utility>
#include <vector>
#include "dbg.hpp"
#include "orbit.hpp"
#include "perm.hpp"
#include "perm_group.hpp"
#include "perm_set.hpp"
#include "timer.hpp"
namespace mpsym
{
namespace internal
{
std::v... | 26.063492 | 86 | 0.671133 | goens |
fd058a4c024c9d1a7782bcd708fa00491f5f2403 | 1,550 | cpp | C++ | EU4toV3Tests/MapperTests/NationMergeMapperTests/NationMergeMapperTests.cpp | ParadoxGameConverters/EU4toVic3 | e055d5fbaadc21e37f4bce5b3a4f4c1e415598fa | [
"MIT"
] | 5 | 2021-05-22T20:10:05.000Z | 2021-05-28T08:07:05.000Z | EU4toV3Tests/MapperTests/NationMergeMapperTests/NationMergeMapperTests.cpp | klorpa/EU4toVic3 | 36b53a76402c715f618dd88f0caf962072bda8cf | [
"MIT"
] | 13 | 2021-05-25T08:26:11.000Z | 2022-01-13T18:24:12.000Z | EU4toV3Tests/MapperTests/NationMergeMapperTests/NationMergeMapperTests.cpp | Zemurin/EU4toVic3 | 532b9a11e0e452be54d89e12cff5fb1f84ac3d11 | [
"MIT"
] | 5 | 2021-05-22T13:45:43.000Z | 2021-12-25T00:00:04.000Z | #include "NationMergeMapper/NationMergeMapper.h"
#include "gtest/gtest.h"
#include <gmock/gmock-matchers.h>
using testing::UnorderedElementsAre;
TEST(Mappers_NationMergeMapperTests, primitivesDefaultToDefaults)
{
std::stringstream input;
mappers::NationMergeMapper mapper;
mapper.loadNationMerge(input);
EXPECT_FAL... | 27.678571 | 70 | 0.719355 | ParadoxGameConverters |
fd061de7a51cf338dc6761060f1d72226ec2164b | 397 | hpp | C++ | test/test_utility.hpp | MasterMann/argparse | e6a8802551d54fbd5a9eefb543239776dc763e96 | [
"MIT"
] | 1,101 | 2019-04-02T13:59:40.000Z | 2022-03-31T23:14:00.000Z | test/test_utility.hpp | MasterMann/argparse | e6a8802551d54fbd5a9eefb543239776dc763e96 | [
"MIT"
] | 108 | 2019-04-08T23:46:13.000Z | 2022-03-31T15:13:58.000Z | test/test_utility.hpp | MasterMann/argparse | e6a8802551d54fbd5a9eefb543239776dc763e96 | [
"MIT"
] | 144 | 2019-04-09T22:06:47.000Z | 2022-03-31T13:09:43.000Z | #ifndef ARGPARSE_TEST_UTILITY_HPP
#define ARGPARSE_TEST_UTILITY_HPP
namespace testutility {
// Get value at index from std::list
template <typename T>
T get_from_list(const std::list<T>& aList, size_t aIndex) {
if (aList.size() > aIndex) {
auto tIterator = aList.begin();
std::advance(tIterator, aIndex);
... | 22.055556 | 59 | 0.720403 | MasterMann |
fd069a7ad27de3e9edbf15ba67acec45a71612f8 | 362 | cpp | C++ | Code/Testing Tools/Boost and Google test/Google test/exception_g/1.cpp | souvik3333/Testing-and-Debugging-Tools | 1fb7ddd8efa91a6e7ac6519705761961a7e52c66 | [
"MIT"
] | null | null | null | Code/Testing Tools/Boost and Google test/Google test/exception_g/1.cpp | souvik3333/Testing-and-Debugging-Tools | 1fb7ddd8efa91a6e7ac6519705761961a7e52c66 | [
"MIT"
] | null | null | null | Code/Testing Tools/Boost and Google test/Google test/exception_g/1.cpp | souvik3333/Testing-and-Debugging-Tools | 1fb7ddd8efa91a6e7ac6519705761961a7e52c66 | [
"MIT"
] | null | null | null | #include<bits/stdc++.h>
#include<gtest/gtest.h>
using namespace std;
TEST(mytest,test1){
stack <int> st;
st.push(1);
EXPECT_ANY_THROW(st.pop());
// EXPECT_NO_THROW(st.pop());
// EXPECT_THROW(st.pop(),out_of_range);
cout<<"continued";
}
int main(int argc,char **argv){
testing::InitGoogleTest(... | 24.133333 | 43 | 0.651934 | souvik3333 |
fd0aab3e7553d6c6c75f1e6ecc49557fe088fe38 | 1,194 | hpp | C++ | include/YourGame/Scenes/ExampleScene.hpp | iPruch/X-GS | ac43b91735a048216f60c49a9b43d6edd6d5e35e | [
"Zlib"
] | 1 | 2015-01-04T22:17:25.000Z | 2015-01-04T22:17:25.000Z | include/YourGame/Scenes/ExampleScene.hpp | iPruch/X-GS | ac43b91735a048216f60c49a9b43d6edd6d5e35e | [
"Zlib"
] | null | null | null | include/YourGame/Scenes/ExampleScene.hpp | iPruch/X-GS | ac43b91735a048216f60c49a9b43d6edd6d5e35e | [
"Zlib"
] | null | null | null | #ifndef YOURGAME_EXAMPLESCENE_HPP
#define YOURGAME_EXAMPLESCENE_HPP
#include <X-GS/Scene.hpp>
#include <X-GS/SceneManager.hpp>
#include <X-GS/ResourceManager.hpp>
#include <SFML/Graphics/RectangleShape.hpp>
#include <SFML/Graphics/Font.hpp>
#include <SFML/Graphics/Text.hpp>
#include "ResourcePath.hpp"
#include "Reso... | 21.321429 | 83 | 0.748744 | iPruch |
fd13f6bb77a76bf39822fe1fb1addc2ada9b61ae | 158 | hpp | C++ | Empty.hpp | cptkidd62/minesweeper | 0ac18dc94d4bca0b5e687cbce64c5e47bde58a26 | [
"MIT"
] | null | null | null | Empty.hpp | cptkidd62/minesweeper | 0ac18dc94d4bca0b5e687cbce64c5e47bde58a26 | [
"MIT"
] | null | null | null | Empty.hpp | cptkidd62/minesweeper | 0ac18dc94d4bca0b5e687cbce64c5e47bde58a26 | [
"MIT"
] | null | null | null | #ifndef EMPTY_HPP
#define EMPTY_HPP
#include "Tile.hpp"
class Empty : public Tile
{
public:
Empty(int x, int y);
int revert();
private:
};
#endif | 9.875 | 25 | 0.658228 | cptkidd62 |
fd1695a2aaed2d58054740379a1436c03f312626 | 2,026 | cpp | C++ | libWmfToSvgCpp/SvgRectRegion.cpp | shouhirobumi/wmfToSvgLib | fdd5b9a5517c150e50e111cd0f1bf486fea6e5d1 | [
"MIT"
] | null | null | null | libWmfToSvgCpp/SvgRectRegion.cpp | shouhirobumi/wmfToSvgLib | fdd5b9a5517c150e50e111cd0f1bf486fea6e5d1 | [
"MIT"
] | null | null | null | libWmfToSvgCpp/SvgRectRegion.cpp | shouhirobumi/wmfToSvgLib | fdd5b9a5517c150e50e111cd0f1bf486fea6e5d1 | [
"MIT"
] | null | null | null | #include "SvgRectRegion.h"
//#include "SvgRegion.h"
#include "SvgGdi.h"
#include "SvgDc.h"
//#include "tinyxml2.h"
//#include "tool.h"
namespace WMFConverter{
SvgRectRegion::SvgRectRegion(SvgGdi *gdi, int left, int top, int right, int bottom)
: SvgRegion(gdi)
{
_left = left;
_top = top;
_right... | 22.764045 | 103 | 0.60464 | shouhirobumi |
fd1788dcc29506e736a4c8874803405df4d028d4 | 4,636 | cpp | C++ | export/windows/obj/src/openfl/_internal/renderer/opengl/GLTextField.cpp | seanbashaw/frozenlight | 47c540d30d63e946ea2dc787b4bb602cc9347d21 | [
"MIT"
] | null | null | null | export/windows/obj/src/openfl/_internal/renderer/opengl/GLTextField.cpp | seanbashaw/frozenlight | 47c540d30d63e946ea2dc787b4bb602cc9347d21 | [
"MIT"
] | null | null | null | export/windows/obj/src/openfl/_internal/renderer/opengl/GLTextField.cpp | seanbashaw/frozenlight | 47c540d30d63e946ea2dc787b4bb602cc9347d21 | [
"MIT"
] | null | null | null | // Generated by Haxe 3.4.7
#include <hxcpp.h>
#ifndef INCLUDED_openfl__internal_renderer_cairo_CairoTextField
#include <openfl/_internal/renderer/cairo/CairoTextField.h>
#endif
#ifndef INCLUDED_openfl__internal_renderer_opengl_GLTextField
#include <openfl/_internal/renderer/opengl/GLTextField.h>
#endif
#ifndef INCLUDE... | 33.114286 | 241 | 0.799827 | seanbashaw |
fd19e414273b79c162a8ac3d4ef1b479dc393540 | 2,527 | cpp | C++ | samples/snippets/cpp/VS_Snippets_CLR_System/system.Byte.ToString/CPP/newbytemembers2.cpp | hamarb123/dotnet-api-docs | 6aeb55784944a2f1f5e773b657791cbd73a92dd4 | [
"CC-BY-4.0",
"MIT"
] | 421 | 2018-04-01T01:57:50.000Z | 2022-03-28T15:24:42.000Z | samples/snippets/cpp/VS_Snippets_CLR_System/system.Byte.ToString/CPP/newbytemembers2.cpp | hamarb123/dotnet-api-docs | 6aeb55784944a2f1f5e773b657791cbd73a92dd4 | [
"CC-BY-4.0",
"MIT"
] | 5,797 | 2018-04-02T21:12:23.000Z | 2022-03-31T23:54:38.000Z | samples/snippets/cpp/VS_Snippets_CLR_System/system.Byte.ToString/CPP/newbytemembers2.cpp | hamarb123/dotnet-api-docs | 6aeb55784944a2f1f5e773b657791cbd73a92dd4 | [
"CC-BY-4.0",
"MIT"
] | 1,482 | 2018-03-31T11:26:20.000Z | 2022-03-30T22:36:45.000Z | // Byte.ToString2.cpp : main project file.
using namespace System;
using namespace System::Globalization;
// Byte.ToString()
void Byte1()
{
// <Snippet2>
array<Byte>^ bytes = gcnew array<Byte> {0, 1, 14, 168, 255};
for each (Byte byteValue in bytes)
Console::WriteLine(byteValue);
// The ... | 31.5875 | 94 | 0.496636 | hamarb123 |
fd1bc1167a9149ce4ce2ac37b6b879283b24c251 | 2,007 | cpp | C++ | arm/system/sdram.cpp | mborik/speccy2010-dividised | 414978cdaf3e27852d47e9f3d5211503b17c6a2f | [
"MIT"
] | 26 | 2018-09-20T08:49:37.000Z | 2022-02-22T14:50:40.000Z | arm/system/sdram.cpp | andykarpov/speccy2010 | a8a3d53835a3bd5cbf7a4f96e30729ebf244dcd4 | [
"MIT"
] | 4 | 2019-04-18T11:04:08.000Z | 2020-09-05T21:12:36.000Z | arm/system/sdram.cpp | andykarpov/speccy2010 | a8a3d53835a3bd5cbf7a4f96e30729ebf244dcd4 | [
"MIT"
] | 6 | 2018-10-19T21:10:03.000Z | 2021-04-30T22:42:08.000Z | #include "sdram.h"
#include "../system.h"
dword sdramHeapPtr = VIDEO_PAGE_PTR + SDRAM_PAGE_SIZE;
//---------------------------------------------------------------------------------------
dword Malloc(word recordCount, word recordSize)
{
dword size = recordSize;
if ((size & 1) != 0)
size++;
size *= recordCount;
... | 23.611765 | 89 | 0.491779 | mborik |
fd206f4180a12a60374ad3f469418b51ac9fa89e | 11,798 | cc | C++ | packages/spatial/Linear_MLS_Function.cc | brbass/ibex | 5a4cc5b4d6d46430d9667970f8a34f37177953d4 | [
"MIT"
] | 2 | 2020-04-13T20:06:41.000Z | 2021-02-12T17:55:54.000Z | packages/spatial/Linear_MLS_Function.cc | brbass/ibex | 5a4cc5b4d6d46430d9667970f8a34f37177953d4 | [
"MIT"
] | 1 | 2018-10-22T21:03:35.000Z | 2018-10-22T21:03:35.000Z | packages/spatial/Linear_MLS_Function.cc | brbass/ibex | 5a4cc5b4d6d46430d9667970f8a34f37177953d4 | [
"MIT"
] | 3 | 2019-04-03T02:15:37.000Z | 2022-01-04T05:50:23.000Z | #include "Linear_MLS_Function.hh"
#include "Linear_Algebra.hh"
#include "Linear_MLS_Normalization.hh"
#include "Matrix_Functions.hh"
#include "Vector_Functions.hh"
#include "XML_Node.hh"
namespace la = Linear_Algebra;
namespace mf = Matrix_Functions;
namespace vf = Vector_Functions;
using std::make_shared;
using std... | 29.348259 | 119 | 0.569164 | brbass |
fd25f3ead434bab5bb747324e20797792ae12451 | 5,861 | cpp | C++ | core/src/engine/Manifoldmath.cpp | SpiritSuperUser/spirit | fbe69c2a9b7a73e8f47d302c619303aea2a22ace | [
"MIT"
] | 2 | 2020-11-12T13:54:22.000Z | 2021-11-05T09:10:27.000Z | core/src/engine/Manifoldmath.cpp | SpiritSuperUser/spirit | fbe69c2a9b7a73e8f47d302c619303aea2a22ace | [
"MIT"
] | null | null | null | core/src/engine/Manifoldmath.cpp | SpiritSuperUser/spirit | fbe69c2a9b7a73e8f47d302c619303aea2a22ace | [
"MIT"
] | null | null | null | #ifndef USE_CUDA
#include <engine/Vectormath.hpp>
#include <engine/Manifoldmath.hpp>
#include <utility/Logging.hpp>
#include <utility/Exception.hpp>
#include <Eigen/Dense>
#include <array>
namespace Engine
{
namespace Manifoldmath
{
scalar norm(const vectorfield & vf)
{
scalar x = Vect... | 29.903061 | 148 | 0.579423 | SpiritSuperUser |
fd26c1dc458dfb7ba1601c898f7d0b88c44e9f21 | 4,639 | hpp | C++ | uActor/include/actor_runtime/managed_actor.hpp | uActor/uActor | 1180db98f48ad447639a3d625573307d87b28902 | [
"MIT"
] | 1 | 2021-09-15T12:41:37.000Z | 2021-09-15T12:41:37.000Z | uActor/include/actor_runtime/managed_actor.hpp | uActor/uActor | 1180db98f48ad447639a3d625573307d87b28902 | [
"MIT"
] | null | null | null | uActor/include/actor_runtime/managed_actor.hpp | uActor/uActor | 1180db98f48ad447639a3d625573307d87b28902 | [
"MIT"
] | null | null | null | #pragma once
#ifdef ESP_IDF
#include <sdkconfig.h>
#endif
#include <cstdint>
#include <deque>
#include <functional>
#include <set>
#include <string>
#include <utility>
#include "executor_api.hpp"
#include "pubsub/filter.hpp"
#include "pubsub/publication.hpp"
#include "pubsub/router.hpp"
#include "runtime_allocator_c... | 26.357955 | 80 | 0.718258 | uActor |
fd2eb9f60b1eabf606bb8c786ed72dc03f981561 | 4,072 | hpp | C++ | Simpfer/data.hpp | amgt-d1/Simpfer | 01697c574c7d1b99d8add87c0f105c4607bc29f5 | [
"MIT"
] | 5 | 2021-11-19T16:19:52.000Z | 2022-03-17T15:59:26.000Z | Simpfer/data.hpp | amgt-d1/Simpfer | 01697c574c7d1b99d8add87c0f105c4607bc29f5 | [
"MIT"
] | null | null | null | Simpfer/data.hpp | amgt-d1/Simpfer | 01697c574c7d1b99d8add87c0f105c4607bc29f5 | [
"MIT"
] | 1 | 2022-03-20T04:10:57.000Z | 2022-03-20T04:10:57.000Z | #include "file_input.hpp"
#include <vector>
#include <functional>
#include <algorithm>
#include <map>
#include <cfloat>
// definition of data
class data {
public:
unsigned int identifier = 0;
std::vector<float> vec;
float norm = 0;
std::map<float, unsigned int, std::greater<float>> topk;
float threshold = 0;
... | 18.425339 | 115 | 0.606336 | amgt-d1 |
fd34a6a5226121bc4da851ab3005d0ca3d714c47 | 749 | cpp | C++ | other-small-sources/nooby_mistakes.cpp | Nickeron-dev/Basics-Of-CPP | 84e2cd50c9bd466830054715a1cd708f87311e7b | [
"Apache-2.0"
] | 1 | 2021-09-15T15:11:39.000Z | 2021-09-15T15:11:39.000Z | other-small-sources/nooby_mistakes.cpp | Nickeron-dev/Basics-Of-CPP | 84e2cd50c9bd466830054715a1cd708f87311e7b | [
"Apache-2.0"
] | null | null | null | other-small-sources/nooby_mistakes.cpp | Nickeron-dev/Basics-Of-CPP | 84e2cd50c9bd466830054715a1cd708f87311e7b | [
"Apache-2.0"
] | null | null | null | #include <iostream>
#include <string>
int main()
{
// variables are not initialised(only defined)
// so undefined behaviour will be there(values cannot be predicted)
int x;
int *x2 = new int;
// OK. initial value 0 is guaranteed
int y {};
int *y1 = new int{};
int *y2 = new int();
int z();
// The same work... | 16.282609 | 68 | 0.631509 | Nickeron-dev |
fd3a18b424c5449d31d34ae7ffdd756b86f1b175 | 1,691 | hpp | C++ | rmf_traffic_ros2/include/rmf_traffic_ros2/StandardNames.hpp | Yadunund/rmf_core | 90e9871ce595c53dfbc0f4f16dc00192f7a9fbcf | [
"Apache-2.0"
] | null | null | null | rmf_traffic_ros2/include/rmf_traffic_ros2/StandardNames.hpp | Yadunund/rmf_core | 90e9871ce595c53dfbc0f4f16dc00192f7a9fbcf | [
"Apache-2.0"
] | 1 | 2020-06-12T08:57:11.000Z | 2020-06-17T11:29:33.000Z | rmf_traffic_ros2/include/rmf_traffic_ros2/StandardNames.hpp | Yadunund/rmf_core | 90e9871ce595c53dfbc0f4f16dc00192f7a9fbcf | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (C) 2019 Open Source Robotics Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appl... | 40.261905 | 79 | 0.786517 | Yadunund |
fd3c6821607f3a9ab94f431531e10da9c2fa4072 | 3,590 | hpp | C++ | src/core/constant_buffers.hpp | SleepKiller/shaderpatch | 4bda848df0273993c96f1d20a2cf79161088a77d | [
"MIT"
] | 13 | 2019-03-25T09:40:12.000Z | 2022-03-13T16:12:39.000Z | src/core/constant_buffers.hpp | SleepKiller/shaderpatch | 4bda848df0273993c96f1d20a2cf79161088a77d | [
"MIT"
] | 110 | 2018-10-16T09:05:43.000Z | 2022-03-16T23:32:28.000Z | src/core/constant_buffers.hpp | SleepKiller/shaderpatch | 4bda848df0273993c96f1d20a2cf79161088a77d | [
"MIT"
] | 1 | 2020-02-06T20:32:50.000Z | 2020-02-06T20:32:50.000Z | #pragma once
#include <array>
#include <cstddef>
#include <cstdint>
#include <glm/glm.hpp>
namespace sp::core::cb {
// Evil macro. Takes the type of the constant buffer and the first non-game
// constant in the type and returns the number of game constants in the buffer.
#define CB_MAX_GAME_CONSTANTS(Type, first_pa... | 27.829457 | 87 | 0.741504 | SleepKiller |
fd3f817910eab22d6cd2b608d523b875b07a4110 | 395 | hpp | C++ | include/modules/waterAdditionControl/actionCreators/messages/AddionalWaterTankEmptyingTimeout.hpp | thebartekbanach/simple-aqua-controller | 338331072155b9f98fb07b6a1e31e6d3c1f650fa | [
"MIT"
] | 1 | 2019-11-18T13:22:57.000Z | 2019-11-18T13:22:57.000Z | include/modules/waterAdditionControl/actionCreators/messages/AddionalWaterTankEmptyingTimeout.hpp | thebartekbanach/simple-aqua-controller | 338331072155b9f98fb07b6a1e31e6d3c1f650fa | [
"MIT"
] | null | null | null | include/modules/waterAdditionControl/actionCreators/messages/AddionalWaterTankEmptyingTimeout.hpp | thebartekbanach/simple-aqua-controller | 338331072155b9f98fb07b6a1e31e6d3c1f650fa | [
"MIT"
] | null | null | null | #pragma once
#include "../../../../utils/informationBanner/InformationBannerActionCreator.hpp"
InformationBannerActionCreator* addionalWaterTankEmptyingTimeoutMessage(ActionCreator* target = nullptr) {
return new InformationBannerActionCreator(target, 0, true,
" Uwaga: timeout",
" oproznienia wo... | 32.916667 | 106 | 0.701266 | thebartekbanach |
fd41be035b030017b44edf23576823b680b00e14 | 1,472 | cpp | C++ | FWCoreLibrary/TPMLogger.cpp | terilenard/dias-firewall | b836f1180ef187e6f1bb597f8666165f9f4fa082 | [
"MIT"
] | null | null | null | FWCoreLibrary/TPMLogger.cpp | terilenard/dias-firewall | b836f1180ef187e6f1bb597f8666165f9f4fa082 | [
"MIT"
] | null | null | null | FWCoreLibrary/TPMLogger.cpp | terilenard/dias-firewall | b836f1180ef187e6f1bb597f8666165f9f4fa082 | [
"MIT"
] | null | null | null | #include "TPMLogger.h"
#include "Config.h"
#ifndef WIN32
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/errno.h>
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#endif
TPMLogger::TPMLogger(const char* pszCfgFile):
m_fd(-1), m_sCfgFile(pszCfgFile)
{
}
TPMLogger::~TPMLogg... | 18.632911 | 71 | 0.600543 | terilenard |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.