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
063588b8b3dc497d27f628d70da9ba6c04356620
2624b1062f58a25610fe6c5a8fd197feba76f539
/pref/scatter_pref1.cpp
632256fb241031f3eee7bb6a90561c5e477e59d1
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Survival12138/GaussianElimination
e4fbe4619f278d78ee9aa5bf6c612ecd228ebac7
d31cfc5325702e5ceb8e8fa381916a837d5837c2
refs/heads/master
2023-04-14T13:44:52.535295
2019-10-13T06:25:04
2019-10-13T06:25:04
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,719
cpp
scatter_pref1.cpp
/*/////////////////////////////////////////////////////////////////////////////////////// // // MIT License // // Copyright (c) 2019 Mohamad Ammar Alsherfawi Aljazaerly (AKA Jasam Sheja) // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation ...
6ab03a6dec60dd211459d81405f4dc2e6d63e737
774e32df20ec1fc5e88d4319e5e413d5f5342cec
/ACM/134.cpp
cd0bf009c7e2e73d5c616b29c9605968f034270a
[]
no_license
pokleung5/coding-challenges
83d7dc9e21b3af22bb5235d34b913c807676060b
3c7209c011d9cf924dc798c97f88a814f31f9d58
refs/heads/master
2023-04-03T06:41:02.488550
2021-04-12T16:47:11
2021-04-12T16:47:11
279,652,963
0
0
null
null
null
null
UTF-8
C++
false
false
1,421
cpp
134.cpp
/***************************************** * (This comment block is added by the Judge System) * Submission ID: 77568 * Submitted at: 2019-02-11 22:46:39 * * User ID: 621 * Username: 54795701 * Problem ID: 134 * Problem Name: Dominos 2 (UVa 11518) */ #include <stdio.h> #include <cstring> #incl...
23506706b0f4b94785a88b5b499af215e1904395
02624fc82fff3045c2759f91acaa06a8850f40b7
/recursion/towerOfHanoi.cpp
133da5c0a6f49420545f8fcd0ee5c6d828102eb2
[]
no_license
paviravirp/dataStructures
b2849b35f4cfbaccc0ebe29f982ac63f337f4b51
b757b26ff5942b742253cd1656708db44596a1e2
refs/heads/master
2020-07-20T07:41:16.742887
2019-09-18T14:38:04
2019-09-18T14:38:04
206,600,551
0
0
null
null
null
null
UTF-8
C++
false
false
644
cpp
towerOfHanoi.cpp
#include <iostream> using namespace std; void towerOfHanoi(int num, char from, char to, char aux) { if(num == 1) { cout << "Move disk 1 from " << from << " to " << to << "\n"; return; } towerOfHanoi(num - 1, from, aux, to); cout << "Move disk " << num << " from " << from << " to " << to...
d21ec2a947d509e105a10150b2bd07638ef839f5
785df77400157c058a934069298568e47950e40b
/TnbCad2d/TnbLib/Cad2d/Intersection/Edge/Cad2d_EdgeEdgeIntersection.cxx
171d8508bb343907c3eff04bb8d9270d262d30be
[]
no_license
amir5200fx/Tonb
cb108de09bf59c5c7e139435e0be008a888d99d5
ed679923dc4b2e69b12ffe621fc5a6c8e3652465
refs/heads/master
2023-08-31T08:59:00.366903
2023-08-31T07:42:24
2023-08-31T07:42:24
230,028,961
9
3
null
2023-07-20T16:53:31
2019-12-25T02:29:32
C++
UTF-8
C++
false
false
8,328
cxx
Cad2d_EdgeEdgeIntersection.cxx
#include <Cad2d_EdgeEdgeIntersection.hxx> #include <Global_Macros.hxx> #include <Pln_Curve.hxx> #include <Pln_Edge.hxx> #include <Pln_Tools.hxx> #include <Cad2d_IntsctEntity_OrthSegment.hxx> #include <Cad2d_IntsctEntity_TangSegment.hxx> #include <Cad2d_IntsctEntity_Pair.hxx> #include <TnbError.hxx> #include <OSstream....
6cf3481e175c2449a7671c935ba1fabb357d4369
454ad04d2d9cd6218b61199f8d9c1e153fba3cb9
/file 2/complex.cpp
dd05aefe3c0b59e2e13d188650e45424aea14c2e
[]
no_license
STEPin104272/cpp-intermediate-assignment
21dc3a71ffee51ede0d609a4878aa2880bc78540
6f2bee60b7f685ae2b1d1eef771134abfd2c3e5d
refs/heads/main
2023-02-08T17:14:44.877683
2020-12-23T11:37:21
2020-12-23T11:37:21
323,599,855
0
0
null
null
null
null
UTF-8
C++
false
false
734
cpp
complex.cpp
ifndef __COMPLEX_H #define __COMPLEX_H class Complex { int m_real; int m_imag; public: Complex::Complex(int real,int imag):m-real(0),m_imag(0); { } Complex::Complex(int):m_real(0),m_imag(0); { } Complex::Complex:: operator+(constant Complex& ref) { return Complex(this->m_real+ref.m_real, his-...
05945be254a35f8597cbfe97506220ffd56db1f4
ae82e05a0b1849cdcc7b2b60c19191f4aa368fbe
/DeviceAdapters/PVCAM/PvRoiCollection.cpp
dbadd4975041183bc6d29d89a8b2dfbcef0556b5
[ "BSD-3-Clause" ]
permissive
mdcurtis/micromanager-upstream
efd0cd7c2dedc46a7015f18f19416ad556619e09
64852cd70f06eb3def0803d40f773c381f8d8f68
refs/heads/master
2020-04-06T07:01:44.069682
2016-07-14T21:16:22
2016-07-14T21:16:22
6,999,340
9
11
null
null
null
null
UTF-8
C++
false
false
5,354
cpp
PvRoiCollection.cpp
#include "PvRoiCollection.h" #include <stdexcept> #include <vector> //============================================================================= PvRoiCollection::PvRoiCollection() : m_capacity(0), m_rois(), m_impliedRoi(0,0,0,0,1,1), m_rgnTypeArray(NULL) { Clear(); } PvRoiCo...
2a1886f5f3c91c7a4a0d9d88ec5c434c216cdb31
e2887d9989fdc84a91d02a25d3cc41bf79875924
/MemoryGameV2/src/main.cpp
65bff1d56e6b26100869faba1af7205e5ec8d646
[]
no_license
d-r-72/Memory-GameV2
6ab4f41d45a2e32852913c68dd1b7a789f71883c
3a3f949e1f814039cd10ba3ad3fcdd6b64cbde49
refs/heads/master
2021-01-19T05:07:44.485762
2016-07-06T23:05:50
2016-07-06T23:05:50
62,677,287
0
0
null
null
null
null
UTF-8
C++
false
false
114
cpp
main.cpp
#include <iostream> #include "Game.h" int main(int argc, char* args[]) { Game game; game.Init(); return 0; }
449555070d539ce5469da6822edea657697fe513
86e4eac7ec03c6e959b3e55ae98377d826627c25
/sources/pch.h
cbc27f231b25ad1d64b56346d9766adf8ebffac2
[ "MIT" ]
permissive
Kartonagnick/sqlitedb
a85e0df08742f97910e834e749ef49776ca4261a
307221d1c6b5a96aa04c8c951e61d7af186a9fda
refs/heads/master
2023-03-05T01:11:11.023929
2021-02-18T17:39:37
2021-02-18T17:39:43
332,066,017
0
0
MIT
2021-02-11T17:36:46
2021-01-22T21:25:29
C
UTF-8
C++
false
false
544
h
pch.h
#pragma once #ifdef _MSC_VER #pragma message("pch -> enabled") #include <sqlitedb/confbuild.hpp> #pragma message("sqlitedb: " dFULL_VERSION) #ifdef STABLE_RELEASE #pragma message("Build stable release version") #else #pragma message("Build development version") #endif #endif ...
7e97e074dee60b236db4c96eef7b60637876ab1e
61f81f1d0c79a06ea7acfbfabd8c76bd4a5355e0
/OpenWAM/Source/1DPipes/TPortExtHeat.cpp
7e6a32849bcd6fbf07c2eb2da86fa52bbf00a991
[]
no_license
Greeeder/Program
8e46d46fea6afd61633215f4e8f6fd327cc0731f
b983df23d18a7d05a7fab693e7a9a3af067d48a5
refs/heads/master
2020-05-21T22:15:32.244096
2016-12-02T08:38:05
2016-12-02T08:38:08
63,854,561
3
0
null
null
null
null
WINDOWS-1250
C++
false
false
1,750
cpp
TPortExtHeat.cpp
/* * TPortExtHeat.cpp * * Created on: 3 de feb. de 2016 * Author: farnau */ #include "TPortExtHeat.h" TPortExtHeat::TPortExtHeat() { TComponentArray_ptr Water; Water->resize(1); Water->at(0) = make_shared<TChH2Ol>("Water", __R::Universal, __PM::Air); Cooler = new TFluid(Water); Rho = Eigen::VectorX...
0bed4b994ece15c7692b55bed46c75b43146b05f
87f7bcbca0ee9cfabb6192054e51eb895a5b4a0a
/DataHelper/MemoryDBHelper.cpp
555f1ed2cb6cbf90fe529406e6085f934e587c91
[]
no_license
zhengbenchang/Baolong
54fefaff2d40f4af345288daf33c8e5c9023c837
aea6267d67ca21a1a6a1da3888408308b7ca6c6b
refs/heads/master
2022-01-05T23:27:17.159649
2018-09-25T00:49:27
2018-09-25T00:49:27
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,261
cpp
MemoryDBHelper.cpp
#include "MemoryDBHelper.h" MemoryDB m_db; /** * @brief 构造函数 */ MemoryDB::MemoryDB() { pthread_rwlock_init(&m_lock,NULL); } /** * @brief 析构函数 */ MemoryDB::~MemoryDB() {} /** * @brief 根据键名读内存数据库点 * @param 键名 * @return 找不到对应的键值对则返回空字符串 */ string MemoryDB::Read_TagMValue(string key) { pthread_rwlock_r...
64d5c0a4830c36bea9031bd70386b11ee8400285
724bc7ea92e03d244a0065dc9e85b83f855a051e
/src/GpuBuffer.h
08c9d76a8efd794b775780f5c5001d2bf9d61bc7
[ "MIT", "LicenseRef-scancode-public-domain" ]
permissive
jpystynen/vulkantoy
247dc69ae0f55995a7248ae7596284e6dc1dc822
be860c74c1a023cc9d4e49df2b7ed44d3eb24719
refs/heads/master
2020-12-30T14:00:10.969901
2017-05-26T10:07:42
2017-05-26T10:07:42
91,270,207
33
4
null
null
null
null
UTF-8
C++
false
false
10,630
h
GpuBuffer.h
#ifndef CORE_GPU_BUFFER_H #define CORE_GPU_BUFFER_H // Copyright (c) 2017 Johannes Pystynen // This code is licensed under the MIT license (MIT) #include "GfxResources.h" #include <assert.h> #include <algorithm> #include <cstdint> #include <vulkan/vulkan.h> /////////////////////////////////////////////////////////...
9ef4643b93126fb0dd8f0d7a1a01a9d90cc5aaf8
95e28e3c5169a6d7fa78b5d8d4ffbd8c3bb95714
/src/Connector.h
1b879e51ac3a7342be633be8ccfcaf64479c754a
[]
no_license
emersonmoretto/IMDB
c57763dc10ff5fcaaeafff09b8bcec9791a29f11
714fdc9ef4694a449b49f90198da48cc307792c8
refs/heads/master
2021-01-21T20:47:53.215624
2011-07-12T21:21:27
2011-07-12T21:21:27
2,038,493
1
0
null
null
null
null
UTF-8
C++
false
false
4,713
h
Connector.h
/* * Connector.h * * Created on: 09/12/2010 * Author: root */ #include <string> #include <vector> #include <iostream> #include <cstdlib> #include <iomanip> #include "DTO.h" #include "Util.h" #include "Fonetica.h" #include "Match.h" #include "Levenshtein.h" #ifndef CONNECTOR_H_ #define CONNECTOR_H_ using ...
aa6f2d6f78086916c718799b2e3498adb7a94621
7a1b36facabdda1841f152b5c1578bef5c028fb6
/j03-h2-GroupTP/src/managers/GameManager.cpp
7b970b60275088b20ac56cf67b30683176bd232b
[]
no_license
guyllaumedemers/OpenGL-Wolfenstein
2532f52565bf844e0c3e743564e095dc4386994c
b471882447ea923017a09d49455b0408bda1d898
refs/heads/master
2023-05-24T11:31:25.368389
2021-06-16T13:56:12
2021-06-16T13:56:12
367,066,124
1
2
null
null
null
null
UTF-8
C++
false
false
6,650
cpp
GameManager.cpp
// // Created by gdemers on 12/7/2020. // #include "GameManager.h" bool keyPressed = false; GameManager::GameManager() { window = nullptr; context = nullptr; isRunning = false; state = nullptr; m_player = nullptr; isColliding = false; m_skybox = nullptr; uiManager = nu...
73d55c2ba3dc5ac38de7353aa347315f79da8b34
e5292428482181499e59886ad2ee50c83a504f6e
/Reference/Dynamic Programming/Kadane2D.cpp
dae48305cc37a4acb3d5ebd73aafd931af9d6788
[]
no_license
pedrohenriqueos/maratona
fa01ebfe747d647cf4f88c486e1a798b3bcdbb3d
5c9bffa2ec6a321a35c854d4800b4fe7931c1baf
refs/heads/master
2020-03-22T06:35:23.879463
2020-02-27T20:15:53
2020-02-27T20:15:53
139,644,788
0
0
null
null
null
null
UTF-8
C++
false
false
323
cpp
Kadane2D.cpp
int A[N+1][N+1],pd[N+1][N+1]; for(int i=1;i<=N;i++) for(int j=1;j<=N;j++){ scanf("%lld",&A[i][j]); pd[i][j]=pd[i][j-1]+A[i][j]; } int ans=0; for(int i=1;i<=N;i++) for(int j=i+1;j<=N;j++){ int sum=0; for(int k=1;k<=N;k++){ sum += pd[k][j] - pd[k][i-1]; if(sum<0) sum = 0; ans = max(ans, sum); } ...
fa52ff19d8a4edc430810676c0695bab5136a779
e6a06912a1ba60afc6dd690b70823464ca489918
/reglib/include/CUndeterminedAutomaton.hpp
2ea63ea79a4f4aac587ad46ed0bb01bc42dc3cba
[]
no_license
Unrealf1/RegularExpressions
80f92dbe33fe1a4c3a83641bbd9414d8bf076776
da7269581c9053153086a4aac2c7fd169a5c2596
refs/heads/master
2020-04-05T05:09:22.309428
2019-03-18T00:06:14
2019-03-18T00:06:14
156,583,283
0
0
null
2019-03-18T00:06:15
2018-11-07T17:25:07
null
UTF-8
C++
false
false
1,358
hpp
CUndeterminedAutomaton.hpp
#pragma once #ifndef CUNDETERMINEDAUTOMATON_HPP_ #define CUNDETERMINEDAUTOMATON_HPP_ //#define DEBUG_ #include <iostream> #include <set> #include <stack> #include <vector> #include "IRegularAutomaton.hpp" #include "General.hpp" #include "UniversalException.hpp" namespace Automatons { struct Node; struct Edge ...
9ef32ef36831cfe4cce534ee18155034dea9dc4c
077ad1330f77172a59c7e7621c72bb653d9ff40a
/vulkan-worker/src/common/vulkan_worker.h
bc88497c1fd6b06e1e34cd25ded6858d6470b521
[ "Apache-2.0", "LicenseRef-scancode-generic-cla" ]
permissive
google/graphicsfuzz
48e82803e0354c4a92dc913fe36b8f6bae2eaa11
aa32d4cb556647ddaaf2048815bd6bca07d1bdab
refs/heads/master
2023-08-22T18:28:49.278862
2022-03-10T09:08:51
2022-03-10T09:08:51
150,133,859
573
155
Apache-2.0
2023-09-06T18:14:58
2018-09-24T16:31:05
Java
UTF-8
C++
false
false
5,988
h
vulkan_worker.h
// Copyright 2018 The GraphicsFuzz Project Authors // // 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...
c859b6dfe6f69e3c9c1baf9daef340e5d7d43d00
3aca856b8a0dbc2c4cb6a4fdd38e6514c95aa437
/src/world/Entity.cpp
6b2a53fbbf7f93e419ece3d485d835e61c7763d8
[]
no_license
bauhaus93/blocks
2d612fafe7e7a847c43f0aa78c1b8f2e20dc92f4
8b55d79752fd836e3619128169292e67c9281f8f
refs/heads/master
2021-03-22T04:21:17.198170
2018-12-03T18:37:06
2018-12-03T18:37:06
118,833,320
0
0
null
null
null
null
UTF-8
C++
false
false
1,142
cpp
Entity.cpp
/* Copyright 2018 Jakob Fischer <JakobFischer93@gmail.com> */ #include "Entity.hpp" namespace blocks { Entity::Entity(): position(0.0f), rotation(0.0f, 0.0f, 1.0f), model { glm::mat4(1.0f) } { UpdateModel(); } void Entity::UpdateModel() { model = CreateTranslationMatrix(position) * C...
acc88c33d0e09634434daa94b31dcbed30096444
c179224f29f2a718d5012a34dc96d90d7d7084f1
/Design_patterns_in_modern_cpp/src/030_Chapter_3/Workspace_unit_test.cpp
62b25cf29eb9f5bea6ee48157b2817ab3e60a677
[ "MIT" ]
permissive
NaPiZip/Programming-basics-cpp
796fd2b0c0fd526949093f2696be119c0e469294
d84bf4baa25fbcf28b12fb06be7a6270c143effc
refs/heads/master
2021-07-08T23:43:04.639204
2020-06-26T12:16:56
2020-06-26T12:16:56
137,138,652
0
0
null
null
null
null
UTF-8
C++
false
false
1,187
cpp
Workspace_unit_test.cpp
// Copyright 2019, Nawin #include "Workspace.h" #include "gtest/gtest.h" #include "gmock/gmock.h" #include <string> #include <sstream> #include <iostream> using ::testing::StartsWith; using ::testing::HasSubstr; using ::testing::StrCaseEq; using ::testing::IsTrue; using ::testing::IsFalse; using std...
5112e1de0864cfd51227a4253601ae8c8642f38f
e74fbecd30e9ca4b549e97dd3bde0e5af7ae9a2d
/HybridMarkAndCopyGC.cpp
6d3a0de4b4d993832e760c126aaef1994ac20ae4
[]
no_license
dimitroffangel/GarbageCollectors
e02938761e43a429d6f319d04e31ed899057a758
748cd1ffac5fa7485807973e943f80620da81bee
refs/heads/master
2023-07-31T01:35:20.767763
2021-09-03T05:22:35
2021-09-03T05:22:35
400,516,006
0
0
null
null
null
null
UTF-8
C++
false
false
283
cpp
HybridMarkAndCopyGC.cpp
#include "HybridMarkAndCopyGC.h" void HybridMarkAndCopyGC::VisitReference(Object* from, Object** to, void* state) { const auto insert = m_Visited.insert(*to); if (insert.second) { (*to)->VisitReferences(this, state); } } void HybridMarkAndCopyGC::SetRoot(Object** root) { }
087d62746f35660e54207d93cf45c15bec4e4640
fb05550d4ddd7dfdff0eec74e804a0e3abe93f03
/include/object/material/seperable.h
eb987d81c89f0e75b0adde30d7d052a790bcad1b
[]
no_license
FactorialN/chishiki
ee490ae9a95085a42e66c991f678a4eb9dddfdfc
051df0dee224efb0aa76795cdd0068ff5d21b924
refs/heads/master
2020-04-02T13:26:14.298883
2019-10-09T07:23:16
2019-10-09T07:23:16
154,480,998
2
0
null
null
null
null
UTF-8
C++
false
false
484
h
seperable.h
/* * Seperable BSSRDF. */ #ifndef __OBJECT_MATERIAL_SEPERABLE_H__ #define __OBJECT_MATERIAL_SEPERABLE_H__ #include <object/material/bssrdf.h> class SeperableBSSRDF : public BSSRDF{ private: float EPS, rr; public: SeperableBSSRDF(const float &e, const float &r); void sample_r(float &r, float &p, float &fr...
f41bf17825bee3daff1940f68dc0cb18f13f65c8
85423688e100aa844e88e8644402403c8b45a149
/letter/fixed_alphabet_letter/fixed_alphabet_letter.h
aa6e2dd9e516ac6d5301f868bc4a37ec0a35e1c6
[]
no_license
dbezhetskov/huffman
65c9871d5a0c5163c16c61779c7e8f5a9570df70
f8347fe3c925489333652633cc946567c23ada40
refs/heads/master
2023-04-04T19:08:00.656492
2021-04-12T14:43:49
2021-04-12T14:49:26
224,984,891
1
0
null
null
null
null
UTF-8
C++
false
false
4,148
h
fixed_alphabet_letter.h
#ifndef LETTER_FIXED_ALPHABET_LETTER_H_ #define LETTER_FIXED_ALPHABET_LETTER_H_ #include <algorithm> #include <array> #include <cassert> #include <climits> #include <istream> #include <memory> #include <set> #include "bit_io/bit_reader.h" #include "bit_io/bit_writer.h" #include "letter/fixed_alphabet_letter/trie.h" ...
a02b0a8d9f9c2a1b498f50ba8b0126d076e4f446
fafdff5f4a35b6fa0a433b4b957ad66830b99c52
/Function.h
9bfeab64773b88f115691ec17d3c36b72f9dfc54
[]
no_license
DavidSphar/CS5300Project
ee8f639e8cb41d96c775c717a1ab2273f9d6906f
98a5b4c40ed6a9668340d4d640f654ba45eabef1
refs/heads/master
2021-01-24T21:29:58.102280
2016-04-21T00:29:58
2016-04-21T00:29:58
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,153
h
Function.h
/* * Function.h * * Created on: Apr 7, 2016 * Author: tamnguyen */ #ifndef FUNCTION_H_ #define FUNCTION_H_ #include <iostream> #include <vector> #include <utility> #include "Type.h" class Function { public: Function(std::string n, std::vector<std::pair<std::string, std::shared_ptr<Type>>> a, std::shared_...
62b64775772af618e4c3bf4521218138582e1f3b
769a9ca492bbadcc1a5806917c2cf0e4f03c8ad8
/132. Palindrome Partitioning II/132. Palindrome Partitioning II/main.cpp
0fc1e06d9e4ad5ec06d74cba7cbe4f304d56f32b
[]
no_license
Lujie1996/Leetcode
7406c84cb6dc9bc004503691a5a4f0e7b02e0e56
1d370ce687ee4b5bde100a31d2c85c12fb78c1de
refs/heads/master
2020-04-04T09:36:05.758785
2019-09-09T01:08:56
2019-09-09T01:08:56
155,824,252
1
0
null
null
null
null
UTF-8
C++
false
false
1,366
cpp
main.cpp
// // main.cpp // 132. Palindrome Partitioning II // // Created by Jie Lu on 2018/4/22. // Copyright © 2018 Jie Lu. All rights reserved. // /* palindrome problems usually traverse in an expansion way : s[i-j], s[i+j] dp solution works in this way: expand from center s[i], while the palindrome substr keep gr...
e375b67b7791985c0513eab3feef40e9e7dc043f
2fdcf56c5e791dd9a4605a41ef7bc601e2fc9135
/Info/cuburi3/main.cpp
7c224f2d5b7fbb129df46a7237617d5409dd87fd
[]
no_license
DinuCr/CS
42cc4a7920fb5a2ac5e1179930169e4d8d71592e
8d381a622e70dd234d7a978501dcb7cf67e83adc
refs/heads/master
2020-06-02T14:11:49.223214
2020-05-24T01:27:46
2020-05-24T01:27:46
191,174,654
1
0
null
null
null
null
UTF-8
C++
false
false
1,170
cpp
main.cpp
#include <iostream> #include <fstream> #include <utility> #include <algorithm> using namespace std; ifstream fin("cuburi3.in"); ofstream fout("cuburi3.out"); #define f first #define s second #define nmax 4500 pair <int,pair<int,int> > v[nmax]; int d[nmax]; int l[nmax]; int ans[nmax]; int n,i,mx,j,p,poz; bool compa...
c644ed363e955c05f318ab5125964bc7470e3dd9
e9bce25b3ee9ebc25b1aa0736f702df8f3e2d4f1
/src/ogre_visuals/marker_with_covariance.cpp
67a48aca8597144f2354d90dd89545cff097283f
[ "BSD-2-Clause" ]
permissive
weilunhuang-jhu/marker_rviz_plugin
32a0ff10c65040dbf1561b19b8e4d6cb3a225c1f
4ec60ec6cb665aec9dd53a3f5d44a118e35090d3
refs/heads/master
2021-01-07T12:25:27.029295
2020-02-19T18:30:17
2020-02-19T18:30:17
241,692,036
0
0
BSD-2-Clause
2020-02-19T18:19:35
2020-02-19T18:19:34
null
UTF-8
C++
false
false
7,416
cpp
marker_with_covariance.cpp
/* * Copyright (c) 2016, Lukas Pfeifhofer <lukas.pfeifhofer@devlabs.pro> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyrigh...
ee56cbf417f0a9919ea0cb541033a9a6245098b1
d99645b5fc6f74ae42ea7699da31aaaa15e39be4
/P3DPGE/src/systems/SimpleMovementSystem.cpp
f3a567a4a7ac38773d8856ea620757b490b36a30
[ "MIT", "LicenseRef-scancode-public-domain", "Unlicense" ]
permissive
e-sushi/P3DPGE
4107da76b912bc6ac4528023c9acaa4eafa4bd38
64f9799d9db8959e5ffe242b780c74e927c02751
refs/heads/master
2023-03-07T06:27:34.585029
2021-02-17T03:20:09
2021-02-17T03:20:09
310,968,316
1
0
null
null
null
null
UTF-8
C++
false
false
4,581
cpp
SimpleMovementSystem.cpp
#pragma once #include "SimpleMovementSystem.h" #include "../EntityAdmin.h" #include "../internal/olcPixelGameEngine.h" #include "../components/Input.h" #include "../components/Keybinds.h" #include "../components/Camera.h" #include "../components/MovementState.h" #include "../components/Time.h" #include "../components/...
22cea5dd95364aba1fa972b6c0fc4d75bb2ee974
5095bbe94f3af8dc3b14a331519cfee887f4c07e
/Shared/Components/Data/TDatasource_join.h
c254a030737011df36b30ecd6da736d5aecb2462
[]
no_license
sativa/apsim_development
efc2b584459b43c89e841abf93830db8d523b07a
a90ffef3b4ed8a7d0cce1c169c65364be6e93797
refs/heads/master
2020-12-24T06:53:59.364336
2008-09-17T05:31:07
2008-09-17T05:31:07
64,154,433
0
0
null
null
null
null
UTF-8
C++
false
false
1,698
h
TDatasource_join.h
//--------------------------------------------------------------------------- #ifndef TDatasource_joinH #define TDatasource_joinH //--------------------------------------------------------------------------- #include <SysUtils.hpp> #include <Controls.hpp> #include <Classes.hpp> #include <Forms.hpp> #include "Me...
c915f7f48f1531b6af101ac7536fa83723573804
d394cc0b4b00523328b9ca79c579f6d3cae5dea7
/client/src/lib/yq_addon/main.cc
c1861dabd5410d95929db8ed2cafa5fc72228e46
[]
no_license
panshangqi/image_scanner_xp
a45730e61f460edee84a559c5b7dd0f60fbcaad6
05e15c8c76d635edffa89aa96e4176fa72ee8f5c
refs/heads/master
2020-04-08T21:46:25.099252
2018-12-29T10:02:30
2018-12-29T10:02:30
159,757,907
0
0
null
null
null
null
UTF-8
C++
false
false
1,233
cc
main.cc
#pragma one #include <node.h> #include <v8.h> #include "./src/delete_files.h" #include "./src/copy_files.h" #include "./src/get_root_files.h" #include "./src/get_disk_info.h" #include "./src/get_folder_size.h" #include "./src/get_root_files_test.h" #include "./src/log.h" // 相当于在 exports 对象中添加 { hello: hello } void i...
f97a969003c00dd26cffa1e3d63226497aace8f3
1e923192b1894160e42f439756da23cb3847c1b7
/RenderLab/src/resources/ResourceManager.h
782ebe9ccdccb3ab1448543fd9fbc6852f6c6b8b
[]
no_license
Doradus/renderLab
f91fca18460b5f4e34064fe78b0a584cbe34996f
c429b1ff3b944397564cce985da9168d9ac5aba2
refs/heads/dev
2021-07-09T10:30:09.253347
2020-08-31T18:53:19
2020-08-31T18:53:19
177,459,371
0
0
null
2019-04-29T05:19:14
2019-03-24T19:27:54
null
UTF-8
C++
false
false
853
h
ResourceManager.h
#pragma once #include "RenderingInterfaceResources.h" #include "FileSystem.h" #include "Image.h" #include <map> class ResourceManager { public: public: static ResourceManager& GetInstance() { static ResourceManager instance; return instance; } private: ResourceManager() {} ResourceManager(ResourceManager cons...
23f027c41723d35a86cd28f700f33e5a7e20f1cb
cfb178549858b1d1caca7ebb6a43d652f950ab7f
/spellcheckervector.cpp
a18b77831b814ba6b364c855ddb336e849e7ff20
[]
no_license
ErosionXx/SpellChecker
1075b947b96ad8e811675a06286c403b275e886d
12894ac4e32028165d32bb105ad89269d55bf725
refs/heads/master
2020-05-03T17:17:37.803850
2019-05-30T02:21:01
2019-05-30T02:21:01
178,741,498
2
1
null
null
null
null
WINDOWS-1252
C++
false
false
1,615
cpp
spellcheckervector.cpp
#include <iostream> #include <string> #include <cmath> #include <vector> #include <algorithm> using namespace std; int isSimilar(string,string); int main() { vector<string>lis; string input; cin>>input; //11?¡§¡ä¨º¦Ì? while(input!="#"){ lis.push_back(input); cin>>inp...
3198f2f00094df41122659131dd8246ede7f7d5e
bc38eff56d5b77dad9aba2c5529c9fd576407e0c
/09.Structure/09-01.structure.cpp
61388a23a1b845fd3774203722e2e2044ccb3199
[]
no_license
AllisonLee0507/CPlusPlus_Language_Tutorial
fd58f3c3b53e92f9dcdda258865e4c0f3f4ebc07
84f9b757d80cd5604bb16ebe6585c2fd785cac45
refs/heads/main
2023-07-14T02:59:18.685798
2021-08-22T04:21:13
2021-08-22T04:21:13
398,712,588
0
0
null
null
null
null
UTF-8
C++
false
false
5,930
cpp
09-01.structure.cpp
#if 0 #include <memory> #include <iostream> using namespace std; struct mystruct { int i; int x; int y; }; int main() { mystruct source,destination; source.i = 1; source.x = 2; source.y = 3; memcpy(&destination,&source,sizeof(source)); cout << destination.i << endl; cout << des...
01286d700a31128a7d4653600363907192d2b32f
a034ec2d52b616c6d319d5a11227bee4eea0f834
/OrcsAndGoblins/MapGenerator.h
48f8d93ee3963a75acea800c3fe297ad4262adb4
[]
no_license
Gijs-W/hairy-bear
86f3cae7dbc5efdd1df540eb9173349666cf5f3c
f0fa33262244371cd83d2c3bd6a13cf834ac6761
refs/heads/master
2021-01-10T21:23:52.492765
2014-11-06T20:36:58
2014-11-06T20:36:58
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,222
h
MapGenerator.h
#pragma once #include "stdafx.h" #include "Map.h" #include <iostream> #include <string> #include <random> #include <cassert> #include "MapType.h" class MapGenerator { public: virtual ~MapGenerator(); int rngSeed; int x, y; int maxFeatures; int chanceRoom, chanceCorridor; MapGenerator() : ...
f43eedab583c50173947836913b232deeec4c68a
da457c981a0952aa1bdd9248ea8701a5aad5ba23
/src/sleddebugger/network.h
e44874e9c970b27f57ec65d706f078e2b4b22d8d
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
trixnz/SLED
e9fdabb990a687701646bac42d87249f06f42368
3006d2a20d27db1685cde30129de17e13fb7e63c
refs/heads/master
2021-01-22T21:58:18.603198
2015-07-04T20:53:15
2015-07-04T20:53:15
38,198,759
0
0
null
2015-06-28T12:52:15
2015-06-28T12:52:15
null
UTF-8
C++
false
false
1,953
h
network.h
/* * Copyright (C) Sony Computer Entertainment America LLC. * All Rights Reserved. */ #ifndef __SCE_LIBSLEDDEBUGGER_NETWORK_H__ #define __SCE_LIBSLEDDEBUGGER_NETWORK_H__ #include "params.h" #include "common.h" #include "../sledcore/socket.h" /* target specific headers */ #if SCE_SLEDTARGET_OS_WINDOWS #else ...
c8e458f9214ab6c33f5dbac78a0a7d0cae99b8cb
9df2f619af3f24ee818ca44730441b35629c8fed
/Bootstrap/Application.h
c99cb65b93a79b768280ef7ddb8c04206f434ea1
[]
no_license
jeremybarzas/OpenGL-Graphics_Engine
db7ef58fd6314efd4b4af6cfccc207a3c445fcc7
f92dd7b2f58948c15c898bcb50c485b7faaebe97
refs/heads/master
2021-01-19T07:28:33.915558
2017-10-18T21:53:27
2017-10-18T21:53:27
null
0
0
null
null
null
null
UTF-8
C++
false
false
407
h
Application.h
#pragma once #include "gl_core_4_4.h" #include <GLFW\glfw3.h> class Application { public: Application(); virtual ~Application(); void run(float width, float height, const char* title, bool fullscreen); protected: virtual void startup() = 0; virtual void update(float) = 0; virtual void draw() = 0; virtual void s...
8c7532555c37f1102acf4152b23b99f0afe388e3
6b99453499e7dbe47fcab8f19c6cf2cb3e441183
/src/n-queens/hill_climbing.cc
90e7f26dc1b7b03d4a39f3b74b3b0d11157ffe5d
[ "MIT" ]
permissive
akash-123-svg/puzzle-solver
8d7303de6498106eb105e6e856d3c89d4ac81b0e
b1cd21174faba6afd79a5afd475051a209bcb935
refs/heads/master
2023-01-30T06:59:54.989467
2020-07-07T02:36:02
2020-07-07T02:36:02
302,018,205
0
0
MIT
2020-12-10T17:37:47
2020-10-07T11:42:08
null
UTF-8
C++
false
false
2,062
cc
hill_climbing.cc
// // Created by Islam, Abdullah Al Raqibul on 3/22/20. // #include "core/queen.h" #include "core/board.h" class HillClimbingNQueens : public Solver { public: HillClimbingNQueens(void *_parameter) { HillClimbingNQueens::init(_parameter); } int init(void *_parameter); int run(); void des...
c3dab2e42a4e1f03b70b0e7adc812a9cd0d41cba
7a67d0eeafe08eb2d83ead6d0c3408752eafc99f
/cpp/2749.cpp
82083def05cbcd49d95431d2dda39a6ca000a14f
[]
no_license
comicfans/leetcode
73dc02ed12bfb99ecfba78ced622926f4837d46b
1aed41fa4849b24c7bca52561469205499d73213
refs/heads/master
2023-07-06T02:57:20.210937
2023-06-30T02:40:19
2023-06-30T02:40:19
95,645,353
0
0
null
null
null
null
UTF-8
C++
false
false
2,317
cpp
2749.cpp
#include <iostream> using namespace std; class Solution { public: int makeTheIntegerZero(int num1, int num2) { for (int64_t try_number =1; try_number <= 60; ++try_number){ int64_t diff = num1 - num2 * try_number; // can this diff be divided as sum of try_number count 2^i ? (0<=i...
18b0b5efcb739ca9ff3fef02b238ea63edb05d6d
adc310ba0bb94c01e100af390b640418dd03ea88
/DNS Tool source 2/DNS ToolDlg.h
ba308ee479509ffea03649ac9d909819ef950fe6
[]
no_license
faisal82/dns-information-gathering-tool
3d029ce3c37d86dc3fdcb962c0ac14f653e845de
328b12dd536a2443229161e74255129305b3649a
refs/heads/master
2021-01-10T12:10:53.201420
2013-11-28T12:12:56
2013-11-28T12:12:56
51,266,588
0
0
null
null
null
null
UTF-8
C++
false
false
1,537
h
DNS ToolDlg.h
// DNS ToolDlg.h : header file // #pragma once class CDNSToolDlg; #include "afxcmn.h" #include "Shared.h" #include "DlgTLD.h" #include "Serial.h" #include "afxwin.h" // CDNSToolDlg dialog class CDNSToolDlg : public CDialog { // Construction public: CDNSToolDlg(CWnd* pParent = NULL); // standard c...
c957a422e9f6caf1afdcd488c9c35b1d909af783
ceb64df6ce48b1b63cbbfda4dbb9dc1cc10ae259
/URI/1011 - Sphere/6543231.cpp
2e3132412fd36951a814534b042eb3d9932b66ad
[]
no_license
xack20/Some-of-OJ-s-Solves
672be26c5da7d8d57a2fe0237368cc850466a924
59b6f46ad632ebc43ff295c37dd3e03039f63abb
refs/heads/master
2023-01-31T04:36:13.003736
2020-12-15T22:24:51
2020-12-15T22:24:51
284,292,577
2
0
null
null
null
null
UTF-8
C++
false
false
201
cpp
6543231.cpp
#include <stdio.h> int main() { double R,pi=3.14159,VOLUME; scanf("%lf",&R); VOLUME = (4.0/3)*pi*R*R*R; printf("VOLUME = %.3lf\n",VOLUME); return 0; }
1c829ad670cb1cd114b23f70df4c061923963595
1a2abe960fa8d31017b8a3c05f45c41929d4a7e4
/code/neuralnet_predict/CSVreader.h
867f9492a64cbcbc0c59dd28dd45912b9283f536
[ "MIT" ]
permissive
mcbottcher/ENG5220
86d9b50d46e8097154b9d818e39aaa5872e343cc
e566d7599c2449a4fa3f873eb316cac63cdf98fd
refs/heads/master
2020-12-11T12:17:02.098786
2020-04-19T16:02:50
2020-04-19T16:02:50
233,845,180
4
2
MIT
2020-04-16T13:24:05
2020-01-14T13:15:42
C++
UTF-8
C++
false
false
474
h
CSVreader.h
#include <vector> #include <iostream> using namespace std; class CSVreader{ public: CSVreader(string filename); ~CSVreader(); void readCSV(); void printVectorArray(); vector<vector<float>> getVectorArray(); const long int * getValueArray(); private: string _filename...
94cfab8073ea508d0e29be30d2f9f50e6cfdde3e
b58cb2c1f8dd04edf29e37d4a12d086a48c4cff7
/src/gui/Util/cleaver_utility.cpp
9414a4a605a9a7efae9dddb73ff441cbb7dbd4e0
[]
no_license
SCIInstitute/cleaver2-cuda
210c9695f9fb677d4f752b6e14fdec0e25058fe7
b3e05aa1365d6dfdd506a09330095ed3c3c6259f
refs/heads/master
2020-04-13T02:50:03.625950
2016-08-08T18:36:56
2016-08-08T18:36:56
20,309,814
0
0
null
null
null
null
UTF-8
C++
false
false
39,760
cpp
cleaver_utility.cpp
/** * @file cleaver_utility.cpp * This file contains the main cleaver operations. * @version Mar. 28, 2014 * @author: Brig Bagley */ #include <cstdlib> #include <cstdio> #include <iostream> #include <fstream> #include <ctime> #include <cmath> #include <cstring> #include <teem/nrrd.h> #include "cleaver_utility.h" ...
af8454b666dfc02a7b87629e8d58e252084e8593
1911d535c0904709c2f1a5a4e167264db37db555
/F - Copy - Copy/F/PlayerControler.h
60229728bb34d17bb10a458e7460fa2e397e5aaf
[]
no_license
MarcusCallender/MyPortfolioRepository
0c61ba30059d77ecd40c41c08d576d2d495cb1ff
fe7ac0408f833cf2c7c0df88842e84e24d4c511c
refs/heads/master
2021-01-12T13:38:23.479168
2016-10-01T16:43:53
2016-10-01T16:43:53
69,455,857
0
0
null
null
null
null
UTF-8
C++
false
false
232
h
PlayerControler.h
#ifndef __PLAYER_COTROLER__ #define __PLAYER_COTROLER__ #include "BaseControler.h" class C_PlayerControler : C_BaseControler { public: C_PlayerControler(); ~C_PlayerControler(); protected: }; #endif // !__PLAYER_COTROLER__
80eba487301574d91f7bda63a1b9a4832a6711fd
d96ebf4dac46404a46253afba5ba5fc985d5f6fc
/third_party/libwebrtc/modules/audio_processing/aec3/subtractor_output.cc
08fa3d4f69f95afd51fa769dc72a229927b0007f
[ "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause" ]
permissive
marco-c/gecko-dev-wordified-and-comments-removed
f9de100d716661bd67a3e7e3d4578df48c87733d
74cb3d31740be3ea5aba5cb7b3f91244977ea350
refs/heads/master
2023-08-04T23:19:13.836981
2023-08-01T00:33:54
2023-08-01T00:33:54
211,297,165
1
0
null
null
null
null
UTF-8
C++
false
false
1,671
cc
subtractor_output.cc
# include " modules / audio_processing / aec3 / subtractor_output . h " # include < numeric > namespace webrtc { SubtractorOutput : : SubtractorOutput ( ) = default ; SubtractorOutput : : ~ SubtractorOutput ( ) = default ; void SubtractorOutput : : Reset ( ) { s_refined . fill ( 0 . f ) ; s_coarse . fill ( 0 . f ) ; e_...
e53cf16192689bf6187338a2be2f9256025938f4
12ef9b58bd8e5630de2a493cb805f0483395c6c6
/xrand.cpp
9f42c211ca20d0a3d74545c40cef457a5a338dfb
[]
no_license
kuustudio/xlib
c710c050dd8ea72aa90a923eb3937472fee0a71b
4b0a36c62b79fb84222537d5e050a94857e5161f
refs/heads/master
2021-06-05T14:09:16.028150
2016-10-18T05:51:31
2016-10-18T05:51:31
null
0
0
null
null
null
null
UTF-8
C++
false
false
632
cpp
xrand.cpp
#include "xrand.h" #include <stdlib.h> #pragma warning(push) #pragma warning(disable:4244) //warning C4244: “初始化”: 从“ULONG64”转换到“const unsigned int”,可能丢失数据 size_t xrand(const size_t mod) { //! 由于重要性不是很高,随机数的生成可以忽视多线程读写问题 static size_t gk_xrand_seed = 0; const size_t r = __rdtsc(); #if _WIN64 ...
c41252dce6d97ef4cf02f88aa095d76368608832
3782e25b6db35d82d63bb81e398deab85ef2236e
/Drv/LinuxUartDriver/LinuxUartDriver.cpp
b099e7c15c339ca06d3950303067d2b349aedba4
[ "Apache-2.0" ]
permissive
nasa/fprime
e0c8d45dfc0ff08b5ef6c42a31f47430ba92c956
a56426adbb888ce4f5a8c6a2be3071a25b11da16
refs/heads/devel
2023-09-03T15:10:33.578646
2023-08-29T15:39:59
2023-08-29T15:39:59
95,114,723
10,071
1,426
Apache-2.0
2023-09-08T14:31:00
2017-06-22T12:45:27
C++
UTF-8
C++
false
false
13,284
cpp
LinuxUartDriver.cpp
// ====================================================================== // \title LinuxUartDriverImpl.cpp // \author tcanham // \brief cpp file for LinuxUartDriver component implementation class // // \copyright // Copyright 2009-2015, by the California Institute of Technology. // ALL RIGHTS RESERVED. United State...
c3be74fbb6f2f071ff115e73cbbfd4640da36735
5ba111f40c786210560a7d82290b2924cfa92ce7
/spectrum-analyzer/spectra2.cpp
af89aad083d34645672a0a0330c814fa3702b89f
[]
no_license
asabnis7/dsp-projects
9dd3e9f49683a7953f4b5f40df61d90bb1ed58fb
80781263064e6b185568b058855a563ccbea79a2
refs/heads/master
2020-03-28T16:13:55.064407
2019-10-22T05:39:05
2019-10-22T05:39:05
148,672,293
0
0
null
null
null
null
UTF-8
C++
false
false
5,045
cpp
spectra2.cpp
#include <iostream> #include <cstdlib> #include <cmath> #include <iomanip> #include <string> using namespace std; #define pi 3.1415926 string notes[12] = {"A" "A#" "B" "C" "C#" "D" "D#" "E" "F" "F#" "G" "G#"}; class Octave{ private: double base; int numNotes; double * freqs; publ...
4092c432b9190a34ced1725783ac350bf5c4b0b0
cfeac52f970e8901871bd02d9acb7de66b9fb6b4
/generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/StringDefaultValues.h
af5f1d209f2ce8626bb09d3432c224fdfcd9279d
[ "Apache-2.0", "MIT", "JSON" ]
permissive
aws/aws-sdk-cpp
aff116ddf9ca2b41e45c47dba1c2b7754935c585
9a7606a6c98e13c759032c2e920c7c64a6a35264
refs/heads/main
2023-08-25T11:16:55.982089
2023-08-24T18:14:53
2023-08-24T18:14:53
35,440,404
1,681
1,133
Apache-2.0
2023-09-12T15:59:33
2015-05-11T17:57:32
null
UTF-8
C++
false
false
5,094
h
StringDefaultValues.h
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include <aws/quicksight/QuickSight_EXPORTS.h> #include <aws/quicksight/model/DynamicDefaultValue.h> #include <aws/core/utils/memory/stl/AWSVector.h> #include <aws/core/utils/memory/stl/A...
320e4aed00c14abd1f3e827b0774ee288a59df1e
4656e231d8474e6bd2bc47569d9d728060df6d8c
/geo/sphere.cpp
cb80d16b410a2ad0bba9e77e23cbf3bfeb39a761
[]
no_license
svhauwiller/ray_tracer
28725ae7ce5571f2ac5b57c271dd5e3227885a26
9c5ad2fefa2e7cffe5a312f9017e423501c71a21
refs/heads/master
2023-02-02T09:36:55.783640
2016-02-17T18:01:58
2016-02-17T18:01:58
null
0
0
null
null
null
null
UTF-8
C++
false
false
6,972
cpp
sphere.cpp
// Ray Tracer: sphere.cpp // // Author: Wesley Hauwiller // // Description: A Sphere is a perfectly round Geometry defined only by a center // point and a radius // // Copyright (C) 2016 whauwiller.blogspot.com // // This program is free software: you can redistribute it and/or modify // it ...
c27f6dc09f0896faf3dfa00ce8cbccf0b9e1c042
342a696893a19fa36902655b7228391cda7b6d8d
/src/Primitives.h
911b17711ce0293147a21646b53b089b9113e5ef
[]
no_license
latzio/awol
935d71b304b88f67e44e80e71b918f8c0a97b085
901fe17022a7cfb774b613ea01a9a200d94df914
refs/heads/master
2020-04-09T01:52:11.537907
2012-12-22T02:32:28
2012-12-22T02:32:28
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,819
h
Primitives.h
#ifndef AwolPrimitives_h #define AwolPrimitives_h #include "gameplay.h" namespace Awol { class IntSize; class IntPoint { public: IntPoint() :m_x(0) ,m_y(0) { } IntPoint(int x, int y) :m_x(x) ,m_y(y) { } explicit IntPoint(const gameplay::Vector2& vector) :m_x(vec...
391444303d647b63af4d39b3177001cdc2de8ff2
67072b31e58811732c53c7bbd87e2dd29b0d902c
/VideoCaptureFilterSample/VideoCaptureFilterSampleDlg.h
22651a04ebb9b7011cf72a13dc49a249592d1e98
[ "MIT" ]
permissive
tolga9009/gamecapture
ab0fb25f4c3d96382b7f197680a5c7b21b6d6670
665ccf78bf8fa9e5b1a9571609932fcc710e42df
refs/heads/master
2021-01-18T05:50:10.815477
2016-04-05T17:04:00
2016-04-05T17:04:00
58,023,066
3
1
null
2016-05-04T04:36:12
2016-05-04T04:36:12
null
UTF-8
C++
false
false
832
h
VideoCaptureFilterSampleDlg.h
// VideoCaptureFilterSampleDlg.h : header file // #pragma once interface IBaseFilter; // CVideoCaptureFilterSampleDlg dialog class CVideoCaptureFilterSampleDlg : public CDialog { // Construction public: CVideoCaptureFilterSampleDlg(CWnd* pParent = NULL); // standard constructor // Dialog Data enum { IDD = IDD_VI...
8806093b6853cab0513dfbd41e58bd69cd946e04
24bade477fb9e93b1f8b09925759f92e69571c64
/engine/runtime/rendering/generator/torus_knot_mesh.cpp
ae9b820acfaf98ccd7dec408e8bf029cc70b0c0b
[ "BSD-2-Clause" ]
permissive
pgruenbacher/EtherealEngine
7943f4c135fc64f13c7dd0b7d42501b0067c0485
b2fabf11563e68088c5a75c951a1bb63612cae7c
refs/heads/master
2020-04-15T13:09:10.424133
2019-03-21T21:36:38
2019-03-21T21:36:38
164,704,550
1
0
BSD-2-Clause
2019-01-08T17:57:48
2019-01-08T17:57:48
null
UTF-8
C++
false
false
218
cpp
torus_knot_mesh.cpp
#include "torus_knot_mesh.hpp" using namespace generator; torus_knot_mesh_t::torus_knot_mesh_t(int p, int q, int slices, int segments) : extrude_mesh_{{0.25, slices, 0.0, gml::radians(360.0)}, {p, q, segments}} { }
ab01e9a156bbdb9190f2e857836b5e3210f15082
08bb21010e46767858988fae3d9f1e6d1127b7a3
/Huffman.cpp
d8198d6d2ab42d24aff42e303a867bf62afe57ec
[]
no_license
9irbis/ds-algo-implementations
d6bcada4bd586ac22234fa3fc44a392cde9edbaa
e45d73c4905aa421967d7f65a683390c94d22812
refs/heads/master
2016-09-10T12:36:55.518359
2015-11-11T17:52:10
2015-11-11T17:52:10
39,515,880
1
0
null
null
null
null
UTF-8
C++
false
false
2,591
cpp
Huffman.cpp
#include <iostream> #include <vector> #include <queue> #include <map> #include <climits> #include <algorithm> #include <iterator> using namespace std; const int UNIQUE_SYMBOLS = 1 << CHAR_BIT; // size of the character set typedef vector<bool> HuffCode; typedef map<char, HuffCode> HuffCodeMap; class INode{ public:...
e8a77aa06b6652966cd654781e845bfc7695cdd3
17670d53e1291b9673788672b4cadeecaf082739
/src/SteppingAction.cc
ef5b1820cc712194ef658e6d1cb6ad33846b2976
[]
no_license
zaborowska/GeantSimulation
1c7242741ee2655e1229f610bc8efb8320735d0e
79714a8a284c182f6544a5fae0fcc9ef5d6b7daf
refs/heads/master
2021-09-22T19:25:12.911795
2021-01-13T15:34:10
2021-01-13T15:34:10
196,373,485
0
0
null
null
null
null
UTF-8
C++
false
false
822
cc
SteppingAction.cc
#include "SteppingAction.hh" #include "G4Step.hh" #include "G4RunManager.hh" #include "EventInformation.hh" #include "G4Event.hh" #include "G4UnitsTable.hh" SteppingAction::SteppingAction() : G4UserSteppingAction() {} SteppingAction::~SteppingAction() {} void SteppingAction::UserSteppingAction(const G4Step *step) ...
24000a27faa2eba4cbfaf5459a17f0554ea2b4ac
efc4772a909c360a5c82a80d5bda0971415a0361
/core/lib_rtsp/liveMedia/MP3ADUdescriptor.cpp
6e74a0f57b65473470e2c4eaacecf88a8a13b5f3
[]
no_license
jasonblog/RTMPLive
7ce6c9f950450eedff21ebae7505a62c9cb9f403
92a018f50f7df19c255b106dc7f584b90f1fe116
refs/heads/master
2020-04-22T01:31:04.504948
2019-02-13T05:30:19
2019-02-13T05:30:19
170,016,488
0
1
null
null
null
null
UTF-8
C++
false
false
1,191
cpp
MP3ADUdescriptor.cpp
#include "MP3ADUdescriptor.hh" #define TWO_BYTE_DESCR_FLAG 0x40 unsigned ADUdescriptor::generateDescriptor(unsigned char *& toPtr, unsigned remainingFrameSize) { unsigned descriptorSize = ADUdescriptor::computeSize(remainingFrameSize); switch (descriptorSize) { ...
b2481efbc6f679ae8acdbaf5249918b5e1bc8e0c
c761e4b7c58ff701b205b0165bf485cb3d0ec9c3
/ARPG/Source/ARPG/Actor/Controller/PlayerController/GamePlayerController/GamePlayerController.cpp
19bf200f21078692dffc62d3a00554582dd91408
[]
no_license
Jiseok-Yoon/ARPG
90d1b3ed55cb6798b5e30b366dad1b06f93311f1
32ae540659dfef3571d84df0ce71b9b91b1db4bb
refs/heads/main
2023-05-07T14:18:52.933673
2021-06-04T10:42:27
2021-06-04T10:42:27
373,807,370
0
0
null
null
null
null
UHC
C++
false
false
1,465
cpp
GamePlayerController.cpp
#include "GamePlayerController.h" #include "Single/GameInstance/RPGGameInst.h" #include "Single/PlayerManager/PlayerManager.h" #include "Widget/WidgetControllerWidget/WidgetControllerWidget.h" #include "Component/WndToggler/WndTogglerComponent.h" void AGamePlayerController::SetupInputComponent() { Super::SetupInp...
e6b6f7ee3034c7d0d7a37d22e4c8d2fbdf9f4701
59362d07a4163c1d6fc519daaa1e4fe3a07b5983
/Aulas/aula08/Aula08-06.cpp
1d7ebe449e870276be69f30db866e34a695a12fd
[]
no_license
Connolyn/consultaPAP
469616c769f3a838e72b52fe814fdc1b59f44649
d687d3b0c5681c89bd9a59126a7bff2ad7e5de5e
refs/heads/master
2021-08-29T16:44:08.179121
2017-12-14T10:36:48
2017-12-14T10:36:48
108,792,895
0
0
null
null
null
null
UTF-8
C++
false
false
931
cpp
Aula08-06.cpp
//============================================================================ // Name : Aula08-06.cpp // Author : Prof. Alexandre Donizeti Alves //============================================================================ //***************************************************************************...
edd17c01621ce61bd9d3af894c12c29beda13f25
f10759120587379d4e52153f781e62476cdc6cb4
/include/PicturePerfect/OpenCVOperators/NoiseV.h
ea7dbebd00705dd4e01d81da6e46096be15c3e72
[]
no_license
munepi0713/PicturePerfect
f79b18e333dc26c1bf695ff960748c37162f9df3
04c679296cd732f113e3881494cd449a42114ead
refs/heads/master
2021-01-17T09:04:28.103973
2016-05-24T16:56:01
2016-05-24T16:56:01
27,131,966
1
0
null
null
null
null
WINDOWS-1252
C++
false
false
17,549
h
NoiseV.h
#include <limits> #include <vector> #include <map> //#include <smmintrin.h> static __inline void Noise16(float* ret, int x, int y) { #if 0 // ’x‚¢ __m128i m_1, m_1376312589, m_7fffffff, m_15731, m_789221; m_1 = _mm_set1_epi32(1); m_1376312589 = _mm_set1_epi32(1376312589); m_7fffffff = _mm_set1_epi32...
5236fd0eac867c89c1dd0cec99104d5f7ac82a5d
f66d08afc3a54a78f6fdb7c494bc2624d70c5d25
/Code/CLN/src/float/conv/cl_DF_to_FF.cc
dd3fc2853bb11d73fcd3a756b82b02ab68709280
[]
no_license
NBAlexis/GiNaCToolsVC
46310ae48cff80b104cc4231de0ed509116193d9
62a25e0b201436316ddd3d853c8c5e738d66f436
refs/heads/master
2021-04-26T23:56:43.627861
2018-03-09T19:15:53
2018-03-09T19:15:53
123,883,542
1
0
null
null
null
null
UTF-8
C++
false
false
1,813
cc
cl_DF_to_FF.cc
// cl_DF_to_FF(). // General includes. #include "cln_private.h" // Specification. #include "float/cl_F.h" // Implementation. #include "float/dfloat/cl_DF.h" #include "float/ffloat/cl_FF.h" namespace cln { const cl_FF cl_DF_to_FF (const cl_DF& x) { // x entpacken: var cl_signean sign; var sintL exp; #if (cl_w...
20d888f22c73bc4deaba3273cc6c4fe943349c8a
1f262eccfb92c87a3b8d1562e023cdeafe5260c1
/ScreenMain.h
cd74f677667fc997a6f6c5a674d916eae10b6faa
[]
no_license
FredericDesgreniers/COMP-345-DnD
5153d06dbf36985e653885d5610afdc065269e53
7348d541e4375b0115dd7c6a5c261b0d5e72c78e
refs/heads/master
2021-03-30T17:26:25.329541
2016-10-30T21:46:39
2016-10-30T21:46:39
72,433,600
0
0
null
null
null
null
UTF-8
C++
false
false
131
h
ScreenMain.h
#pragma once #include "Screen.h" class ScreenMain : public Screen { public: ScreenMain(Game* game); void render() override; };
e4130e463a40eddfe7b5b33ff77847634193f184
ed17d8b5ff69ee5485c0778bec5852fdca50f87f
/src/game/game.h
724812d932be6a1961817393a721ee2431931ce8
[]
no_license
IceAndSnow/touchdown
6202f41a91d2816a2307232d8d72be412bcf400e
63f134b1c12b85a4a590fb57134c6bb11cdf34b4
refs/heads/master
2021-07-17T10:03:13.384416
2020-08-11T20:48:56
2020-08-11T20:48:56
198,452,981
0
1
null
2020-08-11T20:48:57
2019-07-23T14:59:45
C++
UTF-8
C++
false
false
444
h
game.h
#ifndef TOUCHDOWN_GAME_H #define TOUCHDOWN_GAME_H #include "player.h" #include "board.h" #include "game_state.h" namespace game { class Game { GameState m_state; public: Game(Player* player1, Player* player2); void loadBoard(Board board); GameState performNextMove(); ...
a612dd04f9987fd8ef7b20258294c37c0465a4d4
968d33e9e8c913bf9564fc48063880af0c8ce03f
/src/Node.h
eb6d1ef846ac244c9dbe1481c483a282c02d99d9
[]
no_license
DanielMualem/ex5
5e2167c9a1869360444ec94c6556bc55dcfaa1c1
156578f21297a7a114d2991613c6463df2cc5865
refs/heads/master
2021-01-11T21:17:39.016403
2017-01-12T15:23:13
2017-01-12T15:23:13
78,758,524
0
0
null
null
null
null
UTF-8
C++
false
false
907
h
Node.h
#ifndef EX1_1_NODEBASE_H #define EX1_1_NODEBASE_H #include <iostream> #include <boost/serialization/assume_abstract.hpp> #include <boost/serialization/base_object.hpp> #include <boost/serialization/export.hpp> using namespace std; /** * Node Class (Abstract). * The base of every node. */ class Node { friend cl...
075a1186067641d51ecc3a2427a7abee56665076
182adfdfa907d3efc0395e293dcdbc46898d88eb
/Temp/il2cppOutput/il2cppOutput/AssemblyU2DCSharpU2Dfirstpass_RTM_Game_Example1461391879.h
d6b82f4ecc8735eefdc232916aafab024285cef8
[]
no_license
Launchable/1.1.3New
d1962418cd7fa184300c62ebfd377630a39bd785
625374fae90e8339cec0007d4d7202328bfa03d9
refs/heads/master
2021-01-19T07:40:29.930695
2017-09-15T17:20:45
2017-09-15T17:20:45
100,642,705
0
0
null
null
null
null
UTF-8
C++
false
false
9,330
h
AssemblyU2DCSharpU2Dfirstpass_RTM_Game_Example1461391879.h
#pragma once #include "il2cpp-config.h" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <stdint.h> #include "AssemblyU2DCSharpU2Dfirstpass_AndroidNativeExample3916638757.h" // UnityEngine.GameObject struct GameObject_t1756533147; // SA_Label struct SA_Label_t226960149; // DefaultP...
794ea82c6633216f98d73fd8938cfea36767824a
399bbdd3194a888b6faa03386d330f1debd4af0d
/27.cpp
e2f2f89b4b85c1c25f52bf86820d5a6c2d98b8b3
[]
no_license
diljots99-old/OOPS-Sem
4380ed0a8c3be41b8d842e9e687e2165337c9428
78cfc75b50b4b8f51e440d2cf0e0a1d5a856d32f
refs/heads/master
2022-02-11T14:17:51.284336
2018-10-25T09:50:16
2018-10-25T09:50:16
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,045
cpp
27.cpp
/* *Write a program to find largest and smallest elements among the array along with sum and average of element */ #include "iostream" using namespace std; int main(int argc, char const *argv[]) { int j=0,SIZE,sum=0,avg,largest,smallest; cout<<"SUM, AVERAGE, LARGEST AND SMALLEST AMONG ARRAY ELEMENTS"; cou...
f0815d12f6b00630370eff57f0b01f54330539c2
3ea34c23f90326359c3c64281680a7ee237ff0f2
/Data/2392/E
92ff532b1a9314f31e0f57c1787f78a660a96d5f
[]
no_license
lcnbr/EM
c6b90c02ba08422809e94882917c87ae81b501a2
aec19cb6e07e6659786e92db0ccbe4f3d0b6c317
refs/heads/master
2023-04-28T20:25:40.955518
2020-02-16T23:14:07
2020-02-16T23:14:07
null
0
0
null
null
null
null
UTF-8
C++
false
false
80,865
E
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | foam-extend: Open Source CFD | | \\ / O peration | Version: 4.0 | ...
f89274ba03dba7b1758b1a2fd54e6e729da479f1
b1cbac28f8e395c8a14bc329029f41fdec52f9cb
/src/Client/View/StraightTrackView.h
3f6fbeeedcb90c5bd3e33a9334cb58fbe10642b4
[]
no_license
sberoch/MicromachinesTaller
555c6884b11164c01ba4a6b912e31759e2d37fd4
1a21cb3ab262820d10928d50f514e7a74a3bae77
refs/heads/master
2020-08-08T21:59:57.737322
2019-11-26T22:28:36
2019-11-26T22:28:36
213,929,285
0
2
null
null
null
null
UTF-8
C++
false
false
373
h
StraightTrackView.h
#ifndef STRAIGHT_TRACK_VIEW_H #define STRAIGHT_TRACK_VIEW_H #include "ObjectView.h" class StraightTrackView : public ObjectView { private: int angle; public: StraightTrackView(const SdlTexture& tex, const int& angle); virtual void drawAt(int x, int y) override; virtual int getAngle() override; virtual ~Straig...
c97a48088a8681f785ab00daba3f6f124b14ba20
9ad19567a82730a733f59f26f5e886aaa5d1e2e5
/vkdevice.h
eabf41ded7b6d170d9c03245558539e0354562d7
[ "MIT" ]
permissive
HorstBaerbel/vsvr
8c48474a20f334de571db025f14590b5d1b6db51
ec761b74a91b496561e4654ec23d6c6546eac7c1
refs/heads/master
2021-01-02T18:35:53.664801
2020-04-09T15:15:10
2020-04-09T15:15:10
239,745,870
0
0
null
null
null
null
UTF-8
C++
false
false
2,603
h
vkdevice.h
#pragma once #include "vkincludes.h" #include <vector> namespace vsvr { /// @brief Info about queue families and their indices. class QueueFamilyIndices { public: uint32_t graphicsFamily() const; void setGraphicsFamily(uint32_t index); uint32_t presentFamily() const; void setPresentFamily(uint32_t in...
d14033fdd2dcb700ecd2863ff0a20a77f99d0c79
eebdddae506037315968731a69d6c578dd26b60b
/src/epoller/epoll_waiter.cpp
464d3ba2191954898cfaf9e0772ad60261742519
[]
no_license
zhuyineng-cn/kernel4gameserver
6d5f0a6eee53aab4e00263e7c9335fa609fc4f47
5864103a9bf5f452ac03d06927e63537ccf721b9
refs/heads/master
2021-01-15T20:38:13.895464
2015-03-17T02:15:59
2015-03-17T02:15:59
32,366,176
1
0
null
2015-03-17T02:21:05
2015-03-17T02:21:03
C++
UTF-8
C++
false
false
1,591
cpp
epoll_waiter.cpp
#include "epoll_waiter.h" #include "epoller.h" void epoll_waiter::Run() { //public cthread epoll_event events[EPOLLER_EVENTS_COUNT]; m_status = THREAD_WORKING; while (true) { memset(&events, 0, sizeof(events)); errno = 0; int retCount = epoll_wait(m_pEpoller->GetEpollDesc(), eve...
d24060400dd9a5b467422c2ca9dfb18c10263e86
7211ed2fe123d827ea3572afdc2cf03fffa9aa39
/Fighter/my_item_bullet.h
481b21059f88c0d8871e6d923fc759ad12b5e1f9
[]
no_license
luckymrcai/fighter
02456b088c88f0f1b0661fd05069ec6bcfeda6f3
d09c17573d564310908de7d2294bb6920b789924
refs/heads/master
2022-10-07T01:53:59.979840
2020-06-04T08:45:54
2020-06-04T08:45:54
269,299,715
0
0
null
null
null
null
UTF-8
C++
false
false
331
h
my_item_bullet.h
#ifndef MY_ITEM_BULLET_H #define MY_ITEM_BULLET_H #include <QString> #include <QGraphicsScene> #include "my_item.h" class My_item_bullet : public My_item { public: My_item_bullet(const QString & filename,QGraphicsScene *scene); int strength; signals: public slots: }; #endif // MY_ITEM...
1b8c7af4e1efe37b4100d1f320761c939fe7f164
ec7d4d127fd9c68c88ca5c270114909cde75320f
/Series/s1.cpp
0013c91afa4b9f0407006d1728dd59f028371868
[]
no_license
abrar-hossain/Problem-Solving-Exercise
aa14aca032389c38b32ed1b04216f5ab40ca9c8f
65ada21998850b71be8c6ff9b7e57f7c2e96fee8
refs/heads/main
2023-07-15T01:43:56.141152
2021-08-10T14:32:13
2021-08-10T14:32:13
394,685,011
0
0
null
null
null
null
UTF-8
C++
false
false
483
cpp
s1.cpp
/*This program will print the sum of all natural numbers from 1 to N.*/ #include <bits/stdc++.h> using namespace std; int main() { int i; unsigned long N, sum; /*read value of N*/ printf("Enter a Positive number: "); scanf("%ld", &N); /*set sum by 0*/ sum = 0; /*calculate sum of th...
9607c7e7453331de3617665222deca098922830b
2fda25fc0c260d83f82b03a7f984b1427b0fb88a
/src/Voro3D.h
f8d6d5487695b3e970684d3e215eddfca44479d4
[]
no_license
kusatilmisgenclik/StereoPlanes
2cc1cf3a913eda21b4448c66c585c5e7b4006d86
aa17ee589713206b38244d29edf2f30949d640dc
refs/heads/master
2018-07-10T21:10:05.762849
2014-05-15T23:28:50
2014-05-15T23:28:50
null
0
0
null
null
null
null
UTF-8
C++
false
false
748
h
Voro3D.h
// // Voro3D.h // StereoPlanes // // Created by Johan Bichel Lindegaard on 21/01/14. // // #pragma once #include "ofMain.h" #include "ContentScene.h" #include "VoroUtils.h" class Voro3D : public ContentScene { public: void setup(); void update(); void draw(int _surfaceId); void setGui(ofx...
de10848b2643c58fd69667a4be390c714022a140
2fdf3d8d2e221b9bbf4683c502e1e8ba9f32212a
/MusicProcessingProgram/MusicProcessingProgram/save_as_txt.h
acc2295794904566cb44ce129481238f29cae158
[]
no_license
bartekfrac/Music-processing-program
20aa6937a05e242e4713ffeb73da3789754116e7
9ad9b58fdd1fac0dd7599fb8b94c57fc85cd4c31
refs/heads/master
2020-04-01T23:37:28.682630
2018-10-19T09:06:53
2018-10-19T09:06:53
151,293,404
0
0
null
2018-10-02T19:43:46
2018-10-02T17:15:33
null
UTF-8
C++
false
false
307
h
save_as_txt.h
#ifndef SAVE_AS_TXT_H #define SAVE_AS_TXT_H #include <Windows.h> #include <vector> bool getconchar(KEY_EVENT_RECORD& krec); void save_as_txt(); void save_to_file(const std::vector<char> keys, const std::string file_path); void read_from_file(const std::string file_name); void load_from_file(); #endif
7c88fe9c8ef03950497ba9e550922c895df8993d
dd656493066344e70123776c2cc31dd13f31c1d8
/MITK/Modules/Bundles/org.mitk.gui.qt.materialeditor/src/internal/mitkMaterialEditorPluginActivator.cpp
4b302006d9f4d5c139f3ed6b4d45ab75cabd3445
[]
no_license
david-guerrero/MITK
e9832b830cbcdd94030d2969aaed45da841ffc8c
e5fbc9993f7a7032fc936f29bc59ca296b4945ce
refs/heads/master
2020-04-24T19:08:37.405353
2011-11-13T22:25:21
2011-11-13T22:25:21
2,372,730
0
1
null
null
null
null
UTF-8
C++
false
false
485
cpp
mitkMaterialEditorPluginActivator.cpp
#include "mitkMaterialEditorPluginActivator.h" #include "QmitkMITKSurfaceMaterialEditorView.h" #include <QtPlugin> namespace mitk { void MaterialEditorPluginActivator::start(ctkPluginContext* context) { BERRY_REGISTER_EXTENSION_CLASS(QmitkMITKSurfaceMaterialEditorView, context) } void MaterialEditorPlu...
759ca6550ec499737939c346ad37107d3c7902f2
cd23ba924774fabe3be0fde925f9109e10762f1a
/WeekendRayTracer/Hitable.h
ab2ade75b2dce5e6b17164d8ba778cc8e4bb4bd4
[]
no_license
essbuh/weekend-raytracing-book-2
a4910e41b2820ec53258667448374a87afdbeeff
e27009ebf957d80df06094ca3a455de5be990707
refs/heads/master
2016-08-11T07:06:21.425829
2016-04-06T03:48:27
2016-04-06T03:48:27
55,571,748
0
0
null
null
null
null
UTF-8
C++
false
false
279
h
Hitable.h
#pragma once #include "Vector3.h" class Ray; class Material; struct HitRecord { float t; Vector3 point; Vector3 normal; const Material* material; }; class Hitable { public: virtual bool Hit( const Ray& ray, float tMin, float tMax, HitRecord& OutHitRecord ) const = 0; };
a6e2737ba5299a41c0ad19dcd4b5ec6263703894
6f6a88ba519d9569b8bf17a1dd87537c24f28098
/CalPatRec/src/DeltaFinderAlg.cc
a0eb44035e84579b0b64e7e3db10565425f5e308
[ "Apache-2.0" ]
permissive
Mu2e/Offline
728e3d9cd8144702aefbf35e98d2ddd65d113084
d4083c0223d31ca42e87288009aa127b56354855
refs/heads/main
2023-08-31T06:28:23.289967
2023-08-31T02:23:04
2023-08-31T02:23:04
202,804,692
12
73
Apache-2.0
2023-09-14T19:55:58
2019-08-16T22:03:57
C++
UTF-8
C++
false
false
61,678
cc
DeltaFinderAlg.cc
/////////////////////////////////////////////////////////////////////////////// // DeltaFinderAlg uses a face-based (instead of a panel-based) data organization /////////////////////////////////////////////////////////////////////////////// #include "Offline/CalPatRec/inc/DeltaFinderAlg.hh" namespace mu2e { using n...
55723dbc9f3c7e147eebb069cbf75a2c01b6fee4
bb648527969ec9a569d0624ce2aa61bac6424800
/LinkedListTests.cpp
1135ce06a7f65e59942483a7f432957135cc4c0e
[ "Unlicense" ]
permissive
BenSokol/EECS448-Lab6
cb1d21dd049bb1e9197b0452bc082b4c8814ebf3
ca93d41e0dd05a4d8983457a25d4122c3c99b6f8
refs/heads/master
2021-09-23T02:01:23.086798
2017-11-07T18:32:01
2017-11-07T18:32:01
null
0
0
null
null
null
null
UTF-8
C++
false
false
14,179
cpp
LinkedListTests.cpp
/* * @Filename: LinkedListTests.cpp * @Author: Ben Sokol <Ben> * @Email: bensokol@ku.edu * @Created: October 28th, 2017 [2:21pm] * @Modified: November 1st, 2017 [11:35am] * * Copyright (C) 2017 by Ben Sokol. All Rights Reserved. */ #include "LinkedListTests.hpp" LinkedListTests::LinkedListTests() { ...
13696da0d300b5c0a679cd527176bad63af75838
16e130599e881b7c1782ae822f3c52d88eac5892
/leetcode/sparseMatrixMultiplication/mySol2.cpp
5ee050f33d5ae1d5b199a62d098fe359055b17ab
[]
no_license
knightzf/review
9b40221a908d8197a3288ba3774651aa31aef338
8c716b13b5bfba7eafc218f29e4f240700ae3707
refs/heads/master
2023-04-27T04:43:36.840289
2023-04-22T22:15:26
2023-04-22T22:15:26
10,069,788
0
0
null
null
null
null
UTF-8
C++
false
false
1,040
cpp
mySol2.cpp
#include "header.h" class Solution { public: vector<vector<int>> multiply(vector<vector<int>>& A, vector<vector<int>>& B) { int m = A.size(), n = A[0].size(), k = B[0].size(); vector<vector<int>> res(m, vector<int>(k, 0)); unordered_map<int, vector<pair<int, int>>> va, vb; f...
f10b173a56023fd213088824e3355a800b0d12ab
b00c54389a95d81a22e361fa9f8bdf5a2edc93e3
/external/pdfium/core/src/fxcodec/jbig2/JBig2_ArithIntDecoder.cpp
bb4e0bba9fee2ff3c1a66a39b29eb0ef79444a93
[ "BSD-3-Clause" ]
permissive
mirek190/x86-android-5.0
9d1756fa7ff2f423887aa22694bd737eb634ef23
eb1029956682072bb7404192a80214189f0dc73b
refs/heads/master
2020-05-27T01:09:51.830208
2015-10-07T22:47:36
2015-10-07T22:47:36
41,942,802
15
20
null
2020-03-09T00:21:03
2015-09-05T00:11:19
null
UTF-8
C++
false
false
3,103
cpp
JBig2_ArithIntDecoder.cpp
// Copyright 2014 PDFium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com #include "JBig2_ArithIntDecoder.h" CJBig2_ArithIntDecoder::CJBig2_Arit...
7a5e12f8e969d48dbb43170c2ddb7b538aefc2bc
e56bf2c4b199e4a88e5894f71b191db3cccd62d1
/include/conf_crawler/dc/StaticLinkBaseService.h
5043338a94f92ab5fa407871bdc929e341af0f6f
[ "Apache-2.0" ]
permissive
seshucalypso/crawler_cpp
5155fa4f23913647618dff678f1856b33d9cf1ae
e0c8dba77233005b1ab13731d1cbcce274b70778
refs/heads/master
2021-06-14T20:24:50.112279
2017-04-06T07:45:13
2017-04-06T07:45:13
null
0
0
null
null
null
null
UTF-8
C++
false
true
27,641
h
StaticLinkBaseService.h
/** * Autogenerated by Thrift Compiler (0.9.1) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ #ifndef StaticLinkBaseService_H #define StaticLinkBaseService_H #include <thrift/TDispatchProcessor.h> #include "conf_crawler_types.h" class StaticLinkBaseServiceIf { public: ...
17ed11ae4cca55efb50baa16b8e1e71316187e4d
351895edf082d0de3e27e0a4da40e9b4548b12b7
/problemas.cpp
afffee9fb494e1588d1f31bb9e67c552f76519ec
[]
no_license
FerneyMP/Lab_2
317d11fdcb11df47d0a8632db6e4a091761e70ce
759ea4729e563aacb5c70059048d6ed4efc664f4
refs/heads/main
2023-04-16T15:25:54.571816
2021-04-29T22:37:41
2021-04-29T22:37:41
357,295,081
0
0
null
null
null
null
UTF-8
C++
false
false
19,614
cpp
problemas.cpp
#include "problemas.h" #include <cstdlib> #include <time.h> /* Problema 1: https://www.tinkercad.com/things/cRtYhcumIO8 */ void problema2() { //ASCCI - Mayúsculas (65 , 90) // VARIABLES PRINCIPALES int aleatorio, Cont_igual=0; char AZ[26]={'A','B','C','D','E','F','G','H','I','J','K','L','M','N','O'...
fc1b50a167e398e83d2d8d3d7f9129c9799bfefa
3e51841d4d42ad57b1c8ab5883d9bffdaf2074db
/138-Copy-List-with-Random-Pointer/solution.cpp
79ef7457f30ab20b8070328f575d1a46e02cc941
[]
no_license
xh286/leetcode
f726524c05d93253293ea327c257f08cfd63faf6
dde81ea3112d1355ebc07f7f8afe00a3448f943a
refs/heads/master
2021-01-21T14:24:56.665689
2016-07-22T01:57:50
2016-07-22T01:57:50
58,489,012
0
0
null
null
null
null
UTF-8
C++
false
false
1,271
cpp
solution.cpp
/** * Definition for singly-linked list with a random pointer. * struct RandomListNode { * int label; * RandomListNode *next, *random; * RandomListNode(int x) : label(x), next(NULL), random(NULL) {} * }; */ class Solution { public: RandomListNode *copyRandomList(RandomListNode *head) { if...
4106ec229ca9d848895312ede53acc74d61c03ee
9cb3f8b4e697012ce43674e20281bfdd425f19d8
/droparea.cpp
715e865a6a39c958362f20459d3ab9f2f1db0831
[]
no_license
AndersonPeng/TCPSocket
93205efc24fa3f2adfb9ac2e15ff5ea4546263f8
6861b4673d3958d263cb4877650e9025392be64b
refs/heads/master
2021-01-18T15:39:15.673117
2017-05-23T11:14:53
2017-05-23T11:14:53
86,667,053
2
1
null
null
null
null
UTF-8
C++
false
false
2,396
cpp
droparea.cpp
#include "droparea.h" #include <QDragEnterEvent> #include <QDragMoveEvent> #include <QDragLeaveEvent> #include <QDropEvent> /*=============================== Constructor ===============================*/ DropArea::DropArea(QWidget *parent) : QLabel(parent) { setMinimumSize(200, 50); setFrameStyle(QFrame::Sunk...
ab81751abffdb113118a2d803baab26720724cbb
e2c3ad5709359f13f9d93378fadbc0f0116d595f
/GTT/ExplosiveImC.h
cc8dd7bab47f59d745721f4f5927b87c82b63bee
[]
no_license
dagil02/TaxiRevengeDLC
b2bb7ea69bf146ec5f4251ed80ab02acd43e2e9a
b785dd652c435b7495e9aaed2b4a3d1bc4900af7
refs/heads/master
2020-06-02T01:01:49.305137
2019-07-01T17:06:11
2019-07-01T17:06:11
190,985,412
0
0
null
null
null
null
UTF-8
C++
false
false
239
h
ExplosiveImC.h
#pragma once #include "ImpactComponent.h" class ExplosiveImC : public ImpactComponent { public: ExplosiveImC(Proyectile* o, int radius=200); virtual void Impact(b2Contact* contact); virtual ~ExplosiveImC(); private: int radius_; };
0a7df09e8a1394a5e58e8267c4be5b10bffec226
914a4c7179367dbd6d9c97b2b5c02d6d6d4505f7
/grader/week06_2/w06-b03-catmario.cpp
0a1304ac9c3b7f83b33f8d3c6a0d78a4fbcf65e0
[]
no_license
WattanaixKU/204214-problemsolving-lab
53b592aa6de526b60d64b3ef485a3ff5ee004341
3918ee0c69262b7654e8e51ff7fb8e66e2f639a7
refs/heads/master
2020-04-16T14:23:22.898348
2019-05-29T08:21:06
2019-05-29T08:21:06
null
0
0
null
null
null
null
UTF-8
C++
false
false
411
cpp
w06-b03-catmario.cpp
#include <iostream> using namespace std; int main() { int n,m,x,y,all=0; cin >> n >> m; int a[n]; for(int i=0;i<n;i++) a[i] = 501; for(int i=0;i<m;i++) { cin >> x >> y; x--; a[x] = min(a[x],y); } for(int i=0;i<n;i++) all += a[i]; cout << all <<...
cd985ae258f791122e5b9c6224ad2e01f4a0e555
1935926ec53604c936e53019c24bdd16e1ef1bbc
/vjudge/hdu_5138.cpp
708bc4508c0e22decfd4e16d78d410df8fd95dfc
[]
no_license
PrimisR/Training
345ec0b342ea2b515e1786c93d5a87602d6c3044
b4834cc29b13e604e7a95f231ac48f49987bebc7
refs/heads/master
2022-12-30T02:46:47.621210
2020-10-20T03:00:52
2020-10-20T03:00:52
null
0
0
null
null
null
null
UTF-8
C++
false
false
340
cpp
hdu_5138.cpp
#include<cstdio> int main() { //int a[5]={1,2,4,7,15}; int a[5]; a[0]=1;a[1]=2;a[2]=4;a[3]=7;a[4]=15; int num,i; while(scanf("%d",&num)!=EOF) { for(i=4;i>=0;i--) { // printf("%d\n",a[i]); if(num-a[i]>0) { printf("%d",num-a[i]); printf("%c",i==0?'\n':' '); } ...
42cf6aeb746af726757e8e84e5a1299a3e29c10c
9f3b79bf8ce7d5c9e617a81640156829d697fd99
/Paramedic.hpp
4590a305584c80aac83afe43027750f5a2c8bd4c
[ "MIT" ]
permissive
elad11310/Assignment_4_C_plus_plus
315d6bb10f4970dad1ce91c7c7f175a65c67155a
bb929ff64900ef6f9d7e6f8746944875322fd81e
refs/heads/master
2022-09-22T13:21:32.912071
2020-06-05T09:56:21
2020-06-05T09:56:21
null
0
0
null
null
null
null
UTF-8
C++
false
false
430
hpp
Paramedic.hpp
// // Created by elad on 24/05/2020. // #ifndef MATALA4_WARGAME_PARAMEDIC_H #define MATALA4_WARGAME_PARAMEDIC_H #endif //MATALA4_WARGAME_PARAMEDIC_H #include "Soldier.hpp" class Paramedic : public Soldier { public: Paramedic(int player) : Soldier(100, "Paramedic", player){} virtual void move(std::vector...
295f6767938e9b37a688e18e26f6d578288a7b53
7b5a30718e95ae75b2a8b0bf8bb0a8e34cb9804a
/Koala/EntWithdrawDlg.cpp
8576e94aae95b51849925246795a55b9af83c874
[]
no_license
koalajack/koalachainclient
b5cfd2df28b1c1e6927161515f0047bb793e9667
712dc57d63c160412b26074bdd05f0b7b2b40724
refs/heads/master
2021-01-02T09:44:51.972008
2017-08-04T00:43:27
2017-08-04T00:43:27
99,200,011
0
0
null
null
null
null
GB18030
C++
false
false
7,219
cpp
EntWithdrawDlg.cpp
// EntWithdrawDlg.cpp : 实现文件 // #include "stdafx.h" #include "Koala.h" #include "EntWithdrawDlg.h" #include "afxdialogex.h" #include "CompanyInfoDlg.h" #include "KoalaDlg.h" // CEntWithdrawDlg 对话框 IMPLEMENT_DYNAMIC(CEntWithdrawDlg, CDialogEx) CEntWithdrawDlg::CEntWithdrawDlg(CWnd* pParent /*=NULL*/) : CDialogEx(C...
8525d588f212597c598e395fd7b5ec5b7c9cf08e
61108e74688b8d404d825120fe0c89fab51d155e
/Grader.h
fd769e8a43be53107dd6691e94651d96a627a067
[]
no_license
FarukIb/word-unscrambler
2fc80f826944e6f93852cdc659ed31e7f9da6b79
744c7cf9574d82127df1abf2689d2b1c4473588d
refs/heads/main
2023-03-18T11:52:46.550865
2021-03-20T17:46:31
2021-03-20T17:46:31
349,795,081
0
0
null
null
null
null
UTF-8
C++
false
false
465
h
Grader.h
#ifndef GRADER_H #define GRADER_H #include <map> #include <string> #include <vector> using namespace std; #pragma once class Grader { public: Grader(); void toggleArch(); void toggleBow(); vector<pair<string, int> > sortWords(vector<string> words); private: //int cmp(pair<string, int> a, pair<...
890e09f14c968ae17306e31d4189919bce29423e
4ed9f56cae0b9b768f6ece683269b6c58e145964
/parse/jsd_set.hpp
d1adfc8e3ebaa67c1faeaf5ac4f857af04d1e3c5
[ "MIT" ]
permissive
alex2425/SimpleJSON
3b64c09c7d5303a69125e83f7d2de74e0f443d53
878a6341baed91c29630447f6bd480391f563045
refs/heads/master
2022-11-17T10:15:52.735288
2020-07-08T21:47:33
2020-07-08T21:47:33
null
0
0
null
null
null
null
UTF-8
C++
false
false
728
hpp
jsd_set.hpp
#pragma once #include "jsd_core.hpp" #include "jsd_container.hpp" #include <set> namespace JSON { template <typename T> void parse(std::set<T>& value, std::string const& name, PropertyTree const& object, ParsingOptions const& options = {}) { try { SJSON_GET_CHILD(name, pt, std::set<T>{}); ...
3e2ab90d74f0d9ae4117c433bcb96eb236212bcb
da1d23701d638bfbbae6c46f26ca7741a1e6688b
/Chapter02/Heart.cpp
370bedb3d13786b6124c9ed4949d0e0a44d45ca1
[]
no_license
jcjuliocss/ship-game
11c0107efebee2da74710e1f2addde0251ef8212
1e16d658ba70ebc361a28065040799655e0616fc
refs/heads/main
2023-04-08T20:40:40.275696
2021-04-26T00:13:16
2021-04-26T00:13:16
356,615,168
0
1
null
2021-04-25T20:59:01
2021-04-10T15:02:23
C++
UTF-8
C++
false
false
818
cpp
Heart.cpp
// ---------------------------------------------------------------- // From Game Programming in C++ by Sanjay Madhav // Copyright (C) 2017 Sanjay Madhav. All rights reserved. // // Released under the BSD License // See LICENSE in root directory for full details. // -----------------------------------------------------...
4e2e5d0e109e02afffeb2fc4bb5f5f219603f8e7
6830dfdc24d5467e0f5b46fc544249da64a4ac66
/DSAA_homework/Lab8/date_the_princess.cpp
5079d6aa06f2027a345465cc377825e1bb16aad1
[]
no_license
night-gale/C-projects
6829be088f17f3bbace351ac6636a73871f1d3e3
19903613e9d22e6d2ee6bb0b9bbb358f3d8ccf51
refs/heads/master
2021-08-17T11:41:38.916882
2020-08-16T06:44:49
2020-08-16T06:44:49
214,568,575
0
0
null
null
null
null
UTF-8
C++
false
false
1,561
cpp
date_the_princess.cpp
#include <stdio.h> #include <vector> #include <math.h> enum COLOR{ WHITE=1, YELLOW=2, RED=3 }; class Node{ public: std::vector<Node*> aj; COLOR color; int distance; Node(COLOR color) { this->color = color; distance = __INT32_MAX__; } }; Node* nodes[1000001]; int...
0ed996e3436051196b6e78ba830c7a05ebe174a5
584291f63c7d6cfaf15e46126c41c32b37803ea1
/2021.1 - Mestrado/01_Introdução_IA/atividade03/src/state.cpp
c535cc9b10c542fa5b7355a8f96cbaaf68252086
[]
no_license
mattsousaa/IA_Praticas
6b3a2c408da2bc17ee83af97e268d6f2cfe8ba03
05379dce1ad74da1885e032936c958424acc71a9
refs/heads/master
2021-07-19T08:28:22.947594
2021-07-03T21:39:06
2021-07-03T21:39:06
148,945,318
1
0
null
null
null
null
UTF-8
C++
false
false
184
cpp
state.cpp
#include "state.h" State::State(){} State::State(int _state){ state = _state; } int State::getState(){ return state; } void State::setState(int value){ state = value; }
0d8d881ccaabc2dd79a3747de5feffaca0b06f7b
5929cf83939009a948a90992e9cab716ebfd58a8
/SQLiteRecover/stdafx.h
d853832f3be0baccf77357a70858b86c1a6ff1b7
[]
no_license
dfrc-korea/SQLiteRecover
2fa978a687c107b7f4c5778d320491d01fc28820
5a441a68c888e5f9d05fe7a25db5aa2b33e0dca9
refs/heads/master
2020-05-01T13:23:53.722854
2019-04-03T05:55:53
2019-04-03T05:55:53
177,490,434
22
7
null
null
null
null
UHC
C++
false
false
1,223
h
stdafx.h
// stdafx.h : 자주 사용하지만 자주 변경되지는 않는 // 표준 시스템 포함 파일 및 프로젝트 관련 포함 파일이 // 들어 있는 포함 파일입니다. // #pragma once #include "targetver.h" #include <stdio.h> #include <tchar.h> #define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // 일부 CString 생성자는 명시적으로 선언됩니다. #define _AFX_NO_MFC_CONTROLS_IN_DIALOGS // 대화 상자에서 MF...
8ab16851564d7e0594834931b61492ba7d4ab53f
eeeddcc643dabb8ea6826ecaf2da4fee4b4d8a53
/cnet/socket/AddrInfo.h
682ed5ff8721f2d1d147779ac6c489291d1d6417
[]
no_license
JonathanCline/CCapNet
7115a980b8f2f7699c7c1e45dff8aef858d65b92
1466502b5351185c67112fdffab97403fef76c4e
refs/heads/main
2023-06-26T05:54:34.820612
2021-07-25T19:41:59
2021-07-25T19:41:59
382,805,810
0
0
null
null
null
null
UTF-8
C++
false
false
5,123
h
AddrInfo.h
#pragma once #include <cnet/platform/Platform.h> #include <jclib/ranges.h> #include <jclib/iterator.h> #include <compare> namespace ccap::net { struct AddrInfo { public: using value_type = ::addrinfo; using pointer = value_type*; pointer get() const noexcept { return this->data_; }; pointer opera...
9f11309bfa63b14932b686969a8b7f9c4ac51a2d
d7d0e4c868466dc4f10a860cc6175bfaaa1c5814
/RangeQuery/Forest_Queries.cpp
280493c486609677c5daf172a44413b039d88851
[]
no_license
Aman-droid/CSES_Solutions
798eb5dc64cdb0c8fe1886b4888ce3d8902d7a9d
121c555746e5b709bde6c73b4ed4fe79064e04ee
refs/heads/master
2023-05-24T13:34:43.057092
2021-06-14T19:57:38
2021-06-14T19:57:38
371,799,018
0
0
null
null
null
null
UTF-8
C++
false
false
1,466
cpp
Forest_Queries.cpp
#include <bits/stdc++.h> #define ll long long #define int long long #define endl '\n' #define rep(i, a, b) for (int i = a; i <= b; i++) #define pll pair<ll, ll> #define pii pair<int, int> #define vpll vector<pll> #define SZ(x) ((int)x.size()) #define FIO \ ios_base::sync_with_stdio(0); \ c...
e33b756f8f292cddaeba727150e926b260d230ee
e07e25bc29baf02b56f7397f7a174cbc2cfc5b6d
/src/cpp/graph-capture-regions-board/graph.cpp
308a22aeaff3224047d876acc6923848e0877c71
[]
no_license
ANARCYPHER/coding-interview-solutions
a12848be333457725a45fe723551723776ef1d8f
68452ab2bf7de438c3e4986dcd44502b1c0b69f6
refs/heads/master
2023-02-08T09:58:00.174509
2019-08-29T19:16:39
2019-08-29T19:16:39
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,910
cpp
graph.cpp
/** * Given a 2D board containing 'X' and 'O', capture all regions surrounded by * 'X'. A region is captured by flipping all 'O's into 'X's in that surrounded * region. * * Note: * 1. The board can have different x and y dimensions. * * Example: * * X X X X * X O O X * X X O X * X O X X * * After runni...
61f101acf889fc985df8286f262eeffe25062943
c2741d134d4d085c856a36813ff7402b4fdaae3c
/AssetLoader/Collider.hpp
cefb7dca984c81cc15f1ab02b10929aba8a58f89
[]
no_license
mi7flat5/Asset_Loader
fa0d18d00dc0a51f046e94ff823824b612691844
0e18a631ea155cfc5b9de733a2a2ad7db4ae891c
refs/heads/master
2021-06-11T12:55:16.586624
2016-11-23T11:01:24
2016-11-23T11:01:24
59,860,026
0
0
null
null
null
null
UTF-8
C++
false
false
1,139
hpp
Collider.hpp
#ifndef COLLIDER_HPP #define COLLIDER_HPP #include<vector> #include<string> #include"glm-0.9.2.7\glm\glm.hpp" #include"glm-0.9.2.7\glm\gtc\matrix_transform.hpp" #include"glm-0.9.2.7\glm\gtc\type_ptr.hpp" #include"Shaders.hpp" class Collider { std::vector<glm::vec3> Verts, RenderVerts; std::vector<GLuint> Indices; ...
d92351e3b29f75125d9bc9f84f12491e1f01351a
d7970b166a26418cf3868d9d23c6ee17195482fa
/include/AdlDeviceFactorySingleton.h
e2971bc48097c8b0d9d8b11b4975c4c045b65fe7
[]
no_license
srgblnch/AdlinkIODS
2698569d7b6ae3635a5a50ef8773cf3a3980972f
c233d8102a2a1e2c7b5326e1038d070c00f1148f
refs/heads/master
2021-07-12T15:44:30.727545
2014-11-06T10:12:14
2014-11-06T10:12:14
43,964,398
0
0
null
null
null
null
UTF-8
C++
false
false
4,149
h
AdlDeviceFactorySingleton.h
#ifndef __ADLINK_DEVICE_MANAGER__H___DSFJ9feudjfejr32SDd___ #define __ADLINK_DEVICE_MANAGER__H___DSFJ9feudjfejr32SDd___ #include <d2kdask.h> #include <dask.h> #include <omnithread.h> #include <map> #include <set> #include <vector> #include <string> /// /// Implements a singleton factory of adlink devices. /// D2K_R...
e51b5662b57aaf12b643f442e820d3c5bd4a9833
67182c2817ce8636fa98e92f9c7bd016e45da085
/test/component/storage.cpp
dbc3386240532381badbf9b19f95cf888b7202f4
[ "MIT" ]
permissive
PkXwmpgN/des
c345f364aeccc1ab63f152008751c626faefb017
a5f78c86b84c845d7223817d23b9087ffa83a643
refs/heads/master
2020-09-09T21:13:21.813312
2017-07-27T09:07:34
2017-07-27T09:07:34
94,446,265
0
0
null
null
null
null
UTF-8
C++
false
false
2,364
cpp
storage.cpp
#include <iostream> #include <cassert> #include <des/data/config.h> #include <des/component/component.h> #include <des/component/buffer.h> #include <des/component/storage.h> struct data1 { float x; }; struct data2 { int y; }; constexpr auto component1 = des::component::component<data1>; constexpr auto compon...
31ae6054e4e5ce5e3dc83ee22c5b9269f4062231
08b8cf38e1936e8cec27f84af0d3727321cec9c4
/data/crawl/git/old_hunk_2870.cpp
3a7357ca8f30b17f1adff4e9a964bb8ee186a9b1
[]
no_license
ccdxc/logSurvey
eaf28e9c2d6307140b17986d5c05106d1fd8e943
6b80226e1667c1e0760ab39160893ee19b0e9fb1
refs/heads/master
2022-01-07T21:31:55.446839
2018-04-21T14:12:43
2018-04-21T14:12:43
null
0
0
null
null
null
null
UTF-8
C++
false
false
334
cpp
old_hunk_2870.cpp
} ref_transaction_free(transaction); unlink(git_path("CHERRY_PICK_HEAD")); unlink(git_path("REVERT_HEAD")); unlink(git_path("MERGE_HEAD")); unlink(git_path("MERGE_MSG")); unlink(git_path("MERGE_MODE")); unlink(git_path("SQUASH_MSG")); if (commit_index_files()) die (_("Repository has been updated, but unabl...
b9d25de71b3de77175c82ec1ca1d580992b0b126
d8d64c4dc1d1e4b5e6a72b575efe1b740823342e
/_includes/source_code/code/26-PDP/sumpair/sumpair_official.cpp
f2c2b3b1ca6745e682489060242d45e78210f56d
[]
no_license
pdp-archive/pdp-archive.github.io
6c6eb2a08fe8d20c8fb393e3437e89e2c0e9d231
9f8002334de7817a998a65a070f899b40f50e294
refs/heads/master
2023-06-08T19:07:22.444091
2023-05-31T12:45:43
2023-05-31T12:45:43
169,656,266
26
19
null
2023-05-31T12:45:45
2019-02-07T23:00:27
C++
UTF-8
C++
false
false
664
cpp
sumpair_official.cpp
#include <stdio.h> #include <algorithm> using namespace std; const int MAXN = 1000002; int a[MAXN]; int main() { freopen("sumpair.in", "r", stdin); freopen("sumpair.out", "w", stdout); int n, q; scanf("%d %d", &n, &q); for(int i=0; i<n; ++i) scanf("%d", a+i); sort(a, a+n); while(q--) { ...
640b8d13b58574246bf9d5312c56e267aecefbac
8c0e508d2e9f03be0a02e48168f5455c51f242e7
/Compettitive programming/ALL OI/LMIO/2019/bulves.cpp
7b2d681103e4c578fc84f6272b954db1770a688f
[]
no_license
ithsarasak/Programming
4109ca7123cb4646b7352f5efea6d1c82bd08049
722ef1a9d99310dabb4f46321127bdf86b9e9ac0
refs/heads/master
2022-10-28T05:29:55.009295
2020-06-13T07:42:23
2020-06-13T07:42:23
null
0
0
null
null
null
null
UTF-8
C++
false
false
640
cpp
bulves.cpp
#include <bits/stdc++.h> using namespace std; const int N = 5e5 + 10; int n; long long c[N], ans; priority_queue<long long> q; int main() { scanf("%d",&n); for( int i = 1 ; i <= n ; i++ ) { long long a, b; scanf("%lld %lld",&a,&b); c[i] = c[i-1] + a - b; } for( int i = 1 ; i <...