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
dcbcaa0129f325f5de81abbe08821356c03ac7b7
03ea09aa085ff986d5f774ce41e559d38e780cda
/samples/SecuredAmlSubscriber.cpp
2acf560f80439786a1e8da0d6e9e9349f6890bbb
[ "curl", "MIT", "Apache-2.0", "LicenseRef-scancode-public-domain" ]
permissive
mgjeong/protocol-ezmq-plus-cpp
7932ff65e3924f83c9b73f256be6d259915e766b
85159cdc9604216d680c644d83a7135c33eadb94
refs/heads/master
2020-04-07T08:05:22.343527
2020-04-01T06:08:23
2020-04-01T06:08:23
158,200,072
0
3
Apache-2.0
2020-04-01T06:10:23
2018-11-19T10:05:37
C++
UTF-8
C++
false
false
6,022
cpp
SecuredAmlSubscriber.cpp
/******************************************************************************* * Copyright 2018 Samsung Electronics All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at...
c8686b087443597740b6a33d7edbac956ef7a6b3
2a3e204a9fd9c25c91dbe9dcb1e7e4804d493c95
/src/server/scripts/Kalimdor/stonetalon_mountains.cpp
1e29b43f4a4ab9449294844f19fe2ca4b665cda7
[]
no_license
TheGhostGroup/DynastyCore
e724ecb09ecd1ac11531b9be4e8e5de39bd4e074
d2596357e6fad5778b4688b8d84bd3bd073a873c
refs/heads/master
2020-07-26T05:36:59.831552
2019-11-06T00:26:00
2019-11-06T00:26:00
208,549,658
0
1
null
null
null
null
UTF-8
C++
false
false
2,492
cpp
stonetalon_mountains.cpp
//////////////////////////////////////////////////////////////////////////////// // // MILLENIUM-STUDIO // Copyright 2016 Millenium-studio SARL // All Rights Reserved. // //////////////////////////////////////////////////////////////////////////////// /* ScriptData SDName: Stonetalon_Mountains SD%Complete: 0 SDComm...
604adaa2a1bbd415ec9083dc9414a513175f6eda
721b6b6dcf599c7a7c8784cb86b1fed6ca40221d
/src/Leetcode/628_maximum-product-of-three-numbers.cpp
7907a1b2a24b518f40e901912de8a34638e430cf
[]
no_license
anveshh/cpp-book
e9d79dbf899b30aefbbddd5d26b73be178850c23
54c2ceeac916540d919b4d8686cbfbcbcfecf93d
refs/heads/master
2023-03-24T03:02:37.305470
2021-03-10T16:35:39
2021-03-10T16:35:39
null
0
0
null
null
null
null
UTF-8
C++
false
false
546
cpp
628_maximum-product-of-three-numbers.cpp
// https://leetcode.com/problems/maximum-product-of-three-numbers/ #include <iostream> #include <vector> #include <algorithm> using namespace std; class Solution { public: int maximumProduct(vector<int> &nums) { sort(nums.begin(), nums.end()); return (max(nums[0] * nums[1] * nums[nums.size() -...
f1b07ecceadf85df4f6db542ad84bf3d52d71449
e413e4020617f2645f7f3ed89ec698183c17e919
/NuclearSegmentation/NucleusEditor/processor_main.cpp
7ff51dd558286da695d0a6881945b72334aedd3e
[]
no_license
YanXuHappygela/Farsight-latest
5c349421b75262f89352cc05093c04d3d6dfb9b0
021b1766dc69138dcd64a5f834fdb558bc558a27
refs/heads/master
2020-04-24T13:28:25.601628
2014-09-30T18:51:29
2014-09-30T18:51:29
24,650,739
1
0
null
null
null
null
UTF-8
C++
false
false
6,119
cpp
processor_main.cpp
/* * Copyright 2009 Rensselaer Polytechnic Institute * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * Thi...
d9d52c36008665be1c6fa6887307921b04fb11d9
0453ffb96e2c233fb04bb78e59ee70d1e66c22a3
/arrays/product-of-array-except-itself.cpp
fcd733bf4777dc27e7a7370e5c800f37f8f38a2e
[]
no_license
rakshith53/LeetCode-Solution
4f8f08283610c54bf61135d16befad1c264eb054
bba00e9314b4ad36f1831387a9f9fab802562b8b
refs/heads/main
2023-02-15T14:13:04.870369
2021-01-13T08:15:38
2021-01-13T08:15:38
325,224,507
0
0
null
null
null
null
UTF-8
C++
false
false
375
cpp
product-of-array-except-itself.cpp
class Solution { public: vector<int> productExceptSelf(vector<int>& a) { int n =a.size(); vector<int> ans(n,0); ans[0] = 1; for(int i=1;i<n;i++){ ans[i] = ans[i-1] * a[i-1]; } int r = 1; for(int i=n-1;i>=0;i--){ ans[i] = ans[i]*r; ...
e1974b4deccb47510234ad9e85df681f9a010862
d14d446c8617a6cb6c3914e9a64172b0a9319eab
/QLib/ExchangeCallPayoff.cpp
0a1341ba78f5e8c5b7c6932d64fc5c2d6aa8b7d0
[]
no_license
qitianchen/QLib
987a712829dc9c7e66e2bd3a746f93eba958a34a
c85e77f8f2ac97a1030601404daeffce800edb0f
refs/heads/master
2021-01-02T08:19:35.192005
2012-05-22T00:16:22
2012-05-22T00:16:22
4,399,577
0
1
null
null
null
null
UTF-8
C++
false
false
303
cpp
ExchangeCallPayoff.cpp
/* * :ExchangeCallPayo.cpp * * Created on: May 15, 2012 * Author: Administrator */ #include "ExchangeCallPayoff.h" ExchangeCallPayoff::ExchangeCallPayoff() { // TODO Auto-generated constructor stub } ExchangeCallPayoff::~ExchangeCallPayoff() { // TODO Auto-generated destructor stub }
c9d08c28c3a96fdda9a528cde5ca470bddf35407
df2c0b88f25c244a4cca6ea9939673ed951021d4
/17-2/Algorithm/bomb.cpp
c681b74d15926ae1a2e405bc6a44f97bf3a3d996
[]
no_license
gtslljzs/SKKU
4d0586da2455bdc54a4c431933e28446e76bfd8a
dd624f5bb15c9b0d6fc8dce4c460f7310b7802fa
refs/heads/master
2020-06-13T07:36:29.298158
2019-07-01T02:43:18
2019-07-01T02:43:18
194,574,767
0
0
null
null
null
null
UTF-8
C++
false
false
2,852
cpp
bomb.cpp
#include <iostream> #include <cstdio> #include <cmath> #include <vector> #include <queue> using namespace std; struct cor { double x; double y; }; int ctz, shlt; int time, spd; int live; int* c_set; int* s_set; bool* matched; int* depth; vector< vector< int > > graph; double Dist( cor u, cor v ) { return...
0c73edeffe0236d3ebcd0f7ae96f589899c93d79
fd5e72f39e2b5e68088b2edbcb306d0e34b6dc40
/DeferredExecutor.h
cc62e347d26e83beac37c8f62a679be2d9566894
[]
no_license
s1l2/hellozigbee
d9cac3ac2c832d1a7f2c012674a1ade1eacbd509
cb281b2ad3851560b1399f4d3f127fa2bd635e71
refs/heads/main
2023-08-21T00:04:03.378444
2021-11-02T19:28:09
2021-11-02T19:28:09
null
0
0
null
null
null
null
UTF-8
C++
false
false
639
h
DeferredExecutor.h
#ifndef DEFERREDEXECUTOR_H #define DEFERREDEXECUTOR_H #include "Queue.h" #define DEFERRED_EXECUTOR_QUEUE_SIZE 20 typedef void (*deferredCallback)(uint8); class DeferredExecutor { Queue<uint32, DEFERRED_EXECUTOR_QUEUE_SIZE> delayQueue; Queue<deferredCallback, DEFERRED_EXECUTOR_QUEUE_SIZE> callbacksQueue; ...
21d8297715f15575895c16b331df14b5adcf62ab
a718e9a911792155eb99ccfcb1104557458e5323
/ARRAY/1313.DecompressRun-LengthEncodedList.cpp
5ec526bb141fb6e59cdbbce0ac0d322ab87ae9c7
[]
no_license
HarshitaSonkar/LeetCode
e7564c784a968bd32fca2ab601a251647356fc12
808ccbfc33270346c2009cbeb34924d66cd314d3
refs/heads/master
2022-12-08T12:44:47.627784
2020-08-13T11:03:43
2020-08-13T11:03:43
227,737,848
0
0
null
null
null
null
UTF-8
C++
false
false
402
cpp
1313.DecompressRun-LengthEncodedList.cpp
class Solution { public: vector<int> decompressRLElist(vector<int>& nums) { int i; // int j=0; int num; int freq; vector<int>res; for(i=0;i<nums.size();i=i+2){ num=nums[i+1]; freq=nums[i]; while(freq--){ ...
3aaaec4cfcba5382fde59c120d9f72f938d3fa4b
22069dac0dc17447536bad91a158c96165dc9889
/EmbSysLib/Src/MCU/STM32F4xx/Sys/System.cpp
9358c546c666269aec41d99420c5ecb99ce8604e
[ "MIT" ]
permissive
Gagonjh/Embedded-C-Tic-Tac-Toe
6a8168e938e24ccd8ccd83d2d3763b4a97334348
72f0cf1d21877faf633988ff4df680f0ff9284b9
refs/heads/master
2023-06-12T02:56:19.249830
2021-07-09T18:44:27
2021-07-09T18:44:27
375,101,112
0
0
null
2021-07-06T15:24:09
2021-06-08T18:02:43
C
UTF-8
C++
false
false
9,115
cpp
System.cpp
//******************************************************************* /*! \file System.cpp \author Thomas Breuer (Bonn-Rhein-Sieg University of Applied Sciences) \date 23.03.2016 This file is released under the MIT License. \brief Controller specific implementation of class cSystem */ //************************...
74d16ae2daa7d9a1e5bbdb9e1a7cb9dd5c5f0d3c
4d8834a6f7c6b86858a8b2b97992dcc3ab575304
/src/RenderingComponent.h
46ede4c6b4ff86ce248e3bdbf75826c2355ef4cd
[ "Apache-2.0" ]
permissive
WienerTakesAll/WienerTakesAll
b15fd354bec7de05a8e4bbd1ed0c431c341ced95
6accbf6f0ac04cf990134072474e71f2bc59e7d0
refs/heads/master
2021-05-14T10:43:12.116656
2018-04-21T03:15:43
2018-04-21T03:15:43
116,359,750
2
0
Apache-2.0
2018-04-21T03:15:44
2018-01-05T08:10:55
C++
UTF-8
C++
false
false
1,459
h
RenderingComponent.h
#pragma once #include <vector> #include <array> #include "GL/glew.h" #include "SDL_opengl.h" #include "glm/glm.hpp" struct MeshAsset; class TextureAsset; class ShaderAsset; class RenderingComponent { public: RenderingComponent(); //Renders the object from the camera perspective. void render(glm::mat4x4 ...
c289ecee420ae7b5d08c93ed06eef54b24b2fdf4
9126dcad43938cebf4d9807f713bbd4e33d5cb0e
/Base/src/HelloUniverse.cpp
518dbd7a0b522f719c4ce0bc0bafe65cd0a6dca5
[]
no_license
ramrodBongTech/HelloUniverse
4525e409a30cc244937fe1edfef8473b1e892d1c
d151446dc82d8141eaa95d8c09125619e1e34872
refs/heads/master
2021-01-10T05:39:30.159729
2015-12-17T20:33:26
2015-12-17T20:33:26
45,102,373
0
0
null
null
null
null
UTF-8
C++
false
false
11,982
cpp
HelloUniverse.cpp
// HelloUniverse.cpp : Defines the entry point for the console application. /////////////////////////////////////////////////////////// // Headers //////////////////////////////////////////////////////////// #include "stdafx.h" #ifdef _DEBUG #pragma comment(lib,"sfml-graphics-d.lib") #pragma comment(lib,"sfml-audi...
b132c88ffa913d0ba8552c7015ec7a141ceb344d
fbb80b23423ce0fac2abda61ee9ee46164e1371e
/ListaDobleEnlazadaCircular/Impl/Main.cpp
220e4a38cd80b3e23f789504ef39f3e10e496482
[]
no_license
svilerino/Algoritmos-II
ccae33536c19b0936545f4118d78d1b078d9962e
e55ca55a07807f77302045a67d25c282c122a476
refs/heads/master
2021-01-10T03:14:00.031227
2014-05-08T14:22:02
2014-05-08T14:22:02
19,576,072
0
1
null
null
null
null
UTF-8
C++
false
false
1,199
cpp
Main.cpp
/* * Main.cpp * * Created on: 17/04/2013 * Author: Sil */ /* #include<iostream> #include "../Header/Lista.h" using namespace std; void agregarNodo(); void eliminarNodo(); void modificarNodo(); string obtenerDato(); Lista<string> list; int main(int argc, char** argv){ int opcion=-1; ...
b608f4e9f80a3bc82a2b457ff6b92576ef8366ea
4cdee6597d1801e02a1d359f8444c5de8816f8e5
/device/DShowCature/DSAudioCapture.h
3b270c3071e986f80ece764ee6681c92a21dc960
[]
no_license
dulton/mediafactory
d759c3e2bd5a3e98474c5625fe9a28c27ef68bdd
a704e2a9776a7bbbc166bbe72713013f4c3bd64c
refs/heads/master
2021-06-23T22:11:49.075266
2017-09-11T03:36:00
2017-09-11T03:36:00
103,251,070
0
1
null
2017-09-12T09:33:20
2017-09-12T09:33:20
null
UTF-8
C++
false
false
1,026
h
DSAudioCapture.h
#ifndef _DS_AUDIOCAPTURE_H_ #define _DS_AUDIOCAPTURE_H_ #include "dscapture.h" class DSAudioGraph; class DSAudioCaptureDevice; //class AudioEncoderThread; struct DSAudioFormat { unsigned int samples_per_sec; unsigned int bits_per_sample; unsigned int channels; }; class DSAudioCapture : v...
7dccf1b2bd23ffa35f341df33d953859103c52f1
141a062e750ad1fe5b3527ff8f3bb46325acc637
/Students/abhaysanand/2project/WaterLevel/WaterLevel.ino
972064a87a3aced27efaa9cc61275d95f8d4e1b1
[]
no_license
CourseReps/ECEN489-Fall2015
7edcd364cc639ea1207858dae964a96ba7ee1577
a3d3aee3605733ce560e5dfd7ec6729efc0bbef8
refs/heads/master
2020-04-06T04:34:42.360507
2015-12-11T00:39:18
2015-12-11T00:39:18
41,399,470
10
11
null
2015-09-06T09:11:00
2015-08-26T02:23:00
C++
UTF-8
C++
false
false
489
ino
WaterLevel.ino
#define IRin A0 #define ALPHA 0.0042 void setup() { pinMode(IRin, INPUT); Serial.begin(9600); } void shortFilter(double *out, double in, double t) { double out1 = *out; out1 = ((in - out1) * t) + out1; *out = out1; } void loop() { static unsigned int a = 0; a++; static double IRvalFilt = 0; doub...
eb1762fc6ab955b04ddb2d24ce4649eb1bc04238
b2b23771e540ab459eb1ab20c32a9238ae4535e8
/Subsets/Subsets.h
e08f22ebb6bef176b423710055d9cb6fee7b2edf
[]
no_license
rsghotra/JUL_2021_DSA
8485de6585b074de68e8f424c650f035ef73b892
d5298e4353f14cc4a907c84f801c31cdf514a013
refs/heads/master
2023-08-16T22:55:44.005874
2021-09-19T18:42:32
2021-09-19T18:42:32
382,127,300
0
1
null
null
null
null
UTF-8
C++
false
false
1,361
h
Subsets.h
#ifndef SUBSETS_H #define SUBSETS_H #include<iostream> #include<vector> #include<algorithm> #include<unordered_map> #include<queue> using namespace std; class ParanthesisString { public: string str; int openBkt = 0; int closeBkt = 0; ParanthesisString(string str, int open, int close) { this->str = str; ...
b0d1e33240e2a04e0c743bd88fbf24a965867b90
af0ecafb5428bd556d49575da2a72f6f80d3d14b
/CodeJamCrawler/dataset/08_20614_24.cpp
09eb07f22a95dbd1ca16d801f3260a19ff6aabe9
[]
no_license
gbrlas/AVSP
0a2a08be5661c1b4a2238e875b6cdc88b4ee0997
e259090bf282694676b2568023745f9ffb6d73fd
refs/heads/master
2021-06-16T22:25:41.585830
2017-06-09T06:32:01
2017-06-09T06:32:01
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,997
cpp
08_20614_24.cpp
#include <cstdio> #include <cmath> #include <algorithm> #include <iostream> using namespace std; int x, y, min1, min2, max1, max2, top1, down1, top2, down2; int task,n, m, num, dat[10000][2]; char st[100]; int main(){ freopen("A-small-attempt1.in","r",stdin); freopen("a.out","w",stdout); scanf("%d\n",...
db19cbcc3c0fc3ccd28682aad6f8dd4cae01540b
09eaf2b22ad39d284eea42bad4756a39b34da8a2
/ojs/codeforces/599/A/A.cpp
86a6704039915a39ceac9f169b3cbacc5a5d8ac9
[]
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
257
cpp
A.cpp
#include <bits/stdc++.h> using namespace std; int a, b, c; int ans; int main () { scanf("%d %d %d", &a, &b, &c); ans = a+b+c; ans = min(ans, a+a+b+b); ans = min(ans, a+a+c+c); ans = min(ans, b+b+c+c); printf("%d\n", ans); }
bb0e21641bef7f8ff50af98cc5a4d07fc102809f
3ce84c6401e12cf955a04e3692ce98dc15fa55da
/core/geometry/planeFrame.cpp
5238177d2af25d738f09730e9f2929f0fdea4a73
[]
no_license
PimenovAlexander/corecvs
b3470cac2c1853d3237daafc46769c15223020c9
67a92793aa819e6931f0c46e8e9167cf6f322244
refs/heads/master_cmake
2021-10-09T10:12:37.980459
2021-09-28T23:19:31
2021-09-28T23:19:31
13,349,418
15
68
null
2021-08-24T18:38:04
2013-10-05T17:35:48
C++
UTF-8
C++
false
false
25
cpp
planeFrame.cpp
#include "planeFrame.h"
ac5b96864107d99a4f34931d21a0b5b1e949dbfe
5db060ee3dcdff9de197180acfb0de17c97ef8c0
/sieve_linear.cpp
77fb7d01c27664e9e6a63fe6d3e1d225ae1a6e92
[]
no_license
DeveloperNasima/Number_Theory
2865d26c8d060580d05cf5a4f440cd63b5e06032
d0e0e338aa7272ab2999554fd748af7acb523c03
refs/heads/main
2023-07-06T09:36:41.738187
2021-08-11T01:56:49
2021-08-11T01:56:49
396,993,382
1
0
null
2021-08-16T22:19:04
2021-08-16T22:19:03
null
UTF-8
C++
false
false
420
cpp
sieve_linear.cpp
#include<bits/stdc++.h> using namespace std; const int LMT =1e7+7; int pf[LMT]; //Smallest prime factor vector<int> prime; void linear_sieve() { for(int i=2; i<LMT; i++) { if(pf[i]==0) pf[i]=i,prime.push_back(i); for(int j=0; j<(int)prime.size() && prime[j]<=pf[i] && i*prime[j]<LMT; j++) ...
7acfa75ab70a2013225fe48c49a21937ae2526da
7bb19ed054d6557a0dafe64a5b99ca5f7aae7f96
/src/53.最大子序和dp.cpp
b507fdd8cb2dfb6cdfb5575460ce66e64e27914e
[]
no_license
hoshinotsuki/leetcodeSolution
da329b8977fc67c14dbb7303801ef289469c3eb3
f29c64c6f322980cfde62693c119e84f668bfd51
refs/heads/master
2020-04-24T09:09:14.575801
2019-04-10T13:33:19
2019-04-10T13:33:19
171,854,023
3
0
null
null
null
null
UTF-8
C++
false
false
958
cpp
53.最大子序和dp.cpp
/* * @lc app=leetcode.cn id=53 lang=cpp * * [53] 最大子序和 * * https://leetcode-cn.com/problems/maximum-subarray/description/ * * algorithms * Easy (42.37%) * Total Accepted: 41.2K * Total Submissions: 95.7K * Testcase Example: '[-2,1,-3,4,-1,2,1,-5,4]' * * 给定一个整数数组 nums ,找到一个具有最大和的连续子数组(子数组最少包含一个元素),返回其最大...
2fd0d94c4a488bc273a47f2ac2469399d98adc2d
acdde1143c79084f33bd00e0b1c49f7364540662
/src/include/usr/hwas/common/vpdConstants.H
9461550e949eec72cb37d37ff6ada660689eb808
[ "Apache-2.0" ]
permissive
dongshijiang/hostboot
1329be9424dbd23325064cb89f659d7e636fb1ff
f1746c417531b1264be23a8dcf1284ae204f6153
refs/heads/master
2023-06-15T16:05:09.961450
2021-06-29T21:04:03
2021-07-06T20:33:51
385,787,842
0
0
NOASSERTION
2021-07-14T02:13:08
2021-07-14T02:13:08
null
UTF-8
C++
false
false
8,866
h
vpdConstants.H
/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/include/usr/hwas/common/vpdConstants.H $ */ /* ...
38426734132aaf4ef3aab975bdb2b28a70cddbd9
e0b89d00d436de0e708554f33ef761b5fc51c5cc
/Pointers/DynamicMemoryAllocation.cpp
3df02538ebb3b95e6442b3ee9fa3d5485288d29c
[]
no_license
JaveedYara72/Code-For-Data-Structures-and-Algorithms-Written-in-C-
6c78fbda09ca953b3e68301057524974c9df9387
3d3911fcce4a5be65793d62d48c187c528cba49d
refs/heads/master
2023-01-11T02:48:45.506985
2020-11-14T18:08:45
2020-11-14T18:08:45
287,501,592
1
4
null
2020-10-05T11:01:37
2020-08-14T09:58:37
C
UTF-8
C++
false
false
376
cpp
DynamicMemoryAllocation.cpp
// Dynamic Memory Allocation int n; cin >> n; int* a = new int[n][0]; //All Elements are Zeroes. for (int i = 0; i < n; i++) { cin >> a[i]; cout << a[i] << " "; } //Create 2d Array Dynamically int **arr; cin>>r>>c; arr = new int[r]; for(int i=0;i<n;i++){ arr[i] = new int[c]; } for(int i = 0;i<r;...
6ca87165bca3c916b0d549fdcef6ed29eb79db11
c06390961e303682bd90add6ded4ae151616b3a3
/operator.cpp
3a41c7cfdf9d850608189f9b1a4c12815789ee9f
[]
no_license
vishnuprajapati1999/Rational
9a293a4925a0738c5547d5b17a4cb1dcfe99cdb2
f9dfd7bb3ad2f4bfffe6cf6617515d48e31db8c5
refs/heads/master
2020-04-18T11:42:03.431817
2019-01-25T08:12:25
2019-01-25T08:12:25
167,510,241
1
0
null
null
null
null
UTF-8
C++
false
false
7,102
cpp
operator.cpp
/* this is program for calculate arithmatic problems of rational numbers Made by Vishnu Prajapati Vilnius Kolegija Date:24/01/2019 */ #include<iostream> //adding header file using namespace std; //for using standard function from header files class Complex //defining class named Complex { private: ...
4bb864b246e6882aca5cbe6e5b3e478a8424683c
22da83ee2d8c9d0c63bd48f2245b99c2149e0398
/graph_stats/input.hh
cf206a1f28f56356bd220c060ccf4073fac3ddae
[]
no_license
dilkas/maximum-common-subgraph
e67cf25c2dbcb469418a916f0ab414a58343c821
366516b6a380e5f3d30beba77afa64b3cb96491b
refs/heads/master
2022-04-06T13:37:25.620595
2019-12-26T16:53:35
2019-12-26T16:53:35
104,836,115
3
0
null
null
null
null
UTF-8
C++
false
false
721
hh
input.hh
/* vim: set sw=4 sts=4 et foldmethod=syntax : */ #ifndef GUARD_INPUT_HH #define GUARD_INPUT_HH 1 #include "graph.hh" #include <string> /** * Thrown if we come across bad data in a graph file, or if we can't read a * graph file. */ class GraphFileError : public std::exception { private: std::strin...
24029ce2875feb775a5af5c5c984ac482e967ae8
2873931ff19ed91af7e13073b74d9895fbc5f20d
/C++/my_unique_ptr.cpp
65d93ddf7f3043d6a023dcece07fd62c6e48771c
[]
no_license
rahuljain81/Algorithms
f1eafad90b3b37893a663092843978b9125ffc4d
32312c51814fefeba717037c343c138b7c393293
refs/heads/master
2021-06-18T05:23:42.485612
2021-03-07T15:55:07
2021-03-07T15:55:07
59,131,217
0
0
null
null
null
null
UTF-8
C++
false
false
1,593
cpp
my_unique_ptr.cpp
//Compile using: g++ -std=c++11 my_unique_ptr.cpp #include <iostream> #include <vector> using namespace std; template <class T> class my_unique_ptr { private: T* ptr = nullptr; public: my_unique_ptr(): ptr(nullptr) //default constructor { cout << __func__ << __LINE__<< endl; } my_unique_ptr (T* _pt...
abf89eee4a39085a6cec48f37c8346aef0759072
87afcd0e60452c44686a4c313ea63b82f93eb6f2
/myDockTitleBar.h
a08ab145c95a13dd61d28c6f10cde3be466e53a5
[]
no_license
519984307/FaceModel
6a9b024c7160df470650d92b6f933fb41a9fc4ac
ffb869d20cdba64caf516468c4828b2781830cb7
refs/heads/master
2023-03-16T23:03:15.978846
2019-09-05T00:39:48
2019-09-05T00:39:48
null
0
0
null
null
null
null
UTF-8
C++
false
false
667
h
myDockTitleBar.h
#pragma once #include <QWidget> #include <QSize> #include <QDockWidget> #include <QMouseEvent> #include <QWidget> #include <QPainter> #include <QPaintEvent> #include "qdebug.h" #include <QStyle> class MyDockTitleBar : public QWidget { Q_OBJECT public: MyDockTitleBar(QWidget *parent); ~MyDockTitleBar(); QSi...
91659b899effbd17ac60f772c645439c24e32f6c
f0edfc17bbddeca80afc8cca7e06c4878868ce2a
/Wavelet.cpp
669973646df71e995fe40d4aaec885cdc47e5857
[]
no_license
wenglihong/Digital-Image-Processing
1afcb8ed96136a421a38b6d3b525b7eb3983dc8e
1ccd2ce9136e6982c106a2b0630912ec422ef9d9
refs/heads/master
2021-01-10T02:16:56.779888
2015-11-12T15:04:42
2015-11-12T15:04:42
46,060,059
0
0
null
null
null
null
GB18030
C++
false
false
7,502
cpp
Wavelet.cpp
#include <opencv2/imgproc.hpp> #include <opencv2/highgui.hpp> #include <iostream> #include <stdio.h> #include <string> #include <fstream> //文件输入输出流 using namespace cv; using namespace std; Mat WDT(const Mat &_src, const string _wname, const int _level); Mat IWDT(const Mat &_src, const string _wname, const int _level)...
4a273e1f531a13476123241d4ec00b6c2beec734
acff1e354047becf999e10154bac01dbf210cd4c
/Chapter-14-Overload-Conversion/ex14.28-StrBloTest.cpp
6d9b04658d38fd3092b07351ef558e6adaf44ed5
[]
no_license
middleprince/CPP-Primer
e1f6440a6aa4c11d9f3b3b0b88579d2294d2ef53
345d99a4b3f41aab24598edc61a01b6f09f0ab61
refs/heads/master
2021-06-25T00:28:01.014655
2021-01-18T13:27:38
2021-01-18T13:27:38
189,856,807
0
0
null
null
null
null
UTF-8
C++
false
false
417
cpp
ex14.28-StrBloTest.cpp
#include "ex14.28.StrBlob.hpp" int main() { StrBlob strs{"one", "two", "three", "four"}; StrBlobPtr p = strs.begin(); cout << " Test output *(p+2), which should be three" << endl; cout << *(p+2) << endl; cout << "Test *(p-2), which should be : one" << endl; cout << *(p-2) << endl; ...
0759600df49e07a63b992d9fa877deb2d0db8c90
4607a055d1933dec127e9dc218b7e6d26a006668
/LeetCode_559_Maximum_Depth_of_N_Ary_Tree.cpp
60b089c97cbd136bc3062dc9fb10544eb6c05ecb
[]
no_license
sonugiri1043/LeetCode
63c71e518e10c54d363740b4580b4e620d3fdf05
12cdf4f8d1cd2cc5f4f08e4f5cf037b45254d5bb
refs/heads/master
2021-08-16T21:52:11.590306
2020-06-05T21:22:23
2020-06-05T21:22:23
190,054,927
2
0
null
null
null
null
UTF-8
C++
false
false
447
cpp
LeetCode_559_Maximum_Depth_of_N_Ary_Tree.cpp
/* 559. Maximum Depth of N-ary Tree Given a n-ary tree, find its maximum depth. The maximum depth is the number of nodes along the longest path from the root node down to the farthest leaf node. */ class Solution { public: int maxDepth( Node* root ) { if( !root ) return 0; int maxHeight = 0; fo...
42041b894b5a45670b75c6787fa868ca0b2cf5a4
29c52497fbefbd7159f4d3578569df6d084644a0
/Jekyll/src/Jekyll/Log.h
b5a88e044a2566a156dcc26cc33205f89ee09c2a
[]
no_license
shyde8/Jekyll
68347be5cb30d9881f5ac7501703288195c0f8e4
d7b4af5f180d575a53ec70432f46b76e6a779593
refs/heads/master
2022-11-25T01:04:37.545873
2020-07-20T00:13:38
2020-07-20T00:13:38
269,854,705
0
0
null
null
null
null
UTF-8
C++
false
false
1,686
h
Log.h
// TODO // // 1. write messages to alternative locations (VS, file. in-game console) // 2. specify location in window to write messages // 3. LogLevel enum ??? // 4. additional log categories (i.e. Fatal) // 5. add argument parameters to the Log functions // 6. ability to take in inputs aside from string, similarly to ...
6aede9a1b8acc7413b68ed5bb498de066f06f0b6
e8dcd07cf66ed08a0cedf45c51ad11fbd1a77d2f
/engine/src/components/private/postprocessorsettings.cpp
9ef36507affc22d762846ca8b1955a99f62b4179
[ "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
asdlei99/thunder
486886321f23a71bc25024569b4a8c0646190e33
05df8dcfafb1e9618111e4fd758800f38a44a84a
refs/heads/master
2023-08-23T09:45:14.456135
2021-11-04T14:09:29
2021-11-04T14:09:29
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,112
cpp
postprocessorsettings.cpp
#include "components/private/postprocessorsettings.h" PostProcessSettings::PostProcessSettings() { } map<string, Variant> &PostProcessSettings::settings() { return s_settingsMap; } void PostProcessSettings::registerSetting(const string &name, const Variant &value) { s_settingsMap[name + "_override"] = false...
ed2968fc8486001f4a9338244fd66e96a0429ad6
d8e24b69c17777a7d1571a10378be7a2b90f6fd6
/dawn/src/dawn/Optimizer/PassDataLocalityMetric.h
8d7a03b91a302620b12214663893877effd00f8c
[ "MIT" ]
permissive
MeteoSwiss-APN/dawn
7f79ee9bca9cf3c658ae88b656ea5367ebd5e897
d400a38caebe25fb94654c02c3bdb0349d7e3929
refs/heads/master
2023-04-06T16:43:59.627598
2023-03-20T11:52:15
2023-03-20T11:52:15
104,239,379
28
20
MIT
2022-12-12T14:01:31
2017-09-20T16:17:56
C++
UTF-8
C++
false
false
1,773
h
PassDataLocalityMetric.h
//===--------------------------------------------------------------------------------*- C++ -*-===// // _ // | | // __| | __ ___ ___ ___ // / _` |/ _` \ \ /\ / / '_ | // | (_| | (_| |\ V V /| | | | // ...
967b6214407635f8f7f1972fe57d19f58432a467
cebdfc7cda0b86ab32bb7e0637a35aa1c8e69d82
/src/link-templates.cc
b535c4b3017eb4897aead048618eb4f95fc8bb14
[]
no_license
mbkulik/remy
6df7a28335698170417468e554005ee75e6dfbf7
8bb1a6662a9d7a7800ce60c93a4e4b0af352623b
refs/heads/master
2021-01-18T02:06:47.243237
2015-12-17T23:27:44
2015-12-17T23:27:44
48,203,476
0
0
null
2015-12-17T23:18:51
2015-12-17T23:18:51
null
UTF-8
C++
false
false
345
cc
link-templates.cc
#include <utility> #include "link.hh" using namespace std; template <class NextHop> void Link::tick( NextHop & next, const double & tickno ) { _pending_packet.tick( next, tickno ); if ( _pending_packet.empty() ) { if ( not _buffer.empty() ) { _pending_packet.accept( _buffer.front(), tickno ); _b...
816bd7a5e035e6b5827cf2b980ef784616b6e28e
ee09f5e6596f9ec3ebaf2b508d10dea3803cc561
/src/Plugins/hardlight/Instructions_Detail.h
1977210172c068a3907016ad523d207745a4e249
[ "MIT" ]
permissive
cwaldren/HL-engine
38100c1f8781a808d1ab20660658fc74a384c267
0a303759eaed6331e4e0022f59d71fd2cc5c4379
refs/heads/master
2020-04-21T15:54:04.610745
2019-02-08T04:35:06
2019-02-08T04:35:06
169,682,868
0
0
MIT
2019-02-08T04:07:46
2019-02-08T04:07:46
null
UTF-8
C++
false
false
1,234
h
Instructions_Detail.h
#pragma once #include <cstdint> namespace inst { template<typename T> struct param { uint8_t value; explicit param(uint8_t val) : value(val) {} }; #define PARAM(name) struct name##_t {}; using name = param<name##_t> //This is necessary to do packet serialization //We basically loop over N tuple values, a...
a11a466f4ee121c0ac6483e717631065260e8f14
b2ac2cc956c5b7dc8a38e7a44364d0282241ed8e
/tags/release-0.9.6a/Sources/MP2PEvents.h
ef2f5d563894f97b57a92c9984638f91dfb6f9ef
[ "BSL-1.0" ]
permissive
BackupTheBerlios/japi-svn
b2a9971644a4740d10aef614e09f3fdd49e8460d
f9a5b284e285442b485ef05824ed8e55499c8d61
refs/heads/master
2016-09-15T17:14:35.504291
2010-12-03T11:39:25
2010-12-03T11:39:25
40,801,061
0
0
null
null
null
null
UTF-8
C++
false
false
11,996
h
MP2PEvents.h
// Copyright Maarten L. Hekkelman 2006-2008 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) /* $Id: MP2PEvents.h 119 2007-04-25 08:26:21Z maarten $ Copyright Hekkelman Programmatuur b.v. ...
1d715e6559bdfc03d9eacec361702498a9cb8701
f28c4352af0bf398a0d97ba466a0d42ef115a328
/src/Alg/NonRigid/NonRigidWrapper.h
1dfe68de44738342a5a9dc77cf055e003998d3dc
[]
no_license
fwzhuangCg/cranioviewer
b5152fed0b1d8d8ba979a092cadf598a1f278b7c
4659f25f234e3de3ce178105d02c4ffe1d7202e1
refs/heads/master
2021-05-28T15:01:53.244245
2015-04-09T19:24:15
2015-04-09T19:24:15
null
0
0
null
null
null
null
UTF-8
C++
false
false
365
h
NonRigidWrapper.h
#ifndef NonRigidWrapper_H #define NonRigidWrapper_H #include <QObject> #include "NonRigid.h" class NonRigidWrapper : public QObject { Q_OBJECT public: NonRigidWrapper(); ~NonRigidWrapper(); NonRigid *getNonRigid() { return non_rigid; }; void NonRigidIter(); signals: void updateRenderers(); ...
c9a02be34491bdcdf997a661a9de3abfa591305b
aae79375bee5bbcaff765fc319a799f843b75bac
/atcoder/abc_233/d.cpp
f110ba35dbaca879a9c1ad957a8590499035b0b6
[]
no_license
firewood/topcoder
b50b6a709ea0f5d521c2c8870012940f7adc6b19
4ad02fc500bd63bc4b29750f97d4642eeab36079
refs/heads/master
2023-08-17T18:50:01.575463
2023-08-11T10:28:59
2023-08-11T10:28:59
1,628,606
21
6
null
null
null
null
UTF-8
C++
false
false
625
cpp
d.cpp
#include <algorithm> #include <cctype> #include <cmath> #include <cstring> #include <iostream> #include <sstream> #include <numeric> #include <map> #include <set> #include <queue> #include <vector> using namespace std; int64_t solve(int64_t N, int64_t K, std::vector<int64_t> A) { int64_t ans = 0, sum = 0; map<int64...
669f007634a5f452c2cf51c7baf469982085159f
c51febc209233a9160f41913d895415704d2391f
/library/ATF/CNationSettingFactoryUSInfo.hpp
c12f9235d75fddbb04bc9e14566add7f4548611c
[ "MIT" ]
permissive
roussukke/Yorozuya
81f81e5e759ecae02c793e65d6c3acc504091bc3
d9a44592b0714da1aebf492b64fdcb3fa072afe5
refs/heads/master
2023-07-08T03:23:00.584855
2023-06-29T08:20:25
2023-06-29T08:20:25
463,330,454
0
0
MIT
2022-02-24T23:15:01
2022-02-24T23:15:00
null
UTF-8
C++
false
false
916
hpp
CNationSettingFactoryUSInfo.hpp
// This file auto generated by plugin for ida pro. Generated code only for x64. Please, dont change manually #pragma once #include <common/common.h> #include <CNationSettingFactoryUS.hpp> START_ATF_NAMESPACE namespace Info { using CNationSettingFactoryUSctor_CNationSettingFactoryUS2_ptr = vo...
7f6a6ca42d29622cc5a792145d6211d15929a2a5
431217262b641ead28075c4f58a71a6d4ed4ffdd
/object/Object3D.h
2682d60d4e842e3f8f37be77a3490b79e92ce3e8
[]
no_license
dbsGen/grender
d35ff1f5a421f9e83aacbaa60c21ff2b9e46cbd4
ccc756cd821109e5720ca03c081f26bb401e647d
refs/heads/master
2021-07-12T04:17:01.535548
2018-12-26T16:53:14
2018-12-26T16:53:14
113,476,610
2
0
null
null
null
null
UTF-8
C++
false
false
12,310
h
Object3D.h
// // Created by gen on 16/5/30. // #ifndef HIRENDER_OBJECT_H #define HIRENDER_OBJECT_H #include <material/Material.h> #include <mesh/Mesh.h> #include <core/Ref.h> #include "../math/Type.h" #include <core/Array.h> #include <core/Object.h> #include <render_define.h> namespace gr { class Linker; class Rendere...
1c56b3c78a008391467bff365f8344d2f3e71003
332d8082ccef512619322afd924dd9f2a2e46d13
/src/client.cpp
c6e5097ad3205da1ed435def75ef1a0422b622d3
[]
no_license
aaronvark/GearVR-OSC-Handshaker
d0582ce360faf48595af8761f8fad44a3cb94ee2
cfd86e4ad199a6c54afffbc4a338282dd1cf1759
refs/heads/master
2020-12-24T07:17:13.156391
2017-01-19T10:38:42
2017-01-19T10:38:42
73,373,773
0
1
null
null
null
null
UTF-8
C++
false
false
1,271
cpp
client.cpp
// // client.cpp // GearVR_OSC-Handshaker // // Created by Aaron Oostdijk on 07/12/2016. // // #include "client.h" Client::Client( string name, string ip ) { ipaddress = ip; objectName = name; setup(); } void Client::setup() { //del button delButton = ofRectangle(-18,-10,12,12); //fon...
d4e8f56225a6157099505a43699c6e1338358847
c00cf697a5430de79682a60b8eb934dacc08d58d
/QtDbTemple/util/ConfigUtil.cpp
f5a9c39d0eadb2307275afc5165592d4b30e38e5
[]
no_license
zsk2016/AkCtkFrame
6e6cac8561c1803cb3c8051a79a69065ab20e0ff
1954865ccff21fce26b1d3e03b7ca1af888f6146
refs/heads/master
2020-04-29T02:48:22.619614
2019-03-15T10:21:42
2019-03-15T10:21:42
175,784,112
2
0
null
null
null
null
UTF-8
C++
false
false
1,622
cpp
ConfigUtil.cpp
#include "ConfigUtil.h" #include "Singleton.h" #include "JsonUtil.h" ConfigUtil::ConfigUtil() { m_config = new JsonUtil(":/resource/SqlConfig.json"); } ConfigUtil *ConfigUtil::ConfigUtil::createInstance() { return new ConfigUtil; } ConfigUtil::~ConfigUtil() { delete m_config; } ConfigUtil *ConfigUtil::g...
3c73bacf3cc51544f4e5343334b6b03b64a969e7
948e8b1872d57a7a2599f3542e4fb7b6722e5a64
/visual/code/readv4wt.cc
92413ebc30a255b81fa3a0f799c8987aca30849a
[ "LicenseRef-scancode-public-domain" ]
permissive
govtmirror/lsnm
949e710d782c6783ee5eb136b0a663555cbe774b
c1f54bda00c9b2185e977bbbf4a41b1ec1e2d3b3
refs/heads/master
2021-01-13T03:04:58.951726
2015-06-11T16:10:21
2015-06-11T16:10:21
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,590
cc
readv4wt.cc
/* rev. 8/98*/ /* readv4wt.cc reads the v4 to IT weight files and generate a new weight file, where the weight is the original weight*scale e.g. If we want to generate eg4c to exgt (left v4 excitatory, corner to left IT excitatory), the original weight file is ev4c.wt, and scale = 0.75 at the command line, type: re...
a0722931cf45d4c0ad5fa840f88786a1b646bfa1
8db5520ab467537358646c1b9eca1600cf19e256
/testclick.cpp
6da7b888a228e5a66ff2fd2e4e1e3dfcc95f0fe3
[]
no_license
Zaburunier/MT_HW
1f7b15359dd193fae3aa9620414935a2f8fff263
47f1736baf7c118198f39192ac55c432381c2aa2
refs/heads/master
2023-05-10T09:49:13.663667
2021-05-31T20:50:04
2021-05-31T20:50:04
370,238,817
0
0
null
null
null
null
UTF-8
C++
false
false
52
cpp
testclick.cpp
#include "testclick.h" TestClick::TestClick() { }
81d3f7f46657305b31c92f0c42eca1fcc89c54e4
935e9171748868d2f23f42020ddc3978d7b769dd
/Arduino/GTNR_Motor_Controller_Demo/GTNR_Motor_Controller_Demo.ino
d0487398689b3613b5e9c88283bf1b690f22d50f
[]
no_license
farzonl/gtnr
c51742df08b829efa9dfa1714a0fde9fe58f02fb
d075aec1ad6649171906cb9da53ece0a47ddaf4e
refs/heads/master
2020-04-06T04:31:34.165329
2019-09-07T09:04:40
2019-09-07T09:07:49
35,507,238
0
0
null
null
null
null
UTF-8
C++
false
false
6,203
ino
GTNR_Motor_Controller_Demo.ino
#include "DFRduino_KeyLib.c" #include "GTNR_Motor_Controller.h" #include <Encoder.h> #define DEBUG_SPEED 1 #define DEBUG_DISTANCE 0 #define DEBUG_PHOTOCELLS 0 #define DEBUG_IR 0 #define NUM_PHOTOCELLS 4 #define NUM_IR 2 Encoder left_motor(10,11); Encoder right_motor(8,9); long positi...
f304ec618d8a2293b353a06a5624af7ad643c762
ae90cc886f57eaadb3700e33276feb97f83d778c
/Arduino/Controller_Steuerung/SendPC.h
7f342154366346dbdd146e0456a5b28bb5af7b23
[]
no_license
ModellbahnFreak/ArduinoGameController
172462a9d5e1339467f83e65cea831e80b66b4ec
c6bbe0ac74eb3a6739de2eb257e012ffc83748f2
refs/heads/master
2020-03-22T01:32:09.511815
2018-07-01T13:44:40
2018-07-01T13:44:40
139,311,822
0
0
null
null
null
null
UTF-8
C++
false
false
1,926
h
SendPC.h
/* Arduino SendPC Library * Entwicklung Georg Reißner, 2018 * HINWEIS: BITTE BEI NUTZUNG DER LIBRARY DEN * SERIELLEN PORT DES ARDUINO NICHT NUTZEN! * Sendet und Empfängt Daten für verschiedene * Sensoren und Aktoren von/zum PC, wo eine ähnliche * Library die Daten entgegennimmt * Die Lirary enthält einen Puffer ...
cd98f20c0fe1c5944fb63010345870a0379e3057
2393ed50ddb6fda3b5fa91bde1b8f468297f7331
/lib/Parser/src/Parser.cpp
54d01c461605fa4bf4beaa744fb0a41e2600d7f8
[]
no_license
tschabo/embroider-g
6ef4dd4ee89451c1b0425cd73c4d8e4403ee9782
10e64832dc8cc1467902856e9c98b5287435532a
refs/heads/master
2023-03-06T06:22:17.098387
2021-02-14T22:44:28
2021-02-14T22:44:28
335,725,480
0
0
null
null
null
null
UTF-8
C++
false
false
1,767
cpp
Parser.cpp
#include "Parser.h" #include "stdlib.h" Parser::Parser() { } void Parser::parseCommand(char command) { auto c = static_cast<decltype(Command().command)>(command); switch (c) { case Command::move: _state = findX; _currentCommandBuffer.command = c; break; case 'd': // disable...
1e99519711656a725271b32121cfbd76e65ed423
c48159e39819d31a0cc15a28d3b9566908fdd218
/src/section.cpp
9a4a1a5a21cf148fd19906c6307821d41d6df26a
[ "MIT" ]
permissive
SemaiCZE/inicpp
ac5e5498eb2ebe7ed16af395cc052eb604e10694
00883c8cbf610f05e2a488e168eef6e67b39db39
refs/heads/master
2022-09-03T20:12:09.364240
2022-07-16T10:11:36
2022-07-16T10:11:36
54,846,992
58
21
MIT
2022-07-16T10:11:37
2016-03-27T20:35:52
C++
UTF-8
C++
false
false
4,483
cpp
section.cpp
#include "section.h" namespace inicpp { section::section(const section &source) : options_(), options_map_(), name_(source.name_) { // we have to do deep copies of options options_.reserve(source.options_.size()); for (auto &opt : source.options_) { options_.push_back(std::make_shared<option>(*opt)); } // w...
ebff0534148040f859c73e334415c1234576d72e
a2c3028bbb015596e6d1b83fe23bd4c9fda0d72d
/info/wip/in-process/src/sk/phaonir/PhaonIR/phaon-ir/scopes/phr-scope-value.h
91ba4efbd09d98eda9f9c698fb235dd7cfbe449c
[]
no_license
scignscape/ntxh
1c025b0571ecde6b25062c4013bf8a47aeb7fdcb
ee9576360c1962afb742830828670aca5fa153d6
refs/heads/master
2023-04-01T07:20:26.138527
2021-03-17T17:59:48
2021-03-17T17:59:48
225,418,021
0
0
null
null
null
null
UTF-8
C++
false
false
632
h
phr-scope-value.h
// Copyright Nathaniel Christen 2019. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #ifndef PHR_SCOPE_VALUE__H #define PHR_SCOPE_VALUE__H #include <QString> #include "kans.h" KANS_...
eccf820052742aaa884e6f0b85f868ccec231776
8ee81ee9acf0652ae1c17e221a2e7e4ac40fe4ec
/LeetCode/construct_binary_tree_from_inorder_and_postorder_traversal/buildTree.cpp
c465c046ae9a03eb891c08b756c55f8e3230d6e4
[]
no_license
veerapalla/cracking_the_coding_interview
b875c39a4411480c8bb752d40aa1d0427d58d28c
f10556d7e7a5e8de44190609f17d1c990053879d
refs/heads/master
2021-05-28T16:29:53.787989
2014-09-28T06:42:36
2014-09-28T06:42:36
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,413
cpp
buildTree.cpp
/* * ===================================================================================== * * Filename: buildTree.cpp * * Version: 1.0 * Created: 12/20/2013 15:00:34 * Revision: none * Compiler: gcc * * =====================================================================...
73df272efe6739e6ec5921b41fa6d4b6c990b4af
40962889fc7e72435d59f1c6320bfd1c52c1bb8f
/cpp/qt/board/game/game_data.hpp
56058e2a71f74912f3903f81a707dce94aeeb6c0
[]
no_license
sfod/studying
0e435d8cdbe3802417c64a07c2eb8aaa717e30e8
cc54c3e34cf405b10e2dc5ed6a5a37f7c6539264
refs/heads/master
2016-08-05T19:23:09.668272
2015-03-05T13:45:33
2015-03-05T13:45:33
20,718,554
0
0
null
null
null
null
UTF-8
C++
false
false
453
hpp
game_data.hpp
#ifndef GAME_DATA_HPP #define GAME_DATA_HPP #include <map> #include <string> enum class PlayerType { PT_Human, PT_AI, PT_Invalid }; static const std::map<std::string, PlayerType> str_to_player_type = { {"human", PlayerType::PT_Human}, {"AI", PlayerType::PT_AI} }; static const std::map<PlayerType...
b1ea5e47859b68189b536bc2fd1f9a63b5a87b30
a759c6611c855925e2a73ca437ed004d74c4c611
/백준문제/자료구조 - Data Structures/백준 1676.cpp
1e58771f235cc375cdae82e1b4262e1792d27ab4
[]
no_license
yugo9081/My-Codes
dafcfb7428256b9bad06d4221cec6e208241d151
84bfe92865d854f9aa6a201a2ba66dae1c2abe27
refs/heads/master
2023-01-20T22:50:39.828481
2020-11-23T09:47:05
2020-11-23T09:47:05
283,927,861
0
0
null
null
null
null
UTF-8
C++
false
false
579
cpp
백준 1676.cpp
/****************************************************************************** Online C++ Compiler. Code, Compile, Run and Debug C++ program online. Write your code in this editor and press "Run" button to compile and execute it. ******************************************...
aaa4b425dab340325c26dd3a99aec45db76bd072
57d1d62e1a10282e8d4faa42e937c486102ebf04
/judges/codechef/done/CHEFFA.cpp
dcf88879cb460d4183202a92edcbf8846d067d5e
[]
no_license
diegoximenes/icpc
91a32a599824241247a8cc57a2618563f433d6ea
8c7ee69cc4a1f3514dddc0e7ae37e9fba0be8401
refs/heads/master
2022-10-12T11:47:10.706794
2022-09-24T04:03:31
2022-09-24T04:03:31
178,573,955
0
0
null
null
null
null
UTF-8
C++
false
false
1,170
cpp
CHEFFA.cpp
#include <bits/stdc++.h> using namespace std; typedef long long ll; #define fast_io ios::sync_with_stdio(false) #define pb push_back #define mp make_pair #define fi first #define se second #define INF 0x3f3f3f3f #define INFLL 0x3f3f3f3f3f3f3f3fLL const double PI = acos(-1); const double EPS = 1e-9; inline int cmp_dou...
206211c3e40f576172f8349cb1e5381576b0f905
259bacc81f4b663daac01574061b38f2cd93b867
/cf/1385/q4.cpp
08c77d8b529b4b2a283efb956b9e347e361d869b
[]
no_license
yashrsharma44/Competitive-Programming
6bf310d707efcb650fa6c732132a641c3c453112
77317baa4681c263c5926b62864a61b826f487ea
refs/heads/master
2023-03-03T13:59:53.713477
2022-11-16T09:10:25
2022-11-16T09:10:25
196,458,547
0
0
null
null
null
null
UTF-8
C++
false
false
914
cpp
q4.cpp
#include <bits/stdc++.h> #define MOD 998244353 #define int long long using namespace std; int dfs(string s, int i){ // if(s.length() == 0){ // return 0; // } char cc = (char)('a'+i); if(s.length() == 1){ if(s[0] == cc){ return 0; } return 1; } int n = s.length(); int l = dfs(s.substr(0,n/2), i+1)...
9da857c5088a8b80085265d0fdac3b4f0b3c7922
d0b4456c34d8da578e60b23e9fa760560a346513
/src/congestion/NullSensor.h
75448a1a7700198ebe115c8adaff101a85c5d34c
[ "Apache-2.0" ]
permissive
ssnetsim/supersim
fcb4c6245fabe8b6e202bb6278cd8b62e972ef7c
2ee12fef5dbbe4dafe4de542a071e0768b552a1a
refs/heads/main
2022-06-07T06:46:06.266449
2022-05-20T20:41:01
2022-05-20T20:41:01
236,844,270
5
4
Apache-2.0
2022-05-20T20:41:03
2020-01-28T21:20:21
C++
UTF-8
C++
false
false
1,571
h
NullSensor.h
/* * Licensed under the Apache License, Version 2.0 (the 'License'); * you may not use this file except in compliance with the License. * See the NOTICE file distributed with this work for additional information * regarding copyright ownership. You may obtain a copy of the License at * * http://www.apache.org/li...
d7e99f9f7aaec0d64198b73548ac8898a6954ef0
f22e1fdd2098ca51dd5004e0b9f20cb8b4adbb2d
/src/main/cpp/commands/CmdSetFeederVelocity.cpp
670f9e86d334524956e2f4b4171e16208060eabb
[]
no_license
Team1507/IRatHome2021
56b698090424efeec8532dcc5687827229c97c1e
73dc0443205696129c67fbba08317bfe48c7b1d1
refs/heads/main
2023-04-21T23:20:21.897044
2021-05-20T01:04:41
2021-05-20T01:04:41
341,006,602
0
0
null
null
null
null
UTF-8
C++
false
false
561
cpp
CmdSetFeederVelocity.cpp
#include "commands/CmdSetShooterVelocity.h" #include "commands/CmdSetFeederVelocity.h" #include "Robot.h" CmdSetFeederVelocity::CmdSetFeederVelocity(double rpm) { // Use Requires() here to declare subsystem dependencies m_rpm = rpm; // eg. Requires(Robot::chassis.get()); } void CmdSetFeederVelocity::Initial...
06e2a50df390ddb7f211cc20158e132488efebab
c1c33a7f6fbb9b983a76baf21d8a834530d398ae
/class.cc
f10af0ef34cb3b0fd48420a46697c761cf5d9dac
[]
no_license
jamesjunaidi/jordan
f9baf84f3b6b33d57a613cdfa017e3a50bc7bed4
313e7e89750202bbd8c0cd7ec6748dad60d0fea6
refs/heads/master
2022-12-02T00:01:56.517855
2020-08-05T21:33:56
2020-08-05T21:33:56
282,112,107
0
0
null
null
null
null
UTF-8
C++
false
false
894
cc
class.cc
#include <iostream> #include <vector> using namespace std; class Example { public: // These are the fields int field1; int field2; int field3; // this is the constructor for the class Example(int a, int b, int c) { field1 = a; field2 = b; field3 = c; } // this function prints out ...
7057e651b0d0932dee85781da0595c73862cc894
01b8b69af2a71e275012f8dc786c2569d7ad60dc
/Menu.cpp
9301c38d29e6759d91253a5466b2b912a4a61b4b
[]
no_license
eliannevado/AVANCE
8359e9a718e170b07db4481094bbbe8e0e458201
3a108588b3363c0811f6fa1726a24b510610bcbf
refs/heads/master
2020-09-01T06:44:08.579784
2019-11-27T02:14:09
2019-11-27T02:14:09
218,901,480
0
0
null
null
null
null
UTF-8
C++
false
false
1,929
cpp
Menu.cpp
#include "Menu.h" #include <iostream> #include <string> #include <cstdio> using namespace std; // Metodo para limpiar pantalla void limpiar() { cout << "\033[2J\033[0;0H"; } // Metodo para esperar se presion una tecla para continuar void esperar() { char w; do { cout << "Presione X y Enter para continu...
cea91b80c5964164dd0cfaae0012dbc1f4ceb708
bcf04bbf6b97ecc2f4e97572383d7c754b5a4e65
/backend/CommandPattern/grayScaleCommand.h
57458bf49681ceb67cbcf6e114381792846eee79
[]
no_license
reed4u/image-editor
4197c60db31601c40c7188a5fd76d90942143552
511f2ad0835977b39b38a0c6260fde96623e9f7a
refs/heads/master
2023-08-26T00:36:03.215256
2021-11-05T13:24:27
2021-11-05T13:24:27
null
0
0
null
null
null
null
UTF-8
C++
false
false
482
h
grayScaleCommand.h
#ifndef IMAGE_EDITOR_GRAYSCALECOMMAND_H #define IMAGE_EDITOR_GRAYSCALECOMMAND_H #include "ICommand.h" #include "../Image.h" class grayScaleCommand : public ICommand { private: Image &image; std::vector<Pixel>& pixelBuffer; std::vector<Pixel> backupPixelBuffer; void grayScale(); public: explicit ...
f4afa6cf2cdf0aed30c8705b20505f8d12ebcc24
83120258156459f6aa7575fdd360f225c3b9d797
/cnn-text-classification/InputLayer.cpp
0a112a8c7461ca766128fcf7b2336937241350e4
[]
no_license
byeongkeunahn/cnn-text-classification
7ce576e840b8911beae54853183709434c8f2569
e20520880926907e15f72f40d1e82c4037ea3726
refs/heads/master
2020-09-24T16:34:20.296299
2019-12-04T14:39:59
2019-12-04T14:39:59
225,799,617
2
0
null
null
null
null
UTF-8
C++
false
false
1,042
cpp
InputLayer.cpp
#include "pch.h" #include "InputLayer.h" InputLayer::InputLayer() { m_OutputGrad = nullptr; } InputLayer::~InputLayer() { } float *InputLayer::GetCurrentData(const char *key) { return m_pProvider->GetCurrentData(key); } std::vector<int> InputLayer::GetDataDimension(const char *key) { return m_pProvide...
1db31e11b3253198132d3eef491f87b3342993da
e0ee1fee9ce54e0e512fc081ece2a77c2b21bbac
/resultwindow.cpp
4c1221bb2b5b05784e7ad27cd90a7806f5874c50
[]
no_license
dAN0n/Expression-Solve-Trainer
cc3abd310512e0aeb631167332e417e839d9404f
6816d1fb90f3f5ba2c2e1dc7c2bb1f37e0ad61e2
refs/heads/master
2021-03-27T11:16:38.979545
2015-05-02T19:19:24
2015-05-02T19:19:24
34,958,417
0
0
null
null
null
null
UTF-8
C++
false
false
826
cpp
resultwindow.cpp
#include "resultwindow.h" #include "ui_resultwindow.h" ResultWindow::ResultWindow(QWidget *parent) : QDialog(parent), ui(new Ui::ResultWindow) { Right = 0; QString _Right = QString::number(Right); ui->setupUi(this); ui->RightField->setText(_Right); QObject::connect(ui->StartButton, SIGNAL(c...
aefa605132d9c717e3af4d509c504fdbe174c6c5
9ae6c946dd5d66afcde5b61418416b0c085c5c21
/7_Parola_Sprites/2_Rocket/2_Rocket.ino
d8902990d909ec805888081166c42ff85fb47a28
[]
no_license
Altium-Designer-Projects/ESP3212_MAX7219_EXAMPLES
b7ca574a72f5478e204dd9e61a3cf1ea4b3da211
b10524b1bdc634ea06add3d0b6334476c32bba2c
refs/heads/master
2022-12-04T03:58:09.094899
2020-08-28T14:48:58
2020-08-28T14:48:58
291,071,038
0
0
null
null
null
null
UTF-8
C++
false
false
1,108
ino
2_Rocket.ino
#include <MD_Parola.h> #include <MD_MAX72xx.h> #include <SPI.h> #define HARDWARE_TYPE MD_MAX72XX::PAROLA_HW #define MAX_DEVICES 8 #define CS_PIN 27 #define CLK_PIN 26 #define DATA_PIN 25 MD_Parola P = MD_Parola(HARDWARE_TYPE, DATA_PIN, CLK_PIN, CS_PIN, MAX_DEVICES); // Software spi char ms...
1ad4ebb306d41dce986165c42d55a471b8e7bb56
2d0bada349646b801a69c542407279cc7bc25013
/src/vai_library/xnnpp/src/efficientdet_d2/anchor.cpp
2982f0de0bd0215d07d64ed57326245755b46b71
[ "Apache-2.0", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "BSD-3-Clause-Open-MPI", "LicenseRef-scancode-free-unknown", "Libtool-exception", "GCC-exception-3.1", "LicenseRef-scancode-mit-old-style", "OFL-1.1", "JSON", "LGPL-2.1-only", "LGPL-2.0-or-later", "ICU", "LicenseRef-scancode-...
permissive
Xilinx/Vitis-AI
31e664f7adff0958bb7d149883ab9c231efb3541
f74ddc6ed086ba949b791626638717e21505dba2
refs/heads/master
2023-08-31T02:44:51.029166
2023-07-27T06:50:28
2023-07-27T06:50:28
215,649,623
1,283
683
Apache-2.0
2023-08-17T09:24:55
2019-10-16T21:41:54
Python
UTF-8
C++
false
false
6,370
cpp
anchor.cpp
/* * Copyright 2022-2023 Advanced Micro Devices Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
1a03113b7e1f6b2d401611ccfc4baef1cdb2c152
c8b2840ea52b1dcb2009b9890cac70ccd4e30875
/Arduino/Kiln/TempWaveForm.cpp
a69503c9170d4a09cbb762a9cfc474f34b2d4aec
[]
no_license
GMTEC/Kiln
71e351ce416231aaff5a2e05b730400b0103e8e4
3a3130a5cdc380d2c4529371e58cbaec18bd87c4
refs/heads/master
2021-09-03T20:21:36.319087
2018-01-11T18:31:25
2018-01-11T18:31:25
106,564,047
1
0
null
null
null
null
UTF-8
C++
false
false
2,302
cpp
TempWaveForm.cpp
// #include "TempWaveForm.h" #include "Nex/NexWaveform.h" #include "Nex/NexText.h" #include "PIDTemperature.h" #include "PageMain.h" //NexWaveform wafeForm(0, 2, "s0"); double XScale, YScale; uint32_t width = 312; uint32_t height = 164; int XOfst = 75; int YOfst = 60; double X0, Y0; int XPos, YPos; ...
3272a2373f23a634db5c73231aaab63ed68745a1
cd16e9cac8db3f321aa1ab09cd6e04b813baf4b0
/partition3.cpp
77b40ca1fb3fc1d3252d3632cb1887c1a4cc6dd1
[]
no_license
mia392/Algorithmis-Toolbox
128e8eb4d4d8bd97d136a9ac3802dce4250c51c8
a5bbd65b2def142ea2bcf2448ac8ad560542caeb
refs/heads/master
2022-08-03T00:51:37.626440
2020-05-31T08:53:44
2020-05-31T08:53:44
262,473,074
0
0
null
null
null
null
UTF-8
C++
false
false
718
cpp
partition3.cpp
#include <iostream> #include <vector> using std::vector; int partition3(vector<int> &A) { int sum=0; for (int i=0; i<A.size();++i){ sum +=A[i]; } if (sum%3!=0) return 0; //int subsum=sum/3; int n=A.size(); bool dp[sum+1][n+1]; for (int i=0;i<=n; ++i){ dp[0][i]=true; } for (int j=1;j<=sum; +...
479885a9d6640b5b708db4694abaeef7768975b3
ab506cc02c82d8d935ac2c798c05536e2fe2daff
/Dll1/PatcherC.cpp
78c12592ac304569ccdd643f41e5914cf093c87d
[]
no_license
PyatiyEtaj/FullHax
1e2db172a1ad72d85eecb5be774d0014761891f8
a5b8853d6d693b14aa8656b82c315d1999f5d674
refs/heads/master
2022-12-06T13:39:50.100047
2020-07-09T08:53:37
2020-07-09T08:53:37
223,615,559
0
0
null
null
null
null
WINDOWS-1251
C++
false
false
7,395
cpp
PatcherC.cpp
#include "PatcherC.h" /*Patcher_c* InitPatcher(const std::vector<int> &offs) { HMODULE h = GetModuleHandleA("CShell.dll"); Patcher_c* p = (Patcher_c*)VirtualAlloc(NULL, sizeof(Patcher_c), MEM_COMMIT | MEM_RESERVE, PAGE_READWRITE); if (!p) return NULL; p->AllWpnsOriginals = (PWeapon*)VirtualAlloc(NULL, 4000 * size...
988e9ef183a7a7a3fcb333e6c62fca0b71c6074e
7de9724c235ffdddae5f15236d1016ea4e95bc9a
/scene/Camera.cpp
af6b1886713512bcddda98ebd5266ab5df6aa989
[]
no_license
Mecrof/3DCharacterAnimation55
8566b8dbb6f5d28818f803cbd3ab3610706ed563
cbffdf4a24cc171cfe09174ed618295b6e11bd3d
refs/heads/master
2016-09-05T17:16:27.516777
2014-06-13T17:39:18
2014-06-13T17:39:18
18,703,800
5
1
null
null
null
null
UTF-8
C++
false
false
5,995
cpp
Camera.cpp
#include "Camera.hpp" namespace scene { /////////////////////////////// PUBLIC /////////////////////////////////////// //============================= LIFECYCLE ==================================== Camera::Camera() { m_Phi = 0.0f; m_Theta = 0.0f; m_Orientation = glm::vec3(0.0f, 0.0f, 0....
13357a63ca9fab786dfebb3cff6175cf0a03f2bd
98c39b5950902b4a16d6b78f1ffc1eaf34107890
/Mouth.cpp
781c74e43ebee850599c9005d2f92775011084a9
[]
no_license
breeannwilson/CS273-Review-Homework
5650feb78e634951b08f013f79185eff3614c3a4
91541873e389044a651fc9aa8f73431cd2e2dc70
refs/heads/master
2021-01-22T04:05:26.732006
2017-05-25T18:26:36
2017-05-25T18:26:36
92,430,512
0
0
null
null
null
null
UTF-8
C++
false
false
156
cpp
Mouth.cpp
#include "Mouth.h" using namespace std; //default number of teeth is 50 Mouth::Mouth() { teeth = 50; } int Mouth::getTeeth() { return teeth; }
511504366de637785f829de174d61c16a862ee9c
54f352a242a8ad6ff5516703e91da61e08d9a9e6
/Source Codes/AtCoder/arc077/B/2866130.cpp
526496ba30afd7d624e652ed0c3929b2e3e5ee81
[]
no_license
Kawser-nerd/CLCDSA
5cbd8a4c3f65173e4e8e0d7ed845574c4770c3eb
aee32551795763b54acb26856ab239370cac4e75
refs/heads/master
2022-02-09T11:08:56.588303
2022-01-26T18:53:40
2022-01-26T18:53:40
211,783,197
23
9
null
null
null
null
UTF-8
C++
false
false
1,724
cpp
2866130.cpp
// D. #include <iostream> #include <algorithm> #include <sstream> #include <vector> using namespace std; typedef long long LL; static const LL MOD = 1000000007; static const size_t MAX_N = 100001; struct modll { long long x; modll() { } modll(long long _x) : x(_x) { } operator int() const { r...
421412cca13d88618ef3fe1476cc657215375b95
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_2453486_1/C++/pix1gg/a.cpp
a45a94a186bc79d20d2bdd5bd1f5045708e78f48
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
C++
false
false
1,944
cpp
a.cpp
#include <stdio.h> #include <iostream> #include <vector> #include <string> using namespace std; bool check_dot(const vector<string> & map) { for (int i=0; i<4; i++) { for (int j=0; j<4; j++) { if (map[i][j] == '.') { return true; } } } return false; } void get_case(const vector<strin...
9075b3a031a077a36790d12eaef9f9e98e454eb8
408a6a47509db59838a45d362707ffe6d2967a70
/Classes/Enemy.h
e8d9d87ee90cb0530db3c35a7614174bdac9e92f
[]
no_license
DanicaMeng/RabbitRun
87d511645b90d9129d026b636adcb3e1b8854dd8
97892a01876186a2e69ff9776c70bdf2ea10f9bd
refs/heads/master
2021-05-15T21:14:05.028696
2018-10-19T04:08:30
2018-10-19T04:08:30
27,667,757
0
1
null
null
null
null
UTF-8
C++
false
false
816
h
Enemy.h
#ifndef __ENEMY_H__ #define __ENEMY_H__ #include "cocos2d.h" USING_NS_CC; enum ENEMY_TYPE { EAGLE, // ӥ }; enum MOVETYPE { MOVE_NULL = 0, MOVE_ATTACK = 1, MOVE_PATROL, MOVE_FLYAWAY, }; enum DIRECTTYPE { DIRECT_LEFT = 1, DIRECT_RIGHT = 2, }; class Enemy : public CCNode { public: Enemy(); ~Enemy(); boo...
4a345942dc808285201a7c5b48e7f538a99a2267
3b350130226cdf1a4edacdcd4306f336f234732b
/Ch3/ex3_44.cpp
06515401ee2ea56d6fe0805ea31807fe712f9595
[]
no_license
melodybabee/CppPrimer
0027eeaa7aed86907c9680f998f50e150fc8ccf0
85d4f2300daf3748a5eab58679baf480ff1fb88e
refs/heads/master
2020-03-22T07:48:57.869139
2018-09-20T00:42:29
2018-09-20T00:42:29
139,726,243
0
0
null
null
null
null
UTF-8
C++
false
false
876
cpp
ex3_44.cpp
#include <iostream> using std::endl; using std::cout; //范围for循环 int main() { int ia[3][4] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}; using int_array = int[4]; for(int_array &i :ia)//第一层遍历ia的外层数组,此处指行,每一行是含有4个整数的数组的引用,因此大小为4 for (int q : i){//q来循环i所指的每一行的整数型的数 cout << q <<endl; //for循环下标运算 for(size_t i = ...
37de1e285b883342e6db1a3bf99950a700bb8493
fdfc146f88ae537938023a76057a1fd9fd7e9003
/old_code/v0.3/timer.h
c14028517fce572b44fd687a45cb1232d8e6903e
[]
no_license
CS-Jackson/Solver
a374bf3cef1e3ba95832e26d9b6ffdc023197a60
076cd8693fc245ddb5c4f1cf6f2f8746c6642c69
refs/heads/master
2020-06-19T01:21:59.001344
2020-06-16T08:09:41
2020-06-16T08:09:41
196,517,168
0
0
null
null
null
null
UTF-8
C++
false
false
1,164
h
timer.h
#pragma once #include "http_conn.h" #include "./base/nocopyable.hpp" #include "./base/locker.hpp" #include <unistd.h> #include <memory> #include <queue> #include <deque> // #include <iostream> // using namespace std; class Solver; class mytimer { typedef std::shared_ptr<Solver> SP_Solver; private: bool delet...
ce94494056de5603062ac252f6268d5c89979d24
cf31c0a4e58c7943ef127dd96c3c4befe3198cf8
/src/physics.cpp
adc37466c0d64fe6856b5e65d280941a1635659e
[]
no_license
dash-rai/labyrinth-opengl
31fae826dc30f08e25c276cac9bf06c42e71f575
b83ea1f77a9cb87dd9a4b94c1fb1659fde0c34e4
refs/heads/master
2016-09-05T20:43:10.437442
2015-05-24T05:28:12
2015-05-24T05:28:12
33,435,220
0
2
null
null
null
null
UTF-8
C++
false
false
3,913
cpp
physics.cpp
#include <GL/glut.h> #include <math.h> #include <Box2D/Box2D.h> #include "drawboard.h" #include "physics.h" b2Body *ballBody; extern b2World world; extern b2Vec2 hole_position; extern bool gameover; class HoleContactListener : public b2ContactListener { void BeginContact(b2Contact *contact) { ...
cffda81bb0522be3721923a5cc05751297999086
11d86f5c270757a0fac0aab101533a86db3c05cd
/libretro/nukleargui/sdl_wrapper/retro_surface.c
27df157ce87addd56a3c116ba368b2fb67c317f0
[]
no_license
r-type/libretro-cap32-nuklear
faea5319645045e36fd1fbbb11fe6d8bc58a22c5
cc8edf2c5d8dda044d689eb78eb784b1c657dc10
refs/heads/master
2021-01-12T06:36:18.491022
2016-12-26T16:06:39
2016-12-26T16:06:39
77,394,161
0
0
null
null
null
null
UTF-8
C++
false
false
12,919
c
retro_surface.c
#include "SDL_wrapper.h" #include <stdio.h> #include <string.h> unsigned int Retro_MapRGB(RSDL_PixelFormat *a, int r, int g, int b){ return (r >> a->Rloss) << a->Rshift | (g >> a->Gloss) << a->Gshift | (b >> a->Bloss) << a->Bshift | a->Amask; } unsigned int Retro_MapRGBA(RSDL_PixelFormat...
0b23c4cf90c1ca7f13e6add6b9b7c2af00cfd00d
c38d4fd366180fc4bf55a6c3816363c6517916ae
/src/RobotManager.h
9f73809c8c5489ab2e077b56cbd10738d63bbd0e
[]
no_license
olegsmvl/RobotArduino
085372f9fb960573d187a13b08405df125eab24d
a818dbc4b5727a4034073a2f53f1bcb67e585e17
refs/heads/master
2021-06-29T17:17:18.747444
2021-03-10T09:11:39
2021-03-10T09:11:39
219,105,431
0
0
null
null
null
null
UTF-8
C++
false
false
392
h
RobotManager.h
#ifndef ROBOTMANAGER_H #define ROBOTMANAGER_H #include "Commands.h" #include "Robot\Robot.h" class RobotManager { public: RobotManager(); void ExecuteCommand(int command); void Loop(); int GetOdometerL(); int GetOdometerR(); void IncOdometerL(); void IncOdomete...
6470001ce0c9ccd61a9a4b6525a203a28166bff7
d1aa937cc9807333d86f7dec58feffbd5ecc70a5
/CCNY Data Structures (C++)/5 - Trees/src/hw5q3.cpp
20932707b554703960147bf66e60ed60f14e885a
[]
no_license
xburrito/Data-Structures
69d9273692397b079a11404b377b02f08c5e00fb
d5b829b2ed9c6eecfcaa51cd526d1aafdb031f3f
refs/heads/master
2021-08-19T13:03:13.309451
2020-05-30T01:03:51
2020-05-30T01:03:51
188,781,256
2
1
null
null
null
null
UTF-8
C++
false
false
2,971
cpp
hw5q3.cpp
#ifndef __BT_CLASS_DA_CPP__ #define __BT_CLASS_DA_CPP__ #include "hw5q3.h" // CONSTRUCTORS and DESTRUCTOR template <class Item> binaryTreeDA<Item>::binaryTreeDA( ){ capacity = DEF_CAP; tree = new Item[capacity]; count = 0; curr = 0; } template <class Item> binaryTreeDA<Item>::binaryTreeDA(const binaryTreeDA& sour...
7def05b9ed67f3cd6b9383d608ce168798c0cb36
7e38e0f067534393f0b36ca79bf4cba94d7e797a
/main.cpp
81a85f613525e8d23d2010e1a076697525c0d16e
[]
no_license
DocX/action-bomberman
113346ace0a0f3c710d15cab7c919092270bcb20
fabdb5a6fa1999fa1479e3d199ef3e803f3e75c5
refs/heads/master
2021-03-12T23:16:08.245521
2014-01-19T15:07:00
2014-01-19T15:07:00
null
0
0
null
null
null
null
UTF-8
C++
false
false
339
cpp
main.cpp
/* ActionBomberman Hra ve stylu bombermana s moznosti hry vice hracu a AI. Zapoctova prace 2010, Lukas Dolezal */ #include <QApplication> #include "ActionBomberman.h" int main(int argc, char** argv) { QApplication app(argc, argv); ActionBomberman *bomber = new ActionBomberman(); bomber->show(); re...
906cbc61d8ef5de3c13cb6a98a6c7f3c9b5231ac
a05cd145e36d1c549f894a152c5aab656b1cd186
/ulib/src/Datablock.cpp
24acbfc96194903ff3700e0567f02740f8f4b9f9
[ "MIT" ]
permissive
enbock/Warp10Server
7a27db2382fab07a32f2cdf95182e705b400d3e5
96aae8d401b090dcacb61aad3cbadb2c78ee936b
refs/heads/master
2021-01-24T00:53:05.362146
2017-10-07T16:43:46
2017-10-07T16:43:46
68,477,205
2
0
null
2017-03-22T20:44:36
2016-09-17T20:44:59
C++
UTF-8
C++
false
false
3,522
cpp
Datablock.cpp
/* * Datablock.cpp * * Created on: 31.03.2011 * Author: Endre Bock */ #include <Datablock> using namespace u; Datablock::Datablock() : Object() { } Datablock::Datablock(Datablock & value) { *this = value; } Datablock& Datablock::operator=(Datablock& value) { deleteAttributes(); int64 i, l; l = val...
21f36068dd6d46f2c01f57a147e4189673844bf1
833c67af81d5519b48bb868ae785b24266bd7dcb
/BaekJun1753.cpp
ea499fae2b91a9dc10309bd39426541e7802e83c
[]
no_license
xtream9029/algorithm
5a728752fdd122ba5149abfbaa9922c0960bbd3a
8ca068165196092181e8793a7f96f7ed508030a7
refs/heads/master
2022-11-26T23:04:23.847503
2020-07-30T13:12:14
2020-07-30T13:12:14
283,770,779
0
0
null
null
null
null
UTF-8
C++
false
false
1,758
cpp
BaekJun1753.cpp
/*#include <iostream> #include <vector> #include <queue> #include <algorithm> using namespace std; #define MAX 210000000 struct node { int a; int b; }; struct cmp { bool operator()(node x, node y){ return x.b < y.b;//거리가 작은순으로 min heap에삽입 } }; int d[20001]; vector<node> graph[20001]; int...
946c8a8807fb52f22ebe40313f5f59c1cc219b92
1d465efb639c64468fa114f3b0d602f8ab7bb865
/CModbus.h
c29c5978032c043d840e83e8ad22a52fc8b2cdac
[]
no_license
nikshev/cmodbus
f5c7b480ba9e966e75db0b94edef28d8252056bc
1b0cbd3fd02b721d24ec48d51fe6df7478c4e5c1
refs/heads/master
2021-01-18T14:11:35.624715
2014-06-18T08:27:35
2014-06-18T08:27:35
null
0
0
null
null
null
null
WINDOWS-1251
C++
false
false
958
h
CModbus.h
#include <vcl.h> class CModbus{ public: CModbus(WORD wAddress); //Конструктор ~CModbus(); //Деструктор WORD Connect(char *lpszPort,int nBaudeRate, int nByteSize, int nParity, int nStopBits, int nReadInterval); WORD CalcCrc(UCHAR *Str,WORD NumBytes); WORD loopback(); ...
652dafe924f3423ac53714a7a76c240217243de8
b9126df0d761987516a7146dc54887c828b893e4
/include/cpp_essentials/geo/matrix.hpp
4ffa15dc132465b6db0e2aad4ca0be20c4c807b1
[]
no_license
volsungdenichor/cpp_essentials
63c979057dcb6d5cd69013ee015060b3b1a48867
28287ddb10362efbac5cdced6fdf66caf92b8e0d
refs/heads/master
2022-06-23T00:40:19.294054
2022-06-08T16:39:18
2022-06-08T16:39:18
146,165,601
0
0
null
null
null
null
UTF-8
C++
false
false
1,173
hpp
matrix.hpp
#ifndef CPP_ESSENTIALS_GEO_MATRIX_HPP_ #define CPP_ESSENTIALS_GEO_MATRIX_HPP_ #pragma once #include <cpp_essentials/math/matrix.hpp> namespace cpp_essentials::geo { using math::matrix; using math::square_matrix; using math::square_matrix_2d; using math::square_matrix_3d; using math::vector; using math::vector_2d; u...
1e1ca6123cbd7f44561edfdbc108080c5c7f8828
b7f19d628ca8962398f530db9fb57e4de696ed89
/sopnet/sopnet/segments/SegmentPair.h
7870d273a386283e853acd783eb5294bb5e99330
[]
no_license
thanujadax/sopnet
473e8316c0d7a0d13094402121c4e8647cc45359
e59d365c63ed68ad68eb02e007ff5023c77b174a
refs/heads/master
2020-04-05T18:56:40.001871
2014-10-17T12:12:59
2014-10-17T12:12:59
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,199
h
SegmentPair.h
/* * SegmentPair.h * * Created on: May 13, 2014 * Author: thanuja */ #ifndef SOPNET_SEGMENTPAIR_H_ #define SOPNET_SEGMENTPAIR_H_ #include "Segment.h" #include "ContinuationSegment.h" class SegmentPair: public Segment { public: SegmentPair(unsigned int id, Direction direction, boost::shared_ptr<Conti...
0864c97bc829155e4ed561852a65b0cb3635f7e4
50c8df32a6a58c45457d16823a081012dca0fc81
/PbPb_pixeltracks/HiEvtPlaneFlatten/MoveFlatParamsToDB/EPCalib/src/Loop3.h
e9d718399a5e14c24aa7efd027cad805071cc2e0
[]
no_license
ssanders50/pbpb2015
587235c8602f98d1628a561ad0b5dc715b352af3
8083e5f84915160be895dbf7a3ef0d0712123ee9
refs/heads/master
2021-01-17T18:37:21.850003
2016-09-25T17:34:26
2016-09-25T17:34:26
68,733,554
0
0
null
null
null
null
UTF-8
C++
false
false
1,076
h
Loop3.h
#include "TFile.h" #include "TTree.h" #include "TH1F.h" #include "TH1I.h" #include "TDirectory.h" #include <iostream> #include "string.h" #include "stdio.h" #include "EPCalib/HiEvtPlaneList.h" #include "EPCalib/HiEvtPlaneFlatten.h" void Loop3(){ save = fopen("tmpsave","rb"); cout<<"Loop 3:"<<endl; ncnt = 0; wh...
8c9867d61e9421dacce4191cc0869e252ded6f64
107390cabe9c466c7c68a90554763b5a1699b395
/CppModule05/ex00/Bureaucrat.hpp
23e3107b85721836b050a5795cdc02f4aab7ed60
[]
no_license
europaplus/CPP_modules
756d4700f99f0a16d814c637088e94b75f4370d2
6d7794bc70f89f8c4e5aa2f82aed78a7c40563df
refs/heads/master
2023-05-10T07:30:02.911933
2021-06-13T16:13:26
2021-06-13T16:13:26
376,586,094
0
0
null
null
null
null
UTF-8
C++
false
false
1,899
hpp
Bureaucrat.hpp
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* Bureaucrat.hpp :+: :+: :+: ...
c434a582ccc69a01fe3dda12cc471e1848d60161
e87433ebed69640ba4666691460b507180291a90
/lintcode/System_Design/0530-Geohash II/0530-Geohash II.cpp
1df31b98a9ca64927d24797331bfc734ea1b779b
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
karolinaWu/leetcode-lintcode
4501ad284c4124e691cfdaaa566660edc32d672e
bc06cf8bd20b6e4753b9c5d5ec74d9c43a8140ee
refs/heads/master
2022-11-22T18:22:54.881897
2020-07-24T13:57:50
2020-07-24T13:57:50
282,246,839
1
0
MIT
2020-07-24T14:55:17
2020-07-24T14:55:16
null
UTF-8
C++
false
false
1,715
cpp
0530-Geohash II.cpp
class GeoHash { public: /** * @param geohash a base32 string * @return latitude and longitude a location coordinate pair */ vector<double> decode(string& geohash) { // Write your code here string dict = "0123456789bcdefghjkmnpqrstuvwxyz"; string num; for (char c : ...
af5b84e4e36d01d1d799525b987e057f2b64b5f5
628154dcf1e1bdb61a0bb0054919b8aab305dc9a
/2d/kill_separates_declare_from_use/tbb/main.reference.cpp
9760a6cb11d1d7db693900e85bbd5fd9b17b7f9a
[ "MIT" ]
permissive
realincubus/clang_plugin_tests
616b3d9a187b419bcd0d4c2c6c3ab27d291fdaef
018e22f37baaa7c072de8d455ad16057c953fd96
refs/heads/master
2021-01-17T10:20:40.078576
2018-11-28T11:11:25
2018-11-28T11:11:25
56,518,193
0
0
null
null
null
null
UTF-8
C++
false
false
232
cpp
main.reference.cpp
#include <tbb/parallel_for.h> int main(int argc, char** argv){ tbb::parallel_for (0,999 + 1,[&](int t1) { int x = 4711; tbb::parallel_for (0,499 + 1,[&](int t2) { x = 9 + x ; } ); } ); return 0; }
4d6805cfcc7f1eef0e4f092d3a7890a925e1fdfd
ef966de26c0f233e27061828a0f9fc946f6566db
/3rd Party/WindowsAPICodePack/DirectX/DirectX/Direct3D10/D3D10ShaderResourceView.cpp
3a656b40529856d76da14feab016caef905f8372
[ "MIT" ]
permissive
aliozgur/pragmasql
66fc9ff1d021acf074539c651d2f6f53e95f9fd5
44732dd6c8ac52950d7d6b7ba8704c0459896bf2
refs/heads/master
2020-05-31T13:36:15.044158
2019-01-05T17:24:27
2019-01-05T17:24:27
14,684,647
2
3
null
null
null
null
UTF-8
C++
false
false
417
cpp
D3D10ShaderResourceView.cpp
// Copyright (c) Microsoft Corporation. All rights reserved. #include "stdafx.h" #include "D3D10ShaderResourceView.h" using namespace Microsoft::WindowsAPICodePack::DirectX::Direct3D10; ShaderResourceViewDescription ShaderResourceView::Description::get() { D3D10_SHADER_RESOURCE_VIEW_DESC desc; GetInterface...
614aaa0e3c8bba9a7abd012504d31e5daa17e9c4
43df099baa0808c6be5387bafe7ec2fdfce2e311
/Game/AIAgentPhysicalVechicle.h
d1b9929f57435437480d89d685a97ec3e8630b93
[ "MIT" ]
permissive
michalzaw/vbcpp
85fd59cdb8ffeef7f2031a8e3c021eb645661e44
c969f697e7c55027d5a5226069ac26ef99b271fd
refs/heads/master
2023-04-05T01:32:45.506125
2023-03-12T18:07:58
2023-03-12T18:07:58
271,097,287
11
1
MIT
2023-09-12T20:48:00
2020-06-09T19:58:36
C++
UTF-8
C++
false
false
447
h
AIAgentPhysicalVechicle.h
#ifndef AIAGENTPHYSICALVECHICLE_H_INCLUDED #define AIAGENTPHYSICALVECHICLE_H_INCLUDED #include "AIAgent.h" class PhysicalBodyRaycastVehicle; class AIAgentPhysicalVechicle final : public AIAgent { private: PhysicalBodyRaycastVehicle* _vechicle; glm::vec3 _centerPoint; public: AIAgentPhysicalVechicle(Phys...
d330b225d441d3b7c7747049b91ff0f11d7e66ff
591d9080d81a03b54ca1666c0eeeebae9c847982
/Test/Oak/Platform/Thread/ThreadTest.cpp
03ce7ba7bd2e25828c647f323f7c02a7cdaae524
[ "MIT" ]
permissive
n-suudai/OakPlanet
e939b57b0d8bea6d5123d065679cc074885fa4e9
fd13328ad97b87151bf3fafb00fc01440832393a
refs/heads/master
2020-04-18T05:49:03.111465
2020-02-29T06:40:08
2020-02-29T06:40:08
167,292,813
0
0
null
null
null
null
UTF-8
C++
false
false
2,753
cpp
ThreadTest.cpp
 #include "ThreadTest.hpp" #include "Oak/Platform/Thread/Thread.hpp" #include <cstdio> using namespace Oak; namespace ThreadTest { Void ShowMessage(const Char* message) { MessageBoxA(NULL, message, NULL, MB_OK); } //ウィンドウハンドル HWND g_hwnd; //インスタンスハンドル HINSTANCE hinst; //ウィンドウ横幅 const int WIDTH = 500; const i...
b5aa934cf8f4d8cce9be5709598328797b28bcac
40fe88c5b1e70ad31b454079b1ad41c31cb22075
/src/DivideSamples_v4.cc
7a538be35569a403386923020ef23e9163e4ee3a
[]
no_license
dav7824/tqHGG
f20ebff178b7309084bb8e50dc00e147fd6e580b
d9a8b4ed5332330035d71b7e4015ec5211f00c04
refs/heads/master
2021-08-17T07:57:00.797168
2021-06-29T13:40:31
2021-06-29T13:40:31
217,187,218
0
0
null
null
null
null
UTF-8
C++
false
false
1,840
cc
DivideSamples_v4.cc
/* * Divide trees using tree event index. * * Usage: * ./DivideSamples_v4 <fin> <vec_tree> <vec_fout> */ #include "include/utility.h" #include "TString.h" #include "TFile.h" #include "TTree.h" #include <iostream> #include <vector> using namespace std; int main(int argc, char **argv) { // Command line argum...
18900c7653bc5f9ad5eae8db781aaaf6cc257c72
7156b6909eed95b408f399fc2ee3522d8f1be33d
/StarCraft/Interceptor.cpp
826e03acccdb5929be239465bfa0640c6cf74894
[]
no_license
beckchul/DirectX9_2D_StarCraft
9cfda97a05dfb5e8619edf59b01773ed71b0238e
9bb3c21749efa8c1ac3d9d96509b5074a5eee416
refs/heads/master
2022-11-15T08:24:33.742964
2020-07-13T14:10:59
2020-07-13T14:10:59
279,316,274
0
0
null
null
null
null
WINDOWS-1252
C++
false
false
10,158
cpp
Interceptor.cpp
#include "stdafx.h" #include "Interceptor.h" #include "AttEffect.h" #include "Factory.h" #include "ObjMgr.h" #include "Device.h" #include "TextureMgr.h" #include "TimeMgr.h" #include "Carrier.h" #include "Interpace.h" #include "Effect.h" CInterceptor::CInterceptor() { } CInterceptor::~CInterceptor() { Release(); } ...
b112f50d51fece09f2ee2cdedb3222d4c7d7562c
877fff5bb313ccd23d1d01bf23b1e1f2b13bb85a
/app/src/main/cpp/dir7941/dir7942/dir8062/dir8063/dir12766/dir12767/dir13029/dir15097/dir15260/dir15321/dir17820/file17864.cpp
975833c970360a97e3ede75794b05dc3a0d0cd92
[]
no_license
tgeng/HugeProject
829c3bdfb7cbaf57727c41263212d4a67e3eb93d
4488d3b765e8827636ce5e878baacdf388710ef2
refs/heads/master
2022-08-21T16:58:54.161627
2020-05-28T01:54:03
2020-05-28T01:54:03
267,468,475
0
0
null
null
null
null
UTF-8
C++
false
false
115
cpp
file17864.cpp
#ifndef file17864 #error "macro file17864 must be defined" #endif static const char* file17864String = "file17864";
91771ef49d38dc6b5ae355d183f9ef7c8cfbeef6
c2277ca02a9c9b3c2d2fd99dd952addf7eb656bf
/rbuffer.tpp
b28eb44899e4dafe49875161e091fbf8b6e6f66a
[ "BSD-3-Clause" ]
permissive
heliosfa/Generics
602f55ad80f7261f45b1293a5d014933cd0b0545
82c82f25dc68159c8bb2e158d2e486e08e13f20d
refs/heads/master
2021-02-26T01:35:04.609885
2020-03-09T22:56:12
2020-03-09T22:56:12
245,484,153
0
0
null
null
null
null
UTF-8
C++
false
false
13,670
tpp
rbuffer.tpp
//------------------------------------------------------------------------------ #include <typeinfo> #include <stdio.h> #include <iostream.h> #include "macros.h" #include "flat.h" #include "e.h" //============================================================================== RBuffer::RBuffer() // Build the whole thi...
6264d35cbe97f7ec1742077df939262e34d482fa
eea4fc1902d4462621d680052f0dca1203ef75de
/Trine/Jogo.h
d9e797514dfa7af7216a77c23e8f7ae04bfa8a14
[]
no_license
vit090/Trine-C-
b7dd84c03a84b18300c3426a6fc35989fe31d04d
e2eaf5d7d78c0e0d49448695319dac8299b8388b
refs/heads/master
2020-03-28T16:32:28.712591
2018-10-04T17:35:58
2018-10-04T17:35:58
148,705,845
2
0
null
null
null
null
UTF-8
C++
false
false
391
h
Jogo.h
#pragma once #include "libUnicornio.h" #include<fstream> #include"Mago.h" #include"Guerreiro.h" #include"Ladrao.h" #include"CarregadordeAssets.h" class Jogo { public: Jogo(); ~Jogo(); void inicializar(); void finalizar(); void executar(); protected: Personagem* classe[3]; fstream mapa_assets; int select; T...
1e407746e1017124a6f73f3d82c2b5d00c093f06
1cab6b27a0a68cc738e80ed0a90b9a45a1729aaa
/soa_sample_app/interface_20JUN16/interfacewindow.cpp
3e1aaf7d64944933ac8495c712096a3acd1daabc
[]
no_license
mhaque3/soa_interface
585c602539a93957f2e93de18f5a511a1c38c9b4
275beb3cdd18da4619778b8f807e123c17360809
refs/heads/master
2021-01-20T07:03:19.532912
2017-08-18T12:21:08
2017-08-18T12:21:08
89,953,515
0
2
null
null
null
null
UTF-8
C++
false
false
3,145
cpp
interfacewindow.cpp
// interfacewindow.cpp // // Created by Musad Haque // 2016 #include "interfacewindow.h" #include "ui_interfacewindow.h" #include "borderlayout.h" #include <QTabWidget> InterfaceWindow::InterfaceWindow(QWidget * parent) : QWidget(parent) { QString file = "../build/SampleAutonomy"; /* * The JS scrip...
e3f768a793956c611119f99cc187029adfa32630
dae70ba33a64f30e65367e5f95f13965fe89558c
/20190805/add.h
f686cae36a3269a9c73b106a80a407b6fa15303c
[]
no_license
stz91/wangdaoC-
23b2e213a6361574a5d695b5f62a4fa5ac2c1ba3
2e4025523cbd4c636cb74231ede5a15e98b006c9
refs/heads/master
2020-06-25T03:16:54.927041
2019-08-16T09:47:05
2019-08-16T09:47:05
199,183,297
3
0
null
null
null
null
UTF-8
C++
false
false
287
h
add.h
#pragma once #include <iostream> //使用模板时,要看到其所有的实现,不能仅仅只是一部分 // //所以一般情况下,不会将模板分为头文件和实现文件 // //c++的头文件没有.h的后缀 template<class T> T add(T x, T y); #if 0 #include "add.cc" #endif
a925230e2409f07c9ba646c9d6f6bed09b38c427
a4dd2559b211ed9e06796749b3cda6fca1784f2c
/LearningMPI/mpi_cmd.cpp
e71f78ee41defdc1b55993f28954af011fba02e5
[]
no_license
wenleix/Playground
6947f43c22c556567bbd5de35f6e86118d68a427
fd36886bcc6814535c231b91c0de7fbdd2a456f7
refs/heads/master
2020-04-11T16:45:13.614947
2015-11-25T22:00:10
2015-11-25T22:00:10
6,528,239
0
0
null
null
null
null
UTF-8
C++
false
false
478
cpp
mpi_cmd.cpp
// Test the command-line input for MPI #include <mpi.h> #include <cstdio> using namespace std; int main(int argc, char** argv) { MPI::Init(argc, argv); int worldSize = MPI::COMM_WORLD.Get_size(); int worldRank = MPI::COMM_WORLD.Get_rank(); fprintf(stderr, "Process %d has %d parameters.\n", worldRank...
6c624aa87766995f3890b016991794e8cfda71e2
9472b09dc918f82fa3e1796803f9430c3bee493c
/2-COLAS Y MONTÍCULOS/VolandoDroness/VolandoDroness/VoladoDrones.cpp
ea10196128c2bbdc987e90ee0e0b1094e70c7391
[]
no_license
merchf/tais
9a0b16f56a5187f74693b0fbfea2f9deca753017
e8ff18bae64c15f1880e0b8f71b1a52c21826dfd
refs/heads/master
2023-02-20T00:15:33.105297
2021-01-10T18:31:29
2021-01-10T18:31:29
301,706,529
0
0
null
null
null
null
ISO-8859-1
C++
false
false
2,547
cpp
VoladoDrones.cpp
// Mercedes Herrero Fernandez // Comentario general sobre la solución, // explicando cómo se resuelve el problema #include <iostream> #include <fstream> #include <vector> #include "PriorityQueue.h" // propios o los de las estructuras de datos de clase using namespace std; // resuelve un caso de prueba, leyendo de...
6b800f96a5bca2fb1effd3b14757171278090bd5
f6baa8402f034d886bcde23503bcae7e0d817524
/src/Game.cpp
61ed024e250b16bedc2f784a37b02fb1030f85ba
[]
no_license
tuomt/tower-defense
72eff44f724955431464b43f92175a93c57db15b
169f99bda86ee587b13c7b381877177f8ba3d135
refs/heads/master
2023-08-01T00:55:06.325366
2021-09-14T20:42:43
2021-09-14T20:42:43
371,126,767
0
0
null
null
null
null
UTF-8
C++
false
false
16,288
cpp
Game.cpp
#include <fstream> #include "Game.h" #include "Helper.h" #include "TextureManager.h" #include "CollisionHandler.h" #include "SceneManager.h" #include "Debug.h" using namespace Helper; Game::Game(sf::RenderWindow& window) : Scene(window), m_shop((loadAttributes(), m_towerAttributes), m_font, m_money) { m_window.setK...