hexsha stringlengths 40 40 | size int64 7 1.05M | ext stringclasses 13
values | lang stringclasses 1
value | max_stars_repo_path stringlengths 4 269 | max_stars_repo_name stringlengths 5 108 | max_stars_repo_head_hexsha stringlengths 40 40 | max_stars_repo_licenses listlengths 1 9 | max_stars_count int64 1 191k ⌀ | max_stars_repo_stars_event_min_datetime stringlengths 24 24 ⌀ | max_stars_repo_stars_event_max_datetime stringlengths 24 24 ⌀ | max_issues_repo_path stringlengths 4 269 | max_issues_repo_name stringlengths 5 116 | max_issues_repo_head_hexsha stringlengths 40 40 | max_issues_repo_licenses listlengths 1 9 | max_issues_count int64 1 67k ⌀ | max_issues_repo_issues_event_min_datetime stringlengths 24 24 ⌀ | max_issues_repo_issues_event_max_datetime stringlengths 24 24 ⌀ | max_forks_repo_path stringlengths 4 269 | max_forks_repo_name stringlengths 5 116 | max_forks_repo_head_hexsha stringlengths 40 40 | max_forks_repo_licenses listlengths 1 9 | max_forks_count int64 1 105k ⌀ | max_forks_repo_forks_event_min_datetime stringlengths 24 24 ⌀ | max_forks_repo_forks_event_max_datetime stringlengths 24 24 ⌀ | content stringlengths 7 1.05M | avg_line_length float64 1.21 330k | max_line_length int64 6 990k | alphanum_fraction float64 0.01 0.99 | author_id stringlengths 2 40 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
cae84a603c57abf08c19870047ccb549991766cb | 1,962 | cpp | C++ | theforgottenserver/rsa.cpp | eclipse606/TFS-Exclusive-0.5.2 | beb8e40341f97933b0f42bc43fe7579b14723adc | [
"Unlicense"
] | null | null | null | theforgottenserver/rsa.cpp | eclipse606/TFS-Exclusive-0.5.2 | beb8e40341f97933b0f42bc43fe7579b14723adc | [
"Unlicense"
] | null | null | null | theforgottenserver/rsa.cpp | eclipse606/TFS-Exclusive-0.5.2 | beb8e40341f97933b0f42bc43fe7579b14723adc | [
"Unlicense"
] | 1 | 2022-01-18T01:08:43.000Z | 2022-01-18T01:08:43.000Z | /**
* The Forgotten Server - a free and open-source MMORPG server emulator
* Copyright (C) 2016 Mark Samman <mark.samman@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; eithe... | 20.87234 | 74 | 0.662589 | eclipse606 |
caeed278fc90efce74f22ffac0ae1dbb88996e04 | 2,886 | cpp | C++ | vbox/src/VBox/Runtime/r3/posix/time-posix.cpp | Nurzamal/rest_api_docker | a9cc01dfc235467d490d9663755b33ef6990bdd8 | [
"MIT"
] | null | null | null | vbox/src/VBox/Runtime/r3/posix/time-posix.cpp | Nurzamal/rest_api_docker | a9cc01dfc235467d490d9663755b33ef6990bdd8 | [
"MIT"
] | null | null | null | vbox/src/VBox/Runtime/r3/posix/time-posix.cpp | Nurzamal/rest_api_docker | a9cc01dfc235467d490d9663755b33ef6990bdd8 | [
"MIT"
] | null | null | null | /* $Id: time-posix.cpp 69111 2017-10-17 14:26:02Z vboxsync $ */
/** @file
* IPRT - Time, POSIX.
*/
/*
* Copyright (C) 2006-2017 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
* you can redistribute it a... | 32.066667 | 130 | 0.616771 | Nurzamal |
caf2bc15a7f3e198804f3348a3325093db8435bc | 12,547 | cpp | C++ | duilib/Control/List.cpp | colinjiang007/NIM_Duilib_Mini | d3784824b15c812787dd19c652db817b2793b265 | [
"BSD-2-Clause",
"MIT"
] | null | null | null | duilib/Control/List.cpp | colinjiang007/NIM_Duilib_Mini | d3784824b15c812787dd19c652db817b2793b265 | [
"BSD-2-Clause",
"MIT"
] | null | null | null | duilib/Control/List.cpp | colinjiang007/NIM_Duilib_Mini | d3784824b15c812787dd19c652db817b2793b265 | [
"BSD-2-Clause",
"MIT"
] | null | null | null | #include "StdAfx.h"
namespace ui
{
ListBox::ListBox(Layout* pLayout) :
ScrollableBox(pLayout),
m_bScrollSelect(false),
m_iCurSel(-1),
m_pCompareFunc(nullptr),
m_pCompareData(NULL),
m_bSelNextWhenRemoveActive(true)
{
}
void ListBox::SetAttribute(LPCTSTR szName, LPCTSTR szValue)
{
CUiString... | 26.248954 | 121 | 0.672193 | colinjiang007 |
caf3b10159b57f6601c90caf58f83e1ebb851db5 | 714 | cpp | C++ | Array/zhanchengguo/0711-BiNode/BiNode.cpp | JessonYue/LeetCodeLearning | 3c22a4fcdfe8b47f9f64b939c8b27742c4e30b79 | [
"MIT"
] | 39 | 2020-05-31T06:14:39.000Z | 2021-01-09T11:06:39.000Z | Array/zhanchengguo/0711-BiNode/BiNode.cpp | JessonYue/LeetCodeLearning | 3c22a4fcdfe8b47f9f64b939c8b27742c4e30b79 | [
"MIT"
] | 7 | 2020-06-02T11:04:14.000Z | 2020-06-11T14:11:58.000Z | Array/zhanchengguo/0711-BiNode/BiNode.cpp | JessonYue/LeetCodeLearning | 3c22a4fcdfe8b47f9f64b939c8b27742c4e30b79 | [
"MIT"
] | 20 | 2020-05-31T06:21:57.000Z | 2020-10-01T04:48:38.000Z | #include <iostream>
#include <stack>
#include <list>
using namespace std;
struct TreeNode {
int val;
TreeNode *left;
TreeNode *right;
TreeNode(int x) : val(x), left(NULL), right(NULL) {}
};
TreeNode *convertBiNode(TreeNode *root);
void reversion(TreeNode *root);
int main() {
return 0;
}
TreeN... | 14.571429 | 56 | 0.596639 | JessonYue |
caf3f99cca726a33c339a3d00fcccd4e7813deb4 | 348 | cxx | C++ | examples/01_SimpleExamples/05_MultiObjects/src/main.cxx | GailKabala/LearnVulkan | 672ee38755413889f2e1fe4d226e200955da9278 | [
"MIT"
] | null | null | null | examples/01_SimpleExamples/05_MultiObjects/src/main.cxx | GailKabala/LearnVulkan | 672ee38755413889f2e1fe4d226e200955da9278 | [
"MIT"
] | null | null | null | examples/01_SimpleExamples/05_MultiObjects/src/main.cxx | GailKabala/LearnVulkan | 672ee38755413889f2e1fe4d226e200955da9278 | [
"MIT"
] | null | null | null | #include "multiobjects.h"
int main(int argc,char** argv){
bool debug=false;
MultiImageSampler* pMultiImageSampler=new MultiImageSampler(debug);
pMultiImageSampler->initVulkan();
pMultiImageSampler->initWindow();
pMultiImageSampler->prepare();
pMultiImageSampler->renderLoop();
delete pMultiIm... | 29 | 71 | 0.735632 | GailKabala |
caf45f6a9261e65fa1422e9e8156dd01b0e5fcba | 8,688 | cpp | C++ | barcode.cpp | GimmeDanger/barcode_reader | 26685effc10521f9e6daccee62f0ad82a6168f69 | [
"MIT"
] | null | null | null | barcode.cpp | GimmeDanger/barcode_reader | 26685effc10521f9e6daccee62f0ad82a6168f69 | [
"MIT"
] | null | null | null | barcode.cpp | GimmeDanger/barcode_reader | 26685effc10521f9e6daccee62f0ad82a6168f69 | [
"MIT"
] | null | null | null | #include "barcode.h"
#include <algorithm>
constexpr uchar Barcode::black_color;
constexpr uchar Barcode::white_color;
constexpr int Barcode::left_guards_size;
constexpr int Barcode::middle_guards_size;
constexpr int Barcode::right_guards_size;
constexpr int Barcode::left_code_size;
constexpr int Barcode::rig... | 30.699647 | 118 | 0.581722 | GimmeDanger |
caf595b951216a3f914c7bb1f4fb18703cbebd7f | 5,671 | cpp | C++ | src/comm/serialport.cpp | robertrau/libpifly | c69e0161f85668637ef5eb1387f48929b247964a | [
"MIT"
] | null | null | null | src/comm/serialport.cpp | robertrau/libpifly | c69e0161f85668637ef5eb1387f48929b247964a | [
"MIT"
] | null | null | null | src/comm/serialport.cpp | robertrau/libpifly | c69e0161f85668637ef5eb1387f48929b247964a | [
"MIT"
] | null | null | null | /*
Author: Robert F. Rau II
Copyright (C) 2017 Robert F. Rau II
*/
#include "comm/serialport.h"
#include "comm/commexception.h"
#include <iostream>
#include <unistd.h>
namespace PiFly
{
namespace Comm
{
SerialPort::SerialPort(string devPath, Baudrate baud, bool blocking) :
mBlocking(blocking)
{
if(mBlo... | 22.152344 | 85 | 0.631811 | robertrau |
caf83c749a0090f67d34ad9943669a21bbb4264c | 2,578 | hpp | C++ | include/atma/hash.hpp | omnigoat/atma | 73833f41373fac2af695587786c00a307046de64 | [
"MIT"
] | 7 | 2016-04-08T03:53:42.000Z | 2020-07-06T05:52:35.000Z | include/atma/hash.hpp | omnigoat/atma | 73833f41373fac2af695587786c00a307046de64 | [
"MIT"
] | 1 | 2018-04-14T13:56:06.000Z | 2018-04-14T13:56:06.000Z | include/atma/hash.hpp | omnigoat/atma | 73833f41373fac2af695587786c00a307046de64 | [
"MIT"
] | null | null | null | #pragma once
import atma.types;
namespace atma
{
struct hasher_t;
template <typename T>
struct hash_t
{
auto operator()(T const& x) const -> size_t;
auto operator()(hasher_t& hsh, T const& x) const -> void;
};
struct hasher_t
{
hasher_t(uint64 seed = 0);
template <typename T>
a... | 16.960526 | 80 | 0.557797 | omnigoat |
caf9506bec8989b42c3c560844f90f1c57e823e2 | 2,178 | hpp | C++ | schmidt.hpp | deakinYellow/utility-math | 7b465ca7031fe85579c13d81732d8b20bbbf1acb | [
"Apache-2.0"
] | null | null | null | schmidt.hpp | deakinYellow/utility-math | 7b465ca7031fe85579c13d81732d8b20bbbf1acb | [
"Apache-2.0"
] | null | null | null | schmidt.hpp | deakinYellow/utility-math | 7b465ca7031fe85579c13d81732d8b20bbbf1acb | [
"Apache-2.0"
] | null | null | null | #include <iostream>
//#define USING_MLOGD
#include "utility/tool.h"
#include <Eigen/Core>
//#include <Eigen/Geometry> // Eigen 几何模块
/**
* @brief 使用Gramy-Schmidt方法实现向量正交化,并单位化
* @param [in] a 向量a
* @param [in] b 向量b
* @param [in] c 向量c
* @param [out] An 标准化后的向量A
* @param [... | 30.25 | 80 | 0.472452 | deakinYellow |
cafe1defafe566eabcedc1c9ed23b2f8a0be029f | 7,579 | cc | C++ | src/utils/dexai_log.cc | DexaiRobotics/drake-franka-driver | 856b2e029ade04b164c889975c167c8bdebea7af | [
"BSD-3-Clause"
] | 5 | 2020-12-07T18:12:26.000Z | 2022-03-17T23:27:42.000Z | src/utils/dexai_log.cc | DexaiRobotics/drake-franka-driver | 856b2e029ade04b164c889975c167c8bdebea7af | [
"BSD-3-Clause"
] | 18 | 2020-12-01T03:02:19.000Z | 2022-03-11T22:36:45.000Z | src/utils/dexai_log.cc | DexaiRobotics/drake-franka-driver | 856b2e029ade04b164c889975c167c8bdebea7af | [
"BSD-3-Clause"
] | null | null | null | /*
* BSD 3-Clause License
*
* Copyright (c) 2021, Dexai Robotics
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright notic... | 36.090476 | 80 | 0.679377 | DexaiRobotics |
cafe7f9a3dcf63e01d84bde0d9fcec87c6cea065 | 927 | cpp | C++ | codes/sub/src/comms/comms.cpp | tofu-micom/RCJ2021_Exhibition | 55877e2dd6be3ef1b660f98725a83c3aaef21cb1 | [
"MIT"
] | null | null | null | codes/sub/src/comms/comms.cpp | tofu-micom/RCJ2021_Exhibition | 55877e2dd6be3ef1b660f98725a83c3aaef21cb1 | [
"MIT"
] | null | null | null | codes/sub/src/comms/comms.cpp | tofu-micom/RCJ2021_Exhibition | 55877e2dd6be3ef1b660f98725a83c3aaef21cb1 | [
"MIT"
] | null | null | null | //
// Created by 平地浩一 on 2021/03/23.
//
#include "comms.h"
DigitalIn a(PA_7);
DigitalIn b(PA_6);
DigitalOut RA(PB_0);
DigitalOut RB(PA_12);
DigitalOut LA(PB_3);
// PB_7 許さん!!!
DigitalOut LB(PB_6);
BufferedSerial pc(USBTX, USBRX);
void comms_init() {
RA.write(0);
RB.write(0);
LA.write(0);
LB.write(0);
}
voi... | 15.982759 | 33 | 0.483279 | tofu-micom |
1b07e3b6b1ec908923f117c4a99d023bcf522190 | 2,933 | hpp | C++ | inc/Tester.hpp | kotabrog/ft_containers | 527f2b3c3aa73549cce912421f8e722af8b36ca0 | [
"MIT"
] | null | null | null | inc/Tester.hpp | kotabrog/ft_containers | 527f2b3c3aa73549cce912421f8e722af8b36ca0 | [
"MIT"
] | null | null | null | inc/Tester.hpp | kotabrog/ft_containers | 527f2b3c3aa73549cce912421f8e722af8b36ca0 | [
"MIT"
] | null | null | null | #ifndef TESTER_HPP
#define TESTER_HPP
#include <string>
#include <iostream>
#include <sstream>
#include <vector>
#include <time.h>
class Tester
{
private:
struct StrTime
{
std::string str;
clock_t time;
/** Skip output when put_all_time */
bool skip;
};
/** Number of h... | 22.914063 | 108 | 0.577907 | kotabrog |
1b083c392d9a102b70f99fbfab61f86ef34ef17d | 8,170 | cpp | C++ | app/viewport/render/task.cpp | mbd-shift/nodecad | cd8203c4b53608d015632a2b2fc324bcf6dec4b0 | [
"MIT",
"Unlicense"
] | 2,059 | 2015-01-18T16:21:33.000Z | 2022-03-25T21:54:24.000Z | app/viewport/render/task.cpp | hzeller/antimony | 37324614f873d653594f25c2b8ee05fd4782e1d8 | [
"Unlicense",
"MIT"
] | 209 | 2015-01-22T22:37:45.000Z | 2021-04-14T20:49:40.000Z | app/viewport/render/task.cpp | hzeller/antimony | 37324614f873d653594f25c2b8ee05fd4782e1d8 | [
"Unlicense",
"MIT"
] | 187 | 2015-02-04T16:19:43.000Z | 2022-02-12T17:12:24.000Z | #include <boost/python.hpp>
#include <boost/format.hpp>
#include "viewport/render/task.h"
#include "viewport/render/instance.h"
#include "fab/types/shape.h"
#include "fab/util/region.h"
#include "fab/tree/render.h"
RenderTask::RenderTask(RenderInstance* parent, PyObject* s, QMatrix4x4 M,
QVect... | 29.92674 | 80 | 0.487271 | mbd-shift |
db44cfafea70e2b41266ec35540566e5b8b146fb | 8,579 | cpp | C++ | plugins/single_plugins/command.cpp | DurandA/wayfire | f7d3c51552684ac7527d58210d8ebdff2a4bbca1 | [
"MIT"
] | 1 | 2021-05-04T18:28:20.000Z | 2021-05-04T18:28:20.000Z | plugins/single_plugins/command.cpp | paullinuxthemer/wayfire | b2e244949783e92e97f5197b0e29ae2ca2868b29 | [
"MIT"
] | null | null | null | plugins/single_plugins/command.cpp | paullinuxthemer/wayfire | b2e244949783e92e97f5197b0e29ae2ca2868b29 | [
"MIT"
] | null | null | null | #include <wayfire/plugin.hpp>
#include <wayfire/output.hpp>
#include <wayfire/core.hpp>
#include <linux/input.h>
#include <linux/input-event-codes.h>
#include <wayfire/signal-definitions.hpp>
#include <wayfire/util/log.hpp>
static bool begins_with(std::string word, std::string prefix)
{
if (word.length() < prefix.... | 31.892193 | 90 | 0.6038 | DurandA |
db46a53f1b80be09f414f81993846f8b94a43480 | 3,749 | cpp | C++ | Server/shared/SocketMgr.cpp | APistole/KnightOnline | 80268e2fa971389a3e94c430966a7943c2631dbf | [
"MIT"
] | 191 | 2016-03-05T16:44:15.000Z | 2022-03-09T00:52:31.000Z | Server/shared/SocketMgr.cpp | APistole/KnightOnline | 80268e2fa971389a3e94c430966a7943c2631dbf | [
"MIT"
] | 128 | 2016-08-31T04:09:06.000Z | 2022-01-14T13:42:56.000Z | Server/shared/SocketMgr.cpp | APistole/KnightOnline | 80268e2fa971389a3e94c430966a7943c2631dbf | [
"MIT"
] | 165 | 2016-03-05T16:43:59.000Z | 2022-01-22T00:52:25.000Z | #include "stdafx.h"
#include "SocketMgr.h"
bool SocketMgr::s_bRunningCleanupThread = true;
std::recursive_mutex SocketMgr::s_disconnectionQueueLock;
std::queue<Socket *> SocketMgr::s_disconnectionQueue;
Thread SocketMgr::s_cleanupThread;
Atomic<uint32_t> SocketMgr::s_refCounter;
uint32_t THREADCALL SocketCleanupThr... | 19.42487 | 91 | 0.721792 | APistole |
db48a0c83037ef203780e5c422d63b26c3d86677 | 5,303 | cpp | C++ | src/qt/qtbase/tests/auto/network/socket/qudpsocket/clientserver/main.cpp | power-electro/phantomjs-Gohstdriver-DIY-openshift | a571d301a9658a4c1b524d07e15658b45f8a0579 | [
"BSD-3-Clause"
] | 1 | 2020-04-30T15:47:35.000Z | 2020-04-30T15:47:35.000Z | src/qt/qtbase/tests/auto/network/socket/qudpsocket/clientserver/main.cpp | power-electro/phantomjs-Gohstdriver-DIY-openshift | a571d301a9658a4c1b524d07e15658b45f8a0579 | [
"BSD-3-Clause"
] | null | null | null | src/qt/qtbase/tests/auto/network/socket/qudpsocket/clientserver/main.cpp | power-electro/phantomjs-Gohstdriver-DIY-openshift | a571d301a9658a4c1b524d07e15658b45f8a0579 | [
"BSD-3-Clause"
] | null | null | null | /****************************************************************************
**
** Copyright (C) 2015 The Qt Company Ltd.
** Contact: http://www.qt.io/licensing/
**
** This file is part of the test suite of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL21$
** Commercial License Usage
** Licensees holding valid commercia... | 31.754491 | 112 | 0.561192 | power-electro |
db4a5dd01fea6491f5006a190a1ebe1138736b9a | 872 | cpp | C++ | experiments/step_crawling/cpp_robot_server/server_node.cpp | yifan-hou/hybrid_servoing | 4d3a2cc047a3bad5ded19934247b5ab5e598f911 | [
"MIT"
] | 16 | 2020-04-15T04:45:02.000Z | 2022-01-13T03:28:46.000Z | experiments/step_crawling/cpp_robot_server/server_node.cpp | yifan-hou/hybrid_servoing | 4d3a2cc047a3bad5ded19934247b5ab5e598f911 | [
"MIT"
] | null | null | null | experiments/step_crawling/cpp_robot_server/server_node.cpp | yifan-hou/hybrid_servoing | 4d3a2cc047a3bad5ded19934247b5ab5e598f911 | [
"MIT"
] | null | null | null | #include "step_crawling.h"
#include <RobotUtilities/utilities.h>
#include <ati_netft/ati_netft.h>
#include <abb_egm/abb_egm.h>
#include <ur_socket/ur_socket.h>
using namespace std;
using namespace RUT;
int main(int argc, char* argv[]) {
ROS_INFO_STREAM("Step crawling task server node starting");
ros::init(argc, ... | 26.424242 | 70 | 0.716743 | yifan-hou |
db4d1277a1b457e6e3ef93a80a16b4171e2ff0ee | 6,543 | cpp | C++ | src/writers/r_writer.cpp | danielnavarrogomez/Anaquin | 563dbeb25aff15a55e4309432a967812cbfa0c98 | [
"BSD-3-Clause"
] | null | null | null | src/writers/r_writer.cpp | danielnavarrogomez/Anaquin | 563dbeb25aff15a55e4309432a967812cbfa0c98 | [
"BSD-3-Clause"
] | null | null | null | src/writers/r_writer.cpp | danielnavarrogomez/Anaquin | 563dbeb25aff15a55e4309432a967812cbfa0c98 | [
"BSD-3-Clause"
] | null | null | null | #include "stats/analyzer.hpp"
#include "writers/r_writer.hpp"
using namespace Anaquin;
// Defined in main.cpp
extern Path __output__;
// Defined in resources.cpp
extern Scripts PlotLinear();
// Defined in resources.cpp
extern Scripts PlotFold();
// Defined in resources.cpp
extern Scripts PlotLogistic();
Scripts R... | 42.487013 | 96 | 0.32508 | danielnavarrogomez |
db4e7ed1ba533943e6b3cde934a3bab7d6e3157a | 2,209 | cpp | C++ | src/bug_10.cpp | happanda/advent_2017 | 9e705f3088d79dac0caa471154ae88ed5106b2d2 | [
"MIT"
] | null | null | null | src/bug_10.cpp | happanda/advent_2017 | 9e705f3088d79dac0caa471154ae88ed5106b2d2 | [
"MIT"
] | null | null | null | src/bug_10.cpp | happanda/advent_2017 | 9e705f3088d79dac0caa471154ae88ed5106b2d2 | [
"MIT"
] | null | null | null | #include "advent.h"
inline void reverse(std::vector<int>& vect, int from, int length)
{
int const vsize = vect.size();
if (length > vsize)
return;
for (int i = 0; i < length / 2; ++i)
std::swap(vect[(from + i) % vsize], vect[(from + length - i - 1) % vsize]);
}
inline std::string knotHash(std::string const& i... | 22.773196 | 127 | 0.609325 | happanda |
db4eb7d9e27d1699f6a72d0cf9816180da7d0803 | 4,626 | cpp | C++ | util/generic/yexception_ut.cpp | jjzhang166/balancer | 84addf52873d8814b8fd30289f2fcfcec570c151 | [
"Unlicense"
] | 39 | 2015-03-12T19:49:24.000Z | 2020-11-11T09:58:15.000Z | util/generic/yexception_ut.cpp | jjzhang166/balancer | 84addf52873d8814b8fd30289f2fcfcec570c151 | [
"Unlicense"
] | null | null | null | util/generic/yexception_ut.cpp | jjzhang166/balancer | 84addf52873d8814b8fd30289f2fcfcec570c151 | [
"Unlicense"
] | 11 | 2016-01-14T16:42:00.000Z | 2022-01-17T11:47:33.000Z | #include "yexception.h"
static inline void Throw1DontMove() {
ythrow yexception() << "blabla"; //dont move this line
}
static inline void Throw2DontMove() {
ythrow yexception() << 1 << " qw " << 12.1; //dont move this line
}
#include <library/unittest/registar.h>
#include <util/stream/ios.h>
#include "yexc... | 27.211765 | 99 | 0.444877 | jjzhang166 |
db52b53a633360f262474ffbf9e3a3fb7a3ee542 | 11,578 | cpp | C++ | lib/orvis/Scene.cpp | f-schroeder/orvis | 440de86bc4331100f24efb192d8781240a59f80e | [
"MIT"
] | null | null | null | lib/orvis/Scene.cpp | f-schroeder/orvis | 440de86bc4331100f24efb192d8781240a59f80e | [
"MIT"
] | null | null | null | lib/orvis/Scene.cpp | f-schroeder/orvis | 440de86bc4331100f24efb192d8781240a59f80e | [
"MIT"
] | null | null | null | #include "Scene.hpp"
#include <assimp/Importer.hpp>
#include <assimp/scene.h>
#include <assimp/postprocess.h>
#include <assimp/config.h>
#include <numeric>
#include <execution>
#include "Util.hpp"
#include "stb/stb_image.h"
Scene::Scene(const std::filesystem::path& filename)
{
const auto path = util::resourcesP... | 34.561194 | 155 | 0.682156 | f-schroeder |
db57a0d8321b3e7228a9299300d4758815940177 | 58 | cpp | C++ | contests/Codeforces Round #599 Div 2/Character_swap_hard.cpp | Razdeep/Codeforces-Solutions | e808575219ec15bc07720d6abafe3c4c8df036f4 | [
"MIT"
] | 2 | 2020-08-27T18:21:04.000Z | 2020-08-30T13:24:39.000Z | contests/Codeforces Round #599 Div 2/Character_swap_hard.cpp | Razdeep/Codeforces-Solutions | e808575219ec15bc07720d6abafe3c4c8df036f4 | [
"MIT"
] | null | null | null | contests/Codeforces Round #599 Div 2/Character_swap_hard.cpp | Razdeep/Codeforces-Solutions | e808575219ec15bc07720d6abafe3c4c8df036f4 | [
"MIT"
] | null | null | null | // @TODO
// https://codeforces.com/contest/1243/problem/B2 | 29 | 49 | 0.724138 | Razdeep |
db58527125571dfd22175d05ec81f1e14c2605fd | 3,485 | cpp | C++ | GeneratorSource/Source/Panels/PanelList.cpp | ercdndrs/Arduino-Source | c0490f0f06aaa38759aa8f11def9e1349e551679 | [
"MIT"
] | null | null | null | GeneratorSource/Source/Panels/PanelList.cpp | ercdndrs/Arduino-Source | c0490f0f06aaa38759aa8f11def9e1349e551679 | [
"MIT"
] | null | null | null | GeneratorSource/Source/Panels/PanelList.cpp | ercdndrs/Arduino-Source | c0490f0f06aaa38759aa8f11def9e1349e551679 | [
"MIT"
] | null | null | null | /* List of all Panels
*
* From: https://github.com/PokemonAutomation/Arduino-Source
*
*/
#include <QFile>
#include <QTextStream>
#include <QMessageBox>
#include "Common/Qt/StringException.h"
#include "Common/Qt/QtJsonTools.h"
#include "JsonSettings.h"
#include "JsonProgram.h"
#include "Tools/Persist... | 28.104839 | 92 | 0.55868 | ercdndrs |
db5b4cd53cee3cd795f7a29cf3eeea0d2529fa5a | 3,580 | cpp | C++ | third_party/libosmium/test/t/basic/test_node.cpp | Mapotempo/osrm-backend | a62c10321c0a269e218ab4164c4ccd132048f271 | [
"BSD-2-Clause"
] | 1 | 2016-11-29T15:02:40.000Z | 2016-11-29T15:02:40.000Z | third_party/libosmium/test/t/basic/test_node.cpp | aaronbenz/osrm-backend | 758d4023050d1f49971f919cea872a2276dafe14 | [
"BSD-2-Clause"
] | 1 | 2019-02-04T18:10:57.000Z | 2019-02-04T18:10:57.000Z | third_party/libosmium/test/t/basic/test_node.cpp | Mapotempo/osrm-backend | a62c10321c0a269e218ab4164c4ccd132048f271 | [
"BSD-2-Clause"
] | null | null | null | #include "catch.hpp"
#include <boost/crc.hpp>
#include <osmium/osm/crc.hpp>
#include <osmium/osm/node.hpp>
#include "helper.hpp"
TEST_CASE("Basic_Node") {
osmium::CRC<boost::crc_32_type> crc32;
SECTION("node_builder") {
osmium::memory::Buffer buffer(10000);
osmium::Node& node = buffer_add_node(buffer... | 28.412698 | 87 | 0.603631 | Mapotempo |
db5b6d341ba5c92e5aad480e3a7e19853caf3240 | 1,051 | cpp | C++ | dynamicProgramming/IncreasingSubsequence/increasingSubsequence.cpp | MrCarZ/cses-solutions | 9ea0ad65572bf9d4c321a3ae313c22f64f1ac9a7 | [
"MIT"
] | null | null | null | dynamicProgramming/IncreasingSubsequence/increasingSubsequence.cpp | MrCarZ/cses-solutions | 9ea0ad65572bf9d4c321a3ae313c22f64f1ac9a7 | [
"MIT"
] | null | null | null | dynamicProgramming/IncreasingSubsequence/increasingSubsequence.cpp | MrCarZ/cses-solutions | 9ea0ad65572bf9d4c321a3ae313c22f64f1ac9a7 | [
"MIT"
] | null | null | null | #include<bits/stdc++.h>
using namespace std;
const int MAXN = 2E+5 + 5;
const int MAXX = 1E+9 + 7;
int n, vec[MAXN],vec2[MAXN],dp[MAXN];
vector<int> fenwick(MAXN, 0);
void add(int pos, int val){
for(int i = pos; i<=n; i+=i&(-i)){
fenwick[i] = max(val, fenwick[i]);
}
}
int get(int pos){
int ans... | 17.229508 | 54 | 0.444339 | MrCarZ |
db6005fb4b088d339a2014db33c55affca188efe | 7,852 | cpp | C++ | training/work/demo_manipulation/src/robot_io/src/nodes/open_close_grasp_action_server.cpp | asct/industrial_training | f69c54cad966382ce93b34138696a99abc66f444 | [
"Apache-2.0"
] | 324 | 2015-01-31T07:35:37.000Z | 2022-03-27T09:30:14.000Z | training/work/demo_manipulation/src/robot_io/src/nodes/open_close_grasp_action_server.cpp | asct/industrial_training | f69c54cad966382ce93b34138696a99abc66f444 | [
"Apache-2.0"
] | 226 | 2015-01-20T17:15:56.000Z | 2022-01-19T04:55:23.000Z | training/work/demo_manipulation/src/robot_io/src/nodes/open_close_grasp_action_server.cpp | asct/industrial_training | f69c54cad966382ce93b34138696a99abc66f444 | [
"Apache-2.0"
] | 219 | 2015-03-29T03:05:11.000Z | 2022-03-23T11:12:43.000Z | /*
* OpenCloseGraspActionServer.cpp
*
* Created on: Apr 19, 2013
* Author: jnicho
*/
/*
* Software License Agreement (BSD License)
*
* Copyright (c) 2011, Southwest Research Institute
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are per... | 27.550877 | 133 | 0.710265 | asct |
db61705d57f0223b23905967953c5dffa451a9b5 | 1,651 | cpp | C++ | Intro/program_10/asciiDowning.cpp | JasonD94/HighSchool | e37bb56b8149acc87cdb5e37ea619ab6db58fc29 | [
"MIT"
] | null | null | null | Intro/program_10/asciiDowning.cpp | JasonD94/HighSchool | e37bb56b8149acc87cdb5e37ea619ab6db58fc29 | [
"MIT"
] | null | null | null | Intro/program_10/asciiDowning.cpp | JasonD94/HighSchool | e37bb56b8149acc87cdb5e37ea619ab6db58fc29 | [
"MIT"
] | null | null | null | #include <iostream.h>
#include <conio.h>
void convert (char letter);
main()
{
int x = 2; //for the do/while
char b; //to accept letter input
do{
cout<<"Welcome to the Letter Converter Program. \n";
cout<<"This program will accept a letter and convert it between \n"; //introduction
cout<<"u... | 23.253521 | 109 | 0.591157 | JasonD94 |
db6284dcd32eddc392b02ba99bff03b49c104764 | 1,617 | cpp | C++ | src/adcs/state_estimators/b_dot_estimator.cpp | MelbourneSpaceProgram/msp_flight_software_public | de290a2e7181ac43af1232b2ffbca2db8ec4ecd2 | [
"MIT"
] | 10 | 2018-04-28T04:44:56.000Z | 2022-02-06T21:12:13.000Z | src/adcs/state_estimators/b_dot_estimator.cpp | MelbourneSpaceProgram/msp_flight_software_public | de290a2e7181ac43af1232b2ffbca2db8ec4ecd2 | [
"MIT"
] | null | null | null | src/adcs/state_estimators/b_dot_estimator.cpp | MelbourneSpaceProgram/msp_flight_software_public | de290a2e7181ac43af1232b2ffbca2db8ec4ecd2 | [
"MIT"
] | 3 | 2019-02-16T03:22:26.000Z | 2022-02-03T14:54:22.000Z | #include <src/adcs/state_estimators/b_dot_estimator.h>
#include <src/util/matrix.h>
#include <src/util/msp_exception.h>
#include <src/util/physical_constants.h>
BDotEstimator::BDotEstimator(uint16_t sample_period_millis,
uint16_t time_constant_millis)
: smoother_x(time_constant_millis,... | 49 | 80 | 0.672851 | MelbourneSpaceProgram |
db62ba0d5f57df2c12966c8786cb2e9cb9316b26 | 4,108 | cc | C++ | extensions/gen/mojo/public/interfaces/bindings/tests/deserializer.test-mojom-blink.cc | blockspacer/chromium_base_conan | b4749433cf34f54d2edff52e2f0465fec8cb9bad | [
"Apache-2.0",
"BSD-3-Clause"
] | 6 | 2020-12-22T05:48:31.000Z | 2022-02-08T19:49:49.000Z | extensions/gen/mojo/public/interfaces/bindings/tests/deserializer.test-mojom-blink.cc | blockspacer/chromium_base_conan | b4749433cf34f54d2edff52e2f0465fec8cb9bad | [
"Apache-2.0",
"BSD-3-Clause"
] | 4 | 2020-05-22T18:36:43.000Z | 2021-05-19T10:20:23.000Z | extensions/gen/mojo/public/interfaces/bindings/tests/deserializer.test-mojom-blink.cc | blockspacer/chromium_base_conan | b4749433cf34f54d2edff52e2f0465fec8cb9bad | [
"Apache-2.0",
"BSD-3-Clause"
] | 2 | 2019-12-06T11:48:16.000Z | 2021-09-16T04:44:47.000Z | // mojo/public/interfaces/bindings/tests/deserializer.test-mojom-blink.cc is auto generated by mojom_bindings_generator.py, do not edit
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#if defined(__cla... | 31.6 | 135 | 0.738559 | blockspacer |
db662d6c5f0eb595ee36d2a14c810f6bc26fd9b0 | 7,656 | cpp | C++ | src/HLM.cpp | Shicheng-Guo/regenie | 0feb9f7cfab38b9af4ec322d7888a71293223baf | [
"MIT"
] | 89 | 2020-06-23T05:36:33.000Z | 2022-03-26T13:50:42.000Z | src/HLM.cpp | Shicheng-Guo/regenie | 0feb9f7cfab38b9af4ec322d7888a71293223baf | [
"MIT"
] | 254 | 2020-06-23T15:45:33.000Z | 2022-03-31T18:49:20.000Z | src/HLM.cpp | Shicheng-Guo/regenie | 0feb9f7cfab38b9af4ec322d7888a71293223baf | [
"MIT"
] | 36 | 2020-06-23T04:43:36.000Z | 2022-03-05T01:29:21.000Z | /*
This file is part of the regenie software package.
Copyright (c) 2020-2021 Joelle Mbatchou, Andrey Ziyatdinov & Jonathan Marchini
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 Softwar... | 35.281106 | 165 | 0.654911 | Shicheng-Guo |
db6928888c41642c0d0513eef87cf53a30644bc7 | 5,098 | cpp | C++ | PCMLIA-ADE-Pseu/src/MPI_localIni.cpp | Johnzhjw/evoIT2FRNN-GEP | 5dbeea33e64c36cd43807cf3c8f9980a39198cd9 | [
"Apache-2.0"
] | null | null | null | PCMLIA-ADE-Pseu/src/MPI_localIni.cpp | Johnzhjw/evoIT2FRNN-GEP | 5dbeea33e64c36cd43807cf3c8f9980a39198cd9 | [
"Apache-2.0"
] | null | null | null | PCMLIA-ADE-Pseu/src/MPI_localIni.cpp | Johnzhjw/evoIT2FRNN-GEP | 5dbeea33e64c36cd43807cf3c8f9980a39198cd9 | [
"Apache-2.0"
] | null | null | null | #include "global.h"
#include <math.h>
#include <time.h>
void localInitialization()
{
int color_pop = st_MPI_p.color_pop;
int* nPop_all = st_MPI_p.nPop_all;
int mpi_rank = st_MPI_p.mpi_rank;
int mpi_size_subPop = st_MPI_p.mpi_size_subPop;
int mpi_rank_subPop = st_MPI_p.mpi_rank_subPop;
int nPop ... | 40.141732 | 134 | 0.667517 | Johnzhjw |
db69cf0301c2eb940418a74f1332a35457e560fd | 17,960 | cc | C++ | paddle/fluid/operators/detection/generate_mask_labels_op.cc | Thunderbrook/Paddle | 4870c9bc99c6bd3b814485d7d4f525fe68ccd9a5 | [
"Apache-2.0"
] | 1 | 2021-12-27T02:48:34.000Z | 2021-12-27T02:48:34.000Z | paddle/fluid/operators/detection/generate_mask_labels_op.cc | Thunderbrook/Paddle | 4870c9bc99c6bd3b814485d7d4f525fe68ccd9a5 | [
"Apache-2.0"
] | null | null | null | paddle/fluid/operators/detection/generate_mask_labels_op.cc | Thunderbrook/Paddle | 4870c9bc99c6bd3b814485d7d4f525fe68ccd9a5 | [
"Apache-2.0"
] | null | null | null | /* 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 ag... | 40.45045 | 80 | 0.656069 | Thunderbrook |
db6bb91b83fd89ae8b6602365f75524a668fea88 | 2,036 | cc | C++ | input.cc | psaksa/git-junction | 55cb940704d8d8dcf773e8917809a972c078976f | [
"MIT"
] | null | null | null | input.cc | psaksa/git-junction | 55cb940704d8d8dcf773e8917809a972c078976f | [
"MIT"
] | null | null | null | input.cc | psaksa/git-junction | 55cb940704d8d8dcf773e8917809a972c078976f | [
"MIT"
] | null | null | null | /* git-junction
* Copyright (c) 2016-2017 by Pauli Saksa
*
* Licensed under The MIT License, see file LICENSE.txt in this source tree.
*/
#include "input.hh"
#include "exception.hh"
#include "terminal_input.hh"
#include "utils.hh"
#include <iostream>
#include <sstream>
#include <unistd.h>
//
bool accept_field_... | 20.989691 | 95 | 0.48723 | psaksa |
db6db73822024f7d160709380af99ee169922697 | 432 | hpp | C++ | Source/Decoder.hpp | Myles-Trevino/Resonance | 47ff7c51caa8fc15862818f56a232c3e71dd7e0a | [
"Apache-2.0"
] | 1 | 2020-09-07T13:03:34.000Z | 2020-09-07T13:03:34.000Z | Source/Decoder.hpp | Myles-Trevino/Resonance | 47ff7c51caa8fc15862818f56a232c3e71dd7e0a | [
"Apache-2.0"
] | null | null | null | Source/Decoder.hpp | Myles-Trevino/Resonance | 47ff7c51caa8fc15862818f56a232c3e71dd7e0a | [
"Apache-2.0"
] | null | null | null | /*
Copyright 2020 Myles Trevino
Licensed under the Apache License, Version 2.0
https://www.apache.org/licenses/LICENSE-2.0
*/
#pragma once
#include <string>
#include <vector>
namespace LV::Decoder
{
void load_track_information(const std::string& file);
void initialize_resampler_and_decoder();
void load_sam... | 14.896552 | 54 | 0.729167 | Myles-Trevino |
db700b60ae0b4350c16bb9b355414a221e20e5b3 | 4,337 | hpp | C++ | src/webots/nodes/WbElevationGrid.hpp | Justin-Fisher/webots | 8a39e8e4390612919a8d82c7815aa914f4c079a4 | [
"Apache-2.0"
] | 2 | 2022-01-12T09:39:31.000Z | 2022-01-15T06:27:57.000Z | src/webots/nodes/WbElevationGrid.hpp | Justin-Fisher/webots | 8a39e8e4390612919a8d82c7815aa914f4c079a4 | [
"Apache-2.0"
] | null | null | null | src/webots/nodes/WbElevationGrid.hpp | Justin-Fisher/webots | 8a39e8e4390612919a8d82c7815aa914f4c079a4 | [
"Apache-2.0"
] | null | null | null | // Copyright 1996-2021 Cyberbotics Ltd.
//
// 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 agr... | 33.10687 | 97 | 0.748905 | Justin-Fisher |
db70c1001508c517af633b42da7527881f544186 | 209 | cpp | C++ | main.cpp | fubieslc/flube | e3e9f08b00a767ae80981dd25dd40aff07a431ae | [
"libtiff",
"BSD-3-Clause"
] | null | null | null | main.cpp | fubieslc/flube | e3e9f08b00a767ae80981dd25dd40aff07a431ae | [
"libtiff",
"BSD-3-Clause"
] | null | null | null | main.cpp | fubieslc/flube | e3e9f08b00a767ae80981dd25dd40aff07a431ae | [
"libtiff",
"BSD-3-Clause"
] | null | null | null | // main.cpp
//
#include "Core.hpp"
int main(int argc, char** argv) {
if (Core.Init()) {
Core.Quit();
return -1;
}
else {
Core.MainLoop();
Core.Quit();
return 0;
}
return 0;
} | 11.611111 | 34 | 0.507177 | fubieslc |
db70c1b7ba113a0a5825d1662a8e66c0962f40b0 | 49,361 | cpp | C++ | Code/Framework/AzFramework/AzFramework/Spawnable/SpawnableEntitiesManager.cpp | BreakerOfThings/o3de | f4c59f868c726470ec910623facd836047d059c3 | [
"Apache-2.0",
"MIT"
] | 1 | 2022-03-28T08:06:58.000Z | 2022-03-28T08:06:58.000Z | Code/Framework/AzFramework/AzFramework/Spawnable/SpawnableEntitiesManager.cpp | BreakerOfThings/o3de | f4c59f868c726470ec910623facd836047d059c3 | [
"Apache-2.0",
"MIT"
] | null | null | null | Code/Framework/AzFramework/AzFramework/Spawnable/SpawnableEntitiesManager.cpp | BreakerOfThings/o3de | f4c59f868c726470ec910623facd836047d059c3 | [
"Apache-2.0",
"MIT"
] | null | null | null | /*
* Copyright (c) Contributors to the Open 3D Engine Project.
* For complete copyright and license terms please see the LICENSE at the root of this distribution.
*
* SPDX-License-Identifier: Apache-2.0 OR MIT
*
*/
#include <AzCore/Casting/numeric_cast.h>
#include <AzCore/Component/ComponentApplicationBus.h>
#in... | 47.190249 | 140 | 0.614676 | BreakerOfThings |
db70f6231304eca566a5b0200e9a8fb443ab0e8d | 6,148 | cpp | C++ | skyline-continuous/src/src/main.cpp | alex-kulikov-git/skyline-computation | e2fc8328f712a2ec0bfcad797a79cf9cbda524a8 | [
"MIT"
] | null | null | null | skyline-continuous/src/src/main.cpp | alex-kulikov-git/skyline-computation | e2fc8328f712a2ec0bfcad797a79cf9cbda524a8 | [
"MIT"
] | null | null | null | skyline-continuous/src/src/main.cpp | alex-kulikov-git/skyline-computation | e2fc8328f712a2ec0bfcad797a79cf9cbda524a8 | [
"MIT"
] | null | null | null | /*
* main.cpp
* Created on: July 5, 2018
* Author: Oleksii Kulikov
*/
#include <iostream>
#include <chrono>
#include "bnl.hpp"
#include "output.hpp"
#include "generator.hpp"
#include "old_bnl.hpp"
#include "old_dnc.hpp"
#include "dnc.hpp"
#include "nnl.hpp"
#include "parallel_dnc.hpp"
static std::size_t n = 0, d... | 31.690722 | 115 | 0.652082 | alex-kulikov-git |
db71160728a089fda4b16b0ff3b5aeedbf75c233 | 28,682 | cpp | C++ | src/XESCore/TensorRoads.cpp | rromanchuk/xptools | deff017fecd406e24f60dfa6aae296a0b30bff56 | [
"X11",
"MIT"
] | 71 | 2015-12-15T19:32:27.000Z | 2022-02-25T04:46:01.000Z | src/XESCore/TensorRoads.cpp | rromanchuk/xptools | deff017fecd406e24f60dfa6aae296a0b30bff56 | [
"X11",
"MIT"
] | 19 | 2016-07-09T19:08:15.000Z | 2021-07-29T10:30:20.000Z | src/XESCore/TensorRoads.cpp | rromanchuk/xptools | deff017fecd406e24f60dfa6aae296a0b30bff56 | [
"X11",
"MIT"
] | 42 | 2015-12-14T19:13:02.000Z | 2022-03-01T15:15:03.000Z | /*
* Copyright (c) 2007, Laminar Research.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, ... | 30.643162 | 148 | 0.593369 | rromanchuk |
db718f3da616444ed16544aa1dc149a4b7c3f991 | 3,174 | cpp | C++ | src/infra/ToValue.cpp | murataka/two | f6f9835de844a38687e11f649ff97c3fb4146bbe | [
"Zlib"
] | 578 | 2019-05-04T09:09:42.000Z | 2022-03-27T23:02:21.000Z | src/infra/ToValue.cpp | murataka/two | f6f9835de844a38687e11f649ff97c3fb4146bbe | [
"Zlib"
] | 14 | 2019-05-11T14:34:56.000Z | 2021-02-02T07:06:46.000Z | src/infra/ToValue.cpp | murataka/two | f6f9835de844a38687e11f649ff97c3fb4146bbe | [
"Zlib"
] | 42 | 2019-05-11T16:04:19.000Z | 2022-01-24T02:21:43.000Z | // Copyright (c) 2019 Hugo Amiard hugo.amiard@laposte.net
// This software is provided 'as-is' under the zlib License, see the LICENSE.txt file.
// This notice and the license may not be removed or altered from any source distribution.
#ifdef TWO_MODULES
module;
#include <infra/Cpp20.h>
module TWO(infra);
#else
#in... | 63.48 | 125 | 0.660996 | murataka |
db72e8a58c56991009ed2558b84cd8ff6b326bfc | 7,778 | hpp | C++ | neutrino/math/inc/matrix_functions.hpp | alexiynew/nih_framework | a65335586331daa0ece892f98265bd1d2f8f579f | [
"MIT"
] | 1 | 2017-07-14T04:51:54.000Z | 2017-07-14T04:51:54.000Z | neutrino/math/inc/matrix_functions.hpp | alexiynew/nih_framework | a65335586331daa0ece892f98265bd1d2f8f579f | [
"MIT"
] | 32 | 2017-02-02T14:49:41.000Z | 2019-06-25T19:38:27.000Z | neutrino/math/inc/matrix_functions.hpp | alexiynew/nih_framework | a65335586331daa0ece892f98265bd1d2f8f579f | [
"MIT"
] | null | null | null | #ifndef FRAMEWORK_MATH_DETAILS
#error You should include math/math.hpp instead of matrix_functions.hpp
#endif
#ifndef FRAMEWORK_MATH_INC_MATRIX_FUNCTIONS_HPP
#define FRAMEWORK_MATH_INC_MATRIX_FUNCTIONS_HPP
#include <math/inc/matrix_functions_details.hpp>
#include <math/inc/matrix_type.hpp>
namespace ... | 44.193182 | 120 | 0.349061 | alexiynew |
db75eea6d83a17d1dffcf99b091a27f2dca24799 | 41,541 | cpp | C++ | tests/hardware_ietf-hardware.cpp | CESNET/velia | f0b7075f94014c5506bc43e6905f789c77d834b6 | [
"Apache-2.0"
] | 6 | 2021-02-26T13:01:56.000Z | 2022-02-22T07:07:24.000Z | tests/hardware_ietf-hardware.cpp | CESNET/velia | f0b7075f94014c5506bc43e6905f789c77d834b6 | [
"Apache-2.0"
] | 3 | 2020-11-05T21:20:46.000Z | 2021-06-04T18:32:46.000Z | tests/hardware_ietf-hardware.cpp | CESNET/velia | f0b7075f94014c5506bc43e6905f789c77d834b6 | [
"Apache-2.0"
] | null | null | null | #include <iostream>
#include "trompeloeil_doctest.h"
#include <fstream>
#include <future>
#include <iterator>
#include "fs-helpers/utils.h"
#include "ietf-hardware/FspYhPsu.h"
#include "ietf-hardware/IETFHardware.h"
#include "ietf-hardware/sysrepo/Sysrepo.h"
#include "mock/ietf_hardware.h"
#include "pretty_printers.h"
... | 69.235 | 137 | 0.607255 | CESNET |
db7846efea4d150c6002f9cc48ba392637725477 | 591 | hpp | C++ | include/Engine.hpp | DavidCarlyn/simple_cpp_gui | ba7e58bb231734b38ebb329f9d4142442ce81c0b | [
"MIT"
] | null | null | null | include/Engine.hpp | DavidCarlyn/simple_cpp_gui | ba7e58bb231734b38ebb329f9d4142442ce81c0b | [
"MIT"
] | null | null | null | include/Engine.hpp | DavidCarlyn/simple_cpp_gui | ba7e58bb231734b38ebb329f9d4142442ce81c0b | [
"MIT"
] | null | null | null | #pragma once
#include <SDL.h>
#include <string>
class Engine {
public:
Engine();
SDL_Window* createWindow(const int width, const int height, std::string name = "WINDOW NAME");
SDL_Surface* createSurface(SDL_Window* window);
SDL_Surface* createImageSurface(SDL_Surface* surface, std... | 28.142857 | 102 | 0.663283 | DavidCarlyn |
db789037bfac80d89b06b52ad44a23ce54bf584f | 2,312 | cpp | C++ | TerraForge3D/src/Generators/ClearMeshGenerator.cpp | MalikuMane/TerraForge3D | aa0c532cbafe42b7789bb610bae7495211196cd5 | [
"MIT"
] | 434 | 2021-11-03T06:03:07.000Z | 2022-03-31T22:52:19.000Z | TerraForge3D/src/Generators/ClearMeshGenerator.cpp | MalikuMane/TerraForge3D | aa0c532cbafe42b7789bb610bae7495211196cd5 | [
"MIT"
] | 14 | 2021-11-03T12:11:30.000Z | 2022-03-31T16:52:24.000Z | TerraForge3D/src/Generators/ClearMeshGenerator.cpp | MalikuMane/TerraForge3D | aa0c532cbafe42b7789bb610bae7495211196cd5 | [
"MIT"
] | 45 | 2021-11-04T07:34:21.000Z | 2022-03-31T07:06:05.000Z | #include "Generators/ClearMeshGenerator.h"
#include "Utils/Utils.h"
#include "Data/ApplicationState.h"
#include "Profiler.h"
ClearMeshGenerator::ClearMeshGenerator(ApplicationState *as, ComputeKernel *kernels)
{
bool tmp = false;
appState = as;
}
void ClearMeshGenerator::Generate(ComputeKernel *kernels)
{
START_PR... | 25.406593 | 129 | 0.66955 | MalikuMane |
db7c6c9a207927d5cfeb3aa6a0fcff3ad8344de7 | 656 | hpp | C++ | src/hardware/audio/components/length_component.hpp | geaz/emu-gameboy | da8a3e6898a0075dcb4371eb772e31695300ae54 | [
"MIT"
] | 47 | 2019-10-12T14:23:47.000Z | 2022-03-22T03:31:43.000Z | src/hardware/audio/components/length_component.hpp | geaz/emu-gameboy | da8a3e6898a0075dcb4371eb772e31695300ae54 | [
"MIT"
] | null | null | null | src/hardware/audio/components/length_component.hpp | geaz/emu-gameboy | da8a3e6898a0075dcb4371eb772e31695300ae54 | [
"MIT"
] | 2 | 2021-09-20T20:47:21.000Z | 2021-10-12T12:10:46.000Z | #pragma once
#ifndef LENGTHCOMPONENT_H
#define LENGTHCOMPONENT_H
#include <cstdint>
namespace GGB::Hardware::Audio
{
class LengthComponent
{
public:
void setLength(uint16_t value, bool stopAfterLength)
{
length = length == 0 ? value : length;
l... | 21.866667 | 66 | 0.509146 | geaz |
db7d4727215550b68a5cf3bf5f4bd8e2fc78e565 | 913 | cpp | C++ | Module/HelloWorld_Scratch/kmain.cpp | arkiny/OSwithMSVC | 90cd62ce9bbe8301942e024404f32b04874e7906 | [
"MIT"
] | 1 | 2021-05-09T01:24:05.000Z | 2021-05-09T01:24:05.000Z | Module/HelloWorld_Scratch/kmain.cpp | arkiny/OSwithMSVC | 90cd62ce9bbe8301942e024404f32b04874e7906 | [
"MIT"
] | null | null | null | Module/HelloWorld_Scratch/kmain.cpp | arkiny/OSwithMSVC | 90cd62ce9bbe8301942e024404f32b04874e7906 | [
"MIT"
] | null | null | null | #include "kmain.h"
_declspec(naked) void multiboot_entry(void)
{
__asm {
align 4
multiboot_header:
//멀티부트 헤더 사이즈 : 0X20
dd(MULTIBOOT_HEADER_MAGIC); magic number
dd(MULTIBOOT_HEADER_FLAGS); flags
dd(CHECKSUM); checksum
dd(HEADER_ADRESS); //헤더 주소 KERNEL_LOAD_ADDRESS+ALIGN(0x100064)
dd(KERNEL_LOAD_ADDR... | 20.288889 | 72 | 0.654984 | arkiny |
db7e905e90ad38d210c95b593c49ddc191b9176b | 1,130 | hpp | C++ | src/app/Page.hpp | hilnius/cappella | 555a920330e615793b238d72255274ca7c558467 | [
"MIT"
] | null | null | null | src/app/Page.hpp | hilnius/cappella | 555a920330e615793b238d72255274ca7c558467 | [
"MIT"
] | null | null | null | src/app/Page.hpp | hilnius/cappella | 555a920330e615793b238d72255274ca7c558467 | [
"MIT"
] | null | null | null | #ifndef PAGE_H_INCLUDED
#define PAGE_H_INCLUDED
#include "common/Types.hpp"
#include "core/SQLEntity.hpp"
#include <iostream>
class JSONSerializable;
class Page: public SQLEntity, public JSONSerializable
{
public:
Page();
virtual ~Page();
void setId(INTEGER<12> id) { p_id = id; }
void setName(STR... | 24.565217 | 84 | 0.655752 | hilnius |
db7eb204d7d422870d51397c17162f4b698f1606 | 1,652 | cpp | C++ | Leetcode/Practice/1568.cpp | coderanant/Competitive-Programming | 45076af7894251080ac616c9581fbf2dc49604af | [
"MIT"
] | 4 | 2019-06-04T11:03:38.000Z | 2020-06-19T23:37:32.000Z | Leetcode/Practice/1568.cpp | coderanant/Competitive-Programming | 45076af7894251080ac616c9581fbf2dc49604af | [
"MIT"
] | null | null | null | Leetcode/Practice/1568.cpp | coderanant/Competitive-Programming | 45076af7894251080ac616c9581fbf2dc49604af | [
"MIT"
] | null | null | null | class Solution {
public:
void dfs(vector<vector<int>>& grid, int i, int j)
{
int n = grid.size(), m = grid[0].size();
if(i < 0 || j < 0 || i >= n || j >= m || grid[i][j] == 0)
return ;
grid[i][j] = 0;
int d1[] = {0, 1, 0, -1}, d2[] = {1, 0, -1, 0};
for(int k ... | 27.533333 | 65 | 0.311743 | coderanant |
db80bb3c19ca4a344a2598d805c05ea1a3a017a9 | 1,418 | cpp | C++ | BOJ/18000~18999/18200~18299/18233.cpp | shinkeonkim/today-ps | f3e5e38c5215f19579bb0422f303a9c18c626afa | [
"Apache-2.0"
] | 2 | 2020-01-29T06:54:41.000Z | 2021-11-07T13:23:27.000Z | BOJ/18000~18999/18200~18299/18233.cpp | shinkeonkim/Today_PS | bb0cda0ee1b9c57e1cfa38355e29d0f1c6167a44 | [
"Apache-2.0"
] | null | null | null | BOJ/18000~18999/18200~18299/18233.cpp | shinkeonkim/Today_PS | bb0cda0ee1b9c57e1cfa38355e29d0f1c6167a44 | [
"Apache-2.0"
] | null | null | null | #include <iostream>
using namespace std;
int N,P,E;
int X[22];
int Y[22];
int check[22];
int answer[22];
bool isAnswer = false;
void result() {
if(isAnswer) return;
int cnt = 0,Sx = 0,Sy = 0;
for(int x = 0; x<N; x++) {
if(check[x] == 1) {
cnt++;
Sx +=X[x];
Sy +=... | 18.415584 | 49 | 0.339915 | shinkeonkim |
db81c4cf62e3b2a56c029cfa172ed228c68c01f5 | 2,321 | cpp | C++ | Assignment 11/Booking.cpp | tomy0000000/YZU-Computer-Programming-II | ec3254bc545581fa91c1efd957cbcef1f76cae21 | [
"MIT"
] | 1 | 2020-09-20T12:29:01.000Z | 2020-09-20T12:29:01.000Z | Assignment 11/Booking.cpp | tomy0000000/YZU-Computer-Programming-II | ec3254bc545581fa91c1efd957cbcef1f76cae21 | [
"MIT"
] | null | null | null | Assignment 11/Booking.cpp | tomy0000000/YZU-Computer-Programming-II | ec3254bc545581fa91c1efd957cbcef1f76cae21 | [
"MIT"
] | null | null | null | //
// Booking.cpp
// Hw 11
// Object Oriented Vieshow Cinemas Taipei QSquare system
//
// Created by Tomy Hsieh on 2018/6/3.
// Copyright © 2018年 Tomy Hsieh. All rights reserved.
//
#include "Booking.h"
#include "MovieDatabase.h"
#include <iostream>
using std::cout;
using std::endl;
Booking::Booking() {}
string ... | 30.142857 | 78 | 0.63464 | tomy0000000 |
db83eb4b7174151e3f6261ece34cce9b304a7c6c | 6,385 | cpp | C++ | DataStructures/src/streams/DS_Stream.cpp | Kay01010101/PredictVersion | adde9de5dd39b2f22e103f3294d1beab4f327d62 | [
"MIT"
] | null | null | null | DataStructures/src/streams/DS_Stream.cpp | Kay01010101/PredictVersion | adde9de5dd39b2f22e103f3294d1beab4f327d62 | [
"MIT"
] | null | null | null | DataStructures/src/streams/DS_Stream.cpp | Kay01010101/PredictVersion | adde9de5dd39b2f22e103f3294d1beab4f327d62 | [
"MIT"
] | null | null | null | #include "CommonTypeDefines.h"
#include "streams/DS_FileStream.h"
#include "fileUtils/_fileExists.h"
#include <algorithm>
using std::min;
namespace DataStructures
{
//------------------------------------------------------------------- Stream ------------------------------------------------------------------------
#... | 19.829193 | 150 | 0.595771 | Kay01010101 |
db847d9c5e85f99ba268367fa06d0defaff85ee5 | 6,733 | cpp | C++ | cpp/src/Time.cpp | 311labs/SRL | c3f0069270ada3784f2a81d9ec9e390e31e53a59 | [
"MIT"
] | 2 | 2018-12-21T01:55:23.000Z | 2021-11-29T01:30:37.000Z | cpp/src/Time.cpp | 311labs/SRL | c3f0069270ada3784f2a81d9ec9e390e31e53a59 | [
"MIT"
] | null | null | null | cpp/src/Time.cpp | 311labs/SRL | c3f0069270ada3784f2a81d9ec9e390e31e53a59 | [
"MIT"
] | null | null | null | /*********************************************************************************
* Copyright (C) 1999,2004 by srl, Inc. All Rights Reserved. *
*********************************************************************************
* Authors: Ian C. Starnes, Dr. J. Shane Frasier, Shaun Grant
***********************... | 22.901361 | 131 | 0.547898 | 311labs |
db86fd0393e1a6ec76d97b9a5c98076e1fd12e83 | 47,102 | hpp | C++ | src/uavcan/equipment/ice/reciprocating/Status.hpp | bolderflight/dronecan | bf3382ebfad5107077c62ce220e102e1f3f7a67c | [
"MIT"
] | null | null | null | src/uavcan/equipment/ice/reciprocating/Status.hpp | bolderflight/dronecan | bf3382ebfad5107077c62ce220e102e1f3f7a67c | [
"MIT"
] | null | null | null | src/uavcan/equipment/ice/reciprocating/Status.hpp | bolderflight/dronecan | bf3382ebfad5107077c62ce220e102e1f3f7a67c | [
"MIT"
] | null | null | null | /*
* UAVCAN data structure definition for libuavcan.
*
* Autogenerated, do not edit.
*
* Source file: /mnt/c/Users/BrianTaylor/Documents/Software/dronecan/dsdl/uavcan/equipment/ice/reciprocating/1120.Status.uavcan
*/
#ifndef UAVCAN_EQUIPMENT_ICE_RECIPROCATING_STATUS_HPP_INCLUDED
#define UAVCAN_EQUIPMENT_ICE_RECI... | 41.980392 | 178 | 0.715999 | bolderflight |
db87898b216bae3122a2f3d54dd64e72f4558416 | 2,738 | cpp | C++ | Scripts/PlayerMovement/BombDropSkill.cpp | solidajenjo/Engine | 409516f15e0f083e79b749b9c9184f2f04184325 | [
"MIT"
] | 10 | 2019-02-25T11:36:23.000Z | 2021-11-03T22:51:30.000Z | Scripts/PlayerMovement/BombDropSkill.cpp | solidajenjo/Engine | 409516f15e0f083e79b749b9c9184f2f04184325 | [
"MIT"
] | 146 | 2019-02-05T13:57:33.000Z | 2019-11-07T16:21:31.000Z | Scripts/PlayerMovement/BombDropSkill.cpp | FractalPuppy/Engine | 409516f15e0f083e79b749b9c9184f2f04184325 | [
"MIT"
] | 3 | 2019-11-17T20:49:12.000Z | 2020-04-19T17:28:28.000Z | #include "BombDropSkill.h"
#include "PlayerMovement.h"
#include "Application.h"
#include "ModuleNavigation.h"
#include "ModuleTime.h"
#include "GameObject.h"
#include "ComponentTransform.h"
#include "ComponentBoxTrigger.h"
#include "PlayerState.h"
BombDropSkill::BombDropSkill(PlayerMovement* PM, const char* trigge... | 25.351852 | 130 | 0.716216 | solidajenjo |
db8a4a63e97545d5a94ba11d2f41fb79b03c5b80 | 14,657 | cpp | C++ | source/RDP/Views/SetupTargetApplicationView.cpp | jekstrand/GPUOpen-Tools-DevDriverTools | 1f583cece41ac5c1b3e53b675bf0511e1fd81e54 | [
"MIT"
] | null | null | null | source/RDP/Views/SetupTargetApplicationView.cpp | jekstrand/GPUOpen-Tools-DevDriverTools | 1f583cece41ac5c1b3e53b675bf0511e1fd81e54 | [
"MIT"
] | null | null | null | source/RDP/Views/SetupTargetApplicationView.cpp | jekstrand/GPUOpen-Tools-DevDriverTools | 1f583cece41ac5c1b3e53b675bf0511e1fd81e54 | [
"MIT"
] | 1 | 2018-10-02T08:47:03.000Z | 2018-10-02T08:47:03.000Z | //=============================================================================
/// Copyright (c) 2017 Advanced Micro Devices, Inc. All rights reserved.
/// \author AMD Developer Tools Team
/// \file
/// \brief Implementation of the Setup Target Application panel interface.
//==========================================... | 47.280645 | 188 | 0.620796 | jekstrand |
db92f30c47c05a64c20949fe9801d6e7ab4bc274 | 32,279 | cc | C++ | examples/pxScene2d/external/libnode-v0.12.7/deps/v8/src/types.cc | madanagopaltcomcast/pxCore | c4a3a40a190521c8b6383d126c87612eca5b3c42 | [
"Apache-2.0"
] | 2,494 | 2015-02-11T04:34:13.000Z | 2022-03-31T14:21:47.000Z | examples/pxScene2d/external/libnode-v0.12.7/deps/v8/src/types.cc | madanagopaltcomcast/pxCore | c4a3a40a190521c8b6383d126c87612eca5b3c42 | [
"Apache-2.0"
] | 1,432 | 2017-06-21T04:08:48.000Z | 2020-08-25T16:21:15.000Z | examples/pxScene2d/external/libnode-v0.12.7/deps/v8/src/types.cc | madanagopaltcomcast/pxCore | c4a3a40a190521c8b6383d126c87612eca5b3c42 | [
"Apache-2.0"
] | 442 | 2015-02-12T13:45:46.000Z | 2022-03-21T05:28:05.000Z | // Copyright 2014 the V8 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.
#include "src/types.h"
#include "src/ostreams.h"
#include "src/types-inl.h"
namespace v8 {
namespace internal {
// ---------------------------------... | 32.671053 | 80 | 0.621457 | madanagopaltcomcast |
db9471268d8a19e81c2756bee36f02aab74bd2a0 | 1,391 | cpp | C++ | src/Engine/Thread.cpp | scemino/engge | 3362ad56b67f58bdc89f7eb1a77f0f75bd350e1f | [
"MIT"
] | 127 | 2018-12-09T18:40:02.000Z | 2022-03-06T00:10:07.000Z | src/Engine/Thread.cpp | scemino/engge | 3362ad56b67f58bdc89f7eb1a77f0f75bd350e1f | [
"MIT"
] | 267 | 2019-02-26T22:16:48.000Z | 2022-02-09T09:49:22.000Z | src/Engine/Thread.cpp | scemino/engge | 3362ad56b67f58bdc89f7eb1a77f0f75bd350e1f | [
"MIT"
] | 17 | 2019-02-26T20:45:34.000Z | 2021-06-17T15:06:26.000Z | #include <squirrel.h>
#include "engge/System/Locator.hpp"
#include "engge/Engine/EntityManager.hpp"
#include "engge/Engine/Thread.hpp"
#include <utility>
namespace ng {
Thread::Thread(std::string name, bool isGlobal,
HSQUIRRELVM v,
HSQOBJECT thread_obj,
HSQOBJECT env_obj,
... | 26.75 | 133 | 0.672178 | scemino |
db957aeb96208737a0f832c61bb9b7c15ee33b44 | 11,669 | cpp | C++ | externals/browser/externals/browser/browser/src/vts-libbrowser/camera/altitude.cpp | HanochZhu/vts-browser-unity-plugin | 32a22d41e21b95fb015326f95e401d87756d0374 | [
"BSD-2-Clause"
] | 1 | 2021-09-02T08:42:59.000Z | 2021-09-02T08:42:59.000Z | externals/browser/externals/browser/browser/src/vts-libbrowser/camera/altitude.cpp | HanochZhu/vts-browser-unity-plugin | 32a22d41e21b95fb015326f95e401d87756d0374 | [
"BSD-2-Clause"
] | null | null | null | externals/browser/externals/browser/browser/src/vts-libbrowser/camera/altitude.cpp | HanochZhu/vts-browser-unity-plugin | 32a22d41e21b95fb015326f95e401d87756d0374 | [
"BSD-2-Clause"
] | null | null | null | /**
* Copyright (c) 2017 Melown Technologies SE
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright notice,
* this list of conditions and the f... | 31.034574 | 97 | 0.537921 | HanochZhu |
db9683b9927669a1c501318a673a228da87a6576 | 5,411 | cpp | C++ | src/internal/ResumeCache.cpp | benjchristensen/rsocket-cpp | 26299669be5c9df67d11fa105deb5f453436803d | [
"BSD-3-Clause"
] | null | null | null | src/internal/ResumeCache.cpp | benjchristensen/rsocket-cpp | 26299669be5c9df67d11fa105deb5f453436803d | [
"BSD-3-Clause"
] | null | null | null | src/internal/ResumeCache.cpp | benjchristensen/rsocket-cpp | 26299669be5c9df67d11fa105deb5f453436803d | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2004-present Facebook. All Rights Reserved.
#include "ResumeCache.h"
#include <algorithm>
#include "src/framing/Frame.h"
#include "src/framing/FrameTransport.h"
#include "src/statemachine/RSocketStateMachine.h"
namespace {
using rsocket::FrameType;
bool shouldTrackFrame(const FrameType frameType) {
... | 27.190955 | 79 | 0.685825 | benjchristensen |
db9768afc836e12b07b38ecbbd7ab34cc3d2d96c | 1,865 | cpp | C++ | evolve4src/src/evolve/evolveDoc.cpp | ilyar/Evolve | f1aa89ea71fcf8be3ff6eb9ca1d57afd41cc7d88 | [
"EFL-2.0"
] | null | null | null | evolve4src/src/evolve/evolveDoc.cpp | ilyar/Evolve | f1aa89ea71fcf8be3ff6eb9ca1d57afd41cc7d88 | [
"EFL-2.0"
] | null | null | null | evolve4src/src/evolve/evolveDoc.cpp | ilyar/Evolve | f1aa89ea71fcf8be3ff6eb9ca1d57afd41cc7d88 | [
"EFL-2.0"
] | null | null | null | // evolveDoc.cpp : implementation of the CevolveDoc class
//
#include "stdafx.h"
#include "evolve.h"
#include "evolveDoc.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// CevolveDoc
IMPLEMENT_DYNCREATE(CevolveDoc, CDocument)
BEGIN_MESSAGE_MAP(CevolveDoc, CDocument)
END_MESSAGE_MAP()
// CevolveDoc construction/d... | 14.236641 | 57 | 0.69866 | ilyar |
db9ca8666ef286a6ed1d50a8ef88bcbb61e3454f | 17,155 | cpp | C++ | src/Mustl/MustlWebLink.cpp | mushware/adanaxis-core-app | 679ac3e8a122e059bb208e84c73efc19753e87dd | [
"MIT"
] | 9 | 2020-11-02T17:20:40.000Z | 2021-12-25T15:35:36.000Z | src/Mustl/MustlWebLink.cpp | mushware/adanaxis-core-app | 679ac3e8a122e059bb208e84c73efc19753e87dd | [
"MIT"
] | 2 | 2020-06-27T23:14:13.000Z | 2020-11-02T17:28:32.000Z | src/Mustl/MustlWebLink.cpp | mushware/adanaxis-core-app | 679ac3e8a122e059bb208e84c73efc19753e87dd | [
"MIT"
] | 1 | 2021-05-12T23:05:42.000Z | 2021-05-12T23:05:42.000Z | //%Header {
/*****************************************************************************
*
* File: src/Mustl/MustlWebLink.cpp
*
* Copyright: Andy Southgate 2002-2007, 2020
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the... | 24.934593 | 110 | 0.556456 | mushware |
dba2ac67d12ba2f8462c4ecd98d293c05d94c12b | 8,588 | cpp | C++ | native/src/snappyclient/cpp/thrift/snappydata_struct_PrepareResult.cpp | SnappyDataInc/snappy-store | 8f6a4b80fa14ffd0683752a03eeab311b545fbbd | [
"Apache-2.0"
] | 38 | 2016-01-04T01:31:40.000Z | 2020-04-07T06:35:36.000Z | native/src/snappyclient/cpp/thrift/snappydata_struct_PrepareResult.cpp | SnappyDataInc/snappy-store | 8f6a4b80fa14ffd0683752a03eeab311b545fbbd | [
"Apache-2.0"
] | 261 | 2016-01-07T09:14:26.000Z | 2019-12-05T10:15:56.000Z | native/src/snappyclient/cpp/thrift/snappydata_struct_PrepareResult.cpp | SnappyDataInc/snappy-store | 8f6a4b80fa14ffd0683752a03eeab311b545fbbd | [
"Apache-2.0"
] | 22 | 2016-03-09T05:47:09.000Z | 2020-04-02T17:55:30.000Z | /**
* Autogenerated by Thrift Compiler (0.14.1)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
#include "impl/pch.h"
#include <iosfwd>
#include <thrift/Thrift.h>
#include <thrift/TApplicationException.h>
#include <thrift/protocol/TProtocol.h>
#include <thrift/transport/TTr... | 31.807407 | 129 | 0.655799 | SnappyDataInc |
dba4d9a746be6ba2d82434da36f3277e81013982 | 1,368 | cpp | C++ | copasi/MIRIAM/CRaptorInit.cpp | SzVarga/COPASI | 00451b1a67eeec8272c73791ca861da754a7c4c4 | [
"Artistic-2.0"
] | 64 | 2015-03-14T14:06:18.000Z | 2022-02-04T23:19:08.000Z | copasi/MIRIAM/CRaptorInit.cpp | SzVarga/COPASI | 00451b1a67eeec8272c73791ca861da754a7c4c4 | [
"Artistic-2.0"
] | 4 | 2017-08-16T10:26:46.000Z | 2020-01-08T12:05:54.000Z | copasi/MIRIAM/CRaptorInit.cpp | SzVarga/COPASI | 00451b1a67eeec8272c73791ca861da754a7c4c4 | [
"Artistic-2.0"
] | 28 | 2015-04-16T14:14:59.000Z | 2022-03-28T12:04:14.000Z | // Copyright (C) 2019 by Pedro Mendes, Rector and Visitors of the
// University of Virginia, University of Heidelberg, and University
// of Connecticut School of Medicine.
// All rights reserved.
// Copyright (C) 2017 - 2018 by Pedro Mendes, Virginia Tech Intellectual
// Properties, Inc., University of Heidelberg, and... | 23.586207 | 72 | 0.712719 | SzVarga |
dba705a2bf4e02a3050ed8fd84f1169e358482c0 | 308 | cpp | C++ | aql/benchmark/lib_23/class_9.cpp | menify/sandbox | 32166c71044f0d5b414335b2b6559adc571f568c | [
"MIT"
] | null | null | null | aql/benchmark/lib_23/class_9.cpp | menify/sandbox | 32166c71044f0d5b414335b2b6559adc571f568c | [
"MIT"
] | null | null | null | aql/benchmark/lib_23/class_9.cpp | menify/sandbox | 32166c71044f0d5b414335b2b6559adc571f568c | [
"MIT"
] | null | null | null | #include "class_9.h"
#include "class_6.h"
#include "class_7.h"
#include "class_1.h"
#include "class_3.h"
#include "class_8.h"
#include <lib_7/class_1.h>
#include <lib_3/class_0.h>
#include <lib_13/class_8.h>
#include <lib_9/class_5.h>
#include <lib_1/class_9.h>
class_9::class_9() {}
class_9::~class_9() {}
| 20.533333 | 27 | 0.711039 | menify |
dba7f28d32a79d69a3ee8f32882ba02fec1d9bac | 2,841 | cpp | C++ | unreal/Plugins/OceanPlugin/Source/OceanPlugin/Private/Fish/FishManager.cpp | explore-astrum/astrum | 868fa6d28e1c44d0a99a72edc7f6b5b7d818da07 | [
"MIT"
] | 2 | 2019-01-21T17:49:19.000Z | 2019-06-20T03:01:06.000Z | unreal/Plugins/OceanPlugin/Source/OceanPlugin/Private/Fish/FishManager.cpp | explore-astrum/astrum | 868fa6d28e1c44d0a99a72edc7f6b5b7d818da07 | [
"MIT"
] | 1 | 2022-01-27T16:05:47.000Z | 2022-01-27T16:05:47.000Z | unreal/Plugins/OceanPlugin/Source/OceanPlugin/Private/Fish/FishManager.cpp | explore-astrum/astrum | 868fa6d28e1c44d0a99a72edc7f6b5b7d818da07 | [
"MIT"
] | null | null | null | /*=================================================
* FileName: FishManager.cpp
*
* Created by: Komodoman
* Project name: OceanProject
* Unreal Engine version: 4.18.3
* Created on: 2015/03/17
*
* Last Edited on: 2018/03/15
* Last Edited by: Felipe "Zoc" Silveira
*
* -------------------------------------------------
*... | 24.704348 | 124 | 0.641675 | explore-astrum |
dba88550b5a913aafa78706f1d035fa13c634cc4 | 8,051 | cpp | C++ | src/qt/outmessagelistpage.cpp | gtacoin-dev/gtacoin | f66f063b47ba973856c200074db1b95abf5ab794 | [
"MIT"
] | null | null | null | src/qt/outmessagelistpage.cpp | gtacoin-dev/gtacoin | f66f063b47ba973856c200074db1b95abf5ab794 | [
"MIT"
] | null | null | null | src/qt/outmessagelistpage.cpp | gtacoin-dev/gtacoin | f66f063b47ba973856c200074db1b95abf5ab794 | [
"MIT"
] | null | null | null | #include "outmessagelistpage.h"
#include "ui_messagelistpage.h"
#include "guiutil.h"
#include "messagetablemodel.h"
#include "optionsmodel.h"
#include "walletmodel.h"
#include "newmessagedialog.h"
#include "platformstyle.h"
#include "messageinfodialog.h"
#include "csvmodelwriter.h"
#include "ui_interface.h"
#include <Q... | 32.595142 | 113 | 0.708732 | gtacoin-dev |
dbab1ffd5252e094a29808633d5cf15a2e0a2f5d | 1,450 | cpp | C++ | lib/src/DriverTimerLocal.cpp | RobertDamerius/GenericTarget | 6b26793c2d580797ac8104ca5368987cbb570ef8 | [
"MIT"
] | 1 | 2021-02-02T09:01:24.000Z | 2021-02-02T09:01:24.000Z | lib/src/DriverTimerLocal.cpp | RobertDamerius/GenericTarget | 6b26793c2d580797ac8104ca5368987cbb570ef8 | [
"MIT"
] | null | null | null | lib/src/DriverTimerLocal.cpp | RobertDamerius/GenericTarget | 6b26793c2d580797ac8104ca5368987cbb570ef8 | [
"MIT"
] | 2 | 2021-02-02T09:01:45.000Z | 2021-10-02T13:08:16.000Z | #include "DriverTimerLocal.h"
#include "HostImplementation.h"
#ifdef GENERIC_TARGET_IMPLEMENTATION
#include <GenericTarget.hpp>
#include <TargetTime.hpp>
#endif
void CreateDriverTimerLocal(void){
#ifndef GENERIC_TARGET_IMPLEMENTATION
#ifdef HOST_IMPLEMENTATION
HostImplementation::CreateDriverTimerLocal();... | 25.892857 | 189 | 0.678621 | RobertDamerius |
dbab996704340fbf821569adb51777c56f6a9c60 | 291 | hpp | C++ | src/PhongMaterial.hpp | lozog/CS488-raytracer | e566f8e2ca112088900b0320b7f3e2d5b2b370dd | [
"MIT"
] | null | null | null | src/PhongMaterial.hpp | lozog/CS488-raytracer | e566f8e2ca112088900b0320b7f3e2d5b2b370dd | [
"MIT"
] | null | null | null | src/PhongMaterial.hpp | lozog/CS488-raytracer | e566f8e2ca112088900b0320b7f3e2d5b2b370dd | [
"MIT"
] | null | null | null | #pragma once
#include <glm/glm.hpp>
#include "Material.hpp"
class PhongMaterial : public Material {
public:
PhongMaterial(const glm::vec3& kd, const glm::vec3& ks, double shininess);
virtual ~PhongMaterial();
// private:
glm::vec3 m_kd;
glm::vec3 m_ks;
double m_shininess;
};
| 16.166667 | 76 | 0.701031 | lozog |
dbb0b606c652ee73670756441ba63cc120555c8e | 34,309 | cpp | C++ | tests/TestLogMemoryUtilities.cpp | Nuovations/LogUtilities | 8a367c33757dcf5a7df9ad5abbdc833e6cc21437 | [
"Apache-2.0"
] | 1 | 2021-03-02T20:55:22.000Z | 2021-03-02T20:55:22.000Z | tests/TestLogMemoryUtilities.cpp | Nuovations/LogUtilities | 8a367c33757dcf5a7df9ad5abbdc833e6cc21437 | [
"Apache-2.0"
] | null | null | null | tests/TestLogMemoryUtilities.cpp | Nuovations/LogUtilities | 8a367c33757dcf5a7df9ad5abbdc833e6cc21437 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2021 Nuovation System Designs, LLC
* 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/L... | 40.602367 | 162 | 0.635518 | Nuovations |
dbb0e1820c9150119aba27b89136bdfbc0b93966 | 20,078 | cpp | C++ | drape/texture_manager.cpp | Kazing/organicmaps | 687a6e21c7bda306558fe177608835f35d1b5d14 | [
"Apache-2.0"
] | null | null | null | drape/texture_manager.cpp | Kazing/organicmaps | 687a6e21c7bda306558fe177608835f35d1b5d14 | [
"Apache-2.0"
] | null | null | null | drape/texture_manager.cpp | Kazing/organicmaps | 687a6e21c7bda306558fe177608835f35d1b5d14 | [
"Apache-2.0"
] | null | null | null | #include "drape/texture_manager.hpp"
#include "drape/gl_functions.hpp"
#include "drape/font_texture.hpp"
#include "drape/symbols_texture.hpp"
#include "drape/static_texture.hpp"
#include "drape/stipple_pen_resource.hpp"
#include "drape/support_manager.hpp"
#include "drape/texture_of_colors.hpp"
#include "drape/tm_read... | 32.436187 | 113 | 0.707839 | Kazing |
dbb248fe16302798afd7c52255e7ff9b70068f87 | 1,971 | cpp | C++ | tests/fingerprint/fingerprint_tests.cpp | lighthouse-os/hardware_libhardware | c6fa046a69d9b1adf474cf5de58318b677801e49 | [
"Apache-2.0"
] | 9 | 2017-11-10T15:54:02.000Z | 2021-04-15T20:57:29.000Z | libhardware/tests/fingerprint/fingerprint_tests.cpp | Keneral/ahardware | 9a8a025f7c9471444c9e271bbe7f48182741d710 | [
"Unlicense"
] | null | null | null | libhardware/tests/fingerprint/fingerprint_tests.cpp | Keneral/ahardware | 9a8a025f7c9471444c9e271bbe7f48182741d710 | [
"Unlicense"
] | 7 | 2018-01-08T02:53:32.000Z | 2020-10-15T13:01:46.000Z | /*
* Copyright (C) 2014 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 31.285714 | 75 | 0.716388 | lighthouse-os |
dbb30ec722fa5128f3eb84b28860a9e5694ddd84 | 2,117 | cpp | C++ | kernels/plugins/hostctrl/tb_hostctrl.cpp | TristanLaan/ACCL | 89b50a814c73571eb5c93d4c6a134328e3fa21c7 | [
"Apache-2.0"
] | null | null | null | kernels/plugins/hostctrl/tb_hostctrl.cpp | TristanLaan/ACCL | 89b50a814c73571eb5c93d4c6a134328e3fa21c7 | [
"Apache-2.0"
] | null | null | null | kernels/plugins/hostctrl/tb_hostctrl.cpp | TristanLaan/ACCL | 89b50a814c73571eb5c93d4c6a134328e3fa21c7 | [
"Apache-2.0"
] | null | null | null | /*******************************************************************************
# Copyright (C) 2021 Xilinx, 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.apach... | 28.226667 | 82 | 0.585262 | TristanLaan |
dbb398f07349810c4f9c7b04daf8f7f776e97872 | 3,942 | cpp | C++ | main.cpp | jcalvarezj/snake | 4c1ff055253e69c629967ce3f67048b11abeda22 | [
"MIT"
] | 3 | 2020-02-29T21:15:33.000Z | 2021-12-27T18:21:02.000Z | main.cpp | jcalvarezj/snake | 4c1ff055253e69c629967ce3f67048b11abeda22 | [
"MIT"
] | null | null | null | main.cpp | jcalvarezj/snake | 4c1ff055253e69c629967ce3f67048b11abeda22 | [
"MIT"
] | 3 | 2021-12-06T07:43:22.000Z | 2022-02-19T10:38:22.000Z | /*
* Snake game program using the SDL library
*
* @author J. Alvarez
*/
#include <iostream>
#include <cstring>
#include <vector>
#include <time.h>
#include <stdlib.h>
#include "Snake.hpp"
#include "Food.hpp"
#include "Wall.hpp"
#include "Screen.hpp"
#include "SDL2/SDL.h"
using namespace SnakeGame;
bool holdGame(S... | 21.779006 | 71 | 0.645358 | jcalvarezj |
dbb483ea8fde9dc6114fe4803970c61c10d66a28 | 3,539 | hpp | C++ | include/mbgl/text/types.hpp | free1978/mapbox-gl-native | 2a50fccd24e762d0de5a53bac358e5ddfea8d213 | [
"BSD-2-Clause"
] | 2 | 2017-02-28T22:41:54.000Z | 2020-02-13T20:54:55.000Z | include/mbgl/text/types.hpp | free1978/mapbox-gl-native | 2a50fccd24e762d0de5a53bac358e5ddfea8d213 | [
"BSD-2-Clause"
] | null | null | null | include/mbgl/text/types.hpp | free1978/mapbox-gl-native | 2a50fccd24e762d0de5a53bac358e5ddfea8d213 | [
"BSD-2-Clause"
] | null | null | null | #ifndef MBGL_TEXT_TYPES
#define MBGL_TEXT_TYPES
#include <mbgl/util/vec.hpp>
#include <mbgl/util/rect.hpp>
#include <array>
#include <vector>
#include <boost/optional.hpp>
namespace mbgl {
typedef vec2<float> CollisionPoint;
typedef vec2<float> CollisionAnchor;
typedef std::array<float, 2> PlacementRange;
typedef ... | 30.773913 | 95 | 0.626731 | free1978 |
dbb543019697b06a8f366a7ce4db4d983912d996 | 1,550 | cpp | C++ | Tutorial2/main.cpp | asm128/gpftw | 984eec9a0cb6047000dda98c03696592406154a8 | [
"MIT"
] | 1 | 2017-06-19T22:19:30.000Z | 2017-06-19T22:19:30.000Z | Tutorial2/main.cpp | asm128/gpftw | 984eec9a0cb6047000dda98c03696592406154a8 | [
"MIT"
] | 4 | 2017-06-16T23:25:37.000Z | 2017-07-01T01:33:25.000Z | Tutorial2/main.cpp | asm128/gpftw | 984eec9a0cb6047000dda98c03696592406154a8 | [
"MIT"
] | null | null | null | // Tip: Hold Left ALT + SHIFT while tapping or holding the arrow keys in order to select multiple columns and write on them at once.
// Also useful for copy & paste operations in which you need to copy a bunch of variable or function names and you can't afford the time of copying them one by one.
//
#include <stdio.h... | 51.666667 | 165 | 0.66 | asm128 |
dbb6b7c9b79e37132c4742471b20dd37a9310a52 | 7,343 | hpp | C++ | include/System/Linq/Expressions/Interpreter/NewArrayInstruction.hpp | v0idp/virtuoso-codegen | 6f560f04822c67f092d438a3f484249072c1d21d | [
"Unlicense"
] | null | null | null | include/System/Linq/Expressions/Interpreter/NewArrayInstruction.hpp | v0idp/virtuoso-codegen | 6f560f04822c67f092d438a3f484249072c1d21d | [
"Unlicense"
] | null | null | null | include/System/Linq/Expressions/Interpreter/NewArrayInstruction.hpp | v0idp/virtuoso-codegen | 6f560f04822c67f092d438a3f484249072c1d21d | [
"Unlicense"
] | 1 | 2022-03-30T21:07:35.000Z | 2022-03-30T21:07:35.000Z | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "beatsaber-hook/shared/utils/typedefs.h"
#include "beatsaber-hook/shared/utils/byref.hpp"
// Including type: System.Linq.Expressions.Interpreter... | 57.367188 | 269 | 0.759226 | v0idp |
dbb81936f3b075c278b9f3a9d69dcf76e25f139a | 8,454 | cpp | C++ | speech_recognition/cmusphinx-code/sphinxtrain/src/programs/g2p_eval/Phonetisaurus.cpp | Ohara124c41/TUB-MSc_Thesis | b1a2d5dc9c0c589a39019126cf7a5cc775baa288 | [
"MIT"
] | 1 | 2016-12-05T01:29:52.000Z | 2016-12-05T01:29:52.000Z | speech_recognition/cmusphinx-code/sphinxtrain/src/programs/g2p_eval/Phonetisaurus.cpp | Ohara124c41/TUB-MSc_Thesis | b1a2d5dc9c0c589a39019126cf7a5cc775baa288 | [
"MIT"
] | null | null | null | speech_recognition/cmusphinx-code/sphinxtrain/src/programs/g2p_eval/Phonetisaurus.cpp | Ohara124c41/TUB-MSc_Thesis | b1a2d5dc9c0c589a39019126cf7a5cc775baa288 | [
"MIT"
] | 1 | 2016-12-03T04:06:45.000Z | 2016-12-03T04:06:45.000Z | /*
* Phonetisaurus.cpp
*
Copyright (c) [2012-], Josef Robert Novak
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted #provided that the following conditions
are met:
* Redistributions of source code must retain the above copyright
notic... | 27.359223 | 94 | 0.573338 | Ohara124c41 |
dbb8b3d3a659d35a5e24a26da9e4bc0b452ee38f | 417 | hpp | C++ | src/SettingsDialog.hpp | asamy/vendace | ed949d6c7546f3a70582a0354c68a17f26aef6cd | [
"MIT"
] | 1 | 2020-05-02T06:47:48.000Z | 2020-05-02T06:47:48.000Z | src/SettingsDialog.hpp | asamy/vendace | ed949d6c7546f3a70582a0354c68a17f26aef6cd | [
"MIT"
] | null | null | null | src/SettingsDialog.hpp | asamy/vendace | ed949d6c7546f3a70582a0354c68a17f26aef6cd | [
"MIT"
] | null | null | null | #ifndef SETTINGS_DIALOG_HPP
#define SETTINGS_DIALOG_HPP
#include <QDialog>
#include "Settings.hpp"
#include "ui_settings.h"
class SettingsDialog : public QDialog {
Q_OBJECT
public:
SettingsDialog(QWidget *parent);
protected slots:
void editorPathChanged(QString);
void browseEdi... | 15.444444 | 40 | 0.681055 | asamy |
dbbef1d6a5f29ac9f34d29d7a967cdc71a42b1a7 | 934 | hpp | C++ | includes.hpp | ph-moura/Spending-Control | a87836db644e35ded695c7736b11b608ba95e8a8 | [
"MIT"
] | null | null | null | includes.hpp | ph-moura/Spending-Control | a87836db644e35ded695c7736b11b608ba95e8a8 | [
"MIT"
] | null | null | null | includes.hpp | ph-moura/Spending-Control | a87836db644e35ded695c7736b11b608ba95e8a8 | [
"MIT"
] | null | null | null | #include <algorithm>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <map>
#include <QAbstractBarSeries>
#include <QApplication>
#include <QBoxLayout>
#include <QClipboard>
#include <QComboBox>
#include <QDateEdit>
#include <QDateTimeEdit>
#include <QDebug>
#include <QFileInfo>
#include <QFormLayout>... | 19.87234 | 29 | 0.75803 | ph-moura |
dbbf1c1c89d206b291bb86f06297c077d52ff671 | 4,812 | cpp | C++ | src/libclang/friend_parser.cpp | stevencpp/cppast | ab7a9b6627cc9ccc34ed30473957741ed0be00d7 | [
"MIT"
] | null | null | null | src/libclang/friend_parser.cpp | stevencpp/cppast | ab7a9b6627cc9ccc34ed30473957741ed0be00d7 | [
"MIT"
] | null | null | null | src/libclang/friend_parser.cpp | stevencpp/cppast | ab7a9b6627cc9ccc34ed30473957741ed0be00d7 | [
"MIT"
] | null | null | null | // Copyright (C) 2017-2018 Jonathan Müller <jonathanmueller.dev@gmail.com>
// This file is subject to the license terms in the LICENSE file
// found in the top-level directory of this distribution.
#include <cppast/cpp_friend.hpp>
#include <cppast/cpp_template.hpp>
#include <cppast/cpp_template_parameter.hpp>
#inclu... | 44.146789 | 98 | 0.564838 | stevencpp |
dbc0643feecb461fe688b90149e7b4f4689c8283 | 1,375 | cpp | C++ | JaraffeEngine_ComponentSystem/Jaraffe/Engine/Source/Core/Manager/Input/Input.cpp | Jaraffe-github/Old_Engines | 0586d383af99cfcf076b18dace49e779a55b88e8 | [
"BSD-3-Clause"
] | null | null | null | JaraffeEngine_ComponentSystem/Jaraffe/Engine/Source/Core/Manager/Input/Input.cpp | Jaraffe-github/Old_Engines | 0586d383af99cfcf076b18dace49e779a55b88e8 | [
"BSD-3-Clause"
] | null | null | null | JaraffeEngine_ComponentSystem/Jaraffe/Engine/Source/Core/Manager/Input/Input.cpp | Jaraffe-github/Old_Engines | 0586d383af99cfcf076b18dace49e779a55b88e8 | [
"BSD-3-Clause"
] | null | null | null | #include "stdafx.h"
#include "Input.h"
JF::JFCInput::JFCInput()
{
memset(m_bKeyCodeArray, 0, sizeof(m_bKeyCodeArray));
memset(m_bKeyCodeArrayUp, 0, sizeof(m_bKeyCodeArrayUp));
m_vMousePos = { 0, 0, 0 };
m_vClickPos = { 0, 0, 0 };
}
JF::JFCInput::~JFCInput()
{
}
void JF::JFCInput::OnKeyDown(WPARAM wParam)
{
m_bK... | 18.333333 | 57 | 0.736 | Jaraffe-github |
dbc0884eb86d2447e394f6e286e2598f66e75ca9 | 369 | hpp | C++ | env/assert.hpp | mapsme/travelguide | 26dd50b93f55ef731175c19d12514da5bace9fa4 | [
"Apache-2.0"
] | 61 | 2015-12-05T19:34:20.000Z | 2021-06-25T09:07:09.000Z | env/assert.hpp | mapsme/travelguide | 26dd50b93f55ef731175c19d12514da5bace9fa4 | [
"Apache-2.0"
] | 9 | 2016-02-19T23:22:20.000Z | 2017-01-03T18:41:04.000Z | env/assert.hpp | mapsme/travelguide | 26dd50b93f55ef731175c19d12514da5bace9fa4 | [
"Apache-2.0"
] | 35 | 2015-12-17T00:09:14.000Z | 2021-01-27T10:47:11.000Z | #pragma once
#include "message_list.hpp"
#include "source_address.hpp"
namespace dbg
{
void FireAssert(SourceAddress const & sa, string const & msg);
}
#define CHECK(x, message) do { if (x) {} else { ::dbg::FireAssert(SRC(), ::msg::MessageList message); } } while (false)
#ifdef DEBUG
#define ASSERT(x, msg) CHE... | 19.421053 | 119 | 0.680217 | mapsme |
dbc26f76e4d17f6cd3d43d3cf8e825bcb447e7cd | 60,491 | cc | C++ | chrome/browser/task_manager/task_manager_resource_providers.cc | Crystalnix/BitPop | 1fae4ecfb965e163f6ce154b3988b3181678742a | [
"BSD-3-Clause"
] | 7 | 2015-05-20T22:41:35.000Z | 2021-11-18T19:07:59.000Z | chrome/browser/task_manager/task_manager_resource_providers.cc | Crystalnix/BitPop | 1fae4ecfb965e163f6ce154b3988b3181678742a | [
"BSD-3-Clause"
] | 1 | 2015-02-02T06:55:08.000Z | 2016-01-20T06:11:59.000Z | chrome/browser/task_manager/task_manager_resource_providers.cc | Crystalnix/BitPop | 1fae4ecfb965e163f6ce154b3988b3181678742a | [
"BSD-3-Clause"
] | 2 | 2015-12-08T00:37:41.000Z | 2017-04-06T05:34:05.000Z | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/task_manager/task_manager_resource_providers.h"
#include <string>
#include "base/basictypes.h"
#include "base/bind.h"
#incl... | 35.562022 | 80 | 0.720339 | Crystalnix |
dbc6d19e3ee35fe7a472a8e29bf60303513845ae | 1,528 | hpp | C++ | example/cust_paper/std_mem_usage/traits/framework/mem_usage.hpp | jwakely/std-make | f09d052983ace70cf371bb8ddf78d4f00330bccd | [
"BSL-1.0"
] | 105 | 2015-01-24T13:26:41.000Z | 2022-02-18T15:36:53.000Z | example/cust_paper/std_mem_usage/traits/framework/mem_usage.hpp | jwakely/std-make | f09d052983ace70cf371bb8ddf78d4f00330bccd | [
"BSL-1.0"
] | 37 | 2015-09-04T06:57:10.000Z | 2021-09-09T18:01:44.000Z | example/cust_paper/std_mem_usage/traits/framework/mem_usage.hpp | jwakely/std-make | f09d052983ace70cf371bb8ddf78d4f00330bccd | [
"BSL-1.0"
] | 23 | 2015-01-27T11:09:18.000Z | 2021-10-04T02:23:30.000Z | // Copyright (C) 2016 Vicente J. Botet Escriba
//
// 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)
#ifndef JASEL_EXAMPLE_FRAMEWORK_MEM_USAGE_HPP
#define JASEL_EXAMPLE_FRAMEWORK_MEM_USAGE_HPP
#if __cplusplus >= 20... | 23.875 | 125 | 0.700916 | jwakely |
3a79ae0112806f5d82d7682409448ed0ad6f2758 | 634 | hpp | C++ | source/ashes/renderer/D3D11Renderer/Buffer/D3D11BufferView.hpp | DragonJoker/Ashes | a6ed950b3fd8fb9626c60b4291fbd52ea75ac66e | [
"MIT"
] | 227 | 2018-09-17T16:03:35.000Z | 2022-03-19T02:02:45.000Z | source/ashes/renderer/D3D11Renderer/Buffer/D3D11BufferView.hpp | DragonJoker/RendererLib | 0f8ad8edec1b0929ebd10247d3dd0a9ee8f8c91a | [
"MIT"
] | 39 | 2018-02-06T22:22:24.000Z | 2018-08-29T07:11:06.000Z | source/ashes/renderer/D3D11Renderer/Buffer/D3D11BufferView.hpp | DragonJoker/Ashes | a6ed950b3fd8fb9626c60b4291fbd52ea75ac66e | [
"MIT"
] | 8 | 2019-05-04T10:33:32.000Z | 2021-04-05T13:19:27.000Z | /**
*\file
* TestBufferView.h
*\author
* Sylvain Doremus
*/
#ifndef ___D3D11Renderer_BufferView_HPP___
#define ___D3D11Renderer_BufferView_HPP___
#pragma once
#include "renderer/D3D11Renderer/D3D11RendererPrerequisites.hpp"
namespace ashes::d3d11
{
class BufferView
{
public:
BufferView( VkDevice device
, VkBu... | 15.85 | 64 | 0.757098 | DragonJoker |
3a79f70814e9b0f0cfaeda0a987dc27d744ba1f5 | 5,800 | cpp | C++ | src/xercesc/internal/ValidationContextImpl.cpp | rsn8887/xerces-c-1 | be81663b9a6907a0db4d5a893a393865a1ebcbc6 | [
"Apache-2.0"
] | 486 | 2018-03-07T17:15:03.000Z | 2019-05-06T20:05:44.000Z | src/xercesc/internal/ValidationContextImpl.cpp | rsn8887/xerces-c-1 | be81663b9a6907a0db4d5a893a393865a1ebcbc6 | [
"Apache-2.0"
] | 172 | 2019-05-14T18:56:36.000Z | 2022-03-30T16:35:24.000Z | src/xercesc/internal/ValidationContextImpl.cpp | rsn8887/xerces-c-1 | be81663b9a6907a0db4d5a893a393865a1ebcbc6 | [
"Apache-2.0"
] | 83 | 2019-05-29T18:38:36.000Z | 2022-03-17T07:34:16.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.605505 | 131 | 0.648276 | rsn8887 |
3a7bbd57a30f1c50d1cdcbea7e816a3f1cbd565e | 267 | inl | C++ | ace/OS_NS_math.inl | binary42/OCI | 08191bfe4899f535ff99637d019734ed044f479d | [
"MIT"
] | null | null | null | ace/OS_NS_math.inl | binary42/OCI | 08191bfe4899f535ff99637d019734ed044f479d | [
"MIT"
] | null | null | null | ace/OS_NS_math.inl | binary42/OCI | 08191bfe4899f535ff99637d019734ed044f479d | [
"MIT"
] | null | null | null | // -*- C++ -*-
// $Id: OS_NS_math.inl 1861 2011-08-31 16:18:08Z mesnierp $
ACE_BEGIN_VERSIONED_NAMESPACE_DECL
namespace ACE_OS {
ACE_INLINE double
log2 (double x)
{
return ace_log2_helper (x);
}
} // ACE_OS namespace
ACE_END_VERSIONED_NAMESPACE_DECL
| 15.705882 | 59 | 0.70412 | binary42 |
3a808b47a696adfe6813a4eb586d4916de517bab | 6,734 | hpp | C++ | MathIO.hpp | Elfhir/WoodyNatasha | febdae58ca3ad16fdf2b5fc4273b7ab177ed392f | [
"Beerware"
] | 1 | 2015-01-30T22:30:57.000Z | 2015-01-30T22:30:57.000Z | MathIO.hpp | Elfhir/WoodyNatasha | febdae58ca3ad16fdf2b5fc4273b7ab177ed392f | [
"Beerware"
] | null | null | null | MathIO.hpp | Elfhir/WoodyNatasha | febdae58ca3ad16fdf2b5fc4273b7ab177ed392f | [
"Beerware"
] | null | null | null | /*
* Anti-doublon
*/
#ifndef __OPENKN_MATH__MATH_IO_HPP__
#define __OPENKN_MATH__MATH_IO_HPP__
/*
* External Includes
*/
#include <cstring>
#include <iostream>
#include <fstream>
#include <vector>
#include <sstream>
#include "Eigen/Dense"
using namespace Eigen;
/*
* Namespace
*/
namespace kn {
/**
* \co... | 29.665198 | 250 | 0.619246 | Elfhir |
3a8263eabf5396b9aa9415df7bb9ce3be77a3a21 | 18,274 | cpp | C++ | cegui/src/widgets/Scrollbar.cpp | rpaciorek/cegui | f64435721df7d0ef0393bf7ace72473d1da1f1ac | [
"MIT"
] | 257 | 2020-01-03T10:13:29.000Z | 2022-03-26T14:55:12.000Z | cegui/src/widgets/Scrollbar.cpp | rpaciorek/cegui | f64435721df7d0ef0393bf7ace72473d1da1f1ac | [
"MIT"
] | 116 | 2020-01-09T18:13:13.000Z | 2022-03-15T18:32:02.000Z | cegui/src/widgets/Scrollbar.cpp | rpaciorek/cegui | f64435721df7d0ef0393bf7ace72473d1da1f1ac | [
"MIT"
] | 58 | 2020-01-09T03:07:02.000Z | 2022-03-22T17:21:36.000Z | /***********************************************************************
created: 13/4/2004
author: Paul D Turner
*************************************************************************/
/***************************************************************************
* Copyright (C) 2004 - 2012 Paul D T... | 33.045208 | 105 | 0.534585 | rpaciorek |
3a82de6238849e035f2d7e70077ea56728893741 | 2,008 | cpp | C++ | src/code/Library/SequentialCounter.cpp | 1iyiwei/texture | eaa78c00666060ca0a51c69920031b367c265e7d | [
"MIT"
] | 33 | 2017-04-13T18:32:42.000Z | 2021-12-21T07:53:59.000Z | src/code/Library/SequentialCounter.cpp | 1iyiwei/texture | eaa78c00666060ca0a51c69920031b367c265e7d | [
"MIT"
] | 1 | 2021-09-24T07:21:03.000Z | 2021-09-29T23:39:41.000Z | src/code/Library/SequentialCounter.cpp | 1iyiwei/texture | eaa78c00666060ca0a51c69920031b367c265e7d | [
"MIT"
] | 5 | 2017-04-12T17:46:03.000Z | 2021-03-31T00:50:12.000Z | /*
SequentialCounter.cpp
Li-Yi Wei
07/07/2007
*/
#include "SequentialCounter.hpp"
SequentialCounter::SequentialCounter(void)
{
// nothing else to do
}
SequentialCounter::SequentialCounter(const int dimension, const int digit_min, const int digit_max) : Counter(dimension), _digit_min(dimension), _digit_... | 21.136842 | 205 | 0.624004 | 1iyiwei |
3a82f5ff6fbda9260f7b1179dd660112d5537c3d | 2,130 | cpp | C++ | Server/Source/App.cpp | deaf80/audiogridder | c688ec21f6d4141308885f725cb05a456b493ec9 | [
"MIT"
] | null | null | null | Server/Source/App.cpp | deaf80/audiogridder | c688ec21f6d4141308885f725cb05a456b493ec9 | [
"MIT"
] | null | null | null | Server/Source/App.cpp | deaf80/audiogridder | c688ec21f6d4141308885f725cb05a456b493ec9 | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2020 Andreas Pohl
* Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING)
*
* Author: Andreas Pohl
*/
#include "App.hpp"
#include <signal.h>
#include "Server.hpp"
namespace e47 {
App::App() : m_menuWindow(this) {}
void App::initialise(const String& commandLinePar... | 25.97561 | 110 | 0.679343 | deaf80 |
3a83b3d671dd28684bee0b966cb3455cfbe6a2f7 | 1,020 | cc | C++ | CPP/No430.cc | hxz1998/funny_leetcode | 1d2c425af09b57a030fc018ddc1e1a5ffb966cd0 | [
"Apache-2.0"
] | null | null | null | CPP/No430.cc | hxz1998/funny_leetcode | 1d2c425af09b57a030fc018ddc1e1a5ffb966cd0 | [
"Apache-2.0"
] | null | null | null | CPP/No430.cc | hxz1998/funny_leetcode | 1d2c425af09b57a030fc018ddc1e1a5ffb966cd0 | [
"Apache-2.0"
] | null | null | null | /**
* Created by Xiaozhong on 2020/9/19.
* Copyright (c) 2020/9/19 Xiaozhong. All rights reserved.
*/
#include "iostream"
#include "vector"
#include "algorithm"
using namespace std;
class Node {
public:
int val;
Node *prev;
Node *next;
Node *child;
};
class Solution {
private:
Node *dfs(Node *... | 22.173913 | 66 | 0.569608 | hxz1998 |
3a85dc37ee71596b99213185c7b10cd5029cd305 | 9,305 | cpp | C++ | TAO/CIAO/connectors/dds4ccm/examples/Hello/Sender/Hello_Sender_exec.cpp | cflowe/ACE | 5ff60b41adbe1772372d1a43bcc1f2726ff8f810 | [
"DOC"
] | 36 | 2015-01-10T07:27:33.000Z | 2022-03-07T03:32:08.000Z | TAO/CIAO/connectors/dds4ccm/examples/Hello/Sender/Hello_Sender_exec.cpp | cflowe/ACE | 5ff60b41adbe1772372d1a43bcc1f2726ff8f810 | [
"DOC"
] | 2 | 2018-08-13T07:30:51.000Z | 2019-02-25T03:04:31.000Z | TAO/CIAO/connectors/dds4ccm/examples/Hello/Sender/Hello_Sender_exec.cpp | cflowe/ACE | 5ff60b41adbe1772372d1a43bcc1f2726ff8f810 | [
"DOC"
] | 38 | 2015-01-08T14:12:06.000Z | 2022-01-19T08:33:00.000Z | // -*- C++ -*-
// $Id: Hello_Sender_exec.cpp 97306 2013-08-31 14:05:50Z johnnyw $
#include "Hello_Sender_exec.h"
#include "ace/Guard_T.h"
#include "ace/Log_Msg.h"
#include "tao/ORB_Core.h"
#include "ace/Date_Time.h"
#include "ace/OS_NS_unistd.h"
#include "ace/Reactor.h"
namespace CIAO_Hello_Sender_Impl
{
// TAO_ID... | 24.106218 | 85 | 0.559592 | cflowe |
3a867f75c013ffe41c376db9a78de4f3d1e29483 | 1,538 | cpp | C++ | problem_solving/12_the_love_letter_mystery/main.cpp | JonathanSchmalhofer/HackerRankSandbox | 6cb547bdd5b94d6f3d3569dc846e30fbbbf4203b | [
"MIT"
] | 1 | 2020-06-11T16:31:35.000Z | 2020-06-11T16:31:35.000Z | problem_solving/12_the_love_letter_mystery/main.cpp | JonathanSchmalhofer/HackerRankSandbox | 6cb547bdd5b94d6f3d3569dc846e30fbbbf4203b | [
"MIT"
] | null | null | null | problem_solving/12_the_love_letter_mystery/main.cpp | JonathanSchmalhofer/HackerRankSandbox | 6cb547bdd5b94d6f3d3569dc846e30fbbbf4203b | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
#include <limits>
using namespace std;
int count_changes_to_palindrom(string s) {
int changes{0};
for (size_t idx = 0; idx < s.length(); ++idx) {
auto current_letter = s.at(idx);
auto mirror_letter = s.at(s.length() - idx - 1);
cout << current_letter << "--" <<... | 25.633333 | 67 | 0.553966 | JonathanSchmalhofer |
3a871a82a1fe6f65822d6c0042bdf31cc37f9e6a | 948 | cpp | C++ | algorithms/0063_UniquePathsII/0063_UniquePathsII.cpp | 23468234/leetcode-question | 35aad4065401018414de63d1a983ceacb51732a6 | [
"MIT"
] | null | null | null | algorithms/0063_UniquePathsII/0063_UniquePathsII.cpp | 23468234/leetcode-question | 35aad4065401018414de63d1a983ceacb51732a6 | [
"MIT"
] | null | null | null | algorithms/0063_UniquePathsII/0063_UniquePathsII.cpp | 23468234/leetcode-question | 35aad4065401018414de63d1a983ceacb51732a6 | [
"MIT"
] | null | null | null | class Solution {
public:
int uniquePathsWithObstacles(vector<vector<int>>& obstacleGrid) {
if (obstacleGrid.empty() || obstacleGrid[0].empty()){
return 0;
}
int row = obstacleGrid.size();
int column = obstacleGrid[0].size();
vector<vector<int>> board(row, vector... | 28.727273 | 96 | 0.439873 | 23468234 |
3a8a336bee0403140fd92bb5b26bbcd45bbae34a | 2,626 | cc | C++ | agent_based_epidemic_sim/core/hazard_transmission_model.cc | Xtuden-com/agent-based-epidemic-sim | 49ba724b402605ff85f2892bfbcb6338281fc97c | [
"Apache-2.0"
] | null | null | null | agent_based_epidemic_sim/core/hazard_transmission_model.cc | Xtuden-com/agent-based-epidemic-sim | 49ba724b402605ff85f2892bfbcb6338281fc97c | [
"Apache-2.0"
] | null | null | null | agent_based_epidemic_sim/core/hazard_transmission_model.cc | Xtuden-com/agent-based-epidemic-sim | 49ba724b402605ff85f2892bfbcb6338281fc97c | [
"Apache-2.0"
] | null | null | null | #include "agent_based_epidemic_sim/core/hazard_transmission_model.h"
#include <array>
#include <iterator>
#include <numeric>
#include <vector>
#include "absl/random/distributions.h"
#include "absl/time/time.h"
#include "absl/types/span.h"
#include "agent_based_epidemic_sim/core/constants.h"
#include "agent_based_epid... | 38.057971 | 80 | 0.685453 | Xtuden-com |
3a8a46267c5419858e16d55b76c150540a427a0c | 609 | cpp | C++ | src/Client/App/Dibujadores/Recortes/spritesPersonajesSaltando/RecorteMarioSaltando.cpp | brunograssano/SuperMarioBros-Honguitos | f945e434bc317a6d8c8d682b1042d8a385929156 | [
"MIT"
] | 4 | 2021-02-21T17:12:46.000Z | 2021-02-25T20:36:27.000Z | src/Client/App/Dibujadores/Recortes/spritesPersonajesSaltando/RecorteMarioSaltando.cpp | brunograssano/SuperMarioBros-Honguitos | f945e434bc317a6d8c8d682b1042d8a385929156 | [
"MIT"
] | null | null | null | src/Client/App/Dibujadores/Recortes/spritesPersonajesSaltando/RecorteMarioSaltando.cpp | brunograssano/SuperMarioBros-Honguitos | f945e434bc317a6d8c8d682b1042d8a385929156 | [
"MIT"
] | 2 | 2021-02-20T19:49:33.000Z | 2021-02-25T20:35:22.000Z | #include "RecorteMarioSaltando.hpp"
#define ESTADOS_MARIO 12
#define DESPLAZAMIENTO_X 20
#define ALTO 28
#define ANCHO 20
RecorteMarioSaltando::RecorteMarioSaltando(){
estadoActual = 0;
inicializarEstados(ESTADOS_MARIO,DESPLAZAMIENTO_X,ALTO,ANCHO);
}
void RecorteMarioSaltando::actualizarSprite(){
if(ciclo... | 22.555556 | 66 | 0.714286 | brunograssano |
3a8c0426188f56e75e6505fbff3368e99c5555c7 | 2,433 | hpp | C++ | src/classical/plim/rm3_graph.hpp | msoeken/cirkit-addon-plim | 3af61430ec85754a1c63e50b3284781e80274407 | [
"MIT"
] | null | null | null | src/classical/plim/rm3_graph.hpp | msoeken/cirkit-addon-plim | 3af61430ec85754a1c63e50b3284781e80274407 | [
"MIT"
] | null | null | null | src/classical/plim/rm3_graph.hpp | msoeken/cirkit-addon-plim | 3af61430ec85754a1c63e50b3284781e80274407 | [
"MIT"
] | null | null | null | /* CirKit: A circuit toolkit
* Copyright (C) 2009-2015 University of Bremen
* Copyright (C) 2015-2016 EPFL
*
* 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, in... | 28.290698 | 88 | 0.733251 | msoeken |
3a8c17345fb877dd3920a09cafc7e902fcbe306d | 13,473 | cpp | C++ | modules/calib3d/test/test_chessboardgenerator.cpp | satnamsingh8912/opencv | 9c23f2f1a682faa9f0b2c2223a857c7d93ba65a6 | [
"BSD-3-Clause"
] | 163 | 2019-06-04T02:00:58.000Z | 2022-03-26T14:23:10.000Z | modules/calib3d/test/test_chessboardgenerator.cpp | nurisis/opencv | 4378b4d03d8415a132b6675883957243f95d75ee | [
"BSD-3-Clause"
] | 8 | 2019-11-03T10:16:58.000Z | 2022-03-16T17:00:14.000Z | modules/calib3d/test/test_chessboardgenerator.cpp | nurisis/opencv | 4378b4d03d8415a132b6675883957243f95d75ee | [
"BSD-3-Clause"
] | 29 | 2019-01-08T05:43:58.000Z | 2022-03-24T00:07:03.000Z | /*M///////////////////////////////////////////////////////////////////////////////////////
//
// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
//
// By downloading, copying, installing or using the software you agree to this license.
// If you do not agree to this license, do not download, i... | 40.581325 | 125 | 0.61768 | satnamsingh8912 |
3a8ccd33b7f16948c3f3fdf813b7a86a98a607dc | 105,333 | cpp | C++ | kit/Kit.cpp | CaptainVal/online | a5de33496ccd27ca6d11a245c69f70fd28457092 | [
"BSD-2-Clause"
] | 1 | 2021-07-25T06:22:35.000Z | 2021-07-25T06:22:35.000Z | kit/Kit.cpp | CaptainVal/online | a5de33496ccd27ca6d11a245c69f70fd28457092 | [
"BSD-2-Clause"
] | null | null | null | kit/Kit.cpp | CaptainVal/online | a5de33496ccd27ca6d11a245c69f70fd28457092 | [
"BSD-2-Clause"
] | null | null | null | /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */
/*
* 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/.
*/
/*
* The mai... | 35.465657 | 190 | 0.547075 | CaptainVal |