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
b5024207ca42ce2264090cc2a26ee3edf55b0e02
0c6ad83017727a71da52800e5d648eaaa646f43b
/Src/Tools/ModelCompiler_Quake3Level/ueModelCompiler_Quake3Level.cpp
4e5f4d4097fe4c1d013852b3b3c53d20bc8584bc
[]
no_license
macieks/uberengine
4a7f707d7dad226bed172ecf9173ab72e7c37c71
090a5e4cf160da579f2ea46b839ece8e1928c724
refs/heads/master
2021-06-06T05:14:16.729673
2018-06-20T21:21:43
2018-06-20T21:21:43
18,791,692
3
0
null
null
null
null
UTF-8
C++
false
false
7,517
cpp
ueModelCompiler_Quake3Level.cpp
#include "ModelCompiler_Common/ueToolModel.h" #include "IO/ioFile.h" #include "ueQuake3Level.h" static ueToolModel* s_dstModel = NULL; static ueToolModel::LOD* s_dstLOD = NULL; static ueMat44 s_quake3Transform; void FromQuake3Vertex(ueToolModel::Vertex& dst, const bsp_vertex_t& src, bool hasLightmap) { dst.m_flags ...
26a68fd31ed854cda668560ba6a555d1e6474805
7190717d597ae25d6352d62194389f84b518759e
/include/Parsing/Language/OakOperatorExpressionConstructor.h
ec5139626023c5827dd6970b499ea7ae3110131b
[ "MIT" ]
permissive
OutOfTheVoid/OakC
59ce0447b7e1ac11c4674ff1d85d7b1d1b70109a
773934cc52bd4433f95c8c2de1ee231b8de4d0ad
refs/heads/master
2020-12-30T23:59:48.374911
2017-07-24T06:50:48
2017-07-24T06:50:48
80,559,306
2
0
null
null
null
null
UTF-8
C++
false
false
606
h
OakOperatorExpressionConstructor.h
#ifndef LANGUAGE_PARSING_OAKOPERATOREXPRESSIONCONSTRUCTOR_H #define LANGUAGE_PARSING_OAKOPERATOREXPRESSIONCONSTRUCTOR_H #include <Parsing/IASTConstructor.h> #include <Parsing/ASTConstructionGroup.h> class OakOperatorExpressionConstructor : public IASTConstructor { public: OakOperatorExpressionConstructor (); ~Oak...
ac5c21646f67984cbef787cceeda392ced43f6ee
95fe3000c8d599e18362968570abbb954b0ef9ba
/Source/SwordMaze/Player/HeroCharacter.h
b36c323e7b2e0ce6d304b14af57a81e935630128
[]
no_license
Impulse21/SwordMase
a6cda6fb0648fdb8f592ccedd5518cee9223d326
b2fdd6d9df66193bc6b161cabda27e495322459d
refs/heads/master
2021-05-08T12:05:03.966801
2018-03-17T18:15:10
2018-03-17T18:15:10
119,915,827
0
0
null
null
null
null
UTF-8
C++
false
false
5,359
h
HeroCharacter.h
// Fill out your copyright notice in the Description page of Project Settings. #pragma once #include "CoreMinimal.h" #include "Player/BaseCharacter.h" #include "HeroCharacter.generated.h" USTRUCT(Blueprintable) struct FRPGPlayerInput { GENERATED_BODY() UPROPERTY(EditAnywhere, BlueprintReadWrite) bool HoldingDef...
8075ec6e74d52f2e4348795ee8ecf8265c266bdc
f9c231a866ef7138c033f301becbf24c8bdca633
/Test6/LamLai/21.cpp
2a0d27684163a3689d1bd7e2e3d5fb52d368962a
[]
no_license
cuongnh28/DSAFall2019
3eef8f5e0e1cbe008bd304c847dd9abaa4ad144f
2729d834b3c4a3560bf63aa6d1dcfc7457385246
refs/heads/main
2023-02-02T14:41:39.353309
2020-12-23T16:20:02
2020-12-23T16:20:02
null
0
0
null
null
null
null
UTF-8
C++
false
false
600
cpp
21.cpp
#include<bits/stdc++.h> using namespace std; struct dta{ int val,cnt; }; bool cmp(dta a, dta b){ if(a.cnt>b.cnt) return true; if(a.cnt==b.cnt && a.val<b.val) return true; return false; } void Solve(){ int d[10005],n; dta a[10005]; memset(d,0,sizeof(d)); cin>>n; for(int i=0;i<n;i++){ ...
8bc7d57c2fdc692f0bcd526e03f7e17e8bc7df5e
73bd731e6e755378264edc7a7b5d16132d023b6a
/UVA/UVA - 13272.cpp
8c26a0144817e9f410bf1c7cb2ef7a6bdf680c7e
[]
no_license
IHR57/Competitive-Programming
375e8112f7959ebeb2a1ed6a0613beec32ce84a5
5bc80359da3c0e5ada614a901abecbb6c8ce21a4
refs/heads/master
2023-01-24T01:33:02.672131
2023-01-22T14:34:31
2023-01-22T14:34:31
163,381,483
0
3
null
null
null
null
UTF-8
C++
false
false
2,132
cpp
UVA - 13272.cpp
/* Template for vjudge.net Author: Iqbal Hossain Rasel CodeForces: The_Silent_Man AtCoder : IHR57 TopCoder : IHR57 */ #include <bits/stdc++.h> #define pb push_back #define mp make_pair #define ff first #define ss second #define PI acos(-1) #define pi 3.1415926535897932384 #define INF 2147483647 #define EPS 1e-...
de0865546a23747d0dfc74e2c937ffffb6de8e29
8e5a99d4c3cb79aad54ae5a19f592966b2e4dc31
/Snake/Snake/snake_map.cpp
f3540702b889426181d71aee8e8624c4d95733fe
[]
no_license
Yud-Bet/Snake
c267573beaae72144033c8c6baba97b42bbf9d3e
6ca38d9e524475f5e5262632cd327604851c4cba
refs/heads/master
2022-12-16T08:47:03.957652
2020-07-16T13:45:16
2020-07-16T13:45:16
279,733,713
0
0
null
2020-07-16T10:28:53
2020-07-15T01:41:47
C++
UTF-8
C++
false
false
2,033
cpp
snake_map.cpp
#include "snake_map.h" #include <iostream> #include "my_console.h" #include <time.h> snake_map::snake_map(int width, int height) { w = width; h = height; s_map = new char* [h]; for (int i = 0; i < h; i++) { s_map[i] = new char[w]; } for (int i = 0; i < h; i++) { ...
92c3b61037aa84d3ce909bb6069dbd3582baca01
012e897bcab3134e1874e06e9a56c2bdbc4d9a32
/manager/main.cpp
24401872671aafb498c709f6af54fd4ea8c2c395
[]
no_license
007exe/mpkg
45f28774af24bb5917600bee6cdb38b70e5c0e06
82e6ed05d78fa2b19672f09a5c777cb9db5a75d9
refs/heads/master
2022-11-10T13:23:35.651274
2022-10-31T17:41:27
2022-10-31T17:41:27
231,104,359
2
0
null
2019-12-31T14:40:17
2019-12-31T14:40:16
null
UTF-8
C++
false
false
3,199
cpp
main.cpp
// This is an open source non-commercial project. Dear PVS-Studio, please check it. // PVS-Studio Static Code Analyzer for C, C++, C#, and Java: http://www.viva64.com /**************************************************************** * MOPSLinux packaging system * Package manager - main file * $Id: main.c...
f40c27d6f14cc03fe61ab045b13ad8150176aef1
115615009471b90924bcdc8229c27b75e2530aee
/DebugDiag.Native.DbgExt/Memory.h
59a8d59a6ac4c775947c2adc5973dc77ce4aef34
[ "MIT" ]
permissive
alxbl/DebugDiag.Native
9018b28427f8f63e7d5a2268d52d22bb7a5a95db
6a629caa892d2c6ef8e7ccfacb77ea95b887715a
refs/heads/master
2016-09-06T19:33:14.996389
2015-06-08T03:02:50
2015-06-08T03:02:50
24,581,557
1
1
null
null
null
null
UTF-8
C++
false
false
857
h
Memory.h
#pragma once #include "stdafx.h" /// Memory helpers on top of DbgEng. class Memory { public: static const size_t PtrSize; static ULONG_PTR ReadPointer(ULONG_PTR address); static ULONG_PTR ReadQWord(ULONG_PTR address); static ULONG_PTR ReadDWord(ULONG_PTR address); static ULONG_PTR ReadWo...
e1ed0f37b15c2f183dec9d282898001110129115
14a9191fa9a0ee0dd7080ede93dc2d9df210a9aa
/src/errorReceiver.cpp
7a45d8ada63657dee46efe445aad6b0d89b1711f
[ "MIT" ]
permissive
tositeru/watagashi-buildsystem
8ef306b5c4584cd88dfdb93835d51fad489132c0
d4fcfbb4a7f44fcbf68652e7d99a4b13c6e035d4
refs/heads/master
2020-03-18T16:20:58.936747
2018-07-26T04:27:40
2018-07-26T04:27:40
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,325
cpp
errorReceiver.cpp
#include "errorReceiver.h" #include <iostream> using namespace std; namespace watagashi { ErrorReceiver::ErrorReceiver(){} ErrorReceiver::~ErrorReceiver(){} void ErrorReceiver::clear() { this->mMessages.clear(); } void ErrorReceiver::receive( MessageType type, size_t line, const std::string& mess...
fdcd787dca59c5ef7f605c797ae7ab2c5784dc1a
a6ae3b2ec8dae0dd1aac9b4cab0bd774960f27e4
/ExampleGame/Header Files/GameClasses/GameNetworking.h
a8db5ba9a2c9702ecd0bf6673a02aaaf05e693c6
[]
no_license
AnthonyBeacock/KodeboldsEngineMK2
6490aa4554c1e9f424897c5166c8e36dbf93e724
79090d5a47f7700dfe47b34b1c5c4022fd77e078
refs/heads/master
2020-05-23T02:31:18.974031
2019-06-02T10:13:34
2019-06-02T10:13:34
169,144,544
1
0
null
2019-03-28T17:11:01
2019-02-04T20:28:44
C++
UTF-8
C++
false
false
320
h
GameNetworking.h
#pragma once #include "NetworkManager.h" #include "ECSManager.h" class GameNetworking { private: std::shared_ptr<ECSManager> mEcsManager = ECSManager::Instance(); std::shared_ptr<NetworkManager> mNetworkManager = NetworkManager::Instance(); public: GameNetworking(); ~GameNetworking(); void ProcessMessages(); };
09c24b9ac4ff788b88613e952839bcd99c7ca6b1
f0755c0ca52a0a278d75b76ee5d9b547d9668c0e
/atcoder.jp/abc150/abc150_d/Main.cpp
ad80443153f7ff345b926f34258a59d6b2001846
[]
no_license
nasama/procon
7b70c9a67732d7d92775c40535fd54c0a5e91e25
cd012065162650b8a5250a30a7acb1c853955b90
refs/heads/master
2022-07-28T12:37:21.113636
2020-05-19T14:11:30
2020-05-19T14:11:30
263,695,345
0
0
null
null
null
null
UTF-8
C++
false
false
799
cpp
Main.cpp
#include <bits/stdc++.h> #define rep(i,n) for (int i = 0; i < (n); ++i) #define rep2(i,n) for (int i = 1; i < (n); ++i) using namespace std; typedef long long ll; ll gcd(ll a, ll b) { int v0 = a, v1 = b, v2 = a % b; while (v2 != 0) { v0 = v1; v1 = v2; v2 = v0 % v1; }; return v1; ...
d40cddc143c79621537b7edc21552e2b8feb43d6
e410f3831a7132e4c8a12c0b02bee93a840e5bef
/loopFor.cpp
6a6bf27aa1000fb886ca6aa425a6b99bddfe6dc6
[]
no_license
Brian-wKicheu/Summarry-of-cpp-basics
87e245a0887b4578692fbfa1346a6b2f7b7116de
f7b77610a91bfca74e253e65bcc17236626468e3
refs/heads/main
2023-04-23T06:37:02.866001
2021-05-04T08:54:37
2021-05-04T08:54:37
364,195,155
0
0
null
null
null
null
UTF-8
C++
false
false
279
cpp
loopFor.cpp
#include <iostream> using namespace std; int main() { /* When you know exactly how many times you want to loop through a block of code, use the for loop instead of a while loop. */ for (int i = 0; i < 5; i++) { cout << i << "\n"; } return 0; }
c9d9f5c46c3e07ca1df73c6917d9110c2fa99e1a
714ba40913184bc5a65a527bf30667c83e26ae30
/CppCli-WPF-App/Display/Display.h
79c40fb197eda95ec9db72c85fd42300c9bfd6a0
[]
no_license
Isira/Remote-Code-Management-Facility
8366782b77c38cb49b0e821802a9c87948cac9dc
7fa15889c667f1902dd6108d68f57a82ff878e86
refs/heads/master
2016-09-06T09:19:12.823711
2015-06-25T19:31:52
2015-06-25T19:31:52
38,068,687
0
0
null
null
null
null
WINDOWS-1252
C++
false
false
2,481
h
Display.h
#ifndef DISPLAY_H #define DISPLAY_H ////////////////////////////////////////////////////////////////////////////// // ServiceMessage.h - Display results on the standard output // // ver 1.0 // // -------------------------------------------------------------------------// // copyright © Isira Samaraseke...
a3e3c11df3f694826fdfa0951dfb7daa62524327
3c088469730cadd36de8592708f75d7b6f4dad75
/atmosstakev2.cpp
2ae89b9eac00b1d8bbe2637ca99d6bcd516ad9a9
[]
no_license
Novusphere/atmosstakev2
f4d35d2751e69b3de10c1dff19a371c3ebbe8a26
db00574c0d4a01330ebf94eba69e24b3b4c88d1c
refs/heads/master
2023-08-19T18:29:38.718192
2021-09-09T23:56:42
2021-09-09T23:56:42
317,768,852
0
0
null
null
null
null
UTF-8
C++
false
false
14,783
cpp
atmosstakev2.cpp
// // Created by xia256 on behalf of the Novusphere Foundation // #include "atmosstakev2.hpp" // // Checks sanity of all data associated with the contract // ACTION atmosstakev2::sanity() { // check public key sanity eosio::public_key pk = eosio::public_key_from_string("EOS82g6zVgPDNb1XDQBc6knEBusvPonq7KBhgCq3qkYWY...
17488ec68afcd311495e7c349e470070a8446fe8
a17d860d97ba51c384a591eb8e4d9c009822613b
/Project1/1312727/ScreenNote/ScreenNote/ScreenNote.cpp
2d8d6b61afbaace17b7ba6fd9c4647cd59c8c08d
[]
no_license
yadzhang/Winprogramming
54f0804b7fbfb8d2e6a369c6ca141caf869994fe
ef535f8e70b93af42207b5edef712805adcb583d
refs/heads/master
2021-01-22T16:56:44.302635
2016-02-01T13:28:26
2016-02-01T13:28:26
null
0
0
null
null
null
null
UTF-8
C++
false
false
7,044
cpp
ScreenNote.cpp
// ScreenNote.cpp : Defines the entry point for the application. // #include "stdafx.h" #include "ScreenNote.h" #define MAX_LOADSTRING 100 // Global Variables: // current instance TCHAR szTitle[MAX_LOADSTRING]; // The title bar text TCHAR szWindowClass[MAX_LOADSTRING]; // the main window class name /...
4cc629ee8adc41e7f54c4fba4485bee349628da7
b81424733ba7aa22971017a2b723cebdb79e2ff9
/B13547/B13547.cpp
0366ff1f0919d0e84694a6993814e275756f1ecb
[]
no_license
tongnamuu/Algorithm-PS
1d8ee70c60da9bafdae7c820872e685fdf2b28fa
464b68c34bb07f9e1e00e4b5475c6f0240cd20d4
refs/heads/master
2022-06-04T01:57:29.432141
2022-04-08T11:52:01
2022-04-08T11:52:01
164,219,701
0
1
null
2019-03-28T03:43:13
2019-01-05T13:58:05
C++
UTF-8
C++
false
false
1,796
cpp
B13547.cpp
#include <iostream> #include <algorithm> #include <vector> using namespace std; #define N 1000001 struct Node { int val = 0; Node *l, *r; }; Node nodePool[5 * N]; int nodeCnt; Node* newNode() { return &nodePool[nodeCnt++]; } void init(Node* cur, int s, int e) { if (s == e) return; cur->l = newNode(); cur->r = new...
be31fc642bd54d8ad0c01182efb34c673ca3a2b4
387549ab27d89668e656771a19c09637612d57ed
/DRGLib UE project/Source/FSD/Private/EnemyPawn.cpp
3b8d8f8d37c2ddea84526d41de56a1b7c2a18bba
[ "MIT" ]
permissive
SamsDRGMods/DRGLib
3b7285488ef98b7b22ab4e00fec64a4c3fb6a30a
76f17bc76dd376f0d0aa09400ac8cb4daad34ade
refs/heads/main
2023-07-03T10:37:47.196444
2023-04-07T23:18:54
2023-04-07T23:18:54
383,509,787
16
5
MIT
2023-04-07T23:18:55
2021-07-06T15:08:14
C++
UTF-8
C++
false
false
807
cpp
EnemyPawn.cpp
#include "EnemyPawn.h" #include "EnemyComponent.h" #include "EnemyHealthComponent.h" #include "EnemyPawnAfflictionComponent.h" #include "Net/UnrealNetwork.h" #include "PawnStatsComponent.h" void AEnemyPawn::OnRep_QueuedMontage() { } void AEnemyPawn::GetLifetimeReplicatedProps(TArray<FLifetimeProperty>& OutLifetimeP...
701619d9636d2c3753ad40cdb52a1591311658c2
11d335b447ea5389f93165dd21e7514737259ced
/transport/Transcendence/TransData/main.cpp
e05f56864cf5a345b88b64523625a4fd346dddb0
[]
no_license
bennbollay/Transport
bcac9dbd1449561f2a7126b354efc29ba3857d20
5585baa68fc1f56310bcd79a09bbfdccfaa61ed7
refs/heads/master
2021-05-27T03:30:57.746841
2012-04-12T04:31:22
2012-04-12T04:31:22
null
0
0
null
null
null
null
UTF-8
C++
false
false
5,871
cpp
main.cpp
// TransData // // TransData is used to report information out of a Transcendence // datafile #include <stdio.h> #include <windows.h> #include <ddraw.h> #include "Alchemy.h" #include "XMLUtil.h" #include "TransData.h" #define NOARGS CONSTLIT("noArgs") #define QUESTION_MARK_SWITCH CONSTLIT("?"...
8bb4175350d9995cc382ce35f14b74a21202543a
c088f377ca789474f2f66caab3bbdfd592bba5a5
/pipelinelib/incl/ConstNode.hpp
e2fdd170e626338dd047b403fc2670da36f0ea90
[]
no_license
mfep/pipeline
c4312d6167dae7ee31ebc9b616d098f83b7cee84
c4544eeb7639a828fe4b9e878a7b0dd4e7527717
refs/heads/master
2020-03-26T19:54:17.852175
2018-08-19T10:19:46
2018-08-19T10:19:46
145,292,463
0
0
null
null
null
null
UTF-8
C++
false
false
564
hpp
ConstNode.hpp
#pragma once #include "NodeStructure.hpp" namespace mfep { namespace Pipeline { template<typename T> class ConstNode : public Node<tuple<>, tuple<T>> { public: ConstNode() : m_data() { } explicit ConstNode(T&& data) : m_data(data) { } tuple<unique_ptr<T>> process(const tuple<>& inData) co...
c4151925b5375ceb14abbd29ef0dc5da2712cb6e
1ed1ed934e4175bb20024311a007d60ae784b046
/COMMAND/COMMAND.cpp
4f49c94c28ef7954bab30ea0cf1de5e651d65835
[]
no_license
kkkcoder/Code_in_thptchuyen.ntucoder.net
f568cddc01b641c9a6a3c033a4b48ca59bb6435e
c4c0e19ea56a6560014cbb6e4d7489fb16e8aad7
refs/heads/master
2023-07-16T16:15:39.421817
2021-08-29T15:56:35
2021-08-29T15:56:35
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,502
cpp
COMMAND.cpp
// Cho mảng a chứa n số nguyên. // Ban đầu tất cả các phần tử trong mảng đều bằng 0. // Ta viết m câu lệnh vào 1 mảnh giấy. Các câu lệnh được đánh số từ 1 đến m. // Những lệnh này có thể là một trong hai loại sau: //  l r (1 ≤ l ≤ r ≤ n) - tăng tất cả các phần tử của mảng có chỉ số thuộc đoạn [l, r] // lên 1 đơn vị //...
c19aee44393afe27de9aa34103d1f83a85763316
91d2db4211ad47f0a40e62f2a47194893ab79a3b
/5/ISpringWord/Storage.h
de43cd85233ecc6fbf4f222e6dd4cad6b29b4f9d
[]
no_license
iglar14/ood
1170b90eb5ddb62503d2b2917564aa534d10e0f1
5724e2b73993def5d62c3117da6739873e892e08
refs/heads/master
2021-01-25T14:32:32.597519
2019-01-19T21:44:24
2019-01-19T21:44:24
123,703,146
0
0
null
null
null
null
UTF-8
C++
false
false
342
h
Storage.h
#pragma once #include "IStorage.h" class CStorage : public IStorage { public: CStorage(); ~CStorage() override; std::unique_ptr<IWorkCopy> AddFile(const std::filesystem::path& path) override; private: std::filesystem::path GetNextFileName(const std::filesystem::path& ext); std::filesystem::path m_tempDir; siz...
550746f0bddad499812820a5b4e12d348a46ba25
696678289f66ea0f4aed0d03d809ebe86e686411
/ComputerGraphicsProject/model/car.cpp
cf79a1ce7642f704e2f14f915262c2191d8cd725
[]
no_license
adinowi/ComputerGraphicsProject
6c0fad0417a7d1b24d9588e54b8d4be4f2cd0e46
c3643a1267cc117bfd6a57e6065483ea889f93e4
refs/heads/master
2020-12-05T11:08:09.970045
2020-01-07T22:09:17
2020-01-07T22:09:17
232,090,846
0
0
null
null
null
null
UTF-8
C++
false
false
571
cpp
car.cpp
#include <stdlib.h> #include <stdio.h> // Include GLEW #include <GL\glew.h> #include <GL\GLU.h> // Include GLFW #include <GLFW\glfw3.h> // Include GLM #include <glm\glm.hpp> #include <glm\gtc\matrix_transform.hpp> #include <glm\gtc\constants.hpp> #include "..\renderer\model.h" #include "car.hpp" using namespace mod...
18e66c18c3474b23acea5bc50c2a6cf080922236
61c1f2ee1fe9985c02863d7d99798ba94385da47
/src/RLDOCK_CASE.cpp
89b7df6d363d7f8e8654de163d07ababa5db7842
[]
no_license
EtienneReboul/RLDOCK
335687b6c365f1e5b5713e6f94c2d058a74d444e
fb55141bd5c99f0bdd4e70259ac3df6904a0f823
refs/heads/master
2023-06-06T22:52:05.285045
2021-07-08T19:49:55
2021-07-08T19:49:55
null
0
0
null
null
null
null
UTF-8
C++
false
false
15,319
cpp
RLDOCK_CASE.cpp
#include "RLDOCK_CASE.h" void CASE::Move_to_Center_Easy() { this->center = this->noH; xcen=0,ycen=0,zcen=0; for(auto&a:this->noH){xcen+=a.x;ycen+=a.y;zcen+=a.z;} xcen/=1.0*this->noH.size(); ycen/=1.0*this->noH.size(); zcen/=1.0*this->noH.size(); for(auto&a:this->center){a.x-=xcen;a.y-=ycen...
c3b91fa07b262733e8edc051636e9a6adc42d6cb
cb114e954a0c8d5e29285a9f89d45b428c73ebfb
/ObjLoader.h
f5f683b2e5eb384a10b2b4690c0e41739750d003
[]
no_license
AlexAngelosky/Diplomna
930962b6733d934705c713a2f3b5a8ac2134f3ab
8bce29b2feb1e4e8a7f581c506c68d5da52d162b
refs/heads/master
2021-01-23T13:22:22.611797
2015-06-03T05:31:43
2015-06-03T05:31:43
36,781,684
0
0
null
null
null
null
UTF-8
C++
false
false
3,322
h
ObjLoader.h
#ifndef OBJ_LOADER #define OBJ_LOADER #include<vector> #include<string> #include <d3d9.h> #include <d3dx9.h> using namespace std; //struktura koqto loadera she polzva za zapazvane na vertexite struct v{ double x,y,z,w; v() { w = 1; } }; //struktura koqto loadera she polzva za zapazvane na textur...
b4a4dc1328481574dff5e2202708a159c6e4a91a
00e9b8471bd2e81ceb667fc82e49240babbb113e
/Class8/main/src/logindialog.h
6a1c6c5bfb7f589365e943fc54ffac66b3e7ae97
[]
no_license
Xershoo/BM-Client
4a6df1e4465d806bca6718391fc2f5c46ab1d2b4
2d1b8d26d63bb54b1ac296341353a6e07809b2d6
refs/heads/master
2020-03-29T05:01:00.564762
2019-03-06T01:46:35
2019-03-06T01:46:35
149,561,359
5
1
null
null
null
null
UTF-8
C++
false
false
1,475
h
logindialog.h
#ifndef LOGINDIALOG_H #define LOGINDIALOG_H #include "src/control/c8commonwindow.h" #include "ui_logindialog.h" #include <QListWidget> #include "BizCallBack.h" #include "login/Login.h" class AccountItem; class LoginDialog : public C8CommonWindow { Q_OBJECT public: LoginDialog(QWidget *parent = 0); ~Logi...
baa2536d4afb9744e3465fe7238f7f9f26e45615
c9042c65d6c7a632cfd903a56e52a42903464467
/utils/Mutex.h
84cba8a5e669e2c1e2cf46f86cd16136e41b5f32
[]
no_license
cnsuhao/myown
4048a2a878b744636a88a2090739e39698904964
50dab74b9ab32cba8b0eb6cf23cf9f95a5d7f3e4
refs/heads/master
2021-09-10T23:48:25.187878
2018-04-04T09:33:30
2018-04-04T09:33:30
140,817,274
2
2
null
null
null
null
GB18030
C++
false
false
2,707
h
Mutex.h
//-------------------------------------------------------------------- // 文件名: Mutex.h // 内 容: // 说 明: // 创建日期: 2006年8月23日 // 创建人: 陆利民 // 版权所有: 苏州蜗牛电子有限公司 //-------------------------------------------------------------------- #ifndef _UTILS_MUTEX_H #define _UTILS_MUTEX_H #include "../public/Macros.h" #ifdef...
24680e142b04ae890b0b650b6a5ff51404abdf7b
fd3f8e4383292c15194a97cfa251a3de0882ac3c
/src/replica/duplication/test/duplication_test_base.h
fb0c7ea4f981f35a41dae85ebf3a3cece8f8087f
[ "Apache-2.0", "Zlib", "MIT", "BSD-3-Clause", "LicenseRef-scancode-public-domain", "BSD-2-Clause" ]
permissive
apache/incubator-pegasus
417ea26a150c3bfd6c7f6a0a2148de7770dd291b
be9119e75f27b9f0563acaf33f5c96edf0051307
refs/heads/master
2023-08-29T00:35:34.152285
2023-08-28T06:45:00
2023-08-28T06:45:00
41,712,332
663
97
Apache-2.0
2023-09-14T08:03:29
2015-09-01T02:29:37
C++
UTF-8
C++
false
false
3,574
h
duplication_test_base.h
// Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may...
9009c8ac4a4a1d5579be6c881650786dd87ae249
c7a3050ca21824a341c46f9f93aedd0a0ee6b9b9
/origin/core/concepts.test/movable.cpp
06be07825e2a9bcf3052843a0c1510aed0661557
[]
no_license
jeb2239/origin
39c65caca90190c8730d6f93cd41d27af26c1b69
96956aeb88bcd1e2ca08d20d52e2d098e8ff254c
refs/heads/master
2020-12-11T07:26:09.768048
2015-03-24T14:40:53
2015-03-24T14:40:53
33,154,097
2
0
null
2015-03-30T23:38:41
2015-03-30T23:38:40
null
UTF-8
C++
false
false
282
cpp
movable.cpp
// This file is distributed under the MIT License. See the accompanying file // LICENSE.txt or http://www.opensource.org/licenses/mit-license.php for terms // and conditions. #include <origin/core/concepts.hpp> static_assert(origin::Movable<int>(), ""); int main() { return 0; }
68abb78397061e6f7fe3124a2a8e99abfa9e1928
463e532c2addb431c967d7d8baea03f792c7b8e6
/StudyOwFuture/File.h
16a77a6bb7a693dfb5c3f270e7614dfde0c7441f
[]
no_license
threelamb/StudyDemo
5c04e8320ed007dd76aa3d2b3d0301f08e214222
005856642d97de42c05f32af8623e9b4f3499a1e
refs/heads/master
2021-01-10T02:35:02.051709
2016-02-02T18:42:46
2016-02-02T18:42:46
50,525,673
0
1
null
null
null
null
UTF-8
C++
false
false
65
h
File.h
#pragma once class File { public: File(); ~File(); };
2c94a3ec53562b903478c6d65f442e306327bef1
0bb208821c77c189be4af368ae6a89d56aec9bac
/game/src/Block.cpp
7cee9d4321577be2147a6faad10fae68bd104854
[]
no_license
aanddrew/lolcraft
10601982bbc0a4164bd4f58d49284d5c3895c136
70a2661ae953f0df83c26a274405dab289f1d281
refs/heads/master
2022-08-27T21:08:57.994560
2019-08-02T10:11:50
2019-08-02T10:11:50
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,854
cpp
Block.cpp
#include "../include/Block.h" #include <iostream> //init static members //these must be vectors of pointers because c++ does not like //overwriting the objects after their default constructors have been called //I think it has to do with the shitty default cube code in the mesh class std::vector<s3::Texture*> Block:...
9640708e2c48c2d8a39a64231606cee8d2bb22f2
9d364070c646239b2efad7abbab58f4ad602ef7b
/platform/external/chromium_org/ui/app_list/app_list_model.h
8dbdc5986ea261c01842906524a7ebb9d363da40
[ "BSD-3-Clause" ]
permissive
denix123/a32_ul
4ffe304b13c1266b6c7409d790979eb8e3b0379c
b2fd25640704f37d5248da9cc147ed267d4771c2
refs/heads/master
2021-01-17T20:21:17.196296
2016-08-16T04:30:53
2016-08-16T04:30:53
65,786,970
0
2
null
2020-03-06T22:00:52
2016-08-16T04:15:54
null
UTF-8
C++
false
false
3,946
h
app_list_model.h
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_APP_LIST_APP_LIST_MODEL_H_ #define UI_APP_LIST_APP_LIST_MODEL_H_ #include <string> #include <vector> #include "base/basictypes.h" #includ...
41cb3b9eb19b367e0a08fa2ba5c8adf6979f9407
67f605c2a17ef15a7efe0e272e621df6e28a0940
/EstacionMeteorologica/SlaveL/SlaveNetworking.h
0f7f7cc85b7859b371f64fc3d52e8b68d57ad181
[]
no_license
sivulich/EstacionMeteorlogica
b8c142c4d3f5f6b41ccc2e75aece16da47fba7b2
d93123c6f72a909189c0d4fb91d914572b9e4e73
refs/heads/master
2021-01-12T21:54:08.004806
2017-08-02T01:38:40
2017-08-02T01:38:40
81,754,331
0
0
null
null
null
null
UTF-8
C++
false
false
604
h
SlaveNetworking.h
#pragma once #include "Sensor.h" #include "Event.h" #include "mosquitto.hpp" #define BROKER "192.168.1.33" class SlaveNetworking { public: SlaveNetworking(); ~SlaveNetworking(); bool hayEvento(); Event getEvent(); void sendStatus(const vector<Sensor*>& mySensors, uint8_t battery, bool busy); void sendData(cons...
0875910730535984588072eacb025c4986d92576
cc453b1b93bb3fc5556d5effab4cdb217799b2ae
/Medium/139-WordBreak.cpp
fac4b4049bdba475e117ffa1a91d7118e0203e26
[]
no_license
prasadnallani/LeetCodeProblems
7615d1f3a10e8d1800e322f6fbfa0a5feb55117f
33472bc788a2e54294fdb59cf26438f92f322493
refs/heads/master
2023-06-30T15:51:57.943254
2021-07-27T16:56:25
2021-07-27T16:56:25
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,351
cpp
139-WordBreak.cpp
/* * Author: Raghavendra Mallela */ /* * LeetCode 139: Word Break * * Given a string s and a dictionary of strings wordDict, return true if s can be segmented * into a space-separated sequence of one or more dictionary words. * * Note that the same word in the dictionary may be reused multiple times in the seg...
bfd666b17e54581d0cecd0870fdcc3e19e86d7e2
b926843b474946a424568ef2b035cd907ff3136f
/algorighm_4th/Ex_1_2_01/Ex_1_2_01/TestPoint2DDlg.cpp
6a971f57231e18b781e90317a400058f77c120d9
[]
no_license
tom1232289/Algorithm_learn
f2e93302f13dc0a2c17a5f537af884218f794ee6
c0677c3a0f20bf3141e5cae548f9590676eb1395
refs/heads/master
2020-04-22T20:58:00.647753
2019-11-18T13:02:08
2019-11-18T13:02:08
170,646,106
0
0
null
null
null
null
UTF-8
C++
false
false
1,245
cpp
TestPoint2DDlg.cpp
#include "TestPoint2DDlg.h" #include <random> CTestPoint2DDlg::CTestPoint2DDlg(QWidget *parent) : QMainWindow(parent) { ui.setupUi(this); } void CTestPoint2DDlg::paintEvent(QPaintEvent * event) { QPainter painter(this); painter.setPen(QPen(Qt::blue, 2)); m_PointCoordinate.clear(); CreateRandomPo...
bba6537ed18944ecf377e5ca9ce935ca24535fe4
35baa4a4648003fdd85732850897d043b830761e
/iblinkedlistmerge2list.cpp
caef898630dd790c5f3a7c3f61a9d3dab7dc224d
[]
no_license
deepanshuoct12/interviewbit-solution
0c091e7ddab2d1be3cc207a70b5c9498c23b33d2
87254a250233c571611cc70b91749574d0544b5a
refs/heads/master
2023-01-03T11:46:16.244384
2020-11-02T21:29:57
2020-11-02T21:29:57
279,698,381
0
0
null
null
null
null
UTF-8
C++
false
false
1,114
cpp
iblinkedlistmerge2list.cpp
/** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode(int x) : val(x), next(NULL) {} * }; */ ListNode* Solution::mergeTwoLists(ListNode* A, ListNode* B) { ListNode* newlist=NULL,*h=NULL; ListNode *pt1=A,*pt2=B; while(pt1!=NULL && pt2!=NULL) ...
5e4b35dd2da213b4e705616d67fff7f5357b6f1b
72910f28ab9acea94c21204431b14828497c693e
/lua_serial/LuaScript.cpp
e8c0ee2c131dc72e24152a9b3b3b69d420502769
[]
no_license
PeachChen/test
3e5a8757deeac644b368889a25564554cb85833a
a939b7c7d6dc5eefba33d29d266f378af0ef87b5
refs/heads/master
2021-04-09T11:32:56.326967
2017-04-21T01:38:06
2017-04-21T01:38:06
61,102,362
0
0
null
null
null
null
UTF-8
C++
false
false
9,495
cpp
LuaScript.cpp
#include "LuaScript.h" #include "util/MyStream.h" #include <string> using namespace std; CLuaScript::CLuaScript() { Init(); } CLuaScript::~CLuaScript() { if(L) { lua_close(L); L=NULL; } } void CLuaScript::Init() { L=luaL_newstate(); luaL_openlibs(L); REG_LUA_FUNCTION(LoadTable); REG_LUA_FUNCTION(SaveTa...
6f71d52dc4ef3e1927c6ef5c22f755c778b0f697
8f34911e697ef220d7cf76d44fa9b560be4ba7f0
/Engine/Source/Game/Floppy/S_Floppy.cpp
b69050a7f3c2193040e36bc8e9b8b8e11fad9e16
[ "MIT" ]
permissive
RaMaaT-MunTu/OOM-Engine
3d85d6bef34d55b4061dc5f87d74d411e66ec93a
e52f706d17f1867f575a85ba5b87b4cc34a7fa97
refs/heads/master
2022-01-23T07:17:14.483120
2018-08-20T11:19:31
2018-08-20T11:19:31
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,082
cpp
S_Floppy.cpp
/// \file S_Floppy.cpp /// \date 08/08/2018 /// \project OOM-Engine /// \package Built-in/Script /// \author Vincent STEHLY--CALISTO #include "Game/Floppy/S_Floppy.hpp" /*virtual */ void S_Floppy::Awake() { m_limit_size = 1440; m_current_size = 0; mp_text = nullptr; mp_floppy_text ...
b55f8ae24559efd206a970a4bbde8904c84077d8
74a0bd5552e2ffc94162ea9a2ffba3b46120d60d
/Deitel/10.9_IntegerSet/main.cpp
bfe2571d8cf7ff744c00e1630fad19b9a2e8b6ae
[]
no_license
dmytrofrolov/Cpp
9103f5979e710061d8bf03465fc87b7fc3ff7bc9
a216cadd3903c1e73381bf6d12a394af472cfc93
refs/heads/master
2016-09-09T22:08:01.471867
2015-05-04T19:06:49
2015-05-04T19:06:49
25,148,597
0
1
null
null
null
null
UTF-8
C++
false
false
602
cpp
main.cpp
#include <iostream> #include "IntegerSet.h" using std::cout; using std::endl; int main() { int initialArray1[] = {1, 2, 3, 6, 5, 4}; IntegerSet set1(initialArray1, 6); set1.printIt(); cout << endl; int initialArray2[] = {5, 8, 12, 6, 23, 4}; IntegerSet set2(initialArray2, 6); set2.printIt...
d4281c3ac47576c455b09d1bc781d1fe583cb9b8
f445fd75299ad7d9e238326360d1fe2b8c4bccf9
/Exercise-9a.cpp
baf156ebcb2e67754176f46421791f2225fc1b12
[]
no_license
neverkas/learning-cpp
d8a9bfa9e23ac9b55aabb6a251fc069ff17f080a
10851eea7009412fb390a50539ce36e5a4cf3765
refs/heads/master
2020-03-12T10:17:54.367867
2018-05-27T00:04:19
2018-05-27T00:04:19
130,570,223
0
0
null
null
null
null
UTF-8
C++
false
false
1,801
cpp
Exercise-9a.cpp
/* * Exercise 9: * * Dados un mes y el año correspondiente, informar cuantos dias tiene el mes. * ****** * Solucion en Proposicion logica * p=es divisible por 4, r=es divisible por 400, ¬q=es divisible por 100 * p y (¬q o r)r ****** * Solucion en Pseudo codigo: * 1. Datos de Entrada m=3, anio=2018 * 2. Si ...
943cfc32724db027526da0f318bba982d18625b5
94bbf67e9834d662b3f777b96fd8366321a4d56d
/Assignments/Assignment 4/GradeBook.cpp
e861844fe5744f27c8d90ece9b5a5684df616939
[]
no_license
CristianCortez/CS-301-05-DataStructures
fc11774fef15ce8f614dc5cc73db4f0af524f110
488ce3cd08ea5047eaba8aeb44696de105b2cd3e
refs/heads/master
2020-07-25T02:08:20.092988
2019-12-03T01:26:28
2019-12-03T01:26:28
208,126,917
0
1
null
null
null
null
UTF-8
C++
false
false
6,138
cpp
GradeBook.cpp
#include "GradeBook.h" Semester::Semester() { //cout << "obj built."; } void Semester::setNumP(int num) { numPrograms = num; } void Semester::setNumT(int num) { numTest = num; } void Semester::setNumF(int num) { numFinal = num; } void Semester::setWeigths(int num, int idx) { weights[idx] = num; ...
0c14209db7af3725df59b6578cf1af56402cb094
0f6b033575bf8bec80f08d26db28a7e8f5c7d226
/client/SWGModelFactory.h
a137d1ff810bd48937222ec8d352ad055f51b3b4
[ "MIT" ]
permissive
gantony/corkdev-questions-qml
cbdad68be5406575ef314388324bc6edecea4086
b20a1e0cbfa4ca5e189a3615b5ef0f17a1e67c87
refs/heads/master
2021-08-12T02:02:53.144834
2017-11-14T08:10:27
2017-11-14T09:43:48
108,461,337
0
0
null
null
null
null
UTF-8
C++
false
false
1,488
h
SWGModelFactory.h
/** * Simple API to gather and rank questions during talks * This is a simple API * * OpenAPI spec version: 1.0.0 * Contact: antony.guinard@gmail.com * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * Do not edit the class manual...
6a8289e4a1fad274ee254410a0ee7060a9afece9
a6a208018266e93d2d4306bbdf600d2fcd5145f5
/TAfin.~h
4be5b113ee3af1e315a1202ce76f6f132a3b28d3
[]
no_license
alvaropascualcrespo/Camara
872e4e8946f7d599a63324430fd5ece3497e18d7
ca1b156f4a3d01d1cbf6f44991763efebbfd30f7
refs/heads/master
2020-06-08T19:10:06.012431
2014-05-01T11:10:41
2014-05-01T11:10:41
null
0
0
null
null
null
null
UTF-8
C++
false
false
730
TAfin.~h
//--------------------------------------------------------------------------- #ifndef TAfinH #define TAfinH #include <gl\gl.h> //--------------------------------------------------------------------------- class TAfin{ private: GLfloat* m; public: TAfin(); ...
85f57d7979a678a4f60c5a7800832bb7a688dc1f
993a8cf2a4e060a8ddea9653611276a72cd93ed9
/Cone_t.h
e872d985986e071cf4a68941698707c06849b310
[]
no_license
vvanirudh/raytracer
77cdc54880089f4fe1fd5d9f66dc3bf670907a7d
f0b46b4ecab84e08fa7b40f3ba4cdc22cf5888f5
refs/heads/master
2020-12-30T20:05:43.993355
2014-02-10T17:23:02
2014-02-10T17:23:02
16,253,088
0
0
null
null
null
null
UTF-8
C++
false
false
379
h
Cone_t.h
#ifndef CONE_T_H #define CONE_T_H #include "Object_t.h" class Cone_t : public virtual Object_t { public: Point_t baseCenter; double baseRadius; double height; Vector_t axis; Cylinder_t(Point_t, double, double, Vector_t); bool intersect(Ray_t, double*, Point_t*); Vector_t getNormal(Point_t); /* http://tog.ac...
d6a1cd4f7b2c316b831de81f85fed812345020eb
7fa7be5bf3d68d5c24accb912408c4260f63835d
/Game/code/Image.h
a676cecfc2ba3177cc47f8a38f5792c2d5885261
[]
no_license
ssveta7ak/Asteroids
7e8aec2400fccf9ec115fa736babf6a175e60c1d
5b42417475428f6d5c56f27221231ba2af62b115
refs/heads/master
2023-05-26T23:09:09.540789
2021-06-12T19:28:47
2021-06-12T19:28:47
344,226,874
0
0
null
null
null
null
UTF-8
C++
false
false
961
h
Image.h
#pragma once #include "SDL.h" #include "SDL_image.h" #include <SDL_ttf.h> #include <cassert> #include <string> #include <windows.h> class Image { public: Image(); ~Image(); int width() const { return mWidth; } int height() const { return mHeight; } bool createTexture(const char* path, SDL_Rendere...
d9735c4548c8ee147b1acf1fe94bb28012f9ece6
0e899957b663584c03e2a0cdc7ed7f2cf22f3d2a
/src/AirfoilViewer.cpp
3baed78a1bf386c66355ebbad7d0270c1b4d97c1
[ "MIT" ]
permissive
maxweis/FoilAnalyzer
69108a31bcf8de50e450a7c53cbc8c3ff61e3b63
1e519ea4334f690f285a78ff23f8749a46e402fd
refs/heads/master
2020-08-07T01:59:26.248351
2019-10-06T21:21:43
2019-10-06T21:21:43
213,251,404
0
0
MIT
2019-10-06T22:08:19
2019-10-06T22:08:19
null
UTF-8
C++
false
false
3,002
cpp
AirfoilViewer.cpp
#include "AirfoilViewer.h" ViewerPanel::ViewerPanel(wxWindow* parent) : wxPanel(parent, -1, wxDefaultPosition, wxDefaultSize, wxFULL_REPAINT_ON_RESIZE){ // Sizer that controls the overall layout of the airfoil viewer avTopSizer = new wxBoxSizer(wxVERTICAL); // Drawing area for the airfoil plot avDrawArea = avTo...
ef09cb9c4a17b4dc939431400814d961c0c81506
8146d07d399d91774ab79c07de35fe1420f3fe99
/Csci 191 - Projects/Project/Project/src/GLInputs.cpp
4b6b1ac1663adb9e95ef11d5d640d1175d458c84
[]
no_license
ChaiseAllegra/SnackBoys
fda68c143d80ad177f871787b62044e11fee7c52
e302bca119ba578c5cf50e83b3d44d54effa0668
refs/heads/master
2021-04-12T11:02:50.628662
2018-03-27T00:26:01
2018-03-27T00:26:01
null
0
0
null
null
null
null
UTF-8
C++
false
false
5,784
cpp
GLInputs.cpp
#include "GLInputs.h" #include <player.h> #include<GLModel.h> #include<collision.h> #include<box.h> Inputs::Inputs() { //ctor prev_Mouse_X =0; prev_Mouse_Y =0; Mouse_Translate=0; Mouse_Roatate=0; } bool leftPRESSED = FALSE; bool rightPRESSED = FALSE; Inputs::~Inputs() { //dtor } void Inputs::keyEn...
7af8693c34548d12250b26a9a34fc44e696f9076
045ad86b79d87f501cfd8252ecd8cc3c1ac960dd
/RxActor/SupervisorPolicy.h
b892dac2e9398bf5ddda456fc8b352d97e8ff518
[ "MIT" ]
permissive
intact-software-systems/cpp-software-patterns
9513e4d988342d88c100e4d85a0e58a3dbd9909e
e463fc7eeba4946b365b5f0b2eecf3da0f4c895b
refs/heads/master
2020-04-08T08:22:25.073672
2018-11-26T14:19:49
2018-11-26T14:19:49
159,176,259
1
0
null
null
null
null
UTF-8
C++
false
false
258
h
SupervisorPolicy.h
#pragma once #include "CommonDefines.h" namespace RxActor { struct SupervisorPolicy { SupervisorPolicy() { } SupervisorStrategy strategy_ = SupervisorStrategy::AllForOne; Policy::Criterion criterion_ = Policy::Criterion::All(); }; }
969d059f9eedfd2ae7a88e9ea52afa10d1eb05f5
9ff0eacffe2aef18a080386ccf886ed5f6ff1389
/jolly_banker.h
304fa806d6c62269b01d944c1c589e71594ba26d
[]
no_license
michzelinger/Program5
7aa48e6372b650d7d927341b0b74ef12b81ebcb7
2aecd9963f551b30ed9f1be3e1c8d35029cbe36d
refs/heads/master
2023-01-24T13:56:58.872497
2020-12-07T20:07:44
2020-12-07T20:07:44
319,430,601
0
0
null
null
null
null
UTF-8
C++
false
false
402
h
jolly_banker.h
#pragma once #include <queue> #include "binary_search_tree.h" #include "transaction.h" #include <iostream> #include <fstream> #include <string> #include <sstream> #include <vector> class JollyBanker { public: JollyBanker(); ~JollyBanker(); bool ReadTransactions(); void ExecuteTransactions(); void Display(); pri...
ca2c5d7dd68538920ab00d4b29dac22487048223
1f24fe23bdc4ebfe7e588d5e962e16ec9fc99327
/Pow(x,n)/main.cpp
c42440693ddbd1b9ce39ffacbcb18569b1e59ac2
[]
no_license
AotY/Play_Interview
40a9efd3dbe9e16a2490ed98d1277df941efd6e7
868029e3cb195ccf254ab964eb73224719e38230
refs/heads/master
2020-03-22T11:05:48.926563
2018-10-14T07:37:51
2018-10-14T07:37:51
139,946,339
6
0
null
null
null
null
UTF-8
C++
false
false
251
cpp
main.cpp
#include <iostream> #include <cmath> class Solution { public: double myPow(double x, int n) { double res; res = pow(x, n); return res; } }; int main() { std::cout << "Hello, World!" << std::endl; return 0; }
65bdc7a6d5a7014c0fe4c2f8c29055fcb2e730de
201c2251a68337ba09c9b993fe1989d595125eb9
/leetcode/Remove All Adjacent Duplicates in String II.cpp
ab23fe5cec5e7c235221906363c917d6469eed17
[]
no_license
AhmedKhaledAK/problem-solving-training
92a928ca383d37abe493145d306e52cb08d5b4ef
54dd37aef981ab1a8d55e46cf9f57ab1426f6353
refs/heads/master
2022-03-16T07:42:28.785189
2022-02-12T19:54:54
2022-02-12T19:54:54
191,613,437
4
0
null
null
null
null
UTF-8
C++
false
false
445
cpp
Remove All Adjacent Duplicates in String II.cpp
class Solution { public: string removeDuplicates(string S, int k) { stack<int> st; for (int i = 0; i < S.size(); i++) { if (i == 0 || S[i] != S[i - 1]) { st.push(1); } else { if (++st.top() == k) { st.pop(); ...
f71b4811ee071a6094a3bb4a20b5ea94bb93d8e7
2998093876315b60079a152e48c19bdd3834e893
/src/jaspinteg/src/last_error.cpp
2875f5f4f147dfa28f49580e97b87bb508b40973
[]
no_license
lorjnr/php-jasper-integration
0ea4b4615176c2b7847abbee32367bb132c6b337
652eeff11b3e418ee0f74e4579c2a316cd3db548
refs/heads/master
2021-01-10T22:00:15.383582
2010-03-08T23:26:51
2010-03-08T23:26:51
33,122,914
0
0
null
null
null
null
UTF-8
C++
false
false
5,751
cpp
last_error.cpp
#include "last_error.h" //-----------------------------------------------------------------------------------------------// //-- Globals ------------------------------------------------------------------------------------// //------------------------------------------------------------------------------------------...
e031904ef186a0dffeff7163829568dc1226e479
2bde780c6756eac2a4bab093796755db943675d4
/C++/class/friend_point_fun.cpp
49bc317a616f271ebc155432f103ca17beb50a2f
[]
no_license
boyuandong/C-Practice
d3399dea2b3623076bb8624656f78b2dfe13100f
5320f5382af102b6556d8c5124bcdb60dac4450d
refs/heads/main
2023-06-02T01:12:02.995508
2021-06-18T11:34:00
2021-06-18T11:34:00
358,832,654
0
0
null
null
null
null
UTF-8
C++
false
false
944
cpp
friend_point_fun.cpp
/* Friend Function Calculating the distance between two points by using the friend function */ #include<iostream> #include<cmath> using namespace std; class Point { private: double X, Y; public: Point(double xi, double yi) {X = xi; Y = yi;} double GetX() {return X;} double GetY() {return Y;} friend ...
3b1131cb883dc300349a72c9d89ec37b404e2525
02d9ea3dddc1b14b69d06c67f5973b98772fbcdc
/Legolas/BlockMatrix/IterationControler.hxx
5be8e66cc7a114ba8d8b81acf74815f73be5ad1d
[ "MIT" ]
permissive
LaurentPlagne/Legolas
6c656e4e7dd478a77a62fc76f7c1c9101f48f61c
fdf533528baf7ab5fcb1db15d95d2387b3e3723c
refs/heads/master
2023-03-05T07:19:43.167114
2020-01-26T13:44:05
2020-01-26T13:44:05
338,055,388
0
1
null
null
null
null
UTF-8
C++
false
false
3,020
hxx
IterationControler.hxx
#ifndef __LEGOLAS_ITERATION_CONTROLER_HXX__ #define __LEGOLAS_ITERATION_CONTROLER_HXX__ #include "Legolas/Vector/Vector.hxx" namespace Legolas{ class IterationControler{ VirtualVector * XoldPtr_; int iterationNumber_; int maxIteration_; mutable double epsilon_; bool fixedIterationNumber_; ...
8bf1fb6fba76aafb2f5c2f93396f6b27edea33a0
e10a6d844a286db26ef56469e31dc8488a8c6f0e
/fully_dynamic_submodular_maximization/dynamic_submodular_main.cc
932c14646d5199d73c56623b99f2b32296fc7e1f
[ "Apache-2.0", "CC-BY-4.0" ]
permissive
Jimmy-INL/google-research
54ad5551f97977f01297abddbfc8a99a7900b791
5573d9c5822f4e866b6692769963ae819cb3f10d
refs/heads/master
2023-04-07T19:43:54.483068
2023-03-24T16:27:28
2023-03-24T16:32:17
282,682,170
1
0
Apache-2.0
2020-07-26T15:50:32
2020-07-26T15:50:31
null
UTF-8
C++
false
false
6,943
cc
dynamic_submodular_main.cc
// Copyright 2020 The Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
c181a5b275d9ca8488b7b03736fe3b8dc5231455
d6125fb9313bd89b40de90d3bbe1a17dcb452c1e
/src/Messages/StartDATCMsg.h
7674335a0510a58a21ee695356ab19a4cc271b02
[]
no_license
alejandroguillen/testbed_final
011d3820784026978b5047d9cec91c4b0fdaf304
354660ae99e99a7615c30f2709bc2817bab7e036
refs/heads/master
2021-01-19T21:28:39.538813
2015-05-06T08:13:30
2015-05-06T08:13:30
35,144,996
0
0
null
null
null
null
UTF-8
C++
false
false
1,496
h
StartDATCMsg.h
#ifndef START_DATC_MSG_H #define START_DATC_MSG_H #include "Message.h" class StartDATCMsg : public Message{ private: StartDATCMessage_t* internal_msg; public: ~StartDATCMsg(); StartDATCMsg(int fps, DetectorTypes_t det, double det_thr, DescriptorTypes_t desc, int desc_length, int max_feat, bool rotation_invaria...
700e506d7b8b84e545b444b2bed437216028d083
e7d2392115c82912cdcb80f5de518ad49934a08d
/lonk.cpp
f018ef2f4306bd00aafa877ffde4b3b329385be7
[]
no_license
JamirLeal/POO
d124177f80ce786de927451e66714110568817de
292552aa685dc6978f88871a97a404cece093a74
refs/heads/master
2020-04-22T02:59:33.003005
2019-02-13T15:31:07
2019-02-13T15:31:07
170,070,147
0
0
null
null
null
null
UTF-8
C++
false
false
9,539
cpp
lonk.cpp
// Jamir Leal Cota A00826275 #include <iostream> #include <fstream> #include <string> #include <stdlib.h> // /Users/jamirleal/Desktop/dar.txt // /Users/jamirleal/Desktop/dar2.txt using namespace std; // despliega el contenido del archivo en terminal void cat(string nombreArchivo){ ifstream archivo; string t...
31483cba0ff1a665d0ff286e59b9980e28fedcd3
6926361d32b07133eee7b84f7a2049f925b39199
/src/SignalR/clients/cpp/test/signalrclient-e2e-tests/hub_connection_tests.cpp
89d1fade27dfee73e25623390faa632a637e8350
[ "Apache-2.0" ]
permissive
lyqcoder/AspNetCore
d0ed82460adfaf94dd9d656443cdf45ad7fe6fa2
6a6a870f0847d347e72443eda843969d0b46da94
refs/heads/master
2020-05-04T06:17:27.579794
2019-04-01T23:01:26
2019-04-02T04:43:30
179,002,699
1
1
Apache-2.0
2019-04-02T05:06:27
2019-04-02T05:06:25
null
UTF-8
C++
false
false
10,946
cpp
hub_connection_tests.cpp
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. #pragma once #include "stdafx.h" #include <string> #include "cpprest/details/basic_types.h" #include "cpprest/json.h" #include "signalrclient/connectio...
c142c5dfad0e9c36d34413ef38c9ba2b6c3395e4
868c42a1c50be49af42f392769a4474d3e53f611
/OpenOVR/Reimpl/BaseSettings.cpp
954a38541e4ddb7a25899d4a8815b71daac3369d
[]
no_license
GXiaoyang/qrvr
1458efbc979cf4d56ac5e19e29876d14f99b2d94
902b9c79d834d3df6b43417f93c2f79acacc893b
refs/heads/master
2023-05-09T22:17:41.834044
2020-06-14T18:28:43
2020-06-14T18:28:43
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,732
cpp
BaseSettings.cpp
#include "stdafx.h" #define BASE_IMPL #include "BaseSettings.h" // #include "OpenVR/interfaces/IVRSettings_001.h" // #include "OpenVR/interfaces/IVRSettings_002.h" #include "Misc/Config.h" #include "BaseSystem.h" #include <string> #include <codecvt> // #include "OVR_CAPI_Audio.h" using namespace std; // namespace kk1...
167dbd2d7c22c53207cf904b28cd4c8ffa1eb55a
d41b90545b1d5a417cef4510e530a4b392e9f247
/source/src/eth32.cpp
11ff54499ee271cc8823a82b4d0b8e4e591c73cd
[]
no_license
annihil-com/eth32nix_resurrection
d36d47c85ea2cbcff04f03b8826864852e2f8eb6
b45c8e29cc60bcf778ef0420f9951d157706f9d0
refs/heads/master
2022-10-10T00:00:26.118732
2020-06-07T14:51:52
2020-06-07T14:51:52
268,081,021
1
0
null
null
null
null
UTF-8
C++
false
false
3,229
cpp
eth32.cpp
// ETH32 - an Enemy Territory cheat for windows // Copyright (c) 2007 eth32 team // www.cheatersutopia.com & www.nixcoders.org // lib constructor/destructor, various linux chores #include "eth32.h" #include <dlfcn.h> #include <stdio.h> #include <unistd.h> #include <sys/types.h> #include <signal.h> #include <strings.h...
94208471d975b334866662c95c1f25fac53d5436
56ee04007eac69701f0bb4421046eb558b24f6d6
/0templates/fastio.cpp
66385eac9a708ba0b098ed31480cdd22d47b93a6
[]
no_license
tsuba3/atcoder
e5789515d96079a386843f744f0cf594ec663a24
d397e98686cae982b431c098ec288d2994c33152
refs/heads/master
2021-07-01T21:31:45.429120
2021-02-20T13:40:24
2021-02-20T13:40:24
224,573,527
0
0
null
null
null
null
UTF-8
C++
false
false
4,698
cpp
fastio.cpp
// begin fast io template <typename IStream = decltype(cin), typename OStream = decltype(cout)> struct FastIO { char *buf, *OUT, *out; OStream& os; FastIO(size_t input_size = 1e7, size_t output_size = 1e7): os(cout) { buf = new char[input_size]; OUT = new char[output_size]; out = OU...
4f6c60a8efe22fdb22b6f3f4ac936c606231bae1
9eb2eb4de471b6c522ecb6e11bd1d10ee3bf1c29
/src/gigablast/TopTree.h
02e08ce007c930758168185487e064a41c10df7d
[ "Apache-2.0" ]
permissive
fossabot/kblast
6df5a5c6d4ae708a6813963f0dac990d94710a91
37b89fd6ba5ce429be5a69e2c6160da8a6aa21e6
refs/heads/main
2023-07-25T04:06:20.527449
2021-09-08T04:15:07
2021-09-08T04:15:07
404,208,031
1
0
Apache-2.0
2021-09-08T04:15:02
2021-09-08T04:15:01
null
UTF-8
C++
false
false
4,814
h
TopTree.h
// SPDX-License-Identifier: Apache-2.0 // // Copyright 2000-2014 Matt Wells // Copyright 2004-2013 Gigablast, Inc. // Copyright 2013 Web Research Properties, LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obta...
4bab7928a09fd9c6f1b7cffe12f84943e1d6ab76
c3f2ed9a8cd963041fd62161336d3dd0eb352ee7
/HelloDll/src/main.cpp
382ebc86dbb1846d9ce23fec777b1ea78a5cdb2f
[]
no_license
etheaven/CMake_HelloDll
1c40ae0ddf424e32a40ea81a413e567e4b148eb5
a9399913c7cde6b66cdf5d9f1db0f37c359b0e47
refs/heads/master
2021-01-21T01:25:47.844182
2017-08-31T18:53:58
2017-08-31T18:53:58
null
0
0
null
null
null
null
UTF-8
C++
false
false
309
cpp
main.cpp
#include <cstdio> #include <iostream> #include <Windows.h> extern "C" BOOL APIENTRY DllMain( HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved) { switch (ul_reason_for_call) { case DLL_PROCESS_ATTACH: MessageBox(NULL, "Abcd", "Test", 0); break; } return TRUE; }
852a77ff38e314607d563fe0273a1daebfed60c8
2b0ff7f7529350a00a34de9050d3404be6d588a0
/056_選單與工具列/01_Menu控制/方法3/選單切換與Title完全修改外加控制選單內選項是否可以執行/kkkkDoc.cpp
4c6e9005bbcae04bad8a40a0c4c46944eb86ca26
[]
no_license
isliulin/jashliao_VC
6b234b427469fb191884df2def0b47c4948b3187
5310f52b1276379b267acab4b609a9467f43d8cb
refs/heads/master
2023-05-13T09:28:49.756293
2021-06-08T13:40:23
2021-06-08T13:40:23
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,702
cpp
kkkkDoc.cpp
// kkkkDoc.cpp : implementation of the CKkkkDoc class // #include "stdafx.h" #include "kkkk.h" #include "kkkkDoc.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // CKkkkDoc IMPLEMENT_DYN...
541630395f54b3edf1a6236345683cc9f9500d7e
5b4795642fd09154c10d343836b0a1aa61f77ae8
/libraries/TINAH/src/TINAH_Servo.h
c142fcbf3cd05877b603b26d7373b0f4e14289e3
[]
no_license
ENPH253/arduino-tinah
162abb066d06d54438097515bb068288951adfb6
ef2dafec935b3a46038f67ac32dd3e228bb6190c
refs/heads/master
2020-03-17T04:45:59.180646
2018-07-31T07:24:30
2018-07-31T07:32:51
133,288,174
1
0
null
null
null
null
UTF-8
C++
false
false
1,641
h
TINAH_Servo.h
#ifndef TINAH_SERVO_H #define TINAH_SERVO_H #include <avr/interrupt.h> #include <Arduino.h> #define MAX_SERVO_CHANNELS (8U) /* don't change! */ #define MAX_SERVO_ANGLE (180U) namespace TINAH { class Servo { public: /** * @brief constructs a servo object that is not yet attached to the pin * * @pa...
bc16e4545eafbb47ea3d9a052874a7274bcb5985
9c6cd28abbe3bddbf48fa56526be6d07f0b254b0
/pingkv/src/server/kv_worker.h
184dfe48d97f49fffa61cad95626dfca36e91f57
[]
no_license
liusheng1985/pingkv
eeea108a5bcd21b0652a41733f78cb96af588fd2
a8186dfc30829d359e4567ed970eaf5979302e02
refs/heads/master
2021-01-19T00:37:06.955740
2016-11-07T13:28:36
2016-11-07T13:28:36
73,080,042
2
0
null
null
null
null
UTF-8
C++
false
false
1,169
h
kv_worker.h
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ /* * File: kv_worker.h * Author: liusheng * * Created on 2016年7月12日, 下午2:02 */ #ifndef KV_WORKER_H #define KV_WORKER_H #inc...
7b57af4dac1267f80e889f73bc16fec1e5f2decc
c39862dcbc5b9ad65f582752bcfd0c5eb9be463e
/dev/external/wxWidgets-3.1.0/include/wx/univ/statusbr.h
fe39b05f38b3deb41d79e06cfc4f69c11fd53b94
[ "MIT" ]
permissive
rexdex/recompiler
5f1138adf5d02a052c8b37c290296d5cf5faadc2
7cd1d5a33d6c02a13f972c6564550ea816fc8b5b
refs/heads/master
2023-08-16T16:24:37.810517
2022-02-12T21:20:21
2022-02-12T21:20:21
81,953,901
1,714
120
MIT
2022-02-12T21:20:22
2017-02-14T14:32:17
C++
UTF-8
C++
false
false
3,211
h
statusbr.h
/////////////////////////////////////////////////////////////////////////////// // Name: wx/univ/statusbr.h // Purpose: wxStatusBarUniv: wxStatusBar for wxUniversal declaration // Author: Vadim Zeitlin // Modified by: // Created: 14.10.01 // Copyright: (c) 2001 SciTech Software, Inc. (www.scitechs...
9b524cbbbdd0bd46d3ed36960f34f897f41c036f
4b5a631af6e3215424a26764b7b6c9d5366b68d5
/AI/evaluate.hpp
9281804a5df61bd88f489b53b262bfeb7450e756
[]
no_license
adidvar/Chess-app
a02370428c121c99d124593ef9b37f6e838a8425
e136ed2edbdb5226b34b99875d9d18d6e306ef87
refs/heads/master
2023-08-08T19:29:24.320021
2023-08-01T12:21:08
2023-08-01T12:21:08
208,478,893
0
0
null
null
null
null
UTF-8
C++
false
false
872
hpp
evaluate.hpp
#ifndef EVALUATE_HPP #define EVALUATE_HPP #include <string> #include "bitboard.hpp" class Evaluate { using ScoreType = int; public: Evaluate(); Evaluate(ScoreType value); bool operator<(const Evaluate value) const; bool operator>(const Evaluate value) const; bool operator<=(const Evaluate value) const...
133b0314e25a3ec2deb817e6dbec389d4f3ea6d5
624a1c8acca88c746af2d14d93205599b28e73d7
/source/thsolver.cpp
6db5d9dcd91242c7df90899982ad50671685d486
[ "MIT" ]
permissive
danolivo/avd
107630bc177c37bd7607addcd1b902f3b862b8d1
223e65cc98c4250856e17e14dff5607277010ed4
refs/heads/master
2020-03-19T03:34:22.994924
2018-06-04T17:37:49
2018-06-04T17:37:49
135,740,506
0
0
null
null
null
null
UTF-8
C++
false
false
7,585
cpp
thsolver.cpp
#include <tdma.h> #include <thsolver.h> #include <boundary.h> #include <cstring> #define NEED_SMALLER_STEP (1) #define TIMESTEP_MIN_CALCS (2) CTHSolver::CTHSolver(thm_t* thm) { assert(thm != 0); this->thm = thm; this->TIMESTEP_MIN = STD_TIMESTEP_MIN; this->TIMESTEP_MAX = STD_TIMESTEP_MAX; this->T[0...
45409fd72ef97983d9f65ab83857950cb8f2dc51
d822ffd937fae821fdc1f96369c26b8b31c0cda6
/luogu/p2426.cpp
34100114a2971d083145327a047139dd3a5c4307
[ "MIT" ]
permissive
freedomDR/coding
f8bb5b43951f49cc1018132cc5c53e756a782740
408f0fd8d7e5dd986842746d27d4d26a8dc9896c
refs/heads/master
2023-03-30T03:01:01.837043
2023-03-28T12:36:53
2023-03-28T12:36:53
183,414,292
1
0
null
null
null
null
UTF-8
C++
false
false
395
cpp
p2426.cpp
#include<bits/stdc++.h> using namespace std; const int maxn = 1005; long long dp[maxn], n, a[maxn]; int main() { cin >> n; for(int i = 1; i <= n; i++) cin >> a[i]; for(int i = 1; i <= n; i++) { dp[i] = dp[i-1]+a[i]; for(int j = i-1; j >= 1; j--) dp[i] = max(1ll*dp[i], dp[j-1...
362d482ff8922d1123665e85b1e8da2147fea04e
03429cdeba6002028e60d12e49620678364a0599
/Src/Library/EnPacket.h
5df30c7345ba07745472dd9b89f1d0d3a9f0f93f
[]
no_license
zhangf911/mir_server
d5b29a38406b9049179ccbc6e5fda629b3cd2498
35167d0dee453f1b31c20f66dd41ef08b7e28f4f
refs/heads/master
2021-01-10T01:44:45.771574
2015-08-12T11:33:00
2015-08-12T11:33:00
36,706,465
1
0
null
null
null
null
GB18030
C++
false
false
2,675
h
EnPacket.h
#ifndef LIBRARY_BASE_ENPACKET_H #define LIBRARY_BASE_ENPACKET_H #include "Type.h" class EnPacket { private: /** 二进制数据 **/ string m_data; /** 写入位置 **/ UInt32 m_pos; public: EnPacket(); EnPacket(const EnPacket& INinstance); EnPacket(EnPacket&& INright); ~EnPacket(); public: EnPacket& operator = (const EnPa...
17cb77b085a5546b6345222ca8ac98401b4911ce
d4042c55c865ab21ed8de27cbe4b6f0c76b20aa8
/Maschinen/ContainedController.h
e98b25f8fa5dd35d500d1f01b2105c8357bc0e18
[]
no_license
LeonColt/skripsi
a1f207622a3c4aabab0f951e4f08767f3d085ba2
141af593ec65cd7adaedf7a90fc4cd7cde5cc602
refs/heads/master
2020-08-02T11:40:06.134151
2019-09-27T14:33:27
2019-09-27T14:33:27
211,331,309
0
0
null
null
null
null
UTF-8
C++
false
false
1,167
h
ContainedController.h
#pragma once #include "VisibleController.h" #include "Layout.h" namespace maschinen { namespace layout { class Layout; } class MASCHINEN_API ContainedController : public maschinen::VisibleController { protected: bool on_init = true; maschinen::layout::Layout* wlayout = nullptr; virtual void on...
17f5f5e122250952d9a241c90bdbf9d631dcf2f6
f7a3a1a0bd6ac5d51af73e5d53ba5f50c2847690
/Benchmark/Jacobian/JacobianTests.cpp
f34bd2d44d3b90023914ee175eee8d3a54d92b86
[]
no_license
ana-GT/Lucy
890d60876aca028c051b928bd49bf93092151058
819d2c7210c920ea0d0c1f549bb7df022260bb3f
refs/heads/master
2021-01-22T05:28:22.021489
2011-12-12T23:18:45
2011-12-12T23:18:45
2,887,317
0
0
null
null
null
null
UTF-8
C++
false
false
15,846
cpp
JacobianTests.cpp
/* * Copyright (c) 2011, Georgia Tech Research Corporation * All rights reserved. * * Humanoid Robotics Lab Georgia Institute of Technology * Director: Mike Stilman http://www.golems.org */ #include "JacobianTests.h" #include <wx/wx.h> #include <GUI/Viewer.h> #include <GUI/GUI.h> #include ...
d77a37e9e7ac7495a1888f2391ba41a3fa3fca5d
ab15206fb8b2b469195ed553ff43a079fa32454e
/lab1/lab2_2.cpp
a08abb06ae744bff71f7532e659f4c084598ecf7
[ "MIT" ]
permissive
galek/MPEI_ParallelProgramming_MPI_LAB1
b5ea4940a6925039c8a454dd1cbd6730a9c8a241
661ee2d5a1eee4530a86ca62e2d36abd58a0b29a
refs/heads/master
2021-11-05T02:16:52.031247
2021-10-31T02:42:15
2021-10-31T02:42:15
95,285,015
0
0
null
null
null
null
WINDOWS-1251
C++
false
false
4,215
cpp
lab2_2.cpp
// lab1.cpp: определяет точку входа для консольного приложения. // //#include "stdafx.h" #include "mpi.h" #include <stdio.h> #include <stdlib.h> //#include <sys/time.h> #include <time.h> //#include <iostream> #define NUMBER_REPS 1000 #if _MSC_VER #pragma comment(lib, "msmpi.lib") //#pragma comment(lib, "Ws2_32.lib"...
ce70d5fc124413d9855bcc18145bf9fb11317a60
43efeeab2f43449ec6f0ba71d9755cf6043aa3aa
/qtProjet/paramdialog.cpp
a4b1261fd75ded4dc4ac03dbf3e5aa6dbd381931
[]
no_license
prm1108a/ElbezFisliPerreuSLA
98b4b10a7a18e66e402835aa3df23e30a616b324
b9c56c9cff435d52b39df16a518462223ea172de
refs/heads/master
2021-01-24T03:03:14.707318
2018-02-25T20:07:08
2018-02-25T20:07:08
122,871,570
0
0
null
null
null
null
UTF-8
C++
false
false
1,183
cpp
paramdialog.cpp
#include "paramdialog.h" ParamDialog::ParamDialog() { verticalLayout = new QVBoxLayout; horizontalLayout1 = new QHBoxLayout; horizontalLayout2 = new QHBoxLayout; nbAnnees = new QSpinBox; QLabel *labelAnnees = new QLabel; labelAnnees->setText("Nombre d'années : "); horizontalLayout1->addWi...
59e47d681f33ae6bbe12343fb35346a3fe307632
ee4f2821521c41a8d48e526cea2106dbf165644d
/src/TenantCharacter.h
a5f6421a98f6d76835d42aa378d0665b69b018ff
[]
no_license
legionarius/landlord
90c840706ab113dc1e2e398786a43569e67e2db7
e2dabc8264bec1323a0a0e7c7a0f33c1b22a2028
refs/heads/master
2023-05-27T21:50:33.081680
2021-06-14T07:23:22
2021-06-14T07:23:22
376,736,444
0
0
null
null
null
null
UTF-8
C++
false
false
938
h
TenantCharacter.h
// // Created by acroquelois on 07/04/2021. // #ifndef MUNDANE_JAM_TENANTCHARACTER_H #define MUNDANE_JAM_TENANTCHARACTER_H #include <AnimationPlayer.hpp> #include <Godot.hpp> #include <KinematicBody2D.hpp> #include <Node2D.hpp> #include <RandomNumberGenerator.hpp> #include <Timer.hpp> #include <sstream> ...
4c94d99971c2cf9d341eb41ad1649cec0a1f6243
1fbf30ee65f4d26fefd7679c00c733e9aa05daec
/Lame/TextureCache.cpp
ad7c0656eb27a1b90473eb4646ac7d3ae8f1ed20
[]
no_license
elamitie/learning-opengl
b94e2fd33c6b1837b826101fdd188ee168161262
eee10db6ac672f5a0525ab47a9f72b71bd22a01f
refs/heads/master
2021-05-29T14:42:55.056438
2015-09-19T05:35:03
2015-09-19T05:35:03
null
0
0
null
null
null
null
UTF-8
C++
false
false
457
cpp
TextureCache.cpp
#include "TextureCache.h" #include "ImageLoader.h" namespace lame { TextureCache::TextureCache() { } TextureCache::~TextureCache() { } Texture TextureCache::getTexture(const std::string& filepath) { auto iterator = m_textureMap.find(filepath); if (iterator == m_textureMap.end()) { Texture tex = Im...
3c3ef1d2d94c540a823a7f466b3d6487ae50d90d
0fdb6565a31358a7021c30bbfd0e95a1a9d39e25
/tests/morganaFile/resumeHDF5Test8.cpp
b01088fc8e2d155a019c345803291facf3f2f0ae
[]
no_license
feof81/morganaPublic
b8b61a08d222a2ade3484cbdfc80c9790c0e5508
540cdbcdcf56e5cd13c0dc98c04f724543025bce
refs/heads/master
2023-01-28T01:12:51.711178
2023-01-11T16:56:37
2023-01-11T16:56:37
216,569,123
3
2
null
null
null
null
UTF-8
C++
false
false
3,400
cpp
resumeHDF5Test8.cpp
/*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% This file is part of Morgana. Author: Andrea Villa, andrea.villa81@fastwebnet.it Morgana is free software: you can redistribute it and/or modify it under the terms of the GNU Gene...
5036ab7ab3740e7325f0cc722e451d2597891e66
e8042f76e2a32d1d03e253de217c01e211843d2c
/ProjectEve/RGBImage.cpp
abcee70b17a6ea98066e6a9a78aafa79f437fc00
[]
no_license
gomyk/Project_Eve_MFC
03262cab29ab404766d2ccb487bdf4bb4a43ae2f
49c3d115a73c98cdae886fcbd1ed6d68fbbeeca7
refs/heads/master
2020-05-25T03:17:23.885372
2017-03-14T04:26:27
2017-03-14T04:26:27
84,905,224
0
0
null
null
null
null
UTF-8
C++
false
false
3,181
cpp
RGBImage.cpp
#include "stdafx.h" #include "RGBImage.h" RGBImage::RGBImage() { } RGBImage::RGBImage(int width, int height) { this->width = width; this->height = height; } RGBImage::~RGBImage() { delete[] buffer.Rdata; delete[] buffer.Gdata; delete[] buffer.Bdata; delete[] buffer.Ydata; } bool RGBImage::isGood() { if (width >...
978f4a8078c19bca160158e0410068f42062d5b9
c1a56d1d086fcef47c7b171e8862d69eb3889c45
/Practice Problems/Issue 4/FormatPrint.cpp
61b14172e005247855d6bc8c84e5ec4303b92a9e
[]
no_license
avanti534/CPP_Programming
9a3ef66cdef6103d82d04ae9eb1ee21069c757cf
04ba652a9912898376bb286bdb5d2830e0a39ecf
refs/heads/master
2020-03-28T09:23:24.963204
2018-11-23T16:43:33
2018-11-23T16:43:33
148,033,012
1
0
null
null
null
null
UTF-8
C++
false
false
117
cpp
FormatPrint.cpp
#include <iostream> #include <stdio.h> int main() { double a, b; std::cin >> a >> b; printf("%.2f\n", a/b); }
7c42303386c9298d72f8e88eca80fac06b6a2956
4e5c394c33f0a8adf0152742f01aebb5755c4581
/code/sunlight/API.h
08f098b15554b7721e49274c5a69711214ac20d1
[]
no_license
dennistimmermann/iot-sunlight
f13ddcdd8e8f4020219feb0b19088491580068ec
78380c1213bea326bfebce8c9d1ee61d1aa73e06
refs/heads/master
2021-01-01T05:11:36.027448
2016-05-30T10:04:42
2016-05-30T10:04:42
59,310,198
3
0
null
null
null
null
UTF-8
C++
false
false
378
h
API.h
#ifndef H_API #define H_API #include "Arduino.h" #include <TimeLib.h> #include <WiFiClient.h> #include <ESP8266HTTPClient.h> class API { public: size_t parseTime(String t); int getTimezone(String t); void fetchAPI(String lat, String lon); void fetchTime(); int timeOffset = 0; size_t sunrise...
38abb75e117fc64246b3d242d9a1bf51f51494d4
b04a0c0cd5e5023f06e7667ca92e0fc0fcf78d73
/src/ground.h
af91156e19343857bb29893e8b2c1454fff21d0c
[ "MIT" ]
permissive
felipefr/MBS
55a206046561fc136f73fd511cc16f5279821e81
6731d2c8334bbbc74b5408ffb771b6b4b53ed12b
refs/heads/main
2023-07-13T02:51:56.404688
2021-08-24T20:57:57
2021-08-24T20:57:57
399,600,102
0
0
null
null
null
null
UTF-8
C++
false
false
526
h
ground.h
// Classe de fixacao, herda a classe de Restricoes class Ground: public Constraint { public: Vetor c; // posicao relativa do corpo fixo ao SC global // construtor Ground(int label,Body &bd, double c1, double c2, double c3); // atualizacoes void C_upd(Vetor& C) { C[slice(l1,3,1)]=b1->q-c; } void Cq_upd(Matriz& Cq...
ad2143c855e85c48aa11f9c2b349b6f6234d082c
7b8774d7027bcc4beae45ad729c32cdda34defe8
/minimum-spanning-tree/DisjointSetUnion.cpp
b53e95f9f8ae34ed39eccf425b88324e92f28859
[]
no_license
AnnaGudkova/combinatorial-algorithms
a31d13b8974766825f2f023d11a6134f4b70e331
46127fbbeb7fb545f5f1fe782580aed0a70a9c81
refs/heads/master
2021-01-18T15:19:43.669008
2012-12-21T09:02:31
2012-12-21T09:02:31
null
0
0
null
null
null
null
UTF-8
C++
false
false
946
cpp
DisjointSetUnion.cpp
#include "DisjointSetUnion.hpp" #define START_PARENT_NUMBER 10 DisjointSetUnion::DisjointSetUnion() { this->parent.resize(START_PARENT_NUMBER, -1); } DisjointSetUnion::~DisjointSetUnion() {} void DisjointSetUnion::makeSet(int vertex) { while ((unsigned int) vertex >= this->parent.size()) this->paren...
50986658b7a4e742e64e1ddfbf6702ca9b210e6b
1202233d05402df9ed808ec023355541bdb24aac
/twitPick/src/EncodedUrl.h
698a67ac6546f5c1c3dcdba2c477767cbbc94c59
[ "Apache-2.0" ]
permissive
rlunaro/twitPick
f814a43e33f11258d5f94884767e994236e43e60
91a8be4dde7bbca1bbe39f7fe8e36cf90e88338f
refs/heads/master
2020-04-13T18:51:51.809778
2019-01-20T17:33:13
2019-01-20T17:33:13
163,312,140
0
0
null
null
null
null
UTF-8
C++
false
false
965
h
EncodedUrl.h
/* * Copyright 2018 Raul Luna * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in...
5d981b2241fa3eec21071483a7e4e8cde42195f1
4adace3b69868884f9f160bc019f91050219513f
/cplusplus/深浅拷贝.cpp
c58f306389abd0c8680b75209812ea696e20ae0d
[]
no_license
Dawn-K/Andy
f14e23d1b1317e2ad078b63756dd67b60ed6f4ce
98845bb46312d5195987bc08d9a957a45cf33d45
refs/heads/master
2021-09-20T08:35:03.989167
2018-08-07T02:45:26
2018-08-07T02:45:26
null
0
0
null
null
null
null
GB18030
C++
false
false
2,139
cpp
深浅拷贝.cpp
//深浅拷贝的展示 //浅拷贝指的是将值直接地拷贝给另一个变量 //深拷贝指的是指向两块不同的内存,然后只对应相等 //深拷贝:新建一个堆, //然后就通过循环的方法把堆中的一个一个的数据拷过去。 //这样就可以避免在修改拷贝对象的数据时, //同时改变了被拷贝对象的数据 #include<iostream> using namespace std; //定义类 Array class Array { public: Array(int _count) { m_iCount =_count; m_pArr = new int [m_iCount]; //在实例化的同...
773f54a24343ac14aee3ecefd6f10071be0583a2
adf99a0b01b3753de452a2736ce5c55f48ffc4f6
/X-Drive/ROBOT_CONFIG__javelinbot2.hpp
8ad7d0ae9c0b84c992bdcb706345736d8418ded9
[]
no_license
rasheeddo/mbedCode
ef1906bc0a82b39a79a375eef06c56404495e1bf
e74721df277cfc3007b7fc2db9b5f39585481e5e
refs/heads/master
2022-04-24T07:14:53.624590
2019-10-07T07:48:39
2019-10-07T07:48:39
198,154,243
0
1
null
2019-10-07T07:48:40
2019-07-22T05:36:07
Makefile
UTF-8
C++
false
false
432
hpp
ROBOT_CONFIG__javelinbot2.hpp
#ifndef __ROBOT__CONFIG__HPP #define __ROBOT__CONFIG__HPP // Javelinbot #2 (the one with the larger payload) #define _MOAB_IP_ADDRESS "192.168.53.202" #define _NETMASK "255.255.255.0" #define _DEFUALT_GATEWAY "192.168.53.1" #define _BROADCAST_IP_ADDRESS "192.168.53.255" #define _AUTOPILOT_IP_ADDRESS "192.168.53.21...
cdca8805904cb0f3adaa3e2d8b63e555b0e102bf
f057d8c2184cd7dab6ef64da1b4a37e514801933
/DHT_lib/DHT.cpp
80683d1f009cb4082bb00400a7ef2cddb16cd545
[]
no_license
fotopretty/SimArduino-framework
30fb63f17840e9a5ff1baf3ebf3da059ec159f5b
f68492276970cd364d95593c891b435378ae86ac
refs/heads/master
2021-06-09T19:10:14.217934
2016-10-05T16:52:58
2016-10-05T16:52:58
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,671
cpp
DHT.cpp
// #define DEBUG_Lib // #define DEBUG_OUTPUT Serial #include "DHT.h" DHT::DHT() { } bool DHT::read(int pin, int type) { pinMode(pin, OUTPUT); digitalWrite(pin, LOW); delay(20); digitalWrite(pin, HIGH); delayMicroseconds(20); pinMode(pin, INPUT_PULLUP); int timeCount=0; while(digitalRead(pin) == HIGH && tim...
880e98e8309f50341cc222a88271139683ca6759
dd949f215d968f2ee69bf85571fd63e4f085a869
/subarchitectures/vision.sa/branches/stable-0/src/c++/vision/components/ObjectTracker2/src/Resources.cpp
3d1b91e79b7787f415c20c86d19fa56f525133e3
[]
no_license
marc-hanheide/cogx
a3fd395805f1b0ad7d713a05b9256312757b37a9
cb9a9c9cdfeba02afac6a83d03b7c6bb778edb95
refs/heads/master
2022-03-16T23:36:21.951317
2013-12-10T23:49:07
2013-12-10T23:49:07
219,460,352
1
2
null
null
null
null
UTF-8
C++
false
false
11,139
cpp
Resources.cpp
#include "Resources.h" #include "Messages.h" // *** PRIVATE *** int Resources::SearchName(NameList* list, const char* filename){ // parse through name list int i = 0; NameList::iterator it_name = list->begin(); while(it_name != list->end()){ if(!strcmp((*it_name),filename)) return i; it_name++; i++; } ...
d416adf932b81d06cd43be1cd000c5af4c8cbd06
54320ef64dd0548a5b5016feed14c606a5fd1e76
/Vagharsh_Hakobyan/Homework/C/20151031/k_n_2zero.cpp
c3a64c53f45e937b80f8eb77f38f0e9c4aa00f82
[]
no_license
ITC-Vanadzor/ITC-7
9859ebbd0d824d3a480ea281bbdb14edbb6a374e
d2bfcdc3a1faea4cdc1d7e555404445ac8768c66
refs/heads/master
2021-01-17T15:43:29.646485
2019-02-17T19:07:36
2019-02-17T19:07:36
44,699,731
0
4
null
2017-04-13T18:45:36
2015-10-21T19:38:34
JavaScript
UTF-8
C++
false
false
1,342
cpp
k_n_2zero.cpp
//number of 2 zero's combination #include <iostream> #include <cmath> using namespace std; int InputNumber(int limit, char name) { int n1 = limit; while (n1 <= limit){ cout << "Ներմուծել " << limit << "֊ից մեծ " << name << " բնական թիվ՝ " << endl; cin >> n1; } return n1; } void Zero(int *a, int b) {...
b4a85fb8dd67a6ed302ae3e3549da06b73524440
921c689451ff3b6e472cc6ae6a34774c4f57e68b
/llvm-2.8/tools/clang/lib/Checker/CFRefCount.cpp
6fa48b2923fe17575bcab0f6fda43ca51c95e4af
[ "NCSA" ]
permissive
xpic-toolchain/xpic_toolchain
36cae905bbf675d26481bee19b420283eff90a79
9e6d4276cc8145a934c31b0d3292a382fc2e5e92
refs/heads/master
2021-01-21T04:37:18.963215
2016-05-19T12:34:11
2016-05-19T12:34:11
29,474,690
4
0
null
null
null
null
UTF-8
C++
false
false
120,445
cpp
CFRefCount.cpp
// CFRefCount.cpp - Transfer functions for tracking simple values -*- C++ -*--// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
f350952984febe47a0c14cf75fe8b531a460c871
6d2d502e7c98617323e51357d4c907bc47a9a700
/_repo/Bon/BonDlg.cpp
e24faa2ffd12890025f7eca38ec03c2ba4c903ad
[]
no_license
taira3/sample
8c44b5bcbce871fded402c96cebd3f29e5c905b3
b4629198394d99c6875d1bba58943851c778294c
refs/heads/master
2021-01-19T02:35:59.868511
2017-12-03T22:30:24
2017-12-03T22:30:24
63,316,816
0
0
null
null
null
null
SHIFT_JIS
C++
false
false
5,783
cpp
BonDlg.cpp
// BonDlg.cpp : 実装ファイル // #include "stdafx.h" #include "Bon.h" #include "BonDlg.h" #ifdef _DEBUG #define new DEBUG_NEW #endif // アプリケーションのバージョン情報に使われる CAboutDlg ダイアログ class CAboutDlg : public CDialog { public: CAboutDlg(); // ダイアログ データ enum { IDD = IDD_ABOUTBOX }; protected: virtual void DoDataExchange(CDat...
7c1336efa8e5861fd5bf3ec5b689d29d38a6c08e
fa7474550cac23f55205666e13a99e59c749db97
/cryptohome/disk_cleanup.cc
a144fdb0972cfe9bfa15224a37e47a48a2e9b9f2
[ "BSD-3-Clause" ]
permissive
kalyankondapally/chromiumos-platform2
4fe8bac63a95a07ac8afa45088152c2b623b963d
5e5337009a65b1c9aa9e0ea565f567438217e91f
refs/heads/master
2023-01-05T15:25:41.667733
2020-11-08T06:12:01
2020-11-08T07:16:44
295,388,294
0
1
null
null
null
null
UTF-8
C++
false
false
12,346
cc
disk_cleanup.cc
// Copyright 2020 The Chromium OS 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 "cryptohome/disk_cleanup.h" #include <algorithm> #include <cstdint> #include <memory> #include <string> #include <vector> #include <base/log...
2602a66e791767c98b34d50e855d833de598534c
3b183fc148e60195a08dde1cd9271360483dc5c2
/216.combination-sum-iii.cpp
b6ece604fd94c8f6ac19550fa61b5a79e3220b92
[]
no_license
Elliotshui/leetcode_solution
781febc845f346124d1d0f40341d6c228fe83d4a
8fdc95f63e43b4a71ff99e3c4627c12c3379b2b9
refs/heads/master
2022-11-16T02:39:23.211852
2020-07-11T04:59:21
2020-07-11T04:59:21
274,080,469
0
0
null
null
null
null
UTF-8
C++
false
false
963
cpp
216.combination-sum-iii.cpp
/* * @lc app=leetcode id=216 lang=cpp * * [216] Combination Sum III */ // @lc code=start class Solution { public: vector<vector<int>> combinationSum(int k, int n, int s) { vector<vector<int>> res; if(k == 1) { if(n >= s && n <= 9) { res.push_back({n}); }...
b20cc818ffece0b69a57f057ce158c7961be70fb
edc3f27cc4d8076a57d14f49b9664c5486c72c35
/ortc/windows/org/ortc/Error.h
448deffe5829579b463c9dea9888c472f4813736
[]
no_license
jacano/ortc.UWP
b9cc8dc2802081ea9872eb96a92e3568ad8a3aaf
0a717049f7b0970eea8d9939756c3e752a1e2478
refs/heads/master
2022-11-27T06:47:04.065612
2017-09-08T12:38:34
2017-09-08T12:38:34
102,836,778
1
1
null
2022-11-19T03:09:22
2017-09-08T08:16:17
C++
UTF-8
C++
false
false
4,689
h
Error.h
#pragma once #include <ortc/types.h> #include <zsLib/types.h> #include <zsLib/internal/types.h> #define ORG_ORTC_THROW_INVALID_PARAMETERS() {throw ref new Platform::InvalidArgumentException();} #define ORG_ORTC_THROW_INVALID_PARAMETERS_IF(xExpression) if (xExpression) {throw ref new Platform::InvalidArgumentExceptio...
8939a3d7037e5e09999d80105793ca0ae85b5dba
4ca41284a19cc0ccf681327dbbe47b81befd6d75
/BackUp/SpaceObsession/Classes/particles/ShowerParticle.h
8c15fbc15c201b02772ebc31c6d38e9cc90fa586
[]
no_license
droidsde/SillyatomGames
9e82c89a5390c4530f40a63cd7109e4aaeae6729
81e4c49fae9473b664f954bd0e8483ae4d404b2d
refs/heads/master
2020-07-05T01:09:10.928828
2016-04-13T17:12:44
2016-04-13T17:12:44
null
0
0
null
null
null
null
UTF-8
C++
false
false
368
h
ShowerParticle.h
// // ShowerParticle.h // MyCppGame // // Created by Sillyatom on 30/12/14. // // #ifndef __MyCppGame__ShowerParticle__ #define __MyCppGame__ShowerParticle__ #include "cocos2d.h" USING_NS_CC; class ShowerParticle : public ParticleMeteor { public: CREATE_FUNC(ShowerParticle); virtual bool init(); }; #end...
9c051e87aeeacf1f9272fa97e5a2959e6c9924bf
01190a4b1e643077cc8f1ce577d7b31f115f3c7e
/SVGReader/include/parser.hpp
86f490a54f0e3492f756eace8ef05a6fbc20e6f5
[ "MIT" ]
permissive
AHDiniz/CNCImagePlotter
44dd692bc3e7fcc7bc14dc81d3c7e24eb0912d82
d7917d574c3b601047eaa85be924e32d0bfa314b
refs/heads/master
2020-09-05T05:18:18.099135
2019-11-11T19:55:50
2019-11-11T19:55:50
219,994,195
0
0
null
null
null
null
UTF-8
C++
false
false
193
hpp
parser.hpp
#pragma once #include <tinyxml.h> #include "forms.hpp" namespace Parser { const std::vector<Forms::Form*> ReadSVGFile(); const char *GCodeCreator(const std::vector<Forms::Form*> forms); }
812668da35effe60f5d4f6112a386fbde1d10c45
6cc535e7509a399f565c136867af32972368a4f6
/UVa/11549/main.cc
37159b1e599b662e38a4b9cab1cdfa47488943c1
[]
no_license
xr1s/brush-title
645fc50156e43e9be8075579fbec9a92e579aa75
009852b58f902ead926548b39674384aadbdf69b
refs/heads/master
2021-05-23T05:30:44.128454
2018-10-01T02:49:42
2018-10-01T02:49:42
95,035,451
2
0
null
null
null
null
UTF-8
C++
false
false
1,439
cc
main.cc
#include <cstdio> #include <cctype> #include <functional> #include <type_traits> using namespace std; template <typename T, typename = typename enable_if<is_integral<T>::value>::type> T get() { char c; while (!isdigit(c = getchar()) && c != '-'); bool neg = c == '-'; T r = neg ? 0 : c - '0'; while ...
afdc880efc7003ffbf0febc91de9dc09c5885581
a338e09a6d50159c2a21e83bcc7d1c7db140d47e
/qdir-test.cpp
38fb3c4b4f8c347255a45a12c23a2cce177652a7
[]
no_license
dukebw/Qt_Design_Ch4
88b69114be4eab9ca33b64708331e0b67fa9f074
29a24be38d1aaa902124faf34c2f7a79dfc47332
refs/heads/master
2020-05-27T06:21:27.974843
2014-09-30T13:45:08
2014-09-30T13:45:08
null
0
0
null
null
null
null
UTF-8
C++
false
false
667
cpp
qdir-test.cpp
// Tests for QDir #include <QCoreApplication> #include <QDir> #include <QString> #include <iostream> int main(int argc, char *argv[]) { QCoreApplication app{argc, argv}; QDir dir; dir.setFilter(QDir::Files | QDir::Hidden | QDir::NoSymLinks); dir.setSorting(QDir::Size | QDir::Reversed); QFileInfoList li...
d0b9f09e0519b38fc6cf38c9251ca96a7c8be472
e0d94f2461da30b18e3d7123816d37fb96e53b4d
/core/ListParser.h
7318f8e634eafeeddb01695bb18a8942793fa2ac
[]
no_license
ollie314/rulekit
e257e439889efdaf769f63690e92d92dd9bc8d99
cf3ce85679df4e8de7c743739d0c68a1ebb292be
refs/heads/master
2021-01-10T05:55:51.051593
2011-11-23T12:58:31
2011-11-23T12:58:31
48,912,765
0
0
null
null
null
null
UTF-8
C++
false
false
4,840
h
ListParser.h
// // Copyright (c) 2011 Codesign LLC. All rights reserved. // License: GPL v3 // #ifndef NLParser_Test_ListParser_h #define NLParser_Test_ListParser_h #ifdef _M_CEE_SAFE #include "Tokenizer.h" namespace rulekit { value class ListElement { public: bool islist; System::String^ text; ...
f0e51ae92e309d4b9226898d903c7648928e94f8
e9af6102d60621ab77f593e0e7fb3a23cd7c13ca
/Program/source/gui/pairsTab/pairstab.h
dc1736923462535431f46c08c5abc93b64378a36
[]
no_license
NII-APP/NPO
209390838c6dbdc0b6ce647d998936a75876faca
5b5ced5b9a1b9c605243fdcf3440b95f23d5c42f
refs/heads/master
2020-05-30T04:37:52.454852
2016-10-17T12:12:05
2016-10-17T12:12:05
25,005,665
2
4
null
null
null
null
UTF-8
C++
false
false
342
h
pairstab.h
#ifndef PAIRSTAB_H #define PAIRSTAB_H #include <QSplitter> class PairsView; class FEMPairViewer; class PairsTab : public QSplitter { Q_OBJECT public: explicit PairsTab(QWidget *parent = 0); public slots: void acceptNewProject(); private: PairsView* const __view; FEMPairViewer* const __viewer; };...
b57d14ed8b020d5741b1c1841c2b4522f78e648a
31bae5eb9533fd82048615e4cb6f53863cec51e9
/covariance/parallel.h
dcd3b1ec33725cddd197857de5957318410e72c8
[ "MIT" ]
permissive
rufinag/Parallel-Computing
e99f653245c159feec340d893c300db1693edff6
dea47bda6a32fcacec98054e8c34e0d99118b84c
refs/heads/master
2020-09-15T13:21:59.891875
2020-06-26T09:15:25
2020-06-26T09:15:25
223,457,477
0
0
null
2020-06-26T09:15:26
2019-11-22T17:57:23
C++
UTF-8
C++
false
false
2,743
h
parallel.h
//Parallel header #include <omp.h> #include <vector> using namespace std; #define threads 4 //Find the mean of an mxn matrix column-wise vector<double> mean(vector<vector<double>> &mat) { vector<double> avg(mat[0].size(),0); //default value of vector is 0 int j; omp_set_num_threads(threads...