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
47f26beb98c2ae763a374a409914b5eda4043044
aa825896cc7c672140405ab51634d00d28fad09b
/zomgatron/Matrix.cpp
e16303400fae8f0557eb213dcb1de4087662b0c6
[]
no_license
kllrnohj/zomgatron
856fa6693b924d629f166c82cdd4db7524f3255d
099955f0ab84eb432ab87d351b8defd3123a8991
refs/heads/master
2021-01-10T08:26:13.826555
2009-01-27T17:21:45
2009-01-27T17:21:45
46,742,521
0
0
null
null
null
null
UTF-8
C++
false
false
604
cpp
Matrix.cpp
#include "Matrix.h" Matrix::Matrix(const Matrix& mat){ for(int x = 0; x < 4; x++){ for(int y = 0; y < 4; y++){ values[x][y] = mat.values[x][y]; } } } Matrix Matrix::operator *(const Matrix& rhs){ Matrix result; for(int x = 0; x < 4; x++){ for(int y = 0; y < 4; y++){ result.values[x][y]...
27ddd75d681a4de082bc4ef39a31fa7076a2cb9e
d86e5c3afdc3f484214928b6b8bbee7784e63276
/ConsoleApplication3/UI.h
df2cebec4e3f4adfab538b722f54145ee8384e47
[]
no_license
GabiCris/OOP-Lab8-9
fb353fd518fb5cb44477328c72a99344c82c2622
7337501647d09dde49e1f3596a06f16aead90195
refs/heads/master
2021-01-20T01:25:37.314949
2017-04-26T07:56:29
2017-04-26T07:56:29
89,277,853
0
0
null
null
null
null
UTF-8
C++
false
false
427
h
UI.h
#pragma once #include "Controller.h" #include "ListCtrl.h" class UI { private: moviesCtrl ctrl; listCtrl watchCtrl; public: UI (const moviesCtrl& c, const listCtrl& w): ctrl(c),watchCtrl(w) {} void appStart(); void addUi(); void listUi(); void deleteUi(); void updateUi(); void taskA(); void listWatch...
69ec5591ec882ccf7637b6ba5ee54f7a123be744
dccb136394c3c7f4a636f17f444ebaf95e24ab66
/Programmers/Lv_1/programmers_콜라츠 추측.cpp
02bb4b87b4f3f88df6c815bdb31c196c7e9c7d5e
[]
no_license
Oh-kyung-tak/Algorithm
e2b88f6ae8e97130259dedfc30bb48591ae5b2fd
be63f972503170eb8ce06002a2eacd365ade7787
refs/heads/master
2020-04-25T22:37:41.799025
2020-01-19T08:55:42
2020-01-19T08:55:42
173,117,722
0
0
null
null
null
null
UTF-8
C++
false
false
359
cpp
programmers_콜라츠 추측.cpp
#include <string> #include <vector> using namespace std; int solution(int num) { int answer = 0; int cnt = 0; long long int temp = num; while (1) { if (temp == 1) { answer = cnt; break; } if (cnt > 500) { answer = -1; break; } if (temp % 2 == 0) temp /= 2; else temp = (temp *...
6f3778c48bf225fe6cab8b8a3e650c528f22873f
32af37233c8e23eef06337b2ff064aa198cc839d
/src/core/spriteloader.cpp
6546917a6293104d9fb2d2c41bba56641307ebf3
[]
no_license
nickenchev/boiler
f577e1cb4a1af49552c923647baf9d7458485aaa
ccd2858a13ce8029214f4112621c510e5dc1fdd5
refs/heads/master
2023-08-31T03:29:31.052375
2023-08-28T06:13:46
2023-08-28T06:13:46
58,762,135
2
0
null
null
null
null
UTF-8
C++
false
false
4,249
cpp
spriteloader.cpp
#include <iostream> #include <string> #include <json/json.h> #include "video/opengl.h" #include "video/opengltextureinfo.h" #include "core/spriteloader.h" #include "core/engine.h" #include "video/renderer.h" #include "util/filemanager.h" #include "util/texutil.h" #define COMPONENT_NAME "Sprite Loader" using namespac...
f518069a83034848067a77b71a7b92151551a65f
30e2549826d10b3551c5ad577c9fa718b3b79ebb
/MainController.cpp
86bac8d93cbba87e13f711009e2a2a1a4012e633
[]
no_license
Gh0stLead/Kugelfallexperiment
6c975ad22be353ed97abb667e1b0decda61bd454
57cd0a82be0a3b9dc4c84ac4a40d196f091f8cca
refs/heads/master
2021-01-20T08:29:33.349557
2017-06-15T15:44:10
2017-06-15T15:44:10
90,151,216
0
0
null
null
null
null
UTF-8
C++
false
false
2,614
cpp
MainController.cpp
// // // #include "MainController.h" #include "SensorManager.h" #include "Analyzer.h" #include <Arduino.h> /* * Implementation of the main controller */ bool debugging = false; //only enabled in test mode SensorManager* sensorManager; Analyzer analyse; enum ControllerStatus { IDLE, APPROXIAMTION, ...
c0a73ccc9537e5f174744f969c9879659b084719
d6ebbcf78baa559cf138d073ca0e6174373a8ee8
/algorithm/165.compare-version-numbers.cpp
ed2a748d684a4c9798a7090abd0f4b65de50b663
[]
no_license
silencelee/leetcode
91bd93704a83a48f9afa86744e871d1b3ef098e5
32d1bca2009635423cfdc0f022fb335c9baf4c7e
refs/heads/master
2021-07-09T15:19:50.735419
2021-03-22T03:26:06
2021-03-22T03:26:06
236,697,573
0
0
null
null
null
null
UTF-8
C++
false
false
3,278
cpp
165.compare-version-numbers.cpp
/* * @lc app=leetcode id=165 lang=cpp * * [165] Compare Version Numbers * * https://leetcode.com/problems/compare-version-numbers/description/ * * algorithms * Medium (25.75%) * Likes: 394 * Dislikes: 1294 * Total Accepted: 164.6K * Total Submissions: 638.2K * Testcase Example: '"0.1"\n"1.1"' * * ...
251d1e4aff72c3d12e23f3e2206ddc9c6a6896df
4ba95cc16d1aaba4a10668121177d0b15d403d82
/formulate_bridge.cc
ac9f3ce94e7f8a9c284986ab49d78227248f3bc5
[ "MIT" ]
permissive
adlr/formulatenext
503fc0610b265803cb5f125324f37ae06a9f34ae
d1f5e858c5675ed2ab7b29f029ec9f029115f62c
refs/heads/master
2020-04-28T07:07:19.127562
2019-08-29T16:35:48
2019-08-29T16:35:48
175,080,683
2
1
null
null
null
null
UTF-8
C++
false
false
8,060
cc
formulate_bridge.cc
#include <emscripten.h> #include "SkBitmap.h" #include "SkCanvas.h" #include "SkFont.h" #include "SkPaint.h" #include "docview.h" #include "rootview.h" #include "scrollview.h" #include "thumbnailview.h" using namespace formulate; namespace { int kIDMain = 0; int kIDThumb = 1; RootView* root_views_[2]; ScrollView* ...
53f79f8c34907c02784387bdc599f2f9502e1413
e2e3cf2edf60eeb6dd45adaa8a58e110bdef92d9
/Project/zoolib/QueryEngine/Walker_Union.h
abb50b03d8f5299f8d6213adb589f9ed5fa88f77
[ "MIT" ]
permissive
zoolib/zoolib_cxx
0ae57b83d8b3d8c688ee718b236e678b128c0ac7
b415ef23476afdad89d61a003543570270a85844
refs/heads/master
2023-03-22T20:53:40.334006
2023-03-11T23:44:22
2023-03-11T23:44:22
3,355,296
17
5
MIT
2023-03-11T23:44:23
2012-02-04T20:54:08
C++
UTF-8
C++
false
false
1,252
h
Walker_Union.h
// Copyright (c) 2011 Andrew Green. MIT License. http://www.zoolib.org #ifndef __ZooLib_QueryEngine_Walker_Union_h__ #define __ZooLib_QueryEngine_Walker_Union_h__ 1 #include "zconfig.h" #include "zoolib/QueryEngine/Walker.h" #include "zoolib/RelationalAlgebra/RelHead.h" namespace ZooLib { namespace QueryEngine { //...
d1a9addfecabeec6102f574bf5b8844f946d70ed
776f5892f1395bb8d30731a60466e4c756a44c8c
/contests/abc315/abc315_c/main.cc
bea4b36dacb8c09d1b3dc994edae645fdb045559
[]
no_license
kkishi/atcoder
fae494af4b47a9f39f05e7536e93d5c4dd21555b
f21d22095699dbf064c0d084a5ce5a09a252dc6b
refs/heads/master
2023-08-31T18:37:13.293499
2023-08-27T21:33:43
2023-08-27T21:33:43
264,760,383
0
0
null
2023-03-10T05:24:07
2020-05-17T21:30:14
C++
UTF-8
C++
false
false
506
cc
main.cc
#include <bits/stdc++.h> #include "atcoder.h" void Main() { ints(n); V<int> f(n), s(n); rep(i, n) cin >> f[i] >> s[i]; int ans = -big; { map<int, int> mp; rep(i, n) chmax(mp[f[i]], s[i]); V<int> v; each(_, e, mp) v.eb(e); sort(v, greater{}); if (sz(v) >= 2) chmax(ans, v[0] + v[1]); ...
7a79b31ab94f2bacf669c8bfd1e0111faaf886bb
29b9127ce7ac961fd673061d3d6f4b3ea8d22fb9
/src/gfx/DecalManager.h
2921524804de64ee9f499dee81dffd935afddcf1
[ "Zlib" ]
permissive
MostafaHassan/Robograde
460379d7af19d0f30ab6995e43540d9103a6325d
2c9a7d0b8250ec240102d504127f5c54532cb2b0
refs/heads/master
2023-07-15T19:37:49.943853
2015-10-10T21:06:35
2015-10-10T21:06:35
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,103
h
DecalManager.h
/************************************************** Zlib Copyright 2015 Henrik Johansson ***************************************************/ #pragma once #include <glm/glm.hpp> #include <memory/Alloc.h> #include "GFXLibraryDefine.h" #include "TextureAtlas.h" #define g_DecalManager gfx::DecalManager::GetInstance() na...
b94c076ed52f9948c5498fafbace2c3a7f28f837
8207a5d754985dad9beded6a3506e0a36304e14b
/Subject.h
6919c1c9829c6a04f10e1352515ed532195a7ba7
[]
no_license
mrmiggles/Opencv3_3DLL
ec012b6ce5bcfee5d1f532843dbbb8a4fe2101ca
372eeb6baf8bf10071c4d5aff6858d3955bf8204
refs/heads/master
2021-07-08T01:54:57.079472
2017-09-28T23:32:10
2017-09-28T23:32:10
104,701,309
1
0
null
null
null
null
UTF-8
C++
false
false
853
h
Subject.h
#pragma once #include "opencv2/highgui/highgui.hpp" #include <opencv2/features2d/features2d.hpp> #include <opencv2/xfeatures2d/nonfree.hpp> using namespace std; using namespace cv; class Subject { public: Mat subjectImage; vector<cv::KeyPoint> keypointsA; Mat descriptorsA; Mat descriptorsB; char *descAsChar; uc...
e60c8a73d5204cb02f21708187cabf10b699f5d4
5fa63edd9bb2597fc432610c2c076ee8c9d876d7
/ex5/include/RegularMonster.h
8517bb5a4adbda783849c0519b90b24cb06a6f91
[]
no_license
itzikmoalem/EmojDigger-Game
5697a909683dcf4643333e9cfef36a0c454194ac
7c9513969c8273e6e092370e5135ea8c939a9c9f
refs/heads/master
2022-08-20T18:09:38.214730
2020-05-19T19:31:22
2020-05-19T19:31:22
264,064,845
1
0
null
null
null
null
UTF-8
C++
false
false
383
h
RegularMonster.h
#pragma once #include "SFML/Graphics.hpp" #include "Monster.h" class RegularMonster : public Monster { public: RegularMonster(const sf::Texture& texture, const sf::Vector2f& pos, const sf::Vector2f& size); void Move(float delta, sf::Vector2f vec) override; // Moving function override bool isValid(con...
80c64b359fb23ddedc7eeb8825f22ffedadba4de
eb4103c7967f8c6ca4b1959da0ef7d61c25e7aca
/src/trorc/trorc_rw.cpp
3e23f539cc843a972c195595c5d308e5eb774361
[]
no_license
JeffersonLab/tpc-fec-utils-vg
f7cf2d5bf7e2ea08b9ec2846632a47d9552620cb
823ed1b5ad2e7c73cef576c75b6a0ff33f23adde
refs/heads/main
2023-04-24T05:24:02.058310
2021-05-07T11:25:07
2021-05-07T11:25:07
364,692,208
0
0
null
null
null
null
UTF-8
C++
false
false
3,097
cpp
trorc_rw.cpp
#include <iostream> #include <iomanip> #include <stdexcept> #include <boost/program_options.hpp> #include <librorc.h> #include "trorc.hpp" using namespace trorc; namespace bpo = boost::program_options; uint32_t conv_hex_string_to_uint32(const std::string& s) { uint32_t n; std::stringstream is; if (s.find_first...
2d9df6d3ab014a36fc81366a2a96b0bf66b8472e
188db5b58e918c73f925f0937afda588b066c882
/os/3/0416245_hw3.cpp
a3be1af703914653d41a4733fcee2d600346fcdb
[]
no_license
zaq851017/University_homework
b6e24a88f874dfadca2c9f64b330b9a7a79ce4bd
08e6042e8c64aa8849915ea58f5076bf883b097b
refs/heads/master
2022-11-23T08:47:34.171957
2020-06-29T07:46:49
2020-06-29T07:46:49
null
0
0
null
null
null
null
UTF-8
C++
false
false
8,472
cpp
0416245_hw3.cpp
#include<iostream> #include<fstream> #include<vector> #include <semaphore.h> #include <pthread.h> #include <unistd.h> #include <sys/time.h> #include<algorithm> using namespace std; int* m_num=NULL ; int* s_num=NULL ; int num ; sem_t up_down[15]; sem_t conver[8]; sem_t ok; struct s_bound{ int left ; int...
53e0bfbd159253c414dc65b1bc1c7166f42041fd
9a812c3345667caecc0d8466268031c995badcb1
/IPASS_Project/IPASS_due_test/servo.h
a8bb7c924a3a538aa58d12886c210fbf4779dc45
[ "BSL-1.0" ]
permissive
Wicked441/IPASS
b4d5dd6e725de559ade873fbece3ee86176da06e
7185b276b398082c9933295bc2a409b7be7e3993
refs/heads/main
2023-06-12T22:13:26.638383
2021-07-01T14:04:06
2021-07-01T14:04:06
null
0
0
null
null
null
null
UTF-8
C++
false
false
870
h
servo.h
#ifndef SERVO_HPP #define SERVO_HPP /// @file #include "hwlib.hpp" /// This class creates a servo object to which you can write a pulse class servo{ private: hwlib::target::pin_out & PIN_OUT; int offset; public: /// constructs an interface for the servo. servo(hwlib::target::pin_out & pin, const int &...
aba11a60f4938adaf397e1981dd1e2c694212845
7705a88831df902f47adc5f92758c83f149d2322
/Solutions/MaximumPoints1423.cpp
4f0415f558850fb2069ffcac5bb3995a9e51493c
[]
no_license
Zhaozzy-hub/LeetCode_Problems
36f3f11ce1d706bedf8ed7bdd1825a48371f1343
ce3a2140ee7ea32c04236bc353b62822eef1ccc4
refs/heads/main
2023-05-17T04:33:02.260764
2021-06-10T18:01:40
2021-06-10T18:01:40
363,813,842
0
0
null
null
null
null
UTF-8
C++
false
false
521
cpp
MaximumPoints1423.cpp
#include <vector> #include <iostream> #include <map> using namespace std; int maxScore(vector<int>& arr, int k) { int n = arr.size(); int j = 0, sum = 0, sublen = 0, minSum = INT_MAX, tot = 0; for (int i = 0; i < arr.size(); i++) { tot += arr[i]; sum += arr[i]; sublen++; if...
101085c62b0af00fc26a4b8b1886ece5965810b4
fc73264e6a2632dc229962e2e55e8f7e51af646a
/._retired_/audit/log/logmanager.hpp
e845710e7ea6bc40fa06c61c598145af01135a3c
[ "BSL-1.0" ]
permissive
zodsoft/solidframe
8b259b208bda99bd85029664d92a05a0f254420c
136e913027cd94a54bff3dee4b0a6673f2123a7f
refs/heads/master
2021-01-12T23:59:56.403982
2016-12-22T09:50:52
2016-12-22T09:50:52
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,227
hpp
logmanager.hpp
// audit/log/logmanager.hpp // // Copyright (c) 2007, 2008 Valentin Palade (vipalade @ gmail . com) // // This file is part of SolidFrame framework. // // Distributed under the Boost Software License, Version 1.0. // See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt. // #ifndef AUDI...
a0b0c72cb81a3b5197b78bae8fa5751d59fd6c6b
e4db258fb2fdbdc1fce5fdf7357a7f7d309e78f7
/algorithm/boj/2578/main.cpp
d670000003e80fea1300245d268d1157cb377997
[]
no_license
cepiloth/develnote
d42a316ce72eded0a9d8df2314de8d8026e08229
4fd72f9b5a948e584b99a917a5b40907bbddff12
refs/heads/master
2021-06-22T16:57:33.641236
2021-04-14T03:04:43
2021-04-14T03:04:43
206,345,777
1
0
null
null
null
null
UTF-8
C++
false
false
1,413
cpp
main.cpp
#include <iostream> #include <sstream> #include <string> #include <algorithm> #include <vector> #include <list> using namespace std; int table[5][5]; void solve(int d) { for(int i=0; i<5; i++) { for(int j=0; j<5; j++) if (d == table[i][j]) { table[i][j] = 0; break; } } } bool ve...
14f92beac0f891ac920b3fd145229eea24547b63
5398f7f34fbe08e2a9fce2d8f72c1693b5762d74
/Assignment 4/4-6/feature4-6.ino
a60315f0062f9a926bbfc578e3e18275073deb65
[]
no_license
heartzonthemove/MDT112-Homework
a9bc163c51c1d1b741d200eec59c029fe8f35b63
3c60d95b469d475fb3de5c439c1d4c4bd1df834f
refs/heads/master
2021-05-24T12:31:43.485005
2020-06-23T14:17:10
2020-06-23T14:17:10
253,563,134
1
0
null
2020-04-06T17:02:40
2020-04-06T17:02:39
null
UTF-8
C++
false
false
88
ino
feature4-6.ino
int maxInt(int value1, int value2) { return (value1 > value2 ? value1 : value2) ; }
6c97d9a99c44285282b70a4f05769e6d9fcf3cf0
371e831cd4c2ddf883dfb51cf68e4bd393b89ce6
/TimeinWords.cpp
183090bea1c96d37c1a2f8e2a880b7c766bee88b
[]
no_license
anirudhsingla8/Coding_Problems_in_C--1
38ec7c4dce04414782b98ac627773441deb1a0f4
a244e7d5ed697df199d46ae5b1c1266891e744a6
refs/heads/master
2020-07-27T07:17:51.959509
2019-08-04T03:49:08
2019-08-04T03:49:08
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,747
cpp
TimeinWords.cpp
// // Created by aveorenzhio on 5/7/19. // #include <iostream> #include <unordered_map> #include <cstring> using namespace std; int main() { unordered_map<int, string> timeinwords; timeinwords.insert(pair<int, string>(1,"one")); timeinwords.insert(pair<int, string>(2,"two")); timeinwords.insert(pair<int...
c841f92ad1581304406d9e8404d8bb4fdf2c3391
e217eaf05d0dab8dd339032b6c58636841aa8815
/Infrastructure/src/OpenInfraPlatform/Infrastructure/Alignment/HorizontalAlignment/HorizontalAlignmentElement2DLine.h
6d037a403e8aa4f62b0c407bbd2a749704f47802
[]
no_license
bigdoods/OpenInfraPlatform
f7785ebe4cb46e24d7f636e1b4110679d78a4303
0266e86a9f25f2ea9ec837d8d340d31a58a83c8e
refs/heads/master
2021-01-21T03:41:20.124443
2016-01-26T23:20:21
2016-01-26T23:20:21
57,377,206
0
1
null
2016-04-29T10:38:19
2016-04-29T10:38:19
null
ISO-8859-1
C++
false
false
1,864
h
HorizontalAlignmentElement2DLine.h
/*! \verbatim * \copyright Copyright (c) 2015 Technische Universität München * Chair of Computational Modeling and Simulation. All rights reserved. * \author Julian Amann <julian.amann@tum.de> (https://www.cms.bgu.tum.de/en/team/amann) * \brief This file is part of the TUM ...
62e8ed3f63f645640226dbefe4aa096e863b173f
58969d3d19802479fa7f88e553fb60efb5ab3dbd
/算法库/编程/求对数.cpp
d5f04ea9a34fd8612f5f4f8355fafe1ec0b71378
[]
no_license
Saikikky/MyLeetcode
eda26ec8565a3de4ffb44b28c9bfdf56089aba30
7b97abd53a5dbbe79d55816e82182c2250268686
refs/heads/master
2020-04-09T10:58:20.388037
2020-03-23T07:29:25
2020-03-23T07:29:25
160,290,050
0
0
null
null
null
null
WINDOWS-1256
C++
false
false
284
cpp
求对数.cpp
#include <stdio.h> #include <math.h> double Loga(double a,double n); int main () { double a,n,b; scanf("%lg",&a); scanf("%lg",&n); b=Loga(a,n); printf("¶شت‎=%g",b); return 0; } double Loga(double a,double n) { double s; s=log(n)/log(a); return s; }
4f4d28f066ee07bfa047f8ff809626ad1ced1ea5
fd9f5186fa5d19db077dbf302fe9c940cb42e82f
/src/storage/kv/RemoveProcessor.cpp
3588e5b95e6cf28ac93e4d2c2991a376e2a004e4
[ "Apache-2.0" ]
permissive
vesoft-inc/nebula
a0b9af548e124e59ecbfb0c5152098a1020b621c
7c32088dec1891870a24aaa37ee5818e69f5ad6d
refs/heads/master
2023-08-17T00:00:29.022525
2023-08-16T04:02:03
2023-08-16T04:02:03
146,459,443
11,007
1,220
Apache-2.0
2023-09-05T05:48:16
2018-08-28T14:25:09
C++
UTF-8
C++
false
false
824
cpp
RemoveProcessor.cpp
/* Copyright (c) 2020 vesoft inc. All rights reserved. * * This source code is licensed under Apache 2.0 License. */ #include "storage/kv/RemoveProcessor.h" #include "common/utils/NebulaKeyUtils.h" namespace nebula { namespace storage { ProcessorCounters kRemoveCounters; void RemoveProcessor::process(const cpp2...
c2a1773ddd949918b4e0f3e76d3b63fee7f5eda8
13b9edb76ac3bebba459c2bb6f98a86682ef188b
/Source/DrumSynthesiser.cpp
720d6a9db08647348046d19449f9f38f2cedb9a8
[]
no_license
Cameron1470/va808-bass-drum
f3fac6426a57b08df8f0ca5da3f1b854535a9108
4594f79578d538f6f9149cca96d50bab3e754f26
refs/heads/main
2023-07-01T03:08:56.972675
2021-08-12T11:14:13
2021-08-12T11:14:13
379,953,830
0
0
null
null
null
null
UTF-8
C++
false
false
3,174
cpp
DrumSynthesiser.cpp
/* ============================================================================== "DrumSynthesiser.cpp" Roland TR-808 Virtual Analogue Modelling - MSc Project Created: 24th June 2021 Author: Cameron Smith, UoE s1338237 ----------------------see header file for description----------------------...
e3a6c20eae591d4740ccc3a209abf440a5dd1c6d
4cb0f2cfb9ec3ec8c851f83ff3ea73ca5a62aa70
/democodebase/pt/ui/common.h
13a5531e005ec525906f9d086deb7c4a28e46ed5
[]
no_license
Codarki/Pyrotech_2016
99733bb543621d755dc0451cee86e3988021a1e2
5e7a71b9ec751061285f3f784e861ac8f2726ee1
refs/heads/main
2023-05-30T08:11:30.626406
2021-06-24T23:13:53
2021-06-24T23:13:53
380,065,207
0
0
null
null
null
null
UTF-8
C++
false
false
302
h
common.h
#pragma once #ifndef PT_UI_COMMON_H #define PT_UI_COMMON_H namespace pt { namespace ui { /// \return \c true if key \a key_code is pressed down. bool is_key_down(int key_code); /// \return \c true if key \a key_code is not pressed down. bool is_key_up(int key_code); }} // namespace pt::ui #endif
dd189bd1d2327ff020dd25e8d24bf586855a8a3e
effa15bc0b7a3e7598c588e807757dbfe6de2244
/ColorSpacesAndModels/ColorSpacesAndModels/Circle.cpp
02cc3bd63449a25925d722a5927475d81e7f5f7d
[]
no_license
KurekWioletta/WFiIS-ComputerGraphics
17712b18b2e29759dfcb65118789eac659c464b4
5ad4cd437f2dceca8afc182bc3f92a8b5b0d86b0
refs/heads/master
2020-04-28T18:30:08.099476
2019-05-14T14:14:14
2019-05-14T14:14:14
175,480,608
0
0
null
null
null
null
UTF-8
C++
false
false
464
cpp
Circle.cpp
#include "Circle.h" Circle::Circle(float x, float y) { m_circle = new sf::CircleShape(125); m_circle->setPosition(x, y); m_colorPixels = new sf::Uint8[250 * 250 * 4]; m_texture.create(250, 250); m_circle->setTexture(&m_texture); } Circle::~Circle() { delete m_circle; delete m_colorPixels; } void Circle::refr...
88b410e4127890a7109c91b57cf43d833fbae1e5
c03fd7482030098d4d4afdaef536b8bad4c1ad5f
/0000.LCP/LCS 02.完成一半题目/solution.cpp
cabbe0e805278c944509c5821b2da9a28bfd5df9
[]
no_license
Zhenghao-Liu/LeetCode_problem-and-solution
79c88766c341c7789b5b01efd997fd6384edd8c3
09e9c9be2fc1d8f900e1e07fb5298c7c59596262
refs/heads/master
2022-11-02T00:15:21.089949
2022-10-07T12:06:41
2022-10-07T12:06:41
216,760,405
54
14
null
null
null
null
UTF-8
C++
false
false
433
cpp
solution.cpp
class Solution { public: int halfQuestions(vector<int>& que) { int sz=que.size(); vector<int> cnt(1e3+1); for (int i:que) { cnt.at(i)++; } sort(cnt.rbegin(),cnt.rend()); int num=0; int ans=0; for (int i:cnt) { num+=i; ...
5ee110d7e297e5aa0474a677fe445491a335f348
ec45098bf865f9647a82a49c3800d7fb1678d327
/fordbworkclass.h
b40b446488e272b8de34a54c7f173f80984a9908
[]
no_license
mishanyya/Qt_example_models_of_dif_tables_and_setup_table_create_class
0902dbdbb90e1252c98ea5536ad76d73a93a1fba
903fcf48da81185b4da0319024c30513695b4404
refs/heads/master
2023-02-20T14:56:40.765656
2021-01-10T11:54:16
2021-01-10T11:54:16
312,809,809
0
0
null
null
null
null
UTF-8
C++
false
false
1,319
h
fordbworkclass.h
#include <QMainWindow> #ifndef FORDBWORKCLASS_H #define FORDBWORKCLASS_H class Fordbworkclass //с большой буквы! { //private означает, что элементы НЕ доступны из других функций. их можно получить только с помощью public методов этого класса //установлено по умолчанию private: //все рабочие функции опи...
d642b5c3683d420510f8766c083f1b7cb00ff936
8c631a7e42e7befaff737f3c056c87f7470db04d
/Workshop4/Home/Notifications.h
1dc400c78d1c3a801eb6161f78a9a063a555d1d6
[]
no_license
jacarating/OOP345
e68d8fe35cce9c7e25186626d2ef79a412f213cd
fd85c3b313ca88ccc8e72852077d833a80306f28
refs/heads/master
2020-05-31T20:05:43.038118
2019-07-16T23:24:23
2019-07-16T23:24:23
190,468,310
1
0
null
null
null
null
UTF-8
C++
false
false
1,160
h
Notifications.h
/* ================================================================================================================ Name : Notifications.h Author : Jacob Carating Email : jacarating@myseneca.ca Student # : 157 725 177 Course Code : OOP345 Section : SCC Date : June 9th, 2019 Workshop : Workshop 4 ========...
85fa50e15c1c47e8e9c02525390ac9f1fe881cfc
bb90ad20468f9fe2039b8c16858bd8eae8bbc050
/src/crypto/openssl/openssl_wrappers.h
54b21e31d3f320fbf4ea9a01e72fb034134f5d60
[ "Apache-2.0" ]
permissive
microsoft/CCF
0997fd81a924d36d775b219720b26b4ff196b18a
2fbf87840b9e8334c141f4a9c9b25aae979b0540
refs/heads/main
2023-09-05T15:39:37.265089
2023-09-05T15:27:25
2023-09-05T15:27:25
180,112,558
687
229
Apache-2.0
2023-09-14T14:28:39
2019-04-08T09:13:04
C++
UTF-8
C++
false
false
12,167
h
openssl_wrappers.h
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the Apache 2.0 License. #pragma once #include "ccf/crypto/pem.h" #define FMT_HEADER_ONLY #include <chrono> #include <ds/x509_time_fmt.h> #include <fmt/format.h> #include <memory> #include <openssl/asn1.h> #include <openssl/bn.h> #include ...
6bfd342679fc26a15f27836b8e39704a8f88ac3f
9c2b93a2faaa776ac69d313dee728e3e3f51a2eb
/C++/frase.h
6dc830c5e31fb290b11e6dd1184ef3cfbe55a0ff
[]
no_license
AndreeeD/CipherKalk
0f16e0afa69347f3f5cda6070ccedf7378f144c4
cab53baaf438816317c650f4dd99fdf26fbd3d7b
refs/heads/master
2022-04-06T08:02:39.096726
2020-02-10T10:29:57
2020-02-10T10:29:57
200,277,611
0
0
null
null
null
null
UTF-8
C++
false
false
487
h
frase.h
#ifndef FRASE_H #define FRASE_H #include <QWidget> using namespace std; class Frase{ private: string Phrase; //Testo inserito static char Alfa[26]; //Lettere dell'alfabeto in maiuscolo public: Frase(string p); virtual ~Frase() {} virtual void codifica() =0; virtual char* getRisultato() const=0...
7cc5dc5b9c36ac1d6e5e5d5fd7ecbf10f0a26fd4
97a3e0308cfe2f85b7ba7d69c79534966cea1217
/Assignments/Assignment1/EE402Assignment1/Guitar.h
e6eb55d6c59a575d88a7b6b958db0a6a5332c2a1
[]
no_license
mLenehanDCU/EE402
186195287c55a419c71cb0d70c5d2a220b020272
2033884c62024e384cc46f11c546cdafc1f03628
refs/heads/master
2020-04-04T20:49:13.720541
2019-05-13T14:23:46
2019-05-13T14:23:46
156,262,411
0
0
null
null
null
null
UTF-8
C++
false
false
505
h
Guitar.h
/* * Guitar.h * * Created on: 27 Oct 2018 * Author: mlenehan */ #ifndef GUITAR_H_ #define GUITAR_H_ #include <iostream> #include "Instrument.h" using std::string; class Guitar: public Instrument{ private: static int nextGuitarSerialNumber; int serialNumber; void construct(); protected: string bodySh...
e48c1fc6bff377ce20b22dae2a823b714670c061
7f079aa30e40d1fbabdfeec0f581344a5ceaeb32
/src/cpp1x/selection_sort.h
a697c40c1b361ed7d140410c99b7cfc440c548ae
[]
no_license
andyspb/cpp-test
3974025f19fb730e43b1fd4603de8f58135116c1
6ca3f7da3bcd0f38b7996e47da37831b8e8f62df
refs/heads/master
2021-01-17T00:24:16.249549
2018-08-29T15:13:18
2018-08-29T15:13:18
12,684,829
1
0
null
null
null
null
UTF-8
C++
false
false
530
h
selection_sort.h
#ifndef CPP1X_SELECTION_SORT_H_ #define CPP1X_SELECTION_SORT_H_ namespace cpp1y_selection_sort { template<class FwdIt, class Compare = std::less<int>> void selection_sort(FwdIt first, FwdIt last, Compare cmp = Compare { }) { for (auto it = first; it != last; ++it) { auto const selection = std::min_element(it, l...
cf3e9c3ac60abbf9590c27d2bae647175dc9690d
067e7a31c3a489cd724eb8749073432a5c059b5e
/src_Cplus/DSAlgo/BST.h
996c541423a6b97e3c0577461dec66bd465f929d
[]
no_license
SUNGWOOKYOO/Algorithm
f879c982e620120493e7478ed250b2627ee46b73
cea2bc9bc015ec1c9eca225dd36ca131227690d8
refs/heads/master
2020-04-17T10:39:25.600428
2019-10-17T02:43:33
2019-10-17T02:43:33
166,508,679
3
0
null
null
null
null
UTF-8
C++
false
false
4,183
h
BST.h
#include <iostream> using namespace std; template <class T> class BSTNode { public: BSTNode(); ~BSTNode(); BSTNode(T data); void print(); T data; BSTNode* left; BSTNode* right; }; template <class T> class BST { public: BST(); ~BST(); ...
9252ba7b32245ae0e9ddf1b3a63f2f000648767f
50a80cba60b8ee32d7a78051595c8d0cd30ab517
/4. Classes/1. Classes I/4_uniform_initialization.cpp
df14c31f4e60d781cedc7156ae1f8f1344f93c63
[]
no_license
reymon359/cplusplustutorial
0f51abfce64257ef4bf645d11b59ea6a67db5210
62bd5819a0275c7e090bae737c6988247b709330
refs/heads/master
2020-04-22T11:20:29.409967
2019-06-10T18:57:29
2019-06-10T18:57:29
170,336,518
0
0
null
null
null
null
UTF-8
C++
false
false
2,004
cpp
4_uniform_initialization.cpp
/*Uniform initialization The way of calling constructors by enclosing their arguments in parentheses, as shown above, is known as functional form. But constructors can also be called with other syntaxes: First, constructors with a single parameter can be called using the variable initialization syntax (an equal sign f...
db7752946a281d2e9f853976b2e580f5ef7d07c5
4207610c48cbb9021f4420791a9c9d07550b72d9
/JUCE/modules/juce_box2d/box2d/Dynamics/Joints/b2RevoluteJoint.h
8d7aed052e1268ec227e2c7a09a9bd8b8faa2139
[ "GPL-1.0-or-later", "LicenseRef-scancode-proprietary-license", "GPL-3.0-only", "ISC", "LicenseRef-scancode-unknown-license-reference", "GPL-2.0-only", "BSD-3-Clause" ]
permissive
RomanKubiak/ctrlr
d98a910eb46f6cf4324da3fc3ae664cc7dd5aec9
8aa00d82127acda42ad9ac9b7b479461e9436aa4
refs/heads/master
2023-02-13T00:21:04.546585
2022-06-24T10:53:16
2022-06-24T10:53:16
14,671,067
435
82
BSD-3-Clause
2022-05-31T18:18:23
2013-11-24T22:53:11
C++
UTF-8
C++
false
false
6,379
h
b2RevoluteJoint.h
/* * Copyright (c) 2006-2011 Erin Catto http://www.box2d.org * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arising from the use of this software. * Permission is granted to anyone to use this software for any purpos...
bd246012a32ad6ece32c2d138be313fb6a83e900
ae16ba2aaf64673542e1c6d6dee4639220915715
/insertSort.h
7915514fa0ac4cb905c0d1bfd2d224c7bbf09f43
[]
no_license
longyf/sort
0dd5e5e199be706fac0dadd3a3ea202b9639f4a2
c63b6c08603c22c6655cde6a58f7b241c2b4c14c
refs/heads/master
2020-03-08T14:51:47.092039
2018-04-11T06:39:59
2018-04-11T06:39:59
128,196,244
0
0
null
null
null
null
UTF-8
C++
false
false
694
h
insertSort.h
#ifndef insert_sort_h #define insert_sort_h #include <iostream> #include <stdexcept> #include "insert.h" using namespace std; template <class T> void insertSort(T num[], int length) { if (num==nullptr||length<=0) throw invalid_argument("Invalid array in insertSort."); for (int size=1; size!=length; ++size) { T ...
c1169556170e5d17b74d57e512633bedd4ba136d
c5f120b9ab7f2625d735fe81aded3e94ab0b5ff5
/ImageProcessing/image_scaling.cpp
491909c369f2e7f7b1c9d4faec2960f17a5d547c
[]
no_license
cmdout/HUST-Digital_Image_Processing
554efad32cd391212e33e2f78eef5dab80169b45
f5184b88f38b25e41988bda31b0d66039e7d5681
refs/heads/master
2023-01-05T13:15:34.749041
2020-11-04T08:00:40
2020-11-04T08:00:40
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,592
cpp
image_scaling.cpp
#include "bmp.h" #include <cmath> #include <QDebug> BMP* image_scaling_nearest_neighbor(BMP* p, double sx, double sy){ BMP* pnew = new BMP; pnew->create_gray_bmp(int(sx * p->width), int(sy * p->height)); double sx_reci = 1/sx; double sy_reci = 1/sy; for(int y=0; y<pnew->height; y++){ for(i...
fbf7a9a785568434f0cc2026f4f402900941e791
2f10f807d3307b83293a521da600c02623cdda82
/deps/boost/win/debug/include/boost/type_traits/remove_volatile.hpp
008de00008c658474874a990effe6ceb4ff81fe6
[]
no_license
xpierrohk/dpt-rp1-cpp
2ca4e377628363c3e9d41f88c8cbccc0fc2f1a1e
643d053983fce3e6b099e2d3c9ab8387d0ea5a75
refs/heads/master
2021-05-23T08:19:48.823198
2019-07-26T17:35:28
2019-07-26T17:35:28
null
0
0
null
null
null
null
UTF-8
C++
false
false
129
hpp
remove_volatile.hpp
version https://git-lfs.github.com/spec/v1 oid sha256:55792b123ad1789aa184175b491705bb3566ad98397c29c4b97de84c2c19dfdc size 1396
6a0a9097cdd7faf7bab743cedb2cce6615af3efc
8584afff21c31c843f520bd28587a741e6ffd402
/AtCoder/ABC/116/c.cpp
9c775b263cac040ebf53730392771c7d3c0ef8c2
[]
no_license
YuanzhongLi/CompetitiveProgramming
237e900f1c906c16cbbe3dd09104a1b7ad53862b
f9a72d507d4dda082a344eb19de22f1011dcee5a
refs/heads/master
2021-11-20T18:35:35.412146
2021-08-25T11:39:32
2021-08-25T11:39:32
249,442,987
0
0
null
null
null
null
UTF-8
C++
false
false
1,049
cpp
c.cpp
#include <bits/stdc++.h> using namespace std; #define rep(i,s,n) for (int i = (int)s; i < (int)n; i++) #define ll long long #define pb push_back #define All(x) x.begin(), x.end() #define Range(x, i, j) x.begin() + i, x.begin() + j int lbidx(vector<int> x, int y) { auto itr = lower_bound(x.begin(), x.end(), y); in...
ea03829a9523ec9d572243b62d97e8f7c1406840
f75cac80f391182f8a4af9afcb457441d6c5055c
/BasicLayouts/include/basiclayouts.h
d0ba98322c17752b20b3bbb4b6a7a4387ba51298
[]
no_license
liyustar/qtdemo
4e52afb6c08419cc63547b427dd7a869f44d1326
0c2e37d67aafdf2a3396a87ecc7d250bf24f0bd7
refs/heads/master
2016-09-02T00:26:09.869650
2015-03-27T07:24:40
2015-03-27T07:24:40
30,496,788
0
0
null
null
null
null
UTF-8
C++
false
false
930
h
basiclayouts.h
#ifndef BASICLAYOUTS_H #define BASICLAYOUTS_H #include <QDialog> class QAction; class QDialogButtonBox; class QGroupBox; class QLabel; class QLineEdit; class QMenu; class QMenuBar; class QPushButton; class QTextEdit; class BasicLayouts : public QDialog { Q_OBJECT public: BasicLayouts(QWidget *parent = 0); ...
2a3f2cd83e79cd3a60bb676b53f97e25321857c6
5b39937c88d98d8bf9aa3d242ade98d3ebdb3bd3
/Documents Personnels/Iris Hoel/Simu 2011 v1.1/function.hpp
cd542e60d18dc4999309506345f720a1bd7b7f37
[]
no_license
robinmoussu/robotronik
2c542360ac5819a3cedab3b3786909df021e927f
5a21218001c79dbfd1c987b2041f9ba2647b0c96
refs/heads/master
2021-01-10T21:11:34.944493
2015-03-12T17:04:04
2015-03-12T17:04:04
32,186,393
0
0
null
null
null
null
ISO-8859-1
C++
false
false
1,297
hpp
function.hpp
#if !defined(FUNCTION_H) #define FUNCTION_H enum { ok, bugEtat, bugConversionValeurTropGrande, erreurExecutionInstructionAvancer, erreurExecutionInstructionTourner, erreurExecutionInstructionAvancerNoB, erreurRxAsser, erreurRxBalise }; int ret = ok; int bientotFinMatch = 0; void se...
44a2a6d6a8dd6ef86e89ec2b28241063820ed457
0fdb6565a31358a7021c30bbfd0e95a1a9d39e25
/src/morganaGeometry/pointElement.hpp
c242ee5ddc89600a6f8d10a8a59280a70332631e
[]
no_license
feof81/morganaPublic
b8b61a08d222a2ade3484cbdfc80c9790c0e5508
540cdbcdcf56e5cd13c0dc98c04f724543025bce
refs/heads/master
2023-01-28T01:12:51.711178
2023-01-11T16:56:37
2023-01-11T16:56:37
216,569,123
3
2
null
null
null
null
UTF-8
C++
false
false
7,399
hpp
pointElement.hpp
/*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% This file is part of Morgana. Author: Andrea Villa, andrea.villa81@fastwebnet.it Morgana is free software: you can redistribute it and/or modify it under the terms of the GNU Gene...
b147ff311aca5ff3437d5eb631d3903a27c11f88
f14626611951a4f11a84cd71f5a2161cd144a53a
/武侠世界/代码/客户端/Scorpio/src/PhysicsSimulation/PS_ForceField.h
d61aba809879b436fdfec4d69e4b5afde2e92537
[]
no_license
Deadmanovi4/mmo-resourse
045616f9be76f3b9cd4a39605accd2afa8099297
1c310e15147ae775a59626aa5b5587c6895014de
refs/heads/master
2021-05-29T06:14:28.650762
2015-06-18T01:16:43
2015-06-18T01:16:43
null
0
0
null
null
null
null
UTF-8
C++
false
false
707
h
PS_ForceField.h
#ifndef __PS_ForceField_H__ #define __PS_ForceField_H__ #include "PS_Mass.h" #include "PS_Motion.h" #include "PS_Force.h" #include "PS_SharedPtr.h" class PS_ForceField { public: PS_ForceField(void) {} virtual ~PS_ForceField() {} virtual void prepare(size_t count, const PS_Mass* masses, cons...
d1ad2a284577b10aad560507f3fb69f12dd5fa00
b5f14719c435a998316783fd34cad32260d4067c
/samples/misc/c-wrapper/Gif.cpp
0f5108d9705d5ecd11a68806a12a507cf54ed4a2
[]
no_license
lukaszdk/libito
8b0f865cb530979e8c347da7bb1deacc0a38dd4a
5521bf53e186abc597fd089e9009486f96e35f0b
refs/heads/master
2021-03-12T23:55:42.862754
2014-03-11T12:06:01
2014-03-11T12:06:01
1,588,480
3
1
null
null
null
null
UTF-8
C++
false
false
730
cpp
Gif.cpp
#include <Ito.h> using namespace Ito; static GifPipe gif; /** Make the functions C style instead of C++ style */ extern "C" { void itoGsReset() { Gs::Reset(); } u32 itoGsGetVideoMode() { return Gs::GetVideoMode(); } void itoGifSetupEnv(u32 psm, u32 width, u32 height, u32 bufferCount, u32 vmode, u32 ffmode, u32...
6c837343884123636720f2ba3ddcc57feb707c8c
f43711e16bf8e16fee28df8376814e14ec6ee10e
/Revision/Q.4 sparse matrix.cpp
6767dc2e7a400d86a4cc75d065a75b9087448e5d
[]
no_license
kshav/My_codes
5e3ed56b99ba2860462d485b2c2c6cdc485db14a
4337b951454b62010bcc91b8f78db2eb04dcdc67
refs/heads/master
2016-09-06T00:24:47.843220
2014-02-19T12:49:31
2014-02-19T12:49:31
16,978,109
0
1
null
null
null
null
UTF-8
C++
false
false
758
cpp
Q.4 sparse matrix.cpp
#include<iostream> #include<conio.h> using namespace std; class matrix { int a[100][100],b[100][100],c[100][100]; public: void putvalue(); void getvalue(); }; void matrix::putvalue() { for(int i=0;i<100;i++) for(int j=0;j<100;j++) a[i][j]=0,b[i][j]=0; a...
cf0e431a12cb02335f772779c433486dd78d4172
615deed644c7a6e596e0af0fc10e34a8c5ee077c
/utility/lip_filter/SingleIdentityHashFilter.hpp
ddea2f195f6d57439a2a723eee737aa30f30d00f
[ "Apache-2.0", "MIT", "BSD-3-Clause" ]
permissive
UWQuickstep/quickstep
796bddff114b5b66b29f290a92e75461e7cb1bad
1a34cf8cd0b069286d0193b4d134bd9fa9168752
refs/heads/master
2022-05-02T12:19:25.337874
2022-04-15T09:30:48
2022-04-15T09:30:48
155,096,119
32
9
Apache-2.0
2021-08-20T01:48:32
2018-10-28T17:20:54
C++
UTF-8
C++
false
false
6,281
hpp
SingleIdentityHashFilter.hpp
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
e8385ac114304c1e0f513fb4293d70f7254f0603
4ef7d6cddc98c3a6d19c965ba3a04921c8d091c2
/src/error.h
57712a9376399b51e91f40043eb1f640fbc99de0
[]
no_license
badlogic/qak
fc9839bd62aa82bade12317148e42ad0aa933f69
5a986c5b0af7e4e88a9ce671bc0cc0bf88fddff5
refs/heads/master
2022-12-10T08:15:34.621379
2020-07-20T22:18:57
2020-07-20T22:18:57
272,157,730
13
0
null
null
null
null
UTF-8
C++
false
false
789
h
error.h
#ifndef QAK_ERROR_H #define QAK_ERROR_H #include "source.h" #include "array.h" namespace qak { #define QAK_ERROR(span, ...) { errors.add(span, __VA_ARGS__); return; } struct Error { Span span; const char *message; Error(Span span, const char *message) : span(span), message(message) {} ...
db6caabbba3e6f981619984abf3f5404395c4536
cd484c21d9d412d81ee3039072365fbb32947fce
/WBoard/Source/domain/WBDragableThumbnail.h
5eb65d5bf95c0c587e028b1a91ff02a172b762fe
[]
no_license
drivestudy/WBoard
8c97fc4f01f58540718cd2c082562f9eab5761de
18959203a234944fb402b444462db76c6dd5b3c6
refs/heads/main
2023-08-01T01:41:04.303780
2021-09-09T04:56:46
2021-09-09T04:56:46
null
0
0
null
null
null
null
UTF-8
C++
false
false
802
h
WBDragableThumbnail.h
#ifndef WBDRAGABLELABEL_H #define WBDRAGABLELABEL_H #include <QFrame> #include <QLabel> #include <QDragEnterEvent> #include <QDragMoveEvent> #include <QDropEvent> #include <QHBoxLayout> #include <QPixmap> class WBDraggableThumbnail : public QFrame { public: WBDraggableThumbnail(QWidget* parent =0, const Q...
1836af92d587d4cbcadfa6d500de5e51f4daa6d5
f0c5b5a5012bb1faf86d012ce5136365aa1c626e
/prog11/Account.cpp
6f23e089cba35fedd774e06dacc426474a32b17d
[]
no_license
jindo12/cpp
76cd9ad8a70fb1bb32a7cb89959f6f1d2787a332
665d6a53a1fd74396acfbfb7af1980f13c1b7cf4
refs/heads/master
2023-03-30T21:27:00.985399
2021-04-05T02:09:48
2021-04-05T02:09:48
282,653,109
0
0
null
null
null
null
SHIFT_JIS
C++
false
false
479
cpp
Account.cpp
#include "Account.h" #include <iostream> #include <string> using namespace std; // コンストラクタ初期化子による初期化 Account::Account(string name, string num, long amnt, const Date& op) : full_name(name), number(num), crnt_balance(amnt), open(op) { //full_name = name; //number = num; //crnt_balance = amnt; } voi...
4e006a432eacaaa918b3615204cbc5d6ca717a9b
3a79fb1e3d02c6fed1d537c771e2dae4721e8fdb
/wzr15_3a/glowny.cpp
c8ca5e0c5f655ed3aba56ed193d3fa6870fd9d88
[]
no_license
tengwar/WZR
a70f71458b9eb7afaeaf1f8b329ce454ff06c4d4
7582f6742faad820d37d2b99ccdafd3a11a7658a
refs/heads/master
2021-01-01T15:35:33.535992
2017-03-18T16:55:20
2017-03-18T16:55:20
31,624,701
0
0
null
null
null
null
WINDOWS-1250
C++
false
false
5,663
cpp
glowny.cpp
/**************************************************** Wirtualne zespoly robocze - przykladowy projekt w C++ Do zadań dotyczących współpracy, ekstrapolacji i autonomicznych obiektów ****************************************************/ #include <windows.h> #include <math.h> #include <time.h> #include <gl...
f2670220dfccc2ab77796825e23b484d1bda9de0
d0fc61b179799dfc1149fd766270a361cad9b4e6
/app/src/main/cpp/gpufilter/codec/CodecEncoder.cpp
9b52d384331d9cd0d1764c4238ad885d56597d4c
[]
no_license
lijintan1990/NativeCppApp
6d1eb0482e259d000288293a90e1de3ef2bad10a
1c5125e01d841bbd1bfa46552c786f0e592c5965
refs/heads/master
2020-12-23T12:30:48.494145
2020-01-20T10:00:06
2020-01-20T10:00:06
null
0
0
null
null
null
null
UTF-8
C++
false
false
10,376
cpp
CodecEncoder.cpp
// // Created by nicky on 2020/1/6. // #include <pthread.h> #include <string> #include "CodecEncoder.h" #include "../../common/zzr_common.h" #include "../filter/GpuContrastFilter.hpp" #include "../filter/GpuColorInvertFilter.hpp" #include "../filter/GpuPixelationFilter.hpp" #include <media/NdkMediaCodec.h> CodecEncode...
e8dd0ab4b06016eeca44e6cdfbb9a1ebbe3d9e76
feaa8dfb17eeffa97ab7163f3772a6f159a13af2
/Classes/Shaders.hpp
a7d714e1edb3b24e1b05c36a7f8c4a1c1e33c368
[ "MIT" ]
permissive
srpatel/spellsmith
e07ac625e82d647dfd01b8071fb1de6bb6735abd
c6f81f9152a13a0fc192efbbf6cb9f6c4db7bf01
refs/heads/master
2020-05-18T17:00:53.815209
2017-12-03T21:33:10
2017-12-03T21:33:10
184,538,189
0
0
null
null
null
null
UTF-8
C++
false
false
320
hpp
Shaders.hpp
// // Shaders.hpp // Gems // // Created by Sunil Patel on 27/04/2016. // // #ifndef Shaders_hpp #define Shaders_hpp class Shaders { public: static GLProgram *none(); static GLProgram *smooth(); static GLProgram *smokey(); static GLProgram *greyscale(); static GLProgram *bright(); }; #endif /* Shaders_hpp */
760ca0f271322e6f84df5f99fd359a93a714298b
8af7a98206bd792bb976889d95792900244f585a
/src/main.cpp
185612e3ed968946d6c41b56882c9ff0e9f6e9fb
[]
no_license
StevenRVE/ADSR_envelope_synth
03a623d96bdb266051d6fe0dc3e2b0dd4cde57fa
a8042e18829a775f6f1801f3eda93489edfe7978
refs/heads/main
2023-04-12T10:02:22.223650
2021-05-21T13:27:13
2021-05-21T13:27:13
365,827,469
0
0
null
null
null
null
UTF-8
C++
false
false
2,498
cpp
main.cpp
#include <iostream> #include <vector> #include "port_audio/port_audio.h" #include "port_audio/audioModuleAdapter.h" // TODO add voice class for polyphony int main() { auto sampleRate = 44100; auto blockSize = 64; AudioModuleAdapter audioProcess; PortAudio portAudio { audioProcess }; portAudio.se...
ee794e112e349102de6bdb16d96108dfb1cab5cd
77a9a23c5c0facabf435a12a8ca3732990192c5d
/gearoenix/render/graph/node/gx-rnd-gr-nd-mipmap-generator.cpp
e155783e6d57947c41631e9c72dd30c67ff82146
[]
no_license
JiangKevin/gearoenix
165dd4e3846e534dfc591f28fc92095a5ce0f5a5
c8fa8b8946c03c013dad568d6d7a97d81097c051
refs/heads/master
2023-02-10T10:57:19.036215
2021-01-05T07:55:06
2021-01-05T07:55:06
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,486
cpp
gx-rnd-gr-nd-mipmap-generator.cpp
#include "gx-rnd-gr-nd-mipmap-generator.hpp" #include "../../../core/asset/gx-cr-asset-manager.hpp" #include "../../../core/sync/gx-cr-sync-kernel-workers.hpp" #include "../../../system/gx-sys-application.hpp" #include "../../buffer/gx-rnd-buf-manager.hpp" #include "../../buffer/gx-rnd-buf-uniform.hpp" #include "../../...
721f9c4ac683b62e4039e2c1dd005443e2c38aa5
112c3c38bb126eea23ea75d17512f51ae8aec26d
/src/EnergyPlus/SimulationManager.cc
8aafe4ed1a875cfca17ca492858b5bbf805d563e
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
tsbyq/EnergyPlus
1c49fe8e356009d904cff23c9b7640e13d77f72b
208212976a28f796b2181f8bef621f050518f96d
refs/heads/develop
2021-07-06T06:56:40.049207
2019-02-09T12:27:12
2019-02-09T12:27:12
136,358,541
2
0
NOASSERTION
2019-02-07T00:39:29
2018-06-06T16:46:56
C++
UTF-8
C++
false
false
150,104
cc
SimulationManager.cc
// EnergyPlus, Copyright (c) 1996-2019, The Board of Trustees of the University of Illinois, // The Regents of the University of California, through Lawrence Berkeley National Laboratory // (subject to receipt of any required approvals from the U.S. Dept. of Energy), Oak Ridge // National Laboratory, managed by UT-Batt...
8a81f11b915af886ff87f509606b6000412e820b
4bbc259c022331cab9d06a48fd4d8d0e9b5000e3
/include/GraphRecords.hpp
178d3a0e5ee5590ded67c95bd661a5045cc68f80
[ "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
800
hpp
GraphRecords.hpp
#pragma once #include "Types.hpp" #include "Tick.hpp" #include "TransactionRecords.hpp" #include "CapitalHolder.hpp" #include "Util/Unique.hpp" #include <memory> #include <set> #include <string> #include <unordered_set> namespace pyramid_scheme_simulator { /** * global records */ class GraphRecords { /** ...
ecb309b174d3ebb3d1f4b9a13fe57c29469f209f
8e366fc9a5465315f4510687f4019c274a80855b
/sorce/JacobiAnother2.hpp
238cc054bab9e61743b5093c73798d8520e291c6
[]
no_license
muryakami/Dark_History_01
376833f6ef13eabc1bcb82fe43f2125710370b71
5d2794dc7cdd8760cf3ae7be8e8c0398cdac0e29
refs/heads/master
2021-09-07T02:14:00.246556
2018-02-15T16:58:15
2018-02-15T16:58:15
105,656,573
1
0
null
null
null
null
SHIFT_JIS
C++
false
false
3,404
hpp
JacobiAnother2.hpp
#ifndef _JacobiAnother2_HPP_ #define _JacobiAnother2_HPP_ #include <math.h> #include <iostream> /*! * Jacobi法による固有値の算出 * @param[inout] a 実対称行列.計算後,対角要素に固有値が入る * @param[out] v 固有ベクトル(aと同じサイズ) * @param[in] n 行列のサイズ(n×n) * @param[in] eps 収束誤差 * @param[in] iter_max 最大反復回数 * @return 反復回数 */ int eigenJacobiMethod(float *a,...
4ee13f058e06894bd596b4c0535f8b6e7ec9ac34
789bfae90cbb728db537b24eb9ab21c88bda2786
/source/GameLostAppearStateClass.cpp
ce86069c83a098f60605c4825a00b40cf5c730d2
[ "MIT" ]
permissive
Izhido/bitsweeper
b89db2c2050cbc82ea60d31d2f31b041a1e913a3
a37902c5b9ae9c25ee30694c2ba0974fd235090e
refs/heads/master
2021-01-23T11:49:21.723909
2011-12-24T22:43:30
2011-12-24T22:43:30
34,614,275
0
2
null
null
null
null
UTF-8
C++
false
false
2,013
cpp
GameLostAppearStateClass.cpp
#include "GameLostAppearStateClass.h" #include "CommonDataClass.h" #include <nds/arm9/input.h> #include "StateMachineClass.h" #include "GameLostVisibleWaitStateClass.h" #include "BoardCellClass.h" #include "OperationsClass.h" GameLostAppearStateClass::GameLostAppearStateClass() : StateClass() { } void Ga...
ed81bcfda1dc68ea897fc34a0366c6120f58c493
0679e232f978513ce0efab42e38bfa78f854b4e4
/practice_1/c++/readFile.h
8360866d78f02d3b722f6ea42978c7b7d4688cd2
[]
no_license
cesarcharallaolazo/mcs_unsa_algo_data_structure
121f8df9cc3e9ab9f0ed5922e26a19be4643ff8c
427d57c1351b64cfb2af14fb550137b1e9eddc7d
refs/heads/master
2023-06-24T11:05:47.820026
2021-07-23T19:17:38
2021-07-23T19:17:38
376,340,822
0
1
null
2021-06-22T18:38:10
2021-06-12T16:50:35
C++
UTF-8
C++
false
false
6,355
h
readFile.h
#include <math.h> #include <vector> #include <errno.h> #include <sstream> #include <stdio.h> #include <string> #include <stdlib.h> #include <fstream> #include <algorithm> #include <iostream> #include <string> using namespace std; int readFiles(int size){ stringstream ss; ss <<size; string nameFile =ss.str() + "-nu...
493402e0a350c5677f3b389ad4fd6e3b8af46d72
7d3ea2c969ca6fda1c235674c0ef44488163e978
/hamming_word.cpp
92661f341c403346ced773bf3e571454a4ffa8cb
[]
no_license
imrobintomar/JMI_cpp_code
d6eeefae9b5165a3cff5fd8b87850988cee7e7ec
4c2289cc23ae32c0530c1eddaededbd729f62042
refs/heads/main
2023-03-07T05:31:35.046833
2021-01-30T17:24:46
2021-01-30T17:24:46
334,465,140
1
0
null
null
null
null
UTF-8
C++
false
false
442
cpp
hamming_word.cpp
#include <iostream> using namespace std; int hamming(char str1[], char str2[]) { int i = 0, count = 0; while(str1[i]!='\0') { if (str1[i] != str2[i]) count++; i++; } return count; } int main() { char str1[]="ATGCATGCGCGCGC"; char str2[]="TACG...
51ed5629b25e70c120491394adf8a0ef8acbcc84
f3dd70d03b19ea07fed64c3859806530d3c68090
/utils/fpcm/revision.inc
aa95fc06b6486003e09497bf8d8b23bcbcba3e39
[]
no_license
rjh58/freepascal
8662889ec257bfa030b4a922d6e28c94a26b7f2f
859251a6b7774b0ef736b4aeeab511d7cf0060d4
refs/heads/master
2021-01-14T12:30:16.650943
2014-07-09T22:59:13
2014-07-09T22:59:13
null
0
0
null
null
null
null
UTF-8
C++
false
false
23
inc
revision.inc
'2014-04-01 rev 27428'
0ef1be5e03af9de7a925095162367005952c71df
bb52c947a9226b0e52e2301f71fa3a134d395d9d
/engine2d/engine2d/Texture2D.h
82f2c8ec37eb423017beb6f235b8c13294f014cf
[]
no_license
Piechota/engin2d
cf87395bca4f25bd294e23b6bb10718f2f45055a
8083937c052a96761f888c3e89658b348dda39db
refs/heads/master
2016-08-05T23:47:59.124878
2014-11-07T00:40:25
2014-11-07T00:40:25
null
0
0
null
null
null
null
UTF-8
C++
false
false
231
h
Texture2D.h
#ifndef _TEXTURE_2D_ #define _TEXTURE_2D_ #include "Headers.h" class Texture2D { private: string _fileName; GLuint _textureID; public: string GetFileName(); GLuint GetTextureID(); Texture2D(string); void bind(); }; #endif
292e2ce9c835b2f898d0681e44d428a0d99661fb
be33dfd5ab44d90045c4ae9dbaa1c82e47e43609
/src/lobbycontroller.cpp
d64d2ff187e878a67f4f7f8bb2d265058eb935b4
[]
no_license
fishmaker/fishing
767aae5c509b65f648348df40c2a2d85d9d55ed0
2a680a59ecb60dd78b35b9d47755fe9a07d9901b
refs/heads/master
2021-01-12T04:39:43.524758
2017-01-08T21:52:17
2017-01-08T21:52:17
77,695,768
0
0
null
null
null
null
UTF-8
C++
false
false
1,678
cpp
lobbycontroller.cpp
#include "game/Controller/lobbycontroller.hpp" game::LobbyController::LobbyController(QWidget *a_Parent) { this->m_View = new game::LobbyView(a_Parent); this->m_View->Setup(); // QObject::connect QObject::connect(&this->m_View->m_Buttons[0], SIGNAL(clicked()), this, SLOT(OnKey0_Clicked())); QObjec...
2735c8d255ae04b5336250dfbeb3804821436689
8f49973d0d275398511b1c675c7b591f8739f0bd
/src/ui/sceneview.cpp
6e9e2e3eba128c32075c6e4b0d6110c335bacd85
[]
no_license
simzer/bouldr
bddf0fc4696f6eeac2d8d113c29cce168e1ea2a2
f007f6e092d5dff48f304a955cebf47219b95261
refs/heads/master
2021-01-25T10:01:16.153018
2020-07-23T19:41:09
2020-07-23T19:41:09
123,335,720
0
0
null
null
null
null
UTF-8
C++
false
false
3,528
cpp
sceneview.cpp
#include "sceneview.h" #include <QPainter> #include <QMouseEvent> SceneView::SceneView(Scene &scene, const std::shared_ptr<Camera> &camera, QWidget *parent) : QWidget(parent), scene(scene), camera(camera), painter(nullptr) { forceSize = 1.7 / 700.0; setMinimumSize(320, 200); setContentsMargin...
c9798745d09d26439b98a8b32bc1dee6109d607d
e1d7a093d6cdbbb180ee8de1a1b61773e106ac71
/Project/OLD/Tests/GameObjectUnitTest.cpp
3ee0966da9617b20580de8bb5bfa0b219b9eb021
[]
no_license
Conny14156/OneFlower
916f3b9ccecbccf5431323af1d21ac73a9227c41
3b8a0acfb4d98ee80be16c7ef646a157f9045650
refs/heads/master
2020-04-03T22:38:09.582293
2018-10-21T16:29:05
2018-10-21T16:29:05
32,185,135
1
0
null
null
null
null
UTF-8
C++
false
false
2,797
cpp
GameObjectUnitTest.cpp
#ifdef _UNITTESTS_ #include "CppUnitTest.h" #include <Core\Component\GameObject.h> #include <Core\Component\TransformComponent.hpp> #include <Core\IEngineResource\EngineResourceManager.hpp> using namespace Microsoft::VisualStudio::CppUnitTestFramework; class MockedComponent : public IBaseComponent<MockedComponent...
7aa9fc473a44d48121a91cad2b8aa8993aa39195
0ac7388d092db127a5f34952a985ee3cfb3ca028
/deps/libproj/proj/src/projections/cea.cpp
e26a14f3715fc57f637168c2e719aa454b6eae81
[ "Apache-2.0", "MIT", "LicenseRef-scancode-public-domain" ]
permissive
mmomtchev/node-gdal-async
49161ab6864341b1f0dd8b656c74290c63061c77
5c75d3d98989c4c246e54bb7ccff3a00d5cc3417
refs/heads/main
2023-08-07T11:44:44.011002
2023-07-30T17:41:18
2023-07-30T17:41:18
300,949,372
96
18
Apache-2.0
2023-09-13T17:43:40
2020-10-03T18:28:43
C++
UTF-8
C++
false
false
2,907
cpp
cea.cpp
#define PJ_LIB__ #include <errno.h> #include <math.h> #include "proj.h" #include "proj_internal.h" namespace { // anonymous namespace struct pj_opaque { double qp; double *apa; }; } // anonymous namespace PROJ_HEAD(cea, "Equal Area Cylindrical") "\n\tCyl, Sph&Ell\n\tlat_ts="; # define EPS 1e-10 static ...
97dad276ee2d6ac68d0f563c34475a637a9eeaeb
a5f3b0001cdb692aeffc444a16f79a0c4422b9d0
/main/padmin/source/prtsetup.cxx
995088c5b3a1b4a0aa78042b5c7bca32a26c359c
[ "Apache-2.0", "CPL-1.0", "bzip2-1.0.6", "LicenseRef-scancode-other-permissive", "Zlib", "LZMA-exception", "LGPL-2.0-or-later", "LicenseRef-scancode-free-unknown", "LicenseRef-scancode-philippe-de-muyter", "OFL-1.1", "LGPL-2.1-only", "MPL-1.1", "X11", "LGPL-2.1-or-later", "GPL-2.0-only", ...
permissive
apache/openoffice
b9518e36d784898c6c2ea3ebd44458a5e47825bb
681286523c50f34f13f05f7b87ce0c70e28295de
refs/heads/trunk
2023-08-30T15:25:48.357535
2023-08-28T19:50:26
2023-08-28T19:50:26
14,357,669
907
379
Apache-2.0
2023-08-16T20:49:37
2013-11-13T08:00:13
C++
UTF-8
C++
false
false
26,359
cxx
prtsetup.cxx
/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to y...
c46dfb70918605460af42bba645ecdfebb264658
c8b39acfd4a857dc15ed3375e0d93e75fa3f1f64
/Engine/Source/Runtime/AIModule/Private/EnvironmentQuery/Tests/EnvQueryTest_Distance.cpp
1efd312bd0f18acb1fbc225e8c493e894aa95eee
[ "MIT", "LicenseRef-scancode-proprietary-license" ]
permissive
windystrife/UnrealEngine_NVIDIAGameWorks
c3c7863083653caf1bc67d3ef104fb4b9f302e2a
b50e6338a7c5b26374d66306ebc7807541ff815e
refs/heads/4.18-GameWorks
2023-03-11T02:50:08.471040
2022-01-13T20:50:29
2022-01-13T20:50:29
124,100,479
262
179
MIT
2022-12-16T05:36:38
2018-03-06T15:44:09
C++
UTF-8
C++
false
false
4,267
cpp
EnvQueryTest_Distance.cpp
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved. #include "EnvironmentQuery/Tests/EnvQueryTest_Distance.h" #include "EnvironmentQuery/Items/EnvQueryItemType_VectorBase.h" #include "EnvironmentQuery/Contexts/EnvQueryContext_Querier.h" namespace { FORCEINLINE float CalcDistance3D(const FVector& PosA, const...
cbae5acb4af9be9e9c9220eeabf53cd393bab1fb
0771594514668bac8db14218a0be2fa970d8ec39
/mainwindow.cpp
320f33adca4a50b0dd975439b7c201c08427e379
[ "MIT" ]
permissive
maplefan/TimeProtection
0ccf98f2ff2374e29a75fe025b3b807eae5d74fc
8486cb2c1296468ccbd127617796dbd4bbe00827
refs/heads/main
2023-05-06T02:54:31.517301
2021-05-22T04:56:49
2021-05-22T04:56:49
327,652,230
3
0
null
null
null
null
UTF-8
C++
false
false
4,256
cpp
mainwindow.cpp
#include "mainwindow.h" #include "ui_mainwindow.h" #include <QPainter> #include <QDateTime> #include <QTimer> #include <QMouseEvent> #include <Windows.h> #include <windowsx.h> //提供消息关键字的识别 MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent) , ui(new Ui::MainWindow) { ui->setupUi(this); ui->...
34a097dfded31e2c41529493099b38fdc59d4a94
a9e308c81c27a80c53c899ce806d6d7b4a9bbbf3
/engine/xray/collision/sources/triangle_sphere_contact_tests_inline.h
4a4324b624b55c36b158325841435d09d867afc4
[]
no_license
NikitaNikson/xray-2_0
00d8e78112d7b3d5ec1cb790c90f614dc732f633
82b049d2d177aac15e1317cbe281e8c167b8f8d1
refs/heads/master
2023-06-25T16:51:26.243019
2020-09-29T15:49:23
2020-09-29T15:49:23
390,966,305
1
0
null
null
null
null
UTF-8
C++
false
false
1,584
h
triangle_sphere_contact_tests_inline.h
//////////////////////////////////////////////////////////////////////////// // Created : 03.03.2008 // Author : Konstantin Slipchenko // Description : sphere - single triangle tests //////////////////////////////////////////////////////////////////////////// namespace xray { namespace collision { namespace detail {...
c420ef8309fe3ba3d2575788b71b0e0e9a70a7ac
d0833cbf2ac78b4cebd88b451f52a9480995a880
/LIS USING O(NLOGN).CPP
bcb8152538bc458d17f041969c8261e0e89bd477
[]
no_license
ankuragarwal0408/My-practice
aacd14cd0029b9598a4cb948e11fdb1ec660f7cc
0af66598ff18e697cae735f222d0ee6780e588eb
refs/heads/master
2022-12-04T05:50:25.323780
2020-08-06T15:36:47
2020-08-06T15:36:47
271,246,095
0
0
null
2021-01-24T14:35:17
2020-06-10T10:22:16
C++
UTF-8
C++
false
false
569
cpp
LIS USING O(NLOGN).CPP
class Solution { public: int lcs(vector<int>nums) { vector<int>seq; seq.push_back(nums[0]); for(int i=1;i<nums.size();i++) { if(seq.back()<nums[i]) seq.push_back(nums[i]); else { int ind=lower_bound(seq.begin(),s...
19a4d65125edf422ffebe2033385c7ab3621fb80
561f42138171b429828e2d5e2a36f0a817599fca
/AnalysisStep/test/Plotter_v2/include/CMS_lumi.h
c6dfb2575f3ba7308005203666334a528587d5d0
[]
no_license
CJLST/ZZAnalysis
294315f5ff524392ff8c57bddded24725168f5a0
ab6f5ba3eb406eb663bfc399dcf78e58e9be293f
refs/heads/Run2UL_22
2023-08-08T13:44:41.108316
2023-06-13T11:51:19
2023-06-13T11:51:19
13,312,711
18
62
null
2023-08-03T14:41:34
2013-10-03T23:49:54
Python
UTF-8
C++
false
false
722
h
CMS_lumi.h
#ifndef CMS_lumi_h #define CMS_lumi_h #include "TPad.h" #include "TLatex.h" #include "TLine.h" #include "TBox.h" using namespace std; class CMS_lumi { public: CMS_lumi(); ~CMS_lumi(); void set_lumi( TPad* pad, float lumi ); void set_lumi_combination( TPad* pad); void set_simulation( TPad* pad...
358dca021655d47194a4915d87353266ffb231be
f83ef53177180ebfeb5a3e230aa29794f52ce1fc
/ACE/ACE_wrappers/apps/JAWS2/JAWS/Headers.h
54d4ede3231c03d90dbbede0fab22cc0b62819ba
[ "Apache-2.0" ]
permissive
msrLi/portingSources
fe7528b3fd08eed4a1b41383c88ee5c09c2294ef
57d561730ab27804a3172b33807f2bffbc9e52ae
refs/heads/master
2021-07-08T01:22:29.604203
2019-07-10T13:07:06
2019-07-10T13:07:06
196,183,165
2
1
Apache-2.0
2020-10-13T14:30:53
2019-07-10T10:16:46
null
UTF-8
C++
false
false
2,196
h
Headers.h
/* -*- c++ -*- */ #ifndef JAWS_HEADERS_H #define JAWS_HEADERS_H #include "JAWS/Export.h" #include "ace/Containers.h" #if !defined (ACE_LACKS_PRAGMA_ONCE) # pragma once #endif /* ACE_LACKS_PRAGMA_ONCE */ // Use scenario -- // Parse_Headers will parse out a header name and then will want to // update "last header dat...
c32ce5c8bfe0d83bd515e799deeb74d81d569d62
e8c264cebeb6ccb65d3b663250458ad4a98e049e
/cpp/Autogarden/include/autogarden/interfaces/factory.hpp
8d982bb6373e984dc7db5664df0804afa745ba0a
[ "MIT" ]
permissive
e-dang/Autogarden
3e2e50e938e6cb57258af93c63192b285e48259b
b15217e5d4755fc028b8dc4255cbdcb77ead80f4
refs/heads/main
2023-04-19T22:49:45.577787
2021-05-07T04:23:08
2021-05-07T04:23:08
335,801,973
0
0
MIT
2021-04-04T20:03:33
2021-02-04T01:17:27
C++
UTF-8
C++
false
false
201
hpp
factory.hpp
#pragma once #include <autogarden/interfaces/autogarden.hpp> class IAutoGardenFactory { public: virtual ~IAutoGardenFactory() = default; virtual std::unique_ptr<IAutoGarden> create() = 0; };
8542acc0690d716f57e5fea76702c28400efa8ee
e14fe991c7903ba11f93d2c8d9221b78df61cdd1
/37_DragNDropComplexWidget/yissuedragwidget.cpp
afaaf070b78ee3516666af780a7a5c6811ab88c5
[ "MIT" ]
permissive
rrcoco/test_2018_2021
887d3b08cb10565267d07e1c2a545b45eb70811b
02bc6d3b214871e096c31d0987fd55fe12b3a555
refs/heads/master
2023-03-02T08:42:42.957350
2021-02-05T11:18:13
2021-02-05T11:18:13
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,513
cpp
yissuedragwidget.cpp
//Copyrigth (C) 2019 Andrey Yaromenok #include <QtWidgets> #include "yissuedragwidget.h" #include "yissuewidget.h" #include "yissuewidgetl.h" static inline QString YIssueMimeType() { return QStringLiteral("application/x-fridgemagnet"); } YIssueDragWidget::YIssueDragWidget(const QString &title, QWidget *parent) : ...
c6b31fbed04f0a5b383273c3aa3e530d81c86f54
9860420cf81437bda7cd7436dffd0b260ee19d17
/comm_func.cpp
fbfcbec2fefb1a2a62fce40c86be106794465ea5
[]
no_license
hyw-zero/Serial-ECG
60bf1b957e87ba127c712ba07ed26a1cb454979a
a3ae4aca50bc4fa85b6b2299a339f0bc3e399c94
refs/heads/main
2023-07-14T09:24:15.595377
2021-08-29T12:31:49
2021-08-29T12:31:49
304,289,270
0
0
null
null
null
null
UTF-8
C++
false
false
55
cpp
comm_func.cpp
#include "comm_func.h" int temperature(){ }
953dd22d17d6957b9a1823adaaabef1415e4b4fe
cf5fd53a0f5bcdd82b7c53e72ea3b51bb47725d7
/main.cpp
2920062e06078da5cadca318b0edd7344cf96255
[]
no_license
sadeepdarshana/arbalester
8303285fde80aef3e4b9dcc4610d4361be878970
3ff18ca6c340b1fb3a2880cc073542dc01ed8c3f
refs/heads/master
2020-05-15T18:30:14.106039
2019-05-31T07:16:31
2019-05-31T07:16:31
182,427,189
0
1
null
null
null
null
UTF-8
C++
false
false
2,559
cpp
main.cpp
#include <QApplication> #include <QDebug> #include <QtWidgets/QPushButton> #include <QtCore/QFile> #include <QtWidgets/QGraphicsDropShadowEffect> #include <QtWidgets/QHBoxLayout> #include "./ui/mainwindow.cpp" using namespace std; using namespace Ui; const QString THEMES[] = {":qdarkstyle/style.qss"}; const int CURRE...
ddb72f7b4fec4e37561655ea7df3d0f9637b486b
d1ad68da0d7d3a71c2d43d297d6fd3cffbbf75c2
/library/short-cycles/Optimized/Cycles.10.cpp
228fb73763a723e723e82e856b7edbbca49a8a70
[]
no_license
hamko/procon
2a0a685b88a69951be7a9217dd32955f9500df57
a822f8089a3063a158d47ea48c54aca89934f855
refs/heads/master
2021-01-17T00:00:10.915298
2020-02-24T06:24:33
2020-02-24T06:24:33
55,990,248
7
1
null
2020-02-24T06:24:34
2016-04-11T16:49:50
C++
UTF-8
C++
false
false
13,875
cpp
Cycles.10.cpp
/** * ---==== Counting the Number of 10-Cycles in an undirected Graph ====--- * * AUTHORS: Anton N. Voropaev * ``````` Artem M. Karavaev ( http://www.flowproblem.ru ) * * CREATED: 25.11.2009 * ``````` * VERSION: 6.0 ( from 18.03.2010 ) * ``````` */ #define VERSION "6.0" ...
e2900c69e0ba43a65e8785c237746ade470c4802
96fd3ba40491c75d8aab6dd419982518dcff25df
/game.h
cf740e9986b7a85abd37c1d73d3bb47964a525d3
[]
no_license
amalstrom/monopoly
eff379a162603ba995e21b8ac6953dd99b2f6b10
f1e9299f54897066130547dc180680ee454b9aa7
refs/heads/master
2020-05-18T02:03:26.718690
2015-08-18T19:10:37
2015-08-18T19:10:37
40,992,261
1
0
null
null
null
null
UTF-8
C++
false
false
3,447
h
game.h
// // game.h // monopoly // // Created by Alec Malstrom on 7/21/15. // Copyright (c) 2015 Alec Malstrom. All rights reserved. // #ifndef __monopoly__game__ #define __monopoly__game__ #include <stdio.h> #include <stdlib.h> #include <time.h> #include "board.h" #include "player.h" #include "property.h" using namespa...
c9c19099726a92e038b7c391a3eef3778c450188
6abaf62b3597610ed8b35f637552ea2a829dbd7e
/src/Plugins/VideoPlugin/ResourceVideoValidator.cpp
d38bf6c8eb6a9b8dc03696e82b0c7f10b8eb38bb
[]
no_license
codacy-badger/Mengine
baac6696d51c6eae1201f345698e76755d30dd29
36f98378eec5e6351eacc7d9b463c472b9888fd0
refs/heads/master
2020-06-24T17:38:21.976520
2019-07-26T14:37:15
2019-07-26T14:37:15
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,617
cpp
ResourceVideoValidator.cpp
#include "ResourceVideoValidator.h" #include "Interface/ConfigServiceInterface.h" #include "Kernel/MemoryHelper.h" #include "Kernel/Logger.h" #include "Kernel/Document.h" namespace Mengine { ////////////////////////////////////////////////////////////////////////// ResourceVideoValidator::ResourceVideoValida...
202ea75ce00fa221cd8fdd4e7019fbe78958a615
02f23ec9b64bbe0a106143dd38295de4663fba54
/src/tui_input.cpp
a218ea7dc6a74623080bd40e8b90f53a5de685f7
[ "MIT" ]
permissive
jmicjm/TUI
2cd6e60b45968cb1b563d6a2fac3ace7b55c9790
06eef50137b2b691935085a917effec99b866aca
refs/heads/master
2023-07-09T07:13:53.202354
2023-06-26T11:37:00
2023-06-26T11:37:00
181,197,381
61
5
MIT
2023-06-26T11:37:01
2019-04-13T16:16:22
C++
UTF-8
C++
false
false
9,076
cpp
tui_input.cpp
#include "tui_input.h" #include "tui_terminal_info.h" #include "tui_unicode_utils.h" #include <thread> #include <mutex> #include <algorithm> #include <iostream> #include <vector> #include <string> #include <cstdlib> #include <cstdio> #include <cmath> #if defined(_WIN32) #include <conio.h> #endif #if defined(__linux...
d8c1b9d73f276575d62503de7fad1d2df7b138c9
25063a984fbedc8bf8cad189ea306c30a00391ea
/src/Waste.h
ebb00ebc87bf428263e4856c5d1d9886b6767b6a
[ "MIT" ]
permissive
progBorg/cpp-solitaire
9ec313eebd1b4174a243e55e72bf3e4c71a8c017
c27752db3b471679cdc448e5837fa33a1d1367b5
refs/heads/master
2020-04-06T18:56:14.619331
2019-01-19T22:09:56
2019-01-19T22:09:56
157,718,799
0
1
null
null
null
null
UTF-8
C++
false
false
1,211
h
Waste.h
/** * \brief Waste class (inherits from Pile) * \details Part of the Reserve class, together with the Stock class * \authors Dries Cavelaars * \authors Tom Veldman * \authors Bas Spijkerman */ #ifndef C_SOLITAIRE_WASTE_H #define C_SOLITAIRE_WASTE_H #include "Pile.h" //inherit from Pile class Waste : public Pile...
3af12a55205fdde40610a8fa5a9eabec454d99ef
b44e374024572986a3c0dc524c6295911ac737d3
/tests/Cases/LowLevel/ResponseMessages/TestSupportedMessage.cpp
7349712c725e046778e7047014b222d794433a8e
[ "MIT" ]
permissive
cpv-project/cpv-cql-driver
e9dd749b2174457c2d901b27bc9e1d096c1a9d38
66eebfd4e9ec75dc49cd4a7073a51a830236807a
refs/heads/master
2022-02-22T15:16:29.486709
2019-10-17T01:06:56
2019-10-17T01:06:56
114,583,381
48
6
null
null
null
null
UTF-8
C++
false
false
1,548
cpp
TestSupportedMessage.cpp
#include <LowLevel/ResponseMessages/SupportedMessage.hpp> #include <LowLevel/ResponseMessages/ResponseMessageFactory.hpp> #include <TestUtility/GTestUtils.hpp> TEST(TestSupportedMessage, decode) { cql::ConnectionInfo info; for (std::size_t i = 0; i < 3; ++i) { auto headerData = makeTestString("\x04\x00\x00\x00\x06...
8dcaf353874861c813913a4ef4b92f9e79b1e37c
3310d7fa7364f8fe23136508d8fee3200901da35
/DesignPatterns/ORiley/ObserverPattern/PhoneDisplay.cpp
e663c960342c0a6aae89f6bbff79920727e0ef39
[]
no_license
D000M/Games
f239919a0bd7bf2326f318e1902b38ecd323e05e
90ac1172a7383f30944a1137f349fe3ca5255536
refs/heads/master
2021-07-11T21:43:54.625976
2020-05-28T07:15:23
2020-05-28T07:15:23
142,460,210
0
0
null
null
null
null
UTF-8
C++
false
false
678
cpp
PhoneDisplay.cpp
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ /* * File: PhoneDisplay.cpp * Author: default * * Created on June 13, 2019, 4:01 PM */ #include <iostream> #include "PhoneD...
ee7b2fa2e7db4e77919ef9e4d663626b2c0b1da8
4b32df59efcdfeb34d1ae723623e688fad8e9e49
/cards/imagecard.h
ea921ba808d84c041f037c9875a705c1bece8589
[]
no_license
blockspacer/HearhRecognizer
440f3061d195a3ea3e8641b1f202956c719f0229
907adefb1b22dd4e24bde179e2111163b5c400e8
refs/heads/master
2023-03-16T18:32:31.563145
2015-08-10T13:10:16
2015-08-10T13:10:16
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,787
h
imagecard.h
#ifndef IMAGECARD_H #define IMAGECARD_H #include <opencv2/core/utility.hpp> #include <opencv2/highgui.hpp> #include <opencv2/core/core.hpp> #include "opencv2/imgproc.hpp" #include <tesseract/baseapi.h> #include <leptonica/allheaders.h> #include <string> class ImageCard { cv::Mat mana; cv::Mat attack; cv::Ma...
e01a021f2a110a3f488f73b57e4fd4b2c8ea1db3
494fc35b2dbe5705bdf81e6b5d2615d1198c8559
/DbExample/src/DetData2Maker.cc
dea7d4b33b247decee4664cc1f6549d13227bc38
[ "Apache-2.0" ]
permissive
shadowbehindthebread/Offline
36f71913ac789b9381db5143b0fc0bd7349c155e
57b5055641a4c626a695f3d83237c79758956b6a
refs/heads/master
2022-11-05T17:44:25.761755
2020-06-15T18:07:16
2020-06-15T18:07:16
273,599,835
1
0
Apache-2.0
2020-06-19T22:48:25
2020-06-19T22:48:24
null
UTF-8
C++
false
false
796
cc
DetData2Maker.cc
#include "DbExample/inc/DetData2Maker.hh" namespace mu2e { DetData2::ptr_t DetData2Maker::fromConfig(SimpleConfig const& sc) { std::vector<double> vv; std::vector<double> vvd(3,-1.0); sc.getVectorDouble ("dtoe",vv,vvd); return fromStatic(vv); } DetData2::ptr_t DetData2Maker::fromStatic(std::v...
5065f9570f91c68a096918af6148347705938997
fd87f3a14a04ccefa817b02bc48173668428dfeb
/src/Point.cpp
9ba683e728e1f88b69f8e90cbafd7ec3f2ea5827
[ "Apache-2.0" ]
permissive
TimerChen/Tank-Plus
f78bc7e0f13ddff9607cd661a5e34ae897a05c96
5e9695a23644f1d48eb84c3c54874c98a7870e2a
refs/heads/master
2021-01-19T04:32:46.964665
2016-08-21T15:08:00
2016-08-21T15:08:00
65,307,386
7
1
null
null
null
null
UTF-8
C++
false
false
381
cpp
Point.cpp
#include "Point.h" namespace GAME { Point operator + ( const Point &a ,const Point &b ) { return Point(a.x + b.x, a.y + b.y); } Point operator - ( const Point &a ,const Point &b ) { return Point(a.x - b.x, a.y - b.y); } Point operator * ( const Point &a ,double b ) { return Point(a.x*b, a.y*b); } Point operator / ( ...
53e62389a0afa80cb1eb731af0526ef811e04177
604d20f90d1d456da90097185abb06809bfb263d
/460A.cpp
8407166de56a602a977add452e6b4f94a5cba70a
[]
no_license
hrishikeshmohan23/Codeforces-Solution
5784df5c6586d0ec1289db8be7f8a6d59562cd84
8404eab3a1889c4fde9719602189e0013548af16
refs/heads/master
2022-11-11T17:51:47.535875
2020-07-10T19:48:13
2020-07-10T19:48:13
260,486,809
0
0
null
null
null
null
UTF-8
C++
false
false
204
cpp
460A.cpp
#include<bits/stdc++.h> using namespace std; int main() { int n,m,x=0,count=1; cin>>n>>m; x=n-1; count=1; while(x>0) { count++; x--; if(count%m==0) x++; } cout<<count; }
6897fb073bd9cb362ff9d8685d9b08a76a28c827
c62a877cc3d2febfab3edf78635aa56444507a89
/Ghost-Puppeteer/src/Gui.cpp
4434f6a74c161285b068a47732884d01e598cb90
[]
no_license
adielfernandez/Ghost-Puppeteer
713070f9f57db7f9995f7aae810bc57d89250efc
f4f7ac868279f10286869b004af47ead4ca2427d
refs/heads/master
2021-08-28T09:35:41.272986
2017-12-11T21:27:25
2017-12-11T21:27:25
107,933,755
1
0
null
null
null
null
UTF-8
C++
false
false
3,785
cpp
Gui.cpp
#include "Gui.h" Gui::Gui(){ } Gui::~Gui(){ } void Gui::setup(){ guiName = "settings"; guiFileName = guiName + ".xml"; gui.setup(guiName, guiFileName); gui.add(backgroundLabel.setup(" BACKGROUND SETTINGS", "")); gui.add(bgMaxTrans.setup("Background Trans", 0.1, 0.0, 1.0)); gui.add(bgFadeTime.setup("Fa...
42a76fe686c9e2ef4683714cdcaee0ce242cfffc
8c2c8761bce9c3c1c49ab2888b7d4bd67c41a1e8
/FilteringCppSrc/filtering.cpp
1502faebdfe9aa0200c6d357a0bb3416901f54db
[]
no_license
Oxid15/ImageProcessing
148888c5fb081f0241bf4da27066a7b9fb464268
aea1df283cac2fe32642899a9733ed2d1c4e9d6d
refs/heads/master
2020-12-21T15:16:17.574271
2020-09-21T18:08:28
2020-09-21T18:08:28
236,470,676
1
0
null
null
null
null
UTF-8
C++
false
false
2,921
cpp
filtering.cpp
#include "misc.cpp" #include <iostream> #include <fstream> template<typename T> class Kernel { public: Kernel() {}; virtual void operator()(T*** src, T*** out, uint32_t height, uint32_t width, uint32_t colors, uint32_t i, uint32_t j) {}; }; //class for kernels with constant weights template<typename T>...
1d37402ba7bce8c77a4d02d48802502c73bb8351
9d3950b80a90487398ee59208ac5164b85610517
/Cpp/Unique_Paths_II.cpp
1ef43ce0c218be27bab97092dfcf08b4a2b59bdd
[]
no_license
chenleo/Leetcode
075b3ff03dfeff702e93b86e9f9a31380ad88cb6
da631abbbdb96355e553084137260bb158f8eb27
refs/heads/master
2016-09-06T14:46:28.155544
2013-12-31T23:18:58
2013-12-31T23:18:58
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,301
cpp
Unique_Paths_II.cpp
class Solution { public: int uniquePathsWithObstacles(vector<vector<int> > &obstacleGrid) { if (obstacleGrid.size() == 0) return 0; vector<vector<int> > result; for (int i=0; i< obstacleGrid.size(); ++i) { vector<int> temp; if (i == 0) { in...
f817a6f9c17e23e820174059a65affe5568fa856
b9b966952e88619c9c5d754fea0f0e25fdb1a219
/libcaf_core/tests/legacy/flow/single.cpp
212a35a0001abf38b6c851aed697c7ddc49f71fc
[]
permissive
actor-framework/actor-framework
7b152504b95b051db292696a803b2add6dbb484d
dd16d703c91e359ef421f04a848729f4fd652d08
refs/heads/master
2023-08-23T18:22:34.479331
2023-08-23T09:31:36
2023-08-23T09:31:36
1,439,738
2,842
630
BSD-3-Clause
2023-09-14T17:33:55
2011-03-04T14:59:50
C++
UTF-8
C++
false
false
1,845
cpp
single.cpp
// This file is part of CAF, the C++ Actor Framework. See the file LICENSE in // the main distribution directory for license terms and copyright or visit // https://github.com/actor-framework/actor-framework/blob/master/LICENSE. #define CAF_SUITE flow.single #include "caf/flow/single.hpp" #include "caf/flow/op/cell....
f267e10d483535111c6b3ddad3c8a0f6132df910
8a363d876cfe7bd0a39db63e0fc88c326db587d8
/source/plugins/org.custusx.core.video/cxLocalServerStreamerServer.cpp
41e861f9791ea08b8ebf5657f7ef2a7584fc3a9d
[ "BSD-3-Clause" ]
permissive
SINTEFMedtek/CustusX
07c3df5ee388040c0ee1c5225221b688bed1f929
8a9561f3461534bce8039ab10aa61d85fde4de31
refs/heads/develop
2023-07-06T07:17:16.709351
2023-06-27T09:21:06
2023-06-27T09:21:06
980,970
62
22
NOASSERTION
2023-02-16T00:55:29
2010-10-12T11:32:57
C++
UTF-8
C++
false
false
4,807
cpp
cxLocalServerStreamerServer.cpp
/*========================================================================= This file is part of CustusX, an Image Guided Therapy Application. Copyright (c) SINTEF Department of Medical Technology. All rights reserved. CustusX is released under a BSD 3-Clause license. ...
08441fa25fb40ce47303f523c0cbe8cd72d88db6
f16932bf453e58e9d83551166966014a86221839
/src/key.cpp
60aa8dd783d93e75702d4c0c7a6b0ba66dbfd213
[ "MIT" ]
permissive
khalahan/namecoin
1fddf9923fc201c49bef79c906639c23ca51acbf
5ce297f4b522936eeae6af0b3b4e09b786a31bfc
refs/heads/master
2021-01-16T18:14:35.588050
2013-06-16T12:56:06
2014-03-03T20:20:03
1,893,335
5
2
null
null
null
null
UTF-8
C++
false
false
801
cpp
key.cpp
// Copyright (c) 2009-2012 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <map> #include <openssl/ecdsa.h> #include <openssl/obj_mac.h> #include "headers.h" #include "key.h" #include "base5...
db340296002ba746395305fdc181adcf4eed2f8e
c1649ef46d6e112a660d0f62e35869582e61c820
/Source/HordeMode/Public/Weapon/HordeWeaponGenerator.h
52ce0038ce9617a7b4769def5374778f011a2d26
[]
no_license
Jordan-Blackett/Multiplayer-3rd-Person-Horde-Shooter
0d8eb4d87b550b01519534a57729257e0221a66f
087fce124d01054d5f0e4ff9a6189ede7a16d6d3
refs/heads/master
2022-04-06T15:00:36.977603
2020-02-05T23:13:36
2020-02-05T23:13:36
166,177,434
0
0
null
null
null
null
UTF-8
C++
false
false
237
h
HordeWeaponGenerator.h
// Fill out your copyright notice in the Description page of Project Settings. #pragma once #include "CoreMinimal.h" /** * */ class HORDEMODE_API HordeWeaponGenerator { public: HordeWeaponGenerator(); ~HordeWeaponGenerator(); };
9208e137ea13f3f76b6546070a6535a816d7bfff
b314f6bc92f753241786b58deb28068f24816164
/TiAALS/System/NodeObject/IRResizeSquare/IRResizeSquare2.h
102f2bfc4d725eac679132873ab9cda34719cc78
[]
no_license
KeitaroTakahashi/TIAALS_KeitaroVer
5de5be3959b93855cd3fca5e83ece623d3d014e8
1ff7920ab7f1cabe25155716a4990aea3d9dfd21
refs/heads/main
2023-04-12T18:24:35.997946
2021-04-13T10:46:21
2021-04-13T10:46:21
357,516,239
0
0
null
null
null
null
UTF-8
C++
false
false
8,595
h
IRResizeSquare2.h
// // IRResizeSquare2.h // IRiMaS // // Created by Keitaro on 27/11/2019. // #ifndef IRResizeSquare2_h #define IRResizeSquare2_h #include "JuceHeader.h" class IRResizeSquare2 : public Component { public: enum MovableDirection { TopLeft, TopRight, BottomLeft, BottomRigh...
69a4d64c94b9b373de0c45214531d920571291ed
c4617bb18dee000848aee5593e8668c3d1516b97
/Experiment_Controller_V6/iXonControl/ixoncontrol.h
4104546564210c4aef7f2af0a56c7e69f0cd8481
[]
no_license
liangqibox/Lithium6_ATI
469f688dbea6a128b53e159cc4b9e9562f0a9640
b81cea8895ed15db941019a8c00101499317b731
refs/heads/master
2020-12-26T10:32:39.611130
2020-01-31T18:26:17
2020-01-31T18:26:17
237,481,429
1
0
null
null
null
null
UTF-8
C++
false
false
5,595
h
ixoncontrol.h
#ifndef CAMERATESTING_H #define CAMERATESTING_H #include <QWidget> #include <QListView> #include <QLabel> #include <QTableWidget> #include <QPushButton> #include <QDir> #include <QDebug> #include <QChar> #include <QMessageBox> #include <QCloseEvent> #include <QTextStream> #include <QFile> #include <QFileDialog> #inclu...
4b345e702b90b4079fbbd4492db171b1a5ae2c3d
6a0633b246f58522f376cf0d9608fccdafc47da4
/numberOfSubstringsContainingAllThreeCharacters1358.cpp
0e5fa83f24b423efaad93bf58f2c54f77097f1d3
[]
no_license
studentBC/justExercise
9ec10dbea9b2fe62d5d673fc39a91d08c9723bf7
c5a022a6b46f56598234fb410b5d317f08dcda9c
refs/heads/master
2023-06-26T12:28:18.144489
2023-06-11T15:27:36
2023-06-11T15:27:36
130,351,745
0
0
null
null
null
null
UTF-8
C++
false
false
1,543
cpp
numberOfSubstringsContainingAllThreeCharacters1358.cpp
class Solution { public: int numberOfSubstrings(string s) { int ans = 0, end = s.size()-3; unordered_set<char>uniq; for (int i = 0; i <= end; i++) { uniq.clear(); for (int j = i; j < s.size(); j++) { uniq.insert(s[j]); if (uniq.size() == 3) { ans+=s.size()-j; break; } } } r...
c6055cc394be5f776f288d8d4cb6d120b8fde6ff
77d97611b40a0f298ae2c151349daac6f13ac5b2
/sources/src/raytracer/shapes/triangle_mesh.cc
ec6e2374abd402687b83f7adac574e1b260458cb
[]
no_license
JabberSnatch/photon_debugger
991495888e2ba0750bcbbff35d6645f4a77264b8
c0d7217a9e053c22ce8f6970b7cf19005915ac70
refs/heads/master
2020-03-07T15:02:04.227054
2018-08-10T17:21:00
2018-08-10T17:23:02
127,542,947
1
0
null
null
null
null
UTF-8
C++
false
false
3,356
cc
triangle_mesh.cc
#include "raytracer/shapes/triangle_mesh.h" #include <numeric> #include "assimp/Importer.hpp" #include "assimp/postprocess.h" #include "assimp/scene.h" #include "maths/ray.h" #include "maths/transform.h" #include "raytracer/shapes/triangle.h" #include "raytracer/surface_interaction.h" namespace raytracer { templ...