blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 905
values | visit_date timestamp[us]date 2015-08-09 11:21:18 2023-09-06 10:45:07 | revision_date timestamp[us]date 1997-09-14 05:04:47 2023-09-17 19:19:19 | committer_date timestamp[us]date 1997-09-14 05:04:47 2023-09-06 06:22:19 | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 22
values | gha_event_created_at timestamp[us]date 2012-06-07 00:51:45 2023-09-14 21:58:39 ⌀ | gha_created_at timestamp[us]date 2008-03-27 23:40:48 2023-08-21 23:17:38 ⌀ | gha_language stringclasses 141
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 115
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
81809000cae83583b3b0e35ffecbb1e853a326d1 | 3ad39884d8d726dcd0b8e0a31c46e46288e5224a | /Munny_Lamp/Munny_Lamp.ino | d78da7801aa43c39976e35ad113cab1568063d21 | [
"MIT"
] | permissive | susanaoubina/Adafruit_Learning_System_Guides | a06177bd045e7085dd2987ca9022fa53c5fbce6a | 63673725eba996ddbf977ecf59626b6e3ff3cebf | refs/heads/master | 2020-04-04T17:44:57.861516 | 2018-11-04T00:13:11 | 2018-11-04T00:13:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,990 | ino | // MUNNY BLUEFRUIT LAMP
// Feather M0 Bluefruit + Prop-Maker Wing and 3W RDB LED
#include <string.h>
#include <Arduino.h>
#include <SPI.h>
#include <Adafruit_LIS3DH.h>
#include "Adafruit_BLE.h"
#include "Adafruit_BluefruitLE_SPI.h"
#include "Adafruit_BluefruitLE_UART.h"
#if SOFTWARE_SERIAL_AVAILABLE
#include <Softwar... | [
"jp@jpixl.net"
] | jp@jpixl.net |
a0e957e4049ebee59b1b0062bd1d956284d11106 | a75d0418b2143d6f59635a8833bff49bc903df5e | /DofusMessages/ExchangeBidHouseInListAddedMessage.h | 4fed2d3e435cd81fdb02ac97651f99de64a93a20 | [] | no_license | Arkwell9112/dofus_bot | 30b80850ba41b6a2b562705ec8aa1a6c87cfb8f8 | fc1b805b70c0ed43cbc585322806ece89d057585 | refs/heads/master | 2023-01-16T01:08:06.710649 | 2020-11-23T20:53:00 | 2020-11-23T20:53:00 | 314,084,045 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 755 | h | #ifndef EXCHANGEBIDHOUSEINLISTADDEDMESSAGE_H
#define EXCHANGEBIDHOUSEINLISTADDEDMESSAGE_H
#include "../BotCoreAPI/BotCoreAPI.h"
#include "../DofusTypes/ObjectEffect.h"
#include <string>
#include <vector>
class ExchangeBidHouseInListAddedMessage : public DeserializeInterface {
public:
int itemUID = 0;
unsigne... | [
"arkwell9112@github.com"
] | arkwell9112@github.com |
b8cac37e7d0e9fc6f5222344e8457fb8ceedfcad | 40af1e6cf7f9d02ff35a55b378f76a0de947582e | /SmartLamp/SmartLamp.ino | 742173352274ce8d36f2240b20a1cc36a8c0e0fe | [] | no_license | Luiz-Zimmermann/PSE | 85c89321f362091405d855cb3bd594f2821f9da6 | 2ac842bc786d762cb390ebfc3dbebc91b1aa32bf | refs/heads/master | 2023-01-05T13:29:30.072565 | 2020-11-04T14:46:02 | 2020-11-04T14:46:02 | 310,030,754 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,351 | ino | #define BLYNK_PRINT Serial
#include <BlynkSimpleEsp32.h>
#include <WiFi.h>
#include <WiFiClient.h>
// Definição dos pinos a serem utilizados
#define pinR 21
#define pinG 19
#define pinB 18
#define pinPIR 23
#define pinLDR 33
// Token fornecido pelo Blynk
//Necessário para fazer a conexão entre o app e o esp32
char... | [
"luizzimmermann@edu.univali.br"
] | luizzimmermann@edu.univali.br |
3ff4c0e718fbe9dd9acd8d6262555f19d35e7663 | 9ada6ca9bd5e669eb3e903f900bae306bf7fd75e | /case3/ddtFoam_Tutorial/0.004200000/T | afa0b232df6f9e65bbb3307b8b13e7681d027488 | [] | no_license | ptroyen/DDT | a6c8747f3a924a7039b71c96ee7d4a1618ad4197 | 6e6ddc7937324b04b22fbfcf974f9c9ea24e48bf | refs/heads/master | 2020-05-24T15:04:39.786689 | 2018-01-28T21:36:40 | 2018-01-28T21:36:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 98,684 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.1.1 |
... | [
"ubuntu@ip-172-31-45-175.eu-west-1.compute.internal"
] | ubuntu@ip-172-31-45-175.eu-west-1.compute.internal | |
af2209a92b45687acd3db5cec8031ea51da6cd16 | 5a4ea6e31c5388f81391d0d2500625c050d2187d | /DungeonLib/src/cresco.ai.dungeonlib.data/mapping/hashmap.h | c8e7c45bad03e21300a4f2cf2f1ac05d89cbbd6c | [
"Apache-2.0"
] | permissive | mysterymagination/DungeonLib | 0ad72136f552165fe33d7c110c48e30c13aebd4a | 42e2ae3a7514bd0cbcbf100640c9f62d48a3a37b | refs/heads/master | 2021-05-27T20:24:13.156837 | 2013-08-17T20:15:21 | 2013-08-17T20:15:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 26,128 | h | #ifndef _HASHMAP_H_
#define _HASHMAP_H_
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <iostream>
#include <vector.h>
/* One way, based on the C hashmap meant to use character string keys
//Beginning of Hashmap class definition
//All-righty-roo, this hashmap is going to take advantage ... | [
"creswel2@gmail.com"
] | creswel2@gmail.com |
9406d2a9895c190c28115236f5639da8932507e1 | d758eb35c46ae6493f06c3c7eb1c7e90b62be425 | /app/src/main/cpp/DNFFmpeg.h | a865a9cadeedf14b5fa71bed8c4f0bdd417722f2 | [] | no_license | PineJuneYang/ffmpeg | 55d92c33eb851a2ba8ddee467c11939f1e7dac51 | c226ccc450d4236f17b68e34831ae7a023099cbd | refs/heads/master | 2023-03-31T21:46:19.777883 | 2021-04-04T15:04:29 | 2021-04-04T15:04:29 | 354,517,973 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 889 | h | //
// Created by dell on 2021/1/28.
//
#ifndef FFMPEG_DNFFMPEG_H
#define FFMPEG_DNFFMPEG_H
#include "JavaCallHelper.h"
#include "AudioChannel.h"
#include "VideoChannel.h"
extern "C" {
#include <libavformat/avformat.h>
}
typedef void (*RenderFrameCallback)(uint8_t *,int , int, int);
class DNFFmpeg {
public:
D... | [
"yjncoder@163.com"
] | yjncoder@163.com |
870a1d3056beb7f619a19ddd80949ec20610d458 | 6a84a3e15f4d98db106293fa259ad1202068c30c | /jni/Library_MMDAgent/src/include/Option.h | c16d94575aed1421df1d610f24127e3a87180b9a | [
"BSD-3-Clause"
] | permissive | kaitoh/MMDAgent | 87768b3e323aaa4efe292c1580dd3421cc323ab0 | 1512f2de77b41c85850e365fda2f25c139ee1332 | refs/heads/master | 2021-01-17T23:26:23.554094 | 2014-05-23T10:09:18 | 2014-05-23T10:09:18 | 20,095,325 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 17,381 | h | /* ----------------------------------------------------------------- */
/* The Toolkit for Building Voice Interaction Systems */
/* "MMDAgent" developed by MMDAgent Project Team */
/* http://www.mmdagent.jp/ */
/* -----------------------------... | [
"ksaitoh560@gmail.com"
] | ksaitoh560@gmail.com |
18803bd7d332ec3fcc95ba24134b0dc980133b4e | 66c148b4282ebc4b8fa85049eb062028170ebdb3 | /GlobalProject/Week10Wordprocessing/localHeaders/Text.h | 55e44d68d1501989fde8a634f6532a85179eb1e4 | [] | no_license | KonstantinovD/Basics-of-CPP-BSU-2017 | 5de3749e364d371097a60d57116dc71c25fd51ee | 6c5b413bf5c01b7fe2a90f953b529245f3e966b1 | refs/heads/master | 2021-09-08T06:28:58.654521 | 2018-03-07T22:08:02 | 2018-03-07T22:08:02 | 106,162,710 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 479 | h | #pragma once
#include <list>
#include "Sentence.h"
class Text: public Sentence{
private:
std::list<std::pair<int, int>> sentBegins;
public:
Text() : Sentence(){}
//takes C-string
Text(char*);
Text(char*, int);
Text(char);
Text(const Text&);
~Text(){}
void push_back(const Sentence... | [
"Konstantinov_daniil407@mail.ru"
] | Konstantinov_daniil407@mail.ru |
958a1787bd175a644f073e5b48faa3f42f4f12ef | b123be12ec02f51c8456abeee75a254a75b0918b | /POJ_accepted/2115.cpp | 81199136dee16848662b02f3c541b4e0c4ea43db | [] | no_license | oct-month/OJ-problems | 4e91916de718745d0ff7c0ecdb476e4673515f18 | f40b8998ae1ea05fb6c3a9d2bf20005f858e6c31 | refs/heads/master | 2022-11-29T00:33:54.553227 | 2020-08-09T15:07:43 | 2020-08-09T15:07:43 | 280,439,178 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 661 | cpp | #include<iostream>
#include<cstdio>
using namespace std;
typedef long long LL;
LL ex_gcd(LL a,LL b,LL &x,LL &y)
{
if(b==0)
{
x=1;
y=0;
return a;
}
LL md=ex_gcd(b,a%b,x,y);
LL temp=x;
x=y,y=temp-a/b*y;
return md;
}
int main()
{
LL A,B,C,k,x,y;
while(~scanf("%lld %lld %lld %lld",&A,&B,&C,&k)&&A+B+... | [
"oct-month@qq.com"
] | oct-month@qq.com |
48e3cbdc5b6e6eeb4379329feba72fd98b318c46 | a9c561ab1de476e0ed110c7290dc9f3386ae4e3f | /Tutorials/GPU/CNS/Source/hydro/CNS_hydro_K.H | f2e70c28ce7fda2769f0414cd43fba333d9f486b | [
"BSD-2-Clause"
] | permissive | JBlaschke/amrex-backup | 0c2277157b63c9a10c0983a5b9740d2fd6107ea0 | 8fd7fa13765fc662e7c2cfc82a4af15212acbfe8 | refs/heads/master | 2022-04-18T16:13:12.877094 | 2020-04-19T16:07:46 | 2020-04-19T16:07:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,630 | h | #ifndef CNS_HYDRO_K_H_
#define CNS_HYDRO_K_H_
#include "CNS_index_macros.H"
#include "CNS_parm.H"
#include <AMReX_FArrayBox.H>
#include <cmath>
AMREX_GPU_DEVICE
inline
void
cns_ctoprim (int i, int j, int k,
amrex::Array4<amrex::Real const> const& u,
amrex::Array4<amrex::Real> const& q,
... | [
"weiqunzhang@lbl.gov"
] | weiqunzhang@lbl.gov |
c3e9b49b0ccb293544c0b4d76edc2328384a9d98 | b0e3cd0fe4f3694fc335dae319b0fbe19c3bdbe4 | /branches/project_gary/src/simulators/cellMovement/blindSearch/blindagentmovementsimulator.cpp | fe7194e2da019b7adb8dc2f38fe97139e25a06c2 | [] | no_license | emonet/BHIVE | 50836093519288ca0819e4c28878c6cc0bac94b0 | 0792bfce81664fb2e43ce6df342cd9345876633c | refs/heads/master | 2021-01-18T08:46:32.788310 | 2012-03-27T19:53:40 | 2012-03-27T19:53:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,826 | cpp | #include "blindagentmovementsimulator.hh"
using namespace std;
using namespace Hive;
using namespace ChemoPop;
BlindAgentMovementSimulator::BlindAgentMovementSimulator() {
this->rho = 0;
}
void BlindAgentMovementSimulator::setAgent(Agent *ag) {
this->agent = ag;
this->initialise();
}
void BlindAgentMovementSimul... | [
"chenry@mcs.anl.gov"
] | chenry@mcs.anl.gov |
e56fabe246fd756159f0ec29c7043a521f7eceeb | 06d594794f0c7e02dcbbd5b258f07d6e0cc32bae | /src/experiments/Mu+Lambda-ES/Uniform-Mutation/Uniform-Crossover-Weighted/LongFrag.cpp | 56aae074ef9b75d8905a528f9448642f8321bbca | [] | no_license | NGTOne/stats-experiments | 9c194e4c33cd07212ac35d7c79c7a0d74bc3f7b7 | 3fa6a5c008967ff073d60fac88458d250d96b30c | refs/heads/master | 2020-07-15T09:07:08.915609 | 2017-03-24T17:30:31 | 2017-03-24T17:30:31 | 66,521,115 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 417 | cpp | #include "objectives/discrete/binary/LongestFragmentFunction.hpp"
#include "StatsExperiment.hpp"
#include <libHierGA/HierGA.hpp>
#include <string>
int main(int argc, char* argv[]) {
StatsExperiment exper(
50,
new LongestFragmentFunction(32),
new MuPlusLambdaES(
new UniformCrossover(1, {0.3, 0.7}),
new Uni... | [
"sebastian.lenartowicz.one@gmail.com"
] | sebastian.lenartowicz.one@gmail.com |
62e6177a60e4bb2816da4142e1fe99c5486bd691 | f535eaca6e51b35c3bdbed16090be6694f4fcc82 | /课题/读取装配关系/smartvars.h | 0e2de70cab7ff2c7a6933383a1ad9e2402f033cc | [] | no_license | mubai-victor/project | 61736495a05424a9c7b4a2c42a3dd234ad766f00 | adb5c0b639a49e1ed1aa56e15a8485119fe111cc | refs/heads/master | 2022-12-10T19:32:04.812484 | 2020-09-12T07:14:42 | 2020-09-12T07:14:42 | 290,642,415 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,379 | h | #pragma once
template <class T,int type> class SafeArray
{
public:
SafeArray(VARIANT *input):
m_input(input),
m_access(false),
m_bCreate(false),
m_pSafeArray(NULL),
m_arrayData(NULL),
m_result(S_OK)
{
if(m_input != NULL)
{
if (V_VT(m_input) != VT_EMPTY)
{
m_pSafeArray = V_ARRAY (m_input);
m_result = SafeArrayAccessData... | [
"1678212538@qq.com"
] | 1678212538@qq.com |
c7ffd9a3a0ff7f22ae74faee7e315edd4c87433a | 948f4e13af6b3014582909cc6d762606f2a43365 | /testcases/juliet_test_suite/testcases/CWE121_Stack_Based_Buffer_Overflow/s04/CWE121_Stack_Based_Buffer_Overflow__CWE805_int_alloca_memcpy_81_bad.cpp | c76bfa5af06476341667aa792636f92b0c822f45 | [] | no_license | junxzm1990/ASAN-- | 0056a341b8537142e10373c8417f27d7825ad89b | ca96e46422407a55bed4aa551a6ad28ec1eeef4e | refs/heads/master | 2022-08-02T15:38:56.286555 | 2022-06-16T22:19:54 | 2022-06-16T22:19:54 | 408,238,453 | 74 | 13 | null | 2022-06-16T22:19:55 | 2021-09-19T21:14:59 | null | UTF-8 | C++ | false | false | 1,151 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE121_Stack_Based_Buffer_Overflow__CWE805_int_alloca_memcpy_81_bad.cpp
Label Definition File: CWE121_Stack_Based_Buffer_Overflow__CWE805.label.xml
Template File: sources-sink-81_bad.tmpl.cpp
*/
/*
* @description
* CWE: 121 Stack Based Buffer Overflow
* BadSource... | [
"yzhang0701@gmail.com"
] | yzhang0701@gmail.com |
ac0f1a8bece9b597e3ba2adbb4a5db8e9cf78dcf | 4b0755a70031690df41ba29a5bad03acaad2c52f | /address.cpp | c7bee8e770cf29f00f53462b29604c3f473df7a0 | [
"MIT"
] | permissive | etoki/cpp_learn | fe05c5fe19fd5879660251a65f56c6f11d201e14 | d5a84df6682f2013770ea12d6e40328c5a74dff3 | refs/heads/master | 2021-01-19T13:37:05.880461 | 2017-10-13T14:06:32 | 2017-10-13T14:06:32 | 100,845,664 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 193 | cpp | #include <iostream>
#include <stdio.h>
using namespace std;
int main()
{
int a;
char b[10];
printf("a : %d\nb : %d\nmain : %d\n", &a, b, main);
return 0;
}
| [
"eisuke.tokiwa@amegumi.com"
] | eisuke.tokiwa@amegumi.com |
d5e9a6b824bb9e7a5bc05f8301b96b584ed25f18 | 81b45e7fc0139a3407423205fc48b149d3534200 | /action_bus/src/navya_control/move_base.cc | aec66e609a03f8c1d47659d9b535df0a76915498 | [] | no_license | omoifodarling/ros_action_driven_bus | 2c55330625c7545facf3b153e30ce9505c07a234 | 42946e6e70fed3387a2ed98a8fa42e52e23b4ab4 | refs/heads/master | 2020-03-13T14:02:57.896694 | 2017-11-22T10:06:21 | 2017-11-22T10:06:21 | 131,150,859 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,231 | cc | #include <ros/ros.h>
#include <move_base_msgs/MoveBaseAction.h>
#include <actionlib/client/simple_action_client.h>
typedef actionlib::SimpleActionClient<move_base_msgs::MoveBaseAction> MoveBaseClient;
int main(int argc, char** argv){
ros::init(argc, argv, "simple_navigation_goals");
//tell the action client that... | [
"darlington.omoifo@metropolia.fi"
] | darlington.omoifo@metropolia.fi |
18055eea52f7d90f58b15621f2b2b9e047b952d0 | e6a4cb771a984745467b0fdc8d107b45eb42b987 | /andromeda/src/qtime/Calendar.h | 25090cbf13389c6c4c4e731c4c6d189b5d84f71a | [] | no_license | rvanhezel/Andromeda | cb30dd383024ae7c3b67d35e1e38f312e98a5179 | 8c95904911f8ae4f108930d3cf07e33d2f110306 | refs/heads/master | 2020-03-30T20:37:05.572486 | 2018-10-09T10:44:53 | 2018-10-09T10:44:53 | 151,595,849 | 0 | 0 | null | 2018-10-04T15:40:05 | 2018-10-04T15:40:05 | null | UTF-8 | C++ | false | false | 519 | h | #pragma once
#include "libdef.h"
#include <functional>
#include "QDate.h"
namespace qtime {
class EXPORT_SYMBOL Calendar {
public:
virtual ~Calendar() = default;
Calendar();
virtual bool isBankHoliday(const QDate&) const = 0;
static bool isWeekend(const QDate&);
bool isHoliday(const QDat... | [
"frannuca@gmail.com"
] | frannuca@gmail.com |
ccf053cbc776c5bc68e465d096a4a42b90c650c5 | ef33374c501ced159d6604d57ec563e4ff355d34 | /Projects/Library/Source/Tests/TestTree.cpp | 088e6bd81fdf0595633ef8cc708bc243aeace414 | [
"MIT"
] | permissive | kalineh/KAI | 9ebdb1a9d7a15b6b2fb9b550da6508352f2f422a | 43ab555bcbad1886715cd00b2cdac89e12d5cfe5 | refs/heads/master | 2020-07-13T20:10:33.498730 | 2014-11-08T21:06:12 | 2014-11-08T21:06:12 | 26,581,693 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 576 | cpp |
#include "KAI/Test/Base.h"
#ifdef KAI_UNIT_TESTS
# include "KAI/Tests/TestTree.h"
KAI_TESTS_BEGIN
void TestTree::Pre()
{
KAI_TEST_NOT_IMPLEMENTED();
}
void TestTree::Post()
{
KAI_TEST_NOT_IMPLEMENTED();
}
void TestTree::TestConstruction()
{
KAI_TEST_NOT_IMPLEMENTED();
}
void TestTree::TestStore()
{
KAI_TEST_... | [
"christian.schladetsch@gmail.com"
] | christian.schladetsch@gmail.com |
bf01f8e8b9d6ee40c78c327a54a96f40630767a3 | a9324dfc545e6bc89b0b505660a13e964cc47170 | /src/rpcrawtransaction.cpp | 877098af4488ea4c7d991a69a5e85ad7165dcdd7 | [
"MIT"
] | permissive | lgsproject/LogisCoin | 85bd286d8b46db4c14bb3c612c3a5c74cac22cc8 | 1ff570832b90d2c5d3bb3a951def398c955e1156 | refs/heads/master | 2020-03-25T19:43:42.413235 | 2019-01-31T13:33:57 | 2019-01-31T13:33:57 | 144,097,294 | 15 | 17 | null | null | null | null | UTF-8 | C++ | false | false | 37,221 | cpp | // Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2017-2018 The PIVX developers
// Copyright (c) 2018 The LogisCoin developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or htt... | [
"root@ubuntu16.local"
] | root@ubuntu16.local |
0099824b6f6d06c49e3e4364c3404dabdc6b6efb | dc42e112c3cc5946f878ef87037ca1db66453421 | /NOTEBOOK.cpp | b7c988ac088d635d741e1ab7337a9891e5a6a033 | [] | no_license | dzendmitry/notebook | a389996545cebc9cc2fe3af8a24a32b728b2dbf6 | 9bdcd21fcc8185f654888c253e3f5221275fbb56 | refs/heads/master | 2021-01-23T11:07:13.366710 | 2013-12-12T21:55:46 | 2013-12-12T21:55:46 | null | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 14,707 | cpp | #include "StdAfx.h"
#include "NOTEBOOK.h"
NOTEBOOK::NOTEBOOK()
: FILE("notes.txt"), wasChanged(false)
{
std::fstream file(FILE, std::ios_base::in);
if(!file.is_open())
throw std::ios_base::failure("NOTEBOOK::NOTEBOOK(): Ошибка. Невозможно открыть файл с записями. Cоздайте файл notes.txt рядом с .exe файлом програм... | [
"dzendmitry@gmail.com"
] | dzendmitry@gmail.com |
5d8031c1d50c8dd6ffa7d6ea3de5019203dab9e1 | a5468a15a5918b3ea2cc2b17da530ad475939c7d | /Sources/Network/Address.h | efa3feb2e204d96ef17a367acddf28ce90b25212 | [
"MIT"
] | permissive | TraurigeNarr/SupportSDK | 7f9bb8678b0ef66948218945d00dbf5736f8ad19 | 02939aa54ad434993f806f7cb58ef14f4f52702e | refs/heads/master | 2020-04-04T05:50:26.928699 | 2017-11-06T10:52:43 | 2017-11-06T10:52:43 | 24,842,561 | 0 | 3 | null | 2017-11-06T21:29:01 | 2014-10-06T11:03:29 | C++ | UTF-8 | C++ | false | false | 959 | h | #ifndef __ADDRESS_H__
#define __ADDRESS_H__
#include "NetworkAPI.h"
namespace Network
{
class Address
{
public:
NETWORK_API Address();
NETWORK_API Address(unsigned char a, unsigned char b, unsigned char c, unsigned char d, unsigned short port);
NETWORK_API Address(unsigned int address, u... | [
"jester.92@yandex.ua"
] | jester.92@yandex.ua |
a6a3b3075832a9ef0f0ed5ff401880da2b6c6aea | 6070397a3eb57657f49f039d107875282f22fc00 | /include/sort.h | 88bb2aa2b2e120045c15aeb205aec7eb16ceac6a | [] | no_license | velamen2009/Algorithm | 659d6f38180949c542929a9785a3945c17e1e3e8 | 8fd15fbfb75cd1b69c75668615cc11efda932bab | refs/heads/master | 2021-01-21T13:03:40.169612 | 2016-05-03T18:54:43 | 2016-05-03T18:54:43 | 49,113,526 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,758 | h | #ifndef __SORT_H__
#define __SORT_H__
#include<iostream>
#include<vector>
#include "generic.h"
using namespace std;
namespace alg{
template<typename T>
class SortClass{
public:
SortClass(vector<T>& sort_list, bool(*comp)(T,T), void(*_swap)(T&, T&)){
m_sort_list = &sort_list;
compare = com... | [
"2565570621@qq.com"
] | 2565570621@qq.com |
df0317487e4fbefdd5e2b4947047057a5ec0c5b3 | 72e3e602546bc94a392ed7a485a948aa3895218e | /Engine/textureshaderclass.cpp | 9951cd382490409646299c89652330b887efbf0c | [] | no_license | fromasmtodisasm/DirectXCpp | b3c304c9c0748313e33d4994db59dc58d0b0e580 | 3026189a07af7567d83ee69ca651969ebb5446bc | refs/heads/master | 2021-06-12T09:41:32.160190 | 2017-03-21T22:19:17 | 2017-03-21T22:19:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,080 | cpp | #include "TextureShaderClass.h"
#include <fstream>
TextureShaderClass::TextureShaderClass()
{
vertexShader = 0;
pixelShader = 0;
layout = 0;
matrixBuffer = 0;
sampleState = 0;
}
TextureShaderClass::TextureShaderClass(const TextureShaderClass& other)
{
}
TextureShaderClass::~TextureShaderClass()
{
}
bool Tex... | [
"windstormer4@gmail.com"
] | windstormer4@gmail.com |
dba94c373d25540b862972d1a5ae6f625b3d3dec | 8aa9b9fb5cb1e0ed3b107f9967d2cb52e204cc1b | /Server/KFPlugin/KFRouteClient/KFRouteClientModule.cpp | 54cacd9f0dd0d29192258fe61259e35c6f03783e | [
"Apache-2.0"
] | permissive | yankunjing/KFrame | 59a6f5c65700efb1fbbca103940f7e105f23db9c | 658283e0d10a9f5adf7ded0fe76697180061e98d | refs/heads/master | 2020-04-10T06:28:59.139963 | 2018-12-07T03:06:50 | 2018-12-07T03:06:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,405 | cpp | #include "KFRouteClientModule.h"
#include "KFProtocol/KFProtocol.h"
namespace KFrame
{
void KFRouteClientModule::BeforeRun()
{
_kf_cluster->RegisterConnectionFunction( __KF_STRING__( route ), this, &KFRouteClientModule::OnConnectionRouteCluster );
//////////////////////////////////////////////... | [
"lori227@qq.com"
] | lori227@qq.com |
cca00e9da81193513240af2681ad6d333de43296 | 0a1ec42ddace93933d677475a4938f1c2d58a552 | /engine_pre_afx11/afx/util/afxPath3D.cc | 62b208f18285558d7c848df201034485b09a6a39 | [] | no_license | ClayHanson/tge-152-fork | f8a242e401e3ea85eebfc75ff2b3dfc84b4fa056 | f19fae0c05ee0dbd9822a73ba1fca0fe95d43f53 | refs/heads/master | 2023-03-16T14:30:30.793979 | 2013-05-01T05:51:43 | 2013-05-01T05:51:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,927 | cc |
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~~//
// Arcane-FX
// Copyright (C) Faust Logic, Inc.
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~~//
#include "afx/util/afxPath3D.h"
#include "console/console.h"
afxPath3D::afxP... | [
"mint@mint.(none)"
] | mint@mint.(none) |
636f589911220edd2ad0e7025f79356e0faa0a05 | d3d1d7d99054b8684ed5fc784421024050a95c79 | /codechef/ghc32020/moon.cpp | cdbf59d903aac73c55fcfaa2c48ff3f4169ccd9c | [] | no_license | rishabhSharmaOfficial/CompetitiveProgramming | 76e7ac3f8fe8c53599e600fc2df2520451b39710 | 85678a6dc1ee437d917adde8ec323a55a340375e | refs/heads/master | 2023-04-28T05:51:18.606350 | 2021-05-15T07:04:33 | 2021-05-15T07:04:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,366 | cpp |
#include<bits/stdc++.h>
#define ll long long int
#define pii pair<int,int>
#define mod 1000000007
#define eps 0.000000001
#define all(x) x.begin(), x.end()
#define allr(x) x.rbegin(), x.rend()
#define sz(x) ((int)x.size())
#define ln(x) ((int)x.length())
#define mp make_pair
#define pb push_back
#define ff first
#defi... | [
"pranav.sindura@gmail.com"
] | pranav.sindura@gmail.com |
a2a02ca114b0bd29e36989bfe196dabf74cd8dd4 | 54dc6841240780614a176ed6a88a46bd57967a19 | /PhysicalTests/src/PT.hpp | c0fb73546ffe2c2206a1ba240047686d64a13612 | [] | no_license | saini8/PhysicalTests | 4fe50462dc68e93ca2273d0fe568b326c3895b54 | 61063dc0dcc0ae8cca817864c4eabeb7e2e43412 | refs/heads/master | 2021-01-23T20:13:43.748205 | 2013-11-15T17:23:14 | 2013-11-15T17:23:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 134 | hpp | /*
* PT.hpp
*
* Created on: Nov 15, 2013
* Author: Jinthujah
*/
#ifndef PT_HPP_
#define PT_HPP_
#endif /* PT_HPP_ */
| [
"jinthujah.s@gmail.com"
] | jinthujah.s@gmail.com |
73609353fe01c07379ce1871a4f2d188257fd9ff | 39adfee7b03a59c40f0b2cca7a3b5d2381936207 | /codeforces/601/A.cpp | c5dee594cd0b7abc5579455c96cc16cbdc50325a | [] | no_license | ngthanhtrung23/CompetitiveProgramming | c4dee269c320c972482d5f56d3808a43356821ca | 642346c18569df76024bfb0678142e513d48d514 | refs/heads/master | 2023-07-06T05:46:25.038205 | 2023-06-24T14:18:48 | 2023-06-24T14:18:48 | 179,512,787 | 78 | 22 | null | null | null | null | UTF-8 | C++ | false | false | 2,435 | cpp |
#include <bits/stdc++.h>
#define FOR(i,a,b) for(int i=(a),_b=(b); i<=_b; ++i)
#define FORD(i,a,b) for(int i=(a),_b=(b); i>=_b; --i)
#define REP(i,a) for(int i=0,_a=(a); i < _a; ++i)
#define DEBUG(X) { cout << #X << " = " << X << endl; }
#define PR(A,n) { cout << #A << " = "; FOR(_,1,n) cout << A[_] << ' '; co... | [
"ngthanhtrung23@gmail.com"
] | ngthanhtrung23@gmail.com |
634866c135a352c952a56ee68e782a745482ceb3 | d20cf7de868dfb2c53578a70d0dda21306167d72 | /data/preprocessed/train/student_47/sources/ConsoleOutput.cpp | cc04dd731c2c3565e8710a48f09d25284a6a207e | [] | no_license | bulacu-magda/Alemia | 905a84ca79157fb657eb424e337b0303fd3323bd | 0fd019c4517064d300399feb94dbcb0f467e8d48 | refs/heads/main | 2023-03-01T17:41:08.788500 | 2021-02-05T08:00:35 | 2021-02-05T08:00:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,301 | cpp | #include "ConsoleOutput.h"
#include <windows.h>
using namespace UserInterface;
ConsoleOutput* ConsoleOutput::instance;
ConsoleOutput::ConsoleOutput()
{
// setting console width and height
HWND console = GetConsoleWindow();
MoveWindow(console, 0, 0, CON_WIDTH, CON_HEIGHT, TRUE);
// hiding scrollbar
HANDLE handle... | [
"ionutm.bajan@yahoo.com"
] | ionutm.bajan@yahoo.com |
957d9801e12aac883a6d399ebc2b513288602bdb | 2a55c197c48c06459aee72560132106729ddebc4 | /bfs2.cpp | 09980d4bc16a12e07902b3f3fa6b38cb30884cd0 | [] | no_license | vadimkantorov/urfu | b5c3b93b3d6e95f5c893318190ff0380a63788c2 | fd0bf1cf4e2d29c5bc53f95c1c63a24f4fbee032 | refs/heads/master | 2020-04-11T03:51:16.777181 | 2015-02-24T23:43:05 | 2015-02-24T23:43:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,075 | cpp | #include <iostream>
#include <vector>
#include <stack>
#include <queue>
using namespace std;
struct Graph
{
static const int N = 100;
vector<int> M[N];
bool visited[N];
int parent[N];
int source;
void AddEdge(int u, int v)
{
M[u].push_back(v);
M[v].push_back(u);
}
void BFS(int start)
{
source = sta... | [
"vadimkantorov@gmail.com"
] | vadimkantorov@gmail.com |
6bf14726c14e862b9d6bfb179543cdd7870938f8 | 52ada127e8ac22173754b1d22db1b805091e7118 | /src/config.cpp | bc9f7d29f6bd37376d43c47cf76c7613090345b7 | [
"MIT"
] | permissive | dgengtek/taskd | a60ed234fff5068df796b4a6fcbe219325007996 | 2f40c1babd7cc8ffdf483da87fd703045d402e87 | refs/heads/master | 2020-03-28T22:03:59.297548 | 2014-01-16T00:23:15 | 2014-01-16T00:23:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,017 | cpp | ////////////////////////////////////////////////////////////////////////////////
// taskd - Taskserver
//
// Copyright 2010 - 2014, Göteborg Bit Factory.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
//... | [
"paul@beckingham.net"
] | paul@beckingham.net |
3088f0ba2d3d128b2ab337a234057b4990951b4a | ce24e2784ac30cbbe451893f3dcf650df24fc2f8 | /c++/inline/A.cxx | 8a73fff1b631c848d05d3a57be4c54c8e9b0d96d | [] | no_license | bluecoder008/sandbox | 41b4fb1c68cd92cf201068e1a909b19406746598 | 22417b9da18fc42e6abf9b0b10163a125f883445 | refs/heads/master | 2022-05-29T23:59:46.914257 | 2022-05-13T07:01:45 | 2022-05-13T07:01:45 | 3,956,036 | 0 | 0 | null | 2014-09-28T22:52:57 | 2012-04-07T06:03:26 | JavaScript | UTF-8 | C++ | false | false | 98 | cxx | #include <iostream>
#include "A.hxx"
inline
void A::print() {
std::cout << a_ << std::endl;
}
| [
"weilan.wu@gmail.com"
] | weilan.wu@gmail.com |
4bcd3da8122987da684296c0c08a95378a69a513 | b2e9c0fb1d5996df7b8aa2cb7368bad34dd32713 | /formats/ini/Common.cpp | fd7169f7e16ff02ea504cd5554414663a459c60b | [
"MIT"
] | permissive | xguerin/ace | 668bba8f829e3f4f744a1444e8bd960a34dffe00 | cbfbf75840afa6c34f1b129a6be46e2a633b0095 | refs/heads/master | 2023-04-13T23:26:06.492570 | 2022-05-25T14:44:13 | 2022-05-25T14:44:13 | 282,903,412 | 3 | 0 | MIT | 2021-02-02T12:26:04 | 2020-07-27T13:17:10 | C++ | UTF-8 | C++ | false | false | 7,094 | cpp | /**
* Copyright (c) 2016 Xavier R. Guerin
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, p... | [
"xguerin@users.noreply.github.com"
] | xguerin@users.noreply.github.com |
23b7c01decf52ac985ae48c7a4433592de646cc1 | b0dd7779c225971e71ae12c1093dc75ed9889921 | /libs/interprocess/example/doc_anonymous_mutex_shared_data.hpp | 686d463eedfedeefd309d3cd12897dbe540f0a46 | [
"LicenseRef-scancode-warranty-disclaimer",
"BSL-1.0"
] | permissive | blackberry/Boost | 6e653cd91a7806855a162347a5aeebd2a8c055a2 | fc90c3fde129c62565c023f091eddc4a7ed9902b | refs/heads/1_48_0-gnu | 2021-01-15T14:31:33.706351 | 2013-06-25T16:02:41 | 2013-06-25T16:02:41 | 2,599,411 | 244 | 154 | BSL-1.0 | 2018-10-13T18:35:09 | 2011-10-18T14:25:18 | C++ | UTF-8 | C++ | false | false | 1,059 | hpp | //////////////////////////////////////////////////////////////////////////////
//
// (C) Copyright Ion Gaztanaga 2006-2012. 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)
//
// See http://www.boost.org/libs/i... | [
"tvaneerd@rim.com"
] | tvaneerd@rim.com |
5ed5eb5ccb91dadcfda9a45add19ba526bed6bd3 | 9c062ceb9959f3ffedd998f078b04a6b1dda3ffb | /mainwindow.cpp | b1a253d8248ce5919a1cb83eb87d422f30d2d82f | [] | no_license | zuzintosha/QtParserMathExpressions | c342e20f39e8f8bff0722e730b62c168923bc856 | 4f582bb021881bc1301778f925ba26d7b44f1c23 | refs/heads/master | 2020-04-09T12:21:56.955289 | 2018-12-04T11:25:10 | 2018-12-04T11:25:10 | 160,346,364 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 767 | cpp | #include "mainwindow.h"
#include "ui_mainwindow.h"
#include <qtparser.h>
#include <QDebug>
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow)
{
ui->setupUi(this);
}
MainWindow::~MainWindow()
{
delete ui;
}
void MainWindow::on_pushButtonParseExpression_clicked()
{
... | [
"zuzin.tosha@yandex.ru"
] | zuzin.tosha@yandex.ru |
e4208a66ee3c77e40d40733dcb24f9c25bccf480 | 756953bd7487da84962013ed4efc19a5ed2561a5 | /src/modules/gfx/viewport.h | a476dce79fa03308775edd909f2c3ff028985385 | [] | no_license | Dummiesman/mm2hook | a4ade067fdc981ea4accde5dbfeb7653b2b5247f | 511c96a24b88f3210791dd8ea668fb377b02c4f5 | refs/heads/master | 2023-08-19T05:39:17.219544 | 2023-08-10T15:32:00 | 2023-08-10T15:32:00 | 93,969,666 | 2 | 0 | null | 2017-06-10T22:53:27 | 2017-06-10T22:53:27 | null | UTF-8 | C++ | false | false | 1,708 | h | #pragma once
namespace MM2
{
// Forward declarations
class gfxViewport;
// External declarations
// Class definitions
class gfxViewport
{
private:
Matrix44 m_Projection;
Matrix44 m_ViewModel;
Matrix44 Camera;
Matrix44 World;
int field_100;
... | [
"aaro4130@gmail.com"
] | aaro4130@gmail.com |
f0bcf95d2031a556100949cb31082e36a0a4b3b2 | 9c68a6091faa0d9237efbc65e9111f44e8365303 | /Code/EGR/recorder/recorder.h | 4adf1d39faad97b04013f265b020f882d1c8052a | [] | no_license | tmf/ergonomic-gestures-recognition | 07c0b761158489ec821fce86bb73e7f785c27c18 | 984a29ada36203cda4f59c73972fb22937904d87 | refs/heads/master | 2021-01-02T22:50:31.540599 | 2014-03-19T23:41:15 | 2014-03-19T23:41:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 499 | h | #ifndef RECORDER_H
#define RECORDER_H
#include <QtGui/QMainWindow>
#include <QTimer>
#include "ui_recorder.h"
class recorder : public QMainWindow
{
Q_OBJECT
public:
recorder(QWidget *parent = 0, Qt::WFlags flags = 0);
~recorder();
private:
Ui::recorderClass ui;
QTimer timer;
IplImage *buffer... | [
"tom.forrer@gmail.com"
] | tom.forrer@gmail.com |
b651d1f5a5a8e2486e24f15eeca0afbc39705e4d | 1673fddc4307dc9703a93bdef55df3ecd3f2efbd | /cquery_snapshots/cquery_1/tests/namespaces/anonymous_function.cc | c20ef5eff8333c6829d1af80c9d16857369a1fd5 | [
"MIT"
] | permissive | openjamoses/projects_snapshots_1 | 69e77c20e72d6d3e65faba21a51a2adb18fa7bb4 | a6aea1a68044968681068cd16d119c231e45d7e2 | refs/heads/master | 2022-12-17T19:51:29.159524 | 2020-09-26T23:30:46 | 2020-09-26T23:30:46 | 298,916,205 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 231 | cc | namespace {
void foo();
}
/*
OUTPUT:
{
"funcs": [{
"id": 0,
"usr": "c:anonymous_function.cc@aN@F@foo#",
"short_name": "foo",
"detailed_name": "void ::foo()",
"declarations": ["2:6-2:9"]
}]
}
*/
| [
"mosesopenja@Mosess-MacBook-Air.local"
] | mosesopenja@Mosess-MacBook-Air.local |
04a181ba37644e1b6cd4486e9c8c747b0dae5c17 | 12d49cf0bdd8844d747f40783ce547e940540f0c | /grail/classes/array/unique.cpp | b506a28ea0a57b86d7092c9c6f9c38bce5612793 | [] | no_license | guenhae/Orbit | 42375d44a0d8a047243b89826815512e4723fb0a | 5d676bdb92a85702d24e39064ed04ee2ffd92b6a | refs/heads/master | 2021-01-10T10:58:24.647783 | 2016-01-27T23:29:12 | 2016-01-27T23:29:12 | 50,544,898 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,096 | cpp | // This code copyright (c) by the Grail project.
// No commercial use permitted without written consent.
// August 1994
/***************************************************************************
File: classes/array/unique.cpp
-----
Description:
------------
This file contains the definition of the fo... | [
"rlarmsgo92@yonsei.ac.kr"
] | rlarmsgo92@yonsei.ac.kr |
1384fda0f320064e4a7a36e4a846e3efbd616b6d | 3233939b13373df1e8347a1d0fdc0ef4df5420c1 | /src/std/Windows/Systems/systemInput.tpp | 1d4c14be03d6ad4e8f5ccf64ac6ef73d326f3720 | [] | no_license | Teckwar160/EGE | 706f52a23c4fe88e47ebf6a96615c52a6ca39eb6 | 9cdffdbccd66eabb18b2d5d4a6671777f690dfb3 | refs/heads/master | 2022-12-14T06:35:02.070262 | 2020-08-27T00:33:43 | 2020-08-27T00:33:43 | 277,684,954 | 0 | 1 | null | 2020-09-26T06:41:15 | 2020-07-07T01:19:23 | C++ | UTF-8 | C++ | false | false | 261 | tpp | #ifndef SYSTEMINPUT_TPP
#define SYSTEMINPUT_TPP
#include <std/Windows/Systems/systemInput.hpp>
namespace EGE::STD::TERMINAL::WINDOWS{
char systemInput::update(){
if(kbhit()){
return getch();
}
return 0;
}
}
#endif | [
"teckwar160@gmail.com"
] | teckwar160@gmail.com |
68ad5bbc53a4718d54f4a558eed07ab44cea4b3c | 3ea34c23f90326359c3c64281680a7ee237ff0f2 | /Data/1539/H | bbadc61c88ff46fd75c4516a9d0a99eff062d3d9 | [] | no_license | lcnbr/EM | c6b90c02ba08422809e94882917c87ae81b501a2 | aec19cb6e07e6659786e92db0ccbe4f3d0b6c317 | refs/heads/master | 2023-04-28T20:25:40.955518 | 2020-02-16T23:14:07 | 2020-02-16T23:14:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 92,208 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | foam-extend: Open Source Cstd::filesystem::create_directory();FD |
| \\ / O peration | Version: 4... | [
"huberlulu@gmail.com"
] | huberlulu@gmail.com | |
a3bf59e8c69855a4132f3cf46338015102d5015f | a5d8cfe55b77b3cbf04e81c3fb7ebfac28a6283d | /backtracking/1748.cpp | d1055eb40ca969ad98872997dd4b1e1aaf77469e | [] | no_license | Ywook/algorithm | c8869044189216e0705532d8b4ee3cc9e5cb9263 | 43d7541bb8497f0bbf14216297b80da249470979 | refs/heads/master | 2021-05-12T18:50:38.620098 | 2019-07-15T14:14:25 | 2019-07-15T14:14:25 | 117,075,205 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 637 | cpp | #include<iostream>
#include<cstdio>
using namespace std;
int main(){
int n;
int ans = 0;
scanf("%d", &n);
for(int i = 1; i <= n; i++){
if(i < 10){
ans += 1;
}else if(i < 100){
ans += 2;
}else if(i < 1000){
ans += 3;
}else if(i < 10000... | [
"cywibo@gmail.com"
] | cywibo@gmail.com |
5adfddffb0d925767f90d465d72692e3860b8a87 | 9ac8e18d226532c8a2e84b30afffc546724ca3e0 | /ConsoleRPG/Armor.cpp | 6598015fa74f641f778d0b136c9708b49d7c4395 | [] | no_license | ajenkins23/ConsoleRPG | 2922c6987ec2a5e3fc6ed7986330a42a2da48182 | 122572f5e0cd66bad0d765000d14c92d2a6d2dfe | refs/heads/master | 2023-05-01T17:09:46.909818 | 2021-05-04T18:15:55 | 2021-05-04T18:15:55 | 363,714,487 | 0 | 0 | null | 2021-05-04T18:15:56 | 2021-05-02T17:49:47 | C++ | UTF-8 | C++ | false | false | 418 | cpp | #include "Armor.h"
Armor::Armor(int type, int defence, string name,
int level, int buyValue, int sellValue, int rarity) :
Item(name, level, buyValue, sellValue, rarity)
{
this->type = type;
this->defence = defence;
}
Armor::~Armor()
{
}
Armor* Armor::clone() const {
return new Armor(*this);
}
string Armor::to... | [
"deesrex@gmail.com"
] | deesrex@gmail.com |
394d8d078f17c6473a35749bd308adbf3030bd05 | 45d03d5ed27ac010c041a567da147ccc3591d13d | /dynamic/ed.cpp | 2752af4769412e9b207e5c700392a0bfe2f3a5d9 | [] | no_license | achallion/cpptopics | 30198e89343ceafb564c7100cef52c1c6988a311 | 4199e56f95f9263b5b6f810900b44e1437d5f372 | refs/heads/master | 2023-07-07T04:20:17.989745 | 2023-06-28T07:01:02 | 2023-06-28T07:01:02 | 218,488,647 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 793 | cpp | #include <bits/stdc++.h>
using namespace std;
int ed(string init, string final)
{
int n1 = init.size();
int n2 = final.size();
vector<vector<int>> dp(n1 + 1, vector<int>(n2 + 1, -1));
// base
for (int i = 0; i <= n1; i++)
{
dp[i][0] = i;
}
for (int i = 0; i <= n2; i++)
{
... | [
"bhavyarocks19@gmail.com"
] | bhavyarocks19@gmail.com |
b0f21419425b0aa4f4e7d8ad5e88b72926914208 | a7e40f5b729e46c7555943efce48f726820b95c3 | /src/bh_src/Src/Modules/Sensing/RobotModelProvider.h | 5badc5720192d64864719e6e12c65c7d4d137848 | [] | no_license | uchile/bh-motion_ros-pkg | 995f7e9b41da22a9f190b991622333b47942aaae | 5aac68185f6ac0b48b4241b09c85734c9c59b642 | refs/heads/master | 2016-09-06T21:38:42.112878 | 2013-06-21T20:35:09 | 2013-06-21T20:35:09 | 10,834,419 | 1 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 1,225 | h | /**
* @file RobotModelProvider.h
*
* This file declares a module that provides information about the current state of the robot's limbs.
*
* @author <a href="mailto:allli@informatik.uni-bremen.de">Alexander Härtl</a>
*/
#pragma once
//#include "Tools/Module/Module.h"
#include "../../Representations/Sensing/RobotModel... | [
"dleottau@ing.uchile.cl"
] | dleottau@ing.uchile.cl |
df037186b7e1db2773750238cd056e5624397ef5 | 4832502c844d78c385121b2a983bc754d7bd288e | /travail/main.cpp | 9e8d72dbe1c20212e6c7d25ab9bcdf0aed39d657 | [] | no_license | WhereIsLucas/methodesNumeriquesMatMolle | dfd0278d4e490ce0dc03d250167192681c103deb | e7027f3aeb119e7d451fabef6d5e1a55cd437d0d | refs/heads/master | 2021-02-12T10:53:47.749432 | 2020-04-02T16:44:44 | 2020-04-02T16:44:44 | 244,587,787 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,729 | cpp | #include <cmath>
#include <cstdlib>
#include <string>
#include <ctime>
#include <unistd.h>
#include <sstream>
#include <iostream>
#include "Cell.h"
#include "Disk.h"
#include "Plan.h"
int main(int argc, char **argv) {
srand(time(NULL));
int i, j, k;
//contact
double e = 0.9;
double mu = 0.6;
... | [
"lucas@retinens.be"
] | lucas@retinens.be |
6d5cb6eec8c55f8550af4e247c7a48f72cf68fdb | 67baab02cfda6c54a287d63d0874824cf15f3ba6 | /lib/graph/flow_shell/project_selection.h | 5162616c0a936b4479b9fe7c869b3c0cf4d962d5 | [
"MIT"
] | permissive | sogapalag/problems | a14eedd8cfcdb52661479c8c90e08737aaeeb32b | 0ea7d65448e1177f8b3f81124a82d187980d659c | refs/heads/master | 2021-01-12T17:49:52.007234 | 2020-08-18T14:51:40 | 2020-08-18T14:51:40 | 71,629,601 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,086 | h | #include "../dinic.h"
struct ProjectSelection {
int n;
int s,t;
Dinic mc;
using F = Dinic::F;
F positive;
ProjectSelection(int _n) : n(_n)
, s(n)
, t(n+1)
, mc(n+2, s, t)
, positive(0)
{}
// i: [0..n)
void add_proj(int i, F profit) {
if (pro... | [
"yan-zp@foxmail.com"
] | yan-zp@foxmail.com |
b01cfdeef3020b862eebaa8d703daa3868d377e7 | 47609d52e8a740fc3d8e27623b72fcd61886cf75 | /code/chapter16/chrono/chrono.cpp | 9021e05dae2553cb827cb989142a92ce02cbcf04 | [] | no_license | blalalt/cpp_language | 3cf68e84d14ab53d7161085c1f056c9b4095dedf | 8ec2bf98fa10d8b2b6125eda22c3aa2fc0199d7b | refs/heads/master | 2020-08-08T01:20:04.737657 | 2020-02-12T07:37:17 | 2020-02-12T07:37:17 | 213,656,311 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 826 | cpp | #include "chrono.h"
namespace chrono
{
Date::Date(int dd, Month mm, int yy)
:d{dd}, m{mm}, y{yy}
{
if (y == 0) y = default_date().year;
if (m == Month{}) m = default_date().month;
if (d == 0) d = default_date().day;
if (!is_valid()) throw Bad_date();
}
bool Dat... | [
"blalalt@163.com"
] | blalalt@163.com |
d3fbeac2835c0626df77c544987df7537fe22ee2 | 2a37344369e1d46b34b7ba835bb110e3d6aad8b3 | /include/sqlpp11/data_types/text/result_field.h | 80f1663239520769a79a1544a1524174b042c8e8 | [
"BSD-2-Clause"
] | permissive | kiss88/sqlpp11 | 5032553e34b037a525d070554e389966c9593c85 | 81ca67c76a90a4812397eef2bfe94656eb33b9ef | refs/heads/master | 2020-05-21T08:52:58.846625 | 2016-09-30T04:19:15 | 2016-09-30T04:19:15 | 69,889,432 | 2 | 0 | null | 2016-10-03T16:31:30 | 2016-10-03T16:31:29 | null | UTF-8 | C++ | false | false | 2,885 | h | /*
* Copyright (c) 2013-2015, Roland Bock
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice, this
* list of cond... | [
"rbock@eudoxos.de"
] | rbock@eudoxos.de |
6997c1abc4e8a86299af41d391bc736f0fa13112 | d8217c2c380ac954e67f3809f6f31628b2c53acc | /src/qt/bitcoingui.cpp | 091add0f5cbf4f0c53db3fec9b0e90fca30b6685 | [
"MIT"
] | permissive | fflowres/testcoin2 | 1e01b2439886f19439bb7939cdee32992f88f4bc | a1dfab693c2f9df7689f06a1780ce37348ac9e9d | refs/heads/master | 2020-05-29T19:01:51.503809 | 2013-11-09T04:49:55 | 2013-11-09T04:49:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 35,635 | cpp | /*
* Qt4 bitcoin GUI.
*
* W.J. van der Laan 2011-2012
* The Bitcoin Developers 2011-2012
* The Litecoin Developers 201-2013
*/
#include "bitcoingui.h"
#include "transactiontablemodel.h"
#include "addressbookpage.h"
#include "sendcoinsdialog.h"
#include "signverifymessagedialog.h"
#include "optionsdial... | [
"root@ubuntu-vm1.(none)"
] | root@ubuntu-vm1.(none) |
6e955182060859e6a8887b4de726a543708a16d3 | 18618cb79f05fc6830112ea9301f0b8f0c8a3cf4 | /week3_paths1/1_bfs/ss.cpp | 0552d349a429bdd26afaf7e80f4a52add7d748b7 | [] | no_license | vini7148/Graphs | 8a519e8900403af4d0f401cb2da84d5b270b0beb | 7c3c32a238a101e6a54af5b2ecceef39ab9f66cd | refs/heads/master | 2020-08-21T21:47:52.886512 | 2019-10-19T18:50:34 | 2019-10-19T18:50:34 | 216,254,022 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 139 | cpp | #include <iostream>
#include <vector>
using namespace std;
class graph
{
};
int main()
{
graph g;
g.input();
g.output();
}
| [
"vgoswami714841@yahoo.com"
] | vgoswami714841@yahoo.com |
cdff9c442884dd55a54484cb6e6986e8ea7e55f3 | c073f252b1bba67be6064e3fc2ee7282f2e264b0 | /orca_shared/src/pwm.cpp | 98335427a66041aebd8621e7203d67476b2df0b7 | [
"MIT"
] | permissive | jquintas/orca3 | ce26753c54bcf33ae1906bc45f8653d7f85c19d7 | fd48e1740ec7d34f16c254400bd756c69128bf42 | refs/heads/main | 2023-08-25T17:52:09.842945 | 2021-11-08T16:40:06 | 2021-11-08T16:40:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,836 | cpp | // MIT License
//
// Copyright (c) 2021 Clyde McQueen
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modif... | [
"clyde@mcqueen.net"
] | clyde@mcqueen.net |
452bfd50b08cec3a63e438242fa49aa14633f8f4 | 9029e19e83262ecad3b64b8a8eb8202df1756c85 | /aws-cpp-sdk-email/source/model/MissingRenderingAttributeException.cpp | 0806c5b390b81f15163cbfcc9bb747a9adf8a1a7 | [
"MIT",
"Apache-2.0",
"JSON"
] | permissive | thesunisgas/aws-sdk-cpp | 5da80c064039e2c4636d87bf69f9059fcfcc83c5 | 5e13f32f0c3f1e7c259bd06404b3aba12fa7b9a5 | refs/heads/master | 2022-08-25T13:15:44.713783 | 2019-03-12T20:52:49 | 2020-05-19T05:11:57 | 261,756,291 | 2 | 2 | null | 2020-05-06T12:47:07 | 2020-05-06T12:47:06 | null | UTF-8 | C++ | false | false | 2,272 | cpp | /*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | [
"thesunisgas7@icloud.com"
] | thesunisgas7@icloud.com |
b97b77ed300580cd41d9407dd84f742a0b8fcbc2 | f22845ffd08b5104940ce668859c014450526635 | /libreoj/LIBREOJ10006.cpp | aaa7039f7fc9ffdfd346566f50df965dee60e3e7 | [] | no_license | btnkij/ACM | ffd2797548ab13ac8670f5b2ef873af023280daf | 36bf2950146e1477cbd201ba0281912dd0a289aa | refs/heads/master | 2022-12-15T15:01:57.690973 | 2020-09-16T11:13:30 | 2020-09-16T11:13:30 | 172,726,050 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,472 | cpp | /**
* Number:loj10006
* Title:「一本通 1.1 练习 2」数列分段
* Status:AC
* Tag:[贪心]
**/
#include <cstdio>
#include <iostream>
#include <algorithm>
#include <cmath>
#include <cstring>
#include <vector>
#include <queue>
#include <stack>
using namespace std;
#define INF 0x3f3f3f3f
#define PI acos(-1)
typedef long long ll;
typedef ... | [
"33480762+btnkij@users.noreply.github.com"
] | 33480762+btnkij@users.noreply.github.com |
e12a73c2cebc9a911f208ece27f238685610fdc2 | 5178ebecc4458b360b7593e31353ab18e519953e | /include/npstat/stat/NtupleRecordTypes.hh | 03f908547f6136cbe4d4247f1cee20715bed22b3 | [] | no_license | KanZhang23/Tmass | 9ee2baff245a1842e3ceaaa04eb8f5fb923faea9 | 6cf430a7a8e717874298d99977cb50c8943bb1b9 | refs/heads/master | 2022-01-10T10:51:49.627777 | 2019-06-12T14:53:17 | 2019-06-12T14:53:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,924 | hh | #ifndef NPSTAT_NTUPLERECORDTYPES_HH_
#define NPSTAT_NTUPLERECORDTYPES_HH_
//=========================================================================
// NtupleRecordTypes.hh
//
// Special record types for storing ArchivedNtuple contents in the archives.
// Applications should never use this header directly.
//
// Auth... | [
"kanzhang@fcdflnxgpvm01.fnal.gov"
] | kanzhang@fcdflnxgpvm01.fnal.gov |
15f28377b83bb03b810440086326114e0466cf38 | 83cf336f297d27b4b89e93a4a6fa7b77c5815ed6 | /Tests/FSM/beeps.cpp | bb84d5b525ee427973e9735e38b9b6153a354343 | [
"MIT"
] | permissive | zteifel/booboo | 4750165fec81cc676cc768ff5adf21b2c1c554d8 | 58a7c6b186cb1dafa9adccaf94ead25127a9a3d6 | refs/heads/master | 2021-01-21T12:53:23.803338 | 2016-05-29T09:34:02 | 2016-05-29T09:34:14 | 54,257,190 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 293 | cpp | #include "beeps.h"
#include "Arduino.h"
#include "declarations.h"
void beep() {
for (int i=1000; i<2000; i=i*1.02) {
tone(beepPin,i,10);
delay(20);
}
for (int i=2000; i>1000; i=i*.98) {
tone(beepPin,i,10);
delay(20);
}
}
void error(){
tone(beepPin, 1000, 5000);
}
| [
"andreas.magnusson90@gmail.com"
] | andreas.magnusson90@gmail.com |
2d63c2e1b69d3e06818d3bac11b31a88f432c9a1 | 92e6bb39bde3b0068b8f916511a9c1e5b3d0a6c1 | /TrainingFramework/src/GameObject/Enemy2.h | e031b1794ab55573ccab5bb2a34fa22542f75ce3 | [] | no_license | An094/PoosQuest | c3d97babd0961f0ae5caf580e82adb9829ae9755 | a5a14428cdb4d0cd16d7c178767e30ee4e13c48a | refs/heads/master | 2023-04-15T15:06:03.808185 | 2021-04-07T14:52:20 | 2021-04-07T14:52:20 | 350,909,764 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 599 | h | #pragma once
#include "Enemy.h"
class Enemy2 : public Enemy {
public:
Enemy2(int x, int y, int dir, int move, int maxMove1, int maxMove2, int speed, std::shared_ptr<Map2> map);
~Enemy2();
void Update(float);
void Draw();
void MoveDirWithPoo(float, Vector2);
void BackDefault();
bool getActive() { return true; }
... | [
"an.nt094working@gmail.com"
] | an.nt094working@gmail.com |
f7df0289df7741f0f9512b57faddb33d965e1284 | 49b05e95d9003b7f1f4f66620c3e051a27648d91 | /Servers/LookupServer/main.cpp | 283aadec911b4d25704172da13944520ea24892a | [
"BSD-2-Clause"
] | permissive | ygorko/serenity | 8f1d25b8d48465c9353c585b64e4e089c3434bbf | ccc6e69a294edacf7bec77cb2c2640ada7fe1f77 | refs/heads/master | 2020-05-31T03:40:53.063797 | 2019-06-03T17:52:31 | 2019-06-03T19:17:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,839 | cpp | #include "DNSPacket.h"
#include "DNSRecord.h"
#include <AK/AKString.h>
#include <AK/BufferStream.h>
#include <AK/ByteBuffer.h>
#include <AK/HashMap.h>
#include <Kernel/Net/IPv4.h>
#include <LibCore/CConfigFile.h>
#include <arpa/inet.h>
#include <netinet/in.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/select.... | [
"awesomekling@gmail.com"
] | awesomekling@gmail.com |
567f4d20e18c4a61b913bb42a4ff706578b129d7 | 133b34954a0a82f6c88d26336073d429875beef1 | /8. CountString/8. CountString/Source.cpp | f7c8d4f1617880a06c2f3e922e4800cbe3c752a5 | [] | no_license | RiasKlein/Various_CPP | 496d8130566469c096735c4aff6bf055d96c3a82 | 84d63a98bfe853d685bdf62b75859e44d105fa5a | refs/heads/master | 2021-06-15T18:40:24.696160 | 2017-05-05T05:25:48 | 2017-05-05T05:25:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,777 | cpp | /*
Write a program to count the number of occurrences of a letter in a string.
*/
#include <iostream> // cout, endl
#include <string> // string
#include <algorithm> // count
using namespace std;
int count_string_for_char(string str, char target);
int count_string_for_char_v2(string str, char target);
int count_str... | [
"tseshunman@gmail.com"
] | tseshunman@gmail.com |
7dc7d654d0c7f0c89cbd60222f806ec36d01434e | 07b4a3ed9a81da575288ecb957cf7bc389f835bf | /laboratorul 3/problema 1/Math.h | 320f4520a7d97ab763efab5b13b0da498e615ab7 | [] | no_license | WoozyDeveloper/OOP-laborator | 5408f16b0ed6a1dff1f4069cdfddf411deeb4cc3 | 5174fe509ab9c5a7088b7bcda32a0d2352f995d8 | refs/heads/main | 2023-05-08T09:35:25.763602 | 2021-05-20T23:04:05 | 2021-05-20T23:04:05 | 340,070,573 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 488 | h | #pragma once
class Math
{
public:
static int Add(int, int);
static int Add(int, int, int);
static int Add(double, double);
static int Add(double, double, double);
static int Mul(int, int);
static int Mul(int, int, int);
static int Mul(double, double);
static int Mul(double, double, doubl... | [
"woozydeveloper@gmail.com"
] | woozydeveloper@gmail.com |
df3f366626d31bc3f32d6636966b5c8ed52391cd | 4f8841b93021d5ca70f9500d141a4d956f8a7c3c | /tests/UnitTest.hpp | 021fb5b0c83709ac78aa77525de58b2d6ccbb033 | [
"WTFPL"
] | permissive | Liareth/nwtrees | 9bb73bdba79eecd4f0d9f35b637eea8766798182 | d47b98d78958efcc492dd4358b98f8e3f0bd38a3 | refs/heads/main | 2023-04-03T22:20:49.905839 | 2021-04-18T16:33:57 | 2021-04-18T16:33:57 | 358,019,994 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,644 | hpp | #pragma once
#include <cstddef>
namespace test
{
struct UnitTestResult
{
const char* failed_condition = nullptr;
const char* failed_file;
int failed_line;
};
using UnitTestFunc = UnitTestResult(*)();
struct UnitTest
{
const char* class_name;
const char* test_name;
UnitTestFunc function;
};
... | [
"liarethnwn@gmail.com"
] | liarethnwn@gmail.com |
0e185b8401045a8cc28fad813467025a2aefedf7 | 38d2a9f6b5ce131caf17fc62384547df688b91a7 | /hmailserver/source/Server/Common/SQL/MySQLInterface.cpp | 3ab6c3d015109099608a175dda81d3639f77b54e | [] | no_license | martinknafve/hmailserver | 52ba7a50c59558d0b6064802df29e90a9614687e | 707bcf05f4e1b38a9bf6ad7e1ed774237af1e2b2 | refs/heads/master | 2016-09-06T06:11:27.196192 | 2014-07-02T09:40:14 | 2014-07-02T09:40:14 | 15,649,163 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,906 | cpp | // Copyright (c) 2010 Martin Knafve / hMailServer.com.
// http://www.hmailserver.com
#include "stdafx.h"
#include "MySQLInterface.h"
#ifdef _DEBUG
#define DEBUG_NEW new(_NORMAL_BLOCK, __FILE__, __LINE__)
#define new DEBUG_NEW
#endif
namespace HM
{
MySQLInterface::MySQLInterface() :
m_hLibraryInstance(0)... | [
"martin@hmailserver.com"
] | martin@hmailserver.com |
1fad7362389ecb675c198bd8713531ce14e55453 | a06a9ae73af6690fabb1f7ec99298018dd549bb7 | /_Library/_Include/boost/units/detail/push_front_or_add.hpp | fa51c2e5a3d1f5b1761508d644b45b2ccaf34a17 | [] | no_license | longstl/mus12 | f76de65cca55e675392eac162dcc961531980f9f | 9e1be111f505ac23695f7675fb9cefbd6fa876e9 | refs/heads/master | 2021-05-18T08:20:40.821655 | 2020-03-29T17:38:13 | 2020-03-29T17:38:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,238 | hpp | ////////////////////////////////////////////////////////////////////////////////
// push_front_or_add.hpp
// Boost.Units - A C++ library for zero-overhead dimensional analysis and
// unit/quantity manipulation and conversion
//
// Copyright (C) 2003-2008 Matthias Christian Schabel
// Copyright (C) 2008 Steven Watanabe... | [
"adm.fael.hs@gmail.com"
] | adm.fael.hs@gmail.com |
7bfcb5445438143a5064ef3090fbc20fe0d94d4f | 3b79040a92c13adb69d7ffca6ea24715bca5b6b0 | /Terrain/main.cpp | aecdd7fe8fd5a82e881112b3f5eddaed5b1eb769 | [
"MIT"
] | permissive | QuincyKing/Terrain | b51bd7182f66af22d71c4dc23d3c37fcd492019a | d3ba900f532c5f68c7dffd5fb7adf1ed852231e3 | refs/heads/master | 2021-01-12T03:48:12.326671 | 2018-06-11T15:21:34 | 2018-06-11T15:21:34 | 78,264,617 | 4 | 1 | null | null | null | null | GB18030 | C++ | false | false | 19,804 | cpp | #include "Kriging.h"
#include "TerrainModel.h"
#include "D3DInputClass.h"
#include "D3DCameraClass.h"
#include "D3DUtil.h"
#include "BaseData.h"
#include "Sag.h"
#include "KeyLevel.h"
#include "Math.h"
#include "RW/ReaderBase.h"
#include "RW/WriteBase.h"
#include "RW/ReaderInfo.h"
#include "RW/ReaderTerrainData.h"
#inc... | [
"j88172365@gmail.com"
] | j88172365@gmail.com |
aab9d1fe165ba3130f854d1a919f178d4e8c07c5 | f02d4250f0f48a94390d589a679c7f76743e505d | /src/cliff_data/src/cliff_data_node.cpp | b3696616a2b34c85e8c4d43ec17664aedc6497ab | [] | no_license | mhamester/myrobot | 187076b2a0819be0e84a5da36cd13b074a5a0e1b | 4bf0793f7959af5c4326f7810100b15dff2b2898 | refs/heads/main | 2023-02-15T09:30:26.220280 | 2021-01-07T18:48:49 | 2021-01-07T18:48:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,354 | cpp | /*
Node to convert the IR range data to cliff data.
IR ranges higher than cliff_mark_threshold are replaced with cliff_mark_distance.
IR ranges lower than cliff_mark_threshold are replaced with a static value.
Subscribes to topics publishing range data and publishes the cliff data to respective topics.
*/
#include... | [
"sthiranjaya@gmail.com"
] | sthiranjaya@gmail.com |
1707264b62ee0da1732f7779f44f0d106a7ef8cb | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_1595491_0/C++/Saibai/main.cpp | a4b693f6dad3db11d513e4539524138e272187a9 | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 1,929 | cpp | //
// main.cpp
// Dancing with the Googlers
//
// Created by Sebastian Grail on 14/04/12.
// Copyright (c) 2012 Sebastian Grail. All rights reserved.
//
#include <iostream>
#include <vector>
#include <fstream>
using namespace std;
int min(int a, int b);
int maxSpecialCase(int number);
int maxNormalCase(int numb... | [
"eewestman@gmail.com"
] | eewestman@gmail.com |
39e49afc5d6cb6b0ed51319650c6c60ca67ae2cc | 87984cd4f688e99fc83103a5598499652defa69c | /Giscad2018-V2/Inernal_V1/Utils_Internal/Utils/NSLogCollection.h | c4a145e588a1fe66e8edab6e9a9272cec9913a25 | [] | no_license | 2018-2019-backup/GISCAD | f9148193f05c4551dd6da57c32373c78d8de194d | d4e6f0b8620a4704bfa14dced16f290b55fd268c | refs/heads/master | 2022-02-15T23:18:15.774091 | 2019-09-11T06:33:22 | 2019-09-11T06:33:22 | 203,347,300 | 3 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 874 | h | /*!
@Class CNSLogCollection
@Brief Maintains vector of error messages
@Author Neilsoft Ltd
@Date 12 June 2007
@History
*/
#pragma once
#include <vector>
#include "..\..\Include\NSDirectives.h"
#include "..\..\Include\reporttypeenum.h"
class CNSLogCollection
{
public:
//methods
CNSLogCollection(void);
~C... | [
"52309871+KKMSoft-SourceCode@users.noreply.github.com"
] | 52309871+KKMSoft-SourceCode@users.noreply.github.com |
207bdca3b984991b9ed783d651ba0a05397bc230 | a2e9639153e71dcf84d34b7349d69aa31b2eb678 | /zBTLC/zBTLC/game_sa/CTaskComplexWanderGang.cpp | a35e83ff5c3fd2627df563d7ebf27a9ddf9f0225 | [] | no_license | DaDj/GTA-BTLC | ade014b3d8dbb1ecce6422328be95631226cd6f4 | 15d60cb5d5f14291317235066d64a639fffaf3ea | refs/heads/master | 2023-08-16T23:12:57.867204 | 2023-08-13T21:45:06 | 2023-08-13T21:45:06 | 83,485,003 | 4 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 35 | cpp | #include "CTaskComplexWanderGang.h" | [
"Dadj@email.com"
] | Dadj@email.com |
eec4287424797df9b25ea9ee65d376dba5326eaa | d4b5ec96c0732ccf304671ea3c82eeb7536bbc2d | /src/tests_main.cpp | 93a3a7b4def407463facfc7eb821b22708caeec2 | [] | no_license | kam193/tkom | 0e6cc5cd971a1ea002896c9d921c56685928d315 | 6f8951e6d9981e28144525b10e7e4701f927bbfc | refs/heads/master | 2020-05-05T11:47:08.155676 | 2019-06-03T07:11:29 | 2019-06-03T07:11:29 | 180,003,921 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 116 | cpp | // Copyright 2019 Kamil Mankowski
#define BOOST_TEST_MODULE tkom_tests
#include <boost/test/included/unit_test.hpp>
| [
"kam193@wp.pl"
] | kam193@wp.pl |
42f675de066a131a7d701b02ca1e7fec83711bf7 | e92d94f2e13a234593093858ab2e9f652584d6bf | /수강생/201502086유정호/lab2/201502086YooJungHo_5_2.cpp | 2763f275aa65e22667b01736b5faf02d6a55fa0b | [] | no_license | wnsdudSoftkim/Introduction_to_computer_lab | 62f2dfc213a189301887cb8041509a43f64b1d20 | 9bfd0b9963f9ff86670d0f3b04529233f2ad4b70 | refs/heads/main | 2023-05-14T23:36:29.921562 | 2021-06-07T13:32:48 | 2021-06-07T13:32:48 | 346,976,677 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 467 | cpp | /*
#include <stdio.h>
int main(void)
{
int a24, a12, min;
printf("\nEnter a 24-hour time: ");
scanf_s("%d:%d", &a24, &min);
if (a24 > 12 && a24 <= 24)
a12 = a24 - 12;
else
a12 = a24;
printf("Equivalent 12-hour time: %d:%.2d ", a12, min);
if (a24 == 24)
... | [
"48875061+wnsdudSoftkim@users.noreply.github.com"
] | 48875061+wnsdudSoftkim@users.noreply.github.com |
b452bcb1e2f3830a8d449d8e6605f9899989beac | 90047daeb462598a924d76ddf4288e832e86417c | /ui/views/accessibility/ax_window_obj_wrapper.cc | 0f08a3c8434892d11c5071a577d14714744b795b | [
"BSD-3-Clause"
] | permissive | massbrowser/android | 99b8c21fa4552a13c06bbedd0f9c88dd4a4ad080 | a9c4371682c9443d6e1d66005d4db61a24a9617c | refs/heads/master | 2022-11-04T21:15:50.656802 | 2017-06-08T12:31:39 | 2017-06-08T12:31:39 | 93,747,579 | 2 | 2 | BSD-3-Clause | 2022-10-31T10:34:25 | 2017-06-08T12:36:07 | null | UTF-8 | C++ | false | false | 4,278 | cc | // 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 "ui/views/accessibility/ax_window_obj_wrapper.h"
#include <stddef.h>
#include "base/strings/utf_string_conversions.h"
#include "ui/accessibilit... | [
"xElvis89x@gmail.com"
] | xElvis89x@gmail.com |
e125ecf60b956ff29c2ee4157e7fc0c06da32d95 | 9407b552787d3e872d8cdcfae5f86cd056042dfa | /nqueenproblem.cpp | 598c6d6261fb73f75c4bd3e279c13cdc703b0d80 | [] | no_license | themechanicalcoder/Data-Structure-And-Algorithms | 7077c30cecdd42c8291c07b39089252d6cd672e3 | 3dc49f9926de10b2645e0b1c022ddbce932e208c | refs/heads/master | 2021-06-19T21:12:35.973712 | 2020-12-18T10:58:03 | 2020-12-18T10:58:03 | 134,423,943 | 0 | 1 | null | 2020-03-22T11:18:56 | 2018-05-22T14:02:38 | C++ | UTF-8 | C++ | false | false | 2,732 | cpp | #define N 8
#include<stdio.h>
/* A utility function to print solution */
void printSolution(int board[N][N])
{
for (int i = 0; i < N; i++)
{
for (int j = 0; j < N; j++)
printf(" %d ", board[i][j]);
printf("\n");
}
}
/* A utility function to check if a queen can
be placed on ... | [
"gouravroy261999@gmail.com"
] | gouravroy261999@gmail.com |
a55bd15dc709c75d51752872604033dc238aefa3 | 87ea4e16b21a4ece2016a8ae003efda1eae99127 | /Twacker.cpp | 017fa3c37471de2439405499769973ebf92b4568 | [] | no_license | kcheung2007/cgUI | c233c26302ba1d447274c54e5ff59b5b1ba7173d | 693abd148f3be9f5127dbc06033c9e6359158ee6 | refs/heads/master | 2023-04-24T10:44:30.757539 | 2021-04-29T16:42:42 | 2021-04-29T16:42:42 | 362,882,273 | 0 | 0 | null | null | null | null | WINDOWS-1250 | C++ | false | false | 54,175 | cpp | // File: twacker.c
// RCS: $Header: $
// Description: Exerciser application program for Twain
// Author: TWAIN Working Group
// Created: Jan 15,92
// Modified: "
// Language: C
// Package: N/A
// Status: Test tool
//
// (c) Copyright 1992, Hewlett-Packard Company, all rig... | [
"GTGA@MERCY"
] | GTGA@MERCY |
65509996ef83a4454cb3bec3b12062b2bc1735c8 | e2a0a3aef77e4620c5811854db8322ffe5e28f33 | /piscine_cpp/d05/ex02/Form.hpp | 08797b268e3f7963a362c8df545fe33185b6216c | [] | no_license | davidmimouni/42 | de5236ead969fdfe7fa7337e559b93edcdcf053a | 4928af759738399f04ad374baff780f25b12d70c | refs/heads/master | 2020-03-30T04:02:38.456559 | 2016-04-17T21:30:19 | 2016-04-17T21:30:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,971 | hpp | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* Form.hpp :+: :+: :+: ... | [
"tommydurand@gmail.com"
] | tommydurand@gmail.com |
38043c23fd3a9aad5ab8a32bd348bd2e01343877 | 43a54d76227b48d851a11cc30bbe4212f59e1154 | /cwp/include/tencentcloud/cwp/v20180228/model/DescribeOpenPortTaskStatusRequest.h | 5598ecfc94eced0513fd342161d4930acc076f0a | [
"Apache-2.0"
] | permissive | make1122/tencentcloud-sdk-cpp | 175ce4d143c90d7ea06f2034dabdb348697a6c1c | 2af6954b2ee6c9c9f61489472b800c8ce00fb949 | refs/heads/master | 2023-06-04T03:18:47.169750 | 2021-06-18T03:00:01 | 2021-06-18T03:00:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,442 | h | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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
... | [
"tencentcloudapi@tenent.com"
] | tencentcloudapi@tenent.com |
0e93ad424369da1eac9336c5950218b19be47c0b | 440f814f122cfec91152f7889f1f72e2865686ce | /src/database_server/protocol/storage_mail_read_types.h | c83519563f38b4dd1f8c231627c569689a08aac4 | [] | no_license | hackerlank/buzz-server | af329efc839634d19686be2fbeb700b6562493b9 | f76de1d9718b31c95c0627fd728aba89c641eb1c | refs/heads/master | 2020-06-12T11:56:06.469620 | 2015-12-05T08:03:25 | 2015-12-05T08:03:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 3,299 | h | /**
* Autogenerated by Thrift Compiler (0.9.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
#ifndef storage_mail_read_TYPES_H
#define storage_mail_read_TYPES_H
#include <thrift/Thrift.h>
#include <thrift/TApplicationException.h>
#include <thrift/protocol/TProtocol.h>
#incl... | [
"251729465@qq.com"
] | 251729465@qq.com |
7fab50cf5140d6688438875e10d6637400a98fbf | 761b60becb9597d61b2412aa6fac77b6724188be | /GenerateTree/PrimTree.cpp | 7aa53d22507c0b857430dc533ad910d950b262e4 | [] | no_license | rammiah/Algorithm | 8db34e5049d12e655b58dcb9e29de35ff43ce1ca | 280ef329c39fc610575c3bbbceae9b85cb11bac9 | refs/heads/master | 2022-12-13T17:48:53.923618 | 2022-12-01T17:08:22 | 2022-12-01T17:08:22 | 87,947,258 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,076 | cpp | #include <iostream>
#include <fstream>
#include <vector>
#include <limits.h>
std::vector<std::vector<float>> graph;
// store the edges
std::vector<std::pair<int, int>> tree;
void input_graph(const std::string file_name) {
std::fstream in;
in.open(file_name, std::ios_base::in);
int v_count = 0, e_count = 0... | [
"wangyaning6166@gmail.com"
] | wangyaning6166@gmail.com |
2cb2c3fe6cd88a80c7ef25614e2ffcc920dab373 | fa532549805b18f852889a265a85bfdc4c85b848 | /ui_GameSettingWindow.h | 37510ebc6ed7165b7e10c3e24a6a2635b8d01bf3 | [] | no_license | KONY128/Snake-Game | 175cbe9534b1c8a74671c31930528e080f1f56b4 | 5f08a1031a1eeae485ca17634e7fe78c1eae4b36 | refs/heads/master | 2023-01-05T19:12:14.475736 | 2020-11-06T05:00:48 | 2020-11-06T05:00:48 | 216,344,499 | 12 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 19,726 | h | /********************************************************************************
** Form generated from reading UI file 'GameSettingWindow.ui'
**
** Created by: Qt User Interface Compiler version 5.12.3
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************... | [
"lhy159840@outlook.com"
] | lhy159840@outlook.com |
e6492078d76f56e6926b5ed3fa5d7a8c015287ce | ea273a0d5a4f56a1da8b6366e8e1e3712a9efd47 | /External/Renderer/acl/rtm/impl/type_args.h | 929b848cb76774862b632cf91fe5176be54ab0cd | [
"MIT"
] | permissive | cofenberg/unrimp | c31eb36ebde09db70173a154be518925ba192d9a | 3d4717d0742a5bc466321905278e0110330df070 | refs/heads/master | 2022-05-27T05:20:48.463362 | 2022-05-21T08:15:15 | 2022-05-21T08:15:15 | 7,425,818 | 213 | 22 | null | null | null | null | UTF-8 | C++ | false | false | 16,543 | h | #pragma once
////////////////////////////////////////////////////////////////////////////////
// The MIT License (MIT)
//
// Copyright (c) 2018 Nicholas Frechette & Realtime Math contributors
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documenta... | [
"cofenberg@gmail.com"
] | cofenberg@gmail.com |
5e708746bee4df069179cc402d1cf96b7031d64e | d998115bcc7c8e4cf67b241d43ca77503a2d9c20 | /cs225git/mp_intro/cs225/HSLAPixel.cpp | f96516f9523abe30eabfdabdb7d0136cda26a2a3 | [] | no_license | wennan-er/CS225 | 0683aab8dfca6c116ae484629ddc95147e933afa | 0472a154ae82ecb0a4658f78fd03dd6e71d2cebe | refs/heads/master | 2021-02-04T10:20:54.214491 | 2020-02-27T12:02:06 | 2020-02-27T12:02:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 646 | cpp | /**
* @file HSLAPixel.cpp
* Implementation of the HSLAPixel class for use in with the PNG library.
*
* @author CS 225: Data Structures
* @version 2018r1-lab1
*/
#include "HSLAPixel.h"
#include <cmath>
#include <iostream>
using namespace std;
namespace cs225 {
HSLAPixel::HSLAPixel(){
h = 0;
s = 0;
... | [
"wennanh2@illinois.edu"
] | wennanh2@illinois.edu |
6dcf8991041fe5e52f11ddc7d6c888654aea09a1 | 47610aa612655d17c2d2e88116bff8ce8ebc0a26 | /include/analysis/PandaXSensitiveDetector.hh | bc2a9ca248c71eb1ed500ea24f4556634b8b4206 | [] | no_license | Catofes/BambooMC | 6aa154f6ad0a4a305300eef2ff3d26735c4404a4 | 42ab135729ed4ec7d0c90050043a1bce6a9deacb | refs/heads/main | 2020-05-21T19:10:36.629301 | 2016-09-11T01:20:41 | 2016-09-11T01:20:41 | 62,614,871 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,015 | hh | #ifndef PANDAXSENSITIVEDETECTOR_H
#define PANDAXSENSITIVEDETECTOR_H
#include <G4VSensitiveDetector.hh>
#include <map>
#include <string>
#include "analysis/PandaXEnergyDepositionHit.hh"
#include "analysis/PandaXFlatSurfaceFluxHit.hh"
class G4Step;
class G4HCofThisEvent;
class G4TouchableHistory;
class G4Box;
class ... | [
"xun.revive@gmail.com"
] | xun.revive@gmail.com |
746c29e0cd44b3d93808f4fc6d92976b3b98cfb7 | ee70d00848d82cc01892f7b8caf586ea468d16a3 | /Dynamic Programming/Intermidate/Unbounded_Knapsack/TopDown.cpp | e8ae8027450af17c2261775ec6df074b1d34da91 | [] | no_license | Ketan-Suthar/Algorithms | 9ba843e8c576bdf94196de5593cc7eecde375858 | 06f0c59fb7814f94c1280997acabc9500ac09a20 | refs/heads/master | 2021-07-06T23:32:40.412054 | 2021-01-15T18:57:15 | 2021-01-15T18:57:15 | 217,904,774 | 8 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 799 | cpp | #include <bits/stdc++.h>
using namespace std;
#define SIZE 1000
long int fun(int values[], int weights[], int n, int cap)
{
int topdown[SIZE+1][SIZE+1] = {{0}};
for (int i = 1; i < n+1; ++i)
for (int j = 1; j < cap+1; ++j)
{
if(weights[i-1] > j)
topdown[i][j] = topdown[i-1][j];
e... | [
"ketansuthar899@gmail.com"
] | ketansuthar899@gmail.com |
f1cc5edfe6b2c0997da055503633b94469ce4a6d | 88659e6ef9fcf3b46aa3a5f5e5ca45fdcf29ae48 | /external/mio/mio.hpp | 39de1e4fb4b02ad232755a3419775ea89b97eea7 | [] | no_license | mgrech/minecraft-compression-benchmarks | 8513c1dd0bcae3b96da7e32039f94991e075c6da | 5155f5cf7f19e0112d8f4e89bc45eba31c0f908a | refs/heads/main | 2023-02-21T19:18:10.631952 | 2021-01-26T00:34:06 | 2021-01-26T00:34:06 | 329,059,386 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 58,680 | hpp | /* Copyright 2017 https://github.com/mandreyel
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this
* software and associated documentation files (the "Software"), to deal in the Software
* without restriction, including without limitation the rights to use, copy, modify,
* merg... | [
"me@mgrech.dev"
] | me@mgrech.dev |
4099e9f77c9203513e3618b9c5f04881fdd60f88 | 9f075f47ecb22f95985add4224ae84357ce8e03c | /lib_engine/src/particle/particle_types.h | 709e1ca227d65280065ab86aae5acd29485dd686 | [
"Zlib"
] | permissive | ApiO/pgtech | 5b2a2688a43f3fe839cf5ce732766a51108b9563 | e7c03ea1a269a96fca27b60a417cf4a5759d40ba | refs/heads/master | 2020-05-24T18:21:53.067826 | 2019-05-18T22:37:25 | 2019-05-18T22:37:25 | 187,404,856 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,097 | h | #pragma once
#include <runtime/collection_types.h>
#include <engine/pge_types.h> // (color & vectors)
#include <data/particle.h>
#include "pose.h"
// http://bitsquid.blogspot.fr/2012_06_01_archive.html
// http://bitsquid.blogspot.fr/2010/02/blob-and-i.html
// http://www.bitsquid.se/files/lua_api.html#particl... | [
"Drio@localhost"
] | Drio@localhost |
bf196deb5ea05fe9c17d475f8b59c9776a15723d | 88ae8695987ada722184307301e221e1ba3cc2fa | /ash/display/display_color_manager_unittest.cc | ef5329e4a9410980d4d255330fd15f82eed36533 | [
"BSD-3-Clause"
] | permissive | iridium-browser/iridium-browser | 71d9c5ff76e014e6900b825f67389ab0ccd01329 | 5ee297f53dc7f8e70183031cff62f37b0f19d25f | refs/heads/master | 2023-08-03T16:44:16.844552 | 2023-07-20T15:17:00 | 2023-07-23T16:09:30 | 220,016,632 | 341 | 40 | BSD-3-Clause | 2021-08-13T13:54:45 | 2019-11-06T14:32:31 | null | UTF-8 | C++ | false | false | 21,218 | cc | // Copyright 2015 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ash/display/display_color_manager.h"
#include <memory>
#include "ash/constants/ash_paths.h"
#include "base/files/file_util.h"
#include "base/memory/raw_ptr.h"
#incl... | [
"jengelh@inai.de"
] | jengelh@inai.de |
9feefbcbe12d04c2b49d1a9c7d4a9f0dcc10fc26 | eeba09a4305f72620606911a9d68bd9f5fb6e615 | /dep/vngfx/.svn/pristine/9f/9feefbcbe12d04c2b49d1a9c7d4a9f0dcc10fc26.svn-base | dcf5b7339d8e9e33d75df8a9913cb80cbab55a96 | [] | no_license | signorinotang/tools | 40aea96b8d0062569047cf5683da2856a412c574 | 9314db0d6535abf57c0efdd40aaf9273a5f4abc0 | refs/heads/master | 2016-09-05T21:55:12.756494 | 2014-07-03T02:36:51 | 2014-07-03T02:36:51 | 21,447,410 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,777 | //
// vnUIRoot.h
// vngfx
//
// Created by Wayne on 13-12-18.
// Copyright (c) 2013 viichi.com. All rights reserved.
//
#ifndef vngfx_vnUIRoot_h
#define vngfx_vnUIRoot_h
#include "vnUIRenderer.h"
#include "vnSingleton.h"
#include <vector>
_vn_begin
class UIElement;
class _vn_gfx_api UIRoot : public Singleton<... | [
"tanghailong@longsgoo.com"
] | tanghailong@longsgoo.com | |
a68cdc00cf8456c2fe9e0535ddf99ce6a0f98975 | 711996316965f8193995fadfda0228ae2dcf7c61 | /include/Configuration.h | 035c73f529a83172f2f7c465ad4d0fe058a47ced | [] | no_license | wilczogon/EmotionDetector | 6be329ebf6d3e158e8acca18f3190330ef324619 | bd1c99935499b6bc2806edee1d7aec27a20be9c3 | refs/heads/master | 2020-12-25T17:00:15.612864 | 2017-03-08T06:52:47 | 2017-03-08T06:52:47 | 49,028,845 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 570 | h | #ifndef CONFIGURATION_H
#define CONFIGURATION_H
#include <iostream>
#include <fstream>
class Configuration
{
public:
Configuration(std::string dataSavePath = NULL, bool talkative = false);
virtual ~Configuration();
bool saveVisualizationData();
std::string getDataSavePath();
... | [
"wilczogon@gmail.com"
] | wilczogon@gmail.com |
29b757ae6a33742891d9f95982d0f392cb560bcd | aaf9293c9b82385286e3e49c56e7aaf00da16466 | /material.h | d5d019cbfcde7d499b33be98689ae64abc49cacd | [] | no_license | yyuezhi/UIUC_CS_419_Assignement | b33fd25506884f271e9bc29a168a7cf74a6adb50 | 94505063c2a0f3a8504f6283ba0709bdba48dc10 | refs/heads/main | 2023-04-16T00:11:03.571553 | 2021-04-07T16:10:47 | 2021-04-07T16:10:47 | 348,393,943 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,658 | h | #ifndef MATERIAL_H
#define MATERIAL_H
#include "rtweekend.h"
#include "texture.h"
#include "onb.h"
#include "pdf.h"
struct hit_record;
class material {
public:
virtual color emitted(const ray& r_in, const hit_record& rec, double u, double v,
const point3& p) const{
return c... | [
"yyuezhi@connect.hku.hk"
] | yyuezhi@connect.hku.hk |
e9558f5e7df4c74feb1c775b23e70d53ef44939a | 6c77cf237697f252d48b287ae60ccf61b3220044 | /aws-cpp-sdk-acm-pca/source/model/ValidityPeriodType.cpp | a80b50bad2e5c82b5d2c46dcb70e9c1facbb78fc | [
"MIT",
"Apache-2.0",
"JSON"
] | permissive | Gohan/aws-sdk-cpp | 9a9672de05a96b89d82180a217ccb280537b9e8e | 51aa785289d9a76ac27f026d169ddf71ec2d0686 | refs/heads/master | 2020-03-26T18:48:43.043121 | 2018-11-09T08:44:41 | 2018-11-09T08:44:41 | 145,232,234 | 1 | 0 | Apache-2.0 | 2018-08-30T13:42:27 | 2018-08-18T15:42:39 | C++ | UTF-8 | C++ | false | false | 3,247 | cpp | /*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | [
"henso@amazon.com"
] | henso@amazon.com |
43f726dce09c2849c47ee853dd95322720467f78 | 5bc025297c258c3df414033630f9fe5ca166103d | /200~299/200. Number of Islands.cpp | 40dea56ac6b05f899694673765ee5030d90d0ad7 | [] | no_license | zylzjucn/Leetcode | b234dddf7d63ae7453658796bf18d7c942a0d849 | fea193405eae9f60a46e15606d9d6097d1f0ca80 | refs/heads/master | 2021-07-17T14:41:26.497530 | 2021-05-23T04:25:57 | 2021-05-23T04:25:57 | 125,817,039 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 739 | cpp | class Solution {
public:
int numIslands(vector<vector<char>>& grid) {
int m = grid.size();
if (m == 0)
return 0;
int n = grid[0].size(), i = 0, j = 0, count = 0;
for (i = 0; i < m; i++)
for (j = 0; j < n; j++)
if (grid[i][j]=='1') {
... | [
"zylzjucn@outlook.com"
] | zylzjucn@outlook.com |
3388a7541cdaa7c6b4aedbbb6930fc06ed998775 | 5ac118793c4cad4265d9eb325e90bcf789236f56 | /include/PainelDetector/painel_detector.h | 800f7db53daf8e8574b290bdeee03441d4e06cfd | [] | no_license | igormaurell/instruments_visualizer | 0d93c0ff91e65589f2f4617798b866549d7dbb08 | ad5caab83504cdcd9cbd2f14a183aba592776a08 | refs/heads/master | 2020-04-07T04:14:27.131586 | 2018-11-29T10:50:51 | 2018-11-29T10:50:51 | 158,046,485 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 790 | h | #include <algorithm>
#include <vector>
#include <string>
#include <opencv2/opencv.hpp>
#include "CircleDetector/circle_detector.h"
class PainelDetector {
public:
PainelDetector();
int circuits_number;
double min_radius;
double max_radius;
bool upper_state;
std:... | [
"igormaurell@furg.br"
] | igormaurell@furg.br |
d4962bbce670ba1ebbd65adb403deed404b41f52 | 723175a9420efaf6a26aea9dd4e813be8cd8e46a | /include/GTGE/Core/SortedVector.hpp | 8443ac8f6f921230032cf1e88d9b7f40cc889bfb | [
"BSL-1.0",
"BSD-2-Clause",
"Zlib",
"MIT"
] | permissive | asdlei99/GTGameEngine | 94bb1a19fb3761832cb815b248c40beb57947616 | 380d1e01774fe6bc2940979e4e5983deef0bf082 | refs/heads/master | 2022-03-25T10:33:58.551508 | 2016-12-30T08:55:00 | 2016-12-30T08:55:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,287 | hpp | // Copyright (C) 2011 - 2014 David Reid. See included LICENCE file.
#ifndef GT_SortedVector
#define GT_SortedVector
#include "stdlib.hpp"
#include <cstring> // For memcpy().
namespace GT
{
/// Class representing a sorted vector, in ascending order.
///
/// This vector can contain multiple items ... | [
"mackron@gmail.com"
] | mackron@gmail.com |
faf12e71a23e9548873fb7a9ad3482ea9c557b72 | beda62f6f4a8ab7f5c9c3a66cc3d7ef5a1d21f78 | /faceDetect/include/Base64.h | 0b63807c605f8b20e8173978577abf3d47fe7b7e | [] | no_license | radtek/c- | 2295287d5757120fa07f17f6a34b0bb293c1e1d3 | d0715068462c29d7b4a01ac8905ae76d207db16d | refs/heads/master | 2020-11-24T22:20:43.658511 | 2018-09-19T02:04:26 | 2018-09-19T02:04:26 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 488 | h | #include <string>
using namespace std;
class Base64
{
public:
/*编码
DataByte
[in]输入的数据长度,以字节为单位
*/
string Encode(const unsigned char* Data,int DataByte);
/*解码
DataByte
[in]输入的数据长度,以字节为单位
OutByte
[out]输出的数据长度,以字节为单位,请不要通过返回值计算
输出数据的长度
*/
string Decode(... | [
"625010179@qq.com"
] | 625010179@qq.com |
9d53b9329a3623f04ec2731a2c9158b3a405a8f9 | 5261689e7c9114dfd89786358edc0a35e69ab57f | /cc-fctrl2.cpp | 201e6e5db99eb2d871ad9253673ca70671e33c90 | [] | no_license | shobhitkrsks/cp | bec5f36d5a8ff9684321099dc3244284f517ab43 | e551af079b4c1a4c1803b555ab9d3eec194910c5 | refs/heads/master | 2023-06-06T19:52:31.999545 | 2021-07-05T18:57:52 | 2021-07-05T18:57:52 | 248,814,534 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 733 | cpp | #include <iostream>
using namespace std;
int main()
{
int t;
cin>>t;
while(t--)
{
int n;
cin>>n;
int k=n;
int ar[200];
int m=0;
while(k!=0)
{
ar[m++]=k%10;
k/=10;
}
for(int i=2;i<n;i++)
{
... | [
"sks.shobhit12@gmail.com"
] | sks.shobhit12@gmail.com |
51248acfdb8b4fc2d65d8970fa062c46cf971512 | ed2d4c6dbdec9bb501b515e25b620917c6d0704e | /controllers/joystick/catkin_ws/devel/include/nodes/display_image_loadRequest.h | dc6a28bf2d0928c4a355cd78194c6591a87d6bdc | [] | no_license | pvarthol/aristeia1 | c069db900c9ce7d0bbcddfd284a74c2b67447354 | 2da2796673d801c01e5ddeeaccd1f1dcbab2e535 | refs/heads/master | 2020-05-21T11:42:29.247546 | 2015-07-13T16:59:20 | 2015-07-13T16:59:20 | 39,025,834 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,405 | h | // Generated by gencpp from file nodes/display_image_loadRequest.msg
// DO NOT EDIT!
#ifndef NODES_MESSAGE_DISPLAY_IMAGE_LOADREQUEST_H
#define NODES_MESSAGE_DISPLAY_IMAGE_LOADREQUEST_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_mes... | [
"pvarthol@gmail.com"
] | pvarthol@gmail.com |
05cee93e11d5a2e2434c4e2ceacad37aecca8847 | 2b57249ad3597ee398160e25809deb267b82dc4c | /Aether/game/entity/components/collisionComponent.hpp | 85a44c3853220cbdfdfd45fcb654d2f134ea1d9b | [] | no_license | ianw3214/aetherpath | 391e9da40bacf2245eae82c925b40d2ca7ee191b | b6586c59099c01f42d8c827204e4bf9bd5e8d323 | refs/heads/master | 2022-12-16T02:26:17.678101 | 2020-09-16T00:34:07 | 2020-09-16T00:34:07 | 256,650,685 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,611 | hpp | #pragma once
#include "oasis.h"
#include "game/entity/component.hpp"
#include "nlohmann/json.hpp"
using json = nlohmann::json;
////////////////////////////////////////////////////////////////
struct Shape
{
enum class Type
{
INVALID = -1,
RECT,
CIRCLE
};
Type m_type;
float... | [
"ianw3214@gmail.com"
] | ianw3214@gmail.com |
31304566449e5f836fd14f268a692af6d35852cc | a7544dbcb7f8bfdfac6961466cea861aeb7392f5 | /dp/atcoder dp/f.cpp | 0f65af788656560cbc335de10dcec2d1b8608af9 | [] | no_license | rahulmala007/Compy | 7359f2095a3d0c8d6188533fe86c3330cf700092 | a7f248a26bb6462cf22d6a2766ca54b546e73097 | refs/heads/master | 2022-11-19T13:36:03.630329 | 2020-07-16T21:03:09 | 2020-07-16T21:03:09 | 276,660,657 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,365 | cpp | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define pb push_back
#define pf push_front
#define fi first
#define se second
#define si size()
#define bk back()
#define popb pop_back()
#define fastio ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL)
#define endl "\n"
#define lb lower_b... | [
"rahulmala40@gmail.com"
] | rahulmala40@gmail.com |
71f143855dc0cbc6da02a97662458e74970afac6 | 3ad968797a01a4e4b9a87e2200eeb3fb47bf269a | /Advanced MFC Programming/Chap3/3.1/Sdi/Spw/MainFrm.h | 4010ecfc162048af730c0312f96f88b2b5888bd6 | [] | no_license | LittleDrogon/MFC-Examples | 403641a1ae9b90e67fe242da3af6d9285698f10b | 1d8b5d19033409cd89da3aba3ec1695802c89a7a | refs/heads/main | 2023-03-20T22:53:02.590825 | 2020-12-31T09:56:37 | 2020-12-31T09:56:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 969 | h | #if !defined(AFX_MAINFRM_H__D3F202A9_FC3A_11D0_9C9A_444553540000__INCLUDED_)
#define AFX_MAINFRM_H__D3F202A9_FC3A_11D0_9C9A_444553540000__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif
class CMainFrame : public CFrameWnd
{
protected:
CMainFrame();
DECLARE_DYNCREATE(CMainFrame)
public:
//{{AFX_VIRTUAL(CMainFra... | [
"pkedpekr@gmail.com"
] | pkedpekr@gmail.com |
52c586567251a1374276535abeae31863a43ed2f | cecfda84e25466259d3ef091953c3ac7b44dc1fc | /UVa Online Judge/volume004/407 Gears on a Board/program.cpp | 159936b72423beec7f69fda14d19b0a467f24592 | [] | no_license | metaphysis/Code | 8e3c3610484a8b5ca0bb116bc499a064dda55966 | d144f4026872aae45b38562457464497728ae0d6 | refs/heads/master | 2023-07-26T12:44:21.932839 | 2023-07-12T13:39:41 | 2023-07-12T13:39:41 | 53,327,611 | 231 | 57 | null | null | null | null | UTF-8 | C++ | false | false | 4,374 | cpp | // Gears on a Board
// UVa ID: 407
// Verdict: Accepted
// Submission Date: 2016-08-06
// UVa Run Time: 0.000s
//
// 版权所有(C)2016,邱秋。metaphysis # yeah dot net
#include <bits/stdc++.h>
using namespace std;
const double epsilon = 1e-6;
struct gear
{
int index;
double x, y, gir, gor;
bool is_rotate_left;
... | [
"metaphysis@yeah.net"
] | metaphysis@yeah.net |
e67912a9cf1279e51224db73fd698d8b22ceac18 | 4b12cc5b3c486afa4285f266568fa4d16c70152e | /nfpvr/ProgramOptions.cpp | 55786219d50dbf09348fcbc3194e495ebd437f7d | [] | no_license | 15831944/nfpvr | 704950c669931f163550d9f41da77fd64bc9f192 | 27c30bca8a65d7e383eb09c4c1cacc784c48c87d | refs/heads/master | 2023-03-16T22:33:15.264716 | 2015-08-28T12:03:58 | 2015-08-28T12:03:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 487 | cpp | #include "ProgramOptions.h"
int ProgramOptions::DEFAULT_UDP_PORT = 50000;
ProgramOptions::ProgramOptions()
{
_bufferOutput = false;
_help = false;
_handleAudio = true;
_handleVideo = true;
_readRaw = false;
_receiveThread = false;
_verbose = false;
_version = false... | [
"Jonathan.Fillion@540bb0b6-3e47-0410-ac65-37213380c7e5"
] | Jonathan.Fillion@540bb0b6-3e47-0410-ac65-37213380c7e5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.