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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8278588bff8bdc32b8f412f2e993bfece1539b79 | 4dc56feb6e1890ddee5b76dd1c5495bd7a639004 | /code/trunk/Starship/src/labor/duty/OssWorker.cpp | 2b12cd2d7e756c4436e615331e64cd20e391eb39 | [] | no_license | lwaly/push_quot | 3205ba79ce5cd81dd7aaed4d4fef8a0849c84abc | ef9051408a5e67d359e8d6a7a7012ca4c1bd40ac | refs/heads/master | 2020-03-22T22:58:32.392012 | 2018-07-25T08:17:41 | 2018-07-25T08:17:41 | 140,782,233 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 178,422 | cpp | /*******************************************************************************
* Project: AsyncServer
* @file OssWorker.cpp
* @brief
* @author lbh
* @date: 2015年7月27日
* @note
* Modify history:
******************************************************************************/
#ifdef __cplusplus
extern "... | [
"279527404@qq.com"
] | 279527404@qq.com |
7b68ab9e27abcf7e8b765148eed08ebbb7d2253f | a7c14f2f0fd386f6f4eb8d610bb40b45168724f9 | /Plat4m_Core/System.h | 23f8f6efd7aae4abf6c42da5a0c6583f277ec16b | [] | no_license | bminerd/Plat4m_Core | ecd6939dba658130d4aad5bd9f3d70b35884773c | 809c49fcd739f449f3ea36aad2b2273c57c9ba8e | refs/heads/develop | 2022-02-13T15:04:39.663751 | 2021-06-23T04:47:46 | 2021-06-23T04:47:46 | 5,208,847 | 1 | 0 | null | 2021-06-23T04:47:47 | 2012-07-27T19:59:29 | C | UTF-8 | C++ | false | false | 6,131 | h | //------------------------------------------------------------------------------
// _______ __ ___
// || ___ \ || | __ // |
// || | || | || | _______ || |__ // | _____ ___
// || |__|| | || | // ___ | || __| // _ | || _ \/... | [
"ben.minerd@gmail.com"
] | ben.minerd@gmail.com |
e7181117a65397808f689c8f46e75e3b09c8a440 | f4473e90491e419f72f03ae55f62ad0e43b79514 | /Page-001/008/C++/001/CF_116A_1.cpp | 5de798412edf87b33e49b2d1257bd0b30018fc7c | [] | no_license | nishitkshah/My-Codeforces-Submissions | 443c2ae476c10bd14a9733cf39e5ad0da591be9a | 9671ab0ed70cece4a062ec07b58d8ded5d729c50 | refs/heads/master | 2020-06-29T14:50:57.749663 | 2019-08-05T01:55:52 | 2019-08-05T01:55:52 | 200,563,917 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 231 | cpp | #include<cstdio>
#define REP(a, b, c) for(int a=(b); a<(c); a++)
int main(){
int n, a, b, c=0, mc=0;
scanf("%d", &n);
REP(i, 0, n){
scanf("%d%d", &a, &b);
c = c-a+b;
if(mc<c) mc = c;
}
printf("%d\n", mc);
return 0;
}
| [
"40242169+nishitkshah@users.noreply.github.com"
] | 40242169+nishitkshah@users.noreply.github.com |
1d63b455b50fc9a69bf35df33284bb35e9a1865a | a7d2ea3da40fc0590218acdf14286a0553102e97 | /algorithm/PAT/浙大数据结构/最长连续递增子序列.cpp | 1cedd376e9f9b08d475ccbfa69b7303e8ebc8dd0 | [] | no_license | wust-lzy/vscode_project | 58855bb4aa9ee5699f02c88ee6ad08eaa00459f9 | 8f6d8e661e284c7f2c3164dd39730404e7a02d58 | refs/heads/master | 2023-03-23T10:52:26.238726 | 2021-03-23T03:46:57 | 2021-03-23T03:46:57 | 331,944,454 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 818 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
struct node
{
int data;
int cnt;
node() { cnt = 1; }
};
int main()
{
int n;
cin >> n;
vector<node>v (n);
for (int i = 0; i < n;i++)
{
cin >> v[i].data;
}
for (int i = 0; i < n;i++)
{
for (in... | [
"1457652314@qq.com"
] | 1457652314@qq.com |
a5fd9004ded63205a370aee4330f4072afc58314 | dd6b6da760c32ac6830c52aa2f4d5cce17e4d408 | /magma-2.5.0/sparse/testing/testing_dselect.cpp | 3fb92273900441c09db1c7c66ba4551d14ad8e05 | [] | no_license | uumami/hit_and_run | 81584b4f68cf25a2a1140baa3ee88f9e1844b672 | dfda812a52bbd65e02753b9abcb9f54aeb4e8184 | refs/heads/master | 2023-03-13T16:48:37.975390 | 2023-02-28T05:04:58 | 2023-02-28T05:04:58 | 139,909,134 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,594 | cpp | /*
-- MAGMA (version 2.5.0) --
Univ. of Tennessee, Knoxville
Univ. of California, Berkeley
Univ. of Colorado, Denver
@date January 2019
@generated from sparse/testing/testing_zselect.cpp, normal z -> d, Wed Jan 2 14:18:55 2019
@author Hartwig Anzt
*/
// includes, system
... | [
"vazcorm@gmail.com"
] | vazcorm@gmail.com |
9ed30ad600d8aec1ad43921ba5e8700ca0d77f7a | 58b19e573110ea4a77b38740eefb4fc6911df3d9 | /TranspositionTable.cpp | e8a953912a6a148a68b2d0e0289bcc219bcc8b5f | [] | no_license | jamesben6688/renju | 3c257462e5b8c281ac3f5478f484114de3ba0203 | b78cc54b380001953ff1901bc41f6ae7418453af | refs/heads/master | 2021-09-10T00:29:03.077310 | 2018-03-20T11:06:20 | 2018-03-20T11:06:20 | 126,003,523 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 3,794 | cpp | #include "stdafx.h"
#include "renju.h"
#include "TranspositionTable.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#define new DEBUG_NEW
#endif
//生成64位随机数
LONGLONG rand64(void)
{
return rand() ^ ((LONGLONG)rand() << 15) ^ ((LONGLONG)rand() << 30) ^
((LONGLONG)rand() << 45) ^ ((... | [
"noreply@github.com"
] | jamesben6688.noreply@github.com |
e1d24c7892ab7c3efb7dc64ddd7df852b239e938 | 55870c6741be02a4ecfa729f934f87e6d0c2eb7b | /src/MakeShared.cpp | d16e426a315bcea7e766696487eeab180f9928f1 | [] | no_license | melihsozdinler/smart_pointers | 4e8a7dc672807f4d4a0794f1579e0caeaaa9b04c | b61671e7ab4629b504f6872498a71ed88ed223a1 | refs/heads/master | 2023-06-04T14:05:48.205614 | 2021-06-16T21:06:04 | 2021-06-16T21:06:04 | 377,614,670 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,315 | cpp | //
// Created by Melih Sozdinler on 6/16/2021.
//
#include "MakeShared.h"
void MakeShared::Show() {
cout << "-------------- Make Shared --------------" << endl;
shared_ptr<int> foo = make_shared<int> (10);
// same as:
shared_ptr<int> foo2 (new int(10));
auto bar = make_shared<int> (20);
auto... | [
"melihsozdinler@gmail.com"
] | melihsozdinler@gmail.com |
495f782e9ecb827e861869c76c739c594b0117d4 | c993c57044d065aa956c412295aa0eb75a28c1d7 | /ESP32_MyFirmata.ino | 87bd51d0976f3cf62c9d2ae6984351990096e465 | [] | no_license | vaga88/webduino | 8c5e8df87ca58e986be85a377d2ba1de6a4aee53 | c4097db5404bcb44b86ad3afc00f600a21e2334e | refs/heads/master | 2020-03-12T12:34:01.019542 | 2018-04-22T14:08:33 | 2018-04-22T14:08:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,125 | ino | /*
Arduino IDE + NodeMCU (ESP32)
Author : ChungYi Fu (Taiwan) 2018-04-04 07:00
Command Format :
http://APIP/?cmd=str1;str2;str3;str4;str5;str6;str7;str8;str9
http://STAIP/?cmd=str1;str2;str3;str4;str5;str6;str7;str8;str9
Default APIP: 192.168.4.1
http://192.168.4.1/?ip
http://192.168.4.1/?mac
http://... | [
"noreply@github.com"
] | vaga88.noreply@github.com |
75740b2c6dda290e81bcbf8188d0fe5f94328da6 | 378b53a693df6f5d5ba9d14bec9bf0c598ea5bae | /includes/trie.h | 79e49beaed002186c9cafda615e311adf5c0b384 | [] | no_license | ankit4970/Data-Structure-Algorithm | f9104c358e2d7c161b36f28128863030337e59aa | 2bb5db64fdffec97e91fc04a0d461e567cac59e6 | refs/heads/master | 2021-09-19T08:55:03.345968 | 2018-07-26T00:44:22 | 2018-07-26T00:44:22 | 112,044,319 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 533 | h | //
// Created by ankit on 1/19/2018.
//
#ifndef INTERVIEW_TRIE_H
#define INTERVIEW_TRIE_H
#include "common.h"
const int ALPHABET_SIZE = 26;
// trie node
struct TrieNode
{
struct TrieNode *children[ALPHABET_SIZE];
// isEndOfWord is true if the node represents
// end of a word
bool isEndOfWord;
};
cl... | [
"ankit4970@gmail.com"
] | ankit4970@gmail.com |
637279bb7d38ba2a09a53fe449ca9c4f467d0658 | 1c37ce592bf818cca25555468df07ace296206cb | /random_a/little_c_loves_3_i.cpp | 907ce42c61267af6fb13203adf51a312f0d15a66 | [] | no_license | Eglis05/CodeForces | 7f55ec40e978f8310b186ce90d7d5e2cbcfea760 | 78371d56c4d486b948dce21880b99252d27442c7 | refs/heads/main | 2023-01-21T23:24:25.734234 | 2020-11-30T19:46:13 | 2020-11-30T19:46:13 | 307,812,555 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 291 | cpp | //https://codeforces.com/contest/1047/problem/A
#include <iostream>
using namespace std;
int main()
{
int n;
cin >> n;
if (n%3 == 0 || n%3 ==1){
cout << n-2 <<"\n" <<"1" <<"\n"<<"1";
}
else{
cout << n-3 <<"\n" <<"2" <<"\n"<<"1";
}
return 0;
} | [
"eglisbalani5@gmail.com"
] | eglisbalani5@gmail.com |
67c44f0aa5597a66473d990ebf9349a08026d46b | 5815fbec19ef1649fb229dbb3bb79318d76ed62c | /src/keystore.cpp | 8cd3ad8da838e7e54c850b2bd292038580588198 | [
"MIT"
] | permissive | luxmicoin/Luxmi | a646c239cbb012d778f4953fc7407b3c7cf5ffa3 | 3eec7accdd8954006813d97d4dacc871173f341e | refs/heads/master | 2021-05-07T17:50:12.239987 | 2017-10-29T10:48:54 | 2017-10-29T10:48:54 | 106,904,680 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,036 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Copyright (c) 2017 The Luxmi developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "keystore.h"
#include "script.... | [
"luxmicoin@gmail.com"
] | luxmicoin@gmail.com |
9c46179402938575d643aa14baa6b0549a8159f7 | 1a77b5eac40055032b72e27e720ac5d43451bbd6 | /VisualC++/Chap8MFC/Rei59/Rei59/Rei59Doc.h | 205986909a4869a459f6228543002640982e4fe6 | [] | no_license | motonobu-t/algorithm | 8c8d360ebb982a0262069bb968022fe79f2c84c2 | ca7b29d53860eb06a357eb268f44f47ec9cb63f7 | refs/heads/master | 2021-01-22T21:38:34.195001 | 2017-05-15T12:00:51 | 2017-05-15T12:01:00 | 85,451,237 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 615 | h | // Rei59Doc.h : CRei59Doc クラスのインターフェイス
//
#pragma once
class CRei59Doc : public CDocument
{
protected: // シリアル化からのみ作成します。
CRei59Doc();
DECLARE_DYNCREATE(CRei59Doc)
// 属性
public:
// 操作
public:
// オーバーライド
public:
virtual BOOL OnNewDocument();
virtual void Serialize(CArchive& ar);
// 実装
public:
virtual ~CRei5... | [
"rx_78_bd@yahoo.co.jp"
] | rx_78_bd@yahoo.co.jp |
abee8dbb52b488154164d522124a15bfe371c353 | bae479678ffcda0a2664edba67307f4df7cdb8ea | /RubetekIOS-CPP.framework/Versions/A/Headers/libnet/dawn/salix/tree.hpp | 31dcfff5bfd82737a96649f8ff88721286e35dbb | [
"MIT"
] | permissive | yklishevich/RubetekIOS-CPP-releases | 6569987ada6bcfc66550db08a1193010a16120f3 | 7dfbbb45b8de7dbb6fa995ff5dcbca4ec06c2bdb | refs/heads/master | 2020-09-17T06:18:21.265080 | 2020-02-15T12:11:43 | 2020-02-15T12:11:43 | 224,016,492 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,600 | hpp | #pragma once
#include <list>
#include <iostream>
#include <unordered_map>
#include <boost/optional.hpp>
#include <msw/format.hpp>
#include <msw/throw_runtime_error.hpp>
#include <dawn/tree.hpp>
#include <dawn/salix/node.hpp>
namespace dawn {
namespace salix {
typedef tree<node> tree;
}}
namespace dawn {... | [
"eklishevich@gmail.com"
] | eklishevich@gmail.com |
1094958e1db5c8519a759fc52062d04e4c145151 | be33dfd5ab44d90045c4ae9dbaa1c82e47e43609 | /include/game/View/foodview.hpp | 2d5f9a68e8100950177555caeb024add33a8ad9c | [] | no_license | fishmaker/fishing | 767aae5c509b65f648348df40c2a2d85d9d55ed0 | 2a680a59ecb60dd78b35b9d47755fe9a07d9901b | refs/heads/master | 2021-01-12T04:39:43.524758 | 2017-01-08T21:52:17 | 2017-01-08T21:52:17 | 77,695,768 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 268 | hpp | #ifndef FOODVIEW_H
#define FOODVIEW_H
#include <QWidget>
namespace game {
class FoodView : public QWidget
{
Q_OBJECT
public:
void Setup();
public:
explicit FoodView(QWidget *a_Parent =0);
~FoodView();
};
} // namespace game
#endif // FOODVIEW_H
| [
"flasher2131@gmail.com"
] | flasher2131@gmail.com |
e9d90c98a0c199848505797480bfec239fb8df9b | fab59c5b8cf5fe4b9a98fe4ec5bd368c91e1878f | /client/shared/exception.h | 5698aae1d050965482d140e501da65bec313a69e | [] | no_license | almoghamdani/gta-mp | a581590b9836d314aded3c21147fdebb22d11f1d | c7b06116124f0670772a1ec5040eb712861d62d1 | refs/heads/master | 2022-01-18T18:04:33.659025 | 2019-08-02T16:37:48 | 2019-08-02T16:37:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 480 | h | #pragma once
#include <exception>
#include <string>
#include "error.h"
namespace gtamp
{
class exception : public std::exception
{
private:
error _code;
std::string _message;
std::string _format;
public:
exception(const error code, const std::string message) : _code(code), _message(message) {
_format = "Error... | [
"almogh52@gmail.com"
] | almogh52@gmail.com |
63cd4bcef7e0b2d29d5ad982dcedcc46be015613 | 1e17f6f0f9756d6043eb2a2d71dfd0e6c09590b2 | /périmé/scripts/pycsw/geos-3.3.3/src/algorithm/BoundaryNodeRule.cpp | 375c761910321f35ca6ec825861f2751bf10c5eb | [
"MIT",
"LGPL-2.1-only"
] | permissive | federal-geospatial-platform/fgp-metadata-proxy | 20e300b68eedfb29eed3e1cd24a69cf3c52898c3 | 82368614a2658260c0f09a1b5d341918310626e5 | refs/heads/master | 2023-08-09T14:03:35.522230 | 2023-08-03T15:10:11 | 2023-08-03T15:10:11 | 160,414,397 | 10 | 7 | MIT | 2023-05-01T23:16:00 | 2018-12-04T20:24:01 | C++ | UTF-8 | C++ | false | false | 4,375 | cpp | /**********************************************************************
* $Id: BoundaryNodeRule.cpp 2809 2009-12-06 01:05:24Z mloskot $
*
* GEOS - Geometry Engine Open Source
* http://geos.refractions.net
*
* Copyright (C) 2009 Sandro Santilli <strk@keybit.net>
*
* This is free software; you can redistribu... | [
"keballan@nrn.nrcan.gc.ca"
] | keballan@nrn.nrcan.gc.ca |
0229073ce5982598973ff930364848f6603fd8c0 | 6e6fa8f1739523c62bebb4e8dd68c8fd8f6d484b | /application/tick.cpp | 3ea62c5ba322360c10ab502acf166595382324ee | [] | no_license | mtromp/ray-tracer-challenge | f805a68b5a022300ee8c5d071e8b394fbf977071 | 939cf43c03833f5566332295f45c4a8ac508224d | refs/heads/master | 2020-03-27T11:59:54.862670 | 2019-01-07T01:31:26 | 2019-01-07T01:31:26 | 146,519,996 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,638 | cpp | #include "tuple.h"
#include "canvas.h"
//#include <QCoreApplication>
#include <cmath>
#include <fstream>
#include <iostream>
#include <string>
class world
{
public:
world(raytracer::vector initGravity, raytracer::vector initWind):gravity(initGravity),wind(initWind)
{
}
raytracer::vector gravity;
... | [
"mtromp@mtromp.com"
] | mtromp@mtromp.com |
0817269ca1f28d7259094262a52ccf32dff5287d | 0506c31d3f7dd6eeb78f30549c13d26f2418009b | /217. Contains Duplicate/Solution.cpp | e1138cfaa76fdd7fd0a4b833f346d13fced79862 | [
"BSD-2-Clause"
] | permissive | Ainevsia/Leetcode-Rust | fa20e423d33263d9878ca0bf1b06ea337197df77 | 0c480cb78fddda217bc8c220d5600c944dfad9cd | refs/heads/main | 2023-09-01T12:38:12.643582 | 2023-09-01T08:51:57 | 2023-09-01T08:51:57 | 205,065,663 | 30 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 591 | cpp | #include <string>
#include <vector>
#include <iostream>
#include <sstream>
#include <algorithm>
#include <tuple>
#include <deque>
#include <unordered_map>
#include <map>
#include <cmath>
#include <queue>
using namespace std;
class Solution {
public:
bool containsDuplicate(vector<int>& nums) {
unordered_map... | [
"zhipengxu@sjtu.edu.cn"
] | zhipengxu@sjtu.edu.cn |
88b280f55c47ff8800772d276b03a03f70535e08 | 9ebbbcf2e7a887c1863bdcb4a444bf7438660e22 | /pbqrsbeprf/282/a.cpp | e92ce8cf96c5ef768e20593580654ca56e7b243a | [] | no_license | nazarov-yuriy/contests | a0a070bd55b0b20dd03cf96e50eb06aa9558525e | 8f7527adee017f986089a4586947bdfa68a1b93c | refs/heads/master | 2021-06-18T07:34:14.967575 | 2021-04-04T14:07:45 | 2021-04-04T14:07:45 | 46,584,643 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 333 | cpp | #include <iostream>
using namespace std;
int main() {
int n;
cin >> n;
string line;
getline(cin, line);
int x = 0;
for (int i = 0; i < n; i++) {
getline(cin, line);
if ("X++" == line || "++X" == line) x++;
if ("X--" == line || "--X" == line) x--;
}
cout << x;
... | [
"nazarov.yuriy.pavlovich@gmail.com"
] | nazarov.yuriy.pavlovich@gmail.com |
ebef49b7f7b2c9d4005e10753c3ca84aad377877 | b7f1b4df5d350e0edf55521172091c81f02f639e | /components/keep_alive_registry/keep_alive_registry.h | bcddc1155a536ce12225b49dbb155861c66ec3ac | [
"BSD-3-Clause"
] | permissive | blusno1/chromium-1 | f13b84547474da4d2702341228167328d8cd3083 | 9dd22fe142b48f14765a36f69344ed4dbc289eb3 | refs/heads/master | 2023-05-17T23:50:16.605396 | 2018-01-12T19:39:49 | 2018-01-12T19:39:49 | 117,339,342 | 4 | 2 | NOASSERTION | 2020-07-17T07:35:37 | 2018-01-13T11:48:57 | null | UTF-8 | C++ | false | false | 3,853 | h | // Copyright 2016 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 COMPONENTS_KEEP_ALIVE_REGISTRY_KEEP_ALIVE_REGISTRY_H_
#define COMPONENTS_KEEP_ALIVE_REGISTRY_KEEP_ALIVE_REGISTRY_H_
#include <unordered_map>
#inc... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
51d24a2ff6da2c19d807f5f1bbc5974e720cc46d | 18dc828ecac141107d32a41e3063b2c8f4880667 | /tom_1/chapter_16/19/main.cpp | 714b737578f94c865c487605c6e3bae0a2bd9e54 | [] | no_license | novikov-ilia-softdev/thinking_cpp | 4ffde847627b6cfdabcead8d833c24408314792d | bfa0348eaa89b2c24639a3f76d385dbc834b913d | refs/heads/master | 2021-09-19T05:59:06.310055 | 2018-07-24T06:20:21 | 2018-07-24T06:20:21 | 70,487,830 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 836 | cpp | #include "tcontainer.h"
#include "shape.h"
#include <iostream>
int main()
{
typedef TContainer<Shape> ShapesContainer;
typedef ShapesContainer::SmartPointer ShapesContainerIterator;
ShapesContainer shapes;
for( int i = 0; i < 4; i ++)
{
shapes.add( new Circle);
shapes.add( new Square);
shapes.add( new Trian... | [
"smartnlg.ilia.novikov@gmail.com"
] | smartnlg.ilia.novikov@gmail.com |
4f58e0e42d38728857e2507afb004727b7690bad | 61dbec5c907c650e5ddd5cf5908f0bdf63289a88 | /Dispatcher.cpp | 23201dd672c0c3f78223323f2b3c2e597d80de15 | [] | no_license | Dolev/Pandemic-a | a2dbd38067f1f0c88d087cddfb8ca079608ab71b | 41b9f7360c56ca10dc41cd962bc325198cc3fb2f | refs/heads/main | 2023-04-14T14:46:32.735594 | 2021-05-05T18:06:03 | 2021-05-05T18:06:03 | 362,887,185 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 393 | cpp | #include "Dispatcher.hpp"
#include <typeinfo>
namespace pandemic{
//Dispatcher constuctor
Dispatcher::Dispatcher(const Board& board, const City& CityId):Player(board, CityId){
}
string Dispatcher::role(){
string name = typeid(Dispatcher).name();
return name;
}
Player& Disp... | [
"noreply@github.com"
] | Dolev.noreply@github.com |
832acb778ce96125639f16cb762d8fc6c5c1a772 | 457899f62e2bb64cbe03124fe9aa75210244a9df | /Terminal-Game-Engine/WindowsCMDScreen.h | 7257e1f52c2a3dc24344ffeb3e3359eeda692f2d | [] | no_license | Eroar/terminal-game-engine | 3e9077809a1268c643e93c077a1ca656b126b0ce | 6949ed9ff150ee241f290b34664ba12e8af1656e | refs/heads/main | 2023-06-03T13:51:01.158266 | 2021-06-24T12:48:49 | 2021-06-24T12:48:49 | 379,917,706 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,096 | h | #pragma once
#include "Screen.h"
#include <Windows.h>
#include "Matrix2D.h"
class WindowsCMDScreen : public Screen {
SMALL_RECT m_rectWindow;
HANDLE hConsole;
Matrix2D<CHAR_INFO> bufferContent;
protected:
void updateTitle() {
wchar_t s[256];
swprintf_s(s, 256, L"%s", title.c_str());
SetConsoleTitle(s);
};
... | [
"erykksc@gmail.com"
] | erykksc@gmail.com |
f1343480a9322e79f992005cfe6b4cd780659789 | 54a91c7e0659e53ec7a30a8918119757498bc2f4 | /simple/bluesim/jni/DmaIndicationWrapper.cpp | fb1809c395a117df773cdaa487bc7d6370634a1b | [] | no_license | sangwoojun/bluedbm_old | 2f9bc19aa6665f3e371c3296a10dd6bb14533eee | 9a0093fc9b6b0f8a7b584b88f158c58362ed027b | refs/heads/master | 2021-01-19T16:53:41.425090 | 2014-09-10T22:42:31 | 2014-09-10T22:42:31 | 18,770,933 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 13,888 | cpp | #include "portal.h"
#include "GeneratedTypes.h"
#include <stdio.h>
#include <stdlib.h>
#include "DmaIndicationWrapper.h"
DmaIndicationWrapperStatus::DmaIndicationWrapperStatus(int id, PortalPoller *poller)
: PortalInternal(id)
{
}
class DmaIndicationWrapperStatusputFailedMSG : public PortalMessage
{
public:
... | [
"wjun@csail.mit.edu"
] | wjun@csail.mit.edu |
bf29a217df2060cea67dadfce88a9b42fc3a4d7b | 9be3d865e4d3f141f6b03fd5daaf09adaed03038 | /examples/lighting-app/qpg/src/LightingManager.cpp | ffb062bc104f31365de503bfd914ef99737b90b4 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | winnieli1129/connectedhomeip | 17ffc14d3bb4b94da35cad7b074a46e430f4888d | 5cb5d880e2be1427798c767aaf8c67f696046df8 | refs/heads/master | 2023-06-30T23:16:50.506830 | 2021-07-23T09:57:05 | 2021-07-23T09:57:05 | 388,645,941 | 0 | 0 | Apache-2.0 | 2021-07-23T09:57:06 | 2021-07-23T01:37:25 | null | UTF-8 | C++ | false | false | 3,581 | cpp | /*
*
* Copyright (c) 2020 Project CHIP Authors
* Copyright (c) 2019 Google LLC.
* 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
*
* h... | [
"noreply@github.com"
] | winnieli1129.noreply@github.com |
d0ee5708c9ceb9a558a9c0ced52f02ab1a0d3b6a | 111a1980df3e4179c21ecde8e594ae971fc942b2 | /Edi/EdiRowHeader.h | e955bfbb8f7efbaf96edd62a82dd1b01880eb807 | [] | no_license | testalucida/Edi | 6845943718eb65c5b8dc7efdf5e74dbb127f57a5 | 06eb6d12b6919ed1c32c9feaf7beb2c32945c269 | refs/heads/master | 2020-12-18T04:57:55.625300 | 2020-01-25T18:54:34 | 2020-01-25T18:54:34 | 235,317,351 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 246 | h | #ifndef EDIROWHEADER_H
#define EDIROWHEADER_H
#include <FL/Fl_Text_Display.H>
class EdiRowHeader : public Fl_Text_Display {
public:
EdiRowHeader( int x, int y, int w, int h ) ;
protected:
void draw();
};
#endif | [
"martin.kendel@rotmax.de"
] | martin.kendel@rotmax.de |
359cf4ba33844827fd472b1714839c3e11a2bb88 | 90e5b0b988ee88d61fd9102de9dfa7dd17bbc03a | /Lquartz-ACM/practice/leetcode/67.cpp | 95d5b4efcbadc15cbff2447e6b4e2e367af78ba6 | [] | no_license | Merevoli-DatLuu/ICPC | dd307906ec095708f9a746d01de2e583b71127fe | 064df4ef18371a45d899954b369237547f9f8618 | refs/heads/master | 2020-07-14T18:08:35.250494 | 2016-11-18T09:38:24 | 2016-11-18T09:38:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 490 | cpp | class Solution {
public:
string addBinary(string a, string b) {
if(a.length() < b.length()) swap(a, b);
reverse(a.begin(), a.end());
reverse(b.begin(), b.end());
int p = 0, i;
for(i = 0; i < b.length(); ++i) {
p = p + a[i] - '0' + b[i] - '0';
a[i] = '0' + p % 2;
p /= 2;
}
for(i = b.length();... | [
"fengdalu@gmail.com"
] | fengdalu@gmail.com |
aa7b23db710bb9c4e7b4576553cea71de240d367 | f51b3b7f6a5110a704d5bd4e7920fc675a75f2bd | /tests/src/tools/trie.cpp | f053d5713ccd4b1d17838a2b6584f5fa80b86f2b | [
"MIT"
] | permissive | v-dobrev/occa | 6857905566e39334d47ff2efa6a8e5be9a085cde | 58e47f5ccf0d87f5b91e6851b2d74a9456c46b2c | refs/heads/master | 2020-03-26T07:50:51.784589 | 2018-08-26T19:10:56 | 2018-08-26T19:46:22 | 144,674,039 | 0 | 0 | MIT | 2018-08-14T05:45:39 | 2018-08-14T05:45:38 | null | UTF-8 | C++ | false | false | 5,622 | cpp | /* The MIT License (MIT)
*
* Copyright (c) 2014-2018 David Medina and Tim Warburton
*
* 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 t... | [
"dmed256@gmail.com"
] | dmed256@gmail.com |
939110fb8b958454ccdef5d66d1ed46601c698bc | 4c23be1a0ca76f68e7146f7d098e26c2bbfb2650 | /ic8h18/0.003/C3H6 | 4c620a21193c137d49e64b1d76281322233958e8 | [] | 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 | 836 | /*--------------------------------*- 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 | |
de26eccd5ce27d78b429e968a66cb115d52480b0 | 220c245d5589146b1e0bb6f4f79f781f02c13227 | /Uva/459/27491911_AC_0ms_0kB.cpp | fcdc015337403c25d530bce2d7234ba53d91fbd5 | [] | no_license | hossamthapit/CompetitiveProgramming | f0d21f5f60f5b17d9004c3e6c431f97284b31450 | dd072a92b7f268aa2c4ba7e4dfac358baa27e772 | refs/heads/master | 2021-01-25T13:29:20.933667 | 2021-01-05T12:31:03 | 2021-01-05T12:31:03 | 123,578,764 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,565 | cpp | #define _CRT_SECURE_NO_WARNINGS
#include <bits/stdc++.h>
int dx[] = { 0,0,-1,1,1,-1,-1,1 };
int dy[] = { 1,-1,0,0,1,-1,1,-1 };
#define all(x) x.begin(),x.end()
#define szz(x) int(x.size())
typedef long long ll;
using namespace std;
void file() {
ios_base::sync_with_stdio(0);
cin.tie(0); cout.tie(0);
#ifndef ON... | [
"noreply@github.com"
] | hossamthapit.noreply@github.com |
406192a4dfb387c026f3d4d59ff3cb3ee401c795 | 4349fb06a4163166c0e043353fc32174050699b7 | /ghost/crc32.cpp | cc468dcdda74e9227b4add39a9ac124ed0023215 | [] | no_license | Aleroo/legionTDbot | f12194b9c24a219476041fae2e73a029a3df303d | 05731fa27b17619b7e500b6c6b8ec50303652625 | refs/heads/master | 2020-12-30T16:27:18.844513 | 2017-05-11T14:39:53 | 2017-05-11T14:39:53 | 90,982,812 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,064 | cpp | #include "ghost.h"
#include "crc32.h"
void CCRC32 :: Initialize( )
{
for( int iCodes = 0; iCodes <= 0xFF; iCodes++ )
{
ulTable[iCodes] = Reflect( iCodes, 8 ) << 24;
for( int iPos = 0; iPos < 8; iPos++ )
ulTable[iCodes] = ( ulTable[iCodes] << 1 ) ^ ( ulTable[iCodes] & (1 << 31) ? CRC32_POL... | [
"aleroo1@tamu.edu"
] | aleroo1@tamu.edu |
102eb6a2fbb8dd4357762f188272d1558ceb59ef | 07306d96ba61d744cb54293d75ed2e9a09228916 | /External/NaturalMotion/common/NMPlatform/include/NMPlatform/NMFastHeapAllocator.h | 4e27e3bf10f084badd98a5513b3eb4d77939bf22 | [] | no_license | D34Dspy/warz-client | e57783a7c8adab1654f347f389c1dace35b81158 | 5262ea65e0baaf3f37ffaede5f41c9b7eafee7c1 | refs/heads/master | 2023-03-17T00:56:46.602407 | 2015-12-20T16:43:00 | 2015-12-20T16:43:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,397 | h | // Copyright (c) 2010 NaturalMotion. All Rights Reserved.
// Not to be copied, adapted, modified, used, distributed, sold,
// licensed or commercially exploited in any manner without the
// written consent of NaturalMotion.
//
// All non public elements of this software are the confidential
// information of NaturalMo... | [
"hasan@openkod.com"
] | hasan@openkod.com |
d7606cead2505e8ead84908c2b3808b3f24184d1 | 47abd462bf24f3b19000d88b7f9d63622a1a3fe6 | /SeungWoo/week6/텀 프로젝트.cpp | 61c659e8da487ff3f7877783168e412d9ca00157 | [
"Apache-2.0"
] | permissive | alps-jbnu/ALPS_2020_Summer_Study | 1f5b9e59ca2e8dcd10fdeced043f19e3a3b5aeeb | 3656d5c6ab44f7f43c1f8c691e75352495c76adc | refs/heads/master | 2022-12-16T04:28:25.099163 | 2020-08-27T07:20:31 | 2020-08-27T07:20:31 | 277,059,912 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 697 | cpp | #include<iostream>
using namespace std;
int ans;
int arr[100001];
bool visit[100001];
bool done[100001];
void reset(int p) {
for (int i = 1; i <= p; i++) {
visit[i] = false;
done[i] = false;
}
}
void solve(int h) {
visit[h] = true;
int next = arr[h];
if (!visit[next]) solve(next);
else if (!done[next]) {... | [
"kangsw1025@naver.com"
] | kangsw1025@naver.com |
c293927d28d0ca9e34516dfb23d275b6c8033584 | 37e6f1a2a71809ab873eca160901e9ab43177704 | /Custom Game Engines/Frac/OpenGLRenderer/include/OpenGLRenderer/InternalRenderingStructures/OpenGLTexture.h | 76ca79a1c8835d146355c9990038b4d040c0becb | [] | no_license | mcmlevi/Portfolio_Levi_de_koning | 1a1868c65917f59e0ded88bba900bd8a8ddadc57 | 9ed1797c96051163ba3b5703d7ee0f1193af9a0f | refs/heads/main | 2023-04-28T21:53:28.011662 | 2021-05-27T20:29:45 | 2021-05-27T20:29:45 | 371,030,224 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 737 | h | #pragma once
#include <CoreRenderAPI/Components/Texture.h>
#include <CoreRenderAPI/Components/Image.h>
#include "OpenGLRenderer/InternalRenderingStructures/OpenGLSampler.h"
namespace TOR
{
/// <summary>
/// The texture class contains all the pointers required to access the texture data on the GPU.
/// </summary>
c... | [
"39926733+mcmlevi@users.noreply.github.com"
] | 39926733+mcmlevi@users.noreply.github.com |
0e8d2e2a168a2540a47129bf2acbcc9b241f157b | e384c60764f448effb41ae75354d38930205ec14 | /Proyecto/HitDetectionBox.cpp | 4182626de610c61c21cb10c8c67301374c5a2e60 | [] | no_license | BraisMorgade/rvr_repo | 7fca3debb8f103b264d71f680500cdda624bf427 | c21e9e65e7133180e90a5006ff58c6687cb4076f | refs/heads/master | 2022-11-14T20:23:35.784098 | 2020-06-26T18:04:24 | 2020-06-26T18:04:24 | 258,865,960 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,088 | cpp | #include "HitDetectionBox.h"
#include "Fighter.h"
HitDetectionBox::HitDetectionBox(App* ap, int w, int h,
float scaleX, float scaleY,
int offsetX, int offsetY, bool debugRender,
BoxType bType, Fighter* fighter): PhysicsObject(ap, fighter->getPositionX(), fighter->getPositionY(), w, h,
"", TRIGGER, sc... | [
"braismor@ucm.es"
] | braismor@ucm.es |
0f404b6656733df990a82c0c75745d473e16e592 | 55d560fe6678a3edc9232ef14de8fafd7b7ece12 | /libs/hana/test/euclidean_ring.cpp | 92dd294b875ea4c490868b98e281a7e0a1794447 | [
"BSL-1.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | stardog-union/boost | ec3abeeef1b45389228df031bf25b470d3d123c5 | caa4a540db892caa92e5346e0094c63dea51cbfb | refs/heads/stardog/develop | 2021-06-25T02:15:10.697006 | 2020-11-17T19:50:35 | 2020-11-17T19:50:35 | 148,681,713 | 0 | 0 | BSL-1.0 | 2020-11-17T19:50:36 | 2018-09-13T18:38:54 | C++ | UTF-8 | C++ | false | false | 797 | cpp | // Copyright Louis Dionne 2013-2017
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
#include <boost/hana/div.hpp>
#include <boost/hana/mod.hpp>
#include <boost/hana/tuple.hpp>
#include <laws/euclidean_ring.hpp>
na... | [
"james.pack@stardog.com"
] | james.pack@stardog.com |
eb6348ff20f8feffa33433e1e31955ece8bf407c | 8db60013ec4050573e52b3c36cec8bbe0cc37a19 | /QT_tp/VIVIER_Romain/mainWindow.cpp | 20c3f407f44766f32f4ae96042512c06f776cc78 | [] | no_license | kirby49/stage_2012 | 24a0541b0aa6aecd4d3d126fb16e549cce1a2629 | d7c82b42be3ec2048c199989fb0df8902a6bceab | refs/heads/master | 2021-01-01T16:55:31.363843 | 2012-05-30T09:43:48 | 2012-05-30T09:43:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 870 | cpp | // VIVIER Romain
#include "mainWindow.h"
MainWindow::MainWindow()
{
m_frame = new QVBoxLayout(this);
m_globalLayout = new QHBoxLayout();
m_westLayout = new QHBoxLayout();
m_widget = new MyWidget();
m_eastLayout = new QVBoxLayout();
m_action = new QPushButton("Quitter");
m_status = new QLin... | [
"kirby_3b_49@hotmail.fr"
] | kirby_3b_49@hotmail.fr |
2e98dec17947a61c44b5e6fe89b8605b434ec4b2 | 7ebf122cf52f0412cd41b738382d7f7ebe8d1653 | /KinectObjectLearn/src/Visualisation/PointCloudRenderObject.cpp | c4a75355b9457ca7bc58377f76c2fa9ae273029f | [] | no_license | osushkov/phd_src | bcb5e75ab839575dea07ef70a7d308dc3e649d04 | 1eb49671977442df4b17b332f8d345e751e4df99 | refs/heads/master | 2020-12-04T11:19:56.108003 | 2016-08-23T11:31:47 | 2016-08-23T11:31:47 | 66,361,170 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,951 | cpp | /*
* PointCloudRenderObject.cpp
*
* Created on: 12/07/2009
* Author: osushkov
*/
#include "PointCloudRenderObject.h"
#ifdef _WIN32
#include <windows.h>
#endif
#include <GL/gl.h>
PointCloudRenderObject::PointCloudRenderObject() :
use_texture(false), color(1.0f, 1.0f, 1.0f), lock(1) {
id = RenderO... | [
"osushkov@gmail.com"
] | osushkov@gmail.com |
90a6845370c147ea1347e5d94161059a18a76e09 | 1f428ff5146ef6bbc33c18813a5c1131eb622f7d | /9_1.cpp | b627831c5845f9759732e231f7915aec8fae3ecf | [] | no_license | IvanOmelyashchik-2-10/cpp | 73c4f908a0efde42a5476127ebe9f506c5a89821 | 1206f35d7e33572b198c0d753715ad1aeea98acb | refs/heads/main | 2023-08-15T00:03:03.608617 | 2021-09-20T20:11:50 | 2021-09-20T20:11:50 | 408,226,810 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 641 | cpp | #include <iostream>
#include <unordered_map>
#include <vector>
using namespace std;
void FillingFunction(int &n, vector <int>&arr)
{
cout << "\nFilling your array:\n";
for (int i = 0; i < n; ++i)
{
int temp;
cin >> temp;
arr.push_back(temp);
}
}
void ResultFunction(vector<int>&a... | [
"cpt.legion.337@gmail.com"
] | cpt.legion.337@gmail.com |
d0591d35859b2555a192117154a70b2c1224ca3f | 1dc05c3cb3a57aea5f64052f329eaf458f73c832 | /topic/LeetCode/0978 maxTurbulenceSize.cpp | ecade67d443eff4f9e528e5df4d572fb93488663 | [] | no_license | ITShadow/practiceCode | 0b1fcbb6b150a1ee91283e8ac7a8d928b4751eda | 4b407ad98e3abc0be5eadc97ff32165f9f367104 | refs/heads/master | 2023-04-08T05:53:21.734166 | 2021-04-26T03:45:46 | 2021-04-26T03:45:46 | 295,429,631 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,567 | cpp | /* 当 A 的子数组 A[i], A[i+1], ..., A[j] 满足下列条件时,我们称其为湍流子数组:
若 i <= k < j,当 k 为奇数时, A[k] > A[k+1],且当 k 为偶数时,A[k] < A[k+1];
或 若 i <= k < j,当 k 为偶数时,A[k] > A[k+1] ,且当 k 为奇数时, A[k] < A[k+1]。
也就是说,如果比较符号在子数组中的每个相邻元素对之间翻转,则该子数组是湍流子数组。
返回 A 的最大湍流子数组的长度。
示例 1:
输入:[9,4,2,10,7,8,8,1,9]
输出:5
解释:(A[1] > A[2] < A[3] > A[4] < A[5... | [
"13710255965@163.com"
] | 13710255965@163.com |
a9a25a9676851b358908b7696de8b96880a897bf | c1474358f693f601cd1e3a158b58a35a04920d71 | /facebook_ui.cpp | d4e596cc4bff6f72c0337520019d84c23f2cd8fd | [] | no_license | rodety/Clinica | 4daf7e1de06f86886d5ceed3a3c779567cfe2d42 | 7f59cee381660dea6bce52d42510c5d41616e4c6 | refs/heads/master | 2020-12-24T06:54:12.497079 | 2016-06-11T22:02:51 | 2016-06-11T22:02:51 | 60,613,342 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 222 | cpp | #include "facebook_ui.h"
#include "ui_facebook_ui.h"
facebook_ui::facebook_ui(QWidget *parent) :
QWidget(parent),
ui(new Ui::facebook_ui)
{
ui->setupUi(this);
}
facebook_ui::~facebook_ui()
{
delete ui;
}
| [
"rodety@gmail.com"
] | rodety@gmail.com |
d49903f352ccd32645bd2a5d7578c20cb4b252ff | d6b0c51999cecf65d5be208fab74bb8a199eb0ac | /MagicCube/PlaybackPlayer.cpp | 8de80a774db852867f93ba501fdb5081998db2b7 | [] | no_license | k-l-lambda/klsmagiccube | 5076e6be0a729ff8741d960e44e5fb061c473b08 | 1cfb166f537573b7e64d902085075ff0e99b9166 | refs/heads/master | 2016-09-05T22:12:35.513552 | 2011-02-10T16:17:38 | 2011-02-10T16:17:38 | 32,123,748 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,149 | cpp | /*
** This source file is part of K.L.'s MagicCube.
**
** Copyright (c) 2008 K.L.<xxxk.l.xxx@gmail.com>
** This program is free software without any warranty.
*/
#include <iostream>
#include <fstream>
#include <boost\lexical_cast.hpp>
#include "PlaybackPlayer.h"
#include "StateArchive.h"
namespace Ma... | [
"k.l.lambda@gmail.com"
] | k.l.lambda@gmail.com |
e282ab5cd6dfb25e1d36b72aa1d8d05b37ff02a2 | 02284c5b3cf2be630b8271ce64974c187faddbf2 | /Data Structure/广度优先和深度优先/AdjacencyArray/DFS.cpp | 4263742e59e991ac62c457f9a88f447dfb739195 | [] | no_license | wyrover/ansi-c-datastructure-examples | 370da37446f7edc29b4fd1729bd35078d7061a10 | 7070217539a08973a4c672a9be7f24b1f1161c69 | refs/heads/master | 2021-01-17T11:03:52.546639 | 2015-12-14T14:22:38 | 2015-12-14T14:22:38 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 5,123 | cpp | #include<stdio.h>
#include<stdlib.h>
#define INFINITY INT_MAX
#define MAX_VERTEX_NUM 20
#define OK 1
#define ERROR -1
#define TRUE 1
#define FALSE 0
typedef enum{DG , DN, UDG, UDN} GraphKind;//{有向图,有向网,无向图,无向网}
typedef int VRType;
typedef char InfoType;
typedef int VertexType;//向量类型
typedef int Status;
typedef struc... | [
"1375641052@qq.com"
] | 1375641052@qq.com |
6fd67d5fc644c2adb558d5c42c776dadf2e8c2b5 | 37adbd3d012e77c3cdf9147cca44fdf6b59f3e68 | /test/matrix/matrix_clear.cc | 820046f24435a6999da2c969bc60120543d973df | [] | no_license | canyuchen/matrix | 7fc06a380c25104c0af7cf30f1e30f78abb36386 | da2893de30fa9db3637891ba33d363adfa042252 | refs/heads/master | 2022-09-17T19:14:59.927960 | 2017-10-23T12:57:19 | 2017-10-23T12:57:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 553 | cc | #include <f/matrix/matrix.hpp>
#include <f/matrix/numeric/lu_solver.hpp>
#include <iostream>
int main()
{
const unsigned int n = 5;
f::matrix<long double> A = f::rand<long double>(n, n);
f::matrix<long double> B = f::rand<long double>(n, 1);
std::cout << "the matrix A is \n" << A << "\n";
std:... | [
"wang_feng@live.com"
] | wang_feng@live.com |
cb9647e35ef814af8c2e03255792f5a0b0bded43 | 6081f170f73516fc59d2b6476c06a073ae46d4e4 | /Source/Sunshine/Skill/Lyre/LyreChart.h | 45617816bb995d518358a9977ebf124cd961384b | [] | no_license | cl4nk/Sunshine | bda8861a4be3478582557e73ef0e6b138b91740e | 7ed0b3b0e8724fef68dadd329dcdd4e60722d400 | refs/heads/master | 2021-01-01T18:30:27.648275 | 2017-11-02T08:18:44 | 2017-11-02T08:18:44 | 98,348,255 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,857 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "Components/ActorComponent.h"
#include "Skill/SkillBase.h"
#include "LyreChart.generated.h"
UENUM(BlueprintType)
enum class ENote : uint8
{
N_Do UMETA( DisplayName = "Do" ),
N_... | [
"g.newton@student.isartdigital.com"
] | g.newton@student.isartdigital.com |
c9c69586ae19ca0d8387fa2611c55b05f5cd5f70 | b2527ae73cc56f6aa7d0854acf6efb430b1bb68c | /Codeforces/A_Sum_of_Odd_Integers.cpp | ba4902b74eb9de8c0a6d76e18cc230776649a753 | [] | no_license | TusharCSE35/Online-Programming | 0538e478d67505ae9f77aaa51492308e6b0d2302 | ea85e684b5032f4832fba6c21806bbed79fdc076 | refs/heads/main | 2023-06-02T08:52:32.174072 | 2021-06-15T19:58:25 | 2021-06-15T19:58:25 | 377,196,826 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,993 | cpp | /*********************************************************************************\
* _________ _ _ ________ _ _ __ ________ *
* |___ ___|| | | || ______|| | | | / \ | ____ | *
* | | | | | || |______ | |_____| | / /\ \ | |____... | [
"noreply@github.com"
] | TusharCSE35.noreply@github.com |
71b11949e628f4930c0137fa788900a1f76ef47e | f84ac6c6b20ae6962d2ec2bbdf3ce2de67988586 | /src/Background.h | 63d846ccbf38f531692142b0cdfb856166e5f126 | [] | no_license | DomiKoPL/SpaceShooter | af96a5c88add7ba30218d9f511d9871543f79d29 | b4514746fa615b48f6325b9476e19f3f87649e86 | refs/heads/master | 2020-04-23T04:09:01.987314 | 2019-02-15T23:09:14 | 2019-02-15T23:09:14 | 170,900,068 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 524 | h | #pragma once
#include "Drawable.h"
#include "ConstVariables.h"
#include <string>
#include <vector>
class Background
{
#pragma region Variables
private:
std::string texturePath = "Resources/Backgrounds/purple.png";
public:
sf::Texture texture;
std::vector<sf::Sprite> sprites;
#pragma endregion
#pr... | [
"xkowal99@gmail.com"
] | xkowal99@gmail.com |
dd6ff53f3e86e332e8604c0427dbcb9cea5773ca | 180f58389f4ce5662d3b7bd7294d5632af34403a | /Inform7/Scintilla/include/PropSet.h | 488d3bbfeec00f3842f50e3a35fe244640e69fd6 | [
"LicenseRef-scancode-scintilla",
"Artistic-2.0",
"Glulxe"
] | permissive | DavidKinder/Windows-Inform7 | 46780d36f5ef9743d2156d354ce06c834dfbec30 | fb4fad211df51a1c0d94354125111a82c7c94815 | refs/heads/master | 2023-08-17T13:40:44.628516 | 2023-08-16T14:00:13 | 2023-08-16T14:00:13 | 1,011,357 | 65 | 15 | Artistic-2.0 | 2022-10-05T10:30:10 | 2010-10-21T06:05:59 | C++ | UTF-8 | C++ | false | false | 2,585 | h | // Scintilla source code edit control
/** @file PropSet.h
** A Java style properties file module.
**/
// Copyright 1998-2002 by Neil Hodgson <neilh@scintilla.org>
// The License.txt file describes the conditions under which this software may be distributed.
#ifndef PROPSET_H
#define PROPSET_H
#include "SStr... | [
"david.kinder@david.kinder"
] | david.kinder@david.kinder |
a05666808d1c2f41577165aee6264431ec61178a | 27111ac01c69cc60554bf8fdfb1e3808ab930e03 | /lập trình cơ sở/sochansoleif.cpp | 79f545f7cd0600aa38eb6140645d36612879339c | [] | no_license | thanhnguyenphuoc/laptrinhdh | 4826c4cf461d7457005832d5d730e6718855fbee | df9dc1753ca7ae1876eb9ac8717cc8679a09749c | refs/heads/master | 2020-12-12T01:10:24.436881 | 2020-01-15T05:28:01 | 2020-01-15T05:28:01 | 234,004,812 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 197 | cpp | #include<stdio.h>
int main()
{
int a;
printf("nhap vao gia tri a=");scanf("%d",&a);
if(a<0)
printf("ban nhap sai");
else if(a%2==0)
printf("a la so chan");
else
printf("a la so le ");
}
| [
"thanhnguyenphuoc97@gmail.com"
] | thanhnguyenphuoc97@gmail.com |
acdfaedc2736be7566df7d32f60ef1801953c79b | 73c8a3179b944b63b2a798542896e4cdf0937b6e | /Aizu/MagicTiles.cpp | 14f776df79e70ad270aaa4b42f1e055e1b0fa5b9 | [
"Apache-2.0"
] | permissive | aajjbb/contest-files | c151f1ab9b562ca91d2f8f4070cb0aac126a188d | 71de602a798b598b0365c570dd5db539fecf5b8c | refs/heads/master | 2023-07-23T19:34:12.565296 | 2023-07-16T00:57:55 | 2023-07-16T00:57:59 | 52,963,297 | 2 | 4 | null | 2017-08-03T20:12:19 | 2016-03-02T13:05:25 | C++ | UTF-8 | C++ | false | false | 1,344 | cpp | #include <iostream>
#include <vector>
#include <stack>
#include <utility>
#include <string.h>
#include <stdio.h>
using namespace std;
vector<string> maze(101);
int H, W, ei, ej, i, j;
void dfs(int i, int j, vector<string>& maze) {
cout << i << " " << j << endl;
if(maze[i][j] = '.') {
... | [
"jefersonlsiq@gmail.com"
] | jefersonlsiq@gmail.com |
ac79ce063dac6b7f42c59a9ddcffaea0c35a3829 | 5932f628f41e63c5dad1c5253607ab95c8b4e504 | /TXDViewer2/GeoData/SHPFeatureSet.cpp | 926bc3eac81c1896470528f01be46e0dbc7c8697 | [] | no_license | qtxie/SimpleGISViewer | 6b21f1bc472ab1bf89605431c620fa4bc91191d9 | 4d47f2413742e4b7ef49b3d67be9e7857c0bdc64 | refs/heads/master | 2020-05-07T20:37:25.279446 | 2015-12-01T06:54:29 | 2015-12-01T06:54:29 | 12,266,487 | 20 | 9 | null | null | null | null | UTF-8 | C++ | false | false | 792 | cpp | #include "stdafx.h"
#include "ShapefileReader.h"
#include "SHPFeatureSet.h"
SHPFeatureSet::SHPFeatureSet()
{}
SHPFeatureSet::~SHPFeatureSet()
{}
void* SHPFeatureSet::GetData(size_t Idx)
{
UINT i = m_vFeatSelected[Idx];
Feature feat = m_vFeatures[i];
return m_pDataReader->GetData(feat.nAttributeOffset);
}
void* S... | [
"xqtxyz@gmail.com"
] | xqtxyz@gmail.com |
5217064728b9fec43df8ccc3740346f8df795212 | 9c82584f3489d0402a8404765281cabb66834aa2 | /MyFimora/GeneratedFiles/Debug/moc_comboboxdelegate.cpp | 3e106b1deb7b464b88dad89b5432334a311d6613 | [] | no_license | LuckyKingSSS/LuckKing | c8ed189d376326fd5d86418d53af7d0621eb77d8 | 19495d50fac1fc44879d34ba5b4df779d47f2a4b | refs/heads/master | 2021-01-25T09:26:56.121973 | 2017-06-08T08:51:15 | 2017-06-08T08:51:30 | 93,839,764 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,856 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'comboboxdelegate.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.4.0)
**
** WARNING! All changes made in this file will be lost!
**********************************************... | [
"wangbiao@wondershare.cn"
] | wangbiao@wondershare.cn |
1080d104279972f23bf97266e2b9ca0eb1e260fc | 9d952971cc5f7e20bdce5837adad46a5e26f6e60 | /2年次チーム制作/ソースファイル/source/DebugParticle.cpp | 147d6aa3618e45ec8278e47e0a0af2937ac68f31 | [] | no_license | weimingtom/Game_SparklingWaterGun | c4b426b3f874a6b6d3528d0d1a711df0e5bd8f08 | 3fbface15f27f547964edc6c5d794b455ad37ea5 | refs/heads/master | 2021-01-20T10:32:07.167091 | 2016-04-01T15:59:50 | 2016-04-01T15:59:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,047 | cpp | #include "DebugParticle.h"
//#include "BillBoard.h"
#include "EffectResource.h"
LPIEX2DOBJ debug_particle::g_pNumberTexture = nullptr;
void debug_particle::point(CRVector3 pos, CRVector3 move, float size, DWORD color, int liveFrame)
{
//float a, r, g, b;
//COLORtoF(a, r, g, b, color);
//
//iexParticle::Set(
// 0... | [
"kwgcr368@ybb.ne.jp"
] | kwgcr368@ybb.ne.jp |
9058c2578408cd71c0f258307bc160b80e341a8f | 94bd7b59da207c9affb6652fd72164642977f58f | /Session-2/P08-MultiThreading/inputworker.cpp | 10fa963ceb08e1b9a921290452570a02be40c8b0 | [] | no_license | chenleo/learn-qt5 | ac2a300ed65aa23fd28dcac567d83bb99ef30d84 | 0011541d399bf57e592e5460d16c48e324974299 | refs/heads/master | 2020-04-10T15:57:39.107377 | 2018-12-18T10:41:20 | 2018-12-18T10:41:20 | 161,128,371 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 402 | cpp | #include "inputworker.h"
#include <QThread>
#include <QtDebug>
InputWorker::InputWorker(QObject *parent) : QObject(parent),
is(stdin)
{
}
void InputWorker::startWork()
{
qDebug() << "Input worker thread:" << QThread::currentThread();
do {
qDebug() << "Input the size of vector";
QString i... | [
"maverickcc@gmail.com"
] | maverickcc@gmail.com |
e16325e1259cd6aa5f3ee949e82b3e5033700b3c | f2ec773f6dfd5a0d750df3c8041be1e4b86ab622 | /4/src/leastPrivilege_bad.cpp | d83303b9cca84e6ff3eff412cc1b127de7b9f0c2 | [] | no_license | UW-COSC-4010-5010-CYBER-FA-2017/foundational-concepts-in-cybersecurity-jwild1_cbugg | 5436cbfd2b9f81d4d44eff6a8875a50686ddde91 | 133f28880d90d7dd958b96c5017e23e3b74e9f70 | refs/heads/master | 2021-07-23T15:22:07.430440 | 2017-10-30T04:47:43 | 2017-10-30T04:47:43 | 106,434,978 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,551 | cpp | // least_privilege_bad.cpp
// This program allows users to determine the result of adding two integers
// found in the pre-set arrays. It additionally has an admin portal which
// allows full access to each individual value for greater control.
// This is a bad example of least privilege. The application can be run
/... | [
"noreply@github.com"
] | UW-COSC-4010-5010-CYBER-FA-2017.noreply@github.com |
b702d67803e947f2c65d7bde890d9744c65ad798 | 3bb279b544d208187ad24cde358ee385c2cbb1df | /Binary Tree/DiameterOptimized.cpp | 0488a8337a57b60cd091b1fc77699a8cf4671160 | [] | no_license | rakshityadav07/C- | 4a08419426ac2ab5358327bb4e5116e82a943fe3 | 07a277395b8523c67b5891f159f8e889aeb19a90 | refs/heads/master | 2020-09-28T06:32:30.774746 | 2020-03-20T01:10:25 | 2020-03-20T01:10:25 | 226,713,186 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,602 | cpp | // Diameter of tree
// Time complexity=O(n2)
#include <iostream>
#include <queue>
using namespace std;
class node{
public:
int data;
node*left;
node*right;
node(int d){
data = d;
left = NULL;
right = NULL;
}
};
node* buildTree(){
int d;
cin>>d;
if(d==-1){
return NULL;
}
node*root = new node(d);
... | [
"rakshit20141970@gmail.com"
] | rakshit20141970@gmail.com |
62c1fcad8e88e2adec6d0988214a1e2524db94e3 | 0fba517f10d2179a8aa838b9da9b789d4e203598 | /VOJ/BUBBA2_ADV.cpp | 86e37a42e625ba9654b8bde976faf05a878278d0 | [] | no_license | hdi-superuser/Codes | e7923975b4656a09b211710d659cd2ea7859bcbb | 2ca9d777d6ecce59c0ed26e8db83b475b73b192a | refs/heads/master | 2021-01-21T00:36:34.855984 | 2016-06-15T20:27:28 | 2016-06-15T20:27:28 | 61,238,394 | 0 | 0 | null | 2016-06-15T20:22:04 | 2016-06-15T20:22:04 | null | UTF-8 | C++ | false | false | 3,019 | cpp | #include <iostream>
#include <algorithm>
#include <cstdio>
#include <cstdlib>
#include <vector>
#include <cstring>
#include <string>
#include <cmath>
#include <ctime>
#include <utility>
#include <map>
#include <set>
#include <queue>
#include <stack>
#include <sstream>
#define FOR(a,b,c) for (int a=b;a<=c;a++)
#define F... | [
"yenthanh.t7@gmail.com"
] | yenthanh.t7@gmail.com |
0d51a97d833876d5afd6fc764ca5b9433ac2feb3 | 55ecbb30ae5ae34c57f8d44e0fdf7ae2367998b0 | /Jan/1.24/4.4(3).cpp | 1696bd2c8deff692c2edbeae8d3e79f80bba54c7 | [] | no_license | JERRY-OIER/Winter-Holiday | a8519abe11168a2d258b66eeac11dc9ecb19584a | f3aceb73ccd5222e944db030e4f3b8abc76d8281 | refs/heads/master | 2021-01-24T02:05:35.245005 | 2018-03-05T05:32:39 | 2018-03-05T05:32:39 | 122,834,280 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 397 | cpp | #include <cstdio>
#include <iostream>
#include <algorithm>
using namespace std;
int main()
{
int n,i,j,k;
cin>>n;
for(i=1;i<=n;i++)
{
for(j=n-i;j>=0;--j) cout<<" ";
for(k=1;k<=2*i-1;k++) //cout<<k;
printf("%d", k);
cout<<endl;
}
for(i=1;i<=n-1;++i)
{
for(j=1;j<=i+1;++j) cout<<" ";
for(k=1;k<=(n-1-... | [
"jerry_0104@126.com"
] | jerry_0104@126.com |
a50e823674a76542961e2cc6b5c0852655c92e94 | a4e3f58154c349f951066c61db4c2e23ddb095ce | /OpenFoam_Cases/Channel_14124_M2/processor5/3500/omega | eb7f2ec91872e6e8c1402817bde725d2fd361b7a | [] | no_license | dikshant96/Thesis_OF1 | a53d1b01b19e9bf95f4b03fc3787298b8244c1c5 | 2c6ed256347a2e32611a93e117022d9aa1ff3317 | refs/heads/master | 2020-09-11T01:59:25.606585 | 2019-11-15T11:04:11 | 2019-11-15T11:04:11 | 221,902,054 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 42,091 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 7
\\/ M anipulation |
\*-------... | [
"dikshant.sud@gmail.com"
] | dikshant.sud@gmail.com | |
586fbd16748e5e8a03fe57df2e08c5bbe24560c0 | 6a7ddf8350ef4eb4543dc9f0d1c9b535d865d68d | /TestCasesTupleConversions/tst_tupletostruct.cpp | 084998f59a90a532752903000ef560e6ba7e24ce | [
"MIT"
] | permissive | MotorSoftware/TestTupleConversions | e261a9d7008528c30ef0121a7c9f1e16fee49561 | 9c66e1d32890adfd16811bbe4ec5a692f74ce399 | refs/heads/master | 2022-11-21T14:01:25.829398 | 2020-07-31T10:14:45 | 2020-07-31T10:14:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,329 | cpp | #include "tst_tupletostruct.h"
#include "structconversions.h"
void TupleToStruct::testOneElementBracesConstructible() {
struct Struct {
int a;
};
bool constructible
= StructConversions::IsBracesConstructible<
Struct, int
>::value;
QVERIFY(constructible);
... | [
"shnur67@me.com"
] | shnur67@me.com |
d56d403a89f63eeb7a3ad72aafb315480b524834 | bd1fea86d862456a2ec9f56d57f8948456d55ee6 | /000/242/258/CWE762_Mismatched_Memory_Management_Routines__delete_array_struct_malloc_82_goodG2B.cpp | a326b6f1a802e174500e6ecee72dcd0e82aac27b | [] | no_license | CU-0xff/juliet-cpp | d62b8485104d8a9160f29213368324c946f38274 | d8586a217bc94cbcfeeec5d39b12d02e9c6045a2 | refs/heads/master | 2021-03-07T15:44:19.446957 | 2020-03-10T12:45:40 | 2020-03-10T12:45:40 | 246,275,244 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,203 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE762_Mismatched_Memory_Management_Routines__delete_array_struct_malloc_82_goodG2B.cpp
Label Definition File: CWE762_Mismatched_Memory_Management_Routines__delete_array.label.xml
Template File: sources-sinks-82_goodG2B.tmpl.cpp
*/
/*
* @description
* CWE: 762 Mismatched ... | [
"frank@fischer.com.mt"
] | frank@fischer.com.mt |
6bb3a2bcad9523d973d0742c5aec74fe4a041141 | d93b4a9fe4ad7c5e2dcea3a72e72c9520d643f9a | /openMP/montecarlo/main.cpp | 0087198e5299564ac495dbbae3d14e915980a2b9 | [] | no_license | XinyiF/High-Performance-Computing | d44135724e9c73ad26174b989df1b075838d2415 | 61d845f2208f03ed0f488138ef9272a6168a9c55 | refs/heads/master | 2022-07-02T04:07:21.106197 | 2020-05-06T05:47:45 | 2020-05-06T05:47:45 | 246,698,455 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,261 | cpp | #include "montecarlo.h"
#include <algorithm>
#include <chrono>
#include <cmath>
#include <cstddef>
#include <iostream>
#include <omp.h>
#include <ratio>
#include <string>
#include <time.h>
using std::cout;
using std::chrono::duration;
using std::chrono::high_resolution_clock;
using namespace std;
int main(int argc, c... | [
"xfeng82@wisc.edu"
] | xfeng82@wisc.edu |
8d8bc6c4472b015476fc7129f132d7bfa83d1f74 | ffe96ed7772ef56da23cf04798d1579553af4eb9 | /globalSupport.cpp | 0703571ac6c1136545a83a1106a1202a4dccbd11 | [] | no_license | essweinjacob/CompilersP4Global | 9d2752e31e59fae6221901f91481c029f0d0e8a9 | eb1146234fb6158b4b1d7901892774a280aab065 | refs/heads/main | 2023-01-28T12:43:05.845394 | 2020-12-10T18:14:06 | 2020-12-10T18:14:06 | 320,353,067 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,027 | cpp | #include "globalSupport.h"
// This function initializes operator and keyword maps, which will be used for comparison
Semantics::Semantics(string fileName, bool kbInput){
// Initialize Operatior Map
initOpMap();
// Initialize Keyword map
initKeywordMap();
// Add asm file extension
// ... | [
"essweinjacob@gmail.com"
] | essweinjacob@gmail.com |
2ecfca4398e7a54ac706a1ce964867c5e30daf59 | 5b1ce6722541ab64829c6467f79c34b37b22db4b | /Swipe Switch/Classes/Native/mscorlib_System_Comparison_1_gen3542603254.h | 498a34abce19de3884a5f9171c261fef74974bf1 | [] | no_license | KevinGonzales/SwipeSwitch | d1acb92773c70eeecec642e091ec5ef33722692b | 151d5e4573d7014c5cd355348e927634456ec9ab | refs/heads/master | 2021-09-24T12:10:57.970919 | 2018-10-09T19:57:13 | 2018-10-09T19:57:13 | 152,312,773 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 768 | h | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
// System.IAsyncResult
struct IAsyncResult_t537683269;
// System.AsyncCallback
struct AsyncCallback_t1363551830;
// System.Object
struct Il2CppObject;
#include "mscorlib_System_Multi... | [
"KevinGonzalesVargas@gmail.com"
] | KevinGonzalesVargas@gmail.com |
5d2ccda7b6e3c338af747d73db9a69a0baafaed5 | 2003f5c7f68df79e273624a380e15920bb66eb3e | /graph/connected_components.cpp | b000728b63632fcb07b0d4d702d25f9a88a79c3a | [] | no_license | tmittal98/CPP-codes | 0dfbc25d12fba8ba558e862e0725d74578effcd3 | 3a53a684f27dcb366b1a2d7383abf6310f19ef28 | refs/heads/main | 2023-08-30T06:00:05.949617 | 2021-10-29T20:12:27 | 2021-10-29T20:12:27 | 422,682,553 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,353 | cpp | // Program to count Number of connected components in an undirected graph
#include <bits/stdc++.h>
using namespace std;
class Graph{
public:
unordered_map<int,list<int>> adjList;
void addEdge(int x,int y){
adjList[x].push_back(y);
adjList[y].push_back(x);
}
... | [
"tusharmittal429@gmail.com"
] | tusharmittal429@gmail.com |
6e7e892bb324bd7eeaf36d29aad1265489c3fccc | 699603963311ae92c8c4554b537919ce203437f0 | /local_addons/ofxPlayground/src/ofxPlaygroundScene.h | ee11f2af0fc66bdda70a90997441541ee23c978d | [] | no_license | emllnd/wanderers-release | 697301e4f7a4f829cfe25779271acde3200461ea | f8be3ba11ebe5a13d32e36e9ea53f062d34b733b | refs/heads/master | 2022-08-29T22:46:38.012208 | 2020-05-25T08:08:10 | 2020-05-25T08:08:10 | 263,980,928 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 401 | h | #pragma once
#include "ofMain.h"
#include "ofxPlaygroundHelpers.h"
class ofxPlaygroundScene : public ofxPlaygroundHelpers {
public:
virtual void setup() = 0;
virtual void update() = 0;
virtual void draw() = 0;
virtual void drawTarget(glm::vec2 pos) = 0;
virtual ~ofxPlaygrou... | [
"emil@emillindfors.com"
] | emil@emillindfors.com |
3bdd3a2fc84b783cfa17f11293e260cc21552b58 | c6bd99dc5ba159f826f79c90da9ec3b5082f7e70 | /BuildingEscape/Source/BuildingEscape/PositionReport.h | dd424b1eb39dd974d7bdc5d21da926b89b366126 | [] | no_license | joa1rocha/03_BuildingEscape | 3347d479e0a3989c012c8abdb1cd413f30ed4d24 | 9f8aa979829fa02fc182475a5aa2c69f38e8d284 | refs/heads/master | 2020-04-26T06:34:03.099373 | 2019-03-22T22:53:14 | 2019-03-22T22:53:14 | 173,368,594 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 711 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "Components/ActorComponent.h"
#include "GameFramework/Actor.h"
#include "PositionReport.generated.h"
UCLASS( ClassGroup=(Custom), meta=(BlueprintSpawnableComponent) )
class BUILDINGESCAPE_API... | [
"joa1.rocha@gmail.com"
] | joa1.rocha@gmail.com |
69d29ca8c1dfbf01d47b6e50fafcb35390dab55e | 09f50c49816ab87f4e13e53b316ffff4d22d609f | /10404(game thry).cpp | 7206478bea4af586b8c4112176d615e024bfc646 | [] | no_license | abusomani/UVA | 1168cf25b0cf8fe6296c2088d71c35357c15ad87 | f5c54ff051aea53d134cb8aa9e350fbef31ddcd4 | refs/heads/master | 2020-12-31T05:25:27.325907 | 2016-04-30T22:35:00 | 2016-04-30T22:35:00 | 57,436,587 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 925 | cpp | /* here we can subtract and number from n from a given list so will follow botttom up approach i.e. we will start
from 1 if we are at i and if there are no precedor ( n-m[0] or n-m[1] or .. ) at which we can win then this a
loosing position otherwise winning.
*/
#include<iostream>
#include<string.h>
#define M 10000... | [
"ABHISHEK SOMANI"
] | ABHISHEK SOMANI |
11d1356b1d89a5a77893df3b01491a6bdfd34875 | 844969bd953d7300f02172c867725e27b518c08e | /SDK/SDLetter_ExclusionEntitlement_Campaign025_classes.h | c29a487e73950acbe6520d39e8e1c12795ea3e08 | [] | no_license | zanzo420/SoT-Python-Offset-Finder | 70037c37991a2df53fa671e3c8ce12c45fbf75a5 | d881877da08b5c5beaaca140f0ab768223b75d4d | refs/heads/main | 2023-07-18T17:25:01.596284 | 2021-09-09T12:31:51 | 2021-09-09T12:31:51 | 380,604,174 | 0 | 0 | null | 2021-06-26T22:07:04 | 2021-06-26T22:07:03 | null | UTF-8 | C++ | false | false | 894 | h | #pragma once
// Name: SoT, Version: 2.2.1.1
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Classes
//------------------------------------------------------------... | [
"51171051+DougTheDruid@users.noreply.github.com"
] | 51171051+DougTheDruid@users.noreply.github.com |
944617de658873c2715d4434138df44bbcd27b55 | 16232db6d53d44a4b82b97a83ec2845736aa38f1 | /Events/Events.cpp | 2530c5b71ac256239f63e3cab62a3beafe2bc1fb | [] | no_license | MartinGraive/The-After | b09645c9de110f337d1678456ea1f7e55be01eff | d8014ea280822509ceaef4994c6e36ef1ee50230 | refs/heads/master | 2020-04-04T19:44:24.463972 | 2019-02-15T22:44:49 | 2019-02-15T22:44:49 | 156,218,835 | 0 | 0 | null | null | null | null | IBM852 | C++ | false | false | 2,165 | cpp | /*THE AFTER
CommencÚ le 22/10/2018
Youval Vanlaer
Martin Graive
Nicolas de Roux
Malo Le Magueresse
Arnaud Lafargue
Projet de TDLog*/
#include <iostream>
#include "Events.h"
#include "Keyboard.h"
#include "Mouse.h"
#include "../Settings.h"
Events* Events::instance = new Events;
Events::Events()
{
key = new Keyb... | [
"youval@vanlaer.fr"
] | youval@vanlaer.fr |
c0c9793d19dd299852eea56e9531018809a3d44c | 10a572d83155f2e198912746cd5f4474abe6afbe | /include/text.cpp | 3ffcbd61ef1cbb4ee76fc48de783797693807431 | [
"MIT"
] | permissive | vincentlaucsb/resume-generator | 3dfd5499823a912ada56e11557fbf6ea1ffcf496 | 231beaf9f1195e3694fbc0a8c2d1ae3bf26a9a4f | refs/heads/master | 2020-05-26T08:16:44.792385 | 2019-06-29T22:09:06 | 2019-06-29T22:09:06 | 188,163,743 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,006 | cpp | #include "text.h"
#include <regex>
#include "text.h"
namespace resume {
bool is_capital(char ch) {
return ch >= 'A' && ch <= 'Z';
}
std::string lower(std::string_view str) {
std::string ret;
for (char ch : str) {
ret += tolower(ch);
}
return ret;
}
... | [
"vincela9@gmail.com"
] | vincela9@gmail.com |
1448aa7d9bcc56f01fa30f42b6d93c8a07f15b52 | 6fdc23eabcb75c89db11716b3d0dc887ec541197 | /src/test/txvalidationcache_tests.cpp | 9c45c0e53f2b42b8c94687467649104095406185 | [
"MIT"
] | permissive | tenocorpc/tenocoin-core | 941f3044d04649f1cdc471deb9c621bc0701c881 | 356a3ca2dd68680686e6ad158207ff25dae0fb09 | refs/heads/master | 2021-05-09T03:17:41.222652 | 2018-01-27T16:36:16 | 2018-01-27T16:36:16 | 119,182,571 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,063 | cpp | // Copyright (c) 2011-2015 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 "consensus/validation.h"
#include "key.h"
#include "main.h"
#include "miner.h"
#include "pubkey.h"
#include "txmempo... | [
"tranducthanhtb1z@gmail.com"
] | tranducthanhtb1z@gmail.com |
52a6f2dbb460234e92ce88a93e4a71e2071fd700 | 612252bef1d47b5d5bfe2d94e8de0a318db4fc8e | /3.6/MazeJump/Classes/UI/GroundGameUI.cpp | 880b460d5294a13d1e32d4ac80860770c1db35ca | [] | no_license | dingjunyong/MyCocos2dxGame | 78cf0727b85f8d57c7c575e05766c84b9fa726c1 | c8ca9a65cd6f54857fc8f6c445bd6226f2f5409d | refs/heads/master | 2020-06-05T08:32:45.776325 | 2016-10-08T16:09:38 | 2016-10-08T16:09:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,568 | cpp | //
// GroundGameUI.cpp
//
//
//
//
#include "GroundGameUI.h"
#include "GameController.h"
#include "GameConst.h"
#include "UtilityHelper.h"
#include "UIManager.h"
#include "AudioEngine.h"
#include "NativeBridge.h"
#include "ShopPopUpUI.h"
#include "LevelsManager.h"
#include "RegionButton.h"
#include "GroundGiveUpPopUp... | [
"lc513623756@163.com"
] | lc513623756@163.com |
e05ef02d28548ae4ab6e9b0927babfecf814cdcc | 0533875f057d87d5b95792e4735fe36fe0c368ac | /android/ece420_lab4/lab4/app/src/main/cpp/audio_recorder.cpp | 87b8d87a6d4fdea581c05505f9142e72b9631a04 | [] | no_license | evanc577/mask_audio_fingerprint | 08beaa6516125f4dd6407e1302b6d525633444c4 | 6dedbd112488ed65cb97297904289f87052886db | refs/heads/master | 2022-06-19T21:48:12.275893 | 2022-06-01T01:26:29 | 2022-06-01T01:26:29 | 174,776,415 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,652 | cpp | /*
* Copyright 2015 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required b... | [
"evanc577@gmail.com"
] | evanc577@gmail.com |
a3efbfc07c6adf691c24a1247838d2c2613afb80 | 4ed5c1141cd91e17e8cc92b14e396c13ef2584cf | /fibonacii_iterator/main.cpp | f3e5ad0a79acd31f1511c0910be946f234112c6b | [] | no_license | alexeyshmelev/Math_classes | 696df15101680c9cda3579433dbf3cc512c322e9 | d06d6ef69714e81bb6b944e0aeb60c95b3eecdd2 | refs/heads/main | 2023-02-03T09:06:58.860551 | 2020-12-17T13:28:31 | 2020-12-17T13:28:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,314 | cpp | #include <iostream>
using namespace std;
template <int n>
class FibonaciNumber {
private:
int data[n];
public:
FibonaciNumber(){
data[0] = 0;
data[1] = 1;
for (int i = 2; i < n; i++) data[i] = data[i-1] + data[i-2];
}
int* begin(){
return data;
}
int* end(){
int* datax = data + n -1;
return datax;
}
clas... | [
"noreply@github.com"
] | alexeyshmelev.noreply@github.com |
a2feb5ed88b48f2858bab3706c5cce5a16ea0efb | fcdad3968ec62d95dba71f2e8f4495141af6444f | /VisualEffects/Ass1_cs344/main.cpp | 1858e03346786ed781955b0188a305b7386f9565 | [] | no_license | plutoshe/VisualEffects | 0bcce4abbebcbc0621da20cd142428b95e05028a | 311281a6626330a9b3c1377e16ac705ff95d0ac1 | refs/heads/master | 2020-07-15T07:54:53.779014 | 2020-01-25T23:50:22 | 2020-03-17T10:20:41 | 205,516,732 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,820 | cpp | //Udacity HW1 Solution
#include <iostream>
#include "timer.h"
#include "utils.h"
#include <string>
#include <stdio.h>
#include "reference_calc.h"
#include "compare.h"
#include "HW1.h"
void your_rgba_to_greyscale(const uchar4 * const h_rgbaImage,
uchar4 * const d_rgbaImage,
... | [
"plutoshe@gmail.com"
] | plutoshe@gmail.com |
35ebe34d61c0547e6bc04d2d2fba4a15c9cbc786 | 1fa76c7273f1804e43f7405f38f6574272dd9faa | /Src/Qt/TransferServer/mysqlDataManagement/mysqldev.h | 7f471ae8e7452dec41b4b538d56dd95c39a9a05a | [] | no_license | zuozl1992/TransferServer | 153d71f7068f45e39365efdebb29f62f631a4630 | de8eac8bab7f0824f17e38a4d907d53cf76ddf49 | refs/heads/master | 2021-10-07T08:43:31.823855 | 2018-12-04T02:51:00 | 2018-12-04T02:51:00 | 160,276,619 | 1 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 12,639 | h | /*
* ClassName:MySqlDev
* Description:数据库操作类
*
* Author:Albert
* Version:V0.2
* Date:2018.09.21
* Version Description:
* 【2018.09.21】 V0.2
* 1.设置班级注册状态
* 2.修改信息状态校验
* 3.修改用户除学校专业班级外的信息
* 4.管理员注册
* 5.管理员修改密码
* 6.管理员登陆
*... | [
"zuozhulin88@qq.com"
] | zuozhulin88@qq.com |
2759650b5fd26a3a8d68239c975b9f8f5d5bc9bd | 4356845adafd2bbeb11b485965b6103b52a92ec3 | /src/main.cpp | 4c4f01fcc5d9f572b3c4425989493577062d5b1f | [] | no_license | vaginessa/AccessPointPrank | 3d5db3fc55d040e345330d932adc4009fbc3ab31 | 362e6161e3c1fb11c6c0e8da129d8b037af33e6e | refs/heads/master | 2021-05-12T14:38:48.773658 | 2016-12-08T22:01:45 | 2016-12-08T22:01:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 43,995 | cpp | #include <stdio.h>
#include <string.h>
#include <Arduino.h>
#include <ArduinoOTA.h>
#include <ArduinoJson.h>
#include <ESP8266WiFi.h>
#include <ESP8266mDNS.h>
#include <ESPAsyncTCP.h>
#include <ESPAsyncWebServer.h>
#include <EEPROM.h>
#include <FS.h>
#include <Hash.h>
#include <Ticker.h>
#include "DNSServer.h"
exte... | [
"farazbhatti117@gmail.com"
] | farazbhatti117@gmail.com |
64035804d37f4225f61e55cfc4dabb6f5d7f5fca | 3ea34c23f90326359c3c64281680a7ee237ff0f2 | /Data/3809/H | 03995d66a223138b0a8eb76577da907d21a79c11 | [] | no_license | lcnbr/EM | c6b90c02ba08422809e94882917c87ae81b501a2 | aec19cb6e07e6659786e92db0ccbe4f3d0b6c317 | refs/heads/master | 2023-04-28T20:25:40.955518 | 2020-02-16T23:14:07 | 2020-02-16T23:14:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 92,494 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | foam-extend: Open Source Cstd::filesystem::create_directory();FD |
| \\ / O peration | Version: 4... | [
"huberlulu@gmail.com"
] | huberlulu@gmail.com | |
5179eaf37b9925386ce7b28ee59988f92f5ec643 | 6a8c86b00be628f1c757f5d49d5babeadd36b50e | /src/qt/bitcoingui.h | 6f4ebc81c08873c735490177445db554e8c2d8e5 | [
"MIT"
] | permissive | ezaruba/Espers | 16b6dc7278dd69a5f1dfbfc69f246d138d44966c | 532c6bf3d36aa649d183bdc180a3a3850d5b6be1 | refs/heads/master | 2020-03-06T23:52:56.047628 | 2018-02-07T18:16:12 | 2018-02-07T18:16:12 | 127,144,081 | 1 | 0 | MIT | 2018-03-28T13:25:52 | 2018-03-28T13:25:52 | null | UTF-8 | C++ | false | false | 7,173 | h | #ifndef BITCOINGUI_H
#define BITCOINGUI_H
#include <QMainWindow>
#include <QSystemTrayIcon>
#include <stdint.h>
class TransactionTableModel;
class ClientModel;
class WalletModel;
class TransactionView;
class OverviewPage;
class ClientControlPage;
class MessagePage;
class BlockBrowser;
class SiteOnChain;
class Addres... | [
"CryptoCoderz@gmail.com"
] | CryptoCoderz@gmail.com |
65ab4676e8ae2bcfcf7c4ef5d5980a2aaab762eb | b0531b143f11dd74a39d807a48416a6fd00efaf2 | /src/include/baselib/core/UuidIteratorImpl.h | d561a026c9ec58642c2647f5e670849f931e8b4d | [
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | sha-shrestha/swblocks-baselib | 7b0bc5a6ee60926d1702d6097bb5bf554feac5f1 | 3b54c6fb347fc402aca5830a9e81d20dc0e268a9 | refs/heads/master | 2023-01-11T20:57:12.948453 | 2023-01-03T09:20:16 | 2023-01-03T09:20:16 | 150,860,568 | 1 | 0 | Apache-2.0 | 2018-09-29T12:08:33 | 2018-09-29T12:08:33 | null | UTF-8 | C++ | false | false | 3,146 | h | /*
* This file is part of the swblocks-baselib library.
*
* 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 appl... | [
"lazar.i.ivanov@jpmorgan.com"
] | lazar.i.ivanov@jpmorgan.com |
91085a4f582477de99a2513414ec645016714c70 | 600df3590cce1fe49b9a96e9ca5b5242884a2a70 | /third_party/cros_system_api/dbus/cros-disks/dbus-constants.h | c58af384496f61e72a2fea8f598a238b1e83f0ad | [
"BSD-3-Clause",
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0"
] | permissive | metux/chromium-suckless | efd087ba4f4070a6caac5bfbfb0f7a4e2f3c438a | 72a05af97787001756bae2511b7985e61498c965 | refs/heads/orig | 2022-12-04T23:53:58.681218 | 2017-04-30T10:59:06 | 2017-04-30T23:35:58 | 89,884,931 | 5 | 3 | BSD-3-Clause | 2022-11-23T20:52:53 | 2017-05-01T00:09:08 | null | UTF-8 | C++ | false | false | 4,531 | h | // Copyright 2015 The Chromium OS 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 SYSTEM_API_DBUS_CROS_DISKS_DBUS_CONSTANTS_H_
#define SYSTEM_API_DBUS_CROS_DISKS_DBUS_CONSTANTS_H_
namespace cros_disks {
const char kCrosDisks... | [
"enrico.weigelt@gr13.net"
] | enrico.weigelt@gr13.net |
6432cb551e32c4ee9e71c919b929630994d08018 | e39b3fad5b4ee23f926509a7e5fc50e84d9ebdc8 | /AtCoder/ARC/081-090/088/d.cpp | 6bb7a7d0bb051f0f5f320d641b91c3f3e8a159d7 | [] | no_license | izumo27/competitive-programming | f755690399c5ad1c58d3db854a0fa21eb8e5f775 | e721fc5ede036ec5456da9a394648233b7bfd0b7 | refs/heads/master | 2021-06-03T05:59:58.460986 | 2021-05-08T14:39:58 | 2021-05-08T14:39:58 | 123,675,037 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 983 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
typedef vector<int> vi;
typedef vector<ll> vl;
typedef pair<int, int> pii;
typedef pair<ll, ll> pll;
#define REP(i, n) for(int i=0; i<(n); ++i)
#define FOR(i, a, b) for(int i=(a); i<(b); ++i)
#define FORR(i, a, b) for... | [
"22386882+izumo27@users.noreply.github.com"
] | 22386882+izumo27@users.noreply.github.com |
043307bd468c9c7b867201d7b4ac56f646baadc5 | 216887959906d2e6e3053514e5b9731b4f70cba7 | /ADVobfuscator/ObfuscatedCallWithPredicate.h | f98dcdc8bddd3868725cb726977137b30cde0cde | [
"BSD-3-Clause"
] | permissive | hotelzululima/ADVobfuscator | 1e2c560c0539b139a0b23de7a9067cd66d248196 | 33a4caf1b0fbceb7a50d115edf5c81f316651247 | refs/heads/master | 2021-01-15T08:43:01.938930 | 2014-10-16T17:42:05 | 2014-10-16T17:42:05 | 25,332,621 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 8,150 | h | //
// ObfuscatedCallWithPredicate.h
// ADVobfuscator
//
// Copyright (c) 2010-2014, Sebastien Andrivet
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
//
// 1. Redistributions of source code mu... | [
"sebastien@andrivet.com"
] | sebastien@andrivet.com |
54f1f9d3bdb2a3203dfd8a207424f6bb602a2e0d | 80c555f6abee0c83338f85767d42fddab5a94c2a | /GrpProject/IntroState.cpp | 1717e648365ddc34148f84de3f78ab53c3f53e1b | [] | no_license | Zaquan1/GRP-Project-Nutrition | 1930a173d50a6d30b39ae5f09e2677580987d898 | b45e2791c3bf77730b9f5e0a7fdd0c25cd3b440e | refs/heads/master | 2021-01-21T10:55:05.550715 | 2017-04-20T06:55:32 | 2017-04-20T06:55:32 | 83,502,563 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,899 | cpp | #include "IntroState.h"
#include "PlayState.h"
#include "AddState.h"
#include "StateMachine.h"
#include <SFML/Graphics/RenderWindow.hpp>
#include <SFML/Window/Event.hpp>
#include <iostream>
#include <memory>
IntroState::IntroState(StateMachine& machine, sf::RenderWindow& window, bool replace)
: State{ machine, win... | [
"amirulzaquan@yahoo.com"
] | amirulzaquan@yahoo.com |
01a4dea6c736e780393a37d2ff2289b0bf030b24 | 687b2858d3ed5ea6e8e3beee60a412f249b1f30e | /chromecast/browser/android/cast_content_window_android.cc | a82992d62706844c6a93e3062c8facc1b1686821 | [
"BSD-3-Clause"
] | permissive | JoKaWare/chromium | 058baa01702fa3462f166cbd5d15795a08e76fbb | 936c16d92cb3caf815cd31fa455576aac2bece75 | refs/heads/master | 2023-01-16T10:54:14.597984 | 2017-02-10T20:20:30 | 2017-02-10T20:20:30 | 39,988,275 | 1 | 0 | null | 2015-07-31T05:27:21 | 2015-07-31T05:27:19 | null | UTF-8 | C++ | false | false | 4,745 | cc | // Copyright 2016 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 "chromecast/browser/android/cast_content_window_android.h"
#include "base/android/jni_android.h"
#include "base/android/scoped_java_ref.h"
#incl... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
72eb13ae8316698a72db5317a4a4ab475491367c | f7805f275fbfe2ce9c55c01627701ec181e90294 | /webbrowser2.cpp | baa9dbbe7d60216b80e21870dcd5f028735c14d0 | [
"BSD-2-Clause"
] | permissive | assarbad/agreementgina2 | 0c46763a33c3dc905ec0d30a9d667faca583e44e | 70cd2f676018108efe923387de7acf5b882f3d13 | refs/heads/master | 2023-03-02T00:28:48.881461 | 2013-02-07T22:16:16 | 2013-02-07T22:16:16 | 338,905,564 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,828 | cpp | /******************************************************************************
******************************************************************************
*** ***
*** Customized implementation of IWebBrowser2. It allows to load HTML *... | [
"oliver@assarbad.net"
] | oliver@assarbad.net |
4c4c518b74dc0be502009067e2bb530f18e0e8c9 | d3cbb579c40c3925514235fcc18288dd950f20c9 | /atlas.cxx | 278f25b3119ef1ab303c9c61eeef23387c7f5382 | [] | no_license | kapspi/fidl | 331e3221423218bfc2a9b4584a18af1edcb8b0bc | 1758414ab58ac2cb6d6fc9943a4d65c9451d0689 | refs/heads/master | 2021-01-20T04:08:55.218827 | 2018-06-26T21:24:16 | 2018-06-26T21:24:16 | 89,645,512 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,023 | cxx | /* Copyright 3/15/18 Washington University. All Rights Reserved.
atlas.cxx $Revision: 1.1 $*/
#include <iostream>
#include "atlas.h"
using namespace std;
void getxyz(int index,int xdim,int ydim,float *xyz){
//slice,col_row,row,col must be integers
int area=xdim*ydim;
int slice =index/area;
int col... | [
"noreply@github.com"
] | kapspi.noreply@github.com |
e65dc719a1b40a3d7de4094297b5d371164f3e79 | 786de89be635eb21295070a6a3452f3a7fe6712c | /H5DataTypes/tags/V00-05-13/src/BldDataEBeamV5.cpp | af25b54ed37d6d6beee331868e9b84051525c471 | [] | no_license | connectthefuture/psdmrepo | 85267cfe8d54564f99e17035efe931077c8f7a37 | f32870a987a7493e7bf0f0a5c1712a5a030ef199 | refs/heads/master | 2021-01-13T03:26:35.494026 | 2015-09-03T22:22:11 | 2015-09-03T22:22:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,714 | cpp | //--------------------------------------------------------------------------
// File and Version Information:
// $Id$
//
// Description:
// Class BldDataEBeamV5...
//
// Author List:
// Andrei Salnikov
//
//------------------------------------------------------------------------
//-----------------------
// This... | [
"davidsch@SLAC.STANFORD.EDU@b967ad99-d558-0410-b138-e0f6c56caec7"
] | davidsch@SLAC.STANFORD.EDU@b967ad99-d558-0410-b138-e0f6c56caec7 |
86d159353d39bde9969094bd3483bfc0cd37a898 | 8e447b74edd14714e53c52660f581aad96d6c5d9 | /12_bulk_server/include/asio_bulk_session.h | 2d474aa5c037688c05e43f1cc54feb8b5f2b1ffd | [] | no_license | adv-dev-22/otus_cpp_hw | e1d2f980647ea6d0a017e40b5a4984cf4a7b914c | 287ff79b1b4e59bdb0c6ce5dc8a34fc97e642f80 | refs/heads/master | 2020-12-03T07:42:28.381437 | 2020-11-08T20:08:34 | 2020-11-08T20:08:34 | 231,243,205 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 599 | h | #pragma once
#include <memory>
#include <string>
#include <boost/asio.hpp>
#include "asio_bulk_redirector.h"
using boost::asio::ip::tcp;
namespace asio_bulk_12
{
std::string get_ip_port_id(tcp::socket);
class Session : public std::enable_shared_from_this<Session>
{
public:
Session(tcp::socket socket, Redirecto... | [
"a2nced.c0mputin9.lms.17551@yandex.ru"
] | a2nced.c0mputin9.lms.17551@yandex.ru |
7dd12018c8a91cc254d2b44881519f9ef9fa02a1 | 9ef6ee6a88e4a592199d60deb4804119fc83b24d | /Lections/third_sem/15_12_2016/a.cpp | 90051c913ef65edeb9668cb64f19566e818a11c9 | [] | no_license | nikitaevg/cpp-course | e88737e2801dceb054b5cb133fe1c89ed2b43f68 | 45f69cca01b83158fd6a13725db98849f7319031 | refs/heads/master | 2020-04-12T01:43:51.712445 | 2017-05-20T11:46:19 | 2017-05-20T11:46:19 | 54,258,697 | 0 | 4 | null | 2017-05-05T15:13:03 | 2016-03-19T09:47:59 | C++ | UTF-8 | C++ | false | false | 5,498 | cpp | Multithreading
До многоядерных процессоров
ускорение выполнения программ
out-of-order execution
SIMD
Многопоточность была и раньше и реализовалась с помощью прерываний
Можно также несколько компьютеров использовать с одной расшареной памятью,
или без шареной памяти (concurrent и distributed соответственно)
Программа ... | [
"vorobyev.nikita@gmail.com"
] | vorobyev.nikita@gmail.com |
3c9165d48d2e1598ab09c0c498c60be672b4f147 | e624af9b414a0eac770b1f82976a248be102744a | /src/main.cpp | 57b449eaeb87273c87a00f8359ac4ad7a3c46fe8 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | psaikko/AbHS | 174be79ba3f6795768346ba73a7dc9e61a40cf9e | 883470bc2939cfbac5c70f640da2c96b6f3066b3 | refs/heads/master | 2021-01-22T10:36:08.307544 | 2017-01-26T10:02:04 | 2017-01-26T10:02:04 | 51,433,833 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 964 | cpp | #include "AbHS.h"
#include "Util.h"
#include <stdlib.h>
#include <signal.h>
#include <stdio.h>
#include <iostream>
#include <fstream>
#include <sstream>
#include <string>
#include <iomanip>
#include <unordered_set>
using namespace std;
AbHS * solver;
void stop(int) {
printf("s UNKNOWN\n");
fflush(stdout);
_Exi... | [
"psaikko@cs.helsinki.fi"
] | psaikko@cs.helsinki.fi |
38ad1416c84e1298931447430ea28a2be6a23f67 | cccfb7be281ca89f8682c144eac0d5d5559b2deb | /ui/color/native_color_mixers.h | a502b60d9e5086481e0eb5e0327af3542e84151b | [
"BSD-3-Clause"
] | permissive | SREERAGI18/chromium | 172b23d07568a4e3873983bf49b37adc92453dd0 | fd8a8914ca0183f0add65ae55f04e287543c7d4a | refs/heads/master | 2023-08-27T17:45:48.928019 | 2021-11-11T22:24:28 | 2021-11-11T22:24:28 | 428,659,250 | 1 | 0 | BSD-3-Clause | 2021-11-16T13:08:14 | 2021-11-16T13:08:14 | null | UTF-8 | C++ | false | false | 1,056 | h | // Copyright 2021 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 UI_COLOR_NATIVE_COLOR_MIXERS_H_
#define UI_COLOR_NATIVE_COLOR_MIXERS_H_
namespace ui {
class ColorProvider;
// Adds a color mixer to |provider|... | [
"chromium-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | chromium-scoped@luci-project-accounts.iam.gserviceaccount.com |
9947079a4774e1d7218ac42c6ebaa4904f2a6beb | 8b7fdf5100ebd616eb5ac9f2b14d1c8d6c4c0d8e | /frameworks/core/components/test/json/json_frontend.cpp | 243259e622b3ccad83ad1c0d6bd4600e0e907fdd | [
"Apache-2.0"
] | permissive | openharmony-sig-ci/ace_ace_engine | 13f2728bce323b67ac94a34d2e9c0a941227c402 | 05ebe2d6d2674777f5dc64fd735088dcf1a42cd9 | refs/heads/master | 2023-07-25T02:26:10.854405 | 2021-09-10T01:48:59 | 2021-09-10T01:48:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,146 | cpp | /*
* Copyright (c) 2021 Huawei Device Co., Ltd.
* 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 ... | [
"mamingshuai1@huawei.com"
] | mamingshuai1@huawei.com |
28dbd7afc3d2227af6e93e9aef1735c8bab0b919 | 08948ee7b7239bfc09b274082f52db4f832433cb | /src/Platform/SDL/Context.h | 2ed999c6021a646a0c88aa85e5f8a7eabbc2c63d | [
"MIT"
] | permissive | Tobaloidee/rainbow | 4d738953403c40046055409ea6df722456bfd050 | 7bbac9405ae9e519c6496f2a5fa957a073cce563 | refs/heads/master | 2020-05-02T16:51:13.265175 | 2019-03-27T22:09:40 | 2019-03-27T22:09:40 | 178,011,578 | 0 | 0 | MIT | 2019-03-27T14:29:51 | 2019-03-27T14:29:51 | null | UTF-8 | C++ | false | false | 1,304 | h | // Copyright (c) 2010-present Bifrost Entertainment AS and Tommy Nguyen
// Distributed under the MIT License.
// (See accompanying file LICENSE or copy at http://opensource.org/licenses/MIT)
#ifndef PLATFORM_SDL_CONTEXT_H_
#define PLATFORM_SDL_CONTEXT_H_
#include <SDL_config.h> // Ensure we include the correct SDL_c... | [
"tn0502@gmail.com"
] | tn0502@gmail.com |
31bfcafea44a5021d352c12d72ba0c75b518355b | 899ba25c572335468a7d9196bba662cf706d95d1 | /dance/new_uContoller/main/main.ino | 2f91c41778a293119d3a9b86983af3d8eff8dc74 | [] | no_license | eHuisse/DancerV2 | fd28ec231d7803fa45afd86e1673d093e3a520ff | 4c5e81d88998d2efaf34c2686046f6701ca95f84 | refs/heads/master | 2021-04-11T01:38:44.987755 | 2020-05-06T13:35:33 | 2020-05-06T13:35:33 | 248,983,128 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,694 | ino | #include "linear_stepper.h"
#include "robot.h"
#include "motion_control.h"
#include <Tic.h>
#include <DebounceInput.h>
#define ADDR_STEPPER_X 12
#define CURRENT_STEPPER_X 400
#define ADDR_STEPPER_Y 11
#define CURRENT_STEPPER_Y 400
#define ADDR_STEPPER_T 10
#define CURRENT_STEPPER_T 400
#define ADDR_STEPPER_DF 9
#de... | [
"huisse.edouard@wanadoo.fr"
] | huisse.edouard@wanadoo.fr |
b9e2824c689a223df4e683485bb8edb6b1d9e210 | 72024de995ca98c37abf119bb5f8621fbe22ca46 | /CodeForces/116A/7697696_AC_60ms_4kB.cpp | e92d5973d9585d9d393c3099e2c4ebf9e07f8250 | [] | no_license | aoeasif/ProblemSolving | 36df1a09cc4add0d2c53e0b4fcc2348e16625797 | 216719aac2860a6370138a54a21c625aa8e4daff | refs/heads/master | 2020-04-18T03:54:00.950914 | 2019-01-23T16:47:28 | 2019-01-23T16:47:28 | 167,218,055 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 278 | cpp | #include <iostream>
#include <cstdio>
using namespace std;
int main() {
int n, a, b, sum = 0, mx = 0;
scanf("%d", &n);
while(n--) {
scanf("%d %d", &a, &b);
sum = (sum-a) + b;
if(sum > mx) mx = sum;
}
printf("%d\n", mx);
return 0;
}
| [
"aoeasif@gmail.com"
] | aoeasif@gmail.com |
694cfdfd263c8060a0808d4be452937d2d2fd849 | aca4214cbe2c766dd32c1ad659b38e6fb956ded4 | /components/sync/driver/sync_service_base.cc | e9b97537b5e6d46e076c2c89863fbec805b33053 | [
"BSD-3-Clause"
] | permissive | weiliangc/chromium | 5b04562d1c3ae93d4ab56872fcb728e74129bbb7 | 357396ffe3cc7ace113783f25e088d08e615b08b | refs/heads/master | 2022-11-18T01:01:44.411877 | 2016-12-19T18:39:38 | 2016-12-19T18:42:00 | 71,932,761 | 1 | 0 | null | 2016-10-25T19:44:10 | 2016-10-25T19:44:10 | null | UTF-8 | C++ | false | false | 6,208 | cc | // Copyright 2016 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 "components/sync/driver/sync_service_base.h"
#include <utility>
#include "base/bind.h"
#include "base/bind_helpers.h"
#include "base/command_li... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
37feda758cbad715c17a6b5434e81a562e736c3b | 4c0572f4e0ff0d4b0131e130bb93f1c39e1fba82 | /example/source/vendor/docopt/docopt_private.hpp | a1e9eb1ddf0332dfffc204b92d7197c2e42474e4 | [
"MIT",
"BSL-1.0"
] | permissive | thewizardplusplus/wizard-parser | fade268d0a67b2cb384865c77ceca92b4c4209c3 | a2aafcc087e6f5b96afee636831a0c6d67836218 | refs/heads/master | 2020-12-25T18:19:54.209966 | 2019-06-26T01:20:30 | 2019-06-26T01:20:30 | 83,001,303 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,134 | hpp | //
// docopt_private.hpp
// docopt
//
// Created by Jared Grubb on 2013-11-04.
// Copyright (c) 2013 Jared Grubb. All rights reserved.
//
#ifndef docopt_docopt_private_hpp
#define docopt_docopt_private_hpp
#include <vector>
#include <memory>
#include <unordered_set>
#include <assert.h>
// Workaround GCC 4.8 not ... | [
"thewizardplusplus@yandex.ru"
] | thewizardplusplus@yandex.ru |
994eb2b1d4d22bdcae80c2b91e4559e441430ff6 | a0ff59cfe41c55e047399b8adb3e4536d4abfc57 | /src/quiz/ransac/ransac2d.cpp | 6f80228507dd0f2f28244d94e2a05da6c2197502 | [
"MIT"
] | permissive | Suraj0712/SFND_1_Lidar_Obstacle_Detection | c39c0a8a52ca02b584f43051718af6362cc97939 | 40801fa47bbe2a8b735f5d93f0e698a046066d9f | refs/heads/master | 2022-10-25T18:13:44.469894 | 2020-06-17T08:07:56 | 2020-06-17T08:07:56 | 268,702,673 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,300 | cpp | /* \author Aaron Brown */
// Quiz on implementing simple RANSAC line fitting
#include "../../render/render.h"
#include <unordered_set>
#include "../../processPointClouds.h"
// using templates for processPointClouds so also include .cpp to help linker
#include "../../processPointClouds.cpp"
pcl::PointCloud<pcl::PointX... | [
"sssapkal@wpi.edu"
] | sssapkal@wpi.edu |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.