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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e7444434f4165c69157a82731ef6f1c410d79c08 | 7,337 | cpp | C++ | pop3_ssl/pop3_ssl.cpp | forceinline/steam-email-verifier | 53e1b132a161e21a5909389e464db7a2e1a94c8c | [
"MIT"
] | null | null | null | pop3_ssl/pop3_ssl.cpp | forceinline/steam-email-verifier | 53e1b132a161e21a5909389e464db7a2e1a94c8c | [
"MIT"
] | null | null | null | pop3_ssl/pop3_ssl.cpp | forceinline/steam-email-verifier | 53e1b132a161e21a5909389e464db7a2e1a94c8c | [
"MIT"
] | 1 | 2021-02-11T09:31:04.000Z | 2021-02-11T09:31:04.000Z | #include "pop3_ssl.hpp"
#include <stdexcept>
namespace forceinline {
pop3_result::pop3_result( std::string_view _response ) {
auto ok_response = _response.find( "+OK" );
auto err_response = _response.find( "-ERR" );
raw_response = _response;
if ( ok_response == 0 ) {
success = true;
response = _respon... | 28.003817 | 144 | 0.667848 | forceinline |
e744aeabea8fa82faeff6a041b2b4d12fc4b7292 | 5,522 | cpp | C++ | source/Tools/TrollEditor/GUI/NewOverlayFrame.cpp | DragonJoker/Elypse | 5dce65ba97fb830349d157da77d9dc151cccc70e | [
"MIT"
] | 9 | 2017-12-06T17:21:56.000Z | 2020-11-15T14:06:07.000Z | source/Tools/TrollEditor/GUI/NewOverlayFrame.cpp | DragonJoker/Elypse | 5dce65ba97fb830349d157da77d9dc151cccc70e | [
"MIT"
] | null | null | null | source/Tools/TrollEditor/GUI/NewOverlayFrame.cpp | DragonJoker/Elypse | 5dce65ba97fb830349d157da77d9dc151cccc70e | [
"MIT"
] | 1 | 2020-01-08T05:20:05.000Z | 2020-01-08T05:20:05.000Z | #include "GUI/NewOverlayFrame.h"
#include "TrollEditorApplication.h"
#include "Elypse/TrollScriptEngine.h"
#include "GUI/ElypseCtrl.h"
#include "GUI/ElypseFrame.h"
#include "GUI/ElypsePanel.h"
#include "GUI/ProjectFrame.h"
#include "GUI/Properties/Common/PropertiesHolder.h"
#include "Project/2D/Overlay.h"
#include "Pr... | 30.849162 | 161 | 0.698479 | DragonJoker |
e749f1d171aa3536ab25b7eefe864607c7ef66c5 | 1,446 | cpp | C++ | 2019/day1/cpp/src/test.cpp | ivobatkovic/advent-of-code | e43489bcd2307f0f3ac8b0ec4e850f0a201f9944 | [
"MIT"
] | 3 | 2019-12-14T16:24:50.000Z | 2020-12-06T16:40:13.000Z | 2019/day1/cpp/src/test.cpp | ivobatkovic/advent-of-code | e43489bcd2307f0f3ac8b0ec4e850f0a201f9944 | [
"MIT"
] | 4 | 2019-12-03T14:18:13.000Z | 2020-12-03T08:29:32.000Z | 2019/day1/cpp/src/test.cpp | ivobatkovic/advent-of-code | e43489bcd2307f0f3ac8b0ec4e850f0a201f9944 | [
"MIT"
] | 2 | 2019-12-06T07:25:57.000Z | 2020-12-08T12:42:37.000Z | #include <gtest/gtest.h>
#include <tuple>
#include "2019/day1/cpp/include/fuel_counter.hpp"
class Test : public ::testing::TestWithParam<std::tuple<int, int>> {
protected:
FuelCounter m_counter = FuelCounter();
};
class TestFuelCounter : public Test {};
class TestFuelCounterExtended : public Test {};
TEST_P(Tes... | 32.133333 | 76 | 0.592669 | ivobatkovic |
e74a172209243d3e62320a395f02cac9b76806e9 | 15,105 | cc | C++ | libdsv/tests/scanner_test.cc | tegtmeye/libdsv | b6de36bb1b5d27d7c6c52b6fbd1be635f8b4a6a8 | [
"BSD-3-Clause"
] | null | null | null | libdsv/tests/scanner_test.cc | tegtmeye/libdsv | b6de36bb1b5d27d7c6c52b6fbd1be635f8b4a6a8 | [
"BSD-3-Clause"
] | null | null | null | libdsv/tests/scanner_test.cc | tegtmeye/libdsv | b6de36bb1b5d27d7c6c52b6fbd1be635f8b4a6a8 | [
"BSD-3-Clause"
] | null | null | null | #include <boost/test/unit_test.hpp>
#include <scanner_state.h>
#include <boost/filesystem.hpp>
#include <errno.h>
#include <string>
#include <sstream>
#include <memory>
#include <cstdio>
/** \file
* \brief Unit tests the scanner
*/
namespace dsv {
namespace test {
namespace fs=boost::filesystem;
namespace... | 27.61426 | 80 | 0.655214 | tegtmeye |
e74db568dbcf52ac41616e96abd997854c66b6a5 | 35,906 | cpp | C++ | CppCollection/condition.cpp | huoyongkai/Wireless360 | 20b458809b16aa05316cbbe98d2aebc10b4ba19f | [
"MIT"
] | 1 | 2020-06-25T05:36:23.000Z | 2020-06-25T05:36:23.000Z | CppCollection/condition.cpp | huoyongkai/Wireless360 | 20b458809b16aa05316cbbe98d2aebc10b4ba19f | [
"MIT"
] | null | null | null | CppCollection/condition.cpp | huoyongkai/Wireless360 | 20b458809b16aa05316cbbe98d2aebc10b4ba19f | [
"MIT"
] | null | null | null | # include <cstdlib>
# include <iostream>
# include <iomanip>
# include <cmath>
# include <ctime>
# include <cstring>
using namespace std;
# include "condition.hpp"
# include "r8lib.hpp"
//****************************************************************************80
double *combin ( double alpha, double beta, int n... | 19.160085 | 80 | 0.438868 | huoyongkai |
e74edd3972c1d8ab7e0495aafa686d3410c86f4e | 3,116 | cpp | C++ | oss_src/fault/sockets/socket_config.cpp | parquette/ParFrame | 0522aa6afdf529b3e91505b70e918f1500aae886 | [
"BSD-3-Clause"
] | null | null | null | oss_src/fault/sockets/socket_config.cpp | parquette/ParFrame | 0522aa6afdf529b3e91505b70e918f1500aae886 | [
"BSD-3-Clause"
] | null | null | null | oss_src/fault/sockets/socket_config.cpp | parquette/ParFrame | 0522aa6afdf529b3e91505b70e918f1500aae886 | [
"BSD-3-Clause"
] | null | null | null | /**
* Copyright (C) 2015 Dato, Inc.
* All rights reserved.
*
* This software may be modified and distributed under the terms
* of the BSD license. See the LICENSE file for details.
*/
#include <cassert>
#include <sstream>
#include <zmq.h>
#include <boost/algorithm/string.hpp>
#include <boost/integer_traits.hpp>
#... | 29.67619 | 79 | 0.635109 | parquette |
e75181db165b04e22d9f3aa8945658cbef7c505b | 666 | cc | C++ | Simplicial.cc | JoeyEremondi/treewidth-memoization | 5cd6be9e05bba189d14409f28c37805948ef11b3 | [
"BSD-3-Clause"
] | 1 | 2015-07-25T15:09:11.000Z | 2015-07-25T15:09:11.000Z | Simplicial.cc | JoeyEremondi/treewidth-memoization | 5cd6be9e05bba189d14409f28c37805948ef11b3 | [
"BSD-3-Clause"
] | 1 | 2015-09-19T00:44:24.000Z | 2015-09-21T16:47:12.000Z | Simplicial.cc | JoeyEremondi/treewidth-memoization | 5cd6be9e05bba189d14409f28c37805948ef11b3 | [
"BSD-3-Clause"
] | null | null | null | #include "Simplicial.hh"
//TODO put this in its own file
bool isSimplicial(const Graph& G, Vertex v, const VSet& SStart)
{
//std::vector<Vertex> neighbours;
auto neighbPair = boost::adjacent_vertices(v, G);
VSet neighbSet;
//Create our neighbour set
for (auto n = neighbPair.first; n != neighbPair.second; ++n)
... | 20.8125 | 63 | 0.642643 | JoeyEremondi |
e7532ee53cb66ae22cf12e0560f093b26e2e1e7a | 4,539 | hpp | C++ | src/lib/auxillary/parsers/TokenizerTools.hpp | Lut99/Rasterizer | 453864506db749a93fb82fb17cc5ee88cc4ada01 | [
"MIT"
] | 1 | 2021-08-15T19:20:14.000Z | 2021-08-15T19:20:14.000Z | src/lib/auxillary/parsers/TokenizerTools.hpp | Lut99/Rasterizer | 453864506db749a93fb82fb17cc5ee88cc4ada01 | [
"MIT"
] | 17 | 2021-06-05T12:37:04.000Z | 2021-10-01T10:20:09.000Z | src/lib/auxillary/parsers/TokenizerTools.hpp | Lut99/Rasterizer | 453864506db749a93fb82fb17cc5ee88cc4ada01 | [
"MIT"
] | null | null | null | /* TOKENIZER TOOLS.hpp
* by Lut99
*
* Created:
* 07/08/2021, 21:36:19
* Last edited:
* 07/08/2021, 21:42:55
* Auto updated?
* Yes
*
* Description:
* Contains common macros and functions for Tokenizers.
**/
#ifndef AUXILLARY_TOKENIZER_TOOLS_HPP
#define AUXILLARY_TOKENIZER_TOOLS_HPP
#include <cstdi... | 32.654676 | 169 | 0.617537 | Lut99 |
e7560bc833681dbe6506aca954a78aa7086feab1 | 33,223 | cpp | C++ | DiscImageCreator/execScsiCmd.cpp | Pandoriaantje/DiscImageCreator | 25a3e101e4c03ebbbd87dd19f79062b95582f28c | [
"Apache-2.0"
] | null | null | null | DiscImageCreator/execScsiCmd.cpp | Pandoriaantje/DiscImageCreator | 25a3e101e4c03ebbbd87dd19f79062b95582f28c | [
"Apache-2.0"
] | null | null | null | DiscImageCreator/execScsiCmd.cpp | Pandoriaantje/DiscImageCreator | 25a3e101e4c03ebbbd87dd19f79062b95582f28c | [
"Apache-2.0"
] | null | null | null | /**
* Copyright 2011-2018 sarami
*
* 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 ... | 30.819109 | 115 | 0.693586 | Pandoriaantje |
e7566a73a76ed2e98af5fa94a4bafa7b2225aab7 | 268 | cpp | C++ | 6Shots-V2/6Shots.cpp | chrisdepas/6Shots | 2b339b1a367e3421d502e7815548d0b13ea3e32c | [
"CC0-1.0"
] | 1 | 2022-01-06T22:49:28.000Z | 2022-01-06T22:49:28.000Z | 6Shots-V2/6Shots.cpp | chrisdepas/6Shots-Game | 2b339b1a367e3421d502e7815548d0b13ea3e32c | [
"CC0-1.0"
] | null | null | null | 6Shots-V2/6Shots.cpp | chrisdepas/6Shots-Game | 2b339b1a367e3421d502e7815548d0b13ea3e32c | [
"CC0-1.0"
] | null | null | null | #include "stdafx.h"
#include "CGame.h"
int _tmain(int argc, _TCHAR* argv[])
{
CGame game;
game.Initialise();
while (!game.ShouldQuit()) {
game.Step();
game.Draw();
game.HandleInput();
}
CDebugLogger::LogDebug("Quitting");
return 0;
}
| 14.105263 | 37 | 0.600746 | chrisdepas |
e75c12b8e744c777f35c5ccc35fd09ed545b7f0c | 6,072 | cc | C++ | mediapipe/calculators/signn/hand_gate_calculator.cc | JohnK-mi/SigNN | 0805a0f788faa362568f32ba52be259e436eff64 | [
"Apache-2.0"
] | 47 | 2019-12-29T02:52:48.000Z | 2022-02-21T08:39:14.000Z | mediapipe/calculators/signn/hand_gate_calculator.cc | JohnK-mi/SigNN | 0805a0f788faa362568f32ba52be259e436eff64 | [
"Apache-2.0"
] | null | null | null | mediapipe/calculators/signn/hand_gate_calculator.cc | JohnK-mi/SigNN | 0805a0f788faa362568f32ba52be259e436eff64 | [
"Apache-2.0"
] | 16 | 2020-07-21T06:28:25.000Z | 2022-02-02T13:40:36.000Z | #include "mediapipe/framework/calculator_framework.h"
#include "mediapipe/framework/formats/landmark.pb.h"
#include "mediapipe/calculators/signn/timed_queue.h"
#include "mediapipe/calculators/signn/hand_gate_calculator.pb.h"
namespace mediapipe{
namespace{
constexpr char NormalizedLandmarks[] = "LANDMARK... | 36.578313 | 133 | 0.592885 | JohnK-mi |
e760fc9c7389d580a5cf2fdebf153445534df340 | 25,147 | cpp | C++ | YorozuyaGSLib/source/GUILD_BATTLE__CGuildBattleReservedScheduleMapGroupDetail.cpp | lemkova/Yorozuya | f445d800078d9aba5de28f122cedfa03f26a38e4 | [
"MIT"
] | 29 | 2017-07-01T23:08:31.000Z | 2022-02-19T10:22:45.000Z | YorozuyaGSLib/source/GUILD_BATTLE__CGuildBattleReservedScheduleMapGroupDetail.cpp | kotopes/Yorozuya | 605c97d3a627a8f6545cc09f2a1b0a8afdedd33a | [
"MIT"
] | 90 | 2017-10-18T21:24:51.000Z | 2019-06-06T02:30:33.000Z | YorozuyaGSLib/source/GUILD_BATTLE__CGuildBattleReservedScheduleMapGroupDetail.cpp | kotopes/Yorozuya | 605c97d3a627a8f6545cc09f2a1b0a8afdedd33a | [
"MIT"
] | 44 | 2017-12-19T08:02:59.000Z | 2022-02-24T23:15:01.000Z | #include <GUILD_BATTLE__CGuildBattleReservedScheduleMapGroupDetail.hpp>
#include <common/ATFCore.hpp>
START_ATF_NAMESPACE
namespace GUILD_BATTLE
{
namespace Detail
{
Info::GUILD_BATTLE__CGuildBattleReservedScheduleMapGroupAdd2_ptr GUILD_BATTLE__CGuildBattleReservedScheduleMapGroupA... | 92.113553 | 308 | 0.765936 | lemkova |
e76653c8f5d6cd3c3f5b44d835ba8959c571c457 | 1,053 | cc | C++ | 2203/lab1/window5.cc | rmwhitaker23/schoolwork | e38822fb96bb1e2ac36b0861ffe1d6f6d9280b12 | [
"MIT"
] | null | null | null | 2203/lab1/window5.cc | rmwhitaker23/schoolwork | e38822fb96bb1e2ac36b0861ffe1d6f6d9280b12 | [
"MIT"
] | null | null | null | 2203/lab1/window5.cc | rmwhitaker23/schoolwork | e38822fb96bb1e2ac36b0861ffe1d6f6d9280b12 | [
"MIT"
] | null | null | null | /*
window5.cc -- Program to create 9 windows using a subroutine
Author: Larry Morell
Modification History
Date Action
09/10/18 -- Original version
ID code: 5AYVK3r3f.ARA
*/
using namespace std;
#include <iostream>
#include <iomanip>
#include <string>
#include <ncurses.h>
WINDOW* createWin... | 25.071429 | 64 | 0.60114 | rmwhitaker23 |
e76f4016598e9d6223664433b1c5fbdf5beebe2b | 302 | cpp | C++ | snake3d/wyPlatform_QT.cpp | wysaid/snake3d | 54e167c3b1f73a3c9890f8f0e0678ec68e2ffd0c | [
"MIT"
] | null | null | null | snake3d/wyPlatform_QT.cpp | wysaid/snake3d | 54e167c3b1f73a3c9890f8f0e0678ec68e2ffd0c | [
"MIT"
] | null | null | null | snake3d/wyPlatform_QT.cpp | wysaid/snake3d | 54e167c3b1f73a3c9890f8f0e0678ec68e2ffd0c | [
"MIT"
] | 1 | 2019-09-24T02:05:49.000Z | 2019-09-24T02:05:49.000Z | /*
* htPlatforms.h
*
* Created on: 2014-6-8
* Author: Wang Yang
* Description: be compatible with none-angle qt versions.
*/
#include "wyPlatform_QT.h"
#if !defined(QT_OPENGL_ES_2) && !defined(Q_OS_MAC)
namespace snake3D_OpenGLFunctions
{
QGLFunctions* g_glFunctions = NULL;
}
#endif
| 15.894737 | 59 | 0.701987 | wysaid |
e770d5da48379ead45d68b4ff260678589793cc8 | 2,205 | cpp | C++ | src/mtx2bin.cpp | emfomy/mcnla | 9f9717f4d6449bbd467c186651856d6212035667 | [
"MIT"
] | null | null | null | src/mtx2bin.cpp | emfomy/mcnla | 9f9717f4d6449bbd467c186651856d6212035667 | [
"MIT"
] | null | null | null | src/mtx2bin.cpp | emfomy/mcnla | 9f9717f4d6449bbd467c186651856d6212035667 | [
"MIT"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// @file src/mtx2bin.cpp
/// @brief The driver for converting Matrix Market file to binary file.
///
/// @author Mu Yang <<emfomy@gmail.com>>
///
#include <iostream>
#include <mcnla.h... | 38.684211 | 128 | 0.388209 | emfomy |
e773db8823e26502f2368f8818064604b1eeb00f | 3,294 | cpp | C++ | sandbox/rendering/render_system.cpp | KabelitzJ/sandbox | fe870387e634e101a63398409966c61088e1384b | [
"MIT"
] | null | null | null | sandbox/rendering/render_system.cpp | KabelitzJ/sandbox | fe870387e634e101a63398409966c61088e1384b | [
"MIT"
] | null | null | null | sandbox/rendering/render_system.cpp | KabelitzJ/sandbox | fe870387e634e101a63398409966c61088e1384b | [
"MIT"
] | null | null | null | #include "render_system.hpp"
#include <array>
#include <algorithm>
#include <glad/glad.h>
#include <core/events.hpp>
#include <core/camera.hpp>
#include <core/logger.hpp>
#include <types/vector.hpp>
#include <types/matrix.hpp>
#include <types/transform.hpp>
#include <types/gl.hpp>
#include "mesh.hpp"
#include "mod... | 27.45 | 137 | 0.728901 | KabelitzJ |
e77678022bab9b0c077ba14003ff0b62e30fc71c | 1,761 | cpp | C++ | src/ArduinoOcpp/MessagesV16/UpdateFirmware.cpp | jjuntang/ocpp_client_nodemcu | ab0c751fdf0c2c75c30e8b95804f7d94b63ab222 | [
"MIT"
] | 54 | 2021-04-07T16:28:51.000Z | 2022-03-27T16:50:46.000Z | src/ArduinoOcpp/MessagesV16/UpdateFirmware.cpp | jjuntang/ocpp_client_nodemcu | ab0c751fdf0c2c75c30e8b95804f7d94b63ab222 | [
"MIT"
] | 47 | 2021-05-02T01:03:51.000Z | 2022-03-29T09:57:46.000Z | src/ArduinoOcpp/MessagesV16/UpdateFirmware.cpp | jjuntang/ocpp_client_nodemcu | ab0c751fdf0c2c75c30e8b95804f7d94b63ab222 | [
"MIT"
] | 34 | 2021-04-01T15:27:22.000Z | 2022-03-23T11:18:47.000Z | // matth-x/ArduinoOcpp
// Copyright Matthias Akstaller 2019 - 2021
// MIT License
#include <ArduinoOcpp/MessagesV16/UpdateFirmware.h>
#include <ArduinoOcpp/Core/OcppEngine.h>
using ArduinoOcpp::Ocpp16::UpdateFirmware;
UpdateFirmware::UpdateFirmware() {
}
void UpdateFirmware::processReq(JsonObject payload) {
/*... | 33.226415 | 155 | 0.690517 | jjuntang |
e77942adbbfc92206a6ac131452f78e99c4fb34b | 34,749 | cpp | C++ | src/QMCDrivers/Optimizers/DescentEngine.cpp | kryczko/qmcpack | 92f4885eac810b5aa7bece4b30a03395d74f5598 | [
"NCSA"
] | null | null | null | src/QMCDrivers/Optimizers/DescentEngine.cpp | kryczko/qmcpack | 92f4885eac810b5aa7bece4b30a03395d74f5598 | [
"NCSA"
] | null | null | null | src/QMCDrivers/Optimizers/DescentEngine.cpp | kryczko/qmcpack | 92f4885eac810b5aa7bece4b30a03395d74f5598 | [
"NCSA"
] | null | null | null | //////////////////////////////////////////////////////////////////////////////////////
// This file is distributed under the University of Illinois/NCSA Open Source
// License.
// See LICENSE file in top directory for details.
//
// Copyright (c) 2019 QMCPACK developers.
//
// File developed by: Leon Otis, leon_otis@be... | 35.713258 | 119 | 0.620968 | kryczko |
e780c937acd23ffc94b24599e53d7108c2dfd7b1 | 6,346 | cpp | C++ | test/enumerate_groups_test.cpp | peterboncz/bloomfilter-bsd | bae83545a091555e48b5495669c7adcb99fd2047 | [
"Apache-2.0",
"BSD-3-Clause"
] | 15 | 2018-08-26T15:31:49.000Z | 2022-01-28T06:28:33.000Z | test/enumerate_groups_test.cpp | peterboncz/bloomfilter-bsd | bae83545a091555e48b5495669c7adcb99fd2047 | [
"Apache-2.0",
"BSD-3-Clause"
] | 1 | 2019-12-20T22:56:22.000Z | 2019-12-20T22:56:22.000Z | test/enumerate_groups_test.cpp | peterboncz/bloomfilter-bsd | bae83545a091555e48b5495669c7adcb99fd2047 | [
"Apache-2.0",
"BSD-3-Clause"
] | 8 | 2018-10-02T09:15:29.000Z | 2021-12-29T15:45:42.000Z | #include "gtest/gtest.h"
#include <bitset>
// --- helper ---
inline uint32_t
lz_cnt_u16(const uint16_t a) {
return a ? __builtin_clz(static_cast<uint32_t>(a)) - 16 : 0;
}
inline uint32_t
tz_cnt_u16(const uint16_t a) {
return a ? __builtin_ctz(static_cast<uint32_t>(a)) : 0;
}
std::string
to_string_u32(const __m51... | 37.111111 | 99 | 0.696974 | peterboncz |
e7810762425b81bb34617b8bdf154ef67373f5de | 2,413 | cpp | C++ | _studio/mfx_lib/vpp/src/mfx_denoise_vpp.cpp | walter-bai/oneVPL-intel-gpu | e139c5060ac5b0ab8b4be0025922688a3db9b082 | [
"MIT"
] | null | null | null | _studio/mfx_lib/vpp/src/mfx_denoise_vpp.cpp | walter-bai/oneVPL-intel-gpu | e139c5060ac5b0ab8b4be0025922688a3db9b082 | [
"MIT"
] | null | null | null | _studio/mfx_lib/vpp/src/mfx_denoise_vpp.cpp | walter-bai/oneVPL-intel-gpu | e139c5060ac5b0ab8b4be0025922688a3db9b082 | [
"MIT"
] | null | null | null | // Copyright (c) 2008-2020 Intel Corporation
//
// 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,... | 33.985915 | 81 | 0.678409 | walter-bai |
e7814fa1384d45b8376f4ea040e697c8386e8ffe | 23,531 | cpp | C++ | Pinball/ModulePhysics.cpp | eriik1212/Pinball-Xpress | e8fd6857b67df68ac17de8f5bf154dc1fc213098 | [
"MIT"
] | null | null | null | Pinball/ModulePhysics.cpp | eriik1212/Pinball-Xpress | e8fd6857b67df68ac17de8f5bf154dc1fc213098 | [
"MIT"
] | null | null | null | Pinball/ModulePhysics.cpp | eriik1212/Pinball-Xpress | e8fd6857b67df68ac17de8f5bf154dc1fc213098 | [
"MIT"
] | null | null | null | #include "Globals.h"
#include "Application.h"
#include "ModuleInput.h"
#include "ModuleRender.h"
#include "ModulePhysics.h"
#include "p2Point.h"
#include "math.h"
#include "ModuleSceneIntro.h"
#include "ModulePlayer.h"
#include "ModuleAudio.h"
#ifdef _DEBUG
#pragma comment( lib, "Box2D/libx86/Debug/Box2D... | 30.245501 | 194 | 0.670307 | eriik1212 |
e78841fbc23cff52fccb4447fdf5b2a669764484 | 12,076 | cpp | C++ | Game/ModuleTextures.cpp | ArmisJoe/3dEngine | ea69f8cd2f091a96350f16e7dbf679d82e44a57c | [
"MIT"
] | null | null | null | Game/ModuleTextures.cpp | ArmisJoe/3dEngine | ea69f8cd2f091a96350f16e7dbf679d82e44a57c | [
"MIT"
] | 2 | 2017-11-09T10:56:15.000Z | 2017-11-16T17:52:01.000Z | Game/ModuleTextures.cpp | ArmisJoe/3dEngine | ea69f8cd2f091a96350f16e7dbf679d82e44a57c | [
"MIT"
] | null | null | null | #include "ModuleTextures.h"
#include "ModuleAssimp.h"
#include "Application.h"
#include "glew-2.1.0\include\GL\glew.h"
#include "HelperFoos.h"
#include "Devil\include\il.h"
#include "Devil\include\ilu.h"
#include "Devil\include\ilut.h"
#pragma comment (lib, "Devil/libx86/DevIL.lib")
#pragma comment (lib, "Devil/l... | 24.103792 | 138 | 0.696091 | ArmisJoe |
e78f9b212b5240867e70210d005d0b9e4a74e695 | 20,901 | cpp | C++ | Plugins/org.mitk.gui.qt.cmdlinemodules/src/internal/QmitkCmdLineModuleRunner.cpp | zhaomengxiao/MITK | a09fd849a4328276806008bfa92487f83a9e2437 | [
"BSD-3-Clause"
] | 1 | 2022-03-03T12:03:32.000Z | 2022-03-03T12:03:32.000Z | Plugins/org.mitk.gui.qt.cmdlinemodules/src/internal/QmitkCmdLineModuleRunner.cpp | zhaomengxiao/MITK | a09fd849a4328276806008bfa92487f83a9e2437 | [
"BSD-3-Clause"
] | 1 | 2021-12-22T10:19:02.000Z | 2021-12-22T10:19:02.000Z | Plugins/org.mitk.gui.qt.cmdlinemodules/src/internal/QmitkCmdLineModuleRunner.cpp | zhaomengxiao/MITK_lancet | a09fd849a4328276806008bfa92487f83a9e2437 | [
"BSD-3-Clause"
] | 1 | 2020-11-27T09:41:18.000Z | 2020-11-27T09:41:18.000Z | /*============================================================================
The Medical Imaging Interaction Toolkit (MITK)
Copyright (c) German Cancer Research Center (DKFZ)
All rights reserved.
Use of this source code is governed by a 3-clause BSD license that can be
found in the LICENSE file.
=================... | 31.382883 | 168 | 0.632553 | zhaomengxiao |
e791f018bae3ac15d009e1c0f367359d35dc19d4 | 256 | hpp | C++ | Complejidad computacional/strassen.hpp | TomasFdez5/Algoritmica | 91c494841537de8b6bf5a14dec723e2bc5ff9519 | [
"MIT"
] | null | null | null | Complejidad computacional/strassen.hpp | TomasFdez5/Algoritmica | 91c494841537de8b6bf5a14dec723e2bc5ff9519 | [
"MIT"
] | null | null | null | Complejidad computacional/strassen.hpp | TomasFdez5/Algoritmica | 91c494841537de8b6bf5a14dec723e2bc5ff9519 | [
"MIT"
] | null | null | null | #ifndef STRASSEN_H
#define STRASSEN_H
#include <iostream>
#include <vector>
using namespace std;
void strassen(vector< vector<double> > &A,
vector< vector<double> > &B,
vector< vector<double> > &C, unsigned int tam);
#endif | 21.333333 | 61 | 0.644531 | TomasFdez5 |
e79304b65e9b3934cbfd976f54cc912fdc37578a | 6,341 | hh | C++ | click/elements/local/igmp/constants.hh | BasilRommens/IGMPv3-click | cb5d63192f0c0344d35dab35d928835c7c6f370f | [
"MIT"
] | null | null | null | click/elements/local/igmp/constants.hh | BasilRommens/IGMPv3-click | cb5d63192f0c0344d35dab35d928835c7c6f370f | [
"MIT"
] | null | null | null | click/elements/local/igmp/constants.hh | BasilRommens/IGMPv3-click | cb5d63192f0c0344d35dab35d928835c7c6f370f | [
"MIT"
] | null | null | null | #ifndef CLICK_Constants_HH
#define CLICK_Constants_HH
namespace Constants {
// RFC3376, 4.2.12
extern int MODE_IS_INCLUDE;
extern int MODE_IS_EXCLUDE;
extern int CHANGE_TO_INCLUDE_MODE;
extern int CHANGE_TO_EXCLUDE_MODE;
extern int REPORT_TYPE;
extern int QUERY_TYPE;
}
namespace Defaults ... | 39.63125 | 76 | 0.68822 | BasilRommens |
e7960215522f19ada71c08747d5a5db265395187 | 445 | hpp | C++ | model/SimpleLake.hpp | Laetus/masterThesis | 5646f6e3aa1bd924e629bb56253712aa7afdd124 | [
"Apache-2.0"
] | 8 | 2016-11-28T15:01:52.000Z | 2022-03-26T01:48:01.000Z | model/SimpleLake.hpp | Laetus/masterThesis | 5646f6e3aa1bd924e629bb56253712aa7afdd124 | [
"Apache-2.0"
] | null | null | null | model/SimpleLake.hpp | Laetus/masterThesis | 5646f6e3aa1bd924e629bb56253712aa7afdd124 | [
"Apache-2.0"
] | 9 | 2016-07-30T03:28:41.000Z | 2021-04-16T05:56:37.000Z | /*
* SimpleLake.hpp
*
* Created on: Nov 24, 2015
* Author: laetus
*/
#ifndef SIMPLELAKE_HPP_
#define SIMPLELAKE_HPP_
#include "HydroModel.hpp"
class SimpleLake : public HydroModel {
public:
SimpleLake(int nTimesteps, int horizon,int t_f);
virtual Matrix<double> waterMass();
virtual casadi::MX getf(i... | 13.484848 | 49 | 0.701124 | Laetus |
e797e6acf453b5dc104daabda60900ba63a1a0f4 | 10,773 | cpp | C++ | Tudat/Astrodynamics/MissionSegments/multiRevolutionLambertTargeterIzzo.cpp | J-Westin/tudat | 82ebe9e6e2dd51d0688b77960e62e980e6b8bcb8 | [
"BSD-3-Clause"
] | null | null | null | Tudat/Astrodynamics/MissionSegments/multiRevolutionLambertTargeterIzzo.cpp | J-Westin/tudat | 82ebe9e6e2dd51d0688b77960e62e980e6b8bcb8 | [
"BSD-3-Clause"
] | null | null | null | Tudat/Astrodynamics/MissionSegments/multiRevolutionLambertTargeterIzzo.cpp | J-Westin/tudat | 82ebe9e6e2dd51d0688b77960e62e980e6b8bcb8 | [
"BSD-3-Clause"
] | null | null | null | /* Copyright (c) 2010-2018, Delft University of Technology
* All rigths reserved
*
* This file is part of the Tudat. Redistribution and use in source and
* binary forms, with or without modification, are permitted exclusively
* under the terms of the Modified BSD license. You should have received
*... | 37.020619 | 150 | 0.615242 | J-Westin |
e7995d63dea080d555ed2ac4ab0f4b2ba6c9749d | 695 | cc | C++ | cpp_src/core/selectfunc/functionexecutor.cc | sapariduo/reindexer | 17e808a7762b7c98c2636aa5dbb644b17e69ebfa | [
"Apache-2.0"
] | null | null | null | cpp_src/core/selectfunc/functionexecutor.cc | sapariduo/reindexer | 17e808a7762b7c98c2636aa5dbb644b17e69ebfa | [
"Apache-2.0"
] | null | null | null | cpp_src/core/selectfunc/functionexecutor.cc | sapariduo/reindexer | 17e808a7762b7c98c2636aa5dbb644b17e69ebfa | [
"Apache-2.0"
] | null | null | null | #include "functionexecutor.h"
#include "core/namespace.h"
#include "core/selectfunc/selectfuncparser.h"
#include "tools/timetools.h"
namespace reindexer {
FunctionExecutor::FunctionExecutor(Namespace& ns) : ns_(ns) {}
Variant FunctionExecutor::Execute(SelectFuncStruct& funcData) {
if (funcData.funcName == "now") {
... | 27.8 | 73 | 0.713669 | sapariduo |
e79bd4c27a001676ba4718187be59a293b32e9fa | 599 | cpp | C++ | src/items/item_visitors/ItemRemover.cpp | MiKlTA/Lust_The_Game | aabe4a951ffd7305526466d378ba8b6769c555e8 | [
"MIT"
] | null | null | null | src/items/item_visitors/ItemRemover.cpp | MiKlTA/Lust_The_Game | aabe4a951ffd7305526466d378ba8b6769c555e8 | [
"MIT"
] | null | null | null | src/items/item_visitors/ItemRemover.cpp | MiKlTA/Lust_The_Game | aabe4a951ffd7305526466d378ba8b6769c555e8 | [
"MIT"
] | null | null | null | #include "../../auxiliary_tools/remove.h"
#include "ItemRemover.h"
namespace lust {
ItemRemover::ItemRemover(
std::list<Module *> *modules,
std::list<Shield *> *shields,
std::list<Weapon *> *weapons
)
: m_modules(modules),
m_shields(shields),
m_weapons(weapons)
{
... | 14.261905 | 51 | 0.639399 | MiKlTA |
e79e5192dbd40411f657c645d84b967c75c854af | 579 | cpp | C++ | AppCUI/src/Application/CommandBar.cpp | agschipor/AppCUI | 914e101470bee2c85c32b64e4714fd85f4899486 | [
"MIT"
] | null | null | null | AppCUI/src/Application/CommandBar.cpp | agschipor/AppCUI | 914e101470bee2c85c32b64e4714fd85f4899486 | [
"MIT"
] | null | null | null | AppCUI/src/Application/CommandBar.cpp | agschipor/AppCUI | 914e101470bee2c85c32b64e4714fd85f4899486 | [
"MIT"
] | null | null | null | #include "AppCUI.h"
#include "Internal.h"
using namespace AppCUI::Application;
CommandBar::CommandBar()
{
this->Controller = nullptr;
}
void CommandBar::Init(void * _controller)
{
if ((this->Controller == nullptr) && (_controller != nullptr))
this->Controller = _controller;
}
bool CommandBar::SetComma... | 30.473684 | 102 | 0.713299 | agschipor |
e7a251289cc0abb82ea9a115e0a24283eab90cb2 | 480 | hpp | C++ | src/jellyfish/Renderer.hpp | FelipeEd/Jellyfish3D | 448ca5462fdab2a28677c7f4d05d2e733267da6f | [
"Apache-2.0"
] | null | null | null | src/jellyfish/Renderer.hpp | FelipeEd/Jellyfish3D | 448ca5462fdab2a28677c7f4d05d2e733267da6f | [
"Apache-2.0"
] | null | null | null | src/jellyfish/Renderer.hpp | FelipeEd/Jellyfish3D | 448ca5462fdab2a28677c7f4d05d2e733267da6f | [
"Apache-2.0"
] | null | null | null | #pragma once
class Renderer
{
private:
Skybox skybox;
bool wireframeMode = false;
bool toggleSkybox = true;
void drawObjects(Scene &scene, App &app);
void drawLights(Scene &scene, App &app);
void drawSkybox(Scene &scene, App &app);
public:
Shader m_objectShader;
Shader m_lightShader;
... | 19.2 | 45 | 0.664583 | FelipeEd |
e7a712751021371eee216a99ede417926782db12 | 8,326 | cc | C++ | modules/bitrate_controller/bitrate_controller_impl.cc | aleonliao/webrtc-3.31 | a282cc166883aea82a8149d64e82ca29aa9f27f1 | [
"DOC",
"BSD-3-Clause"
] | 4 | 2016-09-29T00:04:31.000Z | 2021-12-02T08:39:51.000Z | modules/bitrate_controller/bitrate_controller_impl.cc | aleonliao/webrtc-3.31 | a282cc166883aea82a8149d64e82ca29aa9f27f1 | [
"DOC",
"BSD-3-Clause"
] | null | null | null | modules/bitrate_controller/bitrate_controller_impl.cc | aleonliao/webrtc-3.31 | a282cc166883aea82a8149d64e82ca29aa9f27f1 | [
"DOC",
"BSD-3-Clause"
] | 3 | 2015-07-29T07:17:15.000Z | 2020-11-04T06:55:37.000Z | /*
* Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | 35.887931 | 80 | 0.691448 | aleonliao |
e7aabaa4262daa19b2989ee9dd59d46b0079627c | 419 | cpp | C++ | vnproglib-1.1.5.0/cpp/src/benchmark.cpp | jfinken/vectornav | bf6ed1a6e293e6af58311843921de6a53bdfbf30 | [
"Unlicense",
"MIT"
] | 84 | 2015-08-28T14:46:30.000Z | 2022-03-09T07:26:15.000Z | vnproglib-1.1.5.0/cpp/src/benchmark.cpp | jfinken/vectornav | bf6ed1a6e293e6af58311843921de6a53bdfbf30 | [
"Unlicense",
"MIT"
] | 85 | 2020-10-05T11:44:46.000Z | 2021-09-08T14:31:07.000Z | vnproglib-1.1.5.0/cpp/src/benchmark.cpp | jfinken/vectornav | bf6ed1a6e293e6af58311843921de6a53bdfbf30 | [
"Unlicense",
"MIT"
] | 116 | 2015-03-07T17:21:04.000Z | 2022-03-23T16:45:53.000Z | #ifdef _win32
#include <Windows.h>
#include <tchar.h>
#endif
#include <stdio.h>
#include <iostream>
#include "hayai_main.hpp"
int main(int argc, char* argv[])
{
// Set up the main runner.
::hayai::MainRunner runner;
// Parse the arguments.
int result = runner.ParseArgs(argc, argv);
if (resul... | 15.518519 | 44 | 0.634845 | jfinken |
e7b0b04ae0bf099e6a2c785c3cf12cb88725c74a | 610 | cpp | C++ | system/system.cpp | onyazuka/Simple-system-monitor | 271619017c4e80812a256ac463797571855a92d1 | [
"MIT"
] | 3 | 2019-10-12T11:24:39.000Z | 2022-02-07T20:31:20.000Z | system/system.cpp | onyazuka/Simple-system-monitor | 271619017c4e80812a256ac463797571855a92d1 | [
"MIT"
] | 2 | 2020-07-02T17:30:31.000Z | 2022-02-11T23:57:15.000Z | system/system.cpp | onyazuka/Simple-system-monitor | 271619017c4e80812a256ac463797571855a92d1 | [
"MIT"
] | null | null | null | #include "system.hpp"
#ifdef __linux__
/*
returns true on success, false on failure
*/
bool LinuxSystem::terminateProcess(PID pid)
{
int err = kill(pid, SIGTERM);
if(err)
{
return false;
}
return true;
}
/*
returns true on success, false on failure
*/
bool LinuxSystem::killProcess... | 14.52381 | 51 | 0.631148 | onyazuka |
e7b31c43cff6c31208df3c78162e1d02b4e911d6 | 1,485 | cpp | C++ | Hackerrank/implementation/thegridsearch.cpp | pandrei/CPP-practice | fefa16b47757c3c5f26550cefab2071bab154059 | [
"MIT"
] | null | null | null | Hackerrank/implementation/thegridsearch.cpp | pandrei/CPP-practice | fefa16b47757c3c5f26550cefab2071bab154059 | [
"MIT"
] | null | null | null | Hackerrank/implementation/thegridsearch.cpp | pandrei/CPP-practice | fefa16b47757c3c5f26550cefab2071bab154059 | [
"MIT"
] | null | null | null | #include <cmath>
#include <cstdio>
#include <vector>
#include <iostream>
#include <algorithm>
using namespace std;
/* problem found at https://www.hackerrank.com/challenges/the-grid-search */
void PatternMatchMatrix( vector<string> G, vector<string> P, int R, int C, int r, int c) {
int endRow = R - r;
bool found = tr... | 23.571429 | 90 | 0.377104 | pandrei |
e7b44626ca0384048b5033d56558674426453d29 | 650 | cc | C++ | facebook_interview_practice/HackerRank/Inserting_a_Node_Into_a_Sorted_Doubly_Linked_List/solve.cc | ldy121/algorithm | 7939cb4c15e2bc655219c934f00c2bb74ddb4eec | [
"Apache-2.0"
] | 1 | 2020-04-11T22:04:23.000Z | 2020-04-11T22:04:23.000Z | facebook_interview_practice/HackerRank/Inserting_a_Node_Into_a_Sorted_Doubly_Linked_List/solve.cc | ldy121/algorithm | 7939cb4c15e2bc655219c934f00c2bb74ddb4eec | [
"Apache-2.0"
] | null | null | null | facebook_interview_practice/HackerRank/Inserting_a_Node_Into_a_Sorted_Doubly_Linked_List/solve.cc | ldy121/algorithm | 7939cb4c15e2bc655219c934f00c2bb74ddb4eec | [
"Apache-2.0"
] | null | null | null | /*
* For your reference:
*
* DoublyLinkedListNode {
* int data;
* DoublyLinkedListNode* next;
* DoublyLinkedListNode* prev;
* };
*
*/
DoublyLinkedListNode* sortedInsert(DoublyLinkedListNode* head, int data) {
DoublyLinkedListNode *prev, *node;
DoublyLinkedListNode * nd = new DoublyLinkedLis... | 20.967742 | 105 | 0.572308 | ldy121 |
e7b73c9a73566238073e7a33b7f937bceb49e3fa | 798 | cpp | C++ | GLES3Renderer/GLES3Renderer/GfxUniformVec2.cpp | LiangYue1981816/CrossEngine-GLES3Renderer | 8d092307c22164895c4f92395ef291c87f2811e6 | [
"Apache-2.0"
] | null | null | null | GLES3Renderer/GLES3Renderer/GfxUniformVec2.cpp | LiangYue1981816/CrossEngine-GLES3Renderer | 8d092307c22164895c4f92395ef291c87f2811e6 | [
"Apache-2.0"
] | null | null | null | GLES3Renderer/GLES3Renderer/GfxUniformVec2.cpp | LiangYue1981816/CrossEngine-GLES3Renderer | 8d092307c22164895c4f92395ef291c87f2811e6 | [
"Apache-2.0"
] | 1 | 2020-09-17T12:24:42.000Z | 2020-09-17T12:24:42.000Z | #include "stdio.h"
#include "stdlib.h"
#include "GfxUniformBuffer.h"
#include "GfxUniformVec2.h"
CGfxUniformVec2::CGfxUniformVec2(void)
: m_bDirty(false)
, m_pUniformBuffer(NULL)
{
m_pUniformBuffer = new CGfxUniformBuffer;
m_pUniformBuffer->Create(NULL, sizeof(m_value), true);
}
CGfxUniformVec2::~CGfxUniformVec2... | 18.136364 | 55 | 0.745614 | LiangYue1981816 |
e7c2e56698c88684fa9ff934b39ef01b69125fda | 899 | cpp | C++ | 7. Advanced Recursion/QuickSort.cpp | Vipulhere/DAA_CodingNinjas | 526ff9e5fa87cbc24666c1fb39d4861306d51ab6 | [
"MIT"
] | 2 | 2022-02-06T16:48:37.000Z | 2022-02-17T12:20:09.000Z | 7. Advanced Recursion/QuickSort.cpp | Vipulhere/DAA_CodingNinjas | 526ff9e5fa87cbc24666c1fb39d4861306d51ab6 | [
"MIT"
] | null | null | null | 7. Advanced Recursion/QuickSort.cpp | Vipulhere/DAA_CodingNinjas | 526ff9e5fa87cbc24666c1fb39d4861306d51ab6 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
#define int long long
#define double long double
int partition(vector<int>& a, int left, int right) {
int previousIndex = left - 1;
for(int i = left ; i < right ; ++i) {
if(a[i] < a[right]) {
++previousIndex;
swap(a[i], a[previousIndex]);
}
}
swa... | 19.12766 | 53 | 0.53059 | Vipulhere |
b10ea790cba1bb02540f1f41b5fc111e2e55d12e | 1,185 | cpp | C++ | engine/creatures/source/SatedStatusEffect.cpp | sidav/shadow-of-the-wyrm | 747afdeebed885b1a4f7ab42f04f9f756afd3e52 | [
"MIT"
] | 60 | 2019-08-21T04:08:41.000Z | 2022-03-10T13:48:04.000Z | engine/creatures/source/SatedStatusEffect.cpp | cleancoindev/shadow-of-the-wyrm | 51b23e98285ecb8336324bfd41ebf00f67b30389 | [
"MIT"
] | 3 | 2021-03-18T15:11:14.000Z | 2021-10-20T12:13:07.000Z | engine/creatures/source/SatedStatusEffect.cpp | cleancoindev/shadow-of-the-wyrm | 51b23e98285ecb8336324bfd41ebf00f67b30389 | [
"MIT"
] | 8 | 2019-11-16T06:29:05.000Z | 2022-01-23T17:33:43.000Z | #include "ActionTextKeys.hpp"
#include "SatedStatusEffect.hpp"
#include "StatusAilmentTextKeys.hpp"
#include "StatusTypes.hpp"
using namespace std;
SatedStatusEffect::SatedStatusEffect()
{
}
bool SatedStatusEffect::is_negative() const
{
return false;
}
string SatedStatusEffect::get_player_application_message() co... | 21.545455 | 94 | 0.811814 | sidav |
b10f8079c9e7336104713caccedef9523c3a3441 | 3,354 | hpp | C++ | src/mulitplexed_notification_queue.hpp | sgalkin/notifications-backend | bf995816ecbfc54818f4d6277d4dbb695252cf75 | [
"MIT"
] | 2 | 2017-01-02T02:02:23.000Z | 2021-04-15T09:21:27.000Z | src/mulitplexed_notification_queue.hpp | sgalkin/notifications-backend | bf995816ecbfc54818f4d6277d4dbb695252cf75 | [
"MIT"
] | null | null | null | src/mulitplexed_notification_queue.hpp | sgalkin/notifications-backend | bf995816ecbfc54818f4d6277d4dbb695252cf75 | [
"MIT"
] | null | null | null | #pragma once
#include <folly/io/async/NotificationQueue.h>
#include <folly/io/async/EventBase.h>
#include <folly/io/async/EventBaseManager.h>
#include <glog/logging.h>
#include <unordered_map>
template<typename MessageT>
class MulitplexedNotificationQueue final : public folly::NotificationQueue<MessageT>::Consumer {
... | 33.207921 | 106 | 0.646392 | sgalkin |
b112257a53e4ac4a0b8597515132e463964c6a2d | 6,427 | cc | C++ | nac/core/utils.cc | carlushuang/nnac | 1e2300bc89b818902803562bb8c69e76dc451f03 | [
"BSD-2-Clause"
] | null | null | null | nac/core/utils.cc | carlushuang/nnac | 1e2300bc89b818902803562bb8c69e76dc451f03 | [
"BSD-2-Clause"
] | null | null | null | nac/core/utils.cc | carlushuang/nnac | 1e2300bc89b818902803562bb8c69e76dc451f03 | [
"BSD-2-Clause"
] | null | null | null | #include "utils.h"
#include <math.h>
#include <float.h>
#include <fstream>
namespace nac{
namespace utils{
// blas like gemm from darknet
static inline void gemm_nn(int m, int n, int k, float alpha,
float *a, int lda,
float *b, int ldb,
float *c, int ldc)
{
int _i,_j,_k;
//#pragma ... | 27.702586 | 135 | 0.545822 | carlushuang |
b11319eda717b2f35e71e9d869cd5cc0206e55e4 | 8,385 | cxx | C++ | Modules/Applications/AppSegmentation/app/otbConnectedComponentSegmentation.cxx | yyxgiser/OTB | 2782a5838a55890769cdc6bc3bd900b2e9f6c5cb | [
"Apache-2.0"
] | null | null | null | Modules/Applications/AppSegmentation/app/otbConnectedComponentSegmentation.cxx | yyxgiser/OTB | 2782a5838a55890769cdc6bc3bd900b2e9f6c5cb | [
"Apache-2.0"
] | null | null | null | Modules/Applications/AppSegmentation/app/otbConnectedComponentSegmentation.cxx | yyxgiser/OTB | 2782a5838a55890769cdc6bc3bd900b2e9f6c5cb | [
"Apache-2.0"
] | 1 | 2020-10-15T09:37:30.000Z | 2020-10-15T09:37:30.000Z | /*
* Copyright (C) 2005-2020 Centre National d'Etudes Spatiales (CNES)
*
* This file is part of Orfeo Toolbox
*
* https://www.orfeo-toolbox.org/
*
* 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 ... | 41.716418 | 160 | 0.740608 | yyxgiser |
b11c21a91400ea07db67c569054e228bdc0fed4e | 1,027 | cpp | C++ | src/programs/fork-demo/main.cpp | jbw3/OS | 52026277e20f3f8d504b8094084ba883f1f462df | [
"MIT"
] | 2 | 2018-12-02T05:42:51.000Z | 2020-02-21T14:56:24.000Z | src/programs/fork-demo/main.cpp | jbw3/OS | 52026277e20f3f8d504b8094084ba883f1f462df | [
"MIT"
] | 7 | 2017-06-03T16:14:10.000Z | 2018-06-19T03:00:51.000Z | src/programs/fork-demo/main.cpp | jbw3/OS | 52026277e20f3f8d504b8094084ba883f1f462df | [
"MIT"
] | null | null | null | #include "sched.h"
#include "stddef.h"
#include "stdio.h"
#include "stdlib.h"
#include "string.h"
#include "sys/wait.h"
#include "unistd.h"
const char* NAMES[] = {
"parent",
"child",
"grandchild",
"great-grandchild",
};
void printInfo(int level);
int main()
{
int level = 0;
printInfo(level);
... | 18.339286 | 104 | 0.481986 | jbw3 |
b11ea67f406cbbab6326e40182a814ad13f06257 | 4,560 | hpp | C++ | renderer.hpp | petergerasimov/3D-renderer | 0289968e5d85123e78e1cfffe33947aea56b0a5c | [
"MIT"
] | null | null | null | renderer.hpp | petergerasimov/3D-renderer | 0289968e5d85123e78e1cfffe33947aea56b0a5c | [
"MIT"
] | null | null | null | renderer.hpp | petergerasimov/3D-renderer | 0289968e5d85123e78e1cfffe33947aea56b0a5c | [
"MIT"
] | null | null | null | #ifndef __RENDERER_HPP__
#define __RENDERER_HPP__
#include <cstdint>
#include <functional>
#include <vector>
#include <cmath>
#include <fstream>
#include <iterator>
#include <iostream>
// #include "linalg.hpp"
#include <eigen3/Eigen/Core>
using namespace Eigen;
#define RGB(r, g, b) (((uint32_t)r) << 16) | (((uint32_... | 31.232877 | 95 | 0.571053 | petergerasimov |
b11fc1c51a1b4cb29a8ba3696fde92a538cc8244 | 5,317 | cpp | C++ | AStar/SparseGraph.cpp | miraz12/Projects | ae24a4caa347f74f7ccc36014e8f7b0f801d47db | [
"MIT"
] | null | null | null | AStar/SparseGraph.cpp | miraz12/Projects | ae24a4caa347f74f7ccc36014e8f7b0f801d47db | [
"MIT"
] | null | null | null | AStar/SparseGraph.cpp | miraz12/Projects | ae24a4caa347f74f7ccc36014e8f7b0f801d47db | [
"MIT"
] | null | null | null | #include "SparseGraph.h"
#include <cassert>
#include "flags.h"
#include <math.h>
SparseGraph::SparseGraph() : m_iNextNodeIndex(0)
{
}
SparseGraph::~SparseGraph()
{
}
bool SparseGraph::UniqueEdge(int from, int to)
{
for (std::list<NavEdge>::iterator it = m_Edges[from].begin();
it != m_Edges[from].end();
++it)
... | 23.218341 | 138 | 0.629866 | miraz12 |
b1225ddf836b13f1662c9d312337887433b74e18 | 1,445 | cpp | C++ | checkingAccount/CheckingAccount.cpp | Chanran/c_or_cpp_code | 9f29aec726b32393fdcbe094581c255c189783e7 | [
"MIT"
] | null | null | null | checkingAccount/CheckingAccount.cpp | Chanran/c_or_cpp_code | 9f29aec726b32393fdcbe094581c255c189783e7 | [
"MIT"
] | null | null | null | checkingAccount/CheckingAccount.cpp | Chanran/c_or_cpp_code | 9f29aec726b32393fdcbe094581c255c189783e7 | [
"MIT"
] | null | null | null | //
// Created by blue on 16-12-8.
//
#include "iostream"
#include "sstream"
#include "CheckingAccount.h"
#include "Date.h"
bool CheckingAccount::deposit(int id,double money){
if (id == CheckingAccount::getId()){
CheckingAccount::setBalance(CheckingAccount::getBalance()+money);
return true;
}
... | 30.744681 | 152 | 0.683045 | Chanran |
b12445fcdb96fc63ba8a51609c92601f47605fab | 7,329 | hh | C++ | src/Source/Mapper.hh | appertly/hphpdoc | 2bb855a11588ff2bfa39c3309f0ca81b147cc4f6 | [
"Apache-2.0"
] | 4 | 2016-06-13T15:33:16.000Z | 2018-10-18T18:48:47.000Z | src/Source/Mapper.hh | appertly/hphpdoc | 2bb855a11588ff2bfa39c3309f0ca81b147cc4f6 | [
"Apache-2.0"
] | 2 | 2016-12-23T16:28:23.000Z | 2017-02-26T17:52:53.000Z | src/Source/Mapper.hh | appertly/hphpdoc | 2bb855a11588ff2bfa39c3309f0ca81b147cc4f6 | [
"Apache-2.0"
] | 3 | 2017-02-25T16:57:11.000Z | 2018-10-18T18:49:03.000Z | <?hh // strict
/**
* Hphpdoc
*
* 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 writ... | 30.665272 | 104 | 0.566926 | appertly |
b124e47fb71dd3fff803b257d2d325d3cbe31d5c | 2,667 | ipp | C++ | implement/eglplus/enums/renderable_type_bit_def.ipp | highfidelity/oglplus | c5fb7cc21869cb9555cfa2a7e28ea6bc6491d11e | [
"BSL-1.0"
] | 2 | 2017-06-09T00:28:35.000Z | 2017-06-09T00:28:43.000Z | implement/eglplus/enums/renderable_type_bit_def.ipp | highfidelity/oglplus | c5fb7cc21869cb9555cfa2a7e28ea6bc6491d11e | [
"BSL-1.0"
] | null | null | null | implement/eglplus/enums/renderable_type_bit_def.ipp | highfidelity/oglplus | c5fb7cc21869cb9555cfa2a7e28ea6bc6491d11e | [
"BSL-1.0"
] | 8 | 2017-01-30T22:06:41.000Z | 2020-01-14T17:24:36.000Z | // File implement/eglplus/enums/renderable_type_bit_def.ipp
//
// Automatically generated file, DO NOT modify manually.
// Edit the source 'source/enums/eglplus/renderable_type_bit.txt'
// or the 'source/enums/make_enum.py' script instead.
//
// Copyright 2010-2015 Matus Chochlik.
// Distributed under the Boost S... | 26.67 | 66 | 0.801275 | highfidelity |
b1259e7e8e99ff4f5abdee625f81ff60ea20e555 | 3,262 | hpp | C++ | src/gnb/rrc/task.hpp | aligungr/ue-ran-sim | 564f9d228723f03adfa2b02df2ea019bdf305085 | [
"MIT"
] | 16 | 2020-04-16T02:07:37.000Z | 2020-07-23T10:48:27.000Z | src/gnb/rrc/task.hpp | aligungr/ue-ran-sim | 564f9d228723f03adfa2b02df2ea019bdf305085 | [
"MIT"
] | 8 | 2020-07-13T17:11:35.000Z | 2020-08-03T16:46:31.000Z | src/gnb/rrc/task.hpp | aligungr/ue-ran-sim | 564f9d228723f03adfa2b02df2ea019bdf305085 | [
"MIT"
] | 9 | 2020-03-04T15:05:08.000Z | 2020-07-30T06:18:18.000Z | //
// This file is a part of UERANSIM open source project.
// Copyright (c) 2021 ALİ GÜNGÖR.
//
// The software and all associated files are licensed under GPL-3.0
// and subject to the terms and conditions defined in LICENSE file.
//
#pragma once
#include <memory>
#include <thread>
#include <unordered_map>
#include ... | 28.867257 | 94 | 0.734825 | aligungr |
b125f86f9133cfb60d0d75227d57c8d653a47946 | 3,491 | hpp | C++ | include/ghex/rma/xpmem/handle.hpp | GridTools/GHEX | 1adce924c02cf0553d2ceed69f7dc37e39c7013d | [
"BSD-3-Clause"
] | 9 | 2020-01-30T08:12:40.000Z | 2022-01-17T11:18:07.000Z | include/ghex/rma/xpmem/handle.hpp | ghex-org/GHEX | 6eb91410d5c01d36a70f0eb106c1f065df3cee9f | [
"BSD-3-Clause"
] | 50 | 2019-12-19T13:25:56.000Z | 2021-09-16T13:57:36.000Z | include/ghex/rma/xpmem/handle.hpp | ghex-org/GHEX | 6eb91410d5c01d36a70f0eb106c1f065df3cee9f | [
"BSD-3-Clause"
] | 10 | 2019-12-10T15:31:36.000Z | 2021-07-04T19:31:28.000Z | /*
* GridTools
*
* Copyright (c) 2014-2021, ETH Zurich
* All rights reserved.
*
* Please, refer to the LICENSE file in the root directory.
* SPDX-License-Identifier: BSD-3-Clause
*
*/
#pragma once
#include <ghex/rma/locality.hpp>
#include <cstdint>
#include <stdexcept>
extern "C"
{
#include <xpmem.h>
#in... | 27.062016 | 100 | 0.651103 | GridTools |
b12e951d9edf72a334ca1a7a94f4f2bf25e582f3 | 532 | cpp | C++ | Sesame/src/Sesame/Renderer/VertexArray.cpp | yook00627/Sesame-Engine | 1adf6227afcfc582697203cb9ccf0e2d56c9d5eb | [
"MIT"
] | 3 | 2020-06-06T23:07:55.000Z | 2020-07-31T17:13:29.000Z | Sesame/src/Sesame/Renderer/VertexArray.cpp | yook00627/Sesame-Engine | 1adf6227afcfc582697203cb9ccf0e2d56c9d5eb | [
"MIT"
] | 1 | 2020-08-09T17:43:03.000Z | 2021-03-25T02:22:23.000Z | Sesame/src/Sesame/Renderer/VertexArray.cpp | yook00627/Sesame-Engine | 1adf6227afcfc582697203cb9ccf0e2d56c9d5eb | [
"MIT"
] | null | null | null | #include "ssmpch.h"
#include "VertexArray.h"
#include "Renderer.h"
#include "Platform/OpenGL/OpenGLVertexArray.h"
namespace Sesame {
Ref<VertexArray> VertexArray::Create()
{
switch (Renderer::GetAPI())
{
case RendererAPI::API::None: SSM_CORE_ASSERT(false, "RednererAPI::None is not sup... | 26.6 | 114 | 0.661654 | yook00627 |
b13172eb52346fcf928c249d026eb17ee44adea5 | 1,496 | hpp | C++ | quadruped_ctrl/src/WBC_Ctrl/LocomotionCtrl/LocomotionCtrl.hpp | raess1/mini-cheetah-pybullet | f450703356e7f53117ea774ff7b733513ced0446 | [
"MIT"
] | 25 | 2020-11-20T07:36:35.000Z | 2022-03-22T03:10:24.000Z | src/WBC_Ctrl/LocomotionCtrl/LocomotionCtrl.hpp | raess1/quadruped_ctrl | 4adf3871806a9f2b2f6015ad268d33df3ebb29c8 | [
"MIT"
] | 6 | 2020-11-20T07:36:28.000Z | 2021-09-18T11:08:35.000Z | src/WBC_Ctrl/LocomotionCtrl/LocomotionCtrl.hpp | raess1/quadruped_ctrl | 4adf3871806a9f2b2f6015ad268d33df3ebb29c8 | [
"MIT"
] | 13 | 2020-11-20T07:36:37.000Z | 2022-01-14T03:49:51.000Z | #ifndef LOCOMOTION_CONTROLLER
#define LOCOMOTION_CONTROLLER
#include <WBC_Ctrl/WBC_Ctrl.hpp>
template<typename T>
class LocomotionCtrlData{
public:
Vec3<T> pBody_des;
Vec3<T> vBody_des;
Vec3<T> aBody_des;
Vec3<T> pBody_RPY_des;
Vec3<T> vBody_Ori_des;
Vec3<T> pFoot_des[4];
Vec3<T> vFoot... | 26.714286 | 158 | 0.701872 | raess1 |
b1351b28175a44e43f344814525b0ceda83c5fba | 26,388 | cc | C++ | extra/tensorflow-r1.4/tensorflow/core/framework/graph.pb.cc | langsunny/DEye | dba4b297fff71c72d28e2b48eeb7d447066a32ce | [
"Apache-2.0"
] | 850 | 2018-01-18T05:56:02.000Z | 2022-03-31T08:17:34.000Z | extra/tensorflow-r1.4/tensorflow/core/framework/graph.pb.cc | langsunny/DEye | dba4b297fff71c72d28e2b48eeb7d447066a32ce | [
"Apache-2.0"
] | 11 | 2018-03-14T02:49:04.000Z | 2021-03-09T02:06:00.000Z | extra/tensorflow-r1.4/tensorflow/core/framework/graph.pb.cc | langsunny/DEye | dba4b297fff71c72d28e2b48eeb7d447066a32ce | [
"Apache-2.0"
] | 364 | 2018-01-22T02:11:16.000Z | 2022-03-27T12:58:47.000Z | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: tensorflow/core/framework/graph.proto
#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
#include "tensorflow/core/framework/graph.pb.h"
#include <algorithm>
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/stubs/port.h>
#inc... | 34.049032 | 113 | 0.721692 | langsunny |
b137de3f7ebc8690da8555668cb4405007f5d40f | 1,955 | cpp | C++ | PDP/pdp_28/pdp_28_B.cpp | luserx0/UVA_solved | 9d74388477c2f20542f648dff594d4eafc4a4108 | [
"MIT"
] | null | null | null | PDP/pdp_28/pdp_28_B.cpp | luserx0/UVA_solved | 9d74388477c2f20542f648dff594d4eafc4a4108 | [
"MIT"
] | null | null | null | PDP/pdp_28/pdp_28_B.cpp | luserx0/UVA_solved | 9d74388477c2f20542f648dff594d4eafc4a4108 | [
"MIT"
] | null | null | null | #include <cstdio>
#include <iostream>
#include <numeric>
#include <algorithm>
#include <vector>
using namespace std;
int zero = 0;
vector <long> board;
long summa[ 2000008 ] = { 0 }, N=0, K=0;
long find_group_2K(){
//find the contiguous max sum of length K*2
long max_ending_here, max_so_far;
max_end... | 24.4375 | 93 | 0.504348 | luserx0 |
b13c54aade1881585877de917576e7cd91996425 | 95,046 | cpp | C++ | WRK-V1.2/clr/src/vm/comdynamic.cpp | intj-t/openvmsft | 0d17fbce8607ab2b880be976c2e86d8cfc3e83bb | [
"Intel"
] | null | null | null | WRK-V1.2/clr/src/vm/comdynamic.cpp | intj-t/openvmsft | 0d17fbce8607ab2b880be976c2e86d8cfc3e83bb | [
"Intel"
] | null | null | null | WRK-V1.2/clr/src/vm/comdynamic.cpp | intj-t/openvmsft | 0d17fbce8607ab2b880be976c2e86d8cfc3e83bb | [
"Intel"
] | null | null | null | // ==++==
//
//
// Copyright (c) 2006 Microsoft Corporation. All rights reserved.
//
// The use and distribution terms for this software are contained in the file
// named license.txt, which can be found in the root of this distribution.
// By using this software in any fashion, you are agreeing to ... | 32.077624 | 236 | 0.556194 | intj-t |
b1454414b3ead2b12b8f900be5f8d3782cb563e1 | 1,429 | hpp | C++ | src/frontends/common/include/openvino/frontend/telemetry_extension.hpp | yekruglov/openvino | 59fca61dd58ae403eb6793228ab910d8f2eae35a | [
"Apache-2.0"
] | null | null | null | src/frontends/common/include/openvino/frontend/telemetry_extension.hpp | yekruglov/openvino | 59fca61dd58ae403eb6793228ab910d8f2eae35a | [
"Apache-2.0"
] | 44 | 2020-11-17T12:58:45.000Z | 2022-03-30T09:45:11.000Z | src/frontends/common/include/openvino/frontend/telemetry_extension.hpp | yekruglov/openvino | 59fca61dd58ae403eb6793228ab910d8f2eae35a | [
"Apache-2.0"
] | null | null | null | // Copyright (C) 2021 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#pragma once
#include <fstream>
#include <iostream>
#include <type_traits>
#include "openvino/core/extension.hpp"
#include "openvino/pass/graph_rewrite.hpp"
#include "openvino/pass/manager.hpp"
#include "openvino/pass/pass.hpp"
#includ... | 32.477273 | 110 | 0.718684 | yekruglov |
b148a75c377e6292464ad9770e64412b233be5fd | 431 | hpp | C++ | src/bind/mode/text_area_scanner.hpp | dmlerner/win-vind | f5c25bc0e082b9600ef19c02ba4f565bc3b14cfe | [
"MIT"
] | null | null | null | src/bind/mode/text_area_scanner.hpp | dmlerner/win-vind | f5c25bc0e082b9600ef19c02ba4f565bc3b14cfe | [
"MIT"
] | null | null | null | src/bind/mode/text_area_scanner.hpp | dmlerner/win-vind | f5c25bc0e082b9600ef19c02ba4f565bc3b14cfe | [
"MIT"
] | null | null | null | #ifndef _BIND_MODE_OPTIONS_HPP
#define _BIND_MODE_OPTIONS_HPP
#include "util/ui_walker.hpp"
namespace vind
{
namespace bind
{
struct TextAreaScanner : public util::UIWalker {
explicit TextAreaScanner() ;
virtual bool pinpoint_element(const util::SmartElement& elem) override ;
... | 21.55 | 84 | 0.672854 | dmlerner |
b14ac213d30e1b88d4fc92dda1d91ec6b64e10ed | 763 | cpp | C++ | Bitmasking/problem_replace_bits_n_m.cpp | sans712/SDE-Interview-Questions | 44f5bda60b9ed301b93a944e1c333d833c9b054b | [
"MIT"
] | null | null | null | Bitmasking/problem_replace_bits_n_m.cpp | sans712/SDE-Interview-Questions | 44f5bda60b9ed301b93a944e1c333d833c9b054b | [
"MIT"
] | null | null | null | Bitmasking/problem_replace_bits_n_m.cpp | sans712/SDE-Interview-Questions | 44f5bda60b9ed301b93a944e1c333d833c9b054b | [
"MIT"
] | null | null | null | #include<iostream>
using namespace std;
//Replace Bits in N by M
/*
You are given two 32-bit numbers, N and M, and two bit positions, i and j.
Write a method to set all bits between i and j in N equal
to M (e.g., M becomes a substring of N located at i and starting at j).
EXAMPLE:
Input: N = 10000000000,
M = 10101, i... | 18.609756 | 74 | 0.600262 | sans712 |
b14c4642fd7638aed0473790ac9ca3bc18476160 | 3,776 | cpp | C++ | mobile/test/operators/test_gru_op.cpp | banbishan/Paddle-Lite | 02517c12c31609f413a1c47a83e25d3fbff07074 | [
"Apache-2.0"
] | 1 | 2019-08-21T05:54:42.000Z | 2019-08-21T05:54:42.000Z | mobile/test/operators/test_gru_op.cpp | banbishan/Paddle-Lite | 02517c12c31609f413a1c47a83e25d3fbff07074 | [
"Apache-2.0"
] | null | null | null | mobile/test/operators/test_gru_op.cpp | banbishan/Paddle-Lite | 02517c12c31609f413a1c47a83e25d3fbff07074 | [
"Apache-2.0"
] | 1 | 2019-10-11T09:34:49.000Z | 2019-10-11T09:34:49.000Z | /* Copyright (c) 2018 PaddlePaddle Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or... | 37.386139 | 80 | 0.686176 | banbishan |
b1518faef082161d1d6915ca7ae7501c272a381e | 11,270 | cpp | C++ | scg3_example/main.cpp | eof1/scg3 | b9fac30895b9c2bf2d66250df471cc18267c98a2 | [
"Apache-2.0"
] | 5 | 2018-08-20T05:16:53.000Z | 2021-05-03T15:43:52.000Z | scg3_example/main.cpp | eof1/scg3 | b9fac30895b9c2bf2d66250df471cc18267c98a2 | [
"Apache-2.0"
] | 2 | 2019-03-14T14:27:13.000Z | 2019-04-09T08:58:32.000Z | scg3_example/main.cpp | eof1/scg3 | b9fac30895b9c2bf2d66250df471cc18267c98a2 | [
"Apache-2.0"
] | 9 | 2016-03-24T10:23:56.000Z | 2021-02-06T08:51:01.000Z | /**
* \file main.cpp
* \brief A simple scg3 example application.
*
* Requires C++11 and OpenGL 3.2 (or later versions).
*
* \author Volker Ahlers\n
* volker.ahlers@hs-hannover.de
*/
/*
* Copyright 2014-2019 Volker Ahlers
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may ... | 30.876712 | 91 | 0.687755 | eof1 |
b153aa0c207a43f62aaebb027f31d17016e9876f | 3,228 | cpp | C++ | lib/grpc/qml/server.cpp | pauldotknopf/protobuf-qml | e10f46567344738563140e8f06d5a2569b961d06 | [
"MIT"
] | 56 | 2015-05-14T16:00:43.000Z | 2022-02-11T20:25:36.000Z | lib/grpc/qml/server.cpp | pauldotknopf/protobuf-qml | e10f46567344738563140e8f06d5a2569b961d06 | [
"MIT"
] | 19 | 2015-05-11T14:50:33.000Z | 2018-09-06T05:45:34.000Z | lib/grpc/qml/server.cpp | pauldotknopf/protobuf-qml | e10f46567344738563140e8f06d5a2569b961d06 | [
"MIT"
] | 16 | 2015-10-29T13:25:48.000Z | 2021-06-30T18:34:32.000Z | #include "grpc/qml/server.h"
#include "grpc/qml/server_bidi.h"
#include "grpc/qml/server_reader.h"
#include "grpc/qml/server_unary.h"
#include "grpc/qml/server_writer.h"
namespace grpc {
namespace qml {
GrpcServer::~GrpcServer() {
shutdown();
}
bool GrpcServer::registerService(::protobuf::qml::RpcService* service)... | 32.938776 | 80 | 0.542751 | pauldotknopf |
b15d904425c44d69079180d0fe0e8136563ea16b | 399 | cpp | C++ | tests/TST_Common/main.cpp | embtom/networkAdapter- | cdb5f11a0033773223e4298995c10b164ba53b64 | [
"MIT"
] | 2 | 2020-05-04T15:19:33.000Z | 2020-05-22T21:49:47.000Z | tests/TST_Common/main.cpp | embtom/networkAdapter- | cdb5f11a0033773223e4298995c10b164ba53b64 | [
"MIT"
] | null | null | null | tests/TST_Common/main.cpp | embtom/networkAdapter- | cdb5f11a0033773223e4298995c10b164ba53b64 | [
"MIT"
] | null | null | null | #include <gtest/gtest.h>
#include <iostream>
#include <cstring>
#include <tuple>
#include <algorithm>
#include <Tcp/TcpDataLink.hpp>
#define GTEST_BOX "[ cout ] "
using namespace EtNet;
TEST(DataLink, MoveKonstruktor)
{
// auto [a] = std::tuple(CTcpDataLink(3));
}
int main(int argc, char **... | 19 | 51 | 0.651629 | embtom |
b160975b2fc722579c0d98962503abe22012d569 | 478 | cpp | C++ | LeetCode/cpp/647.cpp | ZintrulCre/LeetCode_Archiver | de23e16ead29336b5ee7aa1898a392a5d6463d27 | [
"MIT"
] | 279 | 2019-02-19T16:00:32.000Z | 2022-03-23T12:16:30.000Z | LeetCode/cpp/647.cpp | ZintrulCre/LeetCode_Archiver | de23e16ead29336b5ee7aa1898a392a5d6463d27 | [
"MIT"
] | 2 | 2019-03-31T08:03:06.000Z | 2021-03-07T04:54:32.000Z | LeetCode/cpp/647.cpp | ZintrulCre/LeetCode_Crawler | de23e16ead29336b5ee7aa1898a392a5d6463d27 | [
"MIT"
] | 12 | 2019-01-29T11:45:32.000Z | 2019-02-04T16:31:46.000Z | class Solution {
public:
int countSubstrings(string s) {
int size = s.size();
int count = 0;
vector<vector<bool>> dp(size, vector<bool>(size, false));
for (int i = 0; i < size; ++i) {
for (int j = 0; j <= i; ++j) {
dp[j][i] = ((i == j) || (s[i] == s[j] && ... | 29.875 | 101 | 0.361925 | ZintrulCre |
b164ae75cbaef61b6f28ea541e4a65822030e3f9 | 2,402 | cpp | C++ | src/main/cpp/mapfilter.cpp | prodist/logging-log4cxx | 95f511b523d0d95a2e2223108f6147c8564b7b3f | [
"Apache-2.0"
] | null | null | null | src/main/cpp/mapfilter.cpp | prodist/logging-log4cxx | 95f511b523d0d95a2e2223108f6147c8564b7b3f | [
"Apache-2.0"
] | null | null | null | src/main/cpp/mapfilter.cpp | prodist/logging-log4cxx | 95f511b523d0d95a2e2223108f6147c8564b7b3f | [
"Apache-2.0"
] | 2 | 2020-03-05T20:34:50.000Z | 2020-03-10T20:45:58.000Z | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | 26.108696 | 110 | 0.722315 | prodist |
b16886422db0e89911e5097bf3c3ec477a01aee0 | 1,095 | cpp | C++ | marks.cpp | ahmedmamdouh886/codeforces_solutions | e1dafb76fa95dec6b648827ac7f712b3a0dd8f26 | [
"MIT"
] | 2 | 2020-03-20T23:37:39.000Z | 2021-12-03T15:02:23.000Z | marks.cpp | ahmedmamdouh886/codeforces-solutions | e1dafb76fa95dec6b648827ac7f712b3a0dd8f26 | [
"MIT"
] | null | null | null | marks.cpp | ahmedmamdouh886/codeforces-solutions | e1dafb76fa95dec6b648827ac7f712b3a0dd8f26 | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
#include <string>
#include <algorithm>
using namespace std;
int main()
{
size_t n, m;
cin >> n >> m;
vector<string> marks(n);
for (size_t i = 0; i < n; i++)
{
cin >> marks[i];
}
vector<bool> successful(n, false);
for (s... | 18.559322 | 64 | 0.430137 | ahmedmamdouh886 |
b17082a41aa3594e2e9756c96a2fa061b881e8a0 | 34,578 | cpp | C++ | src/dozeu_interface.cpp | Ellmen/vg | f9f5a815ef2db3481b23ff2533355aaf7f2f947b | [
"MIT"
] | 1 | 2021-11-16T21:23:49.000Z | 2021-11-16T21:23:49.000Z | src/dozeu_interface.cpp | CominLab/VG-SNP-Aware | 6e28125879ad7b5b9b0d160d19406e69278a0e58 | [
"MIT"
] | null | null | null | src/dozeu_interface.cpp | CominLab/VG-SNP-Aware | 6e28125879ad7b5b9b0d160d19406e69278a0e58 | [
"MIT"
] | null | null | null | /**
* @file dozeu_interface.hpp
* @author Hajime Suzuki
* @date 2018/03/23
*/
#include <cstdio>
#include <assert.h>
#include <utility>
#include "dozeu_interface.hpp"
#include "algorithms/topological_sort.hpp"
// Configure dozeu:
// We want the full length bonus included
#ifndef DZ_FULL_LENGTH_BONUS
#define DZ_... | 44.964889 | 270 | 0.640754 | Ellmen |
b17228f821d32fa5e055feca8d9dff215b73bbe1 | 9,549 | cpp | C++ | tools/flang2/flang2exe/aarch64/ll_abi.cpp | abrahamtovarmob/flang | bcd84b29df046b6d6574f0bfa34ea5059092615a | [
"Apache-2.0"
] | 716 | 2017-05-17T17:58:45.000Z | 2022-03-30T11:20:58.000Z | tools/flang2/flang2exe/aarch64/ll_abi.cpp | abrahamtovarmob/flang | bcd84b29df046b6d6574f0bfa34ea5059092615a | [
"Apache-2.0"
] | 794 | 2017-05-18T19:27:40.000Z | 2022-03-31T23:22:11.000Z | tools/flang2/flang2exe/aarch64/ll_abi.cpp | abrahamtovarmob/flang | bcd84b29df046b6d6574f0bfa34ea5059092615a | [
"Apache-2.0"
] | 157 | 2017-05-17T18:50:33.000Z | 2022-03-30T07:06:45.000Z | /*
* Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
* See https://llvm.org/LICENSE.txt for license information.
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
*
*/
/* ll_abi.c - Lowering arm function calls to LLVM IR.
*
* This file implements the AAPCS_VFP procedure cal... | 27.678261 | 80 | 0.658708 | abrahamtovarmob |
b176fc93bd171fb8e8f9fc7fcd7567df14246c6a | 2,060 | cpp | C++ | oop_calc/src/parser.cpp | fabio-blanco/desk_calculator | ee134e685312241e11de5379871f76e4a12dda10 | [
"MIT"
] | null | null | null | oop_calc/src/parser.cpp | fabio-blanco/desk_calculator | ee134e685312241e11de5379871f76e4a12dda10 | [
"MIT"
] | null | null | null | oop_calc/src/parser.cpp | fabio-blanco/desk_calculator | ee134e685312241e11de5379871f76e4a12dda10 | [
"MIT"
] | null | null | null | #include "parser.hpp"
Parser::Parser(Lexer* l, std::map<std::string, double>* t) {
lexer = l;
table = t;
}
/*
* Handle primaries
*/
double Parser::prim(bool get) {
if(get) lexer->get_token();
Lexer::Token_value curr_tok = lexer->get_curr_token();
switch(curr_tok) {
case Lexer::NUMBER: /... | 24.235294 | 64 | 0.442233 | fabio-blanco |
b179dab5be647b8408778c3e6091b696650400b5 | 4,443 | cpp | C++ | src/viewer.cpp | NicolasLutz/visu_s3 | ce50570179f6d02e73d418a86d055ca6ad56b2a7 | [
"Apache-2.0"
] | null | null | null | src/viewer.cpp | NicolasLutz/visu_s3 | ce50570179f6d02e73d418a86d055ca6ad56b2a7 | [
"Apache-2.0"
] | null | null | null | src/viewer.cpp | NicolasLutz/visu_s3 | ce50570179f6d02e73d418a86d055ca6ad56b2a7 | [
"Apache-2.0"
] | null | null | null | #include "viewer.h"
#include <glm/gtc/type_ptr.hpp>
#include <QKeyEvent>
Viewer::Viewer(QWidget *parent) :
QGLViewer(parent)
{}
void Viewer::tp_init()
{
srand(0);
setMouseTracking(true);
// SHADER
m_shaderProgram = new ShaderProgram_RayTracer();
m_shaderProgram->createVBO();
m_shaderPro... | 24.278689 | 197 | 0.62998 | NicolasLutz |
b17c7f8160c3535bcfdacd4203af91c39d4f8a1f | 27,286 | cpp | C++ | src/libutil/xxhash.cpp | cometyang/oiio | e9ecdcff847d4c38533d603179c42853f8a38bb2 | [
"BSD-3-Clause"
] | 1 | 2021-01-22T21:12:24.000Z | 2021-01-22T21:12:24.000Z | src/libutil/xxhash.cpp | LumaPictures/oiio | f29faced1ffa035df3b3ba13028800966f55c0b1 | [
"BSD-3-Clause"
] | null | null | null | src/libutil/xxhash.cpp | LumaPictures/oiio | f29faced1ffa035df3b3ba13028800966f55c0b1 | [
"BSD-3-Clause"
] | null | null | null | /*
xxHash - Fast Hash algorithm
Copyright (C) 2012-2014, Yann Collet.
BSD 2-Clause License (http://www.opensource.org/licenses/bsd-license.php)
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source cod... | 28.752371 | 141 | 0.597779 | cometyang |
b17c8db70d81df31b1939bb6f58e0c45b3516730 | 6,711 | hpp | C++ | test/reference.hpp | mkarunan/rocWMMA | 390a2e793699a1e17c18e46d7fe51e245907f012 | [
"MIT"
] | null | null | null | test/reference.hpp | mkarunan/rocWMMA | 390a2e793699a1e17c18e46d7fe51e245907f012 | [
"MIT"
] | 1 | 2022-03-16T20:41:26.000Z | 2022-03-16T20:41:26.000Z | test/reference.hpp | mkarunan/rocWMMA | 390a2e793699a1e17c18e46d7fe51e245907f012 | [
"MIT"
] | 2 | 2022-03-17T16:47:29.000Z | 2022-03-18T14:12:22.000Z | /*******************************************************************************
*
* MIT License
*
* Copyright 2021-2022 Advanced Micro Devices, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
*... | 36.472826 | 100 | 0.463567 | mkarunan |
b17deb6d9f9d594d1c17f886852aa422a14a90aa | 941 | hpp | C++ | src/utils/time_stamp.hpp | aligungr/ue-ran-sim | 564f9d228723f03adfa2b02df2ea019bdf305085 | [
"MIT"
] | 16 | 2020-04-16T02:07:37.000Z | 2020-07-23T10:48:27.000Z | src/utils/time_stamp.hpp | aligungr/ue-ran-sim | 564f9d228723f03adfa2b02df2ea019bdf305085 | [
"MIT"
] | 8 | 2020-07-13T17:11:35.000Z | 2020-08-03T16:46:31.000Z | src/utils/time_stamp.hpp | aligungr/ue-ran-sim | 564f9d228723f03adfa2b02df2ea019bdf305085 | [
"MIT"
] | 9 | 2020-03-04T15:05:08.000Z | 2020-07-30T06:18:18.000Z | //
// This file is a part of UERANSIM open source project.
// Copyright (c) 2021 ALİ GÜNGÖR.
//
// The software and all associated files are licensed under GPL-3.0
// and subject to the terms and conditions defined in LICENSE file.
//
#pragma once
#include <cstdint>
struct TimeStamp
{
const int64_t ntpTime;
... | 20.911111 | 67 | 0.634431 | aligungr |
b17f67c0becb6971a440a4f3e4d610e8482849f1 | 5,650 | cpp | C++ | src/core/io.cpp | chokomancarr/chokoengine2 | 2825f2b95d24689f4731b096c8be39cc9a0f759a | [
"Apache-2.0"
] | null | null | null | src/core/io.cpp | chokomancarr/chokoengine2 | 2825f2b95d24689f4731b096c8be39cc9a0f759a | [
"Apache-2.0"
] | null | null | null | src/core/io.cpp | chokomancarr/chokoengine2 | 2825f2b95d24689f4731b096c8be39cc9a0f759a | [
"Apache-2.0"
] | null | null | null | #include "chokoengine.hpp"
#ifdef PLATFORM_WIN
#include <io.h>
#include <Shlobj.h>
#include <shellapi.h>
#pragma comment(lib, "Shell32.lib")
#else
#include <sys/types.h>
#include <dirent.h>
#include <sys/stat.h>
#include <termios.h>
#include <unistd.h>
#include <pwd.h>
#ifdef PLATFORM_MAC
#include <mach-o/dyld.h>
#inc... | 23.839662 | 88 | 0.650442 | chokomancarr |
b181c26a5ef7cc4af70ae170d32e6c905ecf8e6c | 875 | cpp | C++ | cosx.cpp | AlexFlamand/Learning-CPlusPlus | 168a88645e0d658f43d6c6025a43ba32f2274966 | [
"MIT"
] | 1 | 2020-06-02T13:19:47.000Z | 2020-06-02T13:19:47.000Z | cosx.cpp | AlexFlamand/Learning-CPlusPlus | 168a88645e0d658f43d6c6025a43ba32f2274966 | [
"MIT"
] | null | null | null | cosx.cpp | AlexFlamand/Learning-CPlusPlus | 168a88645e0d658f43d6c6025a43ba32f2274966 | [
"MIT"
] | 1 | 2021-06-17T15:09:12.000Z | 2021-06-17T15:09:12.000Z | // ALEX FLAMAND
// 02/28/2018
// LAB
// The purpose of this program is to calculate the cosine of a given function f(x) when the variable x is defined by the user.
#include <iostream>
#include <iomanip>
using namespace std;
int main()
{
double i, r, o, s, ratio, x, n; // INITIALIZE VARIABLES
n = 0; ... | 23.026316 | 126 | 0.490286 | AlexFlamand |
b184ef579e1e98c8ecc4d262e1b412055fe84ecf | 42,672 | cpp | C++ | nfc/src/DOOM/neo/sys/win32/win_main.cpp | 1337programming/leviathan | ca9a31b45c25fd23f361d67136ae5ac6b98d2628 | [
"Apache-2.0"
] | null | null | null | nfc/src/DOOM/neo/sys/win32/win_main.cpp | 1337programming/leviathan | ca9a31b45c25fd23f361d67136ae5ac6b98d2628 | [
"Apache-2.0"
] | null | null | null | nfc/src/DOOM/neo/sys/win32/win_main.cpp | 1337programming/leviathan | ca9a31b45c25fd23f361d67136ae5ac6b98d2628 | [
"Apache-2.0"
] | null | null | null | /*
===========================================================================
Doom 3 BFG Edition GPL Source Code
Copyright (C) 1993-2012 id Software LLC, a ZeniMax Media company.
This file is part of the Doom 3 BFG Edition GPL Source Code ("Doom 3 BFG Edition Source Code").
Doom 3 BFG Edition Source Code is free... | 25.67509 | 366 | 0.633999 | 1337programming |
b185cb849633935b9b88db149da2cc098051c1a4 | 18,786 | cpp | C++ | Animations.cpp | younasiqw/HOPROCSGO | efdbc9f636d39cfe425707086ac60afbafe78e72 | [
"MIT"
] | null | null | null | Animations.cpp | younasiqw/HOPROCSGO | efdbc9f636d39cfe425707086ac60afbafe78e72 | [
"MIT"
] | null | null | null | Animations.cpp | younasiqw/HOPROCSGO | efdbc9f636d39cfe425707086ac60afbafe78e72 | [
"MIT"
] | null | null | null | void XnQIauqRfDWOSsD() {
float pNJTlCXcJtjb = 878359174211839419; pNJTlCXcJtjb = 769499972428831874;
if (pNJTlCXcJtjb = 9494751637872171683) { pNJTlCXcJtjb = 3638333278521319832; pNJTlCXcJtjb = 8471469822495544112; }
if (pNJTlCXcJtjb = 2985277897346419825) { pNJTlCXcJtjb = 3596456696871779538; pNJTlCXcJtjb = 9284... | 4.926829 | 126 | 0.49473 | younasiqw |
b18997f6607742967e115a3d1e7b9e7ae555f5f3 | 37,700 | cpp | C++ | source/games/sw/src/save.cpp | drdteam/raze-gles | 07c3349c6cf72ca513fde1a65aea502daf94afbd | [
"RSA-MD"
] | 5 | 2021-07-31T03:34:09.000Z | 2021-08-31T21:43:50.000Z | source/games/sw/src/save.cpp | drdteam/raze-gles | 07c3349c6cf72ca513fde1a65aea502daf94afbd | [
"RSA-MD"
] | null | null | null | source/games/sw/src/save.cpp | drdteam/raze-gles | 07c3349c6cf72ca513fde1a65aea502daf94afbd | [
"RSA-MD"
] | null | null | null | //-------------------------------------------------------------------------
/*
Copyright (C) 1997, 2005 - 3D Realms Entertainment
This file is part of Shadow Warrior version 1.2
Shadow Warrior is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by ... | 28.911043 | 128 | 0.574483 | drdteam |
b18b262bbd340550a750f5ad88ce05f7cff4ff33 | 12,574 | cpp | C++ | firmware/src/mgfxpp/fonts/font_simple8_ru.cpp | art-den/startracker | 8c6e8ba5132cf8531f74bb2437ca9a810565da15 | [
"MIT"
] | null | null | null | firmware/src/mgfxpp/fonts/font_simple8_ru.cpp | art-den/startracker | 8c6e8ba5132cf8531f74bb2437ca9a810565da15 | [
"MIT"
] | null | null | null | firmware/src/mgfxpp/fonts/font_simple8_ru.cpp | art-den/startracker | 8c6e8ba5132cf8531f74bb2437ca9a810565da15 | [
"MIT"
] | null | null | null | #include "font_simple8_ru.hpp"
namespace mgfxpp {
static const uint8_t SYM_SPACE[] = { 2, 0, 0 };
static const uint8_t SYM_QUEST[] = { 4, 0x04, 0x02, 0x5A, 0x04 };
static const uint8_t SYM_0[] = { 4, 0x3C, 0x42, 0x42, 0x3C };
static const uint8_t SYM_1[] = { 3, 0x42, 0x7E, 0x40 };
static const uint8_t SYM_2[] = { 4... | 37.646707 | 84 | 0.569111 | art-den |
b1900e89508dcf2842b5716dd6934980177544aa | 10,320 | cpp | C++ | ledger-core/src/core/utils/DerivationScheme.cpp | phaazon/lib-ledger-core | 726009203f9b298e70b65c679ca92e99705dfc8c | [
"MIT"
] | null | null | null | ledger-core/src/core/utils/DerivationScheme.cpp | phaazon/lib-ledger-core | 726009203f9b298e70b65c679ca92e99705dfc8c | [
"MIT"
] | null | null | null | ledger-core/src/core/utils/DerivationScheme.cpp | phaazon/lib-ledger-core | 726009203f9b298e70b65c679ca92e99705dfc8c | [
"MIT"
] | null | null | null | /*
*
* DerivationScheme
* ledger-core
*
* Created by Pierre Pollastri on 24/04/2017.
*
* The MIT License (MIT)
*
* Copyright (c) 2016 Ledger
*
* 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 ... | 41.28 | 178 | 0.529457 | phaazon |
b191cec964e93ae66b118df930238e81ea507885 | 755 | cpp | C++ | src/Core/Primitives/Vector3.cpp | Shishqa/ShishGL | 36a3273aecb4b87d040616059ed9487d18abac1a | [
"MIT"
] | null | null | null | src/Core/Primitives/Vector3.cpp | Shishqa/ShishGL | 36a3273aecb4b87d040616059ed9487d18abac1a | [
"MIT"
] | null | null | null | src/Core/Primitives/Vector3.cpp | Shishqa/ShishGL | 36a3273aecb4b87d040616059ed9487d18abac1a | [
"MIT"
] | null | null | null | /*============================================================================*/
#include <cmath>
#include "Vector3.hpp"
/*============================================================================*/
using namespace Sh;
/*============================================================================*/
template <>
Vect... | 37.75 | 80 | 0.284768 | Shishqa |
b19727055cef037316b5c969414ea3e7ff777136 | 362 | cpp | C++ | P1-Extended-Kalman-Filter/class-notes/cpp-primer/src/PrintString.cpp | Deborah-Digges/SDC-ND-term-2 | ebed581914957f1ab615edfedea0052dc55b0939 | [
"Apache-2.0"
] | 3 | 2017-10-26T01:57:36.000Z | 2018-02-22T08:50:11.000Z | P1-Extended-Kalman-Filter/class-notes/cpp-primer/src/PrintString.cpp | Deborah-Digges/SDC-ND-term-2 | ebed581914957f1ab615edfedea0052dc55b0939 | [
"Apache-2.0"
] | null | null | null | P1-Extended-Kalman-Filter/class-notes/cpp-primer/src/PrintString.cpp | Deborah-Digges/SDC-ND-term-2 | ebed581914957f1ab615edfedea0052dc55b0939 | [
"Apache-2.0"
] | 5 | 2017-05-28T20:36:04.000Z | 2020-07-27T09:01:54.000Z | #include <iostream>
#include <string>
#include "PrintString.h"
// it's also worth noting that `string` and `cout` live in namespace std, eg. `std::string`.
// with the declaration on the next line, you can just use `string` and `cout`.
using namespace std;
void PrintString(string str, int n)
{
for(int i=1; i<=n; ++i... | 24.133333 | 92 | 0.665746 | Deborah-Digges |
b197eda8146770e76da88a2efd99f73e7572682c | 2,687 | cpp | C++ | Lista 3/SistemaPagamentos.cpp | carloseduardocsf/atividades_LP1 | 12a446fe115c789b384eb96b9488941a4798cbbf | [
"MIT"
] | null | null | null | Lista 3/SistemaPagamentos.cpp | carloseduardocsf/atividades_LP1 | 12a446fe115c789b384eb96b9488941a4798cbbf | [
"MIT"
] | null | null | null | Lista 3/SistemaPagamentos.cpp | carloseduardocsf/atividades_LP1 | 12a446fe115c789b384eb96b9488941a4798cbbf | [
"MIT"
] | null | null | null | #include <iostream>
#include <string>
using namespace std;
class Pagamento{
public:
Pagamento();
//setters
void setvalorPagamento(float valorPagamento);
void setnomeDoFuncionario(string nomeDoFuncionario);
//getters
float getvalorPagamento();
... | 23.778761 | 120 | 0.614068 | carloseduardocsf |
b198d8a777905e10d942313bb57d854207d27a8f | 852 | cpp | C++ | src/main.cpp | engelsanchez/row-streams | b1a375759e385da73d7507d6d424f39edf413aa7 | [
"MIT"
] | null | null | null | src/main.cpp | engelsanchez/row-streams | b1a375759e385da73d7507d6d424f39edf413aa7 | [
"MIT"
] | null | null | null | src/main.cpp | engelsanchez/row-streams | b1a375759e385da73d7507d6d424f39edf413aa7 | [
"MIT"
] | null | null | null |
#include "RowStreams.hpp"
using namespace RowStreams;
using namespace RowStreams::Functions;
int main(int argc, char ** argv)
{
try
{
/*
A quick demonstration of the row pipeline in action. Creates a pipeline
that reads two column rows from a file, adds a third column and populates it,
the... | 23.027027 | 98 | 0.611502 | engelsanchez |
b19c8a58e0bca3cc1a8327575a3573dd9d039c2b | 1,474 | cpp | C++ | src/src/main.cpp | 0x1001/mp3_-player | 90e4aa5d4f64c57c8b0e3ffc21d15bfbef58ebbd | [
"MIT"
] | null | null | null | src/src/main.cpp | 0x1001/mp3_-player | 90e4aa5d4f64c57c8b0e3ffc21d15bfbef58ebbd | [
"MIT"
] | null | null | null | src/src/main.cpp | 0x1001/mp3_-player | 90e4aa5d4f64c57c8b0e3ffc21d15bfbef58ebbd | [
"MIT"
] | null | null | null | #include "Arduino.h"
#include <SoftwareSerial.h>
#include <DFMiniMp3.h>
#include "LowPower.h"
#define POTENTIOMETER 0
#define BUSY_PIN 4
#define POWER_PIN 5
class Mp3Notify
{
public:
static void OnError(uint16_t errorCode)
{
}
static void OnPlayFinished(uint16_t track)
{
}
static void OnCardOnline(uint1... | 19.142857 | 85 | 0.660787 | 0x1001 |
b1a9d30e7caaa691436dd5868205dc31129bfaf0 | 2,754 | hpp | C++ | shared_model/cryptography/blob.hpp | bbr88/iroha | 8cc19fe8cd53cdb108853da7098c06d2b9237e38 | [
"Apache-2.0"
] | null | null | null | shared_model/cryptography/blob.hpp | bbr88/iroha | 8cc19fe8cd53cdb108853da7098c06d2b9237e38 | [
"Apache-2.0"
] | 2 | 2020-07-07T19:31:15.000Z | 2021-06-01T22:29:48.000Z | shared_model/cryptography/blob.hpp | bbr88/iroha | 8cc19fe8cd53cdb108853da7098c06d2b9237e38 | [
"Apache-2.0"
] | null | null | null | /**
* Copyright Soramitsu Co., Ltd. 2017 All Rights Reserved.
* http://soramitsu.co.jp
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENS... | 28.391753 | 79 | 0.658678 | bbr88 |
b1abeae33c9ebc1399a878264a82a1506d5f6070 | 2,728 | cpp | C++ | rosbag2_transport/src/rosbag2_transport/reader_writer_factory.cpp | lihui815/rosbag2 | dc870ae44da68634b69ee1e828cc0c70bc178839 | [
"Apache-2.0"
] | null | null | null | rosbag2_transport/src/rosbag2_transport/reader_writer_factory.cpp | lihui815/rosbag2 | dc870ae44da68634b69ee1e828cc0c70bc178839 | [
"Apache-2.0"
] | 14 | 2021-11-30T00:30:00.000Z | 2022-03-22T14:06:55.000Z | rosbag2_transport/src/rosbag2_transport/reader_writer_factory.cpp | lihui815/rosbag2 | dc870ae44da68634b69ee1e828cc0c70bc178839 | [
"Apache-2.0"
] | 3 | 2022-01-25T15:02:52.000Z | 2022-03-13T22:51:04.000Z | // Copyright 2021 Amazon.com, Inc. or its affiliates. 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
//
// Unles... | 38.422535 | 89 | 0.777493 | lihui815 |
b1ad6e1da2416d173de5ea21e3be50ddabc8f82c | 21,687 | cpp | C++ | benchmark/benchmark_rocrand_kernel.cpp | wangbobby/RocRAND_Test | be2bdd3571ea119690beb52d4caf16f64e2ab7a7 | [
"MIT"
] | 1 | 2021-07-21T08:17:42.000Z | 2021-07-21T08:17:42.000Z | benchmark/benchmark_rocrand_kernel.cpp | wangbobby/RocRAND_Test | be2bdd3571ea119690beb52d4caf16f64e2ab7a7 | [
"MIT"
] | null | null | null | benchmark/benchmark_rocrand_kernel.cpp | wangbobby/RocRAND_Test | be2bdd3571ea119690beb52d4caf16f64e2ab7a7 | [
"MIT"
] | 2 | 2019-11-17T05:03:09.000Z | 2021-07-21T08:18:01.000Z | // Copyright (c) 2017 Advanced Micro Devices, Inc. All rights reserved.
//
// 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
... | 34.64377 | 137 | 0.573385 | wangbobby |
b1b1b929947d42986f1c7b30b650219ab1b0f3d4 | 17,384 | hpp | C++ | include/sysmakeshift/buffer.hpp | mbeutel/sysmakeshift | d6451315281b229222cb77f916c36b831acb054c | [
"BSL-1.0"
] | 2 | 2020-11-15T14:09:17.000Z | 2022-01-14T15:20:02.000Z | include/sysmakeshift/buffer.hpp | mbeutel/sysmakeshift | d6451315281b229222cb77f916c36b831acb054c | [
"BSL-1.0"
] | 2 | 2020-02-16T02:20:22.000Z | 2020-02-16T20:49:03.000Z | include/sysmakeshift/buffer.hpp | mbeutel/sysmakeshift | d6451315281b229222cb77f916c36b831acb054c | [
"BSL-1.0"
] | 1 | 2021-09-02T07:44:42.000Z | 2021-09-02T07:44:42.000Z |
#ifndef INCLUDED_SYSMAKESHIFT_BUFFER_HPP_
#define INCLUDED_SYSMAKESHIFT_BUFFER_HPP_
#include <new> // for bad_alloc
#include <memory> // for unique_ptr<>, allocator_traits<>
#include <cstddef> // for size_t, ptrdiff_t
#include <utility> // for move(), forward<>(), exchange(), in_place (C++17... | 34.019569 | 139 | 0.638576 | mbeutel |
b1b1e2d06ee235112411525115b93676d324ad0f | 2,203 | cpp | C++ | test/tst_diagnostic.cpp | ombre5733/dime | 41d1f4e8202e97b74f5127af918b9d9a12b32124 | [
"BSD-3-Clause"
] | null | null | null | test/tst_diagnostic.cpp | ombre5733/dime | 41d1f4e8202e97b74f5127af918b9d9a12b32124 | [
"BSD-3-Clause"
] | null | null | null | test/tst_diagnostic.cpp | ombre5733/dime | 41d1f4e8202e97b74f5127af918b9d9a12b32124 | [
"BSD-3-Clause"
] | null | null | null | /*******************************************************************************
Diagnostic messaging
Copyright (c) 2016, Manuel Freiberger
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
-... | 32.397059 | 80 | 0.681344 | ombre5733 |
b1b529126534c9d141c8a0d12d6141e8d8041279 | 1,425 | hpp | C++ | src/graspi_cc.hpp | wd15/graspi | cbdbee28062dbc18005a506f307171702ac249be | [
"BSD-3-Clause"
] | null | null | null | src/graspi_cc.hpp | wd15/graspi | cbdbee28062dbc18005a506f307171702ac249be | [
"BSD-3-Clause"
] | null | null | null | src/graspi_cc.hpp | wd15/graspi | cbdbee28062dbc18005a506f307171702ac249be | [
"BSD-3-Clause"
] | 1 | 2021-04-27T19:05:48.000Z | 2021-04-27T19:05:48.000Z | /***
* $Id$
**
* File: graspi_cc.hpp
* Created: May 9, 2012
*
* Author: Olga Wodo, Baskar Ganapathysubramanian
* Copyright (c) 2012 Olga Wodo, Baskar Ganapthysubramanian
* See accompanying LICENSE.
*
* This file is part of GraSPI.
*/
#ifndef GRASPI_CC_HPP
#define GRASPI_CC_HPP
#include "graspi_types... | 22.983871 | 71 | 0.625263 | wd15 |
b1bbe05d14a8f66d8c7869674569bbd6285ed57e | 30,124 | cpp | C++ | Tools/STM32FW/STM32Cube_FW_F7_V1.16.2/Projects/STM32746G-Discovery/Demonstrations/TouchGFX/Gui/generated/images/src/ProductPresenter/product_presenter_next.cpp | ramkumarkoppu/NUCLEO-F767ZI-ESW | 85e129d71ee8eccbd0b94b5e07e75b6b91679ee8 | [
"MIT"
] | null | null | null | Tools/STM32FW/STM32Cube_FW_F7_V1.16.2/Projects/STM32746G-Discovery/Demonstrations/TouchGFX/Gui/generated/images/src/ProductPresenter/product_presenter_next.cpp | ramkumarkoppu/NUCLEO-F767ZI-ESW | 85e129d71ee8eccbd0b94b5e07e75b6b91679ee8 | [
"MIT"
] | null | null | null | Tools/STM32FW/STM32Cube_FW_F7_V1.16.2/Projects/STM32746G-Discovery/Demonstrations/TouchGFX/Gui/generated/images/src/ProductPresenter/product_presenter_next.cpp | ramkumarkoppu/NUCLEO-F767ZI-ESW | 85e129d71ee8eccbd0b94b5e07e75b6b91679ee8 | [
"MIT"
] | null | null | null | // Generated by imageconverter. Please, do not edit!
#include <touchgfx/hal/Config.hpp>
LOCATION_EXTFLASH_PRAGMA
KEEP extern const unsigned char _product_presenter_next[] LOCATION_EXTFLASH_ATTRIBUTE = { // 56x53 RGB565 pixels.
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0... | 136.307692 | 160 | 0.79435 | ramkumarkoppu |
b1bcba49fcf0a6e8ce6e5b32b984b14f6790bd7f | 2,006 | cpp | C++ | src/bzoj_1497.cpp | dramforever/dram-sal | 8f9a192e989b77fa547a4b6eaccf932eba0e78e0 | [
"WTFPL"
] | 6 | 2016-06-06T06:29:07.000Z | 2017-07-24T09:42:40.000Z | src/bzoj_1497.cpp | dramforever/dram-sal | 8f9a192e989b77fa547a4b6eaccf932eba0e78e0 | [
"WTFPL"
] | 1 | 2017-07-09T05:37:57.000Z | 2017-07-09T05:37:57.000Z | src/bzoj_1497.cpp | dramforever/dram-sal | 8f9a192e989b77fa547a4b6eaccf932eba0e78e0 | [
"WTFPL"
] | 1 | 2018-03-26T07:50:37.000Z | 2018-03-26T07:50:37.000Z | /// -g
/// -Wall
#include <cstdio>
#include <cstring>
#include <vector>
#include <new>
const int zS = (int) 3e5, inf = 0x3333333;
using namespace std;
struct Edge
{
int v, cap;
Edge *next, *rev;
Edge () {}
Edge (int v_, int cap_, Edge *next_, Edge *rev_):
v (v_), cap (cap_), next (next_), re... | 20.262626 | 57 | 0.419242 | dramforever |
04d8f99fa687ba96658780309ebf8ff9a87e4bb8 | 5,100 | cpp | C++ | clicache/src/impl/PdxFieldType.cpp | vaijira/geode-native | 5a46b659b86ecc4890df59c1b7abe727192e5d06 | [
"Apache-2.0"
] | null | null | null | clicache/src/impl/PdxFieldType.cpp | vaijira/geode-native | 5a46b659b86ecc4890df59c1b7abe727192e5d06 | [
"Apache-2.0"
] | null | null | null | clicache/src/impl/PdxFieldType.cpp | vaijira/geode-native | 5a46b659b86ecc4890df59c1b7abe727192e5d06 | [
"Apache-2.0"
] | null | null | null | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | 26.153846 | 97 | 0.574706 | vaijira |
04d9112fe928d5dab31b76c810a6cce3fbc85b2e | 4,192 | hpp | C++ | i23dSFM/linearProgramming/lInfinityCV/triplet_tijsAndXis_kernel.hpp | zyxrrr/GraphSfM | 1af22ec17950ffc8a5c737a6a46f4465c40aa470 | [
"BSD-3-Clause"
] | null | null | null | i23dSFM/linearProgramming/lInfinityCV/triplet_tijsAndXis_kernel.hpp | zyxrrr/GraphSfM | 1af22ec17950ffc8a5c737a6a46f4465c40aa470 | [
"BSD-3-Clause"
] | null | null | null | i23dSFM/linearProgramming/lInfinityCV/triplet_tijsAndXis_kernel.hpp | zyxrrr/GraphSfM | 1af22ec17950ffc8a5c737a6a46f4465c40aa470 | [
"BSD-3-Clause"
] | 1 | 2019-02-18T09:49:32.000Z | 2019-02-18T09:49:32.000Z |
// Copyright (c) 2012, 2013, 2014, 2015 Pierre MOULON.
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
#pragma once
#include "i23dSFM/numeric/numeric.h"
... | 31.757576 | 107 | 0.666031 | zyxrrr |
04d9db72437f0c258cb61fc241c2b44831bb1f19 | 486 | hpp | C++ | vectored/include/SVG.hpp | Sylvain-Durand/Vectored | fe72231c316af1053e27d02ade16d8c2c2864e34 | [
"MIT"
] | 1 | 2022-03-16T18:11:19.000Z | 2022-03-16T18:11:19.000Z | vectored/include/SVG.hpp | Sylvain-Durand/Vectored | fe72231c316af1053e27d02ade16d8c2c2864e34 | [
"MIT"
] | null | null | null | vectored/include/SVG.hpp | Sylvain-Durand/Vectored | fe72231c316af1053e27d02ade16d8c2c2864e34 | [
"MIT"
] | null | null | null | #pragma once
#include "Utils.h"
namespace Vectored {
class SVG {
public:
/**
* @brief Construct a new SVG object
*
*/
explicit SVG() = default;
/**
* @brief Export this SVG to \ref path
*
* @param path The path to export to
* @return true If the export was a success
... | 16.2 | 47 | 0.596708 | Sylvain-Durand |
04dca4ffd47e4c67c0212f641ff4599ac9ec24c3 | 3,471 | hh | C++ | AdjacentLoss.hh | lemrobotry/thesis | 14ad489e8f04cb957707b89c454ee7d81ec672ad | [
"MIT"
] | null | null | null | AdjacentLoss.hh | lemrobotry/thesis | 14ad489e8f04cb957707b89c454ee7d81ec672ad | [
"MIT"
] | null | null | null | AdjacentLoss.hh | lemrobotry/thesis | 14ad489e8f04cb957707b89c454ee7d81ec672ad | [
"MIT"
] | null | null | null | #ifndef _PERMUTE_ADJACENT_LOSS_HH
#define _PERMUTE_ADJACENT_LOSS_HH
#include "ExpectationSemiring.hh"
#include "GradientChart.hh"
#include "ParseController.hh"
#include "Permutation.hh"
namespace Permute {
class AdjacentLoss {
private:
const Permutation & target_;
std::vector <size_t> succ_;
public:
... | 28.45082 | 86 | 0.623163 | lemrobotry |
04dd00d9f21b8c546e1b7c70fa60199d0d502ae7 | 2,595 | cc | C++ | cinn/frontend/op_mapper_registry.cc | hp03/CINN | 2a162037b1665877ce005750691415ddd859d446 | [
"Apache-2.0"
] | 1 | 2022-03-05T09:30:02.000Z | 2022-03-05T09:30:02.000Z | cinn/frontend/op_mapper_registry.cc | hp03/CINN | 2a162037b1665877ce005750691415ddd859d446 | [
"Apache-2.0"
] | null | null | null | cinn/frontend/op_mapper_registry.cc | hp03/CINN | 2a162037b1665877ce005750691415ddd859d446 | [
"Apache-2.0"
] | null | null | null | // Copyright (c) 2021 CINN Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by appl... | 36.549296 | 104 | 0.698651 | hp03 |
04e15718371475a3c4efcb886b66eabc4220113b | 10,567 | cpp | C++ | Whisperwind/Whisperwind_Engine/src/SceneResource.cpp | harr999y/Whisperwind | 1171201f7cdcfe2e0043f305514dda66bf677f30 | [
"MIT"
] | 4 | 2015-10-14T05:06:48.000Z | 2020-06-18T12:12:09.000Z | Whisperwind/Whisperwind_Engine/src/SceneResource.cpp | harr999y/Whisperwind | 1171201f7cdcfe2e0043f305514dda66bf677f30 | [
"MIT"
] | null | null | null | Whisperwind/Whisperwind_Engine/src/SceneResource.cpp | harr999y/Whisperwind | 1171201f7cdcfe2e0043f305514dda66bf677f30 | [
"MIT"
] | 3 | 2015-03-11T06:20:03.000Z | 2018-11-22T02:19:18.000Z | /*-------------------------------------------------------------------------
This source file is a part of Whisperwind.(GameEngine + GamePlay + GameTools)
For the latest info, see http://lisuyong.com
Copyright (c) 2012 Suyong Li (79481268@qq.com)
Permission is hereby granted, free of charge, to any person obtain... | 38.849265 | 131 | 0.676635 | harr999y |
04e6e1103a57083993c8453fc837550564185e1c | 4,793 | cpp | C++ | Source/Plugin/Odbc/Src/DatabaseStatementParameterOdbc.cpp | DragonJoker/DatabaseConnector | 502b136588b46119c2a0f4ed6b6623c0cc6715c2 | [
"MIT"
] | 2 | 2018-03-01T01:14:38.000Z | 2019-10-27T13:29:18.000Z | Source/Plugin/Odbc/Src/DatabaseStatementParameterOdbc.cpp | DragonJoker/DatabaseConnector | 502b136588b46119c2a0f4ed6b6623c0cc6715c2 | [
"MIT"
] | null | null | null | Source/Plugin/Odbc/Src/DatabaseStatementParameterOdbc.cpp | DragonJoker/DatabaseConnector | 502b136588b46119c2a0f4ed6b6623c0cc6715c2 | [
"MIT"
] | null | null | null | /************************************************************************//**
* @file DatabaseStatementParameterOdbc.cpp
* @author Sylvain Doremus
* @version 1.0
* @date 3/20/2014 2:47:39 PM
*
*
* @brief CDatabaseStatementParameterOdbc class declaration.
*
* @details Describes a statement parameter for ODBC da... | 30.922581 | 237 | 0.724598 | DragonJoker |
04e8319630eeac864ce078b57028b3b6b27c4176 | 11,445 | cc | C++ | examples/uintTest/flow/audio_loop_test.cc | rockchip-linux/rkmedia | 992663e9069e8426f5a71f4045666786b3bd4bcf | [
"BSD-3-Clause"
] | 23 | 2020-02-29T10:47:22.000Z | 2022-01-20T01:52:21.000Z | examples/uintTest/flow/audio_loop_test.cc | rockchip-linux/rkmedia | 992663e9069e8426f5a71f4045666786b3bd4bcf | [
"BSD-3-Clause"
] | 13 | 2020-05-12T15:11:04.000Z | 2021-12-02T05:48:39.000Z | examples/uintTest/flow/audio_loop_test.cc | rockchip-linux/rkmedia | 992663e9069e8426f5a71f4045666786b3bd4bcf | [
"BSD-3-Clause"
] | 19 | 2020-01-12T04:07:33.000Z | 2022-02-18T08:43:19.000Z | // Copyright 2020 Fuzhou Rockchip Electronics Co., Ltd. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "assert.h"
#include "signal.h"
#include "stdint.h"
#include "stdio.h"
#include "unistd.h"
#include <iostream>
#include <memory>
... | 32.148876 | 83 | 0.676365 | rockchip-linux |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.