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 905
values | visit_date timestamp[us]date 2015-08-09 11:21:18 2023-09-06 10:45:07 | revision_date timestamp[us]date 1997-09-14 05:04:47 2023-09-17 19:19:19 | committer_date timestamp[us]date 1997-09-14 05:04:47 2023-09-06 06:22:19 | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 22
values | gha_event_created_at timestamp[us]date 2012-06-07 00:51:45 2023-09-14 21:58:39 ⌀ | gha_created_at timestamp[us]date 2008-03-27 23:40:48 2023-08-21 23:17:38 ⌀ | gha_language stringclasses 141
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 115
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b45057810ccfd2efa712d2130cdc61aa2f390955 | d17404e081bc8deeb51a60c1832f7765c22f324d | /TFGapp/TFGapp/BBDD.cpp | 1f032ad99f181c292b7c6d229ca041d09888f9fd | [] | no_license | polditathereal/tfg | 3b9e1ecd8da5268b60a8d6212f728b92a5bc7174 | 2519405d22f98b16289b7604223442f43d2ab05a | refs/heads/master | 2020-05-07T10:15:07.799939 | 2019-04-08T14:11:33 | 2019-04-08T14:11:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,801 | cpp | #include "Header.h"
static int BBDD callback(void *NotUsed, int argc, char **argv, char **azColName) {
int i;
for (i = 0; i < argc; i++) {
printf("%s = %s\n", azColName[i], argv[i] ? argv[i] : "NULL");
}
printf("\n");
return 0;
}
void BBDD crearTablaHorario(sqlite3 *bd) {
char sql[] = "CREATE TABLE IF NOT EXI... | [
"alejandro@gonzalez.ws"
] | alejandro@gonzalez.ws |
d4bd959af21c0eac9e347ff77fe242b5ea2d6f00 | eb40a068cef3cabd7a0df37a0ec2bde3c1e4e5ae | /dnn/src/x86/convolution/fma/convolution_conv_fh2_fma.cpp | ffcced381f830563abffaa9b2aa5cd165453a8e7 | [
"Apache-2.0",
"LicenseRef-scancode-generic-cla"
] | permissive | tpoisonooo/MegEngine | ccb5c089a951e848344f136eaf10a5c66ae8eb6f | b8f7ad47419ef287a1ca17323fd6362c6c69445c | refs/heads/master | 2022-11-07T04:50:40.987573 | 2021-05-27T08:55:50 | 2021-05-27T08:55:50 | 249,964,363 | 1 | 0 | NOASSERTION | 2021-05-27T08:55:50 | 2020-03-25T11:48:35 | null | UTF-8 | C++ | false | false | 53,031 | cpp | /**
* \file dnn/src/x86/convolution/fma/convolution_conv_fh2_fma.cpp
* MegEngine is Licensed under the Apache License, Version 2.0 (the "License")
*
* Copyright (c) 2014-2021 Megvii Inc. All rights reserved.
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License i... | [
"megengine@megvii.com"
] | megengine@megvii.com |
d0b6bf24d4f37645b9317d334d45f37a2ba5625b | 7d5f853706ad7dbf9c9e9d3753793bb9aef1f966 | /9/9.15/vector是否相等.cpp | d032ae3b858a1afb2d4a7728f9f81a2567081384 | [] | no_license | Clins28/CPlusPlusPrimer | 2e98d598f7a7baaee293aececf625514f5c3cae2 | db05a74af54d1f4662124678fa97ac3d9b0c45ce | refs/heads/master | 2020-04-14T07:47:20.083530 | 2018-07-17T12:16:05 | 2018-07-17T12:16:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 357 | cpp | #include <string>
using std::string;
#include <list>
using std::list;
#include <deque>
using std::deque;
#include <vector>
using std::vector;
#include <iostream>
using std::cout;
using std::cin;
using std::endl;
int main() {
vector<int> v1{ 1,2,3,4,5,6,7,8,9 };
vector<int> v2{ 1,2,3,4,5,6,9 };
cout << (v1 == v2) <<... | [
"cbg0202@gmail.com"
] | cbg0202@gmail.com |
b95ac747df2037ec8f880323ef6f4a03cb17faa1 | bcad3845567f19ed74b3295c76d2f2212e85725c | /VulkanSamples/ForwardRenderingModel/vDeleter.h | 7c50d67622f4e4cfce52882cd1ee9add63389e7e | [
"MIT"
] | permissive | centauroWaRRIor/VulkanSamples | 9edf0fea591f008b1db26bb37441689d7021812c | 5a7c58de820207cc0931a9db8c90f00453e31631 | refs/heads/master | 2021-07-15T23:58:39.107675 | 2020-06-07T00:03:55 | 2020-06-07T00:03:55 | 67,762,144 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,422 | h | #pragma once
#include <functional> // used for lambda functions in the resource management
// Thin vulkan objects wrapper to facilitate its resource management. This model
// follows the RAII principle as it cleans up the object the moment it goes out of
// scope
template <typename T>
class VDeleter {
public:
// def... | [
"emmanuel.villagomez@gmail.com"
] | emmanuel.villagomez@gmail.com |
e2f7a914d337b55f765ba7cd931bfc0e32508b88 | 855b85cbcbfe4b109f293320b03f68c268a900d7 | /src/main.cpp | 27bff70c06c7834c39ce6d9e45d57523e0307163 | [] | no_license | foopod/they-see-me-rollin | 8cf0b672c8d72ddefbdfdc50994f5bd2640d6b26 | 2d1319c19c9aeac4e58827ff668b48ff3af131d1 | refs/heads/main | 2023-06-26T06:30:26.732755 | 2021-07-27T19:25:10 | 2021-07-27T19:25:10 | 389,766,216 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,070 | cpp | #include "bn_core.h"
#include "bn_random.h"
#include "dr_scene_type.h"
#include "dr_rotation.h"
#include "dr_scene_intro.h"
#include "dr_scene_up_button.h"
#include "dr_scene_up_plug.h"
#include "dr_scene_down_buns.h"
#include "dr_scene_down_grill.h"
#include "dr_scene_down_dog.h"
#include "dr_scene_left_cutlery.h"
#i... | [
"jonathonshields@gmail.com"
] | jonathonshields@gmail.com |
ecf8b2643082442c73d637ee58552849ea76a13b | f027e05000522e7c4b4cf74a1b4254e37e81be0c | /AppSim.h | 687d4d7507a840112b1b6ad14e93c0d80e64bd07 | [] | no_license | zouwen198317/solver | 3cfa8ef001f688cc9a9d169e00c024a892337df6 | 5a71d4ec445c7d32be73b57baca010e6f52021f3 | refs/heads/master | 2021-01-21T08:12:22.230713 | 2015-02-10T05:34:50 | 2015-02-10T05:34:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 817 | h | #ifndef __APP_SIM_H__
#define __APP_SIM_H__
#include "AppMates.h"
#include "Visualizer.h"
#include <memory>
/// advmates-simアプリケーションクラス
/**
* 計算と簡易可視化を同時に行う
*
* @ingroup Initialization
*/
class AppSim : public AppMates
{
public:
AppSim(){};
~AppSim(){};
/// 初期化とコマンドライン引数の処理
virtual void init(int ... | [
"shikichi_takuya@quvo-MacBook-Air.local"
] | shikichi_takuya@quvo-MacBook-Air.local |
166498cefe75dc3c23e0343103b92cdfca2f643d | 16dbe02dab45576023bf0a24d0b7f42c7bee4263 | /Program 6/IntList.h | f7f7105b2469d9213c9e9f64d6c2f27f3d9d2680 | [] | no_license | indranisen2003/CS012 | 4b4dbffe6f769140153e3239de9e60b236497431 | 2fa0e64030d79d53e8a3868de74fe10ddc80293b | refs/heads/master | 2022-02-14T23:54:29.577651 | 2019-04-01T22:31:55 | 2019-04-01T22:31:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 924 | h | #ifndef INTLIST_H
#define INTLIST_H
#include <ostream>
using namespace std;
struct IntNode {
int data;
IntNode* next;
IntNode(int data) : data(data), next(0) { }
};
class IntList {
protected:
IntNode *head;
IntNode *tail;
public:
IntList();
IntList(const IntList &);
IntList & operator=(const IntList &... | [
"kashyap.panda@gmail.com"
] | kashyap.panda@gmail.com |
182fbc79a20c8339e55847666912dedb14f36f0c | 11fb912c54742b8a147bcb59085f275850e249bb | /algorithms/perfectCircle.cpp | ab8c60f880a9a992be1813ce83ab9a5381307210 | [] | no_license | rodp63/CG-3-Mosqueteros | e631302d671c2d0df31e43182962d529dc3fec7a | 376d7358681f1ff8579fde778273c63686dbddab | refs/heads/master | 2023-06-11T20:52:03.541426 | 2021-07-06T23:16:40 | 2021-07-06T23:16:40 | 355,275,689 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,008 | cpp | #include <iostream>
#include <math.h>
struct Point
{
Point(double X, double Y) : x(X), y(Y){};
double x;
double y;
}; //Simple Point structure
int main()
{
double mi, ro,ni ;
int i;
;
const double PI = 3.14159;
std::cout << "input: centro x | centro y | radio | indice de vertice de ini... | [
"BasicAlgorithm"
] | BasicAlgorithm |
fcb70869877d70c12e7b2a5d688cc2d000a2273c | 95a3f7b2207b899d5e443915b64a440be44a8f1a | /implementation/Galaxterminate/ChangeEngine.hpp | 98dec9daff217d5010ddfbb7bd0474d5aed899a5 | [] | no_license | cedmans/ChangeEngine | 32a918bc4301d4da6c44750275530e4daf9f2eaa | f7a226cc19fa89bb9e769246d278cbc0a199018c | refs/heads/master | 2020-06-05T13:18:26.748806 | 2011-06-15T23:32:05 | 2011-06-15T23:32:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 32 | hpp | ../ChangeEngine/ChangeEngine.hpp | [
"cwienold@gmail.com"
] | cwienold@gmail.com |
70ef973734c44bdb412d4fa4491a2116b79d8cf5 | 0fa0a47b7bffe1805ecb8201df51e8c84d85e9d3 | /src/Fle_MultiColorChooserDialog.cpp | d7008680487b7fa5dbb72cb0872efabe5dfd3015 | [] | no_license | Moaaz-Rafique/FL-Essentials | 28e0cd73e7b6811cf32b1b4b4cb71c5b84f8e343 | 16ab22d65fc3974cb0be34edd9585d4d4a102021 | refs/heads/master | 2023-03-16T19:47:33.708122 | 2021-01-09T01:05:26 | 2021-01-09T01:05:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,063 | cpp | /*********************************************************************************
created: 2017/11/22 04:02AM
filename: Fle_MultiColorChooserDialog.cpp
file base: Fle_MultiColorChooserDialog
file ext: cpp
author: Furqan Ullah (Post-doc, Ph.D.)
website: http://real3d.pk
CopyRight: All Rights Reserved
purpose: c... | [
"furqan797@gmail.com"
] | furqan797@gmail.com |
a20ba7d3504c0e54b6505ea034fb47dd5d70cd35 | 449cae7b21b46f5be5c782bd0091d916861397fd | /TestTCP/PublicCode/Head File/Thread/ClassThread.h | 317010040c38ca3117c914f25f992516ec1e39ff | [] | no_license | Mertion/TestTCP | a1783ac53d55f0a9b53e6d8374260b033eed75e6 | 4dc95e1a3a60a49f56a98aefccd27fc55d7bbceb | refs/heads/master | 2020-05-22T00:36:53.934009 | 2019-05-11T19:58:35 | 2019-05-11T19:58:35 | 186,175,851 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,538 | h | #pragma once
//线程回调函数指针类型
typedef unsigned(*pfuncThread) (void*pArguments);//线程工作函数
//周期循环线程类
class ClassThread
{
public:
enum ENUM_THREADINFO
{
ENUM_THREADINFO_SUCCESS = 0,
ENUM_THREADINFO_CREATTHREADFAILD, //创建线程失败
ENUM_THREADINFO_FUNCISEMPYT, //函数指针为空
ENUM_THREADINFO_THREADISRUN, //线程已经在运行
};
publi... | [
"li_zhiguoxq@163.com"
] | li_zhiguoxq@163.com |
987acea4b44e61c782968df6a7eba3d489c0939d | 253f1f7dc64c8078abc135d4ccd619e10314e24f | /university/sorting/main.cpp | 6c9d9f877c46d3859694e620a2e522b64145c45b | [] | no_license | JustSlavic/snippets | 4a3f1cf5822213515818f7ee32fad73c31df7796 | 8f5b77ab4f75f0eae1c42637aba2c9496db8cb61 | refs/heads/master | 2021-05-18T21:22:59.203006 | 2020-06-02T21:11:13 | 2020-06-02T21:11:13 | 251,427,567 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,009 | cpp | #include <stdio.h>
#include <stdlib.h>
#include <time.h>
typedef struct _array {
int* arr;
int n;
} array;
array* make_array(int n) {
array* a = malloc(sizeof(array));
a->arr = calloc(n, sizeof(int));
a->n = n;
}
void swap(int* a, int* b) {
int tmp = *a;
*a = *b;
*b = tmp;
}
array*... | [
"justslavic@gmail.com"
] | justslavic@gmail.com |
b290bf1407927a4d203f90d2e2a8c0cd5851ba30 | 8dcadce26703ff8c4b5de1018a10ebb7806818b4 | /include/fxx/tuple/slice.h | bb85585cfe206646cdda510e56f191081a0f5b8a | [] | no_license | KFAFSP/fxx | 62577556056d2b5da4bc19f9ea2461e3f1736817 | df7073f4c3be6b62d906489d97ea21109b57f486 | refs/heads/master | 2020-06-30T02:08:26.600377 | 2019-08-05T20:55:21 | 2019-08-05T20:55:21 | 200,688,379 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,510 | h | /** Implements std::tuple slicing.
*
* @file tuple/slice.h
* @author Karl F. A. Friebel (karl.friebel@friebelnet.de)
*
* @version 0.1
* @date 2019-06-05
*
* @copyright Copyright (c) 2019
*/
#ifndef FXX_TUPLE_SLICE_H
#define FXX_TUPLE_SLICE_H
#pragma once
#include <fxx/meta/indices.h>... | [
"karl.friebel@friebelnet.de"
] | karl.friebel@friebelnet.de |
21c8b7955273631612148155d8b248d75de63966 | 065d717cb3375b843498840d709c689ad1e936dc | /1078.cpp | 1cd4dffa13abaf24eaaab3fad12163cfb28d09e5 | [] | no_license | otifik/algorithm | 6060d19f1090fe6a31c1c523e3e31fe3dabd0877 | 2f5eafd7f8a3099df0add6ce65e36d860c86c73f | refs/heads/master | 2023-09-04T23:04:18.537769 | 2021-10-04T02:03:20 | 2021-10-04T02:03:20 | 389,320,303 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 872 | cpp | #include<iostream>
#include<math.h>
#include<string.h>
using namespace std;
int m,n;
int num;
int hashTable[10010];
bool isPrime(int number){
if(number==1){
return false;
}
for(int i=2;i<=sqrt(number);i++){
if(number%i==0){
return false;
}
}
return true;
}
int mai... | [
"3078496627@qq.com"
] | 3078496627@qq.com |
dff589f31fd1dc2bf17c56b0e69c54ed00da431e | 3e11dc7aee5b08d296762de34aa56ad628de968f | /sample/SampleBroadcaster-Swift/Pods/boost/boost/unordered/detail/buckets.hpp | 85681a685c79a43b20931529d527de1b7309145a | [
"LGPL-2.1-only",
"MIT",
"BSL-1.0"
] | permissive | ParsifalC/VideoCore | 9f6fb03729992022e19b34f22568e1c24819ad01 | 1ecb3b261e0ad6139e27299d5be459bf91a1a17f | refs/heads/master | 2023-05-28T18:53:27.178985 | 2016-04-27T09:37:23 | 2016-04-27T09:37:23 | 57,192,837 | 0 | 0 | MIT | 2023-05-11T02:48:06 | 2016-04-27T07:24:46 | C++ | UTF-8 | C++ | false | false | 32,078 | hpp |
// Copyright (C) 2003-2004 Jeremy B. Maitin-Shepard.
// Copyright (C) 2005-2011 Daniel James
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#ifndef BOOST_UNORDERED_DETAIL_MANAGER_HPP_INCLUDED
#define BOOST_UNORDE... | [
"max.campolo@kiswe.com"
] | max.campolo@kiswe.com |
14ce8ca45cb2eeb7976938b9c50fff3d1cf6ccc4 | ce702eb37c0bde25c461deddaef7030188ce9a26 | /src/compass-rccars-daq-DIALOGCommunication/messagecontainer.cpp | 60b569f6f5f4df190be54202d51ba36ae2d68d13 | [] | no_license | lemochus1/DIALOG | f43c4fd3ebf1cebdb13a65cef367b1c3371d2644 | f67782ef756e296148e97e81ab75866e6246369b | refs/heads/master | 2022-12-17T05:59:15.137798 | 2020-08-29T14:23:55 | 2020-08-29T14:23:55 | 284,671,166 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 886 | cpp | #include "messagecontainer.h"
MessageContainer::MessageContainer(QByteArray* headerInit,
QByteArray* messageInit,
quint32 messageCounterInit)
{
header = headerInit;
message = messageInit;
messageCounter = messageCounterInit;
}
MessageCo... | [
"lemochus@gmail.com"
] | lemochus@gmail.com |
24740dddacc9a8736d398c509c3821a414d8bc30 | 617228d1459396a87c3032c34c8f3059cabaea80 | /yassine's work/pack.cpp | b8b2f6fecdeb727189135ba6a7ef2efeff715613 | [] | no_license | syrine20/Smart_Wedding_Reception_2A11 | 807f078ab64408dd251bf2891fa318e35c6279d8 | 893e721fb119029065e66de0de169c437314a24a | refs/heads/master | 2023-02-13T14:28:32.591018 | 2021-01-06T12:39:22 | 2021-01-06T12:39:22 | 316,333,230 | 0 | 4 | null | 2021-01-06T12:39:23 | 2020-11-26T20:44:08 | C++ | UTF-8 | C++ | false | false | 4,039 | cpp | #include "pack.h"
#include <QMessageBox>
#include "QSqlQueryModel"
#include "mainwindow.h"
pack::pack()
{
}
pack::pack(int iP ,QString c,QString l,int prix_i)
{
id_pack= iP;
categorie= c;
liste= l;
prix_initial= prix_i;
}
bool pack::ajouter()
{
QSqlQuery query;
query.prepare("INSERT... | [
"yassine.najar@esprit.tn"
] | yassine.najar@esprit.tn |
19b33166ff009b79d6cd7452e5c0877bc1c9828d | b89ab9485b8714676b13fc73eb30993c998695f5 | /LinkedList/triangular.cpp | 8086abe76924dc6371a06235b97f71b73a018bf2 | [] | no_license | suman2826/Building_BLocks_of_Competitive | 8a96dbc3c405870fa84f7d877c9cd91585464443 | 17b47fc8640d0912e5406de5d16ccc9c7fcb9fd3 | refs/heads/master | 2022-11-27T04:23:36.863788 | 2020-08-01T14:11:12 | 2020-08-01T14:11:12 | 254,287,953 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 252 | cpp | #include<stdio.h>
#include<iostream>
using namespace std;
int main()
{
printf("Enter the coordinates: ");
int x,y,i,res=0;
scanf("%d%d",&x,&y);
res = (x*(x+1))/2;
for(i = 1;i<y;i++)
{
res = res + x;
x = x+1;
}
printf("Result: %d",res);
} | [
"sumangoel151@gmail.com"
] | sumangoel151@gmail.com |
75e78146731ecf18bb01c79aa1a073cccd98587e | ad3c7df40bd2b8a1dbbcfe91f4505b000cdf20f6 | /实验代码/2-test.cpp | 3c2c495d7ba9a9384723ef5dfb0e941c847fa6c5 | [
"MIT"
] | permissive | weishuo2/Algorithms_base | cc96abc29edf2928db2932e53c1921cdb0f0a5b3 | b413060b740958b809e44a48c0cea10a3e348bca | refs/heads/master | 2020-03-06T18:31:28.629925 | 2018-03-27T15:35:27 | 2018-03-27T15:35:27 | 127,008,790 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 6,633 | cpp | #include <iostream>
#include <string>
using namespace std;
inline int compare(string str1,string str2) {//相等返回0,大于返回1,小于返回-1
if (str1.size()>str2.size()) return 1; //长度长的整数大于长度小的整数
else if (str1.size()<str2.size()) return -1;
else return str1.compare(str2); //若长度相等,则头到尾按位比较... | [
"2411602273@qq.com"
] | 2411602273@qq.com |
605e9837d9fcfe7f8be0682fe8c1020bb291549b | 770ac2dd33e1a0c8030be06cfcb26a6d89a3f01f | /lab 4/prob1/stack.cpp | 0f9d21b3835fe3b11ca62d8909cdf6b14ca9e820 | [] | no_license | yashvanjani/MA253-Data-Structures-Lab | 837edcad40687dfb98c9ae60a1009fc8eea30a22 | e2ab6d328a0089b5ade9118e4589f6e72037140a | refs/heads/master | 2021-01-21T12:59:07.311927 | 2016-04-16T17:50:37 | 2016-04-16T17:50:37 | 54,201,834 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 538 | cpp | #include "stack.h"
//Define all the member functions (except show()) of class 'stack'
// which are declared in header file 'stack.h'
// write your code here
stack::stack(int size)
{
MAX = size;
s = new int[MAX];
top=-1;
}
stack::~stack(void)
{
delete[] s;
}
void stack::push(int a)
{
top++;
s[top]=a;
}
int s... | [
"yashvanjani@hotmail.com"
] | yashvanjani@hotmail.com |
24338454a8a9051fe4d7bca5a6d7fe4e196e0228 | a9ad2bc73324cdf48010e0ebfdad08c4eeea5bca | /DevTools/UserspaceEmulator/Region.h | b75f37f5177f7c6ce6d105e2706a4acf6809d03b | [
"BSD-2-Clause"
] | permissive | asliturk/serenity | 8fa0489d3327789da8488de39058360c056bb49a | fc75421d50b2e149c9aa7d59f81b41178b192b34 | refs/heads/master | 2021-07-19T05:46:51.465569 | 2021-01-01T01:19:45 | 2021-01-01T01:19:45 | 223,545,030 | 1 | 0 | BSD-2-Clause | 2019-11-23T06:50:43 | 2019-11-23T06:50:42 | null | UTF-8 | C++ | false | false | 3,395 | h | /*
* Copyright (c) 2020, Andreas Kling <kling@serenityos.org>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, t... | [
"kling@serenityos.org"
] | kling@serenityos.org |
08f7482e2d4f336512d4876a01c9c91a7e106d02 | 75f26ed9dd20e44f6998a19d3cd46359f5e61a93 | /City.h | 1bce28adf24ece3a5269e07a4fc9f03418a38fd3 | [] | no_license | Dawlatly/My-World-Guide | 8f14578b4b298b9eb053056b82c34884612a91ce | 4c57576747e514674fa9b267ac0f883ff0d2fb61 | refs/heads/master | 2021-04-29T01:25:43.703083 | 2017-01-01T13:51:11 | 2017-01-01T13:51:11 | 77,780,492 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,009 | h | /*************************************
Program: My_World_Guide.cpp
Course: OOPDS
Year: 2015/16 Trimester 2
Name: Mahmoud Abdelazim Ali Eldewaletly
ID: 1132702480
Lecture: TC01
Lab: TT02
Email: 7oda95@gmail.com
Phone: 013-2184233
*************************************/
#ifndef __TT02_M1_Ma... | [
"7oda95@gmail.com"
] | 7oda95@gmail.com |
4dfdf957805a9cfb87f90f673cf2cf19172ed0c7 | 595c2ee187afe3df148124d4ccde0e84ec362c4c | /runH.cc | 3959ebf2b586fe42470bd7b49005a5173cf1ceac | [] | no_license | ursl/h0 | 91850883e5b53898cc33630a9e252995f41e8f91 | 71a8fd73ba89bb355be07ece6d0cf0b251b5b86c | refs/heads/master | 2016-09-06T15:46:03.442711 | 2015-10-16T11:56:55 | 2015-10-16T11:56:55 | 21,931,700 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,243 | cc | #include <iostream>
#include <fstream>
#include <iomanip>
#include <cstdlib>
#include <math.h>
#include "TROOT.h"
#include "TRint.h"
#include "TChain.h"
#include "TFile.h"
#include "TDirectory.h"
#include "TString.h"
#include "TRandom.h"
#include "TUnixSystem.h"
#include "anaH.hh"
using namespace std;
// %%%%%%%%%... | [
"urs.langenegger@psi.ch"
] | urs.langenegger@psi.ch |
ac68b3bade81528e56492141f1ff1fd5429e0021 | 2db38ac67db7bce85060328b5cacbeb3bd730d7b | /GEM/include/GEMEventActionMessenger.hh | bc7ed96b3c516c7ec3754d5ee3db8f8b7f8c6fa8 | [] | no_license | icpark00/GEM | 5af9de14f38be8952183c8d2d826239bcf4e6aca | 4b15fd3620995b195aef0bb7f2adaa3f4806acb8 | refs/heads/master | 2021-01-15T03:45:36.325546 | 2013-11-13T08:11:14 | 2013-11-13T08:11:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,369 | hh | //
// ********************************************************************
// * License and Disclaimer *
// * *
// * The Geant4 software is copyright of the Copyright Holders of *
// * the Geant4 Collaboration... | [
"unclok123@gmail.com"
] | unclok123@gmail.com |
159cdf5639e97cc5100d21dc8003a90fd6d117d8 | d06b42c56912f61fe81d04a02020a82a0d59d5ad | /SPlisHSPlasH/Viscosity/Viscosity_Peer2016.cpp | 4e0212a6fd27996c50e39e3962e0c82df6de1ffe | [
"MIT"
] | permissive | scarensac/SPlisHSPlasH_for_cuda | 240c22d8c0c8a34c9c3d670f269cb81425347af1 | 6e00d50d3b6372b9c587cbb30749dc09d3a1984f | refs/heads/master | 2022-10-30T01:39:33.834157 | 2022-10-26T14:30:01 | 2022-10-26T14:30:01 | 109,022,638 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,378 | cpp | #include "Viscosity_Peer2016.h"
#include "SPlisHSPlasH/TimeManager.h"
#include "SPlisHSPlasH/Utilities/Timing.h"
using namespace SPH;
Viscosity_Peer2016::Viscosity_Peer2016(FluidModel *model) :
ViscosityBase(model)
{
m_targetNablaV.resize(model->numParticles(), Matrix3r::Zero());
m_omega.resize(model->numParticles... | [
"samuel.carensac@gmail.com"
] | samuel.carensac@gmail.com |
db025629fedd308dc2da8347076e9dece415ab02 | 719d57ab59222a0563a915c8b0267573b2667170 | /tools/ContextMenu/items/KeybindContextMenuItem.cpp | 2405ca378ce4ec9c19fef59272fa065ffe4794a0 | [
"MIT"
] | permissive | Adrikikicp/BetterEdit | e93487acb57e6f405e7d2793b29ce47fe8c61cc9 | 014af9903a69fde7aa038bcc58efe97b9c6ff1c5 | refs/heads/master | 2023-09-03T19:25:43.441879 | 2021-10-29T03:00:06 | 2021-10-29T03:00:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,622 | cpp | #include "../ContextMenu.hpp"
#include "../CustomizeCMLayer.hpp"
#include "../../EditorLayerInput/editorLayerInput.hpp"
#define MORD(x, d) (this->m_pMenu ? this->m_pMenu->x : d)
bool KeybindContextMenuItem::init(ContextMenu* menu, keybind_id const& id) {
if (!ContextMenuItem::init(menu))
return false;
... | [
"60038575+HJfod@users.noreply.github.com"
] | 60038575+HJfod@users.noreply.github.com |
85234f6bd634325d68d3516acd04f3e936ac9a23 | f8596afd9e23b7809a09573cac3bd9b0b36452cf | /src/XML_Child_Value.hh | 1722448814e05217f4bc09f94097057623c5463d | [] | no_license | brbass/hare | d6a9a424ab056e81e2c0d247e3b27ca660c63f15 | 8c0336b121644c0e93e361d5b25275b598db58f8 | refs/heads/master | 2022-12-22T17:45:29.923210 | 2022-12-14T19:14:14 | 2022-12-14T19:14:14 | 55,440,520 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,358 | hh | #ifndef XML_Child_Value_hh
#define XML_Child_Value_hh
#include <algorithm>
#include <iterator>
#include <sstream>
#include <string>
#include <type_traits>
#include <vector>
#include "pugixml.hpp"
#include "Check.hh"
using std::string;
using std::vector;
/*
Helper functions for pugixml parser
Automatically con... | [
"brbass@umich.edu"
] | brbass@umich.edu |
8966b5a9c1b7779cd65f31d76e8a340af0265a32 | f7576b0290fafc0d819465a61537cca99df08d7c | /test/test_packet_rw.cpp | 46978dc2a014a76ff7aa3624959b470249c7903d | [] | no_license | robertocosta/uep | d4168b25920a08e085cf614cc389ad518c78e95a | 5d08f3ddde44e1178d8899db7680e1775efdcd3b | refs/heads/master | 2021-01-12T07:57:23.098482 | 2017-11-18T20:38:32 | 2017-11-18T20:38:32 | 77,057,719 | 0 | 1 | null | 2017-11-01T23:16:41 | 2016-12-21T14:18:15 | C++ | UTF-8 | C++ | false | false | 4,198 | cpp | #define BOOST_TEST_MODULE packet_rw_test
#include <boost/test/unit_test.hpp>
#include <boost/numeric/conversion/cast.hpp>
#include "packets_rw.hpp"
using namespace std;
BOOST_AUTO_TEST_CASE(read_write_test) {
fountain_packet test_fp;
test_fp.block_number(0x4);
test_fp.sequence_number(0xedde);
test_fp.block_s... | [
"ricc@zanol.eu"
] | ricc@zanol.eu |
d45d48bc7d2125adb39600e6848c3a3f73fe96ec | 28b926fb59e493066af5a106320c4fea396615c7 | /smartptr/Uniqueptr.cpp | 01248acd462578407f303f781899f3c0ad5abd45 | [] | no_license | Jelly-Ye/Jelly-C- | f974e8e03d085d5243fc5e86fea3bc3619cff376 | 551e825b4dba5e932b8aa88c3606e82f1129bb60 | refs/heads/master | 2020-04-24T15:46:37.703759 | 2019-08-11T13:27:54 | 2019-08-11T13:27:54 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 577 | cpp | #include <iostream>
using namespace std;
template <class T>
class UniquePtr {
public:
UniquePtr(T* ptr)
:_ptr(ptr)
{}
~UniquePtr()
{
if (_ptr)
delete _ptr;
}
//C++防拷贝方式
UniquePtr(UniquePtr<T> const& ) = delete;
UniquePtr<T> operator=(UniquePtr<T>const & ) = delete;
//C++98防拷贝方式 (只声明不定义)不能不写,它会用默认的,所以必... | [
"1105356065@qq.com"
] | 1105356065@qq.com |
9e21773b28bc97959fb97a9db74b06e72c0d4ea5 | 8cb2fcb6929c2c1781296d218eaa15f37ba66190 | /src/hw_soln/running_threshold/solution1/.autopilot/db/running_threshold.pp.0.cpp.ap-line.cpp.CXX | 245f18349bfd65982730ccb2b9341184b7a9626a | [] | no_license | chrisqinxz/Underwater-Acoustic-Detection | 5477c8efb859aa694c015ce7d63591665e46c3ae | f0c5a53f428b867151befe9fb2ff008a1f9f387b | refs/heads/master | 2021-04-23T12:38:19.114445 | 2017-06-14T19:08:43 | 2017-06-14T19:08:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 62,334 | cxx | #pragma line 1 "running_threshold.cpp" ::: 0
#pragma line 1 "running_threshold.cpp" 1 ::: 1
#pragma line 1 "<built-in>" 1 ::: 2
#pragma line 1 "<built-in>" 3 ::: 3
#pragma line 152 "<built-in>" 3 ::: 4
#pragma line 1 "<command line>" 1 ::: 5
#pragma line 1 "C:/Xilinx/Vivado_HLS/2015.4/common/technology/autopilot\\etc/a... | [
"chl218@eng.ucsd.edu"
] | chl218@eng.ucsd.edu |
eaa3a521a6162607e5cbdea73d31a12e2d67cb61 | bc0d3a75d4eec1d170188894657fb1b92091946d | /projects/kv260/kv260_stepper_motor/app/main.cpp | 433e44442943331572953cdce48cb19a148b2b7f | [
"MIT"
] | permissive | ryuz/jelly | b0d9e7f067cdb09ef3522521790a62e8562287cc | c195e9ff67655065ef3fe27a8f249b1b82e5c043 | refs/heads/master | 2023-08-19T06:08:05.547962 | 2023-08-05T02:34:13 | 2023-08-05T02:34:13 | 2,084,115 | 42 | 13 | MIT | 2023-08-05T02:34:14 | 2011-07-21T15:20:53 | Verilog | UTF-8 | C++ | false | false | 2,958 | cpp | // ---------------------------------------------------------------------------
// udmabuf テスト
// Copyright (C) 2015-2020 by Ryuz
// https://github.com/ryuz/
// ---------------------------------------------------------------------------
#include <iostr... | [
"ryuji.fuchikami@nifty.com"
] | ryuji.fuchikami@nifty.com |
7c346328160174b4ed9d5ff1206637e2890c5c7d | a06515f4697a3dbcbae4e3c05de2f8632f8d5f46 | /corpus/taken_from_cppcheck_tests/stolen_363.cpp | d151d107f9deb7a10cd738a088068894f90e8d8a | [] | 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 | 53 | cpp | void f(int x) {
if ((5 && x) > 1)
a++;
}
| [
"github@pauldreik.se"
] | github@pauldreik.se |
91c61484b032b90c90311b42c26a114c06fbf745 | a9f6a01aae6830b6b72eaa001274fcf07950b6eb | /esp8266-control-panel/Connection.ino | 77b54e73a62c3aa3cd353e6ecfd9c8c8375e95fe | [] | no_license | Rasti003/HeatingController | b21287bfef21e7e25d70b8824f7a4271d6697652 | 5fc11da232a7e4fcb51128174ef097715089d35c | refs/heads/master | 2021-09-03T18:03:38.195333 | 2018-01-10T23:40:22 | 2018-01-10T23:40:22 | 117,007,711 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 640 | ino |
void Connection() {
WiFi.begin(myssid, mypass);
display.print("Podlaczanie do sieci");
display.display();
// Wait for successful connection
int i = 0;
while (WiFi.status() != WL_CONNECTED) {
delay(500);
display.print(".");
display.display();
i++;
if ( i > 20) {
isConected = fals... | [
"przemyslaw.murzyn@outlook.com"
] | przemyslaw.murzyn@outlook.com |
e8b3b63b163ea6952262981370696cc9ca3119ce | 455ecd26f1439cd4a44856c743b01d711e3805b6 | /java/include/android.view.ContextMenu_ContextMenuInfo.hpp | 932929d5a796788e3a6cf0178a2d7533d52419aa | [] | no_license | lbguilherme/duvidovc-app | 00662bf024f82a842c808673109b30fe2b70e727 | f7c86ea812d2ae8dd892918b65ea429e9906531c | refs/heads/master | 2021-03-24T09:17:17.834080 | 2015-09-08T02:32:44 | 2015-09-08T02:32:44 | 33,072,192 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,242 | hpp | #pragma once
#include "../src/java-core.hpp"
#include <jni.h>
#include <cstdint>
#include <memory>
#include <vector>
#include "java.lang.Object.hpp"
namespace android {
namespace view {
class ContextMenu_ContextMenuInfo : public virtual ::java::lang::Object {
public:
static jclass _class;
#pragma... | [
"dev@lbguilherme.com"
] | dev@lbguilherme.com |
dea0e7714c41036f005cd2db53bc1bec47c24a4e | 775dea4b8ea51b22936aec82467ada7bd797e1d9 | /thread/ThreadService.h | 4982e8f40a4d17dc42b328bb8a25c6c4ed75dcb0 | [] | no_license | yuandaxing/utils | d66b5c65d60b498a6630be47be84e396a1e84517 | 02815fc60e09c37dd9badf37cd656c28748baee5 | refs/heads/master | 2016-08-08T14:55:08.776088 | 2014-11-03T10:23:25 | 2014-11-03T10:23:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,832 | h | #ifndef _SIMPLETHREAD_H_INC
#define _SIMPLETHREAD_H_INC
#include <stdlib.h>
#include <pthread.h>
#include <list>
#include <boost/noncopyable.hpp>
#include <sys/types.h>
#include <unistd.h>
#include <Queue.h>
#include <boost/function.hpp>
#include <boost/shared_ptr.hpp>
#include <boost/ptr_container/ptr_vector.hpp>
#... | [
"1179923349@qq.com"
] | 1179923349@qq.com |
6cf309ff778ad7acb9d323583e7c0ec018b4d719 | e76ea38dbe5774fccaf14e1a0090d9275cdaee08 | /src/chrome/browser/extensions/api/messaging/native_process_launcher_win.cc | fd7345c918039473495b44aa4565c404b0f2aa96 | [
"BSD-3-Clause"
] | permissive | eurogiciel-oss/Tizen_Crosswalk | efc424807a5434df1d5c9e8ed51364974643707d | a68aed6e29bd157c95564e7af2e3a26191813e51 | refs/heads/master | 2021-01-18T19:19:04.527505 | 2014-02-06T13:43:21 | 2014-02-06T13:43:21 | 16,070,101 | 1 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 5,542 | cc | // 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.
#include "chrome/browser/extensions/api/messaging/native_process_launcher.h"
#include <windows.h>
#include "base/command_line.h"
#include "base/logg... | [
"ronan@fridu.net"
] | ronan@fridu.net |
15635e28adf43af1385ab117ccf07de17f96e106 | 9dae417fa03cc2f34becc1b2e16b7b19a19ab5f4 | /tensorflow/compiler/tf2xla/xla_compiler.h | 6ab8bde542d0586baeea1f66a9b4bcdf95f5b1e6 | [
"Apache-2.0"
] | permissive | Trustyboard/tensorflow | 84c780f26606f97f8dcc101bde64eb14693e188a | 73e53d634306df3f209588e7fa24c088a532c0f5 | refs/heads/master | 2020-07-15T07:25:52.608059 | 2019-08-31T05:49:43 | 2019-08-31T05:55:53 | 205,510,284 | 2 | 0 | Apache-2.0 | 2019-08-31T07:15:20 | 2019-08-31T07:15:20 | null | UTF-8 | C++ | false | false | 22,775 | h | /* Copyright 2017 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | [
"gardener@tensorflow.org"
] | gardener@tensorflow.org |
2fd2c089c88d4108e57aa4af62a83780796ff64e | 683c65f1357209f4166b89c715adb55113f37869 | /qtsrc/emulelectrometer.h | 299339fed3a81ab2968d19fc8f45c0c92ad2d9c8 | [] | no_license | Ivansquark/Bigprog | 5c58bef7d220881d742962664d85829628a70442 | 755e5536998cade3819756b9295d85bb83451e42 | refs/heads/master | 2022-12-04T12:58:28.922116 | 2020-08-17T10:38:08 | 2020-08-17T10:38:08 | 288,150,890 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 749 | h | #ifndef EMULELECTROMETER_H
#define EMULELECTROMETER_H
#include <QObject>
#include <QTimer>
#include <QDebug>
class EmulElectrometer:public QObject
{
Q_OBJECT
public:
EmulElectrometer();
~EmulElectrometer();
signals:
void sendd(QString str);
private slots:
void timeOut();
private:
QString co... | [
"squark@mail.ru"
] | squark@mail.ru |
1e4b5d7eddeee467c908b26e0501cb4938b0923c | aa311af8250cab6b8b686b43a39a7386961cc6d0 | /Figures/CLine.h | 588534fb91d8a0893beb6ad78f8b0ad58e9b0c33 | [] | no_license | phella/Paint-for-kids | aba37a8bf61cdcaacb8c1150b55df2525b2cc76e | 56461e50adf4bec50028d2c76063410579da0350 | refs/heads/master | 2022-12-29T16:03:33.810320 | 2020-10-21T08:06:21 | 2020-10-21T08:06:21 | 305,951,597 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 574 | h | #ifndef CLine_H
#define CLine_H
#include "CFigure.h"
class CLine : public CFigure
{
private:
Point point1;
Point point2;
public:
CLine() {}
CLine(Point , Point, GfxInfo FigureGfxInfo );
virtual void Draw(Output* pOut) const;
virtual bool check(int,int);
virtual void PrintInfo(Output* pOut) ;
int minn(int ,i... | [
"philopateernabil2021@gmail.com"
] | philopateernabil2021@gmail.com |
54f8a88df49b29e4e711447c1335fe4148c18af4 | 6e5f1a4d98aac14aaad8a6e334292f2446531d7d | /src/test/versionbits_tests.cpp | 092b15289ea9a3fe4d72c07e061b81b2a9053df6 | [
"MIT"
] | permissive | sforpay/sfor | 28fbead51c3e21dab7d8280558c20d23ad936346 | 0d84f7de9b87418855d77ca503bfc9fa56a87f14 | refs/heads/master | 2020-08-20T07:34:18.989375 | 2019-10-19T11:36:42 | 2019-10-19T11:36:42 | 215,996,872 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,817 | cpp | // Copyright (c) 2014-2016 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "chain.h"
#include "versionbits.h"
#include "test/test_sfor.h"
#include "test/test_random.h"
#include "chainparams.h... | [
"admin@sfor.info"
] | admin@sfor.info |
cfd04e5e3833a9aed6207f7ef365de91825adcb7 | 487cce96a6d2e9b3f73480f676835ef378194548 | /windbg/userctrl.cpp | e77d34260ae17cc82def63b60fca243b22467348 | [] | no_license | fromasmtodisasm/windbg | a11012e05fdfeeefb7aa571288046789844d928c | 8d97f9aca0879f27a6e6a5b1442198c4b352141d | refs/heads/master | 2021-05-26T12:44:09.714759 | 2013-09-20T16:40:15 | 2013-09-20T16:40:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,906 | cpp | /*
* Copyright Microsoft 1991
*
* Date Jan 09, 1991
*
* Project Asterix/Obelix
*
* History
* Date Initial Description
* ---- ------- -----------
* 01-09-91 ChauV Created for use with Tools and Status bars.
*
*/
#include "precomp.h"
#pragma h... | [
"plumflowerliu@gmail.com"
] | plumflowerliu@gmail.com |
59882ef21688d19a1371727dd3f00fc60302a26a | b17cc0b4428608c15610a1eb133a4d0e94c1ac18 | /5. String/Length of the last word.cpp | 55430c3859b6d30117465116f01f4838c08c9d20 | [] | no_license | viveky1794/LeetCode-Problems | afbefa7ff790e44141e11b3c333605e866d12e18 | 8e5b32c274aeba6d6f2a8b19836756ae79a02299 | refs/heads/master | 2022-12-11T04:37:22.990379 | 2020-09-04T20:29:28 | 2020-09-04T20:29:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,326 | cpp | /*
Given a string s consists of upper/lower-case alphabets and empty space
characters ' ', return the length of last word (last word means the last
appearing word if we loop from left to right) in the string.
If the last word does not exist, return 0.
Note: A word is defined as a maximal substring consisting of non... | [
"devshree.bharatia@shorelineiot.com"
] | devshree.bharatia@shorelineiot.com |
70d521fa3e4e4c8c556d9375aa9a6a9b7bd1960e | 1fbb86a68429b4a013e4dd5536bd11b5f01bd481 | /src/OGLSample3_VS_FS_Interpolation/sampleapp.cpp | 6af5f997aff2d40fb67d4b6247d8ffdb6a6fc9f5 | [] | no_license | drzajwo/UJ-Programowanie-grafiki-3D | e1dfcf0c6ba7706eada293425262905588136f26 | 9e76ed4d528208bb18525e2b5e80a74944a9b67d | refs/heads/master | 2020-08-28T12:06:27.049514 | 2019-11-23T12:49:47 | 2019-11-23T12:49:47 | 217,693,941 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,024 | cpp | #include "sampleapp.h"
SampleApp::SampleApp() : OGLAppFramework::OGLApplication(1366u, 768u, "OGLSample 2 - IB VBO", 3u, 3u), simple_program(0u), vbo_handle(0u), index_buffer_handle(0u), vao_handle(0u)
{
}
SampleApp::~SampleApp()
{
}
void SampleApp::reshapeCallback(std::uint16_t width, std::uint16_t height... | [
"Iwo.Wojciechowski@pega.com"
] | Iwo.Wojciechowski@pega.com |
546daef2c8cdfb7bc7d3d0b046b185f916a46901 | 7ff1f31385f3ad711ebedc471fbc4590be96e178 | /solutions/Codeforces/559/A.cpp | ff509c920cf68745d27a18d2a7b8ab1b8f46d149 | [
"Unlicense"
] | permissive | yumeno-ukihashi/competitive-programming | 6bf303daa6ea0edfc333731ed8295802f0136978 | 5cc3a7938b62133d8dc71a179cb11dfe985315d3 | refs/heads/master | 2020-05-19T06:53:53.650508 | 2019-06-13T03:00:44 | 2019-06-13T03:00:44 | 184,885,681 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 947 | cpp | #include<bits/stdc++.h>
#define REP(x,y,z) for(int x=y;x<=z;x++)
#define MSET(x,y) memset(x,y,sizeof(x))
#define M 100005
using namespace std;
using LL = long long;
int n,m;
int cnt[M], in1[M], in2[M];
int main()
{
while (~scanf("%d %d", &n, &m)) {
REP(i,1,n) scanf("%d", &in1[i]);
REP(i,1,m) scanf("... | [
"50169122+yumeno-ukihashi@users.noreply.github.com"
] | 50169122+yumeno-ukihashi@users.noreply.github.com |
d9ea40c25829f290718ab5a93a1fab2f83ebe86c | cbfc13ac2ccc377c82fb0fa2eca469a52f50fafc | /Project1/LinkedList.h | 52dd3e72d4f0d96344233fb57735eaeb5bf70cd6 | [] | no_license | Mzitow/SparseTable | 2f240fa1175d650c630f4ccd61174691a3f806db | 90af8cb887d1525962cb598de5a07d1c161dfdd0 | refs/heads/main | 2023-02-16T01:26:52.310262 | 2020-12-27T05:06:35 | 2020-12-27T05:06:35 | 324,688,658 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,581 | h | #pragma once
#ifndef LINKED_LIST
#define LINKED_LIST
template <typename T>
struct Node {
T data;
Node* next;
};
template <typename T>
class LinkedList {
public:
int length_;
Node<T>* head_;
Node<T>* tail_;
LinkedList();
~LinkedList();
bool isEmpty() {
return this->head_ == nu... | [
"hhbaraka0@gmail.com"
] | hhbaraka0@gmail.com |
06e3792a2c0b4003b32bcddeec8655977b5d7b96 | be05e64302acbf855938ce34bb0297620dc7d397 | /Player/CRPlayerController.cpp | d5cc1416fa169f626ce77fecec54c1d6ad47c9c0 | [
"MIT"
] | permissive | CarstenZarbock/CRESH | 806c5dd42b8f2a523d667347323bc0254631b300 | da0cfee97d33c0fcdd3c87c92f93c1e55fd3cbf4 | refs/heads/master | 2022-08-23T15:47:36.436529 | 2020-05-24T15:25:45 | 2020-05-24T15:25:45 | 258,272,326 | 0 | 0 | null | 2020-05-24T15:25:46 | 2020-04-23T16:57:17 | C++ | UTF-8 | C++ | false | false | 498 | cpp | #pragma once
#include "Engine.h"
#include "..\Interface\CRInterface.h"
#include "Scene\Scene.h"
#include "CRPlayerController.h"
void CRPlayerController::Initialize()
{
Interface = new CRInterface(Engine);
Interface->Initialize();
Scene->NewObject(this);
}
void CRPlayerController::Tick(const float deltaTime)
{
if... | [
"carstenzarbockCZ@gmail.com"
] | carstenzarbockCZ@gmail.com |
4d1802392528b42ea438885de309bf95d5f93a04 | 85c91b680d74357b379204ecf7643ae1423f8d1e | /tags/rel_0_1_0/qedo/ComponentContainer/ReceptaclePort.cpp | 33627b608b23de8ec887ddeab6fdbaca514a22e3 | [] | no_license | BackupTheBerlios/qedo-svn | 6fdec4ca613d24b99a20b138fb1488f1ae9a80a2 | 3679ffe8ac7c781483b012dbef70176e28fea174 | refs/heads/master | 2020-11-26T09:42:37.603285 | 2010-07-02T10:00:26 | 2010-07-02T10:00:26 | 40,806,890 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,236 | cpp | /***************************************************************************/
/* Qedo - Quality of Service Enabled Distributed Objects */
/* */
/* http://qedo.berlios.de/ */
/* ... | [
"(no author)@798282e8-cfd4-0310-a90d-ae7fb11434eb"
] | (no author)@798282e8-cfd4-0310-a90d-ae7fb11434eb |
c974d526a3cde1d16e639df8ca0bdb5d73986ae2 | 426df7d9b4a41da6c8dff51b195baae502389c9e | /JSShell/JSShell.cpp | 3b6ef179eac85c71febb876660d0a50dabcd9b09 | [] | no_license | lowjoel/arachnidape | 4cc01ca13319a61835cabee57e3960d5d266c374 | 2e678c7b522e0f3eee52020aaf6ab154174a8eca | refs/heads/master | 2020-12-24T14:53:35.718621 | 2013-05-03T00:19:58 | 2013-05-03T00:19:58 | 6,111,428 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 12,359 | cpp | // JSShell.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include "Handle.h"
#include "Util.h"
namespace {
struct ExecutionArguments
{
bool RunInteractively;
TCHAR BasePath[MAX_PATH];
std::vector<TCHAR*> FilesToExecute;
std::vector<TCHAR*> ShellArguments;
};
void Start... | [
"joel@joelsplace.sg"
] | joel@joelsplace.sg |
77d6f022bc5c125b890b15792a5fff16cb996af1 | bf5b3d41672ebfe80cfa5b21e5f73ab746dd6f18 | /subphonic/g_comp/g_doppler.cpp | f44454236db397919433e7cd332bbbf58bb15144 | [] | no_license | tenso/subphonic | b20a6c78a7412d1f3ba4d151277b4e899bfd847a | 406109bbc04b25927c16a88c54facc274fe72981 | refs/heads/master | 2021-01-15T21:50:17.373008 | 2012-01-01T22:52:33 | 2012-01-01T22:52:33 | 3,084,568 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,171 | cpp | #include "g_doppler.h"
GDoppler::GDoppler(BitmapFont* f, GroundMixer& g) : SoundComp(g)
{
doppler = new ValueDoppler(NUM-1, &empty);
doppler->setInput(&empty);
Pixmap* back_pix = new Pixmap(pix["128x38"]);
add(back_pix);
add(new MoveBorder(this,back_pix->pos.w,20),0,0);
Label* l = n... | [
"anton.olofsson@gmail.com"
] | anton.olofsson@gmail.com |
623090a59014e1c4c9585a41ed6f07f927528fdc | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5636311922769920_1/C++/iamnoobi/D2.cpp | 76f012ae3bf0b60f2720e9f3fb572f97747df94a | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 1,975 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef vector<int> vi;
typedef vector<vi> vvi;
typedef pair<int, int> ii;
typedef pair<int, ii> iii;
typedef vector<ii> vii;
template <typename Type> void print_array(Type* array, int start, int end);
template <typename Type> void print_vector(vect... | [
"alexandra1.back@gmail.com"
] | alexandra1.back@gmail.com |
91d16a11f6d57134a55e7d3778b8160b2f888522 | 91a882547e393d4c4946a6c2c99186b5f72122dd | /Source/XPSP1/NT/inetsrv/msmq/src/trigger/trigobjs/trigset.hpp | e6e3f0a7983935756284c87465caba4834eff680 | [] | no_license | IAmAnubhavSaini/cryptoAlgorithm-nt5src | 94f9b46f101b983954ac6e453d0cf8d02aa76fc7 | d9e1cdeec650b9d6d3ce63f9f0abe50dabfaf9e2 | refs/heads/master | 2023-09-02T10:14:14.795579 | 2021-11-20T13:47:06 | 2021-11-20T13:47:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,243 | hpp | //*****************************************************************************
//
// Class Name : CLog
//
// Author : James Simpson (Microsoft Consulting Services)
//
// Description : Implements a log object that provides the MSMQ trigger objects
// with a single interface for writing to a log.
/... | [
"support@cryptoalgo.cf"
] | support@cryptoalgo.cf |
545f3fbd68ef0694d8c3624c89397b5610041cb9 | 5e00242dc035fdab6aa6bbb40c6d7e6c119ad8e6 | /Vault/Codeforces Problems/1032A.cpp | 710de08dbe49c44f0a9ca7563538a34e3e2f8c8c | [] | no_license | AkiLotus/AkikazeCP | 39b9c649383dcb7c71962a161e830b9a9a54a4b3 | 064db52198873bf61872ea66235d66b97fcde80e | refs/heads/master | 2023-07-15T09:53:36.520644 | 2021-09-03T09:54:06 | 2021-09-03T09:54:06 | 141,382,884 | 9 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 26,326 | cpp | /**********************************************************
* Code written by Akikaze *
* Duy-Bach Le, #Team4T's Chief Executor *
* #Team4T Tertiary Flagship - Oblivion *
* *
* Written by a ... | [
"duybach.224575@gmail.com"
] | duybach.224575@gmail.com |
30b2c352df06ee28bb6bc2aa9ddf79bba29556b7 | df84eebd8f6f6d3cb6e220ff050d28f593d764e5 | /dialog.h | 8b081ae53c04e2ede96a60e279f52ddf33511125 | [] | no_license | Liuxz17/QTCppGame | 29d6981e2503b6db4db0dd0be58c48fe2fca169e | 17cf405b4954ba0a5c8c64a0b360a2dc243c74ca | refs/heads/master | 2020-03-28T09:17:13.983224 | 2018-09-09T13:04:40 | 2018-09-09T13:04:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 719 | h | #ifndef DIALOG_H
#define DIALOG_H
#include <QDialog>
#include "EdpBass.h"
#include "KeyIO.h"
#include "TestView.h"
using namespace edp;
namespace Ui {
class Dialog;
}
class Dialog : public QDialog
{
Q_OBJECT
public:
explicit Dialog(QWidget *parent = 0);
~Dialog();
protected:
virtual void keyPr... | [
"793971297@qq.com"
] | 793971297@qq.com |
40a8f4e8d147bdb8cc1cd04d0c108e7faaf60bcd | e5dc9d8142d807b87e6a7980670ecba28e4a9523 | /KsDevDX11/device/KsIndexBufferDX11.h | bbc51a3cf7b062766c3dedaf024d3eeabbd37f34 | [
"MIT"
] | permissive | a567w/AriaGame | e2c692e32d0afcf3e7ec7a676456e4d4a35c19d7 | bf90f79cecd5e27e221fa0e791a784d9be5ef06f | refs/heads/master | 2020-07-01T05:03:26.856425 | 2019-11-05T13:45:56 | 2019-11-05T13:45:56 | 201,052,112 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 4,733 | h | /************************************************************************************************/
/**
* @file KsIndexBufferDX11.h
* @brief インデックスバッファ
* @author Tsukasa Kato
* @date ----/--/--
* @since ----/--/--
* @version 1.0.0
*/
/************************************************************************... | [
"q.gate4@gmail.com"
] | q.gate4@gmail.com |
3dd0030b4a463a3ceab7741dd477f501239fb822 | b446b8610ea2601b3eaaa45d1292eb3adc199841 | /program3/matt/validation.cpp | 11ac61710390f98f1cedbf57bdb565d5d4faaeba | [] | no_license | rc735/ece4960_RobustProgramming | 3ad97890f151a514b2a743e7f8a27dc93705cb0d | 0fd95a63efa8ade75dc226179320af4a67513f42 | refs/heads/master | 2021-01-21T13:26:51.874297 | 2016-05-09T19:46:12 | 2016-05-09T19:46:12 | 51,113,328 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,163 | cpp | //
// validation.cpp
// Program3
//
// Created by Matthew Magaldi on 3/19/16.
// Copyright © 2016 Matthew Magaldi. All rights reserved.
//
#include "validation.hpp"
#include "matrixOps.hpp"
#include <cmath>
#include <iostream>
using namespace std;
/*
Generate S value function
INPUTS:
*a - pointer to parame... | [
"rc735@cornell.edu"
] | rc735@cornell.edu |
05c6837fefab2995f04b43928b050fba9ae0aa29 | 948f4e13af6b3014582909cc6d762606f2a43365 | /testcases/juliet_test_suite/testcases/CWE415_Double_Free/s01/CWE415_Double_Free__new_delete_array_class_42.cpp | 0c86aa36f129b1a925448ac67edf0a0bc4461b38 | [] | no_license | junxzm1990/ASAN-- | 0056a341b8537142e10373c8417f27d7825ad89b | ca96e46422407a55bed4aa551a6ad28ec1eeef4e | refs/heads/master | 2022-08-02T15:38:56.286555 | 2022-06-16T22:19:54 | 2022-06-16T22:19:54 | 408,238,453 | 74 | 13 | null | 2022-06-16T22:19:55 | 2021-09-19T21:14:59 | null | UTF-8 | C++ | false | false | 3,153 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE415_Double_Free__new_delete_array_class_42.cpp
Label Definition File: CWE415_Double_Free__new_delete_array.label.xml
Template File: sources-sinks-42.tmpl.cpp
*/
/*
* @description
* CWE: 415 Double Free
* BadSource: Allocate data using new and Deallocae data u... | [
"yzhang0701@gmail.com"
] | yzhang0701@gmail.com |
873ba7ea85279e5fb9b71acb764326af2662a079 | b71b8bd385c207dffda39d96c7bee5f2ccce946c | /testcases/CWE36_Absolute_Path_Traversal/s02/CWE36_Absolute_Path_Traversal__char_file_fopen_12.cpp | e3eb2e8e1ea705f47995394aaf950c29c82b635a | [] | no_license | Sporknugget/Juliet_prep | e9bda84a30bdc7938bafe338b4ab2e361449eda5 | 97d8922244d3d79b62496ede4636199837e8b971 | refs/heads/master | 2023-05-05T14:41:30.243718 | 2021-05-25T16:18:13 | 2021-05-25T16:18:13 | 369,334,230 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,575 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE36_Absolute_Path_Traversal__char_file_fopen_12.cpp
Label Definition File: CWE36_Absolute_Path_Traversal.label.xml
Template File: sources-sink-12.tmpl.cpp
*/
/*
* @description
* CWE: 36 Absolute Path Traversal
* BadSource: file Read input from a file
* GoodSource: Ful... | [
"jaredzap@rams.colostate.edu"
] | jaredzap@rams.colostate.edu |
cceacb27b6661e037581d0934af2da8bbecffad4 | 10c0a8cb0899692014417ef60093ace05e5e1763 | /libsrc/gmsg/GMsg_GiveItem.cpp | af25f0bae6414ba514eb008778891a394a5b5af2 | [
"BSD-3-Clause"
] | permissive | openunderlight/ULServer | 56cb96360c57598be6f72f2a20c41f69b41b56bd | 42e12e245506e6a76c3905d64378eff79c908fc5 | refs/heads/dev | 2023-03-10T22:50:51.591229 | 2023-01-31T20:27:44 | 2023-01-31T20:27:44 | 145,008,033 | 7 | 5 | NOASSERTION | 2019-12-24T19:08:59 | 2018-08-16T15:40:15 | TSQL | UTF-8 | C++ | false | false | 1,626 | cpp | // GMsg_GiveItem.cpp -*- C++ -*-
// $Id: GMsg_GiveItem.cpp,v 1.1 1997-09-18 16:51:12-07 jason Exp $
// Copyright 1996-1997 Lyra LLC, All rights reserved.
//
// message implementation
#ifdef __GNUC__
#pragma implementation "GMsg_GiveItem.h"
#endif
#ifdef WIN32
#define STRICT
#include "unix.h"
#include <winsock2.h>
#e... | [
"root@underlightlyra.(none)"
] | root@underlightlyra.(none) |
7932cebcc7a68b691abd49609b624e9641c9ea5b | 3404cb1e271f929cc063c13128d581241d4e07a8 | /45.cpp | c20f7ef2216724e47d52ab9439c78fd57890156f | [] | no_license | mashiuruab/leetcode | 811b08dd9bff025587e6145b3dee52ed50391f5a | 7d3adf053b1d5a50f40ec49a8c60c28998c76132 | refs/heads/master | 2020-04-17T02:23:57.391337 | 2019-01-17T00:19:12 | 2019-01-17T00:19:12 | 166,131,889 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,033 | cpp | #include<iostream>
#include<vector>
#include<climits>
using namespace std;
bool can_reach = false;
int length;
vector<bool> reachable;
int min_step = INT_MAX;
void traverse(vector<int>& nums, int index, int steps) {
//cout << index << ", value = " << nums[index] << ", length = " << length << endl;
if(index == (l... | [
"mashiur2005@gmail.com"
] | mashiur2005@gmail.com |
c533d56c8e6d60e433bc555002820255bbc3d043 | c56b86c0c098948a1aa7ca3b4a25c7be47af2f45 | /Qt/my_programm/MODBUS/Test_MODBUS/src/main.cpp | a29cbc49a8b24b1644e83dfa5385aa1fe7a5a2a9 | [] | no_license | jianglin2045/mega_GIT | 764e460282f1242be5530c8e20e498119f20f827 | 7224c3cf50bf029ff127a3e3db0bb3698af28aa4 | refs/heads/master | 2023-02-13T19:41:30.407632 | 2021-01-11T21:09:31 | 2021-01-11T21:09:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,497 | cpp | /*********************************************************************************
** **
** Copyright (C) 2012 **
** ... | [
"tux4096@gmail.com"
] | tux4096@gmail.com |
5366a81fa7d9632631e89fd1cc7e025b87b47a15 | aab5dba1eeef1568bb043d119c80ba13732b73a7 | /middleware/arduino/time.cpp | e27bcca047606d66e06a3f268288272f1d4a3c37 | [
"Apache-2.0"
] | permissive | D-zz/ArduinoFramework-AliOSThings | f46c0487f1d4ed02e899bbf8a2e881b7b67f5033 | 65af4dbb0369be4da419d65dc5c04afd61ca6808 | refs/heads/master | 2022-09-02T18:57:29.875906 | 2020-04-24T02:20:30 | 2020-04-24T02:20:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 865 | cpp | /*
* Copyright (C) 2019 MRNIU
*/
#include <include/arduino.h>
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
#include <stddef.h>
#include <stdio.h>
#include <aos/kernel.h>
#include <aos/hal/gpio.h>
long long millis(void);
long long micros(void);
void delay(int ms);
void delayMicroseconds(long us);
/**
... | [
"a6813140@hotmail.com"
] | a6813140@hotmail.com |
34816306621c93f4f4168d853df02980af0a29c7 | 4767b63b5c0af03daf6fd5dd8992638ae7472d93 | /Snake/Square.cpp | a15b69ea42ce4ba9ef39d7fa7709bda9da355970 | [
"MIT"
] | permissive | raph-r/Worm | 6cc89f169b29e8e681f267787be5d0ac84a9748a | 824fa31818bddb515ec63e76c8917b8c0fa13b75 | refs/heads/master | 2020-06-29T02:10:33.291996 | 2019-08-16T01:56:09 | 2019-08-16T01:56:09 | 200,407,146 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,119 | cpp | #include "Square.h"
Square::Square(const int& top_left_x, const int& top_left_y, const int& width, const int& height, const char * name)
{
this->top_left_x = top_left_x;
this->top_left_y = top_left_y;
this->width = width;
this->height = height;
this->name = name;
}
Square::~Square(){}
int Square::get_line_top()... | [
"raphaelrtf@gmail.com"
] | raphaelrtf@gmail.com |
e9505ed6c886a0a7f3f7cdb57e52013dff558f71 | 5eaa902a346967e03b61650876a91f7ca26248d1 | /mkr_linux/udorx_deps/carto_deps/core/MapVec.cpp | 282573f47b42f196b872601284dd0a7fe744d1bf | [] | no_license | UniChargersInc/UCLinux | 65ea7d5a90b8908b6d779d382549e7b06fb9424d | ad0c482be8f489b6b5ebb99789ced74644eb1932 | refs/heads/master | 2023-08-30T03:11:57.562212 | 2021-11-05T22:57:47 | 2021-11-05T22:57:47 | 425,097,401 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,503 | cpp | #include "MapVec.h"
#include "core/MapPos.h"
//#include "components/Exceptions.h"
#include <cmath>
#include <iomanip>
#include <sstream>
#include <stdexcept>
#include <functional>
namespace carto {
MapVec::MapVec() : _x(0), _y(0), _z(0)
{
}
MapVec::MapVec(double x, double y) : _x(x), _y(y), ... | [
"skulykov@gmail.com"
] | skulykov@gmail.com |
ddddac4b89329f7ccc19e8560e414fe006e16751 | ae936fb07d9478152cb998e94b9937d625f5c3dd | /Codeforces/CF1278D.cpp | ade3558da49e380e0e83a9fd3cdfe11227545897 | [] | no_license | Jorgefiestas/CompetitiveProgramming | f035978fd2d3951dbd1ffd14d60236ef548a1974 | b35405d6be5adf87e9a257be2fa0b14f5eba3c83 | refs/heads/master | 2021-06-12T06:28:20.878137 | 2021-04-21T01:32:37 | 2021-04-21T01:32:37 | 164,651,348 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 992 | cpp | #include <bits/stdc++.h>
using namespace std;
using pii = pair<int, int>;
const int N = 5e5 + 100;
int n, dsu[N];
pii seg[N];
int root(int x) {
while (x != dsu[x]) {
dsu[x] = dsu[dsu[x]];
x = dsu[x];
}
return x;
}
void join(int a, int b) {
a = root(a);
b = root(b);
dsu[a] = b;
}
bool poss() {
int cnt = 0;... | [
"jorge.fiestas@utec.edu.pe"
] | jorge.fiestas@utec.edu.pe |
d0f1c7ff675f3920db41763d7e7336a077734cb0 | 995fef3accf2aedbcd431dd98bc9ab2a2ecace9d | /src/plugins/lmp/recommendationswidget.cpp | 5745a38bdda91210a5784d1bc8264410ab9e329b | [
"BSL-1.0"
] | permissive | eringus/leechcraft | 2e3da6263e7530f002b532aae616a4b158d53ff6 | 415a9a49aa4c942a4953e8c6e59876fc7e217b24 | refs/heads/master | 2020-12-26T04:56:09.461868 | 2013-12-17T13:03:26 | 2013-12-17T13:03:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,955 | cpp | /**********************************************************************
* LeechCraft - modular cross-platform feature rich internet client.
* Copyright (C) 2006-2013 Georg Rudoy
*
* Boost Software License - Version 1.0 - August 17th, 2003
*
* Permission is hereby granted, free of charge, to any person or organiz... | [
"0xd34df00d@gmail.com"
] | 0xd34df00d@gmail.com |
1061b8325411c9a7cdf13afe95d54ddb85773a86 | 19194c2f2c07ab3537f994acfbf6b34ea9b55ae7 | /android-32/android/media/audiofx/DynamicsProcessing_Channel.def.hpp | 2ef1893fc5e28c68afc2f5ab94f428591b3f22c0 | [
"GPL-3.0-only"
] | permissive | YJBeetle/QtAndroidAPI | e372609e9db0f96602da31b8417c9f5972315cae | ace3f0ea2678967393b5eb8e4edba7fa2ca6a50c | refs/heads/Qt6 | 2023-08-05T03:14:11.842336 | 2023-07-24T08:35:31 | 2023-07-24T08:35:31 | 249,539,770 | 19 | 4 | Apache-2.0 | 2022-03-14T12:15:32 | 2020-03-23T20:42:54 | C++ | UTF-8 | C++ | false | false | 2,315 | hpp | #pragma once
#include "../../../JObject.hpp"
namespace android::media::audiofx
{
class DynamicsProcessing_Eq;
}
namespace android::media::audiofx
{
class DynamicsProcessing_EqBand;
}
namespace android::media::audiofx
{
class DynamicsProcessing_Limiter;
}
namespace android::media::audiofx
{
class DynamicsProcessin... | [
"YJBeetle@gmail.com"
] | YJBeetle@gmail.com |
8eeef40ed110335f76f01f177fac6e76b8f8fea7 | f0b9f7ba3e2a7bdf731ea4e8262350c3a2a0d92c | /hiho104_Splay平衡树/test/splay5.cpp | 48b5a1f9565f5e0742bb2e1ffc0ddb0e294a817a | [] | no_license | haoyuanliu/hihoCoder | 098ca6f80a567057dde066cc007d4e335373b0b0 | ebadfaf1ae9ecdbddc757c63722bff078fb1a1be | refs/heads/master | 2021-01-24T08:21:30.668850 | 2017-03-12T14:18:11 | 2017-03-12T14:18:11 | 53,253,758 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,643 | cpp | #include <iostream>
#define MIN_K -1
#define MAX_K 1000000001
using namespace std;
typedef struct node
{
int key;
node *father, *left, *right;
node(int key_) : key(key_)
{
this->father = NULL;
this->left = NULL;
this->right = NULL;
}
}*Node;
Node root = NULL;
void right_r... | [
"15120101@bjtu.edu.cn"
] | 15120101@bjtu.edu.cn |
9c7494c7194b71e679b01b03723aabd1c58c5c43 | 7524106d9776f24311be4e6050cedd2a10e31282 | /problems/uva/pid/12661/main_12661.cpp | 58c4843435cf53b737d54254391b0dfd2f7dcb15 | [] | no_license | Exr0nProjects/learn_cpp | f0d0ab1fd26adaea18d711c3cce16d63e0b2a7dc | c0fcb9783fa4ce76701fe234599bc13876cc4083 | refs/heads/master | 2023-04-11T08:19:42.923015 | 2021-01-27T02:41:35 | 2021-01-27T02:41:35 | 180,021,931 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,536 | cpp | /*
TASK: 12661
LANG: C++14
*/
/*
* Problem 12661 (oj/pid/12661)
* Create time: Mon 20 Apr 2020 @ 12:41 (PDT)
* Accept time: [!meta:end!]
*
*/
#include <iostream>
#include <sstream>
#include <cstdio>
#include <tuple>
#include <vector>
#include <string>
#include <cstring>
#include <list>
#include <array>
#include ... | [
"spotyie@gmail.com"
] | spotyie@gmail.com |
c3b642744903ecb7d1a8f8d7f302a94a3070d602 | 661fe96e4d4e7c994cdeba6ed5fde070ac82eb30 | /CoralSdkPopStarDemo/Classes/GameOver.h | c2f153d3f5ce1b143a97b14c800bd2515cb42248 | [] | no_license | antiwise/coralsdk | 1ffff15ec49123017d14f06dc074ef696f5274f3 | c6ff90975a4294522ef6c5767a0b2f89cd58c31f | refs/heads/master | 2020-12-03T00:03:00.107783 | 2014-05-27T05:55:57 | 2014-05-27T05:55:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 281 | h | #ifndef _GAME_OVER_H_
#define _GAME_OVER_H_
#include "cocos2d.h"
class CGameOver : public cocos2d::Layer
{
public:
CREATE_FUNC(CGameOver);
bool Over();
void BnFunc();
int score;
private:
virtual bool init();
};
#endif //_GAME_OVER_H_
| [
"riby.chen@gmail.com"
] | riby.chen@gmail.com |
3e2c049baddccd8365709ed72d807c67bf05d3c3 | c9163f2cb6a345959154318a923c57abe8182ea5 | /parser.cpp | 0813b4b1e82bd9e20c7cb09a7ad64780de318504 | [] | no_license | RaphaelPLM/Enigma-Machine | 3ff3ced8e1c1b9bfb75252372139ae9c748376c9 | a8c0822d759e6b5a0cccf01298605d880f388518 | refs/heads/master | 2020-05-29T16:33:29.349324 | 2020-04-07T22:31:49 | 2020-04-07T22:31:49 | 189,248,698 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,552 | cpp | #include <bits/stdc++.h>
#include "parser.h"
using namespace std;
// Extract both model and wirings of the rotor referenced in string s. This is done by splitting a given line into a model name, and its respective wirings.
pair<string, string> getFields(string s)
{
string model = "";
string wiring = "";
... | [
"raphaelplmuller@icloud.com"
] | raphaelplmuller@icloud.com |
06d6554c3db7759d6259c75ce75d2d4044fcb964 | 11891088d2219b0429c7f9f4b88c5f35d88fcda7 | /C++ Practice/Introduction/Variable Sized Arrays/Solution.cpp | cc4a52ca13291230adfe50da5a69a93db0b4ca2b | [] | no_license | llenroc/HackerRank-Solutions | 9d6302ea3c2117a854d129cf7bc8dbad5cd33426 | bc8632fede2606d2fa30128d623f58a624bdc03e | refs/heads/main | 2023-05-17T19:29:28.736163 | 2021-06-11T11:56:06 | 2021-06-11T11:56:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 496 | cpp | #include <cmath>
#include <cstdio>
#include <vector>
#include <iostream>
#include <algorithm>
using namespace std;
int main(){
int n;
int q;
std::cin >> n >> q;
int** arr = new int*[n];
for (auto i = 0; i < n; ++i) {
int k;
std::cin >> k;
arr[i] = new int[k];
for (auto j = 0; j < k; ++j) {
... | [
"hope.kartik@gmail.com"
] | hope.kartik@gmail.com |
c8d6c1ea99b9cffaaee46149c8c6982880223fb6 | 38c9e1136559390cb47093393bf0e9acc05653a2 | /jni/NativeFormats/zlibrary/core/src/xml/ZLPlainAsynchronousInputStream.h | 2c9b0d29d305c2b3a862c667d22084d2664fe2f4 | [] | no_license | gezhonglunta/FBReaderJ_2 | 7df7d0a604b68956eaea3a902af75b6889f2cc24 | ceae178cb7c9c66f7e661681922d5b38096a74f0 | refs/heads/master | 2020-04-06T16:18:38.693924 | 2012-12-03T13:44:04 | 2012-12-03T13:44:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,420 | h | /*
* Copyright (C) 2009-2012 Geometer Plus <contact@geometerplus.com>
*
* 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 Foundation; either version 2 of the License, or
* (at your option) any lat... | [
"leftright@live.com"
] | leftright@live.com |
aa149c1e291b41f7c3f1afb3697903d1266f2119 | fc214bfc7caf6050eec8ec5201e7f7eb568e3a17 | /Windows/Qt/Qt5.12-msvc2019_static_64/5.12/msvc2019_static_64/include/Qt3DRender/5.12.12/Qt3DRender/private/qboundingvolume_p.h | 571e4c18be1393a9b705975df266fa74a50801ca | [] | no_license | MediaArea/MediaArea-Utils-Binaries | 44402a1dacb43e19ef6857da46a48289b106137d | 5cde31480dba6092e195dfae96478c261018bf32 | refs/heads/master | 2023-09-01T04:54:34.216269 | 2023-04-11T08:44:15 | 2023-04-11T08:44:15 | 57,366,211 | 4 | 1 | null | 2023-04-11T08:44:16 | 2016-04-29T07:51:36 | C++ | UTF-8 | C++ | false | false | 3,135 | h | /****************************************************************************
**
** Copyright (C) 2015 Klaralvdalens Datakonsult AB (KDAB).
** Contact: https://www.qt.io/licensing/
**
** This file is part of the Qt3D module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** License... | [
"gervais.maxime@gmail.com"
] | gervais.maxime@gmail.com |
3537db037bd28dc9266784a246d641b2c6e2d82e | 268af85e67fa67cfa3b17af0ca04a7e400fc5e21 | /src/datamanager.h | bf615ea3ab5e5014ad6ed7b7557c5cda43794dea | [] | no_license | phi2039/AgilePCDaemon | f3226574135a253fc2ca9d59d26484f101826032 | c5f25a9dfaebae5ba4c554da4ecbc4d422c30f5d | refs/heads/master | 2021-01-21T12:03:16.427172 | 2014-10-22T01:42:06 | 2014-10-22T01:42:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 357 | h | #ifndef DATAMANAGER_H
#define DATAMANAGER_H
#include "database.h"
class CDataManager
{
public:
CDataManager();
virtual ~CDataManager();
bool Initialize();
int LoadDataFile(const char* pFileName);
protected:
int ImportCSV_Internal(const char* pFileName, const char* pTableName);
CDatabase* m_pDB... | [
"climber2039@gmail.com"
] | climber2039@gmail.com |
d9c7424c56745953aa8390babb64eca50a32aaa3 | 871c1580dd21fe23ebfe54a9fe3396d2b8c10ed3 | /RevisitOneImageSerie/RevisitOneImageSerie/RevisitOneImageSerie.cpp | 5b1ad3a7174df1928dbf7639c79ba857d6c8430e | [] | no_license | marcinkociolek/ProjectsDirectionalityDetection | d8a7f70655c05dc98489a0a6c9f75c1088c054f4 | 1900bb05ff61e89ac0361df57ff58ca2d85deabf | refs/heads/master | 2021-01-17T17:25:59.966373 | 2017-07-24T07:42:27 | 2017-07-24T07:42:27 | 57,299,438 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,431 | cpp | // RevisitOneImageSerie.cpp : Defines the entry point for the console application.
//
#include <boost\filesystem.hpp>
#include <boost/regex.hpp>
#include <iostream>
#include <fstream>
#include <math.h>
#include "..\..\..\ProjectsLib\LibMarcin\ParamFromXML.h"
//#include "..\..\..\ProjectsLib\LibMarcin\DispLib.h"
#in... | [
"marcin.kociolek@gmail.com"
] | marcin.kociolek@gmail.com |
455cdcaccb33af17fbfc197c2196f6b4c2018a68 | cdab8b42636f0cb3017442576cd797357ba41c69 | /subwayCharge/subwayCommand/subwayCmdProc/src/subwayQueryLineProc.cpp | fa2242ec14a90e562efd680f0daec45f110729f5 | [] | no_license | tmiao1/huawei_subway | f8d692ce35c7b8b139851aab7ce5efc56b7b3348 | a847645d2527af011aedf49ad81974fff700361a | refs/heads/master | 2021-01-12T00:24:40.752718 | 2017-01-12T08:04:40 | 2017-01-12T08:04:40 | 78,721,494 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 645 | cpp | #include "stdafx.h"
#include <iostream>
#include "subwayGlobalDef.h"
#include "subwayMacro.h"
#include "subwayCard.h"
#include "subwayCmdParse.h"
#include "subwayline.h"
#include "subwayPrice.h"
#include "subwayCommon.h"
#include "subwayOutput.h"
#include "subwayError.h"
using namespace std;
/*
@ 查询地铁线
@ 入参:unCmd, 命令内... | [
"929864338@qq.com"
] | 929864338@qq.com |
1bd8f7671eb25618bfd6f4059a0ce3b38fdd57b9 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5751500831719424_0/C++/Rez/repeater.cpp | 8a272ed17b30e6d37d9e33c7e39d31f74b188050 | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 1,972 | cpp | #include <iostream>
int findMinimumDev(int* countChar, int N)
{
int min = INT_MAX;
int max = INT_MIN;
for(int i = 0; i < N; i++)
{
if(min > countChar[i])
min = countChar[i];
if(max < countChar[i])
max = countChar[i];
}
int minit = INT_MAX;
for(int j = min; j <= max; j++)
{
... | [
"eewestman@gmail.com"
] | eewestman@gmail.com |
b3bf3fc7fa612d8a6b752d8d56528f8209961560 | 936abcf5c18e3c5818037f90d4954b59dab700fe | /Table/Table/main.cpp | 870c653daa79cf997df7f105a793651b38339a82 | [] | no_license | whistlinwilly/SMAART | 9b540214455ba06ab700c4ccf41455008e884f70 | 8014c40361b2dad2a2624cbb059d87d4b701d0fa | refs/heads/master | 2021-01-02T23:13:27.685974 | 2013-04-13T23:35:20 | 2013-04-13T23:35:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 294 | cpp | #include "Initialization.h"
#include "Table.h"
int main(int argc, char* argv[])
{
//construct a table with (ip, port, cameraNumber);
Table* table = new Table("10.0.1.187", 6881, 0);
//run the initialization
table->initialize();
//run whatever we want to run
table->run();
return 0;
} | [
"williamawestlin@gmail.com"
] | williamawestlin@gmail.com |
a2ce62a16655436103b8969350f00917426a5fac | 6e9058974e04aa2b292102372a0377291c04e907 | /json_builder.h | 1e222176f73cc9c1c63f86689026b1767e6a2d9a | [] | no_license | Alexsander-ggo/Transport-Directory | 708db42f799b49a73177fea1f2292bc68b99889d | 833a3327051605c62ae3dc4f0ae13a53dfa4c24f | refs/heads/main | 2023-06-05T23:32:04.102640 | 2021-06-20T14:14:15 | 2021-06-20T14:14:15 | 378,658,415 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,075 | h | #pragma once
#include <memory>
#include <stack>
#include <string>
#include "json.h"
namespace json {
class BuildConstructor;
class BuildContextFirst;
class BuildContextSecond;
class KeyContext;
class ValueKeyContext;
class ValueArrayContext;
class DictContext;
class ArrayContext;
... | [
"frayggo@gmail.com"
] | frayggo@gmail.com |
4e6273a9a20e13df8ac9279950d45a4191f597db | 13c2d3db2d49c40c74c2e6420a9cd89377f1c934 | /program_data/github_cpp_program_data/49/270.cpp | 9a7103c446ab471e7125e85a78f7670a11b6d331 | [
"MIT"
] | permissive | qiuchili/ggnn_graph_classification | c2090fefe11f8bf650e734442eb96996a54dc112 | 291ff02404555511b94a4f477c6974ebd62dcf44 | refs/heads/master | 2021-10-18T14:54:26.154367 | 2018-10-21T23:34:14 | 2018-10-21T23:34:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,907 | cpp | #include <fstream>
#include <iostream>
#include <cmath>
#include "helfer.h"
#include "gamma.h"
using namespace std;
// The following class implements the linear fit to the function a + b * t
class Fitab
{
private:
// Initialisation of vectors containing data (already chopped to the required interval)
VecDoub x;
... | [
"y.yu@open.ac.uk"
] | y.yu@open.ac.uk |
7156fe409ce0c26552af35b87dc9cb6c1feaf43e | b677894966f2ae2d0585a31f163a362e41a3eae0 | /ns3/ns-3.26/src/lte/test/test-lte-x2-handover.cc | fe62123024dcb182221532ab40e41b879364d596 | [
"LicenseRef-scancode-free-unknown",
"GPL-2.0-only",
"Apache-2.0"
] | permissive | cyliustack/clusim | 667a9eef2e1ea8dad1511fd405f3191d150a04a8 | cbedcf671ba19fded26e4776c0e068f81f068dfd | refs/heads/master | 2022-10-06T20:14:43.052930 | 2022-10-01T19:42:19 | 2022-10-01T19:42:19 | 99,692,344 | 7 | 3 | Apache-2.0 | 2018-07-04T10:09:24 | 2017-08-08T12:51:33 | Python | UTF-8 | C++ | false | false | 30,635 | cc | /* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */
/*
* Copyright (c) 2012 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Fre... | [
"you@example.com"
] | you@example.com |
1ec26d904f409f2f74220946095b251b9ab360aa | 3fd42c9e70e4b3a569902613df5295d969b596df | /huzzah-esp8266-wifi/Home-Automation/JeeNode-RF12B_SoladinNode/JeeNode-RF12B_SoladinNode.ino | 9f34156d2e2d952691454dc32b9c7d136a96f547 | [] | no_license | tdamdouni/AdaBox-Projects | 8dbbab1e47ebc1a7fb447ec9c2e7f99f55ffa6e7 | ea5a83592baf7484f17ccffd849fd63184e167f8 | refs/heads/master | 2018-09-06T19:55:48.667134 | 2018-08-26T14:24:57 | 2018-08-26T14:24:57 | 103,637,655 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,302 | ino | // Soladin Node, talks to Soladin 600 Inverter
#include <JeeLib.h>
#include <avr/sleep.h>
#include <PortsLCD.h>
#include <Soladin.h>
#include <SoftwareSerial.h>
#define SERIAL 1 // set to 1 to also report readings on the serial port
#define MEASURE_PERIOD 10 // how often to measure, in tenths of seconds
#defin... | [
"tdamdouni@users.noreply.github.com"
] | tdamdouni@users.noreply.github.com |
b0041319311d23cf3a44edca82b51fdb64c8f276 | 9ebd43420bf045a5978d860d8d191dff72c8ba61 | /StableMarriages/main.cpp | 002f83873ba3066ff6f3973b63134ae8c655fb9f | [] | no_license | sbbzplt/StableMarriages | ffefc7a570c918f50ec8f43fb9c7f953bebb66a7 | de47bb7b688f5d6f3acbf4a7945350f6caae3e7c | refs/heads/master | 2021-08-29T12:20:01.794543 | 2017-12-13T23:59:31 | 2017-12-13T23:59:31 | 113,928,471 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,724 | cpp | #include "classes.h"
int main() {
Man Ali;
Man Veli;
Man Ahmet;
Man Mehmet;
Woman Ayse;
Woman Fatma;
Woman Zeynep;
Woman Kadriye;
bool isAllEngaged = false;
int population = 3;
std::vector<Man>::iterator itm;
std::vector<Woman>::iterator itw;
Ali.setName("Ali");
Veli.setName("Veli");
Ahmet.setNam... | [
"saba.bozpolat@gmail.com"
] | saba.bozpolat@gmail.com |
cec2c0b1bd8b2289c2f066e9298a9ee62340b73c | 982b41f148a368fe31bb6963a8b2d105e009954e | /Common/Sources/Components/MeshRender/mesh_render.cpp | b571700670fc0aabc3fe21970f928e0c927cbfaf | [] | no_license | Dunder-Muffin/RayTracingGPU | 2647590c20373a7811e8fafa3de848b96c04e8cb | ded50307dd01857da3e71a7d8905c5a3a1ff533f | refs/heads/main | 2023-08-02T19:18:34.490592 | 2021-10-01T19:43:08 | 2021-10-01T19:43:08 | 354,262,198 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,103 | cpp | /* #include "mesh_render.h"
#include "GameObject/game_object.h"
MeshRender::MeshRender(MeshPtr mesh_ptr, MaterialPtr materail_ptr, const Shader& shader):
mesh(mesh_ptr), material(materail_ptr), shader(shader)
{
}
void MeshRender::render(const Camera& mainCam, const DirectionLight& light, bool wire_frame)
{
rend... | [
"vlad.sevast@mail.ru"
] | vlad.sevast@mail.ru |
7ade3a27f2ab9124cce6727e49dd6675ad330483 | 089e059887c75eea1111aa8c66f7623591ed549d | /Cherenkov/src/Cherenkov/Core/Layer.cpp | 74e2d738d1f1fd684ec7cf1245db8188b84b04cb | [
"Apache-2.0"
] | permissive | CalSeedy/Cherenkov-Engine | 2dcc6ba1b7f2acfdd110b8a949f25f9e93a25579 | d6d95feae207a9a4a10fef521768943c6b891025 | refs/heads/master | 2022-01-12T17:17:19.748561 | 2021-08-19T23:45:26 | 2021-08-19T23:46:10 | 162,950,314 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 145 | cpp | #include "ckpch.h"
#include "Cherenkov/Core/Layer.h"
namespace Cherenkov {
Layer::Layer(const std::string &name) : m_DebugName(name) {
}
} | [
"callumseed@hotmail.co.uk"
] | callumseed@hotmail.co.uk |
f9525a44a58323bca1e73a1a8f5aed8e8c691982 | 5964055fde04aabffa758318ffd1af82a81a570a | /VerrevEngine2D/CUICheckbox.cpp | 1078bc2b6115ce88d51d17be97f31cc5f6791ced | [] | no_license | verrev/VerrevEngine2D | b3a52c0ab72de81e597f9a7e4f6ddd6466d3614d | 4f4be3c666bcafc5f970609382e470330d8504b7 | refs/heads/master | 2021-03-12T23:04:20.587911 | 2015-08-20T21:22:14 | 2015-08-20T21:22:14 | 41,119,442 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,115 | cpp | #include "CUICheckbox.h"
#include "CInput.h"
void CUICheckBox::init(CD2DRenderer *r, UI_ELEMENT_DESC *desc)
{
UI_CHECKBOX_DESC *d = reinterpret_cast<UI_CHECKBOX_DESC*>(desc);
mRenderer = r;
id = d->id;
mX = d->x;
mY = d->y;
mSize = d->size;
mIsChecked = d->checked;
mBrushName = "background-brush"; mBrushName +... | [
"verrev1@hotmail.com"
] | verrev1@hotmail.com |
5e4d606d48336177c1f071e3b09cff71d1a1520c | 94dd226d343480e0fa55e2a6ee59089eef211ece | /arduino_sketches/nes_turbo_delay/nes_turbo_delay.ino | dec18b381309030e267ff113c0319228b3222cdd | [] | no_license | facelesstech/nes2usb_adaptor | 22b1f5f0929bb68629967f7ff2a20c0196b60bf8 | b26335558533cac6d4359ce720ec7dbe55927d43 | refs/heads/master | 2022-06-19T19:58:39.088429 | 2018-03-17T15:14:48 | 2018-03-17T15:14:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,157 | ino | #include <NESpad.h> // https://github.com/joshmarinacci/nespad-arduino
#include <Joystick.h> // https://github.com/MHeironimus/ArduinoJoystickLibrary/tree/version-1.0
// put your own strobe/clock/data pin numbers here -- see the pinout in readme.txt
NESpad nintendo = NESpad(2,3,4);
byte state = 0;
int turboSwitch = 0... | [
"facelessloser@gmail.com"
] | facelessloser@gmail.com |
27582d3bbebb5dbaba991a0bad8bea16a6eb7f48 | a597f0c1b2ed98cc216d947a49244e1b3ee88fd9 | /libEyeRenderer3/cameras/PerspectiveCamera.cpp | 12b12d53caa9139da0085f5c26723a6679ee4b41 | [
"MIT"
] | permissive | alexdewar/eye-renderer | fbde1b7a0135859901fb565e10f7e8af110102fa | f8fd621d5ab398013c7654b5f6581844a74f6aee | refs/heads/master | 2023-08-30T06:38:05.266059 | 2021-11-07T11:59:10 | 2021-11-07T11:59:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 981 | cpp | #include "PerspectiveCamera.h"
PerspectiveCamera::PerspectiveCamera(const std::string name) : DataRecordCamera<PerspectiveCameraData>(name)
{
// Set the scale of the perspective camera
specializedData.scale = make_float3(10.0f, 10.0f, 1.0f);
}
PerspectiveCamera::~PerspectiveCamera()
{
}
void PerspectiveCamera::se... | [
"blayze.millward@googlemail.com"
] | blayze.millward@googlemail.com |
c913dde7dad9a7b952daba9c6d178355d3031257 | df6976abd47d8538d75da966bfda6ca58abe8ca0 | /src/storage_device.cpp | 5d4cf922e64ff5810797005baa5481799103c0b1 | [
"BSD-3-Clause"
] | permissive | aruna-datti/wlan-cloud-ucentralgw | 0b01ddcd5b8d1542da22af7fc00fdbb6587e08c7 | 0fa0af3159e374761465129d2f2f1e30b80ab2bf | refs/heads/master | 2023-08-02T13:34:46.643992 | 2021-09-21T17:02:03 | 2021-09-21T17:02:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 26,493 | cpp | //
// License type: BSD 3-Clause License
// License copy: https://github.com/Telecominfraproject/wlan-cloud-ucentralgw/blob/master/LICENSE
//
// Created by Stephane Bourque on 2021-03-04.
// Arilia Wireless Inc.
//
#include "Poco/Data/RecordSet.h"
#include "CentralConfig.h"
#include "StorageService.h"
#include "Utils.... | [
"stephane.bourque@gmail.com"
] | stephane.bourque@gmail.com |
0ba3db8f0663777b3ba3840232bc50e4436ef709 | 2814b4ed8ebe8bbeb2e4210ed083326dd6ce7252 | /Hard/239. Sliding Window Maximum/maxSlidingWindow(multiset).cpp | b937ffc3beeb441361b256faf3aabf60be8733ce | [] | no_license | teddy8997/LeetCode | 31970b5efe1945204bf2f8fc4e5d6924f05636db | 399edc5300fb1cb2cb0fe51b42ce3a913c830d25 | refs/heads/master | 2023-04-10T21:14:28.684276 | 2021-04-19T06:12:34 | 2021-04-19T06:12:34 | 303,752,589 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 475 | cpp | class Solution {
public:
vector<int> maxSlidingWindow(vector<int>& nums, int k) {
multiset<int> st;
vector<int> ans;
int r = 0;
while(r < nums.size()){
if(st.size() >= k){
st.erase(st.find(nums[r - k]));
}
st.insert(nums[r]);
... | [
"70366832+teddy@users.noreply.github.com"
] | 70366832+teddy@users.noreply.github.com |
c8d66e954429a2b7187215c75cda657af1142814 | d85b1f3ce9a3c24ba158ca4a51ea902d152ef7b9 | /testcases/CWE762_Mismatched_Memory_Management_Routines/s03/CWE762_Mismatched_Memory_Management_Routines__delete_class_calloc_43.cpp | 62bdc3609ddbe003211acee550ffc02117499160 | [] | no_license | arichardson/juliet-test-suite-c | cb71a729716c6aa8f4b987752272b66b1916fdaa | e2e8cf80cd7d52f824e9a938bbb3aa658d23d6c9 | refs/heads/master | 2022-12-10T12:05:51.179384 | 2022-11-17T15:41:30 | 2022-12-01T15:25:16 | 179,281,349 | 34 | 34 | null | 2022-12-01T15:25:18 | 2019-04-03T12:03:21 | null | UTF-8 | C++ | false | false | 3,296 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE762_Mismatched_Memory_Management_Routines__delete_class_calloc_43.cpp
Label Definition File: CWE762_Mismatched_Memory_Management_Routines__delete.label.xml
Template File: sources-sinks-43.tmpl.cpp
*/
/*
* @description
* CWE: 762 Mismatched Memory Management Rout... | [
"Alexander.Richardson@cl.cam.ac.uk"
] | Alexander.Richardson@cl.cam.ac.uk |
5025f32b3d53b210365121f7c7a9aeec29705d3d | 08b8cf38e1936e8cec27f84af0d3727321cec9c4 | /data/crawl/squid/old_hunk_2474.cpp | 2101ad0763179aa9c7b2cff507b0aa27d5c28c87 | [] | no_license | ccdxc/logSurvey | eaf28e9c2d6307140b17986d5c05106d1fd8e943 | 6b80226e1667c1e0760ab39160893ee19b0e9fb1 | refs/heads/master | 2022-01-07T21:31:55.446839 | 2018-04-21T14:12:43 | 2018-04-21T14:12:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 661 | cpp | void
Rock::SwapDir::ioCompletedNotification()
{
if (!theFile) {
debugs(47, 1, HERE << filePath << ": initialization failure or " <<
"premature close of rock db file");
fatalf("Rock cache_dir failed to initialize db file: %s", filePath);
}
if (theFile->error()) {
debugs(4... | [
"993273596@qq.com"
] | 993273596@qq.com |
5266ed85aa85819bfeefb681f44993adec075e47 | 3bc7611f3eabed78373c17e3aa805afc48133bbd | /include/lll.h | 0cbf64c373b9115a29d9a922ce5612af06870521 | [
"MIT"
] | permissive | pdx-cs-tutors/pdp | 9fd401c0210e70dfcf4aa573559fbf7d2c41c72a | 48622b1a4bdbf724795a1a6faed4ba1df16319a8 | refs/heads/master | 2021-01-20T01:33:39.708106 | 2017-06-02T22:31:44 | 2017-06-02T22:31:44 | 89,296,577 | 11 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 630 | h | #pragma once
#include <cstddef>
namespace lll {
// This is our LLL node:
struct node {
int data;
node* next;
};
// Implement the following in src/lll/insertion.cpp:
int append(node*& head, int value);
int append_unique(node*& head, int value);
int prepend(node*& head, int v... | [
"cwillia5@gmail.com"
] | cwillia5@gmail.com |
b0186163ec084696aae75a62d7d4a0e242288cff | 5e117c7f994525ed76be9cab04a633fd99ef1d15 | /AdvancedLevel/1064.Complete Binary Search Tree(30)/main.cpp | d7094a6ae65fe40d1605b789fafcc0c1df67ad71 | [] | no_license | Weijun-H/PAT | 05151dd355bb87e1b18d7a2139a9acd1b57b5d2e | 923260408375f9d06f426f05c7d6654baf8a039c | refs/heads/master | 2022-02-16T04:07:25.194752 | 2019-09-07T16:27:45 | 2019-09-07T16:27:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 502 | cpp | #include <cstdio>
#include <algorithm>
using namespace std;
const int maxn = 1010;
int n, number[maxn], CBT[maxn], inde = 0;
void inOrder(int root){
if(root > n)return;
inOrder(root*2);
CBT[root] = number[inde++];
inOrder(root * 2+1);
}
int main() {
scanf("%d",&n);
for (int i = 0; i < n; ++i) {
... | [
"huangweijun1001@gmail.com"
] | huangweijun1001@gmail.com |
b45e6784db3830197f2e3e42a862d2725ef18079 | d6d4d56f20424d31dbb9e7f2ee0d1f4edc68442d | /behavioral_pattern/filter/abstract_criteria.h | 925cb908af99a64a531786865434c221033f3673 | [] | no_license | inthra-onsap/cpp-design-pattern | f61e85bb88fb835bc8ff26773edeb773f68b81ce | 0ed27cb36b38162981fb388f5bf3d19a5449ad29 | refs/heads/master | 2020-03-25T05:10:02.106457 | 2018-08-19T18:51:31 | 2018-08-19T18:51:31 | 143,432,893 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 459 | h | #ifndef CPP_DESIGN_PATTERN_BEHAVIORAL_ABSTRACTCRITERIA_H_
#define CPP_DESIGN_PATTERN_BEHAVIORAL_ABSTRACTCRITERIA_H_
#include "person.h"
#include <vector>
namespace cpp_design_pattern {
namespace behavioral_pattern {
class AbstractCriteria {
public:
virtual std::vector<Person *> filter(std::vector<Person *> perso... | [
"inthra.onsap@gmail.com"
] | inthra.onsap@gmail.com |
5ea2f6dcb8232b89661a490f50d673199bcbf3f9 | e0542ed632b7ad7db10f426b7d9f7fa826adb424 | /scan_service/scanner.cpp | 518ab6064eca76d2528cd5223de190193fb4ce58 | [] | no_license | he-2-iiu/scan_util_client-server | f575cf3243e8a39e1cd951dc98e3f4d0e115ee6c | 09d3e6b828bdc658091c0833f897a1a713a51daa | refs/heads/main | 2023-05-31T04:08:29.741161 | 2021-07-06T19:40:49 | 2021-07-06T19:40:49 | 382,907,998 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,400 | cpp | #include "scanner.h"
#include <string>
#include <vector>
#include <fstream>
#include <filesystem>
#include <chrono>
#include <thread>
#include <atomic>
#include <condition_variable>
#include <mutex>
constexpr unsigned thread_max = 4;
static std::atomic<unsigned> available_threads = thread_max;
static std::condition_v... | [
"chistiakov.chist@gmail.com"
] | chistiakov.chist@gmail.com |
ec9975f2dc7d0bb0db56c3d7356d7688ab5dedb8 | f9f43c8098489ce14cf60fe8ce264fbb71e5539a | /ANTAREX/Hdf5Types/clava_generate_example_3/src/test_lib.cpp | b66f34f5e2c84e8fb49b23ec2f9de295fb02a0a1 | [
"MIT"
] | permissive | specs-feup/specs-lara | f2ff9295a01ad6bf893b35143d591b4d41c41b6c | 53ff627d7477d34c0ce91faa5ace060fee660db9 | refs/heads/master | 2022-09-01T18:43:24.153586 | 2022-08-10T13:57:28 | 2022-08-10T13:57:28 | 96,773,200 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 250 | cpp | #include "test_lib.h"
#include <iostream>
#include "CompType.h"
#include <H5CompType.h>
void foo(A& a) {
}
void foo(B& a) {
}
void foo(C& a) {
}
int main() {
std::cout << "Hello\n";
H5::CompType aCompType = hdf5type::AType::GetCompType();
} | [
"joaobispo@gmail.com"
] | joaobispo@gmail.com |
557764479165cf6f109642f3bf0deac2a9179d65 | 322c0a83ffe50f4d6b1e2a793421fd988bd78a80 | /2014多校标程和数据/2014 Multi-University Training Contest 1(标程+数据)/多校第一场(标程+数据)/多校第一场-标程/1004.cpp | 439bfa71ea3f37904599b88f179db1036d05a19b | [] | no_license | huanzhizun/ACM-material | 333b4632addeff10d58213176d9311d6c3688a7e | 542132ab2afa18f7436479b5661fb64bdd22b676 | refs/heads/master | 2020-04-15T09:49:01.178558 | 2019-01-08T05:12:04 | 2019-01-08T05:12:04 | 164,566,380 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,018 | cpp | #include<stdio.h>
#include<string.h>
#include<map>
#include<iostream>
#include<algorithm>
using namespace std;
const int N = 100005;
struct P
{
int x,y;
}a[N],b[N];
bool cmp(P a,P b)
{
if(a.x==b.x)return a.y>b.y;
return a.x>b.x;
}
map<int,int>mapp;
char s[N];
int main()
{
//freopen("0.in","r"... | [
"huanzhizun888@126.com"
] | huanzhizun888@126.com |
ead7ca8cf26ebe5cbbbe3afad75402ad4c091797 | e825df84e093afd63d1c44c4eebacef89c47c4bd | /Fifth/PNoOp.hpp | 730b196e486c11e0b514a5becfd7bc258e8d22b9 | [] | no_license | fitzpatricksrus/Fifth | 0cfd6e3d0fa4d388870ddef7bd19664d084a96f3 | e8e31209c5963e9b5ab9664754f55736f0586d41 | refs/heads/master | 2021-01-09T16:06:36.907470 | 2016-06-04T06:13:24 | 2016-06-04T06:13:24 | 60,396,193 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 435 | hpp | #ifndef PNoOp_hpp
#define PNoOp_hpp
#include "Word.hpp"
namespace us_cownet_fifth_primitives {
using us_cownet_fifth_interp::ExecutionThread;
using us_cownet_fifth_interp::Word;
class PNoOp : public Word {
public:
virtual void execute(ExecutionThread& thread);
virtual std::st... | [
"junk@fitzpatircksr.us"
] | junk@fitzpatircksr.us |
fad5b9bcce09e21068b03aff09931a64e60f2732 | e17c43db9488f57cb835129fa954aa2edfdea8d5 | /Libraries/IFC/IFC4/lib/IfcTypeProcess.cpp | 35153128d019e297ebbbee86556454e42939dba3 | [] | no_license | claudioperez/Rts | 6e5868ab8d05ea194a276b8059730dbe322653a7 | 3609161c34f19f1649b713b09ccef0c8795f8fe7 | refs/heads/master | 2022-11-06T15:57:39.794397 | 2020-06-27T23:00:11 | 2020-06-27T23:00:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,509 | cpp | /* Code generated by IfcQuery EXPRESS generator, www.ifcquery.com */
#include <sstream>
#include <limits>
#include "model/IfcPPException.h"
#include "model/IfcPPAttributeObject.h"
#include "model/IfcPPGuid.h"
#include "reader/ReaderUtil.h"
#include "writer/WriterUtil.h"
#include "IFC4/include/IfcGloballyUniqu... | [
"steva44@hotmail.com"
] | steva44@hotmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.