blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 986
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 145
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 122
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
9e21773fcad6bbe4fe4159eb57266258628d6878 | aed4412def678da83397ed4b16eaace3a6194c2c | /ip/mem_prj/solution1/.autopilot/db/mem.pp.0.cpp.ap-line.cpp.CXX | 4444fb9b99024ce193e2c57de95464494364cd39 | [] | no_license | AlexMontgomerie/memory_io_unit | 6b47fc23d46424b4474fc8c4c00f2db4fa94219b | 3a478d166c27d829e9a6c39aa438519353946c38 | refs/heads/master | 2020-03-19T08:28:34.071837 | 2018-06-11T17:58:34 | 2018-06-11T17:58:34 | 136,207,478 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 75,976 | cxx | #pragma line 1 "mem.cpp" ::: 0
#pragma line 1 "mem.cpp" 1 ::: 1
#pragma line 1 "<built-in>" 1 ::: 2
#pragma line 1 "<built-in>" 3 ::: 3
#pragma line 155 "<built-in>" 3 ::: 4
#pragma line 1 "<command line>" 1 ::: 5
#pragma line 1 "/opt/Xilinx_2017.1/Vivado_HLS/2017.1/common/technology/autopilot/etc/autopilot_ssdm_op.h" ... | [
"am9215@ic.ac.uk"
] | am9215@ic.ac.uk |
9af14a9b992fe2b10d5a0c654f9a1d3082bde470 | 3b3a792c80203e905e346c6ef47a60ee2661f3f2 | /a2oj_51.cpp | cd5a244749ecd6ec0dff6aac9d3cd1ca6d8c5e8e | [] | no_license | avc9/ladder-2A | 08de717fa7fe977ddadbcd10c27940168629f20c | e22ca098f7b214ba04ca68c381d52725a80e1ba6 | refs/heads/main | 2023-02-05T02:42:59.328814 | 2020-12-25T07:03:23 | 2020-12-25T07:03:23 | 320,185,957 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 400 | cpp | #include<bits/stdc++.h>
using namespace std;
int main(){
string s,t;
cin>>s;
cin>>t;
//cout<<s<<endl;
int position=0;
cout<<t.size()<<endl;
for(auto iter=0;iter<sizeof(t);iter++){
if(t[iter]==s[position]){
cout<<"IN "<<t[iter]<<" "<<s[position]<<endl;
... | [
"noreply@github.com"
] | avc9.noreply@github.com |
1121c242431e2a9c201b1b43e789a0a94929ab2a | a1fdf55be58ba28fbed60fb9b65eb8fbf5d67af6 | /src/Core/ITKCommon/IRPruner.h | edb52822dc8bf9fa72ccb654cddb5a58ad7ea1ad | [] | no_license | rblake/seg3d2 | a8a28907207f5a95cfca1e47e4e0aa40a65d7d3b | aa65235b577732f506991021f16576332c64c4ae | refs/heads/master | 2016-09-07T18:49:54.102440 | 2015-03-26T19:17:53 | 2015-03-26T19:17:53 | 16,261,878 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,180 | h | /*
For more information, please see: http://software.sci.utah.edu
The MIT License
Copyright (c) 2013 Scientific Computing and Imaging Institute,
University of Utah.
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (t... | [
"ayla@305cdda6-5ce1-45b3-a98d-dfc68c8b3305"
] | ayla@305cdda6-5ce1-45b3-a98d-dfc68c8b3305 |
f9c97273437096a679a62e9fb97651eb7a349b22 | 251dc7f60d26e4ae0998628a91cd620fad70944d | /tensorflow/compiler/jit/xla_device_context.h | a8ad511fbd2d7f06601608101b8346ff30f8fc20 | [
"Apache-2.0"
] | permissive | markostam/tensorflow | 8e148fdf5b11502cf7b846995e903c54edc5d58e | 90df8ab4ab127fac239597ce0708577a335613bf | refs/heads/master | 2020-03-07T13:08:31.584600 | 2018-03-30T20:16:16 | 2018-03-30T20:16:16 | 127,493,571 | 3 | 1 | Apache-2.0 | 2018-03-31T02:55:38 | 2018-03-31T02:55:37 | null | UTF-8 | C++ | false | false | 3,660 | h | /* Copyright 2017 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | [
"gardener@tensorflow.org"
] | gardener@tensorflow.org |
43b25ad060f76582d743f96780591122b0aa4443 | 7810649933c047866ca4f25180b7faab05781cb3 | /src/software/simulation/threaded_simulator.h | 0bae6e479afb2cce771b4905f852be3f622798bb | [
"LGPL-3.0-only"
] | permissive | amrm3lm/Software | 21004f55defe7f29309396372976e7c72cbcc315 | 7f0db5a720e319a9efd35bbaa0a7a5fabaf72e95 | refs/heads/master | 2022-11-13T04:59:26.999944 | 2021-10-08T03:25:02 | 2021-10-08T03:25:02 | 210,059,814 | 0 | 0 | MIT | 2019-09-21T22:16:19 | 2019-09-21T22:16:19 | null | UTF-8 | C++ | false | false | 7,509 | h | #pragma once
#include <atomic>
#include <thread>
#include "proto/defending_side_msg.pb.h"
#include "proto/messages_robocup_ssl_wrapper.pb.h"
#include "shared/parameter/cpp_dynamic_parameters.h"
#include "software/simulation/simulator.h"
extern "C"
{
#include "proto/primitive.nanopb.h"
}
/**
* A wrapper for Simulat... | [
"noreply@github.com"
] | amrm3lm.noreply@github.com |
fd13516a317d54a334b9a06ac917665d90cc40af | 4b8219218f6c6ade37d2d989b331d71353c0f03f | /braces.cpp | 0e03311e749e78c1b8c3998ce713c795a11510d7 | [] | no_license | abbasidaniyal/ieee-code-1 | ff45d3e5e5049e4a7a67af96552085bbbeefda26 | 3b0afe524e56b4059731b32853315230d3054573 | refs/heads/master | 2020-04-10T13:53:23.235666 | 2018-12-09T17:01:58 | 2018-12-09T17:01:58 | 161,061,636 | 0 | 0 | null | 2018-12-09T17:01:07 | 2018-12-09T17:01:07 | null | UTF-8 | C++ | false | false | 2,032 | cpp | #include <iostream>
#include <string>
#include <vector>
using namespace std;
bool checkbraces(string s)
{
int cnt1=0,cnt2=0;
for (int i = 0; i < s.size() ; ++i)
{
if (s[i]=='(')
{
cnt1++;
}
else if (s[i]==')')
{
cnt1--;
}
else if (s[i]=='[')
{
cnt2++;
}
else if (s[i]==']')
... | [
"36009198+abbasidaniyal@users.noreply.github.com"
] | 36009198+abbasidaniyal@users.noreply.github.com |
242fca6d82b1592a5560067e4feeccb07e485f02 | 2aca3c2863fe7e25e0ce47002271136c7c24475e | /main.cc | e6fafde399e95153a2afbadce6e67cbfa3b68bbb | [] | no_license | hun-nemethpeter/cpp-modules-test | 220a0177cc2a762a18e0c3092c256e4ff31d97e6 | 40a956fe601735b3b302570524bc2c4ce7067a01 | refs/heads/master | 2016-09-05T08:59:21.066922 | 2013-12-18T16:59:56 | 2013-12-18T16:59:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 889 | cc | //#define string aaa
#include <dummy.h>
#include <IdPool.hh>
#include <Bug.h>
//#undef string
class Session : public IdResourceBase<Session>
{
public:
Session(unsigned id) : IdResourceBase<Session>(id)
{
std::cout << "Session ctor" << std::endl;
}
~Session()
{
std::cout << "Session dtor" << std::e... | [
"hun.nemethpeter@gmail.com"
] | hun.nemethpeter@gmail.com |
30c6cae205770f894b6095dacd100e0485dea8f1 | 0a45b8c5b07ae5e5f0b3c24ba0dce8467a62915f | /src/screening.cpp | a8b35db0b000ebfb3b5185c77a0be267631e06bf | [] | no_license | hugogogo/sprintr | ec2f70c8c1e67b787456315054dd13813bbda358 | 7a4120c862e455f922a4ff85ac561bb238475df1 | refs/heads/master | 2021-12-20T07:23:19.705473 | 2021-12-03T07:41:11 | 2021-12-03T07:41:11 | 199,120,296 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 11,544 | cpp | #include <cmath>
#include <queue>
#include <vector>
// we only include RcppArmadillo.h which automatically pulls Rcpp.h in for us
#include "RcppArmadillo.h"
class Triplet
{
private:
// j, k are the indices of the interaction
int j, k;
// the absolute correlation of the j,k interaction with some target
double a... | [
"gy63@cornell.edu"
] | gy63@cornell.edu |
1b416041756fe8701d398e9664e9bf7ffe080c4b | ebd6ef77b04b657806df3343c09d30aeca558751 | /main1.cpp | 17f1a23fa5e1b868a9014c0181712d1dd3c522a4 | [] | no_license | ivanstar/LinkedList | 12f6d4f44e459c71ecf0a2f5640a6680c49d0bc7 | ba86876f314ad81f79d64575595db056b56ad4a6 | refs/heads/master | 2020-07-07T05:44:47.774024 | 2019-08-21T06:04:05 | 2019-08-21T06:04:05 | 203,268,859 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 498 | cpp | #include "LinkedList1.h"
#include <iostream>
using namespace std;
int main()
{
int sum,value,result;
LinkedList1 list;
list.insertFront(3);
list.insertFront(4);
list.insertFront(5);
list.insertBack(1);
list.insertBack(7);
list.print();
list.backward();
list.print();
sum = list.sum();
cout << "... | [
"noreply@github.com"
] | ivanstar.noreply@github.com |
44923b7a0fd2ab41b4d81001b4a47055f9127d27 | 2c49dc548230abe4d1665be56f4a6905b1cc7d29 | /src/physically_based/PhysicallyBasedScene.cpp | 904df5f296b4eafe0e4be8d224fb777f2c9d401e | [] | no_license | bencole12345/PhysicallyBasedRenderer | e0430434b51d04c6e3fe7fdf0f9215298d904d25 | b1db11fedc9de992f5b23bea539efa195fa1bca6 | refs/heads/main | 2023-06-05T06:18:34.160063 | 2021-06-21T22:26:08 | 2021-06-21T22:26:08 | 318,552,896 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,910 | cpp | #include "physically_based/PhysicallyBasedScene.h"
#include <memory>
#include <unordered_map>
#include <utility>
#include <vector>
#include <boost/functional/hash.hpp>
#include "core/PointLightSource.h"
#include "core/ShaderProgram.h"
#include "core/TexturePrecomputation.h"
#include "physically_based/EnvironmentMap.... | [
"bencole12345@gmail.com"
] | bencole12345@gmail.com |
f24e4e2536d7c6631cfa3907720a7a3615a4cbda | dc02e94a6b7f09714a85198af3ce5fb2cbc0def4 | /src/engine/shared/console.h | bbe267d4262d92a2c734813d921092609bbacf49 | [
"Zlib",
"LicenseRef-scancode-other-permissive"
] | permissive | SailorEx/Taschenrechner | 1c87791464f9cbeb094edaac7021703e3464ec93 | f4ac996469c5d02f51c92b2d0b60ba436bcaeeba | refs/heads/master | 2020-12-13T07:37:47.162881 | 2015-01-11T21:18:52 | 2015-01-11T21:18:52 | 234,348,839 | 0 | 1 | NOASSERTION | 2020-01-16T15:20:57 | 2020-01-16T15:20:56 | null | UTF-8 | C++ | false | false | 5,256 | h | /* (c) Magnus Auvinen. See licence.txt in the root of the distribution for more information. */
/* If you are missing that file, acquire a complete release at teeworlds.com. */
#ifndef ENGINE_SHARED_CONSOLE_H
#define ENGINE_SHARED_CONSOLE_H
#include <engine/console.h>
#include "memheap.h"
class CConsol... | [
"xshaddi@hotmail.com"
] | xshaddi@hotmail.com |
ddd84ed0a59b647cdbd2c593e0c011d2cfff644f | e67bbbe53675728bd2035f059ff2257936c829ee | /libs/query/test/translator.cpp | 2f2d5c60f709a4ec364c59ae77453719ece4c553 | [] | no_license | galaxyeye/atlasdb | e4da3c7196b4be70ed4d012ba4941c85820428de | d53d1a8c9d41beeb42700c58d653b14d7d1e006e | refs/heads/master | 2021-01-01T17:47:54.761295 | 2013-05-16T14:33:35 | 2013-05-16T14:33:35 | 9,598,475 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 138 | cpp | /*
* translator.cpp
*
* Created on: Apr 21, 2013
* Author: vincent
*/
#include <atlasdb/query/ir_builder.h>
int main() {
}
| [
"ivincent.zhang@gmail.com"
] | ivincent.zhang@gmail.com |
c0985bef042c1e9ee9361c79428c300dc445d0a1 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5648941810974720_1/C++/zyhzyhzyh/A.cpp | b9a3fb7ddf762073a2bf0234018d8a5c564d9d42 | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 1,578 | cpp | #include<cstdio>
#include<cstring>
#include<string>
#include<algorithm>
#include<vector>
#include<set>
#include<map>
#include<queue>
#include<cmath>
#define fi first
#define se second
#define MP make_pair
#define PB push_back
#define PII pair<int,int>
typedef long long LL;
using namespace std;
char s[2010];
int T,c[300... | [
"alexandra1.back@gmail.com"
] | alexandra1.back@gmail.com |
9d80cc15574ec4f8864b047d043015d7149f830c | 4a74ec1b7e299540b924bce4928537a51fc00ff5 | /CppAlgo/Project1/Project1/소스.cpp | 3c60298b889038bc579a05b6b938f0255a8d79b9 | [] | no_license | yeonlang/algorithm | ef74b2592818495f29f6de5f44f81ccf307efa59 | ab788658bb781773c489cac8c6e8d2bea48fda07 | refs/heads/master | 2020-04-22T20:25:46.243355 | 2019-05-08T15:17:45 | 2019-05-08T15:17:45 | 170,641,144 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 1,973 | cpp | #include <stdio.h>
const int maxR = 100;
const int maxC = 100;
int N, M, K, ans;
typedef struct FISH{
int big,y,x,s,d;
};
FISH data[maxR][maxC] = { 0, };
// 상하우좌
int dy[4] = { -1,1,0,0 };
int dx[4] = { 0,0,1,-1 };
void trans(int y, int x) {
int time;
time = 0;
while (time < data[y][x].s) {
if (data[y][x].d < ... | [
"naspy001@gmail.com"
] | naspy001@gmail.com |
920d0addeb9d0f627701267a45a5bdb2d3a455d2 | a61ebd1507eeaa334aff44800b022ef0a258752a | /Code/HackerRank/Practice/leo_prime_factors.cpp | 0e233f64a087d7088fea4049a603639d26de5f5e | [
"MIT"
] | permissive | Jimut123/competitive_programming | 14ce0ab65414e6086763519f95487cddc91205a9 | b4cdebaceee719c1a256921829ebafda11c515f5 | refs/heads/master | 2023-03-05T15:42:57.194176 | 2022-04-08T08:53:26 | 2022-04-08T08:53:26 | 156,541,142 | 1 | 0 | null | 2019-05-29T17:10:28 | 2018-11-07T12:09:55 | C++ | UTF-8 | C++ | false | false | 707 | cpp | #include <iostream>
#include <bits/stdc++.h>
using namespace std;
void Leoprime(long long num)
{
bool pno[num+1];
memset(pno, true, sizeof(pno));
for (int i = 2; i*i <= num; i++) {
if (pno[i] == true) {
for (int j = i*2; j <= num; j += i)
pno[j] = false;
}
}
long lo... | [
"jimutbahanpal@yahoo.com"
] | jimutbahanpal@yahoo.com |
27be0d3b175a426d1a6f1cfd14d0f2dc35a68a00 | f62cfd7268c83ff894880bdc71744f15715a3231 | /src/logger/dummy_logger.cpp | 8631dbfcf11c2f1b27e1226dd7c7c70f0b6a369d | [] | no_license | ewized/digital | 71c495247b1981ec93d4070c75a290c40e9b929a | 60cf960be0b3c465e197da2f4398f32eb9341f22 | refs/heads/master | 2020-06-16T13:25:18.795886 | 2016-11-27T16:48:37 | 2016-11-27T16:48:37 | 75,097,895 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 170 | cpp | /*
* Copyright 2016 ewized. All Rights Reserved.
*/
#include "logger.h"
#ifndef LOGGER
#include <string>
/** Do nothing */
void log(std::string message) {}
#endif
| [
"ewized@gmail.com"
] | ewized@gmail.com |
6ef4b7dee966dbaa804748f9b2cf18dcd4af46eb | 99b6050160e7d89249720f8a49c7ed2aff6b6bad | /arduino/SmokerControl/SmokerController.h | 79d541af6b34278f36c7fefa2fb5d94667eea8fd | [] | no_license | ninjachris81/SmokerControl | 17cddcd2b32f92daeb620120de876a43c15b8335 | 1778e5229e9fa19abe720e93ce6d342eceeaf8c5 | refs/heads/master | 2021-05-08T01:29:36.025799 | 2020-04-20T21:16:03 | 2020-04-20T21:16:03 | 107,863,695 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,270 | h | #ifndef SMOKERCONTROLLER_H
#define SMOKERCONTROLLER_H
#include <AbstractIntervalTask.h>
#include "Debug.h"
#include "Pins.h"
#include "BehaviorProperty.h"
#include "Simulation.h"
#define PROP_HEATER 0
#define TARGET_TEMP_TOLERANCE 5.0
#define HEATER_DELAY_MS 20000
class SmokerController : public A... | [
"cbstar@web.de"
] | cbstar@web.de |
4c32da4517c5e2d5116c411963b3180fa348574e | 8a14c4f4ca487e673d8b0d5feb7bf3e6d723b9f0 | /Code Storage/小知识点/Windows/GraphLib/C5Sides.cpp | 8a9769926ef73407be88885ff1348751153fdcc8 | [] | no_license | tyekrgk/code-refrence | 47c0185161577d35302434fe7d06b9f0a5853ea0 | 019d120ce62504320c50ce0ca23e562a14e3d0bb | refs/heads/master | 2021-05-28T13:59:08.079034 | 2013-11-05T09:24:47 | 2013-11-05T09:24:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,502 | cpp | #include "stdafx.h"
#include "GraphLib.h"
C5Sides::C5Sides(int nWidth, Color crColor, DashStyle dashstyle)
{
m_nMinCount = 5;
m_nWidth = nWidth;
m_crColor = crColor;
m_ptary.SetSize(7,1);
m_nDashStyle = dashstyle;
InitGraphData();
}
C5Sides::C5Sides()
{
}
C5Sides::C5Sides(const C5Sides& gph)
... | [
"lilingshui@126.com"
] | lilingshui@126.com |
bad559846932bc391a7a7ffe5fdd61c61d0e72d6 | fe739acd76bba1028e38c67607424ee1b4bd0c05 | /EJElena/26_hoja-VI-3_bisiesto.cpp | 09c0fb2bf692ee7ade01481aa5051cb897d8b35c | [] | no_license | vtsartas/EJCpp | ad57f3f21c9d198d0685023356feeeb2f939bc25 | d340b3d7a74e6d96b559720269fa88da8f195318 | refs/heads/master | 2020-12-09T18:30:17.892969 | 2020-01-16T20:51:46 | 2020-01-16T20:51:46 | 233,383,248 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 791 | cpp | #include <iostream> // Librería básica de entrada y salida, necesaria para cout, cin...
#include <conio.h> // Se incluye para pausar el programa al final hasta que se pulse una tecla y que no se cierre
using namespace std;
// Ejercicio 26 - Hoja VI (3) - Verificar si el año dado es bisiesto según las indicaciones dada... | [
"vtsartas@gmail.com"
] | vtsartas@gmail.com |
6a47057372274063b1e5f1be4e718b10e0efb8d0 | a90546b830d2c37e5db9284fe099b0f0658e723a | /libraries/eosiolib/tester/wasi_polyfill/__wasi_fd_seek.cpp | 477cb71c36d27f3277271ee3989691fe55657410 | [
"BSL-1.0",
"MIT"
] | permissive | NorseGaud/Eden | afba632342c2b56018e8d5d5bb8db38d81189f8f | 56610ebea830c3e7febe3f0c42d8fdc7dec609a5 | refs/heads/main | 2023-05-02T19:20:36.591718 | 2021-05-17T13:36:30 | 2021-05-17T21:39:01 | 365,883,543 | 0 | 0 | MIT | 2021-05-10T01:19:47 | 2021-05-10T01:19:47 | null | UTF-8 | C++ | false | false | 580 | cpp | #include <wasi/api.h>
extern "C" __wasi_errno_t __wasi_fd_seek(__wasi_fd_t fd,
__wasi_filedelta_t offset,
__wasi_whence_t whence,
__wasi_filesize_t* newoffset)
__attribute__((__import_module__... | [
"tbfleming@gmail.com"
] | tbfleming@gmail.com |
50cee1b6176c4ebb25d6e8a6a7b62565180cb7fc | d51ec7da9ef4be2d37f996913df350704037ef9b | /Semana 1/ACMC-7206.cpp | 9360e18552692501767db415873c478504009f32 | [] | no_license | lucasx95/Desafios | dc2686c444d4e90fce8df660acabad723f3f9a3c | 04d1000c9931cb90411e2845d443b1047364ef27 | refs/heads/master | 2020-04-06T06:43:44.060865 | 2016-05-31T17:39:15 | 2016-05-31T17:39:15 | 53,157,094 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,030 | cpp | #include <bits/stdc++.h>
#define ll long long
using namespace std;
int main(){
int n,m,budget,card,sumRound,daedelusPoints, daedelusCard, maxPoints;
vector<int> cards;
cards.push_back(10000);
cards.push_back(1000);
cards.push_back(100);
cards.push_back(10);
cards.push_back(1);
while(cin >> n){
cin >> m;
... | [
"ra146997@gambit.lab.ic.unicamp.br"
] | ra146997@gambit.lab.ic.unicamp.br |
5998934c4e24b477cc0ca79a0e6f2303f272d8b6 | 5ac13fa1746046451f1989b5b8734f40d6445322 | /minimangalore/Nebula2/code/mangalore/msg/ui/dragboxcancelled.cc | 7d030bc18df822f95213ec0bc4699cea4c6436e9 | [] | no_license | moltenguy1/minimangalore | 9f2edf7901e7392490cc22486a7cf13c1790008d | 4d849672a6f25d8e441245d374b6bde4b59cbd48 | refs/heads/master | 2020-04-23T08:57:16.492734 | 2009-08-01T09:13:33 | 2009-08-01T09:13:33 | 35,933,330 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 450 | cc | //------------------------------------------------------------------------------
// msg/ui/dragboxcancelled.cc
// (C) 2006 Radon Labs GmbH
//------------------------------------------------------------------------------
#include "msg/ui/dragboxcancelled.h"
namespace Message
{
ImplementRtti(Message::DragBoxCa... | [
"BawooiT@d1c0eb94-fc07-11dd-a7be-4b3ef3b0700c"
] | BawooiT@d1c0eb94-fc07-11dd-a7be-4b3ef3b0700c |
1591d04f9f960b247ea57088a852a1bebbe66a87 | ea401c3e792a50364fe11f7cea0f35f99e8f4bde | /hackathon/PengXie/NeuronStructNavigator/cmake-3.6.2/Tests/CMakeCommands/target_compile_features/main.cpp | 6f5daee0bbcc2ac3e98d3f827bfd354e46912e5b | [
"MIT",
"BSD-3-Clause"
] | permissive | Vaa3D/vaa3d_tools | edb696aa3b9b59acaf83d6d27c6ae0a14bf75fe9 | e6974d5223ae70474efaa85e1253f5df1814fae8 | refs/heads/master | 2023-08-03T06:12:01.013752 | 2023-08-02T07:26:01 | 2023-08-02T07:26:01 | 50,527,925 | 107 | 86 | MIT | 2023-05-22T23:43:48 | 2016-01-27T18:19:17 | C++ | UTF-8 | C++ | false | false | 53 | cpp |
int main(int, char**)
{
auto i = 0;
return i;
}
| [
"peng.xie@utdallas.edu"
] | peng.xie@utdallas.edu |
6bfa926ed5b22fd8b65dd23fb8990abbb5a32a92 | e85b706cd3644a2b734ba6966ea183c06e32db07 | /Feet.cpp | b8862b5f88284950e6ecb0563d6523d1b00b819c | [] | no_license | PurplePerilla/Feet | c0e26515051a65818e6c8c0747634fa4d2c78eb8 | 6df1c5144e27fede1016cdeb8ca11ff3104df04a | refs/heads/master | 2020-05-29T19:19:37.604784 | 2019-05-30T01:58:55 | 2019-05-30T01:58:55 | 189,327,284 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 920 | cpp | // ConsoleApplication1.cpp : 定义控制台应用程序的入口点。
//
#include "stdafx.h"
#include"iostream"
using namespace std;
class CFeet
{
private:
int feet;
int inches;
public:
CFeet();
CFeet(int f, int i);
int setFeet(int f, int i);
void displayFeet();
int check();
};
CFeet::CFeet()
{
feet = 0;
inches = 0;
}
CFeet::CFeet(in... | [
"48903712+PurplePerilla@users.noreply.github.com"
] | 48903712+PurplePerilla@users.noreply.github.com |
543e5f24415e25ef325c2b03dcb8950f7ed40d0c | 24357a12af42349b9b787b47722a738a6694419b | /Learn/30-Days-Of-Code/Day 19/interfaces.cpp | 683e2eb23576018036fb20cd81cefd9fe9f980dd | [
"MIT"
] | permissive | Adriel-M/HackerRank | 1aee2f3501f7db01bf2c7eabc00ff555779a345c | 0f361bb7eaa3d2db3dd96de511c4b7fa02efa8c5 | refs/heads/master | 2021-01-21T10:49:03.610333 | 2017-06-18T03:37:16 | 2017-06-18T03:37:16 | 91,708,001 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 680 | cpp | #include <iostream>
using namespace std;
class AdvancedArithmetic {
public:
virtual int divisorSum(int n) = 0;
};
class Calculator : public AdvancedArithmetic {
public:
int divisorSum(int n) {
int s = n > 1 ? n + 1 : 1;
for (int i = 2; i < ((n / 2) + 1); i++) {
... | [
"adriel@adrielm.ca"
] | adriel@adrielm.ca |
acb06cdd34aa12055c9f8b66c1d27b4f5cea2d34 | e280a47865b1d8d6b184940f49e3e1b9a8035ee1 | /Lab 4/ex3.cpp | c3f4bc75f9cd5cb32c5a5ea39eef9ec4b4fc3c5c | [] | no_license | LeAlmond/Programming-1 | 4f0229a0e6405504f810223011508307ba00929a | 39d1425ab7f1460958e45d27807fbaa7c7450aeb | refs/heads/master | 2023-08-20T05:22:52.898186 | 2021-10-20T17:37:30 | 2021-10-20T17:37:30 | 294,236,209 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 456 | cpp | #include <stdio.h>
int main()
{
int a1, a2, a3, max;
printf("%s","Enter first age ");
scanf("%i",&a1 );
printf("%s","Enter second age ");
scanf("%i",&a2 );
printf("%s","Enter second age ");
scanf("%i",&a3 );
max = a1;
if (a2 > max) {
... | [
"unconfigured@null.spigotmc.org"
] | unconfigured@null.spigotmc.org |
4d906e413da9eca8f22150d4698d0e1aac0f596c | 2636985df14f40006499fd7da0986c3404326c52 | /src/test/config_tests.cpp | 16997c886ca6d1fc7e286181cfcffc8f962b5869 | [
"MIT"
] | permissive | bitcoincandyofficial/bitcoincandy | 37feb54ad72522854a272395110b5b2e7d1a55cb | aa72d2440ed5b7f07bef017aa6f8465d06162ff2 | refs/heads/master | 2022-07-06T01:24:07.956560 | 2021-12-15T14:41:57 | 2021-12-15T14:41:57 | 120,779,114 | 33 | 14 | MIT | 2022-06-20T22:39:41 | 2018-02-08T15:27:24 | C++ | UTF-8 | C++ | false | false | 2,051 | cpp | // Copyright (c) 2016 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 "config.h"
#include "chainparams.h"
#include "consensus/consensus.h"
#include "test/test_bitcoin.h"
#include <boost/test... | [
"myhmchmc@163.com"
] | myhmchmc@163.com |
21eaa2506093ca38ca10e411a2a85126367390f0 | 493a4c99ba7d2122bcca2a495b87bf190ece5750 | /LCM.cpp | 249069cf11a64c14cd733a0cc2c305c983ab9caf | [] | no_license | md-qubais/Data_Structures_Algorithms_and_Competitive_Programming | 9b8d38c05522568bbf4cffa95dc5390a3aaae1cb | d7157c27720fa28ead3d4562e423ad719aabd87b | refs/heads/main | 2023-04-02T12:36:34.482803 | 2021-04-05T08:31:14 | 2021-04-05T08:31:14 | 354,769,143 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 367 | cpp | #include<bits/stdc++.h>
#define ll long long
using namespace std;
ll gcd(ll a,ll b){
return b==0?a:gcd(b,a%b);
}
int main()
{
#ifndef qubais_judge
freopen("input.txt","r",stdin);
freopen("output.txt","w",stdout);
#endif
ios_base::sync_with_stdio(false);
cin.tie(NULL);
ll a,b;
cin>>a>>b;
c... | [
"shareefhussain733@gmail.com"
] | shareefhussain733@gmail.com |
071a641a796e340ace92df2eb39790d6e23b6119 | 8b76d8f5949e7d1a2a2b2d84cbeab08d3d2e0b62 | /inc/inl/atomic_value.hxx | 26ea2393e3586ac4cad5ce31bfac7a3cb5bf72f3 | [] | no_license | RoyMattar/smart-home | a5690d1de4c22a94f55960d9fe8d19f199bac17d | 5a27facdd225df252a6f3d9e1d1edbcc10514dd4 | refs/heads/master | 2022-07-03T10:55:42.119093 | 2020-05-18T08:58:11 | 2020-05-18T08:58:11 | 264,874,482 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 849 | hxx | namespace advcpp
{
template <typename T>
AtomicValue<T>::AtomicValue (T a_val) NOEXCEPTIONS
: m_val(a_val)
{ }
template <typename T>
void AtomicValue<T>::operator+= (T a_val) NOEXCEPTIONS
{
__sync_add_and_fetch(&m_val, a_val);
}
template <typename T>
void AtomicValue<T>::operator-= (T a_val) NOEXCEPTIONS
{
... | [
"roy.mattars@gmail.com"
] | roy.mattars@gmail.com |
abc0ce9841705ddddeab6452ad40491aabb897a4 | 28a3e26ce3c4a4e63d1af7df899ed61b3b03ea61 | /RationalAgents/Utility.cpp | b3b81f9ce6f787bf6cbc6b4d8da4debc4166e308 | [] | no_license | outofband1/Finplex | 41b78cb8df421b0400f9c66df91730a8c85da400 | e7f8fdce276912ffc35e241b3d0fac3c51d33985 | refs/heads/master | 2020-03-22T06:22:24.143867 | 2019-12-20T11:24:43 | 2019-12-20T11:24:43 | 139,628,996 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 879 | cpp | #include "utility.h"
#include <math.h>
Utility::Utility(const std::string& name, const std::string& description)
{
name_ = name;
description_ = description;
}
void Utility::setCurve(const double& max, const double& saturationAmount, const double& saturationDegree)
{
// solve max(1-e^saturationAmount*x)=sa... | [
"40806227+outofband1@users.noreply.github.com"
] | 40806227+outofband1@users.noreply.github.com |
13adafdb0e08deb100b8f79ac11abd1d0a0b341f | 7f365a0dfad5267dd45844e678a09e7c3f8881bd | /Wagl/Texture.h | f409913520d93c132929b5289b5b8a291a76ed3a | [] | no_license | GMWolf/GameDev-project | 8f9036b7c8f3b78db66eaac10ad434e85f1cddaf | c3a8246b4d8e22612f8fe5f9558a0f4ece6ec11c | refs/heads/master | 2021-05-01T13:02:21.556804 | 2018-05-13T23:02:22 | 2018-05-13T23:02:22 | 121,067,073 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 358 | h | #pragma once
#include <glad/glad.h>
#include <GLFW/glfw3.h>
namespace wagl {
class Texture
{
public:
Texture();
Texture(int width, int height, GLenum formatInternal, GLenum format, GLenum type);
Texture(GLint glTex);
~Texture();
void bind();
void bind(GLint textureUnit);
bool isBound();
GLuint g... | [
"b5023110@newcastle.ac.uk"
] | b5023110@newcastle.ac.uk |
e54427847aaf11dcd8bec3fdd19a06ea5433c780 | b61bb615dad283a74714538baca0956689f96b5e | /OOP/L2/L2.h | 04c976387e1c663a0b124bc906146c74ee55f169 | [] | no_license | edwarddsongg/ICS4U | 27e8456e93f8a731c2364e8598358c72cdd6d123 | c4018023d91a88afef5557ac90a3c64d5f50a048 | refs/heads/master | 2023-06-03T18:30:53.146639 | 2021-06-19T15:38:53 | 2021-06-19T15:38:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 931 | h | #ifndef L2_H
#define L2_H
#include <string>
using namespace std;
class Fraction {
public:
Fraction();
Fraction(int num, int den);
Fraction(const Fraction& f);
int getNumerator();
int getDenominator();
void setNumerator(int n);
void setDenominato... | [
"52054778+edward-song-life-is-short@users.noreply.github.com"
] | 52054778+edward-song-life-is-short@users.noreply.github.com |
1dd9396e883731dc6590eded776a35e8f143c24b | da59f8111c8b6f39b40211b2b508c112541a36ec | /omaha/third_party/chrome/files/src/crypto/rsa_private_key.cc | fbb76e65547d9fc83b83f5ac1957b86f125628a1 | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause",
"Apache-2.0"
] | permissive | Gunanekza/omaha | bae26dc259f277a21dbfaf49b3795c442941265c | e73cb9edffaba24bb3b7515f5b48376f922b697e | refs/heads/master | 2022-11-04T22:23:17.642890 | 2020-06-13T21:40:19 | 2020-06-13T21:40:19 | 272,082,687 | 0 | 0 | Apache-2.0 | 2020-06-13T21:40:20 | 2020-06-13T20:42:07 | null | UTF-8 | C++ | false | false | 6,887 | cc | // Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "crypto/rsa_private_key.h"
#include <list>
#include <memory>
#include "omaha/base/debug.h"
namespace crypto {
// static
RSAPrivateKey* RS... | [
"sorin@chromium.org"
] | sorin@chromium.org |
e0bacc43c8621b33261fc2c5131c6ec014b80721 | af94fdcc207213c08c6fec9067726a284833530c | /src/gamersonlinecoinrpc.cpp | a45b8c711390461d8dc0b5b772319d976e42f24f | [
"MIT"
] | permissive | gamersonlinecoin/GamersOnlineCoin | 5776fd83ac68108df419b9c63c9d572ddf8b4c96 | 50d65d47f5a607e1ff6ccef7ba0662498c7e5d80 | refs/heads/master | 2021-04-12T09:46:32.434400 | 2018-03-24T11:19:51 | 2018-03-24T11:19:51 | 126,592,066 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 48,335 | cpp | // Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "init.h"
#include "util.h"
#include "sync.h"
#include "ui_interface.h"
#includ... | [
"37679084+gamersonlinecoin@users.noreply.github.com"
] | 37679084+gamersonlinecoin@users.noreply.github.com |
94daa2e3e6a2249292cf3f0e2555f30f8292a3df | b0c112527241f645ca77a724e97d0a46c8eed417 | /GraphQL/Parser/Parser.h | 1a8cfe2b755453d920b9b59e54b2129026998c39 | [
"MIT"
] | permissive | faizol/GraphQL-cpp-1 | fbac3f0bc8fbbee7ceaf202c5ffb370c7aec2076 | 42c35c97f239cc066455a11b37249697dcaed130 | refs/heads/master | 2022-04-08T22:17:36.028125 | 2020-03-16T20:58:12 | 2020-03-16T20:58:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 318 | h | #pragma once
#include <GraphQL/Parser/Lexer.h>
namespace GraphQL {
namespace Parser {
class Parser {
private:
Lexer lexer_;
Token current_token_;
public:
Parser(const Source& source);
void* /*Types::Document*/ parse();
};
}
}
| [
"ziga@bobnar.net"
] | ziga@bobnar.net |
d1654be91da4d3c53327220a0cb4223515f9a30d | d95a3ab5f5ff1056fa32a250617b03b5227a0d5b | /mp4/tests/tests_part1.cpp | 3b5e6a2919aa7b91a66c78d180b2b51796edbf65 | [] | no_license | DarkenedOrigins/CppDataStructures | 0a2475c9a3f31883bb7a1f96ebb556607afa4420 | e18986ec919767b81c6c9fdf793ee93807ea36bb | refs/heads/master | 2022-09-21T05:03:25.746203 | 2020-05-30T03:19:51 | 2020-05-30T03:19:51 | 267,995,004 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,254 | cpp | #include "catch.hpp"
#include <algorithm>
#include <iostream>
#include <string>
#include <vector>
#include "../cs225/PNG.h"
#include "../cs225/HSLAPixel.h"
#include "../imageTraversal/BFS.h"
#include "../imageTraversal/DFS.h"
using namespace cs225;
/**
* Returns a 4x4 image with a white center and black border:
... | [
"darkenblade986@gmail.com"
] | darkenblade986@gmail.com |
42eb92bbb54fbbd87dd64dec02b3b0986ba516cc | 1a20961af3b03b46c109b09812143a7ef95c6caa | /Book/3dlearn/DirectX/3DGraphicsProgrammingCD/glib/GutTGA.h | 8c256873e0d8f28493202cdda7f69a69cbe239dd | [] | no_license | JetAr/ZNginx | eff4ae2457b7b28115787d6af7a3098c121e8368 | 698b40085585d4190cf983f61b803ad23468cdef | refs/heads/master | 2021-07-16T13:29:57.438175 | 2017-10-23T02:05:43 | 2017-10-23T02:05:43 | 26,522,265 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 814 | h |
#define IMG_OK 0x1
#define IMG_ERR_NO_FILE 0x2
#define IMG_ERR_MEM_FAIL 0x4
#define IMG_ERR_BAD_FORMAT 0x8
#define IMG_ERR_UNSUPPORTED 0x40
#include "GutImage.h"
class TGAImg : public GutImage
{
public:
TGAImg();
~TGAImg();
int Load(const char* szFilename);
int GetBPP();
int GetWidth();
i... | [
"126.org@gmail.com"
] | 126.org@gmail.com |
22ff245bd843e925225d113c3f40e9a9180d03b4 | 506e96a1186f5524ad9a6f1466e65f4c6857a1c3 | /codeforces/1284/B.cpp | 3b556c1d598fa9d1b73f8ac0ae0677eb7a95d2a5 | [] | no_license | 142ayushkumar/OJ-Submissions | 65c5a9baf13b9a8155178f66a1698dcbcc05d24f | a71e9a8f96cba8859158db7d25b04f28fc9efa34 | refs/heads/master | 2023-02-04T07:28:40.316895 | 2019-12-16T15:25:00 | 2020-12-22T09:10:06 | 323,572,960 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,576 | cpp | #include <bits/stdc++.h>
using namespace std;
#define fastio ios_base::sync_with_stdio(false);cin.tie(0);cout.tie(0)
#define pb push_back
#define mp make_pair
#define int long long
#define all(c) (c).begin(),(c).end()
#define M 1000000007
#define INF LLONG_MAX
#define pr(...) dbs(#__VA_ARGS__, __VA_ARGS__)
template <... | [
"142ayushkumar@gmail.com"
] | 142ayushkumar@gmail.com |
6fada9061ee0cdcd329f886a4545ab77b4452256 | cd0af8a3ea0a1b2b47286039c190f603acaaf580 | /alignment/asmd/asmd/eita/BasicCalculation_v170122.hpp | a0e25c5033cba541c9a42cc2a945c483e7bdb04f | [
"MIT"
] | permissive | LIMUNIMI/MMSP2021-Audio2ScoreAlignment | 1fcedab96ac09cac4a9f046fe5e22fe4da808fcb | f5c23e94e97bb524342a9b0b34f99037121d6e7f | refs/heads/master | 2023-04-15T10:10:10.844856 | 2022-10-14T09:58:30 | 2022-10-14T09:58:30 | 372,559,818 | 24 | 6 | MIT | 2022-10-14T09:58:31 | 2021-05-31T15:55:44 | Jupyter Notebook | UTF-8 | C++ | false | false | 5,638 | hpp | /*
Copyright 2019 Eita Nakamura
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, merge, publish, distribute, subli... | [
"federico.simonetta@unimi.it"
] | federico.simonetta@unimi.it |
529e7685357668c93132e2db4b12a176fa1ee918 | 520aaa426dee1a0d88e646039c26bb203e25604e | /00_create_window/sdl/sdl_window.cpp | 41d36910810945a8319abd7cf2a8916bc40aba33 | [] | no_license | benjaminhuanghuang/opgl-study | 4c6a0f2d53c6ffcd2b0ee3bc5eed5043a5087f0d | a761ee7fde1c7e41c18a6b64aba3ec1503c74067 | refs/heads/master | 2023-03-27T21:59:20.338919 | 2021-03-30T05:01:35 | 2021-03-30T05:01:35 | 199,388,714 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,924 | cpp | #include <SDL2/SDL.h>
#include <stdlib.h>
#include <stdio.h>
#include <GL/glew.h>
bool isRunning = true;
void processInput(){
SDL_Event event;
while (SDL_PollEvent(&event))
{
switch (event.type)
{
case SDL_QUIT:
isRunning = false;
break;
}
}
}
int main(void)
{
// Set OpenGL attributes
// Use ... | [
"benjaminhuanghuang@gmail.com"
] | benjaminhuanghuang@gmail.com |
37df5d55ec4c458f659caac3bb05d9b3123ff5b5 | 90517ce1375e290f539748716fb8ef02aa60823b | /solved/i-k/knights-in-chessboard/gen.cpp | 4cd5e4f5e07b63f0ec339464090d16277718bdae | [
"Unlicense",
"LicenseRef-scancode-public-domain"
] | permissive | Code4fun4ever/pc-code | 23e4b677cffa57c758deeb655fd4f71b36807281 | 77ce51d692acf6edcb9e47aeb7b7f06bf56e4e90 | refs/heads/master | 2021-01-15T08:15:00.681534 | 2014-09-08T05:28:39 | 2014-09-08T05:28:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 525 | cpp | #include <cstdio>
#include <cstdlib>
#include <ctime>
#define MAXT 41000
#define MAXM 200
#define MAXN 200
void test_case()
{
int m = rand() % MAXM + 1;
int n = rand() % MAXN + 1;
printf("%d %d\n", m, n);
}
int main()
{
srand(time(NULL));
int T = MAXT;
printf("%d\n", T);
for (int i = ... | [
"leonardo@diptongonante.com"
] | leonardo@diptongonante.com |
33339e592b6dbde32e72f968ed0340d27055877c | 22964c1b05c503fc88d26b5e1cfa558308e7342f | /search/binary_search.cpp | 13467067c2eff4141e17343844b41ad4a09426ca | [] | no_license | oceanwavechina/algorithm | 8f67088ac80b236d076333c63e3161f7bf0fff11 | d3fae2f5ed1a636eca1f35cdc9a5703238957efd | refs/heads/master | 2021-11-29T00:21:25.798080 | 2021-09-22T09:29:42 | 2021-09-22T09:29:42 | 180,058,662 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,023 | cpp | /*
* binary_search.cpp
*
* Created on: Sep 5, 2016
* Author: liuyanan
*/
#include <iostream>
#include <vector>
#include <cmath>
int binary_search_recursive(std::vector<int> A, int low, int high, int key) {
// 这个算法需要注意的就是边界,因为第一个判断就是中值,所以之后的两个分支中,不包括这个中间的index
// 还有就是注意之前说的,我们什么时候用元素,什么时候用元素的值
if (high... | [
"oceanwave@yeah.net"
] | oceanwave@yeah.net |
d36b3d2c135550f425a28e428b0a1e5347a32ad6 | d25615104f7f8d7e1c6d6a02f18dd6c4f0a62461 | /removeLinkedListElements.cpp | 38c4d406d00e484621fc88c21e0174b94a76bf11 | [] | no_license | luisacoding/LeetCode | bba511c4fcd1a7d031864055b38b92018f685bbc | 8c729ce796a4e68328ef20311fa68cea43cfbe4d | refs/heads/master | 2021-01-12T22:38:09.038350 | 2015-05-12T08:56:57 | 2015-05-12T08:56:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,517 | cpp | /*
203. Removed Linked List Elements
Remove all elements from a linked list of integers that have value val.
Example
Given: 1 --> 2 --> 6 --> 3 --> 4 --> 5 --> 6, val = 6
Return: 1 --> 2 --> 3 --> 4 --> 5
*/
#include "ListNode.h"
#include <iostream>
void printListNode(ListNode *head)
{
if (head == nullptr)
return;... | [
"marinyoung@163.com"
] | marinyoung@163.com |
3cea04415ad70a208c61a83ce6991e275eb8accb | 3b5ff782365cbe5539a260b4ccb5bb3f272f510e | /Tank.h | e18f9fed46a6268b0c34eab41b95e692a2de31d4 | [] | no_license | BrockBarber/cs476_SE_Zombie | 5a19dcf492cb694f0add546667075fafbf199ffb | 5d44602f89bfcb032d7b263fca623be78398b9f8 | refs/heads/master | 2021-01-13T01:00:02.375466 | 2016-03-03T17:27:03 | 2016-03-03T17:27:03 | 52,115,318 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 252 | h | //
// Created by horvste on 2/29/16.
//
#ifndef ZOMBIEWAR_TANK_H
#define ZOMBIEWAR_TANK_H
#include "Zombie.h"
class Tank : public Zombie {
public:
Tank();
virtual void attack(ISurvivor *survivor) override;
};
#endif //ZOMBIEWAR_TANK_H
| [
"steven.horvatin@gmail.com"
] | steven.horvatin@gmail.com |
e1eea7217261a850b365e969f6ee6315ee548eb1 | 2ecf9c1d7d447b894a1b3f6b81d0ee3fd30b1d1e | /Common/include/CoreMsgBase.h | 0a78ca143dad262e2e9050ea5459c50403f23559 | [] | no_license | jjzhang166/Overlay | 206ba27f7e95f756d299b64ead736e4a675b5832 | 4f9829b5552e238d4dfeea1500a45818c0f921a3 | refs/heads/master | 2023-03-17T16:15:55.520663 | 2015-03-10T08:31:34 | 2015-03-10T08:31:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,718 | h | #pragma once
//////////////////////////////////////////////////////////////////////////
// file: CoreMsgComm.h
// brief: This file is a global definition and implementation for communication between CoreClient
// and In-Game Overlay based on C/S framework.
// author: Sonic Guan
/////////////////////////////////////... | [
"290522165@qq.com"
] | 290522165@qq.com |
843acffe09b976781ca564b402b18bf7856f660b | 312463a0ad42b933cce6a851004ab5e56e5b4fb4 | /include/neb/gfx/glsl/program/util/flag.hpp | 6ada4cdea59412f2c9c6cc73f7889d89b0fe93c5 | [] | no_license | Luddw/Nebula-Graphics | bfeeedafc18f18728fb9b5adc8198f12a56891af | 8d787f4fed27e9d0130f69a4473d5bfe48e02794 | refs/heads/master | 2021-05-29T17:42:09.056540 | 2015-03-11T03:17:14 | 2015-03-11T03:17:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 271 | hpp | #ifndef NEB_GFX_GLSL_PROGRAM_UTIL_FLAG_HPP
#define NEB_GFX_GLSL_PROGRAM_UTIL_FLAG_HPP
#include <gal/etc/flag.hpp>
namespace neb { namespace gfx { namespace glsl { namespace program { namespace util {
DEFINE_FLAG(flag_shader,
((SHADOW)(1 << 0))
)
}}}}}
#endif
| [
"charlesrymal@gmail.com"
] | charlesrymal@gmail.com |
eccddcb0531701a2c9f1a3c1419e5d076ce6303e | 9fc4a85471668e9ee9a8acb01f2ed2705895bd66 | /cpp/xmlhw/DigitalInputDefn.cpp | c737c7043e4f230988a306fc518ba3c8e4789744 | [
"MIT"
] | permissive | Team302/2018BetaCode | 56badc4624bdce48721c8efb195058a79eb4e277 | c941a77c537ce14fac0c13b7416f33b1cea97cad | refs/heads/master | 2020-04-14T18:27:28.418862 | 2019-01-03T20:50:30 | 2019-01-03T20:50:30 | 164,019,828 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,421 | cpp | // --------------------------------------------------------------------------------------------
// DigitalInputDefn.cpp
//
// Created on: Jan 15, 2018
// Author: casti
//
// --------------------------------------------------------------------------------------------
//
// Description: Create an DigitalInp... | [
"noreply@github.com"
] | Team302.noreply@github.com |
e550aee5690a639d352d4df827faa08f43c5af87 | 04b1803adb6653ecb7cb827c4f4aa616afacf629 | /third_party/blink/public/platform/web_client_hints_type.h | 589c372c9ba7cb002cb6f90c18a2fd04a070a745 | [
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.1-only",
"GPL-2.0-only",
"LGPL-2.0-only",
"BSD-2-Clause",
"LicenseRef-scancode-other-copyleft",
"BSD-3-Clause"
] | permissive | Samsung/Castanets | 240d9338e097b75b3f669604315b06f7cf129d64 | 4896f732fc747dfdcfcbac3d442f2d2d42df264a | refs/heads/castanets_76_dev | 2023-08-31T09:01:04.744346 | 2021-07-30T04:56:25 | 2021-08-11T05:45:21 | 125,484,161 | 58 | 49 | BSD-3-Clause | 2022-10-16T19:31:26 | 2018-03-16T08:07:37 | null | UTF-8 | C++ | false | false | 1,044 | h | // Copyright 2017 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 THIRD_PARTY_BLINK_PUBLIC_PLATFORM_WEB_CLIENT_HINTS_TYPE_H_
#define THIRD_PARTY_BLINK_PUBLIC_PLATFORM_WEB_CLIENT_HINTS_TYPE_H_
#include "third_par... | [
"sunny.nam@samsung.com"
] | sunny.nam@samsung.com |
8a038c6b6c3f16abce976a46e13159336499a356 | d6bec40d1e65692127f08c8930e65cc94798ed8e | /SAD-Mesh/src/User.cpp | 0cd00706eff96e22324c221686e5314ed67eb7d0 | [] | no_license | xlcbingo1999/SAD-Mesh | 9f54a22a7aa6d2a14d20b4ba04ce73f555c43045 | d85372d7eafee9568a05c198fda08c1b02844e5e | refs/heads/master | 2023-05-29T19:07:50.151912 | 2023-05-13T08:16:19 | 2023-05-13T08:16:19 | 262,072,475 | 1 | 2 | null | 2023-05-13T08:16:20 | 2020-05-07T14:25:25 | C++ | UTF-8 | C++ | false | false | 746 | cpp | #ifndef USER_CPP
#define USER_CPP
#include "User.hpp"
User::User(/* args */)
{
fileManager.signIn();
}
User::~User()
{
fileManager.signOut();
fileManager.~FileManager();
execManager.~ExecManager();
}
bool User::importApplication() {
if( fileManager.receiveImportApplication() == false ){
... | [
"43440113+xlcbingo1999@users.noreply.github.com"
] | 43440113+xlcbingo1999@users.noreply.github.com |
183f2f4e3d154e75975a34448b011551321a9a6c | 18fbd5bc14f53de3822f7cf8e2d0339c789cf671 | /GLTools/include/GLMatrixStack.h | 08944fbbbc5c7be4859414b825faadfdf013c0ea | [] | no_license | codingabc/sb5code | f30c3205504d6c7447bd47b5dadb6cfcd7648d9b | d5ad2d29275055e07a5033b37de15db153e32e87 | refs/heads/master | 2016-08-11T15:59:51.724485 | 2015-10-12T09:39:33 | 2015-10-12T09:39:33 | 44,079,976 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,753 | h | // GLMatrixStack.h
// Matrix stack functionality
/*
Copyright (c) 2009, Richard S. Wright Jr.
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
Redistributions of source code must retain the above copyri... | [
"codingabc@163.com"
] | codingabc@163.com |
8558869d0895bf03e7987d42c2738e86787f585d | 341f268cd7061eae5de77c1a6de0736ac6d94206 | /C++/求素数4.cpp | f97df364331554c118d370e1fd49230347ca5388 | [] | no_license | jianjiachenghub/CLanguageProgramming | d25467a1fc48cdbe9a0a053fe3091e86dc9c9205 | 415b13bfa0888b2c61b36d68a407b39cde3ab662 | refs/heads/master | 2020-08-07T22:56:23.793406 | 2019-10-08T11:00:54 | 2019-10-08T11:00:54 | 213,611,543 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 356 | cpp | #include<stdio.h>
#include<math.h>
int main ()
{
int a,b;
while(scanf("%d %d",&a,&b)!=EOF)
{
if(a>b){
int j;
j=b;
b=a;
a=j;
}
int count=0;
int i=a;
for(a;a<=b;a++)
{
float c = sqrt(a);
for(int i=2;i<=c;i++)
{
if(a%i==0)
{
count++;
break;
}
}
}
int z=b-i+... | [
"1797731542@qq.com"
] | 1797731542@qq.com |
2f6d4bf9e9810dd401fab59bfe2542046d3b2be0 | bbda3afa0f845bea14d7e6e442b6c119663dea87 | /Coda/src/nlp-stack/Dictionary/SuffixModelTrieBinaryFileReader.h | ab270ae9fccffb626dba8608a555a62ea2034265 | [
"Apache-2.0"
] | permissive | AndreAKM/veles.nlp | 91d261659bc48b9608cb6cbc9ed59b6e031d0291 | 972fde27203cb04d301e34274b57435ed58372c4 | refs/heads/master | 2020-12-24T06:20:58.764281 | 2016-11-11T12:23:32 | 2016-11-11T12:23:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,831 | h | /**
* SuffixModelTrieBinaryFileReader.h
* Class SuffixModelTrieBinaryFileReader
*
* .. invisible:
* _ _ _____ _ _____ _____
*
* | | | | ___| | | ___/ ___|
*
* | | | | |__ | | | |__ \ `--.
*
* | | | | __|| | | __| `--. \
*
* \ \_/ / |___| |___| |___/\__/ /
*
* \___/\_... | [
"m.kudinov@samsung.com"
] | m.kudinov@samsung.com |
f9b1d2a38dfd5fcaaaa14611c8b4afba6225fee6 | 725ae70dafce9976291288c5980241d282e2fa13 | /alljoyn/alljoyn_core/src/AboutIcon.cc | d01efc1cff6c757dd8c47caa0f940c75ac02ba79 | [
"MIT"
] | permissive | EmbeddedSystemClass/compassApp | 99c8068f30cb0fab19b52e600059e61f7bc4e55e | 39c5207f81613b2e595231c580a994c4c04bf7f7 | refs/heads/master | 2021-04-14T09:29:11.421615 | 2015-11-20T17:06:45 | 2015-11-20T17:06:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,962 | cc | /******************************************************************************
* Copyright AllSeen Alliance. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and th... | [
"vovka_squid@mail.ru"
] | vovka_squid@mail.ru |
49bbdd19197fafba8d175457e0f7fd88b961d2e8 | 565627454904b93c2f3576bead8fb5675aaa7559 | /Control.cpp | db4959e18b2a46088f605450ee01c9d5c5ef28c8 | [] | no_license | mattbritt/terminal-snake | eed35e53220397c69113bcdefcdafe13e28c917a | c47898ed90d22aea91896ff7a3b5d8bd5dd6a6d4 | refs/heads/master | 2020-03-20T22:49:33.036142 | 2018-06-18T23:31:56 | 2018-06-18T23:31:56 | 137,817,050 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,807 | cpp | /**********************************************************************
** Control.cpp
** Author: Matt Britt
** Date: 12/2/2017
** Description: Control.cpp is the implementation file for the Control class.
** The Control class polls for and gets input from keyboard.
******************************************... | [
"noreply@github.com"
] | mattbritt.noreply@github.com |
4da2d66a9573d38217bb8d438b69b7132ee0efbe | 5045163196c2015a134a49528826b4364b67877a | /engineCode/RenderingCore.h | 60538d215ccc075a8c5afbb2ec35ed5a57023f3f | [
"MIT",
"LicenseRef-scancode-public-domain"
] | permissive | nkyllonen/8980-scripted-game | 8594c0f19e5f0dbf95b799332baf7b983c92e2af | ae3b9e6c04d1f3e67d3ff5be6137285831265d73 | refs/heads/master | 2020-08-17T00:45:01.318236 | 2019-10-30T05:26:50 | 2019-10-30T05:26:50 | 215,581,392 | 0 | 0 | NOASSERTION | 2019-10-30T05:26:51 | 2019-10-16T15:23:59 | C++ | UTF-8 | C++ | false | false | 298 | h | #include <vector>
//HDR Buffers and textures
extern unsigned int pingpongFBO[2];
extern unsigned int pingpongColorbuffers[2];
extern unsigned int baseTex, brightText; //Textures which are bound to the HDR FBO
//Full screen quad rendering
extern unsigned int quadVAO;
void createFullscreenQuad();
| [
"nikki-kyllonen@comcast.net"
] | nikki-kyllonen@comcast.net |
36563d8709197fb69ab7bfca25582b2b2d0b1d00 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/curl/gumtree/curl_old_log_16421.cpp | 384ba2b91e25ef5b904b3af02a94d2840d5ccea5 | [] | 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 | 512 | cpp | fputs(
" exact). To make commands take place after a successful transfer,\n"
" prefix them with a dash '-'. To make commands be sent after\n"
" curl has changed the working directory, just before the transfer\n"
" command(s), prefix the command with a '+' (th... | [
"993273596@qq.com"
] | 993273596@qq.com |
85b60c6f8e11a03b323e5b723e6423a83629ffbd | 09bb77419b43045b7b0156972a4cf31f8dff0b9d | /Trabalho - 2/romano.cpp | 42a1f24adfe9aacb1f4478be9b90aa63a9b16ba4 | [
"MIT"
] | permissive | DraculK/MP | 3f01f9766ba4b624a9a100313609f6e7ee6003ff | 7f35acf6bee744c9da692e95beff4212809ec956 | refs/heads/main | 2023-04-01T15:16:45.296570 | 2021-03-31T18:31:02 | 2021-03-31T18:31:02 | 352,451,629 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 777 | cpp | #include "romano.hpp"
using namespace std;
int romanoInt::value(char r){
if (r == 'I')
return 1;
if (r == 'V')
return 5;
if (r == 'X')
return 10;
if (r == 'L')
return 50;
if (r == 'C')
return 100;
if (r == 'D')
return 500;
if (r == 'M')
return 1000;
return -1;
}
int romanoInt::romanToInt(strin... | [
"noreply@github.com"
] | DraculK.noreply@github.com |
8eeb0d2c57c4978fa209ac38dc03e1a2bcbb8382 | 8e9ee669011cd7ac56028fd4afd65fda9cfdb8a1 | /lab4dsa bun/SortedBagLb4Bun/ExtendedTest.cpp | f833a4c4ca179cf269bd74e3b4e4574353a28002 | [] | no_license | 915-Munteanu-Tudor/Data-Structures-and-Algorithms | 3ca650f27c9b60c2c0bfd0f7d25c9ab9266565d6 | fdd5c8601aaac548c9840e51a212d9bb4a2b9c33 | refs/heads/main | 2023-09-01T02:06:01.443140 | 2021-10-23T09:39:43 | 2021-10-23T09:39:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,399 | cpp | #include "ShortTest.h"
#include "SortedBag.h"
#include "SortedBagIterator.h"
#include <assert.h>
#include <iostream>
#include <exception>
using namespace std;
bool relation2(TComp r1, TComp r2) {
return r1 <= r2;
}
bool relation3(TComp r1, TComp r2) {
return r1 >= r2;
}
void testExtra(){
cout<< "Test extra op... | [
"72068100+915-Munteanu-Tudor@users.noreply.github.com"
] | 72068100+915-Munteanu-Tudor@users.noreply.github.com |
f7bd36b256eea08930fa5eb092c334afae71b261 | bab1b5ac32b4424866d7f596a51abc018256c0f6 | /Assignment41/A41Q3.cpp | ef825b6c25ca5bd330d24c85f3e8b25fee282a70 | [] | no_license | PoojaPadir/CC-JAVA-Assignments | d1ee8244668387bbd18a06c79d2cd1587e12a5b3 | 3285daa4239b7f1b248e9949256eab585f038b88 | refs/heads/master | 2023-07-31T05:25:57.372520 | 2021-09-15T05:52:44 | 2021-09-15T05:52:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 439 | cpp | //Write generic program to accept N numbers from user and return addition of that numbers
#include<iostream>
using namespace std;
template<class T>
T AddN(T *arr,int iSize)
{
T sum=0;
int i=0;
for(i=0;i<iSize;i++)
{
sum=sum+arr[i];
}
return sum;
}
int main()
{
int arr[]={10,20,30,40,50};
float brr[]={10.0,3... | [
"poojapadir2000@gmail.com"
] | poojapadir2000@gmail.com |
b549d6714c54e8728f029bd12e1ae231d0799498 | e62baedc80d095acd3fca231cf82c07aa359070c | /first_pass/chords.cpp | ecd7d3237b4a3d9cad9e70f803d5597a59e2a044 | [] | no_license | KudeGit/elments_of_programming_interview | 347ac0b6d87f6d077bff62d6642b56c9c9ae4f18 | 2cbc0a0560f899cab11a296feab96397856af81c | refs/heads/master | 2021-01-17T14:15:49.270554 | 2017-01-07T17:24:25 | 2017-01-07T17:24:25 | 44,858,915 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 653 | cpp | #include <iostream>
#include <unordered_map>
#include "utils.hpp"
int chordCntHelper(int A, std::unordered_map<int, long int>& K)
{
if (A == 1 || A == 0) {
return 1;
} else if (A == 2) {
return 2;
}else if (K.find(A) != K.end()) {
return K[A];
} else {
long acc = 0;
... | [
"dcuda@cisco.com"
] | dcuda@cisco.com |
2a5dcce9b0801f36fdb845d415bf3769b6442dab | 4b902f7cc86c128793f555cd03e38349a28ac4c6 | /dataset/cpp/ZLZipArchive.cpp | 480e17b05b8ca14e95ee7d02c91e48e630d15395 | [] | no_license | korhankonaray/FileTypeDetector | bf763ad20992978a54a1484035398fe69f6edd71 | 2ab29f9433781c74f35206c1ab2ecb6c6689e263 | refs/heads/master | 2021-06-29T20:14:47.062064 | 2021-02-28T18:54:07 | 2021-02-28T18:54:07 | 206,796,718 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 9,246 | cpp | // Copyright (c) 2010-2011 Zipline Games, Inc. All Rights Reserved.
// http://getmoai.com
#include "pch.h"
#include <zlcore/zl_util.h>
#include <zlcore/ZLZipArchive.h>
using namespace std;
#define SCAN_BUFFER_SIZE 256
#define ARCHIVE_HEADER_SIGNATURE 0x06054b50
#define ENTRY_HEADER_SIGNATURE 0x02014b50
#define FI... | [
"korhan.konaray@deytek.com.tr"
] | korhan.konaray@deytek.com.tr |
b762929e1a6984b6961101c566b800eb9a09025b | 6b40e9dccf2edc767c44df3acd9b626fcd586b4d | /NT/printscan/print/spooler/localspl/ssp.hxx | e8468cae9460cef237e45a629f8e627124cb17d8 | [] | no_license | jjzhang166/WinNT5_src_20201004 | 712894fcf94fb82c49e5cd09d719da00740e0436 | b2db264153b80fbb91ef5fc9f57b387e223dbfc2 | refs/heads/Win2K3 | 2023-08-12T01:31:59.670176 | 2021-10-14T15:14:37 | 2021-10-14T15:14:37 | 586,134,273 | 1 | 0 | null | 2023-01-07T03:47:45 | 2023-01-07T03:47:44 | null | UTF-8 | C++ | false | false | 2,652 | hxx | /*++
Copyright (c) 2001 Microsoft Corporation
All rights reserved
Module Name:
ssp.hxx
Abstract:
This file wraps around wintrust functions.
Author:
Larry Zhu (LZhu) 6-Apr-2001
Environment:
User Mode -Win32
Revision History:
--*/
#ifndef _SSP_HXX_
#de... | [
"seta7D5@protonmail.com"
] | seta7D5@protonmail.com |
9b8c6c6a21a2ac7179a4ed3fb1b80358b101fd24 | 8c8a8af67076b2b7ac9808d614be8e40728d7854 | /jni/Debug/Debug.cpp | b086d54eb47c72abba312723568d8bfd02770e47 | [] | no_license | MihaiBabiac/Framework | 694d5185c6a394c0a453f9812db327550612eb67 | ad97160286a7fb69d9f3667e2ed736c0a2a0dbfe | refs/heads/master | 2021-05-28T10:14:12.218635 | 2013-07-25T09:51:31 | 2013-07-25T09:51:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,252 | cpp | #include "Debug.hpp"
#include "TextureMappedFont.hpp"
#include "Types.hpp"
#include "Log.hpp"
namespace Debug
{
const int DEBUGMESSAGEBUFFER_SIZE = 1024;
int printLines;
int circlePoints = 30;
float printFontSize = 40.0f;
float layer = 805.0f;
void InitFrame()
{
printLines=0;
}
voi... | [
"murtaza_alexandru73@yahoo.com"
] | murtaza_alexandru73@yahoo.com |
6ff17004f0e2a223131f90e6da6380934dbbc986 | 5e8d200078e64b97e3bbd1e61f83cb5bae99ab6e | /main/source/src/ObjexxFCL/FArray5A.hh | 71b6888eae2795f1f433c88b58f80f36660a760f | [] | no_license | MedicaicloudLink/Rosetta | 3ee2d79d48b31bd8ca898036ad32fe910c9a7a28 | 01affdf77abb773ed375b83cdbbf58439edd8719 | refs/heads/master | 2020-12-07T17:52:01.350906 | 2020-01-10T08:24:09 | 2020-01-10T08:24:09 | 232,757,729 | 2 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 23,500 | hh | #ifndef INCLUDED_ObjexxFCL_FArray5A_hh
#define INCLUDED_ObjexxFCL_FArray5A_hh
// FArray5A: Fortran-Compatible 5D Argument Array
//
// Project: Objexx Fortran Compatibility Library (ObjexxFCL)
//
// Version: 3.0.0
//
// Language: C++
//
// Copyright (c) 2000-2009 Objexx Engineering, Inc. All Rights Reserved.
// Use of... | [
"36790013+MedicaicloudLink@users.noreply.github.com"
] | 36790013+MedicaicloudLink@users.noreply.github.com |
092444a6339ba4ba6054c2d6428eb3c9e57bc930 | 90deb8f9d2fce25c6908a6cc91199dd8d9bbe999 | /libraries/EthernetWebServer_STM32/examples/WebClient/WebClient.ino | 494563b5dbc1ffe5ef2075367debd6e89d8310a6 | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | gazza2577/arduino | b940b444038dec356b379e9f820109dfa603b062 | ab08c1c7933d3c9f795c2b2d378eab688c952b0f | refs/heads/master | 2023-02-06T00:59:02.959466 | 2020-12-26T15:30:48 | 2020-12-26T15:30:48 | 314,380,263 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,451 | ino | /****************************************************************************************************************************
WebClient.ino - Simple Arduino web server sample for ESP8266 AT-command shield
For STM32 with built-in Ethernet (Nucleo-144, DISCOVERY, etc) or W5x00/ENC28J60 Ethernet
EthernetWebServer... | [
"gazza2577@gmail.com"
] | gazza2577@gmail.com |
8310b09d8e20e08bc3864eeed9854c63046d842f | afcafa3c7a17028d1a57a81475aae377b35c813e | /HelloIntegrations/message.cpp | 1830888f35859d6bc1d7229128ce5cf743f54ddd | [] | no_license | mashafrancis/qt-applications | 0fa833e8818c79ef54771d59e8a5d184519424ed | e67e84eefe291238e6ef8cd88d6cde57b31399ec | refs/heads/master | 2020-06-27T22:12:53.660480 | 2019-08-15T11:45:31 | 2019-08-19T08:43:55 | 200,065,293 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 543 | cpp | #include "message.h"
#include <QDebug>
Message::Message(QObject *parent) :
QObject(parent),
m_counter(0),
m_message("Startup message")
{
}
void Message::doMessageChange()
{
setMessage("Hello Property World %1");
// ++m_counter;
// emit messageChanged(m_message.arg(m_counter));
}
void Message::setMessage(QS... | [
"francismasha96@gmail.com"
] | francismasha96@gmail.com |
2a222e62144a599a48c56f4ce6186c544f463365 | 24cd70e546fee0218c7597f1d864acab1c32c1c1 | /201816040329/Ex12_15/CommissionEmployee.h | efc433560bf47c2d18cdc6de8b76396b1d82451d | [] | no_license | 201816040329/Assignment_07 | c021fd04aa579090f5a7704be6c24f9261c9bc3f | 17f34b35625f8926b2ad0db496400edf5bf0a6f4 | refs/heads/master | 2020-11-24T12:33:48.901660 | 2019-12-15T09:09:51 | 2019-12-15T09:09:51 | 228,144,875 | 0 | 0 | null | 2019-12-15T07:20:06 | 2019-12-15T07:20:06 | null | UTF-8 | C++ | false | false | 483 | h | #ifndef COMMISSIONEMPLOYEE_H_INCLUDED
#define COMMISSIONEMPLOYEE_H_INCLUDED
#include<string>
#include"Employee.h"
using namespace std;
class CommissionEmployee
{
public:
CommissionEmployee(const string &, const string &, const string &,
double = 0.0, double = 0.0);
void setGsales(double);
double getG... | [
"noreply@github.com"
] | 201816040329.noreply@github.com |
ce68824da89978bf4c3878d0fcd14ba13772e1bf | cb954f4769f77ac4bb6ee0138aaa5ac7afaec743 | /savenotepadinidialog.cpp | 0f3cd96560d4024bddac78dfc88fca7a7c29330e | [
"Apache-2.0",
"LicenseRef-scancode-free-unknown"
] | permissive | graylira/PomodroidoLite | 261c192e26ec70cf83b9d31a7f717a35835102cf | 1e831199708888d037ac0652b645faeaca4e82c1 | refs/heads/master | 2020-04-16T17:50:40.555332 | 2019-01-21T07:46:16 | 2019-01-21T07:46:16 | 165,791,189 | 2 | 0 | Apache-2.0 | 2019-01-18T11:08:29 | 2019-01-15T05:32:46 | C++ | UTF-8 | C++ | false | false | 1,366 | cpp | #include <QFileInfo>
#include <QFile>
#include <QDir>
#include <QMessageBox>
#include <qDebug>
#include "savenotepadinidialog.h"
#include "ui_savenotepadinidialog.h"
#include "parameter_config.h"
SaveNotepadIniDialog::SaveNotepadIniDialog(QWidget *parent) :
QDialog(parent),
ui(new Ui::SaveNotepadIniDialog)
{
... | [
"graylira@163.com"
] | graylira@163.com |
9f14ee4c822109f6d7505f271bc2d1f2750c3068 | b3565adcbc166444356692ddf781bd97d75087e4 | /raster/util/test/LoggingTest.cpp | 8e09aa9f0885c24beb1febd58011dfe926796213 | [
"Apache-2.0"
] | permissive | duzhanyuan/rddoc-framework | e3b2aa0435cacf66d2e9b81cbb008f99576055c9 | 47933d2599fa5f186113b7a755dde280807f5809 | refs/heads/master | 2021-01-20T08:40:14.880473 | 2017-08-25T02:26:38 | 2017-08-25T02:26:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 976 | cpp | /*
* Copyright (C) 2017, Yeolar
*/
#include "raster/util/Logging.h"
#include <gtest/gtest.h>
using namespace rdd;
using namespace rdd::logging;
TEST(RDDLog, log) {
RDDLOG(DEBUG) << "debug log default output to stderr";
RDDLOG(INFO) << "info log default output to stderr";
RDDLOG(WARN) << "warning log default ... | [
"yeolar@gmail.com"
] | yeolar@gmail.com |
6f45eeb03049d1796f7a1c96570299ba86f2c9dd | 83f5fe1ceffc775da59d905ebd9ee146ffc05f37 | /Getting started Practice Contest/CC_B_ISBOTH.cpp | df91ff2f0baf12ebd1ccec7ee575cef041e565fc | [] | no_license | AnandSinhaProjects/Learning_CP | 4da9cbc1d1cbcbf009902673b8c9eab0874cd695 | a648d3913cf7d9a9aad079206bd0756aa29e989c | refs/heads/main | 2023-07-02T02:29:06.862430 | 2021-08-10T10:52:23 | 2021-08-10T10:52:23 | 394,528,777 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 911 | cpp | /*
You're given a number N. If N is divisible by 5 or 11 but not both then print "ONE"(without quotes). If N is divisible by both 5 and 11 then print "BOTH"(without quotes). If N is not divisible by 5 or 11 then print "NONE"(without quotes).
Input:
First-line will contain the number N.
Output:
Print the answer in a ne... | [
"anands.projects22@gmail.com"
] | anands.projects22@gmail.com |
ccacaa9859bb77e8eee17ed77a1bd3abd7b91729 | c9e38d5cb8595d4afbb0ba002a44d61a9b6dc6d1 | /unboundedknapsack.cpp | a489b5e4eb00f04014a7a2cded07c74aa0825358 | [] | no_license | btrx/karung | d3c187b5b2eac3f70253482467a8af2a52a1ed26 | 9134a42cfc68c1577719fc935ca48b8677ca9149 | refs/heads/master | 2020-03-29T13:55:49.388872 | 2018-09-23T14:04:08 | 2018-09-23T14:04:08 | 149,989,396 | 0 | 2 | null | 2019-10-11T06:39:31 | 2018-09-23T13:58:33 | C++ | UTF-8 | C++ | false | false | 2,422 | cpp | #include<iostream>
using namespace std;
void instancesUsed(int items[],int weights[],int capacity,int size) {
int k = capacity;
int instances[size];
int i;
for(i=0;i<size;i++)
instances[i] = 0;
while(k >= 0) {
int x = items[k];
if(x == -1) break;
instances[x] += 1;
... | [
"noreply@github.com"
] | btrx.noreply@github.com |
359378827a8897dbff33e5c8caad3d6edd9f9265 | 42385b77d4fbbb4db6f8cd5b15a5f2cc02ba0e3c | /signals/mainwindow.h | 9c26a5c3552dbd91c674036aa2893e9d28f5ba37 | [] | no_license | jom-everest/poisk_technical-test | e2f98b9b0e2a4ca5dfd3a5ad2627f4480bfc3b6b | b7a9624e7e623c28d5951b9a47a0b86934f3e150 | refs/heads/master | 2021-08-24T07:49:16.792118 | 2017-12-08T18:21:09 | 2017-12-08T18:21:09 | 112,857,094 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,653 | h | #ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include "transferdataservice_as.h"
#include "discretservice.h"
#include "sensorsservice.h"
#include "analogsignalsservice.h"
#include <vector>
#include <QMainWindow>
#include <QBarCategoryAxis>
#include <QBarSeries>
#include <QBarSet>
#include <QChart>
#include <QLCDNumber>... | [
"jom.everest@gmail.com"
] | jom.everest@gmail.com |
37090e5a18afbf8e2c03215924283cac13e8206f | 6b7262b6c491226d728b83547bd8daff12069511 | /Minesweeper/Minesweeper/Source/Menu/Options.h | 31d2b20be1c210114d10f0bf950858c23294b779 | [] | no_license | nipplesticks/Minesweeper_B-Edition | 7df7e58459274211b2cf5f0da00cf6458e5815fe | 9454e857e05a753b9c20e99e1d8e4b42876bb8fd | refs/heads/master | 2020-03-29T06:18:10.047580 | 2020-02-05T13:55:18 | 2020-02-05T13:55:18 | 149,618,718 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 779 | h | #pragma once
#include "../GUI/Button.h"
#include <fstream>
class Options : public sf::Drawable
{
public:
struct Settings
{
int nrOfBombs = 33;
int gridX = 10;
int gridY = 10;
};
private:
Button m_removeBombs;
Button m_numberOfBombs;
Button m_addBombs;
Button m_removeGridX;
Button m_gridX;
Button m_add... | [
"magnus.nyq@gmail.com"
] | magnus.nyq@gmail.com |
144d563e6e69803fc32d9c4446a489d2814c951e | 5d83739af703fb400857cecc69aadaf02e07f8d1 | /Archive2/c0/dc607248c4a0a0/main.cpp | a5ef491e45d0be648aae20786474878cd6bb3a01 | [] | no_license | WhiZTiM/coliru | 3a6c4c0bdac566d1aa1c21818118ba70479b0f40 | 2c72c048846c082f943e6c7f9fa8d94aee76979f | refs/heads/master | 2021-01-01T05:10:33.812560 | 2015-08-24T19:09:22 | 2015-08-24T19:09:22 | 56,789,706 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 932 | cpp | #include <iostream>
#include <thread>
#include <chrono>
using namespace std;
void foo() {
cout << "Hello from foo()!" << endl;
}
struct timed_execution {
typedef void (*func_type)(void);
timed_execution(func_type func, const std::chrono::duration period... | [
"francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df"
] | francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df |
74fa70767e0732bd65c9f7f9c9c69d5c5301a725 | cd470ad61c4dbbd37ff004785fd6d75980987fe9 | /Luogu/4213 【模板】杜教筛(Sum)/std.cpp | 76d9a68a3689c54bc440870181cf5d6c767b7263 | [] | no_license | AutumnKite/Codes | d67c3770687f3d68f17a06775c79285edc59a96d | 31b7fc457bf8858424172bc3580389badab62269 | refs/heads/master | 2023-02-17T21:33:04.604104 | 2023-02-17T05:38:57 | 2023-02-17T05:38:57 | 202,944,952 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,103 | cpp | #include <bits/stdc++.h>
const int N = 8000005;
namespace sub1 {
int cnt, prime[N];
bool vis[N];
int phi[N];
long long sum[N];
void init() {
vis[1] = true;
phi[1] = 1;
for (int i = 2; i < N; ++i) {
if (!vis[i]) {
prime[++cnt] = i;
phi[i] = i - 1;
}
for (int j = 1; j <= cnt && i * prime[j]... | [
"1790397194@qq.com"
] | 1790397194@qq.com |
f3e62a1a568c8a5195b8275713ff3f0745940c12 | 429194d2630db826e8497466a9a3196a1e0f25a6 | /insertionSort.cpp | 5ff69ef47f8c2f9fe9026972aa14468beb4399fb | [] | no_license | shivamparashar165/DSA | 8a887cfcb53ecb922b01e04792f87a466d42e94e | 30101dff9cb542ca719280a2bb927883fc16fc1c | refs/heads/main | 2023-07-15T04:44:54.420000 | 2021-08-31T04:47:11 | 2021-08-31T04:47:11 | 389,828,850 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 226 | cpp | void iSort(int arr[],int n){
for(int i=1;i<n;i++){
int key = arr[i];
int j=i-1;
while(j>=0 && arr[j]>key){
arr[j+1]=arr[j];
j--;
}
arr[j+1]=key;
}
}
| [
"noreply@github.com"
] | shivamparashar165.noreply@github.com |
688fc232c28b2fd2ef0f1051b39458ed8da29f23 | 4cedfda65a73a2a98bfc49a2ce09bfec901cccc3 | /modules/vfs/native/include/vfs/job_response.h | 8b1f14cd122f6f984e434a1629e57da111c8897a | [
"MIT",
"Apache-2.0"
] | permissive | Tencent/Hippy | f71695fb4488ee3df273524593301d7c241e0177 | 8560a25750e40f8fb51a8abfa44aad0392ebb209 | refs/heads/main | 2023-09-03T22:24:38.429469 | 2023-09-01T04:16:16 | 2023-09-01T06:22:14 | 221,822,577 | 8,300 | 1,161 | Apache-2.0 | 2023-09-14T11:22:44 | 2019-11-15T01:55:31 | Java | UTF-8 | C++ | false | false | 2,035 | h | /*
* Tencent is pleased to support the open source community by making
* Hippy available.
*
* Copyright (C) 2022 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.
* Yo... | [
"noreply@github.com"
] | Tencent.noreply@github.com |
7d7cc1e6f66f050de95beb392408b6644d7d9aa2 | ef927955ec4904a79f11be34038af7f6f75bd31f | /grxsdk/inc/Gi/GiShellFaceIterator.h | 4dae9d361c207a26e276358c4628ead6aa2eb338 | [] | no_license | 15831944/arxloader | 610842b913b1fea16133564ff532a4207daf076a | b9d2888953b04ab53743ddae6751d871d2a23dae | refs/heads/master | 2023-04-13T14:54:28.462797 | 2021-04-27T12:37:05 | 2021-04-27T12:37:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,319 | h | ///////////////////////////////////////////////////////////////////////////////
// Copyright (C) 2002-2021, Open Design Alliance (the "Alliance").
// All rights reserved.
//
// This software and its documentation and related materials are owned by
// the Alliance. The software may only be incorporated into applica... | [
"dengtao@gstarcad.com"
] | dengtao@gstarcad.com |
22e5d18d375b795232ddb782eed4ead343d666a6 | c4d502f840a26dd6d8fd9d904ff0fd786711bc9a | /cplusplus_projects/logcppTest/logcppTest/stdafx.cpp | 8e4b901aaf883d0c26e5f027db921df65bafc4b5 | [] | no_license | qsunny/Project-C-CPlusPlus | 13de784c6294a39c61dfd81d4dd9b7c745780076 | 1e1bd69aa48709c653635f121fd3eeca986da846 | refs/heads/master | 2021-01-19T01:03:33.458743 | 2017-06-27T15:19:52 | 2017-06-27T15:19:52 | 11,971,544 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 262 | cpp | // stdafx.cpp : 只包括标准包含文件的源文件
// logcppTest.pch 将作为预编译头
// stdafx.obj 将包含预编译类型信息
#include "stdafx.h"
// TODO: 在 STDAFX.H 中
// 引用任何所需的附加头文件,而不是在此文件中引用
| [
"247986063@qq.com"
] | 247986063@qq.com |
b5caf3c7e4c2c8e566b0d7b86a0adc2599c90f97 | 77a06177c4f272dba5796b6f784dac2dff4e5a68 | /src/qt/askpassphrasedialog.cpp | c5e4c0d61f941cf19951b88061d5c71cf0a0d8db | [
"MIT"
] | permissive | merge-swap/fornix-wallet | 2d45422646844ea6ded4de46075cccbaf6523274 | e208e49b53bc8de7c69b4b146e291e840a57df35 | refs/heads/master | 2020-04-18T10:19:40.529386 | 2019-01-25T03:08:15 | 2019-01-25T03:08:15 | 167,464,268 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,301 | cpp | // Copyright (c) 2011-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The PIVX developers
// Copyright (c) 2017 The Fornix developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-li... | [
"ahmed-ig@hotmail.com"
] | ahmed-ig@hotmail.com |
00674a376457b9767ba1a22cb90478459cefa299 | 6724a8351ccb974c4ee1fef0e458c401a8c96daa | /VirtualCreatures/Volumetric_SDL/Source/Renderer/Sprite.h | 5bf86772b29ef203873f9c48fe4d3d59a03905c1 | [
"Zlib"
] | permissive | fernicar/EvolvedVirtualCreaturesRepo | 73985b000a23b5e18f1909341abd08632e919488 | 4efaba960c7c56a08faaaeb1f3cae91a9ef1e54e | refs/heads/master | 2021-01-11T22:44:36.944115 | 2017-01-15T13:26:53 | 2017-01-15T13:26:53 | 79,027,931 | 0 | 0 | null | 2017-01-15T11:15:59 | 2017-01-15T11:15:59 | null | UTF-8 | C++ | false | false | 757 | h | #pragma once
#include <Scene/SceneObject.h>
#include <AssetManager/Asset_Texture.h>
class Sprite
{
private:
Asset_Texture* m_pSpriteSheet;
float m_halfWidth, m_halfHeight;
float m_texCoordTileWidth, m_texCoordTileHeight;
int m_numSpritesInX;
int m_numSprites;
float m_time;
float m_spriteFrameTimeInterval;... | [
"nullpointer222464@gmail.com"
] | nullpointer222464@gmail.com |
1bf250bf01930ceffce0d43fd9da35cb7060c8c8 | 22c23e8f5722d781a5e4ba3b863361f90a6596ee | /aoj/itp1/11_b.cpp | 370dc1c1cab16f61406477b59f695dac2e434b9c | [] | no_license | mtannaan/atcoder | 254daf55ed3b59c9274f9ca744253f4ecc431f34 | f9f44a706029c64959bf0f3342f0c36bbdc46105 | refs/heads/master | 2021-01-14T19:16:14.430808 | 2020-03-15T15:32:42 | 2020-03-15T15:32:42 | 242,726,580 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,350 | cpp | // http://judge.u-aizu.ac.jp/onlinejudge/finder.jsp?course=ITP1
#include <iostream>
#include <string>
#include <vector>
#include <algorithm>
#include <cmath>
#include <iomanip>
using namespace std;
template <typename T>
void read_vector(vector<T> &vec, int n)
{
for (int i = 0; i < n; i++)
{
cin >> vec... | [
"12782884+mtannaan@users.noreply.github.com"
] | 12782884+mtannaan@users.noreply.github.com |
4640df98dd4eec1e22ef7b439a64602f3a7a1d60 | b28df7175c33099d7c4be7492d1db82f7f115e46 | /Tetris.cpp | 8fa2098bae73e6b2955cfc31f1bb05e8d3be222d | [] | no_license | Lazaraaus/Tetris | 579ec39aa8cd26ea02b95a82ba448e7727565820 | 3e07d6ee182ac2cfa2f9d3d12275851072fc056d | refs/heads/main | 2023-03-18T05:03:46.887852 | 2021-02-25T16:05:54 | 2021-02-25T16:05:54 | 342,300,518 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 23,225 | cpp | // Tetris.cpp : This file contains the 'main' function. Program execution begins and ends there.
//TO-DOs: Implement next piece
#include <iostream> //Standard Input / Output Stream Library
#include <thread> //Gives us access to the this_thread class
#include <Windows.h> //Gives us access to the screen ... | [
"wood.yjaden@gmail.com"
] | wood.yjaden@gmail.com |
c1024d198d457201a8ffe0480b56a7ef7784a37b | d2f5e0b43885cd080a4c5026ce133e288482f8d0 | /UVA/UVA_1388/UVA_1388/Source.cpp | 5bc6f79cb34dbac957f522230d26d3f74923aca2 | [] | no_license | tito-kimbo/Online-Judge-Solutions | fb0ea2f2b9d8724a4b1f914a8be02294f1664135 | 1207e95365fb6f2691de077beaf2cbe7f0724c11 | refs/heads/master | 2020-06-03T04:18:32.970773 | 2019-06-11T19:12:52 | 2019-06-11T19:12:52 | 191,435,206 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 978 | cpp | #include <iostream>
#include <vector>
#include <algorithm>
#include <math.h>
#include <iomanip>
using namespace std;
const double INF = 999999999999999999.0;
const double EPS = 0.00000001;
const double PI = 2 * acos(0.0);
const int LENGTH = 10000;
bool solve() {
int n, m;
cin >> n >> m;
if (!cin) return false;
v... | [
"eduriver@ucm.es"
] | eduriver@ucm.es |
bef5145a9e152b4032de8e14244ffd98a11be150 | c5b59c72501327dc6cc0a18ede99bbdac5330256 | /week4-02.cpp | 35037ec1f44bb482e38e4992f2cd3d0bf4b5d0db | [] | no_license | shubh1312/Principles-of-programming-language | 14e0c6d41fb35e41e2b297fb2ddb7ac59890f7f7 | d9842685b33f1f47fad961079204ac287143c82d | refs/heads/master | 2020-05-07T10:24:24.484611 | 2019-04-11T18:47:29 | 2019-04-11T18:47:29 | 180,416,891 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 864 | cpp | #include<iostream>
using namespace std;
int main()
{
int a[2][2],b[2][2],c[2][2],d[2][2];
cout<<"Enter elements of 2x2 A matrix:"<<endl;
for(int i=0;i<2;i++)
{
for(int j=0;j<2;j++)
cin>>a[i][j];
}
cout<<"Enter elements of 2x2 B matrix:"<<endl;
for(int i=0;i<2;i++)
{
for(int j=0;j<2;j++)
... | [
"noreply@github.com"
] | shubh1312.noreply@github.com |
54ebf9cf347877000afe9fd273fa864c3e585ee4 | a83378a11aa6b7f766374b50bd5082a2acb7ae54 | /IO/FileStream.cpp | 18c4f98362719982ed460cae06a7a523d39eed94 | [] | no_license | Spritutu/Common | 5e21579fa767621b6d3e487bdd9f12209d8f0948 | 311e512d896f563a9353c743bb0878dafcca1b5b | refs/heads/master | 2022-12-25T16:36:40.449491 | 2020-09-27T09:48:18 | 2020-09-27T09:50:10 | null | 0 | 0 | null | null | null | null | ISO-8859-3 | C++ | false | false | 41,700 | cpp | #include <IO\FileStream.h>
#include <IO\FileUtil.h>
#include <String/Convert.h>
#include <String/StringUtil.h>
#include <String/Path.h>
#if OPERATING_SUB_SYSTEM == OS_SUB_GUARDIAN
#include <tal.h>
#pragma nowarn (262)
#endif
#if OPERATING_SYSTEM == OS_ANDROID
#include <Xtreme/Environment/AndroidMa... | [
"georg@georg-rottensteiner.de"
] | georg@georg-rottensteiner.de |
94a62db851f01e44db84597f4329bb7e764e3f9a | ed557a8a4fa38ea5f062d90a36b141b8d0853eba | /Square.cpp | 31505b960966e03454da6eb283e06b70e1263864 | [] | no_license | msdedwards/FieldSweeper | e92fd2203b6e7d95f40493f264578f1653f38830 | 5671fc232c2b3a6e278c5f44c7a0a3c3982ddbe2 | refs/heads/master | 2021-01-10T19:00:37.243718 | 2014-05-02T18:29:21 | 2014-05-02T18:29:21 | 19,349,155 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 232 | cpp | #include "StdAfx.h"
#include "Square.h"
CSquare::CSquare(void)
{
Reset();
}
CSquare::~CSquare(void)
{
}
void CSquare::Reset(void)
{
IsMine=false;
IsHidden=true;
IsFlagged=false;
AdjacentMineCount=0;
WasGameOver=false;
}
| [
"matt@hachisoft.com"
] | matt@hachisoft.com |
28afac8b893e1a2e91412cd02f6d66890fe0c49d | a14b7412dc543efab79527a5c0188f7c9fb9a598 | /link-queue.cpp | 759f4f772ba5e829299160320fb0598e132aa55a | [] | no_license | hmc123/gitlearn | 981cb16fbf762e267f9aace0fb5ce8678124e094 | 289714a5e2db16badbd27b17823ea7b94ad3c3e1 | refs/heads/master | 2021-01-10T10:01:04.324026 | 2018-12-07T04:39:04 | 2018-12-07T04:39:04 | 45,775,459 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,164 | cpp | #include<iostream>
using namespace std;
class node
{
public:
int data;
node *next;
};
class linkqueue
{
public:
linkqueue()
{
front = new node;
front->next = NULL;
rear = front;
}
node *front, *rear;
};
bool IsEmpty(linkqueue *Q)
{
if (Q->front == Q->rear)
return true;
else
return false;
}
void... | [
"hemaochengok@gmail.com"
] | hemaochengok@gmail.com |
ec6ad564644bbb1e245f2ad841aa3d5a0a2e042f | b25795509f9545ea6b9f947492b39e518add0396 | /大一下/Gobang/v3.0/Gobang/Gobang.cpp | 2e3f639159bc8fc33dfe80ba482d8ee6709415cc | [] | no_license | Autokaka/C-Single-Ranking | 370e09a5d96212dc0fdef71b4cfe2bd6389c5e22 | 111808c552ee81a6109406e770970560501cea79 | refs/heads/master | 2022-01-11T09:43:02.585962 | 2019-07-15T04:48:12 | 2019-07-15T04:48:12 | 176,041,920 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 25,802 | cpp | #include "stdafx.h"
#include "Gobang.h"
#include <iomanip>
#include <cstdlib>
#include <ctime>
#include <iostream>
using namespace std;
Gobang::Gobang(int n)
{
while (n < 0)
{
cout << "输入的棋盘大小有误。请重新输入:";
cin >> n;
}
size = n;
Goboard = new int *[size + 1];
for (int i = 0; i <= size; i++)
Goboard[i] = new... | [
"qq1909698494@gmail.com"
] | qq1909698494@gmail.com |
1b2a6a3aad8d120a0ee0d27189bf66f84b8571e0 | 2354b55f71c5df8a06cd89d3f8b95bc806fe841c | /avdev-jni/src/main/cpp/dependencies/windows/mf/include/MFTypeConverter.h | a4b4473dddcb629acaab65d2dee8d863b0ed7cac | [
"Apache-2.0"
] | permissive | lectureStudio/avdev | 220c1379a5f2e06f726dab3026c997278611d7e8 | 02b980705565ed2dcf3eacc4992bdf2f244f24a0 | refs/heads/main | 2023-03-30T12:26:19.975509 | 2021-03-23T14:30:30 | 2021-03-23T14:30:30 | 349,114,682 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,523 | h | /*
* Copyright 2016 Alex Andres
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | [
"andres.alex@protonmail.com"
] | andres.alex@protonmail.com |
86fec8fbb7078a6016d5635d0e4e1e3fc8677d29 | 2d55b0e0a580096e6b6e5304a153e9fad6266134 | /Shadow_LR/src/ChromacityShadRem.cpp | 14b9a8274e44742325028e9456b56f0d4556b563 | [] | no_license | changruowang/ShadowDetct_LR | 940a3913f26e3a0eff5283faa096e3690e316bc6 | ff75b71a4e486be71a8d5b806a17da9b03354809 | refs/heads/master | 2020-05-23T22:12:03.235976 | 2019-05-16T06:27:48 | 2019-05-16T06:27:48 | 186,968,859 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,453 | cpp | // Copyright (C) 2011 NICTA (www.nicta.com.au)
// Copyright (C) 2011 Andres Sanin
//
// This file is provided without any warranty of fitness for any purpose.
// You can redistribute this file and/or modify it under the terms of
// the GNU General Public License (GPL) as published by the
// Free Software Foundation, ei... | [
"changruowang@163.com"
] | changruowang@163.com |
dcb26d4a5609164aaab4d1b87bd8ccbdfe14621b | ba53b593ea45357cf3b52230bc7c0adb50837dda | /src/operators/RangeOnSubscribe.hpp | f5564c8125f6c260f67ecc9e68b44faeb54de19e | [] | no_license | Gebrechlich/tinyRxCpp | efe182d8286ef03c44972eabe355087107f8dfbe | 0e2f2310011e8d2d4ed6e5389f64521c36e976a1 | refs/heads/master | 2020-12-24T06:39:55.353828 | 2017-03-24T11:59:54 | 2017-03-24T11:59:54 | 57,379,516 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 574 | hpp | #ifndef RANGEONSUBSCRIBE_HPP
#define RANGEONSUBSCRIBE_HPP
#include "OnSubscribeBase.hpp"
template<typename T>
class RangeOnSubscribe : public OnSubscribeBase<T>
{
public:
RangeOnSubscribe(T start, T count) : start(start), count(count)
{}
void operator()(const SubscriberPtrType<T>& t) override
{
... | [
"gebrechlich86@gmail.com"
] | gebrechlich86@gmail.com |
6bab52d7bee96866c35c0de1f7f35e0a13827f06 | 382eb97bb79478130f83d50877148188ec7ff51a | /libraries/plugins/src/plugins/Plugin.h | eac355b47ddab756dc360f034aa2e13bea135921 | [
"Apache-2.0"
] | permissive | rabedik/hifi | d6cb72e9426d69714b06a3f842b2a4919f52ed18 | 08986dcb17ece932f567ab27cf1f0b1fdecf41e1 | refs/heads/master | 2021-01-16T20:55:40.135499 | 2015-08-28T23:36:00 | 2015-08-28T23:36:00 | 41,653,396 | 1 | 0 | null | 2015-08-31T03:17:57 | 2015-08-31T03:17:56 | null | UTF-8 | C++ | false | false | 1,238 | h | //
// Created by Bradley Austin Davis on 2015/08/08
// Copyright 2015 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
//
#pragma once
#include <QString>
#include <QObject>
#include "Forward.h"
cla... | [
"bdavis@saintandreas.org"
] | bdavis@saintandreas.org |
e32ed3b460565fc23ceb093940690f19613b1273 | 370b105e552baa787557cb58de5c13970c8a6be7 | /core/src/condition_node.cpp | 1861a56a202dd5b0cdac42fbc58fa93bd5c5d8a2 | [
"MIT"
] | permissive | gonnavis/youbot | 94108dbab80634c25a14ea7df1f5bf3d9e1f9bab | 23e7cd875d4598f4a439dce6835b17ca97e87135 | refs/heads/master | 2023-03-15T13:07:24.316861 | 2020-05-16T09:34:06 | 2020-05-16T09:34:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,432 | cpp | /* Copyright (C) 2015-2017 Michele Colledanchise - All Rights Reserved
*
* 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,... | [
"miccol@kth.se"
] | miccol@kth.se |
1f97de01eab58e93f154ba6e0b4bbf05965d0a5c | 434581ae09440e2150d1d96a4e18c872bda54909 | /common/CompositeShape.cpp | 478ad5208f758c4828152d0778e0dccc8293d1e5 | [] | no_license | Spectra456/LabsCPP2017 | 2e11ed0cb69979e0d5c3b09e85fe1c23a8b78ebe | 4b3263458c1244d48d12514cec1df67428a54eab | refs/heads/master | 2020-04-23T16:06:01.953835 | 2019-02-18T13:12:04 | 2019-02-18T13:12:04 | 171,286,671 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,127 | cpp | #include <iostream>
#include <stdexcept>
#include <cmath>
#include "CompositeShape.hpp"
CompositeShape::CompositeShape(const std::shared_ptr<Shape> &shape):
shapes_(new std::shared_ptr<Shape>[1]),
size_(1)
{
if (shape == nullptr)
{
throw std::invalid_argument("invalid pointer");
}
shapes_[0] = shape;
... | [
"spectranoid123@gmail.com"
] | spectranoid123@gmail.com |
9bd20d4ee30aa4fef75e239130547010b73ba82b | d5928911a9b24dd809b58ccea93463e04bb25435 | /mathematics/ChristmasParty.cpp | f2df7783824d471d234b0a5d151dfa3629eb4615 | [] | no_license | pankajgangwar/cses-problems | 43778d134d7ce8815d62acda63c060d5ee832395 | efb0139fe24f861990cc2da3082686681377142f | refs/heads/main | 2023-03-30T21:22:27.298730 | 2021-03-22T01:07:10 | 2021-03-22T01:07:10 | 330,844,461 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,226 | cpp | #include <stdio.h>
#include <string.h>
#include <iostream>
#include <array>
#include <vector>
#include <queue>
#include <bits/stdc++.h>
#include <chrono>
#define int long long int
#define fast_io ios_base::sync_with_stdio(false);cin.tie(NULL)
using namespace std;
//Problem : https://cses.fi/problemset/task/1717
//Sol ... | [
"pankaj.gat@gmail.com"
] | pankaj.gat@gmail.com |
9af09c082ae9f08f563d02f78ccee1c899d2b94c | 1555c044e454339f5107a16994e9c1c2c975f24f | /Server/Receiver/Receiver.cpp | 70b4dfbf786fc8f01b7ef9f84b9ba84d6553db41 | [] | no_license | shuiqi2000/swallow | 72a43704538709d8e8dcdd3ca3c58c9a36d15de7 | 764fd31f3d94d4da2c3fbfb48f93d605fdcd7be4 | refs/heads/master | 2021-01-22T14:33:46.394400 | 2013-02-03T13:29:52 | 2013-02-03T13:29:52 | 3,048,043 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 361 | cpp | #include "Receiver.h"
Receiver::Receiver(Network * network)
{
this->network = network;
this->network->setReceiver(this);
}
Receiver::~Receiver(void)
{
if (network != 0){
delete network;
}
}
void Receiver::start(){
network->start();
}
void Receiver::handleData(unsigned char * data){
}
Network * Receiv... | [
"shuiqi2000@163.com"
] | shuiqi2000@163.com |
f9d0c53564215cc17bb76ad8b1da9d138a18e678 | 1f84fd078570475d2510339bab2439b5193af03d | /source/vxRenderAspectDX12/RenderPassGBuffer.h | 514232e3c0b7f46456912718327048692748031a | [
"MIT"
] | permissive | DennisWandschura/vxEngine | df138077cdb9f40461c83e99a8851de593b098f2 | 1396a65f7328aaed50dd34634c65cac561271b9e | refs/heads/master | 2021-01-16T00:17:47.703611 | 2015-10-11T10:44:53 | 2015-10-11T10:44:53 | 32,484,686 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,667 | h | #pragma once
/*
The MIT License (MIT)
Copyright (c) 2015 Dennis Wandschura
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, co... | [
"dennis.wandschura@gmx.de"
] | dennis.wandschura@gmx.de |
ecef9a3906d8ef9ba615931c1d1baadf76a06afd | e3b8aec0a025cd9ccc6a7826d4a7deca43c9710a | /src/ScreenDebugOverlay.h | 949ecf7a2966034a9da0a248e02fa5098ff90838 | [] | no_license | SamDecrock/stepmania5-http-post-scores | ee2328a7ab48d0a027785a3959f82725793e49e7 | 100c2759d3204a4334a58f50f2de5f94d2beec3e | refs/heads/master | 2020-05-17T18:59:30.912630 | 2012-12-10T18:56:33 | 2012-12-10T18:56:33 | 7,096,072 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,148 | h | /* ScreenDebugOverlay - credits and statistics drawn on top of everything else. */
#ifndef ScreenDebugOverlay_H
#define ScreenDebugOverlay_H
#include "Screen.h"
#include "BitmapText.h"
#include "Quad.h"
void ChangeVolume( float fDelta );
void ChangeVisualDelay( float fDelta );
class ScreenDebugOverlay : public Scre... | [
"sam.decrock@gmail.com"
] | sam.decrock@gmail.com |
8072cc8529b3a2625f31eb68cdaef1c9c04d1d9b | 3860008e9d34404d400eff8ecca916b9d91232c8 | /realizer/glayout.h | 6fa0ccd9b56bbc7247a10aaece638434ef247d78 | [
"MIT"
] | permissive | codetorex/realizer | 39a847697671fe4ae31f5af9cf0e8570fb192250 | adb06d3138cc039764c0859177a669fa485578bf | refs/heads/master | 2020-12-21T15:56:57.478620 | 2020-01-27T12:03:33 | 2020-01-27T12:03:33 | 236,478,627 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 753 | h | #ifndef GLAYOUT_H
#define GLAYOUT_H
#include "mrectangle.h"
class GObject;
class GAlign
{
public:
void Align( IRectangle& srcRect, const IRectangle& dstRect, Alignment alignment);
};
/**
* Base layout algorithm for laying out strategy of containers.
*/
class GLayout
{
public:
static GLayout I... | [
"codetorex@gmail.com"
] | codetorex@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.