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
4de3a94005aa5b0fbc4ac73c7900452b3591f237
76bd23f86c055b7d94658fd045018761fe45ab7d
/Cpp/Chapter13/tabtenn1.cpp
bbd47b77082bf50f19ee6a6b618f9bee88d53d42
[]
no_license
pmusau17/CodingChallenges
bb5db754ea56514ee0c3fb49161ae01021e982e4
0b083446e21e84b91c4caf24bb4b212439a06853
refs/heads/master
2021-06-28T08:54:32.209383
2021-05-26T17:48:23
2021-05-26T17:48:23
234,108,802
0
0
null
2021-05-26T17:48:24
2020-01-15T15:19:37
C++
UTF-8
C++
false
false
756
cpp
tabtenn1.cpp
// tabtenn1.cpp -- base-class mehtods and derived-clas methods #include "tabtenn1.h" #include <iostream> #include <cstring> // TableTennisPlayer methods TableTennisPlayer::TableTennisPlayer(const char * fn, const char * ln, bool ht) { std::strncpy(firstname,fn,LIM-1); firstname[LIM-1]='\0'; std::strncpy(...
5442efff2a1659fdec5a2ef5a66c7fff51fec7ad
2cab36984d5e3f8d56b19235a44ba31ca259eed5
/Wizard/poj3419.cpp
56af4d202aedec9689a13be79d40ec8c03793011
[]
no_license
sdad120/acmcode
c3ba5fdfc40a2710dadcb6d159d0a1025f18c1d4
676933842dfc27f8344385c802962c217e8205c0
refs/heads/master
2016-09-07T18:33:03.115515
2015-11-20T05:21:59
2015-11-20T05:21:59
40,102,617
1
1
null
null
null
null
UTF-8
C++
false
false
1,530
cpp
poj3419.cpp
#include <cstdio> #include <cstring> #include <algorithm> #include <vector> #include <set> using namespace std; #define N 200005 #define MAX 1000000 int n, m; int a[N], right[N], t[N*4], p[N*10]; void bld(int k, int l, int r){ if (l == r){ t[k] = right[l] - l + 1; return; } int mid = (l + r...
ee5a6e4acc8563f1ac22daad5fe1ddaa71a72b9e
b99e6a122bc377e6eabfe2ece650b3f26eaaa6d8
/src/uva/536.cc
9d8d71821dec33bb2652581fc2482bea96c8c488
[]
no_license
cedric-sun/toys
8a853317885a56faf01628d32a94f5e759952c8e
492156c0f70d4ddad4f943e7ea1a024a36cdb54b
refs/heads/master
2023-02-27T01:50:53.148846
2021-02-06T22:41:35
2021-02-06T22:41:35
293,705,256
0
0
null
null
null
null
UTF-8
C++
false
false
647
cc
536.cc
#include <cstdio> #include <cstring> int n; char pre[30],in[30],l[30],r[30]; int build(int pl,int pr,int il,int ir) { if (il>ir) return 0; char root=pre[pl]; int droot=root-'A'+1; int p=il; while (in[p]!=root) p++; int cnt=p-il; l[root-'A'+1]=build(pl+1,pl+cnt,il,p-1); r[root-'A'+1]=bu...
227d9e73423cb01d09dd7b12ce13062dca2c9e73
85c261b62ac353640081556623be8a2994c2160b
/graf_lista.cpp
bbbbdc71560b1cc68bf7f79c9a74bdf1091aa368
[]
no_license
filip452/Grafy
15b79d75a7f672097396accd2f07ff1993f552ea
d10161e35facf025681013c6133486dac2739657
refs/heads/main
2023-04-25T15:42:14.634634
2021-05-10T20:27:11
2021-05-10T20:27:11
366,167,102
0
0
null
null
null
null
UTF-8
C++
false
false
1,597
cpp
graf_lista.cpp
#include "graf_lista.hh" #include <cstdlib> #include <ctime> template<int ROZMIAR> graf_lista<ROZMIAR>::graf_lista() { ilosc_kraw = 0; } template<int ROZMIAR> graf_lista<ROZMIAR>::get_ik() { return ilosc_kraw; } template<int ROZMIAR> krawedz graf_lista<ROZMIAR>::get_k(int index) { retu...
1d06110e2c09bc7d65b3c5c0a6ab8203bee11d6b
e264a42a639444e80769d0b3a0d62ba5d8ea3013
/firmware/dlpio8_emu.ino
3769925a59f3e2e3e420938e1f0f11fa4820a2bd
[ "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-public-domain" ]
permissive
huleg/arduino-daq
912b9063bad2e53278d2ae4707646f9083f237f8
1629dc9404470eb96cb259cdf194270c949263fb
refs/heads/master
2021-01-11T18:04:33.830218
2013-03-11T20:51:51
2013-03-11T20:51:51
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,360
ino
dlpio8_emu.ino
/* * DLP-IO8 compatible data acquisition on Arduino * This code is placed in the public domain by its author, Ian Harvey. */ #include <OneWire.h> void setup() { Serial.begin(115200); while (!Serial) ; // wait for serial port to connect. Needed for Leonardo only analogReference(INTERNAL); //Serial...
d13a8b5e565d35c3b5a7527eed37877d9b369d32
7d2d40fa1a777e68c9dc59d725aea85da2bb0b02
/apc16delft_fake_components/src/grasp_synthesizer.cpp
fa912850d0c3577b0dbb585962308cde090fd19b
[]
no_license
javanegmond/team_delft-1
898f2f6e544bde7750739f3469d68e1e363fa3dd
c2125a3319d2c3a774ebb5817d11f7ef9ad28013
refs/heads/master
2021-01-21T03:41:24.602410
2017-09-08T12:09:44
2017-09-08T12:09:44
101,898,262
0
0
null
2017-08-30T15:28:03
2017-08-30T15:28:03
null
UTF-8
C++
false
false
1,780
cpp
grasp_synthesizer.cpp
#include <ros/ros.h> #include <apc16delft_util/managed_node.hpp> #include <apc16delft_msgs/SynthesizeGrasp.h> #include <apc16delft_util/managed_node.hpp> namespace apc16delft { namespace grasping { class GraspSynthesizer : public ManagedNode { ros::ServiceServer synthesize_grasp; geometry_msgs::Pose pose; bool s...
b49c6b0302546464d8c8e4b39284bb5f444f8c41
a96cbdb9aa0d96bc420f0847a8753a6d3f36bc3a
/Lesson_15/Sample7.cpp
d3ec23843f41add08c02db3b157e34e37d520302
[]
no_license
KamonohashiPerry/cplusplus
e1901842e8a9b711a39c86557d81e9cc42e8b2ab
970a73df4526c011b9098fcfeb67beab345d71b4
refs/heads/master
2023-02-06T16:48:21.376905
2020-12-27T06:37:22
2020-12-27T06:37:22
291,221,882
0
0
null
null
null
null
UTF-8
C++
false
false
455
cpp
Sample7.cpp
#include <iostream> using namespace std; int main() { int num; cout << "1~9までの数を入力してください。\n"; cin >> num; try{ if(num <= 0) throw "0以下を入力しました"; if(num >= 10) throw "10以上を入力しました"; cout << num << "です。\n"; } catch(char* err){ cout << "エラー:...
f31120c2ac202050936c799487fed62379f60233
9de18ef120a8ae68483b866c1d4c7b9c2fbef46e
/src/UserSpaceInstrumentation/AccessTraceesMemoryTest.cpp
c7fd480561e79ec43f2e2b5443efb0a921d894a5
[ "BSD-2-Clause", "LicenseRef-scancode-free-unknown" ]
permissive
google/orbit
02a5b4556cd2f979f377b87c24dd2b0a90dff1e2
68c4ae85a6fe7b91047d020259234f7e4961361c
refs/heads/main
2023-09-03T13:14:49.830576
2023-08-25T06:28:36
2023-08-25T06:28:36
104,358,587
2,680
325
BSD-2-Clause
2023-08-25T06:28:37
2017-09-21T14:28:35
C++
UTF-8
C++
false
false
8,072
cpp
AccessTraceesMemoryTest.cpp
// Copyright (c) 2021 The Orbit 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 <absl/strings/numbers.h> #include <absl/strings/str_format.h> #include <absl/strings/str_split.h> #include <gmock/gmock.h> #include <gtest/gtest...
782700c45509d83cad5d8e15d2275e08cd69c445
9da9440bfde05266df9ad6c62983873326bb86e3
/cpp/L3/tofile/tofile.cpp
806fb647d60461f30848617c22e597b45fe3302f
[]
no_license
liruicrecky/Linux
76a49bb76f1a83f83fc56a01bbac4c39dcb89dd4
4373bbefd84a3e0d7a36c836f3c743a4ba79f979
refs/heads/master
2021-01-01T19:51:44.724089
2015-04-10T15:00:18
2015-04-10T15:00:18
30,750,177
5
0
null
null
null
null
UTF-8
C++
false
false
585
cpp
tofile.cpp
/************************************************************************* > File Name: tofile.cpp > Author: Reacky > Mail:3277632240@qq.com > Created Time: Fri 06 Mar 2015 08:10:19 PM CST ************************************************************************/ #include<iostream> #include<string> #include<fstre...
e68c432ec6900a2d7215a5b93b1814d2a7721a04
7b6939c937499bacbf8bcd12415e4efc27a3546b
/Cheap Travel.cpp
ea77948c0c10be6cc1b00f50d163e33f168b8c59
[]
no_license
tasneemria/Codeforces_Solved
0c2f18c5e3b3a17a532066df535abcd9221184a8
fd54a828b14cf1d1c84d3a95d5726956caf3bc50
refs/heads/master
2021-07-18T02:01:13.848335
2017-10-19T06:52:54
2017-10-19T06:52:54
107,508,992
2
1
null
null
null
null
UTF-8
C++
false
false
525
cpp
Cheap Travel.cpp
#include<bits/stdc++.h> using namespace std; int main() { double n,m,a,b; cin>>n>>m>>a>>b; if(a<=(b/m)) { cout<<(int)(n*a)<<endl; } else { int ans = ceil(n/m); double ans2,need; int mod; mod = ((int)n)%((int)m); ans2 = a*mod; ...
3f02ea978d662cd204b12aba347983393d34cd0f
a1cefb58d2359315c0efba047f6d8f3f6bc74962
/src/Semaphore.cpp
1d6c8bca708d6e49dae5e6ebbd4139b3f8fa0875
[ "MIT" ]
permissive
marcovas/mlib
2321671f7bd4d986b86ffc36f5eef4be9496d409
56ccaffa7a2d47c4b62207ce4bdba4a7a24b64a3
refs/heads/master
2020-07-04T06:37:32.632478
2020-04-26T22:16:55
2020-04-26T22:16:55
66,155,277
0
0
null
null
null
null
UTF-8
C++
false
false
755
cpp
Semaphore.cpp
#include "Semaphore.h" namespace mlib { Semaphore::Semaphore(unsigned int i): initialCount (i), closed(false) { #ifndef _WIN32 sem_init (&semID, 1, initialCount); #else handle = CreateSemaphore (0, initialCount, 300, 0); #endif } bool Semaphore::Wait() { if (closed) return false; #ifndef _WIN32 sem_wait ...
aa31dbd6f09a73a519295a4892d600a9a6d49cd6
dd77ce77cf8897d601f11d54d395cf17096ead27
/Assignments/Assignment5-6/PetShop/PetShop/CsvRepository.cpp
f36a30bc9aafc158fb6d0676418662833248336c
[]
no_license
ecaterinacatargiu/OOP
9ed636e1c8a95ac99576f1b04d1a23eaf4f64b50
14808aa98faf9f03c0890b67106c590f7b482842
refs/heads/main
2023-03-06T22:26:49.993048
2021-02-20T16:20:33
2021-02-20T16:20:33
340,693,797
0
0
null
null
null
null
UTF-8
C++
false
false
591
cpp
CsvRepository.cpp
#include "CsvRepository.h" #include <fstream> #include <iostream> #include <vector> #include <string> CSVRepository::CSVRepository() { } void CSVRepository::writeAdoption() { std::ofstream fout("AdoptionList.csv"); std::vector<Pet> adoptionList = this->getAdopted(); for (auto it : adoptionList) { fout << it.ge...
b4c86f53cd1ebae4b8653ae0bfed4f06a41e1873
85e3b3f2fe0d8f451938c2abe33e941a387890a4
/vector_chain.cpp
771a1c9b718a6dca16a6958c42c400a23038bd63
[]
no_license
juanjoseamaker/RotaryVectors
1b9ad2e5f8a7b80602d1e9f1157aa5493f61d908
c310da7d2a29c6fa850d0b05291edd618646192c
refs/heads/main
2023-05-30T23:47:37.678984
2021-06-17T18:58:16
2021-06-17T18:58:16
376,194,384
0
0
null
null
null
null
UTF-8
C++
false
false
2,386
cpp
vector_chain.cpp
#include <vector> #include <SDL2/SDL.h> #include <cstdint> #include <cmath> #include "vector.hpp" #include "vector_chain.hpp" using namespace std; #define DEFAULT_VECTOR_MAGNITUDE 100 VectorChain::VectorChain(int x, int y) { posX = x; posY = y; selected = 0; time = 0; running = false; addVector(); } void ...
5d89c80daea8c796d1dc5ebdf3bdd7e5833c8b29
1fdda85a365a07abdd13332ab11cdeb0a9f485cb
/src/was/FormRequestBody.cxx
01a1875918940cc66761cecba899a33acb708053
[]
no_license
CM4all/libcommon
5a568ca3fce1ab985ff2ed9464a044bebb5ec5d5
5827f2ccec15cf1fbdbffab308268fd7d9ac1943
refs/heads/master
2023-08-18T08:15:48.015497
2023-08-17T14:34:48
2023-08-17T14:51:45
95,901,877
19
10
null
2018-02-28T21:16:40
2017-06-30T15:34:34
C++
UTF-8
C++
false
false
699
cxx
FormRequestBody.cxx
// SPDX-License-Identifier: BSD-2-Clause // Copyright CM4all GmbH // author: Max Kellermann <mk@cm4all.com> #include "FormRequestBody.hxx" #include "ExceptionResponse.hxx" #include "ExpectRequestBody.hxx" #include "StringRequestBody.hxx" #include "uri/MapQueryString.hxx" #include <stdexcept> namespace Was { std::mu...
60a8b13da7de27fb3a797ca3a31a16f7e0c456f2
973bca8ad8b005d3460b763add64c35ce4758328
/src/states/StatePlayGame.cpp
6c2f3cbe5b12507b0bd5d147df2cdd808b5479e0
[]
no_license
eivhys/Left-2D-ie
648cf2e2bb7f8feda6abc3df1372ff498329fa5b
0781207e3ab3c91c313ff73e4b6cf8d50d9f18aa
refs/heads/master
2022-01-22T02:36:01.016320
2016-12-16T16:01:02
2016-12-16T16:01:02
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,708
cpp
StatePlayGame.cpp
#include "StatePlayGame.h" StatePlayGame::StatePlayGame(Game *game) : StateBase(game) { initButtons(); } StatePlayGame::~StatePlayGame() { } void StatePlayGame::update(float deltaTime) { } void StatePlayGame::pause() { desktop->RemoveAll(); } void StatePlayGame::resume() { StateBase::resume(); ini...
b5cae44e91cd548959d9b85f04d21e9447c7cec6
aeeba706530c271ef7849f278046c282a4210b95
/TP-Fase1-Test/server/xmlServer.h
d804dea02da20c3b2c9182fa65e3cb0d015e2799
[]
no_license
Titolasanta/Zafiro
7a4ede6f92f2dc4e940f2303fb052b15da89c08e
75a192de88c348e575a648ce7b1dc4213937a168
refs/heads/master
2020-03-27T03:54:20.787065
2018-11-21T22:25:21
2018-11-21T22:25:21
145,897,804
0
0
null
null
null
null
UTF-8
C++
false
false
697
h
xmlServer.h
// // Created by tito on 11/10/18. // #ifndef TP_FASE1_TEST_XMLSERVER_H #define TP_FASE1_TEST_XMLSERVER_H #include "../common/pugixml.hpp" #include "../common/Scene.h" #include "Model.h" void cargar_plataformas(pugi::xml_document &doc, Scene& scene, Model &modelo, int level, int limite_vertical, int limite_horizont...
676a64c483c66e55d07b6cbf17547e3e8cc3581c
7cb0c74386cb08ae52b8e0c2233081f1cc6ac5fb
/0027-Remove-Element/leetcode27.cpp
e6d0d3492102b41ace9f74d80bc0a6ddf57bb4bc
[]
no_license
DoubleYanLee/MyLeetcodeAnswer
689886ce5d77936c4c5c5770d0f5654f0e182799
776af36b1a7f2ad0f3c2fd13a96a238a1ed81788
refs/heads/master
2023-02-13T11:29:24.163498
2021-01-10T14:25:56
2021-01-10T14:25:56
298,725,827
0
0
null
null
null
null
UTF-8
C++
false
false
1,318
cpp
leetcode27.cpp
// // Created by Yannie Lee on 2020-09-23. // #include <iostream> #include <vector> #include <map> #include <numeric> #include <queue> #include <ctime> #include <stack> #include <unordered_set> #include <unordered_map> using namespace std; class Solution { public: int removeElement(vector<int>& nums, int val) { ...
72daba7379fa862076cd2dace3638bf88fa14499
3d1364484f490017629447873461ec9250b2193d
/EHC/src/rts/mm/basic/dll.cc
3a6f43ebf76172989bd793380aaea94b8f93a10d
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
UU-ComputerScience/uhc
531871caa7f24e098bf76e615907955701308464
f2b94a90d26e2093d84044b3832a9a3e3c36b129
refs/heads/master
2021-08-27T22:35:55.556118
2018-01-01T22:34:54
2018-01-01T22:34:54
4,096,511
102
18
null
2021-08-18T21:20:35
2012-04-21T14:05:31
Haskell
UTF-8
C++
false
false
1,002
cc
dll.cc
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%% Memory management: Doubly linked list %%% see associated .ch file for more info. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%[8 #include "../../rts.h" %%] %%%%%%%%%%%%%%%%%...
b76e2a5f1bdbf69b2bcaea4e8ecfe0cfebbe1d67
7888f2f75d277c64bfc71009ec0eb32bc45a1681
/Arquivos_Curso_Arduino/arduino_aulas_72/code/Aula_72/Aula_72.ino
15314ccb0280ea2a41a289c50f4a407001b21aa3
[ "MIT" ]
permissive
maledicente/cursos
bba06a0d09037fd8cae69927c996805d513ddb25
00ace48da7e48b04485e4ca97b3ca9ba5f33a283
refs/heads/master
2023-08-12T03:01:02.799974
2021-10-11T14:29:35
2021-10-11T14:29:35
273,795,405
1
0
null
null
null
null
UTF-8
C++
false
false
268
ino
Aula_72.ino
#define pinorele 7 #define pinosom 4 bool rele; void setup() { pinMode(pinorele,OUTPUT); pinMode(pinosom,INPUT); rele=false; digitalWrite(pinorele,rele); } void loop() { if(digitalRead(pinosom)==HIGH){ rele=!rele; } digitalWrite(pinorele,rele); }
32062c20be8f183f002eaae707553a8c0156eb83
f8487e487684f4bc51f53b73c9080344bcb69c64
/src/167.cpp
403274daf38e0c365d555767eec7d5b28d0f0016
[]
no_license
export-default/uva-problems
7a7c1def58d14fa38a953e35f7cf9e457ad727be
c66b492e0cfa1c0c88d6c2434f546d074f36449c
refs/heads/master
2021-05-29T06:26:44.946585
2015-06-24T07:51:39
2015-06-24T07:51:39
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,137
cpp
167.cpp
#include <iostream> #include <cstring> #include <vector> #include <array> #include <cmath> #include <algorithm> #include <iomanip> // https://uva.onlinejudge.org/external/1/167.html constexpr int N = 8; int board[N][N]; int pos[N]; int maxsum = -1; bool place(int r, int c) { for (int i = 0; i < r; ++i) { ...
2fc8ce80dc5fcb9fbfdc2bf2385b44689cf4a1c4
7f597f759afc110477cf4779a9d3f0b1e6e4c096
/DuggooEngine/src/utils/file_io.cpp
01e2b6f5cc1c67698be2ca385661abf6f8e8a686
[]
no_license
Zn0w/DuggooEngine
52454fa08b10f5abd085e6b0774c85ef19a41c92
64fe037176f52d7c7f0ba872927271e00254b3ec
refs/heads/master
2020-04-03T03:38:24.670435
2019-10-23T06:33:13
2019-10-23T06:33:13
154,991,353
0
0
null
null
null
null
UTF-8
C++
false
false
570
cpp
file_io.cpp
#include "file_io.h" namespace dg { std::string readFile(const char* filepath) { FILE* file = fopen(filepath, "rt"); // rt stands for 'read text' fseek(file, 0, SEEK_END); // go to the end of file unsigned long length = ftell(file); // tell the amount of passed bytes char* data = (char*)malloc(length +...
997996b10491286252a65dc2f22cc9fe3ebc5107
2b1711e7cca1fdd5125d0fbb614e2a4f11b281d4
/paymasters.cpp
273234262d6032f3d0f534cce0199c676840229c
[]
no_license
Depik400/Kursovoi
86769b7a6d4ae487e8c0ddcf627e8fb202e1191d
c84115f3fec683ff22fd493cc8356fc9416131d3
refs/heads/master
2020-12-01T02:55:25.473980
2019-12-28T02:13:48
2019-12-28T02:13:48
230,545,838
0
0
null
null
null
null
UTF-8
C++
false
false
1,558
cpp
paymasters.cpp
#include "paymasters.h" #include "ui_paymasters.h" #include "admins.h" #include "anyStruct.h" #include "admintableplanes.h" #include "userlist.h" #include "passengertable.h" paymasters::paymasters(QWidget *parent) : QMainWindow(parent), ui(new Ui::paymasters) { ui->setupUi(this); ui->BackT...
2fc78961920bc5fa794bf5dbe1ba1cef299b3f14
2fec3c84e6b2fa675857e00cc6dc0aaacc8dc969
/ObjectARX 2016/inc/dbid_ops.h
ebe393b95f8a1f65b12d87d74275b32676c5ea0c
[ "MIT" ]
permissive
presscad/AutoCADPlugin-HeatSource
7feb3c26b31814e0899bd10ff39a2e7c72bc764d
ab0865402b41fe45d3b509c01c6f114d128522a8
refs/heads/master
2020-08-27T04:22:23.237379
2016-06-24T07:30:15
2016-06-24T07:30:15
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,134
h
dbid_ops.h
////////////////////////////////////////////////////////////////////////////// // // Copyright 2015 Autodesk, Inc. All rights reserved. // // Use of this software is subject to the terms of the Autodesk license // agreement provided at the time of installation or download, or which // otherwise accompanies this ...
b193b6ded81c2d209d5e7850acff19e26825f6f5
dc0df97036f7886d873d6aa63e1e0615b8c72826
/TextureMaterialMapper/TextureMaterialMapper/MaterialClassifier.cpp
962eb58bfff44427a9d654e245eabbe1512da1f1
[]
no_license
MinGleP/KHU_TM
8eae325bb3b09fc7590c0b6ee5a327f06955ed7a
1c5ad02964be05c991c7def2b1c16eb5223d40a2
refs/heads/main
2023-05-01T05:18:59.378338
2021-05-21T10:45:58
2021-05-21T10:45:58
355,133,306
0
0
null
null
null
null
UTF-8
C++
false
false
123
cpp
MaterialClassifier.cpp
#include "pch.h" // use stdafx.h in Visual Studio 2017 and earlier //#include "TextureMapper.h" //#include "FileManager.h"
4dea8f835a0416d80a496595c111614e24912b15
ab021d5d256716c11aecdeb3dd0d57873c61328a
/application/browser/application_service.cc
e4c60057b6243d06728de92c75afc75295d2c4bb
[ "BSD-3-Clause" ]
permissive
dp7/crosswalk
2bf22d1e6eab0029e50db21e499b49b6505f571d
507ecac2e06c8abefbaa5b27e72836da34c7429f
refs/heads/master
2021-01-21T06:11:08.911926
2014-09-04T12:55:15
2014-09-04T12:55:15
null
0
0
null
null
null
null
UTF-8
C++
false
false
9,694
cc
application_service.cc
// Copyright (c) 2013 Intel Corporation. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "xwalk/application/browser/application_service.h" #include <set> #include <string> #include <vector> #include "base/containers/hash_tables.h" ...
a2f2b9272e24c24db81ee2a8ab937e25a5844fc7
c64016ec8ae73ce00f022dc4825fac590822ee85
/test.cpp
6aca772e4a5d22c6eaf5395989369cc49872bb0e
[]
no_license
YXDsimon/DS-hw4
4063b0a06d3ab04c8ff23348921d6048a49ac1ac
2996cc9e5999175211362aec753c4f82a91166f2
refs/heads/master
2023-01-07T05:22:32.582382
2020-11-03T13:56:57
2020-11-03T13:56:57
309,702,910
0
0
null
null
null
null
UTF-8
C++
false
false
212
cpp
test.cpp
#include <iostream> #include <string> using namespace std; int main() { string b="abcdefg"; for (string::iterator Ib = b.begin(); Ib != b.end(); Ib++) { cout<<*(b.begin()+1)<<endl; } }
986bbf887ceeb0f7be4246b61301946082ab2a7e
be20587040294afb5724a301333d6eb6aee97291
/lib/Gripper/Gripper.cpp
4bc627932ce5d1c11dacfa5187392aaa993e41d6
[ "MIT" ]
permissive
smart-scaffolding/inchworm_embedded
d575bb9ce957884e139d630db92cf98706fb9c17
04fe08551c6d259c01d14e320f01e374255016ee
refs/heads/master
2021-08-18T14:00:40.598470
2020-09-13T11:17:03
2020-09-13T11:17:03
221,782,662
0
1
null
2020-02-12T00:14:20
2019-11-14T20:38:13
C++
UTF-8
C++
false
false
5,034
cpp
Gripper.cpp
/******************************************************************* * Gripper library that allows to enagage and disengage the grippers * of the robot. This code is designed for the Vex 29 motor controllers. * * April 2020 - Josue Contreras and Trevor Rizzo, Swarm Construction MQP *************************************...
d95b0ff6972f8333ef3590ee50cca9c4ec136104
caf47e5b0907cf7e43a7b71354f834caafd86ba7
/Competitive-Programming/SPOJ/SHAKTI.cpp
751205d385b3063118102ede462efa5d827ecdc5
[]
no_license
RudraNilBasu/C-CPP-Codes
f16b2ac72a0605eac6ffb65c20180baa7193b45f
9412123da4ded00fac9b5c7ab14eae3f9727dace
refs/heads/master
2021-03-13T01:53:05.550539
2018-03-31T17:54:38
2018-03-31T17:54:38
37,644,826
1
2
null
2019-08-26T21:00:29
2015-06-18T07:34:54
C++
UTF-8
C++
false
false
322
cpp
SHAKTI.cpp
#include<stdio.h> using namespace std; int a[1000001]; void pre() { a[1]=0; // sorry int i; for(i=2;i<=1000000;i++) { a[i]=!a[i-1]; } } int main() { pre(); int t,n; scanf("%d",&t); while(t--) { scanf("%d",&n); if(a[n]) { printf("Thankyou Shaktiman\n"); } else { printf("Sorry Shaktiman\n"); } } ...
e3a04bc85f50bf42c03526c0b70f7c381e5101cc
55a4fa8f0fe859d9683b5dd826a9b8378a6503df
/item/sah_server/include/base_def.h
ef7b1bf5a0c3c4427ac467f735826f61cf7f8b38
[]
no_license
rongc5/test
399536df25d3d3e71cac8552e573f6e2447de631
acb4f9254ecf647b8f36743899ae38a901b01aa6
refs/heads/master
2023-06-26T05:38:37.147507
2023-06-15T03:33:08
2023-06-15T03:33:08
33,905,442
2
1
null
null
null
null
UTF-8
C++
false
false
3,861
h
base_def.h
#ifndef __BASE_DEF_H__ #define __BASE_DEF_H__ #include <sys/socket.h> #include <sys/epoll.h> #include <pthread.h> #include <time.h> #include <errno.h> #include <string.h> #include <netinet/in.h> #include <sys/types.h> #include <stdio.h> #include <stdarg.h> #include <sys/time.h> #include <dirent.h> #include <fcntl.h> ...
2c358029294bda63c8efb70a8069fda1bd68079f
0eff74b05b60098333ad66cf801bdd93becc9ea4
/second/download/mutt/gumtree/mutt_repos_function_290_mutt-1.6.2.cpp
919270254fda8fb7f433dd126a77ec7793223192
[]
no_license
niuxu18/logTracker-old
97543445ea7e414ed40bdc681239365d33418975
f2b060f13a0295387fe02187543db124916eb446
refs/heads/master
2021-09-13T21:39:37.686481
2017-12-11T03:36:34
2017-12-11T03:36:34
null
0
0
null
null
null
null
UTF-8
C++
false
false
966
cpp
mutt_repos_function_290_mutt-1.6.2.cpp
int mutt_account_getpass (ACCOUNT* account) { char prompt[SHORT_STRING]; if (account->flags & M_ACCT_PASS) return 0; #ifdef USE_IMAP else if ((account->type == M_ACCT_TYPE_IMAP) && ImapPass) strfcpy (account->pass, ImapPass, sizeof (account->pass)); #endif #ifdef USE_POP else if ((account->type == M_AC...
ad19ec2258a716d852b58f0698863a74ae120303
8509dee8ec888fc4c55b3234f1d3c044e64bb00b
/Proj/Project 1/Prepping to make the game/Create Lists/Create Game Pieces/main.cpp
f4161157c9eced85c2fde08e20e1a4482a1c7940
[]
no_license
SonyaSmalley/SmalleySonya_CSC5_40514
5a6ab88b65fcf68753be01e2f84568a70f7c1519
13ebe936d86267c9954830d4ae223df5aacb11dc
refs/heads/master
2022-10-01T06:20:59.401025
2020-06-08T02:13:27
2020-06-08T02:13:27
257,962,556
0
0
null
null
null
null
UTF-8
C++
false
false
779
cpp
main.cpp
/* * File: main.cpp * Author: Sonya Smalley * Created on April 17, 2020, 4:59 PM * Purpose: Create a file holding the list of game pieces */ //System Libraries #include <iostream> #include <fstream> using namespace std; //Execution Begins Here int main(int argc, char** argv) { //Declare Variable Data Types ...
958e8708dad9faccb113f347f271568580c037da
769b8509608dcd5443b0de02064108cef82ffd59
/Raytracer/main.cpp
188ae703b0c06377e5156498041bbec928da9de9
[]
no_license
gwengomez/Raytracer---version-ok
60509c603210af6cdde2d33b31d6c661f6d19680
f6029a8174f2293094668757f63e0756417c6c46
refs/heads/master
2021-07-07T23:30:58.889925
2017-10-04T09:42:21
2017-10-04T09:42:21
105,752,708
0
0
null
null
null
null
ISO-8859-1
C++
false
false
4,957
cpp
main.cpp
#include<string> #include <iostream> #include <vector> #include "Vecteur3D.h" #include "Utils.h" #include "Ray.h" #include "Sphere.h" #include "Scene.h" #include "Box.h" #include <time.h> #include <omp.h> #define M_PI 3.14159265 int main() { /*Vecteur3D vecteur0 = Vecteur3D(0, 0, 0); Vecteur3D vecteur1 = Vecteur3D(1...
78a0f331f0db9b192ce3876c8276b31ccc1220da
81de7d09d92e602d32055b5e84c12d07034e99ce
/Tree(트리)/1068_트리.cpp
f9d44d6c2ae179d26be75757f773c89e02a4072d
[]
no_license
newdeal123/BOJ
13499fe476ae1aee2b3174e147b4fafbc071985b
20a161e46018fc1baba1710f36d3d29fa3bf20db
refs/heads/master
2021-08-08T15:41:57.601898
2021-06-30T14:41:14
2021-06-30T14:41:14
164,074,479
5
0
null
null
null
null
UTF-8
C++
false
false
1,818
cpp
1068_트리.cpp
//트리에서 리프 노드란, 자식의 개수가 0인 노드를 말한다. // //트리가 주어졌을 때, 노드 중 하나를 제거할 것이다.그 때, 남은 트리에서 리프 노드의 개수를 구하는 프로그램을 작성하시오. // //입력 //첫째 줄에 트리의 노드의 개수 N이 주어진다.N은 50보다 작거나 같은 자연수이다. //둘째 줄에는 0번 노드부터 N - 1번 노드까지, 각 노드의 부모가 주어진다.만약 부모가 없다면(루트) - 1이 주어진다.셋째 줄에는 지울 노드의 번호가 주어진다. // //출력 //첫째 줄에 입력으로 주어진 트리에서 입력으로 주어진 노드를 지웠을 때, 리프 노드의 개수...
2b50010e44a3b42a28956175cf690b61612a8577
dd43b3ef02d5225d57f163c94f6a8e0101451d2d
/src/light/lights.h
8b20088ddb20a25208fefc88a27a7b04db451037
[ "Apache-2.0" ]
permissive
onc/oncgl
440714117c1361f64f89a3778df557bd9b05130f
521de02321b612e1741a9f3bc6ee6c1a5ae2950b
refs/heads/master
2021-01-01T16:35:29.955888
2019-01-04T21:13:59
2019-01-04T21:15:35
35,438,140
2
0
null
null
null
null
UTF-8
C++
false
false
1,384
h
lights.h
#ifndef ONCGL_LIGHT_LIGHT_H #define ONCGL_LIGHT_LIGHT_H #include <glm/glm.hpp> namespace oncgl { struct Light { glm::vec3 color; float ambient_intensity; float diffuse_intensity; Light() { color = glm::vec3(0.0f); ambient_intensity = 0.0f; diffuse_intensity = 0.0f; } }; struct DirectionalL...
da26e9b595337babfe1f0225c7fec54cf75f6972
53eae972ba1aae7252930fe7d9e2ed6e96fbfec7
/plugboard.cpp
831d4c75fa2ff40707abf16ccbe54e2662245fe6
[]
no_license
lohyenjeong/Enigma
64e0c127caee77ca0255d5afeafb920c427523b5
24f84730755e3a5b318eaa6c55d16a9f7d4aa09f
refs/heads/master
2020-04-03T09:55:32.398403
2016-06-14T01:14:04
2016-06-14T01:14:04
61,080,560
0
0
null
null
null
null
UTF-8
C++
false
false
1,754
cpp
plugboard.cpp
#include <iostream> #include <fstream> using namespace std; #include "errors.h" #include "plugboard.h" //Function that calls other helper parameters to check the validity of the data //Returns the relevant error_code if there is an error //Else returns NO_ERROR int Plugboard :: check_file(ifstream &data_map){ int ...
5b4a0d3ade2a10140349144e7c0c9002519c767a
dc81c76a02995eb140d10a62588e3791a8c7de0d
/HiFreTrade/ShFuGateway/PositionDetailMsg.h
55405d347db0c75528349ae0c512b303d91089e5
[]
no_license
xbotuk/cpp-proto-net
ab971a94899da7749b35d6586202bb4c52991461
d685bee57c8bf0e4ec2db0bfa21d028fa90240fd
refs/heads/master
2023-08-17T00:52:03.883886
2016-08-20T03:40:36
2016-08-20T03:40:36
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,512
h
PositionDetailMsg.h
#pragma once #include "message.h" #include "EntityStructs.h" #include "ThostFtdcUserApiStruct.h" class CPositionDetailMsg : public CMessage { public: CPositionDetailMsg(void); ~CPositionDetailMsg(void); const PositionDetail* InnerStruct() { return &m_innerData; } void SetData(CThostFtdcInvestorPos...
926ac6241aada4df470e585332d6abfa56665313
f6d562eca6596cd8fc7cf982a63e64116976ea74
/crabpong/main.cpp
6fd7131b2990b6ecb936d1d817d263a76fdf0035
[]
no_license
karthikramesh18/Crab_Pong
3b3d6eb5b9c12ca97eeff0a0c1a2686d9375fde2
3db4c6a655f24cc776107d761c04cced1522ec1b
refs/heads/master
2023-01-01T04:53:53.226187
2020-10-28T14:37:26
2020-10-28T14:37:26
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,533
cpp
main.cpp
#include <cstdlib> #include <ctime> #include <iostream> #include <math.h> #include <stdlib.h> #ifdef __APPLE__ #include <OpenGL/OpenGL.h> #include <GLUT/glut.h> #else #include <GL/glut.h> #endif #include "gamedrawer.h" using namespace std; const float PI = 3.1415926535f; //The number of milliseconds between calls...
7c873a63f424b19f49f08f86a2228f42941391a5
821c3f6235def5b6f7e9d214c3abdcbba3276015
/Maman11/Source.cpp
9a4dfb8e3e91e60c2d5e92a2e287198cc686302b
[]
no_license
mtwig95/basics-Graphics
cbed53eafbca2ea7fb0d6032d3d439d9781ed607
ed076e94a7df7e81a9606cc1608049dfa5a61816
refs/heads/main
2023-08-24T00:34:52.771565
2021-09-13T17:22:09
2021-09-13T17:22:09
null
0
0
null
null
null
null
UTF-8
C++
false
false
8,684
cpp
Source.cpp
#include <GL/glut.h> #include <GL/gl.h> #include <GL/glu.h> #include <windows.h> #include <stdlib.h> #include <iostream> #define WINDOW_WIDTH 800 #define WINDOW_HEIGHT 700 #define WINDOW_X_OFFSET 0 #define WINDOW_Y_OFFSET 0 void init() { glClearColor(0.2, 0.61, 1.0, 0.0); // display window color glM...
b4d76c0275f19dbbfdcf1b2f2435d5866be1bd3c
e5f21b933297a05f101af5ee27423c630013552d
/mem/cache/replacement_policies/ReplacementPolicies.py.cc
ba401895e939774ecdb4f4cb40c1207ef733bf25
[]
no_license
zhouzhiyong18/gem5
467bf5a3dc64a2a548d6534fae0196054fc5a9c1
1eeffe8030e45db6b4cd725ffb3dc73d5d04617d
refs/heads/master
2020-11-24T14:24:02.868358
2020-02-25T09:23:21
2020-02-25T09:23:21
228,190,356
0
1
null
null
null
null
UTF-8
C++
false
false
4,792
cc
ReplacementPolicies.py.cc
#include "sim/init.hh" namespace { const std::uint8_t data_m5_objects_ReplacementPolicies[] = { 120,156,197,87,109,111,219,54,16,62,249,45,182,19,59,110, 154,151,173,109,6,245,75,225,181,69,60,20,232,176,13,195, 48,184,155,177,0,75,106,48,233,94,252,97,130,44,210,181, 90,201,18,36,185,139,247,181,251,...
49d51b6b7f75f64719c70635d44f7870e6a8fa69
cd908f420621e976be211a2b6a8943c0091982ed
/Source/TurnRoll/MyGameInstance.h
86358ed793849c8bd2b7ec5b22c66863bd17c75c
[]
no_license
yortortle/TurnRoll
ea1c807e915e1b98bc448b0d5ee2d4ada457a9f4
a0fb697b42002ccc87df55dc97e0e29a87c8c276
refs/heads/master
2023-01-20T21:10:39.476812
2020-12-03T00:47:30
2020-12-03T00:47:30
316,487,520
0
0
null
null
null
null
UTF-8
C++
false
false
1,616
h
MyGameInstance.h
// Fill out your copyright notice in the Description page of Project Settings. #pragma once #include "CoreMinimal.h" #include "CharacterState.h" #include "Engine/GameInstance.h" #include "MyGameInstance.generated.h" UCLASS() class TURNROLL_API UMyGameInstance : public UGameInstance { GENERATED_BODY() UMyGameInst...
43d297e0547fe8db162d35fbc92984ef2e25c866
8d6eb3df9a1c9366f71b684d8d71565904716d57
/2018夏季度/获取阶乘的商的尾数/获取阶乘的商的尾数/demo.cpp
23ac46288bdde650488c3f7c024ec70eb83ef8fb
[]
no_license
PrimarySS/ACM-ICPC-Part2
0087aee60bc9fc3232bc87ec0bf5daa384dd3085
ad459c341ff46bae49f19c56504501fd8a82302d
refs/heads/master
2020-03-28T20:37:46.118708
2018-09-17T08:08:37
2018-09-17T08:08:37
149,088,787
2
0
null
null
null
null
GB18030
C++
false
false
907
cpp
demo.cpp
/* As the answer can be quite large, it would be enough for Koyomi just to know the last digit of the answer in decimal representation. And you're here to provide Koyomi with this knowledge. Input The first and only line of input contains two space-separated integers a and b (long long). Output Output one line ...
a07010bd6aef725acff8f383f637f0f738a99add
904ab19e76feb94da8f62f1996af4418ca300fc9
/Проект№5.cpp
40b7185eec2f4a88d8576d3fef82ec3d3281d95f
[]
no_license
Sergey-Chushev/Task
fbf86ac720391b2baa10f37eb2e7c698a2694888
ef0a2d2abfc2e882075611caaefed00bf2e5b071
refs/heads/master
2020-07-30T10:25:30.103119
2020-01-17T20:16:37
2020-01-17T20:16:37
210,192,461
1
0
null
null
null
null
UTF-8
C++
false
false
275
cpp
Проект№5.cpp
 #include <iostream> using namespace std; int main() { double X, x, v, t, a; cout << "x = "; cin >> x; cout << "v = "; cin >> v; cout << "t = "; cin >> t; a = -9.8; cout << "X = " << x + v * t + a * t * t / 2; return 0; }
87d7bec9ed050a18ba386304d0df90fca48b7806
0f2aa1ab8e12967951c202b4a4486a8f6b17ec27
/Mp3Image.cpp
6ff497f9b12c7c05146dec5c34c5ce173d343ff6
[]
no_license
otoboku/oggYSEDbgm
665d310157039816d73880d0af35b0943543467a
852c5f01919c1c692ae2003cd92df040f580c6ea
refs/heads/master
2021-01-10T05:59:55.582997
2015-11-21T12:41:45
2015-11-21T12:41:45
47,119,086
1
0
null
null
null
null
SHIFT_JIS
C++
false
false
11,463
cpp
Mp3Image.cpp
// Mp3Image.cpp : 実装ファイル // #include "stdafx.h" #include "ogg.h" #include "Mp3Image.h" #include <vorbis/codec.h> #include <vorbis/vorbisfile.h> extern BOOL miw; extern CMp3Image *mi; extern int killw1; extern OggVorbis_File vf; void CMp3Image::OnNcDestroy() { CDialog::OnNcDestroy(); // TODO: ここに...
c7478adfd1d270759a8a47927b3588b655973d7f
da81185b72e228a9427b034b90c0c72f6bd99452
/Filter_network/Filter_network.cpp
27e6eae88375849a0ff14ddd8a81626add9971f8
[]
no_license
kkirsanov/visual-process-connector
dd8ff0da1de4119c227a337f55fad952d5642795
fcadc49bd9ce948d1eff8421af7851245569aa29
refs/heads/master
2020-03-24T21:00:00.319170
2018-07-31T12:03:53
2018-07-31T12:03:53
143,008,360
1
0
null
null
null
null
WINDOWS-1251
C++
false
false
5,081
cpp
Filter_network.cpp
// Filter_network.cpp : Defines the initialization routines for the DLL. // #include "stdafx.h" #include "Filter_network.h" #include "NetDlg.h" #ifdef _DEBUG #define new DEBUG_NEW #endif // CFilter_networkApp BEGIN_MESSAGE_MAP(CFilter_networkApp, CWinApp) END_MESSAGE_MAP() // CFilter_networkApp...
51b43e1a47f3f5f16a31c9d4adb87f3adaa686fc
35bae09e70265d648d34a9c93d6a3c4c2de91282
/arihon/cyukyu/3_2/3_2_6_a.cpp
ba63efad7b5bb068d1b224ec55dd4cda9a0e799e
[]
no_license
min9813/algorithm_contest
06e2055776c9ba969a59e31a4512146f26391be5
6f565a118150c1207cea014a5608a68f79899dd6
refs/heads/master
2020-12-27T04:55:16.091152
2020-10-31T07:27:14
2020-10-31T07:27:14
237,772,690
0
0
null
null
null
null
UTF-8
C++
false
false
1,633
cpp
3_2_6_a.cpp
#include <iostream> #include <functional> #include <cstdio> #include <algorithm> #include <cmath> #include <vector> #include <string> #include <set> #include <queue> #include <map> #include <iomanip> #include <complex> // #include <prettyprint.hpp> using namespace std; #define rep(i,n) for(ll i=0;i<n;++i) #define repi(...
61ce2f2a16e881b3df55ca050d5c538aff3881b3
9cda3afaca2031392dc82fc683d52edf5fed999a
/DirectX11_Starter/Bullet.cpp
3ef29aab008b2fca0030f016b0e62d4b020a1f6c
[]
no_license
Rek3650/Engines-Project
b6b60d1538e8be98c5f85ac00f89714cc9a24140
aee7d1214025cc48ed8ffeb578be9eb67ccde0a5
refs/heads/master
2016-09-10T22:10:15.708514
2015-05-18T23:41:19
2015-05-18T23:41:19
31,022,042
0
0
null
null
null
null
UTF-8
C++
false
false
850
cpp
Bullet.cpp
#include "Bullet.h" Bullet::Bullet(GameEntity* _graphics) { graphics = _graphics; lifeSpan = 5; timeAlive = 0; direction = XMFLOAT3(0, 0, 0); speed = 20; gravity = 1; active = false; onGround = false; } Bullet::~Bullet(void) { } void Bullet::Fire(XMFLOAT3 dir) { direction = XMFLOAT3(dir.x, 0, dir.z); a...
dafd30196396d4e31ce7aca50f1dedf9c6d768a4
9d729a5b30e9f7439595aaa8748382393592fb54
/src/libws_diff/DiffPrinter/diffPrinter.cc
95e643a5b603e04956b97a08bd04060478440328
[ "Apache-2.0" ]
permissive
isabella232/mod_dup
40f2fd2b57bbeb052e6e0935693a8719664e30cf
531382c8baeaa6781ddd1cfe4748b2dd0dbf328c
refs/heads/master
2023-06-05T09:41:29.270680
2019-03-18T09:31:11
2019-03-18T09:31:11
379,221,853
0
0
Apache-2.0
2021-06-22T10:36:44
2021-06-22T09:59:09
null
UTF-8
C++
false
false
905
cc
diffPrinter.cc
/* * diffPrinter.cc * * Created on: Apr 8, 2015 * Author: cvallee */ #include "diffPrinter.hh" #include "jsonDiffPrinter.hh" #include "multilineDiffPrinter.hh" #include "utf8JsonDiffPrinter.hh" namespace LibWsDiff { diffPrinter* diffPrinter::createDiffPrinter(const std::string& id, const diffTypeAvailab...
834d453652b71ddcff1308054db4cc0ce35dec70
d14b5d78b72711e4614808051c0364b7bd5d6d98
/third_party/llvm-16.0/llvm/include/llvm/MC/MCPseudoProbe.h
f5796f5c7948d28af348f11dde337aae30778555
[ "Apache-2.0" ]
permissive
google/swiftshader
76659addb1c12eb1477050fded1e7d067f2ed25b
5be49d4aef266ae6dcc95085e1e3011dad0e7eb7
refs/heads/master
2023-07-21T23:19:29.415159
2023-07-21T19:58:29
2023-07-21T20:50:19
62,297,898
1,981
306
Apache-2.0
2023-07-05T21:29:34
2016-06-30T09:25:24
C++
UTF-8
C++
false
false
15,274
h
MCPseudoProbe.h
//===- MCPseudoProbe.h - Pseudo probe encoding support ---------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------...
c3a5c08a4dd227124192bce67b7a729f78db6b1e
f81124e4a52878ceeb3e4b85afca44431ce68af2
/re20_2/processor32/10/U
ac94dbbe06dc787cd1abaef8498ea79c8c1bf326
[]
no_license
chaseguy15/coe-of2
7f47a72987638e60fd7491ee1310ee6a153a5c10
dc09e8d5f172489eaa32610e08e1ee7fc665068c
refs/heads/master
2023-03-29T16:59:14.421456
2021-04-06T23:26:52
2021-04-06T23:26:52
355,040,336
0
1
null
null
null
null
UTF-8
C++
false
false
21,657
U
/*--------------------------------*- C++ -*----------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: 7 \\/ M anipulation | \*-------...
610eeaefd9cb0201160ed0ed328d080eb6690d50
a760c40ea11a8958aa527f4673522d341abc81d6
/proteintools/proteintools/EnergyEvaluator.cpp
d33ebb3ff1891b12a8acbccc682ebf9fff8d6bbd
[ "MIT" ]
permissive
saliksyed/protein-tools-cpp
9c895ecb6faa25b471a48ffd8920391ae6c1f432
0101d1e0da125bcb36e70291290d25387999e197
refs/heads/master
2021-07-09T22:12:02.756229
2017-10-10T19:11:03
2017-10-10T19:11:03
105,791,034
0
0
null
null
null
null
UTF-8
C++
false
false
1,755
cpp
EnergyEvaluator.cpp
// // EnergyEvaluator.cpp // proteintools // // Created by Salik Syed on 10/8/17. // Copyright © 2017 N/A. All rights reserved. // #include "EnergyEvaluator.hpp" #include <math.h> #include <iostream> float EnergyEvaluator::getEnergy(Eigen::Matrix4Xf * atomParams, Eigen::Matrix4Xf* atoms) { return 0.0; } flo...
6e54ec407f02c244bb787d6ada17479081eb35f3
8c2b2e80ae213c550fa419cd6341eb561f42f505
/scratch/6-csma-cd/apps.cc
0d866d1df22f3152202d9e626078f857739ae400
[]
no_license
codeShaurya/ns3-network-simulator
b776228903cecd48a19c3e2037823c26374c09ba
e8da42204efefffbcdeae56ad7f3b90bc4c83452
refs/heads/master
2020-04-03T06:16:11.691767
2018-11-16T12:48:36
2018-11-16T12:48:36
155,070,236
0
1
null
null
null
null
UTF-8
C++
false
false
5,829
cc
apps.cc
#include <ostream> #include "ns3/core-module.h" #include "ns3/network-module.h" #include "ns3/internet-module.h" #include "ns3/stats-module.h" #include "csmaca-apps.h" using namespace ns3; NS_LOG_COMPONENT_DEFINE("CsmacaApps"); TypeId CsmacaSender::GetTypeId(void) { static TypeId tid = TypeId("CsmacaSender") ...
d6c45fb4bb8f735e4adaf239645e5eda53df459c
e70c94573156f75712dfa6216672610a86a3471e
/CharacterKoopa.h
6a6bd9e37a18f391416d14e149bc33ef67536d41
[]
no_license
Ethan-Greaves/Super-Mario-level
77d6a0198fc74d6f3e9566adc14ef943b39e22d1
c1872980e34fd046f4b5b6992b8b8991e452526d
refs/heads/master
2022-06-15T08:52:32.811938
2019-03-12T22:15:58
2019-03-12T22:15:58
null
0
0
null
null
null
null
UTF-8
C++
false
false
999
h
CharacterKoopa.h
#pragma once #include "SDL.h" #include "Character.h" #include "Texture2D.h" #include "Constants.h" class CharacterKoopa : public Character { public: CharacterKoopa(SDL_Renderer * renderer, std::string imagePath, Vector2D startPosition, LevelMap * map, FACING startFacing, float movementSpeed) : Character(r...
c0627e3d3370d2f716b26daad24930e86a96fbaa
a3c6c8c0a2b324bf867e78e0ca8b322ff8841933
/firmwareGauge/simulation/main.cpp
836d51332409f96237471aa5047ed60be5b489f1
[]
no_license
songcn206/SombreroBms
de79951e8c9a46d859956339436050bc28938aed
f3c33880192616e8d89ace658786e29069518dac
refs/heads/master
2021-09-27T13:28:14.321806
2018-11-09T00:11:30
2018-11-09T00:11:30
null
0
0
null
null
null
null
UTF-8
C++
false
false
676
cpp
main.cpp
//#include <iostream> #include <unistd.h> #include <string> #include <list> #include <time.h> #include <pthread.h> #include <SDL2/SDL.h> #include <SDL2/SDL_ttf.h> #include "gfxareas.h" #include "keypress.h" #include "app.h" #include "sdlcalls.h" using namespace std; void main_loop(Cappdata *app) { while (!app->m...
fb6ae17afc01cc396c36525ec01b27ac50957bdd
cc0800273b691e6fb33f47729dcc1409aa3ba1c2
/c언어/Plus Plus.cpp
cda62194304f47df7868987be106ff7862f1faf4
[]
no_license
munyeol-Yoon/C-practice
525e8c89dff49783a2faafb9b92239db9dc0527b
6f0a563d321aa0a6b66701a8e3f859d8c768eef7
refs/heads/master
2020-07-10T12:10:23.241448
2019-08-25T07:20:54
2019-08-25T07:20:54
204,260,108
0
0
null
null
null
null
UHC
C++
false
false
333
cpp
Plus Plus.cpp
#include <stdio.h> int main(void) { int x = 0; printf("현재의 x 는 %d 입니다.\n", x); x++; printf("현재의 x 는 %d 입니다.\n", x); printf("현재의 x 는 %d 입니다.\n", x--); printf("현재의 x 는 %d 입니다.\n", x); printf("현재의 x 는 %d 입니다.\n", --x); return 0; }
37da8546865a1ccfca12cb5e2cf65da401d5a269
2d36522eb41d861d52fd4236cf6936fae451db32
/Shooter/Map/Map.h
fd949f05837269041cc4f9606442a2ed84811760
[ "BSD-2-Clause-Views" ]
permissive
michaelschrandt/personal_projects
3c7413cd1f2d8a9a2603cd484b76ed70a3c32b2c
7d4200176a7ebbff3233a86c870da910217c3a4e
refs/heads/master
2016-09-06T17:30:00.932703
2013-01-03T23:56:15
2013-01-03T23:56:15
null
0
0
null
null
null
null
UTF-8
C++
false
false
545
h
Map.h
// Michael Schrandt // // Map is a 2d grid of tiles. #pragma once #include <iostream> #include <fstream> #include "Tile.h" #include "TileFactory.h" using namespace std; class Map { public: //Map(); Map(std::string); ~Map(); void update() {tileFactory.update(); } int getHeight() { return height; } int getWidt...
0c1c78c4fb99faf2a5e566a3d560300a8ec5e838
e89824729833e518d712186fee0956b91cf9a4f3
/tcp_svr/svr/runner.cpp
9beb1a236c15d3d41c79604570e8a22cb0c6b840
[]
no_license
njuicsgz/cpp
586b1744de130c33b184fa8215a7100dd07b3664
bfa11a0c9444fb91208c785a0f2b9e08ada07e4b
refs/heads/master
2021-01-20T06:56:56.161143
2015-05-05T03:08:41
2015-05-05T03:08:41
24,262,338
0
0
null
null
null
null
UTF-8
C++
false
false
4,888
cpp
runner.cpp
#include <sys/time.h> #include <unistd.h> #include <iostream> #include "runner.h" #include "Helper.h" #include "CSessionMgr.h" #include "limits.h" using namespace network; using namespace std; static const size_t C_READ_BUFFER_SIZE = 4096; CReqAcceptor::CReqAcceptor(CEPoller& epoller, CachedConn& collection, MQ& Q) ...
57fc0f1bb96ef0616e07db9c026c22a390fc43f7
48e4c9712b38a90b819c84db064422e1088c4565
/toolchains/motoezx/qt/include/ezxam/Idle_Setup.h
bb48bb2b4fd20ac831e608f0451b8e90248d201c
[]
no_license
blchinezu/EZX-SDK_CPP-QT-SDL
8e4605ed5940805f49d76e7700f19023dea9e36b
cbb01e0f1dd03bdf8b071f503c4e3e43b2e6ac33
refs/heads/master
2020-06-05T15:25:21.527826
2020-05-15T11:11:13
2020-05-15T11:11:13
39,446,244
0
1
null
null
null
null
UTF-8
C++
false
false
1,225
h
Idle_Setup.h
//write by wangbin wbsecg1@gmail.com /******************************************************** **libezxam.so.1.0.0 **2010年 07月 06日 星期二 18:11:58 CST libraries depends: ezxam,dmnative,ezx-cmseccert,ezxdrmsp,ezxphone *************************************************************/ #ifndef IDLE_SETUP_H #define IDLE_SETUP_H...
d9ae95130e0e88e892ce0fbc56701c8936a1c66d
3c89528fa43ccd6bd22e593eac571aefa00766e0
/src/main/cpp/Balau/Lang/Property/Parser/PropertyScanner.cpp
19c445b2cd28059539277e63575e33f91490f138
[ "BSL-1.0" ]
permissive
pylot/balau
f371e54ec94e7ebc08d973105bd17e052e8a7157
079a7ad4dfa35f179454b543af9d3f10c870f271
refs/heads/master
2020-09-21T15:58:18.897256
2019-11-24T09:00:21
2019-11-24T09:00:21
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,439
cpp
PropertyScanner.cpp
// @formatter:off // // Balau core C++ library // // Copyright (C) 2017 Bora Software (contact@borasoftware.com) // // Licensed under the Boost Software License - Version 1.0 - August 17th, 2003. // See the LICENSE file for the full license text. // #include "PropertyScanner.hpp" namespace Balau::Lang::Property { Pr...
4f48a40ecf8f9d1eb77fae16d228ccede035f53b
85a60704b2db0f56c22b7ebfef71095fe2cd5f15
/src/model/HomeScreenMainDailyModel.h
e20b200aa1297469690b468c352c4ba571b74d71
[]
no_license
FrancisLaiLD/francislai-01
e77caf13bfd3a593bd785adf970e23a88cd62f00
7bea841d686f26441db9031f48881a97052fdb20
refs/heads/master
2020-03-23T18:08:19.686706
2018-09-26T14:25:58
2018-09-26T14:25:58
141,891,523
0
0
null
null
null
null
UTF-8
C++
false
false
2,025
h
HomeScreenMainDailyModel.h
#ifndef HOMESCREEN_MAIN_DAILY_MODEL_H #define HOMESCREEN_MAIN_DAILY_MODEL_H #include <QObject> #include <QDateTime> #include <QQmlApplicationEngine> #include <QQmlContext> #include "../Component/WeatherComponent.h" #include "../Component/DeviceComponent.h" #include "../Common/App_Enum.h" #include "HomeListDeviceModel...
7eaf39a77676a26632cd838fbd49269432056105
54fb1ce2c932fdd4c0155739b922a25e5297bb12
/queueFcn.cpp
45872645bc867b68986883f6d176a82d4ccafdf0
[]
no_license
amirpourshafiee/structs
0c5d66faf3488b8553743593842370a3c119145f
a44b5321e8acb7aed91cedc18768b94145be5bfa
refs/heads/master
2021-01-19T17:16:50.845760
2017-03-03T02:31:09
2017-03-03T02:31:09
82,431,513
0
0
null
null
null
null
UTF-8
C++
false
false
1,122
cpp
queueFcn.cpp
// // queueFcn.cpp // // // Created by amir on 2/18/17. // // // First In First Out #include <stdio.h> #define MAX 50 int que_arr[MAX]; int rear = -1; int front = -1; void enque (){ int add-item; if (rear== MAX-1) pritnf ("QUEUE OVERFLOW!!!") else{ if (front = -1){ front...
3184ad2ded9411c98bf34b48afb4341c77cebcea
6fc5748266fa1fa12d324d192dbc4edda5ea24fc
/code/ghostlib/gh_logger.h
88078a1da724496f6007783708ba8bec23807f69
[]
no_license
abardam/ghost-system
906486d2e1bddcbdd6d697418a89c4eeae9ed3b0
bd221326c890317cf37570a602e8856ed9a0fb91
refs/heads/master
2016-08-08T14:24:27.348627
2015-06-05T00:56:14
2015-06-05T00:56:14
20,339,932
0
0
null
null
null
null
UTF-8
C++
false
false
351
h
gh_logger.h
#pragma once #include <vector> struct Log{ std::vector<int> q; int nminus; int nplus; int nextra1; int nextra2; Log(): nminus(0), nplus(0), nextra1(0), nextra2(0) { }; }; Log ghlog; void addq(int n){ if(n==0) ghlog.nplus++; else if(n==1) ghlog.nminus++; else if(n==2) ghlog.nextra1++; els...
abecdd3cebcb3b3588971427994b61746bdfdfd3
f02a2f65c974c9959f83c9d2e651b661190394c4
/src/Bloch/BlochB.cc
c0c21bb291515361f0b7d5037b315f8dd4725427
[ "BSD-2-Clause", "BSD-3-Clause" ]
permissive
kaustubhmote/gamma
f207afd5f17ebc0a0b66dc82631256c854667e49
c83a7c242c481d2ecdfd49ba394fea3d5816bccb
refs/heads/main
2023-03-14T12:18:59.566123
2021-03-03T17:58:07
2021-03-03T17:58:07
419,639,294
1
0
null
null
null
null
UTF-8
C++
false
false
12,244
cc
BlochB.cc
/* BlochB.cc ****************************************************-*-c++-*- ** ** ** G A M M A ** ** ** ** Bloch Equation B1 and Offset Matrix Implementation ** ** ** ** Copyright (c) 1995 ** ** S.A. Smith ** ** National High M...
77bc5aedee751066dbb56019ad07549a7afced7c
7ce91a98ae434dbb48099699b0b6bcaa705ba693
/TestModule/HK1/Users/20133105/Bai1.cpp
df05e820a4eaa5a3d2df8e8c1772a1a5588a563f
[]
no_license
ngthvan1612/OJCore
ea2e33c1310c71f9375f7c5cd0a7944b53a1d6bd
3ec0752a56c6335967e5bb4c0617f876caabecd8
refs/heads/master
2023-04-25T19:41:17.050412
2021-05-12T05:29:40
2021-05-12T05:29:40
357,612,534
0
0
null
null
null
null
UTF-8
C++
false
false
560
cpp
Bai1.cpp
#include <stdio.h> void tinhdiem1(int x,int y); void nhap(int &x, int &y, int &z , int &t, int &u, int &v ); void xuat(int A,int B,int C); void main () { int x,y,z,t,u,v; nhap(x,y,z,t,u,v); int A,B; tinhdiem1(x,y); xuat(A,B); } void nhap(int &x, int &y, int &z , int &t, int &u, int &v ) { scanf("%d%d%d%d%d%d",&x...
9bad7da364223231a7b77ece5c49235f6fef8711
61b23cadab2249c09fae26cb9485314207f4eab3
/src/frontend/iterators/IteratorUtils.tpp
73682f7dde5e8ddbc07df9c20f96934e7087de8b
[ "MIT" ]
permissive
matthewbdwyer/tipc
c3fc058958b540830be15a2a24321dd4e60f2d69
92bc57d0c2f63e9d14ac6eca3fb28368ed2fa3a5
refs/heads/main
2023-08-17T03:40:51.183052
2023-08-15T21:09:30
2023-08-15T21:09:30
205,929,620
62
32
MIT
2023-09-02T21:38:23
2019-09-02T20:13:09
C++
UTF-8
C++
false
false
1,316
tpp
IteratorUtils.tpp
#include "IteratorImpl.h" namespace IteratorUtils { /*! \fn are_equal * \brief A templated utility to check if to iterators are logically equal. * * Equality means of the same type and at the same point in the traversal process. */ template<typename T> bool are_equal(T *lhs, const IteratorImpl &rh...
e169ca3d97d7edca3cfb538da69cc25bb3bd06d9
0440fcb4ff56e43c4faf855e441e70a99a30186a
/busmaster/Sources/FrameProcessor/FrameProcessor_LIN.h
69e23581b0cb9fc150900caaf6919686f80ea364
[]
no_license
MarcSerraLear/UDS_Busmaster
0383d1d1349dc3d0e29762c1457821807f530b5d
9f624aa11ebc4041d6048088ac02960f38a80293
refs/heads/master
2020-05-17T12:35:02.189914
2014-04-14T13:44:27
2014-04-14T13:44:27
12,892,058
5
2
null
null
null
null
UTF-8
C++
false
false
5,982
h
FrameProcessor_LIN.h
/* * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be us...
b1e6bcd0003607b8db9578987473059f25c6e91d
0d4b5cf2b136202151bed99a93fc25d90ff8635e
/src/aho_corasick/trie.hpp
9ea5efe9516557076c79c6a34277008993633173
[ "MIT" ]
permissive
AdamLutka/php-multisearch
1c2072c2005eb33a22f6d1c43f1cd7b1a5720290
0c0937b7815c91155839500389536d57e61c366c
refs/heads/master
2020-04-24T22:59:45.300426
2019-06-08T13:23:50
2019-06-08T13:23:50
172,329,513
3
0
null
null
null
null
UTF-8
C++
false
false
10,493
hpp
trie.hpp
#ifndef MULTISEARCH_AHOC_TRIE_HPP #define MULTISEARCH_AHOC_TRIE_HPP #include <cstdint> #include <cstddef> #include <vector> #include <queue> #include <algorithm> #include <limits> #include <stdexcept> #define NULL_NODE_INDEX UINT32_MAX #define ROOT_NODE_INDEX 0 namespace multisearch { namespace ahocorasick { te...
829b77360bea79c295c3f5233128066ba1bff020
785df77400157c058a934069298568e47950e40b
/TnbGeo/include/Pnt3dI.hxx
1eb6c9d80076ec767dbf27c4ffa6d6dcc904896a
[]
no_license
amir5200fx/Tonb
cb108de09bf59c5c7e139435e0be008a888d99d5
ed679923dc4b2e69b12ffe621fc5a6c8e3652465
refs/heads/master
2023-08-31T08:59:00.366903
2023-08-31T07:42:24
2023-08-31T07:42:24
230,028,961
9
3
null
2023-07-20T16:53:31
2019-12-25T02:29:32
C++
UTF-8
C++
false
false
1,819
hxx
Pnt3dI.hxx
#pragma once inline std::tuple<Standard_Real, Standard_Real, Standard_Real> tnbLib::Pnt3d::Components() const { auto t = std::make_tuple(X(), Y(), Z()); return std::move(t); } namespace tnbLib { inline Pnt3d operator+(const Pnt3d& P1, const Pnt3d& P2) { Pnt3d Temp = P1; Temp += P2; return std::move(Temp); ...
0b403c86e76af3ea2d491ec4781a43405ab4cb9b
048fe615b129decad471b451313f424734cd5ab6
/mainwindow.cpp
d2b3e0328bb96532b5e96e10004f7154d3678540
[]
no_license
waleramir/CPP-2019-2020-HW10
f9eca99209c43e7b686d6322e9449531fed3f3c9
68b7aebf064dd531f8a30c1081323ee8c6232c35
refs/heads/master
2021-03-30T13:13:02.064026
2020-03-24T06:10:00
2020-03-24T06:10:00
248,057,851
0
0
null
2020-03-17T19:38:07
2020-03-17T19:38:06
null
UTF-8
C++
false
false
2,479
cpp
mainwindow.cpp
#include "mainwindow.h" #include "ui_mainwindow.h" #include "singletonelogger.h" MainWindow::MainWindow(QWidget* parent) : QMainWindow(parent), ui(new Ui::MainWindow) { ui->setupUi(this); } MainWindow::~MainWindow() { delete ui; } void MainWindow::on_RedPushButton_clicked() { SingletoneLogger::GetInstance().Ap...
83759bf47e831a01e54314cfaae256cfc782993c
41352cd56ac6c95d7bb71aca8be26deddfc25549
/101-200/LeetCode 139 Word Break.cpp
222bf3abb12500c4284df3ba5556c4d9e4334653
[]
no_license
xiexnot/LeetCode
6da864d5fb6aa610271bd1f4e8ab30ec7d651877
70a8242a346c7f07e5fcc1810cfaa2ca611eb1a8
refs/heads/master
2021-01-09T21:51:56.457289
2017-03-14T17:28:02
2017-03-14T17:28:02
49,901,278
0
0
null
null
null
null
GB18030
C++
false
false
1,517
cpp
LeetCode 139 Word Break.cpp
#include <iostream> #include <cstring> #include <string.h> #include <vector> using namespace std; class Solution { public: bool wordBreak(string s, vector<string>& wordDict) { int stringSize = s.size(); string tmp_s; //cout << stringSize << endl; vector<bool> isValid(stringSize, fa...
825b8e62ce55d0f655273984bb8676ebe04bde8c
4ed3846c9070925af3be59d40a5ff4af925af492
/melody/melody.ino
10a7b4ae61c8e30f94afe3d4e5f8a0743180da8e
[]
no_license
FSpaceLab/musicalBuzzer
677f03dd1d7acd12680fc7dfeb3567c3143b3252
9b68a96663f161ce46ae60b412857689ada797f3
refs/heads/master
2021-06-26T21:21:17.088835
2017-09-16T19:10:07
2017-09-16T19:10:07
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,785
ino
melody.ino
int buzzer = 9; int button = 2; // ноти та їх частоти int frq[] = {262, 277, 294, 311, 330, 349, 370, 392, 415, 440, 466, 494, 523, 554, 587, 622, 659, 698, 740, 0, 247, 233, 220, 208, 196, 185, 174}; int fa0=frq[26], fa_dies0=frq[25], sol0=frq[24], sol_dies0=frq[23], la0=frq[22], la_dies0=frq[2...
cee1d296192834a91a51933cbd03fc7cac77fd25
c08ef583d7700f734502aa624276046a0f55e63b
/Ficheros/AsteroidsManager.h
4e1d118e3fe1bbeceefdf1fdf130578af19a5235
[]
no_license
jorgerodrigar/Asteroids
9c86577f6a0e6acacf4c314669d37c71699ce7cc
85c6d15a5c59961be896e57fde314c58098df983
refs/heads/master
2021-01-25T11:48:18.492270
2018-04-17T11:05:19
2018-04-17T11:05:19
123,428,212
0
0
null
null
null
null
UTF-8
C++
false
false
1,617
h
AsteroidsManager.h
#ifndef ASTEROIDMANAGER_H_ #define ASTEROIDMANAGER_H_ #include "GameObject.h" #include "Observer.h" #include "Observable.h" #include "ImageRenderer.h" #include "CircularMotionPhysics.h" #include "RotationPhysics.h" #include "checkML.h" //gestor de asteroides class AstroidsManager : public GameObject, public Observer, ...
89a5dda5b7d7a07617265cd236443de8842ac688
372f25110b5e8b629bcea81b6a8ed08dcab3b5f9
/my9291.h
f00e29bd8d18b1c0b0800b3831d5f30725a3b635
[]
no_license
marcin-kasinski/ESPManager
bfdde5a4e835069616c1beae7f75b25b053591e3
40b96859ec431190171df049590a510ab65c98e9
refs/heads/master
2021-06-23T22:28:35.781112
2021-02-09T16:43:55
2021-02-09T16:43:55
203,177,783
1
0
null
null
null
null
UTF-8
C++
false
false
2,905
h
my9291.h
/* #ifndef _my9291_h #define _my9291_h #include <Arduino.h> #ifdef DEBUG_MY9291 #if ARDUINO_ARCH_ESP8266 #define DEBUG_MSG_MY9291(...) DEBUG_MY9291.printf( __VA_ARGS__ ) #elif ARDUINO_ARCH_AVR #define DEBUG_MSG_MY9291(...) { char buffer[80]; snprintf(buffer, sizeof(buffer), __VA_A...
b2dd27975ce525d374f9a735ff7d5ec26d92299c
a2c1d471a40791ded0d87dbbe765a4490830d6d0
/primitive_calculator.cpp
f288f57b84d803308610078d233775a1294312be
[]
no_license
iCodeIN/algorithmic-toolbox
92d6347c590c1aaeccf2c8c0a2f26b7594b22dd1
41d027c1739cd3bfed0d02c28134d5cf23306667
refs/heads/main
2023-02-10T18:30:11.201716
2020-12-28T06:34:57
2020-12-28T06:34:57
null
0
0
null
null
null
null
UTF-8
C++
false
false
847
cpp
primitive_calculator.cpp
#include<bits/stdc++.h> using namespace std; vector<int> optimal_sequence(int n) { vector<int>res; if(n==1) { res = {1}; return res; } vector<int>dp(n+1); dp[0]=0; dp[1]=0; int i,a,b,c,mini; for(i=2;i<=n;i++) { dp[i] = dp[i-1] + 1; if(i%2==0) dp[i] = min(dp[i], dp[i/2] + 1); if(i%3==0) dp[i] = min(dp...
35cfd1dd908e9869061bc2fcf099099269e18502
13e0eecafe1347f218bf8083b3f848c5e17bf0ef
/lib/inc/SocketTemplate.h
a94e43835057544aa138c4509f23500ce988ac41
[]
no_license
psemchyshyn/GoodAsio
4d058336224501b5ae215d8c2b7533961737d022
8379937bb7ad9b5b2b7b6406b546549027fc46ec
refs/heads/master
2023-05-20T03:15:16.220010
2021-06-11T12:42:28
2021-06-11T12:42:28
null
0
0
null
null
null
null
UTF-8
C++
false
false
717
h
SocketTemplate.h
#ifndef ECHO_SERVER_SOCKETTEMPLATE_H #define ECHO_SERVER_SOCKETTEMPLATE_H #include <string> #include <stdio.h> #include <unistd.h> #include <stdlib.h> #include <string.h> #include <netdb.h> #include <sys/types.h> #include <sys/epoll.h> #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> ...
5b5497e31575ae2ee6aefc63761b2b7d3be4bc17
f397d08afdc45479dafe124f4664628b8c31e473
/c17/type/type.cpp
786cb6b2d44335ce5d7d9390218d9e1847c979bd
[]
no_license
eiselekd/lang
15e2110a0682f422d8cb424e100e3452b0ca00c6
a35dc9490071ca55a2ea42ca52eb0b3a93ff0a7b
refs/heads/master
2021-07-20T16:06:56.223511
2021-06-24T18:46:33
2021-06-24T18:46:33
95,143,543
0
0
null
2020-09-04T04:48:20
2017-06-22T18:10:55
C
UTF-8
C++
false
false
973
cpp
type.cpp
#include <iostream> #include <string> #include <array> #include <map> #include <functional> #include <memory> #include "method_c.h" struct classdef { std::map<int, method *> tbl; struct classdef *super; void add_method(int id, method *m) { decltype(tbl)::iterator i; if ((i = tbl.find(id)) != tbl.end()) ...
ca2d9834cd4b84ecf95a936f5fcf4a7d4d7213de
ebe5abd1ffa82fbcd45b430cf8360d111f0344c8
/04-Collision/MainScene.cpp
54a8bb9305f35d92cc527de61117f5c6a9d5daf4
[]
no_license
khduy/castle_vania
f421ccf733d51452a12dd0f5b57f513e659d59a2
3793c0a916b5c6aad5c4d18058d98955972d1924
refs/heads/master
2023-02-03T16:31:18.296964
2020-12-21T01:53:53
2020-12-21T01:53:53
299,236,391
0
1
null
2020-10-22T09:09:34
2020-09-28T08:11:21
C++
UTF-8
C++
false
false
66,707
cpp
MainScene.cpp
#include "MainScene.h" MainScene::MainScene() { LoadResources(); } MainScene::~MainScene() { SAFE_DELETE(tileMap); SAFE_DELETE(board); SAFE_DELETE(gridGame); } void MainScene::KeyState(BYTE* state) { if (simon->GetFreeze() == true) // disable control return; if (simon->GetIsDeadth() || isWaitingToResetGame...
d006926cffbc0f9370fc7b31073293a73c3e76ea
a7da7133d8e6a1660ddf8468c80f2392960b467f
/148A-InsomniaCure.cpp
e5fff9666d7528da1638ec51db190b3d518e539f
[]
no_license
devvrho/CODEFORCES
5a69c39119aab5297d0edfa16fa4e8ce38d810af
63b6f0d160a2ce73753417edcb6c0076b742fc16
refs/heads/master
2023-03-17T14:13:47.392724
2021-03-05T19:50:53
2021-03-05T19:50:53
271,351,347
0
0
null
null
null
null
UTF-8
C++
false
false
1,011
cpp
148A-InsomniaCure.cpp
#include <iostream> #include <vector> #include <cmath> #include <algorithm> using namespace std; int main(){ double k, l, m, n, d; cin >> k >> l >> m >> n >> d; vector<double> dragons; vector<double> multiples; double answer = 0; //get multiples in a vector //then sort them //then re...
0bb434e367636dee2f61c01f72065eac11beb81a
eda03521b87da8bdbef6339b5b252472a5be8d23
/Userland/Libraries/LibPDF/Fonts/Type1FontProgram.h
dadc9c1546072331e6410c4138beb4fb09fa4b8c
[ "BSD-2-Clause" ]
permissive
SerenityOS/serenity
6ba3ffb242ed76c9f335bd2c3b9a928329cd7d98
ef9b6c25fafcf4ef0b44a562ee07f6412aeb8561
refs/heads/master
2023-09-01T13:04:30.262106
2023-09-01T08:06:28
2023-09-01T10:45:38
160,083,795
27,256
3,929
BSD-2-Clause
2023-09-14T21:00:04
2018-12-02T19:28:41
C++
UTF-8
C++
false
false
3,430
h
Type1FontProgram.h
/* * Copyright (c) 2023, Rodrigo Tobar <rtobarc@gmail.com>. * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include <AK/Debug.h> #include <AK/SourceLocation.h> #include <LibGfx/Font/Font.h> #include <LibGfx/Path.h> #include <LibPDF/Encoding.h> #include <LibPDF/Error.h> namespace PDF { class Encoding;...
04617c66fb238f691ad2568b90aab6ca36d679b2
6bc86f99630725070a543e895af5e307c572079c
/old_src/Camera.hpp
b4da6c5b4940babd23fd24eee747f98c0f699bfc
[]
no_license
IanStJohn/Patty
ff57b02e473f78ec729e003bf4722cd676bda8bc
1171f8322b971a41a37ba59dfea3c67dd003763b
refs/heads/main
2023-03-30T13:11:10.608798
2021-04-07T21:08:47
2021-04-07T21:08:47
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,781
hpp
Camera.hpp
#pragma once #include "Object.hpp" #include <glm/vec3.hpp> #include <glm/gtc/matrix_transform.hpp> namespace PattyEngine { class Camera : public Object { public: Camera( std::string name, Object *parent, float horizontalAngle = 3.14f, ...
dba849073d27a4d1a0cf13979010ddd0c5d54962
a11e2edaa536604d5bdc867f5f1e04bbc0b58700
/AggroEngine/src/Subsystem/Graphics/Impl/OpenGL/CommandTree/ShadowMap/DrawElements/DrawShadowElements.hpp
72565a8666e025c0f72ed04d17bdacb4a5cc900f
[]
no_license
Argo15/Aggro-Engine
bd9be7b996ec0c3c9e70fe10ee4d02fc3e57ab18
7df2211900e6b3572a06f3195cbb357d23677e5f
refs/heads/master
2021-12-31T12:23:12.208908
2021-10-07T22:10:32
2021-10-07T22:10:32
72,375,974
6
2
null
null
null
null
UTF-8
C++
false
false
324
hpp
DrawShadowElements.hpp
#pragma once #include "Layer.hpp" #include "ShadowMapBuffer.hpp" class DrawShadowElements : public Layer { private: ShadowMapBuffer *m_shadowMapBuf; public: DrawShadowElements(ShadowMapBuffer *shadowMapBuf); shared_ptr<CommandTreeItem> getCommands(RenderOptions &renderOptions, shared_ptr<RenderNode> renderNodes)...
400c16d5750e9ce03d6621f48d9c8edce28f85a3
1c1de7c39fc3c78fe90fc00274ea7b9170c3f97f
/Hackerrank Problems/hackerrank6of30.cpp
660d6a97b54c7823839faaad8e4ce86b26359621
[]
no_license
shyam640/MY-WORKS
198d12e9ba4b5d8e110fab87deb69c4a382877a7
ec3244461028a4db9303d5ad044ec490b1070467
refs/heads/master
2023-08-10T16:00:50.943826
2021-02-28T04:54:36
2021-02-28T04:54:36
310,534,063
0
0
null
2021-02-27T18:03:52
2020-11-06T08:17:48
C++
UTF-8
C++
false
false
446
cpp
hackerrank6of30.cpp
#include<iostream> #include<stdlib.h> using namespace std; int main(){ system("CLS"); int t; cin>>t; for(int test_case=0;test_case<t;test_case++){ string s1 ; cin>>s1; for(int i=0;i<s1.length();i++){ if(i%2==0){ cout<<s1[i]; } }cout<<" "; for(int ...
a82bc826e05032389da121709bc52a71eedbf054
fbe41e566c97638d2fc56d405bd273633a5f4cbb
/otui/creature.h
bfe9269d168f4998f1ab76a88c8d11bdd4082389
[]
no_license
gubailovo/OTUIEditor
de06c0bfc301dc7b6d964fe9ac42860f21b6fdc7
60a68ceef95a6c1b0eff556404a437b4951b7223
refs/heads/master
2023-03-15T16:07:00.933570
2020-12-25T12:17:52
2020-12-25T12:17:52
null
0
0
null
null
null
null
UTF-8
C++
false
false
311
h
creature.h
#ifndef CREATURE_H #define CREATURE_H #include "widget.h" namespace OTUI { class Creature : public Widget { public: Creature(); Creature(QString widgetId); Creature(QString widgetId, QString dataPath, QString imagePath); ~Creature(); }; } #endif // CREATURE_H
02be68cf83bdfff214f419020ae61e503683395c
8b4e130b67d3fe6f678eaec26b791e6b0a829769
/ModSteach.h
f7946b8299f442b0e1351ddea5cbe197ce082e9e
[ "MIT" ]
permissive
rajkumarnaman/Office-Management-System
21a615f93666282fd8d5e5b19fa6142fa986c630
26e43bb643e4f36177524e68ba3945133c435feb
refs/heads/main
2023-06-06T11:42:39.641169
2021-06-28T07:06:56
2021-06-28T07:06:56
380,933,462
1
0
null
null
null
null
UTF-8
C++
false
false
1,061
h
ModSteach.h
#ifndef MODSTEACH_H #define MODSTEACH_H //(*Headers(ModSteach) #include <wx/button.h> #include <wx/frame.h> #include <wx/stattext.h> //*) class ModSteach: public wxFrame { public: ModSteach(wxWindow* parent,wxWindowID id=wxID_ANY,const wxPoint& pos=wxDefaultPosition,const wxSize& size=wxDefaultSize); virtual ~M...
fa9d47abf6f9113632bea19a36a7de9340b9aef6
0ef9326cd8d12c1bf7779fb9bea470e0251a48f9
/OpenGL/FoundationOfCG/Assignment7/Assignment7-Meshes/Assignment7-Meshes/Meshes/texture.cpp
5b0fc2163951008d85b2836412b421150c127d62
[]
no_license
nintymiles/CGLearning
dad2c73e29e9758a5f5ce740d3c38fc4c4c2543f
fe7a6e5e263c07dada70fe2824c6e9f0ee702a20
refs/heads/master
2022-10-27T12:30:08.717173
2022-10-17T07:46:06
2022-10-17T07:46:06
165,070,684
85
17
null
null
null
null
UTF-8
C++
false
false
1,358
cpp
texture.cpp
#include <vector> #include <string> #include "ppm.h" #include "asstcommon.h" #include "texture.h" #include "material.h" using namespace std; ImageTexture::ImageTexture(const string& ppmFileName, bool srgb) { int width, height; vector<PackedPixel> pixData; ppmRead(ppmFileName.c_str(), width, height, pixDa...
c15151a1a8017e16a29cf24d2788b0d539d80682
cedfd68ed55ca0e46b2c4eec2b87b93143171744
/crossgene.cpp
9a2216bf667bdf178e08ef5227a76fa0cb9cf7e4
[]
no_license
Szustarol/CrossGene
0e6c1f10724b0537b9402bea68283d24e9e0f466
d4036095bd4338c05fb8f5aba150fefd6d407f01
refs/heads/master
2022-12-05T01:50:56.580454
2020-08-29T15:02:29
2020-08-29T15:02:29
263,743,887
0
0
null
null
null
null
UTF-8
C++
false
false
402
cpp
crossgene.cpp
#include <iostream> #include "defines.hpp" #include "Translations/strings.hpp" #include "Widgets/main_window.hpp" #include <gtkmm.h> int main(int argc, char ** argv){ if constexpr(DEBUG_MODE){ std::cout << program_name << " is starting." << std::endl; } auto app = Gtk::Application::create(argc, ar...
c066f5ef8fef1cd7010e6f2ba2aaf0c8efeb0997
c133088a8b87571bacb4fa27da2c3b6a87ce8c86
/geekforgeeks/3rd week/minindexchar.cpp
854b2102286d685c9b66ead878b6d46f06330b6e
[]
no_license
ssen110/cpp
2073bf32a91fbc6b4e788143e14baea7c6c2bfa2
7443a430f785561b1667e8e8635831afa680a173
refs/heads/master
2022-07-07T00:21:03.683716
2022-06-24T03:59:41
2022-06-24T03:59:41
246,741,917
0
0
null
null
null
null
UTF-8
C++
false
false
537
cpp
minindexchar.cpp
#include <iostream> #include <unordered_map> #include <bits/stdc++.h> using namespace std; int main() { int testcases; cin>>testcases; while(testcases--) { string S1,S2; cin>>S1; cin>>S2; char c; unordered_map<char , int > m; int i=0; int flag=0; for(i=0;i<S2.length();i++) m[S2[i]]=1; ...
ec8088a7fda5748219372c430a5ae944fc8bfe81
7d302735577aae9f62f34e8086e5935b43d593e7
/DirectXGame/DirectXCore/State.cpp
21dfc673438293382c8073abe060f177128e3542
[ "MIT" ]
permissive
nguyenlamlll/DirectX-11-Game
c8f683d57f5d27a81e29aa616dce60a8e7d2b6b1
560ae6d9b44cef7882c5fc93192160fae7da791d
refs/heads/develop
2020-03-28T10:47:31.633691
2018-12-03T14:14:46
2018-12-03T14:14:46
148,145,340
2
1
MIT
2018-12-16T05:02:34
2018-09-10T11:31:53
C++
UTF-8
C++
false
false
619
cpp
State.cpp
#include "stdafx.h" #include "State.h" #include "GameObject.h" using namespace DirectXCore; State::State() { } DirectXCore::State::State(GameObject* _gameObject, std::vector<std::string> _originalStateList) { attachedGameObject = _gameObject; //stateList = _originalStateList; stateList.insert(stateList.end(), _or...
496d8ecf071bb08d67b3b918490ae85ed9419680
9f429cbc4d09f454aea41865a68d4045d4043e01
/src/iopipe.cpp
fc752a51b00359bbf35d5b7a5d2c2701dc08590e
[]
no_license
jason99chang/RShell
719bc793d1a68fc9f435640c7bb0740fa8b02457
1bf8bb6ab887ea9b1106fedcb9b99c87c0d037e4
refs/heads/master
2021-01-14T05:24:34.759209
2019-06-19T11:52:15
2019-06-19T11:52:15
242,611,837
0
0
null
null
null
null
UTF-8
C++
false
false
5,313
cpp
iopipe.cpp
/** I have been using switch statements because I was used to doing them when I was still programming in Java (years ago), I also thought that maybe there would be more cases so a switch statement would've been more effective that a bunch out if statements, when checking for the status of fork, but forgot that there w...
5ce8c3580145f2c301e4bc337d8e28bc579dd233
2b1b459706bbac83dad951426927b5798e1786fc
/zircon/kernel/lib/arch/include/lib/arch/random.h
853236c6c6dbfe842482a45e2799a710acf443c2
[ "MIT", "BSD-2-Clause", "BSD-3-Clause" ]
permissive
gnoliyil/fuchsia
bc205e4b77417acd4513fd35d7f83abd3f43eb8d
bc81409a0527580432923c30fbbb44aba677b57d
refs/heads/main
2022-12-12T11:53:01.714113
2022-01-08T17:01:14
2022-12-08T01:29:53
445,866,010
4
3
BSD-2-Clause
2022-10-11T05:44:30
2022-01-08T16:09:33
C++
UTF-8
C++
false
false
1,622
h
random.h
// Copyright 2021 The Fuchsia Authors // // Use of this source code is governed by a MIT-style // license that can be found in the LICENSE file or at // https://opensource.org/licenses/MIT #ifndef ZIRCON_KERNEL_LIB_ARCH_INCLUDE_LIB_ARCH_RANDOM_H_ #define ZIRCON_KERNEL_LIB_ARCH_INCLUDE_LIB_ARCH_RANDOM_H_ #include <cst...
88714eb20b254391f6bcc643958b6721817e4d0a
4cfe15029a3ba86134f60700e8a1eb3f94a63f58
/SideScroller/Enemyhandler.cpp
775bf94041d0bfab1a25a38cd2a24b7960d53e77
[]
no_license
scaepz/shapist-game
70e51a91cc0ddc871e464a7e55d4d02276cf42aa
965c7fd9ba8c20c3f6c27edf92b5f5fbc6f00ee9
refs/heads/master
2021-01-01T05:20:00.423583
2016-05-25T18:14:19
2016-05-25T18:14:19
56,383,298
0
0
null
null
null
null
UTF-8
C++
false
false
428
cpp
Enemyhandler.cpp
#include "EnemyHandler.h" CEnemyHandler::CEnemyHandler() { } CEnemyHandler::~CEnemyHandler() { } void CEnemyHandler::HandleEnemies() { for (int i = 0; i < enemyVector->size(); i++) { } int size = enemyVector->size(); for (int i = 0; i < size; i++) { if (enemyVector->at(i)->GetHP() <= 0) { if (...
719d83240a12b050fa7a327dcab8dbaed53c8c9b
4baffe507a2d6f7e3ccb15500ed7e09b0ddfd60d
/BOJ_1325_DFS_BFS_hack/main.cpp
a4c3ca0c026c1b65c2509159a5049a796348b6f2
[]
no_license
junyoungKimGit/algorithm
52dba39dff3d8e5043ac53db359dcc195a24c1ca
bb73b98acb57d8d9b08fc06820e63142ab711272
refs/heads/master
2022-08-09T12:51:49.484357
2022-07-17T07:20:33
2022-07-17T07:20:33
143,444,010
0
0
null
null
null
null
UHC
C++
false
false
1,105
cpp
main.cpp
//BOJ 1325 효율적인 해킹 #include <iostream> using namespace std; #define MAX_N (10001) short gMap[MAX_N][MAX_N]; short gVisited[MAX_N]; short gRank[MAX_N]; int N, M; int max(int aA, int aB) { return aA > aB ? aA : aB; } void dfs(int aCurrent, int aCnt, int aTestcase) { for (int i = 1; i <= N; i++) { if (gVisited...
cc01b60eefaa7e9f5f5b645cdf3aa7ec1692fce8
5821daeb6fa1420ecb9de6c5f774075b7921d54d
/SlidingTiles/Resources.h
e1954b57500458f2b134774ec54a58fe9469b31c
[]
no_license
hnefatl/SlidingTiles
6830e56410fee9d9bb6aec8293f8bc371336c5c1
5e5f2432b0bffea29c4d31fa7be24c2dda54d662
refs/heads/master
2021-01-20T12:01:01.315002
2013-11-16T22:36:00
2013-11-16T22:36:00
null
0
0
null
null
null
null
UTF-8
C++
false
false
266
h
Resources.h
#ifndef _RESOURCES_H #define _RESOURCES_H #include <string> namespace Resources { namespace Sprites { const std::string Particle="Resources\\Sprites\\Particle.png"; }; namespace Fonts { const std::string Arial="Resources\\Fonts\\Arial.ttf"; }; }; #endif
fd71444d1cc77402be027bc6a2eed50c4809e3a8
71b2b46399f271a7718dc1d9d30efca26b072f31
/Sorts.cpp
36a3100dd4023db1fda65a9e8664100f1c92d10a
[]
no_license
PavelUltra/Array-Sort
3cc7d10e88bb501848f70514f6ff9f3eb6c08ca8
52342eabf8d619b716a73574934fac8fd885266a
refs/heads/master
2023-06-03T15:19:44.291395
2021-06-18T04:43:21
2021-06-18T04:43:21
378,029,448
0
0
null
null
null
null
UTF-8
C++
false
false
7,718
cpp
Sorts.cpp
#include <stdio.h> #include <malloc.h> #include <unistd.h> #include <stdlib.h> #include <sstream> #include <iostream> #include <SFML/Graphics.hpp> sf::RenderWindow window(sf::VideoMode(500, 350), "SFML works!"); int my_time = 0; //время сортировки int ...
3896406c9cc6dc3b3464677a07c137da107d3abd
2d98f202e981b1a49eb37b6697170d803f2d215f
/Src/FM79979Engine/FishingFun/Win32Test/GameObjectSelector.h
3ee0a65b2f493575b4eb7030d3f352c2975c5dac
[]
no_license
fatmingwang/FM79979
bb1274241605f490b8e216f930a2c5aaba86f669
735f204bd70773c2482e15b3105a8680cf119706
refs/heads/master
2023-07-09T00:47:02.782514
2023-06-23T10:23:27
2023-06-23T10:23:27
43,816,834
7
3
null
null
null
null
UTF-8
C++
false
false
2,579
h
GameObjectSelector.h
#ifndef _GAME_OBJECT_SELECTOR_H_ #define _GAME_OBJECT_SELECTOR_H_ //<cGameObjectSelector Name=""> // <cButtonDialog Description=""> // <cMPDI MPDIList="" MPDI=""/> // </cButtonDialog> // <cGameItemInfoButton> // <cButtonDialog Description=""> // <cMPDI MPDIList="" MPDI=""/> // </cButtonDialog> // <cRend...
d9a26989169cb1d01ac8a2a271639291f80a357b
542e7226496c17d325209dac6c0ff13115d757dc
/tests/MemoryManager.test.cpp
a5d0a4415fe74b343ec4ef4231b9635a7ca6ff18
[ "Apache-2.0" ]
permissive
ElJerry/GeneticAlgorithmLib
03c6b87e9ed1f29d4877ce1aeac267cec9b9f40b
ac9d3a89e8b0ec8373dd7dfcf0a44506dbc3eec9
refs/heads/master
2023-08-23T17:00:55.584076
2021-09-13T05:26:23
2021-09-13T05:26:23
240,850,382
0
1
null
null
null
null
UTF-8
C++
false
false
1,120
cpp
MemoryManager.test.cpp
#include <catch2.h> #include <../src/MemoryManager.h> TEST_CASE("MemoryManager works as expected") { int MAX_MEM_SIZE = 500; MemoryManager<int> manager(MAX_MEM_SIZE); SECTION("MemoryManager creates a maximum of MAX_MEM_SIZE elements") { int times = MAX_MEM_SIZE; while (times--) ...
bcfa36fca0737e35b082be0f2ac6c7133b56251d
41dffbadeb57abc6cc071125356fca20ab9dea64
/Polymorphism/binaryOperatorOverloading.cpp
abc307d9d4c3e3d8e7c77e88bb2a4ff88a69fb9b
[]
no_license
gulshanyadav01/Object-Oriented-programming
e7c06e818eb6b69ca26040191911f487a89996cc
f73890e66e64042d6e23862ad7da2299d99a334b
refs/heads/master
2023-07-27T09:44:01.515109
2021-08-26T14:37:02
2021-08-26T14:37:02
395,389,076
0
0
null
2021-08-19T07:47:42
2021-08-12T17:00:44
C++
UTF-8
C++
false
false
686
cpp
binaryOperatorOverloading.cpp
#include<iostream> using namespace std; class Test { int a, b; public: Test(){ a = b = 0; } Test(int x, int y){ a = x, b = y; } Test operator + (Test t ){ Test temp; temp.a = a + t.a; ...
88594d7c3c4d9de6577c16abb7b810f05b43fdbc
8f8f87c0ffacf8509ee5f32f74447f64887ef501
/problems/leetcode/6-zigzag-conversion/main.cpp
c1e5d8e079c30df02eb4002fdde465561274c971
[]
no_license
godcrampy/competitive
c32eb1baf355fa9697f4ea69bea1e8e2d346e14c
e42f3000296c7b40e6a4c368dd17241ebb678d18
refs/heads/master
2023-03-28T17:05:15.776334
2021-04-03T13:40:15
2021-04-03T13:40:15
206,922,544
6
3
null
2020-10-01T13:22:40
2019-09-07T05:51:30
C++
UTF-8
C++
false
false
456
cpp
main.cpp
#include <string> #include <vector> using namespace std; int row_number(int numRows, int t) { int x = (numRows - 1) * 2; return min(t % x, x - (t % x)); } string convert(string s, int numRows) { if (numRows <= 1) return s; vector<string> table(numRows); for (int i = 0; i < s.length(); ++i) { int r = r...
cc12ada964b447864d8f131d50f7a686eeb6a652
4ed32fad3e7cb410aeb375b6a949374662d48e96
/humidity_DHT22_to_SD/humidity_DHT22_to_SD.ino
c071f68f9c94111ef32d2dbb9f2adc0ff1332dee
[ "MIT" ]
permissive
pitbull36/humidity_DHT22_to_SD
26d1b040bec5380c1c3890d80539011c439b96b1
5d0e4317194f41934e086f55ebe251bfb846fd3d
refs/heads/main
2023-07-11T17:37:46.004171
2021-08-05T07:28:30
2021-08-05T07:28:30
335,244,538
0
0
null
null
null
null
UTF-8
C++
false
false
6,290
ino
humidity_DHT22_to_SD.ino
// for temp sens #include <DHT.h> #include <Adafruit_Sensor.h> // for SD reader #include <SPI.h> #include <SD.h> #define DHTPIN 2 #define DHTTYPE DHT22 // this will be needed to keep track of the time and decide when to log data and turn on/off the LED // while still being able to check for the pressed button unsign...
3c52f531763618878d8d6ce19974b80594a963d3
091afb7001e86146209397ea362da70ffd63a916
/inst/include/nt2/include/functions/scalar/nblines.hpp
746b3e6da7cadd4d6afd3050bdfca62192e1a619
[]
no_license
RcppCore/RcppNT2
f156b58c08863243f259d1e609c9a7a8cf669990
cd7e548daa2d679b6ccebe19744b9a36f1e9139c
refs/heads/master
2021-01-10T16:15:16.861239
2016-02-02T22:18:25
2016-02-02T22:18:25
50,460,545
15
1
null
2019-11-15T22:08:50
2016-01-26T21:29:34
C++
UTF-8
C++
false
false
182
hpp
nblines.hpp
#ifndef NT2_INCLUDE_FUNCTIONS_SCALAR_NBLINES_HPP_INCLUDED #define NT2_INCLUDE_FUNCTIONS_SCALAR_NBLINES_HPP_INCLUDED #include <nt2/core/include/functions/scalar/nblines.hpp> #endif
6986156e21f7d52e29abf8495cccb7d46c0f7183
7d178081186238739f0c0377e393f320912f3759
/exporter/main.cpp
443acc18ed472e10c23e6d0325f65a254aa8c7ae
[]
no_license
martin-pr/maya-mesh-export
1e41b5942ed971fac3f836a1466c1cee15d90ce4
8e8a3b89aab80deba4237a7ef243f06713e97e49
refs/heads/master
2016-09-08T01:51:42.555500
2012-04-21T17:59:11
2012-04-21T17:59:11
4,097,821
1
0
null
null
null
null
UTF-8
C++
false
false
13,949
cpp
main.cpp
#include "main.h" #include <cassert> #include <maya/MFnPlugin.h> #include <maya/MSelectionList.h> #include <maya/MDagPath.h> #include <maya/MFnMesh.h> #include <maya/MItSelectionList.h> #include <maya/MFn.h> #include <maya/MFloatPointArray.h> #include <maya/MFloatVectorArray.h> #include <maya/MFnSkinClust...