blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 7 100 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 260
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 11.4k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 17
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 80
values | src_encoding stringclasses 28
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 8 9.86M | extension stringclasses 52
values | content stringlengths 8 9.86M | authors listlengths 1 1 | author stringlengths 0 119 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3e1d423a065171e1c2f30f5158c52c106dfa604d | 07e5e3fa89650cf77fe6ca279e8bea11d4a5e227 | /include/score.hpp | 225b72a5f56228f4c5cc74a96c5e0d29d6e4a84e | [] | no_license | jesyspa/4DGo | 812551684ea300604fba83a7c7a0cde25fcdebda | ead53397ac22d92e3b34f25b271179c1ac214153 | refs/heads/master | 2020-05-21T11:41:04.498798 | 2011-04-20T18:32:10 | 2011-04-20T18:32:10 | 1,462,530 | 7 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 205 | hpp | #ifndef FDGO_INCLUDE_SCORE_HPP
#define FDGO_INCLUDE_SCORE_HPP
namespace fdgo {
struct Score {
Score() : black(0), white(0), komi(0.5) {}
unsigned int black, white;
double komi;
};
}
#endif // Guard
| [
"kdesevis@gmail.com"
] | kdesevis@gmail.com |
c197b869da4b0bc600c986df0b498c47f2c8cd4d | b4f1df8e273ba40f90ac96fdf30c6ec336942aad | /nodeevents.hpp | 3543667ea611b1aec77a317d5742c955d3753eee | [] | no_license | jastadj/stag | 471d8064052329d3455abdd264aca9a79c2f62f6 | eb175df0d797940cd097730af5f28617768560bf | refs/heads/master | 2021-07-18T03:32:46.246484 | 2017-10-26T21:28:19 | 2017-10-26T21:28:19 | 104,498,796 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 298 | hpp | #ifndef _H_NODE_EVENTS
#define _H_NODE_EVENTS
#include "node.hpp"
class NodeEvent: public NodeExecutable
{
private:
public:
NodeEvent();
~NodeEvent();
};
class NodeEventStart: public NodeEvent
{
private:
public:
NodeEventStart();
~NodeEventStart();
};
#endif // NODE_EVENTS
| [
"jastadj@gmail.com"
] | jastadj@gmail.com |
8a9b3eb0e9680f2507c3a296c1b6a79708bdeaf5 | 6d9b1a3f3f46e3767ccaf972b925b4a9cc4862cd | /aa/m3.cpp | 7a03aef44ae8a9172cfe39c547d8ad5614d424f5 | [] | no_license | cool1314520dog/ACM | 011b78a7f3be9b458963ff0539582e08294c6523 | 554f20e834a39ab5a100e0b818f33547127ddc3c | refs/heads/master | 2021-01-25T08:54:41.347832 | 2013-08-25T09:03:19 | 2013-08-25T09:03:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,279 | cpp | #include<fstream>
#include<iostream>
#include"filec.h"
using namespace std;
file_op::file_op(string file_name) {
file_path = file_name;
off_set = 0;
details = "";
}
void file_op::back_to_beg() {
off_set = 0;
}
bool file_op::read_file() {
fstream f;
f.open(file_path.c_str(), ios::in);
if(... | [
"cooldog@cooldog-SVE14A16ECB.(none)"
] | cooldog@cooldog-SVE14A16ECB.(none) |
a9dc88612a2eefa26c5742d11bc0386ba4512e25 | 43dac644f15d2b05b7de36d16cefeb5638c4cf09 | /Server/GameServer/GameServer.h | 2623a23111ba07649d8ac7905b71e5a417af0166 | [
"MIT"
] | permissive | 724789975/FxLib | 2925470bd6ddad1025417a71b078b3e3299fd59c | 46e5af788d10a411a667b4b61fb3b88fe030b585 | refs/heads/master | 2022-07-09T23:33:22.297506 | 2022-06-29T19:36:11 | 2022-06-29T19:36:11 | 56,384,463 | 37 | 13 | MIT | 2017-12-19T04:11:42 | 2016-04-16T13:16:43 | C | UTF-8 | C++ | false | false | 397 | h | #ifndef __GameServer_H__
#define __GameServer_H__
#include <vector>
#include "singleton.h"
#include "ChatSession.h"
class GameServer : public TSingleton<GameServer>
{
public:
GameServer();
virtual ~GameServer();
//ChatSession& GetChatSession() { return m_oChatSession; }
private:
//ChatSession m_oChatSession;
... | [
"724789975@qq.com"
] | 724789975@qq.com |
9772a0265d5552419220fb908369ce7d73f74611 | 615f8ab10a05daa842e17dd7aac2351df4e292a7 | /CGMF-Version-1.0.7.2/src/cgmFF.cpp | 1e4c1fd1532557bb163213cab031fda0d600235c | [] | no_license | austinlc/YATKE | ebd3b923539f94e56cc28a1885890c0f727ec774 | a82cb9022e6f69b56aef35abeebc21dfd15c3b8c | refs/heads/master | 2020-12-02T19:37:10.589587 | 2017-08-03T22:43:05 | 2017-08-03T22:43:05 | 96,365,573 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,901 | cpp | /*
* cgmFF.cpp
* cgm
*
* Created by Ionel Stetcu on 11/4/11.
* Copyright 2011 __MyCompanyName__. All rights reserved.
*
*
* USAGE:
*
* time mpirun -np $NSLOTS ./mpiCGMF -s 1 -m -o 4 -n 128
*
* np: number of processors
* n: number of fission events per processor
*
*/
#include "resultsMC.h"
//#... | [
"austinlc@umich.edu"
] | austinlc@umich.edu |
dadb9e96010a3568acd39f5a2a71516850c26653 | 4ebca3da4bbf909d27fe2051695ab2e011b81927 | /CCLayerMultiplex/Classes/HelloWorldScene.h | 1a566cbf8ad4ae59192631bb1b77a393bebffdfa | [] | no_license | 980538137/cocos2dx-demo | 7218bbe82d2fe645554cfe65085589917454872f | 51a32b08218bbaf61deafd1c595b976857d1a4d1 | refs/heads/master | 2021-01-17T17:07:20.495360 | 2014-01-02T14:38:10 | 2014-01-02T14:38:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 834 | h | #ifndef __HELLOWORLD_SCENE_H__
#define __HELLOWORLD_SCENE_H__
#include "cocos2d.h"
#include "CLayer1.h"
#include "CLayer2.h"
#include "CLayer3.h"
class HelloWorld : public cocos2d::CCLayer
{
public:
HelloWorld(void);
~HelloWorld(void);
CREATE_FUNC(HelloWorld);
// Here's a difference. Method 'init' in cocos2d-x... | [
"980538137@qq.com"
] | 980538137@qq.com |
24698759689fdf78ff0dd2296d1a6aef0468d29c | b7f3edb5b7c62174bed808079c3b21fb9ea51d52 | /chrome/browser/extensions/extension_action_storage_manager.h | 6009a9d3d087918a428adf5920f9e970cf59bcae | [
"BSD-3-Clause"
] | permissive | otcshare/chromium-src | 26a7372773b53b236784c51677c566dc0ad839e4 | 64bee65c921db7e78e25d08f1e98da2668b57be5 | refs/heads/webml | 2023-03-21T03:20:15.377034 | 2020-11-16T01:40:14 | 2020-11-16T01:40:14 | 209,262,645 | 18 | 21 | BSD-3-Clause | 2023-03-23T06:20:07 | 2019-09-18T08:52:07 | null | UTF-8 | C++ | false | false | 2,408 | h | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_ACTION_STORAGE_MANAGER_H_
#define CHROME_BROWSER_EXTENSIONS_EXTENSION_ACTION_STORAGE_MANAGER_H_
#include <str... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
1caf0f4533e8ec18c500f29630ffeb8fe5d57236 | 54b413a0789fcfd7feb61d6cc307ee78856953a5 | /HXSpy/stdafx.cpp | dba43ef0b52e72128f496897e0d3e64d873797f2 | [] | no_license | liumorgan/HXHookStudio | 1b8ec80814cf3c58dc3d4911bc2c51b818198dca | 134fbba1b1b037f9fcb03e583437daddd8fad3ad | refs/heads/master | 2023-06-06T03:33:32.107088 | 2021-06-18T03:01:45 | 2021-06-18T03:01:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 196 | cpp | // stdafx.cpp : source file that includes just the standard includes
// HXSpy.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
| [
"2810688370@qq.com"
] | 2810688370@qq.com |
6e986291f06a6b8780f389db086221bcbc4dafd1 | f5a2f1ecad9d03865587566f7ffa0f8ce94ac50b | /caffe2/operators/reshape_op_gpu_test.cc | 3537ab69d058f03a7a4da06b63038f2ea0a67ffa | [
"BSD-3-Clause",
"LicenseRef-scancode-generic-cla",
"Apache-2.0",
"BSD-2-Clause"
] | permissive | prudvinit/pytorch | 10f82e9220b5005f1ba807c1954eee15c998c463 | 76ab26cc3eff1d7ba822d8db93723f5c9598eead | refs/heads/master | 2020-03-29T13:25:15.298962 | 2018-09-23T04:47:59 | 2018-09-23T04:54:55 | 149,958,168 | 0 | 1 | null | 2018-09-23T07:40:20 | 2018-09-23T07:40:19 | null | UTF-8 | C++ | false | false | 1,455 | cc | #include <iostream>
#include <gtest/gtest.h>
#include "caffe2/core/context.h"
#include "caffe2/core/context_gpu.h"
#include "caffe2/core/flags.h"
#include "caffe2/operators/reshape_op.h"
#include "caffe2/utils/math.h"
CAFFE2_DECLARE_string(caffe_test_root);
namespace caffe2 {
static void AddConstInput(
const ve... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
84e648a420b207d3209fafd546738500690db8d9 | 5ecc608680acf2a4faccc328f096de071da16293 | /CompisiteDesignPattern/RootNode.cpp | ace28b2019e5937cafc49b605c1c969bcd23200b | [] | no_license | metaliuyong/LearnDesignPatterns | 34240a04ecd62ba76f7d0a0ad2cf952b1a62aebf | ff25792d4168def27a4a4392aedac89d0d942810 | refs/heads/master | 2023-02-28T21:00:28.399646 | 2021-02-09T13:52:58 | 2021-02-09T13:52:58 | 337,407,961 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 447 | cpp | //
// Created by 刘勇 on 2021/2/2.
//
#include "RootNode.h"
#include <iostream>
void RootNode::printInform() {
std::cout << "I am a Root Node." << std::endl;
for(Node* pChildNode : childNodes){
pChildNode->printInform();
}
}
void RootNode::addChildNode(Node* childNode){
childNodes.push_back(chi... | [
"metaliuyong@gmail.com"
] | metaliuyong@gmail.com |
974a9022aeb3b5ce95a28e4dc8b9ec7fc577b15e | a689462b89be7da525a7761a573695360a7f2c4c | /curso_prog_professional/P5/A/A.cpp | 31168a70c436415c02f6621767a165dcd187335d | [] | no_license | renanmach/competitive_coding | 6a27e8abac2602e3268b838f7fe17421ffb7aa4f | 48a7498581fbcbcd9763736f66951cdd0dbb05d6 | refs/heads/master | 2020-04-17T11:22:08.263346 | 2018-05-01T23:41:07 | 2018-05-01T23:41:07 | 67,151,508 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 781 | cpp | #include <stdio.h>
#include <iostream>
#include <cstdlib>
#include <cstring>
#include <string>
#define MAXN 1009
using namespace std;
int inline max(int x, int y) {
return x >= y ? x : y;
}
string a;
string b;
int n,m;
int dp[MAXN][MAXN];
int score(int x, int y) {
if(a[x] == b[y]) return 1;
return -1000000;
}
... | [
"renangomespereira@gmail.com"
] | renangomespereira@gmail.com |
630b73e9e08b58bcba5bc13895c3b149f8822573 | 52d2ebd1ddda728cf1bdb311109095edbc911d1f | /Graphics/Shader.cpp | 23eb4b882881162ff576f58280460650fc4f508d | [] | no_license | lazykobolds/cubesource | c46e5a6ac9bcadcb81f11532bce4617cb96c4b49 | d27efe9962622c0596249ead4c90d68f3afcb026 | refs/heads/master | 2020-04-18T04:47:10.595279 | 2016-09-11T02:44:24 | 2016-09-11T02:44:24 | 67,906,305 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 769 | cpp | #include "Shader.h"
#include <stdio.h>
LPD3DXEFFECT LoadEffect( const char * filename, LPDIRECT3DDEVICE9 d3ddev )
{
LPD3DXEFFECT effect = 0;
HRESULT hr;
LPD3DXBUFFER buffer_errors = NULL;
hr = D3DXCreateEffectFromFile( d3ddev,
filename,
NULL,
NULL,
0,
NULL,
... | [
"daniel.souza@navy.mil"
] | daniel.souza@navy.mil |
01b0ca7c9936a64a40e3b18d7b9ebe7b7691c552 | e6677d0e6deba1821ed6ae8449bc76cb7096348a | /editproduct.cpp | 9934b60fb7614a9eeeb17433ea6610f1535e48ee | [] | no_license | nguloan/Project_ctdl-gt | 5d95fb42b5ded9d89dc205dc498b84d3fe825963 | e2036567654ecdb409f477aee5cc138301e19318 | refs/heads/master | 2022-11-06T17:05:01.466732 | 2020-06-19T14:53:16 | 2020-06-19T14:53:16 | 254,835,636 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,621 | cpp | #include "editproduct.h"
#include "ui_editproduct.h"
EditProduct::EditProduct(std::string str,QWidget *parent) :
QDialog(parent),
ui(new Ui::EditProduct)
{
QWidget* background = new QWidget(this);
background->setStyleSheet("background-color:#F4F6F7;");
background->setGeometry(QRect(0,0... | [
"noreply@github.com"
] | noreply@github.com |
e12d180675d8cf19148ecf9dac014402f09538ed | 928aeb62a6f50ff651407fac814b3446ec1957b1 | /src/qt/sendcoinsentry.cpp | de84638293ba9625002f0c607114c074b5b9e787 | [
"MIT"
] | permissive | corefork/astrocoincore | d2218b8b8968a6bf96497468e6fb10d77ec1c466 | 4a297ade044312e0a6b231264ce26f68280065a7 | refs/heads/master | 2021-01-10T20:59:45.000725 | 2014-07-03T05:04:55 | 2014-07-03T05:04:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,856 | cpp | // Copyright (c) 2011-2013 The AstroCoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "sendcoinsentry.h"
#include "ui_sendcoinsentry.h"
#include "addressbookpage.h"
#include "addresstablemodel.h"
#inc... | [
"corefork@users.noreply.github.com"
] | corefork@users.noreply.github.com |
50ff2bf329b0fc3bf58359c47e24162a191f8489 | 51928337483095b12f046eda9ea17ba0b1a81fc0 | /3rdparty/cppwinrt/10.0.15063.0/winrt/Windows.Phone.ApplicationModel.h | 11a0b891fa5d5bd4fc9c0d7244e90929af94ccbc | [
"LicenseRef-scancode-generic-cla",
"MIT"
] | permissive | kingofthebongo2008/geometry_images | 8592aa99e53a16821725a2564313eeafb0462362 | 53109f9bc9ea19d0f119f0fe71762248d5038213 | refs/heads/master | 2021-01-19T03:02:56.996122 | 2017-07-06T13:25:47 | 2017-07-06T13:25:47 | 87,302,727 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,684 | h | // C++ for the Windows Runtime v1.0.170331.7
// Copyright (c) 2017 Microsoft Corporation. All rights reserved.
#pragma once
#include "base.h"
WINRT_WARNING_PUSH
#include "internal/Windows.Phone.ApplicationModel.3.h"
WINRT_EXPORT namespace winrt {
namespace impl {
template <typename D>
struct produce<D, Windows::P... | [
"stefan.dyulgerov@gmail.com"
] | stefan.dyulgerov@gmail.com |
ad92df310fecd2084ed034921be519fa881261cf | ac98ba76e69986859c7d3fa8c403bbc2625aeea0 | /MobilityLayer/src/MyRSUApp.h | f4cbbd7100168edffa2d64034e9ec3e905c4fd62 | [
"MIT"
] | permissive | urbancomp/fogarch | 49088951002250eaaf6f7a5b3dc1c0f8bf4644ae | 1fa6f6d2e699e2c4d915bc393ced74943eb5acdb | refs/heads/main | 2022-12-26T15:16:28.846181 | 2020-10-16T15:08:37 | 2020-10-16T15:08:37 | 304,464,661 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,017 | h |
#ifndef SRC_MYRSUAPP_H_
#define SRC_MYRSUAPP_H_
#include <omnetpp.h>
#include "veins/modules/application/ieee80211p/BaseWaveApplLayer.h"
#include "message/BeaconMessage_m.h"
#include "net/NetworkIntegrate.h"
#include "net/SocketConnection.h"
#include "veins/modules/mobility/traci/TraCIMobility.h"
#include "veins/mo... | [
"noreply@github.com"
] | noreply@github.com |
41702b9b6887432b1ea1e2d8d933fe2c03ec06d7 | 87c69454346b1550da7da37f1b7ebfe5468b587c | /protocol/串口通信/串口监视工具/vc62933476624/GUILIB/HEADER/GuiGroupBox.h | 823bba379ade07a16e0e88758ce137b882ea74b0 | [] | no_license | hnlylmlzh/cs | 4305ae18d35d7fe774ae0ece263a68bea882ab6a | b45154053d46c3b3b1e912946d1acaa65e99089b | refs/heads/master | 2022-03-20T17:45:10.202053 | 2019-04-15T08:54:05 | 2019-04-15T08:54:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,213 | h | //-----------------------------------------------------------------------//
// This is a part of the GuiLib MFC Extention. //
// Autor : Francisco Campos //
// (C) 2002 Francisco Campos <www.beyondata.com> All rights reserved //
// This code is provided "as is", with absolutely no warranty ... | [
"sunyongjie1984@gmail.com"
] | sunyongjie1984@gmail.com |
86adf489fa07152752467ac44149227ff490eb96 | 09f50c49816ab87f4e13e53b316ffff4d22d609f | /1203(mod and gcd).cpp | 693058eac7d78d43902ecae1af333cc7a02b784a | [] | 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 | 899 | cpp | #include<bits/stdc++.h>
using namespace std;
typedef pair<int,int> ii;
int gcd(int m, int n)
{
int r;
while (n != 0)
{
r = m % n;
m = n;
n = r;
}
return m;
}
int main()
{
cin.sync_with_stdio(0);
co... | [
"ABHISHEK SOMANI"
] | ABHISHEK SOMANI |
67997ce7d13f7f12fc7f5823ff674315cfbbf13a | d646a142359e832892e7593f8047d9d2fca09a7c | /Qt/Kholkovskii_Konstantin_CW/division.h | 5c690edb4e261deb089860631d84e6733a8fc450 | [] | no_license | gagask/MyCW-s | a481cfe76be07f3d148427125429369162299c94 | bcb7bf81b90c35c52bffc569ffa86d7bbed47269 | refs/heads/master | 2023-03-28T17:47:20.708263 | 2021-03-31T18:17:57 | 2021-03-31T18:17:57 | 353,442,640 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 563 | h | #ifndef DIVISION_H
#define DIVISION_H
#include <QDialog>
#include <QColor>
#include <QColorDialog>
#include <QDir>
#include <QFileDialog>
namespace Ui {
class Division;
}
class Division : public QDialog
{
Q_OBJECT
public:
explicit Division(QWidget *parent = 0);
~Division();
void load(int* n, int* m,... | [
"kholkovskii@mail.ru"
] | kholkovskii@mail.ru |
432c89cf8445ff85e99777b6b1d05dcdfce1eba1 | e1ea9690b62861f53a9933c4e1e1beb92153e422 | /utf8.cpp | 4c0ea21d863ec74dc0028fc62c675f1dbc3f89d1 | [
"MIT"
] | permissive | drcforbin/librw | a5c009fca197c71c61365d726141f042e091d102 | 1f6361efe5594f559ab9ebe25c492aa3047011c1 | refs/heads/master | 2021-06-24T10:14:22.437655 | 2021-05-04T17:44:27 | 2021-05-04T17:44:27 | 222,605,138 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,467 | cpp | #include "rw/logging.h"
#include "rw/utf8.h"
#include <array>
#include <cstring>
#include <langinfo.h>
#include <tuple>
#define LOGGER() (rw::logging::get("rwte-main"))
namespace rw::utf8 {
void set_locale() {
// set/check utf8 locale. locale is needed for C funcs
// like wcwidth/wcswidth later
std::set... | [
"ryan@c.oloss.us"
] | ryan@c.oloss.us |
e11223f3fed4ae40700177c6a52497006e9eb2f6 | b5881a2a068172e356c308ca469b8670e44c3ea6 | /ortools/math_opt/validators/enum_sets.h | 8a1d8ed09167573a1d5f6463ad31d189b3b30b5a | [
"Apache-2.0",
"LicenseRef-scancode-generic-cla",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | bhoeferlin/or-tools | b675fecece9a788cae58ab87f2ba774b9b307728 | dfdcfb58d7228fa0ae6d0182ba9b314c7122519f | refs/heads/master | 2022-02-21T16:38:31.999088 | 2022-02-08T14:27:44 | 2022-02-08T14:27:44 | 141,839,304 | 0 | 0 | Apache-2.0 | 2020-11-06T17:03:34 | 2018-07-21T19:08:59 | C++ | UTF-8 | C++ | false | false | 1,900 | h | // Copyright 2010-2021 Google LLC
// 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 in... | [
"corentinl@google.com"
] | corentinl@google.com |
4e32e362f4bef5a0d4a16fa4c115d596dcaf903a | 04040f294a3df9b11d769f51b77d388c3f2047cb | /Engine/src/independent/layers/layerManager.cpp | f2e5a4c8f2827ef8cc6fe7fb5c010271d57ed554 | [] | no_license | DanBullin/LoneWilderness | 1b6c50e05f547bdb94b9a67aaf73cfda7abc0a59 | f5474cbc4ec5d73fa9b641eed47548c9c6422789 | refs/heads/master | 2023-04-10T10:52:10.322151 | 2021-05-07T06:55:09 | 2021-05-07T06:55:09 | 325,267,055 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,577 | cpp | /*! \file layerManager.cpp
*
* \brief A layer manager which manages layers
*
* \author Daniel Bullin
*
*/
#include "independent/layers/layerManager.h"
#include "independent/systems/components/scene.h"
#include "independent/systems/systems/log.h"
#include "independent/systems/systems/resourceManager.h"
namespace Engine... | [
"danbullin@gmail.com"
] | danbullin@gmail.com |
d68b6b34510cd94b3c34aee9d1f2cf71b2806c44 | 8372963cc5021f71a3def3a2a540b5d5d4445eb8 | /src/spider/IfengSpider.cpp | 255ed7f1601ad6e3d6ce915db4087f49136b0fb4 | [] | no_license | xdis/sniper | 1a36f193f9e2a683271032c2a79bf30b5a501aae | 13f45a8f37d3cea33502993d65a37b565bf17b22 | refs/heads/master | 2020-07-07T07:23:29.395044 | 2019-08-19T20:08:03 | 2019-08-19T20:08:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,667 | cpp | #include "IfengSpider.h"
IfengSpider::IfengSpider(wxString strUrl):StockSpider(strUrl)
{
}
IfengSpider::~IfengSpider()
{
//dtor
}
bool IfengSpider::Run()
{
wxString strUrlBase = _T("http://app.finance.ifeng.com/hq/list.php?type=stock_a&class=");
wxString response;
//沪A
wxString strSH = strUrlBas... | [
"shb8845369@gmail.com"
] | shb8845369@gmail.com |
395ac3d595e5b0a9d5798165d37ca59f2237ed16 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/curl/gumtree/curl_repos_function_2171_last_repos.cpp | 7529e9911562d6da2ec6a0aae115dd3117b67df4 | [] | 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 | 110 | cpp | CURLcode Curl_pp_disconnect(struct pingpong *pp)
{
free(pp->cache);
pp->cache = NULL;
return CURLE_OK;
} | [
"993273596@qq.com"
] | 993273596@qq.com |
b1437c3ad3418598a743fe30a634a1a9faf49f5f | 09bc09a800c069fccb89f36a6aedc1e5c69b822c | /cpp/typeinfo/type_info.h | 6df75511cd02195081137c6dd1d3f4e7efb23a36 | [] | no_license | anonymouss/my-exercises | 8556e880ee8125290f3cfb3787f066b5fb968315 | a30b62ab8f7010eed542d9e945ef617e6815ee01 | refs/heads/master | 2021-06-13T02:48:27.472430 | 2021-05-01T06:34:00 | 2021-05-01T06:34:00 | 162,083,938 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,226 | h | #ifndef __TYPE_INFO_H__
#define __TYPE_INFO_H__
#include <typeinfo>
#include <iostream>
#include <cstdlib>
#include <string>
#include <sstream>
#include <type_traits>
#include <cxxabi.h>
// reference: https://www.cnblogs.com/zfyouxi/p/5060288.html
template <typename T, bool IsBase = false>
struct TypeInfo;
class O... | [
"jjcong@outlook.com"
] | jjcong@outlook.com |
c3a65a9b130a68432123561fc027c50636d0ffea | 6a70b63a2daac5b3cc8fa65b7429c6bd28b16479 | /Assignments/Codes/Filtering/Autofocus/solutions/examples/blur_example.cpp | 3f500eff73b06d0253614af00281e8e838bb1c00 | [] | no_license | mpoullet/NumCSE | 790120fc36643f8f201c9bcfbe7ca7a8e9f66e69 | b03bb0e750c0040329a2df289284a2d680b8e432 | refs/heads/master | 2020-03-30T04:12:25.445889 | 2018-06-15T18:21:34 | 2018-06-15T18:22:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 891 | cpp | #include <iostream>
#include <Eigen/Dense>
#include "timer.h"
#include "conv.hpp"
using namespace Eigen;
int main(int argc, char **argv) {
if(argc <= 1) {
MatrixXd A(5,5);
MatrixXd B(3,3);
A << 1,2,3,4,5,
4,5,6,7,8,
7,8,9,10,11,
1,1,1,1,1... | [
"filippo.leonardi@sam.math.ethz.ch"
] | filippo.leonardi@sam.math.ethz.ch |
a07ee7aeee003abfc6889461dbaf0d00b7de0d45 | e2ba7f68252161cfbfb2fb8c62fce134e6836c0a | /Duck.h | c9ff597896b4616e71ac9628e247f2b47aff53e5 | [] | no_license | ShawnJaffe/Duck-Life | 098c207f0f9d6c9dba4d1868afef4cc69222bbe3 | 81aafeb5a630975988f0dd07e7ffcaaec78c8aa7 | refs/heads/main | 2023-03-14T01:58:50.493431 | 2021-03-08T23:20:02 | 2021-03-08T23:20:02 | 345,817,750 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 983 | h | // CS1300 Spring 2020
// Author: Shawn Jaffe
// Recitation: 104 - Dhanendra Soni
// Project3 : Duck Life Game
#include <iostream>
#ifndef Duck_H
#define Duck_H
using namespace std;
class Duck{
private:
string name;
int running;
int swimming;
int flying;
int energy;
... | [
"noreply@github.com"
] | noreply@github.com |
7ce0d908f753927f291dcacf82af128cdfc589ad | e7d32d176ec4be669f0091c4031c8707ccfcec42 | /DHT/DHT.ino | 6a3627bb20bf7b70354407ceb7e3bb3e5468f065 | [] | no_license | IanMaguithi/Arduino_Sketches | 411117eb1698bed9e3a3be39b4d30519f62c238b | 99d2aed8ab41ef429a15d34d565892d9d32ea336 | refs/heads/main | 2022-12-25T10:24:48.007532 | 2020-10-03T11:08:21 | 2020-10-03T11:08:21 | 294,173,716 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 593 | ino | #include <DHT.h>
#define Type DHT11
int sensePin=2, setTime=500, dt=2000;
DHT HT(sensePin,Type);
float humidity, tempC, tempF;
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
HT.begin();
delay(setTime);
}
void loop() {
// put your main code here, to run repeatedly:
humidity=H... | [
"maguithian13427@gmail.com"
] | maguithian13427@gmail.com |
ff670d21d508198233e466db3ec8665e0d5a9557 | a6ab9fe3c17207d777c1b189d224f89ecb9e0258 | /LEngine/src/model/L3DMesh.cpp | 246d557b616893699263e810854e4c50c0d06026 | [
"MIT"
] | permissive | leafvmaple/LOpenGL | 88f59b38638199b0b0295a55fb160b4f563429bb | 58a696c2115078668ffe463c7d219de5f92c4203 | refs/heads/master | 2020-03-20T05:55:39.239603 | 2019-03-26T09:22:48 | 2019-03-26T09:22:48 | 137,231,545 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,985 | cpp | //
// L3DMesh.cpp
// LEngine
//
// Created by LeafMaple on 2018/07/05.
// Copyright © 2018 LeafMaple. All rights reserved.
//
#include <memory.h>
#include "L3DMesh.h"
#include "L3DMaterial.h"
#include "L3DShader.h"
#include "camera/L3DCamera.h"
#include "io/LFileReader.h"
L3DMesh::L3DMesh() :
m_pLMaterial(nul... | [
"leafvmaple@163.com"
] | leafvmaple@163.com |
fb7393419e8463f65a0ef269b953dc938c30c536 | 4269307ea30df5947b22164198789a086e469eca | /OOP_HW01_Template_NET2010/00_StudentWork/00_SimpleInteractiveSystem/mySystem_MonteCarlo.cpp | e5bcec008854fef1e02994c8fbab62c961b6cb54 | [] | no_license | oOIFOo/2016_spring_OOP | 88bd355d48d563753d653dafe4dba3df1de4773f | ff54be474b558384ce4f2493f52ac1c8bdca8de6 | refs/heads/master | 2020-05-09T21:53:12.715209 | 2019-04-15T08:52:31 | 2019-04-15T08:52:31 | 181,448,861 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,107 | cpp | //
// Instructor: Sai-Keung WONG
// Email: cswingo@cs.nctu.edu.tw
// wingo.wong@gmail.com
//
// National Chiao Tung University, Taiwan
// Computer Science
// Date: 2016/02/27
//
#include "mySystem_MonteCarlo.h"
#include <iostream>
using namespace std;
#define MAX_SAMPLES 1000000
MONTE_CARLO_SYSTEM::MONTE_CARLO_SYS... | [
"x5asdfghj27@gmail.com"
] | x5asdfghj27@gmail.com |
958864004bf1e1fba5c65a8b666a1b351758aff0 | f61c5cbe165b3d37cd93528e70653930895d2144 | /SM/include/mtf/SM/LineTracker.h | 6d328dccd8f925ff8c72449d3566a875806edbb6 | [
"BSD-3-Clause"
] | permissive | huizee/MTF | 5fe26ac651c00ef4de751c8ac6ef40b983ebaf60 | 6e04023844b0f46161a95e0dbaf92769c4dc851f | refs/heads/master | 2021-01-19T13:56:10.512940 | 2017-02-17T05:02:44 | 2017-02-17T05:02:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,412 | h | #ifndef MTF_LINE_TRACKER_H
#define MTF_LINE_TRACKER_H
#include "CompositeBase.h"
#include "mtf/Macros/common.h"
#define LINE_GRID_SIZE_X 5
#define LINE_GRID_SIZE_Y 5
#define LINE_PATCH_SIZE 25
#define LINE_USE_CONSTANT_SLOPE false
#define LINE_USE_LS false
#define LINE_INTER_ALPHA_THRESH 0.1
#define LINE_INTRA_ALPHA_... | [
"asingh1@ualberta.ca"
] | asingh1@ualberta.ca |
1e9b60bac9f57625e58d8afd15d2471bd6078619 | aa7ef1886eb0f90b5a2c50d2af44504dda1e5b69 | /src/ManualPage.cpp | 05a0d37eb5974b3982ad18978eaacbb373ccfe13 | [] | no_license | RileyMcCarthy/MaD_Firmware | 9314ab1f50c83a55051c4456016e548515e80e29 | 73b8886c68c3b1557c41f4f460742a6fa8c7c918 | refs/heads/master | 2023-03-30T05:51:51.896137 | 2021-04-05T18:22:16 | 2021-04-05T18:22:16 | 344,294,841 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,598 | cpp | #include "MaD.h"
static bool complete;
static MachineState localState;
static bool initialRender;
enum button_names
{
BUTTON_MOTION_MODE,
BUTTON_CONDITION,
BUTTON_NAVIGATION
};
static void buttonHandler(Button b)
{
switch (b.name)
{
case BUTTON_MOTION_MODE:
/* code */
break;
... | [
"riley.mccarthy@yahoo.com"
] | riley.mccarthy@yahoo.com |
a4473a0f91221c2fb33e9b1f0ba68e384d81eb19 | 1ed3b78ce9619d3e806e260f62ed38c157088cb9 | /lab04.cpp | eba56d8ff1069986534b0a3b42d09847c3f3d511 | [] | no_license | singhchamp1234/CSE-100---Algorithm-Design-and-Analysis | 5e87cbe5119d354af82cd91d31ccd84d6e1ce738 | 3052dea2147ce3186aa36299bdde7d7b2e9a29a8 | refs/heads/master | 2020-12-03T09:39:20.176115 | 2020-01-01T22:06:31 | 2020-01-01T22:06:31 | 231,268,189 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,629 | cpp | //
// yourid.cpp
// ghghghghg
//
// Created by herman rai on 10/1/19.
// Copyright © 2019 herman rai. All rights reserved.
//
//
// main.cpp
// gggggg
//
// Created by herman rai on 9/29/19.
// Copyright © 2019 herman rai. All rights reserved.
//
#include<iostream>
using namespace std;
//MAX-HEAPIFY.A;i/
/... | [
"noreply@github.com"
] | noreply@github.com |
3f74ea58fbf7b0d15b56f842ce23212e704ce6b6 | c2501a3f6998ea7682a7049fa062a0a6c180aafc | /sparsity_driven_detector/src/OptimizationProblemFactory_MultiLayered.cpp | 05fdc1dba4e1b1d57d509455aa96a82d1bc0a767 | [
"MIT"
] | permissive | MatthiasMichael/SparsityDrivenDetector | a46734cd5f1c59105e6f2070ae8c594a82f77b2e | eb50e1e0caf6b097adc4ee670693a6af46f0fc8b | refs/heads/master | 2020-05-25T08:42:57.383415 | 2019-09-25T10:01:56 | 2019-09-25T10:01:56 | 187,718,374 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,272 | cpp | #include "OptimizationProblemFactory_MultiLayered.h"
#include "OptimizationProblem_MultiLayered.h"
OptimizationProblemFactory_MultiLayered::OptimizationProblemFactory_MultiLayered(WrapInDecorators wrap) :
OptimizationProblemFactory(wrap)
{
// empty
}
std::unique_ptr<OptimizationProblemFactory> OptimizationProble... | [
"matthias.michael@rub.de"
] | matthias.michael@rub.de |
36b3907a81a5b492dd5f25b08b07722d7ab7a0ef | c776476e9d06b3779d744641e758ac3a2c15cddc | /examples/litmus/c/run-scripts/tmp_1/Z6.4+poreleaserelease+fencembonceonce+poonceacquire.c.cbmc_out.cpp | e014305b6c5985e4fd0fbd1f65f86223a7622740 | [] | no_license | ashutosh0gupta/llvm_bmc | aaac7961c723ba6f7ffd77a39559e0e52432eade | 0287c4fb180244e6b3c599a9902507f05c8a7234 | refs/heads/master | 2023-08-02T17:14:06.178723 | 2023-07-31T10:46:53 | 2023-07-31T10:46:53 | 143,100,825 | 3 | 4 | null | 2023-05-25T05:50:55 | 2018-08-01T03:47:00 | C++ | UTF-8 | C++ | false | false | 41,556 | cpp | // 0:vars:3
// 3:atom_1_X1_0:1
// 4:atom_2_X1_0:1
// 5:thr0:1
// 6:thr1:1
// 7:thr2:1
#define ADDRSIZE 8
#define NPROC 4
#define NCONTEXT 1
#define ASSUME(stmt) __CPROVER_assume(stmt)
#define ASSERT(stmt) __CPROVER_assert(stmt, "error")
#define max(a,b) (a>b?a:b)
char __get_rng();
char get_rng( char from, char to ) ... | [
"tuan-phong.ngo@it.uu.se"
] | tuan-phong.ngo@it.uu.se |
5dd401c7ed54f5846d44c4621920ac9df4fe2036 | 005e3a493ad76a918c77e66331a53339bf96ae69 | /dialog2.cpp | cad0a5250d7f4b470e2e78f256e06e208e177eb2 | [] | no_license | Franck-Dernoncourt/HNxVoiceCommand | a2885618b2b762757082aea3151b5c323c308f92 | 2047ecb402ede29924c9de6bb994cdebb20c54f4 | refs/heads/master | 2020-12-31T00:41:56.146597 | 2017-01-02T06:50:43 | 2017-01-02T06:50:43 | 80,546,110 | 1 | 0 | null | 2017-01-31T17:56:56 | 2017-01-31T17:56:56 | null | UTF-8 | C++ | false | false | 1,187 | cpp | #include "dialog2.hpp"
#include "ui_dialog2.h"
Dialog2::Dialog2(QWidget *parent)
: QDialog(parent)
, ui(new Ui::Dialog2)
{
ui->setupUi(this);
}
Dialog2::~Dialog2()
{
delete ui;
}
void Dialog2::on_pushButton_browse_clicked()
{
// open file dialog
}
void Dialog2::on_pushButton_ok_clicked... | [
"hydranix@gmx.com"
] | hydranix@gmx.com |
673d16be7835a9682c528ba072468669c465d8f1 | c514746275fc4f8cfebdab2cabbfa7e0d6d67841 | /include/KeyMap.h | 465473645c4f22650d24fc05b3908a570dcaec2d | [] | no_license | teraNybble/nPlayerConnect4 | 37b2525222ba10b9b94a9c4ea1a2f3c4d922ba20 | d1244ea165926313250aa2565b416a3abb8b46fa | refs/heads/master | 2023-04-14T06:04:45.666179 | 2021-04-03T15:23:07 | 2021-04-03T15:23:07 | 274,705,759 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 575 | h | #ifndef GAME2D_KEYMAP_H
#define GAME2D_KEYMAP_H
#include "KeyState.h"
#include <map>
namespace Game2D
{
class KeyMap
{
private:
bool isDown;
bool wasDown;
KeyState::State currentState;
std::map<int, KeyState> map;
public:
KeyMap();
inline void addKey(int id) { map.insert(std::pair<int, KeyState>(id,... | [
"daniel8brown@hotmail.co.uk"
] | daniel8brown@hotmail.co.uk |
a84ea4dc2c6b420bf91fffc2e6e1bcdbb9eba938 | e28c38584facde5ed74f2a746e2b4f114e686f17 | /PAT1036_ProgrammingWithObama/PAT1036_ProgrammingWithObama/ProgrammingWithObama.cpp | 546918155a65dbd37d2e5bf94b753dfa5134f627 | [] | no_license | mlqcmlmc/PAT_BasicLevel_Practise | 02d54a40d6a475c599005b81a444ead66d63f8d8 | 749b756bcde2972d66f7c30fa541dd29858e7894 | refs/heads/master | 2021-01-10T21:49:48.783896 | 2015-06-15T05:40:43 | 2015-06-15T05:40:43 | 37,369,338 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 347 | cpp | #include<iostream>
#include<string>
using namespace std;
int main()
{
int N;
char C;
cin >> N >> C;
string row(N, C), emptystr(N - 2, ' '), line;
line.push_back(C);
line = line + emptystr;
line.push_back(C);
cout << row << endl;
for (int i = 0; i < int(N/2.0+0.5) - 2; i++)
{
cout << line << endl;
}
cout <... | [
"345008702@qq.com"
] | 345008702@qq.com |
4c34180e0dca41cf288a8af878ccc8dcc31fccaf | 37cd7e20852a0a06363cc01b35d8b99945657a2b | /hackerankc++/vectortest.cpp | 8279099dff49c4e11894929df505e0e1e6fede8a | [] | no_license | sunilsarode/allc-programs | 46d7b4fba70409dddacef2fdf9af9dc414dfa822 | 4fdf3077e23ee2a2979b1f76706aef96dc112b7f | refs/heads/master | 2023-05-26T02:37:20.163717 | 2023-05-20T16:32:57 | 2023-05-20T16:32:57 | 215,777,615 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 552 | cpp | #include<bits/stdc++.h>
using namespace std;
int jumpingOnClouds(vector<int> c) {
int n=c.size();
cout<<n<<endl;
int count=0;
for(int i=0;i<n;){
if(i+2<n && c[i+2]==0){
count+=1;
i+=2;
}else if(i+1<n&& c[i+1]==0){
count+=1;
i++;
}else{
... | [
"sarodesunil7@gmail.com"
] | sarodesunil7@gmail.com |
cc1d6ede25a8e626c3a6b4962b0de743f1d7c3dc | 55eb24ea6b0ea4257046f04aa6d3c18e9a0be29a | /SW_EXPERT_ACADEMY/초콜릿과 건포도/9282_solution.cpp | 868b686801e51a39f9c0066b9f6753e877b9e9e9 | [] | no_license | dwywdo/PS | dbb8b913f46d178783bc4b6ebf2a185a2a66b220 | 05700db6b6a49de93e72848b4d516e2a65da592a | refs/heads/master | 2021-11-28T19:15:11.903267 | 2021-11-22T15:46:01 | 2021-11-22T15:46:01 | 248,372,017 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,757 | cpp | #include <iostream>
#include <cstring>
#define MAX 1000000000
using namespace std;
int dp[51][51][51][51];
int choco[51][51];
int sum[51][51];
int solve(int x, int y, int ex, int ey) {
//초코릿 조각이 한개면 0리턴
if (x == ex && y == ey) return 0;
//이미 최솟값을 구해놨으면 최솟값 바로 리턴
if (dp[x][y][ex][ey] != -1) {
... | [
"dwywdo@gmail.com"
] | dwywdo@gmail.com |
af25c26af1d4fbe71442926bc8497d6e70a63ac7 | 5f30caf2617ccb73fb8eebb7fa85cf001025ed0a | /zodiacgraph/plughandle.h | 592b7ccf71505e43b24645dc667379f0a12975c8 | [] | no_license | TheSpecialist4/smili-vp-plugin | a6dc5866183395f35ee1e84d001bcaad53e375bf | 6099cc38a4a50d06ca4163c111df4626d3fcfa86 | refs/heads/master | 2021-01-17T14:14:14.814235 | 2017-05-28T02:49:00 | 2017-05-28T02:49:00 | 68,657,634 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,354 | h | //
// ZodiacGraph - A general-purpose, circular node graph UI module.
// Copyright (C) 2015 Clemens Sielaff
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published
// by the Free Software Foundation, either ve... | [
"kaamraank@outlook.com"
] | kaamraank@outlook.com |
456024b259bad5c59712540be9f8f1082219fc2f | df43d79f07900f23ded703421ab27f1faec7d37a | /OpenglSuperBible/Learn1_4Sample3.hpp | b8bd516342287ef4ca8891296f3c4906e87bda0c | [] | no_license | DzmitrySafin/OpenglSuperBible | 78ef6c147ac97de5b91ce046544cd2e6a6f33d3e | 254c736b47a590bd133510ff071445ffaf4fa2ec | refs/heads/master | 2021-01-20T10:28:38.119862 | 2017-08-28T18:11:34 | 2017-08-28T18:11:34 | 101,632,727 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 655 | hpp | //
// Learn1_4Sample3.hpp
// OpenglSuperBible
//
// Created by Dzmitry Safin on 8/19/17.
// Copyright © 2017 Dzmitry Safin. All rights reserved.
//
#ifndef __openglsuperbible__learn1_4sample3_hpp__
#define __openglsuperbible__learn1_4sample3_hpp__
#include "Engine.hpp"
class Learn1_4Sample3 : public CEngine
{
pu... | [
"Safin@scnsoft.com"
] | Safin@scnsoft.com |
814335f52f48ef859799e55f72c50020cad95cc1 | caf18283b697d51c99eadeb0afbff8473e6bfcdf | /PAT Advanced Level/1084. Broken Keyboard (20).cpp | 784f7ecc69ae37519ba48e1c73f6ee9a06663f67 | [] | no_license | zmh890/ZJU-PAT-Code | 81be4d5478fb7aeaf4e945808b8b8437e01d083a | 65ae5ba7a6e076ba54739adc270221b9b4dba671 | refs/heads/master | 2021-04-26T16:41:13.970695 | 2018-02-12T16:02:51 | 2018-02-12T16:02:51 | 121,266,571 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,066 | cpp | /*
On a broken keyboard, some of the keys are worn out. So when you type some sentences, the characters corresponding to those keys will not appear on screen.
Now given a string that you are supposed to type, and the string that you actually type out, please list those keys which are for sure worn out.
Input Spe... | [
"noreply@github.com"
] | noreply@github.com |
b034cabb3dd70d1f495b35cfc5f78b3b93f808e2 | 469b24a3c35cc72925636ddab30f26ad0cc7fca2 | /src/commonlib/fileio.h | 985c2f4c6c7d220e3e2d745d894e6a120b02d36f | [
"MIT"
] | permissive | on-keyday/easyscript | 20a38999d2c84ba62ebe41d18238f236e433c97b | c6717f88e8b3d3489dbad8f9eb06ff533be1a412 | refs/heads/main | 2023-06-27T16:27:35.167806 | 2021-08-02T16:13:06 | 2021-08-02T16:13:06 | 361,768,880 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,669 | h | /*
Copyright (c) 2021 on-keyday
Released under the MIT license
https://opensource.org/licenses/mit-license.php
*/
#pragma once
#include "project_name.h"
#define POSIX_SOURCE 200809L
#include <stddef.h>
#include <stdio.h>
#include <sys/stat.h>
#include <mutex>
#ifdef __EMSCRIPTEN__
#include <iostream>
#en... | [
"62627905+on-keyday@users.noreply.github.com"
] | 62627905+on-keyday@users.noreply.github.com |
46ca1e9f61787e610c19eb3665d469bda673acc0 | 8e66b12c31da519ba29accd507756faad7e0001f | /src/types/Venue.cc | 2ae90a6fce7615ddd952c069de5b53168d67bb8e | [
"Zlib"
] | permissive | norbekaiser/yatbcpp | ac698ca3ca509f595a83a9d7a14235272f7154a6 | 7628fe295fb2fd858dc71bebb4805aa3c05ebda4 | refs/heads/master | 2021-01-20T05:15:39.866939 | 2019-01-03T13:09:19 | 2019-01-03T13:09:19 | 100,170,649 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,942 | cc | // Copyright (c) 2017,2018 Norbert Rühl
//
// This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.
//
// Permission is granted to anyone to use this software for any purpose, includ... | [
"ci-yatbcpp-deploy@norbert-ruehl.de"
] | ci-yatbcpp-deploy@norbert-ruehl.de |
c566087d081809fc854ea91aaa2a7b63d67a2a02 | 46cd3608c7307c3fc140026b901ac2fac87fb418 | /Application/Source/SceneUI.cpp | e8e964ec604003077e4644de552ebf340028e6a0 | [
"Apache-2.0"
] | permissive | zshaqeel/SP2 | d795a2e9a4b7d4b072b0dd84e23a4605c23c1b31 | ff4e0373ef7e5864ae89f46d75037381b16b447e | refs/heads/main | 2023-03-04T21:30:30.307243 | 2021-02-15T01:48:47 | 2021-02-15T01:48:47 | 338,936,808 | 0 | 0 | Apache-2.0 | 2021-02-15T01:02:52 | 2021-02-15T01:02:52 | null | UTF-8 | C++ | false | false | 14,104 | cpp | #include "SceneUI.h"
#include "Utility.h"
#include "LoadTGA.h"
#include <iostream>
SceneUI::SceneUI() {}
SceneUI::~SceneUI() {}
void SceneUI::Init() {
glClearColor(0.4f, 0.4f, 0.4f, 0.0f);
m_programID = LoadShaders("Shader//Texture.vertexshader", "Shader//Text.fragmentshader");
m_parameters[U_MVP] = glGetUniformL... | [
"destialpvp@gmail.com"
] | destialpvp@gmail.com |
98f42772722108b16aa30c4754dfe5867f5315ff | 4bab98acf65c4625a8b3c757327a8a386f90dd32 | /ros2-windows/include/sensor_msgs/msg/nav_sat_status__rosidl_typesupport_connext_cpp.hpp | 38bd798ffe339ec71ff7c0e822f47f9d379d87ae | [] | no_license | maojoejoe/Peach-Thinning-GTRI-Agricultural-Robotics-VIP | e2afb08b8d7b3ac075e071e063229f76b25f883a | 8ed707edb72692698f270317113eb215b57ae9f9 | refs/heads/master | 2023-01-15T06:00:22.844468 | 2020-11-25T04:16:15 | 2020-11-25T04:16:15 | 289,108,482 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,444 | hpp | // generated from rosidl_typesupport_connext_cpp/resource/idl__rosidl_typesupport_connext_cpp.hpp.em
// with input from sensor_msgs:msg\NavSatStatus.idl
// generated code does not contain a copyright notice
#ifndef SENSOR_MSGS__MSG__NAV_SAT_STATUS__ROSIDL_TYPESUPPORT_CONNEXT_CPP_HPP_
#define SENSOR_MSGS__MSG__NAV_SAT... | [
"aidencfarrar@gmail.com"
] | aidencfarrar@gmail.com |
a19391252e070f6e6574e49e4aea0e5274de2f9a | ec7a0f82cb3271da72eb38978b0110284f52e155 | /Projects/funciones/funciones/stdafx.cpp | 0bd29e71af25b369ea3fc656f8c9f032a0916697 | [] | no_license | vicsanjinez/reversing101 | b1fa0c5c0ce2e99afd2c83eb9a7241c5343096c3 | 57253153539e33addbd69a9e73c0a9b86c1aeaa6 | refs/heads/master | 2020-03-30T06:28:04.880735 | 2018-09-28T15:15:45 | 2018-09-28T15:15:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 296 | cpp | // stdafx.cpp : source file that includes just the standard includes
// funciones.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
// TODO: reference any additional headers you need in STDAFX.H
// and not in this file
| [
"javier.4guinaga@gmail.com"
] | javier.4guinaga@gmail.com |
95b25d88c0de5aec5d1f48a43069654248d6acae | 50a7d625dc134715f0316685f81cd3746a36f66c | /src/main.cpp | 1849295a026cf2286d78085c149b0db97ce1d847 | [] | no_license | xt1zer/sorts | fb290799c33f3b23bba974cb1e918ccb3dc7fdcb | c231685700fb1916c62d9544886af7adf62dc036 | refs/heads/master | 2023-08-19T04:52:45.037992 | 2020-10-02T21:55:31 | 2020-10-02T21:55:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 111 | cpp | #include "DynArray.h"
#include "Menu.h"
int main() {
DynArray arr;
menu(arr);
return 0;
} | [
"xt1zer@outlook.com"
] | xt1zer@outlook.com |
90057c626fb5dcdb0b051c6ba063457dc7bd1c5b | e12376aadfc081042c5df6eeb9954091b8801493 | /vcf/src/thirdparty/win32/comet/registry.h | 5f5aa229190ffd1396a22284ae684cd13d6dd74d | [] | no_license | jimcrafton/visualcomponentframework | 65d5c4a72309884477089ce102ebc44f3eb28e27 | 87d7f44ad15bbf42fac6c8cd5fba3c6ecc51eb45 | refs/heads/master | 2022-11-30T05:44:27.210513 | 2022-11-19T01:29:35 | 2022-11-19T01:29:35 | 181,391,567 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 32,538 | h | /** \file
* Windows Registry iteration and manipulation functions.
*/
/*
* Copyright © 2000, 2001 Paul Hollingsworth
*
* This material is provided "as is", with absolutely no warranty
* expressed or implied. Any use is at your own risk. Permission to
* use or copy this software for any purpose is hereby gra... | [
"ddiego@cccfda39-7811-0410-ae5f-bc4b32ab4073"
] | ddiego@cccfda39-7811-0410-ae5f-bc4b32ab4073 |
90f53818fec1b692b2ce8ba0bd293cd00a5b67e7 | 3f368f90e28b0084c3971c706f46b1e34c8a9aa1 | /src/test/key_tests.cpp | 3fd6d70a610aebd684457d27b605ddc7cc8c4a29 | [
"MIT"
] | permissive | AaronWashington/SIN-core | f3043ee4e561e97144e2b7695d22f011ccd16d64 | ec78b3b1d94457b2c3a521143d7bf68f474de189 | refs/heads/master | 2020-12-11T15:55:26.882477 | 2020-01-08T17:04:22 | 2020-01-08T17:04:22 | 233,890,392 | 1 | 0 | MIT | 2020-01-14T16:54:54 | 2020-01-14T16:54:53 | null | UTF-8 | C++ | false | false | 8,101 | cpp | // Copyright (c) 2012-2018 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <key.h>
#include <key_io.h>
#include <script/script.h>
#include <uint256.h>
#include <util.h>
#include <utilstrenco... | [
"barrystyle@westnet.com.au"
] | barrystyle@westnet.com.au |
754e6da51c624af94cf2ebdc46908a0db673d70a | 1711ba6906fcfbebe0f5e6b91c5a388bf694f88f | /Server/common/SerManager.h | 855e8e5d9930745830c84ff73e91065fe2c4b5d4 | [] | no_license | killvxk/remotectrl-1 | 00a19b6aeb006eb587d6b225e26bf8d5cf56a491 | c17fb3961918b624262e76f14a7cfb8ba226a311 | refs/heads/master | 2021-05-27T15:41:38.169865 | 2014-06-20T14:12:47 | 2014-06-20T14:12:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 912 | h | // SerManager.h: interface for the CSerManager class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_SerManager_H__26C71561_C37D_44F2_B69C_DAF907C04CBE__INCLUDED_)
#define AFX_SerManager_H__26C71561_C37D_44F2_B69C_DAF907C04CBE__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#en... | [
"ouwenniu@qq.com"
] | ouwenniu@qq.com |
e943646cada366c08e913120032e0b8165cd583e | 1a218c67ad04f99e52c37425fdb933b053af6244 | /Ch06/exercise6.12.cpp | 8931fb58dd0cdc94d0818a796f630edc48c83424 | [] | no_license | xiaonengmiao/Cpp_Primer | 5a91cd223c9b0870f4ab9a45c6f679333a98fa20 | be20a29b49be19f6959b7873077ea698da940bf6 | refs/heads/master | 2020-12-25T14:23:58.976008 | 2020-06-18T07:54:43 | 2020-06-18T07:54:43 | 66,343,361 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 274 | cpp | #include <iostream>
void swap(int &i, int &j)
{
int k = i;
i = j;
j = k;
}
int main()
{
for (int i, j; std::cout << "enter two ints:\n", std::cin >> i >> j; )
{
swap(i,j);
std::cout << i << " " << j << std::endl;
}
return 0;
}
| [
"1123913594@qq.com"
] | 1123913594@qq.com |
45a43f3c89905d88bc6bdcac6c671870e9e1d908 | 7e82040f3fbe2e67f16d188e7cd7c203c9984229 | /June 6/June 6 Solution.cpp | 38d995b1b8f1b484282a07d2c0791d01e5eb0830 | [] | no_license | Sanjays2402/LeetCode-June-Challenge | 2f888c855e3c1a1349cad33d95d8557141cb3f6e | f26584e8deff0f20a651948dbd2adffe7d0b1b0e | refs/heads/master | 2022-11-07T05:22:09.861640 | 2020-06-29T18:14:10 | 2020-06-29T18:14:10 | 268,486,362 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 420 | cpp | vector<pair<int, int>> reconstructQueue(vector<pair<int, int>>& people) {
auto comp = [](const pair<int, int>& p1, const pair<int, int>& p2)
{ return p1.first > p2.first || (p1.first == p2.first && p1.second < p2.second); };
sort(people.begin(), people.end(), comp);
vector<pair<int, int>... | [
"noreply@github.com"
] | noreply@github.com |
783bd834cf10cb377cd1f24d60eb0c89a3948846 | d21f797f3128c053d35dec1e8b3023677af6d8d4 | /1052.cpp | 3f6b7629e7698c5374ea16d1cd8f831885c58333 | [] | no_license | AmrMaghraby/uri | 4c1939e1cf63831ceb7aba6accf917ce16c42afe | 2b8fb2881227fea43fe6e4f8892703250f739f13 | refs/heads/master | 2021-01-13T00:51:54.760112 | 2016-05-04T15:03:55 | 2016-05-04T15:03:55 | 51,157,337 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 564 | cpp | #include<stdio.h>
#include<conio.h>
int main(){
int x;
scanf("%d",&x);
switch(x){
case 1 :printf("January\n");break;
case 2 :printf("February\n");break;
case 3 :printf("March\n");break;
case 4 :printf("April\n");break;
case 5 :printf("May\n");break;
case 6 :printf("June\n");break;
c... | [
"amr.alkeleay@gmail.com"
] | amr.alkeleay@gmail.com |
0ebc13514cbbc2b304ba791d4b0fd3bbff4dd22f | 9b1d9a6396433288ba60fab4198ed25f8ca494c8 | /imread/lib/_png.h | db2da34f6fe297b45347ef7f3a91bf3c6c507a70 | [
"MIT"
] | permissive | buratono/imread | 24fc4e473399b30e24f7537ea30543f605b78f39 | b197de415bf27ee7e44bafe8f40750729479a680 | refs/heads/master | 2021-01-16T19:01:59.360471 | 2014-06-16T18:17:58 | 2014-06-16T18:17:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 613 | h | // Copyright 2012 Luis Pedro Coelho <luis@luispedro.org>
// License: MIT (see COPYING.MIT file)
#ifndef LPC_PNG_H_INCLUDE_GUARD_WED_FEB__1_16_34_50_WET_2012
#define LPC_PNG_H_INCLUDE_GUARD_WED_FEB__1_16_34_50_WET_2012
class PNGFormat : public ImageFormat {
public:
bool can_read() const { return true; }
... | [
"luis@luispedro.org"
] | luis@luispedro.org |
63dbb8bb29973b419bd8f1a84a476cae4c3f261d | 0e44257aa418a506b1bb2f76c715e403cb893f13 | /NWNXLib/API/Mac/API/unknown_sqlite_int64.hpp | a7334198dbc83cc8a6314b3751fec66669c8b08d | [
"MIT"
] | permissive | Silvard/nwnxee | 58bdfa023348edcc88f9d3cfd9ff77fdd6194058 | 0989acb86e4d2b2bdcf25f6eabc16df7a72fb315 | refs/heads/master | 2020-04-15T22:04:43.925619 | 2019-10-10T14:18:53 | 2019-10-10T14:18:53 | 165,058,523 | 0 | 0 | MIT | 2019-10-10T14:18:57 | 2019-01-10T12:44:36 | C++ | UTF-8 | C++ | false | false | 82 | hpp | #pragma once
namespace NWNXLib {
namespace API {
class sqlite_int64 { };
}
}
| [
"liarethnwn@gmail.com"
] | liarethnwn@gmail.com |
ffa358543aaa7116c61ab182e5cbf8579ae38c0f | 2bec5a52ce1fb3266e72f8fbeb5226b025584a16 | /multdyn/inst/testfiles/dlmLplCpp/dlmLplCpp_DeepState_TestHarness.cpp | 3157e43e4e931f950c1499bce8fd1aebb02c2633 | [] | no_license | akhikolla/InformationHouse | 4e45b11df18dee47519e917fcf0a869a77661fce | c0daab1e3f2827fd08aa5c31127fadae3f001948 | refs/heads/master | 2023-02-12T19:00:20.752555 | 2020-12-31T20:59:23 | 2020-12-31T20:59:23 | 325,589,503 | 9 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,526 | cpp | // AUTOMATICALLY GENERATED BY RCPPDEEPSTATE PLEASE DO NOT EDIT BY HAND, INSTEAD EDIT
// dlmLplCpp_DeepState_TestHarness_generation.cpp and dlmLplCpp_DeepState_TestHarness_checks.cpp
#include <fstream>
#include <RInside.h>
#include <iostream>
#include <RcppDeepState.h>
#include <qs.h>
#include <DeepState.hpp>
arma::ro... | [
"akhilakollasrinu424jf@gmail.com"
] | akhilakollasrinu424jf@gmail.com |
97751bfa207db0147ab385582c2db42dd9a5450e | 67a46851a67f0a93d7312c5a9a89c942e37b73eb | /algorithm/HDU-ACM/ambition0109/1197.cpp | b9dbbfea5ecd76c3f6682b8f339bed658b5828f9 | [] | no_license | zhangwj0101/codestudy | e8c0a0c55b0ee556c217dc58273711a18e4194c9 | 06ce3bb9f9d9f977e0e4dc7687c561ab74f1980b | refs/heads/master | 2021-01-15T09:28:32.054331 | 2016-09-17T11:11:06 | 2016-09-17T11:11:06 | 44,471,951 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,541 | cpp | ////////////////////System Comment////////////////////
////Welcome to Hangzhou Dianzi University Online Judge
////http://acm.hdu.edu.cn
//////////////////////////////////////////////////////
////Username: ambition0109
////Nickname: Ambition
////Run ID:
////Submit time: 2010-07-10 19:55:47
////Compiler: Visual ... | [
"zhangwj@zhangwj-MacBook-Pro.local"
] | zhangwj@zhangwj-MacBook-Pro.local |
66bd94a3eefde161747cbb42f55d04075fe88da7 | 28292986abd1db0806b9ff9e741053fbc0f7f306 | /ESP8266/libraries/Adapter/Adapter.cpp | 885482afeb3fcb259a2f547ae959edbfac45e88d | [] | no_license | toastedcode/ShopSense | 41726d4ce9c016ecf55c17b7b9ba01e4a3fc1c13 | a65c76ff82d97859f9c23fccc9a5e7afcd9761dd | refs/heads/master | 2021-01-10T02:44:10.956544 | 2018-05-31T18:59:22 | 2018-05-31T18:59:22 | 43,096,547 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 514 | cpp | // *****************************************************************************
// *****************************************************************************
// Adapter.cpp
//
// Author: Jason Tost
// Date: 11.2.2015
//
// *****************************************************************************
// **********... | [
"jasontost@gmail.com"
] | jasontost@gmail.com |
c715dde4c58753af06ccaa39aeee346663d1221f | 3fa3540923e616da6789e2d48fe7aa8ce58dd38b | /Coding Ninjas/A17/A17-1.cpp | 0903ef8a39ce66496890dfeb97189af9fedf0787 | [] | no_license | ib13/Coding-Practice | c0ad8e51e6fb7901d16415f1f1a62432bf6d78d3 | d5eea327b94d23c4e3287e4e05067e9be235a15b | refs/heads/master | 2020-05-09T08:48:49.449972 | 2019-09-13T12:05:27 | 2019-09-13T12:05:27 | 180,995,930 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,169 | cpp | #include <iostream>
#include <queue>
template <typename T>
class BinaryTreeNode
{
public:
T data;
BinaryTreeNode<T> *left;
BinaryTreeNode<T> *right;
BinaryTreeNode(T data)
{
this->data = data;
left = NULL;
right = NULL;
}
~BinaryTreeNode()
{
if (left)
... | [
"ishan13bhargava@gmail.com"
] | ishan13bhargava@gmail.com |
e61166a921d0bdd82ac3ea91309163311a0af6e0 | 97cd58c8198dbb8016a78cb1fa7f658986a99a10 | /widget.hpp | 3ae9e2088b45046fd7a0742cae21cc054c03f552 | [] | no_license | bullk/albizzia | 434484f0f7da18af08181baed987fa3f3ffc23f3 | d82cd1ef47f351f0f37ce4662666b3bb60d0a00c | refs/heads/master | 2021-01-01T18:04:47.991745 | 2017-09-21T17:04:19 | 2017-09-21T17:04:19 | 98,239,536 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,066 | hpp | /*
*/
#ifndef WIDGET_H
#define WIDGET_H
//#include <stdlib.h>
#include <cairo/cairo.h>
#define COLOR_BG GRAY(0.2)
#define COLOR_WBG GRAY(0.0)
#define COLOR_BOR GRAY(0.4)
#define COLOR_TEXT GRAY(0.8)
#define ORANGE cairo_set_source_rgb (cr, 1.0, 0.7, 0.0)
#define GREEN cairo_set_source_rgb (cr, 0.5, 1.0, 0.2)
#define... | [
"olivier@boulocheland.net"
] | olivier@boulocheland.net |
b4bdbf215cebbfcbde4f3cf3e61754bd4258ea64 | 011006ca59cfe75fb3dd84a50b6c0ef6427a7dc3 | /codeChef/CCOOK.cpp | df30997831d3d45418c905dd8dfee2ed873103a4 | [] | no_license | ay2306/Competitive-Programming | 34f35367de2e8623da0006135cf21ba6aec34049 | 8cc9d953b09212ab32b513acf874dba4fa1d2848 | refs/heads/master | 2021-06-26T16:46:28.179504 | 2021-01-24T15:32:57 | 2021-01-24T15:32:57 | 205,185,905 | 5 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 585 | cpp | #include<bits/stdc++.h>
#define ll unsigned long long int
#define mod 1000000007
using namespace std;
int main(){
ios_base::sync_with_stdio(false);
cin.tie(0);
cout.tie(0);
int t;
cin >> t;
while(t--){
int k = 0;
int a;
for(int i = 0; i < 5; ++i){
cin >> a;
if(a==1)k++;
}
switch(k){
case 0: co... | [
"mahajan.ayush2306@gmail.com"
] | mahajan.ayush2306@gmail.com |
fd41928d22e53d28fe2196690ae9059d0f5bae55 | b53617ccf68a284d3d69b3202572e03a0668c311 | /TermProject/TermProject/GateClass.h | ebfb7c82dbb3df077085cfd321ebb73cf5ef89f0 | [] | no_license | ndavis98/CS1220TermProject | 6ce7efaf5a6f6163a99f65890221c042fac84b08 | 8dc26886834adbb81b900061319cd672a7c3727f | refs/heads/master | 2020-03-09T21:14:07.671420 | 2018-04-10T20:56:02 | 2018-04-10T20:56:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 635 | h | // Author: Alex McNeil
// Date: 4/10/2018
// Purpose: Header file for Gate class
#include <string>
#include "WireClass.h"
#ifndef Gate_H
#define Gate_H
using namespace std;
class Gate {
public:
Gate();//default constructor
Gate(string name, int Delay, Wire In1, Wire In2, Wire outPut); //specified ... | [
"alexanderjmcneil@cedarville.edu"
] | alexanderjmcneil@cedarville.edu |
73145ac266e2da42f2849fe993ff791198cdaa3e | 50b07ae70fe269dadfd9c433a14ff44182f77ee0 | /Old Contest and Practice Problems/ZOMCAV.cpp | 0909842aec74c097cd764c5eaa2f3aaca652d152 | [] | no_license | PrakharUniyal/CompiArchives | 393d72695dcf393500d7dd95d8980f9005139385 | d89d53ae06f47cd2e144aa1df2a255d4e67218a2 | refs/heads/master | 2022-11-24T15:26:35.536346 | 2020-07-30T16:55:40 | 2020-07-30T16:55:40 | 258,544,798 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 790 | cpp | #include <bits/stdc++.h>
using namespace std;
#define li long long
int main()
{
li t;
cin>>t;
while(t--)
{
li n;
cin>>n;
vector<li> c(n),h(n),chg(n+2),p(n);
for(int i=0;i<n;i++)
{
cin>>c[i];
chg[max(i+1-c[i]... | [
"b18128@students.iitmandi.ac.in"
] | b18128@students.iitmandi.ac.in |
d04d5059c040f20b7720e5a2d9b01bbea0e7f17b | ece30e7058d8bd42bc13c54560228bd7add50358 | /DataCollector/mozilla/xulrunner-sdk/include/mozilla/dom/UnionConversions.h | 0bae2d65f823c876cd9f712ac922c3527f3590eb | [
"Apache-2.0"
] | permissive | andrasigneczi/TravelOptimizer | b0fe4d53f6494d40ba4e8b98cc293cb5451542ee | b08805f97f0823fd28975a36db67193386aceb22 | refs/heads/master | 2022-07-22T02:07:32.619451 | 2018-12-03T13:58:21 | 2018-12-03T13:58:21 | 53,926,539 | 1 | 0 | Apache-2.0 | 2022-07-06T20:05:38 | 2016-03-15T08:16:59 | C++ | UTF-8 | C++ | false | false | 112,261 | h | #ifndef mozilla_dom_UnionConversions_h
#define mozilla_dom_UnionConversions_h
#include "AudioTrackBinding.h"
#include "BlobBinding.h"
#include "CanvasRenderingContext2DBinding.h"
#include "ClientBinding.h"
#include "ConsoleBinding.h"
#include "ConstraintsBinding.h"
#include "ContactsBinding.h"
#include "DOMM... | [
"andras.igneczi@doclerholding.com"
] | andras.igneczi@doclerholding.com |
e2c256eac7dba04077b2942737dca7561689e210 | ba4db75b9d1f08c6334bf7b621783759cd3209c7 | /src_main/dmserializers/importsfmv4.cpp | 1dc8ecea2b4781f4dae16077c7fbca2591130ec3 | [] | no_license | equalent/source-2007 | a27326c6eb1e63899e3b77da57f23b79637060c0 | d07be8d02519ff5c902e1eb6430e028e1b302c8b | refs/heads/master | 2020-03-28T22:46:44.606988 | 2017-03-27T18:05:57 | 2017-03-27T18:05:57 | 149,257,460 | 2 | 0 | null | 2018-09-18T08:52:10 | 2018-09-18T08:52:09 | null | WINDOWS-1252 | C++ | false | false | 3,725 | cpp | //====== Copyright © 1996-2006, Valve Corporation, All rights reserved. =======
//
// Purpose:
//
//=============================================================================
#include "dmserializers.h"
#include "dmebaseimporter.h"
#include "datamodel/idatamodel.h"
#include "datamodel/dmelement.h"
#includ... | [
"sean@csnxs.uk"
] | sean@csnxs.uk |
6d5c3503979b50b480b8d6cd816495d64d80ce1e | 8750513879cb6f24648d43ae16b21ba34a6c78bd | /StackAsLinkedList.CPP | 95dd418242bf91e1511185ae6ad9f07cf210d5db | [] | no_license | NamanArora/Cpp-Algorithms | 83fc9ca4cf60af527afe012a34f0c82f56795c3e | 510c22d795f80dbded1bbc97f66b14365154302b | refs/heads/master | 2021-05-04T10:18:13.582458 | 2018-06-30T14:12:19 | 2018-06-30T14:12:19 | 43,776,797 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 701 | cpp | #include<iostream.h>
#include<conio.h>
#include<stdio.h>
#include<stdlib.h>
#include<dos.h>
#include<fstream.h>
struct node
{
int data;
node *next;
};
class stack
{
node *top;
public:
stack()
{
top=NULL;
}
void push(int item)
{
node *p=new node;
if(p==NULL)
{
cout << "Stack full";
}
else
{
... | [
"naman.arora11@gmail.com"
] | naman.arora11@gmail.com |
9bb6bcfb7a2b844d2e156f3955f6ef07a205551e | 29211fecff372e7957c7657c222058773d396388 | /GameClient/ClientNet.cpp | 0ef945009e9822e97a2c889517bdadf263a165f3 | [] | no_license | Kiridmit/mysamples | 40c5754fcaaab223892f9d93c4d390d492992fd1 | 9f8c64f2dfce9d4ded61726d7ac4807553ab1baa | refs/heads/master | 2021-07-04T14:52:26.994102 | 2017-09-26T10:46:06 | 2017-09-26T10:46:06 | 104,870,654 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 955 | cpp | #include "ClientNet.h"
void ClientNet::Start(std::string ip, std::string port) {
slots.connect(netGameClient.sig_connected(), this, &ClientNet::OnConnect);
slots.connect(netGameClient.sig_disconnected(), this, &ClientNet::OnDisconnect);
slots.connect(netGameClient.sig_event_received(), this, &ClientNet::OnEvent)... | [
"kiridmit@gmail.com"
] | kiridmit@gmail.com |
a49145aa72da43dece42ded3691e1b791d618057 | a06515f4697a3dbcbae4e3c05de2f8632f8d5f46 | /corpus/taken_from_cppcheck_tests/stolen_13153.cpp | 93e266e2290a2c6c9ae6884427a051a517f32d74 | [] | no_license | pauldreik/fuzzcppcheck | 12d9c11bcc182cc1f1bb4893e0925dc05fcaf711 | 794ba352af45971ff1f76d665b52adeb42dcab5f | refs/heads/master | 2020-05-01T01:55:04.280076 | 2019-03-22T21:05:28 | 2019-03-22T21:05:28 | 177,206,313 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10 | cpp | ;0xFFFFFF; | [
"github@pauldreik.se"
] | github@pauldreik.se |
773b9519e22162c7dd6618b5c0d91163e1499698 | a62342d6359a88b0aee911e549a4973fa38de9ea | /0.6.0.3/External/SDK/DE_UpdateWorkByNPCID_functions.cpp | b0e54c0ce87b5fc5d2c7c5001d1f13525467df82 | [] | no_license | zanzo420/Medieval-Dynasty-SDK | d020ad634328ee8ee612ba4bd7e36b36dab740ce | d720e49ae1505e087790b2743506921afb28fc18 | refs/heads/main | 2023-06-20T03:00:17.986041 | 2021-07-15T04:51:34 | 2021-07-15T04:51:34 | 386,165,085 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,308 | cpp | // Name: Medieval Dynasty, Version: 0.6.0.3
#include "../pch.h"
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Functions
//---------------------------------------... | [
"zp2kshield@gmail.com"
] | zp2kshield@gmail.com |
02257dba726f96aca19d30fa6af6344a81897661 | 996b75d54e9bdda308a078f93028d2aed667db94 | /Engine/EngineDeps/Deps/third_party/Imgui/imgui_draw.cpp | b23b29d5913b5ca1a516609b294f5413ca08a9a6 | [] | no_license | sravankaruturi/Vermin | f3227c7b4cba85a6b6f877338896bb8c0537bbd3 | 996cca1b9773b2168751f7049623d60c47dbd5c1 | refs/heads/master | 2020-04-05T02:16:16.562568 | 2018-12-04T18:14:41 | 2018-12-04T18:14:41 | 156,470,355 | 2 | 0 | null | 2018-11-21T19:40:36 | 2018-11-07T01:04:14 | C++ | UTF-8 | C++ | false | false | 162,197 | cpp | // dear imgui, v1.62
// (drawing and font code)
// Contains implementation for
// - Default styles
// - ImDrawList
// - ImDrawData
// - ImFontAtlas
// - ImFont
// - Default font data
#if defined(_MSC_VER) && !defined(_CRT_SECURE_NO_WARNINGS)
#define _CRT_SECURE_NO_WARNINGS
#endif
#include "imgui.h"
#define IMGUI_DE... | [
"sravankumarkaruturi@gmail.com"
] | sravankumarkaruturi@gmail.com |
73226c7b42cf769c97539d9086a3747632dcd022 | 46890d2bfb9fb8d0ffae136a210c671c6ae3c3c4 | /FunctionTemplates/main.cpp | c9f964f9ae6b04a3e8ada29f8663c849c053aac2 | [] | no_license | AKQuaternion/Fall2019CS202 | b29ac0603a699912918c95befb9ea08c8ba2f1e8 | 1b877dd85317befcfa44a24148533004537a7abd | refs/heads/master | 2020-07-27T14:55:07.728969 | 2019-11-26T19:01:25 | 2019-11-26T19:01:25 | 209,131,869 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 708 | cpp | #include <iostream>
using std::cout;
using std::endl;
#include <string>
using std::string;
template <typename T, typename U>
void printTwo(const T & t, const U & u) {
cout << t << " " << u;
}
int square(int x) {return x*x;}
int thirteen(int x) {return 13;}
template <typename Func>
void functionCaller(Func f) {
co... | [
"chris.m.hartman@gmail.com"
] | chris.m.hartman@gmail.com |
15903067b1ac8bfe11f3ec2b3c47c77c8914cec5 | 2cae3c65a40a43aa1376fe8f6302ae84b2185b68 | /Analysis/Simulation/.sl64_gcc447/include/fastjet/NestedDefsPlugin.hh | b0f15e88554f4f650553b6cd5a5a3892da03f7fa | [] | no_license | mckinziebrandon/STAR | a7039b28e4ea6367a8e4752abb8036a26722593a | e1626b9f0795cb2e8d339e42fc86b7e4cd9b2d47 | refs/heads/master | 2020-04-25T18:43:53.617355 | 2015-09-30T18:53:20 | 2015-09-30T18:53:20 | 33,167,069 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,883 | hh | //STARTHEADER
// $Id: NestedDefsPlugin.hh 2577 2011-09-13 15:11:38Z salam $
//
// Copyright (c) 2007-2011, Matteo Cacciari, Gavin P. Salam and Gregory Soyez
//
//----------------------------------------------------------------------
// This file is part of FastJet.
//
// FastJet is free software; you can redistribute ... | [
"bsmckinzie@lbl.gov"
] | bsmckinzie@lbl.gov |
24aa0000cbc11cac25f77aa37b954327edfd7649 | de7e771699065ec21a340ada1060a3cf0bec3091 | /analysis/common/src/java/org/apache/lucene/analysis/miscellaneous/KeywordMarkerFilter.cpp | 8451c9e6d2b9241b7524377e69d170f82fe96f51 | [] | no_license | sraihan73/Lucene- | 0d7290bacba05c33b8d5762e0a2a30c1ec8cf110 | 1fe2b48428dcbd1feb3e10202ec991a5ca0d54f3 | refs/heads/master | 2020-03-31T07:23:46.505891 | 2018-12-08T14:57:54 | 2018-12-08T14:57:54 | 152,020,180 | 7 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 929 | cpp | using namespace std;
#include "KeywordMarkerFilter.h"
#include "../../../../../../../../../core/src/java/org/apache/lucene/analysis/TokenStream.h"
#include "../../../../../../../../../core/src/java/org/apache/lucene/analysis/tokenattributes/KeywordAttribute.h"
namespace org::apache::lucene::analysis::miscellaneous
{
... | [
"smamunr@fedora.localdomain"
] | smamunr@fedora.localdomain |
32eb57e5a4bf412891e30b665e96ddb00c232e01 | 197e2a8233a57be2abf4b6908c5abc7f72e3a11a | /subroutines/pirr_pfree_ratio_ps.cpp | 8eb157e807f45a4e82ec83fa51a10293ebc9567a | [] | no_license | mjohn218/FPR_simulator | 59a35e94bcbae8524e226b17a9a1530608e3cdef | 73a1e1be915a7943f5022a250729b0904cb397fb | refs/heads/master | 2021-01-01T16:32:15.384775 | 2017-08-10T03:10:53 | 2017-08-10T03:10:53 | 97,852,538 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,948 | cpp | #include "GF_calls.h"
#include "Faddeeva.hh"
#include "rand_gsl.h"
double pirr_pfree_ratio_ps(double rcurr, double r0, double tcurr, double Dtot, double bindrad, double alpha, double ps_prev, double rtol) {
//double pirr=pirrev_value(rcurr, r0, deltat, Dtot, bindrad, alpha_irr);
//double pfree=pfree_value(rcurr, r0... | [
"osman@jhu.edu"
] | osman@jhu.edu |
1d579f8145fd21154ba9864ac9332a7313daf443 | f8a1624b062ff53cc4ee592587ec341bc77bf21a | /newExpression.h | bdfb1d44d437cf3121ad94502b2c36027488a95c | [] | no_license | kylegwilliam/Project1_Lexer | 8efd6dff52acb4e1a4edaa9ad590092bb6cdc224 | baf514e7ac6d6f230d8cff0e49d00e0019a65cb1 | refs/heads/master | 2023-03-22T03:59:50.734092 | 2021-03-10T02:53:52 | 2021-03-10T02:53:52 | 337,579,715 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 726 | h | //
// Created by Kyle Gwilliam on 2/26/21.
//
#ifndef PROJECT1_LEXER_NEWEXPRESSION_H
#define PROJECT1_LEXER_NEWEXPRESSION_H
#include "Parameter.h"
class newExpression : public Parameter {
private:
public:
string operatorAddMult;
Parameter* leftParam;
Parameter* rightParam;
string toString();
... | [
"kylegwilliam@gmail.com"
] | kylegwilliam@gmail.com |
4d95ce11aee2a605110d63c5e1a8abd5c589871f | 66257fa9bf3025d4398d11d01f19e559a350ee5b | /SDA/Module/DB/Mappers/DataTypeMapper.h | 9b1c053f3edc7ffc9b8c468007e586a445e53112 | [] | no_license | Fleynaro/MultiPlayer | 79a7e3e646ef23f5851d5ecc257ad0d77adc6ca1 | eb4310e0c61ab7126b3e3e31b322add999cef44b | refs/heads/master | 2023-06-12T16:00:53.713952 | 2021-05-14T14:14:15 | 2021-05-14T14:14:15 | 233,058,852 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,064 | h | #pragma once
#include <DB/AbstractMapper.h>
#include <Code/Type/AbstractType.h>
namespace CE {
class TypeManager;
};
namespace DB
{
class EnumTypeMapper;
class StructureTypeMapper;
class ClassTypeMapper;
class TypedefTypeMapper;
class SignatureTypeMapper;
class DataTypeMapper : public AbstractMapper
{
publi... | [
"dariusjohnson555@gmail.com"
] | dariusjohnson555@gmail.com |
b6fe0e0525f7a3e8f58aeca9a3eca2b50ab90e13 | 45ca744b94418fe1ce3860048b071cc0ae4a3c62 | /xunlei1/myclass.h | 6dbaf595002f40b99287bfab3a8770f998c00823 | [] | no_license | squirrelClare/OnlineWrittenExamination | ec25937460d8b67495f9ec1784bb2691c4869d8a | 04213b0efa949f2ea68923cad4db3efcf305acff | refs/heads/master | 2021-01-10T03:39:03.776954 | 2015-10-21T13:36:25 | 2015-10-21T13:36:25 | 44,678,676 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 220 | h | #ifndef MYCLASS_H
#define MYCLASS_H
class MyClass
{
public:
MyClass();
// int a;
~MyClass();
int show(){
return 13;
}
private:
virtual int get(){
return 2;
}
};
#endif // MYCLASS_H
| [
"zcc136314853@hotmail.com"
] | zcc136314853@hotmail.com |
fdd07c7aafeefaf2f382689ccc818c7e3e477337 | be6601674657294784b9ef455c1773d73ad657d9 | /PandoraSDK/src/Objects/ParticleFlowObject.cc | c30a17fb9e584fbd16a5f709c51b91ed65ce35d2 | [] | no_license | cms-externals/pandora | 0a7a7eaec6596f57bec89f28e72ac4eb04a68eb7 | 41abc90c25109c5bc91896079546e53a8586c057 | refs/heads/master | 2016-09-05T13:13:39.703922 | 2015-03-12T09:48:17 | 2015-03-12T09:48:17 | 31,168,496 | 0 | 1 | null | 2015-03-12T09:48:20 | 2015-02-22T16:01:51 | C++ | UTF-8 | C++ | false | false | 6,724 | cc | /**
* @file PandoraSDK/src/Objects/ParticleFlowObject.cc
*
* @brief Implementation of the particle flow object class.
*
* $Log: $
*/
#include "Objects/Cluster.h"
#include "Objects/OrderedCaloHitList.h"
#include "Objects/ParticleFlowObject.h"
#include "Objects/Track.h"
namespace pandora
{
ParticleFlowOb... | [
"a.degano@gmail.com"
] | a.degano@gmail.com |
145af177e8b3ad1f3e95b29f9c84e8d79906e425 | 7d9ba9adeb3673c09c73e68da71861e83888df67 | /main/blind.h | bd66e59e57912359a6f903e712a4b0f1ad23ac9b | [] | no_license | apexskier/blind-minder | efe696b12b45999717316558ef1ac4e635d981bc | 6df67604e157ddc7ce41a72799432916a2615b0d | refs/heads/master | 2020-12-24T11:24:37.970828 | 2016-12-06T17:00:14 | 2016-12-06T17:00:14 | 73,033,999 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 769 | h | #include <Servo.h>
typedef int (*read_servo_val_func) ();
enum ServoStatus { positive, negative, stopped };
class Blind {
public:
int target_angle; // flat, 90 deg => up, -90 deg => down. won't ever go all the way
bool obstruction_detected;
ServoStatus status;
Blind();
Blind(int servo_pin, read_... | [
"cameron@camlittle.com"
] | cameron@camlittle.com |
abdbebaf35b4c8bcde4f7c04037af5b91ff8ebe2 | 5b511602ee4165fa95a5d178c573f67a34c0563a | /examples/common/CommonEvents.cpp | 93c8f8b594a48aa36df33025939f3621e95d5faa | [
"Apache-2.0"
] | permissive | savageking-io/evelengine | ca88d00dc6375181248a7131a721afe72750b1ee | f4f31419077e3467db271e82b05164eafa521eb7 | refs/heads/master | 2023-03-01T23:39:47.842808 | 2021-02-09T13:36:36 | 2021-02-09T13:36:36 | 261,850,906 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 274 | cpp | #include "CommonEvents.hpp"
CommonEvents::CommonEvents(const std::string& id) : EvelEngine::EventBase(id)
{
}
CommonEvents::~CommonEvents()
{
}
void CommonEvents::handleKeyUp(SDL_Keycode key)
{
if (key == SDLK_F3)
{
_engine->log()->debug("F3");
}
}
| [
"criotos@gmail.com"
] | criotos@gmail.com |
70def3834686ce3adf8ececbdeb7703ae125ac60 | ca780c75c1e7339ee2cc8802b18c48cf70f10172 | /re2c/src/re/empty_class_policy.h | caf60a410c42d7250d4491d474346c6dfc816e1f | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] | permissive | gkantsidis/re2c | b8f793c727dc4cb96ef12d862e687afdeb9fc3b3 | 8a82ee027744a3a21ae45c70ace0d5076cf591a8 | refs/heads/master | 2021-05-04T13:25:42.903156 | 2018-02-06T14:34:06 | 2018-02-06T14:34:06 | 120,313,604 | 1 | 0 | null | 2018-02-05T14:12:48 | 2018-02-05T14:12:48 | null | UTF-8 | C++ | false | false | 330 | h | #ifndef _RE2C_RE_EMPTY_CLASS_POLICY_
#define _RE2C_RE_EMPTY_CLASS_POLICY_
namespace re2c {
enum empty_class_policy_t
{
EMPTY_CLASS_MATCH_EMPTY, // match on empty input
EMPTY_CLASS_MATCH_NONE, // fail to match on any input
EMPTY_CLASS_ERROR // compilation error
};
} // namespace re2c
#endif // _RE2C_RE_EMPTY_CLAS... | [
"skvadrik@gmail.com"
] | skvadrik@gmail.com |
2027c75a4451dfa017cea0c1a9e23cd071ff8ee5 | afbd1dc4af29236c2bacbae09cbb0743827aae2c | /src/ADTs/interfaces/Stack.h | 7ae2b01dfd50767aa97d2f40deab6994274599e3 | [
"MIT"
] | permissive | StrayDragon/DataStructure-Algorithm-Cpp | b6ce185640f3a5a9c52cca31596e506e7798ca34 | 276b6ca9df54f2425732f7c9c9e9dd60c59033d1 | refs/heads/master | 2020-04-01T00:46:08.540197 | 2019-12-09T05:04:31 | 2019-12-09T05:04:31 | 152,712,671 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,073 | h | //
// Created by straydragon on 18-10-13.
//
#ifndef DATASTRUCTURE_ALGORITHM_CPP_STACK_H
#define DATASTRUCTURE_ALGORITHM_CPP_STACK_H
/**
* @brief 栈(Stack) 接口声明
*
* @tparam E 元素声明
*/
template <typename E>
class Stack {
public:
/**
* @brief 判断栈是否为空
*
* @return true 栈为空
* @return false 栈不为空
*/
vi... | [
"straydragonl@foxmail.com"
] | straydragonl@foxmail.com |
e081c5ac492b1f6d6444d02d61ed0c24fbe6beb5 | 395d1860e82bc75ccc04b91c4b9a8fa46276d9bb | /Source/Geometry/Collide/DataStructures/Planar/Solid/hkcdPlanarSolid.inl | 965adac666f1f4a449ed8495ba3ef207e03043e6 | [] | no_license | Hakhyun-Kim/projectanarchy | 28ba7370050000a12e4305faa11d5deb77c330a1 | ccea719afcb03967a68a169730b59e8a8a6c45f8 | refs/heads/master | 2021-06-03T04:41:22.814866 | 2013-11-07T07:21:03 | 2013-11-07T07:21:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,005 | inl | /*
*
* Confidential Information of Telekinesys Research Limited (t/a Havok). Not for disclosure or distribution without Havok's
* prior written consent. This software contains code, techniques and know-how which is confidential and proprietary to Havok.
* Product and Trade Secret source code contains trade secrets ... | [
"joel.van.eenwyk@havok.com"
] | joel.van.eenwyk@havok.com |
45213d036033333b387bd380826270f5a41f3119 | 3540dc1216642b1e678de18bca58c1c172cefcf0 | /w7_Scope_LifeCycle/Scope.h | 0a3e3a8cf08ff171a0134bcdfa1b04e957dee184 | [] | no_license | Sudouble/TheBeautyOfCompiling | 5588e8bc185b61de7a8aee2cffc8ed25a20ce9a0 | 7f1e36d07cfcf05a9bd578a75fb8086da514d41a | refs/heads/master | 2022-03-26T21:55:48.281125 | 2019-11-13T10:07:33 | 2019-11-13T10:07:33 | 210,384,357 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 130 | h | #pragma once
#include "Symbol.h"
#include <vector>
using std::vector;
class Symbol;
class Scope
{
vector<Symbol> symbols;
};
| [
"472434557@qq.com"
] | 472434557@qq.com |
87f99c84af72e28f450c9294e17f9bdc2e9c35f8 | 76e33c5c200d1672a282dc719c3bc369c59befdb | /binary-search/search-in-rotated-sorted-array-ii.cpp | 75ffa8e8d8465a9fc14bb69a71f33230cf15f02f | [] | no_license | sankalpkotewar/algorithms-1 | cdc851a4695e0dd6d9aee360923c7af06dea837f | 22a8a2e1d29d60ee6b5070f32d5d9c30cd5f9780 | refs/heads/master | 2022-11-11T17:48:19.366022 | 2020-07-09T10:31:20 | 2020-07-09T10:31:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 657 | cpp | #include "binary-search.h"
/*
* Suppose an array sorted in ascending order is rotated at some pivot unknown to you beforehand.
(i.e., [0,0,1,2,2,5,6] might become [2,5,6,0,0,1,2]).
You are given a target value to search. If found in the array return true, otherwise return false.
Example 1:
Input: nums = [2,5,6,0,... | [
"ozcanay@itu.edu.tr"
] | ozcanay@itu.edu.tr |
b1526e7591e69ab01f93ea16f7ec633c114cc8cf | c690f08338fd6fdd365bdd55e01348655dd5bc9c | /include/room.h | c2535efd7a728c26db223d9d508ba034e3c4c79e | [] | no_license | dustin-ward/Text-Based-Adventure-Game | 927af00559048b67459acc21eb6b81e9f2794e20 | 10f5c26cdae5004934265fbb2c21ad59d246a686 | refs/heads/master | 2020-09-25T12:52:42.382656 | 2019-12-05T03:41:21 | 2019-12-05T03:41:21 | 226,008,386 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,155 | h | /*
* Copyright 2019 Team Electra
* @author Dustin Ward, <dustin.ward@uleth.ca>
@author Jared Sisco, <j.sisco@uleth.ca>
* @date 2019-11
*/
#ifndef INCLUDE_ROOM_H_
#define INCLUDE_ROOM_H_
/**
* A class used to implement all rooms
*/
#include <vector>
#include <string>
#include "./NPC.h"
/**
* An ... | [
"noreply@github.com"
] | noreply@github.com |
1cd7bd607c38b3c16b679f65484440e3a5eec7ec | 54c11990f08dfdf4abca67aa6d7c6a30588c8db8 | /EjercicioROMPECABEZAS/main.cpp | 87f68df5d87c2868ccc8d01b0c4dd548191eb298 | [] | no_license | rafaelcanoguitton/CCOMP2 | 1951e57844febf58b7777c74a0e1a4d07fac694c | 8f26ccdb122f13efdf6771773ad6a3ac1e7ed161 | refs/heads/master | 2021-01-19T12:42:16.103709 | 2017-10-21T15:06:02 | 2017-10-21T15:06:02 | 100,798,739 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 366 | cpp | #include <iostream>
using namespace std;
void impr(int (*p)[4])
{
for (int i=0;i<4;i++)
{
cout<<**p;
}
cout<<endl;
}
int main()
{
int m[4][4]={{1,2,3,4},{5,6,7,8},{9,10,11,12},{13,14,15,16}};
int *p=m[0];
int (*a)[4]=m;
impr(a);
a++;
impr(a);
return 0;
}
//*(b[i]+j... | [
"ALUMNO-D@UCSP.AULAB"
] | ALUMNO-D@UCSP.AULAB |
2f9ea35033681d44fce08315192d78533eb2acc8 | 8f9ea3f14bdf2187de759939b2bbc87fe68ccfc0 | /tensorflow/core/common_runtime/lower_if_op.cc | b5fee36ff43e0808ee4128d55dcbcf2935889f0d | [
"Apache-2.0"
] | permissive | davidstanke/bazel-mvn-demo | 4ea43f0ba293a28b916a27eab5f0812e9b753c2c | cff14dddce15ea7152988da576673bd15bab6c6e | refs/heads/master | 2022-10-20T07:52:29.651851 | 2018-11-22T13:17:51 | 2018-11-22T13:17:51 | 157,782,756 | 2 | 0 | Apache-2.0 | 2022-10-04T23:47:05 | 2018-11-15T22:54:09 | C++ | UTF-8 | C++ | false | false | 9,943 | cc | /* Copyright 2018 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... | [
"davidstanke@gmail.com"
] | davidstanke@gmail.com |
ee5de7d3ce5dbe7b88500ddd966b21ff6ccac8f9 | 46999d9c4258959d251c3356beb027f69ea12275 | /Tree/tree.cpp | 5c067120f5221f6b6a9d115991c63f2f3765da94 | [] | no_license | GauravTanwar15/Data-Structures-practice | 9611d2658ea88675b0db021bb8983e1d5bd68cf1 | b85f9f35ab823e86c0eb39f2ca6a4394f40564fd | refs/heads/master | 2023-04-09T21:38:18.132038 | 2021-04-28T14:19:19 | 2021-04-28T14:19:19 | 346,328,604 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,216 | cpp | #include <stdio.h>
#include <stdlib.h>
#include "Queue.h"
struct Node *root=NULL;
void Treecreate()
{
struct Node *p,*t;
int x;
struct Queue q;
create(&q,100);
printf("Eneter root value ");
scanf("%d",&x);
root=(struct Node *)malloc(sizeof(struct Node));
root->data=x;
root->lchild=root->rchild=NULL;
enqueue... | [
"gaurav.tanwar19@bvicam.in"
] | gaurav.tanwar19@bvicam.in |
dc7a54f7b0ab896b4653a779269a2554f84384c1 | 8aee93ee0dc09c6cf9df91a215713fa957fa883b | /test/config/autogen/fill_style_r.re | f843a5947bbb14d1f52bd46a6926e00616d35dbc | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] | permissive | trofi/re2c | 7bbe5a3ffa6398c69d3e48886fcd2c38f88296c6 | 51c3d5f5acd18da6aea9d3deebc855776344fe8f | refs/heads/master | 2022-07-11T21:33:43.253548 | 2022-07-03T08:24:37 | 2022-07-03T08:24:37 | 270,314,465 | 0 | 0 | NOASSERTION | 2020-06-07T13:25:47 | 2020-06-07T13:25:46 | null | UTF-8 | C++ | false | false | 3,834 | re | // re2c $INPUT -o $OUTPUT -ri
/*!rules:re2c
[a] { a }
* { x }
*/
/*!use:re2c
*/
// re2c:api:style = free-form;
/*!use:re2c
re2c:api:style = free-form;
*/
// re2c:api:style = functions;
/*!use:re2c
re2c:api:style = functions;
*/
// re2c:yyfill:parameter = 0;
/*!use:re2c
re2c:yyfill:parameter = 0;
*/
// ... | [
"skvadrik@gmail.com"
] | skvadrik@gmail.com |
319f1362d4f6a0ba0dca77fd262907e8cbb69e9c | 839dcaa6cae01eb243d3a1be3754249a5018112f | /Practica_2/include/Thread_Structure.h | 619d7f17b3c0512ecafeb586c38614b53e92022f | [] | no_license | ERV501/SSOOII_P2 | 2ad5d91f0ce62635f0cc448fc8b212d2e9b6df48 | 42b47876cadfd121b88f45858ca1f3e29d21dd91 | refs/heads/main | 2023-02-27T08:33:25.039903 | 2021-02-02T21:48:14 | 2021-02-02T21:48:14 | 335,444,268 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 693 | h | #pragma once
#include "../include/Result_Structure.h"
#include "../include/definitions.h"
#include <iostream>
#include <fstream>
#include <thread>
#include <list>
#include <string>
using namespace std;
class Thread_Structure{
private:
int task_begin;
int task_end;
int n_thread;
string task_word;
... | [
"ERV501@gmail.com"
] | ERV501@gmail.com |
cb54a5b8dc3aa498eea8164e53efd0d9c2f2d9bb | d70ad481a9fd1f2feb968afd1af272cfa001cdd7 | /AMod/MolTopo.h | b38fbb09b4259d752e5d86598a730a5647d28082 | [] | no_license | hoang6/2D-materials | 1f34346a97c84e510867569376315defcb3d5fb7 | d0946a119e0e0b9a273f9196b336fbe53e23e2a7 | refs/heads/master | 2021-01-01T05:15:48.811837 | 2016-05-12T20:08:29 | 2016-05-12T20:08:29 | 58,672,222 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,219 | h | #ifndef _AMOD_MOL_TOPO_H
#define _AMOD_MOL_TOPO_H
#include "MolService.h"
#include "Atom.h"
#include "Trans.h"
#include "../Util/Accessors.h"
#include "../Util/PtrCont.h"
#include "../Util/Array2D.h"
#include <map>
#include <list>
#include <vector>
namespace AMod {
class Molecule;
typedef enum {MODE_NULL = 0, MODE_... | [
"tuan.l.hoang@gmail.com"
] | tuan.l.hoang@gmail.com |
13b385cab0642aedb9f3acdd15d5af8af7681073 | d2a12d935fb1d6cf1798cb4595c5652151f92714 | /examples/lock-app/esp32/main/DeviceCallbacks.cpp | 408a25a82e506286524f95a2dacbd4461970caac | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | RunnerL/connectedhomeip | eafe2b70561483f19e10a0fa3de3077dbfc53f99 | ebd9e0a2b1a00d71918b2bd223e1da1ae120466e | refs/heads/master | 2023-05-21T11:32:41.864533 | 2021-05-26T02:51:24 | 2021-05-26T02:51:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,042 | cpp | /*
*
* Copyright (c) 2020 Project CHIP 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... | [
"noreply@github.com"
] | noreply@github.com |
9ff618b3182a81cc87114c43a98014792f8c033c | f5340054536ff4f68736f51b1347b52c88880aab | /vcl/shape/mesh/mesh_primitive/mesh_primitive.cpp | 452de27a9d01e3f4660e2bc2b8d6f5f66a62b491 | [] | no_license | aliciafmachado/minecraft-clone | 0e853b2f8fb0855511d705723f32aee1299aee54 | 126a45fa1180839112a17681372ced909e1fa379 | refs/heads/master | 2023-01-22T13:08:10.981919 | 2020-12-07T17:47:07 | 2020-12-07T17:47:07 | 265,665,442 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 14,053 | cpp | #include "mesh_primitive.hpp"
#include "vcl/math/math.hpp"
namespace vcl
{
std::vector<uint3> connectivity_grid(size_t Nu, size_t Nv, bool periodic_u, bool periodic_v)
{
std::vector<std::array<unsigned int,3> > triangle_index;
for(size_t ku=0; ku<Nu-1; ++ku) {
for( size_t kv=0; kv<Nv-1; ++kv) {
... | [
"iago.martinelli.lopes@usp.br"
] | iago.martinelli.lopes@usp.br |
1afa50159a980bbea8a6a19a3ddfcd473eeb66cf | 3366bb6ef42307f64db392fc84f01c39ca627489 | /example/example.cpp | c15c7357895747f2d96d0d24a2c6a03e6e49089e | [
"MIT"
] | permissive | psigen/rules_debian | 0d6cce7204931dc7fbe8af6a5314a838135179f8 | e374e319b864d5bd251407565eebc8ddf0e6597f | refs/heads/master | 2023-03-06T22:54:05.907490 | 2023-02-20T23:39:17 | 2023-02-20T23:39:17 | 260,598,751 | 2 | 3 | MIT | 2023-02-20T23:25:52 | 2020-05-02T02:25:54 | Starlark | UTF-8 | C++ | false | false | 567 | cpp | ///
/// Adapted from The Boost C++ Libraries: Boost.System, Example 55.5
/// See: https://theboostcpplibraries.com/boost.system
///
#include <boost/system/error_code.hpp>
#include <boost/system/system_error.hpp>
#include <iostream>
using namespace boost::system;
void fail()
{
throw system_error{errc::make_error_c... | [
"noreply@github.com"
] | noreply@github.com |
71267d30a01898053aa4b2d1a80d6bf4bb8c94b5 | 48298469e7d828ab1aa54a419701c23afeeadce1 | /Client/OGRE/PlugIns/BSPSceneManager/src/OgreBspNode.cpp | 7ec6a2287fe211cb7ed7eca9ef43ff9ca2927626 | [] | no_license | brock7/TianLong | c39fccb3fd2aa0ad42c9c4183d67a843ab2ce9c2 | 8142f9ccb118e76a5cd0a8b168bcf25e58e0be8b | refs/heads/master | 2021-01-10T14:19:19.850859 | 2016-02-20T13:58:55 | 2016-02-20T13:58:55 | 52,155,393 | 5 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 6,516 | cpp | /*
-----------------------------------------------------------------------------
This source file is part of OGRE
(Object-oriented Graphics Rendering Engine)
For the latest info, see http://www.ogre3d.org/
Copyright (c) 2000-2005 The OGRE Team
Also see acknowledgements in Readme.html
This program is free software... | [
"xiaowave@gmail.com"
] | xiaowave@gmail.com |
8415d6ed9a6358e2f3071d0cf59d39f222b9fc8f | 93925ac586cd1d70b2bf6efe7ac43498877a17b8 | /HackerRank/Algorithms/Warmup/Simple Array Sum.cpp | b7ed07c61ffeada96cb8c9a06d7fbdea7bbd048e | [] | no_license | LeeSongA/Coding | 10bbb734d9bac157fdebbd184f1d2c2e904e1d1b | f261e885f998a0aa37206bab36409626a0b88ce9 | refs/heads/master | 2022-01-15T16:03:37.102635 | 2019-06-05T05:50:10 | 2019-06-05T05:50:10 | 113,270,930 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,611 | cpp | #include <bits/stdc++.h>
using namespace std;
vector<string> split_string(string);
/*
* Complete the simpleArraySum function below.
*/
int simpleArraySum(vector<int> ar) {
int sum = 0;
for (int ar_itr = 0; ar_itr < ar.size(); ar_itr++) {
sum += ar[ar_itr];
}
return sum;
}
int main()
{
... | [
"thddk0317@nate.com"
] | thddk0317@nate.com |
8a84c85b5f2a0129f433573a602530eed04e0dd5 | 23695d2dc657907d97607d2fd9ff8a62dcb42ee9 | /water/logs/flush_thread.hpp | af72ef16b3de6613b75ab4ea2b46d4c82b13c1b8 | [
"MIT"
] | permissive | watercpp/water | 3833e1c6e5d86f5dbebc154f733c0955ef71f7e4 | 446af3faf96e2a4daecdb65121b8c9fd0d891df9 | refs/heads/master | 2023-08-22T21:07:42.894764 | 2023-08-20T13:43:28 | 2023-08-20T13:43:28 | 86,233,011 | 7 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,274 | hpp | // Copyright 2023 Johan Paulsson
// This file is part of the Water C++ Library. It is licensed under the MIT License.
// See the license.txt file in this distribution or https://watercpp.com/license.txt
//\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_
#ifndef WATER_LOGS_FLUSH_THREAD... | [
"johan@johanswork.com"
] | johan@johanswork.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.