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 986
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 145
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 122
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1fb2e6d94177f241f5aacd2471c9f4865a884345 | 6868bb166c3a3e6e3e2ce0e6f7a9aef50ef0f645 | /jni/Rule_Implementor/Binary_Filter_Specification.h | 553d0a443a9b4802d9b318ff26bed26e85e69b68 | [] | no_license | JDRiley/ContactWrangler | 6a110cf2e784f4c79668bdfd1f4be913fd62b5c9 | fc384452c3affa79917cbed328173b7775c6b102 | refs/heads/master | 2020-12-11T04:12:38.538444 | 2015-03-19T20:29:26 | 2015-03-19T20:29:26 | 19,506,278 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,116 | h | #ifndef BINARY_FILTER_SPECIFICATION_H
#define BINARY_FILTER_SPECIFICATION_H
#include "Filter_Specification.h"
namespace jomike{
class Binary_Filter_Specification : public Filter_Specification{
public:
Binary_Filter_Specification(
Filter_Specification* i_left_filter, Filter_Specification* i_right_filter);
//Del... | [
"jilesione@gmail.com"
] | jilesione@gmail.com |
e752df4e5f6c5197a427cb8821b27f8b4808ec78 | 5a0031c046d1391f054bdb18fb550fd81598d7a9 | /Classes/SplashScreen.cpp | c4d0bff84d15c1ed4465d786cb188d243c474e9a | [
"MIT"
] | permissive | khanhdrag9/Cocos2dx-ICG-Nibbles | 6ab313e3ff42ea248d7023ffa4c4c0c015850524 | 7ff7cd7e335358ef3512265c58f374c92a370565 | refs/heads/master | 2020-04-05T19:23:58.098515 | 2018-11-11T23:42:58 | 2018-11-11T23:42:58 | 157,132,483 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 975 | cpp | #include "SplashScreen.h"
#include "GamePlay.h"
cocos2d::Scene* SplashScreen::createScene()
{
auto scene = cocos2d::Scene::create();
auto layer = SplashScreen::create();
scene->addChild(layer);
return scene;
}
bool SplashScreen::init()
{
if(!Layer::init())
return false;
... | [
"noreply@github.com"
] | khanhdrag9.noreply@github.com |
d818a4ca10a6af7326eca39e600f92ff79e72490 | 5c34abe10630b23da8ba7d1cbce38bda53a4b6fa | /RootAnalysis/src/RootTreeAnalysis/MuonAnalysis.cxx | da98c2435a7dbe242431b80013ed178ce0d9061f | [] | no_license | fermi-lat/GlastRelease-scons-old | cde76202f706b1c8edbf47b52ff46fe6204ee608 | 95f1daa22299272314025a350f0c6ef66eceda08 | refs/heads/master | 2021-07-23T02:41:48.198247 | 2017-05-09T17:27:58 | 2017-05-09T17:27:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 54,771 | cxx | #ifndef RootTreeAnalysis_cxx
#define RootTreeAnalysis_cxx 1
#include "MuonAnalysis.h"
#include <string>
//TObjArray tkrLayerHistArr;
UInt_t digiEventId, reconEventId, mcEventId;
UInt_t digiRunNum, reconRunNum, mcRunNum;
Short_t pdl_mpv[768];
Float_t pdl_width[768];
Float_t logPoverN_slope[96];
Float_t logP... | [
""
] | |
04381473185ec77874ed0f2d4c5dfe37bee86f9e | b6ff5e342f3675087d2704199bb5a46362b5fc20 | /1GI/S2/Programmation Orienté Objet en C++/Issam/Les ensembles/main.cpp | 8b2c64212e93788693188d02fb50a4bbd08d3046 | [] | no_license | Ssouh/EHTP | 75f5071282a1b0ed500d5c27e73b514fefe7af61 | 96558e59e398f652ae2e8a560b9dcd4ee3e8c6a8 | refs/heads/main | 2023-03-14T11:56:46.424726 | 2021-03-04T09:49:05 | 2021-03-04T09:49:05 | 330,687,825 | 0 | 0 | null | 2021-01-24T18:02:23 | 2021-01-18T14:15:22 | null | UTF-8 | C++ | false | false | 325 | cpp | #include <iostream>
#include "UnEnsemble.h"
using namespace std;
int main()
{
UnEnsemble N;
N.ajoute(5);
N.ajoute(3);
N.ajoute(1);
N.ajoute(4);
UnEnsemble Q;
Q.ajoute(1);
Q.ajoute(3);
Q.ajoute(8);
N.afficheToi();
Q.afficheToi();
cout << Q.estInclus(N) ;
return ... | [
"safi-bigg@live.fr"
] | safi-bigg@live.fr |
a0edb6635e995c317c84c656edf80166900e2a81 | 03052fe27cfc8758c078cbbf23dd6b0ea5c87e9c | /Analog_Joystick/PC_Gameport_Analog_Joystick.ino | 0909a9f9d660c8cb6704664d9bb2f31d43cf0f30 | [] | no_license | mrouillard/Arduino-PC-Gameport-HID | d741b4fbe1b0976c494abb1b068e262ed7fb1b73 | 56b31685ab2dd256ae458f984f27da2856445526 | refs/heads/master | 2021-05-28T10:21:17.625050 | 2015-03-18T07:08:50 | 2015-03-18T07:08:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,752 | ino |
// Settings
#define ENABLE_DEBUG;
// Pins
const int button0 = 7;
const int button1 = 6;
const int button2 = 5;
const int button3 = 4;
const int axis0 = A0;
const int axis1 = A1;
const int axis2 = A2;
const int axis3 = A3;
// Analog to digital
const int AXIS_MIN = 550;
const int AXIS_MAX = 1023;
const int AXIS_NUL =... | [
"vladimir.bandurka@onix-systems.com"
] | vladimir.bandurka@onix-systems.com |
13103629938a6ed4b0a21917e315570edfd93b01 | c7aac55da99b0c2fbaa67d86b6a7be604c69dc4e | /hw2-starterCode/.history/hw2_core_code/hw2_20200321013551.cpp | 943fe64705b8ef0670d6553085003ffb61ac4a6c | [] | no_license | RealZiangLiu/usc_csci420_sp20 | 76733daa3ec84d9c3283330b65ca37fda416a350 | c3a7e38d32cf1f14100512a6da23aa34673f682d | refs/heads/master | 2023-02-19T09:33:39.379731 | 2020-04-23T01:29:34 | 2020-04-23T01:29:34 | 242,432,725 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 31,715 | cpp | /*
CSCI 420 Computer Graphics, USC
Assignment 2: Roller Coaster
C++ starter code
Student username: ziangliu
ID: 9114346039
*/
#include "basicPipelineProgram.h"
#include "openGLMatrix.h"
#include "imageIO.h"
#include "openGLHeader.h"
#include "glutHeader.h"
#include <stdio.h>
#include <stdlib.h>
#include <... | [
"ziangliu@usc.edu"
] | ziangliu@usc.edu |
777aa5f04757a4f7f5adb47be60b54c105bd15a2 | 428989cb9837b6fedeb95e4fcc0a89f705542b24 | /erle/ros2_ws/install/include/rcl_interfaces/msg/dds_opensplice/ParameterDescriptor_Dcps.cpp | eed8fe2166585a92ec10dcb8b67dcd93535017aa | [] | no_license | swift-nav/ros_rover | 70406572cfcf413ce13cf6e6b47a43d5298d64fc | 308f10114b35c70b933ee2a47be342e6c2f2887a | refs/heads/master | 2020-04-14T22:51:38.911378 | 2016-07-08T21:44:22 | 2016-07-08T21:44:22 | 60,873,336 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 136 | cpp | /home/erle/ros2_ws/build/rcl_interfaces/rosidl_typesupport_opensplice_cpp/rcl_interfaces/msg/dds_opensplice/ParameterDescriptor_Dcps.cpp | [
"igdoty@swiftnav.com"
] | igdoty@swiftnav.com |
e35e072e5e7d351d4b462bc03145351920e17a74 | f267871d2ecf907d1d1e604be01d056f5ef42754 | /Player.h | e457ca57e39b05d5df40f247cec99bbc88d6ecc0 | [] | no_license | cheonjeong/-TEAM-Visual_Bat | 0b90bb22eab67f6e750639d36fc46070770ad94f | 43ac529e3c599dfadcca4021831e06845803a7e8 | refs/heads/master | 2020-08-04T04:30:18.449179 | 2019-10-12T08:42:59 | 2019-10-12T08:42:59 | 212,005,463 | 0 | 0 | null | 2019-10-01T03:28:45 | 2019-10-01T03:28:45 | null | UTF-8 | C++ | false | false | 392 | h | #pragma once
#include "Dynamic.h"
class CPlayer :
public CDynamic
{
public:
CPlayer();
~CPlayer();
private:
D3DXVECTOR3 m_vMousePos;
float m_fCamDistance;
public:
void KeyCheck();
void MouseCheck();
void SetCameraPos();
public:
virtual void SetContantTable();
public:
virtual HRESULT Initialize();
virtual vo... | [
"amorigeta+git@gmail.com"
] | amorigeta+git@gmail.com |
5c636125f4467c79b3db136276ae93dc4737f702 | 925afab438e3d3807161ff798e3f584d532ea012 | /system/file.cc | 9fd155609794ac80bf27c0461dbe64d2fe62259b | [
"MIT",
"NCSA",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gm-archive/dejavu-llvm | dd9d7326df55bbf3add222b313b0dab3bac3ddd8 | 568dfa38f226a8994d0bfc07db2cdb466db10529 | refs/heads/master | 2022-01-09T19:00:29.163035 | 2015-09-06T03:04:35 | 2015-09-06T03:04:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 582 | cc | #include <dejavu/system/file.h>
#include <sys/mman.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <cerrno>
int file_buffer::open_file(const char *path) {
int fd = open(path, O_RDONLY);
if (fd == -1)
return errno;
struct stat s;
if (fstat(fd, &s) == -1) {
close(fd);
return errno;
}... | [
"rpjohnst@gmail.com"
] | rpjohnst@gmail.com |
fa952133dce1050992cd0cb2fa4968be68c95801 | 7d211617a1d20db4eac5e3f6e9b090786f22af29 | /test/unit/winstl/time/test.unit.winstl.time.comparison_functions/implicit_link.cpp | 888914d75fad4a52d56c7ae722370e1efd636576 | [
"BSD-2-Clause"
] | permissive | synesissoftware/STLSoft-1.10-delta | b3f3f6f9b26527b9ea5a7e92b8ebfbdf381153fb | 926617f5a3468d36861eadfbdc65823f77a90e62 | refs/heads/master | 2021-01-15T15:49:31.532263 | 2019-04-16T03:01:32 | 2019-04-16T03:01:32 | 42,432,619 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 862 | cpp | /* /////////////////////////////////////////////////////////////////////////
* File: implicit_link.cpp
*
* Purpose: Implicit link file for the test.unit.winstl.time.comparison_functions project.
*
* Created: 8th April 2014
* Updated: 8th April 2014
*
* Status: Wizard-generated
*
* Lice... | [
"matthew@synesis.com.au"
] | matthew@synesis.com.au |
25781c6c16dfa887cc5a9527a529594fe89fb143 | 6f1321785ead226a5e5fef938ce61f902fe4d5f5 | /AC/316.cxx | 8e39a18d8f890b94733e9e00737a3a4cbc1ddeda | [] | no_license | ichoyjx/SGU | ac8cc0d4d69bea1315d0169e39357064c325cc72 | 51ddd2d84168e41c98ab1d7e39a00f6079f393a7 | refs/heads/master | 2021-01-23T13:48:45.614234 | 2014-02-20T06:12:18 | 2014-02-20T06:12:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 772 | cxx | #include <iostream>
using namespace std;
struct tank
{
int _hit_points;
int _score_points;
};
int main() {
int N, M;
cin >> N >> M ;
tank t[N];
int i;
for (i=0; i<N; i++) {
t[i]._hit_points = 100;
t[i]._score_points = 0;
}
for (i=0; i<M; i++) {
int shots, hits;
cin >> shots >> hit... | [
"brianyang1106@gmail.com"
] | brianyang1106@gmail.com |
125a86a5105939c87d9f4d02fcc8f321352ebdc1 | d7357af7ad304297d3913291fa8592b058f6054c | /15.cpp | fdfd51e586f1180ead1c4aa6f91380cbd77e344b | [] | no_license | ANurzhan/lab-2 | f49552ae5c3cea88aeadd01f1aa7f93e08dd6357 | 966c03520a336db4e985bceb67bd8fcca74f716a | refs/heads/master | 2021-01-12T13:53:25.580824 | 2016-09-24T04:22:49 | 2016-09-24T04:22:49 | 69,079,325 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 207 | cpp | #include <iostream>
#include <cmath>
using namespace std;
double a, b, c, l1, l2, l3;
int main () {
cin >> a >> b >> c;
l1 = sqrt(b*c*((b+c)*(b+c) - (a*a)))/(b+c);
cout << l1;
return 0;
} | [
"noreply@github.com"
] | ANurzhan.noreply@github.com |
0d6173028ed29d250e2a6a91ae546ad5bdc843b3 | 07e7958bb57d6caa25225c6bc6db2194daea671c | /spree-master/project2/Library/QHTM_FullSource1967/components/debughlp/trace.cpp | c489fa4466beef00dbfc790922a0eaa7649dc4ce | [] | no_license | pedromela/9d | 34eb86d1acc863586c8e7338fc5f5c6ccaaacaa9 | c65024fba16eca04b4eec897d312eb295ce60cfa | refs/heads/master | 2021-07-21T07:34:18.570081 | 2017-10-30T17:58:45 | 2017-10-30T17:58:45 | 108,886,922 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,930 | cpp | /*----------------------------------------------------------------------
Copyright (c) 1998-present Russ Freeman. All Rights Reserved.
Web site: http://www.gipsysoft.com/
This software is provided 'as-is', without any express or implied warranty.
In no event will the author be held liable for any damages arising from... | [
"pedro.miguel.69@hotmail.com"
] | pedro.miguel.69@hotmail.com |
60216b6a627662dbe861c275a584eee4b80d9b6d | e1d4d7dbe919bae1ae4c022292197a576ab78db6 | /include/physics/gravity.h | 405b7076218141e21922118553ee0209dabded02 | [
"MIT"
] | permissive | blurrybloop/wdgs | 1aee2a9268a57deffe25620cac5c9ebec325c9bb | 439e487a03ec9e534ae9e9c4b4a962a69ff3c6cc | refs/heads/master | 2020-07-02T17:09:46.321544 | 2019-09-28T10:38:30 | 2019-09-29T07:29:59 | 74,293,458 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 1,742 | h | #ifndef _WDGS_PHYSICS_GRAVITY_H
#define _WDGS_PHYSICS_GRAVITY_H
#include "memmng.h"
namespace WDGS
{
namespace Physics
{
struct MaterialPoint
{
glm::dvec3 worldPosition; //позиция в мировых координатах
glm::dvec3 worldVelocity; //скорость в мировых координатах
double mass; //масса
};
const int MP_... | [
"Стас@СТАС-ПК"
] | Стас@СТАС-ПК |
8da756ed26e414e5a083b73f811fb17ad3104183 | 7d3edd7f12e52839aa192a1b8fe89d1c050a2197 | /HyperPlatform/vmm.cpp | b9fe5fc5b26d01a91e9750e636762ce1bceee5dc | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | JulianVolodia/HyperPlatform | af2c5e974667417afd30944ed9b164f217d806c9 | b070cb648d30c64130a07a961a6270a946fd3ed5 | refs/heads/master | 2021-05-01T03:45:07.780326 | 2016-07-20T16:13:16 | 2016-07-20T16:13:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 44,345 | cpp | // Copyright (c) 2015-2016, tandasat. All rights reserved.
// Use of this source code is governed by a MIT-style license that can be
// found in the LICENSE file.
/// @file
/// Implements VMM functions.
#include "vmm.h"
#include <intrin.h>
#include "asm.h"
#include "common.h"
#include "ept.h"
#include "log.h"
#includ... | [
"tanda.sat@gmail.com"
] | tanda.sat@gmail.com |
7ba88dde6c449f8f2a026f99dab1cbf693db830a | 08b8cf38e1936e8cec27f84af0d3727321cec9c4 | /data/crawl/squid/hunk_2575.cpp | 8d00fe10d060238aef5483701eeb6f2467f24e5e | [] | no_license | ccdxc/logSurvey | eaf28e9c2d6307140b17986d5c05106d1fd8e943 | 6b80226e1667c1e0760ab39160893ee19b0e9fb1 | refs/heads/master | 2022-01-07T21:31:55.446839 | 2018-04-21T14:12:43 | 2018-04-21T14:12:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 131 | cpp | {
fatal ("Not implemented");
}
-
-ConnectionDetail::ConnectionDetail() : me(), peer()
-{
- fatal ("Not implemented");
-}
| [
"993273596@qq.com"
] | 993273596@qq.com |
d5f3f6cf839d7025a3d42ce2ca6eb31894dbeefc | bc16d26b3a1db2977b536dd370861e01921ee3e8 | /dune/Utilities/SignalShapingServiceDUNE.h | 26e68b9f63a6c993fc76090c6c7067a2bf689e2a | [] | no_license | jhugon/dunetpc | b6f5cb420492753b9d1890bcf526d26f7e425bb2 | 13f26ab523ff9e350f7e93a9d6e49302a2b48843 | refs/heads/master | 2020-04-12T09:41:08.977996 | 2016-09-02T00:34:26 | 2016-09-02T00:34:26 | 63,374,613 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,785 | h | ///////////////////////////////////////////////////////////////////////
///
/// \file SignalShapingServiceDUNE.h
///
/// \brief Service to provide microboone-specific signal shaping for
/// simulation (convolution) and reconstruction (deconvolution).
///
/// \author H. Greenlee (original class)
///
/// This ... | [
"dladams@bnl.gov"
] | dladams@bnl.gov |
a928999c7301b228f5b130969744e1aad58784a3 | 55b48309b6dce51e477c88aaef14e30759fd72e0 | /Examples/Sept03-Morning-Objects-Vector-Pointers/Card.cpp | 5bbf12ab2e2e7dde9d54f9368dac669c3cad6bd0 | [] | no_license | domfarolino/talaga-ds | 0e80b04d60e0fd46c85515facd08138324169343 | e5f0daff17bf3690937a81adf2a3a161dbf35a19 | refs/heads/master | 2021-01-11T00:08:15.378627 | 2015-11-20T03:05:39 | 2015-11-20T03:05:39 | 70,751,070 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 319 | cpp | #include <string>
#include "Card.h"
using namespace std;
Card::Card(){
number = 7;
suit = "Diamonds";
}
Card::Card(int number, string suit){
this->number = number; // Note
this->suit = suit;
}
// Getters
string Card::getSuit() const{
return suit;
}
int Card::getNumber() const{
return number;
}
| [
"paul.talaga@uc.edu"
] | paul.talaga@uc.edu |
e10aa1192eedcb63f1e96d75d1728e6d7c23791a | 6130baaf97d6692e462d3dc61132e2d6dc3cd92f | /Week-3/Editorials/PracticeContest_2/Problem_7.cpp | 7ebbd94375aa9b77c01905f775cc217ef8e90925 | [
"MIT"
] | permissive | tanayduggad0299/CP-Buddy-Series | d76935bc2ff8780c8147a6d5576acf233d490d13 | 29b85801f216e10e1817ce0769dd2d9d98856163 | refs/heads/master | 2022-12-25T06:59:15.494964 | 2020-10-01T05:21:22 | 2020-10-01T05:21:22 | 298,021,584 | 0 | 0 | MIT | 2020-09-23T15:56:53 | 2020-09-23T15:56:53 | null | UTF-8 | C++ | false | false | 210 | cpp | bool has_cycle(SinglyLinkedListNode* head)
{
int count=0;
while(head!=nullptr)
{
count++;
head=head->next;
if(count>1000)
return true;
}
return false;
}
| [
"noreply@github.com"
] | tanayduggad0299.noreply@github.com |
3fb2f7d87666576333b494efe8584d0e580f4d2e | 297497957c531d81ba286bc91253fbbb78b4d8be | /third_party/libwebrtc/rtc_tools/frame_analyzer/reference_less_video_analysis_unittest.cc | 4722d73561048df9021058d05d7d02a4f337c459 | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause"
] | permissive | marco-c/gecko-dev-comments-removed | 7a9dd34045b07e6b22f0c636c0a836b9e639f9d3 | 61942784fb157763e65608e5a29b3729b0aa66fa | refs/heads/master | 2023-08-09T18:55:25.895853 | 2023-08-01T00:40:39 | 2023-08-01T00:40:39 | 211,297,481 | 0 | 0 | NOASSERTION | 2019-09-29T01:27:49 | 2019-09-27T10:44:24 | C++ | UTF-8 | C++ | false | false | 1,352 | cc |
#include <vector>
#include "api/scoped_refptr.h"
#include "rtc_tools/frame_analyzer/reference_less_video_analysis_lib.h"
#include "rtc_tools/video_file_reader.h"
#include "test/gtest.h"
#include "test/testsupport/file_utils.h"
class ReferenceLessVideoAnalysisTest : public ::testing::Test {
public:
void Se... | [
"mcastelluccio@mozilla.com"
] | mcastelluccio@mozilla.com |
c5439a733cf71f826f78788c12b4e9d2a83c0159 | ed216d6af2b9e55fdf650cbf52d1754f6e653bb2 | /common/src/filesystem/VectorFileBuffer.hpp | 9f4f97da3949f470bbecf64f357c35a1dfda9c20 | [] | no_license | jessevdp/avansync | 6153350f53361671f912c18f937be18ebb06f36b | a4d43d5039b8b5cc198d952d3b838dc3cace96cc | refs/heads/main | 2023-04-21T15:26:07.837618 | 2021-05-08T16:21:28 | 2021-05-08T16:21:28 | 323,093,760 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 413 | hpp | #pragma once
#include "FileBuffer.hpp"
#include <vector>
namespace avansync
{
class VectorFileBuffer : public FileBuffer
{
private:
std::vector<char> _buffer {};
public:
VectorFileBuffer() = default;
explicit VectorFileBuffer(int capacity);
char* data() override;
[[nodiscard]] size_t s... | [
"jessevdp@hey.com"
] | jessevdp@hey.com |
cd3a35a91296a384f03847cddcb7570e2a5f7408 | 75e4cf413843a59bb030a5e9959f9fc0168d04e1 | /Parking.cpp | 37c5504b6280d0602f79e19777b60ffb04194dff | [] | no_license | SkyeFox379/Learning_C_PlusPlus | a1a3c81a2918085514f42f8046ac11ae5cda5a6d | 75d15236f60df6f7306efbb7d4826607619fad2d | refs/heads/master | 2020-03-17T04:34:52.733623 | 2018-07-06T22:13:15 | 2018-07-06T22:13:15 | 133,281,015 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 909 | cpp | #include <iostream>
#include <cmath>
#include <vector>
#include <algorithm>
using namespace std;
int walkingDistance(vector<int> stores, int len) {
int difference, distance = 0;
int k;
for(k = 0; k < len - 1; k++) {
difference = abs(stores[k] - stores[k+1]);
distance = distance + differen... | [
"skylar.hagen@trojans.dsu.edu"
] | skylar.hagen@trojans.dsu.edu |
246ce2b7ff3b0d0a59e76d449ede1ac14b11f27e | 088e589cc77aac615517697015c8af1bbacde9ef | /ball.h | 4d09a907327e534a017e7bed3aab6781e1031a3c | [] | no_license | connor226/Volleyball-game | 7734a12b81c1f17147593ad65184ce3c57dd6cac | d3e57c6468212ed4ef0802cf4e94f56663788526 | refs/heads/main | 2023-02-20T15:34:36.496056 | 2021-01-18T13:28:19 | 2021-01-18T13:28:19 | 322,568,842 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 547 | h | #ifndef INC_BITS_H
#include <bits/stdc++.h>
#define INC_BITS_H
#endif
#ifndef INC_SDL_H
#include "SDL2/SDL.h"
#include "SDL2/SDL_image.h"
#define INC_SDL_H
#endif
#define X first
#define Y second
class BALL{
public:
pair<int, int> v;
SDL_Texture *pic;
SDL_Rect model;
BALL(char side){
v = {0,0};
mod... | [
"connor.taipei@gmail.com"
] | connor.taipei@gmail.com |
38439c5074d9f89042a5dc4bc25456260db90d33 | 49ce12d85e15b5efe986ffeb18aad0c5dcdb0a79 | /clock_base.cpp | 13ca2f62e248ce2a408c1802058d57b98dd43315 | [] | no_license | MinatoOmori/educ2018_cpp | 5586e6bc353702ef54d26a6f0b84b130f6eac73a | aae0de88d967e3cc1a58cb6406f922c76167cbe2 | refs/heads/master | 2021-01-25T14:16:20.261086 | 2018-03-06T07:23:23 | 2018-03-06T07:23:23 | 123,675,207 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,097 | cpp | #include <iostream>
#include <fstream>
#include <string>
#include <stdio.h>
#include <vector>
using namespace std;
int main(int argc, char* argv[])
{
int answer[100] = {};
ifstream ifs(argv[1]);
if (!ifs)
{
cout<<"text file error."<<endl;
return -1;
}
vector<char> memory;
char tmp;
while (ifs.get(tmp))... | [
"minato@oomori-linux.westlab"
] | minato@oomori-linux.westlab |
f64d8edb42be1ec17ec2483db2de6706d4085060 | a7585b991f397ff214b256b860c23786fd50a7ac | /01.Length_Of_The_Word.cpp | aab80ba769bf673eac718aee26bdbc9a049463ac | [] | no_license | nehapandey13/Cracking-Coding-Interview | 1577bf6d057f2375ea2ce0272ea16a6e8cb41e29 | fab81bbc4c051286efcefa0924523c8d6b2d1e61 | refs/heads/master | 2023-06-30T20:29:19.291836 | 2021-08-04T20:42:00 | 2021-08-04T20:42:00 | 392,818,168 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,009 | cpp | //Problem Statement
/*Given a string s consists of some words separated by some number of spaces, return the length of the last word in the string.
A word is a maximal substring consisting of non-space characters only.
Example 1:
Input: s = "Hello World"
Output: 5
Example 2:
Input: s = " fly me to the moo... | [
"neha224229@gmail.com"
] | neha224229@gmail.com |
a99d4c0310dee36e31ac67f5afa1587e4e99bea5 | d3ca74c678dfb5d3c8de90b27abb15847ba67a0d | /cppfiles/exercise/object_oriented/ex08_abstraction_encapsulation.cpp | af2d0b21c7ee7feb0dfe27756d0b19fe9684b1f1 | [] | no_license | jsupratman13/workspace | 6807dafccc8949a54205a16a75d5e49852fa118b | 9ef4dc80b430f14f3caaca57e5eee90c919fcf9b | refs/heads/master | 2021-12-27T21:21:49.956437 | 2021-12-20T09:39:31 | 2021-12-20T09:39:31 | 28,377,814 | 0 | 0 | null | 2021-01-29T06:37:39 | 2014-12-23T04:45:40 | Python | UTF-8 | C++ | false | false | 895 | cpp | //Data abstraction: provide only essential information to oustside
//provide two advantages: prevent user leverl, implment may change without changing user-level
//seperate code to interface and implementation
//Data Encapsulation is a mechanism of bundling data and the functions that use them
//data Abstraction is a ... | [
"s1426071BL@s.chibakoudai.jp"
] | s1426071BL@s.chibakoudai.jp |
2fb0996c901c9d1314094b834c852fa5636115d0 | 95b51dac4dad8df1605113f88417bccd0e496927 | /hw0-folder/Parser/util.cpp | 3c4e80690cd148568ffbad222da94d23834e01c2 | [] | no_license | pwon111/cs171 | a0005e103e2cb480b3205e32d4167d560e727f80 | d74e94ee37928ce96c56b9b26bc3557b5827ecac | refs/heads/master | 2021-01-16T00:58:03.010373 | 2015-01-19T04:19:32 | 2015-01-19T04:19:32 | 29,453,178 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,325 | cpp | /* CS/CNS 171 Fall 2014
*
* This file contains the actual implementations of the functions in util.h.
* Right now, each function simply returns the identity matrix. You will
* fill these functions in with the proper implementations in Assignment 1.
*/
#include "util.h"
/* Gets the translation matrix for... | [
"pwon111@gmail.com"
] | pwon111@gmail.com |
47f1358a32719d378b3c37f5009d6d009c6653ba | dd04f0ee4b8d0b9e9e8db66bb8d7c0d91d2e793b | /banking_system/accountClass.hpp | 44d6882fe763e23c056ee7710b6e9cb7e411d1a0 | [] | no_license | victorvg17/cpp-projects | aedd5844f2fad263eccfdf2ed1182a3c08ccec01 | 4b5a5fb17ce452415d2fd590dc7e4878cf62ab7c | refs/heads/master | 2020-08-04T01:49:56.053097 | 2019-10-19T19:40:28 | 2019-10-19T19:40:28 | 211,960,036 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 890 | hpp | #include<iostream>
#include<fstream>
#include<iomanip>
namespace bank{
using namespace std;
/**
Account class used in the project
**/
class account{
int account_no;
char account_name[50];
int deposit;
char account_type;
public:
void create_account(); //for getting data from customer
void show_account() c... | [
"victorvg17"
] | victorvg17 |
22ee14951aefc73556c9666bd769ca8707522812 | 10aa16a8f81bf77cf0fb7abb88d962904f4d6f98 | /arcade_src/GraphicLib.h | a0398af46f1bef8a58acdefba186f62bbde695c4 | [] | no_license | qlem/Arcade | 2001b45d230f2451d2eac7a4267fb359d786ae9f | 107206b73be9afad423b6956ab6735e687584b30 | refs/heads/master | 2021-04-25T13:05:26.947427 | 2017-11-17T16:27:35 | 2017-11-17T16:27:35 | 110,548,769 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 537 | h | //
// Created by raven57 on 07/04/17.
//
#ifndef CPP_ARCADE_GRAPHICLIB_H
#define CPP_ARCADE_GRAPHICLIB_H
#include <string>
#include "../inc/IGraphic.hh"
namespace arcade {
class GraphicLib {
private:
std::string name = "";
IGraphic *graphicLib = NULL;
public:
GraphicLib();
... | [
"clement.dommerc@epitech.eu"
] | clement.dommerc@epitech.eu |
e0e5ece1d094cd8f0c83e4c59a73ee695dffcc01 | 842f2372a8f62f10e7b5f6a96a25899a08d29acd | /servers/visual/visual_server_raster.cpp | 6b74b34ba17c5a62ad7f2093df01b13132de1538 | [
"MIT"
] | permissive | DonkeyWs/godot | 1abf7ae3c4bcd23937450be548d71dc463edb967 | fa58fcb51ab784811b158658221b62ccc40f5738 | refs/heads/master | 2021-01-18T12:14:57.507900 | 2014-05-28T12:43:39 | 2014-05-28T12:43:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 154,136 | cpp | /*************************************************************************/
/* visual_server_raster.cpp */
/*************************************************************************/
/* This file is part of: */
/* ... | [
"reduzio@gmail.com"
] | reduzio@gmail.com |
aa06368413762e8558a1291364d0420ebda07c38 | 11f92a2dbc8bbdc184602f4ffbe25e407b82cf19 | /ConsoleApplication1/treeFromPreAndInTraversal.h | 4f5d33d05250aae119212da2131061108b72b7a4 | [] | no_license | ethan-was-taken/LeetCodeProblems | dd32a39725673584f1c482bf673f4cc520c03e90 | ab89a606cb4c8f8b34c173e9464527fd7126cc4e | refs/heads/master | 2020-07-15T11:32:21.215033 | 2019-08-31T14:08:24 | 2019-08-31T14:08:24 | 205,552,671 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,154 | h | #pragma once
#include <iostream>
#include <iomanip>
#include <algorithm>
#include <vector>
#include <unordered_set>
using namespace std;
struct TreeNode {
int val;
TreeNode *left;
TreeNode *right;
TreeNode(int x) : val(x), left(NULL), right(NULL) {}
};
class treeFromPreAndInTraversal {
public:
TreeNode* buildTr... | [
"ethcf@yahoo.com"
] | ethcf@yahoo.com |
2a43c5fa9173e8ce11fe7a1c078fd1613101912e | 816d47056b602635deb5190114cf4ce51a3225cb | /system/dfs/fzu2277.cpp | ca016dea54a69e85e7c7be07da68a23a93464599 | [] | no_license | yezi1000/ACM-ICPC | 284ab7ea1fd479a7ce8243bd00a3417fdcb9a93f | 905621cfa75662c4cec5410516ea228e9ca73ab4 | refs/heads/master | 2021-07-22T04:51:45.671884 | 2018-10-16T10:58:04 | 2018-10-16T10:58:04 | 132,892,581 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,707 | cpp | #include<cstdio>
#include<algorithm>
#include<queue>
#include<iostream>
#include<cmath>
#include<vector>
#include<set>
#include<stack>
#include<map>
#include<cstring>
#define eps 1e-8
#define pi acos(-1)
#define mp make_pair
#define PH push
#define pb push_back
#define PII pair<ll,ll>
#define VI vector<int>
#define fi ... | [
"30385445+yezi1000@users.noreply.github.com"
] | 30385445+yezi1000@users.noreply.github.com |
6b0f749fcf2ac1c35bc8e8b69ed8badb97aef33e | 5148fa0353d516be3ea0d7cc47020e807293e20d | /HRD Average sessions and Average Test time Table 2/percentage_reduction_table2_with_knowledge.cpp | 626ce6d084da9262690744ee651f94d390fb66ae | [] | no_license | daku5768/Pre-Bond-TSV-s-Defects | 84fda301f2aeb245ceb10183646e55bdf9d47cc3 | 6c958b7e65e9c0d79d4b9e3b27fa46baaa933a34 | refs/heads/master | 2022-12-19T10:37:49.301308 | 2020-09-20T02:36:39 | 2020-09-20T02:36:39 | 296,985,985 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 389 | cpp | #include<bits/stdc++.h>
using namespace std;
void fun(double a[],double b[])
{
for(int i=0;i<21;i++)
cout<<(b[i]-a[i])/b[i]*100<<endl;
}
int main()
{
double a[]={3,4.5,5.85,6.69,4,5.66,7.30,8.53,9.46,5,6.66,8.38,9.76,10.89,11.78,5,7.25,9.84,11.94,13.67,15.07};
double b[]={5,5.3,6.4,7.5,7,7.5,8.7,10.3,11.8,8,9.6,11... | [
"32503959+daku5768@users.noreply.github.com"
] | 32503959+daku5768@users.noreply.github.com |
1849e8638f3cdf9042c93761cbb60c99581f39ea | b01ae19d6bce9229b83d0165601719ae53ae2ed0 | /ios/versioned-react-native/ABI46_0_0/ReactNative/ReactCommon/react/renderer/components/text/ABI46_0_0BaseTextProps.h | 15f5c3a56b6078fa7f6dc810d057725860fe248b | [
"MIT",
"BSD-3-Clause",
"Apache-2.0"
] | permissive | Abhishek12345679/expo | 1655f4f71afbee0e8ef4680e43586168f75e1914 | 8257de135f6d333860a73676509332c9cde04ba5 | refs/heads/main | 2023-02-20T19:46:17.694860 | 2022-11-21T15:48:20 | 2022-11-21T15:48:20 | 568,898,209 | 1 | 0 | MIT | 2022-11-21T16:39:42 | 2022-11-21T16:39:41 | null | UTF-8 | C++ | false | false | 1,212 | h | /*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <ABI46_0_0React/ABI46_0_0renderer/attributedstring/TextAttributes.h>
#include <ABI46_0_0React/ABI46_0_0ren... | [
"noreply@github.com"
] | Abhishek12345679.noreply@github.com |
9aa80482cf884dbc1d1f561f1f86b229868ef2b3 | 8583b5bfc594b994f51d24d012e92ae66bf2e5ea | /src/BabylonCpp/include/babylon/misc/interfaces/iweb_request.h | bd6579dc0c2dbe2969068fed891c1106b9c74cd9 | [
"LicenseRef-scancode-free-unknown",
"Apache-2.0"
] | permissive | samdauwe/BabylonCpp | 84b8e51b59f04a847681a97fa6fe0a5c554e9e1f | 3dad13a666299cbcf2e2db5b24575c19743e1000 | refs/heads/master | 2022-01-09T02:49:55.057544 | 2022-01-02T19:27:12 | 2022-01-02T19:27:12 | 77,682,359 | 309 | 41 | Apache-2.0 | 2020-11-06T12:16:17 | 2016-12-30T11:29:05 | C++ | UTF-8 | C++ | false | false | 577 | h | #ifndef BABYLON_MISC_INTERFACES_IWEB_REQUEST_H
#define BABYLON_MISC_INTERFACES_IWEB_REQUEST_H
#include <string>
namespace BABYLON {
/**
* @brief Interface used to define the mechanism to get data from the network.
*/
struct IWebRequest {
/**
* Returns client's response url
*/
std::string responseURL;
/... | [
"sam.dauwe@gmail.com"
] | sam.dauwe@gmail.com |
c8c72318448de8a5ee6c528655e6e6e695ce9993 | c905612f0c6d618d7396ebfafda8fa878632d32a | /src/window.cc | 0d68af7ec2a2717870a18cf5a1aabb0ed5870ef2 | [
"MIT"
] | permissive | jube/std_hmi | 2f3878d17e7ef9c91e5c49780b02a0f0cf3ffbd9 | 08b9cb61edeb048a6a2a0b24f5c7b12c9e377852 | refs/heads/master | 2020-03-11T20:36:09.224985 | 2018-04-26T12:08:02 | 2018-04-26T12:08:02 | 130,240,947 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,537 | cc | #include <bits/window.h>
#include <cassert>
#include <atomic>
#include <iostream>
#include <SDL.h>
namespace hmi {
namespace {
Uint32 compute_sdl_flags(window_flags hints) {
Uint32 flags = SDL_WINDOW_OPENGL;
if ((hints & window_flags::resizable) != window_flags::none) {
flags |= SDL_WIND... | [
"julien.bernard@univ-fcomte.fr"
] | julien.bernard@univ-fcomte.fr |
88b82a360a3a97f1bc0e6ebf4582196073711ab7 | d7ba25c15b630b44f2904638681fd750d6006533 | /caffe2/contrib/fbcollective/vendor/fbcollective/allreduce_ring.h | 388d4cc4de32106fed3f6a60c6e08806b868f2e2 | [
"MIT",
"BSD-3-Clause",
"LicenseRef-scancode-generic-cla",
"BSD-2-Clause"
] | permissive | Mathpix/caffe2 | 6764bf51fdc1cfae37224329f50ff8aa6c3b246f | 6687f8447545250cdeb63a4a9baaa6e25c32ad0d | refs/heads/master | 2020-05-25T01:18:43.687134 | 2017-03-14T00:25:40 | 2017-03-14T00:31:43 | 84,896,813 | 1 | 0 | null | 2017-03-14T02:34:03 | 2017-03-14T02:34:03 | null | UTF-8 | C++ | false | false | 3,158 | h | #pragma once
#include <stddef.h>
#include <string.h>
#include "fbcollective/allreduce.h"
#include "fbcollective/context.h"
namespace fbcollective {
template <typename T>
class AllreduceRing : public Allreduce<T> {
public:
AllreduceRing(
const std::shared_ptr<Context>& context,
std::vector<T*> ptrs,
... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
9e5952f3839e4acbe513b24bda7923e13dd72b49 | ce161c98d5b1a69fd12b7af691709a76da55b44d | /codeforces/ABBYY_Cup_2_0_-_Easy/B1_Rectangular_Game.cpp | 24eb74409eb1d22abfa4d90a6ced375fd557ae62 | [] | no_license | cup2of2tea/CompetitiveProgramming | cb45d40ff0c27e2b9891eb135e4e5ef795014989 | eaa9bfac351c0eb909c7686534fe647c31eaac65 | refs/heads/master | 2020-09-02T07:21:18.722266 | 2019-11-02T14:30:57 | 2019-11-02T14:30:57 | 219,165,630 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 2,433 | cpp | #include <iostream>
#include <vector>
#include <algorithm>
#include <fstream>
#include <sstream>
#include <cmath>
#include <algorithm>
#include <map>
#include <cstdio>
#include <set>
#include <ctime>
#include <queue>
#include <climits>
#include <iterator>
#define MOD 1000000007
#define LOCAL
#ifdef ONLINE_JUDGE
#unde... | [
"comtealexis@gmail.com"
] | comtealexis@gmail.com |
dc57bb00818672a42b1f16ef0a18ff53e9a25a4d | c628b866346ec5c4399945f455c27160b076d927 | /Hmwrk/Assignment_4/NumDays.h | bcf05b48d9c4de4ba50a7ae6b1887acdf389fb64 | [] | no_license | NKanabolo/KanaboloNornubari_CSC17a_43950 | 6db39a08552592c84382c16191b0d7fa5b000074 | b451fed70b4b7896e6f7ee0a10fa7eeeaf79e87a | refs/heads/master | 2021-01-19T17:22:34.160749 | 2015-06-13T01:48:35 | 2015-06-13T01:48:35 | 32,039,909 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 864 | h | /*
* File: NumDays.h
* Author: Nornubari Kanabolo
*
*/
#ifndef NUMDAYS_H
#define NUMDAYS_H
class NumDays {
private:
float days; //Days of work in a 8 hour shift
float hours; //Hours worked
public:
NumDays(float); //Constructor
float getDay() ... | [
"nornkable@yahoo.com"
] | nornkable@yahoo.com |
bb0591ff133ee772e19c2c44361877f5efbcc1d4 | 89dedd7f3c7acc81d12e2bcb2e716f9af9e5fa04 | /remoting/client/chromoting_client.h | 11d4948b713a6a33fc03f6759182cdddacd4dbab | [
"BSD-3-Clause"
] | permissive | bino7/chromium | 8d26f84a1b6e38a73d1b97fea6057c634eff68cb | 4666a6bb6fdcb1114afecf77bdaa239d9787b752 | refs/heads/master | 2022-12-22T14:31:53.913081 | 2016-09-06T10:05:11 | 2016-09-06T10:05:11 | 67,410,510 | 1 | 3 | BSD-3-Clause | 2022-12-17T03:08:52 | 2016-09-05T10:11:59 | null | UTF-8 | C++ | false | false | 5,463 | h | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// ChromotingClient is the controller for the Client implementation.
#ifndef REMOTING_CLIENT_CHROMOTING_CLIENT_H_
#define REMOTING_CLIENT_CHROMOTING_... | [
"bino.zh@gmail.com"
] | bino.zh@gmail.com |
d295d7089cf18df163981b409c8b23f41d213ade | 6411864368e4dd44d3f968bb0aa0de15bb80efe1 | /TurtleTank_codes/PaintControll_full_functionallities/PaintControll_full_functionallities.ino | 1e1c9937c777ad9da74700940d1f1fc804db436a | [] | no_license | DjPitti/G565-TurtleTank | 0d9408975afdb55a9d7d25f15e00801952fb697f | 7abb66b92d3965cace85ab1dcc9a2304166c61dc | refs/heads/master | 2023-02-04T18:07:35.873598 | 2020-12-20T12:47:17 | 2020-12-20T12:47:17 | 323,061,078 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,788 | ino | //paintcontroll with ros and the functions
// version 2.1
// ros lib
#include <ros.h>
#include <std_msgs/String.h>
#include <std_msgs/Int8.h>
//servo lib
#include <Servo.h>
// pin
int valve_pin = 4;
int pump_pin = 3;
//variables
bool paint_guard_state = false;
bool valve_state = false;
bool pump_state = false;
// s... | [
"per.daetz@live.de"
] | per.daetz@live.de |
4f1c5b1dcd11daeb2440be4bfa94bc87f59fb0b9 | 76546b84214220c449f2f27ac9a1d79f9bbd1195 | /jrtplib/test1/simpletest.cpp | 16e3644a202b948f15cdc5a211724227bbb80942 | [] | no_license | bomoer/bkvoice | b548ade9a0bc9410c56daf65316086bbebf65432 | f9890c6406ca9a3d73a8529a27b3800d0ce6f558 | refs/heads/master | 2020-07-21T21:50:22.188734 | 2012-10-25T16:04:21 | 2012-10-25T16:04:21 | 33,157,995 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,229 | cpp | #include "rtpsession.h"
#include "rtpsessionparams.h"
#include "rtpipv4address.h"
#include "rtppacket.h"
#include "rtpudpv4transmitter.h"
#include <netinet/in.h>
#include <arpa/inet.h>
#include <unistd.h>
#include <stdio.h>
#include <sys/soundcard.h>
#include <sys/ioctl.h>
#include <fcntl.h>
#in... | [
"qq271885846@ed4c09e6-f5e8-dd9c-d1e1-30c58becc500"
] | qq271885846@ed4c09e6-f5e8-dd9c-d1e1-30c58becc500 |
9954f03bbf033784e78e5bd67f7caf3e94cddafd | fa1b2b76f7326904ad24fee3aade28a4cb8df647 | /mainTerm.cpp | 1a7a8a5df0027644600502227cdd2bd4c5d8ae3d | [] | no_license | t105598072/posd-hw1 | ad6ee182d2876c5cb0e593c37c8f16f93cdb3b9d | f8c36213f88f1dd648f14bcb4e29354e023c3db9 | refs/heads/master | 2021-07-19T22:35:21.233180 | 2017-10-27T11:52:40 | 2017-10-27T11:52:40 | 104,291,725 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 174 | cpp | #include <gtest/gtest.h>
//#include "utTerm.h"
#include "utVariable.h"
int main(int argc, char **argv){
testing :: InitGoogleTest(&argc, argv);
return RUN_ALL_TESTS();
}
| [
"noreply@github.com"
] | t105598072.noreply@github.com |
fc1c317e4bb93733b16af5571d9163eacc6e4b20 | 88a2494bbee50a962c000900f94440324f6a2db2 | /Data Structures/Arboles Avl/Practica5Avl/Practica5Avl/Practica5Avl.cpp | 56b5f828ba8c96dfade0e1c87b114c0706004eea | [] | no_license | manugarcia101/Cplusplus | c8bcad28612f0cc4b5e1a9f4103ea00d3e4d7ba0 | 9e5308a5e00dc7e3460c6896fa21bfd7a9f0c9c9 | refs/heads/master | 2020-03-19T04:28:28.212755 | 2018-06-07T17:49:09 | 2018-06-07T17:49:09 | 135,832,739 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,615 | cpp | // Practica5Avl.cpp: define el punto de entrada de la aplicación de consola.
//
#include "stdafx.h"
#include "TextoPredictivo.h"
#include <ctime>
#include <chrono>
#include <iostream>
#include <chrono>
#include <string>
#include <stdexcept>
int main()
{
std::cout << std::endl;
std::cout << "INICIO DEL PROGRAMA " <<... | [
"manugarcial96@gmail.com"
] | manugarcial96@gmail.com |
088688faaa6612e2810a6997f7d05c49c23d824e | 458b1808572fa333f3e193e10232b3e5b650b30e | /dbms/programs/performance-test/PerformanceTestInfo.h | b5e2f0c0ac1b847b4cf3b3811ad0d63afd5f6f50 | [
"Apache-2.0"
] | permissive | liang0/ClickHouse | b5c3e9e923ae9ae8640fdde26ea1724462962c30 | 6db73152d2e1b7b35a03b7e146549dd84fe2992d | refs/heads/master | 2020-04-27T23:50:17.071538 | 2019-03-10T03:16:51 | 2019-03-10T03:16:51 | 174,792,462 | 1 | 0 | Apache-2.0 | 2019-03-10T07:41:02 | 2019-03-10T07:41:02 | null | UTF-8 | C++ | false | false | 1,492 | h | #pragma once
#include <string>
#include <vector>
#include <map>
#include <Interpreters/Settings.h>
#include <Poco/Util/XMLConfiguration.h>
#include <Poco/AutoPtr.h>
#include "StopConditionsSet.h"
#include "TestStopConditions.h"
#include "TestStats.h"
namespace DB
{
enum class ExecutionType
{
Loop,
Once
};
us... | [
"alesapin@gmail.com"
] | alesapin@gmail.com |
995293ac4cf8eaf5f6e32a4aa0d3287c43939584 | 4394331a19b099681b0738e02e7f0a2f0713e95d | /libmediainfo_0.7.82/MediaInfoLib/Source/MediaInfo/MediaInfo_Config_MediaInfo.cpp | 217036e4db4b2e9d7a7a1a7f89ded5d75261550f | [
"BSD-2-Clause",
"LicenseRef-scancode-unknown-license-reference",
"NCSA",
"Zlib",
"curl"
] | permissive | OLEG4120/MediaInfoCLI-android | b986f2a3a74d502ecfe8c106d0f026082411bca7 | 94cf4fd1edc9b7b9912d56976f1b4b025dfe6119 | refs/heads/master | 2021-01-10T16:00:28.266042 | 2016-01-28T06:44:05 | 2016-01-28T06:44:57 | 50,170,254 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 97,322 | cpp | /* Copyright (c) MediaArea.net SARL. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license that can
* be found in the License.html file in the root of the source tree.
*/
//---------------------------------------------------------------------------
// Pre-compilation
#inclu... | [
"oleg02007@gmail.com"
] | oleg02007@gmail.com |
ada79ab51b23f8db4ef5d46826ae9728b50bf9ed | 06ba1133cc3e93ef31f1456761678b48ed5dc09d | /Assignments/01_variable_operator_expression/Set_1/07.cpp | 2bd394855ad18cedaf6135476d070449473d8d13 | [] | no_license | uhdang/cppforschool | 9c1991712534c7b61ed1173b312b774785a9ef3b | 75ff692f5fef3e3737b22b24ce2cf9416db24210 | refs/heads/master | 2020-03-20T10:48:28.201496 | 2018-07-10T21:12:09 | 2018-07-10T21:12:09 | 137,385,071 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 270 | cpp | #include <iostream>
using namespace std;
int main() {
int a, b, c;
cout << "BEFORE\n";
cout << "a: ";
cin >> a;
cout << "b: ";
cin >> b;
c = a;
a = b;
b = c;
cout << "AFTER\n";
cout << "a: " << a << " b: " << b << "\n";
}
| [
"uhdang@gmail.com"
] | uhdang@gmail.com |
f35a9b74592c2d58f59f29dda0a0673ae96ca088 | 4d2c81684ead286b5e4db9af29814f20accef5df | /coral/PyCoral/src/IConnectionServiceConfiguration.h | a8da0b79484d5c585f091f626bbb60806e303a53 | [] | no_license | Teemperor/cms-externals | e0e1c33b9cc745b630e11a5e67ec68b257f5261a | 119a977641d34c29a01826c68e8384f97789efaa | refs/heads/master | 2021-08-30T20:14:39.551206 | 2017-12-19T08:52:17 | 2017-12-19T08:52:17 | 114,741,614 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 610 | h | #ifndef PYCORAL_ICONNECTIONSERVICECONFIGURATION_H
#define PYCORAL_ICONNECTIONSERVICECONFIGURATION_H
#ifdef _DEBUG
#undef _DEBUG
#include "Python.h"
#define _DEBUG
#else
#include "Python.h"
#endif
namespace coral {
class IConnectionServiceConfiguration;
namespace PyCoral {
typedef struct {
PyObject_HE... | [
"teemperor@gmail.com"
] | teemperor@gmail.com |
a101d550f4a8cfac8ea020486819f319e60609a2 | 89dedd7f3c7acc81d12e2bcb2e716f9af9e5fa04 | /chrome/browser/plugins/plugin_observer.h | 110f777ffff52dc5ccb61d0f8e246757be1a2a41 | [
"BSD-3-Clause"
] | permissive | bino7/chromium | 8d26f84a1b6e38a73d1b97fea6057c634eff68cb | 4666a6bb6fdcb1114afecf77bdaa239d9787b752 | refs/heads/master | 2022-12-22T14:31:53.913081 | 2016-09-06T10:05:11 | 2016-09-06T10:05:11 | 67,410,510 | 1 | 3 | BSD-3-Clause | 2022-12-17T03:08:52 | 2016-09-05T10:11:59 | null | UTF-8 | C++ | false | false | 2,654 | h | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_PLUGINS_PLUGIN_OBSERVER_H_
#define CHROME_BROWSER_PLUGINS_PLUGIN_OBSERVER_H_
#include <memory>
#include <string>
#include "ba... | [
"bino.zh@gmail.com"
] | bino.zh@gmail.com |
acb2c459c681ef0dd88c6b6f1ad3e2c8fb56d2c8 | d13b7683011850824f955745bbe104e1fd1c3c4b | /small-and-simple-programs-in-qt/peoples-survival-qt/peoples-survival/people.h | e1b68debfec787048fe4a858e506fbca298d1aaf | [
"MIT"
] | permissive | gusenov/examples-qt | 44a51f7a843ffcecc996392a812e2c026e9c706c | 083a51feedf6cefe82b6de79d701da23d1da2a2f | refs/heads/master | 2022-04-30T05:12:04.066992 | 2022-04-13T03:53:17 | 2022-04-13T03:53:17 | 129,376,220 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 804 | h | #ifndef PEOPLE_H
#define PEOPLE_H
#include "parameter.h"
// Класс представляющий собой численность населения:
class People : public Parameter // унаследован от Parameter.
{
// Публичные члены класса:
public:
People(int numberOfPeople);
// Виртуальная функция, которая возвращает баллы:
v... | [
"gusenov@live.ru"
] | gusenov@live.ru |
25d3b41b7c27db0936b159ad00436d4881bc8625 | 4643c73ef1a3da091f61dc6a189fee897b015ca5 | /include/nekit/utils/http_message_rewriter_interface.h | a1fc9239173a0728ce82191e29376a2207314091 | [
"MIT"
] | permissive | edsburke/libnekit | 604123b8a53a291c7d50b063fdebd3ec49266885 | 19e6767c522a20f678ab73f31aab7504c42013a6 | refs/heads/master | 2020-04-11T02:01:36.124112 | 2018-10-10T16:01:11 | 2018-10-10T16:01:11 | 161,433,129 | 1 | 0 | MIT | 2018-12-12T04:33:12 | 2018-12-12T04:33:12 | null | UTF-8 | C++ | false | false | 1,369 | h | // MIT License
// Copyright (c) 2018 Zhuhao Wang
// 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, mer... | [
"zhuhaow@gmail.com"
] | zhuhaow@gmail.com |
21f328e4a375b752d3573244587b9bf0bf8f0a80 | 927d718336c3df467d70d517a94dc8ccafdcd298 | /llvm/lib/CodeGen/ShrinkWrapping.cpp | 2b01fdd8d06628dcf3010db254ae3c726c68bc3e | [
"NCSA"
] | permissive | rofl0r/ellcc | 3f54f0e9614d0920d8b648b64048a383c7304b3d | a40bd7b9d4a74992c4ac8273e44ecee44241ebde | refs/heads/master | 2021-01-19T08:46:05.647311 | 2013-09-29T13:12:16 | 2013-09-29T13:12:16 | 4,942,860 | 6 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 40,263 | cpp | //===-- ShrinkWrapping.cpp - Reduce spills/restores of callee-saved regs --===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | [
"rich@ellcc.org"
] | rich@ellcc.org |
003907992f5fa3f454e66bbaceebb0fcd0b11db9 | a1b98c95fb5361aa9a96ccefbbef3654509c59fd | /Chapter_05/exercise_16c.cpp | 7d5eee8ec739dda30290f061617a0261950818c0 | [] | no_license | ZoroOP/CppPrimer | 121bcafd6852c583fd773c6c78dccfd5f6952f09 | a28f0b3f2ffb57dc9c38b9a5c173e375f7944db6 | refs/heads/master | 2020-07-17T07:14:57.027588 | 2017-10-13T11:27:25 | 2017-10-13T11:27:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 943 | cpp | // The `while` loop is particularly good at executing while some condition
// holds; for example, when we need to read values until end-of-file. The
// `for` loop is generally thought of as a step loop: An index steps through
// a range of values in a collection. Write an idiomatic use of each loop
// and then rewrite ... | [
"adobrich@internode.on.net"
] | adobrich@internode.on.net |
b87cfd7b7b085221fc14dd8833c09d3e95c6d70e | 7a0faa9b4c654fc8ca9d7b432cc56ef0f4102339 | /XBee/setup/bearing.cpp | a10f11438ef85f26df0159ba4c92a479fc7bc6ee | [] | no_license | linoor/MecatroMouve | e47db1981b39d9fcf444e9decc157d63553ddccc | a5398f11818fe4d1b691ed21abef7b59836fa7c9 | refs/heads/dev | 2020-05-18T05:09:09.852098 | 2015-12-26T13:40:56 | 2015-12-26T13:40:56 | 25,122,445 | 0 | 0 | null | 2015-05-28T14:56:42 | 2014-10-12T14:57:46 | Arduino | UTF-8 | C++ | false | false | 2,220 | cpp | // #define PI 3.141592654
// this is not the real angle but a cache of the last result from computeBearing
double bearingOrig;
// each turn should be multiply by 360
int cameraTurns = 0;
// compute the bearing angle of loc1 and loc2
// loc1: received gps = target
// loc2: my gps = camera
double computeBearing(int32_... | [
"wf870125@gmail.com"
] | wf870125@gmail.com |
3abd398d6d08eda409681482ff1a09e48ea8e96c | f1fb2d200242dbf3c3842e212a8aa3f9b674f045 | /Source/Server Side/GameServer/Attack.cpp | ee3af268c496a16332a617b36481d844bc18c759 | [] | no_license | ptr0x-real/xMuPP | 28909cda09b3c7d336a9e4c6e7125be3a0d76fb2 | 0f563add302530c8497ef70139129d7f5f5fd987 | refs/heads/master | 2023-01-11T15:21:29.680314 | 2023-01-08T10:52:58 | 2023-01-08T10:52:58 | 294,630,244 | 3 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 81,875 | cpp | // Attack.cpp: implementation of the CAttack class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "Attack.h"
#include "BattleSoccerManager.h"
#include "CastleSiege.h"
#include "ChaosCastle.h"
#include "Crywolf.h"
#include "CustomArena.h"
#include "CustomWing.h"
... | [
"ptr0x@live.com"
] | ptr0x@live.com |
a37b60dbc706ca304a302392b4d360cd980ac515 | 2e613efc5a3b330f440a2d90bb758dafbdf8f6b1 | /src/rect.cpp | 1e2e8cb79aa9c6fb72964a03eedb82f0bbdf6cb9 | [] | no_license | zhaoweisonake/qfplot | 4a76d446aebfddce4bf8a51c709a815f35ca76d2 | e30d851261f3987a42319ff98def23771adb24bd | refs/heads/master | 2021-01-18T12:31:07.049737 | 2010-05-17T09:29:11 | 2010-05-17T09:29:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 239 | cpp | #include "rect.h"
void Rect::expand( const QPoint& point )
{
setLeft ( qMin(point.x(), left() ) );
setRight ( qMax(point.x(), right() ) );
setTop ( qMax(point.y(), top() ) );
setBottom( qMin(point.y(), bottom()) );
};
| [
"akhokhlov@localhost"
] | akhokhlov@localhost |
1d22771f38c5cd34884567aa39ffddb6fd06eeab | 1bafb0727799fba7cce07af2662aca8212d6a2b7 | /src/simulation.cpp | d52235e1f54eed6f33425385fc7342747ee0de9c | [] | no_license | bpatmiller/apic | 86c818657f1db9bc9f69590f5259b19ceb5653ff | ba2a35b6a2bf508d1ca5ec9d9a7c504291bba160 | refs/heads/master | 2020-05-31T05:43:11.899849 | 2019-06-30T19:14:00 | 2019-06-30T19:14:00 | 190,124,695 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 13,501 | cpp | #include "simulation.h"
// given a position, return the trilinear interpolation
// of the velocity field at that position
glm::vec3 Simulation::trilerp_uvw(glm::vec3 p) {
glm::ivec3 index;
glm::vec3 coords;
glm::vec3 result;
// u
position_to_grid(p, U_OFFSET, index, coords);
result.x = grid.u.trilerp(index... | [
"brendanmiller.ca@gmail.com"
] | brendanmiller.ca@gmail.com |
3f058328b42bbd55abf0a99ffe4497e2bc9d8502 | 635312424a780e2adac206c27ed4c7676f58922d | /src/Mixtures/IsentropicMix.inl | 24b7c4f5089317d8cb369d389cc0d8e439726010 | [] | no_license | stanfordhpccenter/HTR-solver | aa5a50bafdc9df72f79db7c8532a1ffdf98d7fca | 328f84270ce26b83e4c7a4e75c0681a129a48bda | refs/heads/master | 2022-10-22T18:53:07.524136 | 2022-08-04T07:46:56 | 2022-08-07T04:44:06 | 249,679,563 | 59 | 21 | null | null | null | null | UTF-8 | C++ | false | false | 6,074 | inl | // Copyright (c) "2019, by Stanford University
// Developer: Mario Di Renzo
// Affiliation: Center for Turbulence Research, Stanford University
// URL: https://ctr.stanford.edu
// Citation: Di Renzo, M., Lin, F., and Urzay, J. (2020).
// HT... | [
"direnzo.mario1@gmail.com"
] | direnzo.mario1@gmail.com |
dc82b5eacce5d4c3eacb2703360906230fdc8f8c | e53c5c14357ed2ccc1403a80181325f15f8ddee4 | /Canvas/Src/AiBots/Core/Math/Transformations.h | 540c77c93bd6c8cab84e99a4a7c31ac7fc0cc512 | [] | no_license | XoDeR/2DVectorRenderingAndGui | 13820817c2dd3456f992eee08edcfd88be2b5208 | 5a6e9629cb05c5145883b5a3c21e4fdebbae74ab | refs/heads/master | 2020-12-25T14:38:15.558279 | 2016-08-28T13:12:48 | 2016-08-28T13:12:48 | 66,783,536 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,376 | h | #pragma once
#include <vector>
#include "Vector2.h"
#include "Core/Math/Matrix3x3.h"
#include "Transformations.h"
// TODO remake to TransformSystem
//------------------------------------------------------------------------
// Functions for converting 2D vectors between World and Local space.
//--------------------... | [
"xoder.vs@gmail.com"
] | xoder.vs@gmail.com |
680ce5c57e8b1e4d009c838ecec145a98f7c973e | c952a9dfde3ee42f919db607e05b06166ac5e0b9 | /codeforces/1512/E.cpp | 5429d52519176dceca7337727b00334ea6b06e75 | [] | no_license | ntloi95/Codeforces | 1afaa753e3c84752907fb2e8bb79b0d1fc4e1a1b | 3fab8d5a0d00cafc74e392f1db6ee20b9e68d1d1 | refs/heads/master | 2023-05-23T17:51:47.532503 | 2021-06-26T07:59:47 | 2021-06-26T07:59:47 | 335,175,316 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,612 | cpp | #include <bits/stdc++.h>
#define ll long long
#define ii pair<int, int>
#define fi first
#define se second
#define multitest \
int t; \
cin >> t; \
while (t--)
using namespace std;
const int N = 50;
int main()
{
ios::sync_with_stdio(false);
multitest
{
int n, l, r, s;
... | [
"ntloi95@gmail.com"
] | ntloi95@gmail.com |
db06fe80c34dbd10473693540fc57594074735d2 | c7dd979ff5cdb4f3c47dab7db4a3d28ebc60bf9e | /src/Trainers/TrainerFactory.cpp | f263aea5914029c5e6dad33da68a520d2c236ed5 | [] | no_license | chenghuige/melt-train | 5a8dfd76f314487ac6f9b59e35ded5874c89221d | 0968d6b43687019200f9113c4e9d44c10758f203 | refs/heads/master | 2021-01-20T01:53:36.762274 | 2016-11-08T15:36:53 | 2016-11-08T15:36:53 | 101,304,288 | 2 | 1 | null | null | null | null | GB18030 | C++ | false | false | 6,411 | cpp | #include "MLCore/TrainerFactory.h"
#include "Trainers/SVM/BaseLineLinearSVM.h"
#include "Trainers/SVM/LinearSVM.h"
#include "Trainers/Gbdt/BinaryClassificationGbdt.h"
#include "Trainers/RandomTrainer.h"
#ifdef MELT_USE_THIRD_PARTY
#include "Trainers/VWTrainer.h"
#include "Trainers/SofiaTrainer.h"
#include "Trainers/Lib... | [
"chenghuige@c4ccc3fd-b13d-49bf-a705-f618d8f4424a"
] | chenghuige@c4ccc3fd-b13d-49bf-a705-f618d8f4424a |
beb0af9d7aeb990b4a9e1c6ced973969b6b09834 | 4617a38c493af2df4d8549cb60bd8822903fb589 | /disor/cifrado/escritorio/codigo/C++/cifrador.h | 8a945439d32c4295a73601add5a3e5e20177ebbe | [] | no_license | JuarezGomezItzel/disor | 6b33d17e33599a9cb050fd588efa4c2f4de82ee0 | d48fed19f4cbb710633499030e670e0f3571281a | refs/heads/master | 2020-04-11T17:10:04.301765 | 2018-12-16T04:56:52 | 2018-12-16T04:56:52 | 161,950,285 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 973 | h | #ifndef CIFRADOR_H
#define CIFRADOR_H
#endif // CIFRADOR_H
#include <iostream>
#include "abecedario.cpp"
using namespace std;
class Cifrador
{
public:
int indice=0;
char c;
//char abecedario;
char Cifrar(int desplazamiento,char caracter);
private:
int buscarPosicion(char caracter, ... | [
"noreply@github.com"
] | JuarezGomezItzel.noreply@github.com |
785bdf0998459315fab11dfcb5dbca8473756216 | 995310a5ed19946037e928f9a85bae908694c8fe | /src/eloquent/vision/camera/esp32/eye/gray/vga.h | 77b0052ec0851bbd696712bf75acc8cbb2d17ea0 | [] | no_license | eloquentarduino/EloquentArduino | bca073e19af3e9cc5c7f135719cd026631277744 | 15983e68cf82c54afadaf2b6c8fdc95cad268489 | refs/heads/master | 2022-08-26T07:07:02.235025 | 2022-08-21T12:24:04 | 2022-08-21T12:24:04 | 227,818,265 | 162 | 57 | null | 2021-01-07T18:33:09 | 2019-12-13T10:49:33 | C++ | UTF-8 | C++ | false | false | 1,356 | h | //
// Created by Simone on 31/03/2022.
//
#pragma once
#include "../../../../../macros.h"
#include "../../../../image/gray/vga.h"
#include "../../pins/eye.h"
#include "../../BaseEsp32Camera.h"
namespace Eloquent {
namespace Vision {
namespace Cam {
namespace Esp32 {
/**
... | [
"eloquentarduino@gmail.com"
] | eloquentarduino@gmail.com |
a679acb7e786b37ccff6d3316674be93bf08967d | 75e45b0fd5682580cf5c0c0a97f90c7dafc58955 | /PA7/src/bmploader.cpp | 5e098c2c9f08008dace9ab4175bb86cf5bfb19d0 | [] | no_license | seanpatrickmcdonald/cs480McDonald | 604498ee74e017d61081705a25cab937fa2c9992 | 21bfe90081252fa89652bafc019d9060e801c8d5 | refs/heads/master | 2021-03-30T12:37:57.195732 | 2017-12-18T17:41:11 | 2017-12-18T17:41:11 | 101,669,156 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,377 | cpp | #include "bmploader.h"
#define STB_IMAGE_IMPLEMENTATION
#include "stb_image.h"
BMPLoader::BMPLoader()
{
}
BMPLoader::~BMPLoader()
{
delete[] data;
}
int BMPLoader::loadFromFile(std::string filename)
{
/*
std::fstream filestream;
filestream.open(filename, std::ios::in);
if(!filestream)
... | [
"spmcdonald@nevada.unr.edu"
] | spmcdonald@nevada.unr.edu |
160d6d16d723b7a9f7cce19dff79a6e4c3d25de9 | 2b8fb66ed7fe286420b409a09d9cea55e20430da | /qt/src/threads_tests/thread.cpp | cfe82a0d454e4a185ae041b69f9fb4148da62bc8 | [] | no_license | marvinfy/Trainings | 3826c9097210c669cf1298d2bccc86fcfa8ef3a5 | d1caaf8ac972bb2a695c07af4f722fdcb7ef293f | refs/heads/master | 2021-01-01T15:15:55.450954 | 2012-12-15T20:12:23 | 2012-12-15T20:12:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 213 | cpp | #include "thread.h"
#include <iostream>
extern bool g_stop;
MyThread::MyThread()
{
}
MyThread::~MyThread()
{
}
void MyThread::run()
{
while (true)
{
std::cout << g_stop << std::endl;
}
}
| [
"curso1@ubuntu.ubuntu-domain"
] | curso1@ubuntu.ubuntu-domain |
1438d0bcbcbae4f570a08c51c01fedbb935a0a6d | 75acc74e3c0a3105c713829af7231073140dd263 | /cppsrc/StarQuant/Data/tickwriter.h | 295df802e86d8876bfe6e1b37de6756435fd833b | [
"Apache-2.0"
] | permissive | yssource/starquant | 6333913ff58ba9470ed7eb7accf0f76ee3c40182 | ab20c8ee23397f33258df8c6f29f8377ce5d3688 | refs/heads/master | 2020-05-04T17:42:40.691854 | 2019-04-03T15:25:31 | 2019-04-03T15:25:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,462 | h | #ifndef __StarQuant_Data_TickWriter_H__
#define __StarQuant_Data_TickWriter_H__
#include <condition_variable>
#include <mutex>
#include <Common/config.h>
#include <Common/timeutil.h>
#include <Common/getRealTime.h>
#include <bson.h>
#include <bson/bcon.h>
#include <mongoc.h>
#include <time.h>
using std::mutex;
////... | [
"dr.wb@qq.com"
] | dr.wb@qq.com |
131fffb9154c8f51afbf50fdfeec218e9dce8102 | 1c390cd4fd3605046914767485b49a929198b470 | /PE/181.cpp | 9f1e7f60233d46123971bf42549bfe7249c44641 | [] | no_license | wwwwodddd/Zukunft | f87fe736b53506f69ab18db674311dd60de04a43 | 03ffffee9a76e99f6e00bba6dbae91abc6994a34 | refs/heads/master | 2023-01-24T06:14:35.691292 | 2023-01-21T15:42:32 | 2023-01-21T15:42:32 | 163,685,977 | 7 | 8 | null | null | null | null | UTF-8 | C++ | false | false | 363 | cpp | #include <bits/stdc++.h>
using namespace std;
long long f[100][100];
int main() {
int n = 60;
int m = 40;
f[0][0] = 1;
for (int i = 0; i <= n; i++) {
for (int j = (i == 0); j <= m; j++) {
for (int k = 0; k + i <= n; k++) {
for (int l = 0; l + j <= m; l++) {
f[k + i][l + j] += f[k][l];
}
}
}
... | [
"wwwwodddd@gmail.com"
] | wwwwodddd@gmail.com |
ef0ee8f3584f1045dde41db9ea6405482341e996 | 54ad439992b8c07ddd0adb8a56588b392ebae14c | /Engine/Engine/input.h | ce3a4813c57850c2e0dc4301dae4018f669cbb73 | [] | no_license | ZSnowbank/opengl-template | 53b444783c9478f0eb02f8f9acde707dc9f7e134 | 9e5a5b2fe02fe9f2c153cec4b22c88bb348fc8e4 | refs/heads/master | 2021-07-11T10:33:42.812225 | 2017-10-12T06:48:34 | 2017-10-12T06:48:34 | 105,852,043 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 152 | h | #pragma once
#include "system.h"
class Input :
public System
{
public:
Input();
~Input();
bool Initialize();
void Shutdown();
void Update();
};
| [
"ZSnowbank@student.neumont.edu"
] | ZSnowbank@student.neumont.edu |
73c30662b4dffaa1c56288834a5692f3e1a3cd84 | 5d57d9e0f40f5313b3951ab236ae27bf8e365f44 | /Jeju Run/Timer.cpp | 1f2cedf958579972e09a0a6b1ccdc86a3f415f66 | [] | no_license | Nocha12/Jeju-Run | ec85ceda3d0ed59fd55914567e6779e22c1e5c2d | 91b6947d4683a519c6ebd34202e48fde2ef15d17 | refs/heads/master | 2020-03-28T08:07:31.929890 | 2018-09-08T15:42:29 | 2018-09-08T15:42:29 | 147,946,021 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 566 | cpp | #include "DXUT.h"
#include "Timer.h"
#include "World.h"
Timer::Timer() : active(false)
{
world.timers.push_back(this);
onTick = [](){};
onFin = [](){};
}
Timer::~Timer()
{
world.timers.remove(this);
}
void Timer::reset(float d, int c)
{
duration = pair<float, float>(0, d);
count = pair<int, int>(0, c);
active... | [
"jsyang789@gmail.com"
] | jsyang789@gmail.com |
f88b8fdea4b230885967912db0d029dea4134239 | 9d929cc18fbc2fc7f06b083d9ab24a9207f89c65 | /Common/GLArray2D.h | 872fbc5fd901ea1fccb90fffb178779e9893a0db | [] | no_license | nhubd/SqueezeImg | ad41107cda0a94bcc8e11affd95f08aab8638163 | a416e4087cb0cdaa75a5f78b64e07f2c2550da65 | refs/heads/main | 2023-05-20T00:12:25.543541 | 2021-06-07T03:02:14 | 2021-06-07T03:02:14 | 374,248,990 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,957 | h | #pragma once
namespace GLC {
template <typename T>
class CGLArray2D {
public:
CGLArray2D(int nRows, int nColumns);
virtual ~CGLArray2D();
int GetWidth() const { return m_nColumns; }
int GetHeight() const { return m_nRows; }
inline T& Value(int nRow, int nColumn);
inline const T& Value(int nRow, int nColumn) c... | [
"nikolay.huber@googlemail.com"
] | nikolay.huber@googlemail.com |
530249ba8287045d79c1520dbfb47be2a284b8df | 94f0dbd128a4a4cce88906f33b9bc01c46acfc24 | /modules/drivers/radar/conti_eth_radar/driver/input.h | bb860113c77e0832e97b53a0e898f2163957298e | [
"Apache-2.0"
] | permissive | viks8dm/apollo | 8973237a442e28d85bf427f9a99800750839346d | 1db6b6b313f3b7c7b728b9316a5040231614f121 | refs/heads/master | 2020-05-24T05:11:05.836149 | 2019-06-13T21:52:31 | 2019-06-13T21:52:31 | 187,106,437 | 0 | 0 | null | 2019-05-16T21:55:56 | 2019-05-16T21:55:56 | null | UTF-8 | C++ | false | false | 1,560 | h | /******************************************************************************
* Copyright 2019 The Apollo Authors. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
... | [
"vikalp.mishra@gmail.com"
] | vikalp.mishra@gmail.com |
c65a4571a390b288ddf28070e387a1ae7a573385 | 2ed433b2f977c229fd75dff0f7f8484d816d7498 | /v110/base_class_110.h | ad715f95bfb32cd0c0f4a9283ab1ac5942e6f02f | [
"MIT"
] | permissive | glensand/visual-studio-compatibility | 3e138f1a523b9ddcccdb36e778388119c3c9211a | 7a7c7953bd4f7b8cf16485e66a90c966c8b1f829 | refs/heads/master | 2023-07-01T16:29:14.265710 | 2021-07-29T08:42:48 | 2021-07-29T08:42:48 | 249,183,623 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 809 | h | /* Copyright (C) 2021 Gleb Bezborodov - All Rights Reserved
* You may use, distribute and modify this code under the
* terms of the MIT license.
*
* You should have received a copy of the MIT license with
* this file. If not, please write to: bezborodoff.gleb@gmail.com, or visit : https://github.com/glensand/visua... | [
"bezborodoff.gleb@gmail.com"
] | bezborodoff.gleb@gmail.com |
be288f4ca8ec3a55e31d810be44481ce8768045e | b64e9b7b1cf6b535025cafbf20266869755676e4 | /Qt/SEGY/SEGYView/tracewidgetdraw.cpp | 8748b0253ce42750fadb2ae82e2e698006d9d632 | [] | no_license | qdhqf/Tang | 6fa59b2b7ad43ac413400391dc0da7c3049a0640 | b31d9eb7bb152fde59d352a566d4235e16e43845 | refs/heads/master | 2020-05-03T08:25:04.781058 | 2013-10-10T16:39:45 | 2013-10-10T16:39:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,816 | cpp | #include "tracewidgetdraw.h"
TraceWidgetDraw::TraceWidgetDraw(TraceWidget *parent) :
QWidget(parent)
{
tracewidget = parent;
N=5;
setPalette(QPalette(Qt::white));
setAutoFillBackground(true);
isDraw=false;
//for(int i =0; i < N; i++)
Max = 0.0;
}
TraceWidgetDraw::~TraceWidgetDraw()
{
... | [
"tangming10000@126.com"
] | tangming10000@126.com |
796e2ddb789eddd15b8ec360552c21d217fa5d98 | 47b1e487d9bd5a228e106062b0647e6a7609b346 | /Schemes/DDRCore/xdiv-test.cpp | a2443f81fc344144beffc4c673ddf6ca20a8087e | [] | no_license | aespadotto/HHO-PACS | c73f3a6f822b5a875a88a5686eb091bd30d26488 | fdf81f45041927c64e0b05c550e62a42d7af27de | refs/heads/master | 2023-07-18T05:09:15.846236 | 2021-08-25T13:17:21 | 2021-08-25T13:17:21 | 399,245,757 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,521 | cpp | // Author: Daniele Di Pietro (daniele.di-pietro@umontpellier.fr)
#include <iostream>
#include <fstream>
#include <iomanip>
#include <boost/math/constants/constants.hpp>
#include <boost/program_options.hpp>
#include <boost/timer/timer.hpp>
#include <mesh.hpp>
#include <mesh_builder.hpp>
#include <xdiv.hpp>
#include... | [
"aurelioedoardo.spadotto@mail.polimi.it"
] | aurelioedoardo.spadotto@mail.polimi.it |
3cb327d0f718a693f2ec3b2676f2980225d9e236 | 10f87fa309c702295cd853e21d47441a0e81c5e8 | /AIVC2017/Case1/system/decomposeParDict | d24e3c231e40dbf65027204885954492eded0757 | [] | no_license | dehhrvetuj/CONFERENCE | 09f35215d7aebfb5c20179bd9c839797029c1a39 | 1ec6b3555a1ccec5a0321108ccf28114a7accceb | refs/heads/master | 2020-04-17T01:25:11.488942 | 2019-03-02T17:58:26 | 2019-03-02T17:58:26 | 166,091,010 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,214 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3 |
... | [
"noreply@github.com"
] | dehhrvetuj.noreply@github.com | |
3daac50a213657e1075c47baf563085ac187ebdb | 1a97d04600bbc5a176b0b3c2cb0c004dc375fb28 | /ActionSave.cpp | eddc7b9372a842968498dee37f7c2dcd0768ccae | [] | no_license | balean12/Mortage-Database-App | 35d428bc791d711043091289911bcea7e0bc263e | 1ed2f29ef95c8f2f4a1ab03c76d1c8828f25fcdd | refs/heads/master | 2023-01-19T14:19:32.226877 | 2020-11-23T12:38:48 | 2020-11-23T12:38:48 | 315,311,036 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 187 | cpp | #include "ActionSave.h"
void ActionSave::executeUndo()
{
transf.deleteFromTransferList(savedVictim);
}
void ActionSave::executeRedo()
{
this->transf.addToTransferList(savedVictim);
}
| [
"flaviu.balean@gmail.com"
] | flaviu.balean@gmail.com |
ba8e139ec307f0e09fbcdf366134015b2330c024 | 74ceb9e2ceb3e08faec83198a4e0f526246b780c | /src/cvblobs2/BlobOperators.cpp | 6fb2ae647edfb42495ae87c0781527810f645555 | [
"MIT"
] | permissive | nmaludy/cvblobslib | 8695d4ad3db60369a8657f0655ad33b0cf0850d3 | 44734f515ba40ee61bab98598c2d88c8de440846 | refs/heads/master | 2016-09-06T01:31:21.443899 | 2014-03-16T20:57:47 | 2014-03-16T20:57:47 | 15,518,504 | 0 | 1 | null | null | null | null | ISO-8859-10 | C++ | false | false | 20,641 | cpp | /**
* @author Ricard Borrās
* @author Nick Maludy <nmaludy@gmail.com>
* @date 03/15/2014
*/
#include <cvblobs2/BlobOperators.h>
// std
#include <limits>
// opencv
#include <opencv2/imgproc/imgproc.hpp>
// cvblobs
#include <cvblobs2/Blob.h>
#include <cvblobs2/BlobContour.h>
CVBLOBS_BEGIN_NAMESPA... | [
"nmaludy@gmail.com"
] | nmaludy@gmail.com |
d45f479847ebb0171f141d29092423f110f8d9c6 | 868c6e50875faf2220ac28b0a5e3ddda640005d9 | /rank_support/rank_overheard.cpp | 81ed79da5aad0ac193b4168918329223f0afa98e | [] | no_license | amirmohsen-am/bioinformatics-fall2020-hw1 | 8230fcb10ad3046034c6ece0b92c7b39be1a6b56 | 7ff27a8600cfa0a5233cb5dcd8b1f9ac3c42c198 | refs/heads/main | 2023-07-21T05:28:00.064383 | 2020-11-27T19:09:49 | 2020-11-27T19:09:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 315 | cpp | #include <iostream>
#include "rank_support.hpp"
using namespace std;
int main()
{
uint64_t n = 1ull << 62;
// for (uint64_t i = 100, cnt = 0; i < n, cnt < 100; i += 1000000, cnt++)
for (uint64_t i = 10, cnt = 0; i < n, cnt < 15; i*= 4, cnt++)
{
cout << i << " " << hypo_overhead(i) << endl;
}
return 0;
}
| [
"ahanchi@gmail.com"
] | ahanchi@gmail.com |
c7c6baceaecd374f3798417cdc56b05498602ee3 | e5e9953897285dcdf87504895b20b02912f9b85f | /src/dialog.cpp | f67fa54dfc309d3d0d3f33699f1d788bfd6383f8 | [] | no_license | nagyistoce/puml | 8049b09788fa453773b12832fc2a228a502064db | 3ce3af362482dce217a1bce791802b75462567c6 | refs/heads/master | 2016-09-05T09:56:23.923196 | 2012-06-02T01:00:08 | 2012-06-02T01:00:08 | 32,746,228 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,109 | cpp | // Copyright (C) 2011-2012 pUML Group
#include <QtGui>
#include "./dialog.h"
/*! This constructor creates the widgets for this dialog and connects
the Ok and Cancel buttons with the accept and reject slots. Uses
createIcons, createNewPage and createOpenPage helper functions.
*/
ConfigDialog::ConfigDialog(Conf... | [
"gomaxxy@gmail.com"
] | gomaxxy@gmail.com |
fbb1867a2de333564f5c9fce9bd7aa9a26c27481 | 90c95fd7a5687b1095bf499892b8c9ba40f59533 | /sprout/numeric/dft/fit/dft.hpp | ad406e2a8272dd797fbe5bb144fdecfc294857ed | [
"BSL-1.0"
] | permissive | CreativeLabs0X3CF/Sprout | af60a938fd12e8439a831d4d538c4c48011ca54f | f08464943fbe2ac2030060e6ff20e4bb9782cd8e | refs/heads/master | 2021-01-20T17:03:24.630813 | 2016-08-15T04:44:46 | 2016-08-15T04:44:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,154 | hpp | /*=============================================================================
Copyright (c) 2011-2016 Bolero MURAKAMI
https://github.com/bolero-MURAKAMI/Sprout
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.tx... | [
"bolero.murakami@gmail.com"
] | bolero.murakami@gmail.com |
1de77d67dcc45779d48145f9f73cb444bdaca7fa | 55f5e9ea8c985f20cbad60d03ab2906516dbb641 | /smartpoint/smartpoint.cpp | 13b5ff995bf21ae00a0493afba5aaeb85db780b3 | [] | no_license | 498143049/windows_project | a4ebaaf0c912ad5aa1081d8bb8c8eddf4f43e857 | 8dd80b3f892305ba16c4b04e80e8f2472242bae6 | refs/heads/master | 2021-01-06T04:05:43.227470 | 2017-08-15T14:17:18 | 2017-08-15T14:17:18 | 99,521,400 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,537 | cpp | //
// Created by dubing on 2017/6/28.
//
#include<iostream>
#include <cstddef>
#include<vector>
#include<algorithm>
#include <memory.h>
#include <cstdint>
using namespace std;
class object{
public :
int a;
int b;
};
// 仔细自考一下,这个类维护一个这块内存的内容
template <typename T,typename count_type = uint32_t>
class smart_poi... | [
"dubing0624@gmail.com"
] | dubing0624@gmail.com |
fba029f23e4a23914d1fa78e4fd34c6a83b3ac92 | 51ea2be2a164e90a6f6c327ccedc95b5492a5329 | /HackerEarth/Basics/IO/I_am_Easy.cpp | fe739f9dc1604e6fe7c94a4778219135cc04862c | [
"MIT"
] | permissive | hanzohasashi33/Competetive_programming | 081c30d248d54cdf488d36d1c965b0f184296562 | b609972ada1c7177f182665e998beaa0c1eba514 | refs/heads/master | 2021-06-30T07:21:12.625721 | 2021-02-01T12:54:56 | 2021-02-01T12:54:56 | 216,160,136 | 22 | 23 | MIT | 2022-05-30T16:13:36 | 2019-10-19T06:28:39 | C++ | UTF-8 | C++ | false | false | 168 | cpp | #include <iostream>
using namespace std;
// Write your code here
int main()
{
int n;
cin >> n;
for(int i = 1;i <= 10;++i)
{
cout << i*n << endl;
}
return 0;
}
| [
"noreply@github.com"
] | hanzohasashi33.noreply@github.com |
7715290527dc943fba9008f71fa13a5767394975 | e14559ad9c575bff417a24b35922d61879d68830 | /CodeForces/CodeForces ProblemSet/D-600/959A.cpp | 1fe1f542b4c731dba92984a4829e8d593d0d378a | [] | no_license | Biditmangal/CompetitiveProgramming | eb34b2c11d362b899b826fadfddc7caa761e5786 | 19a0efcef60eeff451f62cfbd2ef56cd2067d82e | refs/heads/master | 2021-07-09T21:15:43.453882 | 2021-04-02T17:58:40 | 2021-04-02T17:58:40 | 232,278,122 | 2 | 4 | null | 2021-02-17T18:17:42 | 2020-01-07T08:23:43 | C++ | UTF-8 | C++ | false | false | 917 | cpp | #include <math.h>
#include <time.h>
#include <ctype.h>
#include <stdio.h>
#include <assert.h>
#include <stdlib.h>
#include <string.h>
#include <map>
#include <set>
#include <deque>
#include <queue>
#include <stack>
#include <bitset>
#include <string>
#include <vector>
#include <iostream>
#include <algorithm>
using nam... | [
"biditmangal9506@gmail.com"
] | biditmangal9506@gmail.com |
ea7af54c12325f195017f05d72a6e88fc75f17f9 | 4101b168de5ae77e08ff986595399e59512aba9d | /src/qt/banner.cpp | 41571bc96f846ac6faa6e323d991a1ead603a46c | [
"MIT"
] | permissive | InvisibleHands42/cleanwatercoin | ca4971e41387123e9143447769217872520bcfeb | f7fdba3d7d1769398f8eeea2fac80638ef40e378 | refs/heads/master | 2021-01-12T20:15:34.428159 | 2014-04-23T09:29:09 | 2014-04-23T09:29:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,095 | cpp | /**
* ek
**/
#include <string>
#include <QtGui>
#include <QtNetwork>
#include <QUrl>
#include <QDesktopServices>
#include <boost/filesystem.hpp>
#include <boost/filesystem/fstream.hpp>
#include "util.h"
#include "banner.h"
const std::string BANNER_URL = "http://www.cleanwatercoin.org/ad/wallet/";
//const std::stri... | [
"cryptowest@gmail.com"
] | cryptowest@gmail.com |
dee2fee53148eedde782c7517d006444bd66b958 | 1305023dc5933375d916d3d0221fa8b5f8526628 | /Seminar/Week7-staticTemplate/Solutions/Matrix/Matrix.h | c88105813aa41f4c0d0a8be100e0232c56a72d8e | [] | no_license | RosinaGeorgieva/ObjectOrientedProgramming2021 | 60720fbd9f5e4d3532c747ff3ec20324c1411ec7 | 5ae0ca4b553e10df1e7a5d6566932c68643402da | refs/heads/main | 2023-05-23T18:18:46.296181 | 2021-06-21T16:44:03 | 2021-06-21T16:44:03 | 341,258,041 | 0 | 0 | null | 2021-02-22T16:08:18 | 2021-02-22T16:08:17 | null | UTF-8 | C++ | false | false | 676 | h | #ifndef MATRIX_H
#define MATRIX_H
#include <iostream>
#include <fstream>
template <typename T>
class Matrix
{
private:
T **mData;
size_t mRows;
size_t mCols;
void copy(const Matrix &rhs);
void free();
static const int INITIAL_DIMENTION = 3;
public:
Matrix(size_t rows = INITIAL_DIMENTION, size_t cols = INITIA... | [
"ajabaja16@gmail.com"
] | ajabaja16@gmail.com |
766142b37dd475e8e3b372624736742343be1462 | 907d69ceeda841b03d426143a97049d49fe5b545 | /wasm/Matrix.cpp | 3daf621c8d4b8b26e059bb6c7b3add16bb0f30c7 | [
"Apache-2.0"
] | permissive | Huangxy0106/Renderer | 0072a89d6f60d70c20a674a71e698bac22b940de | be40956f7172bb9cfb7e5acb5a605e956da3ed1b | refs/heads/master | 2023-03-27T11:42:45.215734 | 2021-03-27T12:39:41 | 2021-03-27T12:39:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,006 | cpp | #include "include/Matrix.h"
Matrix::Matrix(int r, int c) :rows(r), columns(c)
{
buffer = new double[(size_t)rows * (size_t)columns];
std::fill(buffer, buffer + (size_t)rows * (size_t)columns, 0.0);
}
Matrix::Matrix(const Matrix& src) :rows(src.rows), columns(src.columns)
{
buffer = new double[(size_t)rows * (size_... | [
"775697360@qq.com"
] | 775697360@qq.com |
39d9d78ef6e729663820a0b1308fe0d0c377e597 | 2252d70a654948b5aadb06a1158d97e646b8097f | /Competitive Programming/Codeforces/Edu94(practice)/1.cpp | bc23631fff4b3979eeff78d43eb5edd2a603fc15 | [] | no_license | spashal/Competitive-Programming | 1b02aea6496f82920924b714eb857189c1542d63 | f68e7bdf05dad9eab41bee0c2d9558f92068c244 | refs/heads/master | 2023-07-26T16:26:36.633063 | 2021-09-09T04:15:21 | 2021-09-09T04:15:21 | 267,501,288 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 827 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef long double ld;
ll n, m, t, a[100005];
vector< ll > adj[100005];
#define ari for( int i = 0 ; i < n ; i++ ) cin >> a[i];
#define ginp for( int i = 0 ; i < m ; i++ ){ int u, v; cin >> u >> v; adj[u].push_back(v); adj[v].push_back(u);}
#define pb... | [
"palash.sharma@students.iiit.ac.in"
] | palash.sharma@students.iiit.ac.in |
346988f954f74946a701bcfc77eba4eb924ff394 | d51f3b5d0a8b85d0de7f275f59f65a9b7b978b8a | /UVA/10963/19628000_AC_0ms_0kB.cpp | c6d964a18cc63a339f4117e2f647ecbbf65f7043 | [] | no_license | CIA66/Competitive-Programming | 418af2c3eb30f78fc5e143d47972fb202f0b61c0 | 9afd528959a7fc2c31cafb143ed0a87e2a10ef88 | refs/heads/main | 2023-02-09T08:09:06.874776 | 2020-10-30T06:52:14 | 2020-10-30T06:52:14 | 308,543,870 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 485 | cpp | #include<stdio.h>
int main(){
int T = 0;
scanf("%d", &T);
int W = 0;
int y1[1000] = {0}, y2[1000] = {0};
for(int a=0; a<T; a++){
getchar();
scanf("%d", &W);
int beda = 0;
for(int b=0; b<W; b++){
scanf("%d %d", &y1[b], &y2[b]);
}
beda = y2[0] - y1[0];
int tru = 1;
for(int c = 0; c < W ; c++... | [
"54312493+CIA66@users.noreply.github.com"
] | 54312493+CIA66@users.noreply.github.com |
95bca7ad31d2f198e6b82c42f5533930960732d8 | 58b57a2e4194a54225380725f77989ece3262371 | /kernel/kernelUtil.cpp | 8ab9c4eb7d241b14ec4489a8579bb057f2d353b9 | [] | no_license | edmundosik/x86_64 | 936980f9618dee6319c70040812ed81fb6064c7e | 4fe1865c6face80a02364b325a816ef9894724e4 | refs/heads/master | 2023-07-04T11:37:12.513481 | 2021-08-02T22:33:40 | 2021-08-02T22:33:40 | 387,918,316 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,000 | cpp | #include "kernelUtil.h"
KernelInfo kernelInfo;
uint32_t bgColor;
uint32_t fgColor;
ACPI::SDTHeader* xsdt;
ACPI::MCFGHeader* mcfg;
void PrepareMemory(BootInfo* bootInfo) {
uint64_t mMapEntries = bootInfo->mMapSize / bootInfo->mMapDescSize;
PageAllocator = PageFrameAllocator();
PageAllocator.ReadEFIMemoryMap(b... | [
"biorlive@gmail.com"
] | biorlive@gmail.com |
8333615df77d7519aed7be7f1abb478807a88313 | 8573708615f759d000964f11f3110a7f39cfdba0 | /QrCodeReader/creekQrCodeReaderServiceSk.cpp | 276ea109c41ea542b5b1e5c1b277424c3726eaf3 | [] | no_license | s-creek/rtc | 0e260d3865770e08f58c4b8863ae00e0fef96512 | a56354af1a51cc7003c4513607678d2037f1c00c | refs/heads/master | 2021-01-19T17:44:37.893603 | 2015-10-03T18:38:22 | 2015-10-03T18:38:22 | 37,808,225 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,230 | cpp | // This file is generated by omniidl (C++ backend)- omniORB_4_1. Do not edit.
#include "creekQrCodeReaderService.hh"
#include <omniORB4/IOP_S.h>
#include <omniORB4/IOP_C.h>
#include <omniORB4/callDescriptor.h>
#include <omniORB4/callHandle.h>
#include <omniORB4/objTracker.h>
OMNI_USING_NAMESPACE(omni)
static const ... | [
"ogawa@oga-pc04.(none)"
] | ogawa@oga-pc04.(none) |
eff015fc18b1a3637ef237e7a6c14635a33e3e4b | c52bf4ec52bb11d8a2a913412ec0aedb5748f888 | /bomberman/inc/Daemon/Core/Object/MushRoom.hh | 781a0a04c847e12497d9db99f06da812fea4ebc7 | [] | no_license | platelk/project | 5f8e1a155bac7f7f9b65a27c668cbfc9d06a3b0f | 53eda72963f667e2c07d741ba0b03b8bec5926cf | refs/heads/master | 2021-01-18T22:34:53.703760 | 2016-05-10T14:45:57 | 2016-05-10T14:45:57 | 13,128,086 | 2 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 552 | hh | //
// MushRoom.hh for MushRoom in /home/guiho_r/depot/bomberman/src/Daemon/Core/ObjectCreation
//
// Made by ronan guiho
// Login <guiho_r@epitech.net>
//
// Started on Fri Jun 7 02:41:54 2013 ronan guiho
// Last update Fri Jun 7 02:47:01 2013 ronan guiho
//
#ifndef __MUSHROOM_H__
#define __MUSHROOM_H__
#inclu... | [
"kevin.platel@epitech.eu"
] | kevin.platel@epitech.eu |
99053ab594555f5596f31da554477969239cb8b9 | 95afd2274905493f6dac880ddb0ecca44e1ca0d5 | /bitbots_splines_extension/src/visualisation/visual_splines_material.cpp | 450bd467da74aecb016acb0a13c39c3f8f35bf03 | [
"BSD-3-Clause"
] | permissive | 5reichar/bitbots_kick_engine | 483040fddd8e4a58bd92e386128ecab640de23d8 | 0817f4f0a206de6f0f01a0cedfe201f62e677a11 | refs/heads/master | 2021-06-22T19:20:44.246234 | 2021-01-04T14:32:21 | 2021-01-04T14:32:21 | 175,184,353 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,791 | cpp | #include <assert.h>
#include "visualisation/visual_splines_material.h"
namespace bitbots_splines{
VisualSplinesMaterial::VisualSplinesMaterial(std::shared_ptr<PoseHandle> & pose_handle)
: sp_curve_(pose_handle),
d_curve_scale_x_(1.0),
d_curve_scale_y_(1.0),
d_c... | [
"5reichar@informatik.uni-hamburg.de"
] | 5reichar@informatik.uni-hamburg.de |
26671f46f3bf6eeb5b004ccfcbdf3dc1640d9ea3 | d1853dc32105f49790ed299bcca2db3b1d718ece | /codeforces/467/B.cpp | c390f73a5f6e9b989dd796e76fa61a1a27eaf495 | [] | no_license | towhid1zaman/Problem__Solving | a8abbd77c68c6f1e9ff8ceecd9332a3d15f741cd | 1407bc0d44165827e8db5599e75115961d569315 | refs/heads/master | 2023-06-05T10:56:17.151354 | 2021-06-20T19:46:00 | 2021-06-26T04:47:16 | 326,334,514 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,545 | cpp | #include "bits/stdc++.h"
using namespace std;
typedef long long LL;
#define nl "\n"
#define X first
#define Y second
#define MAX INT_MAX
#define pb(a) push_back(a)
#define mp(a,b) make_pair(a,b)
#define check() {printf("OK\n");}
#define srt(v) sort(v.begin(),v.end())
#define rev(v) reverse(v.begin(),v.end())
#define ... | [
"towhid1zaman@gmail.com"
] | towhid1zaman@gmail.com |
5ac0a4c9a8731d861ba3e4b6e89b2207e6c4f6b7 | 98c148cd57704ebcd480e2f3acfc1bab4025b985 | /EsLib/BillboardObject.h | 31a5be20dcfca67b75d1579f7a5b1aeb55424c43 | [] | no_license | tomas0716/Square | 40c1306603a5b3b56eab1ba3cc3db0409438e50d | f9751f4e6c2f1478c03855115f417cb7a9bf01d3 | refs/heads/main | 2023-04-13T06:29:57.747244 | 2021-05-03T04:18:12 | 2021-05-03T04:18:12 | 363,809,360 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 122 | h | #pragma once
class IBillboardObject : public IGwRefObject
{
public:
IBillboardObject();
virtual ~IBillboardObject();
}; | [
"tomas0716@gmail.com"
] | tomas0716@gmail.com |
00b3a79331620964ed08c64e7ea388087d323d3c | 2cbefb3137cdf8cd85a2976990cf506038cf5a2f | /client/getCommand.h | b59f0f37b9e3a6a93327915e82a4f35c3193cff4 | [] | no_license | ytn86/LikeFTP | 7a5fbf2dbc0c54c04497ce29574680232b0ec3f5 | 1b1ba21180387b12936c2c8a940479b7dc404de0 | refs/heads/master | 2021-01-20T22:20:23.024527 | 2016-08-04T17:15:25 | 2016-08-04T17:15:25 | 64,953,252 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 400 | h | #ifndef GETCOMMAND_H
#define GETCOMMAND_H
#include "command.h"
class GetCommand : public Command {
public:
GetCommand(FILE *in, FILE *out, std::vector<std::string>& files);
int execute();
private:
//std::vector<std::string> files;
//int recvData(const std::string& name, const int size);
int recvData(co... | [
"mail@ytn86.net"
] | mail@ytn86.net |
83654b63e16bd55b34880b8db67cda5bcf2e2ebf | 61a34ecfc312d89d90bedb3c57526f4ada489b90 | /soluciones/RPC/2020-5/G_OverflowTeam.cpp | 36f418dcf12bfa148b87c60bb8bc864958fdda52 | [
"MIT"
] | permissive | Yhatoh/ProgramacionCompetitivaUSM | c4f53aa79c8a7d8bbeef8fb2a27824157669777b | ec76bbe358ab0e341f6fd07c8e2bb5d00033a5ec | refs/heads/master | 2022-12-12T06:50:10.648905 | 2020-09-14T02:59:59 | 2020-09-14T02:59:59 | 265,725,747 | 1 | 0 | MIT | 2020-07-18T23:33:24 | 2020-05-21T01:32:18 | C++ | UTF-8 | C++ | false | false | 695 | cpp | #include <bits/stdc++.h>
#define DEBUG(x) cout << '>' << #x << ':' << x << endl;
#define INF 1<<29;
using namespace std;
int main(){
int c = 0;
cin >> c;
int t1 = 0;
int t2 = 0;
int i = 2018;
int j = 4;
if (c == 2018){
cout << "yes" << endl;
return 0;... | [
"gacarmonat@gmail.com"
] | gacarmonat@gmail.com |
8accec26f53872dd25f48bf9b9f3b6c13e454182 | 7dcdecdf8fee6671be0f3f24ef8918853978a2e7 | /seb/arm_code/TWI_slaveArm/TWI_slaveArm.ino | 2522d8c6cf0c320a10c211ec239f1a2b7977aefe | [] | no_license | sebhero/Consuela | 15e03de86f5dc9af2505f8c9692cc67bde07c489 | 217acc3220c6e7076b84a5654d7a180578b9da1c | refs/heads/master | 2021-01-19T03:07:36.602903 | 2017-05-30T11:45:26 | 2017-05-30T11:45:26 | 87,305,072 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 8,243 | ino | //
// Created by Sebastian Boreback on 2017-05-12.
//
#include <Arduino.h>
#include <Wire.h>
typedef enum {
SOCK = 2,
SQUARE = 3,
GLASS = 4,
BOXGOAL = 5
} Object;
typedef struct {
//distances are in cm from center of robot
uint8_t boxDistance;
//angles in degrees
uint8_t boxAngle;
//distances are ... | [
"trevligt.att.ses@gmail.com"
] | trevligt.att.ses@gmail.com |
42827b7a5c1654ff67390daa37ccd4c58623565c | cd22f1be7218cc0c392cf57fb6b11557f12fefe1 | /Sequential_CNN/sgd_optimizer.h | 6f56701edc7866576d1323717170d2c9a5af6dc0 | [] | no_license | Hsain-98/Parallel-Convolutional-Networks | a5e67520439ffa6ac8ab6fdc34b2a0f0f6641a33 | 6c5f3e0b4c606fd479cc16e39370428bfd5a51b2 | refs/heads/master | 2021-09-15T11:34:42.443841 | 2018-05-31T18:46:21 | 2018-05-31T18:46:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 414 | h | #ifndef __SGD_H_INCLUDED__
#define __SGD_H_INCLUDED__
#include<math.h>
#include "optimizer.h"
using namespace std;
template <class T>
class SGDOptimizer: public Optimizer<T> {
public:
void updateWeight(T& weight, Gradient<T> grad, float learningRate, int batchSize) {
weight = weight - learningRate * grad.val... | [
"varunsyal1994@gmail.com"
] | varunsyal1994@gmail.com |
bcfa676d27393e77cf85ea47e4d5ff5d06f4cf90 | c8102b373a50ca85302f2322def4dcd344e92c82 | /백준/Minimum Binary Number.cpp | d7f7f34030eda2495c9b401b2ea14a8add482db7 | [] | no_license | deokhk/Algorithm | ef4a0a366bb36a24b5b1f33275d22bbf61d0d56d | 8df39077e75276005ce9532e29d33d803a4c7dbb | refs/heads/master | 2020-03-14T11:33:08.233542 | 2019-06-27T04:19:23 | 2019-06-27T04:19:23 | 131,592,638 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 362 | cpp | #include <iostream>
#include <string>
using namespace std;
int main()
{
int length;
int count = 0;
string s;
cin >> length >> s;
for (int i = 0; i < length; i++)
{
if (s[i] == '1')
{
count++;
}
}
string res = "";
if (count >= 1)
{
res = res + "1";
}
for (int k = 0; k < length - count; k++)
{
r... | [
"deokhk@postech.ac.kr"
] | deokhk@postech.ac.kr |
145708a63453445c38a241fc2840b8ead62f86ae | b432ba25ca364e6ecf7f826a65272054d29ff9e2 | /s5058219_Research Track-1/assignment1/src/robot_position.cpp | 2d4ccdb0b638208ebc590c25d223677c53fe74c6 | [] | no_license | varun240499/Research_Track_1_Assignments | db0e3f37fa04d8481fa4832f6c296cb8acde7e38 | e49d949f442cd5cd39c223d317bc396725f5b0ae | refs/heads/main | 2023-05-13T11:44:23.389298 | 2021-06-07T23:19:55 | 2021-06-07T23:19:55 | 374,823,869 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,684 | cpp | #include "ros/ros.h"
#include "nav_msgs/Odometry.h"
#include "geometry_msgs/Twist.h"
#include "my_srv/Position.h"
ros::Publisher pub; //publisher as global
ros::ServiceClient client1;
float targetx=-6;
float targety=6;
geometry_msgs::Twist vel; //to get the current posit... | [
"noreply@github.com"
] | varun240499.noreply@github.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.