blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 7 100 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 260
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 11.4k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 17
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 80
values | src_encoding stringclasses 28
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 8 9.86M | extension stringclasses 52
values | content stringlengths 8 9.86M | authors listlengths 1 1 | author stringlengths 0 119 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
672ce4d37efa16b69ecb8dad6809cd5473a7475a | 0caf30e643f78229a7ef8742cc1d5386bc045ec1 | /programming-language/cpp/concurrency-multi-thread/thread-manage/thread-manage-8.cpp | 1ef29cdec70ad333531fd45a96856ecb42816ccd | [] | no_license | AlexiaChen/Adrasteia | feb1957dd694f79315784000c6f73f35bc5ca18f | 1b9b29d5565a41250119e42c47aa0a4a588cef9c | refs/heads/master | 2020-11-29T11:59:50.580203 | 2018-09-09T10:49:10 | 2018-09-09T10:49:10 | 87,497,591 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,686 | cpp | /*
C++ 11的线程管理
转移线程所有权
std::thread支持移动语义,就意味着线程的所有权可以在函数外进行转移
*/
#include <thread>
#include <vector>
#include <string>
#include <iostream>
static void some_function()
{
}
static void some_other_function()
{
}
//函数返回std::thread对象
std::thread f()
{
void some_function(){}
return std::thread(some_function);
}
st... | [
"brainfvck@foxmail.com"
] | brainfvck@foxmail.com |
32601aceb058a1ef3673650e82a099e794dd2d60 | 4da55187c399730f13c5705686f4b9af5d957a3f | /src/webots/nodes/WbLogicalDevice.cpp | 99123eef134ee15917ea63f49824603eda198855 | [
"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 | 1,103 | 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 |
1ff715dbbc9a09dbc6f3a060120f7a95b704e0e8 | 3185241a8d61234001b1dfa32a28e29be9bfb693 | /src/TReconTrackElement.cxx | e02c2d4d88abfdaa5b11181c580e20db06b96e2a | [] | no_license | captain-col/eventDisplay | 5c4609eb2518191576d76f057d30901f3f0be633 | 109f7755f13e3fd392d93648f24b1dc28a6b0e67 | refs/heads/master | 2021-01-20T22:14:39.264072 | 2018-07-18T20:03:58 | 2018-07-18T20:03:58 | 101,806,422 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,143 | cxx | #include "TReconTrackElement.hxx"
#include "TMatrixElement.hxx"
#include "TEventDisplay.hxx"
#include "TGUIManager.hxx"
#include <TCaptLog.hxx>
#include <HEPUnits.hxx>
#include <THandle.hxx>
#include <TUnitsTable.hxx>
#include <TReconCluster.hxx>
#include <TTrackState.hxx>
#include <THandle.hxx>
#include <TEveLine.h... | [
"clark.mcgrew@stonybrook.edu"
] | clark.mcgrew@stonybrook.edu |
343d2b719580e402d9e8caec90e034d73322d2f5 | 8a52548d886cbf4cead7c971b95977304232236a | /QtScrcpy/moc_replaythread.cpp | a89ba76d014ede38eb6fa867abe876a1dc8a00fb | [
"Apache-2.0"
] | permissive | benjamin7007/ReplayQtScrcpy | 5495dfe313ab3c219ac665130607560aed1e53a5 | 10e826077094f90a9a69f95bea7e07524fdf7791 | refs/heads/main | 2023-06-19T01:39:17.823538 | 2021-05-20T09:44:07 | 2021-05-20T09:44:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,990 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'replaythread.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.12.8)
**
** WARNING! All changes made in this file will be lost!
*******************************************************... | [
"zhouxian@zhipu-inc.com"
] | zhouxian@zhipu-inc.com |
c6623570e13a21e191c4844dd1b5a28507a9ce30 | 11fa6e6506076faea2c2411143cc53ee3852a676 | /program/cpp/test_.cpp | 810111871925bcac6b32014793a38e49e76df4a6 | [] | no_license | ZhangXinNan/LearnPractice | 5f0403ebe589018b7c2dd4f349228dd83ab5c60f | 992679f8697923712e42f8a5e68fbfedbeeda82d | refs/heads/master | 2023-08-04T11:46:51.673750 | 2023-07-22T06:37:50 | 2023-07-22T06:37:50 | 60,957,100 | 18 | 7 | null | 2022-11-02T08:11:56 | 2016-06-12T08:51:41 | Shell | UTF-8 | C++ | false | false | 327 | cpp |
#include <iostream>
using namespace std;
int test(int a) {
if ( a = 0xA | a > 12)
if (011 & 10 == a) printf("%d\n", a);
else printf("Right %d \n", a);
else printf("Wrong %d\n", a);
return 0;
}
int main() {
// int a = 014;
// int a = 0x14;
test(014);
test(0x14);
retu... | [
"zhangxin19870504@163.com"
] | zhangxin19870504@163.com |
46c4915c996979f73df630006737e141185bed9a | 2695285f1acd7c5ddf54548faf9480eb18644c54 | /CrazyArcade/CollisionManager.h | 163178c0abc029b49b821154419309097b045513 | [] | no_license | CoJang/Inha_study_API | 534bf2130bb01ab4e6c00b2a5da2dafd2d02c393 | b460d5557fd3658232b8eafd36109b596d745ed7 | refs/heads/master | 2022-12-16T19:51:01.894839 | 2020-09-22T08:36:41 | 2020-09-22T08:36:41 | 282,125,271 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 879 | h | #pragma once
#include "Player.h"
#include "Map.h"
class CollisionManager
{
private:
Player* MainChar;
Map* map;
vector<Block*> HitableBlocks;
vector<Block*> ObstacleBlocks;
vector<Item*> Items;
vector<Bomb*> OtherBombs;
vector<Player*> OtherPlayers;
public:
CollisionManager();
~CollisionManager();
void Res... | [
"bbh1039@naver.com"
] | bbh1039@naver.com |
5b61ac636fabba10f3df21231aa7d8fa7ce076a9 | bbcda48854d6890ad029d5973e011d4784d248d2 | /trunk/win/Source/Includes/QtIncludes/src/3rdparty/webkit/WebCore/page/animation/AnimationBase.h | 9fb77f9a415075ce2c6669e173eabedf391c7d5c | [
"BSD-2-Clause",
"LGPL-2.0-only",
"LGPL-2.1-only",
"MIT",
"curl",
"LGPL-2.1-or-later",
"BSD-3-Clause",
"BSL-1.0",
"Apache-2.0",
"LicenseRef-scancode-public-domain",
"Zlib",
"LicenseRef-scancode-unknown",
"LicenseRef-scancode-unknown-license-reference",
"MS-LPL"
] | permissive | dyzmapl/BumpTop | 9c396f876e6a9ace1099b3b32e45612a388943ff | 1329ea41411c7368516b942d19add694af3d602f | refs/heads/master | 2020-12-20T22:42:55.100473 | 2020-01-25T21:00:08 | 2020-01-25T21:00:08 | 236,229,087 | 0 | 0 | Apache-2.0 | 2020-01-25T20:58:59 | 2020-01-25T20:58:58 | null | UTF-8 | C++ | false | false | 10,818 | h | /*
* Copyright (C) 2007 Apple 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:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of... | [
"anandx@google.com"
] | anandx@google.com |
69f239b66538e79b8bb380804c20c8bedfd67103 | f9ca0e466af1ef6aa186225455382d8ee8689b07 | /Biblioteca/frmReserva.h | 2598f1ab1fe10ec17ccd6ecb93ec84f138239f35 | [] | no_license | YugoVtr/Sibi_Biblioteca | ea56478396f0598708d6030f0cb29f08a95c100e | 91401fe8fb670ef8625f5c43db054f472268b32a | refs/heads/master | 2020-12-02T22:36:35.575633 | 2017-07-03T22:51:19 | 2017-07-03T22:51:19 | 96,155,971 | 0 | 1 | null | 2017-07-04T13:06:59 | 2017-07-03T22:49:54 | C++ | UTF-8 | C++ | false | false | 627 | h | #ifndef FRMRESERVA_H
#define FRMRESERVA_H
#include<PersistirReserva.h>
#include<Reserva.h>
#include<Usuario.h>
#include<PersistenciaUsuario.h>
#include <Exemplar.h>
#include <PersistenciaExemplar.h>
#include <QWidget>
namespace Ui {
class frmReserva;
}
class frmReserva : public QWidget
{
Q_OBJECT
public:
e... | [
"vtrhg69@hotmail.com"
] | vtrhg69@hotmail.com |
abf6bc0bc321f3aae32aa22c23faa7238b734f94 | 80a14ac108418796ebc46094466e0112b606bc51 | /Example7_PostProcessing/App1.cpp | 106ffbacbaf4ea66a94a7e105451b7a166edbcf7 | [] | no_license | dylanmcgauley/Graphics | 789c906049a8db49746e907a55db2c960a67e7d6 | 2db35bfdd086e8607c9cd045358ee70f3532932a | refs/heads/master | 2022-11-24T00:47:01.209557 | 2020-08-04T02:36:37 | 2020-08-04T02:36:37 | 284,858,494 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 24,173 | cpp | #include "App1.h"
App1::App1()
{
}
void App1::init(HINSTANCE hinstance, HWND hwnd, int screenWidth, int screenHeight, Input *in, bool VSYNC, bool FULL_SCREEN)
{
// Call super/parent init function (required!)
BaseApplication::init(hinstance, hwnd, screenWidth, screenHeight, in, VSYNC, FULL_SCREEN);
// call all in... | [
"dylanmcgauley@hotmail.co.uk"
] | dylanmcgauley@hotmail.co.uk |
98a810a91eeecfcf97f314b4c244c737af9961ff | 76171660651f1c680d5b5a380c07635de5b2367c | /SH6_43_msh4/0.12/phi | d2d729311bbc0452933a943afc66d0fe904b8952 | [] | no_license | lisegaAM/SH_Paper1 | 3cd0cac0d95cc60d296268e65e2dd6fed4cc6127 | 12ceadba5c58c563ccac236b965b4b917ac47551 | refs/heads/master | 2021-04-27T19:44:19.527187 | 2018-02-21T16:16:50 | 2018-02-21T16:16:50 | 122,360,661 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 531,979 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 3.0.x |
... | [
"alexmayes@gmail.com"
] | alexmayes@gmail.com | |
b11a07662d83d8aa8cf00f5f42a2a9b7e22969cd | 5ca12adee11309588588cd2c031bb5c6690b6e2a | /067_add_binary.cpp | 1f9ad65e0a05aa128a2439e894a0cf30c4686727 | [] | no_license | zixuan-zhang/leetcode | 7b701efa4ec92e7923357a9ed274d601840b3625 | f7704a17606471202aad811db913da8ca09bd3aa | refs/heads/master | 2020-04-03T20:54:32.250272 | 2016-09-30T07:29:28 | 2016-09-30T07:29:28 | 40,873,801 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,548 | cpp | /*******************************************************************************
* @File : 067_add_binary.cpp
* @Author: Zhang Zixuan
* @Email : zixuan.zhang.victor@gmail.com
* @Blog : www.noathinker.com
* @Date : 2015年12月29日 星期二 20时52分11秒
******************************************************************... | [
"zixuan.zhang.victor@gmail.com"
] | zixuan.zhang.victor@gmail.com |
1e0e355418866055d9b5067b1d7749b4acda7022 | 781a4dbd7b047337d819a3968a699b3b8b280c44 | /Yama-core/src/scene/GameObject.h | 9a43f251c5179ff5f2aade1abfc894e6574ffd5f | [] | no_license | Makamitsu/YamaNG | 81fe8ef42bd4560f13e670abb6a0a0a3285fe4d8 | 14f7a34ad5af86b5f051c87d80a6f85122fa5b85 | refs/heads/master | 2020-03-11T11:27:24.745451 | 2018-05-17T20:35:59 | 2018-05-17T20:35:59 | 129,970,094 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 355 | h | #pragma once
#include <string>
#include <vector>
#include <unordered_map>
#include "Componant.h"
class Model;
class Transform;
class GameObject{
private:
public:
std::unordered_map<std::string, Componant> componants;
GameObject* parent;
std::vector<GameObject*> childs;
Model* model;
Transform* transform;
... | [
"augustin.ambiehl@FRTLSDT86"
] | augustin.ambiehl@FRTLSDT86 |
24968f8cb789e46f4255e2d7265e8b63926cf8ae | 39acc2eb86d2eed8d9e8c9c778fc1235bfb07ba4 | /test/include/test-stable.hpp | 52389f42d841b762be99a1ac0b6060737b2ade26 | [
"MIT"
] | permissive | Kartonagnick/tools-features | 773f8c4cb8f0c81dd8e7b86e8ab7dc0d0b75423a | a3662f165f796751cabe1f0703f0f0316cace647 | refs/heads/master | 2023-06-12T01:50:43.438534 | 2021-06-01T17:00:00 | 2021-06-01T17:00:00 | 368,644,407 | 0 | 0 | MIT | 2021-05-20T20:59:13 | 2021-05-18T19:26:07 | C++ | UTF-8 | C++ | false | false | 1,671 | hpp | // [2020y-06m-01d][20:00:00] Idrisov Denis R. 003
// [2020y-05m-21d][02:00:00] Idrisov Denis R. 002
// [2020y-05m-19d][23:00:00] Idrisov Denis R. 001
#pragma once
#ifndef dTEST_DEVELOP_USED_
#define dTEST_DEVELOP_USED_ 002
//======================================||==================||==================
//===== modern... | [
"CastleOfDreams@yandex.ru"
] | CastleOfDreams@yandex.ru |
3b459005fc6d1da64c6d3e436c00fdd04c8964d1 | 22631e8a445eb97e88c716009afb00f702223e58 | /Sources/Game/AudioDriver/AudioDriver_Adx2le.cpp | c1186cf19e2b3723574cd809a9df52a4083601c3 | [] | no_license | OrangeCocoa/Prizm_with_SoLoud | 38c00f8377b8ad0a6fff645268faaa02bef855ed | 320c33b37c3e91e8a31c15db95485df209e6c7ba | refs/heads/master | 2020-04-21T11:34:55.670260 | 2019-02-19T11:03:33 | 2019-02-19T11:03:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 179 | cpp |
#include"AudioDriver_Adx2le.h"
#include"..\Resource.h"
namespace Prizm
{
const std::string path = RESOURCE_DIR + "Sounds/";
const std::string acf_file_name = "Prizm.acf";
} | [
"shoheyhey1111@yahoo.co.jp"
] | shoheyhey1111@yahoo.co.jp |
69f0983accd0710ae7e76b97a7f35e1c1050b34c | 618c5219012b89415e749a5027b77eb8c0d71c5a | /OpencvTest_static/camera_save_to_avi/camera_save.cpp | 482f04e34e12a8896dde2d26b3b503c04e3f78e9 | [] | no_license | heroinlin/OpencvTest | b9ea6b075c0a9da4a869cb08e6c2e1ee595d1b1d | 9c73782f371998707f0e19a3ef1f3986e1fd304c | refs/heads/master | 2021-01-19T04:27:49.643545 | 2017-03-31T03:03:00 | 2017-03-31T03:03:00 | 61,783,487 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,086 | cpp | #include "cv.h"
#include "highgui.h"
#include <stdio.h>
#include <ctype.h>
#include <time.h>
/*
视频录像,截取视频片段,截图
无参数则打开外部摄像头,附加视频路径则打开本地视频
按下'r'键进行录像,重新按下退出录像功能
鼠标在视频窗口点击保存当前帧图像
*/
IplImage *frame = 0;
int button_down_count = 0;
void mouseHandler(int event, int x, int y, int flags, void *param);
int main(int argc, cha... | [
"linjian@shichazhe.com"
] | linjian@shichazhe.com |
b32b292493d8152ba8a7ed4bd11492c91317a0ae | 994a028690528ac4af66b926c31c16be250b479b | /uclibc++/zk_full/jni/activity/networkSetting3Activity.cpp | 5a437c698551b1d0550c54c453fe43265e0a3c76 | [] | no_license | aaron201912/UuidSSDPlayer | da9e3f6e377c7333d963c5bc9bc289a1e79d2e59 | 9373fe274127712621d26abadfa26240d200d508 | refs/heads/master | 2022-01-29T23:07:47.021829 | 2022-01-05T04:06:42 | 2022-01-05T04:06:42 | 246,770,538 | 7 | 15 | null | null | null | null | UTF-8 | C++ | false | false | 13,542 | cpp | /***********************************************
/gen auto by zuitools
***********************************************/
#include "networkSetting3Activity.h"
/*TAG:GlobalVariable全局变量*/
static ZKButton* mButton_show_passwdPtr;
static ZKButton* mButton_connect_connPtr;
static ZKTextView* mTextview_connect_password_titleP... | [
"koda.xu@mstarsemi.com"
] | koda.xu@mstarsemi.com |
281a38144a22cebaeab33bac39f7353680c9469a | d1570b029c9264449fd09f60ba0988a8cbd81977 | /jumping_on_couds.cpp | 5b3a8052d6f4384cd615a28503e108c897abe99e | [] | no_license | shikhar888/hackerrank | d87bb64a7d967e0457818c9848db6243aca11a58 | e3d7adf23f211c29dd52cff18896c729177a48a0 | refs/heads/master | 2020-07-09T10:49:13.079869 | 2019-11-08T09:03:47 | 2019-11-08T09:03:47 | 203,951,754 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 402 | cpp | #include <bits/stdc++.h>
using namespace std;
int main()
{
int n,k,i,e=100;
cin>>n>>k;
int c[n];
for(i=0;i<n;i++)
{
cin>>c[i];
}
i=0;
while((i+k)%n!=0)
{
i=(i+k)%n;
e--;
if(c[i]==1)
{
e=e-2;
}
}
e--;
i=(i+k)... | [
"noreply@github.com"
] | noreply@github.com |
b2b87aa00196679ec05961d793856a2765b705e4 | 7d8c3df0b4709930fb2b719d1f1de93cf2c92296 | /src/Window.cpp | 8d212f32b4bf7e76c3a9126dbe75a77da0655dda | [
"Apache-2.0"
] | permissive | elct9620/seeker | fdeca3039140d20ff9cc7284a173f033254892aa | b64a58c24b6a48469c25d94bf8f5720eaff4aa0e | refs/heads/develop | 2020-12-25T14:58:59.313704 | 2016-11-08T02:14:01 | 2016-11-08T02:14:01 | 67,684,638 | 0 | 0 | null | 2016-11-08T02:14:01 | 2016-09-08T08:36:18 | C++ | UTF-8 | C++ | false | false | 1,904 | cpp | // Copyright 2016 Zheng Xian Qiu
#include "Seeker.h"
namespace Seeker {
Window::Window() : currentWindow(NULL), renderer(NULL) {
}
Window::~Window() {
SDL_DestroyWindow(currentWindow);
delete renderer;
}
// Display Information
int Window::DISPLAY_INDEX = 0;
bool Window::displayModeLoaded = f... | [
"elct9620@frost.tw"
] | elct9620@frost.tw |
3ed7f0eb080374f894414db392264b4bb4fe4f94 | d9aec18a21a72689c955b3aff18685b0066c29e7 | /src/offlineCalibration/batchCalibration.cpp | 352eecd12ee54dfbedc69e7326bab97f7115fe52 | [
"MIT"
] | permissive | dkoguciuk/easydepthcalib | 85c5872cd8d2d09d156fb3fc199efa1977e304a5 | 01fc125868eca3310e8142de7ad060f66825fe19 | refs/heads/master | 2021-08-14T17:55:44.467538 | 2017-11-16T10:39:32 | 2017-11-16T10:39:32 | 106,438,296 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,772 | cpp | #include <opencv2/opencv.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <dirent.h>
#include <getopt.h>
#include "calibrationMatrix.h"
//=============================================================================
int pgmfilter(const struct dirent *dir)
// post: returns 1/true if name of dir ends in .mp3
{
co... | [
"maurilio.dicicco@gmail.com"
] | maurilio.dicicco@gmail.com |
bd6f050fc9edae9255ef143825ce660e755f9bfa | 9510efcbfa0e24aa6d04456597663d71be4b2273 | /tjs2/tjsOctPack.cpp | da7ca429ad6a995ae030485bf60ce78231465c01 | [
"Libpng",
"Zlib",
"LicenseRef-scancode-warranty-disclaimer",
"BSD-3-Clause",
"BSD-2-Clause-Views",
"FTL",
"Apache-2.0",
"BSD-2-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | weimingtom/krkrz_android_research | de908ee2041e885e860a17d1f1c6308ef16e59e5 | 3a79694f2095354059187e9719b5eb190752bd70 | refs/heads/master | 2021-01-19T19:03:10.450469 | 2016-01-22T09:58:31 | 2016-01-22T09:58:31 | null | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 30,398 | cpp |
#include "tjsCommHead.h"
#include <map>
#include <vector>
#include <string>
#include "tjsArray.h"
#include "tjsError.h"
namespace TJS
{
enum OctPackType {
OctPack_ascii, // a : ASCII string(ヌル文字が補完される)
OctPack_ASCII, // A : ASCII string(スペースが補完される)
OctPack_bitstring, // b : bit string(下位ビットから上位ビットの順)
OctPack_... | [
"info@kaede-software.com"
] | info@kaede-software.com |
85dd11a5d1f426eff7e3dcacac1017fc3758f2c9 | 2581ea2f47bc827b5340313c77bc90e458eccaf9 | /script.cpp | 8e774157fba3357d5f8ef6d220afeb2ab54b29eb | [] | no_license | congtrung6391/test-myers-diff | 3df6d80eb4b9a33df3a6cfb357a7b8d87fca8fc9 | 5f02fe836f4609f306a9bfbf8c4dbb258dc744fb | refs/heads/main | 2023-07-17T19:11:31.687801 | 2021-09-03T16:24:54 | 2021-09-03T16:24:54 | 402,826,553 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 768 | cpp | #include <algorithm>
#include <iostream>
#include <vector>
using namespace std;
int LIS(vector<int> a, int i, vector<int> &dp)
{
if (i == 0)
return 1;
if (dp[i] != -1)
return dp[i];
int length = 1;
for (int j = i - 1; j >= 0; j--)
{
if (a[i] > a[j])
{
l... | [
"congtrung6391@gmail.com"
] | congtrung6391@gmail.com |
14ef73626682816160cb2d85c73a6b4f4c5449a6 | 5d8e12e1eca74e5ec10d66cd7214a49b16829ed2 | /imagelistcontroller.h | 6ee7d23fd62ea9eebee14b80961756e6f7104ecc | [] | no_license | SeanMatthew/BookMaker | 40e2f254ec4966d04bc02d29fd48d463714fa87b | e7c26367a1a1ba7495c1bef8f986eff76d1cbab7 | refs/heads/master | 2021-08-08T18:19:49.022617 | 2017-11-10T21:49:31 | 2017-11-10T21:49:31 | 109,318,913 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 452 | h | #ifndef IMAGELISTCONTROLLER_H
#define IMAGELISTCONTROLLER_H
#include "imagelist.h"
#include <QObject>
class ImageListController : public QObject
{
Q_OBJECT
public:
explicit ImageListController(
ImageList *image_list, QObject *parent = 0);
ImageModel *addImage();
bool deleteI... | [
"noreply@github.com"
] | noreply@github.com |
c5f20455ecd16a1da1ae94c691e497a439d3b703 | 5dc4ea36514927efd678638e2095a4e8e32c0386 | /squid_wrap/squid_wrap_linux_codelite/wrap/pLanConn.h | 149469e425012cf7186ce504450c5414ece04815 | [
"Unlicense"
] | permissive | NPaolini/NPS_OpenSource | 732173afe958f9549af13bc39b15de79e5d6470c | 0c7da066b02b57ce282a1903a3901a563d04a28f | refs/heads/main | 2023-03-15T09:34:19.674662 | 2021-03-13T13:22:00 | 2021-03-13T13:22:00 | 342,852,203 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,211 | h | //------------------ PLanConn.h ----------------------------
#ifndef PLANCONN_H_
#define PLANCONN_H_
//-----------------------------------------------------------
#include "SocketUtil.h"
//-----------------------------------------------------------
class PLanConn
{
public:
PLanConn(LPCSTR type_helper, DWORD addr,... | [
"npaolini@ennepisoft.it"
] | npaolini@ennepisoft.it |
966299621f8bb5f1ce533013d42fbeb1ed89c58c | 768c9eb675cc3334dde0307763967f8bbc025cd0 | /lab2/lab(2_1)_zelenko/lab(2_1)_zelenko/lab(2_1)_zelenko.cpp | fd17945b12a79771ebc1bb63cb645c2f83ddcf6d | [] | no_license | paxom4ik4/labs-and-works | 13d2afd5441196fa81e00d6f284c062e2964397a | 9a4f3679f43b9579581b98f38667e4ee187cc72a | refs/heads/master | 2022-11-09T21:40:36.954585 | 2020-07-01T17:24:49 | 2020-07-01T17:24:49 | 276,439,144 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 597 | cpp | #include <iostream>
using namespace std;
int main()
{
setlocale(LC_ALL, "Russian");
cout << "Программа определит существует ли треугольник с заданными стронами" << endl;
int a, b, c;
cout << "Введите три стороны" << endl;
cout << "a: "; cin >> a;
cout << "b: "; cin >> b;
cout << "c: "; c... | [
"pasha.zelenko001@gmail.com"
] | pasha.zelenko001@gmail.com |
aac8d4f1e304fb398a645f32af617d31144109bb | d9e96244515264268d6078650fa707f34d94ee7a | /Math/PoissonSolverDetail.h | 4ffff1303f41248dbe7508056a2ea9728e6d7574 | [
"MIT"
] | permissive | xlgames-inc/XLE | 45c89537c10561e216367a2e3bcd7d1c92b1b039 | 69cc4f2aa4faf12ed15bb4291c6992c83597899c | refs/heads/master | 2022-06-29T17:16:11.491925 | 2022-05-04T00:29:28 | 2022-05-04T00:29:28 | 29,281,799 | 396 | 102 | null | 2016-01-04T13:35:59 | 2015-01-15T05:07:55 | C++ | UTF-8 | C++ | false | false | 9,135 | h | // Copyright 2015 XLGAMES Inc.
//
// Distributed under the MIT License (See
// accompanying file "LICENSE" or the website
// http://www.opensource.org/licenses/mit-license.php)
#pragma once
#include "PoissonSolver.h"
#include "Vector.h"
#include <functional>
namespace XLEMath
{
namespace PoissonSolverIntern... | [
"djewsbury@xlgames.com"
] | djewsbury@xlgames.com |
9480f4831ff8293f33df727677230ebceeb1ef0c | cb80a8562d90eb969272a7ff2cf52c1fa7aeb084 | /inletTest3/0.136/Co | 6b12d94ed05f13be25bac335b25a51225c7b0580 | [] | no_license | mahoep/inletCFD | eb516145fad17408f018f51e32aa0604871eaa95 | 0df91e3fbfa60d5db9d52739e212ca6d3f0a28b2 | refs/heads/main | 2023-08-30T22:07:41.314690 | 2021-10-14T19:23:51 | 2021-10-14T19:23:51 | 314,657,843 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 169,752 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2006 |
... | [
"mhoeper3234@gmail.com"
] | mhoeper3234@gmail.com | |
cb1c54c6a8b8241b86a78b77c47a7da585c7632d | ea065794fe1b35dbc7923d539b4f85bd41277c2b | /is_array_dominated.cc | 656174769e94d73787a8bc982c83f1a84055075c | [] | no_license | sergiovasquez122/EPI_SOLUTIONS | 6e93e98ad8b0c3b8e0e162f5e8c04b7a6b24f47f | 6e39cf2a981d34516fd1037d0ce3c65d0ebb4133 | refs/heads/master | 2022-12-09T17:55:48.066759 | 2020-08-15T01:33:50 | 2020-08-15T01:33:50 | 268,199,261 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,931 | cc | #include <algorithm>
#include <iterator>
#include <vector>
#include "test_framework/generic_test.h"
#include "test_framework/test_failure.h"
#include "test_framework/timed_executor.h"
using std::vector;
using std::sort;
class Team {
public:
explicit Team(const vector<int>& height) {
transform(begin(height), en... | [
"sergiovasquez122@gmail.com"
] | sergiovasquez122@gmail.com |
290b8e2cdf09f2a85a6b4fe6032f164f46b8e577 | 9fe2d608e47449b54fb1e35a9b671ba646fbe57c | /Mines Courses/CSCI_262/markov/markov/brute_model.h | 19676508be93aa18c0423a0bac339eab860729a0 | [] | no_license | CarsonStevens/Mines-Courses | 4ab0e4ef2fe54bdf799eef8a089a1cd980ef5772 | 1328e882e52d9eecfebc23e98cee41f49b8615dd | refs/heads/master | 2021-06-07T10:39:59.126121 | 2021-05-30T17:37:31 | 2021-05-30T17:37:31 | 164,183,386 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 840 | h | /*
CSCI 262 Data Structures, Fall 2017, Project 4 - Markov
brute_model.h
Class declaration for brute_model, the brute-force Markov text generation
model.
Author: C. Painter-Wakefield
Modified: 11/2/2017
*/
#ifndef _BRUTE_MODEL_H
#define _BRUTE_MODEL_H
#include "model.h"
#include <iostream>... | [
"carsonstevens@mines.edu"
] | carsonstevens@mines.edu |
fe9f2572e2574365e0042749eda675ff9c54c2e4 | f6a1797248747340827bf8bd234c5a9fbf287a43 | /0710/vector.cpp | 949e7b8b8c822cae0155d15e5446b3166a627c1f | [] | no_license | Andrew-liu/learn_cplusplus | b58e90ee3723610b9d59762f9300b5598d89e00d | d5f0f4a40a6d7155a0a2746ec6acf1dcde1012eb | refs/heads/master | 2016-09-05T22:38:42.123786 | 2014-08-07T06:53:51 | 2014-08-07T06:53:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 992 | cpp | #include <iostream>
#include <string>
#include <vector>
using namespace std;
int main(int argc, const char *argv[])
{
//这里声明了一个int类型的空数组
//vector不是一个完整的类型,必须加上类型信息
//vector<int>才是合法的类型
vector<int> vec;
vector<string> str;
//push_back在数组后面追加元素
vec.push_back(13);
vec.push_back(13);
vec.p... | [
"xujie@ubuntu.(none)"
] | xujie@ubuntu.(none) |
448c965b640f585a6075e639ea9ea0abb0e484dc | 054b466fdd3b41a68910bc0b043e2914da431834 | /utils.cc | 3adab266537af318ce85cde07569a1eadac857cf | [] | no_license | j2meee/chess-1 | afb5030393f0598f4da5efbaceeef2d669acdaa1 | eeff7c3e2e1eed337923e90085b2934adeb9e1b5 | refs/heads/master | 2020-04-08T22:58:58.016572 | 2014-12-11T03:45:37 | 2014-12-11T03:45:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,219 | cc | #include "utils.h"
std::string utils::getTimestamp()
{
time_t now = time(0);
struct tm tstruct;
tstruct = *localtime(&now);
char buf[80];
strftime(buf, sizeof(buf), "%X", &tstruct);
return buf;
}
long long utils::getTime()
{
return std::chrono::duration_cast<std::chrono::milliseconds>(std:... | [
"stuartlneivandt@gmail.com"
] | stuartlneivandt@gmail.com |
77e75e9ef1c088f42f7156654370583aa9a5deba | cc3ebcf07edbedb27bd8c845777995f0abaf2b61 | /test/WProgram.h | c7b49345f06b0e53c56aad4bbe3025e3bdc2e663 | [
"BSD-2-Clause",
"BSD-3-Clause"
] | permissive | Reggi3/Adafruit_ADS1X15 | 0dc83035c5e36955c14b9e89ab35894e3064c4ea | 27398a823af912ab24a7344c1e09d64ae34e3b76 | refs/heads/master | 2020-12-14T18:42:21.221667 | 2014-03-28T20:28:48 | 2014-03-28T20:28:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 384 | h | #ifndef WPROGRAM_FAKE
#define WPROGRAM_FAKE
inline void delay(int) {}
static class {
public:
inline static void send(int) {}
inline static void beginTransmission(int) {}
inline static int receive() {return 0;}
inline static void endTransmission() {}
inline static void begin() {}
inline static i... | [
"alevy@redhat.com"
] | alevy@redhat.com |
d33da2de2ec5766068c6f49332c2bbfdbd905396 | 9b88e08029d3c2ae5ac338f5333922c67547e0bf | /cpp_std_test_and_practice/idoms/AttorneyClientTS.h | 79cb81c8e7ce77d32564f07688463cd49280140c | [] | no_license | boyanglin/practice_and_test | a64f3288395cd51927b521375e7a747ed4d5e52f | 5ce3561e19550fb921bdd355940b664e1bb14196 | refs/heads/master | 2021-01-21T04:42:06.071924 | 2018-01-08T17:14:22 | 2018-01-08T17:14:22 | 50,656,543 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 304 | h | #ifndef ATTORNEY_CLIENT_TS_H_
#define ATTORNEY_CLIENT_TS_H_
#include <boost/test/unit_test.hpp>
namespace Idioms_TS
{
class AttorneyClientTS
{
public:
static void testAttorney();
static boost::unit_test_framework::test_suite* suite();
};
} //namespace Idioms_TS
#endif | [
"poyang.lin@uk.bp.com"
] | poyang.lin@uk.bp.com |
2e836c817cf2dee5b88bc7532f7648c05ab68802 | 3778827bdda4e57afb3fcf09f9bb2db6dd23146a | /src/mlpack/methods/ann/convolution_rules/fft_convolution.hpp | 3003bbe44b899287ef259ecf60e83579d9fad5c6 | [
"BSD-3-Clause"
] | permissive | ersanliqiao/mlpack | f98533bb538a4784fe38a07dd325dc40bf6ac769 | ad557ad90d1f1ed995560aefec202efe8200c945 | refs/heads/master | 2021-01-17T21:36:45.591321 | 2015-09-19T02:47:26 | 2015-09-19T02:47:26 | 42,104,266 | 1 | 0 | null | 2015-09-19T02:47:27 | 2015-09-08T09:55:33 | C++ | UTF-8 | C++ | false | false | 8,059 | hpp | /**
* @file fft_convolution.hpp
* @author Shangtong Zhang
* @author Marcus Edel
*
* Implementation of the convolution through fft.
*/
#ifndef __MLPACK_METHODS_ANN_CONVOLUTION_RULES_FFT_CONVOLUTION_HPP
#define __MLPACK_METHODS_ANN_CONVOLUTION_RULES_FFT_CONVOLUTION_HPP
#include <mlpack/core.hpp>
#include "border_m... | [
"marcus.edel@fu-berlin.de"
] | marcus.edel@fu-berlin.de |
a6cf22228e38037c027477ff0a9e81acbeea8c5c | 0f80c089749acf4fcb5fc77440b1973d9e2b1749 | /Development/Core/ydbase/base/exception/windows_exception.cpp | a43f2ad9eb97ba9fc4d6e66b4e10bc3d7b09f0ff | [
"Apache-2.0"
] | permissive | Whimsyduke/YDWE | 12582e5865fed973c5b3edd0aa7608ac46aec725 | f74d79a8de5fa683012944b13b5f444bcbbc7b77 | refs/heads/master | 2020-03-22T11:33:53.460497 | 2018-07-12T14:07:04 | 2018-07-12T14:07:04 | 139,979,771 | 0 | 0 | Apache-2.0 | 2018-07-06T12:06:09 | 2018-07-06T12:06:09 | null | UTF-8 | C++ | false | false | 266 | cpp | #include <base/exception/windows_exception.h>
#include <base/win/windows_category.h>
namespace base {
windows_exception::windows_exception(const char* reason, int error_code)
: system_exception(std::error_code(error_code, win::windows_category()), reason)
{ }
}
| [
"actboy168@gmail.com"
] | actboy168@gmail.com |
d413beb25692b4e4e70608f25b7af2c48db4c530 | 884c8fc1f560512dde5753a340fb61dab0998164 | /src/raytracer/scene_objects/cameras/projective_camera.h | 05571d8b5b0ca59a592ee564bd1e4e634e4acd5a | [] | no_license | dbs4261/RayTracingByTheBook | d79d8fae67403d5e192efc36f654f6f85f8f7256 | e0b8e7a2402c5e6518933a7e78b581a985bbf638 | refs/heads/master | 2020-03-24T08:48:10.312733 | 2019-05-05T23:49:19 | 2019-05-05T23:49:19 | 142,608,093 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,032 | h | #ifndef RAYTRACER_ORTHOGRAPHIC_CAMERA_H
#define RAYTRACER_ORTHOGRAPHIC_CAMERA_H
#include "abstract_camera.h"
#include "raytracer/math/transformations/transform.h"
namespace raytracer {
template <typename T>
class ProjectiveCamera : public AbstractCamera<T> {
public:
ProjectiveCamera(size_t height, size_t width)
... | [
"Dan.Simon@ogsystems.com"
] | Dan.Simon@ogsystems.com |
e0e405d354a87d1341d23c99b3d9598f6b9d3694 | 3dc2c3db971e9eda7041284a11d18efb794109e9 | /OpenGL2/VertexArray.h | 02d3d767d500ad01e741b5a860270825f268d68b | [] | no_license | BrorNydal/MinOpenGL | 5f66c679bd084256cebf7f452c1c3ecb61fceba9 | 8cd323dda7d4b62130cc5d69191dca1e9da7fe39 | refs/heads/master | 2022-11-07T11:15:25.924798 | 2020-06-11T11:01:48 | 2020-06-11T11:01:48 | 270,994,062 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 185 | h | #pragma once
#include "GL/glew.h"
class VertexArray
{
unsigned int ID;
public:
VertexArray();
~VertexArray();
void updateData(GLsizei stride);
void bind();
void unbind();
};
| [
"brornydal@outlook.com"
] | brornydal@outlook.com |
8ee981ac658a3539e41cf93e511fec1de2e6953f | 85381529f7a09d11b2e2491671c2d5e965467ac6 | /比赛源码/2014-2015 ACM-ICPC, NEERC, Eastern Subregional Contest/H - Pair normal and paranormal.cpp | 6871f9e7231a1f0f1808a0f873019af01a7d7e40 | [] | no_license | Mr-Phoebe/ACM-ICPC | 862a06666d9db622a8eded7607be5eec1b1a4055 | baf6b1b7ce3ad1592208377a13f8153a8b942e91 | refs/heads/master | 2023-04-07T03:46:03.631407 | 2023-03-19T03:41:05 | 2023-03-19T03:41:05 | 46,262,661 | 19 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 3,225 | cpp |
// whn6325689
// Mr.Phoebe
// http://blog.csdn.net/u013007900
#include <algorithm>
#include <iostream>
#include <iomanip>
#include <cstring>
#include <climits>
#include <complex>
#include <fstream>
#include <cassert>
#include <cstdio>
#include <bitset>
#include <vector>
#include <deque>
#include <queue>... | [
"whn289467822@outlook.com"
] | whn289467822@outlook.com |
3e49c689475ed2f4e837e3da23111d023ad4e644 | 62c9c20463eca981ec966dea931d83f09d296c56 | /src/Quaternions.cpp | 33575df3975d45def6ba6f5a8e6a553406893ee3 | [] | no_license | rel-alam/OpenGlProject | 908ac668b379812f97c9dcfb79441e7df177359b | e3249562acedc2b4a0da9a2a21af103e726a4137 | refs/heads/master | 2021-03-12T23:34:14.845741 | 2015-07-28T23:19:17 | 2015-07-28T23:19:17 | 30,327,180 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,327 | cpp | #include "Quaternions.h"
#include "glm_header.h"
#include "Vertex.h"
#include "gl_core_4_4.h"
#include <GLFW\glfw3.h>
#include "Utility.h"
#include "Vertex.h"
#include "stb_image.h"
bool Quaternions::startup()
{
if (Application::startup() == false)
{
return false;
}
glClearColor(0.3f, 0.3f, 0.3f, 1);
glEnable... | [
"rel-alam@hotmail.com"
] | rel-alam@hotmail.com |
db159cd17f4b5cc0a0dd8fce52a6fb352f8c9bb5 | 2884dbb9f7b93e79af850585b8ad2e24976462fc | /media/libstagefright/codecs/aacdec/esc_iquant_scaling.cpp | 778c88cb350790c81f4acaa7a534037dd91e74d3 | [
"Apache-2.0",
"LicenseRef-scancode-unicode"
] | permissive | voku/sm_android_frameworks_base | 1decb81d00889e2d4b79497ba36760f42ee3c9d3 | 69e349b179788b03af292eac718dd50d40ccd1d0 | refs/heads/gingerbread | 2021-06-13T09:27:24.720179 | 2012-01-26T15:34:38 | 2012-01-26T15:34:38 | 1,923,179 | 1 | 3 | NOASSERTION | 2020-12-16T16:44:43 | 2011-06-20T11:28:19 | Java | UTF-8 | C++ | false | false | 26,859 | cpp | /* ------------------------------------------------------------------
* Copyright (C) 1998-2009 PacketVideo
*
* 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.o... | [
"andih@google.com"
] | andih@google.com |
8a1c1d180f57d8219405098b4d9437e5328cc814 | a7d268b5604acc600ab19f3c6c078e5ad3b70d39 | /cpp_learning/cpp_learning/Counter5.h | 0e150102bd87d399d9345dc37f9cf488344c8f33 | [] | no_license | 08zhangyi/cpp_learning | 2a0165303fae04fe6f53e6f56e7a25e353406ba1 | e0e4847d285841c7bba5ba78d8ba68a5bbc9f3f8 | refs/heads/master | 2020-04-09T16:24:56.373818 | 2019-01-13T01:21:14 | 2019-01-13T01:21:14 | 160,452,775 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 356 | h | #pragma once
#include <iostream>
class Counter {
public:
Counter();
~Counter() {}
int getValue() const { return value; }
void setValue(int newValue) { value = newValue; }
private:
int value;
};
Counter::Counter() : value(0) {}
int mf() {
int beta = 5;
Counter alpha = beta;
std::cout << "alpjha: " << alpha.g... | [
"395871987@qq.com"
] | 395871987@qq.com |
b0dfff6d2f0cab7e408651c1493e1a3491470f8d | 4f63cf74d091209ce336c61553b400f562c4f169 | /firmware/hw_layer/backup_ram.cpp | 717dca1bb06478cc69235ba7e83a33b4a0a74ff0 | [] | no_license | abelom/firmware_ME7 | 0f274843d01c2f318f28c746005f15a47dae4c64 | fddae062cad8d4827c43e6e431226b0988f1d669 | refs/heads/master | 2022-04-27T00:22:40.564306 | 2020-04-28T22:22:09 | 2020-04-28T22:22:09 | 259,839,218 | 6 | 1 | null | 2020-04-29T06:06:25 | 2020-04-29T06:06:24 | null | UTF-8 | C++ | false | false | 1,521 | cpp | /**
* @file backup_ram.cpp
*
* @date Dec 19, 2017
*/
#include "backup_ram.h"
uint32_t backupRamLoad(backup_ram_e idx) {
#if HAL_USE_RTC
switch (idx) {
case BACKUP_STEPPER_POS:
return RTCD1.rtc->BKP0R & 0xffff;
case BACKUP_IGNITION_SWITCH_COUNTER:
return (RTCD1.rtc->BKP0R >> 16) & 0xff;
case BACKUP_CJ125_C... | [
"olaruud@hotmail.com"
] | olaruud@hotmail.com |
5a4bc6330ac6c2252cca75f6aa54f6fa1ac36313 | 2e72a74d760a8c14ca242df077413a9ff9699774 | /src/d2_ee_spds_BD.cpp | aeea023d615f6a1ae977d786cfcad6a9af57f8d5 | [] | no_license | chemiczny/automateusz_gto_d2 | ba3f1bec939a135a3591d512663ee01c4aa10b0c | b4c7e0978424bf53fd4b1f67de8e65ab3373fc10 | refs/heads/master | 2020-03-21T15:30:46.767378 | 2019-05-08T14:33:56 | 2019-05-08T14:33:56 | 138,716,717 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,132 | cpp | #include "gto_d2_kit/d2_ee_spds_BD.hpp"
#include "gto_d2_kit/d2_ee_pssd_AC.hpp"
void second_derivative_ee_0120_24(
const double ae,
const double xA,
const double yA,
const double zA,
const double be,
const double xB,
const dou... | [
"mglanows@kierkur.ch.uj.edu.pl"
] | mglanows@kierkur.ch.uj.edu.pl |
3371faa86565baabf89b748aa291c1d801aa9174 | 9dfefe23cdb19d9bc46b7a1a5a397724243a449f | /networkit/cpp/io/DibapGraphReader.h | 098b120b84dbd4379fc6fd30936c76a07ab45db6 | [
"MIT"
] | permissive | gstoszek/networkit | 7f17349d2740cf4411226185f949db3cdeaf676e | 5f4e7b9a0f8a431465911209d41e0c73f9bf0df0 | refs/heads/Dev | 2021-04-09T13:38:38.927978 | 2018-12-17T12:26:11 | 2018-12-17T12:26:11 | 125,489,119 | 0 | 0 | NOASSERTION | 2018-10-26T09:11:54 | 2018-03-16T08:48:17 | C++ | UTF-8 | C++ | false | false | 1,071 | h | /*
* DibapGraphReader.h
*
* Created on: Jun 12, 2013
* Author: Henning
*/
#ifndef DIBAPGRAPHREADER_H_
#define DIBAPGRAPHREADER_H_
#if !defined _WIN32 && !defined _WIN64 && !defined WIN32 && !defined WIN64
#include "GraphReader.h"
#include "../graph/Graph.h"
#include <cstdio>
#include <netinet/in.h>
// c... | [
"kolev.yani@gmail.com"
] | kolev.yani@gmail.com |
1b9a1092c33164429be24a5e5ce846d4db5a80a8 | 9e6a0e6f36bd5b65e3df102c8cb193efca6bc8ae | /UVa/167/167.cpp | 7c957d68329c9c456d585272a2c7ea5620bd0d1a | [] | no_license | Lee-W/ACM | cc620abe1034b413d9dc8747f91ab280af058d91 | d6da2e25916d03e54c38c04e7a4daaf22b741e1f | refs/heads/master | 2021-01-13T01:54:29.914307 | 2017-03-27T14:45:08 | 2017-03-27T14:45:08 | 23,750,945 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,477 | cpp | #include <cstdio>
#include <utility>
#include <vector>
using namespace std;
typedef pair<int,int> point;
void backtrack();
bool isValidPos(point);
vector<point> choosed;
int chessBoard[8][8];
int maxSum = 0;
main()
{
int caseNum;
scanf("%d", &caseNum);
while(caseNum--) {
choosed.reserve(8);
... | [
"cl87654321@gmail.com"
] | cl87654321@gmail.com |
41365391c8d5a71a6f4423a4eeabec8b441c7b49 | b958286bb016a56f5ddff5514f38fbd29f3e9072 | /include/ublox/message/MonSmgrCommon.h | 77cecb4acf808ded2c997453b1a853b5683be33e | [] | no_license | yxw027/cc.ublox.generated | abdda838945777a498f433b0d9624a567ab1ea80 | a8bf468281d2d06e32d3e029c40bc6d38e4a34de | refs/heads/master | 2021-01-14T23:03:20.722801 | 2020-02-20T06:24:46 | 2020-02-20T06:24:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,273 | h | // Generated by commsdsl2comms v3.3.2
/// @file
/// @brief Contains common template parameters independent functionality of
/// @ref ublox::message::MonSmgr message and its fields.
#pragma once
#include <cstdint>
#include <type_traits>
#include "ublox/field/ItowCommon.h"
#include "ublox/field/Res3Common.h"
names... | [
"arobenko@gmail.com"
] | arobenko@gmail.com |
8124bf6bc06e551eb0b98d5b7823d982ae7f399a | 1ea487e63a8ce31521e0f74422772c8b64e1255f | /programmers/행렬의곱셈/main.cpp | 9a5902ef5571ec436078d832f8b2a6f9362a1a35 | [] | no_license | Hong9595/Algorithm | 50fa36ffb8c7a7d98d7231f2c36f246356f4c68f | c2f830b6af9330d2dbeacf089366e63654fa717c | refs/heads/master | 2021-03-06T18:22:21.608375 | 2020-04-09T03:15:27 | 2020-04-09T03:15:27 | 246,215,521 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 771 | cpp | #include <iostream>
#include <string>
#include <vector>
using namespace std;
vector<vector<int>> solution(vector<vector<int>> arr1, vector<vector<int>> arr2) {
vector<vector<int>> answer;
int rowSize = (int)arr1.size();
int colSize = (int)arr2[0].size();
answer.assign(rowSize, vector<int>(co... | [
"ahk959595@gmail.com"
] | ahk959595@gmail.com |
4b1f0fcda6fbffd3a1c9d2159454fbe1accd3940 | 36ffa02d163ea7ffdc281a5d95db4b298f8b6b22 | /modules/source/src/ffmpeg_parser.cpp | 00dbe983b0841c411277825fa1426f3d2c95e7bf | [
"LicenseRef-scancode-other-permissive",
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0",
"JSON",
"MIT",
"BSD-3-Clause"
] | permissive | polarbear8/CNStream | d39346403aa53fb7de8b4a9e0575b8b11ad81e37 | 53d818220905dcdf061b329aad9b890e0b952674 | refs/heads/master | 2023-01-01T06:32:38.822589 | 2020-09-29T09:27:29 | 2020-09-29T09:27:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,180 | cpp | /*************************************************************************
* Copyright (C) [2020] by Cambricon, Inc. 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 a... | [
"noreply@github.com"
] | noreply@github.com |
25bda793f9d9fe63cf69b3610a80d78a5dbdb9ec | 83d3a0a5756d9361103db76d6b0f6187ec84d063 | /Data_Recovery/Source.cpp | e65a5095fb188491ff40306c7ecf62758df2cf80 | [] | no_license | rmonfort/Data_Recovery | 0a76854716b28d2440010cfe7271b8dc604a2aca | 7bfdff79f49d2f45d0c7c8b1f2fa7ed2ef12a1e7 | refs/heads/master | 2021-01-21T12:39:41.734824 | 2014-09-11T20:30:42 | 2014-09-11T20:30:42 | 23,932,126 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,915 | cpp | #include <iostream>
#include <string>
#include <fstream>
#include <sstream>
#include <vector>
#include <map>
using std::cin;
using std::cout;
using std::endl;
using std::string;
using std::ifstream;
using std::istringstream;
using std::getline;
using std::vector;
using std::map;
using std::stoi;
int main(int argc, ch... | [
"richard.s.monfort@gmail.com"
] | richard.s.monfort@gmail.com |
63f509d98dba84bca4582ad0dac259f1bc085345 | 76fe0a0404ca1d71779fc6c1122b87e0d7a7aa1b | /Treinos equipe/xv de piracikobus/2018/06-29 Albaath /c.cpp | f7022ab07c94f955cfdbebd7712a3a831dafe358 | [] | no_license | vitorguidi/Competitive-Programming | 905dd835671275284418c5885a4a1fae2160f451 | 823a9299dce7b7f662ea741f31b4687f854bb963 | refs/heads/master | 2021-06-25T06:58:53.670233 | 2020-12-19T16:53:15 | 2020-12-19T16:53:15 | 133,260,248 | 3 | 0 | null | 2018-05-13T17:46:43 | 2018-05-13T17:40:24 | null | UTF-8 | C++ | false | false | 1,208 | cpp | #include <bits/stdc++.h>
using namespace std;
#define pb push_back
#define mp make_pair
#define fst first
#define snd second
#define fr(i,n) for(int i=0;i<n;i++)
#define frr(i,n) for(int i=1;i<=n;i++)
#define ms(x,i) memset(x,i,sizeof(x))
#define dbg(x) cout << #x << " = " << x << endl
#define pq priority_queue
#def... | [
"vitorguidi@gmail.com"
] | vitorguidi@gmail.com |
673fb26361bcfe12787215790ffcac7a9c186d3b | cf579692f2e289563160b6a218fa5f1b6335d813 | /XBtool/hyperlink.h | 58949f3768808d0a55031e68c9f5c49066e1009e | [] | no_license | opcow/XBtool | a7451971de3296e1ce5632b0c9d95430f6d3b223 | 718a7fbf87e08c12c0c829dd2e2c0d6cee967cbe | refs/heads/master | 2021-01-16T21:02:17.759102 | 2011-03-09T23:36:54 | 2011-03-09T23:36:54 | 1,461,420 | 8 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 4,207 | h | // HyperLink.h : header file
//
//
// HyperLink static control.
//
// Copyright Giancarlo Iovino, 1997 (giancarlo@saria.com)
// This code is based on CHyperlink by Chris Maunder.
// Feel free to use and distribute. May not be sold for profit.
#if !defined(AFX_HYPERLINK_H_04ET323B01_023500_0204251998_ENG_INCL... | [
"mitch.crane@gmail.com"
] | mitch.crane@gmail.com |
fdacc2a0df46e375a20c0a9eb68108477db2d9d5 | e758b9c3368afe63f3624ca5408986c17ff85c2f | /CefDemo/CefDemo/MainWnd.cpp | d0c2d166f710346355316d13f057225984cda330 | [] | no_license | chensenn8631/CEFDemo | 33aa6e55a91829a320c977eda9a7d1e9807bf987 | 548a4c95e8a442db267d77be558a033c90c3f42c | refs/heads/master | 2020-04-23T05:58:09.389885 | 2019-02-22T02:30:20 | 2019-02-22T02:30:20 | 170,958,092 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 975 | cpp | #include "StdAfx.h"
#include "MainWnd.h"
MainWnd::MainWnd(LPCTSTR szXmlFile, LPCTSTR szXmlFolder) : m_szXmlFile(szXmlFile), m_szXmlFolder(szXmlFolder)
{
}
MainWnd::~MainWnd(void)
{
}
void MainWnd::InitWindow()
{
}
void MainWnd::Notify(DuiLib::TNotifyUI& msg)
{
return __super::Notify(msg);
}
... | [
"47681968+chensenn8631@users.noreply.github.com"
] | 47681968+chensenn8631@users.noreply.github.com |
68f13263e26f841e71c02253d0ede35a12295829 | a1809f8abdb7d0d5bbf847b076df207400e7b08a | /Simpsons Hit&Run/game/libs/pure3d/toollib/inc/tlCompositeDrawable.hpp | 388e5cdcd8bbfbdb96f8c7cd0d757e2b82652461 | [] | no_license | RolphWoggom/shr.tar | 556cca3ff89fff3ff46a77b32a16bebca85acabf | 147796d55e69f490fb001f8cbdb9bf7de9e556ad | refs/heads/master | 2023-07-03T19:15:13.649803 | 2021-08-27T22:24:13 | 2021-08-27T22:24:13 | 400,380,551 | 8 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,726 | hpp | /*===========================================================================
tlCompositeDrawable.hpp
created Nov 29, 2000
Liberty Walker
Copyright (c)2000 Radical Entertainment, Inc.
All rights reserved.
===========================================================================*/
#ifnde... | [
"81568815+RolphWoggom@users.noreply.github.com"
] | 81568815+RolphWoggom@users.noreply.github.com |
36b189f86bdd63b32de4abc5246612f6e1816398 | 2bc835b044f306fca1affd1c61b8650b06751756 | /outlookexpress/mailnews/shell/frntpage.cpp | 64ed6cbe2b9d0585cd465d6fa1e8cfc54b424143 | [] | no_license | KernelPanic-OpenSource/Win2K3_NT_inetcore | bbb2354d95a51a75ce2dfd67b18cfb6b21c94939 | 75f614d008bfce1ea71e4a727205f46b0de8e1c3 | refs/heads/master | 2023-04-04T02:55:25.139618 | 2021-04-14T05:25:01 | 2021-04-14T05:25:01 | 357,780,123 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,413 | cpp | /*
* frntpage.cpp
*
* Purpose:
* Implements the Front Page IAthenaView object
*
* Owner:
* EricAn
*
* Copyright (C) Microsoft Corp. 1997
*/
#include "pch.hxx"
#include "frntpage.h"
#include "resource.h... | [
"polarisdp@gmail.com"
] | polarisdp@gmail.com |
5a0011079066f29facccf882dfc7d14a9256099e | 1c205ca00380969bf3655db6c44b50264b39dfaf | /src/States/QuestionMarkState.h | d54d93b30f8c137608bfb11185e6e51544523fc5 | [] | no_license | sshklifov/svcs | a4598155a25d18deb3262c4c618dc343ca1f5fed | f56b517715c31d7021744dd0c3c3534e29a4716a | refs/heads/master | 2020-03-17T07:02:53.494192 | 2018-05-15T10:18:05 | 2018-05-15T10:18:05 | 133,380,599 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 582 | h | #ifndef QUESTION_MARK_STATE_INCLUDED
#define QUESTION_MARK_STATE_INCLUDED
#include "StateBase.h"
class QuestionMarkState : public StateBase
{
public:
QuestionMarkState () = default;
QuestionMarkState (const QuestionMarkState&) = delete;
void operator= (const QuestionMarkState&) = delete;
virtual ~Qu... | [
"s.shklifov@gmail.com"
] | s.shklifov@gmail.com |
6691a0a0fcfc0b5563593a37f213ee611a10a89f | d761e11c779aea4677ecf8b7cbf28e0a401f6525 | /src/bin/anonymize_neoflow/anonymize_neoflow.cpp | 515b5ec5b9c1e816bd4726a3eaa4193776383272 | [] | no_license | derrick0714/infer | e5d717a878ff51fef6c9b55c444c2448d85f5477 | 7fabf5bfc34302eab2a6d2867cb4c22a6401ca73 | refs/heads/master | 2016-09-06T10:37:16.794445 | 2014-02-12T00:09:34 | 2014-02-12T00:09:34 | 7,787,601 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,312 | cpp | #include <iostream>
#include <time.h>
#include <boost/program_options.hpp>
#include <boost/asio/ip/address_v4.hpp>
#include "fixed_time_functor.hpp"
#include "configuration.hpp"
#include "FlatFileReader.hpp"
#include "FlatFileWriter.hpp"
#include "InferFileWriter.hpp"
#include "StrftimeReadEnumerator.hpp"
#include "S... | [
"derrick0714@gmail.com"
] | derrick0714@gmail.com |
67386c8ec9bdbfa611edad65f8e3ed770e76c01a | 23b35f3eab2baf9c7d359dc5db7d9b44378d1ce9 | /CPHSet/SortingAndSearching/kadane.cpp | 3cc765ed2123837e2ccf9780c4e2d4f69ae61046 | [] | no_license | vraman23/CompetitiveProgramming | c44ff9b90f92cb1681ce401191ac45b0381d7563 | cb002fdbdf8c0f870dcbda15471b83e21cfb2c5a | refs/heads/master | 2022-12-26T13:24:24.784788 | 2020-10-07T16:20:32 | 2020-10-07T16:20:32 | 285,131,134 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 519 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<int,int> pi;
typedef vector<int> vi;
#define FOR(i, a, b) for (ll i = a; i < b; i++)
#define F0R(i, a) for(ll i = 0; i < a; i++)
const int MOD = 1e9+7; // 998244353;
const int MX = 2e5+5; //
const ll INF = 1e18; //
int main() {
ios:... | [
"vraman@berkeley.edu"
] | vraman@berkeley.edu |
db59437bdbd151e9bea2cf499696c4029eb7bb1b | 91d363906125a5748cef618a0e03dfe007ae207d | /libraries/ForceTorqueBalanceYarp/Jr3Fake/Jr3Fake.hpp | afb72c31a1f00cac26cdbba0162bda81f19a3e2c | [] | no_license | roboticslab-uc3m/force-torque-balance | 8e2af0cfea982617be6de674a0b348ffeef20567 | 0f16983e7e516f35cc44e13c5e76b226a31d7b3b | refs/heads/master | 2021-07-10T16:21:41.576608 | 2021-03-31T14:29:14 | 2021-03-31T14:29:14 | 54,210,488 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,379 | hpp | // -*- mode:C++; tab-width:4; c-basic-offset:4; indent-tabs-mode:nil -*-
#ifndef __JR3_FAKE__
#define __JR3_FAKE__
#include <yarp/os/all.h>
#include <yarp/dev/all.h>
#include <yarp/dev/IAnalogSensor.h>
#include <sstream>
namespace teo
{
/**
* @ingroup ForceTorqueBalanceYarp
* \defgroup Jr3Fake
* @brief Contains ... | [
"lolipv92@hotmail.com"
] | lolipv92@hotmail.com |
eda84ae18a4f3b57ffd7afec601206ff5005aa7c | 44ab57520bb1a9b48045cb1ee9baee8816b44a5b | /Engine/Code/CoreTools/TextParsing/SimpleCSV/CommandQuery/CommandAddWorksheet.h | f0d1fcd3ee8e083e9e8544294987fa64c881b2aa | [
"BSD-3-Clause"
] | permissive | WuyangPeng/Engine | d5d81fd4ec18795679ce99552ab9809f3b205409 | 738fde5660449e87ccd4f4878f7bf2a443ae9f1f | refs/heads/master | 2023-08-17T17:01:41.765963 | 2023-08-16T07:27:05 | 2023-08-16T07:27:05 | 246,266,843 | 10 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,291 | h | /// Copyright (c) 2010-2023
/// Threading Core Render Engine
///
/// 作者:彭武阳,彭晔恩,彭晔泽
/// 联系作者:94458936@qq.com
///
/// 标准:std:c++20
/// 引擎版本:0.9.0.5 (2023/04/03 20:14)
#ifndef CORE_TOOLS_TEXT_PARSING_COMMAND_ADD_WORKSHEET_H
#define CORE_TOOLS_TEXT_PARSING_COMMAND_ADD_WORKSHEET_H
#include "CoreTools/CoreToolsDll.h"
#in... | [
"94458936@qq.com"
] | 94458936@qq.com |
21ca9de5e99f816a6d6c32169d5aa3ea31dadedb | 3e79056f6c3ab04fd84806737c324a16562870c2 | /codeforces/div2/487/c.cpp | 718693a7e1e2d243c59795ff9cc28184001079f1 | [] | no_license | seunghyukcho/algorithm-problems-solved | ce52f11a12b532c51547fd215e53e1f60915f52a | 04e78a4b41a8b13c1d00e231dd79114fb8360c9a | refs/heads/master | 2023-07-14T11:37:33.763943 | 2021-08-20T15:09:50 | 2021-08-20T15:09:50 | 125,701,552 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 762 | cpp | #include<iostream>
#include<vector>
#include<algorithm>
using namespace std;
pair<int, int> num[4];
int n = 0, m = 0;
int ans[52][52];
int main(){
for(int i = 0; i < 4; i++){
int input;
cin >> input;
num[i] = {-input, i};
}
sort(num, num + 4);
while(num[1].first < 0){
... | [
"choseunghyek@gmail.com"
] | choseunghyek@gmail.com |
59143d95b84fbb700f9cb70495461ab00db3ac1b | 62a27478e11a09b03fe0fc4f85fe8c6f72c7248c | /src/main/Path.cpp | d902c9858d8e50b6be45733f03bf5a1699b52f0a | [] | no_license | mahmoudmheisen91/cuGraph_1.0.0 | e20e9e404acb06c5d0c7561459ae1f78ccc93d8b | 61031d9fb8175f51e95ecdb77c171a1dbc4e8464 | refs/heads/master | 2021-03-12T21:46:57.907744 | 2015-08-11T16:16:22 | 2015-08-11T16:16:22 | 39,698,488 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 999 | cpp | /*
* Path.cpp
*
* Created: 2015-05-24, Modified: 2015-08-11
*
*/
// Headers includes:
#include <main/Path.h>
#include <algorithm>
namespace cuGraph {
// Find paths in G from s:
Path::Path(Graph *G, int s) {
fromHere = s;
size = G->numberOfVertices;
visited = new bool[size];
... | [
"mahmoudmheisen91@gmail.com"
] | mahmoudmheisen91@gmail.com |
650063ea11e9116d9449184004333217a7558d70 | 5ddd0ec20099a9c3ffe865c835dcceb5b7fd0332 | /of_v0.8.0_vs_release-gesture-recognizer/apps/myApps/kinect2GRT/src/GRT/PreProcessingModules/DeadZone.h | 445a9ed46ed70168c7a9388f9fe0416799126027 | [
"MIT"
] | permissive | MarkusKonk/Geographic-Interaction | af81f9f4c7c201dd55843d4dd0d369f2f407d480 | b74f6f04656611df8dc4ebdea43f263cea67b366 | refs/heads/master | 2020-12-30T10:36:34.414880 | 2014-02-03T12:37:45 | 2014-02-03T12:37:45 | 13,868,029 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 8,569 | h | /**
@file
@author Nicholas Gillian <ngillian@media.mit.edu>
@version 1.0
@section LICENSE
GRT MIT License
Copyright (c) <2012> <Nicholas Gillian, Media Lab, MIT>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software
and associated documentation files (the "Software"... | [
"matthias.m.hinz@googlemail.com"
] | matthias.m.hinz@googlemail.com |
85a037757aea42fb814ec86e4751ae74a27ab21d | 7e679211643a13288a0799c4e33f1edd10156898 | /app/PxView/PxRecordView.h | 9e68acb23d27936d6db7cb809471ea6bac6fffcf | [
"BSD-3-Clause"
] | permissive | CoolmanCZ/pxview | 9a1a269ccc955bc5e63cb2384c0e0cdb38adb122 | d6ef822717fdba76a557dcdfa58a2ec4b79f89a0 | refs/heads/master | 2023-05-26T05:23:52.327158 | 2023-05-15T07:04:17 | 2023-05-15T07:04:17 | 174,730,732 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,500 | h | #ifndef PxRecordView_h_
#define PxRecordView_h_
#include <CtrlLib/CtrlLib.h>
#include <GridCtrl/GridCtrl.h>
#include "PxSession.h"
enum filetype {
csv = 1,
json
};
class PxRecordView : public Upp::GridCtrl {
public:
PxRecordView();
~PxRecordView() override{};
private:
Upp::ParadoxSession px... | [
"coolman@centrum.cz"
] | coolman@centrum.cz |
e9e0eafa9b289fc8aa35391ebbb8b8359fdcd63a | 2d0972e5021a67f242f6c6b4522de136ecc52e33 | /ch7_an_exotic_engine_and_the_template_pattern/PathDependentAsian.cpp | 946a94cd3ead01017a4a2defca7255a4202b3d33 | [
"MIT"
] | permissive | WongYatChun/Design_Patterns_and_Derivatives_Pricing | c4031e538636d2ba3f2af1034e7092c982dcf3f1 | 4aa8fa6794f70b086e66c1a8752a596b448cd8d8 | refs/heads/master | 2020-04-12T08:32:20.084071 | 2018-12-27T12:19:47 | 2018-12-27T12:19:47 | 162,387,875 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 982 | cpp | #include "PathDependentAsian.h"
PathDependentAsian::PathDependentAsian(const MJArray& LookAtTimes_,
double DeliveryTime_,
const PayOffBridge& ThePayOff_)
:PathDependent(LookAtTimes_), DeliveryTime(DeliveryTime_), ThePayOff(ThePayOff_), Num... | [
"wongyatchun0413@gmail.com"
] | wongyatchun0413@gmail.com |
5a4393661277a2620a6133a568bf21bc191d0fbb | a7c1d71890b463ef57d3c56b6b6086d489aa798e | /LeetCode/EC/Array/rotate_array.cpp | 7a96b2a246feaf733015823b88eef166c0fe920b | [] | no_license | anilchoudhary/DSA | 7016eb5172a6e4762384ab4e3906401085bd9f7a | 19b2816afe38ec95a736daeea99165259cb98a1c | refs/heads/master | 2020-12-26T10:05:24.678772 | 2020-10-26T06:25:01 | 2020-10-26T06:25:01 | 237,475,644 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 236 | cpp | class Solution {
public:
void rotate(vector<int>& nums, int k) {
int n = nums.size();
k = k % n;
reverse(nums.begin(), nums.begin() + n - k);
reverse(nums.begin() + n - k, nums.end());
reverse(nums.begin(), nums.end());
}
}; | [
"masteranilchoudhary@gmail.com"
] | masteranilchoudhary@gmail.com |
33de3f72d7c645cc369e1aab84cae0f9782de2b2 | 4472e9f0bcc21ada68bc97fcd270bf64884a17fa | /src/accepted_UVA/146.cpp | e04bb13cc601f83657aeb4f3896620c72fe4e3bf | [] | no_license | lnman/Programming_contest_Template | 080a36b5a6e3282385a12f576556b52ed667c6f6 | 5d9ac0fd6fec710073a8f4287d3252359cffbe16 | refs/heads/master | 2016-09-02T03:38:44.642615 | 2013-05-15T11:36:11 | 2013-05-15T11:36:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 341 | cpp | #include<iostream>
#include<algorithm>
#include<string>
#include<stdio.h>
using namespace std;
int main(){
string cur;
while (cin >> cur) {
if (cur == "#") break;
if (next_permutation(cur.begin(), cur.end())) {
printf("%s\n", cur.c_str());
}
else {
printf("No Successor\n");
}
... | [
"momen_bhuiyan@yahoo.com"
] | momen_bhuiyan@yahoo.com |
8ae47809e430bd08fbd2f2377673bb1dd92da1b8 | 74450d2e5c5d737ab8eb3f3f2e8b7d2e8b40bb5e | /github_code/quick-sort/cpp/90.c | 67d757e721f5ff0848b29d97ba4e9373673f4b98 | [] | no_license | ulinka/tbcnn-attention | 10466b0925987263f722fbc53de4868812c50da7 | 55990524ce3724d5bfbcbc7fd2757abd3a3fd2de | refs/heads/master | 2020-08-28T13:59:25.013068 | 2019-05-10T08:05:37 | 2019-05-10T08:05:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,806 | c | #include <vector>
#include <algorithm>
#include "Student.h"
#include <fstream>
#include <string>
#include <iostream>
#include <fstream>
#include <stdlib.h>
#include "Tokenizer.h"
#include <time.h>
#define NO_FUNC 3
template<typename T>
void print_element(T st){ // ���ø��� �̿��� ���
cout << st.get_name() << "\t" << s... | [
"bdqnghi@gmail.com"
] | bdqnghi@gmail.com |
37b592d53d8643c6be76b2b3f49705c271651003 | 89cb7aaeb03aef8af4a7018cebd79de210b2a9cd | /Strategy/duck.cpp | 6514376edace39134305bd827b14f5fdce98612c | [] | no_license | Itanq/design_pattern | 8211d38f00dcd727aa0d7fd130c79f27a36fc463 | b4494fd06d12e179bdc4e1477c26d5eaef88bfce | refs/heads/master | 2021-09-07T17:48:43.979787 | 2018-02-27T03:35:20 | 2018-02-27T03:35:20 | 119,391,062 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,095 | cpp |
#include <mutex>
#include <thread>
#include <iostream>
using namespace std;
// 飞行相关的行为
class FlyBehavior {
public:
virtual void fly() = 0;
};
class FlyWithWings : public FlyBehavior {
public:
void fly() override {
std::cout << " I Can Fly With Wings " << std::endl;
}
};
class FlyWithRocket : pu... | [
"zmant724@topplus.com"
] | zmant724@topplus.com |
1662792d294a4b683471f43e297ca9b8a098efae | 0b793bce2da8c3d09b7956c0672ddbffd46feaed | /aoj/5/AOJ0544.cpp | d4cfdde630eb4263b60ca82792a3e7c419105e10 | [
"MIT"
] | permissive | knuu/competitive-programming | c6c4e08fb231937d988bdc5a60a8ad6b31b97616 | 16bc68fdaedd6f96ae24310d697585ca8836ab6e | refs/heads/master | 2021-01-17T09:39:02.647688 | 2020-11-07T03:17:22 | 2020-11-07T03:17:22 | 27,886,732 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 413 | cpp | //
// AOJ0544.cpp
//
//
// Created by knuu on 2014/06/11.
//
//
#include <iostream>
using namespace std;
int main()
{
int N,M;
int sugoroku[1000],saikoro[1000];
while (cin>>N>>M,(N!=0&&M!=0)) {
int pos=0,ans=0;
for (int i=0; i<N; i++) cin>>sugoroku[i];
for (int i=0; i<M; i++) cin>>saikoro[i];
while (p... | [
"premier3next@yahoo.co.jp"
] | premier3next@yahoo.co.jp |
1e7aa51fc5b1de6af3ea2dcdc8422246644323f0 | 910ef43f00403a1b322bdac1348ae145224f6436 | /qt/third day/qt1/moc_qt2.cpp | 2437a129bc9839904892448def3935eb4348c173 | [] | no_license | zengxiangfeng1215/linux_app | afd6a450865a6106c6d82a38b5272e3b58007bdc | 5e23d3b5b536ae6de35734a3ecd4bcff32056c26 | refs/heads/master | 2020-04-24T00:44:44.481419 | 2015-07-05T10:13:32 | 2015-07-05T10:13:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,999 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'qt2.h'
**
** Created: Wed Jan 4 19:53:27 2012
** by: The Qt Meta Object Compiler version 59 (Qt 4.3.4)
**
** WARNING! All changes made in this file will be lost!
********************************... | [
"89481109@qq.com"
] | 89481109@qq.com |
3d3386609087c86b4e05ccab766c8a4f38faf4cc | 194b7d18745210196436c2fac6ed90abe039dfe2 | /C_Fibonacci_Words.cpp | 165258e5c54226ab8e61aeeaf040d4d13fea4912 | [] | no_license | atharvasaraf123/CP | 938d14dbb6dbb686efea347d19f988b024d0d15f | 8c5eb75e53ad8fc1999d53f3951f9d98167aaf1e | refs/heads/master | 2023-06-12T07:47:25.741903 | 2021-07-05T17:26:50 | 2021-07-05T17:26:50 | 381,798,867 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 400 | cpp | #include <bits/stdc++.h>
using namespace std;
#define bolt \
ios::sync_with_stdio(0); \
cin.tie(0); \
cout.tie(0)
#define test \
int tt; \
cin >> tt; \
while (tt--)
#define ll long long
#define ld long double
#define vi vector<ll>
#define pb push_back
#define F ... | [
"sarafatharva123@gmail.com"
] | sarafatharva123@gmail.com |
af6755fb4c8f62404cafa2af3866db69b909b8e6 | 2b93f887bdc61bbc5f7da771681659f72d2acc4f | /vgac_readerapp/.svn/pristine/af/af6755fb4c8f62404cafa2af3866db69b909b8e6.svn-base | 23ea906bdf3a7852f2e461e4e9f3481d40aea278 | [] | no_license | PengWEI9/Vix | a0796ff0d5e8ce962efa60b4bd22eaba03ac6017 | c6dd23d2ffc36d82221a8d920862c435683f1c24 | refs/heads/master | 2021-01-10T16:01:18.530308 | 2016-01-25T03:42:00 | 2016-01-25T03:42:00 | 49,394,563 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,069 | #include "easywsclient.hpp"
//#include "easywsclient.cpp" // <-- include only if you don't want compile separately
#include <assert.h>
#include <stdio.h>
#include <string>
using easywsclient::WebSocket;
static WebSocket::pointer ws = NULL;
void handle_message(const std::string & message)
{
printf("<<< %s\n", mess... | [
"peng.wei8899@gmail.com"
] | peng.wei8899@gmail.com | |
530a525ce212d835923f810134e3180238567870 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/httpd/gumtree/httpd_new_log_4159.cpp | 70b3cfb603381c55ebdde7aa59ce72ce418913fc | [] | 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 | 129 | cpp | ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r, APLOGNO(01008)
"ajp_handle_cping_cpong: ajp_marshal_into_msgb failed"); | [
"993273596@qq.com"
] | 993273596@qq.com |
7d4aff679d630246bd46916c2cdc7cf92ae2f2f0 | 38a8613ea8c020f71f0c1c40b9cd671de6415a04 | /Heap/HeapSort.cpp | 4a4d16ad6f212890765f4c4eee21186d40a7634c | [] | no_license | saksham02112000/DataSt | 70295743d3dd7ce86633101e74588457c4be5316 | 2f96f1a9f74103cab99ebf6d89d4c449d1b84074 | refs/heads/main | 2023-06-18T10:21:50.488751 | 2021-07-16T09:54:38 | 2021-07-16T09:54:38 | 364,265,722 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 906 | cpp | #include <bits/stdc++.h>
using namespace std;
void heapify(vector<int> &vec, int n, int i)
{
int maxInd = i;
int l = 2 * i + 1;
int r = 2 * i + 2;
if (l < n && vec[l] > vec[maxInd])
maxInd = l;
if (r < n && vec[r] > vec[maxInd])
maxInd = r;
if (maxInd != i)
{
swap(v... | [
"sakshamsrini@gmail.com"
] | sakshamsrini@gmail.com |
eda3c5275cb48314ec9ee59e32418fed4e14a36a | 9ba121e1d29a0b80f8fbee168978831b9cf59942 | /src/Maison.cpp | cd73e4019b6211760b258931f5c9baeaca9ec352 | [
"MIT"
] | permissive | turgu1/maison | 2b804498cb9fbcd043c50c088d67db6434036a21 | 57d33aeb735e1e2dfb55b4e40daffcf23bc7a1ec | refs/heads/master | 2020-04-14T20:54:47.870554 | 2020-02-20T21:25:16 | 2020-02-20T21:25:16 | 164,110,990 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 39,004 | cpp | #include <Maison.h>
// Used by the maison_callback friend function
static Maison * maison;
Maison::Maison() :
wifi_client(NULL),
last_reconnect_attempt(0),
connect_retry_count(0),
first_connect_trial(true),
user_callback(NULL),
user_sub_topic(NULL),
... | [
"turgu666@gmail.com"
] | turgu666@gmail.com |
a2986a812ca0380f1a332ef67d41877a8adbc074 | 0b90d18bf8e2000d3c47a17f3403be51b4a8ecd8 | /src/Applications/Utils/VTKtoTriSurfField.cc | 3433ce16a141ce62edb9f0343af4951aae55d357 | [
"MIT"
] | permissive | merced317/scirun4plus | c3d8d65dd68f9d119b43cf084ea8b9d94921ce33 | f29630e03d3cf13c0ce8b327676ad202e3981af0 | refs/heads/master | 2020-12-10T19:20:18.401161 | 2018-06-27T09:21:54 | 2018-06-27T09:21:54 | 233,683,375 | 0 | 0 | null | 2020-01-13T20:09:14 | 2020-01-13T20:09:13 | null | UTF-8 | C++ | false | false | 10,859 | cc | /*
For more information, please see: http://software.sci.utah.edu
The MIT License
Copyright (c) 2009 Scientific Computing and Imaging Institute,
University of Utah.
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (... | [
"ppetrov@joker.umcutrecht.nl"
] | ppetrov@joker.umcutrecht.nl |
5c266f8cf45eeebab8677cfa90431a2c093ce261 | 95ae6fa9cc64bc2f537753475c1b84ae526391b1 | /source/tm/team_predictor/estimate.hpp | a4ff8b8eab66c95b02c37454e49196a765997524 | [
"BSL-1.0"
] | permissive | OctalMicrobe/technical-machine | 7deeb30cf1ff2eb730bc0ad9efc4794b30c6cf5c | bffa259bd4d069ce104efa21fef34a5342ee0755 | refs/heads/master | 2023-02-04T00:43:19.534781 | 2020-12-20T17:21:50 | 2020-12-20T17:21:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 758 | hpp | // Copyright David Stone 2020.
// 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)
#pragma once
#include <tm/team_predictor/lead_stats.hpp>
#include <tm/pokemon/species_forward.hpp>
#include <containers/array/arr... | [
"david@doublewise.net"
] | david@doublewise.net |
705de1b4234e19a8320b26f2834e4b3b056155f9 | 6b40e9dccf2edc767c44df3acd9b626fcd586b4d | /NT/enduser/netmeeting/t120/h/random.h | eefab539264fc06b975f776f138324a2a212fa7d | [] | 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 | 8,258 | h | /*
* random.h
*
* Copyright (c) 1993-1995 by DataBeam Corporation, Lexington, KY
*
* Abstract:
* This is the interface file for the RandomNumberGenerator class.
* Instances of this class can generate random numbers within a specifed
* range on demand. Many of these objects can exist at once, and the... | [
"seta7D5@protonmail.com"
] | seta7D5@protonmail.com |
1d48eb39735d4d1efc8179921fec92516e265c6c | d237790126328f571198160a280c1865e459d380 | /src/NOvADetectorConstruction.cc | cdc0a702b504df69aa9322c08e943bc3168be4e7 | [] | no_license | plasorak/NOvAG4Standalone | 06c9038efe7c295e488d43f15bfa784a7ba0cd1f | 1bb3f8147bbe2e7bef23a9c592e3e87d0c05c0b6 | refs/heads/master | 2022-12-02T10:58:13.762385 | 2020-08-25T12:26:12 | 2020-08-25T12:26:12 | 288,245,297 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,328 | cc | //
// ********************************************************************
// * License and Disclaimer *
// * *
// * The Geant4 software is copyright of the Copyright Holders of *
// * the Geant4 Collaboration... | [
"pierre.lasorak@gmail.com"
] | pierre.lasorak@gmail.com |
ea9ce8f44ec172b0811a1dff1fe3a23a4d680eb5 | f3c374f4cd2ae2bf08d3be43cc35ef0a7ec9215f | /1337/1337-A-Ichihime_and_Triangle.cpp | 271938f1dbec3b4da47c11850e22afd7d4069c39 | [] | no_license | dvyn01/Codeforces_Submissions_dvyn01 | 7d6a13e6b5a388d70e3e6e0de4c432a52c0344cd | 76648305f3842f1f23060f5ad2ae23a7cba084a4 | refs/heads/master | 2022-11-27T23:21:28.869683 | 2020-08-09T17:46:16 | 2020-08-09T17:46:16 | 286,286,979 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,807 | cpp | #include <bits/stdc++.h>
/* #include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace __gnu_pbds; */
using namespace std;
#define ll long long
#define ull unsigned long long
#define f(a, b) for (ll i = a; i < b; i++)
#define mod 1000000007
#define pb push_back
#define vll v... | [
"dvynshu.pndey@gmail.com"
] | dvynshu.pndey@gmail.com |
4ca233781f22789bb65eb7664f155b47e0657d55 | fd7b256a42018e54b9d0abf501ce8218f82545e0 | /thrift/lib/cpp2/transport/rsocket/test/StreamingTest.cpp | c22f38a01a747b7f7a06b90924fd690312c3c425 | [
"Apache-2.0"
] | permissive | Bustel/fbthrift | bf3d7fe53b4ff22beddff6662d723f5f651f06ad | 8eb90399fb1b0235e1414ad451ba50f6391ba30f | refs/heads/master | 2020-06-20T01:52:36.946055 | 2019-07-13T08:05:06 | 2019-07-13T08:10:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 25,589 | cpp | /*
* Copyright 2017-present Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
eeb9c3cc98e9faa3315f1932e709e10dd519e454 | 75952c75cf062910c9ced72ff22d7a3d5ea1513d | /c++/glfw/window/example.cpp | 6f7d516acadb2c92345622c678ce9a57987ab66c | [] | no_license | GabrieleMaurina/workspace | f01a412f001f63c8e41dc8e6d21941be83bf404e | 37d98a99c83d36c07c51990c5b6ec2a8acaac33e | refs/heads/master | 2022-09-26T16:48:49.169262 | 2022-08-30T20:09:18 | 2022-08-30T20:09:18 | 155,683,393 | 1 | 0 | null | 2021-02-26T14:42:44 | 2018-11-01T08:16:45 | Python | UTF-8 | C++ | false | false | 469 | cpp | #include <GLFW/glfw3.h>
int main(void)
{
GLFWwindow* window;
if (!glfwInit())
return -1;
window = glfwCreateWindow(640, 480, "Hello World", NULL, NULL);
if (!window){
glfwTerminate();
return -1;
}
glfwMakeContextCurrent(window);
while (!glfwWindowShouldClose(wind... | [
"gabrielemaurina95@gmail.com"
] | gabrielemaurina95@gmail.com |
6038fb4b10415595592d058c2049361dae8c0435 | 7ea6c776b6bd8054bae6ec2dbba96717c3bec471 | /smc/src/core/global_game.h | 0d7d8f67a0845d9580eb0c5865c7b8da8c872b68 | [] | no_license | sKabYY/SMC | e8017bde855166432a22ab91d9483d2d16e36d97 | 6af20fea76e499858f35c1d9ffb6b981c82b59fc | refs/heads/master | 2021-01-18T08:42:29.977070 | 2010-06-05T07:51:57 | 2010-06-05T07:51:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,344 | h | /***************************************************************************
* global_game.h - global header
*
* Copyright (C) 2003 - 2010 Florian Richter
***************************************************************************/
/*
This program is free software; you can redistribute it and/or modify
it u... | [
"fluxey@gmail.com"
] | fluxey@gmail.com |
b4f6d4846bcd3e966a3c2331f81c5d0604a691df | 0435915721a0b68591a5ddac4b409d78ba190977 | /DesignPatterns/Behavior/Behavior/Iterator.cpp | c36d298fb2d7d73ecf1a253e939602e51e6c6a43 | [] | no_license | PugnaHAN/C-Primer | 7e381b36c046fc1d178d28633b1cc19df68c06d8 | 39058fa5b01b6808e60c2a648ed7ff00b2f3a94f | refs/heads/master | 2021-06-11T00:58:41.233001 | 2016-12-14T01:56:31 | 2016-12-14T01:56:31 | 72,555,451 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 554 | cpp | #include "Iterator.h"
using namespace std;
bool operator==(const Stack &l, const Stack &r)
{
StackIter itl(l), itr(r);
for (; itl(); ++itl, ++itr)
if (*itl != *itr)
break;
return !itl() && !itr();
}
void testIterator()
{
Stack s1;
for (int i = 0; i < 5; ++i)
s1.push(i);
Stack s2(s1), s3(s1), s4(s1), s5(... | [
"justin_victory@hotmail.com"
] | justin_victory@hotmail.com |
5d5b5bc374a0088087c0b6813db6769bdb936e82 | d5d189fff2e027f7aa38ecde58952bcb4b636d47 | /include/ocr/test_ocr_detect_front.hpp | 9c15d5e18d3d55578792b293bec8561dd88847f1 | [] | no_license | wyc2015fq/cstd | 5979a3c26d5c7f00aadda440b04176dcf043e7dc | 664bcb4680a32811767f5541a8aae1551d621598 | refs/heads/master | 2020-05-15T20:22:19.209717 | 2019-04-20T16:08:03 | 2019-04-20T16:08:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,282 | hpp |
#include "utime.h"
#include "ocr/ocr_detect_front.hpp"
#define CAS_PATH "E:/OCR_Line/bin/model/"
int test_ocr_detect_front() {
char* fn = NULL;
vstr_t sv[1] = { 0 };
int i, n;
//buf_t bf[1] = {0};
sys_chdir("D:/pub/bin/adaboost/lobo");
sys_chdir("D:/pub/faceplusplus/gender/out");
sys_chdir("E:/OCR_Line/ad... | [
"31720406@qq.com"
] | 31720406@qq.com |
43f5a3372342a6d4c9d50d3fcb7009d3b4ad266f | 2bc835b044f306fca1affd1c61b8650b06751756 | /mshtml/src/site/util/domcoll.cxx | 4ed764059da78fdcf48605be184274ef7bb63e9c | [] | no_license | KernelPanic-OpenSource/Win2K3_NT_inetcore | bbb2354d95a51a75ce2dfd67b18cfb6b21c94939 | 75f614d008bfce1ea71e4a727205f46b0de8e1c3 | refs/heads/master | 2023-04-04T02:55:25.139618 | 2021-04-14T05:25:01 | 2021-04-14T05:25:01 | 357,780,123 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,109 | cxx | #include "headers.hxx"
#pragma MARK_DATA(__FILE__)
#pragma MARK_CODE(__FILE__)
#pragma MARK_CONST(__FILE__)
#ifndef X_DOM_HXX_
#define X_DOM_HXX_
#include "dom.hxx"
#endif
#ifndef X_COLLBASE_HXX_
#define X_COLLBASE_HXX_
#include "collbase.hxx"
#endif
#ifndef X_DOMCOLL_HXX_
#define X_DOMCOLL_HXX_
#include "domcoll.h... | [
"polarisdp@gmail.com"
] | polarisdp@gmail.com |
1b3c686e76a213a6d0672569091abf22f15894a6 | 0bcc3daa519b795608cf1da5a48f9cc11075c8de | /Algorithms4th_CPP/Chapter1/random.h | 1a5f52b849765f6e2eb59d68a01eb77cc1d66561 | [] | no_license | Gatsby23/Algorithms4th_CPP | 0c639430c1f0731968cbe212a51b8df021b69314 | 4c2f39483290871a43cf3af20aaeb85e5576523c | refs/heads/master | 2021-09-07T22:52:41.382589 | 2018-03-02T13:31:04 | 2018-03-02T13:31:04 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 3,663 | h | #pragma once
#include<random>
#include<exception>
/**
* The {@code StdRandom} class provides static methods for generating
* random number from various discrete and continuous distributions,
* including Bernoulli, uniform, Gaussian, exponential, pareto,
* Poisson, and Cauchy. It also provides method for shuffling ... | [
"wangshanshi@WANGSHANSHI-PC"
] | wangshanshi@WANGSHANSHI-PC |
ad5065e93679b54f72ee06743c237a4fca2171ce | 8c2461b55a516bcbcd011b014cc0fd6ff30e1a4a | /CodeForces/82A - Double Cola.cpp | 744b394670feeb8a812c56714737d19b504450a3 | [] | no_license | Abhiramon/ioi-training | 602bfd29f93f3d93143a1f54b93623b7df014f07 | 6f17829f2ea7fca60e719d1f67db4095012a9632 | refs/heads/master | 2021-01-22T05:50:42.627764 | 2015-06-18T02:13:46 | 2015-06-18T02:13:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 312 | cpp | //11414684 2015-06-04 17:12:33 Hiasat98 82A - Double Cola GNU C++ Accepted 15 ms 0 KB
#include <iostream>
using namespace std;
int main() {
int n;
cin >> n;
string names[5] = { "Sheldon", "Leonard", "Penny", "Rajesh", "Howard" };
while(n > 5){
n =(n/2) - 2;
}
cout << names[n - 1] << endl;
return 0;
}
| [
"hiasat00@gmail.com"
] | hiasat00@gmail.com |
b69b2fc30b4b30923b6922b1cd21d9e6a19636f8 | d9756b2d68edd109f1ea0a7535f1865769f4994a | /itl.trunk/boost/validate/loki/TypeTraits.h | 257043bc59f4478d956318dc6c037f86a245e8ad | [
"BSL-1.0"
] | permissive | somaproject/streams | 509362c9d88d608e429de225b785937a34984e87 | 9fed8ddb3b519a00fd8761a2382e11023ccf5186 | refs/heads/master | 2021-01-11T11:16:27.971865 | 2009-11-30T02:51:33 | 2009-11-30T02:51:33 | 100,223 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 94,170 | h | ////////////////////////////////////////////////////////////////////////////////
// The Loki Library
// Copyright (c) 2001 by Andrei Alexandrescu
// This code accompanies the book:
// Alexandrescu, Andrei. "Modern C++ Design: Generic Programming and Design
// Patterns Applied". Copyright (c) 2001. Addison-Wesley.
... | [
"jonas@mit.edu"
] | jonas@mit.edu |
9e1ffefc4cd307e7711e9fd7ab49fbf855eeb3cf | f921d605ad9fbc65fb360ef00dd137e77e94b787 | /C_Course_Training_ITPTIT/Contest_midterm/demomidterm.cpp | 1f24519840d14937dc7efec5db4ed2b617c766e9 | [] | no_license | maybehieu/C_Training | 79702e096bd706ec06fc7965b7b63249d140c41b | e1fa87e0bc0a6569ab7ebc847ffbf4324f2fe922 | refs/heads/master | 2023-07-22T20:06:36.552137 | 2021-09-04T15:29:17 | 2021-09-04T15:29:17 | 403,091,644 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,477 | cpp | #include <stdio.h>
#include <algorithm>
int main()
{
int bo,n,check,tong,so,sntarr[100000],ketqua = 0;
scanf("%d", &bo);
while (bo--)
{
scanf("%d", &n);
//check so nguyen to tu 1 den n
for (int i = 2; i <= n; i++)
{
if (n % i == 0)
{
... | [
"71547583+maybehieu@users.noreply.github.com"
] | 71547583+maybehieu@users.noreply.github.com |
27211390a9528eebe8a0f4d3bcb2a4144b9e1c9c | 606688234266e08c18d44cd4826f16afa39f9eb8 | /tpls/ensmallen/ensmallen_bits/problems/beale_function.hpp | 45e5183cb095a24d52355cd9196c6c478a2cb7c1 | [
"BSD-3-Clause",
"EPL-1.0",
"BSL-1.0",
"Apache-2.0",
"BSD-2-Clause",
"MPL-2.0",
"LicenseRef-scancode-generic-export-compliance",
"MIT"
] | permissive | eclipse/xacc | f285f2a20d88fbc4c8f7f1fc14f86bf170ae59e6 | d1edaa7ae53edc7e335f46d33160f93d6020aaa3 | refs/heads/master | 2023-09-01T12:36:22.324158 | 2023-08-01T21:44:29 | 2023-08-01T21:44:29 | 104,096,218 | 159 | 125 | BSD-3-Clause | 2023-08-25T04:55:34 | 2017-09-19T15:56:59 | C++ | UTF-8 | C++ | false | false | 3,059 | hpp | /**
* @file beale_function.hpp
* @author Suryoday Basak
*
* Definition of the Beale function.
*
* ensmallen is free software; you may redistribute it and/or modify it under
* the terms of the 3-clause BSD license. You should have received a copy of
* the 3-clause BSD license along with ensmallen. If not, see
... | [
"mccaskeyaj@ornl.gov"
] | mccaskeyaj@ornl.gov |
8d1d352f03c601f4471a829fb7e8e368590def91 | 4c2526a3c276314a090f1b44d6d00420443eca65 | /string/test_length.cpp | bc42bd4c9651de62427d8a332423dbe6ae3a3324 | [] | no_license | alfred316/KSU-CS2 | b1ce1e4ecdd4fd2a0ebe152a97ed266d176cd713 | bca9cf80eab57b30548bf074fcd5426c472f148e | refs/heads/master | 2021-01-10T21:22:56.255291 | 2013-10-19T03:17:26 | 2013-10-19T03:17:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 486 | cpp | // test length
// Alfred Shaker
#include "string.h"
int main (){
{//test 1
myString str;
assert(str.length()== 0);
}
{//test 2
myString str("alfred");
assert(str.length()== 6);
}
{//test 3
myString str("alfred");
assert(str.length()== 6);
}
{//test 4
myString str("To... | [
"ashaker@kent.edu"
] | ashaker@kent.edu |
464ed710ebafcd2dfc734031d928edf0041b8f9f | 1a434aadcccbb3d2884e3ae5a32b439d916accda | /TextureLib/TextureLib.cpp | f906bc4ce72e718a3e80910a952d2bacd2220e3a | [] | no_license | mrdooz/TextureTjong | 1ad9a80d917c200fd2e40b1bd65ffda1ce518cda | d020f614131ae38f5bf9c621d39de4df2e416b49 | refs/heads/master | 2021-01-06T20:38:22.356998 | 2010-03-04T12:15:28 | 2010-03-04T12:15:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,321 | cpp | #include "stdafx.h"
#include "TextureLib.hpp"
#include "Texture.hpp"
#include "Utils.hpp"
#include "Generators.hpp"
#include "Modifiers.hpp"
pfnTexture texture_create_callback = NULL;
pfnTexture texture_delete_callback = NULL;
extern "C"
{
__declspec(dllexport) void setTextureInit(pfnTexture pfnInit)
{
textur... | [
"dooz@spotify.com"
] | dooz@spotify.com |
3841013921096be1ca5bdd2ac8fdce509cbaf076 | 91a882547e393d4c4946a6c2c99186b5f72122dd | /Source/XPSP1/NT/drivers/storage/volsnap/vss/server/modules/coord/src/mgmt.cxx | f75db54659ced9382071f4f312b36ff7387c3261 | [] | 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 | 14,603 | cxx | /*++
Copyright (c) 1999-2001 Microsoft Corporation
Abstract:
@doc
@module Mgmt.cxx | Implementation of CVssSnapshotMgmt
@end
Author:
Adi Oltean [aoltean] 03/05/2001
Revision History:
Name Date Comments
aoltean 03/05/2001 Created
--*/
//////////////////////////////... | [
"support@cryptoalgo.cf"
] | support@cryptoalgo.cf |
7efa9adfa22c922807a43d93461697dfac6f75e6 | 3328d663f713ce6d5e78d190f50ae7e10b48ba1f | /maze/ConsoleApplication6/ConsoleApplication6.cpp | 206a0f93891d860a6bd4909b96925967e2d747e5 | [] | no_license | deadTrail/gameAcademy | a3316b71810ef98e574ff87dfd05cd16547428f8 | 5c9e15aabff4d0e7734f190e94cc65fe1cf734fd | refs/heads/master | 2021-01-01T04:03:34.390882 | 2017-07-28T12:57:49 | 2017-07-28T12:57:49 | 97,113,069 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 246 | cpp | // GameAcademyLecture_Array.cpp : 콘솔 응용 프로그램에 대한 진입점을 정의합니다.
//
#include "keyprocessing.h"
#include "mapDraw.h"
int main()
{
Title();
while (true)
{
KeyProcessing();
MapPrint();
}
return 0;
}
| [
"erttll135@gmail.com"
] | erttll135@gmail.com |
1af85f5d9f90411ecbafcf1e6c3cda22262b5676 | 635ea7e6b37dec361fc7304ab04116a6aba63f69 | /src/related_data.h | 80ecc8cd96f69863aa83e1153ea245a5241ec9b4 | [
"MIT"
] | permissive | itsaboutcode/toggldesktop | 409524ebab159b736c0b4206561fcb7b90ce9f8c | e28cc230963028bc4746b70441658cd8fbac8447 | refs/heads/master | 2021-01-17T09:05:27.595923 | 2014-03-16T11:24:11 | 2014-03-16T11:24:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 585 | h | // Copyright 2014 Toggl Desktop developers.
#ifndef SRC_RELATED_DATA_H_
#define SRC_RELATED_DATA_H_
#include <vector>
#include "./workspace.h"
#include "./client.h"
#include "./project.h"
#include "./task.h"
#include "./tag.h"
#include "./time_entry.h"
namespace kopsik {
class RelatedData {
public:
std::ve... | [
"tanel.lebedev@gmail.com"
] | tanel.lebedev@gmail.com |
9bc4220b76cd567ee85a58a338613c941d3961c2 | 8dece6eb7431870bb516535fa0110d867145dd7f | /daemon/actors/PlayerActor.cpp | 33297cd7d3e1a46870121d82f366b71256871a20 | [
"BSD-2-Clause"
] | permissive | ChowZenki/SeventhUmbral | 7f3862cc44ec6ccdbeeca5998e72257cce2b002e | 0b83e1013afbe84ed47ce963ebf7d280a1a3c310 | refs/heads/master | 2020-04-07T14:19:09.980864 | 2014-08-24T23:46:11 | 2014-08-24T23:46:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,715 | cpp | #include "PlayerActor.h"
#include "Endian.h"
#include "string_format.h"
#include "../Log.h"
#include "../GlobalData.h"
#include "../Instance.h"
#include "../DatabaseConnectionManager.h"
#include "../GameServer_Ingame.h"
#include "../packets/BattleActionPacket.h"
#include "../packets/ChangeEquipmentSlotPacket... | [
"jpd002@b2dc461f-b7ed-4520-8422-8e9c2511a46d"
] | jpd002@b2dc461f-b7ed-4520-8422-8e9c2511a46d |
fd133c8dd44d6c78fb433bfe419b0b1708eac036 | d161c240dd8d0615a9d9c16b7fb00a8bfbd197e1 | /Marsh.cpp | 050f575c611b9e0bc2b08dea292b06c8c90256d0 | [] | no_license | MarkusRabus/OptimalExtraction-Cpp | ea28dbc3e3f6ffecbbddf489ebc07981fc2f6ae5 | 6e62ad34235ef8f96c913bc7bc075edd75c7c797 | refs/heads/master | 2022-08-02T00:47:47.504840 | 2020-06-02T15:14:14 | 2020-06-02T15:14:14 | 268,626,832 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,409 | cpp | #include "Marsh.h"
namespace py = pybind11;
Eigen::MatrixXd ObtainP(Eigen::MatrixXd &inputImage,
Eigen::MatrixXd &imageMask,
Eigen::VectorXd &traceCenter,
int aperture,
double polySpacing,
... | [
"markus.rabus@gmail.com"
] | markus.rabus@gmail.com |
f9482b399782b24bffdc9e924ee91d3c772e0191 | f64f58aad1a5f4602440df8521c2d3bc25f6f6a2 | /src/Profiler/source/PerfTopProfiler.cc | 1ec71f7b432be6e29da9697a116464732adad2a2 | [
"Apache-2.0"
] | permissive | tera-insights/grokit | ab0f41a8f213739b1bac6ef69815a177f75f914a | af55cc1d22b816e9f8424199cdc2e0264288bc8a | refs/heads/master | 2020-04-15T17:29:49.981823 | 2017-08-26T22:24:52 | 2017-08-26T22:24:52 | 29,202,011 | 9 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 11,020 | cc | // Copyright 2013 Tera Insights, LLC. All Rights Reserved.
// Author: Christopher Dudley
// FIXME: This currently doesn't work (well) because of STDIO's output buffering.
// The profiler doesn't get any output until the 4096 byte buffer fills up in
// the Perf process.
#include "PerfTopProfiler.h"
#include "Errors.h"... | [
"alin@terainsights.com"
] | alin@terainsights.com |
81ba519a92ad2f776e8891a4f131b0bc3125b020 | 98b13bf7decc8eb72fdf4e38d78391b893c6ead8 | /old/neurolife/render.h | 333ce5142b56bb6381d694b53a33d7ae96f33750 | [] | no_license | vlargius/neurolife | 683ead358518fc52a653b77a376aa95aa00d2fc1 | e3bfa1b72319e50bfb121e87d99106468386568e | refs/heads/master | 2021-06-13T10:12:36.151594 | 2019-11-13T20:41:50 | 2019-11-13T20:41:50 | 143,466,554 | 1 | 0 | null | 2018-08-15T18:05:58 | 2018-08-03T19:37:55 | C++ | UTF-8 | C++ | false | false | 218 | h | #pragma once
#include <iostream>
using namespace std;
#include "world.h"
class IRender {
public:
IRender(const World* w) : w(w) {}
virtual void run() = 0;
virtual void flash() = 0;
protected:
const World* w;
}; | [
"vlargius@gmail.com"
] | vlargius@gmail.com |
74de841a52bf8cd403572c8214855059fb89f956 | 18614c5e8c150b8a88b4b3ca9de9adf5ce62dd9c | /Irrlicht/CLightSceneNode.h | 4bd72bac32fc9748bde5432f98f2e44d49281e28 | [] | no_license | fingoldin/vehicle-game | 61793b8fc4689ee3a31f09d784f663407a02ad9c | 0a2795d76bfca1c7cd66686ea53ba57dc395393f | refs/heads/master | 2021-01-20T18:21:19.370785 | 2018-10-29T21:38:37 | 2018-10-29T21:38:37 | 62,091,049 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,889 | h | // Copyright (C) 2002-2012 Nikolaus Gebhardt
// This file is part of the "Irrlicht Engine".
// For conditions of distribution and use, see copyright notice in irrlicht.h
#ifndef __C_LIGHT_SCENE_NODE_H_INCLUDED__
#define __C_LIGHT_SCENE_NODE_H_INCLUDED__
#include <irrlicht/irrlicht.h>
#ifndef _IRR_OVERRIDE_
... | [
"vassilioskaxiras@gmail.com"
] | vassilioskaxiras@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.