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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f73a9c1981f31104bdbb761c33ae947ec9dcb9fd | 7888f2f75d277c64bfc71009ec0eb32bc45a1681 | /Arquivos_Curso_CPP/aula34.cpp | b5434b56f2a958f452f694040dbaf519653c2a39 | [
"MIT"
] | permissive | maledicente/cursos | bba06a0d09037fd8cae69927c996805d513ddb25 | 00ace48da7e48b04485e4ca97b3ca9ba5f33a283 | refs/heads/master | 2023-08-12T03:01:02.799974 | 2021-10-11T14:29:35 | 2021-10-11T14:29:35 | 273,795,405 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 949 | cpp | #include <iostream>
using namespace std;
struct Carro{
string nome;
string cor;
int pot;
int velMax;
int vel;
void insere(string stnome, string stcor, int stpot, int stvelmax){
nome=stnome;
cor=stcor;
pot=stpot;
velMax=stvelmax;
vel=0;
}
void m... | [
"luizpaulonievola@ymail.com"
] | luizpaulonievola@ymail.com |
6e4ba65affc70d8635446b819f40e8205443a283 | 6bb68e521186ea10be2e768a127e19e7907b16ad | /interface/EventProducer.h | af3aabb4d53c3731f61cca819384c4903daf2a7b | [] | no_license | mdelcourt/Framework | f0fafcd7f85c30b6e847ee2809a1ed706f7e550c | 662d269a889516ea453a777f8571755f187d097c | refs/heads/CMSSW_7_4_12p | 2021-01-22T15:11:28.546152 | 2015-10-18T11:25:57 | 2015-10-18T11:25:57 | 45,177,444 | 0 | 0 | null | 2015-10-29T10:54:09 | 2015-10-29T10:54:08 | null | UTF-8 | C++ | false | false | 2,558 | h | #ifndef EVENT_PRODUCER
#define EVENT_PRODUCER
#include <cp3_llbb/Framework/interface/Producer.h>
#include <SimDataFormats/GeneratorProducts/interface/GenEventInfoProduct.h>
#include <SimDataFormats/GeneratorProducts/interface/LHEEventProduct.h>
#include <SimDataFormats/PileupSummaryInfo/interface/PileupSummaryInfo.h>... | [
"sebastien.brochet@cern.ch"
] | sebastien.brochet@cern.ch |
c9edcaad39d41766c49e10b91733bac672468069 | 68d4acf7f13c9f998e61ad9fc1ab094c30750178 | /Temp/StagingArea/Data/il2cppOutput/Bulk_mscorlib_3.cpp | c76cf1b5705dd01dec30b4afbbc545d1e9121ff3 | [] | no_license | prateek2211/RopeCutter | 60cfff1b8e321f53dcba5b09114f57a1c1b2d118 | aa0dc3a7c6c5587209cd873045c9ed2c20adbcce | refs/heads/master | 2020-05-05T09:52:14.596963 | 2019-04-07T11:33:20 | 2019-04-07T11:33:20 | 179,920,829 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,052,282 | cpp | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <cstring>
#include <string.h>
#include <stdio.h>
#include <cmath>
#include <limits>
#include <assert.h>
#include <stdint.h>
#include "il2cpp-class-internals.h"
#include "codegen/il2cpp-codegen.h"
#include "i... | [
"psachan@cs.iitr.ac.in"
] | psachan@cs.iitr.ac.in |
1deea669d1614ca988c48c693a1b6436dffc88ff | f9c20c427c37868496cf5bb42aa59a7983ab0e43 | /cannon.h | 03b0de70a8987e18bd7553e644aca220f6cb0325 | [] | no_license | huangkaiyi1/Pacgitis | 836402e9b7c3a1275e56b89d41c62b78c9986487 | 7022309f6bd055609d0b96ac7faa1ea8aecc9d23 | refs/heads/master | 2021-01-01T16:20:28.596071 | 2015-08-06T02:59:16 | 2015-08-06T02:59:16 | 40,281,212 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,701 | h |
class Cannon
{
public:
const int CANNON_DIMEN;
int yVel, numStatics;
SDL_Rect thisRect;
Cannonball upLeft, upRight, lowLeft, lowRight;
Cannon(int xCoord, int yCoord, int statics ): CANNON_DIMEN(40),
upLeft( thisRect.x, thisRect.y, -enemySpeed *2, -enemySpeed *2 ),
upRight( thisRect.x + C... | [
"kaiyi.huang@excidion.com"
] | kaiyi.huang@excidion.com |
d5d0568cd72545d75ad669cc87c229b2e02fd995 | 51ec1f4e2244dbebfcb75e1406080f38ff40fa78 | /libraries/ros_lib/tutorial_service/srv_tutorial.h | 2d7bfa42b530a1356db11d99dcaf541e9183e1ee | [] | no_license | youngjoo-ko/arduino | 897ef43bbae5519517a09d91948f9d57694620dc | 6eec78e05cd412bd72431a2c116069a0146a2472 | refs/heads/master | 2023-03-21T17:59:37.127000 | 2021-03-08T14:08:22 | 2021-03-08T14:08:22 | 330,826,819 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,796 | h | #ifndef _ROS_SERVICE_srv_tutorial_h
#define _ROS_SERVICE_srv_tutorial_h
#include <stdint.h>
#include <string.h>
#include <stdlib.h>
#include "ros/msg.h"
namespace tutorial_service
{
static const char SRV_TUTORIAL[] = "tutorial_service/srv_tutorial";
class srv_tutorialRequest : public ros::Msg
{
public:
... | [
"elelelel77@naver.com"
] | elelelel77@naver.com |
158f92a340587ab37b12a21ac3209966aec08b07 | 79a02f270a4dd183dc1bd459ed046ead029be04b | /SimpleConsole/src/KeyboardEvent.cpp | 301d6f457995a561f7ab827dc593ea7fd7c56bda | [] | no_license | PanTomko/SimpleConsole | 7cf7cff87c00568950b780508554577e14a8f731 | b9e8536c35fd3e3bf8e6966f7586ed8e503151f2 | refs/heads/master | 2022-03-21T13:11:53.232409 | 2019-12-25T17:50:17 | 2019-12-25T17:50:17 | 230,136,035 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 608 | cpp | #include "KeyboardEvent.h"
using namespace sc;
bool KeyboardEvent::isKey(const Key & key) {
return this->key == key;
}
bool KeyboardEvent::isKeyPressed(const Key & key) {
return (isKey(key) || key == Key::Null) && static_cast<bool>( keyState & 0b001 );
}
bool KeyboardEvent::isKeyJustRelased(const Key & key) {
re... | [
"pantomko@gmail.com"
] | pantomko@gmail.com |
5d630e12ecf3bdd8a71a58f82b9fd5e3f480ea95 | 6db77e76099546c6b4ae71ff73f1a6b8e9d9c6b7 | /clockless_trinket.h | 63f037f9261054c21aaf3b9314ab30beeed2ebf3 | [
"MIT"
] | permissive | pylb/FermiLights | 050bf411b1fec1976b77c6be807d13879b32e368 | 94c66c4aafed22aa47856b21423299dda1dc2de5 | refs/heads/master | 2021-03-12T20:27:07.966952 | 2015-03-07T23:25:35 | 2015-03-07T23:25:35 | 31,797,152 | 0 | 0 | MIT | 2018-07-17T10:47:08 | 2015-03-07T01:37:47 | C++ | UTF-8 | C++ | false | false | 16,426 | h | #ifndef __INC_CLOCKLESS_TRINKET_H
#define __INC_CLOCKLESS_TRINKET_H
#include "controller.h"
#include "lib8tion.h"
#include "delay.h"
#include <avr/interrupt.h> // for cli/se definitions
#if defined(FASTLED_AVR)
// Scaling macro choice
#ifndef TRINKET_SCALE
#define TRINKET_SCALE 1
// whether or not to use dithering
#... | [
"pylebas@gmail.com"
] | pylebas@gmail.com |
c1d226c276a756eb77cd613b52c572725eed91b4 | 91a0ce124d68c8f77a0d9b44a01b2b7295d9d0ab | /Class Projects/Custom Controlled LED Light Strips/lpd6803Spi/lpd6803Spi.ino | 9e942276d029b79ba86c070b0f6127357a7dcebc | [] | no_license | DcVamps/Academic-Programming | aaacfae07ed50326edae24f3b0285fc9de83c779 | 911729950b65614f6a13b325f49249957c559948 | refs/heads/master | 2020-04-27T15:35:58.622623 | 2019-08-05T00:45:14 | 2019-08-05T00:45:14 | 174,452,447 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,766 | ino | #include <TimerOne.h>
#include <SPI.h>
#include "Neophob_LPD6803.h"
/*
Unlike software SPI which is configurable, hardware SPI works only on very specific pins.
On the Arduino Uno, Duemilanove, etc., clock = pin 13 and data = pin 11.
For the Arduino Mega, clock = pin 52, data = pin 51.
For the ATmega32u4 Breakout ... | [
"cicchinelli1@hotmail.com"
] | cicchinelli1@hotmail.com |
3fbdbde9018a5d80515e87ee2e0f8806b61787e0 | d49b8536d996a81fd2a356f2ccd850abd4447217 | /VirusPack/nzm-netapi/nzm-netapi/Test101-ms0640/cpp/core/loaddlls.cpp | cd2c26ff1f36e488ba8b12d9abb7017e413bfa99 | [] | no_license | JonnyBanana/botnets | 28a90ab80f973478d54579f3d3eadc5feb33ff77 | 995b9c20aca5de0ae585ae17780a31e8bdfd9844 | refs/heads/master | 2021-07-01T01:51:01.211451 | 2020-10-22T23:14:57 | 2020-10-22T23:14:57 | 148,392,362 | 9 | 5 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 21,285 | cpp | #include "../../headers/includes.h"
// kernel32.dll function variables
SEM fSetErrorMode;
CT32S fCreateToolhelp32Snapshot;
P32F fProcess32First;
P32N fProcess32Next;
M32F fModule32First;
GDFSE fGetDiskFreeSpaceEx;
GLDS fGetLogicalDriveStrings;
GDT fGetDriveType;
SP fSearchPath;
QPC fQueryPerformanceCounter... | [
"mstr.be832920@gmail.com"
] | mstr.be832920@gmail.com |
ba6080bad3fb877f17b3213b2a5b0954fdcf036d | 91934b8ad2f42f29c445d511c6dd273b7e35ed86 | /juce/src/gui/components/mouse/juce_MouseHoverDetector.cpp | 7c6748fad372025952de8b491b1fac4bccf4eaf8 | [] | no_license | fubyo/osccalibrator | 882d348ecf738a11f9bfddf3511693a69d6c1d9e | 9c3652957c2ddc3d2a550f80be1cdb5e6707b8ce | refs/heads/master | 2021-01-10T21:04:00.712697 | 2015-03-16T12:45:03 | 2015-03-16T12:45:03 | 32,316,417 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,973 | cpp | /*
==============================================================================
This file is part of the JUCE library - "Jules' Utility Class Extensions"
Copyright 2004-10 by Raw Material Software Ltd.
------------------------------------------------------------------------------
JUCE can be redistrib... | [
"fubyo@yahoo.com"
] | fubyo@yahoo.com |
bfa7b26bba9e3b6b9fa6ab7d23e66fbe30553eb2 | 017c81ee14c457c529250059138d34f06158a131 | /test/worker-pool-test.cc | dcf85c3bfef62418aaa78ca880faef5e09f4c748 | [
"MIT"
] | permissive | mouton0815/word-counter-cpp | 2205ff2d12e90f5f752a8512cc5def27262b0bbd | 9b5d4800b7a865d7584aae5ebeee601639eaab7f | refs/heads/master | 2020-09-10T17:27:37.361704 | 2019-11-23T17:50:54 | 2019-11-23T17:50:54 | 221,778,356 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,195 | cc | #include <algorithm> // std::sort
#include <cassert>
#include <iomanip>
#include <iostream>
#include <sstream>
#include <string>
#include <vector>
#include "../src/constants.hh"
#include "../src/path-queue.hh"
#include "../src/worker-pool.hh"
#include "file-reader-mock.hh"
#include "tests.hh"
std::string toPath(const ... | [
"torsten.schlieder@tomtom.com"
] | torsten.schlieder@tomtom.com |
e29ab2559e0e06021ec21d9f1a18320e38dd5466 | 22212b6400346c5ec3f5927703ad912566d3474f | /src/Plugins/ImGUIPlugin/ImGUIRenderProvider.cpp | 253e57f94babcbfd7e9693c9191a358ec2beb6a6 | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | irov/Mengine | 673a9f35ab10ac93d42301bc34514a852c0f150d | 8118e4a4a066ffba82bda1f668c1e7a528b6b717 | refs/heads/master | 2023-09-04T03:19:23.686213 | 2023-09-03T16:05:24 | 2023-09-03T16:05:24 | 41,422,567 | 46 | 17 | MIT | 2022-09-26T18:41:33 | 2015-08-26T11:44:35 | C++ | UTF-8 | C++ | false | false | 3,263 | cpp | #include "ImGUIRenderProvider.h"
#include "Interface/RenderMaterialServiceInterface.h"
#if defined(MENGINE_ENVIRONMENT_PLATFORM_SDL)
#include "Interface/PlatformServiceInterface.h"
#include "Interface/SDLPlatformServiceExtensionInterface.h"
#endif
#if defined(MENGINE_ENVIRONMENT_RENDER_DIRECTX9)
#include "Interface/... | [
"irov13@mail.ru"
] | irov13@mail.ru |
15120d94e2da97a883addd1355c03b2096597a13 | 09d2becb6e5211fa13f00cb7c87cf4c12791d2f2 | /classes/classes/vetor.cpp | 3607f2d58f828e5f68530e75e92f82dd0f79dc4b | [] | no_license | heloyza19/classesmatrizes | 389cec06032f751be93dde49aa0f2a97b0a6c053 | aceff24788ef060b9aa4147b5f4eabda55b04716 | refs/heads/master | 2020-04-30T00:42:27.768759 | 2019-03-19T14:27:21 | 2019-03-19T14:27:21 | 176,509,008 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,253 | cpp | #include "pch.h"
#include "vetor.h"
#include <iostream>
using namespace std;
vetor::vetor(int t)
{
size = t;
double *V = new double(t);
}
vetor::~vetor()
{
delete[]V;
}
void vetor::print()
{
cout << "=[";
for (int i = 0; i < size; i++)
{
cout << *(V + i) << " ";
}
cout << "]\n";
}
void vetor::setV(doub... | [
"36577707+heloyza19@users.noreply.github.com"
] | 36577707+heloyza19@users.noreply.github.com |
1b25782e918cc85dd58abfe7e556cbc25a5303ec | af65550ef3b61d45fa8b7d01de1087c7c4d9bf84 | /test_2/segfault.cpp | fe5f92590eafa1563ac28852a755c451a7249e0c | [] | no_license | LouisJustinTALLOT/CPP | 84f66ca66717af8ddb1bd70b7b692a5094536636 | 81e72a6961ab4882b3a9e030690f09b835b97237 | refs/heads/master | 2023-04-27T01:42:08.665313 | 2021-05-13T20:18:36 | 2021-05-13T20:18:36 | 305,413,328 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 387 | cpp | #include<iostream>
void print (int) { std::cout << "print (int)\n"; }
void print (char) { std::cout << "print (char)\n"; }
void print (const char*) { std::cout << "print (const char*)\n"; }
int* foo () {
int j = 17;
return &j; // stack 2
}
int main () {
int* pi = nullptr; // stack 1
p... | [
"lj.tallot@gmail.com"
] | lj.tallot@gmail.com |
fb9d5118af1f9d5481e2dd867ea95251a56278bd | d53227cf082f6381ed4149bde7a1cd598a89b6d9 | /server/include/tcp_server.hpp | 2d50c09b2d24ed4b41ef3c65fefe24ba36b599ba | [] | no_license | rdumitriu/geryon | 7bf0abf87da4566d9852fba3091e35179cba2082 | fa90e5c76222deeee4c0e19bc13cb4fa24ee9f4f | refs/heads/master | 2021-01-01T06:49:32.124257 | 2015-04-06T19:50:08 | 2015-04-06T19:50:08 | 17,529,108 | 0 | 0 | null | 2014-10-07T22:44:02 | 2014-03-07T22:16:45 | C++ | UTF-8 | C++ | false | false | 1,615 | hpp | /**
* \file tcp_server.hpp
*
* Created on: Aug 13, 2011
* Author: rdumitriu
*/
#ifndef GERYON_TCPSERVER_H_
#define GERYON_TCPSERVER_H_
#include <string>
#include <boost/asio.hpp>
#include "tcp_protocol.hpp"
#include "tcp_connection_manager.hpp"
namespace geryon { namespace server {
/// The pure TCP se... | [
"rdumitriu@gmail.com"
] | rdumitriu@gmail.com |
bed634b064e8baa72b4837f674fb6d00219b6e83 | 33b19bcd0e2999ac5ee8a6ebb0ac09e52070bc9f | /codes/PE079.cpp | 5d6cf03b711db283a9e69f68ed98b0c0b46a1a08 | [] | no_license | ahmadyulian/project_euler | eac756119a03dca96d654a0815dbbe8c2766c4d4 | d91b3f84857c5befdd6607891a0d81adb3657fe7 | refs/heads/master | 2023-05-07T16:47:19.083573 | 2021-06-01T11:07:00 | 2021-06-01T11:07:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,216 | cpp | #include <cmath>
#include <cstdio>
#include <vector>
#include <iostream>
#include <algorithm>
#include <functional>
#include <queue>
#include <string>
using namespace std;
const int N = 1 << 8;
vector <int> c;
int deg[N];
vector <int> edge[N];
int main() {
int t;
scanf ("%d", &t);
while (t--) {
c... | [
"prabowo1048576@gmail.com"
] | prabowo1048576@gmail.com |
61efc642ddb9331b11dd7df3a3a1b579ea27f72c | d939ea588d1b215261b92013e050993b21651f9a | /ie/src/v20200304/model/ColorEnhance.cpp | e7cd78819a2538c404d38a0be7a9c80d440e629f | [
"Apache-2.0"
] | permissive | chenxx98/tencentcloud-sdk-cpp | 374e6d1349f8992893ded7aa08f911dd281f1bda | a9e75d321d96504bc3437300d26e371f5f4580a0 | refs/heads/master | 2023-03-27T05:35:50.158432 | 2021-03-26T05:18:10 | 2021-03-26T05:18:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,966 | cpp | /*
* 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 |
1eb0dbdc5dba1773c4ed44b0cce153655cf09ea2 | 38763072c8df0b176ed246604281e19c10c68c90 | /source/h/ansiwideconverter_generic.h | 187b003c25437a1f79514499cbae5b2ff30f7c68 | [
"Apache-2.0"
] | permissive | Dcreeron/twain_library_source | c09f051ab47231baf187b87a6a139bb1449bf371 | 36d05d704f818ec3e06cbe7dd2db548187424489 | refs/heads/main | 2023-02-25T09:57:11.252961 | 2021-02-03T02:56:30 | 2021-02-03T02:56:30 | 334,765,670 | 0 | 0 | Apache-2.0 | 2021-01-31T21:58:35 | 2021-01-31T21:58:35 | null | UTF-8 | C++ | false | false | 1,537 | h | /*
This file is part of the Dynarithmic TWAIN Library (DTWAIN).
Copyright (c) 2002-2021 Dynarithmic Software.
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.... | [
"paulm@dynarithmic.com"
] | paulm@dynarithmic.com |
88b48097a2a3eda176aaabf05f0322ee64853ad4 | 306cf0e8402db1aef506cac96b5bdb39822ab97f | /src/envoy/utils/session_manager_test.cc | 7a5f1f635a463789134e9f1ba913c05d52815ca9 | [
"Apache-2.0"
] | permissive | dmadams/proxy | ce97bdbf93fa64b471710acb7e8063d06c4bac29 | 410b69ebf8a17a663b636225a5bcaa1740170dfd | refs/heads/master | 2020-03-27T23:56:09.007106 | 2018-09-04T21:08:25 | 2018-09-04T21:08:25 | 146,910,254 | 0 | 0 | Apache-2.0 | 2018-08-31T15:58:30 | 2018-08-31T15:29:43 | C++ | UTF-8 | C++ | false | false | 1,170 | cc | #include "session_manager.h"
#include "src/envoy/utils/config.pb.h"
#include "gmock/gmock.h"
namespace Envoy {
namespace Utils {
class SessionManagerTest : public testing::Test {
public:
SessionManagerTest() {
static const SessionManager::key_t key_ = {0};
sessionManagerImplPtr_.reset(
... | [
"nick.a.smith@thales-esecurity.com"
] | nick.a.smith@thales-esecurity.com |
2033b8ad4149e638aa4b4925837327177eef9817 | 163b9252024b752bf6766c3e2736af6727f82802 | /RobotCodeNew2/libraries/SimpleMessageSystem/SimpleMessageSystem.cpp | 06a24f58e90b81d7fdee82c21df90c941f2f6ea2 | [] | no_license | AuburnSPaRC/secon2012 | 15420d11b27bb63568f24ec343636b11470733ee | 145ee2e993ce28ab1cd6f934b15b3df852cb98c5 | refs/heads/master | 2021-01-10T19:54:40.035070 | 2012-03-19T00:41:32 | 2012-03-19T00:41:32 | 3,213,695 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,268 | cpp | /*
See SimpleMessageSystem.h for more information.
*/
// the size of the incomming message buffer (Arduino 0004 has a serial in buffer of 64 bytes)
#define MESSAGE_BUFFER_SIZE 64
#define MESSAGE_BUFFER_LAST_ELEMENT 63
//ADDED FOR COMPATIBILITY WITH WIRING
extern "C" {
#include <stdlib.h>
}
//ADDED END
// #incl... | [
"levj220@gmail.com"
] | levj220@gmail.com |
6261e7e9c203fe52959c4057bf4a2333e8327852 | 3fef0b8f0cedb0372e1b054a20584a5824848f79 | /2015/frc973/src/auto/commands/sauropodCommand.cpp | 5a8626fe24a1e5f3ce881e5da2b322895af3afaf | [] | no_license | Team973/Old-Seasons | fce81966acf9746bf5b9348d15e67f398399181f | 8e5ab5e9c50ff8df154673bbf893bcf39177be5b | refs/heads/master | 2021-01-10T15:09:10.552517 | 2016-01-10T05:42:05 | 2016-01-10T05:42:05 | 49,354,620 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,031 | cpp | #include "WPILib.h"
#include "sauropodCommand.hpp"
#include "../../stateManager.hpp"
namespace frc973 {
SauropodCommand::SauropodCommand(StateManager *manager_, std::string preset_, float toteTimeout_, bool braked_, float timeout_, bool ignoreSensor_) {
manager = manager_;
preset = preset_;
toteTimeout = ... | [
"owcurry@charter.net"
] | owcurry@charter.net |
27663930a723d31ec48002c94322e6ba0bd9744e | 59c47e1f8b2738fc2b824462e31c1c713b0bdcd7 | /006-All_Test_Demo/006-TestEmbed/CanErrorTest/widget.cpp | f4ca298e393a863cbcfa33ac6f38dcf7ae9a3d60 | [] | no_license | casterbn/Qt_project | 8efcc46e75e2bbe03dc4aeaafeb9e175fb7b04ab | 03115674eb3612e9dc65d4fd7bcbca9ba27f691c | refs/heads/master | 2021-10-19T07:27:24.550519 | 2019-02-19T05:26:22 | 2019-02-19T05:26:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 157 | cpp | #include "widget.h"
#include <QDebug>
Widget::Widget(QWidget *parent)
: QWidget(parent)
{
qDebug()<<__func__<<" is enter";
}
Widget::~Widget()
{
}
| [
"1343726739@qq.com"
] | 1343726739@qq.com |
9f46436c82ccb6208dc23a67b09bb33ce5ae31c0 | 4d47acb504f35622914adb999b3816240569a48c | /LAB/LAB4/passing_and_returning_obj_to_fun.cpp | 5527e0f9ff033eb4a2e2badc9a45feae94c52517 | [] | no_license | Safal-Marahatta/cpp_projects | bcd81cc54ecda5b2d2668b0bed93498af9d237a9 | 9d936fd9688a1ff78635744ca75f49a37b4e1853 | refs/heads/main | 2023-07-13T11:08:48.709015 | 2021-08-27T07:33:08 | 2021-08-27T07:33:08 | 366,620,007 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 774 | cpp | //WAP to add two complex numbers passing
//object as an argument and returning resultant complex number
#include<iostream>
using namespace std;
class complex1
{
private:
int real,imz;
public:
void input()
{
cout<<"enter the real and imaginary part of complex no"<<endl;
cin>>real>>... | [
"safalmarahatta123456@gmail.com"
] | safalmarahatta123456@gmail.com |
04ee27c6b88a6b2dd3f01ea22d3575e55cf85aac | b5e459a3784d26b8a57d7cf9f2de9e9ccd47aeae | /in_pos_alg/in_pos_alg/total_reflection.cpp | 032db3d63fab7adaf9e52405a2440b9066b8d595 | [] | no_license | luxiangz/IndoorPositionAlgroithm_t | 466a1b7f4e7f263ec5aff86c8ab6bd7ac03ccfa3 | 5d472ec0252459fc4902ca90151685aee9bd02db | refs/heads/master | 2021-07-16T00:04:43.721598 | 2017-10-18T03:58:39 | 2017-10-18T03:58:39 | 104,991,557 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 22,463 | cpp | #include <cmath>
#include "total_reflection.h"
#include <cstdlib>
#define PI 3.14159265358979323846f
float c = 3e8, Ant = 1.0, loss_factor = 1.0, t_tol = 1.0;
/*--------------------------------------------------------------------------------------*/
void Mfct_Ref(int getdimensions, float **planes, float **TXpoint, flo... | [
"luxiangz@mail.ustc.edu.cn"
] | luxiangz@mail.ustc.edu.cn |
dada2d20a29c204f4464fd69c0001f00403d9161 | ea33f6e1a551feed6b279941b203ac1bf5aa73dc | /HydroViscosity/HydroViscosity/Geometry.cpp | dca675ee9cacabf9ac2823bc5e7e594d63cde4e8 | [] | no_license | eladtan/HydroViscosity | 21d5533fb4050568772c90b5afe2c0e637ef43cf | b7b5a8674fd81ef310adeaf8b5aa8a9f8c0f0f64 | refs/heads/master | 2020-11-28T08:13:59.985453 | 2019-12-31T15:11:54 | 2019-12-31T15:11:54 | 229,753,412 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 640 | cpp | #include "Geometry.hpp"
#define _USE_MATH_DEFINES
#include <math.h>
double Planar::CalcArea(std::vector<double> const& edges, size_t index) const
{
return 1.0;
}
double Planar::CalcVolume(std::vector<double> const& edges, size_t index) const
{
return edges[index + 1] - edges[index];
}
double Spherical::CalcArea(st... | [
"eladtan1@gmail.com"
] | eladtan1@gmail.com |
67bfdd08201985673018bc3bc12f4c87da1eb306 | 72ba5ca7af64ba10441cb830222093973f714f4e | /Graphics For Games/6) Scene Graph/CubeRobot.h | 8bf1044ad9afcca34acaf8f4e40593e835c98c7b | [] | no_license | templeblock/AdvancedGraphics | ef8f3ba4566b2e9197b0f13c8ddd4b88e811bf24 | 83884ce0880f14b6a5ca4ed0ebbd263c15340a74 | refs/heads/master | 2020-04-09T06:28:33.369261 | 2018-03-15T16:34:45 | 2018-03-15T16:34:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 442 | h | #pragma once
#include "../../nclgl/SceneNode.h"
#include "../../nclgl/OBJMesh.h"
class CubeRobot : public SceneNode
{
public:
CubeRobot();
~CubeRobot();
virtual void Update(float msec);
static void CreateCube() {
OBJMesh*m = new OBJMesh();
m->LoadOBJMesh(MESHDIR"cube.obj");
cube = m;
}
static void DeleteC... | [
"1245035229@qq.com"
] | 1245035229@qq.com |
2b4f337022d11b86b8010ee19b694e90333c6a60 | 4837ae201a0e295b32168eff7c350e1f39816ec2 | /Main.h | 1e37c1e0e5e8d2da9b81dc00bfdf75adee71a6bf | [] | no_license | andreyV512/candry | be3067d49e7fb510881c8cc671c4047cd2f74e87 | 6619008c8cd503df9c1456c7b4e093de9d1a7e9e | refs/heads/master | 2021-05-03T05:54:10.771914 | 2018-02-07T08:36:06 | 2018-02-07T08:38:29 | 120,586,145 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 5,327 | h | //---------------------------------------------------------------------------
#ifndef MainH
#define MainH
//---------------------------------------------------------------------------
#include "RawStrobes.h"
#include "Calcers.h"
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "Chart.hpp"... | [
"you@example.com"
] | you@example.com |
31a54d54570f25dba8e452f4c11243ca54324e3a | 24eadb4ab159b7f4eecbe51ecaa8ffef2b1dc04d | /MazeApp/source/mainwindow.h | 6c8038c4dfc3fdcdbfbbdddcda7fe52d90b6b7cb | [] | no_license | migamul/Umjetna-inteligencija | cdddcdc9250670b9925c6a70bda18a9737b8a44c | 891287ee6cc4b203ff046b1376fa63b0be7f6934 | refs/heads/master | 2020-03-09T16:44:57.885403 | 2018-06-13T08:48:34 | 2018-06-13T08:48:34 | 128,893,020 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 459 | h | #ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include "secondwindow.h"
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = 0);
~MainWindow();
private slots:
void on_Solve_clicked()... | [
"migamul@student.math.hr"
] | migamul@student.math.hr |
3e5c3810f9e5c5e95043b135c23940dffc134411 | 33c6737ac2c976e0a46c040b7de43f1235b314d9 | /SensorServers/CustomSensorServers/BMP180SensorServer/main.cpp | 9b2bbf0dc7b83237b10ed16c8406dfb50f3467ef | [] | no_license | Wierus/SensorsCollector | 67744c5087e6ef7981cf7bbe9af259dd1631bf5c | 859b75b6f9c9ddfb9e6cdefb540504d506f9138c | refs/heads/master | 2021-01-21T14:16:55.889062 | 2017-10-02T17:40:39 | 2017-10-02T17:40:39 | 58,068,342 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 922 | cpp | #include <QCoreApplication>
#include <QTextCodec>
#include "BMP180SensorServer.h"
// Кодировка сообщений
#define TEXT_CODEC_NAME "UTF-8"
int main(int argc, char *argv[]) {
QTextCodec::setCodecForLocale(QTextCodec::codecForName(TEXT_CODEC_NAME));
if (argc <= 2) {
qDebug("Not enough parameters.");
... | [
"wierus2007@mail.ru"
] | wierus2007@mail.ru |
28f876f1c5e8971b1b07c3945528ddd3a935ed02 | ac5eb7df8515fb92071f9e0f64d1cf6467f4042d | /C++/addStrings.cpp | f7d6090141a4924a374005445a913537331fd04c | [] | no_license | Litao439420999/LeetCodeAlgorithm | 6ea8060d56953bff6c03c95cf6b94901fbfbe395 | 9aee4fa0ea211d28ff1e5d9b70597421f9562959 | refs/heads/master | 2023-07-08T06:17:20.310470 | 2021-08-08T08:12:23 | 2021-08-08T08:12:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,549 | cpp | /**
* @File : addStrings.cpp
* @Brief : 字符串相加 数学问题
* @Link : https://leetcode-cn.com/problems/add-strings/
* @Author : Wei Li
* @Date : 2021-07-18
*/
#include <iostream>
#include <string>
#include <algorithm>
class Solution
{
public:
std::string addStrings(std::string num1, std::string num2)
... | [
"weili_yzzcq@163.com"
] | weili_yzzcq@163.com |
bcc071359596a86f79421db470bcf768b33ae6dc | 88c0e520e2389e676fea559f944109e1ee7e157b | /include/Windows.Devices.Bluetooth.GenericAttributeProfile.2_4bc8ceb3.h | 1583e7c84e5f0e3c74d4cf1902127689ef8e08af | [] | no_license | jchoi2022/NtFuzz-HeaderData | fb4ecbd5399f4fac6a4982a0fb516dd7f9368118 | 6adc3d339e6cac072cde6cfef07eccafbc6b204c | refs/heads/main | 2023-08-03T02:26:10.666986 | 2021-09-17T13:35:26 | 2021-09-17T13:35:26 | 407,547,359 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,884 | h |
#include "winrt/impl/Windows.Devices.Bluetooth.1.h"
#include "winrt/impl/Windows.Devices.Enumeration.1.h"
#include "winrt/impl/Windows.Foundation.1.h"
#include "winrt/impl/Windows.Storage.Streams.1.h"
#include "winrt/impl/Windows.Devices.Bluetooth.GenericAttributeProfile.1.h"
WINRT_EXPORT namespace winrt::Windo... | [
"jschoi.2022@gmail.com"
] | jschoi.2022@gmail.com |
a772781717e948f13518e6644f04c0064132b1c3 | 9a3b9d80afd88e1fa9a24303877d6e130ce22702 | /src/Providers/UNIXProviders/ComputerSystemIRQ/UNIX_ComputerSystemIRQProvider.cpp | 16cc6d295c8486ebfe266b52f9f01f7ca4961a30 | [
"MIT"
] | permissive | brunolauze/openpegasus-providers | 3244b76d075bc66a77e4ed135893437a66dd769f | f24c56acab2c4c210a8d165bb499cd1b3a12f222 | refs/heads/master | 2020-04-17T04:27:14.970917 | 2015-01-04T22:08:09 | 2015-01-04T22:08:09 | 19,707,296 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,873 | cpp | //%LICENSE////////////////////////////////////////////////////////////////
//
// Licensed to The Open Group (TOG) under one or more contributor license
// agreements. Refer to the OpenPegasusNOTICE.txt file distributed with
// this work for additional information regarding copyright ownership.
// Each contributor lice... | [
"brunolauze@msn.com"
] | brunolauze@msn.com |
f38332aa2b0e5ded9292fb1bc083bc5385a49c5c | 2ca63305557cb780e7258cf03844a420d885a0af | /EpServerEngine2.0/EpServerEngine/Sources/epServerInterface.cpp | f93a69a8ab74cd69b87b581293e1b290f2e1309c | [
"MIT"
] | permissive | wangscript007/EpServerEngine | e0181d493ad9f46209536ad77a52d86bdadce7f1 | 2a79ddbfc118d3d653f5b0a4110eae2fc287b965 | refs/heads/master | 2021-09-13T02:37:20.025331 | 2018-04-24T01:51:04 | 2018-04-24T01:51:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,438 | cpp | /*!
ServerInterface for the EpServerEngine
The MIT License (MIT)
Copyright (c) 2012-2013 Woong Gyu La <juhgiyo@gmail.com>
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, in... | [
"juhgiyo@gmail.com"
] | juhgiyo@gmail.com |
3b78ea25b39e29d2d976428879ea0bf75c7aa1f4 | ea7372b7a12fc3017489873d6743a6daa98d3cb7 | /f9omstw/OmsErrCodeAct.cpp | ab324a4517c933867cd119ccfc47f577c72c2238 | [
"Apache-2.0"
] | permissive | fonwin/f9omstw | c1b238716ccd1077fa8ede4a280ca63347f2fa97 | 6afd3b9e58b215ccbf75a5592c9b813d6f8a2fd1 | refs/heads/master | 2023-08-16T21:34:15.815453 | 2023-08-14T08:41:14 | 2023-08-14T08:41:14 | 186,222,750 | 5 | 2 | Apache-2.0 | 2023-06-13T01:21:33 | 2019-05-12T07:03:03 | C++ | UTF-8 | C++ | false | false | 6,158 | cpp | // \file f9omstw/OmsErrCodeAct.cpp
// \author fonwinz@gmail.com
#include "f9omstw/OmsErrCodeAct.hpp"
#include "f9omstw/OmsOrder.hpp"
namespace f9omstw {
#define kCSTR_During "During"
#define kCSTR_NewSrc "NewSrc"
#define kCSTR_Src "Src"
#define kCSTR_OType "OType"
#define kCST... | [
"fonixcpp@gmail.com"
] | fonixcpp@gmail.com |
085d3fe051048f745c4b9515aa16b0b27fedb04d | d3e1f9a07e09953ac689c74ad1f7f1ada982dd77 | /SDK/BTDecorator_IsCanOpenDoor_classes.h | 4bce035cf19320b17921c67c90c24a36d5f844b3 | [] | no_license | xnf4o/HSH_SURVIVE_SDK | 5857159731ceda7c06e158711003fbaf22021842 | 2f49c97a5f14b4eadf7dc3387b55c09bc968da66 | refs/heads/main | 2023-04-12T06:52:47.854249 | 2021-04-27T03:13:24 | 2021-04-27T03:13:24 | 361,965,544 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 900 | h | #pragma once
// Name: hsh, Version: 2
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Classes
//------------------------------------------------------------------... | [
"xnf4o@inbox.ru"
] | xnf4o@inbox.ru |
a55fe5523241e60040bf53eac1fa192bf05bfbfe | 95ab8a21dda989fde5b0796d1488c30128a01391 | /CodeForces/C++/1384A.cpp | f8e3e9943ee11d2e723afd811462cd0631b0c0b3 | [] | no_license | neelaryan2/CompetitiveProgramming | caa20ffcdee57fb2e15ceac0e7ebbe4e7277dc34 | 959c3092942751f833b489cc91744fc68f8c65d2 | refs/heads/master | 2021-06-28T14:10:50.545527 | 2021-02-15T17:34:03 | 2021-02-15T17:34:03 | 216,887,910 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,261 | cpp | #include <bits/stdc++.h>
using namespace std;
#ifdef LOCAL
#include "trace.h"
#else
#define trace(args...)
#endif
using ll = long long;
using ld = long double;
using pii = pair<int, int>;
using vi = vector<int>;
#define mp make_pair
#define ub upper_bound
#define lb lower_bound
#define fi first
#define se second
#defi... | [
"neelaryan2@gmail.com"
] | neelaryan2@gmail.com |
704f1d2b2faed6994bce0a415e304703e2381026 | fa274ec4f0c66c61d6acd476e024d8e7bdfdcf54 | /Resoluções OJ/coj/3388.cpp | 43f27608d32a93fc90813a1682c4712f62f223c8 | [] | no_license | luanaamorim04/Competitive-Programming | 1c204b9c21e9c22b4d63ad425a98f4453987b879 | 265ad98ffecb304524ac805612dfb698d0a419d8 | refs/heads/master | 2023-07-13T03:04:51.447580 | 2021-08-11T00:28:57 | 2021-08-11T00:28:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 559 | cpp | #include<bits/stdc++.h>
#define _ ios_base::sync_with_stdio(0);
#define INF 0x3f3f3f3f
#define eb emplace_back
#define ll long long
#define vl vector<ll>
#define vvl vector<vl>
#define vi vector<int>
#define vvi vector<vi>
#define TAM (n+1)
#define MOD 303700049
using namespace std;
string n,m;
int ans;
int main(){_... | [
"fepaf.eng@uea.edu.br"
] | fepaf.eng@uea.edu.br |
6b4de76e90ea27a35a068a61dc4599d6218f9bac | 91d0e8ce292ac8d39169181e1644fff2bc909c1c | /backtracking/40_combination_sum_2.cpp | 43c627dd431887bb0626761781fd6ea73f977094 | [] | no_license | taylortao/myLeetcode | 706cff8652a6d96a47981575e67e067f9c4a6a29 | d0f5a3a92da4a787af65e5ae82b39fbb46bb3b1c | refs/heads/master | 2022-01-01T11:23:10.169347 | 2021-12-30T04:14:29 | 2021-12-30T04:14:29 | 63,123,307 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,881 | cpp | class Solution {
public:
vector<vector<int>> combinationSum2(vector<int>& candidates, int target) {
int cnt = candidates.size();
sort(candidates.begin(), candidates.end());
vector<int> initSolution;
Dfs(candidates, initSolution, cnt, target, 0);
return solution;
}
private:
vector<vector<int>> ... | [
"taotingting"
] | taotingting |
d76b67afb792b00c31c22964c61fd6cc6d6d3404 | a9ec153f7e79a4e08fd54bd7a0ce511a282b6e7b | /drv/EN-Network_Client_SDK_win_x32/ClientDemo/DlgPlayEvent.cpp | bcb9fe6de76e9e34d97daf395d4998e5954b51bb | [] | no_license | stepabogdanov/HikvisionSDK | 5d227747127716cbfb6f4c8e721927645e0f67eb | e00da32d00d07dd64023176f11ac4f3731fd4176 | refs/heads/master | 2021-04-28T07:51:33.245528 | 2018-10-22T09:16:46 | 2018-10-22T09:16:46 | 122,234,801 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 65,808 | cpp | /**********************************************************
FileName: DlgPlayEvent.cpp
Description: remote event play back
Date: 2009/05/17
Note:
Modification History:
<version> <time> <desc>
<1.0 > <2009/05/17> <created>
**********************************************... | [
"stepabogdanov@yandex.ru"
] | stepabogdanov@yandex.ru |
5ca8b406c5b15160f5c829b738ce1a0452722437 | d13c8c0bb4efbb68080552c19c35ae83f541f62e | /RecComp/Lab2/CNN_Optimization/cnn_optimization/solution1_6/syn/systemc/convolve_kernel.cpp | 5be04e3b67bd1aca3b45a24d7ab2149ed4f87256 | [
"MIT"
] | permissive | MaiaBlanco/FPGA_Sandbox | d31a84eaebd57a77d33bd74afea973c3810d85b0 | 4a9502ac1f84018d1bebb8b8dc4f272fd9da0d3b | refs/heads/master | 2023-05-02T11:14:50.294147 | 2018-06-06T04:54:25 | 2018-06-06T04:54:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 413,653 | cpp | // ==============================================================
// RTL generated by Vivado(TM) HLS - High-Level Synthesis from C, C++ and SystemC
// Version: 2017.2
// Copyright (C) 1986-2017 Xilinx, Inc. All Rights Reserved.
//
// ===========================================================
#include "convolve_kerne... | [
"mark.p.blanco@gmail.com"
] | mark.p.blanco@gmail.com |
3c9e1457eca58431e712b26ab45d1c72a937e2ae | ba1944305bd4641be09c90f4464475901845077a | /1leetcode/week_4_day_1.cpp | 99fcb25b59d8a28efbbff541e8ebc596dba6148c | [] | no_license | Ravi-Khatri/code | e5c9bb0d88a5ea74ac2b0dfae83b90944b69ce0b | be40c85ec888059457b2189829f329268cd036b5 | refs/heads/main | 2023-04-03T18:38:54.289012 | 2021-04-18T08:05:20 | 2021-04-18T08:05:20 | 256,105,251 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 583 | cpp | #include<bits/stdc++.h>
#include<vector>
#include<iostream>
using namespace std;
int findi(vector<int> arr,int k)
{ int n=arr.size();
int start=0,end=0,res=0;
int sum=arr[0];
while(start<n && end<n)
{
if(sum<k)
{
++end;
sum+=arr[end];
}
else if(sum>k)
{
sum-=arr[start];
start++;
}
els... | [
"khatriravi75@gmal.com"
] | khatriravi75@gmal.com |
962a9e5ec9484c9a89740600c3807447773864d5 | 2896fa8c8fa20081c8b5da47e024cf0f15ee9e06 | /src/mfc/afxlistctrl.cpp | 4102b1cb3a88a487e10f5e2bd64727084be1fdc1 | [] | no_license | adzm/atlmfc | f2b7f1f0200df07a000cea31f62b146fb094b253 | ea3ab8e4dee965905ae14f34d04b44ad1027827b | refs/heads/master | 2021-05-17T02:41:49.896685 | 2020-03-27T16:30:55 | 2020-03-27T16:30:55 | 250,580,780 | 10 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,092 | cpp | // This is a part of the Microsoft Foundation Classes C++ library.
// Copyright (C) Microsoft Corporation
// All rights reserved.
//
// This source code is only intended as a supplement to the
// Microsoft Foundation Classes Reference and related
// electronic documentation provided with the library.
// See these sourc... | [
"adam.walling@gmail.com"
] | adam.walling@gmail.com |
50c5ae51ae4986fd97808fc6db0ea86f6f6ec8b9 | 2607fedbbd40dd43edff03d4f4d00d8acd50d7c0 | /examples/ultrasonic.ino | 181af153dcef4c2fc165ad229fe2a423bbfc4ecf | [] | no_license | UMD-ENEE408I/ENEE408I_Spring_2021_Team_4 | 1043b05657db3be49f8ad40aa6605615dc6e10b5 | 9e28507283d6ec2eb49ed07a7fcbbf05280db4e3 | refs/heads/main | 2023-04-25T02:00:19.590473 | 2021-05-11T16:42:41 | 2021-05-11T16:42:41 | 333,126,549 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,093 | ino | // Demonstrates ultrasonic ping sensor trio functionality
const int echoL = 2;
const int trigL = 3;
const int echoM = 4;
const int trigM = 5;
const int echoR = 6;
const int trigR = 7;
const int pulseLen = 60; // microseconds
float distL, distM, distR;
void setup() {
pinMode(echoL, INPUT);
pinMo... | [
"mlum@umd.edu"
] | mlum@umd.edu |
ab2e0e4674ccda7a8d004b69e26a9c65faae76cd | 84ff9d3de0cb8041e5f7e0e4826704ac89a6b1f5 | /src/what_colour.cc | 8745b0f10139bef6f36bd5eecd82dcbd46bb9820 | [] | no_license | trmrsh/cpp-subs | 927c1f969a1021a9446b06b6882df0faf450bbb3 | af93d2c33b5ee797535c790844586c12a9a41f2a | refs/heads/master | 2021-05-02T07:57:16.293461 | 2019-01-11T22:49:01 | 2019-01-11T22:49:01 | 11,352,292 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,583 | cc | #include <string>
#include "trm/subs.h"
/** Translates a string such as "red" or "black" into an equivalent
* enum that can be used to set the colours in the PGPLOT routine
* cpgsci. Recognised colours are: black, white, red, green, blue,
* cyan, purple, yellow, orange, light_green dark_green, light_blue,
* dark_... | [
"t.r.marsh@warwick.ac.uk"
] | t.r.marsh@warwick.ac.uk |
f2f5a177767c063a0df5620eb5173bbae1c560c4 | 0b42d70ff69fe635da5329c1e6d24422a9c189fc | /codeforces/edu_71_div2/road.cpp | a2fe234e4ed6cf442b2158c03f2e97ca5d4ce809 | [] | no_license | dvkcool/competitive | 93424318d6712ee9e73f7329b5bd81c3c547729b | dbfa16ee63b9464ae28763af808911c5bfcd578b | refs/heads/master | 2021-06-03T21:44:09.353977 | 2020-10-20T16:43:03 | 2020-10-20T16:43:03 | 150,016,131 | 4 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 1,537 | cpp | #include<iostream>
#include<algorithm>
#define lli long long int
using namespace std;
void solve(){
int n;
lli a, b;
cin>>n>>a>>b;
string s;
cin>>s;
lli cost = b;
int h = 1;
int e = 0;
for(int i=0; i<n; i++){
if(s[i]=='0'){
e++;
}
}
for(int i=0; i<n-1; i++){
if(s[i+1]=='0'){
... | [
"divyanshukumarg@gmail.com"
] | divyanshukumarg@gmail.com |
89bbcba6d905d0794ef9eb9214999ac08c741c94 | 0b72ad0c7060ffb5672e05392d145d95662febab | /Tech/crypto51/simple.cpp | ee5ab0cbdeecd38eb1bd5ed1e5a167b499a7f540 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-cryptopp",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | xfxf123444/japan | d55912cff16fd63caab0e5b206f1a3fcd66aea5e | 29e5f9cab5f431417cb1cf435477adeb6a5f8b31 | refs/heads/master | 2021-01-10T01:17:25.067789 | 2015-12-20T09:06:13 | 2015-12-20T09:06:13 | 43,422,127 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 519 | cpp | // simple.cpp - written and placed in the public domain by Wei Dai
#include "pch.h"
#include "simple.h"
#include "secblock.h"
NAMESPACE_BEGIN(CryptoPP)
void HashTransformationWithDefaultTruncation::TruncatedFinal(byte *digest, unsigned int digestSize)
{
ThrowIfInvalidTruncatedSize(digestSize);
unsigned int fullDig... | [
"xfxf123444@gmail.com"
] | xfxf123444@gmail.com |
767673a9fc91ee7f8eead4132be91f8b3dab3bc6 | f0bd42c8ae869dee511f6d41b1bc255cb32887d5 | /Codeforces/385A - Bear and Raspberry.cpp | 5f0434ddb622b17d493a454a35ee0f0f86eafa24 | [] | no_license | osamahatem/CompetitiveProgramming | 3c68218a181d4637c09f31a7097c62f20977ffcd | a5b54ae8cab47b2720a64c68832a9c07668c5ffb | refs/heads/master | 2021-06-10T10:21:13.879053 | 2020-07-07T14:59:44 | 2020-07-07T14:59:44 | 113,673,720 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 258 | cpp | #include<cstdio>
#include<algorithm>
using namespace std;
int main(){
int i,n,c,last,x,ans=0;
scanf("%d%d%d",&n,&c,&last);
for(i=1;i<n;i++){
scanf("%d",&x);
ans=max(ans,last-x-c);
last=x;
}
printf("%d\n",ans);
}
| [
"osama@elysian.team"
] | osama@elysian.team |
21e07661187e55f185b2e0a71da3aab464db31f4 | 6dd82b73fd87620a1d9c410c05e34d81578d345e | /include/fdeep/fdeep.hpp | 82f1d38ea70800a50e213d442e5eff164cc16552 | [
"MIT"
] | permissive | lyk125/frugally-deep | 364364da3d45ef81c599b1715c24efc0349ce5e1 | 511a8b557ba867a1f92ee4e3eff394cafe1c0f1a | refs/heads/master | 2021-08-16T07:55:18.100726 | 2017-11-19T10:28:04 | 2017-11-19T10:28:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,917 | hpp | // Copyright 2016, Tobias Hermann.
// https://github.com/Dobiasd/frugally-deep
// Distributed under the MIT License.
// (See accompanying LICENSE file or at
// https://opensource.org/licenses/MIT)
#pragma once
#include "fdeep/common.hpp"
#include "fdeep/convolution.hpp"
#include "fdeep/filter.hpp"
#include "fdeep/t... | [
"editgym@gmail.com"
] | editgym@gmail.com |
59743a68d2111325c97c4d5896417282cbe0f497 | 3b1c7561c8d3b9452fc0cdefe299b208e0db1853 | /src/gpu/ganesh/d3d/GrD3DCommandList.h | e5ea0b63ac8344a40e3d4885361daf3039c56e8e | [
"BSD-3-Clause"
] | permissive | NearTox/Skia | dee04fc980bd40c1861c424b5643e7873f656b01 | 4d0cd2b6deca44eb2255651c4f04396963688761 | refs/heads/master | 2022-12-24T02:01:41.138176 | 2022-08-27T14:32:37 | 2022-08-27T14:32:37 | 153,816,056 | 0 | 0 | BSD-3-Clause | 2022-12-13T23:42:44 | 2018-10-19T17:05:47 | C++ | UTF-8 | C++ | false | false | 8,980 | h | /*
* Copyright 2020 Google LLC
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef GrD3DCommandList_DEFINED
#define GrD3DCommandList_DEFINED
#include "include/gpu/GrTypes.h"
#include "include/gpu/d3d/GrD3DTypes.h"
#include "src/gpu/ganesh/GrManagedRe... | [
"NearTox@outlook.com"
] | NearTox@outlook.com |
70310f6cb95302e531861bf098899d68a80722fa | 3f2e62d5a6c8067431ade3c1c4ba4f7703a9b70c | /src/core/TextureRegion.h | 29548f2509168283fffbb62fd5faf0ba420340f3 | [] | no_license | kaala/tappy-plane | c4ecf857831d91955f11e23e212cd0270f4bc83e | 4b90e1b9dd426da764af7b3deef8fdf6a3baf0ea | refs/heads/master | 2021-01-18T07:51:38.025249 | 2014-06-27T15:38:36 | 2014-06-27T15:38:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 639 | h | //
// TextureRegion.h
// tappyplane
//
// Created by Stephen Gowen on 2/1/14.
// Copyright (c) 2014 Techne Games. All rights reserved.
//
#ifndef __tappyplane__TextureRegion__
#define __tappyplane__TextureRegion__
#ifdef TECHNE_GAMES_DIRECT_3D
#include <windows.h>
#endif
class TextureRegion
{
public:
Texture... | [
"sgowen@technegames.com"
] | sgowen@technegames.com |
b20054f4cfc437c4f6261247bef9060309640dbe | 024ed9472645bbf3b1e1d89338d75c23a0f0bc94 | /SimulatedAnnealing/main.cpp | 39312ead578f8776c51e543b24f2b58020e7c868 | [] | no_license | SteadyCoder/Eight-Queens | 22c7ba182084b70c68f96dbeca9af17020f1c9bd | 0d0dfa09236b074d7f05ff953a28b80b54ad47f7 | refs/heads/master | 2021-05-30T11:03:01.718248 | 2016-02-04T20:36:15 | 2016-02-04T20:36:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 528 | cpp | //
// main.cpp
// you_are_looser
//
// Created by Ваня Ткаченко on 12/11/15.
// Copyright © 2015 Stead. All rights reserved.
//
#include "methods.hpp"
int main()
{
srand(time(NULL)); //for correct working 'rand'-function
int sizeOfBoard;
cout << "Enter the size of the chess board : "; cin >>... | [
"iv.tkachenko17@gmail.com"
] | iv.tkachenko17@gmail.com |
17fdc6dcbdc0a7ce87bf6ee70aa8475c1959a131 | f5d3ca5316bb91a529ff0dade3b017851fdf095c | /Liana.ino | cdefbaf3c5f2ec940d62d048770b6723d794c68c | [] | no_license | eeak/Liana | 641b00f3ba5b44cf9f0b923cb235e20be6885bee | 1492820ca2e0764b910b01ff48c460b2f3cdc392 | refs/heads/master | 2022-04-14T01:09:09.712277 | 2019-12-31T14:54:13 | 2019-12-31T14:54:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,237 | ino | #include <WebSocketsServer.h>
#include <ESP8266WiFi.h>
#include <ESP8266WiFiMulti.h>
#include <WiFiClient.h>
#include <SPIFFSReadServer.h>
#include <ESP8266mDNS.h>
#include <DNSServer.h>
#include <WiFiUdp.h>
#include <ArduinoOTA.h>
#include <PersWiFiManager.h>
#include <EspHtmlTemplateProcessor.h>
#include <FileReader.... | [
"vp@clevertec.ru"
] | vp@clevertec.ru |
801477e458e3210d27ec77f10016752cc83adbc8 | c6f447ae7b5d67cb6e475ec29ecc95c229d3a921 | /test/tests.cpp | 7e4d7e6f9ce264263434eeb23615cb85d260d3fb | [] | no_license | OpenLEAD/sonar_localization | 154c8f9d465ad08f85c85e90f4e6935dfa355f67 | a303f4a9c5c1e7a2add99d7fd90b71adf1416504 | refs/heads/master | 2021-01-19T02:01:34.466107 | 2016-06-29T20:02:43 | 2016-06-29T20:02:43 | 23,441,712 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,050 | cpp | #include <gtest/gtest.h>
#include <imaging_sonar_localization/PoseEstimator.cpp>
#include <imaging_sonar_localization/Configuration.hpp>
#include <imaging_sonar_localization/SonarSimulation.hpp>
#include <vizkit3d_normal_depth_map/ImageViewerCaptureTool.hpp>
#include <vizkit3d_normal_depth_map/NormalDepthMap.hpp>
#in... | [
"alcantara@poli.ufrj.br"
] | alcantara@poli.ufrj.br |
b500c3d01616b70a9d5c7216c20eb1466a4cebe3 | d2190cbb5ea5463410eb84ec8b4c6a660e4b3d0e | /old_hydra/hydra/tags/apr07a/base/datastruct/hlinearcategory.h | 052fecb4fe94ded60d3b47e9f0c02b8d4f7b4f86 | [] | no_license | wesmail/hydra | 6c681572ff6db2c60c9e36ec864a3c0e83e6aa6a | ab934d4c7eff335cc2d25f212034121f050aadf1 | refs/heads/master | 2021-07-05T17:04:53.402387 | 2020-08-12T08:54:11 | 2020-08-12T08:54:11 | 149,625,232 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,760 | h | #ifndef HLINEARCATEGORY_H
#define HLINEARCATEGORY_H
#include "hcategory.h"
class HLinearCatIter;
class HLinearCategory : public HCategory {
friend class HLinearCatIter;
protected:
TClonesArray *fData; // Data array of the category
Int_t fNDataObjs;
Bool_t hasDynamicObjects;
public:
HLinearCategory(void);
H... | [
"waleed.physics@gmail.com"
] | waleed.physics@gmail.com |
c914266a38840305d798945f0f4b24eb821a3f00 | 78ef6727092c8ef5ac7900717c602b8c27b8e03b | /src/Shared/Stackwalker.cpp | 1b0236faba20d107584e32080720aa84ac4633bb | [] | no_license | PubFork/uaf | fef542c983e5a1a25bf1593cb2fc4534523c46fb | 98fa9da100fdfccdaa4e9725203fbd0aca9b656d | refs/heads/master | 2023-08-12T18:45:44.652484 | 2021-10-04T22:39:32 | 2021-10-04T22:39:32 | null | 0 | 0 | null | null | null | null | ISO-8859-10 | C++ | false | false | 19,057 | cpp | #include "..\shared\stdafx.h"
#include "Stackwalker.h"
void *My_malloc(int size);
void My_free(void *addr);
#ifdef _IMAGEHLP_
#error "'imagehlp.h' should only included here, not before this point! Otherwise there are some problems!"
#endif
#pragma pack( push, before_imagehlp, 8 )
#pragma warning (disable:4091)
#inc... | [
"andrew_steeley@hotmail.com"
] | andrew_steeley@hotmail.com |
b9703b2c57f9e75f0a693990a6b6fa81cdca18f7 | 2b0b07242be5ea756aba992e171b43fbee9bfada | /BOJ/1614/1614.cpp | 85c06689d9fff4bbc37d9fa54766bb914f09b97b | [] | no_license | newdaytrue/PS | 28f138a5e8fd4024836ea7c2b6ce59bea91dbad7 | afffef30fcb59f6abfee2d5b8f00a304e8d80c91 | refs/heads/master | 2020-03-22T13:01:46.555651 | 2018-02-13T18:25:34 | 2018-02-13T18:25:34 | 140,078,090 | 1 | 0 | null | 2018-07-07T11:21:44 | 2018-07-07T11:21:44 | null | UTF-8 | C++ | false | false | 821 | cpp | // =====================================================================================
//
// Filename: 1614.cpp
// Created: 2017년 04월 23일 21시 38분 28초
// Compiler: g++ -O2 -std=c++14
// Author: baactree , bsj0206@naver.com
// Company: Chonnam National University
//
// ========... | [
"bsj0206@naver.com"
] | bsj0206@naver.com |
e30b90b95ffd304a659831be01019d0f7c26170f | e338ceec47bdf340c51e96ee20a66e2b629e4565 | /Visual Studio/Projects/University Project/ASH/ASH/first .cpp | eef18aa4e79e804b25e340aefc521b7a14cbe299 | [
"MIT"
] | permissive | HaozheGuAsh/Undergraduate | da4071ea38cd36cc1fe3364489fe7247da40c748 | 2b75ef3ae06b6c2350edc4b0b03f516a194cca99 | refs/heads/master | 2021-01-20T13:44:53.290869 | 2018-03-18T23:43:01 | 2018-03-18T23:43:01 | 90,523,868 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 219 | cpp | /* my second program in C++
with more comments */
#include <iostream>
int main1()
{
std::cout << "Hello World! "; // prints Hello World!
std::cout << "I'm a C++ program"; // prints I'm a C++ program
return 0;
} | [
"ashghz26@gmail.com"
] | ashghz26@gmail.com |
7d810aefc9040baf05434f9b3f3d45d74c2f6693 | f177993b13e97f9fecfc0e751602153824dfef7e | /ImPro/ImProFilters/DXRender/DXRenderDisplay.cpp | b89f2ba7733f7c07d3c70d8291c93187c7e1ef34 | [] | no_license | svn2github/imtophooksln | 7bd7412947d6368ce394810f479ebab1557ef356 | bacd7f29002135806d0f5047ae47cbad4c03f90e | refs/heads/master | 2020-05-20T04:00:56.564124 | 2010-09-24T09:10:51 | 2010-09-24T09:10:51 | 11,787,598 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,164 | cpp | #include "StdAfx.h"
#include "DXRenderDisplay.h"
DXRenderDisplay::DXRenderDisplay(IDirect3D9* pD3D, UINT rtWidth, UINT rtHeight)
: MS3DDisplay(pD3D, rtWidth, rtHeight)
{
HRESULT hr = S_OK;
m_bDrawFPS = false;
m_bFlipX = false;
m_bFlipY = false;
m_sampleType = 0;
m_pD3DFont = NULL;
hr = D3DXCreateFon... | [
"ndhumuscle@fa729b96-8d43-11de-b54f-137c5e29c83a"
] | ndhumuscle@fa729b96-8d43-11de-b54f-137c5e29c83a |
8f3ba187595a604a35ecc08cc7ccadaa203b70d9 | 14bc50e8e15ddaa3864859ec620e3f58bfbf49cc | /src/peanoclaw/records/Cell.h | 572c0c59016c595fd59f57cddb7a5fa650b06d8c | [
"BSD-3-Clause"
] | permissive | unterwegerK/peanoclaw | 8b1181bdafe81a1364219cf29abc72721609463e | 2d8b45727e3b26d824f8afc6a8772736176083af | refs/heads/master | 2020-09-24T04:15:03.629158 | 2016-01-30T10:38:03 | 2016-01-30T10:38:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 557,338 | h | #ifndef _PEANOCLAW_RECORDS_CELL_H
#define _PEANOCLAW_RECORDS_CELL_H
#include "tarch/multicore/MulticoreDefinitions.h"
#include "peano/utils/Globals.h"
#include "tarch/compiler/CompilerSpecificSettings.h"
#include "peano/utils/PeanoOptimisations.h"
#ifdef Parallel
#include "tarch/parallel/Node.h"
#endif
#ifdef Paralle... | [
"unterweg@in.tum.de"
] | unterweg@in.tum.de |
1292e27fb024bcccd16a5ac86fa4027abb312ac6 | ea8c5d95b3b50b02f2eae70b7072b7105ba67a1f | /VertexShader.h | d41747c426d94f371ad940d9595a79058ed234ea | [] | no_license | AlessandroCinque/Rest_In_Hell | 0539b5420ac451f1b1b39387c4a29dfde20ed608 | 6cf9a487ef36e0f57445663b8c416fcf7054d23f | refs/heads/master | 2020-06-01T22:00:28.418611 | 2019-06-08T22:50:59 | 2019-06-08T22:50:59 | 188,457,688 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 81 | h | #pragma once
class VertexShader
{
public:
VertexShader();
~VertexShader();
};
| [
"alessandro5cinque@gmail.com"
] | alessandro5cinque@gmail.com |
710a7c5f67bcc3e42d9ad16637ebb78432d8bb23 | db720628001acae4fb7cecb41b4a1f989e2c48b3 | /fir_ef/ast/function_definition_node.h | b079a6e478012863e0876ca7e10db2801543647e | [] | no_license | guisaraiva2000/Compilers | dad735cfb9d99ce889e0815fd0f13e6bd3cc689f | 1aa08f8babac0686a78b6fccd1bd00e51bd4576e | refs/heads/main | 2023-06-09T15:34:47.849387 | 2021-06-27T10:20:51 | 2021-06-27T10:20:51 | 380,709,388 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,570 | h | #ifndef __FIR_AST_FUNCTION_DEFINITION_H__
#define __FIR_AST_FUNCTION_DEFINITION_H__
#include <string>
#include <cdk/ast/typed_node.h>
#include <cdk/ast/sequence_node.h>
#include "ast/block_node.h"
namespace fir {
class function_definition_node: public cdk::typed_node {
int _qualifier;
std::string... | [
"guilherme.a.saraiva@tecnico.ulisboa.pt"
] | guilherme.a.saraiva@tecnico.ulisboa.pt |
d99baf1da5153b1f442a7d06a1269f3e09e1efd0 | 7ed9ddde7aa126433fccaaf724415d08d59caec2 | /TalkingScene/WalaberEngine/Walaber/src/Graphics/Textures/RenderTexture.cpp | 9bf9a4e0a6b71a031012f78d48e787335be34556 | [] | no_license | DannyTking/TalkingScene | 7b01c92d273d15f0b9c72b2170fdb5a7b95b5e22 | b73828e69b4324ccb8f26648dbb3b5b8cbddeb8f | refs/heads/master | 2020-12-30T10:36:40.516557 | 2013-12-23T01:34:45 | 2013-12-23T01:34:45 | 13,242,667 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 14,700 | cpp | #include "RenderTexture.h"
#include <GraphicsGL.h>
#include <FileManager.h>
#include <FileHelper.h>
#include <WalaberMath.h>
#include <StringHelper.h>
#include <MemberCallback.h>
#include "./SOIL/SOIL.h"
namespace Walaber
{
// ----------------------------------------------------------------------------------... | [
"yangming.tang@chukong-inc.com"
] | yangming.tang@chukong-inc.com |
e5172a9501f9b007f0a64aa5fb1000a77a1e3003 | d70d0a6a79e03dda8288659a5926f9e794d06780 | /robot_platform/RobotPlatformController.cpp | 8155109a9f23226c817a5b97d21e1e0bac98802d | [] | no_license | souravran/RobotController | be846f2cf683452cd5404d0039b935a20e4ec218 | aa29b8bb4bf8c8fbb2a57f69ed0f19a83d7fb2ca | refs/heads/master | 2016-09-13T16:02:09.760969 | 2016-05-30T14:45:46 | 2016-05-30T14:45:46 | 56,391,471 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,889 | cpp | // Copyright [2015] Avantys Engineering GmbH & CoKG
//-----------------------------------------------------------------------------
// Project Includes
//-----------------------------------------------------------------------------
#include <robot_platform/RobotPlatformController.h>
//--------------------------------... | [
"souravran@gmail.com"
] | souravran@gmail.com |
7bff19c69347999708d930742bea68c2595a1ce0 | 6ced41da926682548df646099662e79d7a6022c5 | /aws-cpp-sdk-iot/include/aws/iot/model/ListFleetMetricsRequest.h | 19db39e9b85da5da0a0480b8324db6bc263a77ee | [
"Apache-2.0",
"MIT",
"JSON"
] | permissive | irods/aws-sdk-cpp | 139104843de529f615defa4f6b8e20bc95a6be05 | 2c7fb1a048c96713a28b730e1f48096bd231e932 | refs/heads/main | 2023-07-25T12:12:04.363757 | 2022-08-26T15:33:31 | 2022-08-26T15:33:31 | 141,315,346 | 0 | 1 | Apache-2.0 | 2022-08-26T17:45:09 | 2018-07-17T16:24:06 | C++ | UTF-8 | C++ | false | false | 4,438 | h | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/iot/IoT_EXPORTS.h>
#include <aws/iot/IoTRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Http
{
class URI;
} //n... | [
"aws-sdk-cpp-automation@github.com"
] | aws-sdk-cpp-automation@github.com |
4def529b8ec4948189d62b10bf2e591bc353ebd9 | 51635684d03e47ebad12b8872ff469b83f36aa52 | /external/gcc-12.1.0/libstdc++-v3/testsuite/20_util/shared_ptr/cons/weak_ptr_expired.cc | 8015d136d0ef52f67e4bf67facdc606f5a5ea8f2 | [
"LGPL-2.1-only",
"GPL-3.0-only",
"GCC-exception-3.1",
"GPL-2.0-only",
"LGPL-3.0-only",
"LGPL-2.0-or-later",
"Zlib",
"LicenseRef-scancode-public-domain"
] | permissive | zhmu/ananas | 8fb48ddfe3582f85ff39184fc7a3c58725fe731a | 30850c1639f03bccbfb2f2b03361792cc8fae52e | refs/heads/master | 2022-06-25T10:44:46.256604 | 2022-06-12T17:04:40 | 2022-06-12T17:04:40 | 30,108,381 | 59 | 8 | Zlib | 2021-09-26T17:30:30 | 2015-01-31T09:44:33 | C | UTF-8 | C++ | false | false | 1,432 | cc | // { dg-do run { target c++11 } }
// Copyright (C) 2005-2022 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library 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 Foundatio... | [
"rink@rink.nu"
] | rink@rink.nu |
542bc9d5e7fdc5a9afaeecdd35a40111728ca746 | d4a854fdf78282232739a23d0a2ea80f8fccf14a | /Source/Steam/Classes/RedactedUGC.cpp | 05cfa7d62cc1249713fea388ccb193fc17458667 | [] | no_license | GEEKiDoS/SteamBase | 7f7ac61092d1ea71f8ace0f662e5b4a692b0d08f | 771aa55e47d2ab662d5961a354ab1dcdd7567cd9 | refs/heads/master | 2021-06-20T05:00:33.924486 | 2017-08-09T20:16:38 | 2017-08-09T20:16:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,838 | cpp | /*
This project is released under the GPL 2.0 license.
Some parts are based on research by Bas Timmer and the OpenSteamworks project.
Please do no evil.
Initial author: (https://github.com/)Convery
Started: 2014-11-04
Notes:
Utils.
*/
#include "..\..\StdInclude.h"
UGCQueryHandle_t RedactedUGC::CreateQueryUse... | [
"MauriceHeumann@gmail.com"
] | MauriceHeumann@gmail.com |
a6e49a0ffba85aec0fd95149ed6f035a44d390cd | e7529fb1566be4f9eb99a0249f8293ace786fcd5 | /MjpegReceiver/strutils.h | 5ec88e7d9ee2f587aadb36c8635906b00517b430 | [
"CC0-1.0"
] | permissive | sipsorcery/prototypes | c8d332ce888ff495d94a1a698768a198c417f164 | 614adf6c2346adb0038750c775ebe4e423c69a96 | refs/heads/master | 2021-07-15T19:58:02.770195 | 2021-03-16T20:54:08 | 2021-03-16T20:54:08 | 237,002,369 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,280 | h | //-----------------------------------------------------------------------------
// Filename: strutils.h
//
// Description: Useful string utilities originally from Bitcoin Core.
//
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2017 The Bitcoin Core developers
// Distributed under the MIT softw... | [
"aaron@sipsorcery.com"
] | aaron@sipsorcery.com |
ba967141b5137832c82ac0b5838697332f8a1223 | d49ebd5ac47cf44c207cc32a2199c50f46bae5d2 | /NavierStokes/numerical/numerical.cpp | c9e0b2031aca976863d221b1cca4e1dd57de343a | [] | no_license | j16out/cfd510 | feb50bf0bccf407f2f818977696a322cd0b51161 | 7a9d7ce7bd26b7f1f6b2ff5f28a7b32fd23eea01 | refs/heads/master | 2020-05-30T07:19:27.581074 | 2016-12-21T22:07:59 | 2016-12-21T22:07:59 | 70,025,661 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 33,367 | cpp | #include "numerical.hpp"
//==========================================================================//
//---------------------------Setting Array----------------------------------//
//==========================================================================//
//-----------set array size (working area excluding g... | [
"avrocf105@live.com"
] | avrocf105@live.com |
67f650eb09a8a15fb13e9e270bf4254dc3f80704 | f80af86cad57bf091d27e89052214ca29d3b3a16 | /3rd Year/2nd Semester/Computação Gráfica/Trabalho Prático/Fase 4/Gerador/anel.h | 6d329ca6400517347cea9f26a82f5142b75b8f5e | [] | no_license | diogoesnog/MIEI | 44719dce30177ae877b2bdb90ec73a606e64ce63 | 322b03a561937be91af7158be888227bae75f5c4 | refs/heads/master | 2022-08-20T14:34:37.136699 | 2022-07-27T22:08:23 | 2022-07-27T22:08:23 | 249,830,783 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 260 | h | #ifndef anel_h
#define anel_h
#include <string>
using namespace std;
void anel(float raioFora, float raioDentro, int fatias, int aneis, string nomeFicheiro);
void anelVBO(float raioFora, float raioDentro, int fatias, int aneis, string nomeFicheiro);
#endif | [
"34174814+diogoesnog@users.noreply.github.com"
] | 34174814+diogoesnog@users.noreply.github.com |
4248aa369ff98c0146147c8c4e1cdcc910ed51e5 | 0f2825ff6fb69d7b6553401ddd8ce4960da7be82 | /rd-cpp/src/rd_framework_cpp/src/main/base/ISerializersOwner.cpp | 76890cfeba7456f63d5ea98fbd104721e6122ab3 | [
"Apache-2.0"
] | permissive | Bhanditz/rd | f02c79b9874878b2d55aa3e6af0995d16aa218d1 | 5d8282c3fdbcc9a70d4b695c2cb2c89d34787a66 | refs/heads/master | 2023-04-12T16:53:04.061330 | 2019-01-31T16:27:13 | 2019-01-31T16:27:13 | 168,948,909 | 0 | 0 | Apache-2.0 | 2019-02-03T13:35:33 | 2019-02-03T13:35:33 | null | UTF-8 | C++ | false | false | 388 | cpp | //
// Created by jetbrains on 19.11.2018.
//
#include "ISerializersOwner.h"
#include "Protocol.h"
void ISerializersOwner::registry(Serializers const &serializers) {
// val key = this::class
// if (!serializers.toplevels.add(key)) return
//todo
// Protocol::initializationLogger.trace("REGISTER serializers f... | [
"operasfantom@gmail.com"
] | operasfantom@gmail.com |
75688882b44bd931305a1073daa1723c72c51b15 | 19194c2f2c07ab3537f994acfbf6b34ea9b55ae7 | /android-33/android/renderscript/Element_Builder.def.hpp | e23258845ea07d8ad35718974b3e2fab5c21f3dc | [
"GPL-3.0-only"
] | permissive | YJBeetle/QtAndroidAPI | e372609e9db0f96602da31b8417c9f5972315cae | ace3f0ea2678967393b5eb8e4edba7fa2ca6a50c | refs/heads/Qt6 | 2023-08-05T03:14:11.842336 | 2023-07-24T08:35:31 | 2023-07-24T08:35:31 | 249,539,770 | 19 | 4 | Apache-2.0 | 2022-03-14T12:15:32 | 2020-03-23T20:42:54 | C++ | UTF-8 | C++ | false | false | 909 | hpp | #pragma once
#include "../../JObject.hpp"
namespace android::renderscript
{
class Element;
}
namespace android::renderscript
{
class RenderScript;
}
class JString;
namespace android::renderscript
{
class Element_Builder : public JObject
{
public:
// Fields
// QJniObject forward
template<typename ...Ts>... | [
"YJBeetle@gmail.com"
] | YJBeetle@gmail.com |
1037eab38b0c29dcdfe2407db965b5d90b591714 | 7dacf71ffccedd8894965f167173194ddd139e6f | /arduinoOTA.ino | 06812aee6571252ac58e10a874d18199dc5efd08 | [] | no_license | yakumo-saki/EnvBoyMQTT | 024b576f0849fb57752e582bb1c689009a843d2d | 59fc2f8fb3d9593d25a79aa1f3cc4a30955b70c6 | refs/heads/master | 2020-04-29T09:04:41.184730 | 2019-11-01T06:49:10 | 2019-11-01T06:49:10 | 176,010,688 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,606 | ino | #include <ESP8266WiFi.h>
#include <ESP8266mDNS.h>
#include <WiFiUdp.h>
#include <ArduinoOTA.h>
void setup_ota(String name) {
// Port defaults to 8266
// ArduinoOTA.setPort(8266);
// Hostname defaults to esp8266-[ChipID]
ArduinoOTA.setHostname(name.c_str());
// No authentication by default
// ArduinoOTA.s... | [
"yakumo@ziomatrix.org"
] | yakumo@ziomatrix.org |
49f26e82375cd95513482b6b3db2af8912a6bd34 | 0913116c6530c22abf08da54214c19640dbdda04 | /BouncingBalls/BouncingBalls/Ball.cpp | 1205456360bd209926c80300d2a8155f49b6df2a | [] | no_license | amoonfana/CPPLibrary | e176f9a068d875f28766cfc89a297043e71eda1e | 48f5b73e1a3bb9032eaa0d476bae1878783ecf7f | refs/heads/master | 2021-07-10T04:36:09.277894 | 2019-01-03T03:29:23 | 2019-01-03T03:29:23 | 132,719,016 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,608 | cpp | #include <algorithm>
#include "Ball.h"
using namespace std;
Ball::Ball() {
rx = ((double)rand()) / RAND_MAX;
ry = ((double)rand()) / RAND_MAX;
vx = (((double)rand()) / RAND_MAX - 0.5) / 100;
vy = (((double)rand()) / RAND_MAX - 0.5) / 100;
r = 0.01;
m = 0.5;
cnt = 0;
}
Ball::Ball(double rx1, double ry1, double... | [
"amoonfana@qq.com"
] | amoonfana@qq.com |
910f34c5842ef6e6672ea41d51ddb87cf65eb79e | eaf5e33f701206155a37b90d1a9372895285daa2 | /include/RunAction.hh | 7987c22386590aa987e6789f427f0a965544e75f | [] | no_license | Clostry/soil-moisture | f050bf65a3dfd732f3295bd6c59a052b9964192b | 8cf05a8a31ef89eecd3ea36304cb7d85da0eb55d | refs/heads/master | 2021-01-10T17:39:16.523381 | 2015-12-10T07:41:19 | 2015-12-10T07:41:19 | 45,522,595 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 668 | hh | #ifndef RunAction_h
#define RunAction_h 1
#include "G4UserRunAction.hh"
#include "globals.hh"
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
class G4Run;
class HistoManager;
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
class RunAction : public G... | [
"nnj7585@gmail.com"
] | nnj7585@gmail.com |
5a89cbd9c5ce7e4d6325657329c656b5c82b13db | 629aa175464d3a52881fd3f38159f5113c291069 | /arduino/lib/IRmanager/IRmanager.cpp | 123f284b540a50ba69b11582807a6cdb6f963225 | [] | no_license | zastrixarundell/phomenix | 75ee21e07da50e2d338c71b7f42028483892fdd2 | cf284cd4ee1943188283e63252bd3175287594c1 | refs/heads/master | 2023-06-22T09:56:06.986998 | 2021-07-18T03:10:55 | 2021-07-18T03:10:55 | 291,331,193 | 1 | 0 | null | 2021-07-18T02:31:52 | 2020-08-29T18:57:06 | Elixir | UTF-8 | C++ | false | false | 2,375 | cpp | #include "IRmanager.hpp"
#include <ESP8266WiFi.h>
#include <IRac.h>
#include <IRsend.h>
#define USING_PROPRIETARY_PRECODE true
#if USING_PROPRIETARY_PRECODE
uint16_t controlData[227] = {3152, 1522, 564, 1020, 564, 1020, 564, 254, 564, 252, 564, 254, 564, 1020, 564, 252, 566, 254, 564, 1022, 564, 1022, ... | [
"zastrixarundell@gmail.com"
] | zastrixarundell@gmail.com |
c49de50b273cf4e16890631c8404739865b590de | 1935aa569fafae4a6206998d27102700689fca35 | /EliteArduino2/Scooping.ino | 8840ad44362a04b0550e6196384c7a13eeca1356 | [
"Apache-2.0"
] | permissive | Maxfojtik/EliteDangeriousNeopixelIntegration | 72ecc9a86516d59ee3ebd4e56f3bd006db0b62af | 451b5fe5bd7f24dcc35a7cbbe5ee452e5f85d5d0 | refs/heads/master | 2021-06-25T08:28:14.957116 | 2021-03-21T01:56:37 | 2021-03-21T01:56:37 | 185,478,977 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 266 | ino | void scooping()
{
readyToSwitch = true;
spot -= 4;
float off = (spot + 0.0) / 20;
for (int i = 0; i < NUM_LEDS; i++)
{
float val = ((sin((i - off) / 2) + 1) / 2);
leds[NUM_LEDS-i] = CRGB((int)(cRed*val), (int)(cGreen*val), (int)(cBlue*val));
}
}
| [
"maxfojtik@bex.net"
] | maxfojtik@bex.net |
37eb808e8b5f3c3d7745348fda81e3492413e6c9 | e1f19ef3fcabc6a1588071b2e9b4d7f9fc66fdab | /unit_test/gtest_force_angle.cpp | 153d7d492f80fbda93815bb69fb968f5304f3a5d | [
"MIT"
] | permissive | Tokumasu-Lab/md_fdps | 788287ecabe250e9e820c89f7f549a8ca19803a7 | eb9ba6baa8ac2dba86ae74fa6104a38e18d045ff | refs/heads/master | 2021-09-15T04:17:14.602074 | 2018-05-25T17:30:04 | 2018-05-25T17:30:04 | 101,115,294 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,865 | cpp | //***************************************************************************************
// This program is unit test of angle interaction.
//***************************************************************************************
#include <gtest/gtest.h>
#include <particle_simulator.hpp>
#include <particle_mesh.hpp... | [
"kawai@nanoint.ifs.tohoku.ac.jp"
] | kawai@nanoint.ifs.tohoku.ac.jp |
49a14e9c8b97d1c7db0c26f3f98024f14d75ea93 | 4c23be1a0ca76f68e7146f7d098e26c2bbfb2650 | /ic8h18/0.0025/DC6H13O2H | aeb158ad5049c8e979fd2feda5cc0db52a5092e3 | [] | no_license | labsandy/OpenFOAM_workspace | a74b473903ddbd34b31dc93917e3719bc051e379 | 6e0193ad9dabd613acf40d6b3ec4c0536c90aed4 | refs/heads/master | 2022-02-25T02:36:04.164324 | 2019-08-23T02:27:16 | 2019-08-23T02:27:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 842 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 6
\\/ M anipulation |
\*-------... | [
"jfeatherstone123@gmail.com"
] | jfeatherstone123@gmail.com | |
d45a0f07da635ec3cd7c575eacde393daf9adc08 | fdbc4290dd724a093cb74626ea3c3063b45fa2c7 | /osprey1.0/be/opt/opt_fold.h | 6697c712328705d6eb36508796d53d7071c39ac2 | [] | no_license | sriharikrishna/Open64 | fe764dd267f5c0cb040b3eceb2efbda71f8be9be | f9b081e5b22023fafb257694b91a2296fb44c179 | refs/heads/master | 2020-06-06T05:31:33.901374 | 2008-06-26T15:48:25 | 2008-06-26T15:48:25 | 192,648,234 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,182 | h | //-*-c++-*-
// ====================================================================
// ====================================================================
//
// Module: opt_fold.h
// $Revision: 1.1.1.1 $
// $Date: 2002-05-22 20:06:49 $
// $Author: dsystem $
// $Source: /m_home/m_utkej/Argonne/cvs2svn/cvs/Open64/osprey... | [
"dsystem@856677d4-e204-44a3-822c-5496da239ec1"
] | dsystem@856677d4-e204-44a3-822c-5496da239ec1 |
71ebdc76f942b4e3059c90bf9491a62271d8ace3 | 6f2b6e9d77fc4dd5e1dae8ba6e5a66eb7c7ae849 | /sstd_boost/sstd/boost/signals2/detail/signals_common_macros.hpp | 9128bc538a79a745a374c9394408fd709ea08756 | [
"BSL-1.0"
] | permissive | KqSMea8/sstd_library | 9e4e622e1b01bed5de7322c2682539400d13dd58 | 0fcb815f50d538517e70a788914da7fbbe786ce1 | refs/heads/master | 2020-05-03T21:07:01.650034 | 2019-04-01T00:10:47 | 2019-04-01T00:10:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,423 | hpp | /*
Author: Frank Mori Hess <fmhess@users.sourceforge.net>
Begin: 2007-01-23
*/
// Copyright Frank Mori Hess 2007-2008
// Use, modification and
// distribution is subject to 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)
#ifnde... | [
"zhaixueqiang@hotmail.com"
] | zhaixueqiang@hotmail.com |
c4d63bf37cb756d71445f9e0b55cf963cc646a5b | b78a6aeefa4e46f9d8a3ad56e22bf7034de913e8 | /hc/pratice/XUPTweek3/L_dfs.cpp | 74349006fefe5b0f25de1e6a506d4e1fcf634793 | [] | no_license | hchc32/TeamC | c12589d2fb78f46d53b0adaf49b32e05476e454e | d137de654ef8f9ea6750c2d79221dfd1a98a3a7a | refs/heads/master | 2020-12-11T10:28:44.013750 | 2020-07-14T09:53:47 | 2020-07-14T09:53:47 | 233,823,773 | 0 | 0 | null | 2020-01-14T11:13:49 | 2020-01-14T11:13:49 | null | UTF-8 | C++ | false | false | 2,214 | cpp | #include <iostream>
#include<cstdio>
#include<algorithm>
#include<stdio.h>
using namespace std;
const int N = 200;
int n,s,m;
int flag=9999999;
int book[N][N][N];
void dfs(int a,int b,int c,int step);
int main()
{
while(scanf("%d%d%d",&s,&n,&m)!=EOF)
{
if(s==0&&n==0&&m==0)
return 0;
... | [
"1844382037@qq.com"
] | 1844382037@qq.com |
553606bc3ed9c929e914fda329d88af88409d5aa | b25caf0f2636a3d520edd27ffe652fec21b56469 | /mySerialPort.h | f28498da530f58b4afd46f8f8b14da985f8e10a8 | [] | no_license | adinxu/SerialPortTool | 81304dbb6c17c29498a1302e8366f7bd188357ce | c17ab5dba9f61df81778d804d8b09657edae9689 | refs/heads/master | 2023-05-13T11:51:54.235504 | 2023-05-02T15:17:47 | 2023-05-02T15:17:47 | 109,089,029 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 723 | h | #ifndef MYSERIALPORT_H_INCLUDED
#define MYSERIALPORT_H_INCLUDED
#include "ctb-0.16/serport.h"
namespace ctb
{
class mySerialPort:public SerialPort
{
public:
DWORD GetCacheByteNum();//获得接收缓冲区字符数
void ClearRecBuff();//清空缓冲区
void Set_RXCHAR();//输入缓冲区接收到新字符
void Clean_RXCHAR();
bool RXCHAR_Init();
... | [
"1334585420@qq.com"
] | 1334585420@qq.com |
f6d64341ba3c231d7fe0f970da61d4c6f8c70b6d | 6d658c6e08708a2bedd176885651d88f138db4df | /src/Modules/Graphics/Logical/CameraPerspective_System.cpp | b95c09939fbd65512feb30fecf8ab655e0286197 | [
"MIT"
] | permissive | Yattabyte/reVision | 82486854c882fcf3087f4692859117aa5065e054 | 014cb450d1c30b8f64abbacf00425b4f814b05a0 | refs/heads/master | 2021-06-05T20:44:15.163656 | 2019-12-31T17:57:29 | 2019-12-31T17:57:29 | 106,460,739 | 6 | 1 | MIT | 2019-12-31T17:57:31 | 2017-10-10T19:16:00 | C | UTF-8 | C++ | false | false | 639 | cpp | #include "Modules/Graphics/Logical/CameraPerspective_System.h"
#include "Modules/ECS/component_types.h"
CameraPerspective_System::CameraPerspective_System(std::vector<Camera*>& sceneCameras) :
m_sceneCameras(sceneCameras)
{
addComponentType(Camera_Component::Runtime_ID, RequirementsFlag::FLAG_REQUIRED);
}
void Cam... | [
"tklowry93@gmail.com"
] | tklowry93@gmail.com |
90f32b2e5d26c04bd1ffd86560103a24f2d80bf3 | 38d33b0ea80bf14a2fd733c070cf59842f445aa5 | /hw3/3_4_2_container.h | 85e7d2882233d940fd47ff1b072d33b63c6ea9e0 | [] | no_license | IJaykkk/NTU_2015_dsahw | 3e377352c8cd9047fd37d792c12a0ab289eb9644 | 74d8cd662111e8fb6d48cca7dd5d2515b24c4128 | refs/heads/master | 2021-05-30T05:02:42.347098 | 2015-06-09T17:17:35 | 2015-06-09T17:17:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 160 | h | #include <deque>
#include <string>
#ifndef CONTAINER_H
#define CONTAINER_H
typedef std::deque<std::string> newStack;
typedef std::deque<double> dStack;
#endif | [
"imdfmy@gmail.com"
] | imdfmy@gmail.com |
07cb1ef297da24d6ede0a7a7759036d684cd0e93 | 86e620cf71044b6144573efac7017ee211e77129 | /ALgorithms/inversionofarray.cpp | b4301d766c586e68a2d3e0c05635d89c89638e41 | [] | no_license | devansh5/DSA | 85b68ddeff2b0aeb1cb23966e6a8481bb4ff0a24 | 7a4b715afbdb138f7c594a26ee5813336d50f6be | refs/heads/master | 2022-12-29T11:20:40.591018 | 2020-10-18T01:47:37 | 2020-10-18T01:47:37 | 263,550,967 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,426 | cpp | #include <bits/stdc++.h>
using namespace std;
int mergesort(int a[],int temp[],int l,int r);
int merge(int a[],int temp[],int l,int m,int r);
int inversion(int a[],int n){
int temp[n];
return mergesort(a,temp,0,n-1);
}
int mergesort(int a[],int temp[],int l,int r){
int m,inv=0;
if(l... | [
"devkumar5436@gmail.com"
] | devkumar5436@gmail.com |
43295db6d1bee80632d2ba3f75fbd9e241fb0b4d | f74f835ec8c156cc72d288500b1a5a16b9c8c62b | /Controller/src/LSST/M1M3/SS/Commands/TurnPowerOnCommand.cpp | 8744828635b3d464e77f29a2ac7a40011624b3b4 | [] | no_license | AmmarNoman/ts_m1m3support | 44176bfdfad790a46aa722fe27c5e48a6243d5d6 | 1bb88ae2d754ce19c0c4efc7a20243c06fba9ac0 | refs/heads/master | 2021-05-22T18:30:53.085262 | 2018-07-30T23:00:30 | 2018-07-30T23:00:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,287 | cpp | /*
* TurnPowerOnCommand.cpp
*
* Created on: Dec 7, 2017
* Author: ccontaxis
*/
#include <TurnPowerOnCommand.h>
#include <Context.h>
#include <M1M3SSPublisher.h>
namespace LSST {
namespace M1M3 {
namespace SS {
TurnPowerOnCommand::TurnPowerOnCommand(Context* context, M1M3SSPublisher* publisher, int32_t com... | [
"CContaxis@lsst.org"
] | CContaxis@lsst.org |
909a8a3060c3cecbbf39af9dfa79dc5797898544 | f3bce7ac6ee7d4345960daf084d8ee3e47246014 | /hackerrank/C++/Debugging/Hotel Prices/solve.cpp | 19c4f618d703cb551c8d9175778e0a2fefd3e867 | [] | no_license | kessyus/Algorithms | 9f02fc38a6c6c0df3f5c02203e9dcfcc6ee06ab3 | 53591aaccd2acabb03b4a0e24f0eb950277aba33 | refs/heads/master | 2023-06-01T01:58:37.924805 | 2021-07-09T20:49:23 | 2021-07-09T20:49:23 | 373,328,179 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,435 | cpp | /**
* Author: Kessyus Fofano
* Email: kessyus@gmail.com
**/
#include <iostream>
#include <vector>
using namespace std;
class HotelRoom
{
public:
HotelRoom(int bedrooms, int bathrooms)
: bedrooms_(bedrooms), bathrooms_(bathrooms) {}
int get_price()
{
return 5... | [
"kessyus@gmail.com"
] | kessyus@gmail.com |
9e88d40af3e9ea21d7e7a9813d81c3e74067cec7 | 5e2ee732ce8f2f33815595fab12066820a757157 | /src/AILogic/Dynamic/DynamicWander/dynamicWander.h | 8b7479ce5bd4b5778bb976ded189011a30cf5abb | [] | no_license | NotMickey/AIProject | 7a9cd802e9b7fb2bf64b37897384cdc198061a63 | b748cb5d9d86c477047baac8dd5e58659b1807b4 | refs/heads/master | 2020-04-18T07:45:10.089453 | 2019-06-21T23:46:28 | 2019-06-21T23:46:28 | 167,371,112 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 745 | h | #pragma once
#include "../../steeringBase.h"
#include "../../../Character/boid.h"
namespace AIProject
{
class DynamicWander : public SteeringBase
{
public:
DynamicWander(Boid &i_character, const float &i_wanderOffset, const float &i_wanderRadius, const float &i_wanderRate,
const float &i_maxAcceleration);
/... | [
"mukulkakroo18@gmail.com"
] | mukulkakroo18@gmail.com |
7e954f90617ad4e0150ebfb66772e38e35fe977f | 9dae4d0e933f25104fad3a6138f4d24e22bdc03c | /falps/Valuedef.cpp | 7a465c3a34c0af5bdf53ab792ba381f944c36c54 | [] | no_license | Romantic-LiXuefeng/FALPS | 6b487d5c56c87ddd915f1cd9fb9a41dce769bb9a | eac63c4efc3933c0592a4064e3cec073f18d4ed9 | refs/heads/master | 2021-12-25T02:46:47.002419 | 2017-12-25T14:07:07 | 2017-12-25T14:07:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 267 | cpp | #include "Valuedef.h"
size_t MSS = 1024;// Bytes
size_t FRAGMENT_LEN = MSS + PROTOCOL_OVERHEAD;
double ADSL_256 = 0.1;
double ADSL_512 = 0.3;
double ADSL_1500 = 0.3;
double SDSL_512 = 0.2;
double DS1 = 0.1;
string PROTOCAL="Node";
unsigned int RAND_SEED = 1234567; | [
"wuguangzhu@baidu.com"
] | wuguangzhu@baidu.com |
56696bd39eac0e9fe5ab9d821bf1d8deeb50dd57 | 742182b23044c91df9a3d99652697152fc13f91d | /Div1/SRM622Div1/Medium.cpp | 07a99750420f25ae5c99731fd39c82bc532282e3 | [] | no_license | iseki-masaya/topcoder | 15e052bff8043f60a15969acc723e2550eae262c | c85ba323476b03abbc22a758e5724f15796ee62b | refs/heads/master | 2016-09-11T02:00:10.773000 | 2015-04-26T02:41:05 | 2015-04-26T02:41:05 | 9,335,477 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,421 | cpp | #include <string>
#include <cmath>
#include <fstream>
#include <iostream>
#include <sstream>
#include <list>
#include <algorithm>
#include <set>
#include <map>
#include <stack>
#include <queue>
#include <numeric>
#include <bitset>
#include <deque>
//#include <random>
#include <string.h>
#include <stdlib.h>
#include <ve... | [
"iseki.m.aa@gmail.com"
] | iseki.m.aa@gmail.com |
4fee11a6cca3082d5d11a08d7164f317892603ea | d3eb25c0e78071943868723b6e677167105a63af | /vnc-gtav/GTAVScriptHookProxy/include/ScriptHookSharedMemory.h | 458a60d9a0c8a5b179aa2d4fa8d6055c5caecc17 | [] | no_license | williamseto/universe-windows-envs | 31d9c73a2f228e2e8e2bd059c566847510552ce1 | a687bd1b51f428a88a45c98b48bfedf5025c01b5 | refs/heads/master | 2021-01-22T08:17:57.487068 | 2017-05-02T18:25:28 | 2017-05-02T18:25:28 | 81,886,434 | 1 | 0 | null | 2017-02-14T00:29:00 | 2017-02-14T00:29:00 | null | UTF-8 | C++ | false | false | 455 | h | #pragma once
#include <SharedAgentMemory.h>
namespace OpenAIGym
{
class ScriptHookSharedMemory
{
public:
static SharedAgentMemory * shared();
static void allocate_shared_agent_memory();
static SharedAgentMemory* get_shared_agent_data();
static void destroy_shared_agent_memory();
private:
ScriptHookSha... | [
"cquiter@gmail.com"
] | cquiter@gmail.com |
0741cc3987604db726cbfd9d3edba49021aadbbf | 09a320e960b0af9210a659b9cce9f155d3ab99b9 | /ch15/p11.cpp | 999188e4037823fc216973a91209f0898f321bea | [] | no_license | hiteshkansal/Karumanchi | 7f53d3289a4af3aba5ca9712cce1336f4e126752 | 84802ac10888bc8316658663e7f2491998b4bf22 | refs/heads/master | 2021-01-21T20:38:48.941685 | 2017-05-24T07:55:39 | 2017-05-24T07:55:39 | 92,263,712 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 729 | cpp | #include<iostream>
#include<string.h>
#include<algorithm>
using namespace std;
void combi(int d, int s, char *word, char* a, int n)
{
for(int i=s; i<n; i++)
{
word[d] = a[i];
word[d+1] = '\0';
cout<<word<<endl;
if(i<n-1)
combi(d+1,i+1,word,a,n);
}
}
void combi_r... | [
"hiteshkansal@outlook.com"
] | hiteshkansal@outlook.com |
915ec057e68e2facb2491b54116c564ca3af400b | 35a4a74c7fdf094d03df53e5b60ca6a0be025d09 | /Motor_Test/Motor_Test.ino | 0c354f51da33beec8632f88d501b0511b42af3e4 | [
"CC0-1.0"
] | permissive | MarcoSteffens/Lichtuhr | 0218294ebe155c0a7ea0de102bebff1ddb9c88d7 | 8d77f033512fad3035b60329dc58bbad288b1f0b | refs/heads/master | 2021-01-10T16:19:09.005564 | 2016-03-28T10:58:47 | 2016-03-28T10:58:54 | 54,197,487 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,772 | ino | //Pins des Motor-Poti
const int DIRECTION_A = 10; //B-IB
const int DIRECTION_B = 11; //B-IA
/*
* Geschwindigkeit des Poti. 255 ist Maximum, Werte unter 200 gingen bei mir gar nicht.
* Aber auch bei 200 hakt das Poti schon.
*/
const int SPEED = 200;
/* *************************************************************... | [
"marco.steffens@googlemail.com"
] | marco.steffens@googlemail.com |
0bbcdf4250caae7f048307edc12c581a8b448c93 | 3bc95589dbd26f2857ebe9ffbfa3d07cd490defa | /src/qt/perfectcoinaddressvalidator.cpp | bde8d895e82aa7338812399a7aece81283890185 | [
"MIT"
] | permissive | perfectcoincore/perfectcoin | 5e840973b09081845c38e26e0c6d95e95fae3389 | 32dcbae0df2798921a9752a1a1371141831f1adc | refs/heads/master | 2020-03-21T13:30:48.489603 | 2018-06-27T06:07:32 | 2018-06-27T06:07:32 | 138,610,004 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,692 | cpp | // Copyright (c) 2011-2014 The Bitcoin Core developers
// Copyright (c) 2017 The Pigeon Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "perfectcoinaddressvalidator.h"
#include "base58.h"
/* Base58 cha... | [
"webframes@gmail.com"
] | webframes@gmail.com |
1f15acd47d3140e1151a8bdb5405c21d0f8af2fe | 62d33fa0eca8c0145611cd0efe6e9c4d8bb8b378 | /Zerojudge/d460.cpp | b10c3bf528730cd94ad97bd8b4cb78670083c9ea | [
"MIT"
] | permissive | yousefalaa2021/OJ | da085e3eba1c80b7998c471bd3aed71d774985f2 | 67d1d32770376865eba8a9dd1767e97dae68989a | refs/heads/master | 2023-03-15T20:16:56.439701 | 2019-05-01T11:29:10 | 2019-05-01T11:29:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 606 | cpp | #include <iostream>
using namespace std;
int main()
{
int a=0;
while(cin >> a){
while(a<6)
{
cout<<"0"<<endl;
break;
}
while(6<=a && a<=11){
cout << "590" << endl;
break;
}
while(12<=a && a<=17){... | [
"w181496@gmail.com"
] | w181496@gmail.com |
00c0d9ff32b0e563e337b0841f9706d32f73bd4a | bac60e8c8cffdec37cb14c3c05dda19ffc164782 | /include/liblinuxpp/net/send.hpp | 1a6feb77e5302a94b65e5cfe250cbc0262b68667 | [
"MIT"
] | permissive | goodfella/liblinuxpp | 2ace9cec8d0bf7f64f908edf87e062f88fa137d6 | d00f4d17bdf3a27c9219d1b6a0b7fa23af66095b | refs/heads/master | 2022-11-07T21:57:14.869427 | 2020-07-18T23:56:15 | 2020-07-18T23:56:15 | 150,447,645 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,408 | hpp | #ifndef LIBLINUXPP_NET_SEND_HPP
#define LIBLINUXPP_NET_SEND_HPP
#include <netinet/in.h>
#include <netinet/ip.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <sys/uio.h>
#include <array>
#include <vector>
#include <libndgpp/net/ipv4_address.hpp>
#include <libndgpp/net/port.hpp>
namespace linuxpp {
namespa... | [
"goodfella005@gmail.com"
] | goodfella005@gmail.com |
0776baeabe0a7537cda892bcaef27dc3071dd9d6 | c2484df95f009d516bf042dca93857b43a292333 | /hackerrank/week34/2/main.cpp | 63e40470b2dfdb6d45205379c8cdbae0220cc7d7 | [
"Apache-2.0"
] | permissive | seirion/code | 545a78c1167ca92776070d61cd86c1c536cd109a | a59df98712c7eeceabc98f6535f7814d3a1c2c9f | refs/heads/master | 2022-12-09T19:48:50.444088 | 2022-12-06T05:25:38 | 2022-12-06T05:25:38 | 17,619,607 | 14 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 805 | cpp | #include <iostream>
#include <set>
#include <functional>
using namespace std;
bool a[1000001] = {0, }, b[1000001] = {0, };
bool exist(int gcd) {
int x(0), y(0);
int cand = gcd;
while (cand <= 1000000) {
if (a[cand]) x = cand;
cand += gcd;
}
if (x == 0) return false;
cand = gc... | [
"seirion@mensakorea.org"
] | seirion@mensakorea.org |
f6957ab8e6fb622132b9af82ca89ae4bbb5b124d | 4c23be1a0ca76f68e7146f7d098e26c2bbfb2650 | /ic8h18/0.0065/CC6H12OOH-EO2 | 60699897a8f46b7c518867425f376e794ea78795 | [] | no_license | labsandy/OpenFOAM_workspace | a74b473903ddbd34b31dc93917e3719bc051e379 | 6e0193ad9dabd613acf40d6b3ec4c0536c90aed4 | refs/heads/master | 2022-02-25T02:36:04.164324 | 2019-08-23T02:27:16 | 2019-08-23T02:27:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 846 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 6
\\/ M anipulation |
\*-------... | [
"jfeatherstone123@gmail.com"
] | jfeatherstone123@gmail.com | |
b79d04302e8dc07d74d98905578c8b41995d932f | 4bf2ee10c6594f70c32feb3bcb50eec186daa9cf | /solutions/2592/2592.cpp11.cpp | 400c654e524d86c1b4e99b7af7fb6a53eae41e5f | [] | no_license | jwvg0425/boj | 7674928dc012ba3c404cef3a76aa753828e09761 | 4b7e7389cbe55270bd0dab546d6e84817477b0f1 | refs/heads/master | 2020-07-14T02:37:36.658675 | 2017-07-13T06:11:44 | 2017-07-13T06:11:44 | 94,295,654 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 377 | cpp | #include <stdio.h>
#include <memory.h>
#include <vector>
#include <algorithm>
#include <string>
#include <iostream>
int main()
{
int sum = 0;
int count[1001] = { 0, };
int maxVal = 0;
for (int i = 0; i < 10; i++)
{
int val;
scanf("%d", &val);
sum += val;
count[val]++;
if (count[val] > count[maxVal])
... | [
"jwvg0425@naver.com"
] | jwvg0425@naver.com |
4721e4707289202ecd0229605b6ff5e45726873b | fc2d01d1afa08ffc46c23901163c37e679c3beaf | /SDK/PhysX/Include/extensions/PxFixedJoint.h | 6432de6990efb52e352c1f43e02d4309115e14f3 | [] | no_license | seblef/ShadowEngine | a9428607b49cdd41eb22dcbd8504555454e26a0c | fba95e910c63269bfe0a05ab639dc78b6c16ab8b | refs/heads/master | 2023-02-14T19:08:25.878492 | 2021-01-08T16:16:44 | 2021-01-08T16:16:44 | 113,681,956 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,438 | h | // This code contains NVIDIA Confidential Information and is disclosed to you
// under a form of NVIDIA software license agreement provided separately to you.
//
// Notice
// NVIDIA Corporation and its licensors retain all intellectual property and
// proprietary rights in and to this software and related documen... | [
"sebast.lefort@gmail.com"
] | sebast.lefort@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.