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
5969c8d5535bf0dceae64957e282a27095ea4dcb
65c8d78de22bc1f933cca06e8981f1dae756f3db
/Chapter 14/Handle.cpp
1bf4e54908312e6839b672e4fadac9901ba252dc
[]
no_license
iStephenKing/AcceleratedCpp
119b017aebe44851cce065019639927b1d480a40
578ca1fbfb72cfac473c813a086aa6cfc61bb7cb
refs/heads/master
2021-01-20T12:15:54.911478
2017-12-13T14:01:34
2017-12-13T14:01:34
101,706,078
0
0
null
null
null
null
UTF-8
C++
false
false
99
cpp
Handle.cpp
// // Handle.cpp // // // Created by Stephen King on 12/12/17. // // #include "Handle.hpp"
09fbf5a300683d8be89ff4c553477bd351313611
1f2f7e4203b5548f2d2ebf203685dd9a802e9331
/ACW Project Framework/Model.h
561612954af492cd3e98d89f4a91962be25ea2f4
[ "MIT" ]
permissive
Lentono/PhysicsSimulationACW
fa0020a0ee5e41753dd5c6304111d2d1e7a15165
a73d22571a0742fd960740f04689f6ee095c3986
refs/heads/master
2020-05-02T15:31:33.304214
2019-03-27T17:50:47
2019-03-27T17:50:47
178,043,597
1
0
null
null
null
null
UTF-8
C++
false
false
961
h
Model.h
#pragma once #include <d3d11.h> #include <DirectXMath.h> #include <vector> #include <fstream> #include "Texture.h" #include "ResourceManager.h" using namespace DirectX; using namespace std; class Model { public: enum ModelType { Sphere, Cube, Plane, Cylinder }; Model(ID3D11Device* device, ModelType mo...
5072ebc035c409437fb771d2b6b47e493959f87d
aa21ed74ee6c52fca89f3ea8a7fd99d096626fe6
/sourceCode/myTracer.h
6adadf8b4ffd50d63ddb64f9e5390869b711dd47
[]
no_license
ccyyljj/collector
0ee8a61d59fc0e7ff7b04df1159a31657a3fdf64
ad3ee182fc4835b3d4a15a595e97f9a8cc041e18
refs/heads/master
2020-04-23T14:20:02.784671
2019-02-20T01:47:28
2019-02-20T01:47:28
171,228,136
0
0
null
null
null
null
UTF-8
C++
false
false
884
h
myTracer.h
#ifndef MYTRACER_H #define MYTRACER_H #include <QObject> #include "qcustomplot.h" class MyTracer : public QObject { Q_OBJECT public: enum TracerType { XAxisTracer, YAxisTracer, DataTracer, CrossLine }; explicit MyTracer(QCustomPlot *_plot, TracerType _type, QObject *parent = nullptr); ~MyTracer(); ...
7c018bc521ecc155e3e00e1f2a9b38b5a8a9bf7e
cd9d3171fbe3002c25e57975913202744c4b360b
/ROS/src/hexapod_app/old_cpp/HexapodFrameListener.cpp
763621499f3e9cb266b412e7736a99a331f1b7fa
[ "MIT" ]
permissive
jeremygold/hexapod
b6ecfa74cd7fd5e568dc063482850a51c17a2bdf
ffbe24c504504cdebb5fbc0f6d5b31c61a453902
refs/heads/master
2021-07-08T07:51:21.865420
2017-10-05T08:26:25
2017-10-05T08:26:25
105,865,304
0
0
null
null
null
null
UTF-8
C++
false
false
4,204
cpp
HexapodFrameListener.cpp
#include "HexapodFrameListener.h" #include "CrabCrawlLeft.h" #include "CrabCrawlRight.h" #include "ForwardLeft.h" #include "ForwardRight.h" #include "Jump.h" #include "Pressup.h" #include "Rock.h" #include "RotateLeft.h" #include "RotateRight.h" #include "WalkBackwards.h" #include "Walk.h" ///////////////////////////...
d7a6feeb414d8429a8595c688bdce9c588d1efe2
41ae2d97eac869c34881058db1b96a51c7e66067
/include/graphics/CubeMap.hpp
f3c91bf0d637c26c54098338683b94f52efc3247
[ "MIT" ]
permissive
Guarneri1743/CPU-Rasterizer
815772f51ded129279ca5701225abb0ef92c0585
d7a7344e43d91ce575724cc1d121551e6008dc01
refs/heads/main
2023-09-03T15:48:37.640026
2021-10-30T03:32:24
2021-10-30T03:32:24
306,829,410
31
2
null
null
null
null
UTF-8
C++
false
false
1,364
hpp
CubeMap.hpp
#pragma once #include <memory> #include <vector> #include <string> #include "Define.hpp" #include "tinymath.h" namespace CpuRasterizer { class Texture; class CubeMap { public: CubeMap(const char* path); void reload(const std::string& path); bool sample(const tinymath::vec3f& dir, tinymath::Color& ret); bool...
499a531443aa787f2a53a261165f5b5c22c3b9ea
f3ed7845a11539950e0949af308e86c0350daed3
/lockfree/lockfree.hpp
1fbbb817db6d9a2da1f98d5b0224411988e7a963
[ "MIT" ]
permissive
DNedic/lockfree
3d215f80b5631df5048348ddf42c6be368ceaa60
8495a38ac1b96b9f125aeee538cef6ea499f5438
refs/heads/main
2023-08-17T21:52:50.515921
2023-08-09T23:35:36
2023-08-09T23:35:36
638,640,063
495
24
MIT
2023-07-16T21:59:56
2023-05-09T19:30:50
C++
UTF-8
C++
false
false
2,302
hpp
lockfree.hpp
/************************************************************** * @file lockfree.hpp * @brief A collection of lock free data structures written in * standard c++11 suitable for all systems, from low-end * microcontrollers to HPC machines. * @version 2.0.4 * @date 10. August 2023 * @author Djordje Nedic ********...
4cb6aee3c2cbef90e39518358836037b4fe0d9df
f34384484f6bd0098e8cf6e359d89779a66d152b
/src/characters/character.cpp
6670066c12ba4996294ac717b20b8237f4272122
[]
no_license
gofish543/ISUComS327
9a0d538183e556a99d2d29b648c87e4d519a19eb
295f4ec6a6182ee650a9187d9a3b26dd01416305
refs/heads/master
2020-04-17T01:58:24.175220
2019-04-17T21:30:04
2019-04-17T21:30:04
166,115,793
0
0
null
null
null
null
UTF-8
C++
false
false
6,025
cpp
character.cpp
#include "character.h" #include "../floor.h" Character::Character(Floor* floor, u_char x, u_char y, u_char character, u_char speed, bool isPlayer, bool isMonster) { this->floor = floor; this->x = x; this->y = y; this->character = character; this->speed = speed; this->alive = true; this->pl...
c71512a1c25f9b80fe805c18ece63f31198c1095
3ba107c1bd048eaa54ac7d2dd30b1fdc1e3eb1d6
/src/Camera.h
f3df7818d49f5b94b599c37fd2b2d986438318c5
[ "LicenseRef-scancode-public-domain", "BSD-2-Clause" ]
permissive
LeoTPayne/glex
76f0191dab24f68cea583dd541b7da938cdfe6e7
e5e34280a643de0789387ab3ee033361dee16d5b
refs/heads/master
2021-01-11T21:51:09.451599
2017-05-04T21:07:24
2017-05-04T21:07:24
78,865,619
0
0
null
null
null
null
UTF-8
C++
false
false
337
h
Camera.h
#include <glm/glm.hpp> #include <glm/ext.hpp> #include <glm/mat4x4.hpp> #include <glm/gtc/matrix_transform.hpp> #include <memory> #ifndef SRC_CAMERA_H_ #define SRC_CAMERA_H_ class Camera : public GameAsset { public: Camera();~Camera(); glm::mat4 getViewMatrix(); private: std::unique_ptr<glm::mat4> view; }; #e...
5c0390fa5173276f45062612af20e9cfc51c1a1d
c328e861209c79447de1843e01e99c1c8084423d
/examples/CW02_instr_test/sw01_sl01-serial-log.ino
d30ecec0530492b4122649f4c50a61b1fdc4dada
[]
no_license
xinabox/arduino-xInstrument
b0ba7ffd29fda93e024222c6dd7afc67c2450ce0
7d32fc17c9cbb17c064e4c5cb3a1dd53b2a8ede8
refs/heads/master
2022-09-30T19:15:13.160692
2020-05-27T16:08:00
2020-05-27T16:08:00
262,951,823
0
0
null
null
null
null
UTF-8
C++
false
false
869
ino
sw01_sl01-serial-log.ino
#include "xInstrument.h" #include "xSW01.h" #include "xSL01.h" double tempC, press, hum; double lux, uva, uvb; xInstrument instr; xSW01 SW01; xSL01 SL01; void setup() { // put your setup code here, to run once // Create variables to store sensor values // (no_of_vars, var1, var2, ...) instr.createVariables(...
ef31ecf12078bc334457ed9d56be70813e425549
6cc3adc1824cef10794aa887d27455c28acdc446
/register.cpp
0d7ed2a2570b4e086f50a3f35c87a59a4e2e9305
[]
no_license
PixelScrounger/Sphinx
2dd646896b15788982040367368a3164ceb88df1
31f45c1fa7fea442c851db13f1a654170c1b4b5c
refs/heads/master
2016-09-12T09:11:14.894771
2016-05-18T16:16:08
2016-05-18T16:16:08
59,130,677
1
0
null
2016-05-18T16:09:15
2016-05-18T15:57:26
null
UTF-8
C++
false
false
6,744
cpp
register.cpp
#include "register.h" #include "ui_register.h" Register::Register(QWidget *parent) : QDialog(parent), ui(new Ui::Register) { ui->setupUi(this); this->setWhatsThis(tr("Форма, що слугує для реєстрації новоих користувачів, а також редагування існуючих.")); ui->crLogin->setWhatsThis(tr("Поле для введе...
d3337bdb202fffa064438fec8ed174dd5ac50c56
dccd1058e723b6617148824dc0243dbec4c9bd48
/atcoder/abc038/d.cpp
95a08aecfe726e9f68431b27ef998fd521519594
[]
no_license
imulan/procon
488e49de3bcbab36c624290cf9e370abfc8735bf
2a86f47614fe0c34e403ffb35108705522785092
refs/heads/master
2021-05-22T09:24:19.691191
2021-01-02T14:27:13
2021-01-02T14:27:13
46,834,567
7
1
null
null
null
null
UTF-8
C++
false
false
745
cpp
d.cpp
#include <bits/stdc++.h> using namespace std; typedef long long ll; #define rep(i,n) for(int (i)=0;(i)<(int)(n);++(i)) #define each(itr,c) for(__typeof(c.begin()) itr=c.begin(); itr!=c.end(); ++itr) #define all(x) (x).begin(),(x).end() #define mp make_pair #define pb push_back #define fi first #define se second typed...
b84a2be234a195e1c6d647f1b6c951cb3ec51852
07702d5c9493300058b748173e7b0db0214f5fb9
/include/log.h
964f11660922bcad82cd17b754dd63dfaf61a96f
[]
no_license
ZhaoAoWHUT/SpellCorrect
cec10584a9dca235c836aa1d9372ac7b1834aa18
0993b8d6bf5261780d27a74e813fb3af8e32ee86
refs/heads/master
2023-03-03T02:29:12.810370
2021-02-10T17:05:33
2021-02-10T17:05:33
203,077,516
0
0
null
null
null
null
UTF-8
C++
false
false
496
h
log.h
#pragma once #include <stdio.h> #include <iostream> using namespace std; #define INFO(msg) cout << "info --> " << msg << endl #define DEBUG(msg) cout << "debug --> file : " << __FILE__ << " , " << "function : " << __FUNCTION__ << " , " << "line : " << __LINE__ << " , " << "reason : " << msg << endl #define ERROR(m...
928b6bc819252d1abe10c29a53f14117771c5af3
e86ca17662bea3491caf50302916609e6b11e56a
/HomeWork3/Ex.1/Rhombus.cpp
e6057e1c2d2ba2a09029499b9b845200b78316f9
[]
no_license
Elohai/testRepository
47b64c192a63835cfccb40c085aa9925d7c4ca32
0f16efacc2e97673be75015f18c77fedcef4bcb2
refs/heads/main
2023-01-18T18:10:02.526720
2020-11-23T15:34:09
2020-11-23T15:34:09
306,462,972
0
0
null
2020-11-24T14:17:47
2020-10-22T21:30:17
C++
UTF-8
C++
false
false
90
cpp
Rhombus.cpp
#include "Rhombus.h" float Rhombus::area() const{ return Parallelogramm::area(); }
725c8853cc1b243fdc3f6fd49b94a2f0836f18f1
b3c47795e8b6d95ae5521dcbbb920ab71851a92f
/Leetcode/Algorithm/cpp/00336-Palindrome Pairs.cc
cdcd221c47ca95967e7822f389d6dcb2b8181ce5
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
Wizmann/ACM-ICPC
6afecd0fd09918c53a2a84c4d22c244de0065710
7c30454c49485a794dcc4d1c09daf2f755f9ecc1
refs/heads/master
2023-07-15T02:46:21.372860
2023-07-09T15:30:27
2023-07-09T15:30:27
3,009,276
51
23
null
null
null
null
UTF-8
C++
false
false
2,141
cc
00336-Palindrome Pairs.cc
class Solution { public: vector<vector<int>> palindromePairs(vector<string>& words) { vector<vector<int>> ans; unordered_map<string, int> mp; int n = words.size(); for (int i = 0; i < n; i++) { auto& word = words[i]; mp[word] = i; } ...
84efbc466d240cc1cd2c5fd8ba250f609c1628c4
f89b03dd7ce186caf3f5e249cc0b63579ae22186
/Chatting_Client_0/TDebugString.cpp
d647ccd22c7de42bcc7dc802c7ca494cf761cbbb
[]
no_license
yura0525/01_YuraHomework
cdf8c645c47c71f39bf7edf44093977b9c7d273c
7f2a37ee19e1a00eb301ff676f7fbaf8f9954b22
refs/heads/master
2021-07-12T07:12:24.630819
2019-02-26T08:11:15
2019-02-26T08:11:15
146,382,373
0
0
null
null
null
null
UHC
C++
false
false
3,497
cpp
TDebugString.cpp
#define _CRT_SECURE_NO_WARNINGS #include "TDebugString.h" #include "TSynchronize.h" void TDebugString::DisplayText(char* fmt, ...) { { TSynchronize sync(this); va_list arg; va_start(arg, fmt); char buf[256] = { 0, }; vsprintf(buf, fmt, arg); int nLen = GetWindowTextLength(m_hEdit); //SendMessage( m_hEdi...
035e5c37206b40e6692ab2b598c98a0144d89ddf
fb6251837c15a0ee0b28b15d214599165e11de83
/UVA/11456 - Trainsorting.cpp
d26eaa77f69be422904ed054cf0c02147509ab74
[]
no_license
CDPS/Competitive-Programming
de72288b8dc02ca2a45ed40491ce1839e983b765
24c046cbde7fea04a6c0f22518a688faf7521e2e
refs/heads/master
2023-08-09T09:57:15.368959
2023-08-05T00:44:41
2023-08-05T00:44:41
104,966,014
0
0
null
null
null
null
UTF-8
C++
false
false
971
cpp
11456 - Trainsorting.cpp
#include <bits/stdc++.h> using namespace std; int a[2000], memo[2000][2000]; int n; int dp(int idx,int first,int last,int idxp){ if(idx ==n) return 0; if(memo[idx][idxp]!=-1) return memo[idx][idxp]; if(a[idx]< a[first] || a[idx]> a[last]) return dp(idx+1,first,last,idxp); if(a[idx...
ad4310805103951447d4c27e867e0e181602b6a9
906f63c09d2bddbc8a54e63b66021cd451a01f2e
/luna2d/math/lunasplines.cpp
06d7cba26ba190e1730d0272f7741ea179d5a2a3
[ "MIT" ]
permissive
stepanp/luna2d
d4b0cec0dd7045c1f5f45af7123805f66495980a
b9dbec8cabaaf4c3c0a4f99720350d25a8b42fcf
refs/heads/master
2021-01-23T20:55:44.246817
2018-10-09T09:13:12
2018-10-09T09:13:12
28,882,415
33
13
null
2016-04-28T12:51:34
2015-01-06T20:38:37
C++
UTF-8
C++
false
false
2,502
cpp
lunasplines.cpp
//----------------------------------------------------------------------------- // luna2d engine // Copyright 2014-2017 Stepan Prokofjev // // 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 ...
af77eebe094a6090fbc48b9d7d70cf2f236cf85e
519f553b9a35fd0d90ec2a8589c7260585caec90
/archive/game/indexed_object.h
6b843536a82b11af79d3988874a6bd0bfc8d7e07
[ "MIT" ]
permissive
brettonw/Bedrock-C
f8c169f3529b9af1ef9e6cebc1abc5ce2d94a0b5
54e0140db14dcf7c498ae150a113745f2c242b82
refs/heads/master
2022-08-15T10:37:03.958674
2022-07-19T18:25:23
2022-07-19T18:25:23
139,098,842
0
0
null
null
null
null
UTF-8
C++
false
false
8,050
h
indexed_object.h
//----------------------------------------------------------------------------- // Copyright (C) 1997-2006 Bretton Wade // All Rights Reserved //----------------------------------------------------------------------------- #ifndef _INDEXED_OBJECT_H_ #define _INDEXED_OBJECT_H_ //-------------------------------...
151cdfda7b450b04dca4f0a358c0d043f7d003ba
3d3eab662ead62c878981dcc9291af2f33ccaeb3
/src/common/include/kim/KimConfig.h
2870e4779495749dac3c7f9bb0c789aac19e00fe
[]
no_license
Halo1234/Avalanches
85bf2f1e95b47a35381f877f51e56fd9a4251f2c
e6316ea649f101b3226d226e7fbf8b86ed762aeb
refs/heads/master
2023-08-31T15:59:26.637704
2023-08-29T22:08:52
2023-08-29T22:08:52
45,299,977
6
0
null
2021-05-29T13:38:07
2015-10-31T12:00:58
HTML
UTF-8
C++
false
false
4,396
h
KimConfig.h
/** * $Revision: 161 $ **/ #if !defined(GUARD_KIMCONFIG_H) #define GUARD_KIMCONFIG_H #if defined(DEBUG) || defined(_DEBUG) # if defined(NDEBUG) # undef NDEBUG # endif #else # if !defined(NDEBUG) # define NDEBUG # endif #endif #if defined(UNICODE) || defined(_UNICODE) # define KIM_UNICODE #endif #if !de...
436d0f44d60202bb8ae7a7e5a27fe3e05c61fae8
299fd4eb7b335064cee53d6b29e3c8646313e717
/AnnService/src/SSDServing/SelectHead_BKT/BootSelectHead.cpp
003ebfc87ba8130d1235b882868b6105fd9dd10c
[ "MIT" ]
permissive
CloudBreadPaPa/SPTAG
b932c7df84508daa8c7f3230b033bcfbd3325ea8
99ce4709e9198b2563a0f34efa3297923de3a916
refs/heads/master
2022-02-22T15:30:46.519542
2021-12-22T02:05:38
2021-12-22T02:05:38
187,119,488
0
0
MIT
2019-05-17T00:29:08
2019-05-17T00:29:08
null
UTF-8
C++
false
false
7,265
cpp
BootSelectHead.cpp
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #include "inc/Helper/CommonHelper.h" #include "inc/Helper/VectorSetReader.h" #include "inc/SSDServing/SelectHead_BKT/BootSelectHead.h" #include "inc/SSDServing/SelectHead_BKT/BuildBKT.h" #include "inc/SSDServing/SelectHead_...
4200ad7faa522ef81a22e0dc8be9576f11c858a9
fc46c59352e198fbcf39b5c7979fa10df40457d5
/Graphics For Games/Graphics Coursework/Renderer.h
e7717161ad7fa1cb410d03a0c5814cb81f245a50
[]
no_license
cometto2007/Graphics
7d2ba3f12b257030fb283ec757b0d8313b93e919
6d1e51d5b6a97e01c45a15d8d28088dc652c566c
refs/heads/master
2020-09-11T06:17:14.968041
2019-11-27T00:21:12
2019-11-27T00:21:12
221,967,965
0
0
null
null
null
null
UTF-8
C++
false
false
1,681
h
Renderer.h
#pragma once #include "../../nclgl/Frustum.h" #include "../../nclgl/Camera.h" #include "Landscape.h" #include "Loader.h" #include <algorithm> #include "Rain.h" #define SHADOWSIZE 2048 class Renderer : public OGLRenderer { public: int post_passes = 10; void configureCameraPositions(); Renderer(Window& parent); v...
9101b40c6ddb5e3ab79ce154e15f85f1686e1c18
c92aeae16efe1dab64faffe9732d6d7ccfa9bccc
/CompilerTask/CompilerTask/SemanticsParser/IdentifierDefineListSemanticser.cpp
91f28accc9b0359166ca3b44854756878481cf43
[]
no_license
ChinaZZH/MyCompilerTask
cda6420e3fe5d0d6c6181a98673b279fc1bd157e
51b837f330e9982261a08349dac2e0934281b06b
refs/heads/master
2021-01-19T01:28:10.239013
2016-05-22T02:58:54
2016-05-22T02:58:54
52,652,875
3
1
null
null
null
null
GB18030
C++
false
false
11,484
cpp
IdentifierDefineListSemanticser.cpp
#include "IdentifierDefineListSemanticser.h" #include "SemanticsParserMgr.h" #include "../SymbolTable/SymbolTable.h" #include "../Log/LogFile.h" #include "../SyntaxParser/SyntaxParser.h" #include "../GlobalData/WordStreamTable.h" #include "../Common/ErrorProcess.h" IdentifierDefineListSemanticser::IdentifierDefineList...
cb90398535a5b4045da923735767d1054a108ddc
8af0899645498df2ee91ef0b9d71242738ab3c7a
/Source/TestTaskAnvioVR/SlotsWidgetBase.h
3853ee88fcde40cc5400b08a4187ade26fbd79dd
[]
no_license
lpestl/TestTaskAnvioVR
535547b39c75ee18fbc55837003975aec7151f26
6029a31db08095baf26dcc89bd77280a6f74f9c1
refs/heads/master
2023-07-20T09:25:07.901048
2019-06-17T11:24:05
2019-06-17T11:24:05
191,898,100
0
0
null
null
null
null
UTF-8
C++
false
false
302
h
SlotsWidgetBase.h
// Fill out your copyright notice in the Description page of Project Settings. #pragma once #include "CoreMinimal.h" #include "Blueprint/UserWidget.h" #include "SlotsWidgetBase.generated.h" /** * */ UCLASS() class TESTTASKANVIOVR_API USlotsWidgetBase : public UUserWidget { GENERATED_BODY() };
cf3309e0781ecc49467eb0b85b325cccbb114c07
dbaf034882bc34311cba72833d2c94b45765452d
/string/split.cpp
1d2bfc88a4ef18cada96bb6dd29196c3457cbafd
[]
no_license
chikashimiyama/sandbox
ad5c3c1b08c52678ebc46df5fea64f6325743e5a
00c632114650ea166b8653030c4543286e0dda96
refs/heads/master
2016-09-06T17:13:47.954494
2015-03-24T15:48:09
2015-03-24T15:48:09
11,373,835
1
0
null
null
null
null
UTF-8
C++
false
false
382
cpp
split.cpp
#include <string> #include <sstream> #include <iostream> using namespace std; int main(){ string str = "media direct-to-one interpolation"; istringstream iss(str); while(iss.good()){ string split; iss >> split; cout << split << endl; } string s1 = "miyama"; string s2 = "chikashi"; ...
c81e149d3341922f8338306c83d781c8581a303e
4f98a9bd165236fd5f4d12d6c2c852f42841f5a9
/rush01/GraphicalMode.cpp
68c586719144f4e69b1c19ace68ded842901ea30
[]
no_license
tsergien/cpp_learning
74c0800b4b86fffc698de2de5ed3a094ad548b32
5cc814e65b486f1c1096902a08731f3fedc5d885
refs/heads/master
2020-04-01T17:15:45.084209
2018-10-17T10:26:00
2018-10-17T10:26:00
153,278,621
0
0
null
null
null
null
UTF-8
C++
false
false
5,284
cpp
GraphicalMode.cpp
// // Created by Andrii BYTKO on 13.10.2018. // #include "GraphicalMode.hpp" GraphicalMode::GraphicalMode() { HostnameModule hostname; OsInfoModule os; DateTimeModule date; CPUModule cpu; RAMModule ram; DiskModule disk; NetworkModule net; hostname.set_data(); os.set_data(); date.set_data(); _loop = 1;...
d51d591c7c01d2d94aae6b5914b4ece653e3a831
d70100fa746894bae2cf455953d7c74484fabddf
/destructor.cpp
9ef9c004d51a19b52d21b51a6ec34b3b76a1d401
[]
no_license
tonyhoangdev/cpp_ipc
77cd365c8a294475985bda901fecf6b85ba60a4c
d920baf0106ac10e007888b2a0b3cf2069a14625
refs/heads/master
2020-06-02T04:00:55.679693
2019-06-09T16:22:28
2019-06-09T16:24:55
191,028,907
0
0
null
null
null
null
UTF-8
C++
false
false
808
cpp
destructor.cpp
#include <iostream> class BaseClass { public: BaseClass() { std::cout << "Constructor Base Class" << std::endl; } virtual ~BaseClass() { std::cout << "Destructor Base Class" << std::endl; } }; class DerivedClass : public BaseClass { public: DerivedClass() { std::cout << "C...
8fa141eda8c32387d35a43321b79bda98d5f41a5
832023582a7d90c1ebaec5973faece820fd4ba2b
/practise/net/mc_tcp.cpp
1d3d4250e263801ccda280a3129fcf2afdd33358
[]
no_license
starcity/mycode
9e2d0a67804c15294a5389fe39b5af2121afe702
5eef140bb1dd58f976a686711c2ee8954459f150
refs/heads/master
2021-01-23T03:53:28.228038
2020-02-28T08:25:37
2020-02-28T08:25:37
16,724,767
0
0
null
null
null
null
UTF-8
C++
false
false
731
cpp
mc_tcp.cpp
#include "mc_tcp.h" #define LISTEN_EVENTS 512 mc_tcp::mc_tcp(mc_tcp::TYPE type,const char *ip,uint16_t port) { m_type = type; m_ip = inet_addr(ip); m_port = port; m_fd = socket(AF_INET, SOCK_STREAM, 0); } mc_tcp::~mc_tcp() { } int32_t mc_tcp::init() { if( m_fd < 0 ) return m_fd; struct sockaddr_in addr; ...
3b719bd2ca2ba0d26ee82f0b694bba73d06bbed6
e0eb5d1a84daa73096a2e54f143d09f22e138a6c
/src/giovanni/robot_control.cc
bc6acfb67948a0e1cd74d188fc89abee85573e44
[]
no_license
intsven/ARTPraktikum
18fa128eda83812ff2f04e74e105603f3b8c546c
9881ef1f0fb841f0e34c07c1fc0a200d2188917e
refs/heads/master
2022-12-21T09:56:33.058569
2020-09-29T11:47:43
2020-09-29T11:47:43
298,018,892
0
0
null
null
null
null
UTF-8
C++
false
false
2,859
cc
robot_control.cc
#include <iostream> using std::cerr; using std::endl; #include <stdio.h> #include <math.h> #include <stdlib.h> #include <string.h> #include <unistd.h> using std::max; using std::min; #include "gio_path.cpp" #include "ros/ros.h" #include "std_msgs/String.h" #include "nav_msgs/Odometry.h" #include <tf/transform_broadca...
68da57f0ff115623f9959602ce7d7a94fa05241c
16e90b3fb905350bdfe012f786ed24d83ee7d00c
/service/Exception.cc
e54d4a60117a9ccd121d816e2386bc6a5f42f6b0
[]
no_license
lcls-daq/ami
b216fac06164d4e860d8bf385b381d01a15719da
4b46b80970fec84979be24eedea8639bd90a9748
refs/heads/master
2023-08-03T00:30:36.833126
2023-07-29T09:28:36
2023-07-29T09:28:36
87,128,480
2
0
null
null
null
null
UTF-8
C++
false
false
296
cc
Exception.cc
#include "Exception.hh" #include <string.h> using namespace Ami; Event::Event(const char* who, const char* what) { strncpy(_who , who , MaxLength); strncpy(_what, what, MaxLength); } const char* Event::who () const { return _who ; } const char* Event::what() const { return _what; }
0fc5c8e6974aef6b6c73d6bfcfc72f6e6755b94b
6e28829dbe2782de31b250ed60cad36fd4e3cdb1
/14-PokemonAR/Classes/Native/Bulk_Vuforia.UnityExtensions_2.cpp
c08cf780bb9f7c8084359252a8eebfd77e821140
[]
no_license
henry2423/2018-Spring-Swift
b37f594db4420b5299bcf320b998565914f7399b
be2ff08c8486b05ed3c05f381d3c783b7442f97d
refs/heads/master
2021-01-24T04:20:21.495493
2018-06-23T16:23:46
2018-06-23T16:23:46
122,933,557
1
0
null
null
null
null
UTF-8
C++
false
false
132
cpp
Bulk_Vuforia.UnityExtensions_2.cpp
version https://git-lfs.github.com/spec/v1 oid sha256:105bb51b7948cf60b33def7db8bdeeb5df65c51878c1932bba464b4d257dbfa8 size 1645637
cfadd4490934c38213edbc3af3d70cddfe20fddf
ca21d51502ca531a6190fba03df4a7e4ca4cc546
/src/sound/impl/mixer_core.h
0fe1fa16615e31ac881f2a6ee80f46a3922318c9
[]
no_license
wothke/spectrezx
4b53e42dbf6d159a20b991a8082dc796ae15232c
1878c17cdb2619a1c90d60b101c4951c790e226b
refs/heads/master
2021-07-11T18:43:38.044905
2021-04-17T00:37:47
2021-04-17T00:37:47
36,067,729
8
0
null
null
null
null
UTF-8
C++
false
false
1,842
h
mixer_core.h
/** * * @file * * @brief Declaration of fast mixer * * @author vitamin.caig@gmail.com * **/ #pragma once //library includes #include <sound/gain.h> #include <sound/multichannel_sample.h> //boost includes #include <boost/static_assert.hpp> namespace Sound { template<int_t ChannelsCount> class MixerCore { pub...
e225fac7041e8db2a524cdb595a30a9ba84e263b
a666a2bb3043ed12d58bd98d2e4325b0cd1f1986
/ch13.c++ primer/ex13_43.cpp
c8cc1d7d8c0733b7afbda412d2a5af28f19e5a64
[]
no_license
uglychen/Cpp-Primer-5th-Edition-Answer
fe0b31e730374430c6630c96c034484a9ecda43d
3e34db06f8111dca02c141088fd3bcb10ff2fceb
refs/heads/master
2021-01-18T21:35:14.330782
2016-05-12T02:31:14
2016-05-12T02:31:14
32,642,450
1
1
null
null
null
null
UTF-8
C++
false
false
6,769
cpp
ex13_43.cpp
#include <iostream> #include <string> #include <memory> #include <utility> #include <vector> #include <algorithm> class StrVec { public: //! Big 3/5. StrVec() : element(nullptr), first_free(nullptr), cap(nullptr) {} StrVec(std::initializer_list<std::string> l); StrVec(const StrVec& s); StrVec& operator =(c...
e4602bd04df190532ac9d62b3ea52ce7434e354e
79691efa7e09766474403b513126d07482fdb561
/Yahtzee/main.cpp
d5e2da6bbd17ed6d0774e3048db2a5b304af9492
[]
no_license
yerlanyr/uva-submissions
fb1baab448b5c298ef747a731c2bf729ad3e4980
c46f69449ff6afee9dce402fa26875dcf87ea770
refs/heads/master
2020-04-21T07:50:20.159019
2019-10-15T05:00:26
2019-10-15T05:00:26
169,402,059
0
0
null
null
null
null
UTF-8
C++
false
false
4,151
cpp
main.cpp
#include<sstream> #include<iterator> #include<functional> #include<map> #include<cassert> #include<iostream> #include<vector> #include<set> #include<cmath> using namespace std; map<int,int> getCount(vector<int> cube){ map<int,int> count; for(int x:cube){ count[x]++; } return count; } int ofAKin...
bf2b9fe16c6b5d4b95ae71ad795ee9f0a3c77f25
6bcdb9e8836cd60e972be865beb50fbfefdfa650
/libs/core/include/fcppt/detail/string_literal.hpp
1ed7eacebb845944c394ec3ea7632350580402b7
[ "BSL-1.0" ]
permissive
pmiddend/fcppt
4dbba03f7386c1e0d35c21aa0e88e96ed824957f
9f437acbb10258e6df6982a550213a05815eb2be
refs/heads/master
2020-09-22T08:54:49.438518
2019-11-30T14:14:04
2019-11-30T14:14:04
225,129,546
0
0
BSL-1.0
2019-12-01T08:31:12
2019-12-01T08:31:11
null
UTF-8
C++
false
false
872
hpp
string_literal.hpp
// Copyright Carl Philipp Reh 2009 - 2018. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #ifndef FCPPT_DETAIL_STRING_LITERAL_HPP_INCLUDED #define FCPPT_DETAIL_STRING_LITERAL_HPP_INCLUDED ...
ce58f4c73603d794bf02c6bc529f6a97e8dd4bfc
8402b846cd8f86034d16d72809a1483c603a9019
/XSY/2305.cpp
e7a64ef2990a3a7e2a53e62320afebd09297e962
[]
no_license
syniox/Online_Judge_solutions
6f0f3b5603c5e621f72cb1c8952ffbcbb94e3ea6
c4265f23823e7f1c87141f5a7429b8e55e906ac6
refs/heads/master
2021-08-29T05:40:06.071468
2021-08-28T03:05:28
2021-08-28T03:05:28
136,417,266
2
3
null
2018-06-10T09:33:57
2018-06-07T03:31:17
C++
UTF-8
C++
false
false
3,901
cpp
2305.cpp
#include <iostream> #include <cstdio> #include <cstring> #include <cassert> #include <algorithm> #include <set> typedef long long lint; const int N=1e5+5; const int M=505; int n,m,jmp[M]; struct vec{ int x,y; friend vec operator - (const vec &a,const vec &b){ return (vec){a.x-b.x,a.y-b.y}; } friend bool operator ...
4659e8c703c60e8c04d16ad409816d536ababc9c
95a43c10c75b16595c30bdf6db4a1c2af2e4765d
/codecrawler/_code/hdu4939/16215012.cpp
d0a9978ff7e5630ee2e49ea938050e1176f28f6d
[]
no_license
kunhuicho/crawl-tools
945e8c40261dfa51fb13088163f0a7bece85fc9d
8eb8c4192d39919c64b84e0a817c65da0effad2d
refs/heads/master
2021-01-21T01:05:54.638395
2016-08-28T17:01:37
2016-08-28T17:01:37
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,220
cpp
16215012.cpp
#include<cstdio> #include<cstring> #include<algorithm> using namespace std; const int N = 1505; typedef __int64 LL; LL dp[N][N]; int main() { LL x, y, z, t, n, i, j; int T, cas = 0; scanf("%d",&T); while(T--) { scanf("%I64d%I64d%I64d%I64d%I64d",&n,&x,&y,&z,&t); memset(dp, 0, sizeof(d...
23710ea557dde050023f28e045020851d1d00722
033beb1ecf6dd347a4fe608ef33a2a224776ef69
/darknet/src/main.cc
9fbdceedb370e2421f4815e91d16c8026f0faad7
[ "MIT" ]
permissive
MojaX2/vision_module
b9ab9a87af8b3e29a0cc84cb8dad05b998b56d7f
607bbcc9a799c47ac2cd6d142d68d0d47a457e36
refs/heads/master
2020-04-01T19:36:14.039736
2018-10-24T15:42:25
2018-10-24T15:42:25
153,562,271
0
0
null
2018-10-18T04:10:57
2018-10-18T04:10:57
null
UTF-8
C++
false
false
10,037
cc
main.cc
// Begin Main.cpp #include <ros/ros.h> #include <std_srvs/Trigger.h>//追加トゥアン #include <dynamic_reconfigure/server.h> #include <vision_module/darknetConfig.h> #include <config.h> #include <vision_module/VisionOrder.h> #include <vision_module/ImageInfo.h> #include <vision_module/ObjectInfo.h> #include <vision_module/co...
0ea1ed09d239088e813a37c3f31e54288e457240
5af37ea53571bfbf7fd9880da81f8e0e37534867
/PTA/advanced_level/1089_insertOrMerge.cpp
1fa9553f2104389db0eb5d5b5692ef311b140e5c
[]
no_license
RickyL-2000/Algorithm
4a67b970a1ccf6a3199b3d01e11ba3877e094fab
32afaf6dded6543cb80c63219c0ddac40d393462
refs/heads/master
2023-05-09T14:22:55.078626
2021-06-02T03:37:43
2021-06-02T03:37:43
280,323,530
1
0
null
null
null
null
UTF-8
C++
false
false
2,096
cpp
1089_insertOrMerge.cpp
#include <iostream> #include <vector> using namespace std; int n; vector<int> origin, partial; void partialInsertSort(vector<int>& array, int j) { int key = array[j]; int i = j-1; while (i >= 0 && array[i] > key) { array[i+1] = array[i]; i--; } array[i+1] = key; } void partialMerg...
abb8d7c799b7bd003d9c9ea341b0c96442b8bd1b
f52c5bd8b1e65483d1e2b258526a9cc5fbaf001c
/dataaccess.cpp
38cf8d93a6dc97c578b248311058f3955c15484a
[]
no_license
clogwog/drive
811f65af0883ff1f1a4bf640e995dd3ea383918d
a6a7f3cfa17eae09d4f86192a2c26c06362baa09
refs/heads/master
2021-08-19T12:35:08.575267
2017-11-26T09:08:04
2017-11-26T09:08:04
112,069,011
0
0
null
null
null
null
UTF-8
C++
false
false
990
cpp
dataaccess.cpp
#include "dataaccess.h" DataAccess::DataAccess(QObject *parent) : QObject(parent) { m_ToDoItems = new QQmlObjectListModel<ToDoItem> (this); //------ ToDoItem* list1 = new ToDoItem(m_ToDoItems); list1->set_done(true); list1->set_description("bla bla"); m_ToDoItems->append(list1); list1 = ...
f1bea6dd595607941b2c6e12a86271ded0fb8cf3
4a193c0992276fc133bc6e1d737f9fc30a71bef4
/Game/Kayak/Source/Kayak/Private/Mix/GameMode/KayakGameModeLogin.cpp
435e61026d2b527b2a5a5b472bd1ed0833c4a75e
[]
no_license
liulianyou/KayakGame
ff13ac212f311fe388d071151048aad99634054c
54264f06e23759c68013df92cbef0e77870c37d8
refs/heads/master
2022-03-16T16:05:20.782725
2022-02-14T11:01:37
2022-02-14T11:01:37
136,556,867
1
1
null
null
null
null
UTF-8
C++
false
false
153
cpp
KayakGameModeLogin.cpp
#include "KayakGameModeLogin.h" AKayakGameModeLogin::AKayakGameModeLogin( const FObjectInitializer& ObjectInitializer ) :Super(ObjectInitializer) { }
4153cfe11fe74b66864c73b2b04c50f2c379578b
73650c0a7a565f36f627609d00149192b5e64c4b
/LinkedList/LL2/moveElementToFront.cpp
c3472f0eb1050ac3072f183039c7beed7e80d13d
[]
no_license
MahirRatanpara/LBPGFG
b1ebbb23c10cdbb6e1fdea09dced704437cd627c
cd4b8edf140c75f883ff2f82c47db2d6342124e7
refs/heads/master
2023-06-17T16:36:57.126838
2021-07-22T07:55:24
2021-07-22T07:55:24
357,083,173
0
1
null
null
null
null
UTF-8
C++
false
false
1,069
cpp
moveElementToFront.cpp
#include <bits/stdc++.h> using namespace std; class Node { public: int data; Node *next; }; void moveToFront(Node **head_ref) { Node* temp=*head_ref; Node* prev=temp; while(temp->next!=NULL) { prev=temp; temp=temp->next; } prev->next=NULL; temp->next=*head_ref; ...
729d43e993773f4f169159fb1bde83c840d1ee56
726d8518a8c7a38b0db6ba9d4326cec172a6dde6
/0641. Design Circular Deque/Solution.cpp
2c699bc4a403583ba42f93cdcfe254c139387606
[]
no_license
faterazer/LeetCode
ed01ef62edbcfba60f5e88aad401bd00a48b4489
d7ba416d22becfa8f2a2ae4eee04c86617cd9332
refs/heads/master
2023-08-25T19:14:03.494255
2023-08-25T03:34:44
2023-08-25T03:34:44
128,856,315
4
0
null
null
null
null
UTF-8
C++
false
false
1,707
cpp
Solution.cpp
#include <vector> using namespace std; class MyCircularDeque { public: MyCircularDeque(int k) : Q(k) { } bool insertFront(int value) { if (isFull()) return false; front = (front - 1 + Q.size()) % Q.size(); Q[front] = value; ++size; return...
11e86f3dfe7e6f443988c15f61bfc828a895a6fa
1cba40be0095359b6ea74c8bb4c9562371bc0316
/Programmers/짝지어 제거하기.cpp
b5dcc008d8b6a22f5244583b72e0e7c9bd8c3af9
[]
no_license
dgandrewc/leetcode
4934b7700c4e8b6bce5be2ae2232794a03d0e00b
00c834222e16dd4e57e5ac11bb438a2ecec99375
refs/heads/main
2023-06-09T17:05:03.329571
2021-07-05T03:45:02
2021-07-05T03:45:02
357,297,233
0
0
null
null
null
null
UTF-8
C++
false
false
573
cpp
짝지어 제거하기.cpp
#include <iostream> #include <stack> using namespace std; int solution(string s) { int answer = -1; stack<char> st; for(int i=0; i<s.size(); i++) { if(st.empty() || st.top()!=s[i]) { st.push(s[i]); continue; } while(!st.empty() && st...
b07869f58dcb62fa59fc343e3a35925c7ee219e4
5730d9527dda5b2d2803f24de3856c0ab64332ae
/ResourceControl.h
35adc9ed13ac231939f3b70e6c172db5a1341c33
[]
no_license
LEEEUNSOUL/-2D-Game-TeamProject2
b282b3d87c4115a458dd3e4c19ac7b241e8344bc
041fe0e662f92bd4bcbcc789cd0ed9442b13b4f2
refs/heads/master
2021-05-20T15:12:41.314648
2020-04-02T03:37:28
2020-04-02T03:37:28
252,344,863
0
0
null
null
null
null
UHC
C++
false
false
507
h
ResourceControl.h
#pragma once #include "Script.h" #include "Observer.h" //생산시간 RealTime 3분에(180초) 2개씩 #define PRODUCTIONTIME 5 class ResourceControl : public Script, public Observer { private: map<string, int> _mResourceSave; bool isDayToProduce = false; bool isProducing = false; int _producingnStartTime = 0; int _startTime ...
36b30e4099bfa433e9f1e7b8aeae1797ddbb2e79
91ca3afc2ca5c56b60a8d3ede77676907fb71a81
/C++ ALGORITHMS/eulerian_path, lca using rmq segment tree.cpp
c7672e3dff17218106592ec6d461a7196eb2e980
[]
no_license
valeri2000/Algorithms-collection
aa15ac780604f54fa208932f158f1d129a02518e
7042abfe26ea02a4e7749d7d273b2069e267dbf4
refs/heads/master
2021-10-08T16:23:15.213495
2018-12-14T15:04:50
2018-12-14T15:04:50
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,022
cpp
eulerian_path, lca using rmq segment tree.cpp
#include <cstdio> #include <iostream> #include <algorithm> #include <vector> #include <cstring> #include <ctime> #include <climits> #include <queue> #include <stack> #include <set> #include <map> #include <cmath> #include <utility> #define endl '\n' #define _ ios::sync_with_stdio(false), cin.tie(NULL) #define iread(ss...
d0aed9e0ce063b3432e3c42fb51c3bb6ad5cffbe
d915b8d0432189bc05021f1b8209fdc4a710f961
/2017/23.explicit.cpp
0c01443599630f40cdb55c21899364c11d98c540
[ "WTFPL" ]
permissive
wgevaert/AOC
cd77ed1848f73c78790bbfb6379b25832e1015e1
1f6cb2c2a134725bffbc6ce430899dcd9f03b8f7
refs/heads/master
2022-12-27T17:12:34.839336
2022-12-27T12:43:27
2022-12-27T12:43:27
225,715,331
2
0
null
null
null
null
UTF-8
C++
false
false
13,393
cpp
23.explicit.cpp
#include <iostream> #include <fstream> #include <string> const unsigned primes[1455]={105701 , 105727 , 105733 , 105751 , 105761 , 105767 , 105769 , 105817 , 105829 , 105863 , 105871 , 105883 , 105899 , 105907 , 105913 , 105929 , 105943 , 105953 , 105967 , 105971 , 105977 , 105983 , 105997 , 106013 , 106019 , 106031 ,...
7301245839cf50bdc9c7f9a5248224e79499d215
1b5ce323ef7ad1bdb55f2eec0c0d916dedc405d8
/src/ray.h
c0e108d3588eae1ba8dd39c0ed2ec03831e7692b
[]
no_license
arthur-liu-lsh/RayTracing-Nicolas-Arthur
3ba1303a6eb553d8dba66581a3587a70bc4965f5
487ca6e2f1272cafc045f805bc1c68c698ece77a
refs/heads/main
2023-03-19T13:25:57.956233
2021-03-07T13:58:10
2021-03-07T13:58:10
null
0
0
null
null
null
null
UTF-8
C++
false
false
785
h
ray.h
#ifndef RAY_H #define RAY_H #include <cstdio> #include <vector> #include "Eigen/Dense" #include "shapes.h" #ifndef M_PI #define M_PI 3.141592653589793 #endif #ifndef INFINITY #define INFINITY 1e8 #endif //Profondeur maximale de récursion #ifndef MAX_RAY_DEPTH #define MAX_RAY_DEPTH 3 #endif using namespace Eigen; ...
450baca8bba74768005d99a584491ed57fc9777d
a7b25756754024ed9a3990784de1d4d9482d703a
/src/Textures/PerlinNoise.h
d1dd3597e55be13cf4174ccb4d2e539d96f03d3f
[]
no_license
5433D-R32433/RayTracingTheNextWeek
eaf2b43515d8f14d38157d42100284a8f7ddc617
2d7a5915094ad8b2be636dd620c5538519d3608f
refs/heads/master
2022-02-24T00:39:09.386270
2019-10-29T22:02:49
2019-10-29T22:02:49
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,397
h
PerlinNoise.h
#pragma once #include "Random.h" #include "Vec3.h" #include <vector> #include <numeric> class PerlinNoise final { public: explicit PerlinNoise(Random& random) : randomVectors_(CreateRandomVectors(random)), permutationsX_(CreatePermutations(random)), permutationsY_(CreatePermutations(random)), permutationsZ_...
e50ad0f2ee971f102369c0ca1c67ae54f3d4946e
b63de759905854e95265ae48afeed93b0105dd70
/Engine/shadermanagerclass.h
68db7323448f11c6d853645597f88dcbc9fa5c44
[]
no_license
Barry-Hoyd/Real-Time-Graphics
1ca34daf37f72cb148a8db3c0ee088702a618341
1ea2e675cbe1f515f120459ae976ed3cf98b4681
refs/heads/master
2023-04-19T06:25:15.016558
2021-04-27T19:45:03
2021-04-27T19:45:03
357,917,490
0
0
null
null
null
null
UTF-8
C++
false
false
2,430
h
shadermanagerclass.h
//////////////////////////////////////////////////////////////////////////////// // Filename: shadermanagerclass.h //////////////////////////////////////////////////////////////////////////////// #ifndef _SHADERMANAGERCLASS_H_ #define _SHADERMANAGERCLASS_H_ /////////////////////// // MY CLASS INCLUDES // ////////////...
ef3ba50333240239b7c28abbddd653a2312b278d
1562887c93a84858225f2d0de8a062310575b944
/3D Basics/UI_InputField.cpp
fc2204dbeab251c6a7eb9794f96be78d291ab7e8
[ "MIT" ]
permissive
Csumbavamba/Terrain-Generation
a7af87cf3df93463513f5e8f1afd855ebb3ffa0c
8a3d86494d5ce0f9a0294210aba8464edabc57da
refs/heads/master
2020-05-21T02:41:05.874392
2019-05-09T23:42:42
2019-05-09T23:42:42
185,883,489
0
0
null
null
null
null
UTF-8
C++
false
false
2,713
cpp
UI_InputField.cpp
#include "UI_InputField.h" #include "TextLabel.h" #include "Input.h" UI_InputField::UI_InputField(glm::vec2 position, std::string menuTitle) { std::string font = "Dependencies/Fonts/DWARVESC.TTF"; positionOnScreen = position; isTyping = false; displayText = new TextLabel(menuTitle, font, position); ...
02cb054579b9c89ae8e8e8c5e243a2978dbacf91
ff9e7a7b77db7c46ceeb538e903b9817c379082e
/Greedy Algorithm/Maximum Trains for which stoppage can be provided.cpp
6b0ac0296886b277d051d5bf3181bb9c7c8a9ce6
[ "MIT" ]
permissive
itaniyagupta/Famous_Programming_Problems
c3faa55e00e4348de690ac96b0aecc311385d919
0038af77c95069f0889abf5bfc4e928bc290bfa4
refs/heads/main
2023-06-19T13:00:29.441331
2021-07-19T09:30:58
2021-07-19T09:30:58
314,440,158
1
0
null
null
null
null
UTF-8
C++
false
false
657
cpp
Maximum Trains for which stoppage can be provided.cpp
class Solution { public: int maxStop(vector<vector<int>>& arr, int n, int m) // n = no. of platforms; m = no. of trains; { vector<pair<int, int> > vect[n + 1]; for (int i = 0; i < m; i++) vect[arr[i][2]].push_back(make_pair(arr[i][1], arr[i][0])); for (int i = 0; i <= n; i++) sort(vect[i]....
012986e96d6f02678ed259cc07a7191e83c1e6ac
6e887cc1c6b722f1dc8566946ae0af57052528be
/src/ig_simulator/multiplicity_creator.hpp
45ef3e6bfaac52481d617b0181e77850906c577d
[]
no_license
yana-safonova/ig_simulator
ab4cc596c651c84f1ff038e5a85f8dbe23f7366c
c3778b74f459927cc2e2f1cce45e9b3ddd3932d7
refs/heads/master
2021-01-17T13:12:19.678776
2015-07-11T19:23:22
2015-07-11T19:23:22
30,644,246
14
8
null
2016-11-25T17:43:44
2015-02-11T11:15:03
C++
UTF-8
C++
false
false
3,006
hpp
multiplicity_creator.hpp
#pragma once #include "repertoire.hpp" template<class IgVariableRegionPtr> class BaseMultiplicityCreator { public: virtual size_t AssignMultiplicity(IgVariableRegionPtr ig_variable_region_ptr) = 0; }; //------------------------------------------------------------------------------------------- template<class Ig...
03c2e3b50a67a366d26030b50224e07c7a5244da
10a1aee57185b62e3b9a55d3e65240f6431178fd
/libcrafter/crafter/Protocols/ICMPExtensionCraft.cpp
9ab75996ea4a6de7a6d3f416b7704e45d6a6e43d
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
pellegre/libcrafter
08876649860e45a449f2e67f9ef15f7bcb0957fa
821a933cfcfc8dc0337d8bd3a6db3a5e2f063258
refs/heads/master
2023-08-05T06:28:16.148414
2023-05-30T22:47:21
2023-05-30T22:47:21
6,434,669
264
81
null
2021-11-13T00:19:25
2012-10-29T02:24:14
C++
UTF-8
C++
false
false
2,390
cpp
ICMPExtensionCraft.cpp
/* Copyright (c) 2012, Bruno Nery Copyright (c) 2012, Esteban Pellegrino All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice,...
45df7693cd96527d0762054a554a63a436828dde
307118ad212baf525c1c0728ffebc87f494d4f61
/test_finger/TempDialog.cpp
974f96a484f6117be0b60b2a621599c9fc9f4923
[]
no_license
YouDad/test_finger
8fb732feaa0170d173d3d1546e03646a38355758
dc61f61666637505e2dd5e503860080f63ba9263
refs/heads/master
2022-12-12T01:18:24.485565
2020-06-16T15:27:58
2020-09-13T18:08:59
188,590,410
0
1
null
null
null
null
GB18030
C++
false
false
3,399
cpp
TempDialog.cpp
#include "stdafx.h" IMPLEMENT_DYNAMIC(TempDialog,CDialogEx) // 构造函数 TempDialog::TempDialog(CWnd* pParent) : CDialogEx(IDD_TempDialog,pParent){} // 析构函数 TempDialog::~TempDialog(){ //TODO 析构 } LRESULT TempDialog::response(WPARAM w,LPARAM l){ return TRUE; } // 初始化事件 BOOL TempDialog::OnIn...
cda9165ca31c255133bec011e48730a66987f41a
11eea8da1b414871e0f8608dd61ee543e81b4b19
/P1106.cpp
2db861ec83b6109908d8e1bd8e54382a703a6a60
[]
no_license
Tomistong/MyLuoguRepo
57ed57ad504978f7402bd1bbeba30b2f4ae32a22
5dfe5e99b0909f9fe5416d5eaad01f368a2bf891
refs/heads/master
2023-08-29T05:18:29.981970
2021-10-06T04:23:02
2021-10-06T04:23:02
null
0
0
null
null
null
null
UTF-8
C++
false
false
463
cpp
P1106.cpp
#include <algorithm> #include <iostream> using namespace std; int a[300], k; int main() { int n; for (int i = 0;; ++i) { char c = (char)getchar(); if (c == '\n' || c == '\r' || c == ' ') { n = i; break; } else a[i] = c - '0'; } ci...
60e2fd178ee0e74f6c0e4f0144ceb344b87619ef
2e5bc0ec41f772109b48082961b791ce8ef13e37
/classes/Alignment.h
1e5ef721b923f441b3eae5b883382ee557e09491
[]
no_license
Chefslayer/Translator
41fde25e143218c4cdd4cb9cf4889dadf31848d7
7ecf27cbc0dffedb4cf9b624cb50d6aab979443f
refs/heads/master
2016-09-05T14:18:12.645917
2009-07-31T17:01:38
2009-07-31T17:01:38
190,734
1
0
null
null
null
null
UTF-8
C++
false
false
3,041
h
Alignment.h
/** * @file * @author Gruppe 2 * @version 1.0 * * @section DESCRIPTION * * This file implements the Alignment Class, which handels the reading for a alignment-file. */ #ifndef __ALIGNMENT_H__ #define __ALIGNMENT_H__ #include <vector> #include <string> #include "../lib/gzstream.h" #include "../includes/Phrase...
f829a83a360492c69662a583b46adc9b68895247
422f41495876d9250770ad5d4d829c49e4c99a3c
/FlirOneControl/cpicture.h
4e647082b716c4a9fea6ad07f176bd5e272558ab
[ "MIT" ]
permissive
da-nie/FlirOneControlForLinux
d87f901321dd5bc52df441557b5259f7012eb81d
e3460d97da3e6330b898eb0374a7837790538865
refs/heads/master
2022-08-28T20:34:31.739236
2020-05-24T14:06:19
2020-05-24T14:06:19
265,639,283
16
2
null
null
null
null
UTF-8
C++
false
false
3,472
h
cpicture.h
#ifndef C_PICTURE_H #define C_PICTURE_H //**************************************************************************************************** //Класс простого изображения //**************************************************************************************************** //**********************************...
bd69a5f27b3180ce8bee5226af98a447a9b13ed7
7a28a00bd395977d2004361b480c5c9c226b06b0
/nebulosity4/cameras/AOSX/Imager100.h
37f9b005b169ac149b2a5208bdb241e1420ab2ec
[ "BSD-3-Clause" ]
permissive
supritsingh/OpenNebulosity
99d3b037ec33a66bf079643d536790d85daa64b8
fa5cc91aec0cbb9e8cac7fdc434d617b02ee8175
refs/heads/main
2023-08-27T19:47:35.879790
2021-11-07T21:55:11
2021-11-07T21:55:11
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,453
h
Imager100.h
// // Imager100.h // ATIKOSXDrivers // // Created by Nick Kitchener on 18/12/2014. // Copyright (c) 2014 ATIK. All rights reserved. // #ifndef ATIKOSXDrivers_Imager100_h #define ATIKOSXDrivers_Imager100_h #include "ImageFrame.h" #include "ServiceInterface.h" #include "Cooling100.h" #include "GuidePort100.h" #incl...
84b98237f182bfc91d7d71a1164ce3d8cebf7eea
fc034918d460f218be1456cf7a8f9ffbed01830f
/octosim/octosimtest/DnsRealisticTest.cpp
211388fdeda53f60c946f01a4aabf0a8075224c3
[]
no_license
private-octopus/octosim
649a2e14be937e1a24be9e8066ed274e3723e129
ef1b8ab22cac7cf387bbe711a97fa1fbd46cdc2f
refs/heads/master
2021-01-19T23:00:01.844936
2017-05-06T19:07:14
2017-05-06T19:07:14
88,905,334
0
1
null
null
null
null
UTF-8
C++
false
false
6,246
cpp
DnsRealisticTest.cpp
/* * Copyright (c) 2017, Private Octopus, Inc. * All rights reserved. * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THIS SOFTWARE IS PROVIDED BY TH...
ed64b2af24d3344bd518aa39bd419416bd217b61
559117b8479d2c6bc58936472da03285eef0174c
/OpenFrameworks/addons/augmentedMirror/src/amCalibrationApp.cpp
5bd8d427d012ff3856b04d08eb2387d4c7fa2feb
[]
no_license
fidiniaina/AugmentedMirror
f9e9c5a0ab842c047af9403fae17bb0ff601b83a
deaf7491f97739e53e9ea5800e97458c14597173
refs/heads/master
2021-01-21T00:12:21.343530
2014-05-06T16:05:56
2014-05-06T16:05:56
null
0
0
null
null
null
null
UTF-8
C++
false
false
25,521
cpp
amCalibrationApp.cpp
#include "amCalibrationApp.h" ofxMSAShape3D shape3d; //-------------------------------------------------------------- void amCalibrationApp::setup(){ //ofSetLogLevel(OF_LOG_NOTICE); ofSetVerticalSync(true); amsetting = new amSetting("amSetting.xml"); numOfCapture = 20; captureInterval = 2; ...
f43f720ea3dba4ad7ec8e86f864a5cfd63d628ca
549270020f6c8724e2ef1b12e38d11b025579f8d
/recipes/glshaderpp/all/test_package/test_package.cpp
e8dce6ff7068bd2bfe303f1f0bb766a983dc7c6e
[ "MIT" ]
permissive
conan-io/conan-center-index
1bcec065ccd65aa38b1fed93fbd94d9d5fe6bc43
3b17e69bb4e5601a850b6e006e44775e690bac33
refs/heads/master
2023-08-31T11:34:45.403978
2023-08-31T11:13:23
2023-08-31T11:13:23
204,671,232
844
1,820
MIT
2023-09-14T21:22:42
2019-08-27T09:43:58
Python
UTF-8
C++
false
false
398
cpp
test_package.cpp
#include <GL/glew.h> #include <GLShaderPP/Shader.h> #include <GLShaderPP/ShaderException.h> #include <GLShaderPP/ShaderProgram.h> #include <iostream> int main() { GLShaderPP::CShaderException e("If you read this, GLShaderPP is happy :)", GLShaderPP::CShaderException::ExceptionTy...
6b2c4223669bd10bb40c7abb6fcbdcc1d9202526
ce1ca5c988c469b05d1c3d06354d5cd0fec221a0
/base_3D_1.0/DlgTeZongHeFenXi.cpp
a28fe50f61f4e97440ae0b42bda88e713dfcac54
[]
no_license
radtek/haocai
77d529110b139421c401b2512f0ef1437756521c
9666192559de4689f51f33e27b7e30c922504021
refs/heads/master
2021-01-01T05:44:29.264459
2013-01-09T13:53:47
2013-01-09T13:53:47
58,142,390
0
1
null
null
null
null
GB18030
C++
false
false
5,173
cpp
DlgTeZongHeFenXi.cpp
// DlgTeZongHeFenXi.cpp : 实现文件 // #include "stdafx.h" #include "ShuangSeQiu.h" #include "DlgTeZongHeFenXi.h" #include "FormulaCenter.h" // CDlgTeZongHeFenXi 对话框 IMPLEMENT_DYNAMIC(CDlgTeZongHeFenXi, CDialog) CDlgTeZongHeFenXi::CDlgTeZongHeFenXi(CWnd* pParent /*=NULL*/) : CDialog(CDlgTeZongHeFenXi::IDD, ...
127f7d2187f028f6c4793b6439f10064beed31d4
a743284c2681e1a0cc918f4b00b95a8cc009fd57
/test/SQLiteColumnTest.cpp
d12023fe613fb302e158dfcb46164af75c4c1bf8
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
sung-gon-kim/SQLiteWrapper
18fe07da544d6354c5ac888daa9da8bad264c153
463b788e8cfc70f95a531e9755b616d8728fdc2e
refs/heads/master
2022-02-20T00:47:38.068821
2019-10-08T15:48:45
2019-10-08T15:48:45
null
0
0
null
null
null
null
WINDOWS-1252
C++
false
false
824
cpp
SQLiteColumnTest.cpp
#include <gtest/gtest.h> #include <memory> #include <string> #include "Constants.hpp" #include "../SQLiteWrapper/SQLiteDatabase.hpp" class SQLiteColumnTest : public ::testing::Test { protected: void SetUp() override { database = std::make_unique<SQLite::Database>(Constants::DB_FILE); database->execute(Constants::...
56769b7721a56198db9bb47f1abca55975dba1fd
b6e40801b34b7b3e48a43de22ed9dca05ee72119
/test/token.cpp
0551d4028aa6ec8085270235311100eedba65cbe
[]
no_license
thomashilke/lexer
af2d342ad046be634c0a7efca3d215d8369286f1
77c457baca7430c52aab143010019ea0e26f451c
refs/heads/master
2021-10-19T06:41:39.634595
2019-02-18T21:08:55
2019-02-18T21:08:55
108,874,715
0
0
null
null
null
null
UTF-8
C++
false
false
586
cpp
token.cpp
#include <iostream> #include "../src/token.hpp" enum class symbol { integer, comma }; std::ostream& operator<<(std::ostream& stream, symbol s) { switch (s) { case symbol::integer: stream << "integer"; break; case symbol::comma: stream << "comma"; break; default: break; }; return stream; }...
5fc2024cf69f86c2875a9854bfb36eb2abee88ee
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_1483485_0/C++/kcd/main.cpp
7b76dffb9b49fef50ab0ae05ffd8075d625ee736
[]
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,977
cpp
main.cpp
#include <iostream> #include <algorithm> #include <vector> #include <string> #include <sstream> #include <map> #include <set> #include <cstdio> #include <cstdlib> #include <cmath> #include <ctime> #include <utility> #include <cstring> using namespace std; typedef long long LL; #define x1 gjigu #defi...
9de6db4e9d1c46d003897ea017ce64e593e96d7d
7a84c0e8bc128e4e5aa824d4f9ddcf667280f777
/gen_test/common.cpp
4b0edd243b2fa4b4a2bc4254d5db9bd2de638174
[]
no_license
fcua/x8623
bea592a608b451d9eb4f33b2efa34f676410d643
d7f0c8347629879cbff14dec8b080b1cccf31668
refs/heads/master
2020-03-21T08:10:35.749426
2017-10-12T03:16:39
2017-10-12T03:16:39
138,325,785
0
5
null
null
null
null
UTF-8
C++
false
false
10,336
cpp
common.cpp
#include "common.h" #include <stdlib.h> void string_split(const std::string& src, const std::string& s, std::vector<std::string>& result) { result.clear(); std::string::size_type pos1 = 0; std::string::size_type pos2 = src.find(s); while (pos2 != std::string::npos) { result.push_back(src.substr(pos...
b0c7315a07050dc6a100f290a1c2d2fa99a72e57
5e8d200078e64b97e3bbd1e61f83cb5bae99ab6e
/main/source/src/protocols/topology_broker/Exceptions.hh
265449c7a5ec0b168ffd6c6dd405266dd2398daf
[]
no_license
MedicaicloudLink/Rosetta
3ee2d79d48b31bd8ca898036ad32fe910c9a7a28
01affdf77abb773ed375b83cdbbf58439edd8719
refs/heads/master
2020-12-07T17:52:01.350906
2020-01-10T08:24:09
2020-01-10T08:24:09
232,757,729
2
6
null
null
null
null
UTF-8
C++
false
false
2,224
hh
Exceptions.hh
// -*- 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...
fefbc625fd0173036a9a3ea64b3d971fc9d1c80e
44ab57520bb1a9b48045cb1ee9baee8816b44a5b
/Engine/Code/Network/Interface/SockAddress.cpp
b14d8fa99699789af8e403ec00c36a4105888131
[ "BSD-3-Clause" ]
permissive
WuyangPeng/Engine
d5d81fd4ec18795679ce99552ab9809f3b205409
738fde5660449e87ccd4f4878f7bf2a443ae9f1f
refs/heads/master
2023-08-17T17:01:41.765963
2023-08-16T07:27:05
2023-08-16T07:27:05
246,266,843
10
0
null
null
null
null
GB18030
C++
false
false
2,227
cpp
SockAddress.cpp
/// Copyright (c) 2010-2023 /// Threading Core Render Engine /// /// 作者:彭武阳,彭晔恩,彭晔泽 /// 联系作者:94458936@qq.com /// /// 标准:std:c++20 /// 引擎版本:0.9.0.8 (2023/05/09 09:00) #include "Network/NetworkExport.h" #include "SockAddress.h" #include "Detail/SockAddressFactory.h" #include "Detail/SockAddressImpl.h" #include "CoreToo...
5789bb22ba2d2398c3e8cf01b35c7c3abed10c18
a2d5ba8ea19067aeea79a89145cc860b75800ba7
/src/core/include/dataset_filter_numeric.h
a33606b0029db9d991aa73bc8c7b84ef1575c341
[ "MIT" ]
permissive
veg/hyphy
a2f6d1c822af47f4fa28c1b11d241faa5b7193e0
8b224d5b1d684fc6dce86548a2101a24ef6777f6
refs/heads/master
2023-08-09T14:23:21.057172
2023-07-27T19:10:51
2023-07-27T19:10:51
2,304,875
192
64
NOASSERTION
2023-08-21T17:01:21
2011-08-31T23:41:55
HyPhy
UTF-8
C++
false
false
2,228
h
dataset_filter_numeric.h
/* HyPhy - Hypothesis Testing Using Phylogenies. Copyright (C) 1997-now Core Developers: Sergei L Kosakovsky Pond (sergeilkp@icloud.com) Art FY Poon (apoon42@uwo.ca) Steven Weaver (sweaver@temple.edu) Module Developers: Lance Hepler (nlhepler@gmail.com) Martin Smith (martin.audacis@gmail....
8c76158eabd64e9da394ffd6c05bff0c0d6e3ca4
66e7571a8f5f0ca18f749063747a4143ca720c42
/A/A1002.cpp
314ef63b0da047723f72b7a793d18e98d18f9dcf
[]
no_license
Athrun1027/pat
a862559b4e0bbbf61e7b932c95dae00d6e8ef8e5
42faeee117e571928cfa27dfa16f772c5c7cb620
refs/heads/master
2020-06-21T20:41:56.760394
2018-08-29T17:02:34
2018-08-29T17:02:34
197,547,769
0
1
null
null
null
null
UTF-8
C++
false
false
681
cpp
A1002.cpp
#include <iostream> #include <string> #include <vector> using namespace std; int main(){ int n; double hash[1001] = {0.0}; scanf("%d", &n); int max=0, count=0; for(int i = 0; i<n; i++){ int co; double ex; scanf("%d %lf", &co, &ex); hash[co] += ex; } int m; scanf("%d", &m); for(int i ...
9c6a7ca6a10d604f8a1aab61cefd253581fa7fbe
4f4ed3810bd65a9b0abaa4b4f26a6022826d2a0a
/manager/common/SpooferUI.cpp
76f914c94b484c425f905f2e616e97cdb38d4309
[]
no_license
unsernetz/spoofer
12cdbae8b36736555e9e453a56dbce67ee6df04a
cfc9af3dd09c93a55b56deda3e7d1ef9fd92adef
refs/heads/master
2021-05-14T18:14:43.061466
2018-01-02T23:06:25
2018-01-02T23:06:25
116,066,117
0
0
null
null
null
null
UTF-8
C++
false
false
5,549
cpp
SpooferUI.cpp
/* * Copyright 2015-2017 The Regents of the University of California * All rights reserved. * * This file is part of Spoofer. * * Spoofer 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 Foundation, either versi...
3203b1137a201506c582824fb5ac9b9230096d86
758dc88cbc0e8d28d70ce4cd1b5c0cfe2ab92399
/FusionMath.h
510f340a0ddc9368dc0c2139ef58940deb70513f
[ "MIT" ]
permissive
nanospork/OSVR-fusion
40707fe674b6490d42fb522033f0696f285950c3
a0ddf1e93218b6d7d4e3ebc8cf52b2a4854fadc5
refs/heads/master
2021-01-02T19:52:17.650523
2018-01-28T19:28:43
2018-01-28T19:28:43
99,310,849
6
2
null
2018-01-28T19:28:44
2017-08-04T06:27:28
C++
UTF-8
C++
false
false
238
h
FusionMath.h
#include "stdafx.h" namespace je_nourish_fusion { void rpyFromQuaternion(OSVR_Quaternion* quaternion, OSVR_Vec3* rpy); void quaternionFromRPY(OSVR_Vec3* rpy, OSVR_Quaternion* quaternion); double fixAngleWrap(double angle); }
ac45ff194af3a036935537a22ae3da73eb0e7429
2ed4b541c28a9621593df04c2ee3e9368b6304a7
/src/dxvk/dxvk_meta_mipgen.cpp
46c2dd73ccf1e30040645bd2c0f31617a174fb00
[ "LicenseRef-scancode-warranty-disclaimer", "Zlib" ]
permissive
doitsujin/dxvk
ab07647fed6f6e960d225872fb752c572d7c5b0e
bbd1d84cd0e0a083a4d162c7207f81cf6604940d
refs/heads/master
2023-08-28T05:22:37.602631
2023-08-26T07:24:09
2023-08-26T08:43:42
106,558,568
11,382
1,055
Zlib
2023-09-13T21:29:26
2017-10-11T13:34:29
C++
UTF-8
C++
false
false
3,689
cpp
dxvk_meta_mipgen.cpp
#include "dxvk_meta_mipgen.h" namespace dxvk { DxvkMetaMipGenRenderPass::DxvkMetaMipGenRenderPass( const Rc<vk::DeviceFn>& vkd, const Rc<DxvkImageView>& view) : m_vkd(vkd), m_view(view) { // Determine view type based on image type const std::array<std::pair<VkImageViewType, VkImageViewType>, 3>...
1a627b1817a47fd9cba289bf0d4e4e14d610077c
d25bec99b74dde069bded8e74ed942c614e44f0c
/Training Code/2019.11.06 Pacific Northwest 2018/I.cpp
5243812ae35b26d42a588071fec893c1b59d9e77
[]
no_license
RobeZH/Team-Model-Solution
f05461561b5e84249a28e78d89034f76ba5ca6ce
deca8054c83c25447f997fbda4ade3141ab0ce32
refs/heads/master
2023-01-31T05:26:44.773841
2019-12-24T01:48:16
2019-12-24T01:48:16
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,639
cpp
I.cpp
#include<bits/stdc++.h> using namespace std; typedef long long ll; typedef pair<ll, ll> Pll; const int maxn = 2e5 + 5; const ll inf = (ll)1e13; struct Line { ll k, m; Line(ll _k, ll _m) { k = _k; m = _m; } Pll inter(Line o) { return {m-o.m, o.k-k}; } }; struct Hull { deque<Li...
fb1a97b61293d961fdf0f50571c745d8363f83c4
7b3929c90a6324a09fc1d9c179e7b6540c1951f5
/CSES/Sorting and Searching/Movie Festival II.cpp
062ad782170ded6c5f159a71f48b8c6f7847a1d9
[ "MIT" ]
permissive
the-hyp0cr1t3/CC
ff65ef193f051ea9b10dfd4d3291828d83d33bff
ee52f56540b7630c3a42a6762c93ed8b842e2adc
refs/heads/master
2023-09-04T11:52:33.989806
2023-06-05T15:57:03
2023-06-05T15:57:03
236,227,119
786
205
MIT
2023-08-29T18:29:24
2020-01-25T20:41:36
C++
UTF-8
C++
false
false
854
cpp
Movie Festival II.cpp
/** 🍪 thew6rst 🍪 10.02.2021 16:31:28 **/ #ifdef W #include "k_II.h" #else #include <bits/stdc++.h> using namespace std; #endif #define pb emplace_back #define all(x) x.begin(), x.end() #define sz(x) static_cast<int32_t>(x.size()) const int64_t DESPACITO = 2e18; const int INF = 2e9, MOD ...
df434af8962c98ab758977b18a31b074384f096b
8648f3ac8ea7ab82e3b70f98e599057b030c359c
/src/software/world/team_test.cpp
b474d8bb0a3bbdf2ae479ee2b917fb159f384e6b
[ "LGPL-3.0-only" ]
permissive
jsn0716/Software
d8d9b7ee9be06a0ba698b1668a00667e3312272b
9789622851b757cf1061d841355ed549e3e60894
refs/heads/master
2021-08-17T08:35:08.406668
2021-05-19T17:00:50
2021-05-19T17:00:50
210,057,457
1
0
MIT
2019-09-21T21:48:28
2019-09-21T21:48:27
null
UTF-8
C++
false
false
23,673
cpp
team_test.cpp
#include "software/world/team.h" #include <gtest/gtest.h> #include <stdexcept> #include <unordered_set> class TeamTest : public ::testing::Test { protected: void SetUp() override { current_time = Timestamp::fromSeconds(123); one_second_future = current_time + Duration::fromSeconds(...
2e8e28721965fe2a139b1164909bac21d45b6edd
0b66399ced2c7b50f5ee53c81562dab79b33ed67
/MyCardDemo2/MainPage.h
6c0a1a9aae9e3889fbe720633e8bf5f988aa0902
[]
no_license
wcj233/MyCardDemo_winrt
091bab68e175ef15592ec577238fddd18f98d011
194aabb320949e7b7fcffec0f5b47a3a0ab87c58
refs/heads/master
2020-06-23T09:13:13.642856
2019-07-24T07:20:21
2019-07-24T07:20:21
198,580,469
0
0
null
null
null
null
UTF-8
C++
false
false
2,014
h
MainPage.h
#pragma once #include "CardModel.h" #include "MainPage.g.h" #include "CardViewModel.h" #include "CardListViewModel.h" #include <winrt/coroutine.h> #include <winrt/Windows.Storage.h> #include <winrt/Windows.Foundation.h> #include "winrt/Windows.Data.Json.h" #include <time.h> #include <winrt/Windows.UI.Notifications.h> ...
0a64542471715e9fc8224bbe10eb4ef46bcdd07f
84e0d7758245f18fc02184a1d39ef17173c98dfa
/fms-dev-5777-305266462-328582127/dat.cpp
80293d626ccaac31de3577373c4c24192d1f22ef
[]
no_license
ChaskyH/FMS
cba3f2efad51a66146c6b756cd8eb9635e11d9ef
ee83017853136aebe5cb3d8e71403a7645fe1077
refs/heads/master
2020-12-07T17:10:47.596566
2017-07-24T12:27:04
2017-07-24T12:27:04
95,438,618
0
0
null
2017-07-24T12:27:05
2017-06-26T11:13:15
C++
UTF-8
C++
false
false
653
cpp
dat.cpp
#include "dat.h" using namespace fms; DAT::DAT() { sectorNr = 1; formatDat(0, 1); } void DAT::formatDat(int addrDatCpy, int addrRootDirCpy) { table.set(); table.set(addrDatCpy, 0); table.set(addrRootDirCpy, 0); } int DAT::place_fits_all(int needClusters) { int needClustTmp = needClusters; int firstClust = -1...
6f53ea8cd671c93cce6eadcc14151e7de974b349
c270ab152b48a5c484a04eed61e9cea5fccdfa3b
/nginx/program/page-speed-1.9/third_party/instaweb/src/net/instaweb/rewriter/elide_attributes_filter.cc
94878836f512ab611da96debb7f49d26b32208f4
[ "Apache-2.0" ]
permissive
ganq/image-server
38fe38521933bce4c4c07311a4a4ac5f326fa977
0d49f8de669f9eb203c420f8086ea611430ab8b4
refs/heads/master
2021-01-01T17:16:28.744237
2014-12-30T08:52:47
2014-12-30T08:52:47
28,624,061
1
1
null
null
null
null
UTF-8
C++
false
false
5,765
cc
elide_attributes_filter.cc
/** * Copyright 2010 Google Inc. * * 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 t...
cdc28aec1658bb9d89b39bc79a92ec9410303df2
520b75c144414d2af5a655e592fa65787ee89aaa
/AOJ/Volume26/2600.cpp
32ab0e7ef71f3f96bca25497da63286065dae4b6
[]
no_license
arrows-1011/CPro
4ac069683c672ba685534444412aa2e28026879d
2e1a9242b2433851f495468e455ee854a8c4dac7
refs/heads/master
2020-04-12T09:36:40.846130
2017-06-10T08:02:10
2017-06-10T08:02:10
46,426,455
1
1
null
null
null
null
UTF-8
C++
false
false
766
cpp
2600.cpp
#include <bits/stdc++.h> using namespace std; #define MAX 100010 int main(){ int N,W,H; int X[MAX],Y[MAX]; for(int i = 0 ; i < MAX ; i++){ X[i] = Y[i] = 0; } cin >> N >> W >> H; for(int i = 0 ; i < N ; i++){ int x,y,w; cin >> x >> y >> w; X[max(0,x-w)]++; Y[max(0,y-w)]++; X[min(W,x+w...
e5dcc233b72e03130f535fdbaace8966d5bfd770
c6dbbb08e9547a471187605d87336d7b0fa58845
/system_filters/Notifier/ConfigView.cpp
258165af0f68a18fa12547a22e47c9ee42fb7f02
[]
no_license
HaikuArchives/BeMailDaemon
625faa4a22122a4c3e7b557356a25ef571653565
2fd5cd8e114a9e7ae96b3369b25cfea0af66b88b
refs/heads/master
2016-09-06T04:31:35.558754
2008-08-17T19:49:55
2008-08-17T19:49:55
39,097,297
1
0
null
null
null
null
UTF-8
C++
false
false
3,607
cpp
ConfigView.cpp
/* ConfigView - the configuration view for the Notifier filter ** ** Copyright 2001 Dr. Zoidberg Enterprises. All rights reserved. */ #include "ConfigView.h" #include <CheckBox.h> #include <PopUpMenu.h> #include <MenuItem.h> #include <MenuField.h> #include <String.h> #include <Message.h> #include <MDRLanguage.h> #...
0b207287845ca037e888724d93f570d15a071b5c
cc7661edca4d5fb2fc226bd6605a533f50a2fb63
/Assembly-CSharp/DecayEntity.h
8969258b02fa196a4f84613bbc1b54c9f89da63c
[ "MIT" ]
permissive
g91/Rust-C-SDK
698e5b573285d5793250099b59f5453c3c4599eb
d1cce1133191263cba5583c43a8d42d8d65c21b0
refs/heads/master
2020-03-27T05:49:01.747456
2017-08-23T09:07:35
2017-08-23T09:07:35
146,053,940
1
0
null
2018-08-25T01:13:44
2018-08-25T01:13:44
null
UTF-8
C++
false
false
184
h
DecayEntity.h
#pragma once namespace rust { class DecayEntity : public BaseCombatEntity // 0x1e8 { public: float decayTimer; // 0x1e8 (size: 0x4, flags: 0x1, type: 0xc) }; // size = 0x1f0 }
e008f4679012c6a7858dafe1f97d49480ceeb356
5d39aac0342107599009dc47c7acb56851f482d2
/piece.cpp
0c569c3762e6140950ef3f27b7460a7bb8832068
[]
no_license
Quantum64/Chess
0821facb07bba8c027bec2cede1dcb286c2d3e83
1213f3bdd42d79d70b898ef2174c32a2b2ff93dd
refs/heads/master
2020-07-14T20:08:52.406992
2019-08-30T13:49:38
2019-08-30T13:49:38
205,391,289
0
0
null
null
null
null
UTF-8
C++
false
false
5,639
cpp
piece.cpp
#include <functional> #include <algorithm> #include <chrono> #include "piece.h" #include "game.h" #include "console.h" const PieceType PieceType::PAWN = PieceType("P", "Pawn"); const PieceType PieceType::ROOK = PieceType("R", "Rook"); const PieceType PieceType::KNIGHT = PieceType("N", "Knight"); const PieceType Piec...
3133f52e04e894c58068a0db87da712733d0289f
3342f131ff45c74ef7d533196b82aef9a0568a4e
/src/hitbox.cpp
265509f192b884dfd08dfbdaa7d07b071045a9f3
[]
no_license
NPThompson/tanks
03571bad05aa247bfb178ccd4ce4489ef73517ce
1c41b5cec26733c70492ba99760d18dc9c15614a
refs/heads/master
2023-06-15T09:42:03.239611
2021-07-13T01:53:37
2021-07-13T01:53:37
384,304,742
0
0
null
null
null
null
UTF-8
C++
false
false
1,199
cpp
hitbox.cpp
#include<hitbox.h> rect rect_overlap(rect A, rect B) { rect overlap(point(0,0), point(0,0)); double x0 = 0.0, x1 = B.position.x - A.position.x, w0 = A.size.x, w1 = B.size.x + (B.position.x - A.position.x); if(x1 > x0){ overlap.position.x = x1; overlap.size.x = w0 - x1; } else...
ab348ab57c55ebc2c846a2b85e4ec323e4ee57c7
59d26f54e985df3a0df505827b25da0c5ff586e8
/External/algorithm-master/number_theory/modular_arithmetics.cc
5110efe0e0609fd1c0ccbb1fa605887b05c7d336
[]
no_license
minhaz1217/My-C-Journey
820f7b284e221eff2595611b2e86dc9e32f90278
3c8d998ede172e9855dc6bd02cb468d744a9cad6
refs/heads/master
2022-12-06T06:12:30.823678
2022-11-27T12:09:03
2022-11-27T12:09:03
160,788,252
2
1
null
null
null
null
UTF-8
C++
false
false
11,183
cc
modular_arithmetics.cc
// // Modular Arithmetics // // long long: 10^18 < 2^63-1 < 10^19 (strict inequality) // __int128_t: 10^38 < 2^127-1 < 10^39 // // g++ -std=c++17 -O3 -fmax-errors=1 -fsanitize=undefined #include <bits/stdc++.h> #pragma GCC optimize ("O3") using namespace std; #define fst first #define snd second #define all(c) begin(...
e313cb03abe7612016e6d44cd716b2f676934c27
7c2ddd6ec37e0c46742de39b7874dea26358dad8
/KSBindata.h
4f36cc7eb29e269f3d9b677a73a70db1fcfc539d
[]
no_license
kuldeep6445/c-data-handling-library
a11f21e64e223e577ea54b1230a5cb4ac2541ea0
31bf42467bf5e82ea6fb9dea9e876abce62d1e3c
refs/heads/master
2021-01-01T01:47:19.854440
2020-02-10T15:57:22
2020-02-10T15:57:22
239,128,048
0
0
null
null
null
null
UTF-8
C++
false
false
654
h
KSBindata.h
#include<iostream> using namespace std; string find_data(ifstream *myfile , string title ){ string total; char track[2]; int start =0; int a=0; int b=0; char buffer[50]; while(!(myfile->eof())){ getline(*myfile , total ); start = total.find(title); if(start != std::string::npos...
6842bc73826fa1f5d7188a57d645fba831d2a649
a92b18defb50c5d1118a11bc364f17b148312028
/src/prod/test/FabricTest/TestStoreClient.cpp
a4d502e5dc073d6d036ebc6134c385d9ebc1a5e8
[ "MIT" ]
permissive
KDSBest/service-fabric
34694e150fde662286e25f048fb763c97606382e
fe61c45b15a30fb089ad891c68c893b3a976e404
refs/heads/master
2023-01-28T23:19:25.040275
2020-11-30T11:11:58
2020-11-30T11:11:58
301,365,601
1
0
MIT
2020-11-30T11:11:59
2020-10-05T10:05:53
null
UTF-8
C++
false
false
33,783
cpp
TestStoreClient.cpp
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ #include "stdafx.h" using nam...
f9542fd57694ebe1569c789aa091cfafad4da18c
94969d4a95340fa62e95c3222e86554050cac030
/rush00/Player.hpp
e09af86f816300d012bc0417f635d65ed3d3039f
[]
no_license
dborysen/pool_c-
34c8246dcd8b8bacff78c7329690bcd47fc9bf27
f796c79f4c6b430912197df71727f5d6718f02b7
refs/heads/master
2020-03-19T06:41:26.452028
2018-07-02T11:49:49
2018-07-02T11:49:49
136,045,982
0
0
null
null
null
null
UTF-8
C++
false
false
2,108
hpp
Player.hpp
// ************************************************************************** // // // // ::: :::::::: // // Player.hpp :+: :+: :+: ...
366d6eea4a3fa32333df9ca811da591976da3142
63ec63120c746c569599f2d4a4a53ce290b76c94
/screens/others/menuScreen.cpp
b794555da07ad64e0ef29da1be6a6a7832c4aa82
[]
no_license
DantElemer/AJADEBA
51c67bd1c31dc67b9ad03290623a8c15ed92026d
2933b5fb394e3e44eba0a73119fba37c2d154168
refs/heads/master
2021-01-20T08:30:44.595359
2017-05-14T18:23:51
2017-05-14T18:23:51
90,156,875
0
1
null
2017-05-14T18:23:52
2017-05-03T14:15:51
C
ISO-8859-2
C++
false
false
1,850
cpp
menuScreen.cpp
#include "menuScreen.h" menuScreen::menuScreen() { int buttonWidth=200; int buttonHeight=80; int startY=200; //widgetBase* playButton=new button((vFunctionCall)switchToDifficultySettingScreen, makeCoor(WINDOW_X/2,240),buttonWidth,buttonHeight/*makeCoor((windowX-buttonWidth)/2,200),makeCoor((windowX+bu...
8d9b38f328dead8838bae1176f0aebed742b8492
470fae08316b55246ab01675ac5013febfb13eee
/src/server/game/Miscellaneous/SharedDefines.h
13957cb8194dc2a5857b3627a6a561e7db51d668
[]
no_license
adde13372/shadowcore
8db6fb6ccc99821e6bd40237a0c284ce7cf543c2
aa87944193ce02f6e99f7b35eceac5023abfca1b
refs/heads/main
2023-04-01T07:38:39.359558
2021-04-03T07:54:17
2021-04-03T07:54:17
354,320,611
4
8
null
2021-04-03T15:02:49
2021-04-03T15:02:49
null
UTF-8
C++
false
false
470,040
h
SharedDefines.h
/* * Copyright 2021 ShadowCore * * This program 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 Foundation; either version 2 of the License, or (at your * option) any later version. * * This program is distributed...
255c323c51fc61b562537e7d9665f3d60abed8b2
f00f2b22d82ba93e9e73f1642bbd1eaf40c9d02e
/FourierTransform.cpp
fffa37b9de728c0e52292b8c4a13da14ef4ea564
[]
no_license
marcelra/plingtheory
a09708bc917f9af70e69960984174f219fd6ea7c
66d175b5fd6d125302fb3b9ab216c800ba8a555d
refs/heads/master
2021-05-16T03:04:29.445126
2015-08-29T21:03:40
2015-08-29T21:03:40
16,084,299
1
1
null
null
null
null
UTF-8
C++
false
false
4,637
cpp
FourierTransform.cpp
#include "FourierTransform.h" namespace WaveAnalysis { //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// /// Notes: /// * Builds frequency list during initialisation /// * Works on the internal FFTW algorithms for efficiency (less copy-operations ...
ccd094f2aef449b1b47a0bdb84bd437f61c20120
70e9da06a454fc399eee5fb247ca8d362685d470
/Problems/0048_Rotate_Image.h
8bc3564a73caff4ffd9adbf2b56b46bd8e5768ba
[]
no_license
YejingWang/Leetcode
38499a5d5376e3f18ccece87f70722705771c9ee
b93e914e2acb418f9cdf84b3e6365db68a75e4b0
refs/heads/master
2023-08-05T04:43:45.596671
2021-08-31T09:30:53
2021-08-31T09:30:53
256,743,256
1
0
null
null
null
null
UTF-8
C++
false
false
1,792
h
0048_Rotate_Image.h
#pragma once /* 48. Rotate Image https://leetcode.com/problems/rotate-image/ You are given an n x n 2D matrix representing an image, rotate the image by 90 degrees (clockwise). You have to rotate the image in-place, which means you have to modify the input 2D matrix directly. DO NOT allocate another 2D matrix and d...
6990c46c162f25284e669597bf390bbbab5fcd79
051211c627f63aa37cce1cf085bf8b33cd6494af
/EPI/EPI_bak/03_ArrayString/src/3_10_Permutation_array.cpp
1915dc025d0740a030060bb7efb551da4b924819
[]
no_license
roykim0823/Interview
32994ea0ec341ec19a644c7f3ef3b0774b228f2c
660ab546a72ca86b4c4a91d3c7279a8171398652
refs/heads/master
2020-03-24T02:37:01.125120
2019-11-19T05:25:15
2019-11-19T05:25:15
139,811,693
0
0
null
null
null
null
UTF-8
C++
false
false
1,491
cpp
3_10_Permutation_array.cpp
// Copyright (c) 2013 Elements of Programming Interviews. All rights reserved. #include <algorithm> #include <cassert> #include <iostream> #include <iterator> #include <random> #include <vector> using std::cout; using std::default_random_engine; using std::endl; using std::ostream_iterator; using std::random_device; ...
48f125904b083072151364785c5a87003d880e1c
87e8d04c5c32dab8182ba3fcd573a1753d39e185
/test/benchmark/protobuf_benchmark.cc
2ba217bac38d4a3ddde713b6aceb873d2a7456ea
[ "MIT" ]
permissive
onedata/oneclient
ce3842f1b6ecdd9c0f25c127970d1a56dd9a1966
12e564741797e0f702b36475e9ead73b78b367c2
refs/heads/develop
2023-08-31T01:45:41.784802
2023-08-29T13:46:50
2023-08-29T13:46:50
45,646,655
5
3
MIT
2020-05-14T16:32:36
2015-11-05T23:34:28
C++
UTF-8
C++
false
false
2,356
cc
protobuf_benchmark.cc
/** * @file protobuf_benchmark.cc * @author Bartek Kryza * @copyright (C) 2018 ACK CYFRONET AGH * @copyright This software is released under the MIT license cited in * 'LICENSE.txt' */ #include "messages/fuse/fileBlock.h" #include "messages/fuse/fileLocation.h" #include <boost/random.hpp> #include <boost/range/...
a97623e263706b45b0cf9f47819a5d23b910662d
407a6e8ba2327e2817794df046ea6461c43e6fa7
/P04/full_credit/modulo.cpp
96ac4bca7d574d7e2f103383cdede93bbb08a639
[]
no_license
DaltonSparks/cse1325
d076cab6020a335bbb110d3df20c66691fb20c8f
0aceb9217bd34e57d47786d46763b4b925dc4484
refs/heads/master
2023-01-24T12:22:01.489666
2020-11-17T10:38:55
2020-11-17T10:38:55
291,524,918
0
0
null
null
null
null
UTF-8
C++
false
false
1,107
cpp
modulo.cpp
#include <iomanip> #include <iostream> #include "modulo.h" Modulo::Modulo(int modulo, int value, int offset) : _modulo{modulo}, _value{value % modulo}, _offset{offset}, _nmsd{nullptr} //directly initialize member variables { _value = (_value - offset) % _modulo; } int Modulo::value() { return _value + _offset; ...
bef0eb9a5c7e0c68430c4b1539810ebc60022b9c
d13add88195840fd06e9827dd5b5521956b2d068
/cpps/FFANN.cpp
7498ad982c5e471b7e81e41a5d1b35aba1ea2f91
[]
no_license
aboody2009/FFANN
3a3a8aa84a319330d902c05fcda926843efc7208
8c9b9006e0ad9977889955fd5bd55ed2695c05ab
refs/heads/master
2020-07-31T23:00:00.946795
2016-05-19T21:03:57
2016-05-19T21:03:57
null
0
0
null
null
null
null
UTF-8
C++
false
false
31,258
cpp
FFANN.cpp
//Sully Chen 2015 #include <iostream> #include <cstdlib> #include <cmath> #include <vector> #include <string> #include <fstream> #include "MatrixMath.h" #include "FFANN.h" FFANN::FFANN() { } FFANN::FFANN(int* dimensions, int num_layers) { Dimensions = dimensions; Num_Layers = num_layers; //the first...
136e8f31b7969e7aa14dad9a61343e5b97574a32
abf421de8dfca4a433c99b1f21da8f6eec6be1f6
/SRUP_Syndicated_ID_REQ.h
2ec0cffb8f0d4054d0953e495819bf42d1427251
[ "MIT", "LicenseRef-scancode-proprietary-license" ]
permissive
dstl/srup
3bb336c2f335d8bb2146de8809069531239c33a4
ff478a2f689fcbfc459320d382fb90d5ecee9f0a
refs/heads/master
2021-10-12T00:13:18.280277
2021-09-27T13:12:41
2021-09-27T13:12:41
62,746,329
8
8
MIT
2021-05-11T08:19:23
2016-07-06T19:03:48
C++
UTF-8
C++
false
false
721
h
SRUP_Syndicated_ID_REQ.h
// // Created by AJ Poulter on 10/11/2020. // #ifndef SRUP_LIBRARY_SRUP_SYNDICATED_ID_REQ_H #define SRUP_LIBRARY_SRUP_SYNDICATED_ID_REQ_H #include "SRUP_ID_REQ.h" namespace SRUP { static uint8_t SRUP_MESSAGE_TYPE_SYNDICATED_ID_REQUEST = 0x26; } class SRUP_MSG_SYNDICATED_ID_REQ : public SRUP_MSG_ID_REQ { /...
4814cece78d95d252df0d29bcd0eccc83a87e6f4
5b77bce5e44ccbeee424cbd84d460c0981684b46
/singleCall/singleCall.cpp
6e833023ca31eb218c75dbf9fc2ee3d29813f504
[]
no_license
langya0/design_pattern_study
472660e68c7eaf95c80832c4991a000909dc0a62
5909ace92d1e98d330eba047871425e7d81ff715
refs/heads/master
2021-01-17T06:46:08.508300
2016-08-13T05:06:26
2016-08-13T05:06:26
65,263,608
0
0
null
null
null
null
UTF-8
C++
false
false
3,038
cpp
singleCall.cpp
// 单来源调用:一个产品的生产只能由特定的生产车间生产。不能通过其他方式实现 #include <iostream> #include <stdio.h> using namespace std; #include "../trace.h" // base只能由driver产生,不能由其他途径产生 // 分解1 // 不能主动建立----protected屏蔽构造 // 留下的问题。可能会由本类静态方法调用产生 // 禁止静态方法。 // 分解2,与可以产生的对象类进行关联 // 方案一:保护继承 // 问题:这样就变成了同时存在了,且driver和base一一对应。需求偏离(特定工厂随时创建实例) // 方案二:通过thi...
8e3ff24b547d70fa6797c47772b2b34eb6c38594
b89a6a122a7b82e4fd0872f1ec935bc45633c9eb
/src/CompressedReader.cc
fab6212157829a1aa58b8e0d7e7011c673fda3a0
[ "BSD-2-Clause", "MIT" ]
permissive
rogerwang/rr
545f87ed75a00c8bf97ec31df1a826792f3cbd5b
619b8951d392b46c6f62b2bad7c0861a05d9f32e
refs/heads/master
2020-04-28T22:17:36.253926
2015-02-19T11:38:52
2015-02-25T04:49:44
31,494,918
3
0
null
null
null
null
UTF-8
C++
false
false
4,382
cc
CompressedReader.cc
/* -*- Mode: C++; tab-width: 8; c-basic-offset: 2; indent-tabs-mode: nil; -*- */ //#define DEBUGTAG "CompressedReader" #define _LARGEFILE64_SOURCE #include "CompressedReader.h" #include <assert.h> #include <fcntl.h> #include <stdint.h> #include <string.h> #include <sys/types.h> #include <sys/stat.h> #include <unist...
613448c4d107f1e466d46eac61321ab592b2ea53
29af718d33105bceddd488326e53dab24e1014ef
/Combinatorics/Hypergraphs/Generators/tests/GreenTao.hpp
2ed16d37c9c9dc4ffde696b7f05d8556d840e9bf
[]
no_license
OKullmann/oklibrary
d0f422847f134705c0cd1eebf295434fe5ffe7ed
c578d0460c507f23b97329549a874aa0c0b0541b
refs/heads/master
2023-09-04T02:38:14.642785
2023-09-01T11:38:31
2023-09-01T11:38:31
38,629
21
64
null
2020-10-30T17:13:04
2008-07-30T18:20:06
C++
UTF-8
C++
false
false
985
hpp
GreenTao.hpp
// Oliver Kullmann, 17.10.2009 (Swansea) /* Copyright 2009 Oliver Kullmann This file is part of the OKlibrary. OKlibrary 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 Foundation and included in this library; either version ...