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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ff8981a48d12dfee9b4d9d2cd76e1659de010af6 | 493 | hpp | C++ | source/Engine/GameObject.hpp | rincew1nd/Minesweeper-Switch | 6a441c4bbcc33cdbd0fe17fd5b9d4fb7e7cb0467 | [
"MIT"
] | 8 | 2018-06-27T00:34:11.000Z | 2018-09-07T06:56:20.000Z | source/Engine/GameObject.hpp | rincew1nd/Minesweeper-Switch | 6a441c4bbcc33cdbd0fe17fd5b9d4fb7e7cb0467 | [
"MIT"
] | null | null | null | source/Engine/GameObject.hpp | rincew1nd/Minesweeper-Switch | 6a441c4bbcc33cdbd0fe17fd5b9d4fb7e7cb0467 | [
"MIT"
] | 2 | 2018-06-28T03:02:07.000Z | 2019-01-26T06:02:17.000Z | #pragma once
#include "Input.hpp"
#include <switch.h>
#include "SDL2/SDL.h"
#include <vector>
#include <functional>
class GameObject
{
public:
GameObject(int, int, int, int);
void SetAction(std::function<void()>);
void Press() { if (_onPress != nullptr) _onPress(); };
bool Hovered(... | 20.541667 | 62 | 0.592292 | rincew1nd |
ff89b78858cd90644eef2fcf23f7ed0c4eab2411 | 4,870 | cpp | C++ | Code/Engine/Animation/Graph/Nodes/Animation_RuntimeGraphNode_Ragdoll.cpp | jagt/KRG | ba20cd8798997b0450491b0cc04dc817c4a4bc76 | [
"MIT"
] | 2 | 2022-03-25T17:37:45.000Z | 2022-03-26T02:22:22.000Z | Code/Engine/Animation/Graph/Nodes/Animation_RuntimeGraphNode_Ragdoll.cpp | jagt/KRG | ba20cd8798997b0450491b0cc04dc817c4a4bc76 | [
"MIT"
] | null | null | null | Code/Engine/Animation/Graph/Nodes/Animation_RuntimeGraphNode_Ragdoll.cpp | jagt/KRG | ba20cd8798997b0450491b0cc04dc817c4a4bc76 | [
"MIT"
] | null | null | null | #include "Animation_RuntimeGraphNode_Ragdoll.h"
#include "Engine/Animation/TaskSystem/Tasks/Animation_Task_Ragdoll.h"
#include "Engine/Animation/TaskSystem/Tasks/Animation_Task_DefaultPose.h"
#include "Engine/Physics/PhysicsRagdoll.h"
#include "Engine/Physics/PhysicsScene.h"
#include "System/Core/Logging/Log.h"
//----... | 39.593496 | 187 | 0.625667 | jagt |
ff8c2c32a08dd2d13e630fc35220e58f31eb80fc | 23,299 | cpp | C++ | src/gpu/cl/kernels/ClDirectConv2dKernel.cpp | hixio-mh/ComputeLibrary | 8f587de9214dbc3aee4ff4eeb2ede66747769b19 | [
"MIT"
] | 1 | 2022-03-18T19:50:04.000Z | 2022-03-18T19:50:04.000Z | src/gpu/cl/kernels/ClDirectConv2dKernel.cpp | hixio-mh/ComputeLibrary | 8f587de9214dbc3aee4ff4eeb2ede66747769b19 | [
"MIT"
] | null | null | null | src/gpu/cl/kernels/ClDirectConv2dKernel.cpp | hixio-mh/ComputeLibrary | 8f587de9214dbc3aee4ff4eeb2ede66747769b19 | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2017-2021 Arm Limited.
*
* SPDX-License-Identifier: MIT
*
* 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
* ri... | 50.54013 | 193 | 0.681274 | hixio-mh |
ff8d44093357788ed0f52884afcd51ab01a92478 | 1,270 | cpp | C++ | modules/moduleTest/testCommon.cpp | helinux/FFdynamic | d65959641fd0f8e69e1d799b8b439c8ad2793600 | [
"MIT"
] | 299 | 2018-10-21T03:28:53.000Z | 2022-03-20T12:04:13.000Z | modules/moduleTest/testCommon.cpp | helinux/FFdynamic | d65959641fd0f8e69e1d799b8b439c8ad2793600 | [
"MIT"
] | 31 | 2018-11-13T12:46:15.000Z | 2022-01-19T19:30:16.000Z | modules/moduleTest/testCommon.cpp | helinux/FFdynamic | d65959641fd0f8e69e1d799b8b439c8ad2793600 | [
"MIT"
] | 68 | 2018-11-02T14:05:00.000Z | 2022-03-01T19:16:29.000Z | #include "testCommon.h"
using namespace ff_dynamic;
namespace test_common {
std::atomic<bool> g_bExit = ATOMIC_VAR_INIT(false);
std::atomic<int> g_bInterruptCount = ATOMIC_VAR_INIT(0);
void sigIntHandle(int sig) {
g_bExit = true;
LOG(INFO) << "sig " << sig << " captured. count" << g_bInterruptCount;
if ... | 28.222222 | 92 | 0.611024 | helinux |
ff8dfd03a24507754cb34b9f3f9288977bab48f3 | 14,769 | cpp | C++ | src/splinesonic/sim/Test.cpp | Ryp/Reaper | ccaef540013db7e8bf873db6e597e9036184d100 | [
"MIT"
] | 11 | 2016-11-07T07:47:46.000Z | 2018-07-19T16:04:45.000Z | src/splinesonic/sim/Test.cpp | Ryp/Reaper | ccaef540013db7e8bf873db6e597e9036184d100 | [
"MIT"
] | null | null | null | src/splinesonic/sim/Test.cpp | Ryp/Reaper | ccaef540013db7e8bf873db6e597e9036184d100 | [
"MIT"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////////
/// Reaper
///
/// Copyright (c) 2015-2022 Thibault Schueller
/// This file is distributed under the MIT License
////////////////////////////////////////////////////////////////////////////////
#include "Test.h"
#if defined(REAPER_USE_BU... | 36.647643 | 120 | 0.658 | Ryp |
ff8e398156839678e8cc2b3641fc9024a31b7fba | 1,270 | hxx | C++ | admin/cmdline/xcacls/filesec.hxx | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | admin/cmdline/xcacls/filesec.hxx | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | admin/cmdline/xcacls/filesec.hxx | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | //+-------------------------------------------------------------------
//
// File: FILESEC.hxx
//
// Contents: class encapsulating file security.
//
// Classes: CFileSecurity
//
// History: Nov-93 Created DaveMont
// Oct-96 Modified BrunoSc
//
... | 23.518519 | 72 | 0.444094 | npocmaka |
ff8f018c95f6afd999ea906b57ac9f7f3866b5b5 | 1,453 | cpp | C++ | questions/49850513/keypad.cpp | sesu089/stackoverflow | 6fae69be6fa74fba9d554e6b5f387e5d3c1aad73 | [
"MIT"
] | 302 | 2017-03-04T00:05:23.000Z | 2022-03-28T22:51:29.000Z | questions/49850513/keypad.cpp | sesu089/stackoverflow | 6fae69be6fa74fba9d554e6b5f387e5d3c1aad73 | [
"MIT"
] | 30 | 2017-12-02T19:26:43.000Z | 2022-03-28T07:40:36.000Z | questions/49850513/keypad.cpp | sesu089/stackoverflow | 6fae69be6fa74fba9d554e6b5f387e5d3c1aad73 | [
"MIT"
] | 388 | 2017-07-04T16:53:12.000Z | 2022-03-18T22:20:19.000Z | #include "keypad.h"
#include <QApplication>
#include <QCoreApplication>
#include <QGridLayout>
#include <QKeyEvent>
#include <QToolButton>
Keypad::Keypad(QWidget *parent) : QWidget{parent} {
QGridLayout *lay = new QGridLayout{this};
const std::vector<Keys> keys = {
{"1", Qt::Key_1}, {"2", Qt::Key_2}, ... | 34.595238 | 80 | 0.617343 | sesu089 |
ff9250213626d9179509c8cd779d17b5770051d8 | 2,719 | cpp | C++ | source/backend/opengl/execution/GLPool.cpp | xindongzhang/MNN | f4740c78dc8fc67ee4596552d2257f12c48af067 | [
"Apache-2.0"
] | 1 | 2019-08-09T03:16:49.000Z | 2019-08-09T03:16:49.000Z | source/backend/opengl/execution/GLPool.cpp | xindongzhang/MNN | f4740c78dc8fc67ee4596552d2257f12c48af067 | [
"Apache-2.0"
] | null | null | null | source/backend/opengl/execution/GLPool.cpp | xindongzhang/MNN | f4740c78dc8fc67ee4596552d2257f12c48af067 | [
"Apache-2.0"
] | 1 | 2021-08-23T03:40:09.000Z | 2021-08-23T03:40:09.000Z | //
// GLPool.cpp
// MNN
//
// Created by MNN on 2019/01/31.
// Copyright © 2018, Alibaba Group Holding Limited
//
#include "GLPool.hpp"
#include "AllShader.hpp"
#include "GLBackend.hpp"
#include "Macro.h"
namespace MNN {
namespace OpenGL {
ErrorCode GLPool::onResize(const std::vector<Tensor *> &inputs, const std::... | 31.252874 | 130 | 0.606841 | xindongzhang |
ff93fd3e2be089421deaaa30ef0d89fdbc7dea88 | 491 | cpp | C++ | STL/algorithm/count.cpp | liangjisheng/C-Cpp | 8b33ba1f43580a7bdded8bb4ce3d92983ccedb81 | [
"MIT"
] | 5 | 2019-09-17T09:12:15.000Z | 2021-05-29T10:54:39.000Z | STL/algorithm/count.cpp | liangjisheng/C-Cpp | 8b33ba1f43580a7bdded8bb4ce3d92983ccedb81 | [
"MIT"
] | null | null | null | STL/algorithm/count.cpp | liangjisheng/C-Cpp | 8b33ba1f43580a7bdded8bb4ce3d92983ccedb81 | [
"MIT"
] | 2 | 2021-07-26T06:36:12.000Z | 2022-01-23T15:20:30.000Z | // count
#include"iostream"
#include"set"
#include"algorithm"
using namespace std;
int main()
{
multiset<int,less<int> > intSet;
intSet.insert(85);
intSet.insert(90);
intSet.insert(100);
intSet.insert(85);
intSet.insert(85);
cout<<"Set: ";
multiset<int,less<int> >::iterator it=intSet.begin();
for(int i=0;i<in... | 18.884615 | 59 | 0.653768 | liangjisheng |
ff9532bc79c7e9e4ecc0a96c35f0cd22712a079f | 4,069 | cpp | C++ | Clank/src/cl/System/Logger.cpp | Repertoi-e/Clank | 3f954f90af9853ca0a7ad6638efd3644c98c8d40 | [
"MIT"
] | 1 | 2017-08-03T15:04:33.000Z | 2017-08-03T15:04:33.000Z | Clank/src/cl/System/Logger.cpp | Repertoi-e/Clank | 3f954f90af9853ca0a7ad6638efd3644c98c8d40 | [
"MIT"
] | null | null | null | Clank/src/cl/System/Logger.cpp | Repertoi-e/Clank | 3f954f90af9853ca0a7ad6638efd3644c98c8d40 | [
"MIT"
] | null | null | null | #include "cl/stdafx.h"
#include "Logger.h"
#include <filesystem>
#include <cstddef>
namespace cl {
Logger& g_Logger = Logger::Instance();
void Logger::Start(void)
{
m_LogLevel = INFO;
m_HConsole = GetStdHandle(STD_OUTPUT_HANDLE);
Print(L"Starting Logging system...% % % %\n", 5, true, false, 4);
SetLoc... | 21.529101 | 155 | 0.664783 | Repertoi-e |
910d156efe41482750f26a50252b38056131dfff | 494 | cpp | C++ | src/ktlexcept.cpp | Shtan7/KTL | 9c0adf8fac2f0bb481060b7bbb15b1356089af3c | [
"MIT"
] | 38 | 2020-12-16T22:12:50.000Z | 2022-03-24T04:07:14.000Z | src/ktlexcept.cpp | Shtan7/KTL | 9c0adf8fac2f0bb481060b7bbb15b1356089af3c | [
"MIT"
] | 165 | 2020-11-11T21:22:23.000Z | 2022-03-26T14:30:40.000Z | src/ktlexcept.cpp | Shtan7/KTL | 9c0adf8fac2f0bb481060b7bbb15b1356089af3c | [
"MIT"
] | 5 | 2021-07-16T19:05:28.000Z | 2021-12-22T11:46:42.000Z | #include <ktlexcept.hpp>
#include <string.hpp>
namespace ktl {
NTSTATUS out_of_range::code() const noexcept {
return STATUS_ARRAY_BOUNDS_EXCEEDED;
}
NTSTATUS range_error::code() const noexcept {
return STATUS_RANGE_NOT_FOUND;
}
NTSTATUS overflow_error::code() const noexcept {
return STATUS_BUFFER_OVERFLOW;
}
... | 20.583333 | 48 | 0.771255 | Shtan7 |
91191747f06046dd61ef2f8fef4f1f0bba7ec5b7 | 424 | cpp | C++ | day02/main.cpp | wuggy-ianw/AoC2017 | 138c66bdd407e76f6ad71c9d68df50e0afa2251a | [
"Unlicense"
] | null | null | null | day02/main.cpp | wuggy-ianw/AoC2017 | 138c66bdd407e76f6ad71c9d68df50e0afa2251a | [
"Unlicense"
] | null | null | null | day02/main.cpp | wuggy-ianw/AoC2017 | 138c66bdd407e76f6ad71c9d68df50e0afa2251a | [
"Unlicense"
] | null | null | null | //
// Created by wuggy on 02/12/2017.
//
#include <fstream>
#include "day02.h"
#include "../utils/aocutils.h"
int main()
{
std::ifstream ifs("input.txt");
std::vector< std::vector<std::size_t> > sheet = AOCUtils::parseByLines<std::vector<std::size_t> >(ifs, AOCUtils::parseItem<std::size_t>);
std::cout << Day2... | 21.2 | 139 | 0.648585 | wuggy-ianw |
911a1c6a0d88e064544f7d4f1bd5f6018918941a | 62,837 | cpp | C++ | ds/security/services/w32time/w32tm/othercmds.cpp | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | ds/security/services/w32time/w32tm/othercmds.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | ds/security/services/w32time/w32tm/othercmds.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | //depot/Lab03_N/DS/security/services/w32time/w32tm/OtherCmds.cpp#16 - edit change 15254 (text)
//--------------------------------------------------------------------
// OtherCmds-implementation
// Copyright (C) Microsoft Corporation, 1999
//
// Created by: Louis Thomas (louisth), 2-17-00
//
// Other useful w32tm... | 35.947941 | 162 | 0.570556 | npocmaka |
911db9de6e667c6f419998033a3f3f1dd4e83062 | 27,348 | cpp | C++ | MainWindow.cpp | mrQzs/LVGLBuilder | 41dbfbd6d9d6f624e0ae1b7c542eef5f681ca4b5 | [
"MIT"
] | null | null | null | MainWindow.cpp | mrQzs/LVGLBuilder | 41dbfbd6d9d6f624e0ae1b7c542eef5f681ca4b5 | [
"MIT"
] | null | null | null | MainWindow.cpp | mrQzs/LVGLBuilder | 41dbfbd6d9d6f624e0ae1b7c542eef5f681ca4b5 | [
"MIT"
] | null | null | null | #include "MainWindow.h"
#include <QDebug>
#include <QFileDialog>
#include <QInputDialog>
#include <QMessageBox>
#include <QSettings>
#include <QSortFilterProxyModel>
#include "LVGLDialog.h"
#include "LVGLFontData.h"
#include "LVGLFontDialog.h"
#include "LVGLHelper.h"
#include "LVGLItem.h"
#include "LVGLNewDialog.h"
#... | 33.229648 | 80 | 0.685644 | mrQzs |
911dd4796f0fde651220d48ea1b63b48ce2d0be8 | 2,964 | cpp | C++ | lib/os/thread_win32.cpp | paulhuggett/pstore2 | a0c663d10a2e2713fdf39ecdae1f9c1e96041f5c | [
"Apache-2.0"
] | 11 | 2018-02-02T21:24:49.000Z | 2020-12-11T04:06:03.000Z | lib/os/thread_win32.cpp | SNSystems/pstore | 74e9dd960245d6bfc125af03ed964d8ad660a62d | [
"Apache-2.0"
] | 63 | 2018-02-05T17:24:59.000Z | 2022-03-22T17:26:28.000Z | lib/os/thread_win32.cpp | paulhuggett/pstore | 067be94d87c87fce524c8d76c6f47c347d8f1853 | [
"Apache-2.0"
] | 5 | 2020-01-13T22:47:11.000Z | 2021-05-14T09:31:15.000Z | //===- lib/os/thread_win32.cpp --------------------------------------------===//
//* _ _ _ *
//* | |_| |__ _ __ ___ __ _ __| | *
//* | __| '_ \| '__/ _ \/ _` |/ _` | *
//* | |_| | | | | | __/ (_| | (_| | *
//* \__|_| |_|_| \___|\__,_|\__,_| *
//* *
//===... | 35.285714 | 89 | 0.501012 | paulhuggett |
91247fb88c0d36401416ae2546fbf6b735a19739 | 1,694 | cpp | C++ | src/interface/TWTezosAddress.cpp | jacobcreech/wallet-core | d5a1497c8d50685030ea752332dc28f48c82da36 | [
"MIT"
] | null | null | null | src/interface/TWTezosAddress.cpp | jacobcreech/wallet-core | d5a1497c8d50685030ea752332dc28f48c82da36 | [
"MIT"
] | null | null | null | src/interface/TWTezosAddress.cpp | jacobcreech/wallet-core | d5a1497c8d50685030ea752332dc28f48c82da36 | [
"MIT"
] | null | null | null | // Copyright © 2017-2019 Trust Wallet.
//
// This file is part of Trust. The full Trust copyright notice, including
// terms governing use, modification, and redistribution, is contained in the
// file LICENSE at the root of the source code distribution tree.
#include <TrustWalletCore/TWTezosAddress.h>
#include "../T... | 32.576923 | 107 | 0.767414 | jacobcreech |
9128bace1e9e94ff0e730643982c5494b5a74fab | 1,055 | cpp | C++ | src/lox/Object.cpp | dylanclark/loxplusplus | a533389e73f86c067ad705a317c3a3cc0f66b63f | [
"MIT"
] | null | null | null | src/lox/Object.cpp | dylanclark/loxplusplus | a533389e73f86c067ad705a317c3a3cc0f66b63f | [
"MIT"
] | null | null | null | src/lox/Object.cpp | dylanclark/loxplusplus | a533389e73f86c067ad705a317c3a3cc0f66b63f | [
"MIT"
] | null | null | null | #include <loxpp_pch.h>
#include <Object.h>
#include <VisitHelpers.h>
namespace Loxpp::Object {
// Handy template class and function to cast from a variant T1 to variant T2,
// where T2 is a superset of T1: https://stackoverflow.com/a/47204507/15150338
template <class... Args> struct variant_cast_proxy {
std::var... | 29.305556 | 78 | 0.595261 | dylanclark |
912bc5f9488b04a8bb775c60c37d5c0327a8f8d7 | 1,243 | cpp | C++ | arrays/largestBand.cpp | kaushikbalasundar/cpp_dsa_solutions | 6a74bd6d114a882b5c95c5e4cc74447d58bbae7b | [
"MIT"
] | null | null | null | arrays/largestBand.cpp | kaushikbalasundar/cpp_dsa_solutions | 6a74bd6d114a882b5c95c5e4cc74447d58bbae7b | [
"MIT"
] | null | null | null | arrays/largestBand.cpp | kaushikbalasundar/cpp_dsa_solutions | 6a74bd6d114a882b5c95c5e4cc74447d58bbae7b | [
"MIT"
] | null | null | null | #include<iostream>
#include<vector>
#include<unordered_set>
#include<algorithm>
using namespace std;
//find the longest band in a given array of integers
//Input: {1,9,3,0,5,2,4,10,7,12,6}
//Output: 8 {0,1,2,3,4,5,6,7}
int longestBand(vector<int> arr){
int result = 0;
unordered_set<int> os;
for(i... | 23.018519 | 111 | 0.565567 | kaushikbalasundar |
912c40f76e858930903aa926c3d49888dda1bc63 | 1,939 | cpp | C++ | client/src/Helper.cpp | bendelec/Grandma | d7ac708b5357107a0e4b32e175c2e8cb71fdbcd8 | [
"MIT"
] | 2 | 2020-05-25T11:12:19.000Z | 2022-01-18T01:38:19.000Z | client/src/Helper.cpp | bendelec/Grandma | d7ac708b5357107a0e4b32e175c2e8cb71fdbcd8 | [
"MIT"
] | 1 | 2020-03-28T03:47:22.000Z | 2020-03-28T03:47:22.000Z | client/src/Helper.cpp | bendelec/Grandma | d7ac708b5357107a0e4b32e175c2e8cb71fdbcd8 | [
"MIT"
] | 1 | 2022-01-18T01:50:30.000Z | 2022-01-18T01:50:30.000Z | /** ***************************************************************************
* Various helper functions
*
* (c)2020 Christian Bendele
*
*/
#include "Helper.h"
#include <sstream>
#include <iostream>
namespace Grandma {
std::vector<std::string> Helper::vectorize_path(const std::string path) {
std::stringst... | 23.646341 | 97 | 0.580712 | bendelec |
912cc52e2b2b978b1892fd6af1f65cdde82d667b | 996 | cpp | C++ | srcs/utils/datetime.cpp | alexandretea/ddti | d81fd3069e67402ba695a2ada50a67f90ea45fb9 | [
"MIT"
] | 3 | 2020-11-30T01:57:35.000Z | 2021-06-15T01:36:10.000Z | srcs/utils/datetime.cpp | alexandretea/ddti | d81fd3069e67402ba695a2ada50a67f90ea45fb9 | [
"MIT"
] | null | null | null | srcs/utils/datetime.cpp | alexandretea/ddti | d81fd3069e67402ba695a2ada50a67f90ea45fb9 | [
"MIT"
] | 1 | 2020-11-30T01:57:48.000Z | 2020-11-30T01:57:48.000Z | // C/C++ File
// Author: Alexandre Tea <alexandre.qtea@gmail.com>
// File: /Users/alexandretea/Work/ddti/srcs/utils/datetime.cpp
// Purpose: datetime utilities
// Created: 2017-07-29 22:52:26
// Modified: 2017-08-23 23:19:15
#include <ctime>
#include "datetime.hpp"
namespace utils {
namespace datetime {
std... | 17.172414 | 66 | 0.631526 | alexandretea |
912cdf3d4eaeb961412b1a5c078948adb4ca82da | 1,771 | cpp | C++ | AllStat/source/Generator.cpp | efmsoft/allstat | 54409844f533811964679b033eeb4a9b1c59c961 | [
"Apache-2.0"
] | 4 | 2021-05-26T15:42:20.000Z | 2022-01-27T09:04:30.000Z | AllStat/source/Generator.cpp | efmsoft/allstat | 54409844f533811964679b033eeb4a9b1c59c961 | [
"Apache-2.0"
] | null | null | null | AllStat/source/Generator.cpp | efmsoft/allstat | 54409844f533811964679b033eeb4a9b1c59c961 | [
"Apache-2.0"
] | null | null | null | #define _CRT_NONSTDC_NO_DEPRECATE
#include <AllStat/AllStat.h>
#include "Generator.h"
using namespace AllStat;
#pragma warning(disable : 4996 26812)
AllStat::Generator* AllStat::Generator::First = nullptr;
Generator::Generator(
const char* name
, const char* format
, AS_GENERATOR id
, FGetTabl... | 20.125 | 73 | 0.647657 | efmsoft |
9132187b6b9c4b45a56d0813fb2d310b9dacbfad | 32,161 | cpp | C++ | third_party/virtualbox/src/VBox/Devices/Storage/ATAPIPassthrough.cpp | Fimbure/icebox-1 | 0b81992a53e1b410955ca89bdb6f8169d6f2da86 | [
"MIT"
] | 521 | 2019-03-29T15:44:08.000Z | 2022-03-22T09:46:19.000Z | third_party/virtualbox/src/VBox/Devices/Storage/ATAPIPassthrough.cpp | Fimbure/icebox-1 | 0b81992a53e1b410955ca89bdb6f8169d6f2da86 | [
"MIT"
] | 30 | 2019-06-04T17:00:49.000Z | 2021-09-08T20:44:19.000Z | third_party/virtualbox/src/VBox/Devices/Storage/ATAPIPassthrough.cpp | Fimbure/icebox-1 | 0b81992a53e1b410955ca89bdb6f8169d6f2da86 | [
"MIT"
] | 99 | 2019-03-29T16:04:13.000Z | 2022-03-28T16:59:34.000Z | /* $Id: ATAPIPassthrough.cpp $ */
/** @file
* VBox storage devices: ATAPI emulation (common code for DevATA and DevAHCI).
*/
/*
* Copyright (C) 2012-2017 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
*... | 33.641213 | 148 | 0.589161 | Fimbure |
9135f5762b1991c7b3549b6f7a47b86fe68019ac | 318 | cpp | C++ | Demos/ODFAEGVIDEOTUTORIAL/bar.cpp | Cwc-Test/ODFAEG | 5e5bd13e3145764c3d0182225aad591040691481 | [
"Zlib"
] | 5 | 2015-06-13T13:11:59.000Z | 2020-04-17T23:10:23.000Z | Demos/ODFAEGVIDEOTUTORIAL/bar.cpp | Cwc-Test/ODFAEG | 5e5bd13e3145764c3d0182225aad591040691481 | [
"Zlib"
] | 4 | 2019-01-07T11:46:21.000Z | 2020-02-14T15:04:15.000Z | Demos/ODFAEGVIDEOTUTORIAL/bar.cpp | Cwc-Test/ODFAEG | 5e5bd13e3145764c3d0182225aad591040691481 | [
"Zlib"
] | 4 | 2016-01-05T09:54:57.000Z | 2021-01-06T18:52:26.000Z | #include "bar.hpp"
using namespace odfaeg::graphic;
using namespace odfaeg::math;
using namespace odfaeg::physic;
Bar::Bar(Vec2f position, Vec2f size) : Entity(position, size, size * 0.5f, "E_BAR") {
BoundingVolume* bv = new BoundingBox(position.x, position.y, 0 ,size.x, size.y, 0);
setCollisionVolume(bv);
}
| 35.333333 | 87 | 0.716981 | Cwc-Test |
913927feb67944f43b5632fc1701f53ba18637b1 | 7,792 | cc | C++ | chrome/browser/search/suggestions/suggestions_service_unittest.cc | shaochangbin/chromium-crosswalk | 634d34e4cf82b4f7400357c53ec12efaffe94add | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2019-01-16T03:57:28.000Z | 2021-01-23T15:29:45.000Z | chrome/browser/search/suggestions/suggestions_service_unittest.cc | shaochangbin/chromium-crosswalk | 634d34e4cf82b4f7400357c53ec12efaffe94add | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/search/suggestions/suggestions_service_unittest.cc | shaochangbin/chromium-crosswalk | 634d34e4cf82b4f7400357c53ec12efaffe94add | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2015-04-17T13:19:09.000Z | 2021-10-21T12:55:15.000Z | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/search/suggestions/suggestions_service.h"
#include <map>
#include <string>
#include "base/bind.h"
#include "base/memory/scoped_... | 37.104762 | 76 | 0.741273 | shaochangbin |
913cb13eefd820e77540f03164b2ed79872be779 | 640 | hpp | C++ | ShadowPeople/sound/Mixer.hpp | SamuelSiltanen/ShadowPeople | 58f94a4397dc5084d9705d4378599cae480b4776 | [
"Apache-2.0"
] | null | null | null | ShadowPeople/sound/Mixer.hpp | SamuelSiltanen/ShadowPeople | 58f94a4397dc5084d9705d4378599cae480b4776 | [
"Apache-2.0"
] | null | null | null | ShadowPeople/sound/Mixer.hpp | SamuelSiltanen/ShadowPeople | 58f94a4397dc5084d9705d4378599cae480b4776 | [
"Apache-2.0"
] | null | null | null | #pragma once
#include <memory>
#include <random>
#include "../Types.hpp"
#include "AudioFormat.hpp"
namespace sound
{
class RawAudioBuffer;
class Mixer
{
public:
Mixer(const AudioFormat& format);
void setFormat(const AudioFormat& format);
void mix(std::shared_ptr<RawAudioBuf... | 20 | 65 | 0.635938 | SamuelSiltanen |
913cd8af5adfbebe6460514d0ef861a49f64b3c3 | 27,224 | cc | C++ | chrome/browser/nearby_sharing/nearby_per_session_discovery_manager_unittest.cc | iridium-browser/iridium-browser | 907e31cf5ce5ad14d832796e3a7c11e496828959 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 575 | 2015-06-18T23:58:20.000Z | 2022-03-23T09:32:39.000Z | chrome/browser/nearby_sharing/nearby_per_session_discovery_manager_unittest.cc | iridium-browser/iridium-browser | 907e31cf5ce5ad14d832796e3a7c11e496828959 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 113 | 2015-05-04T09:58:14.000Z | 2022-01-31T19:35:03.000Z | chrome/browser/nearby_sharing/nearby_per_session_discovery_manager_unittest.cc | iridium-browser/iridium-browser | 907e31cf5ce5ad14d832796e3a7c11e496828959 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 52 | 2015-07-14T10:40:50.000Z | 2022-03-15T01:11:49.000Z | // Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/nearby_sharing/nearby_per_session_discovery_manager.h"
#include <string>
#include "base/callback_forward.h"
#include "base/call... | 40.094256 | 80 | 0.724655 | iridium-browser |
913ea9d2070980d26d18cb720a52ff488776a0aa | 14,789 | cpp | C++ | Source/PluginProcessorReceive.cpp | jmaibaum/Camomile | 5801804fd69ad17ef29a026afbff5b5f89224297 | [
"BSD-2-Clause"
] | null | null | null | Source/PluginProcessorReceive.cpp | jmaibaum/Camomile | 5801804fd69ad17ef29a026afbff5b5f89224297 | [
"BSD-2-Clause"
] | null | null | null | Source/PluginProcessorReceive.cpp | jmaibaum/Camomile | 5801804fd69ad17ef29a026afbff5b5f89224297 | [
"BSD-2-Clause"
] | null | null | null | /*
// Copyright (c) 2015-2018 Pierre Guillot.
// For information on usage and redistribution, and for a DISCLAIMER OF ALL
// WARRANTIES, see the file, "LICENSE.txt," in this distribution.
*/
#include "PluginProcessor.h"
#include "PluginParameter.h"
//////////////////////////////////////////////////////////////////... | 36.070732 | 123 | 0.451349 | jmaibaum |
913ec1eb1a1e01c777765330a73ea5f9d8a3a13c | 3,585 | hpp | C++ | include/staticlib/tinydir/file_sink.hpp | staticlibs/staticlib_tinydir | c8ab3dae0ef7543dc1d1e7a7debc7132ad8d1610 | [
"Apache-2.0"
] | 1 | 2021-03-13T03:12:23.000Z | 2021-03-13T03:12:23.000Z | include/staticlib/tinydir/file_sink.hpp | staticlibs/staticlib_tinydir | c8ab3dae0ef7543dc1d1e7a7debc7132ad8d1610 | [
"Apache-2.0"
] | 1 | 2018-10-18T21:31:26.000Z | 2018-10-18T21:31:26.000Z | include/staticlib/tinydir/file_sink.hpp | staticlibs/staticlib_tinydir | c8ab3dae0ef7543dc1d1e7a7debc7132ad8d1610 | [
"Apache-2.0"
] | 2 | 2017-03-05T02:30:03.000Z | 2018-05-21T16:17:31.000Z | /*
* Copyright 2017, alex at staticlibs.net
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ag... | 22.980769 | 92 | 0.642678 | staticlibs |
91401b573cbfc972a277cf047c1f76ed67d81f83 | 2,598 | cpp | C++ | test/module/libs/converter/string_converter_test.cpp | alohamora/iroha | aa8be2c62fedaa2de08f94f2d920275ad9ae8ba7 | [
"Apache-2.0"
] | null | null | null | test/module/libs/converter/string_converter_test.cpp | alohamora/iroha | aa8be2c62fedaa2de08f94f2d920275ad9ae8ba7 | [
"Apache-2.0"
] | null | null | null | test/module/libs/converter/string_converter_test.cpp | alohamora/iroha | aa8be2c62fedaa2de08f94f2d920275ad9ae8ba7 | [
"Apache-2.0"
] | null | null | null | /**
* Copyright Soramitsu Co., Ltd. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
#include <gtest/gtest.h>
#include "common/byteutils.hpp"
using namespace iroha;
using namespace std::string_literals;
/**
* @given hex string
* @when hex string was converted to binary string
* @then converted str... | 31.682927 | 76 | 0.669746 | alohamora |
91409ed7e7e1fad82fdd8058dadd1918cf6ab2f6 | 4,744 | hpp | C++ | octree/Octree.hpp | Koukan/voxomap | 104a068b4bc84f7a208460248f824dfcde49f470 | [
"MIT"
] | 2 | 2019-03-01T16:34:02.000Z | 2020-10-08T21:27:52.000Z | octree/Octree.hpp | Koukan/voxomap | 104a068b4bc84f7a208460248f824dfcde49f470 | [
"MIT"
] | null | null | null | octree/Octree.hpp | Koukan/voxomap | 104a068b4bc84f7a208460248f824dfcde49f470 | [
"MIT"
] | null | null | null | #ifndef _VOXOMAP_OCTREE_HPP_
#define _VOXOMAP_OCTREE_HPP_
#include <cstdint>
#include <memory>
#include <vector>
#include <assert.h>
namespace voxomap
{
/*!
\defgroup Octree Octree
Classes use for define the octree
*/
/*! \class Octree
\ingroup Octree
\brief Octree container
*/
template <class T_Nod... | 28.578313 | 108 | 0.60645 | Koukan |
914132746cecdd6b5bb28f6a9916459143ab1fed | 2,785 | cpp | C++ | rtc/src/main.cpp | Bergi84/vihaltests_ext | 6fc5a96c6da8398dfbccf3dce59ced1ba359ee4e | [
"BSD-2-Clause"
] | null | null | null | rtc/src/main.cpp | Bergi84/vihaltests_ext | 6fc5a96c6da8398dfbccf3dce59ced1ba359ee4e | [
"BSD-2-Clause"
] | null | null | null | rtc/src/main.cpp | Bergi84/vihaltests_ext | 6fc5a96c6da8398dfbccf3dce59ced1ba359ee4e | [
"BSD-2-Clause"
] | null | null | null | // file: main.cpp (uart)
// brief: VIHAL UART Test
// created: 2021-10-03
// authors: nvitya
#include "platform.h"
#include "cppinit.h"
#include "clockcnt.h"
#include "traces.h"
#include "hwclk.h"
#include "hwpins.h"
#include "hwuart.h"
#include "hwrtc.h"
#include "board_pins.h"
THwRtc gRtc;
volatile unsi... | 25.09009 | 159 | 0.644883 | Bergi84 |
91424f7e6fffe7065a55386e569947453016e96f | 18,465 | cpp | C++ | Source Code/Rendering/PostFX/PostFX.cpp | IonutCava/trunk | 19dc976bbd7dc637f467785bd0ca15f34bc31ed5 | [
"MIT"
] | null | null | null | Source Code/Rendering/PostFX/PostFX.cpp | IonutCava/trunk | 19dc976bbd7dc637f467785bd0ca15f34bc31ed5 | [
"MIT"
] | null | null | null | Source Code/Rendering/PostFX/PostFX.cpp | IonutCava/trunk | 19dc976bbd7dc637f467785bd0ca15f34bc31ed5 | [
"MIT"
] | null | null | null | #include "stdafx.h"
#include "Headers/PostFX.h"
#include "Headers/PreRenderOperator.h"
#include "Core/Headers/ParamHandler.h"
#include "Core/Headers/PlatformContext.h"
#include "Core/Headers/StringHelper.h"
#include "Core/Resources/Headers/ResourceCache.h"
#include "Core/Time/Headers/ApplicationTimer.h"
#... | 51.008287 | 167 | 0.730355 | IonutCava |
9143da8e877140cb542acb632ae678726bd00d00 | 177 | cpp | C++ | cpp/main.cpp | mit-gfx/diff_stokes_flow | 55eb7c0f3a9d58a50c1a09c2231177b81e0da84e | [
"MIT"
] | 40 | 2020-11-07T06:27:40.000Z | 2021-11-09T07:09:48.000Z | cpp/main.cpp | mit-gfx/diff_stokes_flow | 55eb7c0f3a9d58a50c1a09c2231177b81e0da84e | [
"MIT"
] | null | null | null | cpp/main.cpp | mit-gfx/diff_stokes_flow | 55eb7c0f3a9d58a50c1a09c2231177b81e0da84e | [
"MIT"
] | 6 | 2020-10-09T05:24:22.000Z | 2021-10-04T06:35:22.000Z | #include <iostream>
#include "Eigen/Dense"
#include "common/config.h"
#include "common/common.h"
int main() {
PrintInfo("The program compiles just fine.");
return 0;
}
| 17.7 | 49 | 0.683616 | mit-gfx |
91446e3be5af90f48f56537f2b0d19e44bf57785 | 35,694 | cpp | C++ | mp/src/game/server/hl2mp/hl2mp_client.cpp | Code4Cookie/Atomic-Secobmod | 9738d91bc37f8d9e9fb63d4a444ecbeaa0e0cf70 | [
"Unlicense"
] | null | null | null | mp/src/game/server/hl2mp/hl2mp_client.cpp | Code4Cookie/Atomic-Secobmod | 9738d91bc37f8d9e9fb63d4a444ecbeaa0e0cf70 | [
"Unlicense"
] | null | null | null | mp/src/game/server/hl2mp/hl2mp_client.cpp | Code4Cookie/Atomic-Secobmod | 9738d91bc37f8d9e9fb63d4a444ecbeaa0e0cf70 | [
"Unlicense"
] | null | null | null | //========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $NoKeywords: $
//
//=============================================================================//
/*
===== tf_client.cpp ========================================================
HL2 client/server game specific stuff
... | 44.230483 | 177 | 0.734885 | Code4Cookie |
9144fae7a490acfaabb4036f476a6b31aa8956f1 | 1,697 | cpp | C++ | sparta/test/DisjointUnionAbstractDomainTest.cpp | penguin-wwy/redex | 31baadec7ccddcadb5ddaf4947a63112f2eadc04 | [
"MIT"
] | 6,059 | 2016-04-12T21:07:05.000Z | 2022-03-31T16:31:48.000Z | sparta/test/DisjointUnionAbstractDomainTest.cpp | penguin-wwy/redex | 31baadec7ccddcadb5ddaf4947a63112f2eadc04 | [
"MIT"
] | 638 | 2016-04-12T22:45:48.000Z | 2022-03-29T21:50:09.000Z | sparta/test/DisjointUnionAbstractDomainTest.cpp | penguin-wwy/redex | 31baadec7ccddcadb5ddaf4947a63112f2eadc04 | [
"MIT"
] | 704 | 2016-04-12T23:47:01.000Z | 2022-03-30T09:44:56.000Z | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
// Because of the rules of argument-dependent lookup, we need to include the
// definition of operator<< for ConstantAbstractDomain... | 29.77193 | 80 | 0.751326 | penguin-wwy |
9149d2a1b7940bbed03cb6426d69eaecbbd1b6e1 | 2,320 | cpp | C++ | Source/FactoryGame/FGActorRepresentation.cpp | iam-Legend/Project-Assembly | 1ff3587704232d5e330515bc0d2aceb64ff09a7f | [
"MIT"
] | null | null | null | Source/FactoryGame/FGActorRepresentation.cpp | iam-Legend/Project-Assembly | 1ff3587704232d5e330515bc0d2aceb64ff09a7f | [
"MIT"
] | null | null | null | Source/FactoryGame/FGActorRepresentation.cpp | iam-Legend/Project-Assembly | 1ff3587704232d5e330515bc0d2aceb64ff09a7f | [
"MIT"
] | null | null | null | // This file has been automatically generated by the Unreal Header Implementation tool
#include "FGActorRepresentation.h"
bool UFGActorRepresentation::IsSupportedForNetworking() const{ return bool(); }
void UFGActorRepresentation::GetLifetimeReplicatedProps( TArray<FLifetimeProperty>& OutLifetimeProps) const{ }
FVect... | 68.235294 | 110 | 0.840948 | iam-Legend |
9151163ce73ca6cdaf0d49ed2c19ba114ea924c3 | 4,623 | cpp | C++ | QTP/views/createstaffdialog.cpp | Qu3tzal/TpQt | a741c64659d4808693c92de217261c75ed5fe17a | [
"MIT"
] | null | null | null | QTP/views/createstaffdialog.cpp | Qu3tzal/TpQt | a741c64659d4808693c92de217261c75ed5fe17a | [
"MIT"
] | null | null | null | QTP/views/createstaffdialog.cpp | Qu3tzal/TpQt | a741c64659d4808693c92de217261c75ed5fe17a | [
"MIT"
] | 1 | 2018-09-30T10:39:37.000Z | 2018-09-30T10:39:37.000Z | #include "CreateStaffDialog.h"
#include "ui_createstaffdialog.h"
#include "model/staffmodel.h"
#include "model/accountmodel.h"
#include "model/account.h"
#include "model/staff.h"
#include "QMessageBox"
#include "mainwindow.h"
#include "stringutil.h"
CreateStaffDialog::CreateStaffDialog(int staffId, QWidget *parent)
:... | 30.82 | 228 | 0.631624 | Qu3tzal |
9153ce528d3233d5711d659b095c160f2610f2fe | 7,655 | cpp | C++ | ccl/src/phost/Morpheus_Ccl_CsrMatrix.cpp | morpheus-org/morpheus-interoperability | 66161199fa1926914e16c1feb02eb910ffef5ed4 | [
"Apache-2.0"
] | null | null | null | ccl/src/phost/Morpheus_Ccl_CsrMatrix.cpp | morpheus-org/morpheus-interoperability | 66161199fa1926914e16c1feb02eb910ffef5ed4 | [
"Apache-2.0"
] | 3 | 2021-10-09T16:17:19.000Z | 2021-10-12T21:31:23.000Z | ccl/src/phost/Morpheus_Ccl_CsrMatrix.cpp | morpheus-org/morpheus-fortran-interop | 66161199fa1926914e16c1feb02eb910ffef5ed4 | [
"Apache-2.0"
] | null | null | null | /**
* Morpheus_Ccl_CsrMatrix.cpp
*
* EPCC, The University of Edinburgh
*
* (c) 2021 The University of Edinburgh
*
* Contributing Authors:
* Christodoulos Stylianou (c.stylianou@ed.ac.uk)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with ... | 31.632231 | 80 | 0.677335 | morpheus-org |
9155d85b095ad63a3ce325cf87816c7be6bda86c | 41 | cpp | C++ | Othuum/AhwassaGraphicsLib/BufferObjects/Mesh.cpp | Liech/Yathsou | 95b6dda3c053bc25789cce416088e22f54a743b4 | [
"MIT"
] | 5 | 2021-04-20T17:00:41.000Z | 2022-01-18T20:16:03.000Z | Othuum/AhwassaGraphicsLib/BufferObjects/Mesh.cpp | Liech/Yathsou | 95b6dda3c053bc25789cce416088e22f54a743b4 | [
"MIT"
] | 7 | 2021-08-22T21:30:50.000Z | 2022-01-14T16:56:34.000Z | Othuum/AhwassaGraphicsLib/BufferObjects/Mesh.cpp | Liech/Yathsou | 95b6dda3c053bc25789cce416088e22f54a743b4 | [
"MIT"
] | null | null | null | #include "Mesh.h"
namespace Ahwassa {
} | 8.2 | 19 | 0.682927 | Liech |
9156515ceb072c7dfc4c82041de6706a826d7364 | 1,044 | cpp | C++ | examples/xtd.forms.examples/controls/checked_list_box/src/checked_list_box.cpp | ExternalRepositories/xtd | 5889d69900ad22a00fcb640d7850a1d599cf593a | [
"MIT"
] | 251 | 2019-04-20T02:02:24.000Z | 2022-03-31T09:52:08.000Z | examples/xtd.forms.examples/controls/checked_list_box/src/checked_list_box.cpp | ExternalRepositories/xtd | 5889d69900ad22a00fcb640d7850a1d599cf593a | [
"MIT"
] | 29 | 2021-01-07T12:52:12.000Z | 2022-03-29T08:42:14.000Z | examples/xtd.forms.examples/controls/checked_list_box/src/checked_list_box.cpp | ExternalRepositories/xtd | 5889d69900ad22a00fcb640d7850a1d599cf593a | [
"MIT"
] | 27 | 2019-11-21T02:37:44.000Z | 2022-03-30T22:59:14.000Z | #include <xtd/xtd>
using namespace std;
using namespace xtd;
using namespace xtd::forms;
namespace examples {
class form1 : public form {
public:
form1() {
text("Checked list box example");
client_size({200, 240});
checked_list_box1.parent(*this);
checked_list_box1.anchor(anchor_style... | 29 | 143 | 0.648467 | ExternalRepositories |
91583af8c3e6e20525cac6f1fa384585effe7648 | 11,254 | cpp | C++ | src/vizdoom/src/bbannouncer.cpp | johny-c/ViZDoom | 6fe0d2470872adbfa5d18c53c7704e6ff103cacc | [
"MIT"
] | 1,102 | 2017-02-02T15:39:57.000Z | 2022-03-23T09:43:29.000Z | src/bbannouncer.cpp | Leonan8995/Xenomia | 3f3743dd5aff047608ec31fb71186d177812c7df | [
"Unlicense"
] | 339 | 2017-02-17T09:55:38.000Z | 2022-03-29T11:44:01.000Z | src/bbannouncer.cpp | Leonan8995/Xenomia | 3f3743dd5aff047608ec31fb71186d177812c7df | [
"Unlicense"
] | 331 | 2017-02-02T15:34:42.000Z | 2022-03-23T02:42:24.000Z | /*
** bbannouncer.cpp
** The announcer from Blood (The Voice).
**
**---------------------------------------------------------------------------
** Copyright 1998-2006 Randy Heit
** All rights reserved.
**
** Redistribution and use in source and binary forms, with or without
** modification, are permitted provi... | 30.416216 | 78 | 0.543896 | johny-c |
915d64b41290a639c0c8a2e2ac5971ae28637546 | 4,787 | inl | C++ | sfml-extensions/Extensions/Vector4.inl | degski/SFML-Extensions | 13236325da2e9bef2e24f7ad80ec78db6bf33879 | [
"MIT"
] | null | null | null | sfml-extensions/Extensions/Vector4.inl | degski/SFML-Extensions | 13236325da2e9bef2e24f7ad80ec78db6bf33879 | [
"MIT"
] | null | null | null | sfml-extensions/Extensions/Vector4.inl | degski/SFML-Extensions | 13236325da2e9bef2e24f7ad80ec78db6bf33879 | [
"MIT"
] | null | null | null | ////////////////////////////////////////////////////////////
//
// SFML - Simple and Fast Multimedia Library
// Copyright (C) 2007-2015 Laurent Gomila (laurent@sfml-dev.org)
//
// This software is provided 'as-is', without any express or implied warranty.
// In no event will the authors be held liable for any damages a... | 27.198864 | 108 | 0.519323 | degski |
915dfbbdfa9cf201235b06cd9444b624db01716e | 1,342 | cpp | C++ | orca/gporca/libnaucrates/src/parser/CParseHandlerUtils.cpp | vitessedata/gpdb.4.3.99.x | 9462aad5df1bf120a2a87456b1f9574712227da4 | [
"PostgreSQL",
"Apache-2.0"
] | 3 | 2017-12-10T16:41:21.000Z | 2020-07-08T12:59:12.000Z | orca/gporca/libnaucrates/src/parser/CParseHandlerUtils.cpp | vitessedata/gpdb.4.3.99.x | 9462aad5df1bf120a2a87456b1f9574712227da4 | [
"PostgreSQL",
"Apache-2.0"
] | null | null | null | orca/gporca/libnaucrates/src/parser/CParseHandlerUtils.cpp | vitessedata/gpdb.4.3.99.x | 9462aad5df1bf120a2a87456b1f9574712227da4 | [
"PostgreSQL",
"Apache-2.0"
] | 4 | 2017-12-10T16:41:35.000Z | 2020-11-28T12:20:30.000Z | //---------------------------------------------------------------------------
// Greenplum Database
// Copyright (C) 2012 EMC Corp.
//
// @filename:
// CParseHandlerUtils.cpp
//
// @doc:
// Implementation of the helper methods for parse handler
//
//
// @owner:
//
//
// @test:
//
//
//---------------------------... | 22.745763 | 77 | 0.555142 | vitessedata |
916030d8552b3ca9ddf2ed73c821f5b33bf96d22 | 3,261 | cc | C++ | src/limits/ThreadsLimitListener.cc | NieDzejkob/sio2jail | 8589541cfe11c68ce5ef13eb30a488b09ad3a139 | [
"MIT"
] | 14 | 2018-06-19T19:54:22.000Z | 2021-09-16T18:03:40.000Z | src/limits/ThreadsLimitListener.cc | NieDzejkob/sio2jail | 8589541cfe11c68ce5ef13eb30a488b09ad3a139 | [
"MIT"
] | 16 | 2018-09-16T17:08:43.000Z | 2022-01-19T15:43:41.000Z | src/limits/ThreadsLimitListener.cc | NieDzejkob/sio2jail | 8589541cfe11c68ce5ef13eb30a488b09ad3a139 | [
"MIT"
] | 6 | 2018-09-15T20:56:06.000Z | 2022-03-05T09:27:22.000Z | #include "ThreadsLimitListener.h"
#include "common/WithErrnoCheck.h"
#include "logger/Logger.h"
#include "seccomp/SeccompRule.h"
#include "seccomp/action/ActionAllow.h"
#include "seccomp/action/ActionKill.h"
#include "seccomp/filter/LibSeccompFilter.h"
namespace s2j {
namespace limits {
ThreadsLimitListener::Threads... | 33.618557 | 78 | 0.618522 | NieDzejkob |
9160e358a516a4aab8384bdc37461f8af33bc3f7 | 542 | cc | C++ | cses/1084.cc | Ashindustry007/competitive-programming | 2eabd3975c029d235abb7854569593d334acae2f | [
"WTFPL"
] | 506 | 2018-08-22T10:30:38.000Z | 2022-03-31T10:01:49.000Z | cses/1084.cc | Ashindustry007/competitive-programming | 2eabd3975c029d235abb7854569593d334acae2f | [
"WTFPL"
] | 13 | 2019-08-07T18:31:18.000Z | 2020-12-15T21:54:41.000Z | cses/1084.cc | Ashindustry007/competitive-programming | 2eabd3975c029d235abb7854569593d334acae2f | [
"WTFPL"
] | 234 | 2018-08-06T17:11:41.000Z | 2022-03-26T10:56:42.000Z | // https://cses.fi/problemset/task/1084/
#include <algorithm>
#include <iostream>
#include <vector>
using namespace std;
typedef vector<int> vi;
int main() {
int n, m, k;
cin >> n >> m >> k;
vi a(m);
for (int i = 0; i < n; i++) cin >> a[i];
vi b(m);
for (int i = 0; i < m; i++) cin >> b[i];
sort(a.begin... | 19.357143 | 42 | 0.47048 | Ashindustry007 |
91649df8e531bea4f0405ea8f7ceb37726ca7518 | 3,041 | cpp | C++ | deps/libgeos/geos/src/precision/PrecisionReducerCoordinateOperation.cpp | AmristarSolutions/node-gdal-next | 8c0a7d9b26c240bf04abbf1b1de312b0691b3d88 | [
"Apache-2.0"
] | 57 | 2020-02-08T17:52:17.000Z | 2021-10-14T03:45:09.000Z | deps/libgeos/geos/src/precision/PrecisionReducerCoordinateOperation.cpp | AmristarSolutions/node-gdal-next | 8c0a7d9b26c240bf04abbf1b1de312b0691b3d88 | [
"Apache-2.0"
] | 47 | 2020-02-12T16:41:40.000Z | 2021-09-28T22:27:56.000Z | deps/libgeos/geos/src/precision/PrecisionReducerCoordinateOperation.cpp | AmristarSolutions/node-gdal-next | 8c0a7d9b26c240bf04abbf1b1de312b0691b3d88 | [
"Apache-2.0"
] | 8 | 2020-03-17T11:18:07.000Z | 2021-10-14T03:45:15.000Z | /**********************************************************************
*
* GEOS - Geometry Engine Open Source
* http://geos.osgeo.org
*
* Copyright (C) 2012 Sandro Santilli <strk@kbt.io>
*
* This is free software; you can redistribute and/or modify it under
* the terms of the GNU Lesser General Public Licence ... | 31.350515 | 141 | 0.646827 | AmristarSolutions |
91661ff93084dfcdfae9cede333776a2c2fc720e | 20,677 | hpp | C++ | include/xtensor/xblockwise_reducer.hpp | DavisVaughan/xtensor | fe81957365ce7eb56ea417bea95476c1344d7c31 | [
"BSD-3-Clause"
] | 1,592 | 2016-11-03T09:30:00.000Z | 2019-10-12T16:40:06.000Z | include/xtensor/xblockwise_reducer.hpp | DavisVaughan/xtensor | fe81957365ce7eb56ea417bea95476c1344d7c31 | [
"BSD-3-Clause"
] | 1,133 | 2016-11-05T09:16:11.000Z | 2019-10-13T12:19:10.000Z | include/xtensor/xblockwise_reducer.hpp | DavisVaughan/xtensor | fe81957365ce7eb56ea417bea95476c1344d7c31 | [
"BSD-3-Clause"
] | 238 | 2016-11-03T09:27:29.000Z | 2019-10-08T17:05:27.000Z | #ifndef XTENSOR_XBLOCKWISE_REDUCER_HPP
#define XTENSOR_XBLOCKWISE_REDUCER_HPP
#include "xtl/xclosure.hpp"
#include "xtl/xsequence.hpp"
#include "xshape.hpp"
#include "xblockwise_reducer_functors.hpp"
#include "xmultiindex_iterator.hpp"
#include "xreducer.hpp"
namespace xt
{
template<class CT, class F, class X, clas... | 41.025794 | 143 | 0.632877 | DavisVaughan |
9168643a5f8ec02fc865ff9fa16ef7cf29c61ce9 | 308 | cpp | C++ | Ruken/Source/Src/Vulkan/Resources/TextureLoadingDescriptor.cpp | Renondedju/Daemon | 8cdfcbc62d7e9dc6c6121ec1484555a23a20b8b6 | [
"MIT"
] | 4 | 2020-06-11T00:35:03.000Z | 2020-06-23T11:57:52.000Z | Ruken/Source/Src/Vulkan/Resources/TextureLoadingDescriptor.cpp | Renondedju/Daemon | 8cdfcbc62d7e9dc6c6121ec1484555a23a20b8b6 | [
"MIT"
] | 1 | 2020-03-17T13:34:16.000Z | 2020-03-17T13:34:16.000Z | Ruken/Source/Src/Vulkan/Resources/TextureLoadingDescriptor.cpp | Renondedju/Daemon | 8cdfcbc62d7e9dc6c6121ec1484555a23a20b8b6 | [
"MIT"
] | 2 | 2020-03-19T12:20:17.000Z | 2020-09-03T07:49:06.000Z |
#include "Vulkan/Resources/TextureLoadingDescriptor.hpp"
USING_RUKEN_NAMESPACE
#pragma region Constructor
TextureLoadingDescriptor::TextureLoadingDescriptor(Renderer const& in_renderer, RkChar const* in_path) noexcept:
renderer {in_renderer},
path {in_path}
{
}
#pragma endregion | 20.533333 | 112 | 0.766234 | Renondedju |
9168dd9019c6a142e4da3d36e2c18e93877a61b0 | 1,126 | cpp | C++ | 545_c.cpp | onexmaster/cp | b78b0f1e586d6977d86c97b32f48fed33f1469af | [
"Apache-2.0",
"MIT"
] | null | null | null | 545_c.cpp | onexmaster/cp | b78b0f1e586d6977d86c97b32f48fed33f1469af | [
"Apache-2.0",
"MIT"
] | null | null | null | 545_c.cpp | onexmaster/cp | b78b0f1e586d6977d86c97b32f48fed33f1469af | [
"Apache-2.0",
"MIT"
] | null | null | null | // Created by Tanuj Jain
#include<bits/stdc++.h>
#include<ext/pb_ds/assoc_container.hpp>
#include<ext/pb_ds/tree_policy.hpp>
using namespace std;
using namespace __gnu_pbds;
#define pb push_back
#define mp make_pair
typedef long long ll;
typedef pair<int,int> pii;
template<class T> using oset=tree<T, null_typ... | 20.851852 | 106 | 0.515986 | onexmaster |
916929982c9ff5be579031316759797cb0e54995 | 1,505 | cpp | C++ | DQMOffline/Trigger/test/EgHLTComCodes_catch2_test.cpp | bisnupriyasahu/cmssw | 6cf37ca459246525be0e8a6f5172c6123637d259 | [
"Apache-2.0"
] | 3 | 2018-08-24T19:10:26.000Z | 2019-02-19T11:45:32.000Z | DQMOffline/Trigger/test/EgHLTComCodes_catch2_test.cpp | bisnupriyasahu/cmssw | 6cf37ca459246525be0e8a6f5172c6123637d259 | [
"Apache-2.0"
] | 3 | 2018-08-23T13:40:24.000Z | 2019-12-05T21:16:03.000Z | DQMOffline/Trigger/test/EgHLTComCodes_catch2_test.cpp | bisnupriyasahu/cmssw | 6cf37ca459246525be0e8a6f5172c6123637d259 | [
"Apache-2.0"
] | 5 | 2018-08-21T16:37:52.000Z | 2020-01-09T13:33:17.000Z | #include "catch.hpp"
#include "DQMOffline/Trigger/interface/EgHLTComCodes.h"
#include "DQMOffline/Trigger/interface/EgHLTEgCutCodes.h"
TEST_CASE("EgHLTComCodes", "[EgHLTComCodes]") {
egHLT::ComCodes codes;
constexpr unsigned int kFoo = 0b1;
constexpr unsigned int kBar = 0b10;
constexpr unsigned int kIsh =... | 27.87037 | 78 | 0.651827 | bisnupriyasahu |
9169b0ae10ff6728f0719cc9e43777139decf96d | 196 | cpp | C++ | AnvilEldorado/Source/Blam/Data/LruvCacheBase.cpp | MasterScott/AnvilClient | 9b7751d9583d7221fd9c9f1b864f27e7ff9fcf79 | [
"MIT"
] | 57 | 2016-01-17T16:13:59.000Z | 2020-07-17T05:39:33.000Z | AnvilEldorado/Source/Blam/Data/LruvCacheBase.cpp | MasterScott/AnvilClient | 9b7751d9583d7221fd9c9f1b864f27e7ff9fcf79 | [
"MIT"
] | 24 | 2016-02-05T01:03:30.000Z | 2020-12-08T18:44:33.000Z | AnvilEldorado/Source/Blam/Data/LruvCacheBase.cpp | MasterScott/AnvilClient | 9b7751d9583d7221fd9c9f1b864f27e7ff9fcf79 | [
"MIT"
] | 23 | 2015-12-29T23:33:15.000Z | 2019-10-21T22:45:27.000Z | #include "LruvCacheBase.hpp"
using namespace Blam::Data;
LruvCacheBase::LruvCacheBase()
: Unknown32(nullptr), Unknown36(nullptr), Unknown40(nullptr), Unknown44(nullptr), Allocator(nullptr)
{
}
| 21.777778 | 101 | 0.770408 | MasterScott |
916a408dc7ee44d6ec5f38196509d6e12f13c902 | 2,188 | cc | C++ | hw2/framebuffer.cc | chrismorgan-hb/usc-cs480 | d4f22e4b8f3643ce8241abc996ede10fdea43658 | [
"Apache-2.0"
] | null | null | null | hw2/framebuffer.cc | chrismorgan-hb/usc-cs480 | d4f22e4b8f3643ce8241abc996ede10fdea43658 | [
"Apache-2.0"
] | null | null | null | hw2/framebuffer.cc | chrismorgan-hb/usc-cs480 | d4f22e4b8f3643ce8241abc996ede10fdea43658 | [
"Apache-2.0"
] | null | null | null | // framebuffer.cc
// class implementation for Framebuffer
// Author: Christopher Morgan
// CSCI 480 Sp2004
#include "framebuffer.h"
#include "utility.h"
#include <iostream>
#include <fstream>
using namespace std;
#include <limits.h>
//constructor
//framebuffer must be created with width and height
Framebuffer::Frameb... | 19.535714 | 77 | 0.568099 | chrismorgan-hb |
916b055dad09ff569d36ae770d7a317bb59ce520 | 2,320 | cpp | C++ | Source/Core/AS_SFML/Joystick.cpp | ace13/LD34 | 82ecda6bdd69208be1ec6d03c3eb250313c4b7d1 | [
"MIT"
] | 1 | 2017-01-05T01:55:16.000Z | 2017-01-05T01:55:16.000Z | Source/Core/AS_SFML/Joystick.cpp | ace13/AngelscriptMP | 583d481fdbef75e4d96a45eb2942a21189087c77 | [
"MIT"
] | null | null | null | Source/Core/AS_SFML/Joystick.cpp | ace13/AngelscriptMP | 583d481fdbef75e4d96a45eb2942a21189087c77 | [
"MIT"
] | null | null | null | #include "Shared.hpp"
#include <SFML/Window/Joystick.hpp>
namespace
{
enum Stick
{
Left = 0,
Right,
Pov
};
void getStickPosition(asIScriptGeneric* gen)
{
uint32_t id = gen->GetArgDWord(0);
Stick stick = Stick(gen->GetArgDWord(1));
switch (stick)
{
case Left:
new (gen->GetAddressOfReturnLocat... | 35.151515 | 130 | 0.709914 | ace13 |
9170c9869e819713d8036fa207df18ea7f74be52 | 1,365 | cpp | C++ | aws-cpp-sdk-ssm-contacts/source/model/ListContactChannelsResult.cpp | perfectrecall/aws-sdk-cpp | fb8cbebf2fd62720b65aeff841ad2950e73d8ebd | [
"Apache-2.0"
] | 1 | 2022-02-10T08:06:54.000Z | 2022-02-10T08:06:54.000Z | aws-cpp-sdk-ssm-contacts/source/model/ListContactChannelsResult.cpp | perfectrecall/aws-sdk-cpp | fb8cbebf2fd62720b65aeff841ad2950e73d8ebd | [
"Apache-2.0"
] | 1 | 2022-01-03T23:59:37.000Z | 2022-01-03T23:59:37.000Z | aws-cpp-sdk-ssm-contacts/source/model/ListContactChannelsResult.cpp | ravindra-wagh/aws-sdk-cpp | 7d5ff01b3c3b872f31ca98fb4ce868cd01e97696 | [
"Apache-2.0"
] | 1 | 2021-11-09T11:58:03.000Z | 2021-11-09T11:58:03.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/ssm-contacts/model/ListContactChannelsResult.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <aws/core/AmazonWebServiceResult.h>
#include <aws/core/utils/StringUtils.h>
#incl... | 27.3 | 126 | 0.768498 | perfectrecall |
91745dfbe3cff1a6b168029fae6e5609d6362c72 | 527 | cpp | C++ | src/common/expression/VertexExpression.cpp | blacklovebear/nebula | f500d478ac53b7c7977da305ca1ed07f8e44376a | [
"Apache-2.0"
] | 1 | 2020-04-11T12:12:39.000Z | 2020-04-11T12:12:39.000Z | src/common/expression/VertexExpression.cpp | blacklovebear/nebula | f500d478ac53b7c7977da305ca1ed07f8e44376a | [
"Apache-2.0"
] | 24 | 2021-09-15T12:42:03.000Z | 2021-09-16T04:59:19.000Z | src/common/expression/VertexExpression.cpp | blacklovebear/nebula | f500d478ac53b7c7977da305ca1ed07f8e44376a | [
"Apache-2.0"
] | 1 | 2020-08-03T10:19:39.000Z | 2020-08-03T10:19:39.000Z | /* Copyright (c) 2020 vesoft inc. All rights reserved.
*
* This source code is licensed under Apache 2.0 License,
* attached with Common Clause Condition 1.0, found in the LICENSES directory.
*/
#include "common/expression/VertexExpression.h"
#include "common/expression/ExprVisitor.h"
namespace nebula {
const V... | 25.095238 | 78 | 0.745731 | blacklovebear |
9176cd1e0a82f1e5bdb12346c0452393f36b4acb | 38,747 | cpp | C++ | Src/lunaui/notifications/DashboardWindowManager.cpp | ericblade/luna-sysmgr | 82d5d7ced4ba21d3802eb2c8ae063236b6562331 | [
"Apache-2.0"
] | 3 | 2018-11-16T14:51:17.000Z | 2019-11-21T10:55:24.000Z | Src/lunaui/notifications/DashboardWindowManager.cpp | penk/luna-sysmgr | 60c7056a734cdb55a718507f3a739839c9d74edf | [
"Apache-2.0"
] | 1 | 2021-02-20T13:12:15.000Z | 2021-02-20T13:12:15.000Z | Src/lunaui/notifications/DashboardWindowManager.cpp | ericblade/luna-sysmgr | 82d5d7ced4ba21d3802eb2c8ae063236b6562331 | [
"Apache-2.0"
] | null | null | null | /* @@@LICENSE
*
* Copyright (c) 2008-2012 Hewlett-Packard Development Company, L.P.
*
* 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
*
* Unl... | 29.398331 | 162 | 0.750665 | ericblade |
91770e793ba9d44a8110448b8c28e185ae0710f0 | 4,385 | cpp | C++ | Editor/IKWindow.cpp | ValtoGameEngines/WickedEngine | 1831df147c24fe1bbbe3aeddf98da3535284ade8 | [
"Zlib",
"MIT"
] | 1 | 2020-09-07T23:12:17.000Z | 2020-09-07T23:12:17.000Z | Editor/IKWindow.cpp | ValtoGameEngines/WickedEngine | 1831df147c24fe1bbbe3aeddf98da3535284ade8 | [
"Zlib",
"MIT"
] | null | null | null | Editor/IKWindow.cpp | ValtoGameEngines/WickedEngine | 1831df147c24fe1bbbe3aeddf98da3535284ade8 | [
"Zlib",
"MIT"
] | 1 | 2020-06-29T07:54:10.000Z | 2020-06-29T07:54:10.000Z | #include "stdafx.h"
#include "IKWindow.h"
#include "Editor.h"
using namespace wiECS;
using namespace wiScene;
IKWindow::IKWindow(EditorComponent* editor) : GUI(&editor->GetGUI())
{
assert(GUI && "Invalid GUI!");
window = new wiWindow(GUI, "Inverse Kinematics (IK) Window");
window->SetSize(XMFLOAT2(460, 200));
G... | 29.42953 | 140 | 0.715393 | ValtoGameEngines |
9177c39579b2d5034dc3556aa2cb796e77d693b8 | 584 | cpp | C++ | tests/test_list.cpp | ToruNiina/wad | f5f0445f7f0a53efd31988ce7d381bccb463b951 | [
"MIT"
] | null | null | null | tests/test_list.cpp | ToruNiina/wad | f5f0445f7f0a53efd31988ce7d381bccb463b951 | [
"MIT"
] | null | null | null | tests/test_list.cpp | ToruNiina/wad | f5f0445f7f0a53efd31988ce7d381bccb463b951 | [
"MIT"
] | null | null | null | #define CATCH_CONFIG_MAIN
#include "catch.hpp"
#include "wad/list.hpp"
#include "wad/integer.hpp"
#include "utility.hpp"
TEST_CASE( "std::list save/load", "[std::list]" )
{
std::list<int> upto_16;
std::list<int> upto_u16;
std::list<int> upto_u32;
for(int i=0; i< 5; ++i) {upto_16 .push_back(i);}
... | 27.809524 | 55 | 0.633562 | ToruNiina |
917a05e8dc1c3ecfcc2df14f84dc596304a00d5b | 685 | cpp | C++ | abc/233e.cpp | wky32768/Atcoder | b816b8de922b5bcd59881d808ea0f98148c07311 | [
"MIT"
] | null | null | null | abc/233e.cpp | wky32768/Atcoder | b816b8de922b5bcd59881d808ea0f98148c07311 | [
"MIT"
] | null | null | null | abc/233e.cpp | wky32768/Atcoder | b816b8de922b5bcd59881d808ea0f98148c07311 | [
"MIT"
] | null | null | null | #include <iostream>
#include <cstdio>
#include <cmath>
#include <cstring>
#include <algorithm>
#define For(i,a,b) for(int i=a;i<=b;i++)
#define int long long
using namespace std;
char ch[1000005];
int ans[1000005],tot[1000005];
signed main() {
scanf("%s",ch+1);
int n=strlen(ch+1);
For(i,1,n) tot[i]=tot[i-1]+ch[i]-'0... | 20.757576 | 40 | 0.538686 | wky32768 |
917b03dd4a82d7015337584227ba1f3a8cf8e663 | 53,037 | cc | C++ | src/topo_ma.cc | erdemeren/VDlib | 23091adbea4ba26379eaf941be53d925304a0560 | [
"Apache-2.0",
"MIT"
] | null | null | null | src/topo_ma.cc | erdemeren/VDlib | 23091adbea4ba26379eaf941be53d925304a0560 | [
"Apache-2.0",
"MIT"
] | null | null | null | src/topo_ma.cc | erdemeren/VDlib | 23091adbea4ba26379eaf941be53d925304a0560 | [
"Apache-2.0",
"MIT"
] | null | null | null | #include <tgmath.h>
#include<algorithm>
#include "apf.h"
#include "ma.h"
#include "maMesh.h"
#include "topo_extinfo.h"
#include "topo_geom.h"
#include "topo_ma.h"
// Get the lowest quality element and it's quality.
std::pair<apf::MeshEntity*, double> calc_valid_q(apf::Mesh2* m,
... | 29.662752 | 201 | 0.593623 | erdemeren |
91825db1e52c5f3d5b3aa48752a882d39450bd28 | 28,923 | cpp | C++ | Eagle/src/Eagle/Script/ScriptEngineRegistry.cpp | IceLuna/Eagle | 3b0d5f014697c97138f160ddd535b1afd6d0c141 | [
"Apache-2.0"
] | 1 | 2021-12-10T19:15:25.000Z | 2021-12-10T19:15:25.000Z | Eagle/src/Eagle/Script/ScriptEngineRegistry.cpp | IceLuna/Eagle | 3b0d5f014697c97138f160ddd535b1afd6d0c141 | [
"Apache-2.0"
] | 41 | 2021-08-18T21:32:14.000Z | 2022-02-20T11:44:06.000Z | Eagle/src/Eagle/Script/ScriptEngineRegistry.cpp | IceLuna/Eagle | 3b0d5f014697c97138f160ddd535b1afd6d0c141 | [
"Apache-2.0"
] | null | null | null | #include "egpch.h"
#include "ScriptEngineRegistry.h"
#include "ScriptEngine.h"
#include "ScriptWrappers.h"
#include "Eagle/Components/Components.h"
#include "Eagle/Core/Entity.h"
#include <mono/jit/jit.h>
#include <mono/metadata/assembly.h>
namespace Eagle
{
std::unordered_map<MonoType*, std::function<void(Entity&)>... | 88.449541 | 271 | 0.831 | IceLuna |
91828a3fc770a1d12be4bbfa6992f2f34a1114de | 73 | cpp | C++ | VChat/client/src/socket.cpp | xmmmmmovo/VChat | db0c45fcca55af09c3e18def61a4601655575eaa | [
"Apache-2.0"
] | null | null | null | VChat/client/src/socket.cpp | xmmmmmovo/VChat | db0c45fcca55af09c3e18def61a4601655575eaa | [
"Apache-2.0"
] | null | null | null | VChat/client/src/socket.cpp | xmmmmmovo/VChat | db0c45fcca55af09c3e18def61a4601655575eaa | [
"Apache-2.0"
] | null | null | null | #include "socket.h"
#include <sys/socket.h>
client::Socket::Socket() {}
| 14.6 | 27 | 0.671233 | xmmmmmovo |
91834e8215c7c0af05dc6635277eee55d53d54e4 | 1,790 | cpp | C++ | src/RESTAPI_oauth2Handler.cpp | shimmy568/wlan-cloud-ucentralgw | 806e24e1e666c31175c059373440ae029d9fff67 | [
"BSD-3-Clause"
] | null | null | null | src/RESTAPI_oauth2Handler.cpp | shimmy568/wlan-cloud-ucentralgw | 806e24e1e666c31175c059373440ae029d9fff67 | [
"BSD-3-Clause"
] | null | null | null | src/RESTAPI_oauth2Handler.cpp | shimmy568/wlan-cloud-ucentralgw | 806e24e1e666c31175c059373440ae029d9fff67 | [
"BSD-3-Clause"
] | null | null | null | //
// License type: BSD 3-Clause License
// License copy: https://github.com/Telecominfraproject/wlan-cloud-ucentralgw/blob/master/LICENSE
//
// Created by Stephane Bourque on 2021-03-04.
// Arilia Wireless Inc.
//
#include "Poco/JSON/Parser.h"
#include "RESTAPI_oauth2Handler.h"
#include "uAuthService.h"
void RESTAP... | 31.403509 | 123 | 0.594413 | shimmy568 |
91860598057b479f935047626faa8fe8337d007a | 810 | cpp | C++ | src/blinkit/blink/renderer/core/layout/ViewFragmentationContext.cpp | titilima/blink | 2de70073edfe0e1e0aaf2bb22b5d6abd9b776fad | [
"MIT"
] | 13 | 2020-04-21T13:14:00.000Z | 2021-11-13T14:55:12.000Z | third_party/WebKit/Source/core/layout/ViewFragmentationContext.cpp | maidiHaitai/haitaibrowser | a232a56bcfb177913a14210e7733e0ea83a6b18d | [
"BSD-3-Clause"
] | null | null | null | third_party/WebKit/Source/core/layout/ViewFragmentationContext.cpp | maidiHaitai/haitaibrowser | a232a56bcfb177913a14210e7733e0ea83a6b18d | [
"BSD-3-Clause"
] | 6 | 2020-09-23T08:56:12.000Z | 2021-11-18T03:40:49.000Z | // Copyright 2015 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 "core/layout/ViewFragmentationContext.h"
#include "core/layout/LayoutView.h"
namespace blink {
bool ViewFragmentationContext::isFragmentainerL... | 27 | 85 | 0.788889 | titilima |
918703b4412c8929081f8d7ed31fc9b756f1dbb2 | 11,982 | cpp | C++ | third_party/virtualbox/src/VBox/Runtime/testcase/tstRTSemEventMulti.cpp | Fimbure/icebox-1 | 0b81992a53e1b410955ca89bdb6f8169d6f2da86 | [
"MIT"
] | 521 | 2019-03-29T15:44:08.000Z | 2022-03-22T09:46:19.000Z | third_party/virtualbox/src/VBox/Runtime/testcase/tstRTSemEventMulti.cpp | Fimbure/icebox-1 | 0b81992a53e1b410955ca89bdb6f8169d6f2da86 | [
"MIT"
] | 30 | 2019-06-04T17:00:49.000Z | 2021-09-08T20:44:19.000Z | third_party/virtualbox/src/VBox/Runtime/testcase/tstRTSemEventMulti.cpp | Fimbure/icebox-1 | 0b81992a53e1b410955ca89bdb6f8169d6f2da86 | [
"MIT"
] | 99 | 2019-03-29T16:04:13.000Z | 2022-03-28T16:59:34.000Z | /* $Id: tstRTSemEventMulti.cpp $ */
/** @file
* IPRT Testcase - Multiple Release Event Semaphores.
*/
/*
* Copyright (C) 2009-2017 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
* you can redistribute i... | 45.045113 | 146 | 0.610749 | Fimbure |
918abea4dce52fbbe598c3104be24779f2e2604f | 2,940 | cpp | C++ | Libs/ModuleDescription/ctkModuleParameter.cpp | lassoan/CTK | ba271a053217d26e90dee35837cd3979c3bb5b8b | [
"Apache-2.0"
] | 1 | 2018-11-15T17:02:06.000Z | 2018-11-15T17:02:06.000Z | Libs/ModuleDescription/ctkModuleParameter.cpp | SlicerRt/CTK | 4ff3dff4b9560b0dd78512ca7fc47999b0a8fca1 | [
"Apache-2.0"
] | null | null | null | Libs/ModuleDescription/ctkModuleParameter.cpp | SlicerRt/CTK | 4ff3dff4b9560b0dd78512ca7fc47999b0a8fca1 | [
"Apache-2.0"
] | null | null | null | /*=============================================================================
Library: CTK
Copyright (c) 2010 Brigham and Women's Hospital (BWH) 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 cop... | 31.612903 | 79 | 0.507143 | lassoan |
9260ca69020853cf63f5f7cedc1273b07105d241 | 3,602 | cc | C++ | tests/sxg_encoded_response_test.cc | rgs1/libsxg | 5bfaf438eb1ecb57112c419fb5d7d396dea593a2 | [
"Apache-2.0"
] | 51 | 2019-08-16T05:22:45.000Z | 2022-03-30T17:38:36.000Z | tests/sxg_encoded_response_test.cc | rgs1/libsxg | 5bfaf438eb1ecb57112c419fb5d7d396dea593a2 | [
"Apache-2.0"
] | 56 | 2019-08-28T10:48:30.000Z | 2021-11-05T21:18:24.000Z | tests/sxg_encoded_response_test.cc | rgs1/libsxg | 5bfaf438eb1ecb57112c419fb5d7d396dea593a2 | [
"Apache-2.0"
] | 35 | 2019-08-17T21:07:04.000Z | 2022-01-31T21:25:26.000Z | // Copyright 2019 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 35.313725 | 79 | 0.742088 | rgs1 |
9261111d8b22ae7ef0b7729a17ded03c8517d3e5 | 10,336 | hpp | C++ | sources/include/vd/timeline.hpp | amikey/video-player | fcf920f6085f934cd9984007a773f0c87031b30c | [
"MIT"
] | 9 | 2016-07-18T07:49:51.000Z | 2022-03-08T06:09:51.000Z | sources/include/vd/timeline.hpp | amikey/video-player | fcf920f6085f934cd9984007a773f0c87031b30c | [
"MIT"
] | null | null | null | sources/include/vd/timeline.hpp | amikey/video-player | fcf920f6085f934cd9984007a773f0c87031b30c | [
"MIT"
] | 6 | 2016-02-03T07:30:32.000Z | 2020-05-01T14:25:38.000Z | /** VD */
#pragma once
#include <vd/common.hpp>
#include <vd/proto.hpp>
#include <QObject>
#include <QScrollBar>
#include <QGraphicsItem>
#include <QGraphicsView>
#include <QGraphicsScene>
namespace vd {
struct StreamConf
{
double time_base;
};
class MediaDecoder
{
public:
MediaDecoder();
virtual ~MediaDecoder(... | 17.790017 | 112 | 0.756095 | amikey |
9262f0f0afd214758b8e18e6dacf30a35ca5d0dd | 188 | cpp | C++ | library/src/ProgressBar.cpp | StratifyLabs/UxAPI | 4dc043b132452896ed9626038d53439b0def786a | [
"MIT"
] | null | null | null | library/src/ProgressBar.cpp | StratifyLabs/UxAPI | 4dc043b132452896ed9626038d53439b0def786a | [
"MIT"
] | null | null | null | library/src/ProgressBar.cpp | StratifyLabs/UxAPI | 4dc043b132452896ed9626038d53439b0def786a | [
"MIT"
] | null | null | null | // Copyright 2016-2021 Tyler Gilbert and Stratify Labs, Inc; see LICENSE.md
#include "ux/ProgressBar.hpp"
#include "ux/draw/Rectangle.hpp"
using namespace ux::sgfx;
using namespace ux;
| 20.888889 | 75 | 0.760638 | StratifyLabs |
9262f30414ebd6153de123175ac857de8ebf8c87 | 382 | hpp | C++ | include/Defines.hpp | Aargonian/JLMG | 18fa141b7e8c895e93c2e5450d9e8543b3b7b1e7 | [
"MIT"
] | null | null | null | include/Defines.hpp | Aargonian/JLMG | 18fa141b7e8c895e93c2e5450d9e8543b3b7b1e7 | [
"MIT"
] | null | null | null | include/Defines.hpp | Aargonian/JLMG | 18fa141b7e8c895e93c2e5450d9e8543b3b7b1e7 | [
"MIT"
] | null | null | null | //
// Created by Aaron Helton on 1/16/2020.
//
#ifndef JLMG_DEFINES_HPP
#define JLMG_DEFINES_HPP
#include <cstdint>
typedef uint_least8_t uint8;
typedef uint_least16_t uint16;
typedef uint_least32_t uint32;
typedef uint_least64_t uint64;
typedef int_least8_t int8;
typedef int_least16_t int16;
typedef int_least32_t i... | 19.1 | 40 | 0.816754 | Aargonian |
9267740308a459caa4270a25b0bd9fcad4df2114 | 909 | hpp | C++ | vnix/bit-range.hpp | tevaughan/units | 75e5cfa76a44225983ca55f2a54e0869ff7b3715 | [
"BSD-3-Clause"
] | null | null | null | vnix/bit-range.hpp | tevaughan/units | 75e5cfa76a44225983ca55f2a54e0869ff7b3715 | [
"BSD-3-Clause"
] | 4 | 2019-04-17T21:36:00.000Z | 2019-04-30T22:06:31.000Z | vnix/bit-range.hpp | tevaughan/units | 75e5cfa76a44225983ca55f2a54e0869ff7b3715 | [
"BSD-3-Clause"
] | null | null | null | /// @file vnix/bit-range.hpp
/// @brief Definition of vnix::bit, vnix::bit_range.
/// @copyright 2019 Thomas E. Vaughan; all rights reserved.
/// @license BSD Three-Clause; see LICENSE.
#ifndef VNIX_BIT_HPP
#define VNIX_BIT_HPP
namespace vnix {
/// Word with specified bit set.
/// @tparam I Type of ... | 28.40625 | 71 | 0.647965 | tevaughan |
926a055de26b3c432f325946c99f67115254cf3d | 69,374 | cpp | C++ | core/src/main/java/site/ycsb/data_gen/Graph_gen/Graph_gen/glib-adv/gsearch.cpp | qiuhere/Bench | 80f15facb81120b754547586cf3a7e5f46ca1551 | [
"Apache-2.0"
] | null | null | null | core/src/main/java/site/ycsb/data_gen/Graph_gen/Graph_gen/glib-adv/gsearch.cpp | qiuhere/Bench | 80f15facb81120b754547586cf3a7e5f46ca1551 | [
"Apache-2.0"
] | null | null | null | core/src/main/java/site/ycsb/data_gen/Graph_gen/Graph_gen/glib-adv/gsearch.cpp | qiuhere/Bench | 80f15facb81120b754547586cf3a7e5f46ca1551 | [
"Apache-2.0"
] | null | null | null | /////////////////////////////////////////////////
// WdGix-Constants
TStr TGixConst::WdGixFNm = "WdGix";
TStr TGixConst::WdGixDatFNm = "WdGix.Dat";
TStr TGixConst::WdGixBsFNm = "WdGixBs.MBlobBs";
TStr TGixConst::WdGixMDSFNm = "WdGixMDS.Dat";
TStr TGixConst::TrGixFNm = "TrGix";
TStr TGixConst::TrGixDatFNm = "TrGix.Dat";... | 40.617096 | 131 | 0.613558 | qiuhere |
92707a6b7d5cee6fd23069968cc63ef3251a9703 | 12,829 | cc | C++ | PhysicsTools/NanoAOD/plugins/IsoValueMapProducer.cc | Michael-Krohn/cmssw | 25064b40a13dc451b498e850214fcbe141f7cb75 | [
"Apache-2.0"
] | 1 | 2018-03-14T16:25:31.000Z | 2018-03-14T16:25:31.000Z | PhysicsTools/NanoAOD/plugins/IsoValueMapProducer.cc | Michael-Krohn/cmssw | 25064b40a13dc451b498e850214fcbe141f7cb75 | [
"Apache-2.0"
] | null | null | null | PhysicsTools/NanoAOD/plugins/IsoValueMapProducer.cc | Michael-Krohn/cmssw | 25064b40a13dc451b498e850214fcbe141f7cb75 | [
"Apache-2.0"
] | 2 | 2020-03-20T18:46:13.000Z | 2021-03-12T09:23:07.000Z | // -*- C++ -*-
//
// Package: PhysicsTools/NanoAOD
// Class: IsoValueMapProducer
//
/**\class IsoValueMapProducer IsoValueMapProducer.cc PhysicsTools/NanoAOD/plugins/IsoValueMapProducer.cc
Description: [one line class summary]
Implementation:
[Notes on implementation]
*/
//
// Original Author: Marco P... | 39.965732 | 119 | 0.699353 | Michael-Krohn |
92709647dac00dbcd443e80ee4ecf9a2a5e46208 | 6,127 | cc | C++ | paddle/pten/core/convert_utils.cc | zhenlin-work/Paddle | ed7a21dea0ddcffb6f7f33ce21c5c368f5c7866b | [
"Apache-2.0"
] | 2 | 2022-01-04T10:51:58.000Z | 2022-01-10T12:29:08.000Z | paddle/pten/core/convert_utils.cc | zhenlin-work/Paddle | ed7a21dea0ddcffb6f7f33ce21c5c368f5c7866b | [
"Apache-2.0"
] | null | null | null | paddle/pten/core/convert_utils.cc | zhenlin-work/Paddle | ed7a21dea0ddcffb6f7f33ce21c5c368f5c7866b | [
"Apache-2.0"
] | 1 | 2020-11-25T10:41:52.000Z | 2020-11-25T10:41:52.000Z | /* Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or... | 33.298913 | 80 | 0.693814 | zhenlin-work |
9271323e52f133fcecca87a1821b7f8ddec1a8b2 | 358 | cpp | C++ | test/unit/src/alloy/source/model.cpp | brunocodutra/alloy | e05e30a40b1b04c09819b8b968829ba4f62dc221 | [
"MIT"
] | 16 | 2017-06-15T18:37:05.000Z | 2022-02-20T09:17:38.000Z | test/unit/src/alloy/source/model.cpp | brunocodutra/alloy | e05e30a40b1b04c09819b8b968829ba4f62dc221 | [
"MIT"
] | 3 | 2017-06-15T18:26:02.000Z | 2017-07-29T15:29:16.000Z | test/unit/src/alloy/source/model.cpp | brunocodutra/alloy | e05e30a40b1b04c09819b8b968829ba4f62dc221 | [
"MIT"
] | 1 | 2018-06-05T20:39:14.000Z | 2018-06-05T20:39:14.000Z | #include <alloy.hpp>
#include "test.hpp"
template<auto X, auto Y, auto Z>
struct matrix {
constexpr matrix() {
auto f = [](auto&& sink) {
return values<X, Y, Z>()(FWD(sink));
};
static_assert(qualify<X>(alloy::source{callable<X>(f)}) >> expect(values<X, Y, Z>()));
}
};
in... | 18.842105 | 94 | 0.541899 | brunocodutra |
92744e2ec5f824ed15a53b13adbfd9f970556322 | 740 | cpp | C++ | snippets/cpp/VS_Snippets_CLR/Interop CallingConvention/CPP/callingconv.cpp | BohdanMosiyuk/samples | 59d435ba9e61e0fc19f5176c96b1cdbd53596142 | [
"CC-BY-4.0",
"MIT"
] | 2 | 2020-03-12T19:26:36.000Z | 2022-01-10T21:45:33.000Z | snippets/cpp/VS_Snippets_CLR/Interop CallingConvention/CPP/callingconv.cpp | BohdanMosiyuk/samples | 59d435ba9e61e0fc19f5176c96b1cdbd53596142 | [
"CC-BY-4.0",
"MIT"
] | 555 | 2019-09-23T22:22:58.000Z | 2021-07-15T18:51:12.000Z | snippets/cpp/VS_Snippets_CLR/Interop CallingConvention/CPP/callingconv.cpp | BohdanMosiyuk/samples | 59d435ba9e61e0fc19f5176c96b1cdbd53596142 | [
"CC-BY-4.0",
"MIT"
] | 3 | 2020-01-29T16:31:15.000Z | 2021-08-24T07:00:15.000Z |
// <Snippet1>
using namespace System;
using namespace System::Runtime::InteropServices;
public ref class LibWrap
{
public:
// CallingConvention.Cdecl must be used since the stack is
// cleaned up by the caller.
// int printf( const char *format [, argument]... )
[DllImport("msvcrt.dll",CharSet=CharSet::... | 27.407407 | 97 | 0.687838 | BohdanMosiyuk |
92751b7feb47284fdb5c09836d601fd2b0034d6c | 2,256 | hpp | C++ | external/mapnik/include/mapnik/boolean.hpp | baiyicanggou/mapnik_mvt | 9bde52fa9958d81361c015c816858534ec0931bb | [
"Apache-2.0"
] | null | null | null | external/mapnik/include/mapnik/boolean.hpp | baiyicanggou/mapnik_mvt | 9bde52fa9958d81361c015c816858534ec0931bb | [
"Apache-2.0"
] | null | null | null | external/mapnik/include/mapnik/boolean.hpp | baiyicanggou/mapnik_mvt | 9bde52fa9958d81361c015c816858534ec0931bb | [
"Apache-2.0"
] | null | null | null | /*****************************************************************************
*
* This file is part of Mapnik (c++ mapping toolkit)
*
* Copyright (C) 2015 Artem Pavlenko
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as p... | 25.348315 | 79 | 0.615248 | baiyicanggou |
927874510225c5fb5aa53d0a5b089bc99afc57bd | 326 | cpp | C++ | alex/chapter4/4.3_functional_addition.cpp | Alexhhhc/gay-school-cpp-homework | fa864ce1632367ef0fa269c25030e60d3a0aafac | [
"BSD-3-Clause"
] | null | null | null | alex/chapter4/4.3_functional_addition.cpp | Alexhhhc/gay-school-cpp-homework | fa864ce1632367ef0fa269c25030e60d3a0aafac | [
"BSD-3-Clause"
] | null | null | null | alex/chapter4/4.3_functional_addition.cpp | Alexhhhc/gay-school-cpp-homework | fa864ce1632367ef0fa269c25030e60d3a0aafac | [
"BSD-3-Clause"
] | null | null | null | #include<iostream>
using namespace std;
int main(){
float add(float x,float y);//声明add函数
float a,b,c;
cout<<"Please enter a&b:";//输出语句
cin>>a>>b; //输入语句
c=add(a,b); //调用add函数
cout<<"sum="<<c<<endl; //输出语句
return 0;
}
float add(float x,float y){ //定义add函数
float z;
z=x+y;
return... | 20.375 | 40 | 0.56135 | Alexhhhc |
927b69374ca11b474ccc4a9e048fa783236a3b5d | 1,215 | cpp | C++ | pr2_coffee/elevator/elevator_door_status/elevator_door_status.cpp | atp42/jks-ros-pkg | 367fc00f2a9699f33d05c7957d319a80337f1ed4 | [
"FTL"
] | 3 | 2017-02-02T13:27:45.000Z | 2018-06-17T11:52:13.000Z | pr2_coffee/elevator/elevator_door_status/elevator_door_status.cpp | salisbury-robotics/jks-ros-pkg | 367fc00f2a9699f33d05c7957d319a80337f1ed4 | [
"FTL"
] | null | null | null | pr2_coffee/elevator/elevator_door_status/elevator_door_status.cpp | salisbury-robotics/jks-ros-pkg | 367fc00f2a9699f33d05c7957d319a80337f1ed4 | [
"FTL"
] | null | null | null | #include <cmath>
#include <cstdio>
#include "elevator_door_status.h"
using std::vector;
ElevatorDoorStatus::ElevatorDoorStatus()
{
}
ElevatorDoorStatus::~ElevatorDoorStatus()
{
}
void ElevatorDoorStatus::set_reference(vector<float> scan)
{
ref = scan;
}
ElevatorDoorStatus::DoorState ElevatorDoorStatus::detect(vec... | 22.090909 | 76 | 0.62963 | atp42 |
927c3a493597d78d90019a891bee8151b2c5bf2f | 7,821 | cpp | C++ | qubiter/quantum_CSD_compiler/LEGACY/qubiter1.11-C++source/main.cpp | artiste-qb-net/qubiter | af0340584d0b47d6b18d3dd28cd9b55a08cb507c | [
"Apache-2.0"
] | 129 | 2016-03-22T17:50:16.000Z | 2022-01-26T14:53:03.000Z | qubiter/quantum_CSD_compiler/LEGACY/qubiter1.11-C++source/main.cpp | yourball/qubiter | 5ef0ea064fa8c9f125f7951a01fbb88504a054a5 | [
"Apache-2.0"
] | 40 | 2016-03-22T19:38:27.000Z | 2019-07-02T19:40:27.000Z | qubiter/quantum_CSD_compiler/LEGACY/qubiter1.11-C++source/main.cpp | artiste-qb-net/qubiter | af0340584d0b47d6b18d3dd28cd9b55a08cb507c | [
"Apache-2.0"
] | 36 | 2016-03-28T07:48:54.000Z | 2022-01-26T14:49:28.000Z | #include "UNITARY_MAT.h"
#include "TREE.h"
#include "STRINGY.h"
#include "OPTIMIZATIONS.h"
#include "PERMUTATION.h"
#include "CENTRAL_MAT.h"
#include "W_SPEC.h"
//This global is a string that denotes the
//matrix being decomposed. The global will
//be used as a prefix in file names.
STRINGY g_mat_name;
VOID pmut_op... | 28.133094 | 77 | 0.68738 | artiste-qb-net |
927e4f75c55a804c83b0033ede86cba10772b177 | 1,403 | cc | C++ | source/Detectors/MeshModels.cc | vetlewi/AFRODITE | 4aa42184c0f94613e7e2b219bc8aca371094143e | [
"MIT"
] | null | null | null | source/Detectors/MeshModels.cc | vetlewi/AFRODITE | 4aa42184c0f94613e7e2b219bc8aca371094143e | [
"MIT"
] | 1 | 2021-05-04T10:52:08.000Z | 2021-05-04T10:52:08.000Z | source/Detectors/MeshModels.cc | vetlewi/AFRODITE | 4aa42184c0f94613e7e2b219bc8aca371094143e | [
"MIT"
] | null | null | null | //
// Created by Vetle Wegner Ingeberg on 30/04/2021.
//
#include "meshreader/incbin.h"
#ifndef SRC_PATH
#define SRC_PATH "../"
#endif // SRC_PATH
#ifndef PLY_PATH
#define PLY_PATH SRC_PATH"Mesh-Models"
#endif // PLY_PATH
#ifndef DETECTOR_PATH
#define DETECTOR_PATH PLY_PATH"/DETECTORS"
#endif // DETECTOR_PATH
#ifn... | 40.085714 | 103 | 0.840342 | vetlewi |
927e8a6f4a1a295f15b212626ccc771a4f6f0576 | 1,913 | cpp | C++ | cpp/graphs/shortestpaths/dijkstra.cpp | ayushbhatt2000/codelibrary | e1209b5e6195717d20127e12e908839c595c2f4c | [
"Unlicense"
] | 1,727 | 2015-01-01T18:32:37.000Z | 2022-03-28T05:56:03.000Z | cpp/graphs/shortestpaths/dijkstra.cpp | ayushbhatt2000/codelibrary | e1209b5e6195717d20127e12e908839c595c2f4c | [
"Unlicense"
] | 110 | 2015-05-03T10:23:18.000Z | 2021-07-31T22:44:39.000Z | cpp/graphs/shortestpaths/dijkstra.cpp | ayushbhatt2000/codelibrary | e1209b5e6195717d20127e12e908839c595c2f4c | [
"Unlicense"
] | 570 | 2015-01-01T10:17:11.000Z | 2022-03-31T22:23:46.000Z | #include <bits/stdc++.h>
using namespace std;
typedef pair<int, int> edge;
typedef pair<int, int> item;
// https://cp-algorithms.com/graph/dijkstra_sparse.html
// O(E*log(V)) time and O(E) memory
tuple<vector<int>, vector<int>> dijkstra_heap(const vector<vector<edge>> &g, int s) {
size_t n = g.size();
vecto... | 23.617284 | 85 | 0.482488 | ayushbhatt2000 |
927ee64432a2995e81dd219e9c153f16bd5ebd47 | 527 | cpp | C++ | testing/timesync.cpp | staticfloat/liblsl | ccdc76f80622690768707035436c8d833bb3dfd2 | [
"MIT"
] | 1 | 2020-07-13T00:04:51.000Z | 2020-07-13T00:04:51.000Z | testing/timesync.cpp | staticfloat/liblsl | ccdc76f80622690768707035436c8d833bb3dfd2 | [
"MIT"
] | null | null | null | testing/timesync.cpp | staticfloat/liblsl | ccdc76f80622690768707035436c8d833bb3dfd2 | [
"MIT"
] | null | null | null | #include "helpers.h"
#include "catch.hpp"
#include <lsl_cpp.h>
#include <iostream>
namespace {
TEST_CASE("simple timesync", "[timesync][basic]") {
auto sp = create_streampair(lsl::stream_info("timesync", "Test"));
double offset = sp.in_.time_correction(5.) * 1000;
CHECK(offset < 1);
CAPTURE(offset);
double remo... | 23.954545 | 72 | 0.70019 | staticfloat |
927feb418c31d63018cf81ffc516680a7b3d707a | 2,613 | cpp | C++ | src/gameworld/gameworld/scene/speciallogic/worldspecial/specialguildquestion.cpp | mage-game/metagame-xm-server | 193b67389262803fe0eae742800b1e878b5b3087 | [
"MIT"
] | 3 | 2021-12-16T13:57:28.000Z | 2022-03-26T07:50:08.000Z | src/gameworld/gameworld/scene/speciallogic/worldspecial/specialguildquestion.cpp | mage-game/metagame-xm-server | 193b67389262803fe0eae742800b1e878b5b3087 | [
"MIT"
] | null | null | null | src/gameworld/gameworld/scene/speciallogic/worldspecial/specialguildquestion.cpp | mage-game/metagame-xm-server | 193b67389262803fe0eae742800b1e878b5b3087 | [
"MIT"
] | 1 | 2022-03-26T07:50:11.000Z | 2022-03-26T07:50:11.000Z | #include "specialguildquestion.hpp"
#include "scene/activityshadow/activityshadow.hpp"
#include "obj/character/role.h"
#include "obj/otherobj/gatherobj.h"
#include "servercommon/activitydef.hpp"
#include "config/logicconfigmanager.hpp"
#include "servercommon/string/gameworldstr.h"
#include "scene/scenemanager.h"
#inclu... | 21.775 | 98 | 0.745886 | mage-game |
92815904666326c63eb5fd49b88dcdb571f2738b | 2,772 | cc | C++ | Geometry/TrackerCommonData/plugins/DDTrackerXYZPosAlgo.cc | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 3 | 2018-08-24T19:10:26.000Z | 2019-02-19T11:45:32.000Z | Geometry/TrackerCommonData/plugins/DDTrackerXYZPosAlgo.cc | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 3 | 2018-08-23T13:40:24.000Z | 2019-12-05T21:16:03.000Z | Geometry/TrackerCommonData/plugins/DDTrackerXYZPosAlgo.cc | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 5 | 2018-08-21T16:37:52.000Z | 2020-01-09T13:33:17.000Z | ///////////////////////////////////////////////////////////////////////////////
// File: DDTrackerXYZPosAlgo.cc
// Description: Position n copies at given x-values, y-values and z-values
///////////////////////////////////////////////////////////////////////////////
#include <cmath>
#include <algorithm>
#include "FWC... | 37.459459 | 80 | 0.585137 | nistefan |
92828ab08dc5e49f6157298c519b9b7157dc7a67 | 1,254 | cpp | C++ | tests/ebpf_map_tests/map_get_next_key_test.cpp | 0mp/generic-ebpf | 1ff5c744e2509d0131a28ab16c54da0e3bb37081 | [
"Apache-2.0"
] | 82 | 2017-10-05T07:15:12.000Z | 2019-12-15T14:20:25.000Z | tests/ebpf_map_tests/map_get_next_key_test.cpp | 0mp/generic-ebpf | 1ff5c744e2509d0131a28ab16c54da0e3bb37081 | [
"Apache-2.0"
] | 6 | 2020-01-11T15:33:14.000Z | 2021-07-25T06:38:45.000Z | tests/ebpf_map_tests/map_get_next_key_test.cpp | 0mp/generic-ebpf | 1ff5c744e2509d0131a28ab16c54da0e3bb37081 | [
"Apache-2.0"
] | 9 | 2017-08-05T17:09:50.000Z | 2019-09-09T02:59:19.000Z | #include <gtest/gtest.h>
extern "C" {
#include <errno.h>
#include <stdint.h>
#include <sys/ebpf.h>
#include "../test_common.hpp"
}
namespace {
class MapGetNextKeyTest : public CommonFixture {
protected:
struct ebpf_map *em;
virtual void SetUp() {
int error;
CommonFixture::SetUp();
struct ebpf_map... | 19.292308 | 65 | 0.694577 | 0mp |
928569bb6b8d4e4dd3aa3ba56dc744b2e81b2734 | 349 | cpp | C++ | Engine/Application/ClientApplication.cpp | hhyyrylainen/Leviathan | 0a0d2ea004a153f9b17c6230da029e8160716f71 | [
"BSL-1.0"
] | 16 | 2018-12-22T02:09:05.000Z | 2022-03-09T20:38:59.000Z | Engine/Application/ClientApplication.cpp | hhyyrylainen/Leviathan | 0a0d2ea004a153f9b17c6230da029e8160716f71 | [
"BSL-1.0"
] | 46 | 2018-04-02T11:06:01.000Z | 2019-12-14T11:16:04.000Z | Engine/Application/ClientApplication.cpp | hhyyrylainen/Leviathan | 0a0d2ea004a153f9b17c6230da029e8160716f71 | [
"BSL-1.0"
] | 14 | 2018-04-09T02:26:15.000Z | 2021-09-11T03:12:15.000Z | // ------------------------------------ //
#include "ClientApplication.h"
using namespace Leviathan;
// ------------------------------------ //
DLLEXPORT ClientApplication::ClientApplication() {}
DLLEXPORT ClientApplication::ClientApplication(Engine* engine) : LeviathanApplication(engine)
{}
DLLEXPORT ClientApplicat... | 29.083333 | 93 | 0.616046 | hhyyrylainen |
928721107e2c12801e71dbdca664b7c9fd173c72 | 356 | cpp | C++ | Plugins/Pixel2D/Source/Pixel2DEditor/Private/Pixel2DLayers/Pixel2DLayerCommands.cpp | UnderGround-orchestra-band/SuperRogue | 65a520ac6ccf859c5994e429ffe915e9ff6f1028 | [
"MIT"
] | 1 | 2021-12-18T13:50:51.000Z | 2021-12-18T13:50:51.000Z | Plugins/Pixel2D/Source/Pixel2DEditor/Private/Pixel2DLayers/Pixel2DLayerCommands.cpp | UnderGround-orchestra-band/SuperRogue | 65a520ac6ccf859c5994e429ffe915e9ff6f1028 | [
"MIT"
] | 1 | 2021-11-30T08:09:46.000Z | 2021-11-30T08:09:46.000Z | Plugins/Pixel2D/Source/Pixel2DEditor/Private/Pixel2DLayers/Pixel2DLayerCommands.cpp | UnderGround-orchestra-band/SuperRogue | 65a520ac6ccf859c5994e429ffe915e9ff6f1028 | [
"MIT"
] | null | null | null | // Copyright 1998-2018 Epic Games, Inc. All Rights Reserved.
#include "Pixel2DLayerCommands.h"
#define LOCTEXT_NAMESPACE "FPixel2DLayerModule"
void FPixel2DLayerCommands::RegisterCommands()
{
UI_COMMAND(OpenPluginWindow, "Pixel2DLayers", "Bring up Pixel2D Layers window", EUserInterfaceActionType::Button, FInputGest... | 27.384615 | 132 | 0.80618 | UnderGround-orchestra-band |
9287ca9ef9d07942489290990f895af0f69dc0d9 | 4,118 | cpp | C++ | lightcrafts/tools/trial/trial.cpp | mr-c/LightZone | acf5501fdda8e1077770cf6937879824a759ec93 | [
"BSD-3-Clause"
] | 303 | 2015-01-28T12:03:10.000Z | 2022-03-21T12:14:56.000Z | lightcrafts/tools/trial/trial.cpp | mr-c/LightZone | acf5501fdda8e1077770cf6937879824a759ec93 | [
"BSD-3-Clause"
] | 127 | 2015-01-04T12:14:22.000Z | 2022-03-29T01:48:30.000Z | lightcrafts/tools/trial/trial.cpp | mr-c/LightZone | acf5501fdda8e1077770cf6937879824a759ec93 | [
"BSD-3-Clause"
] | 51 | 2015-03-19T22:18:08.000Z | 2022-01-28T15:42:19.000Z | /* Copyright (C) 2005-2011 Fabio Riccardi */
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <fstream>
#include <iostream>
using namespace std;
int const OldTrialLicenseSize = 1 + sizeof( time_t );
int const TrialLicenseSize = OldTrialLicenseSize + sizeof( short );
long const TrialLicenseDuratio... | 24.807229 | 78 | 0.470131 | mr-c |
92886a7939396c808f0ed681d65c74420a805bbc | 2,062 | cpp | C++ | code/SoulVania/ItemRenderingSystem.cpp | warzes/Soulvania | 83733b6a6aa38f8024109193893eb5b65b0e6294 | [
"MIT"
] | 1 | 2021-06-30T06:29:54.000Z | 2021-06-30T06:29:54.000Z | code/SoulVania/ItemRenderingSystem.cpp | warzes/Soulvania | 83733b6a6aa38f8024109193893eb5b65b0e6294 | [
"MIT"
] | null | null | null | code/SoulVania/ItemRenderingSystem.cpp | warzes/Soulvania | 83733b6a6aa38f8024109193893eb5b65b0e6294 | [
"MIT"
] | null | null | null | #include "stdafx.h"
#include "ItemRenderingSystem.h"
#include "GameObject.h"
ItemRenderingSystem::ItemRenderingSystem(
GameObject& parent,
std::string spritePath,
std::unique_ptr<IEffect> deadEffect,
std::unique_ptr<IEffect> hitEffect)
:
parent{ parent }
{
this->spritePath = spritePath;
this->deadEffect = std:... | 20.828283 | 62 | 0.733269 | warzes |
928e9e3abae0d2050be710cc91fb58a4db56f6ef | 20,800 | cc | C++ | lite/tests/kernels/strided_slice_compute_test.cc | 714627034/Paddle-Lite | 015ba88a4d639db0b73603e37f83e47be041a4eb | [
"Apache-2.0"
] | 808 | 2018-04-17T17:43:12.000Z | 2019-08-18T07:39:13.000Z | lite/tests/kernels/strided_slice_compute_test.cc | 714627034/Paddle-Lite | 015ba88a4d639db0b73603e37f83e47be041a4eb | [
"Apache-2.0"
] | 728 | 2018-04-18T08:15:25.000Z | 2019-08-16T07:14:43.000Z | lite/tests/kernels/strided_slice_compute_test.cc | 714627034/Paddle-Lite | 015ba88a4d639db0b73603e37f83e47be041a4eb | [
"Apache-2.0"
] | 364 | 2018-04-18T17:05:02.000Z | 2019-08-18T03:25:38.000Z | // Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required... | 34.724541 | 80 | 0.535913 | 714627034 |
928ff6427e75f750af4d841ed2de785f10a04b9e | 2,641 | inl | C++ | repos/plywood/src/build/Instantiators.inl | lambdatastic/plywood | 1a5688e0cdd03471a17f3a628752a5734cbd0d07 | [
"MIT"
] | null | null | null | repos/plywood/src/build/Instantiators.inl | lambdatastic/plywood | 1a5688e0cdd03471a17f3a628752a5734cbd0d07 | [
"MIT"
] | null | null | null | repos/plywood/src/build/Instantiators.inl | lambdatastic/plywood | 1a5688e0cdd03471a17f3a628752a5734cbd0d07 | [
"MIT"
] | null | null | null | // ply instantiate build-common PLY_BUILD
void inst_ply_build_common(TargetInstantiatorArgs* args) {
args->addSourceFiles("common/ply-build-common");
args->addIncludeDir(Visibility::Public, "common");
args->addTarget(Visibility::Public, "reflect");
}
// ply instantiate build-target PLY_BUILD
void inst_ply_... | 43.295082 | 99 | 0.706929 | lambdatastic |
92922d321b2e9ab0af0973ddf5fc489078167e7c | 740 | cpp | C++ | Codeforces/918B/map.cpp | codgician/ACM | 391f3ce9b89b0a4bbbe3ff60eb2369fef57460d4 | [
"MIT"
] | 2 | 2018-02-14T01:59:31.000Z | 2018-03-28T03:30:45.000Z | Codeforces/918B/map.cpp | codgician/ACM | 391f3ce9b89b0a4bbbe3ff60eb2369fef57460d4 | [
"MIT"
] | null | null | null | Codeforces/918B/map.cpp | codgician/ACM | 391f3ce9b89b0a4bbbe3ff60eb2369fef57460d4 | [
"MIT"
] | 2 | 2017-12-30T02:46:35.000Z | 2018-03-28T03:30:49.000Z | #include <iostream>
#include <cstdio>
#include <cmath>
#include <algorithm>
#include <cstring>
#include <string>
#include <iomanip>
#include <climits>
#include <vector>
#include <set>
#include <queue>
#include <map>
using namespace std;
map <string, string> mp;
int main()
{
ios::sync_with_stdio(false);
int se... | 20 | 64 | 0.55 | codgician |
92938214ecf428d006b075c336428d30b84ba127 | 9,478 | cc | C++ | simulation/astrobee_gazebo/src/astrobee_gazebo.cc | linorobot/astrobee | e74a241ddea4e2088923891f8173fdcfea4afd2b | [
"Apache-2.0"
] | 3 | 2018-01-04T02:00:49.000Z | 2020-09-29T20:32:07.000Z | simulation/astrobee_gazebo/src/astrobee_gazebo.cc | nicedone/astrobee | e74a241ddea4e2088923891f8173fdcfea4afd2b | [
"Apache-2.0"
] | null | null | null | simulation/astrobee_gazebo/src/astrobee_gazebo.cc | nicedone/astrobee | e74a241ddea4e2088923891f8173fdcfea4afd2b | [
"Apache-2.0"
] | 2 | 2020-02-20T06:02:33.000Z | 2020-07-21T11:45:47.000Z | /* Copyright (c) 2017, United States Government, as represented by the
* Administrator of the National Aeronautics and Space Administration.
*
* All rights reserved.
*
* The Astrobee platform is licensed under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with... | 33.491166 | 95 | 0.675986 | linorobot |
9295ce21dcffbbc90049cad2b6d7fcb6ba7dd7a9 | 13,233 | hpp | C++ | src/3rd party/components/AlexMX/multi_edit.hpp | OLR-xray/OLR-3.0 | b6a9bb2a0c1fb849b8c6cea2e831e1ceea5cc611 | [
"Apache-2.0"
] | 8 | 2016-01-25T20:18:51.000Z | 2019-03-06T07:00:04.000Z | src/3rd party/components/AlexMX/multi_edit.hpp | OLR-xray/OLR-3.0 | b6a9bb2a0c1fb849b8c6cea2e831e1ceea5cc611 | [
"Apache-2.0"
] | null | null | null | src/3rd party/components/AlexMX/multi_edit.hpp | OLR-xray/OLR-3.0 | b6a9bb2a0c1fb849b8c6cea2e831e1ceea5cc611 | [
"Apache-2.0"
] | 3 | 2016-02-14T01:20:43.000Z | 2021-02-03T11:19:11.000Z | // Borland C++ Builder
// Copyright (c) 1995, 2002 by Borland Software Corporation
// All rights reserved
// (DO NOT EDIT: machine generated header) 'multi_edit.pas' rev: 6.00
#ifndef multi_editHPP
#define multi_editHPP
#pragma delphiheader begin
#pragma option push -w-
#pragma option push -Vx
#include <CommCtrl.hpp... | 39.035398 | 130 | 0.775712 | OLR-xray |
9298a61340db9fd60a9c5603815e935dcdeec3d5 | 1,389 | cpp | C++ | src/gui/window_taborder.cpp | ShigotoShoujin/shigoto.shoujin | 165bac0703ffdec544ab275af25dd3504529a565 | [
"MIT"
] | 1 | 2021-10-31T04:29:16.000Z | 2021-10-31T04:29:16.000Z | src/gui/window_taborder.cpp | ShigotoShoujin/shigoto.shoujin | 165bac0703ffdec544ab275af25dd3504529a565 | [
"MIT"
] | null | null | null | src/gui/window_taborder.cpp | ShigotoShoujin/shigoto.shoujin | 165bac0703ffdec544ab275af25dd3504529a565 | [
"MIT"
] | null | null | null | //#include "../assert/assert.hpp"
#include "../assert/assert.hpp"
#include "window.hpp"
#include "window_taborder.hpp"
namespace shoujin::gui {
void WindowTabOrder::AddWindow(Window* window, int& out_taborder)
{
SHOUJIN_ASSERT(window);
if(window->tabstop()) {
_taborder_map.emplace(++_taborder_max, window);
out... | 19.842857 | 85 | 0.714903 | ShigotoShoujin |
929b975bdfe46c0afc7e916b74dc9b1e3dd5e2bd | 608 | cpp | C++ | C++/Algorithms/RecursionAlgorithms/RecursiveSum.cpp | m-payal/AlgorithmsAndDataStructure | db53da00cefa3b681b4fcebfc0d22ee91cd489f9 | [
"MIT"
] | 195 | 2020-05-09T02:26:13.000Z | 2022-03-30T06:12:07.000Z | C++/Algorithms/RecursionAlgorithms/RecursiveSum.cpp | m-payal/AlgorithmsAndDataStructure | db53da00cefa3b681b4fcebfc0d22ee91cd489f9 | [
"MIT"
] | 31 | 2021-06-15T19:00:57.000Z | 2022-02-02T15:51:25.000Z | C++/Algorithms/RecursionAlgorithms/RecursiveSum.cpp | m-payal/AlgorithmsAndDataStructure | db53da00cefa3b681b4fcebfc0d22ee91cd489f9 | [
"MIT"
] | 64 | 2020-05-09T02:26:15.000Z | 2022-02-23T16:02:01.000Z | /*
Title - Recusive Sum
Description- A Program to recursively calculate sum of N natural numbers.
*/
#include<bits/stdc++.h>
using namespace std;
// A recursive function to calculate the sum of N natural numbers
int recursiveSum(int num)
{
if(num == 0)
return 0;
return (recursiveSum(num - 1) + num); ... | 19.612903 | 80 | 0.636513 | m-payal |
929c1561b2ff5533ede9ff300b9fbd2f63160531 | 24,627 | cpp | C++ | ajaapps/crossplatform/demoapps/ntv2capture8k/ntv2capture8k.cpp | ibstewart/ntv2 | 0acbac70a0b5e6509cca78cfbf69974c73c10db9 | [
"MIT"
] | null | null | null | ajaapps/crossplatform/demoapps/ntv2capture8k/ntv2capture8k.cpp | ibstewart/ntv2 | 0acbac70a0b5e6509cca78cfbf69974c73c10db9 | [
"MIT"
] | null | null | null | ajaapps/crossplatform/demoapps/ntv2capture8k/ntv2capture8k.cpp | ibstewart/ntv2 | 0acbac70a0b5e6509cca78cfbf69974c73c10db9 | [
"MIT"
] | null | null | null | /* SPDX-License-Identifier: MIT */
/**
@file ntv2capture8k.cpp
@brief Implementation of NTV2Capture class.
@copyright (C) 2012-2021 AJA Video Systems, Inc. All rights reserved.
**/
#include "ntv2capture8k.h"
#include "ntv2utils.h"
#include "ntv2devicefeatures.h"
#include "ajabase/system/process.h"
#include "ajab... | 39.593248 | 157 | 0.697811 | ibstewart |
929d530fe906177786471f26757b646ba7848678 | 2,832 | cpp | C++ | Scratch-firmata/Scratch_Firmata_lib/ControlPanel.cpp | bLandais/txRobotic | bfe4a0ef0fdb9745e222ab0f5c61223cb3543e03 | [
"CC0-1.0"
] | 2 | 2018-04-04T18:59:50.000Z | 2021-06-13T01:07:38.000Z | Scratch-firmata/Scratch_Firmata_lib/ControlPanel.cpp | bLandais/txRobotic | bfe4a0ef0fdb9745e222ab0f5c61223cb3543e03 | [
"CC0-1.0"
] | 9 | 2017-03-22T17:26:25.000Z | 2017-06-25T13:35:34.000Z | Scratch-firmata/Scratch_Firmata_lib/ControlPanel.cpp | bLandais/txRobotic | bfe4a0ef0fdb9745e222ab0f5c61223cb3543e03 | [
"CC0-1.0"
] | 3 | 2017-03-22T15:09:12.000Z | 2018-04-04T18:59:51.000Z |
/*
File: ControlPanel.cpp
Author: Mathilde
Created on 18 octobre 2016, 11:37
*/
#include <map>
#include "vector"
#include <math.h>
#include <iostream>
#include "Arduino.h"
#include "ControlPanel.h"
#include "Button.h"
// constructors
ControlPanel::ControlPanel() {
}
ControlPanel::ControlPanel(int newB... | 23.6 | 74 | 0.513771 | bLandais |
929f720a94a4ebbc040a014231c03521e5eccb7c | 11,055 | cpp | C++ | src/GameCardProcess.cpp | jakcron/NXTools | 04662e529f2be92f590ca0754e780c7716b8c077 | [
"MIT"
] | 40 | 2017-07-18T18:21:00.000Z | 2018-08-05T12:30:05.000Z | src/GameCardProcess.cpp | PMArkive/NNTools | 276db64e45471a77345a87abb5c10a54ed8cc71e | [
"MIT"
] | 9 | 2018-04-05T07:44:54.000Z | 2018-08-07T09:11:22.000Z | src/GameCardProcess.cpp | PMArkive/NNTools | 276db64e45471a77345a87abb5c10a54ed8cc71e | [
"MIT"
] | 13 | 2018-01-22T09:10:13.000Z | 2018-08-05T12:30:06.000Z | #include "GameCardProcess.h"
#include <tc/crypto.h>
#include <tc/io/IOUtil.h>
#include <nn/hac/GameCardUtil.h>
#include <nn/hac/ContentMetaUtil.h>
#include <nn/hac/ContentArchiveUtil.h>
#include <nn/hac/GameCardFsMetaGenerator.h>
#include "FsProcess.h"
nstool::GameCardProcess::GameCardProcess() :
mModuleName("nst... | 38.653846 | 235 | 0.686839 | jakcron |