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
f7d9e7f2ff8a263ea2eff8fb57c4539f3b084600
be2372d829a46cb29b450eb95ec19cd92e0bbe1b
/moStepperlibA.cpp
9c254a33a33a60fe05a37c2700f98e07b5d2ff30
[]
no_license
amckeeota/moStepperlibA
d069c34f30061aab2aecb708cd4aee53a5b1e344
0e6f72bee3e7075b98edece3b0ee6e1d289faf08
refs/heads/master
2016-08-12T05:51:22.197438
2015-12-17T08:08:24
2015-12-17T08:08:24
48,160,720
0
0
null
null
null
null
UTF-8
C++
false
false
1,245
cpp
moStepperlibA.cpp
#include "Arduino.h" #include "moStepperlib.h" #include "String.h" moStepper::moStepper(char assA,char assA_bar,char assB,char assB_bar){ A=assA; A_bar = assA_bar; B = assB; B_bar = assB_bar; pinMode(A,OUTPUT); pinMode(B,OUTPUT); pinMode(A_bar,OUTPUT); pinMode(B_bar,OUTPUT); a = amp; b_bar = amp + divisi...
d07a5009b7956674f4b05c82fea82fbd5a690025
818d205ced79f21481280f886de234f58e5f49cf
/SpiralMatrix/spiral_matrix_test.cpp
9a3839c1b0b5e7246c8d22c2296f9ede231b024a
[]
no_license
babypuma/leetcode
6cafe2495b1b77701589be7d44e2c42e467cba18
0ac08c56623d5990d7fde45d0cc962f5926c6b64
refs/heads/master
2022-06-15T17:03:53.515967
2022-05-31T16:24:30
2022-05-31T16:24:30
25,457,134
0
0
null
null
null
null
UTF-8
C++
false
false
3,146
cpp
spiral_matrix_test.cpp
/* * Author : Jeremy Zhao * Email : jqzhao@live.com * Date : 2014/11/16 * * Source : https://oj.leetcode.com/problems/spiral-matrix/ * Problem: Spiral Matrix * */ #include <gtest/gtest.h> #include <set> #include "spiral_matrix.h" class SolutionTest : public ::testing::Test { protected: virtual v...
cc406beef879bb6f16d67e64d0e0a75787b0d77a
21416342a748cfcb926a0f299b1a7354626a8a29
/src/lib/net/ClientSocket.cpp
92dcaf44f6e0e4e8125bb4ca82ae6752881bf40f
[ "MIT" ]
permissive
Cheney0712/SysMonitor
0d23eaa5434c3c28b0603e1e85f4a25682fe5917
fdaac5eacf28b62739c4e050e27abd1fdbfd18c4
refs/heads/master
2022-04-09T07:03:20.290918
2020-04-07T14:12:00
2020-04-07T14:12:00
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,357
cpp
ClientSocket.cpp
#include "ClientSocket.h" #ifdef __WINDOWS__ #include<winsock2.h> #else //__LINUX__ #include <unistd.h> #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> #endif ClientSocket::ClientSocket() { m_sock = socket(AF_INET, SOCK_STREAM, 0); } ClientSocket::~ClientSocket() {} int ClientSocket::Conn...
637170e929051604e7eb5f1ecd2afddf2a5f146a
dd50d1a5a3c7e96e83e75f68c7a940f91275f206
/source/tnn/device/opencl/acc/opencl_upsample_layer_acc.cc
ddd55d0f61d9d015aca04f8104c31a5f32812979
[ "BSD-3-Clause" ]
permissive
bluaxe/TNN
2bfdecc85ac4684e82032a86703eacaed5419ad6
cafdb8792dc779236ec06dbeb65710073d27ebcd
refs/heads/master
2023-03-19T02:55:39.007321
2021-03-04T02:59:18
2021-03-04T02:59:18
272,395,487
3
0
NOASSERTION
2020-12-30T08:10:31
2020-06-15T09:23:31
C++
UTF-8
C++
false
false
6,045
cc
opencl_upsample_layer_acc.cc
// Tencent is pleased to support the open source community by making TNN available. // // Copyright (C) 2020 THL A29 Limited, a Tencent company. All rights reserved. // // Licensed under the BSD 3-Clause License (the "License"); you may not use this file except // in compliance with the License. You may obtain a copy o...
5b43b1d15069ea00647e8a9f1632499d64c7cca7
2b0ff7f7529350a00a34de9050d3404be6d588a0
/026_ๅˆ†ๅ‰ฒ่ฆ–็ช—_Bar/03_OpenGL ็ฐกๅ–ฎๆฉŸๅ™จๆ‰‹่‡‚ๅŠ ไธŠBar/OpenGL ็ฐกๅ–ฎๆฉŸๅ™จๆ‰‹่‡‚ๅŠ ไธŠBar2/ๅ…ญๆกฟ/Bar.cpp
0c5a61d7d7c6b8402c5583b56d2013ced24a364a
[]
no_license
isliulin/jashliao_VC
6b234b427469fb191884df2def0b47c4948b3187
5310f52b1276379b267acab4b609a9467f43d8cb
refs/heads/master
2023-05-13T09:28:49.756293
2021-06-08T13:40:23
2021-06-08T13:40:23
null
0
0
null
null
null
null
BIG5
C++
false
false
2,814
cpp
Bar.cpp
// Bar.cpp : implementation file // #include "stdafx.h" #include "GLbase.h" #include "Bar.h" #include "MainFrm.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif CMainFrame *CMainFrame1; ///////////////////////////////////////////////////////////////////////////// // CBa...
64432777dcefa3475b4cc0798e3c7706cffee35c
0e453b30c164a7b6f528afcde8d00df3a5805020
/InputManager.h
53e00bb2a2c81690f802fc9f89edc6e51602adea
[]
no_license
ethragur/CG_2015
6064f732217ccc28a0525e4ba2ab743a11303f2b
176608720e74031034dd8f459fd6b57cc0533d50
refs/heads/master
2021-01-15T15:32:29.592404
2016-08-21T18:01:07
2016-08-21T18:01:07
33,717,225
1
0
null
null
null
null
UTF-8
C++
false
false
536
h
InputManager.h
#ifndef INPUTMANAGER_H #define INPUTMANAGER_H class InputManager { private: //vars static bool FORWARD; static bool BACK; static bool RIGHT; static bool LEFT; static bool MODE1; public: //func static void keyboard(unsigned char key, int x, int y); static void keyboardUp(unsigned char key, i...
b3514a95ec67623dfcc1101d7b24d40edb88b2fe
0b55957db9f5b13c526a82a310bc3b94bf746db9
/src/unit_tests/InterfaceDialogTest/InterfaceDialogTest.cpp
257c993814683528c214798d25166c4f94772fa1
[]
no_license
fwbuilder/fwbuilder
ba8cdb6f2b68ca733a7e7a0b2f1c3720ee32019d
8013c00e1f29350d96926768290e8c7f91cda424
refs/heads/master
2023-08-06T06:07:30.933612
2023-07-22T22:56:24
2023-07-22T22:56:24
22,487,992
263
96
null
2023-05-20T12:20:59
2014-07-31T22:52:40
C++
UTF-8
C++
false
false
6,806
cpp
InterfaceDialogTest.cpp
/* Firewall Builder Copyright (C) 2010 NetCitadel, LLC Author: Roman Bovsunivskiy a2k0001@gmail.com $Id: InterfaceDialogTestTest.cpp 2723 2010-03-16 17:32:18Z a2k $ This program is free software which we release under the GNU General Public License. You may r...
3c31d48cc4e65796040c47052ee2c4d0a215df47
f7310e96ab2cdbd4f8f98581db7d707e5304a320
/src/httpd/page_handler.hpp
3494edc74730e7319a2f044d6ea05af70c9faec0
[]
no_license
qtplatz/acqiris-httpd
72a014a118cc7f3a958942334bbddd3543983fa8
2d22db449628c48198db26f2339c5f1af41edc49
refs/heads/master
2020-03-24T22:39:07.417931
2018-08-08T01:53:23
2018-08-08T01:53:23
143,096,162
0
0
null
null
null
null
UTF-8
C++
false
false
2,653
hpp
page_handler.hpp
// -*- C++ -*- /************************************************************************** ** Copyright (C) 2010-2018 Toshinobu Hondo, Ph.D. ** Copyright (C) 2013-2018 MS-Cheminformatics LLC * ** Contact: toshi.hondo@scienceliaison.com ** ** Commercial Usage ** ** Licensees holding valid ScienceLiaison commercial licen...
68f0a1d4e88202f218fd55af9e08122dfce3a531
607161f98685a5f164aee88d9f11085dbcc9d041
/Integer2English/gtestcase.cpp
b7b366688ae0518e601616f214f1e6106e275a5a
[]
no_license
juehan/Integer2English
88a8ff9ea1fd62ff30b310e20bbed63de93b3a89
c1bb42a112943b3a215590e4d42d2ef276fcd1b8
refs/heads/master
2021-01-10T22:05:42.395133
2013-01-07T02:45:44
2013-01-07T02:45:44
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,291
cpp
gtestcase.cpp
/***************************************************************************** * gtestcase.cpp: gtest unittest * Copyright (C) 2013 John (Juhan) Lee * Authors: John (Juhan) Lee<to.johnny.lee@gmail.com> * Description: googletest unittest of Int2Eng Class * Date: 05. Jan. 2013 **********************************...
f36d518c4ba3201f56ab4fd1921f34c10659f7f4
1a390314e2dc92575dbf2541e2990bf1269b06e6
/Baekjoon/3986.cpp
8cd2beb5b8f15541e768f24ccb3fa0153a145374
[ "MIT" ]
permissive
Twinparadox/AlgorithmProblem
c27ca6b48cdaf256ef25bc7b2fd6c233b2da4df1
0190d17555306600cfd439ad5d02a77e663c9a4e
refs/heads/master
2021-01-11T06:33:47.760303
2020-11-08T00:43:24
2020-11-08T00:43:24
69,226,206
0
0
null
null
null
null
UTF-8
C++
false
false
467
cpp
3986.cpp
#include <iostream> #include <stack> #include <string> using namespace std; int main(void) { int N, ans = 0; cin >> N; while (N--) { string str; stack<char> st; cin >> str; int len = str.length(); for (int i = 0; i < len; i++) { char c = str[i]; if (st.size() > (len - i)) break; if (st.si...
ee72f8d04e831bd526566d3cccd0bdac65900d32
aa01d4bf21833cc30ce93304cd0a843d61e1bd3d
/main.cpp
2685a0450659b1a69301a637ab4e5596def5db4f
[]
no_license
bakwc/ImageRobot
126e1ebf763a7796b24ec9171daa7a4ff4c68b62
31c09830ba377836522865e94605f9d4c1077bd8
refs/heads/master
2021-01-13T02:07:13.760748
2012-12-07T06:35:00
2012-12-07T06:35:00
null
0
0
null
null
null
null
UTF-8
C++
false
false
351
cpp
main.cpp
#include <iostream> #include "application.h" void myMsgHandler(QtMsgType messageType, const char *msg) { if (messageType == QtDebugMsg) { std::cout << msg << "\n"; } } int main(int argc, char *argv[]) { qInstallMsgHandler(myMsgHandler); TApplication app(argc, argv); app.Init(); app.Sta...
ae56305defbfa14ee74660b8f0866af8820b394a
a7764174fb0351ea666faa9f3b5dfe304390a011
/drv/Hatch/Hatch_SequenceNodeOfSequenceOfLine_0.cxx
598e24ab40155b703576434c4ab9a3dd0f0bc05f
[]
no_license
uel-dataexchange/Opencascade_uel
f7123943e9d8124f4fa67579e3cd3f85cfe52d91
06ec93d238d3e3ea2881ff44ba8c21cf870435cd
refs/heads/master
2022-11-16T07:40:30.837854
2020-07-08T01:56:37
2020-07-08T01:56:37
276,290,778
0
0
null
null
null
null
UTF-8
C++
false
false
1,518
cxx
Hatch_SequenceNodeOfSequenceOfLine_0.cxx
// This file is generated by WOK (CPPExt). // Please do not edit this file; modify original file instead. // The copyright and license terms as defined for the original file apply to // this header file considered to be the "object code" form of the original source. #include <Hatch_SequenceNodeOfSequenceOfLine.hxx> ...
9aad3f053942af9f3cd68c1c37b785d3dc2e23f4
32fcc41cc1b59a46932158e5062c8c37f88cd989
/third_party/rapidyaml/rapidyaml/examples/add_subdirectory/main.cpp
bcaf6cb688933d1439bf9c89fc1fafdf7aa6ee5b
[ "Apache-2.0", "MIT" ]
permissive
google/jsonnet
4cb224b7836e215df4bac809ad1ffed628a4d3d7
e605e4673294d2bf43eb8351fb8f5d9ba26d5e68
refs/heads/master
2023-08-28T16:27:58.576444
2023-08-14T12:02:45
2023-08-14T12:02:45
22,527,161
6,616
546
Apache-2.0
2023-08-14T12:02:46
2014-08-01T20:29:12
Jsonnet
UTF-8
C++
false
false
648
cpp
main.cpp
#include <ryml_std.hpp> #include <ryml.hpp> #include <c4/format.hpp> #include <stdexcept> #if C4_CPP < 17 #error "must be C++17" #endif template <class... Args> void err(c4::csubstr fmt, Args const& ...args) { throw std::runtime_error(c4::formatrs<std::string>(fmt, args...)); } void check(ryml::Tree const& t, ...
95598b893e0c97708f82b09fe8bb1a97544020cc
fb135356aa27d9728ed5829860eecea4b5033910
/example/ugly/line_num.cc
64c0bc590df3fd6a04cb897a19d9482d8a2fc7a3
[ "BSL-1.0" ]
permissive
sabel83/metatest
c0394ee40c5bb1330405ff70612da6b964d235d0
6bcb54ca77538b8b691fef9c67971609d01b70ee
refs/heads/master
2021-01-19T06:18:17.301607
2015-05-12T14:43:00
2015-05-12T14:43:00
8,935,277
13
1
null
null
null
null
UTF-8
C++
false
false
1,269
cc
line_num.cc
// Copyright Endre Tamas SAJO (baja@inf.elte.hu) 2011. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_2_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #include <boost/mpl/vector.hpp> #include <boost/mpl/size.hpp> #include <boost/mpl/equal.hpp> #i...
84dae46f7cfe5e96db879103c319ab5b9513e470
679849fa6b4f7bbf657f9c6f7783c8fe78d359cd
/2010.7.15_poker/Poker.h
ece00deaa33af7216a9f12f91b872f44cd9d6a21
[]
no_license
peter517/MFCGames
7132506de59129f1aa3516b9ac2976ad66fff901
e55f34fa95e6839446684d20e094aac6552e66d4
refs/heads/master
2016-09-10T19:04:05.852942
2013-05-18T02:33:12
2013-05-18T02:33:12
null
0
0
null
null
null
null
UTF-8
C++
false
false
280
h
Poker.h
//Poker.h #ifndef _POKER_H_ #define _POKER_H_ #include <iostream> #include "time.h" using namespace std; struct Card{ int a[5]; int num; }; class Poker { public: Poker::Poker(); void Deal(); void Play(); private: int m_oringal[10]; Card A; Card B; }; #endif
0ed624df13d98bfe2b430a0589d56572b363d38a
b1cac9f6480d99c01d2a6dfff482122f0569dff8
/src/rendering/shader/ShadowDepthShader.cpp
aa396a693bfb45321158b20a7c12ec459f4108a5
[]
no_license
drumber-1/3DEngine
186cd90d6e6c0087f3aaf5dc0609fae5ac6076d1
b0f8e0ea42e8a4e3be0fa7965a4850c7a8284627
refs/heads/master
2020-05-20T05:55:27.840188
2016-07-18T18:23:16
2016-07-18T18:23:16
50,782,214
0
0
null
null
null
null
UTF-8
C++
false
false
546
cpp
ShadowDepthShader.cpp
#include "ShadowDepthShader.hpp" ShadowDepthShader::ShadowDepthShader() : Shader("shadow_depth_vert.glsl", "shadow_depth_frag.glsl") { addUniform("worldToProjectionMatrix"); addUniform("modelToWorldMatrix"); } void ShadowDepthShader::setCamera(const BaseCameraComponent& camera) { setUniform("worldToProjectionMatri...
f8c3bcb29130f382a5bc700164cedd60fbf3050a
5cd24f65c050a99a02e3ca4936236cfee6c310ca
/lib/periodic_time_tag_cc_impl.cc
3fa8671f88e7334065a532579517256395bef57f
[]
no_license
ant-uni-bremen/gr-tacmac
509297f12833269513883b54ba5335eb3e4251b2
ff2a08e8184dfaf4893f3e485a26da97c27ba3be
refs/heads/main
2023-06-21T19:32:45.633012
2023-01-11T11:31:01
2023-01-11T11:31:01
250,314,414
0
0
null
2023-06-13T09:23:08
2020-03-26T16:38:43
C++
UTF-8
C++
false
false
4,432
cc
periodic_time_tag_cc_impl.cc
/* -*- c++ -*- */ /* * Copyright 2020 Johannes Demel. * * SPDX-License-Identifier: GPL-3.0-or-later */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include "periodic_time_tag_cc_impl.h" #include <gnuradio/io_signature.h> #include <fmt/core.h> namespace gr { namespace tacmac { periodic_time_tag_cc::sptr peri...
6bdfcd3aec47921571fabb1e2c1b80dd3817341a
39099d7ae2047ad2b8ea5b038b8f812fca7b29d9
/144/HW14_6/UniqueList/myoutofrangeexception.cpp
70c81314ef6f12127008173efd78c18cc10f8666
[]
no_license
danilaml/DZ
58c8b6392895ff09fa3bf43324974d86f313a745
961a4273ef80565d96ccf846f9c8c975157f0fd7
refs/heads/master
2021-01-01T17:21:04.748663
2015-05-07T19:02:03
2015-05-07T19:02:03
17,184,352
0
0
null
null
null
null
UTF-8
C++
false
false
121
cpp
myoutofrangeexception.cpp
#include "myoutofrangeexception.h" MyOutOfRangeException::MyOutOfRangeException(const char *msg) : MyException(msg) { }
919d7abf54f3263e25b37421062faba4040b242b
71baf84f88c01fae99df3f0b2b8022ea49034cf5
/socket_pcap.cpp
609d313cba376a5e54841f967905850052711af4
[]
no_license
qq431169079/utrack
7526ec9822b3f0744969f371adf59455bbf4275b
2ba95d9ab1b153454edce726f804c00e196e658d
refs/heads/master
2020-04-01T17:28:04.886991
2014-08-18T16:32:07
2014-08-18T16:32:07
null
0
0
null
null
null
null
UTF-8
C++
false
false
15,537
cpp
socket_pcap.cpp
/* utrack is a very small an efficient BitTorrent tracker Copyright (C) 2013-2014 Arvid Norberg 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, or (at...
6968274b7e4a97eff927cdb94212fc3a3c6077a1
38f12635aea1716c7bc8fc32b412011762447254
/lib_cpp/TestClass.h
898933e9e5093bc1ebc971635cc919590f8ab93a
[]
no_license
9cvele3/Interoperability
290c6fac24950a0d33833b2faceb3234f911e9fb
95b359cedfd164f7e4289babeefafb3dd9bfa7d6
refs/heads/master
2020-03-07T07:09:24.491656
2018-04-12T20:12:47
2018-04-12T20:12:47
127,341,316
0
0
null
null
null
null
UTF-8
C++
false
false
276
h
TestClass.h
#pragma once #ifdef LIB_CPP_EXPORTS #define LIB_CPP_API __declspec(dllexport) #else #define LIB_CPP_API __declspec(dllimport) #endif class TestClass { public: LIB_CPP_API TestClass(); LIB_CPP_API ~TestClass(); LIB_CPP_API int getNumPublic(); private: int getNum(); };
6d4056566dc5b51466af7503d4a1894ad70edf2f
1d6237b288645be23bc1c6eafe8a99e0b128953e
/src/GManager.cpp
490ef9551b2a41ae8e02c73c5e3ea65f14bca210
[]
no_license
CaterTsai/C_12Giraffe
1c64114e819f043342bc41e1245a8468c368fd3c
87592f855f8c8c50d215b44da1b878f9f5aaf8b8
refs/heads/master
2021-01-10T18:14:19.608560
2016-01-30T06:55:29
2016-01-30T06:55:29
49,572,286
0
0
null
null
null
null
UTF-8
C++
false
false
312
cpp
GManager.cpp
#include "GManager.h" //-------------------------------------------------------------- void GManager::setup() { } //-------------------------------------------------------------- void GManager::update(float fDelta) { } //-------------------------------------------------------------- void GManager::draw() { }
89b0ca3f7cb103fcf9b336ecaa92492219e659f4
7ddcc11b7d1ae4ee2d91c4498b3da51627a71151
/c++/05_containers_and_strings/iterators.cpp
154f705570ee1c0bd2b0b202cd06c7cf784fe9bd
[]
no_license
MarkMckessock/ICS4U-Misc
edcf7b41eb018062234de20ce8cce4afbada4054
f5189942abc3e2a4db106a94e959d3b244639efb
refs/heads/master
2021-09-07T20:53:35.833343
2018-03-01T00:21:48
2018-03-01T00:21:48
119,929,091
0
0
null
null
null
null
UTF-8
C++
false
false
1,022
cpp
iterators.cpp
#include <vector> #include <iostream> #include <string> int main(){ struct test { std::string name; }; std::vector<int> list; std::vector<test> list_2; list.push_back(4); list.push_back(5); list.push_back(6); test mark = {"Tom"}; test jack = {"Randy"}; test greg = {"paul"}; list_2.push_back(...
a79bb862ddf78f22c296d70a30044745cb837bf2
9f03dc94e947cbc05f4468b6a4aa1d7150962542
/player.h
02f88882ec919f7491c52ee415b3b629e5b9a9c9
[]
no_license
JuliaNortman/Project
0f1196b4214b5af2d3e51cbeb74a55e9e768ca08
3908344045fd6b3214096d4f4079ae9b2f08c0f8
refs/heads/master
2020-04-05T16:16:33.325960
2019-05-27T06:37:08
2019-05-27T06:37:08
157,004,972
1
0
null
null
null
null
UTF-8
C++
false
false
1,091
h
player.h
#pragma once #include "board.h" #include <QWidget> #include <QApplication> #include <QTime> class Board; struct Move { int from; int to; }; class Player :public QObject { Q_OBJECT protected: Board *board; Color color; bool canMove = true;/*information about whether it is Player`s turn to move...
03b3224431d51533cc8b2a7030cdceded8b57108
cfe409a4843c1a1acc0a78fac69e5b3d5901c46c
/lib/test_so.cpp
efa7f2e18a03a00d7d4e5540b2bf7b5d282b7d20
[]
no_license
yanggh/Radar
fc7b8c6a32d59cd83e357e408ed7ce5138b10258
b5afe7c1da0191445dbb1fff3deecb7b7a21d5d1
refs/heads/master
2020-03-29T08:20:55.053292
2018-10-17T08:20:22
2018-10-17T08:20:22
149,705,795
0
0
null
null
null
null
UTF-8
C++
false
false
539
cpp
test_so.cpp
#include <stdio.h> #include "test_so.h" using namespace std; int add(int* out1_len, void* out1, int in1_len, void* in1, int in2_len, void* in2, int in3_len, void* in3, int in4_len, void* in4, int in5_len, void* in5) { printf("asdfasdfasdfasdfasdfsadadd add\n"); return in1_len +in2_len; } int sub(int* out1_l...
4ef458b5ab7ffa16f16bb706fa56247bde3fc784
91d4a4a04e504277f1951b9d698a870419075ee5
/src/clientSM.h
7f4d301d0dc2c709f725f98a6939f6ddca2496f7
[ "Apache-2.0" ]
permissive
WinterChen/MyFramework
f7df280ef14f2759fdb04d98675cb25706150fad
de2e9c5892fd824901261c5adc084a2e3a0cf880
refs/heads/master
2021-01-11T16:05:05.007538
2019-01-23T10:01:22
2019-01-23T10:01:22
80,001,150
1
3
null
null
null
null
UTF-8
C++
false
false
721
h
clientSM.h
#ifndef CLIENTSM_H #define CLIENTSM_H //#include "request.h" #include "callbackObj.h" #include "netConnection.h" //#include "myframework.pb.h" //#include "myframework.pb.helper.h" //using namespace google::protobuf;//::Message class ClientSM : public CallbackObj { public: ClientSM(NetConnection *conn); ~Cli...
1429f5474afc576e62e1e8295d4c70a148a1382e
07306d96ba61d744cb54293d75ed2e9a09228916
/External/NaturalMotion/common/XMD/src/XMD/IkChain.cpp
d80b1e3b91efe67bde47d1a1c388f7109e4c02c8
[]
no_license
D34Dspy/warz-client
e57783a7c8adab1654f347f389c1dace35b81158
5262ea65e0baaf3f37ffaede5f41c9b7eafee7c1
refs/heads/master
2023-03-17T00:56:46.602407
2015-12-20T16:43:00
2015-12-20T16:43:00
null
0
0
null
null
null
null
UTF-8
C++
false
false
14,681
cpp
IkChain.cpp
//---------------------------------------------------------------------------------------------------------------------- /// \file RenderLayer.cpp /// \note (C) Copyright 2003-2005 Robert Bateman. All rights reserved. //----------------------------------------------------------------------------------------------------...
2b1f836b5b26741ccd758c2836e2fba5c75962d5
8bd1f2f63b7858c5006316a479b27b30eea903b9
/BattleTanks/Source/BattleTanks/Public/TankTrack.h
a3b9272fa96c2a12ec884e14d3ce60d35ff88867
[]
no_license
SagaXXI/BattleTank
9c44f1ef966921569a35c07f9c147d9a98be3f5e
b4aadfdd4839caf562a797e18905f2775040b525
refs/heads/main
2023-08-17T03:39:25.177347
2021-07-30T05:26:25
2021-07-30T05:26:25
363,938,690
0
0
null
null
null
null
UTF-8
C++
false
false
749
h
TankTrack.h
// Fill out your copyright notice in the Description page of Project Settings. #pragma once #include "CoreMinimal.h" #include "Components/StaticMeshComponent.h" #include "TankTrack.generated.h" /** * */ UCLASS(meta=(BlueprintSpawnableComponent)) class BATTLETANKS_API UTankTrack : public UStaticMeshComponent { GE...
71b8df78b9b9b616180240cb0b0ae8afe9141267
ab0a8234e443a6aa152b9f7b135a1e2560e9db33
/Server/CGSF/LogicLayer/MOGame/chat-server/chathandler.h
62970ff57dccdb5b6040368a9ef7fd540a7c892e
[]
no_license
zetarus/Americano
71c358d8d12b144c8858983c23d9236f7d0e941b
b62466329cf6f515661ef9fb9b9d2ae90a032a60
refs/heads/master
2023-04-08T04:26:29.043048
2018-04-19T11:21:14
2018-04-19T11:21:14
104,159,178
9
2
null
2023-03-23T12:10:51
2017-09-20T03:11:44
C++
UTF-8
C++
false
false
8,728
h
chathandler.h
/* * The Mana Server * Copyright (C) 2004-2010 The Mana World Development Team * * This file is part of The Mana Server. * * The Mana Server 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; eithe...
ad82a78694b226a3f3340b60a768f7765872a6be
8b76d8f5949e7d1a2a2b2d84cbeab08d3d2e0b62
/inc/i_agent.hpp
f6e753f48ca3bfe5aa3bc319eef21a0c903045da
[]
no_license
RoyMattar/smart-home
a5690d1de4c22a94f55960d9fe8d19f199bac17d
5a27facdd225df252a6f3d9e1d1edbcc10514dd4
refs/heads/master
2022-07-03T10:55:42.119093
2020-05-18T08:58:11
2020-05-18T08:58:11
264,874,482
2
0
null
null
null
null
UTF-8
C++
false
false
413
hpp
i_agent.hpp
#ifndef I_AGENT_HPP #define I_AGENT_HPP #include "common_utils.hpp" #include "i_push_event_bus.hpp" #include "i_consumer_registrar.hpp" namespace smart_home { class IAgent { public: virtual void Connect (SharedPtr<IPushEventBus> const& a_pushBus, SharedPtr<IConsumerRegistrar> const& a_r...
6c1906f4b65cc0479015064750da0fe09fef17ec
e6322c3d387929757ce579c5776606fddd0b26b2
/Common/Pool/SimplePool.h
3f98a605322856d51933b7634cf9a5636bb2ee22
[]
no_license
liaohq/server
aa8527a53006945b84605cc2f3b974d88a9b1cca
41dc54bde846ca95461170b131ace9d87c322098
refs/heads/master
2020-04-27T20:24:46.591047
2019-03-31T09:31:42
2019-03-31T09:31:42
174,656,201
0
0
null
null
null
null
UTF-8
C++
false
false
718
h
SimplePool.h
/* * author: lhq * data : 2017.4.7 * bref : simple memory pool */ #include<set> typedef unsigned char BYTE; template<typename DATA_T,const int MAX_SIZE> class SimplePool { public: SimplePool() { m_Pool = NULL; m_Active = NULL; m_Index = 0; m_IdleList.clear(); } ~SimplePool() { if(NULL == m_Po...
a1a18a39281b9e03497528d0d09dcd83f65d72c1
e411c7bef1cc26542f483913ca423c51f6216dbc
/src/Driver/Spi_Driver.cpp
928d213f426bce270d7a9dd2f46975e1d24d0ebb
[]
no_license
MeowSoft/SpiDriver
4f5d78fa9c42ae96962620d5d7226b74cb75fb02
ea9e775134b7f34b6448bb32fe9aa6c48c51aa8f
refs/heads/master
2023-08-22T18:18:14.449359
2021-10-22T13:15:34
2021-10-22T13:15:34
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,106
cpp
Spi_Driver.cpp
/** * This file contains the 'validatePins' and 'init' * method definitions for the selected platform. */ #include "../Spi_Driver.h" USE_NAMESPACE_SPI // ==================================== // ARM (Due): // ==================================== #if defined(__SAM3X8E__) bool SPI_Driver::validatePins( const ui...
26e1e1309033b5a1001d6402033cd808bb675585
385c04f0202883e614e1a4860fc2f52682b9c1b3
/zen/picking/lib/vsLogLib.cpp
830b1ef3a1e9292f724cbb50947f6dcc4680dd6b
[]
no_license
JanosSarkoezi/cmake
7e1a990e2e91c50a56f6924af1f4b9e77523bcd5
0d85ac3a2b7e64d7772f66ab354734d66452e9cd
refs/heads/master
2021-07-23T02:24:13.765470
2021-03-07T19:34:02
2021-03-07T19:34:02
244,494,088
0
0
null
null
null
null
UTF-8
C++
false
false
1,688
cpp
vsLogLib.cpp
/** ---------------------------------------------------------- * \class VSLogLib * * Lighthouse3D * * VSLogLib - Very Simple Log Library * * \version 0.1.0 * Initial Release * * This class provides a basic logging mechanism * * Full documentation at * http://www.lighthouse3d.com/very-simple-l...
23952882993dbdf7d09a236e0cca1630cf37cb9b
c565137e9564118f38444eaca744a6588b90d053
/DirectX113DTutorialGameEditor/Editor/Gizmo3D.cpp
ae3c993c97d4ed8b55654c582db5477b4a94827a
[]
no_license
principal6/DirectX113DTutorial
f670971c5cfe09f4744b50324a8795e455c4a317
12bc6eb92c73e53eb588d55386a4dbca3e9c9300
refs/heads/master
2020-08-02T22:59:27.634000
2020-01-31T09:41:49
2020-01-31T09:41:49
211,528,785
5
0
null
null
null
null
UTF-8
C++
false
false
17,247
cpp
Gizmo3D.cpp
#include "Gizmo3D.h" #include "../Core/ConstantBuffer.h" #include "../Core/PrimitiveGenerator.h" #include "../Core/Shader.h" #include "../Model/Object3D.h" using std::make_unique; CGizmo3D::CGizmo3D(ID3D11Device* const PtrDevice, ID3D11DeviceContext* const PtrDeviceContext) : m_PtrDevice{ PtrDevice }, m_PtrDeviceCon...
789f23d403a14974fd7ed1336b020c767c4617cc
03a18d364f245ab2c901ea33b310f67147014cfa
/Temps5/Temps5.ino
458f280a0ae3a53106705b1b90c5f2384b81b4b3
[ "Unlicense" ]
permissive
davidb24v/pyTemps
9240468aee962add32c4f88e3474b2e1ce410f62
abf34a8237adb189cad12326ec1ad95620f5ed11
refs/heads/master
2021-03-12T22:27:28.567922
2014-01-21T06:40:04
2014-01-21T06:40:04
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,566
ino
Temps5.ino
#include <OneWire.h> #include <DallasTemperature.h> // One wire bus connected to pin 3 #define ONE_WIRE_BUS 3 // Use 9 bit temperature #define TEMPERATURE_PRECISION 9 // Setup a oneWire instance to communicate with any OneWire devices OneWire oneWire(ONE_WIRE_BUS); // Pass our oneWire reference to Dallas Temperatur...
73bac07c606dfc260633463660db3a062d7aa952
c165141f2d8389668a51b3f704e30c18671ef7a0
/articles/postscript.re
220cfd425df6fe5650bb8da83bc0de29cb77ed5d
[]
no_license
onestop-techbook/setting_goals
0571ebbed9dc5edb00e314aec65f8c23f71662bf
7020bf1eb759448afc195929121c2cc7c187a11b
refs/heads/master
2021-07-17T20:29:13.576547
2021-07-13T11:19:47
2021-07-13T11:19:47
167,572,269
5
17
null
2019-09-07T22:12:37
2019-01-25T15:51:33
C++
UTF-8
C++
false
false
3,963
re
postscript.re
= ใ‚ใจใŒใ ใ“ใฎๆœฌใ‚’ๆ‰‹ใซใจใฃใฆใ„ใŸใ ใใ‚ใ‚ŠใŒใจใ†ใ”ใ–ใ„ใพใ™ใ€‚ ็›ฎๆจ™่จญๅฎšใฎๆŠ€่ก“ใจใ„ใ†ใ‚ฟใ‚คใƒˆใƒซใฎๆœฌๆ›ธใงใ™ใŒใ€้‡่ฆใชๆŠ€่ก“ใงใ‚ใ‚‹ใ‚‚ใฎใฎใ€ใฉใ†ใ„ใ†ๅฝขใซใพใจใพใ‚‹ใ‹ไธๅฎ‰ใŒใชใ‹ใฃใŸใ‚ใ‘ใงใฏใ‚ใ‚Šใพใ›ใ‚“ใ€‚ๅ€‹ไบบใฎไฝ“้จ“ใซไพๅญ˜ใ—ใ™ใŽใŸใ‚Šใ€ใƒ”ใƒณใƒใ‚คใƒณใƒˆใ™ใŽใŸใ‚Šใ€ใ‚ใ‚‹ใ„ใฏใƒใ‚ฟใŒ้›†ใพใ‚‰ใชใ„ใฎใงใฏใชใ„ใ‹๏ผŸ็ตๆžœใจใ—ใฆใฏๅ…จใใฎๆžๆ†‚ใ ใฃใŸใ‚ใ‘ใงใ™ใŒใ€‚ๆ–นๆณ•่ซ–ใจใ—ใฆๆ™ฎ้ๅŒ–ใƒปไธ€่ˆฌๅŒ–ใ•ใ‚ŒใŸๆŠ€่ก“ใ€ๅฎŸไฝ“้จ“ใ‚’็ซฏ็ท’ใซๅฎŸ่ทต็š„ใซใพใจใพใฃใŸๆŠ€่ก“ใŒ้›†ใพใ‚Šใพใ—ใŸใ€‚ ไปŠๅ›žใ‚‚ใŸใใ•ใ‚“ใฎๅŸท็ญ†่€…ใฎ็š†ใ•ใ‚“ใซใ”ๅ”ๅŠ›ใ„ใŸใ ใใพใ—ใŸใ€‚ใ‚ใ‚ŠใŒใจใ†ใ”ใ–ใ„ใพใ™ใ€‚ใใ‚Œใžใ‚Œใซ็•ฐใชใฃใŸ่ฆ–็‚นใ€็•ฐใชใฃใŸใ‚ทใƒใƒฅใ‚จใƒผใ‚ทใƒงใƒณใซๅฏพใ™ใ‚‹ไธ€ใคใฎ่งฃใ€ไพ‹ใจใ—ใฆๅ‚่€ƒใซใชใ‚‹่จ˜ไบ‹ใฐใ‹ใ‚Šใงใ—ใŸใ€‚ใ„ใšใ‚Œใ‚‚่ชญใฟๅฟœใˆใŒใ‚ใ‚Šใ€ๆ กๆญฃใ—ใชใŒใ‚‰ใ€ใชใ‚‹ใปใฉใชใ‚‹...
0f87dcf125d2798d90ad91205852e917122cf271
531e989a056f70f17a5d20164c5d998926aa2fee
/tests/testPendule.cc
c0d424441b4d72745cd4850e102d419f8a25341f
[]
no_license
domzhaomathematics/pendulum
a1c68694c50d3f595c2df5737a9395f979c9d727
634056a159aea65fb1d0c8f2936718d2a7b18b6f
refs/heads/master
2020-09-14T05:52:47.456633
2019-11-20T23:15:36
2019-11-20T23:15:36
223,039,661
0
0
null
null
null
null
UTF-8
C++
false
false
823
cc
testPendule.cc
#include <iostream> #include <cmath> #include "Vecteur.h" #include "Oscillateur.h" #include "Integrateur.h" #include "Pendule.h" #include "IntegrateurEuler.h" #include "IntegrateurRK.h" #include "Newmark.h" using namespace std; //puisque nous n'avons defini aucun support a dessin dans ces tests (on n'...
0040c6152179fb29bf9889b112c8be6a8ead798b
e00047d43784e64cf31d15b0c3a6dd65ba771cb7
/CTCI/2-Concepts-and-Algorithms/8-Recursion-and-Dynamic-Programming/Gunjan/8-9-Parens.cpp
b5f24afa2d0f5e05a525ed2c55ed57512b10c921
[]
no_license
swayamxd/noobmaster69
e49510f7c02c5323c0ac78d76bad2f31124f3b72
f549c365c4623e2ea17ca120d72c8488bfcfd8de
refs/heads/master
2022-01-16T13:04:14.666901
2022-01-12T11:55:06
2022-01-12T11:55:06
199,595,424
3
2
null
2020-12-01T04:18:11
2019-07-30T07:07:52
C++
UTF-8
C++
false
false
2,054
cpp
8-9-Parens.cpp
#include<iostream> #include<vector> #include<unordered_set> using namespace std; void display(vector<string> parenthesis){ for(auto x:parenthesis){ cout << x << endl; } cout << "Size: " << parenthesis.size() << endl; } void display(unordered_set<string> parenthesis){ for(auto x:parenthesis){ ...
a20f2193b17c5333b82d834f692d262b33ab2a97
6b91ea73a53de75224cd775e7e902c9dbbd2bac2
/BOJ/NO.1012/bfs.cpp
d741da16ce0462b3dcb32ad760a6d68b58f12930
[]
no_license
vvega-a/algorithm_study
d823fb05e3fd59c060a85a7ce29e436b5cafcae8
4f0cc828bb33e55a8250b67fee7ece9d84cc46b3
refs/heads/master
2023-02-23T23:51:43.228244
2019-11-27T10:35:04
2019-11-27T10:35:04
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,220
cpp
bfs.cpp
//https://www.acmicpc.net/problem/1012 #include<iostream> #include<vector> #include<algorithm> #include<string> #include<queue> using namespace std; int n, m, k; int res = 0; int map[52][52]; bool visit[52][52]; int dx[4] = { 0,0,1,-1 }; int dy[4] = { 1,-1,0,0 }; typedef struct point { int x, y; }p; void bfs(p start) ...
c87ea275e94f6ababb846f41ba361a07ca95976f
ef448a74eb1aeee002fb58b31061d074f7cd0ec3
/is mirror Inverse.cpp
0145e19f177faaa135cfb790b97767a8ae90cd85
[]
no_license
RushilKhantwal/Algo-Codes
68c2c275a4b1de1d7307b73bab91ee606b681497
d2b93c02573426f5d6a7515920b3340817d1cdbc
refs/heads/master
2022-11-20T19:43:56.439640
2020-07-19T21:45:28
2020-07-19T21:45:28
264,461,881
3
0
null
null
null
null
UTF-8
C++
false
false
532
cpp
is mirror Inverse.cpp
#include<bits/stdc++.h> using namespace std; long long inverse( long long n) { int j=0; int i=0; long long inv=0; while(n != 0) { ++j; i=(n%10) - 1; inv += ((pow(10,i))*j); n /= 10; } retur...
38726b5df6cdcccaf364cb210fb2448765ca1826
e0bbca1766ffe1279bbf00a300769c9a41fe9e9c
/Codeforces451/B.cpp
88a8ee34691efffe5540c5f18191fc3706830de8
[]
no_license
srijan-srivastav/Competitive-programming-contests
a86d83132d142e4c6b903b747dffda23a77eb509
0ffb16e037c352fa3c8c0048d67dd52017180133
refs/heads/master
2020-03-19T14:40:53.278591
2018-06-09T03:35:11
2018-06-09T03:35:11
136,635,044
0
0
null
null
null
null
UTF-8
C++
false
false
1,048
cpp
B.cpp
#include <bits/stdc++.h> using namespace std; int main() { int money; int a; int b; cin>>money>>a>>b; int min=0; int max=0; if(a>b) { min=b; max=a; } else { min=a; max=b; } int countm=0; int countl=0; while(1) { money=money-min; countm++; if(money<0) { money=money+min; countm--; ...
677394db3361bdcfae14a8aa29ee45305e19c296
813bb036c810b7b7e85d36d7827f3b09acccd627
/properties.h
80004cb4d3956cdaaa57da4671e3df1b98f00a7b
[]
no_license
tort-dla-psa/qml-ui
28fe310228b2f431e28f222e6e9d1fd9e2e6f0e3
7f6858a45ccd386c7d984e3dd2e6dfc2f1a7c943
refs/heads/master
2022-07-24T03:12:24.587325
2020-05-26T01:36:29
2020-05-26T01:36:29
266,860,429
0
0
null
null
null
null
UTF-8
C++
false
false
989
h
properties.h
#ifndef PROPERTIES_H #define PROPERTIES_H #include <QObject> #include <QString> #include <QVector> struct Property{ QString text; QString value; friend bool operator == (const Property &lhs, const Property &rhs){ return lhs.text == rhs.text && lhs.value == rhs.value; } fri...
edda49df86856fa82a4004155c3d7ef0b18dec0e
5eaa7f7ad83ae6c2e6167c87fa093a0668058d23
/QVtdEditor/qscrollareaex.h
38d07786708bf1d92ac809315876a235e5ac3e11
[]
no_license
cadencii/vConnect
5597e5a23edddb0ef0a3ce22a042942dd3e8c296
dfe260623bae88fcfd90a25def2bfd1ffb2dbd18
refs/heads/master
2021-01-20T11:30:17.124806
2013-10-02T14:20:26
2013-10-02T14:20:26
12,994,261
7
1
null
null
null
null
UTF-8
C++
false
false
872
h
qscrollareaex.h
/** * qscrollareaex.h * Copyright (C) 2010 kbinani * * This file is part of QVtdEditor. * * QVtdEditor is free software; you can redistribute it and/or * modify it under the terms of the GNU GPL License. * * QVtdEditor is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even...
a5463bf93047bedc655417f32064728192387dc6
4e8a440699ad4dfca23ea7bc4f8727c91e506220
/Bitmap/Bitmap/main.cpp
7209da4ad91b8b4b8a467cfc920601b11af4eee0
[]
no_license
Wolfgangwgb/Code
3f3910e3298fcea8d768197c53d2c52337bb007f
352b4c3f39ac44ed163262cf047836714ac0aa93
refs/heads/master
2021-01-22T10:46:04.262041
2017-09-13T13:23:57
2017-09-13T13:23:57
92,653,587
1
1
null
null
null
null
UTF-8
C++
false
false
1,286
cpp
main.cpp
#include<iostream> using namespace std; #include<string> #include"bitmap.h" #include"bloom_filter.h" void Test() { Bitmap b(2048); size_t arr[] = { 31, 32, 6, 34, 76, 954, 23, 42, 57, 12 }; for (size_t i = 0; i < sizeof(arr) / sizeof(arr[0]); ++i) { b.Set(arr[i]); } if (b.Exist(34)) std::cout << "YES" << s...
0c9d824e9c3b2a4d17c97ba6ef95693bf76ac1ab
aea7799cdf8ecb7b9304c8898767e91949f71d4b
/round1/reverse-linked-list-2.cpp
48c8b70a0a7b495e2c13d8a11fb39734b3b0ab8d
[]
no_license
elsucai/LC
e2baab13168761519ae537176e42fa04607de88a
d5915a4efb6e16e2cea5f8d448ca72c2f8edcc9b
refs/heads/master
2016-09-08T02:05:30.401990
2014-04-01T22:50:23
2014-04-01T22:50:23
null
0
0
null
null
null
null
UTF-8
C++
false
false
778
cpp
reverse-linked-list-2.cpp
/** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode(int x) : val(x), next(NULL) {} * }; */ class Solution { public: ListNode *reverseBetween(ListNode *head, int m, int n) { // Start typing your C/C++ solution below // DO NOT write i...
9f401977b8b373c4b8e383c315adb7d022cdf628
d81bf03ac0da3e356d464059cb6d71021e8583ef
/StringOperator.h
905ad026e3cdafd292d00472f86253aa047fac8a
[]
no_license
Karl0007/TASK2-mysql
f968ad7217ad05847f8138350eaf4f34eea82577
f5b49213f6bd22eb1991bba7ca1701b3399595a9
refs/heads/master
2020-05-09T13:54:52.050658
2019-04-13T12:48:08
2019-04-13T12:48:08
181,173,492
3
0
null
null
null
null
UTF-8
C++
false
false
689
h
StringOperator.h
#pragma once #include <bits/stdc++.h> using std::string; using std::vector; namespace My { extern vector<string> Split(const string &, const char &, const string &bef = ""); extern int StrToUInt(string const &); extern string UIntToStr(int); extern vector<string> CutBetween(const string &str, const char left, const...
3eee50ba2b0b7d11d2db5305c0006552dcf30a12
914a4d60f79b0b96a4440979e1fd6ded5f7bc668
/2DPatternSearch/PatternSearch.cpp
d95e839054bbd5216b583e0ccb55bf0d7b006549
[]
no_license
marcinwasowicz/Text-Algorithms
9772fddb924685772dceb5b87dab7b9ee1754ce8
66ade82efec434c78e09464236af2ec4d33202d2
refs/heads/master
2021-05-19T07:03:06.107565
2020-09-27T16:09:18
2020-09-27T16:09:18
251,577,146
1
0
null
null
null
null
UTF-8
C++
false
false
2,143
cpp
PatternSearch.cpp
#include "PatternSearch.h" #include <algorithm> using namespace std; PatternSearch::PatternSearch(vector<string>& pattern, string &alphabet) { this->automaton = new Automaton(pattern, alphabet); } vector<int> PatternSearch::parseLine(vector<int> &line) { // pass line of states thorugh final states automaton,...
9d2c0f5dc242eaec7058b0b5c78df48cdc281cdf
890eb8e28dab8463138d6ae80359c80c4cf03ddd
/SMPF/Protocol/Channel/HAL/MODEM/CmdHdlr/NR/RF_BLOCK/ch_HalRfExtCmdsNr.cpp
e730d4e1b3bd5080910d5a9bcbc1f4866ec542c8
[]
no_license
grant-h/shannon_S5123
d8c8dd1a2b49a9fe08268487b0af70ec3a19a5b2
8f7acbfdcf198779ed2734635990b36974657b7b
refs/heads/master
2022-06-17T05:43:03.224087
2020-05-06T15:39:39
2020-05-06T15:39:39
261,804,799
7
1
null
null
null
null
UTF-8
C++
false
false
88
cpp
ch_HalRfExtCmdsNr.cpp
Line 62: FreqSetCmd: Wrong RAT Type(%d)!! Line 207: [AS] AsEnableCmd(%d) resultEn(%d)!!
114d316e2fe70cb5f0c6f36197760f689c22fbe8
9b6c8262a81d94bdf4e386c5790b6cabbc544d3a
/Single tries/1A.cpp
e2d9716cc0927c4561612997d8d30332d1471d08
[]
no_license
SeefatHimel/CodeForces
e5ce762a12b13fb45dd665697cd634e26151c87f
e0a5a25b5125595de92a1ec4549242728ef50337
refs/heads/main
2023-05-15T16:30:39.607778
2021-06-13T21:04:36
2021-06-13T21:04:36
372,318,996
0
0
null
null
null
null
UTF-8
C++
false
false
186
cpp
1A.cpp
#include<iostream> using namespace std; main() { long long int a,b,m,c,d,s; cin>>a>>b>>m; c=a/m; d=b/m; if(a%m!=0)c++; if(b%m!=0)d++; s=c*d; cout<<s; }
be21b25e32f1898df1a7ab7b878c8d025511ae71
7ec4ce13fe476404a1769d9958dc41bef48661bc
/2019็ง‹ๆ‹›ITๅ…ฌๅธ้ข่ฏ•้ข˜/็พŽๅ›ข/01.cpp
308f424615655a5fcf0a6c3d50cf0376909caa25
[]
no_license
meihao1203/learning
45679e1b0912b62f7a6ef1999fb2a374733f5926
dbef1a1b6ccb704c53b2439661d062eb69060a0d
refs/heads/master
2021-07-19T23:36:50.602595
2018-12-09T02:03:06
2018-12-09T02:03:06
113,955,622
11
4
null
null
null
null
GB18030
C++
false
false
967
cpp
01.cpp
#include<iostream> #include<set> using namespace std; static int total = 0; static set<int> everyNode; void travesal(int** arr,bool* visited,int nodes,int visit); int main() { int nodes; cin>>nodes; //ๅผ€่พŸๆ•ฐ็ป„็ฉบ้—ด int** arr = new int*[nodes]; for(int idx=0;idx!=nodes;++idx) { arr[idx] = new int[nodes]...
1ec75cfd57107f6526116a544285bff0dcd0e782
25a107f9cab4ddedf457c355299f0078697506ad
/AppData/Local/Autodesk/webdeploy/production/1f559bb8ae333199306b5c4f1fe680c6eb7ab9e0/CPP/include/Fusion/Fusion/SMTExportOptions.h
5b0947884129280713e508fc2ae041b3f16105f8
[]
no_license
Park-Minjoo/HCI_TeamProject_GroupNo2
1b6cc7887173f717ba76068472174cc3a9109124
5ace0f0a9d81b39d6782300a14847b223d7ed90a
refs/heads/master
2023-01-27T11:59:36.791453
2023-01-13T04:26:18
2023-01-13T04:26:18
273,715,196
1
0
null
2023-01-13T04:26:26
2020-06-20T13:39:33
null
UTF-8
C++
false
false
2,218
h
SMTExportOptions.h
////////////////////////////////////////////////////////////////////////////// // // Copyright 2016 Autodesk, Inc. All rights reserved. // // Use of this software is subject to the terms of the Autodesk license // agreement provided at the time of installation or download, or which // otherwise accompanies this softwar...
acf3827b8aef674a664993955eb6d2a1b2bb8755
71cd5b6943b3b4a7107cced43e68cd79ec3f7c4d
/SampleFramework/DirectGame/WindowsProject1/TilesetInfo.h
9a33fc27361b54c871a36277dba9e81f58a2e808
[]
no_license
nlebachnlb/mario-directx
57fd8dacb7999c5caea68ac8a3c9afb8aea74fdf
abc84b676d02c136d77cd88398f9680abb79c328
refs/heads/main
2023-02-24T19:40:26.863310
2021-01-22T16:58:54
2021-01-22T16:58:54
307,131,400
10
1
null
null
null
null
UTF-8
C++
false
false
402
h
TilesetInfo.h
#pragma once #include <string> #include "tinyxml.h" class TilesetInfo { public: TilesetInfo(); TilesetInfo(int id, int tileCount, std::string source); static TilesetInfo* FromXMLData(TiXmlElement* data); std::string GetSource(); int GetID(); int GetTileCount(); int GetImageWidth(); int GetImageHeight(); pri...
db8cf3f44920e93c53d56a20510d984423c826ba
2394a717ba6dd2ab9a7822d2eb8093d0a5194f6b
/01. Dynamic Arrays & String/5 [codeforces] A. Vitaly and Strings_explain.cpp
09fc642959028e8f1618e5fd74e49443fc1956b5
[]
no_license
ngtranminhtuan/Algorithm-Immediately
8ce292141c206631ac649ff1b396569cd8226e9c
f174a7de1448683d4f70ebde3dfe6f667ca863af
refs/heads/master
2021-12-12T13:39:02.363221
2021-11-19T04:33:03
2021-11-19T04:33:03
200,312,777
0
0
null
null
null
null
UTF-8
C++
false
false
1,353
cpp
5 [codeforces] A. Vitaly and Strings_explain.cpp
/* - Chแบกy ngฦฐแปฃc chuแป—i S tแปซ kรฝ tแปฑ cuแป‘i vแป kรฝ tแปฑ ฤ‘แบงu, xรฉt hai trฦฐแปng hแปฃp sau: + Nแบฟu gแบทp kรฝ tแปฑ โ€˜zโ€™ thรฌ biแบฟn kรฝ tแปฑ nร y thร nh kรฝ tแปฑ โ€˜aโ€™. + Nแบฟu gแบทp kรฝ tแปฑ khรกc โ€˜zโ€™ thรฌ tฤƒng kรฝ tแปฑ nร y lรชn mแป™t bแบญc, nghฤฉa lร  nแบฟu gแบทp kรฝ tแปฑ โ€˜bโ€™ thรฌ biแบฟn thร nh โ€˜cโ€™, kรฝ tแปฑ lร  โ€˜gโ€™ thรฌ biแบฟn thร nh โ€˜hโ€™. Ngay sau tฤƒng kรฝ tแปฑ lรชn mแป™t bแบญc ...
798a1d0e34022cf5e2850e62abc08d153d7b46da
6df461fa311c892a968c2d3d9e15fd2225ce5e46
/database.h
a0fb298b3dd439d79c34eef98217ee73a60a1c27
[]
no_license
kamilmaestro/Communicator_GUI
8347f85cba1a710e11cfc53eb2fa312de22e5f71
514100636f49d575ea2c031202862cf5a0049cbb
refs/heads/master
2020-05-19T08:57:46.943611
2019-06-14T19:26:02
2019-06-14T19:26:02
184,935,315
0
0
null
null
null
null
UTF-8
C++
false
false
289
h
database.h
#ifndef DATABASE_H #define DATABASE_H #include <QSqlDatabase> #include <QSqlQuery> #include <QSqlError> namespace database { QSqlDatabase &connect(); QSqlQuery &getMessages(int id1, int id2); int getId(QString login); int getId(QString login, QString password); } #endif // DATABASE_H
e95c5d289c5d8b539e3460b9cf20e1bf3219f68a
64a41423f567fe8973f57e26910cf1bb2f41b540
/uva/uva10298_Power_Strings/cpp/main.cpp
8b2d560ee5b0e26af360a5c6bd915db5dcafaa74
[]
no_license
lfmunoz/competitive_programming
1d16b64d4b90214a0745da1460420361a7771f52
cf6a90c780b422f4b4c0bdcaa7e9a1bcb4f50ad5
refs/heads/master
2023-01-24T18:15:01.234165
2020-11-23T02:43:19
2020-11-23T02:43:19
283,283,319
0
0
null
null
null
null
UTF-8
C++
false
false
2,344
cpp
main.cpp
/* https://www.udebug.com/UVa/10298 It was very tempting to be clever with this problem, meaing that I wanted to find a way to detect when a pattern repeated, something similar to what kmpPreprocess does. Forget that just check each possibility starting from 1. */ // ____________________________...
6c22b03d86bb828bd263681e617a848e5f8f04c8
2f6a9ff787b9eb2ababc9bb39e15f1349fefa3d2
/inet/src/inet/physicallayer/ieee80211/mode/Ieee80211ErpOfdmMode.cc
3375092b514056fca887e79effecc79d9b01349f
[ "BSD-3-Clause", "MPL-2.0", "LicenseRef-scancode-free-unknown" ]
permissive
ntanetani/quisp
97f9c2d0a8d3affbc709452e98c02c568f5fe8fd
47501a9e9adbd6adfb05a1c98624870b004799ea
refs/heads/master
2023-03-10T08:05:30.044698
2022-06-14T17:29:28
2022-06-14T17:29:28
247,196,429
0
1
BSD-3-Clause
2023-02-27T03:27:22
2020-03-14T02:16:19
C++
UTF-8
C++
false
false
5,711
cc
Ieee80211ErpOfdmMode.cc
// // Copyright (C) 2015 OpenSim Ltd. // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public License // as published by the Free Software Foundation; either version 2 // of the License, or (at your option) any later version. // // This program i...
7f359fb93271bcd7c4af7ee2c81a02e5985c6fc2
33999e40cb8b078543335c0849ce0556de2bf82a
/Projects/HybridH1/InputTreatment.cpp
0b3cec336217baab532eff892070b66fa4005386
[]
no_license
labmec/ErrorEstimation
1821222cac24e919b6663846078f6cef4717e972
6ca13c3d6cd59dc3d33fde23a48d1fec48818d4c
refs/heads/main
2023-08-20T23:08:45.333448
2021-03-29T14:22:38
2021-03-29T14:22:38
130,746,925
2
1
null
2023-06-23T18:44:44
2018-04-23T19:33:29
C++
UTF-8
C++
false
false
7,552
cpp
InputTreatment.cpp
// // Created by victor on 16/03/2021. // #include "InputTreatment.h" #include "DataStructure.h" #include "MeshInit.h" #include "Tools.h" void Configure(ProblemConfig &config,int ndiv,PreConfig &pConfig,char *argv[]){ ReadEntry(config, pConfig); config.ndivisions = ndiv; config.dimension = pConfig.dim; ...
746d276ff66016115a618ada02e72f9e44c9c223
d6a1da196bc61ceecce316b91607c9df1c62d12d
/Eto/A/lib/lib_objectcontainer.cpp
de3538305e71c96a72c69517cba9f3f7ed6503de
[]
no_license
DanielMaydana/FJALA-mod2
75aefa40b0e962e9fa946a822b22533682ba1b6e
6296d4098ac309389143161e973d2f1021f785f0
refs/heads/master
2021-06-13T08:30:01.789114
2019-08-15T15:13:08
2019-08-15T15:13:08
172,765,900
0
0
null
2021-05-10T04:36:10
2019-02-26T18:23:31
C++
UTF-8
C++
false
false
261
cpp
lib_objectcontainer.cpp
#include "lib_objectcontainer.h" #include "lib_object.h" lib_objectcontainer::lib_objectcontainer (lib_object* obj) : obj { obj } { } lib_objectcontainer::~lib_objectcontainer() { delete obj; } lib_object& lib_objectcontainer::get() { return *obj; }
0ec7f57dbd6e2ce2f2197270425bb686d625690c
3bb279b544d208187ad24cde358ee385c2cbb1df
/Sorting/Painter.cpp
e3372704adeb8b93e17d50f2c2f13ced0611baf2
[]
no_license
rakshityadav07/C-
4a08419426ac2ab5358327bb4e5116e82a943fe3
07a277395b8523c67b5891f159f8e889aeb19a90
refs/heads/master
2020-09-28T06:32:30.774746
2020-03-20T01:10:25
2020-03-20T01:10:25
226,713,186
1
0
null
null
null
null
UTF-8
C++
false
false
293
cpp
Painter.cpp
#include <iostream> #define ll long long int using namespace std; int main(){ ll n,k,t,li; cin >> n >> k >> t >> li; int s = 0 ; int e= n-1 int mid; while(s<=e){ mid = (s+e)/2; if(getmax(a,n,k,mid)){ finalans = ans; s = mid+1; } else{ e = mid -1; } } }
744126cde0dc8cbde391d804cf06b5052abb5a85
43409b014f08c3d053596a7e0a6ab50d3f95ec51
/bin/mBed/mainG.cpp
5cbc54ceb9c89426e3593b423b32e27ccf70f3b7
[]
no_license
edgano/mBed-nf
f92f9f2c421a5e5a5087873f6e3fe2c6548c2bb4
c770be65da5d88c9205675e2747b13afe657861e
refs/heads/master
2021-04-28T05:41:31.873339
2018-03-01T15:21:26
2018-03-01T15:21:26
122,183,373
0
0
null
null
null
null
UTF-8
C++
false
false
24,952
cpp
mainG.cpp
/** * Author: Gordon Blackshields * * for comments contact fabian.sievers@ucd.ie (FS) */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include <iostream> #include <ctime> #include "alignment/Alignment.h" #include "alignment/Sequence.h" #include "general/clustalw.h" #include "general/UserParameters.h" #inclu...
7561447f984948e757257dd8a2f279d42833c2ae
19f8a512cd2c17dd72c04f2847f58d268deb8623
/char.cpp
f7238f45f70c8a88be3d4b7d0e315216944a1b2c
[]
no_license
ggreco/lpcgame
9aec307636322a099141ac7d58d4f91671c42f9d
6559afff90526019c81f7a7d33a008324e36292f
refs/heads/master
2016-09-06T10:02:05.310532
2013-10-18T10:50:56
2013-10-18T10:50:56
4,595,398
2
0
null
null
null
null
UTF-8
C++
false
false
109
cpp
char.cpp
#include "char.h" #include "SDL_image.h" Character:: Character(const std::string &xml) : AnimObj(xml) { }
3a9c6220bcb852558d0ea07b2fbe118fe447c909
0494c9caa519b27f3ed6390046fde03a313d2868
/src/chrome/browser/ui/views/autofill/autofill_credit_card_bubble_views.cc
fb2f2388085eae5a57c3167d40080381485a96a0
[ "BSD-3-Clause" ]
permissive
mhcchang/chromium30
9e9649bec6fb19fe0dc2c8b94c27c9d1fa69da2c
516718f9b7b95c4280257b2d319638d4728a90e1
refs/heads/master
2023-03-17T00:33:40.437560
2017-08-01T01:13:12
2017-08-01T01:13:12
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,606
cc
autofill_credit_card_bubble_views.cc
// Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/ui/views/autofill/autofill_credit_card_bubble_views.h" #include "chrome/browser/ui/autofill/autofill_credit_card_bubble_controll...
1603889bdeb240ecd475189280dc589f7355180d
62ddc693f482c5061f41f070a34b9aa9e02a3565
/src/flow/action.hpp
f38c9b2cc5b572145952bfd959f336c8abc9f8ee
[]
no_license
sebastocorp/lets-chaproxy
9baf8d17eee5638f13a77d2a6a7d2f64ddc46735
76662f8f23be3a13a12b0a3e75ccb77fbd423e4a
refs/heads/master
2023-07-09T17:14:45.490476
2021-08-22T00:40:43
2021-08-22T00:40:43
null
0
0
null
null
null
null
UTF-8
C++
false
false
538
hpp
action.hpp
#pragma once namespace FLOW { struct Action{ // METHODs static void createCerts(); static void renewCerts(); static void watchLogs(); // Maybe not needed static void logSucces(); static void logError(); }; } #ifdef ACTION_IMPLEMENTATION namespace FLOW ...
5e0de83afda056cb93db80e762e3c17092d1c79c
97e169f89aacdfc34c1f3bce2e9588f4fd277cfe
/LaboReseauxBinome/Evaluation1/Librairies/Exceptions/ErrnoException.h
9ceca3c6cbc1816431b2e6bc41a1a6b3ea2af651
[]
no_license
OceStasse/Reseaux
59d6949926263b517b1c4c53ace9883b8d0eb285
437c03361193c24881bc13fdb5ddb9886235bdf4
refs/heads/master
2020-03-22T14:18:21.237944
2018-09-08T07:43:37
2018-09-08T07:43:37
140,168,416
0
0
null
null
null
null
UTF-8
C++
false
false
480
h
ErrnoException.h
#ifndef EXCEPTIONS_ERRNOEXCEPTION_H #define EXCEPTIONS_ERRNOEXCEPTION_H #include <cerrno> #include <cstring> class ErrnoException : public std::exception { protected: std::string message; int errnoCode; public: ErrnoException(int errorCode, std::string msg); ErrnoException(int errorCode, const char *msg); Errno...
d053d869f5ecdbdd64622359d29a3a9c033d28ff
6552d3e62b55a90b798d483d186cbb330757bd17
/Old_map/old/old_node.cpp
ff4fcfceee47243bb87a22808882d95c62f17fd5
[]
no_license
Tako-San/ILab
87cf0e8183162129ab761ebb698d6ccdf90e89d2
101cb42025dbba4fb5c686767365035b8f42f716
refs/heads/master
2021-07-11T10:22:05.627856
2020-11-24T17:58:13
2020-11-24T17:58:13
218,972,144
0
0
null
null
null
null
UTF-8
C++
false
false
2,283
cpp
old_node.cpp
#include "old_node.h" Node::Node() : key(0), val{0}, parent(nullptr), left(nullptr), right(nullptr) { } Node::Node(size_t new_key) : key(new_key), val{0}, parent(nullptr), ...
d3ca124c7d6b32e2bf1509d902a5be0a179f1b00
37d433dd8d5d0968fcd7866e98e85d25290f90fc
/test/bdev/bdevc++/common/GlobalMemoryAlloc.h
9374ab17d522075f61eb5187a11d3eec3e31205f
[ "BSD-3-Clause" ]
permissive
janlt/spdk
454294b7e17526922902d8d83c99c99563e67a8a
263a281579bd956acf596cd3587872c209050816
refs/heads/master
2021-05-18T20:06:26.695445
2020-09-24T08:17:51
2020-09-24T08:17:51
251,393,718
1
0
NOASSERTION
2020-03-30T18:29:01
2020-03-30T18:29:00
null
UTF-8
C++
false
false
2,241
h
GlobalMemoryAlloc.h
/** * Copyright (c) 2019 Intel Corporation * * 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...
4ad88e9e864ec3b9cfa5765fd87ae2d63da666cd
3d693499bcc8040426da0446285d74c3ec3bd734
/src/Entity.cpp
83306fb44a3e6379609cadb57c0df90e90686ae6
[]
no_license
miguelsantoss/AVT1516
a86aec6c8319e1bc01e852f1aec7c007abd3f052
3746a579ac9ead80122c1da9ffb0db1cba537e72
refs/heads/master
2021-01-10T06:31:19.594637
2015-11-18T17:51:22
2015-11-18T17:51:22
44,014,595
0
0
null
null
null
null
UTF-8
C++
false
false
286
cpp
Entity.cpp
#include "Entity.h" #include <iostream> Entity::Entity() {} Entity::~Entity() {} void Entity::setPosition(float x, float y, float z) { _position.set(x, y, z); } void Entity::setPosition(const Vector3& position) { _position.set(position.getX(), position.getY(), position.getZ()); }
29d0527a7bec186e8cbcd80a44134d8e0a6b5de3
33206dc0ad17813afc29113cef3a062ad32808b9
/ndmanager-plugins/src/process_nlxconvert/ncsfilecollection.h
a4a16eac577e2a33d8e4034b0ef5dbc514b13fc9
[]
no_license
brendonw1/preprocessing
4abf385aaa481e6cf8cb8cab3944085396aa6569
7202e0ee3d0d50fd1072568c6748ee5a6b31a93f
refs/heads/master
2020-03-07T11:49:55.873212
2018-03-30T17:02:37
2018-03-30T17:02:37
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,162
h
ncsfilecollection.h
/*************************************************************************** * Copyright (C) 2004-2011 by Michael Zugaro * * michael.zugaro@college-de-france.fr * * * * This pr...
797c64721868764c866ffd1139a5a75db3be9039
c576da974f64149c75ddbd0f5e12dd7044e554d6
/src/common/data_objects/Container.h
2d32f97421a0868c7b968768fd40690300a06d44
[]
no_license
yahavx/ship-stowage-model
20d6773d6ec195e118909882f6dd0beb4ea079d9
5f80d321cfe5b9b8f2cdeb1f33086eb2fd5b029a
refs/heads/master
2021-05-23T09:24:58.708894
2020-06-17T17:55:51
2020-06-17T17:55:51
253,218,795
1
0
null
null
null
null
UTF-8
C++
false
false
1,189
h
Container.h
// // Created by yahav on 05/04/2020. // #ifndef SHIP_STOWAGE_MODEL_CONTAINER_H #define SHIP_STOWAGE_MODEL_CONTAINER_H #include <string> #include <iostream> #include <stdio.h> #include <vector> #include "PortId.h" #include "PackingOperation.h" #include "../utils/Errors.h" class Container { std::string id; i...
bb5da04efa99d5d2e961491e12fce95b5e3fba6c
ece2091476cadacff957f889ae029c53584b7edf
/leetcodec++/leetcode105.cpp
01b680dec0a1ce146d79d55294ce9808bd36108a
[]
no_license
mhhuang95/LeetCode
719091a5cde281f5d3b9388ee6696033d5475c1d
e9e74a81a7f10888c2c342c70b1ba32b09a16ab2
refs/heads/master
2021-06-12T08:18:21.836748
2019-09-24T13:27:16
2019-09-24T13:27:16
142,246,450
2
0
null
null
null
null
UTF-8
C++
false
false
924
cpp
leetcode105.cpp
// // Created by ้ป„ๆ•่พ‰ on 2019-08-01. // /** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : val(x), left(NULL), right(NULL) {} * }; */ class Solution { public: TreeNode* buildTree(vector<int>& preorder, vector<int>&...
03ffccbc6a8a77e1416cf4ea75d6b8335545693b
1346cda90de949fcf9bceb0a8de241a6194e7088
/RayTracer/RayTracer/Union.h
62badea68a39450d0fd37ea2bd34f8b74a1c16a8
[]
no_license
xuyunhan/Ray-Chaser
4e22a8e4e75b36ae5cd77d03ced545f7e5a1ef2f
f5e1c066d549e731e3df175d4197bff7cded2198
refs/heads/master
2021-01-10T01:20:59.705349
2016-03-11T09:28:52
2016-03-11T09:28:52
53,182,436
0
0
null
null
null
null
UTF-8
C++
false
false
236
h
Union.h
#pragma once #include "Geometry.h" #include <vector> class Union : public Geometry { public: Union(); ~Union(); IntersectResult Intersect(Ray3 ray); std::vector<Geometry*> geometries; void AddGeometry(Geometry* newGeometry); };
1fc8fb66d715278b03fffdce8ba821bb4590fc5e
52ca17dca8c628bbabb0f04504332c8fdac8e7ea
/boost/fusion/include/container.hpp
15a6c203193fd44c8e484156b4399a4d98b173f7
[]
no_license
qinzuoyan/thirdparty
f610d43fe57133c832579e65ca46e71f1454f5c4
bba9e68347ad0dbffb6fa350948672babc0fcb50
refs/heads/master
2021-01-16T17:47:57.121882
2015-04-21T06:59:19
2015-04-21T06:59:19
33,612,579
0
0
null
2015-04-08T14:39:51
2015-04-08T14:39:51
null
UTF-8
C++
false
false
70
hpp
container.hpp
#include "thirdparty/boost_1_58_0/boost/fusion/include/container.hpp"
ae088a8e3402959b366328cf9930fa5c19599387
ee4d9243c725b2ffc689dcfe0506df2e8e3606bc
/SP3_Base_Team05/Base/Source/MeshManager.cpp
96c712f5b7b642ea1e4b4c4efb72dbc9b761f1b3
[]
no_license
zhiternn/SP3_Team05
a5e2280b76b80ae5aa9ab96855df918608953fe1
73552ee440e5fe7be487b926758501f2e78bb06f
refs/heads/master
2021-01-15T15:31:13.876022
2016-09-01T09:55:50
2016-09-01T09:55:50
65,693,677
0
1
null
null
null
null
UTF-8
C++
false
false
11,061
cpp
MeshManager.cpp
#include "MeshManager.h" #include "MeshBuilder.h" #include "LoadTGA.h" MS MeshManager::_modelStack; Mesh* MeshManager::_meshList[GEO_DEFAULT_END]; MeshManager::MeshManager() { } MeshManager::~MeshManager() { for (int i = 0; i < GEO_DEFAULT_END; ++i) { if (meshList[i]) delete meshList[i]; } } void MeshManage...
7de0ada6c8d4d5d81910664510adabe69db5baff
90a79e8e00a315b7ae5b578e0761d1be32d9d0e3
/FloatingText.cpp
8b2b90799e23a8d462b1cef1c1f57fc880a0b764
[ "MIT" ]
permissive
matthias-christen/CdCoverCreator
bbe3043cdcedd87181ec14d8c532562af672c67a
edb223c2cf33ab3fb72d84ce2a9bce8500408c2a
refs/heads/master
2021-01-10T07:25:38.485319
2016-02-13T11:56:36
2016-02-13T11:56:36
51,643,109
0
0
null
null
null
null
UTF-8
C++
false
false
1,826
cpp
FloatingText.cpp
#include "StdAfx.h" #include "floatingtext.h" #include "MainFrm.h" IMPLEMENT_DYNCREATE(CFloatingText, CFloatingGraphicsObject) CFloatingText::CFloatingText(void) { // create the RTF m_pFormattedText = new CFormattedTextDraw (); m_pFormattedText->Create (); m_nContextMenuID = IDR_MENU_FLOATINGTEXT; }...
19a8c8fe45c8b125572272b6dfee095dca862b3a
0b8237f747576dce33a7641bb145da55a3018cb2
/lab4_question4.cpp
51234d8bbac5042df9d89d790a004193b2e5c6ad
[]
no_license
solarstorm123/Assignment-4
1add0cb19ed695ec5f67b4d4a20e31bf00de0f87
7801ac925865a9f933440dc0d972627472828503
refs/heads/master
2021-06-28T03:46:52.274006
2017-09-15T18:14:20
2017-09-15T18:14:20
103,686,945
0
0
null
null
null
null
UTF-8
C++
false
false
372
cpp
lab4_question4.cpp
#include <iostream> using namespace std; void even(int x) { if (x>=0) { if(x%2==0) cout<<"the number is even."; else {cout<<"the number is odd.";} } else{cout<<"entered number is invalid."; } } int main() { int x; cout<<"enter a positive integer."<<en...
00b49179ac0be62c3919c8d5b6b9d7f19e170165
d8e7a11322f6d1b514c85b0c713bacca8f743ff5
/7.6.00.37/V76_00_37/MaxDB_ORG/sys/src/SAPDB/DBM/Srv/SharedMemory/DBMSrvShM_BaseUnlocker.cpp
f3da1e2c7bd6e1eb9dcf85a0fa1e0726fee91a43
[]
no_license
zhaonaiy/MaxDB_GPL_Releases
a224f86c0edf76e935d8951d1dd32f5376c04153
15821507c20bd1cd251cf4e7c60610ac9cabc06d
refs/heads/master
2022-11-08T21:14:22.774394
2020-07-07T00:52:44
2020-07-07T00:52:44
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,256
cpp
DBMSrvShM_BaseUnlocker.cpp
/*! @file DBMSrvShM_BaseUnlocker.cpp @author MarcW @brief Base class for shared memory - for unlocking ========== licence begin GPL Copyright (c) 2003-2005 SAP AG This program is free software; you can redistribute it and/or modify it under the terms of the GNU ...
6084834df994f58f09ec7c7fd672387140601e96
6351ecaa77af56efefd72c7bd2250801dabb6679
/quadrat_avatar/Zwischenstand/zeichenfeld.h
977c11acacdbf2cece69d49afae3cf6e372432ad
[]
no_license
SoerenPoeschel/Qt-exam_game
43b601e6ec5d6e681e0543a0dcad7b0e00745051
1f4b8b5dbd8042f597886d1f0eff1d71708a4e8b
refs/heads/master
2020-03-30T23:27:23.827973
2018-10-10T16:36:09
2018-10-10T16:36:09
151,700,750
0
0
null
null
null
null
UTF-8
C++
false
false
383
h
zeichenfeld.h
#include <vector> using namespace std; #include <QWidget> class zeichenFeld : public QWidget { // Q_OBJECT public: zeichenFeld(QWidget *parent = 0); ~zeichenFeld(); private: //vector<QRect *> rects; unnรถรถtig, weil dumm vector<QPoint *> points; int playerX; protected: void paintEvent(QPain...
b0c70bc7c38bc506e4f542122ae80b910b0fe719
665cb80fdede0487e0a4635e0585d7eb9d2d8fb5
/programa9.cc
d08f004be97e1d0617128e22e63148ede09e4bc0
[]
no_license
FisicaComputacionalI/20171031-clase-anyyanel
74a5e955212ce87b33857c6ccee734149ac5bfc8
fede863de360e3723e5c29a9c6c15d8b79745f38
refs/heads/master
2021-05-07T21:39:06.631722
2017-10-31T19:56:43
2017-10-31T19:56:43
109,043,075
0
0
null
null
null
null
UTF-8
C++
false
false
593
cc
programa9.cc
//Any Yanel Morales Guevara //Calculando la edad promedio en que se graduara el grupo #include <vector> #include <iostream> using namespace std; int main(){ size_t talla=16; vector<int> edad(talla); int sum=0; for(int i=0; i<talla; i++){ ...
3576f007d15194ea18137d05262da947b35b6352
1f3ec3476070503417a626ed1fe9fb2d9bacfd21
/ignoredfilesdialog.cpp
00ab431b7ca17a49349b50c28d9516bb78f31192
[ "MIT" ]
permissive
geotavros/VpkCompare
273dc0ce973b10f549468f226ec8a267131c6bfd
c988efb8f3f5e4bf506e0061645f2feb44cb946d
refs/heads/master
2021-01-17T08:00:41.013621
2016-07-04T16:04:46
2016-07-04T16:04:46
25,733,681
9
2
null
2016-07-04T16:04:47
2014-10-25T14:14:58
C++
UTF-8
C++
false
false
1,493
cpp
ignoredfilesdialog.cpp
#include "ignoredfilesdialog.h" #include "ui_ignoredfilesdialog.h" #include "addignoredfiledialog.h" IgnoredFilesDialog::IgnoredFilesDialog(QWidget *parent, QStringList ignore_list) : QDialog(parent), ui(new Ui::IgnoredFilesDialog) { ui->setupUi(this); for (int i = 0; i < ignore_list.size(); ++i) {...
8f9c2482454015dbd2aabfaf32b9841d33181660
6276ee99caf2a4bfd5adeefa4e815a30b220075e
/algospot/์ง๋ฐ”๋ธŒ์›จ.cpp
1fea2ed6ca2a40e0cccfc0ddd2a93ae69bd72670
[]
no_license
RokwonK/Problem_solving
ba95b71aac0567e1d321484d2ffd9809c8b6654e
92bf77b93fcbe9102a18fc30a9d539276b06ffc5
refs/heads/master
2022-12-05T00:10:21.709831
2020-08-13T05:44:17
2020-08-13T05:44:17
210,171,514
0
0
null
null
null
null
UTF-8
C++
false
false
1,979
cpp
์ง๋ฐ”๋ธŒ์›จ.cpp
#include<iostream> #include<cstring> #include<string> #include<vector> #include<map> #include<algorithm> using namespace std; const int MOD = 1000*1000*1000+7; long long e; string str_e, sort_e; int m, n; int dp[1 << 15][20][2]; // less๊ฐ€ 0์ด๋ฉด ์•„์ง ๊ธฐ์กด e๋ณด๋‹ค ํฐ์ง€ ์ž‘์€์ง€ ๋ชจ๋ฅธ๋‹ค๋Š” ๊ฑฐ int solve(int index, int taken, int mod, int less)...
253e352a934b57a7b2b3c24b225a24e54b42aeed
cf49d925f90fbfd894478ecfd57cc49e1c90bc1c
/src/graphing_strategy.cpp
86d4e481c2bcdf6b8c4c2a65ad9ada2ca7fac262
[]
no_license
P-Dhruv20/Graphing-Calculator
e941c1574971d81628b0f66e534aa50a1252a568
7687983192cccfb295c7dd5dc92db273d11e85a9
refs/heads/master
2023-04-24T11:13:47.205050
2021-04-16T06:38:38
2021-04-16T06:38:38
356,142,199
0
0
null
null
null
null
UTF-8
C++
false
false
3,510
cpp
graphing_strategy.cpp
#include "../header/graphing_strategy.hpp" #include <iostream> #include <string> #include <vector> using namespace std; void GraphingStrategy::execute() { this->getUserInput(); while (this->inputIsValid(this->user_expression) == 0) { cout << "INVALID INPUT" << endl; this->getUserInput(); } this->graph(); }...
3ec99e1af73a4c65b0d6a5edb20af475ab5f8fc2
a33106f47736d22b737b342d7cbd5acc06fd9e8d
/src/textrender_frag.cpp
15e8ace445fc95a1a6a424bdedad2e60e8c154b3
[ "MIT" ]
permissive
0xABAD/glTools
0921f2c4b9c0398b33d7efe7013a5e71907f7771
e16a3fc18abb0b40cd40419fb081cf9a465674db
refs/heads/master
2021-05-29T17:26:12.271943
2015-08-23T22:34:15
2015-08-23T22:35:04
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,807
cpp
textrender_frag.cpp
// This file was generated by codegen.py // --null set -- 0x00 is appended at the end of the array #include <glt/textrender_frag.hpp> std::array<char, 285> glt::textrender_frag = { 0x23,0x76,0x65,0x72, 0x73,0x69,0x6f,0x6e, 0x20,0x34,0x35,0x30, 0x0d,0x0a,0x0d,0x0a, 0x69,0x6e,0x20,0x76, 0x65,0x63,0x32,0x20...
e291f3a68adb81970e0b35cabfcdafd94b0d4817
abb3b337d6dfe090d46860e72107356cb16fa128
/HRobotPressureSensorPrivateBase.h
2474a012955e7610830829950adf5ba5d1cdb43b
[]
no_license
a2824256/URtest
6bb5a976ef4e4ad10f731e3bb3c685fae79465ce
126991886e415e0a4702a36e85207f37c408ffd1
refs/heads/master
2023-03-21T00:34:58.543229
2021-03-02T07:44:11
2021-03-02T07:44:11
343,687,406
0
0
null
null
null
null
UTF-8
C++
false
false
706
h
HRobotPressureSensorPrivateBase.h
#ifndef HROBOTPRESSURESENSORPRIVATEBASE_H #define HROBOTPRESSURESENSORPRIVATEBASE_H #include <QObject> typedef struct HPressureInfoStruct { double ForceX; double ForceY; double ForceZ; double TorqueX; double TorqueY; double TorqueZ; } HPressureInfo; class HRobotPressureSensorPrivateBase : pub...
e6161e8c2b1e2a8e7b7454a578b5844cb1fcd222
d2af2477ac51fca468ea1e311a768dd6eaa30c3a
/super-knowledge-platform/skpServer/trunk/src/core/skpEventObject_p.h
fca87bf8d287da8ce5620d9c4cdc448b348d6c5b
[ "MIT" ]
permissive
yefy/skp
35f43fe8312a4418ae19e5eb4df08509753f6c5d
a9fafa09eacd6a0a802ea6550efd30ace79e4a4f
refs/heads/master
2021-01-10T01:06:11.511514
2016-04-07T08:15:06
2016-04-07T08:15:06
54,396,970
0
0
null
null
null
null
UTF-8
C++
false
false
571
h
skpEventObject_p.h
#ifndef SKPEVENTOBJECT_P_H #define SKPEVENTOBJECT_P_H #include "skpObject_p.h" #include "skpEventObject.h" enum EventType { EventTypeInit = 0, EventTypeStart, EventTypeStop, EventTypeFree, }; class SkpEventObjectPrivate : public SkpObjectPrivate { public: SkpEventObjectPrivate(); virtual ~SkpEven...
714a859bf277f7808aef38746eda53cc291fe443
87b516fa18600233bee4a0afee7f6db62c133aff
/Practicaa1.10.cpp
496c96d4a9e0853d67dd4c80be96a2468d74b560
[]
no_license
NachoCesa/UTN-C-
1999207bb82a83ab08f9a81f48fee27b922f3196
a17221c3d35c3b5d7787db3cf8b3ba464328ace5
refs/heads/master
2022-11-23T16:48:18.206851
2020-07-05T11:53:08
2020-07-05T11:53:08
null
0
0
null
null
null
null
WINDOWS-1250
C++
false
false
1,860
cpp
Practicaa1.10.cpp
//============================================================================ // Name : 10.cpp // Author : // Version : // Copyright : Your copyright notice // Description : Hello World in C++, Ansi-style //============================================================================ #include <iostr...
94687125c64e0f96c291a23650566bd464020d00
45eb0e938381864209dbab8df0564a5c2677821b
/sqlexec/sqlexec/sqlitedb.h
c5bbcf1dd900c266e8210721853fa64dd0cadb8c
[ "Apache-2.0" ]
permissive
vocky/NDSPoi
3a79d5ea0683e4d0188af79487f4bb7e4cbbd54a
7f1ea50d6fe8e8d4874cfa080881fd6bdb66fa9e
refs/heads/master
2021-08-30T04:40:11.706417
2017-12-16T02:45:38
2017-12-16T02:45:38
114,427,033
0
0
null
null
null
null
UTF-8
C++
false
false
1,515
h
sqlitedb.h
#ifndef SQLITE_DATA_BASE_H #define SQLITE_DATA_BASE_H #include "sqlite3.h" #include <string> #include "cursor.h" #include <vector> #include <stdint.h> namespace search { class SqliteDB { public: SqliteDB(); SqliteDB(const SqliteDB& db); SqliteDB& operator=(const SqliteDB& db); ~SqliteDB(); public: /** * @bri...
d26bf13ed1aa0b19413906b317f4153d99d5b80b
6f224b734744e38062a100c42d737b433292fb47
/libc/test/src/string/memmove_test.cpp
57ab0d40d33eaafc8f4bb81b4dca082258e27ad9
[ "NCSA", "LLVM-exception", "Apache-2.0" ]
permissive
smeenai/llvm-project
1af036024dcc175c29c9bd2901358ad9b0e6610e
764287f1ad69469cc264bb094e8fcdcfdd0fcdfb
refs/heads/main
2023-09-01T04:26:38.516584
2023-08-29T21:11:41
2023-08-31T22:16:12
216,062,316
0
0
Apache-2.0
2019-10-18T16:12:03
2019-10-18T16:12:03
null
UTF-8
C++
false
false
3,490
cpp
memmove_test.cpp
//===-- Unittests for memmove ---------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
8014aeb8e0cfb5e039d2e7efce2fc09ffb93309d
ae8f225a8eec24ab59fab966833b1ec1a0dac070
/include/control_systems/Elevator.h
29f740c2f9abdcfedf11a06b8b0ed1fbc006d2cc
[]
no_license
Team5712/DeepSpace_2019
434c2dcb6c9f2f99ed60a7a6823de962447a6db2
43efbe004a272c57fe3003cb7d29ee1fe0a569a9
refs/heads/master
2020-04-15T02:59:13.628234
2019-04-17T20:14:36
2019-04-17T20:14:36
164,331,482
1
1
null
null
null
null
UTF-8
C++
false
false
1,159
h
Elevator.h
#ifndef SRC_CONTROL_SYSTEMS_ELEVATOR_H_ #define SRC_CONTROL_SYSTEMS_ELEVATOR_H_ #include <cmath> #include <iostream> #include "frc/WPILib.h" #include "ctre/Phoenix.h" #include "rev/CANSparkMax.h" #include "AHRS.h" using namespace std; /** * this class will implement many of the basic functionalities of our drive ...
1793e3d8bce5034d263893ce5263b8b1e2aaef75
f4fecbb45ef912e7f761fb95300e74d0a4598828
/pushlibrary/src/main/cpp/jni_bridge.cpp
7755bd255cd3289a13819ab609c4186f02d867d5
[]
no_license
kmdai/Librtmp
08d302b3ce6e6588742782217f9373bd6ae9190a
79a15f50ddaf0106abcb1945b67c8a3aa5b38b2f
refs/heads/dev
2021-05-09T22:10:06.759366
2019-07-31T09:13:10
2019-07-31T09:13:10
118,743,680
4
2
null
2019-03-15T07:05:24
2018-01-24T09:35:06
C
UTF-8
C++
false
false
5,866
cpp
jni_bridge.cpp
// // Created by kmdai on 18-4-19. // #include "push_rtmp.h" #include "AudioRecordEngine.h" #include "push_rtmp.h" #include <functional> #include <string> extern "C" { AudioRecordEnginePtr audioRecordEnginePtr; #define SRS_ARRAY_ELEMS(a) (sizeof(a) / sizeof(a[0])) #define JNI_CLS_MANAGER "com/kmdai/rtmppush/LibrtmpM...
2b8b1d60b02871b44eddc98630809b1dd7298de3
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_5751500831719424_1/C++/psalios/repeater.cpp
04d18eb6ed1ffd128748cc9d329d136678903cfb
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
C++
false
false
2,261
cpp
repeater.cpp
#include<iostream> #include<cstdio> #include<cstring> #include<algorithm> #include<map> using namespace std; int N; string w[110]; int pos[110]; map<int,int> Q; int main(){ freopen( "repeater.in", "r", stdin ); freopen( "repeater.out", "w", stdout ); int T; cin>>T; for(in...
85e40aa01fc5ec572acb79ba54a224f6a854b7a4
5b22bf742e018a4fd35d5cf6affbd9aadd5df805
/ezNet/Network/Public/SocketFactory.h
fd0c638d64c4722c4d6b9d1f438169aa497169a8
[]
no_license
moritzrinow/ezNet
8bbc1428f13cdbc2780013780986f5240cfaefad
ec9fb79f68eb887081149b108b7548e737e1dd62
refs/heads/master
2020-03-25T19:06:03.386954
2018-08-17T09:32:50
2018-08-17T09:32:50
144,064,618
1
0
null
null
null
null
UTF-8
C++
false
false
632
h
SocketFactory.h
// Copyright (c) 2018 - 2018, Moritz Rinow. All rights reserved. #pragma once #include "ISocket.h" EZNET_BEGIN class SocketFactory; /* * Simple factory for creating and destroying ISocket objects. */ class SocketFactory { public: /* * Creates a blocking socket. */ static ISocket* CreateSocket(); /* ...
32d306c977c9efe30ca215dd93bbdba913b1961e
42499f23a86279d122710b1e6e5ef883766636b5
/src/landIce/evaluators/LandIce_AnalyticIceGeometry_Def.hpp
dac8df5b977dea478aa74d3329f5b1ac9821aaec
[ "BSD-2-Clause" ]
permissive
gahansen/Albany
4cd4de9ecd0ac0beed5857fa5150b61b5c73b5ba
4af7004bc1aaa8102dbdd1d116f30f581cbb0b82
refs/heads/master
2023-05-27T01:55:24.548529
2023-05-17T16:12:27
2023-05-17T16:12:27
168,227,296
7
4
NOASSERTION
2019-01-29T20:56:28
2019-01-29T20:56:27
null
UTF-8
C++
false
false
2,513
hpp
LandIce_AnalyticIceGeometry_Def.hpp
//*****************************************************************// // Albany 3.0: Copyright 2016 Sandia Corporation // // This Software is released under the BSD license detailed // // in the file "license.txt" in the top-level Albany directory // //**************************************...
9473809a2d1e29dd9ac826c5844b679180918948
1a5280acca9f7fee88bf7cb0e837e6c650878de0
/SchedulingAlgorithms/1-FCFS_SameArrivalTime.cpp
d1ce4a3f3d5069b45c377541704cc0aae47559c0
[]
no_license
sudhir98pal/OperatingSystems
38afe83181d7696ea0bb8240f1b31a5ad03b9619
f98327a9f283a7debe9e0f5191b4dc07593253ce
refs/heads/master
2023-01-24T17:09:10.927645
2020-11-24T08:42:32
2020-11-24T08:42:32
289,832,014
0
0
null
null
null
null
UTF-8
C++
false
false
2,922
cpp
1-FCFS_SameArrivalTime.cpp
/* First in, first out (FIFO), also known as first come, first served (FCFS), is the simplest scheduling algorithm. Completion Time: Time at which process completes its execution. Turn Around Time: Time Difference between completion time and arrival time. Turn Around Time = Completion Time โ€“ Arrival Time Waiting ...
d01b1197a1b8726fdc9ebcb8a7ffea731ab71d7a
cf3f075bd3504e6b8e3d2b3227cc242f0508a74a
/qmlcfmbusmulticfmdemo/base/common/qmlcfmbusmulticfmdemo_guns.hxx
1a9e299765e8e22e689418a4c2d9b2642504f99f
[]
no_license
liuzitong/demos
91e27a52186014788f47883c1205c50a6a137487
9afea1317cb88377752470ba7815f16cd6da23f8
refs/heads/master
2022-08-23T14:59:34.692652
2020-05-20T03:25:47
2020-05-21T05:51:42
265,776,097
0
0
null
null
null
null
UTF-8
C++
false
false
486
hxx
qmlcfmbusmulticfmdemo_guns.hxx
#ifndef QMLCFMBUSMULTICFMDEMO_GUNS_HXX #define QMLCFMBUSMULTICFMDEMO_GUNS_HXX #include <QString> namespace qmlCfmBusMulticfmDemo { // //////////////////////////////////////////////////////////////////////////// /*! * @brief global unique name stirng */ // ///////////////////////////////////////////////////////////...
73d6fed8ee84f9967d9fddc1a547041cb818ca3b
86daa852be47faa4b34ab16bfd8a2be09fa052fa
/OgrePong/source/object/Paddle.cpp
5d59d8719b86ea860c0638059f9eb7291e5594a3
[]
no_license
schen59/Pong
b4cef06f66e65f2d7238635608931f1429c44dcf
ddf29154734f0a78dae18a6695d09a96e7e07cf6
refs/heads/master
2021-01-23T09:29:34.316611
2014-02-27T07:52:01
2014-02-27T07:52:01
17,161,758
2
0
null
null
null
null
UTF-8
C++
false
false
640
cpp
Paddle.cpp
#include "include\object\Paddle.h" #include "include\object\MotionObject.h" #include "include\common\Properties.h" #include "OgreSceneManager.h" Paddle::Paddle(Ogre::SceneManager* sceneManager, Ogre::Vector3 dimension) : MotionObject(sceneManager, dimension, PADDLE_ORIGINAL_SPEED, PADDLE_DIREC...
10bdd4f78e9f94b982e17e88028890dbd07ba338
9aa3ac290b9abd8978187f728de18bf1f7736be2
/assignment_package/src/integrators/fulllightingintegrator.cpp
3df1d96d4bc7f950c5222915061d4ba99525cebe
[]
no_license
JerryYan97/CIS561_HW6
7459cd6463d653c677712b8ee102f8c726ff9caf
bdd149fffb1332524fe20aff586059706c6df482
refs/heads/master
2021-02-14T03:19:22.040497
2020-03-03T23:20:50
2020-03-03T23:20:50
244,761,891
0
0
null
null
null
null
UTF-8
C++
false
false
393
cpp
fulllightingintegrator.cpp
#include "fulllightingintegrator.h" Color3f FullLightingIntegrator::Li(const Ray &ray, const Scene &scene, std::shared_ptr<Sampler> sampler, int depth) const { //TODO return Color3f(0.f); } /* float BalanceHeuristic(int nf, Float fPdf, int ng, Float gPdf) { //TODO return 0.f; } float PowerHeuristic(i...
90cb4b83c3890961c17bc2eab580ce83274cb92b
617739c6346a41238e2ac29c9a9ef3b016b30bc5
/project-serendipity/bookinfo.hpp
436168bd148345df2d6f754fbe6db18588affd16
[]
no_license
oggunderscore/cs1b
3f87b67ee10c8c948c0f00a34f110dba91b0185b
06bf980ec7dff68b3a2a34c38a79a216b11897b3
refs/heads/master
2020-08-24T00:05:39.629284
2019-10-21T18:38:34
2019-10-21T18:38:34
null
0
0
null
null
null
null
UTF-8
C++
false
false
125
hpp
bookinfo.hpp
#ifndef BOOKINFO_H #define BOOKINFO_H #include "bookdata.hpp" void bookInfo(int index, bookType *books[]); #endif
f1906473bc5d91812db9ad43142dfb42b154de76
622df67006344be452e62f9b346ec438337f0cab
/algo/dp/test.cpp
c3924a81d5f9ad982822928cdf673aa7381ffb7f
[]
no_license
arpu-nagar/Coding
090981921cdeac70641fdb602ebfdad8b49d4867
ec71c039784d423eae67b3a5c070c21117771edc
refs/heads/master
2023-07-14T12:15:35.601131
2021-08-31T05:53:22
2021-08-31T05:53:22
252,650,938
0
0
null
null
null
null
UTF-8
C++
false
false
1,342
cpp
test.cpp
#include <bits/stdc++.h> using namespace std; template<typename T> void pop_front(std::vector<T>& vec) { assert(!vec.empty()); vec.front() = std::move(vec.back()); vec.pop_back(); } int main() { int t; cin >> t; for (int i = 1; i <= t; i++) { cout << "Case #" << i << ": "; string ...
1e85866dc32067010373f9adb6beaa8ab715ce90
7906db9e95711f119c4e0202c75f8abf756e7d47
/20160328/20160328/3_casting.cpp
b7380b0faa487dfad0f57ee3c7bd5bbffa9d0783
[]
no_license
kyo504/design-pattern
693d02e9040064feb7d898a53b620303f64b1a2a
e5c1bb3f8a592581f2c05fa0090d38301a9c56be
refs/heads/master
2016-08-10T01:18:09.224178
2016-04-26T00:42:54
2016-04-26T00:42:54
54,871,271
0
0
null
null
null
null
UHC
C++
false
false
1,141
cpp
3_casting.cpp
// 3_์บ์ŠคํŒ….cpp #include <iostream> using namespace std; // 1. C์˜ ์บ์ŠคํŒ…์€ ๋น„์ด์„ฑ์ ์ด๋‹ค. (์•ˆ์ „ํ•  ๋–„๋„ ์žˆ๊ณ  ๊ทธ๋ ‡์ง€ ์•Š์„ ๋•Œ๋„ ์žˆ๋‹ค) // 2. ๊ทธ๋ž˜์„œ C++ ๋Š” 4๊ฐœ์˜ ์บ์ŠคํŒ…์„ ์ƒˆ๋กœ ์ œ๊ณตํ•œ๋‹ค. // - static_cast: void* -> ๋‹ค๋ฅธ ํƒ€์ž… ๋˜๋Š” ์—ฐ๊ด€์„ฑ ์žˆ๋Š” ์บ์ŠคํŒ…๋งŒ ํ—ˆ์šฉ // - reinterpret_cast: ๋ฉ”๋ชจ๋ฆฌ ์žฌํ•ด์„ (ํ”Œ๋žซํผ ๋งˆ๋‹ค ๋‹ค๋ฅด๊ฒŒ ๋™์ž‘ํ•  ์ˆ˜ ์žˆ๊ธฐ ๋•Œ๋ฌธ์— ์ฃผ์˜ํ•ด์•ผ ํ•œ๋‹ค.) // - const_cast: ๊ฐ์ฒด์˜ ์ƒ์ˆ˜์„ฑ, ํœ˜๋ฐœ์„ฑ(volitile)์„ ์ œ๊ฑฐํ•˜๋Š” ์šฉ๋„๋กœ๋งŒ ์‚ฌ์šฉ // - dyna...
332076b13a2041d3fe71e938d9220c0f5fc3ddf3
cb4a6ece41f8183a73bfede55d4156e01743c848
/Solver.h
1f4982a15283ca5b444293ef580e47eab8f038e9
[]
no_license
davidwang501/OpenCVPocketCubeSolver
e4938d80ad8e2dba53c30fa7cb2c940c9027c343
946630f42d28bfc41d448b0ba0a93eb0ff7180ab
refs/heads/master
2020-04-17T16:45:29.841544
2019-01-21T05:37:06
2019-01-21T05:37:06
166,754,186
1
0
null
null
null
null
UTF-8
C++
false
false
983
h
Solver.h
// // Solver.h // finalProject2 // // Created by David Wang on 12/10/18. // // #ifndef __finalProject__Solver__ #define __finalProject__Solver__ #include <stdio.h> #include <vector> #include <string> #include <iostream> #endif /* defined(__finalProject__Solver__) */ class Solver{ public: //construc...
a295a21890fcb922e107e1874f36c13be8e3957d
180ef8df3983b9e5ac941e6c491cc5c8747bd512
/leetcode/algorithms/c++/Divide Two Integers/Divide Two Integers.cpp
58b37de91852183a849dd4ee41d1761f2c286969
[]
no_license
withelm/Algorytmika
71f098cb31c9265065d2d660c24b90dd07a3d078
4c37c9b2e75661236046c2af19bb81381ce0a522
refs/heads/master
2021-12-09T12:58:45.671880
2021-08-22T08:03:04
2021-08-22T08:03:04
10,869,703
0
0
null
null
null
null
UTF-8
C++
false
false
1,220
cpp
Divide Two Integers.cpp
class Solution { public: int divide(long long int dividend, long long int divisor) { bool isMinus = false; if (dividend >= 0 && divisor < 0) isMinus = true; if (dividend < 0 && divisor >= 0) isMinus = true; if (dividend == -2147483648 && divisor == -1) ...