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
869a2b3e6a5a7b40363901976f740272fa01c4f2
23d867b5ea84823bc070e9b1c6cfff00d8eadea7
/source/ConsoleBuffer.cpp
2247f15c587bf44c2c1e8affd3c1b616a2caa994
[ "BSD-2-Clause" ]
permissive
samizzo/hexed
e95862caef781236f76ed7506631e0b223c5a524
a92a696fd8ce4cf9636219b2e8c1e56727715363
refs/heads/master
2023-04-28T08:12:24.741129
2023-04-22T13:36:25
2023-04-22T13:36:25
96,723,641
182
31
BSD-2-Clause
2018-08-24T12:43:02
2017-07-10T01:31:52
C++
UTF-8
C++
false
false
6,113
cpp
ConsoleBuffer.cpp
#include "ConsoleBuffer.h" #include "Colours.h" #include <assert.h> #include <stdio.h> #include <malloc.h> ConsoleBuffer::ConsoleBuffer(HANDLE stdoutHandle) { m_stdoutHandle = stdoutHandle; m_width = 0; m_height = 0; m_buffer = 0; m_backBuffer = 0; } ConsoleBuffer::~ConsoleBuffer() { delete[] ...
fb358a987e5037912f8f8a13d4b31fb31c66a503
737ea06f67f9624cc3c51b3c72ca01441e52c364
/examples/polish-notation.cpp
c6d5e99b6b4a6a158a885ef3f0542d352dd68f1e
[ "BSL-1.0" ]
permissive
libjv/TreeAlgorithms
16e72c69b9220f48507167b63fe4b248461e52c7
a0bab16c8021b6701b1a59e9361d34833f67e44b
refs/heads/master
2022-12-04T02:32:38.488987
2020-08-01T14:27:34
2020-08-01T14:27:34
276,624,554
0
0
null
null
null
null
UTF-8
C++
false
false
4,300
cpp
polish-notation.cpp
#include <jv/tree-algorithms.hpp> #include <algorithm> #include <cassert> #include <charconv> #include <cmath> #include <iostream> #include <memory> #include <stdexcept> #include <string_view> std::vector<std::string_view> split_tokens(std::string_view str) { std::vector<std::string_view> result; while (true)...
5504aa90e3b8e6ee1ab7abb896444b17f1916642
a3d6556180e74af7b555f8d47d3fea55b94bcbda
/chrome/chrome_cleaner/test/scoped_file.cc
337b3705e323f0210bc1e05a2430bfacc5fbac93
[ "BSD-3-Clause" ]
permissive
chromium/chromium
aaa9eda10115b50b0616d2f1aed5ef35d1d779d6
a401d6cf4f7bf0e2d2e964c512ebb923c3d8832c
refs/heads/main
2023-08-24T00:35:12.585945
2023-08-23T22:01:11
2023-08-23T22:01:11
120,360,765
17,408
7,102
BSD-3-Clause
2023-09-10T23:44:27
2018-02-05T20:55:32
null
UTF-8
C++
false
false
1,139
cc
scoped_file.cc
// Copyright 2018 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/chrome_cleaner/test/scoped_file.h" #include <string> #include "base/base_paths_win.h" #include "base/check_op.h" #include "base/files/file_util.h" #include "...
91e9940184c99b8dd0f42d89bb7054685136035d
77bbbc25fa71d0aba7f0d0dee2e3d35631eba0d1
/src/vec3.h
1a2c5e96d98953723153105835b742b79fd230d1
[ "MIT" ]
permissive
masonium/twinkle
238ef2880cc85c3119c143fda7e5263b0a1402e9
853ae84ebd1fd8dcd3dda47eb3fb1c2cf0b8f0c6
refs/heads/master
2016-09-06T09:31:52.300227
2016-02-08T05:49:23
2016-02-08T05:49:23
35,869,172
2
0
null
null
null
null
UTF-8
C++
false
false
2,456
h
vec3.h
#pragma once #include "vector.h" #include <memory> #include <cmath> using std::pair; class Mat33; class Vec3 : public VectorT3<Vec3> { public: Vec3() : VectorT3<Vec3>() { } explicit Vec3(scalar s) : VectorT3<Vec3>(s) { } Vec3(scalar x, scalar y, scalar z) : VectorT3<Vec3>(x, y, z) { } Vec3(VectorT3<Vec3>& ...
f53e7bfdc1c70bbe3e86c9bccd2cad4b64289bfc
416108a9e20635b36f8e82de4ea3aaed00d9a3e7
/advent-2019/01.cpp
0939baf491ce8614339b8ead88d1c4243467085e
[]
no_license
annoviko/sandbox
b2cfb11ce24bb477a188e1cc5f71a92835ff1b91
bc9d89f4b37984ffa052a252639e6535fb88a308
refs/heads/master
2023-08-30T23:43:12.940520
2023-08-19T11:20:10
2023-08-19T11:20:10
72,368,789
6
0
null
null
null
null
UTF-8
C++
false
false
737
cpp
01.cpp
#include <fstream> #include <iostream> #include <list> #include <cstdint> std::list<std::int64_t> read_values() { std::list<std::int64_t> result; std::ifstream infile("input.txt"); std::int64_t value; while (infile >> value) { result.push_back(value); } infile.close(); ...
4bb534b5369a117ad52dabf04efa7fe05d9ea451
027ba1e389d45e253dce892220555d6f9826f0cd
/packages/ipnoise-pipe/pipe-rc/src/api/commands/init.cpp
443fd63bd102c949c6b33532d0c65f2cfac7c453
[]
no_license
m0r1k/IPNoise
1f371ed6a7cd6ba5637edbbe8718190d7f514827
dbab828d48aa1ab626fd528e71b1c28e3702be09
refs/heads/master
2021-01-02T23:09:51.193762
2018-02-04T11:23:27
2018-02-04T11:23:27
99,478,087
1
4
null
null
null
null
UTF-8
C++
false
false
354
cpp
init.cpp
#include "api.hpp" #include "init.hpp" ApiCommandInit::ApiCommandInit( Api *a_api) : ApiCommand(a_api, "init") { } ApiCommandInit::~ApiCommandInit() { } void ApiCommandInit::process( const ApiCommandArgs &a_args) { QString cmd; cmd += cmdStart(a_args, "flags=\"init\""); cmd += cmdEnd(a_arg...
e800fd75676e175094c18c26339ec246e341e92c
1608247b1118a71bb9260b12ea03bf23bff40d65
/Server/my_pokemon.cpp
79c9dbf2996d6c63974fd41f69eedb002f947658
[]
no_license
lioran19/Pokemon
d3f5b9e436fb8fe3811db4c337fa19793665843d
3fd30127243ebdc9304aa0126defb33b85f1bc24
refs/heads/master
2021-10-09T23:45:57.612241
2019-01-04T16:36:47
2019-01-04T16:36:47
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,670
cpp
my_pokemon.cpp
#include "my_pokemon.h" my_pokemon::my_pokemon() { } my_pokemon::my_pokemon(my_pokemon &sample) { num = sample.num; id = sample.id; name = sample.name; level = sample.level; exp = sample.exp; hp = sample.hp; power = sample.power; defence = sample.defence; attack_...
f4972a4a1f0d8900af520b88600955218967834a
a5715c220f339415004eacd218ad8a232d239147
/Zajecia01/Zaj01_dodatkowe zadania/Zaj01/zad1.cpp
c1487d3de0ba1258427d2285f0fa30000c01fd9e
[]
no_license
Misiek29/Grafika
f90bd9f0697ca3b59f8ebde986d41637f5c67874
9f60adebdcb8782b672d28680691b719fd42b954
refs/heads/master
2021-01-21T17:23:18.381781
2017-04-20T18:32:48
2017-04-20T18:32:48
85,240,417
0
0
null
null
null
null
WINDOWS-1250
C++
false
false
681
cpp
zad1.cpp
#ifdef __APPLE__ #include <GLUT/glut.h> #else #include <GL/glut.h> #endif // Funkcja wywoływana w celu narysowania sceny void RenderScene(void) { // Wyczyszczenie okna aktualnym kolorem czyszczącym glClear(GL_COLOR_BUFFER_BIT); /// Przekazanie polecenia czyszczenia do wykonania glFlush(); } // Ustalenie stanu r...
0e3c5945382ad45b727b0500289d2b3adc82d0f3
92548377fb4a91af7cc56570242aa3168cc6c9c6
/Algospot/CHRISTMAS.cpp
96644ec9ab627f663f4114172019c8e6d25f1e40
[]
no_license
LaLlorona/Algorithms
d993a05f5dbc22850d0f6a061a5f35ecff5f8af3
6d02a9552c22acefa58686e909bc8ae0479a6e4b
refs/heads/master
2023-05-24T17:37:14.993992
2023-05-17T05:33:14
2023-05-17T05:33:14
220,796,924
0
0
null
null
null
null
UTF-8
C++
false
false
2,209
cpp
CHRISTMAS.cpp
#include <iostream> #include <vector> #include <algorithm> #include <string.h> using namespace std; int num_box; int num_children; int dolls[100001], partialsum[100002]; void fillPartialSum() { partialsum[0] = 0; for (int i = 1; i < num_box + 1; i++) { partialsum[i] = (partialsum[i - 1] + dol...
ba6728bf4345ced72f27b1e45da00f6b6c2797b5
ac8399bf92a5c062876a019f4652e3e7b2cbd4ee
/1373countOneFromOneToN/main.cpp
65371c9b2affd019b9d6815b1d38a417f9c02b57
[]
no_license
LucasYang7/JobduOJ-InterviewQuestions
ecc792f4354e9625b8f2f95bdab6a44c38ffb263
3008c3e922d5b6e83b5c15eeb4c9d2466191bb40
refs/heads/master
2020-12-25T19:15:09.046520
2015-06-21T06:06:37
2015-06-21T06:06:37
37,798,693
1
0
null
null
null
null
UTF-8
C++
false
false
2,823
cpp
main.cpp
#include<stdio.h> /** * 统计区间[1,n]中1出现的次数 * @param n 输入的整数n * @return count 返回区间[1,n]中1出现的次数 */ long long countOneFromOneToN(int n) { long long count = 0; // 统计1 ~ n中1出现的次数 if(n < 1) return count; else { int tempN = n; // 用于保存处理过程中的n int lowBits = 0; // ...
a76baf13117b0bfa42c94361a950206b1ef9b85c
6702a19fb2dded0e8cfa09870b20d86259b085d2
/SDKs/NoesisGUI/Include/NsCore/CharConverter.h
e917772398a6d263df69f7414490c531dcf6945d
[]
no_license
whztt07/IceCrystal
e1096f31b1032170b04c1af64c89109b555b94d0
288e18d179d0968327e29791462834f1ce9134e6
refs/heads/master
2023-08-31T15:02:01.193081
2021-10-06T12:17:44
2021-10-06T12:17:44
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,146
h
CharConverter.h
//////////////////////////////////////////////////////////////////////////////////////////////////// // NoesisGUI - http://www.noesisengine.com // Copyright (c) 2013 Noesis Technologies S.L. All Rights Reserved. //////////////////////////////////////////////////////////////////////////////////////////////////// ...
24e87d6fa1d50f9c76265e93807d15f60dacff3c
df86b2ee7bd04af8f3cdd0a759060bf0ae2f4dd4
/NeoOnnx/src/NodeUtils.h
3f463c2636a03a5834330296ef5d01975dbddd94
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "NCSA", "MIT", "LicenseRef-scancode-protobuf", "LicenseRef-scancode-arm-llvm-sga", "Intel", "LLVM-exception" ]
permissive
azureopen/neoml
5cccfc4d315d7a56988ed6a2c2dc947750a8f3ec
2fb337396c8de6f9c1ac20fe1f76b05827229f2b
refs/heads/master
2023-02-16T12:37:13.849244
2021-01-14T10:33:16
2021-01-14T10:33:16
286,489,414
0
1
NOASSERTION
2020-11-05T11:34:35
2020-08-10T13:55:45
null
UTF-8
C++
false
false
1,575
h
NodeUtils.h
/* Copyright © 2017-2020 ABBYY Production LLC Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, ...
8e2a0c8dced97bca9a8468908247bcf482bc5f86
afe2f9f53a1e2bc0a48cd965dcddc3341c9e5c56
/Sources/CZ3/math/dd/dd_fdd.h
e17233aa40c09f923dd4a4265e06341742fb08d0
[ "MIT" ]
permissive
LuizZak/swift-z3
2b9e039148c44bf76c38f1468c96c3930dc7ed2c
5c5d85e2d9e6b727486d872fbd8e6fa8eceeaf72
refs/heads/master
2023-05-25T06:24:41.617541
2023-05-16T12:41:37
2023-05-16T12:41:37
238,067,756
8
4
MIT
2023-05-12T17:46:57
2020-02-03T21:41:37
C++
UTF-8
C++
false
false
3,531
h
dd_fdd.h
/*++ Copyright (c) 2021 Microsoft Corporation Module Name: dd_fdd Abstract: Finite domain abstraction for using BDDs as sets of integers, inspired by BuDDy's fdd module. Author: Jakob Rath 2021-04-20 Nikolaj Bjorner (nbjorner) 2021-04-20 --*/ #pragma once #include "math/dd/dd_bdd.h" #include "ut...
8d2ef31846ef91d34f698d980f3d3e8f78bc1707
37cabc06e7a1f39e086c4e797884dc4b54fe54f8
/noudar-rendering/GraphicNode.h
31d558c3578bde91901619a7a538dd0e9105266c
[ "BSD-2-Clause" ]
permissive
msgpo/dungeons-of-noudar
fb0da65c82516a2dce313e49b06d446a7cd2cc5e
40fe44c4a180d7daf3fe97eff4ddbfd2cd558c62
refs/heads/master
2021-10-16T10:53:07.510397
2019-02-10T20:06:06
2019-02-10T20:06:06
null
0
0
null
null
null
null
UTF-8
C++
false
false
589
h
GraphicNode.h
// // Created by monty on 15-03-2017. // #ifndef DUNGEONS_OF_NOUDAR_X11_GRAPHICNODE_H #define DUNGEONS_OF_NOUDAR_X11_GRAPHICNODE_H namespace odb { class GraphicNode { public: explicit GraphicNode(std::string aFrameId, glm::vec2 aRelativePosition, glm::vec2 aFinalPosition ); explicit GraphicNod...
39ea4c489aeff8c3edff242240981d2d24ffecae
ef4efdce45614455f697025b0e6c42f7b6aa6161
/BOJ2502_떡 먹는 호랑이/Ricecake_Tiger/Tiger.cpp
2c330c5974448f906ebb6c28c478c10340ac1934
[]
no_license
jungjai/Alogorithm
49a17524ede3d6e4188d393360df2b546742b9e2
f367bfb136fde6d3153960225b40ff5e3b81a4b1
refs/heads/master
2020-05-08T22:48:39.222867
2019-10-17T02:51:12
2019-10-17T02:51:12
180,970,321
1
0
null
null
null
null
UTF-8
C++
false
false
526
cpp
Tiger.cpp
#include<stdio.h> #pragma warning (disable : 4996) int main() { freopen("input.txt", "r", stdin); int pra = 1, prb = 0, a = 0, b = 1, tpa = 0, tpb = 0; int day, rice, checkA = 0, checkB = 0; scanf("%d %d", &day, &rice); for (int i = 3; i <= day; i++) { tpa = a; tpb = b; a += pra; b += prb; pra = tpa; p...
a5dac5da31f0c71b9a660984de40e6656b8888cc
24c263f2d5cb4f35e8d2757b0f2eb335c87c5bf4
/進階程式設計/HW4英文字母.cpp
c03e25a496eb4afaadb4d430608d0479a3ebf6f7
[]
no_license
smallweii/NCUE
e78b511486ec91a7f4357fcf4da98ef34ca95dea
4e276cc08a263e963a1ae44e7119c2f9598df84c
refs/heads/master
2021-05-17T03:12:28.452181
2020-03-28T13:19:11
2020-03-28T13:19:11
250,591,985
2
0
null
null
null
null
UTF-8
C++
false
false
873
cpp
HW4英文字母.cpp
#include <stdio.h> #include <stdlib.h> #include <string.h> int main() { char input1[50],input2[50],input3[50]; int num,n,i,sum=0; FILE *DataIn; DataIn=fopen("T4.txt","r"); if(DataIn!=NULL) { if((fscanf(DataIn,"%d",&num))==1) { while(fscanf(DataIn,"%s",input1)==1&&fs...
6a3d440bdfad5e390d3dceec605adfeff7a332cf
ed40a9344f0b3dfb4b1fbf506b011e66a2d694cc
/include/perfect/detail/turbo/linux_power.hpp
2caf2bff1ca5f8ddd727e6301f2ba6038cc1ca72
[]
no_license
abduld/perfect
74fa50dc78eea4ec26d0ad1cbc5aa09639d646a7
fabfecd30688f3f62bc861d06f257b9b1d49d025
refs/heads/master
2023-04-09T20:44:56.062989
2019-10-02T12:34:58
2019-10-02T12:34:58
499,846,900
0
0
null
2023-04-04T00:22:47
2022-06-04T14:18:16
null
UTF-8
C++
false
false
964
hpp
linux_power.hpp
#pragma once #include "perfect/result.hpp" #include "perfect/detail/fs.hpp" namespace perfect { namespace detail { bool has_acpi_cpufreq_boost() { return bool(std::ifstream("/sys/devices/system/cpu/cpufreq/boost")); } Result write_acpi_cpufreq_boost(const std::string &s) { assert(has_acpi_cpufreq_boost()); s...
39252f4394d7e77b6e5d377111e13d45a43cd93a
b3ad475382cd2962ad0073b664d55141950a87fe
/non_deduced_context.cpp
faa2e5ddacee9e3bb8cb795182a928f050774bcc
[ "MIT" ]
permissive
vsoftco/snippets
764edce0f82f9f03a52c4709921f3e3b27cfc078
467520e285f9c83024416f050a5357bf659f4860
refs/heads/main
2022-09-16T06:37:07.666403
2021-01-14T14:40:51
2021-01-14T14:40:51
34,310,463
15
3
null
null
null
null
UTF-8
C++
false
false
517
cpp
non_deduced_context.cpp
// Non-deduced context in templates template <typename T> struct non_deduced_context { using type = T; }; template <typename T> using non_deduced_context_t = typename non_deduced_context<T>::type; template <typename T> void f(T x) {} // can deduce the context template <typename T> void g(non_deduced_context_t<T...
39e9db06fe3a62861e644ac0a5327c0d8f9793a3
3565cc3249e37e061ccbad965d5dc19c09acfaa1
/src/color.cpp
b29c4c6cff89b86101a751a99383d739c764190e
[]
no_license
fried-ice/connect_four
d0e65d5e1bd859dc38ba05509660fbb0863797b0
724bef21f8d781416ec85e8822f6f143f1334143
refs/heads/master
2020-04-05T19:00:52.827855
2016-01-16T17:38:20
2016-01-16T17:38:20
43,495,504
0
0
null
null
null
null
UTF-8
C++
false
false
935
cpp
color.cpp
#include "color.h" Color::Color() { r = 0; g = 0; b = 0; } Color::Color(unsigned char newR, unsigned char newG, unsigned char newB, std::string* newToken) { r = newR; g = newG; b = newB; token = *newToken; } void Color::setColor(unsigned char newR, unsigned char newG, unsigned char newB)...
d888c148de0e9a4d7285bb7a67c94ad3721027ed
3845902292b2848e4df543741fef8e988b035284
/UserInterface.cpp
40df10539de4ad8ca83dd86f6dfa9ea99911af8c
[]
no_license
LauraDiosan-CS/lab8-11-polimorfism-DanTheStud
3add818cde287a042e38113794e0f120c6bcddaf
c3bdae043571a2ef5fe7476824c1680f7936343b
refs/heads/master
2022-09-15T21:55:49.746808
2020-05-21T15:56:24
2020-05-21T15:56:24
265,890,018
0
0
null
null
null
null
UTF-8
C++
false
false
10,006
cpp
UserInterface.cpp
#include <iostream> #include <fstream> #include "UserInterface.h" #include "Repository_CSV.h" #include "Repository_TXT.h" #include "ValidationException.h" #include "ReadFromFileException.h" #include "Exceptions.h" #include "Artist.h" #include "Film.h" #include "RepositoryException.h" #include "Util.h" voi...
c4666c6a778402dd6a4d96bcf8c3be30356d020b
264d7b318e20d0cb0c81cc4b67e44a622a9ede3b
/Device_2021_05_V3/Activity/Home.h
51c2aa81d210063be59cbb51ebb4442c257908ec
[]
no_license
ManhHung-Nguyen/SimulatedSecuritySystem
686739ff6b376020493ffb7cb464d3afc366f255
c3417568a7e730e8a92dcdad1f6b71fa5c2ab054
refs/heads/main
2023-06-04T00:09:36.725756
2021-06-25T04:15:04
2021-06-25T04:15:04
380,118,750
0
0
null
null
null
null
UTF-8
C++
false
false
619
h
Home.h
#pragma once #include "Mode.h" #include "Constants.h" #include "../System/Clock.h" class HomePage : public Mode { static PMODE* arms; int current_arm_index; int current_mode_index; bool unlocked; byte* zone_config; byte* input_config; protected: void go_home() override; void go_up() o...
e0e5e7bd5d579a50e52f5ef05b2c444de56440d2
eff140a5fde1756b374c94e670b3b95d7cc36d4b
/firmware/application/application.ino
a0e91e6a6cf7210ec88a0d393b7b7af32db1ff2f
[]
no_license
mogorman/bluemoon
bc4d07f6d1375e4aca2914561613a763ca2b67ea
d80cd601a11a146f761fb3b09b9897c9b8e932a1
refs/heads/master
2016-09-06T02:37:27.270088
2015-02-28T06:47:41
2015-02-28T06:47:41
28,713,206
1
0
null
null
null
null
UTF-8
C++
false
false
6,505
ino
application.ino
/* * * Battery discharge formula * equivalent_current_mA = (percent_monthly_discharge_rate / 100) * capacity_maH / (24 * 30) */ //#include <Wire.h> #include <RFduinoBLE.h> uint8_t sequence, sequence_check_code; uint8_t door_state, check_state; uint8_t lock[] = {0xbd, 0x04, 0x0c, 0xe7, 0x03, 0x13}; uint8_t...
f66bcab6d02034f37c9c74ba1ba8518ff9385e57
ce885991c5786b81b8a2fbb460e9c71a6d906ae2
/modules/hamsandwich/pdata.cpp
9a476de97ecb08422e777cb5516b2b433add3afa
[]
no_license
Nextra/amxmodx
952c7a4f25c87fcf622efd6b56bbafec1eb80c6f
c5f6e26802434370a0dd4f4752c376444a3f5abd
refs/heads/master
2021-01-17T20:17:06.679307
2015-05-10T15:12:50
2015-05-10T15:12:50
19,426,788
0
1
null
2015-03-09T16:46:24
2014-05-04T13:13:48
C
UTF-8
C++
false
false
3,906
cpp
pdata.cpp
// vim: set ts=4 sw=4 tw=99 noet: // // AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). // Copyright (C) The AMX Mod X Development Team. // // This software is licensed under the GNU General Public License, version 3 or higher. // Additional exceptions apply. For full license details, see LICENSE.txt or visit...
809b2f604351b45b86c478dd659064bcd8d04afb
077efd5b690b44507bd26bc85521ef7de7f98203
/RegionAreas.h
9b5e4a5b69f60c389c2320d29fdbc45afdcc7661
[]
no_license
maa2023/Mike_Projects
0d3126ea6be41c5ba4feed62ebbc7fecb7a5d9e5
69e46abd5267b1b652955b0cfdc62d72698d3c6d
refs/heads/master
2022-11-21T20:39:04.997982
2020-07-23T18:39:36
2020-07-23T18:39:36
282,025,201
0
0
null
null
null
null
UTF-8
C++
false
false
617
h
RegionAreas.h
#ifndef REGIONAREAS_H #define REGIONAREAS_H #include <iostream> #include <vector> #include "KeyValuePair.h" #include "InputHelper.h" #include "RegionArea.h" using namespace std; class RegionAreas { private: vector<RegionArea> areas; vector<vector <int> > adjacencyList; int listSize; public:...
710c27485abf3cf188305a62a1e43da3e4ba2e2f
5b251abbc46deb030e7d165e47b9cf4e3c3ae697
/SouthProject/GameObject.h
87fd81adcd8cd8726bb6418331b24116b13a0cbf
[]
no_license
drcxd/SouthProject
f212eef1eec83f03fab2e44bd844e11c5fa62a82
29e44c8d43b837f59f40f8af5a0253ea36f7c188
refs/heads/master
2021-01-12T03:07:48.496276
2020-09-16T18:21:52
2020-09-16T18:21:52
78,162,553
0
0
null
null
null
null
UTF-8
C++
false
false
397
h
GameObject.h
/* The virtual class which only provide a pattern. */ #ifndef __GameObject__ #define __GameObject__ #include <string> #include <SDL.h> #include "LoaderParams.h" class GameObject { public: virtual void draw(void) = 0; virtual void update(void) = 0; virtual void clean(void) = 0; protected: GameObject(const Load...
3116b2eaaf27595ccd8131d45b6c761e722e5ac8
0b853cec122cecdf398c9e46989b7654a296fcf8
/patrol/statement/kien.cpp
66eb4043377f5cd2b6ab5e47f058003ea98974cc
[]
no_license
KDuyVu/Problems
3eed16a64fbf09d5e978ff7a2ded65047179c097
aa7437c111d460ac1c30b759235ba41c53fb4e7f
refs/heads/master
2023-06-07T16:43:35.829948
2016-05-13T10:28:23
2016-05-13T10:28:23
null
0
0
null
null
null
null
UTF-8
C++
false
false
594
cpp
kien.cpp
#include <stdio.h> #include <iostream> #include <algorithm> using namespace std; #define long long long #define N 1003 int n, x[N], y[N]; int ax, bx, mx; int ay, by, my; main(){ cin >> n; cin >> ax >> bx >> mx; cin >> ay >> by >> my; for (int i=1; i<=n; i++) { x[i] = (ax*x[i-1]+bx)%mx; y[i] = (ay*y[i-1]+by)%m...
44e593d7e0eab6e54cfb77e789684219d180ddb0
76fe93cafa4fc550884f3fe4d8e38c900967ca13
/TP3/server_Pelicula.cpp
ebf4243bb8dc89ac19e180afa8ac2d6750a2894d
[]
no_license
santiago-alvarezjulia/Taller2c
8dac45be376380678ec042dbf3c4f361f28805fb
23391846613581248ecae984a9b4acc118c0c4d1
refs/heads/master
2020-03-29T06:27:19.643476
2018-12-15T19:32:13
2018-12-15T19:32:13
149,625,281
0
0
null
null
null
null
UTF-8
C++
false
false
311
cpp
server_Pelicula.cpp
#include "server_Pelicula.h" #include <string> using std::string; Pelicula::Pelicula(string& titulo, string& idioma, string& edad, string& genero) : titulo(titulo), idioma(idioma), edad(edad), genero(genero) {} const string& Pelicula::getTitulo() const{ return this->titulo; } Pelicula::~Pelicula() {}
6c9588e0a13f35ab66b4e096ec9db770f06655db
d048d8c0bef283a890e30f958c4906a42121d6f5
/Firmware/Firmware/src/graphics/fonts/LcdNova24px.cpp
a063232c646c72a4ce8826b76bd36cb2121e9e88
[ "MIT" ]
permissive
bluecodecat/GradWork
ac33dffd55d47510492e0b268bc0a6e0d6e46f4b
a67e68963859d34b2a8a7f7b705b3cd86b2cc022
refs/heads/master
2022-11-03T04:54:04.381237
2020-04-28T20:26:00
2020-04-28T20:26:00
null
0
0
null
null
null
null
UTF-8
C++
false
false
57,275
cpp
LcdNova24px.cpp
#include "lvgl/lvgl.h" /******************************************************************************* * Size: 24 px * Bpp: 2 * Opts: ******************************************************************************/ #ifndef LCDNOVA24PX #define LCDNOVA24PX 1 #endif #if LCDNOVA24PX /*----------------- * BITMA...
293a23a207534eaa615c7ec47d034654abde8048
10af881fc3ad2e7fa86f7e6e48e2b1ce9e4e411e
/Source/Renderer/Camera.h
45e479609fd1a67353c1710cc680da779395a9de
[]
no_license
Ackak/Khazad
694808ff27701ee7d131f2f5c7520ee343f21334
d7a3c2632dc3b490f012a24125f8e3b966f256dd
refs/heads/master
2020-04-05T23:45:24.373584
2013-03-28T21:26:50
2013-03-28T21:26:50
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,851
h
Camera.h
#ifndef CAMERA_HEADER #define CAMERA_HEADER #include <stdafx.h> #include <Ogre.h> class Camera { public: Camera(); bool Init(); ~Camera(); void ZoomCamera(float ZoomChange); void RotateCamera(float RotationFactor); void ElevateCamera(float ElevationFactor); void PitchCamera(float Pit...
0df740b28abfce7c82b3264703a1fcd8c58a194b
63bdd0faf26c5da9dd237f61981d9b07c48dd6f6
/src/Mesh.cpp
616c8153861dfa518b20a02265c72b3c80f1ecab
[]
no_license
gDan15/opengl-fluid
cced007210e8ab75d0b15a0227b192c8efa2cba9
5f5f0fc438d2a09e6522a28c3b6196eee12f02bd
refs/heads/master
2020-03-18T12:59:59.140740
2018-06-22T22:11:18
2018-06-22T22:11:18
134,755,108
0
0
null
null
null
null
UTF-8
C++
false
false
2,023
cpp
Mesh.cpp
#include "Mesh.h" #include <fstream> #include <sstream> #include <iostream> Mesh::Mesh(Buffer* vertex, size_t vertexCount, Buffer* index, size_t indexCount) { vertexData = vertex; indexData = index; this->vertexCount = vertexCount; this->indexCount = indexCount; } Mesh::~Mesh() { if(indexData) del...
7a8ba16367f30d4bc20d7d45454029a0f798b8c2
1507ecff84940b1fcaa16b269151fa93465f86bb
/Homework/Assignment 5/main.cpp
49ca2c6af1e9ed145610f39b5d4c03a8c7db0cfd
[]
no_license
bn2595114/NguyenBryan_CSC17A_48096
44e27a74a26950886f5b81552a52f11d8bdcb7d2
f20c9b2c7c0576a364549e734749328210843b43
refs/heads/master
2020-04-05T22:57:29.029293
2017-04-19T20:32:15
2017-04-19T20:32:15
68,042,561
0
0
null
null
null
null
UTF-8
C++
false
false
5,780
cpp
main.cpp
/* * File: main.cpp * Author: Bryan * * Created on November 30, 2016, 8:25 PM */ #include <cstdlib> #include <iostream> #include <iomanip> using namespace std; #include "Employee.h" #include "Time.h" #include "Essay.h" #include "MinMax.h" #include "Absolute.h" #include "Total.h" void problem1(); void problem...
2f278d14a566e86efb8aef5d31b34c1d16275023
1ad14377c65c624aac3de787e86ad232faacf8e6
/tree.cpp
82f3e01dad5de27d56bae5305c238eec4e3569c8
[]
no_license
juh1128/SGA-Monarch2Weeks
5c5aba87619da193314679951034617e8e365dbe
f77c799572f21c5350cce2eed5a4aeb31b690e6e
refs/heads/master
2021-10-08T22:53:39.082264
2018-12-18T18:28:32
2018-12-18T18:28:32
106,794,815
0
0
null
null
null
null
UHC
C++
false
false
834
cpp
tree.cpp
#include "stdafx.h" #include "tree.h" HRESULT tree::init(int xIndex, int yIndex) { mncObjectBase::init("나무", "tree", xIndex, yIndex, 50, false); _frame = 0; return S_OK; } void tree::release() { mncObjectBase::release(); } void tree::update() { mncObjectBase::update(); //체력에 따라 프레임 설정 float hpRatio = (float...
94988d663adc2c789cf1e48a457b859626fbb55e
0123a1fbc1f71b589042e9b7844714e068762a8f
/Część 1/Kompilacja.cpp
5525ed58e2e780bd89a15f2ba923a84894500c1d
[]
no_license
PiotrMajecki/Drukarka_Laserowa_cz.1
8f90de9bd783858e365d8678ab39ba88d20c4812
2cd603d52ae43103572a876777430232d60f9c74
refs/heads/master
2022-04-10T12:02:23.233573
2020-03-26T18:09:44
2020-03-26T18:09:44
250,335,565
0
0
null
null
null
null
UTF-8
C++
false
false
4,829
cpp
Kompilacja.cpp
#include "DrukarkaLaserowa.h" #include <iostream> #include <string> using namespace std; string nowa_nazwa; string nowa_marka; int opcja; int main() { #ifdef _DEBUG //Testowanie klas cout << "Wywolanie konstruktora obiektu." << endl; DrukarkaLaserowa test1(4), test2(6), test3(8); cout << "Obiekt: "; test1.wysw...
fd39806631e3905b8e9604d932403ccf7fbc1dfe
286b5540c3343932aecd60bcd755ce4b918c3af0
/louisB_10420.cpp
d2db884676780e8dcbaffa5a1ee44b76c1325fbd
[]
no_license
Algue-Rythme/ACM
4d1274d383ae8437c268b89db116eeba4fff7ce5
45eafdfb4003690fe55615da7d8b131b3da4805f
refs/heads/master
2021-01-22T21:28:33.917032
2017-05-15T16:03:30
2017-05-15T16:03:30
85,436,739
0
0
null
null
null
null
UTF-8
C++
false
false
611
cpp
louisB_10420.cpp
#include <iostream> #include <algorithm> #include <iterator> #include <vector> #include <map> #include <sstream> using namespace std; int main() { unsigned int nbCountries; cin >> nbCountries; map<string, unsigned int> girls; for (unsigned int country = 0; country < nbCountries; ++country) { s...
7cec3579b6a8d0dcd06e60e0a69fccdaac494909
f5c6aa7ab071c426d81d01c966a5a4bd353798d6
/nnlib.h
202041c32297e0b36fb54bf619d642f37e5796e5
[ "MIT" ]
permissive
arataca89/nnlang
5f270223e361d797d1b1e3ee97e09d2be497af3f
a9746b6e15664277cfc0521f67b06692934ad0d4
refs/heads/main
2023-04-01T04:27:32.800938
2021-04-03T22:14:50
2021-04-03T22:14:50
353,033,975
0
0
null
null
null
null
UTF-8
C++
false
false
1,372
h
nnlib.h
// nnlib.h // arataca89@gmail.com // 20210330 // Last updated: 20210403 #include <algorithm> #include <string> using std::string; // if word can represent an decimal number, return 1; otherwise, return 0 int isFloat(const string& word); // if word can represent an integer, return 1; otherwise, re...
720b0af71cfadf5e2676473a05e3d8edb7336736
72489760a574cf1cab1115af8072118070ab5eb0
/21.最大值與最小值.cpp
3615bb6dee01049648ad20e086a1b1039052055b
[]
no_license
TracyLin98/OOPITSA
41e3acc8db4b68f596e20cca19ac07fefdff0ac9
d4dc6dfc56032469696df0ab6a32cb9be663793d
refs/heads/main
2023-06-04T19:52:24.164618
2021-06-28T04:33:35
2021-06-28T04:33:35
380,904,114
0
0
null
null
null
null
UTF-8
C++
false
false
677
cpp
21.最大值與最小值.cpp
#include <string> #include <iostream> #include <map> #include <queue> #include <utility> #include <climits> #include <functional> #include <iomanip> #include <stack> #include <cmath> #include <cfloat> #include <cstdlib> #include <cstring> using namespace std; int main() { float arr[10]; for (int...
e4b86816c82c5747377a6350b79770736a98114e
8ee5416ec56b9cc1d9ad2ce48cf690fa012c5ce4
/PhysX.Net-3/Source/SerializableEnum.h
bd775bb8fcaa715815c170f56975294465eea82f
[]
no_license
HalcyonGrid/PhysX.net
a573e0ceb9153c3777e71cb9d1434c5d74589df6
2a4bfc7a6619091bb3be20cb058f65306e4d8bac
refs/heads/master
2020-03-26T12:30:31.701484
2015-09-10T04:24:00
2015-09-10T04:24:00
144,896,344
3
2
null
2018-08-15T19:44:31
2018-08-15T19:44:30
null
UTF-8
C++
false
false
1,275
h
SerializableEnum.h
#pragma once namespace PhysX { public enum class ConcreteType { Undefined = PxConcreteType::eUNDEFINED, Heightfield = PxConcreteType::eHEIGHTFIELD, ConvexMesh = PxConcreteType::eCONVEX_MESH, TriangleMesh = PxConcreteType::eTRIANGLE_MESH, ClothFabric = PxConcreteType::eCLOTH_FABRIC, RigidDynamic = Px...
f1c77e36aceedb114192862547fb8eed6c3a1567
25cf9168e5e33fd9b3ec4c87c555c783ebbedf80
/ACE_wrappers/ace/PaxHeaders.2489/OS_NS_devctl.cpp
a6fe45b5911ec84cf18a38953e723f582b3430c3
[]
no_license
XZM-CN/ACE-6.4.3
3441f1c39e3b4e14a70c1e48cd4a4cf038a0d83f
6020a9362e2350aaa4899705e657ae1426bb10dd
refs/heads/master
2021-01-15T17:29:12.476083
2017-08-09T06:13:33
2017-08-09T06:13:33
99,753,918
0
1
null
null
null
null
UTF-8
C++
false
false
90
cpp
OS_NS_devctl.cpp
30 mtime=1492674726.796646645 30 atime=1492674730.040646059 30 ctime=1492674726.796646645
5f1672052b5a7746307dd51a9b75d4e4c27f53b7
66c6c2d054777c3738297e6606c1385737345b90
/codeforces/627div3/D.cpp
78c70e0eac8d60cd28d24cfeb3bab45ef6116ae6
[ "MIT" ]
permissive
xenowits/cp
f4a72bea29defd77f2412d6dee47c3e17f4d4e81
963b3c7df65b5328d5ce5ef894a46691afefb98c
refs/heads/master
2023-01-03T18:19:29.859876
2020-10-23T10:35:48
2020-10-23T10:35:48
177,056,380
0
1
null
null
null
null
UTF-8
C++
false
false
1,489
cpp
D.cpp
//xenowitz -- Jai Shree Ram #include<bits/stdc++.h> using namespace std; #define fori(i,a,b) for (long int i = a; i <= b ; ++i) #define ford(i,a,b) for(long int i = a;i >= b ; --i) #define mk make_pair #define mod 1000000007 #define pb push_back #define vec vector<long long int> #define ll long long #define rnd mt1993...
9f4a2a87aafed5d7090931f371139d6652cab311
08f953cc67cf699ec1d8e5bfe11335fa3c3acefd
/工程文件夹/DNF/SceneChange.cpp
b4c5153de56552b9d798c03c337ae6fce57cbc28
[]
no_license
aoyuming/dnf-win32
cb5e8cb325d6745616c29ba41b9f021476dd9742
1f7c6f433911d9cea3d518748f3e9608068323fc
refs/heads/main
2023-07-15T12:21:11.274685
2021-08-27T07:21:19
2021-08-27T07:21:19
400,421,317
0
0
null
null
null
null
UTF-8
C++
false
false
136
cpp
SceneChange.cpp
#include "SceneChange.h" CSceneChange::CSceneChange(int AllFrame) : m_AllFrame(AllFrame) {} void CSceneChange::Render(int CurFrame) {}
d19dbc921f277aedeb21c68bde8aac76b62d6b3d
1669a23933a10cf916a009281f5499c43225028b
/Dynamic Programming/5.(IMP) Best Time to sell stocks- II .cpp
39e7fec7196ad706d84d9a8facdeb0ec872d28ea
[]
no_license
SinghVikram97/Interview-Prep
55257a0cbe7f2232207a837f3e57728c8e694cf2
eaa0dcf5dcf69b75fa375a6dae73eeb1f703ee8f
refs/heads/master
2021-12-02T10:36:40.482710
2021-11-18T13:08:20
2021-11-18T13:08:20
136,036,711
42
21
null
null
null
null
UTF-8
C++
false
false
3,115
cpp
5.(IMP) Best Time to sell stocks- II .cpp
https://leetcode.com/problems/best-time-to-buy-and-sell-stock/description/ We need to find difference between max peak and lowest valley ........................................ BRUTE FORCE https://drive.google.com/open?id=1ka4G1_S3DTXDHfPYsHqWGCvwEQlkiWqt int maxProfit(vector<int>& prices) { int n=p...
eab031cc68be28364d17f2234c6539c926ef2416
b965340041ffcddaaa6581d2beb27373e8a4b7f2
/Data Structures/Arrays/Array-DS.cc
0da65b51bb53719284422629dc912c334da9bcce
[ "MIT" ]
permissive
Sunhick/hacker-rank
2ebf3ed221699c1d2a7b47ad1b3634f60754980d
27d3e1b2cdfd2e719b70894b87588ff789f60d55
refs/heads/master
2021-01-13T06:18:02.356327
2016-05-25T23:55:42
2016-05-25T23:55:42
46,993,940
0
0
null
null
null
null
UTF-8
C++
false
false
439
cc
Array-DS.cc
#include <cmath> #include <cstdio> #include <vector> #include <iostream> #include <algorithm> using namespace std; int main() { int n; //Size of Array cin>>n; int *ip = (int*)calloc(n, sizeof(int)); int *op = (int*)calloc(n, sizeof(int)); for(int i = 0;i<n ; i++) { scanf("%d",&ip[...
7796893045d503dac272cf1d136bd5ab1825d3cd
b7e97047616d9343be5b9bbe03fc0d79ba5a6143
/src/protocols/loops/LoopsFileOptions.cc
1f29fe71b314b1eebccdd1df97a08ffb06a49eb9
[]
no_license
achitturi/ROSETTA-main-source
2772623a78e33e7883a453f051d53ea6cc53ffa5
fe11c7e7cb68644f404f4c0629b64da4bb73b8f9
refs/heads/master
2021-05-09T15:04:34.006421
2018-01-26T17:10:33
2018-01-26T17:10:33
119,081,547
1
3
null
null
null
null
UTF-8
C++
false
false
2,365
cc
LoopsFileOptions.cc
// -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*- // vi: set ts=2 noet: // // (c) Copyright Rosetta Commons Member Institutions. // (c) This file is part of the Rosetta software suite and is made available under license. // (c) The Rosetta software is developed by the co...
4428d66a1a320d61be72a0d308b7899e1a011f05
0d70d5f6cfae2dc7a2bd55e6cefeee4d9b636371
/src/CLGLLinux.cpp
c798663ac3384a73259bcc0eb4883a0d1df1100e
[]
no_license
tlgimenes/clgl
496eff24fc5d0167cd531495e2a29a007578b4f3
159e92e0766beb16e15fed98ca854cf0b6f2237a
refs/heads/master
2021-01-20T22:31:09.589493
2013-01-14T22:00:40
2013-01-14T22:00:40
7,115,282
1
0
null
null
null
null
UTF-8
C++
false
false
1,623
cpp
CLGLLinux.cpp
//--------------------------------// // // // Author: Tiago Lobato Gimenes // // email: tlgimenes@gmail.com // // // //--------------------------------// #include <stdlib.h> #include <GL/glew.h> #include <GL/glut.h> #include <GL/glu.h> #define GL_GL...
229936042d709579983530ecba285d2f0d747de6
32fcc41cc1b59a46932158e5062c8c37f88cd989
/core/lexer.cpp
31599f4d7e2ef2c2bb035001d3fa9aa5b6f7222b
[ "Apache-2.0" ]
permissive
google/jsonnet
4cb224b7836e215df4bac809ad1ffed628a4d3d7
e605e4673294d2bf43eb8351fb8f5d9ba26d5e68
refs/heads/master
2023-08-28T16:27:58.576444
2023-08-14T12:02:45
2023-08-14T12:02:45
22,527,161
6,616
546
Apache-2.0
2023-08-14T12:02:46
2014-08-01T20:29:12
Jsonnet
UTF-8
C++
false
false
30,163
cpp
lexer.cpp
/* Copyright 2015 Google Inc. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in ...
c63b8b4cb2db01ac1c7c8140ef8b6faa78d9fc47
88b130d5ff52d96248d8b946cfb0faaadb731769
/searchcore/src/vespa/searchcore/proton/metrics/document_db_commit_metrics.cpp
c5b7d71a98288212590a15c6ce63e99c8a16106c
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
vespa-engine/vespa
b8cfe266de7f9a9be6f2557c55bef52c3a9d7cdb
1f8213997718c25942c38402202ae9e51572d89f
refs/heads/master
2023-08-16T21:01:12.296208
2023-08-16T17:03:08
2023-08-16T17:03:08
60,377,070
4,889
619
Apache-2.0
2023-09-14T21:02:11
2016-06-03T20:54:20
Java
UTF-8
C++
false
false
551
cpp
document_db_commit_metrics.cpp
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include "document_db_commit_metrics.h" namespace proton { DocumentDBCommitMetrics::DocumentDBCommitMetrics(metrics::MetricSet* parent) : MetricSet("commit", {}, "commit metrics for feeding in a document data...
b6d6ac73a6c20f065abfdb9093dd398763092f6d
9449475efec1a3dc02dd79dea42a9bed31ee99e6
/Figure HW/Figure/Triangle.cpp
4f521469a2eec5704448d64eaa900e7d69b46d27
[]
no_license
Dmitriy011/mp1-2020-1
8a63ef1cdd6620a9b8f03fbd1f9dc0d969c7cd6c
e5cda10031bfb1aeb82648165c6e6b4745c7bfa1
refs/heads/master
2021-05-19T08:20:18.426412
2020-05-26T13:46:37
2020-05-26T13:46:37
251,601,848
1
0
null
2020-03-31T12:52:15
2020-03-31T12:52:15
null
UTF-8
C++
false
false
1,135
cpp
Triangle.cpp
#include "Triangle.h" void Triangle::Check_triangle() { if ((Get_point(0) != Get_point(1)) && (Get_point(0) != Get_point(2)) && (Get_point(1) != Get_point(2))) { Point p1 = Get_point(1) - Get_point(0); Point p2 = Get_point(2) - Get_point(1); Point p3 = Get_point(0) - Get_point(2); if ((p3 * p3 <= ...
4ea02fa95000aee2d90a125b853367f22206dffb
d851bcf96775dc836bd810ba3ee1bd56c23531de
/LinkedList/main.cpp
6b9c91936c4b510bd5e11204c157a96d895a265c
[]
no_license
jasdipsekhon/Review
7faf2890d4bcd8301d62d2f3ddfe1385f5e9b815
464225f8809e4934701fcd4d3868a06dfa8f3228
refs/heads/main
2023-08-31T12:42:33.713539
2021-10-25T03:34:12
2021-10-25T03:34:12
394,512,401
0
0
null
null
null
null
UTF-8
C++
false
false
201
cpp
main.cpp
#include "linkedList.h" #include <iostream> using namespace std; int main() { Node *head = NULL; LinkedList *list = new LinkedList(); list->insertAtNthPosition(head, 5, 1); return 0; }
67204de8ac648941dac34917c653529e2c68efd9
a71a53e399e30bc3e8141ff1ea3c61b3be3ae68f
/Dice Combinations/main.cpp
7279a9a10e25f9c45aa256faa81df5813cced5c4
[]
no_license
Kpriyansh/CSES-Problem-Set
d1572c54b43f5e580ea511f96b9b23659e951800
44c045db2c72ba0ca2b42f0e593b898575f152a7
refs/heads/main
2023-04-03T01:45:16.807880
2021-04-13T14:32:50
2021-04-13T14:32:50
326,010,236
2
0
null
null
null
null
UTF-8
C++
false
false
442
cpp
main.cpp
#include <iostream> #include<cstring> #define mod 1000000007 using namespace std; typedef long long ll; ll dp[10000001]; ll cntSum(ll n){ for(ll i=1;i<=n;i++){ for(ll j=1;j<=6;j++){ if(j>i) break; dp[i]=(dp[i]+dp[i-j])%mod; } } return dp[n]; } int main() { ll n; cin...
55403ee560baba270d69d592421b4fbbe7719a5f
baa397979f7c74572aba5fd18ea55c735b34dbfc
/TwinStickGame/Engine/Scene/Primitive.h
71d6ded6f32dabfe6c980ff4440ff474e2f2027e
[ "MIT" ]
permissive
Isetta-Team/Isetta-Game
ae9e6fd2dc69b72f198019655406727c5fcf5cdc
a4c7e37b51d567d875ed0e3f10b6206df1de39b9
refs/heads/master
2021-10-08T13:40:56.681156
2018-12-12T16:50:09
2018-12-12T16:50:09
157,443,731
2
1
null
null
null
null
UTF-8
C++
false
false
683
h
Primitive.h
/* * Copyright (c) 2018 Isetta */ #pragma once #include <string> #include "ISETTA_API.h" namespace Isetta { struct ISETTA_API Primitive { enum class Type { Capsule, Cube, Cylinder, Grid, Quad, Sphere, }; /** * \brief Create a primitive with the given name, with the option to specific...
76dd0d1746d4a841bb2df9766d7e8855cfce2385
24c3b6ee3e2b06288bed587e34751969b4a73e31
/Codeforces/Div1/Round 664/A.cpp
b29e4ec1ec212a3c546b2519e4c32f7979e9fcb0
[]
no_license
KatsuyaKikuchi/ProgrammingContest
89afbda50d1cf59fc58d8a9e25e6660334f18a2a
d9254202eec56f96d8c5b508556464a3f87a0a4f
refs/heads/master
2023-06-05T20:07:36.334182
2021-06-13T13:55:06
2021-06-13T13:55:06
318,641,671
0
0
null
null
null
null
UTF-8
C++
false
false
1,412
cpp
A.cpp
#include <bits/stdc++.h> using namespace std; typedef long long int ll; typedef pair<ll, ll> pll; #define FOR(i, n, m) for(ll (i)=(m);(i)<(n);++(i)) #define REP(i, n) FOR(i,n,0) #define OF64 std::setprecision(10) const ll MOD = 1000000007; const ll INF = (ll) 1e15; int main() { cin.tie(0); ios::sync_with_s...
6cc038183c5164586f92399231cd39554d1a59c0
a7764174fb0351ea666faa9f3b5dfe304390a011
/inc/BOPTools_RoughShapeIntersector.hxx
0731ead6c0804676ed05dd6366a32075dd72dbe6
[]
no_license
uel-dataexchange/Opencascade_uel
f7123943e9d8124f4fa67579e3cd3f85cfe52d91
06ec93d238d3e3ea2881ff44ba8c21cf870435cd
refs/heads/master
2022-11-16T07:40:30.837854
2020-07-08T01:56:37
2020-07-08T01:56:37
276,290,778
0
0
null
null
null
null
UTF-8
C++
false
false
3,350
hxx
BOPTools_RoughShapeIntersector.hxx
// This file is generated by WOK (CPPExt). // Please do not edit this file; modify original file instead. // The copyright and license terms as defined for the original file apply to // this header file considered to be the "object code" form of the original source. #ifndef _BOPTools_RoughShapeIntersector_Header...
06a5f51ef9e6f6ee5edef528c7ea96378e4bab20
3033fad29813eef9d066bb4a41348b26115c23af
/LLVMRuntime/CompiledModuleBuilder.h
037867c610bca5985c6eedaae2a25578984b9ebb
[ "MIT" ]
permissive
MatthewSmit/CPVulkan
ec957340c3be48e0cde224d115c3c0cade8f40a8
d96f2f6db4cbbabcc41c2023a48ec63d1950dec0
refs/heads/master
2020-09-08T16:41:07.981655
2020-01-07T12:12:18
2020-01-07T12:12:18
221,184,270
1
0
MIT
2019-11-29T02:30:52
2019-11-12T09:53:36
C++
UTF-8
C++
false
false
17,064
h
CompiledModuleBuilder.h
#pragma once #include <Base.h> #include "Jit.h" #include <llvm-c/Core.h> #include <llvm-c/Types.h> namespace Intrinsics { enum ID { not_intrinsic = 0, // Get the intrinsic enums generated from Intrinsics.td #define GET_INTRINSIC_ENUM_VALUES #include "llvm/IR/IntrinsicEnums.inc" #undef GET_INTRINSIC_ENUM_VALUE...
db1c2225cf1578db2e8498c3d0344156a9efc3a3
5d7d3341c7c374320dd9a1f2e52ed9c99557e405
/main.cpp
8f89928b0024c3f39367a1d19e228edde03ae958
[]
no_license
pqok/DrDDNS-Ali
b5d133ad20bb6bbb14e8b8cbb37e1e0ab334a7ab
cd168dede488b37697f314b9b7be5da016788d97
refs/heads/master
2022-04-13T11:54:13.356559
2020-03-04T04:27:25
2020-03-04T04:27:25
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,126
cpp
main.cpp
#include <QCoreApplication> #include "Aliyun.h" #include "DescribeDomainRecords.h" #include "UpdateDomainRecord.h" #include "ConfigHelper.h" using namespace AliyunNameSpace; int main(int argc, char *argv[]) { QCoreApplication a(argc, argv); /* 读取配置文件 */ ConfigHelper confHelper; if(!confHelper.load()...
9ce80c0f8c0ce5c2dbbc4f57211702dab7ba62ce
4c93ca76318969f1624a0e77749bcdea3e7809d3
/~9999/4153_직각삼각형.cpp
c4dd2a94c067a601f501d83218259bf93b437838
[]
no_license
root-jeong/BOJ
080925f6cfbb5dcbdf13c4c3a3c7e0a444908e6e
ec1ef5ad322597883b74d276078da8a508f164a8
refs/heads/master
2022-04-03T22:33:44.866564
2020-01-08T12:21:19
2020-01-08T12:21:19
null
0
0
null
null
null
null
UTF-8
C++
false
false
491
cpp
4153_직각삼각형.cpp
#include <iostream> #include <algorithm> #include <vector> using namespace std; vector<unsigned long long> vec; int main() { unsigned long long a, b, c; unsigned long long s, m, l; while (true) { cin >> a >> b >> c; if (a == 0) break; vec.clear(); vec.push_back(a); vec.push_back(b); vec.push_back(c); ...
ef2c406104060c57fb3a970413a2f5b23c0cede3
22c7ca97ad943c572949bf564d3e65bd587ebb3c
/include/matrix.hpp
1dc25c0d206410141814c5330beca9c1494180d8
[]
no_license
AliKhudiyev/CDT-Model
67b675cb237d40d8a204aabead6c239b08aebfe4
20b21855d9547f057798b2d6b915eec8ceacd64d
refs/heads/master
2022-03-31T08:02:48.759117
2020-01-24T18:06:17
2020-01-24T18:06:17
233,613,617
3
0
null
null
null
null
UTF-8
C++
false
false
2,912
hpp
matrix.hpp
#ifndef _MATRIX_ #define _MATRIX_ #include <vector> #include <iostream> #include <functional> #include <string> #include "shape.hpp" #define Matrix_d Matrix<double> #define Matrix_f Matrix<float> #define Matrix_l Matrix<long> #define Matrix_i Matrix<int> #define Matrix_u Matrix<unsigned> #define Matr...
59a091dd560a6f439c726d1aae8720cf47e08a99
72ff9c76725948e4534594840c31dcd0648c80f7
/Array/minimum_distance2.cpp
5e3309bfe8d857eb85bd75346d2cb2341c29dd6e
[]
no_license
Vaibhav123v/356-Days-With-DataStructure
b08b2e427b01618b4083aef50af9345e15d9bcd8
a8315668cce700892369c4cc3cee157b0051c809
refs/heads/main
2023-08-11T17:11:49.194690
2021-09-18T15:22:08
2021-09-18T15:22:08
356,337,651
0
0
null
null
null
null
UTF-8
C++
false
false
800
cpp
minimum_distance2.cpp
// Tricky Method to solve this problem in O(n) time. #include<bits/stdc++.h> using namespace std; int minDist(int array[],int n , int x ,int y) { int i,prev; int min_dist = INT_MAX; for(i=0;i<n;i++) { if(array[i]==x || array[i]==y) { prev = i; break; } } for(;i<n;i++) ...
19170d7c47d5e287d3bb36f61f4c489237448f64
1834c0796ee324243f550357c67d8bcd7c94de17
/SDK/TCF_Debug_ReplaySlot_WBP_classes.hpp
f28d67e315a81ffc9e1f09133da0b2035e9234af
[]
no_license
DarkCodez/TCF-SDK
ce41cc7dab47c98b382ad0f87696780fab9898d2
134a694d3f0a42ea149a811750fcc945437a70cc
refs/heads/master
2023-08-25T20:54:04.496383
2021-10-25T11:26:18
2021-10-25T11:26:18
423,337,506
1
0
null
2021-11-01T04:31:21
2021-11-01T04:31:20
null
UTF-8
C++
false
false
3,029
hpp
TCF_Debug_ReplaySlot_WBP_classes.hpp
#pragma once // The Cycle Frontier (1.X) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "TCF_Debug_ReplaySlot_WBP_structs.hpp" namespace SDK { //--------------------------------------------------------------------------- //Classes //---------------------------------------------------------------------...
05c7fbdcc2fc6bdd6127366d5ffe8812ad85899a
a3d6556180e74af7b555f8d47d3fea55b94bcbda
/components/viz/common/quads/frame_deadline.h
4f3963fc0b0441efe9c753a0b847934f7660c423
[ "BSD-3-Clause" ]
permissive
chromium/chromium
aaa9eda10115b50b0616d2f1aed5ef35d1d779d6
a401d6cf4f7bf0e2d2e964c512ebb923c3d8832c
refs/heads/main
2023-08-24T00:35:12.585945
2023-08-23T22:01:11
2023-08-23T22:01:11
120,360,765
17,408
7,102
BSD-3-Clause
2023-09-10T23:44:27
2018-02-05T20:55:32
null
UTF-8
C++
false
false
3,235
h
frame_deadline.h
// Copyright 2017 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_VIZ_COMMON_QUADS_FRAME_DEADLINE_H_ #define COMPONENTS_VIZ_COMMON_QUADS_FRAME_DEADLINE_H_ #include <string> #include "base/time/time.h" #include "components...
a07bafbb2f847c79528838cf446e5375a10c4fc7
7c5d7fb6a64df1a118a64bdf6087ecf395a3a722
/data/final-24/sources/29859.cpp
639b2e3dc13f888a1db4d171c3e877bf2f0ebbaa
[]
no_license
alexhein189/code-plagiarism-detector
e66df71c46cc5043b6825ef76a940b658c0e5015
68d21639d4b37bb2c801befe6f7ce0007d7eccc5
refs/heads/master
2023-03-18T06:02:45.508614
2016-05-04T14:29:57
2016-05-04T14:54:19
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,972
cpp
29859.cpp
#include<iostream> #include<sstream> #include<fstream> #include<cstdio> #include<cstring> #include<algorithm> #include<memory.h> #include<set> #include<map> #include<list> #include<vector> #include<stack> #include<queue> #include<deque> #include<ctime> #include<cstdlib> using namespace std; typedef...
e4b2eb1babaae5a326b8cd6d42bcf7c6c040eb2d
6f286be4a4e16867cc6e488080b8e3eced1dcd62
/src/GSvar/ExternalToolDialog.cpp
a095339fc61bfa199794608254a97af95bc5f98b
[ "MIT" ]
permissive
imgag/ngs-bits
3587404be01687d52c5a77b933874ca77faf8e6b
0597c96f6bc09067598c2364877d11091350bed8
refs/heads/master
2023-09-03T20:20:16.975954
2023-09-01T13:17:35
2023-09-01T13:17:35
38,034,492
110
36
MIT
2023-09-12T14:21:59
2015-06-25T07:23:55
C++
UTF-8
C++
false
false
8,099
cpp
ExternalToolDialog.cpp
#include <QMessageBox> #include "ExternalToolDialog.h" #include "Exceptions.h" #include "Settings.h" #include "Helper.h" #include "BedFile.h" #include "QCCollection.h" #include "QFileDialog" #include "Statistics.h" #include "SampleSimilarity.h" #include "LoginManager.h" #include "ProcessedSampleSelector.h" #include "Gl...
3d0a3e32dbca9e86474c30eace860d0102dc7126
ae9ca3bb98b24b4cb274dcf82f4bd015641b8cf8
/include/CQChartsViewError.h
0315cf43493fa6007f53c467225abae3f6142f5d
[ "MIT" ]
permissive
lineCode/CQCharts
5748e9e379eff7dc0b288435c38c8cac65e4fbf2
f128d46df8a92d8bcb1ea0867c1821aa2bb7e6ba
refs/heads/master
2022-12-19T05:49:19.336982
2020-09-19T12:05:08
2020-09-19T12:05:08
null
0
0
null
null
null
null
UTF-8
C++
false
false
577
h
CQChartsViewError.h
#ifndef CQChartsViewError_H #define CQChartsViewError_H #include <QFrame> #include <map> class CQChartsView; class CQChartsPlot; class CQTabSplit; class QTextBrowser; /*! * \brief Widget to show View/Plot errors * \ingroup Charts */ class CQChartsViewError : public QFrame { Q_OBJECT public: CQChartsViewErro...
ffce5257bec481eb5018c10c0d510268e2f1c5bc
075af5b714733ac10309ee264df63567d1d86ec8
/cpp/Drawable.cpp
c9b67c079a27520e2c793e83024f5b51a5f22e6f
[]
no_license
asdf6161/win_log_graphic
b5169d4656080b5e2e85a99c41757278df3175b8
8d8cd2b3f9a48c72a689cb3173f309fa02a16ab8
refs/heads/master
2020-05-01T11:47:44.821090
2019-07-02T17:20:42
2019-07-02T17:20:42
177,452,107
1
0
null
null
null
null
WINDOWS-1251
C++
false
false
3,122
cpp
Drawable.cpp
/* * Drawable.cpp * * Created on: 17 мар. 2019 г. * Author: yura */ /* * How to use * Create object Drawable *dr = new Drawable(); Draw new windows or objects and call dr->swap_buffers(); * */ #include <Drawable.h> Drawable::Drawable() { // TODO Auto-generated constructor stub color.set_color(0x1F...
2e85a624813ca1bb2b5fb10f5e4715f3ac24be44
7f95a7de14c1e2822950a6422d2f0e16ea5a5dbe
/eHTTP/httpParsing/httpUtils.cpp
55ca62ae909176472c67e0bfd0480c32a4cdbfef
[]
no_license
SS-03-MAC/SS-03_MAC
5a314847f3a53c3a9c0fdd2e32d8338b53a22375
d6fb41f0e8db3311629b88f50fe1f9ce74b39a9e
refs/heads/master
2021-08-31T15:00:35.981511
2017-12-21T19:53:46
2017-12-21T19:53:46
75,872,823
3
0
null
null
null
null
UTF-8
C++
false
false
4,189
cpp
httpUtils.cpp
//===-- eHTTP/httpParsing/httpUtils.cpp -------------------------*- C++ -*-===// // // eHTTP - Web Server with CGI // // This file is distributed under the MIT License. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// /// /// \file /// ...
f6c9b2af2f0ca9a4988ba716220b985a40156a8e
0d17f83d284b5e1b114fd090d90f3ab9573deb74
/src/SFilterEngine.cpp
37f0ded8c83726e0ca2475a3e733c5e571b34f53
[]
no_license
bagobor/ScIll-library
7363596a3c98fa26d417dd08fdb0385e864bbe92
20e568f2a402a677e0b1a97909fa4d2429c5821c
refs/heads/master
2021-01-18T00:08:42.473024
2013-07-15T23:01:56
2013-07-15T23:02:13
null
0
0
null
null
null
null
UTF-8
C++
false
false
13,614
cpp
SFilterEngine.cpp
/* * SFilterEngine.cpp * * Created on: Feb 13, 2011 * Author: numb3r23 */ #include "stdafx.h" #include "SFilterEngine.h" #include "CGLInfo.h" int SciIllLib::SFilterEngine::m_width, SciIllLib::SFilterEngine::m_height; int SciIllLib::SFilterEngine::m_widthOld, SciIllLib::SFilterEngine::m_heightOld; GLuint ...
3c12555f6ad455b73879552d433734bd1cf1c766
e2d31e3754624eeb0a2dace8691c5c25ed3b988e
/runtime/RHI/Vulkan/Vulkan_SwapChain.cpp
76d91697993b0cb5952b36502f0d067e3ca976e9
[ "MIT" ]
permissive
PanosK92/SpartanEngine
da7950d3e5a673b3fd7881c6e9370d84c8e361a1
9cf38d84c344dad43a2cb45f018914f7504f1047
refs/heads/master
2023-09-01T09:01:47.784814
2023-08-24T09:42:53
2023-08-24T09:42:53
61,415,047
1,655
169
MIT
2023-09-11T15:08:52
2016-06-18T03:27:49
C++
UTF-8
C++
false
false
22,144
cpp
Vulkan_SwapChain.cpp
/* Copyright(c) 2016-2023 Panos Karabelas Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distrib...
cdadca6b31c5c1b6f15669fd651d0f77b1ae91c6
7f4297c06da8509969ff2a5f9f246f59525ce52d
/LeshkovAV/Data/Data/Data.cpp
aa8f29cd5bb91a7fa54c562bd4e04d208a4650cd
[]
no_license
bugslayer312/StudentHomeworks
ab1fcfc84681a58dc236c9d8f965f7295fc4737f
ab4fc6c320f28b3f04fbb18af4efaaec8b37bcc2
refs/heads/master
2021-01-20T04:50:13.785101
2017-07-12T21:29:47
2017-07-12T21:29:47
89,739,092
2
15
null
2017-07-17T11:48:24
2017-04-28T19:38:50
C++
UTF-8
C++
false
false
732
cpp
Data.cpp
#include "stdafx.h" #include "Data.h" #include <cstdlib> #include <cstring> #include <iostream> struct Data* CreateData(char const* name, int salary) { struct Data* result = (struct Data*)malloc(sizeof(struct Data)); strncpy(result->Name, name, 20); result->Salary = salary; return result; } struct Data* ReadData...
48f619646493cd4751923ebdd1ef8fef946cb088
39687a63b28378681f0309747edaaf4fb465c034
/examples/04-fileIO_String/Mesh_io/include/gotools_core/BoundingBox.h
c406e88a5c382b6bedf67aab50e6e07e801b54b2
[]
no_license
aldongqing/jjcao_code
5a65ac654c306b96f0892eb20746b17276aa56e4
3b04108ed5c24f22899a31b0ee50ee177a841828
refs/heads/master
2021-01-18T11:35:25.515882
2015-10-29T01:52:33
2015-10-29T01:52:33
null
0
0
null
null
null
null
UTF-8
C++
false
false
6,650
h
BoundingBox.h
//=========================================================================== // GoTools - SINTEF Geometry Tools version 1.0.1 // // GoTools module: CORE // // Copyright (C) 2000-2005 SINTEF ICT, Applied Mathematics, Norway. // // This program is free software; you can redistribute it and/or // modify it unde...
f3436d8845751f79a024995786070a03b65064c3
8861315906a090ca59c848f30898737d08565504
/Async-Finish/src/task.cpp
cc28352de355482fb9297dc45096c8e256d9f9b0
[]
no_license
Anunay-Yadav/Practice-Temp
427e1a27740e3c0516b04ca0aeb5148252914190
6f3afdc9c9fa436100c4b6242670f979e7e8c265
refs/heads/main
2023-05-13T16:10:42.466299
2021-06-06T11:25:36
2021-06-06T11:25:36
362,561,264
0
0
null
null
null
null
UTF-8
C++
false
false
878
cpp
task.cpp
#ifndef TASK #include "../header files/task.hpp" #endif #include <thread> #include <mutex> #include <queue> #include <vector> task::task(void (*func)(void*),void* arguments): heap_f(func),arguments(arguments){ } task::task(task && a): heap_f(a.heap_f), arguments(a.arguments){ a.heap_f = nullptr; a.arguments = ...
dd364ae4f536b8ba332656401e1a2fcc0d4b1f1c
c8b39acfd4a857dc15ed3375e0d93e75fa3f1f64
/Engine/Source/Runtime/Slate/Private/Widgets/Layout/SSpacer.cpp
5f09331cd5a251b7c696a6405979caa582ddab41
[ "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
718
cpp
SSpacer.cpp
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved. #include "Widgets/Layout/SSpacer.h" /** * Construct this widget * * @param InArgs The declaration data for this widget */ void SSpacer::Construct( const FArguments& InArgs ) { SpacerSize = InArgs._Size; } int32 SSpacer::OnPaint( const FPaintArgs& Ar...
2893c923cd7c3c472bf83c0b75ab887a8f5e19b7
92d3ed6fbfe46b8f4c715708d99e3db5c7b574e5
/engine/core/include/TFormatInfo.h
b7b5b36c32321919197a92e33e47525db69205ff
[ "MIT" ]
permissive
FuXiii/Turbo
a2b8c023b737106d4befedd74a56b50dcc82cfde
6710ac735b9068f32995d73b25b6f9da28641d5a
refs/heads/master
2023-09-03T13:17:51.174002
2023-08-31T02:39:15
2023-08-31T02:39:15
486,079,006
87
8
null
null
null
null
UTF-8
C++
false
false
21,584
h
TFormatInfo.h
#pragma once #ifndef TURBO_CORE_TFORMAT_H #define TURBO_CORE_TFORMAT_H #include "TObject.h" namespace Turbo { namespace Core { class TDevice; typedef enum class TFormatType { UNDEFINED = VkFormat::VK_FORMAT_UNDEFINED, R4G4_UNORM_PACK8 = VkFormat::VK_FORMAT_R4G4_UNORM_PACK8, R4G4B4A4_UNORM_PACK16 = VkForma...
7f19344264a89993de7d7d41d526c25e92c91334
97108b56d681860b2bad6896e1d723fe792f3b6f
/devel/electron17/files/patch-chrome_browser_ui_browser__dialogs.h
f80e4ec105ce613a7bc401b286b3bffe27b6fa05
[ "BSD-2-Clause", "BSD-3-Clause" ]
permissive
AMDmi3/freebsd-ports
c36418a1023792ee4809250dc05b86134a489d3b
c6ddef13d6e3013d88089e15a2f047cc9aac59c4
refs/heads/master
2022-08-26T08:53:23.129504
2022-05-17T14:36:02
2022-05-17T14:41:55
355,688,492
0
1
NOASSERTION
2021-04-07T21:37:47
2021-04-07T21:37:46
null
UTF-8
C++
false
false
1,269
h
patch-chrome_browser_ui_browser__dialogs.h
--- chrome/browser/ui/browser_dialogs.h.orig 2022-05-11 07:16:49 UTC +++ chrome/browser/ui/browser_dialogs.h @@ -26,7 +26,7 @@ #include "ui/base/models/dialog_model.h" #include "ui/gfx/native_widget_types.h" -#if defined(OS_WIN) || defined(OS_MAC) || \ +#if defined(OS_WIN) || defined(OS_MAC) || defined(OS_BSD) || \...
d93234ebfbd3861ce2889ae0bd13c2f4468f27c9
d92394ff8f07e0e2fc5260c42d8ce7c6266ecc30
/files/gameobject.cpp
096891a54122e5fc9f933297129ea45a7f55e651
[]
no_license
IreneArapogiorgi/CPP-Assignment
243533dbb821a92a7581a002f2cf46742bfa9aea
9cd60871fa5ae6610ef31b724c6887486da8c39a
refs/heads/master
2023-03-01T14:15:37.137077
2021-02-06T14:46:13
2021-02-06T14:46:13
320,896,137
0
0
null
null
null
null
UTF-8
C++
false
false
315
cpp
gameobject.cpp
#include "gameobject.h" void GameObject::draw() { // Draw game object drawRect(pos_x, pos_y, width, height, br); } GameObject::GameObject(const Game& mygame, float x, float y, float width, float height) : game(mygame), pos_x(x), pos_y(y), width(width), height(height) { } GameObject::~GameObject() { }
fd159ec4c18cabc9d043de14a6d081d2fefd7fcf
9083561a9ca4b6ef54f2f012f89813a5b45a0641
/vpr7_x2p/libprinthandler/SRC/TC_Common/TC_StringUtils.h
ebe4972f002724a87d7f8feb52085887daec94cf
[ "MIT" ]
permissive
mithro/OpenFPGA
ea825e3acaa2ffef4b46c065347edf4ed8296c31
c95fea268dc9789cf5ccecae938be8418e8f8680
refs/heads/master
2020-08-10T10:37:04.332111
2019-07-27T21:20:53
2019-07-27T21:20:53
214,326,071
2
0
MIT
2019-10-11T02:28:43
2019-10-11T02:28:43
null
UTF-8
C++
false
false
2,147
h
TC_StringUtils.h
//===========================================================================// // Purpose : Function prototypes for miscellaneous helpful string functions. // //===========================================================================// #ifndef TC_STRING_UTILS_H #define TC_STRING_UTILS_H #include <string> using na...
3fcd1e974753917a54b11c692ba139d8ea005978
b9404a88c13d723be44f7c247e1417689ce7981a
/SRC/External/stlib/packages/array/ArrayBase.h
88b3efaf20aa1ec335c7dee753df4254d6b69da1
[ "BSD-2-Clause" ]
permissive
bxl295/m4extreme
c3d0607711e268d22d054a8c3d9e6d123bbf7d78
2a4a20ebb5b4e971698f7c981de140d31a5e550c
refs/heads/master
2022-12-06T19:34:30.460935
2020-08-29T20:06:40
2020-08-29T20:06:40
291,333,994
0
0
null
null
null
null
UTF-8
C++
false
false
3,889
h
ArrayBase.h
// -*- C++ -*- /*! \file array/ArrayBase.h \brief Base class for arrays. */ #if !defined(__array_ArrayBase_h__) #define __array_ArrayBase_h__ #include "IndexTypes.h" #include "IndexRange.h" namespace array { //! Base class for arrays. class ArrayBase { // // Types. // privat...
7051845c81bbc5f24543a72796f40efcee8e6e7b
deb94701d969da811dcd53143c9468692941338c
/Labs/lab-arrays/diceplot.cpp
d1072e1d816beac37ccd84e9b5700f8cca9220ae
[]
no_license
DominatingDonut/CSCI-103
c5849303a8a2eac27f5190eb56085a13a461a242
c763ec38fd3a5385d4c2b40bb8e90cc6c2341790
refs/heads/master
2021-05-21T09:18:52.771865
2018-06-07T10:28:17
2018-06-07T10:28:17
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,486
cpp
diceplot.cpp
#include <iostream> #include <cstdlib> using namespace std; /* Written by: Stanley Kim Email: stanlejk@usc.edu Diceplot: Takes an integer, n, from the user, and plots out a histogram showing the results of n experiments. Each experiment records the sum of 4 dice rolls. */ int roll(); void pr...
d6fabbbbf89976dcfeede08f387787391dd93937
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_1482494_0/C++/pchenz/b.cc
48bc0e51eb1dfa7c687ade67ac61675eca17b3a6
[]
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,600
cc
b.cc
#include <cstdio> #include <algorithm> using namespace std; #define MAX_LEN 1005 typedef struct { int a; int b; int s; }Item; Item buf[MAX_LEN]; Item * bufa[MAX_LEN]; Item * bufb[MAX_LEN]; void print(Item **x, int n) { for (int i=0; i<n; i++) { printf("%d:%d %d->%d\n", i, x[i]->a, x[i]->b, x[i]->s); } } ...
412b42b0aef2f1a5d42f929329d49054c7820f25
c15f487ef96abcf034bd2b1e55e018f525f95c8b
/Source/Project_ESTRA/Public/Turret/TurretAIController.h
0aeb2aa5ff2f571a17143736a7349c0034125944
[]
no_license
Everixel/Project_ESTRA
9d0aff1d896cdea531bee0903586dbcd33724b50
12650436f7063e8bb15656369f107cffc129c19e
refs/heads/master
2020-04-09T06:45:00.315286
2019-01-02T10:09:59
2019-01-02T10:09:59
160,125,504
0
0
null
null
null
null
WINDOWS-1258
C++
false
false
841
h
TurretAIController.h
// Fill out your copyright notice in the Description page of Project Settings. #pragma once #include "CoreMinimal.h" #include "AIController.h" #include "BehaviorTree/BehaviorTree.h" #include "BehaviorTree/BlackboardComponent.h" #include "TurretAIController.generated.h" /** * */ UCLASS() class PROJECT_ESTRA_API ...
c24c06ee79571a751fbaa3dd66838cbcde1d28bf
32acecf9f1040c263da9c8bc7033073d8caf3311
/c++/d4/d4_3819_p_최대부분배열_틀렸다고하지만end.cpp
4cdf3c673a9b316a8addd9ec2755b176bd4b9847
[]
no_license
diterun/AlgorithmCode
c951a0a69622fd917c303eccde8bb9d5c532a612
24b4b0033f5366bccee9a166a0876c4232f74ae5
refs/heads/master
2020-04-18T00:52:28.842500
2020-02-27T01:37:06
2020-02-27T01:37:06
167,095,115
0
0
null
null
null
null
UTF-8
C++
false
false
527
cpp
d4_3819_p_최대부분배열_틀렸다고하지만end.cpp
#include<iostream> using namespace std; #define MAX 200001 #define getMax(a, b) (a > b ? a : b) int A[MAX], n; int processing(){ int sum = 0; for(int i = 0; i < n; i++){ sum += A[i]; sum = getMax(sum, 0); } return sum; } // 데이터 입력 void inputData(){ cin >> n; for(int i = 0; ...
5c59f1c15434d017221f16bc62b6cc26dc5da311
99d9e52202b7f00d870dd41ed40c98499165b380
/src/selfie_stm32_bridge/src/usb.cpp
cbbd79c9f3718bb18bdc30e4d0bf58aef44d91e0
[ "BSD-3-Clause" ]
permissive
luroess/selfie_carolocup2020
6329ec1e2329a3a00bb2014e68ed20e84c2faa02
9a28805f37cfe3462d94ddcc06ea94ed17ce2115
refs/heads/master
2020-12-18T11:53:10.552700
2019-12-11T20:11:46
2019-12-11T20:11:46
null
0
0
null
null
null
null
UTF-8
C++
false
false
5,271
cpp
usb.cpp
#include <selfie_stm32_bridge/usb.hpp> int USB_STM::init(int speed) { char port[] = "/dev/serial/by-id/usb-KNR_Selfie_F7_00000000001A-if00"; //char port[] = "/dev/serial/by-id/STM32F407"; fd = open(port, O_RDWR | O_NOCTTY | O_SYNC); if (fd < 0){ ROS_ERROR("Could not open serial communication on port!.\n Ma...
d70c241a539efa4e280ecc193e5776d7cbbf5e07
03bf03cc21bfc44f473d3c1265563da9a9d4acbe
/MultiTranslator/MTDEV/Dialogs/FindInFilesDlg.h
1333c888ecfd117f721a02709e400580f4c8d1fc
[]
no_license
15831944/Cpp-7
4606f7b0bbb63d0d0795c283bcde78ba5e2bdbe0
c7ffd07379f4f39cc9b1d24b5e8bfe8f7c1ad9bd
refs/heads/master
2023-03-16T18:35:11.729612
2017-06-09T08:06:03
2017-06-09T08:06:03
null
0
0
null
null
null
null
WINDOWS-1251
C++
false
false
2,807
h
FindInFilesDlg.h
/******************************************************************** created: 2002/06/15 created: 15:6:2002 9:28 filename: $(Projects)\sources\mtdev\dialogs\findinfilesdlg.h file path: $(Projects)\sources\mtdev\dialogs file base: findinfilesdlg file ext: h author: Fadeyev...
46026461fdfb93382d739104c11b9457f5c93cc0
9c346ccb24363c004dd0b89533c7e75a78240721
/src/RMSEupdate.cpp
2572545c7f8a7223f385bd155e0594cea4d78ea0
[]
no_license
shreyatpandey/Pattern-Recognition-for-OSM-Data
047a9e9b1bc459ed96ece27ffc101bea3f166627
0c41932abc59aeabac812f7e85974dc90790402b
refs/heads/master
2023-07-07T11:54:44.820190
2023-07-04T16:38:54
2023-07-04T16:38:54
129,358,952
0
0
null
null
null
null
UTF-8
C++
false
false
5,013
cpp
RMSEupdate.cpp
#include <iostream> #include <fstream> #include <sstream> #include <string> #include <math.h> /*#include "preprocessing.h"*/ using namespace std; #define nofFeatures 2 #define FLOAT_MAX 33554430 void printArray(double arr[],int n){ for (int i = 0; i < n;i++){ cout << arr[i]<<" "; if((i%10)==9) ...
5a810e349b3c093d6fb4c886801643dbf71af1d5
2ea14dcc11ec462f6211bb414fcb826b22900f68
/1755.cpp
29792c209905787039e1473b4d2dc5828b892557
[]
no_license
netanel0909/Cses
f0d7c2a5ed8a474e81560ab3dd421df4736a0ca9
300f99cefeb0271a83829d939870b77e7b78f4d4
refs/heads/master
2021-04-22T02:31:10.761206
2020-03-25T05:31:30
2020-03-25T05:31:30
249,844,080
0
0
null
null
null
null
UTF-8
C++
false
false
942
cpp
1755.cpp
#include<iostream> #include<string> #include<vector> #include<algorithm> #define MAX 1000000007 using namespace std; int main() { string str; cin >> str; vector<char> r; int cnt = 0; vector<long long int> a(26, 0); for(auto i : str) { a[i - 'A']++; } for(auto i : a) { ...
b828e7a82edf082c80449344b7c09ff7d946da0d
5d334d89e22028b95d4924a42bc0623fe013316d
/modules/core/core/osx/CocoaInterface.h
da61243d2f477a7f64df8be7b95374adfe9efe85
[]
no_license
alxarsenault/axlib
e2369e20664c01f004e989e24e595475bdf85e5d
b4b4241ffc9b58849925fe4e8b966e8199990c35
refs/heads/master
2021-06-18T12:23:08.901204
2017-07-13T17:26:40
2017-07-13T17:26:40
64,876,596
6
1
null
null
null
null
UTF-8
C++
false
false
1,284
h
CocoaInterface.h
#pragma once #include <string> #include "Util.hpp" namespace cocoa { void AddEventToDispatchQueue(); void HideMouse(); void ShowMouse(); std::string OpenFileDialog(); std::string SaveFileDialog(); ax::Size GetScreenSize(); std::string GetPasteboardContent(); void SetPasteboardContent(const std::stri...
5b844bb3e96371ca60a8c44ced59be48b41fb22a
31aa0bd1eaad4cd452d0e2c367d8905f8ed44ba3
/algorithms/increasingTripletSubsequence/increasingTripletSubsequence.cpp
6fc425c14aa105b5d8e9824408fe10a4daca6bd1
[]
no_license
Sean-Lan/leetcode
0bb0bfaf3a63d483794a0e5213a983db3bbe6ef6
1583c1b81c30140df78d188c327413a351d8c0af
refs/heads/master
2021-04-19T02:49:33.572569
2021-01-04T01:40:06
2021-01-04T01:40:06
33,580,092
3
0
null
null
null
null
UTF-8
C++
false
false
1,769
cpp
increasingTripletSubsequence.cpp
/** * * Sean * 2017-06-30 * * https://leetcode.com/problems/increasing-triplet-subsequence/#/description * * Given an unsorted array return whether an increasing subsequence of length 3 exists or not in the array. * * Formally the function should: * Return true if there exists i, j, k * such that arr[i] < ar...
7b494d99e19a4bff0033bcbc5be31faa5163991e
85ea5e5080681aceef16dd73e85ad56644080da3
/tensorvis/TensorDataFileProvider.h
5c3ec1456c0f89fac53d193b7fa21a3acccc466e
[]
no_license
shermnonic/sdmvis
b7f18517631f6db04b54679e1935d22eb2254dbb
ec8ed51a181c968386c2d191175129c347777866
refs/heads/master
2022-12-17T22:34:01.959489
2020-09-25T19:32:56
2020-09-25T19:32:56
298,663,032
0
0
null
null
null
null
UTF-8
C++
false
false
1,590
h
TensorDataFileProvider.h
#ifndef TENSORDATAFILEPROVIDER_H #define TENSORDATAFILEPROVIDER_H #include "TensorDataProvider.h" #include "TensorData.h" #ifndef VTKPTR #include <vtkSmartPointer.h> #define VTKPTR vtkSmartPointer #endif // Forwards class vtkImageData; /// Thin wrapper around \a TensorData to load our custom raw tenso...
7f16cfc121a68da718f5294b55a0cf027bf70862
0f20f7612184e447ae037606711ae9b208c5f8d6
/ElasticFile/include/TEFileCursor.h
4a8628ef94aae74597b0e442ab04c5c49da24a03
[]
no_license
skalexey/elastic_file_framework
e5703a685b770827700d710bb43fd73598544573
b12f11c06f4a83bda59fc2f1a102aea739980bbf
refs/heads/master
2021-06-27T03:13:59.145963
2017-09-14T12:57:49
2017-09-14T12:57:49
103,531,413
0
0
null
null
null
null
UTF-8
C++
false
false
951
h
TEFileCursor.h
#pragma once #include <efile_types.h> class ElasticFile; class TEFileCursor { public: TEFileCursor(ElasticFile& file); ~TEFileCursor(void); void SetPosition(const size_file_t& offset, TEFileCursorMoveMode mode); const size_file_t& GetPosition(); void Update(TEFileSectorsList::iterator sector); void Update(TEFi...
1a52de63e132e087da4e6b2699bda1be570d959c
3a7628f8de0697e920e013d6705f4e58aa45f341
/源代码/YZCG/mainwindow.cpp
b5d35890c1fb5814163ecc94f8d41968fd34b5ce
[ "MIT" ]
permissive
mamatalim/YZCG
dfd6872acef377195de7be3fb4358db54af65c2b
15b9cc7391606c2e5c09066c72c1fdfa204699d3
refs/heads/master
2022-06-02T12:06:37.606702
2019-08-16T09:08:11
2019-08-16T09:08:11
null
0
0
null
null
null
null
UTF-8
C++
false
false
9,617
cpp
mainwindow.cpp
#include "mainwindow.h" MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent) { initUI(); //DockWidget - ExplorerWidget explorer = new ExplorerWidget; QDockWidget *leftDock = new QDockWidget(tr("文件系统"),this); leftDock->setAllowedAreas(Qt::LeftDockWidgetArea); leftDock->setWidget(exp...
406b6ea1399d037e0fa9f2efbe62d747a481d197
23e29dd9514bc137306f38515408a8ae45e5e076
/test/pre_test.cpp
a433dafb657f7f997bf21326c6464a6a39c69c72
[]
no_license
mokoing/kbqa2018
4383580b65576f7501f7aa32340e8cbe67a1e414
ead08a7366bda5446dad4c0240dbee93f04043a7
refs/heads/master
2020-04-08T10:29:34.052553
2018-03-02T06:31:46
2018-03-02T06:31:46
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,260
cpp
pre_test.cpp
#include <iostream> #include "utils.h" #include <pthread.h> #include "logger.h" #include "preprocessor.h" preprocess_dict* pdict; pthread_mutex_t global_mutex; int qid; void* run_preprocess_thread(void* dict){ Question question; Preprocessor thread; if (thread.thread_init() != 0){ Logger::logging("thread init e...
71d515c7b9eea61c1d01b275e4355d16f770068a
0271b7f67d29e0aaedb60f7d917c083515ccd0fe
/Contests/Codeforces/Codeforces Round #560 (Div. 3)/a-remainder.cpp
aa5b264b7529265bef9c5b127930211663fb5f8d
[ "MIT" ]
permissive
Pradyuman7/AwesomeDataStructuresAndAlgorithms
bfe1f335487f3f9ed94bb68073c0f29766738ea8
6d995c7a3ce2a227733b12b1749de647c5172e8e
refs/heads/master
2020-04-06T17:33:05.673731
2019-10-07T10:46:36
2019-10-07T10:46:36
157,664,451
7
0
MIT
2019-07-19T06:40:45
2018-11-15T06:39:53
Java
UTF-8
C++
false
false
449
cpp
a-remainder.cpp
#include<math.h> #include<iostream> using namespace std; int main() { int n,x,y; cin>>n>>x>>y; char num[n]; for(int i=0;i<n;i++) cin>>num[i]; int steps=0; for(int i=n-1;i>n-1-x;i--) { // cout<<i<<" "<<num[i]<<" "; if(n-1-i==y) { if(num[i]!='1') { steps++; // cout<<"inc\n"; }...
7ca2e2d5d410256fecfffc7fcd04b95c963b3a0b
51635684d03e47ebad12b8872ff469b83f36aa52
/external/gcc-12.1.0/gcc/genextract.cc
6259cb57908399e1bb5f52eba8e6b34eed2cb8cf
[ "Zlib", "LicenseRef-scancode-public-domain", "LGPL-2.1-only", "FSFAP", "LGPL-3.0-only", "GPL-3.0-only", "GPL-2.0-only", "GCC-exception-3.1", "LGPL-2.0-or-later" ]
permissive
zhmu/ananas
8fb48ddfe3582f85ff39184fc7a3c58725fe731a
30850c1639f03bccbfb2f2b03361792cc8fae52e
refs/heads/master
2022-06-25T10:44:46.256604
2022-06-12T17:04:40
2022-06-12T17:04:40
30,108,381
59
8
Zlib
2021-09-26T17:30:30
2015-01-31T09:44:33
C
UTF-8
C++
false
false
13,101
cc
genextract.cc
/* Generate code from machine description to extract operands from insn as rtl. Copyright (C) 1987-2022 Free Software Foundation, Inc. This file is part of GCC. GCC 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 Foundat...
f03fe2868479a8f5bd1fabb6829b96b0bff5c135
d46781119d149425c22352155987a2d984c7b230
/src/settings.cpp
2ce6934d1858b07d3240a2d6c0597870e6f269d5
[]
no_license
LZP-2020-1-0200/Niagara2
e94d2b6f6e751eee0c49b117d327637957958025
1da409ad22f525b379e30af485c0154e43e8c251
refs/heads/main
2023-04-15T21:08:01.368824
2021-04-19T13:24:03
2021-04-19T13:24:03
345,391,538
0
0
null
null
null
null
UTF-8
C++
false
false
694
cpp
settings.cpp
#include "settings.h" #include "LittleFS.h" #include "buffers.h" Settings settings; Settings::Settings(/* args */) { } void Settings::load(void) { Serial.begin(DEFAULT_BAUD); if (LittleFS.begin()) { File f = LittleFS.open("/banner.txt", "r"); if (!f) { Serial.println(F...
5bc564e16b24c4a9f29820265b08d14a7067616b
377d69a058a0b5a1c66352fe7d5f27c9ef99a987
/14_dynamic_programming/exercises/14.1-4.cpp
462ed993999ba6929e08873cc060940cd5ff5921
[ "Apache-2.0" ]
permissive
frozenca/CLRS
45782d67343eb285f2d95d8c25184b9973079e65
408a86c4c0ec7d106bdaa6f5526b186df9f65c2e
refs/heads/main
2022-09-24T14:55:38.542993
2022-09-12T02:59:10
2022-09-12T02:59:10
337,278,655
55
15
null
null
null
null
UTF-8
C++
false
false
318
cpp
14.1-4.cpp
#include <14_dynamic_programming/inc/easy.h> #include <iostream> #include <vector> int main() { namespace fc = frozenca; using namespace std; vector<fc::index_t> p{1, 5, 8, 9, 10, 17, 17, 20, 24, 30}; cout << fc::cut_rod_memoized(p) << '\n'; cout << fc::cut_rod_memoized_half(p) << '\n'; }
506679c9af7f3bd4d8435f942fbb055e0d6687d6
581d6eeb48dbd442dca27c1fa83689c58ffea2c9
/Sources/Elastos/LibCore/src/elastos/net/CInet6AddressHelper.cpp
5a3eed28f5b7674cda2ef2bde150cf26cbc22aec
[ "Apache-2.0" ]
permissive
TheTypoMaster/ElastosRDK5_0
bda12b56271f38dfb0726a4b62cdacf1aa0729a7
e59ba505e0732c903fb57a9f5755d900a33a80ab
refs/heads/master
2021-01-20T21:00:59.528682
2015-09-19T21:29:08
2015-09-19T21:29:08
42,790,116
0
0
null
2015-09-19T21:23:27
2015-09-19T21:23:26
null
UTF-8
C++
false
false
778
cpp
CInet6AddressHelper.cpp
#include "CInet6AddressHelper.h" #include "CInet6Address.h" namespace Elastos { namespace Net { CAR_INTERFACE_IMPL(CInet6AddressHelper, Singleton, IInet6AddressHelper) CAR_SINGLETON_IMPL(CInet6AddressHelper) ECode CInet6AddressHelper::GetByAddress( /* [in] */ const String& host, /* [in] */ ArrayOf<Byte>* a...
12b9cd1e6fdc67d2c92dd8712cac12b17593df89
ec6b160394c66ab8731646518fcce620ee2abe8a
/leetcode/122. Best Time to Buy and Sell Stock II.cpp
2843211c1110ad3c74f12f07fc072ed1b05fb5f8
[]
no_license
LilySpark/Algorithm
d4e251c56e3a9ed76496409042d251652efc0000
f9a4e3f5ca9479dfdde2feeabd4f44976662ee9b
refs/heads/master
2021-01-10T16:55:41.835979
2016-04-10T06:14:43
2016-04-10T06:14:43
50,002,104
0
0
null
null
null
null
UTF-8
C++
false
false
820
cpp
122. Best Time to Buy and Sell Stock II.cpp
#include <iostream> #include <vector> using namespace std; /* 本题由于是可以操作任意次数,只为获得最大收益,而且对于一个上升子序列, 比如:[5, 1, 2, 3, 4]中的1, 2, 3, 4序列来说,对于两种操作方案: 1 在1买入,4卖出 2 在1买入,2卖出同时买入,3卖出同时买入,4卖出 这两种操作下,收益是一样的。 所以可以从头到尾扫描prices,如果price[i] – price[i-1]大于零则计入最后的收益中。 即贪心法 */ class Solution { public: i...
725c729d44bd23ad43c809574af60a1b4b8655be
1ee212a65c442fc16b4b0d39d58c726fb8b9305e
/Appartement.cpp
38ed0f7e1fc7327418931438148b35a29f7e5acd
[]
no_license
MarinaBoudin/POO_agence
bd27fe222f454cc77d1d8d391ac69640818db184
0ab5a4819980c697dbd36a755658062753fec20e
refs/heads/master
2020-04-26T23:35:02.667137
2019-04-19T17:40:49
2019-04-19T17:40:49
173,906,683
0
1
null
null
null
null
UTF-8
C++
false
false
1,861
cpp
Appartement.cpp
#include "Appartement.h" #include "Adresse.h" #include "Bien.h" #include "Acheteur.h" #include <iostream> #include <map> #include <vector> using namespace std; Appartement::Appartement(Adresse _adresse, int _prix, int _m2, int _ref_client, int _pieces, int _etage, bool _garage, bool _cave, boo...
75cce054069e7c12353e69cc2949640824c48930
f0d46b324b0123f5e7f0b290136e1a149db57c58
/components/phase_space_sheet/sheets_macros.h
7deda1e58669d4eb521ff90f740cd2e947556cfb
[ "MIT" ]
permissive
cwru-pat/cosmograph
916713097013ccc25885a4d62d7a2595106fff99
dbd0cb1014666ad47fbbb48831989a1b79923eb0
refs/heads/master
2023-08-10T17:46:12.066807
2019-10-21T21:05:44
2019-10-21T21:05:44
20,486,997
9
2
MIT
2019-10-21T20:31:18
2014-06-04T14:31:45
C++
UTF-8
C++
false
false
2,695
h
sheets_macros.h
#ifndef SHEET_MACROS #define SHEET_MACROS #define SET_GAMMAI_DER_ZERO(I) \ d##I##gammai11_a(i, j, k) = 0.0; \ d##I##gammai22_a(i, j, k) = 0.0; \ d##I##gammai33_a(i, j, k) = 0.0; \ d##I##gammai12_a(i, j, k) = 0.0; \ d##I##gammai13_a(i, j, k) = 0.0; \ d##I##gammai23_a(i, j, k) = 0.0 #define SET_GAMMAI_DER(...
ae85b407bfdaa9d705159926442a38306827e08f
aa560fae08d07b3eae4b9abfa4039e270d84ea4c
/SocketService/socketservice.cpp
fbbb0b99a346db911baa4785c5758afdfa650ef8
[]
no_license
519984307/ContainerOfMiddleware_20201113
2ac404b8d171f140ae8ebe83a2642c26d22cbfd7
9d0b04d8fe80c2a0e7e79520a54b49f9da639dad
refs/heads/master
2023-05-31T09:07:24.713056
2021-07-07T07:27:07
2021-07-07T07:27:07
null
0
0
null
null
null
null
UTF-8
C++
false
false
5,552
cpp
socketservice.cpp
#include "socketservice.h" SocketService::SocketService(QObject *parent) { this->setParent(parent); heartBeat=false; isConnected=false; pTcpServer=nullptr; pTcpSocket=nullptr; pTimerLink=nullptr; } SocketService::~SocketService() { if(pTcpSocket!=nullptr){ pTcpSocket->abort(); ...
5cd7415fd538228ebb01098255ac5ef1ad7a4b36
aa9efd961d751b33f64531a908f8b5b650b24f48
/Network/TCPClientConnection.cpp
a19392f525b2e0051d2ed8b7f9d1a92b50e0a2ec
[]
no_license
gaper94/LoveLetter
f91ab6e9e86c9ceb3ef9b38c4760b261aad7d984
73395d2e79a0f13480c073e6ff19f815aa36d230
refs/heads/master
2020-03-09T22:34:45.390357
2018-04-21T16:05:44
2018-04-21T16:05:44
129,037,360
0
0
null
null
null
null
UTF-8
C++
false
false
3,728
cpp
TCPClientConnection.cpp
#include "TCPClientConnection.h" #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <string.h> #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <netdb.h> #include <fcntl.h> TCPClientConnection::TCPClientConnection( const std::string& address, ...
b0c0d437ea456080c5b793208edfbd2a12b17f9e
8d46b233583965b403cb1dfaa26b06b48940a880
/ihm_creerreservationchoixequipement.h
cf31c5ae1b2056d39476bc78927bdda095442ccb
[]
no_license
GamerBishop/projetENT_GL
8e9f91c6c53fea91d20115a380b5f522c181b004
aa8bea50ae02e7bf6d39f3e58f5acda5fa424978
refs/heads/master
2021-01-19T12:58:23.904366
2014-04-04T11:53:19
2014-04-04T11:53:19
null
0
0
null
null
null
null
UTF-8
C++
false
false
598
h
ihm_creerreservationchoixequipement.h
#ifndef IHM_CREERRESERVATIONCHOIXEQUIPEMENT_H #define IHM_CREERRESERVATIONCHOIXEQUIPEMENT_H #include <QMainWindow> #include "BDD.h" namespace Ui { class IHM_CreerReservationChoixEquipement; } class IHM_CreerReservationChoixEquipement : public QMainWindow { Q_OBJECT public: explicit IHM_CreerReservationChoix...