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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ba4967bf1effde33cbcaedadb73e57e26d834ab7 | 2,400 | cpp | C++ | src/betting_abstraction_params.cpp | ericgjackson/slumbot2017 | f0ddb6af63e9f7e25ffa7ef01337d47299a6520d | [
"MIT"
] | 15 | 2017-11-01T16:11:46.000Z | 2020-08-18T14:20:12.000Z | src/betting_abstraction_params.cpp | ericgjackson/slumbot2017 | f0ddb6af63e9f7e25ffa7ef01337d47299a6520d | [
"MIT"
] | 11 | 2020-02-16T12:45:33.000Z | 2022-02-10T07:20:47.000Z | src/betting_abstraction_params.cpp | ericgjackson/slumbot2017 | f0ddb6af63e9f7e25ffa7ef01337d47299a6520d | [
"MIT"
] | 7 | 2017-11-01T18:32:31.000Z | 2021-01-11T17:55:59.000Z | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <string>
#include "betting_abstraction_params.h"
#include "params.h"
using namespace std;
unique_ptr<Params> CreateBettingAbstractionParams(void) {
unique_ptr<Params> params(new Params());
params->AddParam("BettingAbstractionName", P_STRING);
... | 38.709677 | 57 | 0.745417 | ericgjackson |
ba4a8d2f68ee7dccee998f6e10ecd67a836e8e5f | 615 | cpp | C++ | examples/asteroids/src/systems/RenderSystem.cpp | CorundumGames/AshPlusPlus | d346cf9029798e710fee4d8e3d5f305c90d04caa | [
"MIT"
] | 2 | 2016-12-17T23:19:06.000Z | 2017-07-19T14:44:57.000Z | examples/asteroids/src/systems/RenderSystem.cpp | CorundumGames/AshPlusPlus | d346cf9029798e710fee4d8e3d5f305c90d04caa | [
"MIT"
] | null | null | null | examples/asteroids/src/systems/RenderSystem.cpp | CorundumGames/AshPlusPlus | d346cf9029798e710fee4d8e3d5f305c90d04caa | [
"MIT"
] | null | null | null | #include "asteroids/include/systems/RenderSystem.hpp"
#include <iostream>
namespace net {
namespace richardlord {
namespace asteroids {
namespace systems {
RenderSystem::RenderSystem(const shared_ptr<RenderWindow> window) : _nodes(), _window(window) {
}
void RenderSystem::update(const double time) {
this->_wind... | 21.206897 | 95 | 0.707317 | CorundumGames |
ba50939927e301db7852eb248a74491f4a3965c9 | 3,950 | cpp | C++ | EpicForceTools/commonlib/Stage.cpp | MacgyverLin/MagnumEngine | 975bd4504a1e84cb9698c36e06bd80c7b8ced0ff | [
"MIT"
] | 1 | 2021-03-30T06:28:32.000Z | 2021-03-30T06:28:32.000Z | EpicForceTools/commonlib/Stage.cpp | MacgyverLin/MagnumEngine | 975bd4504a1e84cb9698c36e06bd80c7b8ced0ff | [
"MIT"
] | null | null | null | EpicForceTools/commonlib/Stage.cpp | MacgyverLin/MagnumEngine | 975bd4504a1e84cb9698c36e06bd80c7b8ced0ff | [
"MIT"
] | null | null | null | ///////////////////////////////////////////////////////////////////
// Copyright(c) 2011-, EpicForce Entertainment Limited
//
// Author : Mac Lin
// Module : EpicForceEngine
// Date : 19/Aug/2011
//
///////////////////////////////////////////////////////////////////
#include "Stage.h"
using namespace EpicForce;
na... | 19.75 | 67 | 0.592405 | MacgyverLin |
ba55d3cc1b03cba45d0554fc3cef6832b3b53ace | 6,272 | cpp | C++ | Source/udUUID.cpp | dpev/udcore | 429858cf94e5db56f39798999ffc889d5c6be527 | [
"MIT"
] | 1 | 2021-07-05T23:01:42.000Z | 2021-07-05T23:01:42.000Z | 3rdParty/udcore/Source/udUUID.cpp | HuYueXiong/Euclideon_Vault | 044cc9ee80d99702cfe3fc55832272c0b3fae9a7 | [
"MIT"
] | 1 | 2020-09-14T05:42:20.000Z | 2020-09-14T05:42:20.000Z | Source/udUUID.cpp | dpev/udcore | 429858cf94e5db56f39798999ffc889d5c6be527 | [
"MIT"
] | null | null | null | #include "udUUID.h"
#include "udStringUtil.h"
#include "udMath.h"
#include "udCrypto.h"
#include "udPlatformUtil.h"
// ***************************************************************************
// Author: Paul Fox, April 2018
void udUUID_Clear(udUUID *pUUID)
{
memset(pUUID, 0, sizeof(udUUID));
}
// **************... | 28.125561 | 148 | 0.550383 | dpev |
ba57ad5edcdbcf65168883efff629fad80bc72b0 | 23,057 | cpp | C++ | pbe/src/pbe/Renderer/CommandContext.cpp | pavilbezpravil/pbEngine | 55c051bdb296f0960ad05447d385a554334c4b5c | [
"Apache-2.0"
] | null | null | null | pbe/src/pbe/Renderer/CommandContext.cpp | pavilbezpravil/pbEngine | 55c051bdb296f0960ad05447d385a554334c4b5c | [
"Apache-2.0"
] | null | null | null | pbe/src/pbe/Renderer/CommandContext.cpp | pavilbezpravil/pbEngine | 55c051bdb296f0960ad05447d385a554334c4b5c | [
"Apache-2.0"
] | null | null | null | #include "pch.h"
#include "CommandContext.h"
#include "ColorBuffer.h"
#include "DepthBuffer.h"
#include "GraphicsCore.h"
#include "Shader.h"
#ifndef RELEASE
#include <d3d11_2.h>
#include <pix3.h>
#endif
using namespace Graphics;
namespace
{
D3D12_COMMAND_LIST_TYPE CommandListTypeFromContextType(ContextType... | 34.829305 | 190 | 0.747192 | pavilbezpravil |
ba5865c5008b2f9753264799b8444f091b42e12c | 348 | cpp | C++ | solutions_cpp/check_if_it_Is_a_straight_line.cpp | aaishikasb/Leetcoding | c6ad25486716d43c780d840cc80aa20ef51a8674 | [
"MIT"
] | null | null | null | solutions_cpp/check_if_it_Is_a_straight_line.cpp | aaishikasb/Leetcoding | c6ad25486716d43c780d840cc80aa20ef51a8674 | [
"MIT"
] | null | null | null | solutions_cpp/check_if_it_Is_a_straight_line.cpp | aaishikasb/Leetcoding | c6ad25486716d43c780d840cc80aa20ef51a8674 | [
"MIT"
] | null | null | null | class Solution
{
public:
bool checkStraightLine(vector<vector<int>> &cs)
{
size_t n = cs.size();
int x1 = cs[0][0], y1 = cs[0][1], x = cs[1][0] - x1, y = cs[1][1] - y1;
for (int i = 2; i < n; i++)
if (x * (cs[i][1] - y1) != y * (cs[i][0] - x1))
return false;
... | 26.769231 | 79 | 0.422414 | aaishikasb |
ba5cec69d39c244063c9da396176c5c2bb13d84c | 728,886 | cpp | C++ | test/normalize_to_nfd_066.cpp | jan-moeller/text | c61e51c82dfb0ae6e74200c01ce040fa6db730c4 | [
"BSL-1.0"
] | null | null | null | test/normalize_to_nfd_066.cpp | jan-moeller/text | c61e51c82dfb0ae6e74200c01ce040fa6db730c4 | [
"BSL-1.0"
] | null | null | null | test/normalize_to_nfd_066.cpp | jan-moeller/text | c61e51c82dfb0ae6e74200c01ce040fa6db730c4 | [
"BSL-1.0"
] | null | null | null | // Warning! This file is autogenerated.
#include <boost/text/normalize_string.hpp>
#include <boost/text/utility.hpp>
#include <boost/text/string_utility.hpp>
#include <gtest/gtest.h>
#include <algorithm>
TEST(normalization, nfd_066_000)
{
// D620;D620;1112 1168 11AB;D620;1112 1168 11AB;
// (혠; 혠; 혠; 혠; ... | 36.790127 | 88 | 0.500047 | jan-moeller |
ba5e0305fb5a1d3961795934b87922cc8813a5c2 | 2,473 | hpp | C++ | inc/polyhedron.hpp | pirobtumen/UGR_IG | 8492d6c8a68e2151cc18103f0168a078afb46c3b | [
"MIT"
] | null | null | null | inc/polyhedron.hpp | pirobtumen/UGR_IG | 8492d6c8a68e2151cc18103f0168a078afb46c3b | [
"MIT"
] | null | null | null | inc/polyhedron.hpp | pirobtumen/UGR_IG | 8492d6c8a68e2151cc18103f0168a078afb46c3b | [
"MIT"
] | null | null | null | // Informática Gráfica
//
// Alberto Sola - 2016
// -----------------------------------------------------------------------------
#ifndef __POLYHEDRON_HPP
#define __POLYHEDRON_HPP
#include <vector>
#include <GL/glut.h>
#include "vertex.h"
#include "object3d.hpp"
#include "utilities.hpp"
#include "file_ply_stl.h"
#... | 27.477778 | 80 | 0.536595 | pirobtumen |
ba652cd0905bb2f0670f65cb223a314e9a02f6b9 | 1,152 | hpp | C++ | sem1-2-cource1/SEM-25-AP-1-Complex.hpp | yokkidack/bmstu | 3533ac4cd5376b25c1f236ce606e3e2c28944244 | [
"MIT"
] | null | null | null | sem1-2-cource1/SEM-25-AP-1-Complex.hpp | yokkidack/bmstu | 3533ac4cd5376b25c1f236ce606e3e2c28944244 | [
"MIT"
] | 15 | 2019-01-19T18:17:24.000Z | 2019-02-18T18:05:47.000Z | sem1-2-cource1/SEM-25-AP-1-Complex.hpp | yokkidack/bmstu | 3533ac4cd5376b25c1f236ce606e3e2c28944244 | [
"MIT"
] | 3 | 2019-02-14T15:37:52.000Z | 2020-09-27T10:15:11.000Z | template<template T>
class Complex {
//комплексное число a + ib
//комплекстносопряженное
public:
//tupedef <old type> <new type> -- type definition
Complex();//конструктор по умолчанию
Complex(type a); // коструктор с параметром
Complex(type a, type b);
Complex(const Complex& c);
auto swap(Complex&) -> void;
auto ope... | 28.8 | 137 | 0.729167 | yokkidack |
ba683db50444b74236fede74696edb7fefdf410a | 4,177 | cpp | C++ | test/core/core_func_packing.cpp | MoonCollider/glm | 493b36cf1592e83bcc11e7ffd06c6d847fedafdf | [
"MIT"
] | null | null | null | test/core/core_func_packing.cpp | MoonCollider/glm | 493b36cf1592e83bcc11e7ffd06c6d847fedafdf | [
"MIT"
] | null | null | null | test/core/core_func_packing.cpp | MoonCollider/glm | 493b36cf1592e83bcc11e7ffd06c6d847fedafdf | [
"MIT"
] | null | null | null | ///////////////////////////////////////////////////////////////////////////////////////////////////
// OpenGL Mathematics Copyright (c) 2005 - 2013 G-Truc Creation (www.g-truc.net)
///////////////////////////////////////////////////////////////////////////////////////////////////
// Created : 2011-01-15
// Updated : 20... | 24.570588 | 99 | 0.558535 | MoonCollider |
ba696a5e828b02f2e0adc5f0f47df4208fee1cd4 | 1,475 | cpp | C++ | Example/asio_09/main.cpp | KwangjoJeong/Boost | 29c4e2422feded66a689e3aef73086c5cf95b6fe | [
"MIT"
] | null | null | null | Example/asio_09/main.cpp | KwangjoJeong/Boost | 29c4e2422feded66a689e3aef73086c5cf95b6fe | [
"MIT"
] | null | null | null | Example/asio_09/main.cpp | KwangjoJeong/Boost | 29c4e2422feded66a689e3aef73086c5cf95b6fe | [
"MIT"
] | null | null | null | #include <boost/asio/io_service.hpp>
#include <boost/asio/windows/overlapped_ptr.hpp>
#include <boost/system/error_code.hpp>
#include <iostream>
#include <Windows.h>
using namespace boost::asio;
using namespace boost::system;
int main()
{
io_service ioservice;
HANDLE file_handle = CreateFileA(".", FILE_LIST_DIRE... | 29.5 | 76 | 0.717288 | KwangjoJeong |
ba6f300ca1fa5b537130035eaef2c9af1ea87842 | 354 | cpp | C++ | string/M_TextDocumentAnalysis.cpp | HieuuuLeee/WorldFinal | ea1b1e697e6e7987018a5a79402d1a2659270591 | [
"MIT"
] | null | null | null | string/M_TextDocumentAnalysis.cpp | HieuuuLeee/WorldFinal | ea1b1e697e6e7987018a5a79402d1a2659270591 | [
"MIT"
] | null | null | null | string/M_TextDocumentAnalysis.cpp | HieuuuLeee/WorldFinal | ea1b1e697e6e7987018a5a79402d1a2659270591 | [
"MIT"
] | null | null | null | // https://codeforces.com/problemset/problem/723/B
#include<bits/stdc++.h>
using namespace std;
#define INFILE(name) freopen(name, "r", stdin)
#define OUFILE(name) freopen(name, "w", stdout)
int main(){
INFILE("../in.txt");
OUFILE("../out.txt");
string s = "_Hello_Vasya";
vector<string> ss;
i... | 27.230769 | 52 | 0.621469 | HieuuuLeee |
ba6fbf5525487dfa7bc4f21dcf519637c35a8613 | 364 | cpp | C++ | UVa/UVa_11364.cpp | naimulcsx/online-judge-solutions | 0b80f81bcfb05a7cfe7fc925304c70b19eff1d6f | [
"MIT"
] | null | null | null | UVa/UVa_11364.cpp | naimulcsx/online-judge-solutions | 0b80f81bcfb05a7cfe7fc925304c70b19eff1d6f | [
"MIT"
] | null | null | null | UVa/UVa_11364.cpp | naimulcsx/online-judge-solutions | 0b80f81bcfb05a7cfe7fc925304c70b19eff1d6f | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
int main() {
int t;
cin >> t;
while(t--) {
int n, input, max = 0, min = 1000;
cin >> n;
while(n--) {
cin >> input;
if (input > max) max = input;
if (input < min) min = input;
}
cout << 2 *... | 17.333333 | 42 | 0.409341 | naimulcsx |
ba72027fce4d0fb997146fe0b51a3a7893083ec2 | 1,825 | hpp | C++ | graph/dijkstra.hpp | fumiphys/programming_contest | b9466e646045e1c64571af2a1e64813908e70841 | [
"MIT"
] | 7 | 2019-04-30T14:25:40.000Z | 2020-12-19T17:38:11.000Z | graph/dijkstra.hpp | fumiphys/programming_contest | b9466e646045e1c64571af2a1e64813908e70841 | [
"MIT"
] | 46 | 2018-09-19T16:42:09.000Z | 2020-05-07T09:05:08.000Z | graph/dijkstra.hpp | fumiphys/programming_contest | b9466e646045e1c64571af2a1e64813908e70841 | [
"MIT"
] | null | null | null | /*
* dijkstra algorithm
* condition:
* no negative edge
*/
#ifndef _DIJKSTRA_H_
#define _DIJKSTRA_H_
#include <algorithm>
#include <cassert>
#include <iostream>
#include <vector>
#include <utility>
#include <queue>
using namespace std;
using ll = long long int;
// begin library dijkstra here
// usage of this lib... | 22.8125 | 83 | 0.562192 | fumiphys |
ba7363bc5565fdbdf0099f54747351f888b2b8b0 | 16,219 | cpp | C++ | src/lfortran/fortran_kernel.cpp | Thirumalai-Shaktivel/lfortran | bb39faf1094b028351d5aefe27d64ee69302300a | [
"BSD-3-Clause"
] | null | null | null | src/lfortran/fortran_kernel.cpp | Thirumalai-Shaktivel/lfortran | bb39faf1094b028351d5aefe27d64ee69302300a | [
"BSD-3-Clause"
] | null | null | null | src/lfortran/fortran_kernel.cpp | Thirumalai-Shaktivel/lfortran | bb39faf1094b028351d5aefe27d64ee69302300a | [
"BSD-3-Clause"
] | null | null | null | #include <iostream>
#include <stdio.h>
#include <stdlib.h>
#ifdef _WIN32
# include <io.h>
# define fileno _fileno
# define dup _dup
# define dup2 _dup2
# define close _close
# include <fcntl.h>
#else
# include <unistd.h>
#endif
#include <xeus/xinterpreter.hpp>
#include <xeus/xkernel.hpp>
#includ... | 36.777778 | 112 | 0.479684 | Thirumalai-Shaktivel |
ba760958b7bf8dcc4bfdb1f66b029d33205d30a1 | 353 | cpp | C++ | Year3Engine/ClientSocket.cpp | EvanCGriffin/soccergame | 8056b39a4c7adfab3aa47333237474fc8250e7ac | [
"MIT"
] | 1 | 2021-09-29T14:27:07.000Z | 2021-09-29T14:27:07.000Z | Year3Engine/ClientSocket.cpp | EvanCGriffin/soccergame | 8056b39a4c7adfab3aa47333237474fc8250e7ac | [
"MIT"
] | null | null | null | Year3Engine/ClientSocket.cpp | EvanCGriffin/soccergame | 8056b39a4c7adfab3aa47333237474fc8250e7ac | [
"MIT"
] | null | null | null | #include "ClientSocket.h"
ClientSocket::ClientSocket(TCPSocket* socket)
:TCPSocket(socket)
{
}
ClientSocket::~ClientSocket()
{
}
//on ready handler
void ClientSocket::OnReady()
{
//read from socket
//string s = Receive();
//notify application
//CApplication::GetApplication()->SendMessage(MSGID_SocketData,(MS... | 16.045455 | 98 | 0.728045 | EvanCGriffin |
ba782a1fcb553c3b789d8395830b4d4bf200dcd5 | 4,387 | cpp | C++ | assignment-8 Indexing/FolderReader.cpp | Arda-Bati/RDBMS-Homeworks | e3b121b5d8587552cc7177228ba5a5bea5c2cf68 | [
"Apache-2.0"
] | 1 | 2021-04-01T23:45:48.000Z | 2021-04-01T23:45:48.000Z | assignment-8 Indexing/FolderReader.cpp | Arda-Bati/Relational-Database | e3b121b5d8587552cc7177228ba5a5bea5c2cf68 | [
"Apache-2.0"
] | null | null | null | assignment-8 Indexing/FolderReader.cpp | Arda-Bati/Relational-Database | e3b121b5d8587552cc7177228ba5a5bea5c2cf68 | [
"Apache-2.0"
] | null | null | null | //
// FolderReader.cpp
// Database3
//
// Created by rick gessner on 4/12/19.
// Copyright © 2019 rick gessner. All rights reserved.
//
#include <stdio.h>
#include "FolderReader.hpp"
#ifdef __APPLE__
#include <dirent.h>
#elif __linux__
#include <dirent.h>
#else
#include "dirent_win.hpp"
#... | 26.75 | 89 | 0.557784 | Arda-Bati |
ba7973c286bc00d929218642219b5ec3b02027f1 | 5,238 | cpp | C++ | A1/q3.cpp | daniRiesgo/cs343 | 814938b9c2e4b4041815a6ab38680102fb10213e | [
"MIT"
] | null | null | null | A1/q3.cpp | daniRiesgo/cs343 | 814938b9c2e4b4041815a6ab38680102fb10213e | [
"MIT"
] | null | null | null | A1/q3.cpp | daniRiesgo/cs343 | 814938b9c2e4b4041815a6ab38680102fb10213e | [
"MIT"
] | null | null | null | #include <iostream>
#include <fstream>
#include <sstream>
using namespace std;
_Event H { // uC++ exception type
public:
int &i; // pointer to fixup variable at raise
H( int &i ) : i( i ) {}
};
_Coroutine FloatConstant ... | 27 | 130 | 0.38068 | daniRiesgo |
ba7b48098fef1092e36b10d8fc10548e8edb2882 | 107 | cpp | C++ | DragonBallNES/src/main.cpp | anomage/DragonBallNES | 9ef361964041ed445a36af7c1d515e74a3a88fb4 | [
"CC0-1.0"
] | null | null | null | DragonBallNES/src/main.cpp | anomage/DragonBallNES | 9ef361964041ed445a36af7c1d515e74a3a88fb4 | [
"CC0-1.0"
] | null | null | null | DragonBallNES/src/main.cpp | anomage/DragonBallNES | 9ef361964041ed445a36af7c1d515e74a3a88fb4 | [
"CC0-1.0"
] | null | null | null | #include "Core/Application.h"
int main()
{
Log::init();
Application app;
std::cin.get();
return 0;
} | 9.727273 | 29 | 0.626168 | anomage |
ba7e16b71af63b3f45056a2eb4ff6aae9b16d7be | 44,047 | cpp | C++ | src/gamesnd/eventmusic.cpp | ptitSeb/freespace2 | 500ee249f7033aac9b389436b1737a404277259c | [
"Linux-OpenIB"
] | 1 | 2020-07-14T07:29:18.000Z | 2020-07-14T07:29:18.000Z | src/gamesnd/eventmusic.cpp | ptitSeb/freespace2 | 500ee249f7033aac9b389436b1737a404277259c | [
"Linux-OpenIB"
] | 2 | 2019-01-01T22:35:56.000Z | 2022-03-14T07:34:00.000Z | src/gamesnd/eventmusic.cpp | ptitSeb/freespace2 | 500ee249f7033aac9b389436b1737a404277259c | [
"Linux-OpenIB"
] | 2 | 2021-03-07T11:40:42.000Z | 2021-12-26T21:40:39.000Z | /*
* Copyright (C) Volition, Inc. 1999. All rights reserved.
*
* All source code herein is the property of Volition, Inc. You may not sell
* or otherwise commercially exploit the source or things you created based on
* the source.
*/
/*
* $Logfile: /Freespace2/code/Gamesnd/EventMusic.cpp $
* $Revision: 307 $... | 28.435765 | 159 | 0.669921 | ptitSeb |
ba808f02722003260e527caca96416fca271f52d | 17,173 | cpp | C++ | DirectProgramming/DPC++FPGA/Tutorials/DesignPatterns/n_way_buffering/src/n_way_buffering.cpp | abijaz/oneAPI-samples | 41aca6740afbccb5bd5b56d318fda151457a5199 | [
"MIT"
] | 1 | 2022-01-06T02:50:30.000Z | 2022-01-06T02:50:30.000Z | DirectProgramming/DPC++FPGA/Tutorials/DesignPatterns/n_way_buffering/src/n_way_buffering.cpp | abijaz/oneAPI-samples | 41aca6740afbccb5bd5b56d318fda151457a5199 | [
"MIT"
] | 4 | 2021-07-05T15:35:22.000Z | 2022-03-28T15:51:54.000Z | DirectProgramming/DPC++FPGA/Tutorials/DesignPatterns/n_way_buffering/src/n_way_buffering.cpp | junxnone/oneAPI-samples | f414747b5676688d690655c6043b71577027fc19 | [
"MIT"
] | 3 | 2020-08-24T00:36:23.000Z | 2022-01-09T03:17:48.000Z | //==============================================================
// Copyright Intel Corporation
//
// SPDX-License-Identifier: MIT
// =============================================================
#include <CL/sycl.hpp>
#include <sycl/ext/intel/fpga_extensions.hpp>
#include <cmath>
#include <iomanip>
#include <random>
#... | 38.418345 | 81 | 0.621441 | abijaz |
ba8375a440ea74f5b277301e8ae103e4a27254ac | 755 | cpp | C++ | cppPrime/cppDataType_c03/test_04.cpp | ilvcr/cpplgproject | d3dc492b37c3754e35669eee2dd96d83de63ead4 | [
"Apache-2.0"
] | null | null | null | cppPrime/cppDataType_c03/test_04.cpp | ilvcr/cpplgproject | d3dc492b37c3754e35669eee2dd96d83de63ead4 | [
"Apache-2.0"
] | null | null | null | cppPrime/cppDataType_c03/test_04.cpp | ilvcr/cpplgproject | d3dc492b37c3754e35669eee2dd96d83de63ead4 | [
"Apache-2.0"
] | null | null | null | /*************************************************************************
> File Name: test_04.cpp
> Author: @Yoghourt->ilvcr, Cn,Sx,Ty
> Mail: ilvcr@outlook.com || liyaoliu@foxmail.com
> Created Time: 2018年06月22日 星期五 14时23分04秒
> Description: string implemention
**********************************************... | 22.205882 | 74 | 0.449007 | ilvcr |
ba8382ee5dd807f6c0181cec32b3d2002fbcba92 | 1,724 | hpp | C++ | luabind/tag_function.hpp | libkeiser/luabind-deboostified | 2e434194d93159c83648c9fc36fbd813a8b470cb | [
"MIT"
] | 1 | 2020-04-01T12:19:48.000Z | 2020-04-01T12:19:48.000Z | luabind/tag_function.hpp | libkeiser/luabind-deboostified | 2e434194d93159c83648c9fc36fbd813a8b470cb | [
"MIT"
] | null | null | null | luabind/tag_function.hpp | libkeiser/luabind-deboostified | 2e434194d93159c83648c9fc36fbd813a8b470cb | [
"MIT"
] | 1 | 2020-12-25T18:15:37.000Z | 2020-12-25T18:15:37.000Z | // Copyright Daniel Wallin 2008. Use, modification and distribution is
// subject to the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#ifndef LUABIND_TAG_FUNCTION_081129_HPP
#define LUABIND_TAG_FUNCTION_081129_HPP
#include <luabind/con... | 26.9375 | 125 | 0.738399 | libkeiser |
ba839044c010ac9d8d3ed3ccdd27f3ae0a198927 | 21,873 | cpp | C++ | src/system/kernel/arch/riscv64/RISCV64VMTranslationMap.cpp | afeinberg/haiku | 38eb9fb0eb050aefd2ca57bd87210a1cce158aa4 | [
"MIT"
] | 1,338 | 2015-01-03T20:06:56.000Z | 2022-03-26T13:49:54.000Z | src/system/kernel/arch/riscv64/RISCV64VMTranslationMap.cpp | afeinberg/haiku | 38eb9fb0eb050aefd2ca57bd87210a1cce158aa4 | [
"MIT"
] | 15 | 2015-01-17T22:19:32.000Z | 2021-12-20T12:35:00.000Z | src/system/kernel/arch/riscv64/RISCV64VMTranslationMap.cpp | afeinberg/haiku | 38eb9fb0eb050aefd2ca57bd87210a1cce158aa4 | [
"MIT"
] | 350 | 2015-01-08T14:15:27.000Z | 2022-03-21T18:14:35.000Z | /*
* Copyright 2020-2021, Haiku, Inc. All rights reserved.
* Distributed under the terms of the MIT License.
*
* Authors:
* X512 <danger_mail@list.ru>
*/
#include "RISCV64VMTranslationMap.h"
#include <kernel.h>
#include <vm/vm_priv.h>
#include <vm/vm_page.h>
#include <vm/VMAddressSpace.h>
#include <vm/VMCach... | 23.34365 | 80 | 0.685045 | afeinberg |
ba83c2565845c7b6bdec85ef00e8f75445738f1d | 836 | cpp | C++ | lessons/08-streams/src/problem_01/main.cpp | chemphys/LearnCPP | 025a6e043c6eadb61324c261168bbd0478d9690b | [
"BSD-3-Clause"
] | null | null | null | lessons/08-streams/src/problem_01/main.cpp | chemphys/LearnCPP | 025a6e043c6eadb61324c261168bbd0478d9690b | [
"BSD-3-Clause"
] | null | null | null | lessons/08-streams/src/problem_01/main.cpp | chemphys/LearnCPP | 025a6e043c6eadb61324c261168bbd0478d9690b | [
"BSD-3-Clause"
] | null | null | null | #include <iostream>
#include <cassert>
#include "molecule.h"
int main() {
std::ifstream ifs_m1;
std::ifstream ifs_m2;
std::ifstream ifs_m12;
std::ofstream ofs_m1;
std::ofstream ofs_m2;
std::ofstream ofs_m12;
ifs_m1.open("src/problem_01/mol1.xyz");
ifs_m2.open("src/problem_01/mol2.xyz");
ifs_m12.op... | 17.416667 | 44 | 0.681818 | chemphys |
ba83c71be1a1929b5edbbc11b34c1733a1555018 | 12,384 | cc | C++ | src/rpc/lz4_fragmented_compressor.cc | bhalevy/seastar | f17d48138d5c159b351c2468de890002e013da7d | [
"Apache-2.0"
] | 6 | 2020-03-23T03:22:58.000Z | 2021-05-12T11:42:16.000Z | src/rpc/lz4_fragmented_compressor.cc | bhalevy/seastar | f17d48138d5c159b351c2468de890002e013da7d | [
"Apache-2.0"
] | 7 | 2019-11-19T14:43:39.000Z | 2019-12-14T19:00:49.000Z | src/rpc/lz4_fragmented_compressor.cc | bhalevy/seastar | f17d48138d5c159b351c2468de890002e013da7d | [
"Apache-2.0"
] | 1 | 2021-11-21T04:30:41.000Z | 2021-11-21T04:30:41.000Z | /*
* This file is open source software, licensed to you under the terms
* of the Apache License, Version 2.0 (the "License"). See the NOTICE file
* distributed with this work for additional information regarding copyright
* ownership. You may not use this file except in compliance with the License.
*
* You may ... | 39.692308 | 145 | 0.666182 | bhalevy |
ba8af3bade42347d5b39aa01177dd30be3bb4602 | 2,170 | hh | C++ | src/core/capability_helper.hh | nugulinux/nugu-linux | c166d61b2037247d4574b7f791c31ba79ceb575e | [
"Apache-2.0"
] | null | null | null | src/core/capability_helper.hh | nugulinux/nugu-linux | c166d61b2037247d4574b7f791c31ba79ceb575e | [
"Apache-2.0"
] | null | null | null | src/core/capability_helper.hh | nugulinux/nugu-linux | c166d61b2037247d4574b7f791c31ba79ceb575e | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2019 SK Telecom Co., Ltd. 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 requir... | 35.57377 | 132 | 0.752074 | nugulinux |
ba8bd1af07cc5e14e7e35980e1d5244fa3d5ff55 | 346 | hpp | C++ | RIT_Library/src/include/log/utils/EnumUtils.hpp | PWrGitHub194238/RIT | 74ae41ce8cfdca3f14fc1e9a36840c68dff42b23 | [
"Apache-2.0"
] | null | null | null | RIT_Library/src/include/log/utils/EnumUtils.hpp | PWrGitHub194238/RIT | 74ae41ce8cfdca3f14fc1e9a36840c68dff42b23 | [
"Apache-2.0"
] | 1 | 2016-02-14T18:27:05.000Z | 2016-03-15T17:32:11.000Z | BinaryIMST_Library/src/include/log/utils/EnumUtils.hpp | PWrGitHub194238/BinaryIMST | 53490c10580fd4ad61c9234b82b3140c5cce5de0 | [
"Apache-2.0"
] | null | null | null | /*
* EnumUtils.hpp
*
* Created on: 3 mar 2016
* Author: tomasz
*/
#ifndef SRC_INCLUDE_LOG_UTILS_ENUMUTILS_HPP_
#define SRC_INCLUDE_LOG_UTILS_ENUMUTILS_HPP_
#include "LocaleEnum.hpp"
namespace EnumUtils {
const char* getLocaleEnumString(LocaleEnum key);
} // namespace EnumUtils
#endif /* SRC_INCLUDE_LO... | 17.3 | 49 | 0.760116 | PWrGitHub194238 |
ba91d63ba2fb0c06f69ae9b36b9f3d81ba14daa0 | 15,301 | cpp | C++ | lib/src/LayerImpl.cpp | Haititi/commsdsl | 32f7ddeafb06c5c6d3e2049f51f6bd710a30dc0b | [
"Apache-2.0"
] | null | null | null | lib/src/LayerImpl.cpp | Haititi/commsdsl | 32f7ddeafb06c5c6d3e2049f51f6bd710a30dc0b | [
"Apache-2.0"
] | null | null | null | lib/src/LayerImpl.cpp | Haititi/commsdsl | 32f7ddeafb06c5c6d3e2049f51f6bd710a30dc0b | [
"Apache-2.0"
] | null | null | null | //
// Copyright 2018 - 2020 (C). Alex Robenko. 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 requi... | 26.518198 | 112 | 0.589896 | Haititi |
ba931dc1922a0b8165f499a49bdf6cd99a30be3a | 2,397 | hpp | C++ | plugins/EventLocatorPlugin/src/base/event/Contact.hpp | ddj116/gmat | 39673be967d856f14616462fb6473b27b21b149f | [
"NASA-1.3"
] | 1 | 2020-05-16T16:58:21.000Z | 2020-05-16T16:58:21.000Z | plugins/EventLocatorPlugin/src/base/event/Contact.hpp | ddj116/gmat | 39673be967d856f14616462fb6473b27b21b149f | [
"NASA-1.3"
] | null | null | null | plugins/EventLocatorPlugin/src/base/event/Contact.hpp | ddj116/gmat | 39673be967d856f14616462fb6473b27b21b149f | [
"NASA-1.3"
] | null | null | null | //$Id: Contact.hpp 1915 2011-11-16 19:09:31Z djconway@NDC $
//------------------------------------------------------------------------------
// Contact
//------------------------------------------------------------------------------
// GMAT: General Mission Analysis Tool.
//
// Copyright (c) 2... | 30.341772 | 80 | 0.643721 | ddj116 |
ba9b68144bee149505a56f612a23d133b74051c9 | 7,723 | cpp | C++ | test/patterns_testing_assign.cpp | adamtornhill/tinch_pp | 8cff964039b1d0e8fa69b5f6f67a39a4fcb692e4 | [
"BSD-2-Clause"
] | 38 | 2015-02-15T18:35:02.000Z | 2021-12-05T04:43:11.000Z | test/patterns_testing_assign.cpp | adamtornhill/tinch_pp | 8cff964039b1d0e8fa69b5f6f67a39a4fcb692e4 | [
"BSD-2-Clause"
] | null | null | null | test/patterns_testing_assign.cpp | adamtornhill/tinch_pp | 8cff964039b1d0e8fa69b5f6f67a39a4fcb692e4 | [
"BSD-2-Clause"
] | 12 | 2015-07-14T22:31:41.000Z | 2021-07-18T15:28:16.000Z | // Copyright (c) 2010, Adam Petersen <adam@adampetersen.se>. All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification, are
// permitted provided that the following conditions are met:
//
// 1. Redistributions of source code must retain the above copyright notice,... | 36.429245 | 111 | 0.645216 | adamtornhill |
baa0fcbd1c6837388d912df59ea3bcd0d4741e61 | 166 | hxx | C++ | src/Providers/UNIXProviders/TransparentBridgingStaticForwarding/UNIX_TransparentBridgingStaticForwarding_LINUX.hxx | brunolauze/openpegasus-providers-old | b00f1aad575bae144b8538bf57ba5fd5582a4ec7 | [
"MIT"
] | 1 | 2020-10-12T09:00:09.000Z | 2020-10-12T09:00:09.000Z | src/Providers/UNIXProviders/TransparentBridgingStaticForwarding/UNIX_TransparentBridgingStaticForwarding_LINUX.hxx | brunolauze/openpegasus-providers-old | b00f1aad575bae144b8538bf57ba5fd5582a4ec7 | [
"MIT"
] | null | null | null | src/Providers/UNIXProviders/TransparentBridgingStaticForwarding/UNIX_TransparentBridgingStaticForwarding_LINUX.hxx | brunolauze/openpegasus-providers-old | b00f1aad575bae144b8538bf57ba5fd5582a4ec7 | [
"MIT"
] | null | null | null | #ifdef PEGASUS_OS_LINUX
#ifndef __UNIX_TRANSPARENTBRIDGINGSTATICFORWARDING_PRIVATE_H
#define __UNIX_TRANSPARENTBRIDGINGSTATICFORWARDING_PRIVATE_H
#endif
#endif
| 13.833333 | 60 | 0.885542 | brunolauze |
baa7a88405617071eb88fbf3127c10c273afbde2 | 1,664 | cpp | C++ | strategies/tripathcnt.cpp | GihwanKim/Baekjoon | 52eb2bf80bb1243697858445e5b5e2d50d78be4e | [
"MIT"
] | null | null | null | strategies/tripathcnt.cpp | GihwanKim/Baekjoon | 52eb2bf80bb1243697858445e5b5e2d50d78be4e | [
"MIT"
] | null | null | null | strategies/tripathcnt.cpp | GihwanKim/Baekjoon | 52eb2bf80bb1243697858445e5b5e2d50d78be4e | [
"MIT"
] | null | null | null | /*
TRIPATHCNT : 삼각형 위의 최대 경로 수 세기
Difficulty : 중
Input :
2
4
1
1 1
1 1 1
1 1 1 1
4
9
5 7
1 3 2
3 5 5 6
Output :
8
3
*/
#include <iostream>
#include <cstring>
#define MAX_N 101
using namespace std... | 15.847619 | 73 | 0.397837 | GihwanKim |
baa89bfd605c1de9903561d9b685a305e0341f9e | 3,686 | cpp | C++ | System/src/Native/ProcessApiW32.cpp | kkptm/CppLikeCSharp | b2d8d9da9973c733205aa945c9ba734de0c734bc | [
"MIT"
] | 4 | 2021-10-14T01:43:00.000Z | 2022-03-13T02:16:08.000Z | src/Switch.System/src/Native/ProcessApiW32.cpp | sgf/Switch | 8e8e687a8bdc4f79d482680da3968e9b3e464b8b | [
"MIT"
] | null | null | null | src/Switch.System/src/Native/ProcessApiW32.cpp | sgf/Switch | 8e8e687a8bdc4f79d482680da3968e9b3e464b8b | [
"MIT"
] | 2 | 2020-02-01T02:19:01.000Z | 2021-12-30T06:44:00.000Z | #if defined(_WIN32)
#define UNICODE
#include <windows.h>
#include <tlhelp32.h>
#include <Switch/Undef.hpp>
#include "Api.hpp"
intptr Native::ProcessApi::Start(const System::Diagnostics::ProcessStartInfo& processStartInfo) {
System::Array<string> variables(processStartInfo.EnvironmentVariables().Count + 1);
Syst... | 37.612245 | 320 | 0.723549 | kkptm |
baa8bc61769bff2741680b75e74d2f123c84b749 | 1,322 | cpp | C++ | src/window.cpp | t17dr/zxpp | bc70c8d0e4f7880caca51badaee776c8f41bdcb1 | [
"MIT"
] | 8 | 2017-12-01T04:18:26.000Z | 2021-03-29T19:47:42.000Z | src/window.cpp | t17dr/zxpp | bc70c8d0e4f7880caca51badaee776c8f41bdcb1 | [
"MIT"
] | null | null | null | src/window.cpp | t17dr/zxpp | bc70c8d0e4f7880caca51badaee776c8f41bdcb1 | [
"MIT"
] | 2 | 2017-10-03T17:17:29.000Z | 2020-02-11T00:45:08.000Z | #include "window.h"
SDL_Window* createWindow(int width, int height, const char * title)
{
SDL_Window *mainwindow;
SDL_GLContext maincontext;
std::cout << "Initializing video subsystem..." << std::endl;
if (SDL_Init(SDL_INIT_VIDEO) < 0)
{
std::cerr << "Failed to initialize video subsystem: ... | 30.744186 | 93 | 0.663389 | t17dr |
baa91b9962584d938cb4eb07b8af225da22ccad2 | 10,276 | cpp | C++ | sakura_core/CSelectLang.cpp | toduq/sakura | d819494b53c0d0b8286a2991043d23fbeb368270 | [
"Zlib"
] | 6 | 2019-10-04T10:24:30.000Z | 2021-01-23T02:04:39.000Z | sakura_core/CSelectLang.cpp | Si-yeon1/sakura | 0f97078f8badd6e26ad864c63b84598309481feb | [
"Zlib"
] | 72 | 2018-12-29T11:59:48.000Z | 2021-10-05T07:29:21.000Z | sakura_core/CSelectLang.cpp | Si-yeon1/sakura | 0f97078f8badd6e26ad864c63b84598309481feb | [
"Zlib"
] | 1 | 2021-11-20T15:04:10.000Z | 2021-11-20T15:04:10.000Z | /*! @file
@brief 各国語メッセージリソース対応
@author nasukoji
@date 2011.04.10 新規作成
*/
/*
Copyright (C) 2011, nasukoji
Copyright (C) 2018-2021, Sakura Editor Organization
This source code is designed for sakura editor.
Please contact the copyright holder to use this code for other purpose.
*/
#include "stdafx.h"
#include... | 25.124694 | 130 | 0.716135 | toduq |
bab171cecc8dbeebf7966e4df1cc83db99ab2527 | 2,380 | cpp | C++ | tutorial/test_async_suspend_always.cpp | HungMingWu/librf | d3c568ca8c717e6e6d9607aee55e3da219a33c1e | [
"Apache-2.0"
] | null | null | null | tutorial/test_async_suspend_always.cpp | HungMingWu/librf | d3c568ca8c717e6e6d9607aee55e3da219a33c1e | [
"Apache-2.0"
] | null | null | null | tutorial/test_async_suspend_always.cpp | HungMingWu/librf | d3c568ca8c717e6e6d9607aee55e3da219a33c1e | [
"Apache-2.0"
] | null | null | null |
#include <chrono>
#include <iostream>
#include <string>
#include <thread>
#include "librf.h"
using namespace resumef;
future_t<> test_loop_sleep(size_t _N, const char * ch)
{
using namespace std::chrono;
for (size_t i = 0; i < _N; ++i)
{
co_await resumef::sleep_for(100ms);
std::cout << ch;
... | 25.052632 | 55 | 0.69958 | HungMingWu |
bab2330233c37bb300ef67463c28855651ab0129 | 10,390 | hpp | C++ | include/lbann/utils/tensor.hpp | jonesholger/lbann | 3214f189a1438565d695542e076c4fa8e7332d34 | [
"Apache-2.0"
] | 1 | 2020-08-17T18:38:42.000Z | 2020-08-17T18:38:42.000Z | include/lbann/utils/tensor.hpp | jonesholger/lbann | 3214f189a1438565d695542e076c4fa8e7332d34 | [
"Apache-2.0"
] | 1 | 2020-03-06T01:32:00.000Z | 2020-03-06T01:32:00.000Z | include/lbann/utils/tensor.hpp | jonesholger/lbann | 3214f189a1438565d695542e076c4fa8e7332d34 | [
"Apache-2.0"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2014-2021, Lawrence Livermore National Security, LLC.
// Produced at the Lawrence Livermore National Laboratory.
// Written by the LBANN Research Team (B. Van Essen, et al.) listed in
// the CONTRIBUTORS file. <lbann-dev@l... | 32.879747 | 80 | 0.697883 | jonesholger |
bab2508795fd6d6630b9bb718a34676bc6dea3e0 | 668 | cpp | C++ | plugins/opengl/src/vf/color_formats.cpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | 2 | 2016-01-27T13:18:14.000Z | 2018-05-11T01:11:32.000Z | plugins/opengl/src/vf/color_formats.cpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | null | null | null | plugins/opengl/src/vf/color_formats.cpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | 3 | 2018-05-11T01:11:34.000Z | 2021-04-24T19:47:45.000Z | // Copyright Carl Philipp Reh 2006 - 2019.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#include <sge/image/color/format.hpp>
#include <sge/opengl/vf/color_formats.hpp>
#include <sge/rend... | 37.111111 | 80 | 0.699102 | cpreh |
bab3ea4c07c24c9c8a1a3e9511924046b7a09a0a | 36,922 | cpp | C++ | matchinglib_poselib/source/poselib/thirdparty/opengv/src/relative_pose/modules/main.cpp | josefmaierfl/matchinglib_poselib | 3bd7125a1ddfea68dfa95c8b3f978cba4a678348 | [
"MIT"
] | 1 | 2021-12-30T14:58:18.000Z | 2021-12-30T14:58:18.000Z | matchinglib_poselib/source/poselib/thirdparty/opengv/src/relative_pose/modules/main.cpp | josefmaierfl/matchinglib_poselib | 3bd7125a1ddfea68dfa95c8b3f978cba4a678348 | [
"MIT"
] | 1 | 2020-08-19T16:11:15.000Z | 2020-08-19T16:11:15.000Z | matchinglib_poselib/source/poselib/thirdparty/opengv/src/relative_pose/modules/main.cpp | josefmaierfl/matchinglib_poselib | 3bd7125a1ddfea68dfa95c8b3f978cba4a678348 | [
"MIT"
] | 2 | 2020-09-28T13:20:59.000Z | 2022-01-04T10:56:02.000Z | /******************************************************************************
* Author: Laurent Kneip *
* Contact: kneip.laurent@gmail.com *
* License: Copyright (c) 2013 Laurent Kneip, ANU. All rights reserved. *
... | 35.951315 | 104 | 0.609014 | josefmaierfl |
bab5ae535927cfa2dbb4e8178fc6043330055269 | 2,950 | hxx | C++ | include/Tools/Code/Polar/Patterns/Pattern_polar_spc.hxx | FredrikBlomgren/aff3ct | fa616bd923b2dcf03a4cf119cceca51cf810d483 | [
"MIT"
] | 315 | 2016-06-21T13:32:14.000Z | 2022-03-28T09:33:59.000Z | include/Tools/Code/Polar/Patterns/Pattern_polar_spc.hxx | a-panella/aff3ct | 61509eb756ae3725b8a67c2d26a5af5ba95186fb | [
"MIT"
] | 153 | 2017-01-17T03:51:06.000Z | 2022-03-24T15:39:26.000Z | include/Tools/Code/Polar/Patterns/Pattern_polar_spc.hxx | a-panella/aff3ct | 61509eb756ae3725b8a67c2d26a5af5ba95186fb | [
"MIT"
] | 119 | 2017-01-04T14:31:58.000Z | 2022-03-21T08:34:16.000Z | #include <sstream>
#include "Tools/Exception/exception.hpp"
#include "Tools/Code/Polar/Patterns/Pattern_polar_r1.hpp"
#include "Tools/Code/Polar/Patterns/Pattern_polar_spc.hpp"
namespace aff3ct
{
namespace tools
{
Pattern_polar_spc
::Pattern_polar_spc(const int &N, const Binary_node<Pattern_polar_i>* node, const int ... | 21.691176 | 117 | 0.720678 | FredrikBlomgren |
ce006b79a5a8bca9dff2c495fef3ff4183faebb9 | 7,209 | hpp | C++ | boost/proto/v5/action/make.hpp | ericniebler/proto-0x | b8d80f1434e37a2a32613cdf58b02b5f7143cc1f | [
"BSL-1.0"
] | 11 | 2016-10-27T08:55:56.000Z | 2021-04-16T03:30:17.000Z | boost/proto/v5/action/make.hpp | ericniebler/proto-0x | b8d80f1434e37a2a32613cdf58b02b5f7143cc1f | [
"BSL-1.0"
] | 2 | 2019-02-05T17:13:02.000Z | 2019-02-05T18:34:53.000Z | boost/proto/v5/action/make.hpp | ericniebler/proto-0x | b8d80f1434e37a2a32613cdf58b02b5f7143cc1f | [
"BSL-1.0"
] | 1 | 2021-02-26T17:15:12.000Z | 2021-02-26T17:15:12.000Z | ////////////////////////////////////////////////////////////////////////////////////////////////////
// make.hpp
// Implementation of the make action.
//
// Copyright 2012 Eric Niebler. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost... | 38.345745 | 123 | 0.388126 | ericniebler |
ce05eaa85aff1eed4e2c18430501f187e85c197e | 4,646 | cpp | C++ | Sample_protocols/Protocols_from_OpenWetWare/OWW_small-scale_plasmid_isolation_-_miniprep.cpp | o-micron/BioCoderEditor | 18037b1d85bee5973704bd2e6c8ab6eab171d554 | [
"Unlicense"
] | null | null | null | Sample_protocols/Protocols_from_OpenWetWare/OWW_small-scale_plasmid_isolation_-_miniprep.cpp | o-micron/BioCoderEditor | 18037b1d85bee5973704bd2e6c8ab6eab171d554 | [
"Unlicense"
] | null | null | null | Sample_protocols/Protocols_from_OpenWetWare/OWW_small-scale_plasmid_isolation_-_miniprep.cpp | o-micron/BioCoderEditor | 18037b1d85bee5973704bd2e6c8ab6eab171d554 | [
"Unlicense"
] | null | null | null | #include "biocoder.h"
int
main()
{
start_protocol("Small-scale plasmid isolation - Miniprep");
Fluid culture = new_fluid("overnight culture");
Fluid sol1 = new_fluid("Solution I", ICE_COLD);
Fluid sol2 = new_fluid("Solution II");
Fluid sol3 = new_fluid("Solution III");
Fluid phenol = new_fluid("phenol");
... | 34.414815 | 80 | 0.687043 | o-micron |
ce068daa7640fdfb3169463f399ff6a39f5ec6ff | 948 | cpp | C++ | smacc2_client_library/ros_timer_client/src/ros_timer_client/cb_timer.cpp | reelrbtx/SMACC2 | ac61cb1599f215fd9f0927247596796fc53f82bf | [
"Apache-2.0"
] | 48 | 2021-05-28T01:33:20.000Z | 2022-03-24T03:16:03.000Z | smacc2_client_library/ros_timer_client/src/ros_timer_client/cb_timer.cpp | reelrbtx/SMACC2 | ac61cb1599f215fd9f0927247596796fc53f82bf | [
"Apache-2.0"
] | 75 | 2021-06-25T22:11:21.000Z | 2022-03-30T13:05:38.000Z | smacc2_client_library/ros_timer_client/src/ros_timer_client/cb_timer.cpp | reelrbtx/SMACC2 | ac61cb1599f215fd9f0927247596796fc53f82bf | [
"Apache-2.0"
] | 14 | 2021-06-16T12:10:57.000Z | 2022-03-01T18:23:27.000Z | // Copyright 2021 RobosoftAI Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to... | 31.6 | 75 | 0.756329 | reelrbtx |
ce06cf9f504914ad0be366b83e10f924166c6299 | 987 | hpp | C++ | include/sprout/predef/os/vms.hpp | thinkoid/Sprout | a5a5944bb1779d3bb685087c58c20a4e18df2f39 | [
"BSL-1.0"
] | 4 | 2021-12-29T22:17:40.000Z | 2022-03-23T11:53:44.000Z | dsp/lib/sprout/sprout/predef/os/vms.hpp | TheSlowGrowth/TapeLooper | ee8d8dccc27e39a6f6f6f435847e4d5e1b97c264 | [
"MIT"
] | 16 | 2021-10-31T21:41:09.000Z | 2022-01-22T10:51:34.000Z | include/sprout/predef/os/vms.hpp | thinkoid/Sprout | a5a5944bb1779d3bb685087c58c20a4e18df2f39 | [
"BSL-1.0"
] | null | null | null | /*=============================================================================
Copyright (c) 2011-2019 Bolero MURAKAMI
https://github.com/bolero-MURAKAMI/Sprout
Distributed under the sprout Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.sprout.org/LICENSE_1_0.txt)
... | 29.909091 | 82 | 0.665653 | thinkoid |
ce099fd92752cda72839942f04f8645812137966 | 2,335 | cpp | C++ | facade/home_theater/driver/home_theater.cpp | Jeonghum/hfdpcpp11 | 5864973163991b58b89efa50ddfd75b201af2bed | [
"AFL-3.0"
] | 3 | 2018-12-18T03:44:23.000Z | 2019-11-20T20:45:43.000Z | facade/home_theater/driver/home_theater.cpp | Jeonghum/hfdpcpp11 | 5864973163991b58b89efa50ddfd75b201af2bed | [
"AFL-3.0"
] | 2 | 2018-04-07T06:36:23.000Z | 2018-04-08T13:35:38.000Z | facade/home_theater/driver/home_theater.cpp | Jeonghum/hfdpcpp11 | 5864973163991b58b89efa50ddfd75b201af2bed | [
"AFL-3.0"
] | 2 | 2018-05-30T11:14:14.000Z | 2021-04-18T22:38:48.000Z | //===--- home_theater.cpp - -------------------------------------*- C++ -*-===//
//
// Head First Design Patterns
//
//
//===----------------------------------------------------------------------===//
///
/// \file
/// \brief
///
//===-----------------------------------------------------------------... | 33.357143 | 80 | 0.602998 | Jeonghum |
ce09b5f9157fd2f9cad43729a201e806dc536e71 | 338 | hxx | C++ | src/PacketBus.hxx | broken-bytes/FastNet | 1c84d836dfa170b5792e24381699202198ae2dd9 | [
"MIT"
] | null | null | null | src/PacketBus.hxx | broken-bytes/FastNet | 1c84d836dfa170b5792e24381699202198ae2dd9 | [
"MIT"
] | null | null | null | src/PacketBus.hxx | broken-bytes/FastNet | 1c84d836dfa170b5792e24381699202198ae2dd9 | [
"MIT"
] | null | null | null | #pragma once
#include <map>
#include <vector>
#include <mutex>
#include "Packet.hxx"
namespace fastnet::internal {
class PacketBus {
public:
PacketBus();
auto Write(Packet packet) -> void;
auto Read()->Packet*;
auto Clear(Packet* target) -> void;
private:
std::vector<Packet> _bus;
std::mu... | 15.363636 | 38 | 0.64497 | broken-bytes |
ce0a4ee830682737405a08b01ab198876078e729 | 341 | hpp | C++ | src/Editor/GUI/ProfilingWindow.hpp | Chainsawkitten/Deathcap | 37ed5afccd3113d34612d89c6e6508e8da9a0d7f | [
"MIT"
] | 3 | 2017-09-08T06:05:10.000Z | 2017-10-28T04:22:20.000Z | src/Editor/GUI/ProfilingWindow.hpp | Chainsawkitten/Deathcap | 37ed5afccd3113d34612d89c6e6508e8da9a0d7f | [
"MIT"
] | 894 | 2017-08-30T09:57:28.000Z | 2018-01-30T12:35:38.000Z | src/Editor/GUI/ProfilingWindow.hpp | Chainsawkitten/LargeGameProjectEngine | 37ed5afccd3113d34612d89c6e6508e8da9a0d7f | [
"MIT"
] | 1 | 2020-11-06T23:59:58.000Z | 2020-11-06T23:59:58.000Z | #pragma once
#include <Engine/Manager/ProfilingManager.hpp>
#include <GUI/LogView.hpp>
namespace GUI {
class ProfilingWindow {
public:
/// Show profiling results.
void Show();
private:
LogView logView;
void ShowResult(ProfilingManager::Resul... | 20.058824 | 62 | 0.580645 | Chainsawkitten |
ce0b9c6ed78e2b2563cced8c977b50a3c503f1b3 | 204 | cpp | C++ | leetcode/560.subarray-sum-equals-k.cpp | ANONYMOUS609/Competitive-Programming | d3753eeee24a660963f1d8911bf887c8f41f5677 | [
"MIT"
] | null | null | null | leetcode/560.subarray-sum-equals-k.cpp | ANONYMOUS609/Competitive-Programming | d3753eeee24a660963f1d8911bf887c8f41f5677 | [
"MIT"
] | null | null | null | leetcode/560.subarray-sum-equals-k.cpp | ANONYMOUS609/Competitive-Programming | d3753eeee24a660963f1d8911bf887c8f41f5677 | [
"MIT"
] | null | null | null | /*
* @lc app=leetcode id=560 lang=cpp
*
* [560] Subarray Sum Equals K
*/
// @lc code=start
class Solution {
public:
int subarraySum(vector<int>& nums, int k) {
}
};
// @lc code=end
| 12.75 | 47 | 0.568627 | ANONYMOUS609 |
ce0be6a327456f27e276d25e86222765115f3806 | 52,552 | cpp | C++ | src/prod/src/query/QuerySpecification.cpp | AnthonyM/service-fabric | c396ea918714ea52eab9c94fd62e018cc2e09a68 | [
"MIT"
] | 1 | 2018-03-15T02:09:21.000Z | 2018-03-15T02:09:21.000Z | src/prod/src/query/QuerySpecification.cpp | AnthonyM/service-fabric | c396ea918714ea52eab9c94fd62e018cc2e09a68 | [
"MIT"
] | null | null | null | src/prod/src/query/QuerySpecification.cpp | AnthonyM/service-fabric | c396ea918714ea52eab9c94fd62e018cc2e09a68 | [
"MIT"
] | null | null | null | // ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
#include "stdafx.h"
using nam... | 45.186586 | 157 | 0.623154 | AnthonyM |
ce0f4fe44e80bc3ad6b6ffec44cdf65ba1e8cf15 | 463 | hpp | C++ | libcaf_core/caf/flow/step/all.hpp | seewpx/actor-framework | 65ecf35317b81d7a211848d59e734f43483fe410 | [
"BSD-3-Clause"
] | null | null | null | libcaf_core/caf/flow/step/all.hpp | seewpx/actor-framework | 65ecf35317b81d7a211848d59e734f43483fe410 | [
"BSD-3-Clause"
] | null | null | null | libcaf_core/caf/flow/step/all.hpp | seewpx/actor-framework | 65ecf35317b81d7a211848d59e734f43483fe410 | [
"BSD-3-Clause"
] | null | null | null | #include "caf/flow/step/distinct.hpp"
#include "caf/flow/step/do_finally.hpp"
#include "caf/flow/step/do_on_complete.hpp"
#include "caf/flow/step/do_on_error.hpp"
#include "caf/flow/step/do_on_next.hpp"
#include "caf/flow/step/filter.hpp"
#include "caf/flow/step/map.hpp"
#include "caf/flow/step/on_error_complete.hpp"
#... | 35.615385 | 46 | 0.766739 | seewpx |
ce102b7d124c591c8712d17bc0a7f6b735c1c5d9 | 9,193 | cpp | C++ | ros-ws/src/nav_stack_tuning/src/MyRRTSolver.cpp | alpsark/RRT-Rapidly-Exploring-Random-Tree-algorithm | cb2c7a83a7d2a619a68d05c2452f84e5ae59db53 | [
"MIT"
] | 2 | 2019-10-26T11:54:00.000Z | 2020-09-21T13:09:58.000Z | ros-ws/src/nav_stack_tuning/src/MyRRTSolver.cpp | alpsark/RRT-Rapidly-Exploring-Random-Tree-algorithm | cb2c7a83a7d2a619a68d05c2452f84e5ae59db53 | [
"MIT"
] | null | null | null | ros-ws/src/nav_stack_tuning/src/MyRRTSolver.cpp | alpsark/RRT-Rapidly-Exploring-Random-Tree-algorithm | cb2c7a83a7d2a619a68d05c2452f84e5ae59db53 | [
"MIT"
] | null | null | null | /*
* MyRRTSolver.cpp
*
* Created on: Apr 10, 2013
* Author: okan
*/
#include "MyRRTSolver.h"
#include <cstdlib>
#include <iostream>
#include <math.h>
#include <sstream>
#include <vector>
MyRRTSolver::MyRRTSolver() {
initialx = 0;
initialy = 0;
initialVertex = NULL;
targetx = 4;
targ... | 28.027439 | 269 | 0.625911 | alpsark |
ce1176094da8a2ae5a6190acfadb6a4f01f834c3 | 10,498 | hpp | C++ | dart/dynamics/Node.hpp | purewind7/CS7496 | ca0b8376db400f265d9515d8307d928590a1569a | [
"BSD-2-Clause"
] | null | null | null | dart/dynamics/Node.hpp | purewind7/CS7496 | ca0b8376db400f265d9515d8307d928590a1569a | [
"BSD-2-Clause"
] | null | null | null | dart/dynamics/Node.hpp | purewind7/CS7496 | ca0b8376db400f265d9515d8307d928590a1569a | [
"BSD-2-Clause"
] | null | null | null | /*
* Copyright (c) 2015-2016, Graphics Lab, Georgia Tech Research Corporation
* Copyright (c) 2015-2016, Humanoid Lab, Georgia Tech Research Corporation
* Copyright (c) 2016, Personal Robotics Lab, Carnegie Mellon University
* All rights reserved.
*
* This file is provided under the following "BSD-style" License:... | 38.313869 | 80 | 0.722709 | purewind7 |
ce11943d01758b4740a0a63818789ff751f080dc | 3,171 | cpp | C++ | code/engine.vc2008/xrEngine/edit_actions.cpp | Pavel3333/xray-oxygen | 42331cd5f30511214c704d6ca9d919c209363eea | [
"Apache-2.0"
] | 6 | 2020-07-06T13:34:28.000Z | 2021-07-12T10:36:23.000Z | code/engine.vc2008/xrEngine/edit_actions.cpp | Pavel3333/xray-oxygen | 42331cd5f30511214c704d6ca9d919c209363eea | [
"Apache-2.0"
] | null | null | null | code/engine.vc2008/xrEngine/edit_actions.cpp | Pavel3333/xray-oxygen | 42331cd5f30511214c704d6ca9d919c209363eea | [
"Apache-2.0"
] | 5 | 2020-10-18T11:55:26.000Z | 2022-03-28T07:21:35.000Z | ////////////////////////////////////////////////////////////////////////////
// Module : edit_actions.cpp
// Created : 04.03.2008
// Author : Evgeniy Sokolov
// Description : edit actions chars class implementation
////////////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#in... | 21 | 100 | 0.579628 | Pavel3333 |
ce12a274609a825d5efeaca655fe23e33ce1c6ce | 657 | cpp | C++ | scene/gui/color_rect.cpp | literaldumb/godot | a2903fc51d1d20eba4dc451bdacbe477d6670163 | [
"CC-BY-3.0",
"MIT"
] | null | null | null | scene/gui/color_rect.cpp | literaldumb/godot | a2903fc51d1d20eba4dc451bdacbe477d6670163 | [
"CC-BY-3.0",
"MIT"
] | null | null | null | scene/gui/color_rect.cpp | literaldumb/godot | a2903fc51d1d20eba4dc451bdacbe477d6670163 | [
"CC-BY-3.0",
"MIT"
] | 1 | 2019-01-13T00:44:17.000Z | 2019-01-13T00:44:17.000Z | #include "color_rect.h"
void ColorRect::set_frame_color(const Color& p_color) {
color=p_color;
update();
}
Color ColorRect::get_frame_color() const{
return color;
}
void ColorRect::_notification(int p_what) {
if (p_what==NOTIFICATION_DRAW) {
draw_rect(Rect2(Point2(),get_size()),color);
}
}
void ColorRe... | 17.756757 | 101 | 0.730594 | literaldumb |
ce150ea6d0b1e5493a603c8d64adf9a8e553f3e9 | 3,395 | inl | C++ | util/proc_status_view.inl | KarenEnfield/flowmill-collector | d8e094d64c598e3e2df968f0ccf4cdfb054a91f8 | [
"Apache-2.0"
] | 63 | 2021-04-07T19:12:10.000Z | 2022-03-16T07:00:30.000Z | util/proc_status_view.inl | KarenEnfield/flowmill-collector | d8e094d64c598e3e2df968f0ccf4cdfb054a91f8 | [
"Apache-2.0"
] | 11 | 2021-04-22T09:51:23.000Z | 2022-02-10T18:36:21.000Z | util/proc_status_view.inl | KarenEnfield/flowmill-collector | d8e094d64c598e3e2df968f0ccf4cdfb054a91f8 | [
"Apache-2.0"
] | 7 | 2021-06-08T21:40:06.000Z | 2022-03-16T07:42:49.000Z | //
// Copyright 2021 Splunk Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to i... | 42.4375 | 128 | 0.656259 | KarenEnfield |
ce154b60f3939609f71ec37f30158d00332f792b | 71 | hpp | C++ | src/boost_geometry_strategies_agnostic_point_in_box_by_side.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 10 | 2018-03-17T00:58:42.000Z | 2021-07-06T02:48:49.000Z | src/boost_geometry_strategies_agnostic_point_in_box_by_side.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 2 | 2021-03-26T15:17:35.000Z | 2021-05-20T23:55:08.000Z | src/boost_geometry_strategies_agnostic_point_in_box_by_side.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 4 | 2019-05-28T21:06:37.000Z | 2021-07-06T03:06:52.000Z | #include <boost/geometry/strategies/agnostic/point_in_box_by_side.hpp>
| 35.5 | 70 | 0.859155 | miathedev |
ce186a9a77fc4c9f331b0d223d44e4b5994a32db | 13,130 | cpp | C++ | src/solv_plug/solv_plug.cpp | master-clown/ofeata | 306cbc3a402551fb62b3925d23a2d4f63f60d525 | [
"MIT"
] | 1 | 2021-08-30T13:51:42.000Z | 2021-08-30T13:51:42.000Z | src/solv_plug/solv_plug.cpp | master-clown/ofeata | 306cbc3a402551fb62b3925d23a2d4f63f60d525 | [
"MIT"
] | null | null | null | src/solv_plug/solv_plug.cpp | master-clown/ofeata | 306cbc3a402551fb62b3925d23a2d4f63f60d525 | [
"MIT"
] | 1 | 2021-08-30T13:51:35.000Z | 2021-08-30T13:51:35.000Z | #include "solv_plug.hpp"
#include <cstdarg>
#include <fstream>
#include <string>
#include <sstream>
#include "mesh/meshinfo.hpp"
#define PLUGIN_NAME "Test Solver Plugin"
#define PLUGIN_SETS_FILE "solver_plug_sets.json"
#define LOG_FILE "solver_plug_log.log"
#define TO_WIDE_HELPER(str) L ## str
#define TO_... | 28.920705 | 105 | 0.550038 | master-clown |
ce18901bf30569be0b7c8c326d8b4469a844fd39 | 1,960 | cpp | C++ | src/Customs/EndScene2.cpp | fgagamedev/voID | 37cd56fe2878d036c36dafcf595e48ed85408d02 | [
"MIT"
] | null | null | null | src/Customs/EndScene2.cpp | fgagamedev/voID | 37cd56fe2878d036c36dafcf595e48ed85408d02 | [
"MIT"
] | null | null | null | src/Customs/EndScene2.cpp | fgagamedev/voID | 37cd56fe2878d036c36dafcf595e48ed85408d02 | [
"MIT"
] | null | null | null | #include "Customs/EndScene2.hpp"
#include "Customs/MenuAnimationScript.hpp"
/**
@file EndScene2.cpp
@brief Methods that manages the end-game animations and a 'quit' button.
@copyright LGPL. MIT License.
*/
// Constructor
EndScene2::EndScene2() {}
/**
@brief On activation of the second scene, creates ... | 30.625 | 110 | 0.69898 | fgagamedev |
ce1985b22f280c5cd48b31a086a39c87dfd82ff6 | 1,841 | cpp | C++ | SerialPrograms/Source/PokemonSwSh/MaxLair/Inference/PokemonSwSh_MaxLair_Detect_ItemSelectMenu.cpp | pifopi/Arduino-Source | e926d9f9154a27a33d976240ae956c9460e64cf9 | [
"MIT"
] | 9 | 2021-03-06T20:37:22.000Z | 2022-03-09T02:34:47.000Z | SerialPrograms/Source/PokemonSwSh/MaxLair/Inference/PokemonSwSh_MaxLair_Detect_ItemSelectMenu.cpp | pifopi/Arduino-Source | e926d9f9154a27a33d976240ae956c9460e64cf9 | [
"MIT"
] | 44 | 2021-05-31T21:33:14.000Z | 2022-02-25T17:40:50.000Z | SerialPrograms/Source/PokemonSwSh/MaxLair/Inference/PokemonSwSh_MaxLair_Detect_ItemSelectMenu.cpp | pifopi/Arduino-Source | e926d9f9154a27a33d976240ae956c9460e64cf9 | [
"MIT"
] | 16 | 2021-03-21T16:00:21.000Z | 2022-03-26T08:02:11.000Z | /* Max Lair Detect Item Select Menu
*
* From: https://github.com/PokemonAutomation/Arduino-Source
*
*/
#include "Common/Compiler.h"
#include "CommonFramework/Tools/VideoOverlaySet.h"
#include "CommonFramework/ImageTools/SolidColorTest.h"
#include "PokemonSwSh_MaxLair_Detect_ItemSelectMenu.h"
namespac... | 30.180328 | 80 | 0.677349 | pifopi |
ce1a31a7ef913fd3f9481ab9c360a8137a4534b8 | 293 | cpp | C++ | FrameworkExamples/example_submodules/main.cpp | MagdaSkurzok/PET_Analysis | 1527d2658d574b494f9f9eb234166e6e1f220d4e | [
"Apache-2.0"
] | null | null | null | FrameworkExamples/example_submodules/main.cpp | MagdaSkurzok/PET_Analysis | 1527d2658d574b494f9f9eb234166e6e1f220d4e | [
"Apache-2.0"
] | 1 | 2021-05-31T11:40:56.000Z | 2021-05-31T11:40:56.000Z | FrameworkExamples/example_submodules/main.cpp | MagdaSkurzok/PET_Analysis | 1527d2658d574b494f9f9eb234166e6e1f220d4e | [
"Apache-2.0"
] | 2 | 2017-02-15T00:33:18.000Z | 2022-03-25T16:48:15.000Z | //
// main.cpp
//
//
// Created by Karol Stola on 22.04.2014.
//
//
#include <DBHandler/HeaderFiles/DBHandler.h>
#include "JPetAnalysisModuleA.h"
int main(){
DB::SERVICES::DBHandler::createDBConnection("../DBConfig/configDB.cfg");
JPetAnalysisModuleA main_module;
main_module.exec();
} | 19.533333 | 73 | 0.709898 | MagdaSkurzok |
ce1a498b46a71c65c6e1b5c53fefb852c609a729 | 1,747 | cpp | C++ | p2-cv/Matrix_public_test.cpp | zhxinyu/MyOOPExercises- | 426d1130ab467b8c3df2f049344c749d9ea617c7 | [
"MIT"
] | null | null | null | p2-cv/Matrix_public_test.cpp | zhxinyu/MyOOPExercises- | 426d1130ab467b8c3df2f049344c749d9ea617c7 | [
"MIT"
] | null | null | null | p2-cv/Matrix_public_test.cpp | zhxinyu/MyOOPExercises- | 426d1130ab467b8c3df2f049344c749d9ea617c7 | [
"MIT"
] | null | null | null | // Project UID af1f95f547e44c8ea88730dfb185559d
#include "Matrix.h"
#include "Matrix_test_helpers.h"
#include "unit_test_framework.h"
#include <sstream>
using std::ostringstream;
// This is the public Matrix test for which the autograder gives feedback.
// It only tests VERY FEW of the expected behaviors of the Mat... | 26.469697 | 76 | 0.703492 | zhxinyu |
ce1b924c099d60a49f1dddbbfbd47862cfeabaf1 | 828 | cpp | C++ | codeforces/1221/C/1221C.cpp | freedomDR/coding | 310a68077de93ef445ccd2929e90ba9c22a9b8eb | [
"MIT"
] | null | null | null | codeforces/1221/C/1221C.cpp | freedomDR/coding | 310a68077de93ef445ccd2929e90ba9c22a9b8eb | [
"MIT"
] | null | null | null | codeforces/1221/C/1221C.cpp | freedomDR/coding | 310a68077de93ef445ccd2929e90ba9c22a9b8eb | [
"MIT"
] | null | null | null | #include<bits/stdc++.h>
using namespace std;
int main()
{
int t;
cin >> t;
while(t--)
{
int a, b, c, ans = 0;
cin >> a >> b >> c;
ans = min(min(a, b), c);
a -= ans;
b -= ans;
c -= ans;
if(c == 0)
{
if(a == b)
{
... | 18.818182 | 50 | 0.230676 | freedomDR |
ce1c4f15cddf6570eec8bf30b1bd4148e0562d22 | 2,556 | hpp | C++ | SJone/firmware/lib/L4_IO/LED_Display.hpp | jpan127/RJD-MP3 | 8659a12e46021882cce6202befa59d88afe4d7c2 | [
"MIT"
] | null | null | null | SJone/firmware/lib/L4_IO/LED_Display.hpp | jpan127/RJD-MP3 | 8659a12e46021882cce6202befa59d88afe4d7c2 | [
"MIT"
] | null | null | null | SJone/firmware/lib/L4_IO/LED_Display.hpp | jpan127/RJD-MP3 | 8659a12e46021882cce6202befa59d88afe4d7c2 | [
"MIT"
] | null | null | null | /*
* SocialLedge.com - Copyright (C) 2013
*
* This file is part of free software framework for embedded processors.
* You can use it and/or distribute it as long as this copyright header
* remains unmodified. The code is free for personal use and requires
* permission to use in a commer... | 31.170732 | 100 | 0.609546 | jpan127 |
ce219d018d40482be89c913fc92ef78161a4f028 | 207 | cpp | C++ | Etape 7/AbstractEntity.cpp | Dracks977/Baignoire-etna | 277680b7ac3e697e5108f442866185128a48a7fc | [
"BSD-2-Clause"
] | null | null | null | Etape 7/AbstractEntity.cpp | Dracks977/Baignoire-etna | 277680b7ac3e697e5108f442866185128a48a7fc | [
"BSD-2-Clause"
] | null | null | null | Etape 7/AbstractEntity.cpp | Dracks977/Baignoire-etna | 277680b7ac3e697e5108f442866185128a48a7fc | [
"BSD-2-Clause"
] | null | null | null | //
// Created by eclat on 20/04/2019.
//
#include "AbstractEntity.hh"
AbstractEntity::AbstractEntity(){}
AbstractEntity::~AbstractEntity(){}
void AbstractEntity::Draw(){}
void AbstractEntity::Update(){} | 15.923077 | 35 | 0.719807 | Dracks977 |
ce236813358580b5494b567b9e96b413a299f00e | 46,603 | hpp | C++ | src/enums.hpp | klei1984/max | dc0f9108bbcfd4cb73ea101883d551c612097469 | [
"MIT"
] | 19 | 2020-02-06T17:41:39.000Z | 2022-03-31T07:38:15.000Z | src/enums.hpp | klei1984/max | dc0f9108bbcfd4cb73ea101883d551c612097469 | [
"MIT"
] | 9 | 2020-02-14T15:46:46.000Z | 2021-12-22T16:35:53.000Z | src/enums.hpp | klei1984/max | dc0f9108bbcfd4cb73ea101883d551c612097469 | [
"MIT"
] | null | null | null | /* Copyright (c) 2021 M.A.X. Port Team
*
* 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, ... | 22.546202 | 82 | 0.558913 | klei1984 |
ce2630cb209216084ba478106bfe55eb191ca255 | 1,930 | cpp | C++ | Chapter_4_Graph/SSSP/kattis_mallmania.cpp | BrandonTang89/CP4_Code | 5114471f439978dd11f6f2cbf6af20ca654593da | [
"MIT"
] | 2 | 2021-12-29T04:12:59.000Z | 2022-03-30T09:32:19.000Z | Chapter_4_Graph/SSSP/kattis_mallmania.cpp | BrandonTang89/CP4_Code | 5114471f439978dd11f6f2cbf6af20ca654593da | [
"MIT"
] | null | null | null | Chapter_4_Graph/SSSP/kattis_mallmania.cpp | BrandonTang89/CP4_Code | 5114471f439978dd11f6f2cbf6af20ca654593da | [
"MIT"
] | 1 | 2022-03-01T06:12:46.000Z | 2022-03-01T06:12:46.000Z | /* Kattis - mallmania
Since they can start their trip from any part of the perimeter of m1, we just do a multi source
BFS floodfill from all said perimeter cells. We then iterate through the p2 values and get the minimum.
Note that values of coordinates are from 0 to 2000 inclusive. So do the boundary check properly.
... | 26.805556 | 103 | 0.504663 | BrandonTang89 |
ce26866c82127b8097ca8f946329373a9008b210 | 2,284 | hpp | C++ | include/cppurses/widget/widgets/number_edit.hpp | RyanDraves/CPPurses | 19cbdae2d18e702144659187ec989c486c714a0f | [
"MIT"
] | null | null | null | include/cppurses/widget/widgets/number_edit.hpp | RyanDraves/CPPurses | 19cbdae2d18e702144659187ec989c486c714a0f | [
"MIT"
] | null | null | null | include/cppurses/widget/widgets/number_edit.hpp | RyanDraves/CPPurses | 19cbdae2d18e702144659187ec989c486c714a0f | [
"MIT"
] | null | null | null | #ifndef CPPURSES_WIDGET_WIDGETS_NUMBER_EDIT_HPP
#define CPPURSES_WIDGET_WIDGETS_NUMBER_EDIT_HPP
#include <cctype>
#include <sstream>
#include <string>
#include <type_traits>
#include <signals/signal.hpp>
#include <cppurses/widget/widgets/line_edit.hpp>
namespace cppurses {
// TODO add increment via scrolling, and p... | 30.864865 | 79 | 0.689142 | RyanDraves |
ce2812e7dcd6f4811f9ef8ceb47adb325cdf20f3 | 57,940 | cc | C++ | plaidml/plaidml.cc | DaniDeniz/plaidml | 7e686a2123f4dd9941030d4b08a3b90f9ae324d2 | [
"Apache-2.0"
] | null | null | null | plaidml/plaidml.cc | DaniDeniz/plaidml | 7e686a2123f4dd9941030d4b08a3b90f9ae324d2 | [
"Apache-2.0"
] | null | null | null | plaidml/plaidml.cc | DaniDeniz/plaidml | 7e686a2123f4dd9941030d4b08a3b90f9ae324d2 | [
"Apache-2.0"
] | null | null | null | // Copyright 2018 Intel Corporation.
#include "plaidml/plaidml.h"
#include <google/protobuf/descriptor.h>
#include <google/protobuf/io/zero_copy_stream_impl.h>
#include <google/protobuf/text_format.h>
#include <google/protobuf/util/json_util.h>
#include <google/protobuf/util/type_resolver_util.h>
#include <zip.h>
#i... | 32.423055 | 120 | 0.672109 | DaniDeniz |
ce29a42dc1f0f9745a5e03eaf746232b1da2413d | 10,571 | cpp | C++ | benchmarks/bvh_driver/bvh_driver.cpp | wjge/ArborX | 0fd9c4adf2755a6b2559b84976c9fe0669e47aff | [
"BSD-3-Clause"
] | 70 | 2019-04-10T13:00:39.000Z | 2022-03-22T19:58:59.000Z | benchmarks/bvh_driver/bvh_driver.cpp | wjge/ArborX | 0fd9c4adf2755a6b2559b84976c9fe0669e47aff | [
"BSD-3-Clause"
] | 536 | 2019-04-09T21:20:37.000Z | 2022-03-31T21:24:23.000Z | benchmarks/bvh_driver/bvh_driver.cpp | wjge/ArborX | 0fd9c4adf2755a6b2559b84976c9fe0669e47aff | [
"BSD-3-Clause"
] | 12 | 2019-04-09T21:03:59.000Z | 2021-12-05T23:53:00.000Z | /****************************************************************************
* Copyright (c) 2017-2021 by the ArborX authors *
* All rights reserved. *
* *
* This ... | 35.712838 | 157 | 0.642702 | wjge |
ce2f1e0046539444abb09035d6c7d3cdff02adde | 7,182 | cpp | C++ | Tut11/Persistent.cpp | vrum/rlTut | 0907b357c51a0b983ff8812f5c4887ecb185c9fa | [
"MIT"
] | null | null | null | Tut11/Persistent.cpp | vrum/rlTut | 0907b357c51a0b983ff8812f5c4887ecb185c9fa | [
"MIT"
] | null | null | null | Tut11/Persistent.cpp | vrum/rlTut | 0907b357c51a0b983ff8812f5c4887ecb185c9fa | [
"MIT"
] | null | null | null | #include "main.hpp"
void Map::load(TCODZip &zip) {
seed=zip.getInt();
init(false);
for (int i=0; i < width*height; i++) {
tiles[i].explored=zip.getInt();
}
}
void Map::save(TCODZip &zip) {
zip.putInt(seed);
for (int i=0; i < width*height; i++) {
zip.putInt(tiles[i].explored);
}
}
void Actor::load(TCODZ... | 22.098462 | 73 | 0.667363 | vrum |
ce34b79288d10e3b7a3249704de49157372f8e66 | 2,473 | hpp | C++ | libraries/p2p/include/graphene/p2p/node.hpp | EDCBlockchain/blockchain | 41c74b981658d79d770b075191cfb14faeb84dab | [
"MIT"
] | 12 | 2019-10-31T13:24:21.000Z | 2021-12-29T22:02:22.000Z | libraries/p2p/include/graphene/p2p/node.hpp | DONOVA28/blockchain | 41c74b981658d79d770b075191cfb14faeb84dab | [
"MIT"
] | null | null | null | libraries/p2p/include/graphene/p2p/node.hpp | DONOVA28/blockchain | 41c74b981658d79d770b075191cfb14faeb84dab | [
"MIT"
] | 11 | 2019-07-24T12:46:29.000Z | 2021-11-27T04:41:48.000Z | // see LICENSE.txt
#pragma once
#include <graphene/chain/database.hpp>
#include <graphene/p2p/peer_connection.hpp>
namespace graphene { namespace p2p {
using namespace graphene::chain;
struct node_config
{
fc::ip::endpoint server_endpoint;
bool wait_if_not_available =... | 33.876712 | 117 | 0.634048 | EDCBlockchain |
ce355785a9478653d1732c9576fca220667cb927 | 6,212 | cpp | C++ | src/dashplayer/adaptationlogic-rate-svc.cpp | theuerse/ndn-DemoApps | 47310e10dbd15bdac9342250a7b84e99d1693b91 | [
"MIT"
] | null | null | null | src/dashplayer/adaptationlogic-rate-svc.cpp | theuerse/ndn-DemoApps | 47310e10dbd15bdac9342250a7b84e99d1693b91 | [
"MIT"
] | null | null | null | src/dashplayer/adaptationlogic-rate-svc.cpp | theuerse/ndn-DemoApps | 47310e10dbd15bdac9342250a7b84e99d1693b91 | [
"MIT"
] | null | null | null | #include "adaptationlogic-rate-svc.hpp"
#include "dashplayer.hpp"
namespace player
{
ENSURE_ADAPTATION_LOGIC_INITIALIZED(SVCRateBasedAdaptationLogic)
SVCRateBasedAdaptationLogic::SVCRateBasedAdaptationLogic(DashPlayer* dashPlayer) : AdaptationLogic (dashPlayer)
{
ema_download_bitrate = dashplayer->GetLastD... | 37.421687 | 185 | 0.673052 | theuerse |
ce355ce71617ffd206d08e1dac6ef34303e2c7f8 | 8,248 | cpp | C++ | Common_3/OS/Camera/CameraController.cpp | RemiArnaud/The-Forge | 70f5f4b544831ea3a51de2ad4a7f341fb1b971c5 | [
"Apache-2.0"
] | 1 | 2020-07-15T17:52:10.000Z | 2020-07-15T17:52:10.000Z | Common_3/OS/Camera/CameraController.cpp | RemiArnaud/The-Forge | 70f5f4b544831ea3a51de2ad4a7f341fb1b971c5 | [
"Apache-2.0"
] | null | null | null | Common_3/OS/Camera/CameraController.cpp | RemiArnaud/The-Forge | 70f5f4b544831ea3a51de2ad4a7f341fb1b971c5 | [
"Apache-2.0"
] | 1 | 2020-03-06T09:53:01.000Z | 2020-03-06T09:53:01.000Z | /*
* Copyright (c) 2018-2020 The Forge Interactive Inc.
*
* This file is part of The-Forge
* (see https://github.com/ConfettiFX/The-Forge).
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional in... | 29.042254 | 155 | 0.716659 | RemiArnaud |
ce4016999a3694fc763d852df5390acec047e5ef | 3,809 | cc | C++ | tools/xenia-run/xenia-run.cc | espes/xenia | 388c622ecd68947cd718309f62f8bde017fa1ab0 | [
"BSD-3-Clause"
] | 1 | 2018-12-07T12:09:33.000Z | 2018-12-07T12:09:33.000Z | tools/xenia-run/xenia-run.cc | espes/xenia | 388c622ecd68947cd718309f62f8bde017fa1ab0 | [
"BSD-3-Clause"
] | null | null | null | tools/xenia-run/xenia-run.cc | espes/xenia | 388c622ecd68947cd718309f62f8bde017fa1ab0 | [
"BSD-3-Clause"
] | null | null | null | /**
******************************************************************************
* Xenia : Xbox 360 Emulator Research Project *
******************************************************************************
* Copyright 2013 Ben Vanik. All rights reserved. ... | 26.268966 | 79 | 0.639013 | espes |
ce4193b6a52d8e65c96dd6ae573fbb726733072c | 1,367 | cpp | C++ | tloam/src/subscriber/cloud_subscriber.cpp | cuge1995/SC-TLOAM | facb7335f3a8ddfdeed3f87ac7a04362032e5a5b | [
"MIT"
] | 3 | 2021-09-14T05:56:47.000Z | 2021-09-17T06:34:23.000Z | tloam/src/subscriber/cloud_subscriber.cpp | cuge1995/SC-TLOAM | facb7335f3a8ddfdeed3f87ac7a04362032e5a5b | [
"MIT"
] | null | null | null | tloam/src/subscriber/cloud_subscriber.cpp | cuge1995/SC-TLOAM | facb7335f3a8ddfdeed3f87ac7a04362032e5a5b | [
"MIT"
] | null | null | null | /**
* @Copyright 2020, Wuhan University of Technology
* @Author: Pengwei Zhou
* @Date: 2020/12/28 下午2:31
* @FileName: cloud_subscriber.cpp
* @Description: subscribe point cloud of specified topic
* @License: See LICENSE for the license information
*/
#include "tloam/subscriber/cloud_subscriber.hpp"
namespace t... | 35.051282 | 108 | 0.759327 | cuge1995 |
ce4405fad0c3fad531af57940680e5ef157d64a9 | 795 | cpp | C++ | test/fuzzing/retrieve_blocks_fuzz.cpp | yash2code/iroha | 586cc3c5f5e99496d5e5a112c3b5e20fcc24435c | [
"Apache-2.0"
] | 1 | 2019-06-23T12:47:19.000Z | 2019-06-23T12:47:19.000Z | test/fuzzing/retrieve_blocks_fuzz.cpp | ecsantana76/iroha | 9cc430bb2c8eb885393e2a636fa92d1e605443ae | [
"Apache-2.0"
] | null | null | null | test/fuzzing/retrieve_blocks_fuzz.cpp | ecsantana76/iroha | 9cc430bb2c8eb885393e2a636fa92d1e605443ae | [
"Apache-2.0"
] | null | null | null | /**
* Copyright Soramitsu Co., Ltd. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
#include "fuzzing/block_loader_fixture.hpp"
#include "module/vendor/grpc_mocks.hpp"
extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, std::size_t size) {
static fuzzing::BlockLoaderFixture fixture;
if (... | 26.5 | 80 | 0.698113 | yash2code |
ce456cc108b1f0d5619c33c203e3a9fab78be844 | 7,256 | cpp | C++ | src/tools/license-generator/license-generator.cpp | bandi13/open-license-manager | 5fea570d19503957a974b686cbce8cff8ac1487c | [
"BSD-3-Clause"
] | 2 | 2020-04-26T06:26:16.000Z | 2021-08-21T18:21:56.000Z | src/tools/license-generator/license-generator.cpp | YAS-CODE/Open-source-dev | 8713ecbf8bfb62f743d3835be028efbc67f3e5d5 | [
"BSD-3-Clause"
] | null | null | null | src/tools/license-generator/license-generator.cpp | YAS-CODE/Open-source-dev | 8713ecbf8bfb62f743d3835be028efbc67f3e5d5 | [
"BSD-3-Clause"
] | 1 | 2018-11-26T11:42:39.000Z | 2018-11-26T11:42:39.000Z | #include <build_properties.h>
#include <private-key.h>
#include "license-generator.h"
#include "../base_lib/CryptoHelper.h"
#include <stdlib.h>
#include <stdio.h>
#include <iostream>
#include <string.h>
#include <iostream>
#include <boost/date_time.hpp>
#include <boost/program_options.hpp>
#include <boost/algorithm/str... | 34.226415 | 97 | 0.680265 | bandi13 |
ce472932b71bf1ea91effd0fc5b1b1a9a3543eaf | 657 | cpp | C++ | competitive programming/leetcode/2020-July-Challenge/Day-05-Hamming Distance.cpp | kashyap99saksham/Code | 96658d0920eb79c007701d2a3cc9dbf453d78f96 | [
"MIT"
] | 16 | 2020-06-02T19:22:45.000Z | 2022-02-05T10:35:28.000Z | competitive programming/leetcode/2020-July-Challenge/Day-05-Hamming Distance.cpp | codezoned/Code | de91ffc7ef06812a31464fb40358e2436734574c | [
"MIT"
] | null | null | null | competitive programming/leetcode/2020-July-Challenge/Day-05-Hamming Distance.cpp | codezoned/Code | de91ffc7ef06812a31464fb40358e2436734574c | [
"MIT"
] | 2 | 2020-08-27T17:40:06.000Z | 2022-02-05T10:33:52.000Z | The Hamming distance between two integers is the number of positions at which the corresponding bits are different.
Given two integers x and y, calculate the Hamming distance.
Note:
0 ≤ x, y < 231.
Example:
Input: x = 1, y = 4
Output: 2
Explanation:
1 (0 0 0 1)
4 (0 1 0 0)
↑ ↑
The above arrows point... | 14.931818 | 115 | 0.552511 | kashyap99saksham |
ce477bcf6127bc00148b92871c5a3bdbec75a035 | 2,209 | hpp | C++ | include/pastel/sph/tait_pressure.hpp | naoki-yoshioka/pastel | b443dcc6ae86ff3e94ec9c2e7085b5d6521214e8 | [
"MIT"
] | null | null | null | include/pastel/sph/tait_pressure.hpp | naoki-yoshioka/pastel | b443dcc6ae86ff3e94ec9c2e7085b5d6521214e8 | [
"MIT"
] | 24 | 2017-12-23T07:39:58.000Z | 2019-09-20T10:16:37.000Z | include/pastel/sph/tait_pressure.hpp | naoki-yoshioka/pastel | b443dcc6ae86ff3e94ec9c2e7085b5d6521214e8 | [
"MIT"
] | null | null | null | #ifndef PASTEL_SPH_TAIT_PRESSURE_HPP
# define PASTEL_SPH_TAIT_PRESSURE_HPP
namespace pastel
{
namespace sph
{
// https://en.wikipedia.org/wiki/Tait_equation
// This class actually accepts an EOS in Monaghan (2005)
template <typename Value = double>
class tait_pressure
{
Value reference_d... | 33.469697 | 110 | 0.691716 | naoki-yoshioka |
ce4902e6fed5acc12507cedbc6844a7ea943b8d4 | 3,119 | cpp | C++ | UITitlebarPlug/MessageManager.cpp | coderwinnie/startalk_pc | 30675f52204d798f4fef210a40ef9c5f1ac34ea9 | [
"MIT"
] | 1 | 2021-09-08T02:05:11.000Z | 2021-09-08T02:05:11.000Z | UITitlebarPlug/MessageManager.cpp | coderwinnie/startalk_pc | 30675f52204d798f4fef210a40ef9c5f1ac34ea9 | [
"MIT"
] | null | null | null | UITitlebarPlug/MessageManager.cpp | coderwinnie/startalk_pc | 30675f52204d798f4fef210a40ef9c5f1ac34ea9 | [
"MIT"
] | null | null | null | #include "MessageManager.h"
#include <utility>
#include "MainPanel.h"
#include "../Message/UserMessage.h"
#include "../EventBus/EventBus.h"
#include "../Message/ChatMessage.h"
#include "../Message/LogicBaseMessage.h"
/**
* @函数名 getUserCard
* @功能描述 获取用户名片
* @参数
* @author cc
* @date 2018/09/29
*/
... | 19.49375 | 112 | 0.687079 | coderwinnie |
ce4b33df7074b2ae1ea84a495db24e62cc78ff52 | 2,432 | hpp | C++ | engine/core/graphics/common/text.hpp | warnwar/KestrelEngine | 985d1664b71aad62dd51721e0f81d5937d8ae9d4 | [
"MIT"
] | 47 | 2020-09-14T04:11:09.000Z | 2022-01-21T03:15:35.000Z | engine/core/graphics/common/text.hpp | warnwar/KestrelEngine | 985d1664b71aad62dd51721e0f81d5937d8ae9d4 | [
"MIT"
] | 19 | 2020-09-30T19:04:19.000Z | 2021-12-21T03:41:22.000Z | engine/core/graphics/common/text.hpp | warnwar/KestrelEngine | 985d1664b71aad62dd51721e0f81d5937d8ae9d4 | [
"MIT"
] | 3 | 2020-09-30T19:00:09.000Z | 2021-03-08T08:41:02.000Z | // Copyright (c) 2020 Tom Hancocks
//
// 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, publish, ... | 38.603175 | 112 | 0.728207 | warnwar |
ce4cb2ea3030a732b6ee27cf335591a388e4ce4a | 5,031 | cpp | C++ | TBD_Engine/ModuleResources.cpp | Scarzard/Placeholder_Engine | 9bfafadb6baa9821a084073829eb32c5284d0b36 | [
"MIT"
] | 2 | 2021-07-18T16:00:01.000Z | 2021-11-19T00:02:46.000Z | TBD_Engine/ModuleResources.cpp | Scarzard/Placeholder_Engine | 9bfafadb6baa9821a084073829eb32c5284d0b36 | [
"MIT"
] | null | null | null | TBD_Engine/ModuleResources.cpp | Scarzard/Placeholder_Engine | 9bfafadb6baa9821a084073829eb32c5284d0b36 | [
"MIT"
] | 1 | 2020-12-07T05:57:44.000Z | 2020-12-07T05:57:44.000Z | #include "Application.h"
#include "ModuleResources.h"
#include "ModuleFileSystem.h"
#include "TextureLoader.h"
#include "MeshLoader.h"
#include "Globals.h"
#include "Resource.h"
#include "ResourceTexture.h"
#include "ResourceMesh.h"
#include "ResourceAnimation.h"
#include "ResourceBone.h"
#include "ImGui/imgui.h"
#in... | 22.560538 | 172 | 0.66448 | Scarzard |
ce4e566dfbc4295b6023728a5d3a5a04d5565732 | 232 | cpp | C++ | uri/1142.cpp | cosmicray001/Online_judge_Solutions- | 5dc6f90d3848eb192e6edea8e8c731f41a1761dd | [
"MIT"
] | 3 | 2018-01-08T02:52:51.000Z | 2021-03-03T01:08:44.000Z | uri/1142.cpp | cosmicray001/Online_judge_Solutions- | 5dc6f90d3848eb192e6edea8e8c731f41a1761dd | [
"MIT"
] | null | null | null | uri/1142.cpp | cosmicray001/Online_judge_Solutions- | 5dc6f90d3848eb192e6edea8e8c731f41a1761dd | [
"MIT"
] | 1 | 2020-08-13T18:07:35.000Z | 2020-08-13T18:07:35.000Z | #include<bits/stdc++.h>
using namespace std;
int main()
{
int t = 0;
while(scanf("%d", &t) == 1)
{
int x = 1;
for(int y = 0; y < t; y++)
{
printf("%d %d %d PUM\n", x, x + 1, x + 2);
x = x + 4;
}
}
return 0;
}
| 11.6 | 45 | 0.439655 | cosmicray001 |
ce51f63a171d15f49f95eac76e3f1f2226d685e6 | 1,516 | cpp | C++ | codeforces/C1 - Power Transmission (Easy Edition)/Accepted.cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | 1 | 2022-02-11T16:55:36.000Z | 2022-02-11T16:55:36.000Z | codeforces/C1 - Power Transmission (Easy Edition)/Accepted.cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | null | null | null | codeforces/C1 - Power Transmission (Easy Edition)/Accepted.cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | null | null | null | /****************************************************************************************
* @author: kzvd4729 created: May/09/2019 22:17
* solution_verdict: Accepted language: GNU C++14
* run... | 30.938776 | 111 | 0.44723 | kzvd4729 |
ce5307b5ff940d771442a96a283fb081df43eb53 | 56,871 | cxx | C++ | SimModel_Python_API/simmodel_swig/SimModel_Dll_lib/framework/SimFlowEnergyTransfer_HeatingCoilWater_CoilAirHeatingWater.cxx | EnEff-BIM/EnEffBIM-Framework | 6328d39b498dc4065a60b5cc9370b8c2a9a1cddf | [
"MIT"
] | 3 | 2016-05-30T15:12:16.000Z | 2022-03-22T08:11:13.000Z | SimModel_Python_API/simmodel_swig/SimModel_Dll_lib/framework/SimFlowEnergyTransfer_HeatingCoilWater_CoilAirHeatingWater.cxx | EnEff-BIM/EnEffBIM-Framework | 6328d39b498dc4065a60b5cc9370b8c2a9a1cddf | [
"MIT"
] | 21 | 2016-06-13T11:33:45.000Z | 2017-05-23T09:46:52.000Z | SimModel_Python_API/simmodel_swig/SimModel_Dll_lib/framework/SimFlowEnergyTransfer_HeatingCoilWater_CoilAirHeatingWater.cxx | EnEff-BIM/EnEffBIM-Framework | 6328d39b498dc4065a60b5cc9370b8c2a9a1cddf | [
"MIT"
] | null | null | null | // Copyright (c) 2005-2014 Code Synthesis Tools CC
//
// This program was generated by CodeSynthesis XSD, an XML Schema to
// C++ data binding compiler.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Fre... | 44.465207 | 193 | 0.732043 | EnEff-BIM |
ce5b1a1f3f48f5e46dc2c3875cfebfb70dcc76c5 | 3,237 | cpp | C++ | src/pbrt/cmd/pspec_gpu.cpp | mcolletta/pbrt-v4 | c7e3879c782f5434525639fe585b98e4aa0d9298 | [
"Apache-2.0"
] | 1,352 | 2020-08-19T19:36:48.000Z | 2022-03-31T02:48:07.000Z | src/pbrt/cmd/pspec_gpu.cpp | mcolletta/pbrt-v4 | c7e3879c782f5434525639fe585b98e4aa0d9298 | [
"Apache-2.0"
] | 216 | 2020-08-19T21:36:54.000Z | 2022-03-31T16:47:37.000Z | src/pbrt/cmd/pspec_gpu.cpp | mcolletta/pbrt-v4 | c7e3879c782f5434525639fe585b98e4aa0d9298 | [
"Apache-2.0"
] | 157 | 2020-08-19T19:55:26.000Z | 2022-03-30T17:33:10.000Z | // pbrt is Copyright(c) 1998-2020 Matt Pharr, Wenzel Jakob, and Greg Humphreys.
// The pbrt source code is licensed under the Apache License, Version 2.0.
// SPDX: Apache-2.0
// pspec_gpu.cpp
// Unfortunately, cmake doesn't seem to like building a CUDA executable out
// of a single-cpp file and thus, the code that do... | 32.69697 | 89 | 0.58511 | mcolletta |
ce61b8f0ace3c2fa05d08728195cae0f411e2762 | 1,245 | inl | C++ | include/Nazara/Core/ModuleBase.inl | ImperatorS79/NazaraEngine | ff2202875bf97f5540ed76ab975bd252b907f2aa | [
"BSD-3-Clause-Clear",
"Apache-2.0",
"MIT"
] | 376 | 2015-01-09T03:14:48.000Z | 2022-03-26T17:59:18.000Z | include/Nazara/Core/ModuleBase.inl | ImperatorS79/NazaraEngine | ff2202875bf97f5540ed76ab975bd252b907f2aa | [
"BSD-3-Clause-Clear",
"Apache-2.0",
"MIT"
] | 252 | 2015-01-21T17:34:39.000Z | 2022-03-20T16:15:50.000Z | include/Nazara/Core/ModuleBase.inl | ImperatorS79/NazaraEngine | ff2202875bf97f5540ed76ab975bd252b907f2aa | [
"BSD-3-Clause-Clear",
"Apache-2.0",
"MIT"
] | 104 | 2015-01-18T11:03:41.000Z | 2022-03-11T05:40:47.000Z | // Copyright (C) 2020 Jérôme Leclercq
// This file is part of the "Nazara Engine - Core module"
// For conditions of distribution and use, see copyright notice in Config.hpp
#include <Nazara/Core/ModuleBase.hpp>
#include <Nazara/Core/Log.hpp>
#include <Nazara/Core/Debug.hpp>
namespace Nz
{
template<typename T>
Modu... | 21.842105 | 113 | 0.698795 | ImperatorS79 |
ce6306500f846619b25e7753bd6f1855bdc6a42a | 424 | cpp | C++ | src/uml/src_gen/uml/umlPlugin.cpp | MDE4CPP/MDE4CPP | 9db9352dd3b1ae26a5f640e614ed3925499b93f1 | [
"MIT"
] | 12 | 2017-02-17T10:33:51.000Z | 2022-03-01T02:48:10.000Z | src/uml/src_gen/uml/umlPlugin.cpp | ndongmo/MDE4CPP | 9db9352dd3b1ae26a5f640e614ed3925499b93f1 | [
"MIT"
] | 28 | 2017-10-17T20:23:52.000Z | 2021-03-04T16:07:13.000Z | src/uml/src_gen/uml/umlPlugin.cpp | ndongmo/MDE4CPP | 9db9352dd3b1ae26a5f640e614ed3925499b93f1 | [
"MIT"
] | 22 | 2017-03-24T19:03:58.000Z | 2022-03-31T12:10:07.000Z |
#include "uml/umlPlugin.hpp"
#include "uml/impl/umlPluginImpl.hpp"
using namespace uml;
//static initialisation
std::shared_ptr<MDE4CPPPlugin> umlPlugin::instance;
std::shared_ptr<MDE4CPPPlugin> umlPlugin::eInstance()
{
if(instance==nullptr)
{
//create a new Singelton Instance
instance.reset(new umlPluginImpl... | 17.666667 | 53 | 0.75 | MDE4CPP |
ce65a23d31988cd0a7d6a99314c7ff58252ac14e | 8,621 | cpp | C++ | gfx/gfx_font.cpp | astrellon/Rouge | 088f55b331284238e807e0562b9cbbed6428c20f | [
"MIT"
] | null | null | null | gfx/gfx_font.cpp | astrellon/Rouge | 088f55b331284238e807e0562b9cbbed6428c20f | [
"MIT"
] | null | null | null | gfx/gfx_font.cpp | astrellon/Rouge | 088f55b331284238e807e0562b9cbbed6428c20f | [
"MIT"
] | null | null | null | #include "gfx_font.h"
#include "gfx_texture.h"
#include "gfx_asset.h"
#include "gfx_engine.h"
#include <lua/wrappers/lua_id_table.h>
#include <math/math.h>
namespace am {
namespace gfx {
const int Font::LUA_ID = LUA_ID_FONT;
const char *Font::LUA_TABLENAME = LUA_TABLE_FONT;
Font::Font(const char *name) :
bas... | 19.864055 | 111 | 0.614546 | astrellon |
ce66e3873e948870a78f710a2e4acab71ed827c3 | 1,273 | cpp | C++ | src/qt/offerpaydialog.cpp | GregoryBetz/syscoin2 | 22f8fed70a89b6fcc2226fc433fa9a394cd022b1 | [
"MIT"
] | 1 | 2020-05-31T00:36:32.000Z | 2020-05-31T00:36:32.000Z | src/qt/offerpaydialog.cpp | GregoryBetz/syscoin2 | 22f8fed70a89b6fcc2226fc433fa9a394cd022b1 | [
"MIT"
] | null | null | null | src/qt/offerpaydialog.cpp | GregoryBetz/syscoin2 | 22f8fed70a89b6fcc2226fc433fa9a394cd022b1 | [
"MIT"
] | null | null | null | #include "init.h"
#include "util.h"
#include "platformstyle.h"
#include "guiutil.h"
#include "offerpaydialog.h"
#include "ui_offerpaydialog.h"
OfferPayDialog::OfferPayDialog(const PlatformStyle *platformStyle, QString title, QString quantity, QString price, QString currency,QWidget *parent) :
QDialog(parent),
ui(... | 43.896552 | 413 | 0.725059 | GregoryBetz |
ce6a61985a1564257bf95b2520625744933278be | 3,739 | cpp | C++ | HFClib sources/Src/MainFunctions.cpp | quachdnguyen/locate-src | 14b702aa797efd7758c232ba8e83e63101a80524 | [
"BSD-3-Clause"
] | null | null | null | HFClib sources/Src/MainFunctions.cpp | quachdnguyen/locate-src | 14b702aa797efd7758c232ba8e83e63101a80524 | [
"BSD-3-Clause"
] | null | null | null | HFClib sources/Src/MainFunctions.cpp | quachdnguyen/locate-src | 14b702aa797efd7758c232ba8e83e63101a80524 | [
"BSD-3-Clause"
] | null | null | null | ////////////////////////////////////////////////////////////////////
// HFC Library - Copyright (C) 1999-2008 Janne Huttunen
////////////////////////////////////////////////////////////////////
#include "HFCLib.h"
// Library variables
#define HFCVERSIONMS MAKEVERSION(6,50)
#define HFCVERSIONLS MAKEVERSION(8,921... | 19.076531 | 68 | 0.710618 | quachdnguyen |
ce6d0629e07357709ab2e3ee05bdde3afadeee29 | 757 | hpp | C++ | src/cube.hpp | AnttiVainio/Ray-tracer | 0843aeb490b14417d47b844ebaa4174617833568 | [
"Unlicense"
] | null | null | null | src/cube.hpp | AnttiVainio/Ray-tracer | 0843aeb490b14417d47b844ebaa4174617833568 | [
"Unlicense"
] | null | null | null | src/cube.hpp | AnttiVainio/Ray-tracer | 0843aeb490b14417d47b844ebaa4174617833568 | [
"Unlicense"
] | null | null | null | /** cube.hpp **/
#ifndef CUBE_HPP
#define CUBE_HPP
#include "global.hpp"
#include "polygon.hpp"
#include <vector>
//This class represents a cuboid (not a cube a matter of fact)
//Cubes are used to quickly test wether a ray can hit groups of polygons or cubes by placing cubes around them
//Testing wether a ray hits a... | 29.115385 | 110 | 0.721268 | AnttiVainio |
ce6ed34d2d63ca33159db69619f063e155473ce5 | 27,126 | cpp | C++ | newton-4.00/sdk/dCollision/ndBodyPlayerCapsule.cpp | MADEAPPS/newton-dynamics | e346eec9d19ffb1c995b09417400167d3c52a635 | [
"Zlib"
] | 1,031 | 2015-01-02T14:08:47.000Z | 2022-03-29T02:25:27.000Z | newton-4.00/sdk/dCollision/ndBodyPlayerCapsule.cpp | MADEAPPS/newton-dynamics | e346eec9d19ffb1c995b09417400167d3c52a635 | [
"Zlib"
] | 240 | 2015-01-11T04:27:19.000Z | 2022-03-30T00:35:57.000Z | newton-4.00/sdk/dCollision/ndBodyPlayerCapsule.cpp | MADEAPPS/newton-dynamics | e346eec9d19ffb1c995b09417400167d3c52a635 | [
"Zlib"
] | 224 | 2015-01-05T06:13:54.000Z | 2022-02-25T14:39:51.000Z | /* Copyright (c) <2003-2021> <Julio Jerez, Newton Game Dynamics>
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
*
* Permission is granted to anyone to use this software for any purpo... | 33.530284 | 194 | 0.746406 | MADEAPPS |
ce721b6e75e0cf46672e66861ea6520c8801e6b6 | 11,026 | inl | C++ | gui/ctrl/scroll_bar.inl | r3dl3g/guipp | 3d3179be3022935b46b59f1b988a029abeabfcbf | [
"MIT"
] | null | null | null | gui/ctrl/scroll_bar.inl | r3dl3g/guipp | 3d3179be3022935b46b59f1b988a029abeabfcbf | [
"MIT"
] | null | null | null | gui/ctrl/scroll_bar.inl | r3dl3g/guipp | 3d3179be3022935b46b59f1b988a029abeabfcbf | [
"MIT"
] | null | null | null | /**
* @copyright (c) 2016-2021 Ing. Buero Rothfuss
* Riedlinger Str. 8
* 70327 Stuttgart
* Germany
* http://www.rothfuss-web.de
*
* @author <a href="mailto:armin@rothfuss-web.de">Armin Rothfuss</a>
*
* Projec... | 35.003175 | 133 | 0.577363 | r3dl3g |
ce756ec4295f8fc7e4767d2d3bddcdb799edbdcc | 10,423 | cc | C++ | daemon/client_cert_config.cc | rualso/kv_engine | 17680c38a77d3a67fda55f763cc2631f924ed42d | [
"BSD-3-Clause"
] | null | null | null | daemon/client_cert_config.cc | rualso/kv_engine | 17680c38a77d3a67fda55f763cc2631f924ed42d | [
"BSD-3-Clause"
] | null | null | null | daemon/client_cert_config.cc | rualso/kv_engine | 17680c38a77d3a67fda55f763cc2631f924ed42d | [
"BSD-3-Clause"
] | 2 | 2019-10-11T14:00:49.000Z | 2020-04-06T09:20:15.000Z | /* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
* Copyright 2017 Couchbase, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* ... | 32.470405 | 80 | 0.567975 | rualso |
706e101ec4cc7dfbe9ae0dc93aaec40a1efd4591 | 1,652 | hpp | C++ | lib/fd_owner.hpp | milasudril/wad64 | c656710513013041e8efc29505d328abbbf5e843 | [
"MIT"
] | null | null | null | lib/fd_owner.hpp | milasudril/wad64 | c656710513013041e8efc29505d328abbbf5e843 | [
"MIT"
] | 2 | 2021-02-02T19:40:39.000Z | 2021-02-21T10:25:02.000Z | lib/fd_owner.hpp | milasudril/wad64 | c656710513013041e8efc29505d328abbbf5e843 | [
"MIT"
] | null | null | null | //@ {
//@ "targets":[{"name":"fd_owner.hpp","type":"include"}]
//@ }
#ifndef WAD64_LIB_FDOWNER_HPP
#define WAD64_LIB_FDOWNER_HPP
#include "./fd_adapter.hpp"
#include <stdexcept>
namespace Wad64
{
class FdOwner
{
public:
template<class... Args>
explicit FdOwner(char const* filename, Args&&... args)
: m_... | 22.026667 | 90 | 0.653148 | milasudril |
706f5b842882bc9d63bdea03062abfb7bd8f054d | 551 | cpp | C++ | commonrow.cpp | DEBMALYASEN/interview-problems | 3eff09437c1e88096687b0011d906239a0a0da9f | [
"MIT"
] | null | null | null | commonrow.cpp | DEBMALYASEN/interview-problems | 3eff09437c1e88096687b0011d906239a0a0da9f | [
"MIT"
] | null | null | null | commonrow.cpp | DEBMALYASEN/interview-problems | 3eff09437c1e88096687b0011d906239a0a0da9f | [
"MIT"
] | null | null | null | /* common distinct elements in the rows of a matrix */
#include<bits/stdc++.h>
using namespace std;
int main()
{ int i,j;
int m=0,n=0;
cin>>m;
int a[m][m];
for(i=0;i<m;i++)
{
for(j=0;j<m;j++)
cin>>a[i][j];
}
unordered_set<int>s;
for(i=0;i<m;i++)
s.insert(a[0][i]);
for(i=1;i<m;i++)... | 16.205882 | 55 | 0.466425 | DEBMALYASEN |
70785fed843159cba28ffe3a3d20c3ec50b959ef | 634 | hh | C++ | src/include/simeng/arch/aarch64/helpers/divide.hh | ABagdia/SimEng | 63b52fbb6e07c75100e03a153191b9c548f537c5 | [
"Apache-2.0"
] | null | null | null | src/include/simeng/arch/aarch64/helpers/divide.hh | ABagdia/SimEng | 63b52fbb6e07c75100e03a153191b9c548f537c5 | [
"Apache-2.0"
] | null | null | null | src/include/simeng/arch/aarch64/helpers/divide.hh | ABagdia/SimEng | 63b52fbb6e07c75100e03a153191b9c548f537c5 | [
"Apache-2.0"
] | null | null | null | #pragma once
#include "auxiliaryFunctions.hh"
namespace simeng {
namespace arch {
namespace aarch64 {
class divideHelp {
public:
/** Helper function for instructions with the format `div rd, rn, rm`.
* T represents the type of operands (e.g. for xd, T = uint64_t).
* Returns single value of type T. */
templ... | 26.416667 | 79 | 0.657729 | ABagdia |
7078c9f4390979decc8eb1cd42dc49d08f0d5674 | 3,837 | cpp | C++ | src/ui/ui_canvas_renderer.cpp | kevinfyc/KGE | 3b3d805317765c1c67f7584f8c1eee6e7c94c3a3 | [
"Apache-2.0"
] | 1 | 2019-11-08T09:57:15.000Z | 2019-11-08T09:57:15.000Z | src/ui/ui_canvas_renderer.cpp | kevinfyc/KGE | 3b3d805317765c1c67f7584f8c1eee6e7c94c3a3 | [
"Apache-2.0"
] | null | null | null | src/ui/ui_canvas_renderer.cpp | kevinfyc/KGE | 3b3d805317765c1c67f7584f8c1eee6e7c94c3a3 | [
"Apache-2.0"
] | null | null | null | //
// ui_canvas_renderer.cpp
// libkge
//
// Created by kevin on 17-10-10.
//
//
//
#include "ui_canvas_renderer.h"
#include "core/game_object.h"
#include "graphics/material.h"
#include "ui_event_handler.h"
namespace kge
{
DEFINE_COM_CLASS(UICanvasRenderer);
UICanvasRenderer::UICanvasRenderer() :
_type(Rende... | 19.089552 | 96 | 0.623925 | kevinfyc |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.