blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 2 247 | content_id stringlengths 40 40 | detected_licenses listlengths 0 57 | license_type stringclasses 2
values | repo_name stringlengths 4 111 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringlengths 4 58 | visit_date timestamp[ns]date 2015-07-25 18:16:41 2023-09-06 10:45:08 | revision_date timestamp[ns]date 1970-01-14 14:03:36 2023-09-06 06:22:19 | committer_date timestamp[ns]date 1970-01-14 14:03:36 2023-09-06 06:22:19 | github_id int64 3.89k 689M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 25
values | gha_event_created_at timestamp[ns]date 2012-06-07 00:51:45 2023-09-14 21:58:52 ⌀ | gha_created_at timestamp[ns]date 2008-03-27 23:40:48 2023-08-24 19:49:39 ⌀ | gha_language stringclasses 159
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 7 10.5M | extension stringclasses 111
values | filename stringlengths 1 195 | text stringlengths 7 10.5M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
987b8a0ddc7fc240da7cfb5d7bfebdea621e8d87 | 872e493bb8649ab40f94264d1d5e26e572c7946f | /MediaPlayer(Server)/musicinfo.cpp | bcdec8c6050db4dc19a483ff37857a718828bd91 | [] | no_license | MasterDjefer/MediaPlayer | 276e2b35cc62bd7b51dfc7d2d737b798867a5140 | a2667f05d1ed292a2e846b12d3b11fc941f693fe | refs/heads/master | 2020-04-17T15:03:00.961355 | 2019-02-02T20:06:29 | 2019-02-02T20:06:29 | 166,683,058 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 308 | cpp | musicinfo.cpp | #include "musicinfo.h"
MusicInfo::MusicInfo(const QString data)
{
setData(data);
}
MusicInfo::~MusicInfo()
{
}
QString MusicInfo::data() const
{
return mData;
}
void MusicInfo::setData(const QString data)
{
if (data == "")
{
mData = "none";
}
else
mData = data;
}
|
4d47b20bfb7357199551cd1b9b2a16cac41df63f | 3aa225685945dd4b33abdb9b76b2cac0c78d1112 | /src/argparse_cf.cpp | 65e194b8fac442c3e7ab539e1d2aed39e7f183c8 | [
"MIT"
] | permissive | veg/tn93 | 0922ddd2e06263f7b2ac5e8e8e26ded23cdc70ce | 03d2484b973e2ce4a3b373bc3832e2a19509ab23 | refs/heads/master | 2022-11-21T06:14:41.162248 | 2022-10-26T23:45:23 | 2022-10-26T23:45:23 | 20,779,544 | 13 | 8 | MIT | 2022-11-08T08:28:58 | 2014-06-12T19:06:35 | C++ | UTF-8 | C++ | false | false | 4,985 | cpp | argparse_cf.cpp |
/* argument parsing ------------------------------------------------------------------------------------------------- */
#include <cstdarg>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <cctype>
#include "argparse_cf.hpp"
// some crazy shit for stringifying preprocessor directives
#define STRIFY(... |
fb994c14c78b59633a3d5efa81db939886bcedfe | 37cca16f12e7b1d4d01d6f234da6d568c318abee | /src/org/mpisws/p2p/filetransfer/FileTransferImpl_Reader.hpp | 52e52187732c5a5342298acdec1ca448f48bd4c6 | [] | no_license | subhash1-0/thirstyCrow | e48155ce68fc886f2ee8e7802567c1149bc54206 | 78b7e4e3d2b9a9530ad7d66b44eacfe73ceea582 | refs/heads/master | 2016-09-06T21:25:54.075724 | 2015-09-21T17:21:15 | 2015-09-21T17:21:15 | 42,881,521 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 556 | hpp | FileTransferImpl_Reader.hpp | // Generated from /pastry-2.1/src/org/mpisws/p2p/filetransfer/FileTransferImpl.java
#pragma once
#include <fwd-pastry-2.1.hpp>
#include <org/mpisws/p2p/filetransfer/fwd-pastry-2.1.hpp>
#include <rice/p2p/commonapi/appsocket/fwd-pastry-2.1.hpp>
#include <java/lang/Object.hpp>
struct org::mpisws::p2p::filetransfer::Fi... |
8719874acbea11280189e15287e48f83c0b465a4 | e0654961ba79338e82a0ba03360e97ead4465285 | /include/argot/gen/concept_body/detail/for.hpp | 91da1ba4f43654cfa111f25198cee359185d4933 | [
"BSL-1.0"
] | permissive | blockspacer/argot | 68f0e2a56fb4686989b47d0ad0f6127167ea0a9a | 97349baaf27659c9dc4d67cf8963b2e871eaedae | refs/heads/master | 2022-11-25T02:57:08.808025 | 2020-08-04T21:15:00 | 2020-08-04T21:15:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,337 | hpp | for.hpp | /*==============================================================================
Copyright (c) 2017, 2018 Matt Calabrese
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
=============================================... |
b045bad940506a6223f6aebde2de76aad96ceb22 | 4bec0306800897b05aac563161d3147d305c1c1a | /src/people/misckeyword.h | 8e7243f9230a8b732e7e89638ee4f52c4c38144d | [
"CC0-1.0",
"BSD-3-Clause"
] | permissive | KDE/libkgapi | 03d5d494406ff44ddb1797c2f3d6e8d9892454d8 | 4fbde0ea726bf3759a05298ecab9d8e40e72da8a | refs/heads/master | 2023-08-24T12:26:21.881120 | 2023-08-08T01:52:54 | 2023-08-08T01:52:54 | 42,723,656 | 9 | 9 | null | null | null | null | UTF-8 | C++ | false | false | 2,963 | h | misckeyword.h | /*
* SPDX-FileCopyrightText: 2021 Daniel Vrátil <dvratil@kde.org>
* SPDX-FileCopyrightText: 2022 Claudio Cambra <claudio.cambra@kde.org>
*
* SPDX-License-Identifier: LGPL-2.1-only
* SPDX-License-Identifier: LGPL-3.0-only
* SPDX-License-Identifier: LicenseRef-KDE-Accepted-LGPL
*/
#pragma once
#include <QSharedD... |
1067a51f8b8388e50e6b0b0684e89feb761bb7da | 9b5c9c3934a60a2ecb1aa32e8797411e0b8f2986 | /c++/scope_resolution.cpp | 4eac52daa7b62445e1186821bfb5ec1f507f956f | [] | no_license | ishtiaqmahmood/Snippets | 8da9413ac644a8544afc3a1485a59cbe8fffe324 | 88158582255d6bfb5fdbc4e77fac42899e038e1b | refs/heads/master | 2020-06-19T19:00:02.470614 | 2019-07-14T12:40:14 | 2019-07-14T12:40:14 | 196,834,825 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 197 | cpp | scope_resolution.cpp | #include <iostream>
using namespace std;
int x = 10; // global variable
int main()
{
int x = 50;
cout << x << endl;
cout << :: x << endl; // scope resolution operator to use global variable
} |
8e76e151d79c87efa144a114008801e0d7e26788 | fc4a655a912ff4d9e47dce4d3a1adc6c6c5a4827 | /presetAnswer.h | a798165154b496227150b43dc8ca12fb66d82bab | [] | no_license | eaglesunshine/Huawei_CodeCraft-2019 | 6e724432d500f7c1b46cc7e3a28c7b8db3c0aeb5 | d6bfe28d87d15415f8b658e0aeddf50066cb92e7 | refs/heads/master | 2020-05-24T10:36:52.603025 | 2019-12-22T14:03:40 | 2019-12-22T14:03:40 | 187,230,789 | 5 | 0 | null | 2019-12-22T14:03:41 | 2019-05-17T14:29:17 | C++ | UTF-8 | C++ | false | false | 240 | h | presetAnswer.h | #pragma once
#ifndef __PRESETANSWER_H__
#define __PRESETANSWER_H__
#include <vector>
using namespace std;
class PresetAnswer
{
public:
int id;
int ATD;
vector<int> route;
bool init(vector<int> carData);
};
#endif |
892e12b6b636513810e3aabd0166a06beb96f736 | a94b7089cd3f41db625e9fdbc5b379ffe361d340 | /libstreamsrv/cstreamconnection.cpp | db84b6b24a955456ac087efdeaa0952dec680b19 | [] | no_license | MarcelTh/muroa | 169e6275052299936987e9c4466d2d8eac0fbf09 | 3cd79066d4c0df173b91419fd3b80b40a90efce7 | refs/heads/master | 2021-01-16T21:06:30.338296 | 2014-02-09T13:27:00 | 2014-02-09T13:27:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,860 | cpp | cstreamconnection.cpp | /***************************************************************************
* Copyright (C) 2005 by Martin Runge *
* martin.runge@web.de *
* *
* This program is free software; you can redistribute it and/or modify *
* it under th... |
7cf96b03608b4842d8e97f60e564a5242227dbae | a73dddae190d3ddad74297bbd5e339b679c3bbdb | /tests/test_srlatch.cpp | ae7e678b6315eb3c3a41484e3f2e32f4debd56e4 | [] | no_license | alejandrogallo/bitis | a2f1aa69c0edd1c846caeb3dd6dae53609e72642 | 1b2b7efca111fde6cefd8ed7e079698fb577a2f6 | refs/heads/master | 2020-08-04T02:44:48.680164 | 2019-10-01T01:28:51 | 2019-10-01T01:28:51 | 211,976,015 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 654 | cpp | test_srlatch.cpp | #include <iostream>
#include <vector>
#include <bitis.hpp>
int main(int argc, char *argv[])
{
Wire S, R, Q, _Q;
std::vector<std::vector<BIT>> sequence({
{H, L},
{L, L},
{L, H},
{L, L},
{H, L},
{L, L},
});
SRLatch n(&S, &R, &Q, &_Q);
std::cout <<
"SR Latch" << std::endl <<
"--... |
5f491181e5939ac38dbfe16c0b9c25787bd3d916 | 03faee3398730eb8b7b94c2d124aa1b66c02893d | /OceanLight/3rd/algServer/pfr_processor/IMP_StringQueue.h | 994bd9079ec1b9d58a81c45f4f4b769cd1684c67 | [] | no_license | bianshifeng/OceanLight | a80829c6021662e22e987f0ddb12b3839c5c7ef2 | 697106f43397467966b76586862c1283d4326ed2 | refs/heads/master | 2021-01-13T14:05:26.721466 | 2017-05-03T07:48:57 | 2017-05-03T07:48:57 | 76,212,078 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 908 | h | IMP_StringQueue.h | #ifndef IMP_STRINGQUEUE_H
#define IMP_STRINGQUEUE_H
#include <QString>
#include "common/IMP_Lock.h"
#include <QDebug>
#include "common/imp_algo_type.h"
#include "IMP_pfr_path.h"
#define DEFAULT_MAX_QUEUE_SIZE 15
class IMP_StringQueue
{
public:
IMP_StringQueue();
explicit IMP_StringQueue(int maxQueueSize)... |
0c52de34bad59645d3644cc44b695d5a1f0909f2 | b5949f3787035a1f86c04ac8cbb4de1c6dc6eb0e | /ffvii/documents/akao/opcodes/old/sub_80031820.cc | 88c4fb486ba650c6d49de24ca143e295b3350c56 | [] | no_license | Akari1982/q-gears_reverse | a5f01df536767f810a0ed42f378ecec0cad9139e | eb526894677fc2d3a5d839e157bf607b1c682ed4 | refs/heads/master | 2022-05-02T22:14:42.555430 | 2022-04-29T13:57:40 | 2022-04-29T13:57:40 | 103,525,167 | 13 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 586 | cc | sub_80031820.cc | // void sub_80031820(a0: <channel structure pointer>, a1: <instrument number>);
ch[0x58] = a1;
ch[0xE4] = m_InstrumentIndex[a1].attack_offset;
ch[0xE8] = m_InstrumentIndex[a1].loop_offset;
ch[0xEC] = m_InstrumentIndex[a1].attack_mode;
ch[0xF0] = m_InstrumentIndex[a1].sustain_mode;
ch[0xF4] = m_InstrumentIndex[a1].relea... |
2504d8bf659ab59caa471c9b367e8ddc7480193e | 8f40860fb0db73b655e72d162400feb93b5aa17d | /Algorithm with C++(ubuntu)/05_Link_List/main.cpp | 1305f2ffccc4707a1f7689437ff35ce4ce2ad19e | [] | no_license | ChenLiCh/Program_Practice | c851ee14ac1a94ade26748fc20df21873d5a96f7 | 7a9c94b185b0dfda030d3e2cde8061f2a1ce320f | refs/heads/master | 2022-11-06T05:10:01.313717 | 2020-06-26T12:16:14 | 2020-06-26T12:16:14 | 275,125,422 | 0 | 0 | null | null | null | null | BIG5 | C++ | false | false | 3,034 | cpp | main.cpp | #include <iostream>
#include <cstdlib>
#include "ListNode.cpp"
using namespace std;
template <class T>
void Traverse(ListNode<T> *);
int main() {
ListNode<int> *head = new ListNode<int>(100);
head->SetLink(NULL);
ListNode<int> *tail = new ListNode<int>(25);
tail->SetLink(NULL);
head->SetLink(tai... |
87bb4977d0592c783ae809a41fbef4cc4d6263a6 | ecbb80aa1397ea3a3b73be88ff64bf99f64c6543 | /src/events/event_data_set_actor_possible_moves.hpp | 04f25df918a7a52f2348d2a89220afe1e966c52b | [
"MIT"
] | permissive | sfod/quoridor | c402b509759753894c7618a7dd6fbae634c26465 | a82b045fcf26ada34b802895f097c955103fbc14 | refs/heads/master | 2021-01-17T09:00:44.089074 | 2015-07-28T14:46:13 | 2015-07-28T14:46:13 | 13,014,379 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 405 | hpp | event_data_set_actor_possible_moves.hpp | #pragma once
#include "event_data.hpp"
class EventData_SetActorPossibleMoves : public EventDataCRTP<EventData_SetActorPossibleMoves> {
public:
EventData_SetActorPossibleMoves(ActorId actor_id,
const std::list<Node> &possible_moves);
ActorId actor_id() const;
const std::list<Node> &possible_mov... |
15532576c7f6f10b4df76381efd4fe942c22e98b | e0b0f5b49a3732eeb0a7a589e277d8f0bbc355f6 | /Tortugalogo2.cpp | 472f9454a1d9a7f56a431d069ed5acc22c5c0e90 | [] | no_license | Jacobo16/Graficodetortuga | 5b8d9781878519d57f60bbe63910fc21b2a830cf | ccc0f9d5894492c750fe1a25d37c7d9198050b16 | refs/heads/master | 2021-05-07T09:11:20.201411 | 2017-11-04T18:04:17 | 2017-11-04T18:04:17 | 109,514,805 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,660 | cpp | Tortugalogo2.cpp | #include<iostream>
int menu();
void mostrartablero(int tablero[][20], int rt);
void avanzar(int tablero[][20], int rt, int&dir, bool&pluma, int avance, int&x, int&y);
using namespace std;
int main () {
int coordenadax=0, coordenaday=0, opcion, avance;
bool pluma=false;
int direccion=2; //Inicio a la... |
6f217b1cd5e22aa3741ff8cebcbab4cd61d3a8ad | b4e16d4a79d53d094c4e4b739dd1c1503e5dd6ac | /ConsoleApplication10/TParser.h | 08ceffaab8a518492fd7bc19b07eea352c3f04b1 | [] | no_license | VLovchikov/Parser | a2263e720d73a7e9904e6a841a004a8dba2911b0 | 788cf8538cf3435f4aafb33be808f88c9b692eda | refs/heads/master | 2021-09-01T06:07:16.815725 | 2017-12-25T08:37:26 | 2017-12-25T08:37:26 | 115,321,879 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 785 | h | TParser.h | #pragma once
#include "TStack.h"
#include <iostream>
#include <string>
using namespace std;
class TParser
{
char *inf;
string post;
TStack <char> st_op;
TStack <string> st_post;
TStack <string> st_st;
TStack <string> st_post1;
TStack <int> st_ex;
public:
TParser()
{
throw "NOTHING TO EXECUTE";
}
TParser... |
cedb9cebf00c2118f3100904f8f37c2b8c760b09 | d70f40efc175ac12edc417e517782c226c776c70 | /src/HttpResponse.cpp | 89b769e5d2179e866e11aa3ca90ebb438ba75631 | [
"Apache-2.0"
] | permissive | bryk/httpico | fa875d70a7b2195674225805325b1159709f7373 | a46df99e9faf0b40c3261e42aa2a01c131522a37 | refs/heads/master | 2021-01-15T11:13:40.949865 | 2013-04-10T07:36:31 | 2013-04-10T07:36:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 933 | cpp | HttpResponse.cpp | /**
=========================================================================================
File name : /httpico/include/HttpResponse.cpp
Copyright : Copyright © 2012 Piotr Bryk, Licensed under the Apache License, Version 2.0
========================================================================================... |
198a2d8da4dff73df1267f0921a4b6e1cad9002d | e92af86f33f4bdd457578733074d3c7f6aa7c7fb | /source/GameServer/mt_skill/mt_skill_logic.h | a235deadeff391c0e5453b26332469470729a231 | [] | no_license | crazysnail/XServer | aac7e0aaa9da29c74144241e1cc926b8c76d0514 | da9f9ae3842e253dcacb2b83b25c5fa56927bdd3 | refs/heads/master | 2022-03-25T15:52:57.238609 | 2019-12-04T09:25:33 | 2019-12-04T09:25:33 | 224,835,205 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 4,685 | h | mt_skill_logic.h | #ifndef MTONLINE_GAMESERVER_MT_SKILL_LOGIC_H__
#define MTONLINE_GAMESERVER_MT_SKILL_LOGIC_H__
#include "../mt_types.h"
#include <map>
#include <vector>
namespace Mt
{
class SkillEffect;
struct SkillTarget;
class MtSkillPositionEffect;
class SkillLogicFactory : public boost::serialization::singleton<SkillLogicFacto... |
f049504dbb10789bdb3282583309e430cc370e1e | 2d033ef3874c4ba692b703bdea7f3c5f9740a198 | /STM32/libraries/STM32DAC/examples/SinGenerate.ino/SinGenerate.ino.ino | 3657311d61dcc530d569824edc396303d782f09c | [] | no_license | tormodvolden/STM32GENERIC | 58945685815ea8c00b309459ba88ffeb211e4d37 | d869a6b07b95353c3c1d4beed640bf9dd05b3bb6 | refs/heads/master | 2020-04-04T02:35:29.514059 | 2018-10-25T05:40:37 | 2018-10-25T05:40:37 | 155,691,405 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 869 | ino | SinGenerate.ino.ino | /*
I2S sine wave for STM32 DAC
PA4_DACOUT and PA5_DACOUT are predefined instances of class STM32DAC.
August 2018 ChrisMicro
uses the DAC driver from huaweiwx
*/
#include "STM32DAC.h"
#define SAMPLINGFREQUENCY 44100
#define NUMBEROFSAMPLES SAMPLINGFREQUENCY * 1 // 1 seconds
#define DAC_RESOLUTION 4095 // D... |
f81c4b1aa160289d593e3920daff204bba7dea4c | 7023e0bf293413d0b5a1ba97d25bb7d023a42df8 | /Accelerated_C++/5.iterator/list_sort.cpp | 3a3a4b3e3321442704da983931b57f08748240c6 | [] | no_license | hkhl/cplusplus | dcbcb0f4bec7d3eebfd58ecc17dc9d6f4c545cf6 | 9c0c487b26c2b773d5308876af4ca03e8b3efba4 | refs/heads/master | 2020-03-08T13:06:54.914343 | 2018-07-04T13:19:42 | 2018-07-04T13:19:42 | 128,149,340 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,442 | cpp | list_sort.cpp | /*************************************************************************
> File Name: list_sort.cpp
> Author: wang
> Mail: dhkhl235@gmail.com
> Created Time: 2018年04月08日 星期日 22时40分35秒
************************************************************************/
#include <iostream>
#include <list>
using namespace st... |
42cd94518cabd5b65dc057a1b9ceacb1764a2137 | 46129f1b8ec08598c922f6a256c4a41e087901f8 | /pcl_recorder/src/mainROS2.cpp | 93c2a286e23dc7554a846000ce7bd3a7b920a4d1 | [
"MIT"
] | permissive | carla-simulator/ros-bridge | bb5515d354a2b0c583ab1d171cef90f750162f28 | e9063d97ff5a724f76adbb1b852dc71da1dcfeec | refs/heads/master | 2023-07-19T19:11:10.707619 | 2022-07-22T07:37:00 | 2022-07-22T07:37:00 | 159,830,279 | 448 | 376 | MIT | 2023-09-06T18:19:27 | 2018-11-30T13:51:34 | Python | UTF-8 | C++ | false | false | 485 | cpp | mainROS2.cpp | /*
* Copyright (c) 2019 Intel Corporation
*
* This work is licensed under the terms of the MIT license.
* For a copy, see <https://opensource.org/licenses/MIT>.
*/
#include "PclRecorderROS2.h"
#include "rclcpp/rclcpp.hpp"
int main(int argc, char** argv)
{
rclcpp::init(argc, argv);
rclcpp::executors::MultiThr... |
9d93a9a514f234205756f8f90124a72dfd8c6ee8 | 4a014f4b660fa1ed2efbb6a3b493cd9163f027a6 | /Source/Gunslingers/World/UsableActor.cpp | 5876f2a4f62f0bd5fe061ab1a92233beb64fde5f | [] | no_license | Rasputin170/Gunslingers | 26d3d40e275a840fe6009272fdbd6f7213578b38 | a8269d45b3bca4c718b7f794a95e37002f34faa1 | refs/heads/master | 2021-01-17T07:56:40.727017 | 2017-03-11T18:57:16 | 2017-03-11T18:57:16 | 83,820,666 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 702 | cpp | UsableActor.cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "Gunslingers.h"
#include "UsableActor.h"
AUsableActor::AUsableActor(const class FObjectInitializer& ObjectInitializer)
: Super(ObjectInitializer)
{
MeshComp = ObjectInitializer.CreateDefaultSubobject<UStaticMeshComponent>(this,... |
c886fb92ce1560c04091b17ee0ccb47c041aebee | cb60852d13eb21fab463bc1e940d5aaff7503a13 | /Week_4 Basic data structures/min_queue.cpp | 52408a345b7ca748de0baebe1013e83ec4b91555 | [] | no_license | i-dubits/ITMO-Algorithms-course | e52f6d4fb8782615a5fbbc23da6272a3d38802e7 | 568fd3b45548c8e38e5bb0ce73983cfcb94375c0 | refs/heads/main | 2023-03-17T05:29:52.642557 | 2021-03-10T17:33:42 | 2021-03-10T17:33:42 | 325,635,471 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,870 | cpp | min_queue.cpp | // Ilya Dubitskiy
// Week_4_task_4_ver_1
#include "stdafx.h"
#include <iostream>
#include <fstream>
#include <time.h>
#include <array>
#include <string>
#include <utility>
#include <stack>
//#include "edx-io.hpp"
//using namespace std;
long min(std::stack<std::pair<long, long>>& s1,... |
599c323537dcb8b8177fed9d9aca9007c526272f | 63e7cbad2dae483d93572c27b658a395057a4b31 | /src/SourceTransformTranslate.h | dfbfe73a79ab30a02f897977d9d8b462fb99f721 | [] | no_license | debonet/Congealing | 13c9f1100531eb9491230c7652aba17a1c589a6c | 1a90ac78efb8e5dc30cc72e26c61ea6c3042eee4 | refs/heads/master | 2016-09-09T17:56:44.813853 | 2012-05-01T02:21:32 | 2012-05-01T02:21:32 | 1,536,220 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 4,260 | h | SourceTransformTranslate.h | // $Id$
#ifndef __SOURCETRANSFORMTRANSLATE_H__
#define __SOURCETRANSFORMTRANSLATE_H__
#include "SourceGenerics.h"
#include <math.h>
//============================================================================
//============================================================================
template<class DATA, int D... |
4b1c6d179d0774ce10293136c34162f6e4a63ddf | 7e089d39e23b1f55329e9661f3a4ba4c5a23afbd | /src/shared/state/StaticElements.cpp | 1b9ef9273cfbbeb15dbbe701a37936e47ecc50ce | [] | no_license | Lastv25/rivieremonjoux | c2c6c4c40565b4fc43b2d2833349599ae82fcf66 | 01f71d12750761be050b506ba65d529ef54a9cde | refs/heads/master | 2021-10-11T15:36:04.042571 | 2019-01-18T13:48:08 | 2019-01-18T13:48:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 739 | cpp | StaticElements.cpp | #include "StaticElements.h"
#include <iostream>
using namespace std;
using namespace state;
//Constructor
StaticElements::StaticElements(bool building) : Element(staticElement){
this->building = building;
}
//Destructor
StaticElements::~StaticElements (){
}
bool StaticElements::isStatic(){
return this->staticEle... |
88c9bb5bdc9308be2db1f57d1854d55acbd6e107 | 397de467115775da05ae98426bca4583711df0c6 | /Visual C++ Example/第17章 多媒体开发/综合实例——基于音、视频传输的远程诊断系统/VideoVoiceTrans/PlaySound.h | c59300a3832499c46be804c6709ee100e7e16d57 | [
"Unlicense"
] | permissive | hyller/GladiatorLibrary | d6f6dfae0026464950f67fd97877baeeb40b6c9a | f6b0b1576afae27ecd042055db5f655ccd41710b | refs/heads/master | 2023-04-27T11:26:09.118078 | 2022-03-31T08:22:16 | 2022-03-31T08:22:16 | 39,110,689 | 7 | 6 | Unlicense | 2023-04-21T20:51:57 | 2015-07-15T02:00:05 | C | UTF-8 | C++ | false | false | 1,905 | h | PlaySound.h | // PlaySound1.h: interface for the PlaySound1 class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_PlaySound_H__676E24A1_615E_11D6_889A_000B2B0F84B6__INCLUDED_)
#define AFX_PlaySound_H__676E24A1_615E_11D6_889A_000B2B0F84B6__INCLUDED_
#if _MSC_VER > 1000
#prag... |
b21ac0be72329793d060481e4b343a40ff76e291 | 15e6d3a00cfcc775c38d516e9729a6535ad9bd0b | /BitmapARGB.h | e68864e32bee28047d596e4befffcff7cd192802 | [] | no_license | Pete87Phil/distancefieldapp | 92b132430cd6d86fa9e66c4969d6f68cdcbda38d | c26ffc1fba79a86090f330c2c71846e8a574703d | refs/heads/master | 2017-06-01T15:10:58.583541 | 2009-01-04T19:54:13 | 2009-01-04T19:54:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 579 | h | BitmapARGB.h | #pragma once
#include <windows.h> // HDC
#include "Vector2.h" // CVector2
#include "ColorARGB.h" // CColorARGB
#include "tga.h" // PIX_LoadTGA32
#include "RBBitmap.h" // CRBBitmap<>
class CBitmapARGB : public CRBBitmap<CColorARGB>
{
public:
CBitmapARGB( const uint32 dwWidth=0, const uint32... |
7c8fd9902ccd16be7083dc1a6e11e5969d451e01 | ffdc77394c5b5532b243cf3c33bd584cbdc65cb7 | /mindspore/lite/src/litert/delegate/npu/npu_delegate.h | 17b43a348c5aee6fc06732bc171c49cf9bab0548 | [
"Apache-2.0",
"LicenseRef-scancode-proprietary-license",
"MPL-1.0",
"OpenSSL",
"LGPL-3.0-only",
"LicenseRef-scancode-warranty-disclaimer",
"BSD-3-Clause-Open-MPI",
"MIT",
"MPL-2.0-no-copyleft-exception",
"NTP",
"BSD-3-Clause",
"GPL-1.0-or-later",
"0BSD",
"MPL-2.0",
"LicenseRef-scancode-f... | permissive | mindspore-ai/mindspore | ca7d5bb51a3451c2705ff2e583a740589d80393b | 54acb15d435533c815ee1bd9f6dc0b56b4d4cf83 | refs/heads/master | 2023-07-29T09:17:11.051569 | 2023-07-17T13:14:15 | 2023-07-17T13:14:15 | 239,714,835 | 4,178 | 768 | Apache-2.0 | 2023-07-26T22:31:11 | 2020-02-11T08:43:48 | C++ | UTF-8 | C++ | false | false | 1,961 | h | npu_delegate.h | /**
* Copyright 2021 Huawei Technologies Co., Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law... |
6f7059fc0d947d6c5ec397fe34f7e73e15a8958b | 5cad8d9664c8316cce7bc57128ca4b378a93998a | /CI/rule/pclint/pclint_include/include_linux/c++/4.8.2/gnu/java/awt/font/autofit/LatinMetrics.h | 18a21db4bc3bf40d5e653addfd9f10b2fb76ccab | [
"LicenseRef-scancode-unknown-license-reference",
"GPL-2.0-only",
"GPL-3.0-only",
"curl",
"Zlib",
"LicenseRef-scancode-warranty-disclaimer",
"OpenSSL",
"GPL-1.0-or-later",
"MIT",
"LicenseRef-scancode-other-copyleft",
"LicenseRef-scancode-openssl",
"LicenseRef-scancode-ssleay-windows",
"BSD-3-... | permissive | huaweicloud/huaweicloud-sdk-c-obs | 0c60d61e16de5c0d8d3c0abc9446b5269e7462d4 | fcd0bf67f209cc96cf73197e9c0df143b1d097c4 | refs/heads/master | 2023-09-05T11:42:28.709499 | 2023-08-05T08:52:56 | 2023-08-05T08:52:56 | 163,231,391 | 41 | 21 | Apache-2.0 | 2023-06-28T07:18:06 | 2018-12-27T01:15:05 | C | UTF-8 | C++ | false | false | 1,123 | h | LatinMetrics.h |
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __gnu_java_awt_font_autofit_LatinMetrics__
#define __gnu_java_awt_font_autofit_LatinMetrics__
#pragma interface
#include <gnu/java/awt/font/autofit/ScriptMetrics.h>
#include <gcj/array.h>
extern "Java"
{
namespace gnu
{
namespace java
... |
8053d8975dee58424313b592cf99435749d61200 | a72d01c6c8dfdd687e9cc9b9bf4f4959e9d74f5d | /ARDEN/orlando/source/hooks.cpp | a35953412ff8e5346842838a12f00f55db177677 | [] | no_license | erinmaus/autonomaus | 8a3619f8380eae451dc40ba507b46661c5bc8247 | 9653f27f6ef0bbe14371a7077744a1fd8b97ae8d | refs/heads/master | 2022-10-01T01:24:23.028210 | 2018-05-09T21:59:26 | 2020-06-10T21:08:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 39,884 | cpp | hooks.cpp | // This file is a part of ARDEN. It was generated during the build process.
//
// ARDEN is a component of [hdt], created by [bk]door.maus.
#include <cstddef>
#include <cstdio>
#include <cstdlib>
#include <windows.h>
#include <wingdi.h>
#include <GL/gl.h>
#include "orlando/deps/MinHook.h"
#include "touchstone/platform/... |
0fabefb350654547e5099eda8aff70d77708a87f | 445270f32d4913ce2f160282a85b30005666fb2a | /Firmware/Keil/SerialBuffered.h | fd2369a18e2f449b6d840563435dcf5a848989cb | [] | no_license | akpc806a/OpenBCI_32_STM32 | 2d0a170174ba1948dde0be38c8c01fe1453ca10d | 7e8b2e739fe0bdec04145e21b1c27079adfa09b3 | refs/heads/master | 2020-06-14T03:08:13.126617 | 2016-12-18T03:25:59 | 2016-12-18T03:25:59 | 75,513,527 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,641 | h | SerialBuffered.h | #pragma once
// This is a buffered serial reading class, using the serial interrupt introduced in mbed library version 18 on 17/11/09
// In the simplest case, construct it with a buffer size at least equal to the largest message you
// expect your program to receive in one go.
class SerialBuffered : public RawSeria... |
9019bd8663c8654bd2b844bce35078b3ddc24838 | 931a8f1634feb32916cf20ac6cd28a3ee2830ba0 | /Native/System/Servers/appserver/drivers/video/mach64/mach64_accel.cpp | 1d1582684fc34a2f20d64283aef6746cfab9ed07 | [] | no_license | PyroOS/Pyro | 2c4583bff246f80307fc722515c5e90668c00542 | ea709dc1f706c4dfc182d959df14696d604572f8 | refs/heads/master | 2021-01-10T19:47:17.787899 | 2012-04-15T12:20:14 | 2012-04-15T12:20:14 | 4,031,632 | 6 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,010 | cpp | mach64_accel.cpp | #include "mach64.h"
int MixFromMode( int nMode )
{
switch( nMode )
{
case DM_COPY:
return( FRGD_MIX_S );
break;
case DM_INVERT:
return( FRGD_MIX_NOT_D );
break;
default:
return( FRGD_MIX_S );
break;
}
return( FRGD_MIX_S );
}
//--------------------------------------------------------------... |
b45d593e17c6664bde6c91524738acc80807bb69 | 488a3c17c945f34eddc41ba0f69cd381d9f30de9 | /main/zipline.ino | 71d6171098ecdbd43835cce7192083408a2e43dd | [] | no_license | spectre-robot/spectre | 9d7598c69b7f4b47f244bc7bf48be01287ba6cba | f2b53d08a178446bce76fb2882e84ad9b21b0fd4 | refs/heads/master | 2020-12-02T18:08:01.035463 | 2017-08-10T16:26:49 | 2017-08-10T16:26:49 | 96,480,443 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,253 | ino | zipline.ino | void findZipline() {
// when the robot hits the zipline, it will do a wheelie because of torque from the normal force from the zipline
while (!wheelie()) {
moveLeftWheel(60);
moveRightWheel(60);
}
stopMotors();
delay(100);
undoWheelie();
stopMotors();
delay(100);
LCD.clear(); LCD.home() ;... |
abe379c362d3df361867640cc2621274665fd914 | e19a7a853aa2cdee3477948dae23bc1992f126fb | /test/main_bt.cpp | 617116168ad8635ab629e686a4c46e6a9d6b39c9 | [] | no_license | PauAnton/p3 | ad3237419881330f82a9cd2a20c9c005d7d8a825 | 66c11a078256677da38f1662728eaea9a4da4230 | refs/heads/main | 2023-03-18T21:37:06.351545 | 2021-03-19T17:25:25 | 2021-03-19T17:25:25 | 349,245,905 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,723 | cpp | main_bt.cpp | #include <Arduino.h>
#include "BluetoothSerial.h"
#if !defined(CONFIG_BT_ENABLED) || !defined(CONFIG_BLUEDROID_ENABLED)
#error Bluetooth is not enabled! Please run `make menuconfig` to and enable it
#endif
BluetoothSerial SerialBT;
int LED=2;
void setup() {
Serial.begin(9600);
SerialBT.begin("ESP32test"); //Blue... |
bc8fc12105e93c361e859d56fa57874bc4e9cfea | 8b9229ba6d43c5ae3cc9816003f99d8efe3d50a4 | /dp/gl/ProgramInstance.h | b48d312653c4d4cd149e4945673abaf4758c10e7 | [] | no_license | JamesLinus/pipeline | 02aef690636f1d215a135b971fa34a9e09a6b901 | 27322a5527deb69c14bd70dd99374b52709ae157 | refs/heads/master | 2021-01-16T22:14:56.899613 | 2016-03-22T10:39:59 | 2016-03-22T10:39:59 | 56,539,375 | 1 | 0 | null | 2016-04-18T20:22:33 | 2016-04-18T20:22:32 | null | UTF-8 | C++ | false | false | 9,754 | h | ProgramInstance.h | // Copyright NVIDIA Corporation 2015
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following d... |
72c9dc137d65e49809135d93f5fdfbde12460465 | 2760c34c99a620409b926babd1f3ee1a0998843c | /Bomberman/Bomberman/Pontan.h | dfdab4f2d1c3a1790ecc66e6cd73ad5a857fe8ab | [] | no_license | coverp/Bomberman | 294d8a3288ed2a62d571db356fd461cc44b067ef | ad495e98ef0e4766ab12f2d37148e8685462e0db | refs/heads/master | 2020-04-06T03:59:01.399560 | 2017-03-16T19:40:28 | 2017-03-16T19:40:28 | 83,081,729 | 0 | 0 | null | 2017-03-16T19:40:29 | 2017-02-24T20:52:55 | C++ | UTF-8 | C++ | false | false | 158 | h | Pontan.h | #pragma once
#include "Enemy.h"
class Pontan :
public Enemy
{
public:
Pontan();
~Pontan();
private:
bool softPass = true;
void move(double speed);
};
|
7787e7f119e849a37ee5337a3bb700c271182693 | f5fd0e6c9200e3585627044f10d33fb17501d900 | /motif_map.h | 283b47ad359263a99b6f5941ec780515b273a64c | [
"MIT"
] | permissive | SeqOne/vt | 34f6e932e6da0b837a057a7a0bd547bfb95cc25c | f1c49a74a33052d7bc84ba9a29b3a0ed1eeeb278 | refs/heads/master | 2020-06-09T18:15:00.810586 | 2020-03-31T13:29:54 | 2020-03-31T13:29:54 | 193,482,841 | 0 | 0 | MIT | 2020-03-31T13:29:55 | 2019-06-24T10:18:53 | C | UTF-8 | C++ | false | false | 2,462 | h | motif_map.h | /* The MIT License
Copyright (c) 2015 Adrian Tan <atks@umich.edu>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to us... |
5242c855b4f4d824f767c023f3671b884d15b946 | 31e17175f7f8e07c089a3c63a5028a50f4079f6f | /licenseKeyFormatting.cpp | e640f8768d831433d4aa177ef49eefc661a110e3 | [] | no_license | abrilgzz/InterviewProblems | 78a97dc4036b983ad6c01b22edc3647b397c9ad4 | b5c7bb7eae3aa491d132ac6f6e3ec4305c80b80b | refs/heads/master | 2020-04-17T06:16:04.625326 | 2019-08-19T00:39:37 | 2019-08-19T00:39:37 | 166,318,065 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,488 | cpp | licenseKeyFormatting.cpp | /*
Abril Marina Gonzalez Ramirez
August 2019
LeetCode Problem 482. License Key Formatting
You are given a license key represented as a string S which consists only
alphanumeric character and dashes. The string is separated into N+1 groups by N dashes.
Given a number K, we would want to re... |
684f4c4c646c59f24ac78a057af0e86c193cdf7e | 979f022aec7a25402fb24a1fcddacb155dfa23cf | /mystarcraft/Client/Com_Guardsearch.cpp | 71c4a470f7f55ba3d4f3bc83675b788752eea4d7 | [] | no_license | Kimdeokho/mystarproject | e0a2c5a53f767ede5a7c19f7bb532dee227d766e | d4828e807233e6a783e6b3a46be11efda7c2d978 | refs/heads/master | 2021-04-29T06:19:47.010767 | 2020-12-16T12:50:46 | 2020-12-16T12:50:46 | 78,000,948 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 4,520 | cpp | Com_Guardsearch.cpp | #include "StdAfx.h"
#include "Com_Guardsearch.h"
#include "Obj.h"
#include "ObjMgr.h"
#include "TimeMgr.h"
#include "Area_Mgr.h"
#include "MyMath.h"
#include "Com_Weapon.h"
#include "Com_Animation.h"
#include "Com_Pathfind.h"
#include "Bunker.h"
#include "Dropship.h"
CCom_Guardsearch::CCom_Guardsearch(const TARGET_S... |
18433991d14829c49c77a8837a2aa20aa3bf653c | 4b11e312d347bd9d59500e33eecb8d1117b9856d | /Source/DeathVein/DeathVein.cpp | 718f6a122bdc60e7ed38324132417e841ca1690d | [] | no_license | Ashishgarg25/DeathVein | 17051a57c0448743193a1b7033c8f3d1f816cf3b | a6b380886362c036a5245999392f7aca00ca0f32 | refs/heads/master | 2021-07-07T11:06:08.877951 | 2021-04-15T06:44:04 | 2021-04-15T06:44:04 | 233,653,602 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 203 | cpp | DeathVein.cpp | // Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
#include "DeathVein.h"
#include "Modules/ModuleManager.h"
IMPLEMENT_PRIMARY_GAME_MODULE( FDefaultGameModuleImpl, DeathVein, "DeathVein" );
|
9ad66bf5b71857354659d92af8697b62e3e86a13 | e91f87b738b4b65b3a73e933dbe4226c94ead77d | /Yodle/qa-challenge.cpp | d6f54e350c738c59af2286fd0c7bc6f41c1e030d | [] | no_license | nsm-lab/JobPuzzles | 052546c108e60ead024f897bd4525555eacec82a | d601d3a5016c6717eb3f05dcde4afd2342a422a5 | refs/heads/master | 2021-04-13T10:48:11.367454 | 2020-03-22T10:16:50 | 2020-03-22T10:16:50 | 249,157,078 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 856 | cpp | qa-challenge.cpp | // Fourth Floor
#include <cstring>
#include <cmath>
#include <iostream>
#include <algorithm>
using namespace std;
#define N 3
#define MAXX 1000
int coin[N + 1] = {1, 4, 5, 9};
int dp[MAXX + 1];
int greedyCoinCount(int M) {
int count = 0;
for (int c = N; c >= 0; c--) {
int cnt = M / coin[c];
count += cnt;
... |
6b24330762850e14684d2e287d2c677b4b4e90fe | 61ecf0700b7d0e4616dac490efe7a274f4715e78 | /pila.cpp | 667cb435ea8b8814750080bafb75ca6ee9afeda2 | [] | no_license | iPoe/templates | 707de833edbe87e9e1c6f5cbe6861ea6eeced97a | 8dc92d7bc20f6f8d71dc68ea3ac149effc4abfe8 | refs/heads/master | 2021-07-14T15:31:45.233004 | 2017-10-19T15:49:25 | 2017-10-19T15:49:25 | 106,706,424 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 748 | cpp | pila.cpp | #include <vector>
#include <iostream>
using namespace std;
template <class T>
class Pila: public vector<T>
{
public:
Pila();
void adicionar(T elem);
T eliminar();
void mostrar();
};
template<class T>
Pila<T>::Pila():vector<T>(){}
template<class T>
void Pila <T>::adicionar(T elem)
{
this->push_back(el... |
dfc530e7c1b9378059cdff291d3a0a62a0131ae1 | 61af2d058ff5b90cbb5a00b5d662c29c8696c8cc | /BZOJ/2002.cpp | 0f7d6575694fd05621032b8379d4b62087a78449 | [
"MIT"
] | permissive | sshockwave/Online-Judge-Solutions | eac6963be485ab0f40002f0a85d0fd65f38d5182 | 9d0bc7fd68c3d1f661622929c1cb3752601881d3 | refs/heads/master | 2021-01-24T11:45:39.484179 | 2020-03-02T04:02:40 | 2020-03-02T04:02:40 | 69,444,295 | 7 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 1,850 | cpp | 2002.cpp | #include <iostream>
#include <cstdio>
#include <cstring>
#include <cassert>
#define N 200010
#define lson(x) son[x][0]
#define rson(x) son[x][1]
#define LEFT 0
#define RIGHT 1
#define ROOT -1
using namespace std;
inline bool is_num(char c){
return c>='0'&&c<='9';
}
inline int next_int(){
int i=0;char c;
while(!is_nu... |
fef664d86993f79c15b8f0d5ff11d9fc0557efda | a3d6556180e74af7b555f8d47d3fea55b94bcbda | /media/learning/impl/learning_task_controller_helper.h | ba57eef75ecb93df652bc3bae69f5ba69015e33e | [
"BSD-3-Clause"
] | permissive | chromium/chromium | aaa9eda10115b50b0616d2f1aed5ef35d1d779d6 | a401d6cf4f7bf0e2d2e964c512ebb923c3d8832c | refs/heads/main | 2023-08-24T00:35:12.585945 | 2023-08-23T22:01:11 | 2023-08-23T22:01:11 | 120,360,765 | 17,408 | 7,102 | BSD-3-Clause | 2023-09-10T23:44:27 | 2018-02-05T20:55:32 | null | UTF-8 | C++ | false | false | 4,640 | h | learning_task_controller_helper.h | // Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef MEDIA_LEARNING_IMPL_LEARNING_TASK_CONTROLLER_HELPER_H_
#define MEDIA_LEARNING_IMPL_LEARNING_TASK_CONTROLLER_HELPER_H_
#include <map>
#include <memory>
#include "base/... |
8bf42604266d808eac717dcb2589ba57b8cc4d62 | 32fe3b08e89267a05ab0ae8636de094e3f47f71d | /Week_06/980.unique-paths-iii.cpp | 3bdd392c6669cee57c6939e0cd4f0bf85717a69e | [] | no_license | luyanfei/algorithm016 | eb66e118a8fb517c95cc663f87f600cc7ff06d94 | 585026fb158fb6fe8737123d66447c305b1e4c51 | refs/heads/master | 2023-02-08T07:08:53.267872 | 2020-12-29T02:59:58 | 2020-12-29T02:59:58 | 293,283,847 | 0 | 0 | null | 2020-09-06T13:36:03 | 2020-09-06T13:36:02 | null | UTF-8 | C++ | false | false | 3,141 | cpp | 980.unique-paths-iii.cpp | /*
* @lc app=leetcode.cn id=980 lang=cpp
*
* [980] 最短超级串
*
* https://leetcode-cn.com/problems/unique-paths-iii/description/
*
* algorithms
* Hard (71.55%)
* Total Accepted: 8.4K
* Total Submissions: 11.7K
* Testcase Example: '[[1,0,0,0],[0,0,0,0],[0,0,2,-1]]'
*
* 在二维网格 grid 上,有 4 种类型的方格:
*
*
* 1 表... |
739b95a58f4993b6b4049ae453fc22ec99b1ab3a | 605af3aaf3367ec4873aa2bbfac0ef75a18cdc29 | /1080 - Binary Simulation.cpp | aab2af6afa1bfaa40b32a6d8f775a890121f47af | [] | no_license | SysCall97/my-lightOj-solutions | 2ad4648b41120c4e8446a992d068c7de8227dec5 | 7cc4a2a24ebbd308d704f800e9c9539123e41563 | refs/heads/master | 2023-01-03T14:29:50.944052 | 2020-10-27T04:53:57 | 2020-10-27T04:53:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,617 | cpp | 1080 - Binary Simulation.cpp | /***************************************************************
* Name: KAZI NUR ALAM MASHRY *
* School: MAWLANA BHASHANI SCIENCE & TECHNOLOGY UNIVERSITY *
* CSE (14TH BATCH) *
***********************************************************... |
db1d3a584f8982f2cb356a39b2d74400d0d6ce56 | c89384190bbfb8742e854694f8c841354916ecaf | /bt6.cpp | c368f12bbf400eefaba993fa08c37e14baa30419 | [] | no_license | chungtran1803199/Tran_Minh_Chung | eeee959536f61900fb3f43ebb9edf19ab37b1d7c | 1689777e612646fe534228253a75fee1bd73ea51 | refs/heads/master | 2020-03-14T18:23:31.322184 | 2018-05-01T17:11:22 | 2018-05-01T17:11:22 | 131,740,237 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,809 | cpp | bt6.cpp | #include<iostream>
#include<iomanip>
#include<conio.h>
using namespace std;
class employee{
class date{
int day, month, year;
char c;
public:
void getdate(){
cout<<"Enter date in [12/31/97] format: ";
cin >>day>>c>>month>>c>>year;}
void showdate() const { cout<<setw(10)<<day<<c<<month<<c<<year;}};
int e... |
25456299c4e55b8e6f1f80190f33e0156291ba53 | c6769a12358e53c52fddfdcacb78344d446b1771 | /CastorTree/Analyzer/HistoRetriever.h | 22b3bfd9d9169e326447e18a72ff32c1e54dad7b | [] | no_license | xueweiphy/UACastor | d8717970b9843adc79513b51ea4c8294d89e40f3 | 91893bfb195ecd980b2afaf28e3fa045bca35745 | refs/heads/master | 2020-12-25T21:13:41.178545 | 2012-11-06T09:57:22 | 2012-11-06T09:57:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 279 | h | HistoRetriever.h | #ifndef HistoRetriever_h
#define HistoRetriever_h
#include <TString.h>
#include <TObjArray.h>
#include <TH1F.h>
class HistoRetriever {
public:
HistoRetriever();
virtual ~HistoRetriever();
std::vector<TH1F*> getHistos(TString inputfile);
private:
};
#endif
|
e0693ccf13ae7ef1e06f728773d9039873794a7c | 18078cd63b43d895f3e08b1f12eae019eef89303 | /BattleSimulator/BattleSimulator/ability.h | 14b4363e8d573857d75ee0dd0183a534f7235ec1 | [] | no_license | RynsArgent/ProjectOgre | 0980e42649c7591993826f8e336135e787c99971 | 0d0daa23c48fee6cca38fe1e11e78141745edb62 | refs/heads/master | 2016-09-10T21:38:16.021507 | 2013-10-19T05:38:54 | 2013-10-19T05:38:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 38,933 | h | ability.h | #ifndef __ABILITY_H__
#define __ABILITY_H__
#include "pch.h"
#include "action.h"
#include <fstream>
#include <vector>
// To add an ability:
// -go to pch.h and add the ability to the Skill enum
// -go to ability.h and create the new derived class for the Skill
// -go to ability.cpp and update the toStringSkill (NO ... |
fa09da93e5fbc32264cd7aa13055dfdfdb15b17d | b246e43a0a17579c27d2ee298a7262b4ec8657d0 | /include/Camera.hpp | e0cfc33079791f5057e1afa726c692210d731d81 | [] | no_license | felipeluzz/CG_UFPel | 3686c3ec2b922cadcab07f07036ac74094ab0b66 | 247a5134473e0526ee944c74b0f14bf996b786f3 | refs/heads/master | 2020-09-26T21:53:23.004249 | 2017-03-20T01:04:03 | 2017-03-20T01:04:03 | 82,872,461 | 0 | 1 | null | null | null | null | ISO-8859-1 | C++ | false | false | 2,132 | hpp | Camera.hpp | #ifndef CAMERA_H
#define CAMERA_H
#define ANIMSTEP 40
// Include standard headers
#include <stdio.h>
#include <stdlib.h>
#include <vector>
#include <iostream>
#include <algorithm>
#include <string>
#include <set>
#include <iterator>
#include <stack>
#include <queue>
// Include GLEW
#include <GL/glew.h>
// Include GL... |
07d4044d8707cdad4035874052b082cfe0c89351 | 3b893cd712e3057712372ee72b74cf2a0a307707 | /Lonely/Lonely/Game/Scene/GameScene/UI/UIBattery.cpp | 13319f2f15f8ebf009592c680a30d276933fca1e | [] | no_license | human-osaka-game-2018/Lonely | 9b80f11d06099d3c14935d9212f33084e69dad0f | b3fa7231ed0599b3e5c111d8e480bb174dd52568 | refs/heads/master | 2020-04-02T16:49:10.557991 | 2019-04-19T08:37:20 | 2019-04-19T08:41:00 | 154,630,062 | 0 | 0 | null | 2019-05-02T06:07:40 | 2018-10-25T07:42:55 | C++ | UTF-8 | C++ | false | false | 1,147 | cpp | UIBattery.cpp | /**
* @file UIBattery.cpp
* @brief UIBatteryクラスのソースファイル
* @author shion-sagawa
*/
#include "UIBattery.h"
#include "GameLib.h"
UIBattery::UIBattery()
{
Initialize();
}
UIBattery::~UIBattery()
{
Finalize();
}
//初期化する
bool UIBattery::Initialize()
{
float WINDOW_WIDTH = static_cast<float>(WINDOW->GetWidth());
fl... |
edcf7a612c8a44aa107efaea9c46dc549459d01d | dfcb0d2e6e2aa1dc4379eaddd6c8abfa7e482cd8 | /cdk/apps/tuxbox/enigma/lib/picviewer/fb_display.cpp | 4ed1c094ef74aaead0e8aa2ccf7bd324a5490955 | [] | no_license | OpenPLi/OpenPLi-1 | 94f6ee4d22ca5184aedfb289b398723223384fce | 43832e5c88a2f3dd02323911725621a2335e3afd | refs/heads/master | 2021-03-22T01:27:09.930611 | 2018-01-27T00:00:54 | 2018-01-27T00:00:54 | 39,523,362 | 7 | 11 | null | 2017-07-19T18:00:01 | 2015-07-22T18:32:00 | C++ | UTF-8 | C++ | false | false | 11,492 | cpp | fb_display.cpp | #ifndef DISABLE_FILE
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#include <linux/fb.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <sys/ioctl.h>
#include <asm/types.h>
#include <string.h>
#include <errno.h>
#include "fb_display.h"
#include <lib/picviewer/pictureviewer.h>
#in... |
374bf8161b2f077c9ea7671100f68e02845becd7 | 3fb01b66b695d57871ce33328c494669a97276e5 | /src/simple_uv/md5.cpp | de0d6fb3a928f0810cfc34b10ab356db94009424 | [] | no_license | HONGJICAI/coflow_in_hrrn | 21cfa3265eb37fbb75e0e9a725901f5e3bdb7465 | 4d07edf52ad40ae2f8a2cd66556c363b36eab91e | refs/heads/master | 2020-03-13T20:18:47.998815 | 2018-05-21T14:57:47 | 2018-05-21T14:57:47 | 131,271,237 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,035 | cpp | md5.cpp | #include <string.h>
#include <stdio.h>
#include "md5.h"
// #define MD5_LONG unsigned long
// #define MD5_CBLOCK 64
// #define MD5_LBLOCK (MD5_CBLOCK/4)
// #define MD5_DIGEST_LENGTH 16
#define MD32_REG_T long
#define DATA_ORDER_IS_LITTLE_ENDIAN
#define INIT_DATA_A (unsigned long)0x67452301L
#define INIT_DATA_B (unsign... |
fa2b0a809ddb898daeb707ddeac80dc70e560826 | 031dadfd061e09b261637fdd24e5adcdc9443e84 | /src/Beam.cc | 58b231812bcd896cf264ac0e45658519b5e17e6f | [
"BSD-3-Clause-LBNL"
] | permissive | LDAmorim/GPos | 9bdd7db29fd007d2d920cbfc4ae0f3db02dbf7c4 | 4555cead437f3ca847b6b8a2ce3227a47eb25af7 | refs/heads/development | 2023-06-30T03:51:04.119199 | 2021-07-30T14:16:29 | 2021-07-30T14:16:29 | 391,080,819 | 4 | 2 | NOASSERTION | 2021-07-30T20:49:28 | 2021-07-30T13:49:54 | C++ | UTF-8 | C++ | false | false | 4,150 | cc | Beam.cc | /**
* @file Beam.cc
* @author Ligia Diana Amorim
* @date 06/2021
* @copyright GPos 2021 LBNL
*/
#include "Beam.hpp"
using CLHEP::mm;
using CLHEP::MeV;
using CLHEP::radian;
/**
* Constructor.
*/
Beam::Beam ()
{
}
/**
* Destructor.
*/
Beam::~Beam ()
{
}
/**
* Function to set primary particles (= events) pr... |
7bc4e0328508a7b98f46bbe020318190fd781967 | 9461e9a6de46accc82e3afc18aaa07a0238a7b0f | /mainwindow.h | 559a6c0f201e1fa8643cc4689b04023c7f7ca317 | [] | no_license | WGB5445/MyQT_Mplayer_Project | 0677a18a6c47691a9c6ad8b7e4481cd145d12d26 | 82a3461c1dd18703d6ff56c3408be373dc984f77 | refs/heads/master | 2022-04-07T13:17:07.862638 | 2020-03-01T05:35:14 | 2020-03-01T05:35:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,340 | h | mainwindow.h | #ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <stdio.h>
#include <QPixmap>
#include <string.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <unistd.h>
#include <stdlib.h>
#include <pthread.h>
#include <semaphore.h>
#include <fcntl.h>
#include <sys/stat.h>
#inclu... |
aebfd738a02cc64d3fc44c46034827932a4ff612 | 19b7a34be371d1265ee6959cb28ad13f97656cfe | /include/Tokenizer_Interface.h | 73c820630e2c95a21fdc6a5dd06f6c6e2b557d30 | [] | no_license | cfeyer/string-calculator-kata | 7e607e67102f8523b69d1af8dfbaf0fc75278516 | 79dccfd48edbea6a53b8204c510d4061a2b8137d | refs/heads/master | 2023-03-23T17:34:47.433623 | 2021-03-13T17:59:43 | 2021-03-13T17:59:43 | 347,443,610 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 294 | h | Tokenizer_Interface.h | #ifndef TOKENIZER_INTERFACE_H
#define TOKENIZER_INTERFACE_H
#include <string>
#include <vector>
class Tokenizer_Interface
{
public:
virtual ~Tokenizer_Interface() {};
virtual std::vector<std::string> parse_tokens( const std::string & ) const = 0;
};
#endif /*TOKENIZER_INTERFACE_H*/
|
7faa08e41fcc99f8a1ab78dc504d7dc4cadec21b | ed25dc3fdf080e59316c19b2fb8a1f05a49c88ef | /include/thread/dosc/bift_wai.h | 866d0ba0d68d03fe5186a339e1722f02839490f1 | [] | no_license | druppy/uwinf | b31f728787773deab9b32a0c3c3a1bfec6fd7f61 | ef1fbab1893d4cfa55b07efe3d78ebdeda5e50b3 | refs/heads/master | 2020-05-22T14:33:21.444998 | 2015-09-26T18:46:51 | 2015-09-26T18:46:51 | 32,198,784 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,267 | h | bift_wai.h | #ifndef __BIFT_WAITTHING_H_INCLUDED
#define __BIFT_WAITTHING_H_INCLUDED
class BIFCLASS FThread;
class BIFCLASS FThreadManager;
class BIFCLASS FWaitThing {
//a thing to wait for
protected:
FWaitThing();
virtual ~FWaitThing();
private:
void AddWaiter(FThread *tp);
protected:
voi... |
5b23e6ce8e2d9fe119d400b6484f0d722da76013 | 5d1003e596524182f126611b837b56a91ef0b1b7 | /Ardomos/ModuleClock.h | 375e7dd72c0164533852cd516b8bb70e41152936 | [] | no_license | hsaturn/Domosat | 3d39c5e94f686b0c00174ee403f44e6914c046b6 | 46231d297a79fdb3bce01223ab93215485e014b4 | refs/heads/master | 2021-01-13T03:32:36.512359 | 2017-01-11T16:38:55 | 2017-01-11T16:38:55 | 77,529,811 | 0 | 0 | null | 2016-12-29T10:50:34 | 2016-12-28T12:01:31 | Java | UTF-8 | C++ | false | false | 443 | h | ModuleClock.h | /*
* File: ModuleClock.h
* Author: hsaturn
*
* Created on 2 novembre 2014, 22:06
*/
#ifndef MODULECLOCK_H
#define MODULECLOCK_H
#include <Arduino.h>
#include "Module.h"
class ModuleClock : public Module {
public:
ModuleClock():Module(MODULE_CLOCK), miMin(0), miHour(0),miDay(0){}
virtual int8_t msgHandler(u... |
b2a913b3d77af1f2d95779e6586c7e8c3c497344 | 760458ba4a9d7e5992d67095da75805c918f5a06 | /parser/antlr/calc.c++.listener/ExprBaseListener.h | 4d5a31d830f8653a22f400643ecd37f16f60694d | [] | no_license | yielding/code | 99e0809255f96e89f18d7dfd3492003684485167 | b231e15f35c60a7b3227a57be7c110e12c5aa127 | refs/heads/master | 2023-08-30T23:40:21.225686 | 2023-08-26T04:39:46 | 2023-08-26T04:39:46 | 978,529 | 16 | 9 | null | null | null | null | UTF-8 | C++ | false | false | 2,297 | h | ExprBaseListener.h |
// Generated from ./Expr.g4 by ANTLR 4.13.0
#pragma once
#include "antlr4-runtime.h"
#include "ExprListener.h"
/**
* This class provides an empty implementation of ExprListener,
* which can be extended to create a listener which only needs to handle a subset
* of the available methods.
*/
class ExprBaseListe... |
915363b5b22ff41921c2fa55bc41e78a3e7c8640 | 0bfead2f80dc4021cffae29190e3c951e81b3ccc | /project_aps.cpp | 1e20eceb9ca6067efca9a45af7c88f37de14a47d | [] | no_license | AshishKempwad/Suffix-tree-in-O-n-time | 74c797d852bbab24483ec07bae7e221bbd5e075a | f6702ce832918366762762d02026df2bbf3c3cda | refs/heads/master | 2020-09-07T04:41:06.823804 | 2019-11-09T15:01:34 | 2019-11-09T15:01:34 | 220,657,704 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,122 | cpp | project_aps.cpp | #include<bits/stdc++.h>
using namespace std;
typedef struct Suffix st_node;
st_node *root;
st_node *lastnew_node = NULL;
st_node *active_node = NULL;
int remaining = 0;
// active points
int active_edge = -1;
int active_length = 0;
int string_size = -1;
//strcture of suffix
struct Suffix
{
struct Suffix ... |
9c016dd54112a6af59ead86022444abc27129ca0 | 7a70358f01f42a600990e1bc4e55df86c5329bf1 | /DCRgenerator.h | 14ae52c2ef96eaf8cfa42f82f12f8bd2e5b2b031 | [] | no_license | BellaHa/DeadCommunity | f2cf2e8978ef9a87ed898a01e13b28292f16c9b5 | 4c2aab5fda670a923d5c29fb24658496cfc4f42f | refs/heads/main | 2023-02-25T12:27:14.247409 | 2021-01-29T07:43:59 | 2021-01-29T07:43:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 623 | h | DCRgenerator.h | #pragma once
#include "SocialGraph.h"
#include "DCRgraph.h"
class DCRgenerator
{
public:
DCRgenerator();
DCRgenerator(SocialGraph* g);
~DCRgenerator();
void setSocialGraph(SocialGraph * g);
DCRgraph* generateDCRgraph();
DCRgraph* generateDCRgraphMig();
DCRgraph* generateDCRgraphMigB();
... |
106d524e08a934447da488f5fa1abd11cb7dd483 | b906f38539e8f7fcf6c09f8ace2e8f7be6bad0be | /students/2012/kazenyuk/ast2bytecode/BytecodeInstructionPrimitives.h | d8bdbf63dd252558a11208d0f8b43c0b98e97eec | [] | no_license | nvmd/spbau-mathvm | e2095341d73de403502e55653438d68c0f6eb711 | b50ce4291fe2e5077c2a2023baf23023db20c827 | refs/heads/master | 2021-01-13T01:27:44.439572 | 2013-02-04T01:22:26 | 2013-02-04T01:22:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,472 | h | BytecodeInstructionPrimitives.h | #ifndef BYTECODEINSTRUCTIONPRIMITIVES_H_
#define BYTECODEINSTRUCTIONPRIMITIVES_H_
#include "mathvm.h"
#include "ast.h"
namespace mathvm_ext {
using namespace mathvm;
class BytecodeInstructionPrimitives {
public:
BytecodeInstructionPrimitives();
virtual ~BytecodeInstructionPrimitives();
// load immediat... |
c165fb9f33044b3c6834a8af1035f71d69541b28 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/curl/gumtree/curl_new_log_5515.cpp | 169ecee2de020b15850090eb14c2d4cdc7c82c9f | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 551 | cpp | curl_new_log_5515.cpp | fputs(
" for efficiency. Fails the transfer if the server doesn't sup-\n"
" port SSL/TLS. (Added in 7.16.0)\n"
"\n"
" --ssl-reqd\n"
" (FTP, POP3, IMAP, SMTP) Require SSL/TLS for the connection.\n"
" Terminates the connection if the server doesn't suppor... |
bc6275927a1091a4a01f4bc9bc742d2c9cdbe8d2 | b45761d13faae22f5a676a20b324fb13db5812cb | /unidade1/codigos/tiltshift.cpp | 98e3002c670985ee7efbe6b1ed5fee3931a6dde2 | [] | no_license | luishmv/pdi | cfa6054ea1f1ee5f615cfcb74bd76e3e1c043175 | c6046b6be22706b26f6e84bd91b185abe9edb21e | refs/heads/main | 2023-01-23T21:44:49.175306 | 2020-12-04T22:40:40 | 2020-12-04T22:40:40 | 304,092,098 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,365 | cpp | tiltshift.cpp | #include <iostream>
#include <cmath>
#include <opencv2/opencv.hpp>
#define Max_size_name 51
using namespace cv;
using namespace std;
int top_slider_max = 100;
int h_slider = 0, v_slider = 0, p_slider = 0;
int width, height; // dimensões da imagem
Mat image, blurry_image, blended;
char TrackbarName[Max_size_name];... |
18abfab6f10ed544905d18cd165843c6d10d4fd1 | 307d3837d31f9e3728af2b62ca51ebf63fe6ec6b | /hall_of_fame/jaewon/1504_certainShortPath.cpp | 857cac3a26c1fd0b36df89466c1471f100bcccb8 | [] | no_license | ellynhan/challenge100-codingtest-study | 905043497d154b8a7333ca536e536d013f6e7454 | bcdc6d04f13b12ba80b42e066f9d244d7c2cc698 | refs/heads/master | 2023-09-01T14:10:13.481013 | 2023-08-27T14:38:52 | 2023-08-27T14:38:52 | 401,561,230 | 162 | 176 | null | 2023-09-09T14:56:25 | 2021-08-31T03:30:36 | C++ | UTF-8 | C++ | false | false | 2,486 | cpp | 1504_certainShortPath.cpp | //0458~0555 0725~0900
#include <iostream>
#include <vector>
#include <queue>
using namespace std;
int main(){
int numOfNodes, numOfEdges; //1번부터 numOfnodes번까지
scanf("%d%d", &numOfNodes, &numOfEdges);
vector<vector<int>> ways(numOfNodes,vector<int>(numOfNodes, INT32_MAX));
vector<int> startDP(numOfNodes... |
863af2efb0b6074e98d5c5c43e8c781cb863dfed | 9f9b18f28e6f6fa3399cd26063fc993d056dd0fb | /src/scene.h | aa5cf90f478911d6e8e4087faa37649715dd722a | [] | no_license | rdelcueto/LIMN-Ray | 96b965f41539f1f5844fba20f75c493eb5819cd8 | 0feac0fdf11d232ffa53b8249982c47093e650a7 | refs/heads/master | 2020-05-17T12:27:13.014918 | 2013-01-14T00:57:21 | 2013-01-14T00:57:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,541 | h | scene.h | /*
* File: scene.h
* Author: Rodrigo González del Cueto
*/
/*
* Copyright (C) 2009 Rodrigo González del Cueto
*
* This file is part of Limn-Ray.
* Limn-Ray is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundat... |
81302f473d4c00945ddefc80d7150b8747ca7f3e | 2c7ca7e12e0f12664f4d2aedbdbf780ef7ba8892 | /protobufPainter/TcpClient.h | e1807cbc803efcd67880227fd15530667e18cb77 | [] | no_license | NotoriousGD/protobufPainter | e7a2cc55c0a74e4e79268489fe1901472895fc35 | fda0943177af06495bc0a4407f561d64e8c4976e | refs/heads/master | 2020-06-11T07:34:21.367634 | 2016-12-12T16:07:27 | 2016-12-12T16:07:27 | 75,732,542 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 519 | h | TcpClient.h | #ifndef CONNECTMODEL_H
#define CONNECTMODEL_H
#include <QObject>
#include<QTcpSocket>
#include"model.pb.h"
class TcpClient : public QObject
{
Q_OBJECT
private:
QList<model*> allDots;
QTcpSocket* client;
QString addres;
void disconnect();
public:
explicit TcpClient(QObject *parent = 0);
~Tc... |
17a9962849c92e1b3173a0d216de5661a07e3540 | 3285c1fab536f31cfa316621b3a05a27f6003ef5 | /src/rstm/rstm-dev/include/common/platform.hpp | 4e4a04430bbf40c9578e8e3985d70273114b0a92 | [] | no_license | ucf-cs/tlds | 800bd10f30ca1b6624cfbb19f46206e4f866240c | 43f2e964e746b2288307629b340c039133fdbf72 | refs/heads/master | 2022-10-01T18:29:52.922210 | 2022-09-01T02:47:10 | 2022-09-01T02:47:10 | 66,377,333 | 21 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 14,785 | hpp | platform.hpp | /**
* Copyright (C) 2011
* University of Rochester Department of Computer Science
* and
* Lehigh University Department of Computer Science and Engineering
*
* License: Modified BSD
* Please see the file LICENSE.RSTM for licensing information
*/
/**
* This file hides differences that are based ... |
76a21132c395d7e037eaca29e135502ed2ae309e | 75d19ca32d7ffbd1e9151e73b500e2b3f7e3d680 | /C++11/language/lambdas/ideone_KIeyWG.cpp | c4f0b04804cf9524cfd7bbf7a0a31394b7c37c04 | [
"MIT"
] | permissive | varunnagpaal/cpp | e669f664bd84e789b03d19b654dd1c252a892807 | 1b7e1678d05d93227caea49b5629cadd217553de | refs/heads/master | 2021-06-01T11:05:27.536903 | 2019-10-03T05:17:38 | 2019-10-03T05:17:38 | 26,906,342 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 503 | cpp | ideone_KIeyWG.cpp | // lambda examples
#include <iostream>
#include <algorithm>
#include <vector>
#include <functional>
int main()
{
std::vector<int> myvec = {2,4,1,22,14,23,14,-1,-6,90};
auto sorter = []( int const & a, int const & b){ return a<b; };
auto printer =[]( int a){ std::cout << a << ", ";};
for_each( myvec.begin(), ... |
6d588b263b1eb2fb9be6b3116dc91d3a9c6a03c3 | e679ae4684fcd9fe765491242016dd2f4ca279cd | /BWT/src/BrailleTutor-0.7.1/tests/test2.cc | 251ca24872aaf992f0add61edb53d177dd363284 | [] | no_license | TechBridgeWorld/BrailleWritingTutor | 23add5dac20238d6899a0da3ff63480576fb29f9 | 72d3c2d97105009587203c5ba6403861f3f22c81 | refs/heads/master | 2016-09-05T19:07:20.291296 | 2015-06-10T18:51:32 | 2015-06-10T18:51:32 | 12,303,955 | 1 | 1 | null | 2015-06-10T18:51:33 | 2013-08-22T18:01:10 | C++ | UTF-8 | C++ | false | false | 6,653 | cc | test2.cc | #include "Types.h"
#include "IOEvent.h"
#include "BrailleTutor.h"
#include "ShortStylusSuppressor.h"
#include <string>
#include <iostream>
#include <boost/thread/condition.hpp>
#include <boost/thread.hpp>
using namespace BrailleTutorNS;
struct IOEventDemo : public IOEventHandler {
// Condition variable that we u... |
8d272c2d027d01d180fbf2b9a6edeff20ead403c | d6ebbe29a5ed512889b0488620e53bc9df3ec4e1 | /leetcode/03-Stacks_ and_Queues/JD0301E-ThreeInOne/ThreeInOne.cpp | f2b50f33a0f5484a1a83a0cbe9bed340cf071070 | [
"MIT"
] | permissive | BinRay/Learning | ccfcfd88b4c73cf85fcdc0050b23534d16221e13 | 36a2380a9686e6922632e6b85ddb3d1f0903b37a | refs/heads/master | 2021-07-16T20:33:38.587694 | 2021-03-05T08:53:29 | 2021-03-05T08:53:29 | 243,143,180 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,952 | cpp | ThreeInOne.cpp | class TripleInOne {
public:
TripleInOne(int stackSize) {
v.resize( stackSize * 3 );
m_max = stackSize;
m_index0 = 0;
m_index1 = 0;
m_index2 = 0;
}
void push(int stackNum, int value) {
switch ( stackNum ){
case 0:
if (m_index0 <... |
01751c17f5d9f2bf1037e79f9b43ae332a8bffa8 | 5bf722b03f711341291335c062c43f97159cc391 | /src/graph-theory/destination_edge.hpp | 8e8280fa2a937eebff579d49e1f8994eac07cdab | [
"MIT"
] | permissive | roma-zelinskyi/algorithms | 1694d96efa253524f5637335e5c116b69671c955 | cfc8a1a678186b00a47e7a33b9b6a78b7225c8c0 | refs/heads/master | 2023-04-12T07:23:42.481533 | 2021-05-17T14:17:15 | 2021-05-17T14:17:15 | 310,023,235 | 0 | 0 | MIT | 2020-12-29T22:40:27 | 2020-11-04T14:16:06 | C++ | UTF-8 | C++ | false | false | 601 | hpp | destination_edge.hpp | /**
* Project Graph
*
* @author Roman Zelinskyi <lord.zelinskyi@gmail.com>
*/
#pragma once
#include <functional>
namespace cppgraph {
template<class _NodeDescriptor>
class DestinationEdge
{
public:
constexpr explicit DestinationEdge(const _NodeDescriptor& to, const double w)
: _to{to}
, ... |
3ddb8816b93f0a20b69821528c3da9136eddf57a | 7195ef5a7df65115eef2225ca44ea85587917195 | /gengine_lib/src/gphys/phys_script_registration.cpp | ad99494abadb06c90b616428cb06dcd8de233d98 | [] | no_license | GuillaumeArruda/GEngine | dd4f645cc92730aa76040550d355fba5b41c6e1c | 8be545426d90b57bda184864e73e1329907ace65 | refs/heads/main | 2023-08-08T00:33:17.431719 | 2023-07-19T21:25:36 | 2023-07-19T21:25:36 | 321,533,177 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 446 | cpp | phys_script_registration.cpp | #include "stdafx.h"
#include "gcore/script/node_data_type.h"
#include "gcore/resource_handle.h"
#include "gphys/phys_script_registration.h"
#include "gphys/resources/collision_shape.h"
namespace gphys
{
void register_node_data_type()
{
gcore::node_data_type_registry& registry = gcore::node_data_type... |
b2459581a16513ebafa9da808e35ab97f0946f24 | 501656109d2e92441deb4cfc5ed0dccb50208935 | /2014网络赛/1st/B.cpp | 6d22ad6cd011c28072792a0ec608a275d2511e83 | [] | no_license | ailyanlu1/Acm-icpc-6 | 32cb3c7c5760dd6fd2f1d641e4dd2b130e317fed | b4c86f65aeb8ce4f4949046a4d3ce9c390034f22 | refs/heads/master | 2020-03-23T13:55:38.122388 | 2014-10-01T03:11:58 | 2014-10-01T03:11:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,933 | cpp | B.cpp | #include <iostream>
#include <sstream>
#include <ios>
#include <iomanip>
#include <functional>
#include <algorithm>
#include <vector>
#include <string>
#include <list>
#include <queue>
#include <deque>
#include <stack>
#include <set>
#include <map>
#include <cstdio>
#include <cstdlib>
#include <cmath>
#include <cstring... |
cb014b1db138e3c7354ef7e3ad2430fb66919db9 | 104d3b210b9c70505a4041f0acc11d5745b9028b | /Source/LetsGo/DiContainers/IDiContainerFactory.h | 74dde66d8be87ef45fa789eb2383fd179f1e76c5 | [] | no_license | lmbrmb/LetsGo | 12cbf1e736836b362fe4722a1261b1c1bf7f502a | 4ac0e256354179eb35774b4902d191bb523ded40 | refs/heads/master | 2023-06-05T18:22:01.669851 | 2021-06-29T08:59:31 | 2021-06-29T08:59:31 | 326,523,056 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 287 | h | IDiContainerFactory.h | #pragma once
#include "LetsGo/Data/IUObjectRegistry.h"
#include "Misc/TypeContainer.h"
template <ESPMode Mode>
class IDiContainerFactory
{
protected:
~IDiContainerFactory() = default;
private:
virtual TTypeContainer<Mode>* CreateContainer(IUObjectRegistry* uObjectRegistry) = 0;
};
|
d3f7ecf5fdc4133546623278a42ffa368fcdd9d1 | e8f0256d91dc62361beec505ce47be48fbac0d0d | /DataSource/owchart/include/Chart/CIndicator.h | 6dee4c822dc1b71065067fd3c3218713cb6dc51c | [] | no_license | Scott3066026158/datasource | 0b3feae069624cb61626c88bd9954010eb3bc095 | d0275a720cf084125c90ca0a3614e2faaf1aa787 | refs/heads/master | 2020-06-25T18:05:27.954264 | 2019-07-29T05:47:26 | 2019-07-29T05:47:26 | 199,384,454 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 9,658 | h | CIndicator.h | /*****************************************************************************\
* *
* CIndicator.h - Indicator functions, types, and definitions *
* ... |
aa778a35c53142be32d5d49ac11427450d8e9757 | 9461965cd31489fbdbe542561500b3e226e14ae5 | /RubeGoldberg/PhysicsProject/Level.cpp | 60c7e480f22e76a291d62cf057932ff8fd486335 | [] | no_license | JakeEllenberg/GamePhysics | f6931f5077080c89676fc3dd9b0e2992864cfed0 | f97f5da816df3f5631bd10c09fc9039bed87c91a | refs/heads/master | 2020-12-24T15:32:32.420712 | 2015-05-01T02:24:58 | 2015-05-01T02:24:58 | 29,218,225 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,204 | cpp | Level.cpp | //======================================================================
//File: Level.h
//Author: Jake Ellenberg
//Created: 3/21/2015
//Purpose: Hold level data
//======================================================================
#include "Level.h"
#include "RodContactGenerator.h"
#include "CableContactGen... |
a27d98ab7bf9d6d3db9984258da008c1a8f8f0a3 | f33ad4d971375ef588218703bb4a4f60156088de | /src/CodigosDelta/ArchivoComprimido.cpp | 4ff98bdf7ded0fe2fcd778b42bd9c0b884b7ff80 | [] | no_license | pellarolojuani/pruebas | b0d1a9f241b826ae809850c3769b4bf00306b8a5 | 4580c0a16910dc76c5e276668b0b22a7a176d382 | refs/heads/master | 2021-05-28T11:00:04.443312 | 2013-06-23T08:42:15 | 2013-06-23T08:42:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,751 | cpp | ArchivoComprimido.cpp | /*
* ArchivoGamma.cpp
*
* Created on: 19/06/2013
* Author: matias
*/
#include "ArchivoComprimido.h"
#include <iostream>
#include "../NombresArchivos.h"
ArchivoComprimido::ArchivoComprimido() {
this->abrir();
}
ArchivoComprimido::~ArchivoComprimido() {
this->cerrar();
}
void ArchivoComprimido::abrir() ... |
250e13408b401ad97948a20d208d11c88cc7f81c | 90ba2423edb624607c1fca5c89964b6cc3165ef8 | /src/util/torus_matrix.h | d09b99e285cd81f2761ae67e44b4d8f68e9a1aa8 | [
"MIT"
] | permissive | KnairdA/termlife | 37e92f5e531b7adf82dffc930def291463ac700e | 01f9aa0cc8d3d8f5e862f0dffa282002e5ec55de | refs/heads/master | 2021-01-12T09:32:32.033706 | 2017-03-26T13:39:49 | 2017-03-26T13:39:49 | 76,186,947 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,045 | h | torus_matrix.h | #ifndef LIFE_SRC_UTIL_TORUS_MATRIX_
#define LIFE_SRC_UTIL_TORUS_MATRIX_
#include <array>
#include <cstdint>
namespace life {
namespace util {
template<
typename TYPE,
std::size_t WIDTH,
std::size_t HEIGHT
>
class TorusMatrix {
static std::size_t toMatrixColumn(const std::ptrdiff_t x) {
if ( x >= 0 ) {
re... |
a83bd998bf53de600b7be4fe205f602362ad7f30 | dd5639d2b206d5a38ecff6056a26cf185ceaf18e | /My Projects/SFML Source codes/SFML Test/SFML Test/Entity.cpp | b2c9b0514d9a390cfcebff28599d0398ab5c2e9a | [] | no_license | LeulShiferaw/resume | 7a84f0cb78528011b70d01796d5fda86922ca43c | 812539fe4a12329472391980b6f37d4bb440c0d1 | refs/heads/master | 2021-04-09T10:50:36.063786 | 2018-03-16T12:34:00 | 2018-03-16T12:34:00 | 125,513,147 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 248 | cpp | Entity.cpp | #include "Entity.hpp"
void Entity::setVelocity(sf::Vector2f n)
{
mVelocity = n;
}
void Entity::setVelocity(float x, float y)
{
mVelocity.x = x;
mVelocity.y = y;
}
sf::Vector2f Entity::getVelocity() const
{
return mVelocity;
} |
adb82db3a5d8bcbc33218de2012cb07f2154eedf | a0c5688b0461c9a3bbfb25902de814c42474e2db | /Self-accelerating Processing Workflows/src/ComputationalModel.cpp | bb61a585ce1507f40a44f70fa60a2a0384f3e449 | [] | no_license | nirojanthiya/Self-Accelerating-Processing-Workflows-VS | 36e42f5607f1160b7da220d56a9968f2457ccdb6 | 4e70a8c4bb8689eb9438778339ddbbc3540bde74 | refs/heads/master | 2023-01-11T17:46:19.186761 | 2020-11-12T10:37:55 | 2020-11-12T10:37:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,890 | cpp | ComputationalModel.cpp | #include <iostream>
#include <fstream>
#include <string>
#include <sstream>
#include <ComputationalModel.h>
#include <MatrixMulMLModel.h>
#include <Logger.h>
//for time measure
#include <windows.h>
#include <time.h>
#include <stdio.h>
//for async function
#include <thread>
#include <future>
#include "CurrentCPULoad.c... |
6319dd3655f6806ba3cb622a73ae875529c79475 | 421f5b6d1a471a554ba99f6052ebc39a67581c96 | /ACM ICPC/Practice problems/Ad Hoc/Hackerrank - Implementation/resturant.cpp | e9f671ad40bd2555e8b96ea78badd86bd1463ee2 | [] | no_license | avinashw50w/practice_problems | 045a2a60998dcf2920a1443319f958ede4f58385 | 1968132eccddb1edeb68babaa05aaa81a7c8ecf3 | refs/heads/master | 2022-08-31T08:39:19.934398 | 2022-08-10T16:11:35 | 2022-08-10T16:11:35 | 193,635,081 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 796 | cpp | resturant.cpp | #include <stdio.h>
#include <string.h>
#include <math.h>
#include <stdlib.h>
int main() {
/* Enter your code here. Read input from STDIN. Print output to STDOUT */
int t,l,b,i,j,q,r,m,arr[10000],min;
scanf("%d",&t);
while(t--)
{
scanf("%d %d",&l,&b);
if(l>b)
... |
aa20beaa8facfe9749eddd0ccad41ab162c1ce1b | cac5943d4339b3877a1cc3ecaf7293ab5f5c97d0 | /test/homework_test/02_decisions_test/02_decisions_tests.cpp | 8107dbddb8b462e0cc60987cc197f085824849b5 | [
"MIT"
] | permissive | acc-cosc-1337-fall-2019/acc-cosc-1337-fall-2019-Fortress117 | 128aef7ffd0773f393ede8cb93e5aa48ca0ba078 | 76cfd56f0d4cb53bd2ce997fffb994bd30560ce2 | refs/heads/master | 2020-07-13T07:58:29.178211 | 2019-12-10T00:08:28 | 2019-12-10T00:08:28 | 205,038,730 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,247 | cpp | 02_decisions_tests.cpp | #define CATCH_CONFIG_MAIN // This tells Catch to provide a main() - only do this in one cpp file
#include "catch.hpp"
#include "../../../homework/02_decisions/decisions.h"
TEST_CASE("Verify Test Configuration", "verification") {
REQUIRE(true == true);
}
TEST_CASE("Test get grade points")
{
REQUIRE(get_grade_points... |
b3d6697e24dea84a59837853275f66f962a2cf4c | 5f46975fc7a0b309bbc40f8d16ea12043025c057 | /SWEA/D3/8741. 두문자어.cpp | 843b9222a08e2f48dfa5b98b2f3b7d30aa2655b1 | [] | no_license | HyeranShin/algorithm | b7814a57bd7e94e8b07fbc870295e5024b4182d5 | dbe6dc747030be03c3bb913358a9b238dcecfcc4 | refs/heads/master | 2021-08-18T04:10:10.039487 | 2020-05-01T07:23:46 | 2020-05-01T07:23:46 | 174,467,552 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 787 | cpp | 8741. 두문자어.cpp | /*
SWEA 8741. 두문자어
https://swexpertacademy.com/main/code/problem/problemDetail.do?contestProbId=AW2y6n3qPXQDFATy&categoryId=AW2y6n3qPXQDFATy&categoryType=CODE
*/
#include <iostream>
#include <ios>
#define COUNT 3
using namespace std;
string getResult(string words[]);
int main() {
cin.tie(0);
ios::sync_wi... |
31e5a3fae6237119d98e2c862d6391d541eca92a | eb2f8b3271e8ef9c9b092fcaeff3ff8307f7af86 | /Grade 10-12/2018 autumn/NOIP/NOIP2018提高组Day2程序包/answers/GD-0328/travel/travel.cpp | 1de563edbb026bf5930c3b2ca688d1dab11b55da | [] | no_license | Orion545/OI-Record | 0071ecde8f766c6db1f67b9c2adf07d98fd4634f | fa7d3a36c4a184fde889123d0a66d896232ef14c | refs/heads/master | 2022-01-13T19:39:22.590840 | 2019-05-26T07:50:17 | 2019-05-26T07:50:17 | 188,645,194 | 4 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,051 | cpp | travel.cpp | #include<iostream>
#include<cstdio>
#include<cstring>
#include<algorithm>
using namespace std;
int c2[20005],v3[20005],w,que[20005],y3,o2,i,deep[2000005],v[20005],v2[20005],cur,he,t,h[20005],u,ans[20005],r[20005],n,m;
struct tt
{
int to,next;
} e[20005];
struct ttt
{
int a,b;
} c[20005];
bool cmp(ttt x,ttt y)
{
retu... |
e5047a551b1e44740fb049f361fbe38e1c540190 | bd7ed03a358dc380e03f4f4673e660776e86d6ab | /Plugins/leap-ue4-preview/Source/BodyState/Private/FBodyState.cpp | 7ebae4f837b975fa93097d3c145cc600dc52b6ad | [
"MIT"
] | permissive | zhudongwork/ImsvGraphVis- | 6e3cb586df45c0a2b3dcae95c642d29ebee75773 | 8b6894630d722a3a333f466d0b1fe0f5151aafac | refs/heads/master | 2021-09-06T05:00:49.299993 | 2018-02-02T14:50:04 | 2018-02-02T14:50:04 | 119,993,404 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,431 | cpp | FBodyState.cpp | // Copyright 1998-2016 Epic Games, Inc. All Rights Reserved.
#include "BodyStatePrivatePCH.h"
#include "BodyStateSkeletonStorage.h"
#include "FBodyState.h"
#undef LOCTEXT_NAMESPACE
#define LOCTEXT_NAMESPACE "BodyState"
void FBodyState::StartupModule()
{
// This code will execute after your module is loaded into me... |
860635ad264b8848367d5558bf0a4690827aa773 | 93c093caec10a0558b6cd4a6aa63e3cd8876f3df | /include/terrain.h | 930d40de9ff2c4647ea3a26ad04557315f178855 | [] | no_license | lmacintyre/Coastal | 7554f5728ebdd8267e1c53927617ade4a5d0e67d | c9651e38d0ca1fcd12bf539e8f2f7dd6251c6805 | refs/heads/master | 2020-03-28T13:43:39.170916 | 2018-09-14T06:25:06 | 2018-09-14T06:25:06 | 148,423,005 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 783 | h | terrain.h | #ifndef __TERRAIN_H__
#define __TERRAIN_H__
#include "heightmap.h"
#include "renderer.h"
class TerrainRenderer: public Renderer {
private:
Heightmap *heightmap;
float x_step;
float y_step;
void draw_triangle(int x, int y, bool fwd);
void draw_point(int x, int y);
void set_color(float h);
public:
Te... |
597f77a4da137aeaa2645fbbae18cb2349087120 | eda13fd0a992bfab260a1fb08662816c0fba311e | /TextAdventure/Player.h | f87392e1f2b15b9c9c07e0846dc4c6be981ab2af | [] | no_license | psychedelicFish/textAdventure | 9ee98edbe1a7ce65bdfb107d3258e09c089bbd15 | 746adc8393a9b7a0cec65568e3df70fe080d5eb2 | refs/heads/master | 2020-05-29T20:57:03.317502 | 2019-06-13T07:23:52 | 2019-06-13T07:23:52 | 189,364,523 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,993 | h | Player.h | #ifndef _PLAYER_H
#define _PLAYER_H
#include <string>
#include "Inventory.h"
class Enemy;
class Player
{
public:
//Character class enum - indexs the characters class
enum CharacterClass { Fighter, Rouge };
//Decleration of the enum for use in code
enum CharacterClass CharactersClass;
//Intial stats cons... |
ce719f73418cc90bf8da3fbda57ad3eb43fc395b | c4508965574dd9161dc0a06b05fe62d6c6eec934 | /src/ease/data/skip_list.hpp | d647537c175fb1c129e054cc6d7c5e6360998b3a | [] | no_license | Palmik/ease-cpp-skip-list | f30d350f524caca358b2be19285ffee93323c3cd | 4efffd18cf96798f93e5f83b1a33a25e9711f5cb | refs/heads/master | 2016-09-06T13:07:02.606047 | 2013-08-30T17:09:57 | 2013-08-30T17:09:57 | 12,489,077 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,286 | hpp | skip_list.hpp | #ifndef EASE_DATA_SKIP_LIST
#define EASE_DATA_SKIP_LIST
#include <functional>
#include <memory>
#include <random>
#include <cassert>
#include <cstdint>
namespace ease { namespace data { namespace skip_list {
typedef unsigned int u8;
typedef unsigned int u16;
template <typename T>
class skip_list;
#include "skip_l... |
4aeb8f4c5da486feabb4676102b5958eb34d8e52 | 495de3b72c6d931d43e70322450e97173e734ea2 | /Set_DS3231_to_1_Hz_output-RDF-1.1.ino | 271209503b6ced7d402bdc3b3b5a694dee585e88 | [] | no_license | rdforrest/Pinger-model-submarine | d09e032f76070a314ea68839cf9fdf1f6470ebb5 | 4642d78c55cc959ae127060a62eca5409622ea64 | refs/heads/master | 2021-10-12T06:27:19.282056 | 2021-10-02T10:57:34 | 2021-10-02T10:57:34 | 183,627,463 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,372 | ino | Set_DS3231_to_1_Hz_output-RDF-1.1.ino | // RDF based on Adafruit library
// DS3231 to Arduino connections: SDA to A4,SCL to A5, SQW to ground of LED say
#include <Wire.h>
#include "RTClib.h"
RTC_DS3231 rtc;
const byte rtcTimerIntPin = 2;
volatile byte flag = false;
void rtc_interrupt ()
{
flag = true;
} // end of rtc_interrupt
void ... |
e96a5e2614aaef05006b0e6a7084c276405e5444 | d854e1209a2bab3a2bf96f003789252f010fa4d2 | /libraries/Controller/Comm.h | ab157d357b00206de463bf2be6e8028face86cd1 | [
"MIT"
] | permissive | virtdev/su | 418badc807ddc6bbfd464f6f139c1b7add244974 | 7f08adf13d46aef9e47e42b6d56fd599103fd269 | refs/heads/master | 2021-01-23T02:29:05.328732 | 2018-01-12T08:32:37 | 2018-01-12T08:32:37 | 36,044,616 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 719 | h | Comm.h | #ifndef _COMM_H
#define _COMM_H
#include <string.h>
#define COMM_DLE '@'
#define COMM_STX '0'
#define COMM_ETX '1'
#define COMM_CHR "@@"
#define COMM_HEAD "@0"
#define COMM_TAIL "@1"
#define COMM_RATE 9600
#define COMM_TIMEOUT 100
const int COMM_HEAD_LEN = strlen(COMM_HEAD);
con... |
013b1b1dd792c69610c7303c8bafc63e25fbb5e3 | 93d9819473a1043f7fbc6712aff55610765fc92c | /library/TGeneralTools.h | a2bf01454077b668c4efacad720bf05832d3c4ce | [] | no_license | cckui/Borland_C_Lamp | fb9d4a94869722984e23a7dc719816bfbc25cebe | afe29e0808a450118784692e7eee971f3cb67af2 | refs/heads/master | 2021-01-21T18:18:16.846635 | 2017-05-22T08:57:56 | 2017-05-22T08:57:56 | 92,031,876 | 0 | 0 | null | null | null | null | BIG5 | C++ | false | false | 1,217 | h | TGeneralTools.h | //---------------------------------------------------------------------------
//***************************************************************************
//** Create Date : 2010.10.13 Ver.:1.00_A by Cuiu_Handsome
//** Function : 共用 Function ,主要繼承自 TBasetools
//**************************************... |
9cd6b095572085eba9f3245f70f085d814cff00a | baedeab76fb66de47e095719c068267b42aa5105 | /init/iMouse.hpp | d0c16ead50c318e2f13227556d3b9277cfc87d65 | [
"Apache-2.0"
] | permissive | vcgato29/engine-1 | 66b9e98d11bd9ae5e9e04a19bc778676fc0a66a5 | 5b16446e15e4184985328222139ab238b6ee6a90 | refs/heads/master | 2021-01-18T10:14:05.758917 | 2016-04-05T15:19:19 | 2016-04-05T15:19:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,704 | hpp | iMouse.hpp | /*!
* \file iMouse.hpp
*
* Basic class for setting keys
*/
/*
* Copyright (C) 2015 EEnginE project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/license... |
75ee8f92f47ae01a6405344eb9df9b986476c5b1 | 928863f83611e4cd3256f58c0c0199b72baefabb | /3rd_party_libs/chai3d_a4/src/widgets/CBackground.h | 18abddd7fdd3e4dfe302fff7c699f73e9f64e839 | [
"BSD-3-Clause"
] | permissive | salisbury-robotics/jks-ros-pkg | b3c2f813885e48b1fcd732d1298027a4ee041a5c | 367fc00f2a9699f33d05c7957d319a80337f1ed4 | refs/heads/master | 2020-03-31T01:20:29.860477 | 2015-09-03T22:13:17 | 2015-09-03T22:13:17 | 41,575,746 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,208 | h | CBackground.h | //===========================================================================
/*
Software License Agreement (BSD License)
Copyright (c) 2003-2012, CHAI3D.
(www.chai3d.org)
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitt... |
9758f43c4bfe95188c1b1d8e583fcfb8f502c236 | 9e4c014024f90653c32b1ef4a93e829893aa4176 | /build/lgraphics/api/dx9/IndexBufferRef.h | a8ee71cdc36504b945851e6352ffdba17373a7ca | [] | no_license | lcsszz/Samples | a71ba851f2a5fc75412d76b8b54d6cf1dfcebe48 | 0b54333952c2c502b0bac67465a873ac87a05446 | refs/heads/master | 2021-01-24T21:49:12.006013 | 2014-10-04T18:17:47 | 2014-10-04T18:17:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,664 | h | IndexBufferRef.h | #ifndef INC_LGRAPHICS_DX9_INDEXBUFFERREF_H__
#define INC_LGRAPHICS_DX9_INDEXBUFFERREF_H__
/**
@file IndexBufferRef.h
@author t-sakai
@date 2009/05/07 create
@data 2010/01/08 add IndexBufferUPRef
*/
#include <lcore/NonCopyable.h>
#include <lcore/smart_ptr/intrusive_ptr.h>
#include "../../lgraphicscore.h"
#include "Enum... |
74d8e77932d1140c6017490be54e57e0f26cd115 | 805ce6263988ee46ea96a79744a2b8d78b59691c | /src/LOCASModel.hh | 801701f193db95ae0b7c102aa92de3c913023051 | [] | no_license | RStainforth/locas-plus | 0720b5439101e9e8e6d0ed2ba5ba84fe988b6919 | cc7e27634159b430ae62be32036472d95ec8fd3f | refs/heads/master | 2021-01-21T21:39:17.639550 | 2014-03-13T14:21:14 | 2014-03-13T14:21:14 | 14,236,143 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,122 | hh | LOCASModel.hh | ////////////////////////////////////////////////////////////////////
///
/// FILENAME: LOCASModel.hh
///
/// CLASS: LOCAS::LOCASModel
///
/// BRIEF: The base class from which all models used in LOCAS
/// as part of a fitting routine inherit from
///
/// AUTHOR: Rob Stainforth [RPFS] <rpfs@liv.ac.... |
4796620055a296478fc13bdf8b30002ad4258762 | 50a8a3fe0fdffb4141b12b0ee73363f218efc222 | /src/nas/msgs/AuthenticationResponse.cpp | 5ff0c2ebf4588dd0c6342da2286b0566335403a6 | [] | no_license | dukl/fake_gnb | f89972ad50c6a50e620fe8590cece7200d2560da | b6f772e8fb82c61a9949a4f4c317637d97c36fb6 | refs/heads/master | 2022-12-07T21:55:26.285263 | 2020-08-27T07:11:37 | 2020-08-27T07:11:37 | 290,703,480 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,638 | cpp | AuthenticationResponse.cpp | #include "AuthenticationResponse.hpp"
#include "3gpp_ts24501.hpp"
#include "logger.hpp"
using namespace nas;
AuthenticationResponse::AuthenticationResponse() {
Logger::nas_mm().debug("initiating class AuthenticationResponse");
plain_header = NULL;
ie_authentication_response_parameter = NULL;
ie_eap_message = NULL... |
5b440f3db84759615e63f90c5dd91918bbd5d159 | ce38c8ac3af32fc95799c61fcae280159d947b81 | /EzwiX/EzwiX/ModuleGameObjectManager.h | b576c342955e15ae1c10e5d2866b976eef0babfb | [
"MIT"
] | permissive | traguill/EzwiX | d243b554a75d63fb63c25c18a916cbff74331900 | 3002d842b7a27287af28f0db29d7d51ef04c7302 | refs/heads/master | 2020-04-05T13:06:28.874961 | 2017-07-16T10:37:28 | 2017-07-16T10:37:28 | 95,096,983 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 820 | h | ModuleGameObjectManager.h | #ifndef __MODULE_GAMEOBJECT_MANAGER_H__
#define __MODULE_GAMEOBJECT_MANAGER_H__
#include "Module.h"
class GameObject;
class ModuleGameObjectManager : public Module
{
public:
ModuleGameObjectManager(const char* name, bool start_enabled = true);
~ModuleGameObjectManager();
bool Init();
bool CleanUp();
update_st... |
ddd67a4fd5a178e104b316e8db9e2e775988bdf5 | dbf44a1dd9978abc2e4034543e06b6dba79877da | /cacrmoving/cacrmoving/callbackfunction.cpp | ea5819df100d781582194c39574da96b8cc1427f | [] | no_license | KAsimov-/carmoving | 96ded31414dfa934c6ab44ec662981f7e006b0d4 | bc7061a33fad7cd390852a4095317da22924e5d4 | refs/heads/master | 2016-09-06T04:04:33.713923 | 2014-04-29T16:08:06 | 2014-04-29T16:08:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,332 | cpp | callbackfunction.cpp | #include "opencv2/highgui/highgui.hpp"
#include "opencv2/imgproc/imgproc.hpp"
#include <iostream>
#include <stdio.h>
#include <stdlib.h>
#include <cv.h>
#define PI 3.141592
using namespace cv;
using namespace std;
Mat src;
int thresh = 100;
int max_thresh = 255;
/// Function header
/* @function main *//*
int main( ... |
daaf22cb5cb1114df426bfba4856383921d640c3 | 80c3acebbf37278bf5899c207b1f32e45bd22092 | /Projekt/Model/cubemap.h | a93bc013c1acf40cbc1bcda847411dfa7ce910b8 | [] | no_license | Kobzol/ZPG-project | fc9d85c5b61ed0379e8fc5f08d092eadbb87b6bd | c3e423cea687be51b5472c985c519308228ca10c | refs/heads/master | 2021-01-10T16:49:20.196016 | 2015-11-11T22:42:20 | 2015-11-11T22:42:20 | 44,061,033 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 383 | h | cubemap.h | #pragma once
#define GLEW_STATIC
#include <GL/glew.h>
#include <vector>
#include "../Helper/opengl_helper.h"
#include "../Helper/image.h"
class Cubemap
{
private:
GLuint cubemap;
public:
Cubemap();
GLuint getId();
void allocate();
void bind(int unit = 0);
void dispose();
void set2DImages(std::vector<Imag... |
c906eb18d1e59462ac1baf45519a398bc27119fb | 728c504665b676eb157503d26a22c7bc5d4b70c3 | /src/Filter/IMSTObject.h | 0dda848656f224706ef7857a7027271c64163859 | [
"BSD-3-Clause"
] | permissive | fermi-lat/TkrRecon | 9b8e64478e9362a0f9c505b90c7d534047f24abc | 9174a0ab1310038d3956ab4dcc26e06b8a845daf | refs/heads/master | 2022-02-20T03:23:49.672406 | 2019-08-27T17:28:49 | 2019-08-27T17:28:49 | 103,186,928 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,915 | h | IMSTObject.h | /**
* @class MinSpanTree
*
* @brief This defines an interface to the base objects operated on by the MST and Cluster Analyses
*
* @author Tracy Usher
*
* $Header: /nfs/slac/g/glast/ground/cvs/TkrRecon/src/Filter/MinSpanTree.h,v 1.0 2010/12/16 20:44:46 usher Exp $
*/
#ifndef IMSTObject_h
#define IMSTObject_h
#... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.