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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
5641f30de318cebf3784002f521b212f2eca14c9 | d37145746d3dd65c173bad64055b839d5c2819e1 | /Project1/freehand.cpp | d694a469ba080acd4ae980c40361bc38467f9f6b | [] | no_license | Tokuso/paintshop | 4bd0b5aa2a8c7a3c6766f3bca269fd0c4f546a0c | d6d0855220ada139cd4f2e827e2bef948204c479 | refs/heads/master | 2021-04-09T16:00:11.273062 | 2017-03-24T12:53:17 | 2017-03-24T12:53:17 | 125,636,268 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,769 | cpp | /*
#ifndef WIN32 //if using windows then do windows specific stuff.
#define WIN32_LEAN_AND_MEAN //remove MFC overhead from windows.h which can cause slowness
#define WIN32_EXTRA_LEAN
#include <windows.h>
#endif
//I sincerely do not understand why intellisense suddently works now
#include <iostream>
#include <cstdlib>... | [
"2270838S@student.gla.ac.uk"
] | 2270838S@student.gla.ac.uk |
da7c47b076488103ccc9b7d3c65ecc28dcaa19f4 | 6f2b6e9d77fc4dd5e1dae8ba6e5a66eb7c7ae849 | /sstd_boost/sstd/boost/geometry/geometries/concepts/box_concept.hpp | 5737e8c8fa88ca007ae3cb24c9cdcd73fc29c9b2 | [
"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 | 3,953 | hpp | // Boost.Geometry (aka GGL, Generic Geometry Library)
// Copyright (c) 2008-2012 Bruno Lalande, Paris, France.
// Copyright (c) 2008-2012 Barend Gehrels, Amsterdam, the Netherlands.
// Copyright (c) 2009-2012 Mateusz Loskot, London, UK.
// Parts of Boost.Geometry are redesigned from Geodan's Geographic Library
// (g... | [
"zhaixueqiang@hotmail.com"
] | zhaixueqiang@hotmail.com |
dc39775eb2bdda9ba6fcb0f3cd79144b5c03800b | 2aa5cc5456b48811b7e4dee09cd7d1b019e3f7cc | /engine/mesh/meshsystemcache.h | 7cb7190e381b07f04551126228fc15667e41a887 | [] | no_license | tstivers/eXistenZ | eb2da9d6d58926b99495319080e13f780862fca0 | 2f5df51fb71d44c3e2689929c9249d10223f8d56 | refs/heads/master | 2021-09-02T22:50:36.733142 | 2010-11-16T06:47:24 | 2018-01-04T00:51:21 | 116,196,014 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 254 | h | #pragma once
namespace mesh
{
class MeshSystem;
MeshSystem* getMeshSystem(string& name);
bool addMeshSystem(MeshSystem* meshsys);
bool delMeshSystem(MeshSystem* meshsys);
bool delMeshSystem(string& name);
unsigned int clearMeshSystemCache();
}; | [
"tstivers@localhost"
] | tstivers@localhost |
3639232753b79affa4f1cd210ada48116bb4b4a5 | 143039d6f16704ecd89d5a56a47e7afed81e36d1 | /src/WSimpleSimulator.h | 20e248acc29b27b02ca4056cbd44c685769fcbfe | [] | no_license | openworm/HeuristicWorm | 6e5d6f3602cebde205444dd8959dde779bce4b69 | 4c51954fb4d905e077da13172eb173b2e69e367c | refs/heads/master | 2021-01-01T19:55:58.396118 | 2015-05-11T17:06:24 | 2015-05-11T17:06:24 | 4,969,396 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 901 | h | /*
* WSimpleSimulator.h
* Created on: Feb 07, 2012
* Author: Alexander Dibert
*/
#ifndef WSimpleSimulator_h_
#define WSimpleSimulator_h_
#include "WSimulator.h"
/*
* @class Simulator
* Computes fitness function as a square of weighted distance between target vector and the one computed by solver.
*/
class ... | [
"adibert@ac-sw.com"
] | adibert@ac-sw.com |
19b03ed2bdaf1cfc348ce1f68d1dcf9437c839c0 | 35d27f8663fcdebccb13fabab06812af96acdc4b | /codeforces/288/a/a.cpp | 19f599d5a81cbbc6451d93035dcb9ef80a7ac3ab | [] | no_license | noooaah/solved_problem | 666490ca49e0001e3919ad7f29180d59caa0a16b | fbcebe223f063623f45415548f9f265e385ddac0 | refs/heads/master | 2023-03-17T18:27:05.712309 | 2019-09-05T13:10:01 | 2019-09-05T13:10:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 345 | cpp | #include <bits/stdc++.h>
#define f first
#define s second
using namespace std;
long long n,k;
int main(){
cin>>n>>k;
if(k>n ||(n>1 && k==1)){cout<<-1<<endl;return 0;}
string ans="";
for(int i=2;i<k;i++){char c=i+'a';ans=ans+c;}
for(int i=0;i<n-ans.length();i++){
if(i%2){cout<<'b';}
else{cout<<'a';}
... | [
"noreply@github.com"
] | noooaah.noreply@github.com |
ed52416f6263c43f70aec945fa5bca6c587d4bd5 | 1810ae66dd09319a197e60d5d0c3557c9dd86674 | /Code/ControlOMP.cpp | 5f72ac176ac76fab03da6f4e010935d56aa2298a | [] | no_license | kiselev2013/PCOCR_FP | a873ba8eb03f420a2b62de5874b4d3e13a07d555 | eea090055e64e3ab196d5431da0829b399831dc5 | refs/heads/master | 2023-06-27T23:51:56.181130 | 2021-07-29T07:29:20 | 2021-07-29T07:29:20 | 388,442,618 | 0 | 1 | null | 2021-07-29T07:29:21 | 2021-07-22T11:46:05 | null | UTF-8 | C++ | false | false | 1,620 | cpp | #include "StdAfx.h"
#include "ControlOMP.h"
//------------------------------------------------------------------------
ControlOMP::ControlOMP()
{
isInit = false;
NUMBER_OF_THREADS = 0;
MAX_THREADS = 0;
nMinDotProduct = 1000;
nMinSparseMultMV = 10;
nMinSparseMultMV2x2 = 10;
}
//------------------------------------... | [
"harlequin_00@mail.ru"
] | harlequin_00@mail.ru |
a3efd57a5b98c73389540e0ce4d4c3fe89442676 | b4d66214761b045e58d20038d8d58ad6e289c5f8 | /Editor/codegen_build/CGizmo.h.codegen.inl | 8bf99613952af95ea52311321d52c1afefb91830 | [] | no_license | EthanArmbrust/codegen-prebuilt | 493a5f19e4f56b01bbd8352bdf0e95b1e652cfb8 | 65a8974fb978a5cd4a5298f766a49675ab8d934c | refs/heads/master | 2020-04-17T21:01:51.766360 | 2019-01-22T21:12:57 | 2019-01-22T21:12:57 | 166,931,284 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 328 | inl | #include <codegen/EnumReflection.h>
struct CGizmo {
enum EGizmoMode : unsigned int;
};
template<>
const CEnumNameMap TEnumReflection<CGizmo::EGizmoMode>::skNameMap = {
{ 0, "Translate" },
{ 1, "Rotate" },
{ 2, "Scale" },
{ 3, "Off" },
};
template<>
const int TEnumReflection<CGizmo::EGizmoMode>::skErrorValue... | [
"ethanarm@buffalo.edu"
] | ethanarm@buffalo.edu |
a2884f768e35125f4209f1d340d42ff475b39d09 | cf85f8ee951490dc13648ec5815e022e31bf6676 | /src/CryptoNoteCore/ITxPoolObserver.h | f31bb8b212ec354cb252db1d52fb0b4d6f9ea7d4 | [] | no_license | rainmanp7/phfx | 1c61ee112c22e9c942287536891a7bf94bb9a829 | c00be01f89ceca09003f4f10bb42ab80a363c9b5 | refs/heads/master | 2020-03-28T03:04:06.843858 | 2018-09-07T02:50:01 | 2018-09-07T02:50:01 | 147,617,262 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 397 | h | // Copyright (c) 2011-2016 The Cryptonote developers
// Copyright (c) 2017-2018 PHF-project developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#pragma once
namespace CryptoNote {
class ITxPoolObserver {
public:
vi... | [
"muslimsoap@gmail.com"
] | muslimsoap@gmail.com |
f775429886382f89197f188d1c9a8f52fcc8a351 | d49b8536d996a81fd2a356f2ccd850abd4447217 | /VirusPack/120-[ModBot]-VNCBRUTE-MSSQL-2007/120-[ModBot]-VNCBRUTE-MSSQL-2007/Thr.cpp | 2e7ccdcf52241d1f4a35295eef398f09c5f3e721 | [] | no_license | JonnyBanana/botnets | 28a90ab80f973478d54579f3d3eadc5feb33ff77 | 995b9c20aca5de0ae585ae17780a31e8bdfd9844 | refs/heads/master | 2021-07-01T01:51:01.211451 | 2020-10-22T23:14:57 | 2020-10-22T23:14:57 | 148,392,362 | 9 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 5,535 | cpp | /////////////////////////////////////////////////
// 120|-[ModBot]-V0.5 //
/////////////////////////////////////////////////
#include "Inc.h"
#include "Fun.h"
#include "Ext.h"
//////////////////////////////////////////////////////////////////////////////////
//////////////////////////... | [
"mstr.be832920@gmail.com"
] | mstr.be832920@gmail.com |
b474c01d42efdd9f41dad9f26091346ad9560082 | 060ff4f21ad24778c5a8bcb08e54b14becba3d89 | /Colorpop/Library/Il2cppBuildCache/Android/armeabi-v7a/il2cppOutput/lumpedcpp/Lump_libil2cpp_icalls.cpp | ad38711b46b3a3ddd7c796aa8fac3c0f94c351cf | [
"MIT"
] | permissive | GreenApple-jsy/ColorPop | 4951b69d8931d86b2accc655b8167dba67abb1b7 | 8579ae351019a34e501db3cb9449ca3af5202351 | refs/heads/master | 2023-04-07T14:16:16.156017 | 2023-03-28T05:35:16 | 2023-03-28T05:35:16 | 200,963,229 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,908 | cpp | #include "il2cpp-config.h"
#include "C:\Program Files\Unity\Editor\Data\il2cpp\libil2cpp\icalls\System.Configuration\System.Configuration\InternalConfigurationHost.cpp"
#include "C:\Program Files\Unity\Editor\Data\il2cpp\libil2cpp\icalls\System.Core\System.IO.MemoryMappedFiles\MemoryMapImpl.cpp"
#include "C:\Program Fi... | [
"greenapplej16@gmail.com"
] | greenapplej16@gmail.com |
80c392e3321ec80795b5bb02469322098e5f3ef0 | 2306d44b4808ca6345c7ec96a9529d2a255b03e9 | /CMPS109-bigint/bigint.h | 935b0caaacd0544f6f137d59a390f19b0aa7f401 | [] | no_license | Brlgomez/CMPS109 | 5a8cf166ed600faf7fa399cf89aad80f40abb38a | 2a9db183fe880cb472ca710b4529a5abf3377cb1 | refs/heads/master | 2016-09-01T05:10:04.449632 | 2016-02-01T02:37:24 | 2016-02-01T02:37:24 | 50,058,263 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,381 | h | // $Id: bigint.h,v 1.16 2014-07-02 20:01:17-07 - - $
/*
This program was completed using pair programming.
Partner: Brandon Gomez (brlgomez@ucsc.edu)
Partner: Antony Robbins (androbbi@ucsc.edu)
*/
#ifndef __BIGINT_H__
#define __BIGINT_H__
#include <exception>
#include <iostream>
#include <utility>
using names... | [
"brlgomez@ucsc.edu"
] | brlgomez@ucsc.edu |
9ad8056f34a7c09e6cc2f730914839d77c3f7bb7 | d8174561df99c1b045f90c43ec96a3e15fc82d73 | /05-ScenceManager/Sprites.h | e055b0b3f6c464c5486aa6f3a77a6e7e48ffff2f | [] | no_license | tinrist123/gamedev-intro-tutorialstest | bedd9a0693c25a66b1ef86804f817a19a5ecdc71 | 876cef4ebcf8fa5d6fef2a6de4be3a1e2e63bfbb | refs/heads/master | 2023-03-08T05:15:36.708269 | 2021-02-19T13:39:04 | 2021-02-19T13:39:04 | 304,248,835 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 709 | h | #pragma once
#include <Windows.h>
#include <d3dx9.h>
#include <unordered_map>
using namespace std;
class CSprite
{
int id; // Sprite ID in the sprite database
int left;
int top;
int right;
int bottom;
LPDIRECT3DTEXTURE9 texture;
public:
CSprite(int id, int left, int top, int right, int bottom, LPDIRECT3... | [
"tinrist123@gmail.com"
] | tinrist123@gmail.com |
cdcbd6a5f29befc05b4e31388907fbcc62009aa7 | f879434ededbe74c92b19cdc0cc0294c3be27f0f | /src/Window/oglWin32App.cpp | 07fe154546a32d7841d9575b44adf37386404c1f | [] | no_license | byhj/byhj-Render | 7bd0cea526286624f609fff15b07b79f9f09aadf | 5ca2746eabc952c8cff8e552d429cda880460db0 | refs/heads/master | 2021-01-21T04:42:10.246612 | 2016-07-02T06:23:00 | 2016-07-02T06:23:00 | 49,644,368 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 579 | cpp | #include "oglWin32App.h"
#include <memory>
#include <assert.h>
#include <gl/glew.h>
#include <GL/wglew.h>
namespace byhj
{
OGLWIN32Render::OGLWIN32Render()
{
}
OGLWIN32Render::~OGLWIN32Render()
{
}
void OGLWIN32Render::v_init_ogl()
{
m_context.createContext(getHwnd());
}
void OGLWIN32Render::v_init()
... | [
"476652422@qq.com"
] | 476652422@qq.com |
5636ab821650dde8aa7d2e94f77ed57a887cb437 | 3f28cefb88704526a66e7f1e0cfc49d30fd3dd7a | /http/authorization.hpp | dfdda3f0f4217bdb8289eef5c14de4b1192c26a6 | [] | no_license | nineKnight/beast-issue-1849 | 3070b52493b270b9348ca8449e4b1951f0ac8ce9 | 340e7840d151e0b97f51b09d6f09adca76fe06b1 | refs/heads/master | 2022-04-11T00:15:56.793491 | 2020-02-22T18:31:34 | 2020-02-22T18:31:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,595 | hpp | #pragma once
#include <string>
#include <boost/beast/core/detail/base64.hpp>
namespace elx::http::authorization
{
struct auth
{
[[nodiscard]] virtual std::string to_string() const
{
return { };
}
[[nodiscard]] bool is_empty() const {
retu... | [
"hodges.r@gmail.com"
] | hodges.r@gmail.com |
33ebd602026b6b64c5a1a3b37ef7229b58ff4a70 | d960a972f05d879eb848fd88b19edebb3061c4ab | /src/graph/vertice.cpp | 32b081ede438a549ea6808267afa41fbe1905811 | [] | no_license | GMerien/led-cloud-esp32 | 85487014b06171042f0638db58ea87c7ceaa5552 | ca05ae62313090f82c3136994e73bca401c032bc | refs/heads/main | 2023-03-02T13:08:42.893444 | 2021-02-08T02:07:53 | 2021-02-08T02:07:53 | 336,870,395 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 533 | cpp | #include "vertice.h"
Vertice::Vertice() {
uint16_t i;
for (i = 0; i < MAX_NEIGHBORS; i ++) {
neighbors[i] = nullptr;
}
neighbors_number = 0;
}
Vertice::~Vertice() {
}
void Vertice::setNeighborhood(Vertice** vertices_ptr, uint8_t len) {
uint8_t i;
for (i = 0; i < len; i ++) {
... | [
"gregoiremerien@gmail.com"
] | gregoiremerien@gmail.com |
e7fa26bd29e882d53b2f509f9f3ab1889b35c2b1 | 87a600d36a5757969ead7e235c93e3530d72b43a | /abm_product/app_mode/mode.cpp | 504bda949a32b67224e0e7c1b1dc831d03a400d5 | [] | no_license | xkmld419/learning | 3c3cad407d03bf693bcd863794cca7fb8a5df99a | 128ffa1496c43c36b83f266522bd49b28184499f | refs/heads/master | 2023-07-12T16:54:50.647834 | 2021-08-21T15:41:42 | 2021-08-21T15:41:42 | 45,075,836 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 22,137 | cpp | #include "mode.h"
#include "Log.h"
#include "mntapi.h"
#include "ParamDefineMgr.h"
#include <sys/wait.h>
#include "ThreeLogGroup.h"
#include "MBC_ABM.h"
//#include "../app_infomonitor/InfoMonitor.h"
/*
其中LogFlag为日志类别,定义如下:
#define OPERATIONLOG 1 //业务进程处理日志
#define PARAMLOG ... | [
"xkmld419@126.com"
] | xkmld419@126.com |
2d6aa1aea35d122ffff5a7df77c05bf074acef30 | 34705f87ffc7f334a096274f23c830ce13405dee | /final/vector3d_backup.h | 1d5231ef9497bb84ae43040ce243f135a86519d9 | [] | no_license | KyleArscott15/distcomp | 273d09267aa6a8342690ee78bba19e7e4619fc91 | 247ce2749027d7a69368594c0c4e174b0829e167 | refs/heads/master | 2021-01-10T16:48:00.794121 | 2016-04-02T02:29:25 | 2016-04-02T02:29:25 | 52,689,227 | 0 | 2 | null | 2016-04-05T16:16:07 | 2016-02-27T21:17:22 | C | UTF-8 | C++ | false | false | 4,431 | h | #ifndef vec3_h
#define vec3_h
#ifdef _OPENACC
#include <accelmath.h>
#else
#include <math.h>
#endif
typedef struct {
double x, y, z;
} vec3;
#define SET_POINT(p,v) { p.x=v[0]; p.y=v[1]; p.z=v[2]; }
#define SUBTRACT_POINT(p,v,u) \
{ \
p.x=(v[0])-(u[0]); \
p.y=(v[1])-(u[1]); \
p.z=(v[2])-(u[2]... | [
"arscotkm@mcmaster.ca"
] | arscotkm@mcmaster.ca |
caab2f6ad1d8dcdb701196cc12af148f4844db29 | 27901c8baddbc90daf6734029dd45212ad1e8f46 | /手速赛/contest six/1005.cpp | 57c6575a0157d66d36dcde85d916db68982be41e | [] | no_license | MIKORU/Code-ACM | a5b7968b116d313c1924161c2704056b471f5485 | 75e49fc15e33bff5435885b01dcd6873a1d50649 | refs/heads/master | 2020-12-24T08:01:56.393341 | 2016-11-10T03:15:02 | 2016-11-10T03:15:02 | 73,343,390 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,923 | cpp | //Memory Time
//184K 422MS
#include <string.h>
#include <stdio.h>
#include<iostream>
using namespace std;
int map[10][10];
bool row[10][10];
bool col[10][10];
bool grid[10][10];
bool DFS(int x,int y)
{
if(x==10)
return true;
bool flag=false;
if(map[x][y])
{
if(y==9)
f... | [
"xiajing2204@gmail.com"
] | xiajing2204@gmail.com |
eaea3088b1026a68d9f92f1acfe42044daf4ac62 | e7e497b20442a4220296dea1550091a457df5a38 | /main_project/ad/engine_u/src/TriggerInterface.cpp | 6a2896a4773b065645889d1676060f930c1ca1cb | [] | no_license | gunner14/old_rr_code | cf17a2dedf8dfcdcf441d49139adaadc770c0eea | bb047dc88fa7243ded61d840af0f8bad22d68dee | refs/heads/master | 2021-01-17T18:23:28.154228 | 2013-12-02T23:45:33 | 2013-12-02T23:45:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,790 | cpp | /*
* =====================================================================================
*
* Filename: TriggerInterface.h
*
* Description:
*
* Version: 1.0
* Created: 2012年04月23日 16时05分39秒
* Revision: none
* Compiler: gcc
*
* Author: YOUR NAME (),
* ... | [
"liyong19861014@gmail.com"
] | liyong19861014@gmail.com |
100fc536ec7e6c558ef3ea60c69c9cf3ec494034 | 42710d6f618ac0c5e79c7a10a43f9a63fa75103d | /task_4_3_7.cpp | 388c13113fe2d8b812728063d14b3e1d466e1d19 | [] | no_license | AlterFritz88/interactive_learn_cpp | 605009d8e62ea13aab3a425a6af20bb0758fd7ce | 15ab8dc776d377f21bdcee6de5287a8e1cb2a3f7 | refs/heads/master | 2020-06-30T03:00:36.415208 | 2019-12-23T05:19:31 | 2019-12-23T05:19:31 | 200,700,680 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 239 | cpp | #include <bits/stdc++.h>
using namespace std;
int main(){
int n, temp;
cin >> n;
for (int i = 0; i < n; i++){
cin >> temp;
if (temp == 2) cout << 5 << " ";
else cout << temp << " ";
}
return 0;
} | [
"burdin009@gmail.com"
] | burdin009@gmail.com |
d043d5826c4992b5dc26620503dd993e63be9b99 | 44f44a72859c8e625af46b5dff4409d38574c277 | /src/test/script_tests.cpp | 890292834ffe9944e48b99ada0738334f6ee8d28 | [
"MIT"
] | permissive | DreamTeamCoin3/DT3 | 989e51ceff0ee36f568d257c68bb77b89554e9df | b526188b52e7cac1e5097042feca99b9843896b7 | refs/heads/master | 2020-04-17T09:32:22.140488 | 2019-02-09T12:05:00 | 2019-02-09T12:05:00 | 166,462,063 | 1 | 1 | MIT | 2019-01-27T06:15:52 | 2019-01-18T19:28:51 | null | UTF-8 | C++ | false | false | 62,031 | cpp | // Copyright (c) 2011-2015 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "data/script_tests.json.h"
#include "core_io.h"
#include "key.h"
#include "keystore.h"
#include "script/script.h"
#... | [
"altcoincash@protonmail.com"
] | altcoincash@protonmail.com |
be92b1550148fb1492485359b88f26b96ce7eadf | 1bf8b46afad5402fe6fa74293b464e1ca5ee5fd7 | /SDK/BP_CutsceneManager_functions.cpp | 01b4f05e89cb14752011748ce72eedee18390fa2 | [] | no_license | LemonHaze420/ShenmueIIISDK | a4857eebefc7e66dba9f667efa43301c5efcdb62 | 47a433b5e94f171bbf5256e3ff4471dcec2c7d7e | refs/heads/master | 2021-06-30T17:33:06.034662 | 2021-01-19T20:33:33 | 2021-01-19T20:33:33 | 214,824,713 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 44,942 | cpp |
#include "../SDK.h"
// Name: Shenmue3SDK, Version: 1.4.1
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace SDK
{
//---------------------------------------------------------------------------
// Functions
//---------------------------------------------------------------------------
// Function BP_CutsceneMa... | [
"35783139+LemonHaze420@users.noreply.github.com"
] | 35783139+LemonHaze420@users.noreply.github.com |
e25d1904127b07ed7b2863b61e9c4ae9f13ab7dd | 8ddc474294ba2fdff779f1abd3f60310a69a9e16 | /year_3/EGC/tema2EGC_Papa_Florin_334CA/lab2/Cube.h | c138ba1f1b514cc90b458cb6163aceb24b169bb6 | [] | no_license | florinpapa/homework | 3e080e9b5a3d9cbd0d566e732bac4f528c04c13e | 191ae6e6cf4841f72584932a8b6ad9ed3152a57a | refs/heads/master | 2020-08-04T21:25:46.702494 | 2014-09-17T20:28:25 | 2014-09-17T20:28:25 | 16,643,980 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,123 | h | //Papa Florin, 334CA
#pragma once
#include <vector>
#include <math.h>
#include "Framework\Point3D.h"
#include "Framework\Object3D.h"
class Cube : public Object3D {
public:
int r;
public:
Cube(int rad, Color c) {
color.r = c.r;
color. g = c.g;
color.b = c.b;
fill = true;
r = rad;
vector<int> contour;
v... | [
"florin.papa192@yahoo.com"
] | florin.papa192@yahoo.com |
453fe3a2dc3fcf6eff146a23c2123987acc53db6 | 519ccfe2cf75d16b9ee6231f8a13f63a3ce91d62 | /src/fonts/stb_font_times_50_usascii.inl | eadc5f34fbcbf4c1ad82c394d78be57f02902d39 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | stetre/moonfonts | 9dd6fd126524ead9105216e93b22a9b73de82dc2 | 5c8010c02ea62edcf42902e09478b0cd14af56ea | refs/heads/master | 2022-02-07T20:47:37.150667 | 2022-02-06T12:29:27 | 2022-02-06T12:29:27 | 96,556,816 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 59,934 | inl | // Font generated by stb_font_inl_generator.c (4/1 bpp)
//
// Following instructions show how to use the only included font, whatever it is, in
// a generic way so you can replace it with any other font by changing the include.
// To use multiple fonts, replace STB_SOMEFONT_* below with STB_FONT_times_50_usascii_*,... | [
"s_trettel@yahoo.com"
] | s_trettel@yahoo.com |
61297a1ee36cc586c78a85008ad995ab6a478e49 | f8e8671fa76c93d3ad95b6c732b0a94c2b7ac01c | /Source/Graphics/Texture.h | beaa38e1fcbadacb367f7d6729114a676666c3d9 | [] | no_license | MrBigDog/ShaderCloud | 72302a37dcb40f29151a7b6ae8999d84d127de8b | 2e4968fc3fb882868e816c0632ba83e18ef2590a | refs/heads/master | 2020-03-17T23:58:27.619263 | 2017-06-27T10:32:52 | 2017-06-27T10:32:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,159 | h |
#ifndef PROJECT_TEXTURE_H
#define PROJECT_TEXTURE_H
// -------------- INCLUDES
#include <glad/glad.h>
#include <iostream>
/**
* Texture wrapper for OpenGL textures
*/
class Texture {
GLuint textureID;
int width, height;
GLenum format, wrap, filter;
public:
inline Texture(int width, int height, GLe... | [
"onurhb@gmail.com"
] | onurhb@gmail.com |
4031c58c0fd4cc27f73d8a7cee9298c53fc7bb46 | f667c78c2846bc2a035aeffb5a9dc9c026ac97c3 | /PSO.cpp | 96f2565aefc5f2c11473d53143a9058f7347b15f | [
"MIT"
] | permissive | alexandervandekleut/Parallel-Hetergenous-PSO | bd012b2597264cb6ed0f6d6aa78af542ce9e2bd7 | 92629bd8f15326f505fbfb333732917666abf575 | refs/heads/master | 2020-04-09T17:05:15.680280 | 2018-12-06T04:47:12 | 2018-12-06T04:47:12 | 160,470,282 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,463 | cpp | #include <float.h> // for DBL_MAX
#include <iostream> // printing/debugging
#include <random> // random number generator
#include <vector> // dynamic object array with handled memory
#include <math.h> // cos
#include <mpi.h> // openMPI
#include <stdio.h>
std::mt19937 generator(0); // random number generator with cons... | [
"noreply@github.com"
] | alexandervandekleut.noreply@github.com |
c40fe3dfdcaefb125279ac1d5ddcdab71e7b9720 | b76ddc55d754c6d8840b1025a172be4a2f483b40 | /echoService/src/EchoServiceImpl.hpp | 01014c86b68d74a5019a40d7610454ec2484f34a | [] | no_license | zhangbin2757/jsou | 5dce7a44e6586f9d1fb86d4f8bf3330c6cca6424 | f7779260fbbb92ec7ab5eff5e2753f03a7e5787d | refs/heads/master | 2021-01-10T01:42:02.595224 | 2015-05-26T13:13:59 | 2015-05-26T13:13:59 | 36,277,276 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 999 | hpp | /*
* EchoServiceImpl.hpp
*
* Created on: May 26, 2015
* Author: zhangbin
*/
#ifndef ECHOSERVICEIMPL_HPP_
#define ECHOSERVICEIMPL_HPP_
#include "proto/rpc.pb.h"
#include "proto/service.pb.h"
#include "proto/echo.pb.h"
#include <iostream>
namespace echo {
class EchoServiceImpl : public jsou::JsouService ... | [
"zhangbin@localhost.localdomain"
] | zhangbin@localhost.localdomain |
e009fbcafa6ee99a990f3e94d1fcd15a6d2e9b04 | 3b36e19abaf532074d1ff57d3d8c87a037214a73 | /curr/control_gui/mapthread.h | 71065f36d4ad44869e9052ab548139ce16d2dbe3 | [] | no_license | schdorm/openhanse-project | 9823d767b5d5921dfddea019adc501c72c361057 | 89a3241e2d6360b53c7711a9cedce8132604581e | refs/heads/master | 2021-01-22T07:03:06.034567 | 2012-08-13T10:15:39 | 2012-08-13T10:15:39 | 5,397,358 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,750 | h | /***************************************************************************
* Copyright (C) 2009 - 2010 by Christian Doerffel *
* schdorm@googlemail.com *
* *
* This pr... | [
"xristian@hp.(none)"
] | xristian@hp.(none) |
e452e9ae9bec5a53d8102471a2d22b27b09f5f09 | d6cad4d66bf46c44ea5d7101c3684c2fa329a431 | /zsLibTest/TestStringize.cpp | 151637e5eae8d81a85bfb96d1d86e529939967e6 | [] | no_license | KerwinMa/zsLib | 753efe184e9039d30e19bb4eb0dd3159c3364100 | 0b284002512aed7b236a14a8c827df3a0ba49f75 | refs/heads/master | 2021-01-21T01:39:36.213144 | 2014-11-03T04:59:18 | 2014-11-03T04:59:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,209 | cpp | /*
* Created by Robin Raymond.
* Copyright 2009-2013. Robin Raymond. All rights reserved.
*
* This file is part of zsLib.
*
* zsLib is free software; you can redistribute it and/or modify it under the
* terms of the GNU Lesser General Public License (LGPL) as published by the
* Free Software Foundation; eithe... | [
"robin@hookflash.com"
] | robin@hookflash.com |
cfc37c2e52f7413c6dad0f6e5b1a970a791fa0d2 | 111c3ebecfa9eac954bde34b38450b0519c45b86 | /SDK_Perso/include/Cockpit/Base/Header/Avionics/avBasicOxygenSystemInterface.h | 1e91dcb7053e20d211cf0d9eb1668e3c26ef503c | [] | no_license | 1059444127/NH90 | 25db189bb4f3b7129a3c6d97acb415265339dab7 | a97da9d49b4d520ad169845603fd47c5ed870797 | refs/heads/master | 2021-05-29T14:14:33.309737 | 2015-10-05T17:06:10 | 2015-10-05T17:06:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 838 | h | #pragma once
#include "CockpitBase.h"
#include "Avionics/avDevice.h"
namespace cockpit
{
class COCKPITBASE_API avBasicOxygenSystemInterface : public avDevice
{
public:
~avBasicOxygenSystemInterface(){}
//avDevice interface
virtual void initialize(unsigned char, const ed::string&, const ed::string&);
virtual vo... | [
"hashmaaal@gmail.com"
] | hashmaaal@gmail.com |
1d6b5fa428b634e8cf413f33f9205988c56bd7cf | 7f308530daea594dd10425b68de237baecdbc4f9 | /Practica 5 Implementación de Métodos de Ordenación/include/HeapSortMethod.hpp | fae1e6e0c9618a0e8ad95d3e2bf90d489218cb6a | [] | no_license | AdrianEpi/Algoritmos-y-Estructuras-de-Datos-Avanzadas | 8843c1262d02c49d8d72daee1709c05db7541718 | 97bb06a3916569ffaa281ff06b47addc863261a3 | refs/heads/master | 2022-07-14T21:33:41.693439 | 2020-05-21T06:30:19 | 2020-05-21T06:30:19 | 241,056,042 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,555 | hpp | /*===================================================================================
=====================================================================================
= =
= Proyecto: Práctica 5 Implementación de Métod... | [
"alu0101158280@ull.edu.es"
] | alu0101158280@ull.edu.es |
27b545364568aa222eb86185a48752c3a2ec0854 | f78b0b8a0f28da59ee91af5311152ca960e0dc35 | /arm-barcode-scanner/Project/OV9655_Camera/src/zxing/common/GreyscaleLuminanceSource.h | 368391069ab5df8ee851288a6193e1e53c9a433b | [
"Apache-2.0"
] | permissive | tachcard/arm-barcode-scanner | 7d809c280379838d5b12c0002fb68cab0ad57a4e | 7907e8111c3cc051800479f5bcb28d29a4a57efb | refs/heads/master | 2016-09-09T21:31:27.132973 | 2015-02-19T15:27:43 | 2015-02-19T15:27:43 | 28,885,426 | 8 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 1,482 | h | // -*- mode:c++; tab-width:2; indent-tabs-mode:nil; c-basic-offset:2 -*-
#ifndef __GREYSCALE_LUMINANCE_SOURCE__
#define __GREYSCALE_LUMINANCE_SOURCE__
/*
* GreyscaleLuminanceSource.h
* zxing
*
* Copyright 2010 ZXing authors All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License")... | [
"controllerdreamlive@gmail.com"
] | controllerdreamlive@gmail.com |
6c6374d57016dc242b73b28ab66a81134d3fc14a | 40f13e754761811968c80cf207cfea5b25d08042 | /NEPS/SDK/VarMapping.h | 3faaf3ce6637ecb206a992a5d6c39f9d2e1c3b23 | [
"BSD-3-Clause",
"BSD-2-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | dapaster/NEPS | 5d7f8b92e7e3e2c2dca9cdcfa37d2ee64f985720 | 274107a7e246e0bfc713929fce416f9591bcc9e1 | refs/heads/master | 2023-05-18T15:35:30.629935 | 2021-06-06T10:45:45 | 2021-06-06T10:45:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 212 | h | #pragma once
#include "UtlVector.h"
struct VarEntry
{
unsigned short type;
unsigned short needsToInterpolate;
std::byte pad[8];
};
struct VarMap
{
UtlVector<VarEntry> entries;
int interpolatedEntries;
};
| [
"65950527+degeneratehyperbola@users.noreply.github.com"
] | 65950527+degeneratehyperbola@users.noreply.github.com |
0cff37039702cb7aa8cab0e3fa2969b58dc52e81 | 6ac650f1c222e5062d594de8777b32b841c47fdd | /src/performance_checker.cpp | e89a1073728009694dfc39c8bdab376d97360e30 | [] | no_license | wasppdotorg/waspp | 93b25e665e4f90f8309a5c48e429c0ce604f1a3e | b1526df6c7a3580a16c6dad32f6c02b991ba952e | refs/heads/master | 2021-01-17T15:31:30.981895 | 2018-08-21T04:26:01 | 2018-08-21T04:26:01 | 29,589,428 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 770 | cpp | /*
Copyright (c) 2014-present WASPP (waspp.org at gmail dot com)
Distributed under the Boost Software License, Version 1.0.
http://www.boost.org/LICENSE_1_0.txt
*/
#include <chrono>
#include "performance_checker.hpp"
#include "logger.hpp"
namespace waspp
{
performance_checker::performance_checker(int64_t limit_ms... | [
"mobilegameserver@gmail.com"
] | mobilegameserver@gmail.com |
86bc2b54136327e7e9ab579fef61a26507629fd5 | 355a9d9a302e0e1e1e1427af2d9ac997bc19a290 | /src/sniffer.cpp | 3903d8657b51fbd839453f531ae6ad2e84f51bb7 | [] | no_license | GabrielaFrizoni/TCC_RabbitMQ | 00747ad71b58b25da8a2c63fd6c29fc63d712d90 | 8908f55dd768e109759e5eb66d79b7fb782acdc8 | refs/heads/main | 2023-03-18T00:44:52.611885 | 2021-03-11T00:28:27 | 2021-03-11T00:28:27 | 346,530,931 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 8,331 | cpp | #include <sniffer.h>
#include <string>
#include <iostream>
#include <sstream>
#include <stdio.h>
#include <stdlib.h>
#include <pthread.h>
#include <cstring>
#include <chrono>
#include <ctime>
#include <string>
#include <sniffer.h>
#include <json.hpp>
using namespace std::chrono;
using namespace std;
using namespace Am... | [
"gabriela.frizoni@engenharia.ufjf.br"
] | gabriela.frizoni@engenharia.ufjf.br |
ea3b0e4a84e7094e2c4cd47afd40296f095240cf | 8892795e827facc6115a9bf4cd2027305073732b | /Puzzle Game/Puzzle Game/Source/CRisdonEffect.h | 67b5d4bdef252c7d7c1873778d3cee5c917ca729 | [] | no_license | Hungon/Visual-Studio-Projects | d5795b0508732d0a95e53e22105727d2ca42c2ba | 265af12436a14c9575db8d2e293efcbb0d573588 | refs/heads/master | 2020-04-02T10:27:30.965699 | 2019-02-12T14:38:02 | 2019-02-12T14:38:02 | 154,340,628 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 564 | h | #pragma once
#ifndef CRISDONEFFECT_H__
#define CRISDONEFFECT_H__
#include "CAnimation.h"
#include "graphics.h"
//define the class
class CRisdonEffect : public CAnimation,
public CCharacter
{
private:
CAnimation *m_lpCAnimation; //for animation
int *m_lpImage; //for image
protected:
public:
CRisdonEff... | [
"koheimoroi@yahoo.co.jp"
] | koheimoroi@yahoo.co.jp |
d00fece02c7fd49afd851275d2b2e4f481116b46 | 2cbcfb9b9046ac131dc01a6fd048b6920d29cd42 | /CPlusPlus/LeetCode/148. 排序链表/main.cpp | 6579b393ff5c825655f7a3bd12ddd249223c20c1 | [] | no_license | pulinghao/LeetCode_Python | 6b530a0e491ea302b1160fa73582e838338da3d1 | 82ece6ed353235dcd36face80f5d87df12d56a2c | refs/heads/master | 2022-08-12T21:19:43.510729 | 2022-08-08T03:04:52 | 2022-08-08T03:04:52 | 252,371,954 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,378 | cpp | //
// main.cpp
// 148. 排序链表
//
// Created by pulinghao on 2022/6/29.
//
#include <iostream>
#include "common.h"
class Solution {
public:
ListNode* sortList(ListNode* head) {
// 归并排序
if(!head || !head->next){
return head;
}
// 1. 找终点
ListNode *slow = head;
... | [
"pulinghaox@163.com"
] | pulinghaox@163.com |
783334fd07d21787cb8ba06a6c1f7cb657c5ad94 | b28305dab0be0e03765c62b97bcd7f49a4f8073d | /components/storage_monitor/media_storage_util_unittest.cc | ba7386d06f74b7929ce4a4fa117c5a2f6350b603 | [
"BSD-3-Clause"
] | permissive | svarvel/browser-android-tabs | 9e5e27e0a6e302a12fe784ca06123e5ce090ced5 | bd198b4c7a1aca2f3e91f33005d881f42a8d0c3f | refs/heads/base-72.0.3626.105 | 2020-04-24T12:16:31.442851 | 2019-08-02T19:15:36 | 2019-08-02T19:15:36 | 171,950,555 | 1 | 2 | NOASSERTION | 2019-08-02T19:15:37 | 2019-02-21T21:47:44 | null | UTF-8 | C++ | false | false | 4,792 | cc | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <string>
#include "base/bind_helpers.h"
#include "base/files/file_util.h"
#include "base/files/scoped_temp_dir.h"
#include "base/run_loop.h"
#in... | [
"artem@brave.com"
] | artem@brave.com |
df1e6bbfb398f3c475df0375edd269748845d53f | 89c3df29416366345d49417e4da103905e9074c7 | /D3d8to9/d3d8to9_base.cpp | f0f2104c25fe5f67fa0f15b217d719839b9ff597 | [
"Zlib"
] | permissive | Crspy/dxwrapper | 2fc0b0c7541c0090856eaf164965b1fbbfdfb1ff | 434d686abe217af721d3f842c54fa124627fc963 | refs/heads/master | 2021-07-07T13:12:24.350604 | 2017-10-04T17:22:59 | 2017-10-04T17:22:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,070 | cpp | /**
* Copyright (C) 2015 Patrick Mours. All rights reserved.
* License: https://github.com/crosire/d3d8to9#license
*/
#include "d3d8to9.hpp"
static const D3DFORMAT AdapterFormats[] = {
D3DFMT_A8R8G8B8,
D3DFMT_X8R8G8B8,
D3DFMT_R5G6B5,
D3DFMT_X1R5G5B5,
D3DFMT_A1R5G5B5
};
// IDirect3D8
Direct3D8::Direct3D8(IDir... | [
"elisha@novicemail.com"
] | elisha@novicemail.com |
3f1fd63b6c2ae9b63194a01833a25f9a8002df00 | eb40a068cef3cabd7a0df37a0ec2bde3c1e4e5ae | /dnn/src/x86/pooling/opr_impl.h | b97a01df9618ffee84cf91851d0686a57519328e | [
"Apache-2.0",
"LicenseRef-scancode-generic-cla"
] | permissive | tpoisonooo/MegEngine | ccb5c089a951e848344f136eaf10a5c66ae8eb6f | b8f7ad47419ef287a1ca17323fd6362c6c69445c | refs/heads/master | 2022-11-07T04:50:40.987573 | 2021-05-27T08:55:50 | 2021-05-27T08:55:50 | 249,964,363 | 1 | 0 | NOASSERTION | 2021-05-27T08:55:50 | 2020-03-25T11:48:35 | null | UTF-8 | C++ | false | false | 905 | h | /**
* \file dnn/src/x86/pooling/opr_impl.h
* MegEngine is Licensed under the Apache License, Version 2.0 (the "License")
*
* Copyright (c) 2014-2021 Megvii Inc. All rights reserved.
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS... | [
"megengine@megvii.com"
] | megengine@megvii.com |
c81e96839a838e37026e2a0074c185d232b555bb | 435be38e1fec093c3a38ef328216b2ec04bd37e0 | /HOJ/1503.Advanced Fruits (LCS).cpp | 250f93ca5d831750726e97e0ef88740a85a10faf | [] | no_license | renardbebe/myPOJ | 54197da713d9fdcb85a0f7fbe2d565f6cfd8640c | 68f603993b7b1fa105043e22337a031a8eef9e64 | refs/heads/master | 2018-12-08T18:19:53.966837 | 2018-09-17T08:11:32 | 2018-09-17T08:11:32 | 117,306,446 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 99 | cpp | #include <iostream>
#include <cmath>
#include <cstring>
#include <algorithm>
using namespace std;
| [
"352600801@qq.com"
] | 352600801@qq.com |
d428f1fd65b2fea886764edcdcf9d17f2d31e36a | 7f11021114fdc24f5c63f574385ce458f4db65f1 | /tfmini_m5stack/tfmini_m5stack.ino | c422508a1277f4cbce249eddef790f5a0d9cd29f | [] | no_license | is0408pv/loco_arduino | b56dd3543bf1fc6f0bc7df1ff9199fac9be4116b | 78de53c3d18f185414660fbe77bc4e39f5e7b642 | refs/heads/master | 2023-09-04T16:51:14.781243 | 2021-11-22T06:10:41 | 2021-11-22T06:10:41 | 430,576,461 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,263 | ino | #include <SoftwareSerial.h>
#include "TFMini.h"
#include <M5Stack.h>
//SoftwareSerial mySerial(16,17);
// Setup software serial port
TFMini tfmini;
void setup() {
// Step 1: Initialize hardware serial port (serial debug port)
int i=0;
M5.begin();
Serial.begin(115200);
Serial1.begin(115200... | [
"is0408pv1@gmail.com"
] | is0408pv1@gmail.com |
1a987488a99bc0eb0ee92bc519e0da64877cd673 | 5b5ad3fbec0ac7c8b5506a69e7a3380ccbd194a7 | /LightOJ/1000.cpp | 8930b18373dd4db2008fd66ca181eeb5485075e7 | [] | no_license | CSEKU160212/C_Programming_And_Data_Structure | dd9e5736c0fdc5e443e438ca777554f5acb47420 | 6279d8c097e83fe5174ba33bfe3020abc9d87634 | refs/heads/master | 2021-01-01T07:59:08.373381 | 2017-08-03T10:27:50 | 2017-08-03T10:27:50 | 97,567,243 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 384 | cpp | #include<bits/stdc++.h>
#define sc scanf
#define pf printf
#define ll long long int
#define pi 2*acos(0.0)
#define dl double
#define fl float
#define st string
#define close return 0
#define str string
using namespace std;
int main()
{
int T, a, b;
cin>>T;
for(int i=1; i<=T; i++)
{
cin>>a>>b;... | [
"cseku160212@gmail.com"
] | cseku160212@gmail.com |
24915c8f935f228e7c874d7c4a99b6c6c351fb4c | 6b40e9dccf2edc767c44df3acd9b626fcd586b4d | /NT/admin/admt/varset/vardata.cpp | a958784a00c0e39d10e6bb37bb3f9d3450ae9c38 | [] | 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 | 14,009 | cpp | /*---------------------------------------------------------------------------
File: VarData.cpp
Comments: CVarData represents one level in the VarSet. It has a variant
value, and a map containing one or more subvalues.
(c) Copyright 1995-1998, Mission Critical Software, Inc., All Rights Reserved
Pro... | [
"seta7D5@protonmail.com"
] | seta7D5@protonmail.com |
2f1625250eeb33c1ff6af5030d0a1a5eda7fdcf4 | 06c2a221d060076e2f30d4e602a98c2c435dc0bb | /src/Components/PowerSensor.cpp | 3062ba7d93c32da6c0676a460c0347fd11226014 | [] | no_license | vinistig/Gbox420 | 4804b109fa46f06bb82d7cde485d360de33f013a | beb5f95b912aeb077c5a1d81bcfe7484ab8d99a0 | refs/heads/master | 2022-06-23T14:25:16.367011 | 2020-05-05T13:11:17 | 2020-05-05T13:11:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,169 | cpp | #include "PowerSensor.h"
PowerSensor::PowerSensor(const __FlashStringHelper *Name, Module *Parent, HardwareSerial *SerialPort) : Common(Name)
{
this->Parent = Parent;
Sensor = new PZEM004T(SerialPort);
PowerSensorIP = new IPAddress(192, 168, 1, 1);
Sensor->setAddress(*PowerSensorIP); ///start power meter
... | [
"growboxguy@gmail.com"
] | growboxguy@gmail.com |
1df94b61c03789a2ceb3832d74d46733df35c4bb | d31daa2f0fbff4440e75f98bd17ce412828d083c | /spline.cpp | b0644bff711cbb360b812a4bfaff52ad6dc939b5 | [] | no_license | ftann/splines | d04b86c64f31ef9c9f70a2e83f61357a97c695e8 | bf0eb0f9591087b530017b5e699dbcd274062666 | refs/heads/master | 2020-04-30T08:12:36.376259 | 2019-03-20T10:16:17 | 2019-03-20T10:16:17 | 176,707,561 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,552 | cpp | #include "spline.h"
clsSpline::clsSpline(void):
m_bAutoscale(true),
m_bAxes(true),
m_bCoord(true),
m_bLowEndSystem(false),
m_bPoints(true),
m_bPolynom(false),
m_bSingleSplines(false),
m_bSpline(true),
m_Radius(SPLINE_WIDTH_POINT),
m_Q(0),
... | [
"florian.tanner@adcubum.com"
] | florian.tanner@adcubum.com |
5078bfdc3a5b458eef8bd4ff80a974f9911a54b6 | 41b94ba0ba3f32789602766fe8d00394cd588084 | /Arrays/DynamicArray/DynamicArray.cpp | 8ac852ef24f68372636098fe9aa6152b69146cae | [] | no_license | ianms17/DataStructures | df94994f865f7f069c4a7ae8bf53fcedbbb7630e | 0ec08e8799e72573769f8faffa0f00e96f73f321 | refs/heads/master | 2022-11-07T15:41:04.973184 | 2020-06-15T01:08:13 | 2020-06-15T01:08:13 | 263,717,685 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,038 | cpp | /*
* File: DynamicArray.cpp
*/
#include "DynamicArray.h"
#include <iostream>
/*
* Constructor
*/
DynamicArray::DynamicArray() {
currentSize = 0;
capacity = 1;
container = new int[1];
}
/*
* void Push (int data)
* Function: Add the element data to the end of the array
* Resize ... | [
"ianmstephenson17@gmail.com"
] | ianmstephenson17@gmail.com |
8e24e8733306f7caeb2168bda39d792c92c97457 | 600df3590cce1fe49b9a96e9ca5b5242884a2a70 | /cc/animation/property_animation_state.h | 642576364e1f94005f68894083ea38575ad20107 | [
"BSD-3-Clause"
] | permissive | metux/chromium-suckless | efd087ba4f4070a6caac5bfbfb0f7a4e2f3c438a | 72a05af97787001756bae2511b7985e61498c965 | refs/heads/orig | 2022-12-04T23:53:58.681218 | 2017-04-30T10:59:06 | 2017-04-30T23:35:58 | 89,884,931 | 5 | 3 | BSD-3-Clause | 2022-11-23T20:52:53 | 2017-05-01T00:09:08 | null | UTF-8 | C++ | false | false | 1,203 | h | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CC_ANIMATION_PROPERTY_ANIMATION_STATE_H_
#define CC_ANIMATION_PROPERTY_ANIMATION_STATE_H_
#include "cc/animation/target_property.h"
#include "cc/... | [
"enrico.weigelt@gr13.net"
] | enrico.weigelt@gr13.net |
dd18ebae9f86bad1a86216fbe902b7faae222ecd | f1c9a4bff4a4e858009b4931b9a4729145c8876c | /力扣项目/剑指offer/33二叉树的镜像.cpp | 93e6b4daef6d346591d0355bd58868542ba67f63 | [] | no_license | Lain928/leetcode | 3b3c4356ca1b3d65af2f3891e1ec1f455eddabd3 | 7127658597cf053f761d6d55b863219d823828e3 | refs/heads/master | 2023-01-24T05:46:02.112391 | 2020-11-24T03:07:11 | 2020-11-24T03:07:11 | 308,280,471 | 2 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,242 | cpp | #include <iostream>
using namespace std;
/*
8
6 10
5 7 9 11
8
10 6
11 9 7 5
*/
struct TreeNode
{
char data;
TreeNode* pLeft;
TreeNode* pRight;
};
class Solution
{
public:
//创建二叉树
void CreatTree(TreeNode*& root);
void PrintTree(TreeNode* root);
//递归的方式
void Mirror... | [
"916729656@qq.com"
] | 916729656@qq.com |
d8054355443b6fd89b32d6ec852590b7c2cf72c9 | 12e2aa8984c8d1a5cbcc149dc22f5b88f47067a0 | /A unique string.cpp | 072160341d783b5075d11a853fbbefec18882c5a | [] | no_license | shyamsvs/binarysearchsolutions | a375e798e3ab1776d47a3d423ca32fa4ec49ea02 | 4255b32437db74bce6195f1929098dc328113928 | refs/heads/master | 2022-12-10T19:02:33.280941 | 2020-09-06T04:46:15 | 2020-09-06T04:46:15 | 292,729,662 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 370 | cpp | #include "solution.hpp"
using namespace std;
class Solution {
public:
bool solve(string s) {
// Write your code here
if(s.size() == 0)return true;
sort(s.begin(),s.end());
for(int i=0;i<s.size() - 1;i++){
if(s[i]==s[i+1]){
return false;
}... | [
"noreply@github.com"
] | shyamsvs.noreply@github.com |
e02f958aaa359c815d6a107183ea46bc0ba9c1f4 | bf882e3c398248ebd8a2f2af00b45919d778bd89 | /graph.h | dde26d8340f92d0cfcf3517cce59ed9351712420 | [
"MIT"
] | permissive | lgeorget/code_viewer | 140b15029df7defdcf45b226d58fca8842d1ebf5 | ef33bdfd2e62099353e65c61592ceca626522c2f | refs/heads/master | 2021-01-20T13:47:47.032543 | 2014-12-04T08:26:48 | 2014-12-04T08:26:48 | 27,480,405 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,010 | h | #ifndef GRAPH_H
#define GRAPH_H
#include <QObject>
#include <QGraphicsScene>
#include <gvc.h>
#include <QGraphicsScene>
#include <QMap>
#include <QPair>
#include <QFont>
#include <functional>
class Node;
class Edge;
class Element;
class Graph : public QGraphicsScene
{
Q_OBJECT
public:
Graph(const QString& filenam... | [
"laurent.georget@supelec.fr"
] | laurent.georget@supelec.fr |
1f9b1989597fd0c631570a7695bcfaebf1f20de5 | 638af6b8c580eeae23fc1034882c4b514195137a | /Packages/visus/src/visusscene/VisusAssert.cpp | 218244f9b251aedf3f7e8b90e7b54df58700b6a3 | [] | no_license | doutriaux1/uvcdat | 83684a86b514b8cac4d8900a503fc13d557fc4d2 | 37e9635f988696c346b4c3cdb49144d1e21dab5d | refs/heads/master | 2021-01-17T07:57:22.897539 | 2015-02-02T22:52:12 | 2015-02-02T22:52:12 | 14,878,320 | 1 | 0 | null | 2015-02-19T20:54:25 | 2013-12-02T23:44:46 | C | UTF-8 | C++ | false | false | 2,340 | cpp | /***********************************************************************
*
* Copyright (c) 2008, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory
* Written by bremer5@llnl.gov,pascucci@sci.utah.edu.
* LLNL-CODE-406031.
* All rights reserved.
*
* This file ... | [
"doutriaux1@meryem.llnl.gov"
] | doutriaux1@meryem.llnl.gov |
11296fea8b7f640396c46b1c27874ac0b17be324 | 7cc763d37a1cc269aeb60de4c0aa23db0c77cfcd | /v1/toolset/tools/ahir2vhdl/Utils.hpp | 42968d545642f6ab300c634adface9e4d6333ff5 | [
"NCSA",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | madhavPdesai/ahir | 8a0d283f0fb38797a67e46b574902671846337eb | 60f1d0cc34f413128a3553d058e2bde49bbf4135 | refs/heads/master | 2023-06-07T10:00:22.813756 | 2023-05-31T11:45:16 | 2023-05-31T11:45:16 | 3,706,944 | 39 | 15 | NOASSERTION | 2019-05-01T14:25:55 | 2012-03-13T13:47:44 | VHDL | UTF-8 | C++ | false | false | 1,177 | hpp | #ifndef __VHDL_UTILS_HPP__
#define __VHDL_UTILS_HPP__
#include <Base/NodeType.hpp>
#include <map>
#include <string>
namespace hls {
class Type;
}
namespace ahir {
class DPElement;
class Port;
class Wire;
}
namespace vhdl {
class Port;
class Generic;
class Entity;
class DPElement;
// std::... | [
"sameerds@trantor.(none)"
] | sameerds@trantor.(none) |
567727375157ba2edee1bd6a44b49aa4319635ee | b0fd70bbc2dbf78b22d5fc759012aef23745daa2 | /libraries/Arduino-FOC-drivers-1.0.2/src/encoders/tle5012b/MagneticSensorTLE5012B.h | 712c89609850e787e401a6d31123a4675eecd848 | [
"Apache-2.0",
"CC-BY-4.0",
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | jeichenlaub/fidgetknob | cbb5563db3c49ab5cc55a47a3ae071547b450052 | 3c3796c6b13117956b0a13ebe3658689df101dc6 | refs/heads/main | 2023-04-18T13:47:52.475853 | 2023-03-14T10:08:03 | 2023-03-14T10:08:03 | 604,096,061 | 1 | 0 | NOASSERTION | 2023-03-14T09:29:12 | 2023-02-20T10:24:12 | C++ | UTF-8 | C++ | false | false | 458 | h |
#ifndef __MAGNETIC_SENSOR_TLE5012B_H__
#define __MAGNETIC_SENSOR_TLE5012B_H__
#include "./STM32TLE5012B.h"
#if defined(_STM32_DEF_)
#include "common/base_classes/Sensor.h"
class MagneticSensorTLE5012B : public Sensor, public TLE5012B {
public:
MagneticSensorTLE5012B(int data, int sck, int nCS);
... | [
"johnaeichenlaub@gmail.com"
] | johnaeichenlaub@gmail.com |
de7913ff6acd5f02328fdd569cad4ade660c3365 | 5c14e45d11bccff6ed32743fe5fede597c55106e | /server/src/Whatsapp/phonereg.cpp | 23c08be7234c600c838634157436f6b3cdd30d6e | [
"WTFPL"
] | permissive | Morpog/mitakuuluu2 | dc2b7bb523e6e4a1b68bfe2c3b91d6143015c128 | b6798b8e29e74c73d12c2ff03e133fb532be3d69 | refs/heads/master | 2016-09-16T02:01:28.422178 | 2014-04-20T14:08:22 | 2014-04-20T14:08:22 | 18,967,895 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,108 | cpp | /* Copyright 2013 Naikel Aparicio. 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 conditions an... | [
"coderusinbox@gmail.com"
] | coderusinbox@gmail.com |
d36ed13320fa6b487f8f1832960857629230b8af | 077907707c2a5005e3157c148e7ca63524116502 | /src/kalman_filter.cpp | 5ffaf2a386b8bc47f7aeaf40e0678c66b0b8105f | [
"MIT"
] | permissive | Nirdor/udacity_carND_Extended-Kalman-Filter-Project | b9058b406a802191594ad8a9dc09215cfa70fa90 | ca216cef39941a9c2164198c227b1e770fcb78bf | refs/heads/master | 2020-03-23T00:59:40.902726 | 2018-07-13T21:55:08 | 2018-07-13T21:55:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,548 | cpp | #include "kalman_filter.h"
#include <assert.h>
using namespace std;
using Eigen::MatrixXd;
using Eigen::VectorXd;
// Please note that the Eigen library does not initialize
// VectorXd or MatrixXd objects with zeros upon creation.
KalmanFilter::KalmanFilter() {}
KalmanFilter::~KalmanFilter() {}
void KalmanFilter::... | [
"seidelmartin@gmx.de"
] | seidelmartin@gmx.de |
3a097ea0f266e655f0a29e9b647c7c04d2938d08 | 9df186b313173826f78f04abcf869c0573a0cf85 | /OkasErp/GUI/BrandingPageCls.h | 0d646451d3c0cd7dbd61896b5b197ef417fd63ac | [] | no_license | rcptgc/OKASERP | 2f7e0f7cc798415a18f2a996464a294ac518b505 | 944d88302b513fd7ac192be225bf384c0b3db653 | refs/heads/master | 2020-04-22T06:25:51.497949 | 2019-11-13T19:29:04 | 2019-11-13T19:29:04 | 170,190,073 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,216 | h | #ifndef BRANDINGPAGECLS_H
#define BRANDINGPAGECLS_H
#include <QMainWindow>
#include "PageCls.h"
typedef struct
{
QString BarcodeNumberStr;
QDate CurrentDate;
QString BrandDateStr;
OrderCls Order;
} BrandingPageDataStc;
namespace Ui
{
class BrandingPageCls;
}
/*! \class BrandingP... | [
"receptugci@gmail.com"
] | receptugci@gmail.com |
cc0cb43b1aa3d4b7df6b1d86bb79f65bf16d1390 | 051c898be81003a5c90f5a1ce77a252252774973 | /preliminary/F/33920401.cpp | f7a7558c924b18ee27d7a45c9fac9913ad3bbe83 | [] | no_license | mmatrosov/FKN2020 | 29caffa241882e672df654b4857b5674d5f96f6e | 38bfa7811d4af175415f7cc4da81df44b5b4a74c | refs/heads/master | 2022-12-27T19:15:05.849915 | 2020-10-16T07:12:27 | 2020-10-16T07:12:27 | 298,350,636 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,221 | cpp | #include <iostream>
#include <algorithm>
#include <cstdio>
#include <vector>
#define all(a) a.begin(), a.end()
#define int long long
using namespace std;
void fast_IO() {
ios_base::sync_with_stdio(false);
cin.tie(0);
cout.tie(0);
}
const int INF = 1e18;
const int DEBUG = 1;
int n, k;
vector<int> a1;
vec... | [
"mikhail.matrosov@gmail.com"
] | mikhail.matrosov@gmail.com |
8b90b53536fd50a460ba58860dddca7a55151197 | 2489c007b2caa20df861983df322ece2123276aa | /day-5/main.cpp | 67ef46444188ee55a9f7e63f9ccb4af1e3fb775e | [
"MIT"
] | permissive | teemid/aoc2019 | b76acf85e78cd71a68af1669880e103ae1d52fd5 | ccd127adadc67d9a6a30c1774e0a6b57bb0ed8e3 | refs/heads/master | 2020-09-25T09:50:59.844785 | 2019-12-09T22:18:07 | 2019-12-09T22:18:07 | 225,979,375 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,939 | cpp | #include <fstream>
#include <iostream>
#include <string>
#include <cstdint>
#include <vector>
void read_input(const char * filename, std::vector<int32_t> * values)
{
std::ifstream fs;
fs.open(filename, std::ifstream::in);
std::string s;
for (std::string s; std::getline(fs, s, ','); )
{
aut... | [
"emilgrunt@gmail.com"
] | emilgrunt@gmail.com |
24e0aa5729835f0baa26dcc9685b1cfdf34d9faa | 27ef71d40f6ccaa629a886349953507ad03a7a0c | /Inventories.h | c5ccc74a2a1f69b68079d0a02e5e0645a3e12fd3 | [] | no_license | Timbwa/Dark-Dungeons | 8e48c02258e10a6e65afc886c2998e8c224262de | 114d302ffab727cf5ebacc9d6ac95d14a758a568 | refs/heads/master | 2020-06-06T12:18:05.660861 | 2019-08-28T08:28:05 | 2019-08-28T08:28:05 | 192,737,530 | 0 | 1 | null | 2019-08-02T10:48:41 | 2019-06-19T13:27:21 | C++ | UTF-8 | C++ | false | false | 1,431 | h |
#ifndef DARK_DUNGEONS_INVENTORIES_H
#define DARK_DUNGEONS_INVENTORIES_H
#include <string>
#include <vector>
#include <iostream>
using std::cout;
using std::vector;
using std::string;
class Inventories{
private:
string name;
vector<int> statValues;
vector<string> statNames;
char type;
public:
Inve... | [
"davidtimbwa57@gmail.com"
] | davidtimbwa57@gmail.com |
3ad2bcfd21103b456b4d905204f31e9245a6384a | 794e36dac855e8e52013a2c3c8dde258369edf68 | /2 Linked Lists/Finding middle element in a linked list .cpp | cbf47fc9e9e8bffe9c1d3fa6eb0835aa8b1fa8aa | [
"MIT"
] | permissive | markpairdha/DataStructures-and-Algorithms | 9c3e402a0d6c67cd88423c0db5e34d6e450058be | cf002e5a982543bd91e4a06ab22e76c40095786e | refs/heads/master | 2020-05-04T20:15:49.295457 | 2020-04-04T19:05:53 | 2020-04-04T19:05:53 | 179,430,428 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,708 | cpp | #include <stdio.h>
#include <stdlib.h>
#include<iostream>
using namespace std;
/* Link list Node */
struct Node
{
int data;
struct Node* next;
Node(int x){
data = x;
next = NULL;
}
};
void append(struct Node** head_ref, struct Node **tail_ref, int new_data)
{
struct Node* new_... | [
"noreply@github.com"
] | markpairdha.noreply@github.com |
557b831d166a88d1003b8b6ebc5af2f8960a11d3 | ab58cdd207b9602644feed5726da7c78b25a44c1 | /main.cpp | b2e985acc61b60968655a714d1483d331e0c5753 | [] | no_license | jianghongpei/Tetris | a1ee6d0a3ac6a9be1f7f71c4e74c4562f8d1c069 | 192ddd386a857d9c09bf5906efa340f832c935fa | refs/heads/master | 2020-03-23T19:32:16.627505 | 2018-07-26T02:55:00 | 2018-07-26T02:55:00 | 141,985,570 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 223 | cpp |
#include <QtWidgets>
#include <stdlib.h>
#include "tetrixwindow.h"
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
TetrixWindow window;
window.show();
return app.exec();
}
| [
"noreply@github.com"
] | jianghongpei.noreply@github.com |
502703f92f784063d3e41d04afd1e92cf965240c | b7f3edb5b7c62174bed808079c3b21fb9ea51d52 | /ui/compositor/animation_metrics_recorder.cc | 1b60427856e9a34018a04d81a2fef1d0cf39e2a3 | [
"BSD-3-Clause"
] | permissive | otcshare/chromium-src | 26a7372773b53b236784c51677c566dc0ad839e4 | 64bee65c921db7e78e25d08f1e98da2668b57be5 | refs/heads/webml | 2023-03-21T03:20:15.377034 | 2020-11-16T01:40:14 | 2020-11-16T01:40:14 | 209,262,645 | 18 | 21 | BSD-3-Clause | 2023-03-23T06:20:07 | 2019-09-18T08:52:07 | null | UTF-8 | C++ | false | false | 2,083 | cc | // Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/compositor/animation_metrics_recorder.h"
#include "base/check_op.h"
#include "ui/compositor/animation_metrics_reporter.h"
namespace ui {
A... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
a380eecfac32c36f751c8e6237cf50e995b16559 | 2a88b58673d0314ed00e37ab7329ab0bbddd3bdc | /blazemark/src/main/SMatDVecMult.cpp | 7f8ae89c2b23a926dd822397361633764a715277 | [
"BSD-3-Clause"
] | permissive | shiver/blaze-lib | 3083de9600a66a586e73166e105585a954e324ea | 824925ed21faf82bb6edc48da89d3c84b8246cbf | refs/heads/master | 2020-09-05T23:00:34.583144 | 2016-08-24T03:55:17 | 2016-08-24T03:55:17 | 66,765,250 | 2 | 1 | NOASSERTION | 2020-04-06T05:02:41 | 2016-08-28T11:43:51 | C++ | UTF-8 | C++ | false | false | 14,974 | cpp | //=================================================================================================
/*!
// \file src/main/SMatDVecMult.cpp
// \brief Source file for the sparse matrix/dense vector multiplication benchmark
//
// Copyright (C) 2013 Klaus Iglberger - All Rights Reserved
//
// This file is part of the B... | [
"klaus.iglberger@gmail.com"
] | klaus.iglberger@gmail.com |
a4692c575f9f2185d1496d95e2aee081162ef771 | 82892dc5691d40932d6c3276b2dc833e89bcd6b1 | /lib/old_grammar/RuntimeNote.h | 91d397a6dbbaf5cce1fc89bc500e9ffefd5a2409 | [] | no_license | xrokz/Sharp | a6bdcb44478d1fee6c10bf49a73222e4e49a9e50 | 13326f3b90062d8d1ee419e9d7ae22b4879fae2a | refs/heads/master | 2022-11-28T13:40:21.119743 | 2020-06-19T06:00:25 | 2020-06-19T06:00:25 | 288,750,929 | 1 | 0 | null | 2020-08-19T14:15:44 | 2020-08-19T14:15:44 | null | UTF-8 | C++ | false | false | 1,151 | h | //
// Created by BraxtonN on 2/2/2018.
//
#ifndef SHARP_RUNTIMENOTE_H
#define SHARP_RUNTIMENOTE_H
#include "../../stdimports.h"
#include <sstream>
class RuntimeNote {
public:
RuntimeNote(string file, string line, int l, int col)
:
file(file),
l(line),
line(l),
... | [
"braxtonnunnally@gmail.com"
] | braxtonnunnally@gmail.com |
742dc1f0c897ca4e0933afc51a6dbf0b0a0d78c5 | a2d256659b3f743fd5b49084fe84c125a09787f6 | /124.cpp | 23705fee9b4073e5e86fa2e2423f09e028171e91 | [] | no_license | ytz12345/Project-Euler-solutions | 0062b1a0d43f41f125b74678e0a0d269aba04fcf | c3637bc2b61df45f2937ffee585a6524944b0080 | refs/heads/master | 2022-02-12T22:01:39.134508 | 2022-01-24T02:36:49 | 2022-01-24T02:36:49 | 231,921,065 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 650 | cpp | #include "eulerlib.h"
const int N = 1e5 + 1;
int p[N], v[N];
vector <int> fac[N];
struct node{int id, num;}a[N];
int main() {
v[1] = 1;
for (int i = 2; i < N; i ++) {
if (v[i]) continue;
for (int j = i; j < N; j += i) {
v[j] = 1;
fac[j].push_back(i);
}
}
... | [
"yangtiezhi@bytedance.com"
] | yangtiezhi@bytedance.com |
0f1c30c0edc8eb3b27f5cfa90d7689359bc860ce | 22d33b963cf037af851970c8f53f2cf86d3a22bf | /kernel.cpp | 81f89843885e1887a5f800a377d8ea120a9221cc | [] | no_license | RabiulMazumder613/CollegeCodes | ccf9d073d7654dcc3a5eb86394249ff08be88bcf | f5a073aac97ce197b0e976d96d978e9091d2b9a2 | refs/heads/master | 2021-07-11T07:39:11.874905 | 2021-03-05T23:01:43 | 2021-03-05T23:01:43 | 234,988,487 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,777 | cpp | /*
Author: Rabiul Mazumder
Course: CSCI-135
Instructor: Genady Maryash
Assignment: Lab 8G
kernel
*/
#include <iostream>
#include <cassert>
#include <cstdlib>
#include <fstream>
#include <cstring>
using namespace std;
const int MAX_H = 512;
const int MAX_W = 512;
// Reads a PGM file.
// Notice that: height and width... | [
"noreply@github.com"
] | RabiulMazumder613.noreply@github.com |
e9df5a597ae2dca50ab3e0ada97e2596744cf08b | 0cb85cd0c88a9b9f0cca4472742c2bf9febef2d8 | /Prague/CodeGen/idlc/mapping/c/Generator.hpp | 73a01f0e771bbdb80bf0c43f0960e0ad8eb2b6e2 | [] | no_license | seth1002/antivirus-1 | 9dfbadc68e16e51f141ac8b3bb283c1d25792572 | 3752a3b20e1a8390f0889f6192ee6b851e99e8a4 | refs/heads/master | 2020-07-15T00:30:19.131934 | 2016-07-21T13:59:11 | 2016-07-21T13:59:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,523 | hpp | #include <vector>
#include <stack>
#include "mapping/Collector.hpp"
#include "CodeBlock.hpp"
#include <boost/format.hpp>
namespace idl {
struct OutputContext {
typedef enum ftype { unk, iface, plugin, src } ftype;
ftype _type;
std::string _file;
std::string _data;
//OutputContex... | [
"idrez.mochamad@gmail.com"
] | idrez.mochamad@gmail.com |
940312139f2c4d31aa0ae8fec82677103e4a1c4d | d6face59a153b062f1a86b75fc377fdb5f5a52d4 | /src/cobalt/loader/mesh/mesh_cache.h | 38fc437afae90c25e3093087063ee06bc71a03bb | [
"BSD-3-Clause",
"Apache-2.0"
] | permissive | blockspacer/cobalt-clone-28052019 | 27fd44e64104e84a4a72d67ceaa8bafcfa72b4a8 | b94e4f78f0ba877fc15310648c72c9c4df8b0ae2 | refs/heads/master | 2022-10-26T04:35:33.702874 | 2019-05-29T11:07:12 | 2019-05-29T11:54:58 | 188,976,123 | 0 | 2 | null | 2022-10-03T12:37:17 | 2019-05-28T07:22:56 | null | UTF-8 | C++ | false | false | 2,202 | h | // Copyright 2017 The Cobalt 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 ap... | [
"trofimov_d_a@magnit.ru"
] | trofimov_d_a@magnit.ru |
312c95e619b1bc7a4398bbf11293b8afa6394377 | 9c2787274ca1354fa856b981763982948294192e | /ProjectWindows/11.사용자메시지.cpp | cb2d3d9558623a7557903612a697b525c12a0d88 | [] | no_license | Bbabang-1227/ProjectWin32 | 54c5556f61ba4c031e5b64774e22fff3bd82cb32 | 9e7d45bc381aa4a9a183a8a0356b7032c9f7c418 | refs/heads/main | 2023-06-01T09:01:45.025681 | 2021-06-10T11:56:34 | 2021-06-10T11:56:34 | 372,769,359 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 5,775 | cpp | // ProjectWindows.cpp : 애플리케이션에 대한 진입점을 정의합니다.
//
//#define ON_MAIN
#ifdef ON_MAIN
// ProjectWindows.cpp : 애플리케이션에 대한 진입점을 정의합니다.
//
#include "framework.h"
#include "ProjectWindows.h"
#define MAX_LOADSTRING 100
#define MAX_LOADSTRING2 'windowkiki'
// 전역 변수:
HINSTANCE hInst; // 현재 인스턴스입... | [
"guswns2811@gmail.com"
] | guswns2811@gmail.com |
ba6409c855891f53d3c240a8c306c96269c57732 | d95da1bf63988bc8caa83e4599d26eb35413c9d7 | /acmicpc/2000/2908.cpp | 3918923421b3c1e0ae4ced5d7aab43e19192a345 | [] | no_license | Jinu-Lee/Practice | 99742543a85292f6102cb832f7b930181c3ece0d | d30277688ef311838e4ea911dc2515fea1a6cce9 | refs/heads/master | 2023-02-15T22:19:11.161584 | 2021-01-10T13:17:52 | 2021-01-10T13:17:52 | 234,498,416 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 400 | cpp | #include <iostream>
using namespace std;
int reverse_num(int);
int main()
{
int n1, n2;
scanf("%d %d", &n1, &n2);
n1 = reverse_num(n1);
n2 = reverse_num(n2);
printf("%d", n1 > n2 ? n1 : n2);
return 0;
}
int reverse_num(int n)
{
int a[3];
for (int i = 0; i < 3; i++)
{
a... | [
"jinu703ho@naver.com"
] | jinu703ho@naver.com |
685edf56f4e110112695c05f80adb3a59aa530f5 | 7d4200ffe5a19ac24cea00ee272a7ada0d95fac6 | /view/labelClicked.cpp | da078ba706c14219ef836e647012a536c6950fa0 | [
"Apache-2.0"
] | permissive | micheleantonazzi/progettoProgrammazioneAdOggetti | 6d74fce40a768ea8c838a57100d7c85361e98285 | 6a28730a217bd7fac5291745ca34374a32fb27b2 | refs/heads/master | 2020-03-13T20:03:26.613759 | 2018-04-27T08:16:50 | 2018-04-27T08:16:50 | 131,264,694 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 228 | cpp | //
// Created by michele on 08/03/17.
//
#include "labelClicked.h"
#include <string>
labelClicked::labelClicked(QWidget *parent) : QLabel(parent) {}
void labelClicked::mousePressEvent(QMouseEvent* event)
{
emit clicked();
} | [
"mantonaz@t19.torre.math.unipd.it"
] | mantonaz@t19.torre.math.unipd.it |
3780484eed5459061a7a8bb183d4f1eeb3937679 | dacc64ddc2f9044666d9f84423476fb7745ff477 | /release/moc_TimeLabel.cpp | 414fe2270273ca850536de23904f9ffe42fb5998 | [] | no_license | sarvex/Aircel | 63061889ba8d6be29c32e3ac7a0fe271c0ab754d | ae3de8e3f3022bf0484ee702dd243ed6756b65bc | refs/heads/main | 2023-07-07T08:04:48.105341 | 2023-06-23T22:20:01 | 2023-06-24T00:37:27 | 32,200,627 | 0 | 0 | null | 2023-09-05T11:20:14 | 2015-03-14T07:24:12 | C++ | UTF-8 | C++ | false | false | 3,271 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'TimeLabel.h'
**
** Created: Wed Feb 8 13:31:45 2012
** by: The Qt Meta Object Compiler version 63 (Qt 4.8.0)
**
** WARNING! All changes made in this file will be lost!
**************************... | [
"sarvex.jatasra@gmail.com"
] | sarvex.jatasra@gmail.com |
f5b1b8f5314c98bc5ea92bff2ebcc8ac9393fbfe | 0f5f4d0c33e752a35fc71a7762ad7aa904d16c27 | /dcmsign/include/dcmtk/dcmsign/sinullpr.h | 4b6ae87b0d2bb9795587a005c866a6b93ee3223e | [
"LicenseRef-scancode-warranty-disclaimer",
"IJG",
"BSD-4.3TAHOE",
"LicenseRef-scancode-other-permissive",
"xlock",
"OFFIS",
"BSD-3-Clause",
"JasPer-2.0"
] | permissive | trabs/DCMTK | 158b945f3740806d6a128d7f4d0a059997d3bacb | d6c163e4c2dcf1831c2efa20aa7752d15b61e67e | refs/heads/master | 2021-01-18T06:18:08.748952 | 2010-03-09T21:36:11 | 2010-06-14T08:19:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,439 | h | /*
*
* Copyright (C) 1998-2005, OFFIS
*
* This software and supporting documentation were developed by
*
* Kuratorium OFFIS e.V.
* Healthcare Information and Communication Systems
* Escherweg 2
* D-26121 Oldenburg, Germany
*
* THIS SOFTWARE IS MADE AVAILABLE, AS IS, AND OFFIS MAKES NO WARRA... | [
"jchris.fillionr@kitware.com"
] | jchris.fillionr@kitware.com |
3416fc384942ca1f0bcafbe76b4cdd8585e68ad5 | 4b7d53b33743ee0eca64851611a2b7a9efb1e04a | /Direct3DStudy/d3dUtil.cpp | 6237c1919eb8f9368da9af79e328fd4e9571e8de | [] | no_license | xdedzl/Direct3DStudy | eb89b5825bdab477c864ec26b152fc1657fc962a | 29a4b2f62adc0ae7c5ddc861f88d29705c3a32f4 | refs/heads/master | 2022-11-13T08:37:42.002960 | 2020-07-12T15:07:22 | 2020-07-12T15:07:22 | 272,226,708 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,323 | cpp | #include "d3dUtil.h"
HRESULT CreateShaderFromFile(
const WCHAR* csoFileNameInOut,
const WCHAR* hlslFileName,
LPCSTR entryPoint,
LPCSTR shaderModel,
ID3DBlob** ppBlobOut)
{
HRESULT hr = S_OK;
// 寻找是否有已经编译好的顶点着色器
if (csoFileNameInOut && D3DReadFileToBlob(csoFileNameInOut, ppBlobOut) == S_OK)
{
return hr;
}
... | [
"xdedzl@163.com"
] | xdedzl@163.com |
9378ce67238ad1d71400513eb21a4318c50801bc | 4d6aba3a0de0cd804305360649d9571a55b1c26c | /src/qt/transactiondescdialog.cpp | 9aba984af85261cb01e10b6d113882fab7007346 | [
"MIT"
] | permissive | PPeshev/MOK | cddf68771b73b573d377e13ce2297ee3b46a0c4c | eae922e60159aa4db696ea64ca69198669ed56d1 | refs/heads/master | 2020-03-25T12:00:27.334757 | 2018-09-24T14:52:19 | 2018-09-24T14:52:19 | 133,274,119 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,128 | cpp | // Copyright (c) 2011-2013 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2016-2018 The PIVX developers
// Copyright (c) 2018 The MOKEN developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license... | [
"lordpgp@gmail.com"
] | lordpgp@gmail.com |
fb6481ad1b611f04809ac77600b7fe442047a109 | b7f3edb5b7c62174bed808079c3b21fb9ea51d52 | /third_party/blink/common/messaging/message_port_descriptor_unittest.cc | 3ce2862a215f2579deef107d2d7e9cc5632a1e96 | [
"LGPL-2.0-or-later",
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.1-only",
"GPL-1.0-or-later",
"GPL-2.0-only",
"LGPL-2.0-only",
"BSD-2-Clause",
"LicenseRef-scancode-other-copyleft",
"MIT",
"Apache-2.0",
"BSD-3-Clause"
] | permissive | otcshare/chromium-src | 26a7372773b53b236784c51677c566dc0ad839e4 | 64bee65c921db7e78e25d08f1e98da2668b57be5 | refs/heads/webml | 2023-03-21T03:20:15.377034 | 2020-11-16T01:40:14 | 2020-11-16T01:40:14 | 209,262,645 | 18 | 21 | BSD-3-Clause | 2023-03-23T06:20:07 | 2019-09-18T08:52:07 | null | UTF-8 | C++ | false | false | 9,388 | cc | // Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "third_party/blink/public/common/messaging/message_port_descriptor.h"
#include "base/test/gtest_util.h"
#include "testing/gmock/include/gmock/gm... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
20247e00ad02b6c5f2c108406d5f8c05e6827120 | b842e1fd7ec0556146cb2c0b49a1e0eb681878c9 | /Electrical/Dwij Sukeshkumar Sheth/Arduino Tutorial/Circuit_04/Circuit_04.ino | 62c3bfceb61b69464026c7dbaa7a3043a9c65eec | [
"MIT"
] | permissive | Adwayk/ROBOCON_2019 | e934cbbafd596438344f633014debdb25959b635 | 323c82b1318bcd646738208aabd028be8a40c54c | refs/heads/master | 2020-07-29T08:10:11.770132 | 2020-03-09T17:42:15 | 2020-03-09T17:42:15 | 209,726,248 | 0 | 0 | MIT | 2019-09-20T06:59:01 | 2019-09-20T06:59:01 | null | UTF-8 | C++ | false | false | 10,371 | ino | /*
SparkFun Inventor's Kit
Example sketch 04
MULTIPLE LEDs
Make eight LEDs dance. Dance LEDs, dance!
Hardware connections:
You'll need eight LEDs, and eight 330 Ohm resistors
(orange-orange-brown).
For each LED, connect the negative side (shorter leg)
to a 330 Ohm resistor.
Connect the other ... | [
"noreply@github.com"
] | Adwayk.noreply@github.com |
42cf51ecc504dc0e2eed719dba03815cce507081 | 79607bc51646066fad565289d16cfd4ea808e458 | /HutWorkspace.cpp | 3964fff78e61e65c23dd040da4a032a809b31559 | [] | no_license | haherhohu/Hut.Matrix | 5fa4fcda184f5f40ffa34be5895f41488898508a | 44ca7e1d0096d8c22a50b2f452d91fa3bdc4ba89 | refs/heads/master | 2021-06-22T12:05:53.630410 | 2017-08-11T02:23:50 | 2017-08-11T02:23:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,561 | cpp | #include "stdafx.h"
#include "HutWorkspace.h"
#include "HutMatrix.h"
HutWorkspace::HutWorkspace()
: _workspace(NULL),
_data(NULL),
_count(0),
_num(0)
{
}
HutWorkspace::HutWorkspace( const UInt32 width, const UInt32 height, const UInt32 type, const UInt32 num )
: _workspace(NULL),
_data(NULL),
_count(0),
_num(0)... | [
"haherhohu@gmail.com"
] | haherhohu@gmail.com |
69539bbbcfe7736f52db2815551aef1038fb5f68 | f4e73ef69af80182dded3bf37ce931ccdb781aea | /external/CML-1_0_4/tests/timing/dynamic_vec_et2.cpp | 5799a0dc413ec7e5ab8b5e2c4fdcdaac1b9c4032 | [
"BSL-1.0"
] | permissive | madeso/simo3d | c286a08c3754bb3490799349d63d735fef6c76cd | c5086981cb69129c4667452b07138ffaee598a41 | refs/heads/master | 2021-01-10T21:43:56.939263 | 2020-06-07T16:44:14 | 2020-06-07T16:44:14 | 4,233,224 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 569 | cpp | /* -*- C++ -*- ------------------------------------------------------------
@@COPYRIGHT@@
*-----------------------------------------------------------------------*/
/** @file
* @brief
*/
#include <iostream>
#include <cml/cml.h>
/* For convenience: */
using std::cerr;
using std::endl;
using namespace cml;
typede... | [
"sir.gustav.the.coder@gmail.com"
] | sir.gustav.the.coder@gmail.com |
256f893d2b37ba87f49cab6e7d50841d94b83774 | 524f00719a6dd982a31f85523f766026ec8e434e | /src/SRM623/UniformBoard.cpp | 8ece586e8b6019ea633bdc91029e7bf41f6d5d56 | [] | no_license | Johniel/srm | 90abdd3fe00b22ab0c0468cf16be122b117654b0 | cd64517719baad9e4d86a1ea85d1be62d7890854 | refs/heads/master | 2021-01-01T20:01:05.833911 | 2015-12-28T16:03:33 | 2015-12-28T16:03:33 | 13,020,535 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,781 | cpp | #include <bits/stdc++.h>
#define each(i, c) for (auto& i : c)
#define unless(cond) if (!(cond))
using namespace std;
typedef long long int lli;
typedef unsigned long long ull;
typedef complex<double> point;
class UniformBoard {
public:
int getBoard(vector <string> b, int K)
{
const int N = b.size();
in... | [
"johniel.s.m@gmail.com"
] | johniel.s.m@gmail.com |
363974903ca3146a4595adb9be551d7547f477f4 | a543f7eb2e221d10325ade5df39853417df474f9 | /src/vrf/v3VrfSIM.h | 2e928fa44275ecce2d3731e051b9cf4a82263a3d | [] | no_license | DVLab/abc1234 | e59fb4846644e7bb31a993aa39c2718b5fbeb837 | 65b3dd2c70cb47475543d262061525926d8aa141 | refs/heads/master | 2020-05-18T07:37:58.273319 | 2013-06-27T23:32:34 | 2013-06-27T23:32:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,082 | h | /****************************************************************************
FileName [ v3VrfSIM.h ]
PackageName [ v3/src/vrf ]
Synopsis [ Constrained Random Simulation on V3 Ntk. ]
Author [ Cheng-Yin Wu ]
Copyright [ Copyright(c) 2012 LaDs(III), GIEE, NTU, Taiwan ]
************************... | [
"mark23456@hotmail.com"
] | mark23456@hotmail.com |
c9d49d58e43de187b32f123fa18bc221a1713682 | 0017c2513b58f1c4912443a15bfa35dbf4f697ca | /libNCUI/scheme/DllFileManager.h | d2ee3cded15c530bac9ed700352be02ee228943f | [
"BSD-2-Clause"
] | permissive | yang123vc/NCUI | d1977396421a98f9be83d614cfffe1497db8d1b0 | a3b315ebf97d9903766efdafa42c24d4212d5ad6 | refs/heads/master | 2020-04-28T09:30:22.627744 | 2018-11-20T15:23:36 | 2018-11-20T15:23:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 812 | h | // Created by amoylel on 31/05/2018.
// Copyright (c) 2018 amoylel All rights reserved.
#ifndef LIBNCUI_DLLFILEMANAGER_208B68C3_93F8_486F_A764_FC0663B6C003_H__
#define LIBNCUI_DLLFILEMANAGER_208B68C3_93F8_486F_A764_FC0663B6C003_H__
#include <memory>
#include <unordered_map>
#include <amo/loader.hpp>
#include ... | [
"amoylel@hotmail.com"
] | amoylel@hotmail.com |
56e6caf644df00be1b744f5236c7771b27ba892a | 179f4dc9237db7508e3020c178d175846e2261b5 | /pointers/cpp/pointers.cpp | d9c1bc0a088cdc5f325a49796242855be4a66964 | [] | no_license | ChaoticRoman/kurz_c | 6ec53ec59d20d519d91a85e381c743eb4c753f6e | 7139f688a0b4168b1d04a22be1005a77932455cf | refs/heads/master | 2022-05-28T09:03:55.373976 | 2020-05-06T09:12:45 | 2020-05-06T09:12:45 | 260,419,241 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 337 | cpp | #include <iostream>
int main() {
int* p;
// printf("*p = %d\n", *p);
printf(" p = %p\n\n", p);
// *p = 5;
// printf("*p = %d\n", *p);
printf(" p = %p\n\n", p);
p = new int;
printf("*p = %d\n", *p);
printf(" p = %p\n\n", p);
*p = 42;
printf("*p = %d\n", *p);
printf(" ... | [
"roman.pavelka.asi@gmail.com"
] | roman.pavelka.asi@gmail.com |
1402e4ab06c2d43197a8f141b15b813f9e0113d3 | 5a60d60fca2c2b8b44d602aca7016afb625bc628 | /aws-cpp-sdk-lakeformation/include/aws/lakeformation/model/RegisterResourceResult.h | 9096d440aca65ff0bba1a78df907c3c619cf5528 | [
"Apache-2.0",
"MIT",
"JSON"
] | permissive | yuatpocketgems/aws-sdk-cpp | afaa0bb91b75082b63236cfc0126225c12771ed0 | a0dcbc69c6000577ff0e8171de998ccdc2159c88 | refs/heads/master | 2023-01-23T10:03:50.077672 | 2023-01-04T22:42:53 | 2023-01-04T22:42:53 | 134,497,260 | 0 | 1 | null | 2018-05-23T01:47:14 | 2018-05-23T01:47:14 | null | UTF-8 | C++ | false | false | 834 | h | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/lakeformation/LakeFormation_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
}... | [
"aws-sdk-cpp-automation@github.com"
] | aws-sdk-cpp-automation@github.com |
e5f58114065a41bdaeb3b4f770ac85dbdbfc8962 | 797bf6536433264753cd8492cf796ed0146ed0ca | /C++ -Algorithme Genetique/Project/TP Algo Gen/PolygonSolution.h | 28cb0d24cf86e9d838dc522567be30aa19464cd3 | [] | no_license | whitecastle7/Public | 3649b3d7e33c3e6f77d2c4a05aacb6fd57fec98c | f30f4e081f4c5c31ea015a2e264eae49c45c50af | refs/heads/master | 2023-01-07T20:09:05.338446 | 2020-10-30T19:45:06 | 2020-10-30T19:45:06 | 306,677,955 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 713 | h | #pragma once
#ifndef POLYGON_SOLUTION_H
#define POLYGON_SOLUTION_H
#include "ShapeSolution.h"
#include "ShapePolygon.h"
class PolygonSolution : public ShapeSolution
{
public:
//PolygonSolution();
PolygonSolution(Canvas const & canvas);
~PolygonSolution() = default;
void randomize() override;
void encode() ove... | [
"vincent7roy@gmail.com"
] | vincent7roy@gmail.com |
60b8534db1cf081ab3eb7a3ba592b17cc3f23cb2 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/git/gumtree/git_new_log_202.cpp | 5ffe11a5c948296eba1f441ec23825833e7c6397 | [] | 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 | 45 | cpp | die("deleting '%s' is not allowed", argv[0]); | [
"993273596@qq.com"
] | 993273596@qq.com |
8023030cba5df423af21f04346d8058e4195d1a1 | 88e690041764698fbd8053d44c00ab425fa432a5 | /core/cleanDir.hpp | af7a2fe516f4cda6b06c20005704386e570cc665 | [
"MIT"
] | permissive | vvaucoul/CleanDirectory | 5d70eb62b4efd52a210986989e0dedcefe8bcbad | b557c8af92e01909fd1f86a4532c3181a9154128 | refs/heads/main | 2023-03-04T05:36:52.998351 | 2021-02-20T20:00:03 | 2021-02-20T20:00:03 | 340,734,125 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,496 | hpp | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* cleanDir.hpp :+: :+: :+: ... | [
"vvaucoul@student.42.fr"
] | vvaucoul@student.42.fr |
98aea6ddf9270c41ccdb5858c82a884e4741feba | f798e5955febcbb5e053604dde0056225954e956 | /BIT/BIT_StringQuery.cpp | 5d8e0e168dfb7777bf6082f4ff4a5abe5b49b8b5 | [] | no_license | atulRanaa/problem-solving-directory | bd129da93f205602fd1b596a80d98ca3c164020f | 3c261a7a57591203d0fb502859a0e388f9b09ae1 | refs/heads/master | 2022-09-02T00:22:02.199595 | 2022-08-22T07:14:56 | 2022-08-22T07:15:41 | 177,447,829 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,388 | cpp | #include <cstring>
#include <stdio.h>
#include <string>
#include <iostream>
using namespace std;
const int N = 1e6+5;
#define ll long long
#define MOD 1000000007
#define pii pair<int,int>
#define pis pair<int,string>
#define F first
#define S second
#define LCM(a,b) ((a*b)/__gcd(a,b))
#def... | [
"ranaatul61@gmail.com"
] | ranaatul61@gmail.com |
cb93f2351750c60b09463ce77938de21f346d227 | 7d1e66d903336e5afa1fc437c804b53e9f534796 | /Chap02/Prg2-11.cpp | e14dd09a090421a412d43dd32ccb4b6a8ac631c8 | [] | no_license | alsrud2298/inha_win | c5ec4f8607c17153dcf5a561441974ef62354a45 | 845f244dcb6d10a9ed1f8328a762484c88de9f61 | refs/heads/main | 2023-02-09T22:33:45.836622 | 2021-01-02T18:21:30 | 2021-01-02T18:21:30 | 325,158,847 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 627 | cpp | /*************************************************************
* 불 변수와 값을 사용하는 프로그램 *
*************************************************************/
#include <iostream>
using namespace std;
int main()
{
// 변수 선언
bool x = 123;
bool y = -8;
bool z = 0;
bool t = -0;
bool u = true;
... | [
"root@DESKTOP-TGIRSGL.localdomain"
] | root@DESKTOP-TGIRSGL.localdomain |
7ffe100a8a40352057497b8fb4c8b36d2a2e8471 | 4eabb12af4c20ca251dc076cd79ea1d4e321acc6 | /project01/Playlist.h | ae9d5a3a9191e962802c038a1006e68d206b565d | [] | no_license | Elilewis327/cs112 | fd609b3ea6a035e25faf2c2faf629725624242fd | 80839a1eb933de30b8b3a1d3e16896a28ed1fa5d | refs/heads/main | 2023-08-11T19:10:41.744047 | 2021-10-03T21:26:11 | 2021-10-03T21:26:11 | 410,397,115 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 796 | h | /*
* Author: Eli Lewis: etl3
* Date: 9/5/21
* Begun by: Joel Adams, for CS 112 at Calvin University.
*/
#ifndef PLAYLIST_H_
#define PLAYLIST_H_
#include <iostream>
#include <vector>
#include "Song.h"
class Playlist {
public:
Playlist();
Playlist(const std::string& file_name);
unsigned getNumSongs() const;
std... | [
"etl3@cs-ssh.cs.calvin.edu"
] | etl3@cs-ssh.cs.calvin.edu |
b2e2d105ed96e6eac1be0236b5f76809c65d654e | d5809dc8c03853281c8d40107b299ec39abef0ba | /ItSchoolBankapp/Bank.h | 8befe5b275d51678d923d8a337cbe96789de4b90 | [] | no_license | RunceanuAlin/ItSchoolBankapp | 0d09f992c100a2624160ab483995d8db3964857d | b8bd471252d3bb7046c8747f1d06a961ba34b34f | refs/heads/master | 2023-07-14T15:28:32.036167 | 2021-08-24T07:20:48 | 2021-08-24T07:20:48 | 398,004,166 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 342 | h | #pragma once
#include"ContBancar.h"
#include <vector>
#include<iostream>
#include <fstream>
#include "DataStorage.h"
class Bank
{
public:
Bank();
~Bank();
TIP_CONT selectareMoneda();
void adaugareCont();
void vizualizareConturi();
void modificareConturi();
std::string createIban();
std::vector<ContBancar*> m... | [
"alinrunceanu@yahoo.com"
] | alinrunceanu@yahoo.com |
6e33d15fe37a4edc256b05cda589569bb87fce10 | 3959f58fceadfdcde967863e8f5b995971bde489 | /Striver_Series/SDE Problems/Hashing/CountSubarraywithGivenXor.cpp | d6193d9d906e70fcc32538b32b346f96e57ec6fa | [] | no_license | ParagSaini/Competitive-Practice | 4591ad85455c37f54b6251ff00f1a7766bd68ea5 | 02b0f22269c4ce0646ddfb2c3c04edded9d08e17 | refs/heads/master | 2023-06-23T18:22:25.811560 | 2021-07-23T18:36:49 | 2021-07-23T18:36:49 | 367,043,724 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 954 | cpp | #include<bits/stdc++.h>
using namespace std;
// t.c O(n) && s.c O(n)
int CountSubarray(vector<int>& arr, int m) {
unordered_map<int, int> xorr_freq;
int count = 0;
int xorr = 0;
for(auto it : arr) {
xorr = xorr ^ it;
if(xorr == m) count++;
if(xorr_freq.count(xorr ^ m)) count +=... | [
"bkparag12@gmail.com"
] | bkparag12@gmail.com |
f15781535b514a297fcfbea96d5495287fb2ffbe | f232d199be019e11060e6e4ec061a4770633803b | /include/Fire.hh | e2dc71bec958537724faddfb626075e576133c04 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | kortescode/Bomberman-Game | 21f51e1f916871e6cda9d7f286df77a121e48a36 | 3ec59eefc25955a3057180e6771c50bbd9b4460e | refs/heads/master | 2020-08-07T16:51:46.422275 | 2019-11-04T15:24:57 | 2019-11-04T15:24:57 | 213,530,056 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 612 | hh | #ifndef FIRE_HH_
# define FIRE_HH_
#include "AObject.hh"
class ConfigEngine;
namespace Fire
{
class Horiz : public AObject
{
public:
Horiz();
Horiz(ConfigEngine *A);
void initialize(void);
void update(void);
void draw(void);
void SetX(int x);
void SetZ(int z);
private:
gdl... | [
"henri.hardillier@epitech.eu"
] | henri.hardillier@epitech.eu |
5116d59fd913d45da41a6b0926702dbdf77d54f3 | 30a2f77f5427a3fe89e8d7980a4b67fe7526de2c | /src/QCDMET.cc | 0e0dbebbe99b48bd309ff4dd1bc470c3b11010ae | [] | no_license | DryRun/QCDAnalysis | 7fb145ce05e1a7862ee2185220112a00cb8feb72 | adf97713956d7a017189901e858e5c2b4b8339b6 | refs/heads/master | 2020-04-06T04:23:44.112686 | 2018-01-08T19:47:01 | 2018-01-08T19:47:01 | 55,909,998 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 51 | cc | #include "CMSDIJET/QCDAnalysis/interface/QCDMET.h"
| [
"david.renhwa.yu@gmail.com"
] | david.renhwa.yu@gmail.com |
5012b290a565614cb829f924863fab1f561c87e5 | db29e6e75d6191321de34b6433a2929526d5105e | /educational/39D.cpp | fc9b00b4a5db8e77bef99e47fb8f902ea54a209e | [] | no_license | petite-etoile/Codeforces | a130fb3116f83586a9d9f16e576a00dee0bc437b | 0df45be733a992e112297ebb37502b45632c50ec | refs/heads/master | 2020-09-17T05:37:56.486222 | 2020-04-19T07:15:00 | 2020-04-19T07:15:00 | 224,008,197 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,280 | cpp | /*
∫ ∫ ∫
ノヽ
(_ )
(_ )
(______ )
ヽ(´・ω・)ノ
| /
UU
*/
#pragma region macro
#include <bits/stdc++.h>
typedef long long int64;
using namespace std;
using P = pair<int64, int64>;
typedef vector<int> vi;
const int MOD = (int)1e9 + 7;
const int64 INF = 1LL << 62;
const int inf = 1<<30;
template<class T>bo... | [
"tkkydrm3tn@yahoo.co.jp"
] | tkkydrm3tn@yahoo.co.jp |
04f82c18337249d308f3006ea36041b9dccbcfa1 | 123cf35ddf76c3c25d953a2c512f63a55bb04757 | /src/arch/qemu_virt/main_demo_VirtualFileSystem.cpp | fd0b878308de4162db4b116b7c2857eacd2a4386 | [
"MIT"
] | permissive | JiaoMX-keeping/rsp3-armv8-baremetal | c0457dd6fc06dc668b0fe8f5e722be0f55639e39 | f7e2ac04abd3be20daa94ad9c7ad2c1bad5159b0 | refs/heads/master | 2022-01-19T20:25:25.367222 | 2018-05-20T03:22:19 | 2018-05-20T03:22:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,190 | cpp |
#include <def.h>
#include <io/IntegerFormatter.h>
#include <interrupt/InterruptManager.h>
#include <interrupt/GenericTimer.h>
#include <interrupt/InterruptHandler.h>
#include <io/Output.h>
#include <memory/MemoryManager.h>
#include <memory/VirtualManager.h>
#include <new>
#include <io/uart/PL011.h>
#include <cstring>
... | [
"xhd2015@gmail.com"
] | xhd2015@gmail.com |
cfdfb197ebf58e35b54d9ebe7b52676b99f507b8 | 18a3f93e4b94f4f24ff17280c2820497e019b3db | /root/TMVA/VariableRearrangeTransform.h | 12b65d8bf76787381e6e72c8ddaa28c037485621 | [] | no_license | jjzhang166/BOSS_ExternalLibs | 0e381d8420cea17e549d5cae5b04a216fc8a01d7 | 9b3b30f7874ed00a582aa9526c23ca89678bf796 | refs/heads/master | 2023-03-15T22:24:21.249109 | 2020-11-22T15:11:45 | 2020-11-22T15:11:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,801 | h | // @(#)root/tmva $Id$
// Author: Andreas Hoecker, Joerg Stelzer, Helge Voss
/**********************************************************************************
* Project: TMVA - a Root-integrated toolkit for multivariate data analysis *
* Package: TMVA ... | [
"r.e.deboer@students.uu.nl"
] | r.e.deboer@students.uu.nl |
3a7bd8c0dc47910bf25fd425a7012e491617e3fa | ac1aea6ecb5f5937f4dea7df9846f2f75b59905c | /SetCommand.cpp | 02fe50ec77c0e09a4050ef93e6693fca767af170 | [] | no_license | danieljerbi/project | de11a19885392e3afad09e1cfbc4a31bc388e884 | c6f7b099324ead1eaae13acae6ef2b53c998ef43 | refs/heads/master | 2020-04-13T12:48:06.591357 | 2018-12-26T19:45:04 | 2018-12-26T19:45:04 | 163,212,331 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,149 | cpp | //
// Created by daniel on 20/12/18.
//
#include "SetCommand.h"
#include "GlobalNewSockfd.h"
#include "iostream"
#include "DataReaderServer.h"
#include "GlobalNewSockfd.h"
#include <string.h>
#include <unistd.h>
#include "GlobalMutex.h"
SetCommand::SetCommand() {
}
void SetCommand::doCommand(vector<string> strings... | [
"danieljerbi283@gmail.com"
] | danieljerbi283@gmail.com |
c4118e2a1fd88478e2b29f90ce85632245b243b9 | 39a1f1bfba18797a7f61f25c50fd4f1c77f64711 | /VirtualSMC/kern_vsmc.cpp | 8b490d9d5616677c85d43b00478322a11e3d102c | [
"BSD-3-Clause"
] | permissive | andreszerocross/VirtualSMC | 0a58ee27794bf34e06c6850e0ecf857eccb156e9 | fe47275fbc483e89e4ff3958fc8d3b4184a64747 | refs/heads/master | 2020-04-01T16:52:39.185751 | 2018-12-06T05:54:14 | 2018-12-06T05:54:14 | 153,402,305 | 1 | 0 | BSD-3-Clause | 2018-12-06T05:54:14 | 2018-10-17T05:51:09 | C++ | UTF-8 | C++ | false | false | 22,132 | cpp | //
// kern_vsmc.cpp
// VirtualSMC
//
// Copyright © 2017 vit9696. All rights reserved.
//
#include <Library/LegacyIOService.h>
#include <Headers/kern_efi.hpp>
#include <Headers/kern_iokit.hpp>
#include <Headers/kern_crypto.hpp>
#include <Headers/plugin_start.hpp>
#include <IOKit/pwr_mgt/IOPM.h>
#include <IOKit/IODe... | [
"vit9696@users.noreply.github.com"
] | vit9696@users.noreply.github.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.