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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
91c2bbdf1da2e3a72820b3742bb80bfc229db887 | 75a9a84935c5cf75b17e93827f2f9a5d5f4d5777 | /C++/C++Primer/Chapter_4/4_31.cpp | fb1fe4f3bcd685852c6b19cddf23a5713409426f | [] | no_license | weetee/something | 8bfdf64839f86f03aaae1f82811596ede52f2885 | 2674b7b9f0a77815f4592b3b445a4332ffb0e2e9 | refs/heads/master | 2020-08-30T10:15:03.411361 | 2018-07-31T00:01:41 | 2018-07-31T00:01:41 | 94,389,644 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 363 | cpp | #include <iostream>
#include <vector>
using namespace std;
int main()
{
vector<int> ivec{0,1,2,3,4,5,6,7,8,9};
auto cnt = ivec.size();
for (vector<int>::size_type ix = 0; ix != ivec.size(); ix++, cnt--)
{
ivec[ix] = cnt;
}
auto itr_b = ivec.cbegin();
while (itr_b != ivec.cend())
cout << *itr... | [
"weitaoee@gmail.com"
] | weitaoee@gmail.com |
d4fa62faa3d5bbd73592790ee8593cfac472e7a9 | 816eb8f54f3e2514e6dfaf11b18905ca9b6502d5 | /ARRAY_PATTERN.CPP | 522a3c9f46d696ed3631b15720d917e3b98e5449 | [] | no_license | saurabhsaini400/cpp-codes | 93da5c790248a534469af998115452020565f327 | e74737510d0f43851a9f5402f8479a6b31d6818d | refs/heads/master | 2021-11-11T16:21:09.623529 | 2021-11-01T17:09:54 | 2021-11-01T17:09:54 | 209,827,199 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 565 | cpp | #include <bits/stdc++.h>
using namespace std;
int main() {
int arr[]={3,-2,1,4};
int max=4;
int mat[6][4]={0};
for(int i=0;i<4;i++){
int curr=arr[i];
if(curr>0){
for(int j=max-curr;j<max;j++){
mat[j][i]=99;
}
}
else{
for(int j=max;j<6;j++){
mat[j][i]=99;
... | [
"noreply@github.com"
] | saurabhsaini400.noreply@github.com |
495b75f5165d748796f000b3ca57e929f170096c | 6fa38495bd2f20492d35ac3e2777395c91d2d0ed | /emotional_system/theatre_bot/src/Parameters/MovementParameters/Quaternion.cpp | 41680569e4c283d86bf7a2b358e63e3dad23adcc | [] | no_license | stefankurz1/pepper_emotion | e32ee3d1c401fd3bc23bcbd57efcc796372f3131 | dd9cfc134480fa1a23b1baa1f9f61bf63d7af828 | refs/heads/master | 2020-12-02T21:00:56.396287 | 2017-07-04T18:53:23 | 2017-07-04T18:53:23 | 96,239,593 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 961 | cpp | /*
* Quaternion.cpp
*
* Created on: Jan 21, 2015
* Author: julian
*/
#include "Quaternion.h"
Quaternion::Quaternion() {
x = 0;
y = 0;
z = 0;
w = 1;
}
Quaternion::~Quaternion() {
// TODO Auto-generated destructor stub
}
float Quaternion::getYaw(){
return asinf(2*x*y + 2*z*w);
}
float Quaternion::ge... | [
"skurz12@gmx.at"
] | skurz12@gmx.at |
2360aedce607a403121b746114d857b1db6905cf | d3b6744911848d470aa2621ca3b49b7cfcd47e87 | /Lab7/AVLInterface.h | 9f76f335a04860cca66bac08f796555c99557ac7 | [] | no_license | hbodang/cs235 | 1518f85397d3ca0156dffc5d9eb9cc9b7a65c474 | dcb45c278fe9732872b65e57bc6d45a84972a0d1 | refs/heads/master | 2020-12-14T04:52:30.327367 | 2020-01-18T23:41:48 | 2020-01-18T23:41:48 | 234,645,442 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,109 | h | //YOU MAY NOT MODIFY THIS DOCUMENT
/*
*/
#pragma once
#include "NodeInterface.h"
//using namespace std;
class AVLInterface {
public:
AVLInterface() {}
virtual ~AVLInterface() {}
//Please note that the class that implements this interface must be made
//of objects which implement the NodeInterface... | [
"noreply@github.com"
] | hbodang.noreply@github.com |
514ba84278f1f8307669a80907fca60972355be5 | 7548ff48005d063d31033fd0129ab6461ec2f305 | /URI/2484---Abracadabra.cpp | eaddb003d71720c33945e53f8b02bbc3fed19ccf | [] | no_license | elissandro13/Problems-Solved | 423d554b604f03dadbef7461efe96886eb0c71dd | 1b3b745283c5cd19a5f988120cb95ba151b9e5f8 | refs/heads/master | 2020-06-26T20:33:36.652931 | 2020-04-07T20:20:30 | 2020-04-07T20:20:30 | 199,749,609 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 519 | cpp | #include <stdio.h>
#include <string.h>
void imprimeEspaco(int i) {
int j;
for (j = 0; j < i; j++) {
printf("");
}
}
void imprime(char p[], int tam) {
int j;
for (j = 0; j < tam; j++) {
printf("%c", p[j]);
if (j < tam - 1) {
printf("");
}
}
}
int main() {
int i, tam;
char p[100];
... | [
"ecjunior19@gmail.com"
] | ecjunior19@gmail.com |
9d88d6a45ce1030f35d9bb29cfebc9aa1ee4ad57 | ea89955e343ced5e705b4a338039e658a4ba67cb | /Session14-RaveGun/Cancelable.h | 2174f06d0c4b59d9eb9a4d0700f233a476b04baa | [] | no_license | kennethdmiller3/videoventure | 775ce24ee4aebe3dfc65876a3fc9abb93f29b51d | 7182b78fde61421c48abc679ef6f2992e740d678 | refs/heads/master | 2021-06-03T19:26:26.704306 | 2020-07-25T05:37:02 | 2020-07-25T05:37:02 | 32,195,803 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 913 | h | #pragma once
class CancelableTemplate
{
public:
unsigned int mSpawn;
unsigned int mSwitch;
bool mTethered;
float mBacklash;
public:
CancelableTemplate(void);
~CancelableTemplate(void);
// configure
bool Configure(const TiXmlElement *element);
};
class Cancelable
{
protected:
unsigned i... | [
"kennethdmiller3@44a3119c-8d4d-0410-be80-6906e8c8b632"
] | kennethdmiller3@44a3119c-8d4d-0410-be80-6906e8c8b632 |
ce4ed884a4b9f31f7c0de25b3fe53fb2a038e681 | 3b4db29ebde79579801d8952e8c84d4fcefb81bc | /RenderUtility/GLSLProgram.cpp | 4b3c79c3ae7b8903f2ab73671a7aa4638ace897e | [] | no_license | shusenl/simple-glsl-raycaster | beeb5f2b679e89733e3aa7c6050e4a0469ae9ca3 | b35ec4317b43924f0f861d0fe8e186224db3c485 | refs/heads/master | 2021-03-12T21:19:48.424678 | 2015-10-06T05:37:44 | 2015-10-06T05:37:44 | 43,574,771 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,496 | cpp | #include"GLSLProgram.h"
#include <fstream>
#include <cstring>
#include <cstdlib>
using namespace std;
GLSLProgram::GLSLProgram()
{
}
GLSLProgram::~GLSLProgram()
{
if(buffer)
delete buffer;
}
void GLSLProgram::checkInput(const char * filename)
{
FILE *fp = fopen(filename, "r");
if(!fp)
... | [
"shusenl@sci.utah.edu"
] | shusenl@sci.utah.edu |
38d156df9dfaf17234cbf0aea3c9ed8d02e799fd | 1564473e7cac4f20b80681bc8f9d66122ff0e4b3 | /windows/src/qt/walletmodel.cpp | 9a6f8b7d98354e3eb4aae597d222f65fa26fdb97 | [
"MIT"
] | permissive | rappidzpay/RapidzPay | 15720c61837736a161c82c2e23379d00dc700f2e | 76a53e4b049800a758b6a30263a1fdf6ad6731e5 | refs/heads/master | 2021-08-07T18:22:23.695867 | 2017-11-08T18:10:35 | 2017-11-08T18:10:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,559 | cpp | #include "walletmodel.h"
#include "guiconstants.h"
#include "optionsmodel.h"
#include "addresstablemodel.h"
#include "transactiontablemodel.h"
#include "ui_interface.h"
#include "wallet.h"
#include "walletdb.h" // for BackupWallet
#include "base58.h"
#include <QSet>
#include <QTimer>
WalletModel::WalletModel(CWallet... | [
"johnsmith@nowhere.com"
] | johnsmith@nowhere.com |
6d54c93460f3c4883f508769cf885124d3b5396e | 3b21f6436c53d9c74d345a3b4fb743e3ce1e1a41 | /Volume_114/11492/babel.cpp | f69c2e12751a356e3517c938711ff4e9e3854d59 | [] | no_license | wilson100hong/UVAOJ | c8202e0e844b82f7a9861b9844b1092eb1468cfc | fa88f79f38ce1261fcb72fb452648d488db49f2f | refs/heads/master | 2022-02-10T17:16:47.802137 | 2022-02-08T06:18:12 | 2022-02-08T06:18:12 | 9,843,018 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,261 | cpp | // for each language, create 26 nodes for it
#include <iostream>
#include <set>
#include <utility>
#include <map>
#include <unordered_map>
#include <vector>
using namespace std;
int min(int a, int b) {
return a < b ? a : b;
}
struct Node{
int index;
string lang; // language
unordered_map<int, int> edges; /... | [
"wilson@skydio.com"
] | wilson@skydio.com |
869401580661916c1ef1f53efadb07971280a7a5 | 154d33ccb7ee12269db6da2834ba46bc0db3e4b3 | /php/data/tplcache/317408e28d3edb9db93f3dbb497dc25c.inc | 969e200a590a787f0dcdb822ebc19cc09ad52a19 | [] | no_license | jilifeng/qicaimengs | 187d853803f6470fe19db5c640518838f1f7e5a4 | 0e809607e447df9eb4c96a72ac7927a276375fae | refs/heads/master | 2021-09-09T23:10:13.744522 | 2018-03-20T06:30:55 | 2018-03-20T06:30:55 | 125,970,998 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 104 | inc | {dede:arclist orderby='pubdate'}
["videoname":"[field:title/]","id":[field:id/]],
{/dede:arclist} | [
"2055942628@qq.com"
] | 2055942628@qq.com |
ff0d00cd6b685132ef46997c63d97bfbb7494549 | 263dcd87f1d4749eb2aa6dd1a72fabe0fecfd612 | /src/Connection.h | 427a583b61288224c0c0671f9a3998f4f3b04a26 | [] | no_license | atulkulk/p2pservant | dd98c08057ad1ca1bdea9bd59e3766a5c07ba5ee | 91b32fa38056b3d4f2b6c68f9a3cdf03e2b5f798 | refs/heads/master | 2016-08-12T03:08:49.397572 | 2015-10-28T04:24:20 | 2015-10-28T04:24:20 | 45,087,028 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,100 | h | #include "CommonHeaderFile.h"
using namespace std;
//Declared in Connection.cpp
typedef struct CommonData
{
uint8_t msg_type;
char *UOID;
uint8_t TTL;
uint32_t nw_datalen;
uint16_t ReceivingPort;
char *Request;
uint16_t DestPort;
struct CommonData *next;
};
extern struct CommonData *CData_He... | [
"eeqmcsq.42@gmail.com"
] | eeqmcsq.42@gmail.com |
49cbe8e4433a25c3834612d2cb9f812c62ab296a | 40f071928292bf8c41ee1515f61bc5c5fc27e83c | /Game/VGame.cpp | 02cc8a9571a2c2f3e08f25293942ca17cfba1103 | [] | no_license | SteveVerhoeven/GPUInstancing | 4f529b3d8b9cb531562f48e18d24bfb98c729d94 | bc1ab9304c89511b9bfda039d9f4d3cf44e0f1d8 | refs/heads/main | 2023-07-30T18:18:56.101669 | 2021-09-23T17:30:04 | 2021-09-23T17:30:04 | 408,576,750 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 542 | cpp | #include "pch.h"
#include "VGame.h"
#include <SceneManager.h>
#include "Scene_Game.h"
VGame::VGame(const std::string& name)
: Game(name)
{}
void VGame::Initialize(HINSTANCE hInstance)
{
Game::Initialize(hInstance);
SceneManager* pSceneManager{ Locator::GetSceneManagerService() };
Scene_Game* pScene_Game = new S... | [
"verhoevensteve@gmail.com"
] | verhoevensteve@gmail.com |
ee0815072df251a23d59778eed4bc1e166f818d0 | c4832df70202dcd337e8991bf80e65fecdfb722a | /GameServer/doFuncChat.cpp | 90621bc61a76dd24955d233cf2bc00a97550b9d1 | [
"Unlicense"
] | permissive | Light-Games-Ink/LMLastChaosSource | d8c615a90d51513953b68f54f098457574c441e7 | ff3f1988590dfd441824832d9c242fb51eb2c318 | refs/heads/master | 2016-08-12T18:30:32.230018 | 2016-01-15T13:02:41 | 2016-01-15T13:02:41 | 49,718,046 | 5 | 1 | null | null | null | null | UHC | C++ | false | false | 11,176 | cpp | #include "stdhdrs.h"
#include "Log.h"
#include "Character.h"
#include "Server.h"
#include "CmdMsg.h"
#include "WarCastle.h"
/////////////////
// 채팅 관련 함수
void do_Chat(CPC* ch, CNetMsg::SP& msg)
{
// ch가 셀에 속해 있을 때, 보일때
if (!IS_IN_CELL(ch))
return ;
msg->MoveFirst();
unsigned char chatType;
... | [
"laughingmaan@icloud.com"
] | laughingmaan@icloud.com |
01110f3ffbba318d473fc0e71c92add6d0ca336f | 5d23158f0f68d95b4823a35a3eb2d03a1bed8528 | /SJTU_OJ/1031_online.cpp | bdf09ad99f494f50ae45b31263dfa1575ed8cea5 | [] | no_license | SamJia/Oj | 9c61707600b2d5c3f0f243a8bb9e76efa0ec9124 | 43a57c5d2bf77a318f2ddf7905b63cf1ae5aef52 | refs/heads/master | 2021-01-17T11:03:36.768354 | 2015-11-29T13:49:36 | 2015-11-29T13:49:36 | 39,500,708 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,058 | cpp | #include <iostream>
#include <fstream>
#include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <string>
#include <vector>
#include <set>
#include <queue>
#include <stack>
#include <climits>//形如INT_MAX一类的
#define MAX 105
#define INF 0x7FFFFFFF
# define eps 1e-5
using namesp... | [
"hnxxjyt@sjtu.edu.cn"
] | hnxxjyt@sjtu.edu.cn |
d751b57ba904a6e9b5f7c64fbd923cc4069d33e3 | 20de5334d0ece1759628dd7a9faae4a561255070 | /addons/differentiation/JointED.cc | ce34ab7e67915d0c95f46c514c46497c8807db81 | [
"Zlib"
] | permissive | nashmit/rbdl_derivatives | f596030316a3ca700444e1386b71b39326fd8674 | 0fec930aad4a6fb3084aa5aa2bb27bcfd7409a1e | refs/heads/main | 2023-03-04T19:56:00.299902 | 2021-02-13T21:07:01 | 2021-02-13T21:07:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,955 | cc | /*
* RBDL - Rigid Body Dynamics Library
* Copyright (c) 2011-2015 Martin Felis <martin.felis@iwr.uni-heidelberg.de>
*
* Licensed under the zlib license. See LICENSE for more details.
*/
#include <iostream>
#include <limits>
#include <assert.h>
#include "rbdl/Logging.h"
#include "JointED.h"
#include "ModelED.h"
... | [
"manuel.kudruss@iwr.uni-heidelberg.de"
] | manuel.kudruss@iwr.uni-heidelberg.de |
8a6c082c8fab95df8cf64d71060f2ef21ae5598a | 3916ad26de1287aaf20c059885d1fcf8c9e10156 | /tile-join.cpp | 3454e5e294e2484083d7ecfa90cded3626111f04 | [
"BSD-2-Clause"
] | permissive | lygstate/tippecanoe | e52f7ba575b6662f3991a5450fbd609c39c8c46f | 685e1a436003abcf328ec3070015de25c8e73f81 | refs/heads/master | 2021-01-20T14:47:32.857640 | 2017-05-05T18:47:54 | 2017-05-05T18:47:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,017 | cpp | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <sqlite3.h>
#include <limits.h>
#include <vector>
#include <string>
#include <map>
#include <set>
#include <zlib.h>
#include <math.h>
#include <pthread.h>
#include "mvt.hpp"
#include "projection.hpp"
#include "pool.hpp"
#include "mb... | [
"enf@pobox.com"
] | enf@pobox.com |
a8ff62bce691e18d86b4978bfdd61f8741c14457 | bc1723429c761b15433ef010a402dc34a3471829 | /598.3/c.cpp | 22695920cedca7d0b4c3e685ac2aef001bffc605 | [] | no_license | 17rohith29/Coding-Competitions-and-Other-Implementations | 02827149245fb6abe96136eab8517e2453ab4c30 | ca7939724b4d7e9ed799464da93b83bf6b0cb791 | refs/heads/master | 2022-04-12T23:23:20.145027 | 2020-04-08T00:32:12 | 2020-04-08T00:32:12 | 247,468,181 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 787 | cpp | #include <bits/stdc++.h>
using namespace std;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
long long q;
cin >> q;
while (q--) {
long long n, k;
cin >> n >> k;
vector<long long> pos;
char temp;
for (long long i = 0; i < n; ++i) {
cin >> temp;
if (temp == '0')
pos.push_back(... | [
"17rohith29@gmail.com"
] | 17rohith29@gmail.com |
083706cc574e5d9c1bcc3bc8508294ba4f7a31b6 | fe18c238e95ac40d899c7c4bd34a72566c992eae | /leetcode-viewer/solutions/085.maximal-rectangle/maximal-rectangle.cpp | 22bf0bf2680966840b0336f1331e2c959e9f443d | [] | no_license | jjsuper/leetcode | 5267f932fef406d7fa5de8355616d1a1b84e8d50 | 5c1116e554a1708d7888ed0abfc9e74b31a03c0f | refs/heads/master | 2021-01-22T22:08:35.410366 | 2017-05-30T05:17:11 | 2017-05-30T05:17:11 | 92,759,033 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,311 | cpp | class Solution {
public:
int maximalRectangle(vector<vector<char>>& matrix) {
int m=matrix.size();
int n=m? matrix[0].size(): 0;
int maxsize=0;
vector<int> left(n, 0);
vector<int> right(n, n);
vector<int> height(n, 0);
fo... | [
"wlzhujiang@gmail.com"
] | wlzhujiang@gmail.com |
113b43b960254c59c714655f04bed8ec02280bd7 | ba46527797e4be53645823d033e79dc60b43fe32 | /codeforces/800 - 1200/robot_program.cpp | db1535376e0694fb1ad6334298b85ce33a7a3ee7 | [] | no_license | Anri-Lombard/cpp | ab0732c5e071e670d4523a8640bf0f804fbb0407 | 7a4c94cbebb631fbac688404a95d148573eef6d2 | refs/heads/main | 2023-08-08T02:15:35.706368 | 2021-09-24T18:41:59 | 2021-09-24T18:41:59 | 376,433,688 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 429 | cpp | #include <bits/stdc++.h>
using namespace std;
#define nl "\n"
int main(){
#ifndef ONLINE_JUDGE
freopen("input.txt", "r", stdin);
freopen("output.txt", "w", stdout);
#endif
ios::sync_with_stdio(0);
cin.tie(0);
int t;
cin >> t;
for (int i = 0; i < t; i++) {
int x, y; cin ... | [
"anri.m.lombard@gmail.com"
] | anri.m.lombard@gmail.com |
3777896c3b58698eb5fa295768d7d11c08e84db7 | bb6ebff7a7f6140903d37905c350954ff6599091 | /third_party/WebKit/Source/core/xml/XSLTProcessor.cpp | 020c2680a97a102b0c7f583a9df0d9337b455801 | [
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0",
"BSD-3-Clause",
"LGPL-2.0-only",
"BSD-2-Clause",
"LGPL-2.1-only"
] | permissive | PDi-Communication-Systems-Inc/lollipop_external_chromium_org | faa6602bd6bfd9b9b6277ce3cd16df0bd26e7f2f | ccadf4e63dd34be157281f53fe213d09a8c66d2c | refs/heads/master | 2022-12-23T18:07:04.568931 | 2016-04-11T16:03:36 | 2016-04-11T16:03:36 | 53,677,925 | 0 | 1 | BSD-3-Clause | 2022-12-09T23:46:46 | 2016-03-11T15:49:07 | C++ | UTF-8 | C++ | false | false | 6,040 | cpp | /*
* This file is part of the XSL implementation.
*
* Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple, Inc. All rights reserved.
* Copyright (C) 2005, 2006 Alexey Proskuryakov <ap@webkit.org>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General... | [
"mrobbeloth@pdiarm.com"
] | mrobbeloth@pdiarm.com |
4f4f5b68656f0c048c44c27a13e81d7144029060 | 26cc36df4718b2b6df1d670eea13dd59876fee03 | /semestre1/prog_para/Tp_note/Rendu2/main_chaleur.cpp | 4aaf024b0f7293c3941de57631f3b54ad0179af6 | [] | no_license | bistendope/Cours_M1 | a6d02481444cfcdf01cb8baf522ebe77de51eeb1 | ae42a1d379869b804b9678ace841c55c2972405f | refs/heads/master | 2021-09-14T20:16:03.078546 | 2018-05-18T16:46:38 | 2018-05-18T16:46:38 | 107,170,402 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,684 | cpp | #include "fonctions.hpp"
int main ( int argc , char **argv )
{
int pid, nprocs;
MPI_Init (&argc , &argv) ;
MPI_Comm_rank(MPI_COMM_WORLD, &pid ) ;
MPI_Comm_size (MPI_COMM_WORLD, &nprocs ) ;
MPI_Comm COMM_CART;
float* jeu = NULL;
int n;
int m;
int dim_mat[2];
int nbiter = atoi(argv[1]);// le no... | [
"louis.label@wanadoo.fr"
] | louis.label@wanadoo.fr |
e83a8b9fa42053d3e6fb73e1f7863d0b8e1eae8d | 8f7c8beaa2fca1907fb4796538ea77b4ecddc300 | /chrome/browser/vr/elements/simple_textured_element.h | 0ec0ed4e67ccc0168f4ea357110f0868ccb75c00 | [
"BSD-3-Clause"
] | permissive | lgsvl/chromium-src | 8f88f6ae2066d5f81fa363f1d80433ec826e3474 | 5a6b4051e48b069d3eacbfad56eda3ea55526aee | refs/heads/ozone-wayland-62.0.3202.94 | 2023-03-14T10:58:30.213573 | 2017-10-26T19:27:03 | 2017-11-17T09:42:56 | 108,161,483 | 8 | 4 | null | 2017-12-19T22:53:32 | 2017-10-24T17:34:08 | null | UTF-8 | C++ | false | false | 2,449 | h | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_VR_ELEMENTS_SIMPLE_TEXTURED_ELEMENT_H_
#define CHROME_BROWSER_VR_ELEMENTS_SIMPLE_TEXTURED_ELEMENT_H_
#include <memory>
#include "... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
1f17f3e759182cedb367099cb6f9f56380c0aa04 | f9726d2483d3c5ac38c8867a9cf962dc1bcaf5b4 | /CSE 225L Data Structures and Algorithms/Resources/Codes Previous/Spring-2019-CSE225 1/Lab2/dynarr(21).cpp | 0eed01ba5c52d849f862ca363d04520e456c0945 | [
"MIT"
] | permissive | diptu/Teaching | e03c82feefe6cda52ebd05cd644063abb3cf8cd5 | 20655bb2c688ae29566b0a914df4a3e5936a2f61 | refs/heads/main | 2023-06-27T15:27:32.113183 | 2021-07-31T05:53:47 | 2021-07-31T05:53:47 | 341,259,841 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 603 | cpp | #include "dynarr.h"
#include <iostream>
using namespace std;
template <class T>
dYnArr<T>::dYnArr()
{
data = NULL;
size = 0;
}
template <class T>
dYnArr<T>::dYnArr(int a)
{
data = new T[a];
size = a;
}
template <class T>
dYnArr<T>::~dYnArr()
{
delete [] data;
}
template <class T>
T dYnArr<T>::getVa... | [
"diptunazmulalam@gmail.com"
] | diptunazmulalam@gmail.com |
e6c8b0ecedc8880b2c67ee18453a5e5e5b082cc1 | 3964071e3f4a038704dafa22100b5c24603f6201 | /Code/Mantid/Framework/API/src/CatalogManager.cpp | 96e6a556cc0bdccf12422aac0084734a01f87ffe | [] | no_license | AlistairMills/mantid | 18dc2bd0c0bab1ceb673bfe1f4010dddb039d0a1 | b0d8ba3930908612f42ddbb8a4ee7a433c4e7036 | refs/heads/master | 2020-12-11T06:08:15.517148 | 2014-04-08T12:00:06 | 2014-04-08T12:00:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,789 | cpp | #include "MantidAPI/CatalogFactory.h"
#include "MantidAPI/CatalogManager.h"
#include "MantidAPI/CompositeCatalog.h"
#include "MantidKernel/ConfigService.h"
#include "MantidKernel/FacilityInfo.h"
namespace Mantid
{
namespace API
{
CatalogManagerImpl::CatalogManagerImpl() : m_activeCatalogs() {}
CatalogMana... | [
"jawrainey@gmail.com"
] | jawrainey@gmail.com |
de01a2c61b4224f014b57e33b59391b8005187de | de390163287fda86b73df015d6b6a3dc5e1bf736 | /Codeforces/Educational Round 57/A.cpp | 0b16c4e9ab0d4e6988eb6140c8ea15445040447e | [] | no_license | iamarshsingh/Competative_programming | fb71a7b62d4ba2846deae25203f9087f31a0b675 | 09418842d029b20d2df0f5b5a5e87619f44a18b3 | refs/heads/master | 2020-06-26T14:39:59.199295 | 2020-03-28T14:05:26 | 2020-03-28T14:05:26 | 97,026,462 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 252 | cpp | #include <bits/stdc++.h>
#define MOD 1000000007
#define ll long long
using namespace std;
int main(){
int t;
cin>>t;
while(t--){
int l,r;
cin>>l>>r;
cout<<l<<" "<<(2*l)<<endl;
}
return 0;
}
| [
"singh.arshdeep1999@gmail.com"
] | singh.arshdeep1999@gmail.com |
031ed0b51bdad8026aaca675497f8c80785bed9c | fb7efe44f4d9f30d623f880d0eb620f3a81f0fbd | /components/nacl/renderer/trusted_plugin_channel.cc | 696137b9f4e4e7be5629e41cebed50ad69469763 | [
"BSD-3-Clause"
] | permissive | wzyy2/chromium-browser | 2644b0daf58f8b3caee8a6c09a2b448b2dfe059c | eb905f00a0f7e141e8d6c89be8fb26192a88c4b7 | refs/heads/master | 2022-11-23T20:25:08.120045 | 2018-01-16T06:41:26 | 2018-01-16T06:41:26 | 117,618,467 | 3 | 2 | BSD-3-Clause | 2022-11-20T22:03:57 | 2018-01-16T02:09:10 | null | UTF-8 | C++ | false | false | 2,463 | cc | // 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.
#include "components/nacl/renderer/trusted_plugin_channel.h"
#include <utility>
#include "base/callback_helpers.h"
#include "components/nacl/renderer/hi... | [
"jacob-chen@iotwrt.com"
] | jacob-chen@iotwrt.com |
f410adbb7bad7108684d6757b2c5423061f47903 | 26e48947138924b376c918c81718cfe7f865e57f | /TXT.RPG2/magic.cpp | 28d447979af7384d0b03e56e777cefd3c70b75e4 | [] | no_license | SegaManX/TXT.RPG2 | 832117df00cc94466bf000ddf9c6612e53422861 | fc0f589ac6100c738ba15d18a2355577a85e6689 | refs/heads/master | 2023-02-28T11:07:33.614588 | 2021-02-06T09:01:43 | 2021-02-06T09:01:43 | 336,487,857 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,984 | cpp | #include "allInclude.h"
int spells{16};
bool spellsUnlocked[16]{};
int spellLevel[16]{};
int spellRequirement[16]{0, 3, 5, 10, 2, 5, 4, 2, 6, 10, 7};
int spellDamage[16]{ 0, 1, 2, 5,};
int spellHeal[16]{ 0, 0, 0, 0, 0, 0, 0, 5, 20, 50, 0 };
std::string spellNames[16]{"","Fireball", "Frost ray", "Ligthning bolt", "Shie... | [
"karlis.egle@gmail.com"
] | karlis.egle@gmail.com |
28a31f59edc9e81774df0e6adbf04eba8d572762 | b03df45e7b3cc6ac9180caf0ebbee35371195414 | /Codewars Projects/Source.cpp | 9cd7933c4a5f6cfcc499d2ebe45f662158d9bb9e | [] | no_license | michaelholm6/Codewars-Projects | b1dd7df87aef29b66f16a07d076480692480971a | 7f190617c6c444dd3cdc6026b67a7176ce73d957 | refs/heads/master | 2023-07-26T23:32:21.223067 | 2021-09-13T21:33:19 | 2021-09-13T21:33:19 | 404,436,872 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 97 | cpp | #include <vector>
PeakData pick_peaks(std::vector<int> v) {
PeakData result;
return result;
} | [
"mdholm@iastate.edu"
] | mdholm@iastate.edu |
d0fad253dd92670c73445ff630864cd051bdef07 | b7f3edb5b7c62174bed808079c3b21fb9ea51d52 | /components/zucchini/disassembler_elf.h | e279c2910929092898b0adcad4c0a05e11f8a473 | [
"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 | 6,405 | h | // Copyright 2018 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_ZUCCHINI_DISASSEMBLER_ELF_H_
#define COMPONENTS_ZUCCHINI_DISASSEMBLER_ELF_H_
#include <stdint.h>
#include <memory>
#include <string>
... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
23cf115bf287560ac15defe30e3aef38ac2f2513 | 1b8459e0c0e2ddcd54f55a93688ef5c4d8dd0270 | /Algorithm/first-missing-positive/first-missing-positive.cpp | b364e47c355660e71c31b672d1977b03ad2c4247 | [] | no_license | xincheng624/LeetCode | 9389f60a862e960eb8c86fc2a194dbc21a338452 | bab8bd95f71a8d62b391ba8f63a6298db31f1cbe | refs/heads/master | 2021-01-20T06:38:45.335575 | 2017-07-15T13:42:21 | 2017-07-15T13:42:21 | 89,904,930 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 563 | cpp | #include <algorithm>
#include <iostream>
using namespace std;
class Solution {
public:
int firstMissingPositive(int A[], int n) {
if ( n <= 0 ) return 1;
for( int i=0; i<n; ++i ){
while( A[i] >0 && A[i] <= n && A[A[i]-1] != A[i] )
swap(A[i],A[A[i]-1]);
}... | [
"wxcxincheng@163.com"
] | wxcxincheng@163.com |
8688cd851ee812d3937e531e18c7c3a90957afd1 | 18ad206ce03ee50184d9dc9f7e081acc35c6d006 | /complete_runs/run+20/3/phi | 15678d09e98d65d357a6549a239eeaea63538ebb | [] | no_license | mars2020/CFD-Final-Project | 32080bdd118a8e16a33f715a8fd38d1187f75fd5 | 55c73d10635f7e6dcc223a812a29519a9d1218cd | refs/heads/master | 2022-01-10T19:44:53.590268 | 2019-05-15T01:42:17 | 2019-05-15T01:42:17 | 180,909,389 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,509,009 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 6.0
\\/ M anipulation |
\*-----... | [
"george.newman10@gmail.com"
] | george.newman10@gmail.com | |
4602202332798d9fd729c27f9720cc40af61bff3 | b5cffc2d17c9f0cdd9358dadabaa690afdb913ff | /hilti/toolchain/include/base/result.h | adfd26bab8fbd48d860f1196edcbfed2ace973db | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | asilha/spicy | a4eb32efb79e9905bb27308e117ca7a4498fe62a | 510ac85fbddf08b0695c8eec09883aa0d737fac6 | refs/heads/master | 2023-01-08T04:57:53.106852 | 2020-11-04T00:58:50 | 2020-11-04T00:58:50 | 308,676,168 | 0 | 0 | NOASSERTION | 2020-11-04T00:58:51 | 2020-10-30T15:50:17 | C++ | UTF-8 | C++ | false | false | 376 | h | // Copyright (c) 2020 by the Zeek Project. See LICENSE for details.
#pragma once
#include <hilti/rt/result.h>
namespace hilti {
namespace result {
using Error = hilti::rt::result::Error;
using NoResult = hilti::rt::result::NoResult;
} // namespace result
template<typename T>
using Result = hilti::rt::Result<T>;
us... | [
"robin@corelight.com"
] | robin@corelight.com |
b3d47e774df8b38d10ccfcd1755fd9d4db8a9eb1 | 506dd628130f79a968afa39dfc18bb999e9ff9f8 | /include/http_protocol.h | da9fe14feec59ca3bcf49dbf5bc002fff166614a | [] | no_license | cxlove/http | e2844dce9bf49234ec846b67cfb23c0dfeb756d2 | d117c119be07938f2ab2051fde99d858bc19f080 | refs/heads/master | 2021-01-10T12:41:23.052671 | 2016-05-06T08:29:44 | 2016-05-06T08:29:44 | 54,362,525 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 658 | h | /*************************************************************************
> File Name: http_protocol.h
> Author: cxlove
> Mail: cxlove321@gmail.com
> Created Time: 二 3/15 19:38:52 2016
************************************************************************/
#ifndef HTTP_PROTOCOL_H_
#define HTTP_PROTOCOL_H_
#i... | [
"375243140@qq.com"
] | 375243140@qq.com |
415f791a45a73471d1f20fbc3edf2e38491fd85b | 7b5e739c79f91c562282b60bf90bb3eb828c86d1 | /mfc/WindowPlay/wmpplayer4.h | 4f2599e4bddba939f73c714cb708b5af32812c3c | [] | no_license | isliulin/karl | a6e056576018b2a7669abbb416e370b7841d90e0 | cfd810cd15a11e34dd014638002410930b6dc49a | refs/heads/master | 2023-03-18T02:22:59.494248 | 2013-10-12T05:44:32 | 2013-10-12T05:44:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,201 | h | #if !defined(AFX_WMPPLAYER4_H__DE363B3C_316C_4498_8955_07883EE1EFC0__INCLUDED_)
#define AFX_WMPPLAYER4_H__DE363B3C_316C_4498_8955_07883EE1EFC0__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
// NOTE: Do not modify t... | [
"liyujian5201314@163.com"
] | liyujian5201314@163.com |
6eb0e5af438a42bfacc4f73bcae5f02a82786366 | d0985731c45024388a2d8938a9e8a52dc7f985f3 | /src/server/scripts/Outland/TempestKeep/arcatraz/instance_arcatraz.cpp | b17bbf94d8fb58da5af9f2e9a7249ca46f172942 | [] | no_license | Naios/MythCore | 1ac1096ad8afefdf743ed206e10c2432f7f57bed | 38acab976959eed1167b6b4438ce7c7075156dd8 | refs/heads/master | 2023-08-24T08:26:26.657783 | 2012-06-07T05:24:00 | 2012-06-07T05:24:00 | 4,604,578 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 9,583 | cpp | /*
* Copyright (C) 2008-2011 TrinityCore <http://www.trinitycore.org/>
* Copyright (C) 2006-2009 ScriptDev2 <https://scriptdev2.svn.sourceforge.net/>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software ... | [
"taumer943@gmail.com"
] | taumer943@gmail.com |
de1b97f84f009cf3a06812d6f0a669f8e1070978 | 27a7b51c853902d757c50cb6fc5774310d09385a | /[Client]LUNA/GTScoreInfoDialog.cpp | 5f69f736b274cb2ce5fc08197c8028af9a4973c0 | [] | no_license | WildGenie/LUNAPlus | f3ce20cf5b685efe98ab841eb1068819d2314cf3 | a1d6c24ece725df097ac9a975a94139117166124 | refs/heads/master | 2021-01-11T05:24:16.253566 | 2015-06-19T21:34:46 | 2015-06-19T21:34:46 | 71,666,622 | 4 | 2 | null | 2016-10-22T21:27:35 | 2016-10-22T21:27:34 | null | UHC | C++ | false | false | 4,458 | cpp | // GTScoreInfoDailog.cpp: implementation of the CGTScoreInfoDailog class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "GTScoreInfoDialog.h"
#include "WindowIDEnum.h"
#include "./interface/cStatic.h"
#include "./interface/cButton.h"
#include "..\effect\DamageNu... | [
"brandonroode75@gmail.com"
] | brandonroode75@gmail.com |
11ef8250390e4db66648fb14f07f0da50912f9a2 | d405502ea31c7b3fc2111e1fc4ac764604e5061e | /src/fuzzy_match.hh | 723f6220385ce5f32d79dc7ff30e9f16939d630d | [
"Apache-2.0"
] | permissive | bastianbeischer/ccls | 2a8fe27e655aae2b9d7c61a53e1ac8e6688060f5 | a5b00dd54610e55bda11b56c14d72e6dd81b046d | refs/heads/master | 2021-10-26T18:35:48.047659 | 2019-09-15T06:33:53 | 2019-09-15T06:35:09 | 183,787,574 | 0 | 0 | Apache-2.0 | 2019-04-27T15:06:30 | 2019-04-27T15:06:30 | null | UTF-8 | C++ | false | false | 1,419 | hh | /* Copyright 2017-2018 ccls Authors
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 writing, software... | [
"i@maskray.me"
] | i@maskray.me |
b50e8f3b682d0d1649268ba413e5ea7e346c443e | 4909489caa5f8c81123d1b8419fa185d62f16a97 | /src/robot/commands/run_intake.cpp | b05098a1a59657172452a01b14659aa27e3dfeb1 | [
"MIT"
] | permissive | Lukanite/FRC-14 | 25f7217940557a02689c69efe5aace6c62508b97 | 0f0193c254ce3c05903aa7e59008a0bf6e76dfa0 | refs/heads/master | 2021-01-24T19:50:04.175210 | 2014-11-05T23:19:18 | 2014-11-05T23:19:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 369 | cpp | #include "run_intake.hpp"
#include "../user_interface.hpp"
#include "../subsystems/subsystems.hpp"
#include <WPILib.h>
Run_Intake::Run_Intake() {
Requires(Subsystems::intake);
}
void Run_Intake::Execute() {
float speed = UI::Secondary_Driver::controller->get_left_y();
Subsystems::intake->set_normalized(speed);
}
... | [
"will@wkunkel.com"
] | will@wkunkel.com |
d46f7ac6d94fcb7fea56579d9d725b4f4d2419e4 | 3d95c819b3d37e22806e49e32491db2d47eca80e | /src/Light.h | f1c0c222c92d2e037b50ffa842b5cc1e5ede16e5 | [] | no_license | Russ8/Model-Viewer | c23f8cf8e5a28076d2361b8f1ef43a3837b243c2 | 523d06855fb16372b9a2070aef460455588231b4 | refs/heads/master | 2020-06-21T08:15:41.262202 | 2019-07-17T13:18:59 | 2019-07-17T13:18:59 | 197,392,292 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 667 | h | #pragma once
#ifndef LIGHT_H
#define LIGHT_H
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtc/type_ptr.hpp>
// Stores all info regaring a light source
class Light {
public:
Light( glm::vec3 position, glm::vec3 ambientColor, glm::vec3 diffuseColor, glm::vec3 specularColor... | [
"noreply@github.com"
] | Russ8.noreply@github.com |
d8af81440f93b977cea5f9cb8c5fbfead5f47534 | 1ef6cd022f45866176bcab243019416cf8b1bd83 | /garagedoordowncommand.h | 7012703d71c443b678dac15a7fec3ebcc41b43a5 | [] | no_license | snowklee/Command | cf536430433e6a142e61c03b2bebbfcad3ac8e28 | cd77fa485442face34516738c1df164c583f46a9 | refs/heads/master | 2023-08-16T15:15:44.227768 | 2021-10-19T12:09:23 | 2021-10-19T12:09:23 | 418,907,564 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 311 | h | #ifndef GARAGEDOORDOWNCOMMAND_H
#define GARAGEDOORDOWNCOMMAND_H
#include "command.h"
#include "garagedoor.h"
class GarageDoorDownCommand : public Command
{
private:
GarageDoor *garageDoor;
public:
GarageDoorDownCommand(GarageDoor *garageDoor);
void execute();
};
#endif // GARAGEDOORDOWNCOMMAND_H
| [
"Sasha"
] | Sasha |
dd8a12fb75f828cf8c065cb45f760267e9e7168f | 3acb336517e3093f2a0d363b6343022bb81f9fec | /cosim_test.cpp | 49b4d8ea2c98582417ae1f75e557ca009f907d79 | [] | no_license | camstutz/cosim_test | fef80773b8cb6b9d3598cc1aa126161485061ba5 | b707ad23da0b1183a421781474c34699af6cc53a | refs/heads/master | 2016-09-06T16:35:00.505494 | 2014-01-09T10:35:16 | 2014-01-09T10:35:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 165 | cpp | #include <systemc.h>
#include <iostream>
#include "TestTop.hpp"
int sc_main(int argc, char* argv[]) {
TestTop system("Testbench");
sc_start();
return 0;
} | [
"amstutz@kit.edu"
] | amstutz@kit.edu |
9b5daf5d641a94f1d6bb09142efb15ae0c82296d | bb1d290dfefe4afa110d46fcc48a18f58abdff2a | /main.cpp | 58a08cfd7de9e80cb39542dc00cc3ebca8201b1d | [] | no_license | rnaushik/Bank-project | 90f42cd7a0b5494dbd8d37ed6b0da382590ad838 | 6984a0d8670b1fa7dcfe69577372350fc2414331 | refs/heads/main | 2023-09-03T08:46:35.246873 | 2021-10-31T17:20:08 | 2021-10-31T17:20:08 | 423,207,411 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,677 | cpp | /*
Project C++
Bank
By: Naushik Ravikrindi
*/
#include <iostream>
#include <fstream>
#include <vector>
#include <cctype>
#include <cstring>
using namespace std;
//customised data structure to store account type
enum AccountType {CURRENT,SAVINGS};
class Bank{
private:
static long count;
const static l... | [
"noreply@github.com"
] | rnaushik.noreply@github.com |
a475a6027b0822bb8797879b8524f25802ed56ad | e7b1e39e15e9c17097e412b2a9db48b8ce46b2d6 | /include/bfs.h | 960983a7fb390370bb0cac1f98201ed23dd31e96 | [
"Apache-2.0"
] | permissive | drmorr0/BnB-lib | 66101d826f17980714f755e7e20a8986a8694e3c | 89915fc2b31534da93853f196b82d24694a1f69b | refs/heads/master | 2021-01-19T04:21:30.061882 | 2016-09-29T15:09:18 | 2016-09-29T15:09:18 | 63,568,052 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 752 | h | #ifndef BFS_H
#define BFS_H
/*
* bfs.h: (c) David R. Morrison, July 2014
*
* The best-first search (BFS) strategy to be used with the branch-and-bound tree solver;
* implements BFS using a map from measure-of-best (mu) to subproblems
*/
#include "search.h"
#include "subproblem.h"
#include <memory>
#include <vect... | [
"morris50@illinois.edu"
] | morris50@illinois.edu |
9ca6e5c15e6512924a15c16044388eaac66adcfb | c3729156a89c6e10b25df6f34b7d332d156673fb | /begin/begin 23/begin23.cpp | c31a3e94f52082f8c63d8e126dbf7f8ab794994a | [] | no_license | kursof/abramyan | 9176268ad548bb571ea912ca1bcad31e766ddef9 | b61eb035bfd85f67a3291528ec6690a8311dd889 | refs/heads/master | 2020-04-07T03:03:30.445776 | 2015-04-27T19:15:12 | 2015-04-27T19:15:12 | 30,263,052 | 0 | 0 | null | 2015-02-19T17:40:36 | 2015-02-03T20:32:09 | C++ | UTF-8 | C++ | false | false | 633 | cpp | /* ƒаны переменные A, B, C.
* »зменить их значени€,
* переместив содержимое A в B, B Ч в C, C Ч в A,
* и вывести новые значени€ переменных A, B, C
*/
#include <iostream>
#include <cmath>
int main ()
{
float A , B, C;
std::cout << "enter A\n";
std::cin >> A;
std::cout << "enter B\n";
std::cin >> B;
std::cout... | [
"misha.sn@list.ru"
] | misha.sn@list.ru |
125aef23700307adeedceac71e25ca39d78b4eeb | 5bdf5c3fbccb5089167f0a937f3dafd2adfec820 | /C++ Solutions/Classes and Objects.cpp | c8e84bf24382effb813bcdbd44d44f0c6a5a6805 | [] | no_license | gunjan-g/HackerRank-Cpp | 54f1450ea36b879a86ae806b4a36229c0c957e3b | 7c8a95fc60b1645219cfe9ad27557f6a38ab5a65 | refs/heads/main | 2023-07-01T07:03:03.103105 | 2021-08-02T22:05:18 | 2021-08-02T22:05:18 | 390,818,775 | 0 | 2 | null | 2021-08-02T21:52:26 | 2021-07-29T18:38:21 | C++ | UTF-8 | C++ | false | false | 2,233 | cpp | /*
Program Link:
https://www.hackerrank.com/challenges/classes-objects/problem
Theory:
A class defines a blueprint for an object. We use the same syntax to declare objects of
a class as we use to declare variables of other basic types. For example:
Box box1; // Declares variable box1 of type Box
Box box2; ... | [
"gunjang1202@gmail.com"
] | gunjang1202@gmail.com |
6de166de64b65eca98e5b4347fc8b269caabd041 | 990334cc2729f3a37d85de5f1757a00385be23da | /FirstOpenGL/Random.cpp | bb242c646b04c4e3d8573e697352397fc95bf4ab | [] | no_license | PurpleMartinJCK/RenderingEngine | d3a975f99883056899001e7307e89afff1b59108 | d6fe15fb0e6d5235164b163d16ff8d1d50bac103 | refs/heads/master | 2021-05-11T04:01:07.386617 | 2018-04-27T13:38:31 | 2018-04-27T13:38:31 | 117,931,520 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 314 | cpp | #include "Random.h"
#include <stdlib.h>
#include <time.h>
void SeedRandomNumberGenerator()
{
srand((unsigned int)(time(0)));
}
float RandomRangef(float min, float max)
{
return min + ((max - min) * rand()) / (RAND_MAX + 1.0f);
}
int RandomRangei(int min, int max)
{
return rand() % (max + 1 - min) + min;
}
| [
"ftangsteve@gmail.com"
] | ftangsteve@gmail.com |
b4e9fa2ed8847154c35b58e44bad36da621f3d15 | 83bacfbdb7ad17cbc2fc897b3460de1a6726a3b1 | /v8_4_8/src/x64/assembler-x64.h | 2182dbb3ff6b1452792bd58052e9a6f61cc2c382 | [
"Apache-2.0"
] | permissive | cool2528/miniblink49 | d909e39012f2c5d8ab658dc2a8b314ad0050d8ea | 7f646289d8074f098cf1244adc87b95e34ab87a8 | refs/heads/master | 2020-06-05T03:18:43.211372 | 2019-06-01T08:57:37 | 2019-06-01T08:59:56 | 192,294,645 | 2 | 0 | Apache-2.0 | 2019-06-17T07:16:28 | 2019-06-17T07:16:27 | null | UTF-8 | C++ | false | false | 79,068 | h | // Copyright (c) 1994-2006 Sun Microsystems Inc.
// All Rights Reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// - Redistributions of source code must retain the above copyright notice,
// this list ... | [
"22249030@qq.com"
] | 22249030@qq.com |
2617bfc7e993f6b42772385618cca36519fb13cd | d9f0f1afe804c76ba846cfe9761151f9c7b7da3d | /B0208/B0208/MAin.cpp | a91f6bae0bb25dba20cbaeb3d9be5c668a427f55 | [] | no_license | jamieangelm/MarchDailyCode | 4da7c3a1c4787d2687bb761404e33162d5e6c58b | 4a65949b558060067940531f1ddb462e066f3dbc | refs/heads/master | 2021-01-21T11:36:32.218502 | 2017-03-17T15:34:48 | 2017-03-17T15:34:48 | 83,563,319 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 251 | cpp | #include <iostream>
using namespace std;
int main() {
char input;
int total = 0;
cout << "press 'B' however many times you want" << endl;
cin >> input;
while (input == 'b') {
total = total + 1;
cin >> input;
cout << total << endl;
}
} | [
"Game110AM@605-110-STU19"
] | Game110AM@605-110-STU19 |
bf9fa14f1bfd1e080561ce8f6365af645cc3a424 | 1fe234f118d0173388821a6c158644d3da784b02 | /Iteration 3 (Supernova Engine)/Source/Game Systems/CollisionSystem.h | b074463265ea47417e76b76db9e30a28f312f837 | [] | no_license | nitro404/Asteroids | c7fbe663167efa6058c80d419afd98300a27c003 | 6e7cbe45422de25806bdb926d84ef58ab673a3a4 | refs/heads/master | 2020-06-03T04:03:55.669885 | 2015-01-17T19:44:34 | 2015-01-17T19:44:34 | 20,612,518 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,213 | h | #ifndef COLLISION_SYSTEM_H
#define COLLISION_SYSTEM_H
#include <QVector.h>
#include "Sprite Animation System/SpriteAnimationCollection.h"
#include "Entity/Entity.h"
#include "Game Objects/ScoreType.h"
class ProjectileSystem;
class SpaceShipSystem;
class AsteroidSystem;
class ExplosionSystem;
class ScoreSystem;
class... | [
"nitro404@gmail.com"
] | nitro404@gmail.com |
a96c454b1a07f694186541c8963c3f99a44deffc | 5ad3c03e7ba629aa4bd5a3f7730fad2eb6dcd23d | /SuperIOSensors/ITEIT87x.h | 8858c3863605d58737300c7173fa7e03823e6455 | [] | no_license | fearandloathing/HWSensors | 17afe7db0d2c6b4df7ab0714182a3c8221c19169 | 6310660ae3e3c70b591797bd77a1e802e5b1e9e3 | refs/heads/master | 2020-12-25T01:30:19.335466 | 2012-05-16T18:02:40 | 2012-05-16T18:02:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,934 | h | /*
* IT87x.h
* HWSensors
*
* Based on code from Open Hardware Monitor project by Michael Möller (C) 2011
*
* Created by mozo on 08/10/10.
* Copyright 2010 mozodojo. All rights reserved.
*
*/
/*
Version: MPL 1.1/GPL 2.0/LGPL 2.1
The contents of this file are subject to the Mozilla Public License Ver... | [
"mozodojo@gmail.com"
] | mozodojo@gmail.com |
8d8c6bdf79b19128a4c06037a83b8219c86fc6fe | 1d2ac1be8251d86edbd526a8e7e4ab2d6b97e97d | /CODE/shit/find_sum.cpp | 626f921df2893f0c30eba1eda36c10e3acdfb472 | [] | no_license | WLBF/OJ | 731c97eceb6866d02bc5cccae5cb1431a2fb0713 | 4da8c4be1592d1cf32bfceed02f57efb6b829390 | refs/heads/master | 2016-08-12T09:54:39.873959 | 2015-11-08T14:40:37 | 2015-11-08T14:40:37 | 43,249,405 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 671 | cpp | #include <iostream>
using namespace std;
int main(){
int n, k, flag;
cin >> n >> k;
if (n < 1000){
int a[n];
for (int i = 0; i < n; i++){
cin >> a[i];
}
flag = 0;
for (int i = 0; i < n; i++){
if (flag == 1){
break;
... | [
"lbf1353@live.com"
] | lbf1353@live.com |
f21a60f12e6ec51910cf90255bf8e27355213c77 | 2ba94892764a44d9c07f0f549f79f9f9dc272151 | /Engine/Source/ThirdParty/WebRTC/sdk_trunk_win/include/net/http/http_auth_gssapi_posix.h | 58f17a6cfc9171d8fa0e9c957d9ce6ebb6c55a79 | [
"BSD-2-Clause",
"LicenseRef-scancode-proprietary-license"
] | permissive | PopCap/GameIdea | 934769eeb91f9637f5bf205d88b13ff1fc9ae8fd | 201e1df50b2bc99afc079ce326aa0a44b178a391 | refs/heads/master | 2021-01-25T00:11:38.709772 | 2018-09-11T03:38:56 | 2018-09-11T03:38:56 | 37,818,708 | 0 | 0 | BSD-2-Clause | 2018-09-11T03:39:05 | 2015-06-21T17:36:44 | null | UTF-8 | C++ | false | false | 10,194 | h | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef NET_HTTP_HTTP_AUTH_GSSAPI_POSIX_H_
#define NET_HTTP_HTTP_AUTH_GSSAPI_POSIX_H_
#include <string>
#include "base/gtest_prod_util.h"
#include "... | [
"dkroell@acm.org"
] | dkroell@acm.org |
ab65f94050b5d2afb3de81c4f68a28712714e17d | 1a9d0ad51c4bdce04a27f18afeea18fb512bc444 | /PI1/lib/del.cpp | 38e41670474b865156809ee99553b69d7ccb176d | [
"MIT"
] | permissive | HHqZz/PI1 | 1075a64b6ef7b9c2a1921e7119693e03d8f552e3 | af99d50e5e4b893ceb57d9b41e8cd33730afcea0 | refs/heads/master | 2020-05-28T08:55:34.291022 | 2019-05-28T03:40:09 | 2019-05-28T03:40:09 | 188,948,142 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,209 | cpp |
/********************************************
* Titre: implementation del.cpp
* Date: 17 mars 2017
* Auteur:equipe 4446
* Constantin Bouis
* Andrei Catana
* Timothee Laborde
* Anis Redjdal
*******************************************/
#include "del.h"
Del::Del(){};
Del::~Del(){};
//porte B en sortie
//br... | [
"cbouis@outlook.fr"
] | cbouis@outlook.fr |
603d8d3184484315912102579efeb2e5792d422a | 69a94a9316bf97d8ae783d880c5688f52f11c0aa | /mame/src/mame/machine/maple-dc.h | 691b2559afd1835cbb9330601e378d198bc340e0 | [] | no_license | bradparks/UME-Core | 530fd1dee865453f8a7c00ca2d7c9b2b5b59d34e | ed48bd0e86f701e0f1a22150445ae42ac57aa4aa | refs/heads/master | 2021-01-22T23:57:48.291810 | 2015-11-10T08:43:50 | 2015-11-10T08:44:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,839 | h | #ifndef __MAPLE_DC_H__
#define __MAPLE_DC_H__
#include "cpu/sh4/sh4.h"
#define MCFG_MAPLE_DC_ADD(_tag, _maincpu_tag, _irq_cb) \
MCFG_DEVICE_ADD(_tag, MAPLE_DC, 0) \
maple_dc_device::static_set_maincpu_tag(*device, _maincpu_tag); \
maple_dc_device::static_set_irq_cb(*device, _irq_cb);
class maple_device... | [
"conrad@kramerapps.com"
] | conrad@kramerapps.com |
bb0fcc4ab16cc2a9220f525208a65c7d60e3169b | ddf988b5a89017cfa449ac55b0f8315696352789 | /c++_primer_ex/ex9_43.cc | c3e49d296ce2025500cca2b2e6da955055ec5e64 | [] | no_license | cheerayhuang/Garner | 6fe7dfb1c12799dcb5b3eb809bce8a4119ba0f05 | fafccc9d53adab1403c3884a09b46e5e9c2910e7 | refs/heads/master | 2022-12-20T20:46:40.954396 | 2022-12-12T03:38:43 | 2022-12-12T03:38:43 | 5,774,039 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,554 | cc | /**************************************************************************
*
* Copyright (c) 2014 Nibirutech, Inc. All Rights Reserved
* www.Nibirutech.com
*
* @file: ex9_43.cc
* @author: Huang Qiyu
* @email: huangqiyu@chukong-inc.com
* @date: 11-04-2014 09:29:00
* @version $Revision$
*
*******************... | [
"cheeray.huang@gmail.com"
] | cheeray.huang@gmail.com |
6b769b5874a5bec3ea7a9a9ffdc5ba9e29e52c32 | 650ab3b4ad34d16732410c6e47caa58dc97aa169 | /src/yolov5/SiLUPlugin.h | 0785c3ddc9c2e6b4f09ce123e59990d3b131ef53 | [] | no_license | mesa3/onnx_tensorrt_project | 16c43827e14e52b3c3f91d417294f4d457bf3f6c | 1c1f1653220da4b709ced9e7310d5b38d96e2f67 | refs/heads/main | 2023-07-16T19:24:55.909825 | 2021-08-27T09:24:57 | 2021-08-27T09:24:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,876 | h | /*
* Copyright (c) 2021, NVIDIA CORPORATION. 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 requir... | [
"38750855+ttanzhiqiang@users.noreply.github.com"
] | 38750855+ttanzhiqiang@users.noreply.github.com |
26285e45f8bc90266cbc5eb70842452c8dacda54 | 82112ca0a021b66c6c645b101ce5976a52f15a6a | /src/wikigps_http_standalone/json/inc/WriteTagResponseJSON.h | 5587c91252ea2e7fc64040c778d660aaa2ed95a0 | [] | no_license | OSLL/geo2tag | 3d68eab2ed0eac4fd1d512eb2416eae9523ec44a | d8fa52aa72e64b98daf640c737c667926fd49a8c | refs/heads/master | 2021-01-23T07:21:28.296042 | 2012-12-10T04:16:02 | 2012-12-10T04:16:02 | 1,591,152 | 7 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 2,061 | h | /*
* Copyright 2010-2011 OSLL osll@osll.spb.ru
*
* 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 must retain the above copyright
* notice, this list of conditions and th... | [
"edward.ryabikov@gmail.com"
] | edward.ryabikov@gmail.com |
cf3a8b27bdd5122e084607e3e8476c0085f08e30 | cfeac52f970e8901871bd02d9acb7de66b9fb6b4 | /generated/src/aws-cpp-sdk-chime-sdk-identity/source/model/UpdateAppInstanceUserEndpointRequest.cpp | 8d2b33ff7db67486b5cb7717679e3f815217f63e | [
"Apache-2.0",
"MIT",
"JSON"
] | permissive | aws/aws-sdk-cpp | aff116ddf9ca2b41e45c47dba1c2b7754935c585 | 9a7606a6c98e13c759032c2e920c7c64a6a35264 | refs/heads/main | 2023-08-25T11:16:55.982089 | 2023-08-24T18:14:53 | 2023-08-24T18:14:53 | 35,440,404 | 1,681 | 1,133 | Apache-2.0 | 2023-09-12T15:59:33 | 2015-05-11T17:57:32 | null | UTF-8 | C++ | false | false | 1,015 | cpp | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/chime-sdk-identity/model/UpdateAppInstanceUserEndpointRequest.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::ChimeSDKIdentity::Model;
using ... | [
"sdavtaker@users.noreply.github.com"
] | sdavtaker@users.noreply.github.com |
4ee9b8898f9b26ad5e8853b6b2e3063455f15b27 | d6b64491585b4b863e17e348f28853e5b9416d0b | /yhfp/datasender.cpp | 12a3772430413acd9112df9454609fe3acd14553 | [] | no_license | hqtecheptech/ctrsoft | 00e141d980985e43eb4b20d9b83cc1ca530bca5a | 26c625fc9f46590106631d65c2e7615389eafcf7 | refs/heads/master | 2020-06-28T12:46:02.477961 | 2019-08-12T08:36:14 | 2019-08-12T08:36:14 | 200,237,790 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,645 | cpp | #include "datasender.h"
#include "QHostAddress"
#include "iostream"
#include "data.h"
#include "datasender.h"
using namespace std;
DataSender::DataSender()
{
port = 8000;
serverIP = new QHostAddress("192.168.0.106");
_tcpSocket = new QTcpSocket();
connect(_tcpSocket,SIGNAL(readyRead()),this,SLOT(data... | [
"466904110@qq.com"
] | 466904110@qq.com |
d18e90339a87678b52642ed1d548d9c99ee3e3e8 | d78ed965af4ab3e31bfaa3e32cd6741dde378f58 | /Lab3/Tree.cpp | a7ceb4458bd09c1ae76bfb992936286acfad31aa | [] | no_license | COMP215/_phuens | 31b99f24b6132e77c17f13bc24f110e68fe7582e | c7ce2f875d0df49ae5292f17c7813dc68bc071f8 | refs/heads/master | 2020-09-15T19:41:54.238434 | 2016-12-13T21:28:05 | 2016-12-13T21:28:05 | 67,071,886 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,067 | cpp | ////
//// Tree.cpp
//// Lab(01) LinkedList
////
//// Created by Phuntsho Norbu on 9/14/16.
//// Copyright (c) 2016 Phuntsho Norbu. All rights reserved.
////
//
#include "Tree.h"
#include "Node.h"
#include <assert.h>
#include <time.h>
#include <stack>
using namespace std;
//#include <queue>
//-----------------------... | [
"phuntsho@phuntshos-air.wheatonma.edu"
] | phuntsho@phuntshos-air.wheatonma.edu |
69afd812c7a3b09490eca25e3b10994a24d14ee7 | 47cc28012a8c7763e32f9bb100b8578d6c30adc6 | /src/algorithms/Reorder List.cpp | 67d11cd4588dd185d7aba008806fe8df2b9c3f44 | [] | no_license | sun3522845/leetcode | 6fcf2fe089f451b892bbfba57cdaf7aef5b2dabc | 6c6bf317be25cd6699ef24813ca840fed5eaab1e | refs/heads/master | 2019-07-05T12:04:55.325605 | 2015-11-29T17:34:22 | 2015-11-29T17:34:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 645 | cpp | /**
* Definition for singly-linked list.
* struct ListNode {
* int val;
* ListNode *next;
* ListNode(int x) : val(x), next(NULL) {}
* };
*/
class Solution {
public:
void reorderList(ListNode* head) {
stack<ListNode *> st;
ListNode * p = head;
while(p)
{
st.pu... | [
"sunyan-3522845@hotmail.com"
] | sunyan-3522845@hotmail.com |
21cce30a05780c95b3430cd1416825b4328ce242 | 54aee53d7a65c8ebacdfd0dea918d90e0f6b423d | /MainFrm.cpp | f46abfc0dd85a8155471d1f079ac692e88ac8ec8 | [] | no_license | SeoFlu/openGL-3DSquare | c68a22b6bac368a8977868a26eee0f74c80412e3 | 88cb1eaa0712f5cc4e3193f04eb315f4c05d40e6 | refs/heads/master | 2022-12-06T11:44:42.461553 | 2020-08-26T04:37:43 | 2020-08-26T04:37:43 | 290,396,156 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 2,032 | cpp |
// MainFrm.cpp : CMainFrame 클래스의 구현
//
#include "stdafx.h"
#include "20131503P1.h"
#include "MainFrm.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// CMainFrame
IMPLEMENT_DYNCREATE(CMainFrame, CFrameWnd)
BEGIN_MESSAGE_MAP(CMainFrame, CFrameWnd)
ON_WM_CREATE()
END_MESSAGE_MAP()
static UINT ... | [
"noreply@github.com"
] | SeoFlu.noreply@github.com |
2d5d8cef55f043c14b7ca1a84c9cb17033602ea7 | b399b8c1247c1c82a5419dba70fa1a4537f86c1a | /华为软件精英挑战赛2021/复赛/代码/judge.cpp | 92fd9bb32e626cd845d40ee894b77451a6e9e20b | [] | no_license | Shelfcol/informal_note | a522076b1f74aa75cf4960713e39b1d61962a559 | d840cd7f78435f6247a5dbc52cf4f0d7a63233c9 | refs/heads/master | 2022-05-07T23:56:52.314715 | 2022-03-10T15:54:03 | 2022-03-10T15:54:03 | 225,847,592 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,657 | cpp | #include <bits/stdc++.h>
#include <utility>
using std::cout;
struct Ser_t {
int core, cpu, tot, day;
};
struct Ser {
std::string name;
std::pair<int, int> A, B;
Ser() = default;
Ser(std::string _name, const Ser_t& _s) {
name = std::move(_name);
A = {_s.core / 2, _s.cpu / 2};
... | [
"740297955@qq.com"
] | 740297955@qq.com |
20afcd872056cff89ce4f04bebb4aa09a9c9539e | 077bd1212d2bb58ec2cc10339cf3c3dca7418b84 | /BasicProblems/cowbells/cowbells.cpp | 56127205c69bb0392b8a25f2030ea3910e31623d | [] | no_license | daviddelapuente/competitivePrograming | 73c1fabcee708d53732efb5d69ab790b878b74c2 | 8b0b5a354be6512818c97b39ad9f54c06a3daf1d | refs/heads/master | 2023-07-16T05:28:35.497326 | 2021-08-22T01:15:27 | 2021-08-22T01:15:27 | 280,590,959 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 440 | cpp | #include <iostream>
#include <math.h>
#include <vector>
//g++ name.cpp -o name
//./name < test.txt
//url: https://codeforces.com/problemset/problem/604/B
int main() {
long n,k;
std::cin>>n>>k;
std::vector<long> cb(n);
for(long i=0;i<n;i++){
std::cin>>cb[i];
}
long m=0;
for(long i... | [
"daviddelapuentesalmon@gmail.com"
] | daviddelapuentesalmon@gmail.com |
f09566f1710fa17b2f5586cbc578bf59fee93462 | a108626b9860b7969d5e4672b8338c9a255ab576 | /som.h | 4eadbd578914da3f1f5095736ee864501013b6bb | [] | no_license | tsyrya/sofm | b3ac9044766f0ae2d1ddea84bd35e0585388b621 | 8e3b973d414f3161fc86716a56900c69f7efae3b | refs/heads/master | 2020-05-16T22:57:06.967416 | 2015-02-20T06:30:24 | 2015-02-20T06:30:24 | 26,988,131 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 643 | h | #ifndef SOM_H
#define SOM_H
#include <QtCore>
#include <QVector>
#include <QPair>
class som
{
public:
som();
som(QVector < QPair<int,int> >);
som(int grid_size,int cell_size,int beginx,int beginy); //size - размер сетки, x-координата x для точки отсчета, y - координата y для точки отсчета
int find_bm... | [
"tsyrya@gmail.com"
] | tsyrya@gmail.com |
293a05a7a5684e6a115f0189c140f22513fbb24d | cd99ca9461435d1417cb146d966e54272fbcc7ad | /3rd party/maxsdk/samples/CAT/src/CATControls/CollarBoneTrans.h | 914536eb40fb7a263db2885b40a3f99b9ec7579d | [] | no_license | mortany/xray15 | eacce7965e785dd71d1877eae25c1f9eff680eec | 72a13fb24e9b388850bc769427c231da8f599228 | refs/heads/master | 2020-08-02T20:45:23.493981 | 2019-10-14T18:48:48 | 2019-10-14T18:48:48 | 211,499,718 | 0 | 0 | null | 2019-09-28T12:50:47 | 2019-09-28T12:50:46 | null | UTF-8 | C++ | false | false | 4,744 | h | //////////////////////////////////////////////////////////////////////////////
//
// Copyright 2009 Autodesk, Inc. All rights reserved.
// Copyright 2003 Character Animation Technologies.
//
// Use of this software is subject to the terms of the Autodesk license
// agreement provided at the time of installation o... | [
"cheatmaster1@mail.ru"
] | cheatmaster1@mail.ru |
6b75296c4b4e7483828331c063387737b6d37bd4 | 63f809483a67e54fdb14c0825e5ec8c31fb3658b | /String/AhoCorasick.cpp | 431948a9b08911d81d6e92af998323d4f1fbcb3a | [] | no_license | cjdjr/Algorithmic_Template | 313608c38b59cd6ad1e6f2aa0349037e4763b27b | 8cbc6f6ab367b615a2d9ba6a7e82478525bc8c6d | refs/heads/master | 2020-04-08T10:42:07.341990 | 2018-11-10T07:33:10 | 2018-11-10T07:33:10 | 159,279,003 | 4 | 0 | null | 2018-11-27T05:06:00 | 2018-11-27T05:05:59 | null | UTF-8 | C++ | false | false | 1,920 | cpp | #include <bits/stdc++.h>
using namespace std;
const int maxn = 500100;
// AC自动机有三个部分,分别是建树,获取失配指针和查询。
// Aho_Corasick_Automaton :可以简单的理解为将KMP放在Trie树上
// https://www.luogu.org/problemnew/show/P3808
// AC自动机模板
int End[maxn];
int ch[maxn][26];
int fail[maxn];
int sz;
void insert(string s) {
int now = 0; //字典树的当前指针
... | [
"noreply@github.com"
] | cjdjr.noreply@github.com |
db36ae098eb62b00c92bb2cc87e1705895687816 | 6f714dbab92f0507f13aa582fa992277e42c1777 | /Plugin/inspecUrl/inspecUrlMgr.h | 6e2800f93a514d075a26fe8ecfead151aa37278c | [] | no_license | sinzuo/bluedon-soc | 90d72b966ace8d49b470dab791bd65f0d56d520e | 809b59888de2f94b345b36ae33afacdbe103a1dd | refs/heads/master | 2020-09-20T17:54:20.882559 | 2019-11-28T02:27:16 | 2019-11-28T02:27:16 | 224,552,658 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,649 | h | /** ************************************************
* COPYRIGHT NOTICE
* Copyright (c) 2017, BLUEDON
* All rights reserved.
*
* @file inspecUrlMgr.h
* @brief
*
*
* @version 1.0
* @author xxx
* @date 2017年08月03日
*
* 修订说明:最初版本
**************************************************/
... | [
"1586706912@qq.com"
] | 1586706912@qq.com |
29064060327b011a81940a9002fff00fcd99c932 | 58c03490b34a8bf4928248b001404edde15539cf | /Algorithms/S2_Implementation/Fair Rations.cpp | 871a9b420165797058244c3fa7d41aa81bd6de70 | [
"MIT"
] | permissive | VaibhavDS19/HackerRankChallenges | 2725b027320e1b2a697102c68992c5b65a7760ce | 5207c4145547ad6707bb86f71c692be23445b56a | refs/heads/master | 2023-01-27T12:33:39.722994 | 2020-12-02T19:08:28 | 2020-12-02T19:08:28 | 293,267,618 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,705 | cpp | #include <bits/stdc++.h>
using namespace std;
vector<string> split_string(string);
// Complete the fairRations function below.
string fairRations(vector<int> B) {
int count=0, difs=0;
bool b=0;
for(int i=0;i<B.size();i++)
{
if(B[i]%2==1)
{
if(b==0) difs=i;
else... | [
"vaibhavdinakar@gmail.com"
] | vaibhavdinakar@gmail.com |
ba56c8b56944c342dc62332a68afb8f0c3d8850e | e00e3061f853396b8233b2d85744c6768c86833a | /IcecreamServer/AIManager.h | 5951ff6dc2be68eff1dba1fa85fde1cbb07c9fac | [] | no_license | 02JanDal/IcecreamCubes | 4d7dc76e14e98dc6b7e9114f6a0a7c5951581ba1 | dcf39e06540c5541ca2461eb1e52fa6621693217 | refs/heads/master | 2020-05-29T08:35:05.886723 | 2014-02-23T11:36:50 | 2014-02-23T11:36:50 | 17,105,615 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 154 | h | #pragma once
#include "BaseAIManager.h"
namespace AI
{
class AIManager : public BaseAIManager
{
Q_OBJECT
public:
AIManager(QObject *parent = 0);
};
}
| [
"jan@dalheimer.de"
] | jan@dalheimer.de |
0a7079b4a764afadd452a588976a676fa39c7717 | d5b8ef8e044452f0cce06d15b5860d92f3109e4d | /framework/sphere.hpp | 209b0675fea2bc92d92459df296b660721be53f8 | [
"MIT"
] | permissive | aosterthun/programmiersprachen-raytracer-uebungen | f50ba1201d481cab3fec9774a2b8bb22c83cdf51 | 2cf912ad8e81ae6c6d234a05ef0a2c237576cb4b | refs/heads/master | 2020-05-02T12:49:46.240632 | 2015-06-29T14:26:08 | 2015-06-29T14:26:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 680 | hpp | #ifndef BUW_SPHERE_HPP
#define BUW_SPHERE_HPP
#include "shape.hpp"
#include <cmath>
#include <glm/vec3.hpp>
class Sphere : public Shape
{
public:
Sphere();
Sphere(glm::vec3 const& center);
Sphere(double radius);
Sphere(glm::vec3 const& center, double radius);
Sphere(glm::vec3 const& center, double radius, s... | [
"arne.osterthun@icloud.com"
] | arne.osterthun@icloud.com |
0ff381b1cbf0b2c5bfa458a368a716b5d785afdf | ed2486615dcb74c953339a820b1e7144b8f487a5 | /IDCard/Carte.cpp | 8a0ed08a1b996a0514e7773491cc8fa7990988a1 | [] | no_license | gfoubert/Identity-Card | 79e52b783247cf74647babe6b2f5237341993553 | 8f73c1ac7f120bb0e939b4776fc95198777d3be8 | refs/heads/master | 2021-08-08T04:16:17.320211 | 2017-11-09T14:38:40 | 2017-11-09T14:38:40 | 110,126,517 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 2,437 | cpp | #include "Carte.h"
#include <iostream>
#include <stdlib.h>
#include <string>
using namespace std;
Carte::Carte() //constructeur
{
static int i=0; //static permet de garder i en mémoire même après être sorti de la fonction
i++;
ID = i;
Nom = "";
Prenom = "";
DateDeNaissance = "";
Ville = "";
CP = 0;
}
int... | [
"guillaume.foubert@live.fr"
] | guillaume.foubert@live.fr |
9e73c1723e2fe9b099fca02b3b715197337796dc | e70d8a78b989b862f43c8acc8d7c8777133fbbd8 | /cpp/stack&string/StringsHomomorphism.cpp | 4247d042a3497ab23ee4274476ad42a650f63377 | [] | no_license | StephenGuanqi/leetcode | 95cc164d7d64ddd8dd0fab6a965b6e33ae43600b | 104db021615889064114db40fb1b56cc36c724e9 | refs/heads/master | 2021-06-05T00:03:00.483279 | 2019-09-06T15:00:22 | 2019-09-06T15:00:22 | 96,678,790 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 812 | cpp | //
// Created by Guanqi Yu on 1/10/18.
//
#include <iostream>
#include <algorithm>
#include <queue>
#include <vector>
#include <cmath>
#include <string>
using namespace std;
class Solution {
public:
/*
* @param s: a string
* @param t: a string
* @return: true if the characters in s can be replaced to get t or... | [
"guanqiy@andrew.cmu.edu"
] | guanqiy@andrew.cmu.edu |
271d9bc29e27f7c216cbefd1b7e55d47031a3cf7 | ce1e8b29ffd9d97ffc5c693fe3bd4ee358b5e1d5 | /src/Voxie/Vis/View3D.cpp | cfc56d7ba172f3275bee6dea9bcbc28bd6b3d536 | [
"MIT"
] | permissive | voxie-viewer/voxie | d76fe7d3990b14dea34e654378d82ddeb48f6445 | 2b4f23116ab1c2fd44b134c4265a59987049dcdb | refs/heads/master | 2023-04-14T13:30:18.668070 | 2023-04-04T10:58:24 | 2023-04-04T10:58:24 | 60,341,017 | 6 | 1 | MIT | 2022-11-29T06:52:16 | 2016-06-03T10:50:54 | C++ | UTF-8 | C++ | false | false | 33,575 | cpp | /*
* Copyright (c) 2014-2022 The Voxie Authors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, mer... | [
"steffen.kiess@cis.iti.uni-stuttgart.de"
] | steffen.kiess@cis.iti.uni-stuttgart.de |
683c20f60eb73314e07095b9e0f19793a862c40e | 000259a1c2a0ce57aa24cb5dcb49893bb217c663 | /server/be/src/exec/sort-exec-exprs.h | 06bc20709abf4207893f81bf41e6499ac1eac2f3 | [
"Apache-2.0"
] | permissive | drankye/recordservice | b3bbda0028c65327621ed4a0d32bbb8bb50dcbfd | ced33a1565b7ab3a25f6cb7cdcf623a26e7b3ec0 | refs/heads/master | 2021-09-03T21:15:35.046480 | 2018-01-12T02:45:18 | 2018-01-12T02:45:18 | 117,182,882 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,143 | h | // Copyright 2012 Cloudera Inc.
//
// 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 wr... | [
"zhengkai.zk@alibaba-inc.com"
] | zhengkai.zk@alibaba-inc.com |
be2fd636f68e0ea3bfdcc532c81c43a5ce827ed8 | 49d04c3affc184ce0b399dfc60ec30103c190883 | /include/GUIMenu.h | 98ca91c696d253ca0383e67d400f9c8a22d30114 | [] | no_license | Flacko/maguific | b89cd9cbf462eb2178c8c70d50369d7409c3e77c | 66b3f4c40d2aad3e70160c95065bd5a4613a35c1 | refs/heads/master | 2021-01-15T12:25:50.330969 | 2012-04-30T21:20:31 | 2012-04-30T21:20:31 | 3,304,377 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 418 | h |
#ifndef _GUI_MENU_H_
#define _GUI_MENU_H_
class DLL_EXPORT Menu : public Widget
{
public:
Menu (GBox b);
~Menu();
WIDGET_TYPE::en type() const;
Widget* widget (int wid) const;
Widget* widget (Widget* w);
void draw (GBox menupos, Resource& res);
Input* getInput (GBox menupos, Resource& res, ALLEGRO_EV... | [
"flacko94@hotmail.com"
] | flacko94@hotmail.com |
9e9c5b5815436950f1149d3fc51819f5350e314d | fd256043383b8daac69ed0447d0bc7f4c20513de | /SemanticAnnotator/main.hpp | eb9a503b9eee86aac0aa992ed3129b54fbdcb932 | [] | no_license | yenlaw/NaturalLanguageProcessing | 1a821e7e294eb16e9b89c7471dee3492fe178405 | 9abac28e1165725ec1f9e290799c22b9def3ea82 | refs/heads/master | 2020-06-19T11:38:39.527201 | 2016-11-27T18:52:35 | 2016-11-27T18:52:35 | 74,899,382 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 179 | hpp | //
// main.h
// .semanticannotator
//
// Created by "" on 06/04/2015.
// Copyright © 2016 yenlaw. All rights reserved.
//
#ifndef main_h
#define main_h
#endif /* main_h */
| [
"yenlaw@zoho.com"
] | yenlaw@zoho.com |
90936af8b9e436e2079372b1be248b42724f6f94 | 600df3590cce1fe49b9a96e9ca5b5242884a2a70 | /remoting/base/chromoting_event_log_writer.h | 8bbb99a867db3583b1c1627727d4bb29c643004d | [
"BSD-3-Clause"
] | 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 | 672 | 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 REMOTING_BASE_CHROMOTING_EVENT_LOG_WRITER_H_
#define REMOTING_BASE_CHROMOTING_EVENT_LOG_WRITER_H_
namespace remoting {
class ChromotingEvent;
c... | [
"enrico.weigelt@gr13.net"
] | enrico.weigelt@gr13.net |
63cb63bc785f77ef329bf01a9569aae18ae9deb6 | a299a931e99368093f589a45f658f6eba64609d2 | /zmq/v4.1.3/zguide/src/samples/tasksink.cpp | 7678b7a1901a5ac62b7ba2f0d694a782c04fa52f | [] | no_license | kasicass/kasicass | 4d4236942a3936b518c53ac59bdb3be3cff9ea44 | b688c670f04bdf2990fc87998e3fd18ddb3b7e35 | refs/heads/master | 2022-12-06T20:43:24.635730 | 2020-04-09T11:44:16 | 2020-04-09T11:44:16 | 883,202 | 13 | 11 | null | 2022-11-22T00:20:44 | 2010-09-02T12:30:02 | C++ | UTF-8 | C++ | false | false | 860 | cpp | // Task sink
// Binds PULL socket to tcp://localhost:5558
// Collects results from workers via that socket
#include "zhelper.h"
int main()
{
// Prepare our context and socket
void *context = zmq_ctx_new();
void *receiver = zmq_socket(context, ZMQ_PULL);
zmq_bind(receiver, "tcp://*:5558");
// Wait for start of b... | [
"kasicass@gmail.com"
] | kasicass@gmail.com |
f97583250f873ed0f7a73d4125fe7493daa9fcfd | 45c84e64a486a3c48bd41a78e28252acbc0cc1b0 | /src/printing/print_job_constants.h | e13c02123781dca45f017453955548ba36e82268 | [
"BSD-3-Clause",
"MIT"
] | permissive | stanleywxc/chromium-noupdator | 47f9cccc6256b1e5b0cb22c598b7a86f5453eb42 | 637f32e9bf9079f31430c9aa9c64a75247993a71 | refs/heads/master | 2022-12-03T22:00:20.940455 | 2019-10-04T16:29:31 | 2019-10-04T16:29:31 | 212,851,250 | 1 | 2 | MIT | 2022-11-17T09:51:04 | 2019-10-04T15:49:33 | null | UTF-8 | C++ | false | false | 7,136 | h | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef PRINTING_PRINT_JOB_CONSTANTS_H_
#define PRINTING_PRINT_JOB_CONSTANTS_H_
#include "printing/printing_export.h"
namespace printing {
PRINTING... | [
"stanley@moon.lan"
] | stanley@moon.lan |
cda95bf21baf1cca7a2f463d240c380f9de9e956 | ce16ca3e9ed61aa3abfad2700dcfb4b27c913fa2 | /Classes/KeyboardScene.h | 61a9b181513dbdc59ec7765b529e78fd186f4adc | [] | no_license | mengtest/CocosDeeper | cc76ac2fbf8cfbdef3548e54df61bf5fa6b3f98f | 49cd91e13f1c792e679f920ebe702ee87616ff7c | refs/heads/master | 2021-01-18T02:40:25.876804 | 2014-11-03T06:47:53 | 2014-11-03T06:47:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 390 | h | #pragma once
#include "cocos2d.h"
#include <map>
class KeyboardScene : public cocos2d::LayerColor{
public:
static cocos2d::Scene* createScene();
bool isKeyPressed(cocos2d::EventKeyboard::KeyCode code);
virtual bool init();
virtual void update(float delta) override;
CREATE_FUNC(KeyboardScene);
private:
stati... | [
"ccmehk@gmail.com"
] | ccmehk@gmail.com |
8b6b62e08a7876433649532300a4993c2fe0783d | 8933758baaa45746472325b52ec4250d66595045 | /perl_scripts/NamedProps.cpp | e099ec0341bb1a23bbc22505eb4bb70408283322 | [] | no_license | rohanapp/discarded_myscripts | 7c227c10df4daed22014749373da613ae36d980e | ed42ff65e292932a50e28f55d7f9edf720f50685 | refs/heads/master | 2021-01-22T05:05:56.911951 | 2014-10-14T06:19:39 | 2014-10-14T06:19:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,341 | cpp | #include "headers.h"
#include "DJobTaskStatusBlockObject.h"
#include "ngcore/ngutils/ans_debug.h"
#include "CoreInterfaces/IMessageManager.h"
#include "ngcore/messagelibni/AnsoftMessage.h"
#include "ngcore/ngutils/ans_debug.h"
#include "CoreInterfaces/IMessageManager.h"
#include "ngcore/messagelibni/AnsoftMessage.h"
#i... | [
"nareshapp@yahoo.com"
] | nareshapp@yahoo.com |
cdf631917f000bdd436e06b6c3bbbb41b094ec36 | 91dc94bc9cb31f9b072353fcbb06e492afe5a880 | /Include/GT_CreditScene.h | 088e3f3a387845719ebc1e29a3beb24c48680d48 | [] | no_license | kduvnjak15/GLFWTraining | b47a8bce73ed56670f80a9978f74448a44a1230f | eeffd9d86ea5acc94c3d88b26eccc6081f3cc219 | refs/heads/master | 2021-01-19T13:46:53.027972 | 2020-02-15T10:21:10 | 2020-02-15T10:21:10 | 82,416,821 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 598 | h | #pragma once
#include "GT_Scene.h"
#include "GT_Locator.h"
class GT_CreditScene: public GT_Scene
{
public:
GT_CreditScene();
void renderScene();
void checkKeyboardInput();
void sceneKeyboardHandler(bool* keys, int key, int scancode, int action, int mode);
private:
GT_Skybox* skybox_;
GT_... | [
"kduvnjak15@gmail.com"
] | kduvnjak15@gmail.com |
b4f60ce2dcb53bbc24bf217980c2337032c1b387 | 8235b5afd458b4e170927e4ba6f733ba4e0a552e | /src/qt/sendcoinsentry.cpp | 75d058582f758e7d01d79de450fcee2af3db49b9 | [
"MIT"
] | permissive | androskee/yolocoin | 5ea6c5ef01f1e605fd01763fffbe813dcc651713 | 8e70c52068dbd659c0e6bdcf7cf69d2531b0bd25 | refs/heads/master | 2021-01-18T15:17:22.946209 | 2014-05-10T15:47:08 | 2014-05-10T15:47:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,616 | cpp | // Copyright (c) 2011-2013 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "sendcoinsentry.h"
#include "ui_sendcoinsentry.h"
#include "guiutil.h"
#include "bitcoinunits.h"
#include "addressbo... | [
"yolocoin@hushmail.com"
] | yolocoin@hushmail.com |
36937bc5a69dffedd6396aee142a572c6b403c48 | e52dd6ee1735b9a6748f26592937c32919d55954 | /qcom-caf/display/sdm/libs/core/fb/hw_device.h | b19061c4f8f012b648e3544b46d4f0480d9ef771 | [] | no_license | zeelog/android_device_xiaomi_mido | 3ae683fb345a3349247cd96b276765b7f2e18f0b | 6a9d79ad50ff2c550281f55e4e902067e81694c6 | refs/heads/lineage-20.0 | 2023-05-27T19:14:47.677305 | 2019-03-18T19:24:33 | 2023-05-26T16:40:58 | 120,601,307 | 120 | 385 | null | 2023-05-26T16:41:00 | 2018-02-07T10:37:19 | C++ | UTF-8 | C++ | false | false | 7,775 | h | /*
* Copyright (c) 2014 - 2018, 2020, The Linux Foundation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are permitted
* provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright notice, this list of... | [
"Danjel.Zammit@gmail.com"
] | Danjel.Zammit@gmail.com |
2f54c521a0a265ba48b37e8e4845429f28f2957e | d14b5d78b72711e4614808051c0364b7bd5d6d98 | /third_party/llvm-16.0/llvm/include/llvm/IR/Argument.h | dba1dbc26ae391300cfe0c0185c532e2b8b811f2 | [
"Apache-2.0"
] | permissive | google/swiftshader | 76659addb1c12eb1477050fded1e7d067f2ed25b | 5be49d4aef266ae6dcc95085e1e3011dad0e7eb7 | refs/heads/master | 2023-07-21T23:19:29.415159 | 2023-07-21T19:58:29 | 2023-07-21T20:50:19 | 62,297,898 | 1,981 | 306 | Apache-2.0 | 2023-07-05T21:29:34 | 2016-06-30T09:25:24 | C++ | UTF-8 | C++ | false | false | 6,387 | h | //===-- llvm/Argument.h - Definition of the Argument class ------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | [
"swiftshader-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | swiftshader-scoped@luci-project-accounts.iam.gserviceaccount.com |
239d0a59b59c914614cdbf75b945ed1d0cfe1fe4 | 6a94f8c4adcd0e5108e52d4926179b3865617cb4 | /els_channel/Party.hpp | 9c0982869464a62fd15fc0c366120ace3a15cff8 | [] | no_license | rage123450/hk | 2bf8e047d22349a5cfb65dd3e01489738387d4ae | c938662ee1fee7a864e9258e37b37fb335c7e21d | refs/heads/master | 2023-06-07T18:33:12.924676 | 2020-10-16T17:58:44 | 2020-10-16T17:58:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 587 | hpp | #pragma once
#include <map>
#include "Player.hpp"
namespace els {
class Party {
private:
// does it need id?
std::map<int, Player*> m_members;
Player* m_leader;
long long m_partyid;
int m_dungeonid;
public:
Party() { }
~Party() { }
void setLeader(Player* player);
Player* getLeader();... | [
"kaokaotw@gmail.com"
] | kaokaotw@gmail.com |
06ef498bb035415982fcbb832091756570dbf81f | 5b02ef18d622f82706571b44a0791f514d7a6e80 | /src/ssl/OpenSslLib.cpp | f2c59989d2a84d419b8c334ae5fa34fca6b52dce | [
"MIT"
] | permissive | sjustfly/kuma | 46040e4ef0adbbc728a5a9bf57d13c4dbcf52314 | 5d0dd18cf71ba50051a523a4318ab49a2f3d3e43 | refs/heads/master | 2020-05-01T13:24:43.298761 | 2019-03-23T16:00:33 | 2019-03-23T16:00:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,019 | cpp | /* Copyright (c) 2014, Fengping Bao <jamol@live.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, m... | [
"jamol@live.com"
] | jamol@live.com |
49eb923ed2a8197f2bb775efaa7bab0ed45ea744 | 71718b60860c68539175931114ec322a83a014d2 | /static/analysis/IO.cpp | 9a3d2feea30299a8a35815b4ae97b1dc237a02e2 | [
"Apache-2.0"
] | permissive | killvxk/Janus | 466ba3c3f41a410ea5c0afd2c2810861eaeede8b | f51381227e20a0f00ad6356ecf07c8b752d8ec33 | refs/heads/master | 2020-04-23T19:02:33.162511 | 2019-02-14T21:06:04 | 2019-02-14T21:06:04 | 171,388,739 | 1 | 0 | Apache-2.0 | 2019-02-19T02:13:31 | 2019-02-19T02:13:30 | null | UTF-8 | C++ | false | false | 13,665 | cpp | #include "IO.h"
#include "JanusContext.h"
#include "BasicBlock.h"
#include "Instruction.h"
#include "Loop.h"
#include "Variable.h"
#include <string>
#include <algorithm>
#include <map>
#include <set>
#define DUMP_FULL_LOOP_INFO
//#define PRINT_CONTROL_DEP_IN_SSA
using namespace std;
using namespace janus;
static str... | [
"rkz20@cam.ac.uk"
] | rkz20@cam.ac.uk |
a2bdeb2c1e0b60ffee3d17ee89ac6c357e3ee147 | ecb42b6182890cd8a07f1c371fa8436ed76eef7e | /UE4.26/IGLMeshProcessingProject/Plugins/MeshProcessingPlugin/Source/MeshProcessingPlugin/Public/Tools/IGLSmoothingTool.h | 25921f9b05300b14f5edff4fb81644db0d165e02 | [
"MIT"
] | permissive | Fangrelle/UnrealMeshProcessingTools | 0a9dbe79171428f2466e6d60e506583aa2e6406d | 4758e46b2592938fae4012abe096417440e85f47 | refs/heads/master | 2023-01-06T05:30:21.559496 | 2020-11-01T02:41:55 | 2020-11-01T02:41:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,576 | h | #pragma once
#include "Tools/MeshProcessingTool.h"
#include "BaseTools/BaseMeshProcessingTool.h"
#include "IGLSmoothingTool.generated.h" // Unreal will generate this file
// This UInteractiveToolPropertySet provides a list of settings. These settings will appear in a DetailsView panel in the Unreal Editor.
UCLASS()... | [
"rms@rms80.com"
] | rms@rms80.com |
f7372c5fd70e507d3dee3b4c2ef0a82d31be5acb | ae942da6ab4eb6176bd294378a9751cbda4273c1 | /implement_detail/Deque_impl.h | 06045811695ba09e1499fc63eace854e3f27f95a | [] | no_license | fgy1995/FgyTinySTL | cebcc4ca4697879993a074db6ad95e9c71b6966c | 937ebb7a17c850eb9083ff31cb3f347ad704b654 | refs/heads/master | 2021-05-23T08:28:22.478771 | 2020-05-02T08:18:03 | 2020-05-02T08:18:03 | 253,198,983 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,588 | h | //
// Created by Fgy on 2020/4/25.
//
#ifndef FGYSTL_DEQUE_IMPL_H
#define FGYSTL_DEQUE_IMPL_H
#include "../Deque.h"
namespace FgyTinySTL{
namespace Detail{
/*
* 私有成员函数,获得缓冲区头尾相关操作
* */
template<class T>
T* dq_iterator<T>::getBuckHead(size_t mapIndex) const {//获取迭代器所在缓存区的... | [
"912439954@qq.com"
] | 912439954@qq.com |
b04fa720bd73b9e93bb2e7ca7e3b9b9ea44ad66e | 9633e8087fbd35c279db17046eb0d30ea2a0804d | /WPI_RRISE/main.cpp | d8acd6fc801b955d45b0025037c2e122ece2a325 | [] | no_license | BBBBlarry/WPI_RRISE | 8c2f3e73ed33f8081faf77329235e435a8e1ddba | f32508d6fbefbe4025dffd3a421ef7ac7c3fa90e | refs/heads/master | 2016-09-01T08:41:05.846951 | 2015-11-11T23:29:22 | 2015-11-11T23:29:22 | 45,360,884 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 449 | cpp | //
// main.cpp
// WPI_RRISE
//
// Created by Blarry_Air on 2015-11-01.
// Copyright (c) 2015 RRISE. All rights reserved.
//
#include <iostream>
#include "./src/WPI_RRISE.h"
#include "./src/Robot_Mimic_Control.h"
#include "RRISE_Bot.cpp"
int main(){
Robot_Mimic_Control* control = new Robot_Mimic_Control... | [
"blarrywang@gmail.com"
] | blarrywang@gmail.com |
173d881d542c89ac80cf5c1df579f823d8f6a6f3 | 096bb2b86aa46a037930a596545113cc117af549 | /cpp_stiven_prata/chapter_6/6.3.cpp | 634a0fe2a37d126850233667f6b3686b5addea2c | [] | no_license | jonmd87/C__study_and_practice | 955edd86ee19303ae3b06fd636efc2d91f61fb76 | 8c51e178b67e5cff419bab924db7263cf51d055d | refs/heads/master | 2023-08-16T13:38:06.032053 | 2021-10-12T14:03:19 | 2021-10-12T14:03:19 | 344,206,789 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,261 | cpp | // write a program that display a menu
// menu consist of four items
// the user can chose only pemised letters
// if user entered other letter, program will show menu
// and ask to enter right letter.
#include <iostream>
using namespace std;
const unsigned int M = 6;
char arr[M][15] = {"america", "bolivia", ... | [
"jonmd87@yandex.ru"
] | jonmd87@yandex.ru |
a148ca04b296b24a50585a26b978a223f5ec88f0 | cedcbe13b951d5aff9a81d6e273f9bb4dbcbe5cc | /Plugins/AbilityFramework/Source/AbilityFramework/AnimNotify/AFAbilityNotifyState.cpp | 67dc98da47e467d5c49efa6f972929bf9508256c | [] | no_license | Pipi24/ActionRPGGame | 51562967e0de06a269e13e6622d5ea18e940241c | a645a210275f71c6ba51f17a1e545427d94137fe | refs/heads/master | 2021-08-30T10:49:29.196697 | 2017-12-17T14:47:10 | 2017-12-17T14:47:10 | 114,983,487 | 1 | 0 | null | 2017-12-21T08:45:12 | 2017-12-21T08:45:12 | null | UTF-8 | C++ | false | false | 1,070 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "AbilityFramework.h"
#include "AFAbilityInterface.h"
#include "AFAbilityComponent.h"
#include "AFAbilityNotifyState.h"
void UAFAbilityNotifyState::NotifyBegin(class USkeletalMeshComponent * MeshComp, class UAnimSequenceBase * A... | [
"xeavien@gmail.com"
] | xeavien@gmail.com |
63b25a6236776532e82da6690dea984886280075 | f5357204a7758cacd85ddfe895e1417c59bd665f | /vtkm/cont/ExecutionAndControlObjectBase.h | 2d4df5266ffab3c9ce88de5eb894867b00450263 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | yisyuanliou/VTK-m | 37b273d5302a6ef790a0257b521e6e04eec11afd | cc483c8c2319a78b58b3ab849da8ca448e896220 | refs/heads/master | 2022-12-09T11:28:54.228020 | 2020-09-10T09:26:36 | 2020-09-10T09:26:36 | 285,628,280 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,014 | h | //============================================================================
// Copyright (c) Kitware, Inc.
// All rights reserved.
// See LICENSE.txt for details.
//
// This software is distributed WITHOUT ANY WARRANTY; without even
// the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
// PURP... | [
"y002783@gmail.com"
] | y002783@gmail.com |
20e1fdf8fd006d8b4b26cd1d72137f58b03a82b9 | f3251cda54d23fce2f66514294a632b165dfe310 | /ISL29001/Examples/ReadLight/ReadLight.ino | bc4df384f85be76a07a10940063686779d356528 | [] | no_license | ryker1990/CE_ARDUINO_LIB | 7f20c330b6bbe3347328465c95b4710a928ea19d | 3ac9780d73255b4b2c5c85d308093339e44433ed | refs/heads/master | 2021-05-13T15:32:29.347345 | 2018-01-09T05:54:33 | 2018-01-09T05:54:33 | 116,772,431 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,360 | ino | /**************************************************************************/
/*
Distributed with a free-will license.
Use it any way you want, profit or free, provided it fits in the licenses of its associated works.
ISL29001
This code is designed to work with the ISL29001_I2CADC I2C Min... | [
"ryker1990@gmail.com"
] | ryker1990@gmail.com |
1b1b4f836c11c820fae5af78fa1ed761cf28b2bc | 2ded0684273fb614f16f114abf2781ad4cf07df8 | /Lab2Passoff/Predicate.cpp | 759058e94796ed5b55dfc982fb79dba098fccfb2 | [] | no_license | gmacgre/filePasser | 818d4cf10d0a797598a6fcfbb71e8392cf01eac6 | 81f8e1288d1c01c78a4696c48fba88f9ef12bfa0 | refs/heads/master | 2023-08-14T06:05:05.722942 | 2021-09-28T16:59:24 | 2021-09-28T16:59:24 | 411,368,499 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 81 | cpp | //
// Created by Malcolm MacGregor on 9/27/2021.
//
#include "Predicate.h"
| [
"gmacgre@byu.edu"
] | gmacgre@byu.edu |
da4e41fd2ec097c3eb511a2004d89910c2bafcb2 | 2a9b543f0b3c43700391249ef5a560e3430c8858 | /assignment4/gloo/gl_wrapper/IBindable.hpp | 66c48124fa3990203e1fa6ccadc489525331755f | [] | no_license | nadah09/6.837_ComputerGraphics | 7452a37502bc06c6e1f5a550cc495b33b8d8de5b | adddea7720be0552667e5a5f538e82b4441d7337 | refs/heads/main | 2023-03-11T13:27:33.335077 | 2021-02-22T15:10:13 | 2021-02-22T15:10:13 | 341,238,883 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 228 | hpp | #ifndef GLOO_I_BINDABLE_H_
#define GLOO_I_BINDABLE_H_
namespace GLOO {
class IBindable {
public:
virtual ~IBindable() {
}
virtual void Bind() const = 0;
virtual void Unbind() const = 0;
};
} // namespace GLOO
#endif
| [
"nhussein@mit.edu"
] | nhussein@mit.edu |
2fb9e7392484cc4b2d660200edad2f2efa5bd87e | 12d4468a8e7796c176a7779c06a56af90c25b8e2 | /src/Game/Player.h | 76b2bd924fc0e2ad410ed3e97ac9c4dc5b2991c3 | [] | no_license | nanaki1984/TreasureHunters | 9ec1c02957563bc1f758616f4ff1ecf7ac24cd68 | e10bcfd5bdae208a39f226aec2a82f8aed7ead27 | refs/heads/master | 2021-01-17T12:55:31.384060 | 2016-07-18T16:15:55 | 2016-07-18T16:15:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,062 | h | #pragma once
#include "Core/RefCounted.h"
#include "Core/SmartPtr.h"
#include "Core/Collections/Array_type.h"
#include "Math/Math.h"
#include "Math/Vector2.h"
namespace Network {
namespace Messages {
class PlayerInputs;
class PlayerState;
}
}
namespace Game {
using Core::Collections::Array;
... | [
"nanaki1984@gmail.com"
] | nanaki1984@gmail.com |
13e44546f2bba238c4e363f8cbf85beacaecd853 | 41a6b7db0946310ee65c80ae199ebdd019f967b8 | /src/WebPictureDLG.h | 8c654b1ab32f774a686888262cd44a5a5731c63c | [] | no_license | weimingtom/WebPicture | b736be5e22e4bf54db20df3a800973d24d3c18f8 | 9b5acb46c598117f161088ec40c7c9ef25e34fa0 | refs/heads/master | 2020-05-17T21:55:19.178785 | 2011-09-12T13:10:11 | 2011-09-12T13:10:11 | 2,370,932 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,526 | h | // WebPictureDlg.h : header file
//
#if !defined(AFX_WebPictureDLG_H__2C00BB23_0A90_4992_B001_9295B90F3D6B__INCLUDED_)
#define AFX_WebPictureDLG_H__2C00BB23_0A90_4992_B001_9295B90F3D6B__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
//////////////////////////////////////////////////////////////... | [
"weimingtom@qq.com"
] | weimingtom@qq.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.