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
5ccb6bf74802a79f77bfe5918645f6ddf686f3fd
c5b94dc43c2dd4b3579416d783f99463dd5803ef
/PIR_gate_code.ino
081974f1b4ef8524a52cfbeb37521598ce583dcf
[]
no_license
hailey-ahn/PIR-sensor---Light-control-gate
2b499a4d3e56475f6e87655f4bbef968e560a87c
f2cbcc2b0ae81494392f1e49f107de2218ce56fd
refs/heads/master
2022-11-22T14:40:46.655911
2020-07-20T09:40:51
2020-07-20T09:40:51
281,073,588
0
0
null
null
null
null
UTF-8
C++
false
false
1,400
ino
PIR_gate_code.ino
int count = 0; // define a new variable 'count' // and set the default value to be 0 void setup() { // setup code, this is run once: Serial.begin(9600); //Allow serial communication between MSP430 and the computer pinMode(8, INPUT); //Pins are set up as input or output pinMode(7, I...
17287e255d971aca929c5e29d3b9e4718c481d20
09fa2dd63ce3a0017df8a1ceded0c3083e713395
/src/BulletPool.cpp
6a55f230e191b2dc6f5827042f234d1a7a5a6206
[]
no_license
megazeroxzvk/GAME2005-Assignment-3
02c525535f32116692b61749ea603ca35ce535d6
46163adc5f7f255622b7faf5627b51663962c0db
refs/heads/main
2023-01-19T21:03:35.838369
2020-11-27T07:01:34
2020-11-27T07:01:34
314,080,386
0
0
null
null
null
null
UTF-8
C++
false
false
5,439
cpp
BulletPool.cpp
#include "BulletPool.h" #include <iostream> #include "CollisionManager.h" BulletPool::BulletPool() { SoundManager::Instance().load("../Assets/audio/explosion.wav", "explosion", SOUND_SFX); } BulletPool::BulletPool(int size) { createPool(size); this->size = size; SoundManager::Instance().load("../Assets/audio/exp...
17c8d0213c61d4ed12ad531cc44a27ce5d7c9c98
7f11f0dedb5930d98875a4c47a579206294d6e0c
/arm9/generic/bresenstate.h
f0cb95d4fc20b2ce94fbdc661a2b3584db402c54
[]
no_license
nornagon/torch
a270d50fe504f0fad6f3bca2c0011befd328d391
1527a11a6b2cc0501dfd0f80b46ce8ca8bd060a7
refs/heads/master
2021-01-19T10:39:39.999569
2011-06-07T12:45:10
2011-06-07T12:46:09
1,859,702
0
0
null
null
null
null
UTF-8
C++
false
false
428
h
bresenstate.h
#ifndef BRESENSTATE_H #define BRESENSTATE_H 1 #include <nds/jtypes.h> class bresenstate { public: bresenstate(s16 x0_, s16 y0_, s16 x1_, s16 y1_); bresenstate(); void reset(s16 x0_, s16 y0_, s16 x1_, s16 y1_); void step(); s16 posx(); s16 posy(); s16 destx(); s16 desty(); private: bool steep, rev...
2064b4a61ba2db40ab78da7409b3df85547403d6
22b13f49f3b3b9916e344ed6c8e2a62f216b952b
/Library.hpp
50a6db7de98ebf1c2bfbd7e7651e6dbc8a8a89b3
[]
no_license
silbertt/Library-Simulator
795f4ec5f87569b04be8d1deec702ebad0104e12
7d2170e34b125d29e2092898dd4d3c9cc3030b30
refs/heads/master
2021-01-22T22:28:00.193189
2017-05-29T21:25:02
2017-05-29T21:25:02
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,117
hpp
Library.hpp
/********************************************** **Author:Teage Silbert **Date:3/15/15 **Description:This Program is a simulator of a library **system allowing the user to create members, books, **request books, check them out, and accrue and pay fines **********************************************/ #ifndef LIBRARY_HPP...
e5cb0c7f0ea46629327debb8323576ed40385e36
0c93b41c466fa3e4d52fb6fd923cf770977ef007
/Project 1/Project 0 copy/Game.h
81fb461fcb4634391ec56c6d983325215fb8fbbc
[]
no_license
elihan27/CS-32
6620d83f093549c43f7f637541bbec83a23598d8
6d3b712f8380946932779b7809a3d841caa70eb5
refs/heads/master
2020-03-26T01:06:41.119630
2018-11-01T08:32:19
2018-11-01T08:32:19
144,352,114
0
0
null
null
null
null
UTF-8
C++
false
false
517
h
Game.h
// // Game.h // Project 0 // // Created by Elizabeth Han on 1/16/17. // Copyright © 2017 Elizabeth Han. All rights reserved. // #ifndef GAME_INCLUDED #define GAME_INCLUDED #include <string> ///remove later. using namespace std; class Arena; class Game { public: // Constructor/destructor Game(int rows, in...
0bdc62ff93247913c9019a57a60fadd114685fb8
d0f098625be010bc98040a0690aa02508b4a391b
/class/RenderPassBase.cpp
f849d415cdf5f2850628aa35cf201115ee73cb42
[ "MIT" ]
permissive
rollyhuang/VulkanLearn
7e2be5a4daf70de59563d4c2bf13a333607c4665
29fb429a3fb526f8de7406404a983685a7e87117
refs/heads/master
2023-05-07T17:50:18.399684
2021-05-29T08:41:54
2021-05-29T08:41:54
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,000
cpp
RenderPassBase.cpp
#include "../vulkan/RenderPass.h" #include "../vulkan/GlobalDeviceObjects.h" #include "FrameWorkManager.h" #include "../vulkan/CommandBuffer.h" #include "../vulkan/Framebuffer.h" #include "../vulkan/Image.h" #include "RenderPassBase.h" bool RenderPassBase::Init(const std::shared_ptr<RenderPassBase>& pSelf, const VkRen...
a44d3224ba02b7c1e3f76b2b90bdea03c1614588
45ab5256040b5160b97c6786accb8a60dd4fa0bf
/src/Editor/GUI/Editors/TriggerEditor.hpp
0478d42eae0a18a5a1403118673a250e709ab041
[ "MIT", "LicenseRef-scancode-public-domain" ]
permissive
Chainsawkitten/HymnToBeauty
9e5cb541661a9bdb8e8ee791df8e1f5bd9a790e4
c3d869482f031a792c1c54c0f78d4cda47c6da09
refs/heads/main
2023-07-27T12:40:27.342516
2023-06-23T13:15:05
2023-06-23T14:08:14
33,508,463
11
4
MIT
2023-06-23T14:08:15
2015-04-06T22:09:26
C++
UTF-8
C++
false
false
551
hpp
TriggerEditor.hpp
#pragma once #include <cstdint> namespace Component { class Trigger; } namespace GUI { /// Editor controls for the trigger component. Displays a modal window with /// settings for a given trigger component. class TriggerEditor { public: enum Cases { PROPERTIES = 0, SUBJECTS, NUMBER_OF_CASES }; /// Open th...
51349c69275cb3acf9b1b173c46045625c8bc545
00fa1f0c01414def3326b882dd23e9ccdd61d6f4
/src/AssimpModel.hpp
d1939f500028f14b9ffee59b0ef4afe4991fa5d7
[]
no_license
ThibaultFievet/toon-shading
03f13f80d2f1c9b105e6047a6beca9805aba0423
c9402247eaecc9dcfc930f72cd62c8a61b20b911
refs/heads/master
2020-06-07T21:58:45.996295
2015-03-23T23:50:22
2015-03-23T23:50:22
32,433,675
0
0
null
null
null
null
UTF-8
C++
false
false
1,543
hpp
AssimpModel.hpp
#pragma once #include <iostream> #include <string> #include <vector> #include <map> #include "glew/glew.h" #include "VBO.hpp" #include "VAO.hpp" #include <assimp/Importer.hpp> // C++ importer interface #include <assimp/scene.h> // Output data structure #include <assimp/postprocess.h> // Post processing flags #includ...
346873131b991f93e4628d470b32019694ecc19d
44ffe14c37baf3b16932c00677d8b35575f32755
/src/xtopcom/xstatestore/src/xstatestore_exec.cpp
e1166b4622387908b29324e32f34c82d3560ae5a
[]
no_license
telosprotocol/TOP-chain
199fca0a71c439a8c18ba31f16641c639575ea29
1f168664d1eb4175df8f1596e81acd127112414a
refs/heads/master
2023-07-25T01:24:34.437043
2023-06-05T01:28:24
2023-06-05T01:28:24
312,178,439
13
46
null
2023-07-18T01:09:29
2020-11-12T05:38:44
C++
UTF-8
C++
false
false
60,317
cpp
xstatestore_exec.cpp
// Copyright (c) 2017-2018 Telos Foundation & contributors // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <string> #include "xbase/xutl.h" #include "xbasic/xmemory.hpp" #include "xdata/xtable_bstate.h" #include "xdata/...
b1f49d1649c1cf9aab23741cf38739b97d449cc5
75dcd19fc0d87bb9a120f239f0c32bba220ab0e1
/第14讲for2/素数.cpp
d237e41211e34ccd2cee49341b9d590669b945e6
[]
no_license
webturing/ahaC2020
502964d8ea9b391bfd0dd2bd78fb6a48ee258e79
6c79db49d727177a1bb121c57442935fc0b05ac4
refs/heads/master
2021-05-17T23:08:45.167336
2020-05-04T04:41:42
2020-05-04T04:41:42
250,994,021
0
0
null
null
null
null
UTF-8
C++
false
false
169
cpp
素数.cpp
#include<stdio.h> int main() { int n=2147483647; int s=1; int i; for(i=2; i<=n/i; i++) { if(n%i==0) { s=0; break; } } printf("%d\n",s); return 0; }
5cf5b09799844074520d2876eacb3c816cc0f2b2
b5a9d42f7ea5e26cd82b3be2b26c324d5da79ba1
/tensorflow/core/kernels/data/dataset_ops.h
a52b4aaea315b30c0c4286f7c381323920b9e3d3
[ "Apache-2.0" ]
permissive
uve/tensorflow
e48cb29f39ed24ee27e81afd1687960682e1fbef
e08079463bf43e5963acc41da1f57e95603f8080
refs/heads/master
2020-11-29T11:30:40.391232
2020-01-11T13:43:10
2020-01-11T13:43:10
230,088,347
0
0
Apache-2.0
2019-12-25T10:49:15
2019-12-25T10:49:14
null
UTF-8
C++
false
false
1,735
h
dataset_ops.h
/* Copyright 2019 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable ...
4765746adef090e2260ac002d2b46201da036a5b
9d364070c646239b2efad7abbab58f4ad602ef7b
/platform/external/chromium_org/content/public/browser/android/synchronous_compositor.h
56689279711747f114dc926b30526665b1186a45
[ "BSD-3-Clause" ]
permissive
denix123/a32_ul
4ffe304b13c1266b6c7409d790979eb8e3b0379c
b2fd25640704f37d5248da9cc147ed267d4771c2
refs/heads/master
2021-01-17T20:21:17.196296
2016-08-16T04:30:53
2016-08-16T04:30:53
65,786,970
0
2
null
2020-03-06T22:00:52
2016-08-16T04:15:54
null
UTF-8
C++
false
false
2,255
h
synchronous_compositor.h
// Copyright 2013 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 CONTENT_PUBLIC_BROWSER_ANDROID_SYNCHRONOUS_COMPOSITOR_H_ #define CONTENT_PUBLIC_BROWSER_ANDROID_SYNCHRONOUS_COMPOSITOR_H_ #include "base/memory/r...
a05c518b9476cf38f61b3d754fcc9e0b8f8015d4
1cc5d45273d008e97497dad9ec004505cc68c765
/cheatsheet/ops_doc-master/Service/cfaq/cnote/Unity/lisp-compiler/src/Keyword.hpp
e9aef002a5dd345ca8085ab7447aae6fc0aec97f
[ "MIT" ]
permissive
wangfuli217/ld_note
6efb802989c3ea8acf031a10ccf8a8a27c679142
ad65bc3b711ec00844da7493fc55e5445d58639f
refs/heads/main
2023-08-26T19:26:45.861748
2023-03-25T08:13:19
2023-03-25T08:13:19
375,861,686
5
6
null
null
null
null
UTF-8
C++
false
false
1,046
hpp
Keyword.hpp
#ifndef KEYWORD_HPP #define KEYWORD_HPP #include "Interfaces.hpp" #include <map> #include <string> #include "Symbol.hpp" class Keyword : public Named, public Comparable /* IFn, IHashEq */ { public: virtual std::string toString(void) const; virtual std::string getName() const; virtual std::string getNamespace...
3b5bbd5181a843b7171fbd4142fcdabd5937b90a
84d38e8e0bc80cf008e1071da105b248cbb04204
/UXToolsGame/Source/UXToolsTests/UXToolsTests.cpp
13a5a8a2c67284c7f184d0aec9665675517866f8
[ "MIT" ]
permissive
microsoft/MixedReality-UXTools-Unreal
7c1ce12f9feac53ab70ba0f86e41c2b960efe90d
89f04fe23182cfecf6a0e6efe96f950272b459ae
refs/heads/public/0.12.x-UE5.0
2023-06-30T01:09:55.422370
2022-09-30T11:09:51
2022-09-30T11:09:51
235,136,059
297
87
MIT
2022-11-17T02:28:03
2020-01-20T15:40:31
C++
UTF-8
C++
false
false
667
cpp
UXToolsTests.cpp
// Copyright (c) 2020 Microsoft Corporation. // Licensed under the MIT License. #include "UXToolsTests.h" DEFINE_LOG_CATEGORY(UXToolsTests) #define LOCTEXT_NAMESPACE "UXToolsTestsModule" void FUXToolsTestsModule::StartupModule() { // This code will execute after your module is loaded into memory; the exact timing ...
01d83b9c546fc99fdb6151179e71c360478adbfc
a4fa97124f9af62485e939ed6a9c16008c987af1
/models/plane.cpp
3e631faba89c2188415dfe6c0393c46abf537439
[]
no_license
zenglenn42/conics
80f50a1b191c457d008ee6e0f1c245db734a5b8e
2b73d34783a81b868855904cdb1671abd6c0ed60
refs/heads/master
2021-05-14T08:53:27.005056
2018-02-15T04:02:47
2018-02-15T04:02:47
116,313,065
1
0
null
null
null
null
UTF-8
C++
false
false
1,648
cpp
plane.cpp
// Plane from 3 points // // This program calculates the coefficients of an equation describing // a plane that passes through 3 points. The points should be non-colinear. // // Computation fu from: // https://pihlaja.wordpress.com/2010/10/05/using-glclipplanes-and-plane-equations/ // // Example output: // // Given 3 ...
1b770807097acb4fadfd154fa07f73a4a00da710
f38ffdf6df4445b8e8294cab9b604cd4f00dd4b7
/HDU/hdu2009.cpp
868996df2f4d4b70252a03c444783cb1d36bda08
[]
no_license
aloneCR/Study
2cc41c3bc3acbf8c20ede8ec065659d0d3127750
9b90d0be7d8529dcf487eafe00008b3f93ccf498
refs/heads/master
2020-03-08T19:54:09.973812
2018-04-12T13:32:23
2018-04-12T13:32:23
128,367,567
0
0
null
null
null
null
UTF-8
C++
false
false
326
cpp
hdu2009.cpp
#include <stdio.h> #include <math.h> const int maxn = 1000 + 5; int main() { int n, m; while(scanf("%d%d", &n, &m) == 2) { double ans = n; double a = n; for(int i = 0; i < m-1; i++) { a = sqrt(a); ans += a; } printf("%.2f\n", ans); } retur...
ba6069edea4407f3cb6b7afea505eebcddb25058
1637c970bc7b46d110f09539b9befbd7285d3eb7
/CRC32CIntelSSE4.h
6d427e9fa7973106abe0d0388e945b80b9528f5f
[]
no_license
wangscript007/Forte
2fd9ef15217b56496b1d17004fe6e570be6a8421
0aa9a639d8cde809a7a832b10eee98c782de0ae1
refs/heads/master
2021-05-28T07:07:17.842774
2014-01-25T20:35:26
2014-01-27T20:44:39
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,664
h
CRC32CIntelSSE4.h
#ifndef __CRC32C_INTEL_SSE4_H__ #define __CRC32C_INTEL_SSE4_H__ #include "Clonable.h" #include "CRC.h" namespace Forte { template <unsigned int initial> class CRC32CIntelSSE4 : public CRC, public Clonable { public: typedef CRC32CIntelSSE4 this_type; CRC32CIntelSSE4() :mChecksum(initial) { ...
3e32d4929fc196d5be5e7037f8eb71c95378e49a
0c7841daa3315975292152143f77b052d06c1e7d
/meth/objectAssigment.cpp
803b02e5273e6194e8dba8c29b5984d976ce683a
[]
no_license
Ivancaminal72/PFG
e6b8a0e40cb7f1bcb414240c21aca2257953e869
3c4bddc0d362c02af6c4ccd61f19f5b58c14b69c
refs/heads/master
2021-01-20T03:49:55.553025
2017-06-26T18:19:44
2017-06-26T18:19:44
84,053,348
1
0
null
null
null
null
UTF-8
C++
false
false
10,449
cpp
objectAssigment.cpp
#include "opencv2/opencv.hpp" #include <cmath> #include <climits> #include "opencv/cv.h" #include <iostream> #include <stdlib.h> #include <sstream> #include <fstream> #include <string> #include <boost/filesystem.hpp> using namespace cv; using namespace std; namespace bf = boost::filesystem; struct TrayPoint{ int fra...
6f8fec17e3c4c18a69761589bc08df4c11df02af
def39f068050b234df9f6909d4277f96b740f11c
/E-olimp/1516. Constructing BST .cpp
bba15bf004a0b3087cb6243c9b650b9724b22685
[]
no_license
azecoder/Problem-Solving
41a9a4302c48c8de59412ab9175b253df99f1f28
a920b7bac59830c7b798127f6eed0e2ab31a5fa2
refs/heads/master
2023-02-10T09:47:48.322849
2021-01-05T14:14:09
2021-01-05T14:14:09
157,236,604
5
1
null
null
null
null
UTF-8
C++
false
false
1,169
cpp
1516. Constructing BST .cpp
#include <cstdio> #include <cmath> #include <algorithm> void buildTree(int n1, int n2, int h) { int n = n2 - n1 + 1; if((n == 0) || (h == 0)) { return ; } int powerH = pow(2, h); if((n > 1) || (h > 1)) { if(n > (powerH - 1)) { ...
9aac636cf8a03c6a5615637641e8a069712c3cb1
c8f592afec2fac4d0e9290b5c39f51af2b64934f
/src/lib/projector/Shaders.cpp
be33f7c1f0cd8e9a2a878754c248e9deb5237034
[ "MIT" ]
permissive
zhaowei11594/threescanner
6c697e481e4b7242b3850da9211ea0ef99d0ad90
7fe03ecde0c7f18c4059f42a69c59e56e854c7f2
refs/heads/master
2021-05-28T04:23:36.282773
2014-09-30T16:28:21
2014-09-30T16:28:21
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,699
cpp
Shaders.cpp
/* * Shaders.cpp * * Created on: Jul 31, 2014 * Author: alessandro.pezzato@gmail.com */ #include "Shaders.h" #include "../common/Logger.h" #include <fstream> #include <vector> #include <algorithm> namespace threescanner { std::map<std::string, GLuint> Shaders::shaders_c; GLuint Shaders::load(const std::...
b39ba98e43fd4ee1e1bf1b1739b3922a1d47eb76
8855c36e0d4cfd838e44e1097991b1bb5aeab5f9
/Kinect2/Velodyne/Velodyne.h
22b020d32e783ddc8eb72ec063cdf7111b2277de
[]
no_license
chaixun/Kinect2
fef42e42008411da8156541db2bad469970ca70e
61a51f70e3fcd374399baefa7883cee984d88cfa
refs/heads/master
2020-04-06T07:09:04.691737
2016-08-28T03:33:39
2016-08-28T03:33:39
65,733,913
0
1
null
null
null
null
UTF-8
C++
false
false
559
h
Velodyne.h
#ifndef VELODYNE_H #define VELODYNE_H #include <stdlib.h> #include <memory> #include <iostream> #include <thread> using namespace std; namespace VelodyneSensor { struct VISION_DATA { unsigned long long timeStamp; float gridMap[400][400]; int obstacleMap[400][400]; }; class VELODYNE { public: VELODY...
1dff07639e25c2dd5eaffec82b7456e881accd02
cde3f5db477212df5286cad5ff254c4038f11103
/src/Qt_Ext/QGLImageViewer.cpp
7a66908cfaf0ddf8e2d35f81206a87764baf8ad2
[ "MIT" ]
permissive
RoLiLab/tracking_microscope
a82b72c5dfe868b468ce8301aeb4f4558f6afa4b
ec68a217d252244bb850f05ab13f344aa2fbd74a
refs/heads/master
2021-06-25T11:12:22.972389
2017-09-11T05:19:52
2017-09-11T05:22:01
103,092,605
6
2
null
null
null
null
UTF-8
C++
false
false
2,314
cpp
QGLImageViewer.cpp
/////////////////////////////////////////////////////////// // // QGLImageViewer.cpp // Copyright (c) 2013 - Kane Lab. All Rights Reserved // // Jeremy Todd // ////////////////////////////////////////////////////////////////////////////// #include "Base/base.h" #include "QGLImageViewer.h" #include <QtGui/qimage.h> #in...
2a7cba579f6167e3678c18de9c141f2af4543f3c
03d1e1bf6a7d10143a0b692407d921cbbe100467
/Testcode/4.1.1.cpp
b7883a693289a33583c882dda8727a1fc5d08367
[]
no_license
Clno1/Cplusplus
32b125637fa5875b0ae58788f3c8587dffe6c15f
82306dbf3772e9fa963676190e398b78b733a6e0
refs/heads/master
2022-06-04T14:20:26.521680
2020-05-04T03:00:09
2020-05-04T03:00:09
257,590,592
0
0
null
null
null
null
GB18030
C++
false
false
879
cpp
4.1.1.cpp
#include<bits/stdc++.h> using namespace std; //C++枚举类 //可以理解为有一个CPU_Rank的类型,这个类型下有P1到P7不同的值 enum CPU_Rank { P1=1,P2,P3,P4,P5,P6,P7 }; class CPU { private: CPU_Rank rank; int frequency; float voltage; public: //CPU的构造函数 CPU (CPU_Rank r,int f,float v) { rank=r; frequency=f; voltage=v;...
97b4b15b52a2683cfb42419b7b8632b3ee860610
13dfd33a45f682559c24a93747be1e65c0187bf4
/MixMatrix/MixMatrix.cpp
6b575b076934eab526105d7692d0db388b8c0055
[]
no_license
mkaler/MixMatrix
60f02f499a9f931709476d15f2c39be1001da520
95bed63f8087ce6c3545eafab1e24d3e937644be
refs/heads/master
2021-01-25T05:57:18.513066
2017-02-02T11:19:05
2017-02-02T11:19:05
80,713,412
0
0
null
null
null
null
UTF-8
C++
false
false
1,933
cpp
MixMatrix.cpp
// MixMatrix.cpp : definisce il punto di ingresso dell'applicazione console. // #include "stdafx.h" #include "iostream" #include "string" #include "sstream" #include "PolymorphicMatrix.h" #include "vector" #include "stdexcept" /* displays the message and returns the value entred by the user */ int takeInputInt(std::s...
0122c992f2f1467073200981be366d7bb1b8a679
f2a26b818c1bfdf16c2537a56608b3f0a661b13c
/51.cpp
c929ecabad9b485b1bd915a583ffc97181ef4e98
[]
no_license
PeterMitrano/project-euler-cpp
6454e4f23be80e99c5db18c6cec9fd4a5a18c760
342f0b391b6e90bb0344234c27e47c4b0b18e672
refs/heads/master
2021-06-23T09:04:55.302704
2021-01-04T04:43:18
2021-01-04T04:43:32
162,667,462
0
0
null
null
null
null
UTF-8
C++
false
false
2,779
cpp
51.cpp
#include <iostream> #include <algorithm> #include <optional> #include <tuple> #include <utility> #include <common/sieve.h> #include <common/digiterator.h> unsigned long problem() { constexpr auto max = 1'000'000ul; constexpr auto desired_family_size = 8u; auto const primes = prime_sieve<max>(); auto ...
27300bb372f7488e4dd8d71e573858781a93f262
9bd8a5d49314a35472611dfe8946b80140c94d2c
/f.h
dc1e4e7231bb646f7ff76f2933a08a25a8a3ece2
[]
no_license
svenmcgov/cit_245
510776d5804d6a71fbccbae1fcef3f740831c262
653c2a838b1196152a335e2364eda8d92ceb216c
refs/heads/master
2021-06-12T23:14:28.944184
2017-03-27T18:08:16
2017-03-27T18:08:16
86,116,465
0
0
null
null
null
null
UTF-8
C++
false
false
80
h
f.h
// Stephen McGovern CIT-245 // 3/8/17 class f{ public: void hello(); };
e8090feec2efe21b7c60c0273587de7616aff568
061b63355d61613728f7845189da2dc82fd69e9e
/ibl/src/make/ibl_c6457/ibl_objs_template.inc
76eb221a4167be0e7c3063d4e138cead703f91ca
[]
no_license
jameskaxi/IBL
b42463c4227ed91bcf1b2cf7d668d41035f1f89b
bc2942f1245bdac5d3b75dc4ca07b5518cd6b93a
refs/heads/master
2020-04-29T01:17:23.092665
2017-10-23T14:19:41
2017-10-23T14:19:41
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,558
inc
ibl_objs_template.inc
/* ibl_objs_template.inc * * list of object files tagged with the endian field for replacement during make */ ../main/c64x/make/iblmain.ENDIAN_TAG.oc ../device/c64x/make/c6457.ENDIAN_TAG.oc ../driver/c64x/make/timer.ENDIAN_TAG.oc ../hw/c64x/make/t64.ENDIAN_TAG.oc ../hw/c64x/make/psc.ENDIAN_TAG.oc ../hw/c64x/make/em...
2efaa72c8a506270501a93760f0af2f172da3139
94ac5f2bd0a3a59621e3d9823482686121da05ac
/apps/etcdcli/etcd_cluster.cpp
abb969e21e8e784ce170c48ddedfce19526825a8
[ "BSD-3-Clause" ]
permissive
tangzhenquan/evpp
5a6986adc437279e2026fdef4b20cf03c9314ded
64c5d4d8e744f4bec5dcbd85b210d611327bb431
refs/heads/master
2020-06-18T18:00:55.344253
2019-07-19T02:41:00
2019-07-19T02:41:00
196,390,935
0
0
BSD-3-Clause
2019-07-11T12:32:58
2019-07-11T12:32:57
null
UTF-8
C++
false
false
12,577
cpp
etcd_cluster.cpp
// // Created by tom on 19-7-15. // #include <sstream> #include <assert.h> #include "rapidjson/document.h" #include "rapidjson/stringbuffer.h" #include "rapidjson/writer.h" #include "etcd_def.h" #include "etcd_packet.h" #include "etcd_cluster.h" namespace etcdcli { /** * @note APIs just like this ...
40e817cb660aae0734533cd65845a1279d571368
37cbb457c60300aac3d24cb9d44782d279f2e6af
/program3/table.cpp
da7eed140a46de316f258b0dd9a8ff08acbcd9cb
[]
no_license
dhwanilchokshi/CS163
f3118ea2e2cfbb326c6108e5d35fa9d78f257135
50ddd7ff4f6b33de5a9628a605a2e004a31bbdfb
refs/heads/master
2021-08-08T20:10:26.658792
2017-11-11T03:37:13
2017-11-11T03:37:13
110,314,747
0
0
null
null
null
null
UTF-8
C++
false
false
6,181
cpp
table.cpp
/* Dhwanil Chokshi CS163 Program 3 The purpose of this program was to create a hash table of games and their respective info. The hash table will consist of index which will be a bunch of node pointers to nodes. The nodes will carry information about the games. The game can be loaded from an external file, or the g...
b90f1b9a15bf69c787ad58c641853cdd3020e1b6
7cab9f2fd15ca942ab1411c98ac2dd01762d26ec
/hw5/Parcel.cpp
b818f2d81384afec223ddf8abfc8330d248960c1
[]
no_license
jenny075/MMT_HW5
dc1cdfbbdf0b04c4671238a865825a263dc9b721
9cb0f40d32035f96ff9082014d2a98aa1adc8255
refs/heads/master
2020-12-10T19:47:42.762101
2020-01-24T18:23:17
2020-01-24T18:23:17
233,687,281
0
0
null
null
null
null
UTF-8
C++
false
false
374
cpp
Parcel.cpp
#include "Parcel.H" //#ifndef _CRT_SECURE_NO_WARNINGS //#define _CRT_SECURE_NO_WARNINGS //#endif #pragma warning(disable:4996) Parcel::Parcel(const char* ID, int dest) { dest_ = dest; id_ = new char[strlen(ID) + 1]; strcpy(id_, ID); } char* Parcel::getID() const { return id_; } int Parcel::getDest() const { r...
f50db2f138c33d41c785c2ec9e432db60d3685a7
9e39f9f4d1c505cc724f4a812c383f523e572068
/EndGameCode2016/src/Commands/Movement/DriveToDefense.h
8e8de794ba4a3014ab8968a6c1e3fffc40049e0c
[]
no_license
FRC1716/2016-Robot
15e8d9112a2842f233979eedd1249bb145246389
ce302a7b8e27382e73b1ed494f65a50bf855b83a
refs/heads/master
2021-01-10T17:16:53.234265
2016-02-24T23:32:35
2016-02-24T23:32:35
52,045,475
0
1
null
2016-02-19T13:57:46
2016-02-18T23:05:37
C++
UTF-8
C++
false
false
347
h
DriveToDefense.h
#ifndef DRIVETODEFENSE_H #define DRIVETODEFENSE_H #include "Commands/Subsystem.h" #include "../../Robot.h" class DriveToDefense: public Command { public: DriveToDefense(); virtual void Initialize(); virtual void Execute(); virtual bool IsFinished(); virtual void End(); virtual void Interrupted(); private: fl...
622b3e644ccbf656dc7fcc54198ce1dbb20859f6
78bc09b155f05398ef60dc142545db7ce41e0339
/C-Programming-Udemy-master/Code/Tutorial 040 - Pointers/Windows/CPlusPlusTutorial/CPlusPlusTutorial/main.cpp
3d8fe8b0782cf965beef004c5bd6553477ca362a
[ "Unlicense", "MIT" ]
permissive
PacktPublishing/C-Development-Tutorial-Series---The-Complete-Coding-Guide
4b17e4aa1eefe6474e3bc30b30f8013ed0109812
7b2d3708a052d9ebda3872603f6bef3dc6003560
refs/heads/master
2021-06-27T21:43:52.966333
2021-01-19T07:59:16
2021-01-19T07:59:16
185,386,658
1
0
null
null
null
null
UTF-8
C++
false
false
366
cpp
main.cpp
// // main.cpp // JJJ // // Created by Sonar Systems on 03/07/2014. // Copyright (c) 2014 Sonar Systems. All rights reserved. // #include <iostream> int main(int argc, const char * argv[]) { int *i = new int(); int u = 20; i = &u; std::cout << *i << std::endl; *i = 40; std::...
490410c115b6b9b7623ff1eb7281ebca8e8ed8d5
0db67ee35f713a69752b630346ea1dc5458dc83b
/Trie/p211.cpp
0a65505262c97934c1ab8a4dca37183282d5b1ce
[]
no_license
jinshendan/AC-Leetcode
23696734d5e112fe973cabe5bca9faa24a7b8762
4d2152e4c2276c0e2a6e1830bd96ca4b23e0c9d5
refs/heads/main
2023-04-30T14:50:31.434697
2021-05-16T09:39:55
2021-05-16T09:39:55
362,826,000
0
0
null
null
null
null
UTF-8
C++
false
false
1,543
cpp
p211.cpp
// 211. Design Add and Search Words Data Structure class WordDictionary { public: vector<vector<int>> ch; vector<int> val; int sz; /** Initialize your data structure here. */ WordDictionary() { sz = 1; ch.resize(1); ch[0].resize(26); val.resize(1); } voi...
8dd8e909488f027f6a4e447efb6a9a9c213f9cdb
0577a46d8d28e1fd8636893bbdd2b18270bb8eb8
/chromium/chrome/browser/speech/extension_api/tts_extension_api_lacros_browsertest.cc
b7ef810aba24f8e7088a3ed876952192b1bea65f
[ "BSD-3-Clause" ]
permissive
ric2b/Vivaldi-browser
388a328b4cb838a4c3822357a5529642f86316a5
87244f4ee50062e59667bf8b9ca4d5291b6818d7
refs/heads/master
2022-12-21T04:44:13.804535
2022-12-17T16:30:35
2022-12-17T16:30:35
86,637,416
166
41
BSD-3-Clause
2021-03-31T18:49:30
2017-03-29T23:09:05
null
UTF-8
C++
false
false
4,721
cc
tts_extension_api_lacros_browsertest.cc
// Copyright 2022 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <vector> #include "base/run_loop.h" #include "chrome/browser/extensions/extension_apitest.h" #include "chrome/browser/speech/extension_api/tts_engine_extension_api.h"...
89a53c3f426286ec12e5aa267584f4f7b01e370f
4bd57b8501d4326ecc06c1d1ea499935e1668d95
/MASH-dev/SeanWu/MACRO-dev/MACRO/src/Human.cpp
288208ad3a9a834c60f42cb69edd285684f2598d
[]
no_license
aucarter/MASH-Main
0a97eac24df1f7e6c4e01ceb4778088b2f00c194
d4ea6e89a9f00aa6327bed4762cba66298bb6027
refs/heads/master
2020-12-07T09:05:52.814249
2019-12-12T19:53:24
2019-12-12T19:53:24
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,518
cpp
Human.cpp
/* * __ ______ __________ ____ * / |/ / | / ____/ __ \/ __ \ * / /|_/ / /| |/ / / /_/ / / / / * / / / / ___ / /___/ _, _/ /_/ / * /_/ /_/_/ |_\____/_/ |_|\____/ * * Generic Human Class: humans are specialized by model type * * Sean Wu * November 2018 */ #include "Event.hpp" #i...
2ae51949ba1bfa1bc97beb7db64288d2cf0fb244
c6267eae7fdeee9e540b99c15b4f23b9efeb87bc
/RayTracer/Src/RayTracer/Sampler/Sampler.cpp
91cb144d40032aec52eb89db47f80b0a1089088d
[]
no_license
AsehesL/RayTracer
268e43642ea8b7b8f9e09c880338b0ad602dbad2
e3b28535228fd4110d7e8a9e265688d5f391992e
refs/heads/main
2023-03-10T09:39:06.291552
2021-02-22T11:56:18
2021-02-22T11:56:18
339,638,846
0
0
null
null
null
null
UTF-8
C++
false
false
6,390
cpp
Sampler.cpp
#include "Sampler.h" #include "../../Core/Math.h" #include <random> thread_local std::mt19937_64 random_sampler(std::random_device{}()); double RandomUnit() { static thread_local std::uniform_real_distribution<double> unit_distribution(0.0, std::nextafter(1.0, 0.0)); return unit_distribution(random_sampler); } Ra...
e6bb211f824b835fbaf4ee91d581aba34da8393f
5885fd1418db54cc4b699c809cd44e625f7e23fc
/dmoj/dmopc18c4/a.cpp
010e4283c73abcc33f05aa16fe8d5fa5f5c2cc2f
[]
no_license
ehnryx/acm
c5f294a2e287a6d7003c61ee134696b2a11e9f3b
c706120236a3e55ba2aea10fb5c3daa5c1055118
refs/heads/master
2023-08-31T13:19:49.707328
2023-08-29T01:49:32
2023-08-29T01:49:32
131,941,068
2
0
null
null
null
null
UTF-8
C++
false
false
1,033
cpp
a.cpp
#include <bits/stdc++.h> using namespace std; #define _USE_MATH_DEFINES typedef long long ll; typedef long double ld; typedef pair<int,int> pii; typedef complex<ld> pt; typedef vector<pt> pol; const char nl = '\n'; const int INF = 0x3f3f3f3f; const ll INFLL = 0x3f3f3f3f3f3f3f3f; const ll MOD = 1e9+7; const ld EPS = 1...
6cdcff468f27ca628d11488a5f9e3070e264b035
18efcea9c1b20d6ea9f97bf7f9072b8fa019dc80
/dbmanager.h
c067f754f4557266284f58d52defca6e0512d62d
[]
no_license
MyQt/Sales
f7dc355d823411ca9d4fc09c60da9b9ed3a9cfab
4a02fd0fa58c6c601c596b3d0127b8a121c8b689
refs/heads/master
2020-06-26T04:42:47.052775
2017-07-21T15:00:43
2017-07-21T15:00:43
97,000,532
0
0
null
null
null
null
UTF-8
C++
false
false
972
h
dbmanager.h
#ifndef DBMANAGER_H #define DBMANAGER_H #include "BillData.h" #include <QObject> #include <QtSql/QSqlDatabase> class DBManager : public QObject { Q_OBJECT public: explicit DBManager(const QString& path, bool doCreate = false, QObject *parent = 0); bool isBillExist(BillData* bill); void importBills(QL...
52843b75703c33cada3c863bbd2066fae6117bba
5a4c61c27b696379669df4e4983a2d038906b7f4
/src/blockchain/transaction.cpp
fbeba84ec7738bfefc74e9a8fd367809d3931c23
[]
no_license
DowntownHiFi/BitShares
fbb52b0e153907aedd5184d2a710f2beb27ccac0
f775587a5812aa87e18d52daba2ce9d46046608c
refs/heads/master
2020-12-25T21:33:58.350428
2014-02-21T06:47:44
2014-02-21T06:47:44
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,351
cpp
transaction.cpp
#include <bts/address.hpp> #include <bts/blockchain/transaction.hpp> #include <fc/reflect/variant.hpp> #include <fc/io/raw.hpp> #include <fc/log/logger.hpp> namespace bts { namespace blockchain { fc::sha256 transaction::digest()const { fc::sha256::encoder enc; fc::raw::pack( enc, *this ); ret...
ba3be4dfbbd4bcbbba54de8b6984c46c2078a09c
6910964946470fa5aaf3746f83b34b17267a8dde
/Lesson_11/tennis/tennis/ball.h
242ba3cffe802711c18e54c0d9a07cae36d909ad
[]
no_license
nezumimusume/GamePG_1
909424ed2ecb435c97669774807749690489b153
1d190ade032cc09aed47b01726be4793ef13fc54
refs/heads/master
2023-08-01T13:39:30.047983
2017-01-17T00:07:45
2017-01-17T00:07:45
null
0
0
null
null
null
null
SHIFT_JIS
C++
false
false
415
h
ball.h
#pragma once class Ball { public: Ball(); ~Ball(); void Init(); void Update(); void Render(CRenderContext& renderContext); ///////////////////////////////////////// //ここからメンバ変数。 ///////////////////////////////////////// CSkinModelData modelData; //モデルデータ。 CSkinModel model; //モデル。 CVector3 position; //...
9dc17f418596f4fe093632a50b26b43937a8e255
ccc70facd66cea8203e39e310fb341ee3eb22e3a
/online stock span.cpp
dc4d3586357ce647097bc00fedaf40635240a71c
[]
no_license
pranoym14/LeetCode-May-challenge
a080629df25679445f427f27e51e75d1ce4148be
5e3912b358376554634ae0d61f74209729ed57ba
refs/heads/master
2022-09-25T09:15:17.313821
2020-05-31T16:54:35
2020-05-31T16:54:35
268,321,746
0
0
null
null
null
null
UTF-8
C++
false
false
423
cpp
online stock span.cpp
static auto magic = []() {ios_base::sync_with_stdio(false); cin.tie(nullptr); return false;}; class StockSpanner { public: stack<array<int, 2>> st; int count; StockSpanner() { count=0; } int next(int price) { while(!st.empty() and st.top()[0] <= price) st.pop(); int a...
444685eadce01426ada28d0b78d4073ad2dcb1d0
0783dd95ede971b91728a21074f11b70fd20aa55
/backwardFacingStep_baseCase_LRR/900/phi
fa4b595acda40918bf967788c4ed575db7ba36c9
[]
no_license
bshambaugh/openfoam-experiments2
0c5430940ddb04c5f85d0fbdd09a7ae01f0ed3f1
dbd9ce7bec30d897f34da8871188fce3a5564a4d
refs/heads/master
2020-04-14T06:49:39.690493
2019-01-01T23:03:39
2019-01-01T23:03:39
163,696,599
0
0
null
null
null
null
UTF-8
C++
false
false
168,209
phi
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 4.1 | ...
7fc55dd73efcaa473ee9b40c0c925bac97ad09a1
1159030eee69bdc03f5cee1114ed1191a664cc92
/src/time_lost/logic/turns/lose_turn.cc
59f9c87bb95bcfed3f4c3fb85fe265d53e8fc576
[]
no_license
mirrin00/oop-2020-game
39ec2d1c76ad564c03f389ec008e85033e74ca94
253f0ea67c67f56ff738aa2d5bbb2f1cfe34538b
refs/heads/master
2023-03-03T21:03:10.439187
2021-02-03T08:49:38
2021-02-03T08:49:38
294,954,056
2
0
null
null
null
null
UTF-8
C++
false
false
331
cc
lose_turn.cc
#include "time_lost/logic/turns/lose_turn.h" namespace time_lost{ namespace logic{ namespace turns{ LoseTurn::LoseTurn(TimeLost& game): TurnInterface(game) { } void LoseTurn::Pause(){} void LoseTurn::NextTurn(){} types::Turns::Turn LoseTurn::GetTurn(){ return types::Turns::kLose; } } // turns } // logic } /...
94228ae9ab35e4ed961f5bd3db359b629db5aa43
bfb9f93907ac89405ce7959090b93f654a7f2651
/app/CursorHome.cpp
22040c74deaa22f6110ac7c84554a0e8ed083f63
[]
no_license
eltonxue/BooEditor
7976a5040da5ee6cd6e97811407a4a7854cd96c8
3533540d962f49e630efe8761ff3e9a06a351c7f
refs/heads/master
2021-01-11T16:26:18.719018
2017-01-26T03:53:46
2017-01-26T03:53:46
80,083,848
0
4
null
null
null
null
UTF-8
C++
false
false
222
cpp
CursorHome.cpp
#include "CursorHome.hpp" void CursorHome::execute(EditorModel& model) { previousColumn = model.cursorColumn(); model.moveHome(); } void CursorHome::undo(EditorModel& model) { model.setCursorColumn(previousColumn); }
8079e0b079737b310f647ef19d488b553ad1b9c6
a94a34cd7af1f45267e6eb0dfda627f1a9c7070c
/Practices/Training/Competition/MonthlyCompetition/20190531yz/source/jf0211_潘尚灵/square.cpp
e4c26c793e0afd57bd34019d6e8c58ad7f4fb33f
[]
no_license
AI1379/OILearning
91f266b942d644e8567cda20c94126ee63e6dd4b
98a3bd303bc2be97e8ca86d955d85eb7c1920035
refs/heads/master
2021-10-16T16:37:39.161312
2021-10-09T11:50:32
2021-10-09T11:50:32
187,294,534
0
0
null
null
null
null
UTF-8
C++
false
false
433
cpp
square.cpp
#include<bits/stdc++.h> using namespace std; int n,k,f=0; double ayu=0,mit=0,gen=0,a,l; int main() { freopen("square.in","r",stdin); freopen("square.out","w",stdout); cin>>n>>k; int i,j; a=n; for(i=1;i<=k;i++) { for(j=1;j<=4;j++) { if(f==0) ayu+=a; else if(f==1) mit+=a; else if(f==2) gen...
a70fec3e8115f0714455a3effb687cac72d2429e
f23558787b3372cf7083eab33acbf6aab101daaf
/samples/Interrupts/Interrupts.ino
05674cdaf421738960e30819abd6b66f80782af6
[ "MIT" ]
permissive
sidey79/win32Arduino
1f01bd42782be1e721ae185ad43b3c5daf8ddb28
bdffc50a7b122458875aab25ef1658b7a75d666c
refs/heads/master
2023-02-13T01:05:08.665302
2023-02-05T17:15:07
2023-02-05T17:15:07
129,792,697
0
0
MIT
2018-04-16T19:08:33
2018-04-16T19:08:32
null
UTF-8
C++
false
false
700
ino
Interrupts.ino
void setup() { // put your setup code here, to run once: Serial.begin(115200); { Serial.print("sizeof()="); Serial.println(sizeof(SREG)); } { Serial.print("default="); Serial.println((int)SREG); } { noInterrupts(); uint8_t disabled = SREG; interrupts(); Serial.print("n...
278cf3af441385392276c4eea29579e9302ddb4b
20a59a738c1d8521dc95c380190b48d7bc3bb0bb
/uiresources_plat/layout_data_api/inc/appapaclayout.cdl.h
62ebe54a335d607c4bfa685495d192599299dc90
[]
no_license
SymbianSource/oss.FCL.sf.mw.uiresources
376c0cf0bccf470008ae066aeae1e3538f9701c6
b78660bec78835802edd6575b96897d4aba58376
refs/heads/master
2021-01-13T13:17:08.423030
2010-10-19T08:42:43
2010-10-19T08:42:43
72,681,263
2
0
null
null
null
null
UTF-8
C++
false
false
37,644
h
appapaclayout.cdl.h
/* * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). * All rights reserved. * This component and the accompanying materials are made available * under the terms of "Eclipse Public License v1.0" * which accompanies this distribution, and is available * at the URL "http://www.eclipse.org/legal/epl-v10.h...
e448bd354bc19ac56722ee20e29a1c01b6d83b57
9c5a9cdad7a0975824d7a291d53c3801fa7c3f80
/PAT/code2/Third Chapter/3.1 8 A1002(25)/3.1 8 A1002(25)/3.1 8 A1002(25).cpp
cb16d423fdc57677e5531172ac0c0916e2dfc403
[]
no_license
luckyxuanyeah/Algorithm_Practice
893c6aaae108ab652a0355352366a393553940fe
4f6206a8bfd94d64961f2a8fb07b8afbeb82c1b1
refs/heads/master
2020-04-06T13:48:11.653204
2019-07-17T15:35:47
2019-07-17T15:35:47
157,508,492
0
0
null
2018-11-14T08:19:44
2018-11-14T07:27:47
null
GB18030
C++
false
false
809
cpp
3.1 8 A1002(25).cpp
// 3.1 8 A1002(25).cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" #include "stdio.h" const int maxn = 1010; int main() { int k1, e, count = 0; scanf("%d", &k1); double a[maxn] = { 0 }, b[maxn] = { 0 }, c[maxn] = { 0 }, k; for (int i = 0; i < k1; i++) { scanf("%d%lf", &e, &k); a[e] = k; } scanf("%...
0507a0b289b768636a600e84ffad5d3f3e224c1d
f3c413cf12cfce8842002ad503d81b33735a7247
/include/ads/lin/band_solve.hpp
f42531310cf6ff3c7289e7f73980111062064943
[ "MIT" ]
permissive
marcinlos/iga-ads
f02d4e9d1e70c809511cb062261bb55372f6cf42
4f25e75376361d5b15ddc58f16e7bf7ae0431bd8
refs/heads/develop
2023-07-18T21:30:29.279316
2023-07-04T20:42:45
2023-07-04T20:42:45
58,336,078
9
8
MIT
2023-07-04T19:41:43
2016-05-08T23:31:46
C++
UTF-8
C++
false
false
1,175
hpp
band_solve.hpp
// SPDX-FileCopyrightText: 2015 - 2023 Marcin Łoś <marcin.los.91@gmail.com> // SPDX-License-Identifier: MIT #ifndef ADS_LIN_BAND_SOLVE_HPP #define ADS_LIN_BAND_SOLVE_HPP #include <iostream> #include "ads/lin/band_matrix.hpp" #include "ads/lin/lapack.hpp" #include "ads/lin/solver_ctx.hpp" #include "ads/lin/tensor.hpp...
78fa4b84d2d481a465dd476354a44953eabb4c8b
cb2c6b8bb703ab7858c65361679b6d28358ae373
/Client/Danger.h
c8c2c35e3c0dc8196cf650d5b75e782b2cc24b05
[]
no_license
qaws1134/JetLencer
5226134962224d4bc6789b8c24a74ccfd18c2be6
4b63e34058e287189384d52c7c2da63e4e3b04e9
refs/heads/master
2023-06-24T16:57:19.086917
2021-07-27T05:25:19
2021-07-27T05:25:19
383,513,834
0
0
null
null
null
null
UHC
C++
false
false
679
h
Danger.h
#pragma once #include "Ui.h" class CDanger : public CUi { private: explicit CDanger(); public: virtual ~CDanger(); public : static CGameObject* Create(_vec3 _vPos); // CUi을(를) 통해 상속됨 virtual HRESULT Ready_GameObject() override; virtual int Update_GameObject() override; virtual void State_Change() override; ...
1ebab6885a7b33cb33a81483dd4187d031219735
aa94350007127db6c1e0b2e4656759033dcb0885
/d03/ex04/main.cpp
14687f9f5cbb6800aa838a682cae716b81e16d4f
[]
no_license
zer0nim/piscine_cpp
795ebf1c8bfadd666bb3475181c5dc59b613a74b
b1be94bc42f9631c9da905693241280c30dc77d7
refs/heads/master
2020-06-01T01:04:41.709934
2020-02-10T12:36:04
2020-02-10T12:36:04
190,570,128
0
0
null
null
null
null
UTF-8
C++
false
false
1,066
cpp
main.cpp
#include "FragTrap.hpp" #include "ScavTrap.hpp" #include "NinjaTrap.hpp" #include "SuperTrap.hpp" #include <iostream> int main(void) { SuperTrap super1("super1"); super1.rangedAttack("Handsome Jack"); super1.meleeAttack("Handsome Jack"); std::cout << std::endl; super1.vaulthunter_dot_exe("Handso...
470c2c19d0152f0a76785abbf784e83ed5ff370a
e05bf98909ad00dd660952f6b256a06d2eaaee28
/main.cpp
ae59c46da7da7f16da43c3a731c5969a06fe8621
[]
no_license
cadd1275941772/LL1
d2f8bb6f7e79532e328177e265e18b0351ad5cbe
62df394420346f9d3f73826cdc14cbd690f41cfc
refs/heads/master
2023-02-11T05:09:33.344950
2021-01-06T15:49:44
2021-01-06T15:49:44
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,623
cpp
main.cpp
#include<iostream> #include<fstream> #include<vector> #include<string> #include"LL1/LL1.h" using std::cin; using std::cout; using std::endl; using std::string; int main(){ string fromFile; cout << "input from file?(y/n):"; cin >> fromFile; if(fromFile=="y"){ //input file string path; ...
687139260a5f231a64119d31452d895ab27aab79
904dbcda329ae4d1a0bfd356175dd14d0236e15b
/AI_Search_Algorithms.cpp
a99a276ee394f851b93ace110db9fc7529fd187e
[]
no_license
codemania113/Artificial-Intelligence
ca5a74c342b96442b3a0064bdb71c4e0795bf952
c4389f0b42629ce39e362cb71d1994d729242b5c
refs/heads/master
2021-01-13T12:51:29.240253
2017-01-13T07:16:45
2017-01-13T07:16:45
78,466,419
0
0
null
null
null
null
UTF-8
C++
false
false
14,956
cpp
AI_Search_Algorithms.cpp
#include <iostream> #include <fstream> #include <string> #include <sstream> #include <map> #include <queue> #include <vector> #include <algorithm> #include <stack> using namespace std; struct node { string state; int weight; }; struct star_node { string state; int weight; int actual_weight; }; map < strin...
9acf4f72144845b8b9913ed501707e63fac389cb
f1c84de81504cab2c21f68b42993cedf3cd178c0
/CS481_projects/JEdwards-a3/a3p1/pc/pc.cpp
e880e66eade0cfc1e67e51848441158a20d47bea
[]
no_license
joseph8th/unm-cs
38c868334c21ab7c88a279e7398d59f80c37dbab
eac14817094c291bbcd0fd6c1213e957cfc4dbfc
refs/heads/master
2020-06-02T03:10:18.791862
2013-03-25T02:43:46
2013-03-25T02:43:46
null
0
0
null
null
null
null
UTF-8
C++
false
false
853
cpp
pc.cpp
/* * pc.cpp - implement notroot::Semphore interface * for binary semaphores in pc.h * * Author: Joseph Edwards VIII * CS481 online, UNM Fall 2012 * JEdwards-a3/a3p1/pc/pc.cpp */ #include <sys/types.h> #include <fcntl.h> #include "pc.h" namespace notroot { Semaphore::Semaphore(bool waiting) ...
30b9703d990425af83be664da65c6f4fc2d68103
c6e675ac42bf9dd7bd5967e73352427ba562530e
/src/StatToolImpl.cpp
5d21526d77841053c5b3c9d8f5dd821368c96dad
[]
no_license
adrien-zinger/async_stat_module
2f8521e9e783914c03ecf8f22da87b2de1db3cbe
787cc29b7bd6c2a9e68328e350ecad881f30cf76
refs/heads/master
2023-05-09T08:14:43.075145
2021-05-11T17:56:13
2021-05-11T17:56:13
366,470,113
0
0
null
null
null
null
UTF-8
C++
false
false
2,507
cpp
StatToolImpl.cpp
#include "StatToolImpl.hpp" #include <cmath> #include <pthread.h> #include <memory> bool StatToolImpl::FindIndex(const std::vector<int> &vec, const int ref, const bool left, int &index) { int l = 0; int r = vec.size() - 1; if (ref <= 0 || vec.size() < 1 || vec[l] > ref || vec[r] < ref || vec[l] >= vec[r]) ...
c32b2405a076dfbfe1bf8575a4d27fc2e3058d73
e701f27376df41fab37bbdc6d1cf00d62c262952
/MP - Práctica 1/include/Contrato.h
d8d232d4d6f9f63af629f26ecb197b6742830906
[]
no_license
manoplin18/Segundo
199f942d69c9a96690b73cb007a855aee4808409
3b518f2c3d3696f4c77fd7577d93f8f78fee35ef
refs/heads/main
2023-02-01T08:28:43.067760
2020-12-20T19:51:50
2020-12-20T19:51:50
322,630,645
0
0
null
null
null
null
UTF-8
C++
false
false
957
h
Contrato.h
#ifndef CONTRATO_H #define CONTRATO_H #include <iostream> //cin, cout #include "Fecha.h" using namespace std; class Contrato { static int contador; const int idContrato; long int dniContrato; Fecha fechaContrato; virtual void abstracto() const = 0; //Hacemos que Contrato sea abstracta public:...
0190bd015e9051b2824b1ee792b79564d5d85f6c
d598d8d1ccb3b06d07aef0c2632a906941fd3fd4
/inc/util/curlutil.h
58981c5d0fdd644939af2cc1c2a8e76b6d9003f4
[]
no_license
xeonye/Common2.1
b8daa2728e81b465e82233fafba6ef07be5a99d8
9f8ccdd1e713eba82561140e4aaf4e985c7ca2b6
refs/heads/master
2020-12-01T18:48:54.935580
2019-12-28T16:26:01
2019-12-28T16:26:01
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,815
h
curlutil.h
#pragma once struct __UtilExt tagCurlOpt { tagCurlOpt(bool t_bShare)//, long t_dnsCacheTimeout) : bShare(t_bShare) //, dnsCacheTimeout(t_dnsCacheTimeout) { } bool bShare; //long dnsCacheTimeout; unsigned long maxRedirect = 1; unsigned long timeout = 0; unsigned long ...
13b1a3af218b5ad6b0852f6862a431db75273586
be2305d06a232a172968725324b82e9cfa9c82dc
/network_simulation/network_simulation/GEL.h
9a15a0757d7818b6cf15ea4dd138e25bfa7f0016
[ "Apache-2.0" ]
permissive
lleizuo/ieee-802.x-network-simulation
04109922a64f3950589f5b7d4f05656db0e7907d
85eeb53ffa820c2ec71fcc4fd113f6946b1db0d9
refs/heads/master
2022-01-11T10:40:31.674411
2019-05-13T22:10:55
2019-05-13T22:10:55
null
0
0
null
null
null
null
UTF-8
C++
false
false
301
h
GEL.h
// // GEL.h // network_simulation // // Created by Lei Zuo on 2019/4/28. // Copyright © 2019 ECS 152A. All rights reserved. // #ifndef GEL_h #define GEL_h #include "Event.h" class GEL { Event * head; public: void insert(int event_time, Event * new_event); }; #endif /* GEL_h */
faeb5646cc204d9022915e96fd2ce97a096a6e61
ba382364a55d9620f32d8a5163874ce3385ac42a
/square.h
f6d22f29c6af3e66cc493f978ee0082bdbac52ce
[]
no_license
ethanhoroschak/ethan-andrewgames.github.io
bec7ed5041c46d87e91d772a863431d5ff0b19c3
a4287d7ae41e287fc6370bac3a8f4fb631c4b1e9
refs/heads/master
2020-04-11T03:38:05.857122
2016-09-15T15:09:37
2016-09-15T15:09:37
68,124,636
0
0
null
null
null
null
UTF-8
C++
false
false
998
h
square.h
class square { public: void setBomb() { //If square isn't a bomb, it makes it a bomb. If it is a bomb, it makes it not a bomb bomb = !bomb; } bool isBomb() { //Tells if square is a bomb return bomb; } void flag() { //If square isn't flagged, it flags it. If it is flagged, it un...
4e93c9376e08f6edfc4c0fdf86e8f674f7b75915
82cc69740b5f69c68fa2d84ee229f59d7c2a3470
/C,D(Div-2) question in codeforrdes/A. Vasya and Petya's Game.cpp
d01322ab67608c64d7eec11bff6548de0ea173ca
[]
no_license
adarshdbg/Codeforces
e26087e25b9665129f77b1bc4276e17b840d5251
5ffe6ca355b2a7ecdae675b31ce84f1cc803c08d
refs/heads/master
2023-02-18T21:04:11.994459
2021-01-23T19:17:10
2021-01-23T19:17:10
290,201,034
0
0
null
null
null
null
UTF-8
C++
false
false
978
cpp
A. Vasya and Petya's Game.cpp
#include<bits/stdc++.h> using namespace std; #define FastRead ios::sync_with_stdio(0); cin.tie(0); cout.tie(0); #define int long long int #define bits_count __builtin_popcountll #define endl '\n' #define ld long double #define fi first #define se second #define pb push_back #define mk make_pair #define pr pair<int,int>...
03a468e756c3496543aab9f73e42ce226cba7da0
2b5f8994bf3f98977508b7763d59fbbaaa92a3c9
/Leetcode/Trees/230_Kth Smallest Element in a BST.cpp
2a1131d79551ab1f35442d68e06d7e584a517771
[]
no_license
Himanshu-Negi8/Data-Structure-and-Algorithms
91a7ca6120f6bff1325eccce95a935a2fb5c773e
418ff31564aaff9fdaa31e237f0e307bf378cb23
refs/heads/master
2022-05-04T04:23:12.517691
2022-03-14T11:17:11
2022-03-14T11:17:11
229,419,837
3
1
null
null
null
null
UTF-8
C++
false
false
420
cpp
230_Kth Smallest Element in a BST.cpp
class Solution { public: void helper(TreeNode*root,vector<int>&v){ if(!root){ return; } if(root){ helper(root->left,v); v.push_back(root->val); helper(root->right,v); } } int kthSmallest(TreeNode* root, int k) { ...
e98a5ec74d238cf589aa457e28657ecdaa3f1f7b
3ee64927dbab49e19771e3bc783d7bfe6fa1e874
/src/atlas/grid/detail/grid/Gaussian.h
309af4ea64869f90b3a3d58ad639c3a87c464859
[ "Apache-2.0" ]
permissive
mlange05/atlas
d6c55bca5481b92c725d9fe520444f36dec5bc97
a508fe04e7ab95585bd30bf7bf20533da2d7b6b5
refs/heads/master
2020-04-06T23:53:08.679139
2018-08-31T14:52:35
2018-08-31T14:52:35
157,884,396
0
0
Apache-2.0
2018-11-16T15:15:48
2018-11-16T15:15:48
null
UTF-8
C++
false
false
372
h
Gaussian.h
#include <vector> #include "atlas/grid.h" namespace atlas { namespace grid { namespace detail { namespace grid { StructuredGrid::grid_t* reduced_gaussian( const std::vector<long>& nx ); StructuredGrid::grid_t* reduced_gaussian( const std::vector<long>& nx, const Domain& domain ); } // namespace grid } // namespac...
70a4ded17b5ff89176942396b4c45ce583cbb0a9
497e0d5d677d33f493195909217c692bea58ea29
/codex 푼 문제/[codex]고기잡이.cpp
10afd73b486fcb96587cef937d91a13830319863
[]
no_license
JungKiBeen/SW_Test_Study
bdd6a82a25322a7d06a47625101e2c6905791e4c
a72000524470a8f602441349c4912e580e5d759d
refs/heads/master
2021-08-09T15:58:31.066951
2017-11-12T09:34:20
2017-11-12T09:34:20
101,296,637
0
0
null
null
null
null
UHC
C++
false
false
1,849
cpp
[codex]고기잡이.cpp
// 1) 반드시 임의의 물고기는 Optimal solution의 위, 왼쪽 경계에 위치해 있다. // 따라서 물고기의 row, col의 조합을 배의 위치로 한정해도 된다. // 2) 가지치기 : l*l 그물 내 잡히는 물고기가 MAX보다 작으면 호출하지 않는다. // 3)1*1 영역만 N을 넘지 않으면 된다. 하지만, 이를 고려할 필요는 없다. 어짜피 위 혹은 왼쪽으로 한칸 이동하여 치면 된다고 가정하면 되기에 #define _CRT_SECURE_NO_WARNINGS #include <iostream> #include <cstdio> #include <q...
ab149baf8eeab0de66e14a5b2ef8cd6bb9f79716
0e45834430f761212868d6caea436fa22d02dfdb
/include/bbb/pipe/functional/filter.hpp
3ed8e863a5176630bdc9f5e3c05f18795642e5c8
[ "MIT" ]
permissive
2bbb/bit_by_bit
93a861f7146716e4667597bec36cf71a6de1fd8f
0f99778eb27059c4225ab5b964a3aa043ccd766c
refs/heads/master
2022-10-11T00:52:42.637723
2022-09-03T14:11:45
2022-09-03T14:11:45
45,319,832
2
0
null
2017-06-25T01:00:37
2015-10-31T22:02:52
C++
UTF-8
C++
false
false
2,396
hpp
filter.hpp
/* **** **** **** **** **** **** **** **** * * * _/ _/ _/ * _/_/_/ _/_/_/ _/_/_/ * _/ _/ _/ _/ _/ _/ * _/ _/ _/ _/ _/ _/ * _/_/_/ _/_/_/ _/_/_/ * * bit by bit * bbb/pipe/functional/filter.hpp * * author: ISHII 2bit * mail: bit_b...
2dd46716cdf0197d4cd1e4896274efb6dd417161
ce0616509931950526a27747e52e9d8372d3b33d
/src/enemycatalogue.cc
54f812f532b5237d94d6ce0b194a70120eff90f2
[]
no_license
jasonwilliamson/ChamberCrawler3000
962876be0636e31d80d1425cd0a2a31e3f662253
b60b5265fd9b72e6710dec1596b04ac98de0f49a
refs/heads/master
2021-04-14T17:38:23.048309
2015-12-04T20:28:18
2015-12-04T20:28:18
249,250,937
0
0
null
null
null
null
UTF-8
C++
false
false
4,654
cc
enemycatalogue.cc
// // enemycatalogue.cpp // cc3k // // Created by Jason Williamson on 2015-12-01. // Copyright © 2015 Jason Williamson. All rights reserved. // #include "enemycatalogue.h" #include <iostream> #include "enemy.h" #include "human.h" #include "character.h" #include "dwarf.h" #include "elf.h" #include "orc.h" #include ...
e4cfcada05dcb792e06874230fb2b7dba2eda773
a0537cdf9a3f07ab6706aa03f989379b1fe67eca
/reconstruct_orig_digits_from_eng.cc
cb6f05bf7d73e1a780bf45e4dcfe7e7255f69cea
[]
no_license
jith3ndra/Coding-Prep
84099e35b4869227d75f83444be5f3567f3095c2
75672958a236f84d2d2470abd4279b6b6e3113c5
refs/heads/master
2021-01-11T18:46:17.624885
2017-09-12T04:09:34
2017-09-12T04:09:34
79,621,258
0
0
null
null
null
null
UTF-8
C++
false
false
790
cc
reconstruct_orig_digits_from_eng.cc
string originalDigits(string s) { string res=""; vector<int> res1(26,0),count(10,0); for(int i=0;i<s.size();i++){ res1[s[i]-'a']++; } count[0] = res1['z'-'a']; count[2] = res1['w'-'a']; count[4] = res1['u'-'a']; count[6] = res1['x'-'a']...
ecb02e91b7a8eea94d78f9ae721cf7ed41926a38
17a7ddad5cc9aa346fbddf98895ebde85a5cdfc8
/utilities.h
e3f38beee6a9dda3dbfd2fca7b3b3901450e61e9
[]
no_license
Slackoth/simulation-techniques-on-pc
992a033b38f3b5e11e68714637925d71e71fed0c
b51906639b13c53b18186151a486d6e368d372b9
refs/heads/master
2023-04-18T11:13:01.775484
2021-04-27T15:28:23
2021-04-27T15:28:23
361,924,690
0
0
null
null
null
null
UTF-8
C++
false
false
1,597
h
utilities.h
#include <fstream> #include <iostream> #include "classes.h" using namespace std; void getData(ifstream &file, int nLines, int nData, int mode, MeshItem* meshItemList) { string line; file >> line; // Ignore line if(nLines == DOUBLE_LINE) file >> line; // Ignore another line for(int i = 0; i < nD...
6d3d32e8afd0ce4111b94eacb398797a2ef3f431
ee2f6b67e3f2f01a0feec173e6b95b55ef065c63
/14-1.cpp
4ed2a3c75599389b8de590ff8beac1db1ba4a527
[]
no_license
lanbao2021/BlueLeopard
b6dd12738592f82140331c43ec2e198bf72ef8ba
b1f3b7109ffcad34d9e5c860ac90cf3f4d0689b0
refs/heads/master
2023-08-21T22:44:09.928775
2021-10-14T09:05:13
2021-10-14T09:05:13
401,968,495
0
0
null
null
null
null
UTF-8
C++
false
false
967
cpp
14-1.cpp
// 14-1.cpp // Created by 蓝同学 on 2021/9/6. // 写ASCII文件,读ASCII文件 #include <iostream> #include <fstream> using namespace std; int main(){ // 写ASCII文件 ofstream fout("test"); if(!fout){ cerr << "can't open output file.\n"; return 1; } fout << 10 << " " << 123.456 << "\"This is a text ...
e937fafdbeb5b86d1be2d57ab5a46b7a918a80c0
d6de08ad3cc5edf82c338ffc61c283959c605857
/graphs/unionFindAlgorithm_cycleDetection.cpp
4b0db27f4ac70fb1b35168842465c905ed054a11
[]
no_license
abhineetpandey10/Data-structures-and-algorithms
233e30eae1999426fdc1c1902e9f9eb4203ecc29
ea0859809d94a8b7e1fd9393a10f0a8c7d7ca19b
refs/heads/master
2023-02-07T04:04:40.211680
2020-12-23T13:52:23
2020-12-23T13:52:23
287,545,702
0
0
null
null
null
null
UTF-8
C++
false
false
1,791
cpp
unionFindAlgorithm_cycleDetection.cpp
#include<iostream> using std::cin; using std::cout; #include<vector> using std::vector; #include<set> using std::set; #include<cstring> class edge { public: int src,dest; edge(int a,int b) { src=a; dest=b; } }; class disjoint_sets { public: int n; int *parent,*rank; disjoint_...
660a218b5f198510af0b2de039822c8047fb411f
b4bbf9b2a475b5cf299b30bf5e0c621e32f6c832
/mm.cpp
c3eef185651a0e74d2ecf97281dbbb4214dd5c93
[]
no_license
apetresc/castro
1ec1ac1307542487aa1be14c335170f7a1347bf2
843165af7c946188a2dd772384cd2d579723c99d
refs/heads/master
2022-02-20T14:28:41.962893
2019-10-07T08:41:59
2019-10-07T08:41:59
null
0
0
null
null
null
null
UTF-8
C++
false
false
9,357
cpp
mm.cpp
///////////////////////////////////////////////////////////////////////////// // // mm.cpp // // Rémi Coulom // // February, 2007 // ///////////////////////////////////////////////////////////////////////////// #include <iostream> #include <iomanip> #include <sstream> #include <vector> #include <cmath> #include <fstrea...
786551a9fa6cbaf7afc726409309a746e16018d2
acbda334bf4c3e1b191261de604ed2e7894146a6
/FTC8E/Program.cpp
3629a1e47f50c1bcf785c9fc6246c6d756db4b6c
[ "MIT" ]
permissive
thebeardphantom/FTC8E
bc60579722bb60283b01974020d89e3a64014435
0600abe4fcf8953317fd7501bcc8f6b9462278cf
refs/heads/master
2021-01-19T11:49:17.453376
2017-04-12T02:08:22
2017-04-12T02:08:22
87,998,955
0
0
null
null
null
null
UTF-8
C++
false
false
3,357
cpp
Program.cpp
#define VERBOSE #define DEBUG #include <Program.h> #include <SFML/Main.hpp> #include <SFML/Graphics/Image.hpp> #include "CPUTest.h" #include <stdio.h> #include <string> sf::RenderWindow* Program::window; CPU Program::cpu; bool Program::restart = true; int main(int argc, char* args[]) { CPUTest test; test.runTests(...
dbd8e463d4425d28262f8e1904c1583f8268b63b
aae79375bee5bbcaff765fc319a799f843b75bac
/atcoder/abc_146/a.cpp
48199c28392f607e672efcc2cd59d1bce59b920a
[]
no_license
firewood/topcoder
b50b6a709ea0f5d521c2c8870012940f7adc6b19
4ad02fc500bd63bc4b29750f97d4642eeab36079
refs/heads/master
2023-08-17T18:50:01.575463
2023-08-11T10:28:59
2023-08-11T10:28:59
1,628,606
21
6
null
null
null
null
UTF-8
C++
false
false
366
cpp
a.cpp
// A. #include <iostream> #include <sstream> #include <algorithm> #include <vector> using namespace std; int main(int argc, char* argv[]) { string w[7] = { "SUN", "MON", "TUE", "WED", "THU", "FRI", "SAT" }; string s; cin >> s; int ans = 0; for (int i = 0; i <= 7; ++i) { if (w[i] == s) { ans = 7 - i; bre...
1811c2b1df295ad5596e366e3b473f3672a5b082
573cadecf7ddf2e7525bbf3065dad65365f997d9
/InC++/Console/Tetris/Game.h
c6a6d1c2205e06769e668e2b346d0b3d08ec5f6f
[]
no_license
BigFax/HowToDo
1bd5cdc969d5f05a363d2c67967459474a003608
ce4a421a7a3c18153c30ceebbee5563d6a1b4cdf
refs/heads/master
2020-05-18T10:29:18.240500
2015-05-20T12:17:13
2015-05-20T12:17:13
34,615,679
0
0
null
null
null
null
UTF-8
C++
false
false
365
h
Game.h
#ifndef GAME_H #define GAME_H #include <string> #include "Music.h" #include "Menu.h" class Game { protected: static std::string m_choice; enum {SOLO, MULTI, OPTIONS, QUIT}; Music m_music; Menu m_menu; public: Game(string music); ~Game(void); std::string getType(); static void display(string action); void s...
3e5f36efdfbb8d427ec64a674ea1c24668566840
6d2c0f02884cd08be0fe406a3bd5d54db452f903
/3n+1.cpp
c71ae5dd0087977658f8f3b81401db2e52da7273
[]
no_license
sid-tiw/cp3
3f7caf1ace9845e9db6ebfff9e78f2c8cb61c5d9
01137b9b31ff99e45988f57bc977b4180462bc4d
refs/heads/master
2022-12-07T02:37:43.628587
2020-09-02T18:53:27
2020-09-02T18:53:27
281,136,181
0
0
null
null
null
null
UTF-8
C++
false
false
894
cpp
3n+1.cpp
#include <iostream> #include <stdio.h> using namespace std; long max_ind = 1000000; template<class T> void print(T arr[], int n){ for(int i=0;i<n;i++) cout << arr[i] << " "; cout << "\n"; } template<class T> void print(T arr){ for(auto it=arr.begin();it!=arr.end();it++) cout << (*it) << " "; cout << "\n"; } ...
8341ca61bd4405a90568b9094ac2c897eb29a92f
7a1a6661ece31634cde07eeb082771992ef65422
/src/cli.cpp
7ec5fda8844976196e6762993f2e9e72055a3a53
[ "MIT" ]
permissive
a1exwang/tinydbpp
9b38cf5709097562e6682bddb7808749043f830b
9b5d72b48171fa9270c30aea5e66b0b2466cd54e
refs/heads/master
2021-01-10T23:53:26.272948
2017-01-04T12:00:44
2017-01-04T12:00:44
70,791,558
1
0
null
null
null
null
UTF-8
C++
false
false
2,587
cpp
cli.cpp
#include <Parser/Lexer.h> #include <Parser/ParserVal.h> #include <Parser/AST/Nodes.h> #include <Parser/Parser.tab.hpp> #include <Parser/ParsingError.h> #include <boost/assert.hpp> #include <boost/log/core.hpp> #include <boost/log/expressions.hpp> #include <boost/log/trivial.hpp> #include <iostream> #include <fstream> #...
c85df2091689ee684ae29e89fa8789b1a238e02e
7bb362150632879ed94b1c2c6e1ed7392e8f683d
/ejercicio02.cpp
18cafd19a1e2cf32c40ed9499efe28285e9765a4
[]
no_license
Nicolas-Fediuk/UTN_tp04_Pc
ba031bf51d3a807ac6eca8e094ef1b660145f64f
dc04787b7fbc01c23019ed91a2c514c0a25d0ea5
refs/heads/master
2023-05-06T07:57:11.977533
2021-05-25T21:45:01
2021-05-25T21:45:01
370,818,082
0
0
null
null
null
null
ISO-8859-1
C++
false
false
320
cpp
ejercicio02.cpp
/*Hacer un programa para mostrar por pantalla los números del 1 al 20 salteando de a 3 elementos. Es decir: 1, 4, 7, 10, 13, 16, 19. Importante: El programa no tiene ningún ingreso de datos.*/ #include <iostream> using namespace std; int main(){ int n=-2; while (n<19){ n=n+3; cout<<n<<endl; } return 0; }
b2fd3258727004e400ba00302f7479b59aa0a63f
5f975169aeb67c7cd0a08683e6b9eee253f84183
/concurrency/medium/1117. Building H2O.h
ea1eb27f6bfbf1b118b2fa9536c09123dfdefa5a
[ "MIT" ]
permissive
MultivacX/leetcode2020
6b743ffb0d731eea436d203ccb221be14f2346d3
83bfd675052de169ae9612d88378a704c80a50f1
refs/heads/master
2023-03-17T23:19:45.996836
2023-03-16T07:54:45
2023-03-16T07:54:45
231,091,990
0
0
null
null
null
null
UTF-8
C++
false
false
913
h
1117. Building H2O.h
// 1117. Building H2O // https://leetcode.com/problems/building-h2o/ // Runtime: 204 ms, faster than 44.42% of C++ online submissions for Building H2O. // Memory Usage: 8.8 MB, less than 77.68% of C++ online submissions for Building H2O. class H2O { atomic<int> H{0}; mutex mtx; condition_variable cv; ...
dbbe077731fb7c08e0ea0b5554a7f0e1512e39bb
9f9660f318732124b8a5154e6670e1cfc372acc4
/Case_save/Case40/Case/case2/500/nut
997fb9fcc8c10ecb21f421110fea7da93b243342
[]
no_license
mamitsu2/aircond5
9a6857f4190caec15823cb3f975cdddb7cfec80b
20a6408fb10c3ba7081923b61e44454a8f09e2be
refs/heads/master
2020-04-10T22:41:47.782141
2019-09-02T03:42:37
2019-09-02T03:42:37
161,329,638
0
0
null
null
null
null
UTF-8
C++
false
false
9,998
nut
/*--------------------------------*- C++ -*----------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: 6 \\/ M anipulation | \*-------...
7de7d4c2d5d2aa5421ab9a9e9715bee57d16732a
583b2b81e0e7ac3c910bc00204f877aa9c48bdae
/src/JPTJet.cc
6db12d1a64e778c500a6247b39b68b27b45cafd2
[]
no_license
danielwinterbottom/ICHiggsTauTau
8c88a3322c8e362114a53c559634a7ecceb266d2
69f6b580ec1faa4e5b6ef931be880f939f409979
refs/heads/master
2023-09-01T17:49:18.865198
2023-02-07T13:14:15
2023-02-07T13:14:15
10,723,688
4
12
null
2023-09-07T08:41:44
2013-06-16T18:08:22
Python
UTF-8
C++
false
false
1,877
cc
JPTJet.cc
#include "../interface/JPTJet.hh" namespace ic { // Constructors/Destructors JPTJet::JPTJet() : CaloJet::CaloJet(), muon_multiplicity_(0), charged_multiplicity_(0), charged_em_energy_(0.), neutral_em_energy_(0.), charged_had_energy_(0.), neutral_had_energy_(0.), beta_(0.),...
9c086f79f95177933a42bc275072be743acaeafe
95de04e3c0c105b32232996ffe1ec3f731b5b21f
/model/detection_result.hpp
560661e62f1f5e6593d12839c3e2e6d8d532076f
[]
no_license
kk-mats/asterism
e817a298919d0dee243d45b678dc9231a4c9bb47
f806c76c149872382645e6c03675555b2bb921f1
refs/heads/master
2020-04-26T03:56:56.277392
2019-09-30T05:34:05
2019-09-30T05:34:05
173,284,519
0
0
null
null
null
null
UTF-8
C++
false
false
1,416
hpp
detection_result.hpp
#ifndef DETECTION_RESULT_HPP #define DETECTION_RESULT_HPP #include <QVector> #include <QHash> #include <QJsonArray> #include "result_environment.hpp" #include "layer/clone_pair_grid_layer.hpp" namespace asterism { class detection_result final { public: detection_result() noexcept; detection_result(result_environm...
59be8dc75b0714ece143f368f7c3bdcdf00deeed
dd77f7ba87740bb6230f24a1cccc62c302ee23df
/server/src/bodies/chell/fire_to_idle_state.cpp
dc0a04d49ee847c1ffd74691518feae469e6d88a
[ "Apache-2.0" ]
permissive
MarcosCouttulenc/Portal-Taller-de-Programacion-9508-FIUBA
014834fc844899d82853e6c5a1c7ce85d82cc340
6a642c02405a9409a936f1551cf2237639616825
refs/heads/master
2023-03-16T17:29:33.311013
2020-03-12T19:06:39
2020-03-12T19:06:39
null
0
0
null
null
null
null
UTF-8
C++
false
false
433
cpp
fire_to_idle_state.cpp
#include "../../../include/bodies/chell/fire_to_idle_state.h" #include "../../../include/bodies/chell/chell.h" #include "../../../include/bodies/chell/chell_state.h" FireToIdleState::FireToIdleState(Chell *chell): ChellState(chell, STATUS::CHELL_FIRE_TO_IDLE) { } void FireToIdleState::applyStateAction() { thi...
729caa71272edea2ea3c33b178ddc98777661fb0
2a5418b2cad2881091095800eb6ea58ce1dd593d
/server/include/epoll/EpollManager.h
21ca2734e08b439bdbf1618b4977fd47c21fdbb5
[ "MIT" ]
permissive
SiskonEmilia/lightweight-web-server
177061783fe9eff0838f7f8efd8d54a41772e362
5d55b2f3344a65178d255a5ddb91adb684e843b0
refs/heads/main
2023-04-09T22:26:35.449481
2021-04-17T02:19:51
2021-04-17T02:19:51
334,323,882
8
2
null
null
null
null
UTF-8
C++
false
false
2,204
h
EpollManager.h
#pragma once #include <sys/epoll.h> #include <vector> #include <memory> #include "timer/TimerManager.h" #include "utils/Uncopyable.h" // 如果在 Linux 2.6.9 以下版本,使用以下宏定义以避免 epoll 不接受 nullptr 作为 event // #define NULL_EVENT_NOT_ALLOWED class HttpServer; /** * @brief Epoll 行为管理类,单例模式 */ class EpollManager : private Unco...
0fb13dafc239ddb70e8d344dbebae82955e5f6fa
6cef817d092eeccb0b1839e0437bbaeec8df9176
/lib/Support/JSONParser.cpp
5dfcf297a7ea78bcf2595098cb6eeb7b65b9191d
[ "NCSA", "Spencer-94", "BSD-3-Clause" ]
permissive
asl/llvm-openrisc
b1a1166d272bc36acc03f50cf2f792986bae9e33
9751b81fc97dcb6ecc4be4304ef8e6e8cf79f6e4
refs/heads/master
2021-01-15T17:45:49.158680
2012-04-04T19:36:31
2012-04-04T19:36:31
3,941,218
8
1
null
null
null
null
UTF-8
C++
false
false
10,288
cpp
JSONParser.cpp
//===--- JSONParser.cpp - Simple JSON parser ------------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
135fdf321701a33190dc887f1e5251bee86469ca
f632495ae498bf4f03f24c31540c9db61bb184ab
/1015/1015.cpp
bcb85632ec0b632dc6c2a4cef55d580db856c055
[]
no_license
ClaraShar/PAT-basic-level
ca82dc14597aaf36326766ada0f93ab7dd6c574f
d88df45f20ce6a26bbcbc87e3e187979ec10c590
refs/heads/master
2020-03-29T09:47:39.707829
2019-09-05T09:42:20
2019-09-05T09:42:20
149,774,321
0
0
null
null
null
null
UTF-8
C++
false
false
1,988
cpp
1015.cpp
#include <iostream> #include <string> #include <algorithm> using namespace std; typedef struct score { string id; int de; int cai; int sum; }score; bool cmp(score A,score B) { if(A.sum>B.sum) return true; else if(A.sum==B.sum) { if(A.de>B.de) return true; else if(A.de==B.de) { if(A.id<B.id) ...
9d66f6fa5b9d91ac5df30c62f02eb9a61105a502
ea686b349f8b95f215a1d33fbc6d672a2b68e764
/Lecture 113/RecoverBST.cpp
e9e1feb56fd418d82650a6f38ae7648f91709626
[]
no_license
selectivegravity/DSA_Practice
ac2659828bde901e68d79723c1da07e7af1354b4
6e89324d4e9daa99e43c3c535912e6685bc1836f
refs/heads/master
2023-07-11T20:43:19.166690
2021-08-12T12:41:33
2021-08-12T12:41:33
395,309,835
0
0
null
null
null
null
UTF-8
C++
false
false
1,320
cpp
RecoverBST.cpp
#include<bits/stdc++.h> using namespace std; class node { public: int data; node* left; node* right;; //constructor... node(int val){ data=val; left=NULL; right=NULL; } }; void RecoverBST(node* head,node* prev,node* &first,node* &last){ if(head==NULL){ ...
a28f1033a029512bc11c46ec2079914e7dc4b22b
8004f289b42d880ff07be89bce9660e3dfd3eccd
/c++/核心编程/code/4.1.1packageBasicUsing.cpp
0129e5286c76b92f1d4c3d1c3a8e2065a7d180e5
[]
no_license
SuperSunMR/MountainRiverZhao
96004c838853d16cb2edd7e6b1cab057f34dc25f
c0f4ac99ba2ff2a79397e42f092439fcbb7ccb55
refs/heads/main
2023-03-03T06:14:32.178142
2021-02-05T10:58:05
2021-02-05T10:58:05
333,102,893
0
0
null
null
null
null
UTF-8
C++
false
false
476
cpp
4.1.1packageBasicUsing.cpp
// Copyright (c) 2021 Qihoo // License(BSD/GPL/...) // Author: blackzero // 4.1.1 封装的意义 #include<iostream> using namespace std; const double PI = 3.1415926; class Circle{ //访问权限 public: //属性 int m_r; // 半径 //行为 double getZC(){ // 获取周长 return 2*PI*m_r; } }; int main(){ //通过圆类创建对象 ...
25dc6f03222ae1840fb5f549e9aacdf09b97ce96
07ee17f9fb57c0ccc9e4fe2c18410bd3f3eeec34
/program/code/FearGuiCombo.cpp
babdbc048d88bb7ad015f52b0922cdcf21631243
[]
no_license
AlexHuck/TribesRebirth
1ea6ba27bc2af10527259d4d6cd4561a1793bccd
cf52c2e8c63f3da79e38cb3c153288d12003b123
refs/heads/master
2021-09-11T00:35:45.407177
2021-08-29T14:36:56
2021-08-29T14:36:56
226,741,338
0
0
null
2019-12-08T22:30:13
2019-12-08T22:30:12
null
UTF-8
C++
false
false
20,157
cpp
FearGuiCombo.cpp
//------------------------------------------------------------------------------ // Description // // $Workfile$ // $Revision$ // $Author $ // $Modtime $ // //------------------------------------------------------------------------------ #include "console.h" #include "FearGuiCombo.h" #include "simGuiScrollCtrl.h...
7223eeee775eecfbadcf67fa8edb644c34e400f7
edd817868621e5ea2f289469bfefe4edf3301f29
/src/PID.cpp
06605d3939b19038b7045693b9b03c39750953f1
[]
no_license
scherererer/CarND-PID-Control-Project
e83cd0b0b94beb41dd33cf0f5603ddcd2fc944b6
15723e3ffdfc7aaeb7e7cf8b0851512f148bd70f
refs/heads/master
2021-01-01T15:38:24.872140
2017-07-19T03:15:22
2017-07-19T03:15:22
97,662,046
0
0
null
2017-07-19T02:04:30
2017-07-19T02:04:30
null
UTF-8
C++
false
false
706
cpp
PID.cpp
#include "PID.h" #include <algorithm> using namespace std; /* * TODO: Complete the PID class. */ PID::PID() : p_error_ (0.0), i_error_ (0.0), d_error_ (0.0), last_error_ (0.0), Kp_ (1.0), Ki_ (0.0), Kd_ (0.0) { } PID::~PID() { } void PID::Init(double Kp, double Ki, double Kd) { Kp_ = Kp; Ki_ = Ki; Kd_ = ...
d3468e9f0b2f550af48b2ed9a81ef89b143364a3
94a748b9ec43c531dcce671cbb23801c8260c08d
/testprograms/grafixMask.cpp
9a2d514ea90ed654101c931c6b9a0f0b7bcd5729
[]
no_license
Shubham28/TopCoder
091948352bcfe2088cdce9a1d82ddec2cf38cfe9
25b6d34c391b8b79094bd0d971d86c2af943f4d3
refs/heads/master
2021-01-19T09:44:00.576213
2013-05-23T12:54:30
2013-05-23T12:54:30
null
0
0
null
null
null
null
UTF-8
C++
false
false
8,574
cpp
grafixMask.cpp
#include <vector> #include <map> #include <stack> #include <algorithm> #include <sstream> #include <iostream> #include <cmath> #include <cstdlib> #include <set> #include <numeric> #define FOR(A,B,C) for(int A=B;A<C;A++) #define EFOR(A,B,C) for(int A=B;A<=C;A++) #define RFOR(A,B,C) for(int A=B;A>=C;A--) #define PB(A,B)...
62c6687b9aab214493f6808fa4e3a5d8772fcdee
6f0ceee714bccf2a89c34a06aabd3bcb781a2fa4
/src/operator/quantization/mkldnn/mkldnn_quantized_conv.cc
6ac2250281d3f39983ed3d4bcbbe38381cb3e772
[ "Apache-2.0", "MIT", "Unlicense", "BSL-1.0", "NCSA", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "BSD-2-Clause", "OFL-1.0", "BSD-2-Clause-Views", "Zlib" ]
permissive
yajiedesign/mxnet
5a495fd06dd1730c17d2d27d7e46c8a770847f17
8e5a16cf673db5aceb48d2cf7a0fc1abd0ee5e51
refs/heads/master
2021-03-30T22:37:18.603396
2020-10-23T06:40:17
2020-10-23T06:40:17
43,763,550
214
59
Apache-2.0
2020-06-01T23:31:15
2015-10-06T16:36:40
C++
UTF-8
C++
false
false
4,147
cc
mkldnn_quantized_conv.cc
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
8f4bfb7e2c0a7cf06c212dc3c75ed4375f6081b1
dd51f619e0ade36c6ef17a6d52028243964d6deb
/hw4/hw4_tests/deque_tests/insert_tests.cpp
0d39d468866adff8f65ee7688ad007ae228122d4
[]
no_license
ykelty/csci104
7cfbd9dd520e2a693f164bc8da8fa815fb9405a6
b61902172bb5939c5ce28533ec3ac88c1d27512b
refs/heads/master
2020-07-07T03:38:58.262240
2019-07-15T06:29:13
2019-07-15T06:29:13
203,232,660
0
0
null
null
null
null
UTF-8
C++
false
false
4,433
cpp
insert_tests.cpp
// // Insertion tests for UnrolledLinkedList // #include "list_utils.h" #include <random_generator.h> // add one item and check that it's there TEST(DequeInsertBack, OneItemAdd) { DequeStr list; list.push_back("a"); EXPECT_EQ("a", list.operator[](0)); EXPECT_EQ(false, list.empty()); } TEST(DequeInsertFront, ...
6acefd7665b8b7f1e1ee283dce90efc80a649cb6
3c483e23854b74fb4debc6c2e72945c80c0ec591
/Project/Source/FactoryGame/Buildables/FGBuildablePowerPole.h
0e483bb63999c03341e1411484e80eed6b6e313c
[]
no_license
HaigenSAE/SatiSanctum
c535373b72ef970411f426310f29473ca64070c3
26075efc781eed2561958703955fde32e01e73b9
refs/heads/master
2020-06-25T09:22:33.716518
2019-08-06T22:07:15
2019-08-06T22:07:15
199,267,199
3
1
null
null
null
null
UTF-8
C++
false
false
3,244
h
FGBuildablePowerPole.h
// Copyright 2016 Coffee Stain Studios. All Rights Reserved. #pragma once #include "Array.h" #include "UObject/Class.h" #include "FGBuildable.h" #include "FGBuildablePowerPole.generated.h" /** * Base class for all power poles. */ UCLASS( Abstract ) class FACTORYGAME_API AFGBuildablePowerPole : public AFGBuildable ...
932762662a8f390f998c8bc6c5198863e0a5f64f
d57a588f74673811151e71e9457c5a56fac85ddd
/c++/1349maximumStudents.cc
13cd5b95d760d97548fd62ed46404c1ed1fcaa1f
[]
no_license
Acytoo/leetcode
933c5a79140798d8c0ee6d39022561dadd1ce7f7
3a8bfc07465f1bc349b8e5a9f570fd458075de72
refs/heads/master
2022-10-14T20:01:15.131676
2022-09-29T20:17:04
2022-09-29T20:17:04
155,707,667
0
0
null
null
null
null
UTF-8
C++
false
false
1,417
cc
1349maximumStudents.cc
#include <iostream> #include <vector> #include <string> #include <queue> #include <climits> #include <stack> #include <algorithm> #include <cmath> #include <set> #include <unordered_map> #include <list> #include <unordered_set> #include <map> #include <set> #include <functional> #include <bitset> using namespace std; ...
7c53214b949b87bd8c3962cc7215e0dd60a19abf
1e0c71a7355d73644663b56748bf2779e255e78f
/Day 1/Day1 - Kth bit is set or not.cpp
0a5564ca8adad936ebc13d650afd833bc8d643d9
[]
no_license
AkbarHabeeb/50_days_Coding
c397df0a06f4820eaa9c22ac3f9005d0d570fe38
a8d5bf57fd7493eca9ea1d392fcc2c536cb67529
refs/heads/master
2020-04-16T13:13:06.647302
2019-05-15T10:17:16
2019-05-15T10:17:16
165,616,420
0
0
null
null
null
null
UTF-8
C++
false
false
290
cpp
Day1 - Kth bit is set or not.cpp
/* * * Program to check wheather the kth bit is set or not * */ #include <iostream> using namespace std; int main() { int n,k; cin>>n; cin>>k; if( n & (1<<(k-1)) ) cout<<"The kth bit is set"; else cout<<"Unset"; return 0; }
1dea350559f1f04c89356b75ff1e9d42577fc3c9
3b65360310557d984105ea18671d2ae5dc0ec4e3
/squares_chess_boost.cpp
4c7ab0358151a85df5dc8bbdee5842d53395b88c
[]
no_license
guptavijay/arrays-vectors
f441aaffa3ac6e0f4798b7767309bf2503874138
8f1c23cb49cf020d3089befb83b36a17a759bbe4
refs/heads/master
2020-03-28T18:28:24.593541
2018-11-26T17:35:26
2018-11-26T17:35:26
148,884,327
0
0
null
null
null
null
UTF-8
C++
false
false
397
cpp
squares_chess_boost.cpp
//boost library // squares in N*N matrix or chess #include <iostream> #include<bits/stdc++.h> #include<boost/multiprecision/cpp_int.hpp> using namespace std; using namespace boost::multiprecision; int main() { //code int t; cin>>t; while(t--) { int n; cin>>n; cpp_int x=0; for(int i=1;i<...
e1aabe064f10cb6b73b6dab2dcc326a525fdabf5
0b711980b1f7b8d9f187c7afe4c3c0af537a3b42
/VCS PC/RealTimeShadowMgr.h
535fb06d9aac246b37052ba68080f91912c492de
[ "MIT" ]
permissive
emmmhx/VCSPC
2b9e41070e23b3a0ac834339941c7b9d027340aa
eafa91e0088fa784b777a8a3f8af0c220a95a396
refs/heads/master
2022-04-13T03:58:30.422523
2020-04-07T19:02:04
2020-04-07T19:02:04
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,034
h
RealTimeShadowMgr.h
#ifndef __REALTIMESHADOWMGR #define __REALTIMESHADOWMGR #define NUM_MAX_REALTIME_SHADOWS 56 #define SHADOWS_MAX_INTENSITY 100 struct tShadowQualitySettings { unsigned char nQuality, nQualityAfterResample; unsigned char nBlurPasses; bool bUseGradient, bDedicatedCamsForPlayer; }; class CShadowCamera { publ...
ba5dc6d0ee89b564e9ef933b4f91d9929e8ffaad
2eb5bbcf91d9b69755fd4f9b8bf9e616538beeef
/Strings/Atoi.cpp
bd52474c09b082bea857790f2855348dc4bec593
[]
no_license
kumarshikhardeep/Interviewbit-Solution
cf300dda5085fcd0291831e7d31f1e20e74d3993
bdd71e88d26ffb952f43bb85e5445c894abf8036
refs/heads/master
2020-03-27T01:25:50.009979
2019-02-27T08:14:03
2019-02-27T08:14:03
145,709,813
0
0
null
null
null
null
UTF-8
C++
false
false
552
cpp
Atoi.cpp
int Solution::atoi(const string A) { int i=0; while(A[i]==' ' && i<A.size()) i++; int sign=1; if(A[i]=='-') { sign=-1; i++; } else if(A[i]=='+') i++; else i=i; long long int res=0; while((A[i]<='9' && A[i]>='0') && i<A....
0e94d5109d902b25b707732fff1d6b8e7949e2ca
96db47e1502b24802de25325dae6872d32de8998
/BT/src/BinaryTree.cpp
d7ae451038044f04ad9414c57635796147ed03eb
[ "Unlicense" ]
permissive
45w1n/cpp-resources
c32cb29f3132fcddbbd7aae0679c2b9cba44a7c5
a3aa5b1fe6bb467220404f022531443f163f9de5
refs/heads/master
2020-09-01T00:18:22.679251
2019-10-31T17:49:50
2019-10-31T17:49:50
218,825,021
0
0
Unlicense
2019-10-31T17:44:57
2019-10-31T17:44:54
null
UTF-8
C++
false
false
3,171
cpp
BinaryTree.cpp
#include <cstddef> #include "BinaryTree.h" #include <vector> #include <iostream> using namespace std; BinaryTree::BinaryTree() { _root = NULL; } BinaryTree::~BinaryTree() {} void BinaryTree::insert(int value) { _root = _rinsert(_root, value); } bool BinaryTree::contains(int value) { return _rcontains(_...
08dcbe71cbb54159eb43a90a31dc9765f1c920cb
9e82fe925277f6e87e7201f8903338efeb0ceb0f
/Plugins/SimsalaBIM/Source/SimsalaBIM/Public/SimsalaBimFunctionLibrary.h
6d9ad4e4a3d709dfe626ae96b3279bb8a577f47a
[ "MIT" ]
permissive
helpsterTee/ue4-simsalaBIM
4b321c075497164b0ff98d2903067f04283e220a
36320fcb54f8fe95a5db129df9ca0a11e7396f13
refs/heads/master
2021-03-24T11:44:10.324592
2017-03-27T10:55:39
2017-03-27T10:55:39
82,789,540
4
4
null
null
null
null
UTF-8
C++
false
false
849
h
SimsalaBimFunctionLibrary.h
#pragma once #include "Engine.h" #include "SimsalaBimFunctionLibrary.generated.h" UCLASS(BlueprintType) class UIfcProject : public UObject { GENERATED_BODY() public: UPROPERTY(BlueprintReadOnly) FString Name; uint64 OID; }; UCLASS() class USimsalaBimFunctionLibrary : public UBlueprintFunctionLibrary { GEN...
8bd5660188a9b1ed0162a19bd59ede9dd90e440d
e7be27c943abe8203463a794d31ea3e28edae485
/unit_tests/logicdata_csv_reader.h
f8f61c0cef6b1348995c751be4c28a918cb41817
[]
no_license
binaco/rusefi
d2682dbf795f1837109358d7cdd57cc424272855
c171d5f1d3ca8a9525c74809bea07fc8c8fb0516
refs/heads/master
2023-06-08T23:15:41.334222
2021-07-01T04:05:42
2021-07-01T04:05:42
null
0
0
null
null
null
null
UTF-8
C++
false
false
419
h
logicdata_csv_reader.h
/* * @file logicdata_csv_reader.h * * @date Jun 26, 2021 * @author Andrey Belomutskiy, (c) 2012-2021 */ class CsvReader { public: FILE *fp; char buffer[255]; bool currentState[2]; int triggerCount = 2; int lineIndex = -1; int * columnIndeces; void open(const char *fileName, int * columnIndeces); boo...