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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7039ece264b7e3551da7c515cc67c054eaab9fab | 196 | cpp | C++ | loom/script/native/lsLuaBridge.cpp | ellemenno/LoomSDK | c6ff83f99b313f402326948c57661908933dabdd | [
"ECL-2.0",
"Apache-2.0",
"BSD-2-Clause"
] | 109 | 2015-01-04T00:32:38.000Z | 2022-02-06T22:59:30.000Z | loom/script/native/lsLuaBridge.cpp | RichardRanft/LoomSDK | 7f12b9d572f2ca409b9070ba92a284a82263ae97 | [
"ECL-2.0",
"Apache-2.0",
"BSD-2-Clause"
] | 237 | 2015-01-10T19:42:56.000Z | 2017-01-02T21:23:32.000Z | loom/script/native/lsLuaBridge.cpp | RichardRanft/LoomSDK | 7f12b9d572f2ca409b9070ba92a284a82263ae97 | [
"ECL-2.0",
"Apache-2.0",
"BSD-2-Clause"
] | 34 | 2015-01-01T21:45:01.000Z | 2020-07-19T15:33:25.000Z | #include "loom/script/native/lsLuaBridge.h"
#include "loom/script/reflection/lsType.h"
#include "loom/script/runtime/lsLuaState.h"
namespace LS {
const char *Namespace::currentPackageName = 0;
}
| 24.5 | 46 | 0.77551 | ellemenno |
703b02d15777e9efc4672b462315d3c6ac932e11 | 3,064 | hpp | C++ | test/propertyaccess.hpp | IRCAD/camp | fbbada73d6fd25c30f22a69f195c871757e362dd | [
"MIT"
] | 6 | 2017-12-27T03:13:29.000Z | 2021-01-04T15:07:18.000Z | test/propertyaccess.hpp | fw4spl-org/camp | e70eca1d2bf7f20df782dacc5d6baa51ce364e12 | [
"MIT"
] | 1 | 2021-10-19T14:03:39.000Z | 2021-10-19T14:03:39.000Z | test/propertyaccess.hpp | IRCAD/camp | fbbada73d6fd25c30f22a69f195c871757e362dd | [
"MIT"
] | 1 | 2019-08-30T15:20:46.000Z | 2019-08-30T15:20:46.000Z | /****************************************************************************
**
** This file is part of the CAMP library.
**
** The MIT License (MIT)
**
** Copyright (C) 2009-2014 TEGESO/TEGESOFT and/or its subsidiary(-ies) and mother company.
** Contact: Tegesoft Information (contact@tegesoft.com)
**
** Permission is... | 37.365854 | 98 | 0.613251 | IRCAD |
703d242e34177ae85614f512fc8a8780fe99174b | 865 | cc | C++ | src/results/output.cc | SlaybaughLab/Transport | 8eb32cb8ae50c92875526a7540350ef9a85bc050 | [
"MIT"
] | 12 | 2018-03-14T12:30:53.000Z | 2022-01-23T14:46:44.000Z | src/results/output.cc | jsrehak/BART | 0460dfffbcf5671a730448de7f45cce39fd4a485 | [
"MIT"
] | 194 | 2017-07-07T01:38:15.000Z | 2021-05-19T18:21:19.000Z | src/results/output.cc | jsrehak/BART | 0460dfffbcf5671a730448de7f45cce39fd4a485 | [
"MIT"
] | 10 | 2017-07-06T22:58:59.000Z | 2021-03-15T07:01:21.000Z | #include "results/output.h"
#include <deal.II/base/exceptions.h>
namespace bart {
namespace results {
void Output::WriteVector(std::ostream &output_stream,
const std::vector<double> to_write) const {
for (std::vector<double>::size_type i =0 ; i < to_write.size(); ++i)
output_stream <<... | 30.892857 | 77 | 0.587283 | SlaybaughLab |
703d7de100fc7ff71c7f7ff64f600c2140011fa0 | 11,355 | cpp | C++ | src/find_relatives_table.cpp | jjmccollum/open-cbgm | c231b1fa0b5ff86c0701c0f7f2b389c3a60434f4 | [
"MIT"
] | 21 | 2020-01-17T21:45:28.000Z | 2022-03-29T07:24:45.000Z | src/find_relatives_table.cpp | jjmccollum/open-cbgm | c231b1fa0b5ff86c0701c0f7f2b389c3a60434f4 | [
"MIT"
] | 4 | 2020-03-05T03:33:44.000Z | 2020-10-16T23:29:44.000Z | src/find_relatives_table.cpp | jjmccollum/open-cbgm | c231b1fa0b5ff86c0701c0f7f2b389c3a60434f4 | [
"MIT"
] | 1 | 2020-01-30T16:17:08.000Z | 2020-01-30T16:17:08.000Z | /*
* find_relatives_table.cpp
*
* Created on: Sept 18, 2020
* Author: jjmccollum
*/
#include <iostream>
#include <iomanip>
#include <string>
#include <list>
#include <set>
#include <algorithm>
#include <limits>
#include "variation_unit.h"
#include "witness.h"
#include "find_relatives_table.h"
using namesp... | 33.594675 | 155 | 0.559401 | jjmccollum |
703d8f3b61a17e7b445f7c162fda17d78e4130b6 | 1,627 | cpp | C++ | NoteHandler/midi.cpp | vikbez/PlayerPianoController | 098e0a9df2be3d029490986eedd1bf2eac0a44ca | [
"MIT"
] | 27 | 2019-07-23T21:13:27.000Z | 2022-03-26T09:51:58.000Z | ProMicro/midi.cpp | anodeaday/PianoProject | ff31af5d5eaa72ee6dbe8b1f445979bc1ab84e90 | [
"MIT"
] | 4 | 2020-11-05T16:41:14.000Z | 2022-02-07T20:31:11.000Z | ProMicro/midi.cpp | anodeaday/PianoProject | ff31af5d5eaa72ee6dbe8b1f445979bc1ab84e90 | [
"MIT"
] | 10 | 2019-07-24T01:00:22.000Z | 2022-02-09T17:36:04.000Z | #include <MIDIUSB.h>
#include "midi.h"
#include "shiftRegister.h"
#include "serial.h"
void decodeMidi(uint8_t header, uint8_t byte1, uint8_t byte2, uint8_t byte3);
extern const bool DEBUG_MODE;
void checkForMidiUSB()
{
midiEventPacket_t rx; //midi data struct from midiUSB libray
do
{
rx = MidiUSB.read(); //get... | 23.242857 | 77 | 0.664413 | vikbez |
703daf3b8d47d740b87fe5f729ce93d3a076e569 | 1,620 | cpp | C++ | Coding projects/proj2/Project-Two-Related-Files/my_test.cpp | bingcheng1998/VE280 | 5e2fe301910865b7aea186a302eacf90b5fec457 | [
"Apache-2.0"
] | null | null | null | Coding projects/proj2/Project-Two-Related-Files/my_test.cpp | bingcheng1998/VE280 | 5e2fe301910865b7aea186a302eacf90b5fec457 | [
"Apache-2.0"
] | null | null | null | Coding projects/proj2/Project-Two-Related-Files/my_test.cpp | bingcheng1998/VE280 | 5e2fe301910865b7aea186a302eacf90b5fec457 | [
"Apache-2.0"
] | null | null | null | #include <iostream>
#include "recursive.h"
#include "p2.h"
using namespace std;
int Product(int x, int y){
return x*y;
}
int Add(int x, int y){
return x+y;
}
bool odd(int odd){
if (odd%2 == 0) return false;
return true;
}
int main(int argc, char const *argv[])
{
int i = 0;
list_t listA, listA_answer;
lis... | 24.923077 | 85 | 0.605556 | bingcheng1998 |
703fa38c7280501c98858c29beec0029573ece45 | 6,475 | cpp | C++ | gSpiderMac/testv8/testv8/main.cpp | reichtiger/grampusSpider | d8ba6b96a7af085c7c2420a5bcb1fa35ee8b03b7 | [
"Apache-2.0"
] | 87 | 2015-08-05T12:49:16.000Z | 2021-09-23T03:24:40.000Z | gSpiderMac/testv8/testv8/main.cpp | reichtiger/grampusSpider | d8ba6b96a7af085c7c2420a5bcb1fa35ee8b03b7 | [
"Apache-2.0"
] | null | null | null | gSpiderMac/testv8/testv8/main.cpp | reichtiger/grampusSpider | d8ba6b96a7af085c7c2420a5bcb1fa35ee8b03b7 | [
"Apache-2.0"
] | 52 | 2015-09-24T05:19:29.000Z | 2020-10-14T07:14:22.000Z | //
// main.cpp
// testv8
//
// Created by reich on 14/11/18.
// Copyright (c) 2014年 chupeng. All rights reserved.
//
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <iostream>
#include <string>
#include <v8.h>
#include <assert.h>
#include <wchar.h>
using namespace std;
using namespace v8;
/*... | 30.980861 | 106 | 0.567104 | reichtiger |
70463fb71fc008da1202390d5184e486c6289e33 | 7,158 | cpp | C++ | src/gui/src/windows/TableDisplayWindowColumns.cpp | ScottMastro/RVS | c9263e8e354c3edefff21aeb2badcdfd91e2ed80 | [
"MIT"
] | 2 | 2018-11-13T20:22:20.000Z | 2019-06-26T01:26:51.000Z | src/gui/src/windows/TableDisplayWindowColumns.cpp | AngelaQChen/VikNGS | c9263e8e354c3edefff21aeb2badcdfd91e2ed80 | [
"MIT"
] | 15 | 2017-11-02T16:27:33.000Z | 2018-05-03T20:42:39.000Z | src/gui/src/windows/TableDisplayWindowColumns.cpp | AngelaQChen/VikNGS | c9263e8e354c3edefff21aeb2badcdfd91e2ed80 | [
"MIT"
] | 2 | 2019-11-18T17:17:11.000Z | 2020-06-26T17:22:13.000Z | #include "TableDisplayWindow.h"
#include "ui_tabledisplaywindow.h"
void TableDisplayWindow::addSampleInfo(int nrow, QStringList &titles, QVector<QVector<QTableWidgetItem*>>& table){
titles.append("index");
titles.append("Cohort");
titles.append("Group ID");
QVector<QTableWidgetItem*> index(nrow);
... | 34.917073 | 137 | 0.583822 | ScottMastro |
704687f51a5d25683a21da0cfe97488a3dc540d2 | 3,734 | cpp | C++ | samples/parser.cpp | tlammi/upp | 480615e11b8dd12b36fee0e78b984e1b5051183d | [
"MIT"
] | null | null | null | samples/parser.cpp | tlammi/upp | 480615e11b8dd12b36fee0e78b984e1b5051183d | [
"MIT"
] | null | null | null | samples/parser.cpp | tlammi/upp | 480615e11b8dd12b36fee0e78b984e1b5051183d | [
"MIT"
] | null | null | null | #include "upp/parser.hpp"
#include <iterator>
#include <iostream>
#include <fstream>
#include <string_view>
#include <map>
#include <vector>
#include <variant>
struct Value;
using Obj = std::map<std::string, Value>;
// Deque to avoid relocation on assignment
using List = std::deque<Value>;
using ValueBase = std::v... | 24.405229 | 89 | 0.633369 | tlammi |
704762ae42702157acd11411a5a7c08b295231cb | 727 | cpp | C++ | Project_2DGameSDK/src/world/GameWorld.cpp | markoczy/2DGameSDK | 53da378d604ace1d931dfe6ec336241045675667 | [
"MIT"
] | 1 | 2020-12-15T08:20:44.000Z | 2020-12-15T08:20:44.000Z | Project_2DGameSDK/src/world/GameWorld.cpp | markoczy/2DGameSDK | 53da378d604ace1d931dfe6ec336241045675667 | [
"MIT"
] | 8 | 2019-09-14T10:05:33.000Z | 2019-09-25T18:47:59.000Z | Project_2DGameSDK/src/world/GameWorld.cpp | markoczy/2DGameSDK | 53da378d604ace1d931dfe6ec336241045675667 | [
"MIT"
] | null | null | null | #include <2DGameSDK/world/GameWorld.h>
using namespace sf;
namespace game {
GameWorld::GameWorld(Game* game, Tilemap* tilemap, MaterialMap* materialMap) : mGame(game), mTilemap(tilemap), mMaterialMap(materialMap) {
mBounds.width = mTilemap->TileWidth * mTilemap->TilesWide;
mBounds.height = mTilemap->... | 27.961538 | 141 | 0.672627 | markoczy |
704762bbea39ca538bc9a11e63ab64e74555bfec | 2,381 | cc | C++ | src/plugin/graphics/windowing/src/platform=pc/window-p=posix.cc | motor-dev/Motor | 98cb099fe1c2d31e455ed868cc2a25eae51e79f0 | [
"BSD-3-Clause"
] | null | null | null | src/plugin/graphics/windowing/src/platform=pc/window-p=posix.cc | motor-dev/Motor | 98cb099fe1c2d31e455ed868cc2a25eae51e79f0 | [
"BSD-3-Clause"
] | null | null | null | src/plugin/graphics/windowing/src/platform=pc/window-p=posix.cc | motor-dev/Motor | 98cb099fe1c2d31e455ed868cc2a25eae51e79f0 | [
"BSD-3-Clause"
] | null | null | null | /* Motor <motor.devel@gmail.com>
see LICENSE for detail */
#include <motor/plugin.graphics.windowing/stdafx.h>
#include <motor/plugin.graphics.3d/rendertarget/rendertarget.meta.hh>
#include <motor/plugin.graphics.windowing/renderer.hh>
#include <motor/plugin.graphics.windowing/window.hh>
#include <X11/X.h>
#include... | 28.345238 | 98 | 0.662747 | motor-dev |
7047d9081bbcce2afa557b1a5ff2bed38e8bc510 | 6,263 | hpp | C++ | lcm-types/cpp/rpc_outputs_t.hpp | Chenaah/Cheetah-Software-RL | bdb7bbaf07bea32337a58ede6fde9479929f7c67 | [
"MIT"
] | null | null | null | lcm-types/cpp/rpc_outputs_t.hpp | Chenaah/Cheetah-Software-RL | bdb7bbaf07bea32337a58ede6fde9479929f7c67 | [
"MIT"
] | null | null | null | lcm-types/cpp/rpc_outputs_t.hpp | Chenaah/Cheetah-Software-RL | bdb7bbaf07bea32337a58ede6fde9479929f7c67 | [
"MIT"
] | 2 | 2022-02-25T07:58:20.000Z | 2022-03-02T01:33:06.000Z | /** THIS IS AN AUTOMATICALLY GENERATED FILE. DO NOT MODIFY
* BY HAND!!
*
* Generated by lcm-gen
**/
#include <lcm/lcm_coretypes.h>
#ifndef __rpc_outputs_t_hpp__
#define __rpc_outputs_t_hpp__
class rpc_outputs_t
{
public:
double cpu_opt_time_microseconds;
double t_sent;
do... | 31.472362 | 103 | 0.641386 | Chenaah |
704b287c3fb15089d13601b52d15e9d22b1a8727 | 2,215 | cpp | C++ | leetcode/problems/hard/1293-shortest-path-in-a-grid-with-obstacles-elimination.cpp | wingkwong/competitive-programming | e8bf7aa32e87b3a020b63acac20e740728764649 | [
"MIT"
] | 18 | 2020-08-27T05:27:50.000Z | 2022-03-08T02:56:48.000Z | leetcode/problems/hard/1293-shortest-path-in-a-grid-with-obstacles-elimination.cpp | wingkwong/competitive-programming | e8bf7aa32e87b3a020b63acac20e740728764649 | [
"MIT"
] | null | null | null | leetcode/problems/hard/1293-shortest-path-in-a-grid-with-obstacles-elimination.cpp | wingkwong/competitive-programming | e8bf7aa32e87b3a020b63acac20e740728764649 | [
"MIT"
] | 1 | 2020-10-13T05:23:58.000Z | 2020-10-13T05:23:58.000Z | /*
Shortest Path in a Grid with Obstacles Elimination
https://leetcode.com/problems/shortest-path-in-a-grid-with-obstacles-elimination/
You are given an m x n integer matrix grid where each cell is either 0 (empty) or 1 (obstacle). You can move up, down, left, or right from and to an empty cell in one step.
Return th... | 28.766234 | 218 | 0.506998 | wingkwong |
704c0f47f9e2a1552f926a54281972ea39ee9ad8 | 1,380 | cpp | C++ | medium/5_longest_palindromic_substring.cpp | pdu/leetcode_cpp | c487df7561f92562b20a31317957f47e0a20c485 | [
"Apache-2.0"
] | 4 | 2019-07-22T03:53:23.000Z | 2019-10-17T01:37:41.000Z | medium/5_longest_palindromic_substring.cpp | pdu/leetcode_cpp | c487df7561f92562b20a31317957f47e0a20c485 | [
"Apache-2.0"
] | null | null | null | medium/5_longest_palindromic_substring.cpp | pdu/leetcode_cpp | c487df7561f92562b20a31317957f47e0a20c485 | [
"Apache-2.0"
] | 2 | 2020-03-10T03:30:41.000Z | 2020-11-10T06:51:34.000Z | // step 1: clarify
//
// Q: how long is the string?
// A: at most 1000
//
// step 2: solutions
//
// the naive way is to enumate all the substrings, and check whether it's palindromic or not
// time complexity: O(n^3)
// space complexity: O(1)
//
// for the palindromic string, it's substring s[1, n-1) must be palindrom... | 27.058824 | 101 | 0.521739 | pdu |
704c927c2bbd2973fbf5ae0ae6aaff4785688780 | 6,873 | cpp | C++ | XivAlexander/AutoLoadAsDependencyModule.cpp | retaker/XivAlexander | 03b64118500c3e6e7c3a035af473ef2bd0303bff | [
"Apache-2.0"
] | 345 | 2021-02-08T18:11:24.000Z | 2022-03-25T04:01:23.000Z | XivAlexander/AutoLoadAsDependencyModule.cpp | retaker/XivAlexander | 03b64118500c3e6e7c3a035af473ef2bd0303bff | [
"Apache-2.0"
] | 376 | 2021-02-12T07:23:57.000Z | 2022-03-31T00:05:35.000Z | XivAlexander/AutoLoadAsDependencyModule.cpp | retaker/XivAlexander | 03b64118500c3e6e7c3a035af473ef2bd0303bff | [
"Apache-2.0"
] | 65 | 2021-02-12T05:47:14.000Z | 2022-03-25T03:08:23.000Z | #include "pch.h"
#define DIRECTINPUT_VERSION 0x0800 // NOLINT(cppcoreguidelines-macro-usage)
#include <dinput.h>
#include <XivAlexander/XivAlexander.h>
#include <XivAlexanderCommon/Sqex_CommandLine.h>
#include <XivAlexanderCommon/Utils_Win32.h>
#include "App_ConfigRepository.h"
#include "DllMain.h"
static WORD s_w... | 32.419811 | 198 | 0.729521 | retaker |
704ec269c666e188c069d16a14b832138f56ff3c | 21,254 | cpp | C++ | tests/ami_test/no_module/client.cpp | ClausKlein/taox11 | 669cfd2d0be258722c7ee32b23f2e5cb83e4520f | [
"MIT"
] | 20 | 2019-11-13T12:31:20.000Z | 2022-02-27T12:30:39.000Z | tests/ami_test/no_module/client.cpp | ClausKlein/taox11 | 669cfd2d0be258722c7ee32b23f2e5cb83e4520f | [
"MIT"
] | 46 | 2019-11-15T20:40:18.000Z | 2022-03-31T19:04:36.000Z | tests/ami_test/no_module/client.cpp | ClausKlein/taox11 | 669cfd2d0be258722c7ee32b23f2e5cb83e4520f | [
"MIT"
] | 5 | 2019-11-12T15:00:50.000Z | 2022-01-17T17:33:05.000Z | /**
* @file client.cpp
* @author Marijke Hengstmengel
*
* @brief CORBA C++11 client ami test
*
* @copyright Copyright (c) Remedy IT Expertise BV
*/
#include "ace/Get_Opt.h"
#include "ace/Task.h"
#include "ami_testAmiC.h"
#include <thread>
#include "testlib/taox11_testlog.h"
const ACE_TCHAR *ior = ACE_TE... | 30.362857 | 100 | 0.605063 | ClausKlein |
7050f2e5980ace3eb9362d575e23d51924b74e39 | 598 | cc | C++ | core/src/counter.cc | avidbots/prometheus-cpp | e7b542c3bd5e68d5377641dd7a90b1a4a9146b0b | [
"MIT"
] | null | null | null | core/src/counter.cc | avidbots/prometheus-cpp | e7b542c3bd5e68d5377641dd7a90b1a4a9146b0b | [
"MIT"
] | 2 | 2020-09-29T14:55:30.000Z | 2021-06-08T16:40:42.000Z | core/src/counter.cc | avidbots/prometheus-cpp | e7b542c3bd5e68d5377641dd7a90b1a4a9146b0b | [
"MIT"
] | null | null | null | #include "prometheus/counter.h"
namespace prometheus {
Counter::Counter(const bool alert_if_no_family) : MetricBase(alert_if_no_family) {};
void Counter::Reset() {
value_ = 0;
last_update_ = std::time(nullptr);
AlertIfNoFamily();
}
void Counter::Increment(const double value) {
if (value < 0.0) return;
va... | 19.933333 | 84 | 0.70903 | avidbots |
7054eadb028169a9fd9e35701f36e16c5d4e20f0 | 678 | cpp | C++ | Bit Algorithm/Check if A Number is Power of Two/SolutionByAkshat.cpp | Mdanish777/Programmers-Community | b5ca9582fc1cd4337baa7077ff62130a1052583f | [
"MIT"
] | 261 | 2019-09-30T19:47:29.000Z | 2022-03-29T18:20:07.000Z | Bit Algorithm/Check if A Number is Power of Two/SolutionByAkshat.cpp | Mdanish777/Programmers-Community | b5ca9582fc1cd4337baa7077ff62130a1052583f | [
"MIT"
] | 647 | 2019-10-01T16:51:29.000Z | 2021-12-16T20:39:44.000Z | Bit Algorithm/Check if A Number is Power of Two/SolutionByAkshat.cpp | Mdanish777/Programmers-Community | b5ca9582fc1cd4337baa7077ff62130a1052583f | [
"MIT"
] | 383 | 2019-09-30T19:32:07.000Z | 2022-03-24T16:18:26.000Z | /*
Program Description:-Finding whether a given number is a power of two or not
->checktwo() function performs the operation of checking that whether a number is a power of two or not
*/
#include <iostream>
using namespace std;
int checktwo(int n)
{
while (n % 2 == 0 && n != 1 && n != 0) {
n /= 2;
}
... | 23.37931 | 104 | 0.563422 | Mdanish777 |
7056d48b5554f5390c94686c59484a028f902958 | 705 | hpp | C++ | food.hpp | cwink87/wsnake | 6d4f3a42d83f6b54312316302dd52cbd80370dd5 | [
"MIT"
] | null | null | null | food.hpp | cwink87/wsnake | 6d4f3a42d83f6b54312316302dd52cbd80370dd5 | [
"MIT"
] | null | null | null | food.hpp | cwink87/wsnake | 6d4f3a42d83f6b54312316302dd52cbd80370dd5 | [
"MIT"
] | null | null | null | #ifndef FOOD_HPP
#define FOOD_HPP
#include "grid.hpp"
class Food final {
public:
explicit Food(const Grid &grid) noexcept;
~Food() noexcept = default;
Food(const Food &) noexcept = default;
Food(Food &&) noexcept = default;
Food &operator=(const Food &) noexcept = default;
Food &operator=(Food &&) noexce... | 25.178571 | 119 | 0.686525 | cwink87 |
7058bd21523d751bcda72d9809aa839f0e9cca5f | 18,574 | cpp | C++ | src/Details/xbmp_tools_atlas.cpp | LIONant-depot/xbmp_tools | 670320ec35470b0204af8413bf34d017aa6e2868 | [
"MIT"
] | null | null | null | src/Details/xbmp_tools_atlas.cpp | LIONant-depot/xbmp_tools | 670320ec35470b0204af8413bf34d017aa6e2868 | [
"MIT"
] | null | null | null | src/Details/xbmp_tools_atlas.cpp | LIONant-depot/xbmp_tools | 670320ec35470b0204af8413bf34d017aa6e2868 | [
"MIT"
] | null | null | null | namespace xbmp::tools{
//-------------------------------------------------------------------------------------------------
static
int Area( const atlas::rect_xywhf** pA, const atlas::rect_xywhf** pB )
{
int b1 = (*pA)->getArea();
int a1 = (*pB)->getArea();
if( a1 < b1 ) return -1;
return a1>b1;
}
//--... | 31.750427 | 130 | 0.428233 | LIONant-depot |
705b97c5b3556c629ef061ce743bb0f610a7d684 | 33,769 | cpp | C++ | tcpclientcom/TCPClient.cpp | lasellers/IntrafoundationTCPClient | 4e9b9666b914d229335ef534972a94594e93be2b | [
"Intel",
"DOC",
"NTP",
"Unlicense"
] | null | null | null | tcpclientcom/TCPClient.cpp | lasellers/IntrafoundationTCPClient | 4e9b9666b914d229335ef534972a94594e93be2b | [
"Intel",
"DOC",
"NTP",
"Unlicense"
] | null | null | null | tcpclientcom/TCPClient.cpp | lasellers/IntrafoundationTCPClient | 4e9b9666b914d229335ef534972a94594e93be2b | [
"Intel",
"DOC",
"NTP",
"Unlicense"
] | null | null | null | /////////////////////////////////////////////////////////////////////////////
//
// Intrafoundation.Tcpclient.3
//
// Copyright 1999, 200, 2001, 2003, 2004 by Lewis A. Sellers (AKA Min)
// http://www.intrafoundation.com
// webmaster@intrafoundation.com
//
// Software Homepage: http://www.intrafoundation.com/software/tc... | 14.772091 | 160 | 0.585922 | lasellers |
705ee583c9ec2c7aebba4b87273e5c9d6550652e | 2,456 | cpp | C++ | src/aijack/collaborative/secureboost/core/main.cpp | Koukyosyumei/AIJack | 9545d3828907b54965ede85e0e12cb32eef54294 | [
"MIT"
] | 24 | 2021-11-17T02:16:47.000Z | 2022-03-27T01:04:08.000Z | src/aijack/collaborative/secureboost/core/main.cpp | Koukyosyumei/AIJack | 9545d3828907b54965ede85e0e12cb32eef54294 | [
"MIT"
] | 9 | 2021-12-03T06:09:27.000Z | 2022-03-29T06:33:53.000Z | src/aijack/collaborative/secureboost/core/main.cpp | Koukyosyumei/AIJack | 9545d3828907b54965ede85e0e12cb32eef54294 | [
"MIT"
] | 5 | 2022-01-12T09:58:04.000Z | 2022-03-17T09:29:04.000Z | #include <pybind11/pybind11.h>
#include <pybind11/stl.h>
#include <pybind11/functional.h>
#include <cmath>
#include <iostream>
#include <vector>
#include "secureboost.h"
#define STRINGIFY(x) #x
#define MACRO_STRINGIFY(x) STRINGIFY(x)
using namespace std;
namespace py = pybind11;
PYBIND11_MODULE(aijack_secureboost, ... | 36.656716 | 87 | 0.639251 | Koukyosyumei |
70618ea657d3a1d713e90acc5ae66bf39cc96dc8 | 442 | cc | C++ | lab5/aufgabe4/src/drawingobject2.cc | FreeGeronimo/OOS1 | c04718534b539089680c7e9164c954f0962c5e4e | [
"MIT"
] | null | null | null | lab5/aufgabe4/src/drawingobject2.cc | FreeGeronimo/OOS1 | c04718534b539089680c7e9164c954f0962c5e4e | [
"MIT"
] | null | null | null | lab5/aufgabe4/src/drawingobject2.cc | FreeGeronimo/OOS1 | c04718534b539089680c7e9164c954f0962c5e4e | [
"MIT"
] | null | null | null | #include "drawingobject2.hh"
#include <iostream>
using namespace std;
extern bool debugConstructor;
DrawingObject::DrawingObject()
: ObjectCounter()
{
if (debugConstructor)
{
cout << "Konstrutor der Klasse DrawingObject, Object: " << GetId() << endl;
}
}
DrawingObject::~DrawingObject()
{
... | 17.68 | 83 | 0.642534 | FreeGeronimo |
7062009380ad83bfeb972203adf99dd8426568ff | 11,107 | cpp | C++ | modules/core/sensor/src/PinholeCamera.cpp | MobilePerceptionLab/EventCameraCalibration | debd774ac989674b500caf27641b7ad4e94681e9 | [
"Apache-2.0"
] | 22 | 2021-08-06T03:21:03.000Z | 2022-02-25T03:40:54.000Z | modules/core/sensor/src/PinholeCamera.cpp | MobilePerceptionLab/MultiCamCalib | 2f0e94228c2c4aea7f20c26e3e8daa6321ce8022 | [
"Apache-2.0"
] | 1 | 2022-02-25T02:55:13.000Z | 2022-02-25T15:18:45.000Z | modules/core/sensor/src/PinholeCamera.cpp | MobilePerceptionLab/MultiCamCalib | 2f0e94228c2c4aea7f20c26e3e8daa6321ce8022 | [
"Apache-2.0"
] | 7 | 2021-08-11T12:29:35.000Z | 2022-02-25T03:41:01.000Z | //
// Created by huangkun on 2020/8/11.
//
#include <Eigen/Eigen>
#include <opencv2/core/eigen.hpp>
#include <opencv2/opencv.hpp>
#include <nanoflann.hpp>
#include <KDTreeVectorOfVectorsAdaptor.h>
#include <opengv2/sensor/PinholeCamera.hpp>
#include <opengv2/utility/utility.hpp>
opengv2::PinholeCamera::PinholeCamera... | 41.137037 | 118 | 0.544431 | MobilePerceptionLab |
7067790723a609a8a5c5bfac60cf9bd9229aee21 | 3,491 | cpp | C++ | LambdaEngine/Source/Game/ECS/Components/Rendering/CameraComponent.cpp | IbexOmega/CrazyCanvas | f60f01aaf9c988e4da8990dc1ef3caac20cecf7e | [
"MIT"
] | 18 | 2020-09-04T08:00:54.000Z | 2021-08-29T23:04:45.000Z | LambdaEngine/Source/Game/ECS/Components/Rendering/CameraComponent.cpp | IbexOmega/LambdaEngine | f60f01aaf9c988e4da8990dc1ef3caac20cecf7e | [
"MIT"
] | 32 | 2020-09-12T19:24:50.000Z | 2020-12-11T14:29:44.000Z | LambdaEngine/Source/Game/ECS/Components/Rendering/CameraComponent.cpp | IbexOmega/LambdaEngine | f60f01aaf9c988e4da8990dc1ef3caac20cecf7e | [
"MIT"
] | 2 | 2020-12-15T15:36:13.000Z | 2021-03-27T14:27:02.000Z | #include "Audio/AudioAPI.h"
#include "Audio/FMOD/AudioDeviceFMOD.h"
#include "Audio/FMOD/SoundInstance3DFMOD.h"
#include "Game/ECS/Components/Rendering/CameraComponent.h"
#include "Game/ECS/Components/Audio/AudibleComponent.h"
#include "Game/ECS/Components/Audio/ListenerComponent.h"
#include "Game/ECS/Components/Physi... | 37.138298 | 194 | 0.776282 | IbexOmega |
0ad95262691006f828c7ab59ec531b1a305c14ac | 2,422 | cpp | C++ | test/test_zip_iterator_sort.cpp | cjatin/rocThrust | ae487ed39147c4cb2461b16f4b51cc96950bb3af | [
"Apache-2.0"
] | null | null | null | test/test_zip_iterator_sort.cpp | cjatin/rocThrust | ae487ed39147c4cb2461b16f4b51cc96950bb3af | [
"Apache-2.0"
] | null | null | null | test/test_zip_iterator_sort.cpp | cjatin/rocThrust | ae487ed39147c4cb2461b16f4b51cc96950bb3af | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2008-2013 NVIDIA Corporation
* Modifications Copyright© 2019 Advanced Micro Devices, 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
*
* ... | 36.69697 | 100 | 0.632122 | cjatin |
0ad9c04cde103c4b2b3e44eb333468555cbd4fd6 | 1,710 | cpp | C++ | src/MyMaterial.cpp | nicholaschiasson/N3DIL | 5b598b340c4850cb06f92194f48aa10c76a578aa | [
"MIT"
] | null | null | null | src/MyMaterial.cpp | nicholaschiasson/N3DIL | 5b598b340c4850cb06f92194f48aa10c76a578aa | [
"MIT"
] | 5 | 2015-10-19T03:35:56.000Z | 2015-11-03T22:19:26.000Z | src/MyMaterial.cpp | nicholaschiasson/N3DIL | 5b598b340c4850cb06f92194f48aa10c76a578aa | [
"MIT"
] | null | null | null | #include "MyMaterial.h"
#include "MyDefines.h"
#include <algorithm>
MyMaterial::MyMaterial(MyTexture2D * texture, MyColorRGBA const & ambient, MyColorRGBA const & diffuse, MyColorRGBA const & specular, float const & shine, bool const & toon) :
tex(texture), a(ambient), d(diffuse), s(specular), sh(shine), t(toon)
{
... | 18 | 175 | 0.704678 | nicholaschiasson |
0adb4715fed4338c2bc04fc8b68daba3dd0520c4 | 3,003 | hh | C++ | AssocTools/AstSTLMap2.hh | brownd1978/FastSim | 05f590d72d8e7f71856fd833114a38b84fc7fd48 | [
"Apache-2.0"
] | null | null | null | AssocTools/AstSTLMap2.hh | brownd1978/FastSim | 05f590d72d8e7f71856fd833114a38b84fc7fd48 | [
"Apache-2.0"
] | null | null | null | AssocTools/AstSTLMap2.hh | brownd1978/FastSim | 05f590d72d8e7f71856fd833114a38b84fc7fd48 | [
"Apache-2.0"
] | null | null | null | //-------------------------------------------------------------------
// File and Version Information:
// $Id: AstSTLMap2.hh 436 2010-01-13 16:51:56Z stroili $
//
// Description:
// two -directional association map between two data types.
//
//
// Author List:
// Luca Lista 27 Mar 97
//
//--------... | 21.604317 | 77 | 0.549784 | brownd1978 |
0adc04a5f4216f27f8a88e4921256229b1e1fd4c | 7,057 | cpp | C++ | 1/localsearch.cpp | GhostofGoes/evo-comp | 744874da4621f086df8172a6c596c46f23eff58c | [
"MIT"
] | null | null | null | 1/localsearch.cpp | GhostofGoes/evo-comp | 744874da4621f086df8172a6c596c46f23eff58c | [
"MIT"
] | null | null | null | 1/localsearch.cpp | GhostofGoes/evo-comp | 744874da4621f086df8172a6c596c46f23eff58c | [
"MIT"
] | null | null | null | // Project: Assignment 1 - Local Search
// Author: Christopher Goes
// Course: CS 572 Evolutionary Computation
// Semester: Fall 2016
// Github: https://github.com/GhostofGoes/cgoes-cs572
// License: MITv2
// If you're in the class, don't copy the code
// You're welcome to use it to get un-stuck, or learn thing... | 38.353261 | 159 | 0.663596 | GhostofGoes |
0ade3fa514c18931177c702ef1f57baefe1c50c9 | 835 | cpp | C++ | Atum/Support/MetaData/ColorWidget.cpp | ENgineE777/Atum | 3e9417e2a7deda83bf937612fd070566eb932484 | [
"Zlib"
] | 23 | 2017-11-01T14:47:26.000Z | 2021-12-30T08:04:31.000Z | Atum/Support/MetaData/ColorWidget.cpp | ENgineE777/Atum | 3e9417e2a7deda83bf937612fd070566eb932484 | [
"Zlib"
] | 1 | 2018-12-06T14:19:55.000Z | 2018-12-07T04:06:35.000Z | Atum/Support/MetaData/ColorWidget.cpp | ENgineE777/Atum | 3e9417e2a7deda83bf937612fd070566eb932484 | [
"Zlib"
] | 4 | 2017-11-30T10:25:58.000Z | 2019-04-21T14:11:40.000Z |
#include "ColorWidget.h"
void ColorWidget::Init(EUICategories* parent, const char* catName, const char* labelName)
{
ProperyWidget::Init(parent, catName, labelName);
ecolor = new EUILabel(panel, "", 90, 5, 95, 20);
ecolor->SetListener(-1, this, 0);
}
void ColorWidget::SetData(void* owner, void* set_data)
{
data... | 23.194444 | 89 | 0.640719 | ENgineE777 |
0ae0f6253de6e035a276845c24110d086db66b27 | 2,267 | cpp | C++ | TDEngine2/source/graphics/UI/CImageComponent.cpp | bnoazx005/TDEngine2 | 93ebfecf8af791ff5ecd4f57525a6935e34cd05c | [
"Apache-2.0"
] | 1 | 2019-07-15T01:14:15.000Z | 2019-07-15T01:14:15.000Z | TDEngine2/source/graphics/UI/CImageComponent.cpp | bnoazx005/TDEngine2 | 93ebfecf8af791ff5ecd4f57525a6935e34cd05c | [
"Apache-2.0"
] | 76 | 2018-10-27T16:59:36.000Z | 2022-03-30T17:40:39.000Z | TDEngine2/source/graphics/UI/CImageComponent.cpp | bnoazx005/TDEngine2 | 93ebfecf8af791ff5ecd4f57525a6935e34cd05c | [
"Apache-2.0"
] | 1 | 2019-07-29T02:02:08.000Z | 2019-07-29T02:02:08.000Z | #include "../../../include/graphics/UI/CImageComponent.h"
namespace TDEngine2
{
struct TImageArchiveKeys
{
};
CImage::CImage() :
CBaseComponent()
{
}
E_RESULT_CODE CImage::Init()
{
if (mIsInitialized)
{
return RC_FAIL;
}
mImageResourceId = TResourceId::Invalid;
mImageSpriteId = Wrench::Stri... | 14.720779 | 87 | 0.698721 | bnoazx005 |
0ae15dc548989815c4b739d02d072d022d7897d1 | 2,607 | hxx | C++ | opencascade/HLRAppli_ReflectLines.hxx | valgur/OCP | 2f7d9da73a08e4ffe80883614aedacb27351134f | [
"Apache-2.0"
] | 117 | 2020-03-07T12:07:05.000Z | 2022-03-27T07:35:22.000Z | opencascade/HLRAppli_ReflectLines.hxx | CadQuery/cpp-py-bindgen | 66e7376d3a27444393fc99acbdbef40bbc7031ae | [
"Apache-2.0"
] | 66 | 2019-12-20T16:07:36.000Z | 2022-03-15T21:56:10.000Z | opencascade/HLRAppli_ReflectLines.hxx | CadQuery/cpp-py-bindgen | 66e7376d3a27444393fc99acbdbef40bbc7031ae | [
"Apache-2.0"
] | 76 | 2020-03-16T01:47:46.000Z | 2022-03-21T16:37:07.000Z | // File: HLRAppli_ReflectLines.cdl
// Created: 05.12.12 15:53:35
// Created by: Julia GERASIMOVA
// Copyright (c) 1999-2014 OPEN CASCADE SAS
//
// This file is part of Open CASCADE Technology software library.
//
// This library is free software; you can redistribute it and/or modify it under
// the terms of the... | 28.966667 | 254 | 0.739547 | valgur |
0ae1e5cb12c6d0b8f7e0165ff950ad9198842ba4 | 2,087 | hpp | C++ | include/termox/widget/widgets/horizontal_slider.hpp | skvl/TermOx | 35761f9ba0e300b7d8edd4e2a0c7dd33ef8fb934 | [
"MIT"
] | null | null | null | include/termox/widget/widgets/horizontal_slider.hpp | skvl/TermOx | 35761f9ba0e300b7d8edd4e2a0c7dd33ef8fb934 | [
"MIT"
] | null | null | null | include/termox/widget/widgets/horizontal_slider.hpp | skvl/TermOx | 35761f9ba0e300b7d8edd4e2a0c7dd33ef8fb934 | [
"MIT"
] | 1 | 2021-08-06T10:17:28.000Z | 2021-08-06T10:17:28.000Z | #ifndef TERMOX_WIDGET_WIDGETS_HORIZONTAL_SLIDER_HPP
#define TERMOX_WIDGET_WIDGETS_HORIZONTAL_SLIDER_HPP
#include <cstddef>
#include <signals_light/signal.hpp>
#include <termox/painter/color.hpp>
#include <termox/painter/glyph.hpp>
#include <termox/painter/painter.hpp>
#include <termox/system/key.hpp>
#include <termox... | 27.460526 | 78 | 0.703402 | skvl |
0ae24cf263f367d8460b5612c853eeda781029c5 | 70 | cpp | C++ | sprint00/t06/main.cpp | Hvvang/CppTrack | 3e1854d626d153f5597459200f715a91f6a03107 | [
"MIT"
] | 1 | 2020-08-27T23:41:48.000Z | 2020-08-27T23:41:48.000Z | sprint00/t06/main.cpp | Hvvang/CppTrack | 3e1854d626d153f5597459200f715a91f6a03107 | [
"MIT"
] | null | null | null | sprint00/t06/main.cpp | Hvvang/CppTrack | 3e1854d626d153f5597459200f715a91f6a03107 | [
"MIT"
] | null | null | null | #include "meadSong.h"
int main(void) {
showLyrics();
return 0;
}
| 10 | 21 | 0.628571 | Hvvang |
0ae69f1eeb6ed74a8c946c9194f0d558aaf1f9bf | 13,299 | hpp | C++ | include/xul/net/http/http_client.hpp | hindsights/xul | 666ce90742a9919d538ad5c8aad618737171e93b | [
"MIT"
] | 2 | 2018-03-16T07:06:48.000Z | 2018-04-02T03:02:14.000Z | include/xul/net/http/http_client.hpp | hindsights/xul | 666ce90742a9919d538ad5c8aad618737171e93b | [
"MIT"
] | null | null | null | include/xul/net/http/http_client.hpp | hindsights/xul | 666ce90742a9919d538ad5c8aad618737171e93b | [
"MIT"
] | 1 | 2019-08-12T05:15:29.000Z | 2019-08-12T05:15:29.000Z | #pragma once
#include <xul/net/http/http_connection.hpp>
#include <xul/net/url_request.hpp>
#include <xul/net/uri.hpp>
#include <xul/util/timer_holder.hpp>
#include <xul/util/runnable_callback.hpp>
#include <xul/net/http/http_content_type.hpp>
#include <xul/net/http/http_method.hpp>
#include <xul/net/url_messages.hpp>... | 33.498741 | 137 | 0.609219 | hindsights |
0aee68ed3261bbc11f994664754f9d0544f656e5 | 6,803 | cpp | C++ | lv_demos/src/lv_demo_graphing/lv_demo_graphing.cpp | mov-rax/Smart_Symbolic_Graphing_Calculator | 2ebd2e1cb12da1a826a9aa650027c11e239bfe4a | [
"MIT"
] | null | null | null | lv_demos/src/lv_demo_graphing/lv_demo_graphing.cpp | mov-rax/Smart_Symbolic_Graphing_Calculator | 2ebd2e1cb12da1a826a9aa650027c11e239bfe4a | [
"MIT"
] | null | null | null | lv_demos/src/lv_demo_graphing/lv_demo_graphing.cpp | mov-rax/Smart_Symbolic_Graphing_Calculator | 2ebd2e1cb12da1a826a9aa650027c11e239bfe4a | [
"MIT"
] | null | null | null | #include "lv_demo_graphing.hxx"
#include "graph.hxx"
#include <math.h>
static mpf_class plot_sin(mpf_class x) {
return mpf_class(sin(x.get_d()*0.1) * 50.0);
}
static void zoom_btnmatrix_cb(lv_event_t* event){
uint32_t id = lv_btnmatrix_get_selected_btn(event->target);
if (id == 0) {
static_cast<gr... | 41.993827 | 99 | 0.721446 | mov-rax |
0af0040150be21d39134aa89a76ca7b88410cc2b | 358 | cpp | C++ | 02_code/20_sdl_show_bmp_change_target/mainwindow.cpp | okFancy/audio-video-dev-tutorial | 2cee9e530b402d13a3b84acac6d25bc3b5bd4dc2 | [
"MIT"
] | null | null | null | 02_code/20_sdl_show_bmp_change_target/mainwindow.cpp | okFancy/audio-video-dev-tutorial | 2cee9e530b402d13a3b84acac6d25bc3b5bd4dc2 | [
"MIT"
] | null | null | null | 02_code/20_sdl_show_bmp_change_target/mainwindow.cpp | okFancy/audio-video-dev-tutorial | 2cee9e530b402d13a3b84acac6d25bc3b5bd4dc2 | [
"MIT"
] | null | null | null | #include "mainwindow.h"
#include "ui_mainwindow.h"
#include "playthread.h"
MainWindow::MainWindow(QWidget *parent)
: QMainWindow(parent)
, ui(new Ui::MainWindow) {
ui->setupUi(this);
}
MainWindow::~MainWindow() {
delete ui;
}
void MainWindow::on_playButton_clicked() {
PlayThread *thread = new Pla... | 18.842105 | 46 | 0.681564 | okFancy |
0af2a24c515740fceb1225d3bc42fa245c8d3e41 | 29,148 | cc | C++ | tests/math/gtest_matrix_svd.cc | lemony-fresh/mve | d90cc2c813fef026f7732c5a26f6c15973a36042 | [
"BSD-3-Clause"
] | 1 | 2019-05-30T13:19:21.000Z | 2019-05-30T13:19:21.000Z | tests/math/gtest_matrix_svd.cc | MasterShockwave/mve | 7a96751db098bb6f5c0b4075921b0e8e43a69bb6 | [
"BSD-3-Clause"
] | null | null | null | tests/math/gtest_matrix_svd.cc | MasterShockwave/mve | 7a96751db098bb6f5c0b4075921b0e8e43a69bb6 | [
"BSD-3-Clause"
] | null | null | null | /*
* Test cases for matrix singular value decomposition (SVD).
* Written by Simon Fuhrmann and Daniel Thuerck.
*/
#include <limits>
#include <gtest/gtest.h>
#include "math/matrix_svd.h"
TEST(MatrixSVDTest, MatrixSimpleTest1)
{
math::Matrix<double, 3, 2> A;
A(0, 0) = 1.0; A(0, 1) = 4.0;
A(1, 0) = 2.0;... | 31.207709 | 88 | 0.625257 | lemony-fresh |
0af32920c4b1e61f869a61a1c3ad5ad66e4e69e9 | 2,272 | hpp | C++ | RubetekIOS-CPP.framework/Versions/A/Headers/libnet/rubetek/client/remote/channels.hpp | yklishevich/RubetekIOS-CPP-releases | 7dfbbb45b8de7dbb6fa995ff5dcbca4ec06c2bdb | [
"MIT"
] | null | null | null | RubetekIOS-CPP.framework/Versions/A/Headers/libnet/rubetek/client/remote/channels.hpp | yklishevich/RubetekIOS-CPP-releases | 7dfbbb45b8de7dbb6fa995ff5dcbca4ec06c2bdb | [
"MIT"
] | null | null | null | RubetekIOS-CPP.framework/Versions/A/Headers/libnet/rubetek/client/remote/channels.hpp | yklishevich/RubetekIOS-CPP-releases | 7dfbbb45b8de7dbb6fa995ff5dcbca4ec06c2bdb | [
"MIT"
] | null | null | null | #pragma once
#include <string>
#include <functional>
#include <msw/std/memory.hpp>
#include <rubetek/remote_link/channel.hpp>
#include <rubetek/remote_link/channel_set.hpp>
namespace rubetek {
namespace client {
struct remote_channels
: remote_channel_set<unique_client_id::type>
{
typedef... | 34.424242 | 157 | 0.524648 | yklishevich |
0af41eb9da67f85c0e1ccc80c993334d121b5ac7 | 1,158 | cpp | C++ | libraries/data/test/data_equation_test.cpp | gijskant/mcrl2-pmc | 9ea75755081b20623bc8fc7db27124d084e781fe | [
"BSL-1.0"
] | null | null | null | libraries/data/test/data_equation_test.cpp | gijskant/mcrl2-pmc | 9ea75755081b20623bc8fc7db27124d084e781fe | [
"BSL-1.0"
] | null | null | null | libraries/data/test/data_equation_test.cpp | gijskant/mcrl2-pmc | 9ea75755081b20623bc8fc7db27124d084e781fe | [
"BSL-1.0"
] | null | null | null | // Author(s): Jeroen Keiren
// Copyright: see the accompanying file COPYING or copy at
// https://svn.win.tue.nl/trac/MCRL2/browser/trunk/COPYING
//
// 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)
//
/// \file da... | 24.125 | 61 | 0.708117 | gijskant |
0af46217160d042fa5933256ae741fc7571b84fc | 3,008 | cpp | C++ | jlp_x11plot/jlp_x11_utils.cpp | jlprieur/jlplib | 6073d7a7eb76d916662b1f8a4eb54f345cf7c772 | [
"MIT"
] | null | null | null | jlp_x11plot/jlp_x11_utils.cpp | jlprieur/jlplib | 6073d7a7eb76d916662b1f8a4eb54f345cf7c772 | [
"MIT"
] | null | null | null | jlp_x11plot/jlp_x11_utils.cpp | jlprieur/jlplib | 6073d7a7eb76d916662b1f8a4eb54f345cf7c772 | [
"MIT"
] | 1 | 2020-07-09T00:20:49.000Z | 2020-07-09T00:20:49.000Z | /*************************************************************************
* jlp_x11_utils.cpp
* Set of programs useful for the JLP_X11 and JLP_Dlg_X11 Classes
*
* JLP
* Version 17/11/2006
**************************************************************************/
#if JLP_USE_X11 /* New flag to disable X11 if neces... | 30.383838 | 78 | 0.541888 | jlprieur |
0af9251f3b642a42f2e24744f3ffa6c4325343e8 | 1,510 | cpp | C++ | Endsems/Resources/test.cpp | rishitsaiya/CS314-OS-Lab | 8471bac1e88074bbad29bda58546ca84123129ad | [
"MIT"
] | null | null | null | Endsems/Resources/test.cpp | rishitsaiya/CS314-OS-Lab | 8471bac1e88074bbad29bda58546ca84123129ad | [
"MIT"
] | null | null | null | Endsems/Resources/test.cpp | rishitsaiya/CS314-OS-Lab | 8471bac1e88074bbad29bda58546ca84123129ad | [
"MIT"
] | 4 | 2022-01-21T14:31:00.000Z | 2022-03-20T06:45:09.000Z | #include <bits/stdc++.h>
#include <cmath>
#include <vector>
#include <chrono>
#include <thread>
#include <semaphore.h>
#include <unistd.h> //for fork()
#include <sys/types.h>
#include <sys/wait.h>
#include <sys/shm.h>
#include <fcntl.h>
#include <iostream>
#include <sys/ipc.h>
#include <sys/shm.h>
#incl... | 19.358974 | 62 | 0.563576 | rishitsaiya |
0af9479f817433d44d160f75ed399bbbfa17f9ad | 2,822 | cpp | C++ | IfcPlusPlus/src/ifcpp/IFC4/lib/IfcConstructionProductResourceTypeEnum.cpp | promethe42/ifcplusplus | 1c8b51b1f870f0107538dbea5eaa2755c81f5dca | [
"MIT"
] | null | null | null | IfcPlusPlus/src/ifcpp/IFC4/lib/IfcConstructionProductResourceTypeEnum.cpp | promethe42/ifcplusplus | 1c8b51b1f870f0107538dbea5eaa2755c81f5dca | [
"MIT"
] | null | null | null | IfcPlusPlus/src/ifcpp/IFC4/lib/IfcConstructionProductResourceTypeEnum.cpp | promethe42/ifcplusplus | 1c8b51b1f870f0107538dbea5eaa2755c81f5dca | [
"MIT"
] | null | null | null | /* Code generated by IfcQuery EXPRESS generator, www.ifcquery.com */
#include <sstream>
#include <limits>
#include <map>
#include "ifcpp/reader/ReaderUtil.h"
#include "ifcpp/writer/WriterUtil.h"
#include "ifcpp/model/BasicTypes.h"
#include "ifcpp/model/BuildingException.h"
#include "ifcpp/IFC4/include/IfcCons... | 42.119403 | 193 | 0.759391 | promethe42 |
0afa9f2e0b92e8c5ef0c5611659f923453a2314c | 1,116 | cpp | C++ | Easy/K-Foldable String/K-Foldable String.cpp | anishsingh42/CodeChef | 50f5c0438516210895e513bc4ee959b9d99ef647 | [
"Apache-2.0"
] | 127 | 2020-10-13T18:04:35.000Z | 2022-02-17T10:56:27.000Z | Easy/K-Foldable String/K-Foldable String.cpp | anishsingh42/CodeChef | 50f5c0438516210895e513bc4ee959b9d99ef647 | [
"Apache-2.0"
] | 132 | 2020-10-13T18:06:53.000Z | 2021-10-17T18:44:26.000Z | Easy/K-Foldable String/K-Foldable String.cpp | anishsingh42/CodeChef | 50f5c0438516210895e513bc4ee959b9d99ef647 | [
"Apache-2.0"
] | 364 | 2020-10-13T18:04:52.000Z | 2022-03-04T14:34:53.000Z | #include <bits/stdc++.h>
using namespace std;
#define fast \
ios_base::sync_with_stdio(0); \
cin.tie(NULL); \
cout.tie(NULL);
#define ll long long int
#define f(i, a, b) for (ll i = a; i < b; i++)
int main()
{
fast;
ll t;
cin >> t;
while (t--)
{
... | 25.363636 | 63 | 0.312724 | anishsingh42 |
0afb5cf0b93d741a5fc9006a69257006ef471105 | 13,025 | hpp | C++ | packages/utility/core/src/Utility_Measurement.hpp | lkersting/SCR-2123 | 06ae3d92998664a520dc6a271809a5aeffe18f72 | [
"BSD-3-Clause"
] | null | null | null | packages/utility/core/src/Utility_Measurement.hpp | lkersting/SCR-2123 | 06ae3d92998664a520dc6a271809a5aeffe18f72 | [
"BSD-3-Clause"
] | null | null | null | packages/utility/core/src/Utility_Measurement.hpp | lkersting/SCR-2123 | 06ae3d92998664a520dc6a271809a5aeffe18f72 | [
"BSD-3-Clause"
] | null | null | null | //---------------------------------------------------------------------------//
//!
//! \file Utility_Measurement.hpp
//! \author Alex Robinson
//! \brief The measurement class declaration. This object is based of of the
//! measurement class in the boost::units examples
//!
//-------------------------------... | 31.614078 | 191 | 0.697889 | lkersting |
0afd9f6b344a4f5e03e4ea8e94b8b1943af8cc90 | 1,741 | cc | C++ | zircon/kernel/lib/lockup_detector/tests/lockup_detector_tests.cc | EnderNightLord-ChromeBook/fuchsia-pine64-pinephone | 05e2c059b57b6217089090a0315971d1735ecf57 | [
"BSD-3-Clause"
] | 14 | 2020-10-25T05:48:36.000Z | 2021-09-20T02:46:20.000Z | zircon/kernel/lib/lockup_detector/tests/lockup_detector_tests.cc | JokeZhang/fuchsia | d6e9dea8dca7a1c8fa89d03e131367e284b30d23 | [
"BSD-3-Clause"
] | null | null | null | zircon/kernel/lib/lockup_detector/tests/lockup_detector_tests.cc | JokeZhang/fuchsia | d6e9dea8dca7a1c8fa89d03e131367e284b30d23 | [
"BSD-3-Clause"
] | 2 | 2020-10-25T01:13:49.000Z | 2020-10-26T02:32:13.000Z | // Copyright 2020 The Fuchsia Authors
//
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file or at
// https://opensource.org/licenses/MIT
#include <lib/lockup_detector.h>
#include <lib/unittest/unittest.h>
#include <fbl/auto_call.h>
#include <kernel/auto_preempt_disa... | 28.540984 | 99 | 0.768524 | EnderNightLord-ChromeBook |
0aff78f773299058aee13859794856368cd289d0 | 46,547 | cc | C++ | pik/external_image.cc | EwoutH/pik | e4b2c7ac71da9b35a9e45a107077f9d33a228012 | [
"MIT"
] | 855 | 2017-07-24T16:54:42.000Z | 2022-03-11T01:33:14.000Z | pik/external_image.cc | EwoutH/pik | e4b2c7ac71da9b35a9e45a107077f9d33a228012 | [
"MIT"
] | 59 | 2017-07-25T10:34:57.000Z | 2019-11-28T15:16:58.000Z | pik/external_image.cc | EwoutH/pik | e4b2c7ac71da9b35a9e45a107077f9d33a228012 | [
"MIT"
] | 60 | 2017-07-24T17:58:59.000Z | 2022-03-11T01:33:22.000Z | // Copyright 2018 Google Inc. All Rights Reserved.
//
// Use of this source code is governed by an MIT-style
// license that can be found in the LICENSE file or at
// https://opensource.org/licenses/MIT.
#include "pik/external_image.h"
#include <string.h>
#include "pik/byte_order.h"
#include "pik/cache_aligned.h"
n... | 37.904723 | 80 | 0.599523 | EwoutH |
e403bc0dedff958ba0ef76ea4b67175bd370fe3c | 8,887 | cpp | C++ | QuantExt/test/discountratiomodifiedcurve.cpp | PiotrSiejda/Engine | 8360b5de32408f2a37da5ac3ca7b4e913bf67e9f | [
"BSD-3-Clause"
] | null | null | null | QuantExt/test/discountratiomodifiedcurve.cpp | PiotrSiejda/Engine | 8360b5de32408f2a37da5ac3ca7b4e913bf67e9f | [
"BSD-3-Clause"
] | null | null | null | QuantExt/test/discountratiomodifiedcurve.cpp | PiotrSiejda/Engine | 8360b5de32408f2a37da5ac3ca7b4e913bf67e9f | [
"BSD-3-Clause"
] | 1 | 2022-02-07T02:04:10.000Z | 2022-02-07T02:04:10.000Z | /*
Copyright (C) 2018 Quaternion Risk Management Ltd
All rights reserved.
This file is part of ORE, a free-software/open-source library
for transparent pricing and risk analysis - http://opensourcerisk.org
ORE is free software: you can redistribute it and/or modify it
under the terms of the Modified BSD License... | 45.341837 | 120 | 0.738382 | PiotrSiejda |
e4043fd358a98ab0d838f1acaa68aea2e815df92 | 951 | hpp | C++ | microptp/config.hpp | decimad/microptp | bc7e10ddafc9015d480425f3f462ae086bf48c3b | [
"BSL-1.0"
] | 3 | 2015-07-14T19:22:18.000Z | 2015-12-03T01:15:15.000Z | microptp/config.hpp | decimad/microptp | bc7e10ddafc9015d480425f3f462ae086bf48c3b | [
"BSL-1.0"
] | 1 | 2015-12-02T23:46:25.000Z | 2015-12-04T14:17:43.000Z | microptp/config.hpp | decimad/microptp | bc7e10ddafc9015d480425f3f462ae086bf48c3b | [
"BSL-1.0"
] | null | null | null | // Copyright Michael Steinberg 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)
#ifndef SYSTEM_MICROPTP_MICROPTP_CONFIG_HPP_
#define SYSTEM_MICROPTP_MICROPTP_CONFIG_HPP_
#include <micro... | 22.642857 | 69 | 0.741325 | decimad |
e4070845458d6f19ddf0c15ea52dc80f8366e609 | 5,201 | cpp | C++ | Sail/src/API/DX11/shader/DX11InputLayout.cpp | h3nx/Sail | 96c13ee50bf9666c01bb8bb263e0c2dc3ba0eff9 | [
"MIT"
] | 1 | 2020-09-03T09:53:45.000Z | 2020-09-03T09:53:45.000Z | Sail/src/API/DX11/shader/DX11InputLayout.cpp | h3nx/Sail | 96c13ee50bf9666c01bb8bb263e0c2dc3ba0eff9 | [
"MIT"
] | null | null | null | Sail/src/API/DX11/shader/DX11InputLayout.cpp | h3nx/Sail | 96c13ee50bf9666c01bb8bb263e0c2dc3ba0eff9 | [
"MIT"
] | 1 | 2021-01-31T05:27:36.000Z | 2021-01-31T05:27:36.000Z | #include "pch.h"
#include "../DX11API.h"
#include "DX11InputLayout.h"
#include "Sail/Application.h"
InputLayout* InputLayout::Create() {
return SAIL_NEW DX11InputLayout();
}
DX11InputLayout::DX11InputLayout()
: InputLayout()
{ }
DX11InputLayout::~DX11InputLayout() {
Memory::SafeRelease(m_inputLayout);
}
void DX1... | 43.705882 | 181 | 0.781388 | h3nx |
e40735cc684aa63cc7d27cd32cd035c213ccef19 | 2,869 | cc | C++ | chromium/components/pdf/browser/pdf_web_contents_helper.cc | wedataintelligence/vivaldi-source | 22a46f2c969f6a0b7ca239a05575d1ea2738768c | [
"BSD-3-Clause"
] | null | null | null | chromium/components/pdf/browser/pdf_web_contents_helper.cc | wedataintelligence/vivaldi-source | 22a46f2c969f6a0b7ca239a05575d1ea2738768c | [
"BSD-3-Clause"
] | null | null | null | chromium/components/pdf/browser/pdf_web_contents_helper.cc | wedataintelligence/vivaldi-source | 22a46f2c969f6a0b7ca239a05575d1ea2738768c | [
"BSD-3-Clause"
] | null | null | null | // 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 "components/pdf/browser/pdf_web_contents_helper.h"
#include <utility>
#include "base/bind.h"
#include "base/strings/utf_string_conversions.... | 32.977011 | 79 | 0.765075 | wedataintelligence |
e40747c211e8941c3a1bb4f766431e17b5477028 | 1,243 | cpp | C++ | BZOJ/3875/brute.cpp | sjj118/OI-Code | 964ea6e799d14010f305c7e4aee269d860a781f7 | [
"MIT"
] | null | null | null | BZOJ/3875/brute.cpp | sjj118/OI-Code | 964ea6e799d14010f305c7e4aee269d860a781f7 | [
"MIT"
] | null | null | null | BZOJ/3875/brute.cpp | sjj118/OI-Code | 964ea6e799d14010f305c7e4aee269d860a781f7 | [
"MIT"
] | null | null | null | #include<iostream>
#include<cstdio>
#include<queue>
#define pli pair<LL,int>
#define mp make_pair
#define fi first
#define se second
#define rg register
#define rep(i,x,y) for(rg int i=(x);i<=(y);++i)
#define per(i,x,y) for(rg int i=(x);i>=(y);--i)
using namespace std;
typedef long long LL;
const int N=2e5+10,M=1e6+10;... | 26.446809 | 66 | 0.602574 | sjj118 |
e40a2bf75023cdeec08958fc8fabc796a873f0b1 | 11,743 | hxx | C++ | resip/stack/TransactionUser.hxx | dulton/reSipServer | ac4241df81c1e3eef2e678271ffef4dda1fc6747 | [
"Apache-2.0"
] | 1 | 2019-04-15T14:10:58.000Z | 2019-04-15T14:10:58.000Z | resip/stack/TransactionUser.hxx | dulton/reSipServer | ac4241df81c1e3eef2e678271ffef4dda1fc6747 | [
"Apache-2.0"
] | null | null | null | resip/stack/TransactionUser.hxx | dulton/reSipServer | ac4241df81c1e3eef2e678271ffef4dda1fc6747 | [
"Apache-2.0"
] | 2 | 2019-10-31T09:11:09.000Z | 2021-09-17T01:00:49.000Z | #if !defined(RESIP_TU_HXX)
#define RESIP_TU_HXX
#include <iosfwd>
#include <set>
#include "rutil/TimeLimitFifo.hxx"
#include "rutil/Data.hxx"
#include "rutil/CongestionManager.hxx"
#include "resip/stack/Message.hxx"
#include "resip/stack/MessageFilterRule.hxx"
namespace resip
{
class SipMessage;
/**
@brief The ... | 39.80678 | 89 | 0.668909 | dulton |
e40bf78aee0b38be1168a99cf5ff5e2f690c0040 | 2,192 | cpp | C++ | src/PhotonComponent/NetworkSystem.cpp | mak1a/SivComponent | 1043cde67a5dc14f2d4e0128aecfee7f54ed7002 | [
"MIT"
] | 1 | 2021-01-24T08:55:59.000Z | 2021-01-24T08:55:59.000Z | src/PhotonComponent/NetworkSystem.cpp | mak1a/SivComponent | 1043cde67a5dc14f2d4e0128aecfee7f54ed7002 | [
"MIT"
] | 2 | 2021-01-24T06:12:12.000Z | 2021-01-24T14:37:10.000Z | src/PhotonComponent/NetworkSystem.cpp | mak1a/SivComponent | 1043cde67a5dc14f2d4e0128aecfee7f54ed7002 | [
"MIT"
] | null | null | null | #define NO_S3D_USING
#include "NetworkSystem.hpp"
namespace ComponentEngine::Photon
{
NetworkSystem* NetworkSystem::instance = nullptr;
std::string NetworkObjectName()
{
return "PhotonSystem";
}
[[nodiscard]] s3d::String ConvertJStringToString(const ExitGames::Common::JString& str) {
... | 30.444444 | 158 | 0.663777 | mak1a |
e40d1bd6f22363279ad1910e69bb856c7eff6349 | 4,113 | cpp | C++ | Samples/Win7Samples/winui/shell/appplatform/UsingImageFactory/ImageFactorySample.cpp | windows-development/Windows-classic-samples | 96f883e4c900948e39660ec14a200a5164a3c7b7 | [
"MIT"
] | 8 | 2017-04-30T17:38:27.000Z | 2021-11-29T00:59:03.000Z | Samples/Win7Samples/winui/shell/appplatform/UsingImageFactory/ImageFactorySample.cpp | TomeSq/Windows-classic-samples | 96f883e4c900948e39660ec14a200a5164a3c7b7 | [
"MIT"
] | null | null | null | Samples/Win7Samples/winui/shell/appplatform/UsingImageFactory/ImageFactorySample.cpp | TomeSq/Windows-classic-samples | 96f883e4c900948e39660ec14a200a5164a3c7b7 | [
"MIT"
] | 2 | 2020-08-11T13:21:49.000Z | 2021-09-01T10:41:51.000Z | //////////////////////////////////////////////////////////////////////////////
//
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
// PARTICULAR PURPOSE.
//
... | 30.924812 | 195 | 0.508145 | windows-development |
e40d874a80a9001fb4d44742f76cb84c3fd81d85 | 13,816 | cpp | C++ | src/backends/miniaudio/AudioDevice_Miniaudio.cpp | xioxin/LabSound | 3e2568fcee9d0b07a91750380daec6305c20855e | [
"BSD-2-Clause"
] | 43 | 2015-02-11T15:52:38.000Z | 2020-01-08T18:19:27.000Z | src/backends/miniaudio/AudioDevice_Miniaudio.cpp | xioxin/LabSound | 3e2568fcee9d0b07a91750380daec6305c20855e | [
"BSD-2-Clause"
] | 2 | 2015-04-05T18:33:13.000Z | 2015-06-11T05:16:19.000Z | src/backends/miniaudio/AudioDevice_Miniaudio.cpp | xioxin/LabSound | 3e2568fcee9d0b07a91750380daec6305c20855e | [
"BSD-2-Clause"
] | 3 | 2015-02-22T09:10:51.000Z | 2015-08-09T22:49:22.000Z | // SPDX-License-Identifier: BSD-2-Clause
// Copyright (C) 2020, The LabSound Authors. All rights reserved.
#define LABSOUND_ENABLE_LOGGING
#include "AudioDevice_Miniaudio.h"
#include "internal/Assertions.h"
#include "internal/VectorMath.h"
#include "LabSound/core/AudioDevice.h"
#include "LabSound/core/AudioHardware... | 37.441734 | 201 | 0.672192 | xioxin |
e40dd9b4b23482132dae1631b2d553188fdb3406 | 2,075 | cpp | C++ | CSC-210/Chapter 4 & 5/C3P3_Credits.cpp | FrancesCoronel/cs-hu | ecd103a525fd312146d3b6c69ee7c1452548c5e2 | [
"MIT"
] | 2 | 2016-12-05T06:15:34.000Z | 2016-12-15T10:56:50.000Z | CSC-210/Chapter 4 & 5/C3P3_Credits.cpp | fvcproductions/CS-HU | ecd103a525fd312146d3b6c69ee7c1452548c5e2 | [
"MIT"
] | null | null | null | CSC-210/Chapter 4 & 5/C3P3_Credits.cpp | fvcproductions/CS-HU | ecd103a525fd312146d3b6c69ee7c1452548c5e2 | [
"MIT"
] | 3 | 2019-04-06T01:45:54.000Z | 2020-04-24T16:55:32.000Z | /*
FVCproductions
1-29-15
In-Class 03 - Part 3
Develop a C++ program that will determine whether a department-store customer has exceeded the credit limit ona charge account.
For each customer, the following facts are available:
(a) Account number (an integer)
(b) Balance at the beginning of the month
(c) To... | 23.314607 | 176 | 0.686747 | FrancesCoronel |
e410b4e798793c61d0895a2d8c7f9213d380578c | 2,242 | cpp | C++ | CCF/CCSP/2017/3-serial/brute.cpp | cnsteven/online-judge | 60ee841a97e2bc0dc9c7b23fe5daa186898ab8b7 | [
"MIT"
] | 1 | 2019-05-04T10:28:32.000Z | 2019-05-04T10:28:32.000Z | CCF/CCSP/2017/3-serial/brute.cpp | cnsteven/online-judge | 60ee841a97e2bc0dc9c7b23fe5daa186898ab8b7 | [
"MIT"
] | null | null | null | CCF/CCSP/2017/3-serial/brute.cpp | cnsteven/online-judge | 60ee841a97e2bc0dc9c7b23fe5daa186898ab8b7 | [
"MIT"
] | 3 | 2020-12-31T04:36:38.000Z | 2021-07-25T07:39:31.000Z | #include <bits/stdc++.h>
using namespace std;
const int N = 20011, M = 20011, E = 40011 * 2 + 1;
int n, m, pcnt, qcnt, pedge, head[M], idx[M];
struct Last {
int id, tk;
} lastW[N];
vector<Last> lastR[N];
struct Edge {
int ver, next;
} edges[E];
priority_queue<int> que;
struct BitSet {
const static in... | 22.877551 | 75 | 0.421499 | cnsteven |
e41225ed0d98e9c6a1a0560af664d9b53adf5468 | 16,505 | cpp | C++ | heekscad/src/OrientationModifier.cpp | JohnyEngine/CNC | e4c77250ab2b749d3014022cbb5eb9924e939993 | [
"Apache-2.0"
] | null | null | null | heekscad/src/OrientationModifier.cpp | JohnyEngine/CNC | e4c77250ab2b749d3014022cbb5eb9924e939993 | [
"Apache-2.0"
] | null | null | null | heekscad/src/OrientationModifier.cpp | JohnyEngine/CNC | e4c77250ab2b749d3014022cbb5eb9924e939993 | [
"Apache-2.0"
] | null | null | null |
#include "stdafx.h"
#include "OrientationModifier.h"
#include "../interface/PropertyChoice.h"
#include "../interface/PropertyInt.h"
#include "../interface/PropertyCheck.h"
#include "HeeksConfig.h"
void COrientationModifierParams::set_initial_values()
{
HeeksConfig config;
config.Read(_T("OrientationModifier_m_spa... | 32.173489 | 152 | 0.68864 | JohnyEngine |
e415f963b78d16ab5d2fe0e7607b8bb0e4cfa703 | 77 | cpp | C++ | engine/plyMaker.cpp | heyday665/symmetrical-pancake | 4e3bb710923dc7162d0562185ee9ba76b0c46bf5 | [
"MIT"
] | null | null | null | engine/plyMaker.cpp | heyday665/symmetrical-pancake | 4e3bb710923dc7162d0562185ee9ba76b0c46bf5 | [
"MIT"
] | null | null | null | engine/plyMaker.cpp | heyday665/symmetrical-pancake | 4e3bb710923dc7162d0562185ee9ba76b0c46bf5 | [
"MIT"
] | null | null | null | #include "plyMaker.h"
PLYMAKER::PLYMAKER()
{
}
PLYMAKER::~PLYMAKER()
{
}
| 6.416667 | 21 | 0.623377 | heyday665 |
e418edc7d82c1ae5708e1ad9437358504f09ebe9 | 2,254 | cpp | C++ | libs/MPILib/src/utilities/CircularDistribution.cpp | dekamps/miind | 4b321c62c2bd27eb0d5d8336a16a9e840ba63856 | [
"MIT"
] | 13 | 2015-09-15T17:28:25.000Z | 2022-03-22T20:26:47.000Z | libs/MPILib/src/utilities/CircularDistribution.cpp | dekamps/miind | 4b321c62c2bd27eb0d5d8336a16a9e840ba63856 | [
"MIT"
] | 41 | 2015-08-25T07:50:55.000Z | 2022-03-21T16:20:37.000Z | libs/MPILib/src/utilities/CircularDistribution.cpp | dekamps/miind | 4b321c62c2bd27eb0d5d8336a16a9e840ba63856 | [
"MIT"
] | 9 | 2015-09-14T20:52:07.000Z | 2022-03-08T12:18:18.000Z | // Copyright (c) 2005 - 2012 Marc de Kamps
// 2012 David-Matthias Sichau
// 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 copyr... | 47.957447 | 162 | 0.777728 | dekamps |
e41c20061d618e55c21ad1e8605c6c1b03dedfb9 | 12,355 | cpp | C++ | source/utility_parse.cpp | DynasticSponge/Frederick2 | 410ad4a3ca43547d645248e13d27497e6c5b5f26 | [
"MIT"
] | null | null | null | source/utility_parse.cpp | DynasticSponge/Frederick2 | 410ad4a3ca43547d645248e13d27497e6c5b5f26 | [
"MIT"
] | null | null | null | source/utility_parse.cpp | DynasticSponge/Frederick2 | 410ad4a3ca43547d645248e13d27497e6c5b5f26 | [
"MIT"
] | null | null | null | //
// utility_parse.cpp
// ~~~~~~~~~~~~~~~~~
//
// Author: Joseph Adomatis
// Copyright (c) 2020 Joseph R Adomatis (joseph dot adomatis at gmail dot com)
//
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
#include <algorithm>
#include <exception>
... | 38.132716 | 119 | 0.299555 | DynasticSponge |
e4219840a75fd304bcd009ff8726b4b73a3bb05c | 14,312 | cpp | C++ | TVTest_0.7.23_Src/NetworkRemocon.cpp | mark10als/TVTest_0.7.23_fix_Sources | 313c295ab67a39bb285303ad814ee4f5aa15d921 | [
"libpng-2.0"
] | null | null | null | TVTest_0.7.23_Src/NetworkRemocon.cpp | mark10als/TVTest_0.7.23_fix_Sources | 313c295ab67a39bb285303ad814ee4f5aa15d921 | [
"libpng-2.0"
] | null | null | null | TVTest_0.7.23_Src/NetworkRemocon.cpp | mark10als/TVTest_0.7.23_fix_Sources | 313c295ab67a39bb285303ad814ee4f5aa15d921 | [
"libpng-2.0"
] | null | null | null | #include "stdafx.h"
#include "TVTest.h"
#include "AppMain.h"
#include "NetworkRemocon.h"
#include "resource.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
#pragma comment(lib,"Ws2_32.lib")
class CSendStringInfo {
public:
CNetworkRemocon *m_pRemocon;
char *m_pBu... | 23.462295 | 92 | 0.712759 | mark10als |
e424c4bbe7e1da7cd4fc349e2cca6f7099b9ad70 | 11,594 | cpp | C++ | src/proposal.cpp | OpenIKEv2/libopenikev2 | 9d91225e5917cbc9afc83db37dfe4905c5501d01 | [
"Apache-2.0"
] | 7 | 2017-02-27T17:52:26.000Z | 2021-12-15T06:03:26.000Z | src/proposal.cpp | David-WL/libopenikev2 | 9d91225e5917cbc9afc83db37dfe4905c5501d01 | [
"Apache-2.0"
] | 5 | 2017-03-02T20:16:41.000Z | 2017-11-04T08:23:13.000Z | src/proposal.cpp | David-WL/libopenikev2 | 9d91225e5917cbc9afc83db37dfe4905c5501d01 | [
"Apache-2.0"
] | 3 | 2017-04-12T00:25:25.000Z | 2021-09-23T09:13:27.000Z | /***************************************************************************
* Copyright (C) 2005 by *
* Pedro J. Fernandez Ruiz pedroj@um.es *
* Alejandro Perez Mendez alex@um.es *
* ... | 36.574132 | 128 | 0.568829 | OpenIKEv2 |
e4255dbc4c4cc6663e965218e9e9126f37c2c60c | 13,319 | cpp | C++ | PongCommon/PlayerSlot.cpp | Higami69/Leviathan | 90f68f9f6e5506d6133bcefcf35c8e84f158483b | [
"BSL-1.0"
] | 16 | 2018-12-22T02:09:05.000Z | 2022-03-09T20:38:59.000Z | PongCommon/PlayerSlot.cpp | Higami69/Leviathan | 90f68f9f6e5506d6133bcefcf35c8e84f158483b | [
"BSL-1.0"
] | 46 | 2018-04-02T11:06:01.000Z | 2019-12-14T11:16:04.000Z | PongCommon/PlayerSlot.cpp | Higami69/Leviathan | 90f68f9f6e5506d6133bcefcf35c8e84f158483b | [
"BSL-1.0"
] | 14 | 2018-04-09T02:26:15.000Z | 2021-09-11T03:12:15.000Z | // ------------------------------------ //
#ifndef PONG_PLAYERSLOT
#include "PlayerSlot.h"
#endif
#include "Iterators/StringIterator.h"
#include "Networking/NetworkServerInterface.h"
#include "Utility/ComplainOnce.h"
#include "Entities/Components.h"
#include "CommonPong.h"
#ifdef PONG_VERSION
#include "PongGame.h"
#i... | 26.426587 | 118 | 0.611908 | Higami69 |
e4293959199c064d4c22a04c770f3ba6c842728f | 654 | hh | C++ | seed/include/ActionInitialization.hh | MeighenBergerS/fennel | c2e4640ef34e0ed88c0c50e5dde36c7d9fa39db6 | [
"MIT"
] | null | null | null | seed/include/ActionInitialization.hh | MeighenBergerS/fennel | c2e4640ef34e0ed88c0c50e5dde36c7d9fa39db6 | [
"MIT"
] | null | null | null | seed/include/ActionInitialization.hh | MeighenBergerS/fennel | c2e4640ef34e0ed88c0c50e5dde36c7d9fa39db6 | [
"MIT"
] | null | null | null | /// \file ActionInitialization.hh
/// \brief Definition of the ActionInitialization class
#ifndef ActionInitialization_h
#define ActionInitialization_h 1
#include "G4VUserActionInitialization.hh"
class DetectorConstruction;
/// Action initialization class.
class ActionInitialization : public G4VUserActionInitializ... | 20.4375 | 80 | 0.746177 | MeighenBergerS |
e42ac5221712acf84be31ce12b0274982cc7a749 | 1,008 | cc | C++ | tests/mpi.lib/sanity.cc | PyreFramework/pyre | 345c7449a3416eea1c1affa74fb32faff30a6aaa | [
"BSD-3-Clause"
] | null | null | null | tests/mpi.lib/sanity.cc | PyreFramework/pyre | 345c7449a3416eea1c1affa74fb32faff30a6aaa | [
"BSD-3-Clause"
] | null | null | null | tests/mpi.lib/sanity.cc | PyreFramework/pyre | 345c7449a3416eea1c1affa74fb32faff30a6aaa | [
"BSD-3-Clause"
] | null | null | null | // -*- coding: utf-8 -*-
//
// michael a.g. aïvázis
// orthologue
// (c) 1998-2022 all rights reserved
//
// for the build system
#include <portinfo>
// access to the raw mpi routines
#include <pyre/mpi.h>
// and the journal
#include <pyre/journal.h>
// main program
int main(int argc, char *argv[]) {
// initi... | 19.764706 | 60 | 0.60119 | PyreFramework |
e42af3e405ca379249fb4f38ca9ca44c78dbe1e5 | 7,373 | cxx | C++ | GPU/GPUTracking/Base/opencl2/GPUReconstructionOCL2.cxx | chengtt0406/AliRoot | c1d89b133b433f608b2373112d3608d8cec26095 | [
"BSD-3-Clause"
] | 52 | 2016-12-11T13:04:01.000Z | 2022-03-11T11:49:35.000Z | GPU/GPUTracking/Base/opencl2/GPUReconstructionOCL2.cxx | chengtt0406/AliRoot | c1d89b133b433f608b2373112d3608d8cec26095 | [
"BSD-3-Clause"
] | 1,388 | 2016-11-01T10:27:36.000Z | 2022-03-30T15:26:09.000Z | GPU/GPUTracking/Base/opencl2/GPUReconstructionOCL2.cxx | chengtt0406/AliRoot | c1d89b133b433f608b2373112d3608d8cec26095 | [
"BSD-3-Clause"
] | 275 | 2016-06-21T20:24:05.000Z | 2022-03-31T13:06:19.000Z | //**************************************************************************\
//* This file is property of and copyright by the ALICE Project *\
//* ALICE Experiment at CERN, All rights reserved. *\
//* *\
//* Prim... | 44.957317 | 224 | 0.696731 | chengtt0406 |
e42afc9d488b84f0dff903ff4f851b4f804214fe | 3,141 | cpp | C++ | cpgf/test/temp/test_temp.cpp | mousepawmedia/libdeps | b004d58d5b395ceaf9fdc993cfb00e91334a5d36 | [
"BSD-3-Clause"
] | null | null | null | cpgf/test/temp/test_temp.cpp | mousepawmedia/libdeps | b004d58d5b395ceaf9fdc993cfb00e91334a5d36 | [
"BSD-3-Clause"
] | null | null | null | cpgf/test/temp/test_temp.cpp | mousepawmedia/libdeps | b004d58d5b395ceaf9fdc993cfb00e91334a5d36 | [
"BSD-3-Clause"
] | null | null | null | #include "../unittestbase.h"
#include "luabind_common.h"
#include "cpgf/gmetaclass.h"
#include "cpgf/gmetadefine.h"
#include "cpgf/goutmain.h"
#include <iostream>
namespace Test_Temp { namespace {
using namespace cpgf;
using namespace std;
class TestOperator
{
public:
TestOperator() : value(0) {
}
TestOperato... | 22.119718 | 111 | 0.682904 | mousepawmedia |
e42e39811d115bc810ffd4b7f6a704411adc14c2 | 4,798 | cpp | C++ | Practice/2019.1.18/BZOJ3159.cpp | SYCstudio/OI | 6e9bfc17dbd4b43467af9b19aa2aed41e28972fa | [
"MIT"
] | 4 | 2017-10-31T14:25:18.000Z | 2018-06-10T16:10:17.000Z | Practice/2019.1.18/BZOJ3159.cpp | SYCstudio/OI | 6e9bfc17dbd4b43467af9b19aa2aed41e28972fa | [
"MIT"
] | null | null | null | Practice/2019.1.18/BZOJ3159.cpp | SYCstudio/OI | 6e9bfc17dbd4b43467af9b19aa2aed41e28972fa | [
"MIT"
] | null | null | null | #include<cstdio>
#include<cstdlib>
#include<cstring>
#include<algorithm>
using namespace std;
#define mem(Arr,x) memset(Arr,x,sizeof(Arr))
#define Max(x,y) x=max(x,y)
#define Min(x,y) x=min(x,y)
#define ll long long
const int maxN=50500;
const int maxM=maxN<<1;
class Treap
{
public:
int ls,rs,sz;
ll sum,mx,mn,pls,... | 18.964427 | 68 | 0.544185 | SYCstudio |
e42eb46eea87f0a320c6b9b590bce4e6b8df866f | 757 | hpp | C++ | src/estd/memory.hpp | hvellyr/sairy | 3b7b797c71384222d58b67bded24ee5b5cc6aa2a | [
"BSD-3-Clause"
] | null | null | null | src/estd/memory.hpp | hvellyr/sairy | 3b7b797c71384222d58b67bded24ee5b5cc6aa2a | [
"BSD-3-Clause"
] | null | null | null | src/estd/memory.hpp | hvellyr/sairy | 3b7b797c71384222d58b67bded24ee5b5cc6aa2a | [
"BSD-3-Clause"
] | 1 | 2018-01-29T10:57:09.000Z | 2018-01-29T10:57:09.000Z | // Copyright (c) 2020 Gregor Klinke
#pragma once
#include "config.hpp"
#include "estd/type_traits.hpp"
#include <memory>
#include <type_traits>
#include <utility>
namespace eyestep {
namespace estd {
#if !defined(TEXTBOOK_HAVE_STD_MAKE_UNIQUE)
template <class T, class... Args>
auto make_unique(Args&&... arg... | 19.410256 | 80 | 0.681638 | hvellyr |
e42f22e4ef0939ef4e4a2703d3fea7caf55d8581 | 1,806 | hpp | C++ | src/fd_stencils.hpp | JLRipley314/spherically-symmetric-Z2-edgb | c2311a79d2ec08073541c98f6b06b6f54fbb58e4 | [
"MIT"
] | null | null | null | src/fd_stencils.hpp | JLRipley314/spherically-symmetric-Z2-edgb | c2311a79d2ec08073541c98f6b06b6f54fbb58e4 | [
"MIT"
] | null | null | null | src/fd_stencils.hpp | JLRipley314/spherically-symmetric-Z2-edgb | c2311a79d2ec08073541c98f6b06b6f54fbb58e4 | [
"MIT"
] | 2 | 2021-07-06T01:45:19.000Z | 2021-07-30T18:35:09.000Z | #ifndef _FD_STENCILS_H_
#define _FD_STENCILS_H_
#include <vector>
#include <string>
/*===========================================================================*/
void KO_filter(
const int exc_i, const int nx,
const std::string type, std::vector<double> &vec);
/*====================================================... | 21.5 | 79 | 0.43577 | JLRipley314 |
e4300d3f74ace6d68c727f6de690a5e6e1e618fa | 623 | cc | C++ | packages/mccomponents/mccomponentsbpmodule/wrap_DGSSXResPixel.cc | mcvine/mcvine | 42232534b0c6af729628009bed165cd7d833789d | [
"BSD-3-Clause"
] | 5 | 2017-01-16T03:59:47.000Z | 2020-06-23T02:54:19.000Z | packages/mccomponents/mccomponentsbpmodule/wrap_DGSSXResPixel.cc | mcvine/mcvine | 42232534b0c6af729628009bed165cd7d833789d | [
"BSD-3-Clause"
] | 293 | 2015-10-29T17:45:52.000Z | 2022-01-07T16:31:09.000Z | packages/mccomponents/mccomponentsbpmodule/wrap_DGSSXResPixel.cc | mcvine/mcvine | 42232534b0c6af729628009bed165cd7d833789d | [
"BSD-3-Clause"
] | 1 | 2019-05-25T00:53:31.000Z | 2019-05-25T00:53:31.000Z | // -*- C++ -*-
//
//
#include "mccomponents/homogeneous_scatterer/AbstractScatteringKernel.h"
#include "mccomponents/homogeneous_scatterer/DGSSXResPixel.h"
#include "mccomposite/boostpython_binding/wrap_scatterer.h"
namespace wrap_mccomponents {
void wrap_DGSSXResPixel()
{
using namespace mccomposite::boo... | 18.323529 | 72 | 0.667737 | mcvine |
e433bad26c6094b8709f4fa172a436ad7efdce4d | 7,978 | cpp | C++ | src/SysProcess.cpp | Yhgenomics/maraton-framework | 9044321d8c252c635a197a5c32512cb0538688f1 | [
"MIT"
] | 4 | 2015-11-12T03:51:46.000Z | 2015-11-13T03:29:04.000Z | src/SysProcess.cpp | Yhgenomics/maraton-framework | 9044321d8c252c635a197a5c32512cb0538688f1 | [
"MIT"
] | null | null | null | src/SysProcess.cpp | Yhgenomics/maraton-framework | 9044321d8c252c635a197a5c32512cb0538688f1 | [
"MIT"
] | null | null | null | #include "SysProcess.h"
#include <thread>
#include <string.h>
#include <memory>
#include <thread>
#include "maraton.h"
#ifdef _WIN32
#include <direct.h>
#else
#include <unistd.h>
#endif
SysProcess::~SysProcess()
{
if ( this->file_ != NULL )
{
delete this->file_;
this->file_ = NULL;
}
... | 25.488818 | 83 | 0.526573 | Yhgenomics |
e4347b57eaec58c9042fa7ed21d13af0ca311db5 | 2,692 | hpp | C++ | Engine/Source/ThirdParty/mtlpp/mtlpp-master-7efad47/src/compute_command_encoder.hpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | 1 | 2022-01-29T18:36:12.000Z | 2022-01-29T18:36:12.000Z | Engine/Source/ThirdParty/mtlpp/mtlpp-master-7efad47/src/compute_command_encoder.hpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | null | null | null | Engine/Source/ThirdParty/mtlpp/mtlpp-master-7efad47/src/compute_command_encoder.hpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | null | null | null | /*
* Copyright 2016-2017 Nikolay Aleksiev. All rights reserved.
* License: https://github.com/naleksiev/mtlpp/blob/master/LICENSE
*/
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
// Modifications for Unreal Engine
#pragma once
#include "defines.hpp"
#include "ns.hpp"
#include "command_encoder.hpp"
#... | 53.84 | 176 | 0.753715 | windystrife |
e43793741d62a54bd63c15b5236573d181bb4bf8 | 5,325 | cpp | C++ | lib/Transforms/Loop/PartialAffineLoopTile.cpp | Luke-Jacobs/scalehls | 76e3980b9ddd1f8f01606d1bf53ef03eb3a8e502 | [
"Apache-2.0"
] | 60 | 2021-07-30T03:30:35.000Z | 2022-03-27T20:00:41.000Z | lib/Transforms/Loop/PartialAffineLoopTile.cpp | Luke-Jacobs/scalehls | 76e3980b9ddd1f8f01606d1bf53ef03eb3a8e502 | [
"Apache-2.0"
] | 13 | 2021-08-02T16:13:04.000Z | 2022-03-30T23:43:45.000Z | lib/Transforms/Loop/PartialAffineLoopTile.cpp | Luke-Jacobs/scalehls | 76e3980b9ddd1f8f01606d1bf53ef03eb3a8e502 | [
"Apache-2.0"
] | 14 | 2021-07-30T12:55:01.000Z | 2022-03-04T14:29:39.000Z | //===----------------------------------------------------------------------===//
//
// Copyright 2020-2021 The ScaleHLS Authors.
//
//===----------------------------------------------------------------------===//
#include "mlir/Analysis/LoopAnalysis.h"
#include "mlir/Analysis/Utils.h"
#include "mlir/Dialect/Affine/Uti... | 31.886228 | 80 | 0.659155 | Luke-Jacobs |
e43b025db5216ecde8d795491dda551f8852a178 | 666 | cpp | C++ | src/graphics/gl/buffer.cpp | Eae02/tank-game | 0c526b177ccc15dd49e3228489163f13335040db | [
"Zlib"
] | null | null | null | src/graphics/gl/buffer.cpp | Eae02/tank-game | 0c526b177ccc15dd49e3228489163f13335040db | [
"Zlib"
] | null | null | null | src/graphics/gl/buffer.cpp | Eae02/tank-game | 0c526b177ccc15dd49e3228489163f13335040db | [
"Zlib"
] | null | null | null | #include "buffer.h"
#include <algorithm>
namespace TankGame
{
Buffer::Buffer(size_t size, const void* data, GLbitfield flags)
{
GLuint buffer;
glCreateBuffers(1, &buffer);
SetID(buffer);
glNamedBufferStorage(buffer, size, data, flags);
}
void DeleteBuffer(GLuint id)
{
glDeleteBuffers(1, &id);
}
... | 19.028571 | 74 | 0.728228 | Eae02 |
e43cc6b2590bdc1557387cde4511362ac74c96c4 | 5,036 | cpp | C++ | src/tests/unit/cpu/shape_inference_test/gather_shape_inference.cpp | ryanloney/openvino-1 | 4e0a740eb3ee31062ba0df88fcf438564f67edb7 | [
"Apache-2.0"
] | 1 | 2022-03-09T08:11:10.000Z | 2022-03-09T08:11:10.000Z | src/tests/unit/cpu/shape_inference_test/gather_shape_inference.cpp | ryanloney/openvino-1 | 4e0a740eb3ee31062ba0df88fcf438564f67edb7 | [
"Apache-2.0"
] | 18 | 2022-01-21T08:42:58.000Z | 2022-03-28T13:21:31.000Z | src/tests/unit/cpu/shape_inference_test/gather_shape_inference.cpp | ryanloney/openvino-1 | 4e0a740eb3ee31062ba0df88fcf438564f67edb7 | [
"Apache-2.0"
] | 1 | 2020-12-13T22:16:54.000Z | 2020-12-13T22:16:54.000Z | // Copyright (C) 2018-2022 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#include <gtest/gtest.h>
#include <gather_shape_inference.hpp>
#include <openvino/op/gather.hpp>
#include <openvino/op/ops.hpp>
#include <openvino/op/parameter.hpp>
#include <utils/shape_inference/shape_inference.hpp>
#include <uti... | 53.010526 | 106 | 0.673153 | ryanloney |
e43cff509538b2ed8441f84f7de5a62451e5cde4 | 6,474 | cc | C++ | source/jones/cartridge/mapper/mapper_mmc1.cc | JonForShort/nes-emulator | 513d00a0f1774a262d8a879367db8d3c2a69fbc1 | [
"MIT"
] | 2 | 2018-01-24T01:18:07.000Z | 2018-12-29T05:17:32.000Z | source/jones/cartridge/mapper/mapper_mmc1.cc | JonForShort/nes-emulator | 513d00a0f1774a262d8a879367db8d3c2a69fbc1 | [
"MIT"
] | null | null | null | source/jones/cartridge/mapper/mapper_mmc1.cc | JonForShort/nes-emulator | 513d00a0f1774a262d8a879367db8d3c2a69fbc1 | [
"MIT"
] | null | null | null | //
// MIT License
//
// Copyright 2019
//
// 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, publi... | 30.394366 | 126 | 0.700958 | JonForShort |
e43ee07a179e9a0ecad7a3794d5dd19de8d227e9 | 859 | cpp | C++ | SlatebackAppCLI/src/commands/ChangeRoll.cpp | filmbrood/Slateback | b512df3b3f13ba152bcf0801c2ad36676d57d2e2 | [
"MIT"
] | null | null | null | SlatebackAppCLI/src/commands/ChangeRoll.cpp | filmbrood/Slateback | b512df3b3f13ba152bcf0801c2ad36676d57d2e2 | [
"MIT"
] | 2 | 2020-09-22T09:19:48.000Z | 2020-09-22T09:28:57.000Z | SlatebackAppCLI/src/commands/ChangeRoll.cpp | filmbrood/Slateback | b512df3b3f13ba152bcf0801c2ad36676d57d2e2 | [
"MIT"
] | 1 | 2020-09-22T09:23:44.000Z | 2020-09-22T09:23:44.000Z | #include "sltcli_pch.h"
void ChangeRoll::OnInit()
{
SetInput("changeroll");
SetDesc("Change the active camera roll.");
}
void ChangeRoll::OnUpdate()
{
LoadSltProjXML("No projects created");
Camera& activeCamera = Controller::Get().GetActiveCamera();
std::cout << "Change active roll to: " << std::endl;
for (un... | 26.030303 | 100 | 0.66007 | filmbrood |
e4405cb598f66ec3b8d127f361e2be5e4b876a5b | 14,457 | cpp | C++ | tests/collection/test_download_data.cpp | adrianghc/HEMS | 94ffd85a050211efc6ef785b873ee39e906a8b78 | [
"MIT"
] | 4 | 2021-06-05T22:32:21.000Z | 2022-03-15T11:05:13.000Z | tests/collection/test_download_data.cpp | adrianghc/HEMS | 94ffd85a050211efc6ef785b873ee39e906a8b78 | [
"MIT"
] | 4 | 2021-06-06T10:23:28.000Z | 2021-06-06T10:42:24.000Z | tests/collection/test_download_data.cpp | adrianghc/HEMS | 94ffd85a050211efc6ef785b873ee39e906a8b78 | [
"MIT"
] | 1 | 2021-08-25T13:20:34.000Z | 2021-08-25T13:20:34.000Z | /*
* Copyright (c) 2020-2021 Adrian Georg Herrmann
*
* These are unit tests for the Measurement Collection Module.
*/
#include <cstdlib>
#include <boost/archive/text_iarchive.hpp>
#include <boost/archive/text_oarchive.hpp>
#include <boost/date_time/posix_time/posix_time.hpp>
#include "../test.hpp"
#include "../... | 35.784653 | 116 | 0.578682 | adrianghc |
e440c186df9c4351018a6ca10a5d689216c71b4a | 188 | cpp | C++ | set_matrix_zeroes.cpp | spencercjh/sync-leetcode-today-problem-cpp-example | 178a974e5848e3a620f4565170b459d50ecfdd6b | [
"Apache-2.0"
] | null | null | null | set_matrix_zeroes.cpp | spencercjh/sync-leetcode-today-problem-cpp-example | 178a974e5848e3a620f4565170b459d50ecfdd6b | [
"Apache-2.0"
] | 1 | 2020-12-17T07:54:03.000Z | 2020-12-17T08:00:22.000Z | set_matrix_zeroes.cpp | spencercjh/sync-leetcode-today-problem-cpp-example | 178a974e5848e3a620f4565170b459d50ecfdd6b | [
"Apache-2.0"
] | null | null | null | /**
* https://leetcode-cn.com/problems/set-matrix-zeroes/
*
* @author spencercjh
*/
class SetMatrixZeroes {
public:
void setZeroes(vector<vector<int>>& matrix) {
}
}
| 14.461538 | 54 | 0.62234 | spencercjh |
e4487fad43edde1a1fe15e3acce8c27d474fe4ba | 33,669 | cpp | C++ | retrace/daemon/glframe_state_override.cpp | devcode1981/apitrace | cf11139d6a05688b55c3ab08844a4c9c3c736ea2 | [
"MIT"
] | 1 | 2021-03-05T10:49:37.000Z | 2021-03-05T10:49:37.000Z | retrace/daemon/glframe_state_override.cpp | MarcelRaschke/apitrace | cf11139d6a05688b55c3ab08844a4c9c3c736ea2 | [
"MIT"
] | null | null | null | retrace/daemon/glframe_state_override.cpp | MarcelRaschke/apitrace | cf11139d6a05688b55c3ab08844a4c9c3c736ea2 | [
"MIT"
] | 1 | 2018-10-05T03:09:13.000Z | 2018-10-05T03:09:13.000Z | // Copyright (C) Intel Corp. 2017. All Rights Reserved.
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, mod... | 32.405197 | 79 | 0.623719 | devcode1981 |
e44a36b4ed211a2cfc08b5d47c38c4ef1139b106 | 2,722 | cpp | C++ | libyangrtc2/src/yangrtp/YangRtpFUAPayload2.cpp | yangxinghai/yangrtc | 92cc28ade5af6cbe22c151cd1220ab12816694e7 | [
"MIT"
] | 23 | 2021-09-13T06:24:34.000Z | 2022-03-24T10:05:12.000Z | libyangrtc2/src/yangrtp/YangRtpFUAPayload2.cpp | yangxinghai/yangrtc | 92cc28ade5af6cbe22c151cd1220ab12816694e7 | [
"MIT"
] | null | null | null | libyangrtc2/src/yangrtp/YangRtpFUAPayload2.cpp | yangxinghai/yangrtc | 92cc28ade5af6cbe22c151cd1220ab12816694e7 | [
"MIT"
] | 9 | 2021-09-13T06:27:44.000Z | 2022-03-02T00:23:17.000Z | #include <yangrtp/YangRtpFUAPayload2.h>
#include <yangrtp/YangRtpConstant.h>
#include <yangutil/sys/YangLog.h>
int32_t yang_parseFua2(YangBuffer* buf,YangFua2Packet* pkt){
if (!buf->require(2)) {
return yang_error_wrap(ERROR_RTC_RTP_MUXER, "requires %d bytes", 2);
}
// FU indicator, @see https://tools.ietf.or... | 24.522523 | 71 | 0.691403 | yangxinghai |
e44c41c4358c6a96c70c4c55d3437ed39b0675e6 | 8,978 | cpp | C++ | source/windows/brwindowsd3d.cpp | Olde-Skuul/burgerlib | 80848a4dfa17c5c05095ecea14a9bd87f86dfb9d | [
"Zlib"
] | 115 | 2015-01-18T17:29:30.000Z | 2022-01-30T04:31:48.000Z | source/windows/brwindowsd3d.cpp | Olde-Skuul/burgerlib | 80848a4dfa17c5c05095ecea14a9bd87f86dfb9d | [
"Zlib"
] | 9 | 2015-01-22T04:53:38.000Z | 2015-01-31T13:52:40.000Z | source/windows/brwindowsd3d.cpp | Olde-Skuul/burgerlib | 80848a4dfa17c5c05095ecea14a9bd87f86dfb9d | [
"Zlib"
] | 9 | 2015-01-23T20:06:46.000Z | 2020-05-20T16:06:00.000Z | /***************************************
Shims for d3d9.dll or d3dx9_43.dll
Copyright (c) 1995-2017 by Rebecca Ann Heineman <becky@burgerbecky.com>
It is released under an MIT Open Source license. Please see LICENSE for
license details. Yes, you can use it in a commercial title without paying
any... | 28.683706 | 77 | 0.712631 | Olde-Skuul |
e44c687e571f61f4ae181974bb3198e26edecb8d | 36,768 | cpp | C++ | simulator/mips/t/mips64_test.cpp | M-ximus/mipt-mips | ea0b131e3b70273a58311c6921998b6be4549b9c | [
"MIT"
] | null | null | null | simulator/mips/t/mips64_test.cpp | M-ximus/mipt-mips | ea0b131e3b70273a58311c6921998b6be4549b9c | [
"MIT"
] | null | null | null | simulator/mips/t/mips64_test.cpp | M-ximus/mipt-mips | ea0b131e3b70273a58311c6921998b6be4549b9c | [
"MIT"
] | null | null | null | /* MIPS Instruction unit tests
* @author: Pavel Kryukov, Vsevolod Pukhov, Egor Bova
* Copyright (C) MIPT-MIPS 2017-2019
*/
#include <mips/mips.h>
#include <mips/mips_instr.h>
#include <catch.hpp>
#include <memory/memory.h>
class MIPS64Instr : public BaseMIPSInstr<uint64>
{
public:
explicit MIPS64Instr( uint32... | 28.067176 | 157 | 0.597068 | M-ximus |
e44cb9dac8125d1ce0238dc4653c56447bbd7131 | 74,202 | cpp | C++ | src/rpc/walletdump.cpp | Ankh-Trust/credit-core | fa6fd67bdc9846cc40ee24f9a64e610e634b9356 | [
"MIT"
] | 2 | 2019-10-31T11:56:31.000Z | 2019-11-02T08:48:45.000Z | src/rpc/walletdump.cpp | Ankh-fdn/credit-core | fa6fd67bdc9846cc40ee24f9a64e610e634b9356 | [
"MIT"
] | 2 | 2019-11-22T18:49:20.000Z | 2020-10-06T11:44:46.000Z | src/rpc/walletdump.cpp | Ankh-fdn/credit-core | fa6fd67bdc9846cc40ee24f9a64e610e634b9356 | [
"MIT"
] | 1 | 2020-06-09T16:15:27.000Z | 2020-06-09T16:15:27.000Z | // Copyright (c) 2016-2019 Duality Blockchain Solutions Developers
// Copyright (c) 2014-2019 The Dash Core Developers
// Copyright (c) 2009-2019 The Bitcoin Developers
// Copyright (c) 2009-2019 Satoshi Nakamoto
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opens... | 43.241259 | 328 | 0.616533 | Ankh-Trust |
e44e4c4347d86fc185952146b58e3a2663aa2efa | 641 | cpp | C++ | demo/main.cpp | Gustafsson88/lr_06 | 12c4c2651c577478331cd81bb2d07bf7ec133d5b | [
"MIT"
] | null | null | null | demo/main.cpp | Gustafsson88/lr_06 | 12c4c2651c577478331cd81bb2d07bf7ec133d5b | [
"MIT"
] | null | null | null | demo/main.cpp | Gustafsson88/lr_06 | 12c4c2651c577478331cd81bb2d07bf7ec133d5b | [
"MIT"
] | null | null | null | #include <header.hpp>
#include <mutex>
int main(int argc, char *argv[]) {
std::mutex mut;
Create_HASH::logging();
unsigned int thread_count;
if (argc >= 2)
{
thread_count = boost::lexical_cast<int unsigned>(argv[1]);
}
else thread_count = std::thread::hardware_concurrency();
std::cout << "Thread co... | 24.653846 | 66 | 0.650546 | Gustafsson88 |
e44ff1593cdbb90d2f8be668979fef4b31dded58 | 4,149 | hpp | C++ | ZarroKey/UiMainWindow.hpp | MariusOlteanu/ZarroKey | d6bdedaa5ca1c5ffa531cbcc35af0a3b6aa7715d | [
"MIT"
] | null | null | null | ZarroKey/UiMainWindow.hpp | MariusOlteanu/ZarroKey | d6bdedaa5ca1c5ffa531cbcc35af0a3b6aa7715d | [
"MIT"
] | null | null | null | ZarroKey/UiMainWindow.hpp | MariusOlteanu/ZarroKey | d6bdedaa5ca1c5ffa531cbcc35af0a3b6aa7715d | [
"MIT"
] | null | null | null | //
// Copyright(c) 2022 Marius Olteanu olteanu.marius@gmail.com
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this softwareand associated documentation files(the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to u... | 31.431818 | 116 | 0.689082 | MariusOlteanu |
e4517071e0a1e791d4b33e2844e3b65937a674ad | 1,111 | hpp | C++ | include/polarai/utils/string/String.hpp | alexbatashev/athena | eafbb1e16ed0b273a63a20128ebd4882829aa2db | [
"MIT"
] | 2 | 2020-07-16T06:42:27.000Z | 2020-07-16T06:42:28.000Z | include/polarai/utils/string/String.hpp | PolarAI/polarai-framework | c5fd886732afe787a06ebf6fb05fc38069257457 | [
"MIT"
] | null | null | null | include/polarai/utils/string/String.hpp | PolarAI/polarai-framework | c5fd886732afe787a06ebf6fb05fc38069257457 | [
"MIT"
] | null | null | null | //===----------------------------------------------------------------------===//
// Copyright (c) 2020 PolarAI. All rights reserved.
//
// Licensed under MIT license.
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
//... | 30.027027 | 80 | 0.629163 | alexbatashev |
e45b2d1f7bd8756914f85113de8f1d8e07cd547e | 2,411 | hpp | C++ | dev/so_5/disp/prio_one_thread/quoted_round_robin/h/quotes.hpp | eao197/so-5-5 | fa0c31c84d2637dce04e13a155040150d505fbbd | [
"BSL-1.0"
] | 76 | 2016-03-25T15:22:03.000Z | 2022-02-03T15:11:43.000Z | dev/so_5/disp/prio_one_thread/quoted_round_robin/h/quotes.hpp | eao197/so-5-5 | fa0c31c84d2637dce04e13a155040150d505fbbd | [
"BSL-1.0"
] | 19 | 2017-03-09T19:21:53.000Z | 2021-02-24T13:02:18.000Z | dev/so_5/disp/prio_one_thread/quoted_round_robin/h/quotes.hpp | eao197/so-5-5 | fa0c31c84d2637dce04e13a155040150d505fbbd | [
"BSL-1.0"
] | 21 | 2016-09-23T10:01:09.000Z | 2020-08-31T12:01:10.000Z | /*
* SObjectizer-5
*/
/*!
* \since
* v.5.5.8
*
* \file
* \brief A storage of quotes for priorities.
*/
#pragma once
#include <so_5/h/priority.hpp>
#include <so_5/h/exception.hpp>
#include <so_5/h/ret_code.hpp>
#include <algorithm>
#include <iterator>
namespace so_5 {
namespace disp ... | 21.918182 | 74 | 0.636251 | eao197 |
e45cd53c74a73fa804416f878ee5dfd9801baa74 | 6,047 | cpp | C++ | apps/LkDemo/LkDemo.cpp | hcl3210/opencv | b34b1c3540716a3dadfd2b9e3bbc4253774c636d | [
"BSD-3-Clause"
] | 1 | 2016-05-09T11:42:00.000Z | 2016-05-09T11:42:00.000Z | apps/LkDemo/LkDemo.cpp | hcl3210/opencv | b34b1c3540716a3dadfd2b9e3bbc4253774c636d | [
"BSD-3-Clause"
] | null | null | null | apps/LkDemo/LkDemo.cpp | hcl3210/opencv | b34b1c3540716a3dadfd2b9e3bbc4253774c636d | [
"BSD-3-Clause"
] | null | null | null | /*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, instal... | 31.494792 | 90 | 0.680172 | hcl3210 |
e45ce52bd7a604b9356c17d9b009ceb92cc069bb | 1,445 | cpp | C++ | Userland/Applications/PixelPaint/ProjectLoader.cpp | qeeg/serenity | 587048dea7465f387b0ef8bbe439060c448bd996 | [
"BSD-2-Clause"
] | 6 | 2021-07-05T15:01:19.000Z | 2022-03-24T04:42:43.000Z | Userland/Applications/PixelPaint/ProjectLoader.cpp | qeeg/serenity | 587048dea7465f387b0ef8bbe439060c448bd996 | [
"BSD-2-Clause"
] | 2 | 2022-01-11T13:08:35.000Z | 2022-01-12T19:27:53.000Z | Userland/Applications/PixelPaint/ProjectLoader.cpp | qeeg/serenity | 587048dea7465f387b0ef8bbe439060c448bd996 | [
"BSD-2-Clause"
] | 1 | 2020-03-16T21:37:46.000Z | 2020-03-16T21:37:46.000Z | /*
* Copyright (c) 2021, Tobias Christiansen <tobyase@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include "ProjectLoader.h"
#include "Image.h"
#include "Layer.h"
#include <AK/JsonObject.h>
#include <AK/Result.h>
#include <AK/String.h>
#include <LibCore/File.h>
#include <LibCore/MappedFile.h>
#inc... | 26.759259 | 88 | 0.672664 | qeeg |
e45ceedbcac69101a3ee07122f37e6a76eac6bfd | 6,577 | cpp | C++ | irrlicht/examples/IrrlichtML/main.cpp | ousttrue/onibi | 016550c040182dbdc2b13fb0cef5f442c58bd8f4 | [
"FTL"
] | 1 | 2021-02-23T07:43:45.000Z | 2021-02-23T07:43:45.000Z | irrlicht/examples/IrrlichtML/main.cpp | ousttrue/onibi | 016550c040182dbdc2b13fb0cef5f442c58bd8f4 | [
"FTL"
] | null | null | null | irrlicht/examples/IrrlichtML/main.cpp | ousttrue/onibi | 016550c040182dbdc2b13fb0cef5f442c58bd8f4 | [
"FTL"
] | 1 | 2020-04-28T01:15:47.000Z | 2020-04-28T01:15:47.000Z | /*
* Irrlicht FreeType Demo
*/
#include <irrlicht.h>
#include <stdio.h>
#include "driverChoice.h"
using namespace irr;
using namespace core;
using namespace scene;
using namespace video;
using namespace io;
using namespace gui;
// Change your favorite settings
#define SIZE_FONT_NORMAL 12
#define SIZE_FONT_BIG 24
... | 25.296154 | 110 | 0.661092 | ousttrue |
e46a0b2a3c212927e5af453de8023340be0d349c | 6,220 | cpp | C++ | source/shared/cpp/AdaptiveCardsSharedModel/AdaptiveCardsSharedModelUnitTest/SemanticVersionTest.cpp | chienjchienj/AdaptiveCards | 949dc9b472cad9c34e8bb10e0c290eccbff56a92 | [
"MIT"
] | 1 | 2021-03-26T11:27:18.000Z | 2021-03-26T11:27:18.000Z | source/shared/cpp/AdaptiveCardsSharedModel/AdaptiveCardsSharedModelUnitTest/SemanticVersionTest.cpp | chienjchienj/AdaptiveCards | 949dc9b472cad9c34e8bb10e0c290eccbff56a92 | [
"MIT"
] | 12 | 2022-02-14T13:41:37.000Z | 2022-02-27T17:34:28.000Z | source/shared/cpp/AdaptiveCardsSharedModel/AdaptiveCardsSharedModelUnitTest/SemanticVersionTest.cpp | chienjchienj/AdaptiveCards | 949dc9b472cad9c34e8bb10e0c290eccbff56a92 | [
"MIT"
] | null | null | null | #include "stdafx.h"
#include "SemanticVersion.h"
#include "AdaptiveCardParseException.h"
using namespace Microsoft::VisualStudio::CppUnitTestFramework;
using namespace AdaptiveCards;
namespace AdaptiveCardsSharedModelUnitTest
{
TEST_CLASS(SemanticVersionTests)
{
public:
TEST_METHOD(PositiveTest)
... | 40.129032 | 144 | 0.505145 | chienjchienj |
e46a7f445a57e19c8f5f3a74eb0717ac01e3e3c6 | 2,633 | cpp | C++ | solutions/LeetCode/C++/872.cpp | timxor/leetcode-journal | 5f1cb6bcc44a5bc33d88fb5cdb4126dfc6f4232a | [
"MIT"
] | 854 | 2018-11-09T08:06:16.000Z | 2022-03-31T06:05:53.000Z | solutions/LeetCode/C++/872.cpp | timxor/leetcode-journal | 5f1cb6bcc44a5bc33d88fb5cdb4126dfc6f4232a | [
"MIT"
] | 29 | 2019-06-02T05:02:25.000Z | 2021-11-15T04:09:37.000Z | solutions/LeetCode/C++/872.cpp | timxor/leetcode-journal | 5f1cb6bcc44a5bc33d88fb5cdb4126dfc6f4232a | [
"MIT"
] | 347 | 2018-12-23T01:57:37.000Z | 2022-03-12T14:51:21.000Z | __________________________________________________________________________________________________
sample 4 ms submission
static int speedup = []() {
ios_base::sync_with_stdio(false);
cin.tie(nullptr);
return 0;
}();
vector<int> t1, t2;
void preOrder(TreeNode* root)
{
if (root == NULL)
return;
preOrder(root-... | 22.698276 | 98 | 0.533992 | timxor |
e46f80ba3cc7d93993b02fc35d12cf51659b828c | 2,523 | cpp | C++ | daemon/SummaryBuffer.cpp | rossburton/gator | 9d8d75fa08352470c51abc23fe3b314879bd8b78 | [
"BSD-3-Clause"
] | 118 | 2015-03-24T16:09:42.000Z | 2022-03-21T09:01:59.000Z | daemon/SummaryBuffer.cpp | rossburton/gator | 9d8d75fa08352470c51abc23fe3b314879bd8b78 | [
"BSD-3-Clause"
] | 26 | 2016-03-03T23:24:08.000Z | 2022-03-21T10:24:43.000Z | daemon/SummaryBuffer.cpp | rossburton/gator | 9d8d75fa08352470c51abc23fe3b314879bd8b78 | [
"BSD-3-Clause"
] | 73 | 2015-06-09T09:44:06.000Z | 2021-12-30T09:49:00.000Z | /* Copyright (C) 2013-2020 by Arm Limited. All rights reserved. */
#define BUFFER_USE_SESSION_DATA
#include "SummaryBuffer.h"
#include "BufferUtils.h"
#include "Logging.h"
#include "SessionData.h"
#include <cstring>
SummaryBuffer::SummaryBuffer(const int size, sem_t & readerSem) : buffer(size, readerSem)
{
// f... | 29 | 92 | 0.650416 | rossburton |
e470a5bea09fc55a1ad16c9b67faa6cad0f85501 | 1,882 | cpp | C++ | EightQueen.cpp | chenshiyang/Algorithm-C- | fc0f6c005b773d07ce03861c0f4f0f5411fc84c5 | [
"Apache-2.0"
] | null | null | null | EightQueen.cpp | chenshiyang/Algorithm-C- | fc0f6c005b773d07ce03861c0f4f0f5411fc84c5 | [
"Apache-2.0"
] | null | null | null | EightQueen.cpp | chenshiyang/Algorithm-C- | fc0f6c005b773d07ce03861c0f4f0f5411fc84c5 | [
"Apache-2.0"
] | null | null | null | #include<iostream>
#include<vector>
using namespace std;
const int NUM = 8;
void print_table(vector<vector<bool>> &table) {
cout << "A valid solution: " << endl;
for(int i = 0; i != NUM; ++ i) {
for(int j = 0; j != NUM; ++ j) {
cout << (table[i][j] ? "Q " : "+ ");
}
... | 29.873016 | 148 | 0.517003 | chenshiyang |
e47244b6c2aaadac557db5eb7b6e585c3abc4b4b | 1,353 | cc | C++ | third_party/blink/renderer/platform/context_lifecycle_notifier.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 14,668 | 2015-01-01T01:57:10.000Z | 2022-03-31T23:33:32.000Z | third_party/blink/renderer/platform/context_lifecycle_notifier.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 86 | 2015-10-21T13:02:42.000Z | 2022-03-14T07:50:50.000Z | third_party/blink/renderer/platform/context_lifecycle_notifier.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 5,941 | 2015-01-02T11:32:21.000Z | 2022-03-31T16:35:46.000Z | // Copyright 2021 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 "third_party/blink/renderer/platform/context_lifecycle_notifier.h"
#include "third_party/blink/renderer/platform/bindings/script_forbidden_scope... | 28.787234 | 80 | 0.796009 | zealoussnow |
e4730746fa0db58c2f1a3ad1f4d248d95224ebba | 696 | cpp | C++ | Topology.cpp | TheHolyBell/Hardware3D | 1879c498645dfec874ab25497d1c830482bbf0c7 | [
"MIT"
] | null | null | null | Topology.cpp | TheHolyBell/Hardware3D | 1879c498645dfec874ab25497d1c830482bbf0c7 | [
"MIT"
] | null | null | null | Topology.cpp | TheHolyBell/Hardware3D | 1879c498645dfec874ab25497d1c830482bbf0c7 | [
"MIT"
] | null | null | null | #include "Topology.h"
#include "BindableCodex.h"
namespace Bind
{
Topology::Topology(Graphics& gfx, D3D11_PRIMITIVE_TOPOLOGY topology)
: m_Topology(topology)
{
}
void Topology::Bind(Graphics& gfx) noxnd
{
GetContext(gfx)->IASetPrimitiveTopology(m_Topology);
}
std::string Topology::GetUID() const noexcept
... | 24 | 94 | 0.747126 | TheHolyBell |