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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
cb01ccef118cdbecfddcb5e825950cd3a9f64bdb | a13e24b39fab4f5d9bc57d0bd5eb536c38a5eef1 | /source/Core/Castor3D/Gui/Controls/CtrlLayoutControl.cpp | 5e5c937c44520c76888563e59f22d00de323aaf0 | [
"MIT"
] | permissive | DragonJoker/Castor3D | 2bbd0eeba403a37570bfc959d58a6c8a01429c60 | 32a2e4bc5c6ea0d0a27f3c58f8edb74fbc7e59ce | refs/heads/development | 2023-09-04T15:46:36.438955 | 2023-08-30T05:37:14 | 2023-08-30T12:34:39 | 34,847,313 | 424 | 18 | MIT | 2023-09-14T11:10:10 | 2015-04-30T09:53:00 | C++ | UTF-8 | C++ | false | false | 3,416 | cpp | #include "Castor3D/Gui/Controls/CtrlLayoutControl.hpp"
#include "Castor3D/Engine.hpp"
#include "Castor3D/Cache/OverlayCache.hpp"
#include "Castor3D/Gui/ControlsManager.hpp"
#include "Castor3D/Gui/Layout/Layout.hpp"
#include "Castor3D/Gui/Theme/StyleScrollable.hpp"
#include "Castor3D/Material/Material.hpp"
#include "Ca... | [
"DragonJoker@users.noreply.github.com"
] | DragonJoker@users.noreply.github.com |
cce1ed9d4250320dff81569420faa5edd3d33408 | 634120df190b6262fccf699ac02538360fd9012d | /Develop/Server/GameServer/main/GRelationChecker.h | 7bdde7ca026c0feea46386b2d87e6fe5310c7af2 | [] | no_license | ktj007/Raiderz_Public | c906830cca5c644be384e68da205ee8abeb31369 | a71421614ef5711740d154c961cbb3ba2a03f266 | refs/heads/master | 2021-06-08T03:37:10.065320 | 2016-11-28T07:50:57 | 2016-11-28T07:50:57 | 74,959,309 | 6 | 4 | null | 2016-11-28T09:53:49 | 2016-11-28T09:53:49 | null | UTF-8 | C++ | false | false | 532 | h | #pragma once
class GEntityActor;
class GRelationSelector;
class GParty;
class GRelationChecker
{
public:
GRelationChecker();
~GRelationChecker();
bool IsAll(GEntityActor* pReqActor, GEntityActor* pTarActor);
bool IsAlly(GEntityActor* pReqActor, GEntityActor* pTarActor);
bool IsEnemy(GEntityActor* pReqActor, G... | [
"espause0703@gmail.com"
] | espause0703@gmail.com |
d432bea486df91a007dd231b13360b34a26e195f | 65601b728b1f46344c1e7ea3aa96a03cdf26a4cb | /Src/MainLib/GLIntercept.cpp | 550726b6b6b302413f6155aa51c41f36b8d263e6 | [] | no_license | c-song/GLCapture | dc74f5c9c45cd0595a46bfd5659493a939f0529a | f010f647d0706483154f662394727d3067c70309 | refs/heads/master | 2021-01-10T12:56:25.841982 | 2015-09-28T13:39:50 | 2015-09-28T13:39:50 | 43,301,611 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,441 | cpp | /*=============================================================================
GLIntercept - OpenGL intercept/debugging tool
Copyright (C) 2004 Damian Trebilco
Licensed under the MIT license - See Docs\license.txt for details.
=============================================================================*/
// G... | [
"csong@zjsu.edu.cn"
] | csong@zjsu.edu.cn |
15b4562bc7e785c7e87ac91fa8fefee1564667dd | b85ac3eeea556ba27a91f28e48e44b3e6ba486d4 | /edgeextract/findoutercontour.cpp | 65c0ae8bb4a7d487de4ab747c83298c0e7dfff33 | [] | no_license | FelixWang95/weiyiwork | 8e2a0a2875e48f000d48f845d1a0714ca80207d0 | 180c5797f21f64f47de122568fba31ab6ec586dd | refs/heads/master | 2023-04-03T07:54:50.565228 | 2021-04-13T08:55:29 | 2021-04-13T08:55:29 | 355,809,337 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,519 | cpp | #include "findoutercontour.h"
FindOuterContour::FindOuterContour()
{
th1 = CV_PI/180*5, th2=CV_PI/180*85,th3=CV_PI/180*90*(-1);
NN=2;
Point2f tm;
tm.x=0,tm.y=0;
srcTri[0]=tm,srcTri[1]=tm,srcTri[2]=tm,srcTri[3]=tm;
dstTri[0]=tm,dstTri[1]=tm,dstTri[2]=tm,dstTri[3]=tm;
}
void FindOuterContour::Sca... | [
"1072955947@qq.com"
] | 1072955947@qq.com |
c0e6e1bd3ff1777d41f0354e0ab5dcf55911dd37 | e65e6b345e98633cccc501ad0d6df9918b2aa25e | /POJ/2236.cpp | 4388b09fb9e2b6aefaedfa2ce6c296c920529a59 | [] | no_license | wcysai/CodeLibrary | 6eb99df0232066cf06a9267bdcc39dc07f5aab29 | 6517cef736f1799b77646fe04fb280c9503d7238 | refs/heads/master | 2023-08-10T08:31:58.057363 | 2023-07-29T11:56:38 | 2023-07-29T11:56:38 | 134,228,833 | 5 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,144 | cpp | #include<cstdio>
#include<cstring>
#include<algorithm>
#include<cstdlib>
#include<cmath>
using namespace std;
int p[1002];
int find(int x) {return p[x]==x ? x : p[x]=find(p[x]);}
bool same(int x,int y) {return find(x)==find(y);}
int abv(int x){return max(x,-x);}
void unite(int x,int y)
{
int u = find(x);
int... | [
"wcysai@foxmail.com"
] | wcysai@foxmail.com |
461fbc6769d7ddc744cd40f6c6c1adf7657188d7 | d29b14abf9c69ecb5d64cea45259e0c91d4b9ad9 | /examples/C&C++/USB2CANFD/USB2XXX_CANFD_Test/source/USB2XXX_CANFD_Test.cpp | e155ecbe59a343fdfb6888d5b65439648486bcd9 | [] | no_license | jerry750134428/USB2XXX_Example | f6a8e295d4706787e533d650e41074b0835c1518 | 406d7f95b3841856a6c941eb1b45103e707d3497 | refs/heads/master | 2022-04-09T14:59:51.137576 | 2020-03-16T02:16:58 | 2020-03-16T02:16:58 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 4,724 | cpp | /*
******************************************************************************
* @file : USB2XXX_CANFD_Test.cpp
* @Copyright: TOOMOSS
* @Revision : ver 1.0
* @Date : 2019/12/19 9:33
* @brief : USB2XXX CANFD test demo
************************************************************************... | [
"wdluo@embed-net.com"
] | wdluo@embed-net.com |
71f8ed7d887f23935ceb816ffe5baa815827bab6 | 245afd9f4adb8d868fa1228ac5898083e4140d4a | /Figures/MyFigure.cpp | e369b6d2bcf59beab8f6e66db81e0b6e90046c17 | [] | no_license | Ars-eniy-Cheis/ProgramLanguages | 3e50c5eaa7d0f2c2bcdda7651d873484c912c78e | 3b79cef726a347188bb25d468b092e0c59ef6ecf | refs/heads/master | 2021-01-01T11:29:51.555886 | 2020-12-21T16:58:16 | 2020-12-21T16:58:16 | 239,254,881 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 567 | cpp |
#include "MyFigure.h"
MyFigure::MyFigure()
{
Cir = new Circle(0);
Trap = new Trapezium(0, 0, 0);
Par = new Parallelogram(0, 0);
Tri = new Triangle(0, 0);
Rect = new Rectangle(0, 0);
}
MyFigure::MyFigure(Circle* new_Cir, Rectangle* new_Rect, Parallelogram* new_Par, Trapezium* new_Trap, Triangle* new_Tri)
{
Cir ... | [
"mr.4eis@yandex.ru"
] | mr.4eis@yandex.ru |
21093d6bb886d9e8516266a147a79546687c1b87 | 6f61cc0e07f2248e759c561c1d4aa30d2a778941 | /FrameWork/DeviceFont.cpp | 7ad11cc149c47ff03646eae34e0aab9094be6cf0 | [] | no_license | Ektoba/D3D | 80eadc0cd572dbf26e2c61c2a25c6234e3448f1e | d83b68a42fe7af74bcd7df031d6ff3e38628d003 | refs/heads/master | 2023-05-06T17:47:33.420329 | 2021-05-24T09:57:52 | 2021-05-24T09:57:52 | 370,284,224 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 2,337 | cpp | #include "Include.h"
g_DeviceFont dv_font;
g_DeviceFont::g_DeviceFont(void)
{
// 폰트 리소스 추가
AddFontResourceEx("./Typo_SsangmunDongB.ttf", FR_PRIVATE, 0);
}
g_DeviceFont::~g_DeviceFont(void)
{
}
bool g_DeviceFont::Create( HWND g_hWnd )
{
Direct3D = Direct3DCreate9( D3D_SDK_VERSION );
ZeroMemory( &d3dpp, size... | [
"42265781+Ektoba@users.noreply.github.com"
] | 42265781+Ektoba@users.noreply.github.com |
f1655a5955e0872d9eb3ab88be73575f8709c40c | 5d8f75e6e7138a9647eb3668acabab5f7b7feb9c | /mainwindow.h | abd24505799de4c203e3b8da0da0259a1083ac47 | [] | no_license | belabelabela/Qt_widgets_dragAndDrop | 477d648c2569e589a7ca80959d6daa60f2c4abb8 | 6200bf57980f22a2f4c54286d2358cb6a37e181f | refs/heads/master | 2022-11-03T22:51:37.824414 | 2020-06-18T14:47:57 | 2020-06-18T14:47:57 | 273,264,383 | 0 | 0 | null | 2020-06-18T14:46:20 | 2020-06-18T14:46:19 | null | UTF-8 | C++ | false | false | 385 | h | #ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QtGlobal>
#if QT_VERSION < 0x050000
#include <QtGui>
#else
#include <QtWidgets>
#endif
namespace Ui {
class MainWindow;
}
class CThread;
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = 0);
~MainWindow... | [
"demonist616@gmail.com"
] | demonist616@gmail.com |
3d618d7f425288b170de5a01b53531da86ea1633 | 7625566f4bbf3d275ff8dfffb61eda7d5117c971 | /belief_revision.cpp | 03b8b1f3b518a92e4c649fd9bf11006a684b8ee6 | [] | no_license | evargashe/belief-revision-ADA | 5f1a19edf59ba21f52e3e0bfca1332aeb7401c66 | 8b4fcc10b17b96798c5e5de49c9f0f74a9ab307c | refs/heads/master | 2022-11-28T07:27:50.926891 | 2020-08-15T15:44:19 | 2020-08-15T15:44:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,634 | cpp | #include <iostream> // I/O library
#include <vector> // vectors
#include <stdlib.h> // needed to avoid "'uint' does not name a type" compiler errors
#include <iterator>
using namespace std;
/**
* Convenient value for the model data structure.
*/
#define UNDEFINED -1
/**
* Convenient value for the model data stru... | [
"edwarjhoel.99@gmail.com"
] | edwarjhoel.99@gmail.com |
906a34f0bc7ff8a81f90e6a223405cfb65cc3900 | b8586ade568cc2a20460506ddb7a533931176b3a | /rfid/rfid.ino | 29b37fd96e771507651a1f826e149ae147c1564b | [] | no_license | FelixSchmidmeir/hb-school | f8ec8cc1414ea93af7cf7573556b7c202a3f93ee | 4cb21af7f56665fb7a50438f10fb324c32f9d09e | refs/heads/master | 2021-02-25T20:34:23.764813 | 2020-03-07T10:11:15 | 2020-03-07T10:11:15 | 245,463,540 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,605 | ino | #include <SPI.h> // SPI-Bibiothek hinzufügen
#include <MFRC522.h> // RFID-Bibiothek hinzufügen
#define SS_PIN 10 // SDA an Pin 10 (bei MEGA anders)
#define RST_PIN 9 // RST an Pin 9 (bei MEGA anders)
MFRC522 mfrc522(SS_PIN, RST_PIN); // RFID-Empfänger benennen
void setup() // Beginn des Setups:
{
Serial.begin(... | [
"felix.schmidmeir@gmx.de"
] | felix.schmidmeir@gmx.de |
0eeea922d0acb390568242d986ccacddca764a1d | c1b03b59b3974058e3dc4e3aa7a46a7ab9cc3b29 | /include/gura/Class_any.h | 0cca42422ce343b746b1c66592974a4862f4ada8 | [] | no_license | gura-lang/gura | 972725895c93c22e0ec87c17166df4d15bdbe338 | 03aff5e2b7fe4f761a16400ae7cc6fa7fec73a47 | refs/heads/master | 2021-01-25T08:04:38.269289 | 2020-05-09T12:42:23 | 2020-05-09T12:42:23 | 7,141,465 | 25 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 929 | h | //=============================================================================
// Gura class: any
//=============================================================================
#ifndef __GURA_CLASS_ANY_H__
#define __GURA_CLASS_ANY_H__
#include "Class.h"
namespace Gura {
//------------------------------------------... | [
"ypsitau@nifty.com"
] | ypsitau@nifty.com |
789e1b52a21ad260b087231bc60155e947100bc6 | 8fc3ff051a0d6c93ff5b245b514df04757c5f38b | /src/OpcUaWebServer/WebGateway/LogoutResponse.cpp | 8fea5b07e549fb0c945569e2d532a7f63d9917a6 | [
"Apache-2.0"
] | permissive | huebl/OpcUaWebServer | 37147f9a0fafbc532e0bea76181f07380da7093e | 8ae1741c88783d6c263b27dbb22fd37fd3d97db0 | refs/heads/master | 2021-01-06T19:29:28.450395 | 2020-01-18T15:33:34 | 2020-01-27T08:46:26 | 241,460,173 | 1 | 0 | null | 2020-02-18T20:26:58 | 2020-02-18T20:26:57 | null | UTF-8 | C++ | false | false | 1,089 | cpp | /*
Copyright 2019 Kai Huebl (kai@huebl-sgh.de)
Lizenziert gemäß Apache Licence Version 2.0 (die „Lizenz“); Nutzung dieser
Datei nur in Übereinstimmung mit der Lizenz erlaubt.
Eine Kopie der Lizenz erhalten Sie auf http://www.apache.org/licenses/LICENSE-2.0.
Sofern nicht gemäß geltendem Recht vorgeschri... | [
"kai@huebl-sgh.de"
] | kai@huebl-sgh.de |
ba33f17539bfb12005be97d664fecd7ae7e7dd35 | dd80a584130ef1a0333429ba76c1cee0eb40df73 | /external/chromium_org/sync/sessions/status_controller_unittest.cc | c29bc5f717ad537dcaed68475bc2b06dfda4dd3f | [
"MIT",
"BSD-3-Clause"
] | permissive | karunmatharu/Android-4.4-Pay-by-Data | 466f4e169ede13c5835424c78e8c30ce58f885c1 | fcb778e92d4aad525ef7a995660580f948d40bc9 | refs/heads/master | 2021-03-24T13:33:01.721868 | 2017-02-18T17:48:49 | 2017-02-18T17:48:49 | 81,847,777 | 0 | 2 | MIT | 2020-03-09T00:02:12 | 2017-02-13T16:47:00 | null | UTF-8 | C++ | false | false | 1,620 | cc | // 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.
#include "sync/sessions/sync_session.h"
#include "sync/test/engine/test_id_factory.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace syncer... | [
"karun.matharu@gmail.com"
] | karun.matharu@gmail.com |
818ef1f03400352735bf1186b2da16006c9e0d8d | 08b8cf38e1936e8cec27f84af0d3727321cec9c4 | /data/crawl/make/new_hunk_720.cpp | 34f57e81b077f910adb7f70b8f06e3ee49ef6649 | [] | 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 | 451 | cpp | return o;
}
static char *
func_flavor (char *o, char **argv, const char *funcname UNUSED)
{
register struct variable *v = lookup_variable (argv[0], strlen (argv[0]));
if (v == 0)
o = variable_buffer_output (o, "undefined", 9);
else
if (v->recursive)
o = variable_buffer_output (o, "recursive", 9)... | [
"993273596@qq.com"
] | 993273596@qq.com |
cfedf4f829acffcbc97039da2a2442e8ce56e1b1 | b6716aec9729cac4fc71e59f80ab92791545ab8d | /vex/sdk/vexv5/gcc/include/c++/4.9.3/tr1/ctype.h | 2a617b0e1655a495e11260d241e715a047ebf5f7 | [] | no_license | RIT-VEX-U/2020-2021-LITTLE | 99a54e9a908760c94e9baa314d690c4394fb49bd | bdfa54d5c4f6968a1affc758055eaf6bdac23741 | refs/heads/master | 2021-05-21T02:25:17.788991 | 2021-03-30T02:16:15 | 2021-03-30T02:16:15 | 252,501,126 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,243 | h | // TR1 ctype.h -*- C++ -*-
// Copyright (C) 2006-2014 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
// terms of the GNU General Public License as published by the
// Free Software Foundatio... | [
"ramtech51@comcast.net"
] | ramtech51@comcast.net |
2dbf923fa5bb3109aa84d17f59d50d6a21852a92 | 8903737d0460227d47723f1924302cfd9f59d223 | /ch04/06/main.cpp | 3b603eb75a47246882290fea0929ac914015ce40 | [] | no_license | sha-ou/cppPrimerPlus | 9692a9a00949394b58dbe6b82256ff360251d993 | 44cc383c27f0e4b76e1f6b896cd76a78621fec22 | refs/heads/master | 2021-02-17T12:55:17.457639 | 2020-03-21T05:38:43 | 2020-03-21T05:38:43 | 245,098,677 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 734 | cpp | #include <iostream>
#include <string>
using namespace std;
struct CandyBar {
string type;
float weight;
int cal;
};
int main(void)
{
struct CandyBar candys[3] = {
{"type1", 1.1, 100},
{"type2", 2.2, 200},
{"type3", 3.3, 300},
};
cout << "Type: " << candys[0].type << e... | [
"sha-ou@outlook.com"
] | sha-ou@outlook.com |
ba60416a0279de5d069637eb5a960155adc3b5de | 1edf31363b3da6083d729bef8e4a9c1b50eda821 | /Backups/challenge_1.1.cpp | 3fadcf32db0eba1b2e2c9932262e50e282a79f62 | [] | no_license | bozender/HW2 | 8e09d39c49651fefcce79ba1cac1e59ffe9e6410 | 9c81674703ebe943f1d960dd6f4ef80f23ced5b6 | refs/heads/main | 2023-02-13T13:49:58.253752 | 2021-01-16T23:04:00 | 2021-01-16T23:04:00 | 328,737,465 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,349 | cpp | #include <iostream>
#include <fstream>
#include <sstream>
#include <string>
#include <vector>
using namespace std;
//DECLARATIONS
void calculate(string a, vector<string> &vec1, vector<int> &vec2);
inline int add(int a, int b){ return a+b;}
int search(string, vector<string>&);
void assign(int, int, vector<int>&);
in... | [
"b.ozender59@gmail.com"
] | b.ozender59@gmail.com |
c4785478833375ba6816fb36b6f0e6423b43a87c | 4e81ab4bf9f3e5334f09c011e6f7d960b2bc3d83 | /201_Lab1/lab1a.cpp | 29c4efab5ceece1bb779f1b5bab5d8fd2f104cd7 | [] | no_license | northyg/CS_201_Computer_Systems | 7b0677e2dd2ef0aa3f1a0989595b674b47ecf4fa | e9ea013bb5c837edb42de4e715b266e6c6c1dd17 | refs/heads/main | 2023-01-01T13:56:11.151099 | 2020-10-27T04:03:01 | 2020-10-27T04:03:01 | 307,578,259 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 821 | cpp | #include <iostream>
using namespace std;
const int SIZE = 100;
struct Employee {
char last_name[SIZE];
double pay_rate;
};
void printPayroll(Employee list[], int count)
{
cout << "*** PAYROLL ***" << endl;
for(int i=0; i<count; i++)
{
cout << "Last Name: " << list[i].last_name << endl;
cout << "Pay Rate:... | [
"noreply@github.com"
] | northyg.noreply@github.com |
35a462d440874970d0c6ad3e1b6d0f1897022d3d | 0dca74ba205f42b38c1d1a474350e57ff78352b4 | /L1Trigger/L1TMuonCPPF/plugins/L1TMuonCPPFDigiProducer.cc | a5951b6d0a1e39739c3b88d1dd6685a281a981c9 | [
"Apache-2.0"
] | permissive | jaimeleonh/cmssw | 7fd567997a244934d6c78e9087cb2843330ebe09 | b26fdc373052d67c64a1b5635399ec14525f66e8 | refs/heads/AM_106X_dev | 2023-04-06T14:42:57.263616 | 2019-08-09T09:08:29 | 2019-08-09T09:08:29 | 181,003,620 | 1 | 0 | Apache-2.0 | 2019-04-12T12:28:16 | 2019-04-12T12:28:15 | null | UTF-8 | C++ | false | false | 1,430 | cc | // Emulator that takes RPC hits and produces CPPFDigis to send to EMTF
// Author Alejandro Segura -- Universidad de los Andes
#include "L1TMuonCPPFDigiProducer.h"
L1TMuonCPPFDigiProducer::L1TMuonCPPFDigiProducer(const edm::ParameterSet& iConfig) :
cppf_emulator_(std::make_unique<EmulateCPPF>(iConfig, consumesColle... | [
"manuel.segura@cern.ch"
] | manuel.segura@cern.ch |
ad00cb9dc978e5a078579e7666cbdce2e871ae51 | 1b5aa6ac5846de1da9dd9c54e0aef0134124b97d | /hunter_set12_113.cpp | 3099c592b799794f1e525533ad76c7ad28a861a9 | [] | no_license | jbjaveed/guvi_codekata | 3aa54e1c1ecab6be52ada88a5d8ae8eda86f0d74 | e170096c045be274f24792d05854ec44b7562ca5 | refs/heads/master | 2021-09-06T20:25:12.557792 | 2018-02-11T03:57:37 | 2018-02-11T03:57:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 219 | cpp | #include<bits/stdc++.h>
using namespace std;
string calc(int n)
{
if(n==1){return "YES";}
else if(n%2!=0){return "NO";}
return calc(n/2);
}
int main()
{
int n; cin>>n;
cout<<calc(n);
}
| [
"noreply@github.com"
] | jbjaveed.noreply@github.com |
9f1875f95d998225ede96800a79c8f3100f815d6 | f0318890dbefa572108457093e08e415d1be2cff | /C_CPP/104_1_NCUE_IM_CPP_II/1007/1007.cpp | dd89e75e3c6ea0c73a734e2803ef4f518c686d3a | [
"MIT"
] | permissive | jason40418/practices | 75ddf008c981546ae9a9b492a3aa0cf9fd2ee804 | 898d77bc574696b2e7d0407c3b2bfaa66e80f29f | refs/heads/master | 2023-02-20T20:03:13.314161 | 2021-01-24T08:49:51 | 2021-01-24T08:57:54 | 291,240,159 | 0 | 0 | MIT | 2021-01-24T08:41:29 | 2020-08-29T09:23:25 | C++ | UTF-8 | C++ | false | false | 7,759 | cpp | /**
* @file 1007.cpp
*
* @brief
* 1. Make a simple calculator.
* 2. Only need to identify the ., +, -, *, / only.
* 3. System would point out the wrong position.
* - Before the decimal need a digit.
* - Before the expression need a digit.
* - Expression could not at fi... | [
"jason40418@gmail.com"
] | jason40418@gmail.com |
07afe2339bb7839c45e0881cbc949504abc445f9 | ce38c8ac3af32fc95799c61fcae280159d947b81 | /EzwiX/EzwiX/ModuleGraphics.cpp | de70267d54cdd1aa10cc85492d8ac44798c6c4a4 | [
"MIT"
] | permissive | traguill/EzwiX | d243b554a75d63fb63c25c18a916cbff74331900 | 3002d842b7a27287af28f0db29d7d51ef04c7302 | refs/heads/master | 2020-04-05T13:06:28.874961 | 2017-07-16T10:37:28 | 2017-07-16T10:37:28 | 95,096,983 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,189 | cpp | #include "ModuleGraphics.h"
#include "log.h"
#include "Application.h"
#include "D3DModule.h"
#include "ModuleCamera.h"
#include "ShaderClass.h"
#include "TextureShaderClass.h"
#include "GameObject.h"
#include "ComponentTransform.h"
#include "ComponentMesh.h"
#include "ComponentTexture.h"
#include "ImGui\imgui.h"
#... | [
"traguill1@gmail.com"
] | traguill1@gmail.com |
922a36c40beda58736ee4e438b28ad3a465c426a | 2a0e1052acd5d9fe1f75a93e906175306c412b3e | /Mark Lizzimore CGP600 Tutorial 9/main.cpp | b330dde46ee057125ded87a68525d42468587555 | [] | no_license | Paramedic293-S/Advanced-Games-Programming | 8a4adf050fc3c9ab5bc9d5ef59aec45615c96e85 | 805427351f86d65a30fa3644647b260a3792247f | refs/heads/master | 2021-08-31T10:24:12.381505 | 2017-12-21T02:06:55 | 2017-12-21T02:06:55 | 105,126,416 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,158 | cpp | #include <windows.h>
#include <d3d11.h>
#include <d3dx11.h>
#include <dxerr.h>
#include <stdio.h>
#include "camera.h"
#include "text2D.h"
#define _XM_NO_INTRINSICS_
#define XM_NO_ALIGNMENT
#include <xnamath.h>
int (WINAPIV * __vsnprintf_s)(char *, size_t, const char*, va_list) = _vsnprintf;
//////////////////////////... | [
"Paramedic292@hotmail.co.uk"
] | Paramedic292@hotmail.co.uk |
c9106198398680d7fa09f2ebf7f171ab9e434e1a | 1d928c3f90d4a0a9a3919a804597aa0a4aab19a3 | /c++/folly/2017/4/NestedCommandLineAppTestHelper.cpp | da404613087679d2faf864511c93655ef83e0c23 | [] | no_license | rosoareslv/SED99 | d8b2ff5811e7f0ffc59be066a5a0349a92cbb845 | a062c118f12b93172e31e8ca115ce3f871b64461 | refs/heads/main | 2023-02-22T21:59:02.703005 | 2021-01-28T19:40:51 | 2021-01-28T19:40:51 | 306,497,459 | 1 | 1 | null | 2020-11-24T20:56:18 | 2020-10-23T01:18:07 | null | UTF-8 | C++ | false | false | 1,662 | cpp | /*
* Copyright 2017 Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | [
"rodrigosoaresilva@gmail.com"
] | rodrigosoaresilva@gmail.com |
7d2394bf44993d81e7777a35ce11cfe07155c34b | 4ebca7bab6e3aa1a9d0da68d786b70dec6a397e9 | /Code/cocos2d-2.0-x-2.0.3/ProtectLand/Classes/Layers/MenuLayer.cpp | 76903a466ed6e17c82c3adc444052b5ebef0c257 | [
"MIT"
] | permissive | chiehfc/protect-land | 9cb9f17b9ecd0b2cb8eaaa5d40526489db707d95 | f93bb4b1ab4f71fd919a3605782f074af9a0b791 | refs/heads/master | 2016-09-03T06:46:31.136540 | 2012-12-07T07:36:31 | 2012-12-07T07:36:31 | 40,037,018 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,651 | cpp | #include "GameConfig.h"
#include "MenuLayer.h"
#include "GamePlay.h"
#include "MainMenuScene.h"
#include "SelectLevelScene.h"
#include "GameObjectLayer.h"
#include "SkillUpgradeScene.h"
#include "AudioManager.h"
//#include "SpritesLayer.h"
#include "IncludeHelper.h"
USING_NS_CC;
bool CMenuLayer::init()
{
... | [
"nhanltv.bd@gmail.com"
] | nhanltv.bd@gmail.com |
ddaa232c0f5e0132a3dbf94525e6505e03b6fb91 | 53733f73b922407a958bebde5e674ec7f045d1ba | /ABC/ABC177/F/main.cpp | 61db95e22790e82fe86ef08c94fc562cb04eb7f2 | [] | no_license | makio93/atcoder | 040c3982e5e867b00a0d0c34b2a918dd15e95796 | 694a3fd87b065049f01f7a3beb856f8260645d94 | refs/heads/master | 2021-07-23T06:22:59.674242 | 2021-03-31T02:25:55 | 2021-03-31T02:25:55 | 245,409,583 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,517 | cpp | #include <bits/stdc++.h>
using namespace std;
const long long mod = 1e9 + 7;
using ll = long long;
using pii = pair<int, int>;
using pll = pair<ll, ll>;
#define ull unsigned long long
#define ld long double
#define vi vector<int>
#define vll vector<ll>
#define vc vector<char>
#define vs vector<string>
#define vpii v... | [
"mergon-nitro-pale_fluorelight@hotmail.co.jp"
] | mergon-nitro-pale_fluorelight@hotmail.co.jp |
88c058c9d8a5793663331c359020bb56d997207d | 1e58ee167a1d2b03931a908ff18a11bd4b4005b4 | /groups/bbl/bbldc/bbldc_basicnl365.h | 6a8a6c14bed037c0e57209c2ca7567b949e5f89b | [
"Apache-2.0"
] | permissive | dhbaird/bde | 23a2592b753bc8f7139d7c94bc56a2d6c9a8a360 | a84bc84258ccdd77b45c41a277632394ebc032d7 | refs/heads/master | 2021-01-19T16:34:04.040918 | 2017-06-06T14:35:05 | 2017-06-08T11:27:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,080 | h | // bbldc_basicnl365.h -*-C++-*-
#ifndef INCLUDED_BBLDC_BASICNL365
#define INCLUDED_BBLDC_BASICNL365
#ifndef INCLUDED_BSLS_IDENT
#include <bsls_ident.h>
#endif
BSLS_IDENT("$Id: $")
//@PURPOSE: Provide stateless functions for the NL/365 convention.
//
//@CLASSES:
// bbld... | [
"abeels@bloomberg.net"
] | abeels@bloomberg.net |
192eab34d0951955615cd99886a7b614e1788785 | 3a8240d9698d037df7cc0c3884a5930b69ba6027 | /src/hal_quadrotor/src/control/VelocityHeight.cpp | cadc1ff846e907ba513254e3a18fcfb97359ba78 | [
"BSD-2-Clause"
] | permissive | jiangchenzhu/crates_zhejiang | 797cbf246f2b7f0e0fc950e420816cda58bf16a9 | 711c9fafbdc775114345ab0ca389656db9d20df7 | refs/heads/master | 2021-01-10T09:09:26.385627 | 2015-12-17T15:54:57 | 2015-12-17T15:54:57 | 48,175,740 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,839 | cpp | #include <hal_quadrotor/control/VelocityHeight.h>
// Controller constants
#define _X 0
#define _Y 1
#define _Z 2
#define _YAW 3
#define _Kvp 0.25 /* xy velocity proportional constant */
#define _Kvi 0.15 /* xy velocity integrative constant ... | [
"jiangchengzhu@bitbucket.com"
] | jiangchengzhu@bitbucket.com |
f647f9e0c8ba33befd0ffd95960f200bcf97519a | 5d3db9e0e18dad1e243c5cb01822bbcd9b66d9d3 | /Source/AudioClipList.h | 99d5c875c786a8fd2f9115e3746f026f4e8e33d2 | [
"MIT"
] | permissive | Hybrid-Music-Lab/Unicycle | ed6a2ec1a6b15b503093413701b32394eca80a0d | c550b6c5e021a75b516db598d077b176ae8258b9 | refs/heads/main | 2023-04-01T05:10:01.417392 | 2021-04-09T11:34:16 | 2021-04-09T11:34:16 | 356,242,228 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,067 | h | // Copyright (c) 2019 Christoph Mann (christoph.mann@gmail.com)
#pragma once
#include "MainHeaders.h"
#include "LookAndFeel.h"
#include "AudioClip.h"
#include "AudioCommands.h"
#include "Commands.h"
#include "MainInterface.h"
namespace unc
{
class AudioClipListModel : public ListBoxModel
{
public:
AudioClipList... | [
"christoph.mann@gmail.com"
] | christoph.mann@gmail.com |
5966e5fd02e80330e3eb01fc8fd200183cf459aa | 86df6f8f4f3c03cccc96459ad82bcdf3bf942492 | /leetcode/maximum-product-of-word-lengths.cc | ca221011c8dfe58ce14b77ad90986db75cfad1f1 | [] | no_license | bdliyq/algorithm | 369d1fd2ae3925a559ebae3fa8f5deab233daab1 | e1c993a5d1531e1fb10cd3c8d686f533c9a5cbc8 | refs/heads/master | 2016-08-11T21:49:31.259393 | 2016-04-05T11:10:30 | 2016-04-05T11:10:30 | 44,576,582 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,135 | cc | // Question: https://leetcode.com/problems/maximum-product-of-word-lengths/
#include "headers.h"
class Solution {
public:
int maxProduct(vector<string>& words) {
int ans = 0;
vector<int> dicts(words.size(), 0);
for (int i = 0; i < words.size(); ++i) {
for (char c : words[i]) {
... | [
"liyongqiang01@baidu.com"
] | liyongqiang01@baidu.com |
eddcf667bd63657265b0829a7a22a763d7c1d88d | df256c2663bcd2a61fff9950759debd2760d0ce9 | /State/State/States/Ready.cpp | 61a52b6d630ca9867cfd1c97c813996389a8ef92 | [
"BSD-2-Clause"
] | permissive | jayavardhanravi/DesignPatterns | d4adbb80c2b781affd531f8887c4634e35788353 | aa6a37790f447c7caf69c6a1a9c6107074309a03 | refs/heads/master | 2021-07-25T05:21:02.690532 | 2021-01-02T14:17:54 | 2021-01-02T14:17:54 | 233,955,558 | 15 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 812 | cpp | #include "Ready.h"
Ready::Ready()
{
}
Ready::~Ready()
{
}
bool Ready::ReadyRobot(Controller *controller)
{
state_ = std::make_unique<Ready>();
controller->SetCurrentState(std::move(state_));
std::cout << "[Ready] Preparing the Robot to ReadyState..." << std::endl;
return true;
}
bool Ready::RunningRobot(Control... | [
"8674552+jayavardhanravi@users.noreply.github.com"
] | 8674552+jayavardhanravi@users.noreply.github.com |
12638cd82685a745e15788d7ad43d726d059ef1b | 7463b590abe4afd9d5987ff478901694236acd9b | /ana/PwbAsm.cxx | e8cee862e944a847f168dd209ebd2e33ab6a813a | [] | no_license | Estifaa/Laseranalysis | 04b659e90133c9768faeca5d2db6b63599caf1c4 | 7f32688031870b20c9cf9306e846d486f16c73f9 | refs/heads/master | 2020-03-29T20:51:42.548557 | 2018-09-30T20:23:22 | 2018-09-30T20:23:22 | 150,335,243 | 0 | 1 | null | 2018-09-30T14:05:21 | 2018-09-25T22:10:17 | C++ | UTF-8 | C++ | false | false | 38,579 | cxx | //
// Unpacking PWB data
// K.Olchanski
//
#include "PwbAsm.h"
#include <stdio.h> // NULL, printf()
#include <math.h> // fabs()
#include <assert.h> // assert()
/* crc32c.c -- compute CRC-32C using the Intel crc32 instruction
* Copyright (C) 2013 Mark Adler
* Version 1.1 1 Aug 2013 Mark Adler
*/
#ifndef CRC32C_... | [
"estizaid@gmail.com"
] | estizaid@gmail.com |
e34f99575706b96db7df2fdf7db25407583fc5eb | b16027325ccfbbcef34109776ec4879a8deab108 | /common-all/src/iOSMain/c_interop/firestore/gRPC-C++.framework/Headers/grpcpp/create_channel.h | 7a505a71271b88f954ff55b39ed34d7ba4a6d7e4 | [
"Apache-2.0"
] | permissive | RubyLichtenstein/Kotlin-Multiplatform-Firebase | dc385e683d5116a4abb56ddcecaa35b318c24212 | a6654b5c81a122735e9339dd7897e4fbe4b1f4f2 | refs/heads/master | 2021-06-07T09:52:40.752288 | 2021-05-24T08:03:12 | 2021-05-24T08:03:12 | 154,049,137 | 127 | 19 | Apache-2.0 | 2019-04-25T20:38:53 | 2018-10-21T20:26:29 | C | UTF-8 | C++ | false | false | 1,955 | h | /*
*
* Copyright 2015 gRPC authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... | [
"or.noyman@citi.com"
] | or.noyman@citi.com |
121fb3774516293bcd865826784f65d24130c5de | 5df1d69d604c22a8f9bff5d2f9a78e460f9fab19 | /src/main.cpp | 42b25d0a1e756cbcc9dfc522efb67d4e0b51c3fe | [] | no_license | craftycodie/NetworksLogParser | f45d790c9d1b1fa9d1471c93aab7dda2efa9a94c | 2d2fb395d591097eb05f12af7acc9ab52568f1bd | refs/heads/master | 2022-01-10T15:49:33.687013 | 2019-05-09T19:29:01 | 2019-05-09T19:29:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,607 | cpp | //
// NetworksLogParser - Alex Newark
//
// This log parser was created for a uni assessment.
// It currently supports parsing of ping, traceroute and wget logs.
// Following a somewhat Object-Oriented design, the program is fairly extendable,
// and more log types could be added in future.
//
// Potential Future Impro... | [
"git@alex231.com"
] | git@alex231.com |
6a63f9b3b4997c36c4f04572e26f9ec52d5b826b | f750e5825ae6bdc529ea885e8d0bf6e21ef4ebb3 | /program_options.hpp | 44dee498581f58de2665b3e88f239701f9c9bf24 | [
"MIT"
] | permissive | liu0hy/program_options | 3de304fbe316e022b34b0d03d4ac10c21c5276ad | f1f061dbccce6f5bc22b922e75f88a88a2839977 | refs/heads/master | 2021-01-17T05:28:32.919031 | 2016-08-03T12:43:21 | 2016-08-03T12:43:21 | 64,545,313 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,165 | hpp | #pragma once
#include <algorithm>
#include <cstdint>
#include <cstring>
#include <iostream>
#include <memory>
#include <sstream>
#include <string>
#include <type_traits>
#include <typeinfo>
#include <unordered_map>
#include <unordered_set>
#include <utility>
#include <vector>
namespace program_options {
using string_... | [
"liu0hy@gmail.com"
] | liu0hy@gmail.com |
c0d7049e276f25c28c06c532f6b4375311a015b1 | 68d19f0993e8409120ab6d775762f79a1a456e81 | /binarysearch/2143.cpp | 1c2f2bc93a83e1875fc0e8904c1cf61f73b41f7c | [] | no_license | hanjongho/baekjoon | e1fb6a9e5f685ab33890945c325550ebe512fc24 | f03249886b06f6844bb02e417d7eedd8f0dc32c5 | refs/heads/master | 2021-11-22T08:12:30.462904 | 2021-08-18T14:34:34 | 2021-08-18T14:34:34 | 228,543,047 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,005 | cpp | #include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
int main()
{
ios_base::sync_with_stdio(0);
cin.tie(0); cout.tie(0);
vector<long long> v1, v2;
long long T, ans = 0;
int N, M;
int arr[1001], brr[1001];
cin >> T;
cin >> N;
for (int i = 0; i < N; i++)
cin >> arr[i];
cin >> M... | [
"lgwl81@gmail.com"
] | lgwl81@gmail.com |
70a0e6064a47b5b781dd04d9a92a43f4c2feb7ed | 40ca9a30b887f22da378c038165dbb80641f347e | /FunBrainz/FunBrainz/GlobalFuncs.h | a142bd1e5f76d6cdfe3faef2bf1fe0ce37f95caa | [] | no_license | Rounak14/FunBrainz-Assignment-3 | 0b1424687a235e207f63fa70f6a31b263121885f | 4361d41987c865ffbf20d8fa3e7416708c2f36ab | refs/heads/master | 2020-05-03T03:49:19.467659 | 2019-03-28T14:27:16 | 2019-03-28T14:27:16 | 178,406,593 | 1 | 0 | null | 2019-03-29T13:03:39 | 2019-03-29T13:03:39 | null | UTF-8 | C++ | false | false | 2,039 | h | #pragma once
#include <stdio.h>
#include <utility>
#include<cmath>
#include<ctime>
#include<string>
#include<iostream>
using namespace std;
ref class GlobalFuncs
{
public:
GlobalFuncs(void);
public: static std::pair <std::string, int> generateQuestion(int operatorIndex, int level)
{
if (operatorIndex ==... | [
"mayank343@gmail.com"
] | mayank343@gmail.com |
d62f42be95b2f6cf73b06494adb89520433955f2 | 7796827979b097c0a895d28cdcbaec6d79bc20d8 | /F.cpp | 39770d23c209c89db76b2ce6a82fc2937e7c1de3 | [] | no_license | raj-orton/Codeforces | 3984420bd663c57aa7ed79c565a3ad5fd6a98e4f | 5a576f5796f4c39cb7a441ab46e39cb3c55690fb | refs/heads/master | 2022-03-20T06:56:51.236669 | 2019-09-16T19:03:50 | 2019-09-16T19:03:50 | 167,840,797 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,473 | cpp | #include <bits/stdc++.h>
using namespace std;
#define lli long long
#define pii pair<lli,lli>
#define ff first
#define ss second
const lli MOD = (lli) 1e9 + 7;
class disjoint_set
{
public :
vector<int> r, p;
disjoint_set(int n) {
r.resize(n+5, 0);
p.resize(n+5);
... | [
"noreply@github.com"
] | raj-orton.noreply@github.com |
8e8c0f9510dbad79c2df88bde8ae6c8eb1b367ee | 1a757dc815c3c82a3a1933197243dcb96e2770f4 | /hello.cpp | aa08ce7c785ec00a99062e51a5b86b9ea2d5ca26 | [] | no_license | Shahraaz/Old_CPlusPlus | a171d29a28e607cabae3a0b1d4d565f9c8a4c4cf | c30909e2c4c242b9c713339a76ec9d5e948f0aaf | refs/heads/master | 2020-05-07T20:13:50.601619 | 2019-04-11T18:30:21 | 2019-04-11T18:30:21 | 180,849,515 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 369 | cpp | #include <iostream>
#include<stdio.h>
using namespace std;
int main()
{
int flag;
for(int i=3;i<128;i+=2)
{
flag = 0;
for(int j=3;j*j<=i;j+=2)
{
if(i%j==0)
{
flag = 1;
break;
}
}
... | [
"noreply@github.com"
] | Shahraaz.noreply@github.com |
1d4d9e66754b16b35f4d9efe04bf890891fdd0c1 | adcab6ba28cc7646f314e13121e05be277dc74fd | /Source/VoxRender/Interface/animatewidget.h | e1631dc7ae3e75fc6cba7863182b225327f55531 | [] | no_license | nagyistoce/voxrender | 60a7b7c04be8e34d21ca47a34b6656b9d0ffbc41 | 558c147197b3970ffb836f37a3dfe0d392e8afb9 | refs/heads/master | 2021-01-14T10:04:01.237554 | 2015-04-01T13:13:44 | 2015-04-01T13:13:44 | 34,286,211 | 0 | 1 | null | 2015-04-20T21:00:18 | 2015-04-20T21:00:17 | null | UTF-8 | C++ | false | false | 2,516 | h | /* ===========================================================================
Project: VoxRender
Description: Implements an interface for for animation management
Copyright (C) 2014 Lucas Sherman
Lucas Sherman, email: LucasASherman@gmail.com
This program is free software: you can redistribute... | [
"LucasASherman@gmail.com@860efb89-3126-5ccb-708a-13cdb6cb0f7d"
] | LucasASherman@gmail.com@860efb89-3126-5ccb-708a-13cdb6cb0f7d |
af9d3d89246bc89f354975e93f68bc6c1602a70b | 051839cfdc698f7dc53c08de696c925dc3cde79e | /codeforces/codeforces354/C.cpp | 9b4f11a6617d20383d083a62c17ef778739d3d09 | [] | no_license | juangil/programmingContests | 37645ba582921cb104a66cd5332dfd94d59a9deb | dc0e7b11003411ebfee8f4fcb4024a10e5649b07 | refs/heads/master | 2021-01-17T13:40:07.398771 | 2016-07-13T15:25:50 | 2016-07-13T15:25:50 | 10,767,650 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 505 | cpp | # include <cstdio>
# include <iostream>
# include <cstdlib>
# include <cmath>
# include <set>
# include <vector>
using namespace std;
int main(){
int n; cin >> n;
vector<int> mio(n);
int pos1, posn;
for(int i = 0; i < n; ++i){
cin >> mio[i];
if(mio[i] == 1)
pos1 = i;
else if(mio[i] == n)
posn = i;
}... | [
"juangilopez@juancho-2.local"
] | juangilopez@juancho-2.local |
8646db66d0cacd8bc9e01541517a5f9a3832b9a1 | f2907f4f6a99ad6f183ea9469cf4588d1d9af753 | /PC_ClientSDK.201804142014/PPPCS_ClientUI/PreviewPanel.h | c78661923ca29888eb908f57dbd5556fbb4d04c0 | [] | no_license | intWang/BDY | 797da5afa3c1d8374fc2d0018a6de207ffce49df | 02f55e0962c510c23d1e4b656fa7d68dba9b82b8 | refs/heads/master | 2023-02-04T05:09:11.621949 | 2020-12-28T02:51:25 | 2020-12-28T02:51:25 | 285,232,966 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,850 | h | #pragma once
#include <QWidget>
#include "AreableWidget.h"
#include "ui_PreviewPanel.h"
#include "PreviewRealWnd.h"
#include "DataStruct.h"
#include <QIcon>
class PreviewPanel : public AreableWidget<QWidget>
{
Q_OBJECT
public:
using Ptr = PreviewPanel*;
PreviewPanel(QWidget *parent = Q_NULLPTR);
~Prev... | [
"xiaohwa2@cisco.com"
] | xiaohwa2@cisco.com |
654a91a026d3a69216d784e55761676d8367b79e | 40e5d0ba8f839ab6c772237559c246b7786530ba | /basic/provados/first_100_prime_numbers.cpp | 5160b817dc4343473cc8b47c9e1f98c794b17365 | [] | no_license | gnpjb/basic_c | b269e30a5660ecbca36009f02e1552f2a0a09270 | a7c44584e36c7501b111c055c272a49e9558f548 | refs/heads/master | 2021-08-19T09:59:32.145280 | 2017-11-25T18:56:03 | 2017-11-25T18:56:03 | 111,914,201 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 313 | cpp | #include <iostream>
using namespace std;
int isprime(int num)
{
for(int i=2;i<num;i++)
{
if(num%i==0)
{return 0;
break;}
}
return 1;
}
int main()
{
int num;
cout<<"till which number:";
cin>>num;
cout<<"\n";
for(int i=0;i<=num;i++)
{if (isprime(i)==1)
cout<<i<<" is prime\n";
}
cout<<"\n";
}
| [
"noreply@github.com"
] | gnpjb.noreply@github.com |
617ff4d46a5eef9cdda6dc4b2ebe4ea93d804613 | b35b0e874c2d04e68fab4c6fd75023fb407c2965 | /pegasus/src/Providers/TestProviders/OOPModuleFailureProvider/OOPModuleFailureTestProvider.cpp | cd36abf33eac000c7bdc8daf5553c2b860117c98 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | xenserver/openpegasus | 38de7f2062adf1f039ef9ead222c40d75d8acaaa | 57e10a2ca29c17e5dca26a1c6c40a1a5fc4ba20d | refs/heads/master | 2020-05-17T16:22:40.019817 | 2013-11-19T00:42:25 | 2014-04-07T16:25:45 | 10,623,043 | 3 | 2 | null | 2013-12-04T14:44:02 | 2013-06-11T14:19:20 | C++ | UTF-8 | C++ | false | false | 11,707 | cpp | //%LICENSE////////////////////////////////////////////////////////////////
//
// Licensed to The Open Group (TOG) under one or more contributor license
// agreements. Refer to the OpenPegasusNOTICE.txt file distributed with
// this work for additional information regarding copyright ownership.
// Each contributor lice... | [
"rob@rdobson.co.uk"
] | rob@rdobson.co.uk |
0aff809dd6a78bf0df1b8bb6ca67e3fa773de543 | a2111a80faf35749d74a533e123d9da9da108214 | /raw/pmsb13/pmsb13-data-20130530/sources/24xc47o54r0zzgyu/2013-05-14T12-32-45.427+0200/sandbox/my_sandbox/apps/SeqDPT/demultiplex.h | 26b7307a3d2558e1405f5eda6433f1fe6934a947 | [
"MIT"
] | permissive | bkahlert/seqan-research | f2c550d539f511825842a60f6b994c1f0a3934c2 | 21945be863855077eec7cbdb51c3450afcf560a3 | refs/heads/master | 2022-12-24T13:05:48.828734 | 2015-07-01T01:56:22 | 2015-07-01T01:56:22 | 21,610,669 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,412 | h | // ==========================================================================
// readTrimming.h
// ==========================================================================
// Copyright (c) 2006-2012, Knut Reinert, FU Berlin
// All rights reserved.
//
// Redistribution and use in so... | [
"mail@bkahlert.com"
] | mail@bkahlert.com |
e333fd9affb8cf6c1d5b4c180708d3b174e3b89b | d64aa7397b92356cec1ae9f380e664a44044a0c8 | /Project1/shape.h | c68acdc657a867663cc8f2596e46f1fb9539fb6d | [
"MIT"
] | permissive | Lentono/Riddle.ioArtificialIntelligence | 5e03310b3c7e29d0c81d1edc542435105510c8a7 | 7e1b008854df53ae81b464f50ea9b31b66cf8041 | refs/heads/master | 2020-05-02T15:37:39.650292 | 2019-03-27T17:54:53 | 2019-03-27T17:54:53 | 178,047,614 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,068 | h | // Christos Savvopoulos <savvopoulos@gmail.com>
// Elias Sprengel <blockbattle@webagent.eu>
#ifndef __SHAPE_H
#define __SHAPE_H
#include <memory>
#include <vector>
#include <string>
#include "cell.h"
#include "field.h"
using namespace std;
/**
* Represents the shapes that appear in the field.
* Some basic method... | [
"callumlenton@outlook.com"
] | callumlenton@outlook.com |
c61c4a10e871350911909b92070060fd7b6b7c1d | 04ec68ae803e65a0108ce2b319a36471f4f941a1 | /crest/xpro_seq_v1_sept30/zzl/Utility.h | 5c4c15c0b867e6e8aa4a575425dfa6cb4acd0b3c | [] | no_license | Seasonsky/Steiner | 9a850b852393cac79d30e73031e28a85450337c2 | c71df4e9aa61968433d4a8573c6232c8aeecd0b8 | refs/heads/master | 2021-01-01T04:26:16.563402 | 2016-11-16T08:39:40 | 2016-11-16T08:39:40 | 59,816,397 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 447 | h | #include "Def.h"
#include "Atom.h"
class Utility {
public:
// Permutation<->String
string permutation2string(vector<int> sequence);
vector<int> string2permutation(string line);
// Printing
void print_vector(vector<int> sequence);
void print_vector(vector<vector<int> > sequences);
void print_vector_str... | [
"zhang.2013@live.com"
] | zhang.2013@live.com |
949aa48c9b9d74ea323978df745c9fd4ac65deae | bedcc7dab33f83ff5493cc0b4e07c2e657ccc309 | /generator/graph_and_vertices_generator.hpp | e594e2993ff6a85299368f893163693dc87828f4 | [] | no_license | nijelic/OMPSearch | 30344cb665ad7b9fbf4da10c54824e27ef17affc | 00178bde370d6a84a8187082f1a8a3f5e689cb57 | refs/heads/master | 2020-09-02T07:41:31.058806 | 2019-11-02T15:02:47 | 2019-11-02T15:02:47 | 219,169,773 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 364 | hpp | #ifndef GRAPH_AND_VERTICES_GENERATOR_HPP
#define GRAPH_AND_VERTICES_GENERATOR_HPP
#include <string>
#include <utility>
std::pair<int, int> createPair(int, int);
void makeBaseGraph(int, int);
void markEdge(int, int);
void makeItConnected(int, int);
void saveGraph(std::string);
void saveNode(int, int, unsigned);
void ... | [
"nikola.jelic995@gmail.com"
] | nikola.jelic995@gmail.com |
f5c5c3f83dcbf37207f99c4e83be685e99276a08 | 7466f46b164630386bd46ec64c9f204e1500b82f | /OpenCV/Practice/Include/Background.h | 3771c1c116f0f3ff7428baeb127640ed689a5490 | [] | no_license | pray92/CPL-20162-Team4 | 8875c26c1efffa8fb4de86048e96150d5764c923 | 777c1929c3e784dc1b34c6b933522aa8532c6dfb | refs/heads/master | 2020-09-21T16:46:27.445241 | 2016-11-23T11:32:31 | 2016-11-23T11:32:31 | 67,261,869 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 329 | h | #pragma once
#include "Obj.h"
class CBackground :
public CObj
{
private:
static bool m_bTextCalled;
private:
RECT m_rcFrame;
public:
virtual HRESULT Initialize(void);
virtual SCENE Progress(void);
virtual void Render(void);
virtual void Release(void);
public:
CBackground();
CBackground(int _iID);
~CBackgroun... | [
"redgem92@gmail.com"
] | redgem92@gmail.com |
117d4fdf96955ad8a396839b107475227cd58445 | 7d92dd93197ab84610f68a4268c3b2ebf2e66c27 | /UVa 11388.cpp | d7b9b5419e30a86d78ea28f43668fb520000261a | [] | no_license | NiladreeDatta/Number-Theory | 5552b3db6443523faae06a65f9555a960466f854 | 98569bd31b1211a763619c8fd8c124e052fa26e5 | refs/heads/master | 2020-12-19T18:39:30.988985 | 2020-05-22T18:32:51 | 2020-05-22T18:32:51 | 235,816,728 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 295 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
int tc,a,b;
cin >> tc;
while(tc--)
{
cin >> a >> b;
if(b%a == 0)
{
cout << a << " " <<b << endl;
}
else cout << -1 << endl;
}
return 0;
}
| [
"noreply@github.com"
] | NiladreeDatta.noreply@github.com |
b8bae1b4098b637bd47718405faa856dd5e8c925 | aedec0779dca9bf78daeeb7b30b0fe02dee139dc | /Modules/Image/test/testInterpolateExtrapolateImageFunction.cc | 91806fc728557e7a9e6276dfc726944fe6baf62c | [
"LicenseRef-scancode-proprietary-license",
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | BioMedIA/MIRTK | ca92f52b60f7db98c16940cd427a898a461f856c | 973ce2fe3f9508dec68892dbf97cca39067aa3d6 | refs/heads/master | 2022-08-08T01:05:11.841458 | 2022-07-28T00:03:25 | 2022-07-28T10:18:00 | 48,962,880 | 171 | 78 | Apache-2.0 | 2022-07-28T10:18:01 | 2016-01-03T22:25:55 | C++ | UTF-8 | C++ | false | false | 26,226 | cc | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2013-2015 Imperial College London
* Copyright 2013-2015 Andreas Schuh
*
* 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
*
... | [
"andreas.schuh.84@gmail.com"
] | andreas.schuh.84@gmail.com |
dcc2268569586fe5834f6675a7f3190bf0e1957d | 672e2076ea4e3570712989d534ab66afef0a5707 | /implementations/Direct3D12/texture.hpp | 56f611eece4ea78f8ec894694ee8e46dea70a34a | [
"MIT"
] | permissive | RebeccaMorganKSE/abstract-gpu | a72a8dcea58b8d9d17717b75ea0d8714fe2369e8 | 29c47639f0462216e82da0dfef9bec45835e69fe | refs/heads/master | 2020-07-05T10:48:44.922148 | 2019-08-07T12:22:07 | 2019-08-07T12:22:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,657 | hpp | #ifndef AGPU_D3D12_TEXTURE_HPP
#define AGPU_D3D12_TEXTURE_HPP
#include "device.hpp"
struct _agpu_texture : public Object<_agpu_texture>
{
public:
_agpu_texture();
void lostReferences();
static agpu_texture* create(agpu_device* device, agpu_texture_description* description);
static agpu_texture* crea... | [
"roniesalg@gmail.com"
] | roniesalg@gmail.com |
0c211a265b793ca689ed94b4f5ef5e4c9d611e72 | e55cd096872867e619811e6ad52cfed9226d9b10 | /Culling2D/Culling/culling2d.Object.cpp | a0498646be82c5ac0b85a899d23438853b8c808e | [] | no_license | altseed/Culling2D | e81e7ad2314df7e8340ba8cc4dc4e43cbe0576da | ecb2d0200ed3d1d98c28f3756605056e0f73b3b4 | refs/heads/master | 2020-04-13T13:01:21.214691 | 2018-01-06T10:46:44 | 2018-01-06T10:46:44 | 21,387,328 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,961 | cpp | #include "../Culling2D.h"
#include "../../culling2d_common/src/Culling2DCommon.h"
namespace culling2d
{
Object::Object(void* userdata, World *worldRef) :
userData(userdata)
, worldRef(worldRef)
, sortedKey(0)
, isInWorld(true)
{
SafeAddRef(worldRef);
circle = culling2d::Circle(culling2d::Vector2DF(0, 0),... | [
"dtm.music.producer@gmail.com"
] | dtm.music.producer@gmail.com |
9b50609862b84462d60fd9569b4fc11951ddc2a0 | 0cf94ba93e29f574a08f1c9b0d9dbf98e5984c6e | /Module/Flow/BoxAlignFlow.h | 05e93bdca69fc69f6f56bfc69adaed2a4eba4ad4 | [] | no_license | jtendless/G8H_VisionAgent | aa1c41bcdb0e9f54471ef5f7cfa5b5720d2f32f2 | 07a613533cadf0741cfaa31b65f41c441e1267cc | refs/heads/main | 2023-08-21T14:03:50.921147 | 2021-09-24T00:42:35 | 2021-09-24T00:42:35 | 409,556,921 | 0 | 1 | null | 2023-07-21T07:59:10 | 2021-09-23T11:05:39 | C++ | UTF-8 | C++ | false | false | 2,315 | h | #pragma once
class CBoxAlignFlow : public CBaseFlow
{
public:
CBoxAlignFlow();
~CBoxAlignFlow();
private:
BOOL m_FlowFinish;
void(*m_StateComplete)(void *pArgument);
CWinThread* pThread;
VOID ThreadFunctionEntry(VOID);
static UINT ThreadFunction(LPVOID lpParam);
public:
BOOL m_bFlowDone;
BOOL m_... | [
"jt-endless@daum.net"
] | jt-endless@daum.net |
6b312579b18ffcb801737d8250b914d0b6feffae | e213a99049af2297ed455c10de07adb0199964fc | /Sources/Serialized/Xml/Xml.cpp | cc3bd16a8365cdb55e48b5a4afcd25f1e86ccb5f | [
"MIT"
] | permissive | firedtoad/Acid | aab0541804b38775c620529b0157d61866de90d5 | ba6f1340206cd138ad4d30ac3e1a7c58af5b0c8e | refs/heads/master | 2020-04-26T19:25:54.908370 | 2019-03-02T03:08:07 | 2019-03-02T03:08:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,435 | cpp | #include "Xml.hpp"
#include "Files/Files.hpp"
namespace acid
{
Xml::Xml(const std::string &rootName) :
Metadata(rootName, "")
{
}
Xml::Xml(const std::string &rootName, Metadata *metadata) :
Metadata(rootName, "")
{
AddChildren(metadata, this);
}
void Xml::Load(std::istream *inStream)
{
ClearChildren... | [
"mattparks5855@gmail.com"
] | mattparks5855@gmail.com |
8861a1ff39596e4937143ef07ea0fbae9fc2c9d0 | ca6c13ac1ccb738652261b93ec27db63f981291b | /psLab/fluxus/public/FluxFunction.h | c0dda889751dfb495fa6dd948556565a0c085e87 | [] | no_license | stephanie-bron/monthly_tdep_analysis | 9f9f0e3d05ffb03a3beeec546964717450be0b42 | 7c32f7278ab10e63688b74a5e1e6fcbed041b722 | refs/heads/master | 2020-12-02T23:55:06.628342 | 2017-07-01T15:17:14 | 2017-07-01T15:17:14 | 95,959,702 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,079 | h | #ifndef FLUXUS_FLUXFUNCTION_H_
#define FLUXUS_FLUXFUNCTION_H_
#include "TF1.h"
// For now, units are:
// * energy will be GeV
// * flux will be GeV^-1 cm^-2 s^-1
// * spectralIndex must include sign, i.e. E^gamma, where gamma = -2
class FluxBase {
public:
virtual ~FluxBase() { }
virtual double GetFlux(... | [
"stephaniecl.bron@gmail.com"
] | stephaniecl.bron@gmail.com |
a3a0a856cdb016894dbcd50302783a94d61e8e90 | 697d8dcb9b39ef858cad57d7eced694590821ded | /EquationsOfMathematicalMagic.cpp | 39f10de615c804cba4060ac4ac5613585bb2dfbb | [] | no_license | KevinMathewT/Competitive-Programming | e1dcdffd087f8a1d5ca29ae6189ca7fddbdc7754 | e7805fe870ad9051d53cafcba4ce109488bc212d | refs/heads/master | 2022-02-14T09:37:31.637330 | 2020-09-26T16:15:26 | 2020-09-26T16:15:26 | 147,362,660 | 4 | 4 | null | 2022-02-07T11:13:38 | 2018-09-04T14:52:29 | C++ | UTF-8 | C++ | false | false | 567 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
// Author - Kevin Mathew
// Birla Institute of Technology, Mesra
void te(){
ll a;
cin >> a;
for(ll j=0;j<50;j++){
a = j;
ll c = 0;
for(ll i=0;i<=a+10;i++)
if((a - (a ^ i) - i) >= 0)
c++;
cout << a << " " << c << "\n";
}
}
int main()
{
... | [
"mathewtkevin@gmail.com"
] | mathewtkevin@gmail.com |
c267977884e048171f3785051c9b17b565a2abf3 | 0cf94ba93e29f574a08f1c9b0d9dbf98e5984c6e | /Module/Flow/Origin_LoaderY_Flow.cpp | e4b6b3411071461a32bc8beba04185363fb802ae | [] | no_license | jtendless/G8H_VisionAgent | aa1c41bcdb0e9f54471ef5f7cfa5b5720d2f32f2 | 07a613533cadf0741cfaa31b65f41c441e1267cc | refs/heads/main | 2023-08-21T14:03:50.921147 | 2021-09-24T00:42:35 | 2021-09-24T00:42:35 | 409,556,921 | 0 | 1 | null | 2023-07-21T07:59:10 | 2021-09-23T11:05:39 | C++ | UTF-8 | C++ | false | false | 5,171 | cpp | #include "stdafx.h"
#include "Origin_LoaderY_Flow.h"
#include "Vision/Devs.h"
#include "VisionAgentDlg.h"
#include "Data/ManualData.h"
COrigin_LoaderY_Flow::COrigin_LoaderY_Flow()
{
}
COrigin_LoaderY_Flow::~COrigin_LoaderY_Flow()
{
}
BOOL COrigin_LoaderY_Flow::InitProcess()
{
m_StateComplete = NULL;
m_FlowFinish ... | [
"jt-endless@daum.net"
] | jt-endless@daum.net |
48ed7a580e9edb972a8f991b4315180b109d29bb | f4201ae4eae45a1176c64341b33135b078f04f3d | /PGGroup/Entity.cpp | e96777d8c734598e359cc7fc26e35a0dc662383d | [] | no_license | Lefevrest/cs495-group | 381842a1a9ff199e371261847ee9ab03170f0706 | 9411afe1a266afe994f1ea7dcf4d44c79954b19b | refs/heads/master | 2021-01-14T10:16:49.187182 | 2015-12-08T21:52:36 | 2015-12-08T21:52:36 | 46,585,345 | 0 | 0 | null | 2015-11-20T20:33:11 | 2015-11-20T20:33:11 | null | UTF-8 | C++ | false | false | 5,184 | cpp | #include "Entity.h"
#include "PlaneEntity.h"
Entity::Entity(Vector* aPosition, GLuint *aTexture, GLfloat* aVertices, float aRadius) {
position = aPosition;
rotation = new Vector(0.0, 0.0, 0.0);
velocity = new Vector(0.0, 0.0, 0.0);
texture = aTexture;
opacity = 0;
radius = ((aRadius == NULL) ? 0.8f : aR... | [
"finapani@gmail.com"
] | finapani@gmail.com |
ede918e7d69a6b1d2d7516932717384d4eecf686 | ebe880db8a4f2341913bb2b79e4bbd6a6295793f | /tracce/traccia12ALBN/Tree.h | e00169e49a61cbdf886902360acc0ed4d0c66731 | [] | no_license | donakunn/CPPfiles | 51a4132c006ad1830cc23a959163a863170bb91a | ea29a6ef7c528ce9061f1a2c46abe8ed8cd04d71 | refs/heads/main | 2023-02-24T11:06:34.922032 | 2021-02-02T11:39:26 | 2021-02-02T11:39:26 | 311,754,812 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,667 | h |
#ifndef TREE_H
#define TREE_H
template<class I, class N>
class Tree {
public:
typedef I item;
typedef N node;
virtual void create () = 0;
virtual bool empty () const = 0;
virtual void insRoot () = 0;
virtual node root () const = 0;
virtual node parent (const node) const = 0;
virtual bool le... | [
"donalara.@gmail.com"
] | donalara.@gmail.com |
d7a265eefabb33afcacc971e6ea1ec3d3980904f | da810b0113f427ebddb0d22ea5321e81ef74baa7 | /Assignment2/main.cpp | f57dd777ac282458103e67900d39565cd6b3d11e | [
"MIT"
] | permissive | HEYHO8037/POCU | 8f8a6f50d9e4860de3feec1246ee7eee89df5e23 | 811979ec56ec6401807e6967845c6f4581884d5f | refs/heads/master | 2023-06-28T07:40:44.596847 | 2021-07-29T12:54:40 | 2021-07-29T12:54:40 | 363,791,190 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,570 | cpp | #include <cassert>
#include <iostream>
#include <iomanip>
#include "Vehicle.h"
#include "Airplane.h"
#include "Boat.h"
#include "Boatplane.h"
#include "Motorcycle.h"
#include "Sedan.h"
#include "UBoat.h"
#include "Trailer.h"
#include "DeusExMachina.h"
#include "Person.h"
#define _CRTDBG_MAP_ALLOC
#include <cstdlib>... | [
"haeho8037@gmail.com"
] | haeho8037@gmail.com |
782efe2d68ec986c278a31f8b6316693f05b797a | e8971f7cc6afc0cd0ccb6b9635e4b8b3eb658ca2 | /rtos/teststates.hpp | e345779c73584e6bffb7c296ad881a6166eff96d | [
"MIT"
] | permissive | NikitaFedotovKE-415/CortexLib | 1c5d0ba17c66034974f06983e1541d811d33c778 | 6746c668e3f874da18da8d1d33c2c198878bcbf2 | refs/heads/master | 2022-12-29T17:09:51.217934 | 2020-10-17T14:15:35 | 2020-10-17T14:15:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,515 | hpp | // Filename: testthread.hpp
// Created by by Sergey aka Lamerok on 30.03.2020.
#pragma once
#include <iostream> // for cout
#include "taskbase.hpp" // for TaskBase
#include "gpiocregisters.hpp"
struct TargetThread: public TaskBase<TargetThread>
{
constexpr TargetThread() { }
void OnEvent() const
{
... | [
"sergey.kolody@gmail.com"
] | sergey.kolody@gmail.com |
dded14e6573e2022e0960b3d84ffee2d0e35d63e | 1deda48055f6ff3c4afb3d20c9c27ab78b403e70 | /src/classes/player/SWBestow.h | e3544668cd04a67c441e49b2e438c38a37469e61 | [] | no_license | Trogious/swmud | c5d60eb78bcdcbe9473db502a139285671cebcf1 | 93e0b40a69511b44d0175dcda6612a8ef79f3912 | refs/heads/master | 2021-07-24T14:25:48.787119 | 2020-04-13T16:54:01 | 2020-04-13T16:54:01 | 132,245,599 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 476 | h | /*
* SWBestow.h
*
* Created on: 2010-07-15
* Author: Trog
*/
#ifndef SWBESTOW_H_
#define SWBESTOW_H_
#include "SWCommand.h"
namespace player
{
class SWBestow: public SWCommand
{
public:
SWBestow()
{
}
SWBestow(const SWString &cmd) :
SWCommand(cmd)
{
}
SWBestow(const SWString &cmd, const SWInt &... | [
"trog@swmud.net"
] | trog@swmud.net |
19695ed6ac400690fc2fb67033a7e0bff81736a3 | 30e55c13af4fbdfb422ef8a9d7f7b8ffd354e027 | /src/dtypes/FiniteFields.cpp | 5e68d068426e15f7029094ae61a5376b7dd06ed6 | [] | no_license | jweir136/crud-bitcoin-cpp | d7e1fbe0bad348aca27a5910104082b5e83dcbec | 79dd346733042028e6d4664bbffc76883eeb60f3 | refs/heads/master | 2023-03-25T23:26:58.541956 | 2021-03-25T20:55:23 | 2021-03-25T20:55:23 | 350,922,139 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 539 | cpp | #include "bigint/src/bigint.h"
#include "FiniteFields.h"
using namespace Dodecahedron;
FieldElement::FieldElement(Bigint num, Bigint prime) {
if (num >= prime || num < 0)
throw "Invalid Input. Num must be in range [0,prime)";
this->num = num;
this->prime = prime;
}
Bigint FieldElement::getPrime(... | [
"jacobweir@Jacobs-MacBook-Pro.local"
] | jacobweir@Jacobs-MacBook-Pro.local |
85c97f71931e531c96c2e270a139bf9663b7a94d | 8017d1dd2f8ab8aba69651ab4ceee0381d708ff6 | /microcode_sliding_window/mvm/mvm_aarch64.cpp | e75482d9ff1b97f780e5a17dfc842d1a785588b2 | [] | no_license | ElvisBlue/Hexext | 7f2d9d4e87686b418f600358fbed4ac70c7003cd | 718698ffa55643faeaf80c190121afd3c11f6a0b | refs/heads/master | 2022-02-19T16:53:46.655056 | 2019-08-04T19:03:32 | 2019-08-04T19:03:32 | 441,787,878 | 1 | 0 | null | 2021-12-26T01:27:21 | 2021-12-26T01:27:20 | null | UTF-8 | C++ | false | false | 1,121 | cpp | #include "mvm_defs_internal.hpp"
#ifdef __EA64__
#include "mvm_aarch64.hpp"
#include "../mixins/set_codegen_small.mix"
/*
it looks like there are FOUR DIFFERENT FUCKING POSSIBLE REGISTER FILE LAYOUTS FOR AARCH64
in every layout the tempregs have different predecessors in the file
but off, the last tempreg, always... | [
"chss95cs@gmail.com"
] | chss95cs@gmail.com |
fb3760069ea3569c3dfc43babc5128d9d1302617 | deae7011a968494f64d3406123040760cc2b6361 | /src/win32/sdl_winmain.cpp | 013213f3c4bd88453180d46c12098d22c18cc3b0 | [] | no_license | ioan-chera/AutoWolf | 9499508ec1ca75bdee95ba5a0b7e92fc0881db09 | 0780662807138aad4145a65851215d8d8a8815de | refs/heads/master | 2022-02-11T18:34:01.393793 | 2022-01-19T06:27:33 | 2022-01-19T06:27:33 | 11,735,081 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 587 | cpp | #ifdef _WIN32
/*
SDL_main.c, placed in the public domain by Sam Lantinga 4/13/98
Modified to write stdout/stderr to a message box at shutdown by Ripper 2007-12-27
The WinMain function -- calls your program's main() function
*/
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
/* Include the SDL main d... | [
"ioan_chera@yahoo.com"
] | ioan_chera@yahoo.com |
95c13c33a1b3f5be89336b92a9b9a9b40c6fbf6c | e741f43e6f28669f1330faa422bbf44c496b63b4 | /old/CmdLine.cc | 401db11e525c02d38d7efec348dee69d6ed776ef | [] | no_license | StevensDeptECE/CPE593 | d5ee7816a42d9db112a9618fb95c14922ccd8e75 | 3ca8115e84287a2afd18d27976720c159ab056a2 | refs/heads/master | 2023-04-26T21:07:47.252333 | 2023-04-19T01:25:09 | 2023-04-19T01:25:09 | 102,521,068 | 50 | 51 | null | 2023-03-05T17:45:52 | 2017-09-05T19:22:17 | C++ | UTF-8 | C++ | false | false | 158 | cc | #include <iostream>
#include <iostream>
using namespace std;
int main(int argc, char* argv[]) {
for (int i = 0; i < argc; i++)
cout << argv[i] << '\n';
}
| [
"Dov.Kruger@stevens.edu"
] | Dov.Kruger@stevens.edu |
8e2d238f7bb0450b64c22fb47ae4b30747093d91 | 4a56d4cd2a933ceb7f4b0296923c4506df34d807 | /OI - zadania/VIII OI/mapa_gest.cpp | d5302bf0c98eedaa945ccadebfe77d79864d176d | [] | no_license | kjamrozy/Algorytmika | 027b02f48b3b7b1a107f3d89df5202174dbd8b7b | 58249bd653651aaec8281fa3a83ced8f20490d88 | refs/heads/master | 2020-05-20T09:10:02.649972 | 2015-08-28T07:49:30 | 2015-08-28T07:49:30 | 41,513,165 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,076 | cpp | #include <algorithm>
#include <cstdio>
using namespace std;
#define FOR(x,b,e) for(int x=b;x<=e;x++)
#define FORD(x,b,e) for(int x=b;x>=e;x--)
#define REP(x,e) for(int x=0;x<e;x++)
#define MAXN 251
int n[MAXN][MAXN];
int l,r;
void init(){
FOR(i,1,l)
n[i][0]=n[i][0]+n[i-1][0];
FOR(i... | [
"karol.j.jamrozy@gmail.com"
] | karol.j.jamrozy@gmail.com |
7d55189f0f9c90567001a808cf7f12ce5128018e | bdfbd76440f360c6ecf73ca8d1301bb2ca371dca | /plugs/drkPvr/threaded.cpp | 2ff91a3aba127f68e4808d5e473874c9b3e4f763 | [] | no_license | PSP-Archive/nulldce-psp | a546dad4926230def9991ee1221fae8a7a00b74f | 7d9be432144d8aced3808ded537bded64691dc95 | refs/heads/main | 2023-08-25T02:43:22.199230 | 2021-10-16T22:58:28 | 2021-10-16T22:58:28 | 336,100,922 | 16 | 11 | null | 2021-04-25T04:03:49 | 2021-02-04T22:36:16 | C++ | UTF-8 | C++ | false | false | 1,975 | cpp | #include <queue>
#include "threaded.h"
#include <stdio.h>
#include <stdlib.h>
#include "Renderer_if.h"
#include "ta.h"
#include "spg.h"
#include "plugins/plugin_manager.h"
static volatile u32 TA_cachedIndex = 0;
#define vfpu_TADMA_cache_push(data) \
{ \
const u32 idx = PSP_UC(TA_cachedIndex); \
... | [
"grillo383@gmail.com"
] | grillo383@gmail.com |
5359547ca3441218d3d54524288517a522d70428 | b5d733cbc502441ba9553ac52c4702b950436683 | /saves/0.0.0/include/Region.h | a016a6799f3d8e8f16414b8037276c462bac9482 | [] | no_license | thprfssr/OldProjectC | d033551eb45c98766b2511d17601321f8f9d8137 | bad7c86f04f298c03caae83ea249b0df4ae49709 | refs/heads/master | 2021-03-27T18:25:39.617947 | 2017-09-05T23:28:24 | 2017-09-05T23:28:24 | 102,539,520 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 299 | h | #pragma once
#include <fstream>
#include <string>
#include <SFML/Graphics.hpp>
#include "Game.h"
#include "Tile.h"
#include "Character.h"
class Region
{
public:
void manageRegion();
void drawTiles();
Region(int region_id);
private:
int m_region_id;
int m_tile_array[256];
};
| [
"jaca2899@gmail.com"
] | jaca2899@gmail.com |
fd0601d6ae34c2e94956d86bc72f51b2f7734070 | 8308932a4ff85453f12834672cbd5d93ea394eef | /blib/wm/widgets/Image.cpp | d1f6501024834547c9e131cddc6c615d00ff058b | [] | no_license | psyops8905/blib | 1d34317b4a0f4aa5ca1dec8d24eea9b477c12d41 | b3c036bf5a2228b359e8de66dd60f9bdef8c982c | refs/heads/master | 2023-03-18T06:18:22.197039 | 2019-02-01T02:03:50 | 2019-02-01T02:03:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,373 | cpp | #include "Image.h"
//#include <gl/glew.h>
#include <glm/gtc/matrix_transform.hpp>
#include <blib/wm/WM.h>
#include <blib/Texture.h>
#include <blib/SpriteBatch.h>
#include <blib/Math.h>
namespace blib
{
namespace wm
{
namespace widgets
{
Image::Image(Texture* texture )
{
this->te... | [
"borfje@gmail.com"
] | borfje@gmail.com |
513870f4239b06935df853234f0dd84f17394ab0 | dbe0391bc048ab2719e2694f02b85f5096585b74 | /sortitout.cpp | cdaac15d28771e169ea42f931dc625f135cc47cf | [] | no_license | Asaad27/Competitive-programming | 4821e8030e7d4d551f65a13d67633b075d18a08e | e876736c2e1accfe3ff774454155fb80723178e6 | refs/heads/master | 2022-03-31T23:52:18.556535 | 2020-01-17T13:10:05 | 2020-01-17T13:10:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 294 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
int n,x;
cin>>n;
vector< pair<int,int>> v;
for(int i=0;i<n;i++)
{
cin>>x;
v.push_back(make_pair(x,i));
}
sort(v.begin(),v.end());
for(int i=0;i<v.size();i++)
{
cout<<v[i].second<<" ";
}
cout<<endl;
return 0;
} | [
"asaadbelarbi15@gmail.com"
] | asaadbelarbi15@gmail.com |
3c4926b34b4781c652c5534aa115fe3917bdb834 | 3df01d7e712197babed04169b8602811330fb42f | /codeblocks/tree/tree_node_deletion_with_replacement_deepest.cpp | 6b47a91fa3b6946707d01fb981bb30339226df2e | [] | no_license | rohittiwarirvt/myCompetitiveProg | d43d4ec10d81bec0bf84811aaf736206cfcb66b8 | 7d8d257d0eee423893762a833a5cb438a1eca93f | refs/heads/mycpp-master | 2021-01-13T11:18:03.256898 | 2018-06-08T15:19:01 | 2018-06-08T15:19:01 | 81,396,726 | 0 | 0 | null | 2018-06-08T15:19:02 | 2017-02-09T01:54:27 | C | UTF-8 | C++ | false | false | 1,943 | cpp | #include <stdio.h>
#include <stdlib.h>
#include <queue>
using namespace std;
struct tree {
int data;
struct tree * left;
struct tree * right;
};
struct tree* createNode(int data) {
struct tree* node = (struct tree*)malloc(sizeof(struct tree));
node->left= node->right = NULL;
node->data = data;
}
void ino... | [
"rohittiwarirvt@gmail.com"
] | rohittiwarirvt@gmail.com |
e622fc1a7ac57c2520735396e92264cbe8234527 | b92769dda6c8b7e9bf79c48df810a702bfdf872f | /5.Loops&RelationalExpressions/Exercises/9.cpp | 5e39e468da1d74d909353d7e49da4956bc9adb54 | [
"MIT"
] | permissive | HuangStomach/Cpp-primer-plus | 4276e0a24887ef6d48f202107b7b4c448230cd20 | c8b2b90f10057e72da3ab570da7cc39220c88f70 | refs/heads/master | 2021-06-25T07:22:15.405581 | 2021-02-28T06:55:23 | 2021-02-28T06:55:23 | 209,192,905 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 322 | cpp | #include <iostream>
#include <string>
using namespace std;
int main(int argc, char const *argv[]) {
string str;
string done = "done";
int res = 0;
cout << "Enter words" << endl;
cin >> str;
while (str != done) {
res++;
cin >> str;
cin.get();
}
cout << "total: " << res << endl;
return 0;
... | [
"nxmbest@qq.com"
] | nxmbest@qq.com |
56b5c2178919cdd6abd097cd096573c49a14b319 | 3e194ed62e1c2889200956f4869f4302fd8ec1e2 | /CodeChef/NovChallenge19/hardSeq.cpp | 01aee9a0ae88e35598e5e04a876fdf7b152f5296 | [] | no_license | Mythili007/CodePractice | 12200c4f0159a13768102162b81e7ad20664f7c3 | 8de758858887d71d23e2316a6396ec05398db197 | refs/heads/master | 2021-06-05T19:15:45.589220 | 2021-05-07T19:28:12 | 2021-05-07T19:28:12 | 135,747,445 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,465 | cpp | #include <bits/stdc++.h>
using namespace std;
int main()
{
int t;
cin >> t;
while (t-- > 0)
{
int n;
cin >> n;
int lastElement = 0, nextElement = 0;
int a[128], lastElementIndex;
a[1] = a[2] = 0;
for (int i = 3; i <= 128; i++)
{
// cou... | [
"indira.mythili@gmail.com"
] | indira.mythili@gmail.com |
efd66e854a0792dbaafab08f67a94e98e6fb3ef2 | e138a8fdd55e682fcd550f890cce63789416026e | /MCF/StreamFilters/StreamFilterBase.hpp | 8f5ed199b08562d36dc199b52c2396985033b06c | [] | no_license | lamboxn/MCF | bf8e4e5ba32b7b8c03435601fba77c5133e32aaa | 222883dc3d3ef8a348d6dd7ea9ff597c2b5e8f2c | refs/heads/master | 2021-01-21T07:15:02.563951 | 2015-12-10T10:59:09 | 2015-12-10T10:59:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,110 | hpp | // 这个文件是 MCF 的一部分。
// 有关具体授权说明,请参阅 MCFLicense.txt。
// Copyleft 2013 - 2015, LH_Mouse. All wrongs reserved.
#ifndef MCF_STREAM_FILTERS_STREAM_FILTER_BASE_HPP_
#define MCF_STREAM_FILTERS_STREAM_FILTER_BASE_HPP_
#include "../Core/StreamBuffer.hpp"
#include <cstddef>
#include <cstdint>
namespace MCF {
class StreamFilte... | [
"lh_mouse@126.com"
] | lh_mouse@126.com |
6f89cd0d67b28879fbc0fbbebde4520becff6cd5 | 974d34dcc97c1273fe37ed9884b152d8c538e9a9 | /ffmpeg_DXVA_decoder/stdafx.cpp | 0dfa5906663710aa10dab5c5a3816dea5205863c | [] | no_license | dyang23/ffmpeg-DXVA-decode-1 | e192dccf710e52997460a93a1544bd687c071a35 | 635df58dd4c3dfe67e5e7c5920f4b7628102ecdd | refs/heads/master | 2023-03-18T10:58:48.510472 | 2020-12-09T01:55:51 | 2020-12-09T01:55:51 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 270 | cpp | // stdafx.cpp : 只包括标准包含文件的源文件
// ffmpeg_DXVA_decoder.pch 将作为预编译头
// stdafx.obj 将包含预编译类型信息
#include "stdafx.h"
// TODO: 在 STDAFX.H 中引用任何所需的附加头文件,
//而不是在此文件中引用
| [
"Jack@DESKTOP-9GB39PB"
] | Jack@DESKTOP-9GB39PB |
34df9ee12ae4c8a8cd657683ab0229046c567df3 | 144635cfebbb7bbd991b0e707920af605f379267 | /Day 3/day3p2.cpp | deccb6b24a8345c98dc6597f6e92482d7b491159 | [] | no_license | khalidmihlar/AdventofCode2020 | c471d6600e6e90e4e4550d829926f2a44957d779 | 416fc43c3d2138e1c25785632356ca10d93a3436 | refs/heads/main | 2023-02-05T08:24:20.754673 | 2020-12-29T22:09:44 | 2020-12-29T22:09:44 | 318,056,199 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,401 | cpp | #include <iostream>
#include <string>
#include <vector>
#include <sstream>
#include <fstream>
using namespace std;
int main(){
double maptree; //trees on each map
double ans=0;; //trees multiplied on each other
ifstream f;
f.open("input.txt");
vector<string> map;
vector<double> tre... | [
"noreply@github.com"
] | khalidmihlar.noreply@github.com |
cf610efd81e4afc761ce406f0af40b873e7417ac | d4291c13f4ebf3610f8c4adc75eede4baee0b2c1 | /RecoTracker/FinalTrackSelectors/plugins/TrackAlgoPriorityOrderESProducer.cc | 851cdd3c38dd2ba8fe68a40b2ca7b7037f73d063 | [
"Apache-2.0"
] | permissive | pasmuss/cmssw | 22efced0a4a43ef8bc8066b2a6bddece0023a66e | 566f40c323beef46134485a45ea53349f59ae534 | refs/heads/master | 2021-07-07T08:37:50.928560 | 2017-08-28T08:54:23 | 2017-08-28T08:54:23 | 237,956,377 | 0 | 0 | Apache-2.0 | 2020-02-03T12:08:41 | 2020-02-03T12:08:41 | null | UTF-8 | C++ | false | false | 2,074 | cc | #include "FWCore/Framework/interface/ModuleFactory.h"
#include "FWCore/Framework/interface/ESProducer.h"
#include "FWCore/Framework/interface/ESHandle.h"
#include "RecoTracker/FinalTrackSelectors/interface/TrackAlgoPriorityOrder.h"
#include "RecoTracker/Record/interface/CkfComponentsRecord.h"
class TrackAlgoPriority... | [
"matti.kortelainen@cern.ch"
] | matti.kortelainen@cern.ch |
d41872a3ac3909ef99cc4cb71f6e606e416576a2 | 0142093a25d0f9eff75d071a150d03875bb6003c | /week2/尹祯帅/7-1.cpp | 645ded3902c63e3d5ef580f22de81c2f9c1f9a3a | [] | no_license | zzcym/NEUQ-ACM-Solution | 616971279a77d373ac1b276419f88aea9bae847c | 6725c8dbf6f3a342064d4d645a6166eb7f9bbb42 | refs/heads/main | 2023-08-31T10:21:38.829611 | 2021-10-25T15:49:22 | 2021-10-25T15:49:22 | 421,091,552 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 311 | cpp | #include<bits/stdc++.h>
using namespace std;
void hnt(int n,string a,string b,string c)
{
if(n==1) cout<<a<<"->"<<c<<endl;
else
{
hnt(n-1,a,c,b);
cout<<a<<"->"<<c<<endl;
hnt(n-1,b,a,c);
}
}
int main()
{
int n;
cin>>n;
string a,b,c;
cin>>a>>b>>c;
hnt(n,a,b,c);
return 0;
} | [
"noreply@github.com"
] | zzcym.noreply@github.com |
2d92808552628a1d4d08430117aab1c3f6fadd3c | d7b84a31cafb72a3cb71b3a3cc724a68119ba18e | /Kvasir/0.7/U | 9571214a2be9f440d340d57d3cbb46f24df405ec | [] | no_license | benroque/Ragnorak | 6cc7c68db801f9281a4ac241da754bce88ef6caf | a1bfc2430cccb207192792acebdd1530f1388a4c | refs/heads/master | 2021-01-14T08:13:18.774988 | 2017-02-20T08:32:53 | 2017-02-20T08:32:53 | 82,008,402 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 703,013 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 4.1 |
... | [
"benroque94@gmail.com"
] | benroque94@gmail.com | |
a0fd8552ce06b27b6838fcea81c55bea56000e69 | 9e283eaca525fc5b5aa86fcbf1b0c77942f93055 | /src/ChatManager.hpp | 9766b7df24db0478740d402411e322af7d1f95d3 | [
"MIT"
] | permissive | mobabel/HiHUD-bb10 | a0ebfd7e3b20492dfb87348cea7631701e6f64f5 | 41f1e4c9ff751ed320b288056dba46209a890a96 | refs/heads/master | 2021-08-14T21:53:10.886578 | 2017-11-16T21:27:50 | 2017-11-16T21:27:50 | 111,022,451 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,601 | hpp | /* Copyright (c) 2012, 2013 BlackBerry Limited.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law o... | [
"mobabelsupport@gmail.com"
] | mobabelsupport@gmail.com |
865a3e56f2b8b0627b58c944e64560b0484b4705 | 776f5892f1395bb8d30731a60466e4c756a44c8c | /contests/abc203/abc203_d/main.cc | 4de8c2d78e7016b555e6daea9f7d82aa236e1ae7 | [] | no_license | kkishi/atcoder | fae494af4b47a9f39f05e7536e93d5c4dd21555b | f21d22095699dbf064c0d084a5ce5a09a252dc6b | refs/heads/master | 2023-08-31T18:37:13.293499 | 2023-08-27T21:33:43 | 2023-08-27T21:33:43 | 264,760,383 | 0 | 0 | null | 2023-03-10T05:24:07 | 2020-05-17T21:30:14 | C++ | UTF-8 | C++ | false | false | 520 | cc | #include <bits/stdc++.h>
#include "atcoder.h"
#include "binary_search.h"
#include "cumulative_sum.h"
void Main() {
ints(n, k);
vector a(n, vector(n, int(0)));
cin >> a;
vector b(n, vector(n, int(0)));
wt(BinarySearch<int>(big, -1, [&](int x) {
rep(i, n) rep(j, n) b[i][j] = (a[i][j] <= x);
Cumulative... | [
"keisuke.kishimoto@gmail.com"
] | keisuke.kishimoto@gmail.com |
8da296b6f712ecc6a1f3f6da48d15b400096dd04 | 480f507747e64e15cac968d1b86364757ea05271 | /DirectXTK/Src/WICTextureLoader.cpp | d5fc622b5bd567965a14b490dd9c45f984b29fcb | [
"MIT"
] | permissive | aklemets/directx-sdk-samples | 8749091c87174596028cf5dc5aef6afdddc3e5d0 | 3879e6a8a4d10ad27bb4c56f8e37f0ef1458e027 | refs/heads/master | 2020-12-20T15:18:14.469158 | 2020-01-30T01:55:05 | 2020-01-30T01:55:05 | 236,120,994 | 0 | 0 | MIT | 2020-01-25T03:31:13 | 2020-01-25T03:31:12 | null | UTF-8 | C++ | false | false | 40,293 | cpp | //--------------------------------------------------------------------------------------
// File: WICTextureLoader.cpp
//
// Function for loading a WIC image and creating a Direct3D runtime texture for it
// (auto-generating mipmaps if possible)
//
// Note: Assumes application has already called CoInitializeEx
//
// Wa... | [
"chuckw@windows.microsoft.com"
] | chuckw@windows.microsoft.com |
9b12fda9051c32a253c24f858194f4486632a527 | 0874a70f1cc854ab66abf69e35f7c9a4cf989c4e | /Brush-the-questions/leetcode/Construct_the_Rectangle.cpp | 42f74e3fb7f8a5cde9c6e4d59272ff680e37325c | [] | no_license | liushengxi13689209566/Data-structures-algorithm | ff64df10a7b9e731cfe472e5d86134f25059df63 | b19658e347aff3cb56a0665592b050ac4870fc7e | refs/heads/master | 2021-01-01T16:44:30.983754 | 2019-10-10T08:30:43 | 2019-10-10T08:30:43 | 97,907,822 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,128 | cpp | /*************************************************************************
> File Name: Construct_the_Rectangle.cpp
> Author:
> Mail:
> Created Time: 2017年12月12日 星期二 13时48分15秒
************************************************************************/
/*
* 题目描述:
* 对于Web开发人员来说,了解如何设计网页的大小非常重要。因此,给定一个特定的矩形网页区域,现在您的工... | [
"liushengxi13689209566@163.com"
] | liushengxi13689209566@163.com |
e898797e577dec568d216873b1f689afcfac29ea | a85309fe42f0e3f78052f68f96a3fee3882ad40f | /Judges/UVA/11475.cpp | b9a9f21f09f1c8c570f854e559563ccd0ff0d352 | [] | no_license | mateuspiresl/coding | cb137de068bb88d430f80cd37b5fc9596288a603 | 91df2a564663f68683d21656a3f6e7157943af43 | refs/heads/master | 2021-04-30T22:50:43.368621 | 2016-12-08T23:56:22 | 2016-12-08T23:56:22 | 59,907,899 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 917 | cpp | #include <bits/stdc++.h>
using namespace std;
int main()
{
string s;
while (cin >> s)
{
bool even = s.length() % 2 == 0;
int left = (s.length() >> 1) - 1;
int right = left + (even ? 1 : 2);
while (right < s.length())
{
/*string s2 = s;
s2[left] += 'A' - 'a';
s2[right] += 'A' - 'a';
cout << ... | [
"mateusplpl@gmail.com"
] | mateusplpl@gmail.com |
79c7898c44fa64f502d18449b002c71c1a11f281 | ac95586cc66e3b686929a9dadb4805048efd1b3d | /Views/CelebrateView.h | 46471d67d78a262e00f0cd617f36fcc9fbbe34e0 | [] | no_license | abadillo999/KlondikeOldVersion | dd52c450980a3dbd920b2ce168c8eef088a4b4c5 | 3c0b2ef03b94d4fd32c776e453824b434706cca6 | refs/heads/master | 2021-05-12T16:01:13.277760 | 2018-01-10T19:18:02 | 2018-01-10T19:18:02 | 117,000,099 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 422 | h | /*
* CelebrateView.h
*
* Created on: 14 Nov 2017
* Author: alejandrobadillo
*/
#ifndef VIEWS_CELEBRATEVIEW_H_
#define VIEWS_CELEBRATEVIEW_H_
#include "../Controllers/CelebrateController.h"
namespace Views {
class CelebrateView {
public:
CelebrateView();
virtual ~CelebrateView();
void interact(Controller... | [
"noreply@github.com"
] | abadillo999.noreply@github.com |
6427ceeb3719cb8675fabbd88f06f2e15eeb1601 | c5cbf21e9867eb1f4c9b42c5fc9ca3a22c3bc6e0 | /src/qt/guiutil.cpp | a3c3bed8bd600f5bdc9d6dc50c8359f6b41c3de5 | [
"MIT"
] | permissive | fancywarlock/bitcoinR | 3af69835110f3ece8d629919b210bc71aeb9f3fe | 12b4dee6342556c0890218b843f29cadfab06214 | refs/heads/master | 2022-07-17T09:48:39.681406 | 2020-05-19T22:30:55 | 2020-05-19T22:30:55 | 265,382,334 | 2 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 29,635 | cpp | // Copyright (c) 2011-2018 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <qt/guiutil.h>
#include <qt/bitcoinraddressvalidator.h>
#include <qt/bitcoinrunits.h>
#include <qt/qvalidatedlineed... | [
"62725809+fancywarlock@users.noreply.github.com"
] | 62725809+fancywarlock@users.noreply.github.com |
59f5423deace7b8ef131d6396664eac1a2c7a340 | 2af6cd77013844234c2dca0e34cb44dcd25cba20 | /kattis/friday.cpp | f689d6a69ede071e43d223670e0bc63a082b662c | [] | no_license | SwampertX/judge_adventures | d593c8090b78a4aee6e467b3a5492c7b6e019fd1 | 7838eb6249f23f48da7ae0b2714a3bcd1e0fb721 | refs/heads/master | 2021-06-30T05:53:08.361556 | 2020-12-08T15:57:17 | 2020-12-08T15:57:17 | 165,352,481 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 564 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef unsigned long long ull;
typedef long long ll;
typedef pair<int,int> ii;
const ll INF=2e18;
const int MOD=10000007;
int t,m,d,days[1000001];
int main(){
ios_base::sync_with_stdio(false);
cin.tie(NULL);
cin>>t; while(t--){
cin>>d>>m;
f... | [
"tanyeejian@gmail.com"
] | tanyeejian@gmail.com |
69023c1282539699c2e6f678d10e8e1d8bbc5881 | 4b5b52a0c40b92fe0bb90cf9a90d8e746d4b9fc0 | /sound_test/SoundViewer.h | 91b9b57fe95ad38fc80c8fbd67b068706b4a4c5b | [] | no_license | jo7ueb/qt_practice | ccc8433d44943ca5fe19981f4113db2e36f797db | 19f7b4d9ac199f8cd0903ffb9aa29576ab45bd0f | refs/heads/master | 2020-03-30T17:08:45.112193 | 2013-08-29T09:05:24 | 2013-08-29T09:05:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 440 | h | #ifndef SOUNDVIEWER_H
#define SOUNDVIEWER_H
#include "ui_SoundViewer.h"
class SoundViewer : public QDialog
{
Q_OBJECT
public:
explicit SoundViewer(QWidget *parent = 0);
private:
Ui::SoundViewer ui;
public slots:
void updateImage(QImage *i);
signals:
void startButton();
void stopBut... | [
"yasu@neppo.net"
] | yasu@neppo.net |
43a2705270b635777bbc784b98e7353ffe11e355 | 3c9d8787d9dd84b5402097c1331add04bc7a7f94 | /17.13.1 Linked List - From scratch.cpp | ad5c36a74cf3b0213902f60fc3a1ed04fd1e7971 | [] | no_license | AbhishekPratik1810/my_cpp_dsa_practice | bfc6df01dc2412b39056b5d49791a0ccf105d19a | 37e465cf15d162dfaf535fdcf780d5d5225a8575 | refs/heads/master | 2022-12-09T03:24:24.220974 | 2020-09-15T17:50:33 | 2020-09-15T17:50:33 | 295,805,408 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,105 | cpp | #include<iostream>
using namespace std;
struct Node{
int data;
Node* next;
Node(int val){
data = val;
next = NULL;
}
};
Node* doTheMagic(Node* head, int k){
if(!head)
return NULL;
Node* prev = NULL, *curr =NULL, *fwd = head;
int linkCount = 0;
while(fwd ... | [
"developerpratik18@gmail.com"
] | developerpratik18@gmail.com |
b0d7e52024ee321d53748e371e3c0ac6246efe54 | 05abfd0688e85500ed7171ffd17b0ddf97185006 | /inc/Interface/TextEditor.hh | c148df6af9c879efcdaf5996860f551b9f4c11d7 | [] | no_license | rudrabhoj/decipher_text | ee288cfdf0730d257fb68c1a7644aebc1f1ce6dd | 2f2e7fb264fb1e4854a1b0793a5cbc4168fcc727 | refs/heads/master | 2020-05-22T04:00:10.249780 | 2016-09-25T01:34:16 | 2016-09-25T01:34:16 | 64,134,136 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 778 | hh | #ifndef __INTERFACE_TEXTEDITOR_HH__
#define __INTERFACE_TEXTEDITOR_HH__
#include <Control/ControlData.hh>
#include <Document/Page.hh>
#include <QMainWindow>
#include <QTextEdit>
#include <QList>
class TextEditor : public QTextEdit{
public:
TextEditor(QMainWindow *parent, ControlData *ctrlData);
void syncText(QSt... | [
"rudrabhoj@gmail.com"
] | rudrabhoj@gmail.com |
842a2467b1eb5f24aefd47633775286423c83e30 | f4770e9caccf7d5b143aa53a02d02b6292f97707 | /src/spec_prototypes.hpp | 606728e6862395dbdce8d8a86981c5ffebb4c4ae | [
"MIT"
] | permissive | parsifal-47/ebpf-verifier | 83b6d380a5a964f3a803a93a406c06a247f1eefb | be367bb1b93a8bce105479fe70f181dba16aeb18 | refs/heads/master | 2020-06-14T06:58:57.356448 | 2019-06-12T09:05:42 | 2019-06-12T09:05:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,370 | hpp | #pragma once
// Taken from the linux kernel
enum class Ret {
INTEGER,
VOID,
PTR_TO_MAP_VALUE_OR_NULL
};
enum class Arg {
/* unused argument in helper function */
DONTCARE = 0,
/* the following constraints used to prototype
* bpf_map_lookup/update/delete_elem() functions
*/
/* const argument used... | [
"elazarg@gmail.com"
] | elazarg@gmail.com |
a844ebc7e32100f22c0866cfe3601cc97d79a979 | b635190cf323e445a7eca84811276c0a1d816851 | /astliteralstring.h | 3020e95c2d250444f0244f1b566bbf8c1bfadaf0 | [
"Zlib"
] | permissive | pool-lang/cpoolc | e720ea89fcda02f3d5e07a430623762d3063ae61 | b549a848629a9ff5038788a0d3c846b834e6a760 | refs/heads/master | 2021-01-19T13:52:48.903298 | 2013-02-18T03:26:42 | 2013-02-18T03:26:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,249 | h | // Copyright 2011-2013 Kevin Cox
/*******************************************************************************
* *
* This software is provided 'as-is', without any express or implied *
* warranty. In no event will the authors b... | [
"kevincox.ca@gmail.com"
] | kevincox.ca@gmail.com |
03bad7f33227e77231ba55394c93bb1e5c0d4067 | 898b6c2a978c9dd3ef952d3175810f80f8069d4a | /source/moc/moc_terrainBox.cpp | 7e1c5696ad18e723412d9ff85a417219226208b3 | [
"MIT"
] | permissive | ilteroi/earthgen-old | 403acf52433075ab02d57abd763f9344f2e88b31 | 0cb8624fcc150c63e84ccbfc58359a068a6a8a9e | refs/heads/master | 2021-01-11T07:01:38.045558 | 2016-10-29T21:15:46 | 2016-10-29T21:21:35 | 72,310,208 | 0 | 0 | null | 2016-10-29T21:23:33 | 2016-10-29T21:23:33 | null | UTF-8 | C++ | false | false | 3,351 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'terrainBox.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.7.0)
**
** WARNING! All changes made in this file will be lost!
**********************************************************... | [
"ilteroi@web.de"
] | ilteroi@web.de |
53063945ff3fcf6e02d7b0209b728e68e7fae0f9 | 41fbb5a3be3e46f1284c0547c08d5407ecf36479 | /0038.外观数列/solution.cpp | 2b877b03b2673b91a6c8ee81038805a80f695e5f | [] | no_license | Ricursu/LeetCode_Parctice | 615e30caf1f00f5d07e29e9306e27eeac54d1df6 | d7fc642710b417ea844fd745217d400aa2be1475 | refs/heads/master | 2023-06-27T14:22:47.056997 | 2021-07-21T14:36:28 | 2021-07-21T14:36:28 | 356,806,574 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 660 | cpp | class Solution {
public:
string countAndSay(int n) {
string res = "1";
for(int i = 1; i < n; i++)
{
string temp = "";
for(int j = 0; j < res.size(); j++)
{
int count = 1;
char c = ... | [
"13642671839@163.com"
] | 13642671839@163.com |
a9154cb38fad8fd532324bc0bfe84b68828b927d | b8194fee4ddf498b2c1bd302ec4ba9466746250d | /build/Android/Debug/app/src/main/include/Fuse.Motion.Destinati-3569762f.h | 2519fb51e93ccbdf20328f50564855e67557e47d | [] | no_license | color0e/Fabric_Fuse_Project | e49e7371c9579d80c9ec96c1f2d3a90de7b52149 | 9b20a0347e5249315cf7af587e04234ec611c6be | refs/heads/master | 2020-03-30T16:49:34.363764 | 2018-10-03T16:26:28 | 2018-10-03T16:26:28 | 151,428,896 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,606 | h | // This file was generated based on '../../AppData/Local/Fusetools/Packages/Fuse.Motion/1.9.0/DestinationMotion.uno'.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Uno.Object.h>
namespace g{namespace Fuse{namespace Animations{struct Easing;}}}
namespace g{namespace Fuse{names... | [
"limjangsoon@naver.com"
] | limjangsoon@naver.com |
a496b7e6c5ec0a1ac417e69ee94b87e9bc1146b9 | d9ba1eb4ed279398777ce96f48a961fe7ee0b0a9 | /exam_1/exam_1/exam_1.cpp | ab55bfed67f7c5e4497882543c23cb5dcfa938a8 | [] | no_license | chinmaymufasa/CSCI_311 | 865c87b7f72f23502f70c47c3fdbd06a0a895b55 | 7c5ef86c34c3c42cdb5ecd0e6838813504c75a93 | refs/heads/master | 2023-07-15T02:51:07.470473 | 2021-09-01T04:34:17 | 2021-09-01T04:34:17 | 335,873,909 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,452 | cpp | // CSCI 311 - Spring 2021
// Exam 1
// Author: ** Chinmay Satpanthi ***
#include <iostream>
#include <vector>
#include <string>
using namespace std;
/**************************
* Your solutions go here *
* ************************/
/*
This function compares two string and checks if the strings have a similar or
di... | [
"34931442+chinmaymufasa@users.noreply.github.com"
] | 34931442+chinmaymufasa@users.noreply.github.com |
b5e701997609a82c7ecbb54dd0a749cb8789353a | d6f246abba41859b88214a7a03086da6c00059c6 | /Aulas/Aula032 - String Part 2 /main.cpp | 586734ea01e569a2c8e8ccf331da65454c96545a | [] | no_license | lucasarieiv/language-c | bfc852bb12adb1bb074bd98df87f23826c439c68 | ecd9d5a48ba0c01efc9721306a1484be01f54da4 | refs/heads/main | 2023-05-12T23:13:14.587967 | 2021-06-02T16:29:28 | 2021-06-02T16:29:28 | 370,421,213 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,119 | cpp | #include <stdio.h>
#include <string.h>
int main()
{
// Forma muito custosa.
// char str1[20] = "Lucas";
// char str2[20];
// int i;
// for (i = 0; str1[i] != '\0'; i++)
// str2[i] = str1[i];
// // str2[i] = '\0';
// printf("%s", str2);
// Usaremos a lib <string.h>
// ---- 1° strlen - Tamanho... | [
"w3desenvolvedor@gmail.com"
] | w3desenvolvedor@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.