blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 7 100 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 260
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 11.4k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 17
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 80
values | src_encoding stringclasses 28
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 8 9.86M | extension stringclasses 52
values | content stringlengths 8 9.86M | authors listlengths 1 1 | author stringlengths 0 119 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
24e229139b7a8ef91c67972f63daa0b3cbd4c3d4 | 9bf237b47591f0faae6ef3935be2012584eff1cb | /TextureFileEnumerater/TextureFileEnumerater.cpp | ecd6bdcbac55fd483f37ce7f19af98e1615db9ef | [] | no_license | Alex-Chang/FileAnlayzer | d1492e94a912c50325e0857c1735989ec5b6c459 | 65e74fd7300cd77027ad6b708d273be314130270 | refs/heads/master | 2020-04-05T23:26:48.565619 | 2012-10-09T12:46:12 | 2012-10-09T12:46:12 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,240 | cpp | // TextureFileEnumerater.cpp : 定义 DLL 应用程序的导出函数。
//
#include "stdafx.h"
#include "TextureFileEnumerater.h"
#include "../Common/FileHelper.h"
void TextureFileEmumerater::run()
{
string currentPath = FileSystem::getCurrentPath();
FileList fileList;
StringList textureFileList;
FileSystem::getAllFileInPath(fileList, ... | [
"zhangjian19890218@163.com"
] | zhangjian19890218@163.com |
491518bb1f9e4dfe98d4e5c1360d10ef4642fd29 | 43a54d76227b48d851a11cc30bbe4212f59e1154 | /ssa/src/v20180608/model/SaDivulgeDataQueryPubResponse.cpp | e33efb9124e820c0c334608b5577545c76afaf25 | [
"Apache-2.0"
] | permissive | make1122/tencentcloud-sdk-cpp | 175ce4d143c90d7ea06f2034dabdb348697a6c1c | 2af6954b2ee6c9c9f61489472b800c8ce00fb949 | refs/heads/master | 2023-06-04T03:18:47.169750 | 2021-06-18T03:00:01 | 2021-06-18T03:00:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,161 | cpp | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... | [
"tencentcloudapi@tenent.com"
] | tencentcloudapi@tenent.com |
63f2c756e6be00c72da156df42fb98c4ada59760 | 9ee78a31eddfad1c29974e4c0174e0864a1c8dd4 | /CodeUp/1020번.cpp | 669e53896584083fe5bcd29765b80246d610143f | [] | no_license | jingeo1025/Algorithm | e6c84d30fd9cfef21100ed6a6285f2c46cc6de0b | 13a826ca0159f267cc8fee130558265d85b9ebfa | refs/heads/main | 2023-04-30T03:11:54.854844 | 2021-05-26T10:24:54 | 2021-05-26T10:24:54 | 368,077,550 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 115 | cpp | #include <iostream>
int main() {
int a, b;
scanf("%d-%d", &a, &b);
printf("%.6d%.7d", a, b);
return 0;
}
| [
"noreply@github.com"
] | noreply@github.com |
2d96e14c2b28dcbd18d2fa1b9a46ebb62a2331bc | 7de775f67c84b66a32e29237f608f9f17caf0adb | /src/simulation.integration/implementations/ImplicitEuler.h | 5986c9b0e4332c1018fd8e78bc467646cc755779 | [
"MIT"
] | permissive | toeb/sine | d616f21b9a4ff18d8b1b1d5e9e5a21a8ee7aec04 | 96bcde571218f89a2b0b3cc51c19ad2b7be89c13 | refs/heads/master | 2016-09-05T19:17:07.891203 | 2015-03-20T07:13:45 | 2015-03-20T07:13:45 | 32,568,082 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,631 | h | /*
* Copyright (C) 2011
* Simulation, Systems Optimization and Robotics Group (SIM)
* Technische Universitaet Darmstadt
* Hochschulstr. 10
* 64289 Darmstadt, Germany
* www.sim.tu-darmstadt.de
*
* This file is part of the mbslib.
* All rights are reserved by the copyright holder.
*
* The mbslib is distributed... | [
"toeb@c65b9dfa-2e9b-4d30-9b60-b5bbc3021b56"
] | toeb@c65b9dfa-2e9b-4d30-9b60-b5bbc3021b56 |
ec24b785dcde930877693f23f4cfc3b8fd283b5e | d5991ab18b6fb8ec8421b02afa317064f6b3b583 | /Projectile.cpp | 83ddcc8e89c91d5a6d409fdb8612734363767096 | [
"CC0-1.0"
] | permissive | atoledanoh/Frogger2020 | dc30c04e22d2e00dbfcfb597528bee4ada2a7ecb | 23e29da4d1e30b0e158b05fa690531660415f715 | refs/heads/main | 2023-01-30T06:19:52.573311 | 2020-12-12T03:20:37 | 2020-12-12T03:20:37 | 320,738,011 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,220 | cpp | #include "Projectile.h"
#include "DataTables.h"
#include "Utility.h"
#include <SFML/Graphics/RenderWindow.hpp>
#include <cmath>
#include <iostream>
#include "EmitterNode.h"
namespace {
const std::map<Projectile::Type, ProjectileData> TABLE = initializeProjectileData();
}
Projectile::Projectile(Type type, const Te... | [
"a.toledanoh@gmail.com"
] | a.toledanoh@gmail.com |
d5246171f173457a2dc572c4bde52ce5868524bb | 9324cb559c509753d3a2f6467ccb6616de58af05 | /fboss/agent/hw/bcm/tests/BcmRtag7Test.cpp | f363ac58c61f8be3628f7e72f6017725c6dc5ce4 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | rsunkad/fboss | 4b39eefa3851bd9e415403d28a28290838dea22f | 760255f88fdaeb7f12d092a41362acf1e9a45bbb | refs/heads/main | 2023-07-24T10:39:48.865411 | 2021-09-08T18:58:30 | 2021-09-08T18:59:40 | 404,465,680 | 0 | 0 | NOASSERTION | 2021-09-08T19:09:20 | 2021-09-08T19:09:19 | null | UTF-8 | C++ | false | false | 10,621 | cpp | /*
* Copyright (c) 2004-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
*/
#inc... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
86f3e6f89beb1db7c422fef02c31fb70c1bc0245 | 60c275f5670d8a509421dbe53a704cdf85289035 | /LeetCode/67_Add_Binary/main.cpp | fb066f56943921d3ae852f5c282f1f6a24d608a1 | [
"MIT"
] | permissive | Cutyroach/Solve_Algorithms | f02f03c5ad146550b136e19292a3599b2eff6702 | 97d9f8bb65055fe5ad62d108a9359b91f0f40c49 | refs/heads/master | 2023-03-02T21:27:03.214056 | 2021-02-09T23:58:47 | 2021-02-09T23:58:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,456 | cpp | /**
* Runtime: 0 ms, faster than 100.00% of C++ online submissions for Add Binary.
* Memory Usage: 6.2 MB, less than 100.00% of C++ online submissions for Add Binary.
*/
class Solution {
public:
string addBinary(string a, string b) {
for (int i = 0; i < a.size() / 2; i++) {
char tmp = a[i];
... | [
"spe0678@gmail.com"
] | spe0678@gmail.com |
2aaf151908ec1f858a5441580da8bd7732315937 | bdf380de8e928693a8332711a3795a1d70f8fc69 | /constants.hpp | 89dc5482efa9ef6b974a69f124ce9a74761081c4 | [] | no_license | fjdu/chempl | e69cd29781689f57a53269810e5764b44275ffc3 | fca959a9959be33bb9bec5f86b2da14a23eb2803 | refs/heads/master | 2023-08-26T12:09:20.770430 | 2021-10-22T04:21:59 | 2021-10-22T04:21:59 | 248,031,308 | 6 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,635 | hpp | #ifndef CONST_H
#define CONST_H
#include <map>
#include <string>
namespace CONST {
extern "C" {
extern std::map<std::string, double> element_masses;
extern const double PI;
extern const double PI_div_2;
extern const double PI_mul_2;
extern const double SQRT2PI;
extern const double LN10;
extern const double phy_ele... | [
"fujun.du@gmail.com"
] | fujun.du@gmail.com |
40abc81283e0438df85e61aeaf632efe854abd3e | 1c249aadf837aa71fc5fea9508ded990367f01ff | /DesignPatterns/Bridge/Bridge/Bridge.cpp | 8b4837aeee1ff4433056e65a5715c5e240c9ba81 | [] | no_license | MYOUTCR/DesignPatterns | 91c9b6146e6961095e26f4c3ef381b3f59ea8977 | 5a8e0c4b967a0d093285598e333ac111ca29309d | refs/heads/master | 2020-03-31T21:51:10.813574 | 2020-01-05T12:23:08 | 2020-01-05T12:23:08 | 152,596,101 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 338 | cpp | // Bridge.cpp : 定义控制台应用程序的入口点。
//
#include "stdafx.h"
#include "Bridge.h"
int main()
{
Shape *redCircle = new Circle(100, 100, 10, new RedCircle());
Shape *greenCircle = new Circle(100, 100, 10, new GreenCircle());
redCircle->draw();
greenCircle->draw();
getchar();
return 0;
}
| [
"cn_yhm@163.com"
] | cn_yhm@163.com |
3c81c8f14c0e86ffc4a42bddb0db8eadc9a0314b | d160bb839227b14bb25e6b1b70c8dffb8d270274 | /MCMS/Main/Libs/McmsCurlLib/CurlSoap.cpp | 7e7601922c4ecd762762742b2b4875932c12cccc | [] | no_license | somesh-ballia/mcms | 62a58baffee123a2af427b21fa7979beb1e39dd3 | 41aaa87d5f3b38bc186749861140fef464ddadd4 | refs/heads/master | 2020-12-02T22:04:46.442309 | 2017-07-03T06:02:21 | 2017-07-03T06:02:21 | 96,075,113 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,272 | cpp | /*
* CurlSoap.cpp
*
* Created on: Jun 17, 2009
* Author: kobi
*/
#include "CurlSoap.h"
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <curl/curl.h>
#include "Trace.h"
#include "TraceStream.h"
#include "ProcessBase.h"
#include "SysConfig.h"
////////////////////////... | [
"somesh.ballia@gmail.com"
] | somesh.ballia@gmail.com |
210361c1369473a1de2ff87fa360d21f3b056f35 | 4b1063e24b83896463a53dd0e2a0fef8c2ae29a3 | /QMediaLearner/gui/dialogs/ExportVideoDialog.cpp | 0301f081d4036d5fca861a451fb6bac43e33e05d | [] | no_license | cedrix57/QMediaLearner | 00c1750fa5afe8fc2a1ff3245e44d27db710fa9f | 2ca936190987cc67bdd03c4b1c09acbe504d6b8f | refs/heads/master | 2016-09-05T10:51:17.796726 | 2014-01-01T01:01:18 | 2014-01-01T01:01:18 | 12,093,828 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,762 | cpp | #include "ExportVideoDialog.h"
#include "ui_ExportVideoDialog.h"
#include <QFileDialog>
#include <QMessageBox>
#include <SettingsManagerSingleton.h>
//====================================
ExportVideoDialog::ExportVideoDialog(
ML::MediaLearnerLib
*mediaLearner,
QWidget *parent) :
QDialog(par... | [
"bcedrix@gmail.com"
] | bcedrix@gmail.com |
b58baf6e456da44ea33946f2cc8f8a6b91119a7f | e320855ed72cdb446366371e9b8b94f8f2ab9dc4 | /baseView.h | 61634d2e9c637ec6435e7b6a9634711d939e7b8b | [] | no_license | yourcaptain/rsa_encryption_sample | 368179b7cb1ea766c1a2bf088e50922ff0e5226c | fcbbfd0b1ebf9ca111ee889fdbcddd81ee52c2cb | refs/heads/master | 2021-01-16T22:30:43.682217 | 2016-09-19T05:53:06 | 2016-09-19T05:53:06 | 68,573,320 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 2,862 | h | // baseView.h : interface of the CBaseView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_BASEVIEW_H__FE5B55F7_2799_4E08_8C74_660C333B4DB5__INCLUDED_)
#define AFX_BASEVIEW_H__FE5B55F7_2799_4E08_8C74_660C333B4DB5__INCLUDED_
#if _MSC_VER > 1000
#pragma on... | [
"yuan.aiqing@gmail.com"
] | yuan.aiqing@gmail.com |
fdb38d44eb1cf0251b5e617dee393a6edad4d097 | d5200712c2e5485fc122b608161eac50d8abedff | /CodeForces/CF797E.cpp | 10bc3a6123cf7505ad5f4a50abe68bdc1f634186 | [] | no_license | CSHwang4869/Online-Judge-Solutions | 0f416b219616d7eb2d1e979b4690491c17230597 | f5e6e3f9722b660955b97e147e14817270c169c4 | refs/heads/master | 2021-09-26T08:01:39.141055 | 2021-09-17T06:09:18 | 2021-09-17T06:09:18 | 150,004,099 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,221 | cpp | #include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <algorithm>
#define DEBUG printf("Passing [%s] in Line %d\n" , __FUNCTION__ , __LINE__) ;
const int MAX_N = 1e5 + 10 ;
struct Query {
int p , k , idx , ans ;
}que[MAX_N] ;
int n , m , block , a[MAX_N] , f[MAX_N] ;
bool cmp1(Query x , Query y) {retu... | [
"cshwang4869@outlook.com"
] | cshwang4869@outlook.com |
c618b164287bd99bc8f493b59cb4c4471dbcafba | 223c83d90308a94c3c0df8580aafe558f082d1ec | /Lumen_Engine/LumenPT/vendor/Include/Cuda/thrust/version.h | a79b369c1d0911c8a897d9b62a5b5d59f04224a0 | [] | no_license | LumenPT/LumenRenderer | 79ca9ebe423afbaff09c5f565ba99bc57ef96dc0 | fcf147af8339dc9a77695a668cbb2d963f918c72 | refs/heads/main | 2023-06-20T08:31:53.145932 | 2021-07-02T10:23:37 | 2021-07-02T10:23:37 | 315,650,016 | 19 | 3 | null | 2021-07-01T15:45:49 | 2020-11-24T14:02:52 | C++ | UTF-8 | C++ | false | false | 2,949 | h | /*
* Copyright 2008-2013 NVIDIA Corporation
*
* 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... | [
"44769712+AlphaAlexRed@users.noreply.github.com"
] | 44769712+AlphaAlexRed@users.noreply.github.com |
13dea2d29e4317870b6d7c0b7e7313e87b0743af | e12b5ffa7153c58c16e25cd4475189f56e4eb9d1 | /Explanation2/P3371.cpp | 943cb098369b15081f68028b66d16769d497dee3 | [] | no_license | hhhnnn2112-Home/NOI-ACcode-Explanation | ef1cdf60504b3bd01ba96f93519dde5aa1aec7ad | 821b08584b804a2ae425f3f7294cc99bd87c9f5b | refs/heads/main | 2023-02-01T02:20:00.421990 | 2020-12-15T10:11:22 | 2020-12-15T10:11:22 | 321,634,613 | 1 | 0 | null | 2020-12-15T10:36:22 | 2020-12-15T10:36:21 | null | UTF-8 | C++ | false | false | 869 | cpp | #include<bits/stdc++.h>
using namespace std;
const int N=10000+10;
const int M=500000+10;
int d[N];
int cnt,head[N],ver[M],nxt[M],edge[M];
void add(int x,int y,int z)
{
ver[++cnt]=y;
nxt[cnt]=head[x];
head[x]=cnt;
edge[cnt]=z;
}
bool v[N];
void spfa(int s)
{
queue<int>q;
v[s]=1;
d[s]=0;
q.pus... | [
"48145116+hhhnnn2112@users.noreply.github.com"
] | 48145116+hhhnnn2112@users.noreply.github.com |
3e16e695dbe6f4b266a5f77930b499a2699e4e44 | 8cc641da73d9fd9b84c32ccf1c55817f0ca715ad | /src/ADTF_filter/DH_laneAssistant/stdafx.h | 2f61908ad774de996f732f5d6da10d71c9ce56e1 | [] | no_license | jackiecx/AADC_2015_DrivingHorse | 15b451f372ad26e3c8ce127aa5d7a8b18a9b9ad4 | 3e2c9893eafc802c64f19ea31c5d43224c56dbbf | refs/heads/master | 2021-05-30T13:31:28.844918 | 2015-09-12T13:11:36 | 2015-09-12T13:11:36 | 53,236,408 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 484 | h | #ifndef __STD_INCLUDES_HEADER
#define __STD_INCLUDES_HEADER
// ADTF header
#include <adtf_platform_inc.h>
#include <adtf_plugin_sdk.h>
using namespace adtf;
#include <adtf_graphics.h>
using namespace adtf_graphics;
#include <cmath>
// opencv header
#include <opencv/cv.h>
#include <opencv2/core/core.h... | [
"nicolai.behmann@ims.uni-hannover.de"
] | nicolai.behmann@ims.uni-hannover.de |
cef7d3f837d42392c87c9d2fd20ef02833ba9699 | 8f45bbe83d3cd59e5bf7d05aab5e6f98c0859079 | /TP3/Data/Data.h | f3c9c98a1a3ac0e18c96c9539413beed7ba17b26 | [] | no_license | jesimonbarreto/poo | 261ff3c09d1125c561623cf10d4e60df7cb4cd18 | b2cacc8d8661d6d34b2aa144acaa52a91b2c9420 | refs/heads/main | 2023-03-27T19:32:06.383362 | 2021-03-14T20:00:26 | 2021-03-14T20:00:26 | 347,717,124 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,115 | h | //CONVERTE ANO E MÊS EM DIAS, SOMA E SUBTRAI DIAS, MESES E ANOS À UMA DATA
#ifndef DATA_H
#define DATA_H
#include <iostream>
#include <string>
#include <sstream>
using namespace std;
class Data {
int dia,mes,ano;
string formato;
char separador='/';
public:
Data(string formato_data, string data... | [
"jesimonbarreto@gmail.com"
] | jesimonbarreto@gmail.com |
fc02bfd980cebb0c004353bbd5aa32c7e17b5abd | f17f190d1802050d11add00b505993dd39c32e65 | /branch and bound/Graph Coloring.cpp | 4c8cfb2a626773f71d424b1069f42adb272be56b | [] | no_license | Dristy03/AlgorithmCourse-codes | 2f72c7fadcb7870fe1d93af39c02b009869d3dbb | 521d9f043f914be1050db5a41e21fefa13dca552 | refs/heads/master | 2023-06-18T14:33:56.180248 | 2021-07-13T18:58:39 | 2021-07-13T18:58:39 | 377,518,183 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,160 | cpp | #include<bits/stdc++.h>
using namespace std;
int vis[100], col[100];
set<int> st[100];
vector <int> graph[100];
int n,m;
void bfs()
{
int cnt=0,i;
int mx=-1,pos=-1;
for(i=1;i<=n;i++)
{
if(vis[i]) {
cnt++;
continue;
}
if((int)st[i].size()>mx)
{
... | [
"anannadristy03@gmail.com"
] | anannadristy03@gmail.com |
e5c9ff336e09930b7cb5178ced32261a25cef764 | 29ff542fc0ed3b45334bdb522bd132e1ac424728 | /tools/z3/src/tactic/arith/lia2pb_tactic.cpp | 178ace7fdfbc2e8978e946dde247d9c4c7241001 | [
"MIT"
] | permissive | diverse-project/samplingfm | e7de9df8b71f5e621ce0d112d57173f1c88d001a | ffd0cd7755eddbe3adfe00cee5ffff2703bb39a6 | refs/heads/master | 2020-04-18T02:58:51.937550 | 2019-01-23T13:08:12 | 2019-01-23T13:08:12 | 167,182,803 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,993 | cpp | /*++
Copyright (c) 2012 Microsoft Corporation
Module Name:
lia2pb_tactic.cpp
Abstract:
Reduce bounded LIA benchmark into 0-1 LIA benchmark.
Author:
Leonardo de Moura (leonardo) 2012-02-07.
Revision History:
--*/
#include "tactic/tactical.h"
#include "tactic/arith/bound_manager.h"
#include "ast/rewri... | [
"mathieu.acher@irisa.fr"
] | mathieu.acher@irisa.fr |
c5bd847e6e252a512c37c27985722904b075a6d5 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/httpd/gumtree/httpd_patch_hunk_341.cpp | 4aa29eac7ee095a7e2c410eeeab7f55e586dc0bd | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,203 | cpp | if ((rv & APR_POLLERR) || (rv & APR_POLLNVAL)) {
bad++;
err_except++;
start_connect(c);
continue;
}
- if (rv & APR_POLLOUT)
- write_request(c);
+ if (rv & APR_POLLOUT) {
+ if (c->state == STATE_CONNECTING) {
+ apr_pollfd_t remove_pollfd;
+ ... | [
"993273596@qq.com"
] | 993273596@qq.com |
af5a6c8c07df522f748934ecffce6b9b5fea396c | aeb829572bff97b016a6a0b4088d4faf4682102c | /Iterators/Functions/Creating_Multidimensional_Containers.cpp | 2c9efbab9494da07eeb866560863dd633f090453 | [] | no_license | Engineer2B/edX-Advanced-Cpp | 149e2de698be69a1287358308937bf86408aa222 | 0a92fb81755859ff10063d7804ffa012d457812e | refs/heads/master | 2020-03-30T07:54:40.168988 | 2018-10-02T17:04:06 | 2018-10-02T17:04:06 | 150,973,953 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,573 | cpp | #include <vector>
#include <iostream>
using namespace std;
template <size_t dimcount, typename T, size_t vecSize>
class multiVector
{
private:
std::vector<multiVector<dimcount - 1, T, vecSize>> vec;
public:
multiVector() : vec(vecSize)
{
multiVector<dimcount - 1, T, vecSize>();
}
const multiVector<dimcount -... | [
"borisbreuer1@gmail.com"
] | borisbreuer1@gmail.com |
c90ed272f2474869140c82ce79265bb824c46681 | c2771549f2eba083d69467d4355cc56015d38248 | /cpp/jan2017_mcs360/wk2/fr/use_phonebook2.cpp | 61ba5a20c78ac1a7a3f73821adb19d3ffa5284b1 | [] | no_license | usapes2/evening_coding | 173726329ba2ad3f0e1f2bdf4a33607889c2bbb4 | 6e410e618cb35bbae89f439a655d1e58852ee740 | refs/heads/master | 2021-01-24T03:43:27.230307 | 2018-08-26T23:36:28 | 2018-08-26T23:36:28 | 122,902,484 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,165 | cpp | /*// L-5 MCS 360 Fri 8 Sep 2017 : use_phonebook2.cpp
deallocation as a variation of the other program use_phonebook.cpp.
A possible application could be to keep a backup copy of the
phone book when we provide a delete operation.
For this program to execute properly, the file phonebook_data.txt
must be... | [
"usapeshka@gmail.com"
] | usapeshka@gmail.com |
938dd44f5d24beaef4389b291c52c2ace486760b | 11105d96f64b65ea7969ec6986db4f18c4cf65f7 | /src/cubemap/ReflectorShader.cpp | 720e8b62c53863fac6817a48bfdad467c173d265 | [
"LicenseRef-scancode-public-domain",
"Unlicense",
"MIT"
] | permissive | boonto/magnum-examples | 93468e905c036e8b08f0967af6fb04e41ab1abe8 | 3cfbbe5d3c6a244200788a58c950a9e57eaba166 | refs/heads/master | 2020-03-30T05:29:04.904081 | 2018-09-25T11:21:30 | 2018-09-25T11:21:55 | 150,801,666 | 0 | 0 | Unlicense | 2018-09-28T22:45:53 | 2018-09-28T22:45:53 | null | UTF-8 | C++ | false | false | 3,032 | cpp | /*
This file is part of Magnum.
Original authors — credit is appreciated but not required:
2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018 —
Vladimír Vondruš <mosra@centrum.cz>
This is free and unencumbered software released into the public domain.
Anyone is free to copy, mo... | [
"mosra@centrum.cz"
] | mosra@centrum.cz |
d000ca506fe574a2c2200f4dac8754cb3192cfe1 | 2129168436f603b4e54b7a31662b620e64d681de | /Falcor/Framework/Source/API/BlendState.h | 6e7b4c84221be59b279d98e96d6696e4bff46733 | [
"LicenseRef-scancode-public-domain",
"BSD-3-Clause",
"CC-BY-NC-SA-3.0",
"CC-BY-4.0"
] | permissive | FisherDai/GettingStartedWithRTXRayTracing | 31094b8350acb85113d5a4a2bf212208a080177a | 9d13784985913a1c09095c5027c9a798b1f9c64c | refs/heads/master | 2020-04-01T18:02:56.151540 | 2018-10-12T14:39:00 | 2018-10-12T14:39:00 | 153,468,128 | 1 | 0 | BSD-3-Clause | 2018-10-17T14:10:03 | 2018-10-17T14:10:02 | null | UTF-8 | C++ | false | false | 9,611 | h | /***************************************************************************
# Copyright (c) 2015, NVIDIA CORPORATION. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# * Redistributions of sourc... | [
"ehaines@nvidia.com"
] | ehaines@nvidia.com |
7638eb804e3fedb715ba0547aebf359cbc6dea68 | 8320bf99d5f67cdf785c4228fa786f17b11151bf | /cpp/design-patterns/strategy/quack-behaviors/quack-behavior.h | 6e019817d71ba4a19f80f1a98f0d5b1f79afa580 | [] | no_license | timpeihunghsieh/public-repo | 95d10eb1bafdb0e2287fa66a3f5618100b4d7c64 | 188a6c283a39e630221880c3f4d2fa66d55f5ba7 | refs/heads/main | 2023-02-08T14:56:14.050229 | 2020-12-23T22:11:37 | 2020-12-23T22:11:37 | 315,752,523 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 362 | h | #ifndef CPP_DESIGN_PATTERNS_STRATEGY_QUACK_BEHAVIORS_QUACK_BEHAVIOR_H_
#define CPP_DESIGN_PATTERNS_STRATEGY_QUACK_BEHAVIORS_QUACK_BEHAVIOR_H_
#include<iostream>
namespace strategy_pattern {
class QuackBehavior {
public:
virtual void Quack() = 0;
};
} // namespace strategy_pattern
#endif // CPP_DESIGN_PATTERNS_... | [
"kubeuser@gmail.com"
] | kubeuser@gmail.com |
983dd1f4900ff3c7eddcee67984da9d2171ac577 | 22b633c43a0d5b2cd481711a94f27b858fe9a491 | /boggle/board.cpp | 5bed7f30aba489e88a00f27b745a7eeb3dc6bfe1 | [] | no_license | MacroGu/googleTestDemo | 069da09668a485d72b3b75e757f02138747913ec | 5a8ab4ca807c4620719721e77fccbe184a7e6af9 | refs/heads/master | 2021-05-06T08:48:18.498444 | 2017-12-14T06:58:39 | 2017-12-14T06:58:39 | 114,061,428 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,671 | cpp | #include "board.h"
Board::Board()
{
std::get<0>(NEIGHBORS_RANGE) = -1;
std::get<1>(NEIGHBORS_RANGE) = 0;
std::get<2>(NEIGHBORS_RANGE) = 1;
}
Board::~Board()
{
nodesMap.clear();
}
void Board::AddNode(const BoardID& id, const std::string & letter)
{
if (!&id)
{
std::cout << "error id is null " << std::endl;... | [
"macrogu@qq.com"
] | macrogu@qq.com |
41ab2cea5b749b8db9d647996dfe4d58c78dd08a | 2e7097f6af8ff4c176ffcac8cc776df9d432d3aa | /algo/find_missing_positive_unittest.cc | 88daedf894f018515ffa62dc51dbbc56d4f23f05 | [] | no_license | morefreeze/leetcode | 9ce8c49d83c3a554ce4a4e94b0a43d219d4e7769 | 9118c11d1facaa977fb6ecbd2f7cb610a30f76af | refs/heads/master | 2022-05-20T21:55:04.914140 | 2022-05-07T06:27:13 | 2022-05-07T06:27:13 | 36,644,202 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,626 | cc | #include <gtest/gtest.h>
#include "find_missing_positive.cpp"
class FindMissingPositiveTest: public testing::Test{
protected:
Solution sol;
};
TEST_F(FindMissingPositiveTest, Small){
int a[] = {1,2,0};
VI nums(a, a+sizeof(a)/sizeof(a[0]));
EXPECT_EQ(3, sol.firstMissingPositive(nums));
}
TEST_F(... | [
"liuchenxing@acfun.tv"
] | liuchenxing@acfun.tv |
ceac61c13f51a35e310ce1fc2334186f534305cf | 51ab43d536e5e3b963a62601acae52abcf8b326d | /Home/else/binary_search.cpp | 570c111323cdad76d27b3b1d2682f0180efda71d | [] | no_license | NikitaGrebeniuk/cs50 | 1ca740508113ae9978059ef20aa96ad7485d5b7b | e4349ecd540e4c3185318e7b8dbc8253a07cfdf8 | refs/heads/master | 2020-04-17T14:28:55.002184 | 2019-03-31T13:13:23 | 2019-03-31T13:13:23 | 151,932,970 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 674 | cpp | #include <iostream>
#include <algorithm>
#include <vector>
using namespace std;
bool m (int i,int j) { return (i<j); }
int main () {
int a[] = {1,2,3,4,5,4,3,2,1};
vector<int> v(a,a+9);
sort (v.begin(), v.end());
int x;
cin >> x;
int g;
cin >> g;
cout << "Ищу переменную " << x << endl;
if (binary... | [
"user.email"
] | user.email |
5aeb46bbfaf0d5fd84cc4d90c7d9b7c7d89aa113 | b9eed0d5df4aada9a98da8332e7df05c03326778 | /src/week_11/beach.cpp | 410799cf59e4b3567251b90ff9e8753a831d6218 | [] | no_license | dballesteros7/Algolab-HS13 | 2210ba4b466a525f67c6f49603fed6581a7f07c3 | 6206bbbb9dfdad69e294cdc90e94ce45751f0666 | refs/heads/master | 2020-12-30T10:36:39.960057 | 2014-07-31T08:36:19 | 2014-07-31T08:36:19 | 13,175,500 | 5 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,292 | cpp | #include <iostream>
#include <cmath>
#include <vector>
#include <algorithm>
using namespace std;
typedef pair<int, pair<int,int> > Triplet;
struct compare_strict{
bool operator()(const Triplet& a, const Triplet& b) const{
if(a.first > b.first){
return true;
} else if (a.first == b.fir... | [
"diegob@student.ethz.ch"
] | diegob@student.ethz.ch |
35c5e773844e0392fdd6c68d10e31d3467800427 | e47653f7bc03b901e9d8223e19155eac173c2bc8 | /main.cpp | c1b7dc3985c7f1450e7579ad14fdffc1e223a06f | [] | no_license | aslindamood/SudokuBacktracking | 28f157b3b821069050eba76a44a71d433448ce6d | 21b5c031c8a259c46b136731c038273eab2388ea | refs/heads/master | 2020-03-12T08:14:13.774271 | 2019-01-13T23:32:28 | 2019-01-13T23:32:28 | 130,523,141 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 394 | cpp | // Allister Lindamood - aslindamood@alaska.edu
// Peter Trinh - pptrinh@alaska.edu
//
// Homework assignment 4
// 11/16/17
//
// main.cpp
// A test routine for the sudoku CSP-solving algorithms
//
#include "puzzle.hpp"
int main()
{
Puzzle puzzle;
puzzle.readFromFile("tests/17-1.txt");
puz... | [
"noreply@github.com"
] | noreply@github.com |
2bf9e02b23b7c2b8398aafbf1a329dd0082af0c9 | 6f05f7d5a67b6bb87956a22b988067ec772ba966 | /data/train/cpp/26b9c1adf36f4da552909a85cbf3bdd3c51f5fbeUnknownChunk.h | 26b9c1adf36f4da552909a85cbf3bdd3c51f5fbe | [
"MIT"
] | permissive | harshp8l/deep-learning-lang-detection | 93b6d24a38081597c610ecf9b1f3b92c7d669be5 | 2a54293181c1c2b1a2b840ddee4d4d80177efb33 | refs/heads/master | 2020-04-07T18:07:00.697994 | 2018-11-29T23:21:23 | 2018-11-29T23:21:23 | 158,597,498 | 0 | 0 | MIT | 2018-11-21T19:36:42 | 2018-11-21T19:36:41 | null | UTF-8 | C++ | false | false | 513 | h | /*
* File: UnknownChunk.h
* Author: rd
*
* Created on 2 Июнь 2010 г., 22:35
*/
#ifndef _UNKNOWNCHUNK_H
#define _UNKNOWNCHUNK_H
#include "WaveChunk.h"
class UnknownChunk: public WaveChunk {
public:
UnknownChunk();
UnknownChunk(const UnknownChunk& orig);
virtual ~UnknownChunk();
virtual char ... | [
"aliostad+github@gmail.com"
] | aliostad+github@gmail.com |
484c6ba8361f5e9ffa21d9119dd51f15ea4bc2aa | 504fa56796d605107ac43c8a43a794b338079d75 | /hmailserver/source/Server/COM/InterfaceDeliveryQueue.h | 57c3b347b78082f92184795fa7e670ddb59c3cc9 | [] | no_license | bighossbiz/hmailserver | 5877796f95d2c19c34744fdbefb06d819c58410d | 39506daf6b95e554bd3153206eaaf0bd22affdf1 | refs/heads/master | 2021-01-21T04:04:09.604030 | 2014-08-31T13:15:06 | 2014-08-31T13:15:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,268 | h | // Copyright (c) 2010 Martin Knafve / hMailServer.com.
// http://www.hmailserver.com
#pragma once
#include "../hMailServer/resource.h" // main symbols
#include "../hMailServer/hMailServer.h"
// InterfaceDeliveryQueue
class ATL_NO_VTABLE InterfaceDeliveryQueue :
public CComObjectRootEx<CComSingleThreadMod... | [
"knafve@gmail.com"
] | knafve@gmail.com |
7a3d577fe7f9323c93c661a8ac2616aea3b99e92 | d4b4b3f23f7e610507d92f12475b0997e06b5517 | /2ndSem/Lab4/filesystem.h | ca930ee2ee69c1acc02ccbdec946fdd15ebc0206 | [] | no_license | starquell/labs | 2725ce8101d7379c643651a21d88f2eb938bebb7 | 8288a9c2d8a6a0f0ee2ba5fddb3ca28c503766c5 | refs/heads/master | 2020-04-18T18:42:14.055434 | 2020-04-17T14:18:54 | 2020-04-17T14:18:54 | 167,692,397 | 12 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 4,741 | h | #ifndef FILESYSTEM_H
#define FILESYSTEM_H
#include <boost/algorithm/string/split.hpp>
#include <boost/algorithm/string/classification.hpp>
#include <algorithm>
#include <optional>
#include <limits>
#include <regex>
#include "directory.h"
#include "file.h"
struct FilterForm {
std::optional <std::regex> name;
... | [
"illia.gide@gmail.com"
] | illia.gide@gmail.com |
a817b8f10445da3843a1406e95b1e8e3daa4fa47 | 84c3c55ea8a062be80da3eb53634a9de461550c3 | /src/rpcwallet.cpp | ec33150ad6325b9975f4e367d87421d451eebd6f | [
"MIT"
] | permissive | Cryptotest/Cryptotest | ee540e6ed35937db607d8cce7c3560f1deee2b17 | 172d96b94ad3a90aba48ab97c0ad9282c0f7c2f2 | refs/heads/master | 2021-01-01T05:50:23.808279 | 2014-02-04T13:50:12 | 2014-02-04T13:50:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 54,940 | cpp | // Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Copyright (c) 2013-2014 Cryptotest Developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <boost/assign/list_of.hpp>
#... | [
"justkay@Kays-Mac-mini.local"
] | justkay@Kays-Mac-mini.local |
a7b27ad2d5a7b2f29eef1114e5d23ad6c8e0ffe8 | 552e1b1feb898786ece125684a3dd1c2f87b88ac | /Projekt/BigHead/BigHead/Alien.h | f3134695b9303793da28f8e8d4a6e09e9a168b7f | [] | no_license | paweszw608/Cpp | fd0a8d8674c105867c7ee5042658d62ae74222e1 | 3efc4923f7a0c6556f20fd9cf5cacfd0e4f44f5f | refs/heads/master | 2020-04-28T07:34:54.497325 | 2019-03-19T15:31:09 | 2019-03-19T15:31:09 | 175,097,630 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 255 | h | #pragma once
#include "Movealbe.h"
#include "AnimationManager.h"
class Alien : public Moveable<Sprite>
{
public:
Alien();
Alien(Vector2f scale);
~Alien();
void updateAnimation(int index);
private:
AnimationManager alienAnim;
void setAnimations();
}; | [
"millhavenx666@gmail.com"
] | millhavenx666@gmail.com |
fdf8233929b6bfb7336e7162ba4ff1c0da18eb01 | a7123308718ecb8e7df65937d21b0b686e44b459 | /Plugins/Procedural/Source/Procedural/Private/ProceduralModule.cpp | f0fcb1dd9fba5357ee0740e8ebdbc69736d83bbc | [] | no_license | ren19890419/UE4PluginDevCollection | 99cfc6fc9f678de53e6682c14e7745c33c423d3b | 7f85a357350b1f181d64f87b990f830695e70c3e | refs/heads/master | 2022-02-03T20:44:14.857022 | 2019-06-12T04:24:08 | 2019-06-12T04:24:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 740 | cpp | // Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
#include "Procedural.h"
#if WITH_EDITOR
#include "AssetRegistryModule.h"
#include "UnrealEd.h"
#endif
#include "Classes/ArcComponent.h"
#define LOCTEXT_NAMESPACE "FProceduralModule"
void FProceduralModule::StartupModule()
{
#if WITH_EDITOR
if (GUnrealE... | [
"dsotsen@gmail.com"
] | dsotsen@gmail.com |
e6b3a29bec734c7f0fdeb7c3771b739619057cbc | da540288cc194baf0dc4731e6bf621d20def4a10 | /8. Composite/1.1 Composite (Primitives, Composites).cpp | c51dcf696389b1b2ed8395b71dd8b1a77fb4a871 | [] | no_license | Serhiy-Boyko/Design_patterns | 3df7dbe0dda3bc0cf97970c70d2b3980500ebe36 | 09dab45ad4990844b8364017253951c9345d3818 | refs/heads/master | 2021-07-15T17:07:59.570396 | 2020-10-19T10:17:55 | 2020-10-19T10:17:55 | 217,768,599 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,483 | cpp | #include <iostream>
#include <vector>
#include <string>
#include <assert.h>
// Component
class Unit {
protected:
std::string name;
Unit(std::string n) : name(n) {}
public:
virtual void Info() = 0;
virtual int getCount() = 0;
virtual bool PutInside(Unit* p) = 0;
virtual bool checkComposite() = 0;
virtual ~Unit... | [
"Serhiy@ukr.net"
] | Serhiy@ukr.net |
291eadcf92058003c67833c417afaaf61310e348 | 6822d7a1de1268cdd7ad52b6a18c206a41077fbd | /aws-cpp-sdk-firehose/source/model/PutRecordBatchResponseEntry.cpp | 6f99a46b161f906136adbef3b413335a4c1d71c4 | [
"Apache-2.0",
"JSON",
"MIT"
] | permissive | edolstra/aws-sdk-cpp | 57c924ef54f17a67a955c34239622851a9d52ed8 | b2d6affb450a7e276d39f1590bb644d73d721082 | refs/heads/master | 2020-04-05T14:25:50.895804 | 2016-02-16T02:04:09 | 2016-02-16T02:04:09 | 51,923,609 | 0 | 0 | null | 2016-02-17T13:15:00 | 2016-02-17T13:14:59 | null | UTF-8 | C++ | false | false | 2,102 | cpp | /*
* Copyright 2010-2015 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file... | [
"henso@amazon.com"
] | henso@amazon.com |
89d5d4d757ec8abea4d686552fae4f3923c3734b | 4d9bbd510b0af8778daba54fe2b1809216463fa6 | /build/Android/Debug/app/src/main/include/_root.FuseCommon_bundle.h | 365dc4b2bd1a587c8e7fc879c821528261f215df | [] | no_license | Koikka/mood_cal | c80666c4930bd8091e7fbe4869f5bad2f60953c1 | 9bf73aab2998aa7aa9e830aefb6dd52e25db710a | refs/heads/master | 2021-06-23T20:24:14.150644 | 2020-09-04T09:25:54 | 2020-09-04T09:25:54 | 137,458,064 | 0 | 0 | null | 2020-12-13T05:23:20 | 2018-06-15T07:53:15 | C++ | UTF-8 | C++ | false | false | 1,125 | h | // This file was generated based on node_modules/@fuse-open/fuselibs/Source/build/Fuse.Common/1.12.0/.uno/package.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Uno.h>
namespace g{namespace Uno{namespace Runtime{namespace Implementation{namespace ShaderBackends{namespace Open... | [
"antti.koivisto@samk.fi"
] | antti.koivisto@samk.fi |
655c919e7f9109ab7193847e1bcc77313b073197 | b2922f9f7f84679009b24a5504ff7c3598a6c087 | /Casino Game.cpp | 59e41e51cbfa33fa75c7a2eb4bd41d6e88a5ba73 | [] | no_license | nishu6499/C-and-C- | b9254a17c6f063a4152707f6b9f1d46e6151200d | 5b655497567c21f409348c65cf11b2826f6d3c5f | refs/heads/master | 2022-12-19T02:57:40.600364 | 2020-09-09T14:12:16 | 2020-09-09T14:12:16 | 278,843,935 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,954 | cpp | #include<iostream>
#include<stdlib.h>
#include<string.h>
#include<time.h>
using namespace std;
int main()
{
char username[50];
int bet=0, num, key=0, prize, bal=0, ans;
cout<<"\t\t_____________________________"<<endl<<endl;
cout<<"\t\t CASINO GAME"<<endl<<endl;
cout<<"\t\t________________________... | [
"noreply@github.com"
] | noreply@github.com |
0c7e0baaf4003ba80c2c31dfb22cc3b01216c0dc | 41ec0ccf925ca4aea2b8688e247ca0cfa3f7a37b | /gpu/utils/src/repacks.cpp | cfb82a49acfc53e6de320c113a706913384f51b7 | [
"BSD-3-Clause"
] | permissive | 0000duck/PCL-1 | 3a46d1ec48c772a82d0cc886cd8fbb1df153964a | 7b828f3f4319f6c15e6a063d881be098d9ddef0e | refs/heads/master | 2021-12-02T11:54:13.877225 | 2012-02-15T23:38:58 | 2012-02-15T23:38:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,831 | cpp | /*
* Software License Agreement (BSD License)
*
* Copyright (c) 2011, Willow Garage, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source code mu... | [
"koenbuys@a9d63959-f2ad-4865-b262-bf0e56cfafb6"
] | koenbuys@a9d63959-f2ad-4865-b262-bf0e56cfafb6 |
3e940f3fae7cf96bac76f407e7f1fc1969504550 | 4021dbc4f970a8dbd9d7868316f3dfdb4ed87328 | /Tic-Tac-Toe/gamePlay.hpp | 41628853f75a48af348a52c68719f925da0911ee | [] | no_license | danielmbradley/TicTacToe | 5d3488ddf530b99bff9dbe11b17998f832ef352d | d42e05817e217f98ea781b8ddc9fb69110b76553 | refs/heads/master | 2020-04-06T08:14:05.698024 | 2018-03-16T23:15:55 | 2018-03-16T23:15:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 419 | hpp | //
// gamePlay.hpp
// Tic-Tac-Toe
//
// Created by Daniel Bradley on 10/02/2018.
// Copyright © 2018 Perawk. All rights reserved.
//
#ifndef gamePlay_hpp
#define gamePlay_hpp
#include <stdio.h>
#include "printBoard.hpp"
extern Board playboard;
void levelOne();
void levelTwo();
void levelThree();
void levelFo... | [
"fiddle3@hotmail.co.uk"
] | fiddle3@hotmail.co.uk |
9dce80a3af7fbc6a8f0eddd074d9546a356b0e86 | b9e4f272762d5cf871653e4b4a3aa9ad33b05117 | /ACM/cccc 练习2017-4-2 1contest-1/C - L1 - 3 ZOJ - 3174.cpp | a47522f5aa61d4da0e9f6789379cac9522656c0e | [] | no_license | haozx1997/C | e799cb25e1fa6c86318721834032c008764066ed | afb7657a58b86bf985c4a44bedfaf1c9cff30cf4 | refs/heads/master | 2021-07-11T23:54:17.357536 | 2017-10-12T03:42:23 | 2017-10-12T03:42:23 | 106,662,415 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 663 | cpp | #include<stdio.h>
#include<string.h>
#include<math.h>
using namespace std;
int main()
{
int T;
scanf("%d",&T);
while(T--)
{
int b,e;
int ans = 0;
scanf("%d%d",&b,&e);
for(int i = b;i <= e;i++)
{
int two = i%100;
int three = i%1000;
double root;
root = sqrt(two);
if(root == (int)root &... | [
"haozx1997@users.noreply.github.com"
] | haozx1997@users.noreply.github.com |
a53507adad045cc04602be162c9ab8e062df492d | 27f4e702b2646a351498836573ef6bae575c86ae | /src/hmstl/heightmap.hpp | 93472bc4fb52bc01ab6aab1689f435596a7bcae7 | [] | no_license | ghorn/zion | f5bb12439790bb7e2dd8f91241175d31aadd2948 | d92e5ecfd9260772ff26fa177100cfe068314dbd | refs/heads/master | 2023-02-05T10:35:53.344087 | 2020-12-26T21:19:30 | 2020-12-26T21:19:30 | 303,895,890 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 426 | hpp | #pragma once
#include <inttypes.h>
#include <vector>
#include <string>
typedef struct {
// xy dimensions (size = width * height)
uint32_t width, height;
uint64_t size;
// z dimensions
float min, max;
// raster with size pixels ranging in value from min to max
std::vector<float> data;
} Heightmap;
vo... | [
"greg@kittyhawk.aero"
] | greg@kittyhawk.aero |
1ccea506f98de2bd4a9da777d3f6fccc97cdc497 | 91587eb04109f20cedfdad938b01fee4fb4439ce | /code/toolkit/levelviewer/gamestates/viewergamestate.cc | 0447e4920c92ca308bb47e88c87aa46e59c147e2 | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-2-Clause"
] | permissive | Lyriviel/nebula-trifid | 627900b3cc24f7006da5db07a8b582eb3cf71235 | db4fe422e55989c0f8d811e966f82deba90f8e53 | refs/heads/master | 2021-01-22T19:15:10.164093 | 2016-04-04T18:36:39 | 2016-04-04T18:36:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,705 | cc | //------------------------------------------------------------------------------
// levelviewergamestate.cc
// (C) 2013-2016 Individual contributors, see AUTHORS file
//------------------------------------------------------------------------------
#include "stdneb.h"
#include "viewergamestate.h"
#include "graphics/st... | [
"johannes@gscept.com"
] | johannes@gscept.com |
79f1485cc0fcbc0d6a32ed608eb1b02df3cd8626 | 6e90b0e4b74be26c3f196227b803d6daff57805f | /tests/functional/wrap_if_mem_fn.cc | c73bc927aa1ce51a8a9ae400ca9e639091e4be4c | [
"LicenseRef-scancode-unknown-license-reference",
"BSL-1.0"
] | permissive | gintenlabo/etude | 52472b652004383c76089f5145a7cab350b6eb05 | c9e9db5cce72d560a50b1ab27a0ee675a725aefa | refs/heads/master | 2016-09-07T19:08:57.455833 | 2013-08-09T09:54:51 | 2013-08-09T09:54:51 | 1,121,611 | 14 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,050 | cc | //
// wrap_if_mem_fn のテストです。
//
// Copyright (C) 2011 Takaya Saito (SubaruG)
// Distributed under the Boost Software License, Version 1.0.
// http://www.boost.org/LICENSE_1_0.txt
//
#include "../../etude/functional/wrap_if_mem_fn.hpp"
#include <type_traits>
#include <boost/test/minimal.hpp>
#define STATIC... | [
"gintensubaru@gmail.com"
] | gintensubaru@gmail.com |
9d6dd2a4903d242c3e0e61e00356b7187c36ecb8 | 54f352a242a8ad6ff5516703e91da61e08d9a9e6 | /Source Codes/AtCoder/abc078/B/4560253.cpp | b7adc3028479026189ebe35673932f8e66069a13 | [] | no_license | Kawser-nerd/CLCDSA | 5cbd8a4c3f65173e4e8e0d7ed845574c4770c3eb | aee32551795763b54acb26856ab239370cac4e75 | refs/heads/master | 2022-02-09T11:08:56.588303 | 2022-01-26T18:53:40 | 2022-01-26T18:53:40 | 211,783,197 | 23 | 9 | null | null | null | null | UTF-8 | C++ | false | false | 215 | cpp | #include <iostream>
int main(){
int x, y, z;
std::cin >> x >> y >> z;
int i = 1;
while(z + i * (y + z) <= x){
++i;
}
std::cout << i - 1 << std::endl;
return 0;
} | [
"kwnafi@yahoo.com"
] | kwnafi@yahoo.com |
cd45d87f1938cce77921b3b92402855255c45526 | d49637822e1ec08cc4c1598c1c8f1d7a91b286b9 | /week1/opgave6/train.hpp | edb5ae56e545c5b1655c6775629292897488c6e1 | [] | no_license | SonicwaveNL/V1C_OOP | bc120f71176e14f40072b84fa49d27bdb2b653d4 | 6949e9ba7a9a33ffe2b9f8df9beb483b65e03eb1 | refs/heads/master | 2020-05-19T06:34:13.152219 | 2019-05-09T08:52:09 | 2019-05-09T08:52:09 | 184,876,589 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 339 | hpp | #ifndef TRAIN_HPP
#define TRAIN_HPP
#include "hwlib.hpp"
class train {
private:
hwlib::window & w;
int carts;
public:
train(
hwlib::window & w,
int carts
):
w( w ),
carts( carts )
{}
void print_down();
void print_up();
void print_track();
void... | [
"justin.van.ziel@gmail.com"
] | justin.van.ziel@gmail.com |
e5b011241860818e9a477a64fa01d827c604678e | fc409746d93317c5fa9d3b230f7ab8dc40d05c9c | /CSC8503/Coursework/KatamariState.cpp | dbcc5ba7426080c0eec84974b0978947a11c6a3f | [] | no_license | Csmidget/Advanced-Game-Technologies-Codebase | fd0125bb5d05123289d2ffdedcd3f41e7f30f3f3 | 9811b183dcf27226f82635e160e3580fd5f244e2 | refs/heads/main | 2023-02-21T18:48:24.128905 | 2021-01-21T19:15:35 | 2021-01-21T19:15:35 | 319,304,461 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,823 | cpp | #include "KatamariState.h"
#include "PlayerObject.h"
#include "AIObject.h"
#include "DebugState.h"
#include "EndState.h"
#include "Game.h"
#include "Checkpoint.h"
#include "BoidSwarm.h"
#include "ObjectFactory.h"
#include "../CSC8503Common/CollisionDetection.h"
using namespace NCL::CSC8503;
KatamariState::KatamariS... | [
"charles@minidev.co.uk"
] | charles@minidev.co.uk |
d0963950230f9b89109305bad80639a7fcb25c7a | eb5a688501c763f5593c2acb002e0dea133be2de | /Source/Turn_Game/Turn_GameGameModeBase.cpp | 7f5f5384ec686c858300803b7a5eb7a84f7c2370 | [] | no_license | DefineJH/Turn_Game | 08ba7cb86d54ee81cd464ac163fa2abaa3cb5435 | 51473514a931c374700d11869a51e67f63b894b3 | refs/heads/master | 2023-02-28T17:03:23.545072 | 2021-02-14T07:52:45 | 2021-02-14T07:52:45 | 302,867,780 | 0 | 1 | null | 2020-12-01T14:44:39 | 2020-10-10T09:42:05 | C++ | UTF-8 | C++ | false | false | 1,773 | cpp | // Copyright Epic Games, Inc. All Rights Reserved.
#include "Turn_GameGameModeBase.h"
#include "Kismet/GameplayStatics.h"
#include "ExplorerChar.h"
#include "GameSaver.h"
#include "GI_Archive.h"
void ATurn_GameGameModeBase::BeginPlay()
{
Super::BeginPlay();
}
void ATurn_GameGameModeBase::Save(int idx)
{
UGI_Ar... | [
"wlghks1502@gmailc.om"
] | wlghks1502@gmailc.om |
a1b3e41ddf204b5f97c98755dfb3070c0dd0cfff | 83740ae21697569a10e118cfd9d8a2299add5c8a | /scripting_engine/api/wizard.cpp | 24d2a6078ea968a83cae21f4666cd153b0f3cbdf | [
"MIT"
] | permissive | 5cript/minide | d2770c1e8251766450d239cc6567da42cd2e07f8 | 0964ae51512eb7ba1ee44d828d27e5b73da32245 | refs/heads/master | 2021-05-12T11:35:42.711075 | 2019-07-20T22:00:19 | 2019-07-20T22:00:19 | 117,390,020 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,119 | cpp | #include "wizard.hpp"
#include "../common_state_setup.hpp"
#include <sol/sol.hpp>
namespace MinIDE::Scripting::Api
{
//#####################################################################################################################
Wizard::Parameters Wizard::retrieveParameters() const
{
sol... | [
"Tim06TR@gmail.com"
] | Tim06TR@gmail.com |
f4a9e6c1f5ecbf5c3f1ff5784df13f3a8a3cf265 | 3d0a5b32c2abab05e67d34598180b7c5575ea5ba | /SFMLEngine/SimpleSfmlEngine/core/InputManager.h | 3688acef781b8e03430b733e2a190cf8d3845b43 | [] | no_license | oj002/Snowfall_LD40 | 2c9e4d7a1e72e8bd6d7122c0e6af9ab98c4b5dc6 | 4a13a88b694eaa6d7433df325c3a07f208fcd5ff | refs/heads/master | 2021-08-23T11:21:41.304899 | 2017-12-04T17:28:17 | 2017-12-04T17:28:17 | 113,073,203 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,492 | h | #pragma once
#include <SFML/Graphics.hpp>
namespace sse
{
class InputManager
{
public:
InputManager() {}
~InputManager() {}
bool IsPointOnSprite(sf::Sprite object, sf::Vector2i point)
{
sf::IntRect tempRect(static_cast<int>(object.getPosition().x), static_cast<int>(object.getPosition().y), static_cast<... | [
"olaf2@iris-volker.de"
] | olaf2@iris-volker.de |
3f1303945dc0745b575564c1145232751c9a4d4a | 75452de12ec9eea346e3b9c7789ac0abf3eb1d73 | /src/storage/blobfs/test/integration/sync_test.cc | bb9d2252f5ccd9026f3f1d0c7989731981afcb73 | [
"BSD-3-Clause"
] | permissive | oshunter/fuchsia | c9285cc8c14be067b80246e701434bbef4d606d1 | 2196fc8c176d01969466b97bba3f31ec55f7767b | refs/heads/master | 2022-12-22T11:30:15.486382 | 2020-08-16T03:41:23 | 2020-08-16T03:41:23 | 287,920,017 | 2 | 2 | BSD-3-Clause | 2022-12-16T03:30:27 | 2020-08-16T10:18:30 | C++ | UTF-8 | C++ | false | false | 5,201 | cc | // Copyright 2020 The Fuchsia 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 <lib/async-loop/cpp/loop.h>
#include <lib/async-loop/default.h>
#include <lib/fdio/fdio.h>
#include <blobfs/mkfs.h>
#include <blobfs/mount.h>
#in... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
5f87292bf7dbb8095f9c1137abf82c1d9838bfca | 420b57ed4dd5bf0026d03b368ee21cf74d80b726 | /test_12_17/test_12_17/源.cpp | efbc98e3f609845a0ae0741e14d770d762b301e0 | [] | no_license | Hidden-Forest/C-CODE | 12b648053818e8eab6077e16113bac6544b606ac | 033f7832ab83886c4133b5e5ae376ba2176c5302 | refs/heads/master | 2023-02-21T18:04:13.074919 | 2021-01-27T15:53:25 | 2021-01-27T15:53:25 | 263,583,462 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 964 | cpp | #define _CRT_SECURE_NO_WARNINGS 1
#include<iostream>
#include<vector>
using namespace std;
struct TreeNode {
int val;
TreeNode *left;
TreeNode *right;
TreeNode(int x) : val(x), left(NULL), right(NULL) {}
};
class Solution {
public:
TreeNode* searchBST(TreeNode* root, int val) {
if (root == NULL)
return NULL;... | [
"376695558@qq.com"
] | 376695558@qq.com |
b1a6cf1cba9b2c4e91222f73e3ec312b22b80072 | ce7876095646b3da23811753cd1850f7dde2d673 | /highland2/highlandUtils/v2r19/src/HighlandTreeConverterUtils.cxx | 5e96350bcda608f7eac12f42bb0c90fa2faee466 | [] | no_license | Balthazar6969/T2K | 63d7bd6dc2ef9eb1d8e33311d220bf8eb8b61828 | 14709b0dbe1f9b22992efecf30c50d9b8f8bba5c | refs/heads/master | 2020-09-09T18:19:24.346765 | 2019-11-19T07:01:44 | 2019-11-19T07:01:44 | 221,523,255 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,773 | cxx | #include "HighlandTreeConverterUtils.hxx"
//*****************************************************************************
bool anaUtils::FillTrueVertexRooInfo(AnaTrueVertexB* vertexB, Int_t RunID, bool Neut, bool Genie,
Int_t NNVtx, TClonesArray* NVtx, Int_t NGVtx, TClonesArray* G... | [
"conor.francois@gmail.com"
] | conor.francois@gmail.com |
b98884053a2ed2adbc6a8b2a8409b9fae9dc446d | 9132b3355e78822fbbc9a4a5c37afc51f2b544f0 | /src/attack/attack_server.h | 2fab8c303befc75140039a4e2621650af4ad9b45 | [
"MIT"
] | permissive | chris-wood/fiblib | 8784721372342f8a2dbefe508d04336b6dfd1aec | f21773610d6e6447b8f0418922b9d8813495aee8 | refs/heads/master | 2021-08-22T02:45:08.992205 | 2017-11-29T04:18:19 | 2017-11-29T04:18:19 | 53,748,091 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 408 | h | #ifndef ATTACK_SERVER_H_
#define ATTACK_SERVER_H_
using namespace std;
#include <vector>
class AttackServer
{
public:
AttackServer(int sock) {
sockfd = sock;
}
void Run();
void SetNumberOfNames(int num) {
numberOfNames = num;
}
int sockfd;
int numberOfNames;
std::ve... | [
"christopherwood07@gmail.com"
] | christopherwood07@gmail.com |
39d2baf4bb3e3c7d3ac408e268a1e738cf8d3ab1 | ad90fd7724d8bf72f3e8b3d967799e317769430a | /HelloWorld/win32/Action_Card.cpp | ece8b228df3cf275b38679b2f782569c149b5256 | [] | no_license | geniikw/myFirst2DGame | f71865ec8eabdff35c33b2a013b3afd1711b7776 | d9050e71913000e9147fa3f889d4b6c7c35fda94 | refs/heads/master | 2021-07-09T21:09:57.886694 | 2016-12-15T16:50:51 | 2016-12-15T16:50:51 | 19,765,521 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 1,198 | cpp | #include"Action_Card.h"
#include"header.h"
#include"Manager_Resource.h"
Action_Card::Action_Card(int CardNumber)
{
init();
CCAnimation *pAni = new CCAnimation;
pAni->initWithName("CARD");
for (int n = 0; n < MAX_CARD_NUMBER; n++)
{
pAni->addFrameWithTexture(Manager_Resource::getInstance()->getResourceWithStr... | [
"geniikw@gmail.com"
] | geniikw@gmail.com |
f8918df048826ac4f2ce365e5dfb31dce2bd5ed3 | 64e4fabf9b43b6b02b14b9df7e1751732b30ad38 | /src/chromium/gen/gen_combined/third_party/blink/renderer/bindings/core/v8/v8_garbage_collected_script_wrappable.h | 8044706bee9980735ab5c3ef00ec5909336a9435 | [
"BSD-3-Clause"
] | permissive | ivan-kits/skia-opengl-emscripten | 8a5ee0eab0214c84df3cd7eef37c8ba54acb045e | 79573e1ee794061bdcfd88cacdb75243eff5f6f0 | refs/heads/master | 2023-02-03T16:39:20.556706 | 2020-12-25T14:00:49 | 2020-12-25T14:00:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,019 | h | // Copyright 2014 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.
// This file has been auto-generated from the Jinja2 template
// third_party/blink/renderer/bindings/templates/interface.h.tmpl
// by the script code_gene... | [
"trofimov_d_a@magnit.ru"
] | trofimov_d_a@magnit.ru |
4f93a8f4e7fb971fa27a4056f499a0034e076ca7 | bb5258ea8c1f8cbcc247b92971cd926264479002 | /ds4/code/4_core/object/time/timer.h | 7b861250190b84163aec19332f0cf6ff3f3ef24f | [
"MIT"
] | permissive | demonsaw/Code | 16fa41f07600e83f16713a657ac8fffa0b6b7f9b | b036d455e9e034d7fd178e63d5e992242d62989a | refs/heads/master | 2021-11-07T21:37:03.738542 | 2021-10-26T03:47:14 | 2021-10-26T03:47:14 | 98,356,418 | 134 | 19 | MIT | 2019-01-06T03:20:12 | 2017-07-25T22:50:36 | C++ | UTF-8 | C++ | false | false | 3,040 | h | //
// The MIT License(MIT)
//
// Copyright(c) 2014 Demonsaw LLC
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, c... | [
"eric@codesiren.com"
] | eric@codesiren.com |
0f979e2ffc1580169aaa38ce88a6bb44ecadb29d | 3b9b4049a8e7d38b49e07bb752780b2f1d792851 | /src/skia/ext/platform_device.h | 8e23de5a23f762b3655e98a45a7393f3024f1b13 | [
"BSD-3-Clause",
"Apache-2.0"
] | permissive | webosce/chromium53 | f8e745e91363586aee9620c609aacf15b3261540 | 9171447efcf0bb393d41d1dc877c7c13c46d8e38 | refs/heads/webosce | 2020-03-26T23:08:14.416858 | 2018-08-23T08:35:17 | 2018-09-20T14:25:18 | 145,513,343 | 0 | 2 | Apache-2.0 | 2019-08-21T22:44:55 | 2018-08-21T05:52:31 | null | UTF-8 | C++ | false | false | 3,440 | h | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef SKIA_EXT_PLATFORM_DEVICE_H_
#define SKIA_EXT_PLATFORM_DEVICE_H_
#include "build/build_config.h"
#if defined(OS_WIN)
#include <windows.h>
#in... | [
"changhyeok.bae@lge.com"
] | changhyeok.bae@lge.com |
cbbe588c239ae5d8b1a46c5c2e9097fa0d365a76 | 4f26ffb33ca2f9ebcc96ace332d1f38f34f74c04 | /src/cliente/lanzador/ventana_juego_terminado.h | 9a9a18a19462b816acf92ffcedd4e2b5dd943ee4 | [] | no_license | sportelliluciano/tp-final-taller-1 | 7eaccbc0ac58a53c8de504a12856c9d5a8bbb4ee | c25ac32821ee88d65956cb705968c06233d46c31 | refs/heads/master | 2020-03-31T15:43:48.613932 | 2018-12-04T21:02:17 | 2018-12-04T21:02:17 | 152,349,087 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 444 | h | #ifndef _VENTANA_JUEGO_TERMINADO_H_
#define _VENTANA_JUEGO_TERMINADO_H_
#include <string>
#include <QWidget>
#include "cliente/lanzador/ui_ventana_juego_terminado.fwd.h"
class VentanaJuegoTerminado : public QWidget {
Q_OBJECT
public:
VentanaJuegoTerminado(const std::string& ganador, QWidget *parent = 0);
... | [
"sportelliluciano@gmail.com"
] | sportelliluciano@gmail.com |
0577da3fc43aab2dc3c83e0208e731179d0c1897 | 1fbb86a68429b4a013e4dd5536bd11b5f01bd481 | /libs/glbinding/include/glbinding/gl12/boolean.h | faf57a97bc34446df47a2b2be338b48b89adcc57 | [
"MIT"
] | permissive | drzajwo/UJ-Programowanie-grafiki-3D | e1dfcf0c6ba7706eada293425262905588136f26 | 9e76ed4d528208bb18525e2b5e80a74944a9b67d | refs/heads/master | 2020-08-28T12:06:27.049514 | 2019-11-23T12:49:47 | 2019-11-23T12:49:47 | 217,693,941 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 214 | h |
#pragma once
#include <glbinding/nogl.h>
#include <glbinding/gl/boolean.h>
namespace gl12
{
// import booleans to namespace
using gl::GL_FALSE;
using gl::GL_TRUE;
} // namespace gl12
| [
"Iwo.Wojciechowski@pega.com"
] | Iwo.Wojciechowski@pega.com |
4837a57656a00abdbea815016055c08bbc387c5c | ad5b72656f0da99443003984c1e646cb6b3e67ea | /src/tests/functional/shared_test_classes/src/subgraph/preprocess.cpp | 4f16483e9b1955cfd613094b11c9cf64d501123e | [
"Apache-2.0"
] | permissive | novakale/openvino | 9dfc89f2bc7ee0c9b4d899b4086d262f9205c4ae | 544c1acd2be086c35e9f84a7b4359439515a0892 | refs/heads/master | 2022-12-31T08:04:48.124183 | 2022-12-16T09:05:34 | 2022-12-16T09:05:34 | 569,671,261 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,381 | cpp | // Copyright (C) 2018-2022 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#include "shared_test_classes/subgraph/preprocess.hpp"
#include "ngraph_functions/preprocess/preprocess_builders.hpp"
#include "openvino/core/preprocess/pre_post_process.hpp"
using namespace ov;
using namespace ov::preprocess;
usin... | [
"noreply@github.com"
] | noreply@github.com |
0bea7f76533d30a221d3c2bd570bc5e65c091a85 | 12330f413270714472c0332efd8a85baa6e88bf9 | /ReportService.cpp | 9f4b17160ade449598aec4eb4d0276752cef6a45 | [] | no_license | anosenko1/task0b | a15d2148200a0dd092315440481d3c2eff1bc148 | c47847cb0587fb6141eba2befa0dbe4a803c4383 | refs/heads/master | 2022-12-30T15:46:20.359744 | 2020-10-17T21:35:59 | 2020-10-17T21:35:59 | 304,636,262 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 721 | cpp | #include "ReportService.h"
#include <iostream>
ReportService::ReportService(string file_name, vector<pair<string, pair<int, double>> > dict) {
this->file_name = move(file_name);
this->dict = move(dict);
FileOpen();
}
ReportService::~ReportService(){
FileClose();
}
void ReportService::Write(){
fil... | [
"a.nosenko1@g.nsu.ru"
] | a.nosenko1@g.nsu.ru |
759c778111edec8ae29066d0efb9e5a8e17e5bd7 | 9ebc7a3e353400d81746f46a6d40a105a1af2b72 | /boca/comb.cpp | cf5a540ed5d4fbfc225f2f16c9d5ca0c73ed5a10 | [] | no_license | gabrielms98/inf110 | d8e30547f8d19e19e8946905c218f2ea254953e0 | cff35bdc088978f39284d153b1049d14741bdb8d | refs/heads/master | 2020-03-21T16:56:23.624177 | 2019-09-18T12:43:29 | 2019-09-18T12:43:29 | 138,803,497 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 424 | cpp | #include <iostream>
#include <cmath>
#include <iomanip>
using namespace std;
//Retorna o valor de x!
long long int fatorial (int x){
long long int fat=1;
for(int i=2; i<=x; i++)
fat*=i;
return fat;
}
int main(){
int n, k;
int ncomissoes;
cin >> n >> k;
ncomissoes = (... | [
"gabrielsilva@200-235-207-113.wifi.ufv.br"
] | gabrielsilva@200-235-207-113.wifi.ufv.br |
7c3187627fbed4449a0cc8a1f8166b26c9d720fa | 89b83d2a6b1c67274c7b660ba59115c587bdeefd | /Platform/Platform/General.cpp | 591d966a452328591ab9ce31eabc68bb91c5eeea | [] | no_license | Mielniu/Platforma | a9b19047758040c6dbed571fce0cfb49779892f8 | 5fd44d6dfbba55395c06cabf2b6b861fb0be4a53 | refs/heads/master | 2020-12-29T01:41:41.058117 | 2016-09-19T14:19:14 | 2016-09-19T14:19:14 | 65,823,370 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,535 | cpp | #include "General.h"
#include <iostream>
General::General()
{
windows.create(sf::VideoMode(static_cast<int> (windowsWidth), static_cast<int>(windowsHeight)), windowsName, sf::Style::Close);
windows.setVerticalSyncEnabled(true);
}
General::~General()
{
}
void General::run()
{
startmap();
while (windows.isOpen... | [
"McMichael@KOMPUTER"
] | McMichael@KOMPUTER |
1875cbf569261b0117c00695d56458898906eb21 | 231eb13586f81657f665ce9afd38631e078dc33c | /Network Security/Ns HW3 Q5/methods/tdes-cfb.cpp | fc36ad39eb991f89972c5ad0898dc935313bf9db | [] | no_license | PatKevorkian/Code-Examples | e067b641db317459cbeda771a0ebbc8044c946f0 | 2021228d6aa76f449644d6b42ba51c6259e2ddcc | refs/heads/master | 2020-04-09T03:09:12.790118 | 2018-12-01T18:14:15 | 2018-12-01T18:14:15 | 150,888,116 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,675 | cpp | #include <iostream>
#include <iomanip>
using namespace std;
#include <string>
#include "cryptopp/cryptlib.h"
using CryptoPP::Exception;
#include "cryptopp/hex.h"
using CryptoPP::HexEncoder;
using CryptoPP::HexDecoder;
#include "cryptopp/filters.h"
using CryptoPP::StringSink;
using CryptoPP::StringSource;
using CryptoPP... | [
"patrickkevorkian@gmail.com"
] | patrickkevorkian@gmail.com |
ef1f3f40ed58d24bf4b3aab5565e60da22fd732f | 8ad9a54f3940dcc33a37c6e85d23dc7a49c6cb5b | /CombineTools/src/ValidationTools.cc | 16f94ce87e024b4420b6b1db16396faa12541f59 | [] | no_license | cms-analysis/CombineHarvester | 13be89e4e09024735543befa2c6c36ce16649ab6 | f8dbbb23dc210ad3ce5c0411abedf48fd9d72e1d | refs/heads/main | 2023-09-04T08:09:46.732841 | 2023-07-24T16:03:23 | 2023-07-24T16:03:23 | 43,435,391 | 18 | 136 | null | 2023-08-21T12:25:07 | 2015-09-30T13:44:46 | C++ | UTF-8 | C++ | false | false | 11,945 | cc | #include "CombineHarvester/CombineTools/interface/ValidationTools.h"
#include <iostream>
#include <vector>
#include <set>
#include <string>
#include <fstream>
#include <map>
#include "boost/format.hpp"
#include "RooFitResult.h"
#include "RooRealVar.h"
#include "RooDataHist.h"
#include "RooAbsReal.h"
#include "RooAbsDat... | [
"adinda.maite.de.wit@cern.ch"
] | adinda.maite.de.wit@cern.ch |
1c4f693fdf50db1991224960a2f81682e46db1c6 | 4897b9d75d851a81606d19a0e046b32eb16aa1bd | /problemset-new/006/00672-bulb-switcher-ii/672.cpp | 6c80fee1310752f4e2306fb46f97a4a6688b3800 | [] | no_license | tiankonguse/leetcode-solutions | 0b5e3a5b3f7063374e9543b5f516e9cecee0ad1f | a36269c861bd5797fe3835fc179a19559fac8655 | refs/heads/master | 2023-09-04T11:01:00.787559 | 2023-09-03T04:26:25 | 2023-09-03T04:26:25 | 33,770,209 | 83 | 38 | null | 2020-05-12T15:13:59 | 2015-04-11T09:31:39 | C++ | UTF-8 | C++ | false | false | 4,373 | cpp | #include <bits/stdc++.h>
#include "base.h"
using namespace std;
typedef __int128_t int128;
typedef vector<int> vi;
typedef vector<vi> vvi;
typedef pair<int, int> pii;
typedef vector<pii> vpii;
typedef long long ll;
typedef pair<ll, ll> pll;
typedef vector<ll> vll;
typedef vector<vll> vvll;
typedef vector<pll> vpll... | [
"i@tiankonguse.com"
] | i@tiankonguse.com |
267a92f063a314c49cd0bef8261eee92354b86c4 | b73eaab1d444f838b6050c6c260ef6677c3d2f7d | /ITP1/ITP1_4_B.cpp | af97b3ef9a5984124e3ad0c2e41ef8eec82d4357 | [] | no_license | nafuka11/AOJ | ac9355836f35d14827dd2605e4f312abcc3a7c21 | 1d727f9833169e31c46c8d03217b297e67e66c78 | refs/heads/master | 2020-05-18T16:24:32.325038 | 2020-03-12T10:06:33 | 2020-03-12T10:08:26 | 184,525,578 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 150 | cpp | #include <bits/stdc++.h>
using namespace std;
int main()
{
double r;
cin >> r;
cout << fixed << r * r * M_PI << " " << r * 2 * M_PI << endl;
}
| [
"42476527+nafuka11@users.noreply.github.com"
] | 42476527+nafuka11@users.noreply.github.com |
60941079110fd816f03fdac6d8c7f455348f71b8 | a775a26cded574dcc5c090a0d78f6ccc626bdb64 | /terrain.h | c60ec34ec3a405a379bbe68bf61bca2b1367c57d | [] | no_license | Winnie75/TowerDefense | c0f522fdd1dc3bde0b94e4152ce41e0d413e56ea | 0638bdabbcab726e374a8e4b0cfc8d1e538fec3f | refs/heads/master | 2021-12-02T23:58:48.897791 | 2012-05-10T14:01:48 | 2012-05-10T14:01:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,546 | h | #ifndef TERRAIN_H
#define TERRAIN_H
#include "tourelle.h"
#include "ennemi.h"
#include "curseur.h"
#include "partie.h"
#include <QTextStream>
#include <QObject>
#include <QImage>
#include <list>
#include <vector>
#define TAILLE_GRILLE 17
#define TAILLE_SOL 256
#define TAILLE_CHEMIN 32
#define HAUTEUR_BASE 96
#define ... | [
"geecko.dev@free.fr"
] | geecko.dev@free.fr |
02f0bad572b9f245851ef392d83879cd3b1ebf5c | 78bf71baa441ae0e2b460d0e4de091f244ffb9fd | /src/gtsp/initialize_gtsp_points.cpp | 83f8fabaf6da1a2b15292c538ba7d515fd5b9c97 | [] | no_license | Xj-hub/tsp | 3cc99c232a4afa4b02775d35d5e9c394e91a16ea | a1c799b955a5f6cec0c962dbdd650e2922228c9d | refs/heads/master | 2022-12-03T19:54:23.340267 | 2020-08-18T05:13:03 | 2020-08-18T05:13:03 | 285,139,027 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,395 | cpp | #include "ros/ros.h"
#include <ros/package.h>
#include "std_srvs/Empty.h"
#include "point.h"
#include "util.h"
#include <time.h> //reset random seed time(NULL)
#include<fstream>
class PointInitializer{
private:
int num_sets;
int max_num_points;
ros::ServiceServer initial_gtsp_points_service;
public:
... | [
"xjiang2@andrew.cmu.edu"
] | xjiang2@andrew.cmu.edu |
0d4f4ecf59411198304abf836eb141e065d00d50 | 3702e384050f90bb8ad39db7002ec5f6fabe4047 | /curses/main.cpp | 5670cb0740eaed879400545ee018855f69d0b855 | [] | no_license | pviolette3/jamstacks | 264872f292253206defb763af3d5b109cd008d73 | 94e2faed58d65ee4f5d1e86f8dd43200cd7d7b6c | refs/heads/master | 2021-07-21T22:23:24.585472 | 2017-10-30T08:23:16 | 2017-10-30T08:23:16 | 94,112,596 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 342 | cpp | #include "curses/game_window.h"
#include "curses/game_manager.h"
#include "screen.h"
using namespace jam;
int main(int argc, char** argv) {
Screen screen;
GameManager gameManager;
auto window = std::make_unique<GameWindow>(gameManager);
auto & windowRef = *window;
screen.registerGameWindow(std::move(window)... | [
"terrelln@fb.com"
] | terrelln@fb.com |
7cd4ba75f768a73322b83311bb381d38d575a038 | cde72953df2205c2322aac3debf058bb31d4f5b9 | /win10.19042/SysWOW64/fwcfg.dll.cpp | 2964cd7a9c3b2d6e0532019b840719371de014d9 | [] | no_license | v4nyl/dll-exports | 928355082725fbb6fcff47cd3ad83b7390c60c5a | 4ec04e0c8f713f6e9a61059d5d87abc5c7db16cf | refs/heads/main | 2023-03-30T13:49:47.617341 | 2021-04-10T20:01:34 | 2021-04-10T20:01:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 86 | cpp | #print comment(linker, "/export:InitHelperDll=\"C:\\Windows\\SysWOW64\\fwcfg.dll\"")
| [
"magnus@stubman.eu"
] | magnus@stubman.eu |
2861c926830cf9cb9728ffee3687ff0d5018b20a | 08c8ab097dd48f390a96c46529deafb8fef0a556 | /adapters/d_cse_to_uac/code/addon.hpp | 377e8fcdc3bbc053050df614208f363585527d16 | [] | no_license | TheDrill/uniaddonconf | b27d55c58b00d655faba0050bdcc9ef403ad18a2 | fe649633dae35695fd7123973baa71826425a652 | refs/heads/master | 2020-12-30T09:58:01.374210 | 2015-04-11T16:22:49 | 2015-04-11T16:22:49 | 26,047,922 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 407 | hpp | #ifndef __ADDON_HPP_
#define __ADDON_HPP_
#define __ADDON_NAME__ d_cse_to_uac
#define __BASENAME__ Addons__##__ADDON_NAME__
#define __PREFIX__ "\xx\addons\d_cse_to_uac"
#define __PREFIXC__ "\xx\addons\d_cse_to_uac\code\"
#define FUNC(x) fnc_##__BASENAME__##_##x
#define CFUNC(x) __ADDON_NAME__##_fnc_##x
... | [
"drill87@gmail.com"
] | drill87@gmail.com |
2f88d128cfb3a541a80d2d7d21cce36e8afe2478 | 04adde71972e1fefd9252652855c4c248573e6ff | /CS162_Lab03/game.cpp | ed42128b557930c2f60853db6b64a9dab88f49eb | [] | no_license | giorosati/CS162_Lab03 | c49484dce31cd5d54f61aa2329fe6c980515da5f | d2555a2738ba8f76b743765455cf5c4c036dc4b3 | refs/heads/master | 2021-01-10T11:24:02.763071 | 2016-01-23T01:30:39 | 2016-01-23T01:30:39 | 50,217,846 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,497 | cpp | /*********************************************************************
** Program Filename: game.cpp
** Author: Giovanni Rosati
** email: rosatig@oregonstate.edu
** Date: 2016-01-20
** Description: Implementation file for game.hpp
*********************************************************************/
#include <cstdlib... | [
"giovanni.rosati@gmail.com"
] | giovanni.rosati@gmail.com |
5e7ec10efc5670356a926cc5b9aec11f2b59e989 | ec79559682d5d8608cde477369b6d1fed73f0b9b | /10.12/YourTestForHowManyWaysToMake.h | 0fd44e98d277dedbbdc103726c65f571e453ea1d | [] | no_license | TaoSama/Work-Code | 705c2ed8a532c0b396f5864adc2c728f940a8d36 | 38198abfe6d8b2532853500d3941e051617e14ab | refs/heads/master | 2020-12-24T19:12:39.303131 | 2017-06-26T04:08:45 | 2017-06-26T04:08:45 | 59,704,549 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 787 | h | #ifndef YOUR_TEST_FOR_HOW_MANY_WAYS_TO_MAKE_H
#define YOUR_TEST_FOR_HOW_MANY_WAYS_TO_MAKE_H
#include "HowManyWaysToMake.h"
#include <iostream>
using std::cout;
using std::endl;
int testHowManyWaysToMake() {
// TODO: your test case for question 1b goes inside this function, instead of the next line of code:
... | [
"noreply@github.com"
] | noreply@github.com |
b1cbe9d9bec4f46060ef7a29ae5e95b388c40fca | f10f768be221f79951f8e1cfe6f0fe7c3165dfd4 | /Test/TestCollision.h | 5d3d7605716c251be4178f1570c83da17c4e1d08 | [
"MIT"
] | permissive | EricDDK/3DEngineEC | 7ef6aa298aa024164a63e4e49047cbe8d89684a7 | cf7832e69ba03111d54093b1f797eaabab3455e1 | refs/heads/master | 2020-06-20T00:35:37.282566 | 2019-08-03T09:07:13 | 2019-08-03T09:07:13 | 196,930,013 | 6 | 3 | MIT | 2019-08-03T09:07:14 | 2019-07-15T05:29:15 | C | UTF-8 | C++ | false | false | 858 | h | #ifndef _TEST_COLLISION_H__
#define _TEST_COLLISION_H__
#include "TestCommon.h"
#include "Physics/AABB.h"
class TestCollision
{
public:
void testCollision()
{
testAABB();
}
private:
void testAABB()
{
engine::AABB aabb(engine::Vector3(0.0f, 0.0f, 0.0f), engine::Vector3(1.0f, 1.0f, 1.0f));
EXPECT(aabb.con... | [
"dekai.ding@shen021.com"
] | dekai.ding@shen021.com |
c62dfee4b43e5fb3ad399071acde390926a13d2d | e3dd0a4882284156aaa981ca1b9fc977c1fc532f | /18 spring NIU/csci241 intermediate c++/Assign3/assign4.cpp | 46956a75c2bfa994ad6019b6681d1f9da1335803 | [] | no_license | hasnainclub/school | 8c137a884e1822947a0a50bca4fbb6038b03d94b | d303306d23b9ed65c4cb715ab80ff2e504556c41 | refs/heads/master | 2022-12-11T21:25:13.179006 | 2020-08-31T15:14:23 | 2020-08-31T15:14:23 | 291,606,364 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,186 | cpp | /*********************************************************************
PROGRAM: CSCI 241 Assignment 4
PROGRAMMER: your name
LOGON ID: your z-ID
DUE DATE: due date of assignment
FUNCTION: This program tests the functionality of the Vector3
class.
**********************************... | [
"hasnainclub@gmail.com"
] | hasnainclub@gmail.com |
ceb939ae3388e5da001e76d2794dd7251cabe2d3 | b052937681803bd58d410d6e84abfabf9c6c598e | /sw_x/gvm_core/internal/Stream/include/HttpFileDownloadStream.hpp | 30b1583153db5712ed617d4297d3d6b5c3f8c45a | [] | no_license | muyl1/acer_cloud_wifi_copy | a8eff32e7dc02769bd2302914a7d5bd984227365 | f7459f5d28056fa3884720cbd891d77e0b00698b | refs/heads/master | 2021-05-27T08:52:21.443483 | 2014-06-17T09:17:17 | 2014-06-17T09:17:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,597 | hpp | //
// Copyright 2013 Acer Cloud Technology Inc.
// All Rights Reserved.
//
// THIS SOFTWARE CONTAINS CONFIDENTIAL INFORMATION AND
// TRADE SECRETS OF ACER CLOUD TECHNOLOGY INC.
// USE, DISCLOSURE OR REPRODUCTION IS PROHIBITED WITHOUT
// THE PRIOR EXPRESS WRITTEN PERMISSION OF ACER CLOUD
// TECHNOLOGY INC.
//
#i... | [
"jimmyiverson@gmail.com"
] | jimmyiverson@gmail.com |
dff98bc9a7ac86bce6aad8ffd422c80170dedeac | b48cc66bf4f5a173338e42ba02245da043e71ce7 | /LuoguCodes/P3957.cpp | 816daa3343c9e6f13ae057c6d0625b9d89fb94aa | [
"MIT"
] | permissive | Anguei/OI-Codes | 6f79f5c446e87b13c6bffe3cc758c722e8d0d65c | 0ef271e9af0619d4c236e314cd6d8708d356536a | refs/heads/master | 2020-04-22T22:18:14.531234 | 2019-02-14T14:24:36 | 2019-02-14T14:24:36 | 170,703,285 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,247 | cpp | // luogu-judger-enable-o2
#include <cmath>
#include <cctype>
#include <cstdio>
#include <cstring>
#include <set>
#include <map>
#include <stack>
#include <queue>
#include <string>
#include <vector>
#include <numeric>
#include <iomanip>
#include <iostream>
#include <algorithm>
#define fn "task"
#define ll long long
#def... | [
"Anguei@users.noreply.github.com"
] | Anguei@users.noreply.github.com |
091112f81cb1e2ed03096b36f44da6ac6b29ccea | 01eb5e83aaff8f8bf2481c8343d119d2944a424e | /src/opencv/core.cc | da3697e82198681603ede795886476995f98eb76 | [
"BSD-3-Clause",
"MIT"
] | permissive | drorgl/node-alvision | 4d68814a9c6b778df68664884548a9a43f797194 | 5498cc6fb56b40326e1686f407f12c119744ae94 | refs/heads/master | 2021-01-10T12:22:35.062497 | 2017-03-30T18:48:37 | 2017-03-30T18:48:37 | 45,723,280 | 3 | 0 | null | 2017-03-30T18:48:38 | 2015-11-07T05:02:00 | C++ | UTF-8 | C++ | false | false | 135,013 | cc | #include "core.h"
#include "Matrix.h"
#include "UMatrix.h"
#include "SparseMat.h"
#include "types/TermCriteria.h"
#include "core/PCA.h"
#include "core/LDA.h"
#include "core/SVD.h"
#include "core/RNG.h"
#include "core/RNG_MT19937.h"
#include "core/opengl.h"
#include "core/Algorithm.h"
#include "core/RNG.h"
#incl... | [
"drorgl@yahoo.com"
] | drorgl@yahoo.com |
a5f52e539efb2660934788504e05cee7d7c26636 | 201c2251a68337ba09c9b993fe1989d595125eb9 | /codeforces/Jeff and Periods.cpp | a624e16ecd679aa7739a8f849b602d3492da485e | [] | no_license | AhmedKhaledAK/problem-solving-training | 92a928ca383d37abe493145d306e52cb08d5b4ef | 54dd37aef981ab1a8d55e46cf9f57ab1426f6353 | refs/heads/master | 2022-03-16T07:42:28.785189 | 2022-02-12T19:54:54 | 2022-02-12T19:54:54 | 191,613,437 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,345 | cpp | #include <iostream>
#include<bits/stdc++.h>
#include <iomanip>
#define array_size(a) (sizeof(a)/sizeof(a[0]))
#define lpi(n) for(int i=0; i<n; i++)
#define lpiv(v,n) for(int i=v; i<n; i++)
#define lpj(n) for(int j=0; j<n; j++)
#define lpjv(v,n) for(int j=v; j<n; j++)
#define iii pair<int,pair<int,int>>
#define ii pai... | [
"ahmedkhaledabab@gmail.com"
] | ahmedkhaledabab@gmail.com |
51c1011ed455ecb81e01a5316b46bb45c66f01e9 | 602e0f4bae605f59d23688cab5ad10c21fc5a34f | /MyToolKit/NumericalRecipes/examples/xbsstep.cpp | 6da7d5665853f23099a984f0c9a422ad4623cc34 | [] | no_license | yanbcxf/cpp | d7f26056d51f85254ae1dd2c4e8e459cfefb2fb6 | e059b02e7f1509918bbc346c555d42e8d06f4b8f | refs/heads/master | 2023-08-04T04:40:43.475657 | 2023-08-01T14:03:44 | 2023-08-01T14:03:44 | 172,408,660 | 8 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 1,741 | cpp | #include <iostream>
#include <iomanip>
#include "nr.h"
using namespace std;
// Driver for routine bsstep
DP dxsav; // defining declarations
int kmax,kount;
Vec_DP *xp_p;
Mat_DP *yp_p;
int nrhs; // counts function evaluations
void derivs(const DP x, Vec_I_DP &y,
Vec_O_DP &dydx)
{
nrhs++;
... | [
"yangbin@star-net.cn"
] | yangbin@star-net.cn |
72f236dbb141b561e00e6c240c3ec5e3af2757d2 | d83b1262afdfa7be71d1f4d79e79fbde62cad994 | /include/oneapi/dpl/internal/async_impl/async_impl_hetero.h | 3ffe694bdb4de3ae8fcf369573a57012091e18ca | [
"Apache-2.0"
] | permissive | jiejanezhang/oneDPL | f6daa7ae3b2fc94f4b839643d9499769175131df | abd1de347aac7f21d55099773908ecf5f5e49f76 | refs/heads/main | 2023-04-20T10:36:12.407723 | 2021-04-29T06:12:35 | 2021-04-29T06:12:35 | 335,866,554 | 0 | 0 | null | 2021-02-04T06:58:08 | 2021-02-04T06:54:24 | null | UTF-8 | C++ | false | false | 10,435 | h | /*
* Copyright (c) Intel Corporation
*
* 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... | [
"noreply@github.com"
] | noreply@github.com |
2f63256c1c7c47fba3df8d4e4e5c829a3f779c16 | 91914b2fca90139fdfe550378f927a592240726a | /C_Going_Home.cpp | c2ddcbcf2a9a3a35b52c68301a18594c1d44394a | [] | no_license | Suhrid-Talukder333/Codeforces-Problems | 89d6804ed0579d0eea1547e0db776530c61fd582 | 9e936da6bac377b4cb9d0a9be52d937c31e8cd03 | refs/heads/master | 2023-05-29T15:20:19.470592 | 2021-06-21T10:13:16 | 2021-06-21T10:13:16 | 290,012,911 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,067 | cpp | #include<bits/stdc++.h>
using namespace std;
int main() {
int n;
cin >> n;
int arr[n];
for (int i = 0; i < n; i++)
{
cin >> arr[i];
}
map<int, vector<int, int>> sums;
for (int i = 0; i < n; i++)
{
for (int j = i + 1; j < n; j++) {
sums[arr[i] + arr[j]].... | [
"suhridtalukder333@gmail.com"
] | suhridtalukder333@gmail.com |
2ccd32b0c85dd6974e6a486774af2992e094329c | d794d7c67de64c607970092bdb012f9197d1f2c6 | /Calculator/main.cpp | f9d0231ff5d1dec001ec039bc774a9825e5d560d | [] | no_license | ozeron/Calculator | 31e2c0c4addb3494a16cb8b9f3fff77fdb9bf582 | 7fa891cddc7e7af9b68e80ec31185fab59516105 | refs/heads/master | 2016-09-06T17:23:54.602199 | 2013-07-10T09:55:49 | 2013-07-10T09:55:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 115 | cpp | #include <cstdio>
#include "CLInterface.h"
#include "Word.h"
using namespace std;
int main()
{
CLITEST();
}
| [
"ozeron@me.com"
] | ozeron@me.com |
f1692c71b812580d1e064d8e3613eadaccc30ac7 | 4a9d73372541655770663a987a8558c49a88c314 | /Trees/Find floor of a key in BST.cpp | b87e0acc13289cd5018bfacd32f3102e74267329 | [] | no_license | AshishKempwad/Competitive-Coding | e70887a6f764a37736f95054d1db7cd2d3a07c11 | b58d98dc26cfd25783bc5e7b66bb59c52082ce6f | refs/heads/master | 2021-04-14T00:37:03.202768 | 2020-12-05T05:59:36 | 2020-12-05T05:59:36 | 249,198,252 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 400 | cpp | int find_floor(Node* root,int key)
{
int floor = -1;
while(root)
{
if(root->data == key)
{
floor = root->data;
retur floor;
}
if(root->data < key)
{
floor=root->data;
root=root->right;
}
els... | [
"noreply@github.com"
] | noreply@github.com |
0d5e04f652e0980229564e232ae413f898f2be72 | 8947812c9c0be1f0bb6c30d1bb225d4d6aafb488 | /01_Develop/libXMOpenCV/Source/gpu/cudastream.cpp | 21920cd5b258fceaf5953da6bd4644772aaaa2f4 | [
"MIT"
] | permissive | alissastanderwick/OpenKODE-Framework | cbb298974e7464d736a21b760c22721281b9c7ec | d4382d781da7f488a0e7667362a89e8e389468dd | refs/heads/master | 2021-10-25T01:33:37.821493 | 2016-07-12T01:29:35 | 2016-07-12T01:29:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,332 | cpp | /*M///////////////////////////////////////////////////////////////////////////////////////
//
// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
//
// By downloading, copying, installing or using the software you agree to this license.
// If you do not agree to this license, do not download, instal... | [
"mcodegeeks@gmail.com"
] | mcodegeeks@gmail.com |
3fa1ef4f3496ec81b8ac0c5ee6c1c135fed39471 | 4105b0217ed61c14252a9bf31d945a9f1c0ac5af | /elements-consensus-sys/depend/elements/src/node/coinstats.cpp | edfccfa6f86b31bebd31bb2cd8637f6ef66ac9cf | [
"MIT"
] | permissive | comit-network/rust-elements-consensus | e626ade550c3625adb6a4db8c82819ba30c4a1c5 | ac88dbedcd019eef44f58499417dcdbeda994b0b | refs/heads/master | 2023-08-08T09:35:49.028512 | 2021-08-05T05:31:35 | 2021-08-05T05:31:35 | 387,780,286 | 1 | 2 | null | 2023-07-28T06:40:53 | 2021-07-20T12:11:47 | C++ | UTF-8 | C++ | false | false | 4,224 | cpp | // Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2020 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 <node/coinstats.h>
#include <coins.h>
#include <hash.h>
#include <serialize.... | [
"thomas@eizinger.io"
] | thomas@eizinger.io |
ef2d498699a4829a005b322038edba892ed183b6 | ac227cc22d5f5364e5d029a2cef83816a6954590 | /applications/physbam/physbam-lib/Public_Library/PhysBAM_Tools/Grids_Uniform/UNIFORM_GRID_ITERATOR_FACE.h | 309569194257a038f131fb0e82e75c88c7c0af64 | [
"BSD-3-Clause"
] | permissive | schinmayee/nimbus | 597185bc8bac91a2480466cebc8b337f5d96bd2e | 170cd15e24a7a88243a6ea80aabadc0fc0e6e177 | refs/heads/master | 2020-03-11T11:42:39.262834 | 2018-04-18T01:28:23 | 2018-04-18T01:28:23 | 129,976,755 | 0 | 0 | BSD-3-Clause | 2018-04-17T23:33:23 | 2018-04-17T23:33:23 | null | UTF-8 | C++ | false | false | 3,507 | h | //#####################################################################
// Copyright 2005-2008, Eran Guendelman, Jerry Talton.
// This file is part of PhysBAM whose distribution is governed by the license contained in the accompanying file PHYSBAM_COPYRIGHT.txt.
//#######################################################... | [
"quhang@stanford.edu"
] | quhang@stanford.edu |
7bbdba95f28a207d465e858f888eceb50414854c | fb95534e8519acb3670ee9743ddb15bf09232e70 | /examples/xtd.tunit.examples/asserts/assert_is_greater_or_equal/src/assert_is_greater_or_equal.cpp | 585ee4eb375fd1cc509fdf0e40b4293f5b4c492e | [
"MIT"
] | permissive | niansa/xtd | a5050e27fda1f092cea85db264820d6518994893 | 4d412ab046f51da2e5baf782f9f2f5bb23c49840 | refs/heads/master | 2023-09-01T01:13:25.592979 | 2021-10-28T14:30:05 | 2021-10-28T14:30:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,008 | cpp | #include <xtd/xtd.tunit>
using namespace xtd::tunit;
namespace unit_tests {
class test_class_(test) {
public:
void test_method_(test_case_succeed1) {
int i = 24;
assert::is_greater_or_equal(i, 12);
}
void test_method_(test_case_succeed2) {
int i = 24;
assert::is_greater_or... | [
"gammasoft71@gmail.com"
] | gammasoft71@gmail.com |
e976dd3077be19f7d50552ead6d4dee629948912 | 641816291fd4a3996fbe78300ffcf22715097c9c | /Client/AnpanMMO/Source/AnpanMMO/Level/TimeManager.h | 7ed18c87b34c57365e05b46534c65b9b65c2f1e5 | [] | no_license | uvbs/AnpanMMO | c0a5d3aa02693e036ff563e71d0f57ee914219bd | 0833ce57ca5301eee36e9547d50ef63e78d1ce9c | refs/heads/master | 2022-12-02T19:02:56.051613 | 2019-04-03T22:54:05 | 2019-04-03T22:54:05 | null | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 677 | h | // Copyright 2018 - 2019 YanaPIIDXer All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
class ASkyControl;
class MemoryStreamInterface;
/**
* 時間管理.
*/
class ANPANMMO_API TimeManager
{
public:
// コンストラクタ
TimeManager();
// デストラクタ
~TimeManager() {}
// 天球をセット。
void SetSkyControl(ASkyControl *pInSky)... | [
"yana_p_iidxer@yahoo.co.jp"
] | yana_p_iidxer@yahoo.co.jp |
468c647856baeebf7e006076ab1afb4d72f258cd | 4c23be1a0ca76f68e7146f7d098e26c2bbfb2650 | /ic8h18/0.0085/NEOC7KETNO | 1a73dce6b4cc5f2b2b133d13a4bec476b1e005db | [] | no_license | labsandy/OpenFOAM_workspace | a74b473903ddbd34b31dc93917e3719bc051e379 | 6e0193ad9dabd613acf40d6b3ec4c0536c90aed4 | refs/heads/master | 2022-02-25T02:36:04.164324 | 2019-08-23T02:27:16 | 2019-08-23T02:27:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 843 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 6
\\/ M anipulation |
\*-------... | [
"jfeatherstone123@gmail.com"
] | jfeatherstone123@gmail.com | |
6421786bd698086b5de8972df1d498255c08e5f3 | 965225d196d9246f40cc8d4255a24315103fef47 | /ch13/13.1/destructor.cc | 4c23c2b43c487dceb181c2591d26c3bb22a061b5 | [] | no_license | LinuxKernelDevelopment/cppprimer | 52fa1739e11e8bf4fda84f19083b33cfac930f3c | 28724e6db5cde4c8cd3f188ac6130425bc711fa9 | refs/heads/master | 2020-05-25T09:22:33.271140 | 2019-05-21T00:32:28 | 2019-05-21T00:32:28 | 187,732,717 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 548 | cc | #include <iostream>
#include <vector>
struct X {
X() {std::cout << "X()" << std::endl;}
X(const X&) {std::cout << "X(const X&)" << std::endl;}
X& operator=(const X &rhs) {std::cout << "operator=(const X &rhs)" << std::endl; return *this; }
~X() {std::cout << "~X()" << std::endl;}
};
void Pass(X rhs)
{
std::cout ... | [
"weizhefix@gmail.com"
] | weizhefix@gmail.com |
7eafe45beed22f2633dc3a91601a36030ffed737 | e2cc28e162f14551f189390c0896b0334b29eaba | /cpp_dsgn_pattern_n_derivatives_pricing/chapter14/book_example/source/source.cpp | 2e2059bd9d45dd2e7e78f5a34949a55675e640e0 | [
"MIT"
] | permissive | calvin456/intro_derivative_pricing | 3f3cf4f217e93377a7ade9b9a81cd8a8734177a7 | 0841fbc0344bee00044d67977faccfd2098b5887 | refs/heads/master | 2021-01-10T12:59:32.474807 | 2016-12-27T08:53:12 | 2016-12-27T08:53:12 | 46,112,607 | 8 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 900 | cpp | /*
Copyright (C) 2006 Mark Joshi
This file is part of XLW, a free-software/open-source C++ wrapper of the
Excel C API - http://xlw.sourceforge.net/
XLW is free software: you can redistribute it and/or modify it under the
terms of the XLW license. You should have received a copy of the
license along with this program... | [
"calvin456@users.noreply.github.com"
] | calvin456@users.noreply.github.com |
3dc5ad7304db366e1df0959bcf16275f03bf139e | 1dfc91dc48f91ba7eecd040e2c6baafac2b4c3c7 | /creature.hpp | 0ed4807569ee70507ca2b2be78b609365f2c2cb3 | [] | no_license | haomingvince/Zork | db521d3c5ec5a2dc7b69d94b02a3d0966999e047 | 44fef594be7337e3a002f3c00165c4476e805618 | refs/heads/master | 2020-04-02T04:51:18.565852 | 2018-11-01T18:02:10 | 2018-11-01T18:02:10 | 154,039,091 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 544 | hpp | #ifndef _CREATURE_H
#define _CREATURE_H
#include <stdio.h>
#include <iostream>
#include <string>
#include <vector>
#include "rapidxml.hpp"
#include "attack.hpp"
#include "trigger.hpp"
using namespace std;
class Creature {
public:
Creature(rapidxml::xml_node<>*);
virtual ~Creature();
void... | [
"haomingvince@gmail.com"
] | haomingvince@gmail.com |
1f2a3740c7733a45bf28735de66bdb5108f30f29 | a565eef51e8445b519288ac32affbd7adca874d3 | /libgringo/tests/input/lit_helper.hh | 0de3e895095509450180130a11bc2e7cc1bb0dd5 | [
"MIT"
] | permissive | CaptainUnbrauchbar/clingo | b28a9b5218552240ea03444e157a21079fc77019 | 58cb702db83c23aedea28b26a617102fae9b557a | refs/heads/master | 2023-02-27T23:53:44.566739 | 2021-02-01T18:36:10 | 2021-02-01T18:36:10 | 290,831,881 | 1 | 0 | MIT | 2021-02-01T18:36:11 | 2020-08-27T16:53:18 | C++ | UTF-8 | C++ | false | false | 3,348 | hh | // {{{ MIT License
// Copyright 2017 Roland Kaminski
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to
// deal in the Software without restriction, including without limitation the
// rights to use, copy, modify,... | [
"kaminski@cs.uni-potsdam.de"
] | kaminski@cs.uni-potsdam.de |
0d8b47aed4fe1a0b0a884267b3d9c252eb8e5ccc | ce039e744725692b430e6a84cc42aae2ee9db22a | /appwidget.cpp | e6dfcd59a0ddfc6e4bf81e9f1eb33471bf0a6e3b | [] | no_license | fasa1964/fshkkap | adba0cd0e3ae5249833446d6d5c232835ded1ab6 | 2eacd2dfe1709f5073be2ef3f845a8328977b3c1 | refs/heads/master | 2023-02-17T09:11:30.723940 | 2021-01-20T05:52:05 | 2021-01-20T05:52:05 | 288,750,188 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 798 | cpp | #include "appwidget.h"
#include "ui_appwidget.h"
#include <QPainter>
#include <QPixmap>
#include <QImage>
AppWidget::AppWidget(const QString &NAME, const QString &VERSION, QWidget *parent) :
QWidget(parent),
ui(new Ui::AppWidget)
{
ui->setupUi(this);
ui->nameLabel->setText(NAME);
ui->versionLabel-... | [
"fasa@nb-saberi.ad.bbs-bassgeige.eu"
] | fasa@nb-saberi.ad.bbs-bassgeige.eu |
623c952e2e122d93deb3d31436ac94cecc6c55fc | f492b8de57d5797e371f70a91d6fe2d88c6a42b1 | /test_dll.cpp | c394cc750cea840c3e28d2630e84e93961a4e4c4 | [] | no_license | Spirrwell/premake-codelite-bug | 4c564ae330d773b0f383b6a4fcb4f03029c5c8e9 | e3ec01908def76b39f54ed366116e2a2d0fdf6b8 | refs/heads/master | 2021-04-16T02:27:04.295405 | 2020-03-23T02:46:52 | 2020-03-23T02:46:52 | 249,319,737 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 69 | cpp | #include <iostream>
void DoThing()
{
std::cout << "do thing\n";
}
| [
"Spirrwell@gmail.com"
] | Spirrwell@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.