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
ad61749eb65d75409b20df56bb756811b759efac
dc34bcf7232e79324eb865ef0018c0f9acd44c53
/programming/backtrack/77.组合.cpp
d7bd27734d92311ae85127ef6f3b67397da5a4ac
[]
no_license
yqtaowhu/DataStructureAndAlgorithm
a36173387e4c9b233f9095b7adbe492500a4c2ab
b7fbda40dd30d7e66dd3469d92be59988fe72783
refs/heads/master
2021-06-09T07:47:34.496426
2021-05-24T13:11:32
2021-05-24T13:11:32
63,948,564
26
35
null
null
null
null
UTF-8
C++
false
false
634
cpp
77.组合.cpp
/* * @lc app=leetcode.cn id=77 lang=cpp * * [77] 组合 */ // @lc code=start class Solution { public: void dfs(vector<vector<int>> &combs, vector<int> &comb, int n, int k, int beg) { if(comb.size() == k) { combs.push_back(comb); return; } for(int i=beg; i<=n; i++) { ...
2a86c0a1482880d5dd9cbd5ccb2f5ece12e371a2
27a70eb5be316701edd94beb246b2dde4608dd36
/GIRLSNBS.cpp
6e0198899afb31bb79d0807aea2c1ef46aafa71d
[]
no_license
phraniiac/SPOJ
d03e55d2197ae15f3bccdefd7ee34c1cce10e900
96b935599a399a073e180298227fa3845990b795
refs/heads/master
2021-05-29T11:43:16.252759
2015-08-19T09:50:06
2015-08-19T09:50:06
null
0
0
null
null
null
null
UTF-8
C++
false
false
274
cpp
GIRLSNBS.cpp
#include <cstdio> #include <math.h> using namespace std; int main(void) { float g,b; scanf("%f%f",&g,&b); while(g >= 0 && b >= 0) { if (g <= b) printf("%d\n",(int)ceil(b/(g+1))); else printf("%d\n",(int)ceil(g/(b+1))); scanf("%f%f",&g,&b); } return 0; }
dec7dbfa8970d451066848c1debbf936544166cd
513690464d0ecfd85c3aa35df84042329fd4d36f
/MTD/gameStates.hpp
87fe80eb26b083f1451c500e4502e5e1a059e44f
[ "MIT" ]
permissive
Hapaxia/MyPracticeBeginnerGames
25d5860f649f6221a948199587256d3826d70ff9
47ab3dfe0568ac16266813087bdc35f776a6b2df
refs/heads/master
2022-11-07T13:03:09.812427
2022-10-26T00:07:49
2022-10-26T00:07:49
41,216,006
7
1
MIT
2018-03-20T23:20:01
2015-08-22T16:37:05
C++
UTF-8
C++
false
false
292
hpp
gameStates.hpp
#ifndef MTD_GAMESTATES_HPP #define MTD_GAMESTATES_HPP #include "GameState.hpp" #include "GameState_Title.hpp" #include "GameState_Play.hpp" #include "GameState_Over.hpp" #include "GameState_Win.hpp" #include "GameState_Pause.hpp" #include "GameState_Death.hpp" #endif // MTD_GAMESTATES_HPP
52a37d0d3bbdd66b74ae5485194557d1e39a9895
58fc34324e28598d208f8abc61b1e15ef9606aaf
/DemoDirectX/KeyGame.cpp
256d466538c1bdcc78b8d1d3cf0a1f455c660ebe
[]
no_license
txbac98/Megaman-X3---UIT--SE102
2708c5827a60f4e4f5d12bdbb289166130e24b91
3c6b08ac6cf927ea2b47f35106ba2b111a63bc94
refs/heads/master
2021-10-09T07:36:41.170754
2018-12-23T16:30:48
2018-12-23T16:30:48
160,013,872
2
1
null
null
null
null
UTF-8
C++
false
false
1,404
cpp
KeyGame.cpp
#include "KeyGame.h" KeyGame* KeyGame::instance = 0; KeyGame* KeyGame::getInstance() { if (instance == 0) instance = new KeyGame(); return instance; } void KeyGame::update() { keyAttack = key->IsKeyDown(DIK_Z); keyAttackUp = key->IsKeyUp(DIK_Z); keyAttackPress = keyAttack && !isKeyAttackDownPrevious; isKeyA...
0ff00a4bd0cb5c313e7783908234d67cebfc4eb9
79d11d81ffacf6fad9cf271256eda8ae4b30bdbc
/src/engine/linux/sync.cpp
373d3e0aacf0a62d9af5a1e45b3dc5fbdcbbcb30
[ "MIT" ]
permissive
nem0/LumixEngine
d6c46d8febc54ff41e5bc5e6d71d861410f5b155
e6314612df50c6f37b34fb0dfcad9683cc506ec7
refs/heads/master
2023-09-02T09:14:49.212586
2023-08-23T21:01:37
2023-08-23T21:01:37
14,590,125
3,660
518
MIT
2023-09-14T14:49:32
2013-11-21T14:43:55
C++
UTF-8
C++
false
false
1,966
cpp
sync.cpp
#include "engine/allocator.h" #include "engine/crt.h" #include "engine/sync.h" #include "engine/atomic.h" #include "engine/profiler.h" #include "engine/string.h" #include <errno.h> #include <poll.h> #include <sys/eventfd.h> #include <unistd.h> namespace Lumix { ConditionVariable::ConditionVariable() { const int res ...
ca493e7d9f6563d700a315e59fdd124f2f4ee46c
075879726ac3ce4608004b5951ee4d06b642807a
/automated-cooling-chopsticks.ino
b47f3153704071b0ea86a6f0ecf6f64353a5ad06
[]
no_license
falsesugar/physical-computing
287b0df0116559e86621d0387512d398dc18a7fb
e8b63e49be3a94b68b06ed0051c7b8290d8d81d9
refs/heads/master
2020-08-04T22:19:17.607600
2020-03-06T05:46:11
2020-03-06T05:46:11
212,296,548
0
0
null
null
null
null
UTF-8
C++
false
false
764
ino
automated-cooling-chopsticks.ino
int fan = 3; int fanVal; int sensorPin = A0; int sensorVal; void setup() { pinMode(sensorPin, INPUT); // set the thermistor's input pin pinMode(fan, OUTPUT); // set the fan's output pin Serial.begin(9600); } void loop() { //put your main code here, to run repeatedly: sensorVal = analogRead(sensorPin); // read the ...
ac9dd793e70ff515f4ffa87bb54b6fd8680ff7fe
bae28238fdafb456a4ea52210f25004415c93de9
/dbpu-l9/4-5/main.cpp
7994d580aa44685dc30b064b6708d77f733f0bbf
[]
no_license
JohnyP41/DBPU
36d8702f705bae2b6cd2f84ffb9f0cda4c24a148
927fc3976651625936725b5ba05e32fea5da2394
refs/heads/master
2022-11-05T07:29:13.354465
2020-06-19T18:09:44
2020-06-19T18:09:44
273,556,442
0
0
null
null
null
null
UTF-8
C++
false
false
376
cpp
main.cpp
#include <iostream> using namespace std; int main() { int a[3][3]={1,1,1,2,2,2,3,3,3}; int b[3][3]={1,1,1,2,2,2,3,3,3}; int c[3][3]; for(int i=0;i<3;i++){ for(int j=0;j<3;j++){ c[i][j]=0; for(int k=0;k<3;k++) { c[i][j]+=a[i][k]*b[k][j]; } cout...
a21defe9afe6a42a1d4e6ad8d06f49838656a4b5
3c05da5cfd78711ada4f77109fc46946e9d5dd26
/code/application/ride/low_rendering.cpp
3d6aaa1e9bd6a0d402072c94ba93119a33a7e695
[]
no_license
uhacz/BitBox3
dab8eb131c31772ea2a63fa9c2e15076fa6ed5de
01978d757feb548cbab52d4e94bd6c6b00eb5daf
refs/heads/master
2020-07-29T03:20:13.083151
2020-02-13T22:27:12
2020-02-13T22:27:12
209,649,323
0
0
null
null
null
null
UTF-8
C++
false
false
22,049
cpp
low_rendering.cpp
#include "low_rendering.h" #include "../../rdi_backend/rdi_backend.h" #include "../../rdix/rdix.h" #include "atomic" #include "float16.h" #include "algorithm" #include "eastl/hash_map.h" #include "container_allocator.h" static constexpr u32 MAX_PIPELINE = 128; static constexpr u32 MAX_GEOMETRY = 1 << 13; static cons...
39c8d6370d42e16a903ed918a587d092d248cac3
8f3dd8c17627958eb7e8f94a041a449820cd34cc
/Homework/Assignment 4/Gaddis_8thEd_Chap5_Prob22/main.cpp
5d64c3512771d595906e3d9809093b592f764b8a
[]
no_license
connorkelley/Kelley_Connor_CSC5_43952
a0d06c96b621a6f934dd3dbeedef66a4a5438afd
65ae0a0d74f2c224a8ab046b344333ad951f65cc
refs/heads/master
2021-01-22T09:33:17.042609
2015-06-08T17:33:23
2015-06-08T17:33:23
31,327,934
0
0
null
null
null
null
UTF-8
C++
false
false
948
cpp
main.cpp
/* * File: main.cpp * Author: Connor Kelley * Created on April 8, 2015, 9:59 AM * Purpose: Homework Assignment 4 - Problem 22. Square Display */ //System Libraries #include <iostream> using namespace std; //User Libraries //Global Constants //Function Prototypes //Execution Begins Here! int main(int argc, ...
1d84311721c1652d6256e543cb63a238916fda1c
79cdb342fbfee0ac7bea290f143de6ae77dbb0e5
/spec/test/NumberOfFactorsTest.cpp
e7043a75e5d1a1fb73f8b2299335c40e68c012af
[]
no_license
alexcodreanu86/C_exercises
3506cc4bc1bf0a82035390dd62c9982a1de2d546
fb73cb3be0e451ac7b5dc595dc772f59897d4aa1
refs/heads/master
2021-01-01T05:45:23.738544
2016-06-04T02:17:06
2016-06-04T02:17:06
57,088,615
0
0
null
null
null
null
UTF-8
C++
false
false
542
cpp
NumberOfFactorsTest.cpp
#include "CppUTest/TestHarness.h" extern "C" { #include "NumberOfFactors.h" } TEST_GROUP(NumberOfFactors) {}; TEST(NumberOfFactors, returnsTheNumberOfFactorsFor30) { CHECK_EQUAL(8, NumberOfFactors_Count(30)); } TEST(NumberOfFactors, returnsTheNumberOfFactorsFor28) { CHECK_EQUAL(6, NumberOfFactors_Count(28)); } ...
22981d9cd9d75a2c9deee384fe713bee595a146e
6cc87204673172f213fa47537d79a5a92a8153d4
/CACHE.cpp
41f4f46ddcfe42c2e96dbe5dd2b85f26c191f2a2
[]
no_license
pratiksraut/CacheCoherenceSimulator
f29bf1e98b480304c9a1cf5aa996af8148be9fd1
6bc25c7d0c7c6f0c5c9f3c48914d425489289374
refs/heads/master
2020-09-11T17:26:46.531449
2019-12-10T00:11:52
2019-12-10T00:11:52
222,137,456
0
0
null
null
null
null
UTF-8
C++
false
false
13,506
cpp
CACHE.cpp
/* * CACHE.cpp * * Created on: 17-Sep-2019 * Author: prati */ #include "CACHE.h" #include <cmath> #include <iomanip> #include <iostream> #include <bits/stdc++.h> #include "defination.h" using namespace std; CACHE::CACHE(unsigned long int blockSizeIn, unsigned long int l1_sizeIn, unsigned long int ...
88da124247097bfd6e08e4dd7f2c9f7c96ecb7ac
e8743b2d9e84f5f49cd94f0fba2a9022d9d977e9
/include/skytraq/skytraq_structures.h
345b0595a3999a464868c074c88d2820871623ee
[]
no_license
GAVLab/skytraq
f3ce2b25a1463ef072c5746a656c20b1e90e32e5
0ce9a92d22713a145e8b81142ebba2c235ea0853
refs/heads/master
2021-01-18T21:54:58.403996
2016-05-12T13:55:56
2016-05-12T13:55:56
13,111,865
0
3
null
null
null
null
UTF-8
C++
false
false
19,450
h
skytraq_structures.h
// Skytraq Binary Data Structures #ifndef SKYTRAQSTRUCTURES_H #define SKYTRAQSTRUCTURES_H #include "stdint.h" namespace skytraq { #define MAXCHAN 66 // Maximum number of signal channels + 1 #define MAX_NOUT_SIZE MAXCHAN*23+3 // Maximum size of a Skytraq log buffer (RAW_MEAS message) #define MAX_SAT 33 ...
86d8353791cde3c863c66723bbd05e228d915457
31f5cddb9885fc03b5c05fba5f9727b2f775cf47
/thirdparty/eigen-3.3.3/bench/btl/libs/blitz/blitz_LU_solve_interface.hh
dcb9f567feb098552c8090722769ffafee67d32d
[ "GPL-2.0-only", "GPL-3.0-only", "LGPL-2.1-only", "BSD-3-Clause", "LGPL-2.0-or-later", "MPL-2.0", "LGPL-2.1-or-later", "Minpack", "MIT" ]
permissive
timi-liuliang/echo
2935a34b80b598eeb2c2039d686a15d42907d6f7
d6e40d83c86431a819c6ef4ebb0f930c1b4d0f24
refs/heads/master
2023-08-17T05:35:08.104918
2023-08-11T18:10:35
2023-08-11T18:10:35
124,620,874
822
102
MIT
2021-06-11T14:29:03
2018-03-10T04:07:35
C++
UTF-8
C++
false
false
5,364
hh
blitz_LU_solve_interface.hh
//===================================================== // File : blitz_LU_solve_interface.hh // Author : L. Plagne <laurent.plagne@edf.fr)> // Copyright (C) EDF R&D, lun sep 30 14:23:31 CEST 2002 //===================================================== // // This program is free software; you can redistri...
550a6905436ae12eabc157db66ac4ae169f01c5e
ce614fa51c4646a4624d67c6418ddb9ae69db90f
/ThievesLabyrinth/BoxCollider.h
674e4e974a7eea6bc7d1db1e772d1953022113aa
[]
no_license
DanielOrtuno/ThievesLabyrinth
6e095b1ffe306374c3e6eeda55e970c570cdccff
712d887f42621879c16466083a013ffe448b5663
refs/heads/master
2020-05-05T08:05:43.938968
2019-07-06T18:07:08
2019-07-06T18:07:08
179,850,190
0
0
null
null
null
null
UTF-8
C++
false
false
567
h
BoxCollider.h
#pragma once #include "Collider.h" class CTransform; class CBoxCollider : public ICollider { CMath::TVECTOR3 m_tCenter; CMath::TVECTOR3 m_tExtent; public: CBoxCollider(IEntity* pcOwner); /*************** * Accessors ***************/ CMath::TVECTOR3 GetCenter(); CMath::TVECTOR3 GetLocalCenter(); CMath::TVE...
d00a8ecd8593551309357f9e0aa11cdc309d34fe
56b9a5c417f9e25acf14678586073cd19eb2cc2e
/FineGrainWeights.cpp
ad4e2e593b499ff4c59a7336d1e242ecc13e93d9
[]
no_license
valecallioni/APC-Project
96cd0499567816ceacb67733641dd1b4415e35e5
375a1ca94c5bafe5b9b1d3ea10e5ee313d48c1d3
refs/heads/master
2021-03-27T19:05:06.131452
2018-01-16T15:31:28
2018-01-16T15:31:28
117,701,815
0
0
null
null
null
null
UTF-8
C++
false
false
2,029
cpp
FineGrainWeights.cpp
#include "FineGrainWeights.hpp" void FineGrainWeights::set_weights(Process &process, std::ofstream &ofs) { weights.clear(); for (unsigned int k=0; k<process.size(); k++) weights.push_back(process[k]->get_weight()); std::sort(weights.begin(), weights.end()); std::reverse(weights.begin(), weights.end()); ...
fe8578204f36b9a7fdc27b81574ea291752b8917
86be108ddac82eb385ef8ba74e0be7b0522ac433
/turkey/arch_x64.cpp
a9e66cdc3ef31802caba73f6cb824cde19c98e32
[ "Apache-2.0" ]
permissive
AndrewAPrice/Turkey
07c0b0b47b7f65e777c675355286506449c8e26c
aa3fab9bc344b1550eac306471b0513daf286e8a
refs/heads/master
2022-06-10T03:13:01.775326
2020-05-06T14:07:07
2020-05-06T14:07:07
261,596,108
1
0
null
null
null
null
UTF-8
C++
false
false
7,577
cpp
arch_x64.cpp
/* ** This file has been pre-processed with DynASM. ** http://luajit.org/dynasm.html ** DynASM version 1.3.0, DynASM x64 version 1.3.0 ** DO NOT EDIT! The original file is in "arch_x64.dasc". */ #include "turkey.h" #include "external/dynasm/dasm_proto.h" #include "external/dynasm/dasm_x86.h" //| .arch x64 #if DASM_VE...
a8fce662b2cc823d3ccd60be96fdc767826e0ff7
ce50454197080fad2d75f25902bcb001687f6efd
/src/control/simbicon_control.h
b7d60d65b145673e563b395a83e0e8cdd5701ea1
[]
no_license
nslo/2dsimbicon
9ad164cf94197ae60fb60451815367a0ed9fed1e
00b32fa9963601d68a728a913d67dcd144a509b1
refs/heads/master
2021-01-20T07:04:45.910901
2014-05-06T15:35:21
2014-05-06T15:35:21
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,942
h
simbicon_control.h
#ifndef _TOY_CONTROL_H_ #define _TOY_CONTROL_H_ #include <iostream> #include <fstream> #include <sim/biped7.h> #include <sim/simulator.h> #include <vector> #include "controller.h" enum simbicon_target_t { SIMBICON_SWH, SIMBICON_SWK, SIMBICON_SWA, SIMBICON_STH, SIMBICON_STK, SIMBICON_STA, S...
de916efcfc393d7942a1c516549427d3c3c445a3
d3fbd97c0ba279da92da257baa7267c1fb1c3359
/Classes/editor/Editor.cpp
c91e4ea1ca9d86e0f6f8440e6ee333336c8cf4a6
[ "MIT" ]
permissive
youlanhai/cc-qt-framework
d49a240e3a662c37d9a68fe63a0cad62222e234b
35b19d253cdbe2800ecb8068e476efa408f76242
refs/heads/master
2021-01-10T01:08:43.668285
2017-04-23T13:03:06
2017-04-23T13:03:06
44,656,496
0
2
null
null
null
null
UTF-8
C++
false
false
10,306
cpp
Editor.cpp
#include "Editor.h" #include "EditorPropertyItem.h" #include "EditorPropertyTree.h" #include "EditorTools.h" #include "EditorHierarchy.h" #include "EditorCanvas2D.h" #include "EditorCanvas3D.h" #include "EditorInspector.h" #include "EditorPropertyDefault.h" #include "EditorScene.h" #include "uiloader/UILoader.h" #incl...
48f9942f281b6cae022488e2ad52138bdad145f7
bc85fb0632756d338d144629368798767ac7bed6
/src/solution/leetcode/413.cpp
19b2925e12d99103fc403da9026a6d97f17f55f1
[]
no_license
ssine/code
778cbb9d54633682ade6b32e376526503f215e8f
199c85ab75d5ab4d04295948f6f3acffed1b6ef1
refs/heads/master
2021-07-03T20:21:48.537580
2021-05-31T06:45:45
2021-05-31T06:45:45
242,058,197
0
0
null
null
null
null
UTF-8
C++
false
false
1,143
cpp
413.cpp
#include "leetcode.h" class Solution { // given length of arithmetic array, return num of all sub arithmetic arrays int getSubarrayNum(int len) { // (len - 3 + 1) + (len - 4 + 1) + ... + (len - len + 1) // = len * (len - 3 + 1) - (len + 3) * (len - 3 + 1) / 2 + (len - 3 + 1) // = (len - (len + 3) / 2 +...
9e781132b6c4b68522e89ea9ceabf9c552f90c9e
16520098e84ebb7ad6731630856f058554b129a4
/service/trackReader.hpp
95445874754633b916c6d64593f554f7ff6a604a
[]
no_license
zhenfei2016/FFLv2-track
5161a526dd5e9141cfbe4001dd9f3c3f4a80b619
8d565aa2f702ae772d6230bd79bd83dafcd73909
refs/heads/master
2020-03-23T13:52:29.079446
2018-08-27T12:54:48
2018-08-27T12:54:48
141,642,554
0
0
null
null
null
null
GB18030
C++
false
false
427
hpp
trackReader.hpp
#include <FFL.h> #include <utils/FFL_StringHelper.hpp> #include <utils/FFL_File.hpp> class TrackFileReader { public: TrackFileReader(); ~TrackFileReader(); void reset(); // // 返回是否成功, false表示失败了 // maxLine:最多读取多小行 // bool readJson(FFL::String& json, int32_t maxLine); private: bool open(const char*path);...
b60347acceae099996bef192d5ce1a92d7ba1891
c604f676012eb6f1d1531ea8f69bd7ef8af984ab
/Native/JStormLib/MPQCompression.cpp
0f5ff7a3546ac9e6c649275ae746272b917ec91b
[]
no_license
strategist922/JStormLib
26548c7b5ed2653e24588baf937fb792b37332b0
7ad2391d5f17e0c96fdd0df2bcdf2ee49dea381f
refs/heads/master
2021-01-18T13:14:19.562869
2014-05-17T15:10:45
2014-05-17T15:10:45
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,938
cpp
MPQCompression.cpp
#include "MPQCompression.h" #include "Common.h" #include <StormLib.h> #include <JString.h> #include <JArray.h> #include <JniEnv.h> /* * Class: de_deaod_jstormlib_MPQCompression * Method: implode * Signature: ([BII)[B */ JNIEXPORT jbyteArray JNICALL Java_de_deaod_jstormlib_MPQCompression_implode (JNIEnv *e...
c0230cdae12f9696cbc7c5f40927ddc098dbe985
78d136da9fc2df72697cf8f849600e9ce9cfe7f3
/include/xnor/XNOR_Gate.h
58d8337adc099ca8750a27cb21bb8ef74d14b60c
[]
no_license
fouad1995/Logic-Simulator
d9e6146229dff69cbc6b3c0602ab333edc192958
c04c3ba222592de9b707f92aef0c857297862947
refs/heads/master
2021-06-16T14:15:29.336480
2021-02-06T09:10:59
2021-02-06T09:10:59
151,934,154
5
1
null
null
null
null
UTF-8
C++
false
false
137
h
XNOR_Gate.h
#pragma once #include "../include/core/Gate.h" class LogicSimulator_EXPORT xnor_gate :public Gate { public: void Calculate_Out(); };
750a2ded3710911b74dc31d16216af0b1055dec7
bf1f298b06c7c3b60ebb2b56e8220a162deb9a59
/larsim/MCCheater/BackTrackerService.h
15267cb769bd607729b93b177a561565afcaf3b1
[]
no_license
plasorak/larsim
72e9181158e42f4d36327ceef9d99bd46d2f466a
fc7316fe7abf09766dc669a19c56c570e9063a81
refs/heads/develop
2021-01-16T09:26:01.303264
2020-02-18T02:47:05
2020-02-18T02:47:05
243,060,827
0
1
null
2020-02-25T17:38:30
2020-02-25T17:38:29
null
UTF-8
C++
false
false
5,802
h
BackTrackerService.h
///////////////////////////////////////////////////////////////////////////////// // \file BackTrackerService.h // \A service for backtracking reconstruction information to its truth information // // \author jason.stock@mines.sdsmt.edu // Based on the original BackTracker by Brian Rebel (brebel@fnal.gov // ///////////...
7c4dce5b9c662466a3f00aa87aaa8d020f6dad67
0da0d68390d4c82632259e1775d5ff70d00bbd0e
/modules/le_mesh_generator/le_mesh_generator.h
469703b452c6af2003e353714febe3f5e3bf07b5
[ "MIT" ]
permissive
tgfrerer/island
1974c1c574d3037fe3364e6a10633f97395a0b9b
a2f91d050b49a3f2a0ae5ce4c8cdc21e6f8d8fd3
refs/heads/wip
2023-08-29T22:26:24.367135
2023-08-09T15:37:36
2023-08-09T15:37:36
150,248,562
844
35
MIT
2023-08-01T19:28:37
2018-09-25T10:36:37
C++
UTF-8
C++
false
false
2,322
h
le_mesh_generator.h
#ifndef GUARD_le_mesh_generator_H #define GUARD_le_mesh_generator_H #include "le_core.h" struct le_mesh_o; // clang-format off struct le_mesh_generator_api { struct le_mesh_generator_interface_t { void ( *generate_sphere )( le_mesh_o * mesh, float radius, // uint32_t ...
8f3d1b6a74b0fbea7730ffe2c0008a8f6895581b
544dbe57849040a13472b0ca15397adc66b32dc1
/ChessNewGeneration/ChessPieces.h
c1dfb53dd0aaaf96ed386885e6cd85a635c3d067
[]
no_license
S0mas/ChessNewGeneration
9bd1567f93e10fee9e834b7905bd5bdc3d1c5943
055e244f4d9dea9edecda936a2c186fa6386d14a
refs/heads/master
2020-04-11T05:18:17.723141
2019-07-25T16:05:23
2019-07-25T16:05:23
161,545,488
0
0
null
null
null
null
UTF-8
C++
false
false
2,963
h
ChessPieces.h
#pragma once #include <array> #include "Piece.h" class ChessPieces { std::array<std::unique_ptr<Piece>, 32> pieces_; public: ChessPieces() noexcept { auto i = 0; pieces_[i++] = std::make_unique<Rook>(Position("A1")); pieces_[i++] = std::make_unique<Knight>(Position("B1")); pieces_[i++] = std::make_unique<Bis...
5959aaf78345f7da3819a5607a7d8f0ab15e3531
becacd46fa457d724c563afa5c171d7b23580ba7
/Algorithm/FreeImage/CFreeImage.cpp
88d266d27cb858f3f145fab43e8f1578ae1da2b2
[ "MIT" ]
permissive
boyang-yu/ClothDesigner
a5e9ad7f77133a6d7c89703d6d3bd71e4706afe9
82b186d6db320b645ac67a4d32d7746cc9bdd391
refs/heads/master
2022-03-11T10:41:10.717069
2019-07-31T12:46:53
2019-07-31T12:46:53
null
0
0
null
null
null
null
UTF-8
C++
false
false
7,965
cpp
CFreeImage.cpp
#include "ldpMat\ldp_basic_vec.h" #include "CFreeImage.h" #include "FreeImage.h" #pragma comment(lib, "FreeImage.lib") using namespace std; CFreeImage::CFreeImage() { clear(); } CFreeImage::CFreeImage(const CFreeImage& other) { _width = other._width; _height = other._height; _nChannels = other._nChannels; _bits...
fe7a7c121fdee15d5a5ef89d2c7fcefb77d42e6c
6ea50d800eaf5690de87eea3f99839f07c662c8b
/ver.0.15.0.1/PlayerListPacket.h
b6127436e5bed4362b93e57c515b7ceb3d117810
[]
no_license
Toku555/MCPE-Headers
73eefeab8754a9ce9db2545fb0ea437328cade9e
b0806aebd8c3f4638a1972199623d1bf686e6497
refs/heads/master
2021-01-15T20:53:23.115576
2016-09-01T15:38:27
2016-09-01T15:38:27
null
0
0
null
null
null
null
UTF-8
C++
false
false
537
h
PlayerListPacket.h
#pragma once class PlayerListPacket{ public: PlayerListPacket(mce::UUID const&); PlayerListPacket(mce::UUID const&); void getId(void); void getId(void); void handle(RakNet::RakNetGUID const&,NetEventCallback *); void handle(RakNet::RakNetGUID const&,NetEventCallback *); void read(RakNet::BitStream *); ...
6f6177d2e8b21c1199fca92ba55e5053a4fd19a9
5637460a95f6646dec3181cb2995e67c3200a59e
/BNU/弱校联盟/G1/a.cpp
ed75dba48c6221d2cdb6219125af4e48e416aca6
[]
no_license
gblym/ACM-ICPC
5c1d9d5764d667afd72ffd19d6b036edcfeca4d0
8f5edd4aa585bbaba96b84167037a6458a815c49
refs/heads/master
2021-01-10T11:16:46.885617
2015-10-03T08:28:06
2015-10-03T08:28:06
43,592,542
0
0
null
null
null
null
UTF-8
C++
false
false
541
cpp
a.cpp
/************************************************************************* > File Name: a.cpp > Author: gblym > Mail: mylbg4evol@gmail.com > Created Time: Sat Oct 3 16:20:53 2015 ************************************************************************/ #include<iostream> #include<cmath> using namesp...
5ac82977a6d1184b767957dbf6ff99038272dad4
b8b69b9721088fc60a523ada7650c7fb8864ff2a
/src/Common/Result.inl
84b2d924cb143d9ac493c2b1f2b2bbe6e55b7f06
[]
no_license
jvidziunas/Eldritch2
7a99ab852c93768b4caf1cefe7ba415b71987281
3491f2f380f5ae4dd155594b94fea28f791f3069
refs/heads/master
2021-01-10T09:37:08.120746
2018-04-11T00:22:20
2018-04-11T00:22:20
43,710,529
2
1
null
null
null
null
WINDOWS-1252
C++
false
false
6,820
inl
Result.inl
/*==================================================================*\ Result.inl ------------------------------------------------------------------ Purpose: ------------------------------------------------------------------ ©2010-2015 Eldritch Entertainment, LLC. \*=======================================...
c01cc7fe34bc861f0642294d455e91bfcd31f98b
e70739f020b7e565eb646ec3da58157dae015616
/src/common/rpc/RpcClient.cpp
e90748d5e26ef30b0cc56fbd923ac7f9448b1294
[ "BSD-2-Clause" ]
permissive
rgmann/coral
f7639d02eade3d0bc18edfb557215fae2c87ced1
9475389130df30cef1c0a799032ed8d0e9897f4d
refs/heads/master
2021-01-10T05:10:48.929011
2016-01-25T05:25:04
2016-01-25T05:25:04
44,897,259
5
0
null
2016-01-25T05:25:55
2015-10-25T05:04:39
C++
UTF-8
C++
false
false
5,373
cpp
RpcClient.cpp
// // Copyright (c) 2015, Robert Glissmann // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // * Redistributions of source code must retain the above copyright notice, this // list of con...
b56511e5242c87ec3b7ac385723e2818c4ee4f0e
0b9d360391d9870b628209b397416272c3fa0436
/7.19/CX04/diyiti/diyiti.cpp
58039d5df80bf74120ef3150dcd5e644ca02b146
[]
no_license
cxchinaxjh/file
84560a014ef01e6e2fd742b38026a2cdc2c4cb89
a79e4a9b1cd6f372aa88ad464f07d242e0f21ddd
refs/heads/main
2023-06-19T06:35:20.225222
2021-07-21T10:20:51
2021-07-21T10:20:51
388,007,526
0
0
null
null
null
null
UTF-8
C++
false
false
927
cpp
diyiti.cpp
#include<bits/stdc++.h> using namespace std; #define fori(i,a,n) for(i=a;i<=n;i++) #define ford(i,n,a) for(i=n;i>=a;i--) typedef long long ll; typedef double db; typedef long double ld; typedef unsigned long long ull; typedef unsigned int uin; //typedef __int128 lll; const int N=1e6+5; ll n,i,a[N],b[N],j,ans...
d36cf628747cbe35c059ac0c672f3be1319f08bf
242faf5e877b25b1010c8eb356d8cd5ee657c701
/TheLongNight/images.cpp
7cdc53a6755f1ff63fa5c251e5ea02c10821c586
[]
no_license
laughingpanjandrum/TheLongNight
0c52529f8b6fd3d45c0037118dbda50c03f231f3
88a88acb5b39c9fea5173032df3bd1f9c05aea9d
refs/heads/master
2021-01-12T02:06:43.316935
2017-03-28T15:03:05
2017-03-28T15:03:05
78,474,237
0
0
null
null
null
null
UTF-8
C++
false
false
736
cpp
images.cpp
#include "images.h" /* Creates and returns a pointer to an image. */ imagePtr loadImage(const std::string fname, bool noTransparency) { //Get actual file name by appending the extension const std::string realname = fname + IMG_FILE_EXTENSION; //Create pointer to image imagePtr pix = new TCODImage(realname.c_str(...
e42e97a51f80b422ecc3476f3f2c6cfe5aa70e10
d5d649d358b72cc2c634b88945521fb1aefd4dd8
/Rocklights/src/Arrangement.h
d1346e6c8da247474c2d1a190a3525b53b05aa90
[]
no_license
damonseeley/electroland_repos
70dd6cad4361616d7d2bf8a10139ba949bed0a57
63b06daf1a5bc2d66e3fc80bf44a867796e7028b
refs/heads/master
2021-01-10T12:43:13.110448
2014-10-13T18:59:40
2014-10-13T18:59:40
50,899,790
0
0
null
null
null
null
UTF-8
C++
false
false
593
h
Arrangement.h
#ifndef __ARRANGEMENT_H__ #define __ARRANGEMENT_H__ #include <string> #include "Avatar.h" #include "Interpolators.h" #include "PersonStats.h" class Avatar; class Interpolators; class PersonStats; class Arrangement { public: Arrangement(){}; ~Arrangement(){}; virtual void apply(Avatar *avater, Inter...
aa4fd38a1b65226b2dd4e1caa6ddc94bbe99df4c
bb9df1b69c2f855a0a094f6bc71c671a70b9da36
/leetcode/p014-longest_common_prefix.cpp
785d6bd8f96e38f0450c70f7f52b05c478e969bd
[]
no_license
cjin/exercises
267c0876946c8afebdb5571810de50f3296d590f
9207ae241648e611c4bfe0ae7ac383b31ff471f6
refs/heads/master
2021-06-05T12:10:39.259668
2015-08-25T03:59:41
2015-08-25T03:59:41
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,882
cpp
p014-longest_common_prefix.cpp
/* 14 Longest Common Prefix Write a function to find the longest common prefix string amongst an array of strings. https://oj.leetcode.com/problems/longest-common-prefix/ Write a function to find the longest common prefix string amongst an array of strings. (EASY) String */ /* Corner cases: - No element in the vect...
9f31fd6d730888be4c5528997c7ff4004b97a47c
5ff233c4002e05e6a61fd0ca42eae1b265ce8ac8
/strings/longest-palindrome.cpp
b7de7b5b4a00e61f9a934dd51a6f5ec6f9ea6413
[]
no_license
oscarburga/cses-solutions
88d8aa3b4f2b2445c3a4e0e0bc685b0972f3c9d5
3912900017c29b03208d867c4de3b123e8b68f49
refs/heads/master
2023-03-25T21:04:42.506801
2021-03-26T03:29:04
2021-03-26T03:29:04
283,669,978
2
0
null
null
null
null
UTF-8
C++
false
false
557
cpp
longest-palindrome.cpp
#include <bits/stdc++.h> using namespace std; using ll = long long; const int maxn = 1e6+5; int n, d[2][maxn]; char s[maxn]; int main(){ scanf("%s", s); n = strlen(s); int ansl = 0, ansr = 0; for(int v = 0; v<2; v++) { for(int i = 0, l = 0, r = -1; i < n; i++) { int k = i > r ? 0 : min(r-i+1, d[v][l+r-i+v])...
eb921ffaa0026d91a72df14765c99ac7d2b3a4af
c3a424748ca2a3bc8604d76f1bf70ff3fee40497
/legacy_Distros/releases/097/Distro/pkg/systems/worldSaver/include/report.inc
6145bf61d8140d8b3891dbd5e1c8c5136cf62a69
[]
no_license
polserver/legacy_scripts
f597338fbbb654bce8de9c2b379a9c9bd4698673
98ef8595e72f146dfa6f5b5f92a755883b41fd1a
refs/heads/master
2022-10-25T06:57:37.226088
2020-06-12T22:52:22
2020-06-12T22:52:22
23,924,142
4
0
null
null
null
null
UTF-8
C++
false
false
658
inc
report.inc
use uo; use os; use file; CONST SAVER_REPORT_DISABLE := 0x0; CONST SAVER_REPORT_CONSOLE := 0x1; CONST SAVER_REPORT_SYSLOG := 0x2; CONST SAVER_REPORT_BROADCAST := 0x4; CONST SAVER_REPORT_ALL := 0x7; function SVR_ReportText(report_text:="?", flags:=SAVER_REPORT_DISABLE) if ( !flags ) return 0; endif if ( flags ...
167eb6dc69a77780c23b771f77da61e31667a01b
e24a366a7ac5dfb5975a468046c8626a9d56fa6d
/Obfuscator/Source/include/llvm/DebugInfo/CodeView/CodeViewError.h
d4615d02220dfe5c1d0541181582571fb7dcb97b
[ "NCSA", "MIT" ]
permissive
fengjixuchui/iOS-Reverse
01e17539bdbff7f2a783821010d3f36b5afba910
682a5204407131c29588dd22236babd1f8b2889d
refs/heads/master
2021-06-26T17:25:41.993771
2021-02-11T10:33:32
2021-02-11T10:33:32
210,527,924
0
0
MIT
2021-02-11T10:33:33
2019-09-24T06:26:57
null
UTF-8
C++
false
false
1,468
h
CodeViewError.h
//===- CodeViewError.h - Error extensions for CodeView ----------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
d1bafdc72642b28ae8f657833b64d9040eb9f61e
892598fa83ced691ed71c5a006881c42c83339f1
/aulas/tads/stack.cpp
5339ad5f4e09c4e8e84e9156449b7219bc901688
[]
no_license
guilimadev/lp2019
3463521c87676d831a29d852b782b3c2c9f16b19
c835337e1ad1a2869c16aaab5c91435824e85672
refs/heads/master
2020-04-22T11:06:16.787507
2019-09-18T02:04:49
2019-09-18T02:04:49
170,328,069
0
0
null
null
null
null
UTF-8
C++
false
false
393
cpp
stack.cpp
#include <stack> #include <iostream> using namespace std; int main(){ stack<int> pilha; for(int i=0;i<10;i++){ pilha.push(i); } cout << pilha.top() << endl; pilha.pop(); cout << pilha.top() << endl; for(int i=0;i<9;i++){ pilha.pop(); if(pilha.empty()){ c...
f700f415a7e6d4c2ade679ab65ca87c7a8f44cc8
c365690aa50d15291c997200fede483b6a7c06e0
/mmwave-amc-test.cc
a404b9dec42c51e222cfa2d7d8938230fb48e62f
[]
no_license
gokul10cs12/NS3-learns
632b1897412adc70b28d9a685b4c7057f416758c
23e4d8d46bc08e4ea9657540c872cf7dd899d881
refs/heads/master
2020-08-10T03:40:27.024833
2019-12-28T14:43:59
2019-12-28T14:43:59
214,247,747
0
0
null
null
null
null
UTF-8
C++
false
false
9,367
cc
mmwave-amc-test.cc
/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * Copyright (c) 2015, NYU WIRELESS, Tandon School of Engineering, New York University * * This program is free software; you can redistribute it and/or modi...
ccad0f4b2091329e1bce272a909ba63f6934311b
65aef6c7ae20797aa3f368bd6ee320fa6f33ea92
/20191009ur5test5/src/main_node/vars/cglobal.cpp
cc35f3eb64879b48b5b1dde04036ec87369f539c
[]
no_license
DoyleWHY/ur5_moveit_test
2a1d2b061cb167ff06b696071d5704a46e46815f
887e817393737b853af7f7aca942aaf83583adf3
refs/heads/master
2020-08-27T06:27:41.908181
2019-10-24T10:11:51
2019-10-24T10:11:51
217,269,523
0
0
null
null
null
null
UTF-8
C++
false
false
294
cpp
cglobal.cpp
#include "cglobal.h" CGlobal::CGlobal() { } CGlobal::~CGlobal() { } int CGlobal::testValue = 11; int CGlobal::buttonB = 0; float CGlobal::coordinates[3] = {0.05, 0.06, 0.07}; float CGlobal::motorAngles[3] = {0.8761, 2.5391, 1.9595}; float CGlobal::model_coordinates[3] = {0.05, 0.06, 0.07};
6912698cf2ce114301b97d6a1fbdfb960f1d8db8
5d83739af703fb400857cecc69aadaf02e07f8d1
/Archive2/bd/cf061021bd768d/main.cpp
dafe6d5592359c7a9bb36bbace86a7debeb0fb6f
[]
no_license
WhiZTiM/coliru
3a6c4c0bdac566d1aa1c21818118ba70479b0f40
2c72c048846c082f943e6c7f9fa8d94aee76979f
refs/heads/master
2021-01-01T05:10:33.812560
2015-08-24T19:09:22
2015-08-24T19:09:22
56,789,706
3
0
null
null
null
null
UTF-8
C++
false
false
981
cpp
main.cpp
#include <stdio.h> #include <stdlib.h> typedef char ElemType; typedef struct Queue{ ElemType data; struct Queue *next; }Queue,*pQueue; pQueue CreateQueue() { pQueue p=(pQueue)malloc(sizeof(Queue)); p->next=NULL; return p; } int isEmpty(pQueue Q) { if(Q->next==NULL) return 1; else return 0; } ...
c78f38d52b7d49c344b5c0e1ce3aaedb50aab947
07e7958bb57d6caa25225c6bc6db2194daea671c
/spree-master/project2/XProcess/XWindow_CashMall.cpp
7adaf429a59c9ce2ed9f1b6a056ed63190f4eda3
[]
no_license
pedromela/9d
34eb86d1acc863586c8e7338fc5f5c6ccaaacaa9
c65024fba16eca04b4eec897d312eb295ce60cfa
refs/heads/master
2021-07-21T07:34:18.570081
2017-10-30T17:58:45
2017-10-30T17:58:45
108,886,922
0
1
null
null
null
null
UHC
C++
false
false
10,969
cpp
XWindow_CashMall.cpp
// XWindow_CashMall.cpp: implementation of the _XWindow_CashMall class. // ////////////////////////////////////////////////////////////////////// #include "stdafx.h" #include "XKernel.h" #include "EmperorOfDragons.h" #include "EODEXTDEF_GlobalObject.h" #include "XProc_ProcessDefine.h" #include "XWindow_CashMall.h" #in...
aabaaf7a8916a62723121fb544ed02f2744a2fc4
3bb2b38165d31d39fbcc10cc59f3ef0e9293ed20
/brain.hpp
470f16ab7a922248596f5c32f3add38ec9a14894
[]
no_license
benjaminleon/matchsticks
b180e705205603dc7fa4871daeebd848d4b2a6bd
03d6291238fe09bb74660aa0152dac19a91d3047
refs/heads/master
2021-01-20T06:05:25.982988
2017-08-27T13:11:06
2017-08-27T13:11:06
101,482,529
0
0
null
null
null
null
UTF-8
C++
false
false
435
hpp
brain.hpp
#ifdef BRAIN_HPP #else #include <iostream> #include <vector> #include <algorithm> #include <map> enum Prediction { LOSE, WIN, DUNNO }; class Brain { public: Brain(); enum Prediction findWinningMove(std::vector<int> state); enum Prediction checkNote(std::vector<int> state); int _sticks; ...
4920c63cf214df1fcb189f8f3b3c4eacd55b4182
a06515f4697a3dbcbae4e3c05de2f8632f8d5f46
/corpus/taken_from_cppcheck_tests_aflminimized/stolen_12094.cpp
4f304d3240f0b8e1ce467643f35acc9a8f700b00
[]
no_license
pauldreik/fuzzcppcheck
12d9c11bcc182cc1f1bb4893e0925dc05fcaf711
794ba352af45971ff1f76d665b52adeb42dcab5f
refs/heads/master
2020-05-01T01:55:04.280076
2019-03-22T21:05:28
2019-03-22T21:05:28
177,206,313
0
0
null
null
null
null
UTF-8
C++
false
false
115
cpp
stolen_12094.cpp
void f(void *data) { unsigned char* c = (unsigned char *)data++; unsigned char* c2 = (unsigned char *)++data; }
d0708c6a9c255da1c67d94e3a5cb5818f0f452e5
b73c7dfeb502ccb22238145b4ed69bf667d69941
/Segregate_even_odd.cpp
a3e7a4d960ed520267dcc7778156ca51be310f8f
[]
no_license
Sonu08-Sto/Data-Structure-Algorithms
be93b22fcf1a644978e338f745c42202e074659a
dca384e620c2394afd5860cf8a75e1b74b8c6838
refs/heads/main
2023-06-07T08:16:13.370054
2021-07-05T18:06:05
2021-07-05T18:06:05
383,224,790
0
0
null
null
null
null
UTF-8
C++
false
false
1,289
cpp
Segregate_even_odd.cpp
#include<iostream> using namespace std; struct Node{ int data; Node *next; Node(int x) { data=x; next=NULL; } }; Node *Segregate(Node *head){ Node *es=NULL,*Es=NULL,*os=NULL,*Os=NULL; for(Node *curr=head;curr!=NULL;curr=curr->next){ int x=curr->data;...
9a2dd92a29e588cd7598989b931e50ea90c39e33
9ffce28dedce625c80e1e4c4d919abd40f5f11a1
/src/mdnKernel.cpp
eac55c310133a9613bb836ecccde64a1d187db5b
[ "MIT" ]
permissive
madneon/mdnKernel
932b39835fb1b463acf107150d92ce7e93adde9c
ba3fcd444f78138cfd41075c49fd99d0748f09d7
refs/heads/master
2021-01-18T20:56:24.898693
2020-07-29T23:30:00
2020-07-29T23:30:00
87,003,178
0
0
null
null
null
null
UTF-8
C++
false
false
3,092
cpp
mdnKernel.cpp
/* MIT License Copyright © 2017 by madneon http://madneon.com */ #include <mdnKernel.h> // constructor mdnKernel::mdnKernel() { } void mdnKernel::tick(bool is_exclusive = true) { // calculate tick tick_last = tick_current; tick_current = millis(); tick_interval = tick_current - tick_last; // lowest timeout...
d9f93c6fe77cb6ea00c72b51ec1456dd665d91cc
8e11455652a6d25139fe30cb661640ad14e9c826
/1. BoulderDash-procedural/BoulderDash-procedural/gameLoop.h
51ec097345afa78765394a7f7f475eadc88683ee
[]
no_license
john0xff/BoulderDash
5339fb4817b674274d8c80b59a02c533df9b91c3
74d4188643fabcda7505abe505e4c8583bfa948e
refs/heads/master
2021-01-17T08:13:48.523685
2014-08-23T19:48:58
2014-08-23T19:48:58
null
0
0
null
null
null
null
UTF-8
C++
false
false
6,196
h
gameLoop.h
extern void gameFrame(); void findMonster(Monster &monster, std::vector<Monster> &monsterMovement, char** &_loadedMap) { for(int y = 0; y < newMapHeight; ++y) { for(int x = 0; x < newMapWidth; ++x) { if(_loadedMap[y][x] == '@') { monster.position.x = x; monster.position.y = y; monster.directio...
1469a8533020f8973b88b1c4bfdd3fb2bb36c930
b0496980a13ad8253c3588ae2a0df9282531d927
/libmedia/Metadata.cpp
bed1f9d1212e5fe3441a0e0d639f5ea78d4fdab9
[ "Apache-2.0" ]
permissive
weimingtom/TL51Code.
e6a0c2e5af1dd2e38cd781bba53c87c850143734
6999ee79883e952c3bed951e5b456a9fbfc5214c
refs/heads/master
2020-03-30T21:49:01.542675
2018-09-11T08:42:38
2018-09-11T08:42:38
151,643,127
0
1
null
null
null
null
UTF-8
C++
false
false
4,953
cpp
Metadata.cpp
/* * Copyright (C) 2009 The Android Open Source Project * * 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 app...
a826bf41d0ec6f8c34457d9ed4fea114f950e551
3197285b6faeeb29aea478ba00aebae4391714f4
/Assignment2/FEM.cpp
e9b70ecb5a363f7231917bca537b91fab51ad4f5
[]
no_license
f-tischler/PhysicallyBasedSimulation
9a39edc35da6e040cfb8a28d45c61d81fbc268d3
103bf7a245f4f5ddc9fa32f67318c48c1a7b8ce3
refs/heads/master
2021-10-19T07:50:00.309959
2018-01-24T12:35:41
2018-01-24T12:35:41
106,805,279
1
0
null
2019-02-19T10:18:25
2017-10-13T09:32:13
C++
UTF-8
C++
false
false
3,927
cpp
FEM.cpp
/****************************************************************** * * FEM.cpp * * Description: This file initializes the Finite Element model, calls * the solver, and then renders the result (using legacy OpenGL). It * is possible to toggle between displaying the solution and the * absolute error. The final error no...
a57fdf917311bef263d550f6611cfd38c23201e3
3c07bb10887404b503adeea9d98c2b39482acb75
/solutions/933-E-Number-of-Recent-Calls/recent-counter.hpp
b390073e21ae77ad7b80a9122bb4f91e65e495b8
[ "MIT" ]
permissive
ARW2705/leet-code-solutions
2df26431695003aff4ea4a5f7585cb66321e57dd
972346daf421faed6fb6880e7a8d98629ff6f10c
refs/heads/master
2023-06-10T21:32:32.013804
2023-06-06T18:29:05
2023-06-06T18:29:05
237,285,161
0
0
null
null
null
null
UTF-8
C++
false
false
218
hpp
recent-counter.hpp
#ifndef _recent_counter_hpp #define _recent_counter_hpp #include <vector> class RecentCounter { public: RecentCounter(); ~RecentCounter(); int ping(int t); private: std::vector<int>* pingsPtr; }; #endif
27564fa347d436cb5f22d6b433f7174f694d1e92
2d5a651995ca6ba53b169b5e58ef75159715e886
/Source/Core/Visualization/Event/WheelEventListener.h
ae15cbda6e394d43333bb3dae32c9f0a39c58f65
[ "BSD-3-Clause" ]
permissive
GoTamura/KVS
4a4aabd5dac5c5362b7404f4d9b50ae33bb0cbb6
121ede0b9b81da56e9ea698a45ccfd71ff64ed41
refs/heads/develop
2021-06-12T05:27:34.959934
2019-04-11T23:57:26
2019-04-11T23:57:26
181,405,935
0
0
BSD-3-Clause
2019-04-15T03:29:11
2019-04-15T03:29:09
null
UTF-8
C++
false
false
1,243
h
WheelEventListener.h
/*****************************************************************************/ /** * @file WheelEventListener.h * @author Naohisa Sakamoto */ /*---------------------------------------------------------------------------- * * Copyright (c) Visualization Laboratory, Kyoto University. * All rights reserved. ...
b853392cc6d33d5b7a7cc707206fd42c7bc3f961
6894f4c7ea0968d4f1582796aeb650478cd61424
/source/makedb/main.cpp
e6ae00d673d8a636bf424c654a59ff9a5d9f3b94
[ "Apache-2.0" ]
permissive
Johance2/breeze
4cf8677fff91e9cb6dbf2b38a68e3b50c5fee28b
9c8f34f34e59f7b9570c507668dc4c50e20c2769
refs/heads/master
2021-01-10T23:58:25.636783
2016-09-05T12:36:04
2016-09-05T12:36:04
70,777,598
3
0
null
2016-10-13T06:50:57
2016-10-13T06:50:56
null
UTF-8
C++
false
false
2,163
cpp
main.cpp
 /* * breeze License * Copyright (C) 2014 YaweiZhang <yawei.zhang@foxmail.com>. * * 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 requ...
e65bf115e07f6a465eef13bf2a64a14560a029aa
0eff74b05b60098333ad66cf801bdd93becc9ea4
/second/download/mutt/gumtree/mutt_old_log_2.cpp
1537c6002cc6b4aa298820edfd5a5f7881ffa6dc
[]
no_license
niuxu18/logTracker-old
97543445ea7e414ed40bdc681239365d33418975
f2b060f13a0295387fe02187543db124916eb446
refs/heads/master
2021-09-13T21:39:37.686481
2017-12-11T03:36:34
2017-12-11T03:36:34
null
0
0
null
null
null
null
UTF-8
C++
false
false
37
cpp
mutt_old_log_2.cpp
fprintf (rc, "alias %s ", new->name);
02e527153bd5e975a605a8ab0cdf946fcfa51a72
8dbbcdc463f915e53632de5a3ebcbb315b0f3b6c
/src/client/Client/EQComm/EQComm/mem_collector.cpp
b404ba0586fb0ffd3816301a00d83878593553f9
[]
no_license
atom-chen/project_EQGame
75030023ccb1d244b9ca722daead72c90b178c62
5fb9d4af79cbaa78ce89075c35aa2a488440cf6e
refs/heads/master
2020-06-17T03:29:37.641027
2017-10-06T12:56:20
2017-10-06T12:56:20
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,169
cpp
mem_collector.cpp
/* * Make memory management easy */ #include "EQCommPCH.h" #include <stdlib.h> #include <string.h> #include "mem_collector.h" void * mc_malloc(mc_collector_t **mc, size_t size) { mc_collector_t *mem_block; mem_block = (mc_collector_t *)malloc(sizeof(mc_collector_t) + size); if (mem_block == NULL){ return NU...
663c760ddca0a75dd5ac6d1268a28adf9c3aaa11
8b545e38af1cce05b047dc79a19a0d047026e2d0
/Cpp-Primer-Plus/14/exercises/2.cpp
ace5673092e26a5a12beaa7a140f6325ccab4140
[]
no_license
LyingHid/Learning-C-and-Cpp
b182c5399a1834b94c59036420a6a64fa8d7fe78
008ebdce3b079bee8864f4eca97f954a3cc20cb0
refs/heads/master
2021-08-31T12:31:30.977588
2017-12-21T09:11:22
2017-12-21T09:11:22
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,641
cpp
2.cpp
#include <iostream> #include <string> #include <valarray> template <class T1, class T2> class Pair { private: T1 a; T2 b; public: T1 & first(); T2 & second(); T1 first() const { return a; } T2 second() const { return b; } Pair(const T1 & aval, const T2 & bval) : a(aval), b(bval) {} Pair...
cf5e6efda35a92cf95b44b3a32ad881c020cd456
1faa2601f5c5d05a8dfa851c06a0fc07317386e5
/test/common/env.cc
0c0920a2741ec1084dec068c6ca157ec98651cbb
[]
permissive
cvmfs/cvmfs
216aecc8921ac7fcd5cec5a8baf37870cdc42d0f
bb69086badd32d8f9566ed5dcedff1fd1b0ccc5e
refs/heads/devel
2023-08-24T09:17:29.248662
2023-08-15T09:08:27
2023-08-15T09:08:27
3,784,908
231
118
BSD-3-Clause
2023-09-13T10:50:09
2012-03-21T09:10:41
C++
UTF-8
C++
false
false
2,934
cc
env.cc
/** * This file is part of the CernVM File System. */ #include "env.h" #include <unistd.h> #include <cassert> #include <cerrno> #include <cstdio> #include <cstdlib> #include <string> #include "util/posix.h" const char* CvmfsEnvironment::kSandboxEnvVariable = "CVMFS_UT_SANDBOX"; CvmfsEnvironment::CvmfsEnvironm...
b233089d2ddbbccaab9e22f68a094e70e29487d7
b2139a7f5e04114c39faea797f0f619e69b8b4ae
/src/controlBasis/modules/blobTracker/main.cpp
1fd718cc6f5f660671a8c41945f9ae99d0532639
[]
no_license
hychyc07/contrib_bk
6b82391a965587603813f1553084a777fb54d9d7
6f3df0079b7ea52d5093042112f55a921c9ed14e
refs/heads/master
2020-05-29T14:01:20.368837
2015-04-02T21:00:31
2015-04-02T21:00:31
33,312,790
5
1
null
null
null
null
UTF-8
C++
false
false
28,302
cpp
main.cpp
// -*- mode:C++; tab-width:4; c-basic-offset:4; indent-tabs-mode:nil -*- /** @ingroup icub_controlbasis_architecture \defgroup icub_blobTracker blobTracker Detects independent moving points of a grid used to sample the input images. Copyright (C) 2010 RobotCub Consortium Authors: Stephen Hart Date: Cop...
b96e00da52c8eac7412da4e488e4328b073dff3c
b28d0b5625008237eb8409adb05cffe6c04176c6
/src/play.cpp
973c762401bb68f9e472b0631aecf6384495650e
[ "MIT" ]
permissive
DongdongBai/slumbot2017
daea025f342aa01181d0a9a003dcc003c65b68aa
f0ddb6af63e9f7e25ffa7ef01337d47299a6520d
refs/heads/master
2020-11-26T19:34:58.296865
2019-12-19T18:15:17
2019-12-19T18:15:17
null
0
0
null
null
null
null
UTF-8
C++
false
false
25,535
cpp
play.cpp
// There are two players (computed strategies) given to the program, named // A and B. P0 and P1 in contrast refer to the two positions (big blind and // button respectively). A and B alternate during play between being the // button (P1) and the big blind (P0). #include <math.h> #include <pthread.h> #include <stdio...
ac7f431b15fed40c3da3fa2d72715270c1718e0a
8fcdc4aa429ee8862b3dc1b3d53f950f007b737b
/genfiles/bazel/external/envoy_api/api/filter/network/mongo_proxy.pb.h
1438b69baf5b8b2ecd67636b4c6031e4f584647f
[]
no_license
bdecoste/istio_proxy_build_image
60d6c1ddcd54e2fc2d0f9bf3d37d3dd2b3345d7e
6070903cf7a83781028a58cea855d12811505ab3
refs/heads/master
2022-11-01T14:58:00.092844
2018-01-27T00:19:10
2018-01-27T00:19:10
117,725,464
0
1
null
2022-10-05T18:50:06
2018-01-16T18:42:27
C++
UTF-8
C++
false
true
14,252
h
mongo_proxy.pb.h
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: api/filter/network/mongo_proxy.proto #ifndef PROTOBUF_api_2ffilter_2fnetwork_2fmongo_5fproxy_2eproto__INCLUDED #define PROTOBUF_api_2ffilter_2fnetwork_2fmongo_5fproxy_2eproto__INCLUDED #include <string> #include <google/protobuf/stubs/common.h> ...
147b832848b738ce1da6c31045bfed0885c7f401
f8d5553663d074f716a03537d15be61ba12daed2
/arch/x86_64/include/io/pci.hpp
7bbd15341653ad6b24584b91da261e340d28d057
[]
no_license
haozixu/os-project
c39640f5ff074299cccb05f1e355fdb6b2a9b8e7
c1ad40227df03bcfa5e1e3cbd7e0b678b3cde705
refs/heads/master
2021-01-21T04:54:56.346027
2016-07-10T11:44:32
2016-07-10T11:44:32
39,840,177
1
2
null
2016-05-28T14:13:51
2015-07-28T14:54:43
Assembly
UTF-8
C++
false
false
496
hpp
pci.hpp
/* * arch/x86_64/include/io/pci.hpp * * x86_64 PCI related operations(only) */ #pragma once #include <io/ports.hpp> namespace ARCH { namespace pci { constexpr uint16_t CONFIG_ADDRESS = 0xcf8; constexpr uint16_t CONFIG_DATA = 0xcfc; uint32_t config_read(uint8_t bus, uint8_t slot, uint8_t func, uint8_t o...
5e459a0c028af2d5461aa610b3b37984711b1b58
a0cfb29488d986a7e6ab149698f9e733c154cb2b
/Ongoing_Assessment/OngoingAssess/Splines/splines.h
626da30caa0f41bdb0f6dae616a4ddc2d0892ce7
[]
no_license
Zeeblur/Coursework-ComputerGraphics
d5f781e79c27a9b16f962dcc93e3c3aa8955787f
251c994fc8199b474567335d766e9257420678ca
refs/heads/master
2022-03-21T00:17:20.233523
2016-05-04T08:48:19
2016-05-04T08:48:19
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,115
h
splines.h
// Simple spline/interpolation functions #pragma once #include <vector> using namespace std; #include "vector3.h" // Four simple interpolation functions: // ** 1 ** // a,b - start and end points // t - interpolation between 0.0 and 1.0 Vector3 Lerp( const Vector3& a, const Vector3& b, float t ); // ...
77e7cc2e937070861ed7be65b92922f3b09d88d9
20d1021a74351e99c6c6392072713a63ffa1e741
/AlgoExpert/ThreeNumberSum.cpp
1033d6fce27effea041e54567dc293a171a3d945
[]
no_license
nish17/competitive-programming
f1505fa252e09d7d91ec7976accefdf9f5f743fa
59bf4baf688315f2206f65b7097f1a274b49501c
refs/heads/master
2021-05-14T08:23:47.579749
2019-10-01T20:55:39
2019-10-01T20:55:39
116,295,764
0
0
null
2019-10-01T20:55:40
2018-01-04T18:51:20
C++
UTF-8
C++
false
false
1,378
cpp
ThreeNumberSum.cpp
#include <vector> #include <bits/stdc++.h> using namespace std; vector<vector<int>> threeNumberSum(vector<int> array, int targetSum) { // Write your code here. vector<vector<int>> ans; vector<int> temp; for (int i = 0; i < array.size(); i++) { for (int j = i + 1; j < array.size(); j++) ...
5d3cdd5b361167a19b4ac9bd2944e7a0cba87db7
37213f34a8e5cb6991e458e122acc522170480d5
/BlakeStonePlayer/BlakeStonePlayer.cpp
464b516e5b1f2db0c9fc4cb9ed138a10ad3721a1
[]
no_license
ioan-chera/BlakeStonePlayer
180edd80c73f5df765dbf0d7d1ba49f3a7c9a39d
5141a30f515f38753a76d5318b546065689517ce
refs/heads/master
2021-01-13T13:17:29.598625
2016-11-04T13:08:49
2016-11-04T13:08:49
72,674,604
0
0
null
null
null
null
UTF-8
C++
false
false
1,067
cpp
BlakeStonePlayer.cpp
// BlakeStonePlayer.cpp : Defines the entry point for the console application. // #include <Windows.h> #include "stdafx.h" #include "GameWindow.h" static const char gWindowName[] = "DOSBox 0.74, Cpu speed: max 100% cycles, Frameskip 0, Program: BS_AOG"; //static const char gWindowName[] = "DOSBox"; static void hi...
3215233b2d05eb98fe005e1d147c562ac99667b1
b89bffd2a70a67dc68e965f6df8319dc97ccc977
/src/sedml/SedErrorLog.cpp
4be16f76990cca3a83942dcb85cec898d35163d9
[ "BSD-2-Clause" ]
permissive
fbergmann/libSEDML
381c66298222d1a6ac2af52ec31cbc4590b500c4
ed5fb73e19f578c54c2b1de8265c5f8b5998c023
refs/heads/level1-version4
2023-08-16T20:30:32.067928
2023-08-04T07:13:54
2023-08-04T07:13:54
9,080,664
8
14
BSD-2-Clause
2023-05-24T20:43:49
2013-03-28T16:00:00
C++
UTF-8
C++
false
false
8,219
cpp
SedErrorLog.cpp
/** * @file SedErrorLog.cpp * @brief Implementation of the SedErrorLog class. * @author DEVISER * * <!-------------------------------------------------------------------------- * This file is part of libSEDML. Please visit http://sed-ml.org for more * information about SED-ML. The latest version of libSEDML can ...
73532c74727d213832f0976c41eb901b01253c9c
877fff5bb313ccd23d1d01bf23b1e1f2b13bb85a
/app/src/main/cpp/dir7941/dir22441/dir22442/dir22443/dir24650/dir25146/file25184.cpp
ebde431f82ee5c0b06ba67a7f26ee5429c4e6f1e
[]
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
file25184.cpp
#ifndef file25184 #error "macro file25184 must be defined" #endif static const char* file25184String = "file25184";
8ea4e4f37bdd6e164417f5d54cf17658d4b050fd
8646481c243617d997cbffc2520e5282253efe68
/Aula 8/J/J.cpp
b768c5862bd92dbeac1913346ac28d5aaf9433ce
[]
no_license
krautz/MC521-Programming-Challanges
4a9652d00783414015d861c7133fb52f27f45556
fc01bba79fdb0d07bb9901f5bda95b92f70a280f
refs/heads/master
2021-04-26T23:02:43.946939
2018-06-23T16:20:35
2018-06-23T16:20:35
123,920,624
0
0
null
null
null
null
UTF-8
C++
false
false
1,319
cpp
J.cpp
#include <cstdio> #include <iostream> #include <algorithm> #include <cmath> #include <stdlib.h> #include <string> #include <vector> #include <deque> #include <map> #include <queue> using namespace std; typedef long long int lli; typedef vector <lli> vetor; typedef vector <vector <lli> > matriz; void soma_mascara (ve...
6f1f66198571cfd2f35e6c8d0a75a26729a353db
2c811434dd9cc3bb54d64f92733c40ddd3fa0383
/UVa-AC/uva 10509 Are you kidding.cpp
1cf072dd88e54e1899ab4a21cda1b5267f6e0c01
[]
no_license
gmtranthanhtu/competitive-programming
457e5cc16ede75d9496ac195de845ebe8d6e5664
d765002704e2a8cf547cbe67f0f9a31db88bfc9b
refs/heads/master
2021-01-23T08:56:52.594506
2014-11-01T09:52:12
2014-11-01T09:52:12
26,047,176
3
3
null
2020-10-01T14:15:30
2014-11-01T09:55:03
C++
UTF-8
C++
false
false
383
cpp
uva 10509 Are you kidding.cpp
#include <stdio.h> #include <math.h> double N,a,dx; int main () { FILE *f = stdin; while(fscanf(f,"%lf",&N) && N){ a = pow(N,1.0/3); a = floor(a); if((a + 1) * (a + 1) * (a + 1) <= N) a++; dx = (N - a * a * a)/(a * a * 3); printf("%.4lf\n",a + dx); ...
a9cefdde42309bc8b7a37f2a7b330ba9033b0511
2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0
/fuzzedpackages/stepR/src/StepBinom.cpp
24f4b6d1f2e75c275a233f133a09adf14f0a8483
[]
no_license
akhikolla/testpackages
62ccaeed866e2194652b65e7360987b3b20df7e7
01259c3543febc89955ea5b79f3a08d3afe57e95
refs/heads/master
2023-02-18T03:50:28.288006
2021-01-18T13:23:32
2021-01-18T13:23:32
329,981,898
7
1
null
null
null
null
UTF-8
C++
false
false
9,160
cpp
StepBinom.cpp
#include "StepBinom.h" #include <cmath> /*************** * class StepBinom * implements virtual class Step for Binomial data * Thomas Hotz, 2007-2011 ***************/ /************* * constructor for n data points following Binomial distribution with size trials, with pointers to array of that length ****************...
45cd141ddc9892bfc5340e853610aa3b8e3664e9
809187e8943bb0420970b28ad8dbbb7e01c65650
/375/a.cpp
03d5dc92587fa54af2892db45a7d3ea37e578892
[]
no_license
pranxol/codeforces_solution
c718e7477e49d30f155909a9aa7cdfa6fa87fee4
b8b0fbf36214c7b448393b7f6ed52b59d8e23fcd
refs/heads/main
2022-12-19T00:02:43.778288
2020-10-05T15:04:03
2020-10-05T15:04:03
300,912,433
0
0
null
null
null
null
UTF-8
C++
false
false
591
cpp
a.cpp
#include<bits/stdc++.h> using namespace std; #define sf scanf #define pf printf #define pi acos(-1) int main() { int a,b,c; cin>>a>>b>>c; if(a>=b&&a<=c||a<=b&&a>=c) { int sum=c-b; if(sum<0) pf("%d",-sum); else pf("%d",sum); } else if(b>=a&&b<=c||b...
5dde9321c8734b8badf71a2ec9d4b50225e7e826
977746404de5d2e976967b0e0e75e4e950e9f4e2
/hls/simple_perceptron/test_core.cpp
8a5a50e502df91964389b166dda6850650b4356a
[]
no_license
007-cell/neuralhls
44d26475bc93aea26a6de744e201028ddaadd696
a476b9204bfbbc57ff686719a641e4289f6ff521
refs/heads/master
2023-01-02T18:30:56.158770
2020-10-25T14:21:39
2020-10-25T14:21:39
null
0
0
null
null
null
null
UTF-8
C++
false
false
759
cpp
test_core.cpp
#include <hls_math.h> #include <ap_fixed.h> #include <stdio.h> #include "hls_input.h" #include "hls_weights.h" #include "hls_biases.h" // typedef ap_fixed<20,5> xtype; typedef float xtype; void calcPerceptron(xtype x[784], xtype w[64000], xtype b[500], xtype res[300], int model[30]); int main() { // lay...
bb2b980309769d83723e7dbbad4447ff5b263862
c7d5552497ca71cb7fa88f2d25aad4006f72aba7
/Tests/Animations/main.cpp
5d43ee491b1e7c2b089774da87a9c1853b5d8e42
[]
no_license
dapetcu21/Porkholt
bef4b6f02f56b4d9a33318ec6c498527c849c5fa
9bff9925742469d18b3dac4ff3e1f7d4af5dfda8
refs/heads/master
2016-08-11T13:13:57.319386
2015-11-23T22:06:37
2015-11-23T22:07:54
46,735,692
2
1
null
null
null
null
UTF-8
C++
false
false
4,003
cpp
main.cpp
/* Copyright (c) 2012 Marius Petcu, Porkholt Labs!. All rights reserved. */ #include <Porkholt/Core/PHWindowing.h> #include <Porkholt/Core/PHViewController.h> #include <Porkholt/Core/PHPerspectiveCamera.h> #include <Porkholt/3D/PHMeshBody.h> #include <Porkholt/3D/PHSphereMesh.h> #include <Porkholt/Core/PHImageView.h> ...
cee986a6bab60683ec5636f97b495304a2f2adf5
3cfda5ea8a3f23a1307873f1763b40f643b912da
/mainwindow.cpp
dd722358f623a9ab74cf7b2841456990d141e24a
[]
no_license
michalkoziara/crypto-view
548cd590729914f4d7e1b3b2c103cd59b7ef3928
2b9444a075bb73723701a89e16dcb40bdf1c820f
refs/heads/master
2023-07-19T05:57:02.404609
2021-09-04T14:28:19
2021-09-04T14:28:19
119,742,380
1
1
null
null
null
null
UTF-8
C++
false
false
8,878
cpp
mainwindow.cpp
#include "mainwindow.h" #include "ui_mainwindow.h" // JSON support libraries #include <QJsonDocument> #include <QJsonArray> #include <QJsonObject> #include <QLoggingCategory> // Graph libraries #include <QLogValueAxis> #include <QValueAxis> #include <QChart> // Chart libraries #include <QtCharts/QCandlestickSet> #in...
36ecfc21f966a62d1ae09a4e2c345b45129550eb
88f5541746fc98ce61db5d5660dbe55323f35f5f
/application/src/SmurfActions.cpp
113cb14faa3dc6a38916eeddd6cf9cb9ee16ed13
[]
no_license
jbbjarnason/cpp-mock-tryouts
f2f404821272ae97a5c6907600a08a07fb1897f8
964a34134aa3576ea33c65ffafb757a996d67dd9
refs/heads/master
2023-08-15T20:45:14.443936
2021-10-03T13:52:41
2021-10-03T13:52:41
412,819,492
0
0
null
null
null
null
UTF-8
C++
false
false
205
cpp
SmurfActions.cpp
#include <cstdio> #include "SmurfActions.hpp" using namespace Smurfs; std::string Walking::type() { return "Walking"; } void Walking::doAction() { printf("Walking backwards ... beat that\n"); }
9e8a75d21f79e1e6c57bf52e68c84417584ac070
152750ca6d5e366f005c7abae1df0e87f008ce63
/ESP8266_Nokia5110.cpp
60ab4e1ceaedc34c1199fb8f5d79c3b1b1463851
[]
no_license
debojitk/ESP8266_5110
c3236f86fecff1b7a11cc813000d878a6f40b4fd
9ca47ef42c7896476c3bae09f13674a7cabd0fdf
refs/heads/master
2020-03-21T01:24:02.279296
2018-08-12T18:08:36
2018-08-12T18:08:36
137,940,595
0
0
null
2018-06-19T20:11:57
2018-06-19T20:11:56
null
UTF-8
C++
false
false
8,201
cpp
ESP8266_Nokia5110.cpp
#include "FontStructs.h" #include "ESP8266_Nokia5110.h" #include "ArialNarrow7pt.h" #include "ComicSans7pt.h" const FONT_INFO font_array[]={ arialNarrow_7ptFontInfo, comicSansMS_7ptFontInfo }; //Font static const byte ASCII[][5] = { {0x00, 0x00, 0x00, 0x00, 0x00} // 20 ,{0x00, 0x00, 0x5f, 0x00, 0x00} // 21 ! ...
d1e8c56d3177988de735ecc09324590a316a038c
029ff83a32a07442eda93b1c3171f43d4cf13f44
/Visual Studio Simulation/DroneSimulation/Utilite.h
d9fb3cf0e4852c5e569003ba5a85623dd1bfb1f6
[]
no_license
HoussemDjeghri/UAVs-for-Traffic-Monitoring-A-Sequential-Game-based-Computation-Offloading-Sharing-Approach
67d39128d80a65d6bb269d2a38123b5cb7734f04
ff851c5f3cdb637d7eee318b6e0ad940a8d9683d
refs/heads/master
2021-01-04T20:30:59.333217
2020-02-15T19:36:50
2020-02-15T19:36:50
240,749,210
3
0
null
null
null
null
UTF-8
C++
false
false
660
h
Utilite.h
#pragma once class Utilite { private: long double u1; long double u2; long double u3; long double u4; long double u5; long double u6; long double u7; long double u8; long double gt; public: Utilite(); long double getU1(); long double getU2(); long double getU3(); long double getU4(); ...
24d5bd26769162157ee8b4222db754637f2ba5bf
30b387d7e32f75507fa4247bae944371c3f9bf3f
/test/test_rocrand_sobol32_qrng.cpp
f5f6d56d1918594f806a5136b9678d924e63c075
[ "GPL-3.0-only", "MIT" ]
permissive
fangbaohui/rocRAND
961ceb1f6e9a49afaf2ccce1948f7e31451a0f5e
32eb20820fad35bbf8d73830c93521b9192051b2
refs/heads/master
2022-07-06T19:58:31.881736
2020-05-11T21:53:32
2020-05-11T21:53:32
263,795,899
1
0
MIT
2020-05-14T02:33:31
2020-05-14T02:33:30
null
UTF-8
C++
false
false
7,568
cpp
test_rocrand_sobol32_qrng.cpp
// Copyright (c) 2017 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // t...
57b9602bae088258d1f2a0442a07cbc81647bdce
5266d0d079e2d412ef698248d8edc55649623031
/jianzhioffer_丑数/jianzhioffer丑数.cpp
a7c763dc3425f90c69f77056dcbc4953268017b4
[]
no_license
sunxu123/JianZhiOffer
7e225b15c4ad96272d61fec9e1c86ec26856a560
f5b877d5c831abc30937813b56f6522541563ad3
refs/heads/master
2020-03-07T14:52:56.082976
2018-03-31T14:21:20
2018-03-31T14:21:20
127,538,523
0
0
null
null
null
null
UTF-8
C++
false
false
5,643
cpp
jianzhioffer丑数.cpp
// jianzhioffer丑数.cpp : Defines the entry point for the console application. //把只包含因子2、3和5的数称作丑数(Ugly Number)。例如6、8都是丑数,但14不是,因为它包含因子7。 习惯上我们把1当做是第一个丑数。求按从小到大的顺序的第N个丑数。 /* 1--1 2--2 3--3 4--4 5--5 6--6 7--8 8--9 9--10 10--12 11--15 1500--859963392 */ #include "stdafx.h" #include<iostream> #include<vector> ...
3ab6a6a533344ddc1994114f734a4781afddc5a5
71b33ec9e22b1c9d241f9b27295037653cb4df75
/src/tests/unit/outcome/Usage.xcpp
d4017de6bd44d58a2d82598c6851d150cf1234ff
[ "LicenseRef-scancode-free-unknown", "Apache-2.0" ]
permissive
yahoo/tunitas-basics
c53cdd96245262f05836fb0affa77fa5b5de28e1
5d1bd99b73d483d8f157ce1c233fd35588f68e0f
refs/heads/master
2023-08-25T00:03:26.534521
2023-08-14T12:07:55
2023-08-14T12:07:55
191,480,785
4
5
Apache-2.0
2023-03-18T15:17:31
2019-06-12T02:13:32
C++
UTF-8
C++
false
false
6,162
xcpp
Usage.xcpp
// This is -*- c++ -*- nearly C++23 with Modules TS but in the S.C.O.L.D. stylings that are so popular these days. // Copyright Yahoo Inc. 2021. // Licensed under the terms of the Apache-2.0 license. // For terms, see the LICENSE file at https://github.com/yahoo/tunitas-basics/blob/master/LICENSE // For terms, see the ...
c375286f1dceb100b8ad704abbf00bd9a1ae9d49
bc1b24f39a6ccc90491c0b6e82e303f3959d6ccb
/src/angle.hh
2ac77f5945e3de4494252d8989b58106342c50c5
[]
no_license
nicholasbishop/mgrid
f5fd0d8c4b59b3d80d8fdc7247223373b9ca6a30
6205fe80d7957e12685c97ad2b6da4f0a9c773cd
refs/heads/master
2021-09-02T13:41:01.274515
2017-12-28T23:03:31
2017-12-28T23:03:31
115,654,057
0
0
null
null
null
null
UTF-8
C++
false
false
449
hh
angle.hh
#ifndef SRC_ANGLE_HH_ #define SRC_ANGLE_HH_ namespace mgrid { class Angle { public: Angle(); static Angle from_degrees(const float value); static Angle from_radians(const float value); float in_degrees() const; float in_radians() const; Angle operator+(const Angle& other) const; Angle operator-(co...
96af87bb16a27a167740a31282a6d7d855b162a1
5f0eaeca26abf0af7f4a2752b94ea34e98590bfe
/BattleAxe.h
90c2f112b1fd4e663fc4968d31af05cb45b2ab9a
[]
no_license
rgkenney/Assignment1
3ea320a70054322aa89c18187e91a0395e8fe760
7a4e1dafe2d602a7f95d6c878be219d66aa410cb
refs/heads/master
2020-04-20T07:29:54.560101
2019-02-03T22:37:32
2019-02-03T22:37:32
168,712,055
0
0
null
2019-02-01T14:47:51
2019-02-01T14:47:51
null
UTF-8
C++
false
false
456
h
BattleAxe.h
/* * File: BattleAxe.h * Author: Ryan Kenney <rgk16b@my.fsu.edu> * * Created on February 3, 2019, 5:17 PM */ #include <string> #include "Weapon.h" #ifndef BATTLEAXE_H #define BATTLEAXE_H //Creates a weapon with 5 hitpoints that does 1/3 of armor as //damage, ignoring armor. class BattleAxe : public Weapon {...
2c972fb2bdda49f05c6e6a6b7f0abebd280a1422
44fecdc64ff1edeadb64d61fc821d557ff4f622e
/src/codegen.h
ce1e3e03ded91d32ac9bd8bc8cc581bd0691c313
[]
no_license
yamaguchi1024/mc-lang-3
5216b5f315f71f0fad220797fa9cee720bc3bffd
912a8b2f0b83411a94baea117e9af24b4a5a6879
refs/heads/master
2021-07-01T13:44:39.687093
2020-06-12T16:32:29
2020-06-12T16:32:29
209,662,255
9
13
null
2022-12-09T02:01:15
2019-09-19T22:57:47
C++
UTF-8
C++
false
false
11,733
h
codegen.h
//===----------------------------------------------------------------------===// // Code Generation // このファイルでは、parser.hによって出来たASTからLLVM IRを生成しています。 // といっても、難しいことをしているわけではなく、IRBuilder(https://llvm.org/doxygen/IRBuilder_8h_source.html) // のインターフェースを利用して、parser.hで定義した「ソースコードの意味」をIRに落としています。 // 各ファイルの中で一番LLVMの機能を多用しているファ...
8a5ea50747a5c184a47620351259b6988a194512
4ca8712042a89b17dae1925398475d8134946d1d
/2_Medieninfo/BM3_cpp/2_Praktikum/sitzung9/mehr_maeuse/meinWidget.h
db5edfec9bd5808992289bbc1ba31543b9da7363
[]
no_license
dkujnisc/6_semester
7ca5406bb89d54017244b5c6466800524f5dcd4d
adff9a6f502e8ee66eb59550b3e8886a9dadba87
refs/heads/master
2020-03-11T04:14:47.951279
2018-09-12T09:57:21
2018-09-12T09:57:21
129,771,445
0
0
null
null
null
null
UTF-8
C++
false
false
283
h
meinWidget.h
#include <QWidget> #include "zeichenFeld.h" class meinWidget : public QWidget { Q_OBJECT private: zeichenFeld *meinZeichenFeld = new zeichenFeld; public: meinWidget(QWidget *parent = 0); private slots: void saveFile (void); void loadFile (void); };
b454dd5602d77fb2eac5cecb8ab4e9500c770716
efbd7f4e4a48f0b4fed2b1e594b809af69776c40
/cvt/vision/KLTStereoCL.cpp
abd2087c2715138079bebdc2caf5b812a159924e
[ "BSD-3-Clause", "MIT" ]
permissive
richardw347/cvt
ffa3ec440ed0b3676b6dea9896febf58e5bd13fd
3b8177dae21fac76953fff8252f8c1fe117d4b20
refs/heads/master
2020-05-04T12:01:03.537277
2017-01-23T15:45:21
2018-09-13T08:35:09
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,140
cpp
KLTStereoCL.cpp
/* The MIT License (MIT) Copyright (c) 2016, BMW Car IT GmbH, Philipp Heise (philipp.heise@bmw.de) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including wi...
630b739f77574da7d847dcf3cc809368d816139e
987d0d12b774f9c78e23dd7135947473f1774f3c
/mech_eap/util_shib.cpp
4793337d678a204e0b57e096d191057108682956
[ "BSD-2-Clause", "BSD-3-Clause" ]
permissive
janetuk/mech_eap
457a4c464682d0ca02cc17f4d4efb5d7e256b42a
0da2676477e0341c3f2733411e7c90b6c9c98382
refs/heads/master
2022-05-28T22:43:14.722894
2022-03-01T17:04:09
2022-03-01T17:04:09
6,545,637
1
1
BSD-3-Clause
2021-08-18T07:33:11
2012-11-05T14:31:30
C
UTF-8
C++
false
false
17,974
cpp
util_shib.cpp
/* * Copyright (c) 2011, JANET(UK) * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code must retain the above copyright * notice, this list of condit...
8dfb298d1c1bfbf2e97c3b2beffede5529939b1d
7b57730600d8074dc5c86f4a0c1fc7dd21aff8e6
/crc_ghentuong/crc_ghentuong.h
046e947a20c62f8edb3b0c04086fd624c535e98a
[]
no_license
HoaiBaoGT/crc_ghentuong
83c61882391dfd1a24d6928fd24c87cc21dca7b0
e25f61d9fc8077eb80a2df4f07a79bd5abaf56b0
refs/heads/master
2023-01-24T05:40:17.541800
2020-11-20T13:53:32
2020-11-20T13:53:32
314,567,080
0
0
null
null
null
null
UTF-8
C++
false
false
1,494
h
crc_ghentuong.h
/* * Tran Hoai Bao (GhenTuong) * hoaibaoce@gmail.com */ #include <string> using namespace std; class crc_ghentuong { public: crc_ghentuong(unsigned long input_crc); string data_to_message(string data); string message_to_data(string message); bool check(string message); private: const char HEX[17] = "012345...
d815eacfee580641e8516a12303bd0c52cfd9659
059c53898760de60a998df6acce1f6599c197760
/ref.hpp
2af6238a9c71b1af8fc5bc0b51c4c8ddc8d75e23
[ "LicenseRef-scancode-public-domain", "Zlib" ]
permissive
jmeubank/tdm-gcc-installer
a21ce6f1c7b5a7ff22667b0db1d96f4900e11313
2a2e20a2b939b128dd92653d181767c8141eb3b6
refs/heads/master
2023-08-18T21:55:27.571750
2021-06-06T03:07:43
2021-06-06T03:07:43
231,854,207
10
1
null
2020-07-03T21:30:16
2020-01-05T01:53:46
C++
UTF-8
C++
false
false
516
hpp
ref.hpp
/** \file ref.hpp * * Created: JohnE, 2008-07-11 */ /* DISCLAIMER: The author(s) of this file's contents release it into the public domain, without express or implied warranty of any kind. You may use, modify, and redistribute this file freely. */ #ifndef REF_HPP_INC #define REF_HPP_INC #include <memory> tem...
fe8f5202de6cd2132e6a0aa710b3a504ad69bf0d
eb9e6feb47aaa6ed2ca519a47039e97d92453993
/lab10/academiascheduler/Scheduler.cpp
630d08f39b58a8d5fb27a4a7049c89c35f5b135a
[]
no_license
matematyk60/jimp-excercises
e9d596397510750a3c967d641d97de6f495eccba
2339eaf29c7b2c1312dd5182eab88800be14003a
refs/heads/master
2021-01-17T17:18:06.749785
2017-06-21T09:33:40
2017-06-21T09:33:40
84,128,911
0
0
null
2017-06-21T09:33:41
2017-03-06T22:46:44
C++
UTF-8
C++
false
false
4,767
cpp
Scheduler.cpp
// // Created by matematyk60 on 22.05.17. // #include <algorithm> #include "Scheduler.h" #include "Algo.h" using ::algo::FindYear; namespace academia{ Schedule Schedule::OfTeacher(int teacher_id) const { Schedule answer; for(const auto &n : elements_){ if(n.TeacherId() == teacher_id){...
d04894561cb8d808eca62c1e61f83f07a753697e
6ce6a39e8475e2d945574934f989cd4514f0eb36
/include/minimilian/dynamic.h
23923e47e8f3eb7ab218071d3b0cdb290f55ac64
[]
no_license
eriser/Minimilian
5799cc5625e6c88049904dcd92f9de902d3064f1
3e7e9d4ae8e3a0347fce9ffb8f8a107df73f89df
refs/heads/master
2023-01-03T07:15:46.394000
2020-10-21T11:45:24
2020-10-21T11:45:24
303,092,984
5
0
null
null
null
null
UTF-8
C++
false
false
3,992
h
dynamic.h
#pragma once #include "core.h" namespace minimilian { class Dynamic : public Processor { public: Dynamic(Context &context) : Processor(context) {} /* OK this compressor and gate are now ready to use. The envelopes, like all the envelopes in this recent update, use stupid algorithms for incrementing - con...
6fd2cc44945ad2d0d7790e5f5b222f2946e5451c
5bad83f819b29c3fffa49b1718847c19e82644ea
/SDL 2013 project/Hero.h
d897ad18749f697a02cdac15c7cf7f9872a76ef7
[]
no_license
GVermes/aussie-christmas
b072a9f96ef135287733f6df795f03c85ca0eebe
90ffe1c01fe188c857f446aca4e2c0ba48f226b4
refs/heads/master
2021-01-09T13:01:00.064016
2020-02-22T08:55:20
2020-02-22T08:55:20
242,310,223
0
0
null
null
null
null
UTF-8
C++
false
false
359
h
Hero.h
#pragma once #include "GameObject.h" #include "Animation.h" #include "SoundManager.h" class Hero : public GameObject { public: Animation* animation; bool faceRight; int score = 0; Hero(); ~Hero(); int getScore(); void update(float dt); void updateCollisionBox(); void updateCollisions(float dt); void draw(...
fb9aa77e59cb8b337c947d1c820b83491ca3efeb
aa78ede78f08eecde9a78fe1066b81e47ae19390
/Server/Requests/request.cpp
d4233883922966f349b012935bdf1468c42d4155
[]
no_license
MafiaMakers/Backend-server
51c342d6e202194b47e183310e348643cbff5d31
1fdc213e841d78aca3b5f70bca45684664e32435
refs/heads/master
2023-01-12T04:57:25.511124
2020-11-02T12:53:50
2020-11-02T12:53:50
254,849,281
0
0
null
null
null
null
UTF-8
C++
false
false
571
cpp
request.cpp
#include "request.h" #include <thread> #include<chrono> using namespace Mafia; using namespace Requests; Request::Request() { this->finished = false; } bool Request::is_finished() { return this->finished; } void Request::close_request() { this->finished = true; emit this->on_ready(...
2418724a9f274921a796a3e414d1e4ae59441099
c4b4e5adf643f09f568bc4e36b8b859ec8a890fd
/GameEngine.h
33f122eb0347ff8906237b29481a0ce65cd5b774
[ "Unlicense" ]
permissive
righdforsa/bedrock-game-engine
8f4d5b1e56981fcf9d20fd0aa5861d0be52f59cc
f4aa4e2c3c4be67df27a8491a2c2f29e577cd2f9
refs/heads/master
2020-05-14T13:22:32.949044
2019-11-25T22:51:44
2019-11-25T22:51:44
181,811,578
0
0
null
null
null
null
UTF-8
C++
false
false
471
h
GameEngine.h
#include <Bedrock/libstuff/libstuff.h> #include <Bedrock/BedrockPlugin.h> #include <command/CommandList.h> static map<string, string> _gameState; class BedrockPlugin_GameEngine : public BedrockPlugin { public: BedrockPlugin_GameEngine(BedrockServer& s); virtual string getName() { return "GameEngine"; } ...
72e6ac588be8448e42698f0218df3bd251839368
2fda4b8d10a226f578d38439646155316ec8b7cd
/Source/Micro/SHMicroLib/cmd_object.cpp
c99c87044281d57ab65497d994138f85f73e8bc1
[]
no_license
lmaksnik/SmartHouse
30b64b387f98dcd650a9f2aae24a3793f476f0bb
30cf97b2ed401b39d25f0bb68cf3c3ed84219af6
refs/heads/master
2021-05-10T21:15:14.658998
2018-03-19T04:07:50
2018-03-19T04:07:50
118,218,827
0
0
null
null
null
null
UTF-8
C++
false
false
233
cpp
cmd_object.cpp
// // // #include "cmd_object.h" String CmdObject::get_cmd_name() { return this->cmd_name; } String* CmdObject::get_cmd_parameters() { return this->cmd_parameters; } bool CmdObject::is_empty() { return this->is_empty(); }
dcaf263171a0ce1ac2a2ce5d7ed4acf2bc9a9ea4
fe110cc7aed4dafbaebdbe5d69adfec31112a8fb
/Project2/Project2.cpp
9ed56cdf9060ec4fa81df82857de31eca15601e5
[]
no_license
ishyummy/news-topic-ranking
3d6ddbbadf24000f47b663e31b7774ca0d5892b3
d77f49c2de4d8807993c812ef544319aa7f8153b
refs/heads/main
2023-08-25T04:14:13.024142
2021-10-17T14:57:59
2021-10-17T14:57:59
416,781,910
0
0
null
null
null
null
UTF-8
C++
false
false
14,523
cpp
Project2.cpp
#include "pch.h" #include "tipsware.h" #include <time.h> #include <stdlib.h> #include <wininet.h> #pragma comment (lib, "wininet.lib") char titles[300][100]; char address[100] = "board/lists/?id=hiphop&page=1&exception_mode=recommend"; char stopwords[1000][20]; int idx = -1, stop_idx, key_idx = -1; typedef struct k...
d0ad2275daa136baec1077e892812438e59bc977
c999fb18d85cea2229105c545ac8c65124c49cd7
/elemzesek_elmelet/fund-tart.cxx
3bc14b461e248aa9e66e286382a5c277071047ea
[]
no_license
blajos/D-symbols
2ac63d2e3fafcdbce0d029841732ba998c1d419b
4fce8bf8c69d9fb21fb8125f5199b4555e8e8e6b
refs/heads/master
2020-05-17T10:59:03.947295
2013-02-24T14:22:14
2013-02-24T14:22:14
1,463,066
1
0
null
null
null
null
UTF-8
C++
false
false
1,978
cxx
fund-tart.cxx
/* Adott D-szimbolumhoz tartozo fundamentalis tartomany eloallitasa. * * Allitolag megteheto konvex modon. Kerdes, hogy a ragasztas soran vegig konvex * marad-e a rendszer, vagy csak a legvegen. (Diplomamunka-beli D.109 eseten pl. * nem tud a rendszer vegig konvex maradni.) * * Mikor tud elromlani a konvexitas ...
f28ae6faf26ae620bf3fe5d1335b3918a8b53aad
324ae1d6b2fed439091107cd2febaa6cbb7e5860
/GladeEngine/Sleep.cpp
aeadeee3331a65da3691268f7a9012dfa5f57468
[]
no_license
ArcRaizen/Glade-Engine
ac6a46606e24397946c8a5af9943f024dd0df9a2
8f57c01959e2a863afe2f679336bbc175764e17f
refs/heads/master
2021-01-17T07:10:10.612465
2018-01-16T09:11:19
2018-01-16T09:11:19
44,852,845
1
0
null
null
null
null
UTF-8
C++
false
false
1,094
cpp
Sleep.cpp
#include "Sleep.h" using namespace Glade; gFloat Glade::particleSleepEpsilon = ((gFloat)0.3); gFloat GetParticleSleepEpsilon() { return Glade::particleSleepEpsilon; } void SetParticleSleepEpsilon(gFloat value) { Glade::particleSleepEpsilon = value; } #ifdef SLEEP_TEST_ENERGY gFloat Glade::sleepEpsilon = ((gFloat)0....
e1421b139f770f3756e6a339975491ffd0b36706
ed036bd5d0b84a95ce150245f8665bb3d8cdc0a5
/main.cpp
c1fdc682649010f4f7f3ced2ceadc49d5483aac0
[]
no_license
Lennnyo/ocean
c2a7bff35bad7b4e6456c3c0febdbe947bf71530
76aa95155d64845954fc4e3efeb4db6c80bac5bb
refs/heads/master
2020-04-11T03:58:19.398380
2019-01-08T14:38:50
2019-01-08T14:38:50
161,496,573
0
0
null
null
null
null
UTF-8
C++
false
false
868
cpp
main.cpp
#include <stdio.h> #include "shark.cpp" tile** initMap(){ tile** map = new tile*[SIZE]; for (int i = 0; i < SIZE; i++){ map[i] = new tile[SIZE]; } return map; } void print_Map(){ for(int i = 0; i < SIZE; i++){ for (int j =0; j < SIZE; j++){ if(g_map[i][j].occBy ...
511ad0a77b61dd2762e69daff8ab3fe388679736
0c57be4c28393b2bcf610e46665bbe2d9cbd064d
/brute/shared.h
04c479facd0b03218bcb201dc2116c7a5374a2c8
[ "MIT" ]
permissive
JKornev/Parallel-Ninja
fbe1d66d2a706faff431d80fb003b6fa272e38eb
960f2d84fdb740534fe724820826da1d5bdf7443
refs/heads/master
2020-04-08T19:07:25.635339
2014-08-30T11:13:11
2014-08-30T11:13:11
23,233,483
5
1
null
null
null
null
UTF-8
C++
false
false
3,779
h
shared.h
#pragma once #include <boost/mpi/environment.hpp> #include <boost/mpi/communicator.hpp> #include <boost/asio.hpp> #include <boost/property_tree/ptree.hpp> #if !defined(_DEBUG) # define debug(msg) std::cout << msg << std::endl; #else # define debug(msg) #endif class INode { public: INode(boost::mpi::...
e2b49401617bbc230d78386f22b94fef62ae8e69
80783c3309f87c6fdf1f476fe2a2d3fee7c0fe6e
/libMLP/cpps/MLPOclCommon.cpp
22cf2b8a0a8a46ab0b8562376143dd555fdd4ff2
[]
no_license
gujunli/OpenCL-MLP
ad85d12a9c35d12b6bb72f249f61147a2a24684f
e2282390a049f8f1a3845ab4d42da98a88fa0d9d
refs/heads/master
2021-05-29T18:50:49.184263
2015-06-24T18:54:52
2015-06-24T18:54:52
37,449,793
1
0
null
null
null
null
UTF-8
C++
false
false
19,565
cpp
MLPOclCommon.cpp
/* * COPYRIGHT: Copyright (c) 2014 Advanced Micro Devices, Inc. All rights reserved * * Written by Qianfeng Zhang@amd.com ( March 2014 ) * */ #include "DNNConstants.h" #include "MLPUtil.h" #include "MLPOclCommon.h" #include <iostream> #include <fstream> #include <cmath> // the simpleast method for transpos...
3f63ad38de2663080ced14818bd43a78b58748bb
011eeb441528ae0a5ee6713b7bc25574117ab005
/Codeforces/1088C-Ehab_and_a_2-operation_task.cpp
09e6fdc0c686495d7ac150aa75c8502349de9f18
[]
no_license
krithikvaidya/DSA-Problems-Solutions
36e13ac5638e1c65d3fab90be06923ca60789b44
fe8f3e412d2cadbe0e02ccbc8c53d535c5e4b4cc
refs/heads/master
2023-06-16T08:30:43.731613
2021-07-12T04:22:26
2021-07-12T04:22:26
218,806,133
0
0
null
null
null
null
UTF-8
C++
false
false
655
cpp
1088C-Ehab_and_a_2-operation_task.cpp
#include <bits/stdc++.h> using namespace std; int main() { ios_base::sync_with_stdio(false); cin.tie(0); int n; cin>>n; int a[n]; for(int i = 0; i < n; i++) cin>>a[i]; cout<<(n+1)<<endl; long long val = 0ll; for(int i = n-1; i >= 0; i--) { ...
6251972c483e4e40b646a54aee410d3c67fa5e6c
d770afe633521db2010828c7cb34a46df6e3931e
/chapter04/trythis_111.cpp
3d235e1d8f08e4060722097415732e582a83e580
[]
no_license
JIbald/PPPcpp
84eaec1665e92854519a0a187acf31b84a1917f8
26beae5379326bb70cbfbe18d5076c16d40c9d1b
refs/heads/master
2022-12-08T13:55:26.511067
2020-08-23T14:04:53
2020-08-23T14:04:53
278,052,246
0
0
null
null
null
null
UTF-8
C++
false
false
237
cpp
trythis_111.cpp
#include "../std_lib_facilities.h" int main() { char initial_c {'a'}; int i {0}; while(i < 27) { std::cout << char(initial_c + i) << " " << int(initial_c + i) << std::endl; ++i; } return 0; }