blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 986
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 145
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 122
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
70277436582ef5c50415af3ddb4899380f00fcb9 | af976711c178037f4e72fc9aa5577a007da77b0d | /src/snapplot/dlg_error_options.hpp | 41cdfad192782546e772d6a295e622767cd96a9a | [
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-warranty-disclaimer",
"MIT"
] | permissive | linz/snap | 865ebb67306de3a4703eb7972397c6ffbea2f1f6 | 62e0708da11e5c918de760d06c75a27b59463461 | refs/heads/master | 2023-06-02T11:36:28.508813 | 2023-05-16T18:52:38 | 2023-05-16T18:52:38 | 43,912,064 | 8 | 5 | NOASSERTION | 2022-04-02T18:10:27 | 2015-10-08T19:35:16 | C | UTF-8 | C++ | false | false | 122 | hpp | #ifndef DLG_ERROR_OPTIONS_HPP
#define DLG_ERROR_OPTIONS_HPP
bool SetupErrorOptions( wxHelpController *help = 0 );
#endif | [
"ccrook@linz.govt.nz"
] | ccrook@linz.govt.nz |
71f84ac653d9cea5c49547c5e0bec37556c1a9be | 0c717271d43dd86ed4aa7f047a856a34bf2e033d | /Codeforces/Round 709(Div 2)/Matrix_XOR.cpp | c516a8cee885f1da8e072e5f1ecc100f80601877 | [] | no_license | sudo1729/CODING-SOLUTIONS | 378ff550f38f03999be665dc9020eb4eea7d364e | 0cf8657c6832f2587bfd1aa5cf5bbcd0de2ecc7d | refs/heads/master | 2023-04-19T02:01:42.824523 | 2021-04-18T05:47:07 | 2021-04-18T05:47:07 | 305,708,772 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,438 | cpp | /*
``````````````````$$$$$
`````````````$$$$$$´´´´$$$$$$
``````````$$$´´´´´´´´´´´´´´´´$$$
````````$`$$´´´´´´´´´´´´´´´´´´´´$$
```````$´$$$´´´´´´´´´´´´´´´´´´´´´$$$$
`````$´´$$$$´´´´´´´´´´´´´´´´´´´´´´´´´´$
````$´´$$$$$´´´´´´´´´´$$$$$$$´´´´´´´´´$$
```$´´´$$$$$$$´´´$$$$$$$$$$$$$$$$$´´´´´$$
``$´´´´$$$$$$$$$$$$$$$$$$$$$$$$$$$... | [
"tripathiakhilesh98163@gmail.com"
] | tripathiakhilesh98163@gmail.com |
417f0f8305423bf823872b1af6d0c647213e031e | 2cae3c65a40a43aa1376fe8f6302ae84b2185b68 | /StJetAnalysis.cxx | 7183e05bef3a21f3b7c348ad283cfad7d43c2546 | [] | no_license | mckinziebrandon/STAR | a7039b28e4ea6367a8e4752abb8036a26722593a | e1626b9f0795cb2e8d339e42fc86b7e4cd9b2d47 | refs/heads/master | 2020-04-25T18:43:53.617355 | 2015-09-30T18:53:20 | 2015-09-30T18:53:20 | 33,167,069 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 224,377 | cxx | #include "StJetAnalysis.h"
//----------------------------------------------------------------------------------------
static TRandom ran;
static TRandom3 r3;
static TString HistName;
static char NoP[50];
static TRandom ran_gen;
//----------------------------------------------------------------------------------------
... | [
"bsmckinzie@lbl.gov"
] | bsmckinzie@lbl.gov |
ca80201319fc676ff5a464c2dc55bc37b67de3ea | 7045bb4f95ada6e1669a3cd9520681b7e548c319 | /Meijer/Popup/Popup.h | a9b3d3a749c3282739dada71b92b2981b137f78f | [] | no_license | co185057/MeijerTESTSVN | 0ffe207db43c8e881fdbad66c1c058e25fe451f5 | 3a3df97b2decc1a04e6efe7c8ab74eff5409f39f | refs/heads/master | 2023-05-30T00:19:36.524059 | 2021-06-10T08:41:31 | 2021-06-10T08:41:31 | 375,576,064 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,332 | h | // Popup.h : main header file for the POPUP application
//
#if !defined(AFX_POPUP_H__0B33DE7A_F2E9_11D4_8943_00A0C9EDD46B__INCLUDED_)
#define AFX_POPUP_H__0B33DE7A_F2E9_11D4_8943_00A0C9EDD46B__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#ifndef __AFXWIN_H__
#error include 'stdafx... | [
"co185057@ncr.com"
] | co185057@ncr.com |
d235873c2b8c0e7c341e8e7736622b14f44b269f | 065fe62aa6f9004fc91b07e6c676e8d500a47048 | /ANPR-Demo-master/ANPR/Recognise.cpp | 84e3b356a47b18f16288cea45a91935787c60f11 | [] | no_license | huyleonis/Capstone | ee8f185348e6637f0711bf01921e1f1df1f8dab4 | bebe728619453fd1097e373b87828f8c843d9677 | refs/heads/master | 2021-05-16T17:49:32.261190 | 2017-12-12T09:56:59 | 2017-12-12T09:56:59 | 103,046,379 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,639 | cpp | #include "Recognise.h"
const CvScalar RED = CV_RGB(255,0,0);
const CvScalar GREEN = CV_RGB(0,255,0);
const CvScalar BLUE = CV_RGB(0,0,255);
Recognise::Recognise() {
}
vector<IplImage *> Recognise::FindCharacter (IplImage *plate) {
vector<IplImage *> charImgVector;
vector<CvRect> rect;
IplImage *resizeImg, *binary... | [
"tin.bambo1112@gmail.com"
] | tin.bambo1112@gmail.com |
22d09f7ff2f12855b205ed12b4777cace6c20a1e | aaadfc7a2715df2047d76be8dc0732bc0921e0cd | /Tut03OpenGLsMovingTriangle/vertPositionOffset.cpp | c89fd4784c151b7cbc93d1c1cb706bfd0e4818c7 | [
"MIT",
"LicenseRef-scancode-public-domain",
"CC-BY-3.0"
] | permissive | Zaela24/gltut | 51d72c9ed3b632dd448f371827dbfab600b8d708 | 10d6f571db9c13d7ff173f52be8e25720dbfe71b | refs/heads/master | 2022-09-07T17:57:23.080661 | 2020-05-27T04:57:14 | 2020-05-27T04:57:14 | 266,958,080 | 0 | 0 | NOASSERTION | 2020-05-26T06:03:31 | 2020-05-26T06:03:30 | null | UTF-8 | C++ | false | false | 3,181 | cpp |
#include <string>
#include <vector>
#include <math.h>
#include <stdio.h>
#include <string.h>
#include <glload/gl_3_3.h>
#include <GL/freeglut.h>
#include "../framework/framework.h"
GLuint theProgram;
GLuint offsetLocation;
void InitializeProgram()
{
std::vector<GLuint> shaderList;
shaderList.push... | [
"unknown"
] | unknown |
0d3f04a927512a3c2341611e356525e6b0291157 | 34983bc6829614602be7c366864926568762c5f5 | /zubax_chibios/util/helpers.hpp | 34683bcac2a989fca23297555f7351dac770cde8 | [
"MIT"
] | permissive | zwx230741/zubax_chibios | 72e3810280cbf2ee8c2f8f0eb4fefb53be12ee46 | 2d96b0cb3d30e4108c0dce721e272e6ae5de5095 | refs/heads/master | 2020-03-19T11:37:01.585973 | 2018-06-02T17:59:13 | 2018-06-02T17:59:13 | 110,653,512 | 0 | 0 | null | 2017-11-14T07:05:57 | 2017-11-14T07:05:57 | null | UTF-8 | C++ | false | false | 1,186 | hpp | /*
* Copyright (c) 2016 Zubax, zubax.com
* Distributed under the MIT License, available in the file LICENSE.
* Author: Pavel Kirienko <pavel.kirienko@zubax.com>
*/
/*
* Various small helpers.
*/
#pragma once
#include <cassert>
#include <cstdint>
#include <utility>
#include <algorithm>
#include <iterator>
#def... | [
"pavel.kirienko@gmail.com"
] | pavel.kirienko@gmail.com |
c7d983fcd69a2a217ab8fb14d7f4fd1026ed5d8e | 48e9625fcc35e6bf790aa5d881151906280a3554 | /Sources/Elastos/LibCore/inc/org/apache/http/client/utils/CloneUtils.h | 585f640316dad172c3d9acfb0e4b3f10857f659d | [
"Apache-2.0"
] | permissive | suchto/ElastosRT | f3d7e163d61fe25517846add777690891aa5da2f | 8a542a1d70aebee3dbc31341b7e36d8526258849 | refs/heads/master | 2021-01-22T20:07:56.627811 | 2017-03-17T02:37:51 | 2017-03-17T02:37:51 | 85,281,630 | 4 | 2 | null | 2017-03-17T07:08:49 | 2017-03-17T07:08:49 | null | UTF-8 | C++ | false | false | 1,499 | h | //=========================================================================
// Copyright (C) 2012 The Elastos Open Source Project
//
// 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
//
// ... | [
"cao.jing@kortide.com"
] | cao.jing@kortide.com |
04c0baa870d94406d0d9ecf51b4278a870b6df43 | 08b8cf38e1936e8cec27f84af0d3727321cec9c4 | /data/crawl/collectd/new_hunk_1.cpp | 609aa7d9688914d2b704c9e2409527114cf412ad | [] | 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 | 173 | cpp | }
| block_begin block_end
{
if (strcmp($1.key, $2) != 0)
{
printf("block_begin = %s; block_end = %s;\n", $1.key, $2);
yyerror("block not closed");
YYERROR;
}
| [
"993273596@qq.com"
] | 993273596@qq.com |
72eb9bd5332d4492e2996d8939d7d8e8556e2e7c | aa0be8e15198d3302580470c73cb49513203c13b | /WindSim/src/3D/objectManager.cpp | 766bf032db7f0c16dca193378e2188751784de82 | [] | no_license | gudajan/Windsim | 0bf6c57d975c110ccdd7c822274923009dc7df9c | 5cc75deb9ea0b00739682dc48c0f4bb322e03276 | refs/heads/master | 2021-01-21T04:47:59.560952 | 2016-06-15T20:51:08 | 2016-06-15T20:51:08 | 45,236,132 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,252 | cpp | #include "objectManager.h"
#include "mesh3D.h"
#include "MeshActor.h"
#include "sky.h"
#include "skyActor.h"
#include "axes.h"
#include "axesActor.h"
#include "voxelGrid.h"
#include "voxelGridActor.h"
#include "dx11Renderer.h"
#include <d3d11.h>
#include <DirectXMath.h>
#include <DirectXPackedVector.h>
#... | [
"krohn@in.tum.de"
] | krohn@in.tum.de |
b6f09eb4a59298834ce124bad180de596bba4ef8 | 58549238c8c814aa6b201365b4644ab9595055f0 | /Lab5/Lab5_Figures/figures.hpp | f84a54eb06b5db9dc92a3d20bea5af69cc3e8acf | [] | no_license | enigma424242/C- | 27e50fc994dfe8bb97f9082d752ea595f48f7b4d | 1a56083c2c6cc2d0f44ba5f780e3b0b5d2125ff1 | refs/heads/main | 2023-08-20T14:54:05.869195 | 2021-10-27T02:12:18 | 2021-10-27T02:12:18 | 409,648,746 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 257 | hpp | #ifndef figures_hpp
#define figures_hpp
#endif figures_hpp
void filledSquare(int size, char paint);
void hollowSquare(int size, char paint);
void slash(int size, char paint);
void backSlash(int size, char paint);
void diamond(int size, char paint); | [
"noreply@github.com"
] | enigma424242.noreply@github.com |
d99f517575a4b66be85411e4d61a1a0d7a726017 | cb052ee1c43f00849811db2509d07826afb9a9bf | /xenum/test/src/xenums/FruitsNoNsNoCls.cpp | 10be555565cb5381ddc21dbfd1445ea6e01bea1c | [] | no_license | rodrigobmg/xenum | 7407731bae3eba9e7a2f1edc30fe86283425f830 | 0436738af5165e41f560b92f88bb11a92a6ed2f5 | refs/heads/master | 2020-06-08T16:39:41.674891 | 2018-07-17T00:07:04 | 2018-07-17T00:07:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 210 | cpp | /**
* @file
* @author Simon Lodal
* @copyright 2017-2018 Simon Lodal <simonl@parknet.dk>
* @license GNU GPL version 3
*/
#include <test/xenum/xenums/FruitsNoNsNoCls.hpp>
XENUM5_DEFINE(Fruits_NoNsNoCls)
| [
"simon.lodal@gmail.com"
] | simon.lodal@gmail.com |
c6c7cd0b580a2d068f44f756fbf445080885306c | d7a6eebfcfbe25734889fe7b0ec597386800160b | /NovodeXWrapper/NwRagdoll.cpp | abe340756861d6f1aab3ac2b3631fd6d0b55ca17 | [] | no_license | naturalleo/coh-score | 09f3a9137ab845739f3cc4be026c014af99ed81e | ccb216f07c25457991b86d3b41ec98ff858ed187 | refs/heads/master | 2020-11-24T19:45:13.700022 | 2019-07-28T14:36:02 | 2019-07-28T14:36:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 38,280 | cpp | #include "NwWrapper.h"
#if NOVODEX
//#include "NxMath.h" // needs to be included before mathutil.h or there's a define conflict
#define NO_TEXT_PARSER 1
#include "NwRagdoll.h"
#include "NxActor.h"
#include "NxPhysicsSDK.h"
#include "NxMaterial.h"
#include "NxScene.h"
#include "NxJoint.h"
#include "NxFixedJoint.... | [
"omegablast2002@yahoo.com"
] | omegablast2002@yahoo.com |
a25ad70b277cd84239db7472a656883c3d04c505 | 20b2af5e275469261d95d4441303d567b5c03bba | /src/brain/Behavior/DucksBehaviour/States/Initial.hpp | f72a110a4246b14091894721cd18f8bc4d8f5e20 | [
"BSD-2-Clause"
] | permissive | humanoid-robotics-htl-leonding/robo-ducks-core | efd513dedf58377dadc6a3094dd5c01f13c32eb1 | 1644b8180214b95ad9ce8fa97318a51748b5fe3f | refs/heads/master | 2022-04-26T17:19:00.073468 | 2020-04-23T07:05:25 | 2020-04-23T07:05:25 | 181,146,731 | 7 | 0 | NOASSERTION | 2022-04-08T13:25:14 | 2019-04-13T09:07:29 | C++ | UTF-8 | C++ | false | false | 243 | hpp | #pragma once
DucksActionCommand initial(const DucksDataSet &d)
{
auto command = DucksActionCommand::stand();
if (d.thoughts.handleNewState()) {
command.combineThoughtCommand(ThoughtCommand::RESET_COMPASS_DIRECTION);
}
return command;
} | [
"erik.mayrhofer@liwest.at"
] | erik.mayrhofer@liwest.at |
2547cbb4abcba3a2a8d52efe4e798c355d372e6d | 91a882547e393d4c4946a6c2c99186b5f72122dd | /Source/XPSP1/NT/inetsrv/query/web/dll/errormsg.cxx | 20e51a42cfe65747ca31513267324a632e94065a | [] | 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 | 25,942 | cxx | //+---------------------------------------------------------------------------
//
// Microsoft Windows
// Copyright (C) Microsoft Corporation, 1996 - 2000.
//
// File: errormsg.cxx
//
// Contents: Error messages for output/running queries
//
// History: 96/Mar/3 DwightKr Created
//
//-------------... | [
"support@cryptoalgo.cf"
] | support@cryptoalgo.cf |
729d513cefa270e2b1852ab097253a4179a9220f | 0c361c1dd7eb844cc26bfb683232bbde750388dc | /2tha/C.cpp | e786ce919572e3b9f3447f1ff4a1cbdf3afa91bd | [] | no_license | rizaust/sdust-cs-assignment | 831f3279ef7187b6d1e685f3790fbfc3a0228b6d | afd7ebbf8b3965eb1e704b4a2088197057477085 | refs/heads/master | 2022-05-11T09:46:23.311682 | 2022-03-29T03:02:35 | 2022-03-29T03:02:35 | 253,204,488 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,030 | cpp | #include <bits/stdc++.h>
using namespace std;
class Date {
public:
Date(int a, int b, int c) {
year = a;
month = b;
day = c;
}
void showDate() {
cout << setfill('0') << setw(4) << year << "-" << setw(2) << month
<< "-" << setw(2) << day;
}
int year, mo... | [
"540040135@qq.com"
] | 540040135@qq.com |
a37d248ff5e866483dccc7c19254a0daddc5b92b | a538a6605cdecbd3089445400a8ef7ef22296438 | /Code/PROJECT XYZ/Code/src/Engine/Graphics/Shapes/Triangle.cpp | c1edece85ae00b87813b77fe057af281978c97ad | [
"Unlicense"
] | permissive | Yavuz1234567890/Project-XYZ | c00c2ca6d323531d0969c51ee2461a172ed56dd2 | fa656c53b562e6cc4aceae1f3f51e205949b3e21 | refs/heads/master | 2023-04-06T17:35:56.050743 | 2021-04-14T19:46:26 | 2021-04-14T19:46:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,128 | cpp | #include "Graphics/Shapes/Triangle.hpp"
namespace Sonar
{
Triangle::Triangle( GameDataRef data ) : Drawable( data )
{
_object = &_shape;
_texture = new Texture( );
_shape.setPointCount( 3 );
SetInsideColor( Color::Black );
SetPosition( 0, 0 );
_globalBounds = _shape.getGlobalBounds( );
}
Triangle... | [
"SonarSystems@users.noreply.github.com"
] | SonarSystems@users.noreply.github.com |
d9856f577a1547d1d8a21178392ad5939752b856 | 408718e6d8645fdbf4706104abbcd45739902a59 | /Engine/SystemManagers/Events/EventManager.h | c18a78fba46dc1d701dfc8c8342354240467ff10 | [] | no_license | worldwebbull/ZCEngine | 5776f1272bff479a639f741a77fc9107bb78e9e3 | 68f7c93c2bf933f8742d79a47154632d6a463f52 | refs/heads/master | 2021-12-04T09:49:03.724993 | 2015-03-06T09:56:24 | 2015-03-06T09:56:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 958 | h | //
// EventManager.h
// ZenCoderEngine
//
// Created by Srinavin Nair on 10/18/13.
// Copyright (c) 2013 Srinavin Nair. All rights reserved.
//
#ifndef ZenCoderEngine_EventManager_h
#define ZenCoderEngine_EventManager_h
#include <SDL2/SDL.h>
#include <functional>
#include "SystemManager.h"
typedef std::function... | [
"zencoder1985@gmail.com"
] | zencoder1985@gmail.com |
66f8f07aeed297550702a3825f0144715706f1e6 | e5e657b26c2e61d2401ba3c027b2787e3ba60493 | /lib/websocket/WebSocketStatelessHandler.hpp | bbaf1ad5e307c2117ad1f4b115cb3811c9a491b0 | [
"Apache-2.0"
] | permissive | severnt/pravala-toolkit | db18cb1e6d4bb8a88b72b8ce9f4733b5f1ac4a68 | 77dac4a910dc0692b7515a8e3b77d34eb2888256 | refs/heads/master | 2021-01-02T20:39:43.640078 | 2020-02-01T16:03:28 | 2020-02-01T16:03:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,574 | hpp | /*
* Copyright 2019 Carnegie Technologies
*
* 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 l... | [
"narmstrong@carnegietechnologies.com"
] | narmstrong@carnegietechnologies.com |
5e260fb72c851f131a5f259c14e16f29151b64f4 | 9424f16b1f70e2b009872d70c32fe6ac7df563b0 | /2_Data_Structures/Fundamentals/Sparse_Table/Codeforces-Maximum_of_Maximums_of_Minimums.cpp | dbb3be0d26a2352152fb8c528c9f38cafc7d02e5 | [] | no_license | prajapati-sumit/CP-Algorithms | 196d46b8c9bad911b7120bfc33e4e1f8ad46ef9c | b4c99fa832d3ea9d9ae43a8ea1a6e33dfa678677 | refs/heads/master | 2023-08-18T04:46:11.620709 | 2021-10-11T05:57:49 | 2021-10-11T05:57:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,812 | cpp | // AUTHOR: SUMIT PRAJAPATI
#include "bits/stdc++.h"
using namespace std;
typedef unsigned long long ull;
typedef long long ll;
typedef pair<int, int> pii;
typedef pair<ll, ll> pl;
#define PI 3.1415926535897932384626
#define pb push_back
#define mk make_pair
#define ff first
#define ss second
#define trav(v) f... | [
"sumitprajapati821@gmail.com"
] | sumitprajapati821@gmail.com |
06f484f37048eb2b0071631e4c5861990c532849 | fbd1f6f25f42a807f2032a74782434cf082df621 | /cpp/SAIDA/DeepLearning/SharedMemoryMessageHandler.cpp | c3806b2cbf82bd090aa2be32494c6cbb8abb30d0 | [
"MIT",
"LicenseRef-scancode-protobuf"
] | permissive | rickyHong/StarCraft-RL-repl | 0fb1423ec83663767a21b487253a228e4a9675e3 | 6039dbeab185f39a19901b70916192f4915efea8 | refs/heads/master | 2022-12-12T08:57:11.700222 | 2019-05-29T03:07:15 | 2019-05-29T03:07:15 | 189,161,056 | 1 | 1 | MIT | 2022-12-08T05:10:54 | 2019-05-29T06:09:05 | C++ | UTF-8 | C++ | false | false | 381 | cpp | /*
* Copyright (C) 2019 SAMSUNG SDS <Team.SAIDA@gmail.com>
*
* This code is distribued under the terms and conditions from the MIT License (MIT).
*
* Authors : Iljoo Yoon, Daehun Jun, Hyunjae Lee, Uk Jo
*/
#include "SharedMemoryMessageHandler.h"
SharedMemoryMessageHandler::SharedMemoryMessageHandler()
{
}
S... | [
"vpds@naver.com"
] | vpds@naver.com |
f944acf6e9c632fad77b358cc87851021a33b0f6 | bc39ecd1bcd53522dae37385843d8bbe949a4c9d | /practising_for_contest.cpp | f7cf41fb1eb7e5382223e472c3d7c52c246ff0f3 | [] | no_license | joydip10/Code-Practise-with-C- | e34f513e82cf1fdecf3ad4f3c40ed94430b25e71 | fdbc0c81a1db4d9a5ae47209704f0c7e0de1e926 | refs/heads/main | 2023-06-21T14:25:34.053465 | 2021-07-12T03:44:54 | 2021-07-12T03:44:54 | 385,116,630 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 113 | cpp | #include<bits//stdc++.h>
using namespace std;
int main()
{
char c[10];
scanf("%[^\n]",c);
cout<<c;
}
| [
"joydipdasNSTU@gmail.com"
] | joydipdasNSTU@gmail.com |
35e9dd56ce0021fabd04ce954b61b48f45a3082f | a96cbdb9aa0d96bc420f0847a8753a6d3f36bc3a | /Lesson_9/Sample9.cpp | d83e2e647198f3898b4fa5da0a3b579801d513fd | [] | no_license | KamonohashiPerry/cplusplus | e1901842e8a9b711a39c86557d81e9cc42e8b2ab | 970a73df4526c011b9098fcfeb67beab345d71b4 | refs/heads/master | 2023-02-06T16:48:21.376905 | 2020-12-27T06:37:22 | 2020-12-27T06:37:22 | 291,221,882 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 128 | cpp | #include <iostream>
using namespace std;
int main()
{
const char* str = "Hello";
cout << str << '\n';
return 0;
} | [
"economics.teru@gmail.com"
] | economics.teru@gmail.com |
89517b917238ec017a23e226616ca8e4061a336d | 868e8628acaa0bf276134f9cc3ced379679eab10 | /firstCrude2D/we123/h10_refined/0.175/phi | c66a1adedd1f29b6742390d4f958bd95762f73e6 | [] | no_license | stigmn/droplet | 921af6851f88c0acf8b1cd84f5e2903f1d0cb87a | 1649ceb0a9ce5abb243fb77569211558c2f0dc96 | refs/heads/master | 2020-04-04T20:08:37.912624 | 2015-11-25T11:20:32 | 2015-11-25T11:20:32 | 45,102,907 | 0 | 0 | null | 2015-10-28T09:46:30 | 2015-10-28T09:46:29 | null | UTF-8 | C++ | false | false | 358,362 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.4.0 |
... | [
"stig.m.nilsen@gmail.com"
] | stig.m.nilsen@gmail.com | |
8b4fdce889fa4c595bea5e68b399515644ac16f3 | 784b33a310d3a797a692758d44eca4f547a1d0b7 | /CompetitiveProgramming/greaterTwoNoIfElse.cpp | a5ba7a999a98bfec5f11531a6e7b93d41a749bf4 | [] | no_license | bikash-das/cppPrograms | cf55ee4db713fa14ec3f5ae188cbf297795c7cc9 | 8b70bce4b8a6de6c2b9076f3eec897ec625888ff | refs/heads/master | 2020-05-02T19:46:52.943982 | 2019-12-26T15:04:18 | 2019-12-26T15:04:18 | 178,168,784 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 328 | cpp | #include <iostream>
using namespace std;
int larger(int a, int b){
int c = a-b;
//find msb = k
int mask = 100000000;
int k = c & mask;
if(k == mask){
k = 1;
}
// cout << "k: " << k <<"\n";
return (1-k)*a + k * b;
}
int main(){
int a = 200, b = 100;
cout << larger(a,b) << ... | [
"dasbikash989@gmail.com"
] | dasbikash989@gmail.com |
cb50f02c9c43b7927eb0324331c7dd4873c1041b | 2f97140d1b50c13ad7ac85970e6c41c30200c1b2 | /redux/Particles.cpp | cec6bf8f3d32ae4af52fa1a00eacd2d64769a915 | [] | no_license | mrdooz/codename_ch | 1b46d4b981551cbfd9eb7c63779d2820d403f52b | 4f6aa35ebc97ee4ebfabe740cda004d470edbd96 | refs/heads/master | 2016-09-06T10:35:57.357010 | 2010-02-23T20:21:41 | 2010-02-23T20:21:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,222 | cpp | #include "stdafx.h"
#include "Particles.hpp"
#include "Mesh.hpp"
#include "DebugRenderer.hpp"
#include "VertexBuffer.hpp"
#include "IndexBuffer.hpp"
using namespace std;
using namespace boost::assign;
extern ID3D10Device* g_d3d_device;
namespace
{
}
Particles::Particles(SystemInterface* system, EffectManager* eff... | [
"dooz@spotify.com"
] | dooz@spotify.com |
c026ce127430cd7d9dda1030b81360b8af164855 | 16644e730cddde1df0d0ba9cfcc1c5e586e08ac9 | /DOD Ray Tracer/main.cpp | 391446ab9f76313f0b966c49de3a498b7dd22d68 | [] | no_license | rstratton/dod-ray-tracer | 969a446d853765444391f53a4425cc81322c69c4 | 52565f00c27745e422e089aa9b1ee8f45dfba611 | refs/heads/master | 2020-05-17T03:41:34.424344 | 2019-05-07T01:38:48 | 2019-05-07T01:38:48 | 183,487,423 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,140 | cpp | #include "pch.h"
#define _USE_MATH_DEFINES
#include "math.h"
#include <iostream>
#include <vector>
#include <limits>
#pragma warning(disable:4996)
inline float max(float a, float b) {
return a > b ? a : b;
}
inline float min(float a, float b) {
return a < b ? a : b;
}
struct Vector {
float x;
float ... | [
"r.a.stratton88@gmail.com"
] | r.a.stratton88@gmail.com |
52ac791956fd0e7b2b8b6f76cd16f045c9c17ec6 | f700ef57902e8b92891a78d599f55328e3e02770 | /sort/sort/quick.h | cff6d71d41b387c2229e5bbc7a74fa670e2fde7e | [] | no_license | Gautumn/Algorithm | 77833ea36b64484ad0334e9b48bb5ba3bd965cc7 | e4ab697b596bd456b8b041dc6304c902fc8d05a0 | refs/heads/master | 2020-12-07T19:45:34.468096 | 2020-01-17T10:51:47 | 2020-01-17T10:51:47 | 232,784,864 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 1,340 | h | #pragma once
template <typename T, typename Comp>
size_t quickSort(std::vector<T> &v, size_t lo, size_t hi, const Comp &comp) {
size_t i = lo, j = hi + 1;
while (true) {
while (comp(a[++i], a[lo])) if (i == hi) break;
while (comp[a[lo], a[--j]]) if (j == lo) break;
if (i >= j) break;
... | [
"g_autumn@126.com"
] | g_autumn@126.com |
0adecbbe7631f4da808524b48273b91642b1e427 | b367fe5f0c2c50846b002b59472c50453e1629bc | /xbox_leak_may_2020/xbox trunk/xbox/private/ui/dvd/driver/dvdpldrv/Common/DVDAVDisk.h | d41084edb94a6703bd5def89a6577d326edcd8ae | [] | no_license | sgzwiz/xbox_leak_may_2020 | 11b441502a659c8da8a1aa199f89f6236dd59325 | fd00b4b3b2abb1ea6ef9ac64b755419741a3af00 | refs/heads/master | 2022-12-23T16:14:54.706755 | 2020-09-27T18:24:48 | 2020-09-27T18:24:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,739 | h | ////////////////////////////////////////////////////////////////////////////////
// //
// Copyright 2000-2001 STMicroelectronics, Inc. All Rights Reserved. //
// HIGHLY CONFIDENTIAL INFORMATION: This source code contains ... | [
"benjamin.barratt@icloud.com"
] | benjamin.barratt@icloud.com |
79f56291a22411f07b6509c269670edcb1d73406 | 5fbcb9b389dd4ad6f82c2d0c9f77b89527906275 | /Game/Include/Game/PhysicsComponent.h | 133ecd67b1abffe8aabaf91056dd4279898e3b1a | [] | no_license | Toopala/Spadengine | f5b32d7f661a0514a7fbeb8b094a57748fb4f8f6 | e41885884e1d816b04f8004b1b201278d752c607 | refs/heads/master | 2020-12-24T06:11:46.647175 | 2016-06-12T10:14:48 | 2016-06-12T10:14:48 | 49,644,872 | 6 | 5 | null | 2016-06-12T10:14:49 | 2016-01-14T12:05:42 | C++ | UTF-8 | C++ | false | false | 1,391 | h | #pragma once
#include "Component.h"
#include <Bullet/btBulletDynamicsCommon.h>
namespace sge
{
class PhysicsComponent : public Component
{
public:
PhysicsComponent(Entity* ent);
~PhysicsComponent();
void update();
/*void setBody(btRigidBody* bodyType)
{
body = bodyType;
}*/
/*void setShape(b... | [
"sarielirc@gmail.com"
] | sarielirc@gmail.com |
c9d3c171824011d9f6f9a2a7bdc759201ae730af | 16c25858ef1e5f29f653580d4aacda69a50c3244 | /hikr/build/Android/Preview/app/src/main/include/Fuse.Triggers.WhileValue-1.h | 5b4f33c6861fac00640875e69d8190b68570f4e4 | [] | no_license | PoliGomes/tutorialfuse | 69c32ff34ba9236bc3e84e99e00eb116d6f16422 | 0b7fadfe857fed568a5c2899d176acf45249d2b8 | refs/heads/master | 2021-08-16T02:50:08.993542 | 2017-11-18T22:04:56 | 2017-11-18T22:04:56 | 111,242,469 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,954 | h | // This file was generated based on /usr/local/share/uno/Packages/Fuse.Triggers/1.2.1/$.uno.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Fuse.Animations.IBase-d3bd6f2e.h>
#include <Fuse.Animations.IUnwr-594abe9.h>
#include <Fuse.Binding.h>
#include <Fuse.INotifyUnrooted.h>
... | [
"poliana.ph@gmail.com"
] | poliana.ph@gmail.com |
34da2462685b771ddf454d10ab103f6f0a05c5a4 | d2943b6df2ebcbc780a2079577074d719aa761f5 | /figures/figures/stdafx.cpp | 7aad676191d2c466d27333cabac766411f85a42e | [] | no_license | artempal/lesson | 0f1a2d99f08ffed097102ddd2338f726f6c26a56 | 72e00d72e95d7db23aea2faf1507fbd94b9a4365 | refs/heads/master | 2020-12-24T10:57:35.154808 | 2017-01-19T11:20:07 | 2017-01-19T11:20:07 | 73,222,699 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 571 | cpp | // stdafx.cpp: исходный файл, содержащий только стандартные включаемые модули
// figures.pch будет предкомпилированным заголовком
// stdafx.obj будет содержать предварительно откомпилированные сведения о типе
#include "stdafx.h"
// TODO: Установите ссылки на любые требующиеся дополнительные заголовки в файле STDAFX.H... | [
"mail@artempal.ru"
] | mail@artempal.ru |
dd3afa87339a3f13c648db24a26246093db5ad87 | 388ea1eef7d9b43e1ae8d0216a1b8516f524bbcb | /SoftPdmOut/SoftPdmOut.h | eb81649233e6d3457f38db1aac38505358afb4d0 | [] | no_license | arpfic/Organous_OSC | 07addbab5c30f07ef01fb7f429477dca9420f698 | 8ad22fa1f34600780a40d86acd8e92eb2319ea4a | refs/heads/master | 2022-08-26T05:26:59.958503 | 2022-08-12T15:59:53 | 2022-08-12T15:59:53 | 254,025,281 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,651 | h | /******************************************************************************************************/
/* Pulse Density Modulation driver. */
/* FILE: PDM.h */
/*... | [
"damienleb@protonmail.com"
] | damienleb@protonmail.com |
d59772b3ea7e35f5e1132888692bb74332d055c1 | 269abdb0c6479ce9c27477b5e0e59370b4292055 | /Array/mergeSortedArray.cpp | 6b3e6b021e73a7a134d0dacc07f81e83424cf12c | [] | no_license | sur4jsharma/CP | 3bcf9dce8915b71498c25b0b3d1eaab12d815fc9 | bc7a28186609735db1818a99c2032c10933e3b86 | refs/heads/master | 2022-10-11T16:37:21.079997 | 2020-06-12T08:53:21 | 2020-06-12T08:53:21 | 271,750,192 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,605 | cpp | #include<bits/stdc++.h>
using namespace std;
// void swap(int& x,int& y)
// {
// x^=y;
// y^=x;
// x^=y;
// }
void inplaceMerge(int arr1[],int arr2[],int n1,int n2)
{
int gap = n1+n2;
gap = (gap/2)+(gap%2);
int i,j;
int rem;
while(gap)
{
// cout<<"gap is:"<<gap<<endl;
... | [
"sooraj@cse.iitb.ac.in"
] | sooraj@cse.iitb.ac.in |
28c8053f7d3b7bd9d9eaa46bc7f548fd3e8ae25e | c8438ae7fcf871fccdd76fe6f30fcff2c184efda | /external/indicators/color.hpp | 39ad01e72105331b4e1a175370a6ef5c1cd8b3e6 | [] | no_license | vetlewi/MiniballREX | 7a993b657ff87f16e324562a6b11db3ad2b5f564 | 9201b39323c1b5afe46b369c4c80ca29157e19be | refs/heads/master | 2023-04-09T08:04:13.931266 | 2022-02-14T11:38:02 | 2022-02-14T11:38:02 | 257,984,777 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 164 | hpp |
#pragma once
#include <indicators/termcolor.hpp>
namespace indicators {
enum class Color { grey, red, green, yellow, blue, magenta, cyan, white, unspecified };
}
| [
"v.w.ingeberg@fys.uio.no"
] | v.w.ingeberg@fys.uio.no |
39c63e57a81f5544039e5163ebf0ec8b0d57783a | 4585398e9bfbd931f8885d5f797cf246847d2ad0 | /program/program.cc | ac8849031c97046f32f4fb1126861aa0a77e97b4 | [
"MIT"
] | permissive | alteos98/FIB-PRO2 | 3c80f440499a4d0b3a008163dad334c66b84925b | 94bf88aca984cc8af79677a5dc0f7d98041001de | refs/heads/master | 2022-03-26T23:18:55.203081 | 2020-01-19T19:35:46 | 2020-01-19T19:35:46 | 111,321,743 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,938 | cc | /**
* @mainpage Practica de PRO2: Experimentos geneticos en laboratorio
En este main tenemos un menu de opciones para gestionar individuos. Se introducen las clases <em>Individuo</em>, <em>Poblacion</em> y <em>Especie</em>.
*/
/** @file program.cc
@brief Programa principal para el ejercicio <em>Experimentos gen... | [
"noreply@github.com"
] | alteos98.noreply@github.com |
6b0c034ea9792610b31265fa457737e34ffe8854 | 98e13dafe4cf4477ac04e07bfca2babd72bae05e | /0014/src/DrawingApp.cpp | 072ed3c0d52ef2d164700b44cb67ebf09853b443 | [] | no_license | KzKousaka/Drawing | 67b40411896b44446291d6927a18959743864fe2 | a0a17f6505a3f77121e9c46d432a55e96be718ee | refs/heads/master | 2021-03-31T01:17:10.051486 | 2018-03-26T14:22:41 | 2018-03-26T14:22:41 | 124,553,197 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,239 | cpp | #include "cinder/app/App.h"
#include "cinder/app/KeyEvent.h"
#include "cinder/app/RendererGl.h"
#include "cinder/gl/gl.h"
#include "cinder/gl/Fbo.h"
#include "Resources.h"
#define SCREEN_WIDTH 1024
#define SCREEN_HEIGHT 1024
#define RENDER_SIZE 8192
using namespace ci;
using namespace ci::app;
using namesp... | [
"kazu1107@gmail.com"
] | kazu1107@gmail.com |
7d2ef87c0c429bb3b2277e75ebf23e0c336b3210 | 4c0fcff6cbe0e4492c2df04743935037eb913566 | /osgEarth/MaskLayer | 3235a73029870e77ecc656f5a18ef2b7be2a7366 | [] | no_license | yzfx303/vxworks_osgEarth | b008856f0ea89baddc8137ec870269c76f797abc | 7edbcec888b583ac6697ec4a63d96177fc22ed22 | refs/heads/master | 2021-06-06T08:25:06.223717 | 2016-09-19T10:36:33 | 2016-09-19T10:36:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,784 | /* -*-c++-*- */
/* osgEarth - Dynamic map generation toolkit for OpenSceneGraph
* Copyright 2008-2010 Pelican Mapping
* http://osgearth.org
*
* osgEarth is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundat... | [
"geobeans@gmail.com"
] | geobeans@gmail.com | |
d9ec92fcedc7f971aa6d1ea6479bc8c8e7487317 | e6cb5cece1249c89b2afddd724db6c3c7a021baa | /client.cpp | 849df5956d371055f82fea560c0260f4fbfd7951 | [] | no_license | welagejl/rsaC | d2a93542b1d12bc18d461cd441da2b817b40df3d | 819726f454e1394a300067b3e6a7b2939f1df483 | refs/heads/master | 2020-08-21T09:27:17.617446 | 2019-10-20T21:03:02 | 2019-10-20T21:03:02 | 216,130,774 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,318 | cpp | //
// chat_client.cpp
// ~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2019 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// 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)
//
#define BOOST_ALL_NO_LIB
#in... | [
"noreply@github.com"
] | welagejl.noreply@github.com |
ebbbbcb0cb78f601dd057dbc84e64c0e2807b488 | 73a6c8d1496b956f4969578881fe10f326d2f94f | /game/CLoginKey.hpp | 106aff3395360f74ee08a3173cc278ccaa6fb4a0 | [
"BSD-3-Clause"
] | permissive | miguelmig/LibM2 | c371dff511bf4a6fde76612f672033fb1620ed4c | dad7591a885a421842851905dc2bc8bbd648ca20 | refs/heads/master | 2020-12-25T03:51:34.240513 | 2013-12-01T17:04:29 | 2013-12-01T19:09:27 | 12,643,795 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 608 | hpp | /* This file belongs to the LibM2 library (http://github.com/imermcmaps/LibM2)
* Copyright (c) 2013, iMer (www.imer.cc)
* All rights reserved.
* Licensed under the BSD 3-clause license (http://opensource.org/licenses/BSD-3-Clause)
*/
#ifndef __LIBM2_GAME_CLOGINKEY_HPP
#define __LIBM2_GAME_CLOGINKEY_HPP
#include "st... | [
"imer@imer.cc"
] | imer@imer.cc |
49c5026c1851ce916a0f87fdb388059270936d09 | 2ae75b4445d1a177ccabcf033af59e3850f46ccf | /c&cpp/qt/learnQt2/10/build-myDrawing3-Desktop_Qt_5_5_0_MinGW_32bit-Debug/debug/moc_widget.cpp | 9980f7269909de795b731d0df39a3cc3956b8e5d | [] | no_license | asdlei99/public-note | b6daf53cc1fa51650457dae4bfa9e82faf16f778 | caaa6a04188656b21e255df34403615b4604c9c8 | refs/heads/master | 2022-01-27T18:59:00.930671 | 2019-06-23T10:03:31 | 2019-06-23T10:03:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,550 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'widget.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.5.0)
**
** WARNING! All changes made in this file will be lost!
**************************************************************... | [
"lsj9383@163.com"
] | lsj9383@163.com |
ce18630fdc99dcc7314c2e16fbd29190f246af29 | 341a2ca38494f4cee2bc9c83d5ebe6d2ad186c2a | /widgets_include/slide_group.h | bd876878741558826c72103974e7577992dd8a59 | [
"Apache-2.0"
] | permissive | Devkiss/GuiLite | 79d3aa33ac59bc47285a3e3ec290689c013f8569 | ef1554a1b0c8283a48d4ca33b3ebd4fc07d4bd1c | refs/heads/master | 2020-06-11T07:40:31.463182 | 2019-06-26T05:05:37 | 2019-06-26T05:05:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 996 | h | #ifndef PAGE_GROUP_H
#define PAGE_GROUP_H
#define MAX_PAGES 5
class c_slide_group : public c_wnd {
public:
c_slide_group();
int set_active_slide(int index, bool is_redraw = true);
c_wnd* get_slide(int index){return m_slides[index];}
c_wnd* get_active_slide(){return m_slides[m_active_slide_index];}
int get_active... | [
"idea4good@outlook.com"
] | idea4good@outlook.com |
d88f0f3fcda0cfd70ec582cab2a7ae50ef50246b | 05ee5944509635baaac0326965304cd3011c5a4b | /CS106B/Chapter01 (Overview of C++) BookExercises/11.PiAproximattion/PiAproximattion.cpp | 7631231013064bf53fd239c89d623982d7e3a1a9 | [] | no_license | oliverpecha/Stanford-SEE | f170889ad02f6e9c9caeb19ccbfceda5cd64d6ad | 562605a8e0e72fb84bc7c899346d5c2282e6f31c | refs/heads/master | 2023-07-09T02:33:34.291651 | 2023-07-04T15:22:14 | 2023-07-04T15:22:14 | 229,628,585 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,210 | cpp | /*
* File: PiAproximattion.cpp
* --------------
* The German mathematician Leibniz (1646–1716) discovered the rather remarkable fact that the mathematical constant PI
* can be computed using the following mathematical relationship:
* "1–+–+–+...
* The formula to the right of the equal sign represents an infinite ... | [
"oliverpecha@gmail.com"
] | oliverpecha@gmail.com |
492fc17f39ad0927562aff42a03ac09a5eecb902 | e1a6af52111a1dfa0ae053183e2b3d0180d1e9ec | /src/test/fuzz/script_sign.cpp | 1b65023009bb9976cc2cf60a0e508a7fba80fb90 | [
"MIT"
] | permissive | UFO-ETL/ufo | df392b66b3f528a3442c2a26304e061fb6e1a631 | e85dde0c8b12c1bf3357003afb77ea85b1476d6b | refs/heads/main | 2023-03-12T04:27:35.910420 | 2021-03-05T06:54:21 | 2021-03-05T06:54:21 | 344,399,934 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,586 | cpp | // Copyright (c) 2020 The UFO Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <chainparams.h>
#include <chainparamsbase.h>
#include <key.h>
#include <pubkey.h>
#include <script/keyorigin.h>
#include <scr... | [
"xiaka53@vip.qq.com"
] | xiaka53@vip.qq.com |
cb874205bd99b9a624638e151c49c03c4b9210a7 | de0b64e25e34b3fa3f88917bb596e2e416441e56 | /VectorDriver.cpp | 3f718aa7392db63c59cd4703a84f7ccb7ccfd7a7 | [] | no_license | ZunfixM/Lab04 | de974a754a894b808c68928ef5703df830605518 | 05c8f82948eb7950007b8f291d0fe86b99996a7d | refs/heads/master | 2020-03-31T10:57:23.271460 | 2018-10-08T22:58:10 | 2018-10-08T22:58:10 | 152,156,900 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,929 | cpp | // VectorDriver.cpp
// COSC 2030
// Trevor Dine
// 8 Oct 2018
#include "VectorDriver.h"
#include <algorithm>
using std::sort;
int main()
{
/*cout << " ..:: B E G I N S A M P L E C O D E ::.." << endl << endl;
vector<short> sample_vector(5);
cout << "new vector: ";
print(sample_vector);
cout << endl;
fill... | [
"noreply@github.com"
] | ZunfixM.noreply@github.com |
1a790c0c0077305e1e5448079d3ec18bfdb5f176 | 6f2b6e9d77fc4dd5e1dae8ba6e5a66eb7c7ae849 | /sstd_boost/sstd/boost/lambda/closures.hpp | fd5417c97026792d7058a03ed7ad822e1c1865e1 | [
"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 | 9,819 | hpp | /*=============================================================================
Adaptable closures
Phoenix V0.9
Copyright (c) 2001-2002 Joel de Guzman
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.... | [
"zhaixueqiang@hotmail.com"
] | zhaixueqiang@hotmail.com |
231c24c66609d15b957cc39f31dc3324da9fc465 | b2a9850912ee4c9b5728d3f8cc8238760087a2f6 | /include/GLM/detail/type_vec3.hpp | 31d2acd61b72e10ccf867527dcb14f4aea56ce10 | [
"MIT"
] | permissive | AJTech2002/Pathfinding-Renderer | 02baa902e576d98ba4ce0704ce50d2718663295d | e2d6886611cfe0c88f34f04051cff013ce0bc8cb | refs/heads/main | 2023-08-29T07:31:53.593647 | 2021-09-06T09:03:50 | 2021-09-06T09:03:50 | 394,891,739 | 1 | 0 | MIT | 2021-08-15T21:55:35 | 2021-08-11T06:52:10 | C | UTF-8 | C++ | false | false | 15,962 | hpp | ///////////////////////////////////////////////////////////////////////////////////
/// OpenGL Mathematics (glm.g-truc.net)
///
/// Copyright (c) 2005 - 2015 G-Truc Creation (www.g-truc.net)
/// Permission is hereby granted, free of charge, to any person obtaining a copy
/// of this software and associated documentatio... | [
"Ajay Venkat"
] | Ajay Venkat |
090dc2462638c2e0e7709bbcd9779acffe8e85ff | 6ff64d05bcf56741366a9a2bb1920ae224ef1d6e | /10006 carmichael num.cpp | e62ab14d6cdd2910181a681801c36feb353b181b | [] | no_license | abdur-rahman-mbstu/Uva-Solution | d744b8682afa340b12533c0c393b63d385ed9740 | 97e7d5fc246944e687b9970b5c216da4a5c5a5f8 | refs/heads/master | 2020-06-18T04:21:22.422435 | 2020-02-15T05:02:27 | 2020-02-15T05:02:27 | 196,162,192 | 1 | 0 | null | 2020-02-15T05:02:29 | 2019-07-10T08:12:04 | C++ | UTF-8 | C++ | false | false | 456 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
long n;
while(cin>>n)
{
if(n==0)
break;
if(n==561||n==1105||n==1729||n==2465||n==2821||n==6601||n==8911||n==10585||n==15841||n==29341
||n==41041||n==46657||n==52633||n==62745||n==63973)
... | [
"noreply@github.com"
] | abdur-rahman-mbstu.noreply@github.com |
c9cd50f68b58889422d8a693f3314681f70ee1cc | cb142e98b043e7088f0fe009f5159928877acf1b | /Nano_Basic/Nano_Basic1/BBKzWrok (2).ino | 62d24800ec2e18be76b6fa03059bff8d53089118 | [] | no_license | wetnt/Arduino_public | ef30502b4a30e099a09e2617fd58fd3a9801cf13 | 4cc331e2f43dda0df8f78d9cfe924da130ca5df3 | refs/heads/master | 2021-01-23T09:38:43.302783 | 2019-09-12T00:29:43 | 2019-09-12T00:29:43 | 33,909,041 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,051 | ino | //===================================================================
void Timer_work() {
//-------------------------------------
int timerEvent1 = timerLoop.every(timeChange, getangle); //每timeChange毫秒执行回调函数getangle
int timerEvent2 = timerLoop.every(100, MPU6050_show) ; //每50毫秒执行回调函数printout,串口输出
int timerEven... | [
"wetnt@sina.com"
] | wetnt@sina.com |
780b039703f7cb9cab2e9a41249bdb9a48fe53f2 | 5fe5d44504f802efc07a09b5b269cf01af4df022 | /include/std_msgs/Byte.h | 79fc80a408fb14e1151d8078559816a3de4dbe6a | [] | no_license | southpaw-wu/ros_ios_chamo | 737579b30b887799df51155f2bece68b8e3110d0 | a668c434ccff9c5f19678a6c4c58d3ffe67f7c37 | refs/heads/master | 2020-09-27T07:42:57.782856 | 2019-12-07T06:39:05 | 2019-12-07T06:39:05 | 226,466,720 | 0 | 0 | null | 2019-12-07T06:28:38 | 2019-12-07T06:28:38 | null | UTF-8 | C++ | false | false | 4,403 | h | // Generated by gencpp from file std_msgs/Byte.msg
// DO NOT EDIT!
#ifndef STD_MSGS_MESSAGE_BYTE_H
#define STD_MSGS_MESSAGE_BYTE_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_message_traits.h>
#include <ros/message_operations.h>
n... | [
"user@users-MacBook-Pro.local"
] | user@users-MacBook-Pro.local |
ed0e7712c8c55c0ef0de87f2150002c6c3303e18 | 385cb811d346a4d7a285fc087a50aaced1482851 | /gym/100494/L/main.cpp | 3bb70c51923b5d9addbc48fd8bbda9ac0ffff379 | [] | no_license | NoureldinYosri/competitive-programming | aa19f0479420d8d1b10605536e916f0f568acaec | 7739344404bdf4709c69a97f61dc3c0b9deb603c | refs/heads/master | 2022-11-22T23:38:12.853482 | 2022-11-10T20:32:28 | 2022-11-10T20:32:28 | 40,174,513 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,611 | cpp | #include <bits/stdc++.h>
#define loop(i,n) for(int i = 0;i < (n);i++)
#define range(i,a,b) for(int i = (a);i <= (b);i++)
#define all(A) A.begin(),A.end()
#define PI acos(-1)
#define pb push_back
#define mp make_pair
#define sz(A) ((int)A.size())
#define vi vector<int>
#define vl vector<long long>
#define vd vector<doub... | [
"noureldinyosri@gmail.com"
] | noureldinyosri@gmail.com |
0e2b333f813431c5af883a5f0dae5642534f1667 | d4014d7b7555afb29806827c8bc036e3b20ea876 | /src/state/State.cpp | 6733bc1ec0739e09dbd9d9dd0f09accf28342aa8 | [
"Apache-2.0"
] | permissive | renzhengeek/Faasm | ff89865208e927ad5ab8cda6403c171334a69b95 | 7c3f081e21064d8dbd4664212916170ea87f76fd | refs/heads/master | 2022-04-26T18:52:39.940370 | 2020-04-24T15:47:14 | 2020-04-24T15:47:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,716 | cpp | #include "State.h"
#include "UserState.h"
#include <util/config.h>
#include <util/locks.h>
#include <unistd.h>
using namespace util;
namespace state {
/**
* Global state (can hold many users' state)
*/
State &getGlobalState() {
static State s;
return s;
}
void State::forc... | [
"noreply@github.com"
] | renzhengeek.noreply@github.com |
3814e132be66eb1de4e470c91ee75ba28bbb7bf9 | 850a39e68e715ec5b3033c5da5938bbc9b5981bf | /drgraf4_0/MMgrPat/Loft_Com.cpp | a91ffb0448e29d2ee46fbf74c392dd41a99296d5 | [] | no_license | 15831944/drProjects | 8cb03af6d7dda961395615a0a717c9036ae1ce0f | 98e55111900d6a6c99376a1c816c0a9582c51581 | refs/heads/master | 2022-04-13T12:26:31.576952 | 2020-01-04T04:18:17 | 2020-01-04T04:18:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,465 | cpp |
#include "stdafx.h"
#include "DListMgr.h"
#include "DrCurve.h"
#include "Def_MouseAct.h"
///////////////////
#include "Loft_Com.h"
#ifdef _DEBUG
#undef THIS_FILE
static char BASED_CODE THIS_FILE[] = __FILE__;
#endif
IMPLEMENT_DYNAMIC(CLoft_Compat, CObject)
////////////////////
BOOL CLoft_Compat::AreCurvesCompatible... | [
"sray12345678@gmail.com"
] | sray12345678@gmail.com |
710a30813723c4efce5004b7cf7fb28afcae47a6 | 5446d232249fb394900a458af2bb7e9aaa9c5a76 | /leetcode/single-number-ii.h | 95d51f2bede697788c09266d31e356ff3c739ad4 | [] | no_license | huozhi/algorithm | 32b54dbf3578929dbe18db789dea0c8b15ed433c | ba722e2341a10ef6f7948b70f3b2d7bfd7ca4584 | refs/heads/master | 2021-01-20T00:40:16.429935 | 2018-07-21T08:33:08 | 2018-07-21T08:37:12 | 18,261,041 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,055 | h | /*
Given an array of integers, every element appears three times except for one.
Find that single one.
*/
// Solution 1, use hash table
class Solution {
public:
int singleNumber(int A[], int n) {
if (n <= 0)
return -1;
else if(n == 1)
return A[0];
uno... | [
"gilesliu12@gmail.com"
] | gilesliu12@gmail.com |
be229d671775fd8dc8b337eb34a0b85f98af4d71 | fb26c19ead12a893e04ecdec4281d30ddb54278f | /VitalsOneProj/VitalsOneProj/Forest/Forest.cpp | 2da15be8c4daf80a63ca3a3ac3c04b4e34554fad | [] | no_license | TLadd/SeniorDesign | 2b90b39529314e19cbaeb82190aac0fba8bfb4ac | a40ac21efc8c6dca57aeabd6de69e0fbed63284e | refs/heads/master | 2021-01-06T20:45:28.157179 | 2014-04-19T06:50:22 | 2014-04-19T06:50:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,838 | cpp |
#include "Forest.h"
#include "NodeFactory.h"
#include <boost/thread/thread.hpp>
#include <ctime>
#include <qdebug.h>
using namespace std;
using namespace cv;
using namespace boost;
Forest::Forest(){}
Forest::Forest(string fileName) {
}
Forest::Forest(int _numClasses, int _depth,
int _numFeatures, int _numThre... | [
"thomas.rye.ladd@gmail.com"
] | thomas.rye.ladd@gmail.com |
3299bc5ada4ec1a58cdd2e244edc961a99d325b7 | fdebc7dbab00dc23baa3f5eb1b7138153d85cfeb | /src/model/input/SyntheticSource.hpp | 2b949c3abd21c52980c92b1e5e1764d94b46c3a6 | [] | no_license | ipapaste/Capit2 | 5aaa38170977e11521306d6c613afaf47185f7f6 | a105c9e8b0e1d67626a0624814f58f7319cdac6d | refs/heads/master | 2021-05-30T11:56:07.815843 | 2012-03-13T23:10:26 | 2012-03-13T23:10:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,795 | hpp | /*
* SyntheticSource.hpp
*
* Created on: Jan 23, 2012
* Author: issle
*/
#ifndef SYNTHETICSOURCE_HPP_
#define SYNTHETICSOURCE_HPP_
#include <iostream>
#include <vector>
#include "AbstractSource.hpp"
#include "ActiveFlow.hpp"
#include "commons/math/Rnd.hpp"
#include <boost/lexical_cast.hpp>
#include "../IMa... | [
"ipapaste@gmail.com"
] | ipapaste@gmail.com |
f3167c270c0ba12672fb1743855a163ddff57f14 | 560090526e32e009e2e9331e8a2b4f1e7861a5e8 | /Compiled/blaze-3.2/blazetest/src/mathtest/dmatsmatsub/MDaHCb.cpp | da3f5839915e174bef84ff35712c4da3dc8b4c10 | [
"BSD-3-Clause"
] | permissive | jcd1994/MatlabTools | 9a4c1f8190b5ceda102201799cc6c483c0a7b6f7 | 2cc7eac920b8c066338b1a0ac495f0dbdb4c75c1 | refs/heads/master | 2021-01-18T03:05:19.351404 | 2018-02-14T02:17:07 | 2018-02-14T02:17:07 | 84,264,330 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,158 | cpp | //=================================================================================================
/*!
// \file src/mathtest/dmatsmatsub/MDaHCb.cpp
// \brief Source file for the MDaHCb dense matrix/sparse matrix subtraction math test
//
// Copyright (C) 2012-2017 Klaus Iglberger - All Rights Reserved
//
// This fi... | [
"jonathan.doucette@alumni.ubc.ca"
] | jonathan.doucette@alumni.ubc.ca |
6988c08d1a42f2fb1019f8635507ad5713ef3b92 | d0c44dd3da2ef8c0ff835982a437946cbf4d2940 | /cmake-build-debug/programs_tiling/function13748/function13748_schedule_26/function13748_schedule_26_wrapper.cpp | 5f8d9818369ce4066a9f20400a41b942b86f8dad | [] | no_license | IsraMekki/tiramisu_code_generator | 8b3f1d63cff62ba9f5242c019058d5a3119184a3 | 5a259d8e244af452e5301126683fa4320c2047a3 | refs/heads/master | 2020-04-29T17:27:57.987172 | 2019-04-23T16:50:32 | 2019-04-23T16:50:32 | 176,297,755 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,544 | cpp | #include "Halide.h"
#include "function13748_schedule_26_wrapper.h"
#include "tiramisu/utils.h"
#include <cstdlib>
#include <iostream>
#include <time.h>
#include <fstream>
#include <chrono>
#define MAX_RAND 200
int main(int, char **){
Halide::Buffer<int32_t> buf00(1024);
Halide::Buffer<int32_t> buf01(256... | [
"ei_mekki@esi.dz"
] | ei_mekki@esi.dz |
6a0d91ffafe15b76c535c2958b8162b81d1e4b26 | 95ccfcabf9e5a7c46016135a4ea88d1236a0a3b2 | /AVL tree/include/BSTNode.h | 3adea6f521bcc2ce14d11abec75456117914522c | [] | no_license | jfhr1999/MaterialTecComputacion | db3ebd2a8459191e473e94f1f7bfac4604a98d1f | 2028ec0f7d7fe9343506bcb4db0ac28486c7c7f6 | refs/heads/master | 2020-04-08T17:46:40.422099 | 2018-11-29T00:11:16 | 2018-11-29T00:11:16 | 159,580,456 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,050 | h | #ifndef BSTNODE_H
#define BSTNODE_H
class BSTNode{
public:
BSTNode(E element, BTSNode<E> *left = NULL, BTSNode<E> *right = NULL){
this->element = element;
this->left = left;
this->right = right;
}
~BSTNode(){}
void setElement(E pElement){
... | [
"33138600+chaos20@users.noreply.github.com"
] | 33138600+chaos20@users.noreply.github.com |
8d8ebcd72c186be13ea4946193d1ec4464a558d8 | 91a882547e393d4c4946a6c2c99186b5f72122dd | /Source/XPSP1/NT/com/oleutest/stgbvt/comtools/h/syncwrap.hxx | ac9d88737aabe1022fa13fc496399b8582960234 | [] | 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 | 20,743 | hxx | //+-------------------------------------------------------------------
//
// File: syncwrap.hxx
//
// Contents: Wrapper classes for Win32 synchronization objects.
//
// Classes: CMutex - Creates/destroys a Mutex object
// CSemaphore - Creates/destroys a Semaphore object
// CE... | [
"support@cryptoalgo.cf"
] | support@cryptoalgo.cf |
a6c62d7db6c5056d423ccc506fb9e9721d9de103 | d2d60b3fbb1bbe612cee41e0356e04f4e245c312 | /ZigZagConversion.cpp | 628725e671fc7aad565a68f4a89034e13edb0461 | [] | no_license | xiaoningyb/leetcode | 3bc90fac1563a4c5c17d3262971190b7fd262c79 | f6b8db74d45ad985cbd24be903f018efe2f7198e | refs/heads/master | 2016-09-06T11:43:22.405866 | 2015-11-12T07:00:19 | 2015-11-12T07:00:19 | 9,593,926 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 836 | cpp | #include <string>
#include <iostream>
using namespace std;
string convert(string s, int nRows) {
// Start typing your C/C++ solution below
// DO NOT write int main() function
if(nRows < 2)
return s;
string ret;
int step = (nRows - 1) * 2;
for(int j = 0; j < nRows; ++j... | [
"ning.xiao@nebutown.com"
] | ning.xiao@nebutown.com |
58bc57515fdbe0d8372174b1c7471d0ab70cfd06 | b312a2dbfa4bdc7c6468c398d600708b9ca483db | /test/test.cc | 9d0359e84bc2b39fc4db5e36c51a5747a2259fc4 | [] | no_license | tiestoparabola/test | 925cacafde0071cb6587b78e254f85d5fe0b12dd | 2ac2ab6916ef2fc8fb4b0787fd310a345d2e8794 | refs/heads/master | 2020-04-02T01:17:13.943709 | 2015-05-07T21:32:45 | 2015-05-07T21:32:45 | 35,244,512 | 0 | 0 | null | 2015-05-07T21:30:25 | 2015-05-07T21:30:25 | null | UTF-8 | C++ | false | false | 306 | cc | #include <iostream>
using namespace std;
int main()
{
vector<int> v(10);
for (int i = 0; i < 10; ++i) cin >> v[i];
for (int i = 0; i < 10; ++i) cout << v[i] << endl;
cout << "Hello World" << endl;
cout << "Hola" << endl;
cout << "გამარჯობა" << endl;
}
| [
"Yoh0xFF@gmail.com"
] | Yoh0xFF@gmail.com |
b258cedb4878bbc385beca41533ad8a523447ac8 | 38f09b5c6556286355f7ede2d147f7e6031aa2f8 | /src/conversion/onnx_to_krnl/math/elementwise.cpp | 55d4cdad03df2a4ccd4e10ca4c6154e4a1b25f48 | [
"Apache-2.0"
] | permissive | Joejiong/ONNF | 928650af48eec14231a4e61d087b9d0ef0e00101 | 5357fc1421333391522fe694612bacd3e00da953 | refs/heads/master | 2022-04-10T23:02:08.830220 | 2020-02-26T17:03:24 | 2020-02-26T17:03:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 27,108 | cpp | //===----- elementwise.cpp - Elementwise Ops ------------------------------===//
//
// Copyright 2019 The IBM Research Authors.
//
// =============================================================================
//
// This file lowers ONNX element-wise operators to Krnl dialect.
//
//===--------------------------------... | [
"noreply@github.com"
] | Joejiong.noreply@github.com |
5a345d24927d3c671524207372a60015bcdc03b6 | ad5b72656f0da99443003984c1e646cb6b3e67ea | /src/core/shape_inference/include/sequnce_generator.hpp | c7a5ae7de3da688528e8b7c20197de689c271e20 | [
"Apache-2.0"
] | permissive | novakale/openvino | 9dfc89f2bc7ee0c9b4d899b4086d262f9205c4ae | 544c1acd2be086c35e9f84a7b4359439515a0892 | refs/heads/master | 2022-12-31T08:04:48.124183 | 2022-12-16T09:05:34 | 2022-12-16T09:05:34 | 569,671,261 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 868 | hpp | // Copyright (C) 2018-2022 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#pragma once
namespace ov {
/** \brief Enumerate directions */
enum Direction : uint8_t { FORWARD, BACKWARD };
/**
* \brief Infinite generator of sequence increasing values.
*
* Start value can be specified.
*
* \tparam T Typ... | [
"noreply@github.com"
] | novakale.noreply@github.com |
96ecee63320e1c52d4e7bb0f171cfd03e92414ae | 1d4abaef87c708ab68be6642660283b94e4c69e7 | /Problem56/Problem56.cpp | 920687dd73fece9a1d1bf02878f321e7574b0974 | [] | no_license | yulotomorrow/Project-Euler-100 | 93b698dd0935e5ceb32761757288d7d54cac24f6 | e040dabbda06a70fc3678a39882dac271bd07351 | refs/heads/main | 2023-07-16T04:36:57.540531 | 2021-08-26T05:23:46 | 2021-08-26T05:23:46 | 386,851,185 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,886 | cpp | #include <iostream>
#include <string>
#include <array>
#include <vector>
#include <deque>
#include <chrono>
using namespace std;
deque<int> BigIntSum(deque<int> num1, deque<int> num2)
{
deque<int> sumResult = {};
auto itr1 = num1.crbegin();
auto itr2 = num2.crbegin();
int additional = 0;
while (itr1 != num1.crend... | [
"yulotomorrow@gmail.com"
] | yulotomorrow@gmail.com |
a0d9f715358de6c17e6307de8d37486d01036050 | b42e8fae99402454ec567b868cd7c6800f44b739 | /poj/2887 Big String.cpp | 0639677e57282b8373e50f3604d34c7521f1ef31 | [] | no_license | GadyPu/OnlineJudge | a0799a47454f351e94c9ad8ed20fd2d5ed7e40be | 0740f8e5e7d6e923ac51baec783a6b40cd24260e | refs/heads/master | 2021-01-01T05:06:55.238653 | 2016-05-21T12:54:09 | 2016-05-21T12:54:09 | 59,358,276 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,861 | cpp | #include<algorithm>
#include<iostream>
#include<cstdlib>
#include<cstring>
#include<cstdio>
#include<vector>
#include<set>
using std::set;
using std::sort;
using std::pair;
using std::swap;
using std::vector;
using std::multiset;
#define pb(e) push_back(e)
#define sz(c) (int)(c).size()
#define mp(a, b) make_pair(a, b)
... | [
"GadyPu@gmail.com"
] | GadyPu@gmail.com |
c280f9cffb3ce264214f1bbfcd4619602b7895d5 | e3f64b5dea5e0c8137b3dd84afbd948a5c585ba6 | /gazebo/gui/BoxMaker.cc | e1706cf618b1dc45d84a0c8585aaded4b1999c43 | [
"Apache-2.0"
] | permissive | Karandaras/scene-reconstruction-gazebo | 40a99d9ae8820ba76b1d298ceabb91813b91402e | 8fdfc66ee5a73a0d18e36cf85e965f964e1ad15d | refs/heads/master | 2020-12-24T15:40:04.385097 | 2013-01-24T08:05:01 | 2013-01-24T08:05:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,791 | cc | /*
* Copyright 2011 Nate Koenig
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | [
"bastian.klingen@rwth-aachen.de"
] | bastian.klingen@rwth-aachen.de |
eaf723e9df5046190a320f0f0a2213e093c9c7cc | 0888a19865566ddca5ae404fd7d3d389bce2943b | /task.cpp | eea0add36a93e0040bfbded0dcd0d0a705e06dc2 | [
"MIT"
] | permissive | Perveance/ThreadPool | 8c51c457b331b4c1d55933c62b5be0371f2f397b | 81e2068d7ab1cf3762d8c1cb065565290ccc6e0f | refs/heads/master | 2021-01-10T16:01:22.670250 | 2016-04-24T20:17:12 | 2016-04-24T20:17:12 | 55,917,975 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 154 | cpp |
#include "task.h"
Task::Task(func_type f, void *args) : m_func(f), m_args(args)
{
}
Task::~Task()
{
}
void Task::execute()
{
m_func(m_args);
}
| [
"mszhidko@gmail.com"
] | mszhidko@gmail.com |
b7b9af52c21884880a01b57b25a62feed8342989 | 98839220fc95805dd54153be3407b53a939a5812 | /Source/ablastr/utils/Serialization.H | 87f1e94d185e978295098a80f0bd59d57626122f | [
"BSD-3-Clause-LBNL",
"LicenseRef-scancode-unknown-license-reference",
"BSD-2-Clause"
] | permissive | kngott/WarpX | 9c16dc0554a6230ee1668556276a3c5da00c7ad0 | eb62c182c6dc82f35efdaae0ce0fb6f2ea763ac1 | refs/heads/master | 2023-08-07T03:31:58.199409 | 2022-09-08T16:42:49 | 2022-09-08T16:42:49 | 206,874,688 | 0 | 0 | NOASSERTION | 2019-09-06T21:11:29 | 2019-09-06T21:11:29 | null | UTF-8 | C++ | false | false | 5,367 | h | /* Copyright 2021 Luca Fedeli
*
* This file is part of WarpX.
*
* License: BSD-3-Clause-LBNL
*/
#ifndef ABLASTR_MSG_LOGGER_SERIALIZATION_H_
#define ABLASTR_MSG_LOGGER_SERIALIZATION_H_
#include <algorithm>
#include <array>
#include <cstring>
#include <string>
#include <type_traits>
#include <vector>
namespace ab... | [
"noreply@github.com"
] | kngott.noreply@github.com |
70d23a28ecb7788e05b9d440cd5eed72274d5c63 | 5722b41690ccff7280821d38a947f5a13efd0ad4 | /L4/a.1.cpp | ffc980599480ec4de57a0e2969f4fab0b89c0959 | [] | no_license | Cr1stalf/Cpp | b1af4c9c92589850884d55334e4749b8def0d136 | 4771e611e0b6796152f524c772d1726b4a700bb9 | refs/heads/main | 2023-08-16T08:41:33.352909 | 2021-10-14T15:10:47 | 2021-10-14T15:10:47 | 410,743,170 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 475 | cpp | #include <iostream>
using namespace std;
// заменить все элементы массива противоположными числами
void print(int mas[], int a)
{
for (int i = 0; i < a; i++)
{
cout << mas[i] << " ";
}
cout << endl;
}
int main()
{
int a[10];
for (int i = 0; i < 10; i++)
{
cin >> a[i];
}
print(a, 10)... | [
"noreply@github.com"
] | Cr1stalf.noreply@github.com |
dc3542624cac78286dfbdd7f4e39688a457db850 | a75bfdb61d2bfa20f71d2a1548188db18a8e5e6d | /Codeforces/352/a.cpp | 26a7dc48c4d1a97643a1ba55971eacc16cd31910 | [] | no_license | Ra1nWarden/Online-Judges | 79bbe269fd35bfb1b4a5b3ea68b806fb39b49e15 | 6d8516bb1560f3620bdc2fc429863a1551d60e6a | refs/heads/master | 2022-05-01T17:50:00.253901 | 2022-04-18T06:55:25 | 2022-04-18T06:55:25 | 18,355,773 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 239 | cpp | #include <cstdio>
#include <sstream>
using namespace std;
int main() {
int n;
scanf("%d", &n);
stringstream ss;
for(int i = 1; ss.tellp() < n && i <= 1000; i++) {
ss << i;
}
printf("%c\n", ss.str()[n - 1]);
return 0;
}
| [
"wzh19921016@gmail.com"
] | wzh19921016@gmail.com |
31d858f2dbff84b2beb04b21c0737406c153c809 | 559401eefd912bd66c56541cd202a3be54b20bbf | /dominio/atividade.cpp | bb80afda930c21182e8281217e34af7b61dd01fc | [] | no_license | faakit/Trabalho_ProgIII_Cpp | 3ed9f927d213487c3e0e2572fcda5966182b581f | 19a68c94829fa524b734d8f988e6620717dff522 | refs/heads/master | 2023-01-31T08:56:09.855204 | 2020-12-10T18:58:59 | 2020-12-10T18:58:59 | 316,269,062 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,350 | cpp | #include "atividade.h"
namespace dominio{
atividade::atividade(int numero, string nome, bool sincrona, double cargaHoraria) {
this->numero = numero;
this->nome = move(nome);
this->sincrona = sincrona;
this->cargaHoraria = cargaHoraria;
}
string atividade::getNome() const {
... | [
"64740422+faakit@users.noreply.github.com"
] | 64740422+faakit@users.noreply.github.com |
9cb305502f5cbba0ce0385f5893054986e3a16f9 | 53dfa57b214d2a735e9b4ff72945a5377e236743 | /Chapter4/fence8.cpp | 67bfb63b82ab28c9a5e6ed7bb5b8f2e0638eb3be | [] | no_license | sangoblin/USACO | 8e033562b0bc32feee0d600805e3e3dc90881349 | e687dda00a743ef5cd1c60dcffb9bf2a9f69f660 | refs/heads/master | 2020-04-06T14:07:23.614652 | 2013-10-21T16:02:44 | 2013-10-21T16:02:44 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 3,303 | cpp | /*
ID: sangobl1
PROG: fence8
LANG: C++
*/
#include <fstream>
#include <algorithm>
#include <numeric>
#include <vector>
#include <cstdlib>
using namespace std;
const int nN = 50;
const int nR = 1023;
int N, R;
int boards[nN], rails[nR];
bool e2f[nR];
//int remains[nR+1];
int waste;
int upper, ans;
bool result = false... | [
"sangoblin@gmail.com"
] | sangoblin@gmail.com |
17bd4721433c0f6897aaf94840cd528c712d5eea | 108e8c1d61302433c242c0918f66e6efc7d8b668 | /inputValidation.hpp | b15e7c8a06a547c54868c4850c69eeeb7df550c9 | [] | no_license | lukesterbu/finalproject | 30314c7999c0ff193cb14afd774fcef4b2925cea | 54a3c0b7fa83454c05c34056bf6dc2a8a5ea7649 | refs/heads/master | 2020-03-26T06:18:21.930011 | 2018-08-16T02:50:41 | 2018-08-16T02:50:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 466 | hpp | /*****************************************************************************
** Author: Luke Burris
** Date: 7/14/2018
** Description: inputValidation function declaration
******************************************************************************/
#ifndef INPUTVALIDATION_HPP
#define INPUTVALIDATION_H... | [
"noreply@github.com"
] | lukesterbu.noreply@github.com |
d09d6d4026f0b1ea750258e86ffd8a1622298895 | 9a3b9d80afd88e1fa9a24303877d6e130ce22702 | /src/Providers/UNIXProviders/ConfigurationComponent/UNIX_ConfigurationComponent.h | a62a06d7d14e85a4a1a85426143cfdf27887bf70 | [
"MIT"
] | permissive | brunolauze/openpegasus-providers | 3244b76d075bc66a77e4ed135893437a66dd769f | f24c56acab2c4c210a8d165bb499cd1b3a12f222 | refs/heads/master | 2020-04-17T04:27:14.970917 | 2015-01-04T22:08:09 | 2015-01-04T22:08:09 | 19,707,296 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,358 | h | //%LICENSE////////////////////////////////////////////////////////////////
//
// Licensed to The Open Group (TOG) under one or more contributor license
// agreements. Refer to the OpenPegasusNOTICE.txt file distributed with
// this work for additional information regarding copyright ownership.
// Each contributor lice... | [
"brunolauze@msn.com"
] | brunolauze@msn.com |
6bafcf01cf3f2fadfd208808e1e0d39b81585463 | 5898d3bd9e4cb58043b40fa58961c7452182db08 | /part3/ch24/24-4-4-Totally_ordered/src/user.cpp | 9f6ac0f34849c473e9b1943986cbe6a47401362c | [] | no_license | sasaki-seiji/ProgrammingLanguageCPP4th | 1e802f3cb15fc2ac51fa70403b95f52878223cff | 2f686b385b485c27068328c6533926903b253687 | refs/heads/master | 2020-04-04T06:10:32.942026 | 2017-08-10T11:35:08 | 2017-08-10T11:35:08 | 53,772,682 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,316 | cpp | /*
* user.cpp
*
* Created on: 2017/06/20
* Author: sasaki
*/
#include "totally_ordered.h"
using namespace Estd;
#include <vector>
#include <memory>
#include <complex>
#include <iostream>
using namespace std;
void test_single_type()
{
cout << "-- test_single_type() --\n";
bool b1 = Totally_ordered<int>(... | [
"sasaki-seiji@msj.biglobe.ne.jp"
] | sasaki-seiji@msj.biglobe.ne.jp |
f5ebeb4e1e03b48d7e7ffa0d681a42d537c4c64c | d344de8e32f82bc2596a01eac6ca1b109884bd06 | /Competive Programming/coding blocks/coding blocks/stl assignments/median.cpp | 598c8ba9af2182fa53f47a218aedafb0650e5119 | [] | no_license | vijaygwala/MyCodingStyle- | 214e9149ccbb33b21d2132dd0a7d85272d438f16 | 39d75463ec8af798df7d013efc940de89a447009 | refs/heads/master | 2022-10-06T07:55:46.928080 | 2020-06-05T15:55:31 | 2020-06-05T15:55:31 | 268,440,527 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 289 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
int n;
cin>>n;
int a[n],b[n],c[2*n],k=0;
for(int i=0;i<n;i++)
{
cin>>a[i];
c[k++]=a[i];
}
for(int i=0;i<n;i++)
{
cin>>b[i];
c[k++]=b[i];
}
sort(c,c+(2*n));
int median=((0+(2*n)-1))/2;
cout<<c[median]<<endl;
}
| [
"vijaygwala97@gmail.com"
] | vijaygwala97@gmail.com |
260c7291167b33d1259493f03849cd3edb8fc287 | cd945137f34d309e8f02ccf15f99e0900ea4143b | /Projet-INF8702/StringUtils.cpp | f623f1584d88aa99a90650c7f7d4e3da662ffcc4 | [] | no_license | Rodyll/Ray-Tracing-GPU | 7dba80fcc08a366fcf7e89b26e1989b070b9323e | 2a192543c940f9b923913248e3296ed8474adf6d | refs/heads/master | 2021-01-10T15:29:08.509791 | 2015-12-07T20:05:55 | 2015-12-07T20:05:55 | 52,723,680 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 480 | cpp | #include "StringUtils.h"
string CStringUtils::TrimRight( const string& Source, const string& T )
{
string Str = Source;
return Str.erase( Str.find_last_not_of ( T ) + 1 ) ;
}
string CStringUtils::TrimLeft( const string& Source, const string& T )
{
string Str = Source;
return Str.erase( 0 , Source.find_first_n... | [
"seb.m18@gmail.com"
] | seb.m18@gmail.com |
e685f6e0fe58a003663e3fa95fb9daf2d571cb1f | e98093aeb2a37264aed69cd7ca2fc9def445498c | /static_assert/config.hpp | f618896b99ef81c3ecb553e59de47a6bc5341a05 | [
"BSD-3-Clause"
] | permissive | mocsy/playground | 5f0e65378e7d3154484874a8f777f8f94f32f908 | 326d2dfaeb47a4e7f2b6787487fcde32e4cdf8b6 | refs/heads/master | 2020-04-06T06:22:58.581040 | 2016-02-13T20:11:42 | 2016-02-13T20:11:42 | 19,531,433 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,998 | hpp | // Boost config.hpp configuration header file ------------------------------//
// (C) Copyright John Maddock 2002.
// Use, modification and distribution are subject to 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)
// Se... | [
"amocsy@gmail.com"
] | amocsy@gmail.com |
846e20d5421348d27811734dfc8bd7bd40e85041 | f81124e4a52878ceeb3e4b85afca44431ce68af2 | /re110_2/51/uniform/time | da28f5c609b5d16212540f6150d9ec192c9eb34f | [] | no_license | chaseguy15/coe-of2 | 7f47a72987638e60fd7491ee1310ee6a153a5c10 | dc09e8d5f172489eaa32610e08e1ee7fc665068c | refs/heads/master | 2023-03-29T16:59:14.421456 | 2021-04-06T23:26:52 | 2021-04-06T23:26:52 | 355,040,336 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 823 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 7
\\/ M anipulation |
\*-------... | [
"chaseguy15"
] | chaseguy15 | |
37e13704bd58b0d4945025e53de8b389fbba2fae | d6135170e6156a12d4f64cff0373ee0b00ca644b | /tensorflow/compiler/xla/service/gpu/ir_emission_utils.h | 4e0e828eee2a8497ebdcb278a3ad0d7f2313e96d | [
"Apache-2.0"
] | permissive | eladeban/tensorflow | 12499b0972b8aafde277b61da7bbdb1c59aa1d2a | 0d4485677356a761f21ad7223759cd89bcc9034c | refs/heads/master | 2020-06-04T03:28:24.373618 | 2019-06-13T22:37:52 | 2019-06-13T22:49:52 | 191,843,388 | 4 | 1 | Apache-2.0 | 2019-06-13T22:54:36 | 2019-06-13T22:54:36 | null | UTF-8 | C++ | false | false | 9,793 | h | /* Copyright 2017 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | [
"gardener@tensorflow.org"
] | gardener@tensorflow.org |
097a29a5deabab1e1f0256912733de32a7eeeab4 | b716098bd5191720f33ddd6fcda818568f004412 | /AMS/ThridParty/Lib_Best/default_head_message.h | 6661ac64487a85309333b762d2e1895c92c81743 | [] | no_license | lucky5237/AMS | 624888c52a2b7e1cb1b38cd8777e77c4d11f8138 | 70fc5267ccf28a6267938a220625945bfd22952e | refs/heads/master | 2020-04-03T15:17:29.219297 | 2018-12-26T08:54:22 | 2018-12-26T08:54:22 | 155,357,951 | 0 | 1 | null | null | null | null | GB18030 | C++ | false | false | 4,038 | h |
#ifndef DEFAULT_HEAD_MESSAGE_H
#define DEFAULT_HEAD_MESSAGE_H
#include"best_message.h"
#include <list>
#include <map>
#include <string>
#include "atomic_count.h"
#include "default_bestIteror.h"
#include "default_message_pool.h"
#include "default_best_data_message.h"
#include "default_best_field.h"
#include <string.h>
... | [
"815093244@qq.com"
] | 815093244@qq.com |
18e384cfda60ab9691b008f492a3162612208a87 | a114b97fbc3b1a46e5c7f0f9053611205c98ebf4 | /interfaces/socket-interface/src/socket-interface.cpp | 021073c3574f4dc475181090edfe5fbeef4ccaa8 | [] | no_license | forme12/qualnet- | d4a76f0916623227dfd51b4ed6d23af052e3a69d | 4d8fd82b9d16633f8773f7953c8cc2e0b60a230f | refs/heads/master | 2021-11-03T08:47:08.491807 | 2019-03-25T11:40:26 | 2019-03-25T11:40:26 | 177,569,714 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 327,250 | cpp | // Copyright (c) 2001-2009, Scalable Network Technologies, Inc. All Rights Reserved.
// 6100 Center Drive
// Suite 1250
// Los Angeles, CA 90045
// sales@scalable-networks.com
//
// This source code is licensed, not sol... | [
"2081444098@qq.com"
] | 2081444098@qq.com |
03c44d1b88816c9b8a45554f1c82f0792d80b0cb | ca71a8028ae57cac5e8f9b10fa0db3333efec086 | /ACC sharedmemory exposer/SDK/ACC_ABP_porsche_991ii_gt3_cup_exterior_parameters.hpp | b3409741a985c41736087fb71926c94f031552b7 | [] | no_license | Sparten/ACC | 42d08b17854329c245d9543e5184888d119251c1 | 3ee1e5c032dcd508e5913539feb575f42d74365e | refs/heads/master | 2020-03-28T20:47:48.649504 | 2018-10-19T20:47:39 | 2018-10-19T20:47:39 | 149,102,523 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,198 | hpp | #pragma once
// Assetto Corsa Competizione (0.1.0) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ACC_ABP_porsche_991ii_gt3_cup_exterior_classes.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Parameters
//------------------------------------------... | [
"sportcorp@hotmail.com"
] | sportcorp@hotmail.com |
08fce068d99e752a3bc49e087318b4d74b17950b | a1de5a7be635f601426d78b8cdbb9a3090904c98 | /test/test_ReduceScatterMultiProcess.hpp | a38ddf21486bd1f6bac212331fe3769d9cebf7f2 | [] | no_license | ROCmSupport/rccl | cec9ac2d7a345f33751cea87cebf004b0f3b6b18 | 41e47a36e706597aa4271ca3243964b5adefde65 | refs/heads/master | 2023-02-28T22:08:35.332426 | 2021-01-16T01:48:10 | 2021-01-16T01:48:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,886 | hpp | /*************************************************************************
* Copyright (c) 2019-2021 Advanced Micro Devices, Inc. All rights reserved.
*
* See LICENSE.txt for license information
************************************************************************/
#ifndef TEST_REDUCE_SCATTER_MULTI_PROCESS_HPP
#... | [
"noreply@github.com"
] | ROCmSupport.noreply@github.com |
500665ec7ecb61cd416e4dc36a915f8e96a99a68 | 21deed24d8bde9f3b8ec3d5a8962766f7ff1bc2f | /nnstreamer/tensor_filter/tensor_filter_nntrainer.hh | 29485a9373f8ed98b1a9f80983ea9118485cf2a1 | [
"LicenseRef-scancode-free-unknown",
"Apache-2.0"
] | permissive | nnstreamer/nntrainer | 64658cc434b42323a21871c33cdb069751770daf | 08a1da0a2c22fd9495239d370cef8dc1d842a4fc | refs/heads/main | 2023-08-19T09:10:39.796512 | 2023-08-17T08:43:39 | 2023-08-18T10:35:14 | 249,615,315 | 134 | 70 | Apache-2.0 | 2023-09-14T12:58:28 | 2020-03-24T04:47:36 | C++ | UTF-8 | C++ | false | false | 2,525 | hh | /* SPDX-License-Identifier: Apache-2.0 */
/**
* NNStreamer Tensor_Filter, nntrainer Module
* Copyright (C) 2020 Jijoong Moon <jijoong.moon@samsung.com>
*/
/**
* @file tensor_filter_nntrainer.hh
* @date 09 Sept 2020
* @brief nntrainer inference module for tensor_filter gstreamer plugin header
* @note The c... | [
"jijoong.moon@samsung.com"
] | jijoong.moon@samsung.com |
2a0d942311e152353b3a842a05882fd6cfe6bf74 | 9e8ff0cb68890e73077af50fb3cd8708a4df2a5a | /CTCI Recursion_DP/Q3.cpp | 8b1741021ed58cc2baee50fba38b7f48342ffb07 | [] | no_license | anoshak/CTCI-Recursion-DP | f362ebfcd308de0a1de8358813ec31ac6e9dbe6b | c3b011c696eeb1b0bf48f8067ac856b1da52109c | refs/heads/master | 2021-01-23T07:21:35.959317 | 2015-04-16T23:46:05 | 2015-04-16T23:46:05 | 34,086,518 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 223 | cpp | /*
* Q3.cpp
*
* Created on: Mar 4, 2015
* Author: Anoshak
*/
#include <cstdio>
#include <map>
#include <cstdlib>
#include <iostream>
#include <cstdio>
#include <cstring>
using namespace std;
| [
"anoshak.1390@gmail.com"
] | anoshak.1390@gmail.com |
bdbb5e8a97269dc5b5050cc59195622215061507 | 0c16c361c5d7bb93cf33813d706ed921fdad5d41 | /include/burst/range/adaptor/taken_n.hpp | ea2e35e05901d75feea07fe6b52fd02c2087611b | [] | no_license | 0x0all/burst | b2eca6dcff662e627839331cfb198ca67c1de65c | 657b7f6c021535d344d875f919928588f5606143 | refs/heads/master | 2020-03-26T11:23:11.680356 | 2018-07-15T00:16:22 | 2018-07-15T00:32:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 578 | hpp | #ifndef BURST_RANGE_ADAPTOR_TAKEN_N_HPP
#define BURST_RANGE_ADAPTOR_TAKEN_N_HPP
#include <burst/range/adaptor/adaptor.hpp>
#include <burst/range/take_n.hpp>
namespace burst
{
//! Инструмент для откусывания диапазона через конвейер.
/*!
Вызов
`range | taken_n(10)`
... | [
"dmitriy@izvolov.ru"
] | dmitriy@izvolov.ru |
f11f603e878c6482a89792ade118bcf71fba9b5c | f9ddff93820b2880a84c55ea931f3e6cbf11602c | /src/logging/CallbackSink.cpp | 47c9f2ec235e9d391a71f21cbb41ddfc648084ce | [
"MIT"
] | permissive | PetrFlajsingr/realistic_voxel_scene_rendering_in_real_time | 4753844598ad4186564690a3bd8537b9fcd781aa | 066fa5efa0eb5ddba50cab360219fd77b7ec9b94 | refs/heads/master | 2023-06-20T21:23:00.637726 | 2021-07-27T17:29:39 | 2021-07-27T17:29:39 | 298,024,829 | 0 | 0 | null | 2021-07-27T17:29:40 | 2020-09-23T16:09:42 | C++ | UTF-8 | C++ | false | false | 732 | cpp | /**
* @file CallbackSink.cpp
* @brief An spdlog sink which calls a function on log.
* @author Petr Flajšingr
* @date 2.11.20
*/
#include "CallbackSink.h"
#include <mutex>
#include <spdlog/details/pattern_formatter.h>
void CallbackSink::log(const spdlog::details::log_msg &msg) {
spdlog::memory_buf_t formatted;
... | [
"xflajs00@stud.fit.vutbr.cz"
] | xflajs00@stud.fit.vutbr.cz |
3b0d20c4f61da8009d83f8078ed65f48248471c1 | fa3d0479fe227ae56cbfbbd81c551cd03c19d11c | /2019_12/truck.cpp | 9f4323604300a12add2042986d4f3882eb617e26 | [] | no_license | jineeKim/Algorithm | d620cb2be7ac7cba7388412bc890c287f7e86c0d | 7ed7c7beef00cfcab7ae86be876362c6e9386c03 | refs/heads/master | 2021-08-22T15:37:39.843825 | 2021-07-13T14:58:30 | 2021-07-13T14:58:30 | 197,169,198 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 862 | cpp | #include <string>
#include <vector>
#include <queue>
using namespace std;
int solution(int bridge_length, int weight, vector<int> truck_weights) {
int answer = 0;
queue <int> q;
int max_size = 0;
int size = 0;
for (int i = 0; i < truck_weights.size(); i++) {
size = truck_weights[i];
while (1) {
if (q.emp... | [
"jin03hee16@gmail.com"
] | jin03hee16@gmail.com |
900e59284ba25a350c9c388e0fe23c1f1a3d6151 | 92b13c76782fe6d126167f1ba7ce4a9a297529e1 | /hpp/Request.hpp | f33c7e9002f9d0617e37b5bcd69ef289394eb82b | [] | no_license | AlexanderPinkerton/PoloniexAPIWrapper | ea2aad7f2a3b0f2a1a61e2ad667f0396663c1fd9 | 417eceeb66e3277fa8d1de4c16a404310bc76890 | refs/heads/master | 2021-01-22T18:50:09.028236 | 2017-03-15T21:11:14 | 2017-03-15T21:11:14 | 85,118,569 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 507 | hpp | #pragma once
#include <QCoreApplication>
#include <QNetworkAccessManager>
#include <QNetworkRequest>
#include <QNetworkReply>
class Request
{
private:
QEventLoop eventLoop;
QNetworkAccessManager mgr;
std::string url = "";
public:
std::string response = "";
//Constructor taking the complete url to be ... | [
"alex@osboxes"
] | alex@osboxes |
42159c2be851d6924c6ca50f71b77897534a0727 | 39b9571ecc80165874ea4ef2bd55d73921963da7 | /tests/kernel_run_neighborhood_search_kernel/run_neighborhood_search_kernel.cpp | 45c444c645d28e612dfcc6c8803d57ae6d91c56f | [
"BSD-3-Clause"
] | permissive | OrangeBaoWang/AutoTuneTMP | 2b43dff6b922c2a788f6438644b7f72ddabdf44d | f5fb836778b04c2ab0fbcc4d36c466e577e96e65 | refs/heads/master | 2022-03-30T18:44:26.271885 | 2019-12-24T16:31:37 | 2019-12-24T16:31:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 451 | cpp | #include <chrono>
#include <cmath>
#include <iostream>
#include <thread>
#include "autotune_kernel.hpp"
AUTOTUNE_EXPORT int run_neighborhood_search_kernel(int a) {
// use quadratic cost function
double value = std::fabs(static_cast<double>(PAR_1) - 2.0) +
std::fabs(static_cast<double>(PAR_2) - 3.... | [
"David.Pfander@ipvs.uni-stuttgart.de"
] | David.Pfander@ipvs.uni-stuttgart.de |
a5618607bda75947a902af29a39d5af41c7cba26 | 715c86bb9b3689cdc86300cf4fa824a3864b1b3f | /src/Distributed/dbgatewaysvc/test_sql.hpp | dfd76ee77b19b89f50ee56c25591d3eacd8a28a1 | [] | no_license | Ivanhan2018/zsbbserver | cb94a2353453bd41ce237aa27865b491be04d9fd | 02a3827099b93f93a2e1aeb6460f6eede57ed8ee | refs/heads/master | 2022-01-30T07:48:41.497675 | 2022-01-15T01:04:28 | 2022-01-15T01:04:28 | 168,654,088 | 4 | 9 | null | null | null | null | GB18030 | C++ | false | false | 14,977 | hpp | #ifndef __INCLUDE_TEST_SQL_H__
#define __INCLUDE_TEST_SQL_H__
#include <iostream>
#include <stdio.h>
#include "db_table.h"
#include <time.h>
#define OTL_STL
#define OTL_ODBC
#if defined (WIN32)
#define OTL_BIGINT __int64
#else
#define OTL_BIGINT long long
#endif
#include "otlv4.h"
otl_connect db_;
char buf[10000000... | [
"hanxiaohua85@163.com"
] | hanxiaohua85@163.com |
e545b9d1dbadfad3c3d7b27333588d4d2a75fe8d | 261d5d94fb737e15680816123a6cebf110ed28da | /test/testPdu.cpp | 3ceb7eb8067ea04a0adcad465a4a73807fe2698b | [] | no_license | skywb/TeamTalk | 519b0440bc2c3f0dee919cf3a46b304a65074e82 | ac3f7a3070478006bc9916d038db3f12f57fa083 | refs/heads/master | 2020-04-26T11:55:24.896857 | 2019-05-27T12:07:20 | 2019-05-27T12:07:20 | 173,533,421 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 206 | cpp | #include <iostream>
#include <gtest/gtest.h>
#include "IM/IMProtocol.h"
TEST(testPdu, Pdu1)
{
auto login = std::make_shared<IM::LoginPdu> ();
login->setUserId(11);
login->setPassword("aaaa");
}
| [
"sonky7@163.com"
] | sonky7@163.com |
6d0c2e230743ba3957f1020d4eaa7911ae89f787 | 8e00ca74a4885cb2e7fb113579ded92a74b2e10d | /src/Matrix4.h | 456677f0fba2c34bff2b2b1eae6c88d26fd69bb1 | [
"Apache-2.0"
] | permissive | worktycho/MCServer | 1a1993a31c837676176a7683b629f0dfbd5c3cec | 84c83e0deb8c46be5bd4a25ef00515d48cf296a9 | refs/heads/master | 2020-12-29T02:54:50.813854 | 2014-06-16T14:03:07 | 2014-06-16T14:03:07 | 12,731,841 | 1 | 0 | null | 2014-04-07T17:04:50 | 2013-09-10T14:30:22 | C | UTF-8 | C++ | false | false | 3,759 | h |
#pragma once
#define _USE_MATH_DEFINES // Enable non-standard math defines (MSVC)
#include <math.h>
template <typename T>
// tolua_begin
class Matrix4
{
TOLUA_TEMPLATE_BIND((T, float, double))
// tolua_end
public:
T cell[16];
// tolua_begin
inline Matrix4(void)
{
Identity();
}
inline Matrix4(c... | [
"xdotftw@gmail.com"
] | xdotftw@gmail.com |
231d7a6988d723a48d294ac4709b75da330b1d78 | 7ff405fee11f309e6883c68129d9c4f1a7f13728 | /strategy.cpp | 96009f3345c9c54b4456bd4f25a09dafb5d8336b | [] | no_license | ShowYouShowme/designPattern | f33fc4b5bca986ad7904fb4e97e38b1a450b800f | 30aed8641627957fa0d836bdac0bfa15130fb41a | refs/heads/master | 2020-03-19T03:55:00.228487 | 2018-07-01T09:09:48 | 2018-07-01T09:09:48 | 135,774,695 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 3,074 | cpp | #include <string>
#include <iostream>
#include <memory>
namespace StrategyPattern
{
struct ITravelStrategy
{
virtual void travel() = 0;
};
class AirplaneStrategy : public ITravelStrategy
{
public:
virtual void travel();
};
class TrainStrategy : public ITravelStrategy
... | [
"861949775@qq.com"
] | 861949775@qq.com |
a103ad1be894687c299b01c81f8c8be1bbb53749 | ba5d1d776888be6ae9688d850f0445d80973ee8f | /game/server/vehicle_base.cpp | 6fdb28bb1e5c898e7f57d6222568704f425e4c54 | [
"MIT"
] | permissive | BerntA/tfo-code | eb127b86111dce2b6f66e98c9476adc9ddbbd267 | b82efd940246af8fe90cb76fa6a96bba42c277b7 | refs/heads/master | 2023-08-17T06:57:13.107323 | 2023-08-09T18:37:54 | 2023-08-09T18:37:54 | 41,260,457 | 16 | 5 | MIT | 2023-05-29T23:35:33 | 2015-08-23T17:52:50 | C++ | UTF-8 | C++ | false | false | 43,982 | cpp | //========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose: UNDONE: Rename this to prop_vehicle.cpp !!!
//
// $NoKeywords: $
//=============================================================================//
#include "cbase.h"
#include "vcollide_parse.h"
#include "vehicle_base.h"
#includ... | [
"bernta1@msn.com"
] | bernta1@msn.com |
1cfb0acfdb71d0b1517c22c91416dde66c1b168d | 96924680ca49b8448962a61995e5c090fa203ea0 | /BattleShips/Field.cpp | 988a1fb5a7c66b51881b1f92116d708deae4fede | [] | no_license | GranatKatya/ButtleShips | 494b15644d8a501badb72df123f2861873120183 | 29fc04e9029b681ab0d202382d2faac4462ee1d0 | refs/heads/master | 2020-03-31T06:19:01.852229 | 2018-10-17T18:57:13 | 2018-10-17T18:57:13 | 151,976,918 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 3,601 | cpp |
#include "stdafx.h"
vector<Cell*> FieldInterface::GetUnshutCells() {
vector<Cell*> unshut_cells;
for (size_t i = 0; i < _arr_of_cells.size(); i++)
{
if (!_arr_of_cells[i]->GetIsShut())
{
unshut_cells.push_back(_arr_of_cells[i]);
}
}
return unshut_cells;
}
vector<Cell*> FieldInterface:... | [
"k.granat2017@.com"
] | k.granat2017@.com |
eb08f1f1cdfb569477a6f1f43da89ebddb4f4bf3 | 1435e3531731d27cb1e82888dace27a1edfbcaa1 | /ezEngine-rev858/Code/Engine/Foundation/Threading/Implementation/TaskWorkers.cpp | 7bd8ef73fe218b33928c0f01f1ada80a8e2ca7b4 | [] | no_license | lab132/toolbox | cf7ec9b3e6076169d8b1e12c24d0e2a273ee90be | 30f85d07fbbdde461f9027e651fc6cbbfe2f15c5 | refs/heads/master | 2020-04-26T19:40:38.059086 | 2015-11-08T14:35:09 | 2015-11-08T14:35:09 | 42,679,912 | 0 | 0 | null | 2015-10-28T13:57:32 | 2015-09-17T20:21:41 | C | UTF-8 | C++ | false | false | 6,336 | cpp | #include <Foundation/PCH.h>
#include <Foundation/Threading/TaskSystem.h>
#include <Foundation/Threading/Lock.h>
#include <Foundation/Configuration/Startup.h>
#include <Foundation/Math/Math.h>
#include <Foundation/System/SystemInformation.h>
// Helper function to generate a nice thread name.
static const char* Generate... | [
"mjmaier@gmx.de"
] | mjmaier@gmx.de |
39b3ea53c593937b4d2a9517992b6fe7ef9257a3 | d814e4fd5866ddc2d82abd21dc444be35b608ad5 | /VisualClipper/GeneratedFiles/qrc_VisualClipper.cpp | d9cecc5d964aaa420ef756a41acf9ccc06d2dfcf | [] | no_license | and1gc/VisualClipper | 1e88814d1ea43aebc63250aa171dd56627f179a1 | 2cda14c8d0086c9cec8397932de48043bb728282 | refs/heads/master | 2020-04-23T21:02:38.579676 | 2019-02-20T05:54:23 | 2019-02-20T05:54:23 | 165,246,921 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 99,145 | cpp | /****************************************************************************
** Resource object code
**
** Created by: The Resource Compiler for Qt version 5.11.0
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/
static const unsi... | [
"371552045@qq.com"
] | 371552045@qq.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.