blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
247
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
4
111
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
58
visit_date
timestamp[ns]date
2015-07-25 18:16:41
2023-09-06 10:45:08
revision_date
timestamp[ns]date
1970-01-14 14:03:36
2023-09-06 06:22:19
committer_date
timestamp[ns]date
1970-01-14 14:03:36
2023-09-06 06:22:19
github_id
int64
3.89k
689M
⌀
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
25 values
gha_event_created_at
timestamp[ns]date
2012-06-07 00:51:45
2023-09-14 21:58:52
⌀
gha_created_at
timestamp[ns]date
2008-03-27 23:40:48
2023-08-24 19:49:39
⌀
gha_language
stringclasses
159 values
src_encoding
stringclasses
34 values
language
stringclasses
1 value
is_vendor
bool
1 class
is_generated
bool
2 classes
length_bytes
int64
7
10.5M
extension
stringclasses
111 values
filename
stringlengths
1
195
text
stringlengths
7
10.5M
678ab2173d67b344a179f97db831e69ad51b09bd
1e4170a74c90959e157eda69d4ebb778dc17af96
/DataStructureProject/Testers/SortingTester.hpp
cf74bb281bee18fa59dc76f9cf9b28b41e35c478
[]
no_license
shujaetdin/DataStructureProject
0a6fc7b20c1d9b43e66e225cfdb1980dbc7383f2
787fe368e37501a6ebe43176ba378647809ed74c
refs/heads/master
2021-05-08T23:25:46.695605
2018-05-21T13:34:57
2018-05-21T13:34:57
119,705,498
0
0
null
null
null
null
UTF-8
C++
false
false
614
hpp
SortingTester.hpp
// // SortingTester.hpp // DataStructureProject // // Created by Din, Shujaet on 3/15/18. // Copyright © 2018 Din, Shujaet. All rights reserved. // #ifndef SortingTester_hpp #define SortingTester_hpp #include <iostream> #include "../Controller/FileController.hpp" #include"../Controller/Tools/Timer.hpp" class Sor...
282f203d7499ebdbb957b2719cf0e28af03285ec
c5e19eb41f6e4aafb6fc7e7ae062ea5e774a27e1
/Classes/myBT/Conditions/AlwaysFalse.h
096e14bfb292301ae0a4684ffd975993655879e9
[]
no_license
makiolo/plague-defense
95e2ba91bff511f51ae1c7e5cdb0121765520c59
3ffab0199a4781ef664e89c0d964ba839e776f0c
refs/heads/master
2021-07-02T04:50:21.279609
2020-11-01T00:35:16
2020-11-01T00:35:16
191,056,664
0
0
null
null
null
null
UTF-8
C++
false
false
418
h
AlwaysFalse.h
#pragma once #include "../Condition.h" namespace myBT { class AlwaysFalse : public Condition { public: explicit AlwaysFalse(const std::string& what) : Condition(what) {} ~AlwaysFalse() override { ; } Type get_type() const override { return TYPE_FALSE; } std::string get_typename() const override {return "Fals...
f129c4e970ed7740d2c6f9720483c637d3898f6c
4bea57e631734f8cb1c230f521fd523a63c1ff23
/projects/openfoam/rarefied-flows/impingment/sims/templates/wedge15Ma5/1.08/rho
b2b828fcadfa07bc3e4de02bf0213984f1d3ae63
[]
no_license
andytorrestb/cfal
76217f77dd43474f6b0a7eb430887e8775b78d7f
730fb66a3070ccb3e0c52c03417e3b09140f3605
refs/heads/master
2023-07-04T01:22:01.990628
2021-08-01T15:36:17
2021-08-01T15:36:17
294,183,829
1
0
null
null
null
null
UTF-8
C++
false
false
44,672
rho
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: v1912 | ...
0b86a8d8968b96df6a23ecb21672b4a39f00b61c
01bbb800b4966bbeb8b5878af547527aea009e88
/SmartViewConnector/Bup/RegOperator.cpp
2b0d76bd092d6baeb587e36b66ab73e28e371657
[]
no_license
yuxrone/SmartViewConnector
8e122fe32960908e89a2fdeab68c73c6f89442dd
d0218ad6946cac8aa5407b6ad8f37796c1f53a02
refs/heads/master
2020-09-11T11:05:17.340599
2017-11-02T20:45:10
2017-11-02T20:45:10
94,454,407
0
0
null
null
null
null
UTF-8
C++
false
false
4,681
cpp
RegOperator.cpp
/** * Author: Rajib Chandra Das * Topic: Windows Registry Key Processor(Create, Insert, Read, Update and Delete) * Date: 8_July_2015 */ //Create C++ Win32 Project in Visual Studio //Project -> "project" Properties->Configuration Properties->C/C++->Advanced->Show Includes : YES(/ showIncludes) //Project -> "project" P...
dde28fa238b6130d6832e9141c0fc779c92b42e9
0412ff2682f1f4d595600948d05dc0d00786b173
/mfcc/termPro_demo.cpp
85ea5de2c43fe96d42400cf112cfd7e1fa87cf2b
[ "MIT" ]
permissive
ShushanChen/cuda-mfcc-gmm
4e8265fc854ae02d41b8f23ee7339652212f9465
fbcb545dcbe59850eedc7b7b066387abd4864cea
refs/heads/master
2020-06-04T14:46:03.775454
2015-04-23T12:26:14
2015-04-23T12:26:14
34,454,999
3
0
null
2015-04-23T12:30:48
2015-04-23T12:30:48
null
UTF-8
C++
false
false
3,850
cpp
termPro_demo.cpp
#include "resource.h" #include "srs.h" #include <cstdio> #include <iostream> #include <fstream> #include "FeatureExtractor.h" #include <unistd.h> #include <cstring> using namespace std; int threadNum = DEFAULT_THREAD_NUM; bool isCapture; char wavFileName[1024] = "\0"; void reportMatlab(FeatureExtractor &extractor); ...
663242151b6c4b33f32c0978f4dc458492b4749e
78c97e020247c43a3af53bfb2ce7d8f1fb0e615c
/Trees/Problem-4.cpp
3572ff71fcc475e2b103f8b203d65ee9b3f5f619
[]
no_license
G1Joshi/DataStructuresAndAlgorithmsMadeEasy
b9f3dfa6ac36492ef22fe176acbe3e6301e0f301
230697a9a2b60195440f768c97e026eab6d5f732
refs/heads/main
2023-07-30T00:24:17.090458
2021-07-04T15:10:52
2021-07-04T15:10:52
317,386,480
3
0
null
null
null
null
UTF-8
C++
false
false
860
cpp
Problem-4.cpp
#include <bits/stdc++.h> using namespace std; struct Node { int data; struct Node *left; struct Node *right; Node(int data = 0) { this->data = data; left = right = NULL; } }; int search(Node *root, int key) { queue<Node *> q; q.push(root); while (!q.empty()) { ...
e908d2e62ce02f9fb3928abd863ea8b9e157f6ff
4c5d17bf6c0d4901f972e88aac459088a270b301
/gd/storage/adapter_config_test.cc
e3c3791c67b762fad683c4831d3930aa0e51d718
[ "Apache-2.0" ]
permissive
LineageOS/android_system_bt
87e40748871e6aa6911cd691f98d957251d01919
7d057c89ab62916a31934f6e9a6f527fe7fc87fb
refs/heads/lineage-19.1
2023-08-31T13:31:22.112619
2023-03-28T18:40:51
2023-07-07T13:02:57
75,635,542
22
245
NOASSERTION
2022-10-02T20:22:16
2016-12-05T14:59:35
C++
UTF-8
C++
false
false
2,398
cc
adapter_config_test.cc
/* * Copyright 2020 The Android 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
2a73e1647036d5b8601d6a9d7b23ac5affd80a50
7877b1ac8c96819b8b6dba695b6c97aec07eb376
/src/MultiOrb_SpinFermion/Observables_MultiOrbSF.cpp
cd0a6e5f8706fc802686ea6f039b986e2ca6907b
[]
no_license
nkphys/Spin_dynamics_time_evolution
9bef7f008d7d99263b14591b3f71c2ac55534c4a
5d035de227704744e926bee33c4cb92a8cdbe8c4
refs/heads/master
2022-06-02T22:42:47.199139
2022-05-23T07:42:36
2022-05-23T07:42:36
144,104,413
0
0
null
null
null
null
UTF-8
C++
false
false
9,814
cpp
Observables_MultiOrbSF.cpp
#include "Observables_MultiOrbSF.h" /* * *********** * Functions in Class Observables ------ * *********** */ void Observables_MultiOrbSF::Get_red_den_mat(Mat_4_Complex_doub &Red_Den_mat, double mu){ double Beta=Parameters_.beta; //Red_Den_mat; //c^dagger[j][orb+n_orb*spin]c[l][orb+n_orb*spin2] int...
e773d7d5ffce09c4b178c16098e2824c36e50511
3a65eb739caf862c6cb72b420f5849b87e607f52
/examples/facebookexternalinterceptordemo/webwindow.h
f87a503e48f278d5f71c48a47801cf5f07344a62
[ "BSD-2-Clause" ]
permissive
pipacs/o2
bc8cc25fa106a2df9dbc0c97f0d9a693c8afd532
99902cc37e083a8311c1f8eee918e93c93cbc937
refs/heads/master
2023-08-23T15:31:36.119457
2022-01-01T19:23:12
2022-01-01T19:23:12
4,351,646
275
160
BSD-2-Clause
2023-02-27T12:16:36
2012-05-16T20:42:59
C++
UTF-8
C++
false
false
953
h
webwindow.h
#pragma once #include <QDialog> #include <QWebEngineView> namespace Ui { class WebWindow; } class WebWindow : public QDialog { Q_OBJECT public: explicit WebWindow(QSize inWindowSize, QUrl inLoginURL, QString inRedirectURLString, bool inAutoclose); ~WebWindow(); QString resultStr; QWebEngi...
1cd96d0570d7bd6ed0f603333307583d160bc5b2
b22588340d7925b614a735bbbde1b351ad657ffc
/athena/Trigger/TrigAlgorithms/TrigT2CaloCosmic/src/T2CaloCosmic.cxx
284af0189fd4e938de7e1a59838a5372c09c27b1
[]
no_license
rushioda/PIXELVALID_athena
90befe12042c1249cbb3655dde1428bb9b9a42ce
22df23187ef85e9c3120122c8375ea0e7d8ea440
refs/heads/master
2020-12-14T22:01:15.365949
2020-01-19T03:59:35
2020-01-19T03:59:35
234,836,993
1
0
null
null
null
null
UTF-8
C++
false
false
8,925
cxx
T2CaloCosmic.cxx
/* Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration */ // ******************************************************************** // // NAME: T2CaloCosmic.cxx // PACKAGE: Trigger/TrigAlgorithms/TrigT2CaloCosmic // // AUTHOR: D.O. Damazio // // - Add variables for job option controlled regi...
2ba191c4c99ae2743e87fa15f056dc353a92eb7a
cc95a4db4695ddf4e132231bd782d9b31e3655f6
/class/app/generador/parser_salas.cpp
b32e0adb81db5aa0fae7d0cb4aaa02b82d72b83d
[]
no_license
TheMarlboroMan/navigator
98c2bf1516cd40bc1bf11d123873dda2b19ed80c
c0a0a42b50d9f0a0274c1d41d2b2a1caafd314c0
refs/heads/master
2020-05-17T09:16:42.236088
2015-12-10T20:54:20
2015-12-10T20:54:20
39,912,720
0
1
null
null
null
null
UTF-8
C++
false
false
6,988
cpp
parser_salas.cpp
#include "parser_salas.h" #include "../lectores/info_obstaculos_genericos.h" using namespace App_Generador; const std::string Parser_salas::TIPO_ESTRUCTURA="[ESTRUCTURA]"; const std::string Parser_salas::TIPO_FIN_ESTRUCTURA="[/ESTRUCTURA]"; const std::string Parser_salas::TIPO_INFO="[INFO]"; const std::string Parser_...
4b21bd55c386ddb2e3d6122e63733d3ebdc734f4
8a2294f61781b158990697a0fcca010ecdf9f684
/src/nes/mapper/mapper065.cpp
c547c83cb3c8b70a15499039128044261731bab9
[]
no_license
ruedigergad/emumaster
dce5bbfc096da9ad2d4d1127c3db41fa4ef92bae
9ab6e8d2bc3966fcb80f6a085346fb0e509bd9e0
refs/heads/master
2021-01-10T20:44:34.525335
2017-12-29T20:04:13
2017-12-29T20:04:13
15,937,202
6
3
null
null
null
null
UTF-8
C++
false
false
2,962
cpp
mapper065.cpp
/* * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 2 of * the License, or (at your option) any later version. * * This program is distributed in the hope that it will ...
502f7e0c2517a897c4a53f5b2a26b533e74726ac
6b0268259c9de463254ca603e84b889d764fc0a1
/include/wave/writer.hpp
8f0c323e5687d218dab238711178cbc82a765fbf
[]
no_license
hcab14/HFMonitor
2950744d078d5125cbd0a5ac04d45c96a92e2943
5d328d6ec704994caa253bdbe4a286bb695ed81b
refs/heads/master
2020-12-09T06:13:16.757132
2017-10-22T10:59:39
2017-10-22T10:59:39
55,221,843
1
0
null
null
null
null
UTF-8
C++
false
false
6,253
hpp
writer.hpp
// -*- mode: C++; c-basic-offset: 2; indent-tabs-mode: nil -*- // $Id$ // // Copyright 2010-2014 Christoph Mayer // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the Li...
0c16b433d3570cf026cd501fb501b04df8969f22
45f8efba65edb09f7e8de34dfa397afaa1068def
/Lab9/Server.cpp
94abac1b15797170635194086f5081cd0c5aaf5c
[]
no_license
nadavbrkt/ChatProject
382154e6fb191950f73be78c124c3584922d3621
458322688ebf9b9dbec45df6511f91cdfb080da4
refs/heads/master
2021-08-22T07:38:44.712576
2017-11-29T16:57:30
2017-11-29T16:57:30
112,502,740
0
0
null
null
null
null
UTF-8
C++
false
false
1,178
cpp
Server.cpp
/* * Server.cpp * * Created on: May 14, 2016 * Author: user */ #include "Server.h" #include "TCPMessengerProtocol.h" #include <unistd.h> #include "Dispatcher.h" using namespace std; using namespace npl; Server::Server() : _server(MSNGR_PORT) { // TODO Auto-generated constructor stub } Server::~Server() {...
d2bbe16065bcc3a2d7f687cc3d9df710cc0cb677
c5a19f699823b952afb37095e164e4fee3a7b1f1
/colorMap.h
bbd4ab2223f19eee901da7ce902593216165f6e0
[]
no_license
alen0216056/Image_search_by_sketch
9885fd8162fdbb15bdea45a2e5cafb55b4b96835
6f9e6695d36ae50c7741a735b7e248383f01891a
refs/heads/master
2021-01-10T14:24:35.105181
2016-05-02T05:53:49
2016-05-02T05:53:49
54,110,090
0
2
null
2016-03-17T11:54:33
2016-03-17T10:41:19
C++
UTF-8
C++
false
false
1,277
h
colorMap.h
#ifndef __COLORMAP_H__ #define __COLORMAP_H__ #include "grid.h" #include <cv.h> #include <highgui.h> #include <opencv2\highgui\highgui.hpp> #include <highgui/highgui.hpp> #include <vector> #include <string> #include <iostream> using namespace std; struct colorWithMap { int color; grid<double> ...
0c2a34221b87311467b566ad0a13264f7819d499
96e8048d809d1459f019e6a5aa2829d0c55c957c
/project/include/StdLib/Quote.h
10b563fb86154a3c7aca24696cb9b94daad58da5
[]
no_license
Hnatekmar/TPJ
caec78d5ff92c9f46a54f6897b7c90fa6e1060ac
ef322615d5c07e3dda97ecd8b335fd22992e8a26
refs/heads/master
2021-06-06T09:36:31.422467
2021-04-05T05:41:19
2021-04-05T05:41:19
72,508,926
1
0
null
null
null
null
UTF-8
C++
false
false
208
h
Quote.h
#ifndef QUOTE #define QUOTE #include "../IFunction.h" #include "Macro.h" class Quote : public IFunction { public: Token execute(std::vector<std::shared_ptr<AST> > &args, Context &) override; }; #endif
2cf7d3416ad1f93badd241cd8c1a0214aad76a3d
cd7e4c7c8eee3bebc9b95516d99a9d8c94cb8ab3
/009_Pangolin_study/test/test1.cpp
92d843c83c095da5a6659e60247ca693c013d011
[ "WTFPL" ]
permissive
DreamWaterFound/Codes
323cc8e76282f0cc82b35ef5a0cce456cb73488d
e7d80eb8bfd7d6f104abd18724cb4bface419233
refs/heads/master
2021-07-25T12:53:12.262593
2020-04-30T03:28:45
2020-04-30T03:28:45
162,776,145
16
2
null
null
null
null
UTF-8
C++
false
false
2,663
cpp
test1.cpp
//测试功能:在窗口中绘制一个坐标轴和点, //然后可以通过panel中的变量来控制坐标轴的大小和点的大小,以及点的颜色 #include <pangolin/pangolin.h> int main( int /*argc*/, char** /*argv*/ ) { //========================= 窗口 ======================== pangolin::CreateWindowAndBind( "Axis and points test", //窗口标题 640, //窗口尺寸 480); ...
b30a07099a2b0798bd708604f9794507db1137c6
52b4f281edc750128bf2d200d5dd3795532e1e4b
/ParticleNGL/include/random.h
82f4235af3b9f261592980559a49ca9b340cf6fe
[]
no_license
yazici/SIMD
71ea7947fb471d81b56d2c15c8a0148c51d52ad8
5608c1f6c91474c505c4db407cc2adb4a30f81de
refs/heads/master
2020-04-29T15:33:03.861452
2019-03-14T15:45:33
2019-03-14T15:45:33
null
0
0
null
null
null
null
UTF-8
C++
false
false
771
h
random.h
#ifndef RANDOM_H_ #define RANDOM_H_ #include <cstdint> #include <cstdlib> #include <cmath> #include <unistd.h> #include "simd.h" namespace frng // fast rng code { extern uint32_t rand1i(); extern i128 rand4i(); extern void seedJkiss4i(int32_t x=123456789, int32_t y=234567891,int32_t z=345678912, ...
15a27c1789296bddee17e348bb8f06692346bc0a
b98d3580875e29cc668e9eef84582861e954a727
/Tracking/utility.h
f5a6846b8523dbffbd667119c0fe470e82ea964c
[ "MIT" ]
permissive
qimmer/mta13341
a3e7f6c5f65db405f545517788e7a0efd8497cc4
b1ea93b5ae95fcf2b2e9fd04e0579cf4cdbadbc7
refs/heads/master
2021-01-20T10:37:14.751052
2014-01-28T08:01:36
2014-01-28T08:01:36
null
0
0
null
null
null
null
UTF-8
C++
false
false
979
h
utility.h
#ifndef UTILITY_H #define UTILITY_H #include "tracking_global.h" #include <QImage> #include <QList> struct Blob; class TRACKINGSHARED_EXPORT Utility { public: /** * @brief depthToImage Creates a RGBA32 image from floating point depth data. * Only use this for debugging purposes, as ...
ddc629b4fd68b49e07afcdd153dd09bf6a5d4360
fed8c15ca511de80625fcd20e172a043fa2897ed
/include/roboteam_utils/Triangle.h
6eeac138008a622e8772f62a4d88c61df5b583d1
[]
no_license
RoboTeamTwente/roboteam_utils
941df3a07ce0c2951ce3151eafe9ab77e0d7eded
10c951b6102c15928b08d1a8441f54fb7f261933
refs/heads/development
2022-11-10T23:39:46.689896
2022-07-09T17:36:10
2022-07-09T17:36:10
69,015,550
0
2
null
2022-07-09T17:36:11
2016-09-23T10:38:34
C++
UTF-8
C++
false
false
2,603
h
Triangle.h
// // Created by rolf on 24-01-20. // #ifndef RTT_TRIANGLE_H #define RTT_TRIANGLE_H #include "Vector2.h" namespace rtt { class LineSegment; class Line; /** * @author rolf * @date 28 January 2020 * @brief A class that describes a triangle and some useful functions on it. */ class Triangle { public: /** ...
20c23277043871b27ac1abade61c1fbea8a5e387
6e665dcd74541d40647ebb64e30aa60bc71e610c
/600/VoipLib/sipstack/BaseUser.cxx
fdd042e8c50458c030962b4c469d4740c0a5f808
[]
no_license
jacklee032016/pbx
b27871251a6d49285eaade2d0a9ec02032c3ec62
554149c134e50db8ea27de6a092934a51e156eb6
refs/heads/master
2020-03-24T21:52:18.653518
2018-08-04T20:01:15
2018-08-04T20:01:15
143,054,776
0
0
null
null
null
null
UTF-8
C++
false
false
427
cxx
BaseUser.cxx
/* * $Id: BaseUser.cxx,v 1.3 2007/03/03 18:38:55 lizhijie Exp $ */ #include "global.h" #include "BaseUser.hxx" using namespace Vocal; BaseUser::BaseUser() { } BaseUser::~BaseUser() { } bool Vocal::operator<(const Sptr<BaseUser>& left, const Sptr<BaseUser>& right) { if (left == 0 && rig...
6c2d9791761c3d60493cf7ccae5aab1568fd4355
55119c9e9307f5079eb006b5c84e8c92f481366e
/Eggplant.h
70dcef1b8ef1f262a12a73dae3536d2b4437bfe1
[]
no_license
elisionJL/sp1
91e226e0a6dbc1dc89b0f43267a6b5b8f31b92af
f2ea7bf58c5ee1eb5258c8ad7e27eba75c7be6ba
refs/heads/main
2023-07-18T15:32:38.751888
2021-08-26T19:07:02
2021-08-26T19:07:02
396,563,885
0
0
null
null
null
null
UTF-8
C++
false
false
171
h
Eggplant.h
#pragma once #include "Entity.h" class Eggplant : public Entity { public: Eggplant(int x); string getMoveName(int MoveNo); int skill(int x); ~Eggplant(); };
6de9d093036b16e1e55a494e43d38fd95c5b2b1d
244645ab3d369814d4517227a61bfe5f86a76701
/src/NJR/Implementation/LinearProgramming.cpp
fc1dee134b6f96c707bb5f7dc8686887e4005362
[]
no_license
tectronics/vedo
15ed46edf050bba4a51dbd0cb2c913fc1aeb3946
0c3dd2c0d3917bf9d7455ed65f98a387a4e909ff
refs/heads/master
2018-01-11T15:03:26.121307
2013-04-10T04:59:53
2013-04-10T04:59:53
49,370,464
0
0
null
null
null
null
UTF-8
C++
false
false
13,053
cpp
LinearProgramming.cpp
#include <NJR/Interfaces/LinearProgramming.h> #include <NJR/Interfaces/RandomGenerator.h> #include <algorithm> #include <cstdio> #include <cstring> #include <functional> namespace njr { Vector3d BMvector(1e6, 1e6, 1e6); void LinearProgramming::Clear() { cols = 0; rows = 0; num_m = 0; num_s ...
ebdf9be9c5c600b7854cd220a904ee81d3e594ed
2db8f4cf0b447c5d416de489a3e7dedbe754a19c
/Largest Number.cpp
2d77c68ab3a8afc7e6008a0708090e7cacba2028
[]
no_license
Arka0101/hacktoberfest2021
1172b0c51b505a46be664a29c6b33cdbc6f0cb8f
5b2e4363f5d4ede295d590ecd4a02d4ad372c44a
refs/heads/master
2023-09-01T01:05:31.920534
2021-10-22T19:59:58
2021-10-22T19:59:58
null
0
0
null
null
null
null
UTF-8
C++
false
false
663
cpp
Largest Number.cpp
class Solution { public: bool static comp(string a,string b) { string ab=a.append(b); string ba=b.append(a); return ab>ba; } string largestNumber(vector<int>& nums) { int i,n=nums.size(); vector<string>str; string ans=""; for(i=...
352d7afbe4e15626392523a7b08f881a04815509
4da077fa6d07a889dee67a7d76cba21bfa8a8107
/HW#4/analysis/Bucket.h
1eff2903f265dc73d6aee0a858e496ca1dcec81a
[]
no_license
ChaseGregoryCS/DataStructures-College
b6db6ef320e4d8743aec2252c675a548ffb27128
656a77e0cc01a032ffa261ca2a02941247256a27
refs/heads/master
2020-03-09T22:08:56.724100
2018-04-11T04:03:14
2018-04-11T04:03:14
129,027,520
0
0
null
null
null
null
UTF-8
C++
false
false
2,150
h
Bucket.h
#ifndef _BKT_ #define _BKT_ #include <iostream> using namespace std; class Bucket{ public: struct node; typedef node* Link; struct node{ int data; Link next; Link prev; }; //Constructors B...
a87daa051c4112412a07960296a159c4907f86d5
9c36c37eb161f2735c12fefba851e60ed28065ef
/20180517/223.cpp
11aed8c33e9809ba755cc7ea17413bff3f0a3de7
[]
no_license
Const5215/Leetcode
945165605bc4370e77d19989dc0801cc9a87abb8
631f99962f0054434bacd54fea5c6b53083c0468
refs/heads/master
2021-08-07T09:57:16.940144
2018-09-17T18:13:51
2018-09-17T18:13:51
130,818,051
0
0
null
null
null
null
UTF-8
C++
false
false
437
cpp
223.cpp
class Solution { public: int computeArea(int A, int B, int C, int D, int E, int F, int G, int H) { long long a = A, b = B, c = C, d = D, e = E, f = F, g = G, h = H; long long res = (c-a)*(d-b)+(g-e)*(h-f); long long Lx = max(a,e), Rx = min(c,g), Ly = max(b,f), Ry = min(d,h); long lon...
d61c694b6fdb3dc71e29c818a3278f13ae5e14f3
58c26741735a42db49985609217afae81fed0fd2
/tcp_server/ios_exception_timer.cpp
d7e24b6f5c754aff7243b0f091e81865a81f3b79
[]
no_license
alortimor/c-_tests
aef68003a66ea4c9b6e17674c6c787f9cb35c8cd
3238ec0418de601addb143a2ce0979368ddcb6ba
refs/heads/master
2020-08-05T08:40:46.561214
2019-10-03T00:21:02
2019-10-03T00:21:02
212,467,467
1
0
null
null
null
null
UTF-8
C++
false
false
2,074
cpp
ios_exception_timer.cpp
#include <boost/asio.hpp> #include <boost/shared_ptr.hpp> #include <boost/thread.hpp> #include <boost/bind.hpp> #include <mutex> #include <thread> #include <iostream> std::mutex mx; void work_thread(boost::shared_ptr<boost::asio::io_service> ios, int cnt) { // Ensure lock each time a cout is performed mx.lock();...
fd6b5f65cd28bf5da3bdf3a8ce3f026ccb8d14f9
b4aace2a192d7289b769a9d0a1560ab2e2534094
/src/VoxelCube/ofNoisyLayers.cpp
0b420a993b8afbc3fed8b727493b4923ed5b4ba5
[ "MIT" ]
permissive
FilipePires98/ofCreativeCoding
e267a6509fad2f1f7a2e3bc27b26320fd165a003
d9a7217d9a80cfb2283454e7d29ae2cd5460c001
refs/heads/main
2023-05-30T18:01:48.750477
2021-06-10T21:23:18
2021-06-10T21:23:18
367,112,327
2
0
null
null
null
null
UTF-8
C++
false
false
5,866
cpp
ofNoisyLayers.cpp
#include "ofNoisyLayers.h" //-------------------------------------------------------------- void ofNoisyLayers::setup() { ofSetWindowTitle("Voxel Cube - Noisy Layers"); ofSetFrameRate(60); // change application's framerate ofBackground(255); // change background color (value between 0 and 255) ofEnableDepthTes...
32851167ff5aad36fdaeabd7a97289cd161bfa7d
b1dc77585ae059a969a632ad17370e9dd82f7366
/SourceCode/NarratorOfWindows.WindowsHelper/LogicalLayer/now.core/action/common/NowActionEnter.cpp
8e787bcfa80fbb28dc5d13ccd69a701817d87019
[]
no_license
chienphan/narrator-of-windows
e93954a2869ad99c6dc2b7167457c8e2f143c535
8a49870ad4d10e8226254a2825c98860352e673c
refs/heads/master
2020-05-26T21:18:41.959937
2014-06-20T17:07:48
2014-06-20T17:07:48
37,664,702
0
0
null
null
null
null
UTF-8
C++
false
false
1,791
cpp
NowActionEnter.cpp
#include "NowActionEnter.h" #include "NowStorage.h" #include "NowLogger.h" #include "NowStringProcessor.h" #include "NowDeviceMouse.h" #include "NowDeviceKeyboard.h" #include "NowUtility.h" NowActionEnter::NowActionEnter(void) { } NowActionEnter::~NowActionEnter(void) { } //enter=<window_name>|<cont...
64be32b8af4384fb6cc5d5f49626f973bfe06ad6
618532b5faa7e66bd7be8586c7522b5eac28d6ce
/main.cpp
36950fa5af16cfea5bdf303b7a8eb7486fb61c9e
[]
no_license
brandonrogers/Sic-XE-Disassembler
861d9ad653de7ea8a7237aeae21cd5712c8ad8ed
dc7fc0f802ba0a2c8222aceea0272264e5cc0a57
refs/heads/master
2016-09-06T02:42:37.069248
2015-04-22T05:51:24
2015-04-22T05:51:24
34,371,483
0
0
null
null
null
null
UTF-8
C++
false
false
182
cpp
main.cpp
/* * File: main.cpp * Author: brandonrogers * * Created on March 10, 2015, 5:00 PM */ using namespace std; /* * */ int main(int argc, char** argv) { return 0; }
0de657bd68cd151ff63f032016e5bd1b039cf607
6c36333ff7c936074d614e1f31c16ae024c29b2e
/map_patterns.cc
c7345a3ca334e3fbd7f57973c70357e2cd2c3c60
[]
no_license
michalspondr/Map-Generator
85fb1b1147a1e8aba4c2572394c14836557b4ea4
dd263a01053688b9408a82f288936d879609f3ce
refs/heads/master
2020-05-29T19:32:40.208469
2011-03-02T23:42:05
2011-03-02T23:42:05
1,430,588
0
0
null
null
null
null
UTF-8
C++
false
false
2,528
cc
map_patterns.cc
#include "map_patterns.h" /** * Fill map with WALL tiles only */ void Wall::fill() { for (unsigned i=0; i < getHeight(); ++i) for (unsigned j=0; j < getWidth(); ++j) field[i][j] = map::WALL; } /** * Randomly fill the map * TODO I need to know how to get the modulo divider number from MapType enum */ void R...
325ac11392fba62b47549a1319e120427448a8c9
6399c810fccd5ea64f9c74efe98895502d4d9294
/Ex03/Ex03_InsertionSort-Source/file_readers.cpp
e292c380c41a9ea7ebe3337d9b19a8a30c892524
[]
no_license
truongcntn2017/AlgorithmsAndComplexity
0e2da9355b7001fe7f705a091a903cda6520700e
39cf2909530146d59068d5f933f21dcfbfb8343c
refs/heads/master
2022-05-28T17:37:58.234416
2020-05-07T06:35:11
2020-05-07T06:35:11
255,987,975
4
0
null
null
null
null
UTF-8
C++
false
false
314
cpp
file_readers.cpp
#include "file_readers.h" #include <iostream> using namespace std; vector<int> readIntArray(istream& inStream) { vector<int> data; string s; getline(inStream, s); istringstream iss(s); int temp; while (iss.good()) { iss >> temp; data.push_back(temp); } return data; }
3b25dc38f6ea559a63bb20c28a323b997343c083
806a0e71fa40501e2f0edfe62269e8801f187e5c
/Co so du lieu/CodeC/ViDu/g.cpp
57047f2afaa578ed62bf6c967f60fec929b5bdab
[]
no_license
ducthangbui/Learning
1c991a84a27cf6f112f9d2d643eacfdfb0a1de49
5a7acdf0c05e00e4ba736113a075423bf0b967db
refs/heads/master
2020-03-31T13:46:30.180506
2018-10-14T15:18:06
2018-10-14T15:18:06
152,268,559
0
0
null
null
null
null
UTF-8
C++
false
false
197
cpp
g.cpp
#include<stdio.h> #include<math.h> main() { int m,dv; printf("Nhap:"); scanf("%d",&m); int lc=0; int n=fabs(m); while (n!=0) { dv=n%10; n=n/10; if(dv>lc) lc=dv; } printf("%d",lc); }
cb15d5506e0c23995b29638eb74672f1afc1e2c2
1b73955197836915b6fe69cc03b57a88c17e28e2
/part_2_input_and_output/ch_11/problem_16.cpp
52bc9859db3c6848287eba045321e4b2f9bfcce8
[]
no_license
vocasle/principles_and_practice_using_cpp
7213f5914014039d31571562492b202a1bbf59e9
a6e4d0b42373fef419ae2fbf53d6dc39ef76ea31
refs/heads/master
2022-09-16T14:06:21.342871
2022-08-26T15:48:14
2022-08-26T15:48:14
247,622,270
2
0
null
null
null
null
UTF-8
C++
false
false
1,307
cpp
problem_16.cpp
#include "chapter_11.hpp" #include <fstream> #include <algorithm> #include <iomanip> std::vector<double> read_numbers(const std::string& fname) { auto file = std::ifstream{ fname }; if (!file) { file_open_err(fname, FileType::in); } auto numbers = std::vector<double>(); for (auto num = 0.0; file >> num;) { ...
73434f651e35cec5bac4c6dfaccf2821abaaf97b
6099e0ebd8e78311c5e3dfae1a4678c2a4d51873
/3rdParty/rocksdb/6.27/utilities/cassandra/cassandra_compaction_filter.cc
3d49ea0ab7203a3388f3f269246d228bcaf3a5ff
[ "Apache-2.0", "GPL-2.0-only", "BSD-3-Clause", "ICU", "LGPL-2.1-or-later", "OpenSSL", "GPL-1.0-or-later", "Zlib", "MIT", "ISC", "CC0-1.0", "BSL-1.0", "LicenseRef-scancode-autoconf-simple-exception", "LicenseRef-scancode-public-domain", "BSD-2-Clause", "LicenseRef-scancode-pcre", "BSD-...
permissive
vishalbelsare/arangodb
be647e192dd7505a9907263892fe65112ce81d2d
a6bd3ccd6f622fab2a288d2e3a06ab8e338d3ec1
refs/heads/devel
2023-09-05T13:34:28.350423
2021-12-27T07:16:58
2021-12-27T07:16:58
137,596,199
0
0
Apache-2.0
2021-12-28T14:39:52
2018-06-16T16:54:10
C++
UTF-8
C++
false
false
4,082
cc
cassandra_compaction_filter.cc
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). #include "utilities/cassandra/cassandra_compaction_filter....
64cbeeb426ebbedd9b5c3e00e5104612c0accba2
3d8ed3cc1eeeb85e4c984cf4d010401966d94b6d
/printinitials.cpp
93eb51f097b73e0bb9b1555cdb88c537df561b93
[]
no_license
krishna-mathuria/competitive
805c4ba56e37e7ffa87d749e465a0d4051b2452a
549b6fb7ec849f3082ba06faaff58efba849e18c
refs/heads/main
2023-08-22T07:21:26.260193
2021-10-26T13:32:31
2021-10-26T13:32:31
386,506,918
1
0
null
null
null
null
UTF-8
C++
false
false
398
cpp
printinitials.cpp
class Solution{ public: string firstAlphabet(string S) { // Your code goes here bool fl=1; string ans=""; for(int i=0;i<S.size();i++){ if(S[i]>='a' && S[i]<='z'){ if(fl){ ans+=S[i]; fl=0; } continue; } ...
002e9099bd898fd8fc740d4b96f451a21151f2ab
4f0bdeadfac434557fcce81c4f6131b84077cb51
/M1_Chess/Base.h
50a52d239c38244e7f465db509575e54bd5ba9c3
[]
no_license
mirogon/M1_Chess
4710b5ee1d5acafa8c22f094e1dde043654f0c9d
01c9a16dd5735b3b3d1d02fee2e9b8916c8b86a0
refs/heads/master
2020-04-11T15:50:29.672772
2018-12-15T12:57:27
2018-12-15T12:57:27
161,905,004
0
0
null
null
null
null
UTF-8
C++
false
false
717
h
Base.h
#pragma once #include "Global.h" namespace m1 { extern const unsigned int WINDOW_RESOLUTION_X; extern const unsigned int WINDOW_RESOLUTION_Y; #define _GetWindow Base::getInstance()->GetWindow() #define _GetRenderer Base::getInstance()->GetRenderer() class Base { public: //INLINE static Base* getInstan...
6a3f7e03ed15ccf4eb99b21a00fba7465c9a8a92
1155fd18ab7ba098346e23911abbe517dab8643e
/storage/include/filehandler.h
ca08e8aa3315cc76fc0a30cbd79060b483dd3c71
[]
no_license
mamigot/sterling
92dcef210934ff6be1d5368c5ae60ecada723972
f5db9ebf7306bfa1a37bf1e27b9ccb4d7b165150
refs/heads/master
2020-04-11T04:23:03.708945
2016-04-17T16:36:43
2016-04-17T16:36:43
51,568,246
2
0
null
null
null
null
UTF-8
C++
false
false
789
h
filehandler.h
#ifndef FILEHANDLER_H_ #define FILEHANDLER_H_ #include <string> #include <map> #include <vector> #include "config.h" using namespace std; void appendToDataFile(const string& filePath, const string& content); // Iterates through the file backwards and returns an offset (in bytes) of the // first matching entry int i...
8b72f760effa0db3447c81e3d39f857e80a81876
58d87660a72a91373c00f16cd1b8c36cac5e6d8a
/1.cpp
db1c879b82fe92976960d0b222ff18709afc30e8
[]
no_license
RickGrin/Lab4
c489e65c26fb23644c2755e025e360ab6c954cba
08928894898b8edebd02f22d14ac7c936ca31822
refs/heads/master
2022-11-14T00:32:54.741285
2020-06-15T16:26:40
2020-06-15T16:26:40
266,830,105
0
0
null
null
null
null
UTF-8
C++
false
false
594
cpp
1.cpp
 #include "iostream" #include <string.h> #include <conio.h> using namespace std; void Sort(int A[], int N, int i) { if (i < N) { int min = A[i], index = i; for (int j = i + 1; j < N; j++) if (A[j] < min) min = A[j], index = j; A[index] = A[i]; A[i] = min...
7bd5a225721b0c69e9a57afa9e15fe61c15fc79f
51635684d03e47ebad12b8872ff469b83f36aa52
/external/gcc-12.1.0/libstdc++-v3/testsuite/experimental/propagate_const/swap/lwg3413.cc
8dc13cfebdd4e01cace0db88f130b8b5e4610b7f
[ "LGPL-2.1-only", "GPL-3.0-only", "GCC-exception-3.1", "GPL-2.0-only", "LGPL-3.0-only", "LGPL-2.0-or-later", "Zlib", "LicenseRef-scancode-public-domain" ]
permissive
zhmu/ananas
8fb48ddfe3582f85ff39184fc7a3c58725fe731a
30850c1639f03bccbfb2f2b03361792cc8fae52e
refs/heads/master
2022-06-25T10:44:46.256604
2022-06-12T17:04:40
2022-06-12T17:04:40
30,108,381
59
8
Zlib
2021-09-26T17:30:30
2015-01-31T09:44:33
C
UTF-8
C++
false
false
1,028
cc
lwg3413.cc
// { dg-do compile { target c++14 } } // LWG 3413 // propagate_const's swap's noexcept specification needs to be constrained // and use a trait #include <experimental/propagate_const> using std::experimental::propagate_const; propagate_const<int*> i; static_assert( noexcept(i.swap(i)), "member swap is noexcept" ); ...
057fad893a2f6b8858bf3726797113e5f3635f5d
c8ae8d1e60147afd8ad3183a29ebd854cd26a0c5
/main.cpp
e22bbbc9b9fec65a53f22bb24a62b73dfda3fc21
[]
no_license
rdecker7/po2-OldTimeyPhoto
40b38c5bfe6f8649ca8f6796b6ea78180a08cf26
5aa4e9f0447e2b632939cda1ae39403947f76e1c
refs/heads/master
2021-07-11T22:22:10.857706
2017-10-17T00:17:07
2017-10-17T00:17:07
105,600,089
0
0
null
null
null
null
UTF-8
C++
false
false
1,618
cpp
main.cpp
//Author: Riley Decker #include<iostream> #include<string> #include "bitmap.h" #include<vector> using namespace std; int main() { //Create Bitmap Bitmap image; Pixel rgb; //Create vector of vector of Pixels vector< vector<Pixel> > bmp; //Collect user input for file na...
3482976b63f224581934a5b1034533504f8c8316
d4d2b9b61c28947542b3d0b9a3d84b9031a04d30
/Floor.hpp
ba3d67b32f2c5a429593ac8f4ef8f2713d2dda7d
[]
no_license
DougHughes8906/find-the-thief
7a9d2c484529c027f4e1b1a369b10186f46046e7
6c31e8d26f9f957c1dca85f7265b1efeae2367fa
refs/heads/master
2020-09-19T16:19:40.421724
2019-12-16T17:38:26
2019-12-16T17:38:26
224,244,225
0
0
null
null
null
null
UTF-8
C++
false
false
1,479
hpp
Floor.hpp
/********************************************************************* ** Program name: Floor.hpp ** Author: Doug Hughes ** Date: December 10, 2019 ** Description: Header file for the Floor class. ** Derived class of the Space class. The class is used ** in conjunction with the ThiefGame class to represent ** ...
9d9330155dc5cfd89a3940b3baad91ac7d92ba34
6b84794b2b0aa23a2d2c3c5f1437001d103213ae
/Problems & Contents/Maratona - Facul/problema_5.cpp
9578d540a11c234fe52a500e1ab474ceb985d216
[]
no_license
mtreviso/university
2406d3782759a75ef00af4da8e4e1ed99cfb89d8
164dbfc13d6dddb3bdbb04957c4702d0e0885402
refs/heads/master
2021-01-09T08:14:21.551497
2016-06-09T23:19:01
2016-06-09T23:19:01
16,703,296
0
2
null
null
null
null
UTF-8
C++
false
false
683
cpp
problema_5.cpp
#include <iostream> #include <iomanip> #include <cstdio> #include <vector> using namespace std; void printVector(vector<int> &v){ int n = v.size(); for(int i=1; i<=n; i++) printf("%d ", v[i]); printf("\n"); } int main(){ int qtd, pos, pulo; int k; cin >> k; while(k--){ cin >> qtd >> pos >> pulo; ...
ef0b6d30925664f856ec9773b25df41376c85ff9
0b63b6248727505008fc7ea5cd21089239c31a5d
/LeafSimilarTrees/CodeClassFile.h
72d40424baaf461841defa32ef569bf69da6e330
[]
no_license
CliffRoberson/LeetCodeProblems
421ffe699459f4e633f9bbd4472cb47788fe4c95
68c7f0c58b3b3d7cddd6be8fa1a1a89e4ecf9630
refs/heads/master
2020-05-07T15:58:42.654878
2019-08-05T20:26:04
2019-08-05T20:26:04
180,642,270
0
0
null
null
null
null
UTF-8
C++
false
false
871
h
CodeClassFile.h
#pragma once #include "../std_lib_facilities.h" struct TreeNode { int val; TreeNode *left; TreeNode *right; TreeNode(int x) : val(x), left(NULL), right(NULL) {} }; class Solution { public: vector<int> leafSeq1; vector<int> leafSeq2; void getLeafSeq1(TreeNode* root) { if (root == NULL) retur...
c3ae1919909ffd8a680f94044b44fb15d0cb118f
cb142edda7a972adb64b011e9ba12bf7204d245c
/Day-1/switchCaluclator.cpp
4d3a76bc2b07216a6c029de45371657dd9c6d123
[]
no_license
amn5277/CODE
31770a4b850365da23ae4c1add83153c9d13b074
335d6ee02a019970fea74424029e8499076326d9
refs/heads/main
2023-05-07T15:34:54.943459
2021-05-28T03:45:07
2021-05-28T03:45:07
364,125,298
0
0
null
2021-05-28T03:45:08
2021-05-04T03:09:37
C++
UTF-8
C++
false
false
532
cpp
switchCaluclator.cpp
#include <iostream> using namespace std; int main(){ int n1,n2; cout<<"Enter Two Numbers:"; cin>>n1>>n2; char input; cout<<"Enter the operation to perform"; cin>>input; switch (input){ case '+': cout<<n1+n2; break; case '-': cout<<n1-n2;...
5af44d701a3535ee483d0aeb56c8855ea94d05de
49643ae2ac5449ec9a44f04047081893de1535e8
/DSAndAlgo/HackerRank Problems/TimeConvert.cpp
2569416e96fbbe895ff6a2f3da19c31670d4907e
[]
no_license
Vaibank1/DSAndAlgo
0b224540eb64ae905bdec4a39ea036d779cf4443
1606e5ba2b49e6b7625a517713dbc5b54e0f535f
refs/heads/master
2022-02-20T06:33:18.161853
2019-09-29T07:14:36
2019-09-29T07:14:36
104,919,933
0
0
null
null
null
null
UTF-8
C++
false
false
523
cpp
TimeConvert.cpp
#include <cmath> #include <cstdio> #include <vector> #include <iostream> #include <algorithm> #include <string> using namespace std; int main() { /* Enter your code here. Read input from STDIN. Print output to STDOUT */ string str; cin >> str; if (str[str.length() - 2] == 'A') { cout << str.substr(0, str.leng...
213df457beaf963f195315230439b284c5cf3fde
96b6ed490eada4e5864000681c587aa7060cf938
/102-Memory/main.cpp
04bcee8460807527cc1c2ab39bd2636326b22ba6
[]
no_license
AlessandroScrem/Qt_samples
f2cdfc7cd858432ee96497f7b64e69c1188fb3b9
5a07b49e10f948dc12ab6dc0720b30e9225af2f2
refs/heads/master
2020-12-04T07:12:06.644337
2020-01-13T18:10:04
2020-01-13T18:10:04
231,672,644
0
0
null
null
null
null
UTF-8
C++
false
false
361
cpp
main.cpp
#include <QCoreApplication> #include "test.h" #include <QPointer> #include "child.h" int main(int argc, char *argv[]) { QCoreApplication a(argc, argv); Test cTest; // use qpointer when class is not qobject parent // you can't pass qobject pointer QPointer<Child> cChild = new Child; cChild->...
a3d820ba146e8e13365544351ecb7f405a13963c
3c2e997ec49bd97a21d3685e088f3d69e2fb48ad
/codeforces/336a.cpp
e6eb823e90c8c1feade7dae57de218b5878948dd
[]
no_license
LGBitencourt/Competitive-Programming
7faa5b2c33ab08a7e79ff1713a3d5731501daccd
609d35a109236278a33f2eb0b5699952c12ce5fa
refs/heads/master
2021-01-17T04:08:04.596355
2017-06-18T22:11:50
2017-06-18T22:11:50
40,277,315
2
0
null
null
null
null
UTF-8
C++
false
false
637
cpp
336a.cpp
#include <bits/stdc++.h> #define pb push_back #define ff first #define ss second using namespace std; typedef long long ll; typedef pair<int,int> pii; typedef pair<ll,ll> pll; const double eps = 1e-9; const int inf = 0x3f3f3f3f; /////////////////0123456789 const int MAXN = 10004; int main() { int x, y, t, xi, y...
fb3afeb653ad1f6b461fc2c132548b0740be8129
cca16e10578df868208a95515bd4387ddb74d38f
/day01/ex03/HumanB.hpp
f09ab73cbe280325490f9ebce79ad51e113ba5ed
[]
no_license
mel-hamr/cpp
8929c0cb9db2ee55d3f6d3853ca7af80ba77bb84
a1307b09c87974311ec5dd04aaeb4498daab97d5
refs/heads/master
2023-09-03T19:33:28.836062
2021-11-02T09:57:15
2021-11-02T09:57:15
401,765,322
0
0
null
null
null
null
UTF-8
C++
false
false
323
hpp
HumanB.hpp
#include <iostream> #include "Weapon.hpp" class HumanB { private: std::string name; Weapon weapon; public: HumanB(std::string name) { this->name = name; } void get_name(std::string name); void setWeapon(std::string weapon); void attack(void); ...
1890b63f078b65393f6269068d22661cf8c12781
d09945668f19bb4bc17087c0cb8ccbab2b2dd688
/codeforce/581-620/592/d2.cpp
b38ab86221fab238234ffc39b21781e1b1617d89
[]
no_license
kmjp/procon
27270f605f3ae5d80fbdb28708318a6557273a57
8083028ece4be1460150aa3f0e69bdb57e510b53
refs/heads/master
2023-09-04T11:01:09.452170
2023-09-03T15:25:21
2023-09-03T15:25:21
30,825,508
23
2
null
2023-08-18T14:02:07
2015-02-15T11:25:23
C++
UTF-8
C++
false
false
1,494
cpp
d2.cpp
#include <bits/stdc++.h> using namespace std; typedef signed long long ll; #undef _P #define _P(...) (void)printf(__VA_ARGS__) #define FOR(x,to) for(x=0;x<(to);x++) #define FORR(x,arr) for(auto& x:arr) #define ITR(x,c) for(__typeof(c.begin()) x=c.begin();x!=c.end();x++) #define ALL(a) (a.begin()),(a.end()) #...
317d0a983f7482f580f7c92c756bb5865e984a98
1bc29212030b5af28ae3a9d8f72039b6fd55b81f
/main.cpp
ef8eb109ef98f8fc4e0e1bcff96445b964bbc980
[]
no_license
malhadbah/p04-malhadbah
fe68efbc5fddf4a25bf2bdc576d93a96b6a15db8
061b931198d9792c71d3638cfd1e9c26d9d885cd
refs/heads/master
2021-08-24T09:59:26.311111
2017-12-09T04:22:24
2017-12-09T04:22:24
110,870,307
0
0
null
null
null
null
UTF-8
C++
false
false
5,703
cpp
main.cpp
#include <iostream> #include <string> #include <fstream> #include "Board.h" using namespace std; //win score #define WIN_SCORE 10 //data file name #define GAME_DATA_FILE "data.txt" //read a position (row, col) to put player symbol void readPosition(Board &boardObject, int &row, int &col, string prompt); //d...
d389d8deff39bc74a5edcb24ba30a03b1c2ff06d
c9fe88b36a428445b9acbafb991c2e2205415998
/MagicWand.ino
c7da39840a43b02ed3bd2119b05de31c27c34d93
[]
no_license
bigeyex/curie-magic-wand
29a03b7a356b396dccb7ff25249cd94ca81f11b9
7f9918bff4648972c4ae5067edc48fcfb7df6f23
refs/heads/master
2021-01-17T04:59:22.897964
2017-02-25T04:29:17
2017-02-25T04:29:17
83,054,066
0
0
null
null
null
null
UTF-8
C++
false
false
765
ino
MagicWand.ino
#include "Bluetooth.h" #include "sequencer.h" const unsigned char beepcmd[] = {0xff, 0x55, 0x07, 0x00, 0x02, 0x22, 0x06, 0x01, 0xfa, 0x00}; void setup() { Serial.begin(115200); Serial.println("Start"); ble_setup(); ble_on_connect(on_connected); ble_on_disconnect(on_disconnet); ble_connect_nea...
a254817a2fbb7be930fa1af495fe5a849d7b17d9
fa82ee5e765c18812240abface6cecfe3601c5a2
/helicopter.h
3a7fa50fdf1c63944c55cb21a9d9adb6cc73ddc3
[]
no_license
smcelrea/3501A
0d3c3166d2225cc80de705d70668042f4afcf269
73bcaf22033229e9465ed9b4ae580056f270f345
refs/heads/master
2023-07-07T05:43:10.220632
2018-12-06T22:08:28
2018-12-06T22:08:28
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,473
h
helicopter.h
#ifndef HELICOPTER_H_ #define HELICOPTER_H_ #include <string> #define GLEW_STATIC #include <GL/glew.h> #include <GLFW/glfw3.h> #include <glm/glm.hpp> #define GLM_FORCE_RADIANS #include <glm/gtc/quaternion.hpp> #include "resource.h" #include "scene_node.h" namespace game { // Abstraction of an as...
aee891b0943f3b5ad445f2f56be95715790f4c59
005cb1c69358d301f72c6a6890ffeb430573c1a1
/Pods/Headers/Private/GeoFeatures/boost/shared_array.hpp
6590a5dd074f20a01316e5c0bbb6ed25fb9076aa
[ "Apache-2.0" ]
permissive
TheClimateCorporation/DemoCLUs
05588dcca687cc5854755fad72f07759f81fe673
f343da9b41807694055151a721b497cf6267f829
refs/heads/master
2021-01-10T15:10:06.021498
2016-04-19T20:31:34
2016-04-19T20:31:34
51,960,444
0
0
null
null
null
null
UTF-8
C++
false
false
58
hpp
shared_array.hpp
../../../../GeoFeatures/GeoFeatures/boost/shared_array.hpp
e561113c85185f24e269d24c6271b4b42330c1a9
6e2e8592b602ac36de770ad101eed05405c982cc
/modules/perception/camera/lib/traffic_light/proto/detection.pb.cc
b0a480881bc3f76bf95720fbb36df21a84dc5ba3
[]
no_license
sxhxliang/Apollo-Lite
6060dc361fd22b90fa2c986ee4dbbb6cf38d50ec
b59e1c6a9a88aa421e72fa709a80c10e868531f8
refs/heads/main
2023-04-09T19:04:15.275450
2021-04-17T18:25:22
2021-04-17T18:25:22
356,549,140
2
3
null
null
null
null
UTF-8
C++
false
true
61,866
cc
detection.pb.cc
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: modules/perception/camera/lib/traffic_light/proto/detection.proto #include "modules/perception/camera/lib/traffic_light/proto/detection.pb.h" #include <algorithm> #include <google/protobuf/stubs/common.h> #include <google/protobuf/io/coded_stream...
7821b1d10c59cd082209fe3e9d6fa88a5513a2ed
6911d7ba9eb53bd885917e6fbed8eec694f00488
/ValiableGravity/ValiableGravity/Device/Impl/Mouse.cpp
14edad07ae3ea30255523b931261067db5394e37
[]
no_license
KORYUOH/koryuohproject-svn-server
86fc2128546bb6000af65f65e210775004cd03fc
eea045863cab70fc8534917b6a1356690e6fc10e
refs/heads/master
2021-01-19T13:25:33.993255
2015-04-04T08:10:21
2015-04-04T08:10:21
32,276,044
0
0
null
null
null
null
SHIFT_JIS
C++
false
false
5,386
cpp
Mouse.cpp
/**===File Commentary=======================================*/ /** * @file Mouse.cpp * * @brief OpenGLマウスクラス実装 * * @author KORYUOH * * @date 2012/04/29 */ /**===File Include=========================================*/ #include <Define/ClassDefine.h> #include <Device/Impl/Mouse.h> #include <cmath> #...
fc271215783a8907099133aec9cdcda463bf37b2
f5b20bb341b8ba7351714f5c55a8cc2b4640ca82
/GcnAsmTest/OpenclRunner/ShuffleOperations.h
f10cb9517c8023e70cf974e343ac76215be09c55
[ "MIT" ]
permissive
tupieurods/gcn_asm_test
f0979500e45524db1fce03b763d942fe5c3baa91
99de34b0722b4a469d449c4cfc5dde66fc0eaa9d
refs/heads/master
2021-01-06T16:46:07.004558
2020-04-24T12:36:43
2020-04-24T12:36:43
241,404,111
0
0
null
null
null
null
UTF-8
C++
false
false
709
h
ShuffleOperations.h
#pragma once #include "OpenclHelpers.h" #include "utils.h" inline uint8_t ShuffleIndexes1[64] = { 0x35, 0x20, 0x00, 0x29, 0x0d, 0x2a, 0x19, 0x02, 0x17, 0x15, 0x18, 0x3f, 0x26, 0x2e, 0x34, 0x1f, 0x2c, 0x33, 0x2b, 0x30, 0x01, 0x1c, 0x27, 0x0f, 0x37, 0x25, 0x24, 0x16, 0x3c, 0x06, 0x3e, 0x14, 0x28, 0x11, 0x3b, 0...
0a8f6058bb07bcf94af6d04a804bfa420aa12208
46e1796795eadd2f2cb7aa2d570594ae7c288885
/csci41/lec33/inheritance.cpp
23e4ef97e1d30d3e8f0b29eb117452fa4bc80e6d
[]
no_license
lawtonsclass/f20-code-from-class
1afb7f7a6d230f6af9e368f13e4df8634d86a011
34db321491455044a14d029fff11ea81309f6792
refs/heads/master
2023-01-20T04:57:11.353707
2020-11-27T03:59:53
2020-11-27T03:59:53
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,635
cpp
inheritance.cpp
#include <iostream> #include <string> #include <vector> using namespace std; // this is an "abstract class"--it can't be instantiated class MacLaptop { protected: // protected lets us use these things in subclasses double price; int batteryLife; public: MacLaptop(double price, int batteryLife) : price(...
0cb8d93cd6835064be09698af4b84aeeab942cdb
7063c3de7e6ae208cabad6f72abb01c6a0952fd2
/Soluer/GameLevel.h
d926031d84fcb29fb5503e9f73ba3feab409d3a6
[]
no_license
AI-Decay/PetGame
35d56b14805ba0ef71a33944e2fb804475efa3b4
39b6b4666027104f668926d347e068b2382cf1c1
refs/heads/master
2020-11-25T21:59:17.774864
2020-01-29T10:25:52
2020-01-29T10:25:52
228,863,193
1
0
null
null
null
null
UTF-8
C++
false
false
766
h
GameLevel.h
#pragma once #include <memory> #include "Graphics.h" #include "SpriteSheet.h" #include "GameTime.h" class GameLevel { protected: static std::shared_ptr<Graphics> gfx; std::unique_ptr<GameTime> time; float jumpHight = 100.0f; bool jump = false; bool mRight = false; bool mLeft = false; bool onPlatform = false; pu...
c102183e80d23462289c157ffe741964273d7f3d
66b92f429ba7fb7336177b3dfc5e0999fbae94b9
/HDRR demo/OGLF/PostProcessingFX.cpp
43ff90e6078fe407b7c787274d13e6aa3bc67873
[]
no_license
dletozeun/3D
2a9094a083e3b76b9cc1e02f337e773808ff32d7
8ca77e4eaf842d4dfc353492d1dc21106f0f203a
refs/heads/master
2021-01-19T14:57:30.677479
2014-05-17T16:33:11
2014-05-17T16:33:11
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,837
cpp
PostProcessingFX.cpp
#include <string> #include "PostProcessingFX.h" #include "Renderer.h" using namespace std; namespace Oglf { PostProcessingFX::PostProcessingFX( const string& sName, Renderer* pRenderer ) : Namable( sName ) , m_pOutputRT( NULL ) , m_pRenderer( pRenderer ) , m_bRenderToScreen( false ) { if( m_pRenderer ==...
fb43de9990de04da29dcb2c31afb06cda9cc33de
b4e1ae98329725a72b10487682decd7d6e69b4c3
/adjecency matrix/main.cpp
34ef16fafd65295436a0038c221ee5d7d89e6f66
[]
no_license
bhavya1224/Its-all-code
2105d543d75f8514b977d76651a8c9bfbd82bf89
be3de9edb3c23e7842466ee15bb5b36d6b7e4244
refs/heads/master
2022-09-07T00:45:22.170484
2020-05-29T11:23:22
2020-05-29T11:23:22
266,622,557
0
0
null
null
null
null
UTF-8
C++
false
false
1,446
cpp
main.cpp
#include <bits/stdc++.h> using namespace std; void add_Edge(int **adm,int SN, int EN, int W, string s) { if (s == "yes") { adm[SN-1][EN-1] = W; } else { adm[SN-1][EN-1] = W; adm[EN-1][SN-1] = W; } } int main() { int nodes; int edge...
93e513fa0a6db531c61927892878e61c88eac1bd
86baaa6bbe4088275cdb11d7804e2b6406ba8bbb
/example1/example1_module/Algorithm/Deadreckoning/VisualizationMono/Edit/VisualizationMono_Algorithm_Deadreckoning_Vars.h
9df25eef251cb0bfeb34dcc5f55d28e286d17259
[]
no_license
wr786/I2IR-Archive
601e1010b058cf0f9f74cbf3be7ee546b99a648e
db4926b8e5630cfc1a4fde0da173f499dce92faf
refs/heads/main
2023-01-18T22:42:07.547067
2020-11-24T14:46:44
2020-11-24T14:46:44
299,824,100
2
0
null
null
null
null
UTF-8
C++
false
false
2,349
h
VisualizationMono_Algorithm_Deadreckoning_Vars.h
//You need to modify this file. #ifndef VISUALIZATIONMONO_ALGORITHM_DEADRECKONING_VARS_H #define VISUALIZATIONMONO_ALGORITHM_DEADRECKONING_VARS_H #include<RobotSDK_Global.h> /*! \defgroup VisualizationMono_Algorithm_Deadreckoning_Vars VisualizationMono_Algorithm_Deadreckoning_Vars \ingroup VisualizationMono_Algorit...
30b6024426c98855587b35aafc0df4e1a9ea2ae0
ca7a68d83ea9051068ac7ada1997d9253883b0da
/lab2/cannible.cpp
4f9282c3cadf88d7a1df0aaa73aaf680a18e9a82
[]
no_license
anuragshirolkar/AI-labs
384713430133248dd3e16b55b11a13bd1d73993c
468ba3182557e6c6cfb3296136c572cf4e2cbe83
refs/heads/master
2021-01-21T19:06:06.428864
2015-04-28T22:06:38
2015-04-28T22:06:38
29,127,508
0
0
null
null
null
null
UTF-8
C++
false
false
2,598
cpp
cannible.cpp
#include <algorithm> #include <iostream> #include <vector> using namespace std; /** * structure to denote state of the problem */ struct node { int cannibals, priests; bool boatstate; void print(); bool valid(); node(){}; node(int c, int p, bool b) { cannibals = c; priests = p; boatstate = b; } }; bool ...
8d22220f76da07de7c0be33f179fecd4c59358a3
5661921fd7adcd75444c46107cb57e55a3f66953
/SafeQueue.h
536b89eefdb133ca13fd3d1e2ae123afe5e4c5e8
[]
no_license
Squidiot/MazeMaker
51958773b4175256e87673300e053fb13a9cce42
c5e16b926216794956d3e17b50c745c0ddf06907
refs/heads/master
2023-03-09T08:07:31.198732
2021-02-25T00:45:15
2021-02-25T00:45:15
86,031,153
0
0
null
null
null
null
UTF-8
C++
false
false
440
h
SafeQueue.h
#ifndef SAFEQUEUE_HEADER #define SAFEQUEUE_HEADER #include <mutex> #include <condition_variable> #include <queue> struct PrintData { int row, col, color; char str[4]; static const PrintData* kill; }; class SafeQueue { std::queue<const PrintData*> values; std::mutex mtx; std::condition_va...
5a6e9eb739a32ddcb00b95623d1bb78a36d629e7
8eb41f92d93c7af25295fdf831a73b4617351e9e
/SoftTerminal/src/stconfig.cpp
3d261ebed5bf0aa0c1e66391092f9e1f55b009b5
[]
no_license
sunpu/softterminal
adbc611e95debcbc78af246fcc23f698fdc83900
c1a6f98c412287dd1e7593412155ca01427f242b
refs/heads/master
2021-01-24T11:21:57.678887
2018-06-20T06:22:53
2018-06-20T06:22:53
123,078,740
0
0
null
null
null
null
UTF-8
C++
false
false
804
cpp
stconfig.cpp
#include "stconfig.h" using namespace tahiti; STConfig::STConfig() { } STConfig::~STConfig() { } QString STConfig::getConfig(QString key) { QString path = QStandardPaths::writableLocation(QStandardPaths::GenericConfigLocation) + DATA_ROOT_PATH + CONFIG_PATH + CONFIG_FILE_NAME; QSettings* config = new QSetting...
96a155fefce49b293b33756104a148586d9fb74b
2947bd4fdcb608ced8b55b0375a9f3e02fc46ee7
/Year3Engine/GameScreen.cpp
495eec10d478be63dfc41b307e4a2db22cd77b78
[ "MIT" ]
permissive
EvanCGriffin/soccergame
4f542db93a532aa202a90497fd3c6bd18805b8f0
8056b39a4c7adfab3aa47333237474fc8250e7ac
refs/heads/master
2020-05-25T10:19:40.417860
2014-03-02T19:17:24
2014-03-02T19:17:24
17,344,069
2
0
null
null
null
null
UTF-8
C++
false
false
795
cpp
GameScreen.cpp
#include "GameScreen.h" #include "Engine.h" GameScreen::GameScreen() :paused(false) { } GameScreen::~GameScreen(void) { components.clear(); } void GameScreen::LoadContent() { } void GameScreen::HandleInput(Input input) { for (compIter = components.begin(); compIter != components.end(); compIter++) (*compIter)...
7332fd89a98146818264b9c5337aaa3193dea53c
32bdcae61d616a4a711564f23123a730592f18af
/repeating/struct2.cpp
f85a7269be7f054727330c67b9d5eeb00da7fbe0
[]
no_license
ndina/competitive-programming
e47ebc9a9bdf81ee49668116bd2238f588c30718
be4896d05d350bfcb890e26a9f40d7ef7a4c008b
refs/heads/master
2020-03-19T10:25:08.074327
2018-06-22T08:58:39
2018-06-22T08:58:39
136,368,286
2
1
null
null
null
null
UTF-8
C++
false
false
398
cpp
struct2.cpp
#include <iostream> #include <algorithm> using namespace std; struct f{ string n,s; double a1, b ,c; //r1, r2 ,r3; }; int main(){ int n; double r1 = 0, r2 = 0, r3 = 0; cin >> n; f a[n]; for(int i = 0; i < n; i ++){ cin >> a[i].n >> a[i].s >> a[i].a1 >> a[i].b >> a[i].c; r1 += a[i].a1; r2 += a[i]....
11230dfc0be2283d8f5bb000889e5625606fef47
a878a9e9fabe8538fef85a3eb90f05751db97713
/src/Hpipe/CppEmitter.h
747df5f52ed6fb8be3bee84ab73947f49515d48e
[ "Apache-2.0" ]
permissive
hleclerc/Hpipe
7ba638e7db8cf8709f61e9f3adf2b00ca0cc712c
5ac7fa1fa2a2a4aaf2826ae793c799ddd828ac6c
refs/heads/master
2020-05-21T19:14:22.645379
2017-06-01T22:15:52
2017-06-01T22:15:52
60,592,056
2
0
null
null
null
null
UTF-8
C++
false
false
2,282
h
CppEmitter.h
#pragma once #include "InstructionGraph.h" namespace Hpipe { /** */ class CppEmitter { public: using VariableMap = CharGraph::VariableMap; using Variable = CharGraph::Variable; enum { BT_HPIPE_CB_STRING_PTR, BT_HPIPE_BUFFER, BT_BEG_END, BT_C_STR, }; CppEmitter();...
5e65f11afb12d99d7902042fb0bf1c35feb7f2a5
8a363d876cfe7bd0a39db63e0fc88c326db587d8
/source/resource/core/settings/cxStateService.h
3ac41626738f6095c2911f89bba6666049733652
[ "BSD-3-Clause" ]
permissive
SINTEFMedtek/CustusX
07c3df5ee388040c0ee1c5225221b688bed1f929
8a9561f3461534bce8039ab10aa61d85fde4de31
refs/heads/develop
2023-07-06T07:17:16.709351
2023-06-27T09:21:06
2023-06-27T09:21:06
980,970
62
22
NOASSERTION
2023-02-16T00:55:29
2010-10-12T11:32:57
C++
UTF-8
C++
false
false
3,730
h
cxStateService.h
/*========================================================================= This file is part of CustusX, an Image Guided Therapy Application. Copyright (c) SINTEF Department of Medical Technology. All rights reserved. CustusX is released under a BSD 3-Clause license. ...
3cbfa2435794cd08a1b2d09710a7c3da2b46f988
01dbe06e8ad0d7da2635604650edbbd8f1dd5cf8
/cpp/src/rz/rz-kauvir/rz-graph-token/valuer/rz-lisp-graph-function-info.cpp
349bc8355c350393786f8634970d85baba59dbf4
[ "BSL-1.0", "LicenseRef-scancode-proprietary-license" ]
permissive
scignscape/SubjectiveSpeechQualityMeasurement
ccfe93d4569d45d711eb6a92c842cac9ae4a5404
ab68b91108f3f1d7086ea1ac9a8801c063dc9bff
refs/heads/master
2020-04-04T11:24:26.062577
2018-12-02T04:44:44
2018-12-02T04:44:44
155,889,835
0
1
BSL-1.0
2018-11-13T17:09:00
2018-11-02T16:02:47
C++
UTF-8
C++
false
false
414
cpp
rz-lisp-graph-function-info.cpp
// Copyright Nathaniel Christen 2018. // 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) #include "rz-lisp-graph-function-info.h" USING_RZNS(GBuild) void RZ_Lisp_Graph_Function_Info::pr...
42cb0a00aaa6d63e5b537235bf0cc7488e73e703
047f795075d1170878b0a1b5798777afb82ba7d5
/ra4/scatter.cxx
9522d96915f154225974e1afd181ec78520d1e68
[]
no_license
heller3/wh_draw
1de808549001a11298f84bf3afd9162800113f26
7fdfbf697b20f404dedc1022b631c3d109810d01
refs/heads/master
2021-08-29T14:02:37.070549
2021-08-17T21:03:33
2021-08-17T21:03:33
164,376,980
0
2
null
2020-09-21T21:23:16
2019-01-07T04:11:32
C++
UTF-8
C++
false
false
8,726
cxx
scatter.cxx
#include "ra4/scatter.hpp" #include <cstdlib> #include <iostream> #include <string> #include <vector> #include <memory> #include <unistd.h> #include <getopt.h> #include "TError.h" #include "TColor.h" #include "core/baby.hpp" #include "core/process.hpp" #include "core/named_func.hpp" #include "core/plot_maker.hpp" #...
58f35056cb53c7d20db8d8849624e1b5c3ab5de7
9091a2844e2bdc33db4ad2a561b2dea00c3fd796
/MyDrive.build/module.django.cpp
5ab8f430d0d78aac82186a241a278b2f6037b586
[]
no_license
nalini123/PICT-Drive
46d4ea24b7d28bd5f35cc1439e1eecf4652bf48e
d1b4a94b3a8652a97b37de26d943135ee1556acd
refs/heads/master
2021-01-20T23:48:17.128543
2015-08-09T06:15:52
2015-08-09T06:15:52
null
0
0
null
null
null
null
UTF-8
C++
false
false
25,633
cpp
module.django.cpp
// Generated code for Python source for module 'django' // created by Nuitka version 0.5.5.3 // This code is in part copyright 2014 Kay Hayen. // // 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 Licens...
9cc72cfc09ec4208c1556d7bdc30660ce7e96b0e
a3d6556180e74af7b555f8d47d3fea55b94bcbda
/media/cast/cast_config.cc
6ddb5e693f0dc4b8a6d05cfa509177704899dbb3
[ "BSD-3-Clause" ]
permissive
chromium/chromium
aaa9eda10115b50b0616d2f1aed5ef35d1d779d6
a401d6cf4f7bf0e2d2e964c512ebb923c3d8832c
refs/heads/main
2023-08-24T00:35:12.585945
2023-08-23T22:01:11
2023-08-23T22:01:11
120,360,765
17,408
7,102
BSD-3-Clause
2023-09-10T23:44:27
2018-02-05T20:55:32
null
UTF-8
C++
false
false
3,927
cc
cast_config.cc
// Copyright 2013 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "media/cast/cast_config.h" #include "media/base/audio_codecs.h" #include "media/base/video_codecs.h" namespace media::cast { AudioCodec ToAudioCodec(Codec codec) { ...
db9ba43f3b3cd3b6019fbc51dc97f937be3a4adc
e37e526a9ea114994f8b419eb7404ddf28398171
/Wound Segmentation/wound_segmentation_form.cpp
ce3219a10f22004739c4933ead4340c66841ae8f
[]
no_license
tobygameac/Wound-Segmentation
61f595b78590614a508e74df8cdf0dcb972f6004
7d6b611880db0f850a4316b7515afcb0a88ef5c6
refs/heads/master
2020-02-26T17:01:06.385859
2016-10-04T04:58:19
2016-10-04T04:58:19
48,569,484
1
0
null
null
null
null
UTF-8
C++
false
false
369
cpp
wound_segmentation_form.cpp
#include "wound_segmentation_form.h" using namespace System; using namespace System::Windows::Forms; [STAThread] int main(array<String^> ^args) { Application::EnableVisualStyles(); Application::SetCompatibleTextRenderingDefault(false); WoundSegmentation::WoundSegmentationForm wound_segmentation_form; Applicat...
3286c7de0636280132da727446cab0a960e9b721
ce6f5f7cb0e13c8e81d246f77963c0be9c04b878
/C++/uva621.cpp
320a9c8b2f9be6569f6a5139336c5bf7f46a420c
[]
no_license
HankLyu/NCPC_pratice
63d629665c2afa98e724a1a7cff8effcfd4fd2ad
3ecfa0067a281fdaf7f81cb4ba88904b1f0a5fad
refs/heads/master
2021-01-20T02:47:42.979283
2014-12-03T03:07:44
2014-12-03T03:07:44
null
0
0
null
null
null
null
UTF-8
C++
false
false
488
cpp
uva621.cpp
#include<cstdio> #include<iostream> #include<cstring> #include<string> #define maxx 40 using namespace std; int main() { int test; string s; scanf("%d",&test); while(test--){ cin>>s; int len=s.length(); if(len==1 && (s[0]=='1' || s[0]=='4')) printf("+\n"); else if(len==2 && s[0]=='7' && s[1]=='8') ...
7b4eec5cda3c158fdd82004886ee78a2147cb2ac
8dd61530024fc5bf045cac5cad5cef5df25f1cfe
/An I/Algoritmica Grafurilor/Adaugare muchie noua la apcm - Kruskal.cpp
0c234d341625682c94f826c0beb55b4b6e9b602f
[]
no_license
SeverinDragos/Universitate
b91dedf518b23d6d39ccbc0952444f75bed6904a
1201a0614fc66ff5d173fdd4c2fcd5233b8f1ce2
refs/heads/master
2020-04-27T21:29:12.608114
2019-03-09T13:41:49
2019-03-09T13:41:49
174,698,761
0
0
null
null
null
null
UTF-8
C++
false
false
3,931
cpp
Adaugare muchie noua la apcm - Kruskal.cpp
#include <iostream> #include <fstream> #include <stdlib.h> #include <vector> #include <cstring> using namespace std; struct muchie { int vf1, vf2, pondere; }; int cmp (const void* a, const void* b) { return ((muchie*)a)->pondere - ((muchie*)b)->pondere; } void Initializare (int u, int* tata, int* h) { tata[u]...
9a9f43f8772f354bef355a8df469df18db231976
19782ae15716e723fbfe7cee6fd425a645b6e0fa
/Packt_CreatingGamesWithAI/Basics/Helpers/IdManager.hpp
604a631fe75e23c9ea27c68d8dfe4dbc17a55318
[ "MIT" ]
permissive
PacktPublishing/Hands-On-Game-AI-Development
b91ff950472694b82c53b76a41ba98f4a96debe2
27328e4658bfd1606abe51cc14a8adbe8c752d76
refs/heads/master
2021-04-26T22:18:45.786513
2021-01-14T15:40:01
2021-01-14T15:40:01
124,068,805
9
6
null
null
null
null
UTF-8
C++
false
false
628
hpp
IdManager.hpp
// // IdManager.hpp // Packt_CreatingGamesWithAI // // Created by Cihan Ozer on 07/03/2018. // Copyright © 2018 Cihan Ozer. All rights reserved. // #ifndef IdManager_hpp #define IdManager_hpp #include <queue> #define ID_Manager IdManager::getInstance() // Helper class for managing given IDs class IdManager { pu...
047ad13c55ee3180241cf3fae960c72929279d31
39a894abfd04331d3ef4efe0f9a3b19c6150f695
/projects.cpp/vc6-projects/WBASE/Tfcvt.h
2cdf3d7b3885b97818e7d4d3ba5222db9c13868a
[]
no_license
kbergerstock/myProjects
dc9fd761e6521946804f0e54c3241a3bfa3c3d77
7238d9c18223958f903aa56fa8080ec9840c0bc4
refs/heads/master
2023-08-22T02:59:34.808450
2021-09-18T20:30:41
2021-09-18T20:30:41
407,316,497
0
0
null
null
null
null
UTF-8
C++
false
false
964
h
Tfcvt.h
#ifndef __WINDOWS_H #define STRICT #include "windows.h" #endif #include "tstack.h" #ifndef __TFCVT_H #define __TFCVT_H template <class TYPE> class TFCVT { private: int DecimalPos; int NumDigits; public: TFCVT() { DecimalPos = 3; NumDigits = 0;} void SetDecimalPos(int p) { DecimalPos = p;} void SetNumDigi...
317fc8e515c126f6774ba2bd8ecd650fa55b19e1
6068ba18ad958a56082844188765d6bfc6e512fa
/src/main.cpp
58efff0ba59556c6152837f355e02b18fee5a098
[]
no_license
ZeitLab-SputterAutomation/sputterautomation
695a3edf318d61d262fa79848a39332265e9081d
59c37239741a6862b46475de7d256a75e10ab39a
refs/heads/master
2020-03-22T10:48:55.679596
2018-12-24T02:16:42
2018-12-24T02:16:42
139,928,669
0
0
null
null
null
null
UTF-8
C++
false
false
898
cpp
main.cpp
#include <iostream> #include <QApplication> #include "config/config.h" #include "logging/logging.h" #include "mainwindow.h" #include "stacktrace.h" int main(int argc, char *argv[]) { try { logging::init(); config::init(); QApplication app(argc, argv); MainWindow window; ...
455b275060ce0b3516c3f7098a0d994baf829683
a5a99f646e371b45974a6fb6ccc06b0a674818f2
/DataFormats/HcalRecHit/src/HcalCalibRecHit.cc
9c921f42915a7e6aae837f99146d89c9fd6dfe90
[ "Apache-2.0" ]
permissive
cms-sw/cmssw
4ecd2c1105d59c66d385551230542c6615b9ab58
19c178740257eb48367778593da55dcad08b7a4f
refs/heads/master
2023-08-23T21:57:42.491143
2023-08-22T20:22:40
2023-08-22T20:22:40
10,969,551
1,006
3,696
Apache-2.0
2023-09-14T19:14:28
2013-06-26T14:09:07
C++
UTF-8
C++
false
false
424
cc
HcalCalibRecHit.cc
#include "DataFormats/HcalRecHit/interface/HcalCalibRecHit.h" HcalCalibRecHit::HcalCalibRecHit() : id_(), amplitude_(0), time_(0) {} HcalCalibRecHit::HcalCalibRecHit(const HcalCalibDetId& id, float ampl, float time) : id_(id), amplitude_(ampl), time_(time) {} std::ostream& operator<<(std::ostream& s, const HcalC...
3a2215de8e5415583b8ecab0836089878da3df07
aea7d4e41b6b8847e5cd6f2a9df89688e894f6e4
/src/eqclass.hpp
537b2eadb4ecf7f5880d31f5c88b8fbb33e705a4
[ "NCSA" ]
permissive
netarch/neo
8284b44371614ae029efed99304c7798aa605671
82db0a66a69b55e131173f82204ae77110bc24d8
refs/heads/master
2023-08-04T16:38:30.260181
2023-07-23T21:08:11
2023-07-23T21:08:11
183,942,096
10
5
NOASSERTION
2022-10-31T04:20:13
2019-04-28T18:03:51
C++
UTF-8
C++
false
false
1,215
hpp
eqclass.hpp
#pragma once #include <set> #include <string> class EqClass; #include "ecrange.hpp" /* * An EqClass (instance) is a set of ECRanges (a continuous range of IP * addresses), where any packet with its destination (or source) inside the * ranges has the same behavior. The ranges are disjoint. */ class EqClass { priv...
42460ad232374e4566956b18c9b1cc657a9a984c
0d5522e449d27e91a2f0c736280029f46ba3f487
/ObjLoader.h
a754e1c055811b80c70cdb29001b35ed5787c436
[]
no_license
shixinsb/openGL
c0619d10cc314e3496c4181ff49251f5708c855a
639b894f8858b28f67740bcca88fe108bc4b420c
refs/heads/master
2021-01-18T17:23:56.667461
2017-04-05T18:58:08
2017-04-05T18:58:08
86,793,621
0
0
null
null
null
null
UTF-8
C++
false
false
2,406
h
ObjLoader.h
/* * ObjLoader.h * * Created on: 2017年4月5日 * Author: xshi */ #ifndef OBJLOADER_H_ #define OBJLOADER_H_ #include <GL/glew.h> #include <fstream> #include <iostream> #include <complex> #include <cstdlib> #include <string> #include <vector> class ObjLoader { private: std::vector<GLfloat> points; std::vector<G...
a4fe1644a2b5cc40f27ce5051beb7cc40e8453f8
549cd46ea13a50424bfa5f82bc323ae6fbf91581
/sub_test.hpp
cd56ed086aab02244583e10b0b645018645d78c0
[]
no_license
vendlou/composite
2b9c4e81b230b53e13a4b236269fcddc182c3207
2f2d565c3c7319e676e85b64778246cdb18d5fe4
refs/heads/master
2020-11-26T19:24:02.545699
2019-10-31T22:34:17
2019-10-31T22:34:17
229,184,403
0
0
null
null
null
null
UTF-8
C++
false
false
275
hpp
sub_test.hpp
#ifndef __SUB_TEST_HPP__ #define __SUB_TEST_HPP__ #include "gtest/gtest.h" #include "op.hpp" #include "sub.hpp" TEST(SubTest, SubTest1) { Op* left = new Op(8); Op* right = new Op(2); Sub* sub = new Sub(left,right); EXPECT_EQ(sub->evaluate(), 6); } #endif
a25dd13d07733efe1174ef58c5ddab76d6ec378c
e62b72f6fcdfe40575997e237d8b5bd05b00236f
/connectfour.h
e6ba0ee6849bfd90268333e31b085e99a9fd85c5
[]
no_license
COP3503Checkers/GameBox
8614849f0f897f15779a7c7e667594b3737d60ce
9ef792b81c6e6670fd4a1ec524e789ed7bf74450
refs/heads/master
2021-06-06T17:28:01.440221
2016-04-20T08:39:08
2016-04-20T08:39:08
54,787,583
1
0
null
null
null
null
UTF-8
C++
false
false
6,963
h
connectfour.h
#ifndef CONNECTFOUR_H_ #define CONNECTFOUR_H_ namespace con4 { //defined as const variables instead of #define // to avoid problems with multiple declarations //constants here const int VACANT = 0; const int RED = 1; const int BLACK = -1; //board dimensions const int ROW = 6; const int COL = 7; //helper functions, ...
4ae17cac718854797eeb7d7461afe40ad3f76419
c1b44e9322f13e96368f6698e4a75a83c18624ac
/widget.h
0e310f070355c9cbb6161cad871340205f1d4fdd
[]
no_license
midmva/MyProject
eaf1f0fde178b0a2a16ec74beb49fe21c51378d8
fe2d82a6eeda7fa06330e413996916fa7bbcfe7b
refs/heads/master
2020-12-24T13:53:28.668723
2015-03-11T07:43:52
2015-03-11T07:43:52
32,001,413
0
0
null
null
null
null
UTF-8
C++
false
false
413
h
widget.h
#ifndef WIDGET_H #define WIDGET_H #include <QWidget> #include <QHBoxLayout> #include <QVBoxLayout> #include "spider.h" #include "struct.h" namespace Ui { class Widget; } class Widget : public QWidget { Q_OBJECT public slots: void addSpider(); public: explicit Widget(QWidget *parent = 0); ~Widget();...
68b795ff335b9890fa138875a17fb0ccbefb3a82
9914266a26076c07f1bfbb1313f1970375fbed33
/Beispiel_Kompositum/Kompositum.cpp
59393cc113338840bf9266d9e0fde4c1d421f3ee
[]
no_license
lukasmerk/programming2
9882b29b166c10305b52231b1c1e27034ee9cee0
7647fd6743b40d42cdfc5aea7a4e5eeba5272637
refs/heads/master
2021-06-16T08:21:55.063526
2017-05-24T08:48:45
2017-05-24T08:48:45
null
0
0
null
null
null
null
UTF-8
C++
false
false
684
cpp
Kompositum.cpp
#include "Kompositum.h" Kompositum::Kompositum(int z) { zahl = z; for (int i=0; i<MAXKOMP; i++) { komponenten[i] = 0; } aktuelleAnzahl = 0; } Kompositum::~Kompositum(void) { } bool Kompositum::fuegeHinzu (Komponente* k) { bool retval = false; if (aktuelleAnzahl < MAXKOMP) { komponenten[aktuelleAnzahl] ...
4fbd50aa0efc4ee02138dbb251c1a406fe06ddfc
c1f3cf1bb6e2a0be181630ea2a992d971b37b278
/iobus/iobus.h
141509495249baf00fde2c04dfcecc102eabe348
[]
no_license
leeonky/clayer
1f00b7ccafec6450b6672f714dd4e9c39bf962e9
26216dac5c1979118f207a502a662afd04a8b353
refs/heads/master
2023-08-24T08:45:01.410961
2021-10-07T14:43:34
2021-10-07T14:43:34
107,023,342
1
0
null
null
null
null
UTF-8
C++
false
false
1,591
h
iobus.h
#ifndef IOBUS_H #define IOBUS_H #include <functional> #include <cstdlib> class iobus { public: iobus(FILE *in, FILE *out, FILE *err) : file_in(in), file_out(out), file_err(err), line(nullptr), arguments(""), processed(true) {} ~iobus() { free(line); } void post(const char *format, ...); void post_some(const char...
eb3ccaf29422aff01bc0635d9e8d8d5cdd0ae23b
63a87dbee6a1af2af8a0890b6e50b5b22cff3d5e
/src04024.cpp
eccaae36948be176dcd2462f84e57065e4953983
[]
no_license
startergate-learns-stuff/Learn-CPP
19d14c8190319bd1266f021ea09f6691d433cbfb
8f4e6378c020fa821f046f50a7bcccb8aa06d32e
refs/heads/master
2020-04-26T23:36:24.738513
2019-06-17T04:56:42
2019-06-17T04:56:42
null
0
0
null
null
null
null
UTF-8
C++
false
false
855
cpp
src04024.cpp
#include "stdafx.h" #include <iostream> using namespace std; class CTestData { public: CTestData(int nparam, const char *pszname) :ndata(nparam), pszname(pszname) { cout << "CTestData(int, char *): " << pszname << endl; } ~CTestData() { cout << "~CTestData()" << endl; } CTestData(const CTestData &rhs) :nda...
9c5dfe4b80ec6c6b4ff048788d8d0c6f72c92ca4
314b9c82fb7f8564cb895c6a079000749dcdeabe
/Commond/DeletePageCommand.cpp
857074753f2a1c0db542a6f89f06f880bda4b7e2
[]
no_license
HarryPottor/DesignedMode
f008ba2f727ea49a4deed5bd3be6247f258c5421
1e65a6f19f29f4ab042da95a2a2fb398aca61605
refs/heads/master
2021-01-19T11:31:29.552036
2017-02-24T10:04:24
2017-02-24T10:04:24
82,250,576
0
0
null
null
null
null
UTF-8
C++
false
false
252
cpp
DeletePageCommand.cpp
#include "DeletePageCommand.h" CDeletePageCommand::CDeletePageCommand(void) { } CDeletePageCommand::~CDeletePageCommand(void) { } void CDeletePageCommand::Execute() { ICommand::m_ppg->Find(); ICommand::m_ppg->Delete(); ICommand::m_ppg->Plan(); }
9031f92822a81fde15bab095bec3fe007dcfb831
e0847c15577361fda54f9e0f519777d8f545e761
/src/readwritexml.cpp
8072ed38681e6b53d33e4fe82648855f826f06dd
[]
no_license
rgleason/Deviation_pi
ff00f92886d91be755bbd64dead0ad1198735bc2
3ef49622b3e9b0f060293d48c5ef069e13bd7bff
refs/heads/master
2023-08-21T22:32:22.824590
2023-08-16T14:04:46
2023-08-16T14:04:46
111,655,279
0
0
null
2023-08-16T12:45:32
2017-11-22T08:14:39
C++
UTF-8
C++
false
false
10,064
cpp
readwritexml.cpp
/* * <one line to give the program's name and a brief idea of what it does.> * Copyright (C) 2017 Dirk Smits <email> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of...
ea0cde6eacb180f922118f7b12f34c1a134c8f45
f4f27ed995abc43ca779f72f40f1dff046657239
/Practice_Algorithm/difficulty1/2027.cpp
e8b22bbc966c206179fb58361e2c915010311fdf
[]
no_license
hyunho9304/Practice_Algorithm
b283a693d2e43635fa821f9c8f35d9a2edeed52d
ec3a6591959475e3514b230ef1695dd4a7d7c183
refs/heads/master
2022-02-28T13:43:23.658914
2022-02-14T07:03:48
2022-02-14T07:03:48
151,240,432
0
0
null
2022-02-14T07:03:48
2018-10-02T10:58:54
C++
UTF-8
C++
false
false
631
cpp
2027.cpp
/* 2027. 대각선 출력하기 https://swexpertacademy.com/main/code/problem/problemDetail.do?contestProbId=AV5QFuZ6As0DFAUq&categoryId=AV5QFuZ6As0DFAUq&categoryType=CODE&&& < output > #++++ +#+++ ++#++ +++#+ ++++# */ #include<iostream> #include<stdio.h> #include<string.h> #include<algorithm> using namespace std ; int main() { ...
e30da89d74c854a4da6378c2d3713b6e1a0e7704
648ffc6937bef12b2f2ac18f2e57e34910951346
/WMPRemote/SettingsDialog.cpp
dc573e4515e52f88f6cd20e2a9b1d4161dc70508
[]
no_license
zanderz/WMPRemote
71ee25796f427ffd737b686bf0b1300110707c9d
f01587db161ce2c1f10eaec9c7b0cd1089dad08d
refs/heads/master
2022-10-03T21:01:06.514347
2022-09-18T18:14:23
2022-09-18T18:14:23
45,816,750
0
0
null
null
null
null
UTF-8
C++
false
false
650
cpp
SettingsDialog.cpp
#include "stdafx.h" #include "SettingsDialog.h" LRESULT CSettingsDialog::OnInitDialog(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled) { CAxDialogImpl<CSettingsDialog>::OnInitDialog(uMsg, wParam, lParam, bHandled); SetDlgItemInt(IDC_COUNTDOWN, m_countdown); SetDlgItemInt(IDC_FORCEFADE, m_fadeout); return ...
0702cb32030425d0f228f2fdbb4017baca425e3d
d70ffa58b4cfeb21a9d7d51d530369488b2c07a2
/Redundant Connection.cpp
cc6fb4e65ccbb3d16f26f89f752c38e208186e00
[]
no_license
pramod3009/leetcode
0eb0c04e537d4a353114594debc1c792b7783e65
5f4e165b7e7d0e99607522a62a1b29d165559a83
refs/heads/master
2023-06-21T11:19:05.445737
2021-07-25T22:44:50
2021-07-25T22:44:50
273,813,595
0
1
null
null
null
null
UTF-8
C++
false
false
841
cpp
Redundant Connection.cpp
class Solution { public: int find(vector<int> &parent, int x){ if(parent[x]==x){ return x; } return find(parent,parent[x]); } vector<int> findRedundantConnection(vector<vector<int>>& edges) { vector<int> result(2,0); if(!edges.size() or !edges[0].size()){ ...
6290d848daec85edc5faf5ce4234da5947270ed0
046b675cb8529d1585a688f21563eb0209c94f19
/src/Control2012/libreoffice/com/sun/star/io/FilePermission.hpp
1321ee68d5db733c58c18f44bd4d2dac7be9147b
[]
no_license
yoshi5534/schorsch-the-robot
a2a4bd35668600451e53bd8d7f879df90dcb9994
77eb8dcabaad5da3908d6b4b78a05985323f9ba4
refs/heads/master
2021-03-12T19:41:35.524173
2013-04-17T20:00:29
2013-04-17T20:00:29
32,867,962
0
0
null
null
null
null
UTF-8
C++
false
false
1,766
hpp
FilePermission.hpp
#ifndef INCLUDED_COM_SUN_STAR_IO_FILEPERMISSION_HPP #define INCLUDED_COM_SUN_STAR_IO_FILEPERMISSION_HPP #include "sal/config.h" #include "com/sun/star/io/FilePermission.hdl" #include "com/sun/star/uno/Type.hxx" #include "cppu/unotype.hxx" #include "rtl/ustring.hxx" #include "sal/types.h" #include "typelib/typeclass....
90d15c8f127c1ad12425dcd7044bcf52ef8c28d1
b8620e9c84bd3ae180cf0f6db1695a5d7cf69a3f
/include/DetectorHit.hh
7106a4d749834812df46d8fed72b37c6e9ff97c9
[]
no_license
bsmaat/SimpleModel
be38208325e09ca49ea1476b15f13752b639eedc
3e1ce1855a96c77832bbe88e86b6504cb858b1b9
refs/heads/master
2021-01-10T12:53:57.584220
2016-02-10T14:21:45
2016-02-10T14:21:45
51,371,309
0
0
null
null
null
null
UTF-8
C++
false
false
2,199
hh
DetectorHit.hh
#ifndef DetectorHit_h #define DetectorHit_h 1 #include "G4VHit.hh" #include "G4THitsCollection.hh" #include "G4Allocator.hh" #include "G4ThreeVector.hh" #include "tls.hh" #include "G4ParticleDefinition.hh" class DetectorHit : public G4VHit { public: DetectorHit(); DetectorHit(const DetectorHit&); virtual ~Dete...
77dd612ab82ccb1723cf8a9ea11ad30ddeca8d44
089077acd7dc512a1afde017692382b0b9ada02f
/SmartHSR/HLineElement.h
de4fdf1121d6d73bcf79bc70b103e2f566890f8c
[]
no_license
lizzyly7/SmartDraw
6830b172cebcf2005366b7438d771af3faa137cf
cb891dbe66d75bbb3f692fce72e91402e1c97010
refs/heads/main
2023-04-19T05:54:52.948266
2021-05-04T11:02:01
2021-05-04T11:02:01
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,019
h
HLineElement.h
// HLineElement.h: interface for the CHLineElement class. // ////////////////////////////////////////////////////////////////////// #if !defined(AFX_HLINEELEMENT_H__9B4B8B48_2D4A_46BE_AED7_8DB43C747FD1__INCLUDED_) #define AFX_HLINEELEMENT_H__9B4B8B48_2D4A_46BE_AED7_8DB43C747FD1__INCLUDED_ #if _MSC_VER > 1000 #pragma ...
1b7f695cf13a3c07c2d8c6683841380e56ab7756
6fcb7cc80abe2f1b249525d7dfe973c62b106c85
/TXT/TXTDlg.h
f6031c4831c24898e76e70e7a2f947cbf5262f31
[]
no_license
qq635938204/TXT
e64887a547e0e14e4796ef8faa84b9ab9195ed92
96b0276a60a718936acc8fcfb5a1bbb10c9c2d34
refs/heads/master
2020-03-30T10:38:14.568605
2015-03-27T09:43:38
2015-03-27T09:43:38
32,063,441
0
0
null
null
null
null
GB18030
C++
false
false
917
h
TXTDlg.h
// TXTDlg.h : 头文件 // #pragma once #include "afxwin.h" // CTXTDlg 对话框 class CTXTDlg : public CDialogEx { // 构造 public: CTXTDlg(CWnd* pParent = NULL); // 标准构造函数 ~CTXTDlg(); // 对话框数据 enum { IDD = IDD_TXT_DIALOG }; protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持 // 实现 protected: HICO...
09bc53af8b0e0219409c36e6244fc4c9dd73e0f2
c4a94f04fcb9215ff55f855798f16d183ac8fd86
/Snake/menu.h
3b741195af9fa9c4011cfc297805e4e37ddc83d7
[]
no_license
happyCode2020/Snake
96851e15f91e0cfaf4de6c126b1ef8ab0b0e41c5
8fdc7176ff8fc9d0829b22ca45dc3fffd349a4b5
refs/heads/master
2021-02-27T01:03:22.954634
2020-03-20T00:26:10
2020-03-20T00:26:10
245,565,483
0
0
null
null
null
null
GB18030
C++
false
false
958
h
menu.h
#pragma once #include"include.h" #define MENU_FIRST_X 34 //菜单的水平位置 #define MENU_FIRST_Y 10 //菜单的竖直位置 #define KEY_DOWN(VK_NONAME) ((GetAsyncKeyState(VK_NONAME) & 0x8000) ? 1:0) //检测是否按下VK_NONAME键 using namespace std; class menu { static bool menuFlag; static bool flagUP; static int choiceNum; static bool game; stat...
6e0ab82a92953a91c4c3b73b1f03a0c03bbba022
8d74ac4708e6c58662ca2daa18f4af86d138c719
/shared/xstring/xstring.h
e9cf572e95ec5cb96a080422f80899af9c29aff3
[]
no_license
mr-nv/phantomhack
760bcc6bd54ba37d77414e674c2a7a46e179fb73
bf9a8b221fc5c62171517cb71744ce391bc53e3a
refs/heads/master
2023-02-26T10:34:28.705391
2021-02-02T18:31:36
2021-02-02T18:31:36
335,384,137
0
1
null
null
null
null
UTF-8
C++
false
false
12,517
h
xstring.h
#pragma once /* ****************************************************** *** Created by Fullmetal Alcoholic in 2018 *** *** Subject: xstring (xstringA/xstringW) *** *** Description: xor encrypted thread-safe string *** ****************************************************** Formatting Guide: Both ...
34718fd54dbeb2f8a5b04ae9f5862c1a3f5aff9c
957d669a64358ac792f109f5930288fa858d89ac
/TheRayTracerChallengeTests/TransformTests.cpp
baed191ac237699032443752edc0dc8de29c3989
[]
no_license
AdrianGerber/TheRayTracerChallenge
130d60b6e541193af60800b2ff75c74a8dceb10e
6a39a555a62d9fd0389f82e9d078f379c55875d6
refs/heads/master
2020-05-01T12:16:28.080810
2019-05-10T19:02:47
2019-05-10T19:02:47
177,462,004
4
1
null
null
null
null
UTF-8
C++
false
false
5,775
cpp
TransformTests.cpp
#include "stdafx.h" #include "CppUnitTest.h" #include <Matrix.h> #include <Transform.h> #include <Constants.h> #include <Tuple.h> #include <cmath> using namespace Microsoft::VisualStudio::CppUnitTestFramework; using namespace RayTracer; namespace TheRayTracesChallengeTests { TEST_CLASS(TransformTests) { p...