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
53789223973e729d8fc411479b255d059f7af966
0b86bd8883aa139ce220483f014cd3a11f102e62
/source/GRID.cpp
1d2173cc543471e03e0196e159108b22d8386707
[]
no_license
iammalekI/mpm_lab_2d
8d21fb48d5fb8d232dcc02a9f8076dd4835fc863
6670b03c55edc2602fcff7fcafae7034a7273ca6
refs/heads/master
2020-06-10T20:56:04.198184
2018-02-22T20:46:29
2018-02-22T20:46:29
null
0
0
null
null
null
null
UTF-8
C++
false
false
52,702
cpp
GRID.cpp
// // Created by Martin Rodriguez Cruz on 3/7/17. // #include <vector> #include "../Eigen/Dense" #include "../include/GRID.h" #include "../include/INTERPOLATION.h" #include "../include/ELASTOPLASTIC.h" #include <iostream> #include <math.h> using namespace std; using namespace Eigen; /******************************...
6105d7f269e08ba011164bf88372356c928f5412
c68f791005359cfec81af712aae0276c70b512b0
/0-unclassified/polyline.cpp
3c8fdbc1ca0a9959766295dd125e634c2015ef1e
[]
no_license
luqmanarifin/cp
83b3435ba2fdd7e4a9db33ab47c409adb088eb90
08c2d6b6dd8c4eb80278ec34dc64fd4db5878f9f
refs/heads/master
2022-10-16T14:30:09.683632
2022-10-08T20:35:42
2022-10-08T20:35:42
51,346,488
106
46
null
2017-04-16T11:06:18
2016-02-09T04:26:58
C++
UTF-8
C++
false
false
1,079
cpp
polyline.cpp
#include <bits/stdc++.h> using namespace std; const double inf = 1e18; const double eps = 1e-11; bool equal(double a, double b) { return abs(a - b) < eps; } int main() { double a, b; scanf("%lf %lf", &a, &b); if(equal(a, b)) { printf("%.15f\n", a); return 0; } bool ada = 0; double ans = inf; ...
08d446fb5bfc1eabe8d920d65630dbdd164b2ee5
ec57a6e218dd98f51384428041e62f476905f149
/test/testPnPOptim.cc
b8d848de4e9a3dce9d0e6b1f50a061050ae14514
[]
no_license
huhumeng/ceresBA
45453958d14a0f54ec6915076f08e3f9ffc7f90c
bcccbf644376f99fc30ad8e9cd8fa1a1b0c2378f
refs/heads/master
2021-06-28T19:09:28.729580
2019-03-25T09:38:42
2019-03-25T09:38:42
140,649,951
8
2
null
null
null
null
UTF-8
C++
false
false
1,360
cc
testPnPOptim.cc
#include <iostream> #include <ceres/ceres.h> #include "GenData.h" #include "PnPproblem.h" #include <opencv2/core/core.hpp> #include <opencv2/calib3d/calib3d.hpp> #define OPTIMIZE_ONLY_POSE 1 using namespace std; int main(){ double r[3] = {1.0, 2.0, 3.0}; double t[3] = {3.0, 2.0, 1.0}; GenPointWithPoseKn...
3c11ad746ebdd7504742ef0cca880699c30b4ec4
142b071b3873bea1f7d716fca6df95f1eaa3527a
/kellerkompanie_zeus.Altis/functions/logistics/internal/logisticDialog.hpp
1d56558e965e9b6da0715f182330c7b6b6c76998
[]
no_license
kellerkompanie/kellerkompanie-template
b9987cacddcc7d693877dd326465975d66ba117e
d2bda2953bbb52a7950817f75f6fe863ea621dff
refs/heads/master
2021-09-13T20:00:28.235477
2018-02-25T20:48:23
2018-02-25T20:48:23
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,568
hpp
logisticDialog.hpp
//////////////////////////////////////////////////////// // GUI EDITOR OUTPUT START //////////////////////////////////////////////////////// #include "parentDialog.hpp" // MACROS #define IDC_keko_logistic_LOADOUT_RSCTEXT_1000 6877 #define IDC_keko_logistic_LOADOUT_RSCTEXT_1001 6878 #define IDC_keko_logistic_LOADOUT_RS...
b8479bbe55bdd0675f8684fbbf6ac73bc71e4ea5
cc0f2e8aea290459b0ef9d62f097fb94c9929bda
/data_saver.cpp
15ce9025d09b8a8677ac4d48abfca9c29d6c4215
[]
no_license
demon1999/finder
30f0d479a3151b0608e48d7d3ff1d1f72099cb0b
a0a5e42000f7071fbee45ea7f56064c71a80256f
refs/heads/master
2020-04-17T03:09:45.176684
2019-01-29T07:16:06
2019-01-29T07:16:06
166,169,701
0
0
null
null
null
null
UTF-8
C++
false
false
6,714
cpp
data_saver.cpp
#include "data_saver.h" #include "finder.h" #include "scanner.h" #include <iostream> #include <QString> #include <QVector> #include <QThread> data_saver::data_saver() { int k = QThread::idealThreadCount() - 1; if (k <= 0) k = 2; numberOfThreads = k; } void data_saver::set_flag() { aborted_flag = true;...
960157c2fe0db08d44f235061afe3b48be7419f7
710f2cf5524cb1101ea11b5941b1b139e7469ec6
/IceCreamParlor.cpp
cdfa5fe088a0ef0dec5744fd9e4339b774a6a22b
[]
no_license
themennice/programming-challenges
2bbf49f9848e84c5062f9c3718232f3095d45e4f
c62d2a84ec43076f4c8db101e7d88b2a27eb37a8
refs/heads/master
2023-04-06T16:22:23.298137
2021-04-06T03:00:42
2021-04-06T03:00:42
230,023,937
0
0
null
null
null
null
UTF-8
C++
false
false
480
cpp
IceCreamParlor.cpp
/* https://www.hackerrank.com/challenges/icecream-parlor/problem */ vector<int> icecreamParlor(int m, vector<int> arr) { vector<int> cost{}; for(int i = 0; i < arr.size() - 1; i++) { for(int j = i + 1; j < arr.size(); j++) { if(arr[i] + arr[j] == m) { ...
4bcbd78cb4dd3bfdc99cd22e3fdbc7ca413c90fa
a210d39bea987392e9032c1952454630fd0696a6
/data structure & algorithms/ClassroomExercise/Exercise_1/bai_1.cpp
8249caea8e1a5c30dc727f84aaa5e599abaab162
[]
no_license
duytoxic/learn-cpp
327ac74d1a66e923f8f44c1bade1790a423f3090
64243d1e96ac6a5725de28e247b8b519240a6956
refs/heads/master
2023-05-13T06:55:18.226143
2021-05-23T01:03:05
2021-05-23T01:03:05
293,559,762
0
0
null
null
null
null
UTF-8
C++
false
false
759
cpp
bai_1.cpp
#include <iostream> using namespace std; int gcd(int a, int b) { if (a == 0) return b; return gcd(b%a, a); } void lowest(int &den3, int &num3) { int common_factor = gcd(num3,den3); den3 = den3/common_factor; num3 = num3/common_factor; } void addFraction(int num1, int den1, int num2, ...
716c432fd6cb50937694ccbf2304b5f050d97c3b
7c974a6805b96838f23061d94500b16cb73df320
/facefrnd/main.cpp
8cd4d57572c244b391cb0eede50ad4fb15f11998
[]
no_license
vectar31/Spoj-solutions-and-other-c-codes
b14ea488baf8c34d078dc0f18b5d3220b08d144f
db3fbf884c3ba00b4bb1495da60fee692cad3cf8
refs/heads/master
2021-01-10T02:10:45.340417
2015-12-14T11:47:10
2015-12-14T11:47:10
47,930,233
0
0
null
null
null
null
UTF-8
C++
false
false
494
cpp
main.cpp
#include <iostream> using namespace std; bool fr[10000]={false}; int main() { int n; cin>>n; int a[n]; for(int i=0;i<n;i++) { cin>>a[i]; int m; cin>>m; for(int i=0;i<m;i++) { int f; cin>>f; fr[f]=1; } } for...
86dc280bed7c4c58fa4acafe2b58462376797669
25d0798e3d131c73d054d8808645ab2f7ada1dce
/CrossPlatform/MeshRenderer.h
134a0e1b5bb8b8e7be020891f04c6eb7cac786ff
[]
no_license
michaelrcason/Platform
4f4eccabee6e9a1727a11186756b284fdc4330d8
e9b3f953c81302bc12c05ca1f59a81d700c1081e
refs/heads/master
2023-05-05T11:12:43.617451
2021-05-26T13:24:05
2021-05-26T13:24:05
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,354
h
MeshRenderer.h
#pragma once #include "RenderPlatform.h" #include "Platform/Shaders/SL/camera_constants.sl" #include "Platform/Shaders/SL/solid_constants.sl" #include "Platform/CrossPlatform/Mesh.h" #include "Export.h" #ifdef _MSC_VER #pragma warning(push) #pragma warning(disable : 4251) #endif namespace simul { namespace cro...
0fbf549449b9c2172f92a87083471fad3ea7407b
a5b43123d91d23581ae1f1cc725d7b004a4caa25
/cpp/Tree/Balanced Brackets.cpp
28574e4446967f0179d338b975a543c709ff2540
[]
no_license
ivan570/code
376001416a01f0a870a0d73796f1a61dd3bfe958
e5a8e9bf7c9ea27b070ca3f351bb54cb16ce0317
refs/heads/main
2023-05-23T04:48:30.477060
2021-06-11T15:50:30
2021-06-11T15:50:30
330,686,610
0
1
null
null
null
null
UTF-8
C++
false
false
951
cpp
Balanced Brackets.cpp
#include <bits/stdc++.h> using namespace std; bool ans(string str) { stack<int> st; for (char i : str) { if (i == '(' || i == '[' || i == '{') st.push(i); if (i == ')') { if (st.empty() || st.top() != '(') return false; cout << i << endl; ...
193edadeca27f11f77b0e8996fc70ee92296865a
c3bbdbbbc5f47577e332a280f81bd905617423c9
/Source/AllProjects/CIDLib/CIDLib_Facility.cpp
2b2cd2eb101e6f56daf1cdfcf76b074cb3f6d022
[ "MIT" ]
permissive
DeanRoddey/CIDLib
65850f56cb60b16a63bbe7d6d67e4fddd3ecce57
82014e064eef51cad998bf2c694ed9c1c8cceac6
refs/heads/develop
2023-03-11T03:08:59.207530
2021-11-06T16:40:44
2021-11-06T16:40:44
174,652,391
227
33
MIT
2020-09-16T11:33:26
2019-03-09T05:26:26
C++
UTF-8
C++
false
false
16,100
cpp
CIDLib_Facility.cpp
// // FILE NAME: CIDLib_Facility.cpp // // AUTHOR: Dean Roddey // // CREATED: 11/25/1996 // // COPYRIGHT: Charmed Quark Systems, Ltd @ 2019 // // This software is copyrighted by 'Charmed Quark Systems, Ltd' and // the author (Dean Roddey.) It is licensed under the MIT Open Source // license: // // https://opensourc...
3e86d2904517349884bd92aa2c76df497567e066
88ae8695987ada722184307301e221e1ba3cc2fa
/third_party/openscreen/src/cast/standalone_sender/streaming_encoder_util.h
d4d00b4282c49ef4524d7f581321fa2d7b789e51
[ "BSD-3-Clause", "Apache-2.0", "LGPL-2.0-or-later", "MIT", "GPL-1.0-or-later" ]
permissive
iridium-browser/iridium-browser
71d9c5ff76e014e6900b825f67389ab0ccd01329
5ee297f53dc7f8e70183031cff62f37b0f19d25f
refs/heads/master
2023-08-03T16:44:16.844552
2023-07-20T15:17:00
2023-07-23T16:09:30
220,016,632
341
40
BSD-3-Clause
2021-08-13T13:54:45
2019-11-06T14:32:31
null
UTF-8
C++
false
false
607
h
streaming_encoder_util.h
// Copyright 2021 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CAST_STANDALONE_SENDER_STREAMING_ENCODER_UTIL_H_ #define CAST_STANDALONE_SENDER_STREAMING_ENCODER_UTIL_H_ #include <stdint.h> namespace openscre...
97c3fbef7ba12c479b8365eb2936cc6a896ce93c
06034ec6c90d8cd8fc7e4a8c70c62b838f186ab1
/fluorender/FluoRender/Glyph.cpp
c380ff4aeb8e78ffcade4bb5609947dc01ade763
[ "BSD-3-Clause", "MIT" ]
permissive
JaneliaSciComp/VVDViewer
5b2dd4ca3dc0c8a3b4f4de231f1a4b04d6c48d5c
dd4b9a78867f1425e5cb6ddebb6e788a5186f088
refs/heads/master
2023-07-19T18:16:15.196545
2023-07-18T13:47:26
2023-07-18T13:47:26
369,368,663
10
2
NOASSERTION
2023-04-13T17:12:04
2021-05-21T00:12:31
C++
UTF-8
C++
false
false
2,185
cpp
Glyph.cpp
// // Created by snorri on 10.10.2018. // #include <stdexcept> #include "Glyph.h" #include "TextureAtlas.h" Glyph::Glyph(FT_Face face, FT_UInt ix, std::shared_ptr<TextureAtlas> ta) : m_face(face), m_glyphIndex(ix) { auto error = FT_Load_Glyph(m_face, m_glyphIndex, FT_LOAD_DEFAULT); if(error) { throw s...
9f1ca407a8872fe561b26fcfce42d486a6da46be
14e329dc48069ce714014488e285018907b36f17
/core/vision/LineDetector.cpp
e39e17070e38d05fc43e8d6133ef0f7b892768bc
[]
no_license
aliunwala/backuprobocup
685a80a90953adb064b4bb39a59564f097a9cae4
2227baba1e19b1b097b484a8ee187e82bbc7e140
refs/heads/master
2020-12-30T10:23:14.892137
2013-10-31T00:05:46
2013-10-31T00:05:46
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,388
cpp
LineDetector.cpp
#include <vision/LineDetector.h> LineDetector::LineDetector(DETECTOR_DECLARE_ARGS, Classifier*& classifier, BlobDetector*& blob_detector) : DETECTOR_INITIALIZE, classifier_(classifier), blob_detector_(blob_detector) { FieldLinesCounter = 0; fieldLines = new FieldLine * [MAX_FIELDLINES]; for (int i = 0; i < MAX...
b7eb9d5eb1f657937246a81330176b74396f8956
ef6ef195ecff4a349d7cb2611bd67ba2ab92f34b
/hdu.cpp/杭电1800.cpp
b0446324376048210c49804aacbe3142cf0b023b
[]
no_license
GDDXH/First-year-of-University
2f721ca182c02c8dde3fe957dc69bd825969ac43
67ec100de6bc03cb538f8db5babcd32c1ab3e992
refs/heads/master
2020-12-10T09:09:43.968893
2020-01-13T09:32:47
2020-01-13T09:32:47
233,552,368
0
0
null
null
null
null
UTF-8
C++
false
false
567
cpp
杭电1800.cpp
#include<iostream> #include<cstdio> #include<algorithm> #include<cmath> #include<iomanip> #include<string> #include<cstring> #include<cstdlib> #include<cctype> using namespace std; int main() { int N,i,max,k,soldier_level[3001]; while(scanf("%d",&N)!=EOF) { for(i=0;i<N;i++) scanf("%d",&soldier_level[i]); ...
d2a9b2eeb7c1bbddc49f27d920791fc590ca30ce
c3a79a4708a9e99fe22964a6291990b861313b7d
/OR_thodox_Distinction.cpp
ebde17b5d284218f36e4dc14024da3609b78f7b1
[]
no_license
parthkris13/CC-Solutions
d04ef8f15e5c9e019d2cf8d84ca1649d84b4f51d
d190294bfb44449b803799819ee1f06f5f6c5a17
refs/heads/main
2023-04-11T11:04:11.042172
2021-04-29T14:15:33
2021-04-29T14:15:33
323,133,672
0
0
null
null
null
null
UTF-8
C++
false
false
1,135
cpp
OR_thodox_Distinction.cpp
#include <stdio.h> #include <bits/stdc++.h> using namespace std; #define int long long int #define IOS ios::sync_with_stdio(0); cin.tie(0); cout.tie(0); int32_t main(){ IOS; int t; cin >> t; while(t--){ int n; cin >> n; int arr[n]; for(int i = 0; i<n; i++) cin >> arr[i]; ...
ffe0c70eb17f614ae591ab2208f855e845476783
4b55cc0ff3190d76ce208c9da4d70c550e9b85f2
/dbconnect.cpp
4fccb43f318895f2400f08a10d7d26711825caec
[]
no_license
ostRa19/Simple-Qt-application
fd03df5016421e0624fce965d02566a947ba9aea
5fba12371fbdd9d5a27789a3607315130f3aaf43
refs/heads/master
2021-05-18T14:53:04.984808
2020-03-30T11:51:47
2020-03-30T11:51:47
251,288,686
0
0
null
null
null
null
UTF-8
C++
false
false
1,828
cpp
dbconnect.cpp
#include "dbconnect.h" DbAdapter::DbAdapter() { db = QSqlDatabase::addDatabase("QODBC3");//QMYSQL } DbAdapter::~DbAdapter() { } DbAdapter::DbAdapter(QString adapterType) { db = QSqlDatabase::addDatabase(adapterType); } DbAdapter::DbAdapter(DbAdapter* adapter) { this->db = adapter->db; } bool DbAdapter:...
cf70234564197db7540d08ca99582b2484c7b128
201aeac0e0dd9c1fc3e4a9f0ad51344e6235a032
/CO302_Compiler_Design/CD_Lab/L3_token_count.cpp
74f8e03dd115ccd69cebd572583937c51cf971ee
[]
no_license
IsCoelacanth/6thSem_At_DTU
b1d298766d7fc3bb3a21f43b1ac0946605c3f514
ab1a32755b297376f75fa5c69b4e8c74863742f5
refs/heads/master
2021-03-27T13:05:09.987230
2021-02-23T06:54:33
2021-02-23T06:54:33
116,067,762
8
4
null
null
null
null
UTF-8
C++
false
false
2,180
cpp
L3_token_count.cpp
#include<bits/stdc++.h> using namespace std; map<string, pair<string, int> > Table; string t[] = { "auto","break","case","char","const","continue","default","do","double","else","enum","extern","float","for","goto","if","int","long","register","return","short","signed","sizeof","static","struct","switch","typedef"...
f34ca3015ff6acb6dfcfc210664de1785dd247cc
55f157f70614c954a1c163c898fbf1916bff694e
/CoffeemakerPS/lib/AWS_IOT/examples/DHT11_Logger/DHT11_Logger.ino
e024651d31d98ed4dd0fd71260cccb8dfa6e5fc7
[ "LicenseRef-scancode-warranty-disclaimer", "MIT" ]
permissive
thankthemaker/sharespresso
f458204ad26b62e45b6f6735573ae55061148bc9
f0295f04dd3be8a6d2edae751551df050e90afcd
refs/heads/master
2021-06-07T14:36:07.378712
2019-12-16T10:25:10
2019-12-16T10:25:10
111,951,978
8
4
MIT
2018-10-06T15:31:15
2017-11-24T20:03:08
C++
UTF-8
C++
false
false
2,572
ino
DHT11_Logger.ino
#include <AWS_IOT.h> #include <WiFi.h> #include "DHT.h" #define DHTPIN 4 // what digital pin we're connected to // Uncomment whatever type you're using! #define DHTTYPE DHT11 // DHT 11 //#define DHTTYPE DHT22 // DHT 22 (AM2302), AM2321 //#define DHTTYPE DHT21 // DHT 21 (AM2301) DHT dht(DHTPIN, DHTTYPE);...
271feaa1411acedc709c23164937815db2dcca9e
f0cb80bcba4fcdff0969ffe6d4b343ff61655965
/MemoForm/CStatusButton.cpp
27cb5b84d0ac5b4adad533b53018a0debf7f8796
[]
no_license
rlagudtn/Memo
4975c5cede72542ef1dbcf965989ca0403deff99
ff15a9780b84d10a93cf66e9bf8771268fbe112d
refs/heads/master
2023-06-06T07:59:18.326987
2021-06-24T05:50:32
2021-06-24T05:50:32
113,292,651
0
0
null
null
null
null
UHC
C++
false
false
859
cpp
CStatusButton.cpp
//CStatusButton.cpp #include "CStatusButton.h" CStatusButton::CStatusButton(){} CStatusButton::~CStatusButton(){} void CStatusButton::DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct) { CDC dc; dc.Attach(lpDrawItemStruct->hDC); CRect rt; rt = lpDrawItemStruct->rcItem; //상태바와 같은색으로 색칠 //dc.FillSolidRect(rt, RGB(204, 20...
bb2ad748d437f572fd5be4f4463680d66407f743
a3a3a5f07abf9dc91921fb7291f454e16a64f135
/opengl_mycar/Track.cpp
66329fec5a33970ab4cbe5db2317e86c9b81be1a
[]
no_license
sjnam450/OpenGL_mycar
508742b8165ceb0abac098c0eb8a89949f6743bc
56ce848ccf4897e4093381c092aa290d1df2796a
refs/heads/master
2020-07-17T09:18:45.508478
2016-12-16T00:58:45
2016-12-16T00:58:45
73,932,738
0
0
null
null
null
null
UTF-8
C++
false
false
2,065
cpp
Track.cpp
// // Track.cpp // opengl_mycar // // Created by sjnam on 12/2/16. // Copyright © 2016 sjnam. All rights reserved. // #include "Track.hpp" Track::Track() { } void Track::draw_track(float R1,float R2) { float X,Y,Z; int y; Y = 0; glPushMatrix(); // // GLfloat specular[] = {1.0f, 1.0f...
6686a3dc8ac325ed5f94aaf6e6e36c6ddb55f119
d1cee40adee73afdbce5b3582bbe4761b595c4e1
/back/RtmpLivePushSDK/boost/boost/units/make_scaled_unit.hpp
26a9efdd917a6a5aa89591733a25d92bc262aec1
[ "BSL-1.0" ]
permissive
RickyJun/live_plugin
de6fb4fa8ef9f76fffd51e2e51262fb63cea44cb
e4472570eac0d9f388ccac6ee513935488d9577e
refs/heads/master
2023-05-08T01:49:52.951207
2021-05-30T14:09:38
2021-05-30T14:09:38
345,919,594
2
0
null
null
null
null
UTF-8
C++
false
false
1,781
hpp
make_scaled_unit.hpp
// Boost.Units - A C++ library for zero-overhead dimensional analysis and // unit/quantity manipulation and conversion // // Copyright (C) 2003-2008 Matthias Christian Schabel // Copyright (C) 2007-2008 Steven Watanabe // // Distributed under the Boost Software License, Version 1.0. (See // accompanying file LICENSE_1...
aac61e7ccad4c9db65b69e4ed9d836fe443d2a78
cd1bad03ef80e9112aaa97c950a1fc4d74da7fc7
/Practice(Beginner)/C++/HOW MANY DIGITS DO I HAVE.cpp
2ab952e2d201d8917de670edd51775645f71fb10
[]
no_license
UtsabSen/Codechef
85a875443f0afbbc1b7b6d25e8731968ba385ae5
92ff47f6ae58824115bac15190c4c9f1b5a28e67
refs/heads/master
2021-04-02T22:47:28.711698
2020-05-16T08:56:54
2020-05-16T08:56:54
248,332,274
2
0
null
null
null
null
UTF-8
C++
false
false
281
cpp
HOW MANY DIGITS DO I HAVE.cpp
// Source: https://www.codechef.com/problems/HOWMANY #include <bits/stdc++.h> using namespace std; int main() { int n; cin >> n; int cnt = 0; while(n){ cnt++; n /= 10; } cnt < 4 ? cout << cnt : cout << "More than 3 digits"; }
dbd66286fa5cfd8af74e1b8749b8453e90a994d9
597167bcff2f68d5dfbbca6b621604baab029af3
/G_OnInit.cpp
c08f110244546240050dad4e656a6d9f39375759
[]
no_license
rperruccio/Arcade
cea09c0437965880cbbb72f5c06addc64040bcd4
1208466e18529c4b936490dda8c58f712f7d202c
refs/heads/master
2016-09-05T09:13:23.092816
2012-08-07T04:50:56
2012-08-07T04:50:56
null
0
0
null
null
null
null
UTF-8
C++
false
false
355
cpp
G_OnInit.cpp
#include "Game.h" bool Game::OnInit() { if (SDL_Init(SDL_INIT_EVERYTHING) < 0) return false; if ((pantalla = SDL_SetVideoMode(WWIDTH, WHEIGHT, 32, SDL_HWSURFACE | SDL_DOUBLEBUF)) == NULL) return false; SDL_EnableKeyRepeat(1, SDL_DEFAULT_REPEAT_DELAY / 3); StateManager::SetActiveState...
800a447e2d22a033b7d040ce0b790b1a00aceb03
0ec697b71eb942c83a707f3231fd9e76e1cd6d70
/permute.cpp
19920b3c8291f6c258c832cd24611b7d404c1757
[]
no_license
mahesh001/cn
85e07cc6581dd748284e4b140960e909ff0f4b21
1b87755a131dac7007cc40ff0d93a20b2e3c7cda
refs/heads/master
2020-02-26T16:07:53.942552
2016-10-16T11:47:47
2016-10-16T11:47:47
71,045,370
0
0
null
null
null
null
UTF-8
C++
false
false
441
cpp
permute.cpp
#include <iostream> using namespace std; void swap(char *str,int i,int j) { char temp = str[i]; str[i] = str[j]; str[j] = temp; } void permute(char *str,int l,int h) { if(l == h) { cout<<str<<endl; } else { for(int i=l;i<=h;i++) { swap(str,l,i); permute(str,l+1,h); swap(str,i,l); } } } int ...
fcd13a7ee347395f583edd9ee59492ce3ed55dac
da7ac77dca2cedd56325e0b8b518d3b499aaa0ed
/Contests/Codeforces Round #702 (Div. 3)/E. Accidental Victory.cpp
8a9ed61f07c701add0066235ce916d0128c72ed3
[]
no_license
KartikDholakia/CP-KartikDholakia
fdd89f7486be4f62ddb1968fbc0215942a456176
4748b2817f2229d97232e2711e2118a3bd6cc53c
refs/heads/master
2023-07-18T21:25:36.497833
2021-09-06T05:23:45
2021-09-06T05:23:45
289,425,222
0
1
null
null
null
null
UTF-8
C++
false
false
1,697
cpp
E. Accidental Victory.cpp
#include<bits/stdc++.h> using namespace std; typedef long long ll; typedef short int st; #define MOD 1000000007 #define MAX 1000001 //1e6 + 1 #define INF 9223372036854775807 #define all(x) x.begin(), x.end() #define pb(x) push_back(x) #define mp make_pair //E. Accidental Victory //Codeforces Round #702 (Div. 3) b...
a0aa8196eecc54140dac65d7659865aeaa616e82
22365309a864cc9f7dfddef90c4bb7a005d29f37
/Venda.h
2f5d0eacf05783243db14c2a766b7051d31b2d13
[ "MIT" ]
permissive
MurielPinho/FEUP-AEDA-GestaoMetro
c73ef77413d90f3805179062f84cc9ebec0084fe
281f3cb46b059919786529b115b9690d2d55fb93
refs/heads/master
2021-08-02T03:50:40.416164
2021-07-26T19:22:09
2021-07-26T19:22:09
153,625,805
0
0
null
null
null
null
UTF-8
C++
false
false
3,090
h
Venda.h
#ifndef VENDA_H_ #define VENDA_H_ #include <fstream> #include <limits> #include "Utentes.h" #include "Bilhete.h" using namespace std; // ! Classe Venda. /*! Contem funcoes responsaveis por controlar a gestao dos bilhetes. */ class Venda { public: //! Membro normal. /*! Chama a cadeia de funcoes para a compr...
6e04487d212c39013d9b1c41bb515f4128a01404
75925ce20ff073c806b8f07ba65b65b78c7ec17f
/commands/impl/OCommand.cpp
40528e6bbf7e5be34001e08bd7ffd24cf4c77a3c
[ "MIT" ]
permissive
markvolkov/BookStore
6dfdbfd0305a3dde4e4640002b038f6f40eba14c
f27d1abca08959cbe725f9fa56fc43dc95d0b94d
refs/heads/master
2021-08-30T22:25:03.832550
2017-12-19T16:31:32
2017-12-19T16:31:32
110,712,006
0
0
null
null
null
null
UTF-8
C++
false
false
756
cpp
OCommand.cpp
// // Created by brien pacholec on 12/5/17. // #include "OCommand.h" //Create a bulk purchase order for additional books based on a comparison of the have and want values in the inventory. OCommand::OCommand(std::string identifier, BookManager* bookManager) { this->identifier=identifier; this->bookManager = b...
4ab2d44679d0b4fc195b96eebedfb56234b7c400
768371d8c4db95ad629da1bf2023b89f05f53953
/applayerprotocols/httptransportfw/Test/T_FilterConfigIter/FilterConfigurationIteratorTransitions.inl
28acaa49d3a2bc07364e1318a7475fd541f6ea5c
[]
no_license
SymbianSource/oss.FCL.sf.mw.netprotocols
5eae982437f5b25dcf3d7a21aae917f5c7c0a5bd
cc43765893d358f20903b5635a2a125134a2ede8
refs/heads/master
2021-01-13T08:23:16.214294
2010-10-03T21:53:08
2010-10-03T21:53:08
71,899,655
2
0
null
null
null
null
UTF-8
C++
false
false
10,497
inl
FilterConfigurationIteratorTransitions.inl
// Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies). // All rights reserved. // This component and the accompanying materials are made available // under the terms of "Eclipse Public License v1.0" // which accompanies this distribution, and is available // at the URL "http://www.eclipse.org/legal/e...
965e22b3e2017ae6048c74429fb9b0d935290a66
0eff74b05b60098333ad66cf801bdd93becc9ea4
/second/download/squid/gumtree/squid_new_log_1074.cpp
55196fc47de26f454788311664a706ce222cc226
[]
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
60
cpp
squid_new_log_1074.cpp
storeAppendPrintf(&e, "Maximum entries: %9d\n", entryLimit);
cabb05de0f11ece21e61c8a0b6a857c4e8dcae84
b00756d0a1510be3ed42c1bc169175a877f17327
/SpaceInvaders++/CFigure/CShip.h
10508253e1a7dc6539c06a0a347fd73a329ad701
[]
no_license
engooref/C-
9c0098440aa68182e48e4ba7f416c3114ed9300b
07237e64c65d1deb147f3f46f4691e921daa22c7
refs/heads/master
2022-11-12T15:26:43.943504
2020-07-06T13:38:58
2020-07-06T13:38:58
275,896,869
0
0
null
null
null
null
UTF-8
C++
false
false
1,317
h
CShip.h
/* * CShip.h * * Created on: 29 juin 2020 * Author: armand */ #ifndef CSHIP_H_ #define CSHIP_H_ #include <CFigure.h> #include <iostream> using namespace std; class CShip : public CFigure { private: static SDL_Texture * C_pTexture; public: CShip(); CShip( int iLocX, int iLocY, int iWidth, int i...
351f563c08bd58b28a0f3576bffc1adbdb03fe96
ba149a0a424cd19201a081c6a46110c685a00055
/AVlib_c/source/lib_gen2/xSys.h
3359f4505388fc6177fd4c64ba4f8f1201d89335
[]
no_license
haku90/JPEG
1b820db6eebdd31c10e7a8a459e70ae9b1f7f183
57822ed68bdd8a26234e4a8a6297ec18a8dd474d
refs/heads/master
2021-01-19T13:55:33.098763
2014-05-28T16:58:09
2014-05-28T16:58:09
19,584,487
4
1
null
null
null
null
UTF-8
C++
false
false
3,633
h
xSys.h
#pragma once #ifndef _xSysH_ #define _xSysH_ #include "xLicense.h" #include "xType.h" #include "xLanguage.h" #include "xDefines.h" #include <windows.h> #include <stdio.h> //================================================================================================ //Clasic main(): //main( int argc, char *argv[ ]...
764f565da3c589a8afcb90bf586f6bd45f277b5b
2223fdf5ab025c1465e139f39490129591a58808
/day04/ex01/PlasmaRifle.cpp
e4f84369c6ce7d8c297406c4c267247d9525d60d
[]
no_license
base1905/CPP_piscine
5907bcb91ab24c6f8496431811477992279bfd65
3c6b2a7a08cc773dd141ce5920cd7cd119e110e3
refs/heads/main
2023-04-18T19:56:27.226952
2021-05-04T18:52:08
2021-05-04T18:52:08
null
0
0
null
null
null
null
UTF-8
C++
false
false
495
cpp
PlasmaRifle.cpp
#include "PlasmaRifle.hpp" PlasmaRifle::PlasmaRifle() { this->_name = "Plasma Rifle"; this->_apcost = 5; this->_damage = 21; } PlasmaRifle::PlasmaRifle(PlasmaRifle const & src) { *this = src; } PlasmaRifle & PlasmaRifle::operator=(PlasmaRifle const & src) { this->_name = src._name; this->_apcost = src._apcost;...
3e733a865d1f9723057c0f1b433ab65d1135f60f
edb1b07246393d72ec43be283abe71f37d16b72e
/Parser0205/Parser0205/Rule.cpp
58a1afce7b2c569c3cacbcee0225ae7cc6a4a071
[]
no_license
JaredEzz/Parser
1be8c11d79684800d0c59bf102fa85a0a4744f0a
0c749eb95c6a6f426469384d45dd93312a475442
refs/heads/master
2020-04-21T04:21:35.269578
2019-02-05T20:56:44
2019-02-05T20:56:44
169,311,124
0
0
null
null
null
null
UTF-8
C++
false
false
147
cpp
Rule.cpp
#include "Rule.h" using namespace std; Rule::Rule(Predicate p) { myPred = p; } void Rule::addPredicate(Predicate p) { predList.push_back(p); }
afa9046b096fc923d7c3cc61512c8045f7c32d78
50ddd40e2bd71a605cd9354814dc7dfa464bf7fa
/task2/problemA/main.cpp
7694b1af00db27e77e669a068b36079d41769d3f
[]
no_license
ilyaderkatch/3sem-Algorithms
5635a18d5c6f3085f54f5372146ce18de06fb60d
956fa87d7ef86f476ae3d85282cdf124564d085a
refs/heads/master
2022-04-16T03:57:19.433291
2020-04-11T22:38:56
2020-04-11T22:38:56
254,963,642
0
0
null
null
null
null
UTF-8
C++
false
false
4,690
cpp
main.cpp
#include <algorithm> #include <iostream> #include <vector> const size_t alphabet_length = 256; using std::cin; using std::cout; using std::endl; using std::max; using std::min; using std::string; using std::vector; class SufArray { private: vector<size_t> suff_arr_; void FirstStepOfBuilding(const string &input_...
8c01a01bf29ad550f21b82faa09654d8e2abc8ad
3f8f2e97e4ffd5f98bd428875f8b5deec37cf208
/src/CBateau.h
50ea7ed3d523da1b3e88592eb32b314124b9f09e
[]
no_license
sullivanlb/NavalBattle
a4988fd9018f670671c7ab8a2af338b87b3a9bdd
733317ac4118303cd0e550704508ee7b93232bec
refs/heads/main
2023-03-16T07:10:31.539903
2021-03-09T08:37:56
2021-03-09T08:37:56
338,581,918
0
0
null
null
null
null
UTF-8
C++
false
false
716
h
CBateau.h
#ifndef CBATEAU_H #define CBATEAU_H #include "BiblioStd.h" class CBateau { private: int m_taille; string m_nom; pair<int, int> m_position; bool* m_pDegats; public: CBateau(); CBateau(string n, pair<int, int> p, int t); CBateau(const CBateau& theBToCo...
00f56b497d956ec1353471a796affdb724420e01
8a87f5b889a9ce7d81421515f06d9c9cbf6ce64a
/3rdParty/boost/1.78.0/boost/hana/zip_shortest_with.hpp
4371e4dc3152e77098ed18b30f95a3ec8deddd56
[ "BSL-1.0", "Apache-2.0", "BSD-3-Clause", "ICU", "Zlib", "GPL-1.0-or-later", "OpenSSL", "ISC", "LicenseRef-scancode-gutenberg-2020", "MIT", "GPL-2.0-only", "CC0-1.0", "LicenseRef-scancode-autoconf-simple-exception", "LicenseRef-scancode-pcre", "Bison-exception-2.2", "LicenseRef-scancode...
permissive
arangodb/arangodb
0980625e76c56a2449d90dcb8d8f2c485e28a83b
43c40535cee37fc7349a21793dc33b1833735af5
refs/heads/devel
2023-08-31T09:34:47.451950
2023-08-31T07:25:02
2023-08-31T07:25:02
2,649,214
13,385
982
Apache-2.0
2023-09-14T17:02:16
2011-10-26T06:42:00
C++
UTF-8
C++
false
false
2,131
hpp
zip_shortest_with.hpp
/*! @file Defines `boost::hana::zip_shortest_with`. @copyright Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ #ifndef BOOST_HANA_ZIP_SHORTEST_WITH_HPP #define BOOST_HANA_ZIP_SHORTEST_WITH_HPP #includ...
ca1935c2703f72774c65ea31c93d262c6404e0d5
278c977951eba2a49abeed3365a919db21f2b87d
/src/rectify/src/libRectification/rectify.h
c4e9904ffa9be7816efd945647248eaafe4e531b
[]
no_license
BB88/tesi_watermarking
cb5a2fc6f0642f7c5886648b33205b71214aaccd
9a8cbbd338536a48d60788a3bbef2982727941f6
refs/heads/master
2021-01-21T21:54:56.400325
2016-03-21T20:49:08
2016-03-21T20:49:08
33,986,082
0
0
null
null
null
null
UTF-8
C++
false
false
344
h
rectify.h
#ifndef RECTIFY_H #define RECTIFY_H #include "../libNumerics/homography.h" #include "../libMatch/imgmatch.h" #include <vector> std::pair<float,float> compRectif(int w, int h, const std::vector<imgMatch>& m, libNumerics::Homography& Hl, libNumerics::H...
105c8adb7b3f66861e2d45603339d15a930dfda9
2b2e4666da79d4b7727ec20adf846530beed9f9c
/libeventtest/WorkServer.cpp
cf14e68efd13ecf1b93eeb63cc90e94ec0ba3d87
[]
no_license
chengf2018/SimpleServer
fd942d26d8b6d3a46721ddb1494952da22a34ad5
d5c25fab6e22102f73b016ef010c944404d9025d
refs/heads/master
2020-03-28T00:47:34.852566
2018-09-05T03:06:35
2018-09-05T03:06:35
147,449,946
1
0
null
null
null
null
GB18030
C++
false
false
1,133
cpp
WorkServer.cpp
#include "stdafx.h" #include "WorkServer.h" void CWorkServer::OnProcessMessage(bufferevent *bev, char *message, unsigned short len) { //printf("收到数据:%s\n", message); bufferevent_lock(bev);//加锁,以方便处理逻辑业务 CMemoryStream packet(message, len); unsigned char nCmdId = 0; packet >> nCmdId; printf("CmdId:%d\n", nCmdId...
d5c54f1c6637d71914a84c429110405ebff9e3bd
c45702cf0889ef2bb40e053967d654b307fcb988
/src/Http.cpp
c76650f5fa15b4289efe71f5a53bfcfb8688f4ac
[ "Apache-2.0" ]
permissive
sihai90/liblifthttp
04515ef6e3819129e9edd6b3e14070f47763a4dd
38819330a751514595a737348dc465b9cf29f813
refs/heads/master
2022-04-18T04:06:33.123130
2020-04-15T22:54:05
2020-04-15T22:54:05
null
0
0
null
null
null
null
UTF-8
C++
false
false
22,727
cpp
Http.cpp
#include "lift/Http.hpp" namespace lift::http { using namespace std::string_literals; static const std::string METHOD_GET = "GET"s; static const std::string METHOD_HEAD = "HEAD"s; static const std::string METHOD_POST = "POST"s; static const std::string METHOD_PUT = "PUT"s; static const std::string METHOD_DELETE = "D...
0ae801cef02cdb2b0d77a11e79b843e2b4dea174
e57d206aac19fbd73482b2ebc5f62afa6186c53e
/src/gv.h
5489e85c023546b4c8123fef003b60161998ed84
[]
no_license
adrien1018/CompilerDesign2019
d41ba71e56cead7cc730357b08d0563cb320395d
ad7b791264b3dabe7e25fb45af3c693489ea1065
refs/heads/master
2021-07-05T17:50:58.869633
2020-12-28T11:35:28
2020-12-28T11:35:28
215,280,145
1
0
null
null
null
null
UTF-8
C++
false
false
135
h
gv.h
#ifndef GV_H_ #define GV_H_ #include <string> #include "ast.h" void PrintGV(AstNode *root, std::string filename); #endif // GV_H_
26622ea57572a549c34826b58cbcaad73a48eedf
5594030a866fb87befba95b8f3f274a7c2041b54
/sudoku.cpp
9348dd9979cae1a0eee1a445bcaaa076cf89ffe7
[]
no_license
songxiaopeng/sudoku
1df987e7d1eae9f7ae67aad0dad8edf3afb17ce0
e09fe7e13da74a0a89993808c932ec27f56265ac
refs/heads/master
2021-06-18T11:57:12.184121
2017-03-14T17:28:39
2017-03-14T17:28:39
null
0
0
null
null
null
null
UTF-8
C++
false
false
13,068
cpp
sudoku.cpp
#include <iostream> #include <string> using namespace std; #define NUM9 9 class Sudoku { public: Sudoku(int sudokuArray[81]) { for (int i = 0; i < 81; i++) { int col = i % 9; int row = i / 9; mSudokuMat[row][col] = sudokuArray[i]; } initMatSets(); }; ~Sudoku() { }; void ...
032956073b946c38d64d2dbb54c542626786feb9
17445d64663a7a7127a23dfe31faa2d502479e7b
/sources/Researcher.hpp
d15d2ec7e2e281acab00a06dfc2a36a803975a82
[]
no_license
michaeleliyahu/Pamdomic_game
64f83bdb0119d29feba318f6e9428650482b5bc6
7d7ecd3375fab26e5b47a0d9fa4480d9b08ab7bb
refs/heads/master
2023-04-28T08:24:05.211623
2021-05-18T20:00:07
2021-05-18T20:00:07
null
0
0
null
null
null
null
UTF-8
C++
false
false
305
hpp
Researcher.hpp
#include "Player.hpp" namespace pandemic { class Researcher : public Player { public: Researcher(Board &board, City city) : Player(board, city) {} Researcher &discover_cure(Color color); std::string role() { return "Researcher"; } }; }
4b93006219b265e0c506c847f59f0982f402d7e6
b850714723a49408b16fc71940ec05dc7fed7f36
/header.h
345bc5a1e06ba29d9f603b69e5d49f51445a21c2
[]
no_license
BarunPrakash/CPLUSlearningProjects2016
977f95809769f2ded4a81190d8b4a8fe4089a34e
f7900c92f14abe6ca912ad102ee3d0f4056b0249
refs/heads/master
2022-01-20T02:28:19.515235
2019-07-27T03:26:14
2019-07-27T03:26:14
98,091,159
0
0
null
null
null
null
UTF-8
C++
false
false
3,405
h
header.h
/* * header.h * * Created on: 21-Mar-2016 * Author: epl-lab */ #ifndef HEADER_H_ #define HEADER_H_ /**********************************************************/ #include<string> #include<iostream> #include<fstream> #include<iomanip> #include<stdint.h> #include<string.h> using namespace std; /**************...
a5ee5dd0350e27273372ad4ca1e66115353a5641
ecb4887e4cc5ed91ede47dfd8c0b65869f8d3535
/easyClient.cpp
f757008f52e50c0e6ea0133fcfe7475a81d14f24
[]
no_license
TGDdream/network-learn
8054eafc7fbcd3b1d6eae038afcce2e549fcd072
ead7f7ad33ba5d6331ff7366439e734a012bb767
refs/heads/master
2022-08-19T20:20:33.662228
2020-05-27T04:49:46
2020-05-27T04:49:46
267,221,269
1
0
null
null
null
null
GB18030
C++
false
false
4,703
cpp
easyClient.cpp
#include "easyClient.h" easyClient::easyClient() { _sock = INVALID_SOCKET; _lastPos = 0; } easyClient::~easyClient() { Close(); } /* 初始化Socket */ void easyClient::InitSocket() { if (_sock != INVALID_SOCKET) { cout << "repeat Socket ..close _socket" << "<" << _sock << ">" << endl; Close(); } #ifdef _WINDO...
8b50f0be30c6da232e7ee6e759f30dab321d2204
d75849d7f1ec1ac452d4a71724d822ae33e8655a
/src/ui/winmain.h
5e3669bc4c12176698925ac29e196100f2715097
[]
no_license
xavierliancw/CS1C-Class-Project
eab8950b4537370d6ef25370cd5587f421a75753
85a4a51a3a6848795c1118dd76e7cbb176584f6a
refs/heads/master
2020-05-04T13:09:09.335860
2019-05-28T21:45:50
2019-05-28T21:45:50
179,149,378
1
0
null
2019-05-06T08:46:04
2019-04-02T19:59:17
C++
UTF-8
C++
false
false
3,153
h
winmain.h
#ifndef WINMAIN_H #define WINMAIN_H #include "dlgshapereport.h" #include "dlgcontactform.h" #include "dlgeditorrectframe.h" #include "dlgtestimonialcreate.h" #include "dlgloginscreen.h" #include "models/shapeellipse.h" #include "models/ishape.h" #include "models/shapecircle.h" #include "viewmodels/vmcanvas.h" #include...
1184accfb68c377d440ac4b73695356f1f83a9c5
9721df80bca8d6cd8aa4914b47f6b5c68981a9c0
/MetalTrainer/src/interval/PlatformSpecific.cpp
a5548f7afc704493307ddbf9f42a0e617f23d579
[ "BSD-3-Clause" ]
permissive
eperiod-software/metal-trainer
3ce0467c46ec8af6c3b68c328fe24c9cbf232dea
9a9307d15eda4c071357a0259069d2ddd6358d89
refs/heads/master
2016-09-05T13:16:17.320730
2015-09-13T08:04:43
2015-09-13T08:04:43
40,936,061
0
0
null
null
null
null
UTF-8
C++
false
false
565
cpp
PlatformSpecific.cpp
#include <QThread> #include <QMutex> #include <unistd.h> #include "PlatformSpecific.h" class Sleeper : public QThread { public: static void sleepMs(TimeMs amount) { QThread::msleep(amount); } }; void TimeManager::sleep(TimeMs amount) { Sleeper::sleepMs(amount); } Mutex::Mutex() { QMutex *mutex = new QMutex();...
ba71925de4ad6f745a90e641d6ffbdab9470da13
fb33129d7281363ce0b1e0cbc82e721980952706
/w13/evolution/algorithm.cpp
0cbdf6f8184a9bededc9ab4ece40df204eac3813
[]
no_license
bunjj/Algorithms-Lab
4f83a8bfb1ba569dab352c8fe165d51a3cf6a8cc
eb38dd3ecc2e4fd971813d7c22471206e096e1ec
refs/heads/main
2023-08-18T02:39:51.189215
2021-10-03T19:31:56
2021-10-03T19:31:56
413,116,275
0
0
null
null
null
null
UTF-8
C++
false
false
1,960
cpp
algorithm.cpp
#include <limits> #include <iostream> #include <iomanip> #include <string> #include <cmath> #include <algorithm> #include <vector> #include <unordered_map> #include <set> #include <stack> struct specie{ std::string name; int age; std::vector<std::string> children; }; struct query{ std::string name; int age; int...
7948d62279a2b712220abde56f633f9757d1ddb0
2d42a50f7f3b4a864ee19a42ea88a79be4320069
/source/graphics/primitives/index_array.h
37ef4d30b94aab024df736a10a3eb18fbb8990a3
[]
no_license
Mikalai/punk_project_a
8a4f55e49e2ad478fdeefa68293012af4b64f5d4
8829eb077f84d4fd7b476fd951c93377a3073e48
refs/heads/master
2016-09-06T05:58:53.039941
2015-01-24T11:56:49
2015-01-24T11:56:49
14,536,431
1
0
null
2014-06-26T06:40:50
2013-11-19T20:03:46
C
UTF-8
C++
false
false
1,825
h
index_array.h
#ifndef INDEX_ARRAY_H #define INDEX_ARRAY_H #include <vector> #include <config.h> #include "iindex_array.h" PUNK_ENGINE_BEGIN namespace Graphics { template<typename IndexType> class IndexArray : public IIndexArray { public: IndexArray(const std::vector<IndexType>& array) : m_array(arr...
6b829f76c5fa718b9614af58b603b0b041d5c710
e5dad8e72f6c89011ae030f8076ac25c365f0b5f
/caret_gui/GuiBorderProjectionDialog.cxx
abe391cc05588452d2d36b0f31021c0cd51e9a2d
[]
no_license
djsperka/caret
f9a99dc5b88c4ab25edf8b1aa557fe51588c2652
153f8e334e0cbe37d14f78c52c935c074b796370
refs/heads/master
2023-07-15T19:34:16.565767
2020-03-07T00:29:29
2020-03-07T00:29:29
122,994,146
0
1
null
2018-02-26T16:06:03
2018-02-26T16:06:03
null
UTF-8
C++
false
false
3,988
cxx
GuiBorderProjectionDialog.cxx
/*LICENSE_START*/ /* * Copyright 1995-2002 Washington University School of Medicine * * http://brainmap.wustl.edu * * This file is part of CARET. * * CARET is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Fo...
967ea9ed4852de4c29ca50d613c227bfe8d7f65e
493ac26ce835200f4844e78d8319156eae5b21f4
/flow_simulation/ideal_flow/processor3/0.05/nut
2a4dfa8a893d77548410d9c16a50d73fc6fa8b5a
[]
no_license
mohan-padmanabha/worm_project
46f65090b06a2659a49b77cbde3844410c978954
7a39f9384034e381d5f71191122457a740de3ff0
refs/heads/master
2022-12-14T14:41:21.237400
2020-08-21T13:33:10
2020-08-21T13:33:10
289,277,792
0
0
null
null
null
null
UTF-8
C++
false
false
22,088
nut
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: v1912 | ...
2f5b6850ad251c9cfff27791175e266d6ffce01a
9832855ae4486a3b776930f7ce73e128bdc02aca
/Po que mão/Po que mão.cpp
29b22bb6d7ea5a36a4878eb7229b915522a081de
[]
no_license
glaucoacassio/NEPS
df2eee784bed6859e9db2ca99f6bc15d6e7f489d
94b962df8420c022f2815d83ff2b7cb3df036255
refs/heads/master
2022-12-14T18:52:27.331802
2020-09-16T23:55:27
2020-09-16T23:55:27
288,892,166
1
0
null
null
null
null
UTF-8
C++
false
false
504
cpp
Po que mão.cpp
/** * Author: @glaucoacassioc * Created on 13.09.2020, 21:23:25 **/ #include <bits/stdc++.h> using namespace std; typedef long long ll; typedef pair<int, int> ii; typedef vector<ii> vii; typedef vector<int> vi; #define INF 1000000000 int main() { ios::sync_with_stdio(false); cin.tie(0); int n; ...
de593b9721e01dc6d4e15412e70c74787a946748
92747972b6bd8ad76c9951c9a4f44f4f61619071
/src/scene/OrthoCamera.cpp
7025eebcc137dac27b783e6b258b4fe66518edd7
[]
no_license
cha63506/kocmoc-core
729327bc14bfbb21684c97489e7d0ac7f67cc9e6
543f4f4b4975dfecf2e493760c32dcf76a2f08e7
refs/heads/master
2017-11-13T15:42:15.202802
2013-12-13T10:43:44
2013-12-13T10:43:44
null
0
0
null
null
null
null
UTF-8
C++
false
false
984
cpp
OrthoCamera.cpp
#include <kocmoc-core/scene/OrthoCamera.hpp> #include <glm/gtc/matrix_transform.hpp> using namespace kocmoc::core::scene; using glm::vec3; using glm::vec4; using glm::mat4; OrthoCamera::OrthoCamera(vec3 _focus, vec3 _direction, vec3 _upVector) : focus(_focus) , direction(_direction) , upVector(glm::normalize(_upV...
06be5a0d16fce62381ad43888024ea3be8a9f945
39cdb6ff35231538ef25c565181981ccf237cc30
/SWEA/8993.cpp
e644df9019fbe8515e71d166f0ed44977905c86a
[]
no_license
dittoo8/algorithm_cpp
51b35321f6cf16c8c1c259af746a9f35d5ba8b76
d9cdda322d3658ffc07744e4080c71faeee6370c
refs/heads/master
2023-08-03T14:49:08.808253
2021-02-16T04:13:53
2021-02-16T04:13:53
null
0
0
null
null
null
null
UTF-8
C++
false
false
542
cpp
8993.cpp
#include <cstdio> #include <queue> using namespace std; bool solve (long long n){ queue<long long> arr; while(n>1){ if (n%2==0){ n/=2; }else { arr.push(n); if (n == arr.front()) return false; n = 3*n+3; } } return true; } int main()...
2a1fe75f496db2533cd290ff2cd5913848c29822
c0459046ed85fb919cdb4114cfc49f4db005e3b2
/arduino_control/HelloWorld/subscribe_Hello_World/subscribe_Hello_World.ino
58ffb05ab892cda4a1acb04d11a2859aefa1d562
[]
no_license
fschalling/JuRP_HK
4d3b2d2deb6c4c6e95118727bc393135a27a751a
4e9d643addbfeb3359f6a7a10413c66d980f257a
refs/heads/master
2020-03-30T19:37:03.878203
2018-12-10T16:16:44
2018-12-10T16:16:44
151,550,611
1
1
null
null
null
null
UTF-8
C++
false
false
500
ino
subscribe_Hello_World.ino
#include <ros.h> #include <std_msgs/String.h> #include <std_msgs/Empty.h> ros::NodeHandle nh; void messageCb( const std_msgs::Empty& toggle_msg){ } std_msgs::String str_msg; ros::Subscriber<std_msgs::Empty> sub("chatter", &messageCb); ros::Publisher chatter_2("chatter_2", &str_msg); char hello[13] = "hel...
e464270ccdc297242c47ab7160b4c95aa0c24abd
2fe11f0bdb260d3cfeca15c73b3131db7e58db63
/Codeforces Round #693/693_c.cpp
097472326045fa9be15100968c02b96ea0861eba
[]
no_license
Saumya-Agarwal29/codeforces
68a3ccd6a11b4b2e83ea6c2ec5f0cbc407573d66
20a379bfb3ed35647c5a314c50e770030b49345c
refs/heads/main
2023-08-13T09:32:54.502303
2021-10-04T23:02:32
2021-10-04T23:02:32
413,606,296
0
0
null
2021-10-04T22:55:25
2021-10-04T22:55:25
null
UTF-8
C++
false
false
662
cpp
693_c.cpp
/*------------------Honey, you should see me in a crown--------------------*/ #include<bits/stdc++.h> #define FAST cin.tie(0);cout.tie(0);ios_base::sync_with_stdio(0) #define lli(n) long long n; cin>>n; #define li(n) long n; cin>>n; #define inti(n) int n;cin>>n; #define CC int test;\ cin>>test;\ while(test--) using n...
619fa3374694210040e87fe025acc4b7fc78b8a6
73bd731e6e755378264edc7a7b5d16132d023b6a
/CodeForces/CodeForces - 1061B.cpp
867d105fee44b1fbad5eedbfba1d7866e051b0ad
[]
no_license
IHR57/Competitive-Programming
375e8112f7959ebeb2a1ed6a0613beec32ce84a5
5bc80359da3c0e5ada614a901abecbb6c8ce21a4
refs/heads/master
2023-01-24T01:33:02.672131
2023-01-22T14:34:31
2023-01-22T14:34:31
163,381,483
0
3
null
null
null
null
UTF-8
C++
false
false
718
cpp
CodeForces - 1061B.cpp
//Problem ID: CodeForces - 1061B (Views Matter) //Programmer: IQBAL HOSSAIN Description: Greedy //Date: 11/02/19 #include <bits/stdc++.h> #define MAX 100005 using namespace std; typedef long long ll; int main() { ios::sync_with_stdio(0), cin.tie(0), cout.tie(0); int n, m, arr[MAX], Max = -1; ll tot = ...
0fd72e6b076a8563fc058c65737f88aef8adb3e2
fafce52a38479e8391173f58d76896afcba07847
/uppdev/sic.oold/Sic.h
a2d3e774443437a57a5d957899fd9d7efdea83e1
[]
no_license
Sly14/upp-mirror
253acac2ec86ad3a3f825679a871391810631e61
ed9bc6028a6eed422b7daa21139a5e7cbb5f1fb7
refs/heads/master
2020-05-17T08:25:56.142366
2015-08-24T18:08:09
2015-08-24T18:08:09
41,750,819
2
1
null
null
null
null
UTF-8
C++
false
false
4,063
h
Sic.h
#include <Core/Core.h> enum { SV_VOID, SV_NUMBER, SV_STRING, SV_MAP, SV_LAMBDA }; struct SValMap; struct SLambda; class SVal : Moveable<SVal> { struct SValMap; int type; String string; double number; int ipos; struct SLambdaRef;...
928703702a62b904bf50a806a093dece85f8ab8d
436623ee85c9d9444d700b56f2729b12b9f2c659
/src/tools/ecode/plugins/lsp/lspclientserver.hpp
431bf555462f5a0f7098ff7d456683e9b77ca78b
[ "MIT" ]
permissive
SpartanJ/eepp
0bd271b33058ef119f5c34460ed94e44df882a25
9f64a2149f3a0842ced34b8b981ffe3a8efc6d13
refs/heads/develop
2023-09-01T01:17:30.155540
2023-08-27T20:58:19
2023-08-27T20:58:19
125,767,856
341
27
MIT
2023-04-01T20:10:26
2018-03-18T21:11:21
C++
UTF-8
C++
false
false
10,391
hpp
lspclientserver.hpp
#ifndef ECODE_LSPCLIENTSERVER_HPP #define ECODE_LSPCLIENTSERVER_HPP #include "../pluginmanager.hpp" #include "lspdefinition.hpp" #include "lspdocumentclient.hpp" #include "lspprotocol.hpp" #include <atomic> #include <eepp/network/tcpsocket.hpp> #include <eepp/system/process.hpp> #include <eepp/ui/doc/textdocument.hpp...
ac921ef37160c1efec40db2e5973374f22d8486c
304dcc859ff1bad63ae881a096e687f7dc3de04b
/Test_PC_Poker/UPGCommon/src/GameURL.cpp
aa68ee795d068cc8e903806ae647ca8b5040e4d9
[]
no_license
idh37/testrepo
03e416b115563cf62a4436f7a278eda2cd05d115
b07cdd22bd42356522a599963f031a6294e14065
refs/heads/master
2020-07-11T00:57:34.526556
2019-09-10T07:22:35
2019-09-10T07:22:35
204,413,346
0
0
null
null
null
null
UHC
C++
false
false
22,776
cpp
GameURL.cpp
// GameURL.cpp // ////////////////////////////////////////////////////////////////////// #include "stdafx.h" #include "GameURL.h" CString getGameURL(IDX_GAMEURL nGameURL, LPARAM lParam /* = NULL */) { CString strGameCode = GM().GetCurrentGameString(); int nGameCode = GM().GetCurrentGameCode(); int nGameIndex = GM(...
b59877ac12a9261f6e051022b36c8084d95a575c
adc3102407dd9f5d912092d63a21dad367c5b842
/pepcoding/OOPS/friendfn2.cpp
dae34e6d1e3fed0a66d10f3efabf4c3bafa69616
[]
no_license
cashinqmar/DSALGO
e96b41d0f78e80175764026347acb2fd81264acd
828d320b8f6df928a992760837ef65782538dc6d
refs/heads/master
2020-12-05T21:32:06.717509
2020-11-17T10:17:15
2020-11-17T10:17:15
232,251,908
1
2
null
null
null
null
UTF-8
C++
false
false
688
cpp
friendfn2.cpp
#include<bits/stdc++.h> using namespace std; class class_2; class class_1{ int data; public: void fill(int data){ this->data=data; } void display(){ cout<<data<<"\n"; } friend void exchange(class_1 &,class_2 &); }; class class_2{ int data; public: void fill(int...
0232149bde55d1c7e55a1cade47aedeeb89b8512
be31580024b7fb89884cfc9f7e8b8c4f5af67cfa
/CTDL1/New folder/VC/VCWizards/AppWiz/MFC/Application/templates/1040/CalendarBar.h
78dce878f53695df62d7262e2916b183a2ceab4f
[]
no_license
Dat0309/CTDL-GT1
eebb73a24bd4fecf0ddb8428805017e88e4ad9da
8b5a7ed4f98e5d553bf3c284cd165ae2bd7c5dcc
refs/heads/main
2023-06-09T23:04:49.994095
2021-06-23T03:34:47
2021-06-23T03:34:47
379,462,390
1
0
null
null
null
null
UTF-8
C++
false
false
1,497
h
CalendarBar.h
[!if RIBBON_TOOLBAR] // Questo codice sorgente degli esempi di MFC illustra l'utilizzo dell'interfaccia utente Microsoft Office Fluent di MFC // e viene fornito esclusivamente come riferimento in supplemento // al materiale di riferimento e alla documentazione in formato elettronico MFC // forniti con il software de...
a71f1788b3fc76bbdbeccfa8f1f1b0f51cdabcc0
d09945668f19bb4bc17087c0cb8ccbab2b2dd688
/srm/501-520/505/SetMultiples.cpp
9df221abea484692a3a2b6b5c882a891e689cefc
[]
no_license
kmjp/procon
27270f605f3ae5d80fbdb28708318a6557273a57
8083028ece4be1460150aa3f0e69bdb57e510b53
refs/heads/master
2023-09-04T11:01:09.452170
2023-09-03T15:25:21
2023-09-03T15:25:21
30,825,508
23
2
null
2023-08-18T14:02:07
2015-02-15T11:25:23
C++
UTF-8
C++
false
false
3,631
cpp
SetMultiples.cpp
#include <cstdlib> #include <cstring> #include <memory> #include <cstdio> #include <fstream> #include <iostream> #include <cmath> #include <string> #include <sstream> #include <stack> #include <queue> #include <vector> #include <set> #include <map> #include <algorithm> #include <numeric> using namespace...
750a707f4170be159e6f59e351edf3d28b2a8075
6d135f8c8a16fdc1d555b4cf63bc21ce57fe17b9
/test/gtest/geometry/TestRect.cpp
4c32293e8920fb1c7f9e111f421796a0d66aadf7
[ "Apache-2.0" ]
permissive
jefftastemakers/CrossLayout
408a741a7d343fffe3d9f21aa35b3471cafbf34e
4e0d6a54bbe83d184542c046cbb0044125512472
refs/heads/master
2022-01-02T09:07:42.280776
2018-01-22T09:44:00
2018-01-22T09:44:00
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,133
cpp
TestRect.cpp
// // Created by Dawid Drozd aka Gelldur on 14/01/17. // #include <gtest/gtest.h> #include <crosslayout/geometry/Rect.h> #include <crosslayout/geometry/GeometryToString.h> using namespace CrossLayout; TEST(TestRect, mergeSticky) { Rect<int> rectA{0, 0, 10, 10}; Rect<int> rectB{10, 10, 10, 10}; EXPECT_EQ((Rect<int...
f4feb986bb92fb59189be834224498487324ca6a
64ab366f1ffc3b69bbf4c9d67e4d51be43fb72bd
/LanQiaoExercise/08 深搜/190320王子救公主.cpp
2d0d6f884cd157742fe4ee731be99f23c340cbd8
[]
no_license
cnbeiyu/Algorithm
94dfec758f2f64e3dfd7a084398538b76675d364
d99a939bf42da54c5eb831a26b264c76dd95960f
refs/heads/master
2022-03-04T06:15:53.381234
2022-02-15T04:37:52
2022-02-15T04:37:52
176,132,307
1
0
null
null
null
null
UTF-8
C++
false
false
965
cpp
190320王子救公主.cpp
#include <iostream> using namespace std; char map[100][100]; bool vis[100][100][5]; int n, m, ans; bool in(int x, int y) { return 0 <= x && x < n && 0 <= y && y < m; } void dfs(int x, int y, int d) { if (!in(x, y) || !vis[x][y]) { return; } vis[x][y][2 - d] = true; dfs(x, y + 2 - d, d); dfs(x, y - (2 - d), d);...
eba7f49ef8e3bcacc80c7caa2341d28c5572c540
b93f861463f42d90ed18b19abc5037b42412d7cf
/source/adios2/engine/dataman/DataManReader.cpp
2b02281d781ccaf9319e1885804004aa709e5526
[ "Apache-2.0" ]
permissive
kiizawa/ADIOS2
acbdb76f927bfbe3addafb9e7186b18851a9b243
44d7d586016daaae58d00c85f2ca7c0eed01cfd4
refs/heads/master
2021-05-05T15:26:10.989500
2018-01-12T18:56:52
2018-01-12T18:56:52
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,901
cpp
DataManReader.cpp
/* * Distributed under the OSI-approved Apache License, Version 2.0. See * accompanying file Copyright.txt for details. * * DataManReader.cpp * * Created on: Feb 21, 2017 * Author: Jason Wang * William F Godoy */ #include "DataManReader.h" #include "DataManReader.tcc" #include "adios2/hel...
72634e0f70c17d51877c98e5bee0ffbe7b4ecf53
c3ffa07567d3d29a7439e33a6885a5544e896644
/UVa/10557.cpp
959270702f49ca7e55d0059e3424f2227f18527f
[]
no_license
a00012025/Online_Judge_Code
398c90c046f402218bd14867a06ae301c0c67687
7084865a7050fc09ffb0e734f77996172a93d3ce
refs/heads/master
2018-01-08T11:33:26.352408
2015-10-10T23:20:35
2015-10-10T23:20:35
44,031,127
0
0
null
null
null
null
UTF-8
C++
false
false
1,370
cpp
10557.cpp
#include<stdio.h> #include<vector> #include<queue> #include<string.h> #define INF 100000000 using namespace std; vector<int> v[101] ; queue<int> q ; int d[101],w[101],cnt[101],n ; bool inq[101],done[101] ; bool bellmanford(int s) { memset(inq,0,sizeof(inq)) ; memset(cnt,0,sizeof(cnt)) ; mems...
699a25f8e138d3b94f6e7989369dad0e1c8f8daf
a1d634c8c9808d9eae81bc2514ee5817af677b18
/Configuration/src/ArtusConfig.cc
f7811aa1de8991ac51928bc1f78797afc31f593f
[]
no_license
artus-analysis/Artus
eaeeec4e36b167e72275176076edc7167d304607
9170dd2f0e7664f43231243aee79f3e0a0657a0a
refs/heads/master
2022-08-11T12:12:23.166211
2019-12-17T18:18:51
2020-01-22T12:49:14
23,577,702
7
25
null
2020-01-21T12:45:19
2014-09-02T12:27:01
C++
UTF-8
C++
false
false
6,624
cc
ArtusConfig.cc
#include <iostream> #include <cstdlib> #include <boost/program_options.hpp> #include <boost/algorithm/string/trim.hpp> #include "TObjString.h" #include "Artus/Configuration/interface/ArtusConfig.h" #include "Artus/Configuration/interface/PropertyTreeSupport.h" #include "Artus/Utility/interface/Utility.h" ArtusCon...
8dcd40f53b8590789575e66d96505ff728a6293b
ab5a682d2b38429694b4a8c0dfdfd058c4832c30
/source/Board/AttackHandler.cpp
dacdb519803d27342be2cc495c13b1faf0c9da4e
[]
no_license
GLorenz/DauntlessDebate
ea24ffc595c21c479ad2ddcdd3b49bb3447a5782
91490a9efa3ef2e41ad22408690a4a6317a5d2ca
refs/heads/master
2023-03-31T05:40:00.968370
2021-03-31T14:15:54
2021-03-31T14:15:54
353,374,123
0
0
null
null
null
null
UTF-8
C++
false
false
4,406
cpp
AttackHandler.cpp
// Authors: Lorenz Gonsa & Sabrina Loder, MMP2a FHS-MMT #include "pch.h" #include "Board/AttackHandler.h" #include "Foundation/ConfigHandler.h" #include "GameManager.h" BoardComponent::Squares AttackHandler::getAttackOptions(std::shared_ptr<Meeple> attacker, AttackDir attackDir) { auto board = GameManager::getInstanc...
6cb3f71359cc3bf88e81c328545b8c8c19e845b9
f2c110a519d874afc045f9a3a912546789e344e1
/LiveEntityImplementation/Rabbit.cpp
a3d417d77a2d33cf05f943a0d75f1dfcf58a9517
[]
no_license
Barbariansyah/OOP-Tubes-1-Harvest-Moon
2c82e13c4cdb6c70d98ccb4787a3e977ec84d31f
30bb24d6bb62b348e100bda240cacf81e555a0be
refs/heads/master
2021-10-25T16:33:45.100805
2019-04-05T12:11:21
2019-04-05T12:11:21
174,787,460
0
1
null
null
null
null
UTF-8
C++
false
false
1,015
cpp
Rabbit.cpp
#include <iostream> using namespace std; #include "../Rabbit.h" #include "../Game.h" //! Konstruktor dari kelas Rabbit /*! */ Rabbit :: Rabbit(int _pos_x , int _pos_y) { pos_x = _pos_x; pos_y = _pos_y; hunger_countdown = 5; allowed_tiles = "Barn"; } //! Implementasi dari fungs...
60dc95143784f1a2bd443d3b5f236588b96dab48
70597d3eb5e5c2ffc2955f3d6f7a6a124bd26b95
/Networking/Server/dataline.cpp
ce23d14abbe40c20b2ae9eaad57567a054c59325
[]
no_license
ppate67/NetworkBoardGames
c52f47a6720bf66745b129be45be56b3c83feae7
faf98f594cc54b76974d4dba08e44e04a000bbcc
refs/heads/master
2021-01-01T15:25:25.845889
2017-05-15T15:34:02
2017-05-15T15:34:02
97,612,302
0
0
null
null
null
null
UTF-8
C++
false
false
134
cpp
dataline.cpp
#include "dataline.h" dataLine::dataLine(int key, string username, int gameID, int gameType, int moveNumber, GameMsg msg) { }
012006d9b5332d315b7eb7d3f80226861832e18e
2a02d8873c8825eb3fef2b352fcda238961831c9
/kattis/gridmst.cpp
90a46c1196669e05c8dc6108f7a8d171f418873a
[]
no_license
Stypox/olympiad-exercises
eb42b93a10ae566318317dfa3daaa65b7939621b
70c6e83a6774918ade532855e818b4822d5b367b
refs/heads/master
2023-04-13T22:30:55.122026
2023-04-10T15:09:17
2023-04-10T15:09:17
168,403,900
4
0
null
null
null
null
UTF-8
C++
false
false
1,578
cpp
gridmst.cpp
#include <bits/stdc++.h> using namespace std; struct Point{ int16_t x,y; int par=-1; }; struct Con{ int i,j,d; bool operator<(const Con& o){ return d<o.d; } }; int main(){ int N; cin>>N; vector<vector<int>> grid(1000, vector<int>(1000,-1)); vector<Point> points; queue<pair<int,int>> q; for(int n=0;n<N;...
e864c09377507718f08da3dc2540a0fd265bf858
2b3b5203233ebb11ccbf3c9830de9e26cc2785ee
/XRay/xr_3da/xrGame/smart_cast.h
d66496f65f32ad283a3ddf3d59e9297421dc074c
[ "Apache-2.0" ]
permissive
OLR-xray/XRay-NEW
b308aeefada0f0361706e8e57f23ebafc7fe3bc5
f6988c98b45a9ff4eefec9538c6dffadef170ed7
refs/heads/master
2021-01-24T19:12:44.173491
2016-02-17T21:42:31
2016-02-17T21:42:31
50,777,026
3
1
null
null
null
null
UTF-8
C++
false
false
12,500
h
smart_cast.h
//////////////////////////////////////////////////////////////////////////// // Module : smart_cast.h // Created : 17.09.2004 // Modified : 17.09.2004 // Author : Dmitriy Iassenev // Description : Smart dynamic cast //////////////////////////////////////////////////////////////////////////// #ifndef SMART_CAST_H...
060419abc9a107a8933cc6df580cd14cd58cc35d
d40da1602ab21febe8ac4367ce36a47954f343a6
/recipemanager.cpp
29d802c10af18b187aeedf19103a413d905987cf
[ "Apache-2.0" ]
permissive
Hepibear/ksiazkakucharskacpp
d331262bdf0546c57b83cac6bb154cf407f7cf4d
8a6c949e95ca996cc3d04157bf4aa6e05c39d025
refs/heads/master
2020-03-18T17:32:53.102330
2018-05-27T10:08:14
2018-05-27T10:08:14
135,034,812
0
0
null
null
null
null
UTF-8
C++
false
false
2,732
cpp
recipemanager.cpp
#include "recipemanager.h" QVector<Recipe> RecipeManager::getRecipes() const { return m_recipes; } RecipeManager::RecipeManager() { this->loadRecipesFromDatabase(); } void RecipeManager::loadRecipesFromDatabase() { QResource common(":/database/database.txt"); QFile commonFile(common....
dd9c0a1f8ff4718c79ddccc77e9844e58bb021db
c547c4da323f293150978d399b41ed097344f850
/Games/PocketTris/PocketTris/Logic/Pieces/PieceCollisionSystem.cpp
72a1e183998861b3fc0070edb4abe23ce7027515
[]
no_license
Guanzhe/PocketEngine
48686a77714cf8e0c52c68896fc4db31e828efab
7728f6d8e520f54be5cd39023801286c78cce446
refs/heads/master
2021-09-18T06:32:28.031072
2017-12-29T20:50:22
2017-12-29T20:50:22
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,483
cpp
PieceCollisionSystem.cpp
// // PieceCollisionSystem.cpp // Tetris // // Created by Jeppe Nielsen on 4/5/14. // Copyright (c) 2014 Jeppe Nielsen. All rights reserved. // #include "PieceCollisionSystem.hpp" #include <vector> void PieceCollisionSystem::Initialize() { AddComponent<PointTransform>(); AddComponent<Piece>(); AddComp...
447cfd009185918c16307f2370b0a159e0613ea0
2de9fc07794686798ab7c11fddab2bb1ed852f92
/graphicPatternClass.cpp
60582b6c0cd7bdbc2f30f8786b2f0fbc01a7c8c6
[]
no_license
Takagi-Waluigi/Sound-Graphics
1e999a3bdd457df7e13d2153d2652eadcb39f4f5
83a74a705377b6e9ca355b21ef5fa46c0e7279cd
refs/heads/master
2022-12-19T08:31:25.773311
2020-09-28T02:10:43
2020-09-28T02:10:43
299,159,318
0
0
null
null
null
null
UTF-8
C++
false
false
16,349
cpp
graphicPatternClass.cpp
// Created by 高木健太 on 2020/08/17. // #include "graphicPatternClass.hpp" //-------------------------------------------------------------- void GraphicsPattern::init_shapeGrid(int beginPos){ B_posZ = beginPos; } void GraphicsPattern::draw_shapeGrid(int n, float speed, float size){ float radius = ofMap(B_posZ,...
69f0688431e2efc5a45f64ccb63d0050e65d13b8
5d6f3330bc5699134eacaf46267feab9708ddb19
/webrtc-jni/src/main/cpp/include/media/video/VideoDeviceManager.h
95d92adbf347256cdc2d6fe61023cfc8cc5b7a61
[ "BSD-3-Clause", "DOC", "LicenseRef-scancode-html5", "Apache-2.0" ]
permissive
devopvoid/webrtc-java
ca0549864591e000a63ed95055646ed54264426c
682a40187f653613eefb0a51ac4337781ce15ff6
refs/heads/master
2023-05-02T11:06:46.538322
2023-01-16T17:04:54
2023-01-16T17:04:54
224,890,850
203
56
Apache-2.0
2023-01-01T20:41:51
2019-11-29T16:41:25
C++
UTF-8
C++
false
false
1,656
h
VideoDeviceManager.h
/* * Copyright 2019 Alex Andres * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
35db8ec55bb0e763e9c6c56d21a5db873444c3d9
0c0a9f99c6431206e5fcbf6f9fd44b7abfad296c
/tools-dl-cv/useful_examples/code/ssd_call.cpp
57235fd8990d6da4c0c0b14c35854e241a71c155
[ "MIT" ]
permissive
magic428/work_note
05c61f7912c43da1ddba42f36961ab23da46b476
d1ca27e86eaf35ab1812e1b607bc127268ded49e
refs/heads/master
2020-09-03T09:16:38.413938
2020-03-31T02:50:22
2020-03-31T02:50:22
98,979,753
6
4
null
null
null
null
UTF-8
C++
false
false
9,330
cpp
ssd_call.cpp
#include <fstream> #include <iostream> #include <cv.h> #include <highgui.h> #include <classification.h> using namespace cv; using namespace std; #define HAS_VIDEO struct DetectObjectInfo{ float xmin, ymin, xmax, ymax; float score; int label; const Rect rect() const{ return Rect(xmin, ymin...
5b0c5d837c74bf7fbb131616f91e6becb9f33802
877fff5bb313ccd23d1d01bf23b1e1f2b13bb85a
/app/src/main/cpp/dir7941/dir29315/dir34534/file34597.cpp
cfa91abd44d6af1d2f0f1182702e7733c326402e
[]
no_license
tgeng/HugeProject
829c3bdfb7cbaf57727c41263212d4a67e3eb93d
4488d3b765e8827636ce5e878baacdf388710ef2
refs/heads/master
2022-08-21T16:58:54.161627
2020-05-28T01:54:03
2020-05-28T01:54:03
267,468,475
0
0
null
null
null
null
UTF-8
C++
false
false
115
cpp
file34597.cpp
#ifndef file34597 #error "macro file34597 must be defined" #endif static const char* file34597String = "file34597";
22784e7e1eddc6efd8cdacc2a45d86cc13a36520
1b5881e83c213d1e61e9b424714993c8b7cbb18f
/Arrays/q3.cpp
cf2df1e6a4d20e902e05600048e7c2054c885432
[]
no_license
srajan-code-heaven/coding_interview_preparation
228c8e0029938835e529ad73ee774fa1ae1a80f0
afffc3757026c09651801da05ea17f3c0b41a673
refs/heads/master
2021-07-20T17:52:45.947272
2021-06-20T06:41:36
2021-06-20T06:41:36
240,834,614
0
0
null
null
null
null
UTF-8
C++
false
false
476
cpp
q3.cpp
//Find the Number Occurring Odd Number of Times #include <bits/stdc++.h> using namespace std; void getOddOccurrence(int A[],int arr_size) { unordered_map<int,int> m; int maj; for(int i=0;i<arr_size;i++) { m[A[i]]++; } for(auto i:m) { if(i.second%2!=0) { cout<<i.first<<" "; ...
1d76498236f3263bb337d6b17b72be3d2a7ddf4c
2962f164cecb440ecd905ab9f3cc569c03a01ad5
/RtspPlayer/assemblies/sunell/include/FisheyeVideoLayout.h
835b906340c30c8af2d3da15269afa063afeccd5
[]
no_license
paxan222/hello-world
5ef9bd04a5c4337c1403a04973e2c0c11665bb26
c55c60e0f72a04e1e2560dc19c2a6bbd7e8b430f
refs/heads/master
2020-12-11T21:09:30.200433
2017-05-04T08:39:53
2017-05-04T08:39:53
55,044,669
0
1
null
null
null
null
GB18030
C++
false
false
2,443
h
FisheyeVideoLayout.h
#ifndef _FISHEYE_VIDEO_LAYOUT_H_ #define _FISHEYE_VIDEO_LAYOUT_H_ #include "SNPlatOS.h" #include "VideoRect.h" #include <vector> using namespace std; /**********************************************************************/ //此处用于控制文件编译字节对齐,拷贝时两行注释间内容需一起拷贝, //结束处的“#ifdef PRAGMA_PACK”部分也要一起拷贝,否则pragma pack入栈出栈不匹配 #if(P...
c06976bc438960ba4eb30ce3f1b4462dc4030217
f041d395412a30685217e7a5687d1bbbb02ff7bc
/include/GameEntity.h
605d9a49640f394008b1d647a92feb260e99bb78
[]
no_license
AndrzejTM/atm_core_gry_armaty4
9e956eb576cf29c456644cb237287ff1201c19f6
a29d9897b2840051e6dc4384bca6b8b348396693
refs/heads/master
2020-04-01T06:16:15.462224
2018-10-14T04:56:11
2018-10-14T04:56:11
152,940,332
0
0
null
null
null
null
UTF-8
C++
false
false
552
h
GameEntity.h
#ifndef OBIEKTGRY_H #define OBIEKTGRY_H #include <SFML/Graphics.hpp> class GameEntity : public sf::Drawable { public: GameEntity(); GameEntity(float x, float y); virtual ~GameEntity(); sf::RectangleShape shape; sf::RectangleShape pocisk; sf::Vertex line[2]; ...
910584b5d9859b6da27383fba98e1b3206472bd7
3588147092dbbc182cfcdea1b0b86875489e39b6
/cpp_base/derived/Cover.cpp
68330278efb87634e6283d6ad87a49c7d6ceba6e
[]
no_license
hisan/cpp_study
74ca7632ff604fd8b171bad644998b1f76c45a9a
4cc1af6b0c42d46e9223ddf714c5b6b4defc65a6
refs/heads/master
2023-04-06T09:54:45.835682
2021-04-19T16:06:43
2021-04-19T16:06:43
356,827,591
0
0
null
null
null
null
UTF-8
C++
false
false
643
cpp
Cover.cpp
#include <iostream> using namespace std; class Base { public: void func(); void func(int); }; void Base::func(){cout<<"Base::func()"<<endl;} void Base::func(int a){cout<<"Base::func(int)"<<endl;} class Derived:public Base { public: void func(); void func(bool); }; void Derived::func(){cout...
2cc78e4ab00a471c0d9bbd3b3ecffe45d4ee3e21
d327e106285776f28ef1d6c8a7f561b7f05763a6
/SDL_EngineProject/以前的代码/PvZ1.0/Classses/BackgroundLayer.cpp
8b86888cafc6d87d00075b270fd32715199bad46
[]
no_license
sky94520/old-code
a4bb7b6826906ffa02f57151af2dc21471cf2106
6b37cc7a9338d283a330b4afae2c7fbd8aa63683
refs/heads/master
2020-05-03T12:37:48.443045
2019-07-23T00:38:16
2019-07-23T00:38:16
178,631,201
0
0
null
null
null
null
GB18030
C++
false
false
1,690
cpp
BackgroundLayer.cpp
#include "BackgroundLayer.h" #include "Lawn.h" #include "MainLua.h" BackgroundLayer::BackgroundLayer() :m_pBG(nullptr),m_startPos(256,80),m_size(80,100) ,m_bDay(true),m_skillCD(0.f),m_elapsed(0.f) ,m_zombiePath("") { //初始化 for(int i=0;i<5;i++) for(int j=0;j<9;j++) m_pCarriers[i][j] = nullptr; } BackgroundLaye...
deebb7508c6a5b0883c576f1e60099d5dc01f5bf
6d088ec295b33db11e378212d42d40d5a190c54c
/core/vgl/vgl_polygon_test.h
f96403e50455603cf21f7d5dfa448ab15a8da224
[]
no_license
vxl/vxl
29dffd5011f21a67e14c1bcbd5388fdbbc101b29
594ebed3d5fb6d0930d5758630113e044fee00bc
refs/heads/master
2023-08-31T03:56:24.286486
2023-08-29T17:53:12
2023-08-29T17:53:12
9,819,799
224
126
null
2023-09-14T15:52:32
2013-05-02T18:32:27
C++
UTF-8
C++
false
false
556
h
vgl_polygon_test.h
// This is core/vgl/vgl_polygon_test.h #ifndef vgl_polygon_test_h_ #define vgl_polygon_test_h_ //: // \file // \author fsm // \verbatim // Modifications // Nov.2003 - Peter Vanroose - made function templated // \endverbatim //: return true iff (x, y) is inside (or on boundary of) the given n-gon. // \relatesalso vg...
209a1621a88992bf3f420d10db464a7e8e06118c
8d953b8783bc94e835b092c72370ff7f4ead90dc
/Source/Gunslinger/Public/Abilities/Shared/GA_RangedAttack.h
9eb0106bfac75834da1809354b8f7c20438c0671
[]
no_license
mvoitkevics/Gunslinger
c9c906f56f4be15e94d05aac87b75baea4a899a2
e7ed0a8458416df0fdf87cd6a3af5b0b6decebe6
refs/heads/master
2023-06-01T03:18:42.895253
2021-06-28T10:43:52
2021-06-28T10:43:52
237,199,313
0
0
null
null
null
null
UTF-8
C++
false
false
1,284
h
GA_RangedAttack.h
// Fill out your copyright notice in the Description page of Project Settings. #pragma once #include "CoreMinimal.h" #include "Abilities/GunslingerGameplayAbility.h" #include "GA_RangedAttack.generated.h" class AGunslingerProjectile; /** * */ UCLASS() class GUNSLINGER_API UGA_RangedAttack : public UGunslingerGam...
224ec44e756ac1c6d83f7544e6494a3d8c37ccb9
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_2645486_1/C++/chinoxyz/p2.cc
b089e2fb5561fdf13fad513ea22fb0b68c97aa9e
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
C++
false
false
1,407
cc
p2.cc
#include <cstdio> #include <vector> #include <cstring> #include <map> #include <cmath> #include <iostream> #include <queue> #include <stack> #include <set> #include <algorithm> using namespace std; class par{ public: int i; int val; bool operator<(const par &s) const { return (val < s.val); } }; int T; i...
a06792f315bec9b77b4d475229dd42dd76546e3c
7f3c42a1ce46c7794fa2ac0a0e817f209b85e6a1
/source/SnakeFood.cpp
5b89831b370b4c83c57e03a8205b1a51741efa69
[]
no_license
Natador/2playerSocketSnake
884fc908626fb0dcdacc5ff4f17a0bf0dfe0fd12
586f4002a25ec3badafb33280b91a912791646ee
refs/heads/master
2020-07-22T00:55:30.342653
2019-09-07T20:38:23
2019-09-07T20:38:23
207,022,880
0
0
null
null
null
null
UTF-8
C++
false
false
663
cpp
SnakeFood.cpp
/* * Implementation file for the SnakeFood class, which encodes the position * of the food for the snakes. */ #include "include/SnakeFood.h" // Default constructor SnakeFood::SnakeFood() { randPos(); } // Destructor SnakeFood::~SnakeFood() { } // Parameterized constructor with X/Y position SnakeFood::SnakeFoo...
f4a71fa82728976d00fc8f87a55bcdc57bec1cde
7debf6adedcfc1d828321ccd62861ce5d679d70d
/include/tracker/Tracker.cpp
5d2012ab1737288e20b420a88388fd1baa173596
[]
no_license
GSO-soslab/online_photometric_calib
85a8f620dd6c0059097da97fdb16d09e45ef1638
d00da3a9140b1c8190424bc6448d50e5b9e6c673
refs/heads/main
2023-06-28T15:48:45.028119
2021-07-30T18:50:41
2021-07-30T18:50:41
391,116,351
4
0
null
null
null
null
UTF-8
C++
false
false
21,841
cpp
Tracker.cpp
// // Tracker.cpp // OnlinePhotometricCalibration // // Created by Paul on 16.11.17. // Copyright (c) 2017-2018 Paul Bergmann and co-authors. All rights reserved. // // See LICENSE.txt // #include "Tracker.h" Tracker::Tracker(int patch_size,int nr_active_features,int nr_pyramid_levels,Database* database) : f...
c9aff538ee3b006ba998bfdaa8464c83ab29c445
1860676a456a34a491b4583f938dcbcb36bc3cc1
/포폴발표/1주차/포폴프로젝트/Dx3D/cSkinnedMesh.h
14ecc60be22443caeaa9908249437aecafb5480c
[]
no_license
alstn191919/Ariya
e39b4d1c4a0a564fcb07a4042e2a0f5e347a7f18
173dfe65e97e2db0f327d3aa0ef071cb4595f620
refs/heads/master
2020-03-19T17:05:07.306850
2017-01-05T02:30:58
2017-01-05T02:31:05
75,247,759
0
0
null
null
null
null
UHC
C++
false
false
1,265
h
cSkinnedMesh.h
#pragma once struct ST_BONE; class cSkinnedMesh { friend class cSkinnedMeshManager; private: //하나만 생성 ST_BONE* m_pRootFrame; DWORD m_dwWorkingPaletteSize; D3DXMATRIX* m_pmWorkingPalette; LPD3DXEFFECT m_pEffect; ST_SPHERE m_stBoundingSphere; // 객체마다 생성 LPD3DXANIMATIONCONTROLLER m_pAnimC...
80365ae8e7c5de25b046eaec415f670512dc0c3b
2b93656c33dac0e3f531ca40d6e2afd12dbca291
/src/key.hpp
65c14d8500b57569abb4164d828b22cf968aecd7
[ "MIT" ]
permissive
andmatand/kitty-town
33c8778e135591957b27968dd27997010f168965
0eb03c7d1421aa1bd33a48bf59f5e6eae8501e67
refs/heads/master
2020-05-27T06:26:41.668561
2013-10-08T05:30:29
2013-10-08T05:30:29
null
0
0
null
null
null
null
UTF-8
C++
false
false
136
hpp
key.hpp
#ifndef KEY_HPP #define KEY_HPP enum KEY { KEY_UP = 0, KEY_RIGHT = 1, KEY_DOWN = 2, KEY_LEFT = 3 }; #endif // KEY_HPP
786c60508abc26afadefba151513db2f5d6245af
1bf6e620ec39d17a0faeeb04280448b8ec5b18ec
/Array/array and pointer/1.cpp
57e1f9d85e1a6264691906946708ee7e276881d5
[]
no_license
irfaniskandar-23/Programming-Technique
5dee21558211037934bbd32d04aafffcd960c386
3de3b207b29ea53867462f31deb5ad56ea108417
refs/heads/main
2023-03-07T18:19:03.219006
2021-02-25T18:47:12
2021-02-25T18:47:12
null
0
0
null
null
null
null
UTF-8
C++
false
false
214
cpp
1.cpp
#include<iostream> using namespace std; main() { int array[5]={10,20,30,40,50}; int *ptr; ptr=&array[0]; for(int i=0;i<5;i++) { cout<<"the adress of "<<*(ptr+i)<<" is "<<(ptr+i)<<endl; } }
d17add66cf2b3d1be3a413d8d42d78e6a6d376e6
b995409896ccacc465e6000f0dc60e2b42f3ecef
/test/parser_test.cpp
ec86340bd33a4b9478c29b23548b31ebe1838eb0
[ "MIT" ]
permissive
rvaser/bioparser
6a7201451f048966a6a6c34611100508678f187e
4fa7126293d2a0eb90125b58fb704f0eed33ffe0
refs/heads/master
2023-05-26T01:04:07.651476
2023-05-12T15:05:47
2023-05-18T10:03:19
61,360,327
11
8
MIT
2023-05-18T10:09:39
2016-06-17T08:59:17
C++
UTF-8
C++
false
false
528
cpp
parser_test.cpp
// Copyright (c) 2020 Robert Vaser #include "bioparser/parser.hpp" #include "biosoup/sequence.hpp" #include "gtest/gtest.h" #include "bioparser/fasta_parser.hpp" namespace bioparser { namespace test { TEST(BioparserParserTest, Create) { try { auto p = Parser<biosoup::Sequence>::Create<FastaParser>(""); } c...
3081e091881878415792eedba72c73608e2b3693
994f96151fb4b38330990f4284bb217262dbb18e
/Chess_45603/Piece.h
921fabe66af418209762091fbe610659f55b1c50
[]
no_license
Todor-Shishmanov/Chess
b3653fa680e778fcee6bbd13a835fae42d62250a
12d6e1b95a37937968f389bab3207ca663ce2bfc
refs/heads/master
2021-03-24T01:34:19.798500
2020-03-15T16:21:38
2020-03-15T16:21:38
247,502,194
0
0
null
null
null
null
UTF-8
C++
false
false
2,034
h
Piece.h
#include "PieceBasic.h" class Pawn: public PieceBasic{ private: bool first_turn = 1; public: Pawn(char new_letter, int new_number, int Board[8][8]) { set_place(new_letter, new_number); Board[8 - (new_number)][new_letter - 'a'] = 1; } int symbol(); void set_first_turn(); bool get_first_turn(); void move(ch...
20fdf467db47d219a91296346bcb7d0effff0edd
ec00df8410c9c8894f5127a4019be28c3c732542
/LightChaserAnim/katana_source_code/plugin_apis/include/FnDefaultAttributeProducer/plugin/FnDefaultAttributeProducerUtil.h
7aeb3fcfa4b133026015051535a8c6afdca4e377
[]
no_license
tws0002/aWorkingSource
580964ef39a7e5106d75136cfcd23814deecf0fd
188c081d261c11faa11766be41def34b7e01ee5e
refs/heads/master
2021-05-11T18:23:19.427869
2018-01-03T03:17:57
2018-01-03T03:17:57
117,823,716
1
0
null
2018-01-17T10:51:59
2018-01-17T10:51:59
null
UTF-8
C++
false
false
2,803
h
FnDefaultAttributeProducerUtil.h
#ifndef INCLUDED_FNDEFAULTATTRIBUTEPRODUCERUTIL_H #define INCLUDED_FNDEFAULTATTRIBUTEPRODUCERUTIL_H #include <FnAttribute/FnAttribute.h> #include <FnAttribute/FnGroupBuilder.h> #include "ns.h" FNDEFAULTATTRIBUTEPRODUCER_NAMESPACE_ENTER { namespace DapUtil { void SetAttrHints( FnAttribute::GroupBuild...
0aea3822a841441a23ec0fab531e160228b02e36
c3ce361d66cca3c61047ed368e8c98cdec44e228
/Group_of_Figures/Figure.cpp
42a2f1093f09c3e83c911a2a7cdd10d220c1a51e
[]
no_license
kamil-s-kaczor/Group_of_Figures
8e56e00f10d34ba8b9456d88699e5f3f567b097d
9b84dc631944c1684191efee32b5685efd95af5f
refs/heads/master
2022-12-03T03:54:03.731295
2020-08-25T08:18:22
2020-08-25T08:18:22
290,150,981
0
0
null
null
null
null
UTF-8
C++
false
false
733
cpp
Figure.cpp
#include "pch.h" #include "Figure.h" class Circle; class Rectangle; class Triangle; Point::Point(float const& x, float const& y) { this->x = x; this->y = y; } Point Point::set_values(float x, float y) { this->x = x; this->y = y; return Point(); } Point Point::operator=(Point const& a) { ...
bed9d69a742d798ac7929ecff34db4ce11d69e99
b80b980eb7730cbfa7ebfe0220cb86a69cac51e6
/apps/my_app.h
695a1660fa40b1fef6c8a1d8b3640603a9fdb78f
[ "MIT" ]
permissive
CS126SP20/final-project-meghasg2
eee7a1f74377e1967e47cdbb20e1d7ba047185c9
aad841877542c0fc6e51a1deeed55b8b96881844
refs/heads/master
2022-07-19T15:44:42.583036
2020-05-07T04:28:46
2020-05-07T04:28:46
256,848,973
0
0
null
null
null
null
UTF-8
C++
false
false
1,696
h
my_app.h
// Copyright (c) 2020 CS126SP20. All rights reserved. #ifndef FINALPROJECT_APPS_MYAPP_H_ #define FINALPROJECT_APPS_MYAPP_H_ #include <Box2D/Box2D.h> #include <cinder/audio/Voice.h> #include "Conversions.h" #include "ParticleController.h" #include "cinder/app/App.h" #include "cinder/gl/gl.h" namespace myapp { class...
7fb405130530f22959d074bb191b2766b8509a8e
7d5ab12afa98390e714faa9cfd8c6bfe0ab505f8
/src/CppUtil/Engine/Filter/FilterSinc.cpp
6658f81d4f3380e2d26662163cdbedfa6eaad509
[ "MIT" ]
permissive
huangx916/RenderLab
6199b0a4bc44cbae5b28291f999484eedec7de87
a0059705d5694146bbe51442e0cabdcbcd750fe7
refs/heads/master
2020-07-21T21:46:31.215327
2019-09-07T09:47:02
2019-09-07T09:47:02
206,981,200
1
0
MIT
2019-09-07T14:40:54
2019-09-07T14:40:54
null
UTF-8
C++
false
false
330
cpp
FilterSinc.cpp
#include <CppUtil/Engine/FilterSinc.h> using namespace CppUtil; using namespace CppUtil::Basic; using namespace CppUtil::Engine; float FilterSinc::WindowSinc(float x, float radius) const { x = std::abs(x); if (x > radius) return 0; const auto lanczos = Basic::Math::Sinc(x / tau); return Basic::Math::Sinc(x) * l...
0e408ee7d7557b978a9e318d37d5d17f80d05460
60fdc45761aac91af97028e2861e709d9dbbe2cd
/kscope-binary-only-works-on-lucid/include/dnssd/domainbrowser.h
825422d8e80fbbe4e78fa73de174b05be857116a
[]
no_license
fredollinger/kscope
f3636cd4809f6be8e22cb8b20fc68d14740d9292
8bd0f6d1f5ec49e130ee86292b1e6b6cfe3b0f4d
refs/heads/master
2021-01-01T19:56:55.106226
2010-09-29T20:17:22
2010-09-29T20:17:22
948,786
3
0
null
null
null
null
UTF-8
C++
false
false
2,737
h
domainbrowser.h
/* This file is part of the KDE project * * Copyright (C) 2004 Jakub Stachowski <qbast@go2.pl> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the License,...
289e8e34d8ee87edaacbe746519da9def4b17b60
05f9d65f9e2063ab4250e5671e6a9a7466601d5b
/Sudoku_Solver.cpp
e941890d882c725ab24a6dc1a9dfd902deb75805
[]
no_license
kalrapradeep/Competitive-Programming
a23b1703dc43c4d65ab6326f7bddb4c115fc6693
d4f59370f5163e56463f8de299a1cc522791446f
refs/heads/master
2023-02-22T00:37:12.179820
2021-01-20T18:35:26
2021-01-20T18:35:26
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,908
cpp
Sudoku_Solver.cpp
class Solution { public: unordered_map<int,unordered_map<char,int>> mp1; unordered_map<int,unordered_map<char,int>> mp2; unordered_map<int,unordered_map<char,int>> mp3; vector<vector<char>> res; int indexBoard(int r,int c) { if(r/3==0) { return c/3; } ...