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
1cb5de092c1378e6882a431efcca4017ca0ebc8d
436fe8f13e2b0854dd2cd4afce607a146067e550
/kvstorelib/utf8str.cpp
4e2e0101cbc477884654b8670bfb8ff5397f3f4b
[]
no_license
trieck/kvstore
059e87a3acb60c45b7b70415cbe7be4ab94397f0
3251d5e99aadfa21e90a27e414eed744a024d15c
refs/heads/master
2023-07-14T14:24:38.992875
2021-08-23T03:48:57
2021-08-23T03:48:57
395,184,839
1
0
null
null
null
null
UTF-8
C++
false
false
648
cpp
utf8str.cpp
#include "kvstorelib.h" #include "utf8str.h" utf8str::utf8str(const std::wstring& input) : utf8str(input.c_str()) { } utf8str::utf8str(LPCWSTR input) { int nLengthW = static_cast<int>(wcslen(input)); int nLengthA = nLengthW * 4; m_str.resize(nLengthA); auto result = WideCharToMult...
511fce6ccad85e3e5278684f9575a4c4397671b2
322fd438e576288676bd819eab6cc2d9965c7d62
/apps/vaporgui/GLColorbarWidget.h
779f671ba46f80e19af900fe0584e90e461dd584
[]
no_license
nyue/VAPOR
35420eaf7ac303ea194c80e0f336dcb08f47fb5b
c9500c407ef8d3d48c1568f50c8dcebca3470de7
refs/heads/master
2020-07-30T00:37:53.380640
2019-09-19T18:25:01
2019-09-19T18:25:01
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,097
h
GLColorbarWidget.h
//-- GLColorbarWidget.h --------------------------------------------------------- // // Copyright (C) 2006 Kenny Gruchalla. All rights reserved. // // OpenGL-based colorbar with interactive color control points. // //---------------------------------------------------------------------------- #ifndef GLCOLORBARWIDG...
fdb5b97fe95cdafad1a2bef0f90af3d2051658e5
b8cd04f94ebf79b834df3458d203bd8af1bb8339
/src/components/cmp_menuitem.h
b5736b8a1c32b244febe6c19490a824d4c78c54f
[]
no_license
DelbyPicnic/grassgame
179eba275aab88b99dd18237c8162911cb31795d
2e0e9c1f3ece808ab5b14e4db483e0f74608f615
refs/heads/master
2022-04-27T20:01:40.371041
2020-05-01T15:21:06
2020-05-01T15:21:06
258,250,683
0
0
null
2020-05-01T15:21:08
2020-04-23T15:36:06
C++
UTF-8
C++
false
false
2,062
h
cmp_menuitem.h
#pragma once #include <SFML/Graphics/Text.hpp> #include <ecm.hpp> #include <vector> // Simple selectable menu item class MenuComponent : public Component { public: MenuComponent() = delete; ~MenuComponent() override = default; explicit MenuComponent(Entity* const p, const std::string& str = ""); void...
1a3ab1289ae10400bc2f89e65c82028eced25622
25ead6afe3c5c87cce1677510ecdb8bfd90a754a
/LeetCode/MinimumDepthofBinaryTree.cpp
45dc1a3ff2339eb3e1cf7b5cd50b006d56379fd6
[]
no_license
zytdevelop/Code_for_Cpp
d287c816ee2bbbe711a8ef50bcfaf9936ad338a1
02a30396399e98511be62600cd77b094d3737255
refs/heads/master
2022-04-07T19:14:21.094853
2020-03-19T03:55:11
2020-03-19T03:55:11
222,374,701
0
0
null
null
null
null
UTF-8
C++
false
false
992
cpp
MinimumDepthofBinaryTree.cpp
/* LeetCode No.111 二叉树的最小深度 给定一个二叉树,找出其最小深度. 最小深度是从根节点到最近叶子节点的最短路径上的节点数量。 说明: 叶子节点是指没有子节点的节点。 思路: 递归遍历二叉树,返回左右子树深度的较小值. */ /** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : val(x), left(NULL), right(NULL) {} * };...
ad7854962f330351f54c19990b6c51a92ec77dc0
fb0f9abad373cd635c2635bbdf491ea0f32da5ff
/src/coreclr/inc/configuration.h
eac7fb7212445ec4d90fe1c42f6b9eacb01b9a2f
[ "MIT" ]
permissive
dotnet/runtime
f6fd23936752e202f8e4d6d94f3a4f3b0e77f58f
47bb554d298e1e34c4e3895d7731e18ad1c47d02
refs/heads/main
2023-09-03T15:35:46.493337
2023-09-03T08:13:23
2023-09-03T08:13:23
210,716,005
13,765
5,179
MIT
2023-09-14T21:58:52
2019-09-24T23:36:39
C#
UTF-8
C++
false
false
3,341
h
configuration.h
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // // -------------------------------------------------------------------------------------------------- // configuration.h // // // Access and update configuration values, falling ba...
8b5af294e0be3e415a08469b87ececfc8682499f
b1a2eebe01be67e9e04c319c5893d63aa32a74e4
/WordList.h
adbaee59f8efdce902fc77ca8ae8f539ee2c6157
[]
no_license
TimParkSource/Search-Word
22baf6cd637aa4a6d3c731e8d5b1f595aad36bdb
b4c8de06b237d6aea55fed2bf0396a0e53fdc567
refs/heads/master
2021-01-10T15:17:55.407120
2016-03-27T06:00:31
2016-03-27T06:00:31
54,814,624
0
0
null
null
null
null
UTF-8
C++
false
false
1,523
h
WordList.h
#ifndef WORDLIST_H #define WORDLIST_H #include <iostream> #include <ostream> #include <fstream> #include <string> #include <sstream> #include <typeinfo> #include "iterator.h" using namespace std; class WordList{ private: /** *Stores the word from text file */ string Word; /** *Stores the line numbers (as intege...
54ceefa8be841cc57fc31b76b198172087f7fa95
9178c14c6977c10706cec7d3928159cbb0eab566
/osumaruEngine/Camera/ShakeCamera.h
cd4a4b551da86eb58433af5af9a85a575a5de865
[]
no_license
osumaru/Game
bdac76f375e621f05ee50cca0d1913ac7c13ca84
6ae23ce622bd1911604e84af318b92fc609f7650
refs/heads/master
2023-03-07T11:40:17.907500
2021-02-20T09:56:50
2021-02-20T09:56:50
125,951,546
0
0
null
null
null
null
SHIFT_JIS
C++
false
false
1,980
h
ShakeCamera.h
#pragma once class CShakeCamera { public: /* 初期化 position カメラの座標 target カメラの注視点 shakeDirection 揺れ方向 damping 減衰率 */ void Init(const CVector3& position, const CVector3& target, const CVector3& shakeDirection, float damping); /* 揺れスタート shakePower 揺れる力 */ void ShakeStart(float shakePower) { m_shakePo...
40feb294f18b7d016f25833735231a6ff99bf2de
e875f8bffca3d6031151a99640857f76be70a142
/Wforsyth/Source Code/Arduino Code/Ardunio_Uno_AES_Encode_Benchmark/Ardunio_Uno_AES_Encode_Benchmark.ino
c0ac4905aea45d65de7b7ebdccc3cbc245e5e4bf
[]
no_license
shade34321/CS_6045
26621237e27e56b70a39521edb59fe4fa6d1c42b
03f82fb01fc9f2805226d757fdddafbdab0cd47e
refs/heads/master
2020-05-20T19:51:18.761813
2017-04-13T22:26:46
2017-04-13T22:26:46
84,515,843
0
1
null
2017-04-13T22:26:47
2017-03-10T03:35:43
C
UTF-8
C++
false
false
2,097
ino
Ardunio_Uno_AES_Encode_Benchmark.ino
#include <AESLib.h> #define max_lines 500 void configCrypt() { } void setup() { randomSeed(analogRead(0)); uint8_t key[] = {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15}; uint8_t iv[] = {(uint8_t)random(255),(uint8_t)random(255),(uint8_t)random(255),(uint8_t)random(255),(uint8_t)random(255),(uint8_t)random(255),(uint...
917822877733a8e809773837aaf9e22519c47143
fb2a45ec972b3544616a142f5df0a0ed6a3267ba
/entity_manager.h
f8cba19bbd673e78d239de7375ad3cc83e277740
[]
no_license
cyber4ron/mmo-server
a761729a34ca00c4e9d09f41cf0a9fcd1722f3a2
2cc4752f06dc7a570e0771d7c960d32837423336
refs/heads/master
2020-04-11T06:48:25.631899
2013-09-19T18:00:04
2013-09-19T18:00:04
12,915,191
1
0
null
null
null
null
GB18030
C++
false
false
3,124
h
entity_manager.h
#pragma once #include "entity.h" #include "server.h" #include "connection_server.h" #include "message.h" #include "internal_message.h" #include "eval_manager.h" #include "worker.h" #include "task_queue.h" #include "entity_factory.h" #include "configuration.h" class server; class entity; class role; struct internal_m...
59fa671f2cc348898b8b3040f60f8d4cf1af2806
f8cef09ca20b2836f6ecb8ade7a2e43c4f2aab5b
/lab3/vtk.h
5a63c25bb36442b327aeef6f88b3311d535c1b7b
[]
no_license
CompMathGroup/nvp-labs
1b322cdfd56f17ae13b2487042b99c831d57ef16
d490d357bb71b8ba062f2c021c88a51db4db8b70
refs/heads/master
2020-04-16T16:12:54.079155
2016-05-05T15:23:42
2016-05-05T15:23:42
31,127,390
0
1
null
null
null
null
UTF-8
C++
false
false
287
h
vtk.h
#ifndef __VTK_H__ #define __VTK_H__ #include <delaunay2.h> #include <string> #include <vector> void save(const std::string &prefix, int step, const std::vector<del_point2d_t> &pts, const std::vector<del_triface_t> &faces, const std::vector<double> &U); #endif
d3f6293506064679df41cce3e8896c180307a2ea
88fa04dc2e55dc38e3532898a321931fde82b29d
/OverlordEngine/Graphics/PostProcessingMaterial.cpp
7f09952dc1c377fe58bc03ea05bc421ffa6236d9
[]
no_license
Tbone2401/OverlordEngine
61fdef7de6ceb4c65bfd68117c8386f8ebbb3735
a0c23f2083ef89894556ca7df5ba56465410e160
refs/heads/master
2021-01-11T06:30:58.395753
2016-10-06T18:09:44
2016-10-06T18:09:44
70,179,957
0
0
null
null
null
null
UTF-8
C++
false
false
5,806
cpp
PostProcessingMaterial.cpp
//Precompiled Header [ALWAYS ON TOP IN CPP] #include "stdafx.h" #include "PostProcessingMaterial.h" #include "RenderTarget.h" #include "../Base/OverlordGame.h" #include "../Content/ContentManager.h" ID3D11Buffer* PostProcessingMaterial::m_pVertexBuffer = nullptr; unsigned int PostProcessingMaterial::m_VertexBufferStr...
4668c102f3c6ba7796bcae5186a42966217c234d
8204699db5e37bd8b1efd0d360e8ad49110802d6
/src/Larp/ConfigurationLoader.hpp
f8abe2696ef4786851639a9d8c2eb41d1a4d8cf8
[]
no_license
RyFry/LARP-3D-Rendering-Engine
e5f46fe2620ca7bbfb6bc9b145aa3d27e1b21154
1236d1fdfa566424d0e9fa8c79575310bbacf052
refs/heads/master
2021-01-12T02:19:30.098003
2018-01-22T00:05:40
2018-01-22T00:08:11
78,498,318
0
0
null
2017-01-10T04:43:05
2017-01-10T04:43:05
null
UTF-8
C++
false
false
4,937
hpp
ConfigurationLoader.hpp
#pragma once #include <unordered_map> #include "LarpPrerequisites.hpp" namespace Larp { /** * Used to load basic configurations such as screen width and height so that * recompiling for simple changes is not necessary. * * If there are additional options that the user would like to define in ...
0cbc6564f2cb40a8bc78e1581c85731e938472c7
ac5b964d0ed5c209e8522d908de2e8a3e7c99a17
/EspNodeMCU_32/NFC_RFID/Write_Card_Ssid_Pass/Read_Connect_WiFi/Read_Connect_WiFi.ino
e7cb846ab5b5106c3ac848ae198d3e7734ca66c6
[]
no_license
Backspace7/Iot_firmwares
288b7dc78591d4699defe63d2742ac9871331346
8ce58b3842e69ca054197bbac0715024e1470d1e
refs/heads/master
2020-04-08T13:12:13.362593
2020-02-26T02:42:27
2020-02-26T02:42:27
159,380,329
0
0
null
null
null
null
UTF-8
C++
false
false
8,353
ino
Read_Connect_WiFi.ino
#include <Wire.h> #include <SPI.h> #include <Adafruit_PN532.h> #include <ArduinoJson.h> #include <WiFi.h> #include "EEPROM.h" #include "DallasTemperature.h" #define PN532_SCK (18) #define PN532_MOSI (23) #define PN532_SS (5) #define PN532_MISO (19) #define ONE_WIRE_BUS 21 OneWire oneWire(ONE_WIRE_BUS); DallasTemp...
1b86d2cd48d5f3ef06438205884c6ee9a9449b6f
a332f0570eb675e415745d277e0bf15fde9fa823
/GUI/SceneGUIManager.cpp
586087d18d000e5842d49d227d478aa5e439dc1b
[]
no_license
ParalyzeStudio/Orbs
337230ab4b93ab683f7db65798c3799cc566fc04
0bdb5719b7209d798540774d2af5c68e31d74257
refs/heads/master
2021-01-24T07:44:25.904729
2017-06-05T02:13:55
2017-06-05T02:13:55
93,355,396
0
0
null
null
null
null
UTF-8
C++
false
false
56,373
cpp
SceneGUIManager.cpp
#include "OrbsPluginPCH.h" #include "SceneGUIManager.h" #include "GameManager.h" void SceneGUIManager::initGUIContext() { m_GUIContext = new VGUIMainContext(NULL); m_GUIContext->SetActivate(true); defineScale(); #ifdef _VISION_ANDROID VGUIManager::GlobalManager().LoadResourceFile("GUI\\MenuSystem_mobile.xml"); #e...
9f141fb00b6dc1c14c019af28ecf3636de799bbf
e21d670a27b42a8c2b5fa325311033f6795c4158
/parser/generated/ShellParserVisitor.cpp
8c13d6921aedcf5a5ed305a7b6537d2498548f91
[]
no_license
Urbanov/Shell
534a12861d1903dcde691f1e6f8fe58757c9301c
22f286117aa444898c30c152c981e9f110d7657c
refs/heads/master
2020-03-19T05:24:23.197051
2018-06-14T15:43:46
2018-06-14T15:43:46
135,927,407
0
0
null
null
null
null
UTF-8
C++
false
false
85
cpp
ShellParserVisitor.cpp
// Generated from ShellParser.g4 by ANTLR 4.7.1 #include "ShellParserVisitor.h"
f16084c869b512b2f989b154f5ad5c0c6c95aa6f
e4b78be5038c92d22cc9917af4642e1686e72a16
/spr/ReducedSetDensityEstimator.h
c4cb1ec70782834e61de74e03ee294675abe31b5
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
NIRALUser/neoseg
f4003a00d781ca68907440109b78940e5928bb2b
040cb52cd4d360f6207efc3b79791211616b2a9b
refs/heads/master
2021-06-04T15:58:03.429941
2019-03-02T01:00:31
2019-03-02T01:00:31
24,958,406
5
2
null
null
null
null
UTF-8
C++
false
false
1,572
h
ReducedSetDensityEstimator.h
//////////////////////////////////////////////////////////////////////////////// // // Reduced Set Density Estimation // Fast Parzen density by prototype selection // // Girolami, He "Probability Density Estimation from Optimally Condensed Data // Samples" IEEE PAMI Oct 2003 Vol 5 no 10 // ////////////////////////////...
bc8912628238f0098e812b554229c7ba00f9acbd
ec3e0ce4d7d295f26a36523a4e1d5f91fd635990
/xddz/xddzsvr/socket_service.cpp
624499698ec076f320debf028999246912facdd1
[]
no_license
mashaolin88/code
4b3decf9ed8957281235a152bf74f0c0544a20eb
8ee4b2aba8b614645378bd6c1ea4e33c007f79a4
refs/heads/master
2020-12-31T04:56:14.404019
2016-05-21T19:07:16
2016-05-21T19:07:16
59,376,730
0
0
null
null
null
null
UTF-8
C++
false
false
2,308
cpp
socket_service.cpp
#include "socket_service.h" #include "game_main_thread.h" #include "config_manager.h" socket_service::socket_service(void) { } socket_service::~socket_service(void) { } bool socket_service::init() { engine_init_item item = {0}; item.con_threads = 0; item.init_mem_pool_size = 100; item.max_connects = ...
fd4abcda0fe5724b5044fdea3827b44e2d979f18
29eb8f8f4e0b1db61329006a2e0d35260f250ece
/server/monoserver/src/servicecorenet.cpp
208c9460d2e96068f92ac2ea5e4557bae15637d1
[]
no_license
lxh412082202/mir2x
15ee510a795516a725b57d200f8ef75aafc2b2d5
305887e71af509ac26305193d45605a652a6e468
refs/heads/master
2023-01-31T06:13:00.854576
2020-12-03T09:02:44
2020-12-03T09:02:44
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,315
cpp
servicecorenet.cpp
/* * ===================================================================================== * * Filename: servicecorenet.cpp * Created: 05/20/2016 17:09:13 * Description: interaction btw NetPod and ServiceCore * * Version: 1.0 * Revision: none * Compiler: gcc * * Aut...
cc773cadc43d7a2dac323dd0289baf077492b6d7
1de5dbf9d55db225dcea0703c2686c05b5ad6044
/CLONE_client/CLONE_client/Code/Stage.cpp
14331a2cc88a8b6728c5805aef4d0ab6e1914bf6
[]
no_license
RYUHYEONGSEOK/CLONE
4e48c8307445402a8fb656b599090513e63786ab
3a3d3e18e84fe7fea3667ab9f9d2123b8246a2fe
refs/heads/master
2021-01-15T13:18:40.409938
2017-08-17T01:42:46
2017-08-17T01:42:46
78,752,257
0
0
null
null
null
null
UHC
C++
false
false
12,970
cpp
Stage.cpp
#include "stdafx.h" #include "Stage.h" //Manager #include "ResourceMgr.h" #include "RenderTargetMgr.h" #include "LightMgr.h" #include "CollisionMgr.h" #include "SceneMgr.h" #include "TimeMgr.h" #include "NaviMgr.h" #include "SoundMgr.h" #include "Frustum.h" #include "ServerMgr.h" //Object #include "Renderer.h" #include...
cf31f2414ad0d23f65894ab594e3836db33ae38e
3bcad64ad608e2cbb61df2c174d105122c1f9b4d
/CarRental/StringHandler.h
808b5d3a9579a8a914efb2e16a6e5db68a710ef3
[]
no_license
Phil2k18/CarRental
8641f3c35e869469b6fdc8efb870e6bd9521c1ef
86334b6dc2cf64b9ff8d847fbc89212acd6b3cf9
refs/heads/master
2020-04-03T18:11:10.099625
2016-03-22T05:28:43
2016-03-22T05:28:43
null
0
0
null
null
null
null
UTF-8
C++
false
false
332
h
StringHandler.h
#pragma once #include <sstream> //This patch is to fix some of the g++ version unable to support to_string function namespace patch { template < typename T > std::string to_string(const T& n) { std::ostringstream stm; stm << n; return stm.str(); } } class StringHandler { public: StringHandler(); ~StringHand...
2604e54f0d6ab7980989355ceafceab3a35fb011
c92f3822d644c3b4d5d1c1ef6191e176d4e4814a
/read_pcd/src/read_pcd.cpp
c407f1252895de142db5dc538d23809c808892a2
[]
no_license
scav-project/pcdloadmap
568b82669bc4f8099b3f9ec5fd14413f4d940439
4a6939a5c1d4456faa03c5d16845072cbd078b73
refs/heads/main
2023-06-17T19:52:23.868654
2021-07-21T08:23:42
2021-07-21T08:23:42
388,045,363
0
1
null
null
null
null
UTF-8
C++
false
false
1,417
cpp
read_pcd.cpp
// Author : Muhammad Aizzat Bin Zakaria (maizzat@ump.edu.my) // pcd_conversions old package rename to pcl_conversions // need to compile together with this: //https://github.com/ros-perception/perception_pcl/tree/melodic-devel //Detail tutorials from here: //https://programmersought.com/article/29904905319/ // but wit...
5a5290117ba8004bdc593bff91debddcceebe661
f76b5522d71ea0fbb8d05e3e551a075fd6021786
/SnakeGameBata/scence.cpp
41ccb4b77e6ee092b1fa122ddcd265ca267eadc5
[]
no_license
soloacfun/SnakeGame
cb92ee14169eaafc988ecb8090b03cfe4e822d8a
f7e8f3e11459a4a84a857f98d8ce2dda1ae7dbb2
refs/heads/master
2020-04-02T09:02:21.972022
2018-10-23T15:54:03
2018-10-23T15:54:03
null
0
0
null
null
null
null
GB18030
C++
false
false
808
cpp
scence.cpp
#include "stdafx.h" #include "scence.h" #pragma comment(lib,"Winmm.lib") IMAGE background,Snake_menu; IMAGE Game_exit; void scence_init() { initgraph(WINDOW_WIDTH, WINDOW_HEIGHT); loadimage(&background, _T("background.jpg")); loadimage(&Snake_menu, _T("Snake_menu.jpg")); loadimage(&Game_exit, _T("Game_exit.jpg"...
6903b1c2c106a598f15ead8c806cc08476369749
dcbe58bb19254fe3db39e7a7c07ae21a7883c50a
/sort_method.cpp
c635856a26477b2d79b019d7f6b8bc56ed4590fe
[]
no_license
maxcccp/PantryCPP
224190f1935587fa15dcd3b698e8cfa4922bde5e
036c1bbe8e41d4e10d8f45a10970bd768e89e71a
refs/heads/master
2021-10-24T06:27:32.231149
2019-03-22T22:00:27
2019-03-22T22:00:27
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,690
cpp
sort_method.cpp
#include <iostream> #include <algorithm> #include <vector> #include <utility> #include <string> using namespace std; struct Human{ int height; string name; }; void mbSort(); void mbSort2(); void mbSort3(); bool cmp(Human a, Human b); int main() { setlocale(0,""); cout << "mb sort_method"<...
f0aaa64a5863c2b680a1bf8205afa6a04ea0cc8d
c424e014db96e67286d31471530eb6c466424b20
/SemiLeptonicWVA/Utils/src/METDouble.cc
56ac45fc8c5d4551c72a09bf33200b6234d4b222
[]
no_license
gqlcms/RunII_WVA
4657c2063d3ff4d73e6e3191a03cf2af244dbf0c
aa8fce02574ac9a66bb64b9e22021115244cdf05
refs/heads/master
2020-09-25T03:08:56.071394
2016-02-03T16:32:56
2016-02-03T16:32:56
null
0
0
null
null
null
null
UTF-8
C++
false
false
15,205
cc
METDouble.cc
// -*- C++ -*- // // Package: METDouble // Class: METDouble // /**\class METDouble METDouble.cc RA2Classic/METDouble/src/METDouble.cc * * Description: [one line class summary] * * Implementation: * [Notes on implementation] */ // // Original Author: Arne-Rasmus Draeger,68/111,4719, // Crea...
594c36765bd44473d1a99c6966c86cdee8e3fc0d
95404f610ee5d35c996f9df0f4658c3246d26086
/MobPosHandler.cpp
4ad779ffe4039ed01e23be16c998d7a4666101c1
[]
no_license
raysloks/Project3
e43121bab671055555a57dfe5251ddf785d633a8
be039ebaa49839f9b70e23cd77337344389c41f7
refs/heads/master
2023-05-25T18:45:44.042874
2023-04-28T22:47:31
2023-04-28T22:47:31
230,270,221
0
0
null
null
null
null
UTF-8
C++
false
false
11,339
cpp
MobPosHandler.cpp
#include "MobPosHandler.h" #include <iostream> #include "GameKeyBinding.h" #include "SpriteAnimator.h" #include "ModelAnimator.h" #include "HealthDisplay.h" #include "ActionBar.h" #include "MobTemplate.h" #include "ModelRenderSystem.h" #include <boost/uuid/string_generator.hpp> MobPosHandler::MobPosHandler() : gr...
e0e9e099af7faeefbe0fe9d8144f7d0fef094a21
0155110ffb5fdd011598b89f118d1e64896728eb
/main.cpp
58499f2a2938129ef831555c1ddf0125007490fd
[]
no_license
CISVVC/cis201-final-project-RDAragon
d54e269c80eac50173b0297251c916b1dd01c64a
9b2d59a0b4f562719399a8364ef6c34ace403b7a
refs/heads/master
2020-04-10T20:15:03.849374
2018-12-16T07:43:06
2018-12-16T07:43:06
161,261,613
0
0
null
null
null
null
UTF-8
C++
false
false
164
cpp
main.cpp
#include<iostream> #include"concordance.h" using namespace std; int main() { Concordance con("alice.txt"); con.parse(); con.print(); return 0; }
a90d84fdf6f66326a2c687d9b881609a5e5881f8
ffdc77394c5b5532b243cf3c33bd584cbdc65cb7
/mindspore/ccsrc/plugin/device/ascend/optimizer/buffer_fusion/matmul_confusiontranspose_fusion_pass.cc
3b55f42c916be41b60513a350fe1d410d499853d
[ "Apache-2.0", "LicenseRef-scancode-proprietary-license", "MPL-1.0", "OpenSSL", "LGPL-3.0-only", "LicenseRef-scancode-warranty-disclaimer", "BSD-3-Clause-Open-MPI", "MIT", "MPL-2.0-no-copyleft-exception", "NTP", "BSD-3-Clause", "GPL-1.0-or-later", "0BSD", "MPL-2.0", "LicenseRef-scancode-f...
permissive
mindspore-ai/mindspore
ca7d5bb51a3451c2705ff2e583a740589d80393b
54acb15d435533c815ee1bd9f6dc0b56b4d4cf83
refs/heads/master
2023-07-29T09:17:11.051569
2023-07-17T13:14:15
2023-07-17T13:14:15
239,714,835
4,178
768
Apache-2.0
2023-07-26T22:31:11
2020-02-11T08:43:48
C++
UTF-8
C++
false
false
2,814
cc
matmul_confusiontranspose_fusion_pass.cc
/** * Copyright 2020-2023 Huawei Technologies Co., Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicabl...
6a77aac15604a346e0b754ad8c0083f997918f0e
562b0f48858219c498daf4fbfa614c4d43df3fa5
/include/EventData/ChargePolicy.hpp
f70ddcf9d53179b11e6fd5501943a7ef4b851b32
[]
no_license
beomki-yeo/gpuKalmanFitter
843be152210d62f488d2314fe80283c49a8b451b
fa9752cfbca7b411971890fd36918606c8480346
refs/heads/master
2023-04-26T10:41:00.712420
2021-04-23T08:48:58
2021-04-23T08:48:58
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,142
hpp
ChargePolicy.hpp
// This file is part of the Acts project. // // Copyright (C) 2016-2018 CERN for the benefit of the Acts project // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. #...
4bd11c4333fae89a161b0146cdcb5d357e5c310e
be87bc53359e3e2974b91b55a213b4a1df237955
/Mblock5_Develop/Create_extensionsForVietduino_n22_11_2019/Create_extensionsForVietduino/Arduino_IDE_Test/vietduino_template/vietduino_template.ino
25bda1349aad5abb6c8bd48e441936c5443ad25c
[]
no_license
quocbao238/MakerLab
90ea9d223a223e6e54355a5034172f9b93f6c35c
5d9e1615e111f8352cfaf5494a05e1baff317d2b
refs/heads/master
2022-03-23T20:06:50.949577
2019-12-11T03:25:58
2019-12-11T03:25:58
null
0
0
null
null
null
null
UTF-8
C++
false
false
9,887
ino
vietduino_template.ino
/* * Template used in Mblock 5 */ #include "Vietduino_NewFunction.h" #include "Vietduino_Led.h" #include "Vietduino_Servo.h" #include "Servo.h" #include "Vietduino_DCmotor.h" #include "Vietduino_Button.h" #include "QTRSensors.h" #include "OfflineBroadcast.h" #include "Vietduino_Ultrasonic.h" #include "OfflineBroadcast_...
8061014747f56e474eabf1552bcb29f7a47a44a9
5d83739af703fb400857cecc69aadaf02e07f8d1
/Archive/d719584abc7c3ecabb2b38814a43519e-f674c1a6d04c632b71a62362c0ccfc51/main.cpp
6767c3dc016d8978b393e7f909755838e8424005
[]
no_license
WhiZTiM/coliru
3a6c4c0bdac566d1aa1c21818118ba70479b0f40
2c72c048846c082f943e6c7f9fa8d94aee76979f
refs/heads/master
2021-01-01T05:10:33.812560
2015-08-24T19:09:22
2015-08-24T19:09:22
56,789,706
3
0
null
null
null
null
UTF-8
C++
false
false
275
cpp
main.cpp
#include <stdio.h> int main() { short checksum=0; FILE* fp=0; fp = fopen("save.sav", "r"); fseek(fp, 0x100, SEEK_SET); while(!feof(fp)) { checksum += fgetc(fp); } printf("The checksum is: %d.\n", checksum); fclose(fp); }
30d7e5ea8550d976fe1d8362471ba8a60f3103d0
62d55fb3a013a6c4b51749f761c18f44aea8cde5
/process.h
cbca877a3a5f760566fd1223fa894ce02a6abd0c
[]
no_license
had1992/process_pool
5747e2100ccad184f57f97f9adbc6ae346586730
0a76fc6f45496562b74ed00cc0cce5718a3aa7a5
refs/heads/master
2020-12-01T05:50:59.441223
2016-08-24T03:44:44
2016-08-24T03:44:44
66,422,255
4
2
null
null
null
null
UTF-8
C++
false
false
730
h
process.h
// // Created by 304-had on 2016/8/23. // #ifndef PROCESS_POOL_PROCESS_H #define PROCESS_POOL_PROCESS_H #include <unistd.h> #include <sys/types.h> /*描述一个子进程的类,m_pid是目标子进程的PID,m_pipefd是父进程和子进程通信用的管道*/ class process { public: process():m_pid(-1){} public: pid_t m_pid; int m_pipefd[2];/*fork子进程,然后在服进程关闭一个描...
bdd41463beabb3f19ca155cfaf363e89a7add26d
f2fa718c685d5d37d6570279f2f28e9d1d138f80
/src/rustwrapper.h
01ff445fd9a4e023949e04873b114c39b12968ec
[]
no_license
JRF63/rust-fast-math
ef494c7bc0e8b85f9f15c51e4724e9acd3affc57
0d20ee074b25c85b6f9ddadd6a6ba6e0f71075f3
refs/heads/main
2023-02-15T08:09:04.686747
2021-01-04T05:41:50
2021-01-04T05:41:50
325,225,886
0
0
null
null
null
null
UTF-8
C++
false
false
231
h
rustwrapper.h
#include "llvm/IR/Module.h" namespace passwrapper { extern "C" void LLVMRustTagFunctionUnsafeFPMath(LLVMValueRef Fn, uint32_t Flags); extern "C" void LLVMRustCheckAndApplyUnsafeFPMath(LLVMModuleRef Mod); } // namespace passwrapper
69076c2872a73ae9c2c00fb1872770af98ddad82
df4f7602baf19f02ea0b71c21893de982adaf173
/src/gui/map/ElevationViewer.h
87f663b6f2b7c2fe720abb56f579a728357192c7
[]
no_license
xavierholt/anaximander
5fba275d5c15b320101373cc7575b3ae08f33069
89700a32a4cce148b4e1cc9eeb3cf240816534e4
refs/heads/master
2022-03-26T03:58:45.214772
2020-01-08T19:20:38
2020-01-08T19:20:38
108,606,879
0
0
null
2020-01-08T19:20:40
2017-10-28T00:08:48
C++
UTF-8
C++
false
false
218
h
ElevationViewer.h
#ifndef PLAT_ELEVATIONVIEWER_H #define PLAT_ELEVATIONVIEWER_H #include "MapViewer.h" namespace Plat { class ElevationViewer: public MapViewer { public: void xxx(const Map& map, QImage& image); }; } #endif
3632a2af728e7ee3c5721f4fa472d1927a61822d
e7c7f47b1946c753cb29619edc509c1803879554
/Server/dbhelper.cpp
51b914d3c4326798f90f1f835fd4a1ab9b5f2de1
[]
no_license
zhanghuaiqiang/chatroom
a314dca3a68ad6dff03e92fd923065b62c8fa5d5
6d79e7873d7d32b8c544dc3da8d2eea6128d88d6
refs/heads/master
2020-09-10T04:43:46.535835
2019-12-19T11:31:35
2019-12-19T11:31:35
221,651,322
0
0
null
null
null
null
GB18030
C++
false
false
1,183
cpp
dbhelper.cpp
#include "dbhelper.h" #include<QSqlQuery> #include<stdio.h> dbhelper* dbhelper::instance=0; QMutex dbhelper::mu; dbhelper::dbhelper()//数据库封装 { db=QSqlDatabase::addDatabase("QSQLITE"); } dbhelper* dbhelper::getinstance() { mu.lock(); if(instance==0) { instance=new dbhelper; } mu.unlock();...
771df59a0a3b91df4df6b797c3ca2097a96a1ebf
341bed47089826d0692f4c081c0037a19c877aa7
/src/main.cpp
3df8c9cf4614f5794163c647975be7fcd66daf3e
[]
no_license
yangkang411/route_planning_in_unlimited_grid_world
11f923c6f98cce554d499d3d110aa509e498b4e0
0e6a2de97287bad51f41d98732aecc610c0f64b1
refs/heads/master
2022-05-23T22:51:53.736211
2020-03-15T01:11:18
2020-03-15T01:11:18
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,435
cpp
main.cpp
#include <iostream> #include <string> #include <vector> #include <unordered_set> #include <getopt.h> #include "robot_routing_env.h" #include "planner.h" using namespace std; // global variables: default values for env setting flags bool static_laser_enabled_flag = false; bool dynamic_laser_enabled_flag = false; bool ...
b4cd39ba6e6c2d6385d81f75de3b9e7db36c1793
daeac20db2862124615978f921a4d0d8b6c0d677
/inc/Philosopher.hpp
21d4f0204af69c22bc8dd740a3e28fb1023c813d
[]
no_license
Rosein/hardcore_dining_philosophers
c1981e5ebae0a59ddc723a06342086729ead946a
6924c1f49596222c352beb4a488bacc18a286f20
refs/heads/master
2020-05-18T15:08:44.887046
2019-05-01T22:25:25
2019-05-01T22:25:25
184,489,677
0
0
null
2019-05-01T22:26:41
2019-05-01T22:26:40
null
UTF-8
C++
false
false
646
hpp
Philosopher.hpp
#pragma once #include <string> #include <thread> #include <functional> #include "Table.hpp" class Philosopher { const std::string name_; Table const& dinnerTable_; Fork& leftFork_; Fork& rightFork_; mutable std::mutex mtxLockPrint; public: Philosopher(const std::string& name, ...
1df9b04031da216ba748fa44b7d392961ecd8c99
895e2a73a0e7f9a4380cde464b1907654ae43b3c
/arquivos_exemplo/12-estrutuda_de_dados-buscas/43-BuscaBinaria.cpp
b10bb05c49613c7d9620055e743c59fb3793b9a8
[]
no_license
brcabral/curso_c_cpp
94747f1a78d1a9be98bda2cca0e890f31382c970
6c7418b66a4f1859da9fe2b705fc3e074356857c
refs/heads/master
2021-07-01T07:44:45.322449
2020-08-19T02:38:42
2020-08-19T02:38:42
133,731,843
0
0
null
null
null
null
UTF-8
C++
false
false
1,472
cpp
43-BuscaBinaria.cpp
#include <stdio.h> #include <iostream> #define TAM 10 using namespace std; void imprimeVetor(int vetor[TAM]) { for(int i = 0; i < TAM; i++) { cout << vetor[i]; if (i < (TAM - 1)) { cout << " - "; } } cout << "\n"; } bool buscaBinaria(int vetor[TAM], int valorProcurado,...
eccd491e2505ed8ec7bece8ff7052cbe90498928
b22588340d7925b614a735bbbde1b351ad657ffc
/athena/PhysicsAnalysis/AnalysisCommon/PATInterfaces/test/ut_stream_systematics.cxx
2d5fee7da5fc405505094e2c36c8333580908ecf
[]
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
2,626
cxx
ut_stream_systematics.cxx
// Author: Steve Farrell // Unit test for the streaming feature of the Systematics objects: // SystematicVariation, SystematicSet, and std::vector<SystematicSet> #include <iostream> #include <vector> #include <TObject.h> #include <TSystem.h> #include <TFile.h> #include <PATInterfaces/SystematicVariation.h> #include ...
078dba85d4c0a090ed4f6b64a41a403875667524
dfd413672b1736044ae6ca2e288a69bf9de3cfda
/chrome/browser/sync/engine/process_updates_command.cc
0f894421b68f4da66c9d51e2dcde8c0cb6efb6cc
[ "BSD-3-Clause" ]
permissive
cha63506/chromium-capsicum
fb71128ba218fec097265908c2f41086cdb99892
b03da8e897f897c6ad2cda03ceda217b760fd528
HEAD
2017-10-03T02:40:24.085668
2010-02-01T15:24:05
2010-02-01T15:24:05
null
0
0
null
null
null
null
UTF-8
C++
false
false
6,368
cc
process_updates_command.cc
// Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/sync/engine/process_updates_command.h" #include <vector> #include "base/basictypes.h" #include "chrome/browser/sync/en...
5c1290b962f23bb58e2ea24bcf686cb5c0e88e76
3f8533f22db180f9190792e6ddc48f47ddf5534b
/include/FE/FESpace.h
e1a75e1cd568bbe33ca3d727fbf80812f61b0965
[]
no_license
nahmedwias/MyMooNMD
b511244aab95d8390e3ed441e55a9056c9370fb4
ef3307820fb1c776dd92b8c026222cb9b27606cb
refs/heads/master
2020-04-27T05:45:20.226530
2019-08-21T11:35:20
2019-08-21T11:35:20
174,089,251
0
0
null
null
null
null
UTF-8
C++
false
false
7,061
h
FESpace.h
// ======================================================================= // @(#)FESpace.h 1.1 10/30/98 // // Class: TFESpace // Purpose: general super class for all finite element spaces // special spaces are implemented in subclasses // // Author: Gunar Matthies (03.11.97) // // H...
672e1ae1509e9b79926d32c262d3da594931be9a
a491d278f41de52bedcb274181318703dfc68957
/Drivers/chi-dom/VNode.hpp
f83954bef084d8182b23102d7d590804d7d07526
[ "MIT" ]
permissive
chiro2001/bad-vfd
99f5e88ec12736cb5761123014bfc92aa7bb70b6
1492c4c5983a7f8036fa445932a787e370b62fa2
refs/heads/master
2023-06-27T01:19:38.560083
2021-07-15T15:58:01
2021-07-15T15:58:01
386,315,496
0
0
null
null
null
null
UTF-8
C++
false
false
5,991
hpp
VNode.hpp
#ifndef asmdom_VNode_hpp #define asmdom_VNode_hpp #include <utility> #include <vector> #include <string> #include <map> #include <vector> #include <algorithm> #include <string> #include <functional> #include <utility> #include <unordered_map> #include "event.h" namespace chidom { typedef std::function<void(const Eve...
4b5a5a3c233e7b1d720485c84793cc663b8ad8f6
597577f058f8f7888e6c1a6c164dd5ff59553673
/src/turtlebot_walker.cpp
082948fa571bc0174c4ef7ec7284993dd0e72022
[ "MIT" ]
permissive
nr-parikh/808X_week12_walker
88632943db5ec06b5ee700f6eb6c9a3ba93dbad9
00c206854b14be9bb1dd82e6459126b8652eecce
refs/heads/master
2021-08-17T13:12:12.107356
2017-11-21T06:47:09
2017-11-21T06:47:09
111,474,135
0
0
null
null
null
null
UTF-8
C++
false
false
3,081
cpp
turtlebot_walker.cpp
// MIT License // Copyright (c) 2017 Neel Parikh // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, mer...
ed3f2aee10a7e577c7cc5f9e3d6c220d4a35583d
9b8591c5f2a54cc74c73a30472f97909e35f2ecf
/codegen/QtCharts/QHCandlestickModelMapperSlots.cpp
a516cf554504db2000fb4b2fdf4bd576bbf03246
[ "MIT" ]
permissive
tnsr1/Qt5xHb
d3a9396a6ad5047010acd5d8459688e6e07e49c2
04b6bd5d8fb08903621003fa5e9b61b831c36fb3
refs/heads/master
2021-05-17T11:15:52.567808
2020-03-26T06:52:17
2020-03-26T06:52:17
null
0
0
null
null
null
null
UTF-8
C++
false
false
505
cpp
QHCandlestickModelMapperSlots.cpp
%% %% Qt5xHb - Bindings libraries for Harbour/xHarbour and Qt Framework 5 %% %% Copyright (C) 2020 Marcos Antonio Gambeta <marcosgambeta AT outlook DOT com> %% $project=Qt5xHb $module=QtCharts $header $includes=5,8,0 $beginSlotsClass $slot=5,8,0|closeColumnChanged() $slot=5,8,0|firstSetRowChanged() ...
bb22083962dd57c5a007c3dcef87eb7bde04f49f
dfc2eba2d0982ea1a73835987128c2da23b8ebb5
/08ProxyPattern/ProxyPattern/bigfile.h
d2c469400f9513dbaa9d773cc110ed69383ae94d
[]
no_license
lizhichao318/DesignPattern
9e9523b0890e7499c235fa2e977253482a1578c9
7dc56556122ef94c01dbf6ed1234847d058c9ef9
refs/heads/master
2022-12-18T02:52:27.476490
2020-09-18T09:39:44
2020-09-18T09:39:44
295,943,560
1
0
null
null
null
null
GB18030
C++
false
false
684
h
bigfile.h
#ifndef BIGFILE_H #define BIGFILE_H #include "file.h" #include <QElapsedTimer> #include <QCoreApplication> class BigFile : public File { public: BigFile(const string &m_name):File(m_name) { longTimeConstruct(); } void showFile() override { cout <<"展示文件:"<<name<<endl; } private: ...
68ac55a6c5914caeabbe577bc6c9590387335555
11ef4bbb8086ba3b9678a2037d0c28baaf8c010e
/Source Code/server/binaries/chromium/gen/ui/views/vector_icons.cc
0223bc24ecf9eb635f252c73d2bacb5f634291c9
[]
no_license
lineCode/wasmview.github.io
8f845ec6ba8a1ec85272d734efc80d2416a6e15b
eac4c69ea1cf0e9af9da5a500219236470541f9b
refs/heads/master
2020-09-22T21:05:53.766548
2019-08-24T05:34:04
2019-08-24T05:34:04
null
0
0
null
null
null
null
UTF-8
C++
false
false
14,337
cc
vector_icons.cc
// Copyright 2017 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. // vector_icons.cc.template is used to generate vector_icons.cc. Edit the former // rather than the latter. #include "ui/views/vector_icons.h" #include ...
0abe3f52390d79ac306b0c0adf806aad775f2a77
b58a6ad73e9921149310ead4c952c12073d3886e
/util/src/msgqueue.cpp
d71748d45f26c9b9d215aa6c4c2ee86c53425853
[]
no_license
Linlongqing/ImageProcessServer
5c56cabb9bf3c787b9ba78108d30026513ab97d2
1e9b31c1ea30cf877620eb0875de47413f095f2a
refs/heads/master
2021-07-01T10:17:05.359595
2017-09-22T01:55:27
2017-09-22T01:55:27
104,415,975
0
0
null
null
null
null
UTF-8
C++
false
false
1,701
cpp
msgqueue.cpp
// // Created by lin on 17-9-19. // #include "msgqueue.h" #include <stdlib.h> #include <string.h> CMsgQueue::CMsgQueue() { pTail = &queueHeader.next; queueHeader.pImageData = NULL; } CMsgQueue::~CMsgQueue() { SMsgQueueNode* pNode = &queueHeader; while(pNode->next != NULL) { SMsgQueueNode...
e1d78330c0595d44481963885b7bb5fad1b6a07b
7ffe8d19088f6781ee281e0859c65995a8417a8a
/sys/unittest-thread.cpp
6865db80c21c7a16f18a6d7b525a6255b86cf233
[]
no_license
zeusever/lemon-unittest
678e94bf6ac571a9231f198ba9f02c711d4c7281
3771f17531ef1ecc96380eaa55ac0a0ec7681d86
refs/heads/master
2021-03-12T22:47:50.525336
2012-12-26T08:58:57
2012-12-26T08:58:57
3,437,706
1
0
null
null
null
null
UTF-8
C++
false
false
4,836
cpp
unittest-thread.cpp
#include <lemonxx/unittest/unittest.hpp> #include <lemonxx/sys/thread.hpp> #include <lemonxx/function/bind.hpp> namespace lemon{namespace test{ struct LemonThreadUnittest{}; void Proc(int i) { LEMON_CHECK(i == 1); } LEMON_UNITTEST_CASE(LemonThreadUnittest,ThreadCreateTest) { /// <sum...
3ddcc84b984857061a21fe53b14087bbc325f9ad
6504215c8de43b1e3d1bfb9e9740d8d1848e6282
/SDK/UE4_WSkin_Blaster_Bubblegum_classes.hpp
315768a4f763f5ec8dbf8f32ca55e0f9c05d3b70
[]
no_license
MuhanjalaRE/Midair-1.0.4.9504-SDK
d9d82cdaf72d16bcd56400edf27092d85867db5f
c935e6e8f07953c3ab71e10d405db42a7c60627b
refs/heads/main
2023-02-24T11:59:43.891011
2021-01-29T19:04:11
2021-01-29T19:04:11
334,117,758
0
0
null
null
null
null
UTF-8
C++
false
false
727
hpp
UE4_WSkin_Blaster_Bubblegum_classes.hpp
#pragma once // Unreal Engine 4 (4) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "UE4_WSkin_Blaster_Bubblegum_structs.hpp" namespace SDK { //--------------------------------------------------------------------------- //Classes //-----------------------------------------------------------------------...
e64207baa468a7e71b38c8f2a57363e026831283
96e1221a5e9fca265f5659f3242746faea30528b
/pub/mfile.h
c84962982b1933260615144eb11d4b1aa0e1e3e4
[]
no_license
shtb/Vir_world
196c1fef6ca02edce290a663e40418449d551d93
fab5d6b489e9fdc9ca77dfea9822c16df099e88e
refs/heads/master
2020-04-11T04:42:32.480538
2016-07-03T10:50:23
2016-07-03T10:50:23
62,383,641
0
0
null
null
null
null
UTF-8
C++
false
false
364
h
mfile.h
#ifndef MFILE_H #define MFILE_H #include<string> #include<iostream> #include<vector> using namespace std; struct mfi { string name; string path; bool isdir; }; class mfile { public: vector<mfi>f_vec; string path; bool recursion; mfile(string pa,bool re); private: bool...
e99bad6e7319b7f33f5cca786eba7ea742981498
da193e456195705236d8c065004784f55a43c944
/utils.h
09c8951d8053ff8c8b52056173115efbee2caad5
[]
no_license
IvanMaslov/AdditiveAccumulator
67d28c7d2cdab305410e965d88d0681c8303e319
43d6de2a4e484acf2774cf62414948163c71e24c
refs/heads/main
2023-01-01T15:28:18.948154
2020-10-24T09:09:39
2020-10-24T09:09:39
305,818,748
0
2
null
null
null
null
UTF-8
C++
false
false
211
h
utils.h
#ifndef UTILS #define UTILS #include <vector> size_t pred(const size_t &k); size_t zeros(size_t k); size_t rpred(const size_t &i, const size_t &j); size_t bit_lift(const size_t &i, const size_t &u); #endif
a95a45c0af73019074d0b731f954ae63e6d49f78
923f67e35cd3d70c3a0a036a297131d64b8ebda2
/MineSweeper/rnd_gen.cpp
777a190840ac33f035875f94d4a66ca801600e14
[]
no_license
JBerts/MineSweeper
b68a2767eb38dc456f560aaa959e8335991d0801
84db4df6d1996dc3e89b70bbd7f972138dcdd241
refs/heads/master
2022-02-22T10:06:18.512840
2019-10-10T08:41:48
2019-10-10T08:41:48
null
0
0
null
null
null
null
UTF-8
C++
false
false
262
cpp
rnd_gen.cpp
#include "pch.h" #include "rnd_gen.hpp" using namespace std; RndGen::RndGen(int maxX, int maxY) : m_re(m_rd()), m_rndX(0, maxX), m_rndY(0, maxY) { } int RndGen::x() { return m_rndX(m_re); } int RndGen::y() { return m_rndY(m_re); }
cc12d91f6e6b2bef4e0ec1312f9bd60e6b1d8097
62687a5ec28913b8e4caf2ec62464957ccf175c9
/uva 344 Roman Digititis.cpp
e97bc60a47f8e62638fe6f10910b02c2f3fe5a06
[]
no_license
ifat420/My_Solved_UVA_And_LOJ_Problem
aed8575d8be735dfcabe8af37c946d7c8c0c28cf
c45633a268ec6577f6024f4f1a3b62385c05ae9a
refs/heads/master
2020-03-21T23:27:32.121628
2018-06-29T19:34:31
2018-06-29T19:34:31
139,188,212
0
1
null
null
null
null
UTF-8
C++
false
false
1,300
cpp
uva 344 Roman Digititis.cpp
#include <bits/stdc++.h> using namespace std; int i, v, x, l, c; int recFun( int n ){ while( 1 ){ if( n == 0 )break; if( n + 1 == 5 ){ v++; n = 5-n; } else if( n+1== 10 ){ x++; n = 10-n; } else if( n+10==50 ){ l++; ...
a2b5e990c825ddc42950857421ca33fc16c0302e
825486032bf93261566fa96e8936642b606e58fc
/src/image.cpp
af831736b4154b5950872fa03de6638f1e8eca82
[]
no_license
RileyJackson2000/tsp_art
8c8b3e560117f836eda28560963d67a3015da5b3
6211eaf7c4a1793caaf1e1dbb4f82250c686237c
refs/heads/master
2020-12-03T13:19:25.797533
2020-03-18T07:56:22
2020-03-18T07:56:22
231,332,845
7
1
null
null
null
null
UTF-8
C++
false
false
1,514
cpp
image.cpp
#include "image.hpp" #include <opencv2/opencv.hpp> #include <string> #include "posn.hpp" #include <iostream> image::image(const std::string &filename, int mesh_diam, double min, double max, double min_thresh_p, double max_thresh_p, double alpha, double beta) : filename{filename}, mesh_diam{mesh_diam}, min{min}, ...
dcda9ab2cfac98cfa4525fa018942e1b5b125718
c138207aa6a261b243867fd93ce8bda68b528df7
/client/Directx_FrameWork/3DFrameWork_JiN/Win32Project1/ButtonManager.cpp
502cfb73fecc8d5cc0700d00592087bfc0ac5bb5
[]
no_license
JinName/Senier-Project
7761a5b21e6db429787ddbf8ecb295d4cb76b474
b47bb5c2604b4c9891cb57cfd0bdb8b765dec5b4
refs/heads/master
2023-04-17T21:25:22.738835
2021-05-05T06:40:02
2021-05-05T06:40:02
211,883,062
0
0
null
null
null
null
UTF-8
C++
false
false
570
cpp
ButtonManager.cpp
#include "ButtonManager.h" CButtonManager::CButtonManager() { } CButtonManager::~CButtonManager() { } //bool void CButtonManager::Init(LPDIRECT3DDEVICE9 _pDevice) { Button_GameStart.Init(_pDevice, L"2D_Sprites\\GameStart.png", 500.0f, 500.0f, 200.0f, 70.0f); //Button_Exit.Init(500.0f, 650.0f, 200.0f, 100.0f);...
647653d54627743f9bc2d753abe9362f2baffacb
991f950cc9096522cc8d1442e7689edca6288179
/Review/SAM/Study #1/P3804 【模板】后缀自动机.cpp
2b0804831a3cbf89c540421431558fc2df4ad9e8
[ "MIT" ]
permissive
tiger0132/code-backup
1a767e8debeddc8054caa018f648c5e74ff9d6e4
9cb4ee5e99bf3c274e34f1e59d398ab52e51ecf7
refs/heads/master
2021-06-18T04:58:31.395212
2021-04-25T15:23:16
2021-04-25T15:23:16
160,021,239
3
0
null
null
null
null
UTF-8
C++
false
false
66
cpp
P3804 【模板】后缀自动机.cpp
../../../Luogu/P3000~P3999/P3804 【模板】后缀自动机/1.cpp
ee1403373cc0439bcc10b68c3bf87caa86b47114
a5a99f646e371b45974a6fb6ccc06b0a674818f2
/Calibration/EcalCalibAlgos/interface/ElectronCalibrationUniv.h
a60256158760294c1d853b57f4c7b02341dfacdb
[ "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
7,056
h
ElectronCalibrationUniv.h
#ifndef CALIBRATION_ECALCALIBALGOS_ELECTRONCALIBRATIONUNIV #define CALIBRATION_ECALCALIBALGOS_ELECTRONCALIBRATIONUNIV // -*- C++ -*- // // Package: ElectronCalibrationUniv // Class: ElectronCalibrationUniv // /**\class ElectronCalibrationUniv ElectronCalibrationUniv.cc Calibration/EcalCalibAlgos/src/ElectronCa...
9209de3fec06b9df06e8ec85d045346a6d2b54fb
0592cc808c7046493dc8edd20e5af3382bd34c3f
/math3d/src/core/implementations/default/math3d_plugin.cpp
c73edb4e4ba2932441bf0b1d861bd7c5455a4784
[]
no_license
victorkendy/math3d
cdfd0e24de0d39794acb3089a43567880cf748c7
6d5791f31988e30db898600f1e8c6ef9c234e3f4
refs/heads/master
2021-01-01T19:34:43.382301
2011-08-05T15:09:23
2011-08-05T15:09:23
974,482
1
1
null
null
null
null
UTF-8
C++
false
false
689
cpp
math3d_plugin.cpp
#include "math3d/core/math3d_plugin.h" #include <cmath> #include <iostream> using namespace math3d; void math3dImplementation::batchm44mul(float4 m[], const float4 base[4], const int numMatrices) { for(int i = 0; i < numMatrices; i++) { float4 * x = m + 4*i; float4 r[4]; vecset(r[0], x[0]...
69ddf00fe458bdccbb83d99eb4e092730f954698
9555bafba4848df90fb573b9d7614766d4b635a3
/SPOJ/TRT.cpp
9401f37b89b904a4bac8d66d0a29f213ee12c7eb
[]
no_license
Vinayakk83/Competitive-Programming
889641f8ff279eb2a20e69a50f63025dc1a64b14
998ebb8eee60bae40c5019768f64c5d5a2cd5fbc
refs/heads/master
2023-07-13T17:05:27.244705
2021-07-19T20:53:22
2021-07-19T20:53:22
311,272,491
1
0
null
null
null
null
UTF-8
C++
false
false
1,311
cpp
TRT.cpp
#include <bits/stdc++.h> using namespace std; typedef long long int ll; typedef unsigned long long int ull; #define modulo 1000000007 #define PI 3.14159265 #define swift ios_base::sync_with_stdio(0); cin.tie(0); const int N = 1e5+1; int maxRevenue(vector< vector<int>> &dp, vector<int> &arr, int l, int r, int age){ ...
8fde09668cdfd56ded1f41e0472a8a18af394adf
ad1a4908df4f7a1f02989877361c0350085b47d1
/TestsCode/TeachingKids-2012/Classes/FruitSprite.cpp
6caad66345354b468e1ba7efc28e163550d10d73
[]
no_license
coco5666/Cocos2d-xV3.xDemonstrationsAndProjectsCode
a7a9752aad5f030cd943f3b41b8299b1b07b555e
d32ba1588667319bf62e6ecfa6b0720d935f9c5d
refs/heads/master
2020-09-02T01:19:41.719675
2018-12-24T11:02:11
2018-12-24T11:02:11
null
0
0
null
null
null
null
GB18030
C++
false
false
2,713
cpp
FruitSprite.cpp
#include "FruitSprite.h" //初始化静态变量(静态变量属于类,所有对象共享,而不属于某个对象) char FruitSprite::_spriteFileName[20] = { 0 }; char FruitSprite::_spriteAudioName[20] = { 0 }; FruitSprite* FruitSprite::pSprite = nullptr; Size FruitSprite::windowSize; FruitSprite::FruitSprite() {} FruitSprite::~FruitSprite() { Director::getInstance()->g...
8d121e1a889462df6fa10402819423ceb3ee82bc
9ddedb2850c3e0582d759ed0f82ac7669dfaa042
/include/Matrix.h
7ea343361cfb2437253e569df74c79eb08275210
[]
no_license
sibeelyildizz/CPP-Matrix-Operations
8523b72619c8f2048948b8d746dcb1737b8c616c
e1f69f85c561a060339ca604b328855d39bb6c3c
refs/heads/master
2022-12-06T10:50:50.644475
2020-08-20T06:28:12
2020-08-20T06:28:12
216,879,239
0
0
null
null
null
null
UTF-8
C++
false
false
11,695
h
Matrix.h
#include <iostream> #include <stdlib.h> #include <fstream> #include <math.h> #include <time.h> #ifndef OOP1_MATRIX_H #define OOP1_MATRIX_H using namespace std; template <typename T> class Matrix { public: Matrix(); Matrix(int,int,T); Matrix(int,int,char); Matrix<T> transpose(); void printMatrix()...
4a17ba3f7e3111f5f260e669a38ba57f4590aa94
ee566f1e387d6c4009cb299a4d5f4c00bd3cc901
/test/corecel/data/Collection.test.cc
79351f0d29fd330bda4795fee1bdd3e6c519f0b6
[ "MIT", "Apache-2.0" ]
permissive
celeritas-project/celeritas
3d4f5aedd01c9c21b62ae0712c84f027e05179d3
e7fe01331baf055393d78bdaceff8c1f7db4c9c4
refs/heads/develop
2023-09-01T14:10:32.210033
2023-08-31T21:14:20
2023-08-31T21:14:20
250,622,820
48
24
NOASSERTION
2023-09-14T17:11:38
2020-03-27T19:06:46
C++
UTF-8
C++
false
false
12,263
cc
Collection.test.cc
//----------------------------------*-C++-*----------------------------------// // Copyright 2021-2023 UT-Battelle, LLC, and other Celeritas developers. // See the top-level COPYRIGHT file for details. // SPDX-License-Identifier: (Apache-2.0 OR MIT) //--------------------------------------------------------------------...
212fb64f5f3be792d682e5e3e1c6370d2adcdfb1
0415fa03d0812edbd6e020aede99a03ba30b5744
/lintcode/Cpp/784.TheLongestCommonPrefixII_henrytien.cpp
8ab0e5094a5382e5934060dd4de17244412ca76e
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
ayushiagarwal99/leetcode-lintcode
3b0012be26c1c56173572d9f9ef51a89cd9cf61a
60994b48ba7a246117d278d04b05bca9530859eb
refs/heads/master
2022-12-18T00:07:33.383230
2020-09-30T19:36:54
2020-09-30T19:36:54
300,039,577
0
0
MIT
2020-09-30T19:35:42
2020-09-30T19:35:40
null
UTF-8
C++
false
false
665
cpp
784.TheLongestCommonPrefixII_henrytien.cpp
// https://www.lintcode.com/problem/the-longest-common-prefix-ii/description class Solution { public: /** * @param dic: the n strings * @param target: the target string * @return: The ans */ int the_longest_common_prefix(vector<string> &dic, string &target) { // write your code here ...
eb1807fb80967a2e568e6507f6849659879df0b6
288f609d53d17367fc5611662bf53556156eb673
/Server/src/Network/NetworkManager.h
c16d72cf7811098833f12fe83a9f08239e4d62ab
[]
no_license
Hobr/Multiplayer-V
0b5d3f44c3803450c4c60f268fe1d30754fa774e
a9d0d3bb60214c24122c0b2d1deea86cac8bd77b
refs/heads/main
2023-06-19T23:31:25.606823
2021-07-21T07:26:02
2021-07-21T07:26:02
388,024,497
3
0
null
null
null
null
UTF-8
C++
false
false
1,213
h
NetworkManager.h
#pragma once #include <Common.h> #include <Network/NetworkMessage.h> #include <Network/NetHandle.h> #include <Entities/Player.h> #include <enet/enet.h> class GameServer; class NetworkManager { private: GameServer* m_server = nullptr; ENetHost* m_hostListen = nullptr; std::queue<NetworkMessa...
d949e73a6096322f54da6921e03dc08f958d21d9
686c23ef1715136445bc5f949be9054651107116
/src/maths_matrix.cpp
12f969cad3972ade11c0db1d3ac4a337796221f6
[]
no_license
XLiang215/ee451project
084cd1c74c41cf7b4ccb42d88c051b3c53efeb66
8b55dcf5d299449bdb5a390bd52e989c6fff5678
refs/heads/master
2022-04-19T06:55:01.681723
2020-04-20T18:11:59
2020-04-20T18:11:59
255,816,475
0
0
null
null
null
null
UTF-8
C++
false
false
1,111
cpp
maths_matrix.cpp
#include "maths_matrix.h" #include <iostream> #include <opencv2/highgui/highgui.hpp> #include <opencv2/imgproc/imgproc.hpp> #include <opencv2/core/core.hpp> using namespace std; using namespace cv; // ��ͼƬ�Ծ������ʽ��ʾ���������ڲ鿴ͼƬÿһ���ص�ֵ�� void show_image_64FC1_as_matrix_double(const Mat &img) { int row, col...
ad7d314c6d45f15f36fe1b78ea09cd23f81c9485
1a380d6b5a6ed3984874b68ade18830056ff0b3b
/linked lists/MultiLinkedList(dynamc next ptrs).cpp
b61997b9d99b6e4149ea7085bea98661a0e413ef
[]
no_license
avinashgazula/Data-Structures
689149f6b05ce209dabe1c8445f56d8c3777828e
0aada83e7fe28bd01019290fb53773f725cdab9c
refs/heads/master
2020-03-25T06:48:20.168064
2018-08-04T13:47:37
2018-08-04T13:47:37
143,524,990
0
0
null
null
null
null
UTF-8
C++
false
false
1,034
cpp
MultiLinkedList(dynamc next ptrs).cpp
#include<iostream> using namespace std; typedef struct node{ int data; int count; struct node **next; }* mptr; void create(mptr &t) { if(t==NULL) { cout<<"Enter data\n"; int a; cin>>a; t=new node; t->data=a; } cout<<"Enter the no of next pointers "<<t->data<<" has\n"; cin>>t->count;...
44effac3f350a933d503a35ba75ece33b8e4705e
4e8a495df638573472de47f4775329def07e796a
/NetAnalyzer/src/network/processors/TCPConnectionListener.h
12210ee2103ffa769b9736f338926a6755c17418
[]
no_license
akira2009999/NetAnalyzer-analise-de-trafego
efb0e5da01e38ba27419f838a47726d9711d8b74
af9dc421f46db2585d14f5d06569b6f429343b9e
refs/heads/master
2020-04-24T07:13:53.089627
2014-03-05T13:25:56
2014-03-05T13:25:56
null
0
0
null
null
null
null
UTF-8
C++
false
false
723
h
TCPConnectionListener.h
/* * TCPConnectionListener.h * * listen for accepted TCP-Connections * * Created on: Apr 10, 2013 * Author: kazu */ #ifndef TCPCONNECTIONLISTENER_H_ #define TCPCONNECTIONLISTENER_H_ #include <cstdint> /** * listen for accepted TCP-Connections */ class TCPConnectionListener { public: virtual ~TCPCon...
b89a51e533b9b6573977f9cfc70744e83dd813a3
50df593ef3c33158ec84102366e1702c05c7af6b
/applications/ContactStructuralMechanicsApplication/custom_conditions/ALM_mortar_contact_condition.cpp
86c610b2c28e201ab7e8e108eaf69a0daae89138
[]
no_license
wegiangb/Kratos
dbea52ea4414e8d0fd3c4cb78cb13e9ff00008a8
764d8fbca236c58b32ddac2b9b618b3ca3f0e62d
refs/heads/master
2021-05-07T05:33:44.679825
2017-11-20T13:24:56
2017-11-20T13:24:56
null
0
0
null
null
null
null
UTF-8
C++
false
false
105,375
cpp
ALM_mortar_contact_condition.cpp
// KRATOS ___| | | | // \___ \ __| __| | | __| __| | | __| _` | | // | | | | | ( | | | | ( | | // _____/ \__|_| \__,_|\___|\__|\__,_|_| \__,_|_| MECHANICS // // License: BSD License // license: StructuralMechanicsApplication/license.txt // // Main aut...
36baa8c25c9abe141d650f61baa25ed5d738184b
cd8bdcde8490a3cf02739aa22e563019ba1b6cc6
/src/sakura/components/components.hpp
cd885c8be966d9a009ce2bdfbd31e34078b55406
[]
no_license
MarkSkyzoid/sakura
9631e91dbb3f0e78814c5caedb351be689080820
d7020a5fb6f713036b4a7777e7a93e00f345ed82
refs/heads/main
2023-01-13T05:25:13.919880
2020-11-19T12:00:33
2020-11-19T12:00:33
303,838,805
1
0
null
null
null
null
UTF-8
C++
false
false
675
hpp
components.hpp
#pragma once #include "../ecs/ecs.hpp" namespace sakura::components { struct Tag { std::string name; }; template<typename Visitor> void visit_components(Visitor& visitor, sakura::ecs::ECS& ecs, sakura::ecs::Entity entity) { #define DECLARE_COMPONENT(ComponentType) ...
a23f5f1b72e97a36052a925d0b25dd6a530a3875
5f85521e64be2fc8770069dad071cdd43d311f2d
/src/endorse_cluster_search.cpp
335768a42244274ded752e1a1f424bc937b1f62b
[]
no_license
larics/endorse_safety
a9bf42fde9348d5f05fb853c24a14c71525e4a5e
e03d22aae2484d0d87c6e4395cbb257523cdaf77
refs/heads/master
2020-08-01T22:26:54.103417
2019-09-26T17:20:45
2019-09-26T17:20:45
211,137,930
0
1
null
null
null
null
UTF-8
C++
false
false
7,458
cpp
endorse_cluster_search.cpp
#include <ros/ros.h> // PCL specific includes #include <pcl_ros/point_cloud.h> #include <pcl_conversions/pcl_conversions.h> #include <pcl/point_cloud.h> #include <pcl/point_types.h> #include <pcl/filters/voxel_grid.h> #include <pcl/ModelCoefficients.h> #include <pcl/point_types.h> #include <pcl/io/pcd_io.h> #include <p...
677b607c2c4b009b07605d308041cbbc893b9c76
b100b0f4c2d24d2583bef884b503ba5d053ccab4
/extlib/u5e/utf32ne_string_view.hpp
389f5177b4ac8bd3b658bf5bf07e063900300cf9
[ "BSD-2-Clause", "MIT" ]
permissive
rheehot/talkheui
426d4ae33a6af629daebc4c0aea1fa032e4af1ad
08dc0f4de9fccad44cea6bda87044f44907f2ba4
refs/heads/master
2022-04-08T18:24:35.984465
2020-01-30T16:44:00
2020-01-30T16:44:00
null
0
0
null
null
null
null
UTF-8
C++
false
false
703
hpp
utf32ne_string_view.hpp
#ifndef INCLUDED_U5E_UTF32NE_STRING_VIEW #define INCLUDED_U5E_UTF32NE_STRING_VIEW #include <experimental/string_view> #include <u5e/basic_encodedstring.hpp> #include <u5e/utf32ne.hpp> namespace u5e { /** * \class u5e::utf32ne_string_view * \brief Typedef: basic_encodedstring of utf32ne and basic_string_view<i...
d3331faa6a13c96feb02b93659fb1fc615921601
a7413d9ce83654f1f34cacb09c20deeb6bd523ea
/gadgets/mri_core/CompressedFloatBufferAvx2.cpp
8be7261333e2956968d918c6f05c4f0be2d04583
[ "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-public-domain", "LicenseRef-scancode-unknown-license-reference" ]
permissive
hansenms/gadgetron
1e40b1a6265a96cc6f518d0a28cecb0a1d65d292
10531591411fea4e16a074a574cd449a60d28ef8
refs/heads/master
2022-02-01T23:52:52.993704
2021-12-10T23:31:52
2021-12-10T23:31:52
28,053,346
3
1
NOASSERTION
2021-12-21T23:41:07
2014-12-15T19:54:00
C++
UTF-8
C++
false
false
14,947
cpp
CompressedFloatBufferAvx2.cpp
#include "NHLBICompression.h" #include <immintrin.h> using namespace NHLBI; InstructionSet CompressedFloatBufferAvx2::getInstructionSet() { return InstructionSet::Avx2; } // Vector scale, round, and convert to integer static inline __m256i scale_and_cast_ps(const __m256 _float_val, const __m256 _scale, const __...
f8b467629409fe362158c92456b4a0ebdb549206
8519ae9faabad2f8de24ce7fb2bd5c932321e72b
/Data Structure and algorithm/Dynamic Programming/Max_Sum_Increasing_Subsequence(DP).cpp
f4097e83eeb7d744bf72080d4808dd3371861c02
[]
no_license
dinesh5583/Data-Structure-and-Algorithm-using-c-
97f7078fc9ed84a91f06271620228b2e53b3609a
d625071d1c2cb533599ee14711fc78d339a1d97b
refs/heads/main
2022-12-22T12:30:23.841947
2020-10-05T06:46:54
2020-10-05T06:46:54
301,312,959
0
0
null
null
null
null
UTF-8
C++
false
false
491
cpp
Max_Sum_Increasing_Subsequence(DP).cpp
#include<iostream> #include<algorithm> using namespace std; int msis(int arr[],int n); int main() { int arr[]={3,20,4,6,7,30}; int n=6; cout<<msis(arr,n); } int msis(int arr[],int n) { int msis[n]; for(int i=0;i<n;i++) msis[i]=arr[i]; for(int i=1;i<n;i++) { for(int j=0;j<i;j++) { if(a...
7ce033ecc7ad24b0c9159afdaa40a54c51abe4f6
bb90ad20468f9fe2039b8c16858bd8eae8bbc050
/include/ccf/service/tables/uvm_endorsements.h
62aa02d3a930d5e483cc2717b7230423be04b07b
[ "Apache-2.0" ]
permissive
microsoft/CCF
0997fd81a924d36d775b219720b26b4ff196b18a
2fbf87840b9e8334c141f4a9c9b25aae979b0540
refs/heads/main
2023-09-05T15:39:37.265089
2023-09-05T15:27:25
2023-09-05T15:27:25
180,112,558
687
229
Apache-2.0
2023-09-14T14:28:39
2019-04-08T09:13:04
C++
UTF-8
C++
false
false
739
h
uvm_endorsements.h
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the Apache 2.0 License. #pragma once #include "ccf/service/map.h" #include <string> namespace ccf { struct UVMEndorsementsData { size_t svn; bool operator==(const UVMEndorsementsData&) const = default; }; DECLARE_JSON_TYP...
a36469de8fb09aeffb6b2b019e45243efa4d44a6
78297bc868d588dd7a16cfea059ef7365ba18622
/server/api/include/irods/rsStructFileBundle.hpp
327fdea4bba0c2bdbc20cdf710098e580119fb67
[ "BSD-3-Clause" ]
permissive
irods/irods
ab72a41fdf05a4a905c3e3a97bb7ba3c2a6ae52d
f3ccaa842218e477395ebcf553639134433b63ee
refs/heads/main
2023-09-01T20:12:33.322002
2023-08-23T18:22:59
2023-08-31T13:41:31
14,724,975
381
167
NOASSERTION
2023-09-11T18:18:14
2013-11-26T18:10:18
C++
UTF-8
C++
false
false
304
hpp
rsStructFileBundle.hpp
#ifndef RS_STRUCT_FILE_BUNDLE_HPP #define RS_STRUCT_FILE_BUNDLE_HPP struct RsComm; struct StructFileExtAndRegInp; int rsStructFileBundle(RsComm* rsComm, StructFileExtAndRegInp* structFileBundleInp); int createPhyBundleDir(RsComm* rsComm, char* bunFilePath, char* outPhyBundleDir, char* hier); #endif
66525bec80f6802599275104ac9518c53d6fe9f3
52135f078fbf86d04dcd9eea79a7530499f04e8b
/include/mitsuba/render/manifold.h
e293d18d256d33f25d54f05362ab781ede343a1c
[ "BSD-3-Clause", "LicenseRef-scancode-generic-cla" ]
permissive
ZackMisso/specular-manifold-sampling
79d7e46434d7ade4b31e3195e989c8c5d8af5f75
7aa58e003c9cb67b6b369bb851a7480a28d4c94e
refs/heads/master
2023-09-01T11:04:26.091999
2021-11-08T17:09:57
2021-11-08T17:09:57
419,420,366
0
0
null
null
null
null
UTF-8
C++
false
false
18,523
h
manifold.h
#pragma once #include <mitsuba/core/fwd.h> #include <mitsuba/core/warp.h> #include <mitsuba/render/bsdf.h> #include <mitsuba/render/emitter.h> #include <mitsuba/render/fwd.h> NAMESPACE_BEGIN(mitsuba) struct SMSConfig { bool biased = true; // Switch from unbiased to biased SMS? bool bernoulli ...
f7c024a0abad6dcd8efd475be283c619291e553e
8af1744919c0aac951279d078a6bf60d6ff2e15b
/Client_SudokuTCP/HttpReq.cpp
26776b174cf580709d34a4161c568f5faaa772d3
[]
no_license
Fahaba/Client_SudokuSolverTCP
37aadecdac6bb586c445efafd1b5808af035225f
9b5db914f16d89218462f0f466658a03ba9bff16
refs/heads/master
2023-05-13T10:42:29.370630
2019-03-30T15:46:36
2019-03-30T15:46:36
162,111,278
0
0
null
2021-06-07T18:21:39
2018-12-17T10:09:10
CSS
UTF-8
C++
false
false
2,066
cpp
HttpReq.cpp
#include "HttpReq.h" HttpReq::HttpReq( const char* verb, const char* hostname, int port, const char* resource, const char* opt_urlencoded, std::string& response) { WSADATA wsaData; if (WSAStartup(MAKEWORD(2, 2), &wsaData) != 0) { std::cout << "WSAStartup failed.\n"; exit(1); } SOCKET Socket = socket(AF...
4602acafda2d91218434a22eb2adb33956620aee
86280cdd5b2cca650da059134a60bc2e103f9cfb
/DUT S2/M2105 - IHM/TP6/cinq/principale5.cpp
7587963677ece7fa5ca126f6dfbdac66bcbecf4a
[ "MIT" ]
permissive
MatteoCuria/IUT
02519d462ae8f41ab917e3dcf11db46874277ffa
2642c23d3a3c4932ddaeb9d5f482be35def9273b
refs/heads/main
2023-06-25T19:30:18.776784
2021-07-25T17:04:51
2021-07-25T17:04:51
null
0
0
null
null
null
null
ISO-8859-1
C++
false
false
5,532
cpp
principale5.cpp
#include "principale5.h" BEGIN_EVENT_TABLE(Principale, wxFrame) EVT_CLOSE(Principale::onClose) // En cas d'evenement de fermeture de la fenetre END_EVENT_TABLE() //Peuplement de la table d'evenements Principale::Principale(const wxString& title) : wxFrame (NULL, //Parent ...
256daa485f3c0974f1119158a075464a40557376
aedfb7242153f5716f92f21fb15e8d43d678aebc
/chapter13/sec-04/demo-01/message.h
f8beb7195e77320ca44a2bf474fcc97589658cde
[]
no_license
MaxEntroy/cpp-primer
0c75835e345f81163c61e6127458294cbb5ff10e
672ed670c95b148950be4873ea27d3c3c4dac306
refs/heads/master
2021-07-20T16:56:26.375435
2021-05-13T12:24:31
2021-05-13T12:26:58
249,339,103
0
0
null
null
null
null
UTF-8
C++
false
false
1,110
h
message.h
#ifndef MESSAGE_H_ #define MESSAGE_H_ #include <iostream> #include <list> #include <string> #include <utility> #include "folder.h" namespace cp { class Message { public: explicit Message(const std::string& s) : msg_(s) {} ~Message(); Message(const Message&); Message& operator=(const Message&); void Add...
7dca1062e2e121e9248abbb10dcb6c7bc46441e2
d79894796fcd98a43f67011a644c6042078ebbb8
/ExternalDependencies/DebugEngine/Profiling/AutoProfile.h
0e95de2ed3394ff6ffa24f043d7dc55198aa9dec
[]
no_license
TheJoshuaSalazar/3DRenderer
17c9af9799a2cc5a97c2ea6fb29359289d876121
13f1eab39529fdb1759c4cb42cee9c6071528952
refs/heads/master
2021-01-22T09:57:49.883560
2014-07-29T04:10:57
2014-07-29T04:10:57
null
0
0
null
null
null
null
UTF-8
C++
false
false
726
h
AutoProfile.h
#ifndef AUTOPROFILE #define AUTOPROFILE #include "Clock.h" class __declspec(dllexport) AutoProfile { public: AutoProfile(int number); ~AutoProfile(); static AutoProfile& getProfilerInstance(); private: AutoProfile(); AutoProfile(const AutoProfile&); AutoProfile& operator=(const AutoProfile&); static AutoProfil...
34d6f4e0cf35a3ed21b10bcd6fab5df0cb635ec7
727213382e3dbd831fa6168ae5dfeed26e22f153
/tensorstore/kvstore/gcs_grpc/gcs_grpc_test.cc
559bc0ca50d076c1ffac25faf2942388e5f7cb9d
[ "BSD-3-Clause", "MIT", "Apache-2.0", "BSD-2-Clause", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
google/tensorstore
e3c41c9de41bdd56f26bbe31307c09d4ddd0278d
d38958e88130e7922f2c5d856a12114546ac9b73
refs/heads/master
2023-08-29T07:15:28.642462
2023-08-29T06:42:04
2023-08-29T06:43:13
251,312,202
1,190
88
NOASSERTION
2023-09-05T07:40:51
2020-03-30T13:24:59
C++
UTF-8
C++
false
false
20,244
cc
gcs_grpc_test.cc
// Copyright 2023 The TensorStore Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or ...
2f0b19364ec43bc007a989539a6ae62ea09a016f
27a8a7210210dda8a2a981b91000d565d0476e6a
/src/functiondeclaration.h
cd7fb59713c53b029f8a456160651a9993ff97d2
[]
no_license
machta/js-interpreter
3f9709ec6631d6619e8f4632863de7edfa12920a
e7d59f7e854a4ce3f0d14c91655232a7b9999c66
refs/heads/master
2021-01-13T16:25:53.158648
2017-02-09T15:27:39
2017-02-09T15:27:39
79,562,384
0
0
null
null
null
null
UTF-8
C++
false
false
596
h
functiondeclaration.h
#include "global.h" #ifndef BUILTINFUNCTION_H #define BUILTINFUNCTION_H #include "valuecontext.h" #include <vector> class FunctionDeclaration { public: std::string name; std::vector<std::string> arguments; FunctionDeclaration(const std::string& name) : name(name) {} }; class BuiltInFunction { public: Functio...
99a03a29997ea6c33996840b5111f5b5f0c0daa4
2b1fa37296f7ea53496c81ab6f5cdc4e8fdb60f1
/src/PlayState.cc
f0c86507fc8fa037c7a55d758b0334766ffa2ce2
[]
no_license
ludwigbacklund/IWBTS
0c1e3ba0ef010db28d47e67adc451f1de6ce4356
d51245d980d69097ef9f9554d5aaffb11abe013e
refs/heads/master
2020-06-17T12:13:18.628170
2016-11-28T20:02:34
2016-11-28T20:02:34
75,008,643
0
0
null
null
null
null
UTF-8
C++
false
false
8,195
cc
PlayState.cc
#include "GameObject.h" #include "PlayState.h" #include "Player.h" #include "Block.h" #include "Border.h" #include "Projectile.h" #include "Enemy.h" #include "SpeedDemon.h" #include "MrRabbit.h" #include "Checkpoint.h" #include "GrassBlock.h" #include "SpikeBlock.h" #include "TriggerBlock.h" #include "FallBlock.h" #inc...
d93b45532cb63df2ada3d1585c31ef2e4990ad66
eea3f402ba0b629a933f508bffa6d535de12e2da
/Data_structure/test1.cpp
04e1dc4c235b62ef5f700dbc593c137f94692455
[]
no_license
Kristenbeyond/Learn-to-code
16c2feba0a620847841e1eae55086094e2c7af4d
6b39b4eca59a24e27d22122d81520186546ced9d
refs/heads/master
2021-05-27T10:41:49.184552
2021-03-23T12:32:49
2021-03-23T12:32:49
254,257,695
0
0
null
null
null
null
GB18030
C++
false
false
1,348
cpp
test1.cpp
#include <stdio.h> #include <stdlib.h> #include <malloc.h> typedef int DataType; #include "DoubleLinkList.h" int main(void) { printf("-------双向链表合理版--------\n"); int i = 0; DataType data; DoubleLinkedList slList; ListInitiate(&slList); /* slList.size = 0; slList.head = (Node*)malloc(sizeo...
3dd686479a002913d4f2b5ab78f60a8bdc58ef9d
029cfe958db295a246460cbb1355c73482a2588b
/concepts/remove_volatile.hpp
9d61cdfe56c73111f04f4ea2ad926d01a01ffc9d
[ "MIT" ]
permissive
SamuelAlonsoDev/lux
941bf543edfcc337d0d3830f4586c86969b1f962
268a9fabddb60a06e226d8bad27a5d5d7a29dcb2
refs/heads/master
2023-01-10T16:07:51.059604
2020-11-09T10:31:09
2020-11-09T10:31:09
310,223,392
2
0
null
null
null
null
UTF-8
C++
false
false
525
hpp
remove_volatile.hpp
#pragma once namespace lux { namespace concepts { template<class T> class remove_volatile_class { public: using type = T; }; template<class T> class remove_volatile_class<volatile T> { public: using type = T; }; /...
e737f4e66f10cc9ab449b276cea1964f7b6f2efb
d1c823ec0a8ca44d837ec0b97651cb4c46b00204
/mainWindow.cpp
32dc6c3d4d0b9a5d79290b67b932338c5dd3b049
[]
no_license
ndrgrimm/Spiedo_PC
8e55764760c438a4a4d406dafb9df96fb3dd6dbc
3522032ef985b1e63bab0ae64555cf91dae12f18
refs/heads/master
2021-01-10T07:01:27.396357
2015-12-07T23:37:41
2015-12-07T23:37:41
45,149,091
0
0
null
null
null
null
UTF-8
C++
false
false
13,508
cpp
mainWindow.cpp
#include "mainWindow.h" #include "ui_mainWindow.h" #include <QtCore/QDateTime> #include <QThread> #include <QtSerialPort/QtSerialPort> #include <QtWidgets/QFileDialog> QDateTime MainWindow::sm_datelog=QDateTime::currentDateTime(); QTextStream MainWindow::sm_streamlog(stdout); MainWindow::MainWindow(QWidget* parent...
72e0b7bcc2172467790611337d9c9e290798eb22
08b8cf38e1936e8cec27f84af0d3727321cec9c4
/data/crawl/wget/hunk_3145.cpp
64a91ad8962293b525a5febfca6d7a728e97c075
[]
no_license
ccdxc/logSurvey
eaf28e9c2d6307140b17986d5c05106d1fd8e943
6b80226e1667c1e0760ab39160893ee19b0e9fb1
refs/heads/master
2022-01-07T21:31:55.446839
2018-04-21T14:12:43
2018-04-21T14:12:43
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,544
cpp
hunk_3145.cpp
? CONERROR : CONIMPOSSIBLE); #ifdef HAVE_SSL - if (conn->scheme == SCHEME_HTTPS) - { - if (!ssl_connect (sock)) - { - logputs (LOG_VERBOSE, "\n"); - logprintf (LOG_NOTQUIET, - _("Unable to establish SSL connection.\n")); - fd_close (sock); - return CONSSLERR; - } - using_ss...
49f5c004895bd7f9ddd4ee61f14bd25538442c6d
d7aba5ff0431887021340fbcc439bfe877c90c6d
/Graphics/include/HybrisLoader/Skeleton.h
0bf7d26ae10cb2325a70d2b5f1e245d033efbb1e
[]
no_license
henrikvik/Stockman
6da84734d4cb9034ceb3acd786b2ac349faca39a
626176576ca704ace09f0c514a1b479438b40be0
refs/heads/development
2021-01-21T00:11:46.296707
2018-01-03T14:56:34
2018-01-03T14:56:34
101,863,249
11
5
null
2017-12-15T21:02:16
2017-08-30T09:28:57
C++
UTF-8
C++
false
false
1,054
h
Skeleton.h
#pragma once #include <Hybris\Hybris.h> #include <d3d11.h> #include <SimpleMath.h> #include <map> #include "../../export.h" #include "Animation.h" namespace HybrisLoader { class Joint { public: Joint(); Joint(Hybris::Joint & joint); DirectX::SimpleMath::Matrix invBindTransform; ...
64ab54b2687fe0ea66196e47e848b06480af8fc1
3129e06c67d9b0e20f0c6f52fe854540237acd1d
/Sources/Elastos/LibCore/src/elastos/core/CoreUtils.cpp
9122db67f14876f147868c67b633e88ab5751efc
[]
no_license
imace/ElastosRDK5_0
0300d0e63871422e03d21664ae9eab9aec2d1c25
c4dc183c148960450198a3b59832c9a69327d3f3
refs/heads/master
2021-01-15T16:11:18.368138
2015-08-09T14:34:05
2015-08-09T14:34:05
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,221
cpp
CoreUtils.cpp
#include "CoreUtils.h" #include "CBoolean.h" #include "CByte.h" #include "CChar32.h" #include "CInteger16.h" #include "CInteger32.h" #include "CInteger64.h" #include "CFloat.h" #include "CDouble.h" #include "CStringWrapper.h" namespace Elastos { namespace Core { AutoPtr<IByte> CoreUtils::ConvertByte( /* [in] */ B...
1ebafbc59ee5d01320ea0400062ee7ee036fd6f6
89e4c33d2348488c81fea6fac9517dd9f3b81e81
/HandleFiles.cpp
47243c737be161f7c237cdebd4064d3889cf1258
[]
no_license
SagivAsraf/Parallel-implementation-of-Binary-Classification
3bd2feb75601e7d8ff7d701209f8ede318f45266
e1e38daa71e6d909c26afd9396db2f3a96fc0cf2
refs/heads/master
2020-07-25T10:40:48.328089
2019-09-13T13:03:21
2019-09-13T13:03:21
208,261,414
1
0
null
null
null
null
UTF-8
C++
false
false
2,622
cpp
HandleFiles.cpp
/** * The Binary Classification program implements the Binary Classification algorithm in parallel development, * using MPI,OpenMP and Cuda (By Invidia) * * @author Sagiv Asraf * @Id : 312527450 * @since 25-08-2019 * Lecturer : Dr. Boris Moroz. * */ #include "HandleFiles.h" #define _CRT_SECURE_NO_WARNING...
df41b6dbc69bf8ad4068ad512e0c4af1cdac2c3f
2348000ede440b3513010c29a154ca70b22eb88e
/src/CPP/src/leetcode/BinaryTreePaths.cpp
05a79a0278212ba1862bdbc7b141c4246f914e2a
[]
no_license
ZhenyingZhu/ClassicAlgorithms
76438e02ecc813b75646df87f56d9588ffa256df
86c90c23ea7ed91e8ce5278f334f0ce6e034a38c
refs/heads/master
2023-08-27T20:34:18.427614
2023-08-25T06:08:00
2023-08-25T06:08:00
24,016,875
2
1
null
null
null
null
UTF-8
C++
false
false
1,329
cpp
BinaryTreePaths.cpp
/* * [Source] https://leetcode.com/problems/binary-tree-paths/ * [Difficulty]: Easy * [Tag]: Tree * [Tag]: Dpeth-first Search */ #include <iostream> #include <vector> #include <string> using namespace std; struct TreeNode { int val; TreeNode *left; TreeNode *right; TreeNode(int x) : val(x), left...
f0704ff31f6d574623499afd7e6a78ce65c21d83
2fff9a6e6c4caa21cfa90b7de11fab69d6bbbc5c
/stack/printNextGreaterElement.cpp
c9a352d916caff87b490c3ac3a78f7e70a3b9c9c
[]
no_license
pawarrahul1002/Cpp-DSA
e49fff788da77daeaf6ec7508841d5c547d0b64b
2b1dd52b7119ba552c77df2359fca2f79c59d7d3
refs/heads/main
2023-07-12T16:18:54.817048
2021-08-20T20:03:21
2021-08-20T20:03:21
386,731,159
0
0
null
null
null
null
UTF-8
C++
false
false
769
cpp
printNextGreaterElement.cpp
#include <iostream> #include <stack> using namespace std; void printNextGreaterElement(int a[], int n) { stack<int> st; st.push(a[0]); for (int i = 1; i < n; i++) { if (st.empty()) { st.push(a[i]); } else { while (!st.empty...
68f55e38b806541a8ae4c25033e5e87b56631867
b30c7717acbcace38eaa9e8939b952dc3245ebd6
/600-700/665.cpp
76b4d7c8c3e3f7d07e557d9a0880a7371740ba9f
[ "MIT" ]
permissive
Thomaw/Project-Euler
e7dbfae93b26eb0d658c09e18fdaa932998d7a12
bcad5d8a1fd3ebaa06fa52d92d286607e9372a8d
refs/heads/main
2023-09-06T08:16:35.045015
2021-10-07T18:44:42
2021-10-07T18:44:42
407,856,542
0
0
null
null
null
null
UTF-8
C++
false
false
1,808
cpp
665.cpp
#include <iostream> #include <utility> #include <set> #include <climits> using namespace std; typedef pair<int,int> interval; void insert_point(set<interval> &inter, int n) { interval i{n,n}; set<interval>::iterator p2=inter.lower_bound(i); auto p1=p2; if (p1!=inter.begin()) p1--; if (p2!=inter.begi...
9687975dcb0eba1962ed06f07e1788f96397b7b3
78aeea40514f3c465a7fe22227c568964f4e592d
/reference/modroid/tests/BridgeBlink/BridgeBlink.ino
8620fcabdc28b1840d6af8dfb871de7c03f85ec2
[ "MIT" ]
permissive
danielsuo/mobot
281cc73026a75985dd5b409b4b95db7cb116bbb6
f46682329a6c6840356d2b1dc32b1fc54eddfe7b
refs/heads/master
2021-01-10T12:45:09.424761
2016-03-29T23:59:53
2016-03-29T23:59:53
39,472,139
0
3
null
2016-01-15T04:02:40
2015-07-21T22:03:43
Matlab
UTF-8
C++
false
false
675
ino
BridgeBlink.ino
#include <Bridge.h> char D13char[2]; int D13int = 0; void setup() { // put your setup code here, to run once: pinMode(13,OUTPUT); digitalWrite(13,LOW); Bridge.begin(); digitalWrite(13,HIGH); delay(1000); digitalWrite(13,LOW); Console.begin(); while(!Console){ ; //wait for console port t...
c0ac205eac87889586ee5efb9ae6417f29525b78
363b83d5d9a6eadb24b2527d939f04854d2f024d
/Plugins/DungeonArchitect/Source/DungeonArchitectRuntime/Transition/Rules/DungeonActorSelector.cpp
103a13c8bc5914e2c13ef2d8c60cfa9d6f7fe165
[]
no_license
solomonlu/UE4-HorrorStory
eaa1c67ba680efe8e6e2877dc447d9edf4736379
8cea4adf3aa9c97777ccf8ac25ae697ef0a3f7c0
refs/heads/master
2021-01-22T22:28:33.785992
2017-12-02T12:27:18
2017-12-02T12:27:18
85,544,858
4
1
null
null
null
null
UTF-8
C++
false
false
204
cpp
DungeonActorSelector.cpp
//$ Copyright 2015 Ali Akbar, Code Respawn Technologies Pvt Ltd - All Rights Reserved $// #include "DungeonArchitectRuntimePrivatePCH.h" #include "DungeonActorSelector.h" #include "Core/DungeonModel.h"
7668ffa9bd7874bee7a4f2127279292b25296c5d
944df0d25ace386fd55890ab4b9e54b2560f118d
/cs165-ta12/velocity.cpp
3b5815c2cc8161df288ce68940e6c8d607b7f9bb
[]
no_license
ajditto/cs165-ta12
23ce411faf1f8dd8d71c74d79c4284c4bfae79ad
6d1e066c79840235fd7f24248a6a56d6a94c79e0
refs/heads/master
2021-01-23T02:35:17.455001
2017-03-24T01:34:25
2017-03-24T01:34:25
86,009,399
0
0
null
null
null
null
UTF-8
C++
false
false
830
cpp
velocity.cpp
#include "velocity.h" #include <iostream> using namespace std; // TODO: Put your method bodies here Velocity operator + (const Velocity & lhs, const Velocity & rhs) { Velocity out; out.dx = lhs.dx + rhs.dx; out.dy = lhs.dy + rhs.dy; return out; } Velocity & operator += (Velocity & lhs, const Velocity ...
2bc1c1c30e4438e697250454356ee2b439553189
5d071b1aee999038b2ee4d491c6590085506378f
/Data Structure and Algorithm/Relation based algorithm/NightDuty_queue.cpp
256e4ae7bc005431b4234c30e93b39c4bb9d0c32
[]
no_license
seock04/Uncertainty-Handler
78361056f8bbf505d8fd137a71534d71d447b8d2
981cb829ab3a7390e587548cc1eaee0027a7bd01
refs/heads/master
2023-09-01T06:29:33.853000
2023-08-29T08:01:08
2023-08-29T08:01:08
228,979,686
4
2
null
2020-11-05T11:45:07
2019-12-19T05:11:30
C++
UTF-8
C++
false
false
993
cpp
NightDuty_queue.cpp
#include <iostream> #define MAX 1001 using namespace std; int Teacher; int Thief; int skills[3]; int resultMin = 0x7fffffff; class mQueue { public: int arr[MAX]; int head; int tail; mQueue() { head = 0; tail = 0; } void push(int v) { if (!IsFull()) { arr[tail++] = v; } } int front() { r...
0be56c082436ded95994f8b326e10f73a40a6b72
b651972878e196737245f94d60dd5b99d65c19d9
/Reverse_Array.cpp
7f4049e0d1c0ac397ae3152c1517375ffbcbb5f0
[]
no_license
kartikeya532001/GeeksForGeeks
b9d6e37a4932b210055c034ee7e349620eb910c2
371f9ecea5c1c23eee576929142b47c487e20612
refs/heads/main
2023-02-17T21:40:12.629298
2021-01-20T19:06:45
2021-01-20T19:06:45
null
0
0
null
null
null
null
UTF-8
C++
false
false
296
cpp
Reverse_Array.cpp
#include <iostream> using namespace std; int main() { int tcase; cin>>tcase; for(int i=0;i<tcase;i++){ int len; cin>>len; int arr[len]; for(int j=0;j<len;j++){ cin>>arr[j]; } for(int k=len-1;k>=0;k--){ cout<<arr[k]<<" "; } } return 0; }
ca94c5a08e88733cd0bb562e88211be72f0ab0e8
6149eb55bc16000cedcbf07c793de81ae9016218
/Project1/source/generator.h
210b73ac1c6f691eaaaf739aec2da6ea6e7d6822
[]
no_license
hamiltune-org/HamAudioContext
15fbab93e1b054d9b8f612a9fc194b570bbe3e40
9a396bd8d10e748a7b61b7a2e837d16feaf04714
refs/heads/main
2023-04-11T19:24:05.137356
2021-05-17T01:49:28
2021-05-17T01:49:28
367,975,798
0
0
null
null
null
null
UTF-8
C++
false
false
1,406
h
generator.h
#ifndef generator_h #define generator_h #define _USE_MATH_DEFINES #include <math.h> class Generator { public: // Constructor & Destructor (sort of) Generator() { _buffer = nullptr; num_samples = 0; num_channels = 0; } void Initialize(int _num_samples, int _num_channels) { num_samples = _num_sample...
297f84af281895f96b3e673a81ec6c339a700888
1efee3dd074ffa6820fad5d76d2e126c5b235dbe
/misc/minesweeper/msa/main.cpp
479058c6de5e413d08e778b32a5951f6adcd4046
[]
no_license
Julien5/sandbox
c9899371741a02384bde516941638740cfa58597
265f5aeb02bcdac0d60b3a5b91c4e2e4aafad2cc
refs/heads/master
2023-08-04T08:28:00.338175
2023-05-13T09:05:35
2023-05-13T09:05:35
149,029,974
0
0
null
null
null
null
UTF-8
C++
false
false
1,978
cpp
main.cpp
#include <algorithm> #include <ctime> #include <iostream> #include <vector> using namespace std; struct Field { bool mBomb = false; bool mHidden = true; int mCount = 0; }; ostream &operator<<(ostream &o, const Field &f) { if (f.mBomb) { o << '*'; } else { if (f.mCount) { o << f.mCount; } ...
f7e1c5cc7e4f545c4a8dd7331b80b804af95f7b3
24da289dc12ac1eb7d65f9573c31b3a3befa9d5f
/problemes/probleme1xx/probleme103.cpp
ff202ab6775172903fff3fa7d747825e417e28c4
[ "MIT" ]
permissive
ZongoForSpeed/ProjectEuler
a69cf3fda3d792d786ef1e11d9c3ed2fdf0eb047
d2299f9f4ea0054160782d545e0abb7df35fa782
refs/heads/master
2023-09-04T07:59:59.037694
2023-08-31T22:40:48
2023-08-31T22:40:48
40,210,928
6
0
null
null
null
null
UTF-8
C++
false
false
11,546
cpp
probleme103.cpp
#include <numeric> #include "problemes.h" #include "arithmetique.h" typedef unsigned long long nombre; typedef std::vector<nombre> vecteur; namespace { bool verifier(const vecteur &champs) { const size_t taille = champs.size(); if (champs.front() + champs.at(1) <= champs.back()) return...