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
960113a17480306fe103331cae70b77e5e35a560
5f7ced179b6b381b6ee73b680325ed54ce452331
/include/stdx/async/callback_flag.h
2a1cc401f5b0e448d53f38bd88eda52c0dbbae1f
[ "MIT" ]
permissive
iceBear67/stdx
14d3f38d035c8f5456928bbbbd542839c59a3617
70910b3cfaa910ea2c6f18c113c3f34af0844b8b
refs/heads/master
2022-10-09T02:30:54.451439
2020-06-04T05:38:15
2020-06-04T05:38:15
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,347
h
callback_flag.h
#pragma once #include <stdx/async/spin_lock.h> #include <list> #include <functional> namespace stdx { class _CallbackFlag { public: using callback_t = std::function<void() noexcept>; _CallbackFlag(); ~_CallbackFlag() = default; void lock(callback_t &&fn); void unlock() noexcept; private: stdx::spin...
4c4f49e84a183b322974fc428e618eb08cb55727
f06b34a02f288a79e660b5e393cc5934e8d99a41
/src/main.cpp
9fe817aa437180597d026e4e131de54d91fa4237
[ "MIT" ]
permissive
piotrek-szczygiel/glfw-glad-imgui-xmake
b85d2fe5473687d79c53a8eef0676ab5836e1067
6b8d1b2ddeda0abf12f64d410dfd4f1f08d94a4e
refs/heads/master
2023-06-12T05:07:02.098485
2021-06-29T13:33:56
2021-06-29T13:33:56
380,783,102
6
1
null
null
null
null
UTF-8
C++
false
false
5,114
cpp
main.cpp
#include <GLFW/glfw3.h> #include <fmt/core.h> #include <glad/glad.h> #include <imgui.h> #include <imgui_impl_glfw.h> #include <imgui_impl_opengl3.h> #define STB_IMAGE_IMPLEMENTATION #include <stb_image.h> #define SPDLOG_FMT_EXTERNAL #include <spdlog/spdlog.h> #include "game.h" int main(int, char**) { glfwSetErr...
d34370f4a77f0c2684f3305a1beb721f004e33ce
ba33db2bc7f3c8f5ba5355294b2ab6f5faec97c2
/src/amun/fpga/matrix_functions.h
af4a1cc4753cdaeeca2f8fb80b8e43a96abc445d
[ "MIT" ]
permissive
skoppula/amun
5060c132ab22b8310cbf1c603c7a4a77ef65a9ad
0905c43827a0a725f4e4c4bdd3866f6fa5e91df9
refs/heads/master
2020-04-05T21:53:40.494624
2018-11-12T19:49:55
2018-11-12T19:49:55
157,237,286
0
0
NOASSERTION
2018-11-12T15:47:22
2018-11-12T15:47:21
null
UTF-8
C++
false
false
3,278
h
matrix_functions.h
#pragma once #include <sstream> #include <vector> #include <stddef.h> #include "types-fpga.h" namespace amunmt { namespace FPGA { struct Weights; template<typename T> class Array; namespace mblas { class Matrix; float SumFloat( const OpenCLInfo &openCLInfo, const cl_mem &mem, uint size ); uint Su...
69892244598aea2fc857875369e5fb0400c9fc29
a41b3f736a93f8afee89003adb5793b770ab605f
/DirectX2D/IsometricElevationsLayers/elevations.h
0a3bda744591e428a4f0bc26a6094462499121d4
[]
no_license
newmri/Dirext2D
84b558bb64ea4a6ed897b67fd8c97b6708230d84
cad7553485703250a4ca22fe64f654b6a11efbda
refs/heads/master
2021-01-19T16:45:28.367382
2017-09-01T07:54:32
2017-09-01T07:54:32
101,023,943
0
0
null
null
null
null
UTF-8
C++
false
false
7,583
h
elevations.h
// Programming 2D Games // Copyright (c) 2011 by: // Charles Kelly // Elevations.h Isometric Diamond Demo v1.0 #ifndef _ELEVATIONS_H // Prevent multiple definitions if this #define _ELEVATIONS_H // file is included in more than one place #define WIN32_LEAN_AND_MEAN #include <string> #include <fs...
353d81a31b8a809006a6d19b3432cbe616de4fd6
d90023331e3a49ca602f2af9a5e49443ded21120
/MFCPocoServer/MFCPocoServer/PocoTcpServer.cpp
face8dc757b2455903e24682a3dd0e54ee88230e
[]
no_license
baliguan163/MFCPoco
e2e82178bd84e912f67e50278ec26f345ca70f13
9c8f8e7e4559378822c6ec9170ff4e0e02cd8833
refs/heads/master
2020-04-01T23:06:14.182352
2018-10-19T07:43:35
2018-10-19T07:43:35
153,741,997
0
1
null
null
null
null
UTF-8
C++
false
false
1,692
cpp
PocoTcpServer.cpp
#include "stdafx.h" // //#include "PocoTcpServer.h" // //#include "Config.h" // //#include <winsvc.h> // ////#include "Poco/Net/ServerSocket.h" ////#include <Poco/Net/TCPServer.h> ////#include <Poco/Net/TCPServerConnectionFactory.h> ////#include <Poco/Net/TCPServerConnection.h> ////#include <Poco/Net/StreamSocket.h> //...
217d95a3de4d8234b2cbfe11a0e956313359fd44
7d1a6c11257618de5caa59341174ec39ad49047c
/src/MineSweeper.cpp
def47ab89724b9a89186f5a38716fa146788d7c1
[]
no_license
mikkac/mine_sweeper
77c8c5ed4aee5db3a8e1d179c391750c46a52b1c
a998b4f4b7b764127fa2eb4aae4319e5067544e0
refs/heads/master
2020-03-23T22:57:53.576416
2018-07-24T20:20:15
2018-07-24T20:20:15
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,537
cpp
MineSweeper.cpp
#include "MineSweeper.hpp" #include <iostream> void Field::ToggleFlag() { isFlag = !isFlag; } Board::Board(unsigned int x,unsigned int y, std::vector<Point> bombs):x(x), y(y), bombCount(bombs.size()) { board.resize(x*y); for (auto el : bombs) { board[Coords(el)].isBomb = true; for (i...
1c4caeea144d4ff7914af0c7ba3b57c7416344cc
446d204516d9218b2bc57bee0dea74e7b1ff7bff
/libraries/chain/webassembly/system.cpp
f2b9255ee8885bc99442d8df2e5eb43bacf5fac9
[ "MIT" ]
permissive
worldwide-asset-exchange/wax-blockchain
58149f0edb06168d5f4dff85c44297d48da2856f
5bd8121e385179ab8a8ef1c526fe894b8a14a99c
refs/heads/main
2023-07-20T08:50:17.573396
2023-07-13T15:29:01
2023-07-13T15:29:01
191,630,987
133
55
MIT
2022-02-16T23:41:15
2019-06-12T19:17:57
C++
UTF-8
C++
false
false
989
cpp
system.cpp
#include <eosio/chain/webassembly/interface.hpp> #include <eosio/chain/transaction_context.hpp> #include <eosio/chain/apply_context.hpp> namespace eosio { namespace chain { namespace webassembly { /* these are both unfortunate that we didn't make the return type an int64_t */ uint64_t interface::current_time() c...
8775d1ae184c03844b5939b23dace4432d2b0be0
531c04b7e41318494f2a2535563c29ee28d0c1e0
/Engine/src/mgengine/Parser/LevelParser.h
1ffe7f35c4f806b2215022056392f2e2cfbad6a3
[]
no_license
MarkOudeVrielink/Project3rdPerson
d213c7221319e1c9637eedc6c79f6efbbaf9711e
fcb8748bd1e713797110ccd3a501c00726c7c40d
refs/heads/master
2021-01-22T02:52:51.882374
2017-03-10T07:44:59
2017-03-10T07:44:59
81,075,768
0
0
null
null
null
null
UTF-8
C++
false
false
281
h
LevelParser.h
#pragma once #include "mgengine\Parser\pugixml.hpp" #include "mygame\Level.h" static class LevelParser { public: //static void SaveLevel(Level* pLevel); static void SaveLevel(Level * pLevel, string pfileName); static Level *LoadLevel(string pName, sf::RenderWindow* pWindow); };
79062066e43a0c5a0097d3fae2b9e7c60a659dc0
806410cc83acebed719e5804232821bc83a87f01
/source/library/gpu/private/d3d11_backend/d3d11_swap_chain.h
35d1847197fdcf2151dffb7c08b6556b3cc00ad6
[ "MIT" ]
permissive
blockspacer/potato
e4d37969b791f434826114721455d8dbb642d361
a52f9712e5251412e14406c54927ab9984ec6f0e
refs/heads/master
2020-07-05T19:02:41.665477
2019-07-19T03:15:09
2019-07-19T03:15:09
null
0
0
null
null
null
null
UTF-8
C++
false
false
932
h
d3d11_swap_chain.h
// Copyright (C) 2018 Sean Middleditch, all rights reserverd. #pragma once #include "d3d11_platform.h" #include "potato/gpu/com_ptr.h" #include "potato/foundation/box.h" #include "potato/gpu/swap_chain.h" namespace up::d3d11 { class SwapChainD3D11 : public GpuSwapChain { public: SwapChainD3D11(com_pt...
9c20a343acf756860e039e998fca806346dbe207
b8b833ef45ee3a37e5b1737558663e081363d8c7
/Core/Common/GlobalPeers.cpp
5fad61810539e99bbac21b3fdecb4c890cb167bf
[]
no_license
Reflexe/Ziqe
25da769da5b41e9fc193e5545e2d28cf928122aa
a76a901d6adf9f5e368f3c7e35d0e56b00754794
refs/heads/master
2020-05-19T09:00:51.921555
2019-05-04T19:33:00
2019-05-04T19:33:00
184,935,871
0
0
null
null
null
null
UTF-8
C++
false
false
3,361
cpp
GlobalPeers.cpp
/** * @file GlobalPeers.cpp * @author Shmuel Hazan (shmuelhazan0@gmail.com) * * Ziqe: copyright (C) 2016 Shmuel Hazan * * Ziqe is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the Li...
c9482972819e234726070a3e30d13e7d64ed4b3e
993ffc7e024b350db271c020201ef9f26c736a6e
/VileColossus/messages.cpp
04945820f2b68f0dbe5b5cdaa5c837ab73810354
[]
no_license
laughingpanjandrum/VileColossus
76b75050e69e3a849398e0c1be2ab4956fb6b653
5e1867b6a07e2575857e3c9f31ffaa33408eade0
refs/heads/master
2023-04-09T23:58:41.344270
2021-04-07T22:44:24
2021-04-07T22:44:24
336,387,247
11
0
null
null
null
null
UTF-8
C++
false
false
2,743
cpp
messages.cpp
#include "messages.h" // Generic adder void messages::add(gamedataPtr gdata, const string txt, const vector<colorType> colors) { gdata->_messages.insert(gdata->_messages.begin(), message(txt, colors)); if (gdata->_messages.size() > MAX_MESSAGE_COUNT) gdata->_messages.pop_back(); } void messages::error(gamedataPt...
918abd876a5fb195510cb61473a71c449508ba2f
802a8f80cefc39644979cf2038356f63de866398
/Server Lib/Projeto IOCP/UTIL/message_pool.cpp
e9d7c9b6253985839ba8dbdbdce7937b71832562
[ "MIT" ]
permissive
Acrisio-Filho/SuperSS-Dev
3a3b78e15e0ec8edc9aae0ca1a632eb02be5d19c
9b1bdd4a2536ec13de50b11e6feb63e5c351559b
refs/heads/master
2023-08-03T13:00:07.280725
2023-07-05T00:24:18
2023-07-05T00:24:18
418,925,124
32
30
MIT
2022-11-03T23:15:37
2021-10-19T12:58:05
C++
UTF-8
C++
false
false
6,652
cpp
message_pool.cpp
// Arquivo message_pool.cpp // Criado em 21/05/2017 por Acrisio // Implementação da classe message_pool #if defined(_WIN32) #pragma pack(1) #endif #if defined(__linux__) #include "WinPort.h" #endif #include "message_pool.h" #include "exception.h" #include <iostream> #include "../TYPE/stda_error.h" using namespace ...
8ebe16225952c1d7e354c5702f3bb56243f58b73
b83f09183dccd50985d6f5a98bf76108d4b30c05
/Ncp/src/NcpImpl.hpp
9309f60033af848fccddd0b7d8690c886c3e263f
[]
no_license
loyalty521/bcsjm
427c1845205b32afeb7479f4f258d4dff1e0d101
a46bcf9d40b62b2e8745d1d05808fa2655208743
refs/heads/master
2021-01-19T00:52:14.027557
2016-06-30T01:25:30
2016-06-30T01:25:30
62,202,376
0
0
null
null
null
null
GB18030
C++
false
false
34,825
hpp
NcpImpl.hpp
//////////////////////////////////////////////////////////////////////// /// COPYRIGHT NOTICE /// Copyright (c) 2013, 合肥科大立安安全技术股份有限公司 /// All rights reserved. /// /// @file NcpImpl.hpp /// @brief Ncp通用功能实现文件 /// /// 实现Ncp协议通用功能部分 /// /// @version 1.0 /// @author 李守红 /// @date 2013年12月1日 /// /// /// 修订说明:最初版本 /// /...
8a640c2e62ce98ace65d6a0f1c9b5f019fe4a9f3
6fc7d70f829c7da8b7a8e82e2d8ec20626edc0f5
/itkMABMISSimulateData.h
9e038263c6d3e6e0dfbc532598747966eaf18ecb
[]
no_license
dzenanz/MultiAtlas
9cb9a8e587f286fee6fa3ad5bee0f17d0b12765b
39224b3e9e2f6917a412710711115ebbaf6280d5
refs/heads/master
2022-04-25T23:35:45.272425
2020-05-01T13:35:37
2020-05-01T13:35:37
114,939,001
0
1
null
2017-12-20T23:02:20
2017-12-20T23:02:19
null
UTF-8
C++
false
false
3,763
h
itkMABMISSimulateData.h
#ifndef __itkMABMISSimulateData_h #define __itkMABMISSimulateData_h #include "commonMABMIS.h" #include "itkMABMISDeformationFieldFilter.h" #include "itkMABMISImageOperationFilter.h" #include "itkMABMISBasicOperationFilter.h" namespace itk { namespace Statistics { template <class TInputImage, class TOutputImage> clas...
f6d15225b748cf4196f4e327bc3fb95c7398671d
bbc63886997210f36d9daa7b4426e547ebb58a10
/DragonLakeLodeRunner/HeroController.cpp
2adbd8054c59498f8ca83dfc9558898847ca9ba1
[]
no_license
Hisuich/DragonLakeLodeRunner
9bcd5874db6c6b456c69940676c4f54c5ed6fefd
c8e5d60870185c57412431548e1d27a50a7ba4d7
refs/heads/master
2023-06-22T03:13:34.618887
2021-07-21T07:12:56
2021-07-21T07:12:56
388,012,883
0
0
null
null
null
null
UTF-8
C++
false
false
3,170
cpp
HeroController.cpp
#include "HeroController.h" #include "GameObjects.h" Vector2 HeroController::FindFloorPosition(bool left) { Vector2 playerPos = gameObjects->GetPositionByIndex(playerIndex); Vector2Int playerSize = gameObjects->GetSizeByIndex(playerIndex); Vector2 floorPos = playerPos; floorPos.y += 48; floorPos.x += 16; int fi...
a8a9d26adccf47490ee824675abec642813700c2
89ae2a1847359d890dc1beaecb07690da96b5241
/Allegro-map-editor-master/source/gui/guiframe.h
ea812d6dc7d8bbc7866c42b50b27e7c031bf0c29
[ "MIT" ]
permissive
aewinformatica/ALLEGRO4
840d41251d1da60455eafc265d785beb1585844b
fdf67b4532743df9682dc033ff7f6c0eb496e729
refs/heads/master
2023-06-23T16:42:57.252185
2023-06-16T17:50:19
2023-06-16T17:50:19
142,301,875
0
0
null
null
null
null
UTF-8
C++
false
false
3,331
h
guiframe.h
/////////////////////////////////////////////////////////////////////////////// // Copyright (C) 2009 by Hazardous Gaming // All Rights Reserved // // This code is licensed under the MIT License. It is free software // and you may modify it and/or redistribute it under the terms of th...
269a7eee3e2f5f1ba3ea796b93e6b3b718f4fa2c
30ae4581790fa4bdceb0f3f8a9904f0c15d3aacb
/172.16.1.13_不会Pollard-Rho蒟蒻选手/sgcd.cpp
4acdda70a4784da3df40d0b7ab523fd3b477710d
[]
no_license
zhudafu/YZSC2019
0af5cfdeab20b4528cee087f04911e0019470d36
9aba7b000c92d7badc16f03e23776ea55c66c63c
refs/heads/master
2022-01-19T22:54:31.885723
2019-07-21T01:51:42
2019-07-21T01:51:42
null
0
0
null
null
null
null
UTF-8
C++
false
false
747
cpp
sgcd.cpp
#pragma GCC optimize("Ofast") #include<cstdio> #include<vector> #include<map> #include<cmath> #include<iostream> using namespace std; const int MAXN = 500001; int n, k, a[MAXN], maxa; map<int, int>m; int main() { freopen("sgcd.in", "r", stdin); freopen("sgcd.out", "w", stdout); int n, k, r; scanf("%...
aa27fcb187e53601ce4fcf88c4b0ca4f87953b38
9b6e5850a5e030cd2016a18324046a9202d6624e
/stopwatch.hpp
556506deb5a8a532676524aaef4adb57adc12642
[]
no_license
ivanpos2015/crt-replacement
c140e3fab1352dca3f46b1c419a2362f7948065d
8c63733b11a08e85b3854d11d6e0cad2b1e50b69
refs/heads/master
2020-04-13T03:25:17.488491
2018-10-05T20:24:26
2018-10-05T20:24:26
null
0
0
null
null
null
null
UTF-8
C++
false
false
866
hpp
stopwatch.hpp
#pragma once class StopWatch { public: StopWatch() { reset(); }; StopWatch(StopWatch&& other) { this->operator=(other); other.ullTick = NULL; }; void operator=(const StopWatch& other) { ullTick = other.ullTick; }; ULONGLONG elapsed() { return GetTickCount64() - InterlockedExchangeAdd(&ullTick, NULL); }; v...
6640ee358678ab06174b6b47145e8f84a3e4003a
8187b85cece21796f8eee9c9c0fdd95ad68168fa
/src/ldap/ldap-win.cpp
cf79017277cf43ac57fb1270bf57429400726c96
[]
no_license
brobits/uRPC
fbe2b1e3d4ca8d9563bca3ba545888f47179d216
acb1ccb6197924c765c68389aca2c7b1ce47bb59
refs/heads/master
2021-01-15T22:58:10.032064
2011-06-26T20:36:20
2011-06-26T20:36:20
null
0
0
null
null
null
null
UTF-8
C++
false
false
216
cpp
ldap-win.cpp
// src/ldap/ldap-win.cpp // // // http://msdn.microsoft.com/en-us/library/aa366938(v=VS.85).aspx // Header Winldap.h // Library Wldap32.lib // DLL Wldap32.dll namespace urpc { namespace ldap { } }
e8fbeb9af3a4e212104e1496029450d2918597bb
44c64a65a1148728b9f33c1f8dd6c8de5b7af95e
/tests/cegui/cegui_main.cpp
e6c67c7d00d0cc5c4289e8344e5baff7ff04d9d7
[]
no_license
wangfeilong321/test_osg
0a36381f53095f47f79f807483ce75e3ec6572e5
0c20e55b870f5069665122ec8118a542607200d3
refs/heads/master
2021-01-14T13:07:11.522705
2015-12-30T18:38:32
2015-12-30T18:38:32
48,838,585
0
1
null
2015-12-31T07:04:14
2015-12-31T07:04:14
null
UTF-8
C++
false
false
7,724
cpp
cegui_main.cpp
/* -*-c++-*- OpenSceneGraph Cookbook * Chapter 9 Recipe 4 * Author: Wang Rui <wangray84 at gmail dot com> */ #include "stdafx.h" #include <osg/BlendFunc> #include <osgDB/ReadFile> #include <osgViewer/Viewer> #include <osgViewer/ViewerEventHandlers> #include <iostream> #include <cegui/CEGUI.h> #include ...
7aa73a670e7fde1747fd49c0b7b7dac912cee61b
7ab3e03722412322193afc6f1c13e2ec96d6e83b
/src/common/log/logger_util.cpp
3633f213bc24d85dfd7ba6cff42eee224685b529
[]
no_license
sarachour/topaz
65b19e445fc7c195e44246b034a1cbd6d52458b5
81d8ad7a54589010a287e0437d956ddec18094a1
refs/heads/master
2021-01-20T11:05:08.658561
2017-03-20T18:15:53
2017-03-20T18:15:53
38,016,109
0
0
null
null
null
null
UTF-8
C++
false
false
796
cpp
logger_util.cpp
#include "logger.h" #include "stdlib.h" void RealLogInfo::init_logs(){ this->tasks = NULL; this->TASK_SIZE = 0; this->TASK_LAST = NULL; } void RealLogInfo::del_logs(){ log_node_t * curr = this->tasks; while(curr != NULL){ log_node_t * n = curr->NEXT; free(curr); curr = n; } this->tasks = NULL; this->TASK...
ce1bb80e0fc17605bd2548c0b2c93d3ebdddb9e3
d18f8f1f16fb4ae5639a7727196d426ce628599f
/server/message_server.cpp
70a02177b0fa9bb3dede309048361540ceaf42d7
[]
no_license
amanjoshi668/Mini_torrent
e6eae8dff15ca8ebc1cde0a25b43abd18af15ea7
d2e9655ef6ad2f9dd9204384554119c2c49029c5
refs/heads/master
2020-03-29T00:32:06.327839
2018-12-01T04:16:06
2018-12-01T04:16:06
149,344,060
0
1
null
null
null
null
UTF-8
C++
false
false
3,618
cpp
message_server.cpp
/* Name : Aman Joshi Roll No. : 2018201097 */ #include <message_server.h> Message ::Message(initializer_list<string> list) { this->no_of_fields = 0; this->fields_content.clear(); this->fields_size.clear(); for (auto &it : list) { this->fields_content.push_back(it); this->fi...
d9c12a684f866ee4ae2da3896d1a47eb983203d6
0d74effba292cf0bcfd0f0280887f80c350dca59
/day-50.cpp
57290c6b4aa24d11b62727ec5721248b05eae126
[]
no_license
PranjalAgni/210DaysLeetCode
34ab549e3a8e284f98e083393cc300663739690e
b900c11bc50a0baa122e6cef302c1b0c8cb09723
refs/heads/master
2023-03-01T04:41:55.693293
2021-02-07T18:14:21
2021-02-07T18:14:21
252,403,305
10
5
null
null
null
null
UTF-8
C++
false
false
918
cpp
day-50.cpp
/* Kth Smallest Element in a BST Given a binary search tree, write a function kthSmallest to find the kth smallest element in it. Note: You may assume k is always valid, 1 ≤ k ≤ BST's total elements. Example 1: Input: root = [3,1,4,null,2], k = 1 3 / \ 1 4 \ 2 Output: 1 Example 2: Input: root = [5,...
d6eea0ca151f1a3a40e056c512e80f304eb71f10
afd787d5c5f905d22ee0bc141614a03879a5f722
/OpenGL/LearnOpenGL/ReGL/ReGL/src/script/BehaviorManager.h
da8096a7bd628c59a6c84e268870eaa02725104f
[]
no_license
jinyukyo/ResetCore
163a19991ef85b530354c61d7e5d20f6a067cb88
e216836e19d5dfd8c7f357b90c0a8358295c6574
refs/heads/master
2022-06-02T08:51:03.179964
2020-05-03T17:26:53
2020-05-03T17:26:53
null
0
0
null
null
null
null
UTF-8
C++
false
false
804
h
BehaviorManager.h
#ifndef __BEHAVIOEMANAGER_H__ #define __BEHAVIOEMANAGER_H__ #include <list> #include "Behavior.h" namespace ReGL { class BehaviorManager { public: static bool PreUpdate(); static bool Update(); static bool LateUpdate(); static bool RegistPreUpdate(Behavior* behavior); ...
72b5f3b52c9e3a3e156105d39f7e6f0d75552617
98b6c7cedf3ab2b09f16b854b70741475e07ab64
/www.cplusplus.com-20180131/reference/initializer_list/initializer_list/begin/begin.cpp
9704ae4e3c67f295bd91ea35f3d4e4308c08ad85
[]
no_license
yull2310/book-code
71ef42766acb81dde89ce4ae4eb13d1d61b20c65
86a3e5bddbc845f33c5f163c44e74966b8bfdde6
refs/heads/master
2023-03-17T16:35:40.741611
2019-03-05T08:38:51
2019-03-05T08:38:51
null
0
0
null
null
null
null
UTF-8
C++
false
false
619
cpp
begin.cpp
// initializer_list::begin/end #include <iostream> // std::cout #include <string> // std::string #include <sstream> // std::stringstream #include <initializer_list> // std::initializer_list struct myclass { std::string str; myclass(std::initializer_list<int> args) { std::stringst...
7a5b6271c3ca1224db46b14aec1bc8dad5efc094
8f021f68cd0949afa8d119582c0b419b014919d8
/URIOJ/uri2804.cpp
47c6a4fb89816d973522e61d0e69797075075084
[]
no_license
Jonatankk/codigos
b9c8426c2f33b5142460a84337480b147169b3e6
233ae668bdf6cdd12dbc9ef243fb4ccdab49c933
refs/heads/master
2022-07-22T11:09:27.271029
2020-05-09T20:57:42
2020-05-09T20:57:42
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,464
cpp
uri2804.cpp
/* * Leonardo Deliyannis Constantin * URI 2804 - Ferrovias */ #include <stdio.h> #include <string.h> #include <vector> #include <algorithm> #define MAX 512 int N, AG[MAX][MAX], ans; bool use[MAX][MAX]; void floydWarshall(){ for(int k = 0; k < N; k++) for(int i = 0; i < N; i++) for(int j = 0...
8e5c8430c6324449791959480640273237babb7f
0c179ee197a3239fb5b7445647da62a803de788a
/HW4/hw4q3.cpp
b9df4f82db79a69d9ef36fd9e76b5b63843bad30
[]
no_license
hpuma/CSC21200
3197bb4655ffc327667559f2ca3893859525ef2e
bc101e4d4ae7d50a25cc5f01f9db70668cf413f3
refs/heads/master
2023-05-31T07:13:55.748923
2021-06-23T09:18:27
2021-06-23T09:18:27
172,643,881
2
2
null
null
null
null
UTF-8
C++
false
false
1,975
cpp
hw4q3.cpp
#include "hw4q3.h" #ifndef __HW4Q2_CPP__ #define __HW4Q2_CPP__ template <class Item> PriorityQueue<Item>::PriorityQueue(){ capacity = DEF_CAP; data = new Item[DEF_CAP]; first = 0; last = capacity-1; used = 0; } template <class Item> PriorityQueue<Item>::PriorityQueue(const PriorityQueue<Ite...
28c55d6a57787c6876032b110d3b58cab57fb3d5
585293085e12dbd8339c49098c0882f9e001f2c1
/ nupix/NuPix/src/Frame.cpp
0c344fc701568d575d01a4a7c34ae2cfa78c2857
[]
no_license
fmd/nupix
ba4d9fc5fe56e08abe03b2b39302c4d7129dd45c
49ada30fdbe091df3f1d2b341cce1ea4bcc0a011
refs/heads/master
2021-01-02T09:53:47.099303
2010-03-17T03:01:53
2010-03-17T03:01:53
32,323,794
0
0
null
null
null
null
UTF-8
C++
false
false
616
cpp
Frame.cpp
#include "Frame.h" using namespace newPix; Frame::Frame(uint16 v_vbo, uint16 t_vbo, uint16 index, uint16 tw, uint16 th, FrameInfo frame) { mTexCoordVBO = t_vbo; mVertexVBO = v_vbo; mIndex = index; mWidth = float(frame.w); mHeight = float(frame.h); mXOffset = frame.x_offset; mYOffset = frame.y_offse...
1403262f028c9c42ea524f72b14c6fcaf57e91ac
779e1a7c9922fb348ba1281619d8b1245f5a0d1e
/DP/DP1/Unbounded-knapsack.cpp
db90fca407265ce85a35ce1537c277de0b89d483
[]
no_license
amey16/Just-cp--
cefb2c151e4b388ab9bed3392c8055c129a0e0fe
7f9a0b406b9415efb207efbdeb42d7fa872d717a
refs/heads/master
2023-07-03T17:01:06.807467
2021-08-05T06:40:55
2021-08-05T06:40:55
379,332,830
0
0
null
null
null
null
UTF-8
C++
false
false
789
cpp
Unbounded-knapsack.cpp
#include<iostream> #include<vector> #include<algorithm> using namespace std; int maxval(vector<int> values,vector<int> weights,int n,int twsum){ vector<int> dp(twsum+1,0); for(int i=1;i<=twsum;i++){ for(int j=0;j<n;j++){ int weight = weights[j]; int value = values[j];...
6a79b3385f32a265b2f09910d29d781b139cf322
7cb81bf8a7f72228248ccec69770c09f851706e4
/HH-Homeworks/HH-05.cpp
377f1a5b5c51b3c33e94118d48013c1db7af2be3
[]
no_license
MksYi/C-HomeWorks
e0e7da8496c328346ac0ea6315c68130a6edda5e
d12a59d7372b3e36db00552ae6e782eee650a0be
refs/heads/master
2021-06-10T13:14:42.651310
2016-12-29T01:34:57
2016-12-29T01:34:57
null
0
0
null
null
null
null
BIG5
C++
false
false
1,449
cpp
HH-05.cpp
/***************************************** * C++ -> HH-HomeWorks >HW05< * * By-SiaoT* *****************************************/ #include <iostream> #include <string.h> using namespace std; char chenge(char a, char b){ //大小寫轉換 a = toupper(a); b = toupper(b); if (a > b) return 1; else if (a < b) return ...
2a7adca0b6092453f0ba94b7112a324607de0810
a833e0987a1642e300458d364735d7ed5d0bbc19
/1105 Spiral Matrix.cpp
555f16c048984088460b1ce00c0cb176ac1dc0ee
[]
no_license
CherishAZ/PAT
fe2d2642f950116d26368efb028d68bc63e2914e
5e051f52a7a92b81ac8148f0130424461e402d45
refs/heads/master
2020-06-13T21:05:07.423961
2019-09-09T05:06:05
2019-09-09T05:06:05
194,786,368
1
0
null
null
null
null
UTF-8
C++
false
false
983
cpp
1105 Spiral Matrix.cpp
#include <iostream> #include <algorithm> #include <cmath> using namespace std; int a[10010], mm[10010][10010]; int cmp(int a, int b){ return b > a; } int main() { int N, num = 0; cin >> N; for(int i = 0; i < N; i++){ cin >> a[i]; } if( N == 1){ cout << a[0]; return 0; } int m = (int)c...
276a97e0219949bee033fe170a77531a2afa2986
425963de819e446a75441ff901adbfe5f1c5dea6
/content/browser/renderer_host/render_view_host_impl.cc
ccbad31cca1dfa9a2610d1513a3683c65ae9588c
[ "BSD-3-Clause" ]
permissive
Igalia/chromium
06590680bcc074cf191979c496d84888dbb54df6
261db3a6f6a490742786cf841afa92e02a53b33f
refs/heads/ozone-wayland-dev
2022-12-06T16:31:09.335901
2019-12-06T21:11:21
2019-12-06T21:11:21
85,595,633
123
25
NOASSERTION
2019-02-05T08:04:47
2017-03-20T15:45:36
null
UTF-8
C++
false
false
41,001
cc
render_view_host_impl.cc
// Copyright (c) 2012 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 "content/browser/renderer_host/render_view_host_impl.h" #include <set> #include <string> #include <unordered_map> #include <utility> #includ...
6902d1fc85db39f36798d58a5399f9552182de46
8c601a19c45c5f9981dcedad408f439fa8ec83fc
/qstringship.h
cf5db9b3508fb962b804637ccd8b73a14d951a72
[]
no_license
dublinbranch/QSpaceShip
be537fba2b9793e14a764cf87a69265b6226c52f
1f9ded646bdd3a13eb71d524a6ab6cd34cc25338
refs/heads/master
2023-03-26T19:15:02.261766
2021-03-29T13:56:27
2021-03-29T13:56:27
275,236,143
1
0
null
null
null
null
UTF-8
C++
false
false
121
h
qstringship.h
#pragma once #include <compare> class QString; std::strong_ordering operator<=>(const QString& lhs, const QString& rhs);
da1b88cdad19f4dc691f19d017696c1137acaf07
31f5cddb9885fc03b5c05fba5f9727b2f775cf47
/thirdparty/eigen-3.3.3/bench/btl/generic_bench/utils/size_log.hh
13a3da7a8f94c052dc620a0d190ab84809df9333
[ "GPL-3.0-only", "LGPL-2.1-only", "BSD-3-Clause", "LGPL-2.0-or-later", "MPL-2.0", "LGPL-2.1-or-later", "Minpack", "MIT", "GPL-2.0-only" ]
permissive
timi-liuliang/echo
2935a34b80b598eeb2c2039d686a15d42907d6f7
d6e40d83c86431a819c6ef4ebb0f930c1b4d0f24
refs/heads/master
2023-08-17T05:35:08.104918
2023-08-11T18:10:35
2023-08-11T18:10:35
124,620,874
822
102
MIT
2021-06-11T14:29:03
2018-03-10T04:07:35
C++
UTF-8
C++
false
false
1,645
hh
size_log.hh
//===================================================== // File : size_log.hh // Author : L. Plagne <laurent.plagne@edf.fr)> // Copyright (C) EDF R&D, lun sep 30 14:23:17 CEST 2002 //===================================================== // // This program is free software; you can redistribute it and/or /...
ef88890b01a9f1595394bf39e62a37a7ae93c9b2
65e3391b6afbef10ec9429ca4b43a26b5cf480af
/STEER/STEER/AliDetectorRecoParam.h
b97726fe8fd6ce621c171466c1deb8ae50a2d88f
[ "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-proprietary-license" ]
permissive
alisw/AliRoot
c0976f7105ae1e3d107dfe93578f819473b2b83f
d3f86386afbaac9f8b8658da6710eed2bdee977f
refs/heads/master
2023-08-03T11:15:54.211198
2023-07-28T12:39:57
2023-07-28T12:39:57
53,312,169
61
299
BSD-3-Clause
2023-07-28T13:19:50
2016-03-07T09:20:12
C++
UTF-8
C++
false
false
1,302
h
AliDetectorRecoParam.h
#ifndef ALIDETECTORRECOPARAM_H #define ALIDETECTORRECOPARAM_H /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * See cxx source for full Copyright notice */ /////////////////////////////////////////////////////////////////////////////// // ...
4f2e6f52753509085e9d1db70ebc89ec1fa36c38
b614d0e512cbe0048f21b344dc08d0797197a0ac
/GraphicsDemo/Bone.h
639d1cf31ca038a2a6483364e7b5c09d98adba60
[]
no_license
kg1992/GraphicsDemo
bfb5240c2091818403329e141d58fef1aa104fef
79f48e3fdd91c72b897f98498713c2a8e5d8cc43
refs/heads/master
2020-04-29T11:39:32.267880
2019-04-05T15:44:52
2019-04-05T15:44:52
176,106,841
1
0
null
null
null
null
UTF-8
C++
false
false
1,321
h
Bone.h
/* Bone.h Author : Lee Kyunggeun(kyunggeun1992@gmail.com) References : https://www.youtube.com/watch?v=f3Cr8Yx3GGA Dependencies : glm - vector and matrix representation Bone class definition */ #ifndef BONE_H_ #define BONE_H_ class Bone { public: enum { DUMMY_PARENT_NODE_IND...
afc72f7e24e7414ab878fab1e51502bdade5643b
ef851cb40f6478c8ecfbd8068855c443a406e527
/mark_candidate_for_barcode.cpp
f0b05498b38ad20c71a643ba7c2c010157945235
[]
no_license
DmitryGeMi/QR-code
a6f8e1ae50ecde9d86f32eb47f219b572d7fe6a2
15fb268d127486cfcfa685cb15d644897e1e1b54
refs/heads/master
2023-01-08T01:30:54.291436
2020-11-17T12:10:06
2020-11-17T12:10:06
305,997,879
0
0
null
null
null
null
UTF-8
C++
false
false
2,274
cpp
mark_candidate_for_barcode.cpp
#include <opencv2/core/core.hpp> #include <vector> #include <stdexcept> #include "structures_point.h" #include "hog_basic_instrument.h" #include "two_peaks_of_hog.h" #include "mark_candidate_for_barcode.h" void mark_candidate_for_barcode(cv::Mat &marker_grad, const Type_input_gradient_matrix &gradient_matrix, ...
ddd0b101c4846c0281fec05373e554bd72891ffe
cb81d4e935a17815384da5d49771f322d7f5b296
/MyProject/MyProject/Src/Window/Window.cpp
c40e807a4cc2cc696a44a5ba34cb7e673d47b6c2
[]
no_license
okmonn/-Task
61068e2038bd13a84e2c5f738e33d520ac3c94c3
9cf34491ace39058efda48765d40807f45736276
refs/heads/master
2021-07-08T19:07:18.793186
2018-12-11T08:34:36
2018-12-11T08:34:36
129,992,661
0
0
null
null
null
null
SHIFT_JIS
C++
false
false
1,853
cpp
Window.cpp
#include "Window.h" #include "Icon/Icon.h" #include <tchar.h> // コンストラクタ Window::Window(const unsigned int& x, const unsigned int& y) : handle(nullptr) { wnd = {}; SetWindow(); Create(x, y); } // デストラクタ Window::~Window() { UnregisterClass(wnd.lpszClassName, wnd.hInstance); } // ウィンドウプロシージャ LRESULT Window::Wind...
b36df47cebce602068ea0366264066f9b8d33078
dd80a584130ef1a0333429ba76c1cee0eb40df73
/external/libgsm/src/table.c
0ed6f70731b682ef899bfbd1b19332340af00011
[ "TU-Berlin-2.0", "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
karunmatharu/Android-4.4-Pay-by-Data
466f4e169ede13c5835424c78e8c30ce58f885c1
fcb778e92d4aad525ef7a995660580f948d40bc9
refs/heads/master
2021-03-24T13:33:01.721868
2017-02-18T17:48:49
2017-02-18T17:48:49
81,847,777
0
2
MIT
2020-03-09T00:02:12
2017-02-13T16:47:00
null
UTF-8
C++
false
false
2,151
c
table.c
/* * Copyright 1992 by Jutta Degener and Carsten Bormann, Technische * Universitaet Berlin. See the accompanying file "COPYRIGHT" for * details. THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE. */ /* $Header: /tmp_amd/presto/export/kbs/jutta/src/gsm/RCS/table.c,v 1.1 1992/10/28 00:15:50 jutta Exp $ */ /* Mos...
d2355e9ac3ec5c3f4f79ebdaed3bb8aa54a8e072
1c5360b762ead5a833646471f2674d21248c312e
/Boy or Girl.cpp
89cee3da46f11751ef48905db54d5eeb9da1a443
[]
no_license
rafsan99/Problem-Solving
f0595a5ef436dd177913a175450505ffe80bc3c9
7a5e1d7206501910919f41c178e264f3d6cc92a4
refs/heads/master
2021-07-04T23:01:20.183696
2021-04-06T18:17:55
2021-04-06T18:17:55
228,867,188
0
0
null
null
null
null
UTF-8
C++
false
false
464
cpp
Boy or Girl.cpp
#include<iostream> #include<string> #include<bits/stdc++.h> using namespace std; int main(){ int x; string s; cin>>s; sort(s.begin(),s.end()); for(int i=0;i<s.length();i++){ if(s[i]==s[i+1]){ x=i+1; s.erase(s.begin()+x); i=-1; ...
3d6386e2a9382d5ffb6a6bd3f783b2b3947afc55
9ffce96f102286c095f5ea3ff329357400d59cdf
/12798handbal.cpp
2a5b2ffa308abb1e5a61520a27833670b28f0164
[]
no_license
NanzibaBasnin/UVA
9718199835726fc796fd842751c31132b33b3da2
f3cca669a0be8609984d6ccd01902b27a59ea2a4
refs/heads/master
2022-12-15T12:02:22.564519
2020-09-18T10:15:29
2020-09-18T10:15:29
296,580,508
0
0
null
null
null
null
UTF-8
C++
false
false
917
cpp
12798handbal.cpp
#include<stdio.h> #include<iostream> using namespace std; int main() { int n, m; int a[110][110]; while(scanf("%d %d", &m, &n)== 2) { for(int i=0; i<m; i++) { for(int j=0; j<n; j++) { //cin>> a[i][j]; scanf("%d",&a[i][...
5731e1fccb18d6749b82cc7bdb93e5aed58afe31
7d232f51e2330a4f537c50ede9c6bc023d656fd4
/src/cpp/common/alts_util.cc
100e4c5cf49ab18a87867969ac8f92c765434b6d
[ "BSD-3-Clause", "MPL-2.0", "Apache-2.0" ]
permissive
grpc/grpc
6975af3ba6f07a6fe965b875a0c09abf18999a52
e4d598ab64aa54f1da78c6ed6133b741742d11d4
refs/heads/master
2023-08-31T01:10:22.666618
2023-08-30T22:35:17
2023-08-30T22:35:17
27,729,880
42,330
13,022
Apache-2.0
2023-09-14T21:54:19
2014-12-08T18:58:53
C++
UTF-8
C++
false
false
2,951
cc
alts_util.cc
// // // Copyright 2019 gRPC 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 agree...
4c5c424effcf16a427c9cd10a6b58ef9a295e020
c87f23b3dff4293de375307729dbd9b5a21db2ee
/src/utils/math_utils.cpp
bdece54a7dfe747af8059a8915873587c1744ef6
[ "Apache-2.0" ]
permissive
avi9700/sdd_vio
bceacab0473e4e94b9c6f208ebbefa85eba8c2fc
dcd8cbb3f140d4eb9569ede4e94c36cc818aa557
refs/heads/master
2023-03-27T12:00:32.429355
2021-03-22T17:22:30
2021-03-22T18:10:39
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,501
cpp
math_utils.cpp
/*------------------------------------------------------------- Copyright 2019 Wenxin Liu, Kartik Mohta, Giuseppe Loianno 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/l...
bb6637221fafee648f2c18a820a82da8c724c2a6
c8e133278da4d716b77ee9cfec9a817132b0531d
/057-4336-[中级]报文转换/main.cpp
2c93766197417d7428c11fe1077aae9679b5ca2f
[]
no_license
jiguang123/Huawei-OJ
c861ce5d349a665aa477f444f73b7f7697a7b2ac
af7e8acc6484e4f93f9eaf038823350adcae3bb7
refs/heads/master
2021-05-30T19:12:59.675270
2016-02-03T06:06:41
2016-02-03T06:06:41
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,713
cpp
main.cpp
#include <iostream> #include <string.h> #include "OJ.h" using namespace std; void testCase01() { char szInput[100] = {0x1D, 0x2B, 0x3C, 0x4D, 0x5E, 0x7E, 0x6F, 0x7D, 0x7E}; char szResult[100] = {0x7E, 0x1D, 0x2B, 0x3C, 0x4D, 0x5E, 0x7D, 0x5E, 0x6F, 0x7D, 0x5D, 0x7D, 0x5E, 0x7E}; char szOutput[100] = {0};...
87b49e2fb470df129001ee613aa4c25f0e48cfa5
4b154e683c575081533db5af1941ea66dc6dc9bf
/gazebo/physics/Joint.hh
059be8412a0fabaacc62479b6b993f88ab728910
[ "Apache-2.0" ]
permissive
jonbinney/gazebo_ros_wrapper
60e8ce882462ec43a3320ef1fd4f720618eb856a
1ee65727c79c6838cc940b0fe1a190b8e0b53e3b
refs/heads/indigo-devel
2021-01-22T21:13:42.477373
2014-06-09T22:12:07
2014-06-09T22:12:07
20,611,038
1
0
null
2014-06-09T22:12:07
2014-06-08T06:30:47
C++
UTF-8
C++
false
false
20,683
hh
Joint.hh
/* * Copyright (C) 2012-2014 Open Source Robotics Foundation * * 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...
7252ebedb62fee478e212e0afad3cf1909304cfa
539bd4489cc30c25a806b2de9816ca354ebb4abf
/include/data_structures/movement_set_table.hpp
1d536189156e78367f58f66aba32f013dc8db860
[ "LicenseRef-scancode-philippe-de-muyter" ]
permissive
kittobi1992/parkway
f4debf2826f73c5df55572a806d907f81ddb9f52
6501c96268acc1997894bb577cbca0e21c5e2ac8
refs/heads/master
2021-05-18T15:04:36.085704
2020-03-31T10:35:29
2020-03-31T10:35:29
251,291,502
0
0
null
2020-03-30T11:59:54
2020-03-30T11:59:53
null
UTF-8
C++
false
false
2,108
hpp
movement_set_table.hpp
#ifndef _MOVEMENT_SETS_HPP #define _MOVEMENT_SETS_HPP // ### MovementSets.hpp ### // // Copyright (C) 2004, Aleksandar Trifunovic, Imperial College London // // HISTORY: // // 30/11/2004: Last Modified // // ### #include "data_structures/dynamic_array.hpp" namespace parkway { namespace data_structures { struct move...
e3b787c3cd511506bd2110ea9d4bc00481b0bdfb
9e6592940d44df37f9ba748f19b6c36db3a9e300
/src/mouse_monitor_pc/src/mouse_monitor_pc/MouseMonitorDirectionWidget.cpp
fe589f33c5771307c7b4fbf035a5bddf14bca830
[]
no_license
Smart-Minotaur/nxt_minotaur
f6fdddb4feea956f0c528fb0d884ffbb5bc26b36
0ff5451002dad5066b325d619a738a3d8aaf2824
refs/heads/master
2021-03-12T21:38:15.556994
2014-10-11T15:12:38
2014-10-11T15:12:38
18,295,217
0
1
null
null
null
null
UTF-8
C++
false
false
1,324
cpp
MouseMonitorDirectionWidget.cpp
#include "mouse_monitor_pc/MouseMonitorDirectionWidget.hpp" #include <QPainter> // Direction grid params #define GRID_SCALE 20 namespace minotaur { void DirectionWidget::paintEvent(QPaintEvent *event) { QPainter painter(this); double gridWidth = this->width(); double gridHeight = th...
27dc17bdc614d09af765e6f3713fb9e6010ff0a2
01bcef56ade123623725ca78d233ac8653a91ece
/materialsystem/shaderapidx9/vertexshaderdx8.cpp
656d8d162921d11ef558b65e94274fc2c710c8f8
[ "LicenseRef-scancode-public-domain", "LicenseRef-scancode-unknown-license-reference" ]
permissive
SwagSoftware/Kisak-Strike
1085ba3c6003e622dac5ebc0c9424cb16ef58467
4c2fdc31432b4f5b911546c8c0d499a9cff68a85
refs/heads/master
2023-09-01T02:06:59.187775
2022-09-05T00:51:46
2022-09-05T00:51:46
266,676,410
921
123
null
2022-10-01T16:26:41
2020-05-25T03:41:35
C++
UTF-8
C++
false
false
148,003
cpp
vertexshaderdx8.cpp
//==== Copyright (c) 1996-2009, Valve Corporation, All rights reserved. =======// // // Vertex/Pixel Shaders // //===========================================================================// #define DISABLE_PROTECTED_THINGS #if ( defined(_WIN32) && !defined( _X360 ) ) #elif defined( POSIX ) && !defined( _PS3 ) #includ...
5d04328c4eaceda4414b12a89a110d64e6984ab0
eba81fdfc72e8e918fe702adb1df0d4e796147f5
/atcoder/abc190/a.cpp
f51e3a79b60f94f8df1916138137ebbeb38c8fe3
[]
no_license
martin-carrasco/online-judge-solutions
a3ed0d5a9159f89e7608f19979cfcdf96b540b64
1350640cd24b18cc519fbcb9c757d1b4ee4c2b91
refs/heads/master
2023-04-04T02:01:54.565264
2021-04-19T16:46:32
2021-04-19T16:46:32
287,781,283
0
0
null
null
null
null
UTF-8
C++
false
false
390
cpp
a.cpp
#include "bits/stdc++.h" using namespace std; using ll = long long; using ii = pair<int, int>; using vi = vector<int>; const int MAXN = 1e5; int main() { ios::sync_with_stdio(0); cin.tie(0); int a,b,c; cin >> a >> b >> c; if (c){ if (a >= b) cout << "Takahashi\n"; else cout << "Aoki\n"; } else { if (a ...
d93be4e2bbb0e5a3bd8bfe574cadaf3237893dba
57a3b6ad22335863ea6a99f82474b3a8b5be275b
/.vscode/multithreading/first.cpp
7f513daf1885b08a5ece33a0aa80129b622504e2
[]
no_license
devparkk01/cpp-tutorial
e57c337e3326a9b5624116a5b0b1c8f8b50d62b7
7f8e2d9c61db3b0d91e09b0384c6170053180ecc
refs/heads/master
2023-07-10T10:18:12.713566
2021-08-22T08:29:43
2021-08-22T08:29:43
283,144,062
0
0
null
null
null
null
UTF-8
C++
false
false
226
cpp
first.cpp
#include <iostream> #include <thread> using namespace std ; void fun(int a ){ while(a > 0) { cout << a << " " ; a-- ; } } int main() { thread t1(fun , 10) ; t1.join() ; return 0 ; }
32a3a01a6712906c49a6872538f3e5b431120768
5f8a47e9d86ff421f8dbd387fc8339746e6d2a84
/ClassSyntax.h
7ef008615404d64465d869ef50dec1f12dbcd3a4
[]
no_license
ht-evth/diplom_qt
fafbd9d44ddf90157564a76a435c1eb04f103e5a
40b389d880a8fecde7ca17baffcdc3bed2fefaa7
refs/heads/main
2023-05-03T17:06:36.321020
2021-06-07T16:44:05
2021-06-07T16:44:05
370,931,455
0
0
null
null
null
null
UTF-8
C++
false
false
553
h
ClassSyntax.h
#pragma once #include "BaseSyntax.h" #include "ClassScanner.h" #include "BaseMetricsTree.h" #include <list> class ClassSyntax : public BaseSyntax { private: std::list<int> keywords; public: ClassSyntax(); // конструктор класса ClassSyntax(std::string text); // конструктор с текстом файла QList<int...
475d3e9f4786a43e866cc9921557683f0667b763
8424d627b1e9367fe1c2bc6e6796791f8c4b7783
/251/test.cpp
e8072fd08c47051c0c5405ca3bee49ac3cb21592
[]
no_license
lld2006/my-c---practice-project
72d309f378dea1aaf16ffedf161962684ef25aef
c7e133c79528340f40f1a7192a89956bcc11dd00
refs/heads/master
2020-12-25T17:37:28.171658
2018-01-21T08:15:49
2018-01-21T08:15:49
2,707,121
0
0
null
null
null
null
UTF-8
C++
false
false
458
cpp
test.cpp
#include "../lib/tools.h" #include <cassert> #include <cmath> int main() { struct timer mytime; int limit = 100000000; for( int i = 1; i <= limit; ++i ){ int value = sqrt(i); assert(value * value <= i && (value+1)* (value+1) > i); } printf("%.6f\n", mytime.getTime()); for( int i ...
c5109ebb009cce387793d932db3d35ab07ed6996
220812076d08c1a3644d085830d30282900acb07
/Leetcode/61_RotateList.cpp
ec68b9e7ce6b0b293b1394bacde87f84ac98f1eb
[]
no_license
wangpin2288/leetcode
856bb571150517da56095bdc594bc470dbc17216
e4043612604fc7de24baf6ea65e11b7069467aff
refs/heads/master
2021-01-18T21:06:58.545718
2017-08-18T07:47:18
2017-08-18T07:47:18
100,553,815
0
0
null
null
null
null
UTF-8
C++
false
false
1,071
cpp
61_RotateList.cpp
/** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode(int x) : val(x), next(NULL) {} * }; */ class Solution { public: ListNode* rotateRight(ListNode* head, int k) { if(!head || !(head->next)) return head; if(k<=0) return head; ...
c776aa3099edfade3d287eb6207831f1f4163bb1
1258ffbe081f47a6de191f1bc3c42f70108f9c24
/ril/rilproxy/mtk-rilproxy/framework/base/RfxDebugInfo.cpp
ca7bad0dae5b0e8c21c4aef360303f7e6044f4d7
[ "Apache-2.0" ]
permissive
flyforhigh/vendor_mediatek_proprietary_hardware
4aa2496e4f67e934594baf451c774904edfdf108
a592a52719cb43d2364e9c4d641f68ff6442d959
refs/heads/master
2023-03-18T01:53:10.358980
2018-08-12T16:32:31
2018-08-12T16:32:31
null
0
0
null
null
null
null
UTF-8
C++
false
false
6,889
cpp
RfxDebugInfo.cpp
/* Copyright Statement: * * This software/firmware and related documentation ("MediaTek Software") are * protected under relevant copyright laws. The information contained herein * is confidential and proprietary to MediaTek Inc. and/or its licensors. * Without the prior written permission of MediaTek inc. and/or ...
ef6fe53edbe2eeacaadfaddf058a099e6e1c5a70
639134bf240c09adf85917a614922b2ea038cab4
/SmtpAuthDlg.h
c4f1e90c582f9636044e9ed4e1b87332bef669e8
[ "MIT" ]
permissive
bigmacd/trapreceiver
12ff4a51d928d9f63148923d3ab6588042e9b473
a9d9f3912968a173f2e16825da769c806bc955da
refs/heads/master
2022-12-05T20:59:55.799658
2021-03-25T14:23:58
2021-03-25T14:23:58
101,453,151
5
1
null
null
null
null
UTF-8
C++
false
false
1,385
h
SmtpAuthDlg.h
#if !defined(AFX_SMTPAUTHDLG_H__1BFE7B14_96AD_11D5_876C_00A0247B6F8F__INCLUDED_) #define AFX_SMTPAUTHDLG_H__1BFE7B14_96AD_11D5_876C_00A0247B6F8F__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // SmtpAuthDlg.h : header file // /////////////////////////////////////////////////////////////////////...
2256211673c783de94af30e1de20a5859fd84844
03af0af756f8685c89e44e62f0d463ffa31bddcc
/MOUSE/initmouse.CPP
d52b55956840364a9690800b2e6f99bf1189f1e6
[]
no_license
anirudhtomer/UndergradCAssignments
adf139f0307a2fc58ff15a3015e22a135d8b3db1
067fd9780cc267cfba03c058b99e2f836461518a
refs/heads/master
2021-01-24T16:09:36.415135
2016-03-22T10:31:39
2016-03-22T10:31:39
20,181,485
2
0
null
null
null
null
UTF-8
C++
false
false
628
cpp
initmouse.CPP
//PROGRAM TO SHOW THE INITIALISATION OF A MOUSE #include<iostream.h> #include<graphics.h> #include<dos.h> #include<conio.h> union REGS i,o; int main() { int gd = DETECT,gm; clrscr(); initgraph(&gd,&gm,"c:\\tc\\bgi"); i.x.ax=0; //put AX=0 & CALL int 33h ...it initializes mouse int86(0x33,&i,...
a6e6bc1a2931247bc9d6867dbfc7f77f5fe984ed
00607c26ae8c56b3fef1c5c1ba1d0a8cab42f4a9
/TestSuite/core/TemplateProcessor.cpp
3dc1654040d43c9808a035efea17fefe5c2533bd
[]
no_license
villagereach/mScan
5f1fac674b4c19e4501cae8fb54600bff6ad1e26
a2c1a1673ab65720f35678ecec604153671e3bac
refs/heads/master
2016-09-06T08:49:55.891145
2012-06-19T22:01:32
2012-06-19T22:01:32
1,897,412
3
1
null
null
null
null
UTF-8
C++
false
false
2,809
cpp
TemplateProcessor.cpp
#include "TemplateProcessor.h" #include <json/json.h> #include <iostream> #include <fstream> using namespace std; bool parseJsonFromFile(const char* filePath, Json::Value& myRoot) { ifstream JSONin; Json::Reader reader; JSONin.open(filePath, ifstream::in); bool parse_successful = reader.parse( JSONin, myRoot );...
a26033c48ff881bfa30c82abdb74611ca5abbb72
3d61b19a86902b6e343be7c2f550786f347945fb
/ExpressionParser2/Main.cpp
b771cb86053798798f97947df4e82a50ab072976
[]
no_license
AlexanderBrandborg/SimpleParser
23613856a4c67ee16d56f8c90f8fa7f986d16295
51c046cfcd78f302b7b851c1a6c75a16d501d5cc
refs/heads/master
2021-09-07T16:53:00.059182
2018-02-26T10:38:01
2018-02-26T10:38:01
null
0
0
null
null
null
null
UTF-8
C++
false
false
369
cpp
Main.cpp
#include "Parser.h" #include "Visitor.h" #include <iostream> int main(){ auto root = Parser("+4*(2-((2+2)/4))"); auto pv = PrintVisitor(); root.m_root->accept(pv); std::cout << "\n"; auto doot = ExpressionNode(*static_cast<ExpressionNode*>(root.m_root)); root = Parser("2 + 2"); root.m_root->accept(pv); st...
158fad1731c5d2e63c95f2cbfd118ab72d9378cb
b8f63fce36e049a5261e504942a70a0a4d303656
/section2.1/sort3.cpp
488f9b3a2e4d075768239af678f0f7d00d615953
[]
no_license
daerduoCarey/usaco
904261d4ceb58d55dd7c893f9fbf34cc98f2c60b
0a80527e1bb03aef0ee743b1722772b5cf86e2e9
refs/heads/master
2020-04-30T05:55:59.254616
2013-08-06T05:36:20
2013-08-06T05:36:20
null
0
0
null
null
null
null
UTF-8
C++
false
false
749
cpp
sort3.cpp
/*ID: 5120309052 PROG: sort3 LANG: C++ */ #include<iostream> #include<cstdio> #include<algorithm> using namespace std; int n,a[2001]={0},b[2001]={0},c[5][5]={0}; int min1(int x,int y) {if(x<y) return x; return y;} int max1(int x,int y) {if(x>y) return x; return y;} int main() { freopen("sort3.in","r",stdin); f...
8aa7cd9b431b9af75607e1268042bb780a433009
451a19113f4eab676a23862ea201195b3cf08527
/src/Operation.cpp
8448a33497df234bce73c859ac58de1839f92f16
[]
no_license
daviddoria/PatchMatchImageStack
49a66ff9a571f13f417bcdb95625bfacb3da0359
28f667b26b548d56f99bfe79a3d6800f78a54955
refs/heads/master
2021-01-01T20:48:30.956886
2012-05-26T11:07:23
2012-05-26T11:07:23
4,435,912
3
0
null
null
null
null
UTF-8
C++
false
false
4,582
cpp
Operation.cpp
#include "main.h" #include "Operation.h" // Include your operation's source file or header here. // It should must define a subclass of Operation (in Operation.h). // You might want to look in Arithmetic.cpp/Arithmetic.h for some examples. // Also check main.h for functions available to parse input, handle errors, e...
00093ff32ea9dbff636c1bd90fcfe99a188cd181
95d91f6c306197fb7fa0b6d0b1a6e15da3d17b00
/demos/dox/index/shape_hash_init.cpp
a932b6b9069a72b3aa38ed368f84d41c7e7a0956
[ "BSD-3-Clause" ]
permissive
seqan/seqan
e11ebd62fdd38e64664717f137f042b5c6580445
5efe02f4ac37156152ec8ec5512ce74a163d6675
refs/heads/main
2023-08-07T03:25:45.143396
2023-07-06T13:30:29
2023-07-06T13:37:19
6,383,869
438
201
NOASSERTION
2023-09-11T10:21:06
2012-10-25T08:02:15
C++
UTF-8
C++
false
false
734
cpp
shape_hash_init.cpp
#include <seqan/sequence.h> #include <seqan/index.h> using namespace seqan2; int main() { DnaString text = "AAAACACAGTTTGA"; Shape<Dna, UngappedShape<3> > myShape; // loop using hash() and hashNext() starts at position 1 std::cout << hash(myShape, begin(text)) << '\t'; for (unsigned i = 1; i < le...
94630de8aaa34bc7939aed0030ebf9f9753e1b28
8df189c582de5baa553e4b07f9dcc7cb1f09306d
/src/menu/player/ClickArrow.cpp
89ac9086b61363aaab99085895beda882433f861
[]
no_license
Spaciwoork/Bomberman
31c5b56ce13a8a3749d9f0f3d74c45aef04e01e2
81f1b622479f0894d9f06a83f972638259521c2b
refs/heads/master
2020-04-05T07:48:20.887676
2018-11-08T10:26:29
2018-11-08T10:26:29
156,688,961
1
0
null
null
null
null
UTF-8
C++
false
false
1,275
cpp
ClickArrow.cpp
/* ** EPITECH PROJECT, 2018 ** cpp ** File description: ** */ #include "EventPlayer.hpp" void Player::ChangeColorLeft(int nbr, irr::video::IVideoDriver *driver) { cout << "LEFT" << endl; if (nbr > 1 ) nbr = nbr - 1; if (nbr == 3) nbr = nbr - 1; if (nbr >= 5) nbr = nbr - 2; cout << nbr << endl; listBombe...
4bb32eb92313f2d8e13a7850917bf29f8c5b6d82
0f4c0d2074741a28ec841f726886186908449e20
/working-plan/database-manager.cpp
89269947a6844403c068aaae96c0af933a76611e
[ "MIT" ]
permissive
lgsilva3087/working-plan
8130d714cdcbc38b6ecc16e3115a8af9b6700e11
cd79f45dc23ac997c9a48d23c3a373461a11ae58
refs/heads/master
2023-04-30T11:32:22.371247
2021-05-17T22:55:56
2021-05-17T22:55:56
368,341,304
0
0
null
null
null
null
UTF-8
C++
false
false
3,445
cpp
database-manager.cpp
/** @author MSc. Luis Guillermo Silva Rojas @date 15/11/17 */ #include "database-manager.h" #include <QApplication> DatabaseManager* DatabaseManager::m_instance = nullptr; DatabaseManager::DatabaseManager(QObject *parent) : QObject(parent) { createDatabaseConnection(""); createStructure(); } Databas...
d29b2b760db8dba69d743e62b670dad21dbcd569
189f52bf5454e724d5acc97a2fa000ea54d0e102
/ras/fluidisedBed/0.97/p_rgh
b461b58c61db8850fffd02e7d3b337ddf7e3a096
[]
no_license
pyotr777/openfoam_samples
5399721dd2ef57545ffce68215d09c49ebfe749d
79c70ac5795decff086dd16637d2d063fde6ed0d
refs/heads/master
2021-01-12T16:52:18.126648
2016-11-05T08:30:29
2016-11-05T08:30:29
71,456,654
0
0
null
null
null
null
UTF-8
C++
false
false
47,013
p_rgh
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: v1606+ | ...
cceb461567e136670b12ad347f1d90965fdc768a
3e63a3c3221d457545196791cb0be4fa219322b7
/mfcBasic/mfcBasic/UserManager.h
bf432e046a1091aeac06ba0e563a84bd1b6c633b
[]
no_license
ljy0812/mfcBasic
7ed750529da0898c11360762f47ad69fe284ff4d
8d80dbc97ef33447bc557d9498ddafe076a2f352
refs/heads/master
2020-06-30T09:26:15.203366
2019-08-20T06:50:38
2019-08-20T06:50:38
200,790,217
0
0
null
2019-08-20T06:50:40
2019-08-06T06:29:26
C++
UTF-8
C++
false
false
543
h
UserManager.h
#pragma once #include <map> #include <memory> #include "User.h" class UserManager { public: UserManager(); virtual ~UserManager() = default; void AssignMemoryAndInsertUserInformation(std::shared_ptr<User> newUser); bool UpdateUserInformation(const int& userId, std::shared_ptr<User> newUser); bool DeleteUser(co...
5c91f2ed5563d24971364c558a8639b9794f4443
fbe1985e6435454edf76f4312b5b3abe44b31c25
/headers/pawns.h
cd24a99e9dcf45de6d858c8dbf6891c0df7e0d4f
[]
no_license
Szafa99/Pacman
1f2b4c4bb650a8681f5dfb733e0c5cdcea10aab9
b2a73c98add0d978fd993d478a136df1775c754c
refs/heads/master
2023-08-11T09:24:44.700073
2021-09-18T18:16:05
2021-09-18T18:16:05
264,143,762
1
0
null
null
null
null
UTF-8
C++
false
false
2,491
h
pawns.h
#ifndef pawns #define pawns #include "sBoard.h" #include "sDjikstra.h" class sPlayer { friend class sDjikstra; friend class sBoard; friend void drawenemy(sf::RenderWindow& window, std::vector<class sEnemy>& enemys, bool pacmanmode); private: void collect_points(const sBoard&); sf:...
41085c148679e877f8bcfe15585715fa7de627ee
bee7f0f76a7c037c3d51b8e21b24368e6e34d7b0
/src/leetcode/49.cpp
a02d7ef4bff226eb086891bbf3f336a46147bbca
[]
no_license
bianjie0618/heading-for-offer-with-sword
42103688fd4f0aa62ddfb212b26ef0beab2cb721
ce98591cfc80769cff866c4bab8699b599aa8532
refs/heads/master
2023-09-01T11:41:27.781850
2021-09-12T07:21:06
2021-09-12T07:21:06
394,120,441
0
0
null
null
null
null
UTF-8
C++
false
false
847
cpp
49.cpp
// 剑指 Offer 49. 丑数 - 解决方案 #include <vector> #include <iostream> using namespace std; class Solution { public: int nthUglyNumber(int n) { if (n < 1) { return 0; } vector<int> arr(n); arr[0] = 1; int a_2 = 0; int b_3 = 0; int c_5 = 0; for(int...
bd53456d3ec5cdabeecce705f8830057c9381a97
85aa5ba35bb23ce5ab2f2710df3fe9cc70152bd2
/y2.cpp
89b2265ab3d64d8d927fe64d611fdf0358d320b3
[]
no_license
thisis2/autonomic-stoopkid
77dc294e5d88d867f3b4ae504074056973909c45
1ba5f15312c4f059511d7c2c70bdb1431c6b0f04
refs/heads/master
2021-08-19T06:02:38.205498
2017-07-19T01:53:17
2017-07-19T01:53:17
111,960,299
0
0
null
null
null
null
UTF-8
C++
false
false
3,345
cpp
y2.cpp
#include <iostream> #include <functional> using namespace std; /* References: "A Lecture on the 'Why' of 'Y'" by Matthias Felleisen http://www.ps.uni-sb.de/courses/sem-prog97/material/YYWorks.ps https://yongweiwu.wordpress.com/2014/12/14/y-combinator-and-cplusplus/#fn-39-10 http://mvanier.livejournal.com/2897.html ...
fba43e15d1de4263c3b0f5ede1137fead8a13835
4fd379b4ea5317f0e62b97ce1dcab4c569e7bbfe
/lib/core/context.cpp
3602957ad9b05eb5e7b26a7c4c59f3d90cc3dc2b
[]
no_license
sabel83/preshell
d60d1efc30f766ac3ccee0dee6bf62aba621df46
e56915e0d44b9718f7b0313f4382ffabfa6c1bb5
refs/heads/master
2021-06-06T05:26:03.784187
2016-01-01T11:29:49
2016-01-01T11:29:49
8,957,804
10
3
null
2020-10-04T16:45:46
2013-03-22T18:02:36
C++
UTF-8
C++
false
false
3,538
cpp
context.cpp
// Preshell - Interactive C/C++ preprocessor shell // Copyright (C) 2013, Abel Sinkovics (abel@sinkovics.hu) // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License...
0059cdf4a1130d24cf581b9696b270db77bd0f37
59791634e73675a1dbe6bcded428efdcffdfd09c
/form_example/bank/user_close.cpp
7a43eae5f08a1c5f8dd3a3e94eeac6138a334f08
[]
no_license
liuzhanchun/qt_project
f8ceece25966a641d45b5d16727dd009cd1d221d
4ab76ca6d318531a2b5ded21754d3c17b7abe51e
refs/heads/master
2020-11-23T19:26:58.856730
2019-12-17T01:57:17
2019-12-17T01:57:17
227,787,964
1
0
null
null
null
null
GB18030
C++
false
false
5,398
cpp
user_close.cpp
#include "user_close.h" #include "ui_user_close.h" #include "widget.h" #include "connect.h" #include "deal_user.h" #include <QMessageBox> #include <QProgressDialog> extern const QString IP; user_close::user_close(QWidget *parent) : QDialog(parent), ui(new Ui::user_close) { blocksize = 0; ui->setupUi(t...
57c511e4a71a667b321711cd28c8d74f3eee4eb8
785df77400157c058a934069298568e47950e40b
/TnbHydrostatic/TnbLib/Hydrostatic/Entities/ArmCurve/rArmCurve/Primitives/FSLq/HydStatic_rArmCurve_FSLq.cxx
3ff3f701ad18511e0fe3049a482008da56d362ab
[]
no_license
amir5200fx/Tonb
cb108de09bf59c5c7e139435e0be008a888d99d5
ed679923dc4b2e69b12ffe621fc5a6c8e3652465
refs/heads/master
2023-08-31T08:59:00.366903
2023-08-31T07:42:24
2023-08-31T07:42:24
230,028,961
9
3
null
2023-07-20T16:53:31
2019-12-25T02:29:32
C++
UTF-8
C++
false
false
41
cxx
HydStatic_rArmCurve_FSLq.cxx
#include <HydStatic_rArmCurve_FSLq.hxx>
bff2a9dff4ffb44a8e7fe132c01c52095da6d855
d598a270ee1b563fa23d2ea418368df8504558bf
/HW2-5/HW2-5.cpp
3ebc6eae5dadbcae9e4c991ecc8ce5025b213eb8
[]
no_license
daheeKang/cp2016890002
6faf1e11bbf225fc6c925c89a4b1ba382bc1156e
69137b65571f91ac1fa24df9d1431ddeaf55488e
refs/heads/master
2020-03-29T08:57:41.123090
2018-12-11T07:40:30
2018-12-11T07:40:30
149,241,688
0
0
null
null
null
null
UHC
C++
false
false
340
cpp
HW2-5.cpp
#include <stdio.h> int main(){ //5. 1부터 100사이의 숫자(정수) 중에서 3의 공배수(3,6,9,12,..)들의 총합을 출력하는 프로그램을 작성하시오.(do-while문 사용) int count=1, sum=0; do { if(count%3==0) sum = sum+count; count= count+1; } while (count<=100); printf("sum is %d\n",sum); return 0; }
ce20e269f94cf59015f148640d38e64eb0252737
3c864f26b12eab06fcca0b464f1c76cffadd2eab
/test_serial3.cc
7c54d88477ddac8ce5b0bfb2cfaaef341c2e70ed
[]
no_license
kel85uk/GMRF_PETSc
96a04049bb3d8e923bfc9a4d6fc29c81de89d919
9ce62bd3cd0dbd47d2d480b3898175d88da34c2e
refs/heads/master
2021-01-17T05:28:20.464554
2014-08-05T09:20:33
2014-08-05T09:20:33
null
0
0
null
null
null
null
UTF-8
C++
false
false
5,333
cc
test_serial3.cc
/* Test Program for PDE routines */ static char help[] = "Solves a linear system in parallel with KSP.\n\ Input parameters include:\n\ -random_exact_sol : use a random exact solution vector\n\ -view_exact_sol : write exact solution vector to stdout\n\ -m <mesh_x> : number of mesh points in x-direction\n\...
cbaef584872839f50a351b43d2fabfbf2ea85115
457ac613645eea86ab2157667548bd83d27dafa0
/src/Avalanche/TransferableOutput.cpp
2f43c2de432b12eaff9e679ce5e6dc8dc6d5baf5
[ "MIT" ]
permissive
EvanJRichard/wallet-core
6359c43229555a5e7773af4e9ed6588f637ca585
c228cf400827856fac055a42f842f0b1a37fc9ee
refs/heads/master
2023-06-06T01:44:26.961430
2021-03-24T00:30:57
2021-03-24T00:30:57
322,102,019
0
0
MIT
2021-04-27T20:00:47
2020-12-16T21:06:44
C++
UTF-8
C++
false
false
3,083
cpp
TransferableOutput.cpp
// Copyright © 2017-2020 Trust Wallet. // // This file is part of Trust. The full Trust copyright notice, including // terms governing use, modification, and redistribution, is contained in the // file LICENSE at the root of the source code distribution tree. #include "TransferableOutput.h" #include "../BinaryCoding....
5cc5e259ce11c3f50ef5f5dc255f4fce3efa9222
afd81b80658ece2ce7c1534e19cb5ea4fb892d86
/day-12-single_num_in_sorted_arr.cpp
8f4297b25bfec273b4aec4a65f5c7179eb1b2d92
[]
no_license
farhan787/leetcode-may-2020-challenge
683e757f8bf113d70dbad5ffed45f18bab9fd202
9d1ccd29467221b24dd6eaa90fdedb8dccff6d83
refs/heads/master
2022-07-11T23:51:10.869610
2020-05-22T13:47:11
2020-05-22T13:47:11
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,725
cpp
day-12-single_num_in_sorted_arr.cpp
// Problem link: https://leetcode.com/problems/single-element-in-a-sorted-array #include <iostream> #include <vector> using namespace std; // Time complexity => O(log n); where n = size of nums // Space complexity => O(1) int singleNonDuplicate(vector<int>& nums) { int numsLen = (int)nums.size(); int left = ...
974cf7cfdff34e9e5225ae44f71493af66df398d
60b87ac529ca7c89296d8689c6e46834df9c5e4f
/editor/source/gui/assetswidget/AssetsWidget.h
e187f3756f80b36ed4e5376a4f63be6b255e107b
[]
no_license
AlexeyKulbitsky/Shadow
af5115d55625ad97f86237e5cbf2a8ca3b81124a
78454e3e94fd949edd36c55cbf672aa963cfc25d
refs/heads/master
2021-01-17T18:10:55.296304
2019-03-27T14:50:32
2019-03-27T14:50:32
70,987,774
5
1
null
2018-10-12T15:56:13
2016-10-15T12:55:28
C
UTF-8
C++
false
false
1,271
h
AssetsWidget.h
#ifndef SHADOW_EDITOR_ASSETS_WIDGET_INCLUDE #define SHADOW_EDITOR_ASSETS_WIDGET_INCLUDE #include "../materialview/MaterialEditor.h" #include "../textureview/TextureWidget.h" //////////////////////////////////////////////////////////////////////////////////////////// class FileTreeItem : public sh::gui::TreeItem { pu...
adc316e8238d8101df9f4d611753c036ee997fcc
eab69a6740491bd24772a465b05e223549624254
/src/GreedyStrategy.cpp
8027a7202fb9abfd9b63696ea151904e364b8157
[]
no_license
precht/battleship
c2681e916a62bd3a8305499ca77f4e8b415eb8f3
c9152c3faf49e374d0bfab2390d87810730aee20
refs/heads/master
2021-01-20T10:13:33.015245
2017-05-05T04:23:39
2017-05-05T04:23:39
90,335,810
0
0
null
null
null
null
UTF-8
C++
false
false
872
cpp
GreedyStrategy.cpp
#include "GreedyStrategy.h" #include <random> #include <algorithm> using std::unique_ptr; using std::reference_wrapper; using std::vector; using std::pair; using std::unordered_set; int battleship::GreedyStrategy::chooseShip(unique_ptr<vector<int>> ships_lengths) { if (ships_lengths->empty()) throw Batt...
6aabe729e50c342e67d4be8e496e6949b5258d71
b40e76c5813d52f0dbaa906f74b064d6cda5605a
/Module 1/The New Line.cpp
50652d529d439e48edd68967e49341f628cdbda7
[]
no_license
nimishh7/ForkCPP-GFG
c958604e1254ef9cc70c392287c444bc08ed016d
d050c024af481d735b5e63104da2f9a26f19d274
refs/heads/main
2023-07-16T10:59:32.473341
2021-08-11T13:51:42
2021-08-11T13:51:42
394,598,891
0
1
null
2021-08-11T13:50:38
2021-08-10T09:38:35
C++
UTF-8
C++
false
false
370
cpp
The New Line.cpp
nclude<iostream> using namespace std; void printNewLine(); // } Driver Code Ends //User function Template for C++ // Function to print each word in new line void printNewLine(){ // Your code here cout << "Geeks\nfor\nGeeks\n" << endl; } // { Driver Code Starts. int main(){ //function call ...
9dd2b1dc8800dbf1ebab65b55f8a233114191ce7
232701b518a1a4b9dff59264c90592c60525276d
/fileGenerator.cpp
1508c4802791d094a184137ea16c410925206b5e
[]
no_license
nixalon/MockCarSensor
fdb1c55be1ad999057695c6cf5e2908d08d0b171
e39962db8d26756610a73595877a1aa251fff443
refs/heads/main
2023-08-12T14:24:08.179848
2021-10-11T21:11:44
2021-10-11T21:11:44
null
0
0
null
null
null
null
UTF-8
C++
false
false
595
cpp
fileGenerator.cpp
#include <iostream> #include <fstream> #include <string> #include <unistd.h> using namespace std; int main() { int i; int x; for (x = 1; x < 11; x++) { ofstream outfile(string("Sensors") + to_string(x) + ".txt"); sleep(1); for (i = 1; i < 237; i++) { if (x == 1){ ...
3d9a36356cbbf998ec83f7352fc5a7fa6267d1c8
9d684073707de7b6c1eff7c2f36ef53dd137655d
/qcom-caf/msm8994/display/displayengine/libs/core/display_primary.cpp
ac44fe33337bc2cd78e2524529f66ebcf8ff11eb
[]
no_license
segfault2k/stuff
a8f1e5f4a9b023ba3c20b25e28b618dd0d7177b2
591a8cd382791c970fc75a41428be76bef98e375
refs/heads/master
2023-06-27T21:14:22.355725
2021-08-04T22:33:55
2021-08-04T22:33:55
382,970,191
0
2
null
null
null
null
UTF-8
C++
false
false
2,550
cpp
display_primary.cpp
/* * Copyright (c) 2014 - 2015, The Linux Foundation. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions are met: * * Redistributions of source code must retain the above copyright notice, this list of * ...
cb3e60177ed1be88b9357edd94938b2b0a241d15
e0742d56a940f2bf428d90628ed74d5476d9d6e7
/macros.hpp
0864cae7f31d36e9efba111b3be7f94929cc8991
[]
no_license
pb82/neve
66cfb0cd933a6f23b62d96b1e6f63067850f7a46
85e09045aafb8149367024922e654582343e8cd2
refs/heads/master
2020-03-18T10:33:22.630645
2018-07-15T20:02:53
2018-07-15T20:02:53
134,619,395
1
0
null
null
null
null
UTF-8
C++
false
false
779
hpp
macros.hpp
#ifndef MACROS_H #define MACROS_H #define LUA_USERDATA_SELF "__NV_SELF" #define DISABLE_FN(TABLE, FN) \ lua_getglobal(L, TABLE); \ lua_pushstring(L, FN); \ lua_pushnil(L); \ lua_settable(L, -3); \ lua_pop(L, 1) #define SET_THIS \ lua_pushlightuserdata(L, this); \ lua_setglobal(L, ...
32d727262d31943dd00ce3558e52fbe62c133fe6
3c47e67d7caa872c81d8c772a5817c958faef14b
/Source/RealityOne/Private/VRCharacter.cpp
670851348d3fd44198b0bf80a506f268ea9bd436
[]
no_license
hannojg/TheReality---Experience-AR-in-VR
7a7f091798cd08dcb2dc62760c4110cf718c9d6d
acd47dd02a4aa02ad83f0a63e898eef4f4b0b7c3
refs/heads/master
2020-04-18T00:40:00.179579
2019-05-08T12:48:02
2019-05-08T12:48:02
167,086,070
0
0
null
null
null
null
UTF-8
C++
false
false
16,638
cpp
VRCharacter.cpp
#include "VRCharacter.h" #include "Camera/CameraComponent.h" #include "Components/StaticMeshComponent.h" #include "Components/CapsuleComponent.h" #include "Engine/World.h" #include "Engine/Engine.h" #include "GameFramework/Actor.h" #include "Camera/PlayerCameraManager.h" #include "Components/PostProcessComponent.h" #in...
605bb38a279d0cba4dc069e0e1df31345eaba423
284f2e73ce5c4a3274167993fafcdfc18d2d0564
/rehearsalsign.h
549b7b8396d29ae76eae616012d09445233470cd
[]
no_license
powertab/ptparser
c9b466307e54ca64389749eccdecb79c0c7f2057
66dd75676b938f4f238ced4a7d219669e276f162
refs/heads/master
2022-11-12T15:31:55.742576
2020-06-25T21:35:35
2020-06-25T21:35:35
275,019,279
0
0
null
2020-06-25T21:32:27
2020-06-25T21:32:27
null
UTF-8
C++
false
false
4,152
h
rehearsalsign.h
///////////////////////////////////////////////////////////////////////////// // Name: rehearsalsign.h // Purpose: Stores and renders Rehearsal Sign symbols // Author: Brad Larsen // Modified by: // Created: Dec 10, 2004 // RCS-ID: // Copyright: (c) Brad L...
665c0b5d133d66bdbdd023434837831f15fd9edf
e878ef7c8bf94a4cf7acfe7d65f46be170843b21
/test/ut/core/any_type_ut.cpp
d2f30a7bd5f4de2a8288cc6d6d9aacb902dfe41f
[ "BSL-1.0" ]
permissive
weizhengwei/di
d0624ddc52388042080dcba6a2af32f0f2068f1f
b054393b151f6b920db9fff7ddc58c61cb635adf
refs/heads/master
2021-05-27T04:45:33.103809
2014-07-22T20:42:23
2014-07-22T20:42:23
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,729
cpp
any_type_ut.cpp
// // Copyright (c) 2014 Krzysztof Jusiak (krzysztof at jusiak dot net) // // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // #include "boost/di/core/any_type.hpp" #include <boost/test/unit_test.hpp> #include <boos...
a5d17c9b2e3c129054bd5f86314e7f6860c4ab2a
762913d505f5e7a11e512fcaf0dbc889e90b8e7b
/source/Usul/Errors/Check.h
4e73578a55952eb8c7b891fa86f11fe4320835ab
[ "MIT" ]
permissive
perryiv/usul
48d3adfa1499220bcd4da6cc9ecb4e4c12a07350
150b875c195e214b965c3de6040022d6fb7e7bb3
refs/heads/master
2023-06-22T19:11:35.631219
2023-06-15T18:37:29
2023-06-15T18:37:29
166,458,176
0
0
null
null
null
null
UTF-8
C++
false
false
3,400
h
Check.h
/////////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2019, Perry L Miller IV // All rights reserved. // MIT License: https://opensource.org/licenses/mit-license.html // /////////////////////////////////////////////////////////////////////////////// ///////////////////...
f6b796207d8f52637fddd3a5beda1be2409a084c
ac39c50332b09a5adba3a8e35a59fd717d2d7654
/test_suite/src/json_filter_tests.cpp
a99d394a67e0093e6d0193262f7c5912b014d4c5
[ "BSL-1.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
darcyg/jsoncons
d9c2b20fa2573ba898f714c6b507ef4bf075368f
e1e5f65aa13d8133758c40f2aa3ccb66b196b5ae
refs/heads/master
2021-01-20T19:13:44.481930
2016-06-23T02:43:09
2016-06-23T02:43:09
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,378
cpp
json_filter_tests.cpp
// Copyright 2013 Daniel Parker // Distributed under Boost license #ifdef __linux__ #define BOOST_TEST_DYN_LINK #endif #include <boost/test/unit_test.hpp> #include <sstream> #include <vector> #include <utility> #include <ctime> #include <new> #include "jsoncons/json_serializer.hpp" #include "jsoncons/json_filter.hpp"...
75f79995dd493c5d55d442fd57b73797bc7abcbb
998b3d23f59b22255e232272d4796ef3e78cd11a
/lib/pulse_shaper_20181120.cpp
08a21b39381ea7688a1d3213b13dde2e139c7bf6
[]
no_license
netxpto/QuantumMiningSMC
cc0ac6a9fe6471948762a1517c296a609a6e1254
95f8f042a378776299ac4a89d74f9a60f33ed66d
refs/heads/master
2020-04-29T23:29:50.404948
2019-03-19T09:44:33
2019-03-19T09:44:33
176,478,347
1
0
null
null
null
null
UTF-8
C++
false
false
5,425
cpp
pulse_shaper_20181120.cpp
# include "../include/pulse_shaper_20181120.h" using namespace std; void raisedCosine(vector<t_real> &impulseResponse, int impulseResponseLength, double rollOffFactor, double samplingPeriod, double symbolPeriod, bool passiveFilterMode); void rootRaisedCosine(vector<t_real> &impulseResponse, int impulseResponseLength,...
2248de54b5fe19a739db19ef38b675a226eb895e
454d691ae36f28bdaa6f56fa410793b4b011a099
/EntropyCalculate/interface/libdsl/DTime.h
e7145c1f4acfca100759cf48cfc84d9cce43ca6c
[]
no_license
shenjunHZ/EntropyCalculate
3753f3e3bb34106312b92872ff21023cd7ba55c3
b8d0c8e7bab562b638536831b6477fb1cc3030ba
refs/heads/master
2020-03-28T14:23:59.247480
2019-07-23T08:57:56
2019-07-23T08:57:56
148,483,789
0
0
null
null
null
null
GB18030
C++
false
false
3,316
h
DTime.h
/* Copyright (c) 2011, 浙江大华技术股份有限公司, All rights reserved. * 2011-09 * * DTime.h : 时间处理函数 */ #ifndef INCLUDED_LIBDSL_DTIME_H #define INCLUDED_LIBDSL_DTIME_H #include <libdsl/dslbase.h> #include <time.h> BEGIN_NAMESPACE_DSL ///////////////////////////////////////////////// /* 注意:请小心 Y2038 问题,DTime支持转换的时间有一个范围, *...
4860e642acdf6a23a7cfa6f026e30eee49bbb854
f4adb303459fa4da5e4b6bb55f1d2848e0ddf396
/source/Synthesizer/Synth/Oscillator.cpp
71cfe920077d377ced3f0a2beb3274b07e1c0f28
[ "MIT", "LGPL-2.0-or-later", "GPL-3.0-only" ]
permissive
Illation/synthesizer
9d81af54188f88812f4df1018d51b1360a3db3f7
da77d55c1c69829bbad76d0c14b9c56a5261b642
refs/heads/master
2020-05-17T05:30:58.827574
2019-06-30T23:04:40
2019-06-30T23:04:40
183,531,655
4
0
MIT
2019-06-30T23:04:41
2019-04-26T01:01:08
C++
UTF-8
C++
false
false
4,039
cpp
Oscillator.cpp
#include "stdafx.h" #include "Oscillator.h" //============================================== // E_PatternType //============================================== //--------------------------------- // GetPatternName // // Converts a pattern type into a string // std::string GetPatternName(E_PatternType const patternTyp...
6de5bd5256c08107e7e47895c1e81fbdb18daef9
ef1852b7554aca0c4aaec3a539443c58fc52f79d
/src/datanode/disk_manager.h
8625eef1c01533ce1e8dc7034e57998123aba203
[]
no_license
troywang/ecfs
cbfff97440bc350b10905a331150b90ab8af7b4d
f703d3107e2e91ba5d9e582a77e7049b988cafc2
refs/heads/master
2016-09-15T20:16:04.712475
2014-12-18T12:45:22
2014-12-18T12:45:22
28,183,111
2
0
null
null
null
null
UTF-8
C++
false
false
1,514
h
disk_manager.h
/* * diskmanager.h * * Created on: May 8, 2014 * Author: wanghuan */ #ifndef DISKMANAGER_H_ #define DISKMANAGER_H_ #include "ecfs/src/common/common.h" #include "ecfs/src/datanode/managerbase.h" #include "ecfs/src/datanode/chunk_manager.h" class DiskManager; class ChunkManager; class DiskEntry { public: ...
398013003ff1d109405f39bd0d21dde395d71c69
128f60539702d33ee7fb7666a2b88a2889665142
/CiericGameEngine/src/world/Scene.h
fe7960df4c25d76dbaa79b55293d13a42bd84536
[]
no_license
ookami125/CiericGameEngine
40b8235bda2e9b2f4f974aff19bf6df71b1eafac
5510e6daeb71eb3664206718f59d304a34526442
refs/heads/master
2021-01-18T21:07:57.507391
2017-04-02T19:45:05
2017-04-02T19:45:05
87,010,001
0
0
null
null
null
null
UTF-8
C++
false
false
428
h
Scene.h
#pragma once #include "Entity.h" #include "..\Graphics.h" #include "..\graphics\Camera.h" namespace GameEngine::World { class Scene { private: Graphics::Camera* m_Camera; std::vector<Entity*> m_Entities; public: Scene(); Scene(const mat4& projectionMatrix); ~Scene(); void Add(Entity* entity); virtua...
1c4925cf8079bc07b4913b2e0a3e5680458665b3
8094438b91d71c9a538742182415caf66c444c74
/Software_for_EnggDrawing/test/src/translate.cpp
0798e51f5fdaa51a4932b550be4d3abf0e29c06b
[]
no_license
Shashwat-Banchhor/Design_Projects
a1c79fd59756e8e3911666b98beb7e6a7bbfa95e
a9fb429d3f34f01db1b75eccfa53e0bd65285801
refs/heads/master
2022-02-23T21:57:24.188332
2019-08-14T15:43:25
2019-08-14T15:43:25
120,937,695
0
0
null
null
null
null
UTF-8
C++
false
false
5,816
cpp
translate.cpp
#include <iostream> #include <stdio.h> #include "function.h" #include "global.h" #include <string.h> #include <vector> #include <cmath> // std::vector<std::vector<float> > translate(threed_object threed) // { // int minx=threed.vertex[0][0]; // int miny=threed.vertex[1][1]; // int minz=three...
41490ad8cf8b26605c56e810050f97300e3f519c
2298cf6c691925733b254368de09e1428c754fcf
/UserTools/MCPropertiesToTree/MCPropertiesToTree.cpp
a4f599be15120a8db699e294caf8a8fc78a95c4b
[ "LicenseRef-scancode-warranty-disclaimer", "MIT" ]
permissive
ANNIEsoft/ToolAnalysis
a7d6ea18e22ba0770aa3dbb96654e871027cd945
0ba4a6ad1c1f7051579b1dea638f7e6fe8a58a30
refs/heads/Application
2023-08-16T18:18:13.419107
2023-07-25T21:12:45
2023-07-25T21:51:38
113,612,944
7
42
NOASSERTION
2023-09-13T07:01:16
2017-12-08T20:07:35
C++
UTF-8
C++
false
false
33,298
cpp
MCPropertiesToTree.cpp
#include "MCPropertiesToTree.h" MCPropertiesToTree::MCPropertiesToTree():Tool(){} bool MCPropertiesToTree::Initialise(std::string configfile, DataModel &data){ if(configfile!="") m_variables.Initialise(configfile); m_data= &data; //Default variable settings outfile_name = "mcproperties.root"; save_histog...
b304d06664195a9449360d191277be87cf893544
b0e6f616ec3030d7dbb5fa4d9c35e3c2c084c6eb
/src/test/cpp/cfs/osal/thread/WorkerThreadTest.cpp
df0fcdcdfba678188e2c134ddeb7cd06817eba77
[ "Apache-2.0", "LGPL-3.0-only", "CC-BY-4.0", "GPL-3.0-only", "CC-BY-NC-SA-4.0", "LGPL-2.0-or-later", "BSD-2-Clause" ]
permissive
doevelopper/cfs-osal
0557ea9138f3a034d5eac06040d23d3c8dde1c73
cd5a8801251e750a9c50718bf15b5e394ced20d0
refs/heads/master
2023-01-28T02:11:25.707544
2019-06-22T22:52:40
2019-06-22T22:52:40
132,522,764
0
1
Apache-2.0
2023-01-22T00:28:22
2018-05-07T22:24:52
Python
UTF-8
C++
false
false
787
cpp
WorkerThreadTest.cpp
#include <cfs/osal/thread/WorkerThreadTest.hpp> using namespace cfs::osal::thread::test; using namespace cfs::osal::log::test; log4cxx::LoggerPtr WorkerThreadTest::logger = log4cxx::Logger::getLogger(std::string("cfs.osal.test.WorkerThreadTest")); WorkerThreadTest::WorkerThreadTest() { LOG4CXX_TRACE(logger, ...
def23b18fe2473e370c59a07eb702f06393026c0
de045fd9b38291c67ec9adc31712c8bd17f369a6
/HW2/LLWS/llsr_main.cpp
57620c1944d3fe444e4edfa94a1d25c5a0083275
[]
no_license
jamesdavis5589/cs202
8b081ea201c6ee867582cc5e76452c8672884e11
88d47e898b2b6df7383bba916a663d94185830e6
refs/heads/master
2020-12-11T17:48:57.932095
2020-02-18T02:15:56
2020-02-18T02:15:56
233,916,620
0
0
null
null
null
null
UTF-8
C++
false
false
1,585
cpp
llsr_main.cpp
/* James Davis January 30th CS202 HW2 - LLSR - llsr_main.cpp This program will test out stuff on class ValueC */ //LLSR stands for: Linked List with Shared_ptr<T> #include "value.h" #include <iostream> using std::cin; using std::cout; using std::endl; int main() { cout << "Creating class template, then added some b...
7ff773a27fd28a66ae604f86535426f50bacb2eb
0cf009d18eac6f53aa61d8feaf4720606222a795
/week16/src/rangeSumQueryMutable.cpp
64a1416b200bf1882f4f0997892f561615e191b6
[]
no_license
xujj25/leetcode-HW
49586fc12777cc0c8f26eef9a319d69f36600f8b
ad7a49d63353da4749171b75b28adb9d5eaf29eb
refs/heads/master
2021-01-23T09:46:26.329702
2018-02-03T08:08:37
2018-02-03T08:08:37
102,600,392
0
0
null
null
null
null
UTF-8
C++
false
false
3,419
cpp
rangeSumQueryMutable.cpp
#include <iostream> #include <vector> using namespace std; void printVec(vector<int>& vec) { for (auto& e: vec) { cout << e << " "; } cout << endl; } class NumArray { private: vector<int> segTree; int size; void pushUp(int root) { segTree[root] = segTree[root * 2 + 1] + segTre...
e3c10e6851b45bb18e29b15237c7de29c498bb03
436623ee85c9d9444d700b56f2729b12b9f2c659
/src/eepp/system/functionstring.cpp
4d9929301a01fc10e5f630a87814b29f16a70f69
[ "MIT" ]
permissive
SpartanJ/eepp
0bd271b33058ef119f5c34460ed94e44df882a25
9f64a2149f3a0842ced34b8b981ffe3a8efc6d13
refs/heads/develop
2023-09-01T01:17:30.155540
2023-08-27T20:58:19
2023-08-27T20:58:19
125,767,856
341
27
MIT
2023-04-01T20:10:26
2018-03-18T21:11:21
C++
UTF-8
C++
false
false
2,805
cpp
functionstring.cpp
#include <eepp/core/debug.hpp> #include <eepp/core/string.hpp> #include <eepp/system/functionstring.hpp> namespace EE { namespace System { FunctionString FunctionString::parse( const std::string& function ) { size_t posFuncStart = function.find_first_of( '(' ); if ( posFuncStart == std::string::npos ) return Func...
4269c938bde4c47feb0821b7c3932f8fdb59413e
e1d1893a69112181c89a802d5dda4432268f2e4e
/UVA_Solved_Problem/UVA Problem.........591.cpp
4c49d5e8e02058164a5d5050fd1d32d7fa0e4566
[]
no_license
NayemAhmed02/Competitive_Programming
609cfbbf7ba7f3e252470c8f7160fcdb91fd97ce
27f550e01ffefd8089a7edc5cc65d96ddbaa9f26
refs/heads/master
2023-02-16T03:43:46.019024
2021-01-02T18:55:42
2021-01-02T18:55:42
326,239,091
0
0
null
null
null
null
UTF-8
C++
false
false
641
cpp
UVA Problem.........591.cpp
#include<iostream> using namespace std; int main() { int testcase,height[60],average,output,p=1; while(cin >> testcase) { if(testcase == 0) break; average = 0; for(int i=0; i<testcase; i++) { cin >> height[i]; average = average + height[i]; ...
3b7fc0e18576e734d846e93b8273428b50505fd8
89b7ffc5c56331a189501cda035648e2b2016d74
/LiteBrowser/app/src/main/cpp/helper/LocalRect.h
96ba4cb9261d75ad81db86068fe42a4bef8df9b2
[ "MIT" ]
permissive
jjbheda/trylearn
60343fdb74dd597f0a49286de4ec1f0f57a06faa
74dd5c6c977f8d867d6aa360b84bc98cb82f480c
refs/heads/master
2020-03-22T17:49:17.391764
2018-03-30T16:25:32
2018-03-30T16:25:32
null
0
0
null
null
null
null
UTF-8
C++
false
false
398
h
LocalRect.h
// // Created by furture on 2018/3/15. // #ifndef LITEBROWSER_LOCALRECT_H #define LITEBROWSER_LOCALRECT_H #include <jni.h> class LocalRect { public: LocalRect(jobject rect); ~LocalRect(); int left(); int top(); int right(); int bottom(); private: jobject _thisRect; jfieldID getField...
51d3f9e45e53c277c1b433a10fb407d7572088f8
c857705f993939f6d97a0fbe5b5607771943189c
/Hashed/Data-Structures/2D-BIT.cpp
c9bb89b3c00ee6cb6943688e9e14df6cd77db9a7
[]
no_license
MarcosJLR/CP-Library
966a23afffc75a71ff5b416a8da842ce93e49440
69dab485a63e479d7d09420cae377b6d43256952
refs/heads/master
2023-03-26T10:40:20.545988
2021-03-27T23:00:40
2021-03-27T23:00:40
199,491,894
1
0
null
null
null
null
UTF-8
C++
false
false
423
cpp
2D-BIT.cpp
963 ll BIT[MAXR][MAXC]; 054 void updBIT(int r, int c, ll val){ 808 r++, c++; 567 for(; r < MAXR; r += r&-r) 524 for(int cc = c; cc < MAXC; cc += cc&-cc) 229 BIT[r][cc] += val; 267 } 866 ll sumBIT(int r, int c){ 511 r++, c++; 640 ll ret = 0; 740 for(; r; r -= r&-r) 774 for...