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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
51876bbffd356a65aa2b76d8d2a7ccc766ba8731 | 92f1c33f2909f3f39ab7eecddeb879518c2e534e | /wezel.cpp | c29e8cda2c57e092106fa96a72dc286158cda739 | [] | no_license | kiug/lsp | c0b35b1000237d9a6ce66ec2081c6cdf045a670d | 74af2c6ec6ba402ed00d54f25db8d13cf2de7c39 | refs/heads/master | 2016-09-06T05:45:53.101103 | 2015-08-14T07:46:18 | 2015-08-14T07:46:18 | 40,702,191 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 100 | cpp | #include "wezel.h"
#include "widok.h"
#include <QDebug>
Wezel::Wezel()
{
}
Wezel::~Wezel()
{
}
| [
"karoldro@gmail.com"
] | karoldro@gmail.com |
7aa1b63810ed03544e193bb26f6b4f5a2eb1c7bb | d1c1eea01b817e6bc39bd7fbcf74188f3dd8d622 | /A - HTML /main.cpp | 042d7314b98f9dddff01d68c2942c93081980e61 | [] | no_license | kamol7/Online-Judge-Problems-solved | 93d488341a2b0299fdd638b1615d1fee8de82e31 | 3d135f288b2001a8372fa3df101284a6cc8a3ff0 | refs/heads/master | 2020-07-30T19:29:23.900029 | 2019-09-23T11:00:10 | 2019-09-23T11:00:10 | 210,332,744 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,236 | cpp | #include <iostream>
#include <string>
using namespace std;
int main() {
//std::cout << "Hello, World!" << std::endl;
std::string x="";
for(int i=0;i<80;i++) x+="-";
int line=0;
int size=0;
string takeInput;
while(cin>>takeInput){
if(takeInput== "<br>"){
cout<<endl;
... | [
"ckamol7@gmail.com"
] | ckamol7@gmail.com |
fdc13350162fb71760ddf8cc8c93a7229a6832e9 | bb24e332a82af41807c9b67c85d5d15336dc0470 | /src/Rifle.hpp | b4c97c6a5547aa414456be813fda6fd5782cd1f5 | [
"MIT"
] | permissive | Muikkunen/Lieburo | 04fa604ac9585539ba0b9566e9ab971a99f64650 | 48216f2cbf8c8d96687581f595c2822136b614b4 | refs/heads/master | 2021-01-13T16:20:45.473695 | 2017-01-23T19:53:43 | 2017-01-23T19:53:43 | 79,841,610 | 0 | 0 | null | 2017-01-23T19:51:34 | 2017-01-23T19:51:34 | null | UTF-8 | C++ | false | false | 199 | hpp | #pragma once
#include "Weapon.hpp"
#include "Game.hpp"
class Rifle : public Weapon {
public:
Rifle(Game* game);
virtual void shoot(float angle, b2Vec2 position, b2Vec2 preSpeed, Game* game);
};
| [
"alvar.martti@gmail.com"
] | alvar.martti@gmail.com |
c2ae790deea334a86b0f3716174081126f5e86eb | 5a075cc56820038a97d225b9f4a17a003021fa78 | /uva/401.cpp | c98a11af403da2606e40aba05f535c64af10888e | [] | no_license | nahid0335/Problem-solving | e5f1fc9d70c10992655c8dceceec6eb89da953c0 | 89c1e94048b9f8fb7259294b8f5a3176723041e7 | refs/heads/master | 2020-11-26T07:02:56.944184 | 2019-12-19T09:33:58 | 2019-12-19T09:33:58 | 228,997,106 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,187 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
freopen("input.txt","r",stdin);
freopen("output.txt","w",stdout);
string s,x,y;
char m[3000];
int k=1;
memset(m,NULL,sizeof(m));
m['A']='A';
m['E']='3';
m['H']='H';
m['I']='I';
m['J']='L';
m['L']='J';
m['M']='M... | [
"nahid0335@gmail.com"
] | nahid0335@gmail.com |
0f682df95b7ce1b3b66fd627035b60a9878c40c1 | ecfb2256ddb3febd10f8b732c25eaf07b0de52fb | /54_Movement_detection_Optical_Flow/main.cpp | 2cd662a602e3578a955e75de0ca4b66310d1a690 | [] | no_license | inovision/visioncomputador | 65900fab1647012e3af82ea96bea99f65475ea96 | ca90cfc6d00375608af474183af7be905c6c437c | refs/heads/master | 2021-04-03T09:29:14.794279 | 2018-04-11T19:08:23 | 2018-04-11T19:08:23 | 124,695,174 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,860 | cpp | #include <iostream>
#include <opencv/cv.hpp>
using namespace std;
using namespace cv;
#define MAX_CORNERS 500
#define ESCAPE 27
int main()
{
//Mat frame, back, fore, dest;
VideoCapture capture("c://edx//IcabMovimientoEscenaEstatica.mp4");
//Ptr<BackgroundSubtractorMOG2> bg = createBackgroundSub... | [
"pablo.an@gmail.com"
] | pablo.an@gmail.com |
11405f404ae3eb7503bfc75212ef27d2fa6dad10 | 5c0f282a4e3e8fec68b20317c9a07247bd8b4616 | /src/core/hw/gfxip/computeCmdBuffer.cpp | 2c74c651be85c9286dbc85ce0cc3860f1f54d347 | [
"MIT"
] | permissive | PetarKirov/pal | b3baabdccb5df38e711fa3641d450e9c34f877ea | d535f5dc4179fc14249a5eb41e59aa96a5cd318f | refs/heads/master | 2021-08-31T19:50:18.201096 | 2017-12-21T13:40:00 | 2017-12-22T08:06:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,802 | cpp | /*
*******************************************************************************
*
* Copyright (c) 2015-2017 Advanced Micro Devices, Inc. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), ... | [
"jacob.he@amd.com"
] | jacob.he@amd.com |
ba331fa56a80ffb26c85720f47afc19a4b2b2380 | d83cfab7bea45f6f553cf7ab87e3b7d9ac9c8721 | /src/ui/Tools/ToolsPanelHandler.cpp | b49c36926a598a30950391aeab7a3398af76bb22 | [] | no_license | edherbert/Rockpool | f40b0e1ea9c39fdd0c957597af61d62c80c75405 | 47ce54779c4690e73aaf4cd67d5e9061bc41f1df | refs/heads/master | 2021-08-14T14:03:34.749396 | 2017-11-15T23:33:12 | 2017-11-15T23:33:12 | 107,127,160 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,743 | cpp | #include "ToolsPanelHandler.h"
#include "../wxIDs.h"
#include "ToolPreferencesHandler.h"
ToolsPanelHandler::ToolsPanelHandler(MainFrame *mainFrame, wxAuiManager *auiManager) : wxApp(){
this->auiManager = auiManager;
this->mainFrame = mainFrame;
wxBitmap bitmap(wxT("../media/img/icon.png"));
toolbar =... | [
"edwardherbert802@yahoo.com"
] | edwardherbert802@yahoo.com |
353e6e8b67cd99fa2b157b838f789f2e2f6a973e | a1faa72eea32203df772b03d1940129a9fdfd0e5 | /tutorial-3/include/glhelper.h | dbb4daa863bcec5c4722eb1653c2c459a1c26e74 | [] | no_license | ChuaSTGrace/CSD2100_OpenGL-Dev | e47d6fd0922d6cbba10b4d9c7628ae55e6d22ac4 | b7b40b4ea88b4d9637c5a2b035417dacd0930d2f | refs/heads/master | 2023-07-22T12:01:36.893814 | 2021-09-10T02:13:07 | 2021-09-10T02:13:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,988 | h | /* !
@file glhelper.h
@author pghali@digipen.edu
@date 10/11/2016
This file contains the declaration of namespace Helper that encapsulates the
functionality required to create an OpenGL context using GLFW; use GLEW
to load OpenGL extensions; initialize OpenGL state; and finally initialize
the OpenGL application... | [
"jeejiamin@gmail.com"
] | jeejiamin@gmail.com |
a9b4ec4bbf73a176419d703c5139049d8639eb85 | f83ef53177180ebfeb5a3e230aa29794f52ce1fc | /ACE/ACE_wrappers/TAO/orbsvcs/orbsvcs/Notify/MonitorControlExt/MonitorEventChannelFactory.h | 311fb73d097ce5f23e9517a77da624429f126cde | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-proprietary-license",
"LicenseRef-scancode-sun-iiop"
] | permissive | msrLi/portingSources | fe7528b3fd08eed4a1b41383c88ee5c09c2294ef | 57d561730ab27804a3172b33807f2bffbc9e52ae | refs/heads/master | 2021-07-08T01:22:29.604203 | 2019-07-10T13:07:06 | 2019-07-10T13:07:06 | 196,183,165 | 2 | 1 | Apache-2.0 | 2020-10-13T14:30:53 | 2019-07-10T10:16:46 | null | UTF-8 | C++ | false | false | 3,006 | h | #ifndef MONITOREVENTCHANNELFACTORY_H
#define MONITOREVENTCHANNELFACTORY_H
#include /**/ "ace/pre.h"
#include "ace/Hash_Map_Manager_T.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
#include "ace/Vector_T.h"
#include "ace/Monitor_Base.h"
#include "orbsvcs/Notify/EventChannel... | [
"lihuibin705@163.com"
] | lihuibin705@163.com |
6d079461e1fa6dab33301bd518685ad4eb612bec | 2e41d302378e32ed9cf9e3c61c0d228c4a89373c | /Seminarski/main.cpp | 8fefe9cb9d50333b8c6bbc59a735a6c339cb30f2 | [] | no_license | SKantar/Reversi | 44534082170b5100a3ece3920785c4fc13d830a1 | 569d05357df1f874b96056c1f70976f241f108a9 | refs/heads/master | 2020-04-29T13:47:20.454480 | 2016-10-26T10:53:30 | 2016-10-26T10:53:30 | 30,535,276 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,593 | cpp | #define WINVER 0x500
#include <windows.h>
#include <iostream>
#include "Application.h"
#include "Dragndrop.h"
#include "Board.h"
#include "Reversi.h"
#include <vector>
//#include "MS_IKSOKS.h"
using namespace std;
int WINAPI WinMain (HINSTANCE hThisInstance,
HINSTANCE hPrevInstance,
... | [
"skantar12@gmail.com"
] | skantar12@gmail.com |
ce29b5a15442c851cf288b440d6a24847878a041 | 54b9e1d9945cbcd39aa0fbc955d81e402042a471 | /src/components/IF/httpd_protocol.h | 662569501ca7e7b5a2b56240a19f4b02f8993c74 | [] | no_license | huangdeng525/dcop | 17364e209cac590a7f2c2f7ba57a4526d38cf670 | e7f254d2a4c99743b32d436d974ef5cef3a1caaf | refs/heads/master | 2021-06-18T18:47:42.665179 | 2020-12-30T09:23:12 | 2020-12-30T09:23:12 | 144,436,513 | 1 | 0 | null | 2018-08-12T04:03:47 | 2018-08-12T04:03:46 | null | GB18030 | C++ | false | false | 3,360 | h | /// -------------------------------------------------
/// httpd_protocol.h : 超文本协议私有头文件
/// -------------------------------------------------
/// Copyright (c) 2015, Wang Yujia <combo.xy@163.com>
/// All rights reserved.
/// -------------------------------------------------
#ifndef _HTTPD_PROTOCOL_H_
#define _HTTPD_PR... | [
"combo.xy@163.com"
] | combo.xy@163.com |
89873794754d2917234829eb370a518aa0a33999 | 8e151199d01e1918a4bb1ee7bb1509061ccd327b | /Classes/Options.h | b5dfb3ad77e076aa80cc8b2e0a989c3d841cc6e7 | [] | no_license | zhaozw/gods-invader | 8a7cc9b449ef861dd2f4495f4060ee0f0af90695 | 089ecbfde7d0fd8aa55f696548a4736eab91b4d8 | refs/heads/master | 2021-01-21T11:23:59.057483 | 2013-04-10T09:54:32 | 2013-04-10T09:54:32 | 9,603,862 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 505 | h | #ifndef CONST_OPTIONS_H
#define CONST_OPTIONS_H
class Entity;
class Options
{
public:
static int CENTER_X;
static int CENTER_Y;
static int SCREEN_WIDTH;
static int SCREEN_HEIGHT;
static int SCREEN_CENTER_X;
static int SCREEN_CENTER_Y;
static int CAMERA_WIDTH;
static int CAMERA_HEIGHT;
static in... | [
"igor.mats@yandex.ru"
] | igor.mats@yandex.ru |
843ab3ccdbf662827d3f5c88dc1c2f3a24a15459 | 2f4cee019d13607191758faedddc8b88130be52d | /Paradis_Hydrogen/ParadisJHU06012020/ParadisJHU06012020/ezmath/Face.h | 2f8746b11aea1dfa26a130b7aec8857ba2ae251e | [] | no_license | JinnyJingLuo/Expanse | ee0ed9f448fb230a09af049ac673c26d3397a76a | 207059c02868a6e1881a6748396e248e16d2e995 | refs/heads/master | 2023-05-06T13:17:38.859013 | 2021-05-26T07:11:04 | 2021-05-26T07:11:04 | 370,536,257 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 460 | h | #ifndef FACE_H_
#define FACE_H_
#include "GeometricComponent.h"
#include "Point.h"
#include "string"
using namespace EZ;
using namespace std;
namespace GeometrySystem
{
class Face : public GeometricComponent
{
public:
Face();
Face(const Face& oFace);
virtual ~Face();
Face& operator=(const Face& oFace);
... | [
"jluo32@login02.expanse.sdsc.edu"
] | jluo32@login02.expanse.sdsc.edu |
d979e55629a2b99b60faa8d7812c017587563248 | 41bc79f836e2aead9bdc0bade84dc06397d9b3d2 | /Arduino_Software/libraries/Adafruit_LED_Backpack_Library/Adafruit_LEDBackpack.cpp | 0767d2bbb71e53655307fb80b43b5bf9a70d1ebb | [
"MIT"
] | permissive | edinnen/Thanksgiving_Intranet | 44ffce06913139d50bd171993ab271ec615c0c69 | 1e2b4a3f705228e9a92e82ce42217cb9ba6f07b0 | refs/heads/master | 2023-01-06T18:36:51.544023 | 2022-12-28T19:15:50 | 2022-12-28T19:15:50 | 94,859,889 | 2 | 0 | MIT | 2020-11-10T05:49:29 | 2017-06-20T06:58:57 | Raku | UTF-8 | C++ | false | false | 16,636 | cpp | /*!
* @file Adafruit_LEDBackpack.cpp
*
* @mainpage Adafruit LED Backpack library for Arduino.
*
* @section intro_sec Introduction
*
* This is an Arduino library for our I2C LED Backpacks:
* ----> http://www.adafruit.com/products/
* ----> http://www.adafruit.com/products/
*
* These displays use I2C to communi... | [
"stuartdehaas@gmail.com"
] | stuartdehaas@gmail.com |
682fc09686bdff6f101e90cfe72bbbe759a01cee | 77e82ee53d0284f8297f3c952e60bd614bafb40f | /topcoder/Unblur.cxx | c77b4851e066e75c22862fc5dc67e2986dc32de9 | [] | no_license | jackytck/practice | 04ae4e5deef2af942cea605d3a599441b9c5db96 | d022660003fa248fd159f9a4c4c1816b7b4688a4 | refs/heads/master | 2021-01-01T05:30:41.570650 | 2012-07-22T11:53:53 | 2012-07-22T11:53:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,585 | cxx | #line 2 "Unblur.cxx"
#include <vector>
#include <list>
#include <map>
#include <set>
#include <deque>
#include <stack>
#include <bitset>
#include <algorithm>
#include <functional>
#include <numeric>
#include <utility>
#include <sstream>
#include <iostream>
#include <iomanip>
#include <cstdio>
#include <cmath>
#include ... | [
"jackytck@gmail.com"
] | jackytck@gmail.com |
1be81eac83eb2e87991954b55ecda2d121ba12dd | c5e8b8d8bc38d6f1df7668ac185795d99a4ae31a | /emJetAnalysis/src/EjCalculateAN.cxx | 4dc4edf2c0d834719d21e1745db761faaf714569 | [] | no_license | xilinliang/STAR-1 | 3bc7ddffa9a9a05f108a4dd66e32a1a417cd9e54 | 32e74b318e64ef9e5cc5cda410b20425031dbf6a | refs/heads/master | 2023-07-26T21:28:00.157084 | 2021-01-24T04:35:25 | 2021-01-24T04:35:25 | 315,710,751 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,942 | cxx | // Filename: EjCalculateAN.cxx
// Description:
// Author: Latif Kabir < kabir@bnl.gov >
// Created: Fri May 8 15:08:25 2020 (-0400)
// URL: jlab.org/~latif
#include <iostream>
#include "RootInclude.h"
#include "cppInclude.h"
#include "BrightStInclude.h"
#include "Hists.h"
using namespace std;
void EjCalculateAN(TSt... | [
"siplukabir@gmail.com"
] | siplukabir@gmail.com |
b43b0272a94ccaf3416bd8adf0169fe84c1094dd | 83dd4a88a518784300b340b221427f26b05edc5d | /Techgig/Code Gladiator 2019/Stage 1/Solution_2_new.cpp | 914822e23d3c7c8f6b3635d6ba46482f5ddf13cf | [] | no_license | abhishek09091/competitive-programming | 0671ca18e9ea90b31f7c10c5339bdb5a47f9f307 | 56f40c4ea60a5f599e6bd562d400e77a91cb5d02 | refs/heads/master | 2020-05-03T13:12:40.693399 | 2020-01-14T20:28:59 | 2020-01-14T20:28:59 | 178,647,746 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,125 | cpp | /**
Input :
5
5
-1 7 8 -5 4
4
3 2 1 -1
4
11 12 -2 -1
4
4 5 4 3
4
5 10 4 -1
Output:
48
13
12
44
10
**/
#include<bits/stdc++.h>
using namespace std;
bool** dp;
vector<vector<int>> display(const vector<int>& v, vector<vector<int>> result) {
vector<int> temp;
for (int i = 0; i < v.size(); ++i) {
cout<<v[i];
... | [
"abhishek.09091@gmail.com"
] | abhishek.09091@gmail.com |
c977bd3f66596533ccca364d72843aa96e0a30d9 | 98e5fd588b356aff074e907c27aede0b609aae85 | /programming/codeforce/327/b.cpp | bda3b4e9898ab00d77beaaba8714f61f9401debf | [] | no_license | ayushshukla92/algorithms | 060521612773e93bf4804abd5644fc35d4d32eb7 | a3d5baa3c71de5fa9a8049d436c802c75ad32cd2 | refs/heads/master | 2016-08-12T02:01:53.233754 | 2015-11-04T11:09:00 | 2015-11-04T11:09:00 | 45,024,626 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,747 | cpp | #include <iostream>
#include <algorithm>
#include <string>
#include <queue>
#include <list>
#include <stack>
#include <vector>
#include <map>
#include <unordered_map>
#include <set>
#include <unordered_set>
#include <cstdlib>
#include <sstream>
#include <cmath>
#include <cctype>
#include <cstdio>
#include <cstring>
... | [
"ayush.shukla92@gmail.com"
] | ayush.shukla92@gmail.com |
20414b07af67557b11362212239f0871ede679b0 | 6f2b6e9d77fc4dd5e1dae8ba6e5a66eb7c7ae849 | /sstd_boost/sstd/boost/qvm/gen/mat_operations3.hpp | d32dca11ac2e96edddf491d3176e41bca4d2b2a6 | [
"BSL-1.0"
] | permissive | KqSMea8/sstd_library | 9e4e622e1b01bed5de7322c2682539400d13dd58 | 0fcb815f50d538517e70a788914da7fbbe786ce1 | refs/heads/master | 2020-05-03T21:07:01.650034 | 2019-04-01T00:10:47 | 2019-04-01T00:10:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 71,477 | hpp | //Copyright (c) 2008-2017 Emil Dotchevski and Reverge Studios, Inc.
//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_QVM_B3A6DB3C87C3E99245ED1C6B747DE
#define BOOST_QVM_B3A6DB3C87C3E99245ED1C6B747DE
/... | [
"zhaixueqiang@hotmail.com"
] | zhaixueqiang@hotmail.com |
cdd442e0125272152fc3d4fe2c842a3ebf7d1983 | c7ef72740216bec011da20f9b404f845be9b00eb | /xic/src/edit/prpedit.cc | 7e9047342dd968f46f0c1745b45e0ffc07924446 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | Augertron/xictools | 8e27b842ae8fbcaf05c5329a32f79e6b3486fdc5 | be58bd6c964f3265ccdc4649c8ba0fabcefd3524 | refs/heads/master | 2020-05-16T06:50:04.067760 | 2019-03-15T03:37:26 | 2019-03-15T03:37:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 123,512 | cc |
/*========================================================================*
* *
* Distributed by Whiteley Research Inc., Sunnyvale, California, USA *
* http://wrcad.com *
* Copyright (... | [
"stevew@wrcad.com"
] | stevew@wrcad.com |
1fdb796c1990d86930e9e811e1992c8084f6c21f | 6446d917ab76942bb20e1465b6a070ee0686a1c2 | /chap03/termination.cpp | dc862c0f508dd728e3dd8bdefde0b5ec2d672c6d | [] | no_license | elect000/C- | 52dd5aaf549c20e4d4bead74d486c6de8bcddeae | 0f6096f79be2be39c91cc38a5cc5687659aab4c6 | refs/heads/master | 2020-12-30T23:35:06.172463 | 2017-05-26T10:41:12 | 2017-05-26T10:41:12 | 86,602,947 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 504 | cpp | #include <ctime>
#include <iostream>
#include <cstdlib>
using namespace std;
void good_bye () {
cout << "プログラムは正常に終了しました。" << '\n';
}
void put_time () {
time_t current = time(NULL);
struct tm* lct = localtime(¤t);
cout << lct->tm_hour << ":" << lct->tm_min << ":" << lct->tm_sec << '\n';
}
int main()
... | [
"e.tmailbank@gmail.com"
] | e.tmailbank@gmail.com |
5d729401371a44b1c26c8d729de3a995abd97d97 | 7d74a4fab1662506f57be03b165dc7ea03c6ea17 | /src/core/renderer/sprite_animation.hpp | 20611e24ed53265890b81ececdd7c9e6c4f7337d | [
"MIT"
] | permissive | lowkey42/teamproject | 2e9a7ec29e41d3b382ea8384a1051ef0f5fd922b | 41e7dfe27161f319d08d02982443720af55398a3 | refs/heads/develop | 2020-04-04T05:55:47.308995 | 2016-10-04T20:34:05 | 2016-10-04T20:34:05 | 49,599,482 | 1 | 0 | null | 2016-07-14T21:10:40 | 2016-01-13T20:22:12 | C++ | UTF-8 | C++ | false | false | 3,844 | hpp | /**************************************************************************\
* Animation data for textures and sprites *
* ___ *
* /\/\ __ _ __ _ _ __ _ _ _ __ ___ /___\_ __ _ _ ___ *
* / \ / _... | [
"mephistopheles@onlinehome.de"
] | mephistopheles@onlinehome.de |
e51ee0314e2f4a8feae0a2d70165a4c8fc737ba6 | 520b75c144414d2af5a655e592fa65787ee89aaa | /AOJ/Volume20/2035.cpp | d99574137c4413ec5f0c1e6cfa0d94a19ad38a74 | [] | no_license | arrows-1011/CPro | 4ac069683c672ba685534444412aa2e28026879d | 2e1a9242b2433851f495468e455ee854a8c4dac7 | refs/heads/master | 2020-04-12T09:36:40.846130 | 2017-06-10T08:02:10 | 2017-06-10T08:02:10 | 46,426,455 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 950 | cpp | #include <iostream>
#include <algorithm>
using namespace std;
#define MAX 2001
int dp[MAX][MAX];
int arr[MAX][MAX];
void init(int N){
for(int i = 0 ; i < N ; i++){
for(int j = 0 ; j < N ; j++){
dp[i][j] = 0;
arr[i][j] = MAX;
}
}
}
int main(){
string s;
while(cin >> s){
string t ... | [
"s1210207@gmail.com"
] | s1210207@gmail.com |
72776e52a0da51d9738e057e8e17d489959d37e7 | 67aceb910483ef1b11f10a377bd7cc6970bd9b4a | /EngineQ/TODO/MathTests/Helpers.hpp | a7436d0d96a61f22ae6ed1bea39b8d9ff41e3118 | [] | no_license | Tsuguri/EngineQ | 3a408e790a766eb1689a9c0545ddd725f0442ce7 | 805adfacf54e98fd55e93a3d2adc8ce037f9a21c | refs/heads/master | 2020-08-08T00:18:28.580155 | 2019-10-08T12:25:39 | 2019-10-08T12:25:39 | 213,633,437 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 841 | hpp | #pragma once
using namespace EngineQ::Math;
namespace Microsoft {
namespace VisualStudio {
namespace CppUnitTestFramework
{
template<> inline std::wstring ToString<Quaternion>(const Quaternion& t) { RETURN_WIDE_STRING(t.ToString().c_str()); }
template<> inline std::wstring ToString<Matrix3>(const Matrix3& ... | [
"Piotr Pełka"
] | Piotr Pełka |
75c1ff6268d0b6ba23056d9892718c6d559220b1 | a08e005474521e6b10573aed863a3ff8067c9c13 | /src/crypto/hmac_sha512.cpp | cbd32f34e6521c5952e9678a3268e9de2bc5cb9e | [
"MIT"
] | permissive | BitcoinClassicDev/BitcoinClassic | c18048431dccd4346865f9c5ee3c079831c8adde | 87f76317eb80c25c54e9104c61bdf570fc7721f3 | refs/heads/master | 2020-09-16T00:57:59.563234 | 2019-12-02T19:18:14 | 2019-12-02T19:18:14 | 223,602,827 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 916 | cpp | // Copyright (c) 2014-2018 The BitcoinClassic Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <crypto/hmac_sha512.h>
#include <string.h>
CHMAC_SHA512::CHMAC_SHA512(const unsigned char* key, size_t keyl... | [
"root@DESKTOP-325AAR8.localdomain"
] | root@DESKTOP-325AAR8.localdomain |
37f12bf61166e652202d5c2124304ffdf880af1d | 1914d1b5f4616fbe246bfd180020556a442e25a7 | /Hackerrank/infinitum11/subset_gcd.cpp | 093f370ab74c9aed2ec00135b3ad813301ca8626 | [] | no_license | dipkakwani/Puzzles | 0d939f636b03d2c96db83cc05779e9ba29060b8f | 7ef7d1057d15ba3abd1716ff42b20b5fb276e7d8 | refs/heads/master | 2021-01-10T12:04:48.588038 | 2016-05-07T14:02:53 | 2016-05-07T14:02:53 | 52,711,668 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,246 | cpp | #include <cstdio>
#include <cstdlib>
#include <cstring>
#include <bits/stdc++.h>
#define MAX 100000
using namespace std;
typedef long long ll;
char memo[1000000001];
ll gcd(ll a, ll b)
{
return (b == 0)?a:gcd(b, a % b);
}
ll GCD(ll a[MAX], int start, int end)
{
ll res = 0;
for (int i = start; i != end; i+... | [
"dipkakwani@gmail.com"
] | dipkakwani@gmail.com |
a8d13b51c1b878df8159eadc0fc113ab11268e05 | 67ba655579bd283ab497a151fa20b7ed3befaf75 | /cpp_concurrency/blog_code/Threads_2.cpp | 86e372d07de51cc16405c6d0b13d245b48365a25 | [] | no_license | JeffYoung17/Course_Learning | f8ca46fb57afd879b1bc577cf91c13b6b92b065e | d16b0e93df91d6c185341b8825c31b364c194a4c | refs/heads/master | 2020-04-04T03:50:20.752189 | 2019-02-19T11:56:16 | 2019-02-19T11:56:16 | 155,727,976 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 392 | cpp | #include <iostream>
#include <thread>
#include <string>
#include <cstring>
using namespace std;
void func(int i, double d, const std::string& s) // 因为对于s是常引用,所以启动线程的时候std::ref("hello")可有可无
{
cout << i << " " << d << " " << s << endl;
}
int main(int argc, char** argv)
{
std::thread t(func, 1, 3.14, "hello");
... | [
"jeffyoung17@163.com"
] | jeffyoung17@163.com |
4cb7a1dcf97644f4f00dbfa35b81b35a1366835d | 27da6c0a879fc46fa91501b83f9b587b7dede3ce | /thirdparty/gtest-1.7.0/test/gtest-port_test.cc | 1a1ee4a58af35dca49d906319aa09aa1e6794891 | [
"MIT",
"LicenseRef-scancode-generic-cla",
"BSD-3-Clause"
] | permissive | waqarsqureshi/Restore | 6b0a0e2d5164442f6355a0c21fa78fd9cc411a60 | 436fcf3eeffd015f5196fd3408aaad758450c290 | refs/heads/master | 2020-12-11T09:07:22.877304 | 2016-04-17T20:07:17 | 2016-04-17T20:07:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 39,176 | cc | // Copyright 2008, Google Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions ... | [
"kai.wolf@gmail.com"
] | kai.wolf@gmail.com |
5fddedf0b6ef257bf775fc8730d514eddcea70c4 | 7597b69c2b1a785d3d622e254c953fc129c9746d | /libcryptopp/include/modes.h | 5a30fd84be77dd56e129073376ea2231f1eb30fc | [] | no_license | wonlake/ThirdPartyLib | 2f38cc806b946c24032e60f053cf370575029d05 | 6b11d060300bb4beb2f8e4cf0fe8af0a85d2de3e | refs/heads/master | 2022-05-09T21:04:13.036440 | 2022-04-18T13:33:14 | 2022-04-18T13:33:14 | 116,561,211 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,685 | h | // modes.h - originally written and placed in the public domain by Wei Dai
//! \file modes.h
//! \brief Classes for block cipher modes of operation
#ifndef CRYPTOPP_MODES_H
#define CRYPTOPP_MODES_H
#include "cryptlib.h"
#include "secblock.h"
#include "misc.h"
#include "strciphr.h"
#include "argnames.h"
#include "alg... | [
"mei_jun1999@126.com"
] | mei_jun1999@126.com |
d91740406ecea008d4fcb209e5ce55363fd5e195 | 08eacc2c591fc45310c8bf697abe9464fb87cd74 | /atcoder/abc/abc179/d.cpp | 0a515089398c0725cb28b53d4b45b9aedceb70d6 | [] | no_license | urashima0429/keipro_practice | 1074266ee5b0de7002f5c540650a9f8543b0a53c | 364d28502e53c6679ea81bc40fb80e6a022bbf8d | refs/heads/master | 2021-06-14T23:42:11.242546 | 2021-03-16T06:21:36 | 2021-03-16T06:21:36 | 169,205,471 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,007 | cpp | #include <iostream>
using namespace std;
typedef long long ll;
const ll MOD = 998244353;
const int MAX_N = 200010;
int N, K;
ll bit[MAX_N];
ll sum (int i){
ll s = 0;
while(i > 0){
s = (s + bit[i]) % MOD;
i -= i & -i;
}
return s;
}
void add (int i, ll x){
while(... | [
"urashima0429@gmail.com"
] | urashima0429@gmail.com |
580b38d9f6501963d0253c8079be95b7ab3d3d43 | 4e1f1eb081d177a607ea6f335978676546f6779e | /Exercice5_Liste_Distribuee/ListeDoublementChainee.cpp | 69b8273917c36af9f3a74f69f8862256b06a988f | [] | no_license | BenjaminLaschkar/Devoir1_Structure_de_donnee | f3f4e6feefae5ed24a41b2ae9a450bdd583df036 | 8e04321d4660a0bd93f7671e66c6030c541d05e3 | refs/heads/master | 2021-09-15T07:26:15.249209 | 2018-05-28T15:11:40 | 2018-05-28T15:11:40 | 133,123,288 | 2 | 0 | null | null | null | null | WINDOWS-1250 | C++ | false | false | 2,272 | cpp | #include "stdafx.h"
#include "ListeDoublementChainee.h"
#include <iostream>
using namespace std;
ListeDoublementChainee::ListeDoublementChainee(int i) {
debut = new Node(i, NULL, NULL);
debut->suivant = debut->precedent = debut;
taille = 1;
}
ListeDoublementChainee::~ListeDoublementChainee() {
Node *tmp = this->d... | [
"rendu.clement@gmail.com"
] | rendu.clement@gmail.com |
9ae17fb08ad291d1b43591e60be420e3a425cad1 | bcf3265a67256c2b6483281232a15621cbfd8574 | /Server/Src/LogicServer/Guild.h | 61cb011b8006a2f53b4b618b59ce205c46b8c1e1 | [] | no_license | bbeyondllove/mmo_game_frame | ef7a7d7f68b86f080f5006d85535ad1b17b2ebb5 | 28cd973669f8ff42d35e227c728378817dc7afac | refs/heads/main | 2023-04-07T16:10:45.758435 | 2021-04-06T04:37:12 | 2021-04-06T04:37:12 | 354,854,562 | 4 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 595 | h | #ifndef __GUILD_HEADER_H__
#define __GUILD_HEADER_H__
#include "GuildData.h"
class CGuild
{
public:
CGuild();
~CGuild();
public:
BOOL Init();
BOOL LoadGuildMember(CppMySQLQuery& QueryResult);
CHAR* GetGuildName();
UINT64 GetGuildID();
MemberDataObject* GetGuildMember(UINT64 uID);
MemberDataObject* GetLea... | [
"469841047@qq.com"
] | 469841047@qq.com |
a62a8c79cd240b734108492d70157ee093d8bc2b | 09a74d737490b78f51533e51e370a55e38692cbd | /NBMediaPlayer/src/decoder/NBMediaDecoder.h | bfcaddecee6df0907dac7265ef50d848b513b9cb | [
"MIT"
] | permissive | zuohouwei/NewBlashPlayer | 90b57076c9c0b142e338910a6b8d69e376ecf4c8 | af2104ff143ea885ff7a6808aa12b65c12203c1f | refs/heads/master | 2020-04-07T02:01:16.622611 | 2018-11-05T14:59:49 | 2018-11-05T14:59:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 716 | h | //
// Created by parallels on 9/10/18.
//
#ifndef NBMEDIADECODER_H
#define NBMEDIADECODER_H
#include "NBMediaSource.h"
#include "foundation/NBMetaData.h"
class NBMediaDecoder {
public:
/** the audio decoder only support software
* the video decoder select hardware in auto mode
*/
enum {
N... | [
"bobmarshall890120@gmail.com"
] | bobmarshall890120@gmail.com |
5cd5886998e446ffe7759056abb52355beeba99a | 8dce1bf646ecd4512ee5725a42af0406b8f3ff87 | /src/main.h | 2300354b35e7283ac45cf729d7f30bb6dde31781 | [
"MIT"
] | permissive | forkee/FootyCash | 746c2e7fb98a1ba6053e66ae49aac16ef2922723 | 693712e9a196d51020fa2d5a78a0cbc4f823e39a | refs/heads/master | 2021-06-21T12:51:16.191353 | 2017-08-14T08:45:09 | 2017-08-14T08:45:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 38,630 | h | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_MAIN_H
#define BITCOIN_MAIN_H
#include "core.h"
#include "bignum.h... | [
"FootyCash@gmail.com"
] | FootyCash@gmail.com |
5587adbeb596df8cb5ac329dc23eebc7542cecc4 | eeb9de1ca9fbdb7540c5cf361a13e70e1b73293e | /1368.cpp | 66ee4b3516082c15238b656d4782b11d797a5caa | [] | no_license | RatanNarayanHegde/CompetitiveProgramming | 64eee84381e49442615b5ba53359faebb46d717b | 4c11a3bdf739a9b3ef2ab52ac78b9181c78bb069 | refs/heads/master | 2023-04-28T14:37:15.694314 | 2021-05-25T07:44:38 | 2021-05-25T07:44:38 | 347,784,805 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,870 | cpp |
#include<bits/stdc++.h>
using namespace std;
#define ff first
#define fo(i,n) for(i=0;i<n;i++)
#define Fo(i,k,n) for(i=k;k<n?i<n:i>n;k<n?i+=1:i-=1)
#define deb(x) cout << #x << "=" << x << endl
#define deb2(x, y) cout << #x << "=" << x << "," << #y << "=" << y << endl
#define ... | [
"ratanhegde@pop-os.localdomain"
] | ratanhegde@pop-os.localdomain |
a0b9ab5393537619f5e8a9788fa734a8340b0bf5 | 19d1c24484c1771c0be7cdef45f3342a6889a4cb | /nnforge/cuda/maxout_layer_tester_cuda.h | 80cb5fe4b8b48118718bfd5067def043e5630985 | [
"Apache-2.0"
] | permissive | dreadlord1984/nnForge | 06bc261fa9d9d58c45aafdbf3f7026990809c288 | b4c795ab6ddf3ce9dfe8a628dd1ad33dd19dee9b | refs/heads/master | 2021-01-18T13:40:21.646717 | 2014-08-06T18:23:53 | 2014-08-06T18:23:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,667 | h | /*
* Copyright 2011-2013 Maxim Milakov
*
* 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 applic... | [
"maxim.milakov@gmail.com"
] | maxim.milakov@gmail.com |
947104dae24b756d26e65a205d5cd86810e78110 | 66c22ed409b2eee7e1b570749601ccd567a718a4 | /Src/EntityManager.h | 42d1d49dd3e686584f28ce09b63d72627ecc96ab | [] | no_license | XoDeR/Rio.EntitySystem | 71e155f0970b88102887db1ba7c808325b2e2c55 | 6a89ad8db1956fea79c213979455a20d05bb8e4c | refs/heads/master | 2021-01-22T05:24:18.493795 | 2015-06-18T15:50:30 | 2015-06-18T15:50:30 | 37,669,192 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 377 | h | #pragma once
#include "Common.h"
#include "Entity.h"
class EntityManager
{
public:
Entity createEntity();
void removeEntity(Entity e);
bool isActive(Entity e);
void registerRemoveComponentCallback(function<void(uint32_t)> removeCallback);
private:
vector<uint8_t> generation;
deque<uint32_t> freeIndices;
vector<... | [
"xoder.vs@gmail.com"
] | xoder.vs@gmail.com |
6b3af69f4d3ea13d9e119caf66c91087c0a426a1 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/squid/gumtree/squid_repos_function_3485_squid-3.5.27.cpp | 9d59d3a4ebdb740c55ce0d9ee0f3ce44ed05e693 | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,897 | cpp | void
clientReplyContext::purgeDoPurgeHead(StoreEntry *newEntry)
{
if (newEntry && !newEntry->isNull()) {
debugs(88, 4, "clientPurgeRequest: HEAD '" << newEntry->url() << "'" );
#if USE_HTCP
neighborsHtcpClear(newEntry, NULL, http->request, HttpRequestMethod(Http::METHOD_HEAD), HTCP_CLR_PURGE);
#endi... | [
"993273596@qq.com"
] | 993273596@qq.com |
ded7379471bf7632f902c99987a938ef990085c8 | cc94542e78e38567f9f0f891f8fa31996ea169cb | /ITMLib/Utils/ITMSceneParams.h | 859875ab2de0bf145d714c8eececa14bec4c062a | [] | no_license | WSX741405/ITM | 725700e57ff4d1e7cfe784b85c12f25597df87b2 | 78ad22bc19211d16d1a1db6b9df22b72600ffea1 | refs/heads/master | 2021-04-09T16:36:54.226544 | 2018-03-20T13:03:39 | 2018-03-20T13:03:39 | 125,861,673 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,990 | h | // Copyright 2014-2017 Oxford University Innovation Limited and the authors of ITM
#pragma once
namespace ITMLib
{
/** \brief
Stores parameters of a scene like voxel size
*/
class ITMSceneParams
{
public:
/// Size of a voxel, usually given in meters.
float voxelSize;
/** @{ */
/** \brief
Fall... | [
"wsx741405@gmail.com"
] | wsx741405@gmail.com |
89b522292fc8f3f47675b790242f3a8a018e0c32 | e5720f95696653b496e5f927eac7492bfb9f132c | /0501-1000/0551-Student-Attendance-Record-I/cpp_0551/main.cpp | 3f48e1624b7b162d695220864db15c4ffb292915 | [
"MIT"
] | permissive | ooooo-youwillsee/leetcode | 818cca3dd1fd07caf186ab6d41fb8c44f6cc9bdc | 2cabb7e3e2465e33e4c96f0ad363cf6ce6976288 | refs/heads/master | 2022-05-24T15:37:19.652999 | 2022-05-15T01:25:31 | 2022-05-15T01:25:31 | 218,205,693 | 12 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 225 | cpp | #include <iostream>
#include "Solution1.h"
void test(string s) {
Solution solution;
cout << solution.checkRecord(s) << endl;
}
int main() {
test("PPALLP"); // 1
test("PPALLL"); // 0
test("AA"); // 0
return 0;
}
| [
"297872913@qq.com"
] | 297872913@qq.com |
498b5217859fd2d020bba53f50c9776f6795a84a | fcd5d7e0fcb55763afd03ea3d72ec441b9a9e2c7 | /rocky/test/skull/OddTest.cpp | 23e419108d32aec1836e99712e2f2079478b9b59 | [] | no_license | ghjang/rocky | 74f9f36c2a95d527fc0a0e877ff0a8ea36fefbb9 | 07b2de51a8b619d4d682c73023508b5eb5843061 | refs/heads/master | 2021-01-10T11:24:03.989558 | 2017-02-03T15:58:43 | 2017-02-03T15:58:43 | 45,999,680 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 351 | cpp | #include "../catch.hpp"
#include "rocky/skull/Odd.h"
TEST_CASE("Odd for std::integral_constant", "[skull]")
{
// expected compile-time error.
//static_assert(Odd<std::tuple<>>());
static_assert(!Odd<int_c_t<0>>());
static_assert(Odd<int_c_t<1>>());
static_assert(!Odd<int_c_t<2>>());
static_a... | [
"jmxexpert@hotmail.com"
] | jmxexpert@hotmail.com |
5cc69ea1dc132d5c0cf2cd6801505f54195e47b2 | 335fb8bfc5f4ff394d0e2abd20205d1670ecd0b1 | /Beginner Problems/Page 1/1021 - Banknotes and Coins.cpp | cd2139e1ba7173b0799cf217f8e7fab51ec9a571 | [] | no_license | AhmedGharseldin/URI-Online_Judge | e6d9120c4190b276bad7b91312a519a61f6db89d | adf3e0d92337a0b986818b9ec57d2afcf9709b9e | refs/heads/main | 2023-02-17T09:39:35.270078 | 2021-01-17T11:38:21 | 2021-01-17T11:38:21 | 330,255,688 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 994 | cpp | //https://www.urionlinejudge.com.br/judge/en/problems/view/1021
#include <iostream>
using namespace std;
int main(){
double x;
cin>>x;
int t = x;
int n = (x - t)*100;
int u = 0;
cout<<"NOTAS:"<<endl;
cout<<t/100<<" nota(s) de R$ 100.00"<<endl; //100
u = t%100;
cou... | [
"63879928+AhmedGharseldin@users.noreply.github.com"
] | 63879928+AhmedGharseldin@users.noreply.github.com |
e779f167f39d2eea0a3a4ee34786f3ff83def902 | 32cbb0a1fc652005198d6ed5ed52e25572612057 | /core/unit_test/openmptarget/TestOpenMPTarget_TeamScratch.cpp | 2593609e333cf98b37bf899c483e5b8ed7ce9a33 | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | ORNL-CEES/kokkos | 3874d42a685084f0eb7999939cd9f1da9d42a2a6 | 70d113838b7dade09218a46c1e8aae44b6dbd321 | refs/heads/hip | 2020-05-04T03:32:58.012717 | 2020-01-24T20:43:25 | 2020-01-24T20:43:25 | 178,948,568 | 1 | 1 | NOASSERTION | 2020-03-01T19:21:45 | 2019-04-01T21:19:04 | C++ | UTF-8 | C++ | false | false | 3,225 | cpp | /*
//@HEADER
// ************************************************************************
//
// Kokkos v. 2.0
// Copyright (2014) Sandia Corporation
//
// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
// the U.S. Government retains certain rights in this softw... | [
"crtrott@sandia.gov"
] | crtrott@sandia.gov |
5aac5a697a0348eec5e1c25cfbdf3d0acf326271 | 13b14c9c75143bf2eda87cb4a41006a52dd6f02b | /Uva/Uva2008/123/123.cpp | 33306aed88811f721ab558863eac9eac359f932e | [] | no_license | yutaka-watanobe/problem-solving | 2c311ac856c79c20aef631938140118eb3bc3835 | f0b92125494fbd3c8d203989ec9fef53f52ad4b4 | refs/heads/master | 2021-06-03T12:58:39.881107 | 2020-12-16T14:34:16 | 2020-12-16T14:34:16 | 94,963,754 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,611 | cpp | #include<iostream>
#include<sstream>
#include<string>
#include<vector>
#include<map>
#include<algorithm>
using namespace std;
class Line{
public:
int row, col;
vector<string> words;
string title;
Line(){}
void set(int r, int c, vector<string> w){
row = r;
col = c;
words = w;
title = words[... | [
"y.watanobe@gmail.com"
] | y.watanobe@gmail.com |
f0a91cef27572012fd80398356a730452b80fd62 | d6e0e7b7597d74bb28f45ca352b40bd66e8bc1b3 | /sync_tcp_client/sync_tcp_client.cpp | 5efcbaa5d67c9e616462f283341d258b3db34f5d | [] | no_license | benzispawn/network__boost.asio | a40fdc371c15636f9faad7e66a15d0f65aa40dc3 | 8635927754ca436ee33c405fbc64ee0c7d96fad4 | refs/heads/main | 2023-01-10T14:16:59.293770 | 2020-11-11T03:08:28 | 2020-11-11T03:08:28 | 311,507,968 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 799 | cpp | #include "sync_tcp_client.h"
int main()
{
const std::string raw_ip_address = "127.0.0.1";
const unsigned short port_num = 3333;
try
{
SyncTCPClient client(raw_ip_address, port_num);
client.connect();
std::cout << "Sending request to the server..."
<< std::endl;
... | [
"spawnbenzi@gmail.com"
] | spawnbenzi@gmail.com |
0f3484457a8aea3cf0a2d3e6085acd1a448a8176 | 64d8b83603bb04b9022bf6d1776f3a3593d3ac7d | /unit_test/EnTT/Test_EnTT.cpp | 7aa62e9534ab0bf4023aea3fd3666a53693a7bb5 | [
"MIT"
] | permissive | nitishingde/yaui | a2c7244bce6ec802936ba8d252c38d2db412d09e | 47698857e026b451bfac1dd0204fa38b2d377540 | refs/heads/master | 2021-06-14T04:54:42.594569 | 2020-12-15T14:39:58 | 2020-12-15T14:39:58 | 191,589,819 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 313 | cpp | #define CATCH_CONFIG_MAIN // This tells Catch to provide a main() - only do this in one cpp file
#include "catch2/catch.hpp"
#include "entt/entt.hpp"
#include <iostream>
TEST_CASE("Initialization of EnTT", "[init]") {
entt::registry *reg = new entt::registry();
CHECK(reg != nullptr);
delete reg;
} | [
"ngshingde@gmail.com"
] | ngshingde@gmail.com |
f7e028dc5f9b42de6e19aa1b4738c876156bc4b8 | 270d448184cbe958e6e6bb17a98b35c381e22d99 | /objectOriented/lectures/examples/3-5-abstractClass.cpp | 43ed3e5d82468ad038dd4d3da2d49ee2fbfbf69c | [] | no_license | jcjolley/school | 016ffde715bb07f9ddc09f0c7c0cf4d59a2bd0b3 | bab28da74b1baba32844ec19278feb11ab65c375 | refs/heads/master | 2021-05-01T11:58:47.576569 | 2016-07-20T15:03:10 | 2016-07-20T15:03:10 | 59,164,873 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,004 | cpp | /***********************************************************************
* This demo program is designed to:
* Demonstrate pure Virtual Functions. Note that we cannot
* create an object out of an abstract class so we will
* get a compile error
*******************************************************... | [
"jolleyboy@gmail.com"
] | jolleyboy@gmail.com |
a81bce621612542d5c5992a348d515b98879f9cd | dae907db0cf43b427fd1a456b338be3910fc5f90 | /P84219_en_First_occurrence.cc | 444eb96b05bec023f97f381e6d62a1ed81c7e5aa | [] | no_license | FranciOrtiz/jutge_problems | 4c5c273ada09f20088b08287356bbb967a642e45 | a838f6ad8995cf57ae6f11cc6beeb3f13fa7e55d | refs/heads/master | 2022-12-23T20:33:43.775974 | 2020-09-24T09:49:10 | 2020-09-24T09:49:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 543 | cc | #include <iostream>
#include <cmath>
#include <vector>
using namespace std;
int first_occurrence(double x, const vector<double>& v) {
int L = 0, R = v.size()-1;
while (L<=R) {
int M = (L+R)/2;
if (v[M]==x and v[M-1]!=x) return M;
else if (v[M] < x) L = M+1;
else R = M-1;
}... | [
"abone9999@gmail.com"
] | abone9999@gmail.com |
a4a0ae40973591591299cf83b585a7a854f2bbfd | 9055c093cd4ba9ab67470fd40d1ef13330f42492 | /Source/Client/ClientMain.cpp | 55310769e14daa5cfdd432e26fe95fedf25fbfbb | [] | no_license | webdes27/LoongSource | 379875f51df0c9d9753515f1952d5f11afdc7dec | 6c248e3340788041714c3006906e704dd5853f71 | refs/heads/master | 2022-01-10T18:38:11.764963 | 2019-06-06T12:33:52 | 2019-06-06T12:33:52 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 39,646 | cpp | //-----------------------------------------------------------------------------
//!\file ClientMain.cpp
//!\author Lyp
//!
//!\date 2008-03-27
//! last 2008-03-27
//!
//!\brief 龙客户端
//!
//! Copyright (c) 2008 CTCRST Entertainment All rights reserved.
//-------------------------------------------------------------------... | [
"prihodko@dlit.dp.ua"
] | prihodko@dlit.dp.ua |
2938c0cd1613028516786a21709d527a58f0c436 | a6d15c19698025ee007ed6b7b258a4de9eca40d2 | /softwarecontest/src/GameLobby.h | 52de347b2d18661bb8e998d37e4a04dae6d7823f | [] | no_license | dougreichard/software-contest-2013 | 109910cf837cc9ee46e1f3d8569b2086df49e62a | ec4c3ebae22f9530da8ebc4de280d8d3fd5da338 | refs/heads/master | 2021-01-13T02:10:37.063244 | 2013-02-28T17:10:37 | 2013-02-28T17:10:37 | 8,271,942 | 0 | 0 | null | 2023-08-29T18:19:55 | 2013-02-18T16:12:57 | C | UTF-8 | C++ | false | false | 408 | h | #pragma once
#include "Socket.h"
#include <list>
using namespace std;
class GameClient;
class GameLobby: public ServerSocket {
public:
void leave(GameClient* client);
GameClient* getPlayerByName(string name);
list<GameClient*>& getClients();
protected:
virtual ClientSocket* AllocClient();
virtual void OnString(... | [
"doug.reichard+github@gmail.com"
] | doug.reichard+github@gmail.com |
5e847d96a7f6a94f047277bfa05bb2cae1f1f572 | f8b5a550831d0e7a701be12b991ec037703118d7 | /include/JoSIM/VoltageSource.hpp | 6301549c082cdd7cd6b5341db8aec0aed4a204e0 | [
"MIT"
] | permissive | JoeyDelp/JoSIM | 37c54aa0c51595d72a472d83878204328cfc412d | 8818fcef6cd192ac7e0be6dbce89af611b64ad6f | refs/heads/master | 2023-08-31T00:04:42.941902 | 2023-08-10T13:06:34 | 2023-08-10T13:06:34 | 124,359,635 | 56 | 26 | MIT | 2023-02-05T16:21:18 | 2018-03-08T08:18:50 | C++ | UTF-8 | C++ | false | false | 1,029 | hpp | // Copyright (c) 2021 Johannes Delport
// This code is licensed under MIT license (see LICENSE for details)
#ifndef JOSIM_VOLTAGESOURCE_HPP
#define JOSIM_VOLTAGESOURCE_HPP
#include <optional>
#include <unordered_map>
#include <unordered_set>
#include <vector>
#include "JoSIM/BasicComponent.hpp"
#include "JoSIM/Functi... | [
"joeydelp@gmail.com"
] | joeydelp@gmail.com |
a7543702cd41752d9089994e0ac5d9428da87aeb | a44a67ae800e785b9cd2d677668836d8564df0c5 | /android-jni/jni/boost/variant/variant.hpp | b623baae5bfb003324241eb7e8b9349ea9d54a6f | [
"MIT"
] | permissive | thanghoang/S3ORAM | a6809dfb98fdbf0089e6b1c01eb4a8476852668e | ae524107508c03ec45a37b388f069cd8c40242a9 | refs/heads/master | 2022-11-02T08:03:28.101304 | 2022-10-24T20:55:08 | 2022-10-24T20:55:08 | 101,727,862 | 20 | 9 | MIT | 2022-10-24T20:53:47 | 2017-08-29T06:38:10 | C++ | UTF-8 | C++ | false | false | 66,748 | hpp | //-----------------------------------------------------------------------------
// boost variant/variant.hpp header file
// See http://www.boost.org for updates, documentation, and revision history.
//-----------------------------------------------------------------------------
//
// Copyright (c) 2002-2003
// Eric Fri... | [
"hoangmin@oregonstate.edu"
] | hoangmin@oregonstate.edu |
1b0292027478508c23a78592152c180e6d08c8a9 | 6b40e9dccf2edc767c44df3acd9b626fcd586b4d | /NT/inetsrv/intlwb/chs2/src/wordlink.cpp | 023436287d63b36650a338a2e3630feb248d6ef0 | [] | no_license | jjzhang166/WinNT5_src_20201004 | 712894fcf94fb82c49e5cd09d719da00740e0436 | b2db264153b80fbb91ef5fc9f57b387e223dbfc2 | refs/heads/Win2K3 | 2023-08-12T01:31:59.670176 | 2021-10-14T15:14:37 | 2021-10-14T15:14:37 | 586,134,273 | 1 | 0 | null | 2023-01-07T03:47:45 | 2023-01-07T03:47:44 | null | UTF-8 | C++ | false | false | 25,843 | cpp | /*============================================================================
Microsoft Simplified Chinese Proofreading Engine
Microsoft Confidential.
Copyright 1997-1999 Microsoft Corporation. All Rights Reserved.
Component: Word and WordLink
Purpose: Define the CWord and CWordLink classes
Us... | [
"seta7D5@protonmail.com"
] | seta7D5@protonmail.com |
0de461b0ebd370c5b192af2b7a626a2e7f00d00a | 9a042e84901ae0f9cfa034964ae6379800ec196d | /hydrogenMusic/lyrics.h | aefd0025e38cc8085aa0f7ee7217a4fb960c35af | [] | no_license | 375187588/hydrogenMusic | 8f57ad918ccc7e5af87440c85c15a7181f13a5bf | 030d0f0e7c083633ab5fa69d56560cc73e5b0bfd | refs/heads/master | 2022-01-12T17:27:18.131845 | 2019-05-25T22:40:51 | 2019-05-25T22:40:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,608 | h | #ifndef LYRICS_H
#define LYRICS_H
#include <QObject>
#include <QQmlListProperty>
#include <string>
#include <QVariant>
const int MAX_LYRCE_REPEAT_NUM = 10;
class Lyric:public QObject
{
Q_OBJECT
Q_PROPERTY(QList<QString> header READ header)
Q_PROPERTY(int lineNum READ lineNum)
Q_PROPERTY(QList<QString>... | [
"root@localhost.localdomain"
] | root@localhost.localdomain |
d4af0963b36c3c3f3399f248cade0fb43357c057 | 9e61c2390580b6982cf08a6417e29d69a6acb600 | /973_K_Closest_Points_To_Origin/heap.cpp | 2e41ebfbbfc19f9877a77f7e1fdc86529b94b511 | [] | no_license | acnokego/LeetCode | 3027e1987cee4d130c9db7e2af4ec4de8a0f43bd | 3e04e79e05ffcaf423d5a148668e132ee090596f | refs/heads/master | 2021-06-07T02:39:57.956371 | 2019-11-30T03:45:29 | 2019-11-30T03:45:29 | 133,643,518 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 822 | cpp | class Solution {
public:
/*
* Complexity: O(nlgk)
* Space: O(k)
*/
struct compare {
bool operator()(const vector<int>& p1, vector<int>& p2){
long dist1 = p1[0] * p1[0] + p1[1] * p1[1];
long dist2 = p2[0] * p2[0] + p2[1] * p2[1];
return dist1 < dist2;
... | [
"yuandychen@gmail.com"
] | yuandychen@gmail.com |
d18c0a35b2c4d9f6920fcdb7a9ed8f59591b0f49 | e13580c8245c231f80418a9711c4a1aff15e87b0 | /Code/sieve.cpp | 5743cfac88d04ef42966d3379df8e40c96727c23 | [] | no_license | YsHaNgM/PrimeSieveCXX | ddc4046d67ca816ec55c54741369ef7c939272d0 | 8d7c3558db49ef091d523edf0c8963626ab10433 | refs/heads/master | 2022-12-31T09:32:48.096246 | 2020-10-21T11:25:17 | 2020-10-21T11:25:17 | 305,846,470 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,803 | cpp | #include <algorithm>
#include <chrono>
#include <cmath>
#include <iostream>
#include <memory>
#ifdef _OPENMP
#include <omp.h>
#endif
//#define NDEBUG
// See README.md for instructions and information.
using ptr = std::shared_ptr<int[]>; // gcc-7 is needed, for shared_ptr [] operand c++17 P0414R2
void filter(int &coun... | [
"ysh788@gmail.com"
] | ysh788@gmail.com |
845ffc28f988493fbad2093a0bb7897daf840456 | 3f07e0443a505b33f1862c1e30672f72efd932e6 | /systems/reachnn_benchmark_6_tora_tanh_symbolic_remainder.cpp | caa342dbd42fa6e4edea90d8d65ad4d411dac000 | [] | no_license | ChaoHuang2018/Real-time-Monitoring-for-NNCS | 332a53e99f9d0288cde10867dd3a242fd010c5db | 975e0f836440893f7839751f88e815e10f31498b | refs/heads/main | 2023-05-09T13:45:14.953419 | 2021-06-02T13:48:48 | 2021-06-02T13:48:48 | 304,783,341 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,662 | cpp | #include "../flowstar-template/Continuous.h"
#include "../NNTaylor.h"
#include "../domain_computation.h"
#include "../dynamics_linearization.h"
using namespace std;
using namespace flowstar;
int main(int argc, char *argv[])
{
intervalNumPrecision = 600;
// Declaration of the state variables.
unsigned int numVars ... | [
"thomashuangchao@gmail.com"
] | thomashuangchao@gmail.com |
9326e7c7f1df0cbdb675cb90aa603e656d143fb5 | e3dbb5424ac55ed2cbdde92be998dee4571ebceb | /math/gvec.tpp | 4b92463a6993934ac6f75df8c3e74805b7691583 | [] | no_license | ralismark/sd1 | c027b8ead3465493dbd8c3474025cc0019546337 | 6290604bfa4dabc5d3183af6806b8d2a5ec18967 | refs/heads/master | 2021-08-19T11:52:10.966848 | 2017-01-02T11:14:08 | 2017-01-02T11:14:08 | 112,053,737 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,811 | tpp | #pragma once
#include "gvec.hpp"
template <typename T, size_t N>
gvec<T, N>::gvec(T init)
{
for(size_t i = 0; i < N; ++i) {
vals[i] = init;
}
}
template <typename T, size_t N>
gvec<T, N>::gvec(std::initializer_list<T> il)
{
auto it = il.begin();
for(size_t i = 0; i < il.size() && i < N; ++i) {
vals[i] = *it+... | [
"timmy.yao@outlook.com.au"
] | timmy.yao@outlook.com.au |
06c6ad3183830022793d51e6c12d3d5bfafa41a1 | c459ada4ee8a006f244757d9b14eaccc2f897c4f | /src/demo_apps/server/main.cc | b6fdb872bc1e64f5ad2512cf1a2cd0cd2d6d3fb4 | [
"Apache-2.0"
] | permissive | rrozestw/smf | 56133b24aab55847d53578dfbb186074c06e538f | 1dafa1ed529134fd81e504129356cb252694a80f | refs/heads/master | 2021-04-28T11:14:12.385041 | 2018-02-16T04:08:11 | 2018-02-16T23:46:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,939 | cc | // Copyright (c) 2017 Alexander Gallego. All rights reserved.
//
#include <chrono>
#include <iostream>
#include <core/app-template.hh>
#include <core/distributed.hh>
#include "histogram/histogram_seastar_utils.h"
#include "histogram/unique_histogram_adder.h"
#include "platform/log.h"
#include "rpc/filters/zstd_filte... | [
"gallego.alexx@gmail.com"
] | gallego.alexx@gmail.com |
2628725c8e745160e3e3d3c5056655a026406fdb | cce2be08daabedee6a6001e371df3f79d754c6d0 | /virtual function.cpp | 2c5c970840f982bae281cfd7ec21432b78b5a441 | [] | no_license | AnshTrehan/old-C-CPP-codes | 9a9fdac6a5bd3985ee8df900a66f55e2a48f90cd | 0b8dd8117f4fd8ea2e4184aacdc73fe3ff57d2ae | refs/heads/master | 2022-11-30T13:18:42.708708 | 2020-08-17T05:28:10 | 2020-08-17T05:28:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 491 | cpp | #include<iostream>
#include<conio.h>
using namespace std;
class base
{
public:
int a;
void virtualshow()
{
cout<<"\nHello base class";
cout<<a;
}
};
class derived: public base
{
public:
int b;
void show()
{
cout<<"\nHello derived class";
cout<<b;
}
};
int ... | [
"anshtrehan@gmail.com"
] | anshtrehan@gmail.com |
ec24f045a4dabd4e7ffd8f7a192bb82b3cd08a56 | 1c317570632645effae4558ea1dcaf05531b997f | /HotGain/Source/PluginProcessor.cpp | 92bada3398ee2df534e0b165dd013d3da9880bf2 | [] | no_license | ashtonmills/HotGain | 8695f552e887db9a9c14709804b711415bc63c20 | d198f3144b4835b583d48b47bdf9a0f49358d048 | refs/heads/master | 2020-07-27T13:23:16.375136 | 2019-09-17T16:32:58 | 2019-09-17T16:32:58 | 209,104,394 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,525 | cpp | /*
==============================================================================
This file was auto-generated!
It contains the basic framework code for a JUCE plugin processor.
==============================================================================
*/
#include "PluginProcessor.h"
#include "Plugi... | [
"ashton-mills@outlook.com"
] | ashton-mills@outlook.com |
d06b4f02bf9d1e0578cb7fdb10cd8341d137c130 | f113b7f7695bf2f5c09e5e8afb28cc99ee06c63a | /include/DOTk_NonlinearCG/DOTk_LiuStorey.hpp | ecebe0aba8fcf8d466cfb6da62021cf5a5141aa0 | [] | no_license | maguilo11/locus | 501a074a12e260e2b9f0940a6eb389ad36aefb89 | cbf926808493c621893cc11f124f813b9e0fcbde | refs/heads/master | 2021-09-24T21:35:27.503003 | 2018-10-15T02:58:38 | 2018-10-15T02:58:38 | 72,475,433 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,153 | hpp | /*
* DOTk_LiuStorey.hpp
*
* Created on: Sep 12, 2014
* Author: Miguel A. Aguilo Valentin
*/
#ifndef DOTK_LIUSTOREY_HPP_
#define DOTK_LIUSTOREY_HPP_
#include "DOTk_DescentDirection.hpp"
namespace dotk
{
class DOTk_OptimizationDataMng;
template<typename ScalarType>
class Vector;
class DOTk_LiuStorey : pu... | [
"aguilo.miguel@gmail.com"
] | aguilo.miguel@gmail.com |
a57716e8c60118153d20347c8b2e293f49a1e3fe | d01dc4b327e33816ac2ce2af40945a721f7b5854 | /aws-cpp-sdk-imagebuilder/include/aws/imagebuilder/model/ListImageRecipesResult.h | 02072cc97ea230cd7d664c9b589d793fb45f19a9 | [
"MIT",
"Apache-2.0",
"JSON"
] | permissive | hpcc-systems/aws-sdk-cpp | 36f89272e3b140fea596c73234c09fb240f86520 | 9c93f28159e1e01ea3ef789a1b0c2c9643955c96 | refs/heads/master | 2022-07-17T05:18:08.190972 | 2020-10-19T20:59:11 | 2020-10-19T20:59:11 | 90,974,127 | 0 | 1 | Apache-2.0 | 2022-06-30T14:47:34 | 2017-05-11T11:58:14 | C++ | UTF-8 | C++ | false | false | 6,310 | h | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/imagebuilder/model/Image... | [
"aws-sdk-cpp-automation@github.com"
] | aws-sdk-cpp-automation@github.com |
60206d4a638ea746cdbcad325bd4dce25a74dfc8 | ef5c199ad0b4d2bb6da40005c2babf84fe29fd60 | /DatabaseConnector.h | 09c5ec29f0f32d489c3250cde81e0d80c8652f5f | [] | no_license | SkyZoThreaD/Organizer | bd54b5a7367f016b1cbed4e3f50771b0f64e06a3 | d22bf4d24fdb2c22143f257e5d3094332d0fae04 | refs/heads/master | 2021-04-12T01:58:05.686980 | 2018-03-26T15:30:32 | 2018-03-26T15:30:32 | 125,854,685 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 986 | h | /* Standard C++ includes */
#include <stdlib.h>
#include <iostream>
/*
Include directly the different
headers from cppconn/ and mysql_driver.h + mysql_util.h
(and mysql_connection.h). This will reduce your build time!
*/
#include "mysql_connection.h"
#include <cppconn/driver.h>
#include <cppconn/exception.h>
#i... | [
"skyzothread@gmail.com"
] | skyzothread@gmail.com |
a3a708fc5dc4686a629f4f99cb755b07f5d564c6 | dc7b248286b79ebd7787208d4357b1a4a18aa45c | /PWGGA/PHOSTasks/PHOS_Run2/AliAnalysisTaskPHOSEmbedding.cxx | 5f6c52e004e53984e3d82ba87b2715cb71fb93d8 | [] | no_license | mfloris/AliPhysics | d73cb4fa1fd136b84abf96e5d53a6147864b40ac | 20c8b26f77b8f2f42c17e71f07230bb89fb8d505 | refs/heads/master | 2021-01-23T02:04:47.991147 | 2017-12-08T10:46:20 | 2017-12-08T10:46:20 | 85,959,803 | 0 | 0 | null | 2017-03-23T14:32:47 | 2017-03-23T14:32:47 | null | UTF-8 | C++ | false | false | 33,912 | cxx | #include <stdio.h>
#include <iostream>
#include "TChain.h"
#include "TTree.h"
#include "TObjArray.h"
#include "TClonesArray.h"
#include "TRandom3.h"
#include "TGrid.h"
#include "TROOT.h"
#include "AliInputEventHandler.h"
#include "AliAnalysisManager.h"
#include "AliAnalysisTaskSE.h"
#include "AliAnalysisTaskESDfilter... | [
"daiki.sekihata@cern.ch"
] | daiki.sekihata@cern.ch |
aa04f826af9d3780f4623c24ac2e1f6b1f1e3710 | 4b62193204d4e2694fa52a8edae6c0542503e2c7 | /abserv/abserv/InteractionComp.cpp | 87c988a1bdd1d96a8eebaf50d0b46cb9ba7d8963 | [
"MIT",
"CC-BY-4.0"
] | permissive | blockspacer/ABx | 67a216772cc5cf235a50e149969c6d668641bb4d | 39b5f3be0406b7c2957c0496e41f902478dc2cb0 | refs/heads/master | 2023-01-03T04:12:28.223454 | 2020-10-26T08:34:53 | 2020-10-26T08:34:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,074 | cpp | /**
* Copyright 2020 Stefan Ascher
*
* 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, publish,... | [
"sa@0x2a.wtf"
] | sa@0x2a.wtf |
f5f2b19b623ecda00a3c5695eba37543a2b186a1 | b5a9d42f7ea5e26cd82b3be2b26c324d5da79ba1 | /tensorflow/stream_executor/gpu/gpu_diagnostics.h | 5b786b9c85a516ddcc85f4f08c81fa65aba92256 | [
"Apache-2.0"
] | permissive | uve/tensorflow | e48cb29f39ed24ee27e81afd1687960682e1fbef | e08079463bf43e5963acc41da1f57e95603f8080 | refs/heads/master | 2020-11-29T11:30:40.391232 | 2020-01-11T13:43:10 | 2020-01-11T13:43:10 | 230,088,347 | 0 | 0 | Apache-2.0 | 2019-12-25T10:49:15 | 2019-12-25T10:49:14 | null | UTF-8 | C++ | false | false | 3,995 | h | /* Copyright 2019 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 ... | [
"v-grniki@microsoft.com"
] | v-grniki@microsoft.com |
f301fb9996382476128ec41dd645c2f3f477a75c | 1f1cc05377786cc2aa480cbdfde3736dd3930f73 | /xulrunner-sdk-26/xulrunner-sdk/include/nsISerializable.h | bb9f9b6d98852432c046961d5bef48281445c01c | [
"Apache-2.0"
] | permissive | julianpistorius/gp-revolution-gaia | 84c3ec5e2f3b9e76f19f45badc18d5544bb76e0d | 6e27b83efb0d4fa4222eaf25fb58b062e6d9d49e | refs/heads/master | 2021-01-21T02:49:54.000389 | 2014-03-27T09:58:17 | 2014-03-27T09:58:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,124 | h | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/m-cen-l64-xr-ntly-000000000000/build/xpcom/ds/nsISerializable.idl
*/
#ifndef __gen_nsISerializable_h__
#define __gen_nsISerializable_h__
#ifndef __gen_nsISupports_h__
#include "nsISupports.h"
#endif
/* For IDL files that don't want to include root IDL f... | [
"luis@geeksphone.com"
] | luis@geeksphone.com |
27e829b521be49a518d3851f090e485a1034b8e1 | cdd45cad8525c94b8beb1b3e75c76b3c870ab084 | /chapter2/splitting_num.cpp | 0519b4b0011381435361939a09212a1d77bf85b7 | [] | no_license | kyro1202/Competitive-Programming-3 | 4fcf4e5516c83ce7dbfcb9084a6fa8e23b7d9dfe | 1e1e784fac3f3db9117ebabca0486b0edffe149d | refs/heads/master | 2021-03-22T00:16:20.365660 | 2018-06-06T05:02:07 | 2018-06-06T05:02:07 | 101,572,720 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 577 | cpp | #include <bits/stdc++.h>
using namespace std;
int main()
{
bitset<31> a,b;
int count; long int n;
while(true)
{
count = 0;
cin >> n;
if(!n)
break;
bitset<31> inp(n);
a.reset(); b.reset();
for(int i = 0 ; i < inp.size() ; i++)
{
... | [
"shivishiva2012@gmail.com"
] | shivishiva2012@gmail.com |
14f71bbf1f000a76b5e92c4b20a4ad45845f4240 | 1ede0ec505f59698f44ec45119d9af72187e4ffa | /Header/Game.h | 14d26ba945eaf928637811c212046cbcccaa6e2a | [] | no_license | terepaii/Graverted | 81cb1dc26b459edc66b19b071a43252342e5a015 | 111cacca03beec60c7e76652d62967df3371657a | refs/heads/master | 2021-01-23T06:54:23.541665 | 2013-05-18T14:38:12 | 2013-05-18T14:38:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 768 | h | #ifndef GAME_H_
#define GAME_H_
#include "ScreenManager.h"
#include "SplashScreen.h"
#include "CreditsMenu.h"
#include "InputHandler.h"
class Game
{
public:
Game();
~Game();
static const enum GameState{SPLASH,
MAINMENU,
LEVEL1,
LEVEL2,
LEVEL3,
CREDITS,
GAME_OVER,
... | [
"danielkeohane4823@gmail.com"
] | danielkeohane4823@gmail.com |
e83863de74916659186770d163df3f85dce7ea9c | bfdfcb02edd4d792ab9888bcf0809036d919fc4e | /include/scenes/createAccountScene.h | 03af274395e191dcd27bcca3f51f0688bf0ac4fe | [] | no_license | Krosser22/MultiplayerClient | 67c6f3f4b76c803d393e993e2f8f8203c2336955 | da12c323abf27efbe98c0ecdfe39b71662e0f477 | refs/heads/master | 2021-01-09T05:25:40.708269 | 2017-01-12T23:56:42 | 2017-01-12T23:56:42 | 80,764,872 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 568 | h | /**
*** ////////////////////////////////////////////
*** /////Autor: Juan Daniel Laserna Condado/////
*** /////Email: S6106112@live.tees.ac.uk /////
*** ///// 2016-2017 /////
*** ////////////////////////////////////////////
**/
#ifndef __CREATE_ACCOUNT_SCENE_H__
#define __CREATE_ACCOUNT_SCENE_... | [
"condadodaniel@hotmail.com"
] | condadodaniel@hotmail.com |
d97eaa94404f0339316e46074772b9f1654abf3c | b71556aee4654b48e91ba8124a3a8ded26de273e | /contest/ICPC/The 2019 Asia Yinchuan First Round Online Programming/F.cpp | f58df17363548d51da30abf67d231785e5243b44 | [] | no_license | young-zy/algorithm | 0255a327390c6b149870b34fbd34816dc002e82e | 536eddd9a6bc03e81c566afa05c53f555eb14a86 | refs/heads/master | 2021-07-23T07:23:29.929221 | 2020-04-23T16:33:28 | 2020-04-23T16:33:28 | 149,439,464 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,015 | cpp | #include<bits/stdc++.h>
#define endl "\n"
#define INF 0x3f3f3f3f
using namespace std;
int a[205];
int d[205][205];
int main(){
ios_base::sync_with_stdio(false);
cin.tie(NULL);
int t;
cin>>t;
for(int te = 0; te < t ; te++){
int n,q;
cin>>n>>q;
for(int i = 1; i<=n ; i ++){
... | [
"youngzhaozhou@gmail.com"
] | youngzhaozhou@gmail.com |
da660e68ea0fe1b62a0f4953e5708caa08a64422 | ce99b399bead6c9a285f07d386d04a4a1c5f6bb7 | /Cookbook/4569OS_CodeBundle/Chapter04/Chapter04/Shadows/Shadows/ShadowsDoc.h | 36db4264eeead9962f03d519c6e3f8a697662009 | [] | no_license | codediy/OgreDemo | 13e97c984499330bbd733f5c7c64212324e428b4 | 6fb0ad2edde881feda040f5eb8bdf134f6ca9495 | refs/heads/master | 2020-12-05T21:44:51.348401 | 2020-01-07T06:13:00 | 2020-01-07T06:13:00 | 232,255,494 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,462 | h | // This MFC Samples source code demonstrates using MFC Microsoft Office Fluent User Interface
// (the "Fluent UI") and is provided only as referential material to supplement the
// Microsoft Foundation Classes Reference and related electronic documentation
// included with the MFC C++ library software.
// License ... | [
"zmwwork@163.com"
] | zmwwork@163.com |
019e5d90b98cf0044c34dc583a4eac6a72aabe88 | 78a483c9c75aef625bcc78bb1e9cc1edfce56127 | /sci/LinearOT/linear-uniform.h | 748d9ac458c17781b0c500e69eeb3c20d987da3f | [] | no_license | smog70151/SCI | 4cf3255e998602738ef6ca8e0a44adbfbaca8bd8 | d8819900793be5d2a95ba91a1e23be7136bc7316 | refs/heads/master | 2023-04-26T22:37:40.739371 | 2021-05-14T12:30:40 | 2021-05-14T12:30:40 | 346,612,600 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 32,980 | h | /*
Authors: Nishant Kumar
Copyright:
Copyright (c) 2020 Microsoft Research
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,... | [
"smog70151@gmail.com"
] | smog70151@gmail.com |
1194ac0326682b90ad1fea35b43cdc3e69f9905e | f31c0986ebc80731362a136f99bb6be461690440 | /src/WorkLayer/ClientCredits.h | 6bfb7cc24807bb34c24182144b38ce318dc72e2c | [] | no_license | witeyou/easyMule | 9c3e0af72c49f754704f029a6c3c609f7300811a | ac91abd9cdf35dd5bb697e175e8d07a89c496944 | refs/heads/master | 2023-03-30T16:19:27.200126 | 2021-03-26T12:22:52 | 2021-03-26T12:22:52 | 351,774,027 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,093 | h | /*
* $Id: ClientCredits.h 5577 2008-05-20 09:20:25Z huby $
*
* this file is part of eMule
* Copyright (C)2002-2006 Merkur ( strEmail.Format("%s@%s", "devteam", "emule-project.net") / http://www.emule-project.net )
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of... | [
"1171838741@qq.com"
] | 1171838741@qq.com |
b26b93ed73ef5357c27c8991e4fa248a2e95afff | 08b8cf38e1936e8cec27f84af0d3727321cec9c4 | /data/crawl/wget/old_hunk_2623.cpp | 899afdc074d208f97946109ac0e41162ab371a6a | [] | 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 | 137 | cpp | file);
if (unlink (file))
logprintf (LOG_NOTQUIET, "unlink: %s\n", strerror (errno));
register_delete_file (file);
}
| [
"993273596@qq.com"
] | 993273596@qq.com |
d48d6d859f34eef2fa3610d21d1c699df534b8c8 | 92235f47acfb1b2258d4627f92d7f87a8cd70fb9 | /viennacl/linalg/host_based/gemm_sse_micro_kernel.hpp | 0ebf03a29ec267d141af82f41f3083e4f9afeaaa | [
"MIT"
] | permissive | Fritzkefit/viennacl-dev | 2c61eda4d226f8343ff5d3c449d9fbfc4932aa58 | c1d44d77e9d6b6bac139a94def43902d10668229 | refs/heads/master | 2021-01-16T18:42:44.325976 | 2015-11-15T23:01:29 | 2015-11-15T23:01:29 | 40,937,663 | 0 | 0 | null | 2015-08-17T23:43:38 | 2015-08-17T23:43:38 | null | UTF-8 | C++ | false | false | 8,653 | hpp | #ifndef VIENNACL_LINALG_HOST_BASED_GEMM_SSE_MICRO_KERNEL_HPP_
#define VIENNACL_LINALG_HOST_BASED_GEMM_SSE_MICRO_KERNEL_HPP_
#include "viennacl/linalg/host_based/common.hpp"
#include "immintrin.h"
/* register-block sizes:
* D := double, F := float */
#define MR_D (6)
#define NR_D (4)
#define MR_F (8)
#define NR_F (8... | [
"e1125349@student.tuwien.ac.at"
] | e1125349@student.tuwien.ac.at |
36bc8de279ea2fd248a02cc85a5ff4c5fa4d5645 | 25edf5af35ca5f7d7b12846ded53a59739c1cce2 | /lab/5/testzoolist_partial/utility.h | d459a3d54449c2ff45be1950b866981827d93673 | [] | no_license | whanata/dsa-activities | 14ebb0b920a51bc23db74df9780b64eeaa2a964e | 97c4ee19f3749fd283eb5f184d680803ab1d1ba7 | refs/heads/master | 2021-01-21T12:59:36.185071 | 2016-05-03T05:39:31 | 2016-05-03T05:39:31 | 53,576,131 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 819 | h | #ifndef _UTILITY_H
#define _UTILITY_H
#include <fstream>
#include <string.h>
using namespace std;
bool readline(ifstream &fin, char *line, int linesize, char delim)
{
// the problem
// Unix ends text lines with \n
// Mac ends with \r
// Windows ends with \r\n
// getline does not include the final d... | [
"whanata@gmail.com"
] | whanata@gmail.com |
fbeabfbdbee69edc15f390c466d42586702c42ff | 7fc9d6c59c6a40d7bb3fa40a7d89f896753d25ee | /bzoj/2746.cpp | feca2b023da45ec0d7487606bc1dc60d089299b8 | [] | no_license | yzcmf/oicode | 902116f8d50c870e1a251083c6421c4563bab4fa | 69d687e267a54ca64fc957595ef5327de37c005a | refs/heads/master | 2020-07-25T14:17:00.186895 | 2016-08-08T03:07:15 | 2016-08-08T03:07:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,121 | cpp | /* BZOJ-2746: [HEOI2012]旅行问题
* AC自动机+倍增LCA */
#include <cstdio>
#include <cstring>
#include <vector>
#include <string>
#include <algorithm>
const int mod_v = 1000000007;
const int MaxN = 1000010, MaxAlpha = 26, MaxL = 20;
typedef std::vector<int> describe_t;
struct node_t
{
int hash;
int fail, ch[MaxAlpha];
} nod... | [
"miskcoo@gmail.com"
] | miskcoo@gmail.com |
e0f34b28e8c173e98ca5e4c7e8af9d468fc9b04f | ad48248020176912cb6190c85db85bcb47201cd1 | /Loong/LoongCore/include/LoongCore/scene/components/LoongCCamera.h | 4dce3366b02d0d4d92460d5cccd2b7d0d7bf3c33 | [
"Apache-2.0"
] | permissive | carlcc/Loong | f2d77c3fa465f4e9c99c113d0c0fee35ca11d6e4 | 577e89b436eb0e5899295c95ee4587c0270cea94 | refs/heads/master | 2023-02-01T21:56:49.343306 | 2020-12-20T09:08:07 | 2020-12-20T09:08:07 | 268,041,564 | 9 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,213 | h | //
// Copyright (c) 2020 Carl Chen. All rights reserved.
//
#pragma once
#include "LoongCore/scene/LoongComponent.h"
#include "LoongRenderer/LoongCamera.h"
namespace Loong::Core {
class LoongCCamera final : public LoongComponent {
public:
explicit LoongCCamera(LoongActor* owner);
~LoongCCamera() override;
... | [
"carlmarxchen@foxmail.com"
] | carlmarxchen@foxmail.com |
0868122d064a8947679e49bfb1eeaed467fa8281 | 7d2f5e2795493e3d69eeebcd9f3d462b0ad491be | /GenXIntrinsics/include/llvmVCWrapper/IR/GlobalValue.h | 98a88f3a0834f52f616ba047e063f55ba77439db | [
"MIT"
] | permissive | zuban32/vc-intrinsics | bdfc163617de68da5c578d2c8ed5d2f3d9e57c3c | c05825063e4e0e41a8cefa8bb79f17204c2be3a5 | refs/heads/master | 2023-03-26T21:54:52.210419 | 2021-03-11T12:16:28 | 2021-03-17T15:33:21 | 274,940,100 | 0 | 0 | MIT | 2020-06-25T14:39:20 | 2020-06-25T14:39:20 | null | UTF-8 | C++ | false | false | 1,666 | h | /*===================== begin_copyright_notice ==================================
Copyright (c) 2020, Intel Corporation
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, i... | [
"konstantin.vladimirov@intel.com"
] | konstantin.vladimirov@intel.com |
2310f86450914767af4505ae6e2bea4256315c07 | 5954dd2e2efa1b7da4165136fa56b286fd9d5638 | /17_Console/Function.h | 82f5478f6a2ecccc6f64e07c97c8a598a83f22d5 | [] | no_license | zhmmmm/Public | 466b4519dafcf2b2d1c82a039006928b344248c0 | f8b895c28c7cc7b75de5492aed4da9b0702225f7 | refs/heads/master | 2020-03-30T23:58:40.450316 | 2018-10-22T14:19:43 | 2018-10-22T14:19:43 | 151,713,632 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,135 | h | #pragma once
#include <list>
//功能性
//struct Bullet
//{
// int X;
// int Y;
//};
////链表型的子弹
//std::list<Bullet> mBullet;
//if (true)//某键按下
//{
// Bullet Temp;//新建一个子弹
// Temp.X = 0;//子弹的当前位置
// Temp.Y = 0;
// mBullet.push_back(Temp);//把新建好的子弹存入链表
//}
////逻辑更新
//for (std::list<Bullet>::iterator i = mBullet.begin(); i != ... | [
"15982683979@163.com"
] | 15982683979@163.com |
a7b08f8b17266bf8e1fdda69106beb085b437b49 | 5a07933eda39f8463cc0b06087e5b875bb9293d3 | /src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_balancer_addresses.h | 9b6b259decaef1af61f151ff43301b6b2477109b | [
"Apache-2.0"
] | permissive | codeblooded/grpc | 4bd818c02b74e119dd75c4681bf9359cc696c5e2 | e11c486c6a6d6f24bc1cc4cd0cb76bce57404ca5 | refs/heads/master | 2021-06-27T20:29:38.995197 | 2020-05-11T23:26:16 | 2020-05-11T23:26:16 | 236,610,890 | 3 | 0 | Apache-2.0 | 2020-10-22T06:43:42 | 2020-01-27T22:36:20 | C++ | UTF-8 | C++ | false | false | 1,493 | h | //
// Copyright 2019 gRPC authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed t... | [
"roth@google.com"
] | roth@google.com |
56d6c4f91b0d3e1fce5c41df394692114f1067db | 8ca7e4b6a56a0a969e3ff56226ae632193b98017 | /main.cpp | 27b65e5f02fd8bfe6f254e34e7df76f487044fd3 | [] | no_license | YunkeXiao/CP-Template | af1f80618c3fc6ac43469ab8dee40bb6de765ab9 | 9d6fbf3f9b33c6fa3b2a23b68af0845a2eea1b10 | refs/heads/master | 2020-07-27T14:51:32.438272 | 2019-09-26T19:45:22 | 2019-09-26T19:45:22 | 209,131,090 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,438 | cpp | #include <bits/stdc++.h>
using namespace std;
#define vi vector<int>
#define ii pair<int,int>
#define iii pair<int,pair<int,int>>
#define vii vector<pair<int,int>>
#define vvi vector<vector<int>>
typedef long long ll;
typedef unsigned long long ull;
typedef unordered_map<ll, ll> ump;
typedef map<ll, ll> mp;
typedef ... | [
"yunke0123@hotmail.com"
] | yunke0123@hotmail.com |
91e9b3a887291fa4a79ec1346fa9d2f3bfd71a11 | 232767d21db4e52a9f76c6023f7e0cbec739b5d7 | /can/src/ServiceRequest.cc | 819a62985c9efc29cb3440d5a605f0d8b53b855f | [
"Zlib"
] | permissive | Sourabh-Pandit/cc | 27a73f1d565c5cd7149fe1eeaef9e814a2e3a79c | 73a2eef31c21c624f1c77340b05cec0ac44793c4 | refs/heads/master | 2021-02-16T02:50:44.365556 | 2020-02-16T23:27:42 | 2020-02-16T23:27:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,065 | cc | /*
* Copyright (C) 2019 Frank Mertens.
*
* Distribution and use is allowed under the terms of the zlib license
* (see cc/LICENSE-zlib).
*
*/
#include <cc/can/ServiceRequest>
#include <cc/can/ReadRequest>
#include <cc/can/WriteRequest>
#include <cc/can/ReadSegmentRequest>
#include <cc/can/WriteSegmentRequest>
#in... | [
"frank@cyblogic.de"
] | frank@cyblogic.de |
e31b1051cb8025101b392068dd7f6b40faec2b8b | e0bf5836e4f0d75b28b1f787446e655cdeeb8b03 | /files/459e.cpp | 58ca311f7641c2e736e5ab9245d255541dac15b3 | [] | no_license | arunnsit/allcodes | 3f0b73facdee06e802455c6c3fb5de7baae702c2 | 5e6a8bf3883d0c5f67dfa7cc3dc026dbb4c63a71 | refs/heads/master | 2021-01-10T13:58:24.900593 | 2017-10-03T18:11:34 | 2017-10-03T18:11:34 | 50,598,937 | 0 | 2 | null | 2019-09-30T20:16:32 | 2016-01-28T17:06:03 | C++ | UTF-8 | C++ | false | false | 843 | cpp | #include<stdio.h>
#include<algorithm>
struct node{
int u;
int v;
int w;
};
using namespace std;
bool cmp(node a,node b){
return a.w<b.w;
}
int dp[400000][3]={0};
node a[400000];
int main(){
int n,m,x,y,i,j,s=-1;
scanf("%d %d",&n,&m);
for (int i = 0; i < m; ++i)
{
scanf("%d %d %d",&a[i].u,&a[i].v,&a... | [
"arun.yad96@gmail.com"
] | arun.yad96@gmail.com |
1a8d75470e79bb69732a98508cb3ec579f00d1d7 | fc13a625638bd671c9384f6abd4b67190a766dc9 | /sources/dc-motor-state-control/src/main.cpp | 491bc7ac5d21fe5ba5f0830fa09a0e89e3b72250 | [] | no_license | Martinsoyyo/inverted-pendulum | 04ed6c271d2b376c44d74e4d9f53a99b2d32f17b | 114e5881d5d42f897228091013fced8d26882c59 | refs/heads/master | 2023-08-21T16:32:50.692889 | 2021-09-23T15:39:58 | 2021-09-23T15:39:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,319 | cpp | /**
* == Stabilizing DC motor with state control ==
*
* Cart is being controlled by state controller (x, v) based on params found by fitting the model
*
* == Hardware specification ==
* OMRON E6B2-CWZ6C pinout
* - Brown - Vcc
* - Black - Phase A
* - White - Phase B
* - Orange - Phaze Z
* - Blue - GND
*
*... | [
"zjor.se@gmail.com"
] | zjor.se@gmail.com |
aa07e0158a20af2e8b95e10247a5b473e5283305 | 510959a396e2e72eaec632c5c5f7b32f01adbdb4 | /elenasrc2/ide/historylist.h | 2694521a421d12ac936381a4fbc2fc4ac1a81307 | [
"Apache-2.0"
] | permissive | sanyaade-teachings/elena-lang | a6c700ccf0cc8186d271f2226205cdf76bf19f5d | 5b9871e654fe2e57e88931bbebcfbb5155a52247 | refs/heads/master | 2020-05-29T11:35:21.276914 | 2014-01-25T08:52:14 | 2014-01-25T08:52:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 711 | h | //---------------------------------------------------------------------------
// E L E N A P r o j e c t: ELENA IDE
// MenuHistoryList class header
// (C)2005-2011, by Alexei Rakov
//---------------------------------------------------------------------------
#ifnde... | [
"arakov@yandex.ru"
] | arakov@yandex.ru |
1818f18b558e66d09f8be62d025b0cb87f6d9f44 | c83031e047a315807f5bfbd33d93ee3f3b07b860 | /src/Swarm.cpp | cb42d635f452876ae840699a03eb17a173963bad | [] | no_license | kdloney/PriestFinalData_PhaedrasLove | ce036703901483a4c93d8bc4becdbbfa184b01ca | 3d6839a4045bd361bec91501a0ef1f3a067148a1 | refs/heads/master | 2020-03-30T18:24:05.725365 | 2014-03-04T12:26:46 | 2014-03-04T12:26:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,743 | cpp | #include "Swarm.h"
// This 'swarm' object demonstrates a simple particle system
// with 'simple harmonic motion'
swarm::swarm(){
light.setAmbientColor(ofColor(0, 0, 0));
}
void swarm::init(int nParticles, float xDis, float yDis, float zDis, float velocityDispersion, float rVal, float gVal, float bVal, float aVal){... | [
"kdloney@gmail.com"
] | kdloney@gmail.com |
17ebc2f4048cadefcab532ec4bb3f12b195b8e91 | 88137561a97490e0f9b453ee476430810bb65b46 | /LightSource.cpp | 41f6f24f325f16dce32bc0f2b4a0f1826d9d3737 | [] | no_license | Euronia/LancerDeRayons | fc3f7819b832eef6e241e4918f6a2cfe532c7c0a | e0a259d43212fd8becda8469377c7a2379feb1ef | refs/heads/master | 2021-01-01T17:22:41.260041 | 2014-06-04T12:50:31 | 2014-06-04T12:50:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 310 | cpp | #include "LightSource.h"
LightSource::LightSource(const Point& originPoint ,const Color& lightColor)
:
origin(originPoint) ,
color(lightColor)
{
}
Point LightSource::getOrigin () const
{
return origin;
}
Color LightSource::getColor () const
{
return color;
}
| [
"mouton.thibault@gmail.com"
] | mouton.thibault@gmail.com |
17f77c042acd044e8bb4cc924e65a8ea33e89715 | 3b38e11bd517ba7825bc23ad890fe0150cfd2bf2 | /src/vartypes/primitives/VarQWidget.cpp | 64037538471f0771ec4140e72e2bf0acbddac2e5 | [] | no_license | eschneeweiss/Umass_RoboCup_Logger | a1b9a7f265f8dce139e92ebb1a0c8964803ceb1c | cc2ced98c75f4c44e96754d619be5e17810c6f88 | refs/heads/master | 2020-09-21T05:42:59.737244 | 2016-10-12T19:48:53 | 2016-10-12T19:48:53 | 67,076,577 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 953 | cpp | //========================================================================
// This software is free: you can redistribute it and/or modify
// it under the terms of the GNU General Public License Version 3,
// as published by the Free Software Foundation.
//
// This software is distributed in the hope that it w... | [
"eschneeweiss@umass.edu"
] | eschneeweiss@umass.edu |
b6c9ec35c92977dc7f37ece852dcadb83b43a37a | 6ced41da926682548df646099662e79d7a6022c5 | /aws-cpp-sdk-eks/include/aws/eks/model/UpdateNodegroupConfigRequest.h | 19b88ee5ed133de7d9b8cdd0c6bdab4bb1a7364a | [
"Apache-2.0",
"MIT",
"JSON"
] | permissive | irods/aws-sdk-cpp | 139104843de529f615defa4f6b8e20bc95a6be05 | 2c7fb1a048c96713a28b730e1f48096bd231e932 | refs/heads/main | 2023-07-25T12:12:04.363757 | 2022-08-26T15:33:31 | 2022-08-26T15:33:31 | 141,315,346 | 0 | 1 | Apache-2.0 | 2022-08-26T17:45:09 | 2018-07-17T16:24:06 | C++ | UTF-8 | C++ | false | false | 13,481 | h | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/eks/EKS_EXPORTS.h>
#include <aws/eks/EKSRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/eks/model/UpdateLabelsPayload.h>
#include <aws/eks/model/Up... | [
"aws-sdk-cpp-automation@github.com"
] | aws-sdk-cpp-automation@github.com |
5e7accd26d336867e70d445869db815288a3397c | 98b6001550c19fad60975e5dac262dde561e887b | /WinAPI/lessons/lesson7_slider progress bar/main2.cpp | 945745a9a0a37d85959c17c3d5ad525a57f0a43e | [] | no_license | ArBond/ITStep | eee3998d7292ea110ee5f6fd39723cc5d7a095d8 | 8d013e349648e52c8753f94331dfe611086e57b5 | refs/heads/master | 2020-04-05T11:44:03.579526 | 2018-02-23T09:08:03 | 2018-02-23T09:08:03 | 81,499,847 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,782 | cpp | #include <Windows.h>
#include "commctrl.h"
#pragma comment(lib, "comctl32")
#include "resource.h"
#define ID_TIMER1 123
#define ID_TIMER2 124
#define ID_STATUSBAR 234
BOOL CALLBACK DlgProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
{
static HWND hPrBar;
static HWND hStatusBar;
static HWND hSlider;
sta... | [
"bonartembon@gmail.com"
] | bonartembon@gmail.com |
882f535e71b4e6e6c6f70219651481f04fcd29c1 | fbbc663c607c9687452fa3192b02933b9eb3656d | /tags/1.22.02.00/unarchiver/unzip.cpp | a74bec4f2054fa517a87470d11f53c8e6749790e | [
"BSD-3-Clause"
] | permissive | svn2github/OpenMPT | 594837f3adcb28ba92a324e51c6172a8c1e8ea9c | a2943f028d334a8751b9f16b0512a5e0b905596a | refs/heads/master | 2021-07-10T05:07:18.298407 | 2019-01-19T10:27:21 | 2019-01-19T10:27:21 | 106,434,952 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,469 | cpp | /*
* unzip.cpp
* ---------
* Purpose: Implementation file for extracting modules from .zip archives, making use of MiniZip (from the zlib contrib package)
* Notes : (currently none)
* Authors: OpenMPT Devs
* The OpenMPT source code is released under the BSD license. Read LICENSE for more details.
*/
#... | [
"saga-games@56274372-70c3-4bfc-bfc3-4c3a0b034d27"
] | saga-games@56274372-70c3-4bfc-bfc3-4c3a0b034d27 |
41f148ef3f18d87dec33018d26c1dab40bebfae4 | e0d41578eb105e9d3663ac17e841963e6cfb9f1b | /client/sdl/texture_cache.cpp | 01a0fd08249e0526ad97d08fdb61300cf31cd34d | [] | no_license | azhi/Bomberman-Clone | e19b91209b7599dd5e722fc6841c2c695415c303 | 1611ea30add14b0668cf8c0b4341954228f29857 | refs/heads/master | 2020-06-04T10:57:52.141308 | 2014-05-05T23:03:03 | 2014-05-05T23:03:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,696 | cpp | #include "texture_cache.h"
#include <string>
SDL_Texture *TextureCache::destructible_texture = NULL;
SDL_Texture *TextureCache::indestructible_texture = NULL;
SDL_Texture *TextureCache::grass_texture = NULL;
SDL_Texture *TextureCache::mc_front_texture = NULL;
SDL_Texture *TextureCache::mc_back_texture = NULL;
SDL_Tex... | [
"astzhe@gmail.com"
] | astzhe@gmail.com |
4bc6c3645708f41ebf23ed954c55472e2577a86b | f6f0f87647e23507dca538760ab70e26415b8313 | /6.1.0/msvc2019_64/include/QtGui/6.1.0/QtGui/private/qimage_p.h | 6936663f666419fcd8cb6485752fc396e6bc259b | [] | no_license | stenzek/duckstation-ext-qt-minimal | a942c62adc5654c03d90731a8266dc711546b268 | e5c412efffa3926f7a4d5bf0ae0333e1d6784f30 | refs/heads/master | 2023-08-17T16:50:21.478373 | 2023-08-15T14:53:43 | 2023-08-15T14:53:43 | 233,179,313 | 3 | 1 | null | 2021-11-16T15:34:28 | 2020-01-11T05:05:34 | C++ | UTF-8 | C++ | false | false | 13,934 | h | /****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the QtGui module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** Licensees holding valid... | [
"stenzek@gmail.com"
] | stenzek@gmail.com |
06a0c641b7179d15f14c4864b479f7ff277022d7 | b297b80f99532e6aff0cb6500a1079a54b830901 | /src/Ventana.h | c93b816cfc193d8681ea1af4fe4364b946a73544 | [] | no_license | alejandro2014/game | e8076a9980d5f0b95a58dd6077b8c511ab7135f5 | 14d44dc6b0ab04fb7757574725ef47f59a314710 | refs/heads/master | 2016-09-12T23:32:24.993008 | 2016-04-14T19:27:01 | 2016-04-14T19:27:01 | 56,264,395 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 728 | h | /*
* Juego.h
*
* Created on: 22 Nov 2009
* Author: alejandro
*/
#ifndef VENTANA_H_
#define VENTANA_H_
#include "cabecera.h"
#include "Dcel.h"
#include "Ventana.h"
#include <sys/time.h>
class Ventana {
private:
GLfloat angAlfa, angBeta;
//GLfloat distancia;
SDL_Surface *screen;
int done;
//Variables r... | [
"you@fakemail.com"
] | you@fakemail.com |
9b5839ac141839f42142ef616a0b0139309fe86e | e006fa41b367201c1772a2cdf5f99deccf5ff45f | /src/plato/DynamicCompliance.hpp | afe1d0242da76efb8734f306cd0d7660526afbc3 | [
"BSD-2-Clause"
] | permissive | overfelt/lgrtk | 9ed00dc9e4d3dac82426c5a0de0b7e84c4a4fc63 | d359cc17f69c8742c5375adfe6811984b1693410 | refs/heads/master | 2020-03-31T10:12:04.527791 | 2019-01-17T00:06:26 | 2019-01-17T00:06:43 | 152,126,312 | 0 | 0 | NOASSERTION | 2018-10-08T18:22:33 | 2018-10-08T18:22:33 | null | UTF-8 | C++ | false | false | 9,047 | hpp | /*
* DynamicCompliance.hpp
*
* Created on: Apr 25, 2018
*/
#ifndef DYNAMICCOMPLIANCE_HPP_
#define DYNAMICCOMPLIANCE_HPP_
#include <memory>
#include <Omega_h_mesh.hpp>
#include <Omega_h_matrix.hpp>
#include <Teuchos_ParameterList.hpp>
#include "ImplicitFunctors.hpp"
#include "LinearElasticMaterial.hpp"
#inclu... | [
"daibane@sandia.gov"
] | daibane@sandia.gov |
80001fa9dcaa70301d86206a1a0a3c840c716d11 | bfa4a77fe5ccc95c6417642da7d6f886d49bd797 | /src/integrators.cpp | cf589145c9daa39df6b989b78928c910ab57b4cc | [
"MIT"
] | permissive | FerryT/SiCGp2 | d3b73e0ce114217efd6aba71b88837b2dc10deb3 | 45a2c821c61a46fe4efe8d30f883b774abf45cec | refs/heads/master | 2021-01-17T19:52:44.070766 | 2016-07-11T00:39:30 | 2016-07-11T00:39:30 | 60,373,381 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,707 | cpp | /**********************************************************************
* Integration functionality -- See header file for more information. *
**********************************************************************/
#include "integrators.h"
namespace Sim {
//---------------------------------------------------------... | [
"f.timmers@student.tue.nl"
] | f.timmers@student.tue.nl |
ac892e2d4298a4cf99f4948332d4056baacc2be0 | 0b69a011c9ffee099841c140be95ed93c704fb07 | /problemsets/SPOJ/SPOJ - BR/BALE11.cpp | fa62023f937b8bd31b1dcc4d112d52ce1986d025 | [
"Apache-2.0"
] | permissive | juarezpaulino/coderemite | 4bd03f4f2780eb6013f07c396ba16aa7dbbceea8 | a4649d3f3a89d234457032d14a6646b3af339ac1 | refs/heads/main | 2023-01-31T11:35:19.779668 | 2020-12-18T01:33:46 | 2020-12-18T01:33:46 | 320,931,351 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 919 | cpp | /**
*
* Author: Juarez Paulino(coderemite)
* Email: juarez.paulino@gmail.com
*
*/
#include <cstdio>
#include <algorithm>
#include <vector>
using namespace std;
long long mergecount (vector<int> &a) {
long long count = 0;
int i, j, k, n = a.size();
if (n <= 1) return 0;
vector<int> b(a.begin(), a... | [
"juarez.paulino@gmail.com"
] | juarez.paulino@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.