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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0ac04ef889b060e2e430ce66bf28b24bb9279267 | 1,775 | cpp | C++ | 06/assembler_implementation/code.cpp | ashiroji/Nand2Tetris | 1eba908d0134ecbc7c6e8e252558caa8725ed70c | [
"MIT"
] | null | null | null | 06/assembler_implementation/code.cpp | ashiroji/Nand2Tetris | 1eba908d0134ecbc7c6e8e252558caa8725ed70c | [
"MIT"
] | null | null | null | 06/assembler_implementation/code.cpp | ashiroji/Nand2Tetris | 1eba908d0134ecbc7c6e8e252558caa8725ed70c | [
"MIT"
] | null | null | null | #include "code.h"
code::code()
{
this->destMap["null"] = "000";
this->destMap["M"] = "001";
this->destMap["D"] = "010";
this->destMap["MD"] = "011";
this->destMap["A"] = "100";
this->destMap["AM"] = "101";
this->destMap["AD"] = "110";
this->destMap["AMD"] = "111";
this->compMap["0"] = "0101010";
this->compM... | 23.355263 | 44 | 0.570141 | ashiroji |
0ac23932147e699b2438ab194c8a879e2700931b | 377 | cpp | C++ | tools/console/source/CommandCreateProject.cpp | GrimshawA/Nephilim | 1e69df544078b55fdaf58a04db963e20094f27a9 | [
"Zlib"
] | 19 | 2015-12-19T11:15:57.000Z | 2022-03-09T11:22:11.000Z | tools/console/source/CommandCreateProject.cpp | DevilWithin/Nephilim | 1e69df544078b55fdaf58a04db963e20094f27a9 | [
"Zlib"
] | 1 | 2017-05-17T09:31:10.000Z | 2017-05-19T17:01:31.000Z | tools/console/source/CommandCreateProject.cpp | GrimshawA/Nephilim | 1e69df544078b55fdaf58a04db963e20094f27a9 | [
"Zlib"
] | 3 | 2015-12-14T17:40:26.000Z | 2021-02-25T00:42:42.000Z | #include "CommandCreateProject.h"
#include "CommandCreateProjectDataSheet.h"
#include <iostream>
using namespace std;
void CommandCreateProject::execute(String command)
{
CommandCreateProjectDataSheet* program = static_cast<CommandCreateProjectDataSheet*>(Info::nativeActions["datasheet"]);
if(program)
{
program-... | 23.5625 | 120 | 0.782493 | GrimshawA |
0ac27d11283ab5c2da2a20d04f1743d391270a75 | 390 | cc | C++ | ports/www/firefox-legacy/newport/dragonfly/patch-ipc_chromium_src_base_platform__thread__posix.cc | liweitianux/DeltaPorts | b907de0ceb9c0e46ae8961896e97b361aa7c62c0 | [
"BSD-2-Clause-FreeBSD"
] | 31 | 2015-02-06T17:06:37.000Z | 2022-03-08T19:53:28.000Z | ports/www/firefox-legacy/newport/dragonfly/patch-ipc_chromium_src_base_platform__thread__posix.cc | liweitianux/DeltaPorts | b907de0ceb9c0e46ae8961896e97b361aa7c62c0 | [
"BSD-2-Clause-FreeBSD"
] | 236 | 2015-06-29T19:51:17.000Z | 2021-12-16T22:46:38.000Z | ports/www/firefox-legacy/newport/dragonfly/patch-ipc_chromium_src_base_platform__thread__posix.cc | liweitianux/DeltaPorts | b907de0ceb9c0e46ae8961896e97b361aa7c62c0 | [
"BSD-2-Clause-FreeBSD"
] | 52 | 2015-02-06T17:05:36.000Z | 2021-10-21T12:13:06.000Z | --- ipc/chromium/src/base/platform_thread_posix.cc.orig 2016-09-05 23:12:53.000000000 +0300
+++ ipc/chromium/src/base/platform_thread_posix.cc
@@ -16,6 +16,11 @@
#elif defined(OS_LINUX)
#include <sys/syscall.h>
#include <sys/prctl.h>
+#elif defined(OS_DRAGONFLY)
+#include <sys/param.h>
+#if __DragonFly_version >= 40... | 26 | 91 | 0.720513 | liweitianux |
0ac42481f2ac8aa5fb6ce6366900a6b85bd231d8 | 4,637 | hpp | C++ | libs/fnd/serialization/include/bksge/fnd/serialization/detail/save_dispatch.hpp | myoukaku/bksge | 0f8b60e475a3f1709723906e4796b5e60decf06e | [
"MIT"
] | 4 | 2018-06-10T13:35:32.000Z | 2021-06-03T14:27:41.000Z | libs/fnd/serialization/include/bksge/fnd/serialization/detail/save_dispatch.hpp | myoukaku/bksge | 0f8b60e475a3f1709723906e4796b5e60decf06e | [
"MIT"
] | 566 | 2017-01-31T05:36:09.000Z | 2022-02-09T05:04:37.000Z | libs/fnd/serialization/include/bksge/fnd/serialization/detail/save_dispatch.hpp | myoukaku/bksge | 0f8b60e475a3f1709723906e4796b5e60decf06e | [
"MIT"
] | 1 | 2018-07-05T04:40:53.000Z | 2018-07-05T04:40:53.000Z | /**
* @file save_dispatch.hpp
*
* @brief save_dispatch の定義
*
* @author myoukaku
*/
#ifndef BKSGE_FND_SERIALIZATION_DETAIL_SAVE_DISPATCH_HPP
#define BKSGE_FND_SERIALIZATION_DETAIL_SAVE_DISPATCH_HPP
#include <bksge/fnd/serialization/detail/serialize_dispatch.hpp>
#include <bksge/fnd/serialization/ver... | 21.368664 | 106 | 0.664654 | myoukaku |
0ac58623b137717c6414b8b44e9c131743261339 | 11,895 | cpp | C++ | platform/windows/Corona.Simulator/Rtt/Rtt_WinConnection.cpp | sekodev/corona | b9a559d0cc68f5d9048444d710161fc5b778d981 | [
"MIT"
] | null | null | null | platform/windows/Corona.Simulator/Rtt/Rtt_WinConnection.cpp | sekodev/corona | b9a559d0cc68f5d9048444d710161fc5b778d981 | [
"MIT"
] | null | null | null | platform/windows/Corona.Simulator/Rtt/Rtt_WinConnection.cpp | sekodev/corona | b9a559d0cc68f5d9048444d710161fc5b778d981 | [
"MIT"
] | null | null | null | //////////////////////////////////////////////////////////////////////////////
//
// This file is part of the Corona game engine.
// For overview and more information on licensing please refer to README.md
// Home page: https://github.com/coronalabs/corona
// Contact: support@coronalabs.com
//
////////////////////////... | 24.678423 | 140 | 0.649685 | sekodev |
0ac9aa16f5782fddd46f31adb798cf5c829e5e76 | 20,513 | cpp | C++ | level_editor/main.cpp | xiroV/game-tools | 01b7d4f0269cfdcb70901ed07705d1467ed66f37 | [
"MIT"
] | 1 | 2021-11-05T10:06:16.000Z | 2021-11-05T10:06:16.000Z | level_editor/main.cpp | xiroV/game-tools | 01b7d4f0269cfdcb70901ed07705d1467ed66f37 | [
"MIT"
] | 24 | 2021-10-03T15:33:16.000Z | 2021-11-29T22:24:57.000Z | level_editor/main.cpp | xiroV/game-tools | 01b7d4f0269cfdcb70901ed07705d1467ed66f37 | [
"MIT"
] | null | null | null | #include <iostream>
#include <string>
#include <sstream>
#include <typeinfo>
#include <vector>
#include <fstream>
#include "editor.hpp"
#include "export/cpp.hpp"
#include "export/lvl.hpp"
#include "export/swift.hpp"
#ifndef RAYGUI
#define RAYGUI
#define RAYGUI_IMPLEMENTATION
#include "lib/raygui/src/raygui.h"
#endif
... | 32.508716 | 182 | 0.529664 | xiroV |
0ad03fc691fbb4312333ad96de453879c98fd4e6 | 671 | cpp | C++ | tools/shared/src/Barrier.cpp | yaoyuan0553/PatentTagging | 8f086588e48e3ece24079bd32596b67cd6e37a94 | [
"MIT"
] | 2 | 2019-08-13T12:31:08.000Z | 2019-08-27T20:33:16.000Z | tools/shared/src/Barrier.cpp | yaoyuan0553/PatentTagging | 8f086588e48e3ece24079bd32596b67cd6e37a94 | [
"MIT"
] | null | null | null | tools/shared/src/Barrier.cpp | yaoyuan0553/PatentTagging | 8f086588e48e3ece24079bd32596b67cd6e37a94 | [
"MIT"
] | 1 | 2019-09-10T02:18:00.000Z | 2019-09-10T02:18:00.000Z | //
// Created by yuan on 9/5/19.
//
#include "Barrier.h"
#include "Utility.h"
Barrier::Barrier(unsigned count) noexcept
{
// initialize POSIX barrier
if (int err = pthread_barrier_init(&barrier_, nullptr, count); err)
PERROR("pthread_barrier_init() failed with %s", strerror(err));
}
Barrier::~Barrie... | 23.964286 | 100 | 0.678092 | yaoyuan0553 |
bd5693aa30a8df5f2c691591556eccac3bde1108 | 329 | cpp | C++ | ConsoleApplication1/ConsoleApplication1.cpp | yg88/class2017 | c5b40a48f91a5676a4f07c3404e09d50a49f2bd2 | [
"MIT"
] | null | null | null | ConsoleApplication1/ConsoleApplication1.cpp | yg88/class2017 | c5b40a48f91a5676a4f07c3404e09d50a49f2bd2 | [
"MIT"
] | 1 | 2019-01-05T11:53:18.000Z | 2019-01-05T11:53:18.000Z | ConsoleApplication1/ConsoleApplication1.cpp | yg88/class2017 | c5b40a48f91a5676a4f07c3404e09d50a49f2bd2 | [
"MIT"
] | 1 | 2017-11-23T08:05:38.000Z | 2017-11-23T08:05:38.000Z | // ConsoleApplication1.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include <iostream>
int main()
{
std::cout << "Please input two numbers:\n";
int a, b;
std::cin >> a >> b;
std::cout << "Sum of " << a << " and " << b << " is " << a + b << std::endl;
return ... | 19.352941 | 82 | 0.544073 | yg88 |
bd56d842cfc834b743baf0cb20a367f4079711e2 | 1,762 | cpp | C++ | Medium/3 - Longest Substring Without Repeating Characters.cpp | WangZixuan/Leetcode | 4593e8b48c4ce810567473a825735ffde3f7a0f0 | [
"WTFPL"
] | 11 | 2015-08-06T15:43:48.000Z | 2022-02-16T01:30:24.000Z | Medium/3 - Longest Substring Without Repeating Characters.cpp | WangZixuan/Leetcode | 4593e8b48c4ce810567473a825735ffde3f7a0f0 | [
"WTFPL"
] | 1 | 2015-08-17T13:33:55.000Z | 2015-08-27T03:43:47.000Z | Medium/3 - Longest Substring Without Repeating Characters.cpp | WangZixuan/Leetcode | 4593e8b48c4ce810567473a825735ffde3f7a0f0 | [
"WTFPL"
] | 2 | 2021-09-30T14:39:05.000Z | 2021-10-02T11:02:20.000Z | /*
Longest Substring Without Repeating Characters
Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters for "abcabcbb" is "abc", which the length is 3. For "bbbbb" the longest substring is "b", with the length of 1.
@aut... | 22.883117 | 259 | 0.642452 | WangZixuan |
bd5ddd14c49f5148cb2b4c11e386ed44cec7ede5 | 708 | cpp | C++ | src/utils/graphParser.cpp | guilherme-araujo/gsop-dist | 15da82ffa8add74cc61b95d3544ec3aaa0e71a32 | [
"MIT"
] | null | null | null | src/utils/graphParser.cpp | guilherme-araujo/gsop-dist | 15da82ffa8add74cc61b95d3544ec3aaa0e71a32 | [
"MIT"
] | null | null | null | src/utils/graphParser.cpp | guilherme-araujo/gsop-dist | 15da82ffa8add74cc61b95d3544ec3aaa0e71a32 | [
"MIT"
] | null | null | null | #include "graphParser.h"
#include <sstream>
#include <fstream>
using namespace std;
GsopGraph * Parser::parse(string file){
GsopGraph *g = new GsopGraph();
ifstream in(file);
ifstream in2("opts_"+file);
string line;
string line2;
getline(in2,line2);
int numNodes = stoi(line2);
g->nodes.resize(numNodes);
... | 16.090909 | 42 | 0.642655 | guilherme-araujo |
bd62a1e6c48912a5b94d27fe415dd23c097cd015 | 69,023 | cpp | C++ | openrave/src/libopenrave/libopenrave.cpp | jdsika/TUM_HOly | a2ac55fa1751a3a8038cf61d29b95005f36d6264 | [
"MIT"
] | 2 | 2015-11-13T16:40:57.000Z | 2017-09-15T15:37:19.000Z | openrave/src/libopenrave/libopenrave.cpp | jdsika/holy | a2ac55fa1751a3a8038cf61d29b95005f36d6264 | [
"MIT"
] | 1 | 2016-06-13T01:29:51.000Z | 2016-06-14T00:38:27.000Z | openrave/src/libopenrave/libopenrave.cpp | jdsika/holy | a2ac55fa1751a3a8038cf61d29b95005f36d6264 | [
"MIT"
] | null | null | null | // -*- coding: utf-8 -*-
// Copyright (C) 2006-2012 Rosen Diankov <rosen.diankov@gmail.com>
//
// This file is part of OpenRAVE.
// OpenRAVE is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either vers... | 31.035522 | 214 | 0.621517 | jdsika |
bd63bb462efc0b64939b0393ddca60ab515ecc9a | 845 | cpp | C++ | exp2/2_4/2_4.cpp | Zerdd/OS-Coding-EXP | b46d92fa40d9383838443629b05dd80c4f87f5e1 | [
"Apache-2.0"
] | null | null | null | exp2/2_4/2_4.cpp | Zerdd/OS-Coding-EXP | b46d92fa40d9383838443629b05dd80c4f87f5e1 | [
"Apache-2.0"
] | null | null | null | exp2/2_4/2_4.cpp | Zerdd/OS-Coding-EXP | b46d92fa40d9383838443629b05dd80c4f87f5e1 | [
"Apache-2.0"
] | null | null | null | #include "pluginController.h"
#include "pluginCounter.h"
#include <string.h>
#include <iostream>
using namespace std;
int main(int argc, char *argv[])
{
// 检查参数
if (argc != 2)
{
cout << "Please input correct argc!" << endl;
return 0;
}
// 实例化一个插件控制器
pct_t pc;
// ... | 17.604167 | 56 | 0.497041 | Zerdd |
bd658a964c1c208807102cace239467fbd80dd77 | 59,568 | cxx | C++ | osprey/be/lno/array_bounds.cxx | sharugupta/OpenUH | daddd76858a53035f5d713f648d13373c22506e8 | [
"BSD-2-Clause"
] | null | null | null | osprey/be/lno/array_bounds.cxx | sharugupta/OpenUH | daddd76858a53035f5d713f648d13373c22506e8 | [
"BSD-2-Clause"
] | null | null | null | osprey/be/lno/array_bounds.cxx | sharugupta/OpenUH | daddd76858a53035f5d713f648d13373c22506e8 | [
"BSD-2-Clause"
] | null | null | null | /*
Copyright (C) 2000, 2001 Silicon Graphics, Inc. All Rights Reserved.
This program is free software; you can redistribute it and/or modify it
under the terms of version 2 of the GNU General Public License as
published by the Free Software Foundation.
This program is distributed in the hope that it would... | 37.653603 | 123 | 0.611771 | sharugupta |
bd65f206fe352f3861578766a3caeed46c813abe | 50,509 | hpp | C++ | ext/hmsJNI.hpp | bg-sniffer/hermes | e9d2be3d0600926cd99190cebd65dd1d077164aa | [
"Zlib"
] | null | null | null | ext/hmsJNI.hpp | bg-sniffer/hermes | e9d2be3d0600926cd99190cebd65dd1d077164aa | [
"Zlib"
] | null | null | null | ext/hmsJNI.hpp | bg-sniffer/hermes | e9d2be3d0600926cd99190cebd65dd1d077164aa | [
"Zlib"
] | null | null | null | // Copyright (C) 2017-2020 Grupa Pracuj Sp. z o.o.
// This file is part of the "Hermes" library.
// For conditions of distribution and use, see copyright notice in license.txt.
#ifndef _HMS_JNI_HPP_
#define _HMS_JNI_HPP_
#include <jni.h>
#include <array>
#include <cassert>
#include <memory>
#include <string>
#includ... | 51.592441 | 311 | 0.636362 | bg-sniffer |
bd66012eb5e67142f44f98eaa63c0119954e1296 | 3,059 | cpp | C++ | test/gbelib_tests/cpu/operation/bytealuoperation_tests.cpp | johannes51/GBEmu | bb85debc8191d7eaa3917c2d441172f97731374c | [
"MIT"
] | null | null | null | test/gbelib_tests/cpu/operation/bytealuoperation_tests.cpp | johannes51/GBEmu | bb85debc8191d7eaa3917c2d441172f97731374c | [
"MIT"
] | null | null | null | test/gbelib_tests/cpu/operation/bytealuoperation_tests.cpp | johannes51/GBEmu | bb85debc8191d7eaa3917c2d441172f97731374c | [
"MIT"
] | null | null | null | #include "gtest/gtest.h"
#include "cpu/cpuregisters.h"
#include "cpu/operation/bytealuoperation.h"
#include "location/location.h"
#include "mem/rambank.h"
#include "location/variablebyte.h"
TEST(ByteAluOperationTest, Xor)
{
ByteAluOperation xorOp { ByteAluFunction::Xor, Source::Register };
xorOp.setRegister(Byte... | 23.898438 | 69 | 0.700883 | johannes51 |
bd6664606c73d18949428c8584aa97b4d3c2a045 | 247 | cpp | C++ | util/random.cpp | kit-algo/HyperFlowCutter | ee27ce5f41639e7c3dc53291cbcb02df487d4aea | [
"MIT"
] | 1 | 2019-07-13T10:53:00.000Z | 2019-07-13T10:53:00.000Z | util/random.cpp | kit-algo/HyperFlowCutter | ee27ce5f41639e7c3dc53291cbcb02df487d4aea | [
"MIT"
] | null | null | null | util/random.cpp | kit-algo/HyperFlowCutter | ee27ce5f41639e7c3dc53291cbcb02df487d4aea | [
"MIT"
] | null | null | null | #include "../definitions.h"
namespace Random {
static uint32_t seed;
static std::mt19937 RNG;
void setSeed(uint32_t _seed) {
seed = _seed;
RNG.seed(seed);
}
uint32_t getSeed() { return seed; }
std::mt19937& getRNG() { return RNG; }
}
| 16.466667 | 39 | 0.668016 | kit-algo |
bd67b9e01d63b2baa6144b97744854b01ae61472 | 6,339 | cpp | C++ | starter-stack/Lib/rcsc/action/body_go_to_point_dodge.cpp | InsperDynamics/Soccer-Simulation-2D | a548d576ca4ab2a8f797810f5e23875c45cef73f | [
"Apache-2.0"
] | null | null | null | starter-stack/Lib/rcsc/action/body_go_to_point_dodge.cpp | InsperDynamics/Soccer-Simulation-2D | a548d576ca4ab2a8f797810f5e23875c45cef73f | [
"Apache-2.0"
] | null | null | null | starter-stack/Lib/rcsc/action/body_go_to_point_dodge.cpp | InsperDynamics/Soccer-Simulation-2D | a548d576ca4ab2a8f797810f5e23875c45cef73f | [
"Apache-2.0"
] | null | null | null | // -*-c++-*-
/*!
\file body_go_to_point_dodge.cpp
\brief sub behavior for Body_GoToPoint.
*/
/*
*Copyright:
Copyright (C) Hidehisa AKIYAMA
This code is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundati... | 30.185714 | 81 | 0.501183 | InsperDynamics |
bd68d98daaf17c23a342f2fd30f744f9bd7a3cc9 | 320 | cpp | C++ | demos/demo.cpp | RyanDraves/CPPurses | 19cbdae2d18e702144659187ec989c486c714a0f | [
"MIT"
] | null | null | null | demos/demo.cpp | RyanDraves/CPPurses | 19cbdae2d18e702144659187ec989c486c714a0f | [
"MIT"
] | null | null | null | demos/demo.cpp | RyanDraves/CPPurses | 19cbdae2d18e702144659187ec989c486c714a0f | [
"MIT"
] | null | null | null | #include <cppurses/system/focus.hpp>
#include <cppurses/system/system.hpp>
#include <cppurses/widget/widgets/menu.hpp>
#include "main_menu.hpp"
using namespace cppurses;
int main()
{
System sys;
demos::Main_menu demo_menu;
System::set_initial_focus(&demo_menu.main_menu);
return sys.run(demo_menu);
}
| 20 | 52 | 0.7375 | RyanDraves |
bd6b50df5cc7dbcc1def05d2bb915900ed276b68 | 203 | cpp | C++ | enciso5/sample_W_option.cpp | davea42/libdwarf-regressiontests | a7ba7e9bfad6b2996bcce2ba319ab7dde3031601 | [
"BSD-3-Clause"
] | 1 | 2019-04-15T13:49:52.000Z | 2019-04-15T13:49:52.000Z | enciso5/sample_W_option.cpp | pombreda/git-git.code.sf.net-p-libdwarf-regressiontests | 634ddcc6c90afcb736292933034f3705c48d974a | [
"BSD-3-Clause"
] | null | null | null | enciso5/sample_W_option.cpp | pombreda/git-git.code.sf.net-p-libdwarf-regressiontests | 634ddcc6c90afcb736292933034f3705c48d974a | [
"BSD-3-Clause"
] | null | null | null | namespace nsp {
struct ee {
struct ff {
struct gg {
int v_integer;
};
};
};
}
int main() {
nsp::ee::ff::gg v_gg;
v_gg.v_integer = 620;
return 0;
}
| 11.941176 | 24 | 0.448276 | davea42 |
bd6c1b8ac9a435830d89f076329aadded96b0b79 | 604 | cpp | C++ | t2/main.cpp | vinthony/Learning-Graphics | 9c20c8f1d9378a7fb2e9be7eef8042a9c6d4a2be | [
"MIT"
] | null | null | null | t2/main.cpp | vinthony/Learning-Graphics | 9c20c8f1d9378a7fb2e9be7eef8042a9c6d4a2be | [
"MIT"
] | null | null | null | t2/main.cpp | vinthony/Learning-Graphics | 9c20c8f1d9378a7fb2e9be7eef8042a9c6d4a2be | [
"MIT"
] | null | null | null |
#include <iostream>
#include <GL/glew.h>
#include <GLUT/GLUT.h>
void render(){
glClearColor(0.0f, 0.0f, 0.0f, 0.0f);
glClear(GL_COLOR_BUFFER_BIT);
glutSwapBuffers();
glFlush();
}
int main (int argc,char ** argv)
{
glutInit(&argc, argv);
glutInitWindowSize(800,600);
glutInitWindowPo... | 18.30303 | 62 | 0.602649 | vinthony |
bd6e74a7a395183f5a3db25fcab72429fccd81b1 | 686 | cpp | C++ | src/DefaultPropertyProcessors/ProjectionProcessor.cpp | Megaxela/HGEngineReloadedEditor | be79b6089985da1bf811be8a6d06ce25f71236b1 | [
"MIT"
] | null | null | null | src/DefaultPropertyProcessors/ProjectionProcessor.cpp | Megaxela/HGEngineReloadedEditor | be79b6089985da1bf811be8a6d06ce25f71236b1 | [
"MIT"
] | null | null | null | src/DefaultPropertyProcessors/ProjectionProcessor.cpp | Megaxela/HGEngineReloadedEditor | be79b6089985da1bf811be8a6d06ce25f71236b1 | [
"MIT"
] | 1 | 2020-03-12T04:39:14.000Z | 2020-03-12T04:39:14.000Z | // Editor
#include <DefaultPropertyProcessors/ProjectionProcessor.hpp>
// HG::Rendering::Base
#include <HG/Rendering/Base/Camera.hpp>
// ImGui
#include <imgui.h>
void HG::Editor::PropertyProcessors::ProjectionProcessor::perform(const std::string &name, const HG::Core::Behaviour::Property &property)
{
auto value ... | 29.826087 | 137 | 0.680758 | Megaxela |
bd6ec19d8e0654361314d02e95a35c368add952e | 2,181 | cc | C++ | src/windows/libraries/ws2_32/functions/connect.cc | srpape/IntroVirt | fe553221c40b8ef71f06e79c9d54d9e123a06c89 | [
"Apache-2.0"
] | null | null | null | src/windows/libraries/ws2_32/functions/connect.cc | srpape/IntroVirt | fe553221c40b8ef71f06e79c9d54d9e123a06c89 | [
"Apache-2.0"
] | null | null | null | src/windows/libraries/ws2_32/functions/connect.cc | srpape/IntroVirt | fe553221c40b8ef71f06e79c9d54d9e123a06c89 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2021 Assured Information Security, 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 a... | 29.08 | 76 | 0.707015 | srpape |
bd703d247c722445b2495fcd5d339ad5288ccde2 | 1,185 | cpp | C++ | SDDD/pitchui.cpp | hux8/SDD-Project | 1d589f88655f5a565f0c2efb5d60a3dd8ccc5c06 | [
"MIT"
] | null | null | null | SDDD/pitchui.cpp | hux8/SDD-Project | 1d589f88655f5a565f0c2efb5d60a3dd8ccc5c06 | [
"MIT"
] | 1 | 2019-03-15T01:59:20.000Z | 2019-03-15T17:36:01.000Z | SDDD/pitchui.cpp | hux8/SDD-Project | 1d589f88655f5a565f0c2efb5d60a3dd8ccc5c06 | [
"MIT"
] | 5 | 2018-10-25T23:14:30.000Z | 2018-11-05T18:43:46.000Z | #include "pitchui.h"
#include "ui_pitchui.h"
PitchUI::PitchUI(QWidget *parent) :
QWidget(parent),
ui(new Ui::PitchUI)
{
ui->setupUi(this);
ui->description->setReadOnly(true);
}
PitchUI::~PitchUI()
{
delete ui;
}
void PitchUI::setAccess(bool b)
{
ui->bdelete->setVisible(b);
ui->bmodifyDesc... | 19.42623 | 66 | 0.621941 | hux8 |
bd73b6e8988b8ab0ec5874f3e76506051b98e365 | 13,845 | cpp | C++ | src/q65_main.cpp | alexander-sholohov/msk144decoder | f89fdcf9ec72f6f3d197380a3046c486a251f768 | [
"MIT"
] | null | null | null | src/q65_main.cpp | alexander-sholohov/msk144decoder | f89fdcf9ec72f6f3d197380a3046c486a251f768 | [
"MIT"
] | null | null | null | src/q65_main.cpp | alexander-sholohov/msk144decoder | f89fdcf9ec72f6f3d197380a3046c486a251f768 | [
"MIT"
] | null | null | null | //
// Author: Alexander Sholohov <ra9yer@yahoo.com>
//
// License: MIT
//
#include "wavfile.h"
#include "q65_context.h"
#include "report_tasks.h"
#include "utils.h"
#include "http_reporter.h"
#include "decode_result.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sched.h>
#include <unistd.h>... | 30.295405 | 147 | 0.536439 | alexander-sholohov |
bd74f2a4db02f757e38b117e7e4a95fb2cfb67f8 | 1,868 | cpp | C++ | visualization/code/cgassn1/bullet.cpp | spacejake/cg-project | a69ead800b6b1b65249a1e7974e1130fbc939cf6 | [
"MIT"
] | null | null | null | visualization/code/cgassn1/bullet.cpp | spacejake/cg-project | a69ead800b6b1b65249a1e7974e1130fbc939cf6 | [
"MIT"
] | null | null | null | visualization/code/cgassn1/bullet.cpp | spacejake/cg-project | a69ead800b6b1b65249a1e7974e1130fbc939cf6 | [
"MIT"
] | null | null | null | #include "bullet.h"
#include "util.h"
Bullet::Bullet(const glm::vec3& pos, const glm::vec2& dir)
{
this->setPos(pos);
this->setDir(dir);
this->status = ALIVE;
creationTime = clock();
lifeTime = CLOCKS_PER_SEC * 3;
}
Bullet::Bullet(const glm::vec3& pos, const glm::vec2& dir, enum Direction _viewDir)
{
float yra... | 18.68 | 141 | 0.648287 | spacejake |
bd76953b60b232aee23c1b6c3582bca6abe36602 | 933 | cpp | C++ | src/dray/vec.cpp | LLNL/devil_ray | 6ab59dd740a5fb1e04967e982c5c6d4c7507f4cb | [
"BSD-3-Clause-Clear",
"BSD-3-Clause"
] | 14 | 2019-12-17T17:40:32.000Z | 2021-12-13T20:32:32.000Z | src/dray/vec.cpp | LLNL/devil_ray | 6ab59dd740a5fb1e04967e982c5c6d4c7507f4cb | [
"BSD-3-Clause-Clear",
"BSD-3-Clause"
] | 72 | 2019-12-21T16:55:38.000Z | 2022-03-22T20:40:13.000Z | src/dray/vec.cpp | LLNL/devil_ray | 6ab59dd740a5fb1e04967e982c5c6d4c7507f4cb | [
"BSD-3-Clause-Clear",
"BSD-3-Clause"
] | 3 | 2020-02-21T18:06:57.000Z | 2021-12-03T18:39:48.000Z | // Copyright 2019 Lawrence Livermore National Security, LLC and other
// Devil Ray Developers. See the top-level COPYRIGHT file for details.
//
// SPDX-License-Identifier: (BSD-3-Clause)
#include <dray/vec.hpp>
namespace dray
{
template class Vec<int32, 1>;
template class Vec<uint32, 1>;
template class Vec<int64, 1>;... | 25.916667 | 70 | 0.73955 | LLNL |
bd76ab557b9ab605cbe3b4ffb80e9da02b36c537 | 11,747 | cpp | C++ | source/radeon_gpu_analyzer_gui/rg_xml_cli_version_info.cpp | clayne/RGA | 7ed370e00b635c5b558d4af4eb050e2a38f77e53 | [
"MIT"
] | 97 | 2020-03-12T01:47:49.000Z | 2022-03-16T02:29:04.000Z | source/radeon_gpu_analyzer_gui/rg_xml_cli_version_info.cpp | clayne/RGA | 7ed370e00b635c5b558d4af4eb050e2a38f77e53 | [
"MIT"
] | 34 | 2020-03-10T16:38:48.000Z | 2022-03-19T04:05:04.000Z | source/radeon_gpu_analyzer_gui/rg_xml_cli_version_info.cpp | clayne/RGA | 7ed370e00b635c5b558d4af4eb050e2a38f77e53 | [
"MIT"
] | 14 | 2020-03-13T00:50:23.000Z | 2022-01-31T09:06:54.000Z | // C++.
#include <algorithm>
#include <cassert>
// XML.
#include <tinyxml2/Include/tinyxml2.h>
// Local.
#include "radeon_gpu_analyzer_gui/rg_config_file.h"
#include "radeon_gpu_analyzer_gui/rg_xml_cli_version_info.h"
#include "radeon_gpu_analyzer_gui/rg_utils.h"
#include "radeon_gpu_analyzer_gui/rg_xml_utils.h"
#inc... | 62.153439 | 186 | 0.358134 | clayne |
bd76fa768bc0df07079bc388d6a245db00721053 | 1,770 | hpp | C++ | CodeGeneration/core/ValidationHandler.hpp | tedi21/SisypheReview | f7c05bad1ccc036f45870535149d9685e1120c2c | [
"Unlicense"
] | null | null | null | CodeGeneration/core/ValidationHandler.hpp | tedi21/SisypheReview | f7c05bad1ccc036f45870535149d9685e1120c2c | [
"Unlicense"
] | null | null | null | CodeGeneration/core/ValidationHandler.hpp | tedi21/SisypheReview | f7c05bad1ccc036f45870535149d9685e1120c2c | [
"Unlicense"
] | null | null | null | #ifndef _VALIDATION_HANDLER_HPP_
#define _VALIDATION_HANDLER_HPP_
#include <xercesc/sax/ErrorHandler.hpp>
#include <xercesc/sax/SAXParseException.hpp>
#include "xstring.hpp"
using namespace log4cpp;
using namespace xercesc;
using namespace enc;
namespace dsg {
#define X(str) encode<ansi,xml>(str).c_str()
#d... | 24.246575 | 67 | 0.49209 | tedi21 |
bd77bfdcbeaec516d3b88d1abb47ee648f5769d4 | 3,710 | cpp | C++ | src/msgpack/msgpack-cpp-unpack.cpp | ashvardanian/schemaless-benchmarks | 3e286b4ce8de70db79ec510615488102a16a9ada | [
"MIT"
] | 48 | 2016-01-14T08:01:59.000Z | 2021-10-15T03:30:50.000Z | src/msgpack/msgpack-cpp-unpack.cpp | ashvardanian/schemaless-benchmarks | 3e286b4ce8de70db79ec510615488102a16a9ada | [
"MIT"
] | null | null | null | src/msgpack/msgpack-cpp-unpack.cpp | ashvardanian/schemaless-benchmarks | 3e286b4ce8de70db79ec510615488102a16a9ada | [
"MIT"
] | 8 | 2016-07-11T05:55:49.000Z | 2022-01-06T10:45:47.000Z | /*
* Copyright (c) 2016 Nicholas Fraser
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"), to deal in
* the Software without restriction, including without limitation the rights to
* use, copy, modify, merge, pu... | 33.423423 | 119 | 0.653369 | ashvardanian |
bd78b6e7608b8181e7e40a27ebd3c9d9fe3d16ac | 1,146 | cpp | C++ | src/ConnectorInfos.cpp | flagarde/YAODAQ | 851df4aa32b8695c4706bb3ec9f353f4461c9cad | [
"MIT"
] | null | null | null | src/ConnectorInfos.cpp | flagarde/YAODAQ | 851df4aa32b8695c4706bb3ec9f353f4461c9cad | [
"MIT"
] | 11 | 2021-05-14T19:50:27.000Z | 2022-03-31T07:19:41.000Z | src/ConnectorInfos.cpp | flagarde/YAODAQ | 851df4aa32b8695c4706bb3ec9f353f4461c9cad | [
"MIT"
] | 5 | 2021-05-11T13:30:30.000Z | 2021-05-26T19:57:22.000Z | #include "ConnectorInfos.hpp"
#include "toml.hpp"
#include <iostream>
namespace yaodaq
{
ConnectorInfos::ConnectorInfos(const toml::value& params, const bool& isShared, const int& id): m_Parameters(params), m_IsSharedConnector(isShared), m_ID(id) {}
int ConnectorInfos::getID()
{
return m_ID;
}
int ConnectorInfo... | 16.140845 | 160 | 0.744328 | flagarde |
bd7ab0133ba818c899f7ea555fdf93a2cb127f03 | 317 | cc | C++ | cpp/sort/selection.cc | eryue0220/teach-myself-algorithm | 1b4d79a2a9bc6b9850deec70bcdccf7f05b9052d | [
"MIT"
] | null | null | null | cpp/sort/selection.cc | eryue0220/teach-myself-algorithm | 1b4d79a2a9bc6b9850deec70bcdccf7f05b9052d | [
"MIT"
] | null | null | null | cpp/sort/selection.cc | eryue0220/teach-myself-algorithm | 1b4d79a2a9bc6b9850deec70bcdccf7f05b9052d | [
"MIT"
] | null | null | null | #include <algorithm>
#include "sort.h"
using namespace std;
template <typename T>
void selectionSort( T arr[], int n ) {
for ( int i = 0; i < n; i++ ) {
int minIndex = i;
for ( int j = i + 1; j < n; j++ )
if ( arr[j] < arr[minIndex] )
minIndex = j;
swap( arr[i], arr[minIndex] );
}
}
| 19.8125 | 38 | 0.526814 | eryue0220 |
bd80fb0cd67c0d424a1ce2a4a2e8db9303a0ff56 | 1,446 | hpp | C++ | include/boost/document/detail/ms_api/ms_sheet.hpp | anuragxel/generic-document-library | e7d0f53f47ab85709968c91f0f4ca423796bc4cd | [
"BSL-1.0"
] | null | null | null | include/boost/document/detail/ms_api/ms_sheet.hpp | anuragxel/generic-document-library | e7d0f53f47ab85709968c91f0f4ca423796bc4cd | [
"BSL-1.0"
] | null | null | null | include/boost/document/detail/ms_api/ms_sheet.hpp | anuragxel/generic-document-library | e7d0f53f47ab85709968c91f0f4ca423796bc4cd | [
"BSL-1.0"
] | null | null | null | #ifndef _MS_SHEET_HPP
#define _MS_SHEET_HPP
// Copyright Anurag Ghosh 2015.
// 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 <string>
#include <iostream>
#include <cstdlib>
#include... | 32.133333 | 100 | 0.782158 | anuragxel |
bd81feb53f212e2506a309fb42ed6b82464e97fc | 1,250 | cpp | C++ | Graph Algorithms/Giant Pizza.cpp | DecSP/cses-downloader | 12a8f37665a33f6f790bd2c355f84dea8a0e332c | [
"MIT"
] | 2 | 2022-02-12T12:30:13.000Z | 2022-02-12T13:59:20.000Z | Graph Algorithms/Giant Pizza.cpp | DecSP/cses-downloader | 12a8f37665a33f6f790bd2c355f84dea8a0e332c | [
"MIT"
] | 2 | 2022-02-12T11:09:41.000Z | 2022-02-12T11:55:49.000Z | Graph Algorithms/Giant Pizza.cpp | DecSP/cses-downloader | 12a8f37665a33f6f790bd2c355f84dea8a0e332c | [
"MIT"
] | null | null | null | #include<bits/stdc++.h>
using namespace std;
int n,q;
vector<vector<int>> neg,pos;
vector<int> ans1,ans2;
bool dfs(int cur, bool isPos,vector<int>&ans){
bool re=true;
if (ans[cur]) return (ans[cur]>0&&isPos)||(ans[cur]<0&&!isPos);
ans[cur]=(isPos)?1:-1;
if (isPos) {
for(int &v:pos[cur]){
if (v>0) re=re&&dfs(... | 19.53125 | 64 | 0.556 | DecSP |
bd8326ae819c6b64466633fbabb82becd94278be | 309 | cpp | C++ | docs/atl/codesnippet/CPP/catllist-class_3.cpp | bobbrow/cpp-docs | 769b186399141c4ea93400863a7d8463987bf667 | [
"CC-BY-4.0",
"MIT"
] | 965 | 2017-06-25T23:57:11.000Z | 2022-03-31T14:17:32.000Z | docs/atl/codesnippet/CPP/catllist-class_3.cpp | bobbrow/cpp-docs | 769b186399141c4ea93400863a7d8463987bf667 | [
"CC-BY-4.0",
"MIT"
] | 3,272 | 2017-06-24T00:26:34.000Z | 2022-03-31T22:14:07.000Z | docs/atl/codesnippet/CPP/catllist-class_3.cpp | bobbrow/cpp-docs | 769b186399141c4ea93400863a7d8463987bf667 | [
"CC-BY-4.0",
"MIT"
] | 951 | 2017-06-25T12:36:14.000Z | 2022-03-26T22:49:06.000Z | // Define the list
CAtlList<int> myList;
// Add elements to the tail
myList.AddTail(1);
myList.AddTail(2);
myList.AddTail(3);
// Confirm the current head of the list
ATLASSERT(myList.GetHead() == 1);
// Confirm the current tail of the list
ATLASSERT(myList.GetTail() == 3); | 23.769231 | 42 | 0.640777 | bobbrow |
bd84651ba8b5ecbfee2e5e6f3e067b1cbf25c9a6 | 4,702 | cc | C++ | code/foundation/core/debug/stringatompagehandler.cc | Nechrito/nebula | 6c7ef27ab1374d3f751d866500729524f72a0c87 | [
"BSD-2-Clause"
] | null | null | null | code/foundation/core/debug/stringatompagehandler.cc | Nechrito/nebula | 6c7ef27ab1374d3f751d866500729524f72a0c87 | [
"BSD-2-Clause"
] | null | null | null | code/foundation/core/debug/stringatompagehandler.cc | Nechrito/nebula | 6c7ef27ab1374d3f751d866500729524f72a0c87 | [
"BSD-2-Clause"
] | null | null | null | //------------------------------------------------------------------------------
// stringatompagehandler.cc
// (C) 2009 Radon Labs GmbH
// (C) 2013-2020 Individual contributors, see AUTHORS file
//------------------------------------------------------------------------------
#include "foundation/stdneb.h"
#include ... | 39.847458 | 103 | 0.589749 | Nechrito |
bd85502b999a07f9bde6efae9ea8cff6bdf21951 | 66 | cpp | C++ | src/peefycpp/ptype.cpp | Peefy/PeefyCompiler | b54252ad43e8ff7be10f97bda3196137936ba4b6 | [
"Apache-2.0"
] | 1 | 2019-11-09T13:05:06.000Z | 2019-11-09T13:05:06.000Z | src/peefycpp/ptype.cpp | Peefy/PeefyCompiler | b54252ad43e8ff7be10f97bda3196137936ba4b6 | [
"Apache-2.0"
] | null | null | null | src/peefycpp/ptype.cpp | Peefy/PeefyCompiler | b54252ad43e8ff7be10f97bda3196137936ba4b6 | [
"Apache-2.0"
] | null | null | null |
#include "ptype.h"
BEGIN_PEEFY_NAMESPACE
END_PEEFY_NAMESPACE
| 7.333333 | 21 | 0.80303 | Peefy |
bd87cd35f1df4fca4c6610ccf11a4fed5769c42d | 2,092 | hpp | C++ | modules/cli/src/basic_interactive_terminal.hpp | perfkitpp/perfkit | 19b691c8337b47594ed6be28051b3a5ee31af389 | [
"MIT"
] | null | null | null | modules/cli/src/basic_interactive_terminal.hpp | perfkitpp/perfkit | 19b691c8337b47594ed6be28051b3a5ee31af389 | [
"MIT"
] | 6 | 2021-10-14T15:38:06.000Z | 2022-01-08T12:55:04.000Z | modules/cli/src/basic_interactive_terminal.hpp | perfkitpp/perfkit | 19b691c8337b47594ed6be28051b3a5ee31af389 | [
"MIT"
] | null | null | null | // MIT License
//
// Copyright (c) 2021-2022. Seungwoo Kang
//
// 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,... | 32.184615 | 81 | 0.738528 | perfkitpp |
bd88b2414b248f48ebf8af5f5bfe39a4f4c54a96 | 3,563 | cc | C++ | src/search/random_walk.cc | ojcole/re-pairing-brackets | 1bd76bd5f19381d881116564bbaaa5e4e1395942 | [
"MIT"
] | null | null | null | src/search/random_walk.cc | ojcole/re-pairing-brackets | 1bd76bd5f19381d881116564bbaaa5e4e1395942 | [
"MIT"
] | null | null | null | src/search/random_walk.cc | ojcole/re-pairing-brackets | 1bd76bd5f19381d881116564bbaaa5e4e1395942 | [
"MIT"
] | null | null | null | // MIT License
// Copyright (c) 2020-2021 Oliver Cole
// 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... | 33.299065 | 80 | 0.685377 | ojcole |
bd8b4197de72a2744a8691a412a7fa9448794bcc | 386 | cpp | C++ | 3rdparty/openbw/bwapi/bwapi/BWScriptEmulator/Target_Expansion.cpp | WoodoLee/TorchCraft | 999f68aab9e7d50ed3ae138297226dc95fefc458 | [
"MIT"
] | 2 | 2021-04-18T11:00:14.000Z | 2021-04-18T15:55:30.000Z | 3rdparty/openbw/bwapi/bwapi/BWScriptEmulator/Target_Expansion.cpp | WoodoLee/TorchCraft | 999f68aab9e7d50ed3ae138297226dc95fefc458 | [
"MIT"
] | 2 | 2021-04-14T17:24:51.000Z | 2021-05-25T15:13:41.000Z | 3rdparty/openbw/bwapi/bwapi/BWScriptEmulator/Target_Expansion.cpp | WoodoLee/TorchCraft | 999f68aab9e7d50ed3ae138297226dc95fefc458 | [
"MIT"
] | null | null | null | #include "Target_Expansion.h"
#include <tuple>
#include "Controller.h"
using namespace AISCRIPT;
IMPLEMENT(Target_Expansion);
bool Target_Expansion::execute(aithread &thread) const
{
// Set campaign flag
MainController.setFlags(CONTROLLER_TARGET_EXPANSION);
// Save debug info and return
thre... | 20.315789 | 56 | 0.725389 | WoodoLee |
bd8b9acdaeb02e467ce715a2a11dde531971d344 | 633 | cpp | C++ | src/Front/GeneralTextEdit/undoredotext.cpp | Igisid/Breeks-desktop | 0dfaa6ea64d1d2912a4aed9e1febb537b9a9eec6 | [
"Apache-2.0"
] | 10 | 2020-12-20T15:32:20.000Z | 2021-07-12T18:09:57.000Z | src/Front/GeneralTextEdit/undoredotext.cpp | Igisid/Breeks-desktop | 0dfaa6ea64d1d2912a4aed9e1febb537b9a9eec6 | [
"Apache-2.0"
] | 2 | 2022-01-04T12:51:00.000Z | 2022-01-04T14:40:19.000Z | src/Front/GeneralTextEdit/undoredotext.cpp | Igisid/Breeks-desktop | 0dfaa6ea64d1d2912a4aed9e1febb537b9a9eec6 | [
"Apache-2.0"
] | 3 | 2020-12-22T02:50:11.000Z | 2021-02-24T01:58:11.000Z | #include "undoredotext.h"
UndoRedoText::UndoRedoText()
{}
//-----UNDO
bool UndoRedoText::isUndoEmpty() {
return undoStack.isEmpty();
}
void UndoRedoText::pushUndoCommand(const commandInfo_t command) {
undoStack.push(command);
}
void UndoRedoText::popUndoCommand(commandInfo_t& command) {
command = undoStack.to... | 19.181818 | 65 | 0.733017 | Igisid |
bd8d2151294acd433e4832a4710a1ec9040c6100 | 9,120 | hpp | C++ | include/codegen/include/System/Xml/TextUtf8RawTextWriter.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 1 | 2021-11-12T09:29:31.000Z | 2021-11-12T09:29:31.000Z | include/codegen/include/System/Xml/TextUtf8RawTextWriter.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | null | null | null | include/codegen/include/System/Xml/TextUtf8RawTextWriter.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 2 | 2021-10-03T02:14:20.000Z | 2021-11-12T09:29:36.000Z | // Autogenerated from CppHeaderCreator on 7/27/2020 3:10:19 PM
// Created by Sc2ad
// =========================================================================
#pragma once
#pragma pack(push, 8)
// Begin includes
#include "utils/typedefs.h"
// Including type: System.Xml.XmlUtf8RawTextWriter
#include "System/Xml/XmlUtf8... | 61.208054 | 150 | 0.758114 | Futuremappermydud |
bd8f551021731393df3da390e66b5021d62fd204 | 3,427 | inl | C++ | src/resources/daslib_str/static_let.das.inl | vslutov/robattle | b634d75938589d270e34e1fc0d20fdb8ecf209d1 | [
"BSD-3-Clause"
] | null | null | null | src/resources/daslib_str/static_let.das.inl | vslutov/robattle | b634d75938589d270e34e1fc0d20fdb8ecf209d1 | [
"BSD-3-Clause"
] | null | null | null | src/resources/daslib_str/static_let.das.inl | vslutov/robattle | b634d75938589d270e34e1fc0d20fdb8ecf209d1 | [
"BSD-3-Clause"
] | null | null | null | //
// AUTO-GENERATED FILE - DO NOT EDIT!!
//
"options indenting = 4\n"
"options no_unused_block_arguments = false\n"
"options no_unused_function_arguments = false\n"
"options no_aot = true\n"
"\n"
"module static_let shared private\n"
"\n"
"require ast\n"
"require rtti\n"
"require daslib/ast_boost\n"
"require daslib/te... | 41.289157 | 83 | 0.573388 | vslutov |
bd95d98353e658cdb3c1f3a8f19b80ccb1a2c971 | 29,090 | cpp | C++ | third_party/WebKit/Source/core/html/shadow/MediaControls.cpp | maidiHaitai/haitaibrowser | a232a56bcfb177913a14210e7733e0ea83a6b18d | [
"BSD-3-Clause"
] | 1 | 2020-09-15T08:43:34.000Z | 2020-09-15T08:43:34.000Z | third_party/WebKit/Source/core/html/shadow/MediaControls.cpp | maidiHaitai/haitaibrowser | a232a56bcfb177913a14210e7733e0ea83a6b18d | [
"BSD-3-Clause"
] | null | null | null | third_party/WebKit/Source/core/html/shadow/MediaControls.cpp | maidiHaitai/haitaibrowser | a232a56bcfb177913a14210e7733e0ea83a6b18d | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (C) 2011, 2012 Apple Inc. All rights reserved.
* Copyright (C) 2011, 2012 Google Inc. 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... | 36.047088 | 141 | 0.711 | maidiHaitai |
bd965819647db2ecc4e60fea3589b06e06c61cd8 | 1,664 | cpp | C++ | gateway/afm/common/src/GenericSystem.cpp | milligan22963/radar | d4b053509d1e65b385e9337f3eab7dfc4aae412a | [
"MIT"
] | null | null | null | gateway/afm/common/src/GenericSystem.cpp | milligan22963/radar | d4b053509d1e65b385e9337f3eab7dfc4aae412a | [
"MIT"
] | null | null | null | gateway/afm/common/src/GenericSystem.cpp | milligan22963/radar | d4b053509d1e65b385e9337f3eab7dfc4aae412a | [
"MIT"
] | null | null | null | /*--------------------------------------
GenericSystem
Company: AFM Software
Copyright: 2018
--------------------------------------*/
#include <fstream>
#include <string.h>
#include "GenericSystem.h"
namespace afm
{
namespace common
{
static const std::string sc_serialNumberPath = "/sys/class... | 25.212121 | 97 | 0.52524 | milligan22963 |
bd97c9e5bff3eb3a7110af64bb0582e5db5c88af | 1,922 | hpp | C++ | Programming Guide/Headers/Siv3D/QR.hpp | Reputeless/Siv3D-Reference | d58e92885241d11612007fb9187ce0289a7ee9cb | [
"MIT"
] | 38 | 2016-01-14T13:51:13.000Z | 2021-12-29T01:49:30.000Z | Programming Guide/Headers/Siv3D/QR.hpp | Reputeless/Siv3D-Reference | d58e92885241d11612007fb9187ce0289a7ee9cb | [
"MIT"
] | null | null | null | Programming Guide/Headers/Siv3D/QR.hpp | Reputeless/Siv3D-Reference | d58e92885241d11612007fb9187ce0289a7ee9cb | [
"MIT"
] | 16 | 2016-01-15T11:07:51.000Z | 2021-12-29T01:49:37.000Z | //-----------------------------------------------
//
// This file is part of the Siv3D Engine.
//
// Copyright (C) 2008-2016 Ryo Suzuki
//
// Licensed under the MIT License.
//
//-----------------------------------------------
# pragma once
# include "Fwd.hpp"
# include "Unspecified.hpp"
# include "String.hpp"
# incl... | 20.020833 | 160 | 0.636837 | Reputeless |
bd999c5db004219039245fac4eca68a96f993646 | 844 | cpp | C++ | Sudogu CLT/models/solver.cpp | vijayiyer97/Sudoku-Solver | 9ac8712108b8c0b70d29919f122023916260b01f | [
"MIT"
] | null | null | null | Sudogu CLT/models/solver.cpp | vijayiyer97/Sudoku-Solver | 9ac8712108b8c0b70d29919f122023916260b01f | [
"MIT"
] | null | null | null | Sudogu CLT/models/solver.cpp | vijayiyer97/Sudoku-Solver | 9ac8712108b8c0b70d29919f122023916260b01f | [
"MIT"
] | null | null | null | //
// solver.cpp
// Sudogu CLT
//
// Created by Vijay Iyer on 12/7/19.
// Copyright © 2019 Bananna Companay. All rights reserved.
//
#include "solver.hpp"
Solver::Solver(Sudoku other): sudoku(other) { }
Solver::Solver(int** const vals, int rows, int cols, int cells): sudoku(vals, rows, cols, cells) { }
Sudoku So... | 24.114286 | 100 | 0.643365 | vijayiyer97 |
bd9f3ca33aeab9692f5ce58b6b759a342f2ff9d1 | 14,379 | cpp | C++ | src/GLFWFramework.cpp | PucklaMotzer09/JohnnyEngine | b804f6b3ffa7434576caa77fc76fbe6b101565db | [
"Zlib"
] | 5 | 2017-10-08T18:14:49.000Z | 2022-03-19T10:25:24.000Z | src/GLFWFramework.cpp | PucklaMotzer09/JohnnyEngine | b804f6b3ffa7434576caa77fc76fbe6b101565db | [
"Zlib"
] | null | null | null | src/GLFWFramework.cpp | PucklaMotzer09/JohnnyEngine | b804f6b3ffa7434576caa77fc76fbe6b101565db | [
"Zlib"
] | null | null | null | #ifdef USE_GLFW
#include "../include/GLFWFramework.h"
#include "../include/Settings.h"
#include "../include/MainClass.h"
#include "../include/Texture.h"
#include "../include/ResourceManager.h"
#include "../include/LogManager.h"
#include "../include/Events.h"
namespace Johnny
{
std::string GLFWFramework::er... | 33.595794 | 243 | 0.700118 | PucklaMotzer09 |
bda102ea6fd1449e03f7b725c8405c922d6682aa | 6,901 | cc | C++ | tc/autotuner/cuda/autotuner.cc | LoopTactics/tc-cim | ff5f7140ea355cb95798827b17ebf3a83f3774ea | [
"Apache-2.0"
] | 1 | 2021-06-25T08:21:11.000Z | 2021-06-25T08:21:11.000Z | tc/autotuner/cuda/autotuner.cc | LoopTactics/tc-cim | ff5f7140ea355cb95798827b17ebf3a83f3774ea | [
"Apache-2.0"
] | null | null | null | tc/autotuner/cuda/autotuner.cc | LoopTactics/tc-cim | ff5f7140ea355cb95798827b17ebf3a83f3774ea | [
"Apache-2.0"
] | null | null | null | /**
* Copyright (c) 2017-present, Facebook, 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 ... | 34.333333 | 79 | 0.688451 | LoopTactics |
bda217b2aa339caf0e76ca3b5deb7dc1e9c7c579 | 599 | hpp | C++ | include/oglplus/ext/NV_path_rendering/transform_type.hpp | Extrunder/oglplus | c7c8266a1571d0b4c8b02d9c8ca6a7b6a6f51791 | [
"BSL-1.0"
] | 459 | 2016-03-16T04:11:37.000Z | 2022-03-31T08:05:21.000Z | include/oglplus/ext/NV_path_rendering/transform_type.hpp | Extrunder/oglplus | c7c8266a1571d0b4c8b02d9c8ca6a7b6a6f51791 | [
"BSL-1.0"
] | 55 | 2015-01-06T16:42:55.000Z | 2020-07-09T04:21:41.000Z | include/oglplus/ext/NV_path_rendering/transform_type.hpp | Extrunder/oglplus | c7c8266a1571d0b4c8b02d9c8ca6a7b6a6f51791 | [
"BSL-1.0"
] | 57 | 2015-01-07T18:35:49.000Z | 2022-03-22T05:32:04.000Z | /**
* @file oglplus/ext/NV_path_rendering/transform_type.hpp
* @brief Wrapper for the NV_path_rendering transform type enumeration
*
* @author Matus Chochlik
*
* Copyright 2010-2015 Matus Chochlik. Distributed under the Boost
* Software License, Version 1.0. (See accompanying file
* LICENSE_1_0.txt or cop... | 31.526316 | 71 | 0.797997 | Extrunder |
bda4f27160bd902b6e182fc1fae9e0ce7d37cae6 | 1,231 | hpp | C++ | include/RawlogHelper.hpp | dzunigan/extrinsic_calib | aec3747aeb6baecc7bc6202fc0832a113a1bc528 | [
"BSD-3-Clause"
] | 5 | 2018-10-24T02:14:54.000Z | 2019-05-11T12:36:01.000Z | include/RawlogHelper.hpp | dzunigan/extrinsic_calib | aec3747aeb6baecc7bc6202fc0832a113a1bc528 | [
"BSD-3-Clause"
] | null | null | null | include/RawlogHelper.hpp | dzunigan/extrinsic_calib | aec3747aeb6baecc7bc6202fc0832a113a1bc528 | [
"BSD-3-Clause"
] | 1 | 2021-06-30T01:12:49.000Z | 2021-06-30T01:12:49.000Z | //STL
#include <string>
#include <cstddef>
//MRPT
#include <mrpt/obs/CRawlog.h>
#include <mrpt/obs/CObservation3DRangeScan.h>
#include "ObservationPair.hpp"
#include "Parameters.hpp"
class RawlogHelper
{
public:
RawlogHelper(const ParametersPtr ¶ms);
//Retrieves next rawlog observation and updates la... | 26.191489 | 135 | 0.729488 | dzunigan |
bda76d1a1f9905b87ab20e6c5e52e97ff711ac80 | 2,641 | cpp | C++ | lib/lane/src/Utils/Logger.cpp | calhewitt/LANE | 412c3d465e6a459714f7a4a7ca4de30e571e0220 | [
"BSD-2-Clause"
] | null | null | null | lib/lane/src/Utils/Logger.cpp | calhewitt/LANE | 412c3d465e6a459714f7a4a7ca4de30e571e0220 | [
"BSD-2-Clause"
] | null | null | null | lib/lane/src/Utils/Logger.cpp | calhewitt/LANE | 412c3d465e6a459714f7a4a7ca4de30e571e0220 | [
"BSD-2-Clause"
] | null | null | null | ///////////////////////////////////////////////////////////////////////////////
/// \file Logger.cpp
/// \author Hector Stalker <hstalker0@gmail.com>
/// \version 0.1
///
/// \brief A logger class which manages active logging sinks
///
/// \copyright Copyright (c) 2014, Hector Stalker. All rights reserved.
/// This fi... | 26.41 | 101 | 0.631579 | calhewitt |
bda7b735b7d9b403041b4c4fbdf443f122ced7f0 | 712 | hpp | C++ | Projects/6.CDR/CDRProcessor/inc/CdrFileParser.hpp | NatanMeirov/ExperisAcademyBootcamp | 6608ef5571e6dc4eb1f481695da3476ecd4f7547 | [
"MIT"
] | null | null | null | Projects/6.CDR/CDRProcessor/inc/CdrFileParser.hpp | NatanMeirov/ExperisAcademyBootcamp | 6608ef5571e6dc4eb1f481695da3476ecd4f7547 | [
"MIT"
] | null | null | null | Projects/6.CDR/CDRProcessor/inc/CdrFileParser.hpp | NatanMeirov/ExperisAcademyBootcamp | 6608ef5571e6dc4eb1f481695da3476ecd4f7547 | [
"MIT"
] | null | null | null | #ifndef __NM_CDR_CDRFILEPARSER_HPP__
#define __NM_CDR_CDRFILEPARSER_HPP__
#include <unordered_map>
#include <vector>
#include <string>
#include "../../Infrastructure/inc/Cdr.hpp"
namespace nm {
namespace cdr {
class CdrFileParser {
public:
CdrFileParser();
std::vector<Cdr> ParseCdrFileToCdrs(const std::s... | 19.777778 | 80 | 0.742978 | NatanMeirov |
bda837e821a0b01d2a91b980514d38aa6409547c | 548 | inl | C++ | src/nn/Threshold.h.inl | rodrigovb96/cpp-torch | 8ce7edb687b174bd114a96c0758e8379c8c77c1d | [
"Apache-2.0"
] | 55 | 2016-10-26T16:10:18.000Z | 2021-01-26T00:44:35.000Z | src/nn/Threshold.h.inl | rodrigovb96/cpp-torch | 8ce7edb687b174bd114a96c0758e8379c8c77c1d | [
"Apache-2.0"
] | 10 | 2017-04-17T12:31:54.000Z | 2018-11-23T10:49:07.000Z | src/nn/Threshold.h.inl | rodrigovb96/cpp-torch | 8ce7edb687b174bd114a96c0758e8379c8c77c1d | [
"Apache-2.0"
] | 25 | 2016-10-06T13:49:24.000Z | 2021-05-01T16:36:02.000Z | #pragma once
#include "../../include/nn/Threshold.h"
template<typename T, GPUFlag F>
cpptorch::Tensor<T, F> cpptorch::nn::Threshold<T, F>::forward(const cpptorch::Tensor<T, F> &input) const
{
// validate parameters
if (inplace_)
{
asserter(val_ <= threshold_) << "in-place processing requires value... | 30.444444 | 138 | 0.64781 | rodrigovb96 |
bda8984b80a715a7fed3c7300df11872d2c49f33 | 3,638 | cpp | C++ | scripts/xUps/src/x725button.cpp | eswierk/libpanda | 6540181edcf7df3e4ec1ee530456fff741176257 | [
"MIT"
] | 11 | 2020-12-02T00:12:25.000Z | 2022-03-31T07:38:32.000Z | scripts/xUps/src/x725button.cpp | eswierk/libpanda | 6540181edcf7df3e4ec1ee530456fff741176257 | [
"MIT"
] | 29 | 2021-07-15T23:03:38.000Z | 2021-10-08T22:02:29.000Z | scripts/xUps/src/x725button.cpp | eswierk/libpanda | 6540181edcf7df3e4ec1ee530456fff741176257 | [
"MIT"
] | 7 | 2021-07-15T21:09:23.000Z | 2022-02-04T04:06:25.000Z | /*
Author: Matt Bunting
Copyright (c) 2020 Arizona Board of Regents
All rights reserved.
Permission is hereby granted, without written agreement and without
license or royalty fees, to use, copy, modify, and distribute this
software and its documentation for any purpose, provided that the
above copyright notice... | 24.917808 | 77 | 0.643211 | eswierk |
bda8dc41ab5ab0c7be842bc4dad5b8ca914bf05f | 3,525 | cpp | C++ | structured_light-master/point_cloud.cpp | 1395724712/StructureLight_712 | ced5d22f4a81c516e2898f2c5bf287be5afe354c | [
"MIT"
] | 2 | 2021-12-09T15:07:32.000Z | 2022-01-21T09:28:14.000Z | structured_light-master/point_cloud.cpp | 1395724712/StructureLight_712 | ced5d22f4a81c516e2898f2c5bf287be5afe354c | [
"MIT"
] | null | null | null | structured_light-master/point_cloud.cpp | 1395724712/StructureLight_712 | ced5d22f4a81c516e2898f2c5bf287be5afe354c | [
"MIT"
] | 3 | 2020-07-31T02:55:34.000Z | 2022-01-21T09:28:10.000Z | #include <GL/gl.h>
#include <GL/glut.h>
#include <stdlib.h>
#include <math.h>
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include <cv.h>
#include <highgui.h>
IplImage *frame = 0;
int render_detail = 5;
int height,width,step;
float alpha = 0.8;
float angle = 0.0f;
float phi=0.0f;
float pad=0.0f;
int nwave... | 21.759259 | 101 | 0.580426 | 1395724712 |
bda9dfc4479715a1c83c76f382bdd60b1a6c8093 | 19,498 | cpp | C++ | src/test/zealot/zealot_test_fmtstr.cpp | sailzeng/zcelib | 88e14ab436f1b40e8071e15ef6d9fae396efc3b4 | [
"Apache-2.0"
] | 72 | 2015-01-08T05:01:48.000Z | 2021-12-28T06:13:03.000Z | src/test/zealot/zealot_test_fmtstr.cpp | sailzeng/zcelib | 88e14ab436f1b40e8071e15ef6d9fae396efc3b4 | [
"Apache-2.0"
] | 4 | 2016-01-18T12:24:59.000Z | 2019-10-12T07:19:15.000Z | src/test/zealot/zealot_test_fmtstr.cpp | sailzeng/zcelib | 88e14ab436f1b40e8071e15ef6d9fae396efc3b4 | [
"Apache-2.0"
] | 40 | 2015-01-26T06:49:18.000Z | 2021-07-20T08:11:48.000Z |
#include "zealot_predefine.h"
int test_foo_snprintf()
{
char out_buffer[1024 + 1];
size_t cur_len = 0;
size_t buf_max_len = 1024;
zce::foo_snprintf(out_buffer, buf_max_len, cur_len, "int_data=## bool_data=## Haha!\n");
printf("%s", out_buffer);
int int_data = 123456;
bool bool_data = ... | 34.14711 | 138 | 0.509027 | sailzeng |
bda9f8327160a932908fda96b2625bbd68a1aec7 | 983 | cc | C++ | cpp/RemoveNthNodeFromEndOfList.cc | speedfirst/leetcode | a4d95cf8d75f3cd4d1247ea66efebfb6a848ab51 | [
"BSD-3-Clause"
] | null | null | null | cpp/RemoveNthNodeFromEndOfList.cc | speedfirst/leetcode | a4d95cf8d75f3cd4d1247ea66efebfb6a848ab51 | [
"BSD-3-Clause"
] | null | null | null | cpp/RemoveNthNodeFromEndOfList.cc | speedfirst/leetcode | a4d95cf8d75f3cd4d1247ea66efebfb6a848ab51 | [
"BSD-3-Clause"
] | null | null | null | // https://oj.leetcode.com/problems/remove-nth-node-from-end-of-list/
namespace RemoveNthNodeFromEndOfList {
class Solution {
public:
ListNode *removeNthFromEnd(ListNode *head, int n) {
if (head == NULL) {
return NULL;
}
// fi... | 25.868421 | 69 | 0.385554 | speedfirst |
bdae3329e05edb3cba9f6067522e0aa0ab0845d0 | 4,261 | hh | C++ | RAVL2/Contrib/Plotting/DPGraph/DPGraphWindow.hh | isuhao/ravl2 | 317e0ae1cb51e320b877c3bad6a362447b5e52ec | [
"BSD-Source-Code"
] | null | null | null | RAVL2/Contrib/Plotting/DPGraph/DPGraphWindow.hh | isuhao/ravl2 | 317e0ae1cb51e320b877c3bad6a362447b5e52ec | [
"BSD-Source-Code"
] | null | null | null | RAVL2/Contrib/Plotting/DPGraph/DPGraphWindow.hh | isuhao/ravl2 | 317e0ae1cb51e320b877c3bad6a362447b5e52ec | [
"BSD-Source-Code"
] | null | null | null | // This file is part of RAVL, Recognition And Vision Library
// Copyright (C) 2003, University of Surrey
// This code may be redistributed under the terms of the GNU Lesser
// General Public License (LGPL). See the lgpl.licence file for details or
// see http://www.gnu.org/copyleft/lesser.html
// file-header-ends-here... | 26.968354 | 116 | 0.645623 | isuhao |
bdaec90b45931ce74182be7eed7d777265e1220c | 17,249 | cc | C++ | src/IndexManager.cc | yangwanyuan/KV-DB | db82947c34a103bffc170e35c674e5a5a481df00 | [
"Apache-2.0"
] | 1 | 2018-11-08T01:54:38.000Z | 2018-11-08T01:54:38.000Z | src/IndexManager.cc | yangwanyuan/KV-DB | db82947c34a103bffc170e35c674e5a5a481df00 | [
"Apache-2.0"
] | null | null | null | src/IndexManager.cc | yangwanyuan/KV-DB | db82947c34a103bffc170e35c674e5a5a481df00 | [
"Apache-2.0"
] | null | null | null | #include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <unistd.h>
#include <iostream>
#include "IndexManager.h"
namespace hlkvds {
#ifdef WITH_ITERATOR
DataHeader::DataHeader() :
key_digest(Kvdb_Digest()), key_size(0), data_size(0), data_offset(0),
next_header_offset(0) {
}
#else
DataHe... | 30.475265 | 147 | 0.643574 | yangwanyuan |
bdb3b5117e4551f08795c9d06bbe4be8e5b7bb0c | 3,793 | hpp | C++ | src/ODSUser.hpp | blackberry/opendataspace-cascades | 9040204e188ad2d8e7da4a9b28683dfb362705c5 | [
"Apache-2.0"
] | 2 | 2017-04-19T02:13:19.000Z | 2018-05-31T15:52:48.000Z | src/ODSUser.hpp | blackberry/opendataspace-cascades | 9040204e188ad2d8e7da4a9b28683dfb362705c5 | [
"Apache-2.0"
] | null | null | null | src/ODSUser.hpp | blackberry/opendataspace-cascades | 9040204e188ad2d8e7da4a9b28683dfb362705c5 | [
"Apache-2.0"
] | 4 | 2015-02-26T21:17:53.000Z | 2021-11-14T11:59:09.000Z |
#ifndef ODSUSER_HPP_
#define ODSUSER_HPP_
#include <QObject>
#include <qvariant.h>
class ODSUser: public QObject {
Q_OBJECT
Q_PROPERTY(QString firstName READ firstName WRITE setFirstName NOTIFY firstNameChanged FINAL)
Q_PROPERTY(QString lastName READ lastName WRITE setLastName NOTIFY lastNameChanged FINAL)
... | 31.87395 | 116 | 0.815186 | blackberry |
bdb572b5b6ef49817023b4d30c695ba93ab12d49 | 2,160 | cpp | C++ | test/core/test_read_steepest_descent_simulator.cpp | yutakasi634/Mjolnir | ab7a29a47f994111e8b889311c44487463f02116 | [
"MIT"
] | 12 | 2017-02-01T08:28:38.000Z | 2018-08-25T15:47:51.000Z | test/core/test_read_steepest_descent_simulator.cpp | Mjolnir-MD/Mjolnir | 043df4080720837042c6b67a5495ecae198bc2b3 | [
"MIT"
] | 60 | 2019-01-14T08:11:33.000Z | 2021-07-29T08:26:36.000Z | test/core/test_read_steepest_descent_simulator.cpp | yutakasi634/Mjolnir | ab7a29a47f994111e8b889311c44487463f02116 | [
"MIT"
] | 8 | 2019-01-13T11:03:31.000Z | 2021-08-01T11:38:00.000Z | #define BOOST_TEST_MODULE "test_read_steepest_descent_simulator"
#ifdef BOOST_TEST_DYN_LINK
#include <boost/test/unit_test.hpp>
#else
#include <boost/test/included/unit_test.hpp>
#endif
#include <test/util/make_empty_input.hpp>
#include <mjolnir/input/read_simulator.hpp>
BOOST_AUTO_TEST_CASE(read_steepest_descent_sim... | 31.764706 | 91 | 0.618519 | yutakasi634 |
bdb64ea47a50e3e88ad6f73c4df9ed521282ae2b | 22,643 | cpp | C++ | qws/src/network/QUdpSocket_DhClass.cpp | keera-studios/hsQt | 8aa71a585cbec40005354d0ee43bce9794a55a9a | [
"BSD-2-Clause"
] | 42 | 2015-02-16T19:29:16.000Z | 2021-07-25T11:09:03.000Z | qws/src/network/QUdpSocket_DhClass.cpp | keera-studios/hsQt | 8aa71a585cbec40005354d0ee43bce9794a55a9a | [
"BSD-2-Clause"
] | 1 | 2017-11-23T12:49:25.000Z | 2017-11-23T12:49:25.000Z | qws/src/network/QUdpSocket_DhClass.cpp | keera-studios/hsQt | 8aa71a585cbec40005354d0ee43bce9794a55a9a | [
"BSD-2-Clause"
] | 5 | 2015-10-15T21:25:30.000Z | 2017-11-22T13:18:24.000Z | /////////////////////////////////////////////////////////////////////////////
//
// File : QUdpSocket_DhClass.cpp
// Copyright : (c) David Harley 2010
// Project : qtHaskell
// Version : 1.1.4
// Modified : 2010-09-02 17:01:56
//
// Warning : this file is machine ge... | 34.203927 | 228 | 0.709932 | keera-studios |
bdb7aefa3e950bf166eaedd7820f3081d7444e85 | 340 | cpp | C++ | src/configuration/is_last.cpp | Damdoshi/LibLapin | 800e0f17ed8f3c47797c48feea4c280bb0e4bdc9 | [
"BSD-3-Clause"
] | 38 | 2016-07-30T09:35:19.000Z | 2022-03-04T10:13:48.000Z | src/configuration/is_last.cpp | Elania-Marvers/LibLapin | 800e0f17ed8f3c47797c48feea4c280bb0e4bdc9 | [
"BSD-3-Clause"
] | 15 | 2017-02-12T19:20:52.000Z | 2021-06-09T09:30:52.000Z | src/configuration/is_last.cpp | Elania-Marvers/LibLapin | 800e0f17ed8f3c47797c48feea4c280bb0e4bdc9 | [
"BSD-3-Clause"
] | 12 | 2016-10-06T09:06:59.000Z | 2022-03-04T10:14:00.000Z | // Jason Brillante "Damdoshi"
// Hanged Bunny Studio 2014-2018
//
// Lapin library
#include "lapin_private.h"
bool bunny_configuration_is_last(t_bunny_configuration *cnf)
{
std::map<std::string, SmallConf*>::iterator it;
SmallConf *conf = (SmallConf*)cnf;
it = conf->father->iterator;
return (++it == conf... | 21.25 | 62 | 0.691176 | Damdoshi |
bdb9221391a7b30f333a66535c58bcde6c7905b3 | 819 | cpp | C++ | dijkstra.cpp | nmdis1999/Templates | 7c5a9d48581a72a55c73083b865187a81b743c21 | [
"MIT"
] | null | null | null | dijkstra.cpp | nmdis1999/Templates | 7c5a9d48581a72a55c73083b865187a81b743c21 | [
"MIT"
] | null | null | null | dijkstra.cpp | nmdis1999/Templates | 7c5a9d48581a72a55c73083b865187a81b743c21 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
const int INF = 2147483647;
const int MAX = 5005;
int D[MAX], N; // Keeps minimum distance to each node
vector<pair<int,int>> gr[MAX]; // Adjacency list
void dijkstra()
{
for(int i = 1; i <= N; i++) D[i] = INF;
D[1] = 0;
priority_queue<pair<int,int>,vector<p... | 22.75 | 81 | 0.483516 | nmdis1999 |
bdbece02fc48f977abe9e8e4eff1ddcbdfe69d3a | 7,572 | cpp | C++ | src/intel_hex.cpp | ciguard/p-star | 0be844f60d02cb67796d364d740d5fc53d8bc24e | [
"MIT"
] | null | null | null | src/intel_hex.cpp | ciguard/p-star | 0be844f60d02cb67796d364d740d5fc53d8bc24e | [
"MIT"
] | null | null | null | src/intel_hex.cpp | ciguard/p-star | 0be844f60d02cb67796d364d740d5fc53d8bc24e | [
"MIT"
] | null | null | null | /* intel_hex.cpp:
* Simple library for reading Intel hex (.ihx or .hex) files.
*/
#include "intel_hex.h"
#include <cassert>
#include <sstream>
#include <iomanip>
#include <algorithm>
#include <typeinfo>
#include <stdexcept>
using namespace IntelHex;
static int hexDigitValue(unsigned char c)
{
if (c >= 'a' && c... | 26.110345 | 91 | 0.565372 | ciguard |
bdc4f6fe98d276f00693320c8e7f891158bc9738 | 277 | cpp | C++ | vr/vr_rt/src/vr/version.cpp | vladium/vrt | 57394a630c306b7529dbe4574036ea71420d00cf | [
"MIT"
] | 4 | 2019-09-09T22:08:40.000Z | 2021-05-17T13:43:31.000Z | vr/vr_rt/src/vr/version.cpp | vladium/vrt | 57394a630c306b7529dbe4574036ea71420d00cf | [
"MIT"
] | null | null | null | vr/vr_rt/src/vr/version.cpp | vladium/vrt | 57394a630c306b7529dbe4574036ea71420d00cf | [
"MIT"
] | 1 | 2019-09-09T15:46:20.000Z | 2019-09-09T15:46:20.000Z |
#include "vr/version.h"
//----------------------------------------------------------------------------
char const * _ __attribute__((visibility ("internal"))) = "vr_version: " VR_BUILD_VERSION;
//----------------------------------------------------------------------------
| 30.777778 | 90 | 0.303249 | vladium |
bdca1028459ae995ab28e4221fead23c7457b109 | 5,353 | cpp | C++ | Cbc/Cbc/src/CbcGenMessages.cpp | fadi-alkhoury/coin-or-cbc-with-cmake | b4a216118d8e773b694b44c5f27cd75a251cc2cb | [
"MIT"
] | null | null | null | Cbc/Cbc/src/CbcGenMessages.cpp | fadi-alkhoury/coin-or-cbc-with-cmake | b4a216118d8e773b694b44c5f27cd75a251cc2cb | [
"MIT"
] | null | null | null | Cbc/Cbc/src/CbcGenMessages.cpp | fadi-alkhoury/coin-or-cbc-with-cmake | b4a216118d8e773b694b44c5f27cd75a251cc2cb | [
"MIT"
] | null | null | null | /*! \legal
Copyright (C) 2007
Lou Hafer, International Business Machines Corporation and others. All
Rights Reserved.
This code is licensed under the terms of the Eclipse Public License (EPL).
$Id: CbcGenMessages.cpp 2465 2019-01-03 19:26:52Z unxusr $
*/
/*
This file is part of cbc-generic.
*/
#include "... | 26.899497 | 83 | 0.69886 | fadi-alkhoury |
bdcc148d82494d888bd93f00a5a4d83b48bbd12f | 1,918 | hpp | C++ | multiview/multiview_cpp/src/perceive/cost-functions/tracklets/track.hpp | prcvlabs/multiview | 1a03e14855292967ffb0c0ec7fff855c5abbc9d2 | [
"Apache-2.0"
] | 5 | 2021-09-03T23:12:08.000Z | 2022-03-04T21:43:32.000Z | multiview/multiview_cpp/src/perceive/cost-functions/tracklets/track.hpp | prcvlabs/multiview | 1a03e14855292967ffb0c0ec7fff855c5abbc9d2 | [
"Apache-2.0"
] | 3 | 2021-09-08T02:57:46.000Z | 2022-02-26T05:33:02.000Z | multiview/multiview_cpp/src/perceive/cost-functions/tracklets/track.hpp | prcvlabs/multiview | 1a03e14855292967ffb0c0ec7fff855c5abbc9d2 | [
"Apache-2.0"
] | 2 | 2021-09-26T03:14:40.000Z | 2022-01-26T06:42:52.000Z |
#pragma once
#include "track-point.hpp"
#include "perceive/geometry/line-1d.hpp"
namespace perceive
{
struct TrackFalsePositiveInfo
{
float prob_fp_p = fNAN;
float dist_p = fNAN;
float lab_p = fNAN;
float duration_p = fNAN;
float score = fNAN;
bool is_true_p... | 28.205882 | 72 | 0.655892 | prcvlabs |
bdcc3e895626c1d323cdb5457068c885fe86badb | 4,411 | cpp | C++ | server/core/TaskManager.cpp | hotgloupi/zhttpd | 0437ac2e34dde89abab26665df9cbee1777f1d44 | [
"BSD-3-Clause"
] | 2 | 2015-01-29T17:23:23.000Z | 2015-09-21T17:45:22.000Z | server/core/TaskManager.cpp | hotgloupi/zhttpd | 0437ac2e34dde89abab26665df9cbee1777f1d44 | [
"BSD-3-Clause"
] | null | null | null | server/core/TaskManager.cpp | hotgloupi/zhttpd | 0437ac2e34dde89abab26665df9cbee1777f1d44 | [
"BSD-3-Clause"
] | null | null | null |
#include "utils/Timer.hpp"
#include "utils/Logger.hpp"
#include "utils/SmartPtr.hpp"
#include "utils/macros.hpp"
#include "ModuleTask.hpp"
#include "TaskManager.hpp"
#include "ServerState.hpp"
#include "RequestManager.hpp"
#include "SessionManager.hpp"
using namespace zhttpd;
TaskManager::TaskManager() : _thread_po... | 29.804054 | 105 | 0.6146 | hotgloupi |
bdd2e937705624ee8a8384a7be827c849f56c84c | 3,469 | cpp | C++ | c++/algorithms_&_data_structure/binary_search/main.cpp | AAS-WT/Linux | 994e50439e5ff83858ec33ba2398935df26bcb39 | [
"MIT"
] | null | null | null | c++/algorithms_&_data_structure/binary_search/main.cpp | AAS-WT/Linux | 994e50439e5ff83858ec33ba2398935df26bcb39 | [
"MIT"
] | null | null | null | c++/algorithms_&_data_structure/binary_search/main.cpp | AAS-WT/Linux | 994e50439e5ff83858ec33ba2398935df26bcb39 | [
"MIT"
] | null | null | null | #include <algorithm>
#include <iostream>
void SortingChoice(int *pArray, unsigned int ArraySize);
int *BinarySearch_1(int *pArray, unsigned int ArraySize, int SearchValue);
int BinarySearch_2(int *pArray, unsigned int ArraySize, int SearchValue);
int main(int argc, char *argv[]) {
unsigned int ArraySize;
std::co... | 33.355769 | 78 | 0.631306 | AAS-WT |
bdd50f4b5c287e55900fe6ed10c3da007bbe85da | 5,480 | hpp | C++ | misc/debug.hpp | prince776/CodeBook | 874fc7f94011ad1d25a55bcd91fecd2a11eb5a9b | [
"CC0-1.0"
] | 17 | 2021-01-25T12:07:17.000Z | 2022-02-26T17:20:31.000Z | misc/debug.hpp | NavneelSinghal/CodeBook | ff60ace9107dd19ef8ba81e175003f567d2a9070 | [
"CC0-1.0"
] | null | null | null | misc/debug.hpp | NavneelSinghal/CodeBook | ff60ace9107dd19ef8ba81e175003f567d2a9070 | [
"CC0-1.0"
] | 4 | 2021-02-28T11:13:44.000Z | 2021-11-20T12:56:20.000Z | #include <algorithm>
#include <iostream>
#include <iterator>
#include <sstream>
#include <string>
#include <tuple>
#include <type_traits>
#include <utility>
#include <vector>
namespace Debug {
// clang-format off
#define DEBUG_RED "\x1B[0m\x1B[31m"
#define DEBUG_GREEN "\x1B[0m\x1B[32m"
#define... | 33.82716 | 80 | 0.535219 | prince776 |
75247dbd467598f7f9ff50adf8f41ca97ec5676b | 14,377 | cpp | C++ | pafmask.cpp | glennhickey/mzgaf2paf | 06eaa932bf44c7017b4c56775af9dbf801fb3405 | [
"MIT"
] | null | null | null | pafmask.cpp | glennhickey/mzgaf2paf | 06eaa932bf44c7017b4c56775af9dbf801fb3405 | [
"MIT"
] | 2 | 2021-07-23T14:46:48.000Z | 2022-03-24T12:47:19.000Z | pafmask.cpp | glennhickey/mzgaf2paf | 06eaa932bf44c7017b4c56775af9dbf801fb3405 | [
"MIT"
] | null | null | null | #include "pafmask.hpp"
unordered_map<string, CoverageIntervalTree> load_bed(istream& bed_stream, int64_t padding) {
// load bed
unordered_map<string, vector<CoverageInterval>> intervals;
string buffer;
while (getline(bed_stream, buffer)) {
vector<string> toks;
split_delims(buffer, "\t\n... | 38.441176 | 153 | 0.575085 | glennhickey |
7524f71ce73d2a2a200f0c1c43754493694e75c6 | 29 | hpp | C++ | src/boost_vmd_vmd.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 10 | 2018-03-17T00:58:42.000Z | 2021-07-06T02:48:49.000Z | src/boost_vmd_vmd.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 2 | 2021-03-26T15:17:35.000Z | 2021-05-20T23:55:08.000Z | src/boost_vmd_vmd.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 4 | 2019-05-28T21:06:37.000Z | 2021-07-06T03:06:52.000Z | #include <boost/vmd/vmd.hpp>
| 14.5 | 28 | 0.724138 | miathedev |
7525307ddd4a9120e4bd21dc47ded3b330a2598f | 4,656 | cxx | C++ | llvm/libtooling/readability-avoid-auto.cxx | vmiklos/vmexam | ff4ef386d3cfd84b8ed06387cbd87b119dd50448 | [
"MIT"
] | 1 | 2015-02-09T10:21:51.000Z | 2015-02-09T10:21:51.000Z | llvm/libtooling/readability-avoid-auto.cxx | vmiklos/vmexam | ff4ef386d3cfd84b8ed06387cbd87b119dd50448 | [
"MIT"
] | null | null | null | llvm/libtooling/readability-avoid-auto.cxx | vmiklos/vmexam | ff4ef386d3cfd84b8ed06387cbd87b119dd50448 | [
"MIT"
] | null | null | null | #include <iostream>
#include <clang/ASTMatchers/ASTMatchFinder.h>
#include <clang/ASTMatchers/ASTMatchers.h>
#include <clang/Frontend/FrontendActions.h>
#include <clang/Tooling/CommonOptionsParser.h>
#include <clang/Tooling/Refactoring.h>
#include <clang/Tooling/ReplacementsYaml.h>
#include <llvm/Support/Signals.h>
#i... | 36.952381 | 80 | 0.602878 | vmiklos |
752a49d9ebc8a22b592323e349d672f723d1784b | 9,389 | cpp | C++ | ProgramUI.fld/ProgramUI.cpp | depaulo/OrganizerCpp | 9847cb2d117bd493e127fb499bdbf9112cf388b1 | [
"MIT"
] | null | null | null | ProgramUI.fld/ProgramUI.cpp | depaulo/OrganizerCpp | 9847cb2d117bd493e127fb499bdbf9112cf388b1 | [
"MIT"
] | null | null | null | ProgramUI.fld/ProgramUI.cpp | depaulo/OrganizerCpp | 9847cb2d117bd493e127fb499bdbf9112cf388b1 | [
"MIT"
] | null | null | null | // generated by Fast Light User Interface Designer (fluid) version 1.0305
#include "ProgramUI.h"
Fl_Menu_Item MainWindow::menu_[] = {
{"Manage account", 0, 0, 0, 64, (uchar)FL_NORMAL_LABEL, 0, 15, 0},
{"Create account", 0, (Fl_Callback*)CreateAcc_cb, 0, 0, (uchar)FL_NORMAL_LABEL, 0, 13, 0},
{"Save", 0, (Fl_Call... | 37.110672 | 99 | 0.626478 | depaulo |
752cf616666cc4a2985e357281b37b61d3eb4bb8 | 1,039 | cpp | C++ | codes/chap05/code_5_8.cpp | tokuhira/book_algorithm_solution | a24b68c5ef57a88e906991bbaf026bf17b5faab9 | [
"CC0-1.0"
] | null | null | null | codes/chap05/code_5_8.cpp | tokuhira/book_algorithm_solution | a24b68c5ef57a88e906991bbaf026bf17b5faab9 | [
"CC0-1.0"
] | null | null | null | codes/chap05/code_5_8.cpp | tokuhira/book_algorithm_solution | a24b68c5ef57a88e906991bbaf026bf17b5faab9 | [
"CC0-1.0"
] | null | null | null | #include <iostream>
#include <string>
#include <vector>
using namespace std;
template<class T> void chmin(T& a, T b) {
if (a > b) {
a = b;
}
}
const int INF = 1 << 29; // 十分大きな値 (ここでは 2^29 とする)
int main() {
// 入力
string S, T;
cin >> S >> T;
// DP テーブル定義
vector<vector<int>> dp... | 21.204082 | 73 | 0.348412 | tokuhira |
752d5a6b7539b8ad641826b062f1c4cf4b0b3faa | 5,014 | cpp | C++ | src/ColorConverterLib.cpp | luisllamasbinaburo/Arduino-RGBConverter | a6c0fc27218b23c0fb31bf55bd41afb2f075a19f | [
"Apache-2.0"
] | 9 | 2018-07-01T13:24:05.000Z | 2022-02-17T00:30:58.000Z | src/ColorConverterLib.cpp | luisllamasbinaburo/Arduino-RGBConverter | a6c0fc27218b23c0fb31bf55bd41afb2f075a19f | [
"Apache-2.0"
] | 4 | 2018-06-04T21:34:43.000Z | 2021-06-06T23:50:39.000Z | src/ColorConverterLib.cpp | luisllamasbinaburo/Arduino-RGBConverter | a6c0fc27218b23c0fb31bf55bd41afb2f075a19f | [
"Apache-2.0"
] | 4 | 2019-11-14T19:27:41.000Z | 2022-02-17T00:31:01.000Z | /***************************************************
Copyright (c) 2017 Luis Llamas
(www.luisllamas.es)
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... | 24.945274 | 305 | 0.566813 | luisllamasbinaburo |
7530cdf008f9096bc41d14ef02852a74f1a7cf7e | 2,800 | cc | C++ | tensorflow/compiler/mlir/lite/quantization/lite/tfl_quantizer.cc | joshz123/tensorflow | 7841ca029060ab78e221e757d4b1ee6e3e0ffaa4 | [
"Apache-2.0"
] | 4 | 2020-04-19T11:30:20.000Z | 2020-07-02T07:13:15.000Z | tensorflow/compiler/mlir/lite/quantization/lite/tfl_quantizer.cc | joshz123/tensorflow | 7841ca029060ab78e221e757d4b1ee6e3e0ffaa4 | [
"Apache-2.0"
] | 8 | 2019-03-13T23:13:47.000Z | 2020-01-31T21:08:21.000Z | tensorflow/compiler/mlir/lite/quantization/lite/tfl_quantizer.cc | joshz123/tensorflow | 7841ca029060ab78e221e757d4b1ee6e3e0ffaa4 | [
"Apache-2.0"
] | 3 | 2019-04-01T09:22:18.000Z | 2019-06-21T06:47:12.000Z | /* Copyright 2019 The TensorFlow 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 a... | 35.443038 | 80 | 0.661786 | joshz123 |
753182ff505e2e927c9ff2195981d9f240b11b6e | 2,747 | cpp | C++ | simplemd/configurations/MoleculeConfiguration.cpp | HSU-HPC/MaMiCo | d6f8597bd41ac3a5d3929c5eb4f7ecbc1b80e2ee | [
"BSD-4-Clause"
] | 6 | 2021-02-06T17:21:10.000Z | 2022-01-27T21:36:55.000Z | simplemd/configurations/MoleculeConfiguration.cpp | HSU-HPC/MaMiCo | d6f8597bd41ac3a5d3929c5eb4f7ecbc1b80e2ee | [
"BSD-4-Clause"
] | 1 | 2021-06-24T15:17:46.000Z | 2021-06-25T11:54:52.000Z | simplemd/configurations/MoleculeConfiguration.cpp | HSU-HPC/MaMiCo | d6f8597bd41ac3a5d3929c5eb4f7ecbc1b80e2ee | [
"BSD-4-Clause"
] | 6 | 2021-12-16T11:39:24.000Z | 2022-03-28T07:00:30.000Z | // Copyright (C) 2015 Technische Universitaet Muenchen
// This file is part of the Mamico project. For conditions of distribution
// and use, please see the copyright notice in Mamico's main folder, or at
// www5.in.tum.de/mamico
#include "simplemd/configurations/MoleculeConfiguration.h"
#include "tarch/configuration/... | 35.675325 | 104 | 0.713506 | HSU-HPC |
75323464428f84ff8cebc3b1049684733a9aec29 | 4,453 | cpp | C++ | scripting/test/Coding/CodingTest.cpp | hhsaez/crimild | e3efee09489939338df55e8af9a1f9ddc01301f7 | [
"BSD-3-Clause"
] | 36 | 2015-03-12T10:42:36.000Z | 2022-01-12T04:20:40.000Z | scripting/test/Coding/CodingTest.cpp | hhsaez/crimild | e3efee09489939338df55e8af9a1f9ddc01301f7 | [
"BSD-3-Clause"
] | 1 | 2015-12-17T00:25:43.000Z | 2016-02-20T12:00:57.000Z | scripting/test/Coding/CodingTest.cpp | hhsaez/crimild | e3efee09489939338df55e8af9a1f9ddc01301f7 | [
"BSD-3-Clause"
] | 6 | 2017-06-17T07:57:53.000Z | 2019-04-09T21:11:24.000Z | /*
* Copyright (c) 2013, Hernan Saez
* 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
* notice, this list of con... | 39.40708 | 94 | 0.666742 | hhsaez |
7532515a64d3e5ddc6636754a7758c2b5f7aa028 | 1,938 | cpp | C++ | src/Block.cpp | rvillegasm/blocky | ca12c4ca7197b7d03d7f360003c4bc1b87890391 | [
"MIT"
] | null | null | null | src/Block.cpp | rvillegasm/blocky | ca12c4ca7197b7d03d7f360003c4bc1b87890391 | [
"MIT"
] | null | null | null | src/Block.cpp | rvillegasm/blocky | ca12c4ca7197b7d03d7f360003c4bc1b87890391 | [
"MIT"
] | null | null | null | #include "Block.hpp"
#include <sstream>
#include <algorithm>
namespace blocky
{
Block::Block()
{
calculateHash(m_hash);
}
Block::Block(
std::chrono::time_point<std::chrono::system_clock> timestamp,
std::vector<std::unique_ptr<Transaction>> transactions,
const std::ar... | 25.84 | 112 | 0.566047 | rvillegasm |
753d41de299f72c849f912ea5ebee821f3ac6529 | 785 | cpp | C++ | src/LedDisplay.cpp | JorgeMaker/GRBLPedant | 3f61c9ed0098293fec473ac6fae1aaff9d018df6 | [
"MIT"
] | 2 | 2021-05-04T02:27:44.000Z | 2021-05-05T02:35:14.000Z | src/LedDisplay.cpp | JorgeMaker/GRBLPedant | 3f61c9ed0098293fec473ac6fae1aaff9d018df6 | [
"MIT"
] | 1 | 2022-03-09T07:51:36.000Z | 2022-03-09T07:51:36.000Z | src/LedDisplay.cpp | JorgeMaker/GRBLPedant | 3f61c9ed0098293fec473ac6fae1aaff9d018df6 | [
"MIT"
] | 2 | 2021-05-05T02:35:17.000Z | 2021-08-09T02:00:33.000Z | #include "Definitions.h"
#include <Arduino.h>
/***************************
* Led Display
* *************************/
LedDisplay::LedDisplay(uint8_t xPIN, uint8_t yPIN, uint8_t zPIN) {
ledXPIN = xPIN;
ledYPIN = yPIN;
ledZPIN = zPIN;
pinMode(ledXPIN, OUTPUT);
pinMode(ledYPIN, OUTPUT);
pinMode(... | 22.428571 | 66 | 0.620382 | JorgeMaker |
7541490b64a6cf68377a93f033b9d87b0eca4f84 | 3,617 | cpp | C++ | minecraft/minecraft/src/window/window.cpp | llGuy/gamedev | 16aa203934fd767926c58558e021630288556399 | [
"MIT"
] | null | null | null | minecraft/minecraft/src/window/window.cpp | llGuy/gamedev | 16aa203934fd767926c58558e021630288556399 | [
"MIT"
] | 4 | 2018-12-24T11:16:53.000Z | 2018-12-24T11:20:29.000Z | minecraft/minecraft/src/window/window.cpp | llGuy/gamedev | 16aa203934fd767926c58558e021630288556399 | [
"MIT"
] | null | null | null | #include <GL/glew.h>
#include <GLFW/glfw3.h>
#include <chrono>
#include <thread>
#include "callbacks/callbacks.h"
#include "window.h"
#include "../log.h"
Window::Window(uint32_t width, uint32_t height, const char* title)
: m_width(width), m_height(height), m_title(title), m_engine()
{
// all initializat... | 28.936 | 112 | 0.72104 | llGuy |
75484ebc1ed242de5c782412ddecd5e3212bd5d6 | 35,103 | cpp | C++ | src/sedml/SedDataDescription.cpp | AMDmi3/libSEDML | a59c87df9298c8d72b199531f96b531bf4b4d9bb | [
"BSD-2-Clause"
] | 7 | 2016-01-12T03:53:45.000Z | 2019-10-17T21:23:37.000Z | src/sedml/SedDataDescription.cpp | AMDmi3/libSEDML | a59c87df9298c8d72b199531f96b531bf4b4d9bb | [
"BSD-2-Clause"
] | 138 | 2015-05-29T19:18:34.000Z | 2022-03-07T08:32:44.000Z | src/sedml/SedDataDescription.cpp | AMDmi3/libSEDML | a59c87df9298c8d72b199531f96b531bf4b4d9bb | [
"BSD-2-Clause"
] | 12 | 2015-02-24T23:37:26.000Z | 2021-11-02T17:11:27.000Z | /**
* @file SedDataDescription.cpp
* @brief Implementation of the SedDataDescription class.
* @author DEVISER
*
* <!--------------------------------------------------------------------------
* This file is part of libSEDML. Please visit http://sed-ml.org for more
* information about SED-ML. The latest version of... | 20.16255 | 104 | 0.700766 | AMDmi3 |
75496c98f4152f5d98503b0bece1d4cd2217c2aa | 699 | hpp | C++ | neovm_cpp/include/vmimpl/crypto.hpp | zoowii/neo-vm-cpp | 8debcc334e5b3c6afceef0bfb0ff300e0989d0a7 | [
"MIT"
] | null | null | null | neovm_cpp/include/vmimpl/crypto.hpp | zoowii/neo-vm-cpp | 8debcc334e5b3c6afceef0bfb0ff300e0989d0a7 | [
"MIT"
] | null | null | null | neovm_cpp/include/vmimpl/crypto.hpp | zoowii/neo-vm-cpp | 8debcc334e5b3c6afceef0bfb0ff300e0989d0a7 | [
"MIT"
] | null | null | null | #ifndef NEOVM_CRYPTO_HPP
#define NEOVM_CRYPTO_HPP
#include "neovm/icrypto.hpp"
namespace neo
{
namespace vm
{
namespace impl
{
class DemoCrypto : public ICrypto
{
public:
virtual std::vector<char> Hash160(std::vector<char> message)
{
std::vector<char> data(10);
memcpy(data.data(), "has... | 18.394737 | 114 | 0.629471 | zoowii |
754af97f2f81ebb524750f1395e4090d3e228534 | 1,246 | cpp | C++ | 3-Stacks-And-Queues/StackMin.cpp | sonugiri1043/Cracking-The-Coding-Interview | 102cdbc3199d04ab89f5d6894f0489fde352b0d7 | [
"MIT"
] | 8 | 2020-05-17T13:48:19.000Z | 2022-02-20T06:42:38.000Z | 3-Stacks-And-Queues/StackMin.cpp | sonugiri1043/Cracking-The-Coding-Interview | 102cdbc3199d04ab89f5d6894f0489fde352b0d7 | [
"MIT"
] | null | null | null | 3-Stacks-And-Queues/StackMin.cpp | sonugiri1043/Cracking-The-Coding-Interview | 102cdbc3199d04ab89f5d6894f0489fde352b0d7 | [
"MIT"
] | 6 | 2021-04-09T21:34:15.000Z | 2021-12-13T05:40:42.000Z |
/*
How would you design a stack which, in addition to push and pop, has a function min
which returns the minimum element? Push, pop and min should all operate in 0(1) time.
*/
#include <iostream>
#include <stack>
using namespace std;
class Node{
private:
int data_;
int min_;
public:
Node( int _data ) : d... | 19.777778 | 87 | 0.535313 | sonugiri1043 |
754bc528e22224f92c2c6cd6536fbc7f5ea56c6d | 948 | cpp | C++ | core/src/misc/QRCodeDataCall.cpp | azuki-monster/megamol | f5d75ae5630f9a71a7fbf81624bfd4f6b253c655 | [
"BSD-3-Clause"
] | 2 | 2020-10-16T10:15:37.000Z | 2021-01-21T13:06:00.000Z | core/src/misc/QRCodeDataCall.cpp | azuki-monster/megamol | f5d75ae5630f9a71a7fbf81624bfd4f6b253c655 | [
"BSD-3-Clause"
] | null | null | null | core/src/misc/QRCodeDataCall.cpp | azuki-monster/megamol | f5d75ae5630f9a71a7fbf81624bfd4f6b253c655 | [
"BSD-3-Clause"
] | 1 | 2021-01-28T01:19:54.000Z | 2021-01-28T01:19:54.000Z | #include "stdafx.h"
#include "mmcore/misc/QRCodeDataCall.h"
using namespace megamol::core;
/*
* QRCodeDataCall::CallForGetText
*/
const unsigned int misc::QRCodeDataCall::CallForGetText = 0;
/*
* QRCodeDataCall::CallForSetText
*/
const unsigned int misc::QRCodeDataCall::CallForSetText = 1;
/*
* QRCodeDataCall... | 19.346939 | 88 | 0.75 | azuki-monster |
754bc6dceb78fe15bab3cb3861497f90e422ef04 | 1,907 | cpp | C++ | EmyRenderingEngine/src/Asset/AssetManager.cpp | TheJemy191/EmyGameEngine | cbefe9bc8e59533e4de96623a5916835846af8cd | [
"MIT"
] | null | null | null | EmyRenderingEngine/src/Asset/AssetManager.cpp | TheJemy191/EmyGameEngine | cbefe9bc8e59533e4de96623a5916835846af8cd | [
"MIT"
] | null | null | null | EmyRenderingEngine/src/Asset/AssetManager.cpp | TheJemy191/EmyGameEngine | cbefe9bc8e59533e4de96623a5916835846af8cd | [
"MIT"
] | 1 | 2019-09-03T16:49:50.000Z | 2019-09-03T16:49:50.000Z | #include "AssetManager.h"
#include "Helper/Log.h"
#include "Rendering/UI/ImguiBase.h"
#include "Asset/MeshAsset.h"
#include <filesystem>
#include "Game/Setting.h"
uint64_t AssetManager::IDCounter = 0;
std::unordered_map<uint64_t, std::shared_ptr<Asset>> AssetManager::assetList;
bool AssetManager::assetManagerWindowO... | 20.728261 | 113 | 0.668589 | TheJemy191 |
754d1ec823881a47c3f1c93135948e76929f1333 | 15,416 | cpp | C++ | MNE/disp3D/3DObjects/brain/brainsurfacetreeitem.cpp | yvnxs/mne-cpp | 29c90a86f49c843b5f0ca8f9180cb38e0e774176 | [
"BSD-3-Clause"
] | 1 | 2021-05-18T08:33:44.000Z | 2021-05-18T08:33:44.000Z | MNE/disp3D/3DObjects/brain/brainsurfacetreeitem.cpp | yvnxs/mne-cpp | 29c90a86f49c843b5f0ca8f9180cb38e0e774176 | [
"BSD-3-Clause"
] | null | null | null | MNE/disp3D/3DObjects/brain/brainsurfacetreeitem.cpp | yvnxs/mne-cpp | 29c90a86f49c843b5f0ca8f9180cb38e0e774176 | [
"BSD-3-Clause"
] | null | null | null | //=============================================================================================================
/**
* @file brainsurfacetreeitem.cpp
* @author Lorenz Esch <Lorenz.Esch@tu-ilmenau.de>;
* Matti Hamalainen <msh@nmr.mgh.harvard.edu>
* @version 1.0
* @date November, 2015
*
* @section LI... | 43.425352 | 184 | 0.614686 | yvnxs |
755097ac4b94cf9e900d33b0ea431a14bfa3c2f2 | 5,575 | cpp | C++ | main.cpp | baskeboler/restdbxx | 2723c61e154f732e7a0ec114a9654561ee22d467 | [
"MIT"
] | 6 | 2017-12-16T14:02:51.000Z | 2020-02-24T22:09:42.000Z | main.cpp | baskeboler/restdbxx | 2723c61e154f732e7a0ec114a9654561ee22d467 | [
"MIT"
] | null | null | null | main.cpp | baskeboler/restdbxx | 2723c61e154f732e7a0ec114a9654561ee22d467 | [
"MIT"
] | 5 | 2018-05-18T18:57:48.000Z | 2022-03-01T16:49:28.000Z | #include <unistd.h>
#include <string>
#include <iostream>
#include <folly/init/Init.h>
#include <gflags/gflags.h>
#include <glog/logging.h>
#include <folly/io/async/EventBaseManager.h>
#include <proxygen/httpserver/HTTPServer.h>
#include <folly/executors/GlobalExecutor.h>
#include <folly/executors/CPUThreadPoolExecuto... | 36.677632 | 114 | 0.717848 | baskeboler |
755325a7f59251c0c8307c08ad3ff807f406c0c5 | 909 | hh | C++ | telecommunications-systems/click_modular_router_lessons/examples/echo/v5/elements/echoinfobase.hh | arminnh/Telecom-Distr.Systems-Project | 4e48ff908a98bb4403d3b4e373ea478abd176450 | [
"MIT"
] | 1 | 2022-03-11T08:32:48.000Z | 2022-03-11T08:32:48.000Z | telecommunications-systems/click_modular_router_lessons/examples/echo/v5/elements/echoinfobase.hh | arminnh/ba3-chat-app-apache-avro-with-rsvp | 4e48ff908a98bb4403d3b4e373ea478abd176450 | [
"MIT"
] | null | null | null | telecommunications-systems/click_modular_router_lessons/examples/echo/v5/elements/echoinfobase.hh | arminnh/ba3-chat-app-apache-avro-with-rsvp | 4e48ff908a98bb4403d3b4e373ea478abd176450 | [
"MIT"
] | null | null | null | #ifndef CLICK_ECHOINFOBASE_HH
#define CLICK_ECHOINFOBASE_HH
#include <click/element.hh>
#include <click/vector.hh>
#include <click/timer.hh>
CLICK_DECLS
struct RequestData {
IPAddress destinationIP;
uint16_t sourcePort;
unsigned int counter;
Timestamp expirationTime;
};
typedef Vector<RequestData> RequestVector;
... | 22.725 | 74 | 0.749175 | arminnh |
7556dee6ce519bb584b351a187fb2a86872ec83d | 1,765 | cpp | C++ | src/perf/dataperf.cpp | arntanguy/libqi | 7f3e1394cb26126b26fa7ff54d2de1371a1c9f96 | [
"BSD-3-Clause"
] | 61 | 2015-01-08T08:05:28.000Z | 2022-01-07T16:47:47.000Z | src/perf/dataperf.cpp | arntanguy/libqi | 7f3e1394cb26126b26fa7ff54d2de1371a1c9f96 | [
"BSD-3-Clause"
] | 30 | 2015-04-06T21:41:18.000Z | 2021-08-18T13:24:51.000Z | src/perf/dataperf.cpp | arntanguy/libqi | 7f3e1394cb26126b26fa7ff54d2de1371a1c9f96 | [
"BSD-3-Clause"
] | 64 | 2015-02-23T20:01:11.000Z | 2022-03-14T13:31:20.000Z | /*
** Author(s):
** - Nicolas Cornu <ncornu@aldebaran-robotics.com>
**
** Copyright (C) 2012-2013 Aldebaran Robotics
*/
#include "dataperf_p.hpp"
namespace qi
{
DataPerfPrivate::DataPerfPrivate()
: benchmarkName(""), wallClockElapsed(0), cpuElapsed(0), fLoopCount(0), fMsgSize(0), variable("")
{ }
DataPerf:... | 22.341772 | 133 | 0.646459 | arntanguy |
755b1fc43f7190141b409820bdf18cbf6ec8904d | 3,488 | hpp | C++ | CF++/include/CF++/CFPP-Error.hpp | macmade/CFPP | e924ca7d33103ab2cf86de292141bdd9d2aa1e4c | [
"MIT"
] | 49 | 2015-02-16T23:04:38.000Z | 2022-03-24T13:08:54.000Z | CF++/include/CF++/CFPP-Error.hpp | DigiDNA/CFPP | e093a7ff8e8f1402aac81f2c5f7dde2a529c2805 | [
"MIT"
] | 34 | 2015-04-16T18:52:39.000Z | 2021-09-08T13:56:51.000Z | CF++/include/CF++/CFPP-Error.hpp | macmade/CFPP | e924ca7d33103ab2cf86de292141bdd9d2aa1e4c | [
"MIT"
] | 13 | 2015-04-15T07:13:13.000Z | 2022-03-24T13:08:58.000Z | /*******************************************************************************
* The MIT License (MIT)
*
* Copyright (c) 2014 Jean-David Gadina - www.xs-labs.com / www.digidna.net
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation f... | 42.024096 | 93 | 0.59117 | macmade |
755cc05208f8724488df609b01c234a137674592 | 10,191 | cpp | C++ | 3rdParty/oculus/Samples/OculusRoomTiny/Win32_RoomTiny_Main.cpp | Internet-of-People/ApertusVR | 3bb954ef02beb8a5a54ac7c062a55b7a0cf402bf | [
"MIT"
] | null | null | null | 3rdParty/oculus/Samples/OculusRoomTiny/Win32_RoomTiny_Main.cpp | Internet-of-People/ApertusVR | 3bb954ef02beb8a5a54ac7c062a55b7a0cf402bf | [
"MIT"
] | null | null | null | 3rdParty/oculus/Samples/OculusRoomTiny/Win32_RoomTiny_Main.cpp | Internet-of-People/ApertusVR | 3bb954ef02beb8a5a54ac7c062a55b7a0cf402bf | [
"MIT"
] | null | null | null | /************************************************************************************
Filename : Win32_RoomTiny_Main.cpp
Content : First-person view test application for Oculus Rift
Created : October 4, 2012
Authors : Tom Heath, Michael Antonov, Andrew Reisse, Volga Aksoy
Copyright : Copyrigh... | 48.070755 | 114 | 0.619272 | Internet-of-People |
756bd42b2b6d39ce41f140c7984188e52775bf54 | 12,120 | cpp | C++ | modules/skottie/src/effects/LevelsEffect.cpp | muhleder/skia | a368ea077550d7b3c5607d616ff5fdfbd67eca0e | [
"BSD-3-Clause"
] | 19 | 2018-05-28T15:21:28.000Z | 2022-03-13T09:00:08.000Z | modules/skottie/src/effects/LevelsEffect.cpp | muhleder/skia | a368ea077550d7b3c5607d616ff5fdfbd67eca0e | [
"BSD-3-Clause"
] | 3 | 2017-04-28T13:58:09.000Z | 2020-09-03T09:23:39.000Z | modules/skottie/src/effects/LevelsEffect.cpp | muhleder/skia | a368ea077550d7b3c5607d616ff5fdfbd67eca0e | [
"BSD-3-Clause"
] | 10 | 2017-08-04T08:46:49.000Z | 2021-12-27T03:41:41.000Z | /*
* Copyright 2019 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "modules/skottie/src/effects/Effects.h"
#include "include/effects/SkTableColorFilter.h"
#include "modules/skottie/src/Adapter.h"
#include "modules/skottie/src/Skotti... | 38.971061 | 100 | 0.525 | muhleder |
756ee85ac8d78795348431f6872c6a274845749f | 5,643 | hxx | C++ | code/LibUtilsQt/ProjectionParameters.hxx | mareikethies/EpipolarConsistency | 63d7ca2fd705911a6c93ca4247486fc66a9d31c7 | [
"Apache-2.0"
] | 2 | 2020-03-21T16:33:51.000Z | 2021-09-12T03:03:00.000Z | code/LibUtilsQt/ProjectionParameters.hxx | mareikethies/EpipolarConsistency | 63d7ca2fd705911a6c93ca4247486fc66a9d31c7 | [
"Apache-2.0"
] | 1 | 2018-06-14T07:48:55.000Z | 2018-06-14T07:48:55.000Z | code/LibUtilsQt/ProjectionParameters.hxx | mareikethies/EpipolarConsistency | 63d7ca2fd705911a6c93ca4247486fc66a9d31c7 | [
"Apache-2.0"
] | 6 | 2018-05-15T21:38:35.000Z | 2022-01-06T07:20:47.000Z | #ifndef __projection_parameters_hxx
#define __projection_parameters_hxx
#include <GetSet/GetSetObjects.h>
#include <LibProjectiveGeometry/CameraOpenGL.hxx>
namespace UtilsQt {
/// A user-defined ProjectionMatrix, which can be changed by mouse interaction
struct ProjectionParameters : public GetSetGui::Configurable... | 41.8 | 190 | 0.658692 | mareikethies |
7570f294be2db5bed0910b28c8c5735566b21321 | 1,304 | cpp | C++ | code/source/PauseState.cpp | Pridexs/projectM | a189c543763f1eff8fa0dcfda6162e3c5b8faf00 | [
"MIT"
] | null | null | null | code/source/PauseState.cpp | Pridexs/projectM | a189c543763f1eff8fa0dcfda6162e3c5b8faf00 | [
"MIT"
] | null | null | null | code/source/PauseState.cpp | Pridexs/projectM | a189c543763f1eff8fa0dcfda6162e3c5b8faf00 | [
"MIT"
] | null | null | null | /*
* This code is from projectM a 2D side scroller using SFML.
* It was made using the help of the SFML Game Development Book
*
* If you have any questions, please contact me at
* pridexs.com
*
* For more information visit the repo for this project at:
* github.com/pridexs
*
* Alexandre Maros -... | 23.709091 | 75 | 0.636503 | Pridexs |
75782cad9f69f7ad7013bcf69dde118dbab6d0be | 3,493 | cc | C++ | resonance_audio/utils/lockless_task_queue.cc | seba10000/resonance-audio | e1923fe6fe733ae4d3c8460ff883c87e2ad05d6b | [
"Apache-2.0"
] | 8 | 2020-10-04T22:32:40.000Z | 2021-11-15T05:17:00.000Z | resonance_audio/utils/lockless_task_queue.cc | seba10000/resonance-audio | e1923fe6fe733ae4d3c8460ff883c87e2ad05d6b | [
"Apache-2.0"
] | null | null | null | resonance_audio/utils/lockless_task_queue.cc | seba10000/resonance-audio | e1923fe6fe733ae4d3c8460ff883c87e2ad05d6b | [
"Apache-2.0"
] | 1 | 2022-02-11T20:00:58.000Z | 2022-02-11T20:00:58.000Z | /*
Copyright 2018 Google Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in ... | 29.352941 | 79 | 0.708846 | seba10000 |
757936eedd2c555cb8a8476e20c56f829d58cbd3 | 2,731 | hpp | C++ | ProjectMajestic/App.Impl.hpp | Edgaru089/ProjectMajestic | 16cda6f86fd5ad02baedc9481609d6140cdda62a | [
"MIT"
] | 1 | 2018-08-29T06:36:23.000Z | 2018-08-29T06:36:23.000Z | ProjectMajestic/App.Impl.hpp | Edgaru089/ProjectMajestic | 16cda6f86fd5ad02baedc9481609d6140cdda62a | [
"MIT"
] | null | null | null | ProjectMajestic/App.Impl.hpp | Edgaru089/ProjectMajestic | 16cda6f86fd5ad02baedc9481609d6140cdda62a | [
"MIT"
] | null | null | null |
#include "App.hpp"
#include "LogSystem.hpp"
#include "Scene.hpp"
#include "GameScene.hpp"
#include "TestScene.hpp"
#include "IO.hpp"
#include "TextSystem.hpp"
////////////////////////////////////////
void App::initalaizePreWindow() {
Uuid::seed(random_device()());
sceneMapper["GameScene"] = new GameScene();
... | 21.335938 | 77 | 0.565361 | Edgaru089 |
7579af03644f352a181da3c58d3d992736bccbdc | 7,922 | cpp | C++ | test/combine/pubsub_2d_test.cpp | llamerada-jp/colonio | 8594d3131249eda59980faa281c353988469481a | [
"Apache-2.0"
] | 5 | 2021-12-12T23:35:21.000Z | 2022-01-09T22:01:53.000Z | test/combine/pubsub_2d_test.cpp | llamerada-jp/colonio | 8594d3131249eda59980faa281c353988469481a | [
"Apache-2.0"
] | null | null | null | test/combine/pubsub_2d_test.cpp | llamerada-jp/colonio | 8594d3131249eda59980faa281c353988469481a | [
"Apache-2.0"
] | 1 | 2020-07-07T13:17:19.000Z | 2020-07-07T13:17:19.000Z | /*
* Copyright 2017 Yuji Ito <llamerada.jp@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | 29.670412 | 92 | 0.611083 | llamerada-jp |