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
5f94973fb358882eb52b80820b267b6b7be692b9
da289d5f618b676def2ef5cda2f7e10042a3bb1a
/Bulk Club Project/FillMemberList.cpp
0646dc809255cf4413ad28474a06b34138f23534
[]
no_license
stewartjustind/Bulk-Club-Project
9936537da18768d582be3914c2e46f5cfbb32dd0
2ae8aa590c22c68b3c1e7fad646f5a61ce93d642
refs/heads/master
2021-05-30T19:44:03.663058
2014-05-13T02:03:07
2014-05-13T02:03:07
19,219,967
0
1
null
null
null
null
UTF-8
C++
false
false
2,940
cpp
FillMemberList.cpp
/************************************************************************* * AUTHOR : Andrea Velazquez & Justin Stewart * STUDENT ID : 994759 * FINAL PROJECT: Super Warehouse Store * CLASS : CS1C * SECTION : TTH: 8:30a - 9:50a * DUE DATE : May 13th, 2014 **********************************************...
33558ef19d3ee4cdb05f197eaba923fb2e53d70a
ee669f4df44f2f241bd9a2c7c348e0c78183d414
/数据结构算法/一元稀疏多项式.cpp
6867c1e944a98aae26ef81f4cca1bc8ad6f85ad6
[]
no_license
totoroKalic/Practice
bd3f23f53c89e42041b6714f3eeda6a1d953cd44
5b57080d54be2b66bb38df6b289d94557252ace1
refs/heads/master
2020-06-14T10:30:22.151827
2019-07-03T05:03:00
2019-07-03T05:03:00
194,982,082
1
0
null
null
null
null
GB18030
C++
false
false
2,381
cpp
一元稀疏多项式.cpp
/* 一元稀疏方程组的计算 */ /* 该程序存在问题!还需要调试 */ #include <stdio.h> #include <stdlib.h> typedef struct LNode{ int down; int up; struct LNode *next; }LNode,*LNodeList; void creatLNode(LNodeList &hp, int m) { LNodeList p; hp = (LNodeList)malloc(sizeof(LNode)); p = hp; for (int i = 0; i < m; i++) { p->next = (LNodeLi...
dac09e91b1871afc60dd4e6ec726739cc051f294
6db40efe5c45bbb8f0ca609c81c42131e999d6d4
/tp1/codigo/sched_rr2.h
f84991460bac1e664f76df966a748be10a225f51
[]
no_license
svilerino/Sistemas-Operativos
483d4566a63428796a07cae22d86839c98aa9ba7
97999e058647fbbc06331d859a7413ab1e755a13
refs/heads/master
2016-09-06T02:53:13.808347
2014-07-27T14:13:47
2014-07-27T14:13:47
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,218
h
sched_rr2.h
#ifndef __SCHED_RR2__ #define __SCHED_RR2__ #include <vector> #include <queue> #include <unordered_map> #include <algorithm> #include <stdint.h> #include <iostream> #include "basesched.h" using namespace std; /** Sea n_cores la cantidad de cores: Estructuras de datos: - Una tabla vector de n_cores cor...
ebf5749c68bc9793b65fd1dd7964f2c754eea0aa
1ad0c6f4927808f313cfcd29f149c20d26ad7887
/QTDistribute/main.cpp
977d6303cf37d6f23fd8a49b7ae34d6ed9a514ae
[]
no_license
hustyouyou/ADT-MultCS
c68ccd251e4e4566acae98642dd77dd1417f891c
0f6f82e2f17831f27bf767e16a5c867924fd1db2
refs/heads/master
2020-04-06T11:05:08.673887
2018-11-13T08:09:35
2018-11-13T08:09:35
null
0
0
null
null
null
null
UTF-8
C++
false
false
183
cpp
main.cpp
#include <QtCore/QCoreApplication> #include "Distribute.h" int main(int argc, char *argv[]) { QCoreApplication q(argc, argv); Distribute distribute; distribute.Run(); return 0; }
99a711a56a33bc4062b1e34856c755247423678c
9b543466a27511d77ce59e3c50367323705e6569
/src/replica/backup/test/replica_backup_manager_test.cpp
09a2ea423523a5c812257da102f198f830501601
[ "MIT" ]
permissive
satanson/rdsn
17e7d87b7312a357f766ac107e072c0c5e681c84
646a8b1ff31fd38e870bb7708c76a8c172825c5e
refs/heads/master
2023-03-31T13:03:28.452245
2021-04-08T03:28:46
2021-04-08T03:28:46
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,081
cpp
replica_backup_manager_test.cpp
// Copyright (c) 2017-present, Xiaomi, Inc. All rights reserved. // This source code is licensed under the Apache License Version 2.0, which // can be found in the LICENSE file in the root directory of this source tree. #include "replica/test/replica_test_base.h" #include "replica/backup/replica_backup_manager.h" na...
b47d9dec9a68de13d1c148a10dc1e28d282361e8
36aff955b9d38c47f5b613755001aa6b3a8c4110
/Block.h
0da1792a21a05f1c91103b53fc46162e1773ab30
[]
no_license
JohnalKhow/CPECOG2-Project
31111421e8d5221cd4a79ffe65c2a2e1d8262fa3
804eb29c629e9a12e7cdb87e2571319fca554dcb
refs/heads/main
2023-07-18T12:12:51.446917
2021-09-07T05:56:16
2021-09-07T05:56:16
403,853,230
0
0
null
null
null
null
UTF-8
C++
false
false
668
h
Block.h
#pragma once #include <stdio.h> #include <stdlib.h> #include <iostream> class Block { public: Block(uint32_t* sprite_tracker, int width, int height, int x, int y, float factor, int type); int getWidth(); int getHeight(); int getX(); int getY(); float getFactor(); int getType(); uint32_t...
7d196e904a0448798ac86872244585890d7175b4
0a902acd23482e6e0666f5a3f3de5e07fb6056e3
/include/iterator.hpp
b29c9bf7fa756a6779b6d92726786f07ea1b3a2f
[ "MIT" ]
permissive
subhasis256/opencvpp11
4a004781ca9ee702da6d669982d6306a743fe3a3
cad4ec61cccd1c3814594a01cb869e1239f25e47
refs/heads/master
2016-09-15T17:29:54.845937
2014-06-13T02:13:06
2014-06-13T02:13:06
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,978
hpp
iterator.hpp
#ifndef __OPENCVPP11_ITERATOR__ #define __OPENCVPP11_ITERATOR__ #include <opencv2/opencv.hpp> #include <common_checker.hpp> using namespace cv; using namespace std; /** * This is a wrapper over MatIterator_ to make it consistent with * range based for loops in C++11. * The IterableMat<T> class has a begin() and a...
c2cb4119f11e3a2e11fc43c557d286decd9900d4
d30a102c2bd54a2bdb9f6d7e51e53483d5b19bd6
/test_spuce/plot_fft.h
619acafb2995f56013ecf5f061ecaf198584440f
[ "BSL-1.0" ]
permissive
kevinl8890/spuce
56f1454970a4e1877965bd965d1ceedde9f81e5c
1fb0d26e8a09f3b6a43fff9f279ca202f03b6294
refs/heads/master
2020-04-11T06:02:24.825693
2017-10-30T00:39:54
2017-10-30T00:39:54
null
0
0
null
null
null
null
UTF-8
C++
false
false
265
h
plot_fft.h
#pragma once #include <vector> #include <complex> void plot_fft(std::vector<double>& data); void plot_fft(std::vector<std::complex<double>>& data); void plot_data(std::vector<double>& data); void compare_fft(std::vector<double>& data1, std::vector<double>& data2);
5f75777ea32be74d1cfe9092369d7ad2f89b258e
36fb616092b30a25df027ca2a4b91d9bf327641a
/ex05/PromoteForm.cpp
d0f61d901571e5b0305764a9f116a8bd301fe26b
[]
no_license
2LeoCode/CPP_Module_05
e6b41dca7d8cdac2f4bd09817e672ddb54c5f066
4241e32b0cac9616079db66c3d39957e5dab25b2
refs/heads/master
2023-02-23T04:58:32.669996
2021-01-27T18:06:39
2021-01-27T18:06:39
333,516,068
0
0
null
null
null
null
UTF-8
C++
false
false
1,081
cpp
PromoteForm.cpp
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* PromoteForm.cpp :+: :+: :+: ...
bf553164fcc3bac98ce4d4645ff36ef99694c0f7
94f0ce8cc713c0fcb50821996d46d583214a9164
/Sources/hoaRecomposerProcessor/AmbisonicsRecomposer.cpp
6f80689cd40d9bf645925fb75730f586263138c5
[]
no_license
dimibil/HoaLibrary
6329e58a70274f7a5f196eaf43aa79cb94921200
f0f5513081c4d77b7fe53b36daf47552fe3e6420
refs/heads/master
2021-01-17T05:52:43.949051
2013-05-28T10:31:26
2013-05-28T10:31:26
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,116
cpp
AmbisonicsRecomposer.cpp
/* * * Copyright (C) 2012 Julien Colafrancesco & Pierre Guillot, Universite Paris 8 * * This library is free software; you can redistribute it and/or modify it * under the terms of the GNU Library General Public License as published * by the Free Software Foundation; either version 2 of the License. * * Thi...
d0a7baf0a2e2e324e6d6a3de18f6cd7c2e935118
87ecb0545391aa1217843c9348fec455836ff017
/DataStructure/Map/HashMap.cc
b9758ac3f03cbd970a79c840ca83eace103e6464
[]
no_license
MarkAureliy/software-engineer
fff34b0c909e2cb0f7ea88470e684f2e12d9acd0
20d63e2489c104ea39fdc67d2861ecb868d5e63e
refs/heads/master
2023-04-05T08:35:35.805347
2021-04-13T15:04:59
2021-04-13T15:04:59
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,381
cc
HashMap.cc
/* Author: Jemmy * Date: 2020-03-22 */ #include <iostream> #include <vector> #include <utility> #include <optional> template<typename KeyT, typename ValT, typename HashT = std::hash<KeyT>> class HashMap { public: using key_type = KeyT; using mapped_type = ValT; using value_type = std::pair<const key_type...
94b52d61fa54edd1e1bf45d7912436b4bcae3577
83c0ed11b4d229d02907042c3b2ded2f96205269
/c++_code(dirty)/rmse.h
f2aa1d9467c13404cde8b1a0228fbb9e5bcdac89
[]
no_license
AdamGabrys/Time_series_prediction_FCM_IG_PSO
54b753dd168bb0db18fc34bfa956458df639cd0c
7f4e2b812f1f24f2421aeff6aefe19eab6520312
refs/heads/master
2021-05-30T21:45:39.534058
2016-04-08T21:49:57
2016-04-08T21:49:57
55,811,559
2
0
null
null
null
null
UTF-8
C++
false
false
398
h
rmse.h
#ifndef RMSE_H_INCLUDED #define RMSE_H_INCLUDED #include <cmath> #include <vector> inline double rmse(double* dat, std::vector<double> dat_or ,int t){ //double dat_s=0; double dif=0; double ret; /*for(int i=0; i<t; i++){ dat_s+=dat[i]; } dat_s=dat_s/(double)t;*/ for(int i=0; i<t; i++){ dif+=pow(dat[i]-dat_or...
a8483d07b9fe8b77577ad3c769677594e40a8c5f
1ecb45de29ec256a367b1d441c69158e63f1f280
/Session 2/representation.cpp
ec8aaff987a7b3aa64ab264cb8fc4a76b54b0784
[]
no_license
safwankdb/WnCC-Competitive-Coding
2c2e1591d7693524a8c4d34c99e562f65ff20487
de04e5d99b7e61ee983797cb5a92fe0522d0cf21
refs/heads/master
2021-06-30T17:48:58.851327
2019-02-11T11:32:40
2019-02-11T11:32:40
165,313,442
5
2
null
2020-10-01T18:47:26
2019-01-11T21:35:55
C++
UTF-8
C++
false
false
251
cpp
representation.cpp
#include<bits/stdc++.h> using namespace std ; const int N=100010; vector<int> adj[N] ; int main() { int n,m ; cin >> n >> m ; for(int i=0 ; i<m ; i++){ int u,v ; cin >> u >> v ; adj[u].push_back(v); adj[v].push_back(u) ; } return 0 ; }
e441b16c97c61871633d8414faa7c2e62959c9fc
e0983d33e0d60dd00eb3aa4858ff2f36a6d51f67
/coreless_motor_tutorial/coreless_motor_tutorial.ino
e29d5d7b2477c630a63a2f708af5b73393161e2e
[]
no_license
prashant9316/Coreless--Motor
a41bd26e0a3242bb8532db87d7379fd4d8cca1b6
968d1225202ed502bfd7bfb600d41d7356787e75
refs/heads/master
2022-05-29T04:39:38.768779
2020-05-03T04:23:34
2020-05-03T04:23:34
260,827,253
0
0
null
null
null
null
UTF-8
C++
false
false
502
ino
coreless_motor_tutorial.ino
int turns = 10; int turnAmount = 10; const int m = 9; void setup() { pinMode(m,OUTPUT); pinMode(LED_BUILTIN,OUTPUT); delay(1000); } void loop() { analogWrite(m,turns); delay(1000); turns += turnAmount; if(turns > 255){ turnAmount = -10; digitalWrite(LED_BUILTIN,HIGH); delay(100)...
623cd0a18e955782a521e1eea3e569ec8995237a
a3d6556180e74af7b555f8d47d3fea55b94bcbda
/ui/views/accessibility/ax_virtual_view_unittest.cc
95e35d7866414e8d6bb64df0f92471d2aafe16cd
[ "BSD-3-Clause" ]
permissive
chromium/chromium
aaa9eda10115b50b0616d2f1aed5ef35d1d779d6
a401d6cf4f7bf0e2d2e964c512ebb923c3d8832c
refs/heads/main
2023-08-24T00:35:12.585945
2023-08-23T22:01:11
2023-08-23T22:01:11
120,360,765
17,408
7,102
BSD-3-Clause
2023-09-10T23:44:27
2018-02-05T20:55:32
null
UTF-8
C++
false
false
34,733
cc
ax_virtual_view_unittest.cc
// Copyright 2018 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/views/accessibility/ax_virtual_view.h" #include <utility> #include <vector> #include "base/functional/callback.h" #include "base/memory/ptr_util.h" #include "bas...
c3e8002e1cddbe681c2a7e53523280d87bf94436
ac45b5a1f9f357d14d7f290ff767d2bb849b657a
/src/WorkingTree.cpp
0c53f9f4bca98c10b121b42421831cf4c54c1969
[]
no_license
SimoneMSR/gentree
bbaf522c60fa7f030472112592eb2ce85e0b0654
12a12a02214f8bdae3f758485f39de28dad18375
refs/heads/master
2021-04-03T08:42:05.406362
2018-03-12T11:30:41
2018-03-12T11:30:41
124,876,722
0
0
null
null
null
null
UTF-8
C++
false
false
10,945
cpp
WorkingTree.cpp
/* * WorkingTree.cpp * * Created on: 05/nov/2010 * Author: simonemsr */ using namespace std; #include "WorkingTree.h" #include <iostream> #include "errors.h" extern int VERBOSE_LEVEL; WorkingTree_c::WorkingTree_c(P_GTMsd gtm, Tree t) : Tree_c(t) { int n, i; Nu = new double[nodes]; E1 = new_matrix(no...
526a9d4303fafa74ad132ae8ca9e9851f4980c8f
07379707c774efb53e2239bce50c8c81a326f8e2
/include/game/Reinforce.h
eb504bbb0f68a9b0de640b16df019f43d09a2ca1
[]
no_license
dizedel/Risk
b25e59b43ab6e4192a5409805620c35abd42ce44
5e76c8d1b1dd4d8966d7343a09112dcd34ec7d56
refs/heads/master
2020-04-10T10:49:57.223328
2018-12-05T19:57:22
2018-12-05T19:57:22
null
0
0
null
null
null
null
UTF-8
C++
false
false
582
h
Reinforce.h
// // Created by pamel on 2018-10-11. // #pragma once #ifndef REINFORCE_H #define REINFORCE_H #include <string> #include <vector> #include <Map.h> #include <Hand.h> #include <Player.h> #include <MainGame.h> using namespace std; class Reinforce{ public: Reinforce(); Reinforce(Player*, int, string, Map); ...
1cf7e0bbf1471fd0feafbe95c6712d2e2f57e5bc
4022138df061a13beab618e5fcbaedca9b195b31
/include/Tree/BiTNode.h
b320195298546dca6cb302b90f57c67afac8e470
[ "Apache-2.0" ]
permissive
CedarVGC/Data-Structure-CPlusPlus
a6876e95583d4dc04ca98c138eeb0e7055ea8c85
cf9969aba575ebc21dbdac40dda08bb29e421ab6
refs/heads/master
2022-11-24T14:33:38.650768
2020-08-01T15:06:05
2020-08-01T15:06:05
277,577,510
1
0
null
null
null
null
UTF-8
C++
false
false
1,263
h
BiTNode.h
// // Created by Administrator on 2020/7/12. // #ifndef DATA_STRUCTURE_C_BITNODE_H #define DATA_STRUCTURE_C_BITNODE_H #include <iostream> #include "..\StackQueue\Queue.h" #include "..\StackQueue\Stack.h" template <typename T> class BiTNode{ public: T data; BiTNode<T>* lchild=NULL; BiTNode<T>* rchild=NULL; ...
b23d6b4269e210d6fc58cba50cdf932ea210a8fa
471a19c9b6a7eb297a18fa287011724991179f4a
/Lab2/kthsmallestElement.cpp
dbbe5ef02ccad3f90f7a8c83812352e71dbc502e
[]
no_license
gunishmatta/Data-Structures-College-Lab
4e5020aacb3d5ecfcdc7edda17687e5a7b7420a5
1e6745ca095d4f4a77d886530738543b9c8f6dcc
refs/heads/master
2022-12-30T07:34:30.892352
2020-10-20T11:36:06
2020-10-20T11:36:06
305,687,577
2
0
null
null
null
null
UTF-8
C++
false
false
607
cpp
kthsmallestElement.cpp
#include<iostream> using namespace std; void sort(int a[],int n) { int temp; for (int i = 1; i <= n-1; i++) { for(int j =1;j<=(n-i)-1;j++) { if(a[j]>a[j+1]) { temp=a[j]; a[j]=a[j+1]; a[j+1]=temp; } } } } int findksmallest(int a[],int k,int n) { sort(a,n); ...
f03cf6ab946f8b11a859e7f1eec39e083a8fd4f3
0f7b0683c7ecb51f3a3b10a72b382fcf162e6306
/Final.ino
da79505f52377a660bb8d5658493b8dcc6594d58
[]
no_license
kimhao97/BLE_ESP32_MPU6050
15ab1f4543335d18d0382e3d83cae149d383dd92
997e3d1af60a415e44e7e69a89f94e0b1b22b07a
refs/heads/master
2020-07-06T01:02:31.618805
2019-08-17T05:33:42
2019-08-17T05:33:42
null
0
0
null
null
null
null
UTF-8
C++
false
false
11,981
ino
Final.ino
#include <BLEDevice.h> #include <BLEUtils.h> #include <BLEServer.h> #include <BLE2902.h> #include "MPU6050_tockn.h" #include <Wire.h> BLECharacteristic *pCharacteristic; bool deviceConnected = false; uint8_t txValue = 0; std::string rxValue; #define SERVICE_UUID "4fafc201-1fb5-459e-8fcc-c5c9c331914b" // #defin...
d383e12dfddf1cbec9725c2ba0033119b2fab889
fceae18adcb683fe5826b096598c44c1d8ae3d3e
/1033.cpp
f03f06389da5128ae7b4ac48a1ada4b13c6aa5a5
[]
no_license
Kerorohu/PAT_Code
48ee1162b2836a41b92cfe9a61439ffd8136e382
df70b80d7e6e7eb51f96361d9dd806de6ce81946
refs/heads/master
2023-01-25T04:05:03.497326
2020-12-03T07:32:25
2020-12-03T07:32:25
295,098,225
1
0
null
null
null
null
UTF-8
C++
false
false
1,007
cpp
1033.cpp
#include <iostream> #include <map> #include <string> using namespace std; int main() { string err, str, res; getline(cin, err); getline(cin, str); int t = 0; if (!err.empty()) { if (err.find('+') != string::npos) { err.erase(err.find('+'), 1); for (int i = 0; i < str.size(); i++) { if (str[i] > 90 ...
740d08a1ad45a471feb199cbf3f9cb910e3d4eb0
24286fa2ae71d36ec43cbf61f17b88ce0ba6c8f4
/test5-5.cpp
de7d6ed2e1960e097d145a83ec2f0bc557043fce
[]
no_license
wanghuqiang123/testopencv
b2c6fda08f7eef3ea1b4f0ffd22391c44bd98f8e
c2dd0369273d48afbba36ddf7506078b05338941
refs/heads/master
2021-09-10T23:23:31.705271
2018-04-04T08:05:29
2018-04-04T08:05:29
111,551,861
0
0
null
null
null
null
GB18030
C++
false
false
1,651
cpp
test5-5.cpp
/********** <learning opencv>test5-4.cpp *********/ #include <iostream> #include <cv.h> #include <highgui.h> using namespace std; using namespace cv; int main(int argc, char* argv[]) { IplImage* src_image1=cvLoadImage("imdata/glass1.bmp",CV_LOAD_IMAGE_GRAYSCALE); assert(src_image1!=NULL); IplImage* src_image...
0bba27aaab4af39569abe711cecc9ac559a8da6f
839b6264763a5fd20863fc79232059a625d79d91
/Hmwk/Assignment 1/Gaddis_7thEd_Chap2_Problem7/main.cpp
adb1cf749bca7fe5185b40dbe6dc114c601ebddf
[]
no_license
Kevirz/kr2437797
f9c119f4ce909bec49a5d372e2c055e7e7acf497
53b0f5216658a36e1fdc9633a6a6d1bb22cf236e
refs/heads/master
2021-01-23T06:34:22.026973
2014-07-31T13:13:25
2014-07-31T13:13:25
null
0
0
null
null
null
null
UTF-8
C++
false
false
868
cpp
main.cpp
/* * File: main.cpp * Author: Kevin Rivas * * Created on June 25, 2014, 10:12 PM */ //System Libraries #include <iostream> //Defines the standard input/output stream objects //User Defined Library //Global Constants //Function Prototypes //Execution begins here using namespace std; int main(int argc,...
40fddb1160bbaf6f456e4cc77d5e8154d08eac4c
f54478bdc7ccc93052c3af14bf573d9434f15197
/src-tex/ktx_writer.cpp
7c3e9cfd848dcc9bf48ae3944db28a1b3ae2f3f8
[ "MIT" ]
permissive
radtek/bengine-gfx
609669ee8e31ab84b9e757f8dc513086bc8abe7e
e7a6f476ccb85262db8958e39674bc9570956bbe
refs/heads/master
2022-02-22T22:17:59.880921
2018-05-23T05:34:38
2018-05-23T05:34:38
null
0
0
null
null
null
null
UTF-8
C++
false
false
8,903
cpp
ktx_writer.cpp
#include "pch.hpp" #include "ktx_header_.hpp" #include "tex/ktx_writer.hpp" #include "tex/texture.hpp" #include "tex/duplicate_texture.hpp" #include "tex/byte_order.hpp" #include "tex/texture_file_error.hpp" #include "tex/image_format_gl.hpp" #include <be/util/put_file_contents.hpp> #include <be/util/zlib.hpp> #include...
5a72faf665dcc68694d67cc97dfdbddb3547bff3
ad43f4f7ef95e78c5f280ce39cacc83635fc92ec
/C++/scope/initializer/LegInitializer.h
70de63e339454b6e20d030b011225cc64d226cc1
[ "MIT" ]
permissive
PeterZhouSZ/SCOPE
bfebe2d40516983326cb4751874f421bfdfadb04
982785b7c10dc71774e151eabc2f7d4af4e1adfb
refs/heads/master
2023-08-10T15:31:33.666994
2021-10-11T09:48:10
2021-10-11T09:48:10
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,361
h
LegInitializer.h
#pragma once #include <memory> #include <vector> #include <scope/initializer/Initializer.h> namespace scope { namespace Initializer { class LegInitializer : public Initializer { public: std::array<Vector3, 2> mRelJointLocations; mutable Vector6 mDRootPoseChange; mutable Pose mRootPoseChange; mutable Vecto...
384690e01b8887ec7873997a8bfc4252074a3ee8
ba1061443f83d65033347c8e8896618005fbb32e
/69A/69A.cpp
993098f3ea9c0ee70925cd9fd8ab7f57ab5f60f8
[]
no_license
epidersis/olymps
9388f690d4cc282bb5af2b8f57094a5bacce77eb
ff22f97d8cc7e6779dc8533e246d0d651e96033e
refs/heads/master
2022-07-31T01:50:42.950753
2022-07-18T21:51:47
2022-07-18T21:51:47
130,722,706
0
0
null
null
null
null
UTF-8
C++
false
false
422
cpp
69A.cpp
#include <bits/stdc++.h> using namespace std; int main() { short n, num; short x, y, z; x = y = z = 0; cin >> n; for (short i = 0; i < n; i++) { cin >> num; x += num; cin >> num; y += num; cin >> num; z += num; ...
f4b5d394d23b088f1c86be1acc686dcc1763e4b5
c7cb991e314b7c470966e24124ce739b2f1d65a0
/Bit-masking/Bitwise-AND-from-m-to-n.cpp
162339e7c566d0dac7ed81fb86decd8271adc2cc
[]
no_license
JamiYashwanth/Concepts
30b94df4a775a1a6fc96721f8e2d3c84c2f11650
20d25ed1149fabfa36091c11ebbeb695dcbe77d4
refs/heads/main
2023-05-15T07:50:46.929970
2021-06-16T18:26:33
2021-06-16T18:26:33
377,589,612
1
0
null
null
null
null
UTF-8
C++
false
false
740
cpp
Bitwise-AND-from-m-to-n.cpp
class Solution { public: int rangeBitwiseAnd(int left, int right) { int count=0,result; while(left!=right){ // Iterate the loop till left == right and copy and resultant value to result left=left>>1; right=right>>1; count+=1; } result=lef...
c3c253340908eea61040bc0b120d8dfa33bdab3d
b0bd3af542ad93bc06f13348692256265433ee33
/test.cpp
ce8e724b1382673f66b08555d3c4d0c5e9ded403
[]
no_license
tczengming/kdtree
880fcda9cb7e4ac5e869fc2d8053e05316bc1aa9
b340b9b920c572f1631828785565feec14e213eb
refs/heads/master
2020-04-08T22:53:06.830471
2018-12-06T02:36:52
2018-12-06T02:36:52
159,803,742
0
0
null
null
null
null
UTF-8
C++
false
false
1,065
cpp
test.cpp
// Last Update:2018-12-05 16:52:30 /** * @file test.cpp * @brief * @author tczengming@163.com www.benewtech.cn * @version 0.1.00 * @date 2018-11-29 */ #include <unistd.h> #include "kdtree.h" int main( int argc, char **argv ) { struct KdTree tree; float m[7][2] = {{6, 2}, {6, 3}, {3, 5}, {5, 0}, {1, ...
33ba50de408e5659758ae90b957b4f7f8e6e691d
d6f0b898329384a12bb79851f6de7e92ae058da3
/ProcessingTrafic/IpTcp.cpp
863f907c920cb1f45425fef552a8cb845c9cde79
[]
no_license
yurayolkin/Processing
da0e26c4571f14930605f8f47912d9e357ebc4ee
346077dcc907d4a242f544e5f24619fbd688fa4d
refs/heads/master
2016-09-06T14:36:58.620009
2014-08-04T18:20:07
2014-08-04T18:20:07
null
0
0
null
null
null
null
UTF-8
C++
false
false
62
cpp
IpTcp.cpp
#include "IpTcp.h" IpTcp::IpTcp() { } IpTcp::~IpTcp() { }
a854a888e75752004a1044403c58b1ba6f00c042
d327e106285776f28ef1d6c8a7f561b7f05763a6
/SDL_EngineProject/AlienAttack/Classes/GameOverLayer.h
1285a7619dde7c1b06438b93dab3b6f31a36e7ec
[]
no_license
sky94520/old-code
a4bb7b6826906ffa02f57151af2dc21471cf2106
6b37cc7a9338d283a330b4afae2c7fbd8aa63683
refs/heads/master
2020-05-03T12:37:48.443045
2019-07-23T00:38:16
2019-07-23T00:38:16
178,631,201
0
0
null
null
null
null
UTF-8
C++
false
false
473
h
GameOverLayer.h
#ifndef __GameOverLayer_H__ #define __GameOverLayer_H__ #include "SDL_Engine/SDL_Engine.h" using namespace SDL; class GameOverDelegate { public: virtual ~GameOverDelegate(){} virtual void gameRestart()=0; }; class GameOverLayer:public Layer { private: GameOverDelegate*m_pDelegate; public: GameOverLayer(); ~GameOve...
82c46f0521d74f43c58d5e436a5163dc34f2aca2
a6f7d6627a9dc410b1d75e43b3285db1f17b2eea
/C programming/knight.cpp
2e9ec5f45a11b524210a7ef371ec02a4d8095630
[ "MIT" ]
permissive
Tiiberiu/misc
60dbc8c3372e0b771f4b3f14cf7a65f278c80f96
8284d5f117c0ac2fa1ef08aea50c0503be7cf24b
refs/heads/master
2021-06-27T02:22:28.868826
2020-09-27T08:15:29
2020-09-27T08:15:29
152,137,343
0
0
null
null
null
null
UTF-8
C++
false
false
2,048
cpp
knight.cpp
#include "stdafx.h" #include "stdafx.cpp" int PathMatrix[100][100],moves = 1; /* int x, y; bool InMatrix(int M[100][100], int x, int y, int n) { return(x>-1 && x<n && y>-1 && y<n && M[x][y] == 1); } vector<string> printPath(int m[MAX][MAX], int n) { int x_path[4] = { -1,0,1,-1 }; int y_path[4] = { 0,1,0,-1 }; str...
6af59250a7c237a80e4fde19b26a389c2a38fd22
94f74fbe1377bb617c588500b4f37aec43dabf05
/Depot.cpp
ca3083d5a2f683439a536183be43fda716377987
[]
no_license
TheBeastwood/CEIS400
146bc42ee2d95d591098947dd97b0d091219f6b3
dcba1a83bad56b871541dc0c62bb8e0a8654e1a8
refs/heads/master
2021-08-23T05:53:58.047994
2017-12-03T18:58:38
2017-12-03T18:58:38
null
0
0
null
null
null
null
UTF-8
C++
false
false
396
cpp
Depot.cpp
#include "Depot.h" Depot::Depot() { } void Depot::orderEquipment(int id, std::string name) { } bool Depot::checkInventory(std::string name) { //check inventory for equipment name return false; } void Depot::addEquipment(std::string name) { } void Depot::removeEquipment(std::string name) { }...
cbb8f34712f625edd8d5f6304f8febebac3cd172
ef37f289aad930639dff9807517751135533e482
/component/zookeeper/ServiceDiscoveryListenner.h
cd7d09af22c9936c358112fca8ce740f6128a0b6
[ "Apache-2.0" ]
permissive
wenii/libnetwork
f1a9eb354efb9ab79588fdc1348f33c38361ba30
afb0d90307efe83dbb5e4594aca130af7f7a7b80
refs/heads/master
2021-08-16T15:57:49.814949
2020-09-28T10:45:10
2020-09-28T10:45:10
225,009,797
0
0
null
null
null
null
WINDOWS-1252
C++
false
false
750
h
ServiceDiscoveryListenner.h
#ifndef __SERVICE_DISCOVERY_LISTENNER_H__ #define __SERVICE_DISCOVERY_LISTENNER_H__ #include <string> #include <list> class ZookeeperClient; // ·þÎñ·¢ÏÖ¼àÌýÆ÷ class ServiceDiscoveryListenner { public: ServiceDiscoveryListenner(ZookeeperClient* zkClient, const std::string& servicePath, void* target); virtual ~Service...
de45fc043437e8fe5eff52209dc5d6727e214467
807315581299c7dd9896a13b0ad56a1d678623ec
/src/modules/emotions/src/emotion_handle.cpp
4d7699558efd2868e62cd485329bb1992f89dc33
[ "MIT" ]
permissive
P8P-7/core
4b68bf5980883422f48045fd6fb47c1aa520b094
820873e7da867392729b2e65922205afe98e41d8
refs/heads/master
2020-03-12T14:19:57.499223
2018-07-04T13:58:01
2018-07-04T13:58:01
130,664,669
3
1
MIT
2018-07-05T20:34:25
2018-04-23T08:26:54
C++
UTF-8
C++
false
false
452
cpp
emotion_handle.cpp
#include <goliath/emotions/emotion_handle.h> using namespace goliath; handles::EmotionHandle::EmotionHandle(const size_t &handleId, const std::shared_ptr<goliath::repositories::EmotionRepository> &emotionRepository) : Handle(handleId), emotionRepository(emotionRepository) {} std::sha...
192f9c043f97ff1d64e66e791688d674c04e95fa
9a06328e1ebab3a094193f61dc7e0081ba0054bd
/Projekt PK4 Statki/Projekt PK4 Statki.cpp
5cc83986cf5672315f2b3a419c9973257ae4cc0a
[]
no_license
sylwiamolitor/Statki-PK4
16c3261fe4c6616a973fdd455e4fde317e3b3251
5a10e5127a1c1294b713f71d872c1f0e9e3dddf5
refs/heads/master
2022-06-05T11:21:45.546651
2020-05-04T18:42:53
2020-05-04T18:42:53
257,845,317
0
0
null
null
null
null
UTF-8
C++
false
false
4,403
cpp
Projekt PK4 Statki.cpp
 #include <SFML/Graphics.hpp> #include <iostream> #include "Interface.h" #include "GraphicObject.h" #include "GameLogic.h" #include <Windows.h> #include <list> #include <fstream> //lista do zapisu std::list<Button>ButtonList; int main() { std::ifstream plikWej("Zapis_Rozgrywki.txt"); Cre...
92fcaf973b4df46b8152ac62d2495db7db229aa3
2c0e82962eb9b70c5afd542166e4bad69d982abc
/03-functions/factorial.cc
c32371a2d792c67ce7997cefaba9c302ba3cb0cd
[]
no_license
ishaandhamija/LP-Fasttrack-Summer18
e1cb6e37752501e32e50a8722b66ef11e4c639bf
f915327bf63074c1a5ef16f2d3ce55d7419b0a6e
refs/heads/master
2020-03-22T17:23:26.563687
2018-07-07T08:05:08
2018-07-07T08:05:08
null
0
0
null
null
null
null
UTF-8
C++
false
false
591
cc
factorial.cc
// Deepak Aggarwal, Coding Blocks // deepak@codingblocks.com #include <iostream> using namespace std; int main() { // n!, r!, n-r! int n, r; cin >> n >> r; // n! int nFact = 1; for (int curNum = 1; curNum <= n; ++curNum) { nFact = nFact * curNum; } // r ! int rFact = 1; ...
2f387127d1f63aca47ec6bbc5180a588bd794699
0932a1d94a15ef74294acde30e1bc3267084e3f4
/OJ/POJ1/POJ2769.cpp
cd89f3474e54fd7a9f70f6d9f10958d7252b175c
[]
no_license
wuzhen247/ACM-ICPC
9e585cb425cb0a5d2698f4c603f04a04ade84b88
65b5ab5e86c07e9f1d7c5c8e42f704bbabc8c20d
refs/heads/master
2020-05-17T19:51:48.804361
2016-09-03T12:21:59
2016-09-03T12:21:59
33,580,771
0
0
null
null
null
null
UTF-8
C++
false
false
544
cpp
POJ2769.cpp
#include<iostream> #include<cstdio> #include<cstring> using namespace std; bool b[10000001],flag; int t,n,a[305],c[1000000],n1,i,j; int main() { scanf("%d",&t); while(t--) { scanf("%d",&n); for(i=0;i<n;i++) scanf("%d",&a[i]); memset(b,0,sizeof(b)); for(i=1;;i++) { n1=0; flag=false; for(j=0;j<n;...
e4562296b4e746637041686572fc5bddeee68c32
13295aacaae3d206fcbd0ae03b82207b240d20a8
/c++ ELAL project/Passenger/Passenger_t.h
8d54a7223c7852542d11af0e9f2c5cdd4b3bbfda
[]
no_license
paveln1234/Projects
d2b778a5a3a0cdc8106424ed27db552f08f38298
05ea7e19c847ac41c6d9871b8c0a891a6464678c
refs/heads/master
2021-08-14T10:10:40.694863
2017-11-15T10:41:28
2017-11-15T10:41:28
109,574,151
0
0
null
null
null
null
UTF-8
C++
false
false
2,177
h
Passenger_t.h
#ifndef PASSENGER_T_H #define PASSENGER_T_H #include <string> #include <vector> class Customer_t; class Ticket_t; using namespace std; class Passenger_t { public: /** Default constructor */ Passenger_t(); /** Default destructor */ virtual ~Passenger_t(); /** set Passenger i...
40da8855615c9b37d861f07d199cc0f61c307e0d
4ed3043deea4e9d8f2a43169d9f40c9a3abeb46d
/q24.cpp
5c88c705dc1f87d04c158eb9d7ce8f450ae08200
[]
no_license
dyrroth-11/A2OJ-B-Ladder-Solutions
a2fa326b57ad9ba1e5c5a4f13e1f3f4bebf5fb76
122c09339953aa2bef9eaf5115d5b85de629bb4b
refs/heads/master
2022-11-21T11:58:15.633484
2020-07-26T20:38:43
2020-07-26T20:38:43
null
0
0
null
null
null
null
UTF-8
C++
false
false
486
cpp
q24.cpp
#include <bits/stdc++.h> using namespace std; int main(){ ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL); int n,k,ma=0,mi=101; cin>>n>>k; int arr[n]; for(int i=0;i<n;i++){ cin>>arr[i]; mi=min(mi,arr[i]); ma=max(ma,arr[i]); } if((ma-mi)>k){cout<<"NO";return 0;} cou...
09b2f2e5dfbce1a160280909211e45d9df005f5e
d0fb46aecc3b69983e7f6244331a81dff42d9595
/httpdns/include/alibabacloud/httpdns/model/GetResolveStatisticsRequest.h
55962ccb323c6771ff72c991f227bb1df075dff0
[ "Apache-2.0" ]
permissive
aliyun/aliyun-openapi-cpp-sdk
3d8d051d44ad00753a429817dd03957614c0c66a
e862bd03c844bcb7ccaa90571bceaa2802c7f135
refs/heads/master
2023-08-29T11:54:00.525102
2023-08-29T03:32:48
2023-08-29T03:32:48
115,379,460
104
82
NOASSERTION
2023-09-14T06:13:33
2017-12-26T02:53:27
C++
UTF-8
C++
false
false
1,853
h
GetResolveStatisticsRequest.h
/* * Copyright 2009-2017 Alibaba Cloud All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required...
047c421a9a9c5ab5137d6dbef05a6a5163376020
a29e024320cb08d6f7ce2931376bf80745fb935f
/include/eva/journal.hpp
c2930942990745ac98acd96706837b55a8b06bb4
[]
no_license
mmcilroy/gma_cpp
6c4e5d59f91146f6c102d3651ae9e84dc1e5f39b
2280f731691a59745cf771f02054e93fb901acc4
refs/heads/master
2021-01-17T11:52:18.000447
2015-10-11T21:42:37
2015-10-11T21:42:37
42,574,934
0
0
null
null
null
null
UTF-8
C++
false
false
388
hpp
journal.hpp
#pragma once #include "eva/event.hpp" #include <fstream> #include <iostream> namespace eva { class journal { public: journal( const std::string&, bool ); void write( const eva::event& ); void flush(); template< typename F > void recover( F ); private: std::fstream fil...
9b20626b46a1ec7a0a9cc3ec9cc771dd997e6fa3
9939aab9b0bd1dcf8f37d4ec315ded474076b322
/libs/core/execution_base/src/spinlock_deadlock_detection.cpp
01b03855050be9034e6ecb0cf285cef93a0cc872
[ "BSL-1.0", "LicenseRef-scancode-free-unknown" ]
permissive
STEllAR-GROUP/hpx
1068d7c3c4a941c74d9c548d217fb82702053379
c435525b4631c5028a9cb085fc0d27012adaab8c
refs/heads/master
2023-08-30T00:46:26.910504
2023-08-29T14:59:39
2023-08-29T14:59:39
4,455,628
2,244
500
BSL-1.0
2023-09-14T13:54:12
2012-05-26T15:02:39
C++
UTF-8
C++
false
false
1,398
cpp
spinlock_deadlock_detection.cpp
//////////////////////////////////////////////////////////////////////////////// // Copyright (c) 2013 Thomas Heller // Copyright (c) 2008 Peter Dimov // Copyright (c) 2018 Hartmut Kaiser // // SPDX-License-Identifier: BSL-1.0 // Distributed under the Boost Software License, Version 1.0. (See accompanying // file...
6411602cd545199d46841768f7243787b526401f
4a4693db3d0716c0f94bcc6829e80b217a96ca89
/CountingSort.cpp
09fb8082b0a0380cfd432e7ff4405e314abc7136
[]
no_license
sunnylee7/Algorithm_Sorting
65c98731dc7e08fa28bc613f62a26a676fed29c7
38e64a53e1da6f607f271d7af8d04fb44e40d2de
refs/heads/master
2022-10-15T19:25:55.219084
2020-06-10T12:50:04
2020-06-10T12:50:04
null
0
0
null
null
null
null
UHC
C++
false
false
4,040
cpp
CountingSort.cpp
#include "pch.h" #include <iostream> #include <stdio.h> #include <stdlib.h> #include <time.h> #define NUMOFNUMBERS 500000 // 5만개, 7.5만개, 10만개, 12.5만개, ..., 50만개까지 증가시키며 시간 측정할 것 #define COUNTINGNUMBER 10000 // n은 -COUNTINGNUMBER~COUNTINGNUMBER 값 사이에 있어야 countingSort 를 쓸 수 있음 //COUNTINGNUMBER는 A[]의 원소가 등...
6a06c4e3d96c40f74047ee4283656db279629db8
7499c8c3390214f0fea9cfbfb4f3f515edfe6f6f
/2Cycle/14장/p361-q25.cpp
1672fb1e8f84e01190814e71012c57a0b31df050
[]
no_license
jrucl2d/Python_Coding_Test
cd3032ea2b5c0df29650bbc1dfca169a4f8d91c4
0249893b463dfc78f033e2067b137add8f989fe6
refs/heads/master
2023-03-03T16:51:33.387077
2021-02-22T06:50:25
2021-02-22T06:50:25
287,958,302
0
0
null
null
null
null
UTF-8
C++
false
false
880
cpp
p361-q25.cpp
#include <algorithm> #include <string> #include <vector> using namespace std; typedef pair<double, int> pdi; bool comp(pdi a, pdi b) { if (a.first == b.first) { return a.second < b.second; } return a.first > b.first; } vector<int> solution(int N, vector<int> stages) { vector<int> answer; ...
24a67fb877198c0b85737c109b747d951c2c4e18
10482826e4b50289d25e19d214e360964a68c99f
/codeblock_parse/node_modules/tree-sitter/vendor/tree-sitter/src/compiler/lex_table.h
9317c818c36466fe14999946bce903565d679db5
[ "MIT" ]
permissive
ZachEddy/IssueLabeler
85cfb28cc7f592739aae7af672bcef3f96d653e1
e0d9f8e33382c46d902dc8d8d22044953ca4a3cf
refs/heads/master
2020-06-11T12:21:04.279108
2017-05-24T22:12:14
2017-05-24T22:12:14
75,671,208
2
0
null
null
null
null
UTF-8
C++
false
false
1,008
h
lex_table.h
#ifndef COMPILER_LEX_TABLE_H_ #define COMPILER_LEX_TABLE_H_ #include <map> #include <vector> #include <set> #include <string> #include "compiler/precedence_range.h" #include "compiler/rule.h" namespace tree_sitter { typedef int64_t LexStateId; struct AdvanceAction { AdvanceAction(); AdvanceAction(size_t, Preced...
e8e57d827ac988fc4c292986dfef431501af037e
5b1df9018826179d50bc5b2eb4825a60551fec6e
/Search/BinarySearch/CounterOfNumber.cpp
c0c3404daa787a6014de0eafe2390fb95c267463
[]
no_license
whybfq/Kehan-Academy-algorithm
a9c61458b24cfc870a3c8b39384ae67a548830e6
c80e1d56afe327cf373807fd086f1b19fe0e9081
refs/heads/master
2022-02-16T01:07:19.376063
2019-09-13T14:43:16
2019-09-13T14:43:16
109,346,298
1
0
null
2017-11-06T03:26:20
2017-11-03T03:10:27
null
UTF-8
C++
false
false
1,871
cpp
CounterOfNumber.cpp
/********************************************************************************* * @copyright (C) 2018 sanner All Rights Reserved * @file: BinarySearch2.cpp / CounterOfNumber.cpp * @brief: Counter of n, assume the array is sorted first and some elements will appear multiple times * * @date: Nov 2018 *...
d667ab17ea9d4834671eacc55071f12c09e1e2c5
6bd8361a48483349696013979dcff4f857c6f9c4
/cFish.cpp
a2a453bf14dea64128c9421d0ddf52a655c1e516
[]
no_license
seodaun/DX9_2D_ShootingGame
c0edb26d0abd888198c1c6fb10c05a905b1e251c
f5b30b9ca29758321ee4107cce470dbc6a21bc99
refs/heads/master
2020-12-19T17:01:03.993647
2020-01-23T12:56:36
2020-01-23T12:56:36
235,789,644
0
0
null
null
null
null
UTF-8
C++
false
false
1,735
cpp
cFish.cpp
#include "DXUT.h" #include "cFish.h" #include "cEnemyBullet.h" #include "cBullet.h" #include <string> cFish::cFish(const D3DXVECTOR2& pos, const D3DXVECTOR2& playerPos, const float speed) : cEnemy(pos, 300, 2), m_playerpos(playerPos), m_PlayerBullet(GAMEMANAGER->getPBulletAd()->GetPBullet()) { m_image = IMAGEMANAGER-...
4b08cf17d94d4fb819ef0b917df277dac6700f7c
692e27eb86c6c8f24c49eb83746d6be3d4f86eed
/modulo_11((AxB)%c).cpp
9b99a65f51e40146bd6889f9d97225229a9430c8
[]
no_license
docongban/zcode_C-
335b8f6521eef512dbb131e0cfda139fd81851f3
bfb50a37748cd50eb2e3fb3e56eea95218c70d9f
refs/heads/main
2023-06-06T02:10:47.656463
2021-07-01T14:36:00
2021-07-01T14:36:00
null
0
0
null
null
null
null
UTF-8
C++
false
false
367
cpp
modulo_11((AxB)%c).cpp
#include<bits/stdc++.h> using namespace std; long long Modulo(long long a,long long b,long long c) { if(b==0) { return 0; } long long x=Modulo(a,b/2,c); if(b%2==1) { return ((a%c)+2*(x%c))%c; } else { return (2*(x%c))%c; } } int main() { int t; cin>>t; while(t--) { long long a,b,c; cin>>a>>b>>c;...
7cb294e6ae0e7f8bfd5e3a121465c667e94858a5
6c4bd0d5f1e2c8902bfdeebe5d3d6931e60c028b
/ga4/doublylinkedlist.h
adf9d61e1d47355c9ad188644047fafad2124f61
[]
no_license
bpham-work/cosc2430
1097fb9619d23134edc71f179f2f149edc0617f2
15be977e0cce0bfb8dd483ea1a830ef2492bfdf9
refs/heads/master
2021-05-05T11:35:59.809944
2018-05-06T22:37:08
2018-05-06T22:37:08
118,179,397
0
0
null
null
null
null
UTF-8
C++
false
false
4,330
h
doublylinkedlist.h
#ifndef DOUBLY_LINKED_LIST_H #define DOUBLY_LINKED_LIST_H #include "doublynode.h" #include <string> #include <iostream> using namespace std; template <class T> class DoublyLinkedList { DoublyNode<T>* head; DoublyNode<T>* tail; public: DoublyLinkedList(); ~DoublyLinkedList(); void a...
bbb716c380d52c713608c70ce6a452268b89b027
2315e5da2da28b454eb0a5d7bf9c5881650c84a6
/Task/assignment3/main.cpp
69cf843b2faab4982814dc2b34dda4a69b00c2ff
[]
no_license
SAMIUL98SIAM/Computer-graphics
c34451f3dde3e35af680bc908b4592c7150af07c
acc7afda553190a02c68cf7f79ef3c58cf664bc7
refs/heads/master
2023-06-02T08:14:39.792171
2021-06-23T18:49:23
2021-06-23T18:49:23
379,700,382
0
1
null
null
null
null
UTF-8
C++
false
false
1,507
cpp
main.cpp
#include<iostream> #include <stdio.h> #include <GL/gl.h> #include <GL/glut.h> #include <cmath> using namespace std; double xi=0; double yi=0; double xn=0; double yb=0; void myDisplay(void) { double max,m,cel,cel2,a; double difference_x= xn-xi; double difference_y= yb-yi; if(difference_x>differenc...
232b1c8925215f26badff00e93e7d20078cf1302
fe479340153355e43d3ce3f3c3d058b7764d2a98
/Projects/Plasma/DataFlow/DFNode.h
524ac2b9f60b766f14a92c8f250c1260c44f917d
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
LudoSapiens/Dev
8496490eda1c4ca4288a841c8cbabb8449135125
8ad0be9088d2001ecb13a86d4e47e6c8c38f0f2d
refs/heads/master
2016-09-16T11:11:56.224090
2013-04-17T01:55:59
2013-04-17T01:55:59
9,486,806
4
1
null
null
null
null
UTF-8
C++
false
false
9,035
h
DFNode.h
/*============================================================================= Copyright (c) 2012, Ludo Sapiens Inc. and contributors. See accompanying file LICENSE.txt for details. =============================================================================*/ #ifndef PLASMA_DFNODE_H #define PLASMA_DFNODE_H #i...
5e4688d985c5a29202feab00f9ffae1d227a7a1d
043d7fb043a1469681f070cad1b3e96786b4f0df
/Shared/Source/Game/BaseScene.cpp
41f1dfcb2c5494802665354df53a7c32cf8e2f73
[]
no_license
Anolog/Game_Engine
b2a37f7a25679e911142922f26ab729c208f97f8
67ccdf9cf2f6dc476bd223374f4ddbf695b980d4
refs/heads/master
2021-08-14T23:06:34.325803
2017-11-17T00:30:07
2017-11-17T00:30:07
111,037,557
1
0
null
null
null
null
UTF-8
C++
false
false
10,034
cpp
BaseScene.cpp
#include "pch.h" #include "BaseScene.h" //Use this num to create unique names for all the turret bullets for multiple turrets static int TURRET_NUM = 0; BaseScene::BaseScene(GameCore* pGame, ResourceManager* pResources) : Scene(pGame, pResources) { SaveManager = new SaveScene(this); m_pSoundGuy = new SoundManager...
eaa55931c3b9996355ccf2357da49895b45ced94
33fd37df43086fa8a5f1942c5e3ab70cbe00614b
/code/graphics_uniform_buffer.cpp
57e970821060cdde72d993aaa3dfd1fe02f40530
[]
no_license
aod6060/vulkan_ping
0ed2f24665f527a7e2ce24ee3e5aba9c78b20e82
7b2db39a2a7235c8fce7d030689958c9371b0df4
refs/heads/master
2022-08-04T02:05:08.344010
2020-05-21T07:33:13
2020-05-21T07:33:13
265,483,209
0
0
null
null
null
null
UTF-8
C++
false
false
3,026
cpp
graphics_uniform_buffer.cpp
#include "sys.h" // Uniform Buffer void VulkanRender::createUniformBuffer() { VkResult r; // Size size_t s = sizeof(UniformVS); // Buffer // Create Buffer this->createBuffer( &this->uniformBuffer, &this->uniformDeviceMemory, s, VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT | VK_BUFFER_USAGE_TRANSFER_DST_BIT | VK_BU...
e1f24047eaa128083f5fdfd7f6e8d001f276d465
599f210e9a3aee1628eec9d853223b01cb06f9e2
/addons/zylann.hterrain/src/height_map_mesher.h
e253810d84b13fab338565bf3aca9fde2e1e33d2
[ "MIT" ]
permissive
blockspacer/GodotMonoVoxel
ee9fa31061bf595de9f08f6dd9949e2170c0be19
615dfb1cdf97a6ce5faaad0685dfea7043d90231
refs/heads/master
2020-12-19T23:23:33.783242
2019-04-23T04:17:20
2019-04-23T04:17:20
235,882,639
1
1
null
2020-01-23T20:42:24
2020-01-23T20:42:23
null
UTF-8
C++
false
false
956
h
height_map_mesher.h
#ifndef HEIGHT_MAP_MESHER_H #define HEIGHT_MAP_MESHER_H #include <core/Ref.hpp> #include <core/PoolArrays.hpp> #include <Mesh.hpp> #include <ArrayMesh.hpp> #include "util/point2i.h" class HeightMapMesher { public: enum SeamFlag { SEAM_LEFT = 1, SEAM_RIGHT = 2, SEAM_BOTTOM = 4, SEAM_TOP = 8, SEAM_CONFIG_C...
2328119c0a9448655c67c1ced1019720846fad07
1fe10ee5e34cd76067c720ef4b4a054f6107b286
/mobile/mobile/src/chill/common/opera_switches.h
1dcf8c699c8b3771c8c4e27c1006f9e6fd953a3d
[ "BSD-2-Clause" ]
permissive
bopopescu/ofa
9f001c4f36b07fa27347ade37337422fd6719dcc
84e319101d4a1200657337dcdf9ed3857fc59e03
refs/heads/master
2021-06-14T08:53:05.865737
2017-04-03T12:50:44
2017-04-03T12:50:44
null
0
0
null
null
null
null
UTF-8
C++
false
false
871
h
opera_switches.h
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // Modified by Opera Software ASA // @copied-from chromium/src/content/shell/shell_switches.h // @final-synchronized // Defines all the opera mobil...
bc951905c8d357aa6050c974e596042abb5cc403
360f5513b6059bc2ec7baf24e1349d6225798665
/examples/cpp/stl_export.cpp
40da058e2e00bfda19223d382f1c537c00642fee
[ "Zlib" ]
permissive
theoathanasiadis/archmind
d188ca44eb656923a41b823f772e8243ac670a23
8bd3ed7448f052698e0ce599fb2ce96611b9f708
refs/heads/master
2020-05-19T11:48:57.234546
2014-10-17T18:07:51
2014-10-17T18:07:51
33,659,073
0
1
null
null
null
null
UTF-8
C++
false
false
2,790
cpp
stl_export.cpp
/* Archmind Non-manifold Geometric Kernel Copyright (C) 2010 Athanasiadis Theodoros This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use...
8bc835e8c3bfe25af3144b7521fd291cb38ffcd5
b34039a3a8f159c1f6d896fd77d0d9400edd391f
/Informatik 1/Praktikum/Blatt 2/ostern.cpp
9894e92a08957233f82b11dfbec2662678e17ecf
[]
no_license
Nirusu/uni_assignments
82ab2482bbc7bd528510f131d3b568d2d4f1c6a2
e4a8616e75fc5e8ec53bbb29d87fae5dac892717
refs/heads/master
2021-10-08T09:43:41.801666
2018-12-06T16:45:15
2018-12-06T16:45:15
85,975,706
0
0
null
null
null
null
UTF-8
C++
false
false
1,101
cpp
ostern.cpp
/* * ostern.cpp * Ein Programm zur Berechnung des Datums des Ostersonntags * fuer ein vorgegebenes Jahr */ #include<iostream> using namespace std; int main() { // Variablen nach http://de.wikipedia.org/wiki/Gau%C3%9Fsche_Osterformel // (Gregorianischer Kalender) ...
235a3bc1708076111669d143607b50f808a204b1
d1b19a18a2181b9a1897569aba2633552fbc0e93
/Training/LeetCode/ProblemSet/0528/yuange528.cpp
a58770194d7268e8cfb876a6a76d2db3fdcb2458
[]
no_license
ygtxr1997/AlgorithmLearningTraining
bf20702a929d886652cb7691f4f791aadd8a0c2a
dacefc52161ecac1632963ae43ccffa7b94e9889
refs/heads/master
2021-05-19T05:15:32.493999
2020-06-15T08:40:56
2020-06-15T08:40:56
251,542,778
0
0
null
null
null
null
UTF-8
C++
false
false
539
cpp
yuange528.cpp
class Solution { public: int mx = 0; vector<int> hash; Solution(vector<int>& w) { for (int num : w) { mx += num; hash.push_back(mx - 1); } srand((unsigned)time(NULL)); } int pickIndex() { int r = rand() % mx; int pos = lower_bound...
cdda72647f7ebc2cfc149bb9f2ef5774b4e0ef0b
568fe4582d34a2f7e0e16a2eed26502b70b7aeb5
/DocumentFile.h
fe40bb2e313f7d72ec9951432f4314c78a5ebf82
[]
no_license
zhitaop/DocumentDialogApp
5d128c460a3a07caab78e97110e90035dbf9509d
bac93dfc61ae81a3ef362f7d80d0557b10abaf9c
refs/heads/master
2022-11-20T04:25:55.485149
2020-06-25T01:02:22
2020-06-25T01:02:22
279,491,736
0
0
null
2020-07-14T05:32:08
2020-07-14T05:32:07
null
UTF-8
C++
false
false
1,998
h
DocumentFile.h
//---------------------------------------------------------------------- // //---------------------------------------------------------------------- #ifndef __DocumentFile__ #define __DocumentFile__ //---------------------------------------------------------------------- // //-----------------------------------------...
788186678db1686cd2e55f7a342223b4ff7e71eb
407f7e43dd3b41a24b414ca018ada6cfbcd0ff8d
/数学/二次剩余.cpp
1986915844e1161e2e301a3497d31c1813910f7f
[]
no_license
cddchen/algorithm
1661447fdede32de22854f5623132504cf5272bb
fb1d8a08dc44b42e105a95a97064668ef223e6d4
refs/heads/master
2020-12-01T09:11:52.135525
2020-02-29T14:54:15
2020-02-29T14:54:15
230,598,939
0
0
null
null
null
null
UTF-8
C++
false
false
1,614
cpp
二次剩余.cpp
#include <bits/stdc++.h> using namespace std; typedef long long ll; #define random(a,b) (rand()%(b-a+1)+a) ll quickmod(ll a, ll b, ll c) { ll ans = 1; while (b) { if (b & 1) ans = ans * a % c; b >>= 1; a = a * a % c; } return ans; } ll p, w; struct QuadraticField { ll x, y; QuadraticField operator *(Qua...
abfa246759a0fbaea81c8b41627716c05f7dd786
f90547b3689474a9d97143f90c3ddfc965c583da
/Sorting/sort.cpp
ab9714c73591e027185b987792f9ae857a922549
[]
no_license
lindsay0416/DSA
fbe4716d4c295ca6e66c1de870ca0740460cd2c4
d6961f70c29be0c695573c66a87297a2e355de80
refs/heads/master
2020-06-18T01:20:50.256568
2019-07-10T02:59:47
2019-07-10T02:59:47
196,113,634
0
0
null
null
null
null
UTF-8
C++
false
false
2,944
cpp
sort.cpp
// Example program #include <iostream> #include <string> void swap(int *a, int *b) { int temp = *a; *a = *b; *b = temp; } void printOut(const char* sortType, int array[], int iteration) { printf("%s iterations: %d\n", sortType, iteration); printf("Sorted array: \n"); for (int i = 0; i < 1000; i++) { printf(...
b0e85269be51af55bb2d8621cb5499716ad75219
8be083e9fbf15606201217d6c4b87c929e418065
/branches/editable-raster-objects/util/iter.hh
6db448142676914bc3f0998ece5080f0bb3ca9c2
[ "Apache-2.0" ]
permissive
BGCX067/faint-graphics-editor-svn-to-git
430768d441f3e9b353fbc128e132f7406ee48c0e
dad252f820d29ab336bcfa57138625dae6dfed60
refs/heads/master
2021-01-13T00:56:26.685520
2015-12-28T14:22:44
2015-12-28T14:22:44
48,752,914
1
1
null
null
null
null
UTF-8
C++
false
false
3,260
hh
iter.hh
// Copyright 2012 Lukas Kemmer // // 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 t...
008104287bf191524b689c728d42ee7dbc963083
e629c53a4930a844785759a9653916172348a88b
/OOP_ADT_Class_1.0/mod1.cpp
07185b43cc4fb9d40fd856295ba42fb12bdba32e
[]
no_license
DemVD/OOP
ca807473e2eb5063c97a8a3d1960f133711cfd5e
990e3be41c98ffbe70b4f6f8be6b85316ddfb1ea
refs/heads/master
2020-03-31T15:55:04.353756
2019-12-27T06:24:42
2019-12-27T06:24:42
152,356,089
0
0
null
2018-10-10T03:39:04
2018-10-10T03:13:03
null
UTF-8
C++
false
false
590
cpp
mod1.cpp
#include <math.h> #include <vector> #include "header.h" using namespace std; class Time{ public: int setHours(Hnum){ Hours = Hnum; return Hours; } int setMinutes(Mnum){ Minutes = Mnum; return Minutes; } int setSeconds(Snum){ Seconds = Snum; retur...
bd5077c6a57d45e8a95fc2065a5729e457df88a1
f368e65e5a0e07f67cbcf65b7ca329315aa9051d
/extio.cc
5e31a7925393dd8ceeb0e9962567158d06c8c9db
[]
no_license
CodecupNL/Bubbles
935a5a7ac795b4f213b5a893a22cb778af4cfd83
488962bdf1e17dba34fd9e831a6d5798a6289324
refs/heads/master
2020-03-26T23:49:57.715911
2018-08-21T13:54:23
2018-08-21T13:54:23
145,570,676
0
0
null
null
null
null
UTF-8
C++
false
false
5,445
cc
extio.cc
#include <stdio.h> #include <string.h> #include <signal.h> #include <time.h> #include <sys/types.h> #include <sys/time.h> #include <sys/select.h> #include <unistd.h> //#include <sys/wait.h> #include <unistd.h> #include <curses.h> #include <stdlib.h> #include "woorden.h" #include "bord.h" #include "extio.h" int prog1pi...
96751ccc3c473559d307276e0cd9ed3f62b70356
1120f23bf7808c565595edc1b0d65b660d738093
/xx/codeforces/Codeforces Round #436 (Div. 2)/d/d.cpp
339067341bbf3ce4a92974ab0a6c4100ddc23c05
[]
no_license
nn020701/OIER
f61cfdbcb406bc3a0e5111c5540378c798afd969
43f5a2987e2080c8f356edafb6875e4d0b707d99
refs/heads/master
2021-07-15T00:44:27.398058
2017-10-21T10:34:09
2017-10-21T10:34:09
104,617,028
0
0
null
null
null
null
UTF-8
C++
false
false
840
cpp
d.cpp
#include<vector> #include<cstdio> #include<cstring> #include<iostream> #include<algorithm> using namespace std; #define ll long long #define N 200005 inline int read(){ int x=0,f=1;char ch=getchar(); while(ch<'0'||ch>'9'){if(ch=='-')f=-1;ch=getchar();} while(ch>='0'&&ch<='9'){x=x*10+ch-'0';ch=getchar();} return x*f...
c538fda7dfbed372b93833c9bd3de47cbe9c74cc
c1c70168fe5ed0c9c81e08915a647961200d1766
/CodeForce/Problems/1485C.cpp
a49f07c2bf8392c01c2f7846216214fadf51b9e2
[]
no_license
cies96035/CPP_programs
046fa81e1d7d6e5594daee671772dbfdbdfb2870
9877fb44c0cd6927c7bfe591bd595886b1531501
refs/heads/master
2023-08-30T15:53:57.064865
2023-08-27T10:01:12
2023-08-27T10:01:12
250,568,619
0
0
null
null
null
null
UTF-8
C++
false
false
514
cpp
1485C.cpp
#include<bits/stdc++.h> using namespace std; using ll = long long; #define rep(i, a, b) for(int i = a; i <= b; i++) int t; int x, y; ll ans; int main() { cin.tie(0); ios_base::sync_with_stdio(0); cin >> t; while(t--){ cin >> x >> y; ans = 0; for(int i = 1, tmp, sx = sqrt(x)...
6326173436db504a70e0914add80ea0bf18d3b4a
2d17040d5f8e7eac41e9d1ef90b5cbab22e52bbf
/src/graphics/userinterface/drawable.cpp
c99e04aa8e2d3160ba574b37c69204c8d52bd93d
[]
no_license
ne0ndrag0n/Concordia
5818a09af5919288b3ebbca21f7f2fcef1a4f52a
98a0444509f9b0110a3e57cc9f4d535fd4585037
refs/heads/master
2021-06-17T17:20:22.976001
2019-07-27T20:41:47
2019-07-27T20:41:47
34,757,048
8
2
null
null
null
null
UTF-8
C++
false
false
3,683
cpp
drawable.cpp
#include "graphics/userinterface/drawable.hpp" #include "graphics/userinterface/element.hpp" #include "device/display/adapter/component/guicomponent.hpp" #include "configmanager.hpp" #include "tools/opengl.hpp" #include <glm/gtc/matrix_transform.hpp> namespace BlueBear { namespace Graphics { namespace UserInterf...
3cbe909a93334322fa0d1503efddcb45ff4bf5ce
5616023cdb89fc3c1c3172da75387a588617d1e2
/packages/Microsoft.InformationProtection.Protection.1.10.97/build/native/include/mip/protection/rights.h
8a8ad19632b653e73e902c61e56e599498bbe6a7
[ "MIT" ]
permissive
jaydipdas007/AppInitialization
0ec995d07beee08258f4e396e5e12876b53b947b
32a79a66e8f309b56c555bb81796b5740c6fc278
refs/heads/master
2023-08-06T20:33:24.058736
2021-10-05T18:14:37
2021-10-05T18:14:37
null
0
0
null
null
null
null
UTF-8
C++
false
false
5,528
h
rights.h
/* * * Copyright (c) Microsoft Corporation. * All rights reserved. * * This code is licensed under the MIT License. * * 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 restricti...
37a8ce99fc5328f0b1c26c34fca60fff392d7432
e7bb8ce8dc2ac3d952b68bdd695cf6e75d7e5a06
/MindFlayer4.0/mfTexture.cpp
2eceafcabbc838aab7c532efa4f559aa4c5c94e6
[]
no_license
charre2017idv/MindFlayer_gBuffer
5bd33a1464b7d7862b9a861ca86751952d484bd2
5c00549f3458ce428c5e55d17e40e8bf55152414
refs/heads/master
2022-03-29T19:33:27.339885
2019-12-08T09:20:28
2019-12-08T09:20:28
222,577,954
0
0
null
null
null
null
UTF-8
C++
false
false
1,153
cpp
mfTexture.cpp
/** * @LC : 12/10/2019 * @file : mfTexture.cpp * @Author : Roberto Charreton (idv17c.rcharreton@uartesdigitales.edu.mx) * @date : 12/10/2019 * @brief : Class in charge of provide textures to different classes. * @bug : No known bugs. */ #include "mfTexture.h" mfTexture::mfTexture() { #ifdef mfDIREC...
2317d348a7cb4bcc67b7d361e4c24316d124de8a
4a159a80cf0f841070e8cc1d3475f7811c789f9e
/Task 8.cpp
4b2dc4baaf9eedbc41382cadef0334abe40cf825
[]
no_license
SolomonBradley/CodersPack
aea82c4e5d75b13fcadecda13463b32091a793bc
336b89354ea2867e8d8beceeb2d63d2dffb09092
refs/heads/master
2020-06-24T13:42:31.087653
2019-08-19T14:19:24
2019-08-19T14:19:24
198,977,784
0
0
null
null
null
null
UTF-8
C++
false
false
185
cpp
Task 8.cpp
#include<stdio.h> int main(){ int n; scanf("%d",&n); int a=1; printf("Multiplication table of %d",n); while(a<=10){ printf("%d*%d=%d\n",n,a,n*a); a=a+1; } return 0; }
d01610784516c345f27813755a6d085c887c3641
4536bfebac7acbe5a1c2e195418ee3616f3c50b7
/WirePlanet/Effect.h
1133c8626b3b7f8e564c67d1a54ce7629900f7dd
[ "MIT" ]
permissive
CdecPGL/Shooting-Game-WirePlanet
223750f0f65de3de25e1417d05015c2a6b8a6b9c
aba24d96a5279d1589cd21df93b2c873a5ec7be0
refs/heads/master
2021-09-04T11:48:08.746318
2018-01-18T12:11:53
2018-01-18T12:11:53
114,664,929
0
0
null
null
null
null
SHIFT_JIS
C++
false
false
419
h
Effect.h
#pragma once #include"object.h" class Effect : public Object { public: //コンストラクタ(ピクセルサイズ幅) Effect(); virtual ~Effect(); virtual int Init() = 0; virtual void Update()override = 0; virtual void Draw()override = 0; //初期化前に呼ぶ void SetWidth(int); protected: int size_w; //ピクセルサイズ幅(0で原寸大又は自動判別) void DeleteMe(); //...
75f80d734dbad96c30ecc639a49e6aaf93c654ce
22a794a73503d4dd1dd4a5833c74d851910d72b7
/W1/tools.h
1e82036d6a9e0b12497ae2f1be1e9b2a9f06c643
[]
no_license
skim33/OOP244
ee0a195a24291a2ce50f3f39d0dfd034a468c506
7dc36efce8b6c0798a1d3dcdbe6f947fad85c4bd
refs/heads/master
2020-03-30T03:38:17.953367
2018-09-28T07:06:42
2018-09-28T07:06:42
150,699,411
0
0
null
null
null
null
UTF-8
C++
false
false
342
h
tools.h
//It contains declarations of functions used in tools.cpp and graph.cpp //graph.h //1/22/2018 //Student Name: Woohyuk Kim //Student Number: 121968176 #ifndef SICT_TOOLS_H #define SICT_TOOLS_H namespace sict { // Displays the user interface menu int menu(); // Performs a fool-proof integer entry int getInt(int min...
566669ece9e8410c5059376c7065d811c6bc9350
fbe77e9e2a53a4600a1d9b00b5f2c29ee3e8c59a
/externals/binaryen/test/emscripten/tests/poppler/qt4/demos/pageview.cpp
734dacb1ff08d2a7420a57751d89df55df8a32f3
[ "MIT", "NCSA", "GPL-1.0-or-later", "GPL-2.0-or-later", "LGPL-2.0-or-later", "GPL-2.0-only", "Apache-2.0", "BSD-3-Clause" ]
permissive
AcuteAngleCloud/Acute-Angle-Chain
8d4a1ad714f6de1493954326e109b6af112561b9
5ea50bee042212ccff797ece5018c64f3f50ceff
refs/heads/master
2021-04-26T21:52:25.560457
2020-03-21T07:29:06
2020-03-21T07:29:06
124,164,376
10
5
MIT
2020-07-16T07:14:45
2018-03-07T02:03:53
C++
UTF-8
C++
false
false
2,057
cpp
pageview.cpp
/* * Copyright (C) 2008-2009, Pino Toscano <pino@kde.org> * * 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 2, or (at your option) * any later version. * * This program is...
41c7ba51dfc803ee89206cc357633ee1006efbf3
b8fdf8b5da98da91356b09955b70ca42045ff02c
/graphicsview.h
e0f6c67cba485675f02450677a3c51ec35f779ef
[]
no_license
andrewreeman/staffGames
b9280d8710444b2a0c310936eec4740be4c2952c
1351698c0cfefb102127ef3650126fee877469f1
refs/heads/master
2021-01-25T09:53:06.429101
2015-04-26T18:04:02
2015-04-26T18:04:02
21,549,555
1
0
null
null
null
null
UTF-8
C++
false
false
326
h
graphicsview.h
#ifndef GRAPHICSVIEW_H #define GRAPHICSVIEW_H #include <QGraphicsView> class GraphicsView : public QGraphicsView { Q_OBJECT public: explicit GraphicsView(QWidget *parent = 0); virtual bool viewportEvent(QEvent *event); signals: public slots: private: float totalScaleFactor; }; #endif // GRAPHICSV...
2a01f4c08a6f5ddebdeb6ea0cb4e68b2fb6f13a1
18db0fda5a6909e8dd4a255836dcf2410d41e1b2
/ConveyorElement.h
91b3e5a0d884c636cb962563160083ba8e39b25b
[]
no_license
MMiknich/mikrosha
f7bb42592a229947005084f01ae9df1e733f4251
3e1740a7144f06cf995202365b1cadddcd8ce5e5
refs/heads/master
2020-04-02T04:30:11.368938
2018-12-22T16:21:55
2018-12-22T16:21:55
154,019,930
0
0
null
null
null
null
UTF-8
C++
false
false
1,201
h
ConveyorElement.h
// // Created by mmiknich on 16.11.18. // #ifndef MIKROSHA_CONVEYORELEMENT_H #define MIKROSHA_CONVEYORELEMENT_H #define INPUT_MODE 1 // command < fname #define NEWOUTPUT_MODE 2 // command > fname #define EXISTINGOUTPUT_MODE 3 // command >> fname #include <string> void childSignal(int inp); class ConveyorElement {...
12c38811bb589f27240ebe397c52fe21d1bddb51
877fff5bb313ccd23d1d01bf23b1e1f2b13bb85a
/app/src/main/cpp/dir7941/dir7942/dir8062/dir8063/dir12766/dir12767/dir13029/dir15097/dir18846/file18903.cpp
224091a5f6adad4df73e2916d7977c591ce9b3e1
[]
no_license
tgeng/HugeProject
829c3bdfb7cbaf57727c41263212d4a67e3eb93d
4488d3b765e8827636ce5e878baacdf388710ef2
refs/heads/master
2022-08-21T16:58:54.161627
2020-05-28T01:54:03
2020-05-28T01:54:03
267,468,475
0
0
null
null
null
null
UTF-8
C++
false
false
115
cpp
file18903.cpp
#ifndef file18903 #error "macro file18903 must be defined" #endif static const char* file18903String = "file18903";
45798b30269028f759253c56f1d84b2bdd46690d
768316ed72470715e641fda62a9166b610b27350
/02-CodeChef-Easy/368--Get a Bucket of Water.cpp
997e367ca3037820089ad251505515799bdea990
[]
no_license
dhnesh12/codechef-solutions
41113bb5922156888d9e57fdc35df89246e194f7
55bc7a69f76306bc0c3694180195c149cf951fb6
refs/heads/master
2023-03-31T15:42:04.649785
2021-04-06T05:38:38
2021-04-06T05:38:38
355,063,355
0
0
null
null
null
null
UTF-8
C++
false
false
462
cpp
368--Get a Bucket of Water.cpp
#include<bits/stdc++.h> using namespace std; int main() { while(1) { int a,b,c,k; cin>>a>>b>>c>>k; double x,t=1e9; if(a==0&&b==0&&c==0&&k==0) break; for(double i=0;i<=c;i=i+0.01) { double x1=sqrt(a*a + i*i); double x2= sqrt(b*b + (c-i)*(c-i)); ...
6efddbf901fa9a4e8c9a4d78198fb28a3cc8e5da
a0442fcd9edc8b6d0975ce8799ea5a67e808c568
/casa6/casa5/code/alma/Enumtcl/BaselineReferenceCode.cc
b79339f829eec9553bc183f38c246436e6f00d63
[]
no_license
kernsuite-debian/carta-casacore
f0046b996e2d0e59bfbf3dbc6b5d7eeaf97813f7
a88f662d4f6d7ba015dcaf13301d57117a2f3a17
refs/heads/master
2022-07-30T04:44:30.215120
2021-06-30T10:49:40
2021-06-30T10:49:40
381,669,021
0
0
null
null
null
null
UTF-8
C++
false
false
711
cc
BaselineReferenceCode.cc
#include <alma/Enumtcl/BaselineReferenceCode.h> std::string enum_map_traits<BaselineReferenceCodeMod::BaselineReferenceCode,void>::typeName_="BaselineReferenceCode"; std::string enum_map_traits<BaselineReferenceCodeMod::BaselineReferenceCode,void>::enumerationDesc_=""; std::string enum_map_traits<BaselineReferenceCode...
67946b37e5cc2038e6a991541b42571501c2f80e
cc2bdea20b5f558ad098c9cee6adc73635929877
/time_series.cc
de5f967addd332237e3bccfe70f4ce691df1a8a0
[]
no_license
unrstuart/power_cycling
d0890de5b278d3d4728111266b9f2227df4f425a
ba181e3e99c9eff61bbad216dc7c4a8ff33b27f7
refs/heads/master
2021-01-22T03:18:12.942344
2017-02-19T10:01:21
2017-02-19T10:01:21
81,112,916
0
0
null
null
null
null
UTF-8
C++
false
false
1,768
cc
time_series.cc
#include "time_series.h" #include <cassert> #include <algorithm> #include <mutex> namespace cycling { namespace { using MutexLock = std::lock_guard<std::mutex>; } // namespace TimeSeries::TimeSeries() { mutex_.reset(new std::mutex); } void TimeSeries::Add(const TimeSample& sample) { TimeSample s(sample); ...
2bed47f0c2913ae08b4e5bd44a60e339adcd3fa3
c9551f35bc1fc1573cd00b22678c8d25220f8783
/Data Structures and Algorithms I/Final Project/BSTree.h
69ca6aaa6da351c37baa9011413ee0193c808ecf
[]
no_license
coxcharlie1/UWB-CSS
ee80004cc3f974e82861544bed62e806a79e4bbb
957623e602d8e9c2933c93b5a2ce9cb02ae46e61
refs/heads/main
2023-05-06T22:47:05.959507
2021-05-24T23:52:07
2021-05-24T23:52:07
370,510,154
0
0
null
null
null
null
UTF-8
C++
false
false
1,142
h
BSTree.h
#pragma once #include "Account.h" #include<iostream> using namespace std; class BSTree { friend ostream& operator<<(ostream& theStream, const BSTree& tree); public: //Constructors BSTree(); BSTree(const BSTree& tree); ~BSTree(); //getters, setters int getCount() const; //Actions bool Insert(...
6b4e7fa6e191b3f4c5a207edc61e04800a802285
bae9699a14c3edc36382ddf8f58d0bcd011e0780
/hw_01_id_22.cpp
24608958eb8fed63b29af20edc9882381fb42e63
[]
no_license
sunandmoon2/hw01
3af6cb72d668187dcf8eb2bf58091735625b9a9f
ff3fab855f21d067dfd722e34a0641d0d79d09a9
refs/heads/master
2021-01-20T22:51:10.219863
2015-04-13T16:34:37
2015-04-13T16:34:37
30,363,025
0
0
null
2015-02-05T15:39:11
2015-02-05T15:39:11
null
UTF-8
C++
false
false
413
cpp
hw_01_id_22.cpp
// Author: Noe Romero andrade // Date: 13-april-2015 // Version: 01 /* Homework 01 this assignment Muestra desde la salida estandar el mensaje Hello wolrd y soy noe */ #include <iostream> int main () { std::cout<<"Hello world!!" <<std::endl;//se usa el comando cout para inprimir en la salida estandar std::cout...
5bcffa4ec7143f8f16abfc5e11a9c2261c74c093
087dbdf976328941ea89f7c6830406dc8e539bb2
/01 White/Week 03/Lessons/01 White_Week 03_Lesson 06.cpp
06c407bb0dcf9aa9207d3f6ca9e8bc12072f398c
[]
no_license
aliaksei-ivanou-by/Coursera_Yandex_c-plus-plus-modern-development
45ff4e6e02dfa6b9f439174b3a4abf7d55801f6a
f7724dd60fff4c93e12124cfbd5392d8f74006b4
refs/heads/master
2023-03-20T10:31:25.555805
2021-03-03T18:18:25
2021-03-03T18:18:25
281,137,199
1
0
null
null
null
null
UTF-8
C++
false
false
1,294
cpp
01 White_Week 03_Lesson 06.cpp
// Основы разработки на C++: белый пояс. Третья неделя // Введение в структуры и классы. Зачем нужны структуры #include "iostream" #include "vector" using namespace std; struct Lecture { string title; int duration; string author; }; struct LectureTitle { string specialization; string course; string week; }; st...
60cd9728698db96d32367c272bdd7812bf17d9b3
d11f08af2c4b039a204327d2a59a726c1a767e25
/version1/上交版本/yourcode/Rectangle.h
6bb6c003fd22d416af60a43fb4d9e7f656df01b1
[]
no_license
SimonNie98/Geo-Fencing
e964e4b61a2ac503af1a5323a8c2a0dd31989b5c
8f922e7ff21d4e805a6024f07909d9c919383d3f
refs/heads/master
2020-05-15T06:45:10.988183
2019-04-18T17:26:23
2019-04-18T17:26:23
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,264
h
Rectangle.h
// // Created by Simon Nie on 2018/12/12. // #ifndef INC_16307130133_RECTANGLE_H #define INC_16307130133_RECTANGLE_H #include <vector> #include <unordered_map> #include <climits> #include "RTree.h" const int MX = INT_MAX; const int MIN = INT_MIN; extern std::unordered_map<int, std::vector<std::pair<double, double> >...
4b8839c2a725cf40a3029fb187579bb3b11cb130
c5f52e0085bc56d3252bd079ea9070f5998ab818
/Coding_From_School/School_Practice/999EXPO.CPP
be12f50326e155bcf2b6796177e47e376ecf9d75
[]
no_license
vishalkumarsingh999/CPP_Practice
4e2ebd866c8587c02b49dd45211b45e584e711f0
5136b56dea9061d1a8c9910b409d01b20b8ead8e
refs/heads/main
2023-08-31T14:14:53.323406
2021-10-19T14:07:20
2021-10-19T14:07:20
null
0
0
null
null
null
null
UTF-8
C++
false
false
199
cpp
999EXPO.CPP
#include<iostream.h> #include<conio.h> void main() { double long a,b,c=1; cout<<"enter the value ofa & b to get a^b \n"; cin>>a>>b; while (b>0) { c=c*a ; b-- ; } cout<<c; getch(); }
9b9fd367c7073bb8e0d9e89990bc600584c17689
ffd2ca527b49d447def2702e45f8243897544702
/src/crayg/tests/fixtures/UsdGeomMeshFixtures.h
3f7ffd43e3ccabe35104cccdfbeeafdae956a9d7
[]
no_license
Latios96/crayg
17b730f745b9367cc15b55b8f1dbd095a29c86c9
57b206d755fb3cafd3dd7a04caa7382cd85f25f8
refs/heads/master
2023-08-17T10:26:10.310064
2023-08-07T16:23:21
2023-08-07T16:23:21
144,862,288
2
1
null
2023-01-26T11:43:21
2018-08-15T14:17:47
Mathematica
UTF-8
C++
false
false
2,147
h
UsdGeomMeshFixtures.h
#ifndef CRAYG_SRC_CRAYG_TESTS_FIXTURES_USDGEOMMESHFIXTURES_H_ #define CRAYG_SRC_CRAYG_TESTS_FIXTURES_USDGEOMMESHFIXTURES_H_ #include <pxr/usd/usd/stage.h> #include <pxr/usd/usdGeom/mesh.h> #include <pxr/usd/usdGeom/xformCommonAPI.h> namespace crayg { class UsdGeomMeshFixtures { public: static pxr::UsdGeomMesh ...
a852692c077638db8dddf16340aa04e2e70b2c69
45d11ec1567845e25282f66a595a88d9722bae0e
/CombinationSum.cpp
2d06e30e4a72c14787f7700c3cc45f756d716b0e
[]
no_license
dongheekim23/Algorithm-Problems
472b8ddc11509e00fdf00ac388cb7fc07ab25239
2d06c010a50c18c8dc298749496a3096f0b261f2
refs/heads/master
2020-04-25T13:37:33.521085
2019-02-27T01:27:14
2019-02-27T01:27:14
172,815,195
0
0
null
null
null
null
UTF-8
C++
false
false
1,084
cpp
CombinationSum.cpp
// Given a set of candidate numbers (candidates) (without duplicates) and a target number (target), // find all unique combinations in candidates where the candidate numbers sums to target. void GetCombinationSums(vector<vector<int>>& combinationSums, const vector<int>& candidates, vector<int>& intVec, int index, int ...
1e6ec28c0c5446e2c429c0440748a602df25152f
3ee8f4623bda019a3e1fb5dfb8810d8f22d3a1ec
/source code/Location.h
a65c579e4a414c3b4a6f58f6b25cc689dd2c5edb
[]
no_license
suibun-code/GAME1011_Assignment2
c8d67359c8ee23fd05904507f36fa048a3b133ef
53058176b79b87bb5fd59157eb018a764cfce103
refs/heads/master
2020-05-05T13:48:15.540330
2019-04-08T07:50:42
2019-04-08T07:50:42
180,093,698
1
0
null
null
null
null
UTF-8
C++
false
false
653
h
Location.h
#pragma once #include <string> #include <vector> #include "Item.h" class Location { private: std::string name, description; int id; public: Location(); ~Location(); std::vector<Location*> nextLocations; std::vector<Item> items; void setName(std::string name) { this->name = name; } voi...
5755405a01029f1f94236e9b2a872d843a85ee50
20cf8883018e0c8f817807db37306ce98f73e8fc
/opencv_qml/src/threads/backend_thread.cpp
c84d3ab445409917ab66799f363e05a7926f4ae9
[ "MIT" ]
permissive
ahnan4arch/qt-video-player
cd6c822c06b045447f9d9cbabb514ccbc88d9ca4
28ff7c908736bb67c5ea761f69fec3261da0cea8
refs/heads/master
2023-04-03T19:51:50.846141
2021-04-14T06:51:41
2021-04-14T06:51:41
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,287
cpp
backend_thread.cpp
#include <iostream> #include "backend_thread.h" #include "opencv_thread.h" BackendThread::BackendThread(QObject *parent) : QObject(parent) { } void BackendThread::opencvStart() { qDebug() << ">>> [Backend] OpenCV Thread Start <<<"; QThread *thread = new QThread(0); OpenCVThread *worker = new OpenCVThread...
7fb4825c5b83d2e61a8309f69f399f5764009577
0f842042e2916273392f0272bd3d2b4921f4844c
/2DAE01_Exam_Timo_Nys/Source/Minigin/HealthComponent.cpp
05e755e2738004fecdf006c0b67f7352ec1b6160
[]
no_license
timonys1998/RiptideEngineRetake
891678f5c96a419556ec5ab7b28fe9747844cce9
20f3e91c4fb71a3cae2802b9abf324a08d498af9
refs/heads/master
2020-03-27T07:22:51.423305
2018-08-26T14:55:08
2018-08-26T14:55:08
146,186,361
0
0
null
null
null
null
UTF-8
C++
false
false
166
cpp
HealthComponent.cpp
#include "MiniginPCH.h" #include "HealthComponent.h" HealthComponent::HealthComponent(int health) :m_Lives(health) { } HealthComponent::~HealthComponent() { }
7498c3aa2724c87994e4b0d56bb414d4cc0521c7
d6b461bf38bdadc03b30d39b1511b7e658d4890a
/Game_Server/Card.cpp
57d590c3c563fbf9d05a82f0d20e8b785f512323
[]
no_license
koe22kr/2Dbasis
f27d74a038f6eb5f92ae91fae88ea2dbac2bd98c
1763942042c31f520a4039deba8d9ad9ad0fbc82
refs/heads/master
2022-04-05T08:26:19.643151
2020-03-04T01:42:09
2020-03-04T01:42:09
185,978,543
0
0
null
null
null
null
UTF-8
C++
false
false
367
cpp
Card.cpp
#include "Card.h" Card::Card(byte type, byte num, byte score): m_Card_type(type),m_Card_num(num),m_Card_Score(score) { } bool Card::Check() const { if (this->m_Card_num == 0 || this->m_Card_type == 0) { return false; } return true; } // //int Card::Get_Score() const //{ // return m_Card_Sco...
8c9b778efb4c4d7fb9800451ca1d088879dbbd34
5a74bcb0dedacb080de7e9851df11e2e556f99d9
/Computer vision course design/Head.h
f45631d6f5e9ee074c78240c30cff4415fa4bb16
[]
no_license
huantingbo/Computer-vision-course-design
fe7bcecf19fa0afe52bdd09c8817f76e22f95525
3a5683684ddc72358f68b1f1ee68ab47a277b3d2
refs/heads/master
2023-03-16T08:17:53.524476
2019-06-29T14:38:13
2019-06-29T14:38:13
null
0
0
null
null
null
null
TIS-620
C++
false
false
307
h
Head.h
#pragma once //นฒำรอท #ifndef _HEAD_H_ #define _HEAD_H_ #include <iostream> #include<algorithm> #include<vector> #include<math.h> #include<cassert> #include <opencv2/opencv.hpp> #include<opencv2/highgui/highgui.hpp> #include<opencv2/imgproc/imgproc.hpp> #define Pixellen 0.03125 #endif // HEAD
64953812a5e51cbdab4d93575af1bc7df1a94126
86e3e50451c58e149ee613527defce64418b7995
/aeron-client/src/test/cpp/concurrent/BroadcastReceiverTest.cpp
c96b4b637663ae36b5b2db3128ff899d221723ac
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
ronenhamias/aeron
c650ed7dcf6edc4e0439d048dc6806a14e6b9d85
4871864ba8f35c91c5b634c3adaecf5877f22d06
refs/heads/master
2020-03-26T08:07:32.637150
2018-08-13T11:02:23
2018-08-13T11:02:23
144,686,802
6
0
Apache-2.0
2018-08-14T07:48:53
2018-08-14T07:48:53
null
UTF-8
C++
false
false
12,840
cpp
BroadcastReceiverTest.cpp
/* * Copyright 2014-2018 Real Logic 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 or agree...
cd882191ec9d907058fefe5c99e93ee78bbee50b
cdbea19ba85553c130592fbef2c3aafa979d07ff
/Number Theory/Smallest Number Having Exactly K Divisors.cpp
1c27384a691a8269d1173a92dc26b5df54c001c2
[ "MIT" ]
permissive
alokkiitd1729/code-library
e5251cc6bd3770b9a8ce038ed01f85e83655af65
e6746f0627dc1f6c51d8c511e75c8fa6c2ff8397
refs/heads/master
2023-08-17T14:42:12.645470
2021-10-01T22:27:22
2021-10-01T22:27:22
406,870,622
0
0
MIT
2021-09-15T17:45:11
2021-09-15T17:45:10
null
UTF-8
C++
false
false
2,013
cpp
Smallest Number Having Exactly K Divisors.cpp
#include<bits/stdc++.h> using namespace std; const int N = 1e6 + 9, mod = 1e9 + 7; int power(long long n, long long k) { int ans = 1 % mod; n %= mod; if (n < 0) n += mod; while (k) { if (k & 1) ans = (long long) ans * n % mod; n = (long long) n * n % mod; k >>= 1; } return ans; } int...
ddd4a19d90ed982dffe2fd97d60806d64a2116c5
0cb85cd0c88a9b9f0cca4472742c2bf9febef2d8
/AVP32/DOS shell/TV32.src/STRMSTAT.cpp
cfb48469ce6bc2c46ee52caa23d7f1a5e402db9f
[]
no_license
seth1002/antivirus-1
9dfbadc68e16e51f141ac8b3bb283c1d25792572
3752a3b20e1a8390f0889f6192ee6b851e99e8a4
refs/heads/master
2020-07-15T00:30:19.131934
2016-07-21T13:59:11
2016-07-21T13:59:11
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,078
cpp
STRMSTAT.cpp
/*------------------------------------------------------------*/ /* filename - strmstat.cpp */ /* */ /* defines the static members of class pstream */ /*------------------------------------------------------...
7e3eba21dd7c94ca67ec13a5054daa9f9d7e63a0
1a2190b96ca17719d2b41a5fbcac6043cf9f08e4
/Treinos/2017-07-14 - MaratonIME Winter School/countpath.cpp
de9b6266e05d134db0dd4f5c5a6734125eda09d5
[]
no_license
eliasm2/problem-solving
13c1abbf397bb41683fccb3490b0113c36ce9010
15becf49315b5defb8c1267e0c43ce1579dcae1a
refs/heads/master
2020-09-07T07:12:17.112311
2018-07-20T17:27:43
2018-07-20T17:27:43
null
0
0
null
null
null
null
UTF-8
C++
false
false
833
cpp
countpath.cpp
#include <bits/stdc++.h> using namespace std; template <typename T, size_t N, size_t M> using matrix = array<array<T, M>, N>; const int MAXN = 20; matrix<int64_t, (1<<MAXN), MAXN> dp; array<vector<int>, MAXN> gr; int main(int argc, char* argv[]) { ios::sync_with_stdio(false); cin.tie(NULL); int n, m; cin...
174936f8e7d1ec19dbf76b4a8885ee2c4f34b512
47470fb93459d294bb425351abedebb6a2e284d6
/ptree/processorSet.hpp
0bd0b2121fd1d6b8b8512fdc080352c324bceb5c
[]
no_license
portegys/Parallel-tree
1a1cfafc8c5e4b668ff1289696470a5135ae1b99
6294e5677c66b010f92cfeb099a8dc42871013fa
refs/heads/master
2020-07-15T14:40:46.066921
2019-08-31T19:11:28
2019-08-31T19:11:28
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,662
hpp
processorSet.hpp
/* * This software is provided under the terms of the GNU General * Public License as published by the Free Software Foundation. * * Copyright (c) 2003 Tom Portegys, All Rights Reserved. * Permission to use, copy, modify, and distribute this software * and its documentation for NON-COMMERCIAL purposes and without...
d6328037143526647f3808c48fcbb59546c3f246
f5f60e487d18a98c67f93c0b45cad351b5f4f339
/1789.cpp
ff76f140b1af35a062c39d509dab7171127954af
[]
no_license
Dulun/Algorithm
d5f6d25c6765b3a2bb26495bf870434cf67d29f1
b3775852bff1f8dc2c55e048931832ca31385bde
refs/heads/master
2021-07-15T18:36:10.066423
2021-06-27T10:49:01
2021-06-27T10:49:01
54,180,167
3
0
null
null
null
null
UTF-8
C++
false
false
1,044
cpp
1789.cpp
/************************************************************************* > File Name: 1789.cpp > Author: dulun > Mail: dulun@xiyoulinux.org > Created Time: 2016年01月26日 星期二 11时15分18秒 ************************************************************************/ #include<iostream> #include<stdio.h> using namespace std...
1a2eb61329aa35632e020bec1898d3a5040cd670
ed505166a9c743ef5b897e683a933341cdb6cea8
/UVa/UVa11804_Argentina/main.cpp
47b100fdacc9c23732d29f41446933abc699023f
[]
no_license
tada-s/ICPC_Training
fd0e8562d3c4723bf44da2c88c53bbfc8312e108
52e3b8ff094744deb454780aac7684a2f3ec7da3
refs/heads/master
2021-09-17T12:51:00.917086
2018-07-02T02:47:31
2018-07-02T02:47:31
64,604,455
0
0
null
null
null
null
UTF-8
C++
false
false
2,424
cpp
main.cpp
#include <bits/stdc++.h> using namespace std; #define mkp make_pair #define pb push_back vector< pair<string, pair<int, int> > > v; vector<string> attacker(5); list<int> li; int maxAS, maxDS; void take(int i, int m){ if(m == 0){ vector<int> v2(li.begin(), li.end()); //copy(li.begin(), li.end(),...
9c3989c9aacd4847c6aa39122b820fe3e5d77aab
1a9ef412a09894302ca7df1fedd5d71e7da2f25f
/Stack Problems/Stack_impl.cpp
1be4d8ede3cb4f33c8b377a6d9e31a84bae53cb4
[]
no_license
barnwal-anand/Interview_Preparation
ca87f2fb0cac19f9e6eefe1f8c4ed1e9724e41db
4fd155ced74910e637b9d6453b2820b53cab7505
refs/heads/master
2023-07-19T07:33:34.927883
2023-07-07T22:22:47
2023-07-07T22:22:47
214,193,849
2
0
null
null
null
null
UTF-8
C++
false
false
764
cpp
Stack_impl.cpp
#include <iostream> using namespace std; class Stack { private: int *arr; int top; int size; public: Stack(int n) { size = n; top = -1; arr = new int[size]; } bool push(int); int pop(); }; bool Stack::push(int num) { if(top == size-1...
46a2078ca183e36f9faedb1c96c4039c71821421
e4c1125ebd80090a2a74e06a83cc9dba0c13bb4b
/jelly-share/src/emule/aich_hash.cpp
5efde7bad77682e09cf25599c28e6a054adba741
[]
no_license
tectronics/jellyfish
cdec7df07eab99d20b42b34940b46e4549eeffab
cc63e53aa39dc8689a9beb45135d0ac4549fa381
refs/heads/master
2018-01-11T15:00:09.952216
2012-03-30T14:17:37
2012-03-30T14:17:37
48,414,266
0
0
null
null
null
null
UTF-8
C++
false
false
1,187
cpp
aich_hash.cpp
#include "src/emule/aich_hash.h" #include <string.h> jellyfish::emule::aich_hash::aich_hash() { memset(buffer, 0, jellyfish::emule::aich_hash::hash_size); } jellyfish::emule::aich_hash::aich_hash( uint8* data ) { read(data); } jellyfish::emule::aich_hash::aich_hash( const aich_hash& k1 ) { if (thi...