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
575efc939dd8f5b3aa21adac215640365f817daa
3816aabf6ac456679546a64187589ea41a7edcdf
/src/BoundingBox.cpp
430bf28fba90587732b8899dbc49b90f92309fe1
[ "MIT" ]
permissive
AirChen/AlgorithmCpp
e0f9c156d66802c39be8b8d31b6af0e792545a81
cbb47f0add5cae2c1b2b7fad90c3ee65e17b0e1f
refs/heads/main
2023-06-08T10:43:21.514209
2023-05-24T07:22:49
2023-05-24T07:22:49
367,346,804
0
0
null
null
null
null
UTF-8
C++
false
false
106
cpp
BoundingBox.cpp
// // BoundingBox.cpp // algorithm // // Created by tuRen on 2021/5/14. // #include "BoundingBox.hpp"
96162af169c70404fc2126da313112ef42d3fd0e
6b67ec0f8633e4dfb19d5771fa051b4f6a398993
/usdsCPP/BasicParser/Source/Converters/usdsBinaryParser.cpp
55f3ff24c1895201a2a3908802b0d3c7da895ff6
[]
no_license
rolandocampo/USDS
6c825c1f388312ea662c8866e410a5be487421d8
11a612ccd7e558a7b82853602335a7a3b17776c7
refs/heads/USDS-1.0
2021-01-15T19:35:23.569617
2016-06-09T14:46:56
2016-06-09T14:46:56
64,934,724
0
0
null
2016-08-04T12:57:02
2016-08-04T12:57:02
null
UTF-8
C++
false
false
3,243
cpp
usdsBinaryParser.cpp
#include "converters\usdsBinaryParser.h" #include "dictionary\usdsDictionary.h" #include "base\usdsErrors.h" using namespace usds; BinaryParser::BinaryParser() { }; BinaryParser::~BinaryParser() { }; void BinaryParser::setBinary(const uint8_t* data, size_t data_size) throw(...) try { headExists = false; diction...
87c401b2aba37d2b1422c09da4d2891c738841c1
a271b2edab3c760ba22d9b1009749b8a85f877ab
/tracklet.hpp
166cbd73373ae203d5e92f603218ca01f9ff1f44
[]
no_license
knigawkl/tracker
04836c5e3b553cce605055891e08b9f4bad7135f
99724d88ba8373e1d9c14f732ce957f7b1a6fd61
refs/heads/master
2023-03-02T23:21:45.246756
2021-02-03T19:06:27
2021-02-03T19:06:27
297,281,463
1
1
null
null
null
null
UTF-8
C++
false
false
1,202
hpp
tracklet.hpp
#pragma once #include <vector> #include <iostream> #include "templates.hpp" #include "node.hpp" #include "utils.hpp" #include "video.hpp" #include <opencv2/opencv.hpp> class Tracklet { public: vector<Node> detection_track; Node centroid; video::vidinfo video_info; bool is_end_of_traj; bool is_s...
bf1af53ca716f1501487910274245d9b2585c736
6eb408c0c8fd99fb3cdd74fd08bb2f7b978a0d3a
/Game engine/beziercurve.cpp
2e907dacb486cf34c0733be3d54c30504c20158c
[]
no_license
BredeJoh/highlights
c1fc99d4c9573df2f8d6df5a817917beb9a24de6
2b398a36f327c10f0e497e75bb7f7251fb8b2991
refs/heads/master
2023-01-08T06:21:35.771669
2019-12-16T14:04:47
2019-12-16T14:04:47
228,050,036
0
0
null
2023-01-04T14:54:07
2019-12-14T16:03:10
C++
UTF-8
C++
false
false
4,561
cpp
beziercurve.cpp
#include "beziercurve.h" #include <cmath> #include "vertex.h" #include "vec3.h" #include "vec2.h" BezierCurve::BezierCurve() { type = Orf::BEZIER; initGeometry(); } void BezierCurve::drawGeometry(GLint positionattribute, GLint normalAttribute, GLint textureAttribute, int renderMode) { glBindBuffer(GL_ARRA...
d66f66f92f6738395a32f79c399d16b6f6583f27
fa74435c33c7c2387b82b214d1bc7a9308557dca
/BeagleCode/SailbotBrain/include/filterAlphaBeta.h
904c93ae5e41876a44e3e0ca826dc074f0c30136
[]
no_license
munsailbot/munsailbot
34f232f3e63ecc1f3edc8833b890a7f4c6ecaaee
5caad0fb46ef380cb0f4a84fbd71540a29374f20
refs/heads/master
2020-05-21T04:45:01.561250
2018-06-16T21:13:36
2018-06-16T21:13:36
43,016,839
2
2
null
2017-10-20T17:12:13
2015-09-23T17:42:07
C
UTF-8
C++
false
false
586
h
filterAlphaBeta.h
/* * filterAlphaBeta.h * * Created on: 2011-06-08 * Author: Brian */ #ifndef FILTERALPHABETA_H_ #define FILTERALPHABETA_H_ class filterAlphaBeta { long predictedValue; long lastPredictedValue; long lastPredictedRate; long predictedRate; long estimationError; long measuredValue; long upperLimit; lon...
ddaeab9bcf42ac826af06fd54e9a77c53187fb21
e7823aee06fed311ced4be2e16ff619f7bb34521
/Week6/CMP105App/Mushroom.cpp
be68f6bc871995f3d073b137c2b50230e649adb3
[]
no_license
Frazzle17/CMP105_W6
ec4eab54ef123dd791c4e44591b2be2c24e32ac4
05b16686fcef76e5686494cd5194c9f90abdcc2b
refs/heads/master
2021-01-14T19:55:57.515538
2020-02-24T16:35:09
2020-02-24T16:35:09
242,738,749
0
0
null
2020-02-24T13:07:22
2020-02-24T13:07:21
null
UTF-8
C++
false
false
1,108
cpp
Mushroom.cpp
#include "Mushroom.h" #include <iostream> Mushroom::Mushroom() { window = nullptr; float scale = 200; gravity = sf::Vector2f(0, 9.8) * scale; jumping = false; doublejump = false; } Mushroom::~Mushroom() { } void Mushroom::handleInput(float dt) { //jump/double jump if (input->isKeyDown(sf::Keyboard::Up) && ju...
8222640fd3e4aade073a41dfa06db0a78cbedbc5
64b43c3f095f39684883eeea706e8c3cf5b2aed7
/TATPhysics/TATCommon/TATObjectPool.h
59b6491a0da7479188559a8a7d1478a878ca5477
[]
no_license
thealmightyzhou/TATPhysics
bd426977b12fa387d271f84c1e59a36adeb1a71a
9888f6bcc818ed1dc2ca84a2730ce4f33d8e58c9
refs/heads/master
2023-01-22T07:51:25.249586
2020-12-03T03:41:54
2020-12-03T03:41:54
259,520,730
0
0
null
null
null
null
UTF-8
C++
false
false
2,544
h
TATObjectPool.h
#pragma once #include <iostream> #include <vector> #include <assert.h> template<class T> //object in pool mush have a Clear() function class TATObjectPool { public: TATObjectPool(int maxSize):m_MaxSize(maxSize) { assert(maxSize > 0); m_Objects = new T[maxSize]; m_UsedMap = new bool[maxSize]; TAT_MEMSET_NEW(m...
bf542f6efd4e277406cd1a26947369dccf876226
c252f753c1090c247ff118213a6d7d1aaf6396ca
/Boss.h
8723c7cb3457ed08cd0bed2d282727675e0c5f6d
[]
no_license
CoopperGuy/1945
d7f44788ecb6071f5ed3661e9afa9c349064e672
6c848efd3f5b3b54bcb685bdbb8b22c42dffeff2
refs/heads/main
2023-06-23T05:24:55.646442
2021-07-13T11:34:31
2021-07-13T11:34:31
383,678,340
0
0
null
null
null
null
UTF-8
C++
false
false
711
h
Boss.h
#pragma once #ifndef __CBOSS_H__ #define __CBOSS_H__ #include "Monster.h" class CBoss : public CMonster { enum PATTERN {P_ATTACK,P_ATTACK2_,P_MOVE,P_MOVEATK,P_END}; public: CBoss(); virtual ~CBoss(); public: virtual HRESULT Initialize() override; virtual void Ready() override; virtual int Update() override; ...
31f8986ef1f719ef38e306da405af106922012f8
2c5d8839db951f78c33a5c152cec17bfc865f413
/Source.cpp
f6912a0b628fc53cbd0acf3b85c20a3582b499ca
[]
no_license
Aleks1y/ooop_lab3
77104cc503dbeeb53f0ac408989289d41f990d18
aee6cd69e22675a4e010144d7b06f77dd9a29506
refs/heads/main
2023-02-12T00:44:32.552264
2021-01-10T10:03:29
2021-01-10T10:03:29
324,604,973
0
0
null
null
null
null
UTF-8
C++
false
false
13,763
cpp
Source.cpp
#include "Header.h" void Player::SetShip(int x, int y, bool horizontal, ShipType type) { int length = (int)type; if (horizontal) for (int i = 0; i < length; ++i) field[y][x + i] = PLAYER_SHIP; else for (int i = 0; i < length; ++i) field[y + i][x] = PLAYE...
0c88e255dad47fc5a35df10c90035b460b4d7a4e
3530f022141b88e1c5b979dddd86a8cbadc37846
/Array/US/268.missing-number.cpp
f9f8ff49d63370970e4bc92b6fad05ac748f0802
[]
no_license
stinkycats/LeetcodeSolution
3a60a1634441a09255bc72495492ee8c12b5ffe0
2a5656498307e4ee0a25cbaccbc122ba987d3990
refs/heads/master
2023-01-23T08:47:23.952581
2020-11-15T13:10:47
2020-11-15T13:10:47
302,892,396
0
0
null
null
null
null
UTF-8
C++
false
false
619
cpp
268.missing-number.cpp
/* * @lc app=leetcode id=268 lang=cpp * * [268] Missing Number */ // @lc code=start class Solution { public: int missingNumber(vector<int>& nums) { unordered_map<int,int> imap; //initalize first map for(int i=0;i<nums.size()+1;i++) imap[i]=0; //make th...
28c97183edcb41f9f17fb48e220c47923c6e78bb
6f49cc2d5112a6b97f82e7828f59b201ea7ec7b9
/apiwdbe/WdbeQPplPpl1NSegment.h
c5be6fdcfc2aee130a78f05970cbe43818616488
[ "MIT" ]
permissive
mpsitech/wdbe-WhizniumDBE
d3702800d6e5510e41805d105228d8dd8b251d7a
89ef36b4c86384429f1e707e5fa635f643e81240
refs/heads/master
2022-09-28T10:27:03.683192
2022-09-18T22:04:37
2022-09-18T22:04:37
282,705,449
5
0
null
null
null
null
UTF-8
C++
false
false
1,120
h
WdbeQPplPpl1NSegment.h
/** * \file WdbeQPplPpl1NSegment.h * API code for table TblWdbeQPplPpl1NSegment (declarations) * \copyright (C) 2016-2020 MPSI Technologies GmbH * \author Alexander Wirthmueller (auto-generation) * \date created: 26 Aug 2021 */ // IP header --- ABOVE #ifndef WDBEQPPLPPL1NSEGMENT_H #define WDBEQPPLPPL1NSEGMENT_H...
79e3ed64aca82add61a65edcf6ad81ac0a883487
c3c848ae6c90313fed11be129187234e487c5f96
/VC6PLATSDK/samples/Com/Fundamentals/TutSamp/AptServe/Factory.Cpp
56f8211bb94f0deb0a1e084943040904b9ccc24e
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
timxx/VC6-Platform-SDK
247e117cfe77109cd1b1effcd68e8a428ebe40f0
9fd59ed5e8e25a1a72652b44cbefb433c62b1c0f
refs/heads/master
2023-07-04T06:48:32.683084
2021-08-10T12:52:47
2021-08-10T12:52:47
null
0
0
null
null
null
null
UTF-8
C++
false
false
46,182
cpp
Factory.Cpp
/*+========================================================================== File: FACTORY.CPP Summary: Implementation file for the ClassFactories of the APTSERVE server. This server provides several Car-related COM Components: Car, UtilityCar, and CruiseCar. For each of ...
9eee6b3fe9abc8ff95adac75b6a2bc5ba37c853f
82b081493f7f2401ce0a309c22962444744170ed
/codeforces/750A.cpp
127c3dbffc737f08d5ccba673668f6c64ea4d144
[]
no_license
HeNeos/CompetitiveProgramming
c69eaf91e597f7b66d5ad325daa8862ae813d7c1
56de3e5e403f9f6f7801f56683f5245c93f56a87
refs/heads/master
2023-06-23T06:14:15.373718
2023-06-18T21:42:35
2023-06-18T21:42:35
164,735,512
3
0
null
null
null
null
UTF-8
C++
false
false
282
cpp
750A.cpp
#include<bits/stdc++.h> using namespace std; int main(){ int n; int k; cin >> n >> k; for(int i=1; i<=n; i++){ if(5*i*(i + 1) <= 2*(240 - k)) continue; else{ cout<<i - 1; return 0; } } cout<<n; return 0; }
2cc791e6caf6b4bc176dde829b03754a1aded12d
04fee3ff94cde55400ee67352d16234bb5e62712
/10.24contest/source/Stu-16-³ÌÔóÑô/climb/climb.cpp
3a5c22852bc7439c4d18c45ebef4b64bcfc3b2ab
[]
no_license
zsq001/oi-code
0bc09c839c9a27c7329c38e490c14bff0177b96e
56f4bfed78fb96ac5d4da50ccc2775489166e47a
refs/heads/master
2023-08-31T06:14:49.709105
2021-09-14T02:28:28
2021-09-14T02:28:28
218,049,685
1
0
null
null
null
null
UTF-8
C++
false
false
286
cpp
climb.cpp
#include<cstdio> int main() { int n; freopen("climb.in","r",stdin); freopen("climb.out","w",stdout); scanf("%d",&n); if(n==4){ printf("5"); return 0; } if(n==7){ printf("6"); return 0; } printf("%d",n); fclose(stdin); fclose(stdout); return 0; }
096217595f33bf1250251467fc9ecb92c031dfa3
74b352eb46c3bbc886f8d6cfd64a90b3ebb8aed2
/不寻常的DP-方格取数.cpp
8848fe1ca4703e192abcd3f1ab75f12cdce0faf2
[]
no_license
Jeblqr/Model
d9c95f90147ec755f7968d1ac90609838385ef83
0d92b695fc7fea0bad916fcfcf5ddde68440eeea
refs/heads/master
2021-05-10T12:46:56.474823
2019-11-12T09:35:07
2019-11-12T09:35:07
118,451,544
8
3
null
null
null
null
UTF-8
C++
false
false
520
cpp
不寻常的DP-方格取数.cpp
#include<bits/stdc++.h> #define max(a,b,c,d) max(max(a,b),max(c,d)) using namespace std; int n,f[100][100][100][100],a[1000][1000],x,y,z; int main() { cin>>n>>x>>y>>z; while (x&&y&&z) { a[x][y]=z; cin>>x>>y>>z; } for (int i=1;i<=n;i++) for (int j=1;j<=n;j++) for (int h=1;h<=n;h++) for (int k=1;k<=n;k+...
76b74f31fd4edd4c10d6dcf4f9bfec136d68b165
700f8cc1bf6dd4b4a1e019a615d3d86f8adaece9
/Vehicle/Car.h
817408c07c0bffce20609e4de63b6d4a568c2475
[]
no_license
Ddoty42/Vehicle
58ba86da26ae0eb4bc974e9eaec7fe7067a7892c
ff7b5bc8ae477df7ccaf494fa07a5279e664baaf
refs/heads/master
2023-01-18T19:09:10.967583
2020-11-29T16:03:41
2020-11-29T16:03:41
316,988,856
0
0
null
null
null
null
UTF-8
C++
false
false
321
h
Car.h
#ifndef CAR_H #define CAR_H #include "Vehicle.h" class Car : public Vehicle { private: int numDoors; public: Car() : Vehicle() { numDoors = 0; } void setDoors(int door) { numDoors = door; } int getDoors() { return numDoors; } void displayInfo() { cout << "Doors: " << getDoors() << endl; } }; #endi...
fa17137f44061168836b54887b79fba0cb505490
3f3095dbf94522e37fe897381d9c76ceb67c8e4f
/Current/BP_GuntowerWeakpoint.hpp
d9881c34431f20bedb756eb6a501eb0fa06ab37c
[]
no_license
DRG-Modding/Header-Dumps
763c7195b9fb24a108d7d933193838d736f9f494
84932dc1491811e9872b1de4f92759616f9fa565
refs/heads/main
2023-06-25T11:11:10.298500
2023-06-20T13:52:18
2023-06-20T13:52:18
399,652,576
8
7
null
null
null
null
UTF-8
C++
false
false
765
hpp
BP_GuntowerWeakpoint.hpp
#ifndef UE4SS_SDK_BP_GuntowerWeakpoint_HPP #define UE4SS_SDK_BP_GuntowerWeakpoint_HPP class ABP_GuntowerWeakpoint_C : public AGuntowerWeakPoint { FPointerToUberGraphFrame UberGraphFrame; class UPawnAfflictionComponent* PawnAffliction; class UPointLightComponent* PointLight; class UCapsuleComponent* Pro...
0dcf7f6377a3208cb26eb200a151f1ce192f066e
97aa1181a8305fab0cfc635954c92880460ba189
/torch/csrc/jit/passes/xnnpack_rewrite.h
178307dce769bc7e2eaa402d5f8c04ffe44444d2
[ "BSD-2-Clause" ]
permissive
zhujiang73/pytorch_mingw
64973a4ef29cc10b96e5d3f8d294ad2a721ccacb
b0134a0acc937f875b7c4b5f3cef6529711ad336
refs/heads/master
2022-11-05T12:10:59.045925
2020-08-22T12:10:32
2020-08-22T12:10:32
123,688,924
8
4
NOASSERTION
2022-10-17T12:30:52
2018-03-03T12:15:16
C++
UTF-8
C++
false
false
676
h
xnnpack_rewrite.h
#pragma once #include <torch/csrc/jit/api/module.h> #include <torch/csrc/jit/ir/ir.h> namespace torch { namespace jit { enum class MobileOptimizerType : int8_t { CONV_BN_FUSION, INSERT_FOLD_PREPACK_OPS, REMOVE_DROPOUT }; TORCH_API void insertPrePackedOps(std::shared_ptr<Graph>& graph); TORCH_API void insertPr...
f3830de981228c612a7c234b6bd19c69d75c88c9
eda7f1e5c79682bf55cfa09582a82ce071ee6cee
/aspects/fluid/potential/GunnsFluidPressureHead.hh
af6aded6e4cc9a3d2e259307955d091c81a0eb10
[ "LicenseRef-scancode-us-govt-public-domain", "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-unknown-license-reference" ]
permissive
nasa/gunns
923f4f7218e2ecd0a18213fe5494c2d79a566bb3
d5455e3eaa8b50599bdb16e4867a880705298f62
refs/heads/master
2023-08-30T06:39:08.984844
2023-07-27T12:18:42
2023-07-27T12:18:42
235,422,976
34
11
NOASSERTION
2023-08-30T15:11:41
2020-01-21T19:21:16
C++
UTF-8
C++
false
false
9,838
hh
GunnsFluidPressureHead.hh
#ifndef GunnsFluidPressureHead_EXISTS #define GunnsFluidPressureHead_EXISTS /** @file GunnsFluidPressureHead.hh @brief GUNNS Fluid Pressure Head Spotter declarations @defgroup TSM_GUNNS_FLUID_POTENTIAL_PRESSURE_HEAD_SPOTTER GUNNS Fluid Pressure Head Spotter @ingroup TSM_GUNNS_FLUID_POTENTIAL @copyright...
4e5c8b23e81e0b475c937f832f4e12431b193aef
999db95b111103f10862980c88d7df2322ccfd4c
/polygonpointsmodel.cpp
c31128c33b7389d503a4a7b4847f329b0ce69aa6
[]
no_license
google-code/alegria-editor
a0da6cb4afcb3509b2919a11f8d456aefd0fdc60
557a70abe4ae2819e4f71adaea29452a384e2ead
refs/heads/master
2016-09-02T03:41:44.557478
2015-03-14T13:12:06
2015-03-14T13:12:06
32,212,512
0
0
null
null
null
null
UTF-8
C++
false
false
2,505
cpp
polygonpointsmodel.cpp
#include "polygonpointsmodel.h" PolygonPointsModel::PolygonPointsModel(AED_PhysicsComp *comp, QObject *parent) : QAbstractTableModel(parent),m_comp(comp) { m_list = comp->GetPoints(); } int PolygonPointsModel::rowCount(const QModelIndex & parent) const{ return m_list->size(); } int PolygonPoi...
c8b382f826fe62fc1eea9f2d1e73460d6b0a2447
0cf4d867ca87f205d5e65e37966e48a30bd6098f
/Fractal/Fractal/GravityIterator.cpp
ced3dfc8884c287965e6ca24632fa886cefa34f3
[ "ISC" ]
permissive
pauldoo/scratch
344fd0c2a081caca7c75be93279b9b531ed53ee7
400e2647e1026402c8b72828f694db3cda682d0d
refs/heads/master
2023-03-08T19:27:29.911309
2022-05-10T18:40:30
2022-05-10T18:40:30
393,548
2
1
ISC
2023-03-02T22:56:23
2009-12-03T00:37:13
C++
UTF-8
C++
false
false
2,589
cpp
GravityIterator.cpp
#include "External.h" #include "GravityIterator.h" #include "Accumulator.h" #include "Geometry.h" namespace Fractal { template<typename T> GravityIterator<T>::GravityIterator( Accumulator* accumulator00, const std::vector<Vector>& masses, const double acc_step, const double dam...
7de4307dbfe674e8a3ab9e4e8591eaa9999483fb
246f356e638f66a3b2adfd9fc70b059170f25994
/1-beginners/12-while.cpp
5eb3ec7246ffe29252b0fa8e8880cfff567eae04
[]
no_license
romanprograms/codebeauty-channel
f29535e79ccfd527aa7e28021389717e9151c7f0
b3a9f357ec2d1c45ec1a2329845728680ec49964
refs/heads/master
2023-02-14T22:38:27.007628
2021-01-02T14:58:07
2021-01-02T14:58:07
null
0
0
null
null
null
null
UTF-8
C++
false
false
551
cpp
12-while.cpp
#include <iostream> int main() { std::cout << std::endl << std::endl << std::endl << std::endl; // Count digits of a number int number, count = 0; std::cout << "Number: ", std::cin >> number; if (number == 0) std::cout << "You have entered 0. \n"; else { if (number < 0) n...
c1a680e0ba86b2459898af0971245b070a3adea1
d3d28452cfc4b79b1cf0f5578a4eb3be1fe75fb7
/libpjsip/src/main/cpp/SipManager.cpp
48624bcbfaecce9234ee0b6ed3564aab62295afc
[]
no_license
m15115021148/AndroidLibPJSip-master
7cb351f6dda3a96666bacc2ef8b03a9e0892159e
62b6147246e40735a46c46708131e7bbf06a2774
refs/heads/master
2021-05-12T06:01:11.010781
2018-01-12T07:28:44
2018-01-12T07:28:44
117,208,041
2
0
null
null
null
null
UTF-8
C++
false
false
708
cpp
SipManager.cpp
// // Created by weiminji on 11/5/17. // #include <pjsua2/include/pjsip/sip_types.h> #include "SipManager.h" SipManager::SipManager() { } SipManager::~SipManager() { } bool SipManager::init(unsigned port) { mSipEndpoint.libCreate(); // Initialize endpoint EpConfig ep_cfg; mSipEndpoint.libInit( ep...
99d32ca7b452724ec59f4271f4d9096e98d556fd
1035fe3cd67abf519b8c1e28dfd647e9b7c96e58
/Orbit/Dependencies/Camera/Camera.cpp
5e215e50e9a55f549f78317357b306d37fdd0733
[]
no_license
talhacali/Orbit
059e0dbec5ba1587ca2658ef60c3a72653407af7
8cd0aea74b28d613bc8dde47482e983eb87f30da
refs/heads/master
2022-12-07T21:27:44.472233
2020-09-03T12:05:50
2020-09-03T12:05:50
284,675,944
0
0
null
null
null
null
UTF-8
C++
false
false
42
cpp
Camera.cpp
#include "Camera.h" namespace Orbit { }
3d1b17fb279733b4c7ec8f750885d6a3ad8e9fc5
7f1822a1a2afa0a90a5840ec8dff2252b44206f1
/AllGL/OpenGL_9_16/Vector3.cpp
50a42890b6ffeea177dbb608a8929ef6aa739612
[]
no_license
shujianhework/NULL
4938d265f57868da52fcb183959e8243a1faee2c
198d6bc77d5d02236a935eaade91b2b90d565c91
refs/heads/master
2020-03-27T08:37:56.787734
2019-01-15T12:45:37
2019-01-15T12:45:37
146,271,737
0
0
null
null
null
null
UTF-8
C++
false
false
230
cpp
Vector3.cpp
#include "stdafx.h" #include "Vector3.h" Vector3::Vector3(double x, double y, double z) :x(x), y(y), z(z) { } Vector3::~Vector3() { } void Vector3::set(double x, double y, double z){ this->x = x; this->y = y; this->z = z; }
e7b593d5a9d88542ef60b1e776bbbfd1192126c8
2e1817c8e72d85cb305f7bff995dbc3e46dcbe18
/Src/EtriPPSP/EtriPPSP/PP/Cancel.cpp
af2b6f0fed5b75c1e95d3911b31d0eac6713149c
[]
no_license
ETRI-PEC/PPSP
3cb9c593f38761fc26be73945c362125396ef1a4
16366672341c8c33cb2f622956c926777805dc44
refs/heads/master
2021-01-13T01:36:12.437384
2016-09-09T10:59:54
2016-09-09T10:59:54
42,294,963
0
0
null
null
null
null
UTF-8
C++
false
false
1,264
cpp
Cancel.cpp
#include "Cancel.h" #include <string.h> #include "../Common/Util.h" Cancel::Cancel() { MessageType = PP_MESSAGETYPE_CANCEL; } Cancel::~Cancel() { } int Cancel::Create(char* data) { int idx = 0; memcpy(&DestinationChannelID, data, 4); DestinationChannelID = CalcEndianN2H(DestinationChannelID); idx += 4; LogPr...
0d5659b3645288d3620fdcf45acb895ac7c482ea
23f35b2d300ce3698dc3a0ef19ac9ac76ff360da
/64FrameWork/Tool/Code/MyForm.cpp
691ca21fff68e8f20dd7a20baeff30a8f3445337
[]
no_license
cat5778/CodeVein7.0
ea22d99e71aa9ce0e0988fa0b3dac541c9a4260e
9060290d96dc3d4ebb6418938b6a7377594dc11b
refs/heads/master
2022-12-01T06:34:38.464392
2020-08-16T04:00:34
2020-08-16T04:00:34
278,945,120
0
0
null
null
null
null
UHC
C++
false
false
3,638
cpp
MyForm.cpp
// ../Code/MyForm.cpp : 구현 파일입니다. // #include "stdafx.h" #include "Tool.h" #include "MyForm.h" #include "ObjectTool.h" #include "CameraTool.h" #include "NavMeshTool.h" #include "MainFrm.h" #include "ToolView.h" #include "ColliderTool.h" // CMyForm IMPLEMENT_DYNCREATE(CMyForm, CFormView) CMyForm::CMyForm() : CFormVie...
53f8d52eaea6c0d5a65eb79351c8fccd4b7cb387
2bf510c216511f4ac6e559b8d7ceaf5ab1ff5bd6
/twodlearn/core/cuda/tests/matmul_pattern/matmul_pattern.cu.cc
b3958433971fb13bfce2973d1fa824432fa912c4
[ "Apache-2.0" ]
permissive
danmar3/twodlearn
6495a04f5ed8fb7202fb16cd54a4c1d1b01dbd31
02b23bf07618d5288e338bd8f312cc38aa58c195
refs/heads/master
2022-11-16T03:37:21.968697
2019-08-23T02:22:40
2019-08-23T02:22:40
186,306,667
0
1
Apache-2.0
2022-11-04T05:16:12
2019-05-12T21:36:56
Jupyter Notebook
UTF-8
C++
false
false
2,771
cc
matmul_pattern.cu.cc
// *********************************************************************** // Test of matmul pattern implementation // Wrote by: Daniel L. Marino (marinodl@vcu.edu) (2016) // *********************************************************************** /* Includes, system */ #include <stdio.h> #include <stdlib.h> #includ...
5b76b308fe63db22f07f4f52f3954b3e1137b633
8c7b97a5e2ab7f64ce5bcff81e421c62214c5ed4
/DoubleEndedQueue_CircleArray.cpp
7ea1e7a813f055ace13550fbd7ff38b52d0d05b9
[]
no_license
Anniebhalla10/Data-Structures
b22d6a6ea0ee2780d1751fea27222475a5c26f3c
0287a5d02f9717201918fc9c36d63cd32a5c457a
refs/heads/master
2023-04-05T15:42:04.494799
2021-04-03T16:15:08
2021-04-03T16:15:08
293,104,385
0
0
null
null
null
null
UTF-8
C++
false
false
2,664
cpp
DoubleEndedQueue_CircleArray.cpp
/* Name : Annie Bhalla Roll No. : 19HCS4009 Course : BSC (H) Computer Science Semester : 3 Subject : Data Structures Title : Implementation of Double Ended Queues ( Circular Array ) */ #include<iostream> using namespace std; typedef int Elem; class DQueue { Elem *arr; int actual_...
1806681d78ff6ff0e24c21da97861172568fb131
549d781df9365fdda48f34b392d55645d324b34d
/graph/libgraphalgo/bron2.cc
217f02a5b9d0b12827fa50011ebf7461760701a1
[]
no_license
jeffery-cavallaro-cavcom/cavcom
ec61cfa1f2d6d0e46c6ebe96a80dcbb13a8ad9b3
53a41a7f9e48102488bc0d244e6e0218837bce37
refs/heads/master
2020-06-28T16:45:07.716506
2020-01-10T22:10:59
2020-01-10T22:10:59
200,286,479
0
0
null
null
null
null
UTF-8
C++
false
false
5,872
cc
bron2.cc
#include "bron2.h" namespace cavcom { namespace graph { Bron2::Bron2(const SimpleGraph &graph, int mode, bool save) : Bron(graph, mode, save) {} bool Bron2::extend(VertexNumberList *pcandidates, VertexNumberList *pused) { add_call(); const SimpleGraph &g = graph(); VertexNumberList &cand...
9c432ffce228c8cdc1f034bd5c30a233fc441ff8
447b91b0fa781e6deaa12348ef8346eafa452ee1
/wtplayer/src/WTKeyboardPollInfo.hpp
70b899885401d19cf039c0cba8221701d69b7a7e
[]
no_license
Alstruit/WTExtractor
ae3798ee00c23a84cf86ccda9a69bdb88bff417a
a1812e75184330ace0fea9c7ff6197e7b19fa65f
refs/heads/master
2023-08-14T05:52:32.468283
2021-04-10T22:34:36
2021-04-10T22:34:36
null
0
0
null
null
null
null
UTF-8
C++
false
false
104
hpp
WTKeyboardPollInfo.hpp
#pragma once class WTKeyboardPollInfo { public: int getNextKeyDown(); int isKeyDown(int key); };
cf326aa2b2e4a81efe0c61894bc618eccd3a806c
9388178a14bd88d5a4a5545e2d2cc0246801f7b1
/src/Instruction/GGraphicsInstructionItem.h
8584fef81a8851d3922cc8322827d4a5519b6653
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
GaelReinaudi/LabExe
40644a53dc7aa365ed556b70f4f945f40c6f322d
85257d5bd3e4fa5f71a9a2f328d99ca3a89bbd97
refs/heads/master
2020-04-13T23:34:15.876457
2019-08-01T08:28:13
2019-08-01T08:28:13
10,020,827
0
1
null
null
null
null
UTF-8
C++
false
false
316
h
GGraphicsInstructionItem.h
#ifndef GGRAPHICSINSTRUCTIONITEM_H #define GGRAPHICSINSTRUCTIONITEM_H #include <QGraphicsRectItem> class GGraphicsInstructionItem : public QGraphicsRectItem { public: GGraphicsInstructionItem(/*QObject *parent*/); ~GGraphicsInstructionItem(); private: }; #endif // GGRAPHICSINSTRUCTIONITEM_H
a7732f55854fc1881187fb2eda0abcfbf466483f
ca53741ceb8a36a5dad40abdd56fab25435f3562
/Encryption/main.cpp
cafa8984df649b38343ec61a3b844d163895c8fb
[]
no_license
RefugioCornejo/Encriptador
4bc5775831322ca69ef28e460a2d002cae979497
bf2c578cff08187e90a06114c4f83f327cd1d6a9
refs/heads/master
2021-01-01T05:06:43.309141
2016-05-23T22:52:56
2016-05-23T22:52:56
59,523,693
0
1
null
null
null
null
UTF-8
C++
false
false
3,402
cpp
main.cpp
// // main.cpp // Encryption // // Created by Refugio Cornejo on 3/29/16. // Copyright © 2016 Refugio Cornejo. All rights reserved. // #include <iostream> #include <math.h> #include "FileManager.h" #include "Conversor.h" #include "KeyGen.h" #include "Encryption.h" #include <tbb/tbb.h> #include <time.h> int **matr...
af265739c00f6ba526f11d2b1c6d4c3fcae2b5a1
3453dd0498feb4b61f2e48f9277a4184ef2417cc
/src/dynd/compound_div.cpp
6cae32b02ea457beed5672d8c14fb5d1c13b5695
[ "BSL-1.0", "BSD-2-Clause" ]
permissive
insertinterestingnamehere/libdynd
d2290b289bcce4f6ef412f7b31df74ce6b9cbdf4
a0c4fe18cd0772ec52bb090024aadbf6dd7e0ef7
refs/heads/master
2021-05-24T00:08:37.320818
2020-09-11T00:25:53
2020-09-11T00:25:53
22,548,868
0
0
NOASSERTION
2018-12-13T21:13:39
2014-08-02T15:34:03
C++
UTF-8
C++
false
false
291
cpp
compound_div.cpp
// // Copyright (C) 2011-16 DyND Developers // BSD 2-Clause License, see LICENSE.txt // #include <dynd/callables/compound_div_callable.hpp> #include <dynd/compound_arithmetic.hpp> DYND_API nd::callable nd::compound_div = make_compound_arithmetic<nd::compound_div_callable, binop_types>();
09043a8d39243bd84dadaef7d42ab3890b4bcaa1
5a8a21f1b241d13c8294312700728a913e4e9900
/C++/300_LongestIncreasingSubsequence.cpp
dc84a79144fac2f1a2177e2ea1681b11086878f6
[]
no_license
iamzay/leetcode
251d2b4fd5a9be1d3dbb34a0807b23f73938e2df
c1e72b6a78949f01822feeac6db24e793d5530d6
refs/heads/master
2020-12-30T13:29:14.063837
2018-10-15T03:10:56
2018-10-15T03:10:56
91,225,387
1
0
null
null
null
null
UTF-8
C++
false
false
407
cpp
300_LongestIncreasingSubsequence.cpp
class Solution { public: int lengthOfLIS(vector<int>& nums) { int n=nums.size(); if(!n) return 0; // d[n]表示以nums[n]为结尾的最长子串的长度 vector<int> d(n,1); d[0]=1; int _max=1; for(int i=1;i<n;++i){ for(int j=0;j<i;++j){ if(nums[j]<nums[i]) d[i]=max(d[i],1+d[j]); ...
7f5efcf5c0344c73c43c379b72bd099e4b6b84d9
8bd80baf1e6faab75f258992f08e0c75b328f3d4
/GameEngine/old/resources.h
92b84e85dd3109a4529a304d2a6e8631d6fd4512
[]
no_license
danjr26/game-engine
20fa362bcdfdc84c3da1a1ad12cca3ef53166676
f884a88ce7238b3713e9336ab7c325f53e22fe64
refs/heads/master
2021-04-30T04:53:55.646691
2020-02-02T20:26:13
2020-02-02T20:26:13
121,543,636
0
0
null
null
null
null
UTF-8
C++
false
false
433
h
resources.h
#ifndef RESOURCES_H #define RESOURCES_H #include <string> #include "component.h" class Resource { public: string name; Resource (string in_name); virtual ~Resource (); }; class ResourceManager { private: std::map<string, void*> resources; public: ResourceManager (); ~ResourceManager(); void Add ...
e167b4b9dec0206d9bec2325ae0240e845951f6f
6854bf6cf47c68de574f855af19981a74087da7d
/0257 - Binary Tree Paths/cpp/main.cpp
a9aea7e32972ed2d14723bd044a8f52dd130642b
[ "MIT" ]
permissive
xiaoswu/Leetcode
5a2a864afa3b204badf5034d2124b104edfbbe8e
e4ae8b2f72a312ee247084457cf4e6dbcfd20e18
refs/heads/master
2021-08-14T23:21:04.461658
2021-08-10T06:15:01
2021-08-10T06:15:01
152,703,066
5
0
null
null
null
null
UTF-8
C++
false
false
1,275
cpp
main.cpp
// // main.cpp // 257 - Binary Tree Paths // // Created by ynfMac on 2019/11/25. // Copyright © 2019 ynfMac. All rights reserved. // #include <iostream> #include <vector> using namespace std; struct TreeNode { int val; TreeNode *left; TreeNode *right; TreeNode(int x) : val(x), left(NULL), right(NULL) {} }; ...
81001b9b718a9c1f8e84cc1c02d4d97108e235db
f3b46ac9ea25cd3a362fcff4ec95a785482dcc42
/lesson01/src/some_math.h
ae4b68adc5cbce070d3700b3b80dc442bb193549
[ "MIT" ]
permissive
PolarNick239/CPPExercises2021
1d616abc39e7ec8b201d5739d8739762c516b5e4
a9768507e6c5d87792d8c09b9ae951dac7e041ec
refs/heads/main
2023-08-04T09:37:00.686848
2021-09-21T21:16:51
2021-09-21T21:16:51
404,235,872
0
1
MIT
2021-09-14T19:35:38
2021-09-08T06:27:56
null
UTF-8
C++
false
false
201
h
some_math.h
#pragma once #include <vector> int fibbonachiRecursive(int n); int fibbonachiFast(int n); double solveLinearAXB(double a, double b); std::vector<double> solveSquare(double a, double b, double c);
d7b96dd42a124185d3f50d3b8b9f30445d44792c
0981b963c63f4aa673e99c668f5c8c8d51de89c4
/11631.cpp
08bd8b55ab9e273ed7124b2e233cfdc6874dba7f
[ "MIT" ]
permissive
felikjunvianto/kfile-uvaoj-submissions
f21fa85463d6f1bde317c513d670139cfddb9483
5bd8b3b413ca8523abe412b0a0545f766f70ce63
refs/heads/master
2021-01-12T15:57:58.583203
2016-10-06T18:12:35
2016-10-06T18:12:35
70,179,293
0
0
null
null
null
null
UTF-8
C++
false
false
1,282
cpp
11631.cpp
#include <cstdio> #include <cmath> #include <iostream> #include <string> #include <cstring> #include <algorithm> #include <vector> #include <utility> #include <stack> #include <queue> #define fi first #define se second #define pb push_back #define mp make_pair #define pi 2*acos(0.0) #define eps 1e-9 #...
fa34e61bd324e679531f2a1a6bb7af92a821799e
7937dad06fa38714f49bbf33a12cb9153fb4d5cb
/z/compiler/lang.ZScript/lang.syntax/program.h
d1f6d818fccbcf703b60489196fc2ec17cac42e0
[ "MIT" ]
permissive
ZacharyWesterman/zing
ddd1bc8da15a9c3f1b6b8e4ab58bb2e9c7d03d2e
735cf9a69913949f4088750332d1626310bb8d32
refs/heads/master
2021-06-02T02:23:00.222533
2019-12-23T04:56:38
2019-12-23T04:56:38
77,483,315
0
0
MIT
2019-12-23T04:56:40
2016-12-27T21:20:49
C++
UTF-8
C++
false
false
3,393
h
program.h
/** * File: program.h * Namespace: z::script * Description: Implementation of the lexer's * syntax generating member functions. * This file should NOT be included * in a project. Include "lexer.h" * instead,and put this file...
02a40c3f9855d891c50ae7d3e110a1b16e9362de
288840a48549582b64d2eb312c2e348d588b278b
/src/pktk/MString.h
aebfb954ef81e88ae909b0a07581d7ad3c9ed0e3
[]
no_license
mikegogulski/Mephbot
590672d2cf859b2b125514d4f581b9543894ff46
efa1e17a447300b763111f0993a6bc91b6a7b0d4
refs/heads/master
2016-09-06T02:05:43.197714
2011-12-10T20:07:46
2011-12-10T20:07:46
1,107,469
9
5
null
null
null
null
UTF-8
C++
false
false
13,045
h
MString.h
/* MString - Dynamic string data type library Copyright (C) 2000 Jesse L. Lovelace 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 y...
c5f1c5785e7b14fd4d32e1069f9a849904852bbc
f061007f1bd90578ec2aac3b18f262b13b67f8a5
/AVL_tree/Node.h
a4e96516e8da5fe2f779436972264b4fc30d1898
[]
no_license
nevaeh511/DataStructures
779927b657a99e0262149d4fa384887a54b2e5d3
481a6c7a3cf161fd6ba05d41f9e83c3ad2e80e8e
refs/heads/master
2020-12-24T13:44:13.441326
2016-04-05T19:40:27
2016-04-05T19:40:27
32,424,843
0
0
null
null
null
null
UTF-8
C++
false
false
360
h
Node.h
// Aaron Merrill // Course: CS 2420 section: 001 #include<cstdlib> #include<algorithm> using namespace std; struct node { //nodes data value int data; //pointer to the left child node node* left; //pointer to the right child node node* right; int height; node::node(int val) { data = val; left = nullptr;...
91905095e8195dc9b09c34c90fac931d525dfa2d
fb7efe44f4d9f30d623f880d0eb620f3a81f0fbd
/components/multidevice/service/multidevice_service_unittest.cc
489ae4ca651383b8e16aa57fe905de4e358415db
[ "BSD-3-Clause" ]
permissive
wzyy2/chromium-browser
2644b0daf58f8b3caee8a6c09a2b448b2dfe059c
eb905f00a0f7e141e8d6c89be8fb26192a88c4b7
refs/heads/master
2022-11-23T20:25:08.120045
2018-01-16T06:41:26
2018-01-16T06:41:26
117,618,467
3
2
BSD-3-Clause
2022-11-20T22:03:57
2018-01-16T02:09:10
null
UTF-8
C++
false
false
7,282
cc
multidevice_service_unittest.cc
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // #include "multidevice_service.h" #include <memory> #include "base/barrier_closure.h" #include "base/run_loop.h" #include "components/multidevice/servi...
bd0a5dbb8d6be5249eb003b89fcde1fa8966ddd1
a3d6556180e74af7b555f8d47d3fea55b94bcbda
/third_party/blink/renderer/modules/webgl/webgl_shared_platform_3d_object.cc
32bc3f908399d2c01589df8a6975225c32e8e579
[ "LGPL-2.0-or-later", "LicenseRef-scancode-warranty-disclaimer", "LGPL-2.1-only", "GPL-1.0-or-later", "GPL-2.0-only", "LGPL-2.0-only", "BSD-2-Clause", "LicenseRef-scancode-other-copyleft", "BSD-3-Clause", "MIT", "Apache-2.0" ]
permissive
chromium/chromium
aaa9eda10115b50b0616d2f1aed5ef35d1d779d6
a401d6cf4f7bf0e2d2e964c512ebb923c3d8832c
refs/heads/main
2023-08-24T00:35:12.585945
2023-08-23T22:01:11
2023-08-23T22:01:11
120,360,765
17,408
7,102
BSD-3-Clause
2023-09-10T23:44:27
2018-02-05T20:55:32
null
UTF-8
C++
false
false
842
cc
webgl_shared_platform_3d_object.cc
// Copyright 2015 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "third_party/blink/renderer/modules/webgl/webgl_shared_platform_3d_object.h" #include "third_party/blink/renderer/modules/webgl/webgl_rendering_context_base.h" names...
117e914679bcfdbfb496717aa898a1c91ccdb0a0
56d9d4ecaa194e33f69cc77eaf1f3f767367b486
/7_longestNoReapeatingLength.cpp
6f7820088d6d40038f5d124ae0b14c283d52bc6c
[ "MIT" ]
permissive
Cheemion/Leetcode
cbd6b70219cc1c9bf50e7ae10726d2a0b495fd4b
e0fee06896b13b1efb11338c383dafd5d0dfed19
refs/heads/main
2023-03-28T02:43:24.035758
2021-03-23T08:39:09
2021-03-23T08:39:09
350,611,550
0
0
null
null
null
null
UTF-8
C++
false
false
864
cpp
7_longestNoReapeatingLength.cpp
#include<iostream> #include<vector> #include<unordered_set> using std::vector; using std::unordered_set; class Solution { public: /** * @param arr int整型vector the array * @return int整型 */ int maxLength(vector<int>& arr) { if(arr.size() < 2) return arr.size(); int i = ...
9dc97df2580ac2acd468d1cd2e0d5be39793579e
e02e993083e57b8f7c5e657d354ab6a1f6b98db4
/Translator/socket.hpp
fc8a1b5e07d3c8c3f337f3439086c46775d953bc
[]
no_license
NintyS/NetworkInQt
16d5513c04214a82b8fae3c75b4f8c38d8e32b2b
149d551a3e91399f0960b0c37866745f213566e9
refs/heads/main
2023-03-04T08:17:10.863754
2021-02-12T10:42:12
2021-02-12T10:42:12
336,815,352
0
0
null
null
null
null
UTF-8
C++
false
false
273
hpp
socket.hpp
#ifndef SOCKET_HPP #define SOCKET_HPP #include <QTcpSocket> #include <QObject> class Socket : public QObject { Q_OBJECT public: explicit Socket(QObject *parent = nullptr); void Connect(); signals: private: QTcpSocket *socket; }; #endif // SOCKET_HPP
7f9650691bdc6f34c49b8783642c9acc105f7634
cd96666e1b57299f8544afaa294b7143ef25ad60
/Brick.h
1565751121cccff019299367a5580d1cef8bc998
[]
no_license
KolololoPL/Arkanoid
d30ae82c3f9a3634f7453130f70077b3df7f1df6
421230e7620006e2bc6bdca2fa1c3d592e0d4719
refs/heads/master
2021-01-22T14:39:07.791470
2015-09-11T06:21:10
2015-09-11T06:21:10
42,291,392
0
0
null
null
null
null
UTF-8
C++
false
false
421
h
Brick.h
#ifndef BRICK_H #define BRICK_H #include "Collider.h" #include "Vector2d.h" #include "Config.h" #include "MySDL.h" class Brick : public Collider { private: SDL_Surface* sprite; Vector2d position; SDL_Rect rect; short lives, id; public: Brick(SDL_Surface*, Vector2d, short, short); ~Brick(); void Draw(); voi...
4712b0cd730c32c6d106aeb95e0c9acfe4a77cdf
cd0725fbb3fb21e0cea76d8c63f365ee05b50b7c
/TEvent.cpp
2a8702eb95f527dab79df5bfd2950970b4c8222f
[]
no_license
nastja123456789/pro3
7bc2c050da212c77cba6189a81211027ddeb9b87
d6e7589bce94f6e409df78cbb0a807ab2e7df11f
refs/heads/main
2023-02-09T21:14:45.961293
2020-12-22T05:14:41
2020-12-22T05:14:41
323,527,283
0
0
null
null
null
null
UTF-8
C++
false
false
550
cpp
TEvent.cpp
#include "TEvent.h" TEvent::TEvent( char *s) { name = s; } bool TEvent::inDate( const QDate &st, const QDate &en ) { return true; } void TEvent::getDescr( char *s ) { strcpy( s, "Всегда выполняется" ); } void TEvent::getStringTime( char *s ) { sprintf( s,"Каждый час"); } void ...
54f7b179e1265a5365210d5f7e520d749a22f341
d0d27c784e09efca99e370c8c42b15d2f0ab0b8a
/02_Class/02_Class/Source.cpp
474b4aa77c0bd619f936d69a51c1627725c95773
[]
no_license
mhmmdd/Cpp-Training-Example
9b20784ec003579a409ee42d29892cf2acc6673b
0f926c29744c234caacd3076bd6dba71680a4e1e
refs/heads/master
2021-04-27T20:54:45.633774
2018-03-04T16:25:04
2018-03-04T16:25:04
122,387,876
0
0
null
null
null
null
ISO-8859-9
C++
false
false
955
cpp
Source.cpp
#include <iostream> class Log { public: const int logLevelError = 0; const int logLevelWarning = 1; const int logLevelInfo = 2; private: int logLevel = logLevelError; public: void setLogLevel(int level) { this->logLevel = level; } void error(const char* message) { if(logLevel >= logLevelError) { std:...
9d7fe06697c9342d8308ac6a948f1781d83138c2
e019c932d38c6da8cd8f427f3752d167a67a1038
/scientistrepository.cpp
2a7a9fe3a5e49a21c2807b9cb231a0eb7b618131
[]
no_license
AndriM/Vika2
f81f7490fa75a430297ff25887ac0a54f5bc262e
93eadf5c7b0d59f291ce95e71f40a735e227cc6a
refs/heads/master
2021-01-23T14:05:10.013249
2014-12-09T23:19:02
2014-12-09T23:19:02
null
0
0
null
null
null
null
UTF-8
C++
false
false
7,942
cpp
scientistrepository.cpp
#include "scientistrepository.h" ScientistRepository::ScientistRepository(std::string fname) { filename = fname; delimiter = '\t'; std::ifstream scientistFile; try { scientistFile.open(filename.c_str(),std::ios::in); } catch(...) { // Ignore the error, the file is non existent and...
cbf8097742ef8de8000e9361fc6638b7f48d3c2f
da8ee835b202a5ec76ee0ec021db6518069bef6a
/Random Codes/8_queen_problem.cpp
f7aff49c1cca09a4965c2d2610a4787cd8357620
[]
no_license
TarekHasan011/Artificial-Intelligence
6710b28bef2ad446581bf8633943a93e75a62b9f
955afe59e67e2aecd4624339611732cbd4ce1be3
refs/heads/main
2023-07-18T17:24:00.621686
2021-08-20T17:17:01
2021-08-20T17:17:01
307,750,517
0
0
null
null
null
null
UTF-8
C++
false
false
1,349
cpp
8_queen_problem.cpp
#include<bits/stdc++.h> #define SIZE 8 using namespace std; char board[SIZE][SIZE]; bool isSafe(int r, int c) { for(int i=0;i<SIZE;i++) { if(board[r][i]=='Q') return false; } for(int i=0;i<SIZE;i++) { if(board[i][c]=='Q') return false; } ...
2ddb68ce9846dc10cb96c7cf22524418ef64020b
06dcff60c265be3685bf718fdacf0ae79f1d772f
/src/AudioOutput.cpp
3095d08a03aeefbedeacee4f5a30219c395aa6f9
[]
no_license
Shadkirill/libmediafy
e2ed36f9249a573d259b93528336730b77a565ad
02070b1220a8fdebc162ee99165b49f5fa24d99d
refs/heads/main
2023-04-22T10:46:24.129523
2021-05-21T01:13:41
2021-05-21T01:13:41
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,614
cpp
AudioOutput.cpp
// // Created by adebayo on 5/7/21. // #include "AudioOutput.h" #include <atomic> extern "C" { #include <libavutil/time.h> }; #define MINIAUDIO_IMPLEMENTATION #include "miniaudio.h" #ifndef MA_SUCCESS #define MA_SUCCESS 0 #endif void data_callback(ma_device* device, void* output, const void* input, ma_uint32 frame...
d85383d6f970f25de92b7d1e315147511c626e10
f3bb2403ab48b5964e398bbf5082b66ec17bfdef
/SQLConnectionGUIVS/InsertData.h
8e913f73f630a5ce06bdd466a1c777cc2adb4c27
[]
no_license
JosipDraguljic/CPP_GUIVSSQLConnection
074293984059b2571264bc6340b8472d9a437e2a
28609bb8503ec3d6f3ef55b18516d92b20a1b272
refs/heads/main
2023-04-06T12:05:13.441718
2021-04-13T11:10:47
2021-04-13T11:10:47
null
0
0
null
null
null
null
ISO-8859-1
C++
false
false
2,627
h
InsertData.h
#pragma once #include "Functions.h" namespace SQLConnectionGUIVS { using namespace System; using namespace System::ComponentModel; using namespace System::Collections; using namespace System::Windows::Forms; using namespace System::Data; using namespace System::Drawing; /// <summary> /// Zusammenfassung für ...
3a6d747602007800b5bf0c8b517a88ff66e12e72
4d66f0bd23b55646b78a4ab75f38435914351211
/src/capi_function.cpp
0af4422e0f714398ec3e9999ce1a8fcde49a8570
[]
no_license
mkoval/boost_python_examples
682786dcfdb1f96bbf317f1120809814af96123d
5bb93be595a12c611dc99d255c9bebbe975819f0
refs/heads/master
2020-04-14T14:49:49.897891
2014-04-18T06:11:24
2014-04-18T06:11:24
null
0
0
null
null
null
null
UTF-8
C++
false
false
635
cpp
capi_function.cpp
#include <Python.h> static PyObject *py_hello_world(PyObject *self, PyObject *args) { char const *const message = "Hello World"; // Helper function for creating Python objects. The first argument is // similar to a format string, where "s" is a Python string. return Py_BuildValue("s", message); } // ...
8f1279a8589b360faac546ddeb05b95c5906c262
09dc57d26326f2190d7aee1c5562793aed986ba5
/Inc/Socket.h
b5d17fccfca35c8c76aff9f1bb806bd28cd7b69f
[]
no_license
colinhp/SpellCorrection-System
8a295e4c6c7a7fce6fabbbfdd1e1df7ac4e7d297
251fbac8c72c87d04d82f0222c9e94b85e1918fc
refs/heads/master
2021-05-20T23:31:31.968607
2015-12-27T05:07:56
2015-12-27T05:07:56
null
0
0
null
null
null
null
UTF-8
C++
false
false
622
h
Socket.h
#ifndef __SOCKET_H__ #define __SOCKET_H__ #include "Noncopyable.h" namespace tanfy { class InetAddress; class Socket:Noncopyable { public: Socket(); Socket(int sockfd); ~Socket(); int getfd() { return sockfd_; } void ready(InetAddress &addr, int clinum); int accept(); static InetAddress getLocalAdd...
46efb9732116cb54aa5900513e96c3d5e175cc11
7311bdc40745b1ad207cd551567c6b835f8c56d7
/Round 1B/cards.cc
311435ecc2756785b494496d9799f6912ccd37fb
[]
no_license
PereCP/CodeJam-2020
ce29f0b266a0438437f9ea94bfdcfa5de5e562dc
f99b3adde5c9ea86bb0e87499d209b9ee9139caa
refs/heads/master
2022-07-22T02:16:04.746642
2020-05-09T13:47:45
2020-05-09T13:47:45
262,580,610
0
0
null
null
null
null
UTF-8
C++
false
false
2,379
cc
cards.cc
#include <iostream> #include <list> using namespace std; typedef pair<int, int> card; void print_list(const list<card>& l) { for (list<card>::const_iterator it = l.begin(); it != l.end(); ++it) { cout << (*it).first << ' ' << (*it).second << endl; } } void genlist(list<card>& l, int r, int s) { f...
6f28e89d2d6a2eb771d20c1b026315201120cca3
049ec768ecf957f1337f957a16db05416ef92e78
/inc/osapp/osmain.hxx
a66424d6a075fa32a85224c3482611b5a3291ae2
[ "MIT" ]
permissive
frang75/nappgui
59f48e01b5f8efdccd6d02c6487cdd39f11456e0
319d6c3a2a3eadd5d6375186b3aa31bf17e27b6f
refs/heads/master
2023-01-12T06:36:39.430488
2022-12-26T14:05:12
2022-12-26T14:05:12
194,401,589
73
7
null
2021-01-26T21:07:05
2019-06-29T12:10:08
C
UTF-8
C++
false
false
596
hxx
osmain.hxx
/* * NAppGUI Cross-platform C SDK * 2015-2022 Francisco Garcia Collado * MIT Licence * https://nappgui.com/en/legal/license.html * * File: osmain.hxx * */ /* Cross-platform main */ #ifndef __OSMAIN_HXX__ #define __OSMAIN_HXX__ #include "osapp.hxx" typedef void*(*FPtr_app_create)(void); #define FUNC_CHECK_AP...
384a8b8280f62d98e023960194019775423efd6b
031cd28ddd4a326b0829f196ceaa06020c4ae235
/src/gui/GLSLHighlighter.h
e547d276c63d349663dfe6c758721e90de518297
[ "BSD-3-Clause" ]
permissive
c42f/displaz
364e6d3a3b14131b629fd806ef4a354fefc678cc
ae998f37688a4eeffacfbae8583c2e982997d155
refs/heads/master
2023-08-31T10:46:12.698720
2023-08-19T01:07:23
2023-08-19T01:07:23
6,596,947
207
91
NOASSERTION
2023-09-10T07:43:55
2012-11-08T13:48:08
C++
UTF-8
C++
false
false
1,373
h
GLSLHighlighter.h
// Copyright 2015, Christopher J. Foster and the other displaz contributors. // Use of this code is governed by the BSD-style license found in LICENSE.txt #ifndef DISPLAZ_GLSL_HIGHLIGHTER_H_INCLUDED #define DISPLAZ_GLSL_HIGHLIGHTER_H_INCLUDED #include <QSyntaxHighlighter> #include <QTextCharFormat> #include <QString>...
e9d45b97d4afd4aee93d38802a1279776740425e
44341e2500d1aafe1615b0f79ce0f52c19a4d044
/RenderEngine2/Model.h
836154ebcc88f0ed42daab6935e16a1fab24b64c
[]
no_license
daniel-zhang/render_demos
9a420306bdf00761e2ffac4f919fbdd6777e2f8c
73aa0958b97c9354147404d4f0c5a7754d80bf38
refs/heads/master
2020-12-24T16:06:39.923784
2016-04-02T00:17:25
2016-04-02T00:17:25
19,178,207
0
0
null
null
null
null
UTF-8
C++
false
false
1,474
h
Model.h
#ifndef MODEL_H #define MODEL_H #include "Util.h" #include "GeometryGenerator.h" #include "InputLayoutMgr.h" #include "LightHelper.h" class Model { public: Model(ID3D11Device* dv, ID3D11DeviceContext* ctx); virtual ~Model(); // // Supports loading from .obj, GeometryGenerator, and the simple meshes ...
34ced44eec549b5f8d853fc1f033e0154e0de869
b0883836413b336033ebdaad4f40bf921201b5c5
/person.cpp
7a9350346934fdf89c4f03e48bb9b2b7a4989d3e
[]
no_license
tuananh0209/OOP_HK2020
152eaafac937d263f3b33d0657c00f65cbb79658
d1803e6eee0fe341a5aa95a5f31e6fc60caa4d09
refs/heads/master
2023-08-25T15:26:00.899889
2021-10-18T04:08:54
2021-10-18T04:08:54
null
0
0
null
null
null
null
UTF-8
C++
false
false
276
cpp
person.cpp
#include "person.h" Person::Person(){}; Person::Person(string username, string name, string phone, string address, string birthday){ this->name = name; this->username = username; this->address = address; this->phone = phone; this->birthday = birthday; }
2734f3ae2d2b46c1be618778f493ce613e7d058f
23012559f8099fbb6a4c86d3d86ab5c5212de48e
/libs/kasten/gui/shell/shellwindow.cpp
cbe0437feb57bb87ed30a3d9ed288daca410f834
[]
no_license
KDE/okteta
a916cdb9e16cdc6c48a756205604df600a3b271c
cb7d9884a52d0c08c1496d4a3578f5dfe0c2a404
refs/heads/master
2023-09-01T09:33:47.395026
2023-08-29T04:33:32
2023-08-29T04:33:32
42,718,476
92
9
null
2020-12-29T18:58:56
2015-09-18T11:44:12
C++
UTF-8
C++
false
false
1,355
cpp
shellwindow.cpp
/* This file is part of the Kasten Framework, made within the KDE community. SPDX-FileCopyrightText: 2007-2009, 2011 Friedrich W. H. Kossebau <kossebau@kde.org> SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL */ #include "shellwindow.hpp" #include "shellwindow_p.hp...
22f5edbccf95fc6eb87cec679056317e6a81e230
9a017c44f25e3757b14b5ad4f06b660d8249c0fd
/parsch_labs/lab_6/src/main.cpp
a84ba8380be3ae00524d86f000c01dcabb5634bb
[]
no_license
unseenshadow2/Data_Structures_and_Algorithms
61fba670dc9d99e5b81265e37a77a545dd7fb122
b9fdcc9635a870efc785482631dc3ba95712aa1d
refs/heads/master
2020-12-21T06:14:22.062972
2016-08-14T05:52:07
2016-08-14T05:52:07
59,049,891
0
0
null
null
null
null
UTF-8
C++
false
false
1,039
cpp
main.cpp
// Lab 6 Assignemnt // Data Structures and Algorithms // Written by Anthony Parsch // Compiled and tested on Ubuntu Linux #include <iostream> #include "Queue.hpp" using namespace std; int main () { Queue<int> toTest (10); // Enqueue test cout << "Testing insert:" << endl; for (int i = 0; i < 1...
c8c43dd5f9fc928463aa0fe7da8b94177f66272c
1c5754e7f43ff4ddf3977e0f146513ce0636aeaa
/CodeJam/2014/ChargingChaos/main.cpp
e98dfc4c94127aaf7ab6d399cfda5ea0fb6cbd3f
[]
no_license
weirdNox/Competitive
5fa7ac0e43699ecdb2eed6a550052ef95ecd2238
3d1d856a94896fd87c982441256a1faa60e27684
refs/heads/master
2021-10-20T19:18:13.686715
2019-03-01T10:20:20
2019-03-01T10:20:20
83,240,799
0
0
null
null
null
null
UTF-8
C++
false
false
2,486
cpp
main.cpp
#include <algorithm> #include <array> #include <chrono> #include <cmath> #include <cstdlib> #include <fstream> #include <iomanip> #include <iostream> #include <limits> #include <map> #include <string> #include <unordered_map> #include <vector> std::vector<std::string> getFlips(const std::string &device, ...
9a566e669499f46df24fb33b9695101ffbb83a76
b53f1953f5520e5208f34bb87d42d86ead33dba6
/src/Platform/Code/Diag_Export/ODM.h
d0ee897384566b7167d8197630dff6f070a82c0a
[]
no_license
Jonkoping/data
e01b2ded3335742165ea3feb9c06e0d111ab5fb7
03de309b5f7998f394b2ed1d8b0bc0114ca686f3
refs/heads/master
2020-06-30T18:24:29.032625
2018-01-04T09:18:55
2018-01-04T09:18:55
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,884
h
ODM.h
#pragma once #include "interfacebase.h" #include "NVItem.h" #include <string> #include <vector> #include "..\CommonUtil\XMLManager.h" #include "Header_MotoXPRS.h" #ifdef DIAG_EXPORT_EXPORTS #define DIAG_API extern "C" __declspec(dllexport) #define DIAG_CLASS_API __declspec(dllexport) #else #define DIAG_API...
d819923b03af4532e9ee9eb51f3a7bef0f6ae07d
f7a53f0690572751ee54b9acc94019d318902f6d
/LightOj1433.cpp
6fc74862a7a041062c0c7f18e3a0dd7e357f97a8
[]
no_license
shamim7999/LightOjProblems
237248f26bc5ee48391ac518fb15767d12a43e6e
107959eee9ea6fedb8209db655b342766e77c0bc
refs/heads/master
2022-01-21T16:45:43.715820
2022-01-10T06:47:36
2022-01-10T06:47:36
231,510,067
0
1
null
null
null
null
UTF-8
C++
false
false
1,265
cpp
LightOj1433.cpp
#include<bits/stdc++.h> using namespace std; #define dd double #define pb push_back #define pf push_front #define popb pop_back #define popf pop_front #define ll long long #define ull unsigned long long #define ld long double #define mx 100005 #define mod 1000000007 #define fr first #define cti(a) (a-48) #define itc(a)...
542bc6ffab444d9ad46b5d310248e20215c461d1
e226c1d58ba1f6b74784fa485f95cc381e27a8fc
/source/reverse.cpp
8aeb604daafd597bb191e54e0c47569d5515a31d
[]
no_license
hazelnusse/ctci
08768d31a230a117650d69645db521927bde2c26
f0cb6d30b1b6cebb2c8aba8425c82e4ea6c09ac3
refs/heads/main
2023-04-21T14:12:37.999600
2021-04-16T23:09:20
2021-04-16T23:40:16
337,652,770
0
1
null
2021-04-23T03:56:12
2021-02-10T07:49:38
C++
UTF-8
C++
false
false
364
cpp
reverse.cpp
#include <cstring> #include <ctci/reverse.hpp> namespace ctci { void reverse(std::string &s) { if (s.empty()) { return; } auto last_char = s.end() - 1; for (auto first_char = s.begin(); first_char < last_char;) { std::string::value_type const tmp = *first_char; *first_char++ = *last_char; *la...
6f97798c809aa6470c29f19e1c2f9e511906cea6
5407058fb4871915f3225ba0551b8c41dd72fe6e
/Source/Brendenmoor/GlobalEventHandler.cpp
4fad470237bcb4167973ccbbb9a109f9d15495c4
[]
no_license
andrewclear/Brendenmoor-Unreal
0ebc72d5301553ec5e988f6d6a71610f87b5e0e0
40e71b1f239e7be3f67534153b148aa851bfe8fd
refs/heads/master
2023-05-04T19:13:17.450997
2020-03-30T19:34:07
2020-03-30T19:34:07
76,518,179
0
0
null
null
null
null
UTF-8
C++
false
false
160
cpp
GlobalEventHandler.cpp
// Fill out your copyright notice in the Description page of Project Settings. #include "Brendenmoor.h" #include "Engine.h" #include "GlobalEventHandler.h"
bbfdc0ee4644d73b09ab3e3cd2b8cb7f131219f6
50256e647b57a2bd3068f2eb351f619c29a30c86
/src/SiemensS7TcpDriver.cpp
129f06fcb3785056200ed1d285f64be9c3d0b2d2
[]
no_license
bisegni/chaos-driver-siemens-s7
30bc7f488bd734e82d01f7d8b919b77114337e36
a1bbe17d849a183ee4df4230ce3cc5859f1549de
refs/heads/master
2020-06-04T00:57:53.165601
2013-08-28T14:22:41
2013-08-28T14:22:41
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,659
cpp
SiemensS7TcpDriver.cpp
/* * SiemensS7TcpDriver.h * !CHOAS * Created by Bisegni Claudio. * * Copyright 2013 INFN, National Institute of Nuclear Physics * * 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 L...
9315f1f12a335a5fcf36456588b872bf2e99c11a
82b915115c7a72b1f97278ffc3f56116f73493f7
/bitwise sieve.cpp
9f100b35daf47e7cc697391728a43c0e6da3775f
[]
no_license
dv66/programming_problems_cpp
284ca62f08ca9e572ed30af13edd2a793f3aebdc
40e2b038aa1811ebc8a89d5617c81b7cebd38d37
refs/heads/master
2021-06-19T18:19:44.361483
2017-06-05T15:05:43
2017-06-05T15:05:43
null
0
0
null
null
null
null
UTF-8
C++
false
false
440
cpp
bitwise sieve.cpp
#include<bits/stdc++.h> using namespace std; int setbit(int n, int i){ return ((1<<(i-1)) | n);} void printbits(int n){ int m = 1 << 31; for(int i =0; i<32; i++){ if((m&n) == 0) putchar('0'); else putchar('1'); n = n<<1; if((i + 1)%4 == 0) putchar(' '); } cout<<endl; ...
0a735480b77637595f7278421e3b03886b9f8c9f
36d20a2c232b39b08a64262f5d99ffa331aabe01
/Userland/Libraries/LibTLS/CipherSuite.h
590e46ef9faa90fa2b91fff4d062f5e1191263a2
[ "BSD-2-Clause" ]
permissive
ReasonablePanic/serenity
c7e8c9f6a3020392fe46c192b3a36ed13388b41a
6048e245ee807f5520685d0e4751059676e24ed1
refs/heads/master
2023-05-01T09:34:42.605849
2021-05-21T14:14:40
2021-05-21T14:14:40
358,444,795
0
0
BSD-2-Clause
2021-04-27T19:15:46
2021-04-16T01:51:03
null
UTF-8
C++
false
false
1,527
h
CipherSuite.h
/* * Copyright (c) 2020, Ali Mohammad Pur <mpfard@serenityos.org> * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once namespace TLS { enum class CipherSuite { Invalid = 0, AES_128_GCM_SHA256 = 0x1301, AES_256_GCM_SHA384 = 0x1302, AES_128_CCM_SHA256 = 0x1304, AES_128_CCM_8_SHA256 = 0x130...
a99c24f30b560d92102540186cb8a4aee61b2745
e532259516df1bf99475ebe3e00923c4ed0f66d2
/PWFA/Lu_bubble_profile/bubble_regime_Lu.cpp
bb3e828a6975c78adeb22a9b56f3255317db3e14
[]
no_license
albz/Plasma_PyCalculator
c090e4ae66d7321fbecce04492391fc5778b21d3
59bd188ef22cd05ca1e99c5a58d17bdbab504580
refs/heads/master
2021-09-08T22:38:28.726579
2018-03-12T14:59:33
2018-03-12T14:59:33
46,377,025
0
1
null
null
null
null
UTF-8
C++
false
false
7,473
cpp
bubble_regime_Lu.cpp
/* * Created by F. Mira A. Marocchino C. Gatti */ #include "parameters.h" #include <math.h> #include <stdio.h> #include <iostream> #include <sstream> #include <iomanip> #include <fstream> #include <stdlib.h> typedef double (*func)(double,double,double); double density(double); double density_driver(double); doub...
4b3c36b82c9f143384f2e61837190f38f7c76717
402b890909f0bea35c52bf5c67cf47c49ec7b93b
/09 - Szarmaztatas/fajlrendszer/fileSystem.cpp
344d378a028bcbf4621d15b82088a3cb917c8d72
[]
no_license
kovacs-levent/ELTEProg
528baee1bb8bd57b17087eee1e095997a29586f2
2f8c0ee953628381709ba0876943568b038156f6
refs/heads/master
2020-07-27T14:54:52.652474
2019-05-15T16:56:19
2019-05-15T16:56:19
145,883,210
3
2
null
null
null
null
UTF-8
C++
false
false
507
cpp
fileSystem.cpp
#include "fileSystem.h" bool FileSystem::removeEntry(Entry* p) { bool l = false; int i = 0, ind; while(!l && i < content.size()) { l = (content[i] == p); ind = i; ++i; } if(l) { content[ind] = content[content.size()-1]; content.pop_back(); } r...
546994c9c225a9d9a422fdfdb0ddb0501c4a572e
4aba7432993fd407f8a6999e6fe3d809d9f38c13
/include/Obbligato/Platform_Win32.hpp
3a59e53d8130c304b990b5ed3c678b842d539396
[]
no_license
jdkoftinoff/Obbligato
cc6243e4195127365a95f64dd7e467a345761d4d
f4dc5b3ef7f107b23f664a9bd7e157bf6c6f190b
refs/heads/master
2020-05-17T03:23:04.141450
2015-08-30T04:11:24
2015-08-30T04:11:24
7,463,372
1
1
null
null
null
null
UTF-8
C++
false
false
2,246
hpp
Platform_Win32.hpp
#pragma once /* Copyright (c) 2013, J.D. Koftinoff Software, Ltd. <jeffk@jdkoftinoff.com> http://www.jdkoftinoff.com/ All rights reserved. Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this pe...
70cb6f908884e42bdda32950325302ec48d9266a
f0a26ec6b779e86a62deaf3f405b7a83868bc743
/Engine/Source/Editor/UnrealEd/Private/LinkedObjEditor.cpp
b7613d717dba3a3e7f9d1b7d1e579ba748ff9e90
[]
no_license
Tigrouzen/UnrealEngine-4
0f15a56176439aef787b29d7c80e13bfe5c89237
f81fe535e53ac69602bb62c5857bcdd6e9a245ed
refs/heads/master
2021-01-15T13:29:57.883294
2014-03-20T15:12:46
2014-03-20T15:12:46
18,375,899
1
0
null
null
null
null
UTF-8
C++
false
false
39,356
cpp
LinkedObjEditor.cpp
// Copyright 1998-2014 Epic Games, Inc. All Rights Reserved. /*============================================================================= UnLinkedEdInterface.cpp: Base class for boxes-and-lines editing =============================================================================*/ #include "UnrealEd.h" #include "...
b031092d0c123551158f2d1b75f0cc48662d9294
9baddaf0c91617af0554ea80780dff4d8e126cdb
/CodeVein_0.1/Engine/Headers/Light_Manager.h
4bb0b8b11da59258258abb2f93461dae66b32bf4
[]
no_license
plmnb14/TeamProject_3D_CodeVein
d0742b799f639f7d78db51aaba198195f4cc5c76
15317dac5d8a75d76abf267d31d7c3930505684a
refs/heads/master
2023-05-07T08:21:02.579479
2020-04-02T06:57:57
2020-04-02T06:57:57
null
0
0
null
null
null
null
UTF-8
C++
false
false
492
h
Light_Manager.h
#pragma once #include "Light.h" BEGIN(Engine) class CLight_Manager final : public CBase { DECLARE_SINGLETON(CLight_Manager) private: explicit CLight_Manager(); virtual ~CLight_Manager() = default; public: const D3DLIGHT9* Get_LightDesc(_uint iIndex); public: HRESULT Add_Light(LPDIRECT3DDEVICE9 pGraphic_Device, ...
896291afd0f769814431089d627a8614419d02fa
f494463d726437f946887b41bdc61209a1115646
/logindialogue.h
503aa100689720da5c0407ae3d060a5ea40adde5
[]
no_license
joe564338/ChatSec
a17eed92c40de881479dae4f2e7c154e11de1e92
611415c4230173d963c331daf8871e822a21c372
refs/heads/master
2021-01-02T09:14:09.734548
2015-12-11T19:00:19
2015-12-11T19:00:19
42,022,226
0
0
null
null
null
null
UTF-8
C++
false
false
614
h
logindialogue.h
#ifndef LOGINDIALOGUE_H #define LOGINDIALOGUE_H #include <QDialog> //class to verify the user does want to relogin namespace Ui { /** Window for confirming decision to re-login if the user is already connected*/ class loginDialogue; } class loginDialogue : public QDialog { Q_OBJECT public: explicit loginDial...
085a809b4dac572e51623ee01ccb64751f91d111
96087808a05a1a6beba14207b813ac7a152ef28a
/AlgorithmQuestions/AtCoder/abc178/d.cpp
0aaa99063fad7ffc2cf8b0bcd005aa044af86112
[]
no_license
phonism/notes
d76dd50d1e5b9463c2b65eafca7a596bd97e523b
97e72472657dfbabdf858fe812308790c0214a0b
refs/heads/master
2022-09-10T04:23:39.394736
2022-08-17T12:28:30
2022-08-17T12:28:30
24,148,792
12
1
null
null
null
null
UTF-8
C++
false
false
392
cpp
d.cpp
#include <bits/stdc++.h> using namespace std; const int N = 2222; const int MOD = 1e9 + 7; long long dp[N]; int main() { int s; cin >> s; for (int i = 3; i < N; ++i) { dp[i] = 1; } for (int i = 6; i <= s; ++i) { for (int j = 3; j <= i - 3; ++j) { dp[i] += dp[i - j]; ...
a828099d87a95138cb3b28773afd5b00bcd2753a
a52f02e202261afdaa53f266f1dfddb0d160be66
/2011.cpp
561a61ddc06b2a570ec6e66fd1e35f6f3f9e5aec
[]
no_license
tamtam484/procon_submissions
4e9d2b135a24e42d8ed4cbf349efae6ff7a075ee
28d91d2cdf1cce9c4276f199e2549d9574409a04
refs/heads/master
2021-01-20T14:09:03.208662
2017-08-12T16:43:23
2017-08-12T16:43:23
90,567,310
0
0
null
null
null
null
UTF-8
C++
false
false
2,705
cpp
2011.cpp
//http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=2011 #define _USE_MATH_DEFINES #include <sstream> //string stream its useful! #include<string> #include<iostream> #include<utility> //pair #include <vector> // vector #include <algorithm> // swap,sort,binary_search #include <functional> // std::greater #i...
49fe253edb57a047b69347d06c4e4394eb05f0c3
09eaf2b22ad39d284eea42bad4756a39b34da8a2
/ojs/icpc/4794/4794.cpp
8f2da56f75889deb9f033fbd3b2c07df62368368
[]
no_license
victorsenam/treinos
186b70c44b7e06c7c07a86cb6849636210c9fc61
72a920ce803a738e25b6fc87efa32b20415de5f5
refs/heads/master
2021-01-24T05:58:48.713217
2018-10-14T13:51:29
2018-10-14T13:51:29
41,270,007
2
0
null
null
null
null
UTF-8
C++
false
false
2,158
cpp
4794.cpp
#include <bits/stdc++.h> using namespace std; typedef unsigned long long int ull; typedef long long int ll; typedef unsigned int ui; #ifndef ONLINE_JUDGE #define DEBUG(...) {fprintf(stderr, __VA_ARGS__);} #else #define DEBUG(...) {} #endif const int K = 15; const int N = (1<<K); const int M = 107; bool memo[N][M]; ...
934bfdc16d2a069cfd878317375c9c9690f9e69e
88b299df27d2644c07546a63ed93803a76f677af
/main.cxx
af65e25ec283e393b0a5ff403c40ae39c7b2ea4b
[]
no_license
aymanrs/pascal-trianle
3a19f69d1a56cd6d60ddc38c9903a67c546fb561
e0214b2eeb2ca9b77167a22f686eb3c433671985
refs/heads/master
2022-04-11T03:43:11.702481
2020-03-26T12:47:50
2020-03-26T12:47:50
250,254,340
1
0
null
null
null
null
UTF-8
C++
false
false
472
cxx
main.cxx
#include <iostream> #include <vector> int main(){ const int seed = 1; std::vector<std::vector<unsigned long long>> triangle = {{0, 0, seed, 0, 0}}; std::cout << seed << '\n'; for(int n = 1;n < 11;n++){ triangle.push_back(std::vector<unsigned long long>(n * 2 + 5, 0)); for(int k = 0;k < n*2+1;k++){ triangle[...
be68794d4f14d91a9fc42ab6b988c0c90b672058
59f69f50fdcc7ce50650394643ea4fa408e63a14
/proj/a2_particle_physics/ParticleFluid.h
ecef33787105dc7a1cd874d4a6819bad5837bab7
[]
no_license
yanghaoxiang7/Yang-Haoxiang-Third-Research-Turn
b318ef0d394e99520e5017ddc1ba9ff73d4f283c
dbf6a964560738be0ba1198789e76b1eeb58e2e9
refs/heads/master
2022-12-27T05:36:25.829332
2020-10-17T01:01:51
2020-10-17T01:01:51
269,100,528
2
1
null
null
null
null
UTF-8
C++
false
false
8,384
h
ParticleFluid.h
//##################################################################### // Particle Fluid (SPH) // Dartmouth COSC 89.18/189.02: Computational Methods for Physical Systems, Assignment starter code // Contact: Bo Zhu (bo.zhu@dartmouth.edu) //##################################################################### #ifndef __...
19f73cc7504b11ea51fc5d968b06b989857ed2c1
7bc74c12d85d5298f437d043fdc48943ccfdeda7
/001_Project/102_interfaceTMP/adas/src-gen/provides/v0/com/harman/adas/PASService.hpp
58c4943a21c33afea43ebcc201b98bf20ee0006f
[]
no_license
BobDeng1974/cameraframework-github
364dd6e9c3d09a06384bb4772a24ed38b49cbc30
86efc7356d94f4957998e6e0ae718bd9ed4a4ba0
refs/heads/master
2020-08-29T16:14:02.898866
2017-12-15T14:55:25
2017-12-15T14:55:37
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,117
hpp
PASService.hpp
/* * This file was generated by the CommonAPI Generators. * Used org.genivi.commonapi.core 3.1.5.201702211714. * Used org.franca.core 0.9.1.201412191134. * * generated by DCIF CodeGen Version: R2_v2.3.0 * generated on: Tue Aug 01 13:37:50 CST 2017 */ #ifndef V0_COM_HARMAN_ADAS_PAS_SERVICE_HPP_ #define V0_COM_HARMAN_ADA...
690320b81e5311362732bd43862cad3f5f31a5c2
396fb5e5e39e4490347cfa6927e60c601d86b735
/src/smooth.cpp
6d5fa8fc41132656149a737910154a654345fe67
[]
no_license
Xiuying/ggstat
1d58cb6ed8019abbf78df395d1ef2e6dbad8abc9
662b5d14a9e7ec2772d0759073d4f5477f2ff781
refs/heads/master
2021-05-31T06:46:08.859611
2016-05-09T22:29:17
2016-05-09T22:29:17
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,492
cpp
smooth.cpp
#include <Rcpp.h> #include "smoothers.h" using namespace Rcpp; inline double tricube(double x) { if (NumericVector::is_na(x)) return 0; x = fabs(x); if (x > 1) return 0; double y = 1 - x * x * x; return y * y * y; } bool both_na(double x, double y) { return NumericVector::is_na(x) && NumericVector::is_na...
5e006a5cd25d08320a6a7e15444420ae1f689b24
a8477806ec9796279f7092b78e9da2bf8e0c087f
/versions/PlayDoorbell__6_neopixels/PlayDoorbell__6_neopixels.ino
74d7d154693b722a8c1823e5e3de12cdc9117c55
[ "MIT" ]
permissive
jkeefe/play-doorbell
a2c96fd27c595953bd5523d3c9d3fcec2d325f58
f3e2e43cc6a2ec27515490ed53b969203e8f48c5
refs/heads/master
2020-04-05T18:21:36.402836
2019-01-07T03:14:59
2019-01-07T03:14:59
157,098,552
1
1
null
null
null
null
UTF-8
C++
false
false
12,078
ino
PlayDoorbell__6_neopixels.ino
// v5 add button logic #define THIS_NODE 1 // <<<< change this for each node #define N_NODES 3 // total nodes // #include <EEPROM.h> // not available on the Feather M0 #include <RHRouter.h> #include <RHMesh.h> #include <RH_RF95.h> #include <ArduinoJson.h> // from https://arduinojson.org/v5/example/parser/ #include...
ec6ea04f1551e90e1476cc4b074cd3fa1a35c929
4d52c3db6e28506370d66fc42580292f31cc713b
/Problem - 051 to 100/Problem - 093.cpp
985ed32a36808d465610c0d50c0455a1b649ef52
[]
no_license
Futsy/Euler
165b1a4bf18fae559aeb4e42986939a56b31ab2f
592635d0f2a0429e41af9b1675f5942249c490f8
refs/heads/master
2020-12-24T15:05:26.751714
2018-10-31T14:27:22
2018-10-31T14:27:22
15,485,029
0
0
null
null
null
null
UTF-8
C++
false
false
2,282
cpp
Problem - 093.cpp
/** * Run time solution * 0.0382165 seconds */ #include <algorithm> #include <cmath> #include <iterator> #include <iostream> #include <set> double op(double number1, double number2, int operation) { if (operation == 0) { return number1 + number2; } else if (operation == 1) { return numb...
1b4b4b5c52f7d5b115d71716980d5f015c3c95e7
bc0e6b77ee649ef611ade21bc1b24fc321653e4d
/PFCalEE/include/SamplingSection.hh
935c1a8f39411daf42c17e1149b962d5c5ec3234
[]
no_license
pfs/PFCal
08dcfb7db908a688c1a0f390965752537022df5f
2922434ce888d40acdc832d13313c1e6a8835278
refs/heads/master
2023-03-13T17:39:57.706091
2023-03-01T12:47:14
2023-03-01T12:47:14
11,907,151
0
17
null
2021-03-15T16:42:25
2013-08-05T19:44:57
C++
UTF-8
C++
false
false
6,738
hh
SamplingSection.hh
#ifndef _samplingsection_hh_ #define _samplingsection_hh_ #include "G4VUserDetectorConstruction.hh" #include "globals.hh" #include "G4ThreeVector.hh" #include "G4Colour.hh" #include <iomanip> #include <vector> #include "G4SiHit.hh" class SamplingSection { public: //CTOR SamplingSection(const std::vector<G4doubl...
92b4399603423ae4651c56cec4e079033e53dc10
38620afd3304cdfe479832499a591690edd57cb1
/Data Structure and Algorithms Implementations/Data Structures/inorder.cpp
c931183f95e5149866021af54f7eed742d7e9eae
[]
no_license
ankan-ekansh/Competitive-Programming
6ca0e83af3507a7fa6fc2fc674d634750e73c1e0
b2a74f435acacd3b90d5271497bbe6392aa2689d
refs/heads/master
2021-06-12T18:44:30.295323
2021-05-14T16:43:24
2021-05-14T16:43:24
195,109,964
1
0
null
null
null
null
UTF-8
C++
false
false
1,115
cpp
inorder.cpp
#include<iostream> #include<stack> using namespace std; struct Node{ int data; Node *left, *right; Node(int data){ this->data = data; this->left = this->right = NULL; } }; void inorder(Node *node){ if(!node){ return; } inorder(node->left); cout << node->data << " ...
36275d4e5d48dbc6d5859b82c41029f2ec88eca3
3eeb870066b97115852a36d8eb1a65944b03c415
/src/main.cpp
1bf7f9ca5a4dbd453fc08700f9e967c9a162163a
[]
no_license
xVKSx/otus_008_print_ip
d3fb29647c51da02a1ce629f36693b13dcd907e2
c4533be7c9a223a63cfaa63b4db687928b4b2f50
refs/heads/master
2020-05-24T05:19:45.605358
2019-05-17T08:25:04
2019-05-17T08:25:04
187,112,759
0
0
null
null
null
null
UTF-8
C++
false
false
828
cpp
main.cpp
#include <iostream> #include <string> #include <vector> #include <list> #include <tuple> #include "ip/print.h" int main() { std::cout << Ip_NS::print_ip(char(-1)) << std::endl; std::cout << Ip_NS::print_ip(short(0)) << std::endl; std::cout << Ip_NS::print_ip(int(2130706433)) << std::endl; std::cou...
538d8ff5ee26c9d714c82618755bf2f23ddeb60e
d448f745fc00af7fc980bfdfd5ffd0d6f87c2dfe
/Q1_Assignment_02(modified).cpp
5d689abd4e795068334cb805ea587f40b7221603
[]
no_license
muhammadzunique09/muhammadzunique09
af1d9356dba3492379ec70964675326a6903e7e6
fa81175d600cf12ab655a07f4b425a5b9827563b
refs/heads/main
2023-06-18T18:00:06.322405
2021-07-12T20:26:42
2021-07-12T20:26:42
374,230,337
0
0
null
null
null
null
WINDOWS-1252
C++
false
false
11,246
cpp
Q1_Assignment_02(modified).cpp
/* PROBLEM QUESTION: Package-delivery services, such as FedEx®, DHL® and UPS®, offer a number of different shipping options, each with specific costs associated. Create an inheritance hierarchy to represent various types of packages. Use Package as the base class of the hierarchy, then include classes TwoDayPac...
3db262ce30e9bf7c11ac9fe209d3ade5cb265b08
ba528bbca9dbfb68308cfea17f174a826e39aaa6
/SDCND-Project6-Extended-Kalman-Filter/src/tools.h
49d3197965e21a0ed38c7cc9180a98886a1d066f
[]
no_license
blester125/SDCND-Projects
dacd1fd1624cb8015c8c244a421796d0eb53672a
87890efaed34de4ec353574d2e3ed0a463d29ede
refs/heads/master
2020-03-07T16:12:52.577252
2018-03-31T22:25:49
2018-03-31T22:25:49
127,576,115
0
0
null
null
null
null
UTF-8
C++
false
false
854
h
tools.h
#ifndef TOOLS_H_ #define TOOLS_H_ #include <vector> #include "Eigen/Dense" #include "measurement_package.h" using Eigen::MatrixXd; using Eigen::VectorXd; using namespace std; /** * A helper method to calculate RMSE. */ VectorXd CalculateRMSE(const vector<VectorXd> &estimations, const vector<VectorXd> &ground_truth)...
1c043a8e20bca724fdb342e2af7e9bca0dc8a823
e6e6c81568e0f41831a85490895a7cf5c929d50e
/yukicoder/1/1.cpp
7ba9d626f94c3842eaad0959f495da239d6f6275
[]
no_license
mint6421/kyopro
69295cd06ff907cd6cc43887ce964809aa2534d9
f4ef43669352d84bd32e605a40f75faee5358f96
refs/heads/master
2021-07-02T04:57:13.566704
2020-10-23T06:51:20
2020-10-23T06:51:20
182,088,856
0
0
null
null
null
null
UTF-8
C++
false
false
2,278
cpp
1.cpp
#include<bits/stdc++.h> using namespace std; #define inf 1000000000 #define INF 1000000000000000 #define ll long long #define ull unsigned long long #define M (int)(1e9+7) #define P pair<int,int> #define PLL pair<ll,ll> #define FOR(i,m,n) for(int i=(int)m;i<(int)n;i++) #define RFOR(i,m,n) for(int i=(int)m;i>=(int)n;i-...
762b73e2b6bb47274e6eb3373fec4622d54979b7
a677872af2c7257439587f620c0082c136350114
/include/Arbol.h
97bc6855f8857d7d8057b818a5a5f23b846d5dcd
[]
no_license
hr9457/-EDD-Tarea3_201314296
5ac3d13bdfb3bc6c3a88dbbfdfb8e5a629eb6571
d5ec4c56ffcfa2e614c275fc539d170af1723b79
refs/heads/master
2020-07-11T17:05:27.462406
2019-08-30T04:09:02
2019-08-30T04:09:02
204,600,386
0
0
null
null
null
null
UTF-8
C++
false
false
561
h
Arbol.h
#ifndef ARBOL_H #define ARBOL_H #include "NodoArbol.h" #include <iostream> #include <stdlib.h> #include <fstream> using namespace std; class Arbol { private: public: NodoArbol *raiz; ofstream archivo; int contadorNodos=0; Arbol();//constructor void insertar(string); ...
d38dc473573694138b4b061c3680055fc658bcaf
a147d891b2eb10380122b47faa0b11411c3125f6
/Socket-Programming/server.cpp
ac10dac1c8267441ff36fdc4034c5e23da689329
[]
no_license
aribalam/Object-Oriented-System-Design-Assignments
bf0c37314d4f05dd2216462abee897a56cf0a338
f2f3e0a0c7b6082ebcf6ea13baced966963449e6
refs/heads/master
2020-06-27T06:28:21.031572
2019-08-25T14:23:40
2019-08-25T14:23:40
199,869,630
0
0
null
null
null
null
UTF-8
C++
false
false
1,453
cpp
server.cpp
#include<iostream> #include <string.h> #include <unistd.h> #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> using namespace std; #define PORT 8080 #define MAX_QUEUE 5 void sort(int num[], int n) { int t; for (int i = 0; i < n; i++) { for (int j = 0; j < n-1-i; j++) { if (num[j] > num[...
4d61b4786c474615ca47d2c9370909e79ef25ebe
35376451f198aeaae05bc4b49aaa8535271487cf
/Minemonics/src/controller/universe/environments/Plane.cpp
ad42732260e9746ebec6f8706294b1b4443b95e4
[]
no_license
benelot/minemonics
11d267619dc2a325841b6bec37a0cd4820ed8ed4
e6e306dc704772a495afa3824f5f391703251e8c
refs/heads/master
2022-06-21T15:31:06.041996
2022-06-10T21:39:09
2022-06-10T21:39:09
26,160,744
32
4
null
null
null
null
UTF-8
C++
false
false
993
cpp
Plane.cpp
//# corresponding headers #include <controller/universe/environments/Plane.hpp> //# forward declarations //# system headers //## controller headers //## model headers //## view headers //# custom headers //## base headers //## configuration headers //## controller headers //## model headers //## view headers //## util...
839a02e8c182f37b71ce456fc076e3221c39b3b1
a186bf948ac29f3696238e3677f0cf0138fb6860
/Atividades/Jader_Oliveira/Lista2/EX9_Jader_Oliveira.cpp
fc0cf05b2c9691594b673ad94a47810e3a4934f6
[]
no_license
professorlineu/PROA3-2019-2
b8c3c944884e847370940a9a48fe580bfea9a4d3
84f1cf48598cc925d56e2ed0164c561ae7f5249e
refs/heads/master
2020-06-25T16:38:52.992529
2019-11-25T22:33:16
2019-11-25T22:33:16
199,367,654
0
0
null
null
null
null
ISO-8859-1
C++
false
false
810
cpp
EX9_Jader_Oliveira.cpp
/********************************************************** - Autor: Jader Oliveira - Descrição: Lista 2 EX9 **********************************************************/ #include <iostream> #include <locale.h> #include <cstdlib> using namespace std; int main() { float fBaseMa = 0; float fBas...
5ac5ccaea64064be2ef2b122f5e4377f7e9aa2c2
5062a66be5eb35e7346e5ad58c5a6730a5fb6619
/Source/UI/EffectConnectable.h
8b1693b025a5ee4be0e8750f5adc0a60717c5f83
[]
no_license
Franchovy/QDIO
2d0733563cc669a56cb920fe1f18503d4dbc54c9
bef0fe4ae7244619c999baa918310ca5d35bcb5c
refs/heads/master
2023-05-31T10:11:56.848370
2020-10-20T11:54:12
2020-10-20T11:54:12
244,294,600
14
1
null
null
null
null
UTF-8
C++
false
false
943
h
EffectConnectable.h
/* ============================================================================== EffectConnectable.h Created: 15 Oct 2020 11:17:47am Author: maxime ============================================================================== */ #pragma once #include <JuceHeader.h> #include "Connection...
35ce2972686a2454643cd8668456cf13da76ded4
d51838e7568a7ed1d134ec361d1cd942dd03ab96
/Calculations/Task_1/Project2/Main.cpp
879dc45d61f58131c0fe74eff48d5ef3706ae7dd
[]
no_license
Serbernari/study_projects
9173a093ac7f05151a3cecd570187e614472f1f3
6b901d125db37e3a7ee34bfcd90ebb842a43cb55
refs/heads/master
2021-12-14T04:26:59.464547
2021-11-25T22:34:07
2021-11-25T22:34:07
150,863,061
0
0
null
null
null
null
UTF-8
C++
false
false
643
cpp
Main.cpp
#include <iostream> #include <fstream> #include <vector> #include "MyMatrix.h" #include "MatrixMath.h" #include <string> using namespace std; int main() { std::string *f_diag = new string, *f_lower = new string, *f_upper = new string; *f_diag = "D:/GitHub/study_projects/Calculations/Task1_files/f_diag.txt"; *f_low...
bb1d2ed4e42f477f0f49f87f293b626ebc3bec5f
8abb30b3946f44a0fa5e548da30bb7d53eeeeffb
/Source/VMKFingersSolverEditor/Private/VMKFingersSolverEditor.cpp
1050c363c7590a2abb471997a9d75b3e191b9cef
[]
no_license
maddigit/ViveMocapKit
8589373df2b1671b5f68797dbf2d019ed95473fd
965a3af13d6d585d87fdd6d5d22bb63dda2afbf5
refs/heads/main
2023-03-18T11:10:38.618471
2020-10-12T07:48:28
2020-10-12T07:48:28
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,587
cpp
VMKFingersSolverEditor.cpp
// VR IK Body Component // (c) Yuri N Kalinin, 2017, ykasczc@gmail.com. All right reserved. #include "VMKFingersSolverEditor.h" #include "Framework/Application/SlateApplication.h" #include "Modules/ModuleManager.h" #include "ContentBrowserModule.h" #include "Animation/AnimSequence.h" #include "Framework/Commands/UICom...
e1c58584f8c920aaf47879d87ca535ce28ca8f27
af920815edbcc7bb4dbd347e714cd703980437ec
/main/device/drv_fusb302.cpp
1078dc251203cebb80157b102ad26f0f6c93321a
[ "MIT" ]
permissive
huming2207/fusb302-esp
0105c7272f0bb5070c7ef2254a718871f7086c18
34a7753b1b4f5b71e97d2b2111a3b707a1a22656
refs/heads/master
2020-12-12T22:13:42.765121
2020-04-07T01:23:57
2020-04-07T01:23:57
234,243,428
4
1
null
null
null
null
UTF-8
C++
false
false
18,917
cpp
drv_fusb302.cpp
#include <hal/i2c_types.h> #include <hal/gpio_types.h> #include <driver/i2c.h> #include <esp_log.h> #include "drv_fusb302.hpp" #include "tcpc_drv.hpp" #define I2C_WRITE_BIT 0U #define I2C_READ_BIT 1U #define FUSB302_ADDR 0x22U #define FUSB302_INTR_GENERAL_BIT (1U << 0U) #define FUSB302_INTR_TX_DONE_BIT (1U << 1U) #...
5ebc952e15fc788e96e90aacc5c9d81a398650a0
6b2c8d135641dd4bddca24badcbbd1aa53f45f46
/owe.h
b91f677ba81801a08ed04a8dca0bd076a7c87880
[]
no_license
hojei1452/Opportunistic-Wireless-Encryption-OWE-
2eee696385fa9ea568fd88e0a0ac16200c7608fb
9b28164ca78cccf58cbe15d7cd8375bc72b330ac
refs/heads/main
2023-08-24T23:07:02.170550
2021-10-09T12:30:41
2021-10-09T12:30:41
415,302,107
0
0
null
null
null
null
UTF-8
C++
false
false
2,192
h
owe.h
#ifndef _OWE_H_ #define _OWE_H_ #include "debug_owe.h" #include "key_owe.h" #include "utils.h" #include "packet.h" #include <unistd.h> #include <thread> #include <ctime> #include <map> #include <utility> #define IS_TEST class OWE { private: #define MAX_INTERVAL_COUNT 3 typedef struct PACKED _ADDR { ...