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
32f4610f10428a23a9710f6f60c898f73765e459
0b5783e341734e3c531a67c90c7d43eefaf89b9a
/code/render/coregraphics/memoryvertexbufferpool.cc
850b613fbfb03eed877ed0b1168b1668f9d68a24
[ "BSD-2-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
zhouxs1023/nebula
5f120d6af8fe4052b3216cda4a0da105a3623ada
75168007627d4a1149518a57a9ca94c4e917c02f
refs/heads/master
2020-06-19T14:27:23.832916
2019-07-11T13:57:53
2019-07-11T13:57:53
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,016
cc
memoryvertexbufferpool.cc
//------------------------------------------------------------------------------ // memoryvertexbufferloader.cc // (C) 2007 Radon Labs GmbH // (C) 2013-2018 Individual contributors, see AUTHORS file //------------------------------------------------------------------------------ #include "render/stdneb.h" #include "...
4784b92612d0ebed81be0119c0d14c749905cd4c
6c6bb201c0dce86a053dfb9f4e8b2f26d0892fca
/filterdebtshistory.h
d755662aa80c71187df2e9e0eb1821497d00f1a6
[]
no_license
End1-1/FlashCards
076481f5bb263e42beba879be4612c7c279de2be
e8609f440894dd4eab389397c0db91af0abfc896
refs/heads/master
2022-11-07T18:39:02.336469
2022-10-17T21:22:47
2022-10-17T21:22:47
251,817,501
0
0
null
null
null
null
UTF-8
C++
false
false
542
h
filterdebtshistory.h
#ifndef FILTERDEBTSHISTORY_H #define FILTERDEBTSHISTORY_H #include "c5filterwidget.h" namespace Ui { class FilterDebtsHistory; } class FilterDebtsHistory : public C5FilterWidget { Q_OBJECT public: explicit FilterDebtsHistory(QWidget *parent = nullptr); ~FilterDebtsHistory(); virtual QString conditio...
b33c63ae4d42b1c51bc4747ce7b742e585561fe7
505fe6355b8442eb7fb62ee103b6f34da26db0c7
/src/Waypoint.cpp
877fa8e85a7bd7f47050a41b63f7d768bf96238e
[ "MIT" ]
permissive
fatihgulakar/TrafficSimulator
7874312cc06c8c0ffd84493067316b5abc0032b3
80166ec5450bd5d7e542c6fc00429a72c12cf5c3
refs/heads/master
2023-01-02T18:55:01.598343
2020-10-08T12:55:17
2020-10-08T12:55:17
296,675,662
3
1
null
null
null
null
UTF-8
C++
false
false
3,899
cpp
Waypoint.cpp
#include "Waypoint.h" Waypoint::Waypoint(tWaypointDir dir, tRoadTileType type, int row, int col, int idx, int next1, int next2, int next3) { std::cout << "Waypoint object is initialized" << std::endl; this->next1 = next1; this->next2 = next2; this->next3 = next3; this->dir = static_cast<int>(dir); ...
ff7a97c41d9b9caa4daf68cc9afe28536106b65b
ede27af111a24fb36550c4e943e8ca4324ae9a64
/Server/SR/SR_Sender.cpp
9ccc8bb54f2df3d99c35cae7834eea53e9dcbf4a
[ "MIT" ]
permissive
shawnvision7264/tcp-protocol
e959c0d22a55afa1c55cb21706db824b7943d7eb
7011195b529dbcb0761d2b1d0131bdb209c1365d
refs/heads/master
2021-03-17T08:52:43.740455
2019-01-25T06:59:04
2019-01-25T06:59:04
null
0
0
null
null
null
null
UTF-8
C++
false
false
5,191
cpp
SR_Sender.cpp
// // Created by Amr Hendy on 08/12/2018. // #include "SR_Sender.h" SR_Sender::SR_Sender(int socket_fd, string file_name, double loss_prob, int seed_number, struct sockaddr_in client_socket): sender(client_socket), reader(file_name){ SR_Sender::socket_fd = socket_fd; SR_Sender::file_path = file_name;...
3a1d0245bb045c331d359404fe750e530eab71f4
483255eebf46a12460a9349fdfb78a5e7d1c1048
/developers/PotentialFlow/mastersolution/potentialflow.cc
11f0fba7a1a819ed57402125b27a08bd7f4a9f00
[ "MIT" ]
permissive
erickschulz/NPDECODES
5460331cb4c608ff922658c9beb1e31b4b6c9b2e
47b4fe6d60640a10bfe0ed085d67a3ccdadac831
refs/heads/master
2023-05-03T09:46:22.047387
2023-05-01T07:27:10
2023-05-01T07:27:10
184,058,364
32
64
MIT
2023-04-28T14:58:23
2019-04-29T11:28:34
C++
UTF-8
C++
false
false
3,586
cc
potentialflow.cc
#include <Eigen/Core> #include <Eigen/Sparse> namespace PotentialFlow { /* SAM_LISTING_BEGIN_1 */ Eigen::SparseMatrix<double> initializeA(unsigned int M) { // For the sake of efficiency the use of Eigen's sparse matrix data type is // essential. The matrix is stored in CCS format. Eigen::SparseMatrix<double> A(...
5fc9caf1e5ec4bd44aa985975c955860278f4117
8778bed3d657bc14278e978a1ab56cbaa02596f3
/codeMonk.cpp
3ee4b601b34e5c33a07585afc2789522ca94c09e
[]
no_license
raysayantan/HackerEarth
69bca41a2334e8aab2ef1501222328d1fa7ef806
ccd097f5efb806c3f06bc98838f7dd01fbef0655
refs/heads/master
2021-04-23T12:03:42.696666
2020-03-25T08:30:03
2020-03-25T08:30:03
249,924,007
0
0
null
null
null
null
UTF-8
C++
false
false
1,701
cpp
codeMonk.cpp
/* Monk loves cycling. He wants to buy his favorite bicycle costing P dollars. But his father won’t give him the money so easily as he wants Monk to understand the importance of money. So they made a deal. Monk starts with Zero dollars in his piggybank. On each day, Monk will go to another city where God of Money live...
03ded94530f07a44db6a909b7cf52ed60cb871b7
5e3154c2629d87442f5b5038596c4ab627b6708c
/ext/ogremovableobjectlistener.cpp
1ae85f3ef501ac2dba5ce6fc6d33caddff2bd76b
[]
no_license
RavensKrag/libogre-ruby
ac762d168d8375f6491853ac3ae62ca45fe8fc8b
5259348f58e046fa8f7e82e4bfcc65fc31945923
refs/heads/master
2021-01-17T08:46:30.192069
2012-09-20T21:32:56
2012-09-20T21:32:56
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,258
cpp
ogremovableobjectlistener.cpp
#include "ogremovableobjectlistener.hpp" #include "ogremovableobject.hpp" VALUE rb_mOgreMovableObjectListener; std::map<VALUE,RubyMovableObjectListener*> movableObjectListenerHolder; template <> VALUE wrap< RubyMovableObjectListener >(RubyMovableObjectListener *obj ) { return obj->mRuby; } template <> VALUE wrap< ...
ec65c71e6657a4ef9af4cea16c0b70bfab150714
0cfea5cdfcd12f6fddb3b2dcb86229b1a8889c93
/1D.cpp
d88b22ee41850160c351a17c7c2bc0c6e4fb025b
[]
no_license
joeyuan19/Traffic
b1e2e52561f96acdfdc0ffe0bbf678a02e67bd9a
3b1919567dd3420811fad80788c07b67a66ef736
refs/heads/master
2020-04-04T22:48:26.317183
2018-11-06T06:28:40
2018-11-06T06:28:40
156,336,620
0
0
null
null
null
null
UTF-8
C++
false
false
12,523
cpp
1D.cpp
#include <iostream> #include <stdlib.h> #include <stdio.h> #include <math.h> #include <random> #include <SDL2/SDL.h> #define PI 3.141592653589793238 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 1D traffic simulator * To Do: * ...
cc0ad04fa90e1c1d38dadfd1ea6dc7e691b4a607
bc952d7c5dcf39876d5b1b1ad46a9ede8c84e1df
/mindspore/lite/src/runtime/kernel/arm/nnacl/winograd_utils.cc
3ee722d4ec356097e126afc2d5eefad1773591a6
[ "Apache-2.0", "Libpng", "LGPL-2.1-only", "MIT", "IJG", "Zlib", "BSD-3-Clause-Open-MPI", "AGPL-3.0-only", "MPL-2.0-no-copyleft-exception", "MPL-1.0", "MPL-1.1", "MPL-2.0", "LicenseRef-scancode-unknown-license-reference", "GPL-2.0-only", "Unlicense", "LicenseRef-scancode-proprietary-lice...
permissive
dilingsong/mindspore
f69c88ebc773bb6eaf88162bd038e807f84633bc
4276050f2494cfbf8682560a1647576f859991e8
refs/heads/master
2022-12-01T12:23:13.490558
2020-08-10T09:16:27
2020-08-10T09:16:27
286,463,866
1
0
Apache-2.0
2020-08-10T12:06:08
2020-08-10T12:06:07
null
UTF-8
C++
false
false
263,581
cc
winograd_utils.cc
/** * Copyright 2020 Huawei Technologies Co., Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
65dee9e43008e4af93e2816f214f859ce06a6ac4
cd0515449a11d4fc8c3807edfce6f2b3e9b748d3
/src/yb/tserver/tserver_shared_mem.h
38a8ed139fb5e6bfc17888303ac3f5e2609dfc7a
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0", "OpenSSL" ]
permissive
wwjiang007/yugabyte-db
27e14de6f26af8c6b1c5ec2db4c14b33f7442762
d56b534a0bc1e8f89d1cf44142227de48ec69f27
refs/heads/master
2023-07-20T13:20:25.270832
2023-07-11T08:55:18
2023-07-12T10:21:24
150,573,130
0
0
Apache-2.0
2019-07-23T06:48:08
2018-09-27T10:59:24
C
UTF-8
C++
false
false
4,263
h
tserver_shared_mem.h
// Copyright (c) YugaByte, Inc. // // 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 agreed to in writ...
5a6c24ef098231ed368d2bab37ac2cc569d389be
44153651106dc162fe74b480279c6c9e7475b1f1
/svrmenuwin.cpp
2b0e52de110287723882f81192ca042b5b71a69d
[]
no_license
Maazhou/databaseProject
84c62bea8947da90abf3fc5963aa963a098f428f
8d3e4e76ae928f0692a27ace214a7865dcdb0403
refs/heads/master
2020-08-29T15:59:40.146047
2018-06-18T12:28:52
2018-06-18T12:28:52
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,247
cpp
svrmenuwin.cpp
#include "svrmenuwin.h" #include "ui_svrmenuwin.h" svrMenuWin::svrMenuWin(QString uid,QWidget *parent) : QMainWindow(parent), ui(new Ui::svrMenuWin) { this->uid=uid; ui->setupUi(this); InfoModel = new QSqlTableModel(this); InfoModel->setTable("SVRMenu"); InfoModel->select(); ui->tableV...
3a92c9a6cc7c378b1555d21269212d8ccf6e8c8e
1271159bcfef693d9d251d2ad043e756a2ccea04
/src/hardware.hpp
c8d56ff5eec421f01b91a9128d801f0fe7817258
[ "BSD-3-Clause" ]
permissive
strongly-typed/nrf-beacon
94f116a9a2cea45e3e548622ae9606a490b197f8
78d0887a60f9ed4daa80559e58c974ae51d41ede
refs/heads/master
2021-01-18T00:03:55.140076
2015-03-11T19:37:15
2015-03-11T19:37:15
32,170,750
0
0
null
2015-03-13T17:34:33
2015-03-13T17:34:31
Eagle
UTF-8
C++
false
false
2,594
hpp
hardware.hpp
#ifndef HARDWARE_HPP #define HARDWARE_HPP #include <stdint.h> #include <xpcc/architecture.hpp> #include <xpcc/processing.hpp> using namespace xpcc::stm32; typedef SystemClock<Pll<ExternalClock<MHz12>, MHz72> > defaultSystemClock; constexpr uint32_t UartSpeed = 115200; constexpr uint32_t SpiSpeed = 9000000; ...
677cb9b5ee802e985c1695cbd2cf4a0138c60ba0
119b571e103d1dcab59f44dbb6ed6a8c866dfa0c
/src/globals/test_support.hpp
1e2400c3d9a73cb8289478a3be2947528a6670de
[ "Apache-2.0" ]
permissive
guimuguo/GPU_graph_mining
84f6bc38c4e300bd8d899b867f45c2acfeddb743
22ba73bea97533ed6b2af613bd263ef4d869e71a
refs/heads/master
2022-04-24T03:36:06.959973
2020-03-28T02:34:03
2020-03-28T02:34:03
null
0
0
null
null
null
null
UTF-8
C++
false
false
299
hpp
test_support.hpp
#ifndef __TEST_SUPPORT_HPP__ #define __TEST_SUPPORT_HPP__ #include <graph_types.hpp> namespace gspan_cuda { types::graph_database_t get_test_database(); types::graph_database_t get_labeled_test_database(); types::graph_database_t get_labeled_test_database2(); } // namespace gspan_cuda #endif
d74cc90f1cbaa6fa712bb2c2de05c56f3a2b5d74
ec2de16739cd71afef4a632a606e83444daf21b1
/DevC++/Code power/To hop.cpp
c11ea6454efa34b0c4ef78e16cbc6c6810ff2005
[]
no_license
minhcongnguyen1508/Code-Java-C--UET
f96bc409c720cb80aaa2f96da81b3870e0937292
24c8018fac67479e0fc01c2068c9ee1a7a700311
refs/heads/master
2020-04-22T00:21:17.478448
2019-02-10T12:58:07
2019-02-10T12:58:07
169,976,733
0
0
null
null
null
null
UTF-8
C++
false
false
547
cpp
To hop.cpp
// # include <iostream> # include <algorithm> # include <string> # include <vector> using namespace std; struct capso{ int a; int b; void input(){ cin>> a >> b; } }; long long giaithua(int n){ if(n <= 1) return 1; else return n*giaithua(n-1); } long long tohop(int n, int k){ return giaithua(n)/(giaithua(k)*g...
0dbc65a663eb5960d7605d61551b76aecb53dd83
b331035be4608894ec8c85bd2fa52a847466f8ca
/Codeforces/488A - Giga Tower.cpp
a953cb728d332ad02313a27b93def377d2e2ebfb
[]
no_license
EslamTK/Problem-Solving
e6c465ae87e07d3c304af4fbf190f0000f7c2087
db8fec619b18467190ffa31bfe843d02d7ce4c5f
refs/heads/master
2021-05-04T22:27:19.507494
2018-02-02T22:10:35
2018-02-02T22:10:35
120,036,824
0
0
null
null
null
null
UTF-8
C++
false
false
493
cpp
488A - Giga Tower.cpp
#include <iostream> #include <sstream> using namespace std; int main() { long long n,res=0; string Temp=""; cin >> n; for(;;) { string Temp=""; stringstream ss; ss << n; ss >> Temp; if(res>0) { for(int i=0;i<Temp.size();i++) { ...
86708bec8bd56ef593d17ec68c9ef8baa3654083
730304a54837bf3db66850f67732426f655cec09
/src/c/Match.cpp
a3451281aa712e752c9b6c7b84dee9c36f388831
[]
no_license
wolski/bibliospec2.0
594e852dccad921ad9efe9c55c8616c0fd125f7b
c3a9b5d155e9c02fa0b7e9f1dcb15346dd78ee31
refs/heads/master
2021-01-10T01:54:58.755873
2015-09-28T11:16:59
2015-09-28T11:16:59
43,296,719
0
0
null
null
null
null
UTF-8
C++
false
false
4,450
cpp
Match.cpp
/* Copyright (c) 2011, University of Washington 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 co...
70e433871550f8645df87bb9448b69b68e44d9c8
de9303cfeef474624a29b77f8d97f67a784f702d
/错排问题.cpp
96fe02f827ae4f1ee3c09448a432626c06f727ea
[]
no_license
CamphorMiss/exercises
63c9a61387054fa9f7c8ff9e8eecb09f05d8b5f6
7ea8c2e71ecfcad95a1862a727c88e43a8971e79
refs/heads/master
2021-01-13T18:53:55.194430
2020-08-23T15:27:46
2020-08-23T15:27:46
242,463,204
0
0
null
null
null
null
WINDOWS-1252
C++
false
false
269
cpp
错排问题.cpp
#include<iostream> using namespace std; int main() { int n=0; long arr[20]={0,1}; for(int i=2;i<20;i++)//´íÅÅÎÊÌâ arr[i]=i*(arr[i-1]+arr[i-2]); while(cin>>n) { cout<<arr[n-1]<<endl; } return 0; }
2a64a22d8b06910c8a5088e09f82e25c1b8e14a7
80905de6967289121afcfece1c68ea3f23011204
/Searching/Jump/Jump/Source.cpp
acf37e0bb05ba343695dbb0a2e493bf7e4c713bb
[]
no_license
BohdanBBG/C-_and_basics
953479948e43461c69ac37770edea260292881d6
db169932152576c58f20aedc75b553a716d59948
refs/heads/master
2020-03-28T21:16:02.174547
2018-10-23T12:34:34
2018-10-23T12:34:34
149,142,735
2
0
null
null
null
null
UTF-8
C++
false
false
842
cpp
Source.cpp
#include<iostream> #include"Jump_search.cpp" #include"Sort.cpp" #include<ctime> using namespace std; const int CONSIZE = 10000; int main() { //int arr[CONSIZE] = { 3,5,2,4,1,2,6,2,7 }; //int arr[CONSIZE] = { 1,2,2,2,5,6,7,8,9 }; int arr[CONSIZE]; int searchesElement = 2; for (int i = 0; i < CONSIZE; i++) { ...
a343eb6b42c2f8260ec9f813e8a7dbae4bf98912
100e569b1336dbaf1f56fe3bd4694c7b640bf6a7
/动态规划/1-4.cpp
6e2c838d248adedd786d83748e62d89ec2d486c8
[]
no_license
SeekingMini/Algorithm-Repositary
dc726cd60d24e180bd38b690a190847a6698cd87
95409508f225af8520c14dcc49e9bd1340dd97b7
refs/heads/master
2023-02-07T23:59:31.967291
2020-12-31T02:05:14
2020-12-31T02:05:14
274,665,131
0
0
null
null
null
null
UTF-8
C++
false
false
777
cpp
1-4.cpp
/* * 题目:除数博弈 * 链接:https://leetcode-cn.com/problems/divisor-game/ */ #include <vector> #include <iostream> using namespace std; bool divisorGame(int N) { if (N == 1) return false; if (N == 2) return true; // dp[i]表示当数字为N时。爱丽丝是否能赢。 // 如果赢,dp[i] = 1; // 如果输,dp[i] = 0。 vector<...
b0482d90d818a0c502b0851c802f15bc4ff4aa86
2a8a90b78f18e87c0049acb094482867756cbfff
/test/adiar/internal/data_types/test_node.cpp
4e6cbbbda52faf20451273a91509add80fd60de6
[ "MIT", "LGPL-3.0-only" ]
permissive
SSoelvsten/adiar
1823a33b4029f5e31bb9e907073fc362d2993d2e
2f95ca23e2bcc56e53c93fc331bde8f3651bb2e9
refs/heads/main
2023-08-31T03:28:15.201698
2023-08-29T14:55:44
2023-08-29T15:04:39
248,442,086
16
13
MIT
2023-08-11T17:42:02
2020-03-19T07:51:58
C++
UTF-8
C++
false
false
15,204
cpp
test_node.cpp
#include "../../../test.h" go_bandit([]() { describe("adiar/internal/data_types/node.h", []() { describe("node", [&]() { const ptr_uint64 terminal_F = ptr_uint64(false); const ptr_uint64 terminal_T = ptr_uint64(true); it("should be a POD", [&]() { AssertThat(std::is_pod<node>::value, I...
d3946611797f80dcf0183501f92940c2430f6c0f
cd4273d6a2dfab0001143c0e702f670cae8851aa
/hw3/HW03_111044050/Vect3D.h
50c3962e3f586a24d7dc80b646843c4f7a1b540c
[]
no_license
sametsalikci/CSE241_Object_Oriented_Programming
cb8bb141409f5f11258148575338f793bae17cc7
808672d27a2db0b5d5d76b7520b254fbf889024f
refs/heads/master
2020-12-31T04:28:48.796799
2016-03-05T04:47:54
2016-03-05T04:47:54
53,183,653
0
0
null
null
null
null
UTF-8
C++
false
false
1,068
h
Vect3D.h
/* # NAME : MEHMET NAZHAR SALIKCI # NUMBER : 111044050 # HOMEWORK : 03 */ /* * The vector class and this class componenets and * these components are processes that are related to */ class Vect3D { public: Vect3D(double,double,double);//three parameter constructor Vect3D(double,double);//two parameter constructor Ve...
61273ae5d447a8f6619278ea11eab85d6f508818
a5f3445526d8633bf378d08214f2a4b4bad184c9
/src/PathPlanner.cpp
092b26d6cbb25792845dbd93977b459945a226c4
[ "MIT" ]
permissive
RaulDa/CarND-Path-Planning-P11
d9c3c4a973c8e3eabf7d4056bcacbcab7cd41ad7
db268bbe5c114029b5bb847dd62fb04a0511a64f
refs/heads/master
2020-03-18T18:20:30.236022
2018-09-16T07:01:31
2018-09-16T07:01:31
135,086,152
0
0
null
null
null
null
UTF-8
C++
false
false
23,036
cpp
PathPlanner.cpp
/* * PathPlanner.cpp * * Created on: May 26, 2018 * Author: Raul Davila / Udacity */ #include "PathPlanner.h" #include "spline.h" #include <vector> #include <math.h> #include <iostream> using namespace std; // For converting back and forth between radians and degrees. constexpr double pi() { return M_PI; } d...
22e85b4f1ae5fb8350bb63194ad2c8de88ac5c6f
81b9b8ae0e9cc6cf320a95cf373594599d81fe12
/Tools/Delta/DebugLib/Testing/DdebugTest.cpp
f3437df0075982ff31addfd1326c3c9d4d47a114
[]
no_license
mouchtaris/delta-linux
1041b9dcc549bda2858dcedbc61087bb73817415
cca8bd3c1646957cb3203191bb03e80d52f30631
HEAD
2016-09-01T19:28:43.257785
2014-09-02T05:00:54
2014-09-02T05:00:54
23,297,561
1
0
null
null
null
null
UTF-8
C++
false
false
686
cpp
DdebugTest.cpp
#include "ddebug.h" #include "usystem.h" #include <string> static FILE* fp; static void onerror (const char* s) { fprintf(fp, "%s\n", s); } int main (int argc, char** argv) { fp = fopen("derror.txt", "wt"); dinit(onerror); DSTARTLOGGING("memorylog.txt"); unsigned* pi = DNEWARR(unsigned, 10); std...
f899bf72a514249ced3a000138c329f416105dce
b1b1ce6cf45f64ffb0968d78de37185561fdcfd6
/encode-string.hpp
8deb9f577e83119c2fbe220ad97dba2c7d65e907
[]
no_license
Cory-Summers/Compilers-Assignment-1
8ba81dabb8b10717d91f9d9912404cf7d1c545ad
281303057bf88cde1a24b5e95ce543a72428cdf6
refs/heads/master
2023-02-23T09:45:45.402133
2021-02-03T04:01:51
2021-02-03T04:01:51
335,501,857
0
0
null
null
null
null
UTF-8
C++
false
false
283
hpp
encode-string.hpp
#ifndef ENCODE_STRING_HPP #define ENCODE_STRING_HPP #include <string> namespace parser { std::string EncodeString(const char * str); std::string EncodeString(const char * str, std::size_t const & length); char EncodeChar(const char * str, std::size_t const & length); } #endif
5948759542de95069b2c556c59e6b65edd5a359f
46bef6aa975e8f90b7a1b164c4eab2387211f2a4
/src/action_bridge_fibonacci.cpp
f12c80a34e08e81e50d240599488761c0b99f964
[ "Apache-2.0" ]
permissive
ben-greenberg/ros1_action_bridge
50155d3274b2b94178191ffa10b06f8fc57da579
a267c87868ed7ce8b62775109a3f3118fdfa1b97
refs/heads/master
2021-07-11T04:00:25.864079
2020-10-14T19:43:50
2020-10-14T19:43:50
205,458,669
0
5
Apache-2.0
2020-09-17T22:26:16
2019-08-30T21:24:35
C++
UTF-8
C++
false
false
1,933
cpp
action_bridge_fibonacci.cpp
// Copyright 2019 Fraunhofer IPA // // 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 agreed to ...
f95063e7ac183815735e0da85b15d0c7014ca461
35e79b51f691b7737db254ba1d907b2fd2d731ef
/AtCoder/ABC/002/C.cpp
4b2ee2d11f6649b1cc849f99d374c94dc4056dd9
[]
no_license
rodea0952/competitive-programming
00260062d00f56a011f146cbdb9ef8356e6b69e4
9d7089307c8f61ea1274a9f51d6ea00d67b80482
refs/heads/master
2022-07-01T02:25:46.897613
2022-06-04T08:44:42
2022-06-04T08:44:42
202,485,546
0
0
null
null
null
null
UTF-8
C++
false
false
377
cpp
C.cpp
#include<bits/stdc++.h> using namespace std; typedef long long ll; typedef pair<int, int> P; int MOD = 1e9 + 7; ll INF = 1e18; int dx[] = {1, -1, 0, 0}; int dy[] = {0, 0, 1, -1}; int main(){ int xa, ya, xb, yb, xc, yc; cin>>xa>>ya>>xb>>yb>>xc>>yc; xb -= xa, yb -= ya, xc -= xa, yc -= ya; cout << fixed <...
775f2af981e13d2dc7046a317f49081458c098e4
57487214c7ffcdbe7770cec69bfa12fcd4bfef5d
/src/sgevollib/to_ppm.hpp
9e8f00367860551778ef61ca6af9e47a946cdb02
[]
no_license
nmeyering/sgevol
0bb6811a76c972270006ba957b37ad247686f7bf
d24eff2d662768f96e6a1d78139dcdaa0c2454d1
refs/heads/master
2016-08-04T10:51:13.350487
2012-04-25T12:34:18
2012-04-25T12:34:18
1,242,641
0
0
null
null
null
null
UTF-8
C++
false
false
1,201
hpp
to_ppm.hpp
#ifndef SGEVOLLIB_TO_PPM_HPP_INCLUDED #define SGEVOLLIB_TO_PPM_HPP_INCLUDED #include <fcppt/container/grid/object.hpp> #include <fcppt/math/dim/basic_impl.hpp> #include <fcppt/config/external_begin.hpp> #include <boost/type_traits/is_unsigned.hpp> #include <boost/type_traits/promote.hpp> #include <boost/utility/enable_...
171fd7d8e44f6a0063a9986908fb17bfff0fa21a
b78c02c4dd2bf3671173f115e4f401f24f3024d7
/exercise14/source/FriendFunctions/Stack.h
5a55216521088697d5533bc736213e01feecb622
[]
no_license
ZdravkoHvarlingov/FMI-Object-oriented-programming
502d22862fca83104c9f6a4f7a765ea594464220
4646f4c7d3a433a2f7866c875169fd9cbb7720f9
refs/heads/master
2020-04-23T16:55:49.594377
2019-06-05T11:09:02
2019-06-05T11:09:02
171,314,834
1
0
null
null
null
null
UTF-8
C++
false
false
380
h
Stack.h
#pragma once #include <vector> #include <iostream> namespace dataStructures { class Stack { public: int top() const; void pop(); void push(int num); bool empty() const; int size() const; friend std::ostream& operator<<(std::ostream &out, Stack &st); friend std::istream& operator>>(std::istream &in, ...
1546abfcef85ee8c0e579985297d07ba87e70b25
f2d0e1552d34baf482ccd6d825d3f142bd3be075
/src/takoyaki/dx12/dx12_context.h
1b308fe2112778d53ff809ecf2ff17f908ca7fcf
[ "MIT" ]
permissive
kittikun/takoyaki
27fe58331292fcf12d90f33b5fb6e98569071c93
fc949bdb8f9a8dc9e6cc5157b02308c180acc96c
refs/heads/develop
2021-01-17T09:27:02.251267
2016-03-30T14:15:22
2016-03-30T14:15:22
38,558,858
2
1
null
2015-11-07T21:53:51
2015-07-05T06:09:59
C++
UTF-8
C++
false
false
6,237
h
dx12_context.h
// Copyright(c) 2015-2016 Kitti Vongsay // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files(the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge, publi...
e14b727171134f7a8faf02e10b3f3dc072f739ab
eac4499ec64f4a10b0d7aae92fe8bc2038e68c29
/hw-gmail/Pusher.cpp
dd30a2e4b2ca9cf1fcb243b984425c79bfc669fb
[]
no_license
xiedantibu/alarme
e48ce5eb378888fea72f5ff90022e3e7f01907d9
eb75b3a39a9fd0df923e958b7d52b5bebda0fe17
refs/heads/master
2021-01-17T22:38:25.720780
2012-11-16T22:50:00
2012-11-16T22:50:00
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,171
cpp
Pusher.cpp
/* * Alarme Project for Google HackFair 2012 in Seoul * Arduino hardware alarm sketch * * Kwanlae Kim <voidopennet@gmail.com> * Chanseok Yang <huewu.yang@gmail.com> * Jinserk Baik <jinserk.baik@gmail.com> * Wonseok Yang <before30@gmail.com> * * Copyright (c) 2012, all rights reserved. */ #includ...
e59ab0bc048e5050c401ae8b31641275a783ee7c
a9ab72c3dd7fdfe8b6e0b1b5e296bf4c39b9989d
/round3/leetcode300.cpp
11586ce47b779c3895b848d466fcc00873dc0e64
[]
no_license
keqhe/leetcode
cd82fc3d98b7fc71a9a08c5e438aa1f82737d76f
86b2a453255c909f94f9ea3be7f2a97a6680a854
refs/heads/master
2020-12-24T06:38:15.444432
2016-12-07T19:15:02
2016-12-07T19:15:02
48,405,123
0
0
null
null
null
null
UTF-8
C++
false
false
668
cpp
leetcode300.cpp
class Solution { public: //let dp[i] denotes the length of LIS ending at nums[i] (ie, must include nums[i]) int lengthOfLIS(vector<int>& nums) { if (nums.empty()) return 0; vector<int> dp(nums.size(), 1); //? int maxLen = 1; for (int i = 0; i < nums.size(); i ++) { ...
8743c0f39c6c00078b257619c1bd0c948619c13b
c7eed60e0fcee86f548e0ee9b827343837e47058
/36.cpp
30f392c11dc7680a309527c6d1e23c296226d560
[]
no_license
Lethe0616/day-by-day
9483fff32f3723e61b095910cf2023501e3a02c2
c5a6662b3ef7e004dc26883dac9eb57e31bd0f27
refs/heads/master
2020-09-04T12:36:16.760812
2020-04-18T11:44:24
2020-04-18T11:44:24
219,733,878
0
0
null
null
null
null
GB18030
C++
false
false
1,466
cpp
36.cpp
/* 计算两个字符串的最大公共字串的长度,字符不区分大小写(要求计算连续最长字串的长度) 首先假设str1的长度为n,str2的长度为m,建立一个n*m的二维数组dp,dp[i][j]表示str1[0...i]和str2[0...j]中连续相等最大字串的长度,并用n记录,当str1[i]!=str2[j],令dp[i][j]==0; 对于数字的第一行和第一列,由于最长的公共字符串长度为1,所以只要出现字符相等,就令n=1。由于是求最大连续字串,所以当str1[i]==str2[j],dp[i][j]=dp[i-1][j-1]+1; */ #include<iostream> #include<string> #include<...
78643947e41f0878e4f1f2a211fe18a4b87aefa1
1cf277f683de8e9e03369f131767301655d41e5c
/Assign11-12/assign1112_oop.h
ff0c00403cf0652a780c9f38655066b28f9cccc2
[]
no_license
cristinabac/OOP
a18f9ee3a9f6d573667690ea0a20908360133a3d
fd022fb83da5c1b7b898e59c918414d5d365d234
refs/heads/master
2022-04-25T16:14:59.309048
2020-04-21T15:32:00
2020-04-21T15:32:00
257,617,933
0
0
null
null
null
null
UTF-8
C++
false
false
230
h
assign1112_oop.h
#pragma once #include <QtWidgets/QMainWindow> #include "ui_assign1112_oop.h" class assign1112_oop : public QMainWindow { Q_OBJECT public: assign1112_oop(QWidget *parent = Q_NULLPTR); private: Ui::assign1112_oopClass ui; };
cd17a71370a7d048cfe3a366bc874453e6270e75
6f50f16a93286b3ebef7c285befa612d305adcc9
/include/rune/worldmap.h
786c78d71de0d3b89ab3536cc9867511c7b8d140
[ "MIT" ]
permissive
lycis/rune
2aff8ddc104b29950f8fc6810d2efea7988e0470
2e87aaaff4a9a30406a97f64e4eae4a2c8c90686
refs/heads/master
2021-03-12T22:50:09.506281
2014-04-26T20:17:20
2014-04-26T20:17:20
18,029,844
1
0
null
null
null
null
UTF-8
C++
false
false
5,026
h
worldmap.h
#ifndef MAP_H #define MAP_H #include "rune/rune_global.h" #include <QMap> #include <QList> #include "yaml-cpp/yaml.h" #include <QFile> #include "rune/entity.h" #include <QStringList> #include "rune_error.h" #include "rune/engine.h" struct rune_map_coordinate //!> coordinate on a map { qint64 x; qint64 y; }; ...
868f93a3538929605cb67a0db2bd78519550ca2b
aad5b70a2fac8ff23261a1893fdd30c851dd50ed
/IExtEventSource.cc
fd2a5f88f6efaf45b42a028199be314477367562
[]
no_license
gmwesiga/winny
1262551be0c504636c521d9688e3aa460bac92ee
e600e1ac3a71fc4095641ccaa06e38df020aee3c
refs/heads/master
2020-05-18T05:35:11.973000
2020-03-20T16:07:14
2020-03-20T16:07:14
184,210,557
0
0
null
null
null
null
UTF-8
C++
false
false
1,053
cc
IExtEventSource.cc
#include "IExtEventSource.h" //#include <FL/fl_ask.H> using namespace StdSystem; /* default constructor * sets handle to application to null pointer */ IExtEventSource::IExtEventSource():application(0){}; /*Attach is called by higher level code probally by init *function to subscribe an iapplication to an ievents...
fe43b36d737c63206327bce0907b4091865b3114
2c58e6da42268d0942b8f033b0401d2ab3a7a49e
/PktSender/PcapDataInfo.h
ce536074a4ca94ee7c1c89b290ace5dda584c363
[]
no_license
ksiic/PktSender
93e3ad3414f19d2620427a3f331ce206fd8f2ac5
f3e671d486e0cd148e820002cbd7ceefc07dbedd
refs/heads/master
2020-12-22T01:54:41.283783
2020-02-04T06:57:01
2020-02-04T06:57:01
236,634,915
0
0
null
null
null
null
GB18030
C++
false
false
1,576
h
PcapDataInfo.h
#pragma once typedef enum{ SinglePktSend, MultiPktSend, OncePktSend, LoopPktSend }SendModeEnum; typedef enum { SendStart, SendStop, SendPause, SendEnd, SendInvalid }SendStatEnum; class PcapDataInfo { private: CString m_szPath; /* 路径 */ int m_iAllPkt; /* 总包数 */ int m_iCurPkt; /* 当前包序号 */ int m_iSendedP...
85dc81e73a8ae1dbbd2a5b3c3790119533bdd9a6
c673d71d0d24b7f8082e1a411cb974b254da4091
/test.cpp
c82f265092b1998f6dc841e84254b3af9719481f
[ "MIT" ]
permissive
ssainz/gym_torcs
f0e24a3938887df2fddaf5e6cc1fef1c17010b0b
f2065e849adfe3761246e7fd26495c9937bcb241
refs/heads/master
2021-07-25T22:59:33.814231
2017-11-08T02:30:47
2017-11-08T02:30:47
109,917,172
0
0
null
2017-11-08T02:27:41
2017-11-08T02:27:41
null
UTF-8
C++
false
false
327
cpp
test.cpp
#include<stdio.h> //#include<iostream> int main() { printf("Hello! This is my first C program with Ubuntu 11.10\n"); unsigned char c = 200; double a = 0.299; //printf("Hi") printf("Hello %d\n", (unsigned char) (a*((int) c))); printf("(int) unsigned char %d \n", c); /* Do something more if you want */ return...
9632342c99f21edb6e695eaba26b8efbf60fc17e
7fc4184b6486ce8e3b6d05f0c95a0256812a99cd
/Prototypes/VULKAN/Triangle/ObjectCreator.cpp
87c254842b6220669d33d823e963353959dd4575
[]
no_license
DerickThePoney/SFML-OPENGL-SUPERBIBLE
03b539cb0e1799d52cb06727e3de0585f651011b
d3d4b46d89331cf2f9b8825512361dc57a3fc85c
refs/heads/master
2021-07-03T17:46:34.063863
2019-03-23T14:31:08
2019-03-23T14:31:08
111,515,988
0
0
null
null
null
null
UTF-8
C++
false
false
12,758
cpp
ObjectCreator.cpp
#include "stdafx.h" #include "ObjectCreator.h" //#include "VulkanBuffer.h" #include "MeshData.h" #include "VulkanMesh.h" MeshData ObjectCreator::Execute(glm::vec3 minPos, glm::vec3 maxPos, float cellSize) { glm::vec3 size = maxPos - minPos; float voxelPrecision = .1f; PolyVox::RawVolume<float> volData ( PolyVox:...
09c230d7707227eef60ffdcd4c53a94e2e78d0db
e0a5b96ffd95d9d58edbdf84b5c1e91b55895556
/Invoice/Invoice.h
606e7f2ade9acf898df312a17b4125560343b1f9
[]
no_license
ViniciusLOPS/EducProjects
4bf48450b1020eaed5331b60ed7a15263f8aadf4
991537b03f528d09d1c65ce41f878e1e93e3c0ea
refs/heads/master
2021-04-15T08:50:25.539218
2018-04-07T02:10:24
2018-04-07T02:10:24
126,845,713
0
0
null
null
null
null
ISO-8859-1
C++
false
false
689
h
Invoice.h
/*Autor:Vinicius Luiz O. P. Dos Santos, CC3642 Orientacao a Objetos Realizado em 16/03/2018 * programa tem como proposito a criação de uma classe(objeto) Invoice, capaz de administrar produtos e obter seu arrecadamento, utilizando contrutores de preferencia.*/ #include <cstdlib> #include <iostream> #include <string>...
56e63666282d1351fe4d03dd965ee46d7225985d
f3c413cf12cfce8842002ad503d81b33735a7247
/include/ads/lin/dense_solve.hpp
1c83faa3e873472c63df5472b999f232c9df7c94
[ "MIT" ]
permissive
marcinlos/iga-ads
f02d4e9d1e70c809511cb062261bb55372f6cf42
4f25e75376361d5b15ddc58f16e7bf7ae0431bd8
refs/heads/develop
2023-07-18T21:30:29.279316
2023-07-04T20:42:45
2023-07-04T20:42:45
58,336,078
9
8
MIT
2023-07-04T19:41:43
2016-05-08T23:31:46
C++
UTF-8
C++
false
false
820
hpp
dense_solve.hpp
// SPDX-FileCopyrightText: 2015 - 2023 Marcin Łoś <marcin.los.91@gmail.com> // SPDX-License-Identifier: MIT #ifndef ADS_LIN_DENSE_SOLVE_HPP #define ADS_LIN_DENSE_SOLVE_HPP #include <iostream> #include "ads/lin/dense_matrix.hpp" #include "ads/lin/lapack.hpp" #include "ads/lin/solver_ctx.hpp" namespace ads::lin { in...
11d7211c0b606fcb7508081cefdebd89030e9a0b
274ff0d357287b7d2aeb779fa9add5aab73ae132
/Practical5.cpp
cb2319585ce5023f4f1b3cfd19d106031d7dc834
[]
no_license
divingoose/1E3TCD
35352ff01fa3f97722842e0a2100763c305f9f8a
a7c14a97b5972c82f6f038caad1fd7042bd548e9
refs/heads/master
2016-09-05T19:02:05.589803
2014-03-13T14:50:59
2014-03-13T14:50:59
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,281
cpp
Practical5.cpp
/*Program to assist investors in their investment decisions by displaying a table of reutrn on investments at different rates*/ #include <iostream> #include <iomanip> #include <cmath> //for power function using namespace std; int main () { double initial_investment, i, j, range_i, range_j, step_i, step_j, invest...
22db422c224758a2bb93e371c9c71837697be860
d9bb656bd11f85e6419ebd786aec6fe3f917cb73
/modules/vargraph/vargraph_perf.cpp
6c58f1c1833a9fad32c73162d878622cc687ac30
[ "BSD-2-Clause" ]
permissive
spiralgenetics/biograph
55a91703a70429568107209ce20e71f6b96577df
5f40198e95b0626ae143e021ec97884de634e61d
refs/heads/main
2023-08-30T18:04:55.636103
2021-10-31T00:50:48
2021-10-31T00:51:08
386,059,959
21
10
NOASSERTION
2021-07-22T23:28:45
2021-07-14T19:52:15
HTML
UTF-8
C++
false
false
3,546
cpp
vargraph_perf.cpp
#include "vargraph.h" #include "modules/io/config.h" #include "modules/io/file_io.h" #include "modules/bio_base/reference.h" #include "modules/bio_base/seqset.h" #include "modules/bio_base/readmap.h" #include <boost/algorithm/string.hpp> std::string str_vec(const std::vector<int>& vec) { std::string r = "["; fo...
a023c77b4fb31c7d06fd02cd8f2d4f4801bfa345
496470f08d404e545753ff83a785269cdcd52660
/src/ems/cliclient/CliMenuPlatformConfig.cpp
ce2d386bbf787dae4d5954d904d8560f5a1a588c
[ "Apache-2.0" ]
permissive
shorton3/dashingplatforms
065bc1fc5b070c0a21c9c5a23b6a41cf7b932b9c
f461c967827b92c8bcf872c365afa64e56871aba
refs/heads/master
2021-01-20T13:56:04.007176
2017-05-14T21:22:03
2017-05-14T21:22:03
90,538,349
0
0
null
null
null
null
UTF-8
C++
false
false
7,670
cpp
CliMenuPlatformConfig.cpp
/****************************************************************************** * * File name: CliMenuPlatformConfig.h * Subsystem: EMS * Description: Static handler methods for platform configuration requests. * * Name Date Release * -------------------- ---------- ---------------------------...
5a578f2db36e3affd18291907d9025d5df635acf
4e0d4077553a506256827d09f275643262655012
/source/utilities/data/coreString.h
ea57ad81c9aef4fb1764209c75deac04f0b4138f
[ "Zlib", "CC-BY-4.0" ]
permissive
MausGames/core-engine
157c8fd37611fc18d3bd182de05d57732ecae7d6
77957cf7303e63acb2b8e95ac99a356b13bd6b25
refs/heads/main
2023-08-17T07:55:20.820298
2023-08-04T20:19:09
2023-08-04T20:19:09
28,817,681
18
2
null
null
null
null
UTF-8
C++
false
false
4,846
h
coreString.h
/////////////////////////////////////////////////////////// //*-----------------------------------------------------*// //| Part of the Core Engine (https://www.maus-games.at) |// //*-----------------------------------------------------*// //| Copyright (c) 2013 Martin Mauersics |// //| Released under t...
685ea19174986f8737682ebb073fc94178728a56
164a928042528789aca29209a06c56c6a1b825b3
/Practica22/Practica2-Ej7.cpp
13da1d70d34288148980f29c18475019d403218e
[]
no_license
daquinte/Redes-UCM
0c5edca968bd09743445b5e6f8439ee8e7509320
24e90033e0ebada42d6a21b9ed12267345e1e814
refs/heads/master
2020-03-12T00:25:02.322429
2018-05-25T10:47:55
2018-05-25T10:47:55
130,348,436
0
0
null
null
null
null
UTF-8
C++
false
false
4,145
cpp
Practica2-Ej7.cpp
#include <sys/socket.h> #include <sys/types.h> #include <netdb.h> #include <string.h> #include <iostream> #include <time.h> #include <pthread.h> class Thread{ public: Thread(int socket){ threadSocket = socket; salir = false;}; virtual ~Thread(){}; void do_message(){ //Mientras el booleano salir sea fal...
7e5e4d704376db0adaddaf2e0a284dbea0ad8ffb
bc04ac4221bd533da6497d1f80150cdd211a7921
/instructions/Instruction_stci.cpp
6aa8d71a1b72b303327d26ccdb58a83be4bad8ae
[]
no_license
WarlockD/Mil-std-1750A-Emulator-C20
71e8e357c81a36fe39c5b42a1f76fa13ffef130d
93ed87966945351773107dc6cf3ad5fd50e9cdd4
refs/heads/master
2023-03-16T07:55:57.903908
2012-07-16T15:57:28
2012-07-16T15:57:28
null
0
0
null
null
null
null
UTF-8
C++
false
false
548
cpp
Instruction_stci.cpp
#include <iostream> #include <iomanip> #include "Instruction_stci.h" #include "Operation_stc.h" namespace { opCodeRange opCode = {0x92, 0x92}; const std::string opCodeStr = "STCI"; const std::string opDescription = "Store a Non Negative Constant"; } Instruction_stci::Instruction_stci() : Instruction_longInstr...
288c19815738a1bd9d9d92b00a59f43a071ef7ee
543277a348133e1305e9489cd4e93d674d2a903b
/src/LL1.h
06e27aa67b22467e9d27407853a04f5b6fe46807
[]
no_license
legobadman/scheme-interpreter
9ae1f728a1fe2698f9aed46ff77a1dfeff26d64b
8c630ea7a721b7a83f289c3a3805a47e0713790f
refs/heads/master
2021-05-28T11:24:07.515369
2014-10-12T03:56:37
2014-10-12T03:56:37
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,272
h
LL1.h
#ifndef _LL1_H_ #define _LL1_H_ #include "Tree.h" #include "Token.h" #include "macro.h" extern p_AstNode eval (vector<Token>, int); extern p_AstNode LL1_Lisp (vector<Token>, int &); extern p_AstNode LL1_exp (vector<Token>, int &); extern p_AstNode LL1_Value (vector<Token>, int &); extern p_AstNode LL1_procedure (...
5459a117ce887b2f5f583315ec03ed5037dd6b8a
d378315ec265065f9e1b0b9f60cdc4c8bdc15331
/src/Materials/BaseMaterial.cpp
61feec50d9f64cb6d4ea84f7d22aa9e8b6c15f8e
[]
no_license
ValentinUsedREKTItsSuperEffective/REKTgine
a87070198a9bd1d9ae39da07505d4e3a0cf2df03
15c8f799857aa88513da6101bb47074f15c8b324
refs/heads/master
2021-10-30T19:19:02.898515
2021-09-21T05:47:55
2021-09-21T05:47:55
64,720,804
0
0
null
2021-06-17T03:08:07
2016-08-02T03:23:36
C++
UTF-8
C++
false
false
1,074
cpp
BaseMaterial.cpp
#include "Materials/BaseMaterial.hpp" BaseMaterial::BaseMaterial() : color(glm::vec3(1.f, 1.f, 1.f)), needUpdate(true), shader(NULL){ colorTexture = Texture(); colorTexture.load(); } BaseMaterial::BaseMaterial(MaterialParamaters parameters) : color(parameters.color), needUpdate(true), shader(NULL){ if(para...
b814d86da28c10819ae998421f9973dc578eab11
6cfd73d4918ea055db30f6e3c3252e930234767a
/GameServer/MapItem.cpp
6cba755eff3709429c74bfbb7bdee7a21b548fed
[ "MIT" ]
permissive
neyma2379294/IGC.GameServer.SX
138b1ff8019c9c2e83efebe75b8b2899be357255
44d77f47598b15c6adb297edba9035561c4fec74
refs/heads/master
2021-05-11T07:41:17.590766
2017-02-21T17:31:28
2017-02-21T17:31:28
118,029,462
1
0
null
null
null
null
UTF-8
C++
false
false
2,997
cpp
MapItem.cpp
// ------------------------------ // Decompiled by Deathway // Date : 2007-05-09 // ------------------------------ #include "stdafx.h" //#include "MapItem.h" #include "GameMain.h" // GS-N 0.99.60T 0x0047BE60 - Completed // GS-N 1.00.18 JPN 0x00493830 - Completed CMapItem::CMapItem() { this->Init(); } ...
476b7cbf4e66583a27567a0edfa2392fe171eb70
3b1489bdd63cd53770a066e6f90a13ef3286bfe7
/src/cinder/vr/openvr/DeviceManager.cpp
fa7d519d792bfe26fe79028bfeb185fc332aa9e6
[]
no_license
seph14/Cinder-VR
cc996f6b470e851d2c80370d0acefc9ecafbaa1a
511d3c9422ff8012d3ee4d0dccb3ecbdfab07464
refs/heads/master
2021-01-12T19:44:17.842838
2017-02-16T20:02:59
2017-02-16T20:02:59
64,486,455
1
0
null
2016-07-29T14:22:05
2016-07-29T14:22:03
null
UTF-8
C++
false
false
5,785
cpp
DeviceManager.cpp
/* Copyright 2016 Google Inc. 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 agreed to in writing, softwar...
548055b35c1542d5fa32ce332a1f31b66c23f3ab
34f4311431604cdc8e78a9f086dd93a10fbd3e98
/GamePhysics_EvanSchipellite_Machine/GamePhysics_EvanSchipellite/RigidBox.cpp
d3692caac965e4a471693f8aec39eac0ee70fee4
[]
no_license
eschipellite/GamePhysics
040005ab97283b2a11817b4f9f53cb4eadbabf56
bf0d589d4d57701c356ba7ed110def24dda923bd
refs/heads/master
2020-05-31T23:56:07.396305
2015-05-01T01:48:50
2015-05-01T01:48:50
29,218,154
0
0
null
null
null
null
UTF-8
C++
false
false
1,179
cpp
RigidBox.cpp
//============================================================================= // Rigid Box // // Written by Evan Schipellite // //============================================================================= #include "RigidBox.h" //=======================================================...
17e13cce8d5709d6e8a6ad8d40635b79fb228584
888c6e53e6470bc418ea567b21c93000f5ee0ea9
/Symmetric_Tree/main.cc
7f2231ae73634f90c1fc546484a923e22b1edfbe
[]
no_license
goshan/leetcode
7ebbf63a53cd8f491d3f37548bd213944cdec959
11f947b7509c82db3f30c509e5366953432f2abd
refs/heads/master
2021-01-24T06:13:45.467249
2017-12-07T10:17:07
2017-12-07T10:17:07
9,021,584
1
0
null
null
null
null
UTF-8
C++
false
false
1,506
cc
main.cc
#include <iostream> #include <vector> #include <queue> using namespace std; // Definition for binary tree struct TreeNode { int val; TreeNode *left; TreeNode *right; TreeNode(int x) : val(x), left(NULL), right(NULL) {} }; bool vectorIsSymmetric(vector<int> &v){ for (int i = 0; i < v.size()/2; ++i) { /* co...
94b1d271e625d2a956b24c1290d1d54f526627b3
57e3f0c8102c316cd56ab132aa55708052fe2a39
/3.3/stackOfPlates.cpp
f23b38181845bfe490a2d7242b5e22ee1df6cb24
[]
no_license
ksuhr1/CrackingCodeInterview
300350ecfa36e8c9fa75799046dcf57cb881a7f3
5618471482ffd80137274fcd3750486280433443
refs/heads/master
2020-03-25T00:58:54.958376
2018-09-26T15:22:36
2018-09-26T15:22:36
143,215,670
0
0
null
null
null
null
UTF-8
C++
false
false
4,518
cpp
stackOfPlates.cpp
#include <iostream> #include <stdlib.h> #include <vector> #include <stack> #include <assert.h> //size_t is unsigned data type of at least 16 bits //use this when values can't be negative using namespace std; #define SIZE 4 class Stack { private: int top; int capacity; int *arr; in...
3c842248277f55376d75e4585f68c39a59d07039
0e205e75393eb32ee26fd9bb2e0a34837006e8ac
/13-TipoColor/Color.cpp
690eaa83a5949cd2b9f78d3a313b30d240f2fcc8
[]
no_license
ncrivelli/AED
2960fbcb00fdb44c0cd734040407ebdb4687dccc
3ea18e64d47022bb153c3aae19feb1264a9c5d84
refs/heads/master
2023-03-22T04:36:08.048432
2021-03-17T18:15:44
2021-03-17T18:15:44
256,326,048
0
0
null
null
null
null
ISO-8859-3
C++
false
false
1,429
cpp
Color.cpp
/* * Alumno: Nicolas E. Crivelli * Legajo: 1602410 */ #include "color.h" //declaración de funciones Color mezclar(const Color& a, const Color& b){ Color resultado; resultado.r = (a.r + b.r)/2; resultado.b = (a.b + b.b)/2; resultado.g = (a.g + b.g)/2; return resultado; } Color mezclarPropor...
367f2ae8d155b5c84c0ada9f359ec962eabbc9b7
1f80af8f6e0b6b3cbfe66f4b04feb6620524f895
/solutions/312. Burst Balloons.cpp
93b1b503295bf9f36555e8517a928f95ada48966
[]
no_license
satvik-2-9/Leetcode
fff6d3484e0c053a6401225293ca8478c0debdec
422586dfe3ca7b36e6a2e140808f73288561f4d2
refs/heads/master
2023-06-21T22:05:05.779773
2021-07-15T14:37:57
2021-07-15T14:37:57
null
0
0
null
null
null
null
UTF-8
C++
false
false
734
cpp
312. Burst Balloons.cpp
class Solution { public:    int maxCoins(vector<int>& num) {        if(num.size()==0)            return 0;        vector<int> arr;        arr.push_back(1);        for(auto i:num)            arr.push_back(i);        arr.push_back(1);        int n=arr.size();        long long dp[n][n];        memset(dp,0,sizeo...
0da4ee14a381abfeb674c533190f6bbcbe9d2f1b
18d89674b7f390015c927d254c56f094a47d1216
/Greedy/minimize_cashflow.cpp
3ae0913d6df13fa434507720239eecfc4e87c215
[ "Apache-2.0" ]
permissive
krayong/Data-Structures-and-Algorithms
1d1a551696e3de3ae8ce6aa30ba434f00633cf36
5105dab434fa59580b4068e64468a4a37245d763
refs/heads/master
2023-03-09T16:55:07.892503
2021-02-24T16:54:06
2021-02-24T16:54:06
326,136,436
2
0
null
null
null
null
UTF-8
C++
false
false
3,352
cpp
minimize_cashflow.cpp
#include <bits/stdc++.h> using namespace std; /************************************************************************************************************* * * Link : https://www.geeksforgeeks.org/minimize-cash-flow-among-given-set-friends-borrowed-money/ * Descriptio...
865644734793e8253de327e0ad6c2785dc2d06cb
6792ce037053d1712e699c7ff7c684baaae681d3
/code/BinaryTree (eden).cpp
23f6a9acf5ab36f5b233b4cf448068fc6830a5aa
[]
no_license
liubq98/Cpp_exercises
3ee9630fe168eb828e11bf3db50a1f1fe0211d4f
a89f722d9b31f4ddf49289f07153bf69905a86cd
refs/heads/master
2020-11-23T19:25:18.008485
2019-12-13T08:08:13
2019-12-13T08:08:13
227,787,454
0
0
null
null
null
null
WINDOWS-1252
C++
false
false
6,287
cpp
BinaryTree (eden).cpp
// // BinaryTree.hpp // C++ // // Created by ÀîÌìÅà on 16/5/4. // Copyright ? 2016Äê lee. All rights reserved. // #ifndef BinaryTree_hpp #define BinaryTree_hpp #include <iostream> #include <vector> #include <queue> #include <stack> #define EMPTY_ELE '#' class BinaryTree { public: str...
bdf5dde8eab9ce1dcf295f0b96bc5a294af22432
083126adfb3892cc2ad6cece4634ace18db6d152
/ConsoleApplication2/ConsoleApplication2/AlgorithmX.cpp
968821ea4901c12e1e472918ea725813312e4660
[]
no_license
zhanglin2018/algorithm_2020_deployment
d6eecd9e3e6582865fd775f254ac17e32774520a
9d0e844568ca45aa4af1a6c5e3750c180821e2cf
refs/heads/master
2022-11-23T23:46:24.676337
2020-08-05T05:40:00
2020-08-05T05:40:00
285,190,560
0
0
null
null
null
null
UTF-8
C++
false
false
25,711
cpp
AlgorithmX.cpp
//============================================================================ // Name : AlgorithmX.cpp // Author : linzhang // Version : // Copyright : Your copyright notice // Description : Hello World in C++, Ansi-style //=======================================================================...
38aec19b57cf9786a936e3a6aa2f822708e953cc
d451d126d188dbb9287a95d2c50a8ad7723a1d0f
/src/ast/declaration/function_declaration_node.cpp
4de4b6cbc8aef4d764029814b01c9da7a5f363a2
[]
no_license
rcorcs/rcc
1fb15f82215968c412ddb5f47742ec6318a18425
5885025911d36a04c2fb2c2e6ca3b56b3bb62458
refs/heads/master
2021-01-21T04:37:23.433928
2017-07-23T01:51:50
2017-07-23T01:51:50
22,624,437
135
11
null
null
null
null
UTF-8
C++
false
false
493
cpp
function_declaration_node.cpp
#include "function_declaration_node.h" FunctionDeclarationNode::FunctionDeclarationNode(TypeNode *type, DeclarationNode *declarator, StatementNode *stmt) : DeclarationNode(NODE_TYPE_FUNCTION_DECLARATION) { _type = type; _declarator = declarator; _stmt = stmt; } TypeNode *FunctionDeclarationNode::type(){ ...
ed87616b55f60b8e4f43416f73665d5cc517bfd9
d803955cf65dcc36f160d7281bf7e17e1a7f130a
/opencvcannyaction.cpp
c8d6cb10b9c743f03cb5658d2b696bbf8e66d534
[]
no_license
Dante-Go/Fact_detect_recognizer_QT
567ca66081bdf5cf65b64857a3ddc53378e67007
e16c63feca79cff452b7fede58e322af69fa58bd
refs/heads/master
2020-06-24T09:55:54.822080
2019-08-01T01:34:33
2019-08-01T01:35:06
198,933,882
0
1
null
null
null
null
UTF-8
C++
false
false
617
cpp
opencvcannyaction.cpp
#include "opencvcannyaction.h" OpenCVcannyAction::OpenCVcannyAction(QObject *parent) : OpenCVaction(parent) { } OpenCVcannyAction::~OpenCVcannyAction() { } void OpenCVcannyAction::action(cv::Mat &imgin, cv::Mat *&imgout) { cv::Mat* pImageCanny = new cv::Mat(imgin); cv::cvtColor(imgin, *pImageCanny, CV_RGB2GRAY...
33d4af6fb862ba3d9af1881bb7e27a46db1c16a9
3eec2442d0fbd8ae50b525bc65f04482e7821425
/src/liblensifier/Effect.h
8cff5fd440d9a1676a80b1a27f884e3fac661706
[]
no_license
inequation/lensifier
4a7bbd3bdb2b986a9a56186caaaf41ca3c28eb9d
ae7c7ba21babcf6890363721fdf0c478ef8b7fd6
refs/heads/master
2021-01-01T05:40:54.827865
2014-02-25T00:21:33
2014-02-25T00:21:33
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,024
h
Effect.h
/* * Lensifier effect interface * Copyright (C) 2013, Leszek Godlewski */ #ifndef EFFECT_H #define EFFECT_H #include <limits> // for NaN and friends #include "Renderer.h" #include "Utils.h" namespace Lensifier { extern Renderer *GRenderer; extern const char EffectGenericVertexShader[]; extern const char Sing...
c57120b5514930035438b3ea13742afbe6a772e7
5664ab66deeecea95313faeea037fa832cca34ce
/modules/v2x/proto/v2x_service_car_to_obu.pb.cc
198252ad5f373636bc13e21f84b9425266f77bad
[]
no_license
Forrest-Z/t1
5d1f8c17dc475394ab4d071a577953289238c9f4
bdacd5398e7f0613e2463b0c2197ba9354f1d3e3
refs/heads/master
2023-08-02T03:58:50.032599
2021-10-08T05:38:10
2021-10-08T05:38:10
null
0
0
null
null
null
null
UTF-8
C++
false
true
12,143
cc
v2x_service_car_to_obu.pb.cc
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: modules/v2x/proto/v2x_service_car_to_obu.proto #include "modules/v2x/proto/v2x_service_car_to_obu.pb.h" #include <algorithm> #include <google/protobuf/io/coded_stream.h> #include <google/protobuf/extension_set.h> #include <google/protobuf/wire_fo...
3ae5f3f4f0bb3fcbe875c21f0805732b99a5efe8
8c40cd7d9cc4452a6c5f6bd585159717f097486d
/proto/data-refining/back/workdir/extras/modisnetcdfparser/square.h
969c1540856c7104ff5cd0659992339373594826
[ "Apache-2.0" ]
permissive
cttgroup/oceanhub
e08344d43fafafce32de72d6ada8705a5cabaa8d
afe4a5ad373db815d4f897d5b2c834fcdaa394a7
refs/heads/master
2021-01-23T02:06:37.018353
2018-11-30T09:35:49
2018-11-30T09:35:49
85,967,734
0
1
null
null
null
null
UTF-8
C++
false
false
3,185
h
square.h
#ifndef SQUARE_H #define SQUARE_H #include <iostream> #include <set> #include <vector> #include "VectorLayerShapeType.h" #include "ComponentNT.h" #include "coordcvt.h" static double square(const std::vector<VectorLayerShapeType> & shapes, const double dy) { double S = 0.0; std::multiset<d...
dbff99fcd3ddccc9be2826e899703fd99f91f106
5c925f3600b26707cf653c4add72e6cc80082be2
/filezillaclient/clien/src/interface/settings/optionspage_filetype.cpp
892c722089f59e5b675830e4b9f4b036b905fd2d
[]
no_license
ljx0305/fileZilla
52100ad9b41882d78372232de3801ed449db9408
d88d83c8b8bd39c0636166ba9a2911435c8fab63
refs/heads/main
2023-06-18T01:16:35.811661
2021-07-12T17:15:03
2021-07-12T17:15:03
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,798
cpp
optionspage_filetype.cpp
#include <filezilla.h> #include "../Options.h" #include "settingsdialog.h" #include "optionspage.h" #include "optionspage_filetype.h" BEGIN_EVENT_TABLE(COptionsPageFiletype, COptionsPage) EVT_BUTTON(XRCID("ID_ADD"), COptionsPageFiletype::OnAdd) EVT_BUTTON(XRCID("ID_REMOVE"), COptionsPageFiletype::OnRemove) EV...
8989ef6a1cdd5ffb6e5f1bd0c67241929b8d4388
1b602711efbcc2a4e7a3b83fec0581478793bdc8
/d05/ex02/ShrubberyCreationForm.cpp
68706a315665879846b6f2265a29126e6194b4b0
[]
no_license
CaseySingleton/42-cpp-piscine
3135ec8b024202b6f5b51f5c1607bd255abf42ba
1efbfbd11230843e30f64eeacca800674d13e3d5
refs/heads/master
2020-06-28T06:44:58.661399
2019-08-02T04:53:25
2019-08-02T04:53:25
200,166,385
0
0
null
null
null
null
UTF-8
C++
false
false
2,353
cpp
ShrubberyCreationForm.cpp
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ShrubberyCreationForm.cpp :+: :+: :+: ...
74ae19fdae903330a8f906942970904c6faf034b
132874ba4ce7d3ae3e7e0ae52da1a0b4a7f9d1eb
/r9,1/main.cpp
dd7779a926df711b1490131b819f5d0bff7a928c
[]
no_license
PawelKawula/cpp-szkola-programowania
8f0dc5dd36ee9ca28c0794779028a1e2ee5c7815
bf143b4f9cdd244e8dd3266099a4d6ca8827a5b3
refs/heads/master
2021-08-30T03:14:44.348660
2017-12-02T17:51:23
2017-12-02T17:51:23
103,747,400
0
1
null
null
null
null
UTF-8
C++
false
false
363
cpp
main.cpp
#include <iostream> #include "golf.h" extern const int cLen; extern const int ctabSize; using namespace std; int main() { char name[cLen]; golf players[ctabSize] {"",0}; int hc; bool loop = true; cout << "Podawaj nazwiska oraz handicapy graczy..." << endl; while(loop) { loop = men...
27c4dfb3ced1184aba109111f99f51ea71e7f62f
e8282e3ae8aafa07b7f7261c639f206c4e97e0fc
/03 - Online Judges/codeforces/1512C.cpp
8b15a052fac376c4ca4b98ae57115d1beffa6c0f
[]
no_license
irfansofyana/cp-codes
7cad844da49b901ccf678b75c31ed41e2fa9d645
9fa723129088f0e4832ecb7e012fe586b6d59e41
refs/heads/master
2023-04-04T00:48:36.334817
2021-04-12T03:07:06
2021-04-12T03:07:06
218,084,148
0
0
null
null
null
null
UTF-8
C++
false
false
1,997
cpp
1512C.cpp
#include <bits/stdc++.h> using namespace std; int frek[2], t, pairs; string s; bool can; int main(){ ios_base::sync_with_stdio(0); cin.tie(0); cin >> t; while (t--) { cin >> frek[0] >> frek[1]; cin >> s; for (int i = 0; i < s.size(); ++i) { frek[s[i]-'0']--; } ...
b4cc4fb663c93b8b670bfb13d4a3495cb97ea51d
5cbc55e407950635e669d0c9c34f255f1b3a250a
/SourceCode/MainProject/GLR/ReflexiveParser/mainwindow.h
e27825351f46915aaa2af597c28d10a079b46081
[]
no_license
harp-project/Reflexive-Parsing
6c0b2db9b0d08c25b8411beba00a9ca1d4caac67
34f615e3f4873b2e95f984565dbdf5a3321f8199
refs/heads/master
2022-10-14T20:41:57.930303
2020-06-07T15:00:57
2020-06-07T15:00:57
270,304,091
1
0
null
null
null
null
UTF-8
C++
false
false
1,168
h
mainwindow.h
#ifndef MAINWINDOW_H #define MAINWINDOW_H #include <QMainWindow> #include <QMessageBox> #include <QLabel> #include <QLayout> QT_BEGIN_NAMESPACE namespace Ui { class MainWindow; } QT_END_NAMESPACE class MainWindow : public QMainWindow { Q_OBJECT public: MainWindow(QObject* appmanager,QWidget...
b5ac2a504262eef172eb6c01288ac1936933f2fa
d3893a2ee04e4752cecbc873b369a8fa7113b70d
/direct_ui/dui/src/core/dui_real_application.h
b3c34ab5de4507bc9104688eeca9e0fb13bee169
[ "MIT" ]
permissive
kniefliu/WindowsSamples
e849137467acdfe5351e8fdd31945c37203be3c5
c841268ef4a0f1c6f89b8e95bf68058ea2548394
refs/heads/master
2021-01-09T10:25:49.744308
2020-08-12T12:37:05
2020-08-12T12:37:05
242,264,984
0
0
null
null
null
null
UTF-8
C++
false
false
1,244
h
dui_real_application.h
#ifndef DUI_CORE_REAL_APPLICATION_H_ #define DUI_CORE_REAL_APPLICATION_H_ #include "core/dui_real_window.h" class DuiRealApplication final { public: static void Init(); static void Run(); static void Quit(); public: static DuiRealWindow* GetWindows(); static void SetWindows(DuiRealWindow * windo...
fbed8ee7bc4144ceb14fe412138174a257b57f7f
995a3879f1c15f76a10cf71d72f6fc0ac6f073e7
/src/main.cpp
4fab977b22dc4d9245524178304622c8471b4e99
[]
no_license
Dexsidius/Grengo-Warrior
5b948b824f6d815019676b93c3a9a1dd537eb8ad
d21256eb88750d1277f556d4d437e081523fbb45
refs/heads/master
2022-12-02T11:52:31.633263
2020-08-05T10:07:27
2020-08-05T10:07:27
285,121,381
0
0
null
null
null
null
UTF-8
C++
false
false
178
cpp
main.cpp
#include "game.h" int main(int argc, char* args[]){ GrengoWarrior gw; if (!gw.Start(argc, args)){ return -1; }else{ gw.Loop(); } return 0; }
71da1d05a736d90dfd10ce4438e33c948ff678b8
ff1f8e352bcbf059e2c1c0aaafff120c56f3cf49
/JCR/JCR20190708T2.cpp
c90a40f5336535814d37454c3d0fb7f1d5377d00
[]
no_license
keywet06/code
040bc189fbabd06fc3026525ae3553cd4f395bf3
fe0d570144e580f37281b13fd4106438d3169ab9
refs/heads/master
2022-12-19T12:12:16.635994
2022-11-27T11:39:29
2022-11-27T11:39:29
182,518,309
6
1
null
null
null
null
UTF-8
C++
false
false
510
cpp
JCR20190708T2.cpp
#include <bits/stdc++.h> const int mod = 1e9 + 9; int n, x, y; int main() { freopen("rabbit.in", "r", stdin); freopen("rabbit.out", "w", stdout); scanf("%d", &n); if (n == 895687630) { printf("147396191\n"); return 0; } y = 1; for (int i = 1; i <= 100000000; ++i) { y ...
f8df9cbbe1f03f91342197db7b15da32545a8244
5e4913b3d7b6dfd9f35d9e5f24486bb6b6145125
/src/tools/kdb/metals.hpp
5faf59fe8f1854fbe23460f8edb4914263c859a6
[ "BSD-3-Clause" ]
permissive
ElektraInitiative/libelektra
ff5d5cfc4bf91d704f58405b14ea694aad3a2edd
dbbe4ae4f669c322a8f95f59112d3f5fc370bbd9
refs/heads/master
2023-08-05T14:54:48.081359
2023-08-04T12:40:00
2023-08-04T12:40:00
21,063,580
215
170
BSD-3-Clause
2023-09-07T13:34:30
2014-06-21T08:01:04
C
UTF-8
C++
false
false
699
hpp
metals.hpp
/** * @file * * @brief * * @copyright BSD License (see LICENSE.md or https://www.libelektra.org) */ #ifndef METALS_H #define METALS_H #include <command.hpp> #include <kdb.hpp> class MetaLsCommand : public Command { kdb::KDB kdb; kdb::KeySet ks; public: MetaLsCommand (); ~MetaLsCommand (); virtual std::s...
2c39f1f2acc9de82603fdc8bd8e616d6c7336064
435e80b899d294ff48d4c1cfa57bb789e7390eb2
/include/server/dbconnectionPool/connectionPool.hpp
18a3c3b153019c2edf417a7fdf0e336fe969d6e1
[]
no_license
FreeezingHeart/chatserver
e8b998fef72edc3bc92d52e90a48def27efbb421
7dbffce11c328157984e30938f480f1defdc783e
refs/heads/master
2022-11-08T10:32:23.499786
2020-06-28T09:22:48
2020-06-28T09:22:48
269,647,713
8
0
null
null
null
null
UTF-8
C++
false
false
1,395
hpp
connectionPool.hpp
#ifndef CONNECTIONPOOL_HPP #define CONNECTIONPOOL_HPP #include <iostream> #include <string> #include <mutex> #include <queue> #include <atomic> #include <thread> #include <functional> #include <memory> #include <unistd.h> #include <condition_variable> #include "db.h" using namespace std; class ConnectionPool { public...
8a4b5ff25a491125960674d79a2a0495337cc480
89471e24ae832742e6d2ffb2983f4d6189e61f56
/source/Timer.cpp
250f1f8529d7eb523ed5e61f7271955f3a02db1d
[]
no_license
alexsalomon/underground-survivor
ab5869eeb29b91150924a340014bf69510c8d038
ce5cc6c7f8d42c30021798e6053cdb6f82d4d35c
refs/heads/master
2021-01-01T17:52:38.342091
2018-06-13T11:50:24
2018-06-13T11:50:24
15,031,682
0
0
null
null
null
null
UTF-8
C++
false
false
961
cpp
Timer.cpp
#include "stdafx.h" #include "Timer.h" Timer::Timer() : m_is_running(false), m_begin(0), m_end(0), m_remaining_time(0) { } Timer::~Timer() { } void Timer::start(unsigned long seconds) { m_begin = (unsigned long)clock() / CLOCKS_PER_SEC; //makes it be seconds instead of miliseconds m_end = m_begin + seconds; m_i...
efe0dd1117c7c949a108743897907fa9b290b6c6
e3a97b316fdf07b170341da206163a865f9e812c
/vital/util/tests/test_any_converter.cxx
c1244a22e63b25553e52c2d3be7765a6d3de505a
[ "BSD-3-Clause" ]
permissive
Kitware/kwiver
09133ede9d05c33212839cc29d396aa8ca21baaf
a422409b83f78f31cda486e448e8009513e75427
refs/heads/master
2023-08-28T10:41:58.077148
2023-07-28T21:18:52
2023-07-28T21:18:52
23,229,909
191
92
NOASSERTION
2023-06-26T17:18:20
2014-08-22T15:22:20
C++
UTF-8
C++
false
false
4,834
cxx
test_any_converter.cxx
// This file is part of KWIVER, and is distributed under the // OSI-approved BSD 3-Clause License. See top-level LICENSE file or // https://github.com/Kitware/kwiver/blob/master/LICENSE for details. /// \file /// \brief test util any_converter class #include <vital/util/any_converter.h> #include <vital/types/uid.h> ...
5ddfa1d4c2310bfe21768b153738ae81e5347e2a
ad952fefcabc91d6baf6b8260745112fd51d1274
/VulkanWrapper/VulkanPipeline.cpp
126c3b15cdc4fa6677bf6513cf7f669968a3e14d
[]
no_license
dekorlp/VulkanWrapper
b294e3824c49665f7a31b1b6994a0f3f31cea753
3d5c852305f71f75abb93e53a59be700bd26cbcd
refs/heads/master
2020-04-19T20:06:45.496889
2019-02-10T19:58:55
2019-02-10T19:58:55
168,406,501
0
0
null
null
null
null
UTF-8
C++
false
false
10,215
cpp
VulkanPipeline.cpp
#include "VulkanPipeline.h" void CVulkanPipeline::InitVulkanPipeline(CVulkanInstance* instance) { m_Instance = instance; } void CVulkanPipeline::CreateGraphicsPipeline(CVulkanVertexDescription vertexDescription) { auto bindingDesription = vertexDescription.getBindingDescription(); auto attributeDescription = verte...
d07198b615bb5812451aca6c1c03b91479aa43f9
d6023bfe18e61a4202068cdcae5a090a6031a02e
/wakeup.cpp
dec3478d1d3c9358503190f4fe81efad0195b0b3
[]
no_license
mniip/sandbox
5d76b6e01b2dcfe445c0b598344477948bcde867
ec89657dc6a80323b0f44c4388c01711b0d28b3b
refs/heads/master
2023-06-24T06:05:13.924977
2023-06-19T10:22:09
2023-06-19T10:22:09
72,671,758
11
1
null
null
null
null
UTF-8
C++
false
false
4,201
cpp
wakeup.cpp
#include <thread> #include <string> #include "sandbox.h" #include "config.h" extern "C" { #include <stdio.h> #include <fcntl.h> #include <sys/socket.h> #include <sys/un.h> #include <sys/ioctl.h> #include <pthread.h> } char const *ident; int in_pipe[2], out_pipe[2]; int old_client = -1; std::thread *feed_in, *feed_...
b9006c57f5ec456ad188a0a9517671c05214239b
123ab5d99f22ccf406d74696a0f01fab7c966c28
/n-gon/n-gon/BulletController.cpp
84d7a9730d300211db4b239b85e355c188a6bb54
[]
no_license
alycarter/n-gon
be043ac2abd284f6f5e2d3641fd31423cc3b3594
c063493f2008ea16d2eaf99e4eefd1ce5e2a6e05
refs/heads/master
2016-09-01T16:49:22.036578
2015-04-30T18:15:37
2015-04-30T18:15:37
34,536,204
0
0
null
null
null
null
UTF-8
C++
false
false
658
cpp
BulletController.cpp
#include "BulletController.h" #include "emmet-engine\UpdatePackage.h" #include "emmet-engine\Entity.h" #include "emmet-engine\Time.h" #include "Physics.h" BulletController::BulletController() { life = 4; } BulletController::~BulletController() { } void BulletController::update(UpdatePackage * package) { //lower t...
4be9f83e4a895641f7f0b96fb2546635fae171df
a0fc88d24e8fdcd2b0909019fcd1f4259ff663c8
/LightCrafter/src/LCR_Commander.cpp
e14ac8e089f4c5f09bcf9311f65afe1d84de5c54
[]
no_license
applekey/TI_LCR
6fc65db1b8dcab1f86876e6f44e207eec8147ce9
ccac28582ed3923ad38a9b7e1e7950658da47823
refs/heads/master
2021-01-22T06:54:12.308655
2013-06-01T20:20:19
2013-06-01T20:20:19
null
0
0
null
null
null
null
UTF-8
C++
false
false
5,100
cpp
LCR_Commander.cpp
#include "LCR_Commander.h" LCR_Commander::LCR_Commander(void) { tcpClient = new Tcp(); connectedSocket = -1; packetizer = new Command_Packetizer(); } LCR_Commander::~LCR_Commander(void) { if(tcpClient != NULL) delete tcpClient; if(packetizer != NULL) delete packetizer; } bool LCR_Commander:: Connect_LCR...
7313a92e22e0dd09a2bd7f1e65671d1296640955
5d3b6173931d919a857309f162ac73c09b640331
/include/Grid/Selection.hpp
3af87c80d4be9bedb953955e26de1053bae5d51a
[ "MIT" ]
permissive
PaprikaX33/nanaro
8fa49155b1c61602a65e611a0020b6c9d7da69da
8218224987894ee2ef2d83c8f42d35a5190a304f
refs/heads/master
2022-12-15T11:17:04.249898
2020-08-12T14:52:41
2020-08-12T14:52:41
273,995,061
0
0
MIT
2020-08-12T14:52:42
2020-06-21T22:47:13
C++
UTF-8
C++
false
false
350
hpp
Selection.hpp
#ifndef NANARO_GRID_SELECTION_HEAD_HPP #define NANARO_GRID_SELECTION_HEAD_HPP #include "Block/Type.hpp" #include <tuple> namespace Grid { Block::Type const * get(std::pair<int,int> const &); Block::Type const * get(void); //TODO: replace the pair to sys::pair extern std::pair<int,int> screenPos; } #endif //N...
ecd084ca7fc691b7c65a3b1e7de2008078ac52f7
f1f41f0a19b11f21d6cee74d855e9a0fc1871459
/arreglos.cpp
79d96c7e5b4091ddd2a62a6c720032557bd650dd
[]
no_license
pazdiegog/consulta
11d6e1363ace565eb76fcf0b41a42288375ad7da
e3ade41a45f6e358719d2350a807248f42288bf6
refs/heads/master
2021-01-22T13:26:13.743655
2017-08-25T20:44:54
2017-08-25T20:44:54
100,659,579
0
0
null
null
null
null
UTF-8
C++
false
false
2,786
cpp
arreglos.cpp
#include <iostream> #include <fstream> #include <string> #include <array> //#include "burbujeo.cpp" using namespace std; struct Listado{ string agrupacion; string candidato; int lista; int votos; }; const int MAX = 5; array<Listado, MAX> partidos; void print (array<Listado, MAX> partidos) {...
2f04b21cfb147056703909eed678f2abedf11768
82749ce2bff0c448be1874f74318749bd0862dda
/main.cpp
26413029476d9ef1810178853d3a8515ba042dce
[]
no_license
hulponot/baggage
8c6f935cf6dda93cb6feda0c9daccab74d52ebe9
b78115e2e499bfa48ffc6c81b9ab3809657e0103
refs/heads/master
2020-05-18T12:53:53.584055
2015-04-29T09:24:30
2015-04-29T09:24:30
30,754,543
0
0
null
null
null
null
UTF-8
C++
false
false
417
cpp
main.cpp
#include <QApplication> #include <QQmlApplicationEngine> #include <qqml.h> #include "levelinfo.h" #include <iostream> int main(int argc, char *argv[]) { //std::cout<<Consts::stuff_I[2]; Consts consts; QApplication app(argc, argv); qmlRegisterType<LevelInfo>("MyLib",1,0,"World"); QQmlApplicationE...
cf1d34d606b08ad8963eff3ba0c75ca18459a8f4
749f2780145db9940f8b4f6f75187448869604c6
/Source/SpriTopDown/AttributeSetBase.cpp
0a7210eae71dc2f6dca27429e8f60bc041890582
[]
no_license
MaxNorr/SpriTopDown
135d2e1d8a30b8e1cc3a2295653337a1e1bc92fe
f029eb13f95f883a871e1f1890dc7d4964972218
refs/heads/master
2023-02-19T19:20:34.899133
2021-01-14T18:32:18
2021-01-14T18:32:18
329,703,406
0
0
null
null
null
null
UTF-8
C++
false
false
5,332
cpp
AttributeSetBase.cpp
// Fill out your copyright notice in the Description page of Project Settings. #include "AttributeSetBase.h" #include "GameplayEffect.h" #include "GameplayEffectExtension.h" #include "MainCharacter.h" #include "Net/UnrealNetwork.h" UAttributeSetBase::UAttributeSetBase() { } void UAttributeSetBase::PreAttributeChan...
982c12314e5d085bed42dd8598fa8c24d6f55f16
57ffc709a3ccf586cafd864371fa281435348eab
/DeckList.h
4a4f05668af9066e782ff264d202e65a1cc2917b
[]
no_license
sethtankman/CardsQt
cd91593c975ede37e04f02b95a3b626b695dea09
6b2d828680e203fdcfc8f73ed6622ddfec90fb7d
refs/heads/master
2023-01-02T17:06:49.227175
2020-10-26T07:57:13
2020-10-26T07:57:13
307,294,690
0
0
null
null
null
null
UTF-8
C++
false
false
357
h
DeckList.h
#include <iostream> #include <array> #include <map> #include "Deck.h" #include "Matchup.h" using namespace std; class DeckList { std::map<std::string, Deck> list; public: DeckList(); void MakeMatchups(); void Insert(pair<string, Deck> p); void ShowMenu(int _numDecks); void Winrate(); void EnterAll(); ...
3de99b3882f1c206a8bf2231b635d23957ff9849
33b44be6f55d68ca8a8003e2d34fb47fdb2340d0
/src/test/datareftx_tests.cpp
e395dc25a343d106fc9dcc873b6992e5284cfcc3
[ "MIT", "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-unknown-license-reference" ]
permissive
esthon/bitcoin-sv
72bc421d9e6d59a3d270962ec399743ae08a69c2
08d493fe4c7610efd3eeee7c0bfa5b5e991658a6
refs/heads/mydev
2023-07-27T10:04:40.813510
2023-07-19T16:20:41
2023-07-19T16:20:41
362,464,092
0
0
NOASSERTION
2023-07-14T19:20:58
2021-04-28T12:45:10
C++
UTF-8
C++
false
false
4,648
cpp
datareftx_tests.cpp
// Copyright (c) 2022 Bitcoin Association // Distributed under the Open BSV software license, see the accompanying file LICENSE. #include "miner_id/datareftx.h" #include "consensus/merkle.h" #include "univalue.h" #include "test/test_bitcoin.h" #include <boost/test/unit_test.hpp> #include <random> namespace { /...
5399332e5e19deacb849ce694ff97b2be8c991d7
6428d8b991fab5cdcd9a365bbd168b2aaf7fcf42
/mainwindow.cpp
fdb156d899b4eb87441fed268a6415238601b595
[]
no_license
Stadzior/SMPD
25a3bf13fab4bcecbad37e6ed7c59a3cf22c1d0c
5677d49446a81d2b1dc397774b54295732a4df28
refs/heads/master
2021-01-19T22:20:24.452802
2017-05-14T15:33:31
2017-05-14T15:33:31
88,792,617
0
0
null
null
null
null
UTF-8
C++
false
false
6,079
cpp
mainwindow.cpp
#include "mainwindow.h" #include "ui_mainwindow.h" #include <QImage> #include <QDebug> #include <vector> MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow) { ui->setupUi(this); FSupdateButtonState(); } MainWindow::~MainWindow() { delete ui; } ...
100bfcbbf0fe0e59baa75b6a195f7113a5423800
aa823472a02c0c07efe063b857f5cf88a71cea2e
/shad/algorithms/homework/football_crew.cpp
56998f4a255b238cf82abd5c68f23a1e4256af06
[]
no_license
adelkhafizova/homeworks
7bed93da790a9568cd196605c04e5bbbb17b992a
d45163dad0c68ca1573fd483a23c178afe030661
refs/heads/master
2021-01-10T14:50:33.525050
2015-11-18T17:45:03
2015-11-18T17:45:03
45,468,042
0
0
null
null
null
null
UTF-8
C++
false
false
1,790
cpp
football_crew.cpp
#include <iostream> #include <vector> #include <iterator> #include <algorithm> class Player { public: Player(int number, int effectiveness) { number_ = number; effectiveness_ = effectiveness; } bool operator < (const Player &right_player) { return this->effectiveness_ < right_player.effectiveness_; ...
27e0dd659e209e23fd1a39b4ae83c3791f293b89
bdbdedc6ca870c7b124cf67398141f99c1b3eccc
/Introduction to CP Using C++ April 2021 (ArnabSir)/37-Tuples3.cpp
71545aff7d1645c413b15569bae01bb02ff9c3fd
[]
no_license
iDLE1992/plus-course-content
ed4452286cc65e8a82cfb710cd75ffeb26313034
39ee72bb7453a9695bb3544a0c23dc45e1d112ea
refs/heads/main
2023-04-21T12:43:47.823276
2021-05-10T17:32:37
2021-05-10T17:32:37
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,022
cpp
37-Tuples3.cpp
//C++ code to demonstrate swap() #include<iostream> #include<tuple> // for swap() and tuple using namespace std; int main() { // Initializing 1st tuple tuple <int,char,float> tup1(20,'g',17.5); // Initializing 2nd tuple tuple <int,char,float> tup2(10,'f',15.5); // Printing 1st and 2nd tuple before s...
8cb3f94bb1215be5897cb2feb7880452b9892b03
093aac4ab40bcd785533b7cae21a986eaf917711
/C++/089 클래스와const , 복사생성자.cpp
26cee2772079e54d7f507d5c58ec8c9ab1c7052c
[]
no_license
Fox-Rain/C_Plus_Plus
42408fb9a338b198ac6f16d8be44f5a7ba8bb716
736656e82606e861b1eb5efafa3a9063faf8318b
refs/heads/main
2023-06-14T20:43:04.195482
2021-07-14T07:26:14
2021-07-14T07:26:14
376,890,743
0
0
null
null
null
null
UHC
C++
false
false
1,801
cpp
089 클래스와const , 복사생성자.cpp
#include<iostream> using namespace std; class Something { public: int m_value = 0; Something(const Something &s) // 복사 생성자 << 인위적으로 복사생성자를 정의 한것이고 default복사 생성자는 원래 내재되어 있다. (보이지않게 저장되어있음) { m_value = s.m_value; cout << "Copy Constructor" << endl; } Something() // 일반 생성자 { cout << "Co...
e26f81b862746317eaf9d5dbb41521344bb8c783
21f55ef1427f19f40d40e6c0438cfe7c3573159b
/Semester 3/Data Structures/Other Codes/Practice/Amicable.cpp
1f63b807431b6f363757048c63a0c5093dddd905
[]
no_license
SyedAsadAbrar/University-Assignments
fa80159d24eed85ae70e8aaf20041acd96b95861
e11b449fc2de2a07ea3b4a4aa3e3af29dee6447d
refs/heads/master
2022-11-15T12:49:02.257410
2022-11-12T23:06:41
2022-11-12T23:06:41
167,517,803
0
0
null
null
null
null
UTF-8
C++
false
false
411
cpp
Amicable.cpp
#include<iostream> using namespace std; int amicable_pair(int n1, int n2) { int sum1=0; int sum2=0; int indicator=0; for (int i=1;i<=(n1/2);i++) { if (n1%i==0) { sum1=sum1+i; } } for (int i=1;i<=(n2/2);i++) { if (n2%i==0) { sum2=sum2+i; } } if (sum1==n2 && sum2==n1) { indicator=1; } ret...
5ee862d05ed9ab7efa6057c31127b07d3447949a
aacee20988ddd8087b8f4f8239c7fca9e02b4d16
/第十章/8/8/main.cpp
9995739425fd42ac78b44c905a7774e98ddb58fb
[]
no_license
f01965/C-primer-plus-6
9e7012aa63075043061d062301498b9bf078c8e3
c4913a57647910addc66a22dfb1f5c513709a808
refs/heads/master
2021-01-26T01:35:31.493273
2020-02-27T11:45:36
2020-02-27T11:45:36
243,254,612
0
0
null
null
null
null
UTF-8
C++
false
false
547
cpp
main.cpp
#include "list.h" #include <iostream> void addData(Item &it) { it.data = 6789; } int main() { List list; Item item = { "f01965",1000 }; Item item2 = { "zzzz",2000 }; if (list.isEmpty()) { std::cout << "List is empty " << std::endl; } list.additem(item); list.additem(item2); std::cout << "Count = " << list....
a2b3e9a1548ae1366026cc51ece77507fd7f8d4b
215c3965a80d424d84df20df798d6415daca2ec3
/openarms/control/chatter.cpp
841a7fc10ed498a4843e04e6d16d90d5afa97f01
[]
no_license
codebot/stanford-ros-pkg
ed6aa774d2a3d229cff3e43819732c89cea1cba7
9e85d6cd3ae0403e32b014c09e907b85699c82ba
refs/heads/master
2021-01-10T13:10:47.774266
2012-02-11T21:24:07
2012-02-11T21:24:07
36,405,200
0
0
null
null
null
null
UTF-8
C++
false
false
1,933
cpp
chatter.cpp
#include <ros/ros.h> #include "openarms/ArmSensors.h" #include "openarms/ArmActuators.h" using std::string; double g_gripper_target = 0; ros::Publisher *g_actuator_pub = NULL; openarms::ArmActuators g_actuators; //double g_stepper_vel[4]; uint16_t g_encoder_target[4] = {0, 0, 0, 0}; void sensors_cb(const openarms::Ar...
27125521e54c056cbb795c8cc516032cb164572b
5aa52dab884205a718bff86a647e68d5db22bd7d
/FML/COLASolver/src/Cosmology.h
f3daf8b0a9ad3386e30fea03eeec336ee85fba1d
[]
no_license
willlake/FML
bf3e5286bd56792fdc061387d193c6688a129552
6a88e1dab5d34d73ad13cdfdccb2a754f4f8672f
refs/heads/master
2023-03-23T09:52:03.556402
2021-03-22T14:57:33
2021-03-22T14:57:33
null
0
0
null
null
null
null
UTF-8
C++
false
false
15,740
h
Cosmology.h
#ifndef COSMOLOGY_HEADER #define COSMOLOGY_HEADER #include <FML/FFTWGrid/FFTWGrid.h> #include <FML/Global/Global.h> #include <FML/Interpolation/ParticleGridInterpolation.h> #include <FML/LPT/DisplacementFields.h> #include <FML/ODESolver/ODESolver.h> #include <FML/ParameterMap/ParameterMap.h> #include <FML/Spline/Splin...
3c32d1149ac59a2a3c5f956bfe316975dfff4d35
d1074706bf55522e1b8d4a21b5a67e3c16f86a19
/UI/back_end/Instruction.cpp
19e96285d4e61071aa6b060b8fa00a3f4f692847
[]
no_license
PhucNguyenSolver/ARMv8
5f59c6ffaf26cf8026570e39ef30fbe731055df6
ba3869d09de25854d045e79988e48121d223f0ab
refs/heads/main
2023-05-14T15:11:26.654672
2021-05-30T04:40:00
2021-05-30T04:40:00
367,106,376
0
0
null
2021-05-18T03:17:25
2021-05-13T16:18:34
C++
UTF-8
C++
false
false
22,948
cpp
Instruction.cpp
#include <algorithm> #include <vector> #include <bitset> #include <chrono> #include <climits> #include <iostream> #include <sstream> #include <thread> #include "Utils.h" #include "Instruction.h" inline bool validRegisterName(string registerName) { int index = Hardware::indexOf(registerName); return index != -...
e880d0a61b9aa4ace2b8e19b4908a96e43341ee7
a077943855cf1ac32ab4c2ff2311fb6966cbaee5
/ApData/Sql/Models/ItemCategory.hpp
d3e054d3b58df8538e607c0188c05d6e04282605
[]
no_license
GeorgeKaraszi/Aphelion
58da7bae17872e0a54edafa4e9ed76e4dacf28c3
127a356155103383ac8a84deb7e52b5857eb0690
refs/heads/master
2023-04-28T12:09:16.870017
2021-05-02T22:32:14
2021-05-02T22:32:14
305,194,039
3
0
null
null
null
null
UTF-8
C++
false
false
1,447
hpp
ItemCategory.hpp
#ifndef APDATA_SQL_MODELS_ITEMCATEGORY_HPP #define APDATA_SQL_MODELS_ITEMCATEGORY_HPP #include "AModel.hpp" namespace ApData::Sql::Models { namespace Data { struct alignas(64) ItemCategory { int id { -1 }; int item_category_id { -1 }; std::string name; }; } class It...
f345889628b24f978a3db66d05d008b9ce4b2157
2fa275ac6a17d15b9ad28e09a5295e2ae7bcd8b3
/Codeforces/310/C.cpp
90e34243824dd40377ee56bb164ad14f0e81fe62
[]
no_license
arnabgho/competitive_programming
bcd46cbcafad06dce80efaae28048de149b0fe5d
13af2a371d7d973f3fed244daf04a1c6252db53b
refs/heads/master
2021-01-17T13:38:17.464779
2016-06-27T22:41:32
2016-06-27T22:41:32
33,666,144
0
0
null
null
null
null
UTF-8
C++
false
false
626
cpp
C.cpp
#include <bits/stdc++.h> #define _ ios_base::sync_with_stdio(0);cin.tie(0); using namespace std; int getStreak(std::vector<int> v){ int n=1; for (int i = 0; i+1 <v.size() ; ++i) { if(v[i+1]==v[i]+1) n++; else break; } return n; } int main() { int n,k; cin>>n>>k; int nComp=0; int ans=0; for (int i...
84c94378cacafa651af85dff983b79f621fbf38a
aaee58f6aaf5d857968c93d65dcc01071129baea
/reference/cpp/Utility.cpp
eaa15ddc81ef0e08b4972cb55a74325ecf42c751
[]
no_license
Wilhansen/PHOBDDIP
4293e77451a389e784f6c6e237f68e525daf7ad7
0c2cac8a1744c329a884664cf77e8ff40bd4a466
refs/heads/master
2020-12-30T14:57:29.969978
2017-06-29T09:23:48
2017-06-29T09:23:48
91,101,609
0
0
null
null
null
null
UTF-8
C++
false
false
8,470
cpp
Utility.cpp
#include "Utility.hpp" #include <stdexcept> #include <sstream> #include <cstring> using namespace std; SecureMemory::SecureMemory(size_t size) : m_size(size) { m_data = new uint8_t[size]; sodium_mlock(m_data, m_size); } SecureMemory::~SecureMemory() { if ( m_data == 0 ) return; sodium_memzero(m_data, m_size); ...
615b185e2f799cdd43f6191176939634924c8d8d
a8965144be70ebc38d8f20d41438d41ef2f137ce
/listings/isdebug.cpp
f022b750cf00ec7f31f50232556c0d3cfbbab07f
[ "Apache-2.0" ]
permissive
tesuji/AnalyzeAgobotReport
92ccd332e5956f6d7261bb1cde249dd133fc5541
e8594d1fbcdeadcd637de80f10b5f7922cdc11ab
refs/heads/master
2021-09-18T08:00:17.431068
2018-07-11T17:06:03
2018-07-11T17:06:03
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,594
cpp
isdebug.cpp
__inline bool IsSICELoaded() { _asm { mov ah, 0x43 int 0x68 cmp ax, 0x0F386 // Will be set by all system debuggers. jz out_ xor ax, ax mov es, ax mov bx, word ptr es:[0x68*4] mov es, word ptr es:[0x68*4+2] mov eax, 0x0F43FC80 cmp eax, dword ptr es:[ebx] jnz out_ ...
7cf34b50064cac9530f5655ba0c742b0ad43037a
51a5257cb59c15a32ee7fe5448588006e083feff
/Network/ANN/activation_functions.h
b81258e3ed028a4931fed11deeedc884a97d3bbe
[]
no_license
haukri/MasterProject
9610632dd4f1d53bce7ce76f7852079d19f4b356
3196d8fe187f1298f3afa0ecdc9edf0929745989
refs/heads/master
2020-08-29T17:05:41.226935
2020-06-14T14:45:54
2020-06-14T14:45:54
218,101,891
2
0
null
null
null
null
UTF-8
C++
false
false
282
h
activation_functions.h
#ifndef ACTIVATION_FUNCTIONS #define ACTIVATION_FUNCTIONS namespace activation_functions { double tanh_transfer(double x); double tanh_transfer_derivative(double x); double sigmoid_transfer(double x); double sigmoid_transfer_derivative(double x); } #endif
8ddf24be2ab803bd9b524835f3a0eccdb1e8eb92
057a475216e9beed41983481aafcaf109bbf58da
/src/Functions/addressToLine.h
5c1611fe173d819171fe08149a60f8e1d676201d
[ "Apache-2.0" ]
permissive
ClickHouse/ClickHouse
fece5204263a5b4d693854b6039699265f1bb27f
6649328db809d51a694c358571539bc5820464be
refs/heads/master
2023-08-31T18:48:36.615225
2023-08-31T17:51:24
2023-08-31T17:51:24
60,246,359
23,878
5,449
Apache-2.0
2023-09-14T20:10:52
2016-06-02T08:28:18
C++
UTF-8
C++
false
false
4,263
h
addressToLine.h
#pragma once #if defined(__ELF__) && !defined(OS_FREEBSD) #include <Common/Dwarf.h> #include <Common/SymbolIndex.h> #include <Common/HashTable/HashMap.h> #include <Common/Arena.h> #include <Columns/ColumnString.h> #include <Columns/ColumnArray.h> #include <Columns/ColumnsNumber.h> #include <DataTypes/DataTypeString.h>...