blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 2 247 | content_id stringlengths 40 40 | detected_licenses listlengths 0 57 | license_type stringclasses 2
values | repo_name stringlengths 4 111 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringlengths 4 58 | visit_date timestamp[ns]date 2015-07-25 18:16:41 2023-09-06 10:45:08 | revision_date timestamp[ns]date 1970-01-14 14:03:36 2023-09-06 06:22:19 | committer_date timestamp[ns]date 1970-01-14 14:03:36 2023-09-06 06:22:19 | github_id int64 3.89k 689M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 25
values | gha_event_created_at timestamp[ns]date 2012-06-07 00:51:45 2023-09-14 21:58:52 ⌀ | gha_created_at timestamp[ns]date 2008-03-27 23:40:48 2023-08-24 19:49:39 ⌀ | gha_language stringclasses 159
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 7 10.5M | extension stringclasses 111
values | filename stringlengths 1 195 | text stringlengths 7 10.5M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
9feaeb9353cf83d90ef3b313e83c2d9a9026ddd1 | 702a3e2601143a599579b523fd92754998a910ac | /auto_bindings/src/mruby_Pi_macro_constants.cpp | ccf105a4f85fdf2862e8fb07065301c46791c19f | [] | no_license | jbreeden/mruby-wiring-pi | 4bc9624f2501937c87be83141834819565005a1f | dc8f0a874ba93dcdd94258e79b809a7df01ffe54 | refs/heads/master | 2021-01-10T10:36:06.575404 | 2016-02-01T16:14:43 | 2016-02-01T16:14:43 | 43,645,865 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,908 | cpp | mruby_Pi_macro_constants.cpp | #include "mruby_Pi.h"
void
mruby_Pi_define_macro_constants(mrb_state* mrb) {
/* WARNING
* Code generator does it's best to determine the type of the macro
* expansions, but mistakes will be made (as macros are just text,
* and may contain other macros). So, you'll need to verify the
* conversions used he... |
e60f31f3f6c05d517c50ea46a96fc9c22ef055f9 | 78297bc868d588dd7a16cfea059ef7365ba18622 | /server/api/include/irods/rsDataGet.hpp | 431c785e84675def2cd4cee870c8bdb5eb16bfbc | [
"BSD-3-Clause"
] | permissive | irods/irods | ab72a41fdf05a4a905c3e3a97bb7ba3c2a6ae52d | f3ccaa842218e477395ebcf553639134433b63ee | refs/heads/main | 2023-09-01T20:12:33.322002 | 2023-08-23T18:22:59 | 2023-08-31T13:41:31 | 14,724,975 | 381 | 167 | NOASSERTION | 2023-09-11T18:18:14 | 2013-11-26T18:10:18 | C++ | UTF-8 | C++ | false | false | 437 | hpp | rsDataGet.hpp | #ifndef RS_DATA_GET_HPP
#define RS_DATA_GET_HPP
#include "irods/rodsConnect.h"
#include "irods/dataObjInpOut.h"
int rsDataGet( rsComm_t *rsComm, dataOprInp_t *dataGetInp, portalOprOut_t **portalOprOut );
int remoteDataGet( rsComm_t *rsComm, dataOprInp_t *dataGetInp, portalOprOut_t **portalOprOut, rodsServerHost_t *ro... |
2becc2db4b42460e1cd5cbbf3b3baa576c7b8921 | 79bb329a8bc179bebdbc2583e364f5ffded8def0 | /win32Project/GImage.h | 2468e84e06da6d786434c096d1de44f689e3fd5b | [] | no_license | fsaas/MP3 | 733c56d7894b33fc664a1c90d283fa65a940bde9 | b42fb4788d086b8da6e3a31c6ea3873215a02fd0 | refs/heads/master | 2021-01-21T04:40:32.381601 | 2016-06-20T23:46:05 | 2016-06-20T23:46:05 | 53,114,217 | 0 | 5 | null | 2016-06-20T20:41:40 | 2016-03-04T06:52:24 | C++ | UHC | C++ | false | false | 471 | h | GImage.h | #pragma once
#include <d3d9.h>
#include <d3dx9.h>
class GRenderer;
class GImage
{
private:
IDirect3DTexture9 * texture; //텍스쳐를 사용하기 위한 객체
int width, height; //이미지의 가로, 세로 길이
public:
GImage(GRenderer * renderer, const char * filename);
~GImage();
public:
IDirect3DTexture9 * getTextur... |
018e0328c83f66bdaad760978b0a66bdb5dd914e | 616e0a893444f5ee581512058e8546c8c208169f | /PlanetRenderer/Camera.h | 745b98e3df683e9cb8b6e1b62e0460678fab1014 | [] | no_license | GZibrat/PRenderer | 0f6d581377d023434586da1416f8b4299a53e770 | cb72d528868b8e7b1630e1b44608cb9c7367e918 | refs/heads/master | 2020-12-03T03:46:33.485271 | 2015-05-11T23:32:31 | 2015-05-11T23:32:31 | 35,455,521 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 280 | h | Camera.h | #pragma once
#include "PlanetRenderer.h"
#include "SceneNode.h"
class Camera : public SceneNode
{
public:
Camera(glm::dvec3 &eye, glm::dvec3 &direction, glm::dvec3 &up, SceneNode* par);
glm::dmat4& getCameraMatrix();
void update();
private:
glm::dmat4 inverse;
}; |
6e48f22b2feda36c04b9fb89cb222bb15e38d8c3 | 91f5e2523903603408be6ace2341efc1b9de6ca7 | /Graphs/Shortest Paths/D'Esopo-Pape.cpp | 9dce72e9b10e5c05bb797731655ef1f1e097e1ee | [] | no_license | fextivity/Algorithm-Library | 2a0d84a11dd0937ae7d77769205187ff08925929 | 81e8faacdcf10378f242a2a7171603976f766b72 | refs/heads/master | 2023-01-28T17:06:46.260151 | 2020-10-31T05:07:52 | 2020-10-31T05:07:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 745 | cpp | D'Esopo-Pape.cpp | int n;
int dist[N], par[N], mval[N]; // mval: 0 - not calculated, 1 - is calculated, 2 - has calculated
vpii adj[N];
void desopo_pape(int u){
deque <int> qu;
msetinf(dist);
msetn1(par);
qu.push_back(u);
dist[u] = 0;
while (!qu.empty()) {
int t = qu.front();
qu.pop_front();
... |
6c9d6185610788f5fffd1efb05603a68f0fb6bb1 | 2b80036db6f86012afcc7bc55431355fc3234058 | /src/cube/dialog/AddLibraryController.cpp | d42bf05c3c87c9fc436fb47f0e9f2646d4434991 | [
"BSD-3-Clause"
] | permissive | leezhongshan/musikcube | d1e09cf263854bb16acbde707cb6c18b09a0189f | e7ca6a5515a5f5e8e499bbdd158e5cb406fda948 | refs/heads/master | 2021-01-15T11:45:29.512171 | 2011-02-25T14:09:21 | 2011-02-25T14:09:21 | null | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 4,327 | cpp | AddLibraryController.cpp | //////////////////////////////////////////////////////////////////////////////
//
// License Agreement:
//
// The following are Copyright © 2007, mC2 Team
//
// Sources and Binaries of: mC2, win32cpp
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modif... |
8e4a86f98e01ce0e740127ec0f4071f820b15cfb | 364e81cb0c01136ac179ff42e33b2449c491b7e5 | /spell/tags/2.0.9/include/SPELL_EXC/SPELLexecutionModel.H | a9331ed035e7be8a816e9b6e0a9fa9ca26f8c755 | [] | no_license | unnch/spell-sat | 2b06d9ed62b002e02d219bd0784f0a6477e365b4 | fb11a6800316b93e22ee8c777fe4733032004a4a | refs/heads/master | 2021-01-23T11:49:25.452995 | 2014-10-14T13:04:18 | 2014-10-14T13:04:18 | 42,499,379 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,147 | h | SPELLexecutionModel.H | // ################################################################################
// FILE : SPELLexecutionModel.H
// DATE : Mar 17, 2011
// PROJECT : SPELL
// DESCRIPTION: Composite of all models and analyzers associated to a given frame.
// -------------------------------------------------------------... |
859b76831901080aecee5b71e9dd60b29e04de54 | 393fb9d0cf5f6bad3d8e0793522f990286d26389 | /DirectZobEngine/Wrappers/ManagedObject.h | b4332292b24f31c4750c0b5a91a2f4525db49351 | [
"WTFPL"
] | permissive | zeralph/directZob | 0d35810894feb76b098e33706da2add7bd215673 | 31322665333982917cc8a1942a65fe381d1e29de | refs/heads/master | 2022-12-23T11:03:15.290532 | 2022-01-26T07:26:58 | 2022-01-26T07:26:58 | 190,796,680 | 2 | 1 | WTFPL | 2022-12-08T09:07:18 | 2019-06-07T19:15:47 | C++ | UTF-8 | C++ | false | false | 1,144 | h | ManagedObject.h | #ifdef _WINDLL
#pragma once
#include <string>
#include <iostream>
#include "../DirectZob.h"
namespace CLI {
template<class T>
public ref class ManagedObject
{
protected:
T* m_Instance = NULL;
bool m_manageDelete = true;
public:
ManagedObject(T* instance, bool manageDelete)
: m_Instance(instance),
m_m... |
30307d50f95a7fc7560ef91aace2c117f8cab59f | 8ff580d7bfc5e93971ee7727ca39d01075d8ab7e | /source/Parser.cpp | e2036c79ac683bf3f2cf502fa749591a6e354b66 | [] | no_license | phenolplus/Script-Builder | 2014afb0121f3957f4809187f5906d2fa3a5847f | c05b7754faec6a7e8ad709fd706e609270c78c9b | refs/heads/master | 2021-01-16T19:02:38.986166 | 2012-08-21T12:31:36 | 2012-08-21T12:31:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 42 | cpp | Parser.cpp | #include <iostream>
#include "Parser.h"
|
eb70d7eff0a34ceb058d346a6dd0804f271f2f36 | 54791fd57ecc9a4fe7c5164dfa6eb79c8df48ee1 | /tmpdoc/experiment/qtTest/smallTools/comboLabel/myCallback.h | e0e2ffd91d05fd2aa90e796b25729f08d0650973 | [] | no_license | cherry-wb/quietheart | 8dfc91f88046bd1b40240e2f6121043977ab78b4 | 715ed73c990da2b4634313c93910769a59ce51f4 | refs/heads/master | 2021-01-18T00:04:39.802220 | 2014-08-21T07:39:21 | 2014-08-21T07:39:21 | 23,286,239 | 1 | 3 | null | 2019-03-11T09:32:21 | 2014-08-24T16:37:05 | null | UTF-8 | C++ | false | false | 1,008 | h | myCallback.h | #ifndef __MYCALLBACK_H
#define __MYCALLBACK_H
#include <QWidget>
#include <QList>
#include <QLabel>
#include <QMouseEvent>
class QMenu;
class EPushLabel;
class QStringList;
class EComboLabel:public QWidget
{
Q_OBJECT
public:
EComboLabel(QWidget *parent = 0);
void updateLayout();
void addItem(QString);
protect... |
afd7052432940dd89e88710780520c2ce89a0d21 | 7215b490c3ed3bfbe22a2ef0b715c6b185078b9f | /src/CalibXMLCnv/cnv/XmlAncBaseCnv.h | 0451cd0ec199a190cf566e61452bc723a6c940a4 | [
"BSD-3-Clause"
] | permissive | fermi-lat/CalibSvc | 76cea1455639752a57f9904b0b4491dfc8a23c18 | c262bbd5481a01af3f75a250fc1ba385bb5c775f | refs/heads/master | 2022-02-17T03:03:32.350460 | 2019-08-27T17:27:16 | 2019-08-27T17:27:16 | 103,186,849 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,692 | h | XmlAncBaseCnv.h | // $Header: /nfs/slac/g/glast/ground/cvs/CalibSvc/src/CalibXMLCnv/cnv/XmlAcdBaseCnv.h,v 1.3 2006/04/10 05:46:01 jrb Exp $
#ifndef CalibData_XmlAncBaseCnv_h
#define CalibData_XmlAncBaseCnv_h
/** @class XmlAncBaseCnv
Base class for ANC calibration converters from XML files to TCDS.
All such converters need to do c... |
430e56a3c4de907a975e0de698719786552cb17f | 8aa405d1c99eef9ca3e15d03933b1758a3b6d634 | /mobile-sdk/android/imkeylibrary/src/generated/release/cpp/device.pb.h | c1ddfaa9ccbc6a84e394653a926144b692556f27 | [
"Apache-2.0"
] | permissive | oday0311/imkey-core | 6d9a2f5e2e991d1ebc08a4fd0646d48734083f02 | 70a13b4defc6d1905bc02273f65500d7595686f1 | refs/heads/master | 2023-04-25T21:55:44.630592 | 2021-03-29T01:00:12 | 2021-03-29T01:00:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 135,015 | h | device.pb.h | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: device.proto
#ifndef PROTOBUF_device_2eproto__INCLUDED
#define PROTOBUF_device_2eproto__INCLUDED
#include <string>
#include <google/protobuf/stubs/common.h>
#if GOOGLE_PROTOBUF_VERSION < 3001000
#error This file was generated by a newer version ... |
15f1f04991b23fe3c2bd4258b7b65a546b42729c | eb2f9fa59f3f4951f10652623d8f1377d2bd932e | /lab1/Geometry/Circle.cpp | c90b2d6a75bc4b54c95bfe824211eecf1168fd41 | [] | no_license | Sparklll/cpp-labs | f0209cf4555cbbef642a043741b360fa03aa65e7 | 967f5326da7a0294675714fadabcd11340b871b7 | refs/heads/master | 2022-04-22T18:57:21.585119 | 2020-04-20T22:16:23 | 2020-04-20T22:16:23 | 250,391,782 | 1 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 699 | cpp | Circle.cpp | #include "Circle.h"
Circle::Circle(QPointF point, QGraphicsItem *parent) : Figure(point, parent) {}
void Circle::paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
{
painter->setPen(*getFigurePen());
painter->setBrush(*getFigureBrush());
if (isCaptured()) {
painter-... |
752b6b512841ae24aeb01b48166369a60992fc8f | 19f7378983b3d4c7c7ac2093a9bb2c318cdfb049 | /CSharp/TSCloud_WINCPP_TEST/TSCloud_WINCPP_TESTDlg.cpp | d0d37e152c66dd60c8789e91548259658a19ab38 | [] | no_license | workon3d/3dsprint_cloud_sdk | 85b757607a320a0a54bab7cab18b872e9892cf1c | 33a120506ff796b96caeec90ac198118e96a8bab | refs/heads/master | 2021-01-17T20:56:25.375160 | 2016-03-18T23:11:35 | 2016-03-18T23:11:35 | 24,964,165 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,273 | cpp | TSCloud_WINCPP_TESTDlg.cpp |
// TP2_WINCPP_TESTDlg.cpp : implementation file
//
#include "stdafx.h"
#include "TSCloud_WINCPP_TEST.h"
#include "TSCloud_WINCPP_TESTDlg.h"
#include "afxdialogex.h"
#include <string>
#include "../TSCloud_WINCPP_SDK/include/TSCloud_SDK.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
using namespace TDSPRINT::Cloud::W... |
becac67a988ee1d7008a3deb5df13e98ad6e920f | 3cb70b3141401f0783790bf5779e2f96b8c6f23d | /view/TankFactoryView.h | 952279c9f86ea4e6d2e26f0304cc2beab366b598 | [] | no_license | ardazishvili/colony | b3a47d813f850d584f3d2a299f79006bcbf132dd | 75917d41a94a39542d1f58a6efeb52ba3bc12865 | refs/heads/master | 2022-03-26T21:46:03.471166 | 2022-03-11T16:57:58 | 2022-03-11T17:07:59 | 225,729,133 | 9 | 2 | null | 2022-03-11T17:08:00 | 2019-12-03T22:24:35 | C++ | UTF-8 | C++ | false | false | 273 | h | TankFactoryView.h | #pragma once
#include "view/StructureView.h"
class TankFactoryView : public StructureView {
public:
TankFactoryView(glm::vec3 position);
void draw() override;
private:
static float TANK_FACTORY_HEALTH_BAR_WIDTH;
static float TANK_FACTORY_HEALTH_BAR_HEIGHT;
};
|
451871616c4ba73d8ba9c1abe111df13ad468ffb | 193d62070a9330f994ae24c180f097997c4fdf33 | /16. Number Theory Basics/test.cpp | f60d9b5b66e5d39f16ab171f39566c2bdeb4150f | [] | no_license | sudo0809/Data-Structure-and-algo | 06654ce0ddf295afc8910fc79d89adf42f2ea792 | 054740875d211fc4ed12fe978333b73d6c8bdcec | refs/heads/main | 2023-02-14T03:46:55.825440 | 2021-01-14T20:02:52 | 2021-01-14T20:02:52 | 329,621,225 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 640 | cpp | test.cpp | #include<iostream>
#include<vector>
using namespace std;
vector<int> prime_seive(int *p, int n){
for(int i=3; i<=n; i+=2){
p[i] = 1;
}
for(int i=3; i<=n; i+=2){
if(p[i]==1){
for(int j=i*i; j<=n; j+= i){
p[j] = 0;
}
}
}
p[0] = p[1] = 0;
p[2] = 1;
vector<int> primes;
prime... |
20793e1677ce0aa78e9b60634816e64b8e8e8ed9 | 599709e7687a78f92b268315590d6ad750ce97d6 | /src_cpp/one_int.cpp | d836f6e4f5fb0bfc9d29a4b63cde29cd7a1bdffa | [] | no_license | ReiMatsuzaki/cbasis2 | b99d096150d87f9301ed0e34f7be5f0203e4a81e | 86f21146fab6fc6f750d02fb2200ea94616ca896 | refs/heads/master | 2021-01-19T23:15:32.864686 | 2017-04-27T07:29:26 | 2017-04-27T07:29:26 | 88,953,186 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 40,557 | cpp | one_int.cpp | /**
One electron integrals
*/
#include <sstream>
#include "../math/int_exp.hpp"
#include "one_int.hpp"
#include "mol_func.hpp"
#include "symmolint.hpp"
using namespace std;
using namespace Eigen;
namespace cbasis {
// ==== Slow routines ====
dcomplex SMatEle(CartGTO& a, CartGTO& b) {
dcomplex zetaP, wPx... |
331505f40575222c841cc2aeb37b0ae2de3290f8 | 99a150833c58400c9de7bbd75d6f884948f75469 | /tests/SPMC_IPC_Consumer.cpp | 4eb482b7773986f806a4554ace1a7b4ce0e2bcc5 | [] | no_license | acerwei/lockfreequeues | a6f5a340c24dd607665de44a80405c43fd506e78 | 6549812bc556628f75b9c3752cc49abe80c0abd1 | refs/heads/master | 2023-02-26T16:36:40.523293 | 2021-01-31T09:03:36 | 2021-01-31T09:03:36 | 296,818,908 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,118 | cpp | SPMC_IPC_Consumer.cpp | /*
CopyRight (c) acer.king.wei@gmail.com 2019
*/
#include "../headers/SPMC.h"
using namespace std;
int main(int argc, char **argv)
{
if (argc<6)
{
cout<<"Error!!"<<endl;
cout<<"Format: bin Topic Pid MaxReaders BuffSize "<<endl;
exit(0);
}
int pid = std::atoi(argv[2]);
i... |
4ec8452abd0658f2cbf21f5f5430a5d55ff7e0c1 | a26ea35c68a64304bc7e080c86b7c8f0354f20a7 | /power.cpp | 913ef66a92e5d9e17b04d2357eea45e051d6fcb0 | [] | no_license | indranilsldu/Recursion-using-C- | 9ef0da7339a3fc28134c9029d0c33cbb35454a9e | c5d029f6c1a41326dad5ce49063ff158bfe531c4 | refs/heads/master | 2021-02-15T14:07:53.085584 | 2020-03-05T16:18:46 | 2020-03-05T16:18:46 | 244,905,794 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 405 | cpp | power.cpp | #include <iostream>
using namespace std;
long int power(int x,int y)
{
if(y==1)
return x;
else
return x*power(x,y-1);
}
int main()
{
int x, y;
cout << "Enter the first number raised to second number: ";
cin >> x >> y;
long int res = power(x,y);
cout << "The... |
6871b8011b20248428f03d4684e0258977433463 | 55d71cdbf0d60d89be90e5b7843e496dab23cac9 | /SDK/Galil PlugIn/Decoders.cpp | 4c70c479ae279346eef7652c40efcb499d53aa95 | [
"MIT"
] | permissive | mariusl/step2mach | 13f5838471e41a759b352afd0297c43ff7b17791 | 3ac7ff6c3b29a25f4520e4325e7922f2d34c547a | refs/heads/master | 2020-05-25T02:22:29.182553 | 2019-06-21T11:54:01 | 2019-06-21T11:54:01 | 187,577,085 | 0 | 0 | MIT | 2019-06-21T11:54:02 | 2019-05-20T06:03:55 | C | UTF-8 | C++ | false | false | 9,338 | cpp | Decoders.cpp | #include "stdafx.h"
#include "G100-Structs.h"
#include "decoders.h"
#include "Engine.h"
#include "TrajectoryControl.h"
#include "MessageTracker.h"
#include "Monitoring.h"
#include "math.h"
extern TrajBuffer *Engine;
extern TrajectoryControl *MainPlanner;
extern MessageTracker *G100Mess;
extern Monitoring *G100Mo... |
b6d8981f6e59ea8b943bd176cd2b08b6ce012b47 | f5ccc265ea129aac19d6d9dc7f45559938bb481d | /tests/KadizQLFieldNull.test.cpp | fa33c59dd105074588dc9f9f6c287612abaae4b5 | [] | no_license | webkadiz/KadizQL | c759ec0f7343665dafbeb3f55b9a769a36073d1c | 85a4b789da4d931ce22bb9ef18d54738a66da9a1 | refs/heads/main | 2023-04-19T22:48:09.488623 | 2021-05-07T11:59:08 | 2021-05-07T11:59:08 | 360,678,420 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 370 | cpp | KadizQLFieldNull.test.cpp | #include "../include/KadizQLFieldNull.h"
#include "../include/utils.h"
using namespace KadizQL;
using namespace std;
int main() {
size_t testNumber = 0;
{
FieldNull fieldNull("int");
if (fieldNull.getEncodedSize() == 4) {
testPassed(testNumber);
} else {
testF... |
37d849cd203852862ab70f0e7325bc813d8940ca | 39e72bfb033edb3c4e278bcbfa77ec4fe2ce1b46 | /binary_translator/src/InstructionTranslationUnitCache.cpp | f43eb468681efc11055ffb76edb719cafb0158b8 | [
"Apache-2.0",
"BSD-3-Clause"
] | permissive | avatarone/avatar-python | e8b3ceb783f8fc1069a675a4fde6cdd578019602 | c6d74f85f63333e3031e1f5e208d3f90e316a9e4 | refs/heads/master | 2021-06-11T21:11:38.220494 | 2016-10-18T12:45:43 | 2016-10-18T12:45:43 | 14,178,409 | 31 | 11 | null | null | null | null | UTF-8 | C++ | false | false | 4,311 | cpp | InstructionTranslationUnitCache.cpp | #include "lldc/InstructionTranslationUnitCache.h"
#include "lldc/util.h"
#include "llvm/IR/IRBuilder.h"
#include "llvm/IR/BasicBlock.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/Value.h"
using namespace llvm;
void InstructionTranslationUnit::addIncoming(const std::map< unsigned, llvm::Value* >& values, llvm::... |
e175dc3ac38b3b2933d001f43dca7242a979346e | e9749d4e271546fbcdd261edd538d99eb3f7fff8 | /QT/dermo_qt/20_10_2015/myhighlighter.cpp | f6cbf336bc807aa0e47ca50b6878bbb450f3733a | [] | no_license | Xambey/something | 90e4c4823cf553f9c8acc190313fec991b22b44d | 0dc0ecd163e1fc662caea16f7363e166b6687adf | refs/heads/master | 2021-01-10T14:40:09.253969 | 2016-05-09T08:57:50 | 2016-05-09T08:57:50 | 52,145,859 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,010 | cpp | myhighlighter.cpp | #include <QLabel>
#include <QtGui>
#include <QApplication>
#include <QSplitter>
#include <QTextEdit>
#include <QLineEdit>
#include <QSpinBox>
#include <QPushButton>
#include <QVBoxLayout>
#include <QPixmap>
#include <QCheckBox>
#include <QGroupBox>
#include<QRadioButton>
#include <QWidget>
#include <QGridLayout>
#inclu... |
0519d1b1096de164df7eaf8aec6ef0f527f75a2d | d2de984f31befb667233a31093ae41cc3ac22ae2 | /loginwindow.cpp | 3802e1dd1ffc0ab414783f982b4459c14bbf80a0 | [] | no_license | George-sudo/AST1520ClientUpgradeTool | 22eec4059c404421e15bc4395b70f843c3676801 | 45dd3145c9c614fd754c972d870e05e49d2e53b7 | refs/heads/master | 2022-11-13T17:54:02.809712 | 2020-07-04T04:13:33 | 2020-07-04T04:13:33 | 275,969,184 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,250 | cpp | loginwindow.cpp | #include "loginwindow.h"
#include "ui_loginwindow.h"
QUdpSocket *LoginWindow::UdpSocket = nullptr;
int LoginWindow::ServerPort = 50010;
QHostAddress LoginWindow::ServerAddress;
QString LoginWindow::m_min = "NULL";
QString LoginWindow::m_sec = "NULL";
QString LoginWindow::User = "NULL";
QString LoginWindow::Pa... |
d13d742fa8590a638aad3bfdded43aa2ae23645f | 323eb296cbf740ad6bf678fb15e48f0315b66824 | /ps/BOJ/1120 문자열.cpp | bf3d36c545c575a931832f48ae942c008cf15ea5 | [] | no_license | zziri/study | 0da83d87247dafb1083b6068e9b6354cb960af0c | b0eded396c5201283db2d7f45b66d19d3f2831b4 | refs/heads/master | 2023-03-26T23:47:13.699539 | 2021-03-25T01:19:40 | 2021-03-25T01:19:40 | 152,895,651 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 927 | cpp | 1120 문자열.cpp |
/**
* @author Jihoon Jang
*/
#include <iostream>
#define abs(a) ((a>=0)?(a):(-a))
#define INF 987654321
#define SIZE 101
using namespace std;
void input(char *a, char *b)
{
cin >> a >> b;
}
int strlenn(char *str)
{
int ret = 0;
for(int i=0; str[i]; i++){
ret++;
}
return ret;
}
int strdiff(char *str1, ch... |
8716356a1361079823d6f530a4c3ad5a9d7177c6 | 1f5ed6bf21a3277ca821dfff179ae534193acfdd | /Martin/3rd/SFBAudioEngine/Output/AudioOutput.cpp | a9197afee99fae4d01b830ecef6ae79711d64909 | [
"MIT"
] | permissive | tgrbin/Martin | 348943564121ea67d85febaf414cc5294c0f24a3 | 4935094faec06fd6808acb21b682f341d9de5b54 | refs/heads/master | 2016-09-16T14:26:43.706904 | 2016-04-17T10:52:55 | 2016-04-17T10:52:55 | 16,113,436 | 12 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,811 | cpp | AudioOutput.cpp | /*
* Copyright (C) 2014 Stephen F. Booth <me@sbooth.org>
* All Rights Reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* - Redistributions of source code must retain the above copyright
* ... |
ba549e79dd215afabaeb2f7f42ea60b6eb11a556 | 53288d41d609f174b37daf722a41bd1ac930adf1 | /TD2_Cpp/ex3.cpp | 5e593720916886bdcac2df95ed5f84d9f3163838 | [] | no_license | auricjeremy/Cpp | 00f555e63da442e2abe712ced2e57c0d654bf707 | 06daf6033367e4b252bad16fe69a5a4a67b0f450 | refs/heads/master | 2022-01-09T16:52:03.616080 | 2018-11-28T09:15:07 | 2018-11-28T09:15:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 297 | cpp | ex3.cpp | #include <iostream>
using namespace std;
int main()
{
// Nombre de lignes sur le rectangle.
for(int numberOfLine = 0; numberOfLine < 10; numberOfLine++)
{
// Afficher les étoiles sur une ligne.
for(int star = 0; star < 7; star++)
{
cout << "*";
}
cout << endl;
}
return 0;
}
|
dd01c19ba2fe56912ff945ac0a555181c4da8295 | cb83044bd6adedb9386a8698ffd2ba5d0058b8e5 | /Code-Chef/2017-10_MEX.cpp | 23a0205eacecd56083565b435151fcfa62a8a844 | [] | no_license | jacstrong/Code-Competitions | 2295c6a8fce12a4cf86129e72646fbaad6149b37 | d2b58cc14e01751f54971b2a81955e3e1d2bb5b3 | refs/heads/master | 2021-07-13T11:40:21.909358 | 2017-10-17T17:14:35 | 2017-10-17T17:14:35 | 106,328,640 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,018 | cpp | 2017-10_MEX.cpp | /*
* Jacob Strong
* Written October 2017
* https://www.codechef.com/OCT17/problems/MEX
*/
#include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
int main(void){
int T;
cin >> T;
for (int i = 0; i < T; i++){
int N;
cin >> N;
int K;
cin >> K;
int temp;
vector<int> S(200000)... |
13a587acf10639ccb514a258280e5b14a24b4207 | 83286ed366823923a390cc2781113e78580b313a | /PARTY.cpp | 21addca5d7084de4e80db4134c9b5f26970c72a6 | [] | no_license | chunky2808/Spoj_Solutions | 57d2b9705ba562eb431b0607486b7376c15a56dc | ba00572d31d486563233804cd198be871608201c | refs/heads/master | 2020-03-19T01:43:30.392463 | 2018-05-31T10:13:15 | 2018-05-31T10:13:15 | 135,567,622 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,171 | cpp | PARTY.cpp | //time complexity -
//space complexity -
//Submitted by Chunky_2808
#include<bits/stdc++.h>
using namespace std;
typedef long long int ll;
void fastscan(ll &x)
{
bool neg=false;
register int c;
x =0;
while((c=getchar()) < 48);
if(c=='-')
{
neg = true;
... |
bff9c382cba60f9305eee44d63632f2e0bad2596 | 9013f8c47968a1eb9e1ae7110fb7363d4ad31784 | /UVA-problems/Flip sort.cpp | 23771a17002514e1e25e2bad564874d6bb84e3f1 | [] | no_license | omar-mohamed/OnlineJudges-solutions | d06c4548a7976dc8f240e9305d829d977359b432 | db99595e5279aedeb272b2057a52eb762db0d3d7 | refs/heads/master | 2020-12-19T22:01:32.848873 | 2016-06-06T16:15:27 | 2016-06-06T16:15:27 | 18,807,382 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 627 | cpp | Flip sort.cpp | //#include<iostream>
//#include<algorithm>
//using namespace std;
//int main()
//{
// int n,tmp,count=0;
// int arr[1050];
// while(cin>>n)
// {
// for(int j=0;j<n;j++)
// {
// cin>>arr[j];
// }
// int j = 0;
// bool test;
// do {
// test = false;
// j++;
// for (int ... |
ba74a7bf4b64e540a9b0cae336f791ee0884f64b | f9ec70cbae85a7daac3c3f170c7dbb1109ecd17b | /src/color.cpp | 62e91480e7e7018105a2fb9f772969819b77b581 | [] | no_license | bowhan/circos_converter | 11bde34ec84d2457fea502aec3313a1932586945 | 920f9b8e0051e2f95fadef9100d7bb498ca775d0 | refs/heads/master | 2021-01-12T17:47:10.673894 | 2016-12-08T13:12:24 | 2016-12-08T13:12:24 | 69,390,507 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 750 | cpp | color.cpp | #include "utils/color.hpp"
#include <algorithm>
std::string to_rgb(double value, double minimun, double maximum) {
double ratio = 2 * (value - minimun) / (maximum - minimun);
int b = std::max(0, int(255 * (1 - ratio)));
int r = std::max(0, int(255 * (ratio - 1)));
int g = 255 - b - r;
return std::s... |
a67234cfd0fdea4f53716a150b2672c99e9622a9 | 5b83a3eef49ac004b98ff1ff9ce30989fd85c567 | /VArena/Culori1/culori1.cpp | 00396da6dc5208b05c157ac7294376671b6fdab3 | [] | no_license | floreaadrian/AlgCodes | cd0dfe331d2b1acae26ead05c4be07d6c3c05f52 | b3ba2472ba256a73daea334c22bbca282ff3a24d | refs/heads/master | 2020-05-25T14:34:27.475469 | 2019-05-21T13:49:35 | 2019-05-21T13:49:35 | 187,846,889 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 670 | cpp | culori1.cpp | #include<fstream>
using namespace std;
ifstream fin("culori1.in");
ofstream fout("culori1.out");
int v[1000],f[101];
int main()
{
int n,i,k,j,i0=0,i1=1,i2=2,lafel=0,max;
fin>>n>>k;
for(i=0;i<n;i++)
fin>>v[i];
fin.close();
for(i=0;i<n;i++)
{
if(v[i0]==v[i1] && v[i1]==v[i2])
lafel++;
... |
730043ecc1283b812aa6c18b3495e7080722194f | 1f59f964cb03a0f2b31c89a3cbe21e04123094d6 | /Src/Engine/World/SpacePartition/Octree.cpp | 0fd0e62ecf58f471a696aefabb41ed860c1c6c8e | [] | no_license | ugozapad/Gamedesk | 6a69e71a6416e16063ac1203be2c994571948d2a | db6dc1c815adaf358d4d7c124b13b79802e6043c | refs/heads/master | 2022-01-26T17:01:52.651185 | 2011-07-01T00:08:53 | 2011-07-01T00:08:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,162 | cpp | Octree.cpp | #include "Engine.h"
#include "Octree.h"
#include "Maths/Intersection.h"
namespace Gamedesk {
IMPLEMENT_CLASS(Octree);
Octree::Octree(void)
{
// Initialize(Vector3f(0,0,0), Vector3f(1000.0f, 1000.0f, 1000.0f), Vector3f(10.0f, 10.0f, 10.0f));
}
Octree::~Octree(void)
{
}
void Octree::Initialize(Vector3f pPosi... |
4dabcd2e9d9f35129ec43c36a787351abe61e422 | 6694e74a33999b764a3858917e8643a3b546f62f | /libkineto/src/ActivityType.cpp | a7295da73c24e3cb85a5fd54199b59eb686dd381 | [
"BSD-3-Clause"
] | permissive | LinGongHeng/kineto | 4fa824a9172ac400d98542404143c2e4a33b1f31 | ebde0dd49192647dbfc49b4362363134266ca3d9 | refs/heads/main | 2023-09-06T02:10:16.444040 | 2021-11-22T19:03:56 | 2021-11-22T19:05:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,867 | cpp | ActivityType.cpp | /*
* Copyright (c) Facebook, Inc. and its affiliates.
* All rights reserved.
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "ActivityType.h"
#include <fmt/format.h>
namespace libkineto {
struct ActivityTypeName {
c... |
94edde8a7fe083db53b29225628ad051f48ea7d7 | cfeac52f970e8901871bd02d9acb7de66b9fb6b4 | /generated/src/aws-cpp-sdk-codedeploy/source/model/DeploymentOverview.cpp | e9889864acd5cb62d0721694021738af44b69add | [
"Apache-2.0",
"MIT",
"JSON"
] | permissive | aws/aws-sdk-cpp | aff116ddf9ca2b41e45c47dba1c2b7754935c585 | 9a7606a6c98e13c759032c2e920c7c64a6a35264 | refs/heads/main | 2023-08-25T11:16:55.982089 | 2023-08-24T18:14:53 | 2023-08-24T18:14:53 | 35,440,404 | 1,681 | 1,133 | Apache-2.0 | 2023-09-12T15:59:33 | 2015-05-11T17:57:32 | null | UTF-8 | C++ | false | false | 2,619 | cpp | DeploymentOverview.cpp | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/codedeploy/model/DeploymentOverview.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
namespace Aws
{... |
317347c415e205be6e8029505df4169fa1ff6aee | 0182a60fdf5976d7df3154fb6470e8fc1c8f4b43 | /source/config.hpp | 45e5688b0383e1accd0221fc95dbe126547ad924 | [
"MIT"
] | permissive | LiquidFenrir/MultiUpdater | cffc8824742b8a2991c38e31b864b7c71f39d2c2 | 7d0ce6df21de24924c851f9e4049e2c17b08d9a4 | refs/heads/rewrite | 2021-01-17T21:03:44.916666 | 2021-01-07T15:30:46 | 2021-01-07T15:30:46 | 62,512,980 | 175 | 39 | MIT | 2021-01-07T14:36:44 | 2016-07-03T19:58:43 | C++ | UTF-8 | C++ | false | false | 537 | hpp | config.hpp | #pragma once
#include "common.hpp"
enum EntryState {
STATE_NONE = 0,
STATE_FAILED = BIT(0),
STATE_SUCCESS = BIT(1),
STATE_MARKED = BIT(2),
};
class Entry
{
public:
std::string name;
int state;
Entry(json jsonEntry);
void update(bool deleteArchive, bool deleteCia);
private:
std::string m_ur... |
7dd927c7373b5b4ff8bd9dc6c4165759b4735338 | a2b49d0b5414134df2dbfd690b1fbab66db2d01f | /fibbonacci_numbers.cpp | 966a5778a91ed9e79f7de2e278dc60bea4c1ded8 | [] | no_license | Ngufuli/cpp | 7296e6cae38af27b314a156478899b2dd4a0b3be | c7acc1ea19f2f25c8dc2fe9be52a8ca92af9ae77 | refs/heads/master | 2020-06-28T16:29:51.833907 | 2019-08-03T01:39:33 | 2019-08-03T01:39:33 | 200,281,571 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 260 | cpp | fibbonacci_numbers.cpp | using namespace std;
#include<iostream>
int fibb(int n);
int main()
{
int n,i;
cout<<"Enter a number\n";
cin>>n;
for(i=1;i<=n;i++)
cout<<fibb(i)<<" ";
}
int fibb(int n)
{
if(n==1)
return 0;
else if(n==2)
return 1;
else
return fibb(n-1)+fibb(n-2);
}
|
801c5e0feb3e23fb1c6e6a92096d82baae699587 | 8a1d4c495534963852c043bbdf76cfdc41ac8ecf | /week5-tiny_oracle/_older/thermal_printer_test.ino | e0ebee999a3cfefa28a052a4debec68edf37102f | [
"MIT"
] | permissive | sharkwheels/Independet_study_2017 | e12d36145f29cdc1962b4cf6725c31f8b0d24c0f | bc3974a784c1d264b10a8584e9c5000d5d20496a | refs/heads/master | 2020-12-30T16:28:51.560667 | 2017-08-17T17:40:23 | 2017-08-17T17:40:23 | 90,997,181 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,941 | ino | thermal_printer_test.ino | /************
Tiny Oracles 1.0
https://learn.adafruit.com/adafruit-neopixel-featherwing
http://richardhayler.blogspot.ca/2016/04/getting-started-with-adafruit-feather.html
**************/
#include <SoftwareSerial.h>
#include <Adafruit_Thermal.h>
#include <ESP8266WiFi.h>
#include <Adafruit_NeoPixel.h>
#ifdef __AVR__
#... |
b0204f6bf548aa2cc1e566de5583d9b005e58b00 | 9e2f2e03a169036b3b23253faafb23be2a239458 | /11631/11631.cpp | 8d8921862efd389b798befca75a05c93b1a1ff27 | [] | no_license | M4573R/UVa-Online-Judge-1 | b45bfc327459adedb0ace989bd8fa6c41b9d6be1 | 702fa3e03a3739e7ed5a8c5aa71f963272d95543 | refs/heads/master | 2021-01-16T18:44:30.776083 | 2014-08-22T13:48:11 | 2014-08-22T13:48:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,007 | cpp | 11631.cpp | //==============================================================
// Coded by: Huynh Nhat Minh
// Problem Number: 11631 - Dark roads
//==============================================================
#include <iostream>
#include <cstdio>
#include <algorithm>
#include <cstring>
#include <string>
#include <cctype>
#include... |
85d849552185348ae587fd03ad97d2c07c1a7bcc | 0c4f4a5c9e704dd25970720a39f85f3bc9f8f048 | /src/protos/TotalCountType.pb.h | 2b316922acbccb4feeadc0734fd5f09c642f46fb | [
"MIT"
] | permissive | diadoc/diadocsdk-cpp | c36012343235189807900692794ce585a9d95461 | 4cdc6eac90cda5d37bd5f3d7f27aadbfd492099a | refs/heads/master | 2023-08-17T18:07:01.186735 | 2023-08-09T08:24:06 | 2023-08-09T08:24:06 | 59,778,885 | 7 | 24 | MIT | 2023-08-09T08:24:08 | 2016-05-26T19:51:04 | C++ | UTF-8 | C++ | false | true | 2,796 | h | TotalCountType.pb.h | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: TotalCountType.proto
#ifndef PROTOBUF_TotalCountType_2eproto__INCLUDED
#define PROTOBUF_TotalCountType_2eproto__INCLUDED
#include <string>
#include <google/protobuf/stubs/common.h>
#if GOOGLE_PROTOBUF_VERSION < 2006000
#error This file was gener... |
c56dce856c5d5e034929f6ab9e0720302b7f25bd | 193bb9c5920938df0722a18ce938ec097acdf779 | /TA Program 4 Vexed/TA Program 4 Vexed/AllBoards.hpp | 6011ef3b98a1c00f3cab9be2187aa3856399e566 | [] | no_license | buzixiua/cs141 | 550c1f47b8940ab58cb253deb357ec1cd62e313c | efaeb556e56d2d688e3ce2245f5ce828cdfba801 | refs/heads/master | 2022-04-04T21:26:20.780432 | 2019-12-22T13:41:04 | 2019-12-22T13:41:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,088 | hpp | AllBoards.hpp | //
// AllBoards.hpp
// TA Program 4 Vexed
//
// Created by Viktor Kirillov on 10/14/19.
// Copyright © 2019 Viktor Kirillov. All rights reserved.
//
#pragma once
#include <iostream> // For cin, cout
#include <fstream> // For file input
#include <cstring> // For fgets()
#include "Board.hpp"
#include "Cons... |
6384b2322a5a192c94f132dac0d70664df0f8ecc | 4f24a8f533c63203c0b8c86fcc18a2a4e6856660 | /ip_filter_range.cpp | 874ef019800237b22337794c81e1ca0993f31380 | [] | no_license | East-Oz/range | 38f7e367789ee24efbe4c41fc29059e5fd95f829 | 914ba44f37b20a7508cd3b6bb4591f73417d07b0 | refs/heads/master | 2020-04-25T17:21:09.029560 | 2019-02-28T15:37:11 | 2019-02-28T16:17:32 | 172,944,617 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,011 | cpp | ip_filter_range.cpp | #include <iostream>
#include <cassert>
#include <cstdlib>
#include <iostream>
#include <string>
#include <vector>
#include <algorithm>
#include <fstream>
#include <sstream>
#include <chrono>
#include <range/v3/all.hpp>
// ("", '.') -> [""]
// ("11", '.') -> ["11"]
// ("..", '.') -> ["", "", ""]
// ("11.", '.') -> ["... |
d03692ae02e7c3b12f5ae8f5e9211fabe263762a | ca7922175dba2afd28d315e49256c2b19a5495fd | /Files.cpp | ac141da490dfd16f10d894e92984a3e89cd085f6 | [] | no_license | LuisR-jpg/CoronaCoders | bda52b24f06ca3a5d524d522f230ce7626dc3698 | 5b2ff531123ca2c54b9a1ff5f27ac085b394ab2c | refs/heads/main | 2023-09-06T05:14:03.387141 | 2021-11-12T18:30:11 | 2021-11-12T18:30:11 | 308,761,352 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 189 | cpp | Files.cpp | #include <bits/stdc++.h>
using namespace std;
int main(){
freopen("input.txt", "r", stdin);
freopen("output.txt", "w", stdout);
//Now you can use cin and cout normally
return 0;
}
|
4724552bfd2ade849884ec0a7a5f61041c623a62 | ce864449c5444ec84b1c7d663ede682d82f82126 | /libgo/defer/defer.cpp | 718df4af4c7dfbbb2ef2046ae498282792dc3b02 | [
"MIT"
] | permissive | hbt19860104/libgo | e732c80ff05225232b93befe9ae958f53e6c8003 | 2445101912a3b83361b9766e34f76cc16567f111 | refs/heads/master | 2022-11-01T06:57:48.288008 | 2020-06-16T06:33:46 | 2020-06-16T06:33:46 | 272,623,004 | 1 | 0 | MIT | 2020-06-16T06:03:26 | 2020-06-16T06:03:26 | null | UTF-8 | C++ | false | false | 1,042 | cpp | defer.cpp | #include "defer.h"
#include "../scheduler/scheduler.h"
#include "../cls/co_local_storage.h"
namespace co
{
inline void*& GetLastDeferTls()
{
thread_local static void* p = nullptr;
return p;
}
dismisser*& dismisser::GetLastDefer()
{
Task* tk = Processer::GetCurrentTask();
... |
933ec31538f8b50d483cfe9b5a37256a13167a37 | e25b7aad6b112244c214f74ed6942bb00c482bcb | /battleGame/SoulBelt.cpp | d64e882c6cbabf013d031f725a90630cbaa064a8 | [] | no_license | kvshdev/SoulRulersGame | 88c4b5a96a50af497352bfcb6c79fa8b92956b1c | 4e2d3121c5ac819ef52a37f45f26e16db9650013 | refs/heads/master | 2020-04-12T21:27:04.526804 | 2018-12-22T04:03:22 | 2018-12-22T04:03:22 | 162,762,304 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,181 | cpp | SoulBelt.cpp | //
// SoulBelt.cpp
// battleGame
//
// Created by Kadeem Bobcombe on 12/21/18.
// Copyright © 2018 Kadeem Bobcombe. All rights reserved.
//
#include "SoulBelt.hpp"
#include "SoulRuler.cpp"
#include <vector>
using namespace std;
class SoulBelt{
string name;
int size = 0;
Souls *mySouls[4] = {NULL... |
fccbd826a4c6dd032fafb4b0c0a7495e16208a77 | c786d2d846c122bf40a315f922ea6d30d13f2446 | /witness/server/webcam/webcam.h | 064e16929e7b46b2b350ae1019f8567179188914 | [
"Apache-2.0"
] | permissive | curtismuntz/witness | f739360c30571228aafde3fa89ef5fe2e0221a00 | 474a90ebd42ffa965f4869431a675005e8f149fd | refs/heads/master | 2023-09-01T21:52:32.066082 | 2021-03-17T17:19:03 | 2021-03-17T17:19:03 | 172,268,964 | 15 | 2 | Apache-2.0 | 2023-07-05T22:39:29 | 2019-02-23T22:02:29 | C++ | UTF-8 | C++ | false | false | 1,622 | h | webcam.h | #pragma once
#include <memory>
#include <string>
#include "glog/logging.h"
#include "opencv2/core.hpp"
// #include "opencv2/highgui.hpp"
#include "opencv2/imgproc.hpp"
#include "opencv2/video/background_segm.hpp"
#include "opencv2/videoio.hpp"
namespace witness::webcam {
// Manager and actions for common camera acqui... |
29aa100f2f070ca92877408dc59f91cd1aa49ff3 | 308cf11178f8034c1e64e9692d633dbf94d9edda | /core/src/main/cpp/keyx/KeyRequestData.cpp | c3f20a85b87cf8500895418f2ca6fdac1c31d846 | [
"Apache-2.0"
] | permissive | firmangel8/msl | 9abd151c5b31254fba9ce4ea5a61939c7d262da7 | 78dfd67165533d97051ea6d828063eacc92de77a | refs/heads/master | 2020-12-20T06:34:56.344898 | 2019-10-28T20:00:19 | 2019-10-28T20:00:19 | 235,989,131 | 1 | 0 | Apache-2.0 | 2020-01-24T11:18:03 | 2020-01-24T11:18:03 | null | UTF-8 | C++ | false | false | 3,496 | cpp | KeyRequestData.cpp | /**
* Copyright (c) 2016-2017 Netflix, Inc. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requir... |
39e9315a210592d4fb1385d6d734f8bf9d7d43ef | a46994fe39ed68cb82081f2f5f41cf96bb34bb1b | /BombermanIKA/Source/BombermanIKA/BIKExplosionActor.cpp | aa1028f81f74e700542c6343c6a25772d1b3b92e | [] | no_license | Naufrago0/BombermanIKA | 5152d08e30e62568a77c63f2c3cdbaccb5267e25 | 19bdd2a80f23516430a2b6a3a0ac698ab60ad0e6 | refs/heads/master | 2021-08-26T07:28:51.756526 | 2017-11-22T08:50:05 | 2017-11-22T08:50:05 | 110,872,478 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,773 | cpp | BIKExplosionActor.cpp | #include "BIKExplosionActor.h"
#include "BIKLevelBlock.h"
#include "BIKDestructibleBlockActor.h"
#include "BIKPowerUpActor.h"
ABIKExplosionActor::ABIKExplosionActor()
{
DelaySecondsToApply = 0.f;
ExplosionSeconds = 0.f;
DamageEnabled = true;
//Enable tick for this class of actors
PrimaryActorTick.bCanEverTick = ... |
c9d69c4446c8aa60e6cabfd81d005155470eb946 | fd53a68dc04d6fcf066ecf0fcc7e747a6fcbd5bf | /util/include/HSC/baslerClass.hpp | ba47d67a5bf39b0f5b6b3f0f89bd464605d78937 | [] | no_license | mikihiroikura/CoaXpressCam | fbbecbc08237602ba755fad70b543a5d5cbb1634 | e9603189e60ce0c7aab11f0db53ca99f62fa6986 | refs/heads/master | 2023-05-25T12:18:43.214695 | 2021-05-28T07:11:46 | 2021-05-28T07:11:46 | 280,502,010 | 1 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 2,833 | hpp | baslerClass.hpp | #pragma once
/// @file baslerClass.hpp
/// @brief baslerClass baslerカメラ
/// @author Mikihiro Ikura
/// @date 2017/8/10 作成
/// @date 2020/6/11 最終更新
/// @version 2.0.1 Pylon6に対応
///
#include <HSC/Camera.hpp>
#include <Basler/pylon/PylonIncludes.h>
#include <Basler/pylon/PylonGUI.h>
using namespace Pylon;
#include ... |
b24a3c4b2858f75624e35f195fb675dd6adb8fde | b6d732508140f86297d89cd8cea366bed7b17e10 | /011.container-with-most-water.hpp | 43320e87bd28a56a405a5a51f01c8c2a442760e4 | [] | no_license | 15cm/LeetCode | 8cfd25d7aac01f2cf99e9171d07d20540f9a2de0 | da5bb7d378371861008e4180ce6fb05b5d880a01 | refs/heads/master | 2021-01-13T01:07:16.351418 | 2018-09-24T06:13:22 | 2018-09-24T06:13:22 | 54,251,571 | 1 | 0 | null | 2019-05-01T02:10:03 | 2016-03-19T06:40:34 | C++ | UTF-8 | C++ | false | false | 443 | hpp | 011.container-with-most-water.hpp | #include <vector>
#include <math.h>
using namespace std;
class Solution {
public:
int maxArea(vector<int>& height) {
int ans = 0;
for(int i = 0, j = height.size() - 1; i < j;height[i] > height[j] ? j -- : i ++) {
ans = max(ans, areaOf(i, j, height[i], height[j]));
}
ret... |
fbf49aaece842529d8e5365b3eb0a35cf4e1a5aa | 0ca1bb89e877b3c9d3ae6f5baceb7ecb8e0120d4 | /Samples/Plugins/main.cpp | b6c0615064a17ef325f2de215fe0b5f6777de003 | [] | no_license | MazingR/stormancer-sdk-cpp | 10451899e563d76407c6995306abaeaffc70752a | e90ab82d50c4e829eac2bf98326fe6efabea8d5f | refs/heads/master | 2020-03-20T21:35:33.262788 | 2018-06-15T09:16:07 | 2018-06-15T09:16:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,847 | cpp | main.cpp | #include "StormancerWrapper.h"
#include "PlayerProfile/PlayerProfileService.h"
#include "PlayerProfile/PlayerProfile.h"
#include "Leaderboard/LeaderboardService.h"
#include "stormancer/Logger/ConsoleLogger.h"
#include "stormancer/Helpers.h"
bool stop = false;
const std::string endpoint = "http://127.0.0.1:8081";
const... |
ef38a97918d38299730220e3e92125b5ebd937e8 | ae6dbcfd6a333bf598b871e15a7741fef81f964f | /Projects/bdda/src/CPP/PowerPoint/PptDataModel/PptFooterMCAtom.cpp | 5622424464a031b77d7d843b3a2973d952168e6d | [] | no_license | xeon2007/WSProf | 7d431ec6a23071dde25226437583141f68ff6f85 | d02c386118bbd45237f6defa14106be8fd989cd0 | refs/heads/master | 2016-11-03T17:25:02.997045 | 2015-12-08T22:04:14 | 2015-12-08T22:04:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 677 | cpp | PptFooterMCAtom.cpp | /**
* @file PptFooterMCAtom.cpp
*
* Definition of class PptFooterMCAtom
*
* (c) Schema Software Inc., 2003
*
* @ingroup PowerPoint
*/
#include "ch_prelibc.h"
#include "ch_prefix.h"
#include "PptFooterMCAtom.h"
#include "PptDataModelVisitor.h"
PptFooterMCAtom::PptFooterMCAtom(const EshHeader & in_header) :
P... |
f4b70a36ad69c138eb075d828f3c945ca9504b46 | 7422e240993e1a7d41833cf41a56441438eed34c | /Prax13/main.cpp | 10664fd866953381ef6da55dc6539548074b84bb | [] | no_license | nikopa96/C-Advanced | 3a653b72e15d5a899a95b95705a6e7adb2448eff | b2f0fd2d1fe49fdd402f250ac011385557adcd61 | refs/heads/master | 2022-02-03T10:28:28.761484 | 2019-06-25T18:08:51 | 2019-06-25T18:08:51 | 193,759,186 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 507 | cpp | main.cpp | #include <iostream>
#include <thread>
#include "Room.h"
std::mutex msgmutex;
int main() {
auto rp = std::make_shared<Room>("Orange",3);
auto rp2 = std::make_shared<Room>("Green",2);
rp->setNext(rp2);
std::vector<std::thread> players;
for ( auto &name : { "Alice","Bob","Carol","Dave","Eve","Georg... |
481d2013a5b9fb84408702bfc6ab715a77b157de | 78e12055ace347c65e371aae2bcfb4c9d6e02e61 | /Lab-0106/Lab-0106/3DVector.h | 10f63cd8467b82798cf1b6a4e68b73d7c804b6ba | [] | no_license | dusandjovanovic/Array-and-Multi-dimensional-array-implementation | c27e278a9c1076b707a11669c2a7a394d3fe4431 | 1e3588f8b7da9d365e698951348073a81de37172 | refs/heads/master | 2021-07-01T02:05:23.889700 | 2017-09-19T19:09:03 | 2017-09-19T19:09:03 | 103,441,247 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 952 | h | 3DVector.h | #pragma once
#include <iostream>
using namespace std;
class multiDim {
protected:
double* data;
long dimension;
public:
multiDim() {
dimension = 3;
data = new double[dimension];
}
multiDim(double x, double y, double z) {
dimension = 3;
data = new double[dimension];
data[0] = x;
data[1] = y;
data[2]... |
f4af81ae01f5b19c4fdbdf60857b6ed62e9b5495 | 8b34a27043d7905e76b288ef496a06af3eefef88 | /main.cpp | 3a0d5a64dc2fb39eb1bf079069ac0abf20e71b13 | [] | no_license | dream-kzx/PersonServer | 33daebfff224de5073e0e7bed1fa6b44bacd8073 | c46417baedf1121591ef0c263cd1924e3dd09db5 | refs/heads/master | 2022-10-27T10:44:09.213104 | 2020-06-14T03:24:55 | 2020-06-14T03:24:55 | 271,152,796 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 870 | cpp | main.cpp | // ManagerServer.cpp: 定义应用程序的入口点。
//
//
#pragma execution_character_set("utf-8")
#include <httplib.h>
#include <sqlite3.h>
#include <chrono>
#include <cstdio>
#include <cstdlib>
#include <iostream>
#include "KServer.h"
#include "SQLKK.h"
#include "Controller.h"
#include "MyCrypto.h"
extern lookupman::KServer k_ser... |
f616208538c398bdc3266c770141d837da51a7ab | 0e9a4940ce22ffcbbc15d92a462d7f28e01d0787 | /src/FCFS.cpp | 8ea2201c927bb4a29cd7bdd3d4e0ed7e2cca7452 | [
"BSD-3-Clause"
] | permissive | ryangarvey/Schedulers | e4484574e56e573560636b7b5322c12c238c2e7f | 71d20c131774641a91364756d35b346621e882df | refs/heads/master | 2022-11-15T18:02:51.251939 | 2020-07-01T23:16:28 | 2020-07-01T23:16:28 | 276,080,521 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 861 | cpp | FCFS.cpp | #include "Scheduler.h"
#include "ProcessSorts.h"
#include <vector>
#include <queue>
#include <iostream>
#include <algorithm>
using namespace std;
void FirstComeFirstServed(vector<Process>& procs) {
Scheduler schedule;
sort(procs.begin(), procs.end(), sortByArrival);
int currTime = procs[0].arrival;
f... |
4df10b9d98cfa323fc0b71772a9e8bea8cfc8a87 | 61225acb6eb55cfbe464c7554b627fa92b736d97 | /cisco-ios-xr/ydk/models/cisco_ios_xr/fragmented/Cisco_IOS_XR_fib_common_oper_2.cpp | cc96d0a4c869934d0155837dd7e2044a595cb9be | [
"Apache-2.0"
] | permissive | CiscoDevNet/ydk-cpp | a4301f2e512e50b1d4287a04ae50e361cffa3f4e | f84684214cff6dc640338ccca9ecdf13d308205f | refs/heads/master | 2023-08-16T18:05:25.822935 | 2022-02-19T18:27:13 | 2022-02-19T18:27:13 | 74,431,871 | 19 | 13 | Apache-2.0 | 2023-09-06T17:29:35 | 2016-11-22T03:48:08 | C++ | UTF-8 | C++ | false | false | 1,020,386 | cpp | Cisco_IOS_XR_fib_common_oper_2.cpp |
#include <sstream>
#include <iostream>
#include <ydk/entity_util.hpp>
#include "bundle_info.hpp"
#include "generated_entity_lookup.hpp"
#include "Cisco_IOS_XR_fib_common_oper_2.hpp"
#include "Cisco_IOS_XR_fib_common_oper_3.hpp"
using namespace ydk;
namespace cisco_ios_xr {
namespace Cisco_IOS_XR_fib_common_oper {
F... |
a5bc8417299252f2b6d09e261820f3b9b6ed08c8 | f0723f4d6b072ec086a7ecddb617b61dca4a1d31 | /main.cpp | ad718909c6b29003e8a1f1d7d048ff46e2cf4475 | [] | no_license | mcdonk24/Assignment1 | cf48beea3edd34a9250c878229de4d32d6a9b036 | fbf986edd8495381c17408920abc33b04c2272a3 | refs/heads/master | 2020-04-15T09:13:49.588651 | 2013-12-16T11:57:01 | 2013-12-16T11:57:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,663 | cpp | main.cpp | #include "Animal.h"
#include "Carnivore.h"
#include "Herbivore.h"
#include "Omnivore.h"
#include <iostream>
#include <vector>
//16.classTest and structTest used to demonstrate difference between class and struct
class classTest{
int r;
};
struct structTest{
int t;
};
//20.Used in the algorithm, for_each, for the v... |
cf244ec03a078deed3abbccb3274757b618beedb | 61de147b672f29e97e786eb508167706b463feb1 | /FaustGames/CommonSources/gen/BaseObjectsPInvoke.cpp | d480cfea4aaaf3692534d5ab917c2d9da98fbf55 | [] | no_license | faustgames-ru/FaustEngine | 83914ac8ba11163984dbe74ebfdef48793c3c67c | c779e3ff99503f366624c5c1ac202e4648c6bb4e | refs/heads/master | 2021-04-22T13:31:30.544214 | 2019-02-05T08:49:07 | 2019-02-05T08:49:07 | 29,536,506 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 234 | cpp | BaseObjectsPInvoke.cpp | /* ============================================================== */
/* This file is automatically generated. Please do not modify it. */
/* ============================================================== */
#include "BaseObjects.h"
|
a63e0832aba5567445157e4d99a3887518259711 | 9fbb4f4fcf1ba449279773b5244664d3dbbfa335 | /UnitTests/PrimitiveTypes/4_1_Tests.cpp | f1a4f55084fedbb498ab2a7c2b2cb6a16b3dc8fb | [] | no_license | ChrisMurimPark/EPI | 39f7ace21ff0a239e099f09fa09820d67dea4d6c | f38071d3b138b9449c9e73d7b12ec09ac06f134a | refs/heads/master | 2021-05-01T12:25:28.124726 | 2018-08-06T01:39:45 | 2018-08-06T01:39:45 | 121,065,706 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,303 | cpp | 4_1_Tests.cpp | //
// Problem1Tests.cpp
// UnitTests
//
// Created by Chris (Murim) Park on 2/10/18.
// Copyright © 2018 Chris (Murim) Park. All rights reserved.
//
#include <gtest/gtest.h>
#include <random>
#include <limits>
#include "../../EPI/PrimitiveTypes/4.1/Solution1.hpp"
#include "../../EPI/PrimitiveTypes/4.1/Solution2.hp... |
4ea44795ace3ec4eda5b0d4d683053f481da9829 | fd2503f9cd6eb223c462624d87e31566777e742e | /RoomServer/RoomServer/RoomServer.h | a4ce41206fadfe496e6fe492a7303b7ba64b92e5 | [] | no_license | 433Project/RoomManager | 9d75cdeb85cc021a7479756b43cef8eefd8a84cc | 078a3ab787f9c08dcc0cd98cc9f2f472b0e71073 | refs/heads/master | 2021-01-18T18:07:26.884693 | 2016-11-11T05:29:09 | 2016-11-11T05:29:09 | 72,184,523 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 405 | h | RoomServer.h | #pragma once
#include "IOCPManager.h"
#include "protocol.h"
class RoomServer
{
public:
~RoomServer();
void Start();
private:
void ProcessMessage();
struct Room
{
int player1;
int player2;
int roomNo;
int leftTime = 0;
};
struct AddressInfo
{
SrcDstType srcType;
int srcCode;
SrcDstType dstType;
... |
db985e39a2fa214781b5f857222450e76ff6f4ba | f6ab96101246c8764dc16073cbea72a188a0dc1a | /volume125/12546 - LCM Pair Sum.cpp | 7d20b017a0271059d685651ee835a7622d1e5927 | [] | no_license | nealwu/UVa | c87ddc8a0bf07a9bd9cadbf88b7389790bc321cb | 10ddd83a00271b0c9c259506aa17d03075850f60 | refs/heads/master | 2020-09-07T18:52:19.352699 | 2019-05-01T09:41:55 | 2019-05-01T09:41:55 | 220,883,015 | 3 | 2 | null | 2019-11-11T02:14:54 | 2019-11-11T02:14:54 | null | UTF-8 | C++ | false | false | 809 | cpp | 12546 - LCM Pair Sum.cpp | #include <stdio.h>
#define mod 1000000007LL
int main() {
int testcase;
int cases, n, i, j;
long long pi, ai, ans;
scanf("%d", &testcase);
cases = 0;
while(testcase--) {
scanf("%d", &n);
ans = 1;
long long N = 1;
for(i = 0; i < n; i++) {
scanf("%lld %ll... |
a6c8ad1f1d4b4343cd685adde58fbe3ea8ea86ab | db57b19e70315c4adb79020c64a1c9d2b4e3cc94 | /Editor/interface/ComponentLibraryDlg.cpp | e8bef67722bb734a9f24643e640be82d40d123d6 | [] | no_license | rock3125/gforce-x | da9d5d75769780939314bf03ac008f9d7362e675 | 3a349ea799dfe1f24fb04bb14b643175730c2d95 | refs/heads/master | 2021-12-25T06:27:14.101284 | 2017-02-20T09:32:44 | 2017-02-20T09:32:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,896 | cpp | ComponentLibraryDlg.cpp | #include "editor/stdafx.h"
#include "interface/componentLibraryDlg.h"
#include "interface/progressDlg.h"
#include "d3d9/interface.h"
#include "system/BaseApp.h"
#include "system/objectFactory.h"
#include "system/signals/creationObserver.h"
#pragma warning(disable:4355)
//////////////////////////////... |
d2af3d2bc04645b2286ce9153bc2a35832404606 | 8c1d48b95f674e9c16ab17e5f29e2d49ed7c17a2 | /Entrainement/DAY06/4.cpp | f09b7d856ff131e164ced3afef9b089eeaec23a0 | [] | no_license | labintei/C- | f2e4bbed02363e3e3a478da4e713c2531b228c1c | a0393da868d22e1ba95854e4a949a5994645928c | refs/heads/master | 2023-09-06T09:55:51.413994 | 2021-11-18T19:35:50 | 2021-11-18T19:35:50 | 417,142,508 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,309 | cpp | 4.cpp | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* 4.cpp :+: :+: :+: ... |
49cdd1c58dcf992ff6a1bd399c3ae6adff831d10 | 3ea34c23f90326359c3c64281680a7ee237ff0f2 | /Data/2324/H | 83cbbb73e717d7e3201e1bbc330c495d261ce202 | [] | no_license | lcnbr/EM | c6b90c02ba08422809e94882917c87ae81b501a2 | aec19cb6e07e6659786e92db0ccbe4f3d0b6c317 | refs/heads/master | 2023-04-28T20:25:40.955518 | 2020-02-16T23:14:07 | 2020-02-16T23:14:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 91,998 | H | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | foam-extend: Open Source Cstd::filesystem::create_directory();FD |
| \\ / O peration | Version: 4... | |
d0758ff3e157c973030fa80d5ff63c4dfbbbeab4 | b50e860ff4cf638152df1beb4257907676d0d6c9 | /CCC/CCC-'05-S4.cpp | 4a6cfc11ccf02ae59244b998a7e1adc6fe4974b5 | [] | no_license | elu02/CP-solutions | 50b5ab0d5725b01318fd6ce2606f2ca9d7de0129 | ac8913731e40ca223ee1523cc47b41989e22e511 | refs/heads/master | 2022-12-05T00:34:41.092716 | 2020-08-19T06:11:49 | 2020-08-19T06:11:49 | 288,637,996 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,469 | cpp | CCC-'05-S4.cpp | #include <bits/stdc++.h>
#include <iostream>
#include <map>
#include <queue>
#include <string>
#include <vector>
using namespace std;
struct Node
{
string s;
int level;
};
int main() //min = (length - one) * 2
{
ios_base::sync_with_stdio(0);
cin.tie(0);
int l;
cin >> l;
... |
aaddf8983fbeb80de1a5fcd72f4806779ffbda50 | 326e3da17182bda6b22e56211bcf2516f59817da | /TsWork/Light.h | ffd15978a2885df4df13785a37309498f1d1384d | [] | no_license | bzhao41/GLUTV2 | 11bc26df3cb4a31297623affc66959067c4eefd1 | c28f595ff542efc8eca17334fa8970607001b50a | refs/heads/master | 2021-04-09T14:00:38.768525 | 2018-03-21T23:01:19 | 2018-03-21T23:01:19 | 125,548,030 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 608 | h | Light.h | #ifndef __LIGHT_H__
#define __LIGHT_H__
#include "Angel.h"
class Light {
public:
Light(vec4 p, vec4 a, vec4 s, vec4 d) : position(p), ambient(a), specular(s), diffuse(d) {}
vec4 getPosition() { return position; }
vec4 getAmbient() { return ambient; }
vec4 getDiffuse() { return diffuse; }
vec4 ge... |
3ccf03ae4041b1d1557ee376bcf6cd6d275e2605 | ca98685f0731a88953dd16f59a977f0ec6a8822a | /src/roms/EmuProperties.h | 045486ceb9f4277470be24cacde4567b5cdb4873 | [] | no_license | damarbo33/MinimalUI | 2ff15492f1e93acb52b2dfc96c7cd8424b7d7235 | bef959866b68af7573b28abbd3ca6b8c5a720563 | refs/heads/master | 2022-11-07T17:38:08.468750 | 2022-10-27T09:32:33 | 2022-10-27T09:32:33 | 22,223,415 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 830 | h | EmuProperties.h | #ifndef ESTRUCTURASEMU_H
#define ESTRUCTURASEMU_H
class Emuinfo{
public:
Emuinfo(){
clear();
};
~Emuinfo(){};
struct struct_emu {
string idEmu, nombreEmu, rutaEmu, parmsEmu, rutaRoms, emuRomExt, rutaImg;
string platform;
bool descom... |
93dd5b203552bce595f059a9431d1ea4567daf21 | 8d8e518d2d90a87c58217ecc2fd333adc83330a8 | /PACMAN CLONE/loadMaze-Post.cpp | 136074c3962700fa5a6d88c105b9546ae2857ec0 | [] | no_license | MatthewM39/Data_Structures_Stuff | 9cbbaa3c910b853f8bfeaa811b07f58ebe64d0f3 | 6c82255195aad9d6d17ae53dca7b688250dbc1f3 | refs/heads/master | 2021-01-23T08:10:38.814099 | 2017-03-28T16:21:20 | 2017-03-28T16:21:20 | 86,482,184 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,162 | cpp | loadMaze-Post.cpp | #include <fstream>
#include <string>
#include <iostream>
using namespace std;
#include "CConsole.h"
class Maze {
public:
Maze() {
console = new CConsole(64, 24);
}
~Maze() {
delete console;
}
void display() const {
for (int i = 0; i < xSize; i++) {
for (int j = 0; j < ySize; j++) {
... |
27e200933148c9c927c25ff440bd26b8da4f5475 | 4ccf7aa23ae97ce06ebbea5ecb311d9e5604d28a | /2020codes/codeforces/1294/D - MEX maximizing.cpp | 107aa6f6b1d8dc25e9429dbcc0e13f18f32364e1 | [
"LicenseRef-scancode-other-permissive",
"MIT"
] | permissive | TieWay59/HappyACEveryday | 25682d30aafed3a51f645562fb7e5348e9515417 | 6474a05a9eafc83e9c185ba8e6d716f7d44eade0 | refs/heads/master | 2021-08-22T21:29:31.138853 | 2021-06-16T04:19:14 | 2021-06-16T04:19:14 | 190,430,779 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,942 | cpp | D - MEX maximizing.cpp | /**
* █████╗ ██████╗ ██████╗ ██╗ ███████╗
* ██╔══██╗██╔════╝ ██╔══██╗██║ ╚══███╔╝
* ███████║██║ ██████╔╝██║ ███╔╝
* ██╔══██║██║ ██╔═══╝ ██║ ███╔╝
* ██║ ██║╚██████╗▄█╗ ██║ ███████╗███████╗
* ╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝ ╚══════╝╚═══... |
0e6fce0dccd9052c28ad584b7d5126c7c20e4704 | 6a151d774c8230cf2a6a04cd6566c5aa813f9a3a | /Codeforces/GCD Compression CF 1370B.cpp | c519f97c446488b8decd9a85099aa1e0248d882e | [] | no_license | RakibulRanak/Solved-ACM-problems | fdc5b39bdbe1bcc06f95c2a77478534362dca257 | 7d28d4da7bb01989f741228c4039a96ab307a8a6 | refs/heads/master | 2021-07-01T09:50:02.039776 | 2020-10-11T20:46:28 | 2020-10-11T20:46:28 | 168,976,930 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,274 | cpp | GCD Compression CF 1370B.cpp | #include<bits/stdc++.h>
using namespace std;
#define ll long long
#define FastIO ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL);
ll log2bal(ll x)
{
ll i = 1, count = 0;
while (i * 2 <= x) {
i *= 2; count++;
}
return count;
}
void solve(ll cs) {
int n;
cin >> n;
int even = 0, odd = 0;
vecto... |
abb952935106201222a8471ce16ff71c86259360 | b4aa0fe128e43b950192150ecb4a1a21c2f2d338 | /OpenCVGraph/ZoomView.hpp | d3b6e31f51d5767c811a97dd91bd86d84097f620 | [
"Apache-2.0"
] | permissive | jaybo/OpenCVGraph | e5ef2ca7d8051d90e2e5859799c2a7c4b6a9d3e0 | 46f2d8765deccc7c7696d598a73e14bb44bada9a | refs/heads/master | 2021-01-18T05:36:12.410641 | 2016-03-11T22:06:21 | 2016-03-11T22:06:21 | 45,309,742 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,936 | hpp | ZoomView.hpp | #pragma once
#include "stdafx.h"
using namespace std;
using namespace cv;
namespace openCVGraph
{
#define MAX_ZOOMVIEW_LOCKS 10
class ZoomView;
static ZoomView * g_LastActiveZoomView = NULL;
struct ZoomWindowPosition
{
int x = 0; // center of image
int y = 0;
in... |
8f04fe0951bdf1133848b6efef63efe765db9f6f | c6ef31569a31e0da96008865eccbbb7be67313f2 | /cocosProject/proj.linux/Managers/EconomicsManager.cpp | 517cfb0f2fa3c9cc14d19d7c5f11cf04b7e97f8e | [] | no_license | jonyrock/FoxyBird | ee3fb1732be9a2349d03c86c0893a2c956037387 | e4221134f8e0f6540e8ae6817dd68761f6ec4d14 | refs/heads/master | 2021-01-10T09:59:00.616567 | 2016-02-09T16:15:55 | 2016-02-09T16:15:55 | 51,378,657 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 625 | cpp | EconomicsManager.cpp | #include "Managers/EconomicsManager.h"
#include <functional>
#include <unistd.h>
#include <thread>
#include <iostream>
using namespace std;
struct EconomicsManagerImpl : public EconomicsManager {
bool init() override {
return true;
}
void askPurchase(function<void(bool, string)> fun) {
fun(false, ... |
9cf60ff25881a4d0778e31efbc0b976a0c94f9d2 | 7a92cfe4f12c3eda0cb1e30e770e42fde1342873 | /Source/MyProject/Enemy.h | 7e23dadea6c2347223231daf048d1c6026e89fc4 | [] | no_license | Tzarski/TGP-Group-Project | e2d5a9dfb48eff7cf343026fe05e21fe793a208b | f729543aad2115cd150206a2999ce1196fb00e8a | refs/heads/master | 2022-01-14T02:35:38.040097 | 2019-04-30T07:37:36 | 2019-04-30T07:37:36 | 167,528,818 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,211 | h | Enemy.h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include <EngineGlobals.h>
#include <Runtime/Engine/Classes/Engine/Engine.h>
#include "../Plugins/2D/Paper2D/Source/Paper2D/Classes/PaperSprite.h"
#include "../Plugins/2D/Paper2D/Source/Paper2D/Classes/PaperSpriteComponent.h"
... |
4fcad5302820b11eda564d7f5ada079792a15c1d | c712c82341b30aad4678f6fbc758d6d20bd84c37 | /CAC_Source_1.7884/PenalityListWindow.cpp | 0e756d702344f7e8079d3f3489a1a8f775dd1e64 | [] | no_license | governmentbg/EPEP_2019_d2 | ab547c729021e1d625181e264bdf287703dcb46c | 5e68240f15805c485505438b27de12bab56df91e | refs/heads/master | 2022-12-26T10:00:41.766991 | 2020-09-28T13:55:30 | 2020-09-28T13:55:30 | 292,803,726 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 919 | cpp | PenalityListWindow.cpp | //{{TPenalityListWindow Implementation}}
TPenalityListWindow::TPenalityListWindow(TWindow* parent, int resourceId)
:
TGroupListWindow(parent, resourceId, new TLongAliasArray, 172)
{
Add(
new TGroupListColumn("", group_inactive, 12, LVCFMT_CENTER | LVCFMT_NO_SEARCH),
new TGroupListColumn("Име", "F_NAME", 148),
... |
569f4ebf49a09b9ea9cc9c90280c5f25113472d8 | 35e70e4185d32c90066ca0c31766d734fa778bf0 | /pathinspectorwidget.h | a3b9376b96a9c126760198d2d63ba31cc50b0f42 | [] | no_license | andreykondakov74/FileInspector | 7aff7e461e76cb3c35447ec57639afe340ce2c1c | b62529c332e5b0b1b42a8dd202543cb26c6f386a | refs/heads/main | 2023-08-14T17:39:26.934408 | 2021-09-30T13:54:52 | 2021-09-30T13:54:52 | 412,084,046 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,414 | h | pathinspectorwidget.h | #pragma once
#include <QWidget>
class detailWidget_c;
class QFileSystemModel;
class QItemSelection;
class QMenu;
class QPoint;
class QPushButton;
class QTreeView;
/*!
Defines a central widget of the application.
Contains a tree view and some buttons for navigation along with preview logic \em detailWidget_c
... |
538b57139424bd0d8cc8a066f99e0e3cbd7fc70c | 88ae8695987ada722184307301e221e1ba3cc2fa | /third_party/angle/src/libANGLE/renderer/d3d/ImageD3D.h | ac58ca5cf626ff7cb9f4e1bc5bea83dda0982a4a | [
"BSD-3-Clause",
"Apache-2.0",
"LGPL-2.0-or-later",
"MIT",
"GPL-1.0-or-later",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | iridium-browser/iridium-browser | 71d9c5ff76e014e6900b825f67389ab0ccd01329 | 5ee297f53dc7f8e70183031cff62f37b0f19d25f | refs/heads/master | 2023-08-03T16:44:16.844552 | 2023-07-20T15:17:00 | 2023-07-23T16:09:30 | 220,016,632 | 341 | 40 | BSD-3-Clause | 2021-08-13T13:54:45 | 2019-11-06T14:32:31 | null | UTF-8 | C++ | false | false | 4,073 | h | ImageD3D.h | //
// Copyright 2002 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// ImageD3D.h: Defines the rx::ImageD3D class, an abstract base class for the
// renderer-specific classes which will define the interface to t... |
2ae17d280de35ed983103dc6eb2c2080d69df7dc | 623a8be7e988b4006c82f25874e7570312089b96 | /dpss/src/qvge/CTextLabel.cpp | 32b368d61fdf8d41b49c2a8319adfcdbbc4b65ab | [] | no_license | ArsMasiuk/DPSE | c8f30779bbff823c42552fe23bd0c867e122d314 | f04446545d73d19a130eb3a565ad46bf7008eb27 | refs/heads/master | 2021-01-19T04:08:22.592215 | 2019-11-07T22:18:57 | 2019-11-07T22:18:57 | 84,427,904 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 506 | cpp | CTextLabel.cpp | /*
This file is a part of
QVGE - Qt Visual Graph Editor
(c) 2016-2018 Ars L. Masiuk (ars.masiuk@gmail.com)
It can be used freely, maintaining the information above.
*/
#include "CTextLabel.h"
#include <QFontMetricsF>
CTextLabel::CTextLabel()
{
}
CTextLabel::~CTextLabel()
{
}
void CTextLabel::setText(const QStr... |
5c36e8eea0e900cd46332e6d2f139ff8572410df | 6232097590c8454d42856f2ea94a35bddd876a69 | /BaekJoon/1264.cpp | 784552b6ef0164f0d381b53af5c83613b051caa9 | [] | no_license | BiteSnail/BaekJoon | a4f3e387fca63df670c7879fe7f5093c4e198fd1 | b7b3b7b18c02777130d2e1c3af4b165e1db11788 | refs/heads/master | 2023-02-13T06:51:47.978051 | 2023-02-01T02:08:40 | 2023-02-01T02:08:40 | 207,684,431 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 438 | cpp | 1264.cpp | #include <iostream>
#include <string>
using namespace std;
bool is_vowel(const char c){
return c == 'a' || c=='A' || c=='e' || c=='E' || c=='i' || c=='I' || c=='O' || c=='o' || c=='u' || c=='U';
}
int main(){
string str;
int cnt;
while(getline(cin, str), str!="#"){
cnt = 0;
for(int i=... |
1fcea87db25307d67292e843340fe4df8da08669 | 7836899f9584bb4e8716baa6f490a01f5433b55c | /problem_495.cpp | a61887848db138120b07f60122a4bfd9ef2217e8 | [] | no_license | RayFong/leetcode | e479d2dbb83c89c47979adad3a7e2d17ca678a72 | 0d4fbd46b8545e44aa3d934b5d0b51e36bb4d4ab | refs/heads/main | 2023-03-06T18:02:17.177333 | 2021-02-10T02:52:46 | 2021-02-10T02:52:46 | 301,999,577 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 710 | cpp | problem_495.cpp | #include "util.h"
class Solution {
public:
string Demo() {
return "demo";
}
int findPoisonedDuration(vector<int>& timeSeries, int duration) {
if (timeSeries.empty()) return 0;
sort(timeSeries.begin(), timeSeries.end());
int cnt = duration;
for (size_t i = 1; i < timeSeries.size(); i++) {
auto diff = ... |
dfc8f204c15cfc7d9ab96307b84f4c391c3311ab | 726e12f5232f7b6199e45a301c22b605a7c8e202 | /XAudio2/Code/PointLight.h | 144c4a968fafbb07e77f1140d890567d61e933a4 | [] | no_license | jarllarsson/PA2505-Stort-Spelprojekt-Prototyp | 7102a8aab92c2372f2956a28a7e23c8e82cd0d79 | db4aa290b663d053134360eb2ba1e2fb09e02c68 | refs/heads/master | 2020-03-30T20:39:32.247008 | 2012-11-23T10:30:14 | 2012-11-23T10:30:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,333 | h | PointLight.h | /************************************************************************/
/* Created by: Hoodad */
/* Date: 6/25/2012 */
/************************************************************************/
#ifndef POINTLIGHT_H__
#define POINTLIGHT_H__
#include "stdafx.h"
#include "AABB.h"
#include "S... |
fc53c98fc3e5cd17cad05f9ca4637f91f624124a | 390b9d600d026733ff7180fa8dd5a42cac8bf797 | /DelegateTest/testmodel.cpp | 23280e59e5cd4629a31a6b4c2397ded5f44c068e | [] | no_license | phyz777/DelegateTest | 345cc807d06235a8139e64a382084ca6e614b959 | d0a599c467de519e132b43f54f363df0b304122a | refs/heads/master | 2021-08-20T08:45:40.297007 | 2017-11-28T16:40:01 | 2017-11-28T16:40:01 | 112,359,282 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,773 | cpp | testmodel.cpp | #include "testmodel.hpp"
TestModel::TestModel()
:root(new RootItem()){
}
TestModel::~TestModel(){
}
int TestModel::rowCount(QModelIndex const& parent) const{
TestModelItemBase* itemBase =
reinterpret_cast<TestModelItemBase*>(parent.internalPointer());
switch(itemBase->getItemType()){
case TestModelIt... |
1da85d18efd371707e562428590b4877a56b603d | 3142bae3886dc76fdcba9863f6ecf52604ca4d0e | /src/utilities/GenException.cc | 8646fdb30a31f880cd2e4e0d55444419ff32060e | [
"MIT"
] | permissive | khurrumsaleem/serment | 28b58af8c23476e42fc049509971a73f35a3b076 | c97947ccf3853f9578722e4fd9f0fd317254c118 | refs/heads/master | 2022-02-02T12:05:27.196186 | 2012-08-19T21:33:12 | 2012-08-19T21:33:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,770 | cc | GenException.cc | //----------------------------------*-C++-*----------------------------------//
/*!
* \file GenException.cc
* \author Jeremy Roberts
* \date 04/09/2011
* \brief Member definitions of class GenException
* \note Modified version of K. Huff's class from cyclus
*/
//--------------------------------------------... |
6c3e22d85a791ca1333b1cbe4f3850cd8fcc3073 | b3aa189fe003d656d4a5a93434c1a0b9f0329e23 | /example-callbacks/src/ofApp.cpp | f7c3aeca1adf8de88c6ff9c3a9511f00e5e8790b | [
"MIT"
] | permissive | loudcube/ofxJsonUtilsUtils | 46a8cafc908ffaef42f217d022880e8258571637 | 7fd1acf46404db4a66bb0ba5c498c5f89efea045 | refs/heads/master | 2023-07-03T03:11:52.498187 | 2018-04-12T02:21:49 | 2018-04-12T02:21:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,728 | cpp | ofApp.cpp | #include "ofApp.h"
//--------------------------------------------------------------
void ofApp::setup(){
const std::map<float, std::string> size_maps = {
{5, "small"},
{20, "middle"},
{50, "large"}
};
data_.setDidLoadListener([size_maps](Data &data, const ofJson &json) {
std::string size_str = json["circle_... |
6576ca643a74ceabe28214aa40ae95e24576fea8 | a909df0ba2abf695df4a7d15350312d4c6463c48 | /UVa/10593.cpp | 54364ca542e98ea6c2c4e1693110ade85cab7de2 | [] | no_license | SayaUrobuchi/uvachan | 1dadd767a96bb02c7e9449c48e463847480e98ec | c213f5f3dcfc72376913a21f9abe72988a8127a1 | refs/heads/master | 2023-07-23T03:59:50.638063 | 2023-07-16T04:31:23 | 2023-07-16T04:31:23 | 94,064,326 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,327 | cpp | 10593.cpp | #include <stdio.h>
#include <string.h>
char map[501];
short dp[500][2], dp2[500][3];
int main()
{
int n, i, j, k, l, ans, min;
while(scanf("%d", &n) == 1)
{
ans = 0;
memset(dp, 0, sizeof(dp));
memset(dp2, 0, sizeof(dp2));
for(i=0; i<n; i++)
{
scanf("%s", map);
for(j=0; j<n; j++)
{
min = 0;
... |
fdfb211c54c5a31d40d4f5e591cc8ee6c2a38891 | 16354e2eecd983f4f7f7d9fe945267a322f6a9ec | /GG-codejam/2020/1-B/1.cpp | e16f6c95a77f344a26398136f9919e8dbc04bbd9 | [] | no_license | barnrang/Pro-con | 3c6823e3b442b23500501005cf9db682d6e61c7f | 1839ce45d9ff89c6371c51030209d022934ea750 | refs/heads/master | 2022-05-06T11:54:08.033266 | 2022-04-04T14:30:23 | 2022-04-04T14:30:23 | 180,594,413 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,594 | cpp | 1.cpp | #include <iostream>
#include <math.h>
#include <bitset>
#include <algorithm>
#define ll long long
using namespace std;
void do_case(int i);
int main() {
int n;
cin >> n;
for(int i = 1; i < n+1; i++){
do_case(i);
}
return 0;
}
void print_array(int* a, int n) {
cout << "[" << endl;
... |
786a5c571c7591c0c837f57901fd0ddc3721759a | a687e07a561ceeb06d0c4d6efa51f68d5358b573 | /KOI/지역본선2006/초등부/2577/2577.cpp | 9d940b32e6d7141854da5d29a90248226a1972c4 | [] | no_license | gnoeyp/BOJ | c499d88e3b41b9ed62fdc69fcee23783fc5fd94c | 982760f98b82d498cbf7aac30e53e0dffebf11f3 | refs/heads/master | 2023-01-20T23:35:15.782970 | 2020-11-29T12:14:24 | 2020-11-29T12:14:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 318 | cpp | 2577.cpp | #include <iostream>
using namespace std;
int main() {
int count[10] = {0,};
int A, B, C, D;
cin >> A >> B >> C;
D = A*B*C;
while (D > 0) {
int a = D % 10;
count[a]++;
D /= 10;
}
for (int i = 0; i < 10; i++) {
cout << count[i] << endl;
}
return 0;
} |
a4830d1384c1acfeedd722b628e08093ed8070d3 | b8d116c857b13991366b58674a4dd1a96412b5bf | /src/materialsystem/stdshaders/fxctmp9_tmp/vertexlit_and_unlit_generic_bump_ps20b.inc | 78bddcd6e3c28cb1a31386d514ed082f064fa0aa | [
"MIT"
] | permissive | SCell555/hl2-asw-port | 6eaa2a4f1f68f1dfb603657d469c42c85b2d9d1a | 16441f599c6b2d3fd051ee2805cc08680dedbb03 | refs/heads/master | 2021-01-17T18:21:59.547507 | 2016-05-12T17:09:21 | 2016-05-12T17:09:21 | 49,386,904 | 3 | 1 | null | 2016-01-10T21:45:46 | 2016-01-10T21:45:44 | null | UTF-8 | C++ | false | false | 13,869 | inc | vertexlit_and_unlit_generic_bump_ps20b.inc | // ALL SKIP STATEMENTS THAT AFFECT THIS SHADER!!!
// ( $FLASHLIGHT != 0 ) && ( $NUM_LIGHTS > 0 )
// ( $FLASHLIGHT == 0 ) && ( $FLASHLIGHTSHADOWS == 1 )
// (! $DETAILTEXTURE) && ( $DETAIL_BLEND_MODE != 0 )
// ( $DIFFUSELIGHTING == 0 ) && ( $LIGHTWARPTEXTURE == 1 )
// ( $SELFILLUMFRESNEL == 1 ) && ( $LIGHTWARPTEXTU... |
12acb19838bbb48159b2fda7ad2fb0db9857eb02 | 75399026dac78ee4656dc2674f05b32c9a60a1e1 | /digital-speech-processing/hw3/dsp_hw3/mapping.cpp | 5719f9d7ae171ecb1456b1e775184270c0863587 | [
"MIT"
] | permissive | silverneko/HWs | c3f406b44ac623bf8a73fe52b1532838882c6c0f | 84d19316e01c3bb7b2fcf1fa9ad3dff99c01b543 | refs/heads/master | 2018-09-10T06:39:01.890346 | 2018-06-05T12:01:30 | 2018-06-08T11:38:45 | 71,684,292 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,009 | cpp | mapping.cpp | #include <iostream>
#include <fstream>
#include <string>
#include <map>
#include <set>
#include <vector>
using namespace std;
int main(int argc, char *argv[]) {
if (argc != 2) {
cerr << "Usage: " << argv[0] << " [Big5 to BoPoMoPho mapping]\n";
return -1;
}
map<string,set<string>> ReverseMapping;
vect... |
fe493a12f32a26456c0d99272b7867b6e431f35f | e9774bd2d0cd9aaad49eacd092ba97e95dbf9a5f | /problems/C - Simple Strings.cpp | e2403ebf38efa1613c457afecbbe021264d5e752 | [] | no_license | My-Competitive-Programming-Legacy/CodeForces | fb589c187706060d8a33eccf75597dad4dab904d | f9df0ffe76b1d37215f063e87920c0044fe226a4 | refs/heads/master | 2023-06-23T06:04:30.369027 | 2021-07-19T12:20:19 | 2021-07-19T12:20:19 | 387,414,460 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 905 | cpp | C - Simple Strings.cpp | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
#define ar array
#define space " "
#define pb push_back
#define vi vector<int>
#define vii vector<vector<int>>
const double inf = 2e18;
#define EPS 0.0000000001
void solve() {
string s;
cin >> s;
int n = (int) s.size();
vector<char> ... |
aab746da517a5f3be6af3259af7e5941645be334 | 18446ae1df7667ea915dec633d6ad76227e339ec | /leafToDLL.cpp | 02e02150902764559091207688231a67ef0e6617 | [] | no_license | muneerkhann13/Tree | 46ece1d7ca40f8aee1e3bd0ed3332f57dc877d7d | c6524160d26b756ad3389e24790b3629909b317c | refs/heads/master | 2021-01-11T16:31:20.610848 | 2017-02-01T16:43:44 | 2017-02-01T16:43:44 | 80,097,613 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 345 | cpp | leafToDLL.cpp | node *leafToDLL(node *root,node **head){
if(root!=NULL){
if(root->left==NULL&&root->right==NULL){
root->right=(*head);
if((*head)!=NULL)
(*head)->left=root;
*head=root;
return NULL;
}
root->right=leafToDLL(root->right,head);
root->left=leafToDLL(root->left,head)... |
949e3685790476f9fc03482ba11b114fc0118a58 | d7d471213a5563cbb250aceb7fa5d079068d2e5f | /src/ui/ColorChooser.h | db79b8349822892a3a2e9596aada1de3b0bf3c0e | [] | no_license | Rowanion/ColorChooser | 1496f0c7ceb3f89f075792133bb9bfd66749b28d | 39de15d0591404b67faf183b3792f0a7612b9f29 | refs/heads/master | 2022-10-08T05:57:59.939268 | 2017-01-30T08:42:48 | 2017-01-30T08:42:48 | 48,139,674 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 548 | h | ColorChooser.h | #pragma once
#include <QtWidgets/QMainWindow>
#include "ui_ColorChooser.h"
class ColorChooser : public QMainWindow, public Ui_ColorChooser
{
Q_OBJECT
public:
ColorChooser(QWidget* parent = nullptr);
~ColorChooser();
private slots:
void onCustomContextMenu( const QPoint & point );
void copyName();
void copyHe... |
91f3f86524eeb8962182e917d6e5e68ec29c76c1 | b64524fb3a3965740d9f1ed3205f0f12c5abf02f | /Final Project/main.cpp | 43618a9640653f3fae89b9e8742fc4c6ee29a0cc | [] | no_license | GeorgiusKurli/Data_Structure_Final_Project | 40086d6e6ef33f35822cefa4269b1a16b6313407 | d0eaecc2df83042e32dff55e603344361b2fff8e | refs/heads/master | 2020-03-19T05:10:21.700194 | 2018-06-04T14:53:03 | 2018-06-04T14:53:03 | 135,906,123 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,062 | cpp | main.cpp | #include<iostream>
#include<fstream>
using namespace std;
//Used to trim whitespace from a string
string Trim(string line){
if(line.substr(0,1) == " "){
line = line.erase(line.front());
}
if(line.substr(line.length(),1) == " "){
line.pop_back();
}
return line;
}
//A huffman tree node
struct Huffman_Node{
... |
0840ab0c55d79c5aba6472d1d0ef52b33c36afd1 | 86597074758b2e8740a8a122f67aa7f27d86eaa6 | /src/Light.h | c5e107b3773a5ce4307f0abb42314811fb965501 | [] | no_license | shadept/AVT | 9c5782f4dd6f89a8697e5d82f83629d6994e5049 | 0f732606347613f702a8f48d5bf194d1b989f312 | refs/heads/master | 2020-06-05T08:29:46.661030 | 2013-12-20T14:44:56 | 2013-12-20T14:44:56 | 14,799,752 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 689 | h | Light.h | #ifndef LIGHT_H
#define LIGHT_H
#include "Material.h"
#include "Spatial.h"
#include "Vector3.h"
class Light : public Spatial
{
public:
enum class Type
{
DIRECTIONAL,
POINTLIGHT,
SPOTLGHT
};
Light(Type type = Type::POINTLIGHT);
~Light();
virtual void OnDraw(Renderer& renderer) const;
// private:
publi... |
3bab00f63c316ff9ebf566e93843bdca6e4db96f | 2b0b07242be5ea756aba992e171b43fbee9bfada | /BOJ/5002/5002.cpp14.cpp | d71070bc5e14c1eea5274a427f3746801ee8943e | [] | 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 | 1,364 | cpp | 5002.cpp14.cpp | /////////////////////////////////////////////////////
#ifdef _DEBUG
#include "bits_stdc++.h"
#else
#include "bits/stdc++.h"
#endif
using namespace std;
typedef pair<int, int> pii;
typedef vector<vector<pii > > Edge;
typedef unsigned long long llu;
typedef long long ll;
typedef priority_queue<pii > Pq;
typedef vector<in... |
548bbd0ba023be95d13d2e86811927af54d081ce | b39dba38a99bc970d7c861517ab82bb92f5fc548 | /src/mpt/fs/fs.hpp | c314929231ba57a7fbb4fb90c1391f68a4b322be | [
"BSL-1.0",
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | OpenMPT/openmpt | 711aef385c6a098a9a2aaefa25f6563e4501d2e8 | 41c5bde364ed61afb414ac38792715ee9433c01c | refs/heads/master | 2023-09-01T21:37:18.329917 | 2023-09-01T10:10:22 | 2023-09-01T10:10:22 | 82,913,630 | 501 | 87 | BSD-3-Clause | 2023-07-14T08:47:12 | 2017-02-23T10:04:01 | C++ | UTF-8 | C++ | false | false | 4,030 | hpp | fs.hpp | /* SPDX-License-Identifier: BSL-1.0 OR BSD-3-Clause */
#ifndef MPT_FS_FS_HPP
#define MPT_FS_FS_HPP
#include "mpt/base/detect.hpp"
#include "mpt/base/namespace.hpp"
#include "mpt/path/native_path.hpp"
#if MPT_OS_WINDOWS
#include <vector>
#endif // MPT_OS_WINDOWS
#if MPT_OS_WINDOWS
#include <windows.h>
#endif // MP... |
35a9a0ccf041b672e06fc9db743076be950f3387 | f8e473cfde05425d873e8138f854c248f95701ee | /CPP-07/ex00/main.cpp | 4fdf7fbe9107b949a2a30af75fc711b4f2a10a67 | [] | no_license | Ourobore/CPP-Modules | cc29150d1c1dc8808c6d62d3c44190ce91ae0b80 | a15c25dd3407c5ccdb7d67654e2009534c36d891 | refs/heads/master | 2023-07-15T18:35:59.999433 | 2021-08-25T08:50:59 | 2021-08-25T08:50:59 | 377,454,565 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,812 | cpp | main.cpp | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* main.cpp :+: :+: :+: ... |
dca3f3fea77d67ef9ab076a8c45c15624a4ae7f9 | 1cc5720e245ca0d8083b0f12806a5c8b13b5cf98 | /v3/355/c.cpp | c417c28ada2e28e283033bcc8812a156c1fb8d27 | [] | no_license | Emerson21/uva-problems | 399d82d93b563e3018921eaff12ca545415fd782 | 3079bdd1cd17087cf54b08c60e2d52dbd0118556 | refs/heads/master | 2021-01-18T09:12:23.069387 | 2010-12-15T00:38:34 | 2010-12-15T00:38:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,318 | cpp | c.cpp | #include <iostream>
#include <stdio.h>
#include <stdlib.h>
using namespace std;
void preenche(char *c,int nl, char nchar) {
int len = strlen(c);
if(len>=nl) return;
int i, d = nl - len;
for(i=len;i>=0;i--) c[i+d] = c[i];
for(i=0;i!=d;i++) c[i] = nchar;
}
char *ltoa(unsigned long long n, char *out,... |
1f32904f25a53b9131ef22d465edeceb45c2467f | 333cfd9c9edd8edb8a821914e14653b30cfef7b0 | /qtui/main_window.cpp | bd826e3e0dbf638a04140895233ae84423b81d0e | [] | no_license | awe-system/conf_rpc | e1d90fc8b219759254af07680a4fbeb1d0f7311a | d88448973462d586bb575c68bf02b3eac40f84ba | refs/heads/master | 2021-06-20T04:19:07.950178 | 2021-01-04T12:06:17 | 2021-01-04T12:06:17 | 145,934,397 | 1 | 3 | null | 2021-01-04T12:06:18 | 2018-08-24T02:52:10 | Python | UTF-8 | C++ | false | false | 17,323 | cpp | main_window.cpp | #include "main_window.h"
#include "ui_main_window.h"
#include "func_dialog.h"
#include <QDomDocument>
#include <QFileDialog>
#include <QMessageBox>
#include <QSizePolicy>
#include <QTextEdit>
#include <QTextStream>
#include <QXmlStreamWriter>
#include <lt_function/utils.h>
main_window::main_window(QWidget *parent) :... |
136a17c51c977416a54d4d2a1ed0b7b5e587db88 | 46a1537239b8e80458d172fba5739d14fe549f0d | /spoj/FIBOSUM - Fibonacci Sum.cpp | e82a985c6a081f15c0f6e60e90f561b83e23cc78 | [] | no_license | vkstack/mycodes | 1b08638ba97da5b535a7b0026d840652dd7ab4c1 | fbbb5a20451b271e0d912a1fe94382d0a287b1c7 | refs/heads/master | 2021-01-10T01:30:06.400672 | 2016-08-24T17:46:31 | 2016-08-24T17:46:31 | 51,477,375 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 274 | cpp | FIBOSUM - Fibonacci Sum.cpp | #include<iostream>
using namespace std;
#define mod 1000000007
#define ll long long
ll f[1000009];
int main(){
f[0]=0;
f[1]=1;
for(ll i=2;i<1000000;i++)
f[i]=(f[i-1]%mod+f[i-2]%mod)%mod;
for(i=1;i<1000000;i++)
f[i]+=f[i-1];
ll t,m,n;
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.