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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
33c13a0f8280bb26761d433d9e8fd6c16524ad72 | 426be981352881138c26492c0cdc1107a9c0afa4 | /x-ees-mirp/src/quote_datatype_level1.h | 0fcf6688577a9678125083f8d09e327f268f11e3 | [] | no_license | OverfittingStudyRoom/x-trader | 491910f7284913330c4afac767c3c00893a9b9ba | 247d1043bbb98ee7d53b5de447904ebde186093c | refs/heads/master | 2023-03-31T13:01:38.097797 | 2020-03-12T12:29:37 | 2020-03-12T12:29:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,408 | h | quote_datatype_level1.h | #pragma once
#include "ThostFtdcMdApi.h"
#ifndef DLL_PUBLIC
#define DLL_PUBLIC __attribute__ ((visibility("default")))
#endif
#include <string>
#pragma pack(push)
#pragma pack(8)
///深度市场行情(一档行情结构)
struct DLL_PUBLIC CDepthMarketDataField
{
///交易日
char TradingDay[9];
///结算组代码
char SettlementGroupID... |
060328a720cd6ad37099696d2aabd8e65d7a977b | 793c8848753f530aab28076a4077deac815af5ac | /src/dskphone/uilogic/settinguilogic/src/statuscontroller.cpp | af4bdac201a233a97bbc5ba1c86950e7d78d0a6d | [] | no_license | Parantido/sipphone | 4c1b9b18a7a6e478514fe0aadb79335e734bc016 | f402efb088bb42900867608cc9ccf15d9b946d7d | refs/heads/master | 2021-09-10T20:12:36.553640 | 2018-03-30T12:44:13 | 2018-03-30T12:44:13 | 263,628,242 | 1 | 0 | null | 2020-05-13T12:49:19 | 2020-05-13T12:49:18 | null | UTF-8 | C++ | false | false | 6,766 | cpp | statuscontroller.cpp | #include "statuscontroller.h"
#include "account/include/modaccount.h"
#include "settinguilogic/include/common.h"
#include "devicelib/networkserver.h"
#include "ETLLib.hpp"
//////////////////////////////////////////////////////////////////////////
// Class CStatusController.
CStatusController * CStatusController::m_p... |
8a1aac66d218fbda4b6920e179f29e639649c645 | 63034bc825d4c0b3a1ea6acb825f79f01b01a32f | /ndb/command/command_server.cc | 975607b1bb40b1fc2e0c3c0036014ce94d8b056f | [] | no_license | hpplinux/ndb | 4285d7186ad6464dca16afb36dd93bfe2ac8224e | 21bb6c0ce6ac5669dfc5f52a84d66334402c0ba5 | refs/heads/master | 2021-01-13T03:18:45.822888 | 2016-07-18T08:16:35 | 2016-07-18T08:16:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,056 | cc | command_server.cc | #include "ndb/ndb.h"
namespace ndb {
// PING
Response CommandPING(const Request& request) {
return Response::PONG();
}
// ECHO message
Response CommandECHO(const Request& request) {
return Response::Bulk(request.args(1));
}
// INFO section [name]
Response CommandINFO(const Request& request) {
auto name = requ... |
b771c16c151b71a78793f92232a709cb300f64b8 | ccabc8d03043e9ce55259a7cd3503139aac3e272 | /protocol/game.pb.cc | edb5fb0b5fbfcc784509d59e9c07c0a7da3a7c42 | [] | no_license | lw000/nanomsg_libevent_demo | adedc7f415d2dcd73481667f8a797166604f31bb | 7c93cd9e1d5d339d1498192db70a0f8562666b6c | refs/heads/master | 2021-01-23T20:00:09.214262 | 2017-11-17T14:00:39 | 2017-11-17T14:00:39 | 102,843,053 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | true | 2,837 | cc | game.pb.cc | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: game.proto
#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
#include "game.pb.h"
#include <algorithm>
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/stubs/port.h>
#include <google/protobuf/stubs/once.h>
#include <google/p... |
b1043c1a972f59db0e5803b3ecdbabc084485d65 | 1a2190b96ca17719d2b41a5fbcac6043cf9f08e4 | /HackerRank/Week of Code - 27/zero-move-nim.cpp | 53bcf4400da9feda6643f6c1d2ed99d348369feb | [] | no_license | eliasm2/problem-solving | 13c1abbf397bb41683fccb3490b0113c36ce9010 | 15becf49315b5defb8c1267e0c43ce1579dcae1a | refs/heads/master | 2020-09-07T07:12:17.112311 | 2018-07-20T17:27:43 | 2018-07-20T17:27:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 452 | cpp | zero-move-nim.cpp | #include <bits/stdc++.h>
typedef long long int64;
typedef unsigned long long uint64;
using namespace std;
int main(int argc, char* argv[]) {
ios::sync_with_stdio(false);
int g;
cin >> g;
while (g--) {
int n; cin >> n;
int p, xr = 0;
for (int i = 0; i < n; ++i) {
cin >> p;
if (p & ... |
b6505f0c4002cca0262bd7e5e919bb72df12a2c8 | 0bb99bb47f5f4d009d8edfc41954488cd0ccc1e5 | /Modeling and Simulation/RandomNumbersAndDistibutions/RandomNumbersAndDistibutions/Generator.cpp | 913ce3aaef8f2bb6abff744f70fcbc8104062ee0 | [] | no_license | AlinCioabla/University-Projects | 28645c0f14ffd2f8cc2f00198d425e17820dd93e | 54ca10a20f23464c77951a8d087ee1d7f7d585f2 | refs/heads/master | 2021-10-11T01:31:10.409500 | 2019-01-20T21:07:24 | 2019-01-20T21:07:24 | 112,228,544 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 407 | cpp | Generator.cpp | #include "stdafx.h"
#include "Generator.h"
unsigned int Generator::NumberOfDigits(const unsigned long long int aNumber)
{
if (!aNumber)
return 1;
auto temp = aNumber;
auto numberOfDigits = 0;
while (temp)
{
temp /= 10;
numberOfDigits++;
}
return numberOfDigits;
}
float Generator::SubUnita... |
8b21c0b0949170479330ab3c5133ece68ffc679e | d61e718eb470faef3f422280f825127729cac901 | /Template/Template of Other Teams/lbn/cpp/4.4.2.3.cpp | 8f5ac7593824a00fb0df1127c46d3e75790cf198 | [] | no_license | sjtu-imperishable-night/code-library | 737e871ad5287fd52a596902b32f07ce56563a78 | 0818f507c76b534f9144ed9b64bc138c37b30c5e | refs/heads/master | 2020-06-24T15:43:25.051083 | 2020-04-27T11:43:26 | 2020-04-27T11:43:26 | 199,004,542 | 1 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 199 | cpp | 4.4.2.3.cpp | void dp(int l,int r,int _l,int _r){
if(l>r)return;
int md=l+r>>1,u=_l;
for(int i=_l;i<=min(_r,md);i++)
if(g[i-1]+get(i,md)<f[md])f[md]=g[i-1]+get(i,md),u=i;
dp(l,md-1,_l,u);dp(md+1,r,u,_r);
}
|
c3c68da218bfb55ca53b3b226842c4b034e2113b | c66535a970695d664cf37de7161dc4706fad23b6 | /src/LSST/M1M3/SS/FPGA/SimulatedFPGA.cpp | 721dc959229b4ed60765ef75ddf60631c26f5e40 | [
"MIT"
] | permissive | lsst-ts/ts_m1m3support | 842d031d2d351b3875075404ad9d7a6253ab4350 | ec5993611d2606fc692515671a56e4f842e3f79e | refs/heads/main | 2023-08-31T03:47:18.574773 | 2023-07-26T18:57:49 | 2023-07-26T18:57:49 | 146,036,332 | 0 | 3 | null | 2023-09-10T20:52:24 | 2018-08-24T20:22:00 | C++ | UTF-8 | C++ | false | false | 52,523 | cpp | SimulatedFPGA.cpp | /*
* This file is part of LSST M1M3 support system package.
*
* Developed for the Vera C. Rubin Telescope and Site System.
* This product includes software developed by the LSST Project
* (https://www.lsst.org).
* See the COPYRIGHT file at the top-level directory of this distribution
* for details of code owners... |
acb4236bb3d61737ea32aee9decf8f54f1553d58 | c3588ba0ee01bda41311c58f92ee21468e0b2132 | /1-19.cpp | eac838d047f52035dab034c27fc6915337bc892f | [] | no_license | Vito-bo/- | a51142bbd595861f2e1a3bf7b0d3b1af12bc36cc | bd3487fef1ec4b55bea02f8a4f127e7a8dad1387 | refs/heads/master | 2023-02-18T06:09:23.639963 | 2021-01-19T13:05:40 | 2021-01-19T13:05:40 | 223,978,053 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 1,007 | cpp | 1-19.cpp |
// 1-19 ACwing ÕÒÓ²±Ò
// ·½·¨1:¹þÏ£±í
#include <iostream>
#include <string>
#include <algorithm>
#include <unordered_set>
using namespace std;
const int INF = 10000;
int main()
{
int n, m;
scanf("%d%d", &n, &m);
unordered_set<int> hash;
int v1 = INF, v2;
for (int i = 0; i < n; i++)
{
int a, b;
scanf("%... |
9f6a5e8ab43930b8deb080bf4dec722bffb43d0b | bc84c328d1cc2a318160d42ed1faa1961bdf1e87 | /C++/stream/stringstream4.cpp | 2ece27cede26c37febdf5eb652b395407b89573d | [
"MIT"
] | permissive | liangjisheng/C-Cpp | 25d07580b5dd1ff364087c3cf8e13cebdc9280a5 | 8b33ba1f43580a7bdded8bb4ce3d92983ccedb81 | refs/heads/master | 2021-07-10T14:40:20.006051 | 2019-01-26T09:24:04 | 2019-01-26T09:24:04 | 136,299,205 | 7 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,096 | cpp | stringstream4.cpp | #include <iostream>
#include <string>
#include <sstream>
using namespace std;
int main()
{
istringstream iss;
string istr1,istr2,istr3;
int a;
iss.str("I love Ziyu");
iss>>istr1>>istr2>>istr3;
cout<<istr1<<" "<<istr2<<" "<<istr3<<endl;
iss.clear();
iss.str("1534");
iss>>a;
cout<<a<<endl;
//用C测试转换
print... |
a8df5cce433f5fc20841708a89f50bf4f62457ec | fef2ab261b0e3cddf1a4c2562347e694c8adaeb8 | /Algo/Karatsuba/KaratsubaGenerator.cpp | b9d398662578573540a805fe50a8402f0cb53366 | [] | no_license | praivesi/Algo | 9cc10ab938dd01eed47422cef9b30ed49756a3f2 | c7230f008835d76549e273a70d042de8d61ba45c | refs/heads/master | 2021-06-16T17:42:06.033563 | 2021-02-21T09:15:31 | 2021-02-21T09:15:31 | 166,097,454 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 507 | cpp | KaratsubaGenerator.cpp | #include <iostream>
#include <ctime>
using namespace std;
const int GEN_CNT = 6;
int main()
{
srand((unsigned int)time(0));
cout << GEN_CNT / 2 << endl;
for (int i = 0; i < GEN_CNT; i++)
{
int numberSize = 0;
if (i / 2 == 0) numberSize = 1000;
else if (i / 2 == 1) numberSize = 10000;
else if (i / 2 == ... |
56abc6dc77a3c873201b8e736dfddacfa302a414 | b0e233b9b173a866cf78f6e74a9b95c1e64eeb51 | /Code/Server/Logic/LuaHelps/LuaDynamicCasts.cpp | 12a08608bca79bf2849b6bdc557edb0dfd12420f | [] | no_license | xiaol-luo/Utopia | 47a6e987ebd6aaebb7759b736a4590859a6c4eb3 | 798741067114467680c6bcf9d22301f12f127f02 | refs/heads/master | 2021-07-10T13:21:24.547069 | 2019-01-14T14:03:31 | 2019-01-14T14:03:31 | 100,261,666 | 6 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 316 | cpp | LuaDynamicCasts.cpp | #include "LuaDynamicCasts.h"
#include "GameLogic/Scene/Effects/EffectConfigBase.h"
#include "GameLogic/Scene/Effects/EffectScript/EffectScriptConfig.h"
GameLogic::EffectScriptConfig * LuaDyCast::ToEffectScriptConfig(GameLogic::EffectConfigBase * ptr)
{
return dynamic_cast<GameLogic::EffectScriptConfig *>(ptr);
}
|
c7cc069df9b1afce153556117ee0f29b19928c5a | 2938b2f3c80d77a7ba0b1617ef0de8b05df7b69d | /Test/app/src/main/jni/interface/include/jnimodulerenderer.h | 6d093ef2152fe566e95b75283fc3e2a54e9f4d66 | [] | no_license | showeryoung/MP4Handler | 2a41d75da68a9f61a124a9583b4e0c00bfcba3db | b7b11bf3e9c1d218d457e34cde3141ba9261e4fa | refs/heads/master | 2021-06-25T10:04:30.481182 | 2017-08-14T07:29:29 | 2017-08-14T07:29:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,165 | h | jnimodulerenderer.h | /*******************************************************************************
* Module: interface
* File:
* Functionality: define jni renderer module.
* Related:
* System: android
* Language: C++
* Author: huangxuefeng
* Version: V1.0 Copyright(C) 2017 paomiantv... |
7f4a8c1c40503bd664f4b07a0f4c5d37bb7cf1be | 529d1e792189d6c7f907ae64eca291fb28f63fe4 | /(3-1)컴퓨터 그래픽스 실습1(C++, DirectX11)/190312 Graphics/ConsoleApplication1/Rectangle.h | 30d05d5804703ad8d2085c18a5943c4b8242b27f | [] | no_license | keyjjang5/UniversityHomeWork | a65e6c538aba7a92633b70ea4a2534f61c3de594 | 7069fe93859cd41e78e502e5952176c98930a95b | refs/heads/master | 2022-02-24T05:01:49.774852 | 2019-10-28T13:02:09 | 2019-10-28T13:02:09 | 188,168,680 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 178 | h | Rectangle.h | #pragma once
#include "Shape.h"
class Rectangle : public Shape
{
float width, height;
public:
Rectangle(float x, float y, float width, float height);
void draw() const;
}; |
0ff0ab90038df71e95f3569209fe51862e4bf6e5 | 9254fc558d175f76558be210c65a2e819753cb9e | /src/eval/call.hxx | 91bbe030b92ef4024b3dd0f015394181bb957770 | [] | permissive | urbiforge/urbi | ee36996e87c25dd0a75199d580ac13442ba3032c | d6c6091a28e79b935b4f6573225486238e3c7d47 | refs/heads/master | 2023-08-22T04:15:36.358115 | 2023-08-10T13:24:17 | 2023-08-10T13:24:17 | 56,369,573 | 18 | 5 | BSD-3-Clause | 2023-08-10T12:43:43 | 2016-04-16T06:38:50 | C++ | UTF-8 | C++ | false | false | 26,876 | hxx | call.hxx | /*
* Copyright (C) 2011-2012, Gostai S.A.S.
*
* This software is provided "as is" without warranty of any kind,
* either expressed or implied, including but not limited to the
* implied warranties of fitness for a particular purpose.
*
* See the LICENSE file for more information.
*/
/**
** \file eval/call.hx... |
93d4724ee3ee13536ce8d3fde40d3da46f2ade23 | a168a9af6ab99cdee546ccfa7c7a0cc2ad16b20e | /Codeup/PascalStar2/PascalStar2/Source.cpp | b06568c0ed1cfa97b983ff647e159cad2b14a91c | [] | no_license | BakJungHwan/Exer_algorithm | e6a0d2281d5901893566bc18cb5cf8c06b4f703b | aca66fc9b1e16677cd5772e6c8b76cf32d2a5664 | refs/heads/master | 2021-09-10T09:11:47.662041 | 2018-01-31T02:06:44 | 2018-01-31T02:06:44 | 114,535,444 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 753 | cpp | Source.cpp | #include <stdio.h>
#include <stdlib.h>
typedef long long int LLD;
int main()
{
int r;
int c;
int i;
int j;
scanf("%d", &r);
scanf("%d", &c);
LLD **arr;
arr = (LLD**)calloc(r, sizeof(LLD*));
for (i = 0; i < r; i++)
{
arr[i] = (LLD*)calloc(c, sizeof(LLD));
}
for (i = 0; i < r; i++)
{
arr[i][0] =... |
4e8c9b7abfcef137215109e33dc2bd3b5ffcb4ca | 3900a8feacf56a2db64c631f822c44191a714dc4 | /Examples/SDKLibrary/interface/common/portable/data_types/events/content_filter/icontent_filter_t.h | 63e968fdf190162c42175a3801195b7982301a80 | [
"MIT"
] | permissive | JayeshThamke/robot-examples | fc45f61d638001f2358a1b08c7543aa4f3b10664 | afc6b8b10809988b03663d703203625927e66e8f | refs/heads/master | 2020-03-08T17:18:09.409824 | 2018-03-29T20:41:10 | 2018-03-29T20:41:10 | 128,265,254 | 1 | 0 | null | 2018-04-05T21:16:55 | 2018-04-05T21:16:55 | null | UTF-8 | C++ | false | false | 3,061 | h | icontent_filter_t.h | /* -----------------------------------------------------------------------------------------------------------------
COPYRIGHT (c) 2009 - 2017
HONEYWELL INC.,
ALL RIGHTS RESERVED
This software is a copyrighted work and/or information protected as ... |
faa3d74c02661dc0151082159c930d313e2a8460 | 8d4a8691a1a095b0b271b27fde97d886c4a24c8f | /NPCTank.cpp | 436253cf19b5eb4becd445c70790eaf9e2521eb1 | [] | no_license | felixwangchao/Tankwar | 4887e303bd40407de234323157c0e900171f0b57 | ba3c3820fb8f654a3965a1364246bcd678fb1830 | refs/heads/master | 2021-04-19T00:58:08.791073 | 2017-06-17T01:53:50 | 2017-06-17T01:53:50 | 94,594,038 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 6,269 | cpp | NPCTank.cpp | #include "Astar.h"
#include "Tank.h"
#include "NPCTank.h"
#include <queue>
#include <stack>
#include <map>
#include <math.h>
// 添加n个基础型坦克,k个增强型坦克,j个高级坦克,m个boss坦克
void NPCTank::AddNPC(int n, int k, int j, int m){
for (int i = 0; i < n+k+j+m; i++){
int ID = tank.size() + i + 3;
if (i<n)
tank.push_back(TankInfo(... |
1172b45cdb133eadd4f47aefdfd189c462d43404 | 9ebf0caa0d2b93a35ae5d513ab2cf50a16035feb | /src/InteractiveOpenGLDemo/Shader.cpp | c20d464fe45fb20bcf723b2028f123f2585959de | [] | no_license | xchuki00/Bakalarska_prace | 54248ad7d5eed1f56c16320bf81594fc4a7311a8 | b5993760989fda9e07e239bd48e311b43a5d69ad | refs/heads/master | 2021-01-12T07:24:24.100017 | 2017-05-24T17:24:35 | 2017-05-24T17:24:35 | 76,950,864 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,512 | cpp | Shader.cpp | #include "Shader.h"
GLuint LoadShaders(std::string vertex, std::string fragment)
{
GLuint vShaderID = glCreateShader(GL_VERTEX_SHADER);
GLuint fShaderID = glCreateShader(GL_FRAGMENT_SHADER);
std::string vCode;
std::string fCode;
std::ifstream vstream(vertex);
std::ifstream fstream(fragment);
if(vstream.is_open... |
c6699c1f5a9d831db30958be48a7f0f16e13c2a9 | 337e351f12c583c6c86e6a8e7d6edeb0e0a43107 | /C++/RecordingAudioSolution/winrt/impl/Windows.Phone.System.2.h | 4977804837f5a8f198e260ef9e473162816cc5cf | [] | no_license | dngoins/HololensDXTutorials | de7d3ba8f25f633557b98f51828ac73d671266a4 | 532907a7be6005e9f3483e26727324b3392c02f3 | refs/heads/master | 2020-04-02T06:11:29.362302 | 2018-10-27T21:16:03 | 2018-10-27T21:16:03 | 64,985,100 | 30 | 5 | null | 2016-10-01T00:17:51 | 2016-08-05T03:16:10 | C++ | UTF-8 | C++ | false | false | 437 | h | Windows.Phone.System.2.h | // C++/WinRT v1.0.171013.2
// Copyright (c) 2017 Microsoft Corporation. All rights reserved.
#pragma once
#include "winrt/impl/Windows.Phone.System.1.h"
WINRT_EXPORT namespace winrt::Windows::Phone::System {
}
namespace winrt::impl {
}
WINRT_EXPORT namespace winrt::Windows::Phone::System {
struct SystemProtecti... |
fa54401363090781e34fd13730e4e6a23cc8157c | 5a7efa167f0796ee42ea6a8547f5bb9474d8780a | /tetris/tetris.h | a7b37616c7b89ae660eed426bf21fca210b69d2f | [] | no_license | shirry0129/3Jtetris | de9c1e5a85581ca525ff5e821f90ae8a42b3f9cf | 6f257caa853742bfff80e4023a2c974b2eb262ac | refs/heads/master | 2020-04-05T13:05:41.800235 | 2017-07-01T06:13:03 | 2017-07-01T06:13:03 | 95,082,819 | 0 | 1 | null | null | null | null | SHIFT_JIS | C++ | false | false | 358 | h | tetris.h | #pragma once
#include"cell.h"
const wchar tshape[7] = { L'I',L'O',L'S',L'Z',L'J',L'L',L'T' };
class Tetris {
private:
Cell field[4][4];
Color tetris_color;
public:
Tetris(wchar shape, Point origin); //コンストラクタ
void rotation(); //回転
void lmove(); //左移動
void rmove(); //右移動
void fall(); //落下
void draw(); //描画
}; |
b93605e88c18830dfed7eae69435dd394aef26eb | d20cf7de868dfb2c53578a70d0dda21306167d72 | /data/raw/train/student_64/2401/2399/Position.h | ba2988ca94653b6f436c08bba97565b1945bdb2a | [] | no_license | bulacu-magda/Alemia | 905a84ca79157fb657eb424e337b0303fd3323bd | 0fd019c4517064d300399feb94dbcb0f467e8d48 | refs/heads/main | 2023-03-01T17:41:08.788500 | 2021-02-05T08:00:35 | 2021-02-05T08:00:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 260 | h | Position.h | #pragma once
class Position
{
int _x, _y;
public:
Position() {
}
~Position() {
}
Position(int x, int y) {
_x = x;
_y = y;
}
void set_x(int x) { _x = x; }
void set_y(int y) { _y = y; }
int get_x() { return _x; }
int get_y() { return _y; }
};
|
e54fd492056e12a723e4e3e59781280cc78be1ff | 8c873b007feb8301285b7d807be6f8cb44b5cd94 | /Teamboard Master Folder/Teamboard/ContourDetectionSample.h | ee44742b3219f392a18046809afa52273cfded25 | [] | no_license | lemayjoe/TeamboardFreshstart | 6e9a16f9f3fb5b2c3d0f16f907afef66dcf69905 | bebd6ad52ec068480ee51f7e196acc0bd29bbab9 | refs/heads/master | 2021-03-12T20:04:24.483741 | 2013-06-12T13:17:11 | 2013-06-12T13:17:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 682 | h | ContourDetectionSample.h | //
// ContourDetectionSample.h
// Teamboard
//
// Copyright 2013, Joe Lemay, All Rights Reserved. Confidential \n6/23/12.
//
#ifndef Teamboard_ContourDetectionSample_h
#define Teamboard_ContourDetectionSample_h
#include "SampleBase.h"
class ContourDetectionSample : public SampleBase
{
//! Gets a sample ... |
b8dea75ed367dc52ad509e037dad29a11b3ca1a8 | 1e0e9d4583b9556cacb8b62d1c47c6a7feda480f | /ArchivosBinarios/main.cpp | cf66b4230eb45e5b4fa70efc50abfda088b0e901 | [] | no_license | UnitecProgra3/EjemplosEnClase | da1b8e77d7734489765261266acca6a0a39eb373 | efd3c2cee3df0d345df4ad80c1e5c67bdd791c00 | refs/heads/master | 2021-01-22T07:18:12.071377 | 2015-06-09T22:40:03 | 2015-06-09T22:40:03 | 35,568,397 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 477 | cpp | main.cpp | #include <iostream>
#include <string.h>
#include <fstream>
using namespace std;
int main()
{
ofstream out("archivo");
int a = 10;
int b = 20;
int c = 30;
out.write((char*)&a,4);
out.write((char*)&b,4);
out.write((char*)&c,4);
out.close();
cout<<"-----"<<endl;
ifstream in... |
c2eaf09726e4ad01027afa36c15fd1f518333ad6 | 87b6c72a6ad994a5f5987e6fa295ed3ca65c6578 | /_MODEL_FOLDERS_/_modelNameHere/pianoKey_C_Sharp/pianoKey_C_Sharp_Keyboard.cpp | dfb3762c734cee86069dd63458fceeba32c7e4c4 | [] | no_license | marcclintdion/piano | 2b27eabd3cdcf60e0f40afeac83edeb7c7012a4f | daece661c3790c44fcd81c3257ae8ea11dc2f27f | refs/heads/master | 2020-12-24T18:04:24.213413 | 2015-09-17T11:29:37 | 2015-09-17T11:29:37 | 42,652,379 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,889 | cpp | pianoKey_C_Sharp_Keyboard.cpp | //=======================================================================================
/*if (keys['J'])
{ ... |
23969d2080bb3a2030bca178c28fe5c13ac5bb3e | 627c6ca5d14153b5dfbbc9e3e690acdbeeadd63d | /PROYECTO FINAL PROGRA 1/Venta_Detalle.h | 2b054f34f2134f38a3152ee7bc448d40dc1aba15 | [] | no_license | Marlon2002/PROYECTO-FINAL-PROGRA | 9ceaa936107a677a1b0334fae8411d81bc162c8a | e3f8c23782f7374883c3dc64c2cbfe43b7eea806 | refs/heads/main | 2023-05-02T21:55:25.847105 | 2021-05-19T22:37:30 | 2021-05-19T22:37:30 | 369,017,837 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,330 | h | Venta_Detalle.h | #pragma once
#include <iostream>
#include "ConexionBD.h"
#include <mysql.h>
#include <string>
using namespace std;
class Venta_Detalle
{
private:
int id_venta, id_producto;
string cantidad;
float precio_unitario;
public:
Venta_Detalle() {
}
Venta_Detalle(int idv,int idp,string cant,float pu){
id_venta = idv;
... |
ddd9ecaeab7876d0ec46b9de20ee849fb5399ed6 | d99d2c0145d7f0609339a868b66a5e9a92e42b61 | /card.h | ccfba6ac723304dfc70f2be08eacc4cc444e8b41 | [] | no_license | AustenBrooks/CatanGame | be0e3c53a24c99e609b778863a7b6e616b2bca2a | a275bdc2f55c700a54720c4b65e3325b2937f3ea | refs/heads/master | 2020-06-01T22:02:37.105194 | 2019-06-08T23:08:26 | 2019-06-08T23:08:26 | 190,943,401 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 514 | h | card.h | #ifndef CARDS_H
#define CARDS_H
#include "players.h"
#include <vector>
#include <ctime>
#include <iostream>
#include <cstdlib>
using namespace std;
class DevelopmentCards{
public:
void action(int, Players *playerName);
void drawCard(Players *playerName);
int deckArray[20] = {1, 2, 3, ... |
6f3acc35531e89087764596a0bce9f365495bba3 | 703d887e869b7d510eec309d7bfb0acc2da59c10 | /damBreakmodified/0.15/alphaPhi0.water | 6f319dd10d29fb4f3d0c859c4570b8b9f46a8ca9 | [] | no_license | luiscascelli/OpenFoam | a063df7af02b89abdc36268aaa21f5b012963b74 | 9ff3218c8ba584fe15017c766aed9afccf5ddd00 | refs/heads/master | 2023-08-01T00:12:25.059964 | 2021-09-14T19:37:54 | 2021-09-14T19:37:54 | 406,498,391 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 35,123 | water | alphaPhi0.water | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 8
\\/ M anipulation |
\*-------... |
ffc972404ab33769e47e486070f873afd8b97990 | e2a207e280aaed5f9cba4ebb06b39fe2e7b279d8 | /client/dbus/dbusstatementiteratorinterface.h | 2c6c13fb89caa28afe8d3aedbefa3cdd6f6196d2 | [] | no_license | aldebaran/soprano | c9fd05203913ce42966dc913ff11f0bf23fffcff | eff3ebf9a2a9b441ff09ef9bc8c374d5422bff33 | refs/heads/master | 2023-09-04T04:38:38.269293 | 2018-08-02T16:49:08 | 2018-08-03T07:02:35 | 115,737,101 | 0 | 1 | null | 2017-12-29T16:21:53 | 2017-12-29T16:21:53 | null | UTF-8 | C++ | false | false | 2,297 | h | dbusstatementiteratorinterface.h | /*
* This file is part of Soprano Project.
*
* Copyright (C) 2007-2008 Sebastian Trueg <trueg@kde.org>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of th... |
d159c919f765a3de50129e8c3ed399614915ef25 | 3e1681991b304fc007b75bb7d870f96a65e1ac28 | /C++/test542.cpp | 8e8ec50c091128b6229c3f7c272205a3718a3b9a | [] | no_license | naveenls/Competitive-Coding | 8306d7e04f27ad91cd6956cceea2bae83c8ad33a | f59189a5d9e7ffa505a4bb8d3560d66b35be5aca | refs/heads/main | 2023-03-21T14:56:06.206429 | 2021-03-17T18:34:16 | 2021-03-17T18:34:16 | 340,908,452 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,995 | cpp | test542.cpp | #include<bits/stdc++.h>
using namespace std;
vector<long long> count_vals(vector<int> slopes)
{
if(slopes.size()==0)
{
return vector<long long>(1,0);
}
map<int,long long> mp;
for(auto m:slopes)
{
mp[m]++;
}
vector<long long> count;
for(auto ele:mp)
{
... |
31dc96543280a137b9206f17b91991b4ce5dcc74 | 91d9deec9cefe107d4df1ef9d1df755ad1509162 | /src/exceptions.h | 833a6e7ddf9053c67bdbccfe5df14d3114db43c1 | [] | no_license | streetninja22/shooter | aaaec3f72958314178c65824a7a7ca1d96f0181b | 0d6cf81987be46dd86f264ad27669140e9903f51 | refs/heads/master | 2020-03-12T13:06:36.873270 | 2018-10-05T04:25:57 | 2018-10-05T04:25:57 | 130,634,084 | 0 | 0 | null | 2018-05-29T04:12:27 | 2018-04-23T03:17:48 | C++ | UTF-8 | C++ | false | false | 331 | h | exceptions.h | #pragma once
#include <framework/Exception.h>
class GameException : public Exception
{
public:
GameException(int code, std::string value) : Exception(code, value)
{
}
};
class ObjectNotFoundException : public GameException
{
public:
ObjectNotFoundException() : GameException(5, "Object not found in space")
... |
0b101e8266fef0c4de67d0cb9b7946b389cc034e | 7b9f37b84695a85241a6a67ad156b1ef941f34ab | /Quest01/Quest01/Engine.h | fc0501543d518d1032fccd39881701801cf00eb9 | [] | no_license | HyunOSung/PracticeProject | 4cda8e12523b065466af962609a91fd0c93a3446 | ed81fa6d450fe5262fb39e2fbef71f846d1d5496 | refs/heads/master | 2020-06-09T16:40:26.124593 | 2019-07-23T13:15:02 | 2019-07-23T13:15:02 | 193,469,782 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 206 | h | Engine.h | #pragma once
class Engine
{
public:
Engine();
~Engine();
void Init();
void Start();
void Tick();
void Input();
void Render();
void Term();
bool bIsRunning = true; //엔진 작동 체크
};
|
31702f06074739f68f9f6dafc63f7b5b58ca7a5d | 3983df15a20c6fc8080999b2c5c23ec35b557922 | /card_karuba_lib/util.h | 9ec4bcf82de2f8ed1ec2d02f283b5a6d6643734b | [
"MIT"
] | permissive | MariusUrbonas/-WIP-karuba-card-game-learning-enviroment | 8d361c1418d8c9048e3f07a002c847ee865ab1ca | eee638229f045cd8563209c81aee6f2f319292cf | refs/heads/master | 2020-05-20T06:54:22.109222 | 2019-05-19T16:23:44 | 2019-05-19T16:23:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 788 | h | util.h | //
// Created by Marius Urbonas on 2019-05-07.
//
#ifndef CARD_KARUBA_ENVIRONMENT_UTIL_H
#define CARD_KARUBA_ENVIRONMENT_UTIL_H
#include <string>
namespace card_karuba_env {
constexpr int kMaxNumRanks = 16;
// Returns a character representation of an integer rank index.
std::string RankIndexToString(in... |
21db3839d32536f91fc52b3b60e0a8cc7863e3b5 | e8282e3ae8aafa07b7f7261c639f206c4e97e0fc | /03 - Online Judges/jollybee/cekk.cpp | 315512b1890f8b0f7655cca9d0e9b8b232bfe6af | [] | no_license | irfansofyana/cp-codes | 7cad844da49b901ccf678b75c31ed41e2fa9d645 | 9fa723129088f0e4832ecb7e012fe586b6d59e41 | refs/heads/master | 2023-04-04T00:48:36.334817 | 2021-04-12T03:07:06 | 2021-04-12T03:07:06 | 218,084,148 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 264 | cpp | cekk.cpp | #include <bits/stdc++.h>
using namespace std;
int i,j,ans;
vector<int> A,B;
int main(){
for (i = 1 ; i<= 100; i++) {
for (j = 1 ; j<= 100 ; j++) {
for (int k = 1 ; k<=100; k++) {
if (i*j*k==72) ans++;
}
}
}
cout << ans << '\n';
} |
cfc1e9ad423eab0aa79329a0c09f6354d8b47e49 | 6c49fad41b5109d4dabc4db0007e1ae931ee4898 | /2018 Summer/Assignments/Assignment04/SahranRiaz2975/Rect.h | 2f1b2aa9601d3230344149c290c1ef65b37daad4 | [] | no_license | ZainAU/oop | 964fbf6701ccac77fe14d04d83fb7f5d11b1cb15 | a895b7ce10ed4ec09a2e178005bb82da7b58e32e | refs/heads/master | 2022-01-06T21:03:26.842634 | 2018-09-26T05:35:13 | 2018-09-26T05:35:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 636 | h | Rect.h | #pragma once
#include "SDL.h"
#include "Point.h"
/** Rect class **/
//Rect class prototype
class Rect
{
private:
SDL_Rect fillRect; //Object of type SDL_Rect is created, fillRect is a rectangle
Point topLeft; //Variable of type Point is created, has an x and y coordinate pair initially assigned wit... |
4b53adf683a9f3407744c84510c48621c5480377 | 9d9ad238d591e8e67c662f36a4546ac36ac90269 | /test/line_adaptation_tests/gitrepo/2 | 39c5e1dab20a73dc962e9f10e60bcb8ece6f90aa | [
"BSD-3-Clause"
] | permissive | ispras/qdt | eb1fa45e27698af329f44b89604f1c2d0bc203b0 | 93e03c2b3f880f5c7c9f90e1ba5593dbf602bdb9 | refs/heads/master | 2023-03-08T20:35:44.206463 | 2022-02-09T03:47:18 | 2022-02-09T03:47:18 | 113,609,715 | 38 | 9 | NOASSERTION | 2022-02-09T02:36:52 | 2017-12-08T19:25:28 | Python | UTF-8 | C++ | false | false | 7 | 2 | a
b
d
| |
7b72b00f79007e7cb0f201f0b32d49861799572b | 0f6b28bf6dfdc14808b5849455abc41ad7a79466 | /AI/8-queen/firstchoice/firstchoice.cpp | 8e4d8b1abd75620034ff2c3249396dda86adf942 | [] | no_license | warsonchou/AI | c18e73bff3de953e56b6eded022ae9f096d4047d | 42fca33773e527911e4db3109722676bb809d8c1 | refs/heads/master | 2021-05-31T04:14:43.491229 | 2016-02-25T03:31:12 | 2016-02-25T03:31:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,832 | cpp | firstchoice.cpp | // first choice version
#include "iostream"
#include "algorithm"
#include "stdlib.h"
#include "stdio.h"
#include "time.h"
using namespace std;
const int range = 100;
struct queen{
int x; //position
int y;
};
bool isReached(queen q[]) {
int i, j;
bool isAllSafe = true;
for (i = 0; i < 8; i++) {
for (j = i + 1;... |
2737ce463a6a50899a4637c09b55d1e3371596f4 | 94a88c9cb36803c36eeff0fad57689e5fe76cab1 | /C++/project/BaiduProduct/baidu_deploy.cpp | f2ec18e8a2256f920d80605bbbbd15a5b380f705 | [] | no_license | YFCbingyi/test_own | c5e38842765831dcc6c45e3181f370083877fc7f | 8b5461deceeb0b64ef8b571796a017ee532be429 | refs/heads/master | 2021-07-19T19:15:56.742920 | 2020-10-29T02:32:49 | 2020-10-29T02:32:49 | 225,312,122 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,731 | cpp | baidu_deploy.cpp | #include "baidu_deploy.h"
#include "debug_log.h"
#include <exception>
std::string BaiduDeploy::organiza_msg_product(const int cmdId, int botid, std::string ®ion, std::string &module, int taskid)
{
Json::Value value;
switch (cmdId)
{
case TASK_ADD:
value["botId"] = botid;
value["regio... |
10e9efe80777ce496bfa3e8977169a511ee80e6c | c5c559574b06453c91fec4d173e2f3f09b0b7964 | /CodeForces/Contests/Div3/642/1.cpp | f38d814dfe7f20952d9d0d5639cad876cec92eaa | [] | no_license | iamishansharma/Competitive-Programming | bdbd02f4a02f7b83472348bb29cc2b6c5d3d51c7 | 320ab013b3199b81247b3136eb85b1e42d4655e6 | refs/heads/master | 2022-12-16T19:04:42.764489 | 2020-09-20T15:46:12 | 2020-09-20T15:46:12 | 270,191,905 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,012 | cpp | 1.cpp | #include <bits/stdc++.h>
#define fastIO ios_base::sync_with_stdio(false);cin.tie(NULL);cout.tie(NULL)
typedef long long int ll;
using namespace std;
void solve()
{
int n=0, k=0;
cin>>n>>k;
vector<int> a(n);
vector<int> b(n);
for(int i=0; i<n; i++)
cin>>a[i];
for(int i=0; i<n; i++)
cin>>b[i];
sort(a.begi... |
92daddc7de31e564d3628790e5794ba69573f31b | 948ff8b7c994b0038d6d7d7cbf85c600a184ec74 | /petrozavodsk-training-camp/2014-winter/moscow-su-trinity-contest/F.cc | e5dabd01042230d95fdc5ef9b2afc30a255dd16f | [] | no_license | RiturajKulshresth/competitive-programming | 9b420374e5679ce9d69bcf495d8ad406e87747de | 147cb2be02917d12fdbe488c084567c9d0a7d76c | refs/heads/master | 2023-02-10T17:18:10.903381 | 2021-01-10T03:50:52 | 2021-01-10T03:50:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,461 | cc | F.cc | #include <cstdio>
#include <vector>
#include <algorithm>
using int64 = long long;
using pii = std::pair<int64, int64>;
const int N = 2000 + 10;
int64 dp[N][N], s[N];
std::vector<pii> hull[N];
std::vector<double> xs[N];
pii buffer[N];
double inter(const pii &a, const pii &b) {
return double(b.second - a.second) / ... |
49d8a4a493106889cb1e0f346612b3325b7b82db | a181d598dbbba4399bfd91ce15d1a84b71b7612b | /ch2/squareRoot.cpp | 9f0569d8fb880f5c7c0db294a5cd7c7c53eecadc | [] | no_license | harsh-debug/UEE2304-Data-Structure | d289e5904857c5fedbd5fcf842b71eea3bf1e7a4 | a6d5a0604390df332f705a664e34d7733add6f86 | refs/heads/master | 2021-05-31T02:50:53.396990 | 2016-01-06T07:11:45 | 2016-01-06T07:11:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 521 | cpp | squareRoot.cpp | #include <stdio.h>
#include <stdlib.h>
#include <math.h>
double squareRoot(double num, double ans, double tol);
int main(){
int ans = 1;
printf("square root of 125: %f\n", squareRoot(125, ans,0.01));
printf("square root of 763: %f\n", squareRoot(763, ans,0.01));
printf("square root of 997: %f\n", squareRoot(997, ... |
ef2d0aa03ec5b75422297106c90a7b55d226a488 | 953257aa83945e6997bf028d4611b54f7ae7e665 | /serial/Atom.cpp | 3e40a3419aa7ba63cf266148c336b4c30484ae87 | [] | no_license | morpheby/ntc-13.04.5-ui | a77d7d3f5aabdcd47393e748d146e45e0194f27c | f92d623edf7811cb16a0a381eb24c0bd71b3d008 | refs/heads/master | 2021-01-22T01:04:50.563195 | 2015-08-19T13:10:54 | 2015-08-19T13:10:54 | 37,424,843 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 157 | cpp | Atom.cpp | /*
* Atom.cpp
*
* Created on: 24.08.2013
* Author: morpheby
*/
#include "platform.h"
#include "Atom.h"
namespace util {
} /* namespace util */
|
62492148c02eedff0b45ec56b8d270cdb8701822 | b1ff43b46b9c9fd23a1c2842f7e292f5146db206 | /console/solutions/reader.cpp | d2915af395d8ce2a1655b74d2a925ed09d9128a5 | [] | no_license | AsMaNick/CommivoyagerProblem | 291ce23c15a34ef769a2829a77c110fac1cd1a4d | f5d13976140b1d2b7313f684b4975a5793f71ef4 | refs/heads/master | 2020-03-22T22:31:31.594052 | 2018-07-19T15:53:11 | 2018-07-19T15:53:11 | 140,756,099 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 759 | cpp | reader.cpp | #ifndef READER
#define READER
#include <bits/stdc++.h>
using namespace std;
struct point {
int x, y;
point(): x(0), y(0) {
}
point(int x, int y): x(x), y(y) {
}
point operator - (const point &p) const {
return point(x - p.x, y - p.y);
}
bool operator < (const point &p) con... |
01392e22b761be6e0aa59a1f9351b323844483fc | eba6f81e064942b165e905b3b322f57076e6a449 | /src/view/gui/fFeaturePanel.h | aa9b625db188f40cd5c0a4d19560030096006114 | [] | no_license | lxmwust/CaPTk | 98fd5a0464036d66af713af40153c752e1839854 | 939af09b35a8c384ea6a11597cf5a615cfb164f7 | refs/heads/master | 2020-04-19T05:13:23.278438 | 2019-01-26T17:45:27 | 2019-01-26T17:45:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,329 | h | fFeaturePanel.h | ///////////////////////////////////////////////////////////////////////////////////////
// fFeaturePanel.h
//
// Copyright (c) 2018. All rights reserved.
// Section of Biomedical Image Analysis
// Center for Biomedical Image Computing and Analytics
// Department of Radiology
// Perelman School of Medicine
// University... |
bf3df770a5c7c1c4f29e634228ff68e41d58ed5b | fa95a74b601e9e33449c54863100d4903ba26408 | /Stealth/src/Game.h | ff4fd3d4f7fe4e61ffffb352d2b1ee329d870c87 | [
"Apache-2.0"
] | permissive | ajsaucier/StealthGame | 9e5b82f95a1fa9ec400045f7f5c01efbfdbf6d7f | ccc68d2e96bb1769bcceefdff7cb0f551ad143de | refs/heads/master | 2020-08-07T15:28:09.011388 | 2019-10-07T18:36:59 | 2019-10-07T18:36:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,494 | h | Game.h | #pragma once
//
// Copyright (C) 2019 Pharap (@Pharap)
//
// 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 b... |
0b8304d5d1e1655ad10c39f8d9aeaab12150bdfe | 214dbcc732e0f6a49336164c793bd4af4754a6f7 | /Algorithmics/Problems from various contests/chimie.cpp | 659dc267c22e1cffbc74e08d9872d76390173042 | [] | no_license | IrinaMBejan/Personal-work-contests | f878c25507a8bfdab3f7af8d55b780d7632efecb | 4ab2841244a55d074d25e721aefa56431e508c43 | refs/heads/master | 2021-01-20T08:24:47.492233 | 2017-05-03T12:22:26 | 2017-05-03T12:22:26 | 90,142,452 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,135 | cpp | chimie.cpp | #include <fstream>
#include <cstring>
#define Lmax 110
using namespace std;
ifstream fin("chimie.in");
ofstream fout("chimie.out");
char sM[Lmax],s[Lmax];
int vM[800],v[800];
bool coincide();
void compus(int & poz, int nrm);
void atom (int & poz, int nrm);
void formula(int & poz);
int nr (int & poz);
int main()
{
... |
f118b506b0563575b82cbc3f9e9d3cae048515d2 | 888b29b165c1a5bcf14b239e356ae0f76c45b2e3 | /NVR-16/GuiSample1/source/PageBasicConfigFrameWork.cpp | caae77540938756d514f60f6b9db08b78a3680e9 | [] | no_license | github188/NVR-1 | a3f438a4d4ba9c9199945876f7be42ae8afd0c53 | b4dbf50cc992b75b956958e093760b48690ad040 | refs/heads/master | 2021-07-22T18:24:24.944071 | 2017-09-06T06:34:19 | 2017-09-06T06:34:19 | 111,356,197 | 0 | 1 | null | 2017-11-20T03:16:07 | 2017-11-20T03:16:06 | null | GB18030 | C++ | false | false | 57,776 | cpp | PageBasicConfigFrameWork.cpp | #include "GUI/Pages/PageBasicConfigFrameWork.h"
#include "GUI/Pages/PageMainFrameWork.h"
#include "GUI/Pages/BizData.h"
#include "biz.h"
#include "GUI/Pages/PageMessageBox.h"
#include "GUI/Pages/PageInfoBox.h"
#include "GUI/Pages/PageConfigFrameWork.h"
//csp modify
#include "GUI/Pages/BizData.h"
#include "GUI/Pages/Pa... |
302133d91cb281ccef385fc1e22e502be5edf7a0 | 7a8fc83af8c296c202776f408b4f8461e42b37cc | /CODE/MovieDatabase/MovieDatabase/Database.cpp | 2132fae8442315b0e9ac3575738d70b0b467c130 | [] | no_license | N0681800/SDI2Coursework | 228ed6b237db91b3d0601fb3e4ecdc17719735a8 | 1706eb58ec8549d0b2a933b4faff2a292fd32452 | refs/heads/master | 2021-04-27T18:53:45.303425 | 2018-04-25T20:59:16 | 2018-04-25T20:59:16 | 122,342,667 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,618 | cpp | Database.cpp | #include "Database.h"
#include <string>
#include <iostream>
#include <iomanip>
#include <fstream>
#include <vector>
#include <map>
#include <sstream>
#include "Library.h"
#include "Templates.cpp"
Database::Database(string filmPath_, string ccPath_,string matPath_, int Max)
{
filmPath = filmPath_;
ccPath = ccPath_;... |
a28a223a0cf174f6c583340ab4e6977c0706cb36 | 39eac74fa6a244d15a01873623d05f480f45e079 | /ReasonDlg.cpp | 69b84f67a13f05e965095b4f5f258e96e7c5f6e3 | [] | no_license | 15831944/Practice | a8ac8416b32df82395bb1a4b000b35a0326c0897 | ae2cde9c8f2fb6ab63bd7d8cd58701bd3513ec94 | refs/heads/master | 2021-06-15T12:10:18.730367 | 2016-11-30T15:13:53 | 2016-11-30T15:13:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,824 | cpp | ReasonDlg.cpp | // CancelApptDlg.cpp : implementation file
//
#include "stdafx.h"
#include "ReasonDlg.h"
#include "NxStandard.h"
#include "EditComboBox.h"
#include "InternationalUtils.h"
#include "DateTimeUtils.h"
#include "CommonSchedUtils.h"
#include "GlobalSchedUtils.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static ... |
7453ffe57268df3fbc4b15fae484d471a7970bfc | 2f5f72b081e0408c279351d7a5ef60118200e84d | /boost_test_case_expected_failures/test/main.cpp | 4e3491eacea2d32b9d62d67e4e70071f76a03f31 | [] | no_license | czerniecki-wojciech/cmake_magisterka | 2aad80ea918dfba215d0f188beed104f6c9bc898 | 752da71ddbe5b7a454ac462d4ec5d22294929afe | refs/heads/master | 2021-01-19T11:11:51.707467 | 2016-07-22T21:07:20 | 2016-07-22T21:07:20 | 60,837,229 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 438 | cpp | main.cpp | #define BOOST_TEST_DYN_LINK
#define BOOST_TEST_MODULE example
#include <boost/test/unit_test.hpp>
//definicja grupy testow
BOOST_AUTO_TEST_SUITE(testSuite1)
//zdefiniowanie maksymalnej liczny niepowodzen w tescie
BOOST_AUTO_TEST_CASE_EXPECTED_FAILURES(test_case1, 1);
//definicja testu
BOOST_AUTO_TEST_CASE(test_case... |
40557cd9353e4674d536bdb03f8e2e4b012b7d4f | 323803788a843d35bb81c2b5377477f6b0f09e73 | /nnnEdit/programview.cpp | 33386858a7429c5f782745079bfe002549bf6ce5 | [] | no_license | tinyan/SystemNNN_Editor | 138384493986eb11714871237a4b31f28ddc342d | c8e9f5cf51b152817d855f6c01bc95465c2c5aa8 | refs/heads/master | 2023-03-04T18:22:47.794068 | 2023-02-26T10:51:03 | 2023-02-26T10:51:03 | 38,660,049 | 5 | 2 | null | null | null | null | SHIFT_JIS | C++ | false | false | 4,621 | cpp | programview.cpp | //
// programview.cpp
//
#include <windows.h>
#include <stdio.h>
#include "resource.h"
#include "..\..\systemNNN\nyanLib\include\commonmacro.h"
//#include "mydirectx.h"
#include "windowlist.h"
#include "case.h"
#include "messageData.h"
#include "myapplicationBase.h"
#include "programdoc.h"
#include "programview.h... |
7297658179cfa64e81197172a39e3d6b34982df4 | 9402813fe21aa43666f139cd4a3104e16ad262e9 | /ch10/MyVector.cpp | aed036faf342cd1ea3cdaf3d6937318a2fc10acc | [] | no_license | kahyunKo/C-plus-plus_class | 90eaf2297d0723bf722d0f316e51021c92f16405 | 78d1fe5f32633ff3b290c4a4181698002d494608 | refs/heads/main | 2023-05-29T08:41:05.909167 | 2021-06-12T06:14:09 | 2021-06-12T06:14:09 | 357,534,868 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 640 | cpp | MyVector.cpp | // p403
#include <iostream>
#include <string>
using namespace std;
class MyVector {
private :
double x, y;
public :
MyVector(double x = 0.0, double y = 0.0) : x{ x }, y{ y } {}
string toString() {
return " ( " + to_string(x) + " , " + to_string(y) + " ) ";
}
MyVector operator+(const MyVector& v2)... |
373799f02a3de060a1fced852dd93a31cf2d27f0 | a9ca50c09adbe6b078701174d3592eab02afaba5 | /updownFish.cpp | 5b9b065abcd301f59efd6d6ce024945519c7157b | [] | no_license | AaronCui/ShortCodingExercises | e110cd72711302431dc2af4a3bcdaa8d324564ab | dbe24fb50984a9cee171336580be219902ad0349 | refs/heads/master | 2020-05-29T12:10:06.280702 | 2016-01-04T05:19:14 | 2016-01-04T05:19:14 | 30,182,543 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,064 | cpp | updownFish.cpp | // https://codility.com/demo/results/demo4EP3DN-RYC/
// Above link shows the question for this solution is for
// As well as a recording of my entire time line of completing the code and failing / passing the tests
//DoubleAce
//Feb2
#include<cstdlib>
#include<iostream>
#include<vector>
#include<stack>
int solution... |
74abce75dcd43e4a291b470238d715eca0bfbb95 | feeb50c2bc9b0692c2bd5496798a24542be961d4 | /convert_bwtest/sample1_unittest.h | edf520fa06e82556f73ac0d55032f2a4e526e1e2 | [] | no_license | masterpiece2014/convert_and_bwtest | ad6e1bf51882b700a45a3da59e905ff977097753 | 24ba19e1be85655984ccf86ee7558543c90598f6 | refs/heads/master | 2020-12-26T00:26:36.287679 | 2014-04-27T13:24:14 | 2014-04-27T13:24:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,917 | h | sample1_unittest.h |
#include "bwtest\bwtest.h"
#include "sample1.h"
TEST(sample1, odd_even, 1) {
expect_true(true == isOdd(5)) << "if 5 is not odd, \
hence this expectation failed, \
this line will be put out.";
expect_false(true == isOdd(7)) << "e.g.... |
5a29e0b373b9f526c2ba09c363ef6eeb30922c67 | 15214308abdd5dd1603d32303051647282295e3e | /resources/imap/noselectattribute.cpp | dbb5945255476034a83ffecd8cee169c13710dc7 | [
"BSD-3-Clause"
] | permissive | KDE/kdepim-runtime | 2c3f6bcc6f251cb3e51b3a49f85009593afd3339 | 61c3403c0632579d2996d5a3b12380076703ff77 | refs/heads/master | 2023-08-16T11:15:00.872529 | 2023-08-16T01:47:59 | 2023-08-16T01:47:59 | 42,729,679 | 14 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 865 | cpp | noselectattribute.cpp | /*
SPDX-FileCopyrightText: 2008 Omat Holding B.V. <info@omat.nl>
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#include "noselectattribute.h"
#include <QByteArray>
NoSelectAttribute::NoSelectAttribute(bool noSelect)
: mNoSelect(noSelect)
{
}
void NoSelectAttribute::setNoSelect(bool noSelect)
{
mNoS... |
dc51b7c8ed33c4bbd42045d46e0ff4d3c5d3e1a4 | 4aa49a41be21411e16f103d5bb1ecd679e9df3b1 | /core/caroline.h | ccfd4c5d642d5a729b95582edf196dcc478ffb39 | [
"MIT"
] | permissive | it-workshop/caroline | 0f88bcb0ff307f26da4dbc32b204d69e9d16b475 | 9a8ebc5af010e8b1969a40ccf6d5b25eedb182e7 | refs/heads/master | 2021-03-12T23:52:52.923887 | 2014-11-28T20:19:41 | 2014-11-28T20:19:41 | 15,731,111 | 1 | 1 | MIT | 2020-10-01T08:50:07 | 2014-01-08T09:33:55 | C++ | UTF-8 | C++ | false | false | 1,859 | h | caroline.h | // Copyright (c) 2014 The Caroline authors. All rights reserved.
// Use of this source file is governed by a MIT license that can be found in the
// LICENSE file.
/// @author Aleksandr Derbenev <alex@technoworks.ru>
#ifndef CORE_CAROLINE_H_
#define CORE_CAROLINE_H_
#include <memory>
#include <utility>
#include <vecto... |
e72103859b1b647c8fc4086328bdfd1bb928da98 | 68474d9d5b67759b6bd2608a8b5c996cb00f4efc | /Ejercicio2/E2V4/iniciadorBroker.cpp | d37b270f3e8a4714361a356d5cd562bd795a1012 | [] | no_license | serpi90/RedesIV2014 | 3ad4c065e0d5d29b80fc317ae7ad2c00d470c093 | f10ec55386911d177cae8fe86cca1372c26d0fe7 | refs/heads/master | 2020-12-24T13:52:14.801719 | 2014-06-27T21:32:05 | 2014-06-27T21:32:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,564 | cpp | iniciadorBroker.cpp | #include <unistd.h>
#include <cstdio>
#include <cstdlib>
#include <string>
#include "includes.h"
#include "net-idManagerProtocol.h"
#include "Queue.cpp"
#include "Semaphore.h"
#include "SharedMemory.cpp"
using namespace IPC;
int main(int argc, char * argv[]) {
std::string owner = "iniciador broker";
pid_t pid;
Q... |
10ac7519be6415b7ad33ac1b9eec995101b11b87 | 6c189ab93c0609a45b7af58c16fbb70c95f8089a | /nextwarmerday.cpp | 057449da3973001bb8a2b4dda1494945606716ff | [] | no_license | dhritisaini/leetcode | fd66352c60aad618b5d163896d6c8accfe4a48c2 | a719ee2cab3751b9592619d34ee4adb24cd00ffb | refs/heads/master | 2021-07-11T01:44:35.814867 | 2020-09-23T18:54:08 | 2020-09-23T18:54:08 | 195,511,815 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 782 | cpp | nextwarmerday.cpp | #include <iostream>
#include <vector>
#include <stack>
using namespace std;
vector<int> findWarmerTemp(vector<int> temps )
{
stack<int> st;
vector <int> nge(temps.size(),0);
for(int i=temps.size()-1;i>=0;i--)
{
while(!st.empty()&&temps[i]>temps[st.top()])
{
... |
4e563e8bd6effca269d4d86bc545695ba71ee72f | c026c9fd72fca3ebb9dd837f356a9ce791c7025f | /Room.h | aef4335db512df50f5932f18dc718d1aea999ed7 | [] | no_license | thweattm/Text-Based-Adventure-Game-Office-Urgency | b9dacc6315edc6744e8016d74006910f83d33f0d | b37a63d2e95a39cd9cf0193000b91e7866625346 | refs/heads/master | 2020-03-28T21:25:04.153848 | 2018-12-11T18:19:40 | 2018-12-11T18:19:40 | 149,154,037 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 627 | h | Room.h | /*********************************************************
* Author: Mike Thweatt
* Date: 08/02/16
* Description: Room Headers
* ******************************************************/
#ifndef ROOM_H
#define ROOM_H
#include "Player.h"
#include <string>
//Room Parent Class
class Room
{
public:
virtual void spec... |
db3acb756198967fe13c461810a9dff8285c482c | 674af49e57d81d884ec51dbe02a62614637a6f72 | /test/TestGelfAppender.cpp | 9535fe23730a76c2599870be6a42bc1f89ab0f9c | [
"MIT"
] | permissive | pss146/log4cplus_gelf | 6cafeb54c496208f7a23f2edce0500847140c80a | 7bba62e58490667466251b944d20ee2c1c4b524c | refs/heads/master | 2020-09-21T05:41:47.442830 | 2019-12-03T13:04:29 | 2019-12-03T13:04:29 | 224,698,461 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,443 | cpp | TestGelfAppender.cpp | #include <log4cplus_gelf/GelfAppender.h>
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include <exception>
#include <iostream>
#include "log4cplus/logger.h"
#include "log4cplus/helpers/loglog.h"
#include "log4cplus/helpers/pointer.h"
#include "log4cplus/helpers/property.h"
#include "log4cplus/spi/loggingevent.h"
... |
067338a0ccb3a049f5bde99d61bd2bf4cbf70b57 | 6226d6aed3629aa4069c46971ffe764bb6c743f6 | /MGui/MGUI_InputManager.h | 0498e69d3571a7c0239a585e18b33e9834c214bc | [] | no_license | Myway3D/Myway3D | 83c30258f1e3eae90e619269406acd0ddeac7887 | 39cf569993f62fc648cbba49ebf74b3f8a64e46a | refs/heads/master | 2020-04-22T20:24:15.817427 | 2014-03-09T14:25:23 | 2014-03-09T14:25:23 | 170,640,096 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,442 | h | MGUI_InputManager.h | #pragma once
#include "MGUI_Types.h"
#include "MGUI_Widget.h"
#include "MGUI_Timer.h"
namespace Myway {
class MGUI_ENTRY MGUI_InputManager
{
DECLARE_SINGLETON(MGUI_InputManager);
public:
tEvent2<int, int> eventMouseMove;
tEvent1<int> eventMouseWheel;
tEvent3<int, int, MGUI_MouseButton> eve... |
288e533b3b68593c0f3693c812559f2abcfb5a5f | 2aed63d9aa027419b797e56b508417789a604a8b | /injector2degHex/case_interFoam_3mm/processor2/0.8/p_rgh | ccaa9ec142caea4c04c86bc637ab494f7f54b441 | [] | no_license | icl-rocketry/injectorCFDModelling | 70137f1c6574240c7202638c3713102a3e1e9fd8 | 96591cf2cf3cd4cbd64536d8ae47ed8080ed9016 | refs/heads/main | 2023-08-25T03:30:59.244137 | 2021-10-09T21:04:45 | 2021-10-09T21:04:45 | 322,369,673 | 3 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 43,388 | p_rgh | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2012 |
... | |
a8b5261ae8155d5e166d5de0f352dfe19fd3d93b | b7d4e34cf3a7960825053c907245e4c8db699707 | /ClanCor_HHC/ui_PrinterSetup.h | 71ab70bc429a79d6a5a2f91a723d591c929ffc0d | [] | no_license | ramanathanaspires/SDK | 46d2e962ec3ad469235e41da98b25b8132331778 | a8979b9f8ba80b3d41bf977cba22a176230469ee | refs/heads/master | 2021-01-23T05:55:41.387830 | 2017-06-01T00:21:27 | 2017-06-01T00:21:27 | 92,999,596 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,020 | h | ui_PrinterSetup.h | /********************************************************************************
** Form generated from reading UI file 'PrinterSetup.ui'
**
** Created: Tue Feb 11 18:04:02 2014
** by: Qt User Interface Compiler version 4.6.3
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
****... |
b67ac40e6a8bb1d193a2cc885c92a0db50d80d1b | 1e73a7cad11d49f4e7adc39fdb4bf5e5811a5513 | /Sorting and Searching/Q13.cpp | d8bd8f755ee8716d9bc3c6eab3b108a8bab1d7e6 | [] | no_license | amanKumar-144/CSES-Solutions | c1392548079dd29a3cd89ec7dce81ec4a82c3415 | 63591ffd97a0bb236f1e7d4e99049e4dec7c9c3c | refs/heads/main | 2023-04-06T06:59:26.679973 | 2021-04-13T06:50:13 | 2021-04-13T06:50:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,188 | cpp | Q13.cpp | #include<bits/stdc++.h>
#define pb push_back
#define mp make_pair
#define fi first
#define se second
#define ins insert
#define int long long
#define vii vector<int>
#define pii pair<int,int>
#define FAST ios_base::sync_with_stdio(0);cin.tie(0);cout.tie(0);
using namespace std;
int32_t main()
{
FAST;
int n;cin>... |
d40cf7a481f496bdab14cf2587c936482330496d | 71797a9c0844c7223585449eeabc2278e9c9993c | /include/derplanner/compiler/signature_table.h | 5977ad80fe968389b3014c2d2ff37227eafc556c | [
"Zlib"
] | permissive | miccol/derplanner | e2a724e680f124edeb3dcbde9ed270c91d251c1d | cd5d15acb741f027807796af9a12ed8968b4a91e | refs/heads/master | 2020-04-02T21:28:24.448493 | 2018-10-26T14:19:59 | 2018-10-26T14:19:59 | 154,800,395 | 0 | 0 | Zlib | 2018-10-26T08:13:57 | 2018-10-26T08:13:57 | null | UTF-8 | C++ | false | false | 3,090 | h | signature_table.h | //
// Copyright (c) 2015 Alexander Shafranov shafranov@gmail.com
//
// This software is provided 'as-is', without any express or implied
// warranty. In no event will the authors be held liable for any damages
// arising from the use of this software.
//
// Permission is granted to anyone to use this software for any ... |
15593116cf971758b9f405f9ef62c5f7fe9f6f67 | 5e7b8bfa89225e03bc8cdc0723e8756b81b9e008 | /lcsthreestring.cpp | 51a8024445729688e03a564106e4f8f1ec4fbf2b | [] | no_license | shashankch/DataStructures-Algorithms | 3e0137065f878c962a815d17cb7916487ebdeb0b | b6b447ebf4e1a18ec23b94172e844ce0d53f7a14 | refs/heads/master | 2020-09-11T13:55:21.068954 | 2020-05-06T07:24:07 | 2020-05-06T07:24:07 | 222,088,726 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,114 | cpp | lcsthreestring.cpp |
#include <iostream>
#include <cstring>
using namespace std;
int dp[201][201][201];
int lcs3d(char x[], char y[], char z[])
{
int m = strlen(x);
int n = strlen(y);
int p = strlen(z);
///base case
for (int i = 0; i <= m; i++)
{
dp[i][0][0] = 0;
}
for (int i = 0; i <= n; i++)
... |
f926922b52a66d89ced2702ab4997bd72fc43d2e | cc8927495275b9fbe835c3bd0dc0d4840c909d8b | /3D-21일차/Reference/Header/RenderTargetMgr.h | b0d6724e430e9c9444649c5d54ae5bfb28236a3b | [] | no_license | wjrm600/ClientProject | 4d46376238b17d133e2311aa050c623973ace94d | b8f4e7a5d66e65277a0300d55c502a7f1218fe5f | refs/heads/master | 2023-03-04T05:19:12.626218 | 2021-02-08T23:07:19 | 2021-02-08T23:07:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,273 | h | RenderTargetMgr.h | #ifndef RenderTargetMgr_h__
#define RenderTargetMgr_h__
#include "Engine_Define.h"
#include "Base.h"
#include "RenderTarget.h"
BEGIN(Engine)
class ENGINE_DLL CRenderTargetMgr : public CBase
{
DECLARE_SINGLETON(CRenderTargetMgr)
private:
explicit CRenderTargetMgr(void);
virtual ~CRenderTargetMgr(void);
public:
... |
b4bb2c091c58a7f67b6bd5a3a39511d087b45306 | 14fe137c60481ea3ad445ac1da585d9aad0a551b | /PODSampler-v1912/libPOD/lnInclude/main.cpp | 221553f1b4257d53fa7ed93fc25d5f51941a7321 | [] | no_license | maxshatsky/libDataAnalysis | 7eec4384cfee085e2601b15cff70fada8b8154be | 0d17b0678c7881a7f0c46bb7a87ec2a746b01486 | refs/heads/master | 2021-07-09T15:01:03.778585 | 2020-09-07T09:53:36 | 2020-09-07T09:53:36 | 192,750,658 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 48 | cpp | main.cpp | ../thirdparty/Eigen/bench/btl/libs/mtl4/main.cpp |
12b8558ef29a70d67ed9b8dee114d47455925407 | 7eb522b0c569fbedc724b34c31ea9708a098a824 | /Bearlet/Interactive.hpp | 3032f098ea4678baa6f5346791ae4adbe92c4404 | [] | no_license | BookmanHan/Bearlet | c5b4069dc635666bf9572b261eae9d4f9f6e8832 | 045e2bff82b899301701f7ef8ea967c4e51b1458 | refs/heads/master | 2021-07-08T19:58:54.650758 | 2017-10-08T04:43:02 | 2017-10-08T04:43:02 | 106,171,954 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 775 | hpp | Interactive.hpp | #pragma once
#include "Import.hpp"
#include "Logging.hpp"
#include "File.hpp"
class RemoteCommander
{
protected:
map<string, function<void(FormatFile&)>> fn_proc;
const string network_path;
public:
RemoteCommander(const string network_path)
:network_path(network_path)
{
;
}
public:
void registe(const string... |
b62e5fb9992ce34092ccab47947dbccfc630bee9 | 26a71000a382332b3859742fb5591202cba67a35 | /URK96/TrafficLightsDetect/exam_cv.cpp | 40fab96812a1b0c27ce8d8737b5534256cc5d894 | [] | no_license | URK96/EmbeddedCar | 5afe018ee035d7f50447708669959ff160d20f44 | 6052b0ceefc9321bc9bd181847714f1a8766ff8c | refs/heads/master | 2020-07-02T04:16:41.006584 | 2019-09-27T15:34:51 | 2019-09-27T15:34:51 | 201,413,250 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,531 | cpp | exam_cv.cpp |
#include <iostream>
#include <stdio.h>
#include <string.h>
//#include <sys/time.h>
#include <opencv2/opencv.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#include <opencv2/highgui/highgui.hpp>
//#include <opencv2/gpu/device/utility.hpp>
#include <opencv2/core/core.hpp>
#include <opencv2/objdetect/objdetect.h... |
8153220cca53e710b9787b695b2193dc3519528b | 11d021d531b9fec3fa782131e89233c8d2e3169d | /sokoban-cpp/DeadlockDetection.cpp | 1349b8a4f544e9dd3bdcc5f941cd25ffec99d645 | [] | no_license | atopion/sokoban | a2992eeaf49a1fbdede6630992696dcdf05cfd89 | bfab7b0f4fc1f18b15b14333c1ddbd9621fbecc2 | refs/heads/master | 2020-04-15T18:52:00.996313 | 2019-04-14T19:44:12 | 2019-04-14T19:44:12 | 164,928,759 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,062 | cpp | DeadlockDetection.cpp | //
// Created by atopi on 27.11.2018.
//
#include <iostream>
#include "DeadlockDetection.h"
DeadlockDetection::DeadlockDetection(int *game_map, int size, int width, int *target_array, int targetCount)
{
DeadlockDetection::game_map = game_map;
DeadlockDetection::target_array = target_array;
Dead... |
790dfa4f7044f4d4e35691ce11246d11c680a472 | c732e95f868dfe1b12760a11bab15c15216a27bf | /tools/unscrew/unscrew.cc | e7f806d9b82e7e26d1c3fce618f50a08fc81a49c | [
"MIT"
] | permissive | baulk/baulk | 9fb2414533297cbee62f13a46de5c8a0eb57b200 | a501b7a16f909b39724a8362dba868ca69f66602 | refs/heads/master | 2023-08-03T22:57:14.537212 | 2023-07-30T13:46:50 | 2023-07-30T13:46:50 | 245,962,600 | 354 | 42 | MIT | 2023-07-30T13:46:51 | 2020-03-09T06:44:10 | C | UTF-8 | C++ | false | false | 8,163 | cc | unscrew.cc | #include "unscrew.hpp"
#include <bela/picker.hpp>
#include <bela/parseargv.hpp>
#include <baulk/fs.hpp>
#include <shellapi.h>
#include <ShlObj_core.h>
#include <CommCtrl.h>
#include <Objbase.h>
#include <version.hpp>
namespace baulk {
constexpr auto AppTitle = L"Unscrew - Baulk modern extractor";
class UnscrewProgres... |
99bbd064fdf9c6452a4051363b85acb37fbba1c7 | ab5b7ba525ab83f7bc42bbb85a24096be8c709c4 | /src/engine/texture.cpp | 85828a6cc9f28ff91a593644cdf9d7140c249e7e | [] | no_license | Antonito/ColdCube | 88effb3c423edf57c8b2aa2fccae8627f6952e57 | b0b3967bb5a63f8a0de59104f182319499aa4293 | refs/heads/master | 2016-09-01T11:09:46.052496 | 2016-04-14T11:16:16 | 2016-04-14T11:16:16 | 54,876,510 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,220 | cpp | texture.cpp | #include "engine/texture.hpp"
#include <cassert>
#include <iostream>
Texture::Texture()
{
m_texture = 0;
m_temp = true;
}
Texture::Texture(const unsigned char *imgData, int width, int height, bool temp)
{
if (imgData == NULL)
{
std::cerr << "Invalid image data: aborting" << std::endl;
exit(1);
... |
b659066c76655cb4fb6a79edbc7471431953047a | 33b2774e1098655ba8ba977ea1c176cc53390356 | /Engine/Source/Wolf.DirectX/Wolf.DirectX.Shared/W_GraphicsResource/W_Shaders/W_Shader.h | 07cfa24557ccfbe84c9fd3e11315ee33b570c1bd | [
"MIT"
] | permissive | PeymanTahghighi/WolfEngine | ffae1588142d14582818ab08865f08cf8faf2934 | 12bc0dd5171e296f0b51bad74809cb44d47a0bf9 | refs/heads/master | 2023-04-24T17:45:54.979261 | 2015-05-08T08:57:30 | 2015-05-08T08:57:30 | 40,711,980 | 1 | 0 | null | 2015-08-14T11:35:51 | 2015-08-14T11:35:51 | null | UTF-8 | C++ | false | false | 3,552 | h | W_Shader.h | /*
Project : Wolf PlayOut, powered by Wolf Engine Copyright (c) Pooya Eimandar. https://github.com/PooyaEimandar/WolfEngine
Please direct any bug to hello@WolfStudio.co
File Name : W_Shader.h
File Description : A class which is responsible to manage shaders for materials
Comment :
*... |
df9880fc2b305773de17cd079a8acf0aec7946e8 | 165f53197dec266a2b6727b73a3e6580366eea8e | /src/leveldb/include/leveldb/raw_key_operator.h | ed790b16c0d8d5336ea4c9d41a55526990a79dee | [
"BSD-3-Clause"
] | permissive | bluebore/tera | 6b4c438ea1a84a8c7b0765206650ceb943daf3fc | 22ba0afaca3e5a505e3a461bfa880ec79b52b10c | refs/heads/master | 2021-01-17T07:51:51.010591 | 2017-01-03T05:54:12 | 2017-01-03T05:54:12 | 19,900,391 | 7 | 1 | null | 2015-12-16T01:47:55 | 2014-05-18T01:40:43 | C++ | UTF-8 | C++ | false | false | 1,353 | h | raw_key_operator.h | // Copyright (c) 2015, Baidu.com, Inc. All Rights Reserved
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef TERA_LEVELDB_UTILS_RAW_KEY_OPERATOR_H
#define TERA_LEVELDB_UTILS_RAW_KEY_OPERATOR_H
#include <stdint.h>
#include "leveldb/slice.h"
#include "level... |
84d70dcb811c8b00875f6963765c8954cbc411fb | 08108ee94bee520603eff660cbef59c041b017c2 | /Desafio_23.1,_Suma_de_Digitos.cpp | 61012890a0679e92953b464691a0a1a51e821c04 | [] | no_license | XarthDaichi/Ejercicios-de-Funda | a29d9c62b247399efd3193a67281f674620ba540 | 216653ebba93d6cc1e629b133bfc46b1ed29b4a1 | refs/heads/main | 2023-06-11T23:16:43.546777 | 2021-07-09T05:14:56 | 2021-07-09T05:14:56 | 356,979,691 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 596 | cpp | Desafio_23.1,_Suma_de_Digitos.cpp | //Diego Quiros A, Andres Gonzalez y Sebastian Peñaranda
/*Escribir una funcion en el Lenguaje C++ que reciba como parametros un numero
entero n y devuelva el valor de la suma de sus digitos.
Por ejemplo, si n es 2464, la suma de sus digitos es 16.
*/
#include <iostream>
using namespace std;
int sumaDeDigitos(int n)... |
1758c52fa206b5ea8b7744790818c530b49dd0b8 | d03d052c0ca220d06ec17d170e2b272f4e935a0c | /gen/mojo/services/sensors/interfaces/sensors.mojom-common.cc | e9d9bb272c0144a571ed8174b8e6ae64e976b0da | [
"Apache-2.0"
] | permissive | amplab/ray-artifacts | f7ae0298fee371d9b33a40c00dae05c4442dc211 | 6954850f8ef581927df94be90313c1e783cd2e81 | refs/heads/master | 2023-07-07T20:45:43.526694 | 2016-08-06T19:53:55 | 2016-08-06T19:53:55 | 65,099,400 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 39,213 | cc | sensors.mojom-common.cc | // NOTE: This file was generated by the Mojo bindings generator.
#include "mojo/services/sensors/interfaces/sensors.mojom-common.h"
#include <math.h>
#include <ostream>
#include "mojo/public/cpp/bindings/lib/array_serialization.h"
#include "mojo/public/cpp/bindings/lib/bindings_serialization.h"
#include "mojo/public/... |
afc4376238f91174c6a0d66c3888b2ca640ec9d0 | ddf200f97c24617d2fef7222af03f38401c8b633 | /ThirdParty/Include/Refureku/TypeInfo/Namespace/Namespace.h | b53dcb6429ff6385007a65353911d8a68b1ef2f3 | [] | no_license | jsoysouvanh/RefurekuIntegration | 1061f7481936bfe75b145e1f3cb4395cf4165b78 | 45b7ca9e29beea8340ddaaad7f5e4ce3d60488ba | refs/heads/master | 2023-08-30T06:59:05.653109 | 2021-11-12T14:06:50 | 2021-11-12T14:06:50 | 306,647,737 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,490 | h | Namespace.h | /**
* Copyright (c) 2021 Julien SOYSOUVANH - All Rights Reserved
*
* This file is part of the Refureku library project which is released under the MIT License.
* See the LICENSE.md file for full license details.
*/
#pragma once
#include "Refureku/TypeInfo/Entity/Entity.h"
#include "Refureku/TypeInfo/Variables/EVarFla... |
54cd3593657b614e3ca057534ef4a5de371a576d | ea7a4fe7ca1565a62a51fc19d40c12c113fcd60e | /IPCLib/src/IO.h | fbdc5967d313bf38ff9999ed75de4e2e871534ed | [] | no_license | GeeZeeMit/antivirus | 51e3ca6d83e5b3a2ca70c73ac9ce67f873e78879 | 6738f27df6da77ceb526e46f4a9463f33deed70c | refs/heads/master | 2023-04-05T16:46:17.685712 | 2021-03-31T15:01:26 | 2021-03-31T15:01:26 | 341,966,720 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,999 | h | IO.h | #pragma once
#include <Windows.h>
#include <stdint.h>
#include <string>
#include <vector>
#include <memory>
#include "IPC.h"
class Input
{
public:
Input(const std::u16string& path);
Input(const std::shared_ptr<IPC>& ipc);
Input(HANDLE handle) { this->handle = handle; }
~Input() = default;
void close();
inlin... |
c3b2e94bbbf79354ef72e192989ec87bdcdf7667 | 440fe90fa0beea25c5185dadbdfee2b2e5b4a8b7 | /src/Player.cpp | d3622d2d27ecd71e34693f7a740b25f57726e24a | [
"MIT"
] | permissive | filipecaixeta/NeonEdgeGame | a5721f61a309172287b3c811143fec8b54177326 | 7dbc825507d731d60a96b4a82975a70e6aa68d7e | refs/heads/master | 2021-01-20T04:49:45.971343 | 2018-01-06T19:54:08 | 2018-01-06T19:54:08 | 89,737,067 | 6 | 5 | MIT | 2018-01-06T19:54:09 | 2017-04-28T19:10:49 | C++ | UTF-8 | C++ | false | false | 6,001 | cpp | Player.cpp | /**
* Copyright (c) 2017 Neon Edge Game
* File Name: Player.cpp
* Header File Name: Player.h
* Class Name: Player
* Objective: manages the behavior of some aspects of the player.
*/
#include "Player.h"
#include "Projectile.h"
#include "Logger.h"
#include <assert.h>
/**
Objective: constructor of the class Pl... |
21c223c7054987a27447b4e0c0b58dfd76d1a670 | c4089d1590e5802204ed1c1871c0bae2f7d7eab3 | /4. 大作业: System monitor/QT version/chart.cpp | 6a4592e288180c090f544176ebc124211cfd2f9e | [] | no_license | biubiubiiu/hust-OS | 9cb06c5a51ca451572b829f89ad7f7fc819fa778 | ac0871ca7125ca1c94eac6ae10c47925ddf2c6cd | refs/heads/master | 2022-01-06T22:42:49.758476 | 2019-05-05T05:13:40 | 2019-05-05T05:13:40 | 177,756,042 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,738 | cpp | chart.cpp | #include "chart.h"
#include <QtCharts/QAbstractAxis>
#include <QtCharts/QLineSeries>
#include <QtCharts/QValueAxis>
#include <QtCore/QRandomGenerator>
#include <QtCore/QDebug>
Chart::Chart(QGraphicsItem *parent, Qt::WindowFlags wFlags) : QChart(QChart::ChartTypeCartesian, parent, wFlags),
... |
fff5442508df462e38f96a2be9bbd92bb40fabc6 | 37f45bbf2f38d00d7c61651383ae7e4fef1b3d91 | /Fatimah501.cpp | 57f01a5d8a2ec62d0f435af561440f38d71d0191 | [] | no_license | AhmadAlaarj/GitTest | 3214ffab19c92c614901ec63c5c7d3817496c258 | b3ef7db915a38a4e438716f7af19e69833cb8b21 | refs/heads/main | 2023-02-27T02:59:39.196567 | 2021-02-04T14:25:09 | 2021-02-04T14:25:09 | 335,975,701 | 1 | 0 | null | 2021-02-04T14:16:37 | 2021-02-04T14:16:37 | null | UTF-8 | C++ | false | false | 168 | cpp | Fatimah501.cpp |
#include <iostream>
using namespace std;
int main() {
string x = "I've participated in The Game's developers program!";
cout << x << endl;
return 0;
}
|
9211089e14f61e53e78b9c51c9d465478ac4f030 | 1e636fe0e92256920a5804494b44342e20050285 | /Day3/2_trivial.cpp | 3f5a334c1ab786d292bc3c8a1f49a1030544be23 | [] | no_license | JaeminShim/NCUAdvancedCPP | 4c65e8218bd8c6ef1e4318ad1739739a72a49ae1 | 399c7a805fccc6f1b8eef52cdc717bc87ed539f1 | refs/heads/master | 2021-01-10T16:31:01.431020 | 2015-11-25T08:51:34 | 2015-11-25T08:51:34 | 43,853,480 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 952 | cpp | 2_trivial.cpp | // 2. Trivial - 156 page
// (참고: Inside C++ object 책 - 1996년 출간)
#include <iostream>
using namespace std;
// trivial (자명한) 생성자 : 아무 일도 하지 않는 생성자
// trivial한 생성자의 조건
// 1. 가상 함수가 없고
// 2. 부모가 없거나 부모의 생성자가 trivial 하고
// 3. 객채형 멤버가 없거나 객체형 멤버의 생성자가 trivial하고
// 4. 사용자가 만든 생성자가 없을 때
class A
{
};
// [D]
//class B
cla... |
d2cabee2da570ab28e9e3448efd119667ad59087 | ec2dd7d60c7ea8b97ea957aeed22cd6c9f3488e8 | /devel/.private/kolt/include/kolt/YoloDetect.h | 47f12f73f74e9139054521fe6d8ee11daa163a27 | [] | no_license | svrakiss/ros-stuff | d75d3d02efc2d89a89b619faf22a27c7eb68f91d | 47aae66764749a746e666708fe8fa2f358a3f947 | refs/heads/master | 2020-12-21T21:45:32.246088 | 2020-02-02T15:51:04 | 2020-02-02T15:51:04 | 236,571,090 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,475 | h | YoloDetect.h | // Generated by gencpp from file kolt/YoloDetect.msg
// DO NOT EDIT!
#ifndef KOLT_MESSAGE_YOLODETECT_H
#define KOLT_MESSAGE_YOLODETECT_H
#include <ros/service_traits.h>
#include <kolt/YoloDetectRequest.h>
#include <kolt/YoloDetectResponse.h>
namespace kolt
{
struct YoloDetect
{
typedef YoloDetectRequest Reques... |
caa22024d2276fed79b5fdbd4c573e71e585a808 | c9b431b2f89e1ccb5ce5266962edd8b375e80a96 | /LeetCode/416_PartitionEqualSubsetSum/PartitionEqualSubsetSum.cpp | da0e88334591b6e3906b720959a71d3878fbdedb | [] | no_license | SuperMousse/Interview | 25266b79058f8c649344ff6893682e9061a5ef46 | 09012379d02d5052fc3f7603b2ecbb6980cc405d | refs/heads/master | 2021-07-11T00:36:40.192775 | 2020-11-22T12:45:33 | 2020-11-22T12:45:33 | 215,969,016 | 8 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,324 | cpp | PartitionEqualSubsetSum.cpp | // 解法一: 动态规划
// dp[i][j]表示到第i个位置为止, 和为j的子数组的个数
// dp[i][j]有i-1状态的不同j组成, 所以要将i-1减掉后才退化成前一状态
// dp[i][j] = dp[i-1][j] + dp[i-1][j-nums[i-1]], j >= nums[i-1]
// dp[i][j] = dp[i-1][j], j < nums[i-1]
// leetcode testcase太多, 使用bool表示dp[i][j]表示到第ie个位置为止, 和为je的子数组z是否存在
// 寻找子数组使得sum(P) = sum(all) / 2;
// sum(all)奇数则不存在, 偶数则转... |
c89242dca2efbd6f22d73b4d7ec3912f9179d316 | 62b5b927b4ef2da18e47651e07838101fe0b06a3 | /main/MainHelper.cpp | b8e6a8212bf85cb7e7db8448d7ed7f935480422b | [
"Apache-2.0",
"MPL-2.0",
"BSD-3-Clause",
"BSL-1.0",
"LicenseRef-scancode-public-domain",
"MIT",
"Zlib",
"ISC",
"LGPL-2.1-only",
"LicenseRef-scancode-other-permissive",
"BSD-2-Clause",
"MIT-0",
"curl",
"CC0-1.0",
"OpenSSL",
"libtiff",
"BSD-1-Clause",
"LicenseRef-scancode-public-doma... | permissive | jdye64/nifi-minifi-cpp | 10245575dac86cc99074bec85a61bb7eadc76211 | 0553df446aefb395b34c1e4e2b5ced31f07a4e04 | refs/heads/main | 2021-12-14T09:28:59.389156 | 2021-12-01T13:23:32 | 2021-12-01T13:26:13 | 154,844,757 | 2 | 0 | Apache-2.0 | 2018-10-26T14:11:04 | 2018-10-26T14:11:04 | null | UTF-8 | C++ | false | false | 6,299 | cpp | MainHelper.cpp | /**
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you ... |
e028a620036b968b31be4827a879b04644a81371 | 574f5dab606345a6653e1dc743484237d00545b5 | /Source/Diagnostics/FlushFormats/FlushFormatCheckpoint.H | af9372af94944aa05edd4e8f884f13bd5cdc74f9 | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-2-Clause",
"BSD-3-Clause-LBNL"
] | permissive | RemiLehe/WarpX | d432f158707f757aed54cd6149e32f1f3389fee9 | 906a078e1c1817ee2940bc6f0c4a35ce2b9cdac6 | refs/heads/master | 2023-08-31T10:19:27.940439 | 2020-04-30T18:18:27 | 2020-04-30T18:18:27 | 151,156,406 | 1 | 3 | NOASSERTION | 2019-09-09T20:53:06 | 2018-10-01T20:41:14 | C++ | UTF-8 | C++ | false | false | 889 | h | FlushFormatCheckpoint.H | #ifndef WARPX_FLUSHFORMATCHECKPOINT_H_
#define WARPX_FLUSHFORMATCHECKPOINT_H_
#include "FlushFormatPlotfile.H"
class FlushFormatCheckpoint final : public FlushFormatPlotfile
{
/** Flush fields and particles to plotfile */
virtual void WriteToFile (
const amrex::Vector<std::string> varnames,
co... |
0ddaa9d45e17b0e4ea03663b9343e0359cac647b | 825db217404a1c572744c5a1deb64c4ea1d3cb0c | /base/process/info.cpp | ba666e685545ecb9900963bc1088758b27129089 | [
"BSD-3-Clause"
] | permissive | luciouskami/libbase | 0898937955949307f960942c91ac7b6ecff32583 | 89dc13b0eab4d6a48e74c99254b025a15b875ee0 | refs/heads/main | 2023-08-21T10:20:12.711062 | 2021-10-13T15:11:30 | 2021-10-13T15:11:30 | 416,329,998 | 0 | 0 | BSD-3-Clause | 2021-10-13T15:05:36 | 2021-10-12T12:33:16 | C++ | UTF-8 | C++ | false | false | 5,172 | cpp | info.cpp | // Copyright 2021 The Tapirus-Team 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 "base/universal.inl"
namespace base::process
{
// Reference: https://github.com/chromium/chromium/blob/master/base/process/process_info... |
1642f71a790ed17b238d836538161fe27f7a5a69 | b30fa1ec4e5d21437ee69ad5cbebf218d67cb101 | /TGE/tween/tgTweens.h | 1b81e6fdd2aa8cf54ddff2b7c9e7be4209cfa561 | [] | no_license | DCubix/TGE | 7753e997a7f59c968f83f79eabae8a7a7caf2694 | aca3d9c4cddec779d6801ed1f3705be4d2b48b56 | refs/heads/master | 2021-01-22T20:40:15.950565 | 2017-04-06T17:19:34 | 2017-04-06T17:19:34 | 85,341,356 | 0 | 0 | null | 2017-03-24T02:04:32 | 2017-03-17T18:06:50 | C | UTF-8 | C++ | false | false | 5,233 | h | tgTweens.h | #ifndef TWEENS_H
#define TWEENS_H
#include <vector>
#include <string>
#include <cmath>
#define PI 3.141592654f
#include "tgTween.h"
#define TG_EASE_FUNC_PARAMS float t, float b, float c, float d
#define TG_EASE_FUNC_DEF(inout, name) \
static float ease##inout##name(TG_EASE_FUNC_PARAMS)
class tgTweens {
public:
s... |
74fcb7588a819a00a594540de59b0b353f38cdff | 80ad2baf1b70e5b853799ea24720dbdbf874357c | /include/visionaray/math/sphere.h | 7add6b879aa2f16fc51fc48a98e23467e9fef5de | [
"MIT"
] | permissive | cstollw/visionaray | 9f87e1c6069b24b254b378ff1820b88976a4a089 | 2981ee59a3c913a9ebf3221d409eaf2398384bec | refs/heads/master | 2020-12-25T22:47:26.470408 | 2015-04-24T09:48:50 | 2015-04-24T09:48:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 475 | h | sphere.h | // This file is distributed under the MIT license.
// See the LICENSE file for details.
#ifndef VSNRAY_MATH_SPHERE_H
#define VSNRAY_MATH_SPHERE_H
#include "primitive.h"
#include "vector.h"
namespace MATH_NAMESPACE
{
template <typename T, typename P>
class basic_sphere : public primitive<P>
{
public:
typedef T ... |
0f4439cce0a2f0f93cae6676636fe0797f748e11 | ebffd1f7ea9c974890ae82d32aac0e07ab613d0c | /Problem17_07.cc | 5ca9bb7eb3ee1355aa17fe0b36c6b75936e80ab6 | [
"MIT"
] | permissive | ucarlos/Programming-Principles-Chapter17 | 5763438c4fc3a5f0e649bd0a1521155bbe03d7a1 | a3da861da8be79f16466da7fab22f54ab736a4a3 | refs/heads/master | 2023-03-07T18:48:59.067841 | 2021-02-23T19:36:56 | 2021-02-23T19:36:56 | 291,394,687 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 807 | cc | Problem17_07.cc | /*
* -----------------------------------------------------------------------------
* Created by Ulysses Carlos on 01/01/2020
*
* Problem17_07
* Write a program that reads characters from cin into an array that you
* allocate on the free store. Read individual characters until an exclamation
* mark (!) is enter... |
eb1bc8ba4bbc3de8cde01613df7941dde2be2520 | 02f9f44328dad647cb08dfdfd033b9d751c70560 | /아두이노 파일_LCD/ver5_16평문_LCD적용/ver5_slave/ver5_slave.ino | ffc12d2078f9f689331df996c95dfe53420f7a0d | [] | no_license | ewha-ende/2019_arduino_JolP | 72c30b79d1eabd1acb2d17bfc6d4ae36ee2b41cd | 665ed5d1b816bd98e553b013c046ab26e4da8137 | refs/heads/master | 2020-04-29T03:11:55.575358 | 2019-11-22T04:34:41 | 2019-11-22T04:34:41 | 175,800,049 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,810 | ino | ver5_slave.ino | #include <uECC.h>
#include <AES.h>
#include <stdarg.h>
#include <EEPROM.h>
#define NUM_ECC_DIGITS 24
AES aes ;
#include <Wire.h>
#include <LiquidCrystal_I2C.h>
#include <SoftwareSerial.h>
SoftwareSerial mySerial(10, 11); // RX, TX
LiquidCrystal_I2C lcd(0x27,16,2); // set the LCD address to 0x27 for a 16 chars and 2... |
486d5e84eea1d93c0947f8de9acaf5e93df5408f | 3c0d18b8723d67b8495eb6cb81d95d36341b573b | /Codeforces/present from lena.cpp | 2dd95269c72fd92cd5384c9c52190e1c5de2b07c | [] | no_license | tahmid108/Tahmid-s-Codes | c3128b5b4843ad888e80b57a565739bc742a88ed | ff80ee6d9de4c961a55353b4ded447c6e9bd7431 | refs/heads/master | 2023-02-13T18:10:13.388262 | 2021-01-08T15:38:52 | 2021-01-08T15:38:52 | 327,944,373 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 340 | cpp | present from lena.cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
int n;
cin >> n;
int x=n;
for(int j=-n;j<=n;j++)
{
int cnt= n-abs(j);
for(int i=0;i<abs(j);i++)
{
cout << " ";
}
for(int i=0;i<cnt;i++)
{
cout << i <<" ";
}
for(int i=cnt;i>0;i--)
{
cout << i << " ";
}
cout... |
f001334b553f571be519f24835c5d76bbab6051f | 20c4e9987833b4dffe6d0c6802a1dc43b74ac728 | /C and C++/Others/find_minimum_range.cpp | 4937570e728dbd8b43d670092f603a1964b6d78a | [] | no_license | tg9963/CPP_files | c54aa57e3fdf3e3301b228f42a71a95210e71932 | 52e6da1e15c70501d290d955abfe8555261e2a34 | refs/heads/master | 2021-01-19T08:43:15.976534 | 2015-06-10T11:00:25 | 2015-06-10T11:00:25 | 34,978,103 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,029 | cpp | find_minimum_range.cpp | #include<iostream>
#include<stdlib.h>
#include<limits>
#include<algorithm>
#include<stack>
using namespace std;
struct node
{
int data;
int i;
};
void find_minimum_range(struct node arr[],int n,int k)
{
int i=0;
int range;
int min_range=INT_MAX;
int op[3];
for(int i=0;i<n;i++)
{
}
}
int comp(const void* ... |
a2b1806dfa4440ca4a2c06c020ca967a053eb06d | a3d6556180e74af7b555f8d47d3fea55b94bcbda | /components/allocation_recorder/crash_handler/stream_data_source_factory_unittest.cc | 3c25fb706669f0bbc26ee73b3070be73d6ca6149 | [
"BSD-3-Clause"
] | permissive | chromium/chromium | aaa9eda10115b50b0616d2f1aed5ef35d1d779d6 | a401d6cf4f7bf0e2d2e964c512ebb923c3d8832c | refs/heads/main | 2023-08-24T00:35:12.585945 | 2023-08-23T22:01:11 | 2023-08-23T22:01:11 | 120,360,765 | 17,408 | 7,102 | BSD-3-Clause | 2023-09-10T23:44:27 | 2018-02-05T20:55:32 | null | UTF-8 | C++ | false | false | 3,205 | cc | stream_data_source_factory_unittest.cc | // Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/allocation_recorder/crash_handler/stream_data_source_factory.h"
#include <vector>
#include "base/debug/allocation_trace.h"
#include "components/allocatio... |
da1b5fb23bd1c1a58e50cb01627abee5189a82d4 | e34dcb6dbd08c9147672c769f94d15adaf3e83b0 | /Graphics/Src/SceneStuff/TransformNode.cpp | 83f3d11650bef7d911a88b890ead58d0cb2f7e0d | [] | no_license | arorabharat144/WOWGE | 413558b105202db739a3a80c27771a719da502db | e3593cbf82c84ca0472b432ba3e4f1a043669258 | refs/heads/master | 2022-01-07T08:47:46.050012 | 2019-05-11T18:29:23 | 2019-05-11T18:29:23 | 186,168,240 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,315 | cpp | TransformNode.cpp | //====================================================================================================
// Filename: TransformNode.cpp
//====================================================================================================
//================================================================================... |
42ec7fe99b6c23458ebef21d8f0122868a2910e8 | 19331b29c6e8a497e070ffa24c4219e0e7ed76d1 | /shadymatrix_square.cpp | 97bab328016892f3ff246e6ca969592b7c851104 | [] | no_license | qm210/shadymatrix | 65947696941d44412c2ea2a692aa4ce7b255501c | e93307352c5b376b14aee60dd643e3632c85423c | refs/heads/master | 2020-11-24T16:52:00.394377 | 2020-04-22T17:08:54 | 2020-04-22T17:08:54 | 228,257,603 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,298 | cpp | shadymatrix_square.cpp | #include <stdio.h>
#include <cmath>
#include <cstring>
#include <SDL2/SDL.h>
#include <SDL2/SDL2_gfxPrimitives.h>
#include <vector>
#include "LED_WS.h"
#include "pixel.h"
#include "helper.h"
#define PI 3.141592
#define numpix P.size()
const float distance_LED_in_cm = 100. / 60.;
const float distance_LED_in_m = 0.01 *... |
e0dbc239aaafeb02d422023bc34bc9a989b2fd9a | 5509f6980f6b2f741cf3030ceab95cdf6dd16746 | /lap_trinh_huong_doi_tuong/kiem_tra_lan_2/pham_thi_hoai_058_bai_1.cpp | 0b08f3fe858db743042ca37f8352073fa72b410f | [] | no_license | phamhoai0404/Code_Dau | a160c87627d9fd61e8481578448bdf7737fd57cd | 5d9854d18f8cb3b8b323c974dd0620b45a45bc8a | refs/heads/master | 2023-07-14T14:38:29.624652 | 2021-08-12T15:03:48 | 2021-08-12T15:03:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,563 | cpp | pham_thi_hoai_058_bai_1.cpp | #include <iostream>
#include <stdio.h>
#include "conio.h"
#include<windows.h>
using namespace std;
class PHUONGTRINH
{
private:
float a,b;
public:
PHUONGTRINH(float x,float y)
{
a=x;
b=y;
}
PHUONGTRINH()
{
a=0;
b=0;
... |
ff66e22e46044c5bcc7a6c9f19d347a8f01970e5 | 85f46313dd8421ff909cd840e9720619e2b30564 | /Earth.cpp | ae2841481ea3d80fcf20ad8608734f0c7bfa8ca0 | [] | no_license | lilCentipede/Philosophers-Stone | 6386903d5e3cd54a9af996e6bf1d92b2499e7050 | 71d0f17a29ccf897be06262388a6ed5bc72ce6cd | refs/heads/master | 2022-07-20T02:14:38.111809 | 2020-05-26T10:20:21 | 2020-05-26T10:20:21 | 266,819,787 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 286 | cpp | Earth.cpp | #include "Earth.h"
bool Earth::reactwithFire() { return true; }
bool Earth::reactwithAir() { return true; }
bool Earth::reactwithWater() { return true; }
bool Earth::reactwithMe(Element* el) {
return el->reactwithEarth();
}
Element* Earth::copy() {
return new Earth(*this);
} |
665343f323d4d70fd627fcc1341bab95c6bd7dec | 33ff3b40100bf04eb2f25ccf924f4ee572da8978 | /BSSN_GR/include/psi4.h | de98749120765ce3a2b43fa6de2d8bb850ff90f0 | [
"MIT"
] | permissive | paralab/Dendro-GR | 59b65fc04cc31e628d44a92ce9b61585c41d09ce | 1316bf3f219557c3c11b8acdd0c446e4e02f72dc | refs/heads/master | 2023-08-18T05:48:03.715725 | 2023-06-29T14:11:52 | 2023-06-29T14:11:52 | 137,814,094 | 40 | 13 | MIT | 2023-06-28T18:55:39 | 2018-06-18T22:41:02 | C | UTF-8 | C++ | false | false | 506 | h | psi4.h | #ifndef PHYSCON_H
#define PHYSCON_H
#include <iostream>
#include "parameters.h"
#include "grUtils.h"
#include "derivs.h"
#define deriv_x deriv42_x
#define deriv_y deriv42_y
#define deriv_z deriv42_z
#define deriv_xx deriv42_xx
#define deriv_yy deriv42_yy
#define deriv_zz deriv42_zz
void psi4( double **uZipConVars, ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.