blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 6 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 26 | license_type stringclasses 2
values | repo_name stringlengths 7 95 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 57
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 197k 639M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 11
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 34
values | src_encoding stringclasses 18
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 11 9.86M | extension stringclasses 27
values | content stringlengths 11 9.86M | authors listlengths 1 1 | author stringlengths 0 70 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a028f3bc61b8a49a132f039d86baeb7634a33862 | 6e9b20902f4e232d12e865f192ea5128ae253ba7 | /Fluid/2.1/pointDisplacement | d618c0c834cfb708698a96cec31c72db046ddefe | [] | no_license | abarcaortega/FSI_3 | 1de5ed06ca7731016e5136820aecdc0a74042723 | 016638757f56e7b8b33af4a1af8e0635b88ffbbc | refs/heads/master | 2020-08-03T22:28:04.707884 | 2019-09-30T16:33:31 | 2019-09-30T16:33:31 | 211,905,379 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,260 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: dev
\\/ M anipulation |
\*-----... | [
"aldo.abarca.ortega@gmail.com"
] | aldo.abarca.ortega@gmail.com | |
6077cd3a58794f87542013047bfcfe70e474e8b5 | 69a525172319cfb3fe1d5200dd67d8793820531c | /Software/iROB_EA/copia/iROB_EA.ino | a5e1e6b90383738915eaa0a8b508ade21d415a10 | [] | no_license | Baphomet2015/iROB-EA | efcd8fd36b33cd3a0cd028447609c5416ea1eb12 | d58e078bd40f239fee59d5e8e81c3a032002de24 | refs/heads/master | 2021-12-08T22:50:17.717175 | 2021-12-05T19:07:24 | 2021-12-05T19:07:24 | 51,265,231 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 32,401 | ino | //! ---------------------------------------------------------
//!
//! @mainpage
//!
//! @brief Proyecto: iROB-EA
//! @date Fecha: Enero 2021
//! @author AAL
//!
//! @remarks Hardware Arduino MEGA 2560\n
//!
//! @version Versión de SW 1.0
//! @version Versión de IDE Arduino: 1.8.12
//!
//! @br... | [
"antonio.arnaizlago@gmail.com"
] | antonio.arnaizlago@gmail.com |
65c8518a962fe7fec909d4c1f8cd3ffce23e505b | a7e694066b97d02bd74bc7562d80992837e2ce8b | /Exp13(DFS).cpp | 093c51112ccd5116b6b23a62cd836d501baa8ef7 | [] | no_license | jatinrai/DS-FILE-2018-19 | 7562f4f8bf57ae51111542420015bc8e63868f85 | efde4ffff573ac17f092cfee48f88181c03422d1 | refs/heads/master | 2020-04-01T11:18:47.037343 | 2018-11-14T15:54:43 | 2018-11-14T15:54:43 | 153,156,664 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 665 | cpp | /* Program including all Operations on Graph and illustrate the traversals using DFS and BFS */
using namespace std;
int main(){
int m,n,k,i,j,g[50][50],stack[50],top=-1,visit[50],visited[50],v;
cout<<"enter the vertices"<<endl;
cin>>n;
cout<<"enter the edges"<<endl;
cin>>m;
for(k=1;k<=m;k++){
cout<<"enter the ... | [
"noreply@github.com"
] | noreply@github.com |
915281d52c80e957156a133d370d104799a2c665 | 4d0a3d58bd66e588a50b834a8b8a65a5dac81170 | /Exam/Piscine_cpp/d07/ex02/sources/main.cpp | 6513dd584c7d330645ee338fbd20b8f0e27316ba | [] | no_license | fredatgithub/42 | 0384b35529a42cf09bbe6dc9362b6ad5c5b3e044 | 7c1352ab9c8dda4a381ce5a11cd3bbbfad078841 | refs/heads/master | 2023-03-17T09:47:48.850239 | 2019-12-15T18:13:13 | 2019-12-15T18:13:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 637 | cpp | #include <iostream>
#include "Array.hpp"
int main(void)
{
try
{
Array<std::string> array(5);
for (int i = 0; i < array.size(); i++)
{
array[i] = "t1";
std::cout << array[i] << std::endl;
}
Array<std::string> sarray(2);
std::cout << std::endl;
for (int i = 0; i < sarray.size(); i++)
{
sarray[... | [
"julien.balestrieri@gmail.com"
] | julien.balestrieri@gmail.com |
c4e976384cacd38e0a82e7b95555555bd2ab94b4 | b0dd7779c225971e71ae12c1093dc75ed9889921 | /boost/geometry/algorithms/append.hpp | 9a4e082aed67bb4fbdf69f2e2df150c28aacbb5b | [
"LicenseRef-scancode-warranty-disclaimer",
"BSL-1.0"
] | permissive | blackberry/Boost | 6e653cd91a7806855a162347a5aeebd2a8c055a2 | fc90c3fde129c62565c023f091eddc4a7ed9902b | refs/heads/1_48_0-gnu | 2021-01-15T14:31:33.706351 | 2013-06-25T16:02:41 | 2013-06-25T16:02:41 | 2,599,411 | 244 | 154 | BSL-1.0 | 2018-10-13T18:35:09 | 2011-10-18T14:25:18 | C++ | UTF-8 | C++ | false | false | 6,693 | hpp | // Boost.Geometry (aka GGL, Generic Geometry Library)
// Copyright (c) 2007-2012 Barend Gehrels, Amsterdam, the Netherlands.
// Copyright (c) 2008-2012 Bruno Lalande, Paris, France.
// Copyright (c) 2009-2012 Mateusz Loskot, London, UK.
// Parts of Boost.Geometry are redesigned from Geodan's Geographic Library
... | [
"tvaneerd@rim.com"
] | tvaneerd@rim.com |
d9136c404d12cf09747d66845420feae5a71da28 | 7a7c54ff72cfcb42d1c47f69662820e999775e8f | /c++/232.cpp | 0f2a69cc09303e53f6e3d5b814a37a09c050cea8 | [] | no_license | manito-ming/leetcode | d46da165db835de4c98b2153a4f451ec88e965c2 | 709b482866d86febf242ed56daab5244f4587c98 | refs/heads/master | 2020-04-10T15:17:30.187074 | 2019-03-07T16:10:29 | 2019-03-07T16:10:29 | 161,104,459 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,114 | cpp | #include <iostream>
#include <queue>
#include <vector>
#include <stack>
using namespace std;
class MyQueue {
public:
/** Initialize your data structure here. */
MyQueue() {
}
/** Push element x to the back of queue. */
void push(int x) {
p.push(x);
}
//获得队首元素的时候,必须先将栈反转,把先进入的元素放在栈... | [
"1315915230@qq.com"
] | 1315915230@qq.com |
cd558d89ecce96dfdd7c48e05f0d17fb75383feb | 8a2fb4d3076f008db245efae540041fc3eace4d6 | /HawkUtil/HawkWebSocket.h | 9197fdb476c0b0a3738b147b53d5dd18b37dd04f | [] | no_license | hawkproject/hawkproject | f536953ef6df199b2b93cee5672fa4a4cca23c36 | e781fd463f24e5a4c54cbd8c2bf34f4d36906ae4 | refs/heads/master | 2021-01-22T09:26:32.063606 | 2014-07-23T10:22:43 | 2014-07-23T10:22:43 | 13,612,604 | 6 | 5 | null | null | null | null | GB18030 | C++ | false | false | 995 | h | #ifndef HAWK_WEBSOCKET_H
#define HAWK_WEBSOCKET_H
#include "HawkSocket.h"
#include "HawkOctetsStream.h"
namespace Hawk
{
/************************************************************************/
/* WebSocket封装 */
/*********************************************... | [
"380269273@qq.com"
] | 380269273@qq.com |
08ec6e2818b8185f07f11b84b1822f1e0f93e302 | adb622fb73c702c32c8d1f0a77728fddf180c3a8 | /Allegro/Game1_Source/Quest System Advanced/quest_h.h | 6f9c07e41057b5807ebdcdb33506faa66454fac4 | [] | no_license | jaksamarko/c_cplusplus | 5d29439bafcbc3e4db9930175e7240c0a280985e | f37e562f414368e8ff9fd3090725fffa57af623e | refs/heads/master | 2020-04-19T20:59:24.650951 | 2019-01-30T23:49:49 | 2019-01-30T23:49:49 | 168,429,449 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,052 | h | class quest_task {
public:
int start,finish,amount,camount,item,entity;
void add(int start, int finish, int amount=0, int item=0, int entity=0) {
camount=0;this->start=start;this->finish=finish;this->amount=amount;this->item=item;this->entity=entity;
}
void destroy(... | [
"noreply@github.com"
] | noreply@github.com |
0cf92815def0c9ca8cd64b870932481355252b52 | b9623c82dc51f398b57dde08cf223342093f2af0 | /4/4.cpp | c7144a99e0d4397a02b0056a0d443539ed241a47 | [] | no_license | irinamrk02/Laba-10 | b8d75237c582dc30cee17c34c3ba96cf1b5d2144 | cd2ebb4092e2a547cea5b7fcaebe32ba3cbb3dc7 | refs/heads/master | 2023-01-31T16:37:21.747375 | 2020-12-08T19:44:46 | 2020-12-08T19:44:46 | 319,743,758 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 634 | cpp | // 4.cpp : Этот файл содержит функцию "main". Здесь начинается и заканчивается выполнение программы.
//
#include "string"
#include "iostream"
#include "fstream"
using namespace std;
int main()
{
setlocale(0, "");
ifstream in("f.txt");
string s, r;
while (in.peek() != EOF)
{
getline(in,... | [
"irinamrk02@mail.ru"
] | irinamrk02@mail.ru |
ae2ba30b43b998c05180e85e3ab8fb5ae29566cf | 30d4903c89cd6653b3de77e339000beaed1afcd9 | /op_sol2.cpp | 008e3155b10667bb18f5104a54de6c44228d3c6e | [] | no_license | mgalang229/LeetCode-Search-Insert-Position | ba78336f63399e47e04679e4713938637911aca7 | 0af2fbe1d72efec3bbbda2b6ba8066e76354524b | refs/heads/main | 2023-02-05T21:16:20.172625 | 2020-12-28T13:22:28 | 2020-12-28T13:22:28 | 325,015,762 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 205 | cpp | class Solution {
public:
int searchInsert(vector<int>& nums, int target) {
// using lower_bound() function
return lower_bound(nums.begin(), nums.end(), target) - nums.begin();
}
};
| [
"noreply@github.com"
] | noreply@github.com |
e986708d4a1f7b1834747912c08821f9ac9f4ae0 | f84a142a0891022ef44d0f6b6e80b9c7163cc9e4 | /.history/src/person_20200716233728.cpp | 9ad70eb584eae335ac07a50cfc71b2484b6ea15e | [
"MIT"
] | permissive | zoedsy/LibManage | 046b3749cc089355e0d3a9fe0f13b9a042b8ec85 | 590311fb035d11daa209301f9ce76f53ccae7643 | refs/heads/master | 2022-11-17T09:44:26.432808 | 2020-07-17T06:45:50 | 2020-07-17T06:45:50 | 279,246,675 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 17,248 | cpp | /*
* @Author: DuShiyi
* @Date: 2020-07-15 17:56:32
* @LastEditTime: 2020-07-16 23:37:26
* @LastEditors: Please set LastEditors
* @Description: about person(admin ,visitor,reader)
* @FilePath: \LibManage\src\person.cpp
*/
#include"../include/person.h"
#include"../include/library.h"
// logs = new Logs();
//具体... | [
"1246906787@qq.com"
] | 1246906787@qq.com |
6cdc32fd851461aaacae4b06b1c9a4267293164c | 0c557860627c2025919fc0871dc29e9cba4d36f1 | /src/data/data_normalization.h | 185059652472b41019cbbdf00c09e2d3acde593c | [
"MIT"
] | permissive | m-colombo/ML.cpp | c6b58d7fae2665f7db40f54c61606bf1a45ce481 | 2f1b3b5ab3487ea47263fbd774af9d5a17779c96 | refs/heads/master | 2021-01-10T07:41:59.773348 | 2016-02-10T13:50:01 | 2016-02-10T13:50:01 | 50,877,606 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,864 | h | //
// data_normalization.h
// XAA1
//
// Created by Michele Colombo on 16/12/2015.
// Copyright (c) 2015 Michele Colombo. All rights reserved.
//
#ifndef __XAA1__data_normalization__
#define __XAA1__data_normalization__
#include "samples.h"
#include "../selection/model_info.h"
//TODO extend for 1-of-k
class Data... | [
"mr.michele.colombo@gmail.com"
] | mr.michele.colombo@gmail.com |
6b286cce858d36f2fee3e6267ac2fdaa4bc66063 | d7909b07bbfcbfa6c066fa8db8fe3a7ecfbf220a | /TumTum_First/Demo/SourceCode/LHSceneCameraFollowDemo.h | 9d22aad149820ccfa70b89d64e1dbdc24f017937 | [] | no_license | tigerwoods1206/TumTumCopy | bd43a0973eb3478f65aa430b7521b1a69e17d0d2 | 3d50889ffa5ee0aeb7ff15ed9e08a4be4952bc91 | refs/heads/master | 2016-09-05T12:04:44.961195 | 2014-11-11T08:38:04 | 2014-11-11T08:38:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 576 | h | #ifndef __LH_SCENE_CAMERA_FOLLOW_DEMO_H__
#define __LH_SCENE_CAMERA_FOLLOW_DEMO_H__
#include "cocos2d.h"
#include "LHSceneDemo.h"
class LHSceneCameraFollowDemo : public LHSceneDemo
{
public:
static LHSceneCameraFollowDemo* create();
LHSceneCameraFollowDemo();
virtual ~LHSceneCameraFollowDemo();
... | [
"ohtaisao@square-enix.com"
] | ohtaisao@square-enix.com |
ae50ba56f78e3175d378f2ae4999c56d8316a689 | 76d72c6a16a715239729c2b548ca832b7e8bd35e | /LibFFmpegPlayer/LibFFmpegPlayer/FFmpegAudioSpeaker.h | 51718671341ffa9a4798c99d138b80f1443286e2 | [] | no_license | naturehome/C-Test | a4a120b6862e3d4076f28452a7f9e0d3a83c7cd4 | 218f4d899579049017a6bf25cc12eb8fb2fd0168 | refs/heads/master | 2021-01-20T08:22:02.131967 | 2019-01-09T11:31:38 | 2019-01-09T11:31:38 | 90,137,637 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 322 | h | #pragma once
class FFmpegSynchronizer;
class FFmpegFrameProvider;
class FFmpegAudioSpeaker
{
public:
FFmpegAudioSpeaker(FFmpegFrameProvider& FrameProvider, FFmpegSynchronizer& Synchronizer);
~FFmpegAudioSpeaker();
private:
FFmpegFrameProvider& m_FrameProvider;
FFmpegSynchronizer& m_Synchronizer;
};... | [
"zhangyabin@jiandan100.cn"
] | zhangyabin@jiandan100.cn |
e5aacfe0c12881506d801e034d5e9d3b51538ef0 | 5b9a1720d88be1ba9b18a0adb2d0ac2bd76c5e42 | /Coba-coba/Code 5.cpp | 5925dc92b81b19f5fa3b1f15e2fcd08b25898878 | [] | no_license | asianjack19/Cpp | 7affaa765c5e5b246e21e4b9df239334362ca470 | acc2cac32921fff56c8d76a43d18ba740a9ed26f | refs/heads/master | 2023-08-14T15:33:29.487550 | 2021-09-18T10:58:27 | 2021-09-18T10:58:27 | 378,959,808 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 155 | cpp | #include <stdio.h>
#include <stdlib.h>
int main() {
char line[0];
gets (line);
printf("Hello,World\n");
printf("%s",line);
return 0;
}
| [
"michaeladriel080801@gmail.com"
] | michaeladriel080801@gmail.com |
5f008f9698fae0baff763c05b0fa03de3d08bc76 | df1e1faeb6a66cdf6e2c39d0a61225d8c7c486f8 | /include/message.h | 28492e7367a11852f2887813f64f5f781964510a | [] | no_license | GBernardo07/DiaryProject | 5ce6dc82b64bda4d41f8822e198016a97bfdb5bd | d5dd86526b4f5462e25150152673c7e449d18082 | refs/heads/master | 2022-11-14T03:12:45.307916 | 2020-07-02T11:22:23 | 2020-07-02T11:22:23 | 272,705,794 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 208 | h | #ifndef MESSAGE_H
#define MESSAGE_h
#include <string>
#include "timing.h"
#include "date.h"
struct Message {
std::string content;
Date date;
Time time;
bool compare_messages();
};
#endif | [
"gbernardoreis@outlook.com"
] | gbernardoreis@outlook.com |
cb24f1981bb5642106dfe3259fa696823b846051 | 3fd747b340e5ea8c59ac733abd335c5d033cf812 | /src/gui/daq/coord.h | 2c6d712cc855a318c3f4d970e27f02cf4513cd5e | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | hgamber/qpx-gamma | dd6e2817d744d1415d9022c3f70272f8ad43dfd6 | 4af4dd783e618074791674a018a3ba21c9b9aab1 | refs/heads/master | 2021-10-27T11:50:46.578617 | 2019-04-17T01:24:07 | 2019-04-17T01:24:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,554 | h | /*******************************************************************************
*
* This software was developed at the National Institute of Standards and
* Technology (NIST) by employees of the Federal Government in the course
* of their official duties. Pursuant to title 17 Section 105 of the
* United States Co... | [
"martukas@gmail.com"
] | martukas@gmail.com |
a284a0e7243b7f4c66a25132ec6b4209a6c1bd57 | 6c9146e5b2b973f4ecd43ddcbd79b59c86a7590b | /CppWindowsServices-RemoteConsole/socket-client.cpp | 7b779cf11c208ff0ec3cb86aca2a7e02f5266f21 | [] | no_license | Gewery/CppWindowsServices-RemoteConsole | 822a192e7e381fafa470013141c15ab8c29f3cef | ede295e4f1bb512c620e188761b26e5d0ac0acca | refs/heads/master | 2020-12-21T05:20:15.097357 | 2020-06-01T10:47:57 | 2020-06-01T10:47:57 | 236,319,273 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,132 | cpp | #define WIN32_LEAN_AND_MEAN
#define _CRT_SECURE_NO_WARNINGS
#include <windows.h>
#include <winsock2.h>
#include <ws2tcpip.h>
#include <stdio.h>
// Need to link with Ws2_32.lib, Mswsock.lib, and Advapi32.lib
#pragma comment (lib, "Ws2_32.lib")
#pragma comment (lib, "Mswsock.lib")
#pragma comment (lib, "AdvApi32.lib")
... | [
"gewery@mail.ru"
] | gewery@mail.ru |
cd8fefa22be8cecf89a1389a60bb2870a1c51191 | f268ef85eb335af1794a669e7f69e3c94d3b3cb0 | /Client/source/feint/pane/markdown/html/headerpraser.h | 4ca943a6daaec44f00968837bcf00e73c000371b | [] | no_license | feint123/Emoji | a67a9a6f7cc2e61bba16f9cb75a18c61c8b5d428 | 9929171c9eb74b9799fd3ab23e35d68c059dcfbf | refs/heads/master | 2020-06-16T18:30:49.915832 | 2017-02-02T07:33:09 | 2017-02-02T07:33:09 | 75,077,349 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 239 | h | #ifndef HEADERPRASER_H
#define HEADERPRASER_H
#include <QString>
class HeaderPraser
{
public:
HeaderPraser();
static QString praser(QString text);
private:
QString hOneReg;
QString hTwoReg;
};
#endif // HEADERPRASER_H
| [
"13479399352zyf@gmail.com"
] | 13479399352zyf@gmail.com |
0340fd2ab349815015527bdf694a041b86f88d3d | cf7537721caf499b46be56b9932fabb4500b2274 | /include/GCutG.h | ca63b691f0b875fb92bbd0679026b1696c2a29bc | [] | no_license | placebosarah/GRUTinizer | f95c2a93ffb2f55f4a96e28037ecfc019144dddd | 62b1156c6bd39d3bb80283e479f7a6968149a550 | refs/heads/master | 2021-01-11T10:59:45.819686 | 2016-11-02T19:47:30 | 2016-11-02T19:47:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,055 | h | #ifndef GCUTG_H_
#define GCUTG_H_
#include <TCutG.h>
#include <TClass.h>
#include <TString.h>
class GCutG : public TCutG {
public:
GCutG() : TCutG() { }
GCutG(const TCutG &cutg) : TCutG(cutg) { }
GCutG(const char *name,Int_t n=0) : TCutG(name,n) { }
GCutG(const char *name,Int_t n,const Float_t *x,c... | [
"pcbend@gmail.com"
] | pcbend@gmail.com |
0d5d503d08603d1e6c0b6f23fe90cc60c2326b85 | c2658b5a3b4e00d836287f22e47af2f4241278bd | /Fraction/Fraction.h | 3b2021ebb89e6c160a004c1a8e36d076c7ac9d5e | [] | no_license | ahmad1598/C-plus-plus | 2fdeac3686e5d33bb46b27968816194369cca816 | 25fb17f62abe946064500eb55839507b6fc5623c | refs/heads/master | 2020-04-27T04:59:58.091937 | 2019-03-06T06:39:23 | 2019-03-06T06:39:23 | 174,070,189 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,212 | h | /*****************************************
*
* Project : M5 - Fraction Class
* File : Fraction.h
* Name : Ahmad Rasoulpour
* Professor : Robert Baird
* Date : 07 / 06 / 18
******************************************/
class Fraction
{
friend Fraction operator+(const Fraction& f1, const Fraction& f2);
... | [
"ahmad.raman83@yahoo.com"
] | ahmad.raman83@yahoo.com |
6245249e5a339b0c806b464a9d601e2f5a3fccaf | 24cbfe81c4fc15619e1e1862dfbfc6b5f9a3619d | /week-3/izo/izo.cpp | 6044bfbd6c36096224cdbfe3c127f3b6284e9aee | [
"MIT"
] | permissive | amwolff/ALGO2020 | 198322b3b51e02c2ca21d468a22370b8cdd2f91c | 6fc361d999ed12e94eb9f86d190ddaac4916d03a | refs/heads/master | 2021-03-13T10:36:06.789574 | 2020-09-08T21:06:25 | 2020-09-08T21:06:25 | 246,670,782 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 461 | cpp | #include <algorithm>
#include <cstdio>
#include <vector>
using namespace std;
int main() {
int n;
scanf("%d\n", &n);
vector<int> a(n);
for (size_t i = 0; i < a.size(); i++) {
scanf("%d\n", &a[i]);
}
sort(a.begin(), a.end());
size_t i = 0;
size_t j = a.size() - 1;
int ans = 0;
while (i <= j)... | [
"artur.m.wolff@gmail.com"
] | artur.m.wolff@gmail.com |
ef43da03c0561e3b11ef2abc78adbe9615f494e6 | 62092f08c00b8d6630276574bf2e1b84bc22a82a | /src/Soundex.h | d56fb7677e157c0b2f5e4741bb79feeeea4f4b80 | [] | no_license | Keunho77/MyTest1 | fed85b0307e3a08e10e00aac35c0173f37ca1d94 | ae14fbe80a64741c9f6fa906a3caa0ec9fd8666b | refs/heads/master | 2021-01-10T16:49:03.279318 | 2015-12-21T09:50:31 | 2015-12-21T09:50:31 | 48,313,382 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,818 | h |
#ifndef SRC_SOUNDEX_H_
#define SRC_SOUNDEX_H_
#include <iostream>
#include <string>
#include <unordered_map>
class Soundex {
public :
std::string encodedDigit(char letter) const {
const std::unordered_map<char, std::string> encodings {
{'b', "1"},{'f', "1"},{'p', "1"}, {'v', "1"},
{'c', "2"},{'g', "2"},{'j'... | [
"keunho77@gmail.com"
] | keunho77@gmail.com |
39fdffe4d02e0f07df1992f66ad7987fc0fc7d5d | 048df2b4dc5ad153a36afad33831017800b9b9c7 | /atcoder/joisc2007/joisc2007_mall.cc | d43cb1f10e338dd286f69dd0d5c55733f20189d6 | [] | no_license | fluffyowl/past-submissions | a73e8f5157c647634668c200cd977f4428c6ac7d | 24706da1f79e5595b2f9f2583c736135ea055eb7 | refs/heads/master | 2022-02-21T06:32:43.156817 | 2019-09-16T00:17:50 | 2019-09-16T00:17:50 | 71,639,325 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,048 | cc | #include <bits/stdc++.h>
using namespace std;
#define REP(i,n) for (int i=0;i<(n);i++)
#define REP2(i,m,n) for (int i=m;i<(n);i++)
typedef long long ll;
int H, W, X, Y;
ll A[1010][1010];
ll B[1010][1010];
ll sum1(int i, int j, int h, int w) {
return A[i + h][j + w] - A[i][j + w] + A[i][j] - A[i + h][j];
}
ll sum... | [
"nebukuro09@gmail.com"
] | nebukuro09@gmail.com |
7450ef5d7da5c56e448a9cf69fa3dd89c9b86c91 | 72e59a47eb012891b84b10f9b1bd738f02aa5a9a | /ESEMPI_rseba/STRUCT/prova.cc | 3c0fae93c3e8c6eff3f6e0b81d370bd1f4038504 | [] | no_license | Leonelli/C-plus-plus-works | 8a366f9716284ef804de5c707c5a0904afb217a7 | f4a9971b5391d5864ffcf208a2845c4a224969fe | refs/heads/master | 2020-03-29T17:22:53.737281 | 2019-02-13T16:50:48 | 2019-02-13T16:50:48 | 150,159,156 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 490 | cc | using namespace std;
#include <iostream>
#include <cstring>
const int Nmax = 1000;
struct myarray {
double v[Nmax];
int nelem;
};
double somma (myarray a,int n) {
double res;
if (n==0)
res = a.v[0];
else
res = a.v[n]+somma(a,n-1);
return res;
}
int main () {
myarray a;
// inizializza Myar... | [
"matteoleonelli99@gmail.com"
] | matteoleonelli99@gmail.com |
343fa8dc5a9d8a6de718da7cbf7e1a4afbdbbd26 | f7c82f2621c3cdb8d51b0a2c094038fe14b78c98 | /sem2/class Complex.cpp | 64b0a17dfb779f43f9bc29ba7553fc00b86da70f | [] | no_license | IslamKyrre/MyAlgorithmsAndDataStructures | 58a54d5b1d122b204ece21ddd3150776e944b5c1 | 4114c94c68f640fb9487c1561978a78fc40ac610 | refs/heads/main | 2023-03-29T04:06:59.186894 | 2021-03-31T11:50:49 | 2021-03-31T11:50:49 | 353,335,411 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,233 | cpp | class C {
public:
double re, im;
double abs() {
return sqrt(re * re + im * im);
}
C() : re(0), im(0) {};
C(double re, double im) : re(re), im(im) {};
explicit C(double re) : re(re), im(0) {};
C(const C &x) {
re = x.re;
im = x.im;
}
};
C... | [
"noreply@github.com"
] | noreply@github.com |
c4f58ecdbb82c5c17e0a16579b6252d5ef97f4e1 | b6fb6785e6689c1e22c30327e690e290e54f57b0 | /MainWindow.cpp | 3c9ba6294f8ca0a64b4518dfa2b5d0cf442c7345 | [] | no_license | MetalStrikerXLR/FQMCv2-GUI-QT | 15ef8dc44d3939b0b69e2a58d7cc9c750f8428d8 | 62176e3d81b8ec50d6e3ce390506b7d482de4429 | refs/heads/master | 2023-08-05T06:44:49.018291 | 2019-11-06T19:49:46 | 2019-11-06T19:49:46 | 404,446,010 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 22,020 | cpp |
#ifndef MAINWINDOW_CPP
#define MAINWINDOW_CPP
#endif
#include "MainWindow.h"
#include "ui_MainWindow.h"
using namespace std;
MainWindow::MainWindow( QWidget *parent ) :
QMainWindow( parent ),
m_ui( new Ui::MainWindow ),
m_timerId ( 0 ),
m_steps ( 0 ),
m_realTime ( 0.0 )
{
m_ui->setupUi( th... | [
"metal.striker.xlr@gmail.com"
] | metal.striker.xlr@gmail.com |
fd506a86a89c3d4277e4e8bb0315f89d42cf4f89 | 4da55187c399730f13c5705686f4b9af5d957a3f | /resources/languages/cpp/Motor.cpp | 6881a4b479d17026cf0e033f4436b1114ae3ff22 | [
"Apache-2.0"
] | permissive | Ewenwan/webots | 7111c5587100cf35a9993ab923b39b9e364e680a | 6b7b773d20359a4bcf29ad07384c5cf4698d86d3 | refs/heads/master | 2020-04-17T00:23:54.404153 | 2019-01-16T13:58:12 | 2019-01-16T13:58:12 | 166,048,591 | 2 | 0 | Apache-2.0 | 2019-01-16T13:53:50 | 2019-01-16T13:53:50 | null | UTF-8 | C++ | false | false | 3,941 | cpp | // Copyright 1996-2018 Cyberbotics Ltd.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agr... | [
"David.Mansolino@cyberbotics.com"
] | David.Mansolino@cyberbotics.com |
cf5b3f227c05ceff1fbaaefdb171c8803c35cf5a | 4dd44b69c18016ec7e42600a2831bb47b5364e92 | /standard_openssl/secp256k1.cpp | 17732396e88a4aaa4c062ea053953080bcdfbe49 | [] | no_license | zzGHzz/EVM_CryptoLIb | 0056c10d178fde4ac9f4ea77620f2191fc858500 | e917e592e1873959660ee0d82245cec3407fba6a | refs/heads/master | 2020-06-19T19:37:11.611223 | 2019-12-20T09:49:23 | 2019-12-20T09:49:23 | 196,844,997 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,504 | cpp | //
// Created by 王星凯 on 2019-08-08.
//
#include "include/secp256k1.h"
#include <cassert>
#include <iostream>
#include <string>
using namespace std;
void Secp256k1_point::init()
{
group = NULL;
point = NULL;
ctx = NULL;
group = EC_GROUP_new_by_curve_name(NID_secp256k1);
if (!group) {
t... | [
"starshine87@sjtu.edu.cn"
] | starshine87@sjtu.edu.cn |
5de5c136681f1a29ba49125753376e83b858dcc1 | 239994fd79fdec7a4184db3e230828b8347dd997 | /Frost/Vector2f.h | 8eea3b31e974de69e4642790014c69a5b0d48ef3 | [] | no_license | ClericX/Projects | bd0944c6994658b539b61ae90580ee0db440f84c | 9c705315cb16d42a0116f88f156fb748ca46ccfc | refs/heads/master | 2021-01-01T19:42:21.981590 | 2013-03-16T15:49:00 | 2013-03-16T15:49:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 186 | h | #pragma once
#include "DLL.h"
class FROSTAPI Vector2f
{
public:
float x;
float y;
Vector2f(void);
Vector2f(float _x, float _y);
void Set(float _x, float _y);
~Vector2f(void);
}; | [
"clericx@clericx.net"
] | clericx@clericx.net |
3cc98a8137eaf0e9769a397c534428fb437ec9e5 | 1a17167c38dc9a12c1f72dd0f3ae7288f5cd7da0 | /Source/ThirdParty/angle/third_party/SwiftShader/src/OpenGL/compiler/preprocessor/DirectiveParser.cpp | ed2ec074686ba7efd085667ab56c53fcca3182a0 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference",
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"Zlib",
"LicenseRef-scancode-khronos",
"BSL-1.0",
"BSD-2-Clause",
"Apache-2.0"
] | permissive | elix22/Urho3D | c57c7ecb58975f51fabb95bcc4330bc5b0812de7 | 99902ae2a867be0d6dbe4c575f9c8c318805ec64 | refs/heads/master | 2023-06-01T01:19:57.155566 | 2021-12-07T16:47:20 | 2021-12-07T17:46:58 | 165,504,739 | 21 | 4 | MIT | 2021-11-05T01:02:08 | 2019-01-13T12:51:17 | C++ | UTF-8 | C++ | false | false | 25,631 | cpp | // Copyright 2016 The SwiftShader 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 b... | [
"elix22@gmail.com"
] | elix22@gmail.com |
54360296804d2be9024f5b885d22cc53aed0e087 | 97ecedecef3d9dc98e70e6517d11e6b76fa254ba | /main.cpp | 2b3fd40f5298ede461a7e9fbc5dbc983bacc2566 | [] | no_license | gbrlins/BankSimulator | 7c01f143b3b731064011889102397b8605efdabc | 6d87449fd7e43dd9899af536ee31e03f8bda74dc | refs/heads/master | 2021-07-13T00:57:05.463841 | 2017-10-18T23:29:12 | 2017-10-18T23:29:12 | 107,474,172 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,092 | cpp | #include <iostream>
#include <stdlib.h>
#include "ATM.h"
#include "Account.h"
#include "User.h"
#include "System.h"
int main ()
{
system("Color 1a");
cout<<endl<<endl;
cout<<" ## ## ## "<<endl;
cout<<" #### # # ... | [
"noreply@github.com"
] | noreply@github.com |
0ea13e4e0cf10630dce8fe1b211245bad23e6808 | 299648a8c633728662d0b7651cd98afdc28db902 | /src/thirdparty/cefbinary_72/include/wrapper/cef_helpers.h | 0c5820dbb552a0966a3fca24c6c4703996e6f3e0 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown"
] | permissive | aardvarkxr/aardvark | 2978277b34c2c3894d6aafc4c590f3bda50f4d43 | 300d0d5e9b872ed839fae932c56eff566967d24b | refs/heads/master | 2023-01-12T18:42:10.705028 | 2021-08-18T04:09:02 | 2021-08-18T04:09:02 | 182,431,653 | 183 | 25 | BSD-3-Clause | 2023-01-07T12:42:14 | 2019-04-20T16:55:30 | TypeScript | UTF-8 | C++ | false | false | 4,385 | h | // Copyright (c) 2014 Marshall A. Greenblatt. 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 ... | [
"joe@valvesoftware.com"
] | joe@valvesoftware.com |
fc0307a8c665e1bb716e71d735c1a4466219de95 | d54a9f1856eb7aaa18be4855a504a7d1e4623d63 | /server.h | f79f1d4862548923330246762f61a4771192400a | [] | no_license | Mazar1ni/CubanglesServer | 938c1d119705fd8da938e25c0ee3e2e51a5182c5 | 1836d7d9a446b8276deb0355b27626dec1eb20d2 | refs/heads/master | 2020-04-13T22:56:11.432243 | 2018-12-29T08:31:23 | 2018-12-29T08:31:23 | 163,492,931 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 366 | h | #ifndef SERVER_H
#define SERVER_H
#include <QTcpServer>
class Socket;
class RoomManager;
class SearchGame;
class Server : public QTcpServer
{
public:
Server();
void startServer();
protected:
void incomingConnection(int handle);
public:
QList<Socket*> socketList;
RoomManager* roomManager;
S... | [
"xmazarini17@gmail.com"
] | xmazarini17@gmail.com |
3af816d18d9737ec3b81a2f999c1e0599c4c1807 | 99f1550e0a3c2e21088e2ffc72bc5dadabb1188f | /ui/UICTRL/Src/Control/RichEdit/OLE/comreole.cpp | 408de8431b882e94a97a25924b96bfe63f65925b | [] | no_license | flymolon/UI2017 | 0d0bb1c173e015e7fe26ada47358b4581f3b0e29 | e7182b19d9227abe6d3f91600e85d13c85917e71 | refs/heads/master | 2020-04-11T01:42:49.336393 | 2017-02-12T04:15:19 | 2017-02-12T04:15:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,463 | cpp | #include "stdafx.h"
#include "comreole.h"
using namespace UI;
namespace UI
{
extern UINT g_cfRichEditUnicodeXmlFormat;
extern UINT CF_HTML;
}
ComREOle::ComREOle()
{
m_pOleObject = NULL;
memset(&m_clsid, 0, sizeof(m_clsid));
}
ComREOle::~ComREOle()
{
SAFE_RELEASE(m_pOleObject);
}
HRESULT ComREOle::G... | [
"libo30@lenovo.com"
] | libo30@lenovo.com |
d731eab3acddb9beaaae2321b614452b88642726 | 2d5001934fcafacde5c441b9344f1f0d94b9ac3e | /TractionControl.h | 64223e3805c4cb0d22502a4144504077fea88091 | [] | no_license | CircuitBirds-FRC4601/CB1 | 9186d52f321404b2b5427b6a4626eb4f9ef3781c | 7e181e868e85d696cc19e7c384016c22263d66bb | refs/heads/master | 2016-09-05T13:26:49.548552 | 2014-02-28T00:49:22 | 2014-02-28T00:49:22 | 17,270,582 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 767 | h | #ifndef TRACTIONCONTROL_H_
#define TRACTIONCONTROL_H_
#include "Encoder.h"
#include "Timer.h"
class AugmentedEncoder {
//augments the functionality of an encoder
float acceleration;
float velocity;
float distance;
float delta_v; //change in velocity
float delta_d; //change in distance
float delta_t; //change ... | [
"kyle@kylekthompson.com"
] | kyle@kylekthompson.com |
5d0f04346e40dab0341ee6c1437504b090d308c0 | 988d2a132be3d3f36a985d848f6d4cc54748d5e7 | /src/Platform.Linux/TimeSourceLinux.cpp | 7a35fc359d233ae2f11f83ed286ff81f80262f1e | [
"MIT"
] | permissive | ValtoForks/pomdog | 24336f3342c51a25a0260144bdc72f6bf0bb4a35 | 73798ae5f4a4c3b9b1e1e96239187c4b842c93b2 | refs/heads/master | 2021-05-03T15:47:12.979889 | 2019-01-04T15:42:05 | 2019-01-04T15:42:05 | 120,486,114 | 0 | 0 | NOASSERTION | 2019-01-04T15:42:06 | 2018-02-06T16:15:53 | C++ | UTF-8 | C++ | false | false | 667 | cpp | // Copyright (c) 2013-2018 mogemimi. Distributed under the MIT license.
#include "TimeSourceLinux.hpp"
#include "Pomdog/Utility/Exception.hpp"
#include <ctime>
namespace Pomdog {
namespace Detail {
namespace Linux {
TimePoint TimeSourceLinux::Now() const
{
struct timespec now;
if (0 != clock_gettime(CLOCK_MO... | [
"mogemimi@enginetrouble.net"
] | mogemimi@enginetrouble.net |
866011ecf098ce7a8107eebb0fc68ddc8c13a731 | 9b48da12e8d70fb3d633b988b9c7d63a954434bf | /ECC8.1/Server/kennel/Ecc_Common/opens/snmp++/snmp++/Snmp++/include/snmp_pp/oid_def.h | d898440c7939ea231e84b633b3959779ce4c0d7f | [] | no_license | SiteView/ECC8.1.3 | 446e222e33f37f0bb6b67a9799e1353db6308095 | 7d7d8c7e7d7e7e03fa14f9f0e3ce5e04aacdb033 | refs/heads/master | 2021-01-01T18:07:05.104362 | 2012-08-30T08:58:28 | 2012-08-30T08:58:28 | 4,735,167 | 1 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 3,938 | h | /*_############################################################################
_##
_## oid_def.h
_##
_## SNMP++v3.2.15
_## -----------------------------------------------
_## Copyright (c) 2001-2004 Jochen Katz, Frank Fock
_##
_## This software is based on SNMP++2.6 from Hewlett Packard... | [
"136122085@163.com"
] | 136122085@163.com |
175aed8f04e7f2a65cba8ded82f42df1f149f38c | d32591b7a6a4b73d13ec530135d60727e737a20e | /GameOfInterview/Map.h | 5dbb0251a1001eea911211a58138372fe1d3323c | [] | no_license | sayidli/Minesweeper | 6323b02eabe6998f5d663d794d83043464676322 | 7db17258a78cdfe48bcde0fc0add505d43a0e4dc | refs/heads/master | 2020-08-28T03:56:21.766348 | 2019-11-01T01:50:46 | 2019-11-01T01:50:46 | 217,580,884 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 695 | h | //
// Map.h
// GameOfInterview
//
// Created by lipengyao on 2019/10/24.
// Copyright © 2019 lipengyao. All rights reserved.
//
#ifndef Map_h
#define Map_h
#endif /* Map_h */
#include "IMapBase.h"
#include "IPlayerBase.h"
class GameMap:public IMapOperater, public IMapBase
{
public:
GameMap();
//I... | [
"itislipengyao@hotmail.com"
] | itislipengyao@hotmail.com |
404b9c1345f96937f4acd9b8392a8434776209f6 | 3879d1ca43c573c209f962182cd1e7f7fe978fbf | /leetcode/328. Odd Even Linked List/328.cpp | 77270284afc81ea2f79021cccca32bc071e5cc56 | [] | no_license | DoctorLai/ACM | 34a5600a5adf22660c5d81b2d8b7a358be537ecf | aefa170f74c55c1230eb6f352770512b1e3f469e | refs/heads/master | 2023-09-01T02:13:01.604508 | 2023-08-31T15:42:07 | 2023-08-31T15:42:07 | 146,173,024 | 62 | 18 | null | 2020-10-11T13:19:57 | 2018-08-26T11:00:36 | C++ | UTF-8 | C++ | false | false | 752 | cpp | // https://helloacm.com/reconnect-the-nodes-in-linked-list-by-odd-even-in-place-odd-even-linked-list/
// https://leetcode.com/problems/odd-even-linked-list/
// MEDIUM, LINKED LIST
/**
* Definition for singly-linked list.
* struct ListNode {
* int val;
* ListNode *next;
* ListNode(int x) : val(x), next... | [
"dr.zhihua.lai@gmail.com"
] | dr.zhihua.lai@gmail.com |
f1b75bc5d3625b044c9df80dfcf5f33f5e7de451 | eef2c36fbeeda1f8198e47f462a4815b910f90f9 | /src/Model/CTECList.h | 4fd96a5b3e9c7771b020ec873f0e1c246655b7fa | [] | no_license | RanchBean/NodeProject | 430d3598e52a69dd5c12523279bc2fafa991538a | 96875715c61c4380c8182ad2b3e3a2d8661f8406 | refs/heads/master | 2021-01-10T16:10:02.204024 | 2016-03-02T20:26:01 | 2016-03-02T20:26:01 | 52,994,003 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 697 | h | /*
* CTECList.h
*
* Created on: Mar 2, 2016
* Author: ethr5627
*/
#ifndef MODEL_CTECLIST_H_
#define MODEL_CTECLIST_H_
#include "ArrayNode.h"
template <class Type>
class CTECList
{
private:
int size;
ArrayNode<Type> * head;
ArrayNode<Type> * end;
void calculateSize();
public:
CTECList(int size);
virtu... | [
"Ethunderson1@gmail.com"
] | Ethunderson1@gmail.com |
6e7f7cb5173b98b2da90b494b8da0b5ec85bf5ae | 6b660cb96baa003de9e18e332b048c0f1fa67ab9 | /External/SDK/Proposal_TheAshenDragon_Chapter4_classes.h | bdac822c037b2471503394a6d8e5b6e985fce7dd | [] | no_license | zanzo420/zSoT-SDK | 1edbff62b3e12695ecf3969537a6d2631a0ff36f | 5e581eb0400061f6e5f93b3affd95001f62d4f7c | refs/heads/main | 2022-07-30T03:35:51.225374 | 2021-07-07T01:07:20 | 2021-07-07T01:07:20 | 383,634,601 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 859 | h | #pragma once
// Name: SoT, Version: 2.2.0.2
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Classes
//------------------------------------------------------------... | [
"Massimo.linker@gmail.com"
] | Massimo.linker@gmail.com |
8dc3c21065bf5fcde4b35eec4716dd7eeac5be6d | aeb95623970cf4a93317c38ab4eb27837adff35f | /Array/1252_CellswithOddValuesinaMatrix.cpp | 2c3716e2e285ab32c113f59c2cfcb4a33c95c959 | [] | no_license | CodingOfZero/LeetCode | e153e99b19887d1bc65ab45bd973e7ee3d328ac8 | 06c4b4c506d378144a7d5d1db5d9f4e06999fbe0 | refs/heads/master | 2021-07-20T16:31:56.675310 | 2021-07-05T12:06:31 | 2021-07-05T12:06:31 | 141,298,691 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,296 | cpp | /*
时间:2019年12月20日 16:19:32
题目:Given n and m which are the dimensions of a matrix initialized by zeros
and given an array indices where indices[i] = [ri, ci].
For each pair of [ri, ci] you have to increment all cells in row ri and column ci by 1
题意:将ri行加一,ci列加一
*/
#include<vector>
#include<iostream>
using n... | [
"895756412@qq.com"
] | 895756412@qq.com |
42d78e6dc50ba65a998f75af5136b5e53369ab21 | db3562d8fa915393c7ffa760af62647ebccf8212 | /common/src/colorf.hpp | ac84d2e9456baca390f255e7c80870d5ab032be6 | [] | no_license | haoqoo/mir2x | 1269cf2ab70a7664a5565a6a56746cf30cdf0659 | c2fed4e6e4f8c0e40ce6b13c122fc26ef808dab9 | refs/heads/master | 2023-07-08T11:03:12.462614 | 2021-08-08T19:50:00 | 2021-08-08T19:50:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,455 | hpp | /*
* =====================================================================================
*
* Filename: colorf.hpp
* Created: 03/31/2016 19:46:27
* Description:
*
* Version: 1.0
* Revision: none
* Compiler: gcc
*
* Author: ANHONG
* Email: anhonghe@gmail.... | [
"anhonghe@gmail.com"
] | anhonghe@gmail.com |
b2c47231fb28a42dd9c2f4e636cde531d200bb39 | df0dc0fcdcc4d0b62d8d3b596415870d06975972 | /Programacion 2017 - 2018/Programacion 2017/Final Verano/Estudio Final Prog/Drive/C++(la consigna es correr el main)/clase libro/libro/libro.h | f4ef3126f262b7ad8124793303d1ea5e42c7098d | [] | no_license | diego-rico-dk/Programacion-Unlam | 169f1be80ce18eb210f3773515522381b31ae125 | 30cc0781a3f65fd1f5026180055da1ca41dc4ee8 | refs/heads/master | 2022-01-08T21:31:11.371443 | 2019-04-11T03:46:20 | 2019-04-11T03:46:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 499 | h | #ifndef LIBRO_H_INCLUDED
#define LIBRO_H_INCLUDED
#include <iostream>
#include <string.h>
using namespace std;
class Libro
{
private:
char nombre[60];
char autor[50];
int paginas;
public:
Libro(char* nom="El libro de Cosme Fulanito",char* au="Cosme Fulanito" ,int pag=1000);
... | [
"tocinonaro_juan@yahoo.com.ar"
] | tocinonaro_juan@yahoo.com.ar |
8a19e680a087933748ea5095485f9a8fb18cd0d2 | 0ff6579660ccf6d912bf613f58fab80abcfae87f | /main.cpp | eb7f56a34c59eadaf499753b35d423f2c726825a | [] | no_license | karolinneoc/ElRefPattern | e680e907e5be484fbfa81d69d8fccb0a00ad1db5 | 2c84e4cfe5b34441e9b3f77a7f3404e2cc0d8b37 | refs/heads/master | 2020-08-04T16:41:30.047768 | 2019-10-11T14:03:16 | 2019-10-11T14:03:16 | 212,206,432 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,405 | cpp | #include "mkl.h"
#include "pzmatrix.h"
#include "TPZPardisoControl.h"
#include "pzcmesh.h"
#include "pzgengrid.h"
#include "TPZMatLaplacian.h"
#include "pzbndcond.h"
#include "pzanalysis.h"
#include "TPZVTKGeoMesh.h"
#include "pzgnode.h"
#include "TPZRefPattern.h"
#include "TPZRefPatternTools.h"
#include "TPZGeoElRefPa... | [
"30835631+karolinneoc@users.noreply.github.com"
] | 30835631+karolinneoc@users.noreply.github.com |
6fc82d0557142d5c3bb018cede07d41c0d0c526d | b776ec3da034afa276356667c1b3a3de17aeb3bd | /Game/Source/Physics2D/Box2DManager.cpp | fe288df248ad86f81c04962547442d2637d9c398 | [] | no_license | zrcoy/Ewe | b25865071be738be1ec788f5445bb370d59c825b | 5359a699884ea8915730ddb11e644e05e06f48e1 | refs/heads/master | 2020-04-27T09:04:37.378059 | 2019-03-06T18:56:11 | 2019-03-06T18:56:11 | 174,199,795 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 493 | cpp | #include "GamePCH.h"
#include "Box2DManager.h"
#include "Box2DContactListener.h"
#include "../../Libraries/Box2D/Box2D/Box2D.h"
Box2DManager::Box2DManager()
{
m_pWorld = new b2World( b2Vec2( 0, -10 ) );
m_pContactListener = new Box2DContactListener();
m_pWorld->SetContactListener( m_pContactListener );
}... | [
"zhan0472@algonquinlive.com"
] | zhan0472@algonquinlive.com |
2dfff90ac86c2615167ceac368040aaf6006ca9d | 203c4602712963d4b431902ff1a6e1f9da6bd56a | /FiveCardStud.h | 5c38c4464a102479eb094fba081e72dc7579ba00 | [] | no_license | Woogachaka/gcc-fivecardstud | 30872f219bf3f5973219b8324becd7fe7a50fb0a | 307e69cc622d125f142f5027182c4b252f23cad6 | refs/heads/master | 2020-12-11T05:56:18.188708 | 2014-02-20T17:59:56 | 2014-02-20T17:59:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,267 | h | #ifndef __GAME_H
#define __GAME_H
#include "Player.h"
#include "Card.h"
#include <iostream>
#include <vector>
#include <string>
#include <math.h>
class FiveCardStud
{
static const int PLAYER_STARTING_BANK = 100;
static const int ante = 1;
public:
FiveCardStud();
~FiveCardStud();
void setup(int nPlayers); //i... | [
"jv789521@gmail.com"
] | jv789521@gmail.com |
d7969f24ab4766c0033ea724f765f3afb03f386c | 61223eee05ad0179788931e35f4db59a896a2bd0 | /lib/bbq/NTCSensor.cpp | 997ba1e9c1b0adfc24ff468757ea98cadda04da5 | [
"MIT"
] | permissive | rvt/bbq-controller | 60155717c0ec33b327d74203f14e6ed6ffcc0ae0 | a70f13dfc1c53dc6416fff2fa4ef9e393884dab5 | refs/heads/master | 2022-05-01T23:14:02.520911 | 2022-04-10T18:32:13 | 2022-04-10T18:32:13 | 164,915,821 | 24 | 3 | MIT | 2020-08-19T18:45:53 | 2019-01-09T18:25:35 | C++ | UTF-8 | C++ | false | false | 3,833 | cpp | #include "NTCSensor.h"
#include <math.h>
#ifndef UNIT_TEST
#include <Arduino.h>
#else
extern "C" uint32_t analogRead(uint8_t);
#define INPUT_PULLUP 2
#define A0 0xa0
#endif
constexpr float ZERO_KELVIN = -273.15f;
NTCSensor::NTCSensor(int8_t p_pin, int16_t p_offset, float p_r1, float p_ka, float p_kb, float p_kc) :
... | [
"github@rvt.dds.nl"
] | github@rvt.dds.nl |
e61bb471f7ef658faa5442de5174bcd167223153 | 560cd3685da109fd6f08dd1264a002d5c2f60e8b | /3DGameEngine/CoreEngine.h | c0118cd6c2154f9cc58590058904f1148543ee43 | [] | no_license | Lars-Haakon/3DOpenGLEngine | 709f6e56f2ef5da0769f3d9bd5ee62ae815e1615 | 72b70f599af87ee1df0385885efcf719ce995902 | refs/heads/master | 2021-05-29T13:33:07.875964 | 2015-02-01T16:02:48 | 2015-02-01T16:02:48 | 30,045,734 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 304 | h | #ifndef COREENGINE_H
#define COREENGINE_H
#include "Window.h"
#include "TestGame.h"
#include <Windows.h>
class CoreEngine
{
public:
double FPS;
CoreEngine(Window *window);
~CoreEngine();
void run(HDC &hdc);
private:
void glInit();
void setProjection(int w, int h);
TestGame *game;
};
#endif | [
"lars-haakon@hotmail.com"
] | lars-haakon@hotmail.com |
a2f65fbc834a3532902c96505214ba2362c7863b | 4a3e5419e89dfbd9788a4539740b8ea7321ee7ef | /152/a.cpp | fa919f60ef1c681b36c9a9c357b2d61fae12f726 | [] | no_license | tars0x9752/atcoder | d3cbfefeb5164edab72d87f8feb16e1160c231a2 | 0e54c9a34055e47ae6bb19d4493306e974a50eee | refs/heads/master | 2022-11-19T15:36:17.711849 | 2020-07-19T12:56:31 | 2020-07-19T12:56:31 | 182,626,178 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 286 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<int, int> P;
int main() {
cin.tie(nullptr);
ios::sync_with_stdio(false);
int n, m;
cin >> n >> m;
string ans = "Yes";
if (n != m) {
ans = "No";
}
cout << ans << endl;
return 0;
} | [
"46079709+huffhuffman@users.noreply.github.com"
] | 46079709+huffhuffman@users.noreply.github.com |
d3fe5b6bab72bdd3606aeaf978e57ec48ab2584f | 91a882547e393d4c4946a6c2c99186b5f72122dd | /Source/XPSP1/NT/multimedia/directx/dmusic/dmusic/des8.h | 2638e9a462fc263ba3d784d39e77162faa8c2de1 | [] | 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 | 24,978 | h | //------------------------------------------------------------------------------
//
// des8.h -- Design of DirectX 8 interfaces for DirectMusic
//
// Copyright (c) 1998-1999... | [
"support@cryptoalgo.cf"
] | support@cryptoalgo.cf |
0353e56c6f3e5e79c85bce1a90f43ea0507bd976 | 154ad9b7b26b5c52536bbd83cdaf0a359e6125c3 | /components/sync/js/js_event_handler.h | ec5a3e908040343f066a968b804ccbc79fa6b662 | [
"BSD-3-Clause"
] | permissive | bopopescu/jstrace | 6cc239d57e3a954295b67fa6b8875aabeb64f3e2 | 2069a7b0a2e507a07cd9aacec4d9290a3178b815 | refs/heads/master | 2021-06-14T09:08:34.738245 | 2017-05-03T23:17:06 | 2017-05-03T23:17:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 771 | h | // Copyright 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 COMPONENTS_SYNC_JS_JS_EVENT_HANDLER_H_
#define COMPONENTS_SYNC_JS_JS_EVENT_HANDLER_H_
// See README.js for design comments.
#include <string>
#... | [
"zzbthechaos@gmail.com"
] | zzbthechaos@gmail.com |
89978454aa36a4889d169dbbe9b5c25ef5c3698d | b85325897c5803c7b928ef64db46bb55c2e04467 | /games/ChessGame.hpp | efebf81dc399be9250126c027104fa20ad54e804 | [
"Apache-2.0"
] | permissive | celrati/BoardFramework | 1b5e4c66f50ff5ee2bb09fd95a070a47b69be10c | 2325ffcaedf1e6b5104a3766bbc5a5281253a741 | refs/heads/master | 2020-08-22T11:37:59.604786 | 2019-10-20T15:51:53 | 2019-10-20T15:51:53 | 216,386,131 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 998 | hpp | #ifndef CHESS_GAME_HPP
#define CHESS_GAME_HPP
#include "../lib/ShortCutUtil.hpp"
#include "../Core/Game.hpp"
#include "boards/ChessBoard.hpp"
#include "../Core/Player.hpp"
#include "../pipe/InputReader.hpp"
#include "rules/ChessRule.hpp"
#include <vector>
#include <utility>
#include "../lib/Position.hpp"
class ChessG... | [
"m.charif.achraf@gmail.com"
] | m.charif.achraf@gmail.com |
1b23acc0c1c2541890b43a70340c04a0fbbfd523 | b42365c7502900abe47669cfce630e360cc9156b | /src/engine/3dsLoader.h | 6a03bbf641cb5e1284f7bd87c3d8d3726ae8a3e1 | [
"BSD-3-Clause"
] | permissive | ycaihua/arbarlith2 | 0686bacfad3414f04a4ce655ea0cad0bd754d53c | 820ffc8c3efcb636eb2c639487815fb9aabdc82e | refs/heads/master | 2020-12-07T02:34:25.117495 | 2010-08-25T03:38:21 | 2010-08-25T03:38:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,670 | h | /*
Author: Andrew Fox
E-Mail: mailto:foxostro@gmail.com
Copyright (c) 2007,2009 Game Creation Society
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... | [
"foxostro@gmail.com"
] | foxostro@gmail.com |
33c74aabf2479dc0f6f9449c043be342ada7736d | ef9e15db20a82b4d5e22caae4d7a5065a65cff27 | /CPP_99(입출력연산자오버로딩_OverLoading)/CPP_99/main.cpp | 57f5f9f38c7d11bf8702ddc78ce29c78749271e4 | [] | no_license | jinseongbe/cpp_study | 62a0b688a8f6b27f02449686a3a05dd053632f2f | 37be65a75eb33516a4b4434a05975ed61fce7194 | refs/heads/master | 2023-04-10T17:32:03.788508 | 2021-04-18T14:35:07 | 2021-04-18T14:35:07 | 354,449,067 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,596 | cpp | #include <iostream>
#include <fstream>
using namespace std;
class Point
{
private:
double m_x, m_y, m_z;
public:
Point(double x = 0.0, double y = 0.0, double z = 0.0)
: m_x(x), m_y(y), m_z(z)
{}
double getX() { return m_x; }
double getY() { return m_y; }
double getZ() { return m_... | [
"jinseongbe@google.com"
] | jinseongbe@google.com |
254d6d7f60970a5ff27be6920180377401c10caf | eaca1e6d0be15e436f029e9279e4db838091dc38 | /Graphs/dft.cpp | 2fc98b72e5f45dbd4d2e2f076bc6e93ce7357697 | [] | no_license | SaketNarayane/Data-Structure-and-Algorithm | 4f4a9ab36237d79b7696b04c197f9741e2422732 | 212242e488d5210e73e9dc39f7a71dfcd2e3846b | refs/heads/master | 2023-03-15T20:22:27.282115 | 2023-03-09T13:52:19 | 2023-03-09T13:52:19 | 101,810,953 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 532 | cpp | #include<iostream>
#include<list>
using namespace std;
int l1[] = {2,3,5};
list<int>l1 (l1,l1+sizeof(l1)/sizeof (int));
int l2[] = {1,3,4};
list<int>l2 (l2,l2+sizeof(l2)/sizeof (int));
int l3[] = {1,2,4};
list<int>l3 (l3,l3+sizeof(l3)/sizeof (int));
int l4[] = {2,3,5};
list<int>l4 (l4,l4+sizeof(l4)/sizeof (i... | [
"noreply@github.com"
] | noreply@github.com |
cf0ccf0b71eac960ab2777326233c7c1d141cd99 | 7849554c268311afab49d919d68a0deed784c221 | /src/SimulatorApp/org.alljoyn.Notification.Dismisser/pch.h | e985839c4b8302432edad8dc6d8723c6cf32334f | [
"MIT"
] | permissive | dotMorten/AllJoynDeviceSimulator | aa30a73e188c738daa7ba5cc143e7af72c65d005 | b5a7e7198983c0aad02f78d1868a083940f7c57f | refs/heads/master | 2020-12-29T00:30:27.844468 | 2016-08-16T04:13:28 | 2016-08-16T04:13:28 | 49,626,641 | 8 | 5 | null | 2016-08-08T19:45:35 | 2016-01-14T06:08:58 | C++ | UTF-8 | C++ | false | false | 1,804 | h |
//-----------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
//
// Tool: AllJoynCodeGenerator.exe
//
// This tool is locate... | [
"mnielsen@esri.com"
] | mnielsen@esri.com |
06307c3b6ac9392193252dda8158f0035b447c13 | 6f54db0c47de3c46f2d1fc87e430809768e17c81 | /p13 12用switch实现多分支选择结构/p13 12用switch实现多分支选择结构/p13 12用switch实现多分支选择结构.cpp | 21c94875f33e1e4e5f11933f72378f1c9f8004f0 | [] | no_license | loveyuan2019/Cplusplus | 6ed6115bb39aaa8e8cb20cb9e038c0d53a4b5842 | d2f5b7c06d3b434c90d420bb6d0edaff953ae5c2 | refs/heads/master | 2022-11-22T21:27:01.474687 | 2020-07-31T08:41:57 | 2020-07-31T08:41:57 | 283,985,428 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,479 | cpp | //2020-07-23 星期四 早晨 林业楼小平房
#include<iostream>
using namespace std;
int main(){
//需求1,输入0-6,输出对应的星期,六日输出周末。if语句来实现
int x = 0;
cout << "请输入数字" << endl;
cin >> x;
/*if (x == 1)
{
cout << "今天是星期一" << endl;
}
if (x == 2)
{
cout << "今天是星期二" << endl;
}
if (x == 3)
{
cout << "今天是星期三" << endl;
}
if (x ==... | [
"smywsmyw@163.com"
] | smywsmyw@163.com |
00b5eb6d4357f4a5db91da1798c3909fb5d8c994 | d3e1f9a07e09953ac689c74ad1f7f1ada982dd77 | /SDK/IStoreProduct_functions.cpp | 40640124ba833e9829fc2e0a56493218f9d472ee | [] | no_license | xnf4o/HSH_SURVIVE_SDK | 5857159731ceda7c06e158711003fbaf22021842 | 2f49c97a5f14b4eadf7dc3387b55c09bc968da66 | refs/heads/main | 2023-04-12T06:52:47.854249 | 2021-04-27T03:13:24 | 2021-04-27T03:13:24 | 361,965,544 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,296 | cpp | // Name: hsh, Version: 2
#include "../pch.h"
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Functions
//----------------------------------------------------------... | [
"xnf4o@inbox.ru"
] | xnf4o@inbox.ru |
77f15a9ff55ff9fbf9114d3d4d051922d62d3f40 | ceafe49baf1ca92303e67ac65220665138bfc4fb | /BOJ_17837_새로운게임2.cpp | 6efe23d0153038f99f017e771af566f836f2ff29 | [] | no_license | Seung-minnn/BOJ | 15d076dd698ddc0f77a90a3c903df11fcccfdaa8 | c4aca6c0995f0a6b4eea1e1c83aac5e1b1ef8ab1 | refs/heads/master | 2021-07-22T08:55:55.488240 | 2021-01-27T14:52:19 | 2021-01-27T14:52:19 | 237,153,394 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 3,515 | cpp | #include<stdio.h>
#include<vector>
#include<iostream>
#define MAX 12
#define CHESS_MAX 10
using namespace std;
struct circle
{
int x, y, dir;
};
int n, k;
int map[MAX][MAX]; //입력받을 맵을 저장
vector<int> map_state[MAX][MAX]; //좌표에 들어있는 맵의 상태 ex)map_state[0][0]={1,2,}; ->0index가 가장 아래
circle cir[CHESS_... | [
"noreply@github.com"
] | noreply@github.com |
960e7e2a1d2b61a7bb4282f33b27ff43f961b6d0 | 935fa4f586f4990b506a693dff8945d2b7f9c677 | /afl/net/http/chunkedsink.hpp | 25cee37d8e30f6b88fff2d338e8bafcb8602da5d | [] | no_license | stefanreuther/afl | 8e96be19a502463cdb72b42b6042cdd6869ecf0b | 35d2eb7c6be1a3aebfdf1ce046e6e1310dc7caf8 | refs/heads/master | 2023-07-20T11:12:27.849160 | 2023-05-07T11:03:03 | 2023-05-07T11:03:03 | 69,809,604 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,313 | hpp | /**
* \file afl/net/http/chunkedsink.hpp
* \brief Class afl::net::http::ChunkedSink
*/
#ifndef AFL_AFL_NET_HTTP_CHUNKEDSINK_HPP
#define AFL_AFL_NET_HTTP_CHUNKEDSINK_HPP
#include <memory>
#include "afl/io/datasink.hpp"
#include "afl/io/stream.hpp"
#include "afl/base/uncopyable.hpp"
namespace afl { namespace ne... | [
"streu@gmx.de"
] | streu@gmx.de |
ce8458093056b79223184a041a461b9011c71c30 | eb70adcfcc30ac8301341ccf72ec146de41a1665 | /src/commonjobadder.h | 567c1eb71cbc669ca8278cabef06ad5675586228 | [] | no_license | Beliaf/leechcraft | ff2166070913f2d7ee480f40542ccdf148e49cad | 0823a7d8f85d11bed0b81e61ddb3bf329f9d5d39 | refs/heads/master | 2021-01-18T11:00:38.531356 | 2009-06-14T22:44:13 | 2009-06-14T22:44:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 481 | h | #ifndef COMMONJOBADDER_H
#define COMMONJOBADDER_H
#include <QDialog>
#include "ui_commonjobadder.h"
namespace LeechCraft
{
class CommonJobAdder : public QDialog,
private Ui::CommonJobAdder
{
Q_OBJECT
public:
CommonJobAdder (QWidget *parent = 0);
virtual ~CommonJobAdder ();
QString GetString () cons... | [
"0xd34df00d@gmail.com"
] | 0xd34df00d@gmail.com |
256669f37f053acf3cef320611f5cf6d94c17ec4 | 35e12426b8cd82a766a8ef4d6f14b7b6e5943dd4 | /simulation/humanvector.cpp | 2192b357b9e51688576158e94ad000a98631151c | [] | no_license | demarsis/Panic | 2bcd939907d885b913b6b4be7f6b386037749f94 | 3842655eb5bd51c894e138015362223ab0e60a9d | refs/heads/master | 2021-09-04T03:25:36.060507 | 2018-01-15T08:54:58 | 2018-01-15T08:54:58 | 115,006,990 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,017 | cpp | #include "humanvector.h"
Directions HumanVector::dirs = Directions(true);
Vector HumanVector::getIntentionVector(HumanPtr &human, FloorPtr &floor)
{
if (!human) return Vector();
if (!floor) return Vector();
std::vector<CellPtr> humanCells = getHumanCells(human, floor);
// get penalties for all direc... | [
"demarsis@mail.ru"
] | demarsis@mail.ru |
23c48612626db0bc806fdd0f79bf61a073d6fd9e | 47610aa612655d17c2d2e88116bff8ce8ebc0a26 | /src/analysis/PandaXEnergyDepositionHit.cc | 36bb662dbb455b04a6041b2063fbd5c395fcfe77 | [] | no_license | Catofes/BambooMC | 6aa154f6ad0a4a305300eef2ff3d26735c4404a4 | 42ab135729ed4ec7d0c90050043a1bce6a9deacb | refs/heads/main | 2020-05-21T19:10:36.629301 | 2016-09-11T01:20:41 | 2016-09-11T01:20:41 | 62,614,871 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,738 | cc | #include "analysis/PandaXEnergyDepositionHit.hh"
G4Allocator<PandaXEnergyDepositionHit> * pandaXEnergyDepositionHitAllocator = new G4Allocator<PandaXEnergyDepositionHit>;
PandaXEnergyDepositionHit::PandaXEnergyDepositionHit()
: _trackId(-1), _parentId(-1), _energy(0), _x(0), _y(0), _z(0),
_type("unknown"), _cre... | [
"xun.revive@gmail.com"
] | xun.revive@gmail.com |
3e65d1676b3dae5173ac46584b67e23e1f19863f | 911ea9deb0418b350531ebed386567c3c784b37d | /HeroscapeEditor/Maths/COLOR.h | 8cabded43734a56783ca328f285d10277c3d4bcd | [] | no_license | dkniffin/virtualscape | 7088ca22a2815f7c1ba22d43671dd192eea77d32 | 7c80625e1b152fb1e7836c83d4165cf79eca1c7d | refs/heads/master | 2020-12-31T03:26:12.985542 | 2014-03-11T16:51:11 | 2014-03-11T16:51:11 | 17,637,322 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,901 | h | //////////////////////////////////////////////////////////////////////////////////////////
// COLOR.h
// Class declaration for an RGBA color
// You may use this code however you wish, but if you do, please credit me and
// provide a link to my website in a readme file or similar
// Downloaded from: www.paulsprojects.ne... | [
"oddityoverseer13@gmail.com"
] | oddityoverseer13@gmail.com |
68c9a892eec3970819f8c2bff34f5a57feb1d679 | 59c94d223c8e1eb1720d608b9fc040af22f09e3a | /zircon/system/ulib/minfs/test/inspector-test.cpp | 660dc0df0919dddf370cec6787a9a94814df75f3 | [
"BSD-3-Clause",
"MIT"
] | permissive | bootingman/fuchsia2 | 67f527712e505c4dca000a9d54d3be1a4def3afa | 04012f0aa1edd1d4108a2ac647a65e59730fc4c2 | refs/heads/master | 2022-12-25T20:28:37.134803 | 2019-05-14T08:26:08 | 2019-05-14T08:26:08 | 186,606,695 | 1 | 1 | BSD-3-Clause | 2022-12-16T21:17:16 | 2019-05-14T11:17:16 | C++ | UTF-8 | C++ | false | false | 6,899 | cpp | // Copyright 2019 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Tests minfs inspector behavior.
#include <minfs/inspector.h>
#include "minfs-private.h"
#include "inspector-private.h"
#include <lib/disk-inspector/dis... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
abb31211fca05bdb4d9b5517dff37eba5ef44732 | 3287ddd28c9c8c3e066ce3176018a1e354923cc9 | /RezillaSource/Rezilla_Src/Architecture/CRezillaPlugin.h | c8d06c0a3042a0390e17c40fb19209671677bc50 | [] | no_license | chrisballinger/rezilla | 9e6bf9f0343712fae0a6fd5931259a48e7e5ec2b | 72c4cfd1a2d45565d2b429bd6afff8bf426f5c65 | refs/heads/master | 2021-05-11T09:31:21.967833 | 2018-01-19T04:24:33 | 2018-01-19T04:24:33 | 118,075,864 | 8 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,024 | h | // ===========================================================================
// CRezillaPlugin.h
//
// Created: 2005-09-26 09:48:26
// Last modification: 2006-11-25 07:31:00
// Author: Bernard Desgraupes
// e-mail: <bdesgraupes@sourceforge.users.fr>
// www: <http://rezilla.sourcefor... | [
"bdesgraupes@a0aff4df-974a-46cd-ba52-22e6818bbca1"
] | bdesgraupes@a0aff4df-974a-46cd-ba52-22e6818bbca1 |
0a788e44cf69be301cf8c29dbf56274ba4aa2a56 | 9c92864c827e7e25bb2ccb773e2602d3bef7630e | /URI/URI 1136 - Bingo!.cpp | 81578843b44c38c6f3c30db668a472f4737c40e5 | [
"Unlicense"
] | permissive | pravgcet/competitive_programming | 25a0456c8a8457ef30ec97bc4fb75cffb94dccc1 | 17f27248ee843e424fcad9de3872b768113a7713 | refs/heads/master | 2021-01-21T03:49:28.384786 | 2014-06-23T16:08:40 | 2014-06-23T16:08:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 733 | cpp | #include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
bool canCallOutAll(const vector<int>& balls, int n) {
vector<bool> checked(n + 1, false);
checked[0] = true;
for(int i = 0; i < balls.size(); ++i)
for(int j = 0; j < i; ++j)
checked[balls[i] - balls[j]] = true;
... | [
"dancas2@gmail.com"
] | dancas2@gmail.com |
730a9289e70893efe3ea3959d3f8c5c6eb3ed405 | 25fa9beca657e1c25ba6096a0f2e017219dd3773 | /include/VBE-Physics2D/Box2D/Dynamics/Joints/b2PulleyJoint.h | 4f986192acfc310d4f3b7a504b5416e4e6080bb0 | [] | no_license | Towerthousand/VBE-Physics2D | 527ec1e4b0f281f3b015cfa5f24031530946cac5 | 129f2db38fc8b0c3b9f6d6f9cf307d9691cb6aaa | refs/heads/master | 2021-01-01T20:01:06.442867 | 2015-01-19T23:38:17 | 2015-01-19T23:38:17 | 27,102,607 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,455 | h | /*
* Copyright (c) 2006-2011 Erin Catto http://www.box2d.org
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
* Permission is granted to anyone to use this software for any purpose,
* i... | [
"dani.torramilans@gmail.com"
] | dani.torramilans@gmail.com |
c4f00cc1d7d02b18034c8a9bed299b50a88b8d06 | a19024eb42bbc6f0cc3f9b954a7c632c73b415ff | /src/main.cpp | 1281f6235366a7125d9c21226012302b06123934 | [] | no_license | BillyZhaohengLi/2dShooterGame | a977d5ba431ccff1cb24a650d103fd2040280b57 | d77bb3bda14f4f2f0615d21987668f1953c5ea06 | refs/heads/master | 2020-03-28T13:40:28.987845 | 2018-05-03T04:59:39 | 2018-05-03T04:59:39 | 148,416,720 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,038 | cpp | #include "ofMain.h"
#include "ofApp.h"
#include "const.h"
//========================================================================
int main( ){
//sets the window to borderless windowed.
//this was done because of weird coordinate issues with openFrameworks;
//in a bordered window, the 0 y coordinate for i... | [
"noreply@github.com"
] | noreply@github.com |
ca2c7f0d9d083451b72bdfb294000b8bd3f6b3aa | 21a221c20313339ac7380f8d92f8006e5435ef1d | /src/arcscripts/src/InstanceScripts/Instance_MagistersTerrace.cpp | 45e252d1dc15d0ebf45bf211e3f4c11f35f5b45a | [] | no_license | AwkwardDev/Descent-core-scripts-3.3.5 | a947a98d0fdedae36a488c542642fcf61472c3d7 | d773b1a41ed3f9f970d81962235e858d0848103f | refs/heads/master | 2021-01-18T10:16:03.750112 | 2014-08-12T16:28:15 | 2014-08-12T16:28:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,671 | cpp | /*
* ArcScripts for ArcEmu MMORPG Server
* Copyright (C) 2009 ArcEmu Team <http://www.arcemu.org/>
* Copyright (C) 2008-2009 Sun++ Team <http://www.sunscripting.com/>
* Copyright (C) 2005-2007 Ascent Team <http://www.ascentemu.com/>
* Copyright (C) 2007-2008 Moon++ Team <http://www.moonplusplus.info/>
*
* This p... | [
"jozsab1@gmail.com"
] | jozsab1@gmail.com |
a176f963724d34018e27d1db1206f2abd6fdcad0 | 9f7a5e5c6dfce8daa9c6c748c61851a5e8b1464b | /034_QWidget/testWidget01/build/ui_newfile.h | 0d2f41b23d097a20e628a247db58837ee0bde1ec | [] | no_license | jash-git/Jash_QT | fdaf4eb2d6575d19ed17f35c57af25940f80554d | 5e44333512e048649e6b7038428487348fda52aa | refs/heads/master | 2023-05-28T11:24:23.585919 | 2021-06-06T12:43:10 | 2021-06-06T12:43:10 | 372,838,837 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,224 | h | /********************************************************************************
** Form generated from reading ui file 'newfile.ui'
**
** Created: Sun Aug 22 15:52:29 2010
** by: Qt User Interface Compiler version 4.5.0
**
** WARNING! All changes made in this file will be lost when recompiling ui file!
*********... | [
"jash.liao@gmail.com"
] | jash.liao@gmail.com |
27d5bdf9d25145be58502b632bff8b311b85be28 | cfbe32d3c679487610e0a8e924c33ab6aa64f3d1 | /codeforces/381B.cpp | b1399cf812c2a813d2ac3e0f53e1a88630cc0cf0 | [] | no_license | hophacker/algorithm_coding | 6062fafd00e276baeb5ef92198c6c1dab66b6184 | bfc9a124ed21eabf241590b90105427f0a2b6573 | refs/heads/master | 2020-06-04T00:41:25.378594 | 2014-07-07T00:50:35 | 2014-07-07T00:50:35 | 18,478,412 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,718 | cpp | #include <cmath>
#include <vector>
#include <map>
#include <cstdlib>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <algorithm>
#include <cstring>
#include <cassert>
using namespace std;
#define bit(x,i) (x&(1<<i))
#define max(a,b) (a<b?b:a)
#define abs(x) (x<0?-x:x)
#define IN(i,l,r) (l<i&&i<r... | [
"jokerfeng2010@gmail.com"
] | jokerfeng2010@gmail.com |
358e987560734e48c1fde7eb5421848f162ba774 | 0babb8cbe975befd62e6b4393fdc4a68307ca457 | /ConsoleApplication1/Computer graphics.cpp | bc3e936152afbdb897362880620ac2a01dfc55d2 | [] | no_license | kimujinu/OpenGL | 477ca3d2230fa81d173457754038f115a1b183ec | aa2eac01caac424cdb07979c950c7ecc443c0aee | refs/heads/master | 2020-11-28T10:33:46.828446 | 2019-12-23T16:31:27 | 2019-12-23T16:31:27 | 229,783,124 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,739 | cpp |
#include <stdlib.h>
#include <math.h>
#include <stdio.h>
#include <GL/glut.h>
void idleFunc();
void displayFunc();
void reshapeFunc(GLsizei width, GLsizei height);
void keyboardFunc(unsigned char, int, int);
void mouseFunc(int button, int state, int x, int y);
void initialize();
void render();
void mirror(GLfloat va... | [
"dnehd6739@naver.com"
] | dnehd6739@naver.com |
5d7d756f6e4abb226a1ad4c010a3c66e320623d6 | cdea9b673d668c6eda9d90f9c606eeb8cb967d4b | /libs/vm/tests/cpu_tests.cpp | 1c223ca9a98297010e963a7ebd1699d05965c78d | [
"MIT"
] | permissive | tiaanl/emulator | 9965aa39248bfe81bd682b8d3554a23d08e97b49 | a962f5136972a272294795579a2966f1af221f61 | refs/heads/main | 2023-01-22T19:33:55.749535 | 2020-12-08T16:07:36 | 2020-12-08T16:07:36 | 313,039,898 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 199 | cpp | #include <vm/emulator/cpu.h>
#include <vm/emulator/memory.h>
#include <catch2/catch.hpp>
namespace vm {
TEST_CASE("registers") {
Memory memory;
Bus bus;
CPU cpu(&bus);
}
} // namespace vm
| [
"tiaanl@gmail.com"
] | tiaanl@gmail.com |
2bde1c403a9a8eb994890ac9c3a53cdb03a6d46f | 3bbf8a6c3d629c6a612d6d33ca220eecdb935e12 | /aws-cpp-sdk-sms-voice/include/aws/sms-voice/model/EventDestination.h | 2e037ba4488a369553bb54ba83ae9a5e20c81ac8 | [
"MIT",
"Apache-2.0",
"JSON"
] | permissive | julio-gorge/aws-sdk-cpp | a8c067adf072ff43c686a15092e54ad2393cc1d4 | 06b0d54110172b3cf9b3f5602060304e36afd225 | refs/heads/master | 2021-10-22T15:00:07.328784 | 2019-03-11T12:08:52 | 2019-03-11T12:08:52 | 161,850,005 | 0 | 0 | Apache-2.0 | 2018-12-14T23:11:43 | 2018-12-14T23:11:43 | null | UTF-8 | C++ | false | false | 7,654 | h | /*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | [
"aws-sdk-cpp-automation@github.com"
] | aws-sdk-cpp-automation@github.com |
d19ea66f92953b50e3d7c58e43af0d2b5d2ce530 | eb1517897d7e9e372538b0982223b7ecaaff46b0 | /third_party/blink/renderer/modules/hid/hid.h | 318b581ed45bb2d888f0efbc66649f8145516549 | [
"BSD-3-Clause",
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.1-only",
"GPL-2.0-only",
"LGPL-2.0-only",
"BSD-2-Clause",
"LicenseRef-scancode-other-copyleft"
] | permissive | jiachengii/chromium | c93e9cfa8fb79d6a0b5e66848dc204e87236252c | ead0d3601849269629ff31de4daed20fce453ba7 | refs/heads/master | 2022-11-16T02:35:53.671352 | 2020-06-13T06:43:44 | 2020-06-13T06:43:44 | 271,964,385 | 0 | 0 | BSD-3-Clause | 2020-06-13T07:47:21 | 2020-06-13T07:47:21 | null | UTF-8 | C++ | false | false | 3,447 | h | // Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef THIRD_PARTY_BLINK_RENDERER_MODULES_HID_HID_H_
#define THIRD_PARTY_BLINK_RENDERER_MODULES_HID_HID_H_
#include "services/device/public/mojom/hid.mo... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
f865172e89f71fddb2c2ea67cb5cef8b0cf99992 | a0b0eb383ecfeaeed3d2b0271657a0c32472bf8e | /lydsy/4802.cpp | dc803b3b47807cf4026fdda108a0a387bbdc5450 | [
"Apache-2.0"
] | permissive | tangjz/acm-icpc | 45764d717611d545976309f10bebf79c81182b57 | f1f3f15f7ed12c0ece39ad0dd044bfe35df9136d | refs/heads/master | 2023-04-07T10:23:07.075717 | 2022-12-24T15:30:19 | 2022-12-26T06:22:53 | 13,367,317 | 53 | 20 | Apache-2.0 | 2022-12-26T06:22:54 | 2013-10-06T18:57:09 | C++ | UTF-8 | C++ | false | false | 1,716 | cpp | #include <ctime>
#include <cstdio>
#include <cstdlib>
#include <algorithm>
using namespace std;
typedef long long LL;
typedef long double DB;
const int maxs = 16, maxm = 1 << 16, maxt = 10;
int cnt, sum;
LL n, pp[maxs], sei[maxs], ans[maxm];
LL mod_add(LL x, LL y, LL p)
{
return (x += y) < p ? x : x - p;
}
LL mod_mul(... | [
"t251346744@gmail.com"
] | t251346744@gmail.com |
bcb40063224e0810468c16df0bd35667a4053bdd | c81756dc2f25849f4e6db60bd93a1e20821cb221 | /arduino/sensor2.ino | 8f7fa5c7601d71b7f49aa0ab4d320fa07b18a8c2 | [] | no_license | ivanma9/transfer-HaCK | 3b7d7255296a26209af365cb6291dcf6316c0c66 | da73b02ceabbfeaa2b5e0beecd0fba7836e0b603 | refs/heads/master | 2022-12-22T21:42:33.047542 | 2020-09-21T07:02:28 | 2020-09-21T07:02:28 | 296,490,184 | 0 | 0 | null | 2020-09-19T19:41:36 | 2020-09-18T02:14:07 | C++ | UTF-8 | C++ | false | false | 3,154 | ino | float readSensors() {
long soundTime;
float objDist_FL, objDist_FR, objDist_L, objDist_R;
// FRONT LEFT SENSOR
digitalWrite(trigPinFrontLeft, LOW);
delayMicroseconds(2);
// Trigger the sensor
digitalWrite(trigPinFrontLeft, HIGH);
delayMicroseconds(10);
digitalWrite(trigPinFrontLeft,... | [
"noreply@github.com"
] | noreply@github.com |
b753f120b9d6bffdfbfb8c6ba849fa692ca77a85 | 04da161d07c17f192243897450b143f9de765b3c | /src/providers/bttv/BttvLiveUpdates.cpp | f9128b5c792fd1ae0af0b6354b6391a6aedfa7b0 | [
"MIT"
] | permissive | pajlada/chatterino2 | d3db204fb7b38439112258a3fb1dfc583d8ce4cf | e4348a4dfe6a56247b170b29ec2ba71d04f3bb8c | refs/heads/master | 2023-06-01T01:19:01.084755 | 2023-05-07T10:06:43 | 2023-05-07T10:06:43 | 98,934,251 | 8 | 0 | MIT | 2023-04-29T11:34:46 | 2017-07-31T22:11:19 | C++ | UTF-8 | C++ | false | false | 2,509 | cpp | #include "providers/bttv/BttvLiveUpdates.hpp"
#include <QJsonDocument>
#include <utility>
namespace chatterino {
BttvLiveUpdates::BttvLiveUpdates(QString host)
: BasicPubSubManager(std::move(host))
{
}
void BttvLiveUpdates::joinChannel(const QString &channelID,
const QString &... | [
"noreply@github.com"
] | noreply@github.com |
5da31f9d3c8770bf59ab4676c8fc0271a7c24e4e | fb7efe44f4d9f30d623f880d0eb620f3a81f0fbd | /third_party/WebKit/Source/core/dom/NodeIteratorBase.h | e21d76c5b034e50906fa44ac4dbd62ee8eb05178 | [
"BSD-3-Clause",
"BSD-2-Clause",
"LGPL-2.1-only",
"LGPL-2.0-only",
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer",
"GPL-2.0-only",
"LicenseRef-scancode-other-copyleft"
] | 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 | 1,896 | h | /*
* Copyright (C) 1999 Lars Knoll (knoll@kde.org)
* Copyright (C) 2000 Frederik Holljen (frederik.holljen@hig.no)
* Copyright (C) 2001 Peter Kelly (pmk@post.com)
* Copyright (C) 2006 Samuel Weinig (sam.weinig@gmail.com)
* Copyright (C) 2004, 2008 Apple Inc. All rights reserved.
*
* This library is free software... | [
"jacob-chen@iotwrt.com"
] | jacob-chen@iotwrt.com |
59c3436918d76cfe0142242d180624c2a51a5124 | 9f4b1f53e4541ffe546bc2d4607683a5f2cfa2db | /HostKernel/scancontrol/scancontrol.cpp | 6f17c85f370c3d714e3e7654a1d5b2def40ee861 | [] | no_license | CtScanMasters/HostProject | a2a63747719f3e6bbcd8600174e625c735cf9e05 | 4318def9ef836acccb70f2b9e94898a6c0383807 | refs/heads/master | 2020-03-10T20:22:43.881695 | 2018-06-22T18:48:51 | 2018-06-22T18:48:51 | 129,569,088 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,973 | cpp | #include "scancontrol.h"
#include <QDebug>
#include <QThread>
#include "hardwarecontrol/bcm2835.h"
ScanControl::ScanControl(QObject *parent)
{
setName("ScanControl: ");
logMessage(MSG_INFO, "build");
enableLogging(false);
m_numberOfArrays = 8;
m_numberOfSources = 8;
m_sourceMuxAddress = 127;
... | [
"dvdv@quicknet.nl"
] | dvdv@quicknet.nl |
cb6940110e61d69dcad453507231659c810ae2bb | c901b8389d196012f3cd1a3230ead6c2fc46a89b | /code/Karplus-Strong Synth/Karplus-Strong Synth.ino | 2b8192601855956ba03847efa65c116e3c3e32d6 | [] | no_license | Marquets/SMC-Master-Thesis | 99ec41ec69bf3a40a168a8f334f65e10f0989ac3 | 675ace2cd14dfeb4151baf9b901f69a042bf03a1 | refs/heads/master | 2023-01-31T10:35:27.432119 | 2020-12-17T13:55:57 | 2020-12-17T13:55:57 | 296,834,085 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,403 | ino | #include <Audio.h>
#include <Wire.h>
#include <SD.h>
#include <SPI.h>
#include <SerialFlash.h>
#include "modularInterpInstrMIDI.h"
#include <ResponsiveAnalogRead.h>
modularInterpInstrMIDI karplus;
AudioOutputI2S out;
AudioControlSGTL5000 audioShield;
AudioAmplifier amp1;
AudioConnection patchCord0(karplus,0,amp1,0);
A... | [
"marcog07@ucm.es"
] | marcog07@ucm.es |
12836861c1965856f16fc0300b0f5e47f05d5275 | f950882940764ace71e51a1512c16a5ac3bc47bc | /src/GisEngine/GeoDatabase/ShapefileRowCursor.h | bfd2cedc2d665310b0dd0c0049cbd3ef50744ee6 | [] | no_license | ViacheslavN/GIS | 3291a5685b171dc98f6e82595dccc9f235e67bdf | e81b964b866954de9db6ee6977bbdf6635e79200 | refs/heads/master | 2021-01-23T19:45:24.548502 | 2018-03-12T09:55:02 | 2018-03-12T09:55:02 | 22,220,159 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,253 | h | #ifndef GIS_ENGINE_GEO_DATABASE_SHAPEFILEROWCURSOR_H
#define GIS_ENGINE_GEO_DATABASE_SHAPEFILEROWCURSOR_H
#include "GeoDatabase.h"
#include "ShapefileUtils.h"
#include "CursorBase.h"
#include "../../EmbDB/DatasetLite/SpatialDataset.h"
namespace GisEngine
{
namespace GeoDatabase
{
class CShapefileFeatu... | [
"nk.viacheslav@gmail.com"
] | nk.viacheslav@gmail.com |
51e259fb0d051a8aed7733bf50f5fdfc7cdb6c70 | e87411251cd274762cfd542eb4a5dd7438d17d32 | /026-050/028_实现strStr()_L/main.cpp | 097023ffd64ca579c5436260bb5c131836f4f3e6 | [] | no_license | 7182514362/leetcode | 2356798bcb0693badd764106fcc341b56f914abc | 45ab9857ee4f4cd3f0e210034a6ab9a88f525837 | refs/heads/main | 2023-03-24T00:51:13.136609 | 2021-03-23T10:35:55 | 2021-03-23T10:35:55 | 350,672,432 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 190 | cpp | #include <iostream>
#include <vector>
using namespace std;
class Solution {
public:
int strStr(string haystack, string needle) {
}
};
int main(){
Solution sol;
return 0;
} | [
"2454024733@qq.com"
] | 2454024733@qq.com |
efe39af88a44b626de390e10f16920f875458c1c | bfa6d5324e2c6551064b36f7ffb9ec5c12877938 | /IEEEXTREME19/strictly.cpp | 18be51521d985872fb67566ed9674bb2e524aaa1 | [] | no_license | Bruno-Mascarenhas/competitive-programming | 6c1ff45418e589601bb347c5a86ff06d59fe1b41 | 93d35ed8abc825673cff57a3540d96f30e6c527b | refs/heads/master | 2021-06-15T05:43:36.961850 | 2021-04-18T05:20:37 | 2021-04-18T05:20:37 | 180,717,967 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,090 | cpp | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define pi 3.1415926535897932384626
#define pb push_back
#define ff first
#define ss second
#define debug(x) cout << #x " = " << (x) << endl
#define DESYNC ios_base::sync_with_stdio(false); cin.tie(0); cout.tie(0)
#define endl '\n'
typedef vector<int> ... | [
"brunomasck@gmail.com"
] | brunomasck@gmail.com |
754561cd3ab15eb8046ade4292e817a3cb718087 | ec808cdba9c3f953e9bd9605794987e9de75d2a2 | /Homework 3/_SUBMISSION/medium.cpp | b35f594ef1df9e276e836b3e16e306ac79ab19ee | [] | no_license | JohnnyXiangyu/CS_32 | 4d6ff5873e1a9b2fffd350e59f48a9210221dd98 | fc27f7b2081bad5153828ba02ea2527c2aa7495d | refs/heads/master | 2020-05-15T13:55:17.556843 | 2019-06-08T23:54:39 | 2019-06-08T23:54:39 | 182,316,361 | 0 | 0 | null | 2019-06-02T20:33:09 | 2019-04-19T19:37:45 | C++ | UTF-8 | C++ | false | false | 1,684 | cpp | class Medium {
//base class
public:
Medium(string id)
: m_id(id) {}
//important: virtual destructor!
virtual ~Medium() {};
virtual string connect() const = 0; //medium alone have nothing to specify connect
virtual string transmit(string msg) const {
//let's meke this default a text output
str... | [
"noreply@github.com"
] | noreply@github.com |
4130f0284587b7db58d4db4cf0bf8b54d2eef0e0 | 11b90205f3f37db632d47f3623932fd0207bf512 | /Parser.cpp | 0ffbbdf109a0b24bad77655cd52a743d68a209a2 | [] | no_license | yaelwb/CPUParser | d3c91438c1a300f61efb219ad3704e094acc3667 | f68723f5ce87c2106f1b550b1d81a0a7c75a68a5 | refs/heads/master | 2021-01-25T07:34:20.745679 | 2013-01-06T07:26:49 | 2013-01-06T07:26:49 | 7,314,408 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,729 | cpp | #include "stdafx.h"
#include "Parser.h"
Parser::Parser(): m_cmd_count(0)
{
m_cmdMap["mov"] = CMD_2_REGS;
m_cmdMap["xor"] = CMD_3_REGS;
m_cmdMap["and"] = CMD_3_REGS;
m_cmdMap["or"] = CMD_3_REGS;
m_cmdMap["nxor"] = CMD_3_REGS;
m_cmdMap["nor"] = CMD_3_REGS;
m_cmdMap["nand"] = CMD_3_REGS;
m_cmdMap... | [
"yaelwb@gmail.com"
] | yaelwb@gmail.com |
855b4b06d0e2b424188e6f2721b9d217118804b6 | 8b734b0ddef937c222b8d2a50fb511faac52af7b | /SNES_Jukebox/progress_bar.h | c949a9a0571329bad875cbeea68b286fa3710867 | [
"MIT"
] | permissive | rrogovski/snes-jukebox | 82fcd747854cb4d08ec2fe03fc7a88f1f21d210a | 268e7d4b595a9318cd9fbbdd0ce2396a7ceacb5f | refs/heads/master | 2020-03-25T06:10:30.462199 | 2015-10-21T05:15:44 | 2015-10-21T05:35:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,335 | h | #ifndef PROGRESS_BAR_H
#define PROGRESS_BAR_H
#include "jukebox_io.h"
class ProgressBar {
public:
#define PROGRESS_BAR_HEIGHT 8
ProgressBar(Adafruit_ST7735 &lcd_, byte x_, byte y_, byte width_, uint32_t maxProgress_) : lcd(lcd_), x(x_), y(y_), width(width_), maxProgress(maxProgress_) {
currentProgress = 0... | [
"pika242@gmail.com"
] | pika242@gmail.com |
31d630bf0802cbe8d6777972ba2de08a7d16b6a7 | 63c637fc2773ef46cd22e08e3334121512c31074 | /3wkSeries/Day1/ELBOW_CASES/elbow_tri/67/U | 0c49a226b21a55317fc2c9b84c5a85ae27a1720c | [] | no_license | asvogel/OpenFOAMEducation | 438f811ad47631a414f6016e643dd12792613828 | a1cf886fb6f9759eada7ecc34e62f97037ffd0e5 | refs/heads/main | 2023-09-03T17:26:24.525385 | 2021-11-05T18:08:49 | 2021-11-05T18:08:49 | 425,034,654 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 27,023 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 9
\\/ M anipulation |
\*-------... | [
"avogel1994@gmail.com"
] | avogel1994@gmail.com | |
c49ade43b9fad7aa56213033fcf5e61aeb435451 | 9c7c58220a546d583e22f8737a59e7cc8bb206e6 | /Project/MyProject/MyProject/Source/MyProject/Private/BaseFrame/Libs/Resource/ResLoad/LoadItem/DataAssetLoadItem.cpp | 2cb73a83ec01edd2b416f37c0d049d80e1050ad9 | [] | no_license | SiCoYu/UE | 7176f9ece890e226f21cf972e5da4c3c4c4bfe41 | 31722c056d40ad362e5c4a0cba53b05f51a19324 | refs/heads/master | 2021-03-08T05:00:32.137142 | 2019-07-03T12:20:25 | 2019-07-03T12:20:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 886 | cpp | #include "MyProject.h"
#include "DataAssetLoadItem.h"
#include "MByteBuffer.h"
//UDataAssetLoadItem::UDataAssetLoadItem(const FObjectInitializer& ObjectInitializer)
// : Super(ObjectInitializer)
//{
//
//}
void UDataAssetLoadItem::loadFile(const FString& Filename)
{
// if the file has some data in it, read it in
if... | [
"kuangben2001@163.com"
] | kuangben2001@163.com |
d92ab4ad8700af63a64b1d5a0b3552eb2f49dd0d | c98ec4a9084bad516a092447b2d30af75b0d813b | /mserver/lib/served/mux/variable_matcher.hpp | 2e0eb821a52acf500feadf56c6d6e5f92349af9d | [] | no_license | vmartinezandres/RestApiCPP-Datos2 | 5b98d65fd49e11dfe77bfae8744c40ae4a071c04 | 1c9ad89fd65f145cae4f4368eb07473d9432a786 | refs/heads/main | 2023-04-24T10:48:05.811312 | 2021-05-12T14:52:14 | 2021-05-12T14:52:14 | 359,302,418 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,516 | hpp | /*
* Copyright (C) 2014 MediaSift Ltd.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publ... | [
"noreply@github.com"
] | noreply@github.com |
c08829a98acf67616a51bd8f99a995f0fe1d2454 | 7869cd658cc2bf4bcaa29d5295f33740c2384bae | /src/opengl/shader.hpp | 882d1a2590076b19a920ced8a4c4bb016d2d759b | [
"MIT"
] | permissive | geaz/emu-chip-8 | 19a5f8d3999c6f4b3648dfa1010d1593b4eadb0f | 82a768e363378d666a7e06245e598f77fa1fd555 | refs/heads/master | 2021-06-19T03:13:15.201775 | 2021-05-17T13:22:55 | 2021-05-17T13:22:55 | 207,106,803 | 35 | 5 | MIT | 2021-05-17T13:22:56 | 2019-09-08T12:06:51 | C++ | UTF-8 | C++ | false | false | 4,587 | hpp | // Shader Loader took from https://learnopengl.com
#pragma once
#ifndef SHADER_H
#define SHADER_H
#include <glad/glad.h>
#include <gtc/matrix_transform.hpp>
#include <gtc/type_ptr.hpp>
#include <string>
#include <fstream>
#include <sstream>
#include <iostream>
class Shader
{
public:
Shader() { }
... | [
"geaz@users.noreply.github.com"
] | geaz@users.noreply.github.com |
c339e22d9ec14283043065fc0d6a065ad0a8e130 | 13e692134aca70d66f03325b08384210a5e6fef1 | /process_vcf_seq_utils.h | dcb58dd6a585c7b02f69d62748bd8b7b3689c923 | [] | no_license | millanek/evo | 2fdbb1d026ab4afe7c9936706ac1d39c878a4ef5 | 88e673061f2a67ebd8f51fd4151b18d04e0182c4 | refs/heads/master | 2022-08-05T20:14:30.629362 | 2022-08-03T12:35:13 | 2022-08-03T12:35:13 | 17,292,881 | 7 | 6 | null | 2019-10-01T12:21:19 | 2014-02-28T16:52:16 | C++ | UTF-8 | C++ | false | false | 5,885 | h | //
// process_vcf_seq_utils.h
// process_vcf
//
// Created by Milan Malinsky on 17/10/2013.
// Copyright (c) 2013 Milan Malinsky. All rights reserved.
//
#ifndef process_vcf_process_vcf_seq_utils_h
#define process_vcf_process_vcf_seq_utils_h
#include <iostream>
#include <vector>
#include <map>
#include <sstream>
#... | [
"millanek@gmail.com"
] | millanek@gmail.com |
395a9d8376bf845a34f07440cc310f9290ba2f05 | 7e8c47307531cace46a11861b51f98efa0cfb5cb | /Library/Model.cpp | 28b29c3196e915653c9055466cacd29176d600fd | [] | no_license | AsterNighT/2020CG | 15bca0599cc9ce45cb6d8d83f341c18779bb742c | 4fea0cf6a65f34d5196b8bc554d05e9dfa36d627 | refs/heads/master | 2022-11-05T21:25:59.972138 | 2020-06-22T08:36:18 | 2020-06-22T08:36:18 | 264,388,197 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,155 | cpp | #include "Model.h"
#include "Scene.h"
#include "Mesh.h"
#include "ModelMaterial.h"
#include <assimp/Importer.hpp>
#include <assimp/scene.h>
#include <assimp/postprocess.h>
Model::Model(Scene& bScene, const std::string& filename, bool flipUVs, const std::string& tangentFileName) : mScene(bScene), mMeshes(), mMaterials(... | [
"klxjt99@outlook.com"
] | klxjt99@outlook.com |
ee05712c8c08d45da17026e70ee45e29bca968f9 | 14f0ed3b523c71ff783b2b077939cb8affd949db | /C/Main.cpp | ee53dcaab5938ef19ed7cc26dc440f9ce64a03d3 | [
"MIT"
] | permissive | AnasBrital98/Genetic-Algorithm-in-all-languages | 7b6528cdb6759a6446c32a0e6956ed591454c1cb | c04efa86d2ac1c31f6070488e94f2b8ce807151f | refs/heads/master | 2023-07-15T10:18:37.686818 | 2021-08-19T14:56:16 | 2021-08-19T14:56:16 | 391,142,662 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 192 | cpp | #include<stdio.h>
#include<stdlib.h>
#include<time.h>
#include "GeneticAlgorithm.cpp"
int main(int argc , char** argv)
{
srand(time(NULL));
GeneticAlgorithm(200,50,0.1,15);
return 0;
} | [
"anass.brital98@gmail.com"
] | anass.brital98@gmail.com |
111ff6d541f11e05c315b358ba47a6a06000e592 | 958488bc7f3c2044206e0358e56d7690b6ae696c | /c++/test.cpp | 06bf3a1aa590c61723afcaeab5df8520da90e16a | [] | no_license | possientis/Prog | a08eec1c1b121c2fd6c70a8ae89e2fbef952adb4 | d4b3debc37610a88e0dac3ac5914903604fd1d1f | refs/heads/master | 2023-08-17T09:15:17.723600 | 2023-08-11T12:32:59 | 2023-08-11T12:32:59 | 40,361,602 | 3 | 0 | null | 2023-03-27T05:53:58 | 2015-08-07T13:24:19 | Coq | UTF-8 | C++ | false | false | 342 | cpp | #include<functional>
class myclass {
private:
std::function<int(int,int)> func;
public:
myclass(std::function<int(int,int)> func):func(func){}
myclass(const myclass& other):func(other.func){}
int operator()(int a,int b){return func(a,b);};
};
int main(){
myclass a([](int i,int j){ return 2*i + ... | [
"paul_ossientis@riseup.net"
] | paul_ossientis@riseup.net |
05653133e4960acb4c4133bbaa100d38b5626c85 | 18a3f93e4b94f4f24ff17280c2820497e019b3db | /geant4/G4GeomTestSegment.hh | 41ed345061c0bb3df9b94ce79695368dc0565998 | [] | no_license | jjzhang166/BOSS_ExternalLibs | 0e381d8420cea17e549d5cae5b04a216fc8a01d7 | 9b3b30f7874ed00a582aa9526c23ca89678bf796 | refs/heads/master | 2023-03-15T22:24:21.249109 | 2020-11-22T15:11:45 | 2020-11-22T15:11:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,203 | hh | //
// ********************************************************************
// * License and Disclaimer *
// * *
// * The Geant4 software is copyright of the Copyright Holders of *
// * the Geant4 Collaboration... | [
"r.e.deboer@students.uu.nl"
] | r.e.deboer@students.uu.nl |
41ac0c8b5c0603ba461c25e151100d769bbfed16 | 08d19b0dcce1d0cf666c538a8ff289f8beca63b8 | /hdmap/ad_map/ad_map_access/impl/tests/generated/ad/map/lane/GeoBorderValidInputRangeTests.cpp | f1a4e3b2570f7720cc4ee052bea6fb03fd8c4a5e | [] | no_license | feiyuxiaoThu/IITS | faf8e84aeb8c4a412bc6f955149f9fdf0dd2d092 | 0f5cd710a6fff1c19795662f8032cb9e22575bd7 | refs/heads/main | 2023-06-26T11:19:22.680078 | 2021-07-29T11:26:59 | 2021-07-29T11:26:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,543 | cpp | /*
* ----------------- BEGIN LICENSE BLOCK ---------------------------------
*
* Copyright (C) 2018-2020 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
* ----------------- END LICENSE BLOCK -----------------------------------
*/
/*
* Generated file
*/
#include <gtest/gtest.h>
#include <limits>
#incl... | [
"dawei.wang@inceptio.ai"
] | dawei.wang@inceptio.ai |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.