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
69cdbf0a5f082bfbe0479c442a4fd5bc7bfe6402
b965c0a0f0a3b2471d58c144bbff61eab9a01b6e
/NeuralLayerConv.h
5174f5d727ecb171f03e355c9c4b093e8c34045f
[]
no_license
Ionsto/Hunt
dac8d26ec0b35216a8dd6d514ae8dbc9a7d3527a
24eb51fe1831648960d55ddde8790cd234fa8ee8
refs/heads/master
2021-01-24T20:40:13.106894
2018-03-06T21:24:41
2018-03-06T21:24:41
123,254,869
1
0
null
null
null
null
UTF-8
C++
false
false
308
h
NeuralLayerConv.h
#pragma once #include "NeuralLayer.h" class NeuralLayerConv : public NeuralLayer { public: int ConvSize; int OutputSize; NeuralLayerConv(); NeuralLayerConv(int inputsize,int convsize, int nodecount); NeuralLayerConv(NeuralLayerConv const& layer); int GetOutputSize(); void Update(float * input); };
06e9bd174bb73ac83a3e594326a1545671e5b5d0
05d0cdf14776f0ba714996d86ef92e4fef50516a
/libs/directag/pwiz-src/pwiz/data/msdata/Diff.cpp
0e397656860c9c269fd7d2bbc4d03c3d8f748285
[ "MIT", "Apache-2.0" ]
permissive
buotex/BICEPS
5a10396374da2e70e262c9304cf9710a147da484
10ed3938af8b05e372758ebe01dcb012a671a16a
refs/heads/master
2020-05-30T20:20:55.378536
2014-01-06T21:31:56
2014-01-06T21:31:56
1,382,740
2
2
null
null
null
null
UTF-8
C++
false
false
28,723
cpp
Diff.cpp
// // Diff.cpp // // // Original author: Darren Kessner <Darren.Kessner@cshs.org> // // Copyright 2007 Spielberg Family Center for Applied Proteomics // Cedars-Sinai Medical Center, Los Angeles, California 90048 // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file excep...
5ba4efb54603497e57e1399682ebf33cd8cdd619
7d860affdeb45465951f1bca5b36bf8993248e79
/Code/IosGameClient/Classes/UIFile/FamilyMenu.h
b3cb146582875444b513812f49c06aa46dc1a7aa
[]
no_license
Zyl85385215/Resources
88251abaaa44300c0ca0830d52e62cd13e7a4c5f
1e2468d03deb7b46b892a870e89c3b4a5ca25aae
refs/heads/master
2021-02-27T02:13:28.203996
2020-04-10T17:08:34
2020-04-10T17:08:34
245,569,447
0
0
null
null
null
null
UTF-8
C++
false
false
1,562
h
FamilyMenu.h
#pragma once #include "CtrlObj.h" class FamilyInfoMenu: public TabMenuObj{ public: FamilyInfoMenu(); ~FamilyInfoMenu(); void Update(); bool m_bUpdate; void Open(int nT);; }; class FamilyMemberMenu: public TabMenuObj{ public: FamilyMemberMenu(); ~FamilyMemberMenu(); void Update(); bool m_bUpdate; int m_...
be43acd2475eca7f4d0686b4d8af37f6641db443
c7272e93df5e9f68c36385308da28a944e300d9d
/19. Remove Nth Node From End of List.h
9c35d0d2f89f59e8d40b022a10443dd0c38d5c83
[ "MIT" ]
permissive
Mids/LeetCode
368a941770bc7cb96a85a7b523d77446717a1f31
589b9e40acfde6e2dde37916fc1c69a3ac481070
refs/heads/master
2023-08-13T13:39:11.476092
2021-09-26T09:29:18
2021-09-26T09:29:18
326,600,963
1
0
null
null
null
null
UTF-8
C++
false
false
832
h
19. Remove Nth Node From End of List.h
// // Created by jin on 2/8/2021. // #ifndef LEETCODE_19_REMOVE_NTH_NODE_FROM_END_OF_LIST_H #define LEETCODE_19_REMOVE_NTH_NODE_FROM_END_OF_LIST_H using namespace std; struct ListNode { int val; ListNode *next; ListNode() : val(0), next(nullptr) {} ListNode(int x) : val(x), next(nullptr) {} ListNode(int x, L...
ba931433e3fcee43b11926ac1948f052f2f7b4c9
65e3391b6afbef10ec9429ca4b43a26b5cf480af
/TRD/TRDbase/AliTRDtransform.h
18f3b625b8ad0e33de9a45ad365670e4a21d9bb8
[]
permissive
alisw/AliRoot
c0976f7105ae1e3d107dfe93578f819473b2b83f
d3f86386afbaac9f8b8658da6710eed2bdee977f
refs/heads/master
2023-08-03T11:15:54.211198
2023-07-28T12:39:57
2023-07-28T12:39:57
53,312,169
61
299
BSD-3-Clause
2023-07-28T13:19:50
2016-03-07T09:20:12
C++
UTF-8
C++
false
false
2,799
h
AliTRDtransform.h
#ifndef ALITRDTRANSFORM_H #define ALITRDTRANSFORM_H /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * See cxx source for full Copyright notice */ /* $Id$ */ //////////////////////////////////////////////////////////////////////////// // ...
e924577586d8df58e1ed4a0e3245216c3050b79a
db57b19e70315c4adb79020c64a1c9d2b4e3cc94
/Game/shield.cpp
4d1a0704ea80b7c7e9caef459bd574d643d12595
[]
no_license
rock3125/gforce-x
da9d5d75769780939314bf03ac008f9d7362e675
3a349ea799dfe1f24fb04bb14b643175730c2d95
refs/heads/master
2021-12-25T06:27:14.101284
2017-02-20T09:32:44
2017-02-20T09:32:44
null
0
0
null
null
null
null
UTF-8
C++
false
false
868
cpp
shield.cpp
////////////////////////////////////////////////////////////////////// /// GRAVITY FORCE X /// /// (c)Copyright Peter de Vocht, 2006 /// /// I'm releasing this code under GPL v2.1 (see included file lgpl.txt) /// ////////////////////////////////////////////////////////////////////// #include "standardFirst.h"...
6aad6bb866b586258f4e76f54ea6dac84e02eb3f
532e269c32afbd85f0b13dfccd017bb822da5a65
/TP/taskplanning_V1/src/main.cpp
b6c5605bac7328a1024a8d49889b3fa9807b4f29
[]
no_license
CVYang/UESTC_AA_MBZIRC205
2dd009be10b0920e6280073bb6736871688f094f
c0204cfe7d9a001de0eb4f627a27c4e6a2168b29
refs/heads/master
2020-07-19T00:07:29.139762
2019-09-04T14:41:09
2019-09-04T14:41:09
206,339,667
1
0
null
null
null
null
UTF-8
C++
false
false
13,880
cpp
main.cpp
#include <opencv2/opencv.hpp> #include <opencv2/features2d/features2d.hpp> #include <opencv2/core.hpp> #include <opencv2/highgui.hpp> #include <opencv2/imgproc/imgproc.hpp> #include <stdio.h> #include <stdlib.h> #include <string> #include <string.h> #include <iostream> #include <vector> #include <time.h> #include ...
c5454f12b542667e9b60f400ffe2653320af5100
40d77d696707499a4195497447f4c96ae46467af
/src/test1.cpp
262c0d2cfc273c835a1aeb6dad35ac3bb4d9c38b
[]
no_license
aoyan27/pcl_tutorial
6068130afe6e9f69f02ab32b4597db8c4eba2d12
3719a15bfe1b6ec0992fab7d09f709efe53cd973
refs/heads/master
2021-09-08T01:22:53.282843
2018-03-05T03:56:17
2018-03-05T03:56:17
99,441,796
0
0
null
null
null
null
UTF-8
C++
false
false
598
cpp
test1.cpp
// ROS headers #include <ros/ros.h> #include <pcl_ros/point_cloud.h> #include <tf/transform_listener.h> #include <tf_conversions/tf_eigen.h> #include <eigen_conversions/eigen_msg.h> // PCL TRUNK headers #include <pcl/pcl_config.h> #include <pcl/common/common.h> #include <pcl/console/time.h> #include <pcl/common/tran...
d9ad9cae9cca4740943b2daa461845fd5b68883e
aba8b646c24dd6f49a83b334d8800e3442bd49d1
/omp/09D-OddLove/09D-OddLove-bt-TLE.cpp
8014959a72956d7cead9403c43c1378664cfc987
[]
no_license
marcos-dv/competitive-programming
89c1af786c1bf2f3e5a402d0d68e5a3d965f9053
3709975aab501d6a0b78e8f44229730df67716fd
refs/heads/master
2022-06-12T06:38:47.384667
2020-05-04T16:50:41
2020-05-04T16:50:41
261,242,535
0
0
null
null
null
null
UTF-8
C++
false
false
2,935
cpp
09D-OddLove-bt-TLE.cpp
#include <bits/stdc++.h> using namespace std; //Backtracking (TLE) int w, h; bool ** par; int * paresfila; int * pri; int * se; int pares; //Quedan k pares, estamos en fila f, columna c inline int bt(int k, int f, int c, int mov) { if (k == 0) { return mov; } if (paresfila[f] == 0) { return bt(k,f+1,c,++mov)...
425f371a24e16e2e6bbe3551b6a7fe7cf074ce60
f46faed2f30a13773c41b007cc13aecd1b200d35
/hector_software_monitor/include/hector_software_monitor/analyzers/simple_analyzer.h
0723c833806fc4a4c84950dd0879e840466bb989
[]
permissive
tu-darmstadt-ros-pkg/hector_diagnostics
53fa2066181495614e0f744f860a3c3497b83c61
2b4d44186379b8a455da97624458ef3c23976a90
refs/heads/master
2023-06-13T07:40:53.760644
2023-06-05T12:49:22
2023-06-05T12:49:22
24,555,244
1
0
BSD-3-Clause
2023-04-20T11:43:12
2014-09-28T09:01:34
Python
UTF-8
C++
false
false
2,929
h
simple_analyzer.h
#pragma once #include <ros/ros.h> #include <diagnostic_msgs/DiagnosticStatus.h> #include <diagnostic_aggregator/analyzer.h> namespace hector_software_monitor { /*! * @brief The SimpleAnalyzer class is a simple diagnostic analyzer that can be used as a blueprint for other * analyzers * * SimpleAnalyzer provides ...
f39fb69934585b7aca692222d34dd2d755ff80f9
f6cee5921b9b1870574f794824a17dc8938b87c5
/solutions/C++/926.将字符串翻转到单调递增.cpp
afb070537132b6b511751412f415f8a9bb7e5b65
[]
no_license
DreamInvoker/leetcode
20e00f94614749b1ecc1fdc298dba31de45dd8d7
b98a01a7a6dd5002785471585352b3ea6ee1e5de
refs/heads/master
2023-03-08T12:01:40.832303
2021-02-26T08:47:40
2021-02-26T08:47:40
248,532,813
1
0
null
null
null
null
UTF-8
C++
false
false
1,959
cpp
926.将字符串翻转到单调递增.cpp
/* * @lc app=leetcode.cn id=926 lang=cpp * * [926] 将字符串翻转到单调递增 * * 使用前缀和的方法。 * * 假设我们有5个字符,先不用care这5个字符是什么,那么翻转之后的最终结果要在以下字符串中选一个翻转次数最小的。 * “00000”, “00001”, “00011”, “00111”, “01111”, “11111” * 因此我们可以把这个问题转化成为[分割问题],即划分位置左边全为0,右边全为1, * 对于一个有N个字符的字符串来说,一共有(N+1)个划分位置,假设为5, 字符串为:101010,划分位置(以‘.’表示)可能为:.1.0.1....
acc88dcbbbb221b87b851176102565af27b6de5f
d8536fc3d415cd7862981a5035ece6362d0887d5
/LuaClass/MyBolt/DataClass.h
3caca4999a4796c202033ac793fcf1520e884df8
[]
no_license
nifei/samples
74b69341596cf1a15917604cdb8ae92658b3b80b
b5d080c079ccf625cb67f70e1647dfe36531e784
refs/heads/master
2016-08-07T06:36:03.404445
2013-11-05T10:39:02
2013-11-05T10:39:02
12,396,820
2
0
null
null
null
null
GB18030
C++
false
false
984
h
DataClass.h
#ifndef _DATA_CLASS_H_ #define _DATA_CLASS_H_ #include <string> class Base { public: virtual void Click() { ::MessageBoxA(0, "基类Base::Click()的实现被调用", "警告", 0); } virtual ~Base(){} }; class Derived1 : public Base { public: virtual void Click() { ::MessageBoxA(0, "子类Derived1对基类方法Click()的实...
10d3d31ac4dd0a8858b047a3e44006023f9cc0ad
07e6fc323f657d1fbfc24f861a278ab57338b80a
/cpp/sketches_SDL/Molecular/test_FARFF.cpp
f93c42945398fa53b22f3a7c85ec133a77a389e9
[ "MIT" ]
permissive
ProkopHapala/SimpleSimulationEngine
99cf2532501698ee8a03b2e40d1e4bedd9a12609
47543f24f106419697e82771289172d7773c7810
refs/heads/master
2022-09-05T01:02:42.820199
2022-08-28T10:22:41
2022-08-28T10:22:41
40,007,027
35
4
null
null
null
null
UTF-8
C++
false
false
10,065
cpp
test_FARFF.cpp
#include <stdlib.h> #include <stdio.h> #include <string.h> #include <vector> #include <math.h> #include <SDL2/SDL.h> #include <SDL2/SDL_opengl.h> #include "Draw.h" #include "Draw3D.h" #include "Solids.h" #include "fastmath.h" #include "Vec3.h" #include "Mat3.h" #include "VecN.h" #include "AppSDL2OGL_3D.h" #include ...
42eae01e54646ee1246e3eb8051051878853c058
5595314298a89422483706e23f86e4a6c4480325
/OBDIIWebPageDevices.h
8d2f7c8eff27b27867b4ec76d69d6982e6d711d5
[ "MIT" ]
permissive
AnjinMeili/ESP32-OBDII
a802c9954644b0a8b518c5e351919d7dff6b5d3f
7119314e5f603f85b96317c7664e9da8cf7fe84c
refs/heads/master
2023-03-17T09:13:20.056159
2020-03-08T01:15:06
2020-03-08T01:15:06
null
0
0
null
null
null
null
UTF-8
C++
false
false
155
h
OBDIIWebPageDevices.h
#include <Arduino.h> // Forward Declarations class BTClassicDeviceLinkedList; String* OBDIIWebPageDevicesString(BTClassicDeviceLinkedList *device_list);
b8a0e37e4066bc8d93c89ad0d2109b3815a43077
7477d3f7cceb5ec5b22ef55e897a8aefd0e98386
/src/map.cpp
02d083cc2e00aacb0676e41341721a818aa3eb72
[ "MIT" ]
permissive
marchelzo/tower-defense
2fe389e07282b3b069ac5f8c1bdf0009b99caebb
01ebf7da9c5b7c10dcb3afde3ba1b610fba3da7b
refs/heads/master
2020-04-06T04:52:31.314791
2015-01-09T01:16:41
2015-01-09T01:16:41
28,580,347
1
0
null
null
null
null
UTF-8
C++
false
false
9,647
cpp
map.cpp
#include <vector> #include <fstream> #include <cstdio> #include <memory> #include <algorithm> #include "map.hpp" #include "tile.hpp" #include "sprite.hpp" #include "textures.hpp" #include "enemy.hpp" #include "player.hpp" #include "game.hpp" static bool sprites_loaded; /* sprites that we will use */ static std::uniq...
1f758ec13b113d03cf937d4d509155654ef2452c
ef0724e75f18e51327a0e19cc6718aa184077ca7
/VASTTesting/AverageSpeed.h
069dc373d52b367531a207199648bd4e5eb7b1fa
[]
no_license
SwiftSniper123/VAST-Test-Bed
20dc9db5304e3ff1af3c6e09f6d7b361c3cc568a
6ccca92dbb7fb77d87bff9a5cb4579b706d09120
refs/heads/master
2020-04-22T13:34:27.239527
2019-05-13T00:11:17
2019-05-13T00:11:17
170,413,732
4
2
null
2019-05-13T00:11:18
2019-02-13T00:37:32
C++
UTF-8
C++
false
false
515
h
AverageSpeed.h
#pragma once #include "ScenarioMetric.h" /* calculates the average speed of the chosen vehicle */ class AverageSpeed : public ScenarioMetric { public: //default constructor AverageSpeed() : ScenarioMetric() {}; AverageSpeed(string name, dataMap metricData) : ScenarioMetric(name, metricData) { }; void calculate()...
3e43877d0acf6f53006f6905da9ac9b1c54ca09a
196f4b54a03d431186058a0cbf3816f26dbb985f
/msjbcordero3-tenor.inc
30bd32fc3be24f20bcd259e07a4b638dcb25cc12
[]
no_license
cjsjb/corderodediosgflores
43d7cef4c41eb04ee889288e58366d748127a011
7f63b1c373eca3a145ca4eaf262f52c69f84866d
refs/heads/master
2022-11-04T13:01:08.808100
2022-10-14T02:15:35
2022-10-14T02:15:35
145,914,122
0
0
null
null
null
null
UTF-8
C++
false
false
1,692
inc
msjbcordero3-tenor.inc
\context Staff = "tenor" \with { \consists Ambitus_engraver } << \set Staff.instrumentName = "Tenor" \set Staff.shortInstrumentName = "T." \set Score.skipBars = ##t \set Staff.printKeyCancellation = ##f \new Voice \global \new Voice \globalTempo \context Voice = "voz-tenor" { \override Voice.TextScript #'padd...
b5d057427af4e2d9d6bdfb548bb7c9da2d281773
352983bdd561c1578ec96abaaa791c39fbf6b3d5
/HttpClient.cpp
d2052dacf731ad81e160aeb5e95c3009f415e22a
[]
no_license
jiafenggit/HttpClient
56b6253b18aa662803bfa32eb48e1f42bfd2de5b
7063a60772ed271e5b8a4ac41aebdc4906827c86
refs/heads/master
2020-04-29T07:17:48.667124
2018-12-26T01:52:42
2018-12-26T01:52:42
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,794
cpp
HttpClient.cpp
#include "HttpClient.h" #include <iostream> using namespace std; HttpClient::HttpClient(const std::string & host, int port) :TcpClient(host, port), mHttpParser(HTTP_RESPONSE) { mConstHeaders["Accept"] = " */*"; mConstHeaders["Accept-Language"] = " zh-cn"; mConstHeaders["Host:"] = mHost; } HttpClient::...
19444db448814a6492c7343d661c6228597ee000
1085b5158035f5e32701a788b2727a17f95fd8b7
/driver.h
1549ebeeb38ce3dd81af022db3365239b7a61d56
[]
no_license
SatwaniGovind/CPP-First-Project
cbdcd4e7758031f244332759a3f3c1f8d3931cf0
baad78c3589fe740e902c8ebe6199c825015fa96
refs/heads/main
2023-04-25T19:10:04.182595
2021-05-27T07:45:46
2021-05-27T07:45:46
371,288,132
0
0
null
null
null
null
UTF-8
C++
false
false
350
h
driver.h
class student { protected: char name[20]; int usn=0; public: void getdetail(void) { cout<<"\n\nEnter name :- "; cin>>name; cout<<"\nEnter usn :- "; cin>>usn; } void dispdetail(void) { cout<<"\n\nNAME :- "<<name; cout<<"\nUSN ...
ef07927b3c85304d9e99183c70c8564c68caf65f
050c8a810d34fe125aecae582f9adfd0625356c6
/B. Arpa and a list of numbers/main.cpp
3473235f3dc8fe0c65300c76560fa5e5f8619251
[]
no_license
georgerapeanu/c-sources
adff7a268121ae8c314e846726267109ba1c62e6
af95d3ce726325dcd18b3d94fe99969006b8e138
refs/heads/master
2022-12-24T22:57:39.526205
2022-12-21T16:05:01
2022-12-21T16:05:01
144,864,608
11
0
null
null
null
null
UTF-8
C++
false
false
933
cpp
main.cpp
#include <iostream> using namespace std; long long sum[2000005]; int cnt[2000005]; int N,a,x,y; long long cost; int main() { cin.sync_with_stdio(false); cout.sync_with_stdio(false); cin>>N>>x>>y; for(int i=1;i<=N;i++) { cin>>a; sum[a]+=a; cnt[a]++; } for(int i=1;i<=20...
3c7b36d4685c7eb2490e5d3999dd8a69c307cbbe
523a47422b873e90f536034f22853a6380849e50
/include/graph_generator.h
f5150d7f410be12a4f9cee8e6a4e4d804243688b
[]
no_license
FrankieBetanco/trust_graphs
1e3592b63381ad05a829a1eb2e887550004bd9d0
b6252b292e75b5c45cd0307ea827d06bcf68f934
refs/heads/master
2020-09-15T15:57:31.106212
2019-12-02T18:13:45
2019-12-02T18:13:45
223,496,095
0
0
null
null
null
null
UTF-8
C++
false
false
1,524
h
graph_generator.h
#include <vector> #include <string> #include <utility> #include <limits> class user { public: std::vector <std::string> attributes; int predecessor; double distance; int discovery_time; int finishing_time; int discovered; int node_num; int printed; user() { predecessor = -1; distance...
d84e34092d5224254c4cb53faa02b50eba545253
57cd401937e6e6fe2b6d37d9a5fa6ce9c3bc2d03
/Controller/Door.cpp
451be92b77ad7c681931a9587da2db9a81aeceb2
[]
no_license
Sauloferraz/The-Rising-of-the-Guitar-Hero
da15339eb42b67a2e40ed93921e39ba8d6230226
869d3bccf44a48f109358a87648969489ff87b39
refs/heads/master
2020-06-23T05:17:44.771563
2019-09-19T23:00:21
2019-09-19T23:00:21
198,527,020
0
0
null
null
null
null
UTF-8
C++
false
false
367
cpp
Door.cpp
#include "Door.h" #include "MainGame.h" Door::Door(float x, float y, float sizeX, float sizeY) { bbox = new Rect(-sizeX / 2, -sizeY / 2, sizeX / 2, sizeY / 2); type = DOOR; MoveTo(x, y); } Door::~Door() { delete bbox; } void Door::Update() { WorldMoving(); } void Door::Draw() {} void Door::WorldMoving() { Tr...
b9d8ef1cdf729fa120bc872e67e24c93985227b0
c67a90d8aba17b6740da7b0112c06eb73e359300
/src/dioptre/graphics/opengl/triangle_geometry.cpp
dff96b7254b2e12881c4ad9659bbedcbb1aa90d8
[ "MIT" ]
permissive
tobscher/rts
ec717c536f0ae2fcec7a962e7f8e63088863a42d
7f30faf6a13d309e4db828be8be3c05d28c05364
refs/heads/master
2016-09-06T17:16:37.615725
2015-10-03T11:25:35
2015-10-03T11:25:35
32,095,728
2
0
null
null
null
null
UTF-8
C++
false
false
1,330
cpp
triangle_geometry.cpp
#include "dioptre/graphics/opengl/triangle_geometry.h" #include "dioptre/graphics/opengl.h" namespace dioptre { namespace graphics { namespace opengl { TriangleGeometry::TriangleGeometry(glm::vec3 a, glm::vec3 b, glm::vec3 c) : dioptre::graphics::TriangleGeometry(a, b, c) { } void TriangleGeometry::initialize() { ...
b7714b806e6b039df121584007a40fc4cdf29092
98491270427ab146d8055c63389d2d14c5a7c1b9
/baanLib/IRegelaarInstellingenDialoog.h
fb4f9b1593a0e922a46c6fb444b717dd03a487a9
[]
no_license
Zoev89/baan
5a417463d318404ad7d9f98e30c95539eecb30fe
0410aaac2d3d4b139100d78579d1c7d8a4ea446c
refs/heads/master
2021-06-14T19:29:13.398485
2021-02-27T16:16:59
2021-02-27T16:16:59
52,728,071
0
0
null
null
null
null
UTF-8
C++
false
false
3,644
h
IRegelaarInstellingenDialoog.h
#ifndef IREGELAARINSTELLINGENDIALOG_H #define IREGELAARINSTELLINGENDIALOG_H #include <string> class IRegelaarInstellingenDialoog { public: virtual bool RunDialogOk() = 0; // returns true when ok is pressed virtual void SetLaatsteWagonCheck(bool laatsteWagon) = 0; virtual bool GetLaatsteWagonCheck() = 0;...
dc03a5d6e08dd6ad5bd1b645eb6348dfc7746920
9858d41a366733cbe3047c122e1a71635f71bf99
/temp_final.cpp
96a6028203d7d5ae5eb1a3157cbf2d12e1f15b34
[]
no_license
InabaTang/MECQ
780350632169fdb4eba2bb593123b0efc52d8b5c
44a461e9efdd65b1f7e4a6a0873df5db7c11775d
refs/heads/main
2023-09-02T15:58:12.554149
2021-10-28T12:43:07
2021-10-28T12:43:07
370,550,140
0
0
null
null
null
null
UTF-8
C++
false
false
11,074
cpp
temp_final.cpp
#pragma GCC optimize(2) /*#include<map> #include<unordered_map> #include<set> #include<unordered_set> #include<cmath> #include<queue> #include<cstdio> #include<vector> #include<climits> #include<cstring> #include<cstdlib> #include<iostream> #include<algorithm> #include<ctime> #include <sys/io.h> #includ...
02320a1bfabfa996f4ae7ce64ca3ccace0b45efa
3b1d5f51e52a510210bf23505f16c282c70e0973
/src/hal/STM32F1/adc/adc.cpp
7bb206148a020b7d7cdd8b8fa0fe65c2d015a8f9
[ "MIT" ]
permissive
ghsecuritylab/omef
44abbbe83cd538f132f7ac4f414dd5ee0b6576a8
a6b2dec8d57545c3804174883e582080ef6f3af9
refs/heads/master
2021-02-28T18:22:16.331910
2020-02-23T18:41:52
2020-02-23T18:41:52
245,722,107
0
0
MIT
2020-03-07T23:39:51
2020-03-07T23:39:50
null
UTF-8
C++
false
false
6,676
cpp
adc.cpp
#include <string.h> #include <stdlib.h> #include "common/assert.h" #include "adc.hpp" #include "rcc/rcc.hpp" #include "CMSIS/Device/STM32F1xx/Include/stm32f1xx.h" using namespace hal; #define MAX_TIM_RESOL 0xFFFF #define V_REF (float)3.3 static TIM_TypeDef *const tim_list[adc::ADC_TIM_END] = { #if defined(STM32F100...
ce33b4ae4951d24a3aaf1fcc9834e04c4cf71c0f
799ba0cfcba13627c064ad2cccbb11c6a438737b
/include/RED4ext/GameEngine.hpp
2d2dadd2117a9deb9a9f87095b5cbbca998c7ecb
[ "MIT" ]
permissive
MasterScott/RED4ext.SDK
4a7a35c1dccd9ba223656a6a185726b59d448566
220844583ff7276f9720c76b3e1ef3d1ba27484e
refs/heads/master
2023-02-17T07:08:28.741334
2021-01-14T23:19:23
2021-01-14T23:19:23
329,925,466
0
0
MIT
2021-01-15T13:52:45
2021-01-15T13:52:33
null
UTF-8
C++
false
false
2,553
hpp
GameEngine.hpp
#pragma once #include <cstdint> #include <RED4ext/Common.hpp> #include <RED4ext/ISerializable.hpp> #include <RED4ext/RTTITypes.hpp> namespace RED4ext { struct CBaseEngine { // https://github.com/yamashi/RED4ext/commit/2d30f32826276458f86da8b4c26940924044564d struct UnkC0 { uint8_t pad0[0x140]; ...
eafd8ed66293f3313c7dd29a7cadd6aecef6ae3f
8805b9905278805b5b00b36f8e4a71bf39dae41e
/com/leet_cpp/SumOfTwoInteger.cpp
693dc2de05393176c696b78517acb45ab721f857
[]
no_license
mengarena/Leetcode
96a935a10bcb289cde4c2a52e2490794a62ff553
76acc557df0032f0932c14d7b6ea0e90d116a0dc
refs/heads/master
2021-04-19T01:12:22.746949
2021-01-13T08:59:24
2021-01-13T08:59:24
53,725,914
0
0
null
null
null
null
UTF-8
C++
false
false
548
cpp
SumOfTwoInteger.cpp
/* 371. Sum of Two Integers Calculate the sum of two integers a and b, but you are not allowed to use the operator + and -. Example: Given a = 1 and b = 2, return 3. Hulu Easy */ class Solution { public: int getSum(int a, int b) { if (a == 0) return b; if (b == 0) return a; ...
62c38bd666fb4b0327c3911071f4703e0766f8cd
b7d8944c616bbd91a02af649f914ef7754e881ad
/C++/program_kasir_sederhana.cpp
cf382f0bcd77f635d1c7f402363bd52b3329db2d
[]
no_license
kodepi77/Program-Sederhana
7c49d33ea6cc613145ab75e277d0e2d394e01518
bb2233b879394910705778c607aa998dd12315cf
refs/heads/main
2023-04-27T20:30:06.995962
2021-05-06T06:23:55
2021-05-06T06:23:55
363,349,173
0
0
null
null
null
null
UTF-8
C++
false
false
601
cpp
program_kasir_sederhana.cpp
#include <iostream> using namespace std; int main() { int total, bayar, kembalian; cout << "-- Kasir Sederhana --\n"; cout << "Masukan Jumlah yang Dipesan\n"; int bakso; cout << "Bakso Rp 10.000 : "; cin >> bakso; total += bakso * 10000; int mie; cout << "Mie Pangsit Rp 8.000 : "; cin >> mie; total += m...
22ea37aa508dc4cbaa0f7b542f7395101d64a9e2
a5a88fbe4698223dc8bcc1d097599c4297ea0240
/inter/Break.hpp
d3d874ac8de1cdaaa346a2706fe2f8188e2142c6
[]
no_license
josephabero/Compiler_From_Scratch
db08bdbbe40eb8cf43c1718a8fb56431c9bfb79b
b0196947b91e57c8e4d807953c38d8735d23999f
refs/heads/master
2020-07-19T14:49:33.854809
2019-10-31T05:10:32
2019-10-31T05:10:32
206,467,302
0
0
null
null
null
null
UTF-8
C++
false
false
255
hpp
Break.hpp
#pragma once #include "Stmt.hpp" class Break : public Stmt { public: Break() { // if(Stmt.Enclosing == Stmt.Null) error("unenclosed break;") // stmt = Stmt.Enclosing } std::string getNodeStr() { return "BREAK"; } Stmt stmt; };
38ae80e4ef854b64fb24656323e92f914896b0ab
a912b2ae2bf049d5d4862530286859cfb3d29f6f
/C++/Button.cpp
cac13c5ec82e206f55672190c9a2454b3986c042
[]
no_license
RafailAndreou/MyPrograms
3db9fe222fe55168739936ff788a1aeffe2dae13
d1aa4fdc650fbe83799f03092034a2ae84d0ffdf
refs/heads/master
2020-04-20T17:19:05.554531
2019-03-14T20:13:12
2019-03-14T20:13:12
168,985,467
0
0
null
null
null
null
UTF-8
C++
false
false
1,245
cpp
Button.cpp
#include "pch.h" #include<iostream> #include "SDL.h" #include "SDL_image.h" SDL_Window * window = nullptr; const int Window_Width = 500; const int Window_Height = 300; void Init() { window = SDL_CreateWindow("SDL", SDL_WINDOWPOS_CENTERED, SDL_WINDOWPOS_CENTERED, Window_Width, Window_Height, SDL_WINDOW_RESIZABLE); ...
fda23f5e8a51848c78a867030aece39920a6a715
1d098ea7c675584627abcf8bb4b8bbf1c10bf56b
/src/integrators/IntegratorFactory.hpp
59b7158be024edb2de20ea7dcc2d843161e68698
[ "BSD-3-Clause" ]
permissive
OpenMD/OpenMD
74fe0e285ab8ec62e71ce17721e222bb3e17467a
7e4ee80742745329c48449dd509e36dc731c51ba
refs/heads/master
2023-08-30T17:28:06.743925
2023-08-18T18:11:38
2023-08-18T18:11:38
32,750,591
73
45
NOASSERTION
2023-01-27T19:38:18
2015-03-23T18:22:26
C++
UTF-8
C++
false
false
5,125
hpp
IntegratorFactory.hpp
/* * Copyright (c) 2004-present, The University of Notre Dame. All rights * reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, ...
59ec0c2efe783b2b663627de407b3a3817dc4af4
708f517eff55a4a36a3d81fc44a60dc927d3830a
/Debug.h
210dc5cc6ff3028d5fa5b59c1f10375c09e05992
[]
no_license
linxuan2/sheepshead-scores
77b27cb197b2a0340e18c32b6d4d9ced48538ca4
59e62e3a5eb7c9875289bf799957ef7e4b865d5f
refs/heads/master
2021-01-18T19:10:08.065726
2014-03-10T02:55:53
2014-03-10T02:55:53
null
0
0
null
null
null
null
UTF-8
C++
false
false
410
h
Debug.h
#pragma once #include <vector> #include <string> class Debug { private: Debug() = default; Debug(const Debug& rhs) = delete; ~Debug() = default; Debug& operator=(const Debug& rhs) = default; public: static Debug& GetInstance(); void Write(const std::string& message); bool HasMessages() const; const std::ve...
6d8a94aaee42fd0a9c613d844b5761114972e21f
703d8c2b75622b37f5b7342fe710a890bdb04f2f
/27A Next Test.cpp
fb57d72c85394bab955d3735ad3101aa0f60fdb5
[]
no_license
vicky1966/competitive-coding
5b1a2e5e2c673af9a9b25ed46f300e5c3b2b000a
9942fb9d5afeee81e63e33eadc96efdf6427a415
refs/heads/master
2021-01-19T08:46:17.956935
2017-02-16T17:07:53
2017-02-16T17:07:53
68,066,066
0
0
null
null
null
null
UTF-8
C++
false
false
447
cpp
27A Next Test.cpp
#include<iostream> #include<algorithm> using namespace std; int main() { int n; cin>>n; int arr[n]; for(int i=0; i<n; i++) cin>>arr[i]; sort(arr,arr+n); //cout<<arr[0]; for(int i=0;i<n;i++) { if(arr[0]!=1) { cout<<1; return 0; } else if(i!=0) { if(arr[i]==arr[i-1] || arr[i]==arr[i-1]+1) ...
0ce19a5d236b74141f5245f4155934544e9e5aff
4d839f73c42ac060733c7ef44c7e6951ef8a14bf
/Source/Main/FolderWindowDrop.h
dc2b01de04001740d2a8bb66e16ec1edf8ac9bb2
[]
no_license
ZacWalk/ImageWalker
8252aa6d39bde8d04bb00560082f296619168e98
5b7a61a4961054c4a61f9e04e10dc18161b608f4
refs/heads/master
2021-01-21T21:42:37.209350
2018-06-05T15:59:24
2018-06-05T15:59:24
3,126,103
4
1
null
null
null
null
UTF-8
C++
false
false
8,606
h
FolderWindowDrop.h
#pragma once template<typename TWindow> class CFolderWindowDropAdapter : public CComCoClass<CFolderWindowDropAdapter<TWindow> >, public CComObjectRootEx<CComSingleThreadModel>, public IDropTarget, public IDropSource { public: TWindow *_pWindow; bool m_bDragStarted; // has drag really started ...
b098fd1f2c98f7003f7184bee50c06486b49b002
52c61d1f48f48e55414d5e832fb0ab8427bbf492
/source/binding_GLUT.cpp
6afb0cf47648a8ac0c7144f1a96fb893beab551b
[]
no_license
thenumbernine/wii-sdl-luajit
269ad9585cf7056b8b078700da0dafd93628ad7a
5c60fefececdbbaee55cd5dcf10a782a85450b28
refs/heads/master
2022-11-09T20:26:39.200374
2022-10-27T05:19:09
2022-10-27T05:19:09
32,558,137
6
2
null
null
null
null
UTF-8
C++
false
false
6,890
cpp
binding_GLUT.cpp
#include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <string.h> #include <malloc.h> #include <math.h> #include <gccore.h> #include <string.h> #include <GL/glut.h> #include "lua_util.h" BINDFUNC(void, glutInit, int *, char **) BINDFUNC(void, glutInitDisplayMode, unsigned int) //BINDFUNC(...
511c262720c736fda7cc59c089d9c0bbe431e051
bdda1522d39d04917f39818a82717c3dfec5b8e9
/src/Subsystems/Drive.cpp
71a71b72592046d0e4eccfdc6ba22990065fd86c
[]
no_license
pentomid/RobertQ4
a43edab2906ca8caa8148725a9a25e6fb0f5438a
c6d965f9a7d05e89fc9809c42517a54c8372d2d4
refs/heads/master
2016-09-05T20:11:51.325515
2015-05-16T21:55:59
2015-05-16T21:55:59
34,585,500
0
0
null
null
null
null
UTF-8
C++
false
false
1,189
cpp
Drive.cpp
#include "Drive.h" #include "../RobotMap.h" Drive::Drive() : Subsystem("Drive"), left(new Talon(MOTOR_LEFT)), right(new Talon(MOTOR_RIGHT)) { } float Drive::max(float x,float y) //determines which value is larger { return (x > y ? x : y); } void Drive::arcadeDrive(float move, float rotate) { float leftMotor...
c54eb50d43bde12eba923e7af45ccbaeca2c9c38
2b0b07242be5ea756aba992e171b43fbee9bfada
/BOJ/13560/13560.cpp
8b1be2f399db46ba78629ad5fe112f19f38c91cb
[]
no_license
newdaytrue/PS
28f138a5e8fd4024836ea7c2b6ce59bea91dbad7
afffef30fcb59f6abfee2d5b8f00a304e8d80c91
refs/heads/master
2020-03-22T13:01:46.555651
2018-02-13T18:25:34
2018-02-13T18:25:34
140,078,090
1
0
null
2018-07-07T11:21:44
2018-07-07T11:21:44
null
UTF-8
C++
false
false
820
cpp
13560.cpp
#include <bits/stdc++.h> using namespace std; int n; int w[10000]; int l[10000]; int t[10000]; bool possi(int sum){ if(sum*2!=n*(n-1)) return false; for(int i=n-1;i>=0;i--){ memset(t,0,sizeof(t)); for(int j=n-1;j>0;j--){ int k=min(l[j],w[i]); l[j]-=k; ...
f11d4a757be2eb589feb514a25cdd79b5ce1f979
b7d4fc29e02e1379b0d44a756b4697dc19f8a792
/src/crowdin_gui.h
15f98e579ec9a4818c9a48eaa552aad443f2b23e
[ "GPL-1.0-or-later", "MIT" ]
permissive
vslavik/poedit
45140ca86a853db58ddcbe65ab588da3873c4431
1b0940b026b429a10f310d98eeeaadfab271d556
refs/heads/master
2023-08-29T06:24:16.088676
2023-08-14T15:48:18
2023-08-14T15:48:18
477,156
1,424
275
MIT
2023-09-01T16:57:47
2010-01-18T08:23:13
C++
UTF-8
C++
false
false
4,058
h
crowdin_gui.h
/* * This file is part of Poedit (https://poedit.net) * * Copyright (C) 2015-2023 Vaclav Slavik * * 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 wi...
efd477e4409dbbf37992e6b248fc35735c5dd373
7e6afb4986a53c420d40a2039240f8c5ed3f9549
/libs/maps/include/mrpt/maps/CLogOddsGridMapLUT.h
241669ad69e5310fbab439fbe85e8336f9e6cd9d
[ "BSD-3-Clause" ]
permissive
MRPT/mrpt
9ea3c39a76de78eacaca61a10e7e96646647a6da
34077ec74a90b593b587f2057d3280ea520a3609
refs/heads/develop
2023-08-17T23:37:29.722496
2023-08-17T15:39:54
2023-08-17T15:39:54
13,708,826
1,695
646
BSD-3-Clause
2023-09-12T22:02:53
2013-10-19T21:09:23
C++
UTF-8
C++
false
false
3,986
h
CLogOddsGridMapLUT.h
/* +------------------------------------------------------------------------+ | Mobile Robot Programming Toolkit (MRPT) | | https://www.mrpt.org/ | | | | Cop...
60822eba48cdf4eb2b426b13a9a39df35aa2d85e
dc07127e1ba90289a25b1479ec6bc4c791a7adca
/abpru/abpru/abprun.cpp
14b4490e2559de780688cab6ca986b5e4c40271a
[]
no_license
s-nguyen/abpruning
bef0bfedce6c6a5b5e4d1c83eecf04cc1167133e
56842891610d371be2f78c77de711fc3ea9948d9
refs/heads/master
2021-01-10T03:54:39.231970
2015-11-18T19:08:48
2015-11-18T19:08:48
45,885,526
0
0
null
null
null
null
UTF-8
C++
false
false
1,660
cpp
abprun.cpp
#include <iostream> #include "Tictac.h" using namespace std; int main(int argc, char* argv[]) { int moves = 0; int state; int depth; int a = -2; int b = 2; int aTotal = 0; int bTotal = 0; int oldmoves = -1; Tictac *t = new Tictac("Max"); if (argc != 2){ cout << "Usage: ./abpru startstate" << endl; retur...
cbb269f295cb2e4a044eaab6d4ff1459f41d3639
7cc9f9f4beb2af797635be0845f59b149adfb5cd
/Rules.h
1d0d66e82f756f7d8271c081d8302245499f75ad
[]
no_license
Ashaman47/CS236
a8ae6d1e6cbb11fe051a2c7c6f2be2c8774e7bb8
deb226398b7b7f874e1c28d55a439427c820f285
refs/heads/master
2022-04-08T20:10:33.307260
2020-03-10T16:01:51
2020-03-10T16:01:51
236,593,709
0
0
null
null
null
null
UTF-8
C++
false
false
380
h
Rules.h
#pragma once #include "Predicate.h" #include <vector> #include <iostream> #include <string> #include <sstream> #include <fstream> using namespace std; class Rules{ public: Rules(){}; Rules(Predicate p); string currentTokenList; string toString(); Predicate Pred; vector<Predicate>PredList; ...
e344f8deb9c1189e5e00ab715ca201f7b7c2611f
9125703b79eff7d9fc6a54d287992db53859758d
/main.cc
7e9fa064dd716df939f7e5d9d1abc52d6e74a207
[]
no_license
Bklayman/Sidequest-Tracker
6bd75f252ed1f374bc38051338967ca053e88dad
17e779fcb5d2d8528fe81325805398bbdd670c77
refs/heads/master
2022-10-09T04:19:07.091518
2020-06-12T18:36:36
2020-06-12T18:36:36
262,599,366
1
1
null
null
null
null
UTF-8
C++
false
false
6,738
cc
main.cc
#include <iostream> #include <fstream> #include <locale> #include <sstream> #include <string> #include <vector> #include "load.hh" #include "quest.hh" #include "questList.hh" #include "questMenu.hh" #include "save.hh" //Prints a list of the possible actions to take in the main menu void help(){ std::cout << "List o...
1b2b77ab1c05e045d7ee88a3accb8d546a0d6b3d
c7ddaad7fa061218d1e547a974fc6a7853e69c7a
/chrome/browser/autofill/billing_address_unittest.cc
98d62f01f5a2dd28fedad428715243cab1b279f3
[ "BSD-3-Clause" ]
permissive
cha63506/chromium-29
9adcc9ba819ced9dfe1f5da4807ad10516896142
9df275a67dc9038e300bfcad34f634b20dc9e8bc
HEAD
2017-05-27T06:59:00.183474
2011-05-03T04:06:05
2011-05-03T04:06:05
null
0
0
null
null
null
null
UTF-8
C++
false
false
29,662
cc
billing_address_unittest.cc
// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <vector> #include "base/basictypes.h" #include "base/scoped_ptr.h" #include "base/utf_string_conversions.h" #include "chrome/browser/autofil...
63c78daafc2923e973e43bbf8e4967e448251e41
b4e8f3eb357023b114005d0fe29fe7218daa4c2d
/cmdholder.cpp
aef6be294c3e87cb8dd3f25d7cd5026f92ea9a9c
[]
no_license
SergeiGolovnich/YantarMonitor
c23342b5b4dd48a250baa357d6e690c9fdbc9876
2594dd1192d2d4568382a2efd5528aabe795fe19
refs/heads/master
2020-07-12T07:37:17.017236
2020-02-09T16:05:46
2020-02-09T16:05:46
204,756,111
0
0
null
null
null
null
UTF-8
C++
false
false
6,196
cpp
cmdholder.cpp
#include "cmdholder.h" CmdHolder::CmdHolder(quint8 adress, CmdHolder::Function function): deviceAdress(adress), func(function), startReg(0), regCount(0), data() { } CmdHolder::CmdHolder(const CmdHolder &obj): deviceAdress(obj.deviceAdress), func(obj.func), startReg(obj.startReg), regCount(obj.regCount), ...
0681df6ea606b69e950ccd5f64735b748f58746b
5b072be2b68f3c7e7455ecaee82dbed25299b5b6
/10_european and american/program10_european.cpp
ef401f92b06b07ae75fcb93d4be2f2f26b54ae68
[]
no_license
yrz437396236/cpp_for_finance
7e64425765b5fb007764e4f563658ac4f82d978e
7371bd3433ad0c54ce8b4d757bab74221a9ea554
refs/heads/master
2020-05-16T16:08:52.957120
2019-04-24T05:09:58
2019-04-24T05:09:58
null
0
0
null
null
null
null
UTF-8
C++
false
false
6,677
cpp
program10_european.cpp
#include <iostream> #include <iomanip> #include <cmath> #include <fstream> #include <cstdlib> #include "normdist.h" // this defines the normal distribution from Odegaard's files using namespace std; double up_factor, uptick_prob, risk_free_rate, strike_price, downtick_prob, notick_prob; double initia...
7b660e1350feb902bf1667ba3626208f7efb88c0
ba7e867b425823d530680945cf2ef97a4dfdaa18
/compress.cpp
c3059b67084d878cbf5dd0dbb257906b4a474410
[]
no_license
ejoa27/Huffman-Compression
35003533bf85818f2eb852fea441fe381f9ed4de
cd36edb18490ef329f39494a3ce6b97cec4413a6
refs/heads/master
2023-03-15T05:15:07.403638
2014-06-28T20:39:32
2014-06-28T20:39:32
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,198
cpp
compress.cpp
// Sergio Leon <seleon>, Michael Lee <mil039> #include <iostream> #include <fstream> #include "HCTree.hpp" using namespace std; int main(int argc, char* argv[]) { ifstream infile(argv[1], ios::binary); //Input file ofstream outfile(argv[2], ios::binary); //Output file string str; //String to input file ...
2830aab743f686e4b1d644d580f58b4f2d18d42e
f1e99738f064cfbefe7487b88a0d098cab1f6b29
/SD/code.ino
e245807226df6ee08e35aa52d035e7e4d6fa17b3
[]
no_license
nhinojosa/SummerCamp2021
607f0ca58605c52a747c7be3eb2a74510f9667bc
b35db9a98fbf6d78a6b1226f10eca49c46923a5a
refs/heads/main
2023-08-25T02:55:20.795069
2021-10-22T13:46:13
2021-10-22T13:46:13
375,058,184
1
0
null
null
null
null
UTF-8
C++
false
false
1,706
ino
code.ino
#include <LiquidCrystal_PCF8574.h> const int LEFT_TRIG = 13; const int FRONT_TRIG = 12; const int RIGHT_TRIG = 11; const int LEFT_ECHO = 10; const int RIGHT_ECHO = 8; const int FRONT_ECHO = 9; LiquidCrystal_PCF8574 lcd(0x27); // set the LCD address to 0x27 for a 16 chars and 2 line display void setup() { Serial...
8229465c5f0fa2dfa3fe4558a62016ee32e6b5df
6dff693c16bd231c827c9b93e0a8b0eb6e6b60ff
/BeautyFilter/mask/StickerLib/ksMatrix.cpp
ee54911328fe26e8cafb6df49457e8cab4e94143
[]
no_license
genshengye/Archimage_Code
7aa3a66e89d5bda6934b3dedd26ddab96f8340b4
55c3fa8f777ca97ceb838d4e95e00f279873e48f
refs/heads/master
2022-11-05T03:27:41.591514
2019-07-03T10:41:24
2019-07-03T10:41:24
195,033,092
0
0
null
null
null
null
UTF-8
C++
false
false
16,373
cpp
ksMatrix.cpp
// // ksMatrix.c // // Created by kesalin@gmail.com on 12-11-26. // Copyright (c) 2012. http://blog.csdn.net/kesalin/. All rights reserved. // #include "ksMatrix.h" #include <stdlib.h> #include <string.h> void * memcpy(void *, const void *, size_t); void * memset(void *, int, size_t); unsigned int ksNextPot(unsig...
f2b0860936668eff7e058bb4fc892012f7fa5eea
07306d96ba61d744cb54293d75ed2e9a09228916
/EclipseStudio/Sources/ObjectsCode/Gameplay/BaseVehicleSpawnPoint.h
0ae03ad2ede7b628063e0b9e881c8b0aaf493660
[]
no_license
D34Dspy/warz-client
e57783a7c8adab1654f347f389c1dace35b81158
5262ea65e0baaf3f37ffaede5f41c9b7eafee7c1
refs/heads/master
2023-03-17T00:56:46.602407
2015-12-20T16:43:00
2015-12-20T16:43:00
null
0
0
null
null
null
null
UTF-8
C++
false
false
991
h
BaseVehicleSpawnPoint.h
#pragma once #include "GameCommon.h" #include "..\..\GameCode\UserProfile.h" class BaseVehicleSpawnPoint : public MeshGameObject { DECLARE_CLASS(BaseVehicleSpawnPoint, MeshGameObject) public: struct VehicleSpawn { r3dPoint3D position; float coolDown; uint32_t vehicleID; // the vehicle id to spawn at this ob...
6e58ac9bba818f06467be39afd1b8a9a98a49e55
472da2da68fbdfc32402d7e86524a38badcb70de
/computer-graphics-project/Camera.h
de83e413530af08651e67fdc3d40323e59711c59
[]
no_license
SoerenHenning/Kjottbasaren
4489316a25a7a587d23c70b6982f3e03f476deee
c3330712c7b91486f579353d1c69da19a70a613a
refs/heads/master
2021-08-23T22:04:39.636010
2017-12-06T19:26:36
2017-12-06T19:26:36
105,449,596
0
0
null
null
null
null
UTF-8
C++
false
false
1,288
h
Camera.h
#pragma once #include "Vector3.h" #include "Matrix4.h" using namespace std; class Camera { public: enum class Projection { ORTHOGRAPHIC, PERSPECTIVE }; Vector3f position; // position of the camera Vector3f target; // the direction the camera is looking at Vector3f up; // the up vector of the camera ...
cb3ef58bcce2fcb294cec7404f5aad13950634c5
b41d190ff675c63d09bd7ca2ee781d051b7db8ec
/call_stack/extras/callStack.cpp
dc8f5868759edba57054bfa9145eb5a8b5edceaf
[]
no_license
yashparakh111/cache_features
02c3d50e5c067908d72b476f2e95f40a3b9d35a2
10d46ae910dd1405e948767bb0d4a9af6e1c1854
refs/heads/master
2020-04-12T21:27:44.822997
2019-06-18T20:14:47
2019-06-18T20:14:47
162,762,660
0
0
null
null
null
null
UTF-8
C++
false
false
4,422
cpp
callStack.cpp
// // This tool counts the number of times a routine is executed and // the number of instructions executed in a routine // #include <fstream> #include <iomanip> #include <iostream> #include <string.h> #include "pin.H" #include <vector> #include <unordered_map> ofstream outFile; // maintains the call stack for the ...
2bc3e4bc350e606c4cb4328ade6fd3c9f5bb9d1b
60d4146419a50f66edc0ed79d00b5878017185b2
/array/90_subsets_II.cpp
06ae66c0602417195672829de90519caa82d3cc9
[]
no_license
zhangzuizui/leetcode_with_cpp
9b59ba95d20c70b1ab9cfcbf23e1fb75d4304c0f
6ada04beefd38f19fab5f2cac404addb7d64d533
refs/heads/master
2020-12-30T14:34:42.341943
2017-07-24T16:10:34
2017-07-24T16:10:34
91,072,952
0
0
null
null
null
null
UTF-8
C++
false
false
641
cpp
90_subsets_II.cpp
/** * 标准回溯法题型 */ void backtrack(vector<vector<int>>& ans,vector<int>& temp,vector<int> nums,int start) { ans.push_back(temp); for(int i = start; i < nums.size(); ++i) { if(i > start && nums[i-1] == nums[i]) continue; temp.push_back(nums[i]); backtrack(ans, temp, nums, i+1); ...
20ae189b7d9559b7fd30c8643cf75a34a190566b
409599864c7bcfb4e496c3369ce12d73a3c7e3fe
/tunguska_sources/error.h
72aad9c3fb1c7699d0b9b2b7cb19a4dab19d7c38
[]
no_license
vlofgren/tunguska
d1127883e76663fa85851c42c32d0a4e804cff38
311ffbb5edc0a96df246aef6f16a3f881f69693b
refs/heads/master
2023-03-17T09:28:55.059298
2023-03-05T17:43:21
2023-03-05T17:43:21
148,545,238
0
0
null
null
null
null
UTF-8
C++
false
false
1,753
h
error.h
/* Tunguska, ternary virtual machine * * Copyright (C) 2007-2009 Viktor Lofgren * * 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 * of the License, or (at your option) an...
7fd2b67ca51a873b7a88ba9974078d6ed7c19abd
5b7d99ad4dc7edcfe1168d78e7e8dc1eb43b12b3
/Overdrive/render/common_vertex_formats.h
df4aad27a943b2bddee4faf4c36f93c9e107e614
[ "MIT" ]
permissive
png85/Overdrive
e4870fc9cf9f8335d5f04c6d790bb2f48d127fca
e763827546354c7c75395ab1a82949a685ecb880
refs/heads/master
2020-03-17T05:59:58.136842
2018-05-14T10:01:18
2018-05-14T10:01:18
133,337,058
0
0
null
2018-05-14T09:28:09
2018-05-14T09:28:09
null
UTF-8
C++
false
false
2,064
h
common_vertex_formats.h
#pragma once #include "../opengl.h" #include <boost/fusion/adapted.hpp> namespace overdrive { namespace render { // some common vertex attribute formats // [NOTE] colors are typically defined in 32-bits unsigned integer format, float is pretty much only used for HDR... sooo maybe change to glm::u8vec4? ...
7c803cf2ae5c5634589ece4463b76161f36ee211
afa59b7b69f09b924061eade6ecfd77bed61ebac
/src/obstacle_avoidance.cpp
ca6e8cbd12e85fb3bf5dbec58eddb139bb9713f8
[]
no_license
ekuo1/rovey2
a8ead58269be266a7f880c6cac2da7dbc5fc5270
db883dd7ae6b96465a16c83a57394cc2acb9b139
refs/heads/master
2020-04-13T14:25:15.274334
2019-01-05T07:29:52
2019-01-05T07:29:52
163,262,441
0
0
null
null
null
null
UTF-8
C++
false
false
2,921
cpp
obstacle_avoidance.cpp
#include "ros/ros.h" #include <iostream> #include <fstream> #include <string> #include <sensor_msgs/LaserScan.h> #include <cstdlib> #include <nova_common/DriveCmd.h> using namespace std; ros::NodeHandle *n; std::vector <float> baseline; static std::vector<float> lidarValues; static int lidarResolution = 0; static in...
5b74c1e3454870f6c3fccd47a0cebcb0751756e4
87a997b6db138c9c6e59835599b7e8edc24d5ddc
/ImageTool/ImageTool/ColorSeg.cpp
5b23657e21e6978857e3c17747c9c8cf90a94935
[]
no_license
kimho314/LUNA_project
7c0eb4a5a2781a4f0b1114beffdc42b89443fe1f
3427bb23282d6cc3e3da87bf6c55c37e20b3810c
refs/heads/master
2022-12-25T18:08:08.044874
2020-02-17T14:33:16
2020-02-17T14:33:16
122,976,062
0
0
null
2022-12-16T00:02:12
2018-02-26T13:46:31
HTML
UTF-8
C++
false
false
2,255
cpp
ColorSeg.cpp
#include "stdafx.h" #include "ColorSeg.h" int g_lt_x = 0; int g_lt_y = 0; int g_rd_x = 0; int g_rd_y = 0; void SetRectPoints(int left_top_x, int left_top_y, int right_down_x, int right_down_y) { g_lt_x = left_top_x; g_lt_y = left_top_y; g_rd_x = right_down_x; g_rd_y = right_down_y; } void GetMean(CDib *src, t_bo...
f0afeaa3ef104966fe744378ba4ba0e6c47f0ff3
9daaaa213e79751eda76dd6eb04528d487c07d40
/ExamenesPrueba/Examen1.cpp
b5b6069b42cc054a4b096c87bdb9966239ed58b9
[]
no_license
Firek98/Fonaments17
419f1a5dd7d49b495a9878632c7599fe231896fb
54042079ca3517cf79dbb13ade6cc702a9878b2d
refs/heads/master
2021-08-20T07:21:54.177747
2017-11-28T14:28:12
2017-11-28T14:28:12
107,133,058
0
0
null
null
null
null
ISO-8859-1
C++
false
false
1,615
cpp
Examen1.cpp
#include <stdio.h> #include <stdlib.h> #include <time.h> //Hacer una función que modifique una variable incrementándola en uno //Crear una array de 5 números //Llenar la array de 5 elementos con números leídos mediante scanf //Duplicar los valores de dentro de la array //Printar por pantalla el número más grande void...
dacef1f5fd6bb8c589dfadd9429d47dc81b51b6f
5875b7f7f301f92956a35a61a8d1870f72b98c09
/stack.cpp
d8d5a959db58f5dc405661a0b7545e6b3973ba6b
[ "ISC" ]
permissive
clairvoyant/lacsap
5a4ecac3bbedc677e4a115770341cd8e0bcd1bd4
f50dc3762841cd6edc583e958f9b25bc9aba828b
refs/heads/master
2023-08-03T08:02:11.364749
2023-05-01T21:45:23
2023-05-01T21:45:23
444,054,199
0
0
ISC
2022-01-03T12:31:47
2022-01-03T12:31:46
null
UTF-8
C++
false
false
366
cpp
stack.cpp
#include "stack.h" #include "utils.h" bool InterfaceList::Add(std::string name, const NamedObject* obj) { if (caseInsensitive) { strlower(name); } auto it = list.find(name); if (it == list.end()) { if (verbosity > 1) { std::cerr << "Adding value: " << name << std::endl; } list[name] =...
851e17735c80f38b7172f724d94dbffacd0a5069
06798d9409a751a33ade7db7fbc0c66c38a099e0
/tests/database/repositories/podcasts_repository_tests.cpp
119f8af6ae3de60e5ec1f13178df184f5eb985de
[ "Apache-2.0" ]
permissive
beverlyRoadGoose/Beam
156dafb88c95667217b919d2f2a7d9c5e8299915
e56be330df3f36068ef37a93bcbea23cfeeb481d
refs/heads/master
2021-09-09T04:14:05.201974
2018-03-13T19:08:32
2018-03-13T19:08:32
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,242
cpp
podcasts_repository_tests.cpp
/* * Copyright 2018 Oluwatobi Adeyinka * * 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 ...
e94c599b65ca48c6f5d6db7770d6195ce8ff01f4
5d24f800ad35397699dac7bf48f1aff9e256e552
/Kamek/src/animtiles.cpp
53a204b81350a2eef5276a0d5796721ea559b30e
[ "MIT" ]
permissive
Danster64/NSMBWer
861c26e7440ce56af6227051224588d0141d94f7
05dae4ddf04745d389923670311de437d2df825c
refs/heads/master
2022-02-12T09:10:34.846693
2021-10-11T05:56:06
2021-10-11T05:56:06
236,567,638
5
5
MIT
2022-01-30T01:47:00
2020-01-27T18:54:51
C++
UTF-8
C++
false
false
1,522
cpp
animtiles.cpp
#include <common.h> #include <game.h> #include "fileload.h" struct AnimDef_Header { u32 magic; u32 entryCount; }; struct AnimDef_Entry { u16 texNameOffset; u16 frameDelayOffset; u16 tileNum; u8 tilesetNum; u8 reverse; }; FileHandle fh; void DoTiles(void* self) { AnimDef_Header *header; header = (AnimDef_...
8b98f04b2396bbacf001d4e5585b7f33c747b6e9
88bccde6090daeb9eab79b7eaa9cda3da4b289fd
/Receiver.ino
23c32c498044a2c1e13d431a79bbe1d222fd61ae
[]
no_license
sspeedy99/GestureBot-Arduino
d869b53f444748de7e062743a5fbd7cf1808e252
7297eaaa60e2cb3d25d498d6a73a99b93ea99e18
refs/heads/master
2020-03-12T16:51:53.401238
2018-04-23T17:12:17
2018-04-23T17:12:17
130,725,030
0
0
null
null
null
null
UTF-8
C++
false
false
3,104
ino
Receiver.ino
/* This is the program for arduino MEGA which is used in the chassis of the car by which it recives the data which is further used to control the motors and movement of the bot. * Author : Shashi Prakash(https://github.com/sspeedy99) * Date : 21 April 2018. */ #include <VirtualWire.h> int in1 = 6; int in2 = 5; int...
f77258ef99dd2b13b377f1b04dea77681960c6ad
efee6c788d4134dc7f31774de8c0dce9f0d9e1a3
/C++_Code/Needs-Fixing/13.cpp
37d4219a00ed7999df2c5f638e847f00233033e3
[]
no_license
xXxSpicyBoiiixXx/PersonalProjects
0423f48d913ec3ff17b8d6fc0115420f6336be77
36e773a986715edbb7e38ee0a6e315966a23402e
refs/heads/master
2022-12-11T05:03:01.257568
2020-09-13T22:11:34
2020-09-13T22:11:34
288,551,560
1
0
null
null
null
null
UTF-8
C++
false
false
519
cpp
13.cpp
#include <iostream> using namespace std; int main() { cout << "This bullshit uses the char bitch" << endl; cout << endl; char letter; letter = 'A'; cout << letter << endl; letter = 'B'; cout << letter << endl; cout << endl << endl << endl; cout << "Storing these Char variables ...
af6bd176dd3558192e028356c5f48fef57865635
7bb6b48a6b2712168140ec318905086e90b46c64
/View.h
7a0907c9699140851a8778d031d1ae00523ffd91
[]
no_license
SpagetCoder/calendar
f56f704d0760ca7bfd8940f9f21f4feec35ab827
01dc38631aed93d755863a7f0992d24dc05548d9
refs/heads/master
2021-05-08T23:57:45.572691
2019-06-14T15:00:25
2019-06-14T15:00:25
119,726,684
0
0
null
null
null
null
UTF-8
C++
false
false
547
h
View.h
#pragma once #include <iostream> #include <string> #include "helpers.h" extern HANDLE console; using namespace std; class View { protected: int firstWeekDayOfMonth, numberOfDays, month, year; int currM = CurrMonth(); int currday = CurrDay(); int currY = CurrYear(); string months[12] = { "January...
bd346b2084e9f4a5bae8bda25432d754f6d110a2
87163dc47f904f4dd6eb53c08b1add9776ad0c2f
/Hex/Hex.cpp
37b0c21e4f3e4a9dec61993b64330c5ef338a40d
[]
no_license
jjimenezg93/CPP_programming
da71929cf85e8243ecd0a5c8a04f5d3e08fdc904
730f528858ada7d8865a34ed373e0bb87ecbc816
refs/heads/master
2021-01-10T09:10:54.722816
2015-12-28T10:48:44
2015-12-28T10:48:44
45,610,165
0
0
null
null
null
null
ISO-8859-1
C++
false
false
4,090
cpp
Hex.cpp
/* Julián Jiménez González */ #pragma warning(disable: 4514) //el compilador elimina funciones inline que no se utilizan (en este caso de la librería stdio) #pragma warning(disable: 4710) //la función dada está pensada para ser optimizada por el compilador mediante inlining. el warning indica que no se está produci...
de913416ed1bdb635b40c3407f0d075510a0a02f
1fdd1e6e908ded6f220bb606c8c8295e0cd95b19
/315 - ALGORITHMS/Algorithms_THE3/the3.cpp
77f604a4ca9f60dd06e2f1fc883b4ed2593c8744
[]
no_license
CemBirbiri/Computer-Engineering-Bachelor-at-METU-2015-2021
a00024a4217d89e0e954c0682d5bd1aed74aa663
416b7e9114a5d1b2ff61baf616ba4c75b443f7f2
refs/heads/main
2023-06-22T22:18:18.110716
2023-06-08T15:19:58
2023-06-08T15:19:58
349,983,329
1
0
null
null
null
null
UTF-8
C++
false
false
6,571
cpp
the3.cpp
//#include "the3.h" #include <bits/stdc++.h> using namespace std; // You can define extra functions here /* A utility function to print solution */ void printSolution(int**& edgeList,int n) { for (int i = 0; i < n; i++) { for (int j = 0; j < n; j++) { if (edg...
ae6c1c11d9d5dc0f1f4d90fa05e221dbd56251b5
53700448a09a28fa7979954599e9c2e3395b8223
/src/KSegmentor/include/KoupledKurvolver.h
bb6cb49a874048fa3a8502fdc4bf6f3c2409fb12
[]
no_license
radinhamidi/kslice
8f417f287daa92f2cd24a5b56774e9d239ae83b3
b5d71ddaadd67f0bdef6b0869cc272e7b69deb07
refs/heads/master
2021-01-13T03:39:34.365630
2015-05-16T13:52:21
2015-05-16T13:52:21
77,254,540
1
0
null
2016-12-23T22:49:23
2016-12-23T22:49:23
null
UTF-8
C++
false
false
364
h
KoupledKurvolver.h
#ifndef KOUPLED_KURVOLVER_H #define KOUPLED_KURVOLVER_H class KoupledKurvolver { public: struct Options { Options(int ac, char* av [] ); // use Boost Program Options to parse and setup }; public: KoupledKurvolver(const KoupledKurvolver::Options& opts_in); void Print(); private: KoupledKurvolv...
6754f87c1172c61d1fa31aed638dd6e8e90d514e
bbd54c2bc2fc923868c6f7701443a798a0e79ad2
/leetcode/672.cpp
62362a85af8dcc3afe9950f182fe43a0f29430cb
[]
no_license
Rearcher/OJcodes
7e07316397b4fb957e2ff2a9ecbf5ec95d6c63a0
634d459ee586712bf89e404324a22534099e66a9
refs/heads/master
2021-06-07T18:39:23.058122
2019-12-10T07:25:13
2019-12-10T07:25:13
36,869,609
1
0
null
null
null
null
UTF-8
C++
false
false
312
cpp
672.cpp
// 672. Bulb Switcher II #include "leetcode.hpp" using namespace std; class Solution { public: int flipLight(int n, int m) { if (m == 0 || n == 0) return 1; if (n == 1) return 2; if (n == 2) return m == 1 ? 3 : 4; if (m == 1) return 4; return m == 2 ? 7 : 8; } };
5023bf1a66e6d8689554094a0e258c6365ce9124
de2c80118deaad2b89170fb25e735c8d6d2f2ba2
/insertionSort.cpp
9b556268507411499d24f66664b7f45f86146213
[]
no_license
DuyTran1234/Sort
8abe5c328e5f2ecf4d97a79b86b095f03862e267
b8fd6355853912f93d107b3616f0ce33de47b2e1
refs/heads/master
2020-08-06T10:13:14.501107
2019-10-05T03:40:17
2019-10-05T03:40:17
212,939,353
0
0
null
null
null
null
UTF-8
C++
false
false
356
cpp
insertionSort.cpp
#ifndef _INSERTIONSORT_CPP #define _INSERTIONSORT_CPP void insertionSort(int arr[], int n) { for(int i = 1; i < n; i++) { int j = i - 1; int temp = arr[i]; while(j >= 0 && arr[j] > temp) { arr[j + 1] = arr[j]; j--; } int key = j + 1; ...
925d205e2959057145a28eb0ed84c38634f195ef
ed75b1d4d9eb83a98f0688ae90418a8399c5cf7c
/linker/p4/test.cpp
d687ce2e4165ddc069d29b17daf20f645879128e
[]
no_license
vivekp/C-and-Cplusplus-Programs
df762698dcb1a4f3e0e378bf9f71ddb837ea959d
a79e49d57ce590bd1de4e31e56bae0db095eeca1
refs/heads/master
2016-08-08T03:22:10.805674
2011-11-11T14:39:23
2011-11-11T14:53:19
2,756,339
1
2
null
null
null
null
UTF-8
C++
false
false
151
cpp
test.cpp
#include <iostream> using namespace std; extern int func(int ); int j=20; int main() { int num; num=func(3); cout<<num; return 0; }
fd8abbbe21ed0b00a65e567315f18385407469f0
e7b656b502220c63991410c634af961e51e35c00
/src/kicontheme.cpp
dee02ff7bba1807794ab52fe5f1cbb98158faea3
[]
no_license
KDE/kiconthemes
f17b6cb77066ec911d27dea0395d68a5056fae60
c367ed65ac786580f9f80186d70a7a16a92bede7
refs/heads/master
2023-08-08T08:56:11.349037
2023-08-06T02:19:49
2023-08-06T02:19:49
42,726,037
15
2
null
null
null
null
UTF-8
C++
false
false
26,063
cpp
kicontheme.cpp
/* vi: ts=8 sts=4 sw=4 kicontheme.cpp: Lowlevel icon theme handling. This file is part of the KDE project, module kdecore. SPDX-FileCopyrightText: 2000 Geert Jansen <jansen@kde.org> SPDX-FileCopyrightText: 2000 Antonio Larrosa <larrosa@kde.org> SPDX-License-Identifier: LGPL-2.0-only */ #include ...
12bba072a5796b6cf75ce4f9378ea292b1bb6039
e679867c6c884778b3429e102e989925058d868c
/CoreModule/COMMUNICATION_MODULE/include/WindowsServer.h
2e736cc08ee088294c38bd7b88159471cf4a9564
[]
no_license
CharlieBr/Smeshalist
3ce37eecc4942ec88331bc70c7ff9f95f3205db0
2f2963580c9700ef30eb0a7660b15d35fed7b92f
refs/heads/master
2021-01-17T02:39:35.933778
2017-01-05T19:55:28
2017-01-05T19:55:28
56,520,645
1
0
null
2016-12-15T18:47:15
2016-04-18T15:42:28
C
UTF-8
C++
false
false
758
h
WindowsServer.h
#ifndef WINDOWSSERVER_H #define WINDOWSSERVER_H #include "AbstractServer.h" #include <winsock.h> #include <thread> #pragma comment(lib, "ws2_32.lib") class WindowsServer : public AbstractServer { public: WindowsServer(); void startServer(); void stopServer(); protected: private: ...
cd755afd199145dcca6476aa66b21bb1583cb3cb
575c265b54bbb7f20b74701753174678b1d5ce2c
/hpkj/Classes/gui/PropLayer.h
65083a809f98f46886279adcc7e8cc1100266b41
[]
no_license
larryzen/Project3.x
c8c8a0be1874647909fcb1a0eb453c46d6d674f1
cdc2bf42ea737c317fe747255d2ff955f80dbdae
refs/heads/master
2020-12-04T21:27:46.777239
2019-03-02T06:30:26
2019-03-02T06:30:26
null
0
0
null
null
null
null
UTF-8
C++
false
false
532
h
PropLayer.h
#ifndef __Game__PropLayer__ #define __Game__PropLayer__ #include "CocosUnits.h" #include "ConfigMgr.h" #include "AnsString.h" #include <iostream> #include "cocos2d.h" #include "cocos-ext.h" USING_NS_CC; USING_NS_CC_EXT; class PropLayer : public Layer { public: PropLayer(); ~PropLayer(); virtual bool init(); ...
d5974449e4edc568228432b7455e0a2ba1ee7db7
659959b2eda51c98ccc7866f460f1de095a71b25
/include/BoundaryCondition.h
30fa719e9520488b522a493b202462dc20b6c60e
[]
no_license
yfygod/AFEPack
beb7a6e68823b4eeaa2f918b6809ad8b8ea50c75
af7a5d6377c93083944ab99b6ed534c761df6180
refs/heads/master
2020-09-03T07:14:12.075507
2019-11-11T12:55:26
2019-11-11T12:55:26
219,414,098
1
2
null
null
null
null
GB18030
C++
false
false
9,136
h
BoundaryCondition.h
/** * @file BoundaryCondition.h * @author Robert Lie * @date Mon Nov 27 12:17:41 2006 * * @brief * * */ #ifndef __BoundaryCondition_h__ #define __BoundaryCondition_h__ #include <cstdarg> #include <vector> #include <set> #include <map> #include "Miscellaneous.h" /** * 边界条件的基类。这个类拥有一个边界类型整数 _type,用...
cb27be3bfee554e312965df321fefbb43f813bac
5915dfcedd7e954c4c76feb4bda431f8a238614f
/world/aurora_level.h
ac099642e16115d2a49def1ffd5f61176c0c6485
[]
no_license
Boyquotes/aurora-code
f39b6997ebdf1e5eeb89c04fc9bc0e85954e8a9d
66d0b129465004f3765dab7bd109c2367d2e33ac
refs/heads/master
2023-05-29T19:13:06.869835
2020-04-26T19:44:06
2020-04-26T19:44:06
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,662
h
aurora_level.h
#ifndef AURORA_LEVEL_H #define AURORA_LEVEL_H #include "core/reference.h" #include "aurora_tile.h" #include <vector> #include <functional> namespace aurora { class AuroraLevel : public Reference { GDCLASS(AuroraLevel, Reference) protected: static void _bind_methods(); public: String const& GetName(); ...
38b92b5b77fe9d52be8599b5b5b4622c6a344949
c8fcc1acf73585045a5c7213cfb9f90e4c1e809e
/POJ/2429.cpp
a74562726db29f3814b53dfedd50bd56bb1b9da7
[]
no_license
Jonariguez/ACM_Code
6db4396b20d0b0aeef30e4d47b51fb5e3ec48e03
465a11746d577197772f64aa11209eebd5bfcdd3
refs/heads/master
2020-03-24T07:09:53.482953
2018-11-19T09:21:33
2018-11-19T09:21:33
142,554,816
3
0
null
null
null
null
GB18030
C++
false
false
3,133
cpp
2429.cpp
/**************** *PID:poj2429 *Auth:Jonariguez ***************** */ #include <stdio.h> #include <string.h> #include <map> #include <math.h> #include <vector> #include <stdlib.h> #include <algorithm> using namespace std; typedef long long LL; const int maxn=200000+10; vector<int> prime; bool vis[maxn]; LL random(LL n...
7d0cd33d028174d28b9f7ad3ffab1091c2dabcd4
9d37f83190969d3118b3a7ed44855e17f6e53518
/ProyectoIntegrador2/Cuestionario.cpp
3b0d232a34e5e3b8470ece7e7a6ab8aa758fc1c3
[]
no_license
yknx4/ProyectoIntegrador2
17cb78000ccd59b06f4aa2921174c2c8d576c1e3
4ead54fc315e8e5f43b8a2fc7f366a118a33f001
refs/heads/master
2021-08-27T16:22:16.381114
2013-06-04T06:09:30
2013-06-04T06:09:30
10,372,856
0
0
null
2021-08-19T14:43:16
2013-05-30T01:25:11
JavaScript
UTF-8
C++
false
false
1,611
cpp
Cuestionario.cpp
//#define _CRT_SECURE_NO_WARNINGS #include "stdafx.h" #include "Cuestionario.h" #include "Preguntas.h" #include <vector> #include <fstream> #include <chrono> #include <ctime> #include <sstream> /*#define SEPARADOR_DATO char(31) #define SEPARADOR_GRUPO char(29)*/ using namespace std; Cuestionario::Cuestionario() { } ...
5b8ea190b689a3ee73fdfee914fc0d4c34617c78
1c8312eef18644f914991fbb9fdea3877305deca
/include/fe/GameConstants.h
ca016801f89e5a6d12ac84bedf25c3d569d2fe44
[ "MIT" ]
permissive
TonoFilth/connect-four
0cdba3cee93de3cc8a345d375a48776a69ac7594
f067c086cd0ca0817f6c758525e0671bd6b3efa2
refs/heads/master
2016-08-05T02:33:01.988132
2014-03-10T11:58:55
2014-03-10T11:58:55
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,605
h
GameConstants.h
#ifndef __GAME_CONSTANTS_H__ #define __GAME_CONSTANTS_H__ #include <iostream> #include <SFML/Graphics.hpp> #include "fe/BasicTypes.h" namespace fe { class GameConstants { private: static const std::string GameBackgroundTextureFile; static const std::string Player1TextureFile; static const std::string Player2Text...
cc71ffd629d00b83a0ec2d2af40318841c9a8d14
81c66c9c0b78f8e9c698dcbb8507ec2922efc8b7
/src/domains/cg/HuScheduler/HuParProcs.h
57c79573012480c6db5d74449e1317ca5d014d6c
[ "MIT-Modern-Variant" ]
permissive
Argonnite/ptolemy
3394f95d3f58e0170995f926bd69052e6e8909f2
581de3a48a9b4229ee8c1948afbf66640568e1e6
refs/heads/master
2021-01-13T00:53:43.646959
2015-10-21T20:49:36
2015-10-21T20:49:36
44,703,423
0
0
null
null
null
null
UTF-8
C++
false
false
2,101
h
HuParProcs.h
#ifndef _HuParProcs_h #define _HuParProcs_h #ifdef __GNUG__ #pragma interface #endif /***************************************************************** Version identification: @(#)HuParProcs.h 1.10 7/19/95 Copyright (c) 1990-1995 The Regents of the University of California. All rights reserved. Permission is hereby...
161648d17aca5582f44f7d36021cb67399c220bd
436a112c705fe6621f0eb966c99ea5622fdbe5c2
/Dodo-Engine/code/components/ECS.cpp
1a5c236afa95dc24baf75c0aaedd25cde6cdb4ed
[ "MIT" ]
permissive
TKscoot/Dodo-Engine
63f4c2b0c290fa94d5fa23dc06bcf276c1414232
ba6c56a898d2e07e0fd7e89161cbdafd8bc02abd
refs/heads/master
2022-03-30T23:57:45.970080
2020-02-05T21:30:10
2020-02-05T21:30:10
184,224,992
0
0
null
null
null
null
UTF-8
C++
false
false
38
cpp
ECS.cpp
#include "dodopch.h" #include "ECS.h"
bc5251960206abfecdc55856d661d5a057202e6d
e148d6b1bb9569e3af87e75048381014a747a5ad
/Tameran/Hydro/Graphics/Shader/FontShader.h
89da43f280ecf32c9d7824d6590ac3a95a4444d3
[ "MIT" ]
permissive
Zokerus/Tameran
40315097464e3e20fbb0e0703a8b6a41166392b8
7bf20aae2c5bba3db972b09862528e6a21187c1d
refs/heads/master
2021-09-20T06:18:44.894316
2018-08-05T17:12:45
2018-08-05T17:12:45
104,335,754
1
0
null
null
null
null
UTF-8
C++
false
false
828
h
FontShader.h
#ifndef FONTSHADER #define FONTSHADER //My Includes #include "IShader.h" namespace Hydro { class FontShader : public IShader { private: struct PixelBufferType { DirectX::XMVECTORF32 pixelColor; }; public: FontShader(ID3D11Device* device, HWND hWnd); ~FontShader(); bool Render(ID3D11DeviceContext ...
e70a80fccfdf222d7481d6bb14dcca4f607d91d6
d7acc19f9ec13f82b13072c3ede5e66268ae88a2
/catkin_ws/devel/include/text_msgs/text_detection_array.h
462fcdb37f611fe74b4cea0951eff123a86ba159
[]
no_license
Richardwang0326/TTS_and_brandname
702fac7d1cb33c40a4dd067e3e0df5b5f4a7ad35
5a33772158f00a3ba21595225d610c39049f6920
refs/heads/main
2023-01-14T04:50:28.344020
2020-11-25T02:36:35
2020-11-25T02:36:35
306,322,644
0
0
null
null
null
null
UTF-8
C++
false
false
10,632
h
text_detection_array.h
// Generated by gencpp from file text_msgs/text_detection_array.msg // DO NOT EDIT! #ifndef TEXT_MSGS_MESSAGE_TEXT_DETECTION_ARRAY_H #define TEXT_MSGS_MESSAGE_TEXT_DETECTION_ARRAY_H #include <string> #include <vector> #include <map> #include <ros/types.h> #include <ros/serialization.h> #include <ros/builtin_messag...
0801456d22b95bb0d200cc03d0f2c3e15e38ef08
e135145e5ec959416689a65de8ba5d6d79ab1d72
/Chapter_2/2_2/JumpingBall/global.h
7e686ed18f058a343378a92ff86220498d758fa9
[]
no_license
Caproner/C_Game_Basic
bce102d4865ab94b6cf9b8b3292a2c51b0a65783
92d568dc42cee0e8b95103e60f46951c54d055d7
refs/heads/master
2020-06-19T18:20:17.842543
2019-09-08T10:14:36
2019-09-08T10:14:36
196,818,410
0
0
null
null
null
null
UTF-8
C++
false
false
752
h
global.h
#include <cstdio> #include <cstring> #include <ctime> #include <conio.h> #include <windows.h> #include <set> #include <vector> #include <algorithm> #define HEIGHT 25 #define WIDTH 40 #define VIEW_HEIGHT 100 #define VIEW_WIDTH 100 #define BALL_SPEED 10 #define BOARD_X_MIN (HEIGHT - 3) #define BOARD_X_MAX HEIGHT #define...
142230214fcfb2a417b8d4e04a76b2fd3748e194
1634d4f09e2db354cf9befa24e5340ff092fd9db
/Wonderland/Wonderland/Editor/Modules/Peon/Peon.h
5b94d8f171b6b24828875a8ca6d66ee4518829be
[ "MIT" ]
permissive
RodrigoHolztrattner/Wonderland
cd5a977bec96fda1851119a8de47b40b74bd85b7
ffb71d47c1725e7cd537e2d1380962b5dfdc3d75
refs/heads/master
2021-01-10T15:29:21.940124
2017-10-01T17:12:57
2017-10-01T17:12:57
84,469,251
4
1
null
null
null
null
UTF-8
C++
false
false
3,700
h
Peon.h
//////////////////////////////////////////////////////////////////////////////// // Filename: __InternalPeonJob.h //////////////////////////////////////////////////////////////////////////////// #pragma once ////////////// // INCLUDES // ////////////// #include "..\NamespaceDefinitions.h" #include "..\GlobalInstance.h...
99baead77e0e1abfa689c3e750337cf44fc3f309
346c17a1b3feba55e3c8a0513ae97a4282399c05
/MMVII/src/Topo/ctopoobsset.cpp
e7a6fbdbb11dac0907ff37e0f1b237c5b70a2816
[ "LicenseRef-scancode-cecill-b-en" ]
permissive
micmacIGN/micmac
af4ab545c3e1d9c04b4c83ac7e926a3ff7707df6
6e5721ddc65cb9b480e53b5914e2e2391d5ae722
refs/heads/master
2023-09-01T15:06:30.805394
2023-07-25T09:18:43
2023-08-30T11:35:30
74,707,998
603
156
NOASSERTION
2023-06-19T12:53:13
2016-11-24T22:09:54
C++
UTF-8
C++
false
false
3,294
cpp
ctopoobsset.cpp
#include "ctopoobsset.h" #include "MMVII_PhgrDist.h" #include <memory> namespace MMVII { cTopoObsSet::cTopoObsSet(TopoObsSetType type): mType(type) { } void cTopoObsSet::init() { createAllowedObsTypes(); createParams(); } void cTopoObsSet::PutUknowsInSetInterval() { mSetInterv->AddOneInterv(mParams);...
7a629abd13ada416defb8481ff23f76b075c9021
6a92f3e27284226fa9192b60014a91118b29b170
/utils/mini-AGTK/agtkMetricInfo.h
d4e1c2e380df652fba44d42f696c36646909354a
[]
no_license
sMedX/CNN
cb9c087ae2c8ff2b2f6a1c6a957d61caab2bd6c5
85d179d8b6d40d3f1c983e29cfcc189c11267ff3
refs/heads/master
2021-03-24T12:05:41.726864
2018-02-28T11:55:14
2018-02-28T12:08:45
46,798,520
0
0
null
null
null
null
UTF-8
C++
false
false
944
h
agtkMetricInfo.h
#ifndef __agtkMetricInfo_h #define __agtkMetricInfo_h #include <vector> #include "agtkExport.h" namespace agtk { enum MetricUnits { None, Millimeters }; class AGTK_EXPORT MetricInfo { public: MetricInfo( double value, const char* name, const char* longName, MetricUnits units = MetricUnits::Non...
519255e364b29073682effd495467b2989bb0072
4bbc259c022331cab9d06a48fd4d8d0e9b5000e3
/include/ai/EagerActors.hpp
bce248d1810fc1a2902205134d99b389a2614224
[ "MIT" ]
permissive
tjakway/pyramid-scheme-simulator
0b5579c5c2bc1efe42323e459adc2637a5311f78
4de02ac120b39185342f433999c2d360a7ccbf7e
refs/heads/master
2023-07-23T20:42:38.762662
2018-07-15T18:28:06
2018-07-15T18:29:29
144,909,813
0
0
null
null
null
null
UTF-8
C++
false
false
1,489
hpp
EagerActors.hpp
#pragma once #include "NamespaceDefines.hpp" #include "Actors.hpp" #include "Util/Unique.hpp" #include "Types.hpp" BEGIN_PYRAMID_NAMESPACE class EagerConsumer : public StaticConsumer { public: EagerConsumer(Unique u, Money m) : StaticConsumer(u, m, 1.0, 1.0) {} virtual ~EagerConsumer() {} }; cl...
8997bb405c4f607cfa636e7b1345204cd19eec73
ed4fabc5b17498e598bca124f820263e5caced75
/analysis.cpp
f0bacb970bfe91a874ab64f855b548cfe3a41fe6
[]
no_license
jamsessionein/voight-kampff-teensy-ILI9341
96a11414eb7d70021c457138c6c8b25c6e7f6a8b
ef7dcb1ba80acf9a58fde493fbbc1da4af7b6ffd
refs/heads/master
2021-08-18T21:52:22.073869
2017-11-24T01:48:33
2017-11-24T01:48:33
111,863,504
1
1
null
null
null
null
UTF-8
C++
false
false
3,458
cpp
analysis.cpp
#include "Arduino.h" #include "analysis.h" #include "graphics.c" Analysis::Analysis(int x, int y, int fieldWidth, int fieldHeight, int columnsValue, int rowsValue, ILI9341_t3 &tftdev, int blipWidthValue, int blipHeightValue){ tft = &tftdev; xPos = x; yPos = y; width = fieldWidth; height...
6e3faed371adde3fa3e36cdb8b0859dbb2120120
62a81dfb697e5c2d4c79dea02826d250f9254c8d
/2_term/made_2020_algoritms_adv/homeworks/3/B/main.cpp
b5c75504e19dc2e4aae01a4e32e858be5aa3dd40
[ "MIT" ]
permissive
exotol/made_mail.ru
e36a2bf0c66cbf34fd0de296d0dc7e6af92cd6c8
a81bfd874ab80eb8c7eaad8a4acf723f327f2f50
refs/heads/master
2023-05-24T14:53:37.219268
2021-06-19T17:51:38
2021-06-19T17:51:38
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,798
cpp
main.cpp
// // main.cpp // B // // Created by Илья Башаров on 14.03.2020. // Copyright © 2020 MIPT. All rights reserved. // #include <iostream> #include <vector> long long* sieve(const long long number) { std::vector<long long> pr; long long* lp = (long long*) calloc (number + 1, sizeof(long long)), ...
e6233a248af5bc1a70a21c2b6fa10da0a061f98b
2a58e9ed87874c4d2938a45caf8d630ae35e12c7
/lista 8/10.cpp
2a1b9b93de330e177f97f860850840a8a4cc20f3
[]
no_license
Simillo/dredd
90cbce7dae47c39d7ce40f228e29cbfb77ee962e
7a0630082716a47ebbe96b2f3ec191e6fa83063a
refs/heads/master
2021-01-12T14:06:21.240878
2017-03-16T03:30:01
2017-03-16T03:30:01
69,566,051
1
0
null
null
null
null
UTF-8
C++
false
false
206
cpp
10.cpp
#include <iostream> using namespace std; int add(int x,int y){ if (!x) return y; else return add((x & y) << 1, x ^ y); } int main(){ int x,y; cin >> x >> y; cout << add(x,y) << endl; }
728b4c8b6ac8c4cfcf1be656e0ac0d1a12a7c596
216f5252a8df73f8547d6a6c831409c916bae3e5
/windows_embedded_compact_2013_2015M09/WINCE800/private/test/net/winsock/22/IPvX/stress/ghstres2/ghstres2_vx.cpp
d08dc658c6475c02a683c6fe5984d8efb10e8477
[]
no_license
fanzcsoft/windows_embedded_compact_2013_2015M09
845fe834d84d3f0021047bc73d6cf9a75fabb74d
d04b71c517428ed2c73e94caf21a1582b34b18e3
refs/heads/master
2022-12-19T02:52:16.222712
2020-09-28T20:13:09
2020-09-28T20:13:09
null
0
0
null
null
null
null
UTF-8
C++
false
false
29,245
cpp
ghstres2_vx.cpp
// // Copyright (c) Microsoft Corporation. All rights reserved. // // // Use of this source code is subject to the terms of the Microsoft shared // source or premium shared source license agreement under which you licensed // this source code. If you did not accept the terms of the license agreement, // you are...
7e16469f9908228b4b90a63ac18f411f2943029b
55540f3e86f1d5d86ef6b5d295a63518e274efe3
/components/network/thread/openthread/src/lib/spinel/spinel_interface.hpp
585f257aa6dae3f6777508e4c7cc86def21d8007
[ "BSD-3-Clause", "LicenseRef-scancode-warranty-disclaimer", "Apache-2.0" ]
permissive
bouffalolab/bl_iot_sdk
bc5eaf036b70f8c65dd389439062b169f8d09daa
b90664de0bd4c1897a9f1f5d9e360a9631d38b34
refs/heads/master
2023-08-31T03:38:03.369853
2023-08-16T08:50:33
2023-08-18T09:13:27
307,347,250
244
101
Apache-2.0
2023-08-28T06:29:02
2020-10-26T11:16:30
C
UTF-8
C++
false
false
2,511
hpp
spinel_interface.hpp
/* * Copyright (c) 2019, The OpenThread Authors. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * 1. Redistributions of source code must retain the above copyright * notice, this ...
75b4c367da604d13db33ce3e023a75f727359137
377b64e0fd93dd543898fcf0bf3b0bb052ba758e
/leetcode/Generate Parentheses.cpp
2d9e5d464f19b248843b89bb9be491130b3e53d4
[]
no_license
heonilp/study
452b80f1dbae1c0f2569d5b84d4c5e1f6e7b993f
b2f47e880ffc2b9f1a44d00c8f9baf815d357484
refs/heads/master
2022-07-09T05:29:39.207350
2021-07-25T13:15:53
2021-07-25T13:15:53
191,583,274
7
1
null
2022-06-21T04:18:44
2019-06-12T14:06:36
C++
UTF-8
C++
false
false
794
cpp
Generate Parentheses.cpp
//-재귀 사용풀이 class Solution { private: vector<string> ans; public: void go(string s,int left,int right, int n) { if(right == n) { ans.push_back(s); return; } if(left == n) { while(right != n) { s.push_bac...
136e63584366858324cc3c147619c6f4a99430dd
8908bb8c289e07d2b1514ca86e1d3cccaa8b5761
/db/dao/CBDAO.cpp
f03ceb5d50ef90b75f7decff0d609bd510149182
[ "MIT" ]
permissive
teachmlrepo/toolbox
cdb031cdf8cf1d50c75fb72a6a2db6ba14c145f3
aaca5aca66ad6aca97737bc47a7c2de7621e54f2
refs/heads/master
2022-12-19T00:00:02.504308
2020-09-26T13:09:53
2020-09-26T13:09:53
293,242,336
0
0
null
2020-09-06T09:19:01
2020-09-06T09:19:01
null
UTF-8
C++
false
false
895
cpp
CBDAO.cpp
/* * * Crypto.BI Toolbox * https://Crypto.BI/ * * Author: José Fonseca (https://zefonseca.com/) * * Distributed under the MIT software license, see the accompanying * file COPYING or http://www.opensource.org/licenses/mit-license.php. * */ #include "CBDAO.h" namespace db::dao { std::vector<CBDAODriver *> CB...
38ac17ebe118bc9473d872ec81802fa463d04e4f
f310c8add40eef95dfa6dd70ead2b3a317c9f905
/main.cpp
e36bd6da2d1bf4a11b97d14b27676d9f8dcbb0a3
[]
no_license
CosineGaming/Q
405eacaae8657a9e481a3087fa1a56109f9076aa
2d90c836b617ecd9f28e4ffd9f3d26161ae41807
refs/heads/master
2021-01-25T08:54:42.703951
2013-07-08T19:01:03
2013-07-08T19:01:03
null
0
0
null
null
null
null
WINDOWS-1250
C++
false
false
3,593
cpp
main.cpp
#include <iostream> #include <fstream> #define _USE_MATH_DEFINES #include <math.h> #include "glut.h" #include "color.h" #include <stdlib.h> #include "time.h" #define DEPTH 3 color Color(1.0, 1.0, 1.0); int matrix[25]; void init () { glClearColor (0.2, 0.2, 0.35, 0.0); // sets background Color to black glMatrixMode...
be69f32e2d9950f413ebc2667e611c1aba565ef7
f67008366d94d288854f7ef985f05fdc8e42c520
/Graphs/OpenGL/GL_Font.cc
cbd1c409444ba712fe5f1e402f220018ed0ea35f
[ "MIT" ]
permissive
TrevorShelton/cplot
6273c78a6cb888ed832cc93610b474ea78fda357
8bf40e94519cc4fd69b2e0677d3a3dcf8695245a
refs/heads/master
2022-11-06T12:29:19.509338
2020-06-25T16:00:14
2020-06-25T16:00:14
274,957,449
0
0
MIT
2020-06-25T16:00:15
2020-06-25T15:55:44
null
UTF-8
C++
false
false
1,041
cc
GL_Font.cc
#include "GL_Font.h" #include "../../Utility/StringFormatting.h" void GL_Font::save(Serializer &s) const { s.string_(name); s.float_(size); color.save(s); } void GL_Font::load(Deserializer &s) { s.string_(name); s.float_(size); color.load(s); } std::ostream &operator<<(std::ostream &os, const GL_Font &f) { os ...
2af94fe8779ecab3fc05f881cc8383446772c879
ab21d878c7710cef338db8745d3f4924549e7f85
/src/Calculator/Common/TitleBarHelper.cpp
18e8be947462d890336753ac8ab1b82c0458ed84
[ "MIT", "LGPL-2.1-or-later" ]
permissive
killvxk/calculator
f7083b47cd64be5f0dd142799bfef254436afc30
6a05ee45a8a7834143e330e8fcf18212493b2434
refs/heads/master
2020-04-27T10:22:31.963131
2019-03-11T09:56:25
2019-03-11T09:56:25
174,251,031
1
1
MIT
2019-03-11T09:56:26
2019-03-07T01:46:44
C++
UTF-8
C++
false
false
3,016
cpp
TitleBarHelper.cpp
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #include "pch.h" #include "TitleBarHelper.h" #include "Converters/BooleanToVisibilityConverter.h" #include "CalcViewModel/ViewState.h" using namespace CalculatorApp::Common; using namespace CalculatorApp::Converters; usin...
3480b97f20054a355f5500aca9990a391cc6ae28
a7bdec0298f29bf530d9dc40bc09293edf7b34c4
/generujGraf.hpp
160bbf3d75cc67bbf245690a370d9e265bff6ab3
[]
no_license
montsigur/PAMSI-lab06
19810b8e80a3ce3872be8fcf73e2338a2c95a462
d8e0e7704c765cf22cfaac2e461e86f2281ce016
refs/heads/master
2016-09-14T02:47:24.383442
2016-05-18T16:47:03
2016-05-18T16:47:03
58,759,701
0
0
null
null
null
null
UTF-8
C++
false
false
3,152
hpp
generujGraf.hpp
// Wojciech Michałowski // nr albumu 218705 #ifndef GENERUJGRAF_HPP #define GENERUJGRAF_HPP #include <ctime> #include <cstdlib> #include "graf.hpp" #include "permutacje.hpp" using namespace std; int silnia(int n) { if (n < 0) return -1; else if (n < 2) return 1; else return n * silnia(n-1); ...
355c035011b90bab77b0151327930a9b8e5447a2
6afd626d3c2088da5b9574f649ec5dad97bbd779
/leetcode/offer_ii_88/main.cc
6713444883e95f9f604881d4332ab1e5f4a3e83e
[]
no_license
lxlenovostar/algorithm
7acaea32d58df45002d6f87bb6d663a90df52e46
82c5f630157d03be8f36aea34b7d88d181f44673
refs/heads/master
2023-03-07T03:43:40.564903
2023-02-25T07:05:29
2023-02-25T07:05:29
60,962,183
0
0
null
null
null
null
UTF-8
C++
false
false
620
cc
main.cc
#include <vector> #include <iostream> using namespace std; class Solution { private: int helper(vector<int>& cost, int index) { if (index <= 1) return cost[index]; return std::min(helper(cost, index-1), helper(cost, index-2)) + cost[index]; } public: int minCostClimbi...
c421e7e7d7c7c7cac2e9b7179e0a7a88c0f68488
b848d4f79256c7738b0923420d8548a0121ceb81
/src/common/Polyline.cc
76a117cf602bbe710532fc08dd3a8c79db0cf300
[ "Zlib", "LGPL-2.0-or-later", "MIT", "LicenseRef-scancode-other-permissive", "Apache-2.0", "LicenseRef-scancode-public-domain", "BSD-2-Clause", "xlock", "LicenseRef-scancode-unknown-license-reference" ]
permissive
ecmwf/magics
57f5be3f4dcf339203688e7ce2bee92d9bc11318
ba612c99a681547d111e4088ddc722cfb77b0666
refs/heads/develop
2023-08-19T02:56:24.734190
2023-08-04T07:37:52
2023-08-04T07:37:52
160,882,537
50
14
Apache-2.0
2023-06-22T10:35:22
2018-12-07T22:39:04
Jupyter Notebook
UTF-8
C++
false
false
6,681
cc
Polyline.cc
/* * (C) Copyright 1996-2016 ECMWF. * * This software is licensed under the terms of the Apache Licence Version 2.0 * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. * In applying this licence, ECMWF does not waive the privileges and immunities * granted to it by virtue of its status as an in...