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
e7c5bb14442786769527f40d01cfb20a81998912
6e98a5d1588baaff7870316210c8033631fd7d3c
/libraries/chain/include/scorum/chain/dba/db_accessor_fwd.hpp
b9cc15984a23730cbd170677fd6995e4376f299c
[ "MIT", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
scorum/scorum
f2ca45a678e46638d1bd0ebe868bed0431a53492
f660e3f8ead05f90e412f4d83f92e34ada13a61b
refs/heads/develop
2022-08-16T19:09:03.918951
2022-06-09T08:45:52
2022-06-09T10:04:56
106,838,543
57
30
NOASSERTION
2023-08-31T15:33:27
2017-10-13T15:01:17
C++
UTF-8
C++
false
false
112
hpp
db_accessor_fwd.hpp
#pragma once namespace scorum { namespace chain { namespace dba { template <typename> class db_accessor; } } }
a5253ee04424fe1bb54298fb016805c70321a5f6
d0f116d7eb90c5f07f11977a40f391ee539da974
/src/smooth.hpp
1840c7faa6da88393bea8374532c4510b356454d
[]
no_license
rising-turtle/torso_extract
0c4e25ab1454ba4e197db5463ac76acec7aa0215
52c1522289624697f2f8bdfbafcd50351df3952a
refs/heads/master
2021-01-19T23:02:46.101163
2019-02-13T14:38:00
2019-02-13T14:38:00
88,912,818
0
1
null
null
null
null
UTF-8
C++
false
false
897
hpp
smooth.hpp
/* * Oct. 27 2017, He Zhang, hxzhang1@ualr.edu * * Smooth the input , mean filter first * * */ #include <iostream> template<typename T, int L> CSmooth<T,L>::CSmooth() { assert(L >= 1); } template<typename T, int L> CSmooth<T,L>::~CSmooth() {} template<typename T, int L> void CSmooth<T,L>::push(T e) { ...
930e2d39bc3c14db0841dfedf256c7ac373fbd40
7295ba4177fbc9e248b2bf8c3b51a033acb5d307
/t7_slg_pc/slg2Doc.cpp
3d568fccc26120de3413b841f61a0c4a7e1e25f9
[]
no_license
BelousovYaroslav/slg_m3a
f0019c882a995e45272c12e26775f229bba1604a
6c916e89e0c96d2b251e8b0a56eecb6b342dc312
refs/heads/master
2016-09-08T05:06:01.683945
2015-06-19T08:45:47
2015-06-19T08:45:47
37,605,779
0
0
null
null
null
null
UTF-8
C++
false
false
1,774
cpp
slg2Doc.cpp
// slg2Doc.cpp : implementation of the CSlg2Doc class // #include "stdafx.h" #include "slg2.h" #include "slg2Doc.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // CSlg2Doc...
a76ba5803ce1e8e7440552d6ca54d9a306cb6a92
3e0aa5238ba5741736929687d91147b0f0cf1cf4
/src/setpoint_flocking1.cpp
c90bc628e723b2896381c5dc556e3ac1755108b4
[]
no_license
risingsunho/px4_swarm
356e34d95458d17d74ef5e605ec46769aabb91c0
acc861b28635ed87961eac9040263d81b2b8f0b4
refs/heads/master
2021-08-29T14:33:04.789503
2017-10-26T09:22:18
2017-10-26T09:22:18
108,140,357
5
3
null
null
null
null
UTF-8
C++
false
false
5,768
cpp
setpoint_flocking1.cpp
#include <ros/ros.h> #include <std_msgs/String.h> #include <stdio.h> #include "geometry_msgs/PoseStamped.h" #include "geometry_msgs/Vector3Stamped.h" #include <geometry_msgs/Vector3.h> #include <mavros_msgs/SetMode.h> #include <mavros_msgs/State.h> #include <mavros_msgs/CommandBool.h> #include "sensor_msgs/NavSatFix.h"...
e531905507171343a6fbd9e301626c2736650490
1e7995b70c4809adb4f603d7e537ebb64234f773
/variadicTemplates.cpp
5cadc013b69da23adb2dd59f6afbdef125a6735b
[ "MIT" ]
permissive
bruennijs/ise.cppworkshop
420aaecb6b4f95ebe80f62c25ad7e0fdc995efa5
c54a60ad3468f83aeb45b347657b3f246d7190cc
refs/heads/master
2020-06-06T04:24:08.913519
2015-03-06T17:02:09
2015-03-06T17:02:09
30,956,520
0
0
null
null
null
null
UTF-8
C++
false
false
86
cpp
variadicTemplates.cpp
template<typename T, ...> void printf(T obj, std::string s1) { } int main() { pei }
1f8af2f1196c04f175f8d2a52268bab01e221de9
abd3c8f909565f914de2c93eb8e091938b1fcc49
/modules/camera/src/bin/o3d3xx-imager-types.cpp
b2c6e83d1478a2dd0b09dcee551d9fd57c7cd578
[ "Apache-2.0" ]
permissive
ifm/libo3d3xx
fd2682ae105fedab81d8165d3394b22f5897d0d4
89d26a524bceee2f6ed20d9adf28414096635aa1
refs/heads/master
2023-04-13T14:34:38.380396
2021-04-15T11:28:17
2021-04-15T11:28:17
24,420,973
10
8
Apache-2.0
2019-11-06T16:37:46
2014-09-24T15:36:06
C++
UTF-8
C++
false
false
3,773
cpp
o3d3xx-imager-types.cpp
/* * Copyright (C) 2015 Love Park Robotics, LLC * * 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 o...
e97eeec8e1fe03fce0c3af8881bf81b7d50a8d93
5608b925503c7407b7b176a96bd2db94bb51ef7e
/downward/src/search/pdbs/explicit_projection.h
b4c8e03f6cc426a0cdd6f6d96688e805ae29b5be
[]
no_license
ramonpereira/PlanningLP
9713a3cc95862abb80f87e774630b1ceb944c977
081a22eab2bc1a4d16c1ac0c5aa9a20162111992
refs/heads/master
2022-09-20T10:42:29.908843
2020-05-16T14:46:47
2020-05-16T14:46:47
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,436
h
explicit_projection.h
#ifndef PDBS_EXPLICIT_PROJECTION_H #define PDBS_EXPLICIT_PROJECTION_H #include "types.h" #include "../abstract_task.h" #include "../task_proxy.h" #include <vector> namespace pdbs { struct Transition { int source; int target; int op_id; Transition(int source, int target, int op_id) : source(...
9948be132e63e744ebd772bf33c9dc08e66d0d2a
200b7d0f3fed76c0dc42422d837560a96c3958a9
/InterviewBit/trees/lowestcommonancestorofbinarytree.cpp
6251d04b8ba11669b1c0b9f10e35fb43deacc12c
[]
no_license
Arjunkhera/Competitive_Programming
99b7f15bed4e2639ea040a4d8cb5f8ee1a0e8a7e
f8f2a9ce9b5c78ccb9e8ef722ffc537edeefdb3b
refs/heads/master
2021-06-06T13:21:57.471859
2018-08-02T08:18:47
2018-08-02T08:18:47
107,667,379
3
3
null
null
null
null
UTF-8
C++
false
false
2,039
cpp
lowestcommonancestorofbinarytree.cpp
// leetcode question 236 #include <iostream> #include <vector> #include <queue> using namespace std; struct tree{ int data; tree* left; tree* right; tree(int dat):data(dat),left(nullptr),right(nullptr){} }; // input elements level wise void readLevelOrder(tree* &root){ std::queue<tree*> nodes; int dat; ...
de2a1800e134a08d9216323558f94fe46dbca70b
c14adcddc1e9c0c9195ea3c064f1414c943adec9
/InterviewBit/ReduceTheString.cpp
0d5aa38c2d79769c96466b6a92b679fdc4bcb34e
[]
no_license
gagandeepahuja09/Strings
0622d452c39344ace5018d195939c09caa6f868c
5ba75291bf2c2eebb0fe4372fd36abda7f6324cf
refs/heads/master
2020-05-04T15:25:46.279687
2020-04-05T10:40:39
2020-04-05T10:40:39
179,240,509
0
0
null
null
null
null
UTF-8
C++
false
false
805
cpp
ReduceTheString.cpp
/* Reduce the string Given a string A consisting of lowercase English alphabets. Reduce the string to its shortest length by doing any number of operations (possibly zero). In one operation selects a pair of adjacent letters in the string that match and deletes them. For example the string bcaa is shortened to bc in o...
76b03d50a71f89f1c39ad9b52a0c52910cfda4ba
9d8c776aea1da184e2bd6fe5fbba511e4ea66e0a
/ROSPackages/rtabmap_helper/src/mapdata_to_pointcloud.cpp
495f71c8674d4ff740dc49a3dfb6bb27ce883691
[]
no_license
PascalLiPooKim/unity-with-ros-interface
63f8d44caf496c5811aceb8c59a481b026e59a4c
96151a579addf22b7c5208934879a7bc6f373705
refs/heads/main
2023-07-19T00:29:24.773203
2021-06-20T09:47:50
2021-06-20T09:47:50
376,250,345
0
0
null
null
null
null
UTF-8
C++
false
false
16,363
cpp
mapdata_to_pointcloud.cpp
#include <ros/ros.h> #include "std_msgs/Header.h" #include "sensor_msgs/PointCloud2.h" #include <tf/transform_listener.h> #include <opencv2/imgproc/imgproc.hpp> #include <opencv2/highgui/highgui.hpp> #include "cv_bridge/cv_bridge.h" #include "rtabmap/core/util3d.h" #include "rtabmap/core/Compression.h" #include "rtab...
5f3dd8c218d86557fac0effdfea273e080472f67
a58a958143ba0421f6e9464b1b137a8c5ca3bbf8
/MySolutions/1-c-increment/increment.cpp
3123b718c8ca6cfab7865e73f07a95f3b03d26d4
[ "MIT" ]
permissive
nukex1122/-Competitive-Programmer-s-Core-Skills-Coursera-
6fb3bc79e033fa0a5f8843f21d54425629072808
600cd2b78ad1593dc8b1bd18f84fc2b7d35366cc
refs/heads/master
2020-08-17T05:02:55.504360
2019-10-16T18:28:05
2019-10-16T18:28:05
215,612,278
0
0
MIT
2019-10-16T18:02:39
2019-10-16T18:02:39
null
UTF-8
C++
false
false
304
cpp
increment.cpp
using namespace std; #include <bits/stdc++.h> int main(){ ios_base::sync_with_stdio(false); cin.tie(NULL); string s; int l,flag; cin>>s; l = s.length(); flag=0; for(auto x:s){ if(x!='9'){ flag=1; break; } } if(flag) cout<<l<<"\n"; else cout<<(l+1)<<"\n"; return 0; }
0332b2a4abb092e948bd30606b763ded48043b15
518ad5ca97f0972455297e719a14b8ada9a97d6b
/invaders v2/ResourceManager.cpp
11962e6109efd8cc43292f5dca53bd5fcd4c468e
[]
no_license
DariusL/invaders2
e2258fe6c7d3f423705a2c782c8fefa282d4da44
1e5d0a4648dce5794fcb693462ee6f3ffe70b48d
refs/heads/master
2021-01-13T03:53:19.211223
2014-09-29T16:01:55
2014-09-29T16:01:55
null
0
0
null
null
null
null
UTF-8
C++
false
false
7,479
cpp
ResourceManager.cpp
#include "includes.h" #include "ResourceManager.h" #include "DDSTextureLoader.h" using namespace e; ResourceManager *ResourceManager::handle; ResourceManager::ResourceManager(ID3D11Device *device, bool loadCompute) :letters(GetModelsFromOBJ(L"Resources\\text.obj")) { handle = this; VertexType vt; Geometry<VertexT...
b37841e72fb305f30156c03bd6ee7d11a62c16ac
48d79f14fc307022913217b4dd1ea3abbaa01c65
/background subtraction/yuening/ball.cpp
22f5be0da87989cb67b8df97f0f99ce98ed8043b
[]
no_license
zmykevin/SPP2_Kevin
506d2e12f456f470b2383bc27cd106d5c3d250ed
6aa11db1d267a2a1f0c1b38c6604bc80fb757b83
refs/heads/master
2020-04-06T03:40:48.392814
2015-12-15T05:19:00
2015-12-15T05:19:00
38,252,741
0
1
null
null
null
null
UTF-8
C++
false
false
5,212
cpp
ball.cpp
#include "ball.h" Ball::Ball(int init_width, int init_height, int init_radius, double init_speed, double init_theta){ THRESH = 5; RADIUS = init_radius; speed = init_speed; theta = init_theta; l_theta = init_theta; ll_theta = init_theta; center.x = init_width; center.y = init_height; ...
89759637d755ab0122a52c60c1566168bede2237
859785282e385c49c7a6ad11a233e7f5a9d0c9e7
/c++/Flatten-Binary-Tree-to-Linked-List.cpp
6b880fea87f4c3170573a22802c5734fb4d67b1d
[]
no_license
tejeswinegi/DSA-Solved-Problems
eaacfd939ef08208f73854c2bae2b4e739d6c4c5
9c4947fecea1f8b66ee2405c2d537961465ea479
refs/heads/master
2023-08-30T19:49:06.935389
2021-10-06T02:07:47
2021-10-06T02:07:47
null
0
0
null
null
null
null
UTF-8
C++
false
false
484
cpp
Flatten-Binary-Tree-to-Linked-List.cpp
class Solution { public: void flatten(TreeNode* root) { if(root==NULL) return; flatten(root->left); flatten(root->right); TreeNode* lNode = root->left; TreeNode* rNode = root->right; if(lNode==NULL) return; root->righ...
695df1435a98cd4cdea748702905697970ae54ea
1f9b5c9a950b6df166085edf262ad063746c6d8b
/CORE/PathFinding/SearchNode.cpp
57f3f4919355a69ac997593c488c7bc798e8f706
[ "MIT" ]
permissive
Parseus/pixfight
fb5b936939752333f67a54454f91f8e4904b07c9
b1f134b5e969e2da9ae66653f9e29da77bb6f28f
refs/heads/master
2021-06-03T23:45:53.310829
2018-07-23T09:52:22
2018-07-23T09:52:22
172,204,446
1
0
MIT
2019-02-23T11:05:58
2019-02-23T11:05:57
null
UTF-8
C++
false
false
3,748
cpp
SearchNode.cpp
// // SearchNode.cpp // PixFight // // Created by Marcin Maล‚ysz on 05/01/2018. // Copyright ยฉ 2018 Marcin Maล‚ysz. All rights reserved. // #include "SearchNode.hpp" #include <math.h> TTile** _mapwsk = nullptr; int MAP_WIDTH = 0; int MAP_HEIGHT = 0; int GetMap( int x, int y ) { if ( x < 0 || x >= (MAP_WIDTH-1...
3474efcf4b1ab64e459f1f7aa943171d80e31557
1ce136fc96c31d77c90b536b576911bf6d663961
/source/utility.hpp
52af52cb596a42d626e4aee4815f50edae87c994
[]
no_license
michaelhelvey/cpp-json-parser
9e52a263709709550b54236a17338e5cc2b01eca
0b978ae53bdca02f3b145cc88e1cf2bdc48c954f
refs/heads/master
2023-04-15T03:03:45.136457
2021-04-30T22:35:33
2021-04-30T22:35:33
362,969,871
0
0
null
null
null
null
UTF-8
C++
false
false
683
hpp
utility.hpp
#include <cassert> #include <optional> #include <array> #include <algorithm> #define ASSERT_UNREACHABLE() assert(false && "Unreachable code reached.") // H/T Jason Turner for teaching me this one template<typename Key, typename Value, std::size_t Size> struct ConstMap { std::array<std::pair<Key, Value>, Size> data; ...
5ea6a90c318f819a07be44e17098339f31c83b99
d70bc150251f13ba0da021778016dfc437a74d95
/pluriNotes/AbstractNote.h
6f225dae89de4ce09fe25adf5e704cd6d9f36dff
[]
no_license
ThomasCaud/pluriNotes
4d564246d39d6bc1719792a85b8c948a68e3506c
ec0383a2801c11f2238b4e750fd5b45033d7631d
refs/heads/master
2020-04-27T21:15:02.857396
2019-03-09T12:09:09
2019-03-09T12:09:09
174,689,482
0
0
null
null
null
null
ISO-8859-1
C++
false
false
729
h
AbstractNote.h
#ifndef ABSTRACTNOTE_H #define ABSTRACTNOTE_H #include <string> #include <Enumeration.h> /** * @brief The AbstractNote class est une classe abstraite permettant de gรฉrer les attributs et mรฉthodes communs aux diffรฉrents types de notes */ class AbstractNote { public: AbstractNote():title(""){} AbstractNote(con...
55c94c55f0b1484188ede293ec3f518734b4e72d
402b909aa9fda3da15817b5dda6b45f811f064f0
/LeetCode/easy/507_Math.cpp
c3ff8ebf4c398ee2a48747935cca185ae9b00151
[]
no_license
lihzzz/leetcode-C
897821102dfbafb164b2fa9f91fa2ca575774e8b
dd6f61eb6fc51d1d26b15898f043eb404f8c40e7
refs/heads/master
2021-01-19T16:59:13.646500
2018-09-20T14:57:56
2018-09-20T14:57:56
101,031,110
1
0
null
null
null
null
UTF-8
C++
false
false
1,010
cpp
507_Math.cpp
// // Created by lh on 2017/9/28. // #include <set> #include <numeric> using std::accumulate; using std::set; //class Solution { //public: // bool checkPerfectNumber(int num) { // if(!num || num == 1) // return false; // set<int> m ; // int sum = 0; // for (int i = 1; i*i <num;...
b9e3ce4bd793dbd3b11d6f5b5492491f589eba78
2aa75176e93bc5cee6e3c66a82acf3701af56678
/c++/basic/copy_swap/copy_swap.cpp
0bde83447bf2588d7f14cae57ab0d19d591a26f8
[]
no_license
dedowsdi/journey
5d5c11a5e2c143f031ad2d801c731c2ca381c18a
0e9f1dd34a6bb7d5c9c8225ef1595a8cfd188593
refs/heads/master
2021-06-02T00:31:44.925551
2020-10-05T06:14:08
2020-10-05T06:14:08
116,079,146
12
1
null
null
null
null
UTF-8
C++
false
false
1,270
cpp
copy_swap.cpp
#include <iostream> struct Data { bool b; int i; float f; }; class Resource { protected: Data* mData; public: // custom swap. // another way(suggest by effective c++) to do this is define swap as menber, // then add a nonmenber swap in the same namespace, a specialization swap for // this type in std...
0fb964a984ca479e7394e871e07194d154562a08
f6f88ed8f2bf7a46bf0dcbbe8bc641b7e26583de
/TemaCurs21_OrdonareArray/Header.cpp
829158524812ab10f8c4411d0d1babc482c503d0
[]
no_license
sorin83/TemaCurs21_OrdonareArray
83b10ff9fabc40fee0697c9706c4b8d9bd397a99
573eb2c88f4fbd5b67967e7a4f6082fe4dc10e4d
refs/heads/master
2023-07-25T17:03:49.026319
2021-09-05T20:42:03
2021-09-05T20:42:03
403,408,827
0
0
null
null
null
null
UTF-8
C++
false
false
148
cpp
Header.cpp
#include "Header.h" void elementeMari(int array[], int size) { for (int i = 0; i < size; i++) { std::cout << array[i] << std::endl; } }
a2ed2e39ea3885bcec40289b11f29774a05169b8
8c89782663a343f7c3d362573620f79d275a6142
/src/10000/10263.cpp17.cpp
7b861ada946bd852f9ee95efe1c611e6b10379d5
[ "MIT" ]
permissive
upple/BOJ
14a8c8e372131b9a50ba7c1e7428ba7e57b4702d
e6dbf9fd17fa2b458c6a781d803123b14c18e6f1
refs/heads/master
2021-06-21T07:17:57.974279
2019-06-28T17:56:30
2019-06-28T17:56:30
128,779,781
13
0
null
null
null
null
UTF-8
C++
false
false
426
cpp
10263.cpp17.cpp
#include <iostream> #include <queue> #include <algorithm> using namespace std; int main() { int n; cin >> n; priority_queue<int> pq; for (int i = 0; i < n; i++) { int x; cin >> x; pq.push(x); } int cnt = 0, ans=999999999; while (1) { int x = pq.top(); pq.pop(); if (pq.empty()) { ans = min(an...
66d0215f82f92c177b4c09b56b9a21f31156e568
1593b8975b5ac78c9e00d199aa0bf3c2de40f155
/gazebo/physics/bullet/BulletJoint.hh
b1a25406d40fde461f64b3cd224b37bbad9825af
[ "Apache-2.0" ]
permissive
kesaribath47/gazebo-deb
3e0da13ec54f33cc8036623bb8bba2d4a4f46150
456da84cfb7b0bdac53241f6c4e86ffe1becfa7d
refs/heads/master
2021-01-22T23:15:52.075857
2013-07-12T18:22:26
2013-07-12T18:22:26
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,383
hh
BulletJoint.hh
/* * Copyright 2012 Open Source Robotics Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
c8d21c57b6a37daf3e14cabd27bc99c7070724af
1dba6c4c1f27c06a97880a64403a02657e9da74e
/msvcore/crossplatform/io.cpp
42dd4cf1595ca008a7694f6872dd5a3d7e896983
[]
no_license
darkprof83/opensource
a41bf23d711b4bc67b8192040e843634cd98e80e
7d8266d02e66993c4b96e691d43c8b9d63d7e822
refs/heads/master
2020-03-07T23:28:12.193967
2016-11-21T11:28:09
2016-11-21T11:28:09
null
0
0
null
null
null
null
UTF-8
C++
false
false
18,884
cpp
io.cpp
#ifdef WIN32 #ifndef WINCE HANDLE _std_input_handle = GetStdHandle(STD_INPUT_HANDLE); HANDLE _std_output_handle = GetStdHandle(STD_OUTPUT_HANDLE); void MsvAllocConsole(){ AllocConsole(); _std_input_handle = GetStdHandle(STD_INPUT_HANDLE); _std_output_handle = GetStdHandle(STD_OUTPUT_HANDLE); } #endif #endif //////...
5229e0ff77c2f3226eca3c7d06d780c908cb494e
a32c0a62e18681eb41c9bd048db92b3f190985d3
/src/Editor/GUI/EditableCellTable.hpp
01ab251d2e401d1edbc535f14601219217754844
[]
no_license
benreid24/Ignus-Cor
5cf90222848a58546f73ca597872d29bc2d9d06d
67e94ea3f0352315a02fab55e5b5adbe93d93da2
refs/heads/master
2021-01-22T06:19:39.209515
2020-01-02T02:34:26
2020-01-02T02:34:26
92,540,078
0
0
null
2020-01-02T02:34:28
2017-05-26T18:57:01
C++
UTF-8
C++
false
false
1,773
hpp
EditableCellTable.hpp
#ifndef EDITABLECELLTABLE_HPP #define EDITABLECELLTABLE_HPP #include <SFGUI/Widgets.hpp> #include <vector> #include <string> /** * Built on top of CellTable. Allows editing * * \ingroup Editor */ class EditableCellTable { public: /** * Initializes GUI elements */ EditableCellTable(sfg::Desktop& dk, sfg::...
0d9e5071dba8df87d3f2cb63be32bcb962dc2c0b
afb7006e47e70c1deb2ddb205f06eaf67de3df72
/third_party/rust/glslopt/glsl-optimizer/src/compiler/glsl/link_uniform_block_active_visitor.h
808a566723a1f2c7912f9c4fd9be3a7951c336ad
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
marco-c/gecko-dev-wordified
a66383f85db33911b6312dd094c36f88c55d2e2c
3509ec45ecc9e536d04a3f6a43a82ec09c08dff6
refs/heads/master
2023-08-10T16:37:56.660204
2023-08-01T00:39:54
2023-08-01T00:39:54
211,297,590
1
0
null
null
null
null
UTF-8
C++
false
false
2,665
h
link_uniform_block_active_visitor.h
/ * * Copyright 2013 Intel Corporation * * 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 publish distri...
6b8a5367b325ebbd6d7a652dce176c21c939211d
90beaf6c9e091f5aaa40c3b24bff498a0ed5055a
/compiler/include/byteir/Transforms/GraphClusteringByDevice.h
472c6aa3dd4f7d164ca06b4f3f9788e67eff16b1
[ "Apache-2.0", "NCSA", "LicenseRef-scancode-generic-cla", "LLVM-exception", "BSD-2-Clause", "MIT" ]
permissive
bytedance/byteir
cf1d9bc27ec8e9f7ea92ff449cbedf470f90115c
0e7673074c9d9a299717bb3379cb774c9921f72c
refs/heads/main
2023-08-31T04:42:44.536710
2023-08-30T20:14:22
2023-08-30T20:14:22
598,267,148
208
16
NOASSERTION
2023-09-13T21:50:19
2023-02-06T18:51:31
MLIR
UTF-8
C++
false
false
1,900
h
GraphClusteringByDevice.h
//===- GraphClusteringByDevice.h ------------------------------*--- C++ -*-===// // // Copyright 2022 ByteDance Ltd. and/or its affiliates. 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...
143de1e6c5a856ade0438336f5ba3d0b6eca9fac
52e60083e37a888a2c812cca515cc5c0ba0b3e89
/main.cpp
068f6d7e41defc0d751688a1e3a48e25cb208f0a
[]
no_license
yinshangqing/test_log
0e2384b6048932f100ad14d3f8ad8703845f19c3
6a0ae368adffdd83b3c6a137cde469ac33aca82e
refs/heads/master
2021-04-24T20:57:28.412160
2018-01-11T08:39:06
2018-01-11T08:39:06
117,072,817
0
0
null
null
null
null
UTF-8
C++
false
false
218
cpp
main.cpp
#include "widget.h" #include <QApplication> #include "log.h" int main(int argc, char *argv[]) { QApplication a(argc, argv); test_debug("haoyun shi dou bi"); Widget w; w.show(); return a.exec(); }
3c86e262b649b1f982f576a07c026854bc17eb52
101f77ba71c885165474f203b0caa9078800cdfa
/make/util.h
6ca236906034e44ddfa3924095396cd69b92e999
[]
no_license
siwangqishiq/cplus
d8b161265ea77833147016e3c725ce16181322cf
512b751a4416f8ee1bbeb8a5aad6494600ca68cc
refs/heads/master
2020-03-19T03:57:12.457023
2018-12-29T09:43:54
2018-12-29T09:43:54
135,778,666
0
0
null
null
null
null
UTF-8
C++
false
false
132
h
util.h
#ifndef __util_h__ #define __util_h__ #include "sub.h" class Util{ private: Mod m; public: int giveMeMoney(); }; #endif
45799689b8ac638c16f571f90c2c648c8add48c8
1c9cd09c4e07205cb5b2b499134d29c72fe2d9f0
/ๅƒ่ฑ†ไบบ/GObject.h
37e55fd9636b6236490f8e5eebdc665f5a0039de
[]
no_license
llty123/pacman
ef3a33b29200f0a5192714ee89db9f7600279ad1
a6cdff3a392660c8ee0a838daffb63402226f915
refs/heads/master
2023-06-16T10:25:07.655502
2021-07-13T23:08:04
2021-07-13T23:08:04
383,790,751
0
0
null
null
null
null
GB18030
C++
false
false
3,279
h
GObject.h
#pragma once #include"framework.h" #include <wtypes.h> #include<time.h> #include "GMap.h" #define PLAYERSPEED 4 //็Žฉๅฎถ้€Ÿๅบฆ #define ENEMYSPEED 4 //ๆ•Œไบบ้€Ÿๅบฆ #define LEGCOUNTS 100 //ๆ•Œไบบ่…ฟ็š„ๆ•ฐ้‡ #define DISTANCE 10 //ๅ›พๅฝข่Œƒๅ›ด #define BLUE_ALERT 8 //่“่‰ฒ่ญฆๆˆ’่Œƒๅ›ด #define D_OFFSET 2 //็ป˜ๅ›พ่ฏฏๅทฎ #define RD (DISTANCE+D_OFFSET) //็ป˜ๅ›พ่Œƒๅ›ด //ๆ–นๅ‘ๆžšไธพ enum TWA...
cdcff4edba1f0cc86efb6931947a23d8f5eed6d8
d01ff1ced13138bd25984af64e65c9e44572521f
/Sensor/SensorFinal/SensorFinal.ino
a82c0d30743fc073eba52ddb441825963c25ce1c
[]
no_license
krishnayoga/robotika
a33de4f56ff2eb11e3c7049dac6d71159be1084e
69d6fc31c87006c1ee0ceb5f4b32f2c896738bc0
refs/heads/master
2020-04-13T10:52:35.517466
2018-12-27T02:17:43
2018-12-27T02:17:43
163,155,947
1
1
null
null
null
null
UTF-8
C++
false
false
9,775
ino
SensorFinal.ino
#include "RTClib.h" #include <Wire.h> #include <LiquidCrystal_I2C.h> #include "DHT.h" #include <SPI.h> #include <SD.h> #include <MPU9255.h> LiquidCrystal_I2C lcd(0x27, 16, 2); RTC_Millis rtc; MPU9255 mpu; #define LM35pin 0 #define LDRpin 1 #define GPpin 2 #define IRextpin 7 #define Inductivepin 6 #define IRLpin 5 #d...
acec8b9bfa95f484dc73129cb0842c371dbb9d12
2236b83cf9fe64effdc49466b779dc3f64dbdd7e
/studies/01 Programmiertechnik 1/Aufgabe5/schritt2/Notenspiegel.cpp
000f1d00b8ce54c437e84b389b1462a3b6e73500
[]
no_license
jtammen/grab-bag
32605561299c231178702622c40eb3cfbe0ad3cc
f7dfeba354339624a22880ac5c34ce7b1e9bb530
refs/heads/master
2020-05-01T13:49:59.464686
2012-06-03T18:34:22
2012-06-03T18:34:22
4,511,109
0
1
null
null
null
null
UTF-8
C++
false
false
2,562
cpp
Notenspiegel.cpp
// // Notenspiegel.cpp // // Programmiertechnik Uebungsaufgabe 5: Klasse Notenspiegel // // Autor: H.Drachenfels // Erstellt am: 25.05.2004 // #include "Notenspiegel.h" #include <iostream> Notenspiegel::Notenspiegel (char **namePtr) { namePtr_ = namePtr; } Notenspiegel::~Notenspiegel () { FachNote *fachNotePtr...
3b492cc3f19183d6d149923ec44c67e7e7cbdf34
67563a4436b914654dd441eb2e1915bbd41aa8ca
/Common/Util/src/bill.cpp
72b9bbb295e96ff3b228cb4e707e5cadddcea446
[ "Apache-2.0" ]
permissive
PKO-Community-Sources/ClientSide-Sources
1cab923af538ffe9d9cb9154b14dd3e0a903ca14
ddbcd293d6ef3f58ff02290c02382cbb7e0939a2
refs/heads/main
2023-05-13T00:15:04.162386
2021-06-02T15:35:36
2021-06-02T15:35:36
372,753,278
3
0
Apache-2.0
2021-06-02T15:26:17
2021-06-01T08:17:07
C++
GB18030
C++
false
false
24,497
cpp
bill.cpp
#include "util.h" #include <string> #include <stdio.h> #include <stdlib.h> #include <exception> #include "md5.h" #include "comutil.h" //#import <msxml2.dll> raw_interfaces_only #include "PAI.h" #include "BTI.h" #pragma comment(lib, "pai.lib") #pragma comment(lib, "bti.lib") #pragma comment(lib, "comsupp.lib") CPAI:...
edfc7e606ce4af7f3a0c513719e71e9949ed9e86
b367fe5f0c2c50846b002b59472c50453e1629bc
/xbox_leak_may_2020/xbox trunk/xbox/private/test/directx/d3d/conf/Cubemap/Utility.cpp
2157550ea89ea4ad51b709c885987e07d74578b4
[]
no_license
sgzwiz/xbox_leak_may_2020
11b441502a659c8da8a1aa199f89f6236dd59325
fd00b4b3b2abb1ea6ef9ac64b755419741a3af00
refs/heads/master
2022-12-23T16:14:54.706755
2020-09-27T18:24:48
2020-09-27T18:24:48
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,798
cpp
Utility.cpp
//#define D3D_OVERLOADS #include "d3dlocus.h" #include "cd3dtest.h" #include "3dmath.h" #include "Cubemap.h" bool CCubemap::BltCubicTexture(void) { /* // Blt from source sysmem to vidmem method POINT Pt = {0,0}; for (int i=0;i<6;i++) { for (int j=0;j<m_paSysTexture->m_pSrcSurface->GetNum...
285c35ce9156e6266d77d1637e66b3631950d86f
6e0afb7107531039af5115bfa1c656ab359a739d
/svn/gui/slider.cpp
97b73945136d35001959f17e3bd888b341ac4329
[]
no_license
valgaba/vimar
6be439463dfa496436103370193d601b9d45ad35
69fa958e1720d4312c24beb6e15c802987bca2fa
refs/heads/master
2022-06-17T19:44:16.380735
2020-05-14T14:03:39
2020-05-14T14:03:39
259,447,195
0
0
null
null
null
null
UTF-8
C++
false
false
1,960
cpp
slider.cpp
/* This file is part of IRadit. Copyright 2020, Victor Algaba <victor@radit.org> www.radit.org IRadit is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at y...
fb4386079d6108f6bed1c93b88b88f77ce9146ee
1558823dc262eb742acaeaeda87a7a31f5b9ed3a
/OpenGL Shaders/OpenGL Shaders/ClientGame.h
57fb649d8b3ae09e889ad25d3beb0297bca2cba9
[]
no_license
OlivierLindenbergh/Eindproject
be7df9c2bb62fcda701ac0f0ad3340a11dc79154
0ae8b57e26f0cb3ff8087342d4f6a6b4e74ba606
refs/heads/master
2020-07-24T02:04:57.054548
2017-01-24T23:49:16
2017-01-24T23:49:16
73,798,435
0
0
null
2017-01-24T23:49:17
2016-11-15T09:35:11
HTML
UTF-8
C++
false
false
2,315
h
ClientGame.h
#pragma once #include "NetworkHeader.h" #include "Header.h" #include "networkData.h" #include "ClientNetwork.h" #include "Player.h" #include "Enemy.h" extern void(*networkUpdateFunction)(void); extern void SendInitData(); extern void SendLobbyData(); extern void SendGameData(); // My Client extern playerData myPl...
3ba9afeb9ea05213c3b4a1375dc5e0db92640ead
995def04ef88081ee265cf35bd5997f15cc27847
/Source/dataframe.cpp
3c667f6b84f1c3ec9f91f235a6b5cac36606a530
[]
no_license
sprkrd/rise-implementation
f850f386786de014d3583b2cf07fad6877169224
cf68697027e5c1de72408dd39b0fdebaa9f4de38
refs/heads/master
2021-07-24T23:48:47.086633
2017-11-03T12:28:01
2017-11-03T12:28:01
108,530,157
0
0
null
null
null
null
UTF-8
C++
false
false
11,680
cpp
dataframe.cpp
#include "dataframe.h" #include <cmath> #include <cstdlib> #include <iostream> #include <limits> #include <set> namespace rise { namespace /* Utils for internal usage */ { void push_column(std::vector<CsvRow>& table, int column) { for (CsvRow& row : table) { for (int idx = column+1; idx < row.size(); ++idx) ...
13183ec8b9560c195398b96abad700765d5c3fef
51e708d16e5f64eaf0bc637d707e24d47b7c5467
/cpp/leetcode/array/27.cpp
db54ef91d5578a43d83cc77c6659726a51923374
[]
no_license
zhufangda/Exercise
214c03b180aa0e80f0a8a5c5478e17949782e763
c03c127187080005ce3ea9affffbd18e82479ec7
refs/heads/master
2023-06-18T19:31:26.157519
2023-06-15T10:56:56
2023-06-15T10:56:56
140,619,580
0
0
null
2020-10-13T17:43:59
2018-07-11T19:26:56
Jupyter Notebook
UTF-8
C++
false
false
987
cpp
27.cpp
#include <vector> #include "common/print.h" // 27. Remove Element int removeElement(std::vector<int>& nums, int val) { auto end = -1; // index of last elemet for new array int size = 0; for(int i=0; i< nums.size(); i++){ if(nums[i]==val){ continue; } end++; nu...
3f7d7094cde1742a6c96e6ea94db029540ea92ef
c502c8d4780c30060aea0fbd82c79eae0a632ddd
/Node.cpp
a364591549e6d1075ecbfb6d59f2f6da8c20f68c
[]
no_license
LordHoboDojo/project2
54e58d6443abe7747ceb37617faa4d591ff5f7d6
d9fa737121cb86e0af0cffc20d562b2d7e49b61d
refs/heads/master
2022-12-28T05:14:24.351281
2020-10-12T19:56:58
2020-10-12T19:57:47
301,248,878
0
0
null
null
null
null
UTF-8
C++
false
false
68
cpp
Node.cpp
// // Created by Shaunak Kulkarni on 10/4/20. // #include "Node.h"
5724f948d8d5043fbdfa1729bd73f99bc156367f
23219fbe8197fb0abc12e491e067b49764b59ae2
/Mapper/StreamMgr.cpp
418c43b5101688462d714b0e16253bbdc63d2007
[]
no_license
kooiot/rdc
d5332f7a8a1f58cede8c518a332bdb0cf354d943
a2809c339f41aecfe097a72336ffdd6df741c783
refs/heads/master
2020-05-21T13:29:54.148866
2016-11-28T14:18:13
2016-11-28T14:18:13
61,816,205
0
0
null
null
null
null
UTF-8
C++
false
false
7,923
cpp
StreamMgr.cpp
#include "StreamMgr.h" #include <cassert> #include "SerialStream.h" #include "TestStream.h" #include "PluginStream.h" #include "NetStream.h" extern CPluginLoader g_PluginLoader; class AutoLock { public: std::mutex & m_Lock; AutoLock(std::mutex& lock) : m_Lock(lock) { m_Lock.lock(); } ~AutoLock() { m_Lock.unlo...
5f8171414dc6654c720d35ee91bb3a105810e035
5c09a68e01be442e7184e8a40b32305504ad3aae
/plugins/sample/sample-mutator-context/mutator-context.cpp
e5c0cf696b63ba8066cb36f086df9b9d70a979e9
[]
no_license
jakobluettgau/feign
8178ff99d7fb3da6abc97f5a9715ccffed9ae040
0c735283923253a6cb51a28fe4d3299cc2a2a86f
refs/heads/master
2016-09-10T14:59:51.370767
2015-03-06T12:18:01
2015-03-06T12:18:01
17,636,101
0
0
null
null
null
null
UTF-8
C++
false
false
1,375
cpp
mutator-context.cpp
#include <stdio.h> #include <list> #include <feign.h> // some data //////////// // Activity: { status , provider , offset , layer , size , data* , stats* } Activity a0 = { 0 , -1 , 1 , 5 , 0 , NULL , NULL }; // sample // provide some information about the plugin /////////////////////////...
751d13c80a0e2300604fc1263ee6d0589ac9d830
1e1b3f702bdf6c0544ae27a321c8ebe605434ee4
/Chapter6/Sample127/FindDlgDemo/FindDlgDemoDlg.h
8841e08f2b37c5b4253db6af315382fdf7b18eb5
[]
no_license
Aque1228556367/Visual_Cpp_By_Example
63e3d67e734b7d95385a329e4a1641e7b1727084
41f903d8c9938e7800d89fcff31b182bfc1c4f45
refs/heads/master
2021-03-12T20:36:56.780300
2015-05-08T02:05:46
2015-05-08T02:05:46
35,171,152
2
2
null
null
null
null
GB18030
C++
false
false
1,538
h
FindDlgDemoDlg.h
// FindDlgDemoDlg.h : header file // #if !defined(AFX_FINDDLGDEMODLG_H__DDC59574_D290_4471_BC7F_B7B2E44C86A2__INCLUDED_) #define AFX_FINDDLGDEMODLG_H__DDC59574_D290_4471_BC7F_B7B2E44C86A2__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 ///////////////////////////////////////////////////////////...
3cdb49fb36f3fb73065fe7cbbba8bf5bf7915f85
49056ae6d866d98f09cf50014cf2ae9533b469f4
/็จ‹ๅบ่ฎพ่ฎก/ๅบ”่ฏฅๆญฃ็กฎ็š„ (1).cpp
ed41674724312096bfa748e1bd0f61c5008cffbd
[]
no_license
Benjaminyuan/HUST-CS
50efdf32d957b6194fd91b056edd70840a28e2bf
469ffd0f2bc0c4ce32c30f5cfc0c85662b2265aa
refs/heads/master
2021-01-05T01:01:39.895010
2020-05-07T12:23:00
2020-05-07T12:23:00
240,821,436
2
0
null
2020-03-30T15:52:06
2020-02-16T02:50:51
C++
UTF-8
C++
false
false
48,248
cpp
ๅบ”่ฏฅๆญฃ็กฎ็š„ (1).cpp
๏ปฟ#pragma warning(disable:4996) #pragma warning(disable:6031) #include<stdio.h> #include<stdlib.h> #include<math.h> #include<time.h> #include<algorithm> using namespace std; #define TRUE 1 #define FALSE 0 #define OK 2 #define ERROR -1 int* value;//่ฎฐๅฝ•ๅ˜ๅ…ƒ็š„ๅ€ผ int* occurtimes;//่ฎฐๅฝ•ๅ˜ๅ…ƒๅ‡บ็Žฐๆฌกๆ•ฐ int* backtrack;//่ฎฐๅฝ•...
9b8336370533cd96ca83830917897b88305c5406
bd53700618de7140c4bd177fb3fb8019aa534dce
/Leetcode/Spiral_Matrix.cpp
634679224fec8d4034e529028ac56b758f1d138a
[]
no_license
duttaANI/AL_Lab
2b85f1ed38577d388ecbbdebef2168f486446981
d10d7316d3bad944a60644e4485d4699a19c9388
refs/heads/master
2022-09-24T18:22:16.545599
2022-09-18T17:15:46
2022-09-18T17:15:46
238,336,390
3
0
null
null
null
null
UTF-8
C++
false
false
981
cpp
Spiral_Matrix.cpp
class Solution { public: vector<int> spiralOrder(vector<vector<int>>& matrix) { vector<int> ans ; if(matrix.size()==0) return ans; int R = matrix.size(); int C = matrix[0].size(); vector<vector<int>> seen ( R , vector<int> (C)); int dr[4] =...
2470ed2110dce2fd2b66e83292832958f2513fc6
22729f0eb84230e5becbca11fb86707f61f81516
/unit-tests/algo/d2rgb/test-reproduction.cpp
2e758b4a5ee567b72a19a297fd462f0ebf3fb682
[ "GPL-1.0-or-later", "OFL-1.1", "GPL-2.0-only", "GPL-3.0-only", "BSL-1.0", "MIT", "Apache-2.0", "LGPL-2.1-only", "LicenseRef-scancode-public-domain", "Zlib", "BSD-2-Clause", "BSD-3-Clause", "BSD-1-Clause", "Unlicense" ]
permissive
lips-hci/ae400-realsense-sdk
742cc375d421ee41c04d1934b5bec23d607f39ed
2554f30bdcbf71b5b7279fef494176f3fbd6c6c7
refs/heads/master
2023-04-27T01:57:34.504808
2023-03-21T09:21:34
2023-04-13T06:11:17
227,797,796
9
4
Apache-2.0
2023-08-25T07:42:36
2019-12-13T08:59:00
C++
UTF-8
C++
false
false
11,557
cpp
test-reproduction.cpp
// License: Apache 2.0. See LICENSE file in root directory. // Copyright(c) 2020 Intel Corporation. All Rights Reserved. //#cmake:add-file ../../../src/algo/depth-to-rgb-calibration/*.cpp //#cmake:add-file ../../../src/algo/thermal-loop/*.cpp // We have our own main #define NO_CATCH_CONFIG_MAIN //#define CATCH_CONFIG...
b1309dc4718727f028758262ada40f97d5a5834c
88f3fe8a0fd64a36f4bba69aa8fd8e41a6feea64
/src/util/string/StrBuffer.h
b7ae13c0eff55cced0cfb2571d507655594a8cb0
[]
no_license
AltropInc/alt
0fa30bd2e5194d0b0e4832f8dce89177c4c00b62
831fc4e19d74364da03ba02cf9ac643afc0adaa3
refs/heads/master
2023-09-04T18:52:38.873358
2023-09-03T13:17:33
2023-09-03T13:17:33
249,748,618
0
0
null
null
null
null
UTF-8
C++
false
false
6,851
h
StrBuffer.h
#pragma once //************************************************************************** // Copyright (c) 2020-present, Altrop Software Inc. and Contributors. // SPDX-License-Identifier: BSL-1.0 //************************************************************************** /** * @file StrBuffer.h * @library alt_util...
4da9ac05aba09f16a9e59741bdc356d04667fbc6
8a10cd81b6ef28958011dfc364ea8695361e52ba
/lasersensorTest.ino
7987b9053528beac2d015c7d314a88c2d860da6b
[]
no_license
dowel-art/lasersensorTest
ebece20c5990238790f51c46a959a9e8970bccdc
0d1297f6ca7ce3a270afe28a1c45c3faf4d6a2e6
refs/heads/main
2023-02-07T01:39:49.405820
2020-12-31T13:38:45
2020-12-31T13:38:45
325,733,031
0
0
null
null
null
null
UTF-8
C++
false
false
920
ino
lasersensorTest.ino
/* Dowel ใƒฌใƒผใ‚ถใ‚ปใƒณใ‚ตใ€€ใƒ†ใ‚นใƒˆ็”จใƒ—ใƒญใ‚ฐใƒฉใƒ  20.12.31 Thu. */ #include "define.h" bool sensorState[NUM_SENSOR]; void setup() { pinMode(PIN_LASERSENSOR_U, INPUT_PULLUP); pinMode(PIN_LASERSENSOR_D, INPUT_PULLUP); pinMode(PIN_LED_G, OUTPUT); pinMode(PIN_LED_R, OUTPUT); Serial.begin(BAUDRATE); } //ใ‚ปใƒณใ‚ต...
f07d800df5600a153c1a28e9516c63f37c245e2f
a227997e9c9be4b0159edc6a1f06e63836a4a7f3
/dataconnector/src/distributed-data-connector/ddc/base/src/cache.cpp
e1c8089b7f46968fc9b3b3d146a2def80f732ece
[ "Apache-2.0" ]
permissive
vertica/r-dataconnector
893f8221bc04910aa3121dd518549e0996ef8491
ba110fdac21c3c43bab0eab03a6a35d4e709dc7f
refs/heads/master
2020-05-20T05:55:09.306043
2016-01-19T16:29:16
2016-01-19T16:29:16
40,138,460
7
2
null
2016-01-20T16:01:41
2015-08-03T17:28:48
C++
UTF-8
C++
false
false
1,116
cpp
cache.cpp
/* (c) Copyright 2015 Hewlett Packard Enterprise Development LP 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 app...
e88d002a6081c6b32564ea1d6192f2deb9655cac
7e61c3983acf94ee4e7716e80b361f6e9894f21f
/Laboratorium1/src/Rectangle.cpp
41cc7e814d58ac8f25b21084ff12f9f95e966320
[]
no_license
iKatha/Shapes
2d1d41a1937de66b6ee266e2af3b929a89648755
cd81912cc029a4e17ba72b203243df220a8d8b6b
refs/heads/master
2021-01-22T11:20:55.048870
2017-06-08T12:03:35
2017-06-08T12:03:35
92,684,193
0
0
null
null
null
null
UTF-8
C++
false
false
550
cpp
Rectangle.cpp
/* * Rectangle.cpp * * Created on: 12.05.2017 * Author: Kasia */ #include "Rectangle.h" #include <cmath> #include <stdlib.h> Rectangle::Rectangle(const double & width, const double & height):width(width),height(height) { } Rectangle::Rectangle(const double & width, const double & height,cons...
54c42d5b6c7f928f87269a1ca2b4d0f5f1bd4f6f
4861fb8b88a6535defbc69f65608463b3b732bdf
/amazonquestion to sort even digits at even.cpp
8a1c976b3822ad50b95745091d614692f896a9c5
[ "MIT" ]
permissive
harnoorsinghdev/Problems-to-ask
cb4fdbf96097d174ba3212468070424bb0a1de70
735cbe8781f1114d4ea891ea81152273f7ecc83f
refs/heads/master
2021-01-25T13:51:35.895733
2018-08-24T19:45:22
2018-08-24T19:45:22
123,624,387
0
0
null
null
null
null
UTF-8
C++
false
false
892
cpp
amazonquestion to sort even digits at even.cpp
ERROR: type should be string, got "https://practice.geeksforgeeks.org/problems/even-and-odd-elements-at-even-and-odd-positions/0\n\n#include <iostream>\n using namespace std;\n\nint main() {\n int t, n, a[8000], i, j, x, ele, b;\n cin >> t;\n for (x = 0; x < t; x++)\n {\n cin >> n;\n for (i = 0; i < n; i++)\n {\n cin >> a[i];\n }\n for (i = 0; i < n; i++)\n {\n b = i % 2;\n if (b == a[i] % 2) continue;\n j = i+1;\n for ( ;j < n; j++)\n {\n if (a[j] % 2 == b) break;\n }\n if (j == n) break;\n ele = a[j];\n for ( ;j > i; j--)\n {\n a[j] = a[j-1];\n }\n a[j] = ele;\n i++;\n }\n for (i = 0; i < n; i++)\n {\n cout << a[i] << \" \";\n }\n cout << endl;\n }\n\t//code\n\treturn 0;\n}\n"
e85dfa9cf7a7062fa1554a725162dea0236b90f1
67ac478ade23318ce9ad77281c4f5200a5aaed59
/riot_api/include/riot_api/serverBD.h
d2ea41c9fedaa10e4c8308f5784ed7493dd5bdf6
[]
no_license
oubenal/riot_api
e426ab7d7546b41bd23b38f71e6c63de3a3e2379
97529f61a86de08f14aeb849b145146c6658bf01
refs/heads/master
2021-01-01T18:59:26.554399
2017-11-27T17:34:17
2017-11-27T17:34:17
98,481,109
0
0
null
null
null
null
UTF-8
C++
false
false
3,394
h
serverBD.h
#pragma once #include <cppconn/connection.h> #include <cppconn/driver.h> #include <cppconn/resultset.h> #include "RiotObject.h" #include <cppconn/statement.h> #include <cppconn/prepared_statement.h> #include "LEA_Project.h" #define _HOST "localhost" #define _USER "root" #define _PASS "r4yzAnm5" #define _DB "riot_api" ...
a5f774fb86be8895b78b98bba0e532ab87683f06
7f67919b5f5e087e8a26eacd8d5d1c1f94224cc6
/src/backends/cl/ClBackendDefaultAllocator.hpp
300f56000064c57ff03ae0e5bbd4f6e7d6ae8c94
[ "BSD-3-Clause", "CC0-1.0", "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
ARM-software/armnn
11f0b169291ade6a08cbef1e87b32000aeed4767
49f609d9e633f52fcdc98e6e06178e618597e87d
refs/heads/branches/armnn_23_05
2023-09-04T07:02:43.218253
2023-05-15T10:24:43
2023-05-15T16:08:53
124,536,178
1,053
329
MIT
2023-05-22T23:28:55
2018-03-09T12:11:48
C++
UTF-8
C++
false
false
1,392
hpp
ClBackendDefaultAllocator.hpp
// // Copyright ยฉ 2021 Arm Ltd and Contributors. All rights reserved. // SPDX-License-Identifier: MIT // #pragma once #include <cstddef> #include <memory> #include <armnn/MemorySources.hpp> #include <armnn/utility/IgnoreUnused.hpp> namespace armnn { /** Default Memory Allocator class returned from IBackendInternal::Ge...
bb1e3fb5d98aef6f366655f802796a11c0ba3d9c
3f4f66560c936cf7c59139b48d183700cbbc6fce
/trunk/3dParty/QMapControl/tilemapadapter.h
700fd3f1b304cf5cd510b354206acbe6c658240b
[]
no_license
BackupTheBerlios/qtfarm-svn
15c62e68f45b8ca70ec0035994024c2e6be90906
99239c1ce4c81dafd60d17536b098255cee88a08
refs/heads/master
2020-04-04T01:06:50.021447
2008-06-21T13:20:47
2008-06-21T13:20:47
40,804,471
0
0
null
null
null
null
UTF-8
C++
false
false
2,970
h
tilemapadapter.h
/*************************************************************************** * Copyright (C) 2007 by Kai Winter * * kaiwinter@gmx.de * * * * This program is free software; you can redistribute it and/or modify * * it under the ter...
7613f940347c82231aaf78331c685b1c147c0f47
f800a2e27fe5684e0b38005c7be26d7f633da514
/agar.io/Field.hpp
6107708c70facbd4ded016f4fb4fd30d9e34a664
[ "MIT" ]
permissive
xiziyi/c-big_project
8ed56d774e1a1dfdb7d2ddc77b1d1a73991363e4
bcd1fd8016d79f669f07ecca42c8c4fab8d319e8
refs/heads/master
2021-01-19T16:26:36.839504
2017-06-21T17:03:17
2017-06-21T17:03:17
88,264,406
1
1
null
2017-06-20T13:02:07
2017-04-14T12:06:22
C++
WINDOWS-1251
C++
false
false
1,175
hpp
Field.hpp
#pragma once #include "declarations.hpp" #include <vector> #include <SFML\Graphics.hpp> #include "Unit.hpp" using namespace std; using namespace sf; class Field { private: Vector2<size_t> size; vector<Cell *> cells; vector<Fraction *> fractions; vector<Pellet *> pellets; vector<Virus *> viruses; public: voi...
bb6fa6ca282cafce7d8eaba93167b038ddc7cfb2
8f50c262f89d3dc4f15f2f67eb76e686b8f808f5
/Control/AthenaServices/src/AthIncFirerAlg.cxx
683394c6a8adfdc86c61cb6e2bf76edd09b0c519
[ "Apache-2.0" ]
permissive
strigazi/athena
2d099e6aab4a94ab8b636ae681736da4e13ac5c9
354f92551294f7be678aebcd7b9d67d2c4448176
refs/heads/master
2022-12-09T02:05:30.632208
2020-09-03T14:03:18
2020-09-03T14:03:18
292,587,480
0
1
null
null
null
null
UTF-8
C++
false
false
1,222
cxx
AthIncFirerAlg.cxx
/* Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration */ #include "AthIncFirerAlg.h" #include "GaudiKernel/IIncidentSvc.h" #include "GaudiKernel/Incident.h" #include "AthenaKernel/errorcheck.h" AthIncFirerAlg::AthIncFirerAlg( const std::string& name, ISvcLocator* pSvcLocator ):AthReentrantAlgori...
a6bf39933941075390a17516661aeeeb5675278c
5b885600120e8ea9ccf945f6465ce5928d7fa55f
/src/base/objs/UniversalGroundMap/unitTest.cpp
f02ca3b69f0595067b86894cdfe525d58d19a73b
[ "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-public-domain" ]
permissive
hassanjallow/isis3
b2f2156a104ded38f7b3867f18b35a759d8987db
712187cfbcdc6093b7b45b4ef0b4eb87dc09a7de
refs/heads/master
2021-05-27T16:44:07.006539
2010-03-19T16:47:37
2010-03-19T16:47:37
null
0
0
null
null
null
null
UTF-8
C++
false
false
6,181
cpp
unitTest.cpp
#include <iostream> #include <iomanip> #include "iException.h" #include "UniversalGroundMap.h" #include "Camera.h" #include "Pvl.h" #include "Preference.h" using namespace std; int main (int argc, char *argv[]) { Isis::Preference::Preferences(true); try{ cout << "UnitTest for Universal Ground Map" << endl; ...
a20b2fe24fabcb40dbc969eb8fad8f0c3f6218b9
978932fa84bf452ec2d1da5ec95008d650734c97
/SLCodingTest/GeeksforGeeks/Sen_StringArrayTop10.cpp
8be322a4e384c83bc716fc854015e97cd1ea7a61
[ "MIT" ]
permissive
SenonLi/CodingOlineJudge
d138891dab403a3fb5e5ba2a1b55c8c15fbd4ad7
b22b842cd51e0a8a9950a9b4d8b1e3c8ed3ac675
refs/heads/master
2021-01-12T17:06:01.592888
2018-12-23T04:59:14
2018-12-23T04:59:14
71,503,112
0
0
null
null
null
null
UTF-8
C++
false
false
2,241
cpp
Sen_StringArrayTop10.cpp
#include "Sen_StringArrayTop10.h" Sen_StringArrayTop10::Sen_StringArrayTop10() { } Sen_StringArrayTop10::~Sen_StringArrayTop10() { } void Sen_StringArrayTop10::reverseStringAlphabet(std::string &alphabetString) { int head = 0, tail = alphabetString.length() - 1; char temp; while (head < tail) { if (!isAlphabe...
bb78ee532884e62af4f91164d3cf727255823fe7
7c51106180099970efda4ac9bf2013150ca5e3fa
/src/main.cpp
bda1115512efd8b9dcd430bb45336b3b854c634d
[]
no_license
pielet/Hair-DER
096d52647396de9451f2cc97262a4e67e12f36ea
d0d36a236bc4807b48bca5097fd53c43db9df3fc
refs/heads/master
2020-07-03T09:13:03.671469
2020-06-28T06:14:29
2020-06-28T06:14:29
201,862,956
5
2
null
2019-08-25T01:58:22
2019-08-12T05:21:58
C++
UTF-8
C++
false
false
9,388
cpp
main.cpp
๏ปฟ// #define OUTPUT_PNG #include <iostream> #include <GL/glew.h> #include <GLFW/glfw3.h> #include <AntTweakBar.h> #include <png++/png.hpp> #include "Shader.h" #include "MathDefs.h" #include "Simulator.h" #include "Camera.h" // file path const std::string modelPath = "assets/sample-1.xml"; const std::string transPath...
41e3c0e0decb069c29b8d849b901a016bb482262
dce8e139b2a15b88e0663388809550d65ed24141
/triggers/time_v1/time_trigger.cpp
c8db0342a17e326e9dc9d42cce1006f067df872b
[]
no_license
alexdrozdov/asr-fsm-mental-fsm
fd87aea8f9debd33019532d3aa46339437f0181f
eccb10ac1722be5bebed5249c3ab08d2e85540b5
refs/heads/master
2021-01-02T08:33:11.160444
2014-09-02T08:40:21
2014-09-02T08:40:21
40,648,864
0
0
null
null
null
null
UTF-8
C++
false
false
16,756
cpp
time_trigger.cpp
/* * time_trigger.cpp * * Created on: 11.06.2011 * Author: drozdov */ #include <stdlib.h> #include <iostream> #include "base_trigger.h" #include "time_trigger.h" #include "mental_fsm.h" #include "xml_support.h" #include "trigger_tree.h" #include "mental_fsm_ext.h" using namespace std; CTimeTrigger::CT...
3736f9aaefceba564dce164768f3db71b107f20f
6feb8aa34251d97f458962eaab8e0506be1ba0b2
/mainwin.cpp
f128e61204ac92aa7c371ebb9e8f0b5fc665baf8
[]
no_license
Prabishan/Donut-Express
0268182775967a611dfadf05ed9a04b867e5172e
71bd5398d1cfce9b293a9882e91894172fdaac3c
refs/heads/master
2020-04-04T14:23:39.515074
2018-11-27T05:49:45
2018-11-27T05:49:45
155,997,643
0
0
null
null
null
null
UTF-8
C++
false
false
25,034
cpp
mainwin.cpp
#include "mainwin.h" #include "java.h" #include "donut.h" #include "customer.h" #include <ostream> #include <sstream> #include <fstream> #include <iostream> #include <regex> Mainwin::Mainwin() : _store{Store{"JADE"}} { // ///////////////// // G U I S E T U P // ///////////////// set_title("Java and...
fe62a188eaef70b2e212c6103f2c95af80e4eb85
57810a196e205b21f410b9bfcd574e0f964b2a8f
/GameCode/PlaneWar/NbPattern.cpp
39df55c8f20b328686d82cd881271cc5cb26c980
[]
no_license
lockezhan/PlaneWarGame
0a9a6d7ca7f309a4ae4e3bf38043284a6e3e82d4
bcfe06c97c127c6e733e1b2c3f74f8d1a94a4110
refs/heads/main
2023-03-15T19:20:26.424566
2020-11-14T08:17:25
2020-11-14T08:17:25
null
0
0
null
null
null
null
GB18030
C++
false
false
930
cpp
NbPattern.cpp
//CNbPattern.cpp : ๅฎž็Žฐๆ–‡ไปถ // #include "stdafx.h" #include "NbPattern.h" #include "resource.h" #include <mmsystem.h> //ๅ›พๅƒ้“พ่กจ CImageList CNbPattern::m_Image[3]; //ๆž„้€  CNbPattern::CNbPattern() { //้”ฎไฝ็ฝฎ m_ptPos.x = 3; m_ptPos.y = GAME_HEIGHT - NB_HEIGHT*2; } //ๆžๆž„ CNbPattern::~CNbPattern() { } //ๅŠ ่ฝฝๅ›พๅƒ BOOL CNbPattern::Lo...
2b28e6f367e85de56fe9aa3060e673502e51c8f7
79be97302e0d1195aaa01f52e5fa1da540ea112f
/core/lib/include/memoria/core/memory/smart_ptrs.hpp
5900c9ef11bd2e980d77082a2e23fc454b210f13
[ "Apache-2.0" ]
permissive
victor-smirnov/memoria
8df7430c89b83ff9c93706dcf6100b3830c5f83a
fd203b5b081849c1a1db2d7f26b75bfd1d760a18
refs/heads/master
2023-05-12T20:52:19.828284
2023-05-01T00:02:46
2023-05-01T00:02:46
245,055,297
11
2
null
null
null
null
UTF-8
C++
false
false
6,601
hpp
smart_ptrs.hpp
// Copyright 2018 Victor Smirnov // // 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...
8b7f9e85254ef5afabbb7179f1c4357dadc4fa38
6b87b7c63bd932627cee48ad52a9f040eb0a0074
/__EXPREP___loopfree.cpp
23897611bdef855d2d6f87fe77824a399f45e68d
[]
no_license
Ujjwal120/MyC-
40c5b05529766873f204e288fda69f578a71b258
72493b7ce6236065ccd75081899acc22f8d1337e
refs/heads/main
2023-06-08T04:57:42.172749
2021-07-02T12:23:13
2021-07-02T12:23:13
326,197,244
0
0
null
null
null
null
UTF-8
C++
false
false
13,114
cpp
__EXPREP___loopfree.cpp
// 1.15 sec sol #pragma GCC optimize("Ofast") #include "bits/stdc++.h" using namespace std; #ifndef LOCAL #define endl '\n' #endif #define fr(i, a, b) for(int i = a; i <= b; i++) #define rf(i, a, b) for(int i = a; i >= b; i--) #define pb push_back #define eb emplace_back #define fi first #define se second #define al...
1a42618a027ec411d97c8a04a3059e899317b44b
be0282afa8dd436619c71d6118c9db455eaf1a29
/Intermediate/Build/Win64/Design3D/Inc/UnrealEd/MaterialStatsOptions.generated.h
39db784ae98bd4d16f5da4772caf20f1b68dd7b9
[]
no_license
Quant2017/Design3D
0f915580b222af40ab911021cceef5c26375d7f9
94a22386be4aa37aa0f546354cc62958820a4bf6
refs/heads/master
2022-04-23T10:44:12.398772
2020-04-22T01:02:39
2020-04-22T01:02:39
262,966,755
1
0
null
2020-05-11T07:12:37
2020-05-11T07:12:36
null
UTF-8
C++
false
false
5,113
h
MaterialStatsOptions.generated.h
// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved. /*=========================================================================== Generated code exported from UnrealHeaderTool. DO NOT modify this manually! Edit the corresponding .h files instead! ==============================================================...
1bdd0693ddb496eea8519085ecbfe6a725933902
883409877f109af6cbfb254cd7a4e9f9dee9d2fe
/WeeklyCode/week8/Best Time to Buy and Sell Stock II/linjingjian.cpp
4998ba04a53edb0f75b4378ba45e1966aa771d1f
[]
no_license
coderfengyun/TCSE2012
f83b0256d7b1a7c8b906d6ca52c6b5cdfd6cd578
43aee67600f1a3c2f29922e827d05e6c6e8a9364
refs/heads/master
2021-01-22T20:34:40.911809
2014-09-30T03:09:34
2014-09-30T03:09:34
18,791,865
2
2
null
2014-05-13T09:27:44
2014-04-15T07:52:36
Java
UTF-8
C++
false
false
454
cpp
linjingjian.cpp
class Solution { public: int maxProfit(vector<int> &prices) { if(prices.size() == 0) return 0; prices.push_back(0); int first=0, ans=0, n=prices.size(); for(int i=1; i<n; i++) { if(prices[i] < prices[first]){ first = i; continue;} if(i!=n && prices[i]<...
3498ab79a7bcb1c8b0fd829f2b0e6965b9e917ef
46e1ec2efbe78bc84b36236bd77379a8d3449ffb
/observer.h
59e6042626be925646bfc272a6946cb2cd9e0fa3
[]
no_license
nt7nguye/biquadris
5e2e1f7468983a820e058af770ee9427ec9182a8
62f20f1a244e22db0d0f1255452d04a2cddd8761
refs/heads/master
2023-08-07T08:20:40.763015
2021-09-16T00:59:44
2021-09-16T00:59:44
406,970,184
0
0
null
null
null
null
UTF-8
C++
false
false
190
h
observer.h
#ifndef OBSERVER_H #define OBSERVER_H // Simple observer (as described in lecture) class Observer { public: virtual void notify() = 0; virtual ~Observer() = default; }; #endif
5c9ede9b518c337ffb95472ba7e69e808ec8e97e
38b9daafe39f937b39eefc30501939fd47f7e668
/tutorials/2WayCouplingOceanWave3D/EvalResults180628-fully/25.4/p
869e0eda6450e6baccdbde88569775cc8ec8099a
[]
no_license
rubynuaa/2-way-coupling
3a292840d9f56255f38c5e31c6b30fcb52d9e1cf
a820b57dd2cac1170b937f8411bc861392d8fbaa
refs/heads/master
2020-04-08T18:49:53.047796
2018-08-29T14:22:18
2018-08-29T14:22:18
null
0
0
null
null
null
null
UTF-8
C++
false
false
186,778
p
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 3.0.1 | ...
132f7c45bd3cd3b5fb1d0e8518c7186661be5ea4
1d04ac19a317a8efd5306a50ad7bdeb3882dcc52
/main.cpp
a8487b95c63403fdea94d81b885388635f3b2912
[ "MIT" ]
permissive
GaryChristiansen42/GoMonteCarlo
432d788427efe49670bf03567a552ec5d6efc615
9b7d9028accac2243d81d39c4b9d0e73e8b37876
refs/heads/master
2021-01-20T10:14:11.637308
2019-02-24T02:15:30
2019-02-24T02:15:30
15,364,245
0
0
null
null
null
null
UTF-8
C++
false
false
1,317
cpp
main.cpp
#include <assert.h> #include <time.h> #include <cstdlib> #include <cstdio> #include <string> #include "UCT.h" #include "Common.h" const std::string patternsFile3x3 = "patterns3x3.pat"; const std::string patternsFile5x5 = "patterns5x5.pat"; UCTNode *root; int main() { printf("Go MonteCarloAI\n"); int numSimula...
a024549ac1311ce4906938d4aa0774e0aa7fd359
8e5202116dda09b2b43b6a87ea61265ed78e9dcf
/rmf_traffic/include/rmf_traffic/schedule/Change.hpp
34d177c3da596d111995812c87c454b5f47ec516
[ "Apache-2.0" ]
permissive
CLOBOT-Co-Ltd/rmf_traffic
2391c465f9d20dbc646eb519a99df76fb5e81df0
f1432d8db96db9d69246e10f4c1fe3593f2ed069
refs/heads/main
2023-08-19T14:29:29.265096
2021-09-02T06:18:37
2021-09-02T06:18:37
404,172,946
2
0
Apache-2.0
2021-09-14T06:59:09
2021-09-08T01:29:17
null
UTF-8
C++
false
false
4,869
hpp
Change.hpp
/* * Copyright (C) 2020 Open Source Robotics Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
754f270a0a9740194f5b4b4e0259fb0cb9ab9833
c590f001d351f8668fefa2414f9de89c86bb3573
/rover_libs/Rover.cpp
9ed7e8180211e819db68d1e0ac5546f91225dbcf
[]
no_license
CarneyC/rover_project
986384a4b550b2e4e086607b570a8c238681843f
0b97fba9b6f9bc65189e025cf740c7f45cc1dd23
refs/heads/master
2020-03-17T03:37:32.972070
2018-05-16T02:13:12
2018-05-16T02:13:12
133,243,513
0
0
null
null
null
null
UTF-8
C++
false
false
2,101
cpp
Rover.cpp
/* Rover.cpp */ #include <Arduino.h> #include "Rover.h" #include "Motor.h" #include "Action.h" Rover::Rover(Motor *leftMotor, Motor *rightMotor, bool debug) { _leftMotor = leftMotor; _rightMotor = rightMotor; _debug = debug; } /* Directional Controls */ void Rover::forward() { setAction(Action::Forwa...
ff55f9b303ececf1c6cedc7468215d2f51b3fba6
edd275e1e970319e88b7b267ef9367202c3fe5c6
/11953-Battleships.cpp
bc73cee8aa412d41353551824c2277a78fd800d7
[]
no_license
israanagy/UVA-SOLUTIONS
19cee5d6bcfe782587de78b0829740e2230372d8
930339f525a69fa276ba7d03236a94e2e672a009
refs/heads/master
2020-03-14T01:29:16.014881
2016-02-03T18:09:20
2016-02-03T18:09:20
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,432
cpp
11953-Battleships.cpp
#include<iostream> #include<stdio.h> #include<string.h> #include<vector> #define SZ 101 using namespace std; vector<char>v; char grid[SZ][SZ]; int m,n,cnt; int x[]= {-1,0,0,1}; int y[]= {0,-1,1,0}; void dfs(int i,int j); int main() { int u,t,i,j,k,flag; char l; scanf("%d",&t); for(u=1;u<=t;u++) { ...
d64b5e5102a37d955d9f0d55e044be01102f32c1
2d9a39e04d03ffb8002d1c788c9e5726a90ea343
/src/property/editors/pixmapeditor.h
e1b0cce645eb1696adbee84c01ee9c11de3d4929
[]
no_license
Gris87/ObjectController
099d5c7598d4b96cf9950de6d60fd270354d4eef
02dd66a0d212f2203e3ffc3562ee712c293a7ab2
refs/heads/master
2021-01-17T17:04:36.070839
2013-04-19T11:55:14
2013-04-19T11:55:14
null
0
0
null
null
null
null
UTF-8
C++
false
false
833
h
pixmapeditor.h
#ifndef PIXMAPEDITOR_H #define PIXMAPEDITOR_H #include "customeditor.h" #include <QPixmap> namespace Ui { class DialogEditor; } class PixmapEditor : public CustomEditor { Q_OBJECT public: enum DataType { PIXMAP, IMAGE, BITMAP }; explicit PixmapEditor(QWidget *parent = 0...
707a18f5850d182a703f5661bc20c40e2169cf1a
661b53cf079a44e1b5e87ce55891f2c0f0847bbe
/RTLS190715/location.h
b43183a8223f041b5ece8199f96baf0e13ed98a6
[]
no_license
Wxin96/RTLS
b50cd26a2df5802a1b4f0dba5ceccc005f05cf8f
e98ad9d60faf2aab6ba0840b4a7acade90215161
refs/heads/master
2023-04-21T07:44:12.882934
2021-05-11T03:43:11
2021-05-11T03:43:11
335,216,033
2
0
null
null
null
null
UTF-8
C++
false
false
780
h
location.h
#ifndef LOCATION_H #define LOCATION_H #include <QWidget> #include <QTimer> #include <QCheckBox> #include "trilateration.h" class Location : public QWidget { Q_OBJECT public: explicit Location(QWidget *parent = nullptr); signals: public slots: void handleTimeout(); //่ถ…ๆ—ถๅค„็†ๅ‡ฝๆ•ฐ void QCheckBox_toggled()...
80fb37be5ae8174c86a8469e2fa6ab0605ca2104
7d5074e124e8144c57c136b1e1ad6ab94304017a
/src/graphic/mesh.hpp
b0510f165ca8a1d466136c2641b56f7df16473d4
[]
no_license
Thanduriel/wimp_s
3ced5abf3b989ce1752713a3d12107123a086a15
adb27d2777c6a98bd19370379ea9dc672613e7cc
refs/heads/master
2021-06-26T06:37:38.877709
2020-07-06T16:57:33
2020-07-06T16:57:33
90,191,659
1
0
null
null
null
null
UTF-8
C++
false
false
1,060
hpp
mesh.hpp
#pragma once #include <unordered_map> #include "core/texture.hpp" #include "core/vertexbuffer.hpp" #include "utils/meshloader.hpp" namespace Graphic { class RawMesh { public: RawMesh(const std::string& _pFile); struct Vertex { ei::Vec3 position; ei::Vec3 normal; ei::Vec2 textureCoords; }; void...
b6065b7d36fa17a57a3ee27a5cf744dd404de8b8
3e1100ed62af341f5fbc987f3a6133bf3cef23e3
/SPL-1/GroupMenu.cpp
660060312b91884a575e843c234ca1825b20b46c
[]
no_license
Muktar16/SPL1
2124c0715e0be82e868530e29d5c17eaff8b0f07
c6f253249f73466724d706e7e7bf5ffe5b30170a
refs/heads/master
2021-11-17T13:59:26.742382
2021-08-29T05:42:21
2021-08-29T05:42:21
239,709,600
3
0
null
2020-02-15T13:57:24
2020-02-11T08:14:46
C++
UTF-8
C++
false
false
5,676
cpp
GroupMenu.cpp
#include<conio.h> #include<stdio.h> #include<graphics.h> #include"header.h" void groupMenu() { //initilizing a window to get input data initGraph("Getting input for grouped data",0,0,-3,-3); char tempString[100]; moveto(0,0); newLine(); setcolor(LIGHTGREEN); outtext("Enter Nu...
4fb7a692fc4e323c91b12182bd1fbee0e190c2b6
1187264d0baba88299eb7bc27eca0ae0e931212c
/toolkit/crashreporter/google-breakpad/src/processor/testdata/linux_test_app.cc
5ca40819a69a2b9512e512d356d7edb66727b83a
[ "FSFUL", "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
c3358/gecko-dev-comments-removed
2d3be3e27948e3f3be85b85bfbae5f7cc374ab53
33a3f2865853f8e4fe6f11c0aa78380fc2f7f679
refs/heads/master
2023-04-14T05:00:35.369189
2019-07-27T14:34:45
2019-07-27T14:34:45
null
0
0
null
null
null
null
UTF-8
C++
false
false
867
cc
linux_test_app.cc
#include <stdio.h> #include <sys/types.h> #include <unistd.h> #include <string> #include "client/linux/handler/exception_handler.h" #include "third_party/lss/linux_syscall_support.h" namespace { static bool callback(const char *dump_path, const char *id, ...
34cadbdca8f17e5895b655e5444aa9bcf0dcb4d9
abd329d24761e93574e612955ecda71151a82aa8
/Post/Post/_Config.cpp
1a734b8da1c71878de00005a195d20d3f805c1ab
[ "MIT" ]
permissive
stackprobe/Post
0c9ba9aaa4252e3a4c476eb61befa52014b712e0
d3a9432f9570551ef233a24949e6db21f6308583
refs/heads/master
2021-07-15T11:46:40.055455
2021-05-07T17:45:28
2021-05-07T17:45:28
100,010,277
0
0
null
null
null
null
SHIFT_JIS
C++
false
false
2,184
cpp
_Config.cpp
#include "all.h" #define RTTE_LENMAX 1000 // ---- items ---- __int64 DiskFreeMin = 2000000000; int CopyBuffSize = 20000000; // ---- static int ConfLineNo; static char *ReadConfLine(FILE *fp) { for(; ; ) { char *line = readLine(fp); errorCase_m(!line, "read eof @ config-file"); ConfLineNo++; if(line[0...
d0a97bde8066b08b60dc1b928dd683e474010ec9
b9e81049058e1f8f0821521c1b2846d91257e235
/owl/graphics/image_temp.hpp
876a579d64d3bf80f89c816b0b1264817bf61c06
[ "MIT" ]
permissive
soerenkoenig/owl
3b984ffd3218097bbdb9c821433465618b4bf519
ab10054514a7a5b12a6b81665b3b264cfe37b0f3
refs/heads/master
2021-09-11T00:20:10.265063
2018-04-04T23:25:21
2018-04-04T23:25:21
106,728,239
0
0
null
null
null
null
UTF-8
C++
false
false
10,939
hpp
image_temp.hpp
// // .___. // {o,o} // ./)_) // owl --"-"--- // // Copyright ยฉ 2017 Sรถren Kรถnig. All rights reserved. // #pragma once #include <algorithm> #include <array> #include <cstdint> #include <fstream> #include <string> #include <vector> #include <exception> #include "owl/utils/file_utils....
bf2ea0a8ad50eed63720d6f1bd9457a081802b6f
0a97d34e8e0348ad54b69ecbaed381ef9ddd7592
/include/ffmpeg_image_transport/ffmpeg_publisher.h
8e8710718879279c5725602e5f6babcac65cf669
[ "Apache-2.0" ]
permissive
daniilidis-group/ffmpeg_image_transport
2f29d574e3b6777b19385b03973bfb240f207104
46bef773bb86149dc706cdb080755d534ef880f6
refs/heads/master
2023-03-13T03:12:30.810810
2023-02-21T00:13:05
2023-02-21T00:13:05
157,615,538
40
11
null
2022-05-10T11:47:54
2018-11-14T21:49:11
C++
UTF-8
C++
false
false
2,421
h
ffmpeg_publisher.h
/* -*-c++-*-------------------------------------------------------------------- * 2018 Bernd Pfrommer bernd.pfrommer@gmail.com */ #pragma once #include "ffmpeg_image_transport_msgs/FFMPEGPacket.h" #include "ffmpeg_image_transport/ffmpeg_encoder.h" #include "ffmpeg_image_transport/EncoderDynConfig.h" #include <imag...
ed5d8dbe6cd1f6d4b0a4013175d8c81fd2295a8b
8191b10c144b42ea0cd8f343d66e214e264b5c34
/manage/customer.cpp
1eaeeb1938895ea72ff6a4726da6a426ac63bf68
[]
no_license
niwa3/NewRM
87cf7ba8d3d46c020108aa7422376200352e64aa
29d152bb301714f1115d1492b8265905acde527c
refs/heads/master
2021-01-23T07:44:44.123428
2018-01-30T06:22:18
2018-01-30T06:37:53
86,441,620
0
0
null
2018-02-09T05:54:46
2017-03-28T09:33:57
JavaScript
UTF-8
C++
false
false
1,894
cpp
customer.cpp
#include "manage.h" //============CustomerManageFuncs============ CustomerManageFuncs::CustomerManageFuncs(std::string filename) { std::ifstream db_conf(filename.c_str(), std::ios::in); std::string reading_line_buffer; std::vector<std::string> conf; std::string dbname; std::string user; std::string passwo...
95a6d936805b02188018e60a57608c1a00b78803
4e50fdff0d24766bc2a01aa511e4734715ff5cf6
/Win32Project1/render/shaderscontainer.cpp
f4ab1a82c667e77a9b96ec57b2752c95fd69f01d
[]
no_license
GPUWorks/Tiny3D
e21465d3921fca8fc71bb48141bffdc573eb3ae6
72155449644b4046dbe09f18a9cd59f2953e0f57
refs/heads/master
2020-03-19T17:21:48.664089
2018-05-24T08:50:17
2018-05-24T08:51:06
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,665
cpp
shaderscontainer.cpp
#include "shaderscontainer.h" #define PHONG_VERT "shader/phong.vert" #define PHONG_FRAG "shader/phong.frag" #define PHONG_INS_VERT "shader/phong_ins.vert" #define PHONG_INS_FRAG "shader/phong_ins.frag" #define BONE_VERT "shader/bone.vert" #define BONE_FRAG "shader/bone.frag" #define PHONG_SHADOW_VERT "shader/phong_sha...
92435ee2ab7b77fb41379707d17ff8df59252bd6
c5cb9f46558c568420f3a8002b07ee82abe1d303
/c++/tuan 2/code/BAI01/cPhanSo.cpp
4e04e2a14f0a4bd5e7df926fb072814999658829
[]
no_license
phuocpro1969/C-Full
5336eede0a781b89c0f7451206a91c8d5f31c274
49e22400e157129cb04392f7cf3c9642f423f727
refs/heads/master
2020-05-23T14:27:14.979008
2019-05-15T20:18:17
2019-05-15T20:18:17
186,802,313
2
0
null
null
null
null
UTF-8
C++
false
false
1,643
cpp
cPhanSo.cpp
#include "cPhanSo.h" #include <iostream> #include <math.h> using namespace std; cPhanSo::cPhanSo() { settuso(0); setmauso(1); } cPhanSo::cPhanSo(int t, int m) { if (m != 0) { settuso(t); setmauso(m); } } int cPhanSo::gettuso() { return cPhanSo::ituso; } int cPhanSo::getmauso() { return cPhanSo::imauso;...
e1a8c463f7fb561909b3fe760e4756c522b0c713
4536012f9fb2791e33686836b08effe113323c26
/src/bad_apple.cpp
0dfc9eea5996e276254b2b3861bc0f589822c703
[]
no_license
w-dee/dotmatrix_64x48_fw_5.0
48c3ac8e5c8188118f83beee7ce5f65db1777e31
f2f23eaecdf1b2a31e4a070c63c9235e9d04573d
refs/heads/master
2021-12-16T11:22:49.606477
2021-12-14T07:57:27
2021-12-14T07:57:27
250,133,584
0
1
null
2021-06-14T12:36:54
2020-03-26T01:39:22
C++
UTF-8
C++
false
false
4,620
cpp
bad_apple.cpp
#include <Arduino.h> #include <stdlib.h> #include <esp_partition.h> #include <string.h> #include <esp_system.h> #include "frame_buffer.h" #include "ambient.h" static spi_flash_mmap_handle_t mmap_handle = 0; // mmap handle static uint32_t start_address_in_flash = 0; // data start address in flash static uint32_t mapped...
0037b281e866901ffdac604d22ed3e37ae61e7a8
ea4ef513acd742054bd5ed9a31442ef1b88784c7
/CCProtonPi0/NTupleAnalysis/makeClass/Truth/Truth_Branch.h
03e69d4f81fec16d9ad7c51d8fd2a6841dd47b14
[]
no_license
Rgalindo85/CCProtonPi0
c44866ac961011758682b505fa959dad3befebde
dd94f21925a48d73ec7fa02653e5df6e570d2165
refs/heads/master
2020-07-26T08:30:15.736316
2016-12-19T16:26:52
2016-12-19T16:26:52
73,726,869
0
0
null
null
null
null
UTF-8
C++
false
false
64,921
h
Truth_Branch.h
////////////////////////////////////////////////////////// // This class has been automatically generated on // Sat Feb 6 09:48:06 2016 by ROOT version 5.34/05 // from TChain Truth/ ////////////////////////////////////////////////////////// #ifndef Truth_Branch_h #define Truth_Branch_h #include <TROOT.h> #include <T...
e14f13edcfde39cc19684f298eb956697c2d63df
a3d6556180e74af7b555f8d47d3fea55b94bcbda
/services/device/serial/serial_device_enumerator.h
a659f8eddce95d40f1eb2a6562328cba7834bd06
[ "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
2,030
h
serial_device_enumerator.h
// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef SERVICES_DEVICE_SERIAL_SERIAL_DEVICE_ENUMERATOR_H_ #define SERVICES_DEVICE_SERIAL_SERIAL_DEVICE_ENUMERATOR_H_ #include <map> #include <memory> #include <vector> #incl...
bbbd54dc27d1f40583e9856fcef4bf150c3da0b1
817dc9bebf0d278fcf474f31a77cb23ada61056c
/QL/CommonClass/ClassDB/DBStyle_FileInfo_V.cpp
7476942431237ade885454a4ffc7e7be852d66b3
[]
no_license
dudugi/NewForTortoise
6f7d82cea00b49af3c38f1e332937ce3edf894b4
685ba32e8d7ee16c22f115b681a21f3d4e3fddf8
refs/heads/master
2022-02-08T11:56:42.102049
2022-01-25T07:02:47
2022-01-25T07:02:47
196,016,007
2
0
null
null
null
null
UTF-8
C++
false
false
3,916
cpp
DBStyle_FileInfo_V.cpp
#include "StdAfx.h" #include "DBKeyDef.h" #include "DBStyle_FileInfo_V.h" #include "DBKeyDef_V.h" IMPLEMENT_SERIAL(CDBStyle_FileInfo_VData, CDataMid, 1) CDBStyle_FileInfo_VData::CDBStyle_FileInfo_VData(void) { ResetData(); } CDBStyle_FileInfo_VData::~CDBStyle_FileInfo_VData(void) { } void CDBStyle_FileInfo_VDa...
5adb4535e3a567f70df91a4ab902ffb558f58770
02b69d6b238fbff43eebfcc3c1af9936fa234659
/SRC/NAS/EMM/Attach.cpp
0d9814895e14caa3501e87e7967eb8e8bda21f2f
[ "Apache-2.0", "BSD-3-Clause", "BSD-2-Clause-Views", "BSD-2-Clause" ]
permissive
RECONet/RECO
3c90c0ebbbf821fdf141d7b5b34e52f584daa1e6
7cee52bdb50a6fee99734ad88ae42b65c75b2000
refs/heads/master
2021-06-24T08:21:46.919032
2018-06-09T16:48:12
2018-06-09T16:48:12
133,645,814
12
2
null
null
null
null
UTF-8
C++
false
false
79,301
cpp
Attach.cpp
/* * Licensed to the OpenAirInterface (OAI) Software Alliance under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The OpenAirInterface Software Alliance licenses this file to You under * the Apache Licens...
0438b779646ae441a003bc3aa3bcee5bdd17e1c8
04ed6f13412ffb92d495ce80d4f45a2eb763656c
/GraphLib/Include/Iterators/TCDFSIterator.hpp
8e364541dbb4ce2686ef1929a8b67b4abb6216cb
[]
no_license
Konstilio/GraphLibrary
c63525cbafdb983b5f188117e05181b79456e871
65609a2e20e99d80782353cbeea8e4201df11aa4
refs/heads/master
2021-01-10T16:47:29.698993
2020-12-06T04:00:13
2020-12-06T04:00:13
54,824,664
0
0
null
null
null
null
UTF-8
C++
false
false
1,315
hpp
TCDFSIterator.hpp
// // Header.h // GraphLibrary // // Created by Aleksander Konstantinov on 3/26/16. // Copyright ยฉ 2016 Aleksander Konstantinov. All rights reserved. // #ifndef CDFSIterator_hpp #define CDFSIterator_hpp #include "TCDFSIterator.h" #include "TCVertexIterator.h" template<class Graph> TCDFSIterator<Graph>::TCDFSItera...
b1f31e6c245e8703bbc6c5068f12fd0df72d2021
73e3fac48969080c40492440760cf069ddc4688f
/Practice Files/squareofnnumbers.cpp
b27d8af16a18116e20a01dc1120fb6fe90c8c24f
[]
no_license
m-samik/c_programs
05fb06b823f8c9652d45c8bfcce6d3e64537f401
474a568cc4866cf7078ec3b2b57999873245a6f7
refs/heads/main
2023-02-10T08:05:09.077717
2021-01-10T10:59:07
2021-01-10T10:59:07
318,461,947
0
0
null
null
null
null
UTF-8
C++
false
false
226
cpp
squareofnnumbers.cpp
#include <stdio.h> int num,i,p=1; int main() { printf("Enter Number : "); scanf("%d",&num); for (i=1 ; i<=10 ; i++) { p=p*num; printf("%d ki power %d = %d\n",num,i,p); } return 0; }
736a804320d3bd07de4bb20806871f824a6144cd
d47079ccd87c8d12589926b1f6833781ffc829ba
/arduino_serial_communication_send_receive/arduino_serial_communication_send_receive.ino
2697769500d07dd86bb8354bbc0c82db48234fa0
[]
no_license
DavideFarina96/MIS_Project
0c4533b21aa37ab7a14dd335c42ca79a60438946
84e8e78d64d70fb6b9df2de8246696ccd528ed3c
refs/heads/master
2022-04-06T16:31:44.205355
2020-02-10T13:48:03
2020-02-10T13:48:03
null
0
0
null
null
null
null
UTF-8
C++
false
false
8,347
ino
arduino_serial_communication_send_receive.ino
/** * * This sketch reads multiple analog and digital sensors as well as the IMU, and sends the values on the serial port. * This sketch also receives meessages from the serial port in the format [string,number], and then * associates to this messages a certain behavior (e.g, triggering a vibration motor pattern) * *...
bb87772a2678685562fb5e2e68f50e752774efe2
b72f635071934c4d0b4f026092d52413b7436e31
/widget.h
f0b601991d0ff80d970da7785dc30d268735f631
[]
no_license
DatabasesWorks/Book-Store-Report
d4cd1c5362a6a50578e0aac206b51191aec78d2d
e2b6a75a29711311834cf3451829fe73ff515ea4
refs/heads/master
2020-11-28T12:12:37.764939
2018-03-25T09:08:54
2018-03-25T09:08:54
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,126
h
widget.h
#ifndef WIDGET_H #define WIDGET_H #include <QWidget> #include <QSqlDatabase> #include <QTableWidget> #include <QLabel> #include <QPushButton> class MainMenu; class Widget : public QWidget { Q_OBJECT public: Widget(QWidget *par = nullptr); ~Widget(); void booksShow(); void ordersShow(); void...
bfff954485e4d13238defc20cb0af5f03eb01ffe
010df4bf55cead8a0dfff23cf5adcf49578b26c1
/DEMO/Success standalone surgeon Exp 7b master slave DEMO 25 Mar 16/Success standalone surgeon demo Jan 20 T1/Exchange.cpp
f1a47fa2ee029797b0d3c1548acafca754bede82
[]
no_license
snake2510/First-demo
cdc27594dbb1916eeec9cadc728bad1edb6d6dbf
98ff2b0d9461604a1f5dfeca9872d79a3503a04d
refs/heads/master
2021-01-19T05:25:52.725996
2016-08-01T16:49:08
2016-08-01T16:49:08
64,684,364
0
0
null
null
null
null
UTF-8
C++
false
false
2,858
cpp
Exchange.cpp
// modified to get pos and vel #include "Exchange.h" void Exchange::Move(String^ message) { Xs = message; Ys = message; } double Exchange::Max1s() { //Maxon one linear motion double scale1 = 0.01*29.3; // scaling factor for velocity (60.0*1000.0*y)/(R*1); R = 2048.0; double xCopy; Monitor::Enter(this); st...
44071c27180cf2f190656ad368bac481aff71c45
6530dc1b27c3f8729f92ae039b4fe832f1e15627
/src/game_objects/Snake.cpp
6cd94a5e7942418423d72fe0c42d7dc4385e1e7e
[]
no_license
artn-dev/SnakeGame
6cc3d8354d1b111f1f63092788c465ba9e7c7002
555fd372816ee1077f1d955b64b9f91b75e9c9d3
refs/heads/main
2023-06-17T06:54:23.592912
2021-07-15T13:55:03
2021-07-15T13:55:03
348,891,913
0
0
null
2021-07-15T13:55:04
2021-03-18T00:30:59
C
UTF-8
C++
false
false
1,750
cpp
Snake.cpp
#include "Snake.h" #include <iostream> glm::vec4 Snake::SEGMENT_COLORS[4] = { { 51.0f / 255.0f, 102.0f / 255.0f, 0.0f / 255.0f, 1.0f }, { 64.0f / 255.0f, 128.0f / 255.0f, 0.0f / 255.0f, 1.0f }, { 102.0f / 255.0f, 204.0f / 255.0f, 0.0f / 255.0f, 1.0f }, { 128.0f / 255.0f, 255.0f / 25...
8836b0a742ae29e7c0433707ceaea1d53786f6e7
d3efa74ebc0cbd403044f07736fda83b6d2f1c48
/720/InsertSort/InsertSort.cpp
0f3958ac336856f76620f85c17d66545535fadff
[]
no_license
zhuweigit/Report
98f18294a14938a12ced8d9bec0383c5093b71b9
3004547e784f41dccdb78847954e12611b54212a
refs/heads/master
2022-11-26T17:52:53.790362
2020-08-07T01:51:48
2020-08-07T01:51:48
284,693,942
0
0
null
null
null
null
GB18030
C++
false
false
1,056
cpp
InsertSort.cpp
#include<iostream> using namespace std; #define MAXSIZE 10 #define ENDLESS 121221221 //ๅ†’ๆณกๆŽ’ๅบๆณ• struct SqList //้กบๅบๅญ˜ๅ‚จ่กจ { int ans[MAXSIZE]; //ๅญ˜ๅ‚จ็ป“ๆžœ int Length; //ๅฎž้™…้•ฟๅบฆ SqList() { Length = MAXSIZE; }; }; void Swap(SqList* L, int i, int j) { int temp = L->ans[i]; L->ans[i] = L->ans[j]; L->ans[j] = t...
b35d01b8319445ff7ea983dd2981a995d1579b12
ddc64df81fde5e1014a8efb72a25218c527cb7b5
/ldr/ldr.ino
16847a4b789b8ad3cd32c88fde8a8b1386fafb6f
[]
no_license
fhmunna/rEPaRDUINO
f2d034bfb15817c121caa674e33410c28a8070cb
4d8d2b0cd32a4531c77bd693d26bde13967d1e87
refs/heads/master
2021-09-01T19:32:47.380086
2017-12-28T12:59:02
2017-12-28T12:59:02
98,703,214
0
1
null
null
null
null
UTF-8
C++
false
false
594
ino
ldr.ino
int inputPin = 0; //Pin for Photo resistor int outputPin=11; //Pin for LED int outputPin1=10; void setup() { Serial.begin(9600); //Begin serial communcation pinMode( outputPin, OUTPUT ); } void loop() { Serial.println(analogRead(inputPin)); int reading = analogRead(inputPin); if(reading > 90) { //Valu...
da4fa2fe32e59f6edff8684beb1205df475bf8aa
bd699773381e6ef33be7ca3f149e8a9eb9aecc5d
/include/Serializer.hpp
d2ef474688ec6ca0606901ea5e9e28c7a2383d7b
[]
no_license
kenpusney/ropto
037defbdbce2c85fcb50b280f3bc9344f0446734
8022e43129757af366585fe7941312c2164bfd06
refs/heads/master
2021-01-10T08:18:19.916502
2016-03-16T02:51:35
2016-03-16T02:51:35
45,727,153
1
0
null
null
null
null
UTF-8
C++
false
false
1,452
hpp
Serializer.hpp
#ifndef ropto_Serializer_hpp #define ropto_Serializer_hpp #include "ByteStream.hpp" #include <type_traits> namespace ropto { struct dummy_t {}; template<class T, bool pod = std::is_pod<T>::value, bool integral = std::is_integral<T>::value, bool floating = std...
bf61c116e4b6e26e3115185e76d859007976089a
f6c6f045cda60a91b86bcf60f4ba6478ed95573e
/Graph Algorithms/Cycle Finding.cpp
9022f932f02de275db4cd6a545586804054f8bf3
[]
no_license
JitenWhatever/CSES-Problem-Set
d029d06c0433cbb3bc99b0293e55e4c9b5d553af
09166d2c1f48d28ced71de8d5fa028a7f5007ab6
refs/heads/master
2023-08-29T22:16:18.147687
2021-10-30T10:49:27
2021-10-30T10:49:27
281,456,432
0
0
null
null
null
null
UTF-8
C++
false
false
2,531
cpp
Cycle Finding.cpp
/* Time limit: 1.00 s Memory limit: 512 MB You are given a directed graph, and your task is to find out if it contains a negative cycle, and also give an example of such a cycle. Input The first input line has two integers n and m: the number of nodes and edges. The nodes are numbered 1,2,โ€ฆ,n. After this, th...
0c5e8ba1c9cca72e47d59947f77f236c5a4ec853
995bb403417f0db5d238307cf5e9720216768126
/Include/TileLayer.h
03a2c5b79a34049f5772a2715cf04d18fd8767dd
[ "MIT" ]
permissive
TylerSandman/marvin
5d7a6fac73a7135430fd9fd6a0ed120d9d1c348b
ef422fcc2bcecf91e4c0a52c6e19673fe688baf1
refs/heads/master
2020-05-18T19:35:27.607374
2014-07-05T02:44:05
2014-07-05T02:44:05
19,409,480
1
0
null
null
null
null
UTF-8
C++
false
false
309
h
TileLayer.h
#pragma once #include <SFML/Graphics.hpp> #include <vector> #include <string> #include "Tile.h" namespace tiled{ struct TileLayer{ public: tiled::TileGrid tiles; std::string name; bool visible; double opacity; }; typedef std::vector<TileLayer> TileLayers; }
57771cfb53286c49231438fbab13e52ac174f768
5d3d47380c7a6e2e4b56ff1f73700b55fd74750e
/src/Sand.hpp
2085cf73ac19ed683b4cfedc454ca19b4118b226
[]
no_license
CreativeCodingASB/u1-project-1-Nathansbud
c056c1e65e29c8fb8d1f32cd6d1d657902c34ef9
bdcc3476613e3d61be0d0012ac2ecaa6dbbc6e21
refs/heads/master
2021-01-11T14:17:30.939977
2017-03-02T18:47:20
2017-03-02T18:47:20
81,309,345
0
0
null
null
null
null
UTF-8
C++
false
false
486
hpp
Sand.hpp
// // Sand.hpp // U1-Project-1-Nathansbud // // Created by Zack Amiton on 2/15/17. // // #ifndef Sand_hpp #define Sand_hpp #include <stdio.h> #include "ofMain.h" class Sand { public: Sand(ofVec2f mousePos); ~Sand(); void Draw(); void Update(); void Move(); void SetPos(ofVec2f sandPos); void SetColor...
84e701b0bd7bfb61e5fcb7a66577063258573c72
724cb73a1a93b9a4b78ac8ff0fc249854e8154ae
/421/solution.cpp
e0c0e6f4d0cdad7782ae677adb87654ea0493e6c
[]
no_license
nikitaunity/project_euler
9d68cd83fb160e259be4893719c018ca65cbf291
9ef1279abb670bbba4fbc5438801b008ac788af0
refs/heads/main
2023-02-18T14:45:01.087050
2021-01-23T22:34:14
2021-01-23T22:34:14
325,356,193
0
0
null
null
null
null
UTF-8
C++
false
false
5,680
cpp
solution.cpp
#include <iostream> #include <vector> #include <cstdlib> #include <chrono> uint64_t calculatePowerByModulo(uint64_t base, uint64_t power, const uint64_t& modulo) { uint64_t exponent = 1; while (power) { if (power & 1) { exponent *= base; exponent %...
8328e312ed86704f1f31de02007cd03370ca7fae
e7e6ae3522ed9455e1bf540f8ab544d1d1b6c45e
/searching-sorting/116-productArrayPuzzle.cpp
dc2b39b966408df9d01a39506a7264213ba184dd
[]
no_license
pathadeTush/Problems-450
ce90610f9771bc19856f03b7306d1be624f6674f
e1059f529e01f3e64b602d1c8510e35fd46a8641
refs/heads/master
2023-08-16T07:20:25.525033
2021-10-22T17:41:37
2021-10-22T17:41:37
420,187,799
1
0
null
null
null
null
UTF-8
C++
false
false
2,363
cpp
116-productArrayPuzzle.cpp
/* Product array puzzle Easy Accuracy: 47.32% Submissions: 36809 Points: 2 Given an array nums[] of size n, construct a Product Array P (of same size n) such that P[i] is equal to the product of all the elements of nums except nums[i]. Example 1: Input: n = 5 nums[] = {10, 3, 5, 6, 2} Output: 180 600 360 300 90...